PageSourceSearch

https://la-touraine.com/_next/static/chunks/2643.baedf9a001a0a2ec.js

js la-touraine.com collected 2026-09-28 13:05:07 UTC 5,045 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2643],{36386:function(e){function t(e,t,r){function n(){var u=Date.now()-i;u<t&&u>=0?l=setTimeout(n,t-u):(l=null,r||(c=e.apply(o,s),o=s=null))}null==t&&(t=100);var l,s,o,i,c,u=function(){o=this,s=arguments,i=Date.now();var u=r&&!l;return l||(l=setTimeout(n,t)),u&&(c=e.apply(o,s),o=s=null),c};return u.clear=function(){l&&(clearTimeout(l),l=null)},u.flush=function(){l&&(c=e.apply(o,s),o=s=null,clearTimeout(l),l=null)},u}t.debounce=t,e.exports=t},52643:function(e,t,r){"use strict";r.r(t);var n=r(52322),l=r(12524),s=r.n(l),o=r(2784),i=r(80021),c=r(47086),u=r(731);let a=o.memo(e=>{let{title:t,body:r,buttonSide:l,defaultTextColor:o,openTextColor:a,headingFontSize:f,bodyFontSize:d,headingFontSizePlasmic:h,bodyFontSizePlasmic:v,isActive:m,setActive:p}=e,[x,{height:b}]=(0,u.Z)(),[y,{height:w}]=(0,u.Z)(),[g,{height:z}]=(0,u.Z)(),E=(0,c.q_)({height:m?b:0,config:{tension:250,friction:32,clamp:!0,duration:150},opacity:m?1:0});return(0,n.jsxs)("div",{className:s()("relative border-b pt-2 pb-4 flex flex-col outline-none"),role:"button",tabIndex:0,"aria-expanded":m,onClick:()=>{p()},style:{color:m?a:o,borderColor:m?a:o},children:[(0,n.jsx)("div",{className:s()("flex flex-row"),style:{color:m?a:o},children:"left"===l?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.v3,{className:s()("absolute left-4 transform -translate-y-1/2 transition-all ease-in-out",{"opacity-0":m}),style:{top:w}}),(0,n.jsx)(i.WF,{className:s()("absolute left-4 transform -translate-y-1/2 transition-all ease-in-out",{"opacity-0":!m}),style:{top:w}}),(0,n.jsx)("span",{className:"p-0 w-full text-right text-".concat(h||(null==f?void 0:f.fontSize)||"xs"),style:{color:m?a:o},children:(0,n.jsx)("div",{ref:y,children:t})})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.v3,{className:s()("absolute right-4 transform -translate-y-1/2 transition-all ease-in-out",{"opacity-0":m}),style:{top:z}}),(0,n.jsx)(i.WF,{className:s()("absolute right-4 transform -translate-y-1/2 transition-all ease-in-out",{"opacity-0":!m}),style:{top:z}}),(0,n.jsx)("span",{className:"text-".concat(h||(null==f?void 0:f.fontSize)||"xs"),style:{color:m?a:o},children:(0,n.jsx)("div",{ref:g,children:t})})]})}),(0,n.jsx)(c.q.div,{style:{overflow:"hidden",...E},children:(0,n.jsx)("div",{ref:x,children:(0,n.jsx)("div",{className:s()("overflow-hidden pt-4",{"text-right":"left"===l},{["text-".concat(null==d?void 0:d.fontSize)]:null==d?void 0:d.fontSize},{["text-".concat(v)]:v}),children:(0,n.jsx)("span",{children:r})})})})]})});t.default=a},731:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(2784),l=r(36386),s=r.n(l);function o(e){var t;let{debounce:r,scroll:l,polyfill:o,offsetSize:i}=void 0===e?{debounce:0,scroll:!1,offsetSize:!1}:e,u=o||("undefined"==typeof window?class{}:window.ResizeObserver);if(!u)throw Error("This browser does not support ResizeObserver out of the box. See: https://github.com/react-spring/react-use-measure/#resize-observer-polyfills");let[a,f]=(0,n.useState)({left:0,top:0,width:0,height:0,bottom:0,right:0,x:0,y:0}),d=(0,n.useRef)({element:null,scrollContainers:null,resizeObserver:null,lastBounds:a}),h=r?"number"==typeof r?r:r.scroll:null,v=r?"number"==typeof r?r:r.resize:null,m=(0,n.useRef)(!1);(0,n.useEffect)(()=>(m.current=!0,()=>void(m.current=!1)));let[p,x,b]=(0,n.useMemo)(()=>{let e=()=>{if(!d.current.element)return;let{left:e,top:t,width:r,height:n,bottom:l,right:s,x:o,y:u}=d.current.element.getBoundingClientRect(),a={left:e,top:t,width:r,height:n,bottom:l,right:s,x:o,y:u};d.current.element instanceof HTMLElement&&i&&(a.height=d.current.element.offsetHeight,a.width=d.current.element.offsetWidth),Object.freeze(a),m.current&&!c(d.current.lastBounds,a)&&f(d.current.lastBounds=a)};return[e,v?s()(e,v):e,h?s()(e,h):e]},[f,i,h,v]);function y(){d.current.scrollContainers&&(d.current.scrollContainers.forEach(e=>e.removeEventListener("scroll",b,!0)),d.current.scrollContainers=null),d.current.resizeObserver&&(d.current.resizeObserver.disconnect(),d.current.resizeObserver=null)}function w(){d.current.element&&(d.current.resizeObserver=new u(b),d.current.resizeObserver.observe(d.current.element),l&&d.current.scrollC
1ontainers&&d.current.scrollContainers.forEach(e=>e.addEventListener("scroll",b,{capture:!0,passive:!0})))}return t=!!l,(0,n.useEffect)(()=>{if(t)return window.addEventListener("scroll",b,{capture:!0,passive:!0}),()=>void window.removeEventListener("scroll",b,!0)},[b,t]),(0,n.useEffect)(()=>(window.addEventListener("resize",x),()=>void window.removeEventListener("resize",x)),[x]),(0,n.useEffect)(()=>{y(),w()},[l,b,x]),(0,n.useEffect)(()=>y,[]),[e=>{e&&e!==d.current.element&&(y(),d.current.element=e,d.current.scrollContainers=function e(t){let r=[];if(!t||t===document.body)return r;let{overflow:n,overflowX:l,overflowY:s}=window.getComputedStyle(t);return[n,l,s].some(e=>"auto"===e||"scroll"===e)&&r.push(t),[...r,...e(t.parentElement)]}(e),w())},a,p]}let i=["x","y","top","bottom","left","right","width","height"],c=(e,t)=>i.every(r=>e[r]===t[r])}}]);

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.