PageSourceSearch

https://lospueblosmasbonitosdeespana.org/_next/static/immutable/chunks/1ih3r1bsunwfn.js

js lospueblosmasbonitosdeespana.org collected 2026-10-02 05:26:29 UTC 10,802 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="bf3db460-5687-e0d3-696d-2689edd2ef57")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,756068,e=>{"use strict";var t=e.i(843476),r=e.i(271645),l=e.i(174080),o=e.i(821482),s=e.i(682661);let a=r.useLayoutEffect;e.s(["default",0,function({html:e,className:i="",altFallback:n}){let c=(0,r.useRef)(null),[u,d]=(0,r.useState)(null),[g,p]=(0,r.useState)(!1),h=(0,r.useRef)(d);h.current=d;let m=(0,o.prepareRichHtml)(e,n);return(0,r.useEffect)(()=>{p(!0)},[]),a(()=>{let e=c.current;if(!e)return;e.dataset.lpbmeCountdownBound="safe-html";let t=e=>{h.current({url:e.src,alt:e.alt||""})},r=e=>{e.dataset.lightboxImg||(e.style.cursor="zoom-in",e.draggable=!1,e.dataset.lbReady="1",e.onclick=r=>{r.preventDefault(),r.stopPropagation(),t(e)},e.oncontextmenu=e=>e.preventDefault())};e.querySelectorAll("img").forEach(r);let l=new MutationObserver(()=>{e.querySelectorAll("img:not([data-lb-ready])").forEach(r)});l.observe(e,{childList:!0,subtree:!0});let o=e=>{let r=e.target;"IMG"!==r.tagName||r.dataset.lightboxImg||(e.preventDefault(),t(r))};e.addEventListener("click",o),(0,s.upgradeLegacyCountdownBlocks)(e);let a=(0,s.attachLiveCountdowns)(e);return()=>{h.current(null),a(),delete e.dataset.lpbmeCountdownBound,l.disconnect(),e.removeEventListener("click",o)}},[m]),(0,r.useEffect)(()=>{if(!u)return;let e=e=>{"Escape"===e.key&&d(null)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[u]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{ref:c,className:`safe-html-content ${i}`,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:m}}),g&&u&&(0,l.createPortal)((0,t.jsxs)("div",{onClick:()=>d(null),style:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(0,0,0,0.92)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:9999,padding:"20px",touchAction:"none",overscrollBehavior:"contain"},children:[(0,t.jsx)("button",{onClick:()=>d(null),"aria-label":"Cerrar",style:{position:"absolute",top:"20px",right:"20px",background:"rgba(255,255,255,0.9)",border:"none",borderRadius:"50%",width:"40px",height:"40px",cursor:"pointer",fontSize:"20px",display:"flex",alignItems:"center",justifyContent:"center",color:"#333"},children:"✕"}),(0,t.jsxs)("div",{className:"relative",onClick:e=>e.stopPropagation(),onContextMenu:e=>e.preventDefault(),children:[(0,t.jsx)("img",{src:u.url,alt:u.alt,"data-lightbox-img":"1",draggable:!1,style:{maxWidth:"90vw",maxHeight:"90vh",width:"auto",height:"auto",objectFit:"contain",display:"block",borderRadius:"8px"}}),(0,t.jsx)("div",{style:{position:"absolute",inset:0},"aria-hidden":"true"})]})]}),document.body)]})}])},491285,e=>{"use strict";e.s(["injectImageClsGuards",0,function(e){return e&&/<img\b/i.test(e)?e.replace(/<img\b([^>]*?)>/gi,(e,t)=>{let r,l,o=t,s=/\bwidth\s*=/.test(o),a=/\bheight\s*=/.test(o),i=o.match(/\bstyle\s*=\s*("([^"]*)"|'([^']*)')/i),n=i?i[2]??i[3]??"":"",c=(r=n.match(/(?:^|;)\s*width\s*:\s*(\d+(?:\.\d+)?)px/i),l=n.match(/(?:^|;)\s*height\s*:\s*(\d+(?:\.\d+)?)px/i),{width:r?Math.round(Number(r[1])):void 0,height:l?Math.round(Number(l[1])):void 0}),u=s?void 0:c.width,d=a?void 0:c.height;s||null!=u||(u=1200),a||null!=d||(d=675),s||null==u||(o+=` width="${u}"`),a||null==d||(o+=` height="${d}"`),/\bloading\s*=/.test(o)||(o+=' loading="lazy"'),/\bdecoding\s*=/.test(o)||(o+=' decoding="async"');let g=!/(?:^|;)\s*max-width\s*:/.test(n),p=!/(?:^|;)\s*height\s*:/.test(n),h=[];if(g&&h.push("max-width:100%"),p&&h.push("height:auto"),h.length>0){let e=h.join(";");if(i){let t,r=i[0].includes("'")?"'":'"',l=(t=(n??"").trim().replace(/;+\s*$/,""))?`${t};${e}`:e;o=o.replace(i[0],`style=${r}${l}${r}`)}else o+=` style="${e}"`}return`<img${o}>`}):e}])},821482,e=>{"use strict";var t=e.i(688509);let r=new Set(["transparent","inherit","initial","unset","revert","currentcolor","none","auto"]),l={white:"#ffffff",black:"#000000",red:"#ff0000",gray:"#808080",grey:"#808080",silver:"#c0c0c0",navy:"#000080",teal:"#008080",olive:"#808000",maroon:"#800000"};function o(e){let t=e.trim().toLowerCase();if(r.has(t))return null;let o=l[t]??t,s=o.match(/^#([0-9a-f]{3,8})$/i);if(s){let e=s[1];return((3===e.length||4===e.length)&&(e=[...e].map(e=>e+e).join("")),6!==e.length&&8!==e.length)?null:{r:parseInt(e.slice(0,2),16)/255,g:parseInt(e.slice(2,4),16)/255,b:parseInt(e.slice(4,6),16)/255,a:8===e.length?parseInt(e.slice(6,8),16)/255:1}}let a=o.match(/^rgba?\(([^)]+)\)$/);
2if(a){let e=a[1].split(/[\s,/]+/).filter(Boolean);if(e.length<3)return null;let t=(e,t)=>e.endsWith("%")?parseFloat(e)/100*t:parseFloat(e),r=t(e[0],255)/255,l=t(e[1],255)/255,o=t(e[2],255)/255,s=void 0===e[3]?1:t(e[3],1);return[r,l,o,s].some(e=>Number.isNaN(e))?null:{r,g:l,b:o,a:s}}return null}let s=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4,a=e=>e<=.0031308?12.92*e:1.055*e**(1/2.4)-.055;function i({r:e,g:t,b:r}){let l=s(e),o=s(t),a=s(r),n=Math.cbrt(.4122214708*l+.5363325363*o+.0514459929*a),c=Math.cbrt(.2119034982*l+.6806995451*o+.1073969566*a),u=Math.cbrt(.0883024619*l+.2817188376*o+.6299787005*a);return[.2104542553*n+.793617785*c-.0040720468*u,1.9779984951*n-2.428592205*c+.4505937099*u,.0259040371*n+.7827717662*c-.808675766*u]}let n=e=>Math.round(255*e).toString(16).padStart(2,"0"),c=/(^|[;{]|\s)(color|background|background-color|border|border-color|border-top|border-right|border-bottom|border-left|border-top-color|border-right-color|border-bottom-color|border-left-color|outline|outline-color|box-shadow|text-shadow|fill|stroke|caret-color|text-decoration-color|column-rule-color)\s*:\s*([^;}]+)/gi,u=/#[0-9a-fA-F]{3,8}\b|rgba?\([^)]*\)|\b(?:white|black|silver|gray|grey|navy|teal|olive|maroon)\b/g;function d(e){return e.replace(c,(e,t,r,l)=>{let s=l.includes("light-dark(")?l:l.replace(u,e=>{if(!function(e,t){let r,l=(r=o(t))?i(r)[0]:null;if(null===l)return!1;let s=e.toLowerCase();return/^(color|fill|stroke|caret-color|text-decoration-color)$/.test(s)?l<.6:/^background/.test(s)?l>.45:l>.5}(r,e))return e;let t=function(e){var t,r;let l,s,c,u,d=o(e);if(!d)return null;let[g,p,h]=i(d),m=Math.min(.95,Math.max(.22,.95-.7*g)),b=m<.35?.78:1,{r:f,g:y,b:w}=(l=(m+.3963377774*(t=p*b)+.2158037573*(r=h*b))**3,s=(m-.1055613458*t-.0638541728*r)**3,c=(m-.0894841775*t-1.291485548*r)**3,{r:(u=e=>Math.min(1,Math.max(0,e)))(a(4.0767416621*l-3.3077115913*s+.2309699292*c)),g:u(a(-1.2684380046*l+2.6097574011*s-.3413193965*c)),b:u(a(-.0041960863*l-.7034186147*s+1.707614701*c))}),$=`#${n(f)}${n(y)}${n(w)}`;return d.a<1?`${$}${n(d.a)}`:$}(e);return t?`light-dark(${e}, ${t})`:e});return s===l?e:`${t}${r}: ${s}`})}function g(e){return e.includes("{")?e.replace(/\{([^{}]*)\}/g,(e,t)=>`{${d(t)}}`):d(e)}e.s(["prepareRichHtml",0,function(e,r){let l=e||"";return(l.includes("&lt;")||l.includes("&gt;"))&&(l=l.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&")),l=(0,t.sanitizeRichHtml)(l),r&&(l=l.replace(/<img\b([^>]*?)>/gi,(e,t)=>/\balt\s*=/i.test(t)?/alt\s*=\s*""\s*/i.test(t)||/alt\s*=\s*''\s*/i.test(t)?e.replace(/alt\s*=\s*""/i,`alt="${r}"`).replace(/alt\s*=\s*''/i,`alt='${r}'`):e:`<img alt="${r}" ${t.trim()}>`)),l=function(e){if(!e)return e;let t=e.replace(/(<[^>]+\sstyle\s*=\s*)(["'])([^"']*)\2/gi,(e,t,r,l)=>`${t}${r}${g(l)}${r}`);return t.replace(/(<style\b[^>]*>)([\s\S]*?)(<\/style>)/gi,(e,t,r,l)=>`${t}${g(r)}${l}`)}(l)}],821482)},688509,e=>{"use strict";var t=e.i(491285);let r="(?:\"[^\"]*\"|'[^']*'|[^>\"'])*";function l(e){return RegExp(`<${e}\\b${r}>`,"gi")}function o(e,t){let r=RegExp(`<${t}\\b[\\s\\S]*?</${t}\\s*>`,"gi"),l=RegExp(`</?${t}\\b[^>]*>`,"gi");return e.replace(r,"").replace(l,"")}let s=["youtube.com","www.youtube.com","youtube-nocookie.com","www.youtube-nocookie.com","player.vimeo.com","vimeo.com","www.google.com","maps.google.com","open.spotify.com","w.soundcloud.com","www.dailymotion.com","geo.dailymotion.com","lospueblosmasbonitosdeespana.org","www.lospueblosmasbonitosdeespana.org","media.lospueblosmasbonitosdeespana.org"];function a(e){var t;let r;if(/\ssrcdoc\s*=/i.test(e))return"";let l=e.match(/\ssrc\s*=\s*"([^"]+)"/i)??e.match(/\ssrc\s*=\s*'([^']+)'/i);return(r=(t=l?.[1]??"").match(/^https:\/\/([^/?#]+)/i)??t.match(/^\/\/([^/?#]+)/))&&s.includes(r[1].toLowerCase())?e.replace(/\son[a-z]+\s*=\s*"[^"]*"/gi,"").replace(/\son[a-z]+\s*=\s*'[^']*'/gi,"").replace(/\son[a-z]+\s*=\s*[^\s>]+/gi,""):""}let i=["-webkit-text-stroke-width","text-decoration-thickness","text-decoration-style","text-decoration-color","font-variant-ligatures","font-variant-caps","letter-spacing","word-spacing","text-indent","orphans","widows"];function n(){return RegExp(`<([a-z][a-z0-9]*)\\b(${r})>`,"gi")}let c=/^(?:https?:|mailto:|tel:|data:image\/(?:png|jpe?g|gif|webp|avif)[;,])/;e.s(["sanitizeRichHtml",0,function(e){let r;if(!e)return"";let s=e;return s=o(s=s.replace(/<!--[\s\S]*?-->/g,""),"script"),s=(r=(s=o(s,"style")).replace(/<iframe\b[\s\S]*?<\/iframe\s*>/gi,e=>{let t=a(e.match(l("iframe"))?.[0]??"");return t?`${t}</iframe>
2`:""})).replace(l("iframe"),e=>a(e)),s=(s=(s=(s=o(s,"object")).replace(/<embed\b[^>]*>/gi,"")).replace(/<\/?(?:meta|link|xml|o:p|w:[a-z-]+)\b[^>]*>/gi,"")).replace(/<!DOCTYPE[^>]*>/gi,""),s=(s=(s=(s=(s=(s=o(s,"head")).replace(/<\/?(?:html|body|base|frameset|frame|noframes)\b[^>]*>/gi,"")).replace(/<\/?font\b[^>]*>/gi,"")).replace(n(),(e,t,r)=>{if(!/\son[a-z]{2,}\s*=/i.test(r))return e;let l=r.replace(/\son[a-z]{2,}\s*=\s*"[^"]*"/gi,"").replace(/\son[a-z]{2,}\s*=\s*'[^']*'/gi,"").replace(/\son[a-z]{2,}\s*=\s*[^\s>]+/gi,"");return`<${t}${l}>`})).replace(/\s(href|src|xlink:href)\s*=\s*(?:"([^"]*)"|'([^']*)'|([^\s>]+))/gi,(e,t,r,l,o)=>{let s;return!(!(!(s=(r??l??o??"").replace(/&#x([0-9a-f]+);?/gi,(e,t)=>String.fromCharCode(parseInt(t,16))).replace(/&#(\d+);?/g,(e,t)=>String.fromCharCode(parseInt(t,10))).replace(/&colon;?/gi,":").replace(/&(?:tab|newline|nbsp);?/gi,"").replace(/[\s\u0000-\u001f\u007f]/g,"").toLowerCase())||s.startsWith("#")||s.startsWith("/")||s.startsWith("?"))&&/^[a-z][a-z0-9+.-]*:/.test(s))||c.test(s)?e:` ${t}="#"`})).replace(n(),(e,t,r)=>{if(!r.includes("style"))return e;let l=r.match(/\sstyle\s*=\s*"([^"]*)"/i)??r.match(/\sstyle\s*=\s*'([^']*)'/i);if(!l)return e;let o=l[1].toLowerCase();if(!i.some(e=>o.includes(e)))return e;let s=r.replace(/\sstyle\s*=\s*"[^"]*"/i,"").replace(/\sstyle\s*=\s*'[^']*'/i,"").replace(/\sbgcolor\s*=\s*"[^"]*"/i,"").replace(/\sbgcolor\s*=\s*'[^']*'/i,"").replace(/\scolor\s*=\s*"[^"]*"/i,"").replace(/\scolor\s*=\s*'[^']*'/i,"");return`<${t}${s}>`}),(0,t.injectImageClsGuards)(s)}])}]);
3
4//# debugId=bf3db460-5687-e0d3-696d-2689edd2ef57

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.