PageSourceSearch

https://www.hotel-nice-suisse.com/wp-content/plugins/social-connect/js/connected.min.js

js hotel-nice-suisse.com collected 2026-10-08 11:29:38 UTC 3,281 bytes, 1 lines download raw bytes

1function pop(e){return!noStorage&&(null!==document.getElementById(e)&&(document.getElementById(e).style.display="block",document.body.style.overflow="hidden",document.getElementById(e).dispatchEvent(event_DOM)),!1)}function hide(e){return null!==document.getElementById(e)&&(document.getElementById(e).style.display="none",document.body.style.overflow="",document.getElementById(e).dispatchEvent(event_DOM)),!1}function get_resa(){if("undefined"!=typeof localStorage&&void 0!==localStorage.promocode&&(fbga_var.auth0.hotel_id,!0)){var e=localStorage.promocode;hhotelResaDirectToken(fbga_var.auth0.hotel_id,"",e,"","offers","")}}function hhotelResaDirectToken(e,t,o,a,n,d){hhotelResa(e,t,o,a,d,n,"","","style=DIRECT")}function add_custom_html(e,t,o,a,n){var d=document.createElement("div");if(d.setAttribute("id",e),d.innerHTML=fbga_renderTemplate(t,n),"class"==o){var l=document.getElementsByClassName(a);l[0]&&l[0].appendChild(d)}else if("id"==o){var l=document.getElementById(a);l&&l.appendChild(d)}}docReady(function(){if("object"==typeof localStorage){noStorage=!1;try{localStorage.setItem("localStorage",1),localStorage.removeItem("localStorage")}catch(e){noStorage=!0,alert('Your web browser does not support storing settings locally. The most common cause of this is using "Private Browsing Mode". Some settings may not save or some features may not work properly for you.')}}if(null!==localStorage.getItem("profile")&&localStorage.getItem("id_token")?(profile=JSON.parse(localStorage.getItem("profile")),null!==document.getElementById("guestaccount")&&(document.getElementById("guestaccount").innerHTML=fbga_renderTemplate("logged_in_message",profile.user_metadata),document.getElementById("guestaccount").dispatchEvent(event_DOM))):null!==document.getElementById("guestaccount")&&(document.getElementById("guestaccount").innerHTML=fbga_renderTemplate("login_button",""),document.getElementById("guestaccount").dispatchEvent(event_DOM)),document.body.className.match("home")&&"undefined"!=typeof localStorage&&void 0!==localStorage.promocode&&void 0!==fbga_var.slider_text&&void 0!==localStorage.profile&&"undefined"!=typeof fbga_renderTemplate&&void 0!==fbga_var.templates.slide_home&&void 0!==fbga_var.slider_text.type&&void 0!==fbga_var.slider_text.name){var e=JSON.parse(localStorage.profile);add_custom_html("fbga-sliderdiv","slide_home",fbga_var.slider_text.type,fbga_var.slider_text.name,e.user_metadata)}if(document.body.className.match("home")&&void 0===localStorage.profile&&void 0!==fbga_var.custom_text&&"undefined"!=typeof fbga_renderTemplate&&void 0!==fbga_var.templates.text_notconnected&&void 0!==fbga_var.custom_text.type&&void 0!==fbga_var.custom_text.name&&add_custom_html("fbga-customtext","text_notconnected",fbga_var.custom_text.type,fbga_var.custom_text.name,""),document.body.className.match("home")&&"undefined"!=typeof localStorage&&void 0!==localStorage.promocode&&void 0!==fbga_var.custom_text&&void 0!==localStorage.profile&&"undefined"!=typeof fbga_renderTemplate&&void 0!==fbga_var.templates.text_connected&&void 0!==fbga_var.custom_text.type&&void 0!==fbga_var.custom_text.name){var e=JSON.parse(localStorage.profile);add_custom_html("fbga-customtext","text_connected",fbga_var.custom_text.type,fbga_var.custom_text.name,e.user_metadata)}});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.