PageSourceSearch

https://starclinch.com/_next/static/chunks/pages/order/thankyou/[id]/components/GTQTimer-3a12d38b23cd5e54.js

js starclinch.com collected 2026-10-02 16:44:16 UTC 148,267 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2920],{21137:function(t,e,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/order/thankyou/[id]/components/GTQTimer",function(){return i(9509)}])},9509:function(t,e,i){"use strict";i.r(e);var n=i(85893);i(67294);var r=i(84569),s=i(17430),o=i(5985),a=i(64076);e.default=t=>{let{timer:e}=t;return(0,n.jsxs)("div",{className:"relative overflow-hidden",children:[(0,n.jsx)("div",{className:"relative p-8 flex flex-col justify-start overflow-hidden z-10 ",children:(0,n.jsx)("div",{className:"flex flex-col px-3 lg:px-[30px] xl:px-[48px]",children:(0,n.jsxs)("div",{className:"p-px relative rounded-[5rem] bg-gradient-t-b from-[#141429] to-[#000000] w-full backdrop-blur-2xl",children:[(0,n.jsx)("div",{className:"absolute -inset-0 rounded-[5rem] blur-md bg-gradient-to-br from-black/10 to-black/10"}),(0,n.jsxs)("div",{className:"rounded-[5rem]  w-full backdrop-blur-2xl",children:[(0,n.jsx)(r.Z,{timer:e}),(0,n.jsx)(a.Z,{timer:e})]})]})})}),(0,n.jsx)(s.Z,{}),(0,n.jsx)(o.Z,{})]})}},84569:function(t,e,i){"use strict";i.d(e,{Z:function(){return o}});var n=i(85893),r=i(33821);i(67294);var s=()=>(0,n.jsxs)(r.E.svg,{initial:{opacity:0}
1,animate:{opacity:1},transition:{duration:1},exit:{opacity:0},className:"absolute z-0",width:"1134",height:"27",viewBox:"0 0 1134 27",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{d:"M67 13H1132.16",stroke:"url(#paint0_linear_15_1341)",strokeWidth:"2",strokeLinecap:"round"}),(0,n.jsx)(r.E.g,{initial:{opacity:.3,x:1e3},animate:{opacity:1,x:0},transition:{duration:1},exit:{opacity:.3},filter:"url(#filter0_b_15_1341)",children:(0,n.jsx)("path",{d:"M0 12.8863C0 11.1387 1.28206 9.65573 3.01127 9.4031L54.3079 1.90869C61.1955 0.902414 67.3722 6.24229 67.3722 13.203V13.203C67.3722 20.2194 61.1015 25.5747 54.1716 24.4766L2.96923 16.3631C1.25913 16.0921 0 14.6177 0 12.8863V12.8863Z",fill:"url(#paint1_linear_15_1341)"})}),(0,n.jsxs)("defs",{children:[(0,n.jsxs)("linearGradient",{id:"paint0_linear_15_1341",x1:"7.40679",y1:"13",x2:"1126.01",y2:"13",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#262634",stopOpacity:"0"}),(0,n.jsx)("stop",{offset:"0.0681329",stopColor:"#262634"}),(0,n.jsx)("stop",{offset:"0.932275",stopColor:"#262634"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#262634",stopOpacity:"0"})]}),(0,n.jsxs)("linearGradient",{id:"paint1_linear_15_1341",x1:"58.9541",y1:"22.2494",x2:"-11.4083",y2:"19.1565",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#A63762"}),(0,n.jsx)("stop",{offset:"0.34375",stopColor:"#A63E37",stopOpacity:"0.69"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#A63762",stopOpacity:"0"})]}),(0,n.jsxs)("filter",{id:"filter0_b_15_1341",x:"-4",y:"-2.2135",width:"75.3723",height:"30.8334",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,n.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,n.jsx)("feGaussianBlur",{in:"BackgroundImageFix",stdDeviation:"2"}),(0,n.jsx)("feComposite",{in2:"SourceAlpha",operator:"in",result:"effect1_backgroundBlur_15_1341"}),(0,n.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_backgroundBlur_15_1341",result:"shape"})]})]})]}),o=t=>{let{timer:e}=t;return(0,n.jsxs)("div",{className:"relative md:flex justify-center h-[80vh] items-center hidden",children:[(0,n.jsxs)("svg",{className:"relative z-10",width:"1038",height:"750",viewBox:"0 0 1038 1038",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)(r.E.g,{initial:{scale:1},animate:{scale:[1.1,1,1.1,1]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},opacity:"0.03",filter:"url(#filter0_b_15_1338)",children:(0,n.jsx)("circle",{cx:"519",cy:"519",r:"210.602",fill:"#D9D9D9"})}),(0,n.jsx)(r.E.g,{initial:{scale:1},animate:{scale:[1.1,1,1.1,1]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},opacity:"0.03",filter:"url(#filter1_b_15_1338)",children:(0,n.jsx)("circle",{cx:"518.999",cy:"519",r:"192.483",fill:"#D9D9D9"})}),(0,n.jsx)(r.E.g,{initial:{scale:1},animate:{scale:[1.1,1,1.1,1]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},opacity:"0.29",filter:"url(#filter2_f_15_1338)",children:(0,n.jsx)("rect",{x:"291",y:"291",width:"456",height:"456",rx:"228",fill:"#893D5D"})}),(0,n.jsx)("rect",{x:"348.5",y:"348.5",width:"341",height:"341",rx:"170.5",fill:"#08080F"}),(0,n.jsx)("rect",{x:"348.5",y:"348.5",width:"341",height:"341",rx:"170.5",stroke:"url(#paint0_linear_15_1338)",strokeWidth:"3"}),(0,n.jsxs)("defs",{children:[(0,n.jsxs)("filter",{id:"filter0_b_15_1338",x:"289.398",y:"289.398",width:"459.203",height:"459.203",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,n.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,n.jsx)("feGaussianBlur",{in:"BackgroundImageFix",stdDeviation:"9.5"}),(0,n.jsx)("feComposite",{in2:"SourceAlpha",operator:"in",result:"effect1_backgroundBlur_15_1338"}),(0,n.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_backgroundBlur_15_1338",result:"shape"})]}),(0,n.jsxs)("filter",{id:"filter1_b_15_1338",x:"307.516",y:"307.517",width:"422.967",height:"422.967",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,n.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}
1),(0,n.jsx)("feGaussianBlur",{in:"BackgroundImageFix",stdDeviation:"9.5"}),(0,n.jsx)("feComposite",{in2:"SourceAlpha",operator:"in",result:"effect1_backgroundBlur_15_1338"}),(0,n.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_backgroundBlur_15_1338",result:"shape"})]}),(0,n.jsxs)("filter",{id:"filter2_f_15_1338",x:"0",y:"0",width:"1038",height:"1038",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,n.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,n.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,n.jsx)("feGaussianBlur",{stdDeviation:"145.5",result:"effect1_foregroundBlur_15_1338"})]}),(0,n.jsxs)("linearGradient",{id:"paint0_linear_15_1338",x1:"347",y1:"519",x2:"691",y2:"519",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#742144"}),(0,n.jsx)("stop",{offset:"0.5",stopOpacity:"0"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#742144"})]})]})]}),9===e&&(0,n.jsx)(s,{}),8===e&&(0,n.jsx)(s,{}),7===e&&(0,n.jsx)(s,{}),6===e&&(0,n.jsx)(s,{}),5===e&&(0,n.jsx)(s,{}),4===e&&(0,n.jsx)(s,{}),3===e&&(0,n.jsx)(s,{}),2===e&&(0,n.jsx)(s,{}),1===e&&(0,n.jsx)(s,{}),0===e&&(0,n.jsx)(s,{}),(0,n.jsx)("div",{className:"absolute z-20",children:(0,n.jsx)("p",{className:"text-[128px] leading-[90px] font-bold text-white",children:e<10?"0".concat(e):e})}),(0,n.jsx)("p",{className:"text-white absolute z-30 bottom-[16%] text-[22px] leading-[30px]",children:"Please wait while we check your eligibility for Fast Forward Mode"})]})}},17430:function(t,e,i){"use strict";var n=i(85893);i(67294),e.Z=()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"absolute bottom-0 left-0 z-0 hidden md:block",children:(0,n.jsxs)("svg",{width:"611",height:"631",viewBox:"0 0 611 631",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("g",{filter:"url(#filter0_b_205_791)",children:(0,n.jsx)("path",{d:"M74.1743 123.869C3.172 177.407 -11.3579 278.646 41.7208 349.993C94.7995 421.339 195.387 435.776 266.389 382.237L269.344 380.01C340.358 326.462 354.89 225.207 301.803 153.848C248.733 82.5135 148.162 68.0796 77.1713 121.609L74.1743 123.869Z",fill:"url(#paint0_linear_205_791)"})}),(0,n.jsx)("g",{filter:"url(#filter1_b_205_791)",children:(0,n.jsx)("path",{d:"M299.65 424.861C161.222 249.829 -93.2438 219.704 -268.715 357.574L158.117 897.272L475.836 647.636L299.65 424.861Z",fill:"url(#paint1_linear_205_791)",fillOpacity:"0.41"})}),(0,n.jsxs)("defs",{children:[(0,n.jsxs)("filter",{id:"filter0_b_205_791",x:"-168.045",y:"-88.9724",width:"679.628",height:"681.807",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,n.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,n.jsx)("feGaussianBlur",{in:"BackgroundImageFix",stdDeviation:"56.829"}),(0,n.jsx)("feComposite",{in2:"SourceAlpha",operator:"in",result:"effect1_backgroundBlur_205_791"}),(0,n.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_backgroundBlur_205_791",result:"shape"})]}),(0,n.jsxs)("filter",{id:"filter1_b_205_791",x:"-355.177",y:"21.4751",width:"917.476",height:"962.26",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,n.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,n.jsx)("feGaussianBlur",{in:"BackgroundImageFix",stdDeviation:"43.2312"}),(0,n.jsx)("feComposite",{in2:"SourceAlpha",operator:"in",result:"effect1_backgroundBlur_205_791"}),(0,n.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_backgroundBlur_205_791",result:"shape"})]}),(0,n.jsxs)("linearGradient",{id:"paint0_linear_205_791",x1:"124.378",y1:"419.283",x2:"202.037",y2:"40.7433",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#70771A"}),(0,n.jsx)("stop",{offset:"1",stopOpacity:"0.02"})]}),(0,n.jsxs)("linearGradient",{id:"paint1_linear_205_791",x1:"-180.837",y1:"355.576",x2:"423.244",y2:"308.094",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#7F7946"}),(0,n.jsx)("stop",{offset:"1",stopOpacity:"0.02"})]})]})]})}),(0,n.jsx)("div",{className:"absolute bottom-0 right-0 z-0 hidden md:block",children:(0,n.jsxs)("svg",{width:"273",height:"564",viewBox:"0 0 273 564",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("g",{filter:"url
1(#filter0_b_205_794)",children:(0,n.jsx)("path",{d:"M113.541 1.83734C176.024 0.822606 227.498 50.652 228.513 113.134L229.264 159.351C230.278 221.823 180.457 273.289 117.985 274.304C55.513 275.318 4.04689 225.497 3.03233 163.025L2.28115 116.771C1.26675 54.3093 51.0797 2.85174 113.541 1.83734Z",fill:"url(#paint0_linear_205_794)"})}),(0,n.jsx)("g",{filter:"url(#filter1_b_205_794)",children:(0,n.jsx)("path",{d:"M1.6116 402.07C3.29311 191.777 175.132 22.6639 385.425 24.3454L380.769 606.62L0.000346011 603.575L1.6116 402.07Z",fill:"url(#paint1_linear_205_794)",fillOpacity:"0.41"})}),(0,n.jsxs)("defs",{children:[(0,n.jsxs)("filter",{id:"filter0_b_205_794",x:"-113.213",y:"-113.658",width:"457.972",height:"503.457",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,n.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,n.jsx)("feGaussianBlur",{in:"BackgroundImageFix",stdDeviation:"56.829"}),(0,n.jsx)("feComposite",{in2:"SourceAlpha",operator:"in",result:"effect1_backgroundBlur_205_794"}),(0,n.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_backgroundBlur_205_794",result:"shape"})]}),(0,n.jsxs)("filter",{id:"filter1_b_205_794",x:"-86.4624",y:"-65.1616",width:"558.351",height:"758.244",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,n.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,n.jsx)("feGaussianBlur",{in:"BackgroundImageFix",stdDeviation:"43.2312"}),(0,n.jsx)("feComposite",{in2:"SourceAlpha",operator:"in",result:"effect1_backgroundBlur_205_794"}),(0,n.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_backgroundBlur_205_794",result:"shape"})]}),(0,n.jsxs)("linearGradient",{id:"paint0_linear_205_794",x1:"212.998",y1:"225.432",x2:"-23.4219",y2:"58.9768",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#70771A"}),(0,n.jsx)("stop",{offset:"1",stopOpacity:"0.02"})]}),(0,n.jsxs)("linearGradient",{id:"paint1_linear_205_794",x1:"318.945",y1:"68.4312",x2:"-124.796",y2:"393.613",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#5B7F46"}),(0,n.jsx)("stop",{offset:"1",stopOpacity:"0.02"})]})]})]})})]})},5985:function(t,e,i){"use strict";var n=i(85893);i(67294),e.Z=()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"absolute bottom-0 left-0 z-0 hidden md:block",children:(0,n.jsxs)("svg",{width:"611",height:"631",viewBox:"0 0 611 631",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("g",{filter:"url(#filter0_b_205_791)",children:(0,n.jsx)("path",{d:"M74.1743 123.869C3.172 177.407 -11.3579 278.646 41.7208 349.993C94.7995 421.339 195.387 435.776 266.389 382.237L269.344 380.01C340.358 326.462 354.89 225.207 301.803 153.848C248.733 82.5135 148.162 68.0796 77.1713 121.609L74.1743 123.869Z",fill:"url(#paint0_linear_205_791)"})}),(0,n.jsx)("g",{filter:"url(#filter1_b_205_791)",children:(0,n.jsx)("path",{d:"M299.65 424.861C161.222 249.829 -93.2438 219.704 -268.715 357.574L158.117 897.272L475.836 647.636L299.65 424.861Z",fill:"url(#paint1_linear_205_791)",fillOpacity:"0.41"})}),(0,n.jsxs)("defs",{children:[(0,n.jsxs)("filter",{id:"filter0_b_205_791",x:"-168.045",y:"-88.9724",width:"679.628",height:"681.807",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,n.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,n.jsx)("feGaussianBlur",{in:"BackgroundImageFix",stdDeviation:"56.829"}),(0,n.jsx)("feComposite",{in2:"SourceAlpha",operator:"in",result:"effect1_backgroundBlur_205_791"}),(0,n.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_backgroundBlur_205_791",result:"shape"})]}),(0,n.jsxs)("filter",{id:"filter1_b_205_791",x:"-355.177",y:"21.4751",width:"917.476",height:"962.26",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,n.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,n.jsx)("feGaussianBlur",{in:"BackgroundImageFix",stdDeviation:"43.2312"}),(0,n.jsx)("feComposite",{in2:"SourceAlpha",operator:"in",result:"effect1_backgroundBlur_205_791"}),(0,n.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_backgroundBlur_205_791",result:"shape"})]}),(0,n.jsxs)("linearGradient",{id:"paint0_linear_205_791",x1:"124.378",y1:"419.283",x2:"202.037",y2:"40.7433",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#70771A"}),(0,n.jsx)("stop",{offset:"1",stopOpacity:"0.02"})]}),(0,n.jsxs)("linearGradient",{id:"paint1_linear_205_791",x1:"-180.837",y1:"355.576",x2:"423.244",y2:"308.094",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#7F7946"}),(0,n.jsx)("stop",{offset:"1",stopOpacity:"0.02"})]})]})]})}),(0,n.jsx)("div",{className:"absolute bottom-0 right-0 z-0 hidden md:block",children:(0,n.jsxs)("svg",{width:"273",height:"564",viewBox:"0 0 273 564",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("g",{filter:"url
1(#filter0_b_205_794)",children:(0,n.jsx)("path",{d:"M113.541 1.83734C176.024 0.822606 227.498 50.652 228.513 113.134L229.264 159.351C230.278 221.823 180.457 273.289 117.985 274.304C55.513 275.318 4.04689 225.497 3.03233 163.025L2.28115 116.771C1.26675 54.3093 51.0797 2.85174 113.541 1.83734Z",fill:"url(#paint0_linear_205_794)"})}),(0,n.jsx)("g",{filter:"url(#filter1_b_205_794)",children:(0,n.jsx)("path",{d:"M1.6116 402.07C3.29311 191.777 175.132 22.6639 385.425 24.3454L380.769 606.62L0.000346011 603.575L1.6116 402.07Z",fill:"url(#paint1_linear_205_794)",fillOpacity:"0.41"})}),(0,n.jsxs)("defs",{children:[(0,n.jsxs)("filter",{id:"filter0_b_205_794",x:"-113.213",y:"-113.658",width:"457.972",height:"503.457",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,n.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,n.jsx)("feGaussianBlur",{in:"BackgroundImageFix",stdDeviation:"56.829"}),(0,n.jsx)("feComposite",{in2:"SourceAlpha",operator:"in",result:"effect1_backgroundBlur_205_794"}),(0,n.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_backgroundBlur_205_794",result:"shape"})]}),(0,n.jsxs)("filter",{id:"filter1_b_205_794",x:"-86.4624",y:"-65.1616",width:"558.351",height:"758.244",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,n.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,n.jsx)("feGaussianBlur",{in:"BackgroundImageFix",stdDeviation:"43.2312"}),(0,n.jsx)("feComposite",{in2:"SourceAlpha",operator:"in",result:"effect1_backgroundBlur_205_794"}),(0,n.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_backgroundBlur_205_794",result:"shape"})]}),(0,n.jsxs)("linearGradient",{id:"paint0_linear_205_794",x1:"212.998",y1:"225.432",x2:"-23.4219",y2:"58.9768",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#70771A"}),(0,n.jsx)("stop",{offset:"1",stopOpacity:"0.02"})]}),(0,n.jsxs)("linearGradient",{id:"paint1_linear_205_794",x1:"318.945",y1:"68.4312",x2:"-124.796",y2:"393.613",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#5B7F46"}),(0,n.jsx)("stop",{offset:"1",stopOpacity:"0.02"})]})]})]})})]})},64076:function(t,e,i){"use strict";i.d(e,{Z:function(){return o}});var n=i(85893),r=i(33821);i(67294);var s=()=>(0,n.jsxs)(r.E.svg,{initial:{opacity:0}
1,animate:{opacity:1},transition:{duration:1},exit:{opacity:0},className:"absolute z-0",width:"310",height:"9",viewBox:"0 0 352 9",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{d:"M4.31885 4.40112H350.605",stroke:"url(#paint0_linear_48_1292)",strokeWidth:"2",strokeLinecap:"round"}),(0,n.jsx)(r.E.g,{initial:{opacity:.3,x:1e3},animate:{opacity:1,x:0},transition:{duration:1},exit:{opacity:.3},filter:"url(#filter0_b_48_1292)",children:(0,n.jsx)("path",{d:"M0 4.27164C0 3.7035 0.416802 3.22138 0.978972 3.13925L17.6557 0.702796C19.8948 0.375653 21.9029 2.11166 21.9029 4.37461C21.9029 6.65566 19.8643 8.39668 17.6113 8.03968L0.965303 5.40195C0.409343 5.31385 0 4.83454 0 4.27164Z",fill:"url(#paint1_linear_48_1292)"})}),(0,n.jsxs)("defs",{children:[(0,n.jsxs)("filter",{id:"filter0_b_48_1292",x:"-4",y:"-3.33691",width:"29.9028",height:"15.4231",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,n.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,n.jsx)("feGaussianBlur",{in:"BackgroundImageFix",stdDeviation:"2"}),(0,n.jsx)("feComposite",{in2:"SourceAlpha",operator:"in",result:"effect1_backgroundBlur_48_1292"}),(0,n.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_backgroundBlur_48_1292",result:"shape"})]}),(0,n.jsxs)("linearGradient",{id:"paint0_linear_48_1292",x1:"-15.0551",y1:"4.40112",x2:"348.607",y2:"4.40112",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#262634",stopOpacity:"0"}),(0,n.jsx)("stop",{offset:"0.0681329",stopColor:"#262634"}),(0,n.jsx)("stop",{offset:"0.932275",stopColor:"#262634"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#262634",stopOpacity:"0"})]}),(0,n.jsxs)("linearGradient",{id:"paint1_linear_48_1292",x1:"19.1661",y1:"7.31561",x2:"-3.70886",y2:"6.31011",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#A63762"}),(0,n.jsx)("stop",{offset:"0.34375",stopColor:"#A63E37",stopOpacity:"0.69"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#A63762",stopOpacity:"0"})]})]})]}),o=t=>{let{timer:e}=t;return(0,n.jsxs)("div",{className:"relative flex justify-center items-center md:hidden w-full",children:[(0,n.jsxs)("svg",{className:"relative z-10",width:"390",height:"709",viewBox:"0 0 390 729",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsxs)("g",{filter:"url(#filter0_i_18_1481)",children:[(0,n.jsx)("path",{d:"M338 104H52C27.6995 104 8 123.699 8 148V665C8 689.301 27.6995 709 52 709H338C362.301 709 382 689.301 382 665V148C382 123.699 362.301 104 338 104Z",fill:"url(#paint0_linear_18_1481)"}),(0,n.jsx)("path",{d:"M338 104.5H52C27.9756 104.5 8.5 123.976 8.5 148V665C8.5 689.024 27.9756 708.5 52 708.5H338C362.024 708.5 381.5 689.024 381.5 665V148C381.5 123.976 362.024 104.5 338 104.5Z",stroke:"url(#paint1_linear_18_1481)"})]}),(0,n.jsx)(r.E.g,{initial:{scale:1},animate:{scale:[1.1,1,1.1,1]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},opacity:"0.03",children:(0,n.jsx)("path",{d:"M191.53 433.59C229.344 433.59 259.997 402.936 259.997 365.123C259.997 327.31 229.344 296.656 191.53 296.656C153.717 296.656 123.063 327.31 123.063 365.123C123.063 402.936 153.717 433.59 191.53 433.59Z",fill:"#D9D9D9"})}),(0,n.jsx)(r.E.g,{initial:{scale:1},animate:{scale:[1.1,1,1.1,1]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},opacity:"0.03",children:(0,n.jsx)("path",{d:"M191.53 427.701C226.09 427.701 254.107 399.684 254.107 365.124C254.107 330.564 226.09 302.547 191.53 302.547C156.97 302.547 128.953 330.564 128.953 365.124C128.953 399.684 156.97 427.701 191.53 427.701Z",fill:"#D9D9D9"})}),(0,n.jsx)(r.E.g,{initial:{scale:1},animate:{scale:[1.1,1,1.1,1]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},opacity:"0.29",filter:"url(#filter1_f_18_1481)",children:(0,n.jsx)("path",{d:"M191.529 291H191.529C150.592 291 117.406 324.186 117.406 365.123V365.124C117.406 406.061 150.592 439.247 191.529 439.247H191.529C232.467 439.247 265.653 406.061 265.653 365.124V365.123C265.653 324.186 232.467 291 191.529 291Z",fill:"#893D5D"})}),(0,n.jsx)("mask",{id:"mask0_18_1481",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"135",y:"309",width:"113",height:"113",children:(0,n.jsx)("path",{d:"M247.447 365.124C247.447 334.241 222.412 309.206 191.529 309.206C160.647 309.206 135.612 334.241 135.612 365.124C135.612 396.006 160.647 421.041 191.529 421.041C222.412 421.041 247.447 396.006 247.447 365.124Z",fill:"white"})}),(0,n.jsx)("g",{mask:"url(#mask0_18_1481)",children:(0,n.jsx)("path",{d:"M247.447 365.124C247.447 334.241 222.412 309.206 191.529 309.206C160.647 309.206 135.612 334.241 135.612 365.124C135.612 396.006 160.647 421.041 191.529 421.041C222.412 421.041 247.447 396.006 247.447 365.124Z",fill:"#08080F"})}
1),(0,n.jsx)("path",{d:"M245.947 365.124C245.947 335.07 221.583 310.706 191.529 310.706C161.475 310.706 137.112 335.07 137.112 365.124C137.112 395.178 161.475 419.541 191.529 419.541C221.583 419.541 245.947 395.178 245.947 365.124Z",stroke:"url(#paint2_linear_18_1481)",strokeWidth:"3"}),(0,n.jsxs)("defs",{children:[(0,n.jsxs)("filter",{id:"filter0_i_18_1481",x:"8",y:"104",width:"374",height:"619",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,n.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,n.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,n.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,n.jsx)("feOffset",{dy:"14"}),(0,n.jsx)("feGaussianBlur",{stdDeviation:"20.5"}),(0,n.jsx)("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),(0,n.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0"}),(0,n.jsx)("feBlend",{mode:"normal",in2:"shape",result:"effect1_innerShadow_18_1481"})]}),(0,n.jsxs)("filter",{id:"filter1_f_18_1481",x:"-173.594",y:"0",width:"730.247",height:"730.247",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,n.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,n.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,n.jsx)("feGaussianBlur",{stdDeviation:"145.5",result:"effect1_foregroundBlur_18_1481"})]}),(0,n.jsxs)("linearGradient",{id:"paint0_linear_18_1481",x1:"189.991",y1:"64.2103",x2:"211.857",y2:"708.556",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#141429"}),(0,n.jsx)("stop",{offset:"1",stopOpacity:"0"})]}),(0,n.jsxs)("linearGradient",{id:"paint1_linear_18_1481",x1:"195",y1:"104",x2:"195",y2:"709",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#778ABD"}),(0,n.jsx)("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),(0,n.jsxs)("linearGradient",{id:"paint2_linear_18_1481",x1:"135.612",y1:"365.123",x2:"247.448",y2:"365.123",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#742144"}),(0,n.jsx)("stop",{offset:"0.5",stopOpacity:"0"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#742144"})]})]})]}),9===e&&(0,n.jsx)(s,{}),8===e&&(0,n.jsx)(s,{}),7===e&&(0,n.jsx)(s,{}),6===e&&(0,n.jsx)(s,{}),5===e&&(0,n.jsx)(s,{}),4===e&&(0,n.jsx)(s,{}),3===e&&(0,n.jsx)(s,{}),2===e&&(0,n.jsx)(s,{}),1===e&&(0,n.jsx)(s,{}),0===e&&(0,n.jsx)(s,{}),(0,n.jsx)("div",{className:"absolute z-30",children:(0,n.jsx)("p",{className:"text-[55px] leading-[90px] font-bold text-white",children:e<10?"0".concat(e):e})}),(0,n.jsx)("p",{className:"text-white absolute bottom-[32%] text-[12px] leading-[22px] text-center px-10",children:"Please wait while we check your eligibility for Fast Forward Mode"})]})}},80619:function(t,e,i){"use strict";i.d(e,{D:function(){return o}});var n=i(33234),r=i(40406),s=i(97908);function o(t,e,i){let o=(0,r.i)(t)?t:(0,n.BX)(t);return o.start((0,s.v)("",o,e,i)),o.animation}},6225:function(t,e,i){"use strict";i.d(e,{S:function(){return p}});var n=i(62777),r=i(14400),s=i(24169),o=i(25753);let a={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};var l=i(25386);function u(t,e){return t*Math.sqrt(1-e*e)}let h=["duration","bounce"],c=["stiffness","damping","mass"];function d(t,e){return e.some(e=>void 0!==t[e])}function p(t=a.visualDuration,e=a.bounce){let i;let p="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:f,restDelta:m}=p,v=p.keyframes[0],g=p.keyframes[p.keyframes.length-1],y={done:!1,value:v},{stiffness:x,damping:w,mass:j,duration:b,velocity:P,isResolvedFromDuration:S}=function(t){let e={velocity:a.velocity,stiffness:a.stiffness,damping:a.damping,mass:a.mass,isResolvedFromDuration:!1,...t};
1if(!d(t,c)&&d(t,h)){if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),n=i*i,r=2*(0,s.u)(.05,1,1-(t.bounce||0))*Math.sqrt(n);e={...e,mass:a.mass,stiffness:n,damping:r}}else{let i=function({duration:t=a.duration,bounce:e=a.bounce,velocity:i=a.velocity,mass:n=a.mass}){let o,h;(0,l.K)(t<=(0,r.w)(a.maxDuration),"Spring duration must be 10 seconds or less");let c=1-e;c=(0,s.u)(a.minDamping,a.maxDamping,c),t=(0,s.u)(a.minDuration,a.maxDuration,(0,r.X)(t)),c<1?(o=e=>{let n=e*c,r=n*t;return .001-(n-i)/u(e,c)*Math.exp(-r)},h=e=>{let n=e*c*t,r=Math.pow(c,2)*Math.pow(e,2)*t,s=u(Math.pow(e,2),c);return(n*i+i-r)*Math.exp(-n)*(-o(e)+.001>0?-1:1)/s}):(o=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),h=e=>t*t*(i-e)*Math.exp(-e*t));let d=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(o,h,5/t);if(t=(0,r.w)(t),isNaN(d))return{stiffness:a.stiffness,damping:a.damping,duration:t};{let e=Math.pow(d,2)*n;return{stiffness:e,damping:2*c*Math.sqrt(n*e),duration:t}}}(t);(e={...e,...i,mass:a.mass}).isResolvedFromDuration=!0}}return e}({...p,velocity:-(0,r.X)(p.velocity||0)}),T=P||0,_=w/(2*Math.sqrt(x*j)),C=g-v,A=(0,r.X)(Math.sqrt(x/j)),D=5>Math.abs(C);if(f||(f=D?a.restSpeed.granular:a.restSpeed.default),m||(m=D?a.restDelta.granular:a.restDelta.default),_<1){let t=u(A,_);i=e=>g-Math.exp(-_*A*e)*((T+_*A*C)/t*Math.sin(t*e)+C*Math.cos(t*e))}else if(1===_)i=t=>g-Math.exp(-A*t)*(C+(T+A*C)*t);else{let t=A*Math.sqrt(_*_-1);i=e=>{let i=Math.exp(-_*A*e),n=Math.min(t*e,300);return g-i*((T+_*A*C)*Math.sinh(n)+t*C*Math.cosh(n))/t}}let k={calculatedDuration:S&&b||null,next:t=>{let e=i(t);if(S)y.done=t>=b;else{let n=0;_<1&&(n=0===t?(0,r.w)(T):(0,o.P)(i,t,e));let s=Math.abs(n)<=f,a=Math.abs(g-e)<=m;y.done=s&&a}return y.value=y.done?g:e,y},toString:()=>{let t=Math.min((0,n.iI)(k),n.EO),e=(0,n.wk)(e=>k.next(t*e).value,t,30);return t+"ms "+e}};return k}},25753:function(t,e,i){"use strict";i.d(e,{P:function(){return r}});var n=i(3038);function r(t,e,i){let r=Math.max(e-5,0);return(0,n.R)(i-t(r),e-r)}},97908:function(t,e,i){"use strict";i.d(e,{v:function(){return ti}});var n=i(62777),r=i(14400),s=i(26166),o=i(22081);let a={current:!1};var l=i(27726);let u=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function h(t,e,i,n){if(t===e&&i===n)return l.Z;let r=e=>(function(t,e,i,n,r){let s,o;let a=0;do(s=u(o=e+(i-e)/2,n,r)-t)>0?i=o:e=o;while(Math.abs(s)>1e-7&&++a<12);return o})(e,0,1,t,i);return t=>0===t||1===t?t:u(r(t),e,n)}var c=i(90415),d=i(75129);let p=h(.33,1.53,.69,.99),f=(0,d.M)(p),m=(0,c.o)(f),v=t=>(t*=2)<1?.5*f(t):.5*(2-Math.pow(2,-10*(t-1)));var g=i(27255),y=i(20204),x=i(1117),w=i(41568),j=i(25386),b=i(56737);let P=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(b.P.test(t)||"0"===t)&&!t.startsWith("url(")),S=t=>null!==t;function T(t,{repeat:e,repeatType:i="loop"},n){let r=t.filter(S),s=e&&"loop"!==i&&e%2==1?0:r.length-1;return s&&void 0!==n?n:r[s]}class _{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:s="loop",...o}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=x.X.now(),this.options={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:r,repeatType:s,...o},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(0,w.m)(),this._resolved}onKeyframesResolved(t,e){this.resolvedAt=x.X.now(),this.hasAttemptedResolve=!0;let{name:i,type:r,velocity:s,delay:o,onComplete:l,onUpdate:u,isGenerator:h}=this.options;if(!h&&!function(t,e,i,r){let s=t[0];if(null===s)return!1;if("display"===e||"visibility"===e)return!0;let o=t[t.length-1],a=P(s,e),l=P(o,e);return(0,j.K)(a===l,`You are trying to animate ${e} from "${s}" to "${o}". ${s} is not an animatable value - to enable this animation set ${s} to a value animatable to ${o} via the \`style\` property.`),!!a&&!!l&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||(0,n.xD)(i))&&r)}(t,i,r,s)){if(a.current||!o){u&&u(T(t,this.options,e)),l&&l(),this.resolveFinishedProm
1ise();return}this.options.duration=0}let c=this.initPlayback(t,e);!1!==c&&(this._resolved={keyframes:t,finalKeyframe:e,...c},this.onPostResolved())}onPostResolved(){}then(t,e){return this.currentFinishedPromise.then(t,e)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}var C=i(24169),A=i(79976),D=i(83624),k=i(6225),B=i(25753);function M({keyframes:t,velocity:e=0,power:i=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){let c,d;let p=t[0],f={done:!1,value:p},m=t=>void 0!==a&&t<a||void 0!==l&&t>l,v=t=>void 0===a?l:void 0===l?a:Math.abs(a-t)<Math.abs(l-t)?a:l,g=i*e,y=p+g,x=void 0===o?y:o(y);x!==y&&(g=x-p);let w=t=>-g*Math.exp(-t/n),j=t=>x+w(t),b=t=>{let e=w(t),i=j(t);f.done=Math.abs(e)<=u,f.value=f.done?x:i},P=t=>{m(f.value)&&(c=t,d=(0,k.S)({keyframes:[f.value,v(f.value)],velocity:(0,B.P)(j,t,f.value),damping:r,stiffness:s,restDelta:u,restSpeed:h}))};return P(0),{calculatedDuration:null,next:t=>{let e=!1;return(d||void 0!==c||(e=!0,b(t),P(t)),void 0!==c&&t>=c)?d.next(t-c):(e||b(t),f)}}}let E=h(.42,0,1,1),V=h(0,0,.58,1),F=h(.42,0,.58,1);var O=i(43338);let R={linear:l.Z,easeIn:E,easeInOut:F,easeOut:V,circIn:g.Z7,circInOut:g.X7,circOut:g.Bn,backIn:f,backInOut:m,backOut:p,anticipate:v},L=t=>{if((0,n.qE)(t)){(0,j.k)(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,i,n,r]=t;return h(e,i,n,r)}return"string"==typeof t?((0,j.k)(void 0!==R[t],`Invalid easing type '${t}'`),R[t]):t};var U=i(71884),I=i(60599);function N({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){let r=(0,O.N)(n)?n.map(L):L(n),s={done:!1,value:e[0]},o=(i&&i.length===e.length?i:(0,I.Y)(e)).map(e=>e*t),a=(0,U.s)(o,e,{ease:Array.isArray(r)?r:e.map(()=>r||F).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(s.value=a(e),s.done=e>=t,s)}}let $=t=>{let e=({timestamp:e})=>t(e);return{start:()=>s.Wi.update(e,!0),stop:()=>(0,s.Pn)(e),now:()=>s.frameData.isProcessing?s.frameData.timestamp:x.X.now()}},G={decay:M,inertia:M,tween:N,keyframes:N,spring:k.S},W=t=>t/100;class X extends _{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:t}=this.options;t&&t()};let{name:e,motionValue:i,element:n,keyframes:r}=this.options,s=(null==n?void 0:n.KeyframeResolver)||w.e;this.resolver=new s(r,(t,e)=>this.onKeyframesResolved(t,e),e,i,n),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){let e,i;let{type:r="keyframes",repeat:s=0,repeatDelay:o=0,repeatType:a,velocity:l=0}=this.options,u=(0,n.xD)(r)?r:G[r]||N;u!==N&&"number"!=typeof t[0]&&(e=(0,D.z)(W,(0,A.C)(t[0],t[1])),t=[0,100]);let h=u({...this.options,keyframes:t});"mirror"===a&&(i=u({...this.options,keyframes:[...t].reverse(),velocity:-l})),null===h.calculatedDuration&&(h.calculatedDuration=(0,n.iI)(h));let{calculatedDuration:c}=h,d=c+o;return{generator:h,mirroredGenerator:i,mapPercentToKeyframes:e,calculatedDuration:c,resolvedDuration:d,totalDuration:d*(s+1)-o}}onPostResolved(){let{autoplay:t=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&t?this.state=this.pendingPlayState:this.pause()}tick(t,e=!1){let{resolved:i}=this;if(!i){let{keyframes:t}=this.options;return{done:!0,value:t[t.length-1]}}let{finalKeyframe:n,generator:r,mirroredGenerator:s,mapPercentToKeyframes:o,keyframes:a,calculatedDuration:l,totalDuration:u,resolvedDuration:h}=i;if(null===this.startTime)return r.next(0);let{delay:c,repeat:d,repeatType:p,repeatDelay:f,onUpdate:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-u/this.speed,this.startTime)),e?this.currentTime=t:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;let v=this.currentTime-c*(this.speed>=0?1:-1),g=this.speed>=0?v<0:v>u;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let y=this.currentTime,x=r;if(d){let t=Math.min(this.currentTime,u)/h,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,d+1))%2&&("reverse"===p?(i=1-i,f&&(i-=f/h)):"mirror"===p&&(x=s)),y=(0,C.u)(0,1,i)*h}let w=g?{done:!1,value:a[0]}:x.next(y);o&&(w.value=o(w.value));let{done:j}=w;g||null===l||(j=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let b=null===this.holdTime&&("finished"===this.state||"running"===this.state&&j);return b&&void 0!==n&&(w.value=T(a,this.options,n)),m&&m(w.value),b&&this.finish(),w}get duration(){let{resolved:t}=this;return t?(0,r.X)(t.calculatedDuration):0}
1get time(){return(0,r.X)(this.currentTime)}set time(t){t=(0,r.w)(t),this.currentTime=t,null!==this.holdTime||0===this.speed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=(0,r.X)(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=$,onPlay:e,startTime:i}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),e&&e();let n=this.driver.now();null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=n):this.startTime=null!=i?i:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!==(t=this.currentTime)&&void 0!==t?t:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:t}=this.options;t&&t()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}let z=new Set(["opacity","clipPath","filter","transform"]),Z=(0,i(70942).X)(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),K={anticipate:v,backInOut:m,circInOut:g.X7};class Y extends _{constructor(t){super(t);let{name:e,motionValue:i,element:n,keyframes:r}=this.options;this.resolver=new y.s(r,(t,e)=>this.onKeyframesResolved(t,e),e,i,n),this.resolver.scheduleResolve()}initPlayback(t,e){var i;let{duration:r=300,times:s,ease:o,type:a,motionValue:l,name:u,startTime:h}=this.options;if(!l.owner||!l.owner.current)return!1;if("string"==typeof o&&(0,n.Vc)()&&o in K&&(o=K[o]),i=this.options,(0,n.xD)(i.type)||"spring"===i.type||!(0,n.hR)(i.ease)){let{onComplete:e,onUpdate:i,motionValue:n,element:l,...u}=this.options,h=function(t,e){let i=new X({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0}),n={done:!1,value:t[0]},r=[],s=0;for(;!n.done&&s<2e4;)r.push((n=i.sample(s)).value),s+=10;return{times:void 0,keyframes:r,duration:s-10,ease:"linear"}}(t,u);1===(t=h.keyframes).length&&(t[1]=t[0]),r=h.duration,s=h.times,o=h.ease,a="keyframes"}let c=function(t,e,i,{delay:r=0,duration:s=300,repeat:o=0,repeatType:a="loop",ease:l="easeInOut",times:u}={}){let h={[e]:i};u&&(h.offset=u);let c=(0,n.eB)(l,s);return Array.isArray(c)&&(h.easing=c),t.animate(h,{delay:r,duration:s,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:"reverse"===a?"alternate":"normal"})}(l.owner.current,u,t,{...this.options,duration:r,times:s,ease:o});return c.startTime=null!=h?h:this.calcStartTime(),this.pendingTimeline?((0,n._F)(c,this.pendingTimeline),this.pendingTimeline=void 0):c.onfinish=()=>{let{onComplete:i}=this.options;l.set(T(t,this.options,e)),i&&i(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:r,times:s,type:a,ease:o,keyframes:t}}get duration(){let{resolved:t}=this;if(!t)return 0;let{duration:e}=t;return(0,r.X)(e)}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:e}=t;return(0,r.X)(e.currentTime||0)}set time(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.currentTime=(0,r.w)(t)}get speed(){let{resolved:t}=this;if(!t)return 1;let{animation:e}=t;return e.playbackRate}set speed(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.playbackRate=t}get state(){let{resolved:t}=this;if(!t)return"idle";let{animation:e}=t;return e.playState}get startTime(){let{resolved:t}=this;if(!t)return null;let{animation:e}=t;return e.startTime}attachTimeline(t){if(this._resolved){let{resolved:e}=this;if(!e)return l.Z;let{animation:i}=e;(0,n._F)(i,t)}else this.pendingTimeline=t;return l.Z}play(){if(this.isStopped)return;let{resolved:t}=this;if(!t)return;let{animation:e}=t;
1"finished"===e.playState&&this.updateFinishedPromise(),e.play()}pause(){let{resolved:t}=this;if(!t)return;let{animation:e}=t;e.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:t}=this;if(!t)return;let{animation:e,keyframes:i,duration:n,type:s,ease:o,times:a}=t;if("idle"===e.playState||"finished"===e.playState)return;if(this.time){let{motionValue:t,onUpdate:e,onComplete:l,element:u,...h}=this.options,c=new X({...h,keyframes:i,duration:n,type:s,ease:o,times:a,isGenerator:!0}),d=(0,r.w)(this.time);t.setWithVelocity(c.sample(d-10).value,c.sample(d).value,10)}let{onStop:l}=this.options;l&&l(),this.cancel()}complete(){let{resolved:t}=this;t&&t.animation.finish()}cancel(){let{resolved:t}=this;t&&t.animation.cancel()}static supports(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:r,damping:s,type:o}=t;if(!e||!e.owner||!(e.owner.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:l}=e.owner.getProps();return Z()&&i&&z.has(i)&&!a&&!l&&!n&&"mirror"!==r&&0!==s&&"inertia"!==o}}var H=i(27598);let q={type:"spring",stiffness:500,damping:25,restSpeed:10},J=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),Q={type:"keyframes",duration:.8},tt={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},te=(t,{keyframes:e})=>e.length>2?Q:H.G.has(t)?t.startsWith("scale")?J(e[1]):q:tt,ti=(t,e,i,l={},u,h)=>c=>{let d=(0,n.ev)(l,t)||{},p=d.delay||l.delay||0,{elapsed:f=0}=l;f-=(0,r.w)(p);let m={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...d,delay:-f,onUpdate:t=>{e.set(t),d.onUpdate&&d.onUpdate(t)},onComplete:()=>{c(),d.onComplete&&d.onComplete()},name:t,motionValue:e,element:h?void 0:u};!function({when:t,delay:e,delayChildren:i,staggerChildren:n,staggerDirection:r,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(d)&&(m={...m,...te(t,m)}),m.duration&&(m.duration=(0,r.w)(m.duration)),m.repeatDelay&&(m.repeatDelay=(0,r.w)(m.repeatDelay)),void 0!==m.from&&(m.keyframes[0]=m.from);let v=!1;if(!1!==m.type&&(0!==m.duration||m.repeatDelay)||(m.duration=0,0!==m.delay||(v=!0)),(a.current||o.c.skipAnimations)&&(v=!0,m.duration=0,m.delay=0),v&&!h&&void 0!==e.get()){let t=T(m.keyframes,d);if(void 0!==t)return s.Wi.update(()=>{m.onUpdate(t),m.onComplete()}),new n.sP([])}return!h&&Y.supports(m)?new Y(m):new X(m)}},62711:function(t,e,i){"use strict";i.d(e,{w:function(){return h}});var n=i(62777),r=i(83845),s=i(66803),o=i(30607),a=i(93785),l=i(97908),u=i(26166);function h(t,e,{delay:i=0,transitionOverride:h,type:c}={}){var d;let{transition:p=t.getDefaultTransition(),transitionEnd:f,...m}=e;h&&(p=h);let v=[],g=c&&t.animationState&&t.animationState.getState()[c];for(let e in m){let s=t.getValue(e,null!==(d=t.latestValues[e])&&void 0!==d?d:null),h=m[e];if(void 0===h||g&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(g,e))continue;let c={delay:i,...(0,n.ev)(p||{},e)},f=!1;if(window.MotionHandoffAnimation){let i=(0,a.s)(t);if(i){let t=window.MotionHandoffAnimation(i,e,u.Wi);null!==t&&(c.startTime=t,f=!0)}}(0,o.K)(t,e),s.start((0,l.v)(e,s,h,t.shouldReduceMotion&&r.z.has(e)?{type:!1}:c,t,f));let y=s.animation;y&&v.push(y)}return f&&Promise.all(v).then(()=>{u.Wi.update(()=>{f&&(0,s.C)(t,f)})}),v}},96912:function(t,e,i){"use strict";i.d(e,{d:function(){return a}});var n=i(52248),r=i(62711);function s(t,e,i={}){var a;let l=(0,n.x)(t,e,"exit"===i.type?null===(a=t.presenceContext)||void 0===a?void 0:a.custom:void 0),{transition:u=t.getDefaultTransition()||{}}=l||{};i.transitionOverride&&(u=i.transitionOverride);let h=l?()=>Promise.all((0,r.w)(t,l,i)):()=>Promise.resolve(),c=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:r=0,staggerChildren:a,staggerDirection:l}=u;return function(t,e,i=0,n=0,r=1,a){let l=[],u=(t.variantChildren.size-1)*n,h=1===r?(t=0)=>t*n:(t=0)=>u-t*n;return Array.from(t.variantChildren).sort(o).forEach((t,n)=>{t.notify("AnimationStart",e),l.push(s(t,e,{...a,delay:i+h(n)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(l)}(t,e,r+n,a,l,i)}:()=>Promise.resolve(),{when:d}=u;if(!d)return Promise.all([h(),c(i.delay)]);{let[t,e]="beforeChildren"===d?[h,c]:[c,h];return t().then(()=>e())}}function o(t,e){return t.sortNodePosition(e)}function a(t,e,i={}){let o;if(t.notify("AnimationStart",e),Array.isArray(e))o=Promise.all(e.map(e=>s(t,e,i)));else if("string"==typeof e)o=s(t,e,i);else{let s="function"==typeof e?(0,n.x)(t,e,i.custom):e;
1o=Promise.all((0,r.w)(t,s,i))}return o.then(()=>{t.notify("AnimationComplete",e)})}},68588:function(t,e,i){"use strict";i.d(e,{M:function(){return n}});let n="data-"+(0,i(93193).D)("framerAppearId")},93785:function(t,e,i){"use strict";i.d(e,{s:function(){return r}});var n=i(68588);function r(t){return t.props[n.M]}},2445:function(t,e,i){"use strict";function n(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}i.d(e,{H:function(){return n}})},48488:function(t,e,i){"use strict";i.d(e,{C:function(){return n}});let n=t=>Array.isArray(t)},15947:function(t,e,i){"use strict";i.d(e,{oO:function(){return s}});var n=i(67294),r=i(240);function s(t=!0){let e=(0,n.useContext)(r.O);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:s,register:o}=e,a=(0,n.useId)();(0,n.useEffect)(()=>{t&&o(a)},[t]);let l=(0,n.useCallback)(()=>t&&s&&s(a),[a,s,t]);return!i&&s?[!1,l]:[!0]}},25364:function(t,e,i){"use strict";i.d(e,{p:function(){return n}});let n=(0,i(67294).createContext)({})},70398:function(t,e,i){"use strict";i.d(e,{u:function(){return n}});let n=(0,i(67294).createContext)({strict:!1})},240:function(t,e,i){"use strict";i.d(e,{O:function(){return n}});let n=(0,i(67294).createContext)(null)},41705:function(t,e,i){"use strict";i.d(e,{g:function(){return n}});let n=(0,i(67294).createContext)({})},27255:function(t,e,i){"use strict";i.d(e,{Bn:function(){return o},X7:function(){return a},Z7:function(){return s}});var n=i(90415),r=i(75129);let s=t=>1-Math.sin(Math.acos(t)),o=(0,r.M)(s),a=(0,n.o)(s)},90415:function(t,e,i){"use strict";i.d(e,{o:function(){return n}});let n=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},75129:function(t,e,i){"use strict";i.d(e,{M:function(){return n}});let n=t=>e=>1-t(1-e)},43338:function(t,e,i){"use strict";i.d(e,{N:function(){return n}});let n=t=>Array.isArray(t)&&"number"!=typeof t[0]},18456:function(t,e,i){"use strict";function n(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i)}i.d(e,{E:function(){return n}})},28148:function(t,e,i){"use strict";i.d(e,{Q:function(){return r},s:function(){return s}});var n=i(62777);function r(t){return{point:{x:t.pageX,y:t.pageY}}}let s=t=>e=>(0,n.DJ)(e)&&t(e,r(e))},89727:function(t,e,i){"use strict";i.d(e,{Z:function(){return s}});var n=i(22081);let r=["read","resolveKeyframes","update","preRender","render","postRender"];function s(t,e){let i=!1,s=!0,o={delta:0,timestamp:0,isProcessing:!1},a=()=>i=!0,l=r.reduce((t,e)=>(t[e]=function(t){let e=new Set,i=new Set,n=!1,r=!1,s=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function a(e){s.has(e)&&(l.schedule(e),t()),e(o)}let l={schedule:(t,r=!1,o=!1)=>{let a=o&&n?e:i;return r&&s.add(t),a.has(t)||a.add(t),t},cancel:t=>{i.delete(t),s.delete(t)},process:t=>{if(o=t,n){r=!0;return}n=!0,[e,i]=[i,e],e.forEach(a),e.clear(),n=!1,r&&(r=!1,l.process(t))}};return l}(a),t),{}),{read:u,resolveKeyframes:h,update:c,preRender:d,render:p,postRender:f}=l,m=()=>{let r=n.c.useManualTiming?o.timestamp:performance.now();i=!1,o.delta=s?1e3/60:Math.max(Math.min(r-o.timestamp,40),1),o.timestamp=r,o.isProcessing=!0,u.process(o),h.process(o),c.process(o),d.process(o),p.process(o),f.process(o),o.isProcessing=!1,i&&e&&(s=!1,t(m))},v=()=>{i=!0,s=!0,o.isProcessing||t(m)};return{schedule:r.reduce((t,e)=>{let n=l[e];return t[e]=(t,e=!1,r=!1)=>(i||v(),n.schedule(t,e,r)),t},{}),cancel:t=>{for(let e=0;e<r.length;e++)l[r[e]].cancel(t)},state:o,steps:l}}},26166:function(t,e,i){"use strict";i.d(e,{Pn:function(){return s},Wi:function(){return r},frameData:function(){return o},yL:function(){return a}});var n=i(27726);let{schedule:r,cancel:s,state:o,steps:a}=(0,i(89727).Z)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:n.Z,!0)},83582:function(t,e,i){"use strict";i.d(e,{g:function(){return n}});let{schedule:n,cancel:r}=(0,i(89727).Z)(queueMicrotask,!1)},1117:function(t,e,i){"use strict";let n;i.d(e,{X:function(){return a}});var r=i(22081),s=i(26166);function o(){n=void 0}let a={now:()=>(void 0===n&&a.set(s.frameData.isProcessing||r.c.useManualTiming?s.frameData.timestamp:performance.now()),n),set:t=>{n=t,queueMicrotask(o)}}}
1,50806:function(t,e,i){"use strict";i.d(e,{L:function(){return n}});class n{constructor(t){this.isMounted=!1,this.node=t}update(){}}},80916:function(t,e,i){"use strict";i.d(e,{s:function(){return x}});var n=i(2445),r=i(48488);function s(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;n<i;n++)if(e[n]!==t[n])return!1;return!0}var o=i(97732),a=i(52248),l=i(22963),u=i(96912);let h=l.V.length,c=[...l.e].reverse(),d=l.e.length;function p(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function f(){return{animate:p(!0),whileInView:p(),whileHover:p(),whileTap:p(),whileDrag:p(),whileFocus:p(),exit:p()}}var m=i(50806);class v extends m.L{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(0,u.d)(t,e,i))),i=f(),p=!0,m=e=>(i,n)=>{var r;let s=(0,a.x)(t,n,"exit"===e?null===(r=t.presenceContext)||void 0===r?void 0:r.custom:void 0);if(s){let{transition:t,transitionEnd:e,...n}=s;i={...i,...n,...e}}return i};function v(a){let{props:u}=t,f=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<h;t++){let n=l.V[t],r=e.props[n];((0,o.$)(r)||!1===r)&&(i[n]=r)}return i}(t.parent)||{},v=[],g=new Set,y={},x=1/0;for(let e=0;e<d;e++){var w;let l=c[e],h=i[l],d=void 0!==u[l]?u[l]:f[l],j=(0,o.$)(d),b=l===a?h.isActive:null;!1===b&&(x=e);let P=d===f[l]&&d!==u[l]&&j;if(P&&p&&t.manuallyAnimateOnMount&&(P=!1),h.protectedKeys={...y},!h.isActive&&null===b||!d&&!h.prevProp||(0,n.H)(d)||"boolean"==typeof d)continue;let S=(w=h.prevProp,"string"==typeof d?d!==w:!!Array.isArray(d)&&!s(d,w)),T=S||l===a&&h.isActive&&!P&&j||e>x&&j,_=!1,C=Array.isArray(d)?d:[d],A=C.reduce(m(l),{});!1===b&&(A={});let{prevResolvedValues:D={}}=h,k={...D,...A},B=e=>{T=!0,g.has(e)&&(_=!0,g.delete(e)),h.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in k){let e=A[t],i=D[t];if(!y.hasOwnProperty(t))((0,r.C)(e)&&(0,r.C)(i)?s(e,i):e===i)?void 0!==e&&g.has(t)?B(t):h.protectedKeys[t]=!0:null!=e?B(t):g.add(t)}h.prevProp=d,h.prevResolvedValues=A,h.isActive&&(y={...y,...A}),p&&t.blockInitialAnimation&&(T=!1);let M=!(P&&S)||_;T&&M&&v.push(...C.map(t=>({animation:t,options:{type:l}})))}if(g.size){let e={};g.forEach(i=>{let n=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=null!=n?n:null}),v.push({animation:e})}let j=!!v.length;return p&&(!1===u.initial||u.initial===u.animate)&&!t.manuallyAnimateOnMount&&(j=!1),p=!1,j?e(v):Promise.resolve()}return{animateChanges:v,setActive:function(e,n){var r;if(i[e].isActive===n)return Promise.resolve();null===(r=t.variantChildren)||void 0===r||r.forEach(t=>{var i;return null===(i=t.animationState)||void 0===i?void 0:i.setActive(e,n)}),i[e].isActive=n;let s=v(e);for(let t in i)i[t].protectedKeys={};return s},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=f(),p=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,n.H)(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),null===(t=this.unmountControls)||void 0===t||t.call(this)}}let g=0;class y extends m.L{constructor(){super(...arguments),this.id=g++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let n=this.node.animationState.setActive("exit",!t);e&&!t&&n.then(()=>e(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}let x={animation:{Feature:v},exit:{Feature:y}}},9442:function(t,e,i){"use strict";i.d(e,{featureDefinitions:function(){return r}});let n={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},r={};for(let t in n)r[t]={isEnabled:e=>n[t].some(t=>!!e[t])}}
1,30602:function(t,e,i){"use strict";i.d(e,{E:function(){return w}});var n=i(50806),r=i(62777),s=i(28148),o=i(26166);function a(t,e,i){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);let r=n["onHover"+i];r&&o.Wi.postRender(()=>r(e,(0,s.Q)(e)))}class l extends n.L{mount(){let{current:t}=this.node;t&&(this.unmount=(0,r.Mr)(t,t=>(a(this.node,t,"Start"),t=>a(this.node,t,"End"))))}unmount(){}}var u=i(18456),h=i(83624);class c extends n.L{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,h.z)((0,u.E)(this.node.current,"focus",()=>this.onFocus()),(0,u.E)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function d(t,e,i){let{props:n}=t;t.animationState&&n.whileTap&&t.animationState.setActive("whileTap","Start"===i);let r=n["onTap"+("End"===i?"":i)];r&&o.Wi.postRender(()=>r(e,(0,s.Q)(e)))}class p extends n.L{mount(){let{current:t}=this.node;t&&(this.unmount=(0,r.OD)(t,t=>(d(this.node,t,"Start"),(t,{success:e})=>d(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let f=new WeakMap,m=new WeakMap,v=t=>{let e=f.get(t.target);e&&e(t)},g=t=>{t.forEach(v)},y={some:0,all:1};class x extends n.L{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:i,amount:n="some",once:r}=t,s={root:e?e.current:void 0,rootMargin:i,threshold:"number"==typeof n?n:y[n]};return function(t,e,i){let n=function({root:t,...e}){let i=t||document;m.has(i)||m.set(i,{});
1let n=m.get(i),r=JSON.stringify(e);return n[r]||(n[r]=new IntersectionObserver(g,{root:t,...e})),n[r]}(e);return f.set(t,i),n.observe(t),()=>{f.delete(t),n.unobserve(t)}}(this.node.current,s,t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,r&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),s=e?i:n;s&&s(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}let w={inView:{Feature:x},tap:{Feature:p},focus:{Feature:c},hover:{Feature:l}}},81879:function(t,e,i){"use strict";i.d(e,{K:function(){return r}});var n=i(9442);function r(t){for(let e in t)n.featureDefinitions[e]={...n.featureDefinitions[e],...t[e]}}},56816:function(t,e,i){"use strict";i.d(e,{j:function(){return s}});var n=i(64561),r=i(27598);function s(t,{layout:e,layoutId:i}){return r.G.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!n.P[t]||"opacity"===t)}},76117:function(t,e,i){"use strict";function n({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}function r({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function s(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}i.d(e,{d7:function(){return s},i8:function(){return n},z2:function(){return r}})},16e3:function(t,e,i){"use strict";i.d(e,{D2:function(){return d},YY:function(){return u},am:function(){return h},o2:function(){return l},q2:function(){return s}});var n=i(40179),r=i(99527);function s(t,e,i){return i+e*(t-i)}function o(t,e,i,n,r){return void 0!==r&&(t=n+r*(t-n)),n+i*(t-n)+e}function a(t,e=0,i=1,n,r){t.min=o(t.min,e,i,n,r),t.max=o(t.max,e,i,n,r)}function l(t,{x:e,y:i}){a(t.x,e.translate,e.scale,e.originPoint),a(t.y,i.translate,i.scale,i.originPoint)}function u(t,e,i,n=!1){let s,o;let a=i.length;if(a){e.x=e.y=1;for(let u=0;u<a;u++){o=(s=i[u]).projectionDelta;let{visualElement:a}=s.options;(!a||!a.props.style||"contents"!==a.props.style.display)&&(n&&s.options.layoutScroll&&s.scroll&&s!==s.root&&d(t,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),o&&(e.x*=o.x.scale,e.y*=o.y.scale,l(t,o)),n&&(0,r.ud)(s.latestValues)&&d(t,s.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}function h(t,e){t.min=t.min+e,t.max=t.max+e}function c(t,e,i,r,s=.5){let o=(0,n.t)(t.min,t.max,s);a(t,e,i,o,r)}function d(t,e){c(t.x,e.x,e.scaleX,e.scale,e.originX),c(t.y,e.y,e.scaleY,e.scale,e.originY)}},61512:function(t,e,i){"use strict";i.d(e,{dO:function(){return o},wc:function(){return r}});let n=()=>({translate:0,scale:1,origin:0,originPoint:0}),r=()=>({x:n(),y:n()}),s=()=>({min:0,max:0}),o=()=>({x:s(),y:s()})},64561:function(t,e,i){"use strict";i.d(e,{B:function(){return r},P:function(){return n}});let n={};function r(t){Object.assign(n,t)}},99527:function(t,e,i){"use strict";function n(t){return void 0===t||1===t}function r({scale:t,scaleX:e,scaleY:i}){return!n(t)||!n(e)||!n(i)}function s(t){return r(t)||o(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function o(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}i.d(e,{D_:function(){return o},Lj:function(){return r},ud:function(){return s}})},56460:function(t,e,i){"use strict";i.d(e,{J:function(){return s},z:function(){return o}});var n=i(76117),r=i(16e3);function s(t,e){return(0,n.i8)((0,n.d7)(t.getBoundingClientRect(),e))}function o(t,e,i){let n=s(t,i),{scroll:o}=e;return o&&((0,r.am)(n.x,o.offset.x),(0,r.am)(n.y,o.offset.y)),n}},3797:function(t,e,i){"use strict";i.d(e,{l:function(){return A}});var n=i(1117),r=i(9442),s=i(61512),o=i(33441),a=i(30681),l=i(11741);let u={current:null},h={current:!1};var c=i(21560),d=i(33234),p=i(56737),f=i(40406),m=i(79135),v=i(85385),g=i(56440),y=i(88340);let x=[...g.$,v.$,p.P],w=t=>x.find((0,y.l)(t));var j=i(27598),b=i(56955),P=i(7504),S=i(41568),T=i(79432),_=i(26166);let C=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];
1class A{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:r,blockInitialAnimation:s,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=S.e,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=n.X.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,_.Wi.render(this.render,!1,!0))};let{latestValues:l,renderState:u,onUpdate:h}=o;this.onUpdate=h,this.latestValues=l,this.baseTarget={...l},this.initialValues=e.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.options=a,this.blockInitialAnimation=!!s,this.isControllingVariants=(0,P.G)(e),this.isVariantNode=(0,P.M)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:c,...d}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in d){let e=d[t];void 0!==l[t]&&(0,f.i)(e)&&e.set(l[t],!1)}}mount(t){this.current=t,b.R.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),h.current||function(){if(h.current=!0,l.j){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>u.current=t.matches;t.addListener(e),e()}else u.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||u.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in b.R.delete(this.current),this.projection&&this.projection.unmount(),(0,_.Pn)(this.notifyUpdate),(0,_.Pn)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}bindToMotionValue(t,e){let i;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let n=j.G.has(t),r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&_.Wi.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),s=e.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),s(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in r.featureDefinitions){let e=r.featureDefinitions[t];if(!e)continue;let{isEnabled:i,Feature:n}=e;if(!this.features[t]&&n&&i(this.props)&&(this.features[t]=new n(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,s.dO)()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<C.length;e++){let i=C[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=t["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}
1this.prevMotionValues=function(t,e,i){for(let n in e){let r=e[n],s=i[n];if((0,f.i)(r))t.addValue(n,r);else if((0,f.i)(s))t.addValue(n,(0,d.BX)(r,{owner:t}));else if(s!==r){if(t.hasValue(n)){let e=t.getValue(n);!0===e.liveStyle?e.jump(r):e.hasAnimated||e.set(r)}else{let e=t.getStaticValue(n);t.addValue(n,(0,d.BX)(void 0!==e?e:r,{owner:t}))}}}for(let n in i)void 0===e[n]&&t.removeValue(n);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=(0,d.BX)(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){var i;let n=void 0===this.latestValues[t]&&this.current?null!==(i=this.getBaseTargetFromProps(this.props,t))&&void 0!==i?i:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=n&&("string"==typeof n&&((0,o.P)(n)||(0,a.W)(n))?n=p
1arseFloat(n):!w(n)&&p.P.test(e)&&(n=(0,m.T)(t,e)),this.setBaseTarget(t,(0,f.i)(n)?n.get():n)),(0,f.i)(n)?n.get():n}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let i;let{initial:n}=this.props;if("string"==typeof n||"object"==typeof n){let r=(0,T.o)(this.props,n,null===(e=this.presenceContext)||void 0===e?void 0:e.custom);r&&(i=r[t])}if(n&&void 0!==i)return i;let r=this.getBaseTargetFromProps(this.props,t);return void 0===r||(0,f.i)(r)?void 0!==this.initialValues[t]&&void 0===i?void 0:this.baseTarget[t]:r}on(t,e){return this.events[t]||(this.events[t]=new c.L),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}},29894:function(t,e,i){"use strict";i.d(e,{x:function(){return W}});var n=i(85893),r=i(67294),s=i(25364),o=i(70398),a=i(16014);let l=(0,r.createContext)({});var u=i(97732),h=i(7504);function c(t){return Array.isArray(t)?t.join(" "):t}var d=i(11741),p=i(9442),f=i(81879);let m=Symbol.for("motionComponentSymbol");var v=i(51804),g=i(240),y=i(58868),x=i(68588),w=i(83582),j=i(41705),b=i(62627),P=i(26166),S=i(2445),T=i(79432),_=i(96681),C=i(16399);let A=t=>(e,i)=>{let n=(0,r.useContext)(l),s=(0,r.useContext)(g.O),o=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e,onUpdate:i},n,r,s){let o={latestValues:function(t,e,i,n){let r={},s=n(t,{});for(let t in s)r[t]=(0,C.b)(s[t]);let{initial:o,animate:a}=t,l=(0,h.G)(t),u=(0,h.M)(t);e&&u&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let c=!!i&&!1===i.initial,d=(c=c||!1===o)?a:o;if(d&&"boolean"!=typeof d&&!(0,S.H)(d)){let e=Array.isArray(d)?d:[d];for(let i=0;i<e.length;i++){let n=(0,T.o)(t,e[i]);if(n){let{transitionEnd:t,transition:e,...i}=n;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=c?e.length-1:0;e=e[t]}null!==e&&(r[t]=e)}for(let e in t)r[e]=t[e]}}}return r}(n,r,s,t),renderState:e()};return i&&(o.onMount=t=>i({props:n,current:t,...o}),o.onUpdate=t=>i(t)),o})(t,e,n,s);return i?o():(0,_.h)(o)};var D=i(27598),k=i(85415);let B=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),M=()=>({...B(),attrs:{}});var E=i(79854),V=i(68504),F=i(16832);let O=["x","y","width","height","cx","cy","r"],R={useVisualState:A({scrapeMotionValuesFromProps:F.U,createRenderState:M,onUpdate:({props:t,prevProps:e,current:i,renderState:n,latestValues:r})=>{if(!i)return;let s=!!t.drag;if(!s){for(let t in r)if(D.G.has(t)){s=!0;break}}if(!s)return;let o=!e;if(e)for(let i=0;i<O.length;i++){let n=O[i];t[n]!==e[n]&&(o=!0)}o&&P.Wi.read(()=>{!function(t,e){try{e.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(t){e.dimensions={x:0,y:0,width:0,height:0}}}(i,n),P.Wi.render(()=>{(0,k.i)(n,r,(0,E.a)(i.tagName),t.transformTemplate),(0,V.K)(i,n)})})}})},L={useVisualState:A({scrapeMotionValuesFromProps:i(50189).U,createRenderState:B})};var U=i(56816),I=i(40406),N=i(38057);function $(t,e,i){for(let n in e)(0,I.i)(e[n])||(0,U.j)(n,i)||(t[n]=e[n])}var G=i(91492);function W(t,e){return function(i,{forwardMotionProps:P}={forwardMotionProps:!1}){return function({preloadedFeatures:t,createVisualElement:e,useRender:i,useVisualState:b,Component:P}){var S,T;function _(t,f){var m;let S;let T={...(0,r.useContext)(a._),...t,layoutId:function({layoutId:t}){let e=(0,r.useContext)(s.p).id;return e&&void 0!==t?e+"-"+t:t}(t)},{isStatic:_}=T,C=function(t){let{initial:e,animate:i}=function(t,e){if((0,h.G)(t)){let{initial:e,animate:i}=t;return{initial:!1===e||(0,u.$)(e)?e:void 0,animate:(0,u.$)(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,r.useContext)(l));return(0,r.useMemo)(()=>({initial:e,animate:i}),[c(e),c(i)])}(t),A=b(t,_);if(!_&&d.j){(0,r.useContext)(o.u).strict;let t=function(t){let{drag:e,layout:i}=p.featureDefinitions;if(!e&&!i)return{};let n={...e,...i};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==i?void 0:i.isEnabled(t))?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(T);S=t.MeasureLayout,C.visualElement=function(t,e,i,n,s){var u,h;let{visualElement:c}=(0,r.useContext)(l),d=(0,r.useContext)(o.u),p=(0,r.useContext)(g.O),f=(0,r.useContext)(a._).reducedMotion,m=(0,r.useRef)(null);n=n||d.renderer,!m.current&&n&&(m.current=n(t,{visualState:e,parent:c,props:i,presenceContext:p,blockInitialAnimation:!!p&&!1===p.initial,reducedMotionConfig:f}));let b=m.current,P=(0,r.useContext)(j.g);b&&!b.projection&&s&&("html"===b.type||"svg"===b.type)&&function(t,e,
1i,n){let{layoutId:r,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:r,layout:s,alwaysMeasureLayout:!!o||a&&(0,v.I)(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:n,layoutScroll:l,layoutRoot:u})}(m.current,i,s,P);let S=(0,r.useRef)(!1);(0,r.useInsertionEffect)(()=>{b&&S.current&&b.update(i,p)});let T=i[x.M],_=(0,r.useRef)(!!T&&!(null===(u=window.MotionHandoffIsComplete)||void 0===u?void 0:u.call(window,T))&&(null===(h=window.MotionHasOptimisedAnimation)||void 0===h?void 0:h.call(window,T)));return(0,y.L)(()=>{b&&(S.current=!0,window.MotionIsMounted=!0,b.updateFeatures(),w.g.render(b.render),_.current&&b.animationState&&b.animationState.animateChanges())}),(0,r.useEffect)(()=>{b&&(!_.current&&b.animationState&&b.animationState.animateChanges(),_.current&&(queueMicrotask(()=>{var t;null===(t=window.MotionHandoffMarkAsComplete)||void 0===t||t.call(window,T)}),_.current=!1))}),b}(P,A,T,e,t.ProjectionNode)}return(0,n.jsxs)(l.Provider,{value:C,children:[S&&C.visualElement?(0,n.jsx)(S,{visualElement:C.visualElement,...T}):null,i(P,t,(m=C.visualElement,(0,r.useCallback)(t=>{t&&A.onMount&&A.onMount(t),m&&(t?m.mount(t):m.unmount()),f&&("function"==typeof f?f(t):(0,v.I)(f)&&(f.current=t))},[m])),A,_,C.visualElement)]})}t&&(0,f.K)(t),_.displayName=`motion.${"string"==typeof P?P:`create(${null!==(T=null!==(S=P.displayName)&&void 0!==S?S:P.name)&&void 0!==T?T:""})`}`;let C=(0,r.forwardRef)(_);return C[m]=P,C}({...(0,b.q)(i)?R:L,preloadedFeatures:t,useRender:function(t=!1){return(e,i,n,{latestValues:s},o)=>{let a=((0,b.q)(e)?function(t,e,i,n){let s=(0,r.useMemo)(()=>{let i=M();return(0,k.i)(i,e,(0,E.a)(n),t.transformTemplate),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};$(e,t.style,t),s.style={...e,...s.style}}return s}:function(t,e){let i={},n=function(t,e){let i=t.style||{},n={};return $(n,i,t),Object.assign(n,function({transformTemplate:t},e){return(0,r.useMemo)(()=>{let i=B();return(0,N.r)(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),n}(t,e);return t.drag&&!1!==t.dragListener&&(i.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=n,i})(i,s,o,e),l=(0,G.L)(i,"string"==typeof e,t),u=e!==r.Fragment?{...l,...a,ref:n}:{},{children:h}=i,c=(0,r.useMemo)(()=>(0,I.i)(h)?h.get():h,[h]);return(0,r.createElement)(e,{...u,children:c})}}(P),createVisualElement:e,Component:i})}}},82099:function(t,e,i){"use strict";function n(t){if("undefined"==typeof Proxy)return t;let e=new Map;return new Proxy((...e)=>t(...e),{get:(i,n)=>"create"===n?t:(e.has(n)||e.set(n,t(n)),e.get(n))})}i.d(e,{c:function(){return n}})},33821:function(t,e,i){"use strict";i.d(e,{E:function(){return eg}});var n=i(82099),r=i(80916),s=i(50806),o=i(27726),a=i(25386),l=i(62777),u=i(14400),h=i(18456),c=i(28148);function d(t,e,i,n){return(0,h.E)(t,e,(0,c.s)(i),n)}let p=(t,e)=>Math.abs(t-e);var f=i(83624),m=i(26166);class v{constructor(t,e,{transformPagePoint:i,contextWindow:n,dragSnapToOrigin:r=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let i=x(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,r=(t=i.offset,e={x:0,y:0},Math.sqrt(p(t.x,e.x)**2+p(t.y,e.y)**2)>=3);if(!n&&!r)return;let{point:s}=i,{timestamp:o}=m.frameData;this.history.push({...s,timestamp:o});let{onStart:a,onMove:l}=this.handlers;n||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=g(e,this.transformPagePoint),m.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:r}=this.handlers;if(this.dragSnapToOrigin&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=x("pointercancel"===t.type?this.lastMoveEventInfo:g(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),n&&n(t,s)},!(0,l.DJ)(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.contextWindow=n||window;let s=g((0,c.Q)(t),this.transformPagePoint),{point:o}=s,{timestamp:a}=m.frameData;this.history=[{...o,timestamp:a}];let{onSessionStart:u}=e;u&&u(t,x(s,this.history)),this.removeListeners=(0,f.z)(d(this.contextWindow,"pointermove",this.handlePointerMove),d(this.contextWindow,"pointerup",this.handlePointerUp),d(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,m.Pn)(this.updatePoint)}}function g(t,e){return e?{point:e(t.point)}:t}function y(t,e){return{x:t.x-e.x,y:t.y-e.y}}function x({point:t},e){return{point:t,delta:y(t,w(e)),offset:y(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,n=null,r=w(t);for(;i>=0&&(n=t[i],!(r.timestamp-n.timestamp>
1(0,u.w)(.1)));)i--;if(!n)return{x:0,y:0};let s=(0,u.X)(r.timestamp-n.timestamp);if(0===s)return{x:0,y:0};let o={x:(r.x-n.x)/s,y:(r.y-n.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,0)}}function w(t){return t[t.length-1]}var j=i(51804),b=i(58946),P=i(40179);function S(t){return t.max-t.min}function T(t,e,i,n=.5){t.origin=n,t.originPoint=(0,P.t)(e.min,e.max,t.origin),t.scale=S(i)/S(e),t.translate=(0,P.t)(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function _(t,e,i,n){T(t.x,e.x,i.x,n?n.originX:void 0),T(t.y,e.y,i.y,n?n.originY:void 0)}function C(t,e,i){t.min=i.min+e.min,t.max=t.min+S(e)}function A(t,e,i){t.min=e.min-i.min,t.max=t.min+S(e)}function D(t,e,i){A(t.x,e.x,i.x),A(t.y,e.y,i.y)}var k=i(24169);function B(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function M(t,e){let i=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,n]=[n,i]),{min:i,max:n}}function E(t,e,i){return{min:V(t,e),max:V(t,i)}}function V(t,e){return"number"==typeof t?t:t[e]||0}var F=i(61512);function O(t){return[t("x"),t("y")]}
1var R=i(56460),L=i(76117),U=i(96190),I=i(97908);let N=({current:t})=>t?t.ownerDocument.defaultView:null;var $=i(30607);let G=new WeakMap;class W{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,F.dO)(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;let{dragSnapToOrigin:n}=this.getProps();this.panSession=new v(t,{onSessionStart:t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor((0,c.Q)(t).point)},onStart:(t,e)=>{let{drag:i,dragPropagation:n,onDragStart:r}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=(0,l.KV)(i),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),O(t=>{let e=this.getAxisMotionValue(t).get()||0;if(U.aQ.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];if(n){let t=S(n);e=parseFloat(e)/100*t}}}this.originPoint[t]=e}),r&&m.Wi.postRender(()=>r(t,e)),(0,$.K)(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(t,e)=>{let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:r,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=e;if(n&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(o),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&s(t,e)},onSessionEnd:(t,e)=>this.stop(t,e),resumeAnimation:()=>O(t=>{var e;return"paused"===this.getAnimationState(t)&&(null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:n,contextWindow:N(this.visualElement)})}stop(t,e){let i=this.isDragging;if(this.cancel(),!i)return;let{velocity:n}=e;this.startAnimation(n);let{onDragEnd:r}=this.getProps();r&&m.Wi.postRender(()=>r(t,e))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:n}=this.getProps();if(!i||!X(t,n,this.currentDirection))return;let r=this.getAxisMotionValue(t),s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:i},n){return void 0!==e&&t<e?t=n?(0,P.t)(e,t,n.min):Math.max(t,e):void 0!==i&&t>i&&(t=n?(0,P.t)(i,t,n.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){var t;let{dragConstraints:e,dragElastic:i}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout,r=this.constraints;e&&(0,j.I)(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&n?this.constraints=function(t,{top:e,left:i,bottom:n,right:r}){return{x:B(t.x,i,r),y:B(t.y,e,n)}}(n.layoutBox,e):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:E(t,"left","right"),y:E(t,"top","bottom")}}(i),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&O(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let i={};return void 0!==e.min&&(i.min=e.min-t.min),void 0!==e.max&&(i.max=e.max-t.min),i}(n.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!(0,j.I)(e))return!1;let n=e.current;(0,a.k)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let s=(0,R.z)(n,r.root,this.visualElement.getTransformPagePoint()),o={x:M((t=r.layout.layoutBox).x,s.x),y:M(t.y,s.y)};if(i){let t=i((0,L.z2)(o));this.hasMutatedConstraints=!!t,t&&(o=(0,L.i8)(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(O(o=>{if(!X(o,e,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return(0,$.K)(this.visualElement,t),i.start((0,I.v)(t,i,0,e,this.visualElement,!1))}stopAnimation(){O(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){O(t=>{var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.pause()})}getAnimationState(t){var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){O(e=>{let{drag:i}=this.getProps();if(!X(e,i,this.currentDirection))return;let{projection:n}=this.visualElement,r=this.getAxisMotionValue(e);if(n&&n.layout){let{min:i,max:s}=n.layout.layoutBox[e];r.set(t[e]-(0,P.t)(i,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!(0,j.I)(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};O(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let i=e.get();n[t]=function(t,e){let i=.5,n=S(t),r=S(e);return r>n?i=(0,b.Y)(e.min,e.max-n,t.min):n>r&&(i=(0,b.Y)(t.min,t.max-r,e.min)),(0,k.u)(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),O(e=>{if(!X(e,t,null))return;let i=this.getAxisMotionValue(e),{min:r,max:s}=this.constraints[e];i.set((0,P.t)(r,s,n[e]))})}addListeners(){if(!this.visualElement.current)return;G.set(this.visualElement,this);let t=d(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();(0,j.I)(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,n=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),m.Wi.read(e);let r=(0,h.E)(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(O(e=>{let i=this.getAxisMotionValue(e);
1i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{r(),t(),n(),s&&s()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:r=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:r,dragElastic:s,dragMomentum:o}}}function X(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class z extends s.L{constructor(t){super(t),this.removeGroupControls=o.Z,this.removeListeners=o.Z,this.controls=new W(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||o.Z}unmount(){this.removeGroupControls(),this.removeListeners()}}let Z=t=>(e,i)=>{t&&m.Wi.postRender(()=>t(e,i))};class K extends s.L{constructor(){super(...arguments),this.removePointerDownListener=o.Z}onPointerDown(t){this.session=new v(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:N(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:Z(t),onStart:Z(e),onMove:i,onEnd:(t,e)=>{delete this.session,n&&m.Wi.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=d(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var Y=i(85893),H=i(67294),q=i(15947),J=i(25364),Q=i(41705);let tt={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function te(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let ti={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!U.px.test(t))return t;t=parseFloat(t)}let i=te(t,e.target.x),n=te(t,e.target.y);return`${i}% ${n}%`}};var tn=i(56737),tr=i(64561),ts=i(83582);class to extends H.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:r}=t;(0,tr.B)(tl),r&&(e.group&&e.group.add(r),i&&i.register&&n&&i.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),tt.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:r}=this.props,s=i.projection;return s&&(s.isPresent=r,n||t.layoutDependency!==e||void 0===e?s.willUpdate():this.safeToRemove(),t.isPresent===r||(r?s.promote():s.relegate()||m.Wi.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),ts.g.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;n&&(n.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function ta(t){let[e,i]=(0,q.oO)(),n=(0,H.useContext)(J.p);return(0,Y.jsx)(to,{...t,layoutGroup:n,switchLayoutGroup:(0,H.useContext)(Q.g),isPresent:e,safeToRemove:i})}let tl={borderRadius:{...ti,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ti,borderTopRightRadius:ti,borderBottomLeftRadius:ti,borderBottomRightRadius:ti,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let n=tn.P.parse(t);if(n.length>5)return t;let r=tn.P.createTransformer(t),s="number"!=typeof n[0]?1:0,o=i.x.scale*e.x,a=i.y.scale*e.y;n[0+s]/=o,n[1+s]/=a;let l=(0,P.t)(o,a,.5);return"number"==typeof n[2+s]&&(n[2+s]/=l),"number"==typeof n[3+s]&&(n[3+s]/=l),r(n)}}};var tu=i(80619),th=i(93785),tc=i(1117),td=i(75194),tp=i(10010);let tf=(t,e)=>t.depth-e.depth;class tm{constructor(){this.children=[],this.isDirty=!1}add(t){(0,tp.y4)(this.children,t),this.isDirty=!0}remove(t){(0,tp.cl)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(tf),this.isDirty=!1,this.children.forEac
1h(t)}}var tv=i(21560),tg=i(16399),ty=i(27255);let tx=["TopLeft","TopRight","BottomLeft","BottomRight"],tw=tx.length,tj=t=>"string"==typeof t?parseFloat(t):t,tb=t=>"number"==typeof t||U.px.test(t);function tP(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let tS=t_(0,.5,ty.Bn),tT=t_(.5,.95,o.Z);function t_(t,e,i){return n=>n<t?0:n>e?1:i((0,b.Y)(t,e,n))}function tC(t,e){t.min=e.min,t.max=e.max}function tA(t,e){tC(t.x,e.x),tC(t.y,e.y)}function tD(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var tk=i(16e3);function tB(t,e,i,n,r){return t-=e,t=(0,tk.q2)(t,1/i,n),void 0!==r&&(t=(0,tk.q2)(t,1/r,n)),t}function tM(t,e,[i,n,r],s,o){!function(t,e=0,i=1,n=.5,r,s=t,o=t){if(U.aQ.test(e)&&(e=parseFloat(e),e=(0,P.t)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,P.t)(s.min,s.max,n);t===s&&(a-=e),t.min=tB(t.min,e,i,a,r),t.max=tB(t.max,e,i,a,r)}(t,e[i],e[n],e[r],e.scale,s,o)}let tE=["x","scaleX","originX"],tV=["y","scaleY","originY"];function tF(t,e,i,n){tM(t.x,e,tE,i?i.x:void 0,n?n.x:void 0),tM(t.y,e,tV,i?i.y:void 0,n?n.y:void 0)}function tO(t){return 0===t.translate&&1===t.scale}function tR(t){return tO(t.x)&&tO(t.y)}function tL(t,e){return t.min===e.min&&t.max===e.max}function tU(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function tI(t,e){return tU(t.x,e.x)&&tU(t.y,e.y)}function tN(t){return S(t.x)/S(t.y)}function t$(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class tG{constructor(){this.members=[]}add(t){(0,tp.y4)(this.members,t),t.scheduleRender()}remove(t){if((0,tp.cl)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e;let i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:n}=t.options;!1===n&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}var tW=i(99527);let tX={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},tz="undefined"!=typeof window&&void 0!==window.MotionDebug,tZ=["","X","Y","Z"],tK={visibility:"hidden"},tY=0;function tH(t,e,i,n){let{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),n&&(n[t]=0))}function tq({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:r}){return class{constructor(t={},i=null==e?void 0:e()){this.id=tY++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,tz&&(tX.totalNodes=tX.resolvedTargetDeltas=tX.recalculatedProjection=0),this.nodes.forEach(t0),this.nodes.forEach(t6),this.nodes.forEach(t7),this.nodes.forEach(t1),tz&&window.MotionDebug.record(tX)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new tm)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new tv.L),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e,i=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=(0,td.v)(e),this.instance=e;let{layoutId:n,layout:r,visualElement:s}=this.options;if(s&&!s.current&&s.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),i&&(r||n)&&(this.isLayoutDirty=!0),t){let i;let n=()=>this.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,i&&i(),i=function(t,e){let i=tc.X.now(),n=({timestamp:e})=>{let r=e-i;r>=250&&((0,m.Pn)(n),t(r-250))};return m.Wi.read(n,!0),()=>(0,m.Pn)(n)}(n,0),tt.hasAnimatedSinceResize&&(tt.hasAnimatedSinceResize=!1,this.nodes.forEac
1h(t9))})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&s&&(n||r)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let r=this.options.transition||s.getDefaultTransition()||er,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),u=!this.targetLayout||!tI(this.targetLayout,n)||i,h=!e&&i;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||h||e&&(u||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,h);let e={...(0,l.ev)(r,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||t9(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,m.Pn)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(t8),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let n=(0,th.s)(i);if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",m.Wi,!(t||i))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&t(r)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(t3);return}this.isUpdating||this.nodes.forEach(t4),this.isUpdating=!1,this.nodes.forEach(t5),this.nodes.forEach(tJ),this.nodes.forEach(tQ),this.clearAllSnapshots();let t=tc.X.now();m.frameData.delta=(0,k.u)(0,1e3/60,t-m.frameData.timestamp),m.frameData.timestamp=t,m.frameData.isProcessing=!0,m.yL.update.process(m.frameData),m.yL.preRender.process(m.frameData),m.yL.render.process(m.frameData),m.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,ts.g.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(t2),this.sharedNodes.forEach(et)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,m.Wi.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){m.Wi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=(0,F.dO)(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e){let e=n(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!r)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!tR(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,s=n!==this.prevTransformTemplateValue;t&&(e||(0,tW.ud)(this.latestValues)||s)&&(r(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),n=this.removeElementScroll(i);return t&&(n=this.removeTransform(n)),ea((e=n).x),ea(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){var t;let{visualElement:e}=this.options;if(!e)return(0,F.dO)();let i=e.measureViewportBox();if(!((null===(t=this.scroll)||void 0===t?void 0:t.wasRoot)||this.path.some(eu))){let{scroll:t}=this.root;t&&((0,tk.am)(i.x,t.offset.x),(0,tk.am)(i.y,t.offset.y))}return i}removeElementScroll(t){var e;let i=(0,F.dO)();if(tA(i,t),null===(e=this.scroll)||void 0===e?void 0:e.wasRoot)return i;for(let e=0;e<this.path.length;e++){let n=this.path[e],{scroll:r,options:s}=n;n!==this.root&&r&&s.layoutScroll&&(r.wasRoot&&tA(i,t),(0,tk.am)(i.x,r.offset.x),(0,tk.am)(i.y,r.offset.y))}return i}applyTransform(t,e=!1){let i=(0,F.dO)();tA(i,t);for(let t=0;t<this.path.length;t++){let n=this.path[t];!e&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(0,tk.D2)(i,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),(0,tW.ud)(n.latestValues)&&(0,tk.D2)(i,n.latestValues)}return(0,tW.ud)(this.latestValues)&&(0,tk.D2)(i,this.latestValues),i}removeTransform(t){let e=(0,F.dO)();tA(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!(0,tW.ud)(i.latestValues))continue;(0,tW.Lj)(i.latestValues)&&i.updateSnapshot();let n=(0,F.dO)();tA(n,i.measurePageBox()),tF(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,n)}return(0,tW.ud)(this.latestValues)&&tF(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==m.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e,i,n,r;let s=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=s.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=s.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=s.isS
1haredProjectionDirty);let o=!!this.resumingFrom||this!==s;if(!(t||o&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:a,layoutId:l}=this.options;if(this.layout&&(a||l)){if(this.resolvedRelativeTargetAt=m.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,F.dO)(),this.relativeTargetOrigin=(0,F.dO)(),D(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),tA(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=(0,F.dO)(),this.targetWithTransforms=(0,F.dO)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),i=this.target,n=this.relativeTarget,r=this.relativeParent.target,C(i.x,n.x,r.x),C(i.y,n.y,r.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):tA(this.target,this.layout.layoutBox),(0,tk.o2)(this.target,this.targetDelta)):tA(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,F.dO)(),this.relativeTargetOrigin=(0,F.dO)(),D(this.relativeTargetOrigin,this.target,t.target),tA(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}tz&&tX.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||(0,tW.Lj)(this.parent.latestValues)||(0,tW.D_)(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var t;let e=this.getLead(),i=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty))&&(n=!1),i&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===m.frameData.timestamp&&(n=!1),n)return;let{layout:r,layoutId:s}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||s))return;tA(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;(0,tk.YY)(this.layoutCorrected,this.treeScale,this.path,i),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=(0,F.dO)());let{target:l}=e;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(tD(this.prevProjectionDelta.x,this.projectionDelta.x),tD(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),_(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===o&&this.treeScale.y===a&&t$(this.projectionDelta.x,this.prevProjectionDelta.x)&&t$(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),tz&&tX.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){var e;if(null===(e=this.options.visualElement)||void 0===e||e.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,F.wc)(),this.projectionDelta=(0,F.wc)(),this.projectionDeltaWithTransform=(0,F.wc)()}setAnimationOrigin(t,e=!1){let i;let n=this.snapshot,r=n?n.latestValues:{},s={...this.latestValues},o=(0,F.wc)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=(0,F.dO)(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,c=!!(l&&!h&&
1!0===this.options.crossfade&&!this.path.some(en));this.animationProgress=0,this.mixTargetDelta=e=>{let n=e/1e3;if(ee(o.x,t.x,n),ee(o.y,t.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,p,f;D(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,f=this.relativeTargetOrigin,ei(p.x,f.x,a.x,n),ei(p.y,f.y,a.y,n),i&&(u=this.relativeTarget,d=i,tL(u.x,d.x)&&tL(u.y,d.y))&&(this.isProjectionDirty=!1),i||(i=(0,F.dO)()),tA(i,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,i,n,r,s){r?(t.opacity=(0,P.t)(0,void 0!==i.opacity?i.opacity:1,tS(n)),t.opacityExit=(0,P.t)(void 0!==e.opacity?e.opacity:1,0,tT(n))):s&&(t.opacity=(0,P.t)(void 0!==e.opacity?e.opacity:1,void 0!==i.opacity?i.opacity:1,n));for(let r=0;r<tw;r++){let s=`border${tx[r]}Radius`,o=tP(e,s),a=tP(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||tb(o)===tb(a)?(t[s]=Math.max((0,P.t)(tj(o),tj(a),n),0),(U.aQ.test(a)||U.aQ.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,P.t)(e.rotate||0,i.rotate||0,n))}(s,r,this.latestValues,n,c,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,m.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=m.Wi.update(()=>{tt.hasAnimatedSinceResize=!0,this.currentAnimation=(0,tu.D)(0,1e3,{...t,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:n,latestValues:r}=t;if(e&&i&&n){if(this!==t&&this.layout&&n&&el(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||(0,F.dO)();let e=S(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=S(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}tA(e,i),(0,tk.D2)(e,r),_(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new tG),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){var t;let{layoutId:e}=this.options;return e&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;let{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let n=this.getStack();n&&n.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let n={};i.z&&tH("z",t,n,this.animationValues);for(let e=0;e<tZ.length;e++)tH(`rotate${tZ[e]}`,t,n,this.animationValues),tH(`skew${tZ[e]}`,t,n,this.animationValues);for(let e in t.render(),n)t.setStaticValue(e,n[e]),this.animationValues&&(this.animationValues[e]=n[e]);t.scheduleRender()}getProjectionStyles(t){var e,i;if(!this.instance||this.isSVG)return;if(!this.isVisible)return tK;let n={visibility:""},r=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,n.opacity="",n.pointerEvents=(0,tg.b)(null==t?void 0:t.pointerEvents)||"",n.transform=r?r(this.latestValues,""):"none",n;let s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){let e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=(0,tg.b)(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!(0,tW.ud)(this.latestValues)&&(e.transform=r?r({},""):"none",this.hasProjected=!1),e}let o=s.animationValues||s.latestValues;
1this.applyTransformsToTarget(),n.transform=function(t,e,i){let n="",r=t.x.translate/e.x,s=t.y.translate/e.y,o=(null==i?void 0:i.z)||0;if((r||s||o)&&(n=`translate3d(${r}px, ${s}px, ${o}px) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:r,rotateY:s,skewX:o,skewY:a}=i;t&&(n=`perspective(${t}px) ${n}`),e&&(n+=`rotate(${e}deg) `),r&&(n+=`rotateX(${r}deg) `),s&&(n+=`rotateY(${s}deg) `),o&&(n+=`skewX(${o}deg) `),a&&(n+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(n+=`scale(${a}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,o),r&&(n.transform=r(o,n.transform));let{x:a,y:l}=this.projectionDelta;for(let t in n.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,s.animationValues?n.opacity=s===this?null!==(i=null!==(e=o.opacity)&&void 0!==e?e:this.latestValues.opacity)&&void 0!==i?i:1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:n.opacity=s===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0,tr.P){if(void 0===o[t])continue;let{correct:e,applyTo:i}=tr.P[t],r="none"===n.transform?o[t]:e(o[t],s);if(i){let t=i.length;for(let e=0;e<t;e++)n[i[e]]=r}else n[t]=r}return this.options.layoutId&&(n.pointerEvents=s===this?(0,tg.b)(null==t?void 0:t.pointerEvents)||"":"none"),n}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(t3),this.root.sharedNodes.clear()}}}function tJ(t){t.updateLayout()}function tQ(t){var e;let i=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&i&&t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:n}=t.layout,{animationType:r}=t.options,s=i.source!==t.layout.source;"size"===r?O(t=>{let n=s?i.measuredBox[t]:i.layoutBox[t],r=S(n);n.min=e[t].min,n.max=n.min+r}):el(r,i.layoutBox,e)&&O(n=>{let r=s?i.measuredBox[n]:i.layoutBox[n],o=S(e[n]);r.max=r.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+o)});let o=(0,F.wc)();_(o,e,i.layoutBox);let a=(0,F.wc)();s?_(a,t.applyTransform(n,!0),i.measuredBox):_(a,e,i.layoutBox);let l=!tR(o),u=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:r,layout:s}=n;if(r&&s){let o=(0,F.dO)();D(o,i.layoutBox,r.layoutBox);let a=(0,F.dO)();D(a,e,s.layoutBox),tI(o,a)||(u=!0),n.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:i,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function t0(t){tz&&tX.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function t1(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function t2(t){t.clearSnapshot()}function t3(t){t.clearMeasurements()}function t4(t){t.isLayoutDirty=!1}function t5(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function t9(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function t6(t){t.resolveTargetDelta()}function t7(t){t.calcProjection()}function t8(t){t.resetSkewAndRotation()}function et(t){t.removeLeadSnapshot()}function ee(t,e,i){t.translate=(0,P.t)(e.translate,0,i),t.scale=(0,P.t)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function ei(t,e,i,n){t.min=(0,P.t)(e.min,i.min,n),t.max=(0,P.t)(e.max,i.max,n)}function en(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let er={duration:.45,ease:[.4,0,.1,1]},es=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),eo=es("applewebkit/")&&!es("chrome/")?Math.round:o.Z;function ea(t){t.min=eo(t.min),t.max=eo(t.max)}function el(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(tN(e)-tN(i)))}function eu(t){var e;return t!==t.root&&(null===(e=t.scroll)||void 0===e?void 0:e.wasRoot)}let eh=tq({attachResizeListener:(t,e)=>(0,h.E)(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ec={current:void 0},ed=tq({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!ec.current){let t=new eh({});t.mount(window),t.setOptions({layoutScroll:!0}),ec.current=t}return ec.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});var ep=i(30602),ef=i(29894),em=i(42002);let ev=(0,ef.x)({...r.s,...ep.E,pan:{Feature:K},drag:{Feature:z,ProjectionNode:ed,MeasureLayout:ta},layout:{ProjectionNode:ed,MeasureLayout:ta}},em.b),eg=(0,n.c)(ev)}
1,20204:function(t,e,i){"use strict";i.d(e,{s:function(){return m}});var n=i(30681),r=i(83845),s=i(56737),o=i(79135);let a=new Set(["auto","none","0"]);var l=i(41568),u=i(25386),h=i(33441),c=i(57630);let d=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var p=i(6383),f=i(56440);class m extends l.e{constructor(t,e,i,n,r){super(t,e,i,n,r,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let n=t[i];if("string"==typeof n&&(n=n.trim(),(0,c.t)(n))){let r=function t(e,i,n=1){(0,u.k)(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[r,s]=function(t){let e=d.exec(t);if(!e)return[,];let[,i,n,r]=e;return[`--${null!=i?i:n}`,r]}(e);if(!r)return;let o=window.getComputedStyle(i).getPropertyValue(r);if(o){let t=o.trim();return(0,h.P)(t)?parseFloat(t):t}return(0,c.t)(s)?t(s,i,n+1):s}(n,e.current);void 0!==r&&(t[i]=r),i===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!r.z.has(i)||2!==t.length)return;let[n,s]=t,o=(0,f.C)(n),a=(0,f.C)(s);if(o!==a){if((0,p.mP)(o)&&(0,p.mP)(a))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else this.needsMeasurement=!0}}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var r;("number"==typeof(r=t[e])?0===r:null===r||"none"===r||"0"===r||(0,n.W)(r))&&i.push(e)}i.length&&function(t,e,i){let n,r=0;for(;r<t.length&&!n;){let e=t[r];"string"==typeof e&&!a.has(e)&&(0,s.V)(e).values.length&&(n=t[r]),r++}if(n&&i)for(let r of e)t[r]=(0,o.T)(i,n)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=p.lw[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let n=e[e.length-1];void 0!==n&&t.getValue(i,n).jump(n,!1)}measureEndState(){var t;let{element:e,name:i,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(i);r&&r.jump(this.measuredOrigin,!1);let s=n.length-1,o=n[s];n[s]=p.lw[i](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),(null===(t=this.removedTransforms)||void 0===t?void 0:t.length)&&this.removedTransforms.forEac
1h(([t,i])=>{e.getValue(t).set(i)}),this.resolveNoneKeyframes()}}},79838:function(t,e,i){"use strict";i.d(e,{J:function(){return o}});var n=i(3797),r=i(20204),s=i(40406);class o extends n.l{constructor(){super(...arguments),this.KeyframeResolver=r.s}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,s.i)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}},42002:function(t,e,i){"use strict";i.d(e,{b:function(){return a}});var n=i(67294),r=i(34547),s=i(25794),o=i(62627);let a=(t,e)=>(0,o.q)(t)?new s.e(e):new r.W(e,{allowProjection:t!==n.Fragment})},93193:function(t,e,i){"use strict";i.d(e,{D:function(){return n}});let n=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()},57630:function(t,e,i){"use strict";i.d(e,{f:function(){return r},t:function(){return o}});let n=t=>e=>"string"==typeof e&&e.startsWith(t),r=n("--"),s=n("var(--"),o=t=>!!s(t)&&a.test(t.split("/*")[0].trim()),a=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},62627:function(t,e,i){"use strict";i.d(e,{q:function(){return r}});let n=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function r(t){if("string"!=typeof t||t.includes("-"));else if(n.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}},75194:function(t,e,i){"use strict";function n(t){return t instanceof SVGElement&&"svg"!==t.tagName}i.d(e,{v:function(){return n}})},6383:function(t,e,i){"use strict";i.d(e,{Ei:function(){return c},lw:function(){return d},mP:function(){return o}});var n=i(61649),r=i(96190),s=i(27598);let o=t=>t===n.Rx||t===r.px,a=(t,e)=>parseFloat(t.split(", ")[e]),l=(t,e)=>(i,{transform:n})=>{if("none"===n||!n)return 0;let r=n.match(/^matrix3d\((.+)\)$/u);if(r)return a(r[1],e);{let e=n.match(/^matrix\((.+)\)$/u);return e?a(e[1],t):0}},u=new Set(["x","y","z"]),h=s._.filter(t=>!u.has(t));function c(t){let e=[];return h.forEach(i=>{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(i.startsWith("scale")?1:0))}),e}let d={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:l(4,13),y:l(5,14)};d.translateX=d.x,d.translateY=d.y},79135:function(t,e,i){"use strict";i.d(e,{T:function(){return o}});var n=i(56737),r=i(97197),s=i(2728);function o(t,e){let i=(0,s.A)(t);return i!==r.h&&(i=n.P),i.getAnimatableNone?i.getAnimatableNone(e):void 0}},2728:function(t,e,i){"use strict";i.d(e,{A:function(){return o}});var n=i(85385),r=i(97197);let s={...i(6592).j,color:n.$,backgroundColor:n.$,outlineColor:n.$,fill:n.$,stroke:n.$,borderColor:n.$,borderTopColor:n.$,borderRightColor:n.$,borderBottomColor:n.$,borderLeftColor:n.$,filter:r.h,WebkitFilter:r.h},o=t=>s[t]},56440:function(t,e,i){"use strict";i.d(e,{$:function(){return o},C:function(){return a}});var n=i(61649),r=i(96190),s=i(88340);let o=[n.Rx,r.px,r.aQ,r.RW,r.vw,r.vh,{test:t=>"auto"===t,parse:t=>t}],a=t=>o.find((0,s.l)(t))},6592:function(t,e,i){"use strict";i.d(e,{j:function(){return l}});var n=i(61649),r=i(96190);let s={borderWidth:r.px,borderTopWidth:r.px,borderRightWidth:r.px,borderBottomWidth:r.px,borderLeftWidth:r.px,borderRadius:r.px,radius:r.px,borderTopLeftRadius:r.px,borderTopRightRadius:r.px,borderBottomRightRadius:r.px,borderBottomLeftRadius:r.px,width:r.px,maxWidth:r.px,height:r.px,maxHeight:r.px,top:r.px,right:r.px,bottom:r.px,left:r.px,padding:r.px,paddingTop:r.px,paddingRight:r.px,paddingBottom:r.px,paddingLeft:r.px,margin:r.px,marginTop:r.px,marginRight:r.px,marginBottom:r.px,marginLeft:r.px,backgroundPositionX:r.px,backgroundPositionY:r.px},o={rotate:r.RW,rotateX:r.RW,rotateY:r.RW,rotateZ:r.RW,scale:n.bA,scaleX:n.bA,scaleY:n.bA,scaleZ:n.bA,skew:r.RW,skewX:r.RW,skewY:r.RW,distance:r.px,translateX:r.px,translateY:r.px,translateZ:r.px,x:r.px,y:r.px,z:r.px,perspective:r.px,transformPerspective:r.px,opacity:n.Fq,originX:r.$C,originY:r.$C,originZ:r.px},a={...n.Rx,transform:Math.round},l={...s,...o,zIndex:a,size:r.px,fillOpacity:n.Fq,strokeOpacity:n.Fq,numOctaves:a}}
1,88340:function(t,e,i){"use strict";i.d(e,{l:function(){return n}});let n=t=>e=>e.test(t)},34547:function(t,e,i){"use strict";i.d(e,{W:function(){return c}});var n=i(56460),r=i(79838),s=i(57630),o=i(2728),a=i(38057),l=i(27598),u=i(34242),h=i(50189);class c extends r.J{constructor(){super(...arguments),this.type="html",this.renderInstance=u.N}readValueFromInstance(t,e){if(l.G.has(e)){let t=(0,o.A)(e);return t&&t.default||0}{let i=window.getComputedStyle(t),n=((0,s.f)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return(0,n.J)(t,e)}build(t,e,i){(0,a.r)(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return(0,h.U)(t,e,i)}}},38057:function(t,e,i){"use strict";i.d(e,{r:function(){return u}});var n=i(57630);let r=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var s=i(6592),o=i(27598);let a={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},l=o._.length;function u(t,e,i){let{style:u,vars:h,transformOrigin:c}=t,d=!1,p=!1;for(let t in e){let i=e[t];if(o.G.has(t)){d=!0;continue}if((0,n.f)(t)){h[t]=i;continue}{let e=r(i,s.j[t]);t.startsWith("origin")?(p=!0,c[t]=e):u[t]=e}}if(!e.transform&&(d||i?u.transform=function(t,e,i){let n="",u=!0;for(let h=0;h<l;h++){let l=o._[h],c=t[l];if(void 0===c)continue;let d=!0;if(!(d="number"==typeof c?c===(l.startsWith("scale")?1:0):0===parseFloat(c))||i){let t=r(c,s.j[l]);if(!d){u=!1;let e=a[l]||l;n+=`${e}(${t}) `}i&&(e[l]=t)}}return n=n.trim(),i?n=i(e,u?"":n):u&&(n="none"),n}(e,t.transform,i):u.transform&&(u.transform="none")),p){let{originX:t="50%",originY:e="50%",originZ:i=0}=c;u.transformOrigin=`${t} ${e} ${i}`}}},83845:function(t,e,i){"use strict";i.d(e,{z:function(){return n}});let n=new Set(["width","height","top","left","right","bottom",...i(27598)._])},27598:function(t,e,i){"use strict";i.d(e,{G:function(){return r},_:function(){return n}});let n=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],r=new Set(n)},34242:function(t,e,i){"use strict";function n(t,{style:e,vars:i},n,r){for(let s in Object.assign(t.style,e,r&&r.getProjectionStyles(n)),i)t.style.setProperty(s,i[s])}i.d(e,{N:function(){return n}})},50189:function(t,e,i){"use strict";i.d(e,{U:function(){return s}});var n=i(56816),r=i(40406);function s(t,e,i){var s;let{style:o}=t,a={};for(let l in o)((0,r.i)(o[l])||e.style&&(0,r.i)(e.style[l])||(0,n.j)(l,t)||(null===(s=null==i?void 0:i.getValue(l))||void 0===s?void 0:s.liveStyle)!==void 0)&&(a[l]=o[l]);return a}},56955:function(t,e,i){"use strict";i.d(e,{R:function(){return n}});let n=new WeakMap},25794:function(t,e,i){"use strict";i.d(e,{e:function(){return p}});var n=i(61512),r=i(79838),s=i(93193),o=i(2728),a=i(27598),l=i(85415),u=i(77302),h=i(79854),c=i(68504),d=i(16832);class p extends r.J{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=n.dO}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(a.G.has(e)){let t=(0,o.A)(e);return t&&t.default||0}return e=u.s.has(e)?e:(0,s.D)(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return(0,d.U)(t,e,i)}build(t,e,i){(0,l.i)(t,e,this.isSVGTag,i.transformTemplate)}renderInstance(t,e,i,n){(0,c.K)(t,e,i,n)}mount(t){this.isSVGTag=(0,h.a)(t.tagName),super.mount(t)}}},85415:function(t,e,i){"use strict";i.d(e,{i:function(){return l}});var n=i(38057),r=i(96190);let s={offset:"stroke-dashoffset",array:"stroke-dasharray"},o={offset:"strokeDashoffset",array:"strokeDasharray"};function a(t,e,i){return"string"==typeof t?t:r.px.transform(e+i*t)}function l(t,{attrX:e,attrY:i,attrScale:l,originX:u,originY:h,pathLength:c,pathSpacing:d=1,pathOffset:p=0,...f},m,v){if((0,n.r)(t,f,v),m){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:g,style:y,dimensions:x}=t;g.transform&&(x&&(y.transform=g.transform),delete g.transform),x&&(void 0!==u||void 0!==h||y.transform)&&(y.transformOrigin=function(t,e,i){let n=a(e,t.x,t.width),r=a(i,t.y,t.height);return`${n} ${r}`}(x,void 0!==u?u:.5,void 0!==h?h:.5)),void 0!==e&&(g.x=e),void 0!==i&&(g.y=i),void 0!==l&&(g.
1scale=l),void 0!==c&&function(t,e,i=1,n=0,a=!0){t.pathLength=1;let l=a?s:o;t[l.offset]=r.px.transform(-n);let u=r.px.transform(e),h=r.px.transform(i);t[l.array]=`${u} ${h}`}(g,c,d,p,!1)}},77302:function(t,e,i){"use strict";i.d(e,{s:function(){return n}});let n=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"])},79854:function(t,e,i){"use strict";i.d(e,{a:function(){return n}});let n=t=>"string"==typeof t&&"svg"===t.toLowerCase()},68504:function(t,e,i){"use strict";i.d(e,{K:function(){return o}});var n=i(93193),r=i(34242),s=i(77302);function o(t,e,i,o){for(let i in(0,r.N)(t,e,void 0,o),e.attrs)t.setAttribute(s.s.has(i)?i:(0,n.D)(i),e.attrs[i])}},16832:function(t,e,i){"use strict";i.d(e,{U:function(){return o}});var n=i(40406),r=i(27598),s=i(50189);function o(t,e,i){let o=(0,s.U)(t,e,i);for(let i in t)((0,n.i)(t[i])||(0,n.i)(e[i]))&&(o[-1!==r._.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return o}},41568:function(t,e,i){"use strict";i.d(e,{e:function(){return c},m:function(){return h}});var n=i(6383),r=i(26166);let s=new Set,o=!1,a=!1;function l(){if(a){let t=Array.from(s).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e=(0,n.Ei)(t);e.length&&(i.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{var n;null===(n=t.getValue(e))||void 0===n||n.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}a=!1,o=!1,s.forEach(t=>t.complete()),s.clear()}function u(){s.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(a=!0)})}function h(){u(),l()}class c{constructor(t,e,i,n,r,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=r,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(s.add(this),o||(o=!0,r.Wi.read(u),r.Wi.resolveKeyframes(l))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:n}=this;for(let r=0;r<t.length;r++)if(null===t[r]){if(0===r){let r=null==n?void 0:n.get(),s=t[t.length-1];if(void 0!==r)t[0]=r;else if(i&&e){let n=i.readValue(e,s);null!=n&&(t[0]=n)}void 0===t[0]&&(t[0]=s),n&&void 0===r&&n.set(t[0])}else t[r]=t[r-1]}}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),s.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,s.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}},7504:function(t,e,i){"use strict";i.d(e,{G:function(){return o},M:function(){return a}});var n=i(2445),r=i(97732),s=i(22963);function o(t){return(0,n.H)(t.animate)||s.V.some(e=>(0,r.$)(t[e]))}function a(t){return!!(o(t)||t.variants)}},97732:function(t,e,i){"use strict";function n(t){return"string"==typeof t||Array.isArray(t)}i.d(e,{$:function(){return n}})},52248:function(t,e,i){"use strict";i.d(e,{x:function(){return r}});var n=i(79432);function r(t,e,i){let r=t.getProps();return(0,n.o)(r,e,void 0!==i?i:r.custom,t)}},79432:function(t,e,i){"use strict";function n(t){let e=[{},{}];return null==t||t.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function r(t,e,i,r){if("function"==typeof e){let[s,o]=n(r);e=e(void 0!==i?i:t.custom,s,o)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[s,o]=n(r);e=e(void 0!==i?i:t.custom,s,o)}return e}i.d(e,{o:function(){return r}})},66803:function(t,e,i){"use strict";i.d(e,{C:function(){return o}});var n=i(8715),r=i(33234),s=i(52248);function o(t,e){let{transitionEnd:i={},transition:o={},...a}=(0,s.x)(t,e)||{};for(let e in a={...a,...i}){let i=(0,n.Y)(a[e]);t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,r.BX)(i))}}}
1,22963:function(t,e,i){"use strict";i.d(e,{V:function(){return r},e:function(){return n}});let n=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],r=["initial",...n]},10010:function(t,e,i){"use strict";function n(t,e){-1===t.indexOf(e)&&t.push(e)}function r(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}i.d(e,{cl:function(){return r},y4:function(){return n}})},24169:function(t,e,i){"use strict";i.d(e,{u:function(){return n}});let n=(t,e,i)=>i>e?e:i<t?t:i},71884:function(t,e,i){"use strict";i.d(e,{s:function(){return u}});var n=i(27726),r=i(25386),s=i(58946),o=i(24169),a=i(79976),l=i(83624);function u(t,e,{clamp:i=!0,ease:u,mixer:h}={}){let c=t.length;if((0,r.k)(c===e.length,"Both input and output ranges must be the same length"),1===c)return()=>e[0];if(2===c&&e[0]===e[1])return()=>e[1];let d=t[0]===t[1];t[0]>t[c-1]&&(t=[...t].reverse(),e=[...e].reverse());let p=function(t,e,i){let r=[],s=i||a.C,o=t.length-1;for(let i=0;i<o;i++){let o=s(t[i],t[i+1]);if(e){let t=Array.isArray(e)?e[i]||n.Z:e;o=(0,l.z)(t,o)}r.push(o)}return r}(e,u,h),f=p.length,m=i=>{if(d&&i<t[0])return e[0];let n=0;if(f>1)for(;n<t.length-2&&!(i<t[n+1]);n++);let r=(0,s.Y)(t[n],t[n+1],i);return p[n](r)};return i?e=>m((0,o.u)(t[0],t[c-1],e)):m}},11741:function(t,e,i){"use strict";i.d(e,{j:function(){return n}});let n="undefined"!=typeof window},33441:function(t,e,i){"use strict";i.d(e,{P:function(){return n}});let n=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)},51804:function(t,e,i){"use strict";function n(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}i.d(e,{I:function(){return n}})},30681:function(t,e,i){"use strict";i.d(e,{W:function(){return n}});let n=t=>/^0[^.\s]+$/u.test(t)},79976:function(t,e,i){"use strict";i.d(e,{C:function(){return T}});var n=i(40179),r=i(25386);function s(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}var o=i(26382),a=i(40819),l=i(93184);function u(t,e){return i=>i>0?e:t}let h=(t,e,i)=>{let n=t*t,r=i*(e*e-n)+n;return r<0?0:Math.sqrt(r)},c=[o.$,a.m,l.J],d=t=>c.find(e=>e.test(t));function p(t){let e=d(t);if((0,r.K)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let i=e.parse(t);return e===l.J&&(i=function({hue:t,saturation:e,lightness:i,alpha:n}){t/=360,i/=100;let r=0,o=0,a=0;if(e/=100){let n=i<.5?i*(1+e):i+e-i*e,l=2*i-n;r=s(l,n,t+1/3),o=s(l,n,t),a=s(l,n,t-1/3)}else r=o=a=i;return{red:Math.round(255*r),green:Math.round(255*o),blue:Math.round(255*a),alpha:n}}(i)),i}let f=(t,e)=>{let i=p(t),r=p(e);if(!i||!r)return u(t,e);let s={...i};return t=>(s.red=h(i.red,r.red,t),s.green=h(i.green,r.green,t),s.blue=h(i.blue,r.blue,t),s.alpha=(0,n.t)(i.alpha,r.alpha,t),a.m.transform(s))};var m=i(83624),v=i(85385),g=i(56737),y=i(57630);let x=new Set(["none","hidden"]);function w(t,e){return i=>(0,n.t)(t,e,i)}function j(t){return"number"==typeof t?w:"string"==typeof t?(0,y.t)(t)?u:v.$.test(t)?f:S:Array.isArray(t)?b:"object"==typeof t?v.$.test(t)?f:P:u}function b(t,e){let i=[...t],n=i.length,r=t.map((t,i)=>j(t)(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=r[e](t);return i}}function P(t,e){let i={...t,...e},n={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(n[r]=j(t[r])(t[r],e[r]));return t=>{for(let e in n)i[e]=n[e](t);return i}}let S=(t,e)=>{let i=g.P.createTransformer(e),n=(0,g.V)(t),s=(0,g.V)(e);return n.indexes.var.length===s.indexes.var.length&&n.indexes.color.length===s.indexes.color.length&&n.indexes.number.length>=s.indexes.number.length?x.has(t)&&!s.values.length||x.has(e)&&!n.values.length?x.has(t)?i=>i<=0?t:e:i=>i>=1?e:t:(0,m.z)(b(function(t,e){var i;let n=[],r={color:0,var:0,number:0};for(let s=0;s<e.values.length;s++){let o=e.types[s],a=t.indexes[o][r[o]],l=null!==(i=t.values[a])&&void 0!==i?i:0;n[s]=l,r[o]++}return n}(n,s),s.values),i):((0,r.K)(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),u(t,e))};function T(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?(0,n.t)(t,e,i):j(t)(t,e)}}
1,40179:function(t,e,i){"use strict";i.d(e,{t:function(){return n}});let n=(t,e,i)=>t+(e-t)*i},60599:function(t,e,i){"use strict";i.d(e,{Y:function(){return r}});var n=i(26615);function r(t){let e=[0];return(0,n.c)(e,t.length-1),e}},26615:function(t,e,i){"use strict";i.d(e,{c:function(){return s}});var n=i(58946),r=i(40179);function s(t,e){let i=t[t.length-1];for(let s=1;s<=e;s++){let o=(0,n.Y)(0,e,s);t.push((0,r.t)(i,1,o))}}},83624:function(t,e,i){"use strict";i.d(e,{z:function(){return r}});let n=(t,e)=>i=>e(t(i)),r=(...t)=>t.reduce(n)},8715:function(t,e,i){"use strict";i.d(e,{Y:function(){return s},p:function(){return r}});var n=i(48488);let r=t=>!!(t&&"object"==typeof t&&t.mix&&t.toValue),s=t=>(0,n.C)(t)?t[t.length-1]||0:t},21560:function(t,e,i){"use strict";i.d(e,{L:function(){return r}});var n=i(10010);class r{constructor(){this.subscriptions=[]}add(t){return(0,n.y4)(this.subscriptions,t),()=>(0,n.cl)(this.subscriptions,t)}notify(t,e,i){let n=this.subscriptions.length;if(n){if(1===n)this.subscriptions[0](t,e,i);else for(let r=0;r<n;r++){let n=this.subscriptions[r];n&&n(t,e,i)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},58868:function(t,e,i){"use strict";i.d(e,{L:function(){return r}});var n=i(67294);let r=i(11741).j?n.useLayoutEffect:n.useEffect},3038:function(t,e,i){"use strict";function n(t,e){return e?1e3/e*t:0}i.d(e,{R:function(){return n}})},33234:function(t,e,i){"use strict";i.d(e,{BX:function(){return h},S1:function(){return l}});var n=i(1117),r=i(21560),s=i(3038),o=i(26166);let a=t=>!isNaN(parseFloat(t)),l={current:void 0};class u{constructor(t,e={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=>{let i=n.X.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=n.X.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=a(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new r.L);let i=this.events[t].add(e);return"change"===t?()=>{i(),o.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return l.current&&l.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=n.X.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,s.R)(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function h(t,e){return new u(t,e)}},26382:function(t,e,i){"use strict";i.d(e,{$:function(){return r}});var n=i(40819);let r={test:(0,i(69940).i)("#"),parse:function(t){let e="",i="",n="",r="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),r=t.substring(4,5),e+=e,i+=i,n+=n,r+=r),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alph
1a:r?parseInt(r,16)/255:1}},transform:n.m.transform}},93184:function(t,e,i){"use strict";i.d(e,{J:function(){return a}});var n=i(61649),r=i(96190),s=i(93609),o=i(69940);let a={test:(0,o.i)("hsl","hue"),parse:(0,o.d)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:o=1})=>"hsla("+Math.round(t)+", "+r.aQ.transform((0,s.N)(e))+", "+r.aQ.transform((0,s.N)(i))+", "+(0,s.N)(n.Fq.transform(o))+")"}},85385:function(t,e,i){"use strict";i.d(e,{$:function(){return o}});var n=i(26382),r=i(93184),s=i(40819);let o={test:t=>s.m.test(t)||n.$.test(t)||r.J.test(t),parse:t=>s.m.test(t)?s.m.parse(t):r.J.test(t)?r.J.parse(t):n.$.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?s.m.transform(t):r.J.transform(t)}},40819:function(t,e,i){"use strict";i.d(e,{m:function(){return u}});var n=i(24169),r=i(61649),s=i(93609),o=i(69940);let a=t=>(0,n.u)(0,255,t),l={...r.Rx,transform:t=>Math.round(a(t))},u={test:(0,o.i)("rgb","red"),parse:(0,o.d)("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+l.transform(t)+", "+l.transform(e)+", "+l.transform(i)+", "+(0,s.N)(r.Fq.transform(n))+")"}},69940:function(t,e,i){"use strict";i.d(e,{i:function(){return s},d:function(){return o}});var n=i(68054);let r=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,s=(t,e)=>i=>!!("string"==typeof i&&r.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),o=(t,e,i)=>r=>{if("string"!=typeof r)return r;let[s,o,a,l]=r.match(n.K);return{[t]:parseFloat(s),[e]:parseFloat(o),[i]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},97197:function(t,e,i){"use strict";i.d(e,{h:function(){return l}});var n=i(56737),r=i(68054);let s=new Set(["brightness","contrast","saturate","opacity"]);function o(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(r.K)||[];if(!n)return t;let o=i.replace(n,""),a=s.has(e)?1:0;return n!==i&&(a*=100),e+"("+a+o+")"}let a=/\b([a-z-]*)\(.*?\)/gu,l={...n.P,getAnimatableNone:t=>{let e=t.match(a);return e?e.map(o).join(" "):t}}},56737:function(t,e,i){"use strict";i.d(e,{V:function(){return h},P:function(){return f}});var n=i(85385);let r=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var s=i(68054),o=i(93609);let a="number",l="color",u=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function h(t){let e=t.toString(),i=[],r={color:[],number:[],var:[]},s=[],o=0,h=e.replace(u,t=>(n.$.test(t)?(r.color.push(o),s.push(l),i.push(n.$.parse(t))):t.startsWith("var(")?(r.var.push(o),s.push("var"),i.push(t)):(r.number.push(o),s.push(a),i.push(parseFloat(t))),++o,"${}")).split("${}");return{values:i,split:h,indexes:r,types:s}}function c(t){return h(t).values}function d(t){let{split:e,types:i}=h(t),r=e.length;return t=>{let s="";for(let u=0;u<r;u++)if(s+=e[u],void 0!==t[u]){let e=i[u];e===a?s+=(0,o.N)(t[u]):e===l?s+=n.$.transform(t[u]):s+=t[u]}return s}}let p=t=>"number"==typeof t?0:t,f={test:function(t){var e,i;return isNaN(t)&&"string"==typeof t&&((null===(e=t.match(s.K))||void 0===e?void 0:e.length)||0)+((null===(i=t.match(r))||void 0===i?void 0:i.length)||0)>0},parse:c,createTransformer:d,getAnimatableNone:function(t){let e=c(t);return d(t)(e.map(p))}}},61649:function(t,e,i){"use strict";i.d(e,{Fq:function(){return s},Rx:function(){return r},bA:function(){return o}});var n=i(24169);let r={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},s={...r,transform:t=>(0,n.u)(0,1,t)},o={...r,default:1}},96190:function(t,e,i){"use strict";i.d(e,{$C:function(){return u},RW:function(){return r},aQ:function(){return s},px:function(){return o},vh:function(){return a},vw:function(){return l}});let n=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),r=n("deg"),s=n("%"),o=n("px"),a=n("vh"),l=n("vw"),u={...s,parse:t=>s.parse(t)/100,transform:t=>s.transform(100*t)}}
1,68054:function(t,e,i){"use strict";i.d(e,{K:function(){return n}});let n=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},93609:function(t,e,i){"use strict";i.d(e,{N:function(){return n}});let n=t=>Math.round(1e5*t)/1e5},30607:function(t,e,i){"use strict";i.d(e,{K:function(){return r}});var n=i(40406);function r(t,e){let i=t.getValue("willChange");if((0,n.i)(i)&&i.add)return i.add(e)}},40406:function(t,e,i){"use strict";i.d(e,{i:function(){return n}});let n=t=>!!(t&&t.getVelocity)},16399:function(t,e,i){"use strict";i.d(e,{b:function(){return s}});var n=i(8715),r=i(40406);function s(t){let e=(0,r.i)(t)?t.get():t;return(0,n.p)(e)?e.toValue():e}},62777:function(t,e,i){"use strict";i.d(e,{sP:function(){return o},_F:function(){return p},iI:function(){return u},S9:function(){return c},wk:function(){return y},ev:function(){return a},Mr:function(){return _},qE:function(){return f},xD:function(){return d},DJ:function(){return A},hR:function(){return x},eB:function(){return function t(e,i){if(e)return"function"==typeof e&&v()?y(e,i):f(e)?w(e):Array.isArray(e)?e.map(e=>t(e,i)||j.easeOut):j[e]}},EO:function(){return l},OD:function(){return F},IG:function(){return P},KV:function(){return O},Vc:function(){return v},tn:function(){return r}});var n=i(70942);let r=(0,n.X)(()=>void 0!==window.ScrollTimeline);class s{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,e){for(let i=0;i<this.animations.length;i++)this.animations[i][t]=e}attachTimeline(t,e){let i=this.animations.map(i=>r()&&i.attachTimeline?i.attachTimeline(t):"function"==typeof e?e(i):void 0);return()=>{i.forEach((t,e)=>{t&&t(),this.animations[e].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let e=0;e<this.animations.length;e++)t=Math.max(t,this.animations[e].duration);return t}runAll(t){this.animations.forEach(e=>e[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class o extends s{then(t,e){return Promise.all(this.animations).then(t).catch(e)}}function a(t,e){return t?t[e]||t.default||t:void 0}let l=2e4;function u(t){let e=0,i=t.next(e);for(;!i.done&&e<l;)e+=50,i=t.next(e);return e>=l?1/0:e}var h=i(14400);function c(t,e=100,i){let n=i({...t,keyframes:[0,e]}),r=Math.min(u(n),l);return{type:"keyframes",ease:t=>n.next(r*t).value/e,duration:(0,h.X)(r)}}function d(t){return"function"==typeof t}function p(t,e){t.timeline=e,t.onfinish=null}let f=t=>Array.isArray(t)&&"number"==typeof t[0],m={linearEasing:void 0},v=function(t,e){let i=(0,n.X)(t);return()=>{var t;return null!==(t=m[e])&&void 0!==t?t:i()}}(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing");var g=i(58946);let y=(t,e,i=10)=>{let n="",r=Math.max(Math.round(e/i),2);for(let e=0;e<r;e++)n+=t((0,g.Y)(0,r-1,e))+", ";return`linear(${n.substring(0,n.length-2)})`};function x(t){return!!("function"==typeof t&&v()||!t||"string"==typeof t&&(t in j||v())||f(t)||Array.isArray(t)&&t.every(x))}let w=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,j={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:w([0,.65,.55,1]),circOut:w([.55,0,1,.45]),backIn:w([.31,.01,.66,-.59]),backOut:w([.33,1.53,.69,.99])},b={x:!1,y:!1};function P(t,e,i){var n;if(t instanceof Element)return[t];if("string"==typeof t){let r=document;e&&(r=e.current);let s=null!==(n=null==i?void 0:i[t])&&void 0!==n?n:r.querySelectorAll(t);return s?Array.from(s):[]}return Array.from(t)}function S(t,e){let i=P(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}function T(t){return e=>{"touch"===e.pointerType||b.x||b.y||t(e)}}function _(t,e,i={}){let[n,r,s]=S(t,i),o=T(t=>{let{target:i}=t,n=e(t);if("function"!=typeof n||!i)return;let s=T(t=>{n(t),i.removeEventListener("pointerleave",s)});i.addEventListener("pointerleave",s,r)});return n.forEach(t=>{t.addEventListener("pointerenter",o,r)}),s}let C=(t,e)=>!!e&&(t===e||C(t,e.parentElement)),A=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary,D=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),k=new WeakSet;function B(t){return e=>{"Enter"===e.key&&t(e)}}function M(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}let E=(t,e)=>{let i=t.currentTarget;if(!i)return;let n=B(()=>{if(k.has(i))return;M(i,"down");let t=B(()=>{M(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>M(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)};function V(t){return A(t)&&!(b.x||b.y)}function F(t,e,i={}){let[n,r,s]=S(t,i),o=t=>{let n=t.currentTarget;if(!V(t)||k.has(n))return;k.add(n);let s=e(t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),V(t)&&k.has(n)&&(k.delete(n),"function"==typeof s&&s(t,{success:e}))},a=t=>{o(t,i.useGlobalTarget||C(n,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",l,r)};return n.forEach(t=>{D.has(t.tagName)||-1!==t.tabIndex||null!==t.getAttribute("tabindex")||(t.tabIndex=0),(i.useGlobalTarget?window:t).addEventListener("pointerdown",o,r),t.addEventListener("focus",t=>E(t,r),r)}),s}function O(t){return"x"===t||"y"===t?b[t]?null:(b[t]=!0,()=>{b[t]=!1}):b.x||b.y?null:(b.x=b.y=!0,()=>{b.x=b.y=!1})}i(27726)},25386:function(t,e,i){"use strict";i.d(e,{K:function(){return r},k:function(){return s}});var n=i(27726);let r=n.Z,s=n.Z},70942:function(t,e,i){"use strict";function n(t){let e;return()=>(void 0===e&&(e=t()),e)}i.d(e,{X:function(){return n}})},27726:function(t,e,i){"use strict";i.d(e,{Z:function(){return n}});let n=t=>t},58946:function(t,e,i){"use strict";i.d(e,{Y:function(){return n}});let n=(t,e,i)=>{let n=e-t;return 0===n?1:(i-t)/n}},14400:function(t,e,i){"use strict";i.d(e,{X:function(){return r},w:function(){return n}});let n=t=>1e3*t,r=t=>t/1e3}},function(t){t.O(0,[2888],function(){return t(t.s=21137)}),_N_E=t.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.