1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[802],{6316:(e,t,n)=>{Promise.resolve().then(n.t.bind(n,2619,23)),Promise.resolve().then(n.bind(n,7286)),Promise.resolve().then(n.bind(n,5526)),Promise.resolve().then(n.bind(n,3144))},7286:(e,t,n)=>{"use strict";n.d(t,{default:()=>u});var r=n(5155),o=n(2115);let s=(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,r.jsx)("path",{d:"M11 5 6 9H2v6h4l5 4V5z"}),(0,r.jsx)("path",{d:"M15.5 8.5a5 5 0 0 1 0 7"}),(0,r.jsx)("path",{d:"M18.5 5.5a9 9 0 0 1 0 13"})]}),i=(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,r.jsx)("path",{d:"M11 5 6 9H2v6h4l5 4V5z"}),(0,r.jsx)("line",{x1:"22",y1:"9",x2:"16",y2:"15"}),(0,r.jsx)("line",{x1:"16",y1:"9",x2:"22",y2:"15"})]});function u(e){let{src:t="/villas/core-villas-music.mp3"}=e,n=(0,o.useRef)(null),u=(0,o.useRef)(!1),[c,l]=(0,o.useState)(!1),[a,d]=(0,o.useState)(!0);return(0,o.useEffect)(()=>{let e=n.current;if(!e)return;e.volume=.32;let t=["pointerdown","touchstart","click","keydown","scroll"],r=()=>{let t=!e.muted&&!e.paused;l(t),d(!t&&!u.current)},o=()=>t.forEach(e=>window.removeEventListener(e,s,!0));function s(t){let n=t.target;if(!(n&&n.closest&&n.closest("#cvMute"))){if(u.current)return void o();e.muted=!1,e.play().then(()=>{o(),r()}).catch(()=>{e.muted=!0}),r()}}return e.muted=!1,e.play().then(r).catch(()=>{e.muted=!0,e.play().catch(()=>{}),r(),t.forEach(e=>window.addEventListener(e,s,{capture:!0,passive:!0}))}),o},[]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("audio",{ref:n,src:t,loop:!0,preload:"auto"}),(0,r.jsx)("button",{id:"cvMute",type:"button",className:"cv-music".concat(c?"":" muted").concat(a?" pending":""),"aria-label":"Turn background music on or off",title:"Music on / off",onClick:function(e){e.stopPropagation();let t=n.current;t&&(t.muted||t.paused?(u.current=!1,t.muted=!1,t.play().catch(()=>{}),l(!0)):(u.current=!0,t.muted=!0,l(!1)),d(!1))},children:c?s:i})]})}}},e=>{e.O(0,[956,619,125,441,255,358],()=>e(e.s=6316)),_N_E=e.O()}]);
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.