PageSourceSearch

https://www.haussmann-patrimoine.fr/_pagesassets/1654-1454f81efc7c12a9642d.js

js haussmann-patrimoine.fr collected 2026-10-08 19:15:07 UTC 3,913 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkhpv6=self.webpackChunkhpv6||[]).push([[1654],{71654:function(t,e,i){i.r(e),i.d(e,{default:function(){return u}});var n=i(96540),a=i(27581),r=i(2125);const d=a.default.div.withConfig({displayName:"StickyCards__CardsContainer",componentId:"sc-11dxm34-0"})(["width:100%;max-width:1200px;margin:0 auto;display:grid;gap:40px 0;padding:100px 50px;@media (max-width:1360px){max-width:90%;}@media (max-width:800px){padding:50px 20px;max-width:100%;}"]),l=a.default.div.withConfig({displayName:"StickyCards__Card",componentId:"sc-11dxm34-1"})(["position:sticky;top:","px;border-radius:10px;height:auto;overflow:hidden;transition:transform 0.2s,filter 0.2s;@media (max-width:800px){margin-bottom:0;height:auto;}"],t=>{let{$top:e}=t;return e}),o=a.default.div.withConfig({displayName:"StickyCards__CardInner",componentId:"sc-11dxm34-2"})(["will-change:transform;border-radius:10px;display:flex;align-items:center;justify-content:flex-start;gap:30px;padding:30px;transform-origin:center top;@media (max-width:1360px){flex-direction:column;}"]),s=a.default.div.withConfig({displayName:"StickyCards__CardImageContainer",componentId:"sc-11dxm34-3"})(["display:flex;width:40%;height:auto;max-height:100%;flex-shrink:0;@media (max-width:800px){width:100%;}&>img{width:100%;object-fit:cover;border-radius:10px;aspect-ratio:1;@media (max-width:800px){width:auto;max-width:300px;margin:0 auto;height:auto;}}"]),m=a.default.div.withConfig({displayName:"StickyCards__CardContent",componentId:"sc-11dxm34-4"})(["padding:40px 30px;display:flex;flex-direction:column;@media (max-width:800px){padding:30px 20px;gap:20px;}"]),p=a.default.p.withConfig({displayName:"StickyCards__CardTitle",componentId:"sc-11dxm34-5"})(['padding:0;margin:0;font-size:40px;font-family:"Newsreader",serif;font-weight:500;color:#16263a;@media (max-width:800px){font-size:32px;}']),c=a.default.p.withConfig({displayName:"StickyCards__CardDescription",componentId:"sc-11dxm34-6"})(['line-height:1.4;font-size:19px;font-family:"Montserrat",sans-serif;color:',";@media (max-width:800px){font-size:16px;};"],t=>t.theme.bleuHP);function u(t){let{data:e}=t;const i=(0,n.useRef)([]),a=(0,n.useRef)(null);function u(t,e){void 0===e&&(e=.08);let i=t.substring(1);3===i.length&&(i=i.split("").map(t=>t+t).join(""));let n=parseInt(i,16);return"#"+(Math.max(0,(n>>16)-Math.round(255*e))<<16|Math.max(0,(n>>8&255)-Math.round(255*e))<<8|Math.max(0,(255&n)-Math.round(255*e))).toString(16).padStart(6,"0")}return(0,n.useEffect)(()=>{a.current&&i.current[0]&&(a.current.style.setProperty("--cards-count",i.current.length),a.current.style.setProperty("--card-height",i.current[0].clientHeight+"px"))},[null==e?void 0:e.length]),(0,n.useEffect)(()=>{if(window.matchMedia("(max-width: 768px)").matches)return;const t=()=>{i.current.forEach((t,e)=>{if(!t)return;const n=t.getBoundingClientRect(),a=window.innerHeight;let r=1-Math.max(0,Math.min(1,n.top/a));r=Math.max(0,Math.min(1,r));const d=1-.05*(i.current.length-1-e)*r,l=1-.1*r;t.style.transform="scale("+d+")",t.style.filter="brightness("+l+")"})};return window.addEventListener("scroll",t,{passive:!0}),t(),()=>window.removeEventListener("scroll",t)},[]),n.createElement(n.Fragment,null,n.createElement(d,{ref:a},null==e?void 0:e.map((t,e)=>{var a,d;return n.createElement(l,{key:e,"data-index":e,ref:t=>i.current[e]=t,style:{background:u("#f9f6f4",.08*e)},$top:150+50*e},n.createElement(o,null,n.createElement(s,null,n.createElement("img",{src:null==t||null===(a=t.image)||void 0===a?void 0:a.url,alt:(null==t||null===(d=t.image)||void 0===d?void 0:d.alt)||"Card image"})),n.createElement(m,null,(null==t?void 0:t.Titre)&&n.createElement(p,null,null==t?void 0:t.Titre),(null==t?void 0:t.Corps)&&n.createElement(c,null,null==t?void 0:t.Corps),(null==t?void 0:t.BTNUrl)&&(null==t?void 0:t.BTNLib)&&n.createElement(r.A,{to:null==t?void 0:t.BTNUrl,"libellé":null==t?void 0:t.BTNLib}))))})))}}}]);

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.