PageSourceSearch

https://stereogum.com/_next/static/chunks/6511-87d0fee056379f46.js

js stereogum.com collected 2026-10-01 08:37:31 UTC 225,970 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6511],{4656:()=>{!function(){"use strict";var e="initCookieConsent";"undefined"!=typeof window&&"function"!=typeof window[e]&&(window[e]=function(e){var t,i,n,r,o,s,a,l,u,c,h,d,p,f,m,g,v,y,b,E,T,x,_,w,A,S,C,O,k,N,D,P,R,I,M,L={mode:"opt-in",current_lang:"en",auto_language:null,autorun:!0,page_scripts:!0,hide_from_bots:!0,cookie_name:"cc_cookie",cookie_expiration:182,cookie_domain:location.hostname,cookie_path:"/",cookie_same_site:"Lax",use_rfc_cookie:!1,autoclear_cookies:!0,revision:0,script_selector:"data-cookiecategory"},j={},F={},V=null,U=!0,B=!1,z=!1,H=!1,$=!1,W=!0,G=[],K=!1,Y=[],q=[],X=[],Q=!1,J=[],Z=[],ee=[],et=[],ei=[],en=document.documentElement,er=function(e){"number"==typeof(t=e).cookie_expiration&&(L.cookie_expiration=t.cookie_expiration),"number"==typeof t.cookie_necessary_only_expiration&&(L.cookie_necessary_only_expiration=t.cookie_necessary_only_expiration),"boolean"==typeof t.autorun&&(L.autorun=t.autorun),"string"==typeof t.cookie_domain&&(L.cookie_domain=t.cookie_domain),"string"==typeof t.cookie_same_site&&(L.cookie_same_site=t.cookie_same_site),"string"==typeof t.cookie_path&&(L.cookie_path=t.cookie_path),"string"==typeof t.cookie_name&&(L.cookie_name=t.cookie_name),"function"==typeof t.onAccept&&(h=t.onAccept),"function"==typeof t.onFirstAction&&(p=t.onFirstAction),"function"==typeof t.onChange&&(d=t.onChange),"opt-out"===t.mode&&(L.mode="opt-out"),"number"==typeof t.revision&&(t.revision>-1&&(L.revision=t.revision),$=!0),"boolean"==typeof t.autoclear_cookies&&(L.autoclear_cookies=t.autoclear_cookies),!0===t.use_rfc_cookie&&(L.use_rfc_cookie=!0),"boolean"==typeof t.hide_from_bots&&(L.hide_from_bots=t.hide_from_bots),L.hide_from_bots&&(Q=navigator&&(navigator.userAgent&&/bot|crawl|spider|slurp|teoma/i.test(navigator.userAgent)||navigator.webdriver)),L.page_scripts=!0===t.page_scripts,"browser"===t.auto_language||!0===t.auto_language?L.auto_language="browser":"document"===t.auto_language&&(L.auto_language="document"),L.auto_language,L.current_lang=ed(t.languages,t.current_lang)},eo=function(e){for(var t="accept-",i=a("c-settings"),n=a(t+"all"),r=a(t+"necessary"),o=a(t+"custom"),s=0;s<i.length;s++)i[s].setAttribute("aria-haspopup","dialog"),eE(i[s],"click",function(e){e.preventDefault(),j.showSettings(0)});for(s=0;s<n.length;s++)eE(n[s],"click",function(e){l(e,"all")});for(s=0;s<o.length;s++)eE(o[s],"click",function(e){l(e)});for(s=0;s<r.length;s++)eE(r[s],"click",function(e){l(e,[])});function a(t){return(e||document).querySelectorAll('[data-cc="'+t+'"]')}function l(e,t){e.preventDefault(),j.accept(t),j.hideSettings(),j.hide()}},es=function(e,t){return t.hasOwnProperty(e)?e:eT(t).length>0?t.hasOwnProperty(L.current_lang)?L.current_lang:eT(t)[0]:void 0},ea=function(e){if(!0===t.force_consent&&ex(en,"force--consent"),!b){b=eh("div");var i=eh("div"),n=eh("div");b.id="cm",i.id="c-inr-i",n.id="cm-ov",b.tabIndex=-1,b.setAttribute("role","dialog"),b.setAttribute("aria-modal","true"),b.setAttribute("aria-hidden","false"),b.setAttribute("aria-labelledby","c-ttl"),b.setAttribute("aria-describedby","c-txt"),y.appendChild(b),y.appendChild(n),b.style.visibility=n.style.visibility="hidden",n.style.opacity=0}var r=t.languages[e].consent_modal.title;r&&(E||((E=eh("div")).id="c-ttl",E.setAttribute("role","heading"),E.setAttribute("aria-level","2"),i.appendChild(E)),E.innerHTML=r);var o=t.languages[e].consent_modal.description;$&&(o=W?o.replace("{{revision_message}}",""):o.replace("{{revision_message}}",t.languages[e].consent_modal.revision_message||"")),T||((T=eh("div")).id="c-txt",i.appendChild(T)),T.innerHTML=o;var s,a=t.languages[e].consent_modal.primary_btn,l=t.languages[e].consent_modal.secondary_btn;a&&(x||((x=eh("button")).id="c-p-bn",x.className="c-bn",x.appendChild(eA(1)),"accept_all"===a.role&&(s="all"),eE(x,"click",function(){j.hide(),j.accept(s)})),x.firstElementChild.innerHTML=t.languages[e].consent_modal.primary_btn.text),l&&(_||((_=eh("button")).id="c-s-bn",_.className="c-bn c_link",_.appendChild(eA(1)),"accept_necessary"===l.role?eE(_,"click",function(){j.hide(),j.accept([])}):eE(_,"click",function(){j.showSettings(0)})),_.firstElementChild.innerHTML=t.languages[e].consent_modal.secondary_btn.text);var u=t.gui_options;A||((A=eh("div")).id="c-inr",A.appendChild(i)),w||((w=eh("div")).id="c-bns",u&&u.consent_modal&&!0===u.consent_modal.swap_buttons?(l&&w.appendChild(_),a&&w.appendChild(x),w.className="swap"):(a&&w.appendChild(x),l&&w.appendChild(_)),(a||l)&&A.appendChild(w),b.appendChild(A)),B=!0,eo(A)},el=function(e){if(S)(D=eh("div")).id="s-bl";else{(S=eh("div")).tabIndex=-1;var i=eh("div"),n=eh("div"),r=eh("div");C=eh("div"),O=eh("div");var o=eh("div");(k=eh("button")).appendChild(eA(2));var s=eh("div");N=eh("div");var a=eh("div");eE(r,"click",function(e){H&&!C.contains(e.target)&&j.hideSettings()},!0),S.id="s-cnt",i.id="c-vln",r.id="c-s-in",n.id="cs",O.id="s-ttl",C.id="s-inr",o.id="s-hdr",N.id="s-bl",k.id="s-c-bn",a.id="cs-ov",s.id="s-c-bnc",k.className="
1c-bn",S.setAttribute("role","dialog"),S.setAttribute("aria-modal","true"),S.setAttribute("aria-hidden","true"),S.setAttribute("aria-labelledby","s-ttl"),O.setAttribute("role","heading"),S.style.visibility=a.style.visibility="hidden",a.style.opacity=0,s.appendChild(k),eE(document,"keydown",function(e){27===e.keyCode&&H&&j.hideSettings()},!0),eE(k,"click",function(){j.hideSettings()})}var l=t.languages[e].settings_modal;k.setAttribute("aria-label",l.close_btn_label||"Close"),c=l.blocks,u=l.cookie_table_headers;var h=l.cookie_table_caption,d=c.length;O.innerHTML=l.title;for(var p=0;p<d;++p){var f=c[p].title,m=c[p].description,g=c[p].toggle,v=c[p].cookie_table,b=!0===t.remove_cookie_tables,E=!!m||!b&&!!v,T=eh("div"),x=eh("div");if(m){var _=eh("div");_.className="p",_.insertAdjacentHTML("beforeend",m)}var w=eh("div");if(w.className="title",T.className="c-bl",x.className="desc",void 0!==g){var A="c-ac-"+p,L=eh(E?"button":"div"),V=eh("label"),B=eh("input"),z=eh("span"),$=eh("span"),W=eh("span"),G=eh("span");L.className=E?"b-tl exp":"b-tl",V.className="b-tg",B.className="c-tgl",W.className="on-i",G.className="off-i",z.className="c-tg",$.className="t-lb",E&&(L.setAttribute("aria-expanded","false"),L.setAttribute("aria-controls",A)),B.type="checkbox",z.setAttribute("aria-hidden","true");var K=g.value;B.value=K,$.textContent=f,L.insertAdjacentHTML("beforeend",f),w.appendChild(L),z.appendChild(W),z.appendChild(G),U?g.enabled?(B.checked=!0,D||ee.push(!0),g.enabled&&!D&&X.push(K)):D||ee.push(!1):ec(F.categories,K)>-1?(B.checked=!0,D||ee.push(!0)):D||ee.push(!1),D||et.push(K),g.readonly&&(B.disabled=!0,ex(z,"c-ro"),D||ei.push(K)),ex(x,"b-acc"),ex(w,"b-bn"),ex(T,"b-ex"),x.id=A,x.setAttribute("aria-hidden","true"),V.appendChild(B),V.appendChild(z),V.appendChild($),w.appendChild(V),E&&function(e,t,i){eE(L,"click",function(){ew(t,"act")?(e_(t,"act"),i.setAttribute("aria-expanded","false"),e.setAttribute("aria-hidden","true")):(ex(t,"act"),i.setAttribute("aria-expanded","true"),e.setAttribute("aria-hidden","false"))},!1)}(x,T,L)}else if(f){var Y=eh("div");Y.className="b-tl",Y.setAttribute("role","heading"),Y.setAttribute("aria-level","3"),Y.insertAdjacentHTML("beforeend",f),w.appendChild(Y)}if(f&&T.appendChild(w),m&&x.appendChild(_),!b&&void 0!==v){for(var q=document.createDocumentFragment(),Q=0;Q<u.length;++Q){var J=eh("th"),Z=u[Q];if(J.setAttribute("scope","col"),Z){var en=Z&&eT(Z)[0];J.textContent=u[Q][en],q.appendChild(J)}}var er=eh("tr");er.appendChild(q);var eo=eh("thead");eo.appendChild(er);var es=eh("table");if(h){var ea=eh("caption");ea.innerHTML=h,es.appendChild(ea)}es.appendChild(eo);for(var el=document.createDocumentFragment(),eu=0;eu<v.length;eu++){for(var ed=eh("tr"),ep=0;ep<u.length;++ep)if(Z=u[ep]){en=eT(Z)[0];var ef=eh("td");ef.insertAdjacentHTML("beforeend",v[eu][en]),ef.setAttribute("data-column",Z[en]),ed.appendChild(ef)}el.appendChild(ed)}var em=eh("tbody");em.appendChild(el),es.appendChild(em),x.appendChild(es)}(g&&f||!g&&(f||m))&&(T.appendChild(x),D?D.appendChild(T):N.appendChild(T))}P||((P=eh("div")).id="s-bns"),I||((I=eh("button")).id="s-all-bn",I.className="c-bn",P.appendChild(I),eE(I,"click",function(){j.accept("all"),j.hideSettings(),j.hide()})),I.innerHTML=l.accept_all_btn;var eg=l.reject_all_btn;if(eg&&(M||((M=eh("button")).id="s-rall-bn",M.className="c-bn",eE(M,"click",function(){j.accept([]),j.hideSettings(),j.hide()}),C.className="bns-t",P.appendChild(M)),M.innerHTML=eg),R||((R=eh("button")).id="s-sv-bn",R.className="c-bn",P.appendChild(R),eE(R,"click",function(){j.accept(),j.hideSettings(),j.hide()})),R.innerHTML=l.save_settings_btn,D)return C.replaceChild(D,N),void(N=D);o.appendChild(O),o.appendChild(s),C.appendChild(o),C.appendChild(N),C.appendChild(P),r.appendChild(C),n.appendChild(r),i.appendChild(n),S.appendChild(i),y.appendChild(S),y.appendChild(a)};j.updateLanguage=function(e,i){if("string"==typeof e){var n=es(e,t.languages);return(n!==L.current_lang||!0===i)&&(L.current_lang=n,B&&ea(n),el(n),!0)}};var eu=function(e){var t=c.length,i=-1;K=!1;var n=ey("","all"),r=[L.cookie_domain,"."+L.cookie_domain];if("www."===L.cookie_domain.slice(0,4)){var o=L.cookie_domain.substr(4);r.push(o),r.push("."+o)}for(var s=0;s<t;s++){var a=c[s];if(a.hasOwnProperty("toggle")){var l=ec(G,a.toggle.value)>-1;if(!ee[++i]&&a.hasOwnProperty("cookie_table")&&(e||l)){var h=a.cookie_table,d=eT(u[0])[0],p=h.length;"on_disable"===a.toggle.reload&&l&&(K=!0);for(var f=0;f<p;f++){var m=r,g=h[f],v=[],y=g[d],b=g.is_regex||!1,E=g.domain||null,T=g.path||!1;if(E&&(m=[E,"."+E]),b)for(var x=0;x<n.length;x++)n[x].match(y)&&v.push(n[x]);else{var _=ec(n,y);_>-1&&v.push(n[_])}v.length>0&&(eb(v,T,m),"on_clear"===a.toggle.reload&&(K=!0))}}}}},ec=function(e,t){return e.indexOf(t)},eh=function(e){var t=document.createElement(e);return"button"===e&&t.setAttribute("type",e),t},ed=function(e,t){return"browser"===L.auto_language?es(ep(),e):"document"===L.auto_language?es(document.documentElement.lang,e):"string"==typeof t?L.current_lang=es(t,e):(L.current_lang,L.current_lang)},ep=function(){var e=navigator.language||navigator.browserLanguage;return e.length>2&&(e=e[0]+e[1]),e.toLowerCase()};j.allowedCategory=function(e){if(U&&"opt-in"!==L.mode)t=X;else var t=JSON.parse(ey(L.cookie_name,"one",!0)||"{}").categories||[];return ec(t,e)>-1},j.run=function(t){if(!document.getElementById("cc_div")&&(er(t),!Q)){var a,l=void 0!==(r=(F=JSON.parse(ey(L.cookie_name,"one",!0)||"{}")).consent_uuid);if((i=F.consent_date)&&(i=new Date(i)),(n=F.last_consent_update)&&(n=new Date(n)),V=void 0!==F.data?F.data:null,$&&F.revision!==L.revision&&(W=!1),B=U=!(l&&W&&i&&n&&r),(v=eh("div")).id="cc--main",v.style.position="fixed",v.innerHTML='<div id="cc_div" class="cc_div"></div>',y=v.children[0],a=L.current_lang,B&&ea(a),el(a),(e||document.body).appendChild(v),function(){var e=["[href]","button","input","details",'[tabindex="0"]'];function t(t,i){var n=!1,r=!1;try{for(var o,s=t.querySelectorAll(e.join(':not([tabindex="-1"]), ')),a=s.length,l=0;l<a;)o=s[l].getAttribute("data-focus"),r||"1"!==o?"0"===o&&(n=s[l],r||"0"===s[l+1].getAttribute("data-focus")||(r=s[l+1])):r=s[l],l++}catch(i){return t.querySelectorAll(e.join(", "))}i[0]=s[0],i[1]=s[s.length-1],i[2]=n,i[3]=r}t(C,Z),B&&t(b,J)}(),function(e,t){if("object"==typeof e){var i=e.consent_modal,n=e.settings_modal;B&&i&&r(b,["box","bar","cloud"],["top","middle","bottom"],["zoom","slide"],i.layout,i.position,i.transition),n&&r(S,["bar"],["left","right"],["zoom","slide"],n.layout,n.position,n.transition)}function r(e,t,i,n,r,o,s){if(o=o&&o.split(" ")||[],ec(t,r)>-1&&(ex(e,r),("bar"!==r||"middle"!==o[0])&&ec(i,o[0])>-1))for(var a=0;a<o.length;a++)ex(e,o[a]);ec(n,s)>-1&&ex(e,s)}}(t.gui_options),eo(),L.autorun&&B&&j.show(t.delay||0),setTimeout(function(){ex(v,"c--anim")}
1,30),setTimeout(function(){eE(document,"keydown",function(e){if("Tab"===e.key&&(z||H)&&o){var t=eO();e.shiftKey?t!==o[0]&&s.contains(t)||(e.preventDefault(),eS(o[1])):t!==o[1]&&s.contains(t)||(e.preventDefault(),eS(o[0]))}})},100),U)"opt-out"===L.mode&&(L.mode,ef(X));else{var u="boolean"==typeof F.rfc_cookie;(!u||u&&F.rfc_cookie!==L.use_rfc_cookie)&&(F.rfc_cookie=L.use_rfc_cookie,ev(L.cookie_name,JSON.stringify(F))),f=eg(em()),ef(),"function"==typeof h&&h(F)}}};var ef=function(e){if(L.page_scripts){var t=document.querySelectorAll("script["+L.script_selector+"]"),i=e||F.categories||[],n=function(e,t){if(t<e.length){var r=e[t];if(ec(i,r.getAttribute(L.script_selector))>-1){r.type=r.getAttribute("data-type")||"text/javascript",r.removeAttribute(L.script_selector);var o=r.getAttribute("data-src");o&&r.removeAttribute("data-src");var s=eh("script");if(s.textContent=r.innerHTML,function(e,t){for(var i=t.attributes,n=i.length,r=0;r<n;r++){var o=i[r].nodeName;e.setAttribute(o,t[o]||t.getAttribute(o))}}(s,r),o?s.src=o:o=r.src,o&&(s.readyState?s.onreadystatechange=function(){"loaded"!==s.readyState&&"complete"!==s.readyState||(s.onreadystatechange=null,n(e,++t))}:s.onload=function(){s.onload=null,n(e,++t)}),r.parentNode.replaceChild(s,r),o)return}n(e,++t)}};n(t,0)}};j.set=function(e,t){return"data"===e&&function(e,t){var i=!1;if("update"===t){var n=typeof(V=j.get("data"))==typeof e;if(n&&"object"==typeof V)for(var r in V||(V={}),e)V[r]!==e[r]&&(V[r]=e[r],i=!0);else!n&&V||V===e||(V=e,i=!0)}else V=e,i=!0;return i&&(F.data=V,ev(L.cookie_name,JSON.stringify(F))),i}(t.value,t.mode)},j.get=function(e,t){return JSON.parse(ey(t||L.cookie_name,"one",!0)||"{}")[e]},j.getConfig=function(e){return L[e]||t[e]};var em=function(){return Y=F.categories||[],q=et.filter(function(e){return -1===ec(Y,e)}),{accepted:Y,rejected:q}},eg=function(e){var t="custom",i=ei.length;return e.accepted.length===et.length?t="all":e.accepted.length===i&&(t="necessary"),t};j.getUserPreferences=function(){var e=em();return{accept_type:eg(e),accepted_categories:e.accepted,rejected_categories:e.rejected}},j.loadScript=function(e,t,i){var n="function"==typeof t;if(document.querySelector('script[src="'+e+'"]'))n&&t();else{var r=eh("script");if(i&&i.length>0)for(var o=0;o<i.length;++o)i[o]&&r.setAttribute(i[o].name,i[o].value);n&&(r.onload=t),r.src=e,document.head.appendChild(r)}},j.updateScripts=function(){ef()},j.show=function(e,t){!0===t&&ea(L.current_lang),B&&(m=eO(),o=J,s=b,z=!0,b.removeAttribute("aria-hidden"),setTimeout(function(){ex(en,"show--consent")},e>0?e:30*!!t))},j.hide=function(){B&&(z=!1,eS(a),b.setAttribute("aria-hidden","true"),e_(en,"show--consent"),eS(m),m=null)},j.showSettings=function(e){H=!0,S.removeAttribute("aria-hidden"),z?g=eO():m=eO(),s=S,o=Z,setTimeout(function(){ex(en,"show--settings")},e>0?e:0)},j.hideSettings=function(){H=!1,eC(),eS(l),S.setAttribute("aria-hidden","true"),e_(en,"show--settings"),z?(eS(g),g=null,s=b,o=J):(eS(m),m=null)},j.accept=function(e,t){var o=e||void 0,s=t||[],a=[];if(o)if("object"==typeof o&&"number"==typeof o.length)for(var l=0;l<o.length;l++)-1!==ec(et,o[l])&&a.push(o[l]);else"string"==typeof o&&("all"===o?a=et.slice():-1!==ec(et,o)&&a.push(o));else a=function(){for(var e=document.querySelectorAll(".c-tgl")||[],t=[],i=0;i<e.length;i++)e[i].checked&&t.push(e[i].value);return t}();if(s.length>=1)for(l=0;l<s.length;l++)a=a.filter(function(e){return e!==s[l]});for(l=0;l<et.length;l++)!0===ei.includes(et[l])&&-1===ec(a,et[l])&&a.push(et[l]);var u=a;G=[];var c=S.querySelectorAll(".c-tgl")||[];if(c.length>0)for(var m=0;m<c.length;m++)-1!==ec(u,et[m])?(c[m].checked=!0,ee[m]||(G.push(et[m]),ee[m]=!0)):(c[m].checked=!1,ee[m]&&(G.push(et[m]),ee[m]=!1));!U&&L.autoclear_cookies&&G.length>0&&eu(),i||(i=new Date),r||(r="10000000-1000-4000-8000-100000000000".replace(/[018]/g,function(e){try{return(e^(window.crypto||window.msCrypto).getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16)}catch(e){return""}})),F={categories:u,level:u,revision:L.revision,data:V,rfc_cookie:L.use_rfc_cookie,consent_date:i.toISOString(),consent_uuid:r},(U||G.length>0)&&(W=!0,n=n?new Date:i,F.last_consent_update=n.toISOString(),f=eg(em()),ev(L.cookie_name,JSON.stringify(F)),ef()),U&&(L.autoclear_cookies&&eu(!0),"function"==typeof p&&p(j.getUserPreferences(),F),"function"==typeof h&&h(F),U=!1,"opt-in"===L.mode)||("function"==typeof d&&G.length>0&&d(F,G),K&&location.reload())},j.eraseCookies=function(e,t,i){var n=[],r=i?[i,"."+i]:[L.cookie_domain,"."+L.cookie_domain];if("object"==typeof e&&e.length>0)for(var o=0;o<e.length;o++)this.validCookie(e[o])&&n.push(e[o]);else this.validCookie(e)&&n.push(e);eb(n,t,r)};var ev=function(e,t){var i=L.cookie_expiration;"number"==typeof L.cookie_necessary_only_expiration&&"necessary"===f&&(i=L.cookie_necessary_only_expiration),t=L.use_rfc_cookie?encodeURIComponent(t):t;var n=new Date;n.setTime(n.getTime()+24*i*36e5);var r=e+"="+(t||"")+"; expires="+n.toUTCString()+"; Path="+L.cookie_path+";";r+=" SameSite="+L.cookie_same_site+";",location.hostname.indexOf(".")>-1&&L.cookie_domain&&(r+=" Domain="+L.cookie_domain+";"),"https:"===location.protocol&&(r+=" Secure;"),document.cookie=r},ey=function(e,t,i){var n;if("one"===t){if((n=(n=document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)"))?i?n.pop():e:"")&&e===L.cookie_name){try{n=JSON.parse(n)}catch(e){try{n=JSON.parse(decodeURIComponent(n))}catch(e){n={}}}n=JSON.stringify(n)}}else if("all"===t){var r=document.cookie.split(/;\s*/);n=[];for(var o=0;o<r.length;o++)n.push(r[o].split("=")[0])}return n},eb=function(e,t,i){for(var n=t||"/",r=0;r<e.length;r++){for(var o=0;o<i.length;o++)document.cookie=e[r]+"=; path="+n+(0==i[o].indexOf(".")?"; domain="+i[o]:"")+"; Expires=Thu, 01 Jan 1970 00:00:01 GMT;";e[r]}};
1j.validCookie=function(e){return""!==ey(e,"one",!0)};var eE=function(e,t,i,n){e.addEventListener(t,i,!0===n&&{passive:!0})},eT=function(e){if("object"==typeof e)return Object.keys(e)},ex=function(e,t){e.classList.add(t)},e_=function(e,t){e.classList.remove(t)},ew=function(e,t){return e.classList.contains(t)},eA=function(e){var t=eh("span");return t.tabIndex=-1,1===e?a=t:l=t,t},eS=function(e){e&&e instanceof HTMLElement&&e.focus()},eC=function(){for(var e=C.querySelectorAll(".c-tgl"),t=0;t<e.length;t++){var i=e[t].value,n=ei.includes(i);e[t].checked=n||j.allowedCategory(i)}},eO=function(){return document.activeElement};return j})}()},7430:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var i in t)Object.defineProperty(e,i,{enumerable:!0,get:t[i]})}(t,{ServerInsertedHTMLContext:function(){return r},useServerInsertedHTML:function(){return o}});let n=i(88365)._(i(14232)),r=n.default.createContext(null);function o(e){let t=(0,n.useContext)(r);t&&t(e)}},7743:(e,t,i)=>{"use strict";function n(e){return 9===e||32===e}function r(e){return e>=48&&e<=57}function o(e){return e>=97&&e<=122||e>=65&&e<=90}function s(e){return o(e)||95===e}function a(e){return o(e)||r(e)||95===e}i.d(t,{i0:()=>n,un:()=>s,xr:()=>a,yp:()=>r})},10510:(e,t)=>{"use strict";function i(e){let{widthInt:t,heightInt:i,blurWidth:n,blurHeight:r,blurDataURL:o,objectFit:s}=e,a=n?40*n:t,l=r?40*r:i,u=a&&l?"viewBox='0 0 "+a+" "+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"===s?"xMidYMid":"cover"===s?"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 i}})},10916:(e,t,i)=>{"use strict";function n(){throw Object.defineProperty(Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E488",enumerable:!1,configurable:!0})}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"forbidden",{enumerable:!0,get:function(){return n}}),i(18804).HTTP_ERROR_FALLBACK_ERROR_CODE,("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)},11944:(e,t,i)=>{e.exports=window.DOMPurify||(window.DOMPurify=i(18270).default||i(18270))},14e3:(e,t,i)=>{e.exports=i(94397)},17070:(e,t,i)=>{"use strict";i.d(t,{D_:()=>s,cM:()=>l,ep:()=>a,tQ:()=>u});var n=i(20095),r=i(80593),o={};function s(e,t){o[e]=t}var a=!1!==globalThis.__DEV__?function(){var e,t,i,s,a;
1if(!1===globalThis.__DEV__)throw Error("only supported in development mode");return{limits:Object.fromEntries(Object.entries({parser:1e3,canonicalStringify:1e3,print:2e3,"documentTransform.cache":2e3,"queryManager.getDocumentInfo":2e3,"PersistedQueryLink.persistedQueryHashes":2e3,"fragmentRegistry.transform":2e3,"fragmentRegistry.lookup":1e3,"fragmentRegistry.findFragmentSpreads":4e3,"cache.fragmentQueryDocuments":1e3,"removeTypenameFromVariables.getVariableDefinitions":2e3,"inMemoryCache.maybeBroadcastWatch":5e3,"inMemoryCache.executeSelectionSet":5e4,"inMemoryCache.executeSubSelectedArray":1e4}).map(function(e){var t=e[0],i=e[1];return[t,r.v[t]||i]})),sizes:(0,n.Cl)({print:null==(e=o.print)?void 0:e.call(o),parser:null==(t=o.parser)?void 0:t.call(o),canonicalStringify:null==(i=o.canonicalStringify)?void 0:i.call(o),links:function e(t){var i;return t?(0,n.fX)((0,n.fX)([null==(i=null==t?void 0:t.getMemoryInternals)?void 0:i.call(t)],e(null==t?void 0:t.left),!0),e(null==t?void 0:t.right),!0).filter(d):[]}(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:p(this.queryManager.documentTransform)}},null==(a=(s=this.cache).getMemoryInternals)?void 0:a.call(s))}}:void 0,l=!1!==globalThis.__DEV__?function(){var e=this.config.fragments;return(0,n.Cl)((0,n.Cl)({},c.apply(this)),{addTypenameDocumentTransform:p(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:h(this.storeReader.executeSelectionSet),executeSubSelectedArray:h(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:h(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:h(null==e?void 0:e.findFragmentSpreads),lookup:h(null==e?void 0:e.lookup),transform:h(null==e?void 0:e.transform)}})}:void 0,u=!1!==globalThis.__DEV__?c:void 0;function c(){return{cache:{fragmentQueryDocuments:h(this.getFragmentDoc)}}}function h(e){return e&&"dirtyKey"in e?e.size:void 0}function d(e){return null!=e}function p(e){return(function e(t){return t?(0,n.fX)((0,n.fX)([h(null==t?void 0:t.performWork)],e(null==t?void 0:t.left),!0),e(null==t?void 0:t.right),!0).filter(d):[]})(e).map(function(e){return{cache:e}})}},17318:(e,t,i)=>{"use strict";i.d(t,{Sf:()=>f,V1:()=>v,no:()=>p,vA:()=>y});var n=i(20095),r="Invariant Violation",o=Object.setPrototypeOf,s=void 0===o?function(e,t){return e.__proto__=t,e}:o,a=function(e){function t(i){void 0===i&&(i=r);var n=e.call(this,"number"==typeof i?r+": "+i+" (see https://github.com/apollographql/invariant-packages)":i)||this;return n.framesToPop=1,n.name=r,s(n,t.prototype),n}return(0,n.C6)(t,e),t}(Error);function l(e,t){if(!e)throw new a(t)}var u=["debug","log","warn","error","silent"],c=u.indexOf("log");function h(e){return function(){if(u.indexOf(e)>=c)return(console[e]||console.log).apply(console,arguments)}}!function(e){e.debug=h("debug"),e.log=h("log"),e.warn=h("warn"),e.error=h("error")}(l||(l={}));var d=i(84918);function p(e){try{return e()}catch(e){}}let f=p(function(){return globalThis})||p(function(){return window})||p(function(){return self})||p(function(){return global})||p(function(){return p.constructor("return this")()});var m=i(62091);function g(e){return function(t){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];if("number"==typeof t){var r=t;(t=T(r))||(t=x(r,i),i=[])}e.apply(void 0,[t].concat(i))}}var v=Object.assign(function(e,t){for(var i=[],n=2;n<arguments.length;n++)i[n-2]=arguments[n];e||l(e,T(t,i)||x(t,i))},{debug:g(l.debug),log:g(l.log),warn:g(l.warn),error:g(l.error)});function y(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];return new a(T(e,t)||x(e,t))}var b=Symbol.for("ApolloErrorMessageHandler_"+d.r);function E(e){if("string"==typeof e)return e;try{return(0,m.p)(e,2).slice(0,1e3)}catch(e){return"<non-serializable>"}}function T(e,t){if(void 0===t&&(t=[]),e)return f[b]&&f[b](e,t.map(E))}function x(e,t){if(void 0===t&&(t=[]),e)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:d.r,message:e,args:t.map(E)})))}globalThis.__DEV__},18270:function(e){e.exports=function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(e,i){return(t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,i)}function i(e,n,r){return(i=!function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}()?function(e,i,n){var r=[null];r.push.apply(r,i);var o=new(Function.bind.apply(e,r));return n&&t(o,n.prototype),o}:Reflect.construct).apply(null,arguments)}function n(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return r(e,void 0);var i=Object.prototype.toString.call(e).slice(8,-1);if("Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i)return Array.from(e);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return r(e,t)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=Array(t);i<t;i++)n[i]=e[i];return n}
1var o,s=Object.hasOwnProperty,a=Object.setPrototypeOf,l=Object.isFrozen,u=Object.getPrototypeOf,c=Object.getOwnPropertyDescriptor,h=Object.freeze,d=Object.seal,p=Object.create,f="undefined"!=typeof Reflect&&Reflect,m=f.apply,g=f.construct;m||(m=function(e,t,i){return e.apply(t,i)}),h||(h=function(e){return e}),d||(d=function(e){return e}),g||(g=function(e,t){return i(e,n(t))});var v=O(Array.prototype.forEach),y=O(Array.prototype.pop),b=O(Array.prototype.push),E=O(String.prototype.toLowerCase),T=O(String.prototype.toString),x=O(String.prototype.match),_=O(String.prototype.replace),w=O(String.prototype.indexOf),A=O(String.prototype.trim),S=O(RegExp.prototype.test),C=(o=TypeError,function(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];return g(o,t)});function O(e){return function(t){for(var i=arguments.length,n=Array(i>1?i-1:0),r=1;r<i;r++)n[r-1]=arguments[r];return m(e,t,n)}}function k(e,t,i){i=null!=(n=i)?n:E,a&&a(e,null);for(var n,r=t.length;r--;){var o=t[r];if("string"==typeof o){var s=i(o);s!==o&&(l(t)||(t[r]=s),o=s)}e[o]=!0}return e}function N(e){var t,i=p(null);for(t in e)!0===m(s,e,[t])&&(i[t]=e[t]);return i}function D(e,t){for(;null!==e;){var i=c(e,t);if(i){if(i.get)return O(i.get);if("function"==typeof i.value)return O(i.value)}e=u(e)}return function(e){return console.warn("fallback value for",e),null}}var P=h(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),R=h(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),I=h(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),M=h(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),L=h(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),j=h(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),F=h(["#text"]),V=h(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
1spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),U=h(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),B=h(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),z=h(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),H=d(/\{\{[\w\W]*|[\w\W]*\}\}/gm),$=d(/<%[\w\W]*|[\w\W]*%>/gm),W=d(/\${[\w\W]*}/gm),G=d(/^data-[\-\w.\u00B7-\uFFFF]+$/),K=d(/^aria-[\-\w]+$/),Y=d(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),q=d(/^(?:\w+script|data):/i),X=d(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Q=d(/^html$/i),J=d(/^[a-z][.\w]*(-[.\w]+)+$/i),Z=function(t,i){if("object"!==e(t)||"function"!=typeof t.createPolicy)return null;var n=null,r="data-tt-policy-suffix";i.currentScript&&i.currentScript.hasAttribute(r)&&(n=i.currentScript.getAttribute(r));var o="dompurify"+(n?"#"+n:"");try{return t.createPolicy(o,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}};return function t(){var i,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,s=function(e){return t(e)};if(s.version="2.5.8",s.removed=[],!o||!o.document||9!==o.document.nodeType)return s.isSupported=!1,s;var a=o.document,l=o.document,u=o.DocumentFragment,c=o.HTMLTemplateElement,d=o.Node,p=o.Element,f=o.NodeFilter,m=o.NamedNodeMap,g=void 0===m?o.NamedNodeMap||o.MozNamedAttrMap:m,O=o.HTMLFormElement,ee=o.DOMParser,et=o.trustedTypes,ei=p.prototype,en=D(ei,"cloneNode"),er=D(ei,"nextSibling"),eo=D(ei,"childNodes"),es=D(ei,"parentNode");if("function"==typeof c){var ea=l.createElement("template");ea.content&&ea.content.ownerDocument&&(l=ea.content.ownerDocument)}var el=Z(et,a),eu=el?el.createHTML(""):"",ec=l,eh=ec.implementation,ed=ec.createNodeIterator,ep=ec.createDocumentFragment,ef=ec.getElementsByTagName,em=a.importNode,eg={};try{eg=N(l).documentMode?l.documentMode:{}}catch(e){}var ev={};s.isSupported="function"==typeof es&&eh&&void 0!==eh.createHTMLDocument&&9!==eg;var ey=Y,eb=null,eE=k({},[].concat(n(P),n(R),n(I),n(L),n(F))),eT=null,ex=k({},[].concat(n(V),n(U),n(B),n(z))),e_=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ew=null,eA=null,eS=!0,eC=!0,eO=!1,ek=!0,eN=!1,eD=!0,eP=!1,eR=!1,eI=!1,eM=!1,eL=!1,ej=!1,eF=!0,eV=!1,eU=!0,eB=!1,ez={},eH=null,e$=k({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),eW=null,eG=k({},["audio","video","img","source","image","track"]),eK=null,eY=k({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),eq="http://www.w3.org/1998/Math/MathML",eX="http://www.w3.org/2000/svg",eQ="http://www.w3.org/1999/xhtml",eJ=eQ,eZ=!1,e0=null,e1=k({},[eq,eX,eQ],T),e2=["application/xhtml+xml","text/html"],e3=null,e5=l.createElement("form"),e4=function(e){return e instanceof RegExp||e instanceof Function},e9=function(t){e3&&e3===t||(t&&"object"===e(t)||(t={}),t=N(t),r="application/xhtml+xml"===(i=i=-1===e2.indexOf(t.PARSER_MEDIA_TYPE
1)?"text/html":t.PARSER_MEDIA_TYPE)?T:E,eb="ALLOWED_TAGS"in t?k({},t.ALLOWED_TAGS,r):eE,eT="ALLOWED_ATTR"in t?k({},t.ALLOWED_ATTR,r):ex,e0="ALLOWED_NAMESPACES"in t?k({},t.ALLOWED_NAMESPACES,T):e1,eK="ADD_URI_SAFE_ATTR"in t?k(N(eY),t.ADD_URI_SAFE_ATTR,r):eY,eW="ADD_DATA_URI_TAGS"in t?k(N(eG),t.ADD_DATA_URI_TAGS,r):eG,eH="FORBID_CONTENTS"in t?k({},t.FORBID_CONTENTS,r):e$,ew="FORBID_TAGS"in t?k({},t.FORBID_TAGS,r):{},eA="FORBID_ATTR"in t?k({},t.FORBID_ATTR,r):{},ez="USE_PROFILES"in t&&t.USE_PROFILES,eS=!1!==t.ALLOW_ARIA_ATTR,eC=!1!==t.ALLOW_DATA_ATTR,eO=t.ALLOW_UNKNOWN_PROTOCOLS||!1,ek=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,eN=t.SAFE_FOR_TEMPLATES||!1,eD=!1!==t.SAFE_FOR_XML,eP=t.WHOLE_DOCUMENT||!1,eM=t.RETURN_DOM||!1,eL=t.RETURN_DOM_FRAGMENT||!1,ej=t.RETURN_TRUSTED_TYPE||!1,eI=t.FORCE_BODY||!1,eF=!1!==t.SANITIZE_DOM,eV=t.SANITIZE_NAMED_PROPS||!1,eU=!1!==t.KEEP_CONTENT,eB=t.IN_PLACE||!1,ey=t.ALLOWED_URI_REGEXP||ey,eJ=t.NAMESPACE||eQ,e_=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&e4(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(e_.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&e4(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(e_.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(e_.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),eN&&(eC=!1),eL&&(eM=!0),ez&&(eb=k({},n(F)),eT=[],!0===ez.html&&(k(eb,P),k(eT,V)),!0===ez.svg&&(k(eb,R),k(eT,U),k(eT,z)),!0===ez.svgFilters&&(k(eb,I),k(eT,U),k(eT,z)),!0===ez.mathMl&&(k(eb,L),k(eT,B),k(eT,z))),t.ADD_TAGS&&(eb===eE&&(eb=N(eb)),k(eb,t.ADD_TAGS,r)),t.ADD_ATTR&&(eT===ex&&(eT=N(eT)),k(eT,t.ADD_ATTR,r)),t.ADD_URI_SAFE_ATTR&&k(eK,t.ADD_URI_SAFE_ATTR,r),t.FORBID_CONTENTS&&(eH===e$&&(eH=N(eH)),k(eH,t.FORBID_CONTENTS,r)),eU&&(eb["#text"]=!0),eP&&k(eb,["html","head","body"]),eb.table&&(k(eb,["tbody"]),delete ew.tbody),h&&h(t),e3=t)},e8=k({},["mi","mo","mn","ms","mtext"]),e6=k({},["annotation-xml"]),e7=k({},["title","style","font","a","script"]),te=k({},R);k(te,I),k(te,M);var tt=k({},L);k(tt,j);var ti=function(e){var t=es(e);t&&t.tagName||(t={namespaceURI:eJ,tagName:"template"});var n=E(e.tagName),r=E(t.tagName);return!!e0[e.namespaceURI]&&(e.namespaceURI===eX?t.namespaceURI===eQ?"svg"===n:t.namespaceURI===eq?"svg"===n&&("annotation-xml"===r||e8[r]):!!te[n]:e.namespaceURI===eq?t.namespaceURI===eQ?"math"===n:t.namespaceURI===eX?"math"===n&&e6[r]:!!tt[n]:e.namespaceURI===eQ?(t.namespaceURI!==eX||!!e6[r])&&(t.namespaceURI!==eq||!!e8[r])&&!tt[n]&&(e7[n]||!te[n]):"application/xhtml+xml"===i&&!!e0[e.namespaceURI])},tn=function(e){b(s.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=eu}catch(t){e.remove()}}},tr=function(e,t){try{b(s.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){b(s.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!eT[e])if(eM||eL)try{tn(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},to=function(e){if(eI)e="<remove></remove>"+e;else{var t,n,r=x(e,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===i&&eJ===eQ&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var o=el?el.createHTML(e):e;if(eJ===eQ)try{t=new ee().parseFromString(o,i)}catch(e){}if(!t||!t.documentElement){t=eh.createDocument(eJ,"template",null);try{t.documentElement.innerHTML=eZ?eu:o}catch(e){}}var s=t.body||t.documentElement;return(e&&n&&s.insertBefore(l.createTextNode(n),s.childNodes[0]||null),eJ===eQ)?ef.call(t,eP?"html":"body")[0]:eP?t.documentElement:s},ts=function(e){return ed.call(e.ownerDocument||e,e,f.SHOW_ELEMENT|f.SHOW_COMMENT|f.SHOW_TEXT|f.SHOW_PROCESSING_INSTRUCTION|f.SHOW_CDATA_SECTION,null,!1)},ta=function(e){return e instanceof O&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof g)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},tl=function(t){return"object"===e(d)?t instanceof d:t&&"object"===e(t)&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},tu=function(e,t,i){ev[e]&&v(ev[e],function(e){e.call(s,t,i,e3)})},tc=function(e){if(tu("beforeSanitizeElements",e,null),ta(e)||S(/[\u0080-\uFFFF]/,e.nodeName))return tn(e),!0;var t,i=r(e.nodeName);if(tu("uponSanitizeElement",e,{tagName:i,allowedTags:eb}),e.hasChildNodes()&&!tl(e.firstElementChild)&&(!tl(e.content)||!tl(e.content.firstElementChild))&&S(/<[/\w]/g,e.innerHTML)&&S(/<[/\w]/g,e.textContent)||"select"===i&&S(/<template/i,e.innerHTML)||7===e.nodeType||eD&&8===e.n
1odeType&&S(/<[/\w]/g,e.data))return tn(e),!0;if(!eb[i]||ew[i]){if(!ew[i]&&td(i)&&(e_.tagNameCheck instanceof RegExp&&S(e_.tagNameCheck,i)||e_.tagNameCheck instanceof Function&&e_.tagNameCheck(i)))return!1;if(eU&&!eH[i]){var n=es(e)||e.parentNode,o=eo(e)||e.childNodes;if(o&&n)for(var a=o.length,l=a-1;l>=0;--l){var u=en(o[l],!0);u.__removalCount=(e.__removalCount||0)+1,n.insertBefore(u,er(e))}}return tn(e),!0}return e instanceof p&&!ti(e)||("noscript"===i||"noembed"===i||"noframes"===i)&&S(/<\/no(script|embed|frames)/i,e.innerHTML)?(tn(e),!0):(eN&&3===e.nodeType&&(t=_(t=e.textContent,H," "),t=_(t,$," "),t=_(t,W," "),e.textContent!==t&&(b(s.removed,{element:e.cloneNode()}),e.textContent=t)),tu("afterSanitizeElements",e,null),!1)},th=function(e,t,i){if(eF&&("id"===t||"name"===t)&&(i in l||i in e5))return!1;if(eC&&!eA[t]&&S(G,t));else if(eS&&S(K,t));else if(!eT[t]||eA[t]){if(!(td(e)&&(e_.tagNameCheck instanceof RegExp&&S(e_.tagNameCheck,e)||e_.tagNameCheck instanceof Function&&e_.tagNameCheck(e))&&(e_.attributeNameCheck instanceof RegExp&&S(e_.attributeNameCheck,t)||e_.attributeNameCheck instanceof Function&&e_.attributeNameCheck(t))||"is"===t&&e_.allowCustomizedBuiltInElements&&(e_.tagNameCheck instanceof RegExp&&S(e_.tagNameCheck,i)||e_.tagNameCheck instanceof Function&&e_.tagNameCheck(i))))return!1}else if(eK[t]);else if(S(ey,_(i,X,"")));else if(("src"===t||"xlink:href"===t||"href"===t)&&"script"!==e&&0===w(i,"data:")&&eW[e]);else if(eO&&!S(q,_(i,X,"")));else if(i)return!1;return!0},td=function(e){return"annotation-xml"!==e&&x(e,J)},tp=function(t){tu("beforeSanitizeAttributes",t,null);var i,n,o,a,l=t.attributes;if(!(!l||ta(t))){var u={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:eT};for(a=l.length;a--;){var c=(i=l[a]).name,h=i.namespaceURI;if(n="value"===c?i.value:A(i.value),u.attrName=o=r(c),u.attrValue=n,u.keepAttr=!0,u.forceKeepAttr=void 0,tu("uponSanitizeAttribute",t,u),n=u.attrValue,!u.forceKeepAttr&&(tr(c,t),u.keepAttr)){if(!ek&&S(/\/>/i,n)){tr(c,t);continue}eN&&(n=_(n,H," "),n=_(n,$," "),n=_(n,W," "));
1var d=r(t.nodeName);if(th(d,o,n)){if(eV&&("id"===o||"name"===o)&&(tr(c,t),n="user-content-"+n),eD&&S(/((--!?|])>)|<\/(style|title)/i,n)){tr(c,t);continue}if(el&&"object"===e(et)&&"function"==typeof et.getAttributeType)if(h);else switch(et.getAttributeType(d,o)){case"TrustedHTML":n=el.createHTML(n);break;case"TrustedScriptURL":n=el.createScriptURL(n)}try{h?t.setAttributeNS(h,c,n):t.setAttribute(c,n),ta(t)?tn(t):y(s.removed)}catch(e){}}}}tu("afterSanitizeAttributes",t,null)}},tf=function e(t){var i,n=ts(t);for(tu("beforeSanitizeShadowDOM",t,null);i=n.nextNode();)tu("uponSanitizeShadowNode",i,null),tc(i),tp(i),i.content instanceof u&&e(i.content);tu("afterSanitizeShadowDOM",t,null)};return s.sanitize=function(t){var i,n,l,c,h,p=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((eZ=!t)&&(t="\x3c!--\x3e"),"string"!=typeof t&&!tl(t))if("function"==typeof t.toString){if("string"!=typeof(t=t.toString()))throw C("dirty is not a string, aborting")}else throw C("toString is not a function");if(!s.isSupported){if("object"===e(o.toStaticHTML)||"function"==typeof o.toStaticHTML){if("string"==typeof t)return o.toStaticHTML(t);if(tl(t))return o.toStaticHTML(t.outerHTML)}return t}if(eR||e9(p),s.removed=[],"string"==typeof t&&(eB=!1),eB){if(t.nodeName){var f=r(t.nodeName);if(!eb[f]||ew[f])throw C("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof d)1===(n=(i=to("\x3c!----\x3e")).ownerDocument.importNode(t,!0)).nodeType&&"BODY"===n.nodeName||"HTML"===n.nodeName?i=n:i.appendChild(n);else{if(!eM&&!eN&&!eP&&-1===t.indexOf("<"))return el&&ej?el.createHTML(t):t;if(!(i=to(t)))return eM?null:ej?eu:""}i&&eI&&tn(i.firstChild);for(var m=ts(eB?t:i);l=m.nextNode();)(3!==l.nodeType||l!==c)&&(tc(l),tp(l),l.content instanceof u&&tf(l.content),c=l);if(c=null,eB)return t;if(eM){if(eL)for(h=ep.call(i.ownerDocument);i.firstChild;)h.appendChild(i.firstChild);else h=i;
1return(eT.shadowroot||eT.shadowrootmod)&&(h=em.call(a,h,!0)),h}var g=eP?i.outerHTML:i.innerHTML;return eP&&eb["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&S(Q,i.ownerDocument.doctype.name)&&(g="<!DOCTYPE "+i.ownerDocument.doctype.name+">\n"+g),eN&&(g=_(g,H," "),g=_(g,$," "),g=_(g,W," ")),el&&ej?el.createHTML(g):g},s.setConfig=function(e){e9(e),eR=!0},s.clearConfig=function(){e3=null,eR=!1},s.isValidAttribute=function(e,t,i){return e3||e9({}),th(r(e),r(t),i)},s.addHook=function(e,t){"function"==typeof t&&(ev[e]=ev[e]||[],b(ev[e],t))},s.removeHook=function(e){if(ev[e])return y(ev[e])},s.removeHooks=function(e){ev[e]&&(ev[e]=[])},s.removeAllHooks=function(){ev={}},s}()}()},18659:(e,t,i)=>{"use strict";i.d(t,{v:()=>r});var n=new Map;function r(e){var t=n.get(e)||1;return n.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}},18877:(e,t,i)=>{"use strict";i.d(t,{l:()=>o});var n=i(20095),r=i(79760);function o(e,t){return(0,r.o)(e,t,t.variables&&{variables:(0,r.o)((0,n.Cl)((0,n.Cl)({},e&&e.variables),t.variables))})}},19975:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unstable_rethrow",{enumerable:!0,get:function(){return function e(t){if((0,r.isNextRouterError)(t)||(0,n.isBailoutToCSRError)(t))throw t;t instanceof Error&&"cause"in t&&e(t.cause)}}});let n=i(66336),r=i(23428);("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)},20095:(e,t,i)=>{"use strict";i.d(t,{C6:()=>r,Cl:()=>o,Tt:()=>s,YH:()=>l,fX:()=>u,sH:()=>a});var n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)};function r(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var o=function(){return(o=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function s(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,n=Object.getOwnPropertySymbols(e);r<n.length;r++)0>t.indexOf(n[r])&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]]);return i}function a(e,t,i,n){return new(i||(i=Promise))(function(r,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})}function l(e,t){var i,n,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){var l=[o,a];if(i)throw TypeError("Generator is already executing.");for(;s;)try{if(i=1,n&&(r=2&l[0]?n.return:l[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,l[1])).done)return r;switch(n=0,r&&(l=[2&l[0],r.value]),l[0]){case 0:case 1:r=l;break;case 4:return s.label++,{value:l[1],done:!1};case 5:s.label++,n=l[1],l=[0];continue;case 7:l=s.ops.pop(),s.trys.pop();continue;default:if(!(r=(r=s.trys).length>0&&r[r.length-1])&&(6===l[0]||2===l[0])){s=0;continue}if(3===l[0]&&(!r||l[1]>r[0]&&l[1]<r[3])){s.label=l[1];break}if(6===l[0]&&s.label<r[1]){s.label=r[1],r=l;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(l);break}r[2]&&s.ops.pop(),s.trys.pop();continue}l=t.call(e,s)}catch(e){l=[6,e],n=0}finally{i=r=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}}function u(e,t,i){if(i||2==arguments.length)for(var n,r=0,o=t.length;r<o;r++)!n&&r in t||(n||(n=Array.prototype.slice.call(t,0,r)),n[r]=t[r]);return e.concat(n||Array.prototype.slice.call(t))}Object.create,Object.create},20996:(e,t,i)=>{"use strict";i.d(t,{A:()=>l,L:()=>a});let{toString:n,hasOwnProperty:r}=Object.prototype,o=Function.prototype.toString,s=new Map;function a(e,t){try{return function e(t,i){if(t===i)return!0;let s=n.call(t);if(s!==n.call(i))return!1;switch(s){case"[object Array]":if(t.length!==i.length)break;case"[object Object]":{if(d(t,i))return!0;let n=u(t),o=u(i),s=n.length;if(s!==o.length)return!1;for(let e=0;e<s;++e)if(!r.call(i,n[e]))return!1;for(let r=0;r<s;++r){let o=n[r];if(!e(t[o],i[o]))return!1}return!0}case"[object Error]":return t.name===i.name&&t.message===i.message;case"[object Number]":if(t!=t)return i!=i;case"[object Boolean]":case"[object Date]":return+t==+i;case"[object RegExp]":case"[object String]":return t==`${i}`;case"[object Map]":case"[object Set]":{if(t.size!==i.size)return!1;if(d(t,i))return!0;let n=t.entries(),r="[object Map]"===s;for(;;){let t=n.next();if(t.done)break;let[o,s]=t.value;if(!i.has(o)||r&&!e(s,i.get(o)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":t=new Uint8Array(t),i=new Uint8Array(i);case"[object DataView]":{let e=t.byteLength;if(e===i.byteLength)for(;e--&&t[e]===i[e];);return -1===e}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{let e=o.call(t);if(e!==o.call(i))return!1;return!function(e,t){let i=e.length-t.length;return i>=0&&e.indexOf(t,i)===i}(e,h)}}return!1}(e,t)}finally{s.clear()}}let l=a;function u(e){return Object.keys(e).filter(c,e)}function c(e){return void 0!==this[e]}let h="{ [native code] }";function d(e,t){let i=s.get(e);if(i){if(i.has(t))return!0}else s.set(e,i=new Set);return i.add(t),!1}},21500:(e,t,i)=>{"use strict";i.d(t,{G:()=>r});var n=i(93957);function r(e){var t;
1return!1!==globalThis.__DEV__&&(t=new Set([e])).forEach(function(e){(0,n.U)(e)&&function(e){if(!1!==globalThis.__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(e){if(e instanceof TypeError)return null;throw e}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach(function(i){(0,n.U)(e[i])&&t.add(e[i])})}),e}},22182:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var i in t)Object.defineProperty(e,i,{enumerable:!0,get:t[i]})}(t,{UnrecognizedActionError:function(){return i},unstable_isUnrecognizedActionError:function(){return n}});class i extends Error{constructor(...e){super(...e),this.name="UnrecognizedActionError"}}function n(e){return!!(e&&"object"==typeof e&&e instanceof i)}("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)},23460:(e,t,i)=>{"use strict";let n;function r(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}i.d(t,{P:()=>oe});let o=e=>Array.isArray(e);function s(e,t){if(!Array.isArray(t))return!1;let i=t.length;if(i!==e.length)return!1;for(let n=0;n<i;n++)if(t[n]!==e[n])return!1;return!0}function a(e){return"string"==typeof e||Array.isArray(e)}function l(e){let t=[{},{}];return null==e||e.values.forEach((e,i)=>{t[0][i]=e.get(),t[1][i]=e.getVelocity()}),t}function u(e,t,i,n){if("function"==typeof t){let[r,o]=l(n);t=t(void 0!==i?i:e.custom,r,o)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[r,o]=l(n);t=t(void 0!==i?i:e.custom,r,o)}return t}function c(e,t,i){let n=e.getProps();return u(n,t,void 0!==i?i:n.custom,e)}let h=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],d=["initial",...h],p=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],f=new Set(p),m=e=>1e3*e,g={type:"spring",stiffness:500,damping:25,restSpeed:10},v={type:"keyframes",duration:.8},y={type:"keyframes",ease:[.25,.1,.35,1],duration:.3};function b(e,t){return e?e[t]||e.default||e:void 0}let E={skipAnimations:!1,useManualTiming:!1},T={current:!1},x=e=>null!==e;function _(e,{repeat:t,repeatType:i="loop"},n){let r=e.filter(x),o=t&&"loop"!==i&&t%2==1?0:r.length-1;return o&&void 0!==n?n:r[o]}let w=e=>e,A=["read","resolveKeyframes","update","preRender","render","postRender"];function S(e,t){let i=!1,n=!0,r={delta:0,timestamp:0,isProcessing:!1},o=()=>i=!0,s=A.reduce((e,t)=>(e[t]=function(e){let t=new Set,i=new Set,n=!1,r=!1,o=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1};function a(t){o.has(t)&&(l.schedule(t),e()),t(s)}let l={schedule:(e,r=!1,s=!1)=>{let a=s&&n?t:i;return r&&o.add(e),a.has(e)||a.add(e),e},cancel:e=>{i.delete(e),o.delete(e)},process:e=>{if(s=e,n){r=!0;return}n=!0,[t,i]=[i,t],t.forEach(a),t.clear(),n=!1,r&&(r=!1,l.process(e))}};return l}(o),e),{}),{read:a,resolveKeyframes:l,update:u,preRender:c,render:h,postRender:d}=s,p=()=>{let o=E.useManualTiming?r.timestamp:performance.now();i=!1,r.delta=n?1e3/60:Math.max(Math.min(o-r.timestamp,40),1),r.timestamp=o,r.isProcessing=!0,a.process(r),l.process(r),u.process(r),c.process(r),h.process(r),d.process(r),r.isProcessing=!1,i&&t&&(n=!1,e(p))};return{schedule:A.reduce((t,o)=>{let a=s[o];return t[o]=(t,o=!1,s=!1)=>(!i&&(i=!0,n=!0,r.isProcessing||e(p)),a.schedule(t,o,s)),t},{}),cancel:e=>{for(let t=0;t<A.length;t++)s[A[t]].cancel(e)},state:r,steps:s}}let{schedule:C,cancel:O,state:k,steps:N}=S("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:w,!0),D=(e,t,i)=>(((1-3*i+3*t)*e+(3*i-6*t))*e+3*t)*e;function P(e,t,i,n){return e===t&&i===n?w:r=>0===r||1===r?r:D(function(e,t,i,n,r){let o,s,a=0;do(o=D(s=t+(i-t)/2,n,r)-e)>0?i=s:t=s;while(Math.abs(o)>1e-7&&++a<12);return s}(r,0,1,e,i),t,n)}let R=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,I=e=>t=>1-e(1-t),M=P(.33,1.53,.69,.99),L=I(M),j=R(L),F=e=>(e*=2)<1?.5*L(e):.5*(2-Math.pow(2,-10*(e-1))),V=e=>1-Math.sin(Math.acos(e)),U=I(V),B=R(V),z=e=>/^0[^.\s]+$/u.test(e),H=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),$=e=>t=>"string"==typeof t&&t.startsWith(e),W=$("--"),G=$("var(--"),K=e=>!!G(e)&&Y.test(e.split("/*")[0].trim()),Y=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,q=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,X=(e,t,i)=>i>t?t:i<e?e:i,Q={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},J={...Q,transform:e=>X(0,1,e)},Z={...Q,default:1},ee=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),et=ee("deg"),ei=ee("%"),en=ee("px"),er=ee("vh"),eo=ee("vw"),es={...ei,parse:e=>ei.parse(e)/100,transform:e=>ei.transform(100*e)},ea=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),el=e=>e===Q||e===en,eu=(e,t)=>
1parseFloat(e.split(", ")[t]),ec=(e,t)=>(i,{transform:n})=>{if("none"===n||!n)return 0;let r=n.match(/^matrix3d\((.+)\)$/u);if(r)return eu(r[1],t);{let t=n.match(/^matrix\((.+)\)$/u);return t?eu(t[1],e):0}},eh=new Set(["x","y","z"]),ed=p.filter(e=>!eh.has(e)),ep={width:({x:e},{paddingLeft:t="0",paddingRight:i="0"})=>e.max-e.min-parseFloat(t)-parseFloat(i),height:({y:e},{paddingTop:t="0",paddingBottom:i="0"})=>e.max-e.min-parseFloat(t)-parseFloat(i),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:ec(4,13),y:ec(5,14)};ep.translateX=ep.x,ep.translateY=ep.y;let ef=e=>t=>t.test(e),em=[Q,en,ei,et,eo,er,{test:e=>"auto"===e,parse:e=>e}],eg=e=>em.find(ef(e)),ev=new Set,ey=!1,eb=!1;function eE(){if(eb){let e=Array.from(ev).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),i=new Map;t.forEach(e=>{let t=function(e){let t=[];return ed.forEach(i=>{let n=e.getValue(i);void 0!==n&&(t.push([i,n.get()]),n.set(+!!i.startsWith("scale")))}),t}(e);t.length&&(i.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=i.get(e);t&&t.forEach(([t,i])=>{var n;null==(n=e.getValue(t))||n.set(i)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}eb=!1,ey=!1,ev.forEach(e=>e.complete()),ev.clear()}function eT(){ev.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(eb=!0)})}class ex{constructor(e,t,i,n,r,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=i,this.motionValue=n,this.element=r,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(ev.add(this),ey||(ey=!0,C.read(eT),C.resolveKeyframes(eE))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:i,motionValue:n}=this;for(let r=0;r<e.length;r++)if(null===e[r])if(0===r){let r=null==n?void 0:n.get(),o=e[e.length-1];if(void 0!==r)e[0]=r;else if(i&&t){let n=i.readValue(t,o);null!=n&&(e[0]=n)}void 0===e[0]&&(e[0]=o),n&&void 0===r&&n.set(e[0])}else e[r]=e[r-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),ev.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,ev.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}let e_=e=>Math.round(1e5*e)/1e5,ew=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,eA=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,eS=(e,t)=>i=>!!("string"==typeof i&&eA.test(i)&&i.startsWith(e)||t&&null!=i&&Object.prototype.hasOwnProperty.call(i,t)),eC=(e,t,i)=>n=>{if("string"!=typeof n)return n;let[r,o,s,a]=n.match(ew);return{[e]:parseFloat(r),[t]:parseFloat(o),[i]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},eO={...Q,transform:e=>Math.round(X(0,255,e))},ek={test:eS("rgb","red"),parse:eC("red","green","blue"),transform:({red:e,green:t,blue:i,alpha:n=1})=>"rgba("+eO.transform(e)+", "+eO.transform(t)+", "+eO.transform(i)+", "+e_(J.transform(n))+")"},eN={test:eS("#"),parse:function(e){let t="",i="",n="",r="";return e.length>5?(t=e.substring(1,3),i=e.substring(3,5),n=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),i=e.substring(2,3),n=e.substring(3,4),r=e.substring(4,5),t+=t,i+=i,n+=n,r+=r),{red:parseInt(t,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:r?parseInt(r,16)/255:1}},transform:ek.transform},eD={test:eS("hsl","hue"),parse:eC("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:i,alpha:n=1})=>"hsla("+Math.round(e)+", "+ei.transform(e_(t))+", "+ei.transform(e_(i))+", "+e_(J.transform(n))+")"},eP={test:e=>ek.test(e)||eN.test(e)||eD.test(e),parse:e=>ek.test(e)?ek.parse(e):eD.test(e)?eD.parse(e):eN.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?ek.transform(e):eD.transform(e)},eR=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,eI="number",eM="color",eL=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function ej(e){let t=e.toString(),i=[],n={color:[],number:[],var:[]},r=[],o=0,s=t.replace(eL,e=>(eP.test(e)?(n.color.push(o),r.push(eM),i.push(eP.parse(e))):e.startsWith("var(")?(n.var.push(o),r.push("var"),i.push(e)):(n.number.push(o),r.push(eI),i.push(parseFloat(e))),++o,"${}")).split("${}");return{values:i,split:s,indexes:n,types:r}}function eF(e){return ej(e).values}function eV(e){let{split:t,types:i}=ej(e),n=t.length;return e=>{let r="";for(let o=0;o<n;o++)if(r+=t[o],void 0!==e[o]){let t=i[o];t===eI?r+=e_(e[o]):t===eM?r+=eP.transform(e[o]):r+=e[o]}return r}}let eU=e=>"number"==typeof e?0:e,eB={test:function(e){var t,i;return isNaN(e)&&"string"==typeof e&&((null==(t=e.match(ew))?void 0:t.length)||0)+((null==(i=e.match(eR))?void 0:i.length)||0)>0},parse:eF,createTransformer:eV,getAnimatableNone:function(e){let t=eF(e);return eV(e)(t.map(eU))}},ez=new Set(["brightness","contrast","saturate","opacity"]);function eH(e){let[t,i]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[n]=i.match(ew)||[];if(!n)return e;let r=i.replace(n,""),o=+!!ez.has(t);return n!==i&&(o*=100),t+"("+o+r+")"}let e$=/\b([a-z-]*)\(.*?\)/gu,eW={...eB,getAnimatableNone:e=>{let t=e.match(e$);return t?t.map(eH).join(" "):e}},eG={...Q,transform:Math.round}
1,eK={borderWidth:en,borderTopWidth:en,borderRightWidth:en,borderBottomWidth:en,borderLeftWidth:en,borderRadius:en,radius:en,borderTopLeftRadius:en,borderTopRightRadius:en,borderBottomRightRadius:en,borderBottomLeftRadius:en,width:en,maxWidth:en,height:en,maxHeight:en,top:en,right:en,bottom:en,left:en,padding:en,paddingTop:en,paddingRight:en,paddingBottom:en,paddingLeft:en,margin:en,marginTop:en,marginRight:en,marginBottom:en,marginLeft:en,backgroundPositionX:en,backgroundPositionY:en,rotate:et,rotateX:et,rotateY:et,rotateZ:et,scale:Z,scaleX:Z,scaleY:Z,scaleZ:Z,skew:et,skewX:et,skewY:et,distance:en,translateX:en,translateY:en,translateZ:en,x:en,y:en,z:en,perspective:en,transformPerspective:en,opacity:J,originX:es,originY:es,originZ:en,zIndex:eG,size:en,fillOpacity:J,strokeOpacity:J,numOctaves:eG},eY={...eK,color:eP,backgroundColor:eP,outlineColor:eP,fill:eP,stroke:eP,borderColor:eP,borderTopColor:eP,borderRightColor:eP,borderBottomColor:eP,borderLeftColor:eP,filter:eW,WebkitFilter:eW},eq=e=>eY[e];function eX(e,t){let i=eq(e);return i!==eW&&(i=eB),i.getAnimatableNone?i.getAnimatableNone(t):void 0}let eQ=new Set(["auto","none","0"]);class eJ extends ex{constructor(e,t,i,n,r){super(e,t,i,n,r,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:i}=this;if(!t||!t.current)return;super.readKeyframes();for(let i=0;i<e.length;i++){let n=e[i];if("string"==typeof n&&K(n=n.trim())){let r=function e(t,i,n=1){w(n<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[r,o]=function(e){let t=q.exec(e);if(!t)return[,];let[,i,n,r]=t;return[`--${null!=i?i:n}`,r]}(t);if(!r)return;let s=window.getComputedStyle(i).getPropertyValue(r);if(s){let e=s.trim();return H(e)?parseFloat(e):e}return K(o)?e(o,i,n+1):o}(n,t.current);void 0!==r&&(e[i]=r),i===e.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!ea.has(i)||2!==e.length)return;let[n,r]=e,o=eg(n),s=eg(r);if(o!==s)if(el(o)&&el(s))for(let t=0;t<e.length;t++){let i=e[t];"string"==typeof i&&(e[t]=parseFloat(i))}else this.needsMeasurement=!0}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,i=[];for(let t=0;t<e.length;t++){var n;("number"==typeof(n=e[t])?0===n:null===n||"none"===n||"0"===n||z(n))&&i.push(t)}i.length&&function(e,t,i){let n,r=0;for(;r<e.length&&!n;){let t=e[r];"string"==typeof t&&!eQ.has(t)&&ej(t).values.length&&(n=e[r]),r++}if(n&&i)for(let r of t)e[r]=eX(i,n)}(e,i,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:i}=this;if(!e||!e.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ep[i](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let n=t[t.length-1];void 0!==n&&e.getValue(i,n).jump(n,!1)}measureEndState(){var e;let{element:t,name:i,unresolvedKeyframes:n}=this;if(!t||!t.current)return;let r=t.getValue(i);r&&r.jump(this.measuredOrigin,!1);let o=n.length-1,s=n[o];n[o]=ep[i](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),(null==(e=this.removedTransforms)?void 0:e.length)&&this.removedTransforms.forEac
1h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}function eZ(e){return"function"==typeof e}function e0(){n=void 0}let e1={now:()=>(void 0===n&&e1.set(k.isProcessing||E.useManualTiming?k.timestamp:performance.now()),n),set:e=>{n=e,queueMicrotask(e0)}},e2=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(eB.test(e)||"0"===e)&&!e.startsWith("url("));class e3{constructor({autoplay:e=!0,delay:t=0,type:i="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:o="loop",...s}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=e1.now(),this.options={autoplay:e,delay:t,type:i,repeat:n,repeatDelay:r,repeatType:o,...s},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(eT(),eE()),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=e1.now(),this.hasAttemptedResolve=!0;let{name:i,type:n,velocity:r,delay:o,onComplete:s,onUpdate:a,isGenerator:l}=this.options;if(!l&&!function(e,t,i,n){let r=e[0];if(null===r)return!1;if("display"===t||"visibility"===t)return!0;let o=e[e.length-1],s=e2(r,t),a=e2(o,t);return w(s===a,`You are trying to animate ${t} from "${r}" to "${o}". ${r} is not an animatable value - to enable this animation set ${r} to a value animatable to ${o} via the \`style\` property.`),!!s&&!!a&&(function(e){let t=e[0];if(1===e.length)return!0;for(let i=0;i<e.length;i++)if(e[i]!==t)return!0}(e)||("spring"===i||eZ(i))&&n)}(e,i,n,r))if(T.current||!o){null==a||a(_(e,this.options,t)),null==s||s(),this.resolveFinishedPromise();return}else this.options.duration=0;let u=this.initPlayback(e,t);!1!==u&&(this._resolved={keyframes:e,finalKeyframe:t,...u},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}let e5=(e,t,i)=>{let n=t-e;return 0===n?1:(i-e)/n},e4=(e,t,i=10)=>{let n="",r=Math.max(Math.round(t/i),2);for(let t=0;t<r;t++)n+=e(e5(0,r-1,t))+", ";return`linear(${n.substring(0,n.length-2)})`};function e9(e,t,i){var n,r;let o=Math.max(t-5,0);return n=i-e(o),(r=t-o)?1e3/r*n:0}let e8={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function e6(e,t){return e*Math.sqrt(1-t*t)}function e7(e){let t=0,i=e.next(t);for(;!i.done&&t<2e4;)t+=50,i=e.next(t);return t>=2e4?1/0:t}let te=["duration","bounce"],tt=["stiffness","damping","mass"];function ti(e,t){return t.some(t=>void 0!==e[t])}function tn(e=e8.visualDuration,t=e8.bounce){let i,n="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:r,restDelta:o}=n,s=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],l={done:!1,value:s},{stiffness:u,damping:c,mass:h,duration:d,velocity:p,isResolvedFromDuration:f}=function(e){let t={velocity:e8.velocity,stiffness:e8.stiffness,damping:e8.damping,mass:e8.mass,isResolvedFromDuration:!1,...e};if(!ti(e,tt)&&ti(e,te))if(e.visualDuration){let i=2*Math.PI/(1.2*e.visualDuration),n=i*i,r=2*X(.05,1,1-e.bounce)*Math.sqrt(n);t={...t,mass:e8.mass,stiffness:n,damping:r}}else{let i=function({duration:e=e8.duration,bounce:t=e8.bounce,velocity:i=e8.velocity,mass:n=e8.mass}){let r,o;w(e<=m(e8.maxDuration),"Spring duration must be 10 seconds or less");let s=1-t;s=X(e8.minDamping,e8.maxDamping,s),e=X(e8.minDuration,e8.maxDuration,e/1e3),s<1?(r=t=>{let n=t*s,r=n*e;return .001-(n-i)/e6(t,s)*Math.exp(-r)},o=t=>{let n=t*s*e,o=Math.pow(s,2)*Math.pow(t,2)*e,a=Math.exp(-n),l=e6(Math.pow(t,2),s);return(n*i+i-o)*a*(-r(t)+.001>0?-1:1)/l}):(r=t=>-.001+Math.exp(-t*e)*((t-i)*e+1),o=t=>e*e*(i-t)*Math.exp(-t*e));let a=function(e,t,i){let n=i;for(let i=1;i<12;i++)n-=e(n)/t(n);return n}(r,o,5/e);if(e=m(e),isNaN(a))return{stiffness:e8.stiffness,damping:e8.damping,duration:e};{let t=Math.pow(a,2)*n;return{stiffness:t,damping:2*s*Math.sqrt(n*t),duration:e}}}(e);(t={...t,...i,mass:e8.mass}).isResolvedFromDuration=!0}return t}({...n,velocity:-((n.velocity||0)/1e3)}),g=p||0,v=c/(2*Math.sqrt(u*h)),y=a-s,b=Math.sqrt(u/h)/1e3,E=5>Math.abs(y);if(r||(r=E?e8.restSpeed.granular:e8.restSpeed.default),o||(o=E?e8.restDelta.granular:e8.restDelta.default),v<1){let e=e6(b,v);i=t=>a-Math.exp(-v*b*t)*((g+v*b*y)/e*Math.sin(e*t)+y*Math.cos(e*t))}else if(1===v)i=e=>a-Math.exp(-b*e)*(y+(g+b*y)*e);else{let e=b*Math.sqrt(v*v-1);i=t=>{let i=Math.exp(-v*b*t),n=Math.min(e*t,300);return a-i*((g+v*b*y)*Math.sinh(n)+e*y*Math.cosh(n))/e}}
1let T={calculatedDuration:f&&d||null,next:e=>{let t=i(e);if(f)l.done=e>=d;else{let n=0;v<1&&(n=0===e?m(g):e9(i,e,t));let s=Math.abs(a-t)<=o;l.done=Math.abs(n)<=r&&s}return l.value=l.done?a:t,l},toString:()=>{let e=Math.min(e7(T),2e4),t=e4(t=>T.next(e*t).value,e,30);return e+"ms "+t}};return T}function tr({keyframes:e,velocity:t=0,power:i=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:u=.5,restSpeed:c}){let h,d,p=e[0],f={done:!1,value:p},m=i*t,g=p+m,v=void 0===s?g:s(g);v!==g&&(m=v-p);let y=e=>-m*Math.exp(-e/n),b=e=>v+y(e),E=e=>{let t=y(e),i=b(e);f.done=Math.abs(t)<=u,f.value=f.done?v:i},T=e=>{let t;if(t=f.value,void 0!==a&&t<a||void 0!==l&&t>l){var i;h=e,d=tn({keyframes:[f.value,(i=f.value,void 0===a?l:void 0===l||Math.abs(a-i)<Math.abs(l-i)?a:l)],velocity:e9(b,e,f.value),damping:r,stiffness:o,restDelta:u,restSpeed:c})}};return T(0),{calculatedDuration:null,next:e=>{let t=!1;return(d||void 0!==h||(t=!0,E(e),T(e)),void 0!==h&&e>=h)?d.next(e-h):(t||E(e),f)}}}let to=P(.42,0,1,1),ts=P(0,0,.58,1),ta=P(.42,0,.58,1),tl=e=>Array.isArray(e)&&"number"==typeof e[0],tu={linear:w,easeIn:to,easeInOut:ta,easeOut:ts,circIn:V,circInOut:B,circOut:U,backIn:L,backInOut:j,backOut:M,anticipate:F},tc=e=>{if(tl(e)){w(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,i,n,r]=e;return P(t,i,n,r)}return"string"==typeof e?(w(void 0!==tu[e],`Invalid easing type '${e}'`),tu[e]):e},th=(e,t)=>i=>t(e(i)),td=(...e)=>e.reduce(th),tp=(e,t,i)=>e+(t-e)*i;function tf(e,t,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?e+(t-e)*6*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}function tm(e,t){return i=>i>0?t:e}let tg=(e,t,i)=>{let n=e*e,r=i*(t*t-n)+n;return r<0?0:Math.sqrt(r)},tv=[eN,ek,eD];function ty(e){let t=tv.find(t=>t.test(e));if(w(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let i=t.parse(e);return t===eD&&(i=function({hue:e,saturation:t,lightness:i,alpha:n}){e/=360,i/=100;let r=0,o=0,s=0;if(t/=100){let n=i<.5?i*(1+t):i+t-i*t,a=2*i-n;r=tf(a,n,e+1/3),o=tf(a,n,e),s=tf(a,n,e-1/3)}else r=o=s=i;return{red:Math.round(255*r),green:Math.round(255*o),blue:Math.round(255*s),alpha:n}}(i)),i}let tb=(e,t)=>{let i=ty(e),n=ty(t);if(!i||!n)return tm(e,t);let r={...i};return e=>(r.red=tg(i.red,n.red,e),r.green=tg(i.green,n.green,e),r.blue=tg(i.blue,n.blue,e),r.alpha=tp(i.alpha,n.alpha,e),ek.transform(r))},tE=new Set(["none","hidden"]);function tT(e,t){return i=>tp(e,t,i)}function tx(e){return"number"==typeof e?tT:"string"==typeof e?K(e)?tm:eP.test(e)?tb:tA:Array.isArray(e)?t_:"object"==typeof e?eP.test(e)?tb:tw:tm}function t_(e,t){let i=[...e],n=i.length,r=e.map((e,i)=>tx(e)(e,t[i]));return e=>{for(let t=0;t<n;t++)i[t]=r[t](e);return i}}function tw(e,t){let i={...e,...t},n={};for(let r in i)void 0!==e[r]&&void 0!==t[r]&&(n[r]=tx(e[r])(e[r],t[r]));return e=>{for(let t in n)i[t]=n[t](e);return i}}let tA=(e,t)=>{let i=eB.createTransformer(t),n=ej(e),r=ej(t);return n.indexes.var.length===r.indexes.var.length&&n.indexes.color.length===r.indexes.color.length&&n.indexes.number.length>=r.indexes.number.length?tE.has(e)&&!r.values.length||tE.has(t)&&!n.values.length?function(e,t){return tE.has(e)?i=>i<=0?e:t:i=>i>=1?t:e}(e,t):td(t_(function(e,t){var i;let n=[],r={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){let s=t.types[o],a=e.indexes[s][r[s]],l=null!=(i=e.values[a])?i:0;n[o]=l,r[s]++}return n}(n,r),r.values),i):(w(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),tm(e,t))};function tS(e,t,i){return"number"==typeof e&&"number"==typeof t&&"number"==typeof i?tp(e,t,i):tx(e)(e,t)}function tC({duration:e=300,keyframes:t,times:i,ease:n="easeInOut"}){var r;let o=Array.isArray(n)&&"number"!=typeof n[0]?n.map(tc):tc(n),s={done:!1,value:t[0]},a=function(e,t,{clamp:i=!0,ease:n,mixer:r}={}){let o=e.length;if(w(o===t.length,"Both input and output ranges must be the same length"),1===o)return()=>t[0];if(2===o&&e[0]===e[1])return()=>t[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=function(e,t,i){let n=[],r=i||tS,o=e.length-1;for(let i=0;i<o;
1i++){let o=r(e[i],e[i+1]);t&&(o=td(Array.isArray(t)?t[i]||w:t,o)),n.push(o)}return n}(t,n,r),a=s.length,l=t=>{let i=0;if(a>1)for(;i<e.length-2&&!(t<e[i+1]);i++);let n=e5(e[i],e[i+1],t);return s[i](n)};return i?t=>l(X(e[0],e[o-1],t)):l}((r=i&&i.length===t.length?i:function(e){let t=[0];return!function(e,t){let i=e[e.length-1];for(let n=1;n<=t;n++){let r=e5(0,t,n);e.push(tp(i,1,r))}}(t,e.length-1),t}(t),r.map(t=>t*e)),t,{ease:Array.isArray(o)?o:t.map(()=>o||ta).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(s.value=a(t),s.done=t>=e,s)}}let tO=e=>{let t=({timestamp:t})=>e(t);return{start:()=>C.update(t,!0),stop:()=>O(t),now:()=>k.isProcessing?k.timestamp:e1.now()}},tk={decay:tr,inertia:tr,tween:tC,keyframes:tC,spring:tn},tN=e=>e/100;class tD extends e3{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:e}=this.options;e&&e()};let{name:t,motionValue:i,element:n,keyframes:r}=this.options,o=(null==n?void 0:n.KeyframeResolver)||ex,s=(e,t)=>this.onKeyframesResolved(e,t);this.resolver=new o(r,s,t,i,n),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){let t,i,{type:n="keyframes",repeat:r=0,repeatDelay:o=0,repeatType:s,velocity:a=0}=this.options,l=eZ(n)?n:tk[n]||tC;l!==tC&&"number"!=typeof e[0]&&(t=td(tN,tS(e[0],e[1])),e=[0,100]);let u=l({...this.options,keyframes:e});"mirror"===s&&(i=l({...this.options,keyframes:[...e].reverse(),velocity:-a})),null===u.calculatedDuration&&(u.calculatedDuration=e7(u));let{calculatedDuration:c}=u,h=c+o;return{generator:u,mirroredGenerator:i,mapPercentToKeyframes:t,calculatedDuration:c,resolvedDuration:h,totalDuration:h*(r+1)-o}}onPostResolved(){let{autoplay:e=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e,t=!1){let{resolved:i}=this;if(!i){let{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}let{finalKeyframe:n,generator:r,mirroredGenerator:o,mapPercentToKeyframes:s,keyframes:a,calculatedDuration:l,totalDuration:u,resolvedDuration:c}=i;if(null===this.startTime)return r.next(0);let{delay:h,repeat:d,repeatType:p,repeatDelay:f,onUpdate:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-u/this.speed,this.startTime)),t?this.currentTime=e:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;let g=this.currentTime-h*(this.speed>=0?1:-1),v=this.speed>=0?g<0:g>u;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let y=this.currentTime,b=r;if(d){let e=Math.min(this.currentTime,u)/c,t=Math.floor(e),i=e%1;!i&&e>=1&&(i=1),1===i&&t--,(t=Math.min(t,d+1))%2&&("reverse"===p?(i=1-i,f&&(i-=f/c)):"mirror"===p&&(b=o)),y=X(0,1,i)*c}let E=v?{done:!1,value:a[0]}:b.next(y);s&&(E.value=s(E.value));let{done:T}=E;v||null===l||(T=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let x=null===this.holdTime&&("finished"===this.state||"running"===this.state&&T);return x&&void 0!==n&&(E.value=_(a,this.options,n)),m&&m(E.value),x&&this.finish(),E}get duration(){let{resolved:e}=this;return e?e.calculatedDuration/1e3:0}get time(){return this.currentTime/1e3}set time(e){e=m(e),this.currentTime=e,null!==this.holdTime||0===this.speed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=this.currentTime/1e3)}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:e=tO,onPlay:t,startTime:i}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),t&&t();let n=this.driver.now();null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=n):this.startTime=null!=i?i:this.calcStartTime(),"finished"===this.state&&this.updateFinishedProm
1ise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!=(e=this.currentTime)?e:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:e}=this.options;e&&e()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}let tP=new Set(["opacity","clipPath","filter","transform"]);function tR(e){let t;return()=>(void 0===t&&(t=e()),t)}let tI={linearEasing:void 0},tM=function(e,t){let i=tR(e);return()=>{var e;return null!=(e=tI[t])?e:i()}}(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),tL=([e,t,i,n])=>`cubic-bezier(${e}, ${t}, ${i}, ${n})`,tj={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:tL([0,.65,.55,1]),circOut:tL([.55,0,1,.45]),backIn:tL([.31,.01,.66,-.59]),backOut:tL([.33,1.53,.69,.99])};function tF(e,t){e.timeline=t,e.onfinish=null}let tV=tR(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),tU={anticipate:F,backInOut:j,circInOut:B};class tB extends e3{constructor(e){super(e);let{name:t,motionValue:i,element:n,keyframes:r}=this.options;this.resolver=new eJ(r,(e,t)=>this.onKeyframesResolved(e,t),t,i,n),this.resolver.scheduleResolve()}initPlayback(e,t){var i,n;let{duration:r=300,times:o,ease:s,type:a,motionValue:l,name:u,startTime:c}=this.options;if(!(null==(i=l.owner)?void 0:i.current))return!1;if("string"==typeof s&&tM()&&s in tU&&(s=tU[s]),eZ((n=this.options).type)||"spring"===n.type||!function e(t){return!!("function"==typeof t&&tM()||!t||"string"==typeof t&&(t in tj||tM())||tl(t)||Array.isArray(t)&&t.every(e))}(n.ease)){let{onComplete:t,onUpdate:i,motionValue:n,element:l,...u}=this.options,c=function(e,t){let i=new tD({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),n={done:!1,value:e[0]},r=[],o=0;for(;!n.done&&o<2e4;)r.push((n=i.sample(o)).value),o+=10;return{times:void 0,keyframes:r,duration:o-10,ease:"linear"}}(e,u);1===(e=c.keyframes).length&&(e[1]=e[0]),r=c.duration,o=c.times,s=c.ease,a="keyframes"}let h=function(e,t,i,{delay:n=0,duration:r=300,repeat:o=0,repeatType:s="loop",ease:a="easeInOut",times:l}={}){let u={[t]:i};l&&(u.offset=l);let c=function e(t,i){if(t)return"function"==typeof t&&tM()?e4(t,i):tl(t)?tL(t):Array.isArray(t)?t.map(t=>e(t,i)||tj.easeOut):tj[t]}(a,r);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:n,duration:r,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:"reverse"===s?"alternate":"normal"})}(l.owner.current,u,e,{...this.options,duration:r,times:o,ease:s});return h.startTime=null!=c?c:this.calcStartTime(),this.pendingTimeline?(tF(h,this.pendingTimeline),this.pendingTimeline=void 0):h.onfinish=()=>{let{onComplete:i}=this.options;l.set(_(e,this.options,t)),i&&i(),this.cancel(),this.resolveFinishedPromise()},{animation:h,duration:r,times:o,type:a,ease:s,keyframes:e}}get duration(){let{resolved:e}=this;if(!e)return 0;let{duration:t}=e;return t/1e3}get time(){let{resolved:e}=this;if(!e)return 0;let{animation:t}=e;return(t.currentTime||0)/1e3}set time(e){let{resolved:t}=this;if(!t)return;let{animation:i}=t;i.currentTime=m(e)}get speed(){let{resolved:e}=this;if(!e)return 1;let{animation:t}=e;return t.playbackRate}set speed(e){let{resolved:t}=this;if(!t)return;let{animation:i}=t;i.playbackRate=e}get state(){let{resolved:e}=this;if(!e)return"idle";let{animation:t}=e;return t.playState}get startTime(){let{resolved:e}=this;if(!e)return null;let{animation:t}=e;return t.startTime}attachTimeline(e){if(this._resolved){let{resolved:t}=this;if(!t)return w;let{animation:i}=t;tF(i,e)}else this.pendingTimeline=e;return w}play(){if(this.isStopped)return;let{resolved:e}=this;if(!e)return;let{animation:t}=e;"finished"===t.playState&&this.updateFinishedPromise(),t.play()}pause(){let{resolved:e}=this;if(!e)return;let{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:e}=this;if(!e)return;let{animation:t,keyframes:i,duration:n,type:r,ease:o,times:s}=e;if("idle"===t.playState||"finished"===t.playState)return;if(this.time){let{motionValue:e,onUpdate:t,onComplete:a,element:l,...u}=this.options,c=new tD({...u,keyframes:i,duration:n,type:r,ease:o,times:s,isGenerator:!0}),h=m(this.time);e.setWithVelocity(c.sample(h-10).value,c.sample(h).value,10)}let{onStop:a}=this.options;a&&a(),this.cancel()}complete(){let{resolved:e}=this;e&&e.animation.finish()}cancel(){let{resolved:e}=this;e&&e.animation.cancel()}static supports(e){let{motionValue:t,name:i,repeatDelay:n,repeatType:r,damping:o,type:s}=e;return tV()&&i&&tP.has(i)&&t&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUp
1date&&!n&&"mirror"!==r&&0!==o&&"inertia"!==s}}let tz=tR(()=>void 0!==window.ScrollTimeline);class tH{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}then(e,t){return Promise.all(this.animations).then(e).catch(t)}getAll(e){return this.animations[0][e]}setAll(e,t){for(let i=0;i<this.animations.length;i++)this.animations[i][e]=t}attachTimeline(e,t){let i=this.animations.map(i=>tz()&&i.attachTimeline?i.attachTimeline(e):t(i));return()=>{i.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach(t=>t[e]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}let t$=(e,t,i,n={},r,o)=>s=>{let a=b(n,e)||{},l=a.delay||n.delay||0,{elapsed:u=0}=n;u-=m(l);let c={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:e=>{t.set(e),a.onUpdate&&a.onUpdate(e)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:o?void 0:r};!function({when:e,delay:t,delayChildren:i,staggerChildren:n,staggerDirection:r,repeat:o,repeatType:s,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}(a)&&(c={...c,...((e,{keyframes:t})=>t.length>2?v:f.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:g:y)(e,c)}),c.duration&&(c.duration=m(c.duration)),c.repeatDelay&&(c.repeatDelay=m(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let h=!1;if(!1!==c.type&&(0!==c.duration||c.repeatDelay)||(c.duration=0,0===c.delay&&(h=!0)),(T.current||E.skipAnimations)&&(h=!0,c.duration=0,c.delay=0),h&&!o&&void 0!==t.get()){let e=_(c.keyframes,a);if(void 0!==e)return C.update(()=>{c.onUpdate(e),c.onComplete()}),new tH([])}return!o&&tB.supports(c)?new tB(c):new tD(c)},tW=e=>o(e)?e[e.length-1]||0:e;function tG(e,t){-1===e.indexOf(t)&&e.push(t)}function tK(e,t){let i=e.indexOf(t);i>-1&&e.splice(i,1)}class tY{constructor(){this.subscriptions=[]}add(e){return tG(this.subscriptions,e),()=>tK(this.subscriptions,e)}notify(e,t,i){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](e,t,i);else for(let r=0;r<n;r++){let n=this.subscriptions[r];n&&n(e,t,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let tq={current:void 0};class tX{constructor(e,t={}){this.version="11.15.0",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{let i=e1.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=e1.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new tY);let i=this.events[e].add(t);return"change"===e?()=>{i(),C.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,i){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-i}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return tq.current&&tq.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var e;let t=e1.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let i=Math.min(this.updatedAt-this.prevUpdatedAt,30);return e=parseFloat(this.current)-parseFloat(this.prevFrameValue),i?1e3/i*e:0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function tQ(e,t){return new tX(e,t)}let tJ=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),tZ="data-"+tJ("framerAppearId"),t0=e=>!!(e&&e.getVelocity);function t1(e,t){let i=e.getValue("willChange");if(t0(i)&&i.add)return i.add(t)}function t2(e,t,{delay:i=0,transitionOverride:n,type:r}={}){var o;let{transition:s=e.getDefaultTransition(),transitionEnd:a,...l}=t;n&&(s=n);let u=[],h=r&&e.animationState&&e.animationState.getState()[r];for(let t in l){let n=e.getValue(t,null!=(o=e.latestValues[t])?o:null),r=l[t];if(void 0===r||h&&function({protectedKeys:e,needsAnimating:t},i){let n=e.hasOwnProperty(i)&&!0!==t[i];return t[i]=!1,n}(h,t))continue;let a={delay:i,...b(s||{},t)},c=!1;if(window.MotionHandoffAnimation){let i=e.props[tZ];if(i){let e=window.MotionHandoffAnimation(i,t,C);null!==e&&(a.startTime=e,c=!0)}}t1(e,t),n.start(t$(t,n,r,e.shouldReduceMotion&&f.has(t)?{type:!1}:a,e,c));let d=n.animation;d&&u.push(d)}return a&&Promise.all(u).then(()=>{C.update(()=>{a&&function(e,t){let{transitionEnd:i={},transition:n={},...r}=c(e,t)||{};for(let t in r={...r,...i}){let i=tW(r[t]);e.hasValue(t)?e.getValue(t).set(i):e.addValue(t,tQ(i))}}(e,a)})}),u}function t3(e,t,i={}){var n;let r=c(e,t,"exit"===i.type?null==(n=e.presenceContext)?void 0:n.custom:void 0),{transition:o=e.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(o=i.transitionOverride);let s=r?()=>Promise.all(t2(e,r,i)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(n=0)=>{let{delayChildren:r=0,staggerChildren:s,staggerDirection:a}=o;return function(e,t,i=0,n=0,r=1,o){let s=[],a=(e.variantChildren.size-1)*n,l=1===r?(e=0)=>e*n:(e=0)=>a-e*n;
1return Array.from(e.variantChildren).sort(t5).forEach((e,n)=>{e.notify("AnimationStart",t),s.push(t3(e,t,{...o,delay:i+l(n)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(s)}(e,t,r+n,s,a,i)}:()=>Promise.resolve(),{when:l}=o;if(!l)return Promise.all([s(),a(i.delay)]);{let[e,t]="beforeChildren"===l?[s,a]:[a,s];return e().then(()=>t())}}function t5(e,t){return e.sortNodePosition(t)}let t4=d.length,t9=[...h].reverse(),t8=h.length;function t6(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function t7(){return{animate:t6(!0),whileInView:t6(),whileHover:t6(),whileTap:t6(),whileDrag:t6(),whileFocus:t6(),exit:t6()}}class ie{constructor(e){this.isMounted=!1,this.node=e}update(){}}class it extends ie{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:i})=>(function(e,t,i={}){let n;if(e.notify("AnimationStart",t),Array.isArray(t))n=Promise.all(t.map(t=>t3(e,t,i)));else if("string"==typeof t)n=t3(e,t,i);else{let r="function"==typeof t?c(e,t,i.custom):t;n=Promise.all(t2(e,r,i))}return n.then(()=>{e.notify("AnimationComplete",t)})})(e,t,i))),i=t7(),n=!0,l=t=>(i,n)=>{var r;let o=c(e,n,"exit"===t?null==(r=e.presenceContext)?void 0:r.custom:void 0);if(o){let{transition:e,transitionEnd:t,...n}=o;i={...i,...n,...t}}return i};function u(u){let{props:c}=e,h=function e(t){if(!t)return;if(!t.isControllingVariants){let i=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(i.initial=t.props.initial),i}let i={};for(let e=0;e<t4;e++){let n=d[e],r=t.props[n];(a(r)||!1===r)&&(i[n]=r)}return i}(e.parent)||{},p=[],f=new Set,m={},g=1/0;for(let t=0;t<t8;t++){var v,y;let d=t9[t],b=i[d],E=void 0!==c[d]?c[d]:h[d],T=a(E),x=d===u?b.isActive:null;!1===x&&(g=t);let _=E===h[d]&&E!==c[d]&&T;if(_&&n&&e.manuallyAnimateOnMount&&(_=!1),b.protectedKeys={...m},!b.isActive&&null===x||!E&&!b.prevProp||r(E)||"boolean"==typeof E)continue;let w=(v=b.prevProp,"string"==typeof(y=E)?y!==v:!!Array.isArray(y)&&!s(y,v)),A=w||d===u&&b.isActive&&!_&&T||t>g&&T,S=!1,C=Array.isArray(E)?E:[E],O=C.reduce(l(d),{});!1===x&&(O={});let{prevResolvedValues:k={}}=b,N={...k,...O},D=t=>{A=!0,f.has(t)&&(S=!0,f.delete(t)),b.needsAnimating[t]=!0;let i=e.getValue(t);i&&(i.liveStyle=!1)};for(let e in N){let t=O[e],i=k[e];if(!m.hasOwnProperty(e))(o(t)&&o(i)?s(t,i):t===i)?void 0!==t&&f.has(e)?D(e):b.protectedKeys[e]=!0:null!=t?D(e):f.add(e)}b.prevProp=E,b.prevResolvedValues=O,b.isActive&&(m={...m,...O}),n&&e.blockInitialAnimation&&(A=!1);let P=!(_&&w)||S;A&&P&&p.push(...C.map(e=>({animation:e,options:{type:d}})))}if(f.size){let t={};f.forEach(i=>{let n=e.getBaseTarget(i),r=e.getValue(i);r&&(r.liveStyle=!0),t[i]=null!=n?n:null}),p.push({animation:t})}let b=!!p.length;return n&&(!1===c.initial||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(b=!1),n=!1,b?t(p):Promise.resolve()}return{animateChanges:u,setActive:function(t,n){var r;if(i[t].isActive===n)return Promise.resolve();null==(r=e.variantChildren)||r.forEach(e=>{var i;return null==(i=e.animationState)?void 0:i.setActive(t,n)}),i[t].isActive=n;let o=u(t);for(let e in i)i[e].protectedKeys={};return o},setAnimateFunction:function(i){t=i(e)},getState:()=>i,reset:()=>{i=t7(),n=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();r(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),null==(e=this.unmountControls)||e.call(this)}}let ii=0;class ir extends ie{constructor(){super(...arguments),this.id=ii++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===i)return;let n=this.node.animationState.setActive("exit",!e);t&&!e&&n.then(()=>t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}let io={x:!1,y:!1};function is(e,t){let i=function(e,t,i){if(e instanceof Element)return[e];if("string"==typeof e){let t=document.querySelectorAll(e);return t?Array.from(t):[]}return Array.from(e)}(e),n=new AbortController;return[i,{passive:!0,...t,signal:n.signal},()=>n.abort()]}function ia(e){return t=>{"touch"===t.pointerType||io.x||io.y||e(t)}}let il=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary,iu=new WeakSet;function ic(e){return t=>{"Enter"===t.key&&e(t)}}function ih(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}let id=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),ip=(e,t)=>!!t&&(e===t||ip(e,t.parentElement));function im(e){return il(e)&&!(io.x||io.y)}function ig(e){return{point:{x:e.pageX,y:e.pageY}}}function iv(e,t,i,n={passive:!0}){return e.addEventListener(t,i,n),()=>e.removeEventListener(t,i)}function iy(e,t,i,n){return iv(e,t,e=>il(e)&&i(e,ig(e)),n)}let ib=(e,t)=>
1Math.abs(e-t);class iE{constructor(e,t,{transformPagePoint:i,contextWindow:n,dragSnapToOrigin:r=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let e=i_(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,i=function(e,t){return Math.sqrt(ib(e.x,t.x)**2+ib(e.y,t.y)**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!i)return;let{point:n}=e,{timestamp:r}=k;this.history.push({...n,timestamp:r});let{onStart:o,onMove:s}=this.handlers;t||(o&&o(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=iT(t,this.transformPagePoint),C.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:r}=this.handlers;if(this.dragSnapToOrigin&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let o=i_("pointercancel"===e.type?this.lastMoveEventInfo:iT(t,this.transformPagePoint),this.history);this.startEvent&&i&&i(e,o),n&&n(e,o)},!il(e))return;this.dragSnapToOrigin=r,this.handlers=t,this.transformPagePoint=i,this.contextWindow=n||window;let o=iT(ig(e),this.transformPagePoint),{point:s}=o,{timestamp:a}=k;this.history=[{...s,timestamp:a}];let{onSessionStart:l}=t;l&&l(e,i_(o,this.history)),this.removeListeners=td(iy(this.contextWindow,"pointermove",this.handlePointerMove),iy(this.contextWindow,"pointerup",this.handlePointerUp),iy(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),O(this.updatePoint)}}function iT(e,t){return t?{point:t(e.point)}:e}function ix(e,t){return{x:e.x-t.x,y:e.y-t.y}}function i_({point:e},t){return{point:e,delta:ix(e,iw(t)),offset:ix(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let i=e.length-1,n=null,r=iw(e);for(;i>=0&&(n=e[i],!(r.timestamp-n.timestamp>m(.1)));)i--;if(!n)return{x:0,y:0};let o=(r.timestamp-n.timestamp)/1e3;if(0===o)return{x:0,y:0};let s={x:(r.x-n.x)/o,y:(r.y-n.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(t,.1)}}function iw(e){return e[e.length-1]}function iA(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function iS(e){return e.max-e.min}function iC(e,t,i,n=.5){e.origin=n,e.originPoint=tp(t.min,t.max,e.origin),e.scale=iS(i)/iS(t),e.translate=tp(i.min,i.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function iO(e,t,i,n){iC(e.x,t.x,i.x,n?n.originX:void 0),iC(e.y,t.y,i.y,n?n.originY:void 0)}function ik(e,t,i){e.min=i.min+t.min,e.max=e.min+iS(t)}function iN(e,t,i){e.min=t.min-i.min,e.max=e.min+iS(t)}function iD(e,t,i){iN(e.x,t.x,i.x),iN(e.y,t.y,i.y)}function iP(e,t,i){return{min:void 0!==t?e.min+t:void 0,max:void 0!==i?e.max+i-(e.max-e.min):void 0}}function iR(e,t){let i=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([i,n]=[n,i]),{min:i,max:n}}function iI(e,t,i){return{min:iM(e,t),max:iM(e,i)}}function iM(e,t){return"number"==typeof e?e:e[t]||0}let iL=()=>({translate:0,scale:1,origin:0,originPoint:0}),ij=()=>({x:iL(),y:iL()}),iF=()=>({min:0,max:0}),iV=()=>({x:iF(),y:iF()});function iU(e){return[e("x"),e("y")]}function iB({top:e,left:t,right:i,bottom:n}){return{x:{min:t,max:i},y:{min:e,max:n}}}function iz(e){return void 0===e||1===e}function iH({scale:e,scaleX:t,scaleY:i}){return!iz(e)||!iz(t)||!iz(i)}function i$(e){return iH(e)||iW(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function iW(e){var t,i;return(t=e.x)&&"0%"!==t||(i=e.y)&&"0%"!==i}function iG(e,t,i,n,r){return void 0!==r&&(e=n+r*(e-n)),n+i*(e-n)+t}function iK(e,t=0,i=1,n,r){e.min=iG(e.min,t,i,n,r),e.max=iG(e.max,t,i,n,r)}function iY(e,{x:t,y:i}){iK(e.x,t.translate,t.scale,t.originPoint),iK(e.y,i.translate,i.scale,i.originPoint)}function iq(e,t){e.min=e.min+t,e.max=e.max+t}function iX(e,t,i,n,r=.5){let o=tp(e.min,e.max,r);iK(e,t,i,o,n)}function iQ(e,t){iX(e.x,t.x,t.scaleX,t.scale,t.originX),iX(e.y,t.y,t.scaleY,t.scale,t.originY)}function iJ(e,t){return iB(function(e,t){if(!t)return e;let i=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}(e.getBoundingClientRect(),t))}let iZ=({current:e})=>e?e.ownerDocument.defaultView:null,i0=new WeakMap;class i1{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=iV(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){let{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;let n=e=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(ig(e).point)},r=(e,t)=>{let{drag:i,dragPropagation:n,onDragStart:r}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(e){if("x"===e||"
1y"===e)if(io[e])return null;else return io[e]=!0,()=>{io[e]=!1};return io.x||io.y?null:(io.x=io.y=!0,()=>{io.x=io.y=!1})}(i),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),iU(e=>{let t=this.getAxisMotionValue(e).get()||0;if(ei.test(t)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[e];n&&(t=iS(n)*(parseFloat(t)/100))}}this.originPoint[e]=t}),r&&C.postRender(()=>r(e,t)),t1(this.visualElement,"transform");let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},o=(e,t)=>{let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:r,onDrag:o}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:s}=t;if(n&&null===this.currentDirection){this.currentDirection=function(e,t=10){let i=null;return Math.abs(e.y)>t?i="y":Math.abs(e.x)>t&&(i="x"),i}(s),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),o&&o(e,t)},s=(e,t)=>this.stop(e,t),a=()=>iU(e=>{var t;return"paused"===this.getAnimationState(e)&&(null==(t=this.getAxisMotionValue(e).animation)?void 0:t.play())}),{dragSnapToOrigin:l}=this.getProps();this.panSession=new iE(e,{onSessionStart:n,onStart:r,onMove:o,onSessionEnd:s,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:iZ(this.visualElement)})}stop(e,t){let i=this.isDragging;if(this.cancel(),!i)return;let{velocity:n}=t;this.startAnimation(n);let{onDragEnd:r}=this.getProps();r&&C.postRender(()=>r(e,t))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,i){let{drag:n}=this.getProps();if(!i||!i2(e,n,this.currentDirection))return;let r=this.getAxisMotionValue(e),o=this.originPoint[e]+i[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:i},n){return void 0!==t&&e<t?e=n?tp(t,e,n.min):Math.max(e,t):void 0!==i&&e>i&&(e=n?tp(i,e,n.max):Math.min(e,i)),e}(o,this.constraints[e],this.elastic[e])),r.set(o)}resolveConstraints(){var e;let{dragConstraints:t,dragElastic:i}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null==(e=this.visualElement.projection)?void 0:e.layout,r=this.constraints;t&&iA(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&n?this.constraints=function(e,{top:t,left:i,bottom:n,right:r}){return{x:iP(e.x,i,r),y:iP(e.y,t,n)}}(n.layoutBox,t):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:iI(e,"left","right"),y:iI(e,"top","bottom")}}(i),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&iU(e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){let i={};return void 0!==t.min&&(i.min=t.min-e.min),void 0!==t.max&&(i.max=t.max-e.min),i}(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:i}=this.getProps();if(!t||!iA(t))return!1;let n=t.current;w(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let o=function(e,t,i){let n=iJ(e,i),{scroll:r}=t;return r&&(iq(n.x,r.offset.x),iq(n.y,r.offset.y)),n}(n,r.root,this.visualElement.getTransformPagePoint()),s=(e=r.layout.layoutBox,{x:iR(e.x,o.x),y:iR(e.y,o.y)});if(i){let e=i(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(s));this.hasMutatedConstraints=!!e,e&&(s=iB(e))}return s}startAnimation(e){let{drag:t,dragMomentum:i,dragElastic:n,dragTransition:r,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{};return Promise.all(iU(s=>{if(!i2(s,t,this.currentDirection))return;let l=a&&a[s]||{};o&&(l={min:0,max:0});let u={type:"inertia",velocity:i?e[s]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(s,u)})).then(s)}startAxisValueAnimation(e,t){let i=this.getAxisMotionValue(e);return t1(this.visualElement,e),i.start(t$(e,i,0,t,this.visualElement,!1))}stopAnimation(){iU(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){iU(e=>{var t;return null==(t=this.getAxisMotionValue(e).animation)?void 0:t.pause()})}getAnimationState(e){var t;return null==(t=this.getAxisMotionValue(e).animation)?void 0:t.state}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,i=this.visualElement.getProps();return i[t]||this.visualElement.getValue(e,(i.initial?i.initial[e]:void 0)||0)}snapToCursor(e){iU(t=>{let{drag:i}=this.getProps();if(!i2(t,i,this.currentDirection))return;let{projection:n}=this.visualElement,r=this.getAxisMotionValue(t);if(n&&n.layout){let{min:i,max:o}=n.layout.layoutBox[t];r.set(e[t]-tp(i,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:i}=this.visualElement;if(!iA(t)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};iU(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){let i=t.get();n[e]=function(e,t){let i=.5,n=iS(e),r=iS(t);return r>n?i=e5(t.min,t.max-n,e.min):n>r&&(i=e5(e.min,e.max-r,t.min)),X(0,1,i)}({min:i,max:i},this.constraints[e])}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),iU(t=>{if(!i2(t,e,null))return;let i=this.getAxisMotionValue(t),{min:r,max:o}=this.constraints[t];i.set(tp(r,o,n[t]))})}addListeners(){if(!this.visualElement.current)return;i0.set(this.visualElement,this);let e=iy(this.visualElement.current,"pointerdown",e=>{let{drag:t,dragListener:i=!0}=this.getProps();t&&i&&this.start(e)}),t=()=>{let{dragConstraints:e}=this.getProps();iA(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,n=i.addEventListener("measure",t);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),C.read(t);let r=iv(window,"resize",()=>this.scalePositionWithinConstraints()),o=i.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(iU(t=>{let i=this.getAxisMotionValue(t);i&&(this.originPoint[t]+=e[t].translate,i.set(i.get()+e[t].translate))}),this.visualElement.render())});return()=>{r(),e(),n(),o&&o()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:r=!1,dragElastic:o=.35,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:i,dragPropagation:n,dragConstraints:r,dragElastic:o,dragMomentum:s}}}function i2(e,t,i){return(!0===t||t===e)&&(null===i||i===e)}class i3 extends ie{constructor(e){super(e),this.removeGroupControls=w,this.removeListeners=w,this.controls=new i1(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||w}unmount(){this.removeGroupControls(),this.removeListeners()}}let i5=e=>(t,i)=>{e&&C.postRender(()=>e(t,i))};class i4 extends ie{constructor(){super(...arguments),this.removePointerDownListener=w}onPointerDown(e){this.session=new iE(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:iZ(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:i5(e),onStart:i5(t),onMove:i,onEnd:(e,t)=>{delete this.session,n&&C.postRender(()=>n(e,t))}}}mount(){this.removePointerDownListener=iy(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var i9,i8,i6=i(37876),i7=i(14232);let ne=(0,i7.createContext)(null),nt=(0,i7.createContext)({}),ni=(0,i7.createContext)({}),nn={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function nr(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let no={correct:(e,t)=>
1{if(!t.target)return e;if("string"==typeof e)if(!en.test(e))return e;else e=parseFloat(e);let i=nr(e,t.target.x),n=nr(e,t.target.y);return`${i}% ${n}%`}},ns={},{schedule:na,cancel:nl}=S(queueMicrotask,!1);class nu extends i7.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i,layoutId:n}=this.props,{projection:r}=e;Object.assign(ns,nh),r&&(t.group&&t.group.add(r),i&&i.register&&n&&i.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),nn.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:i,drag:n,isPresent:r}=this.props,o=i.projection;return o&&(o.isPresent=r,n||e.layoutDependency!==t||void 0===t?o.willUpdate():this.safeToRemove(),e.isPresent!==r&&(r?o.promote():o.relegate()||C.postRender(()=>{let e=o.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),na.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i}=this.props,{projection:n}=e;n&&(n.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function nc(e){let[t,i]=function(){let e=(0,i7.useContext)(ne);if(null===e)return[!0,null];let{isPresent:t,onExitComplete:i,register:n}=e,r=(0,i7.useId)();(0,i7.useEffect)(()=>n(r),[]);let o=(0,i7.useCallback)(()=>i&&i(r),[r,i]);return!t&&i?[!1,o]:[!0]}(),n=(0,i7.useContext)(nt);return(0,i6.jsx)(nu,{...e,layoutGroup:n,switchLayoutGroup:(0,i7.useContext)(ni),isPresent:t,safeToRemove:i})}let nh={borderRadius:{...no,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:no,borderTopRightRadius:no,borderBottomLeftRadius:no,borderBottomRightRadius:no,boxShadow:{correct:(e,{treeScale:t,projectionDelta:i})=>{let n=eB.parse(e);if(n.length>5)return e;let r=eB.createTransformer(e),o=+("number"!=typeof n[0]),s=i.x.scale*t.x,a=i.y.scale*t.y;n[0+o]/=s,n[1+o]/=a;let l=tp(s,a,.5);return"number"==typeof n[2+o]&&(n[2+o]/=l),"number"==typeof n[3+o]&&(n[3+o]/=l),r(n)}}},nd=["TopLeft","TopRight","BottomLeft","BottomRight"],np=nd.length,nf=e=>"string"==typeof e?parseFloat(e):e,nm=e=>"number"==typeof e||en.test(e);function ng(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let nv=nb(0,.5,U),ny=nb(.5,.95,w);function nb(e,t,i){return n=>n<e?0:n>t?1:i(e5(e,t,n))}function nE(e,t){e.min=t.min,e.max=t.max}function nT(e,t){nE(e.x,t.x),nE(e.y,t.y)}function nx(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function n_(e,t,i,n,r){return e-=t,e=n+1/i*(e-n),void 0!==r&&(e=n+1/r*(e-n)),e}function nw(e,t,[i,n,r],o,s){!function(e,t=0,i=1,n=.5,r,o=e,s=e){if(ei.test(t)&&(t=parseFloat(t),t=tp(s.min,s.max,t/100)-s.min),"number"!=typeof t)return;let a=tp(o.min,o.max,n);e===o&&(a-=t),e.min=n_(e.min,t,i,a,r),e.max=n_(e.max,t,i,a,r)}(e,t[i],t[n],t[r],t.scale,o,s)}let nA=["x","scaleX","originX"],nS=["y","scaleY","originY"];function nC(e,t,i,n){nw(e.x,t,nA,i?i.x:void 0,n?n.x:void 0),nw(e.y,t,nS,i?i.y:void 0,n?n.y:void 0)}function nO(e){return 0===e.translate&&1===e.scale}function nk(e){return nO(e.x)&&nO(e.y)}function nN(e,t){return e.min===t.min&&e.max===t.max}function nD(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function nP(e,t){return nD(e.x,t.x)&&nD(e.y,t.y)}function nR(e){return iS(e.x)/iS(e.y)}function nI(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class nM{constructor(){this.members=[]}add(e){tG(this.members,e),e.scheduleRender()}remove(e){if(tK(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){let t,i=this.members.findIndex(t=>e===t);if(0===i)return!1;for(let e=i;e>=0;e--){let i=this.members[e];if(!1!==i.isPresent){t=i;break}}return!!t&&(this.promote(t),!0)}promote(e,t){let i=this.lead;if(e!==i&&(this.prevLead=i,this.lead=e,e.show(),i)){i.instance&&i.scheduleRender(),e.scheduleRender(),e.resumeFrom=i,t&&(e.resumeFrom.preserveOpacity=!0),i.snapshot&&(e.snapshot=i.snapshot,e.snapshot.latestValues=i.animationValues||i.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:n}=e.options;!1===n&&i.hide()}}
1exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:i}=e;t.onExitComplete&&t.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let nL=(e,t)=>e.depth-t.depth;class nj{constructor(){this.children=[],this.isDirty=!1}add(e){tG(this.children,e),this.isDirty=!0}remove(e){tK(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(nL),this.isDirty=!1,this.children.forEach(e)}}function nF(e){let t=t0(e)?e.get():e;return t&&"object"==typeof t&&t.mix&&t.toValue?t.toValue():t}let nV={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},nU="undefined"!=typeof window&&void 0!==window.MotionDebug,nB=["","X","Y","Z"],nz={visibility:"hidden"},nH=0;function n$(e,t,i,n){let{latestValues:r}=t;r[e]&&(i[e]=r[e],t.setStaticValue(e,0),n&&(n[e]=0))}function nW({attachResizeListener:e,defaultParent:t,measureScroll:i,checkIsScrollRoot:n,resetTransform:r}){return class{constructor(e={},i=null==t?void 0:t()){this.id=nH++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,nU&&(nV.totalNodes=nV.resolvedTargetDeltas=nV.recalculatedProjection=0),this.nodes.forEach(nY),this.nodes.forEach(n1),this.nodes.forEach(n2),this.nodes.forEach(nq),nU&&window.MotionDebug.record(nV)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new nj)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new tY),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let i=this.eventHandlers.get(e);i&&i.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,i=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=t instanceof SVGElement&&"svg"!==t.tagName,this.instance=t;let{layoutId:n,layout:r,visualElement:o}=this.options;if(o&&!o.current&&o.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),i&&(r||n)&&(this.isLayoutDirty=!0),e){let i,n=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,i&&i(),i=function(e,t){let i=e1.now(),n=({timestamp:t})=>{let r=t-i;r>=250&&(O(n),e(r-250))};return C.read(n,!0),()=>O(n)}(n,250),nn.hasAnimatedSinceResize&&(nn.hasAnimatedSinceResize=!1,this.nodes.forEach(n0))})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&o&&(n||r)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let r=this.options.transition||o.getDefaultTransition()||n6,{onLayoutAnimationStart:s,onLayoutAnimationComplete:a}=o.getProps(),l=!this.targetLayout||!nP(this.targetLayout,n)||i,u=!t&&i;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,u);let t={...b(r,"layout"),onPlay:s,onComplete:a};(o.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||n0(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,O(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEac
1h(n3),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:i}=t.options;if(!i)return;let n=i.props[tZ];if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:e,layoutId:i}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",C,!(e||i))}let{parent:r}=t;r&&!r.hasCheckedOptimisedAppear&&e(r)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:i}=this.options;if(void 0===t&&!i)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(nQ);return}this.isUpdating||this.nodes.forEach(nJ),this.isUpdating=!1,this.nodes.forEach(nZ),this.nodes.forEach(nG),this.nodes.forEach(nK),this.clearAllSnapshots();let e=e1.now();k.delta=X(0,1e3/60,e-k.timestamp),k.timestamp=e,k.isProcessing=!0,N.update.process(k),N.preRender.process(k),N.render.process(k),k.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,na.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(nX),this.sharedNodes.forEach(n5)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,C.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){C.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutCorrected=iV(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t){let t=n(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!r)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!nk(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,o=n!==this.prevTransformTemplateValue;e&&(t||i$(this.latestValues)||o)&&(r(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let i=this.measurePageBox(),n=this.removeElementScroll(i);return e&&(n=this.removeTransform(n)),rt((t=n).x),rt(t.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){var e;let{visualElement:t}=this.options;if(!t)return iV();let i=t.measureViewportBox();if(!((null==(e=this.scroll)?void 0:e.wasRoot)||this.path.some(rn))){let{scroll:e}=this.root;e&&(iq(i.x,e.offset.x),iq(i.y,e.offset.y))}return i}removeElementScroll(e){var t;let i=iV();if(nT(i,e),null==(t=this.scroll)?void 0:t.wasRoot)return i;for(let t=0;t<this.path.length;t++){let n=this.path[t],{scroll:r,options:o}=n;n!==this.root&&r&&o.layoutScroll&&(r.wasRoot&&nT(i,e),iq(i.x,r.offset.x),iq(i.y,r.offset.y))}return i}applyTransform(e,t=!1){let i=iV();nT(i,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&iQ(i,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),i$(n.latestValues)&&iQ(i,n.latestValues)}return i$(this.latestValues)&&iQ(i,this.latestValues),i}removeTransform(e){let t=iV();nT(t,e);for(let e=0;e<this.path.length;e++){let i=this.path[e];if(!i.instance||!i$(i.latestValues))continue;iH(i.latestValues)&&i.updateSnapshot();let n=iV();nT(n,i.measurePageBox()),nC(t,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,n)}return i$(this.latestValues)&&nC(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==k.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t,i,n,r;let o=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=o.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=o.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=o.isSharedProjectionDirty);let s=!!this.resumingFrom||this!==o;if(!(e||s&&this.isSharedProjectionDirty||this.isProjectionDirty||(null==(t=this.parent)?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:a,layoutId:l}=this.options;if(this.layout&&(a||l)){if(this.resolvedRelativeTargetAt=k.timestamp,!this.targetDelta&&!this.relativeTarget){let e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=iV(),this.relativeTargetOrigin=iV(),iD(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),nT(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=iV(),this.targetWithTransforms=iV()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),i=this.target,n=this.relativeTarget,r=this.relativeParent.target,ik(i.x,n.x,r.x),ik(i.y,n.y,r.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):nT(this.target,this.layout.layoutBox),iY(this.target,this.targetDelta)):nT(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let e=this.getClosestProjectingParent();e&&!!e.resumingFrom==!!this.resumingFrom&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=iV(),this.relativeTargetOrigin=iV(),iD(this.relativeTargetOrigin,this.target,e.target),nT(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}nU&&nV.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||iH(this.parent.latestValues)||iW(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;let t=this.getLead(),i=!!this.resumingFrom||this!==t,n=!0;if((this.isProjectionDirty||(null==(e=this.parent)?void 0:e.isProjectionDirty))&&(n=!1),i&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===k.timestamp&&(n=!1),n)return;let{layout:r,layoutId:o}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||o))return;nT(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,a=this.treeScale.y;!function(e,t,i,n=!1){let r,o,s=i.length;if(s){t.x=t.y=1;for(let a=0;a<s;a++){o=(r=i[a]).projectionDelta;let{visualElement:s}=r.options;(!s||!s.props.style||"contents"!==s.props.style.display)&&(n&&r.options.layoutScroll&&r.scroll&&r!==r.root&&iQ(e,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,iY(e,o)),n&&i$(r.latestValues)&&iQ(e,r.latestValues))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}(this.layoutCorrected,this.treeScale,this.path,i),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=iV());let{target:l}=t;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(nx(this.prevProjectionDelta.x,this.projectionDelta.x),nx(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),iO(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===s&&this.treeScale.y===a&&nI(this.projectionDelta.x,this.prevProjectionDelta.x)&&nI(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),nU&&nV.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){var t;if(null==(t=this.options.visualElement)||t.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ij(),this.projectionDelta=ij(),this.projectionDeltaWithTransform=ij()}setAnimationOrigin(e,t=!1){let i,n=this.snapshot,r=n?n.latestValues:{},o={...this.latestValues},s=ij();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let a=iV(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,h=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(n8));this.animationProgress=0,this.mixTargetDelta=t=>{let n=t/1e3;if(n4(s.x,e.x,n),n4(s.y,e.y,n),this.setTargetDelta(s),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,p,f,m,g;iD(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,f=this.relativeTargetOrigin,m=a,g=n,n9(p.x,f.x,m.x,g),n9(p.y,f.y,m.y,g),i&&(u=this.relativeTarget,d=i,nN(u.x,d.x)&&nN(u.y,d.y))&&(this.isProjectionDirty=!1),i||(i=iV()),nT(i,this.relativeTarget)}l&&(this.animationValues=o,function(e,t,i,n,r,o){r?(e.opacity=tp(0,void 0!==i.opacity?i.opacity:1,nv(n)),e.opacityExit=tp(void 0!==t.opacity?t.opacity:1,0,ny(n))):o&&(e.opacity=tp(void 0!==t.opacity?t.opacity:1,void 0!==i.opacity?i.opacity:1,n));for(let r=0;r<np;r++){let o=`border${nd[r]}Radius`,s=ng(t,o),a=ng(i,o);(void 0!==s||void 0!==a)&&(s||(s=0),a||(a=0),0===s||0===a||nm(s)===nm(a)?(e[o]=Math.max(tp(nf(s),nf(a),n),0),(ei.test(a)||ei.test(s))&&(e[o]+="%")):e[o]=a)}(t.rotate||i.rotate)&&(e.rotate=tp(t.rotate||0,i.rotate||0,n))}(o,r,this.latestValues,n,h,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(O(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=C.update(()=>{nn.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,i){let n=t0(0)?0:tQ(e);return n.start(t$("",n,1e3,i)),n.animation}(0,0,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:i,layout:n,latestValues:r}=e;if(t&&i&&n){if(this!==e&&this.layout&&n&&ri(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||iV();let t=iS(this.layout.layoutBox.x);i.x.min=e.target.x.min,i.x.max=i.x.min+t;let n=iS(this.layout.layoutBox.y);i.y.min=e.target.y.min,i.y.max=i.y.min+n}nT(t,i),iQ(t,r),iO(this.projectionDeltaWithTransform,this.layoutCorrected,t,r)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new nM),this.sharedNodes.get(e).add(t);let i=t.options.initialPromotionConfig;t.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){var e;let{layoutId:t}=this.options;return t&&(null==(e=this.getStack())?void 0:e.lead)||this}getPrevLead(){var e;let{layoutId:t}=this.options;return t?null==(e=this.getStack())?void 0:e.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:i}={}){let n=this.getStack();n&&n.promote(this,i),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}
1resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:i}=e;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(t=!0),!t)return;let n={};i.z&&n$("z",e,n,this.animationValues);for(let t=0;t<nB.length;t++)n$(`rotate${nB[t]}`,e,n,this.animationValues),n$(`skew${nB[t]}`,e,n,this.animationValues);for(let t in e.render(),n)e.setStaticValue(t,n[t]),this.animationValues&&(this.animationValues[t]=n[t]);e.scheduleRender()}getProjectionStyles(e){var t,i;if(!this.instance||this.isSVG)return;if(!this.isVisible)return nz;let n={visibility:""},r=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,n.opacity="",n.pointerEvents=nF(null==e?void 0:e.pointerEvents)||"",n.transform=r?r(this.latestValues,""):"none",n;let o=this.getLead();if(!this.projectionDelta||!this.layout||!o.target){let t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=nF(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!i$(this.latestValues)&&(t.transform=r?r({},""):"none",this.hasProjected=!1),t}let s=o.animationValues||o.latestValues;this.applyTransformsToTarget(),n.transform=function(e,t,i){let n="",r=e.x.translate/t.x,o=e.
1y.translate/t.y,s=(null==i?void 0:i.z)||0;if((r||o||s)&&(n=`translate3d(${r}px, ${o}px, ${s}px) `),(1!==t.x||1!==t.y)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),i){let{transformPerspective:e,rotate:t,rotateX:r,rotateY:o,skewX:s,skewY:a}=i;e&&(n=`perspective(${e}px) ${n}`),t&&(n+=`rotate(${t}deg) `),r&&(n+=`rotateX(${r}deg) `),o&&(n+=`rotateY(${o}deg) `),s&&(n+=`skewX(${s}deg) `),a&&(n+=`skewY(${a}deg) `)}let a=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==a||1!==l)&&(n+=`scale(${a}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,s),r&&(n.transform=r(s,n.transform));let{x:a,y:l}=this.projectionDelta;for(let e in n.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,o.animationValues?n.opacity=o===this?null!=(i=null!=(t=s.opacity)?t:this.latestValues.opacity)?i:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:n.opacity=o===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0,ns){if(void 0===s[e])continue;let{correct:t,applyTo:i}=ns[e],r="none"===n.transform?s[e]:t(s[e],o);if(i){let e=i.length;for(let t=0;t<e;t++)n[i[t]]=r}else n[e]=r}return this.options.layoutId&&(n.pointerEvents=o===this?nF(null==e?void 0:e.pointerEvents)||"":"none"),n}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null==(t=e.currentAnimation)?void 0:t.stop()}),this.root.nodes.forEach(nQ),this.root.sharedNodes.clear()}}}function nG(e){e.updateLayout()}function nK(e){var t;let i=(null==(t=e.resumeFrom)?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&i&&e.hasListeners("didUpdate")){let{layoutBox:t,measuredBox:n}=e.layout,{animationType:r}=e.options,o=i.source!==e.layout.source;"size"===r?iU(e=>{let n=o?i.measuredBox[e]:i.layoutBox[e],r=iS(n);n.min=t[e].min,n.max=n.min+r}):ri(r,i.layoutBox,t)&&iU(n=>{let r=o?i.measuredBox[n]:i.layoutBox[n],s=iS(t[n]);r.max=r.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[n].max=e.relativeTarget[n].min+s)});let s=ij();iO(s,t,i.layoutBox);let a=ij();o?iO(a,e.applyTransform(n,!0),i.measuredBox):iO(a,t,i.layoutBox);let l=!nk(s),u=!1;if(!e.resumeFrom){let n=e.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:r,layout:o}=n;if(r&&o){let s=iV();iD(s,i.layoutBox,r.layoutBox);let a=iV();iD(a,t,o.layoutBox),nP(s,a)||(u=!0),n.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=s,e.relativeParent=n)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:i,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function nY(e){nU&&nV.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function nq(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function nX(e){e.clearSnapshot()}function nQ(e){e.clearMeasurements()}function nJ(e){e.isLayoutDirty=!1}function nZ(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function n0(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function n1(e){e.resolveTargetDelta()}function n2(e){e.calcProjection()}function n3(e){e.resetSkewAndRotation()}function n5(e){e.removeLeadSnapshot()}function n4(e,t,i){e.translate=tp(t.translate,0,i),e.scale=tp(t.scale,1,i),e.origin=t.origin,e.originPoint=t.originPoint}function n9(e,t,i,n){e.min=tp(t.min,i.min,n),e.max=tp(t.max,i.max,n)}function n8(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let n6={duration:.45,ease:[.4,0,.1,1]},n7=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),re=n7("applewebkit/")&&!n7("chrome/")?Math.round:w;function rt(e){e.min=re(e.min),e.max=re(e.max)}function ri(e,t,i){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(nR(t)-nR(i)))}function rn(e){var t;return e!==e.root&&(null==(t=e.scroll)?void 0:t.wasRoot)}let rr=nW({attachResizeListener:(e,t)=>iv(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ro={current:void 0},rs=nW({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ro.current){let e=new rr({});e.mount(window),e.setOptions({layoutScroll:!0}),ro.current=e}
1return ro.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});function ra(e,t,i){let{props:n}=e;e.animationState&&n.whileHover&&e.animationState.setActive("whileHover","Start"===i);let r=n["onHover"+i];r&&C.postRender(()=>r(t,ig(t)))}class rl extends ie{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,i={}){let[n,r,o]=is(e,i),s=ia(e=>{let{target:i}=e,n=t(e);if(!n||!i)return;let o=ia(e=>{n(e),i.removeEventListener("pointerleave",o)});i.addEventListener("pointerleave",o,r)});return n.forEach(e=>{e.addEventListener("pointerenter",s,r)}),o}(e,e=>(ra(this.node,e,"Start"),e=>ra(this.node,e,"End"))))}unmount(){}}class ru extends ie{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=td(iv(this.node.current,"focus",()=>this.onFocus()),iv(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function rc(e,t,i){let{props:n}=e;e.animationState&&n.whileTap&&e.animationState.setActive("whileTap","Start"===i);let r=n["onTap"+("End"===i?"":i)];r&&C.postRender(()=>r(t,ig(t)))}class rh extends ie{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,i={}){let[n,r,o]=is(e,i),s=e=>{let n=e.currentTarget;if(!im(e)||iu.has(n))return;iu.add(n);let o=t(e),s=(e,t)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),im(e)&&iu.has(n)&&(iu.delete(n),o&&o(e,{success:t}))},a=e=>{s(e,i.useGlobalTarget||ip(n,e.target))},l=e=>{s(e,!1)};window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",l,r)};return n.forEach(e=>{id.has(e.tagName)||-1!==e.tabIndex||(e.tabIndex=0),(i.useGlobalTarget?window:e).addEventListener("pointerdown",s,r),e.addEventListener("focus",e=>((e,t)=>{let i=e.currentTarget;if(!i)return;let n=ic(()=>{if(iu.has(i))return;ih(i,"down");let e=ic(()=>{ih(i,"up")});i.addEventListener("keyup",e,t),i.addEventListener("blur",()=>ih(i,"cancel"),t)});i.addEventListener("keydown",n,t),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),t)})(e,r),r)}),o}(e,e=>(rc(this.node,e,"Start"),(e,{success:t})=>rc(this.node,e,t?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let rd=new WeakMap,rp=new WeakMap,rf=e=>{let t=rd.get(e.target);t&&t(e)},rm=e=>{e.forEach(rf)},rg={some:0,all:1};class rv extends ie{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:i,amount:n="some",once:r}=e,o={root:t?t.current:void 0,rootMargin:i,threshold:"number"==typeof n?n:rg[n]},s=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,r&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),o=t?i:n;o&&o(e)};var a=this.node.current;let l=function({root:e,...t}){let i=e||document;rp.has(i)||rp.set(i,{});let n=rp.get(i),r=JSON.stringify(t);return n[r]||(n[r]=new IntersectionObserver(rm,{root:e,...t})),n[r]}(o);return rd.set(a,s),l.observe(a),()=>{rd.delete(a),l.unobserve(a)}}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return i=>e[i]!==t[i]}(e,t))&&this.startObserver()}unmount(){}}let ry=(0,i7.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),rb=(0,i7.createContext)({}),rE="undefined"!=typeof window,rT=rE?i7.useLayoutEffect:i7.useEffect,rx=(0,i7.createContext)({strict:!1});function r_(e){return r(e.animate)||d.some(t=>a(e[t]))}function rw(e){return!!(r_(e)||e.variants)}function rA(e){return Array.isArray(e)?e.join(" "):e}let rS={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},rC={};for(let e in rS)rC[e]={isEnabled:t=>rS[e].some(e=>!!t[e])};let rO=Symbol.for("motionComponentSymbol"),rk=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function rN(e){if("string"!=typeof e||e.includes("-"));else if(rk.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}function rD(e,{style:t,vars:i},n,r){for(let o in Object.assign(e.style,t,r&&r.getProjectionStyles(n)),i)e.style.setProperty(o,i[o])}let rP=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function rR(e,t,i,n){for(let i in rD(e,t,void 0,n),t.attrs)e.setAttribute(rP.has(i)?i:tJ(i),t.attrs[i])}function rI(e,{layout:t,layoutId:i}){return f.has(e)||e.startsWith("origin")||(t||void 0!==i)&&(!!ns[e]||"opacity"===e)}function rM(e,t,i){var n;let{style:r}=e,o={};for(let s in r)(t0(r[s])||t.style&&t0(t.style[s])||rI(s,e)||(null==(n=null==i?void 0:i.getValue(s))?void 0:n.liveStyle)!==void 0)&&(o[s]=r[s]);return o}function rL(e,t,i){let n=rM(e,t,i);for(let i in e)(t0(e[i])||t0(t[i]))&&(n[-1!==p.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=e[i]);return n}let rj=e=>(t,i)=>{let n=(0,i7.useContext)(rb),o=(0,i7.useContext)(ne),s=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:i},n,o,s){let a={latestValues:function(e,t,i,n){let o={},s=n(e,{});for(let e in s)o[e]=nF(s[e]);let{initial:a,animate:l}=e,c=r_(e),h=rw(e);t&&h&&!c&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===l&&(l=t.animate));let d=!!i&&!1===i.initial,p=(d=d||!1===a)?l:a;if(p&&"boolean"!=typeof p&&!r(p)){let t=Array.isArray(p)?p:[p];for(let i=0;i<t.length;i++){let n=u(e,t[i]);if(n){let{transitionEnd:e,transition:t,...i}=n;for(let e in i){let t=i[e];if(Array.isArray(t)){let e=d?t.length-1:0;t=t[e]}null!==t&&(o[e]=t)}for(let t in e)o[t]=e[t]}}}return o}(n,o,s,e),renderState:t()};return i&&(a.mount=e=>i(n,e,a)),a})(e,t,n,o);return i?s():function(e){let t=(0,i7.useRef)(null);return null===t.current&&(t.current=e()),t.current}(s)},rF=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),rV=()=>({...rF(),attrs:{}}),rU=(e,t)=>t&&"number"==typeof e?t.transform(e):e,rB={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},rz=p.length;function rH(e,t,i){let{style:n,vars:r,transformOrigin:o}=e,s=!1,a=!1;for(let e in t){let i=t[e];if(f.has(e)){s=!0;continue}if(W(e)){r[e]=i;continue}{let t=rU(i,eK[e]);e.startsWith("origin")?(a=!0,o[e]=t):n[e]=t}}if(!t.transform&&(s||i?n.transform=function(e,t,i){let n="",r=!0;for(let o=0;o<rz;o++){let s=p[o],a=e[s];if(void 0===a)continue;let l=!0;if(!(l="number"==typeof a?a===+!!s.startsWith("scale"):0===parseFloat(a))||i){let e=rU(a,eK[s]);if(!l){r=!1;let t=rB[s]||s;n+=`${t}(${e}) `}i&&(t[s]=e)}}return n=n.trim(),i?n=i(t,r?"":n):r&&(n="none"),n}(t,e.transform,i):n.transform&&(n.transform="none")),a){let{originX:e="50%",originY:t="50%",originZ:i=0}=o;n.transformOrigin=`${e} ${t} ${i}`}}function r$(e,t,i){return"string"==typeof e?e:en.transform(t+i*e)}let rW={offset:"stroke-dashoffset",array:"stroke-dasharray"},rG={offset:"strokeDashoffset",array:"strokeDasharray"};function rK(e,{attrX:t,attrY:i,attrScale:n,originX:r,originY:o,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...u}
1,c,h){if(rH(e,u,h),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:p,dimensions:f}=e;d.transform&&(f&&(p.transform=d.transform),delete d.transform),f&&(void 0!==r||void 0!==o||p.transform)&&(p.transformOrigin=function(e,t,i){let n=r$(t,e.x,e.width),r=r$(i,e.y,e.height);return`${n} ${r}`}(f,void 0!==r?r:.5,void 0!==o?o:.5)),void 0!==t&&(d.x=t),void 0!==i&&(d.y=i),void 0!==n&&(d.scale=n),void 0!==s&&function(e,t,i=1,n=0,r=!0){e.pathLength=1;let o=r?rW:rG;e[o.offset]=en.transform(-n);let s=en.transform(t),a=en.transform(i);e[o.array]=`${s} ${a}`}(d,s,a,l,!1)}let rY=e=>"string"==typeof e&&"svg"===e.toLowerCase(),rq={useVisualState:rj({scrapeMotionValuesFromProps:rL,createRenderState:rV,onMount:(e,t,{renderState:i,latestValues:n})=>{C.read(()=>{try{i.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){i.dimensions={x:0,y:0,width:0,height:0}}}),C.render(()=>{rK(i,n,rY(t.tagName),e.transformTemplate),rR(t,i)})}})},rX={useVisualState:rj({scrapeMotionValuesFromProps:rM,createRenderState:rF})};function rQ(e,t,i){for(let n in t)t0(t[n])||rI(n,i)||(e[n]=t[n])}let rJ=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function rZ(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||rJ.has(e)}let r0=e=>!rZ(e);try{!function(e){e&&(r0=t=>t.startsWith("on")?!rZ(t):e(t))}(require("@emotion/is-prop-valid").default)}catch(e){}let r1={current:null},r2={current:!1},r3=new WeakMap,r5=[...em,eP,eB],r4=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class r9{scrapeMotionValuesFromProps(e,t,i){return{}}constructor({parent:e,props:t,presenceContext:i,reducedMotionConfig:n,blockInitialAnimation:r,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=ex,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=e1.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,C.render(this.render,!1,!0))};let{latestValues:a,renderState:l}=o;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=i,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.options=s,this.blockInitialAnimation=!!r,this.isControllingVariants=r_(t),this.isVariantNode=rw(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...c}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in c){let t=c[e];void 0!==a[e]&&t0(t)&&t.set(a[e],!1)}}mount(e){this.current=e,r3.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),r2.current||function(){if(r2.current=!0,rE)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>r1.current=e.matches;e.addListener(t),t()}else r1.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||r1.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in r3.delete(this.current),this.projection&&this.projection.unmount(),O(this.notifyUpdate),O(this.render),this.valueSubscriptions.forEach(e
1=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){let i;this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();let n=f.has(e),r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&C.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),o=t.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),o(),i&&i(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in rC){let t=rC[e];if(!t)continue;let{isEnabled:i,Feature:n}=t;if(!this.features[e]&&n&&i(this.props)&&(this.features[e]=new n(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):iV()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<r4.length;t++){let i=r4[t];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=e["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}this.prevMotionValues=function(e,t,i){for(let n in t){let r=t[n],o=i[n];if(t0(r))e.addValue(n,r);else if(t0(o))e.addValue(n,tQ(r,{owner:e}));else if(o!==r)if(e.hasValue(n)){let t=e.getValue(n);!0===t.liveStyle?t.jump(r):t.hasAnimated||t.set(r)}else{let t=e.getStaticValue(n);e.addValue(n,tQ(void 0!==t?t:r,{owner:e}))}}for(let n in i)void 0===t[n]&&e.removeValue(n);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let i=this.values.get(e);t!==i&&(i&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let i=this.values.get(e);return void 0===i&&void 0!==t&&(i=tQ(null===t?void 0:t,{owner:this}),this.addValue(e,i)),i}readValue(e,t){var i;let n=void 0===this.latestValues[e]&&this.current?null!=(i=this.getBaseTargetFromProps(this.props,e))?i:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];if(null!=n){if("string"==typeof n&&(H(n)||z(n)))n=parseFloat(n);else{let i;i=n,!r5.find(ef(i))&&eB.test(t)&&(n=eX(e,t))}this.setBaseTarget(e,t0(n)?n.get():n)}return t0(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let i,{initial:n}=this.props;if("string"==typeof n||"object"==typeof n){let r=u(this.props,n,null==(t=this.presenceContext)?void 0:t.custom);r&&(i=r[e])}if(n&&void 0!==i)return i;let r=this.getBaseTargetFromProps(this.props,e);return void 0===r||t0(r)?void 0!==this.initialValues[e]&&void 0===i?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new tY),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class r8 extends r9{constructor(){super(...arguments),this.KeyframeResolver=eJ}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:i}){delete t[e],delete i[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;t0(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}class r6 extends r8{constructor(){super(...arguments),this.type="html",this.renderInstance=rD}readValueFromInstance(e,t){if(f.has(t)){let e=eq(t);return e&&e.default||0}{let i=window.getComputedStyle(e),n=(W(t)?i.getPropertyValue(t):i[t])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:t}){return iJ(e,t)}build(e,t,i){rH(e,t,i.transformTemplate)}scrapeMotionValuesFromProps(e,t,i){return rM(e,t,i)}}class r7 extends r8{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=iV}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(f.has(t)){let e=eq(t);return e&&e.default||0}return t=rP.has(t)?t:tJ(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,i){return rL(e,t,i)}
1build(e,t,i){rK(e,t,this.isSVGTag,i.transformTemplate)}renderInstance(e,t,i,n){rR(e,t,i,n)}mount(e){this.isSVGTag=rY(e.tagName),super.mount(e)}}let oe=function(e){if("undefined"==typeof Proxy)return e;let t=new Map;return new Proxy((...t)=>e(...t),{get:(i,n)=>"create"===n?e:(t.has(n)||t.set(n,e(n)),t.get(n))})}((i9={animation:{Feature:it},exit:{Feature:ir},inView:{Feature:rv},tap:{Feature:rh},focus:{Feature:ru},hover:{Feature:rl},pan:{Feature:i4},drag:{Feature:i3,ProjectionNode:rs,MeasureLayout:nc},layout:{ProjectionNode:rs,MeasureLayout:nc}},i8=(e,t)=>rN(e)?new r7(t):new r6(t,{allowProjection:e!==i7.Fragment}),function(e,{forwardMotionProps:t}={forwardMotionProps:!1}){return function({preloadedFeatures:e,createVisualElement:t,useRender:i,useVisualState:n,Component:r}){e&&function(e){for(let t in e)rC[t]={...rC[t],...e[t]}}(e);let o=(0,i7.forwardRef)(function(e,o){var s,l,u;let c,h={...(0,i7.useContext)(ry),...e,layoutId:function({layoutId:e}){let t=(0,i7.useContext)(nt).id;return t&&void 0!==e?t+"-"+e:e}(e)},{isStatic:d}=h,p=function(e){let{initial:t,animate:i}=function(e,t){if(r_(e)){let{initial:t,animate:i}=e;return{initial:!1===t||a(t)?t:void 0,animate:a(i)?i:void 0}}return!1!==e.inherit?t:{}}(e,(0,i7.useContext)(rb));return(0,i7.useMemo)(()=>({initial:t,animate:i}),[rA(t),rA(i)])}(e),f=n(e,d);if(!d&&rE){l=0,u=0,(0,i7.useContext)(rx).strict;let e=function(e){let{drag:t,layout:i}=rC;if(!t&&!i)return{};let n={...t,...i};return{MeasureLayout:(null==t?void 0:t.isEnabled(e))||(null==i?void 0:i.isEnabled(e))?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(h);c=e.MeasureLayout,p.visualElement=function(e,t,i,n,r){var o,s;let{visualElement:a}=(0,i7.useContext)(rb),l=(0,i7.useContext)(rx),u=(0,i7.useContext)(ne),c=(0,i7.useContext)(ry).reducedMotion,h=(0,i7.useRef)(null);n=n||l.renderer,!h.current&&n&&(h.current=n(e,{visualState:t,parent:a,props:i,presenceContext:u,blockInitialAnimation:!!u&&!1===u.initial,reducedMotionConfig:c}));let d=h.current,p=(0,i7.useContext)(ni);d&&!d.projection&&r&&("html"===d.type||"svg"===d.type)&&function(e,t,i,n){let{layoutId:r,layout:o,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:u}=t;e.projection=new i(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:r,layout:o,alwaysMeasureLayout:!!s||a&&iA(a),visualElement:e,animationType:"string"==typeof o?o:"both",initialPromotionConfig:n,layoutScroll:l,layoutRoot:u})}(h.current,i,r,p);let f=(0,i7.useRef)(!1);(0,i7.useInsertionEffect)(()=>{d&&f.current&&d.update(i,u)});let m=i[tZ],g=(0,i7.useRef)(!!m&&!(null==(o=window.MotionHandoffIsComplete)?void 0:o.call(window,m))&&(null==(s=window.MotionHasOptimisedAnimation)?void 0:s.call(window,m)));return rT(()=>{d&&(f.current=!0,window.MotionIsMounted=!0,d.updateFeatures(),na.render(d.render),g.current&&d.animationState&&d.animationState.animateChanges())}),(0,i7.useEffect)(()=>{d&&(!g.current&&d.animationState&&d.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{var e;null==(e=window.MotionHandoffMarkAsComplete)||e.call(window,m)}),g.current=!1))}),d}(r,f,h,t,e.ProjectionNode)}return(0,i6.jsxs)(rb.Provider,{value:p,children:[c&&p.visualElement?(0,i6.jsx)(c,{visualElement:p.visualElement,...h}):null,i(r,e,(s=p.visualElement,(0,i7.useCallback)(e=>{e&&f.mount&&f.mount(e),s&&(e?s.mount(e):s.unmount()),o&&("function"==typeof o?o(e):iA(o)&&(o.current=e))},[s])),f,d,p.visualElement)]})});return o[rO]=r,o}({...rN(e)?rq:rX,preloadedFeatures:i9,useRender:function(e=!1){return(t,i,n,{latestValues:r},o)=>{let s=(rN(t)?function(e,t,i,n){let r=(0,i7.useMemo)(()=>{let i=rV();return rK(i,t,rY(n),e.transformTemplate),{...i.attrs,style:{...i.style}}},[t]);if(e.style){let t={};rQ(t,e.style,e),r.style={...t,...r.style}}return r}:function(e,t){let i={},n=function(e,t){let i=e.style||{},n={};return rQ(n,i,e),Object.assign(n,function({transformTemplate:e},t){return(0,i7.useMemo)(()=>{let i=rF();return rH(i,t,e),Object.assign({},i.vars,i.style)},[t])}(e,t)),n}(e,t);return e.drag&&!1!==e.dragListener&&(i.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}
1`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=n,i})(i,r,o,t),a=function(e,t,i){let n={};for(let r in e)("values"!==r||"object"!=typeof e.values)&&(r0(r)||!0===i&&rZ(r)||!t&&!rZ(r)||e.draggable&&r.startsWith("onDrag"))&&(n[r]=e[r]);return n}(i,"string"==typeof t,e),l=t!==i7.Fragment?{...a,...s,ref:n}:{},{children:u}=i,c=(0,i7.useMemo)(()=>t0(u)?u.get():u,[u]);return(0,i7.createElement)(t,{...l,children:c})}}(t),createVisualElement:i8,Component:e})}))},28888:(e,t,i)=>{"use strict";function n(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}i.d(t,{_:()=>n})},33341:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unstable_rethrow",{enumerable:!0,get:function(){return n}});let n=i(19975).unstable_rethrow;("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)},35785:(e,t,i)=>{"use strict";i.d(t,{E:()=>r,c:()=>n});var n=Array.isArray;function r(e){return Array.isArray(e)&&e.length>0}},36898:(e,t,i)=>{"use strict";function n(){}i.d(t,{C:()=>r});class r{constructor(e=1/0,t=n){this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}get size(){return this.map.size}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:i}=t;i&&(i.older=e),e&&(e.newer=i),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=i)}return t}set(e,t){let i=this.getNode(e);return i?i.value=t:(i={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=i),this.newest=i,this.oldest=this.oldest||i,this.map.set(e,i),i.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(e){let t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)}}},37788:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var i in t)Object.defineProperty(e,i,{enumerable:!0,get:t[i]})}(t,{ReadonlyURLSearchParams:function(){return c},RedirectType:function(){return r.RedirectType},forbidden:function(){return s.forbidden},notFound:function(){return o.notFound},permanentRedirect:function(){return n.permanentRedirect},redirect:function(){return n.redirect},unauthorized:function(){return a.unauthorized},unstable_isUnrecognizedActionError:function(){return h},unstable_rethrow:function(){return l.unstable_rethrow}});let n=i(94091),r=i(86500),o=i(56153),s=i(10916),a=i(56533),l=i(33341);class u extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class c extends URLSearchParams{append(){throw new u}delete(){throw new u}set(){throw new u}sort(){throw new u}}function h(){throw Object.defineProperty(Error("`unstable_isUnrecognizedActionError` can only be used on the client."),"__NEXT_ERROR_CODE",{value:"E776",enumerable:!1,configurable:!0})}("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)},39247:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var i in t)Object.defineProperty(e,i,{enumerable:!0,get:t[i]})}(t,{default:function(){return l},getImageProps:function(){return a}});let n=i(64252),r=i(95197),o=i(94989),s=n._(i(49411));function a(e){let{props:t}=(0,r.getImgProps)(e,{defaultLoader:s.default,imgConf:{deviceSizes:[480,640,768,960,1024,1280,1440,1536,2048,2560,2880],imageSizes:[38,72,100,128,180,220,300,440,580,585,600,720,725,780,945],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,i]of Object.entries(t))void 0===i&&delete t[e];return{props:t}}let l=o.Image},47518:(e,t,i)=>{"use strict";i.d(t,{OC:()=>r,yo:()=>o});var n=i(7743);function r(e){var t,i;let r=Number.MAX_SAFE_INTEGER,o=null,s=-1;for(let t=0;t<e.length;++t){let a=e[t],l=function(e){let t=0;for(;t<e.length&&(0,n.i0)(e.charCodeAt(t));)++t;return t}(a);l!==a.length&&(o=null!=(i=o)?i:t,s=t,0!==t&&l<r&&(r=l))}return e.map((e,t)=>0===t?e:e.slice(r)).slice(null!=(t=o)?t:0,s+1)}function o(e,t){let i=e.replace(/"""/g,'\\"""'),r=i.split(/\r\n|[\n\r]/g),o=1===r.length,s=r.length>1&&r.slice(1).every(e=>0===e.length||(0,n.i0)(e.charCodeAt(0))),a=i.endsWith('\\"""'),l=e.endsWith('"')&&!a,u=e.endsWith("\\"),c=l||u,h=!(null!=t&&t.minimize)&&(!o||e.length>70||c||s||a),d="",p=o&&(0,n.i0)(e.charCodeAt(0));
1return(h&&!p||s)&&(d+="\n"),d+=i,(h||c)&&(d+="\n"),'"""'+d+'"""'}},49411:(e,t)=>{"use strict";function i(e){var t;let{config:i,src:n,width:r,quality:o}=e,s=o||(null==(t=i.qualities)?void 0:t.reduce((e,t)=>Math.abs(t-75)<Math.abs(e-75)?t:e))||75;return i.path+"?url="+encodeURIComponent(n)+"&w="+r+"&q="+s+(n.startsWith("/_next/static/media/"),"")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}}),i.__next_img_default=!0;let n=i},54587:(e,t,i)=>{e.exports=i(39247)},56153:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"notFound",{enumerable:!0,get:function(){return r}});let n=""+i(18804).HTTP_ERROR_FALLBACK_ERROR_CODE+";404";function r(){let e=Object.defineProperty(Error(n),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});throw e.digest=n,e}("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)},56533:(e,t,i)=>{"use strict";function n(){throw Object.defineProperty(Error("`unauthorized()` is experimental and only allowed to be used when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E411",enumerable:!1,configurable:!0})}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unauthorized",{enumerable:!0,get:function(){return n}}),i(18804).HTTP_ERROR_FALLBACK_ERROR_CODE,("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)},58287:(e,t,i)=>{"use strict";function n(e,t){if(!e)throw Error(t)}i.d(t,{U:()=>n})},60427:(e,t,i)=>{"use strict";e.exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=void 0,e.exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,e.exports.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,Object.assign(e.exports,i(14232))},62091:(e,t,i)=>{"use strict";i.d(t,{p:()=>r});var n=i(18659);function r(e,t){void 0===t&&(t=0);var i=(0,n.v)("stringifyForDisplay");return JSON.stringify(e,function(e,t){return void 0===t?i:t},t).split(JSON.stringify(i)).join("<undefined>")}},64646:(e,t,i)=>{"use strict";i.d(t,{IT:()=>P});var n,r,o=i(20095),s=i(17318),a=i(60427),l=i.t(a,2),u=i(80542),c=!1,h=l.useSyncExternalStore||function(e,t,i){var n=t();!1===globalThis.__DEV__||c||n===t()||(c=!0,!1!==globalThis.__DEV__&&s.V1.error(68));var r=a.useState({inst:{value:n,getSnapshot:t}}),o=r[0].inst,l=r[1];return u.JR?a.useLayoutEffect(function(){Object.assign(o,{value:n,getSnapshot:t}),d(o)&&l({inst:o})},[e,n,t]):Object.assign(o,{value:n,getSnapshot:t}),a.useEffect(function(){return d(o)&&l({inst:o}),e(function(){d(o)&&l({inst:o})})},[e]),n};function d(e){var t=e.value,i=e.getSnapshot;try{return t!==i()}catch(e){return!0}}var p=i(20996),f=i(18877),m=u.ol?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function g(){(0,s.V1)("createContext"in l,54);var e=a.createContext[m];return e||(Object.defineProperty(a.createContext,m,{value:e=a.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}var v=i(83070),y=i(66434),b=i(95682),E=i(80593),T=i(17070);function x(e){var t;switch(e){case n.Query:t="Query";break;case n.Mutation:t="Mutation";break;case n.Subscription:t="Subscription"}return t}function _(e){r||(r=new b.A(E.v.parser||1e3));var t,i,o=r.get(e);if(o)return o;(0,s.V1)(!!e&&!!e.kind,70,e);for(var a=[],l=[],u=[],c=[],h=0,d=e.definitions;h<d.length;h++){var p=d[h];if("FragmentDefinition"===p.kind){a.push(p);continue}if("OperationDefinition"===p.kind)switch(p.operation){case"query":l.push(p);break;case"mutation":u.push(p);break;case"subscription":c.push(p)}}(0,s.V1)(!a.length||l.length||u.length||c.length,71),(0,s.V1)(l.length+u.length+c.length<=1,72,e,l.length,c.length,u.length),i=l.length?n.Query:n.Mutation,l.length||u.length||(i=n.Subscription);var f=l.length?l:u.length?u:c;(0,s.V1)(1===f.length,73,e,f.length);var m=f[0];t=m.variableDefinitions||[];var g={name:m.name&&"Name"===m.name.kind?m.name.value:"data",type:i,variables:t};return r.set(e,g),g}function w(e){var t=a.useContext(g()),i=e||t.client;return(0,s.V1)(!!i,58),i}!function(e){e[e.Query=0]="Query",e[e.Mutation=1]="Mutation",e[e.Subscription=2]="Subscription"}(n||(n={})),_.resetCache=function(){r=void 0},!1!==globalThis.__DEV__&&(0,T.D_)("parser",function(){return r?r.size:0});var A=i(79760),S=i(35785),C=i(21500),O=Symbol.for("apollo.hook.wrappers"),k=Object.prototype.hasOwnProperty;function N(){}var D=Symbol();function P(e,t){var i,n,r,o;return void 0===t&&(t=Object.create(null)),(i=R,(o=(r=(n=w(t&&t.client).queryManager)&&n[O])&&r.useQuery)?o(i):i)(e,t)}function R(e,t){var i,r,l,u,c,d,f,m,v,b,E,T,A,S,C,O,P,R,B,z,H,$,W,G,K,Y,q,X,Q,J,Z,ee,et,ei,en,er,eo,es,ea,el,eu,ec,eh,ed,ep,ef=(i=e,b=w((r=t).client),T=!!(E=a.useContext(g()).renderPromises),A=b.disableNetworkFetches,S=!1!==r.ssr&&!r.skip,C=r.partialRefetch,O=(l=b,u=i,c=r,d=T,void 0===c&&(c={}),f=c.skip,m=(c.ssr,c.onCompleted,c.onError,c.defaultOptions),v=(0,o.Tt)(c,["skip","ssr","onCompleted","onError","defaultOptions"]),function(e){var t=Object.assign(v,{query:u});return d&&("network-only"===t.fetchPolicy||"cache-and-network"===t.fetchPolicy)&&(t.fetchPolicy="cache-first"),t.variables||(t.variables={}),f?(t.initialFetchPolicy=t.initialFetchPolicy||t.fetchPolicy||j(m,l.defaultOptions),t.fetchPolicy="standby"):t.fetchPolicy||(t.fetchPolicy=(null==e?void 0:e.options.initialFetchPolicy)||j(m,l.defaultOptions)),t}),B=(R=(P=function(e,t,i,r,l){function u(o){var a,u,c,h,d;return a=n.Query,u=_(t),c=x(a),h=x(u.type),(0,s.V1)(u.type===a,74,c,c,h),{client:e,query:t,observable:r&&r.getSSRObservable(l())||e.watchQuery(I(void 0,e,i,l())),resultData:{previousData:null==(d=null==o?void 0:o.resultData.current)?void 0:d.data}}}
1var c=a.useState(u),h=c[0],d=c[1];function p(e){Object.assign(h.observable,((t={})[D]=e,t));var t,i,n=h.resultData;d((0,o.Cl)((0,o.Cl)({},h),{query:e.query,resultData:Object.assign(n,{previousData:(null==(i=n.current)?void 0:i.data)||n.previousData,current:void 0})}))}if(e!==h.client||t!==h.query){var f=u(h);return d(f),[f,p]}return[h,p]}(b,i,r,E,O))[0]).observable,z=R.resultData,H=P[1],$=O(B),W=z,G=B,K=b,Y=r,q=$,G[D]&&!(0,p.L)(G[D],q)&&(G.reobserve(I(G,K,Y,q)),W.previousData=(null==(X=W.current)?void 0:X.data)||W.previousData,W.current=void 0),G[D]=q,Q=a.useMemo(function(){var e;return{refetch:(e=B).refetch.bind(e),reobserve:e.reobserve.bind(e),fetchMore:e.fetchMore.bind(e),updateQuery:e.updateQuery.bind(e),startPolling:e.startPolling.bind(e),stopPolling:e.stopPolling.bind(e),subscribeToMore:e.subscribeToMore.bind(e)}},[B]),J=B,Z=E,ee=S,Z&&ee&&(Z.registerSSRObservable(J),J.getCurrentResult().loading&&Z.addObservableQueryPromise(J)),{result:(et=z,ei=B,en=b,er=r,eo=$,es=A,ea=C,el=T,eu={onCompleted:r.onCompleted||N,onError:r.onError||N},ec=a.useRef(eu),a.useEffect(function(){ec.current=eu}),eh=(el||es)&&!1===er.ssr&&!er.skip?V:er.skip||"standby"===eo.fetchPolicy?U:void 0,ed=et.previousData,ep=a.useMemo(function(){return eh&&F(eh,ed,ei,en)},[en,ei,eh,ed]),h(a.useCallback(function(e){if(el)return function(){};var t=function(){var t=et.current,i=ei.getCurrentResult();t&&t.loading===i.loading&&t.networkStatus===i.networkStatus&&(0,p.L)(t.data,i.data)||M(i,et,ei,en,ea,e,ec.current)},i=function(r){if(n.current.unsubscribe(),n.current=ei.resubscribeAfterError(t,i),!k.call(r,"graphQLErrors"))throw r;var o=et.current;(!o||o&&o.loading||!(0,p.L)(r,o.error))&&M({data:o&&o.data,error:r,loading:!1,networkStatus:y.pT.error},et,ei,en,ea,e,ec.current)},n={current:ei.subscribe(t,i)};return function(){setTimeout(function(){return n.current.unsubscribe()})}},[es,el,ei,et,ea,en]),function(){return ep||L(et,ei,ec.current,ea,en)},function(){return ep||L(et,ei,ec.current,ea,en)})),obsQueryFields:Q,observable:B,resultData:z,client:b,onQueryExecuted:H}),em=ef.result,eg=ef.obsQueryFields;return a.useMemo(function(){return(0,o.Cl)((0,o.Cl)({},em),eg)},[em,eg])}function I(e,t,i,n){var r=[],o=t.defaultOptions.watchQuery;return o&&r.push(o),i.defaultOptions&&r.push(i.defaultOptions),r.push((0,A.o)(e&&e.options,n)),r.reduce(f.l)}function M(e,t,i,n,r,a,l){var u,c,h,d=t.current;d&&d.data&&(t.previousData=d.data),!e.error&&(0,S.E)(e.errors)&&(e.error=new v.K4({graphQLErrors:e.errors})),t.current=F((u=e,c=i,h=r,u.partial&&h&&!u.loading&&(!u.data||0===Object.keys(u.data).length)&&"cache-only"!==c.options.fetchPolicy?(c.refetch(),(0,o.Cl)((0,o.Cl)({},u),{loading:!0,networkStatus:y.pT.refetch})):u),t.previousData,i,n),a(),function(e,t,i){if(!e.loading){var n,r=(n=e,(0,S.E)(n.errors)?new v.K4({graphQLErrors:n.errors}):n.error);Promise.resolve().then(function(){r?i.onError(r):e.data&&t!==e.networkStatus&&e.networkStatus===y.pT.ready&&i.onCompleted(e.data)}).catch(function(e){!1!==globalThis.__DEV__&&s.V1.warn(e)})}}(e,null==d?void 0:d.networkStatus,l)}function L(e,t,i,n,r){return e.current||M(t.getCurrentResult(),e,t,r,n,function(){},i),e.current}function j(e,t){var i;return(null==e?void 0:e.fetchPolicy)||(null==(i=null==t?void 0:t.watchQuery)?void 0:i.fetchPolicy)||"cache-first"}function F(e,t,i,n){var r=e.data,s=(e.partial,(0,o.Tt)(e,["data","partial"]));return(0,o.Cl)((0,o.Cl)({data:r},s),{client:n,observable:i,variables:i.variables,called:e!==V&&e!==U,previousData:t})}var V=(0,C.G)({loading:!0,data:void 0,error:void 0,networkStatus:y.pT.loading}),U=(0,C.G)({loading:!1,data:void 0,error:void 0,networkStatus:y.pT.ready})},66434:(e,t,i)=>{"use strict";var n;function r(e){return!!e&&e<7}i.d(t,{bi:()=>r,pT:()=>n}),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(n||(n={}))},66454:(e,t)=>{"use strict";function i(e){return Array.isArray(e)?e[1]:e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentValue",{enumerable:!0,get:function(){return i}}),("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)},77016:(e,t,i)=>{"use strict";function n(e){return function e(t,i){switch(typeof t){case"string":return JSON.stringify(t);case"function":return t.name?`[function ${t.name}]`:"[function]";case"object":return function(t,i){if(null===t)return"null";if(i.includes(t))return"[Circular]";let n=[...i,t];if("function"==typeof t.toJSON){let i=t.toJSON();if(i!==t)return"string"==typeof i?i:e(i,n)}else if(Array.isArray(t)){var r=t,o=n;if(0===r.length)return"[]";if(o.length>2)return"[Array]";let i=Math.min(10,r.length),s=r.length-i,a=[];for(let t=0;t<i;++t)a.push(e(r[t],o));return 1===s?a.push("... 1 more item"):s>1&&a.push(`... ${s} more items`),"["+a.join(", ")+"]"}var s=t,a=n;let l=Object.entries(s);return 0===l.length?"{}":a.length>2?"["+function(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){let t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(s)+"]":"{ "+l.map(([t,i])=>t+": "+e(i,a)).join(", ")+" }"}(t,i);default:return String(t)}}(e,[])}i.d(t,{N:()=>n})},77328:(e,t,i)=>{e.exports=i(97918)},79350:(e,t,i)=>{"use strict";let n,r;i.d(t,{J1:()=>F});var o=i(20095);let s=/\r\n|[\n\r]/g;function a(e,t){let i=0,n=1;for(let r of e.body.matchAll(s)){if("number"==typeof r.index||function(e,t){if(!e)throw Error("Unexpected invariant triggered.")}(!1),r.index>=t)break;i=r.index+r[0].length,n+=1}return{line:n,column:t+1-i}}function l(e,t){let i=e.locationOffset.column-1,n="".padStart(i)+e.body,r=t.line-1,o=e.locationOffset.line-1,s=t.line+o,a=1===t.line?i:0,l=t.column+a,c=`${e.name}:${s}:${l}
2`,h=n.split(/\r\n|[\n\r]/g),d=h[r];if(d.length>120){let e=Math.floor(l/80),t=[];for(let e=0;e<d.length;e+=80)t.push(d.slice(e,e+80));return c+u([[`${s} |`,t[0]],...t.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(l%80)],["|",t[e+1]]])}return c+u([[`${s-1} |`,h[r-1]],[`${s} |`,d],["|","^".padStart(l)],[`${s+1} |`,h[r+1]]])}function u(e){let t=e.filter(([e,t])=>void 0!==t),i=Math.max(...t.map(([e])=>e.length));return t.map(([e,t])=>e.padStart(i)+(t?" "+t:"")).join("\n")}class c extends Error{constructor(e,...t){var i,n,r;let{nodes:o,source:s,positions:l,path:u,originalError:d,extensions:p}=function(e){let t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(t);super(e),this.name="GraphQLError",this.path=null!=u?u:void 0,this.originalError=null!=d?d:void 0,this.nodes=h(Array.isArray(o)?o:o?[o]:void 0);let f=h(null==(i=this.nodes)?void 0:i.map(e=>e.loc).filter(e=>null!=e));this.source=null!=s?s:null==f||null==(n=f[0])?void 0:n.source,this.positions=null!=l?l:null==f?void 0:f.map(e=>e.start),this.locations=l&&s?l.map(e=>a(s,e)):null==f?void 0:f.map(e=>a(e.source,e.start));let m=!function(e){return"object"==typeof e&&null!==e}(null==d?void 0:d.extensions)||null==d?void 0:d.extensions;this.extensions=null!=(r=null!=p?p:m)?r:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=d&&d.stack?Object.defineProperty(this,"stack",{value:d.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,c):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(let i of this.nodes){var t;i.loc&&(e+="\n\n"+l((t=i.loc).source,a(t.source,t.start)))}else if(this.source&&this.locations)for(let t of this.locations)e+="\n\n"+l(this.source,t);return e}toJSON(){let e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function h(e){return void 0===e||0===e.length?void 0:e}function d(e,t,i){return new c(`Syntax Error: ${i}`,void 0,e,[t])}var p=i(86158);!function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"}(n||(n={}));var f=i(94587),m=i(47518),g=i(7743);!function(e){e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}
2",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"}(r||(r={}));class v{constructor(e){let t=new p.ou(r.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==r.EOF)do if(e.next)e=e.next;else{let t=function(e,t){let i=e.source.body,n=i.length,o=t;for(;o<n;){let t=i.charCodeAt(o);switch(t){case 65279:case 9:case 32:case 44:++o;continue;case 10:++o,++e.line,e.lineStart=o;continue;case 13:10===i.charCodeAt(o+1)?o+=2:++o,++e.line,e.lineStart=o;continue;case 35:return function(e,t){let i=e.source.body,n=i.length,o=t+1;for(;o<n;){let e=i.charCodeAt(o);if(10===e||13===e)break;if(y(e))++o;else if(b(i,o))o+=2;else break}return _(e,r.COMMENT,t,o,i.slice(t+1,o))}(e,o);case 33:return _(e,r.BANG,o,o+1);case 36:return _(e,r.DOLLAR,o,o+1);case 38:return _(e,r.AMP,o,o+1);case 40:return _(e,r.PAREN_L,o,o+1);case 41:return _(e,r.PAREN_R,o,o+1);case 46:if(46===i.charCodeAt(o+1)&&46===i.charCodeAt(o+2))return _(e,r.SPREAD,o,o+3);break;case 58:return _(e,r.COLON,o,o+1);case 61:return _(e,r.EQUALS,o,o+1);case 64:return _(e,r.AT,o,o+1);case 91:return _(e,r.BRACKET_L,o,o+1);case 93:return _(e,r.BRACKET_R,o,o+1);case 123:return _(e,r.BRACE_L,o,o+1);case 124:return _(e,r.PIPE,o,o+1);case 125:return _(e,r.BRACE_R,o,o+1);case 34:if(34===i.charCodeAt(o+1)&&34===i.charCodeAt(o+2))return function(e,t){let i=e.source.body,n=i.length,o=e.lineStart,s=t+3,a=s,l="",u=[];for(;s<n;){let n=i.charCodeAt(s);if(34===n&&34===i.charCodeAt(s+1)&&34===i.charCodeAt(s+2)){l+=i.slice(a,s),u.push(l);let n=_(e,r.BLOCK_STRING,t,s+3,(0,m.OC)(u).join("\n"));return e.line+=u.length-1,e.lineStart=o,n}if(92===n&&34===i.charCodeAt(s+1)&&34===i.charCodeAt(s+2)&&34===i.charCodeAt(s+3)){l+=i.slice(a,s),a=s+1,s+=4;continue}if(10===n||13===n){l+=i.slice(a,s),u.push(l),13===n&&10===i.charCodeAt(s+1)?s+=2:++s,l="",a=s,o=s;continue}if(y(n))++s;else if(b(i,s))s+=2;else throw d(e.source,s,`Invalid character within String: ${x(e,s)}.`)}throw d(e.source,s,"Unterminated string.")}(e,o);return function(e,t){let i=e.source.body,n=i.length,o=t+1,s=o,a="";for(;o<n;){let n=i.charCodeAt(o);if(34===n)return a+=i.slice(s,o),_(e,r.STRING,t,o+1,a);if(92===n){a+=i.slice(s,o);let t=117===i.charCodeAt(o+1)?123===i.charCodeAt(o+2)?function(e,t){let i=e.source.body,n=0,r=3;for(;r<12;){let e=i.charCodeAt(t+r++);if(125===e){if(r<5||!y(n))break;return{value:String.fromCodePoint(n),size:r}}if((n=n<<4|S(e))<0)break}throw d(e.source,t,`Invalid Unicode escape sequence: "${i.slice(t,t+r)}".`)}(e,o):function(e,t){let i=e.source.body,n=A(i,t+2);if(y(n))return{value:String.fromCodePoint(n),size:6};if(E(n)&&92===i.charCodeAt(t+6)&&117===i.charCodeAt(t+7)){let e=A(i,t+8);if(T(e))return{value:String.fromCodePoint(n,e),size:12}}throw d(e.source,t,`Invalid Unicode escape sequence: "${i.slice(t,t+6)}".`)}(e,o):function(e,t){let i=e.source.body;switch(i.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"	",size:2}}throw d(e.source,t,`Invalid character escape sequence: "${i.slice(t,t+2)}".`)}(e,o);a+=t.value,o+=t.size,s=o;continue}if(10===n||13===n)break;if(y(n))++o;else if(b(i,o))o+=2;else throw d(e.source,o,`Invalid character within String: ${x(e,o)}.`)}throw d(e.source,o,"Unterminated string.")}(e,o)}if((0,g.yp)(t)||45===t)return function(e,t,i){let n=e.source.body,o=t,s=i,a=!1;if(45===s&&(s=n.charCodeAt(++o)),48===s){if(s=n.charCodeAt(++o),(0,g.yp)(s))throw d(e.source,o,`Invalid number, unexpected digit after 0: ${x(e,o)}.`)}else o=w(e,o,s),s=n.charCodeAt(o);if(46===s&&(a=!0,s=n.charCodeAt(++o),o=w(e,o,s),s=n.charCodeAt(o)),(69===s||101===s)&&(a=!0,(43===(s=n.charCodeAt(++o))||45===s)&&(s=n.charCodeAt(++o)),o=w(e,o,s),s=n.charCodeAt(o)),46===s||(0,g.un)(s))throw d(e.source,o,`Invalid number, expected digit but got: ${x(e,o)}.`);return _(e,a?r.FLOAT:r.INT,t,o,n.slice(t,o))}(e,o,t);if((0,g.un)(t))return function(e,t){let i=e.source.body,n=i.length,o=t+1;for(;o<n;){let e=i.charCodeAt(o);if((0,g.xr)(e))++o;else break}return _(e,r.NAME,t,o,i.slice(t,o))}(e,o);throw d(e.source,o,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":y(t)||b(i,o)?`Unexpected character: ${x(e,o)}.`:`Invalid character: ${x(e,o)}.`)}return _(e,r.EOF,n,n)}(this,e.end);e.next=t,t.prev=e,e=t}while(e.kind===r.COMMENT);return e}}function y(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function b(e,t){return E(e.charCodeAt(t))&&T(e.charCodeAt(t+1))}function E(e){return e>=55296&&e<=56319}function T(e){return e>=56320&&e<=57343}function x(e,t){let i=e.source.body.codePointAt(t);if(void 0===i)return r.EOF;if(i>=32&&i<=126){let e=String.fromCodePoint(i);return'"'===e?"'\"'":`"${e}"`}return"U+"+i.toString(16).toUpperCase().padStart(4,"0")}function _(e,t,i,n,r){let o=e.line,s=1+i-e.lineStart;return new p.ou(t,i,n,o,s,r)}function w(e,t,i){if(!(0,g.yp)(i))throw d(e.source,t,`Invalid number, expected digit but got: ${x(e,t)}.`);let n=e.source.body,r=t+1;for(;(0,g.yp)(n.charCodeAt(r));)++r;return r}function A(e,t){return S(e.charCodeAt(t))<<12|S(e.charCodeAt(t+1))<<8|S(e.charCodeAt(t+2))<<4|S(e.charCodeAt(t+3))}function S(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}var C=i(58287),O=i(77016);class k{constructor(e,t="GraphQL request",i={line:1,column:1}){"string"==typeof e||(0,C.U)(!1,`Body must be a string. Received: ${(0,O.N)(e)}.`),this.body=e,this.name=t,this.locationOffset=i,this.locationOffset.line>0||(0,C.U)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,C.U)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}class N{constructor(e,t){let i=e instanceof k?e:new k(e);this._lexer=new v(i),this._options=t}parseName(){let e=this.expectToken(r.NAME);return this.node(e,{kind:f.b.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:f.b.DOCUMENT,definitions:this.many(r.SOF,this.parseDefinition,r.EOF)})}parseDefinition(){if(this.peek(r.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===r.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(e)throw d(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){let e,t=this._lexer.token;
2if(this.peek(r.BRACE_L))return this.node(t,{kind:f.b.OPERATION_DEFINITION,operation:p.cE.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let i=this.parseOperationType();return this.peek(r.NAME)&&(e=this.parseName()),this.node(t,{kind:f.b.OPERATION_DEFINITION,operation:i,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(r.NAME);switch(e.value){case"query":return p.cE.QUERY;case"mutation":return p.cE.MUTATION;case"subscription":return p.cE.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(r.PAREN_L,this.parseVariableDefinition,r.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:f.b.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(r.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(r.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(r.DOLLAR),this.node(e,{kind:f.b.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:f.b.SELECTION_SET,selections:this.many(r.BRACE_L,this.parseSelection,r.BRACE_R)})}parseSelection(){return this.peek(r.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e,t,i=this._lexer.token,n=this.parseName();return this.expectOptionalToken(r.COLON)?(e=n,t=this.parseName()):t=n,this.node(i,{kind:f.b.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(r.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(r.PAREN_L,t,r.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,i=this.parseName();return this.expectToken(r.COLON),this.node(t,{kind:f.b.ARGUMENT,name:i,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(r.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(r.NAME)?this.node(e,{kind:f.b.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:f.b.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){var e;let t=this._lexer.token;return(this.expectKeyword("fragment"),(null==(e=this._options)?void 0:e.allowLegacyFragmentVariables)===!0)?this.node(t,{kind:f.b.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(t,{kind:f.b.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){let t=this._lexer.token;switch(t.kind){case r.BRACKET_L:return this.parseList(e);case r.BRACE_L:return this.parseObject(e);case r.INT:return this._lexer.advance(),this.node(t,{kind:f.b.INT,value:t.value});case r.FLOAT:return this._lexer.advance(),this.node(t,{kind:f.b.FLOAT,value:t.value});case r.STRING:case r.BLOCK_STRING:return this.parseStringLiteral();case r.NAME:switch(this._lexer.advance(),t.value){case"true":return this.node(t,{kind:f.b.BOOLEAN,value:!0});case"false":return this.node(t,{kind:f.b.BOOLEAN,value:!1});case"null":return this.node(t,{kind:f.b.NULL});default:return this.node(t,{kind:f.b.ENUM,value:t.value})}case r.DOLLAR:if(e){if(this.expectToken(r.DOLLAR),this._lexer.token.kind===r.NAME){let e=this._lexer.token.value;throw d(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let e=this._lexer.token;return this._lexer.advance(),this.node(e,{kind:f.b.STRING,value:e.value,block:e.kind===r.BLOCK_STRING})}parseList(e){let t=()=>this.parseValueLiteral(e);return this.node(this._lexer.token,{kind:f.b.LIST,values:this.any(r.BRACKET_L,t,r.BRACKET_R)})}parseObject(e){let t=()=>this.parseObjectField(e);return this.node(this._lexer.token,{kind:f.b.OBJECT,fields:this.any(r.BRACE_L,t,r.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,i=this.parseName();return this.expectToken(r.COLON),this.node(t,{kind:f.b.OBJECT_FIELD,name:i,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(r.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(r.AT),this.node(t,{kind:f.b.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e,t=this._lexer.token;if(this.expectOptionalToken(r.BRACKET_L)){let i=this.parseTypeReference();this.expectToken(r.BRACKET_R),e=this.node(t,{kind:f.b.LIST_TYPE,type:i})}else e=this.parseNamedType();return this.expectOptionalToken(r.BANG)?this.node(t,{kind:f.b.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:f.b.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(r.STRING)||this.peek(r.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");let i=this.parseConstDirectives(),n=this.many(r.BRACE_L,this.parseOperationTypeDefinition,r.BRACE_R);return this.node(e,{kind:f.b.SCHEMA_DEFINITION,description:t,directives:i,operationTypes:n})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(r.COLON);let i=this.parseNamedType();
2return this.node(e,{kind:f.b.OPERATION_TYPE_DEFINITION,operation:t,type:i})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let i=this.parseName(),n=this.parseConstDirectives();return this.node(e,{kind:f.b.SCALAR_TYPE_DEFINITION,description:t,name:i,directives:n})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let i=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:f.b.OBJECT_TYPE_DEFINITION,description:t,name:i,interfaces:n,directives:r,fields:o})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(r.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(r.BRACE_L,this.parseFieldDefinition,r.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),i=this.parseName(),n=this.parseArgumentDefs();this.expectToken(r.COLON);let o=this.parseTypeReference(),s=this.parseConstDirectives();return this.node(e,{kind:f.b.FIELD_DEFINITION,description:t,name:i,arguments:n,type:o,directives:s})}parseArgumentDefs(){return this.optionalMany(r.PAREN_L,this.parseInputValueDef,r.PAREN_R)}parseInputValueDef(){let e,t=this._lexer.token,i=this.parseDescription(),n=this.parseName();this.expectToken(r.COLON);let o=this.parseTypeReference();this.expectOptionalToken(r.EQUALS)&&(e=this.parseConstValueLiteral());let s=this.parseConstDirectives();return this.node(t,{kind:f.b.INPUT_VALUE_DEFINITION,description:i,name:n,type:o,defaultValue:e,directives:s})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let i=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:f.b.INTERFACE_TYPE_DEFINITION,description:t,name:i,interfaces:n,directives:r,fields:o})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let i=this.parseName(),n=this.parseConstDirectives(),r=this.parseUnionMemberTypes();return this.node(e,{kind:f.b.UNION_TYPE_DEFINITION,description:t,name:i,directives:n,types:r})}parseUnionMemberTypes(){return this.expectOptionalToken(r.EQUALS)?this.delimitedMany(r.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let i=this.parseName(),n=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();return this.node(e,{kind:f.b.ENUM_TYPE_DEFINITION,description:t,name:i,directives:n,values:r})}parseEnumValuesDefinition(){return this.optionalMany(r.BRACE_L,this.parseEnumValueDefinition,r.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),i=this.parseEnumValueName(),n=this.parseConstDirectives();return this.node(e,{kind:f.b.ENUM_VALUE_DEFINITION,description:t,name:i,directives:n})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw d(this._lexer.source,this._lexer.token.start,`${D(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");let i=this.parseName(),n=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();return this.node(e,{kind:f.b.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:i,directives:n,fields:r})}parseInputFieldsDefinition(){return this.optionalMany(r.BRACE_L,this.parseInputValueDef,r.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===r.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let t=this.parseConstDirectives(),i=this.optionalMany(r.BRACE_L,this.parseOperationTypeDefinition,r.BRACE_R);if(0===t.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:f.b.SCHEMA_EXTENSION,directives:t,operationTypes:i})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let t=this.parseName(),i=this.parseConstDirectives();if(0===i.length)throw this.unexpected();return this.node(e,{kind:f.b.SCALAR_TYPE_EXTENSION,name:t,directives:i})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let t=this.parseName(),i=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),r=this.parseFieldsDefinition();if(0===i.length&&0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:f.b.OBJECT_TYPE_EXTENSION,name:t,interfaces:i,directives:n,fields:r})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),i=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),r=this.parseFieldsDefinition();if(0===i.length&&0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:f.b.INTERFACE_TYPE_EXTENSION,name:t,interfaces:i,directives:n,fields:r})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),i=this.parseConstDirectives(),n=this.parseUnionMemberTypes();if(0===i.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:f.b.UNION_TYPE_EXTENSION,name:t,directives:i,types:n})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),i=this.parseConstDirectives(),n=this.parseEnumValuesDefinition();if(0===i.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:f.b.ENUM_TYPE_EXTENSION,name:t,directives:i,values:n})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),i=this.parseConstDirectives(),n=this.parseInputFieldsDefinition();if(0===i.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:f.b.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:i,fields:n})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(r.AT);let i=this.parseName(),n=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let s=this.parseDirectiveLocations();return this.node(e,{kind:f.b.DIRECTIVE_DEFINITION,description:t,name:i,arguments:n,repeatable:o,locations:s})}parseDirectiveLocations(){return this.delimitedMany(r.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(n,t.value))return t;throw this.unexpected(e)}node(e,t){var i;return(null==(i=this._options)?void 0:i.noLocation)!==!0&&(t.loc=new p.aZ(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){let t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw d(this._lexer.source,t.start,`Expected ${P(e)}, found ${D(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this._lexer.advance(),!0)}expectKeyword(e){let t=this._lexer.token;if(t.kind===r.NAME&&t.value===e)this._lexer.advance();else throw d(this._lexer.source,t.start,`Expected "${e}", found ${D(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===r.NAME&&t.value===e&&(this._lexer.advance(),!0)}unexpected(e){let t=null!=e?e:this._lexer.token;return d(this._lexer.source,t.start,`Unexpected ${D(t)}.`)}any(e,t,i){this.expectToken(e);let n=[];for(;!this.expectOptionalToken(i);)n.push(t.call(this));return n}optionalMany(e,t,i){if(this.expectOptionalToken(e)){let e=[];do e.push(t.call(this));while(!this.expectOptionalToken(i));return e}return[]}many(e,t,i){this.expectToken(e);let n=[];do n.push(t.call(this));while(!this.expectOptionalToken(i));return n}delimitedMany(e,t){this.expectOptionalToken(e);let i=[];do i.push(t.call(this));while(this.expectOptionalToken(e));return i}}function D(e){let t=e.value;return P(e.kind)+(null!=t?` "${t}"`:"")}function P(e){return e===r.BANG||e===r.DOLLAR||e===r.AMP||e===r.PAREN_L||e===r.PAREN_R||e===r.SPREAD||e===r.COLON||e===r.EQUALS||e===r.AT||e===r.BRACKET_L||e===r.BRACKET_R||e===r.BRACE_L||e===r.PIPE||e===r.BRACE_R?`"${e}"`:e}var R=new Map,I=new Map,M=!0,L=!1;function j(e){return e.replace(/[\s,]+/g," ").trim()}function F(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];"string"==typeof e&&(e=[e]);var n=e[0];return t.forEach(function(t,i){t&&"Document"===t.kind?n+=t.loc.source.body:n+=t,n+=e[i+1]}),function(e){var t=j(e);if(!R.has(t)){var i,n,r,s,a,l=new N(e,{experimentalFragmentVariables:L,allowLegacyFragmentVariables:L}).parseDocument();if(!l||"Document"!==l.kind)throw Error("Not a valid GraphQL document.");R.set(t,((s=new Set((i=new Set,n=[],l.definitions.forEach(function(e){if("FragmentDefinition"===e.kind){var t,r=e.name.value,o=j((t=e.loc).source.body.substring(t.start,t.end)),s=I.get(r);s&&!s.has(o)?M&&console.warn("Warning: fragment with name "+r+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):s||I.set(r,s=new Set),s.add(o),i.has(o)||
2(i.add(o),n.push(e))}else n.push(e)}),r=(0,o.Cl)((0,o.Cl)({},l),{definitions:n})).definitions)).forEach(function(e){e.loc&&delete e.loc,Object.keys(e).forEach(function(t){var i=e[t];i&&"object"==typeof i&&s.add(i)})}),(a=r.loc)&&(delete a.startToken,delete a.endToken),r))}return R.get(t)}(n)}var V={gql:F,resetCaches:function(){R.clear(),I.clear()},disableFragmentWarnings:function(){M=!1},enableExperimentalFragmentVariables:function(){L=!0},disableExperimentalFragmentVariables:function(){L=!1}};!function(e){e.gql=V.gql,e.resetCaches=V.resetCaches,e.disableFragmentWarnings=V.disableFragmentWarnings,e.enableExperimentalFragmentVariables=V.enableExperimentalFragmentVariables,e.disableExperimentalFragmentVariables=V.disableExperimentalFragmentVariables}(F||(F={})),F.default=F},79760:(e,t,i)=>{"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var i=Object.create(null);return e.forEach(function(e){e&&Object.keys(e).forEach(function(t){var n=e[t];void 0!==n&&(i[t]=n)})}),i}i.d(t,{o:()=>n})},80542:(e,t,i)=>{"use strict";i.d(t,{En:()=>s,JR:()=>h,et:()=>o,ol:()=>a,uJ:()=>l});var n=i(17318),r="ReactNative"==(0,n.no)(function(){return navigator.product}),o="function"==typeof WeakMap&&!(r&&!global.HermesInternal),s="function"==typeof WeakSet,a="function"==typeof Symbol&&"function"==typeof Symbol.for,l=a&&Symbol.asyncIterator,u="function"==typeof(0,n.no)(function(){return window.document.createElement}),c=(0,n.no)(function(){return navigator.userAgent.indexOf("jsdom")>=0})||!1,h=(u||r)&&!c},80593:(e,t,i)=>{"use strict";i.d(t,{v:()=>s});var n=i(20095),r=i(17318),o=Symbol.for("apollo.cacheSize"),s=(0,n.Cl)({},r.Sf[o])},83070:(e,t,i)=>{"use strict";i.d(t,{K$:()=>o,K4:()=>u,Mn:()=>a,uR:()=>s});var n=i(20095);i(17318);var r=i(93957),o=Symbol();function s(e){return!!e.extensions&&Array.isArray(e.extensions[o])}function a(e){return e.hasOwnProperty("graphQLErrors")}var l=function(e){var t=(0,n.fX)((0,n.fX)((0,n.fX)([],e.graphQLErrors,!0),e.clientErrors,!0),e.protocolErrors,!0);return e.networkError&&t.push(e.networkError),t.map(function(e){return(0,r.U)(e)&&e.message||"Error message not found."}).join("\n")},u=function(e){function t(i){var r=i.graphQLErrors,o=i.protocolErrors,s=i.clientErrors,a=i.networkError,u=i.errorMessage,c=i.extraInfo,h=e.call(this,u)||this;return h.name="ApolloError",h.graphQLErrors=r||[],h.protocolErrors=o||[],h.clientErrors=s||[],h.networkError=a||null,h.message=u||l(h),h.extraInfo=c,h.cause=(0,n.fX)((0,n.fX)((0,n.fX)([a],r||[],!0),o||[],!0),s||[],!0).find(function(e){return!!e})||null,h.__proto__=t.prototype,h}return(0,n.C6)(t,e),t}(Error)},84918:(e,t,i)=>{"use strict";i.d(t,{r:()=>n});var n="3.12.4"},86158:(e,t,i)=>{"use strict";let n;i.d(t,{Ll:()=>l,aD:()=>s,aZ:()=>r,cE:()=>n,ou:()=>o});class r{constructor(e,t,i){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=i}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class o{constructor(e,t,i,n,r,o){this.kind=e,this.start=t,this.end=i,this.line=n,this.column=r,this.value=o,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}let s={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},a=new Set(Object.keys(s));function l(e){let t=null==e?void 0:e.kind;return"string"==typeof t&&a.has(t)}!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(n||(n={}))},93957:(e,t,i)=>{"use strict";function n(e){return null!==e&&"object"==typeof e}i.d(t,{U:()=>n})},94091:(e,t,i)=>{"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var i in t)Object.defineProperty(e,i,{enumerable:!0,get:t[i]})}(t,{getRedirectError:function(){return s},getRedirectStatusCodeFromError:function(){return h},getRedirectTypeFromError:function(){return c},getURLFromRedirectError:function(){return u},permanentRedirect:function(){return l},redirect:function(){return a}});let n=i(13666),r=i(86500),o=void 0;function s(e,t,i){void 0===i&&(i=n.RedirectStatusCode.TemporaryRedirect);let o=Object.defineProperty(Error(r.REDIRECT_ERROR_CODE),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return o.digest=r.REDIRECT_ERROR_CODE+";"+t+";"+e+";"+i+";",o}function a(e,t){var i;throw null!=t||(t=(null==o||null==(i=o.getStore())?void 0:i.isAction)?r.RedirectType.push:r.RedirectType.replace),s(e,t,n.RedirectStatusCode.TemporaryRedirect)}function l(e,t){throw void 0===t&&(t=r.RedirectType.replace),s(e,t,n.RedirectStatusCode.PermanentRedirect)}function u(e){return(0,r.isRedirectError)(e)?e.digest.split(";").slice(2,-2).join(";"):null}function c(e){if(!(0,r.isRedirectError)(e))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return e.digest.split(";",2)[1]}function h(e){if(!(0,r.isRedirectError)(e))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return Number(e.digest.split(";").at(-2))}("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)},94397:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var i in t)Object.defineProperty(e,i,{enumerable:!0,get:t[i]})}(t,{ReadonlyURLSearchParams:function(){return l.ReadonlyURLSearchParams},RedirectType:function(){return l.RedirectType},ServerInsertedHTMLContext:function(){return u.ServerInsertedHTMLContext},forbidden:function(){return l.forbidden},notFound:function(){return l.notFound},permanentRedirect:function(){return l.permanentRedirect},redirect:function(){return l.redirect},unauthorized:function(){return l.unauthorized},unstable_isUnrecognizedActionError:function(){return c.unstable_isUnrecognizedActionError},unstable_rethrow:function(){return l.unstable_rethrow},useParams:function(){return m},usePathname:function(){return p},useRouter:function(){return f},useSearchParams:function(){return d},useSelectedLayoutSegment:function(){return v},useSelectedLayoutSegments:function(){return g},useServerInsertedHTML:function(){return u.useServerInsertedHTML}});let n=i(14232),r=i(3669),o=i(9440),s=i(66454),a=i(54933),l=i(37788),u=i(7430),c=i(22182),h=void 0;function d(){let e=(0,n.useContext)(o.SearchParamsContext);return(0,n.useMemo)(()=>e?new l.ReadonlyURLSearchParams(e):null,[e])}function p(){return null==h||h("usePathname()"),(0,n.useContext)(o.PathnameContext)}function f(){let e=(0,n.useContext)(r.AppRouterContext);if(null===e)throw Object.defineProperty(Error("invariant expected app router to be mounted"),"__NEXT_ERROR_CODE",{value:"E238",enumerable:!1,configurable:!0});return e}function m(){return null==h||h("useParams()"),(0,n.useContext)(o.PathParamsContext)}function g(e){void 0===e&&(e="children"),null==h||h("useSelectedLayoutSegments()");let t=(0,n.useContext)(r.LayoutRouterContext);return t?function e(t,i,n,r){let o;if(void 0===n&&(n=!0),void 0===r&&(r=[]),n)o=t[1][i];else{var l;let e=t[1];o=null!=(l=e.children)?l:Object.values(e)[0]}if(!o)return r;let u=o[0],c=(0,s.getSegmentValue)(u);return!c||c.startsWith(a.PAGE_SEGMENT_KEY)?r:(r.push(c),e(o,i,!1,r))}(t.parentTree,e):null}function v(e){void 0===e&&(e="children"),null==h||h("useSelectedLayoutSegment()");let t=g(e);if(!t||0===t.length)return null;let i="children"===e?t[0]:t[t.length-1];return i===a.DEFAULT_SEGMENT_KEY?null:i}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
2dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},94587:(e,t,i)=>{"use strict";let n;i.d(t,{b:()=>n}),function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"}(n||(n={}))},94989:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return E}});let n=i(64252),r=i(88365),o=i(37876),s=r._(i(14232)),a=n._(i(98477)),l=n._(i(97918)),u=i(95197),c=i(63258),h=i(81854);i(76456);let d=i(54387),p=n._(i(49411)),f=i(51112),m={deviceSizes:[480,640,768,960,1024,1280,1440,1536,2048,2560,2880],imageSizes:[38,72,100,128,180,220,300,440,580,585,600,720,725,780,945],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function g(e,t,i,n,r,o,s){let a=null==e?void 0:e.src;e&&e["data-loaded-src"]!==a&&(e["data-loaded-src"]=a,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&r(!0),null==i?void 0:i.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,r=!1;i.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>r,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{r=!0,t.stopPropagation()}})}(null==n?void 0:n.current)&&n.current(e)}}))}function v(e){return s.use?{fetchPriority:e}:{fetchpriority:e}}let y=(0,s.forwardRef)((e,t)=>{let{src:i,srcSet:n,sizes:r,height:a,width:l,decoding:u,className:c,style:h,fetchPriority:d,placeholder:p,loading:m,unoptimized:y,fill:b,onLoadRef:E,onLoadingCompleteRef:T,setBlurComplete:x,setShowAltText:_,sizesInput:w,onLoad:A,onError:S,...C}=e,O=(0,s.useCallback)(e=>{e&&(S&&(e.src=e.src),e.complete&&g(e,p,E,T,x,y,w))},[i,p,E,T,x,S,y,w]),k=(0,f.useMergedRef)(t,O);return(0,o.jsx)("img",{...C,...v(d),loading:m,width:l,height:a,decoding:u,"data-nimg":b?"fill":"1",className:c,style:h,sizes:r,srcSet:n,src:i,ref:k,onLoad:e=>{g(e.currentTarget,p,E,T,x,y,w)},onError:e=>{_(!0),"empty"!==p&&x(!0),S&&S(e)}})});function b(e){let{isAppRouter:t,imgAttributes:i}=e,n={as:"image",imageSrcSet:i.srcSet,imageSizes:i.sizes,crossOrigin:i.crossOrigin,referrerPolicy:i.referrerPolicy,...v(i.fetchPriority)};return t&&a.default.preload?(a.default.preload(i.src,n),null):(0,o.jsx)(l.default,{children:(0,o.jsx)("link",{rel:"preload",href:i.srcSet?void 0:i.src,...n},"__nimg-"+i.src+i.srcSet+i.sizes)})}let E=(0,s.forwardRef)((e,t)=>{let i=(0,s.useContext)(d.RouterContext),n=(0,s.useContext)(h.ImageConfigContext),r=(0,s.useMemo)(()=>{var e;let t=m||n||c.imageConfigDefault,i=[...t.deviceSizes,...t.imageSizes].sort((e,t)=>
2e-t),r=t.deviceSizes.sort((e,t)=>e-t),o=null==(e=t.qualities)?void 0:e.sort((e,t)=>e-t);return{...t,allSizes:i,deviceSizes:r,qualities:o}},[n]),{onLoad:a,onLoadingComplete:l}=e,f=(0,s.useRef)(a);(0,s.useEffect)(()=>{f.current=a},[a]);let g=(0,s.useRef)(l);(0,s.useEffect)(()=>{g.current=l},[l]);let[v,E]=(0,s.useState)(!1),[T,x]=(0,s.useState)(!1),{props:_,meta:w}=(0,u.getImgProps)(e,{defaultLoader:p.default,imgConf:r,blurComplete:v,showAltText:T});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(y,{..._,unoptimized:w.unoptimized,placeholder:w.placeholder,fill:w.fill,onLoadRef:f,onLoadingCompleteRef:g,setBlurComplete:E,setShowAltText:x,sizesInput:e.sizes,ref:t}),w.priority?(0,o.jsx)(b,{isAppRouter:!i,imgAttributes:_}):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)},95197:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return l}}),i(76456);let n=i(10510),r=i(63258),o=["-moz-initial","fill","none","scale-down",void 0];function s(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 l(e,t){var i,l;let u,c,h,{src:d,sizes:p,unoptimized:f=!1,priority:m=!1,loading:g,className:v,quality:y,width:b,height:E,fill:T=!1,style:x,overrideSrc:_,onLoad:w,onLoadingComplete:A,placeholder:S="empty",blurDataURL:C,fetchPriority:O,decoding:k="async",layout:N,objectFit:D,objectPosition:P,lazyBoundary:R,lazyRoot:I,...M}=e,{imgConf:L,showAltText:j,blurComplete:F,defaultLoader:V}=t,U=L||r.imageConfigDefault;if("allSizes"in U)u=U;else{let e=[...U.deviceSizes,...U.imageSizes].sort((e,t)=>e-t),t=U.deviceSizes.sort((e,t)=>e-t),n=null==(i=U.qualities)?void 0:i.sort((e,t)=>e-t);u={...U,allSizes:e,deviceSizes:t,qualities:n}}if(void 0===V)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let B=M.loader||V;delete M.loader,delete M.srcSet;let z="__next_img_default"in B;if(z){if("custom"===u.loader)throw Object.defineProperty(Error('Image with src "'+d+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader'),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=B;B=t=>{let{config:i,...n}=t;return e(n)}}if(N){"fill"===N&&(T=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[N];e&&(x={...x,...e});let t={responsive:"100vw",fill:"100vw"}[N];t&&!p&&(p=t)}let H="",$=a(b),W=a(E);if((l=d)&&"object"==typeof l&&(s(l)||void 0!==l.src)){let e=s(d)?d.default:d;if(!e.src)throw Object.defineProperty(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)),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!e.height||!e.width)throw Object.defineProperty(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)),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(c=e.blurWidth,h=e.blurHeight,C=C||e.blurDataURL,H=e.src,!T)if($||W){if($&&!W){let t=$/e.width;W=Math.round(e.height*t)}else if(!$&&W){let t=W/e.height;$=Math.round(e.width*t)}}else $=e.width,W=e.height}let G=!m&&("lazy"===g||void 0===g);(!(d="string"==typeof d?d:H)||d.startsWith("data:")||d.startsWith("blob:"))&&(f=!0,G=!1),u.unoptimized&&(f=!0),z&&!u.dangerouslyAllowSVG&&d.split("?",1)[0].endsWith(".svg")&&(f=!0);let K=a(y),Y=Object.assign(T?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:D,objectPosition:P}:{},j?{}:{color:"transparent"},x),q=F||"empty"===S?null:"blur"===S?'url("data:image/svg+xml;charset=utf-8,'+(0,n.getImageBlurSvg)({widthInt:$,heightInt:W,blurWidth:c,blurHeight:h,blurDataURL:C||"",objectFit:Y.objectFit})+'")':'url("'+S+'")',X=o.includes(Y.objectFit)?"fill"===Y.objectFit?"100% 100%":"cover":Y.objectFit,Q=q?{backgroundSize:X,backgroundPosition:Y.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:q}:{}
2,J=function(e){let{config:t,src:i,unoptimized:n,width:r,quality:o,sizes:s,loader:a}=e;if(n)return{src:i,srcSet:void 0,sizes:void 0};let{widths:l,kind:u}=function(e,t,i){let{deviceSizes:n,allSizes:r}=e;if(i){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let n;n=e.exec(i);)t.push(parseInt(n[2]));if(t.length){let e=.01*Math.min(...t);return{widths:r.filter(t=>t>=n[0]*e),kind:"w"}}return{widths:r,kind:"w"}}return"number"!=typeof t?{widths:n,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>r.find(t=>t>=e)||r[r.length-1]))],kind:"x"}}(t,r,s),c=l.length-1;return{sizes:s||"w"!==u?s:"100vw",srcSet:l.map((e,n)=>a({config:t,src:i,quality:o,width:e})+" "+("w"===u?e:n+1)+u).join(", "),src:a({config:t,src:i,quality:o,width:l[c]})}}({config:u,src:d,unoptimized:f,width:$,quality:K,sizes:p,loader:B});return{props:{...M,loading:G?"lazy":g,fetchPriority:O,width:$,height:W,decoding:k,className:v,style:{...Y,...Q},sizes:J.sizes,srcSet:J.srcSet,src:_||J.src},meta:{unoptimized:f,priority:m,placeholder:S,fill:T}}}},95682:(e,t,i)=>{"use strict";i.d(t,{A:()=>a,V:()=>l});var n=i(99853),r=i(36898),o=new WeakSet;function s(e){!(e.size<=(e.max||-1))&&(o.has(e)||(o.add(e),setTimeout(function(){e.clean(),o.delete(e)},100)))}var a=function(e,t){var i=new n.l(e,t);return i.set=function(e,t){var i=n.l.prototype.set.call(this,e,t);return s(this),i},i},l=function(e,t){var i=new r.C(e,t);return i.set=function(e,t){var i=r.C.prototype.set.call(this,e,t);return s(this),i},i}},99853:(e,t,i)=>{"use strict";function n(){}i.d(t,{l:()=>a});let r="undefined"!=typeof WeakRef?WeakRef:function(e){return{deref:()=>e}},o="undefined"!=typeof WeakMap?WeakMap:Map,s="undefined"!=typeof FinalizationRegistry?FinalizationRegistry:function(){return{register:n,unregister:n}};class a{constructor(e=1/0,t=n){this.max=e,this.dispose=t,this.map=new o,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{let e=this.unfinalizedNodes.values();for(let t=0;t<10024;t++){let t=e.next().value;if(!t)break;this.unfinalizedNodes.delete(t);let i=t.key;delete t.key,t.keyRef=new r(i),this.registry.register(i,t,t)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new s(this.deleteNode.bind(this))}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:i}=t;i&&(i.older=e),e&&(e.newer=i),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=i)}return t}set(e,t){let i=this.getNode(e);return i?i.value=t:(i={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=i),this.newest=i,this.oldest=this.oldest||i,this.scheduleFinalization(i),this.map.set(e,i),this.size++,i.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(e){e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.size--;let t=e.key||e.keyRef&&e.keyRef.deref();this.dispose(e.value,t),e.keyRef?this.registry.unregister(e):this.unfinalizedNodes.delete(e),t&&this.map.delete(t)}delete(e){let t=this.map.get(e);return!!t&&(this.deleteNode(t),!0)}scheduleFinalization(e){this.unfinalizedNodes.add(e),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}}}]);

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.