1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},l=(new e.Error).stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="55c8b47b-5c18-4c51-84d3-df16efc174dc",e._sentryDebugIdIdentifier="sentry-dbid-55c8b47b-5c18-4c51-84d3-df16efc174dc")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5529],{86120:(e,l,t)=>{t.r(l),t.d(l,{default:()=>i});var s=t(95155),a=t(5772),o=t(12115);let i=e=>{let{image1:l,image2:t,autoplay:i=!1}=e,[r,n]=(0,o.useState)(.5),c=(0,o.useRef)(null),[d,u]=(0,o.useState)(i),f=e=>{var l;let t=null==(l=c.current)?void 0:l.getBoundingClientRect();n(()=>e<t.left?0:e>t.right?1:(e-t.left)/t.width)},h=e=>{f(e.clientX)},m=e=>{window.onmousemove=null,window.onmouseup=null};return(0,o.useEffect)(()=>{i&&u(!0)},[i]),(0,o.useEffect)(()=>{if(d&&i){let e=setInterval(()=>{n(.6),setTimeout(()=>{d&&n(.4)},2e3)},4e3);return()=>clearInterval(e)}},[d,i]),(0,s.jsxs)("div",{ref:c,className:"w-full left-0 right-0 top-0 bottom-0 absolute overflow-hidden swiper-no-swiping select-none group",onMouseOver:()=>{d&&(u(!1),n(.5))},onMouseLeave:()=>{d||u(!0)},onTouchStart:()=>{d&&(u(!1),n(.5))},children:[(0,s.jsx)(a.default,{slot:"first",src:t,alt:"Article",fill:!0,sizes:"(max-width: 768px) 50vw",className:"absolute inset-0 pointer-events-none h-full w-full",style:{objectFit:"cover",objectPosition:"center"},loading:"lazy",decoding:"async"}),(0,s.jsx)(a.default,{slot:"second",src:l,alt:"Article",fill:!0,sizes:"(max-width: 768px) 50vw",className:"absolute inset-0 pointer-events-none h-full w-full",style:{clipPath:`polygon(0 0,${100*r}% 0,${100*r}% 100%, 0 100%)`,transition:d?"clip-path 2000ms ease-in-out":"",objectFit:"cover",objectPosition:"center"},loading:"lazy",decoding:"async"}),(0,s.jsx)("div",{style:{left:`${100*r}%`,transition:d?"left 2000ms ease-in-out":""},className:"absolute inset-y-0 sm:opacity-50 group-hover:opacity-100",children:(0,s.jsxs)("div",{className:"relative h-full",children:[(0,s.jsx)("div",{className:"absolute inset-y-0 bg-white w-0.5 -ml-px"}),(0,s.jsx)("div",{style:{touchAction:"none"},onMouseDown:()=>{window.onmousemove=h,window.onmouseup=m},onTouchMove:e=>{f(e.touches.item(0).clientX)},className:"absolute h-12 w-12 rounded-full bg-white top-1/2 -ml-6 -mt-6 z-10 flex justify-center items-center cursor-pointer",children:(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-6 h-6 rotate-90",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 15 12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9"})})})]})})]})}},93268:(e,l,t)=>{t.d(l,{A:()=>d});var s=t(95155),a=t(12115),o=t(5772),i=t(66085),r=t(31260),n=t(86120),c=t(8832);let d=e=>{let{imageSrc:l,videoSrc:t,mediaType:d="media",children:u,orientation:f="vertical",padding:h,className:m,imageClassName:w,imageContainerClassName:v,link:x,onClick:p,onImageClick:g,imageClickAriaLabel:b,onMouseEnter:j,onMouseLeave:y,aspect:$,shadow:N,contentOverlap:k,transparent:z,contentStyle:A,contentClassName:I=""}=e,F="0";switch(h){case"2":F="p-2";break;case"3":F="p-3";break;case"4":F="p-4";break;case"5":F="p-5";break;case"6":F="p-6";break;case"12":F="p-3 md:p-12"}let M="horizontal"===f&&l?`md:grid md:grid-cols-[1fr,3fr] ${m}`:`${m}`,_="aspect-w-16 aspect-h-10 w-full";"square"==$&&(_="aspect-square w-full"),"profile"==$&&(_="aspect-w-10 aspect-h-16 w-full"),"listing"==$&&(_="aspect-[4/5.2] w-full");let D="";return k&&(D="-mt-6 relative mx-6"),(0,s.jsxs)("article",{onClick:p,onMouseEnter:j,onMouseLeave:y,className:`relative group items-center ${"vertical"===f?"flex flex-col h-full":""} ${z?"":"bg-background rounded-xl overflow-hidden shadow-lg hover:shadow-md transition-all"} ${N||""} ${M||""} `,children:["media"==d&&l&&(x?(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(i.A,{href:x,className:`md:flex ${"horizontal"===f?"w-full md:h-full":"w-full"}`,children:(0,s.jsx)(r.default,{effect:"fadeInHalf",className:`md:flex overflow-hidden ${"horizontal"===f?`relative ${_} ${v}`:`${_} ${v}`}`,children:Array.isArray(l)?(0,s.jsx)(a.Suspense,{children:(0,s.jsx)(n.default,{image1:l[0],image2:l[1]})}):(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(o.default,{src:l,alt:"Article",fill:!0,sizes:"(max-width: 768px) 90vw, (max-width: 1200px) 50vw, 33vw",className:`w-full h-full group-hover:scale-110 transition-all ${w}`,style:{objectFit:"cover",objectPosition:"center"},loading:"lazy",decoding:"async"})})})})}):(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:`md:flex w-full ${"horizontal"===f?`md:h-full relative ${v}`:` ${v}`} ${g?"cursor-pointer":""}`,role:g?"button":void 0,tabIndex:g?0:void 0,"aria-label":g?b:void 0,onClick:g?()=>g():void 0,onKeyDown:g?e=>
1{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),g())}:void 0,children:(0,s.jsx)("div",{className:_,children:Array.isArray(l)?(0,s.jsx)(a.Suspense,{children:(0,s.jsx)(n.default,{image1:l[0],image2:l[1]})}):(0,s.jsx)(o.default,{src:l,alt:"Article",width:600,height:600,sizes:"(max-width: 768px) 50vw",className:`w-full h-full absolute object-cover ${w}`,loading:"lazy",decoding:"async"})})})})),"video"==d&&(x?(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(i.A,{href:x,className:`md:flex ${"horizontal"===f?"w-full md:h-full":"w-full"}`,children:(0,s.jsx)(r.default,{effect:"fadeInHalf",className:`md:flex overflow-hidden ${"horizontal"===f?`relative ${_} ${v}`:`${_} ${v}`}`,children:(0,s.jsx)(c.default,{url:t,urlMobile:t,controls:!1,autoPlay:!0,muted:!0})})})}):(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:`md:flex w-full ${"horizontal"===f?`md:h-full relative ${v}`:` ${v}`}`,children:(0,s.jsx)("div",{className:_,children:(0,s.jsx)("video",{src:t,autoPlay:!0,muted:!0,loop:!0,className:"w-full h-full object-cover"})})})})),(0,s.jsx)("div",{className:`card-content flex-1 w-full h-full ${"horizontal"===f?"flex flex-col md:justify-center":""} ${z?"":"bg-background"} ${F} max-w-full ${D} ${I}`.trim(),style:A,children:u})]})}}}]);
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.