Los sentimientos del Príncipe Carlos

Liv Strömquist

Fragmento

Page 4 of 155
background image
background image
Título original: Prins Charles KänslaEdición en formato digital: febrero de 2019© 2010, Liv Strömquist© 2010, Ordfront / Galago, por la edición original suecaMediante acuerdo con Am-Book (www.am-book.com)© 2019, Penguin Random House Grupo Editorial, S.A .U .Travessera de Gràcia, 47-49. 08021 Barcelona© 2019, Alba Nerea Borja Pagán, por la traducciónPenguin Random House Grupo Editorial apoya la protección del copyright.El copyright estimula la creatividad, defiende la diversidad en el ámbito de las ideas y el conocimiento, promueve la libre expresión y favorece una cultura viva. Gracias por comprar una edición autorizadade este libro y porr espetar lasl eyes delc opyright al no reproducir ni distribuir ningunaparte de esta obra por ningún medio sin permiso. Al hacerlo está respaldando a los autoresy permitiendo que PRHGE continúe publicando libros para todos los lectores.Diríjase a CEDRO (Centro Español de Derechos Reprográficos, http://www.cedro.org)si necesita reproducir algún fragmento de esta obra.ISBN: 978-84-17511-48-7Composición digital: Newcomlab S.L.L.www.megustaleer.com
Page 5 of 155
background image
Traducciónde Alba Pagán
Page 6 of 155
background image
background image
Este libroestá dedicadoaKristiina Kolehmainen(1956-2012)
Page 7 of 155
background image
background image
Cuandoel príncipe Carlos anunció sucompromisocon Diana, en unarueda de prensa le preguntaron:¿Estáenamorado?Sequedóen silencio un momento, yluego contestó: Sí…Signifique lo que signifique«estar enamorado».
Page 8 </div> <div id="div_newsletter" class=""> <h3 id="h3_news">Suscríbete para continuar leyendo y recibir nuestras novedades editoriales</h3> <h3 id="h3_OK">¡Ya estás apuntado/a! Gracias.<span id="close_news">X</span></h3> <div class="row" id="row_input"> <div class="col-xs-12 col-md-12"> <button type="button" class="btn btn-primary margin-center hidden-sm-up subscription-categories-btn modalSubscriptionForm btnsn" data-toggle="modal" data-target="#modalSubscriptionForm"> ME APUNTO </button> <button type="button" class="btn btn-primary hidden-xs-down subscription-categories-btn margin-center modalSubscriptionForm btnsn" data-toggle="modal" data-target="#modalSubscriptionForm"> ME APUNTO </button> </div> </div> </div> </div> <div class="modal fade" id="modalSubscriptionConfirm" tabindex="-1" role="dialog" aria-labelledby="modalSubscriptionConfirm" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <span class="modal-title">Thanks</span> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> ¡Apuntada tu nueva preferencia! Muchas Gracias </div> <div class="modal-footer"> <button type="button" class="btn btn-primary margin-center subscription-categories-btn btnsnc" data-dismiss="modal">Cerrar</button> </div> </div> </div> </div> <div class="modal fade" id="modalSubscriptionForm" tabindex="-1" role="dialog" aria-labelledby="modalSubscriptionForm" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> <form action="//www.penguinlibros.com/cl/module/lblusersubscription/miscelania?action=setTematicaModal&ajax=1" method="post" id="submitNewsletterModal-form" class="pl-3 pr-3"> <div class="modal-header"> <span class="modal-title">Write your datas</span> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <div class="col-xs-12 alert alert-success alert-warning hidden-xs-up" id="iqitreviews-productreview-form-alert"></div> <div class="form-fields" id="iqitreviews-productreview-fields"> <input type="hidden" name="autor" value="35032"> <input type="hidden" name="editorial" value="186952"> <input type="hidden" name="tematicas" value="3"> <input type="hidden" name="origen" value="subscripcionFragmento"> <input type="hidden" name="suscribeNewsletter" value="1"> <div class="form-group row"> <label class="col-md-3 form-control-label">Name</label> <div class="col-md-9"> <input type="text" class="form-control" name="name" id="name" value="" placeholder="Your name"/> </div> </div> <div class="form-group row"> <label class="col-md-3 form-control-label">Surname</label> <div class="col-md-9"> <input type="text" class="form-control" name="surname" id="surname" value="" placeholder="Your surname"/> </div> </div> <div class="form-group row"> <label class="col-md-3 form-control-label">Email</label> <div class="col-md-9"> <input type="email" class="form-control" name="email" id="email" value="" placeholder="Your email address"/> </div> </div> <div class="form-group row"> <label class="col-md-3 form-control-label">Shop</label> <div class="col-md-9"> <select name="shop" id="shop"> <option value="1">Penguinlibros España</option> <option value="4">Penguinlibros Argentina</option> <option value="14">Penguinlibros Colombia</option> <option value="15">Penguinlibros México</option> <option selected value="16">Penguinlibros Chile</option> <option value="17">Penguinlibros Perú</option> <option value="18">Penguinlibros Uruguay</option> <option value="19">Penguinlibros Miami</option> </select> </div> </div> <div class="mt-2 text-muted"> <div id="gdpr_consent_153" class="gdpr_module gdpr_module_153"> <div class="custom-checkbox" style="display: flex;"> <input id="psgdpr_consent_checkbox_153" name="psgdpr_consent_checkbox" type="checkbox" value="1"> <span class="psgdpr_consent_checkbox_span mr-2"><i class="fa fa-check rtl-no-flip checkbox-checked psgdpr_consent_icon" aria-hidden="true"></i></span> <label for="psgdpr_consent_checkbox_153" class="psgdpr_consent_message" style="display: inline"> </label> </div> </div> <script type="text/javascript"> var psgdpr_front_controller = "https://www.penguinlibros.com/cl/module/psgdpr/FrontAjaxGdpr"; psgdpr_front_controller = psgdpr_front_controller.replace(/\amp;/g,''); var psgdpr_id_customer = "0"; var psgdpr_customer_token = "da39a3ee5e6b4b0d3255bfef95601890afd80709"; var psgdpr_id_guest = "0"; var psgdpr_guest_token = "62481dde31e898c7227a2838c2e9ea6f429580d1"; document.addEventListener('DOMContentLoaded', function() { let psgdpr_id_module = "153"; let parentForm = $('.gdpr_module_' + psgdpr_id_module).closest('form'); let toggleFormActive = function() { let checkbox = $('#psgdpr_consent_checkbox_' + psgdpr_id_module); let element = $('.gdpr_module_' + psgdpr_id_module); let iLoopLimit = 0; // Look for parent elements until we find a submit button, or reach a limit while(0 === element.nextAll('[type="submit"]').length && // Is there any submit type ? element.get(0) !== parentForm.get(0) && // the limit is the form element.length && iLoopLimit != 1000) { // element must exit element = element.parent(); iLoopLimit++; } if (checkbox.prop('checked') === true) { if (element.find('[type="submit"]').length > 0) { element.find('[type="submit"]').removeAttr('disabled'); } else { element.nextAll('[type="submit"]').removeAttr('disabled'); } } else { if (element.find('[type="submit"]').length > 0) { element.find('[type="submit"]').attr('disabled', 'disabled'); } else { element.nextAll('[type="submit"]').attr('disabled', 'disabled'); } } } // Triggered on page loading toggleFormActive(); $('body').on('change', function(){ // Triggered after the dom might change after being loaded toggleFormActive(); // Listener ion the checkbox click $(document).on("click" , "#psgdpr_consent_checkbox_"+psgdpr_id_module, function() { toggleFormActive(); }); $(document).on('submit', parentForm, function(event) { $.ajax({ data: 'POST', //dataType: 'JSON', url: psgdpr_front_controller, data: { ajax: true, action: 'AddLog', id_customer: psgdpr_id_customer, customer_token: psgdpr_customer_token, id_guest: psgdpr_id_guest, guest_token: psgdpr_guest_token, id_module: psgdpr_id_module, }, success: function (data) { // parentForm.submit(); }, error: function (err) { console.log(err); } }); }); }); }); </script> </div> </div> </div> <div class="modal-footer"> <input class="btn btn-primary margin-center hidden-sm-up subscription-categories-btn btnsns" data-id_product=26630 type="submit" value=" OK"> <input class="btn btn-primary hidden-xs-down subscription-categories-btn margin-center modal-newsletter btnsns" data-id_product=26630 type="submit" value=" Suscribirse"> </div> </form> </div> </div> </div> </div> </section> <footer id="footer"> <div class="preview-footer"> <div class="container content row col-12 col-md-10 col-sm-8 overflow-hidden m-auto content row "> <div class="col-12"> <p class="product_name" style="font-size: 27px;font-family: 'montserrat';margin:0 auto;text-align:center;">Los sentimientos del Príncipe Carlos</p> </div> <div id="textoRelated" class="col-lg-12 col-md-12 col-sm-10 col-xs-12"> <h2>¡Disfruta del libro entero!</h2> <p style="font-weight: bold;padding:0px;margin:0px;">Elige tu formato favorito y empieza tu próxima lectura</p> </div> <div class="col-lg-12 col-md-12 col-xs-12"> <div class="info-libro row" style="padding:0px;"> <div class="precios-libro row"> <div class="col-xl-3 col-lg-4 libroRelated selected" style="display:inline-block;"> <a href="//www.penguinlibros.com/cl/comic/26630-ebook-los-sentimientos-del-principe-carlos-9788417511289 "> <picture class="lazy"> <source data-srcset="https://www.penguinlibros.com/cl/1663657-home_default/los-sentimientos-del-principe-carlos.webp" type="image/webp"> <source data-srcset="https://www.penguinlibros.com/cl/1663657-home_default/los-sentimientos-del-principe-carlos.jpg"> <img data-srcset="https://www.penguinlibros.com/cl/1663657-home_default/los-sentimientos-del-principe-carlos.jpg" alt="Los sentimientos del Príncipe Carlos" class="img-fluid photo"> </picture> <span class="formato">eBook diseño fijo</span> <div class="row"> <span class="col precio">$4.958 </span> </div> </a> </div> <div class="col-xl-3 col-lg-4 libroRelated selected" style="display:inline-block;"> <a href="//www.penguinlibros.com/cl/comic/26642-ebook-los-sentimientos-del-principe-carlos-9788417511487 "> <picture class="lazy"> <source data-srcset="https://www.penguinlibros.com/cl/1663674-home_default/los-sentimientos-del-principe-carlos.webp" type="image/webp"> <source data-srcset="https://www.penguinlibros.com/cl/1663674-home_default/los-sentimientos-del-principe-carlos.jpg"> <img data-srcset="https://www.penguinlibros.com/cl/1663674-home_default/los-sentimientos-del-principe-carlos.jpg" alt="Los sentimientos del Príncipe Carlos" class="img-fluid photo"> </picture> <span class="formato">eBook Kindle</span> <div class="row"> <span class="col precio">$4.958 </span> </div> </a> </div> </div> </div> </div> <div class="clearfix"></div> </div> </div> </footer> </main> <script type="text/javascript" src="https://www.penguinlibros.com/cl/themes/core.js" ></script> <script type="text/javascript" src="https://www.penguinlibros.com/cl/themes/megustaleer/assets/js/theme.js" ></script> <script type="text/javascript" src="https://www.penguinlibros.com/cl/modules/ybc_manufacturer/js/ybcmnf.js" ></script> <script type="text/javascript" src="https://www.penguinlibros.com/cl/modules/ybc_manufacturer/js/owl.carousel.js" ></script> <script type="text/javascript" src="https://www.penguinlibros.com/cl/modules/selligentconnector//views/js/frontoffice.js" ></script> <script type="text/javascript" src="https://www.penguinlibros.com/cl/modules/external_link//views/js/front.js" ></script> <script type="text/javascript" src="https://www.penguinlibros.com/cl/modules/labelcustomertabs//views/js/front.js" ></script> <script type="text/javascript" src="https://www.penguinlibros.com/cl/modules/lblusersubscription//views/js/front.js" ></script> <script type="text/javascript" src="https://www.penguinlibros.com/cl/themes/megustaleer/modules/bestkit_gifts/views/js/bestkit_gifts.js" ></script> <script type="text/javascript" src="https://www.penguinlibros.com/cl/modules/bestkit_gifts/views/js/sweet-alert.min.js" ></script> <script type="text/javascript" src="https://www.penguinlibros.com/cl/modules/lgcookieslaw/views/js/front.js" ></script> <script type="text/javascript" src="https://www.penguinlibros.com/cl/modules/abandonedcart/views/js/popup_front.js" ></script> <script type="text/javascript" src="https://www.penguinlibros.com/cl/modules/abandonedcart/views/js/abandonedcart_front.js" ></script> <script type="text/javascript" src="https://www.penguinlibros.com/cl/js/jquery/plugins/bxslider/jquery.bxslider.js" ></script> <script type="text/javascript" src="https://www.penguinlibros.com/cl/js/jquery/plugins/jquery.cooki-plugin.js" ></script> <script type="text/javascript" src="https://www.penguinlibros.com/cl/js/jquery/plugins/fancybox/jquery.fancybox.js" ></script> <script type="text/javascript" src="https://www.penguinlibros.com/cl/themes/warehouse/modules/ps_shoppingcart/ps_shoppingcart.js" ></script> <script type="text/javascript" src="https://www.penguinlibros.com/cl/modules/iqitelementor/views/lib/instagram-lite-master/instagramLite.min.js" ></script> <script type="text/javascript" src="https://www.penguinlibros.com/cl/modules/iqitelementor/views/lib/jquery-numerator/jquery-numerator.min.js" ></script> <script type="text/javascript" src="https://www.penguinlibros.com/cl/modules/iqitelementor/views/js/frontend.js" ></script> <script type="text/javascript" src="https://www.penguinlibros.com/cl/modules/iqitmegamenu/views/js/front.js" ></script> <script type="text/javascript" src="https://www.penguinlibros.com/cl/modules/iqitreviews/views/js/front.js" ></script> <script type="text/javascript" src="https://www.penguinlibros.com/cl/themes/megustaleer/modules/iqitwishlist/views/js/front.js" ></script> <script type="text/javascript" src="https://www.penguinlibros.com/cl/modules/iqitthemeeditor/views/js/custom_s_16.js" ></script> <script type="text/javascript" src="https://www.penguinlibros.com/cl/modules/ph_simpleblog/views/js/ph_simpleblog-17.js" ></script> <script type="text/javascript" src="https://www.penguinlibros.com/cl/modules/penguinlibros/views/js/views.js" ></script> <script type="text/javascript" src="https://www.penguinlibros.com/cl/modules/labelcustomertabs/views/js/views.js" ></script> <script type="text/javascript" src="https://www.penguinlibros.com/cl/themes/megustaleer/assets/js/custom.js?v=22.06.01" defer></script> <script type="text/javascript" src="https://www.penguinlibros.com/cl/modules/revsliderprestashop/public/assets/js/jquery.themepunch.tools.min.js" ></script> <script type="text/javascript" src="https://www.penguinlibros.com/cl/modules/revsliderprestashop/public/assets/js/jquery.themepunch.revolution.min.js" ></script> <script type="text/javascript" src="https://www.penguinlibros.com/cl/modules/revsliderprestashop/public/assets/js/extensions/revolution.extension.actions.min.js" ></script> <script type="text/javascript" src="https://www.penguinlibros.com/cl/modules/revsliderprestashop/public/assets/js/extensions/revolution.extension.carousel.min.js" ></script> <script type="text/javascript" src="https://www.penguinlibros.com/cl/modules/revsliderprestashop/public/assets/js/extensions/revolution.extension.kenburn.min.js" ></script> <script type="text/javascript" src="https://www.penguinlibros.com/cl/modules/revsliderprestashop/public/assets/js/extensions/revolution.extension.layeranimation.min.js" ></script> <script type="text/javascript" src="https://www.penguinlibros.com/cl/modules/revsliderprestashop/public/assets/js/extensions/revolution.extension.migration.min.js" ></script> <script type="text/javascript" src="https://www.penguinlibros.com/cl/modules/revsliderprestashop/public/assets/js/extensions/revolution.extension.navigation.min.js" ></script> <script type="text/javascript" src="https://www.penguinlibros.com/cl/modules/revsliderprestashop/public/assets/js/extensions/revolution.extension.parallax.min.js" ></script> <script type="text/javascript" src="https://www.penguinlibros.com/cl/modules/revsliderprestashop/public/assets/js/extensions/revolution.extension.slideanims.min.js" ></script> <script type="text/javascript" src="https://www.penguinlibros.com/cl/modules/revsliderprestashop/public/assets/js/extensions/revolution.extension.video.min.js" ></script> <div id="iqitwishlist-modal" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <span class="modal-title">You need to login or create account</span> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <section class="login-form"> <p> Save products on your wishlist to buy them later or share with your friends.</p> <div class="blocklogin-content-mobile"> <ul class="nav-tabs" id="tabs-login" role="tablist"> <li class="nav-item"> <a class="nav-link active" id="login-tab" href="https://www.penguinlibros.com/cl/datos-personales" >Inicia sesión</a> </li> <li class="nav-item"> <a class="nav-link" id="registro-tab" href="https://www.penguinlibros.com/cl/iniciar-sesion?create_account=1" >Regístrate</a> </li> </ul> </div> <form id="login-form" action="index.php?controller=authentication&back=my-account" method="post"> <section> <input type="hidden" name="back" value=""> <div class="form-group row align-items-center "> <label class="col-md-2 col-form-label required"> Dirección de correo electrónico </label> <div class="col-md-8"> <input class="form-control" name="email" type="email" value="" required > </div> <div class="col-md-2 form-control-comment"> </div> </div> <div class="form-group row align-items-center "> <label class="col-md-2 col-form-label required"> Contraseña </label> <div class="col-md-8"> <div class="input-group js-parent-focus"> <input class="form-control js-child-focus js-visible-password" name="password" title="Longitud de al menos 5 caracteres" autocomplete="new-password" type="password" value="" pattern=".{5,}" required > <span class="input-group-append"> <button class="btn btn-outline-secondary" type="button" data-action="show-password" > <i class="fa fa-eye-slash" aria-hidden="true"></i> </button> </span> </div> </div> <div class="col-md-2 form-control-comment"> </div> </div> <div class="form-group row align-items-center "> <label class="col-md-2 col-form-label"> </label> <div class="col-md-8"> <span class="custom-checkbox"> <input name="remember" id="ff_remember" type="checkbox" value="1" > <span><i class="fa fa-check rtl-no-flip checkbox-checked" aria-hidden="true"></i></span> <label for="ff_remember">Recuérdame</label > </span> </div> <div class="col-md-2 form-control-comment"> </div> </div> <div class="forgot-password"> <a href="https://www.penguinlibros.com/cl/recuperar-contraseña" rel="nofollow"> ¿Olvidó su contraseña? </a> </div> </section> <footer class="form-footer text-center clearfix"> <input type="hidden" name="submitLogin" value="1"> <button id="submit-login" class="loginPresta btn btn-primary form-control-submit" data-link-action="sign-in" type="submit"> Iniciar sesión </button> </footer> </form> <div class="espacio"> <span>o</span> </div> <div class="iqitsociallogin iqitsociallogin-checkout iqitsociallogin-colors-theme pb-3 pt-1"> <a onclick="iqitSocialPopup('//www.penguinlibros.com/cl/module/iqitsociallogin/authenticate?provider=facebook&page=authentication')" class="btn btn-secondary btn-iqitsociallogin btn-facebook btn-sm mt-1 mb-1"> <i class="fa fa-facebook-square" aria-hidden="true"></i> Inicia sesión con Facebook </a> <a onclick="iqitSocialPopup('//www.penguinlibros.com/cl/module/iqitsociallogin/authenticate?provider=google&page=authentication')" class="btn btn-secondary btn-iqitsociallogin btn-google btn-sm mt-1 mb-1"> <i class="fa fa-google-plus-square" aria-hidden="true"></i> Inicia sesión con Google </a> </div> <script type="text/javascript"> function iqitSocialPopup(url) { var dualScreenLeft = window.screenLeft != undefined ? window.screenLeft : screen.left; var dualScreenTop = window.screenTop != undefined ? window.screenTop : screen.top; var width = window.innerWidth ? window.innerWidth : document.documentElement.clientWidth ? document.documentElement.clientWidth : screen.width; var height = window.innerHeight ? window.innerHeight : document.documentElement.clientHeight ? document.documentElement.clientHeight : screen.height; var left = ((width / 2) - (960 / 2)) + dualScreenLeft; var top = ((height / 2) - (600 / 2)) + dualScreenTop; var newWindow = window.open(url, '_blank', 'scrollbars=yes,top=' + top + ',left=' + left + ',width=960,height=600'); if (window.focus) { newWindow.focus(); } } </script> </section> <hr/> <div class="iqitsociallogin iqitsociallogin-authentication iqitsociallogin-colors-theme text-center"> <a onclick="iqitSocialPopup('//www.penguinlibros.com/cl/module/iqitsociallogin/authenticate?provider=facebook&page=authentication')" class="btn btn-secondary btn-iqitsociallogin btn-facebook mt-1 mb-1"> <i class="fa fa-facebook-square" aria-hidden="true"></i> Inicia sesión con Facebook </a> <a onclick="iqitSocialPopup('//www.penguinlibros.com/cl/module/iqitsociallogin/authenticate?provider=google&page=authentication')" class="btn btn-secondary btn-iqitsociallogin btn-google mt-1 mb-1"> <i class="fa fa-google-plus-square" aria-hidden="true"></i> Inicia sesión con Google </a> </div> <hr> <script type="text/javascript"> function iqitSocialPopup(url) { var dualScreenLeft = window.screenLeft != undefined ? window.screenLeft : screen.left; var dualScreenTop = window.screenTop != undefined ? window.screenTop : screen.top; var width = window.innerWidth ? window.innerWidth : document.documentElement.clientWidth ? document.documentElement.clientWidth : screen.width; var height = window.innerHeight ? window.innerHeight : document.documentElement.clientHeight ? document.documentElement.clientHeight : screen.height; var left = ((width / 2) - (960 / 2)) + dualScreenLeft; var top = ((height / 2) - (600 / 2)) + dualScreenTop; var newWindow = window.open(url, '_blank', 'scrollbars=yes,top=' + top + ',left=' + left + ',width=960,height=600'); if (window.focus) { newWindow.focus(); } } </script> <div class="no-account"> <a href="https://www.penguinlibros.com/cl/iniciar-sesion?create_account=1" data-link-action="display-register-form"> No account? Create one here </a> </div> </div> </div> </div> </div> <div id="iqitwishlist-notification" class="ns-box ns-effect-thumbslider ns-text-only"> <div class="ns-box-inner"> <div class="ns-content"> <span class="ns-title"><i class="fa fa-check" aria-hidden="true"></i> <strong>Product added to wishlist</strong></span> </div> </div> </div><script data-cfasync="false" type="text/javascript"> 'use strict'; // Instantiate the tracking class var rcTagManagerLib = new RcTagManagerLib(); // Init page values var controllerName = 'Fragmento'; var compliantModules = {"default":"order","supercheckout":"supercheckout","onepagecheckoutps":"order","sveacheckout":"sveapaypage","thecheckout":"order","steasycheckout":"default"}; var compliantModuleName = 'default'; var skipCartStep = ''; var isOrder = ''; var isCheckout = ''; var isClientId = 0; var gtmProducts; var gtmOrderComplete; //////////////////////////// // set tracking features rcTagManagerLib.trackingFeatures = gtmTrackingFeatures; // set checkout values rcTagManagerLib.controllerName = controllerName; rcTagManagerLib.isCheckout = isCheckout; rcTagManagerLib.compliantModuleName = compliantModuleName; rcTagManagerLib.skipCartStep = skipCartStep; // list names rcTagManagerLib.lists = {"default":"Fragmento","filter":"filtered_results"}; // Google remarketing - page type rcTagManagerLib.ecommPageType = 'other'; // get products list to cache rcTagManagerLib.productsListCache = []; // Listing products /////////////////////////////////////////////// if (!disableInternalTracking) { // Initialize all user events when DOM ready document.addEventListener('DOMContentLoaded', initGtmEvents, false); window.addEventListener('pageshow', fireEventsOnPageShow, false); } function initGtmEvents() { // Events binded on all pages // Events binded to document.body to avoid firefox fire events on right/central click document.body.addEventListener('click', rcTagManagerLib.eventClickPromotionItem, false); //Botones Newsletters var btnNewsletter = document.querySelectorAll('.modalSubscriptionForm'); btnNewsletter.forEach((btn) => btn.addEventListener('click', rcTagManagerLib.eventClickNewsletter, false)); //Botones Menu var Menu = document.getElementById("iqitmegamenu-horizontal"); Menu.addEventListener('click', rcTagManagerLib.eventNavegacionMenu, false); //Menu Movil var MenuMovil = document.getElementById("iqitmegamenu-mobile"); MenuMovil.addEventListener('click', rcTagManagerLib.eventNavegacionMenuMovil, false) if (rcTagManagerLib.trackingFeatures.goals.socialAction) { // bind event on like/follow action rcTagManagerLib.eventSocialFollow(); } //////////////////////// // ALL PAGES EXCEPT CHECKOUT OR ORDER if (!isCheckout && !isOrder) { // bind prestashop events with tracking events prestashop.on( 'updateCart', function (event) { rcTagManagerLib.eventAddCartProduct(event); rcTagManagerLib.eventCartUpdate(event); } ); prestashop.on( 'clickQuickView', function (event) { rcTagManagerLib.eventProductView(event) } ); prestashop.on( 'updatedProduct', function (event) { rcTagManagerLib.eventProductView(event) } ); prestashop.on( 'clickIqitWishlistAdd', function (event) { rcTagManagerLib.eventWishlistProduct() } ); // init first scroll action for those products all ready visible on screen setTimeout(()=>{ rcTagManagerLib.eventScrollList(); // bind event to scroll window.addEventListener('scroll', rcTagManagerLib.eventScrollList.bind(rcTagManagerLib), false); },3000); // init Event Listeners document.body.addEventListener('click', rcTagManagerLib.eventClickProductList, false); document.body.addEventListener('click', rcTagManagerLib.eventGetAddCartQuantity, false); document.body.addEventListener('click', rcTagManagerLib.eventCartQuantityDelete, false); document.body.addEventListener('click', rcTagManagerLib.eventLogin, false); document.body.addEventListener('click', rcTagManagerLib.eventLogout, false); document.body.addEventListener('click', rcTagManagerLib.eventCreateAccount, false); document.body.addEventListener('click', rcTagManagerLib.eventNewsletter, false); document.body.addEventListener('click', rcTagManagerLib.eventUpdateAccount, false); //Sliders setTimeout(()=>{ let Sliders = document.body.querySelectorAll(".slick-slider"); Sliders.forEach((slider)=>{ slider.addEventListener('click', rcTagManagerLib.eventClickCarousel,false); slider.addEventListener('touchstart', rcTagManagerLib.eventTouchStartCarousel,false); slider.addEventListener('touchmove', rcTagManagerLib.eventTouchMoveCarousel,false); slider.addEventListener('touchend', rcTagManagerLib.eventTouchEndCarousel,false); }), 2000 }) if (rcTagManagerLib.trackingFeatures.goals.socialAction) { // bind event to allow track social action on document.body.addEventListener('click', rcTagManagerLib.eventSocialShareProductView, false); } //////////////////////// // SEARCH PAGE if (controllerName === 'search') { rcTagManagerLib.eventSearchResult(); } //////////////////////// // PRODUCT PAGE if (controllerName === 'product') { // send product detail view rcTagManagerLib.eventProductView(); rcTagManagerLib.eventProductPreview(); rcTagManagerLib.eventProductReview(); //Nuevos DataLayer Ficha Producto var btnCompraDirecta = document.querySelector('.add-to-cart.direct'), btnCambioIdioma = document.querySelector('.link_relacionado_manuscrito'), tags = document.querySelectorAll('.tag_lvl2'), descripcion = document.getElementById('product-descripcion'), detalles = document.getElementById('product-details-tab-nav'), btnVerAutor = document.querySelectorAll("#author-follow"), btnResena = document.querySelector(".boton-review"); if(btnCambioIdioma != null) btnCambioIdioma.addEventListener('click', rcTagManagerLib.eventCambioIdioma,false); if(btnCompraDirecta != null) btnCompraDirecta.addEventListener('click', rcTagManagerLib.eventCompraDirecta,false); tags.forEach((tag)=> tag.addEventListener('click', rcTagManagerLib.eventBotonTematicas, false)); btnVerAutor.forEach((btn)=> btn.addEventListener('click', rcTagManagerLib.onVerAutor, false)); descripcion.addEventListener('click', rcTagManagerLib.onVerDescripcion, false); detalles.addEventListener('click', rcTagManagerLib.onVerDetalles, false); btnResena.addEventListener('click', rcTagManagerLib.onClickResena, false); } ////////////////////// //BLOGS if (controllerName == 'single'){ let linkFicha = document.getElementsByClassName('linkFicha'); if(linkFicha !== null){ //Convertimos la Html List a Array let enlaces = [...linkFicha]; enlaces.forEach((lf) => lf.addEventListener('click', rcTagManagerLib.eventLinkFicha, false)); } } } //////////////////////// // CHECKOUT PROCESS if (isCheckout) { // SUMMARY CART if (controllerName === 'cart') { // events on summary Cart document.body.addEventListener('click', rcTagManagerLib.eventCartQuantityDelete, false); document.body.addEventListener('click', rcTagManagerLib.eventCartQuantityUp, false); document.body.addEventListener('click', rcTagManagerLib.eventCartQuantityDown, false); } //////////////////////// // CHECKOUT if (compliantModuleName === 'default' && controllerName === 'order') { // Events on Checkout Process document.body.addEventListener('click', rcTagManagerLib.eventPrestashopCheckout, false); } else if ( compliantModuleName === 'supercheckout' && controllerName === compliantModules[compliantModuleName] ) { // Compatible with super-checkout by Knowband document.body.addEventListener('click', rcTagManagerLib.eventOpcSuperCheckout, false); document.body.addEventListener('click', rcTagManagerLib.eventCartOpcSuperCheckout, false); } else if ( compliantModuleName === 'onepagecheckoutps' && controllerName === compliantModules[compliantModuleName] ) { // compatible with OPC by PrestaTeamShop document.body.addEventListener('click', rcTagManagerLib.eventOpcPrestaTeam, false); document.body.addEventListener('click', rcTagManagerLib.eventCartOpcPrestaTeam, false); } else if ( compliantModuleName === 'thecheckout' && controllerName === compliantModules[compliantModuleName] ) { // Compatible with thecheckout by Zelarg document.body.addEventListener('click', rcTagManagerLib.eventOpcTheCheckout, false); document.body.addEventListener('click', rcTagManagerLib.eventCartOpcTheCheckout, false); } else if ( compliantModuleName === 'steasycheckout' && controllerName === compliantModules[compliantModuleName] ) { // Events for steasycheckout document.body.addEventListener('click', rcTagManagerLib.eventOpcStEasyCheckout, false); document.body.addEventListener('click', rcTagManagerLib.eventCartOpcStEasyCheckout, false); } } } function fireEventsOnPageShow(event){ //rcTagManagerLib.eventPageType(); // rcTagManagerLib.eventUserInfo(); // fixes safari back cache button if (event.persisted) { window.location.reload() } if(window.location.pathname.substring(4) == 'module/lblemailactivation/activation'){ rcTagManagerLib.onConfirmarCuenta(); } // Sign up feature if (rcTagManagerLib.trackingFeatures.goals.signUp && rcTagManagerLib.trackingFeatures.common.isNewSignUp) { rcTagManagerLib.onSignUp(); } if (rcTagManagerLib.trackingFeatures.gua.trackingId && isClientId) { rcTagManagerLib.setClientId(); } // Checkout and order complete if (isCheckout && gtmProducts) { rcTagManagerLib.onCheckoutProducts(gtmProducts); } else if (isOrder && gtmOrderComplete) { rcTagManagerLib.onOrderComplete(gtmOrderComplete); } } </script><script type="text/javascript"> var time_start; $(window).load( function() { time_start = new Date(); } ); $(window).unload( function() { var time_end = new Date(); var pagetime = new Object; pagetime.type = "pagetime"; pagetime.id_connections = "10433634"; pagetime.id_page = "15"; pagetime.time_start = "2022-08-15 18:38:28"; pagetime.token = "016698c80ec0d169336d6207f4c85e89657c3cac"; pagetime.time = time_end-time_start; $.post("https://www.penguinlibros.com/cl/index.php?controller=statistics", pagetime); } ); </script> <button id="back-to-top"> <i class="fa fa-angle-up" aria-hidden="true"></i> </button> </body> </html>