1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[59],{239:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{html:t,height:n=null,width:o=null,children:a,dataNtpc:s=""}=e;return(0,i.useEffect)(()=>{s&&performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-".concat(s)}})},[s]),(0,r.jsxs)(r.Fragment,{children:[a,t?(0,r.jsx)("div",{style:{height:null!=n?"".concat(n,"px"):"auto",width:null!=o?"".concat(o,"px"):"auto"},"data-ntpc":s,dangerouslySetInnerHTML:{__html:t}}):null]})};let r=n(7437),i=n(2265)},4404:function(e,t,n){"use strict";var r;let i;Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleAnalytics=function(e){let{gaId:t,debugMode:n,dataLayerName:r="dataLayer",nonce:l}=e;return void 0===i&&(i=r),(0,a.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-ga"}})},[]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.default,{id:"_next-ga-init",dangerouslySetInnerHTML:{__html:"\n window['".concat(r,"'] = window['").concat(r,"'] || [];\n function gtag(){window['").concat(r,"'].push(arguments);}\n gtag('js', new Date());\n\n gtag('config', '").concat(t,"' ").concat(n?",{ 'debug_mode': true }":"",");")},nonce:l}),(0,o.jsx)(s.default,{id:"_next-ga",src:"https://www.googletagmanager.com/gtag/js?id=".concat(t),nonce:l})]})},t.sendGAEvent=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(void 0===i){console.warn("@next/third-parties: GA has not been initialized");return}window[i]?window[i].push(arguments):console.warn("@next/third-parties: GA dataLayer ".concat(i," does not exist"))};let o=n(7437),a=n(2265),s=(r=n(1877))&&r.__esModule?r:{default:r}},7640:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.sendGTMEvent=void 0,t.GoogleTagManager=function(e){let{gtmId:t,gtmScriptUrl:n="https://www.googletagmanager.com/gtm.js",dataLayerName:r="dataLayer",auth:l,preview:u,dataLayer:c,nonce:d}=e;s=r;let f="dataLayer"!==r?"&l=".concat(r):"";return(0,o.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-gtm"}})},[]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(a.default,{id:"_next-gtm-init",dangerouslySetInnerHTML:{__html:"\n (function(w,l){\n w[l]=w[l]||[];\n w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});\n ".concat(c?"w[l].push(".concat(JSON.stringify(c),")"):"","\n })(window,'").concat(r,"');")},nonce:d}),(0,i.jsx)(a.default,{id:"_next-gtm","data-ntpc":"GTM",src:"".concat(n,"?id=").concat(t).concat(f).concat(l?">m_auth=".concat(l):"").concat(u?">m_preview=".concat(u,">m_cookies_win=x"):""),nonce:d})]})};let i=n(7437),o=n(2265),a=(r=n(1877))&&r.__esModule?r:{default:r},s="dataLayer";t.sendGTMEvent=(e,t)=>{let n=t||s;window[n]=window[n]||[],window[n].push(e)}},2737:function(e){var t;t=function(){"use strict";var e="millisecond",t="second",n="minute",r="hour",i="week",o="month",a="quarter",s="year",l="date",u="Invalid Date",c=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,d=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},h="en",p={};p[h]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||"th")+"]"}};var m="$isDayjsObject",v=function(e){return e instanceof x||!(!e||!e[m])},g=function e(t,n,r){var i;if(!t)return h;if("string"==typeof t){var o=t.toLowerCase();p[o]&&(i=o),n&&(p[o]=n,i=o);var a=t.split("-");if(!i&&a.length>1)return e(a[0])}else{var s=t.name;p[s]=t,i=s}return!r&&i&&(h=i),i||!r&&h},y=function(e,t){if(v(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new x(n)},w={s:f,z:function(e){var t=-e.utcOffset(),n=Math.abs(t);return(t<=0?"+":"-")+f(Math.floor(n/60),2,"0")+":"+f(n%60,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,o),a=n-i<0,s=t.clone().add(r+(a?-1:1),o);return+(-(r+(n-i)/(a?i-s:s-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(u){return({M:o,y:s,w:i,d:"day",D:l,h:r,m:n,s:t,ms:e,Q:a})[u]||String(u||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};w.l=g,w.i=v,w.w=function(e,t){return y(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var x=function(){function f(e){this.$L=g(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[m]=!0}var h=f.prototype;return h.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(w.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(c);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(t)}(e),this.init()},h.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},h.$utils=function(){return w},h.isValid=function(){return this.$d.toString()!==u},h.isSame=function(e,t){var n=y(e);return this.startOf(t)<=n&&n<=this.endOf(t)},h.isAfter=function(e,t){return y(e)<this.startOf(t)},h.isBefore=function(e,t){return this.endOf(t)<y(e)},h.$g=function(e,t,n){return w.u(e)?this[t]:this.set(n,e)},h.unix=function(){return Math.floor(this.valueOf()/1e3)},h.valueOf=function(){return this.$d.getTime()},h.startOf=function(e,a){var u=this,c=!!w.u(a)||a,d=w.p(e),f=function(e,t){var n=w.w(u.$u?Date.UTC(u.$y,t,e):new Date(u.$y,t,e),u);return c?n:n.endOf("day")},h=function(e,t){return w.w(u.toDate()[e].apply(u.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(t)),u)},p=this.$W,m=this.$M,v=this.$D,g="set"+(this.$u?"UTC":"");switch(d){case s:return c?f(1,0):f(31,11);case o:return c?f(1,m):f(0,m+1);
1case i:var y=this.$locale().weekStart||0,x=(p<y?p+7:p)-y;return f(c?v-x:v+(6-x),m);case"day":case l:return h(g+"Hours",0);case r:return h(g+"Minutes",1);case n:return h(g+"Seconds",2);case t:return h(g+"Milliseconds",3);default:return this.clone()}},h.endOf=function(e){return this.startOf(e,!1)},h.$set=function(i,a){var u,c=w.p(i),d="set"+(this.$u?"UTC":""),f=((u={}).day=d+"Date",u[l]=d+"Date",u[o]=d+"Month",u[s]=d+"FullYear",u[r]=d+"Hours",u[n]=d+"Minutes",u[t]=d+"Seconds",u[e]=d+"Milliseconds",u)[c],h="day"===c?this.$D+(a-this.$W):a;if(c===o||c===s){var p=this.clone().set(l,1);p.$d[f](h),p.init(),this.$d=p.set(l,Math.min(this.$D,p.daysInMonth())).$d}else f&&this.$d[f](h);return this.init(),this},h.set=function(e,t){return this.clone().$set(e,t)},h.get=function(e){return this[w.p(e)]()},h.add=function(e,a){var l,u=this;e=Number(e);var c=w.p(a),d=function(t){var n=y(u);return w.w(n.date(n.date()+Math.round(t*e)),u)};if(c===o)return this.set(o,this.$M+e);if(c===s)return this.set(s,this.$y+e);if("day"===c)return d(1);if(c===i)return d(7);var f=((l={})[n]=6e4,l[r]=36e5,l[t]=1e3,l)[c]||1,h=this.$d.getTime()+e*f;return w.w(h,this)},h.subtract=function(e,t){return this.add(-1*e,t)},h.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||u;var r=e||"YYYY-MM-DDTHH:mm:ssZ",i=w.z(this),o=this.$H,a=this.$m,s=this.$M,l=n.weekdays,c=n.months,f=n.meridiem,h=function(e,n,i,o){return e&&(e[
1n]||e(t,r))||i[n].slice(0,o)},p=function(e){return w.s(o%12||12,e,"0")},m=f||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(d,function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return w.s(t.$y,4,"0");case"M":return s+1;case"MM":return w.s(s+1,2,"0");case"MMM":return h(n.monthsShort,s,c,3);case"MMMM":return h(c,s);case"D":return t.$D;case"DD":return w.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return h(n.weekdaysMin,t.$W,l,2);case"ddd":return h(n.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(o);case"HH":return w.s(o,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return m(o,a,!0);case"A":return m(o,a,!1);case"m":return String(a);case"mm":return w.s(a,2,"0");case"s":return String(t.$s);case"ss":return w.s(t.$s,2,"0");case"SSS":return w.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")})},h.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},h.diff=function(e,l,u){var c,d=this,f=w.p(l),h=y(e),p=(h.utcOffset()-this.utcOffset())*6e4,m=this-h,v=function(){return w.m(d,h)};switch(f){case s:c=v()/12;break;case o:c=v();break;case a:c=v()/3;break;case i:c=(m-p)/6048e5;break;case"day":c=(m-p)/864e5;break;case r:c=m/36e5;break;case n:c=m/6e4;break;case t:c=m/1e3;break;default:c=m}return u?c:w.a(c)},h.daysInMonth=function(){return this.endOf(o).$D},h.$locale=function(){return p[this.$L]},h.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=g(e,t,!0);return r&&(n.$L=r),n},h.clone=function(){return w.w(this.$d,this)},h.toDate=function(){return new Date(this.valueOf())},h.toJSON=function(){return this.isValid()?this.toISOString():null},h.toISOString=function(){return this.$d.toISOString()},h.toString=function(){return this.$d.toUTCString()},f}(),b=x.prototype;return y.prototype=b,[["$ms",e],["$s",t],["$m",n],["$H",r],["$W","day"],["$M",o],["$y",s],["$D",l]].forEach(function(e){b[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),y.extend=function(e,t){return e.$i||(e(t,x,y),e.$i=!0),y},y.locale=g,y.isDayjs=v,y.unix=function(e){return y(1e3*e)},y.en=p[h],y.Ls=p,y.p={},y},e.exports=t()},910:function(e){var t;t=function(){return function(e,t,n){var r="h:mm A",i={lastDay:"[Yesterday at] "+r,sameDay:"[Today at] "+r,nextDay:"[Tomorrow at] "+r,nextWeek:"dddd [at] "+r,lastWeek:"[Last] dddd [at] "+r,sameElse:"MM/DD/YYYY"};t.prototype.calendar=function(e,t){var r=t||this.$locale().calendar||i,o=n(e||void 0).startOf("d"),a=this.diff(o,"d",!0),s="sameElse",l=a<-6?s:a<-1?"lastWeek":a<0?"lastDay":a<1?"sameDay":a<2?"nextDay":a<7?"nextWeek":s,u=r[l]||i[l];return"function"==typeof u?u.call(this,n()):this.format(u)}}},e.exports=t()},7905:function(e){var t;t=function(){"use strict";var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,r=/\d\d/,i=/\d\d?/,o=/\d*[^-_:/,()\s\d]+/,a={},s=function(e){return(e=+e)+(e>68?1900:2e3)},l=function(e){return function(t){this[e]=+t}},u=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e||"Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return 0===n?0:"+"===t[0]?-n:n}(e)}],c=function(e){var t=a[e];return t&&(t.indexOf?t:t.s.concat(t.f))},d=function(e,t){var n,r=a.meridiem;if(r){for(var i=1;i<=24;i+=1)if(e.indexOf(r(i,0,t))>-1){n=i>12;break}}else n=e===(t?"pm":"PM");return n},f={A:[o,function(e){this.afternoon=d(e,!1)}],a:[o,function(e){this.afternoon=d(e,!0)}],Q:[n,function(e){this.month=3*(e-1)+1}],S:[n,function(e){this.milliseconds=100*+e}],SS:[r,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[i,l("seconds")],ss:[i,l("seconds")],m:[i,l("minutes")],mm:[i,l("minutes")],H:[i,l("hours")],h:[i,l("hours")],HH:[i,l("hours")],hh:[i,l("hours")],D:[i,l("day")],DD:[r,l("day")],Do:[o,function(e){var t=a.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,"")===e&&(this.day=r)}],w:[i,l("week")],ww:[r,l("week")],M:[i,l("month")],MM:[r,l("month")],MM
vendor: 1,156 bytes, line 1
1M:[o,function(e){var t=c("months"),n=(c("monthsShort")||t.map(function(e){return e.slice(0,3)})).indexOf(e)+1;if(n<1)throw Error();this.month=n%12||n}],MMMM:[o,function(e){var t=c("months").indexOf(e)+1;if(t<1)throw Error();this.month=t%12||t}],Y:[/[+-]?\d+/,l("year")],YY:[r,function(e){this.year=s(e)}],YYYY:[/\d{4}/,l("year")],Z:u,ZZ:u};return function(n,r,i){i.p.customParseFormat=!0,n&&n.parseTwoDigitYear&&(s=n.parseTwoDigitYear);var o=r.prototype,l=o.parse;o.parse=function(n){var r=n.date,o=n.utc,s=n.args;this.$u=o;var u=s[1];if("string"==typeof u){var c=!0===s[2],d=!0===s[3],h=s[2];d&&(h=s[2]),a=this.$locale(),!c&&h&&(a=i.Ls[h]),this.$d=function(n,r,i,o){try{if(["x","X"].indexOf(r)>-1)return new Date(("X"===r?1e3:1)*n);var s=(function(n){var r,i;r=n,i=a&&a.formats;for(var o=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(t,n,r){var o=r&&r.toUpperCase();return n||i[r]||e[r]||i[o].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,n){return t||n.slice(1)})})).match(t),s=o.length,l=0;l<s;l+=1){var u=o[l],c=f[u],d=c&&c[0],h=c&&c[1];o[l]=h?{regex:d,parser:h}:u.replace(/^\[|\]$/g,"")}return function(e){for(var t={},n=0,r=0;n<s;
1n+=1){var i=o[n];if("string"==typeof i)r+=i.length;else{var a=i.regex,l=i.parser,u=e.slice(r),c=a.exec(u)[0];l.call(t,c),e=e.replace(c,"")}}return function(e){var t=e.afternoon;if(void 0!==t){var n=e.hours;t?n<12&&(e.hours+=12):12===n&&(e.hours=0),delete e.afternoon}}(t),t}})(r)(n),l=s.year,u=s.month,c=s.day,d=s.hours,h=s.minutes,p=s.seconds,m=s.milliseconds,v=s.zone,g=s.week,y=new Date,w=c||(l||u?1:y.getDate()),x=l||y.getFullYear(),b=0;l&&!u||(b=u>0?u-1:y.getMonth());var S,M=d||0,E=h||0,C=p||0,$=m||0;return v?new Date(Date.UTC(x,b,w,M,E,C,$+60*v.offset*1e3)):i?new Date(Date.UTC(x,b,w,M,E,C,$)):(S=new Date(x,b,w,M,E,C,$),g&&(S=o(S).week(g).toDate()),S)}catch(e){return new Date("")}}(r,u,o,i),this.init(),h&&!0!==h&&(this.$L=this.locale(h).$L),(c||d)&&r!=this.format(u)&&(this.$d=new Date("")),a={}}else if(u instanceof Array)for(var p=u.length,m=1;m<=p;m+=1){s[1]=u[m-1];var v=i.apply(this,s);if(v.isValid()){this.$d=v.$d,this.$L=v.$L,this.init();break}m===p&&(this.$d=new Date(""))}else l.call(this,n)}}},e.exports=t()},9960:function(e){var t;t=function(){"use strict";var e,t,n=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,r=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,i={years:31536e6,months:2628e6,days:864e5,hours:36e5,minutes:6e4,seconds:1e3,milliseconds:1,weeks:6048e5},o=function(e){return e instanceof d},a=function(e,t,n){return new d(e,n,t.$l)},s=function(e){return t.p(e)+"s"},l=function(e){return e<0},u=function(e){return l(e)?Math.ceil(e):Math.floor(e)},c=function(e,t){return e?l(e)?{negative:!0,format:""+Math.abs(e)+t}:{negative:!1,format:""+e+t}:{negative:!1,format:""}},d=function(){function l(e,t,n){var o=this;if(this.$d={},this.$l=n,void 0===e&&(this.$ms=0,this.parseFromMilliseconds()),t)return a(e*i[s(t)],this);if("number"==typeof e)return this.$ms=e,this.parseFromMilliseconds(),this;if("object"==typeof e)return Object.keys(e).forEach(function(t){o.$d[s(t)]=e[t]}),this.calMilliseconds(),this;if("string"==typeof e){var l=e.match(r);if(l){var u=l.slice(2).map(function(e){return null!=e?Number(e):0});return this.$d.years=u[0],this.$d.months=u[1],this.$d.weeks=u[2],this.$d.days=u[3],this.$d.hours=u[4],this.$d.minutes=u[5],this.$d.seconds=u[6],this.calMilliseconds(),this}}return this}var d=l.prototype;return d.calMilliseconds=function(){var e=this;this.$ms=Object.keys(this.$d).reduce(function(t,n){return t+(e.$d[n]||0)*i[n]},0)},d.parseFromMilliseconds=function(){var e=this.$ms;this.$d.years=u(e/31536e6),e%=31536e6,this.$d.months=u(e/2628e6),e%=2628e6,this.$d.days=u(e/864e5),e%=864e5,this.$d.hours=u(e/36e5),e%=36e5,this.$d.minutes=u(e/6e4),e%=6e4,this.$d.seconds=u(e/1e3),e%=1e3,this.$d.milliseconds=e},d.toISOString=function(){var e=c(this.$d.years,"Y"),t=c(this.$d.months,"M"),n=+this.$d.days||0;this.$d.weeks&&(n+=7*this.$d.weeks);var r=c(n,"D"),i=c(this.$d.hours,"H"),o=c(this.$d.minutes,"M"),a=this.$d.seconds||0;this.$d.milliseconds&&(a+=this.$d.milliseconds/1e3,a=Math.round(1e3*a)/1e3);var s=c(a,"S"),l=e.negative||t.negative||r.negative||i.negative||o.negative||s.negative,u=i.format||o.format||s.format?"T":"",d=(l?"-":"")+"P"+e.format+t.format+r.format+u+i.format+o.format+s.format;return"P"===d||"-P"===d?"P0D":d},d.toJSON=function(){return this.toISOString()},d.format=function(e){var r={Y:this.$d.years,YY:t.s(this.$d.years,2,"0"),YYYY:t.s(this.$d.years,4,"0"),M:this.$d.months,MM:t.s(this.$d.months,2,"0"),D:this.$d.days,DD:t.s(this.$d.days,2,"0"),H:this.$d.hours,HH:t.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:t.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:t.s(this.$d.seconds,2,"0"),SSS:t.s(this.$d.milliseconds,3,"0")};return(e||"YYYY-MM-DDTHH:mm:ss").replace(n,function(e,t){return t||String(r[e])})},d.as=function(e){return this.$ms/i[s(e)]},d.get=function(e){var t=this.$ms,n=s(e);return"milliseconds"===n?t%=1e3:t="weeks"===n?u(t/i[n]):this.$d[n],t||0},d.add=function(e,t,n){var r;return r=t?e*i[s(t)]:o(e)?e.$ms:a(e,this).$ms,a(this.$ms+r*(n?-1:1),this)},d.subtract=function(e,t){return this.add(e,t,!0)},d.locale=function(e){var t=this.clone();return t.$l=e,t},d.clone=function(){return a(this.$ms,this)},d.humanize=function(t){return e().add(this.$ms,"ms").locale(this.$l).fromNow(!t)},d.valueOf=function(){return this.asMilliseconds()},d.milliseconds=function(){return this.get("milliseconds")},d.asMilliseconds=function(){return this.as("milliseconds")},d.seconds=function(){return this.get("seconds")},d.asSeconds=function(){return this.as("seconds")},d.minutes=function(){return this.get("minutes")},d.asMinutes=function(){return this.as("minutes")},d.hours=function(){return this.get("hours")},d.asHours=function(){return this.as("hours")},d.days=function(){return this.get("days")},d.asDays=function(){return this.as("days")},d.weeks=function(){return this.get("weeks")},d.asWeeks=function(){return this.as("weeks")},d.months=function(){return this.get("months")},d.asMonths=function(){return this.as("months")},d.years=function(){return this.get("years")},d.asYears=function(){return this.as("years")},l}(),f=function(e,t,n){return e.add(t.years()*n,"y").add(t.months()*n,"M").add(t.days()*n,"d").add(t.hours()*n,"h").add(t.minutes()*n,"m").add(t.seconds()*n,"s").add(t.milliseconds()*n,"ms")};return function(n,r,i){e=i,t=i().$utils(),i.duration=function(e,t){return a(e,{$l:i.locale()},t)},i.isDuration=o;var s=r.prototype.add,l=r.prototype.subtract;r.prototype.add=function(e,t){return o(e)?f(this,e,1):s.bind(this)(e,t)},r.prototype.subtract=function(e,t){return o(e)?f(this,e,-1):l.bind(this)(e,t)}}},e.exports=t()},7701:function(e){var t;t=function(){return function(e,t,n){t.prototype.isBetween=function(e,t,r,i){var o=n(e),a=n(t),s="("===(i=i||"()")[0],l=")"===i[1];return(s?this.isAfter(o,r):!this.isBefore(o,r))&&(l?this.isBefore(a,r):!this.isAfter(a,r))||(s?this.isBefore(o,r):!this.isAfter(o,r))&&(l?this.isAfter(a,r):!this.isBefore(a,r))}}},e.exports=t()},6454:function(e){var t;t=function(){return function(e,t){t.prototype.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)}}},e.exports=t()},748:function(e){var t;t=function(){return function(e,t){t.prototype.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)}}},e.exports=t()},1470:function(e){var t;t=function(){return function(e,t,n){e=e||{};var r=t.prototype,i={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function o(e,t,n,i){return r.fromToBase(e,t,n,i)}n.en.relativeTime=i,r.fromToBase=function(t,r,o,a,s){for(var l,u,c,d=o.$locale().relativeTime||i,f=e.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],h=f.length,p=0;p<h;p+=1){var m=f[p];m.d&&(l=a?n(t).diff(o,m.d,!0):o.diff(t,m.d,!0));var v=(e.rounding||Math.round)(Math.abs(l));if(c=l>0,v<=m.r||!m.r){v<=1&&p>0&&(m=f[p-1]);var g=d[m.l];s&&(v=s(""+v)),u="string"==typeof g?g.replace("%d",v):g(v,r,m.l,c);break}}if(r)return u;var y=c?d.future:d.past;return"function"==typeof y?y(u):y.replace("%s",u)},r.to=function(e,t){return o(e,t,this,!0)},r.from=function(e,t){return o(e,t,this)};var a=function(e){return e.$u?n.utc():n()};r.toNow=function(e){return this.to(a(this),e)},r.fromNow=function(e){return this.from(a(this),e)}}},e.exports=t()},1388:function(e){var t;t=function(){"use strict";var e={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(n,r,i){var o,a=function(e,n,r){void 0===r&&(r={});var i,o,a,s,l=new Date(e);return(void 0===(i=r)&&(i={}),(s=t[a=n+"|"+(o=i.timeZoneName||"short")])||(s=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:o}),t[a]=s),s).formatToParts(l)},s=function(t,n){for(var r=a(t,n),o=[],s=0;s<r.length;s+=1){var l=r[s],u=l.type,c=l.value,d=e[u];d>=0&&(o[d]=parseInt(c,10))}var f=o[3],h=o[0]+"-"+o[1]+"-"+o[2]+" "+(24===f?0:f)+":"+o[4]+":"+o[5]+":000",p=+t;return(i.utc(h).valueOf()-(p-=p%1e3))/6e4},l=r.prototype;l.tz=function(e,t){void 0===e&&(e=o);
1var n,r=this.utcOffset(),a=this.toDate(),s=a.toLocaleString("en-US",{timeZone:e}),l=Math.round((a-new Date(s))/1e3/60),u=-(15*Math.round(a.getTimezoneOffset()/15))-l;if(Number(u)){if(n=i(s,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(u,!0),t){var c=n.utcOffset();n=n.add(r-c,"minute")}}else n=this.utcOffset(0,t);return n.$x.$timezone=e,n},l.offsetName=function(e){var t=this.$x.$timezone||i.tz.guess(),n=a(this.valueOf(),t,{timeZoneName:e}).find(function(e){return"timezonename"===e.type.toLowerCase()});return n&&n.value};var u=l.startOf;l.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return u.call(this,e,t);var n=i(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return u.call(n,e,t).tz(this.$x.$timezone,!0)},i.tz=function(e,t,n){var r=n&&t,a=n||t||o,l=s(+i(),a);if("string"!=typeof e)return i(e).tz(a);var u=function(e,t,n){var r=e-60*t*1e3,i=s(r,n);if(t===i)return[r,t];var o=s(r-=60*(i-t)*1e3,n);return i===o?[r,i]:[e-60*Math.min(i,o)*1e3,Math.max(i,o)]}(i.utc(e,r).valueOf(),l,a),c=u[0],d=u[1],f=i(c).utcOffset(d);return f.$x.$timezone=a,f},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(e){o=e}}},e.exports=t()},783:function(e){var t;t=function(){return function(e,t,n){n.updateLocale=function(e,t){var r=n.Ls[e];if(r)return(t?Object.keys(t):[]).forEach(function(e){r[e]=t[e]}),r}}},e.exports=t()},6902:function(e){var t;t=function(){"use strict";var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,i,o){var a=i.prototype;o.utc=function(e){var t={date:e,utc:!0,args:arguments};return new i(t)},a.utc=function(t){var n=o(this.toDate(),{locale:this.$L,utc:!0});return t?n.add(this.utcOffset(),e):n},a.local=function(){return o(this.toDate(),{locale:this.$L,utc:!1})};var s=a.parse;a.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),s.call(this,e)};var l=a.init;a.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else l.call(this)};var u=a.utcOffset;a.utcOffset=function(r,i){var o=this.$utils().u;if(o(r))return this.$u?0:o(this.$offset)?u.call(this):this.$offset;if("string"==typeof r&&null===(r=function(e){void 0===e&&(e="");var r=e.match(t);if(!r)return null;var i=(""+r[0]).match(n)||["-",0,0],o=i[0],a=60*+i[1]+ +i[2];return 0===a?0:"+"===o?a:-a}(r)))return this;var a=16>=Math.abs(r)?60*r:r,s=this;if(i)return s.$offset=a,s.$u=0===r,s;if(0!==r){var l=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(s=this.local().add(a+l,e)).$offset=a,s.$x.$localOffset=l}else s=this.utc();return s};var c=a.format;a.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return c.call(this,t)},a.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},a.isUTC=function(){return!!this.$u},a.toISOString=function(){return this.toDate().toISOString()},a.toString=function(){return this.toDate().toUTCString()};var d=a.toDate;a.toDate=function(e){return"s"===e&&this.$offset?o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var f=a.diff;a.diff=function(e,t,n){if(e&&this.$u===e.$u)return f.call(this,e,t,n);var r=this.local(),i=o(e).local();return f.call(r,i,t,n)}}},e.exports=t()},6648:function(e,t,n){"use strict";n.d(t,{default:function(){return i.a}});var r=n(5601),i=n.n(r)},6863:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return w}});let r=n(9920),i=n(1452),o=n(7437),a=i._(n(2265)),s=r._(n(4887)),l=r._(n(8321)),u=n(497),c=n(7103),d=n(3938);n(2301);let f=n(291),h=r._(n(1241)),p={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function m(e,t,n,r,i,o,a){let s=null==e?void 0:e.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>
1{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),null==n?void 0:n.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let r=!1,i=!1;n.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>r,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{r=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==r?void 0:r.current)&&r.current(e)}}))}function v(e){let[t,n]=a.version.split(".",2),r=parseInt(t,10),i=parseInt(n,10);return r>18||18===r&&i>=3?{fetchPriority:e}:{fetchpriority:e}}"undefined"==typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let g=(0,a.forwardRef)((e,t)=>{let{src:n,srcSet:r,sizes:i,height:s,width:l,decoding:u,className:c,style:d,fetchPriority:f,placeholder:h,loading:p,unoptimized:g,fill:y,onLoadRef:w,onLoadingCompleteRef:x,setBlurComplete:b,setShowAltText:S,sizesInput:M,onLoad:E,onError:C,...$}=e;return(0,o.jsx)("img",{...$,...v(f),loading:p,width:l,height:s,decoding:u,"data-nimg":y?"fill":"1",className:c,style:d,sizes:i,srcSet:r,src:n,ref:(0,a.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(C&&(e.src=e.src),e.complete&&m(e,h,w,x,b,g,M))},[n,h,w,x,b,C,g,M,t]),onLoad:e=>{m(e.currentTarget,h,w,x,b,g,M)},onError:e=>{S(!0),"empty"!==h&&b(!0),C&&C(e)}})});function y(e){let{isAppRouter:t,imgAttributes:n}=e,r={as:"image",imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:n.crossOrigin,referrerPolicy:n.referrerPolicy,...v(n.fetchPriority)};return t&&s.default.preload?(s.default.preload(n.src,r),null):(0,o.jsx)(l.default,{children:(0,o.jsx)("link",{rel:"preload",href:n.srcSet?void 0:n.src,...r},"__nimg-"+n.src+n.srcSet+n.sizes)})}let w=(0,a.forwardRef)((e,t)=>{let n=(0,a.useContext)(f.RouterContext),r=(0,a.useContext)(d.ImageConfigContext),i=(0,a.useMemo)(()=>{let e=p||r||c.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),n=e.deviceSizes.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:n}},[r]),{onLoad:s,onLoadingComplete:l}=e,m=(0,a.useRef)(s);(0,a.useEffect)(()=>{m.current=s},[s]);let v=(0,a.useRef)(l);(0,a.useEffect)(()=>{v.current=l},[l]);let[w,x]=(0,a.useState)(!1),[b,S]=(0,a.useState)(!1),{props:M,meta:E}=(0,u.getImgProps)(e,{defaultLoader:h.default,imgConf:i,blurComplete:w,showAltText:b});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(g,{...M,unoptimized:E.unoptimized,placeholder:E.placeholder,fill:E.fill,onLoadRef:m,onLoadingCompleteRef:v,setBlurComplete:x,setShowAltText:S,sizesInput:e.sizes,ref:t}),E.priority?(0,o.jsx)(y,{isAppRouter:!n,imgAttributes:M}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2901:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return r}});let r=n(9920)._(n(2265)).default.createContext({})},687:function(e,t){"use strict";function n(e){let{ampFirst:t=!1,hybrid:n=!1,hasQuery:r=!1}=void 0===e?{}:e;return t||n&&r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return n}})},497:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return s}}),n(2301);let r=n(1564),i=n(7103);function o(e){return void 0!==e.default}function a(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function s(e,t){var n;let s,l,u,{src:c,sizes:d,unoptimized:f=!1,priority:h=!1,loading:p,className:m,quality:v,width:g,height:y,fill:w=!1,style:x,overrideSrc:b,onLoad:S,onLoadingComplete:M,placeholder:E="empty",blurDataURL:C,fetchPriority:$,layout:D,objectFit:O,objectPosition:T,lazyBoundary:L,lazyRoot:k,...R}=e,{imgConf:P,showAltText:A,blurComplete:j,defaultLoader:_}=t,N=P||i.imageConfigDefault;if("allSizes"in N)s=N;else{let e=[...N.deviceSizes,...N.imageSizes].sort((e,t)=>
1e-t),t=N.deviceSizes.sort((e,t)=>e-t);s={...N,allSizes:e,deviceSizes:t}}if(void 0===_)throw Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config");let I=R.loader||_;delete R.loader,delete R.srcSet;let Y="__next_img_default"in I;if(Y){if("custom"===s.loader)throw Error('Image with src "'+c+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=I;I=t=>{let{config:n,...r}=t;return e(r)}}if(D){"fill"===D&&(w=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[D];e&&(x={...x,...e});let t={responsive:"100vw",fill:"100vw"}[D];t&&!d&&(d=t)}let H="",z=a(g),F=a(y);if("object"==typeof(n=c)&&(o(n)||void 0!==n.src)){let e=o(c)?c.default:c;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(l=e.blurWidth,u=e.blurHeight,C=C||e.blurDataURL,H=e.src,!w){if(z||F){if(z&&!F){let t=z/e.width;F=Math.round(e.height*t)}else if(!z&&F){let t=F/e.height;z=Math.round(e.width*t)}}else z=e.width,F=e.height}}let W=!h&&("lazy"===p||void 0===p);(!(c="string"==typeof c?c:H)||c.startsWith("data:")||c.startsWith("blob:"))&&(f=!0,W=!1),s.unoptimized&&(f=!0),Y&&c.endsWith(".svg")&&!s.dangerouslyAllowSVG&&(f=!0),h&&($="high");let B=a(v),U=Object.assign(w?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:O,objectPosition:T}:{},A?{}:{color:"transparent"},x),V=j||"empty"===E?null:"blur"===E?'url("data:image/svg+xml;charset=utf-8,'+(0,r.getImageBlurSvg)({widthInt:z,heightInt:F,blurWidth:l,blurHeight:u,blurDataURL:C||"",objectFit:U.objectFit})+'")':'url("'+E+'")',Z=V?{backgroundSize:U.objectFit||"cover",backgroundPosition:U.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:V}:{},K=function(e){let{config:t,src:n,unoptimized:r,width:i,quality:o,sizes:a,loader:s}=e;if(r)return{src:n,srcSet:void 0,sizes:void 0};let{widths:l,kind:u}=function(e,t,n){let{deviceSizes:r,allSizes:i}=e;if(n){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let r;r=e.exec(n);r)t.push(parseInt(r[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=r[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:r,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))],kind:"x"}}(t,i,a),c=l.length-1;return{sizes:a||"w"!==u?a:"100vw",srcSet:l.map((e,r)=>s({config:t,src:n,quality:o,width:e})+" "+("w"===u?e:r+1)+u).join(", "),src:s({config:t,src:n,quality:o,width:l[c]})}}({config:s,src:c,unoptimized:f,width:z,quality:B,sizes:d,loader:I});return{props:{...R,loading:W?"lazy":p,fetchPriority:$,width:z,height:F,decoding:"async",className:m,style:{...U,...Z},sizes:K.sizes,srcSet:K.srcSet,src:b||K.src},meta:{unoptimized:f,priority:h,placeholder:E,fill:w}}}},8321:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return m},defaultHead:function(){return d}});let r=n(9920),i=n(1452),o=n(7437),a=i._(n(2265)),s=r._(n(5960)),l=n(2901),u=n(6590),c=n(687);function d(e){void 0===e&&(e=!1);let t=[(0,o.jsx)("meta",{charSet:"utf-8"})];return e||t.push((0,o.jsx)("meta",{name:"viewport",content:"width=device-width"})),t}function f(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===a.default.Fragment?e.concat(a.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}n(2301);let h=["name","httpEquiv","charSet","itemProp"];function p(e,t){let{inAmpMode:n}=t;return e.reduce(f,[]).reverse().concat(d(n).reverse()).filter(function(){let e=new Set,t=new Set,n=new Set,r={};return i=>{let o=!0,a=!1;if(i.key&&"number"!=typeof i.key&&i.key.indexOf("$")>0){a=!0;let t=i.key.slice(i.key.indexOf("$")+1);e.has(t)?o=!1:e.add(t)}switch(i.type){case"title":case"base":t.has(i.type)?o=!1:t.add(i.type);break;case"meta":for(let e=0,t=h.length;e<t;e++){let t=h[e];if(i.props.hasOwnProperty(t)){if("charSet"===t)n.has(t)?o=!1:n.add(t);else{let e=i.props[t],n=r[t]||new Set;("name"!==t||!a)&&n.has(e)?o=!1:(n.add(e),r[t]=n)}}}}return o}}()).reverse().map((e,t)=>{let r=e.key||t;if(!n&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,a.default.cloneElement(e,t)}return a.default.cloneElement(e,{key:r})})}let m=function(e){let{children:t}=e,n=(0,a.useContext)(l.AmpStateContext),r=(0,a.useContext)(u.HeadManagerContext);return(0,o.jsx)(s.default,{reduceComponentsToState:p,headManager:r,inAmpMode:(0,c.isInAmpMode)(n),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1564:function(e,t){"use strict";function n(e){let{widthInt:t,heightInt:n,blurWidth:r,blurHeight:i,blurDataURL:o,objectFit:a}=e,s=r?40*r:t,l=i?40*i:n,u=s&&l?"viewBox='0 0 "+s+" "+l+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+u+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(u?"none":"contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+o+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},3938:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return o}});let r=n(9920)._(n(2265)),i=n(7103),o=r.default.createContext(i.imageConfigDefault)},7103:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{VALID_LOADERS:function(){return n},imageConfigDefault:function(){return r}});let n=["default","imgix","cloudinary","akamai","custom"],r={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",remotePatterns:[],unoptimized:!1}},5601:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return l},getImageProps:function(){return s}});let r=n(9920),i=n(497),o=n(6863),a=r._(n(1241));function s(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:a.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let l=o.Image},1241:function(e,t){"use strict";function n(e){let{config:t,src:n,width:r,quality:i}=e;return t.path+"?url="+encodeURIComponent(n)+"&w="+r+"&q="+(i||75)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}}),n.__next_img_default=!0;let r=n},5960:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let r=n(2265),i="undefined"==typeof window,o=i?()=>{}:r.useLayoutEffect,a=i?()=>{}:r.useEffect;function s(e){let{headManager:t,reduceComponentsToState:n}=e;function s(){if(t&&t.mountedInstances){let i=r.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(n(i,e))}}if(i){var l;null==t||null==(l=t.mountedInstances)||l.add(e.children),s()}return o(()=>{var n;return null==t||null==(n=t.mountedInstances)||n.add(e.children),()=>{var n;null==t||null==(n=t.mountedInstances)||n.delete(e.children)}}),o(()=>(t&&(t._pendingUpdate=s),()=>{t&&(t._pendingUpdate=s)})),a(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},9329:function(e,t,n){"use strict";n.d(t,{XV:function(){return $}}),(r=a||(a={}))[r.DEFAULT=4]="DEFAULT",r[r.UP=0]="UP",r[r.DOWN=1]="DOWN",r[r.CEIL=2]="CEIL",r[r.FLOOR=3]="FLOOR",r[r.HALF_UP=4]="HALF_UP",r[r.HALF_DOWN=5]="HALF_DOWN",r[r.HALF_CEIL=7]="HALF_CEIL",r[r.HALF_FLOOR=8]="HALF_FLOOR",(i=s||(s={})).LESS="LESS",i.GREATER="GREATER",(o=l||(l={}))[o.WEI=18]="WEI",o[o.YOCTO=24]="YOCTO",o[o.LAMPORT=9]="LAMPORT",a.DEFAULT,l.WEI,new WeakMap,new WeakMap,new WeakMap,new WeakMap,new WeakMap,new WeakSet,new WeakSet;var r,i,o,a,s,l,u=n(2737),c=n(9960);u.extend(c),new WeakMap;var d=n(910),f=n(7905),h=n(7701),p=n(6454),m=n(748),v=n(1470),g=n(1388),y=n(783),w=n(6902);function x(e,t,n){if(!t.has(e))throw TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function b(e,t){var n=x(e,t,"get");return n.get?n.get.call(e):n.value}function S(e,t,n){var r=x(e,t,"set");return!function(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw TypeError("attempted to set read only private field");t.value=n}}(e,r,n),n}u.extend(p),u.extend(m),u.extend(v),u.extend(h),u.extend(d),u.extend(w),u.extend(f),u.extend(y),u.extend(g),u.extend(c);var M=new WeakMap;class E{static locale(e,t,n){return u.locale(e,t,n)}static setDefaultTimezone(e){u.tz.setDefault(e)}static setLocale(e,t){return u.updateLocale(e,t)}_dayjs(e,t){return u(C(e),t)}_tz(e,t){return u.tz(C(e),t)}get dayjs(){return b(this,M)}tz(e){return S(this,M,this._tz(b(this,M),e)),this}utc(e){return S(this,M,b(this,M).utc(e)),this}get isValid(){return b(this,M).isValid()}clone(){return new E(b(this,M).clone())}get timestamp(){return b(this,M).unix()}get ms(){return b(this,M).valueOf()}
1get ISO(){return b(this,M).toISOString()}get RFC3339(){return b(this,M).utc(!0).format("YYYY-MM-DDTHH:mm:ss[Z]")}get(e){return b(this,M).get(e)}getAsObject(e){return e.reduce((e,t)=>(e[t]=this.get(t),e),{})}add(e,t){return S(this,M,b(this,M).add(e,t)),this}format(e){return b(this,M).format(e)}toDate(){return b(this,M).toDate()}toCalendar(e,t){return b(this,M).calendar(C(e),t)}subtract(e,t){return S(this,M,b(this,M).subtract(e,t)),this}startOf(e){return S(this,M,b(this,M).startOf(e)),this}isSame(e,t){return b(this,M).isSame(C(e),t)}isBefore(e){return b(this,M).isBefore(C(e))}isAfter(e){return b(this,M).isAfter(C(e))}isSameOrAfter(e){return b(this,M).isSameOrAfter(C(e))}isSameOrBefore(e){return b(this,M).isSameOrBefore(C(e))}isBetween(e,t,n,r){return b(this,M).isBetween(C(e),C(t),n,r)}diff(e,t,n=!1){return b(this,M).diff(e.dayjs,t,n)}getFrom(e){return b(this,M).from(C(e))}get fromNow(){return b(this,M).fromNow()}getTo(e){return b(this,M).to(C(e))}get toNow(){return b(this,M).toNow()}constructor(e,t){var n;n={writable:!0,value:void 0},function(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}(this,M),M.set(this,n),S(this,M,this._dayjs(e,t))}}let C=e=>"number"==typeof e?1e3*e:e instanceof E?e.dayjs:e,$=(e,t)=>new E(e,t)},3965:function(e,t,n){"use strict";let r;n.d(t,{VY:function(){return ri},ZA:function(){return ra},JO:function(){return rn},ck:function(){return rl},wU:function(){return rc},eT:function(){return ru},__:function(){return rs},h_:function(){return rr},fC:function(){return n7},$G:function(){return rf},u_:function(){return rd},Z0:function(){return rh},xz:function(){return re},B4:function(){return rt},l_:function(){return ro}});var i,o,a,s,l,u,c,d,f=n(2265),h=n.t(f,2),p=n(4887);function m(e,[t,n]){return Math.min(n,Math.max(t,e))}function v(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}var g=n(7437);function y(e,t=[]){let n=[],r=()=>{let t=n.map(e=>f.createContext(e));return function(n){let r=n?.[e]||t;return f.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){let i=f.createContext(r),o=n.length;n=[...n,r];let a=t=>{let{scope:n,children:r,...a}=t,s=n?.[e]?.[o]||i,l=f.useMemo(()=>a,Object.values(a));return(0,g.jsx)(s.Provider,{value:l,children:r})};return a.displayName=t+"Provider",[a,function(n,a){let s=a?.[e]?.[o]||i,l=f.useContext(s);if(l)return l;if(void 0!==r)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return f.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}(r,...t)]}function w(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function x(...e){return t=>{let n=!1,r=e.map(e=>{let r=w(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():w(e[t],null)}}}}function b(...e){return f.useCallback(x(...e),e)}var S=f.forwardRef((e,t)=>{let{children:n,...r}=e,i=f.Children.toArray(n),o=i.find(C);if(o){let e=o.props.children,n=i.map(t=>t!==o?t:f.Children.count(e)>1?f.Children.only(null):f.isValidElement(e)?e.props.children:null);return(0,g.jsx)(M,{...r,ref:t,children:f.isValidElement(e)?f.cloneElement(e,void 0,n):null})}return(0,g.jsx)(M,{...r,ref:t,children:n})});S.displayName="Slot";var M=f.forwardRef((e,t)=>{let{children:n,...r}=e;if(f.isValidElement(n)){let e,i;let o=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref,a=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{o(...e),i(...e)}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==f.Fragment&&(a.ref=t?x(t,o):o),f.cloneElement(n,a)}return f.Children.count(n)>1?f.Children.only(null):null});M.displayName="SlotClone";var E=({children:e})=>(0,g.jsx)(g.Fragment,{children:e});function C(e){return f.isValidElement(e)&&e.type===E}var $=f.createContext(void 0),D=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>
1{let n=f.forwardRef((e,n)=>{let{asChild:r,...i}=e,o=r?S:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,g.jsx)(o,{...i,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function O(e){let t=f.useRef(e);return f.useEffect(()=>{t.current=e}),f.useMemo(()=>(...e)=>t.current?.(...e),[])}var T="dismissableLayer.update",L=f.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),k=f.forwardRef((e,t)=>{var n,r;let{disableOutsidePointerEvents:i=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:s,onInteractOutside:l,onDismiss:u,...d}=e,h=f.useContext(L),[p,m]=f.useState(null),y=null!==(r=null==p?void 0:p.ownerDocument)&&void 0!==r?r:null===(n=globalThis)||void 0===n?void 0:n.document,[,w]=f.useState({}),x=b(t,e=>m(e)),S=Array.from(h.layers),[M]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),E=S.indexOf(M),C=p?S.indexOf(p):-1,$=h.layersWithOutsidePointerEventsDisabled.size>0,k=C>=E,A=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=O(e),i=f.useRef(!1),o=f.useRef(()=>{});return f.useEffect(()=>{let e=e=>{if(e.target&&!i.current){let t=function(){P("dismissableLayer.pointerDownOutside",r,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",o.current),o.current=t,n.addEventListener("click",o.current,{once:!0})):t()}else n.removeEventListener("click",o.current);i.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",o.current)}},[n,r]),{onPointerDownCapture:()=>i.current=!0}}(e=>{let t=e.target,n=[...h.branches].some(e=>e.contains(t));!k||n||(null==a||a(e),null==l||l(e),e.defaultPrevented||null==u||u())},y),j=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=O(e),i=f.useRef(!1);return f.useEffect(()=>{let e=e=>{e.target&&!i.current&&P("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}(e=>{let t=e.target;[...h.branches].some(e=>e.contains(t))||(null==s||s(e),null==l||l(e),e.defaultPrevented||null==u||u())},y);return!function(e,t=globalThis?.document){let n=O(e);f.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{C!==h.layers.size-1||(null==o||o(e),!e.defaultPrevented&&u&&(e.preventDefault(),u()))},y),f.useEffect(()=>{if(p)return i&&(0===h.layersWithOutsidePointerEventsDisabled.size&&(c=y.body.style.pointerEvents,y.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(p)),h.layers.add(p),R(),()=>{i&&1===h.layersWithOutsidePointerEventsDisabled.size&&(y.body.style.pointerEvents=c)}},[p,y,i,h]),f.useEffect(()=>()=>{p&&(h.layers.delete(p),h.layersWithOutsidePointerEventsDisabled.delete(p),R())},[p,h]),f.useEffect(()=>{let e=()=>w({});return document.addEventListener(T,e),()=>document.removeEventListener(T,e)},[]),(0,g.jsx)(D.div,{...d,ref:x,style:{pointerEvents:$?k?"auto":"none":void 0,...e.style},onFocusCapture:v(e.onFocusCapture,j.onFocusCapture),onBlurCapture:v(e.onBlurCapture,j.onBlurCapture),onPointerDownCapture:v(e.onPointerDownCapture,A.onPointerDownCapture)})});function R(){let e=new CustomEvent(T);document.dispatchEvent(e)}function P(e,t,n,r){let{discrete:i}=r,o=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});(t&&o.addEventListener(e,t,{once:!0}),i)?o&&p.flushSync(()=>o.dispatchEvent(a)):o.dispatchEvent(a)}k.displayName="DismissableLayer",f.forwardRef((e,t)=>{let n=f.useContext(L),r=f.useRef(null),i=b(t,r);return f.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,g.jsx)(D.div,{...e,ref:i})}).displayName="DismissableLayerBranch";var A=0;function j(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.
1style.position="fixed",e.style.pointerEvents="none",e}var _="focusScope.autoFocusOnMount",N="focusScope.autoFocusOnUnmount",I={bubbles:!1,cancelable:!0},Y=f.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...a}=e,[s,l]=f.useState(null),u=O(i),c=O(o),d=f.useRef(null),h=b(t,e=>l(e)),p=f.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;f.useEffect(()=>{if(r){let e=function(e){if(p.paused||!s)return;let t=e.target;s.contains(t)?d.current=t:F(d.current,{select:!0})},t=function(e){if(p.paused||!s)return;let t=e.relatedTarget;null===t||s.contains(t)||F(d.current,{select:!0})};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&F(s)});return s&&n.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,s,p.paused]),f.useEffect(()=>{if(s){W.add(p);let e=document.activeElement;if(!s.contains(e)){let t=new CustomEvent(_,I);s.addEventListener(_,u),s.dispatchEvent(t),t.defaultPrevented||(function(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.activeElement;for(let r of e)if(F(r,{select:t}),document.activeElement!==n)return}(H(s).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&F(s))}return()=>{s.removeEventListener(_,u),setTimeout(()=>{let t=new CustomEvent(N,I);s.addEventListener(N,c),s.dispatchEvent(t),t.defaultPrevented||F(null!=e?e:document.body,{select:!0}),s.removeEventListener(N,c),W.remove(p)},0)}}},[s,u,c,p]);let m=f.useCallback(e=>{if(!n&&!r||p.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){let t=e.currentTarget,[r,o]=function(e){let t=H(e);return[z(t,e),z(t.reverse(),e)]}(t);r&&o?e.shiftKey||i!==o?e.shiftKey&&i===r&&(e.preventDefault(),n&&F(o,{select:!0})):(e.preventDefault(),n&&F(r,{select:!0})):i===t&&e.preventDefault()}},[n,r,p.paused]);return(0,g.jsx)(D.div,{tabIndex:-1,...a,ref:h,onKeyDown:m})});function H(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function z(e,t){for(let n of e)if(!function(e,t){let{upTo:n}=t;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===n||e!==n);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function F(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}Y.displayName="FocusScope";var W=(r=[],{add(e){let t=r[0];e!==t&&(null==t||t.pause()),(r=B(r,e)).unshift(e)},remove(e){var t;null===(t=(r=B(r,e))[0])||void 0===t||t.resume()}});function B(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}var U=globalThis?.document?f.useLayoutEffect:()=>{},V=h["useId".toString()]||(()=>void 0),Z=0;function K(e){let[t,n]=f.useState(V());return U(()=>{e||n(e=>e??String(Z++))},[e]),e||(t?`radix-${t}`:"")}let G=["top","right","bottom","left"],X=Math.min,q=Math.max,J=Math.round,Q=Math.floor,ee=e=>({x:e,y:e}),et={left:"right",right:"left",bottom:"top",top:"bottom"},en={start:"end",end:"start"};function er(e,t){return"function"==typeof e?e(t):e}function ei(e){return e.split("-")[0]}function eo(e){return e.split("-")[1]}function ea(e){return"x"===e?"y":"x"}function es(e){return"y"===e?"height":"width"}function el(e){return["top","bottom"].includes(ei(e))?"y":"x"}function eu(e){return e.replace(/start|end/g,e=>en[e])}function ec(e){return e.replace(/left|right|bottom|top/g,e=>et[e])}function ed(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function ef(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function eh(e,t,n){let r,{reference:i,floating:o}=e,a=el(t),s=ea(el(t)),l=es(s),u=ei(t),c="y"===a,d=i.x+i.width/2-o.width/2,f=i.y+i.height/2-o.height/2,h=i[l]/2-o[l]/2;switch(u){case"top":r={x:d,y:i.y-o.height};break;case"bottom":r={x:d,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:f};break;case"left":r={x:i.x-o.width,y:f};break;default:r={x:i.x,y:i.y}}switch(eo(t)){case"start":r[s]-=h*(n&&c?-1:1);break;case"end":r[s]+=h*(n&&c?-1:1)}return r}let ep=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}
1=n,s=o.filter(Boolean),l=await (null==a.isRTL?void 0:a.isRTL(t)),u=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:d}=eh(u,r,l),f=r,h={},p=0;for(let n=0;n<s.length;n++){let{name:o,fn:m}=s[n],{x:v,y:g,data:y,reset:w}=await m({x:c,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:h,rects:u,platform:a,elements:{reference:e,floating:t}});c=null!=v?v:c,d=null!=g?g:d,h={...h,[o]:{...h[o],...y}},w&&p<=50&&(p++,"object"==typeof w&&(w.placement&&(f=w.placement),w.rects&&(u=!0===w.rects?await a.getElementRects({reference:e,floating:t,strategy:i}):w.rects),{x:c,y:d}=eh(u,f,l)),n=-1)}return{x:c,y:d,placement:f,strategy:i,middlewareData:h}};async function em(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:f=!1,padding:h=0}=er(t,e),p=ed(h),m=s[f?"floating"===d?"reference":"floating":d],v=ef(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(m)))||n?m:m.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:l})),g="floating"===d?{x:r,y:i,width:a.floating.width,height:a.floating.height}:a.reference,y=await (null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),w=await (null==o.isElement?void 0:o.isElement(y))&&await (null==o.getScale?void 0:o.getScale(y))||{x:1,y:1},x=ef(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:g,offsetParent:y,strategy:l}):g);return{top:(v.top-x.top+p.top)/w.y,bottom:(x.bottom-v.bottom+p.bottom)/w.y,left:(v.left-x.left+p.left)/w.x,right:(x.right-v.right+p.right)/w.x}}function ev(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function eg(e){return G.some(t=>e[t]>=0)}async function ey(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),a=ei(n),s=eo(n),l="y"===el(n),u=["left","top"].includes(a)?-1:1,c=o&&l?-1:1,d=er(t,e),{mainAxis:f,crossAxis:h,alignmentAxis:p}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&"number"==typeof p&&(h="end"===s?-1*p:p),l?{x:h*c,y:f*u}:{x:f*u,y:h*c}}function ew(){return"undefined"!=typeof window}function ex(e){return eM(e)?(e.nodeName||"").toLowerCase():"#document"}function eb(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function eS(e){var t;return null==(t=(eM(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function eM(e){return!!ew()&&(e instanceof Node||e instanceof eb(e).Node)}function eE(e){return!!ew()&&(e instanceof Element||e instanceof eb(e).Element)}function eC(e){return!!ew()&&(e instanceof HTMLElement||e instanceof eb(e).HTMLElement)}function e$(e){return!!ew()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof eb(e).ShadowRoot)}function eD(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=eR(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function eO(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(e){return!1}})}function eT(e){let t=eL(),n=eE(e)?eR(e):e;return["transform","translate","scale","rotate","perspective"].some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","translate","scale","rotate","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function eL(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function ek(e){return["html","body","#document"].includes(ex(e))}function eR(e){return eb(e).getComputedStyle(e)}function eP(e){return eE(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function eA(e){if("html"===ex(e))return e;let t=e.assignedSlot||e.parentNode||e$(e)&&e.host||eS(e);return e$(t)?t.host:t}
1function ej(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=eA(t);return ek(n)?t.ownerDocument?t.ownerDocument.body:t.body:eC(n)&&eD(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=eb(i);if(o){let e=e_(a);return t.concat(a,a.visualViewport||[],eD(i)?i:[],e&&n?ej(e):[])}return t.concat(i,ej(i,[],n))}function e_(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function eN(e){let t=eR(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=eC(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=J(n)!==o||J(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}function eI(e){return eE(e)?e:e.contextElement}function eY(e){let t=eI(e);if(!eC(t))return ee(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=eN(t),a=(o?J(n.width):n.width)/r,s=(o?J(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}let eH=ee(0);function ez(e){let t=eb(e);return eL()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:eH}function eF(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),a=eI(e),s=ee(1);t&&(r?eE(r)&&(s=eY(r)):s=eY(e));let l=(void 0===(i=n)&&(i=!1),r&&(!i||r===eb(a))&&i)?ez(a):ee(0),u=(o.left+l.x)/s.x,c=(o.top+l.y)/s.y,d=o.width/s.x,f=o.height/s.y;if(a){let e=eb(a),t=r&&eE(r)?eb(r):r,n=e,i=e_(n);for(;i&&r&&t!==n;){let e=eY(i),t=i.getBoundingClientRect(),r=eR(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,c*=e.y,d*=e.x,f*=e.y,u+=o,c+=a,i=e_(n=eb(i))}}return ef({width:d,height:f,x:u,y:c})}function eW(e,t){let n=eP(e).scrollLeft;return t?t.left+n:eF(eS(e)).left+n}function eB(e,t,n){void 0===n&&(n=!1);let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:eW(e,r)),y:r.top+t.scrollTop}}function eU(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=eb(e),r=eS(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;let e=eL();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s,y:l}}(e,n);else if("document"===t)r=function(e){let t=eS(e),n=eP(e),r=e.ownerDocument.body,i=q(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=q(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),a=-n.scrollLeft+eW(e),s=-n.scrollTop;return"rtl"===eR(r).direction&&(a+=q(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:s}}(eS(e));else if(eE(t))r=function(e,t){let n=eF(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=eC(e)?eY(e):ee(1),a=e.clientWidth*o.x;return{width:a,height:e.clientHeight*o.y,x:i*o.x,y:r*o.y}}(t,n);else{let n=ez(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return ef(r)}function eV(e){return"static"===eR(e).position}function eZ(e,t){if(!eC(e)||"fixed"===eR(e).position)return null;if(t)return t(e);let n=e.offsetParent;return eS(e)===n&&(n=n.ownerDocument.body),n}function eK(e,t){let n=eb(e);if(eO(e))return n;if(!eC(e)){let t=eA(e);for(;t&&!ek(t);){if(eE(t)&&!eV(t))return t;t=eA(t)}return n}let r=eZ(e,t);for(;r&&["table","td","th"].includes(ex(r))&&eV(r);)r=eZ(r,t);return r&&ek(r)&&eV(r)&&!eT(r)?n:r||function(e){let t=eA(e);for(;eC(t)&&!ek(t);){if(eT(t))return t;if(eO(t))break;t=eA(t)}return null}(e)||n}let eG=async function(e){let t=this.getOffsetParent||eK,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=eC(t),i=eS(t),o="fixed"===n,a=eF(e,!0,o,t),s={scrollLeft:0,scrollTop:0},l=ee(0);if(r||!r&&!o){if(("body"!==ex(t)||eD(i))&&(s=eP(t)),r){let e=eF(t,!0,o,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else i&&(l.x=eW(i))}let u=!i||r||o?ee(0):eB(i,s);return{x:a.left+s.scrollLeft-l.x-u.x,y:a.top+s.scrollTop-l.y-u.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},eX={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,a=eS(r),s=!!t&&eO(t.floating);if(r===a||s&&o)return n;let l={scrollLeft:0,scrollTop:0},u=ee(1),c=ee(0),d=eC(r);
1if((d||!d&&!o)&&(("body"!==ex(r)||eD(a))&&(l=eP(r)),eC(r))){let e=eF(r);u=eY(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}let f=!a||d||o?ee(0):eB(a,l,!0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+c.x+f.x,y:n.y*u.y-l.scrollTop*u.y+c.y+f.y}},getDocumentElement:eS,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,o=[..."clippingAncestors"===n?eO(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=ej(e,[],!1).filter(e=>eE(e)&&"body"!==ex(e)),i=null,o="fixed"===eR(e).position,a=o?eA(e):e;for(;eE(a)&&!ek(a);){let t=eR(a),n=eT(a);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&!!i&&["absolute","fixed"].includes(i.position)||eD(a)&&!n&&function e(t,n){let r=eA(t);return!(r===n||!eE(r)||ek(r))&&("fixed"===eR(r).position||e(r,n))}(e,a))?r=r.filter(e=>e!==a):i=t,a=eA(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=o[0],s=o.reduce((e,n)=>{let r=eU(t,n,i);return e.top=q(r.top,e.top),e.right=X(r.right,e.right),e.bottom=X(r.bottom,e.bottom),e.left=q(r.left,e.left),e},eU(t,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:eK,getElementRects:eG,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=eN(e);return{width:t,height:n}},getScale:eY,isElement:eE,isRTL:function(e){return"rtl"===eR(e).direction}};function eq(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let eJ=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:i,rects:o,platform:a,elements:s,middlewareData:l}=t,{element:u,padding:c=0}=er(e,t)||{};if(null==u)return{};let d=ed(c),f={x:n,y:r},h=ea(el(i)),p=es(h),m=await a.getDimensions(u),v="y"===h,g=v?"clientHeight":"clientWidth",y=o.reference[p]+o.reference[h]-f[h]-o.floating[p],w=f[h]-o.reference[h],x=await (null==a.getOffsetParent?void 0:a.getOffsetParent(u)),b=x?x[g]:0;b&&await (null==a.isElement?void 0:a.isElement(x))||(b=s.floating[g]||o.floating[p]);let S=b/2-m[p]/2-1,M=X(d[v?"top":"left"],S),E=X(d[v?"bottom":"right"],S),C=b-m[p]-E,$=b/2-m[p]/2+(y/2-w/2),D=q(M,X($,C)),O=!l.arrow&&null!=eo(i)&&$!==D&&o.reference[p]/2-($<M?M:E)-m[p]/2<0,T=O?$<M?$-M:$-C:0;return{[h]:f[h]+T,data:{[h]:D,centerOffset:$-D-T,...O&&{alignmentOffset:T}},reset:O}}}),eQ=(e,t,n)=>{let r=new Map,i={platform:eX,...n},o={...i.platform,_c:r};return ep(e,t,{...i,platform:o})};var e0="undefined"!=typeof document?f.useLayoutEffect:f.useEffect;function e1(e,t){let n,r,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!e1(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!e1(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function e2(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function e3(e,t){let n=e2(e);return Math.round(t*n)/n}function e6(e){let t=f.useRef(e);return e0(()=>{t.current=e}),t}let e4=e=>({name:"arrow",options:e,fn(t){let{element:n,padding:r}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?eJ({element:n.current,padding:r}).fn(t):{}:n?eJ({element:n,padding:r}).fn(t):{}}}),e5=(e,t)=>{var n;return{...(void 0===(n=e)&&(n=0),{name:"offset",options:n,async fn(e){var t,r;let{x:i,y:o,placement:a,middlewareData:s}=e,l=await ey(e,n);return a===(null==(t=s.offset)?void 0:t.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:i+l.x,y:o+l.y,data:{...l,placement:a}}}}),options:[e,t]}},e8=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"shift",options:n,async fn(e){let{x:t,y:r,placement:i}=e,{mainAxis:o=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=er(n,e),u={x:t,y:r},c=await em(e,l),d=el(ei(i)),f=ea(d),h=u[f],p=u[d];if(o){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",n=h+c[e],r=h-c[t];h=q(n,X(h,r))}
1if(a){let e="y"===d?"top":"left",t="y"===d?"bottom":"right",n=p+c[e],r=p-c[t];p=q(n,X(p,r))}let m=s.fn({...e,[f]:h,[d]:p});return{...m,data:{x:m.x-t,y:m.y-r,enabled:{[f]:o,[d]:a}}}}}),options:[e,t]}},e9=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{options:n,fn(e){let{x:t,y:r,placement:i,rects:o,middlewareData:a}=e,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=er(n,e),c={x:t,y:r},d=el(i),f=ea(d),h=c[f],p=c[d],m=er(s,e),v="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){let e="y"===f?"height":"width",t=o.reference[f]-o.floating[e]+v.mainAxis,n=o.reference[f]+o.reference[e]-v.mainAxis;h<t?h=t:h>n&&(h=n)}if(u){var g,y;let e="y"===f?"width":"height",t=["top","left"].includes(ei(i)),n=o.reference[d]-o.floating[e]+(t&&(null==(g=a.offset)?void 0:g[d])||0)+(t?0:v.crossAxis),r=o.reference[d]+o.reference[e]+(t?0:(null==(y=a.offset)?void 0:y[d])||0)-(t?v.crossAxis:0);p<n?p=n:p>r&&(p=r)}return{[f]:h,[d]:p}}}),options:[e,t]}},e7=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"flip",options:n,async fn(e){var t,r,i,o,a;let{placement:s,middlewareData:l,rects:u,initialPlacement:c,platform:d,elements:f}=e,{mainAxis:h=!0,crossAxis:p=!0,fallbackPlacements:m,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:y=!0,...w}=er(n,e);if(null!=(t=l.arrow)&&t.alignmentOffset)return{};let x=ei(s),b=el(c),S=ei(c)===c,M=await (null==d.isRTL?void 0:d.isRTL(f.floating)),E=m||(S||!y?[ec(c)]:function(e){let t=ec(e);return[eu(e),t,eu(t)]}(c)),C="none"!==g;!m&&C&&E.push(...function(e,t,n,r){let i=eo(e),o=function(e,t,n){let r=["left","right"],i=["right","left"];switch(e){case"top":case"bottom":if(n)return t?i:r;return t?r:i;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(ei(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(eu)))),o}(c,y,g,M));let $=[c,...E],D=await em(e,w),O=[],T=(null==(r=l.flip)?void 0:r.overflows)||[];if(h&&O.push(D[x]),p){let e=function(e,t,n){void 0===n&&(n=!1);let r=eo(e),i=ea(el(e)),o=es(i),a="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=ec(a)),[a,ec(a)]}(s,u,M);O.push(D[e[0]],D[e[1]])}if(T=[...T,{placement:s,overflows:O}],!O.every(e=>e<=0)){let e=((null==(i=l.flip)?void 0:i.index)||0)+1,t=$[e];if(t)return{data:{index:e,overflows:T},reset:{placement:t}};let n=null==(o=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(v){case"bestFit":{let e=null==(a=T.filter(e=>{if(C){let t=el(e.placement);return t===b||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:a[0];e&&(n=e);break}case"initialPlacement":n=c}if(s!==n)return{reset:{placement:n}}}return{}}}),options:[e,t]}},te=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"size",options:n,async fn(e){var t,r;let i,o;let{placement:a,rects:s,platform:l,elements:u}=e,{apply:c=()=>{},...d}=er(n,e),f=await em(e,d),h=ei(a),p=eo(a),m="y"===el(a),{width:v,height:g}=s.floating;"top"===h||"bottom"===h?(i=h,o=p===(await (null==l.isRTL?void 0:l.isRTL(u.floating))?"start":"end")?"left":"right"):(o=h,i="end"===p?"top":"bottom");let y=g-f.top-f.bottom,w=v-f.left-f.right,x=X(g-f[i],y),b=X(v-f[o],w),S=!e.middlewareData.shift,M=x,E=b;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(E=w),null!=(r=e.middlewareData.shift)&&r.enabled.y&&(M=y),S&&!p){let e=q(f.left,0),t=q(f.right,0),n=q(f.top,0),r=q(f.bottom,0);m?E=v-2*(0!==e||0!==t?e+t:q(f.left,f.right)):M=g-2*(0!==n||0!==r?n+r:q(f.top,f.bottom))}await c({...e,availableWidth:E,availableHeight:M});let C=await l.getDimensions(u.floating);return v!==C.width||g!==C.height?{reset:{rects:!0}}:{}}}),options:[e,t]}},tt=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"hide",options:n,async fn(e){let{rects:t}=e,{strategy:r="referenceHidden",...i}=er(n,e);switch(r){case"referenceHidden":{let n=ev(await em(e,{...i,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:eg(n)}}}case"escaped":{let n=ev(await em(e,{...i,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:eg(n)}}}default:return{}}}}),options:[e,t]}},tn=(e,t)=>({...e4(e),options:[e,t]});var tr=f.forwardRef((e,t)=>
1{let{children:n,width:r=10,height:i=5,...o}=e;return(0,g.jsx)(D.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,g.jsx)("polygon",{points:"0,0 30,0 15,10"})})});tr.displayName="Arrow";var ti="Popper",[to,ta]=y(ti),[ts,tl]=to(ti),tu=e=>{let{__scopePopper:t,children:n}=e,[r,i]=f.useState(null);return(0,g.jsx)(ts,{scope:t,anchor:r,onAnchorChange:i,children:n})};tu.displayName=ti;var tc="PopperAnchor",td=f.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:r,...i}=e,o=tl(tc,n),a=f.useRef(null),s=b(t,a);return f.useEffect(()=>{o.onAnchorChange((null==r?void 0:r.current)||a.current)}),r?null:(0,g.jsx)(D.div,{...i,ref:s})});td.displayName=tc;var tf="PopperContent",[th,tp]=to(tf),tm=f.forwardRef((e,t)=>{var n,r,i,o,a,s,l,u;let{__scopePopper:c,side:d="bottom",sideOffset:h=0,align:m="center",alignOffset:v=0,arrowPadding:y=0,avoidCollisions:w=!0,collisionBoundary:x=[],collisionPadding:S=0,sticky:M="partial",hideWhenDetached:E=!1,updatePositionStrategy:C="optimized",onPlaced:$,...T}=e,L=tl(tf,c),[k,R]=f.useState(null),P=b(t,e=>R(e)),[A,j]=f.useState(null),_=function(e){let[t,n]=f.useState(void 0);return U(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,i=t.blockSize}else r=e.offsetWidth,i=e.offsetHeight;n({width:r,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}(A),N=null!==(l=null==_?void 0:_.width)&&void 0!==l?l:0,I=null!==(u=null==_?void 0:_.height)&&void 0!==u?u:0,Y="number"==typeof S?S:{top:0,right:0,bottom:0,left:0,...S},H=Array.isArray(x)?x:[x],z=H.length>0,F={padding:Y,boundary:H.filter(tw),altBoundary:z},{refs:W,floatingStyles:B,placement:V,isPositioned:Z,middlewareData:K}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:o,floating:a}={},transform:s=!0,whileElementsMounted:l,open:u}=e,[c,d]=f.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,m]=f.useState(r);e1(h,r)||m(r);let[v,g]=f.useState(null),[y,w]=f.useState(null),x=f.useCallback(e=>{e!==E.current&&(E.current=e,g(e))},[]),b=f.useCallback(e=>{e!==C.current&&(C.current=e,w(e))},[]),S=o||v,M=a||y,E=f.useRef(null),C=f.useRef(null),$=f.useRef(c),D=null!=l,O=e6(l),T=e6(i),L=e6(u),k=f.useCallback(()=>{if(!E.current||!C.current)return;let e={placement:t,strategy:n,middleware:h};T.current&&(e.platform=T.current),eQ(E.current,C.current,e).then(e=>{let t={...e,isPositioned:!1!==L.current};R.current&&!e1($.current,t)&&($.current=t,p.flushSync(()=>{d(t)}))})},[h,t,n,T,L]);e0(()=>{!1===u&&$.current.isPositioned&&($.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[u]);let R=f.useRef(!1);e0(()=>(R.current=!0,()=>{R.current=!1}),[]),e0(()=>{if(S&&(E.current=S),M&&(C.current=M),S&&M){if(O.current)return O.current(S,M,k);k()}},[S,M,k,O,D]);let P=f.useMemo(()=>({reference:E,floating:C,setReference:x,setFloating:b}),[x,b]),A=f.useMemo(()=>({reference:S,floating:M}),[S,M]),j=f.useMemo(()=>{let e={position:n,left:0,top:0};if(!A.floating)return e;let t=e3(A.floating,c.x),r=e3(A.floating,c.y);return s?{...e,transform:"translate("+t+"px, "+r+"px)",...e2(A.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,s,A.floating,c.x,c.y]);return f.useMemo(()=>({...c,update:k,refs:P,elements:A,floatingStyles:j}),[c,k,P,A,j])}({strategy:"fixed",placement:d+("center"!==m?"-"+m:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,t,n,r){let i;void 0===r&&(r={});let{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:u=!1}=r,c=eI(e),d=o||a?[...c?ej(c):[],...ej(t)]:[];d.forEach(e=>{o&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)});let f=c&&l?function(e,t){let n,r=null,i=eS(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),o();let u=e.getBoundingClientRect(),{left:c,top:d,width:f,height:h}=u;if(s||t(),!f||!h)return;let p=Q(d),m=Q(i.clientWidth-(c+f)),v={rootMargin:-p+"px "+-m+"px "+-Q(i.clientHeight-(d+h))+"px "+-Q(c)+"px",threshold:q(0,X(1,l))||1},g=!0;function y(t){let r=t[0].intersectionRatio;if(r!==l){if(!g)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||eq(u,e.getBoundingClientRect())||a(),g=!1}try{r=new IntersectionObserver(y,{...v,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(y,v)}r.observe(e)}(!0),o}(c,n):null,h=-1,p=null;s&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&p&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var e;null==(e=p)||e.observe(t)})),n()}),c&&!u&&p.observe(c),p.observe(t));let m=u?eF(e):null;return u&&function t(){let r=eF(e);m&&!eq(m,r)&&n(),m=r,i=requestAnimationFrame(t)}(),n(),()=>{var e;
1d.forEach(e=>{o&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)}),null==f||f(),null==(e=p)||e.disconnect(),p=null,u&&cancelAnimationFrame(i)}}(...t,{animationFrame:"always"===C})},elements:{reference:L.anchor},middleware:[e5({mainAxis:h+I,alignmentAxis:v}),w&&e8({mainAxis:!0,crossAxis:!1,limiter:"partial"===M?e9():void 0,...F}),w&&e7({...F}),te({...F,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:i}=e,{width:o,height:a}=n.reference,s=t.floating.style;s.setProperty("--radix-popper-available-width","".concat(r,"px")),s.setProperty("--radix-popper-available-height","".concat(i,"px")),s.setProperty("--radix-popper-anchor-width","".concat(o,"px")),s.setProperty("--radix-popper-anchor-height","".concat(a,"px"))}}),A&&tn({element:A,padding:y}),tx({arrowWidth:N,arrowHeight:I}),E&&tt({strategy:"referenceHidden",...F})]}),[G,J]=tb(V),ee=O($);U(()=>{Z&&(null==ee||ee())},[Z,ee]);let et=null===(n=K.arrow)||void 0===n?void 0:n.x,en=null===(r=K.arrow)||void 0===r?void 0:r.y,er=(null===(i=K.arrow)||void 0===i?void 0:i.centerOffset)!==0,[ei,eo]=f.useState();return U(()=>{k&&eo(window.getComputedStyle(k).zIndex)},[k]),(0,g.jsx)("div",{ref:W.setFloating,"data-radix-popper-content-wrapper":"",style:{...B,transform:Z?B.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ei,"--radix-popper-transform-origin":[null===(o=K.transformOrigin)||void 0===o?void 0:o.x,null===(a=K.transformOrigin)||void 0===a?void 0:a.y].join(" "),...(null===(s=K.hide)||void 0===s?void 0:s.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,g.jsx)(th,{scope:c,placedSide:G,onArrowChange:j,arrowX:et,arrowY:en,shouldHideArrow:er,children:(0,g.jsx)(D.div,{"data-side":G,"data-align":J,...T,ref:P,style:{...T.style,animation:Z?void 0:"none"}})})})});tm.displayName=tf;var tv="PopperArrow",tg={top:"bottom",right:"left",bottom:"top",left:"right"},ty=f.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=tp(tv,n),o=tg[i.placedSide];return(0,g.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,g.jsx)(tr,{...r,ref:t,style:{...r.style,display:"block"}})})});function tw(e){return null!==e}ty.displayName=tv;var tx=e=>({name:"transformOrigin",options:e,fn(t){var n,r,i,o,a;let{placement:s,rects:l,middlewareData:u}=t,c=(null===(n=u.arrow)||void 0===n?void 0:n.centerOffset)!==0,d=c?0:e.arrowWidth,f=c?0:e.arrowHeight,[h,p]=tb(s),m={start:"0%",center:"50%",end:"100%"}[p],v=(null!==(o=null===(r=u.arrow)||void 0===r?void 0:r.x)&&void 0!==o?o:0)+d/2,g=(null!==(a=null===(i=u.arrow)||void 0===i?void 0:i.y)&&void 0!==a?a:0)+f/2,y="",w="";return"bottom"===h?(y=c?m:"".concat(v,"px"),w="".concat(-f,"px")):"top"===h?(y=c?m:"".concat(v,"px"),w="".concat(l.floating.height+f,"px")):"right"===h?(y="".concat(-f,"px"),w=c?m:"".concat(g,"px")):"left"===h&&(y="".concat(l.floating.width+f,"px"),w=c?m:"".concat(g,"px")),{data:{x:y,y:w}}}});function tb(e){let[t,n="center"]=e.split("-");return[t,n]}var tS=f.forwardRef((e,t)=>{var n,r;let{container:i,...o}=e,[a,s]=f.useState(!1);U(()=>s(!0),[]);let l=i||a&&(null===(r=globalThis)||void 0===r?void 0:null===(n=r.document)||void 0===n?void 0:n.body);return l?p.createPortal((0,g.jsx)(D.div,{...o,ref:t}),l):null});function tM({prop:e,defaultProp:t,onChange:n=()=>{}}){let[r,i]=function({defaultProp:e,onChange:t}){let n=f.useState(e),[r]=n,i=f.useRef(r),o=O(t);return f.useEffect(()=>{i.current!==r&&(o(r),i.current=r)},[r,i,o]),n}({defaultProp:t,onChange:n}),o=void 0!==e,a=o?e:r,s=O(n);return[a,f.useCallback(t=>{if(o){let n="function"==typeof t?t(e):t;n!==e&&s(n)}else i(t)},[o,e,i,s])]}tS.displayName="Portal";var tE=f.forwardRef((e,t)=>(0,g.jsx)(D.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));tE.displayName="VisuallyHidden";var tC=new WeakMap,t$=new WeakMap,tD={},tO=0,tT=function(e){return e&&(e.host||tT(e.parentNode))},tL=function(e,t,n,r){var i=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=tT(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});tD[n]||(tD[n]=new WeakMap);var o=tD[n],a=[],s=new Set,l=new Set(i),u=function(e){!e||s.has(e)||(s.add(e),u(e.parentNode))};
1i.forEach(u);var c=function(e){!e||l.has(e)||Array.prototype.forEach.call(e.children,function(e){if(s.has(e))c(e);else try{var t=e.getAttribute(r),i=null!==t&&"false"!==t,l=(tC.get(e)||0)+1,u=(o.get(e)||0)+1;tC.set(e,l),o.set(e,u),a.push(e),1===l&&i&&t$.set(e,!0),1===u&&e.setAttribute(n,"true"),i||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return c(t),s.clear(),tO++,function(){a.forEach(function(e){var t=tC.get(e)-1,i=o.get(e)-1;tC.set(e,t),o.set(e,i),t||(t$.has(e)||e.removeAttribute(r),t$.delete(e)),i||e.removeAttribute(n)}),--tO||(tC=new WeakMap,tC=new WeakMap,t$=new WeakMap,tD={})}},tk=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live]"))),tL(r,i,n,"aria-hidden")):function(){return null}},tR=function(){return(tR=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function tP(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}"function"==typeof SuppressedError&&SuppressedError;var tA="right-scroll-bar-position",tj="width-before-scroll-bar";function t_(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var tN="undefined"!=typeof window?f.useLayoutEffect:f.useEffect,tI=new WeakMap,tY=(void 0===i&&(i={}),(void 0===o&&(o=function(e){return e}),a=[],s=!1,l={read:function(){if(s)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return a.length?a[a.length-1]:null},useMedium:function(e){var t=o(e,s);return a.push(t),function(){a=a.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(s=!0;a.length;){var t=a;a=[],t.forEach(e)}a={push:function(t){return e(t)},filter:function(){return a}}},assignMedium:function(e){s=!0;var t=[];if(a.length){var n=a;a=[],n.forEach(e),t=a}var r=function(){var n=t;t=[],n.forEach(e)},i=function(){return Promise.resolve().then(r)};i(),a={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),a}}}}).options=tR({async:!0,ssr:!1},i),l),tH=function(){},tz=f.forwardRef(function(e,t){var n,r,i,o,a=f.useRef(null),s=f.useState({onScrollCapture:tH,onWheelCapture:tH,onTouchMoveCapture:tH}),l=s[0],u=s[1],c=e.forwardProps,d=e.children,h=e.className,p=e.removeScrollBar,m=e.enabled,v=e.shards,g=e.sideCar,y=e.noIsolation,w=e.inert,x=e.allowPinchZoom,b=e.as,S=e.gapMode,M=tP(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),E=(n=[a,t],r=function(e){return n.forEach(function(t){return t_(t,e)})},(i=(0,f.useState)(function(){return{value:null,callback:r,facade:{get current(){return i.value},set current(value){var e=i.value;e!==value&&(i.value=value,i.callback(value,e))}}}})[0]).callback=r,o=i.facade,tN(function(){var e=tI.get(o);if(e){var t=new Set(e),r=new Set(n),i=o.current;t.forEach(function(e){r.has(e)||t_(e,null)}),r.forEach(function(e){t.has(e)||t_(e,i)})}tI.set(o,n)},[n]),o),C=tR(tR({},M),l);return f.createElement(f.Fragment,null,m&&f.createElement(g,{sideCar:tY,removeScrollBar:p,shards:v,noIsolation:y,inert:w,setCallbacks:u,allowPinchZoom:!!x,lockRef:a,gapMode:S}),c?f.cloneElement(f.Children.only(d),tR(tR({},C),{ref:E})):f.createElement(void 0===b?"div":b,tR({},C,{className:h,ref:E}),d))});tz.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},tz.classNames={fullWidth:tj,zeroRight:tA};var tF=function(e){var t=e.sideCar,n=tP(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return f.createElement(r,tR({},n))};
1tF.isSideCarExport=!0;var tW=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=d||n.nc;return t&&e.setAttribute("nonce",t),e}())){var i,o;(i=t).styleSheet?i.styleSheet.cssText=r:i.appendChild(document.createTextNode(r)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},tB=function(){var e=tW();return function(t,n){f.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},tU=function(){var e=tB();return function(t){return e(t.styles,t.dynamic),null}},tV={left:0,top:0,right:0,gap:0},tZ=function(e){return parseInt(e||"",10)||0},tK=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[tZ(n),tZ(r),tZ(i)]},tG=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return tV;var t=tK(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},tX=tU(),tq="data-scroll-locked",tJ=function(e,t,n,r){var i=e.left,o=e.top,a=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(s,"px ").concat(r,";\n }\n body[").concat(tq,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(i,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(tA," {\n right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(tj," {\n margin-right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(tA," .").concat(tA," {\n right: 0 ").concat(r,";\n }\n \n .").concat(tj," .").concat(tj," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(tq,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},tQ=function(){var e=parseInt(document.body.getAttribute(tq)||"0",10);return isFinite(e)?e:0},t0=function(){f.useEffect(function(){return document.body.setAttribute(tq,(tQ()+1).toString()),function(){var e=tQ()-1;e<=0?document.body.removeAttribute(tq):document.body.setAttribute(tq,e.toString())}},[])},t1=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=void 0===r?"margin":r;t0();var o=f.useMemo(function(){return tG(i)},[i]);return f.createElement(tX,{styles:tJ(o,!t,i,n?"":"!important")})},t2=!1;if("undefined"!=typeof window)try{var t3=Object.defineProperty({},"passive",{get:function(){return t2=!0,!0}});window.addEventListener("test",t3,t3),window.removeEventListener("test",t3,t3)}catch(e){t2=!1}var t6=!!t2&&{passive:!1},t4=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===n[t])},t5=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),t8(e,r)){var i=t9(e,r);if(i[1]>i[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},t8=function(e,t){return"v"===e?t4(t,"overflowY"):t4(t,"overflowX")},t9=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},t7=function(e,t,n,r,i){var o,a=(o=window.getComputedStyle(t).direction,"h"===e&&"rtl"===o?-1:1),s=a*r,l=n.target,u=t.contains(l),c=!1,d=s>0,f=0,h=0;do{var p=t9(e,l),m=p[0],v=p[1]-p[2]-a*m;(m||v)&&t8(e,l)&&(f+=v,h+=m),l instanceof ShadowRoot?l=l.host:l=l.parentNode}while(!u&&l!==document.body||u&&(t.contains(l)||t===l));return d&&(i&&1>Math.abs(f)||!i&&s>f)?c=!0:!d&&(i&&1>Math.abs(h)||!i&&-s>h)&&(c=!0),c},ne=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},nt=function(e){return[e.deltaX,e.deltaY]},nn=function(e){return e&&"current"in e?e.current:e},nr=0,ni=[],no=(u=function(e){var t=f.useRef([]),n=f.useRef([0,0]),r=f.useRef(),i=f.useState(nr++)[0],o=f.useState(tU)[0],a=f.useRef(e);f.useEffect(function(){a.current=e},[e]),f.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}
1)([e.lockRef.current],(e.shards||[]).map(nn),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var s=f.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!a.current.allowPinchZoom;var i,o=ne(e),s=n.current,l="deltaX"in e?e.deltaX:s[0]-o[0],u="deltaY"in e?e.deltaY:s[1]-o[1],c=e.target,d=Math.abs(l)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var f=t5(d,c);if(!f)return!0;if(f?i=d:(i="v"===d?"h":"v",f=t5(d,c)),!f)return!1;if(!r.current&&"changedTouches"in e&&(l||u)&&(r.current=i),!i)return!0;var h=r.current||i;return t7(h,t,e,"h"===h?l:u,!0)},[]),l=f.useCallback(function(e){if(ni.length&&ni[ni.length-1]===o){var n="deltaY"in e?nt(e):ne(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta)[0]===n[0]&&r[1]===n[1]})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var i=(a.current.shards||[]).map(nn).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?s(e,i[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),u=f.useCallback(function(e,n,r,i){var o={name:e,delta:n,target:r,should:i,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),c=f.useCallback(function(e){n.current=ne(e),r.current=void 0},[]),d=f.useCallback(function(t){u(t.type,nt(t),t.target,s(t,e.lockRef.current))},[]),h=f.useCallback(function(t){u(t.type,ne(t),t.target,s(t,e.lockRef.current))},[]);f.useEffect(function(){return ni.push(o),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:h}),document.addEventListener("wheel",l,t6),document.addEventListener("touchmove",l,t6),document.addEventListener("touchstart",c,t6),function(){ni=ni.filter(function(e){return e!==o}),document.removeEventListener("wheel",l,t6),document.removeEventListener("touchmove",l,t6),document.removeEventListener("touchstart",c,t6)}},[]);var p=e.removeScrollBar,m=e.inert;return f.createElement(f.Fragment,null,m?f.createElement(o,{styles:"\n .block-interactivity-".concat(i," {pointer-events: none;}\n .allow-interactivity-").concat(i," {pointer-events: all;}\n")}):null,p?f.createElement(t1,{gapMode:e.gapMode}):null)},tY.useMedium(u),tF),na=f.forwardRef(function(e,t){return f.createElement(tz,tR({},e,{ref:t,sideCar:no}))});na.classNames=tz.classNames;var ns=[" ","Enter","ArrowUp","ArrowDown"],nl=[" ","Enter"],nu="Select",[nc,nd,nf]=function(e){let t=e+"CollectionProvider",[n,r]=y(t),[i,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=e=>{let{scope:t,children:n}=e,r=f.useRef(null),o=f.useRef(new Map).current;return(0,g.jsx)(i,{scope:t,itemMap:o,collectionRef:r,children:n})};a.displayName=t;let s=e+"CollectionSlot",l=f.forwardRef((e,t)=>{let{scope:n,children:r}=e,i=b(t,o(s,n).collectionRef);return(0,g.jsx)(S,{ref:i,children:r})});l.displayName=s;let u=e+"CollectionItemSlot",c="data-radix-collection-item",d=f.forwardRef((e,t)=>{let{scope:n,children:r,...i}=e,a=f.useRef(null),s=b(t,a),l=o(u,n);return f.useEffect(()=>(l.itemMap.set(a,{ref:a,...i}),()=>void l.itemMap.delete(a))),(0,g.jsx)(S,{[c]:"",ref:s,children:r})});return d.displayName=u,[{Provider:a,Slot:l,ItemSlot:d},function(t){let n=o(e+"CollectionConsumer",t);return f.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(c,"]")));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},r]}(nu),[nh,np]=y(nu,[nf,ta]),nm=ta(),[nv,ng]=nh(nu),[ny,nw]=nh(nu),nx=e=>{let{__scopeSelect:t,children:n,open:r,defaultOpen:i,onOpenChange:o,value:a,defaultValue:s,onValueChange:l,dir:u,name:c,autoComplete:d,disabled:h,required:p,form:m}=e,v=nm(t),[y,w]=f.useState(null),[x,b]=f.useState(null),[S,M]=f.useState(!1),E=function(e){let t=f.useContext($);return e||t||"ltr"}(u),[C=!1,D]=tM({prop:r,defaultProp:i,onChange:o}),[O,T]=tM({prop:a,defaultProp:s,onChange:l}),L=f.useRef(null),k=!y||m||!!y.closest("form"),[R,P]=f.useState(new Set),A=Array.from(R).map(e=>e.props.value).join(";");return(0,g.jsx)(tu,{...v,children:(0,g.jsxs)(nv,{required:p,scope:t,trigger:y,onTriggerChange:w,valueNode:x,onValueNodeChange:b,valueNodeHasChildren:S,onValueNodeHasChildrenChange:M,contentId:K(),value:O,onValueChange:T,open:C,onOpenChange:D,dir:E,triggerPointerDownPosRef:L,disabled:h,children:[(0,g.jsx)(nc.Provider,{scope:t,children:(0,g.jsx)(ny,{scope:e.__scopeSelect,onNativeOptionAdd:f.useCallback(e=>{P(t=>new Set(t).add(e))},[]),onNativeOptionRemove:f.useCallback(e=>{P(t=>{let n=new Set(t);return n.delete(e),n})},[]),children:n})}),k?(0,g.jsxs)(n5,{"aria-hidden":!0,required:p,tabIndex:-1,name:c,autoComplete:d,value:O,onChange:e=>T(e.target.value),disabled:h,form:m,children:[void 0===O?(0,g.jsx)("option",{value:""}):null,Array.from(R)]},A):null]})})};nx.displayName=nu;var nb="SelectTrigger",nS=f.forwardRef((e,t)=>
1{let{__scopeSelect:n,disabled:r=!1,...i}=e,o=nm(n),a=ng(nb,n),s=a.disabled||r,l=b(t,a.onTriggerChange),u=nd(n),c=f.useRef("touch"),[d,h,p]=n8(e=>{let t=u().filter(e=>!e.disabled),n=t.find(e=>e.value===a.value),r=n9(t,e,n);void 0!==r&&a.onValueChange(r.value)}),m=e=>{s||(a.onOpenChange(!0),p()),e&&(a.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,g.jsx)(td,{asChild:!0,...o,children:(0,g.jsx)(D.button,{type:"button",role:"combobox","aria-controls":a.contentId,"aria-expanded":a.open,"aria-required":a.required,"aria-autocomplete":"none",dir:a.dir,"data-state":a.open?"open":"closed",disabled:s,"data-disabled":s?"":void 0,"data-placeholder":n4(a.value)?"":void 0,...i,ref:l,onClick:v(i.onClick,e=>{e.currentTarget.focus(),"mouse"!==c.current&&m(e)}),onPointerDown:v(i.onPointerDown,e=>{c.current=e.pointerType;let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(m(e),e.preventDefault())}),onKeyDown:v(i.onKeyDown,e=>{let t=""!==d.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||h(e.key),(!t||" "!==e.key)&&ns.includes(e.key)&&(m(),e.preventDefault())})})})});nS.displayName=nb;var nM="SelectValue",nE=f.forwardRef((e,t)=>{let{__scopeSelect:n,className:r,style:i,children:o,placeholder:a="",...s}=e,l=ng(nM,n),{onValueNodeHasChildrenChange:u}=l,c=void 0!==o,d=b(t,l.onValueNodeChange);return U(()=>{u(c)},[u,c]),(0,g.jsx)(D.span,{...s,ref:d,style:{pointerEvents:"none"},children:n4(l.value)?(0,g.jsx)(g.Fragment,{children:a}):o})});nE.displayName=nM;var nC=f.forwardRef((e,t)=>{let{__scopeSelect:n,children:r,...i}=e;return(0,g.jsx)(D.span,{"aria-hidden":!0,...i,ref:t,children:r||"â¼"})});nC.displayName="SelectIcon";var n$=e=>(0,g.jsx)(tS,{asChild:!0,...e});n$.displayName="SelectPortal";var nD="SelectContent",nO=f.forwardRef((e,t)=>{let n=ng(nD,e.__scopeSelect),[r,i]=f.useState();return(U(()=>{i(new DocumentFragment)},[]),n.open)?(0,g.jsx)(nk,{...e,ref:t}):r?p.createPortal((0,g.jsx)(nT,{scope:e.__scopeSelect,children:(0,g.jsx)(nc.Slot,{scope:e.__scopeSelect,children:(0,g.jsx)("div",{children:e.children})})}),r):null});nO.displayName=nD;var[nT,nL]=nh(nD),nk=f.forwardRef((e,t)=>{let{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:i,onEscapeKeyDown:o,onPointerDownOutside:a,side:s,sideOffset:l,align:u,alignOffset:c,arrowPadding:d,collisionBoundary:h,collisionPadding:p,sticky:m,hideWhenDetached:y,avoidCollisions:w,...x}=e,M=ng(nD,n),[E,C]=f.useState(null),[$,D]=f.useState(null),O=b(t,e=>C(e)),[T,L]=f.useState(null),[R,P]=f.useState(null),_=nd(n),[N,I]=f.useState(!1),H=f.useRef(!1);f.useEffect(()=>{if(E)return tk(E)},[E]),f.useEffect(()=>{var e,t;let n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:j()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:j()),A++,()=>{1===A&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),A--}},[]);let z=f.useCallback(e=>{let[t,...n]=_().map(e=>e.ref.current),[r]=n.slice(-1),i=document.activeElement;for(let n of e)if(n===i||(null==n||n.scrollIntoView({block:"nearest"}),n===t&&$&&($.scrollTop=0),n===r&&$&&($.scrollTop=$.scrollHeight),null==n||n.focus(),document.activeElement!==i))return},[_,$]),F=f.useCallback(()=>z([T,E]),[z,T,E]);f.useEffect(()=>{N&&F()},[N,F]);let{onOpenChange:W,triggerPointerDownPosRef:B}=M;f.useEffect(()=>{if(E){let e={x:0,y:0},t=t=>{var n,r,i,o;e={x:Math.abs(Math.round(t.pageX)-(null!==(i=null===(n=B.current)||void 0===n?void 0:n.x)&&void 0!==i?i:0)),y:Math.abs(Math.round(t.pageY)-(null!==(o=null===(r=B.current)||void 0===r?void 0:r.y)&&void 0!==o?o:0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():E.contains(n.target)||W(!1),document.removeEventListener("pointermove",t),B.current=null};return null!==B.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}},[E,W,B]),f.useEffect(()=>{let e=()=>W(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[W]);let[U,V]=n8(e=>{let t=_().filter(e=>!e.disabled),n=t.find(e=>e.ref.current===document.activeElement),r=n9(t,e,n);r&&setTimeout(()=>r.ref.current.focus())}),Z=f.useCallback((e,t,n)=>{let r=!H.current&&!n;(void 0!==M.value&&M.value===t||r)&&(L(e),r&&(H.current=!0))},[M.value]),K=f.useCallback(()=>null==E?void 0:E.focus(),[E]),G=f.useCallback((e,t,n)=>{let r=!H.current&&!n;(void 0!==M.value&&M.value===t||r)&&P(e)},[M.value]),X="popper"===r?nP:nR,q=X===nP?{side:s,sideOffset:l,align:u,alignOffset:c,arrowPadding:d,collisionBoundary:h,collisionPadding:p,sticky:m,hideWhenDetached:y,avoidCollisions:w}:{};return(0,g.jsx)(nT,{scope:n,content:E,viewport:$,onViewportChange:D,itemRefCallback:Z,selectedItem:T,onItemLeave:K,itemTextRefCallback:G,focusSelectedItem:F,selectedItemText:R,position:r,isPositioned:N,searchRef:U,children:(0,g.jsx)(na,{as:S,allowPinchZoom:!0,children:(0,g.jsx)(Y,{asChild:!0,trapped:M.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:v(i,e=>{var t;null===(t=M.trigger)||void 0===t||t.focus({preventScroll:!0}),e.preventDefault()}),children:(0,g.jsx)(k,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>M.onOpenChange(!1),children:(0,g.jsx)(X,{role:"listbox",id:M.contentId,"data-state":M.open?"open":"closed",dir:M.dir,onContextMenu:e=>e.preventDefault(),...x,...q,onPlaced:()=>I(!0),ref:O,style:{display:"flex",flexDirection:"column",outline:"none",...x.style},onKeyDown:v(x.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;
1if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||V(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=_().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){let n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout(()=>z(t)),e.preventDefault()}})})})})})})});nk.displayName="SelectContentImpl";var nR=f.forwardRef((e,t)=>{let{__scopeSelect:n,onPlaced:r,...i}=e,o=ng(nD,n),a=nL(nD,n),[s,l]=f.useState(null),[u,c]=f.useState(null),d=b(t,e=>c(e)),h=nd(n),p=f.useRef(!1),v=f.useRef(!0),{viewport:y,selectedItem:w,selectedItemText:x,focusSelectedItem:S}=a,M=f.useCallback(()=>{if(o.trigger&&o.valueNode&&s&&u&&y&&w&&x){let e=o.trigger.getBoundingClientRect(),t=u.getBoundingClientRect(),n=o.valueNode.getBoundingClientRect(),i=x.getBoundingClientRect();if("rtl"!==o.dir){let r=i.left-t.left,o=n.left-r,a=e.left-o,l=e.width+a,u=Math.max(l,t.width),c=m(o,[10,Math.max(10,window.innerWidth-10-u)]);s.style.minWidth=l+"px",s.style.left=c+"px"}else{let r=t.right-i.right,o=window.innerWidth-n.right-r,a=window.innerWidth-e.right-o,l=e.width+a,u=Math.max(l,t.width),c=m(o,[10,Math.max(10,window.innerWidth-10-u)]);s.style.minWidth=l+"px",s.style.right=c+"px"}let a=h(),l=window.innerHeight-20,c=y.scrollHeight,d=window.getComputedStyle(u),f=parseInt(d.borderTopWidth,10),v=parseInt(d.paddingTop,10),g=parseInt(d.borderBottomWidth,10),b=f+v+c+parseInt(d.paddingBottom,10)+g,S=Math.min(5*w.offsetHeight,b),M=window.getComputedStyle(y),E=parseInt(M.paddingTop,10),C=parseInt(M.paddingBottom,10),$=e.top+e.height/2-10,D=w.offsetHeight/2,O=f+v+(w.offsetTop+D);if(O<=$){let e=a.length>0&&w===a[a.length-1].ref.current;s.style.bottom="0px";let t=u.clientHeight-y.offsetTop-y.offsetHeight;s.style.height=O+Math.max(l-$,D+(e?C:0)+t+g)+"px"}else{let e=a.length>0&&w===a[0].ref.current;s.style.top="0px";let t=Math.max($,f+y.offsetTop+(e?E:0)+D);s.style.height=t+(b-O)+"px",y.scrollTop=O-$+y.offsetTop}s.style.margin="".concat(10,"px 0"),s.style.minHeight=S+"px",s.style.maxHeight=l+"px",null==r||r(),requestAnimationFrame(()=>p.current=!0)}},[h,o.trigger,o.valueNode,s,u,y,w,x,o.dir,r]);U(()=>M(),[M]);let[E,C]=f.useState();U(()=>{u&&C(window.getComputedStyle(u).zIndex)},[u]);let $=f.useCallback(e=>{e&&!0===v.current&&(M(),null==S||S(),v.current=!1)},[M,S]);return(0,g.jsx)(nA,{scope:n,contentWrapper:s,shouldExpandOnScrollRef:p,onScrollButtonChange:$,children:(0,g.jsx)("div",{ref:l,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:E},children:(0,g.jsx)(D.div,{...i,ref:d,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}})})})});nR.displayName="SelectItemAlignedPosition";var nP=f.forwardRef((e,t)=>{let{__scopeSelect:n,align:r="start",collisionPadding:i=10,...o}=e,a=nm(n);return(0,g.jsx)(tm,{...a,...o,ref:t,align:r,collisionPadding:i,style:{boxSizing:"border-box",...o.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});nP.displayName="SelectPopperPosition";var[nA,nj]=nh(nD,{}),n_="SelectViewport",nN=f.forwardRef((e,t)=>{let{__scopeSelect:n,nonce:r,...i}=e,o=nL(n_,n),a=nj(n_,n),s=b(t,o.onViewportChange),l=f.useRef(0);return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:r}),(0,g.jsx)(nc.Slot,{scope:n,children:(0,g.jsx)(D.div,{"data-radix-select-viewport":"",role:"presentation",...i,ref:s,style:{position:"relative",flex:1,overflow:"hidden auto",...i.style},onScroll:v(i.onScroll,e=>{let t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=a;if((null==r?void 0:r.current)&&n){let e=Math.abs(l.current-t.scrollTop);if(e>0){let r=window.innerHeight-20,i=Math.max(parseFloat(n.style.minHeight),parseFloat(n.style.height));if(i<r){let o=i+e,a=Math.min(r,o),s=o-a;n.style.height=a+"px","0px"===n.style.bottom&&(t.scrollTop=s>0?s:0,n.style.justifyContent="flex-end")}}}l.current=t.scrollTop})})})]})});nN.displayName=n_;var nI="SelectGroup",[nY,nH]=nh(nI),nz=f.forwardRef((e,t)=>
1{let{__scopeSelect:n,...r}=e,i=K();return(0,g.jsx)(nY,{scope:n,id:i,children:(0,g.jsx)(D.div,{role:"group","aria-labelledby":i,...r,ref:t})})});nz.displayName=nI;var nF="SelectLabel",nW=f.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,i=nH(nF,n);return(0,g.jsx)(D.div,{id:i.id,...r,ref:t})});nW.displayName=nF;var nB="SelectItem",[nU,nV]=nh(nB),nZ=f.forwardRef((e,t)=>{let{__scopeSelect:n,value:r,disabled:i=!1,textValue:o,...a}=e,s=ng(nB,n),l=nL(nB,n),u=s.value===r,[c,d]=f.useState(null!=o?o:""),[h,p]=f.useState(!1),m=b(t,e=>{var t;return null===(t=l.itemRefCallback)||void 0===t?void 0:t.call(l,e,r,i)}),y=K(),w=f.useRef("touch"),x=()=>{i||(s.onValueChange(r),s.onOpenChange(!1))};if(""===r)throw Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return(0,g.jsx)(nU,{scope:n,value:r,disabled:i,textId:y,isSelected:u,onItemTextChange:f.useCallback(e=>{d(t=>{var n;return t||(null!==(n=null==e?void 0:e.textContent)&&void 0!==n?n:"").trim()})},[]),children:(0,g.jsx)(nc.ItemSlot,{scope:n,value:r,disabled:i,textValue:c,children:(0,g.jsx)(D.div,{role:"option","aria-labelledby":y,"data-highlighted":h?"":void 0,"aria-selected":u&&h,"data-state":u?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1,...a,ref:m,onFocus:v(a.onFocus,()=>p(!0)),onBlur:v(a.onBlur,()=>p(!1)),onClick:v(a.onClick,()=>{"mouse"!==w.current&&x()}),onPointerUp:v(a.onPointerUp,()=>{"mouse"===w.current&&x()}),onPointerDown:v(a.onPointerDown,e=>{w.current=e.pointerType}),onPointerMove:v(a.onPointerMove,e=>{if(w.current=e.pointerType,i){var t;null===(t=l.onItemLeave)||void 0===t||t.call(l)}else"mouse"===w.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:v(a.onPointerLeave,e=>{if(e.currentTarget===document.activeElement){var t;null===(t=l.onItemLeave)||void 0===t||t.call(l)}}),onKeyDown:v(a.onKeyDown,e=>{var t;(null===(t=l.searchRef)||void 0===t?void 0:t.current)!==""&&" "===e.key||(nl.includes(e.key)&&x()," "===e.key&&e.preventDefault())})})})})});nZ.displayName=nB;var nK="SelectItemText",nG=f.forwardRef((e,t)=>{let{__scopeSelect:n,className:r,style:i,...o}=e,a=ng(nK,n),s=nL(nK,n),l=nV(nK,n),u=nw(nK,n),[c,d]=f.useState(null),h=b(t,e=>d(e),l.onItemTextChange,e=>{var t;return null===(t=s.itemTextRefCallback)||void 0===t?void 0:t.call(s,e,l.value,l.disabled)}),m=null==c?void 0:c.textContent,v=f.useMemo(()=>(0,g.jsx)("option",{value:l.value,disabled:l.disabled,children:m},l.value),[l.disabled,l.value,m]),{onNativeOptionAdd:y,onNativeOptionRemove:w}=u;return U(()=>(y(v),()=>w(v)),[y,w,v]),(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(D.span,{id:l.textId,...o,ref:h}),l.isSelected&&a.valueNode&&!a.valueNodeHasChildren?p.createPortal(o.children,a.valueNode):null]})});nG.displayName=nK;var nX="SelectItemIndicator",nq=f.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e;return nV(nX,n).isSelected?(0,g.jsx)(D.span,{"aria-hidden":!0,...r,ref:t}):null});nq.displayName=nX;var nJ="SelectScrollUpButton",nQ=f.forwardRef((e,t)=>{let n=nL(nJ,e.__scopeSelect),r=nj(nJ,e.__scopeSelect),[i,o]=f.useState(!1),a=b(t,r.onScrollButtonChange);return U(()=>{if(n.viewport&&n.isPositioned){let e=function(){o(t.scrollTop>0)},t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),i?(0,g.jsx)(n2,{...e,ref:a,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null});nQ.displayName=nJ;var n0="SelectScrollDownButton",n1=f.forwardRef((e,t)=>{let n=nL(n0,e.__scopeSelect),r=nj(n0,e.__scopeSelect),[i,o]=f.useState(!1),a=b(t,r.onScrollButtonChange);return U(()=>{if(n.viewport&&n.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight;o(Math.ceil(t.scrollTop)<e)},t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),i?(0,g.jsx)(n2,{...e,ref:a,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null});n1.displayName=n0;var n2=f.forwardRef((e,t)=>
1{let{__scopeSelect:n,onAutoScroll:r,...i}=e,o=nL("SelectScrollButton",n),a=f.useRef(null),s=nd(n),l=f.useCallback(()=>{null!==a.current&&(window.clearInterval(a.current),a.current=null)},[]);return f.useEffect(()=>()=>l(),[l]),U(()=>{var e;let t=s().find(e=>e.ref.current===document.activeElement);null==t||null===(e=t.ref.current)||void 0===e||e.scrollIntoView({block:"nearest"})},[s]),(0,g.jsx)(D.div,{"aria-hidden":!0,...i,ref:t,style:{flexShrink:0,...i.style},onPointerDown:v(i.onPointerDown,()=>{null===a.current&&(a.current=window.setInterval(r,50))}),onPointerMove:v(i.onPointerMove,()=>{var e;null===(e=o.onItemLeave)||void 0===e||e.call(o),null===a.current&&(a.current=window.setInterval(r,50))}),onPointerLeave:v(i.onPointerLeave,()=>{l()})})}),n3=f.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e;return(0,g.jsx)(D.div,{"aria-hidden":!0,...r,ref:t})});n3.displayName="SelectSeparator";var n6="SelectArrow";function n4(e){return""===e||void 0===e}f.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,i=nm(n),o=ng(n6,n),a=nL(n6,n);return o.open&&"popper"===a.position?(0,g.jsx)(ty,{...i,...r,ref:t}):null}).displayName=n6;var n5=f.forwardRef((e,t)=>{let{value:n,...r}=e,i=f.useRef(null),o=b(t,i),a=function(e){let t=f.useRef({value:e,previous:e});return f.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}(n);return f.useEffect(()=>{let e=i.current,t=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(a!==n&&t){let r=new Event("change",{bubbles:!0});t.call(e,n),e.dispatchEvent(r)}},[a,n]),(0,g.jsx)(tE,{asChild:!0,children:(0,g.jsx)("select",{...r,ref:o,defaultValue:n})})});function n8(e){let t=O(e),n=f.useRef(""),r=f.useRef(0),i=f.useCallback(e=>{let i=n.current+e;t(i),function e(t){n.current=t,window.clearTimeout(r.current),""!==t&&(r.current=window.setTimeout(()=>e(""),1e3))}(i)},[t]),o=f.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return f.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,i,o]}function n9(e,t,n){var r;let i=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,o=(r=Math.max(n?e.indexOf(n):-1,0),e.map((t,n)=>e[(r+n)%e.length]));1===i.length&&(o=o.filter(e=>e!==n));let a=o.find(e=>e.textValue.toLowerCase().startsWith(i.toLowerCase()));return a!==n?a:void 0}n5.displayName="BubbleSelect";var n7=nx,re=nS,rt=nE,rn=nC,rr=n$,ri=nO,ro=nN,ra=nz,rs=nW,rl=nZ,ru=nG,rc=nq,rd=nQ,rf=n1,rh=n3},5915:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(6497).Z)("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]])},926:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(6497).Z)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},186:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(6497).Z)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},6741:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(6497).Z)("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},5695:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(6497).Z)("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]])},8097:function(e,t,n){"use strict";n.d(t,{AnimatePresence:function(){return g}});var r=n(7437),i=n(2265),o=n(8110),a=n(6938),s=n(6638),l=n(9783);class u extends i.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function c(e){let{children:t,isPresent:n}=e,o=(0,i.useId)(),a=(0,i.useRef)(null),s=(0,i.useRef)({width:0,height:0,top:0,left:0}),{nonce:c}=(0,i.useContext)(l._);return(0,i.useInsertionEffect)(()=>{let{width:e,height:t,top:r,left:i}=s.current;if(n||!a.current||!e||!t)return;a.current.dataset.motionPopId=o;let l=document.createElement("style");return c&&(l.nonce=c),document.head.appendChild(l),l.sheet&&l.sheet.insertRule('\n [data-motion-pop-id="'.concat(o,'"] {\n position: absolute !important;\n width: ').concat(e,"px !important;\n height: ").concat(t,"px !important;\n top: ").concat(r,"px !important;\n left: ").concat(i,"px !important;\n }\n ")),()=>{document.head.removeChild(l)}},[n]),(0,r.jsx)(u,{isPresent:n,childRef:a,sizeRef:s,children:i.cloneElement(t,{ref:a})})}let d=e=>{let{children:t,initial:n,isPresent:o,onExitComplete:l,custom:u,presenceAffectsLayout:d,mode:h}=e,p=(0,a.h)(f),m=(0,i.useId)(),v=(0,i.useCallback)(e=>
1{for(let t of(p.set(e,!0),p.values()))if(!t)return;l&&l()},[p,l]),g=(0,i.useMemo)(()=>({id:m,initial:n,isPresent:o,custom:u,onExitComplete:v,register:e=>(p.set(e,!1),()=>p.delete(e))}),d?[Math.random(),v]:[o,v]);return(0,i.useMemo)(()=>{p.forEach((e,t)=>p.set(t,!1))},[o]),i.useEffect(()=>{o||p.size||!l||l()},[o]),"popLayout"===h&&(t=(0,r.jsx)(c,{isPresent:o,children:t})),(0,r.jsx)(s.O.Provider,{value:g,children:t})};function f(){return new Map}var h=n(8051);let p=e=>e.key||"";function m(e){let t=[];return i.Children.forEach(e,e=>{(0,i.isValidElement)(e)&&t.push(e)}),t}var v=n(2283);let g=e=>{let{children:t,custom:n,initial:s=!0,onExitComplete:l,presenceAffectsLayout:u=!0,mode:c="sync",propagate:f=!1}=e,[g,y]=(0,h.oO)(f),w=(0,i.useMemo)(()=>m(t),[t]),x=f&&!g?[]:w.map(p),b=(0,i.useRef)(!0),S=(0,i.useRef)(w),M=(0,a.h)(()=>new Map),[E,C]=(0,i.useState)(w),[$,D]=(0,i.useState)(w);(0,v.L)(()=>{b.current=!1,S.current=w;for(let e=0;e<$.length;e++){let t=p($[e]);x.includes(t)?M.delete(t):!0!==M.get(t)&&M.set(t,!1)}},[$,x.length,x.join("-")]);let O=[];if(w!==E){let e=[...w];for(let t=0;t<$.length;t++){let n=$[t],r=p(n);x.includes(r)||(e.splice(t,0,n),O.push(n))}"wait"===c&&O.length&&(e=O),D(m(e)),C(w);return}let{forceRender:T}=(0,i.useContext)(o.p);return(0,r.jsx)(r.Fragment,{children:$.map(e=>{let t=p(e),i=(!f||!!g)&&(w===$||x.includes(t));return(0,r.jsx)(d,{isPresent:i,initial:(!b.current||!!s)&&void 0,custom:i?void 0:n,presenceAffectsLayout:u,mode:c,onExitComplete:i?void 0:()=>{if(!M.has(t))return;M.set(t,!0);let e=!0;M.forEach(t=>{t||(e=!1)}),e&&(null==T||T(),D(S.current),f&&(null==y||y()),l&&l())},children:e},t)})})}}}]);
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.