1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,875324,t=>{"use strict";let e,n,r,i="undefined"!=typeof Intl?new Intl.Segmenter:0,o=t=>"string"==typeof t?o(document.querySelectorAll(t)):"length"in t?Array.from(t):[t],a=t=>o(t).filter(t=>t instanceof HTMLElement),s=[],l=function(){},u=/\s+/g,c=RegExp("\\p{RI}\\p{RI}|\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?(\\u{200D}\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?)*|.","gu"),d={left:0,top:0,width:0,height:0},h=(t,e)=>{if(e){let n=new Set(t.join("").match(e)||s),r=t.length,i,o,a,l;if(n.size){for(;--r>-1;)for(a of(o=t[r],n))if(a.startsWith(o)&&a.length>o.length){for(i=0,l=o;a.startsWith(l+=t[r+ ++i])&&l.length<a.length;);if(i&&l.length===a.length){t[r]=a,t.splice(r+1,i);break}}}}return t},f=t=>"inline"===window.getComputedStyle(t).display&&(t.style.display="inline-block"),p=(t,e,n)=>e.insertBefore("string"==typeof t?document.createTextNode(t):t,n),g=(t,e,n)=>{let r=e[t+"sClass"]||"",{tag:i="div",aria:o="auto",propIndex:a=!1}=e,s="line"===t?"block":"inline-block",l=r.indexOf("++")>-1,u=e=>{let u=document.createElement(i),c=n.length+1;return r&&(u.className=r+(l?" "+r+c:"")),a&&u.style.setProperty("--"+t,c+""),"none"!==o&&u.setAttribute("aria-hidden","true"),"span"!==i&&(u.style.position="relative",u.style.display=s),u.textContent=e,n.push(u),u};return l&&(r=r.replace("++","")),u.collection=n,u},m=(t,e,n,r,o,a,l,c,d,g)=>{var x;let b=Array.from(t.childNodes),v=0,{wordDelimiter:w,reduceWhiteSpace:y=!0,prepareText:S}=e,C=t.getBoundingClientRect(),M=C,T=!y&&"pre"===window.getComputedStyle(t).whiteSpace.substring(0,3),P=0,N=n.collection,_,E,j,I,A,k,O,R,z,$,F,L,D,B,H,V,U,q;for("object"==typeof w?(j=w.delimiter||w,E=w.replaceWith||""):E=""===w?"":w||" ",_=" "!==E;v<b.length;v++)if(3===(I=b[v]).nodeType){for(H=I.textContent||"",y?H=H.replace(u," "):T&&(H=H.replace(/\n/g,E+"\n")),S&&(H=S(H,t)),I.textContent=H,U=(A=E||j?H.split(j||E):H.match(c)||s)[A.length-1],R=_?" "===U.slice(-1):!U,U||A.pop(),M=C,(O=_?" "===A[0].charAt(0):!A[0])&&p(" ",t,I),A[0]||A.shift(),h(A,d),a&&g||(I.textContent=""),z=1;z<=A.length;z++)if(V=A[z-1],!y&&T&&"\n"===V.charAt(0)&&(null==(x=I.previousSibling)||x.remove(),p(document.createElement("br"),t,I),V=V.slice(1)),y||""!==V)if(" "===V)t.insertBefore(document.createTextNode(" "),I);else{if(_&&" "===V.charAt(0)&&p(" ",t,I),P&&1===z&&!O&&N.indexOf(P.parentNode)>-1?(k=N[N.length-1]).appendChild(document.createTextNode(r?"":V)):(p(k=n(r?"":V),t,I),P&&1===z&&!O&&k.insertBefore(P,k.firstChild)),r)for(q=0,F=i?h([...i.segment(V)].map(t=>t.segment),d):V.match(c)||s;q<F.length;q++)k.appendChild(" "===F[q]?document.createTextNode(" "):r(F[q]));if(a&&g){if(H=I.textContent=H.substring(V.length+1,H.length),($=k.getBoundingClientRect()).top>M.top&&$.left<=M.left){for(L=t.cloneNode(),D=t.childNodes[0];D&&D!==k;)B=D,D=D.nextSibling,L.appendChild(B);t.parentNode.insertBefore(L,t),o&&f(L)}M=$}(z<A.length||R)&&p(z>=A.length?" ":_&&" "===V.slice(-1)?" "+E:E,t,I)}else p(E,t,I);t.removeChild(I),P=0}else 1===I.nodeType&&(l&&l.indexOf(I)>-1?(N.indexOf(I.previousSibling)>-1&&N[N.length-1].appendChild(I),P=I):(m(I,e,n,r,o,a,l,c,d,!0),P=0),o&&f(I))},x=class t{constructor(t,e){this.isSplit=!1,r||b.register(window.gsap),this.elements=a(t),this.chars=[],this.words=[],this.lines=[],this.masks=[],this.vars=e,this._split=()=>this.isSplit&&this.split(this.vars);let n=[],i,o=()=>{let t=n.length,e;for(;t--;){let r=(e=n[t]).element.offsetWidth;if(r!==e.width){e.width=r,this._split();return}}};this._data={orig:n,obs:"undefined"!=typeof ResizeObserver&&new ResizeObserver(()=>{clearTimeout(i),i=setTimeout(o,200)})},l(this),this.split(e)}split(t){this.isSplit&&this.revert(),this.vars=t=t||this.vars||{};let{type:e="chars,words,lines",aria:r="auto",deepSlice:i=!0,smartWrap:s,onSplit:l,autoSplit:u=!1,specialChars:h,mask:f}=this.vars,p=e.indexOf("lines")>-1,x=e.indexOf("chars")>-1,b=e.indexOf("words")>-1,v=x&&!b&&!p,w=h&&("push"in h?RegExp("(?:"+h.join("|")+")","gu"):h),y=w?RegExp(w.source+"|"+c.source,"gu"):c,S=!!t.ignore&&a(t.ignore),{orig:C,animTime:M,obs:T}=this._data,P;
1return(x||b||p)&&(this.elements.forEach((e,n)=>{C[n]={element:e,html:e.innerHTML,ariaL:e.getAttribute("aria-label"),ariaH:e.getAttribute("aria-hidden")},"auto"===r?e.setAttribute("aria-label",(e.textContent||"").trim()):"hidden"===r&&e.setAttribute("aria-hidden","true");let a=[],l=[],u=[],c=x?g("char",t,a):null,h=g("word",t,l),f,M,T,P;if(m(e,t,h,c,v,i&&(p||v),S,y,w,!1),p){let n,r,i=o(e.childNodes),a=(n=g("line",t,u),r=window.getComputedStyle(e).textAlign||"left",(t,o)=>{let a=n("");for(a.style.textAlign=r,e.insertBefore(a,i[t]);t<o;t++)a.appendChild(i[t]);a.normalize()}),s,l=[],c=0,h=i.map(t=>1===t.nodeType?t.getBoundingClientRect():d),p=d;for(f=0;f<i.length;f++)1===(s=i[f]).nodeType&&("BR"===s.nodeName?(l.push(s),a(c,f+1),p=h[c=f+1]):(f&&h[f].top>p.top&&h[f].left<=p.left&&(a(c,f),c=f),p=h[f]));c<f&&a(c,f),l.forEach(t=>{var e;return null==(e=t.parentNode)?void 0:e.removeChild(t)})}if(!b){for(f=0;f<l.length;f++)if(M=l[f],x||!M.nextSibling||3!==M.nextSibling.nodeType)if(s&&!p){for((T=document.createElement("span")).style.whiteSpace="nowrap";M.firstChild;)T.appendChild(M.firstChild);M.replaceWith(T)}else M.replaceWith(...M.childNodes);else(P=M.nextSibling)&&3===P.nodeType&&(P.textContent=(M.textContent||"")+(P.textContent||""),M.remove());l.length=0,e.normalize()}this.lines.push(...u),this.words.push(...l),this.chars.push(...a)}),f&&this[f]&&this.masks.push(...this[f].map(t=>{let e=t.cloneNode();return t.replaceWith(e),e.appendChild(t),t.className&&(e.className=t.className.replace(/(\b\w+\b)/g,"$1-mask")),e.style.overflow="clip",e}))),this.isSplit=!0,n&&(u?n.addEventListener("loadingdone",this._split):"loading"===n.status&&console.warn("SplitText c
1alled before fonts loaded")),(P=l&&l(this))&&P.totalTime&&(this._data.anim=M?P.totalTime(M):P),p&&u&&this.elements.forEach((t,e)=>{C[e].width=t.offsetWidth,T&&T.observe(t)}),this}revert(){var t,e;let{orig:r,anim:i,obs:o}=this._data;return o&&o.disconnect(),r.forEach(({element:t,html:e,ariaL:n,ariaH:r})=>{t.innerHTML=e,n?t.setAttribute("aria-label",n):t.removeAttribute("aria-label"),r?t.setAttribute("aria-hidden",r):t.removeAttribute("aria-hidden")}),this.chars.length=this.words.length=this.lines.length=r.length=this.masks.length=0,this.isSplit=!1,null==n||n.removeEventListener("loadingdone",this._split),i&&(this._data.animTime=i.totalTime(),i.revert()),null==(e=(t=this.vars).onRevert)||e.call(t,this),this}static create(e,n){return new t(e,n)}static register(t){(e=e||t||window.gsap)&&(o=e.utils.toArray,l=e.core.context||l),!r&&window.innerWidth>0&&(n=document.fonts,r=!0)}};x.version="3.13.0";let b=x;t.s(["SplitText",()=>b])},936049,t=>{"use strict";var e=t.i(843476),n=t.i(271645);t.s(["renderWithLineBreaks",0,t=>t?t.split("\n").map((t,r)=>(0,e.jsxs)(n.Fragment,{children:[r>0&&(0,e.jsx)("br",{}),t.trim()]},r)):null])},99481,319487,t=>{"use strict";t.i(247167);var e=t.i(843476),n=t.i(889628),r=t.i(519455),i=t.i(271645),o=/^image-([\da-f]+)-(\d+x\d+)-(\w+)$/,a=t=>{let e=o.exec(t),[,n,r,i]=e??[];if(!e||!n||!r||!i)throw Error(`Could not parse image ID "${t}"`);let[a,s]=r.split("x").map(t=>Number.parseInt(t,10));if(Number.isNaN(a)||Number.isNaN(s)||!a||!s)throw Error(`Invalid dimensions "${r}"`);return{assetId:n,dimensions:{height:s,width:a,aspectRatio:a/s},format:i}},s=t=>{let e=t.lastIndexOf("-");return t.slice(6,e)+"."+t.slice(e+1)},l=({id:t,mode:e="contain",width:n,height:r,hotspot:i,crop:o,queryParams:s,options:{includeMetadata:l=!1}={}})=>{let f=a(t).dimensions,{width:p,height:g,aspectRatio:m}=o?d(f,o):f;if(n||(r?(n=Math.round(r*m),r=void 0):n=Math.round(p/2)),"cover"!==e||n&&r&&n/r!==m?"contain"===e&&r&&(n=Math.min(n,Math.round(r*m)),r=void 0):e="contain",n>p||r&&r>g){let t=r?n/r:m;t>=m?(n=p,r=r&&Math.round(n/t)):n=Math.round((r=g)*t)}let x={w:n,q:75,fit:"max",...s};if(x.fm||(x.auto="format"),o&&(x.rect=h(f,o)),"cover"===e)if(x.fit="crop",r&&(x.h=r),i){let t=o?(i.x-o.left)/(1-o.left-o.right):i.x,e=o?(i.y-o.top)/(1-o.top-o.bottom):i.y;x["fp-x"]=c(u(t,0,1),3),x["fp-y"]=c(u(e,0,1),3)}else x.crop="entropy";if(l){let t=r??Math.round(n/m);x.metadata={sourceDimensions:f,outputDimensions:{width:n,height:t,aspectRatio:n/t}}}return x},u=(t,e,n)=>Math.max(e,Math.min(n,t)),c=(t,e)=>Math.round(t*Math.pow(10,e))/Math.pow(10,e),d=(t,e)=>{if(e.left+e.right>=1||e.top+e.bottom>=1)throw Error(`Invalid crop: ${JSON.stringify(e)}; crop values must be less than 1`);let n=Math.round(t.width*(1-e.left-e.right)),r=Math.round(t.height*(1-e.top-e.bottom));return{width:n,height:r,aspectRatio:n/r}},h=(t,e)=>{let{width:n,height:r}=d(t,e);return[Math.round(e.left*t.width),Math.round(e.top*t.height),n,r].join(",")},f=t=>new URLSearchParams(Object.entries(t).sort(([t],[e])=>t.localeCompare(e)).map(([t,e])=>[t,String(e)])).toString().replace(/%2C/g,","),p=({as:t,preview:n,style:r,alt:o,...a})=>{let[s,l]=(0,i.useState)(!1),u=(0,i.useRef)(null),c=()=>
1{l(!0)};(0,i.useEffect)(()=>{u.current?.complete&&c()},[]);let d=t??"img";return(0,e.jsxs)(e.Fragment,{children:[!s&&(0,e.jsx)(d,{src:n,alt:s?"":o,id:a.id,className:a.className,width:a.width,height:a.height,style:{aspectRatio:`${a.width} / ${a.height}`,...r},"data-lqip":!0}),(0,e.jsx)(d,{"data-loading":!s||null,alt:s?o:"",onLoad:c,ref:u,style:s?r:{...g,...r},...a})]})},g={height:"10px",width:"10px",position:"absolute",zIndex:-10,opacity:0,pointerEvents:"none",userSelect:"none"},m=({as:t,baseUrl:n,projectId:r,dataset:i,id:o,hotspot:u,crop:c,width:d,height:h,mode:g="contain",preview:m,htmlWidth:x,htmlHeight:b,htmlId:v,queryParams:w,...y})=>{if(!o)throw Error("Missing required `id` prop for <SanityImage>.");if(!n&&(!r||!i))throw Error("Missing required `baseUrl` or `projectId` and `dataset` props for <SanityImage>.");n=n??`https://cdn.sanity.io/images/${r}/${i}/`;let S=o.endsWith("-svg"),C=m&&!S?p:t??"img",M={alt:y.alt??"",loading:y.loading??"lazy",id:v,...y};if(S){let r=(({id:t,baseUrl:e})=>{let{assetId:n,dimensions:r,format:i}=a(t);return{src:`${e}${n}-${r.width}x${r.height}.${i}`,width:r.width,height:r.height}})({id:o,baseUrl:n});return"source"===t&&(r.srcSet=r.src,delete r.src),(0,e.jsx)(C,{...r,...M})}let T={baseUrl:n,id:o,crop:c,hotspot:u,width:d,height:h,mode:g,queryParams:w},{src:P,...N}=(({baseUrl:t,...e})=>{let{metadata:n,...r}=l({...e,options:{includeMetadata:!0}});if(!n)throw Error("Missing image output metadata");return{src:`${t}${s(e.id)}?${f(r)}`,width:n.outputDimensions.width,height:n.outputDimensions.height}})(T);return M.srcSet=(({id:t,mode:e="contain",width:n,height:r,hotspot:i,crop:o,baseUrl:a,...u})=>{let c,{w:d,h:h}=l({id:t,mode:e,width:n,height:r,hotspot:i,crop:o}),p=`${a}${s(t)}`;return Array.from(new Set(((c=d)<160?[.5,1,2]:c<750?[.5,1,1.5,2]:c<1400?[.25,.5,.75,1,1.5,2]:[.25,.5,.75,1,1.25,1.5,1.75,2]).map(n=>{let r=Math.round(d*n),a=h&&Math.round(h*n);if(n<1&&r<50)return null;let s=l({id:t,mode:e,width:r,height:a,hotspot:i,crop:o,...u});return`${p}?${f(s)} ${s.w}w`}).filter(t=>!!t)))})(T).join(", "),M.src=P,M.width=x??N.width,M.height=b??N.height,m&&(M.as=t??"img",M.preview=m),(0,e.jsx)(C,{...M})};t.s(["SanityImage",()=>m],319487);var x=t.i(975157),b=t.i(194280);let v={de:"artikel-einblicke",en:"articles-insights",it:"articoli-approfondimenti"},w="df2iieb9";function y({post:t,featured:i=!1,locale:o,className:a,minimal:s=!1}){return(0,e.jsxs)("div",{className:(0,x.cn)("bg-neutral-0 flex flex-col gap-7 rounded-[1.5rem] border border-neutral-200 p-3",i?"flex-row gap-5":"",a),children:[(0,e.jsx)("div",{className:(0,x.cn)("relative aspect-[4/3] w-full overflow-hidden rounded-[0.75rem] bg-neutral-400 max-lg:aspect-[11/10]",i?"h-[27rem] w-auto shrink min-[120rem]:h-[32rem]":""),children:t.mainImage.image?.asset?._id&&(0,e.jsx)(m,{id:t.mainImage.image?.asset?._id,preview:t.mainImage.imagePreview??void 0,baseUrl:`https://cdn.sanity.io/images/${w}/production/`,projectId:w,alt:t.mainImage.image.alt??"",mode:"cover",className:"inset-0 h-full w-full object-cover"})}),(0,e.jsxs)("div",{className:(0,x.cn)("flex flex-1 flex-col gap-4",i?"flex-1 pt-16":""),children:[!s&&(0,e.jsx)("div",{className:"w-fit rounded-[0.5rem] border border-green-400 bg-green-50 px-3 py-1.5 text-sm text-green-600 capitalize",children:t.category}),(0,e.jsxs)("div",{className:(0,x.cn)("flex flex-col gap-0.5",i?"gap-4":""),children:[(0,e.jsx)("h2",{className:"text-xl leading-[1.3] -tracking-[0.5px]",children:t.title}),(0,e.jsx)("p",{className:"line-clamp-2 text-sm leading-normal",children:t.shortDescription})]}),(0,e.jsx)("div",{className:(0,x.cn)("flex w-fit flex-1 items-end",i?"items-start":""),children:(0,e.jsx)(r.Button,{size:"sm",variant:"secondary",asChild:!0,children:(0,e.jsx)(b.Link,{href:`/${v[o]}/${t.slug?.current??""}`,children:(0,e.jsx)(n.ButtonText,{children:"Read Article"})})})}),!s&&(0,e.jsxs)("div",{className:(0,x.cn)("flex items-center justify-between gap-2 pt-3",i?"pt-12":""),children:[(0,e.jsxs)("div",{className:"flex items-center gap-3",children:[(0,e.jsx)("div",{className:"bg-base-color size-10 overflow-hidden rounded-[0.5rem]",children:t.author?.image?.asset?._id&&(0,e.jsx)(m,{id:t.author?.image?.asset?._id,preview:t.author?.imagePreview??void 0,baseUrl:`https://cdn.sanity.io/images/${w}/production/`,projectId:w,alt:t.author?.name??"",width:40,height:40})}),(0,e.jsx)("p",{className:"text-base leading-normal",children:t.author?.name})]}),(0,e.jsx)("p",{className:"text-base leading-normal text-neutral-700",children:new Date(t.publishedAt??"").toLocaleDateString("en-US",{month:"short",day:"2-digit",year:"numeric"})})]})]})]})}t.s(["ArticleCard",()=>y,"articleInsightsSlugs",0,v],99481)},916652,396777,t=>{"use strict";var e=t.i(843476);function n({className:t="",intensity:n=50,position:r="top"}){let i=n/50,o=[{blur:`${+i}px`,maskStart:0,maskEnd:25,zIndex:1},{blur:`${3*i}px`,maskStart:25,maskEnd:75,zIndex:2},{blur:`${6*i}px`,maskStart:75,maskEnd:100,zIndex:3}],a={bottom:"to bottom",top:"to top",left:"to left",right:"to right"};return(0,e.jsx)("div",{style:Object.assign({position:"absolute",zIndex:10,pointerEvents:"auto"},{bottom:{bottom:0,left:0,right:0,top:"auto"},top:{top:0,left:0,right:0,bottom:"auto"},left:{left:0,top:0,bottom:0,right:"auto"},right:{right:0,top:0,bottom:0,left:"auto"}}[r]),className:t,children:o.map((t,n)=>(0,e.jsx)("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,pointerEvents:"none",zIndex:t.zIndex,backdropFilter:`blur(${t.blur})`,WebkitBackdropFilter:`blur(${t.blur})`,maskImage:`linear-gradient(${a[r]}, transparent ${t.maskStart}%, black ${t.maskEnd}%)`,WebkitMaskImage:`linear-gradient(${a[r]}, transparent ${t.maskStart}%, black ${t.maskEnd}%)`}},n))})}t.s(["default",()=>n],916652);var r,i,o,a,s,l=t.i(975157),u=t.i(365747),c=t.i(989970),d=t.i(277195),h=function(){return r||"undefined"!=typeof window&&(r=window.gsap)&&r.registerPlugin&&r},f=function(t){return"function"==typeof t},p=Math.atan2,g=Math.cos,m=Math.sin,x=Math.sqrt,b=Math.PI,v=2*b,w=.3*b,y=.7*b,S=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,C=/(^[#\.][a-z]|[a-y][a-z])/i,M=/[achlmqstvz]/i,T=function(t){return console&&console.warn(t)},P=function(t){var e,n=t.length,r=0,i=0;for(e=0;e<n;e++)r+=t[e++],i+=t[e];return[r/(n/2),i/(n/2)]},N=function(t){var e,n,r,i=t.length,o=t[0],a=o,s=t[1],l=s;for(r=6;r<i;r+=6)e=t[r],n=t[r+1],e>o?o=e:e<a&&(a=e),n>s?s=n:n<l&&(l=n);return t.centerX=(o+a)/2,t.centerY=(s+l)/2,t.size=(o-a)*(s-l)},_=function(t,e){void 0===e&&(e=3);for(var n,r,i,o,a,s,l,u,c,d,h,f,p,g,m,x,b=t.length,v=t[0][0],w=v,y=t[0][1],S=y,C=1/e;--b>-1;)for(o=6,n=(a=t[b]).length;o<n;
1o+=6)for(c=a[o],d=a[o+1],h=a[o+2]-c,g=a[o+3]-d,f=a[o+4]-c,m=a[o+5]-d,p=a[o+6]-c,x=a[o+7]-d,s=e;--s>-1;)u=1-(l=C*s),r=(l*l*p+3*u*(l*f+u*h))*l+c,i=(l*l*x+3*u*(l*m+u*g))*l+d,r>v?v=r:r<w&&(w=r),i>y?y=i:i<S&&(S=i);return t.centerX=(v+w)/2,t.centerY=(y+S)/2,t.left=w,t.width=v-w,t.top=S,t.height=y-S,t.size=(v-w)*(y-S)},E=function(t,e){return e.length-t.length},j=function(t,e){var n=t.size||N(t),r=e.size||N(e);return Math.abs(r-n)<(n+r)/20?e.centerX-t.centerX||e.centerY-t.centerY:r-n},I=function(t,e){var n,r,i=t.slice(0),o=t.length,a=o-2;for(e|=0,n=0;n<o;n++)r=(n+e)%a,t[n++]=i[r],t[n]=i[r+1]},A=function(t,e,n,r,i){var o,a,s,l,u=t.length,c=0,d=u-2;for(n*=6,a=0;a<u;a+=6)l=t[o=(a+n)%d]-(e[a]-r),c+=x((s=t[o+1]-(e[a+1]-i))*s+l*l);return c},k=function(t,e,n){var r,i,o,a=t.length,s=P(t),l=P(e),u=l[0]-s[0],c=l[1]-s[1],h=A(t,e,0,u,c),f=0;for(o=6;o<a;o+=6)(i=A(t,e,o/6,u,c))<h&&(h=i,f=o);if(n)for(r=t.slice(0),(0,d.reverseSegment)(r),o=6;o<a;o+=6)(i=A(r,e,o/6,u,c))<h&&(h=i,f=-o);return f/6},O=function(t,e,n){for(var r,i,o,a,s,l,u=t.length,c=1e20,d=0,h=0;--u>-1;)for(s=0,l=(r=t[u]).length;s<l;s+=6)(a=x((i=r[s]-e)*i+(o=r[s+1]-n)*o))<c&&(c=a,d=r[s],h=r[s+1]);return[d,h]},R=function(t,e,n,r,i,o){var a,s,l,u,c=e.length,d=0,h=Math.min(t.size||N(t),e[n].size||N(e[n]))*r,f=1e20,p=t.centerX+i,g=t.centerY+o;for(a=n;a<c&&!((e[a].size||N(e[a]))<h);a++)(u=x((s=e[a].centerX-p)*s+(l=e[a].centerY-g)*l))<f&&(d=a,f=u);return u=e[d],e.splice(d,1),u},z=function(t,e){var n,r,i,o,a,s,l,u,c,d,h,f,p,g,m=0,x=t.length,b=e/((x-2)/6);for(p=2;p<x;p+=6)for(m+=b;m>.999999;)n=t[p-2],r=t[p-1],i=t[p],o=t[p+1],a=t[p+2],s=t[p+3],l=t[p+4],u=t[p+5],c=n+(i-n)*(g=1/((Math.floor(m)||1)+1)),h=i+(a-i)*g,c+=(h-c)*g,h+=(a+(l-a)*g-h)*g,d=r+(o-r)*g,f=o+(s-o)*g,d+=(f-d)*g,f+=(s+(u-s)*g-f)*g,t.splice(p,4,n+(i-n)*g,r+(o-r)*g,c,d,c+(h-c)*g,d+(f-d)*g,h,f,a+(l-a)*g,s+(u-s)*g),p+=6,x+=6,m--;return t},$=function(t,e,n,r,i){var o,a,s,l,u,c,h,f=e.length-t.length,p=f>0?e:t,g=f>0?t:e,m=0,x="complexity"===r?E:j,b="position"===r?0:"number"==typeof r?r:.8,v=g.length,w="object"==typeof n&&n.push?n.slice(0):[n],y="reverse"===w[0]||w[0]<0,S="log"===n;if(g[0]){if(p.length>1&&(t.sort(x),e.sort(x),c=p.size||_(p),c=g.size||_(g),c=p.centerX-g.centerX,h=p.centerY-g.centerY,x===j))for(v=0;v<g.length;v++)p.splice(v,0,R(g[v],p,v,b,c,h));if(f)for(f<0&&(f=-f),p[0].length>g[0].length&&z(g[0],(p[0].length-g[0].length)/6|0),v=g.length;m<f;)l=p[v].size||N(p[v]),l=(s=O(g,p[v].centerX,p[v].centerY))[0],u=s[1],g[v++]=[l,u,l,u,l,u,l,u],g.totalPoints+=8,m++;for(v=0;v<t.length;v++)o=e[v],a=t[v],(f=o.length-a.length)<0?z(o,-f/6|0):f>0&&z(a,f/6|0),y&&!1!==i&&!a.reversed&&(0,d.reverseSegment)(a),(n=w[v]||0===w[v]?w[v]:"auto")&&(a.closed||.5>Math.abs(a[0]-a[a.length-2])&&.5>Math.abs(a[1]-a[a.length-1])?"auto"===n||"log"===n?(w[v]=n=k(a,o,!v||!1===i),n<0&&(y=!0,(0,d.reverseSegment)(a),n=-n),I(a,6*n)):"reverse"!==n&&(v&&n<0&&(0,d.reverseSegment)(a),I(a,(n<0?-n:n)*6)):!y&&("auto"===n&&Math.abs(o[0]-a[0])+Math.abs(o[1]-a[1])+Math.abs(o[o.length-2]-a[a.length-2])+Math.abs(o[o.length-1]-a[a.length-1])>Math.abs(o[0]-a[a.length-2])+Math.abs(o[1]-a[a.length-1])+Math.abs(o[o.length-2]-a[0])+Math.abs(o[o.length-1]-a[1])||n%2)?((0,d.reverseSegment)(a),w[v]=-1,y=!0):"auto"===n?w[v]=0:"reverse"===n&&(w[v]=-1),a.closed!==o.closed&&(a.closed=o.closed=!1));return S&&T("shapeIndex:["+w.join(",")+"]"),t.shapeIndex=w,w}},F=function(t,e,n,r,i){var o=(0,d.stringToRawPath)(t[0]),a=(0,d.stringToRawPath)(t[1]);$(o,a,e||0===e?e:"auto",n,i)&&(t[0]=(0,d.rawPathToString)(o),t[1]=(0,d.rawPathToString)(a),("log"===r||!0===r)&&T('precompile:["'+t[0]+'","'+t[1]+'"]'))},L=function(t,e){if(!e)return t;var n,r,i,o=t.match(S)||[],a=o.length,s="";for("reverse"===e?(r=a-1,n=-2):(r=(2*(parseInt(e,10)||0)+1+100*a)%a,n=2),i=0;i<a;i+=2)s+=o[r-1]+","+o[r]+" ",r=(r+n)%a;return s},D=function(t,e){var n,r,i,o,a,s,l,u=0,c=parseFloat(t[0]),d=parseFloat(t[1]),h=c+","+d+" ";for(r=0,n=.5*e/(.5*(i=t.length)-1);r<i-2;r+=2){if(u+=n,s=parseFloat(t[r+2]),l=parseFloat(t[r+3]),u>.999999)for(a=1/(Math.floor(u)+1),o=1;u>.999999;)h+=(c+(s-c)*a*o).toFixed(2)+","+(d+(l-d)*a*o).toFixed(2)+" ",u--,o++;h+=s+","+l+" ",c=s,d=l}return h},B=function(t){var e=t[0].match(S)||[],n=t[1].match(S)||[],r=n.length-e.length;r>0?t[0]=D(e,r):t[1]=D(n,-r)},H=function(t,e,n){var r,o;return("string"!=typeof t||C.test(t)||(t.match(S)||[]).length<3)&&((r=i(t)[0])?(o=(r.nodeName+"").toUpperCase(),e&&"PATH"!==o&&(r=(0,d.convertToPath)(r,!1),o="PATH"),t=r.getAttribute("PATH"===o?"d":"points")||"",r===n&&(t=r.getAttributeNS(null,"data-original")||t)):(T("WARNING: invalid morph to: "+t),t=!1)),t},V=function(t,e){for(var n,r,i,o,a,s,l,u,c,d,h,f,g=t.length,m=.2*(e||1);--g>-1;){for(l=6,h=(r=t[g]).isSmooth=r.isSmooth||[0,0,0,0],f=r.smoothData=r.smoothData||[0,0,0,0],h.length=4,u=r.length-2;l<u;l+=6)i=r[l]-r[l-2],o=r[l+1]-r[l-1],a=r[l+2]-r[l],s=r[l+3]-r[l+1],(n=Math.abs((c=p(o,i))-(d=p(s,a)))<m)&&(f[l-2]=c,f[l+2]=d,f[l-1]=x(i*i+o*o),f[l+3]=x(a*a+s*s)),h.push(n,n,0,0,n,n);r[u]===r[0]&&r[u+1]===r[1]&&(i=r[0]-r[u-2],o=r[1]-r[u-1],a=r[2]-r[0],s=r[3]-r[1],Math.abs((c=p(o,i))-(d=p(s,a)))<m&&(f[u-2]=c,f[2]=d,f[u-1]=x(i*i+o*o),f[3]=x(a*a+s*s),h[u-2]=h[u-1]=!0))}return t},U=function(t){var e=t.trim().split(" ");return{x:(~t.indexOf("left")?0:~t.indexOf("right")?100:isNaN(parseFloat(e[0]))?50:parseFloat(e[0]))/100,y:(~t.indexOf("top")?0:~t.indexOf("bottom")?100:isNaN(parseFloat(e[1]))?50:parseFloat(e[1]))/100}
1},q="Use MorphSVGPlugin.convertToPath() to convert to a path before morphing.",W=function(t,e,n,r){var i,a,s,l=this._origin,u=this._eOrigin,c=t[n]-l.x,d=t[n+1]-l.y,h=x(c*c+d*d),f=p(d,c);return c=e[n]-u.x,s=(i=a=p(d=e[n+1]-u.y,c)-f)!=i%b?i+(i<0?v:-v):i,!r&&o&&Math.abs(s+o.ca)<w&&(r=o),this._anchorPT=o={_next:this._anchorPT,t:t,sa:f,ca:r&&s*r.ca<0&&Math.abs(s)>y?a:s,sl:h,cl:x(c*c+d*d)-h,i:n}},Y=function(t){r=h(),s=s||r&&r.plugins.morphSVG,r&&s?(i=r.utils.toArray,document,s.prototype._tweenRotation=W,a=1):t&&T("Please gsap.registerPlugin(MorphSVGPlugin)")},X={version:"3.13.0",name:"morphSVG",rawVars:1,register:function(t,e){r=t,s=e,Y()},init:function(t,e,n,r,i){if(a||Y(1),!e)return T("invalid shape"),!1;if(f(e)&&(e=e.call(n,r,t,i)),"string"==typeof e||e.getBBox||e[0])e={shape:e};else if("object"==typeof e){for(l in s={},e)s[l]=f(e[l])&&"render"!==l?e[l].call(n,r,t,i):e[l];e=s}var s,l,u,c,h,p,g,m,x,b,v,w,y,C,P,N,E,j,I,A,k,O,R=t.nodeType?window.getComputedStyle(t):{},z=R.fill+"",F="none"!==z&&"0"!==(z.match(S)||[])[3]&&"evenodd"!==R.fillRule,D=(e.origin||"50 50").split(",");if(h="POLYLINE"===(s=(t.nodeName+"").toUpperCase())||"POLYGON"===s,"PATH"!==s&&!h&&!e.prop)return T("Cannot morph a <"+s+"> element. "+q),!1;if(l="PATH"===s?"d":"points",!e.prop&&!f(t.setAttribute))return!1;if(c=H(e.shape||e.d||e.points||"","d"===l,t),h&&M.test(c))return T("A <"+s+"> cannot accept path data. "+q),!1;if(p=e.shapeIndex||0===e.shapeIndex?e.shapeIndex:"auto",g=e.map||X.defaultMap,this._prop=e.prop,this._render=e.render||X.defaultRender,this._apply="updateTarget"in e?e.updateTarget:X.defaultUpdateTarget,this._rnd=Math.pow(10,isNaN(e.precision)?2:+e.precision),this._tween=n,c){if(this._target=t,E="object"==typeof e.precompile,b=this._prop?t[this._prop]:t.getAttribute(l),this._prop||t.getAttributeNS(null,"data-original")||t.setAttributeNS(null,"data-original",b),"d"===l||this._prop){if(b=(0,d.stringToRawPath)(E?e.precompile[0]:b),v=(0,d.stringToRawPath)(E?e.precompile[1]:c),!E&&!$(b,v,p,g,F))return!1;for(("log"===e.precompile||!0===e.precompile)&&T('precompile:["'+(0,d.rawPathToString)(b)+'","'+(0,d.rawPathToString)(v)+'"]'),(k="linear"!==(e.type||X.defaultType))&&(b=V(b,e.smoothTolerance),v=V(v,e.smoothTolerance),b.size||_(b),v.size||_(v),A=U(D[0]),this._origin=b.origin={x:b.left+A.x*b.width,y:b.to
1p+A.y*b.height},D[1]&&(A=U(D[1])),this._eOrigin={x:v.left+A.x*v.width,y:v.top+A.y*v.height}),this._rawPath=t._gsRawPath=b,y=b.length;--y>-1;)for(w=0,P=b[y],N=v[y],m=P.isSmooth||[],x=N.isSmooth||[],C=P.length,o=0;w<C;w+=2)(N[w]!==P[w]||N[w+1]!==P[w+1])&&(k?m[w]&&x[w]?(j=P.smoothData,I=N.smoothData,O=w+(w===C-4?7-C:5),this._controlPT={_next:this._controlPT,i:w,j:y,l1s:j[w+1],l1c:I[w+1]-j[w+1],l2s:j[O],l2c:I[O]-j[O]},u=this._tweenRotation(P,N,w+2),this._tweenRotation(P,N,w,u),this._tweenRotation(P,N,O-1,u),w+=4):this._tweenRotation(P,N,w):(u=this.add(P,w,P[w],N[w],0,0,0,0,0,1),u=this.add(P,w+1,P[w+1],N[w+1],0,0,0,0,0,1)||u))}else u=this.add(t,"setAttribute",t.getAttribute(l)+"",c+"",r,i,0,isNaN(p)?B:function(t){B(t),t[1]=L(t[1],parseInt(p,10))},l);k&&(this.add(this._origin,"x",this._origin.x,this._eOrigin.x,0,0,0,0,0,1),u=this.add(this._origin,"y",this._origin.y,this._eOrigin.y,0,0,0,0,0,1)),u&&(this._props.push("morphSVG"),u.end=c,u.endProp=l)}return 1},render:function(t,e){for(var n,r,i,o,a,s,l,u,c,d,h,f,x=e._rawPath,b=e._controlPT,v=e._anchorPT,w=e._rnd,y=e._target,S=e._pt;S;)S.r(t,S.d),S=S._next;if(1===t&&e._apply)for(S=e._pt;S;)S.end&&(e._prop?y[e._prop]=S.end:y.setAttribute(S.endProp,S.end)),S=S._next;else if(x){for(;v;)a=v.sa+t*v.ca,o=v.sl+t*v.cl,v.t[v.i]=e._origin.x+g(a)*o,v.t[v.i+1]=e._origin.y+m(a)*o,v=v._next;for(r=t<.5?2*t*t:(4-2*t)*t-1;b;)f=(s=b.i)+(s===(i=x[b.j]).length-4?7-i.length:5),d=m(a=p(i[f]-i[s+1],i[f-1]-i[s])),h=g(a),u=i[s+2],c=i[s+3],o=b.l1s+r*b.l1c,i[s]=u-h*o,i[s+1]=c-d*o,o=b.l2s+r*b.l2c,i[f-1]=u+h*o,i[f]=c+d*o,b=b._next;if(y._gsRawPath=x,e._apply){for(l=0,n="";l<x.length;l++)for(o=(i=x[l]).length,n+="M"+(i[0]*w|0)/w+" "+(i[1]*w|0)/w+" C",s=2;s<o;s++)n+=(i[s]*w|0)/w+" ";e._prop?y[e._prop]=n:y.setAttribute("d",n)}}e._render&&x&&e._render.call(e._tween,x,y)},kill:function(t){this._pt=this._rawPath=0},getRawPath:d.getRawPath,stringToRawPath:d.stringToRawPath,rawPathToString:d.rawPathToString,normalizeStrings:function(t,e,n){var r=n.shapeIndex,i=n.map,o=[t,e];return F(o,r,i),o},pathFilter:F,pointsFilter:B,getTotalSize:_,equalizeSegmentQuantity:$,convertToPath:function(t,e){return i(t).map(function(t){return(0,d.convertToPath)(t,!1!==e)})},defaultType:"linear",defaultUpdateTarget:!0,defaultMap:"size"};h()&&r.registerPlugin(X);var G=t.i(271645);function Z({isPlaying:t}){let n=(0,G.useRef)(null);return(0,u.useGSAP)(()=>{n.current&&(c.default.registerPlugin(X),c.default.to(n.current,{duration:.5,morphSVG:{type:"linear",map:"size",shape:t?"M20.25 4.5V19.5C20.25 19.8978 20.092 20.2794 19.8107 20.5607C19.5294 20.842 19.1478 21 18.75 21H15C14.6022 21 14.2206 20.842 13.9393 20.5607C13.658 20.2794 13.5 19.8978 13.5 19.5V4.5C13.5 4.10218 13.658 3.72064 13.9393 3.43934C14.2206 3.15804 14.6022 3 15 3H18.75C19.1478 3 19.5294 3.15804 19.8107 3.43934C20.092 3.72064 20.25 4.10218 20.25 4.5ZM9 3H5.25C4.85218 3 4.47064 3.15804 4.18934 3.43934C3.90804 3.72064 3.75 4.10218 3.75 4.5V19.5C3.75 19.8978 3.90804 20.2794 4.18934 20.5607C4.47064 20.842 4.85218 21 5.25 21H9C9.39782 21 9.77936 20.842 10.0607 20.5607C10.342 20.2794 10.5 19.8978 10.5 19.5V4.5C10.5 4.10218 10.342 3.72064 10.0607 3.43934C9.77936 3.15804 9.39782 3 9 3Z":"M22.5 12C22.5006 12.2546 22.4353 12.5051 22.3105 12.727C22.1856 12.949 22.0055 13.1348 21.7875 13.2665L8.28 21.5297C8.05227 21.6691 7.79144 21.7452 7.52445 21.7502C7.25746 21.7551 6.99399 21.6887 6.76125 21.5578C6.53073 21.4289 6.3387 21.2409 6.2049 21.0132C6.07111 20.7855 6.00039 20.5263 6 20.2622V3.73779C6.00039 3.47368 6.07111 3.21445 6.2049 2.98673C6.3387 2.75902 6.53073 2.57106 6.76125 2.44217C6.99399 2.31124 7.25746 2.24482 7.52445 2.24977C7.79144 2.25471 8.05227 2.33084 8.28 2.47029L21.7875 10.7334C22.0055 10.8651 22.1856 11.051 22.3105 11.2729C22.4353 11.4949 22.5006 11.7453 22.5 12Z"},ease:"power4.inOut"}))},[t]),(0,e.jsxs)("button",{className:(0,l.cn)("bg-neutral-0/5 border-neutral-0/10 grid size-[2.5rem] -translate-x-1/2 -translate-y-1/2 place-content-center rounded-full border-[0.5px] backdrop-blur-[25px] transition-opacity duration-200","group-hover:opacity-100"),children:[(0,e.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,e.jsx)("path",{ref:n,d:"M22.5 12C22.5006 12.2546 22.4353 12.5051 22.3105 12.727C22.1856 12.949 22.0055 13.1348 21.7875 13.2665L8.28 21.5297C8.05227 21.6691 7.79144 21.7452 7.52445 21.7502C7.25746 21.7551 6.99399 21.6887 6.76125 21.5578C6.53073 21.4289 6.3387 21.2409 6.2049 21.0132C6.07111 20.7855 6.00039 20.5263 6 20.2622V3.73779C6.00039 3.47368 6.07111 3.21445 6.2049 2.98673C6.3387 2.75902 6.53073 2.57106 6.76125 2.44217C6.99399 2.31124 7.25746 2.24482 7.52445 2.24977C7.79144 2.25471 8.05227 2.33084 8.28 2.47029L21.7875 10.7334C22.0055 10.8651 22.1856 11.051 22.3105 11.2729C22.4353 11.4949 22.5006 11.7453 22.5 12Z",fill:"white"})}),(0,e.jsx)("span",{className:"sr-only",children:t?"Pause":"Play"})]})}t.s(["PlayPauseButton",()=>Z],396777)},130013,t=>{"use strict";var e=t.i(271645);function n(t){return"[object Object]"===Object.prototype.toString.call(t)||Array.isArray(t)}function r(t,e){let i=Object.keys(t),o=Object.keys(e);return i.length===o.length&&JSON.stringify(Object.keys(t.breakpoints||{}))===JSON.stringify(Object.keys(e.breakpoints||{}))&&i.every(i=>{let o=t[i],a=e[i];return"function"==typeof o?`${o}`==`${a}`:n(o)&&n(a)?r(o,a):o===a})}function i(t){return t.concat().sort((t,e)=>t.name>e.name?1:-1).map(t=>t.options)}function o(t){return"number"==typeof t}function a(t){return"string"==typeof t}function s(t){return"boolean"==typeof t}function l(t){return"[object Object]"===Object.prototype.toString.call(t)}function u(t){return Math.abs(t)}function c(t){return Math.sign(t)}function d(t){return g(t).map(Number)}function h(t){return t[f(t)]}function f(t){return Math.max(0,t.length-1)}function p(t,e=0){return Array.from(Array(t),(t,n)=>e+n)}function g(t){return Object.keys(t)}function m(t,e){return void 0!==e.MouseEvent&&t instanceof e.MouseEvent}function x(){let t=[],e={add:function(n,r,i,o={passive:!0}){let a;return"addEventListener"in n?(n.addEventListener(r,i,o),a=()=>n.removeEventListener(r,i,o)):(n.addListener(i),a=()=>n.removeListener(i)),t.push(a),e},clear:function(){t=t.filter(t=>t())}};return e}function b(t=0,e=0){let n=u(t-e);function r(n){return n<t||n>e}return{length:n,max:e,min:t,constrain:function(n){return r(n)?n<t?t:e:n},reachedAny:r,reachedMax:function(t){return t>e},reachedMin:function(e){return e<t},removeOffset:function(t){return n?t-n*Math.ceil((t-e)/n):t}}}function v(t){let e=t;function n(t){return o(t)?t:t.get()}return{get:function(){return e},set:function(t){e=n(t)},add:function(t){e+=n(t)},subtract:function(t){e-=n(t)}}}function w(t,e){let n="x"===t.scroll?function(t){return`translate3d(${t}px,0px,0px)`}:function(t){return`translate3d(0px,${t}px,0px)`},r=e.style,i=null,o=!1;return{clear:function(){!o&&(r.transform="",e.getAttribute("style")||e.removeAttribute("style"))},to:function(e){if(o)return;let a=Math.round(100*t.direction(e))/100;a!==i&&(r.transform=n(a),i=a)},toggleActive:function(t){o=!t}}}let y={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function S(t,e,n){let r,i,C,M,T,P,N,_,E=t.ownerDocument,j=E.defaultView,I=function(t){function e(t,e){return function t(e,n){return[e,n].reduce((e,n)=>
1(g(n).forEach(r=>{let i=e[r],o=n[r],a=l(i)&&l(o);e[r]=a?t(i,o):o}),e),{})}(t,e||{})}return{mergeOptions:e,optionsAtMedia:function(n){let r=n.breakpoints||{},i=g(r).filter(e=>t.matchMedia(e).matches).map(t=>r[t]).reduce((t,n)=>e(t,n),{});return e(n,i)},optionsMediaQueries:function(e){return e.map(t=>g(t.breakpoints||{})).reduce((t,e)=>t.concat(e),[]).map(t.matchMedia)}}}(j),A=(_=[],{init:function(t,e){return(_=e.filter(({options:t})=>!1!==I.optionsAtMedia(t).active)).forEach(e=>e.init(t,I)),e.reduce((t,e)=>Object.assign(t,{[e.name]:e}),{})},destroy:function(){_=_.filter(t=>t.destroy())}}),k=x(),O=(i={},C={init:function(t){r=t},emit:function(t){return(i[t]||[]).forEach(e=>e(r,t)),C},off:function(t,e){return i[t]=(i[t]||[]).filter(t=>t!==e),C},on:function(t,e){return i[t]=(i[t]||[]).concat([e]),C},clear:function(){i={}}}),{mergeOptions:R,optionsAtMedia:z,optionsMediaQueries:$}=I,{on:F,off:L,emit:D}=O,B=!1,H=R(y,S.globalOptions),V=R(H),U=[];function q(e,n){B||(V=z(H=R(H,e)),U=n||U,function(){let{container:e,slides:n}=V;P=(a(e)?t.querySelector(e):e)||t.children[0];let r=a(n)?P.querySelectorAll(n):n;N=[].slice.call(r||P.children)}(),M=function e(n){let r=function(t,e,n,r,i,l,y){var S,C;let M,T,P,N,_,E,j,I,A,k,O,R,z,$,{align:F,axis:L,direction:D,startIndex:B,loop:H,duration:V,dragFree:U,dragThreshold:q,inViewThreshold:W,slidesToScroll:Y,skipSnaps:X,containScroll:G,watchResize:Z,watchSlides:J,watchDrag:K,watchFocus:Q}=l,tt={measure:function(t){let{offsetTop:e,offsetLeft:n,offsetWidth:r,offsetHeight:i}=t;return{top:e,right:n+r,bottom:e+i,left:n,width:r,height:i}}},te=tt.measure(e),tn=n.map(tt.measure),tr=(T="rtl"===D,N=(P="y"===L)||!T?1:-1,_=P?"top":T?"right":"left",E=P?"bottom":T?"left":"right",{scroll:P?"y":"x",cross:P?"x":"y",startEdge:_,endEdge:E,measureSize:function(t){let{height:e,width:n}=t;return P?e:n},direction:function(t){return t*N}}),ti=tr.measureSize(te),to={measure:function(t){return t/100*ti}},ta=(S=F,C=ti,M={start:function(){return 0},center:function(t){return(C-t)/2},end:function(t){return C-t}},{measure:function(t,e){return a(S)?M[S](t):S(C,t,e)}}),ts=!H&&!!G,{slideSizes:tl,slideSizesWithGaps:tu,startGap:tc,endGap:td}=function(t,e,n,r,i,o){let{measureSize:a,startEdge:s,endEdge:l}=t,c=n[0]&&i,d=function(){if(!c)return 0;let t=n[0];return u(e[s]-t[s])}(),p=c?parseFloat(o.getComputedStyle(h(r)).getPropertyValue(`margin-${l}`)):0,g=n.map(a),m=n.map((t,e,n)=>{let r=e===f(n);return e?r?g[e]+p:n[e+1][s]-t[s]:g[e]+d}).map(u);return{slideSizes:g,slideSizesWithGaps:m,startGap:d,endGap:p}}(tr,te,tn,n,H||!!G,i),th=function(t,e,n,r,i,a,s,l,c){let{startEdge:p,endEdge:g,direction:m}=t,x=o(n);return{groupSlides:function(t){return x?d(t).filter(t=>t%n==0).map(e=>t.slice(e,e+n)):t.length?d(t).reduce((n,o,c)=>{let d=h(n)||0,x=o===f(t),b=i[p]-a[d][p],v=i[p]-a[o][g],w=r||0!==d?0:m(s),y=u(v-(!r&&x?m(l):0)-(b+w));return c&&y>e+2&&n.push(o),x&&n.push(t.length),n},[]).map((e,n,r)=>{let i=Math.max(r[n-1]||0);return t.slice(i,e)}):[]}}}(tr,ti,Y,H,te,tn,tc,td,0),{snaps:tf,snapsAligned:tp}=function(t,e,n,r,i){let{startEdge:o,endEdge:a}=t,{groupSlides:s}=i,l=s(r).map(t=>h(t)[a]-t[0][o]).map(u).map(e.measure),c=r.map(t=>n[o]-t[o]).map(t=>-u(t)),d=s(c).map(t=>t[0]).map((t,e)=>t+l[e]);return{snaps:c,snapsAligned:d}}(tr,ta,te,tn,th),tg=-h(tf)+h(tu),{snapsContained:tm,scrollContainLimit:tx}=function(t,e,n,r,i){let o,a,s=b(-e+t,0),l=n.map((t,e)=>{let{min:r,max:i}=s,o=s.constrain(t),a=e===f(n);return e?a||function(t,e){return 1>=u(t-e)}(r,o)?r:function(t,e){return 1>=u(t-e)}(i,o)?i:o:i}).map(t=>parseFloat(t.toFixed(3))),c=(o=l[0],a=h(l),b(l.lastIndexOf(o),l.indexOf(a)+1));return{snapsContained:function(){if(e<=t+2)return[s.max];if("keepSnaps"===r)return l;let{min:n,max:i}=c;return l.slice(n,i)}(),scrollContainLimit:c}}(ti,tg,tp,G,0),tb=ts?tm:tp,{limit:tv}=(j=tb[0],{limit:b(H?j-tg:h(tb),j)}),tw=function t(e,n,r){let{constrain:i}=b(0,e),o=e+1,a=s(n);function s(t){return r?u((o+t)%o):i(t)}function l(){return t(e,a,r)}let c={get:function(){return a}
1,set:function(t){return a=s(t),c},add:function(t){return l().set(a+t)},clone:l};return c}(f(tb),B,H),ty=tw.clone(),tS=d(n),tC=function(t,e,n,r){let i=x(),o=1e3/60,a=null,s=0,l=0;function u(t){if(!l)return;a||(a=t,n(),n());let i=t-a;for(a=t,s+=i;s>=o;)n(),s-=o;r(s/o),l&&(l=e.requestAnimationFrame(u))}function c(){e.cancelAnimationFrame(l),a=null,s=0,l=0}return{init:function(){i.add(t,"visibilitychange",()=>{t.hidden&&(a=null,s=0)})},destroy:function(){c(),i.clear()},start:function(){l||(l=e.requestAnimationFrame(u))},stop:c,update:n,render:r}}(r,i,()=>(({dragHandler:t,scrollBody:e,scrollBounds:n,options:{loop:r}})=>{r||n.constrain(t.pointerDown()),e.seek()})(t$),t=>(({scrollBody:t,translate:e,location:n,offsetLocation:r,previousLocation:i,scrollLooper:o,slideLooper:a,dragHandler:s,animation:l,eventHandler:u,scrollBounds:c,options:{loop:d}},h)=>{let f=t.settled(),p=!c.shouldConstrain(),g=d?f:f&&p,m=g&&!s.pointerDown();m&&l.stop();let x=n.get()*h+i.get()*(1-h);r.set(x),d&&(o.loop(t.direction()),a.loop()),e.to(r.get()),m&&u.emit("settle"),g||u.emit("scroll")})(t$,t)),tM=tb[tw.get()],tT=v(tM),tP=v(tM),tN=v(tM),t_=v(tM),tE=function(t,e,n,r,i,o){let a=0,s=0,l=i,d=.68,h=t.get(),f=0;function p(t){return l=t,m}function g(t){return d=t,m}let m={direction:function(){return s},duration:function(){return l},velocity:function(){return a},seek:function(){let e=r.get()-t.get(),i=0;return l?(n.set(t),a+=e/l,a*=d,h+=a,t.add(a),i=h-f):(a=0,n.set(r),t.set(r),i=e),s=c(i),f=h,m},settled:function(){return .001>u(r.get()-e.get())},useBaseFriction:function(){return g(.68)},useBaseDuration:function(){return p(i)},useFriction:g,useDuration:p};return m}(tT,tN,tP,t_,V,0),tj=function(t,e,n,r,i){let{reachedAny:o,removeOffset:a,constrain:s}=r;function l(t){return t.concat().sort((t,e)=>u(t)-u(e))[0]}function d(e,r){let i=[e,e+n,e-n];if(!t)return e;if(!r)return l(i);let o=i.filter(t=>c(t)===r);return o.length?l(o):h(i)-n}return{byDistance:function(n,r){let l=i.get()+n,{index:c,distance:h}=function(n){let r=t?a(n):s(n),{index:i}=e.map((t,e)=>({diff:d(t-r,0),index:e})).sort((t,e)=>u(t.diff)-u(e.diff))[0];return{index:i,distance:r}}(l),f=!t&&o(l);if(!r||f)return{index:c,distance:n};let p=n+d(e[c]-h,0);return{index:c,distance:p}},byIndex:function(t,n){let r=d(e[t]-i.get(),n);return{index:t,distance:r}},shortcut:d}}(H,tb,tg,tv,t_),tI=function(t,e,n,r,i,o,a){function s(i){let s=i.distance,l=i.index!==e.get();o.add(s),s&&(r.duration()?t.start():(t.update(),t.render(1),t.update())),l&&(n.set(e.get()),e.set(i.index),a.emit("select"))}return{distance:function(t,e){s(i.byDistance(t,e))},index:function(t,n){let r=e.clone().set(t);s(i.byIndex(r.get(),n))}}}
1(tC,tw,ty,tE,tj,t_,y),tA=function(t){let{max:e,length:n}=t;return{get:function(t){return n?-((t-e)/n):0}}}(tv),tk=x(),tO=(A={},k=null,O=null,R=!1,{init:function(){I=new IntersectionObserver(t=>{R||(t.forEach(t=>{A[n.indexOf(t.target)]=t}),k=null,O=null,y.emit("slidesInView"))},{root:e.parentElement,threshold:W}),n.forEach(t=>I.observe(t))},destroy:function(){I&&I.disconnect(),R=!0},get:function(t=!0){if(t&&k)return k;if(!t&&O)return O;let e=g(A).reduce((e,n)=>{let r=parseInt(n),{isIntersecting:i}=A[r];return(t&&i||!t&&!i)&&e.push(r),e},[]);return t&&(k=e),t||(O=e),e}}),{slideRegistry:tR}=function(t,e,n,r,i,o){let a,{groupSlides:s}=i,{min:l,max:u}=r;return{slideRegistry:(a=s(o),1===n.length?[o]:t&&"keepSnaps"!==e?a.slice(l,u).map((t,e,n)=>{let r=e===f(n);return e?r?p(f(o)-h(n)[0]+1,h(n)[0]):t:p(h(n[0])+1)}):a)}}(ts,G,tb,tx,th,tS),tz=function(t,e,n,r,i,a,l,u){let c={passive:!0,capture:!0},d=0;function h(t){"Tab"===t.code&&(d=new Date().getTime())}return{init:function(f){u&&(a.add(document,"keydown",h,!1),e.forEach((e,h)=>{a.add(e,"focus",e=>{(s(u)||u(f,e))&&function(e){if(new Date().getTime()-d>10)return;l.emit("slideFocusStart"),t.scrollLeft=0;let a=n.findIndex(t=>t.includes(e));o(a)&&(i.useDuration(0),r.index(a,0),l.emit("slideFocus"))}(h)},c)}))}}}(t,n,tR,tI,tE,tk,y,Q),t$={ownerDocument:r,ownerWindow:i,eventHandler:y,containerRect:te,slideRects:tn,animation:tC,axis:tr,dragHandler:function(t,e,n,r,i,o,a,l,d,h,f,p,g,v,w,y,S,C,M){let{cross:T,direction:P}=t,N=["INPUT","SELECT","TEXTAREA"],_={passive:!1},E=x(),j=x(),I=b(50,225).constrain(v.measure(20)),A={mouse:300,touch:400},k={mouse:500,touch:600},O=w?43:25,R=!1,z=0,$=0,F=!1,L=!1,D=!1,B=!1;function H(t){if(!m(t,r)&&t.touches.length>=2)return V(t);let e=o.readPoint(t),n=o.readPoint(t,T),a=u(e-z),s=u(n-$);if(!L&&!B&&(!t.cancelable||!(L=a>s)))return V(t);let c=o.pointerMove(t);a>y&&(D=!0),h.useFriction(.3).useDuration(.75),l.start(),i.add(P(c)),t.preventDefault()}function V(t){var e;let n,r,i=f.byDistance(0,!1).index!==p.get(),a=o.pointerUp(t)*(w?k:A)[B?"mouse":"touch"],s=(e=P(a),n=p.add(-1*c(e)),r=f.byDistance(e,!w).distance,w||u(e)<I?r:S&&i?.5*r:f.byIndex(n.get(),0).distance),l=function(t,e){var n,r;if(0===t||0===e||u(t)<=u(e))return 0;let i=(n=u(t),r=u(e),u(n-r));return u(i/t)}(a,s);L=!1,F=!1,j.clear(),h.useDuration(O-10*l).useFriction(.68+l/50),d.distance(s,!w),B=!1,g.emit("pointerUp")}function U(t){D&&(t.stopPropagation(),t.preventDefault(),D=!1)}return{init:function(t){M&&E.add(e,"dragstart",t=>t.preventDefault(),_).add(e,"touchmove",()=>void 0,_).add(e,"touchend",()=>void 0).add(e,"touchstart",l).add(e,"mousedown",l).add(e,"touchcancel",V).add(e,"contextmenu",V).add(e,"click",U,!0);function l(l){(s(M)||M(t,l))&&function(t){let s,l=m(t,r);if((B=l,D=w&&l&&!t.buttons&&R,R=u(i.get()-a.get())>=2,!l||0===t.button)&&(s=t.target.nodeName||"",!N.includes(s))){let r;F=!0,o.pointerDown(t),h.useFriction(0).useDuration(0),i.set(a),r=B?n:e,j.add(r,"touchmove",H,_).add(r,"touchend",V).add(r,"mousemove",H,_).add(r,"mouseup",V),z=o.readPoint(t),$=o.readPoint(t,T),g.emit("pointerDown")}}(l)}},destroy:function(){E.clear(),j.clear()},pointerDown:function(){return F}}}(tr,t,r,i,t_,function(t,e){let n,r;function i(t){return t.timeStamp}function o(n,r){let i=r||t.scroll,o=`client${"x"===i?"X":"Y"}`;return(m(n,e)?n:n.touches[0])[o]}return{pointerDown:function(t){return n=t,r=t,o(t)},pointerMove:function(t){let e=o(t)-o(r),a=i(t)-i(n)>170;return r=t,a&&(n=t),e},pointerUp:function(t){if(!n||!r)return 0;let e=o(r)-o(n),a=i(t)-i(n),s=i(t)-i(r)>170,l=e/a;return a&&!s&&u(l)>.1?l:0},readPoint:o}}(tr,i),tT,tC,tI,tE,tj,tw,y,to,U,q,X,0,K),eventStore:tk,percentOfView:to,index:tw,indexPrevious:ty,limit:tv,location:tT,offsetLocation:tN,previousLocation:tP,options:l,resizeHandler:function(t,e,n,r,i,o,a){let l,c,d=[t].concat(r),h=[],f=!1;function p(t){return i.measureSize(a.measure(t))}return{init:function(i){o&&(c=p(t),h=r.map(p),l=new ResizeObserver(n=>{(s(o)||o(i,n))&&function(n){for(let o of n){if(f)return;let n=o.target===t,a=r.indexOf(o.target),s=n?c:h[a];if(u(p(n?t:r[a])-s)>=.5){i.reInit(),e.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>{d.forEach(t=>l.observe(t))}))},destroy:function(){f=!0,l&&l.disconnect()}}}(e,y,i,n,tr,Z,tt),scrollBody:tE,scrollBounds:function(t,e,n,r,i){let o=i.measure(10),a=i.measure(50),s=b(.1,.99),l=!1;function c(){return!l&&!!t.reachedAny(n.get())&&!!t.reachedAny(e.get())}return{shouldConstrain:c,constrain:function(i){if(!c())return;let l=t.reachedMin(e.get())?"min":"max",d=u(t[l]-e.get()),h=n.get()-e.get(),f=s.constrain(d/
1a);n.subtract(h*f),!i&&u(h)<o&&(n.set(t.constrain(n.get())),r.useDuration(25).useBaseFriction())},toggleActive:function(t){l=!t}}}(tv,tN,t_,tE,to),scrollLooper:function(t,e,n,r){let{reachedMin:i,reachedMax:o}=b(e.min+.1,e.max+.1);return{loop:function(e){if(!(1===e?o(n.get()):-1===e&&i(n.get())))return;let a=-1*e*t;r.forEach(t=>t.add(a))}}}(tg,tv,tN,[tT,tN,tP,t_]),scrollProgress:tA,scrollSnapList:tb.map(tA.get),scrollSnaps:tb,scrollTarget:tj,scrollTo:tI,slideLooper:function(t,e,n,r,i,o,a,s,l){let u=d(i),c=d(i).reverse(),h=g(p(c,a[0]),n,!1).concat(g(p(u,e-a[0]-1),-n,!0));function f(t,e){return t.reduce((t,e)=>t-i[e],e)}function p(t,e){return t.reduce((t,n)=>f(t,e)>0?t.concat([n]):t,[])}function g(i,a,u){let c=o.map((t,n)=>({start:t-r[n]+.5+a,end:t+e-.5+a}));return i.map(e=>{let r=u?0:-n,i=u?n:0,o=c[e][u?"end":"start"];return{index:e,loopPoint:o,slideLocation:v(-1),translate:w(t,l[e]),target:()=>s.get()>o?r:i}})}return{canLoop:function(){return h.every(({index:t})=>.1>=f(u.filter(e=>e!==t),e))},clear:function(){h.forEach(t=>t.translate.clear())},loop:function(){h.forEach(t=>{let{target:e,translate:n,slideLocation:r}=t,i=e();i!==r.get()&&(n.to(i),r.set(i))})},loopPoints:h}}(tr,ti,tg,tl,tu,tf,tb,tN,n),slideFocus:tz,slidesHandler:($=!1,{init:function(t){J&&(z=new MutationObserver(e=>{!$&&(s(J)||J(t,e))&&function(e){for(let n of e)if("childList"===n.type){t.reInit(),y.emit("slidesChanged");break}}(e)})).observe(e,{childList:!0})},destroy:function(){z&&z.disconnect(),$=!0}}),slidesInView:tO,slideIndexes:tS,slideRegistry:tR,slidesToScroll:th,target:t_,translate:w(tr,e)};return t$}(t,P,N,E,j,n,O);return n.loop&&!r.slideLooper.canLoop()?e(Object.assign({},n,{loop:!1})):r}(V),$([H,...U.map(({options:t})=>t)]).forEach(t=>k.add(t,"change",W)),V.active&&(M.translate.to(M.location.get()),M.animation.init(),M.slidesInView.init(),M.slideFocus.init(Z),M.eventHandler.init(Z),M.resizeHandler.init(Z),M.slidesHandler.init(Z),M.options.loop&&M.slideLooper.loop(),P.offsetParent&&N.length&&M.dragHandler.init(Z),T=A.init(Z,U)))}function W(t,e){let n=G();Y(),q(R({startIndex:n},t),e),O.emit("reInit")}function Y(){M.dragHandler.destroy(),M.eventStore.clear(),M.translate.clear(),M.slideLooper.clear(),M.resizeHandler.destroy(),M.slidesHandler.destroy(),M.slidesInView.destroy(),M.animation.destroy(),A.destroy(),k.clear()}function X(t,e,n){V.active&&!B&&(M.scrollBody.useBaseFriction().useDuration(!0===e?0:V.duration),M.scrollTo.index(t,n||0))}function G(){return M.index.get()}let Z={canScrollNext:function(){return M.index.add(1).get()!==G()},canScrollPrev:function(){return M.index.add(-1).get()!==G()},containerNode:function(){return P},internalEngine:function(){return M},destroy:function(){B||(B=!0,k.clear(),Y(),O.emit("destroy"),O.clear())},off:L,on:F,emit:D,plugins:function(){return T},previousScrollSnap:function(){return M.indexPrevious.get()},reInit:W,rootNode:function(){return t},scrollNext:function(t){X(M.index.add(1).get(),t,-1)},scrollPrev:function(t){X(M.index.add(-1).get(),t,1)},scrollProgress:function(){return M.scrollProgress.get(M.offsetLocation.get())},scrollSnapList:function(){return M.scrollSnapList},scrollTo:X,selectedScrollSnap:G,slideNodes:function(){return N},slidesInView:function(){return M.slidesInView.get()},slidesNotInView:function(){return M.slidesInView.get(!1)}};return q(e,n),setTimeout(()=>O.emit("init"),0),Z}function C(t={},n=[]){let o=(0,e.useRef)(t),a=(0,e.useRef)(n),[s,l]=(0,e.useState)(),[u,c]=(0,e.useState)(),d=(0,e.useCallback)(()=>{s&&s.reInit(o.current,a.current)},[s]);return(0,e.useEffect)(()=>{r(o.current,t)||(o.current=t,d())},[t,d]),(0,e.useEffect)(()=>{!function(t,e){if(t.length!==e.length)return!1;let n=i(t),o=i(e);return n.every((t,e)=>r(t,o[e]))}(a.current,n)&&(a.current=n,d())},[n,d]),(0,e.useEffect)(()=>{if("undefined"!=typeof window&&window.document&&window.document.createElement&&u){S.globalOptions=C.globalOptions;let t=S(u,o.current,a.current);return l(t),()=>t.destroy()}l(void 0)},[u,l]),[c,s]}S.globalOptions=void 0,C.globalOptions=void 0,t.s(["default",()=>C],130013)}]);
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.