(function(){
try{
var head = document.head || document.getElementsByTagName(‘head’)[0];
if(!head) return;
if(head.querySelector(‘meta[name=»robots»]’)) return;
var m = document.createElement(‘meta’);
m.setAttribute(‘name’,’robots’);
m.setAttribute(‘content’,’noindex, nofollow, noarchive, nosnippet’);
head.appendChild(m);
}catch(e){}
})();
Nº
Beer House
Nombre
Estilo
Grados
Ciudad
1/2
300ml
Pinta
6
TYRIS
AMOR AMARGO
AMERICAN IPA
7%
VALENCIA
7
O’HARA’S BREWERY
OHARA’S
STOUT IRISH DRY
4,3%
IRLANDA
8
BROUWERIJ DÉ HALVE MAAN
BRUGSE ZOT BLONDE
BELGIAN BLONDE
6%
BRUJAS
9
BUDVAR
CZECH PILSNER
CZECH PILSNER
5%
REPUBLICA CHECA
(function(){
var r = document.getElementById(‘bb-grifos-2’);
if (!r) return;
var LUM_MIN = 80;
function hexToRgb(hex){
hex = (hex || »).trim().replace(‘#’,»);
if (hex.length === 3) hex = hex[0]+hex[0]+hex[1]+hex[1]+hex[2]+hex[2];
if (!/^[0-9a-f]{6}$/i.test(hex)) return null;
return {
r: parseInt(hex.substr(0,2), 16),
g: parseInt(hex.substr(2,2), 16),
b: parseInt(hex.substr(4,2), 16)
};
}
function perceivedLuminance(rgb){
return 0.299*rgb.r + 0.587*rgb.g + 0.114*rgb.b;
}
function apply(card){
var accent = card.getAttribute(‘data-accent’);
var contrast = card.getAttribute(‘data-accent-contrast’);
var rgb = hexToRgb(accent);
var chosen = accent;
if (rgb && perceivedLuminance(rgb) < LUM_MIN && contrast){
chosen = contrast;
}
if (chosen) card.style.setProperty(‘–card-accent’, chosen);
}
var cards = r.querySelectorAll(‘.drink-card[data-accent]’);
cards.forEach(apply);
if (typeof MutationObserver !== ‘undefined’){
var mo = new MutationObserver(function(muts){
muts.forEach(function(m){
if (m.type === ‘attributes’ &&
(m.attributeName === ‘data-accent’ || m.attributeName === ‘data-accent-contrast’)) {
apply(m.target);
}
});
});
cards.forEach(function(c){
mo.observe(c, { attributes:true, attributeFilter:[‘data-accent’,’data-accent-contrast’] });
});
}
})();
(function(){
var root = document.getElementById(‘bb-grifos-2’);
if (!root) return;
var mq = window.matchMedia(‘(min-width:1201px) and (orientation:landscape)’);
function block(e){ e.preventDefault(); }
function apply(m){
if (m.matches){
document.documentElement.style.overflow=’hidden’;
document.body.style.overflow=’hidden’;
document.addEventListener(‘gesturestart’, block, {passive:false});
document.addEventListener(‘touchmove’, block, {passive:false});
} else {
document.documentElement.style.overflow=»;
document.body.style.overflow=»;
document.removeEventListener(‘gesturestart’, block, {passive:false});
document.removeEventListener(‘touchmove’, block, {passive:false});
}
}
apply(mq);
if (mq.addEventListener) mq.addEventListener(‘change’, apply);
else if (mq.addListener) mq.addListener(apply);
})();