1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6071],{1849:(e,t,r)=>{"use strict";r.d(t,{H:()=>n});var n=r(22337).C.from},3322:(e,t,r)=>{"use strict";r.d(t,{y:()=>g});var n,i=r(47518);let o=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function a(e){return s[e.charCodeAt(0)]}let s=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];var l=r(74968);let u={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>c(e.definitions,"\n\n")},OperationDefinition:{leave(e){let t=d("(",c(e.variableDefinitions,", "),")"),r=c([e.operation,c([e.name,t]),c(e.directives," ")]," ");return("query"===r?"":r+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:r,directives:n})=>e+": "+t+d(" = ",r)+d(" ",c(n," "))},SelectionSet:{leave:({selections:e})=>h(e)},Field:{leave({alias:e,name:t,arguments:r,directives:n,selectionSet:i}){let o=d("",e,": ")+t,a=o+d("(",c(r,", "),")");return a.length>80&&(a=o+d("(\n",f(c(r,"\n")),"\n)")),c([a,c(n," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+d(" ",c(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:r})=>c(["...",d("on ",e),c(t," "),r]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:r,directives:n,selectionSet:i})=>`fragment ${e}${d("(",c(r,", "),")")} on ${t} ${d("",c(n," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?(0,i.yo)(e):`"${e.replace(o,a)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+c(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+c(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+d("(",c(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:r})=>d("",e,"\n")+c(["schema",c(t," "),h(r)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:r})=>d("",e,"\n")+c(["scalar",t,c(r," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>d("",e,"\n")+c(["type",t,d("implements ",c(r," & ")),c(n," "),h(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:r,type:n,directives:i})=>d("",e,"\n")+t+(p(r)?d("(\n",f(c(r,"\n")),"\n)"):d("(",c(r,", "),")"))+": "+n+d(" ",c(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:r,defaultValue:n,directives:i})=>d("",e,"\n")+c([t+": "+r,d("= ",n),c(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>d("",e,"\n")+c(["interface",t,d("implements ",c(r," & ")),c(n," "),h(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:r,types:n})=>d("",e,"\n")+c(["union",t,c(r," "),d("= ",c(n," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:r,values:n})=>d("",e,"\n")+c(["enum",t,c(r," "),h(n)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:r})=>d("",e,"\n")+c([t,c(r," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:r,fields:n})=>d("",e,"\n")+c(["input",t,c(r," "),h(n)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:r,repeatable:n,locations:i})=>d("",e,"\n")+"directive @"+t+(p(r)?d("(\n",f(c(r,"\n")),"\n)"):d("(",c(r,", "),")"))+(n?" repeatable":"")+" on "+c(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>c(["extend schema",c(e," "),h(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>c(["extend scalar",e,c(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>c(["extend type",e,d("implements ",c(t," & ")),c(r," "),h(n)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>c(["extend interface",e,d("implements ",c(t," & ")),c(r," "),h(n)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:r})=>c(["extend union",e,c(t," "),d("= ",c(r," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:r})=>c(["extend enum",e,c(t," "),h(r)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:r})=>c(["extend input",e,c(t," "),h(r)]," ")}};function c(e,t=""){var r;return null!=(r=null==e?void 0:e.filter(e=>e).join(t))?r:""}function h(e){return d("{\n",f(c(e,"\n")),"\n}")}function d(e,t,r=""){return null!=t&&""!==t?e+t+r:""}function f(e){return d(" ",e.replace(/\n/g,"\n "))}function p(e){var t;return null!=(t=null==e?void 0:e.some(e=>e.includes("\n")))&&t}var m=r(95682),v=r(80593),y=r(17070),g=Object.assign(function(e){var t=n.get(e);return t||(t=(0,l.YR)(e,u),n.set(e,t)),t},{reset:function(){n=new m.A(v.v.print||2e3)}});g.reset(),!1!==globalThis.__DEV__&&(0,y.D_)("print",function(){return n?n.size:0})},4656:()=>{!function(){"use strict";var e="initCookieConsent";"undefined"!=typeof window&&"function"!=typeof window[e]&&(window[e]=function(e){var t,r,n,i,o,a,s,l,u,c,h,d,f,p,m,v,y,g,b,_,E,T,w,x,S,k,O,C,A,D,R,P,N,I,M,F={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"},L={},j={},V=null,U=!0,q=!1,B=!1,z=!1,Q=!1,W=!0,H=[],K=!1,G=[],Y=[],$=[],X=!1,J=[],Z=[],ee=[],et=[],er=[],en=document.documentElement,ei=function(e){"number"==typeof(t=e).
1cookie_expiration&&(F.cookie_expiration=t.cookie_expiration),"number"==typeof t.cookie_necessary_only_expiration&&(F.cookie_necessary_only_expiration=t.cookie_necessary_only_expiration),"boolean"==typeof t.autorun&&(F.autorun=t.autorun),"string"==typeof t.cookie_domain&&(F.cookie_domain=t.cookie_domain),"string"==typeof t.cookie_same_site&&(F.cookie_same_site=t.cookie_same_site),"string"==typeof t.cookie_path&&(F.cookie_path=t.cookie_path),"string"==typeof t.cookie_name&&(F.cookie_name=t.cookie_name),"function"==typeof t.onAccept&&(h=t.onAccept),"function"==typeof t.onFirstAction&&(f=t.onFirstAction),"function"==typeof t.onChange&&(d=t.onChange),"opt-out"===t.mode&&(F.mode="opt-out"),"number"==typeof t.revision&&(t.revision>-1&&(F.revision=t.revision),Q=!0),"boolean"==typeof t.autoclear_cookies&&(F.autoclear_cookies=t.autoclear_cookies),!0===t.use_rfc_cookie&&(F.use_rfc_cookie=!0),"boolean"==typeof t.hide_from_bots&&(F.hide_from_bots=t.hide_from_bots),F.hide_from_bots&&(X=navigator&&(navigator.userAgent&&/bot|crawl|spider|slurp|teoma/i.test(navigator.userAgent)||navigator.webdriver)),F.page_scripts=!0===t.page_scripts,"browser"===t.auto_language||!0===t.auto_language?F.auto_language="browser":"document"===t.auto_language&&(F.auto_language="document"),F.auto_language,F.current_lang=ed(t.languages,t.current_lang)},eo=function(e){for(var t="accept-",r=s("c-settings"),n=s(t+"all"),i=s(t+"necessary"),o=s(t+"custom"),a=0;a<r.length;a++)r[a].setAttribute("aria-haspopup","dialog"),e_(r[a],"click",function(e){e.preventDefault(),L.showSettings(0)});for(a=0;a<n.length;a++)e_(n[a],"click",function(e){l(e,"all")});for(a=0;a<o.length;a++)e_(o[a],"click",function(e){l(e)});for(a=0;a<i.length;a++)e_(i[a],"click",function(e){l(e,[])});function s(t){return(e||document).querySelectorAll('[data-cc="'+t+'"]')}function l(e,t){e.preventDefault(),L.accept(t),L.hideSettings(),L.hide()}},ea=function(e,t){return t.hasOwnProperty(e)?e:eE(t).length>0?t.hasOwnProperty(F.current_lang)?F.current_lang:eE(t)[0]:void 0},es=function(e){if(!0===t.force_consent&&eT(en,"force--consent"),!b){b=eh("div");var r=eh("div"),n=eh("div");b.id="cm",r.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"),g.appendChild(b),g.appendChild(n),b.style.visibility=n.style.visibility="hidden",n.style.opacity=0}var i=t.languages[e].consent_modal.title;i&&(_||((_=eh("div")).id="c-ttl",_.setAttribute("role","heading"),_.setAttribute("aria-level","2"),r.appendChild(_)),_.innerHTML=i);var o=t.languages[e].consent_modal.description;Q&&(o=W?o.replace("{{revision_message}}",""):o.replace("{{revision_message}}",t.languages[e].consent_modal.revision_message||"")),E||((E=eh("div")).id="c-txt",r.appendChild(E)),E.innerHTML=o;var a,s=t.languages[e].consent_modal.primary_btn,l=t.languages[e].consent_modal.secondary_btn;s&&(T||((T=eh("button")).id="c-p-bn",T.className="c-bn",T.appendChild(eS(1)),"accept_all"===s.role&&(a="all"),e_(T,"click",function(){L.hide(),L.accept(a)})),T.firstElementChild.innerHTML=t.languages[e].consent_modal.primary_btn.text),l&&(w||((w=eh("button")).id="c-s-bn",w.className="c-bn c_link",w.appendChild(eS(1)),"accept_necessary"===l.role?e_(w,"click",function(){L.hide(),L.accept([])}):e_(w,"click",function(){L.showSettings(0)})),w.firstElementChild.innerHTML=t.languages[e].consent_modal.secondary_btn.text);var u=t.gui_options;S||((S=eh("div")).id="c-inr",S.appendChild(r)),x||((x=eh("div")).id="c-bns",u&&u.consent_modal&&!0===u.consent_modal.swap_buttons?(l&&x.appendChild(w),s&&x.appendChild(T),x.className="swap"):(s&&x.appendChild(T),l&&x.appendChild(w)),(s||l)&&S.appendChild(x),b.appendChild(S)),q=!0,eo(S)},el=function(e){if(k)(R=eh("div")).id="s-bl";else{(k=eh("div")).tabIndex=-1;var r=eh("div"),n=eh("div"),i=eh("div");O=eh("div"),C=eh("div");var o=eh("div");(A=eh("button")).appendChild(eS(2));var a=eh("div");D=eh("div");var s=eh("div");e_(i,"click",function(e){z&&!O.contains(e.target)&&L.hideSettings()},!0),k.id="s-cnt",r.id="c-vln",i.id="c-s-in",n.id="cs",C.id="s-ttl",O.id="s-inr",o.id="s-hdr",D.id="s-bl",A.id="s-c-bn",s.id="cs-ov",a.id="s-c-bnc",A.className="
1c-bn",k.setAttribute("role","dialog"),k.setAttribute("aria-modal","true"),k.setAttribute("aria-hidden","true"),k.setAttribute("aria-labelledby","s-ttl"),C.setAttribute("role","heading"),k.style.visibility=s.style.visibility="hidden",s.style.opacity=0,a.appendChild(A),e_(document,"keydown",function(e){27===e.keyCode&&z&&L.hideSettings()},!0),e_(A,"click",function(){L.hideSettings()})}var l=t.languages[e].settings_modal;A.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;C.innerHTML=l.title;for(var f=0;f<d;++f){var p=c[f].title,m=c[f].description,v=c[f].toggle,y=c[f].cookie_table,b=!0===t.remove_cookie_tables,_=!!m||!b&&!!y,E=eh("div"),T=eh("div");if(m){var w=eh("div");w.className="p",w.insertAdjacentHTML("beforeend",m)}var x=eh("div");if(x.className="title",E.className="c-bl",T.className="desc",void 0!==v){var S="c-ac-"+f,F=eh(_?"button":"div"),V=eh("label"),q=eh("input"),B=eh("span"),Q=eh("span"),W=eh("span"),H=eh("span");F.className=_?"b-tl exp":"b-tl",V.className="b-tg",q.className="c-tgl",W.className="on-i",H.className="off-i",B.className="c-tg",Q.className="t-lb",_&&(F.setAttribute("aria-expanded","false"),F.setAttribute("aria-controls",S)),q.type="checkbox",B.setAttribute("aria-hidden","true");var K=v.value;q.value=K,Q.textContent=p,F.insertAdjacentHTML("beforeend",p),x.appendChild(F),B.appendChild(W),B.appendChild(H),U?v.enabled?(q.checked=!0,R||ee.push(!0),v.enabled&&!R&&$.push(K)):R||ee.push(!1):ec(j.categories,K)>-1?(q.checked=!0,R||ee.push(!0)):R||ee.push(!1),R||et.push(K),v.readonly&&(q.disabled=!0,eT(B,"c-ro"),R||er.push(K)),eT(T,"b-acc"),eT(x,"b-bn"),eT(E,"b-ex"),T.id=S,T.setAttribute("aria-hidden","true"),V.appendChild(q),V.appendChild(B),V.appendChild(Q),x.appendChild(V),_&&function(e,t,r){e_(F,"click",function(){ex(t,"act")?(ew(t,"act"),r.setAttribute("aria-expanded","false"),e.setAttribute("aria-hidden","true")):(eT(t,"act"),r.setAttribute("aria-expanded","true"),e.setAttribute("aria-hidden","false"))},!1)}(T,E,F)}else if(p){var G=eh("div");G.className="b-tl",G.setAttribute("role","heading"),G.setAttribute("aria-level","3"),G.insertAdjacentHTML("beforeend",p),x.appendChild(G)}if(p&&E.appendChild(x),m&&T.appendChild(w),!b&&void 0!==y){for(var Y=document.createDocumentFragment(),X=0;X<u.length;++X){var J=eh("th"),Z=u[X];if(J.setAttribute("scope","col"),Z){var en=Z&&eE(Z)[0];J.textContent=u[X][en],Y.appendChild(J)}}var ei=eh("tr");ei.appendChild(Y);var eo=eh("thead");eo.appendChild(ei);var ea=eh("table");if(h){var es=eh("caption");es.innerHTML=h,ea.appendChild(es)}ea.appendChild(eo);for(var el=document.createDocumentFragment(),eu=0;eu<y.length;eu++){for(var ed=eh("tr"),ef=0;ef<u.length;++ef)if(Z=u[ef]){en=eE(Z)[0];var ep=eh("td");ep.insertAdjacentHTML("beforeend",y[eu][en]),ep.setAttribute("data-column",Z[en]),ed.appendChild(ep)}el.appendChild(ed)}var em=eh("tbody");em.appendChild(el),ea.appendChild(em),T.appendChild(ea)}(v&&p||!v&&(p||m))&&(E.appendChild(T),R?R.appendChild(E):D.appendChild(E))}P||((P=eh("div")).id="s-bns"),I||((I=eh("button")).id="s-all-bn",I.className="c-bn",P.appendChild(I),e_(I,"click",function(){L.accept("all"),L.hideSettings(),L.hide()})),I.innerHTML=l.accept_all_btn;var ev=l.reject_all_btn;if(ev&&(M||((M=eh("button")).id="s-rall-bn",M.className="c-bn",e_(M,"click",function(){L.accept([]),L.hideSettings(),L.hide()}),O.className="bns-t",P.appendChild(M)),M.innerHTML=ev),N||((N=eh("button")).id="s-sv-bn",N.className="c-bn",P.appendChild(N),e_(N,"click",function(){L.accept(),L.hideSettings(),L.hide()})),N.innerHTML=l.save_settings_btn,R)return O.replaceChild(R,D),void(D=R);o.appendChild(C),o.appendChild(a),O.appendChild(o),O.appendChild(D),O.appendChild(P),i.appendChild(O),n.appendChild(i),r.appendChild(n),k.appendChild(r),g.appendChild(k),g.appendChild(s)};L.updateLanguage=function(e,r){if("string"==typeof e){var n=ea(e,t.languages);return(n!==F.current_lang||!0===r)&&(F.current_lang=n,q&&es(n),el(n),!0)}};var eu=function(e){var t=c.length,r=-1;K=!1;var n=eg("","all"),i=[F.cookie_domain,"."+F.cookie_domain];if("www."===F.cookie_domain.slice(0,4)){var o=F.cookie_domain.substr(4);i.push(o),i.push("."+o)}for(var a=0;a<t;a++){var s=c[a];if(s.hasOwnProperty("toggle")){var l=ec(H,s.toggle.value)>-1;if(!ee[++r]&&s.hasOwnProperty("cookie_table")&&(e||l)){var h=s.cookie_table,d=eE(u[0])[0],f=h.length;"on_disable"===s.toggle.reload&&l&&(K=!0);for(var p=0;p<f;p++){var m=i,v=h[p],y=[],g=v[d],b=v.is_regex||!1,_=v.domain||null,E=v.path||!1;if(_&&(m=[_,"."+_]),b)for(var T=0;T<n.length;T++)n[T].match(g)&&y.push(n[T]);else{var w=ec(n,g);w>-1&&y.push(n[w])}y.length>0&&(eb(y,E,m),"on_clear"===s.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"===F.auto_language?ea(ef(),e):"document"===F.auto_language?ea(document.documentElement.lang,e):"string"==typeof t?F.current_lang=ea(t,e):(F.current_lang,F.current_lang)},ef=function(){var e=navigator.language||navigator.browserLanguage;return e.length>2&&(e=e[0]+e[1]),e.toLowerCase()};L.allowedCategory=function(e){if(U&&"opt-in"!==F.mode)t=$;else var t=JSON.parse(eg(F.cookie_name,"one",!0)||"{}").categories||[];return ec(t,e)>-1},L.run=function(t){if(!document.getElementById("cc_div")&&(ei(t),!X)){var s,l=void 0!==(i=(j=JSON.parse(eg(F.cookie_name,"one",!0)||"{}")).consent_uuid);if((r=j.consent_date)&&(r=new Date(r)),(n=j.last_consent_update)&&(n=new Date(n)),V=void 0!==j.data?j.data:null,Q&&j.revision!==F.revision&&(W=!1),q=U=!(l&&W&&r&&n&&i),(y=eh("div")).id="cc--main",y.style.position="fixed",y.innerHTML='<div id="cc_div" class="cc_div"></div>',g=y.children[0],s=F.current_lang,q&&es(s),el(s),(e||document.body).appendChild(y),function(){var e=["[href]","button","input","details",'[tabindex="0"]'];function t(t,r){var n=!1,i=!1;try{for(var o,a=t.querySelectorAll(e.join(':not([tabindex="-1"]), ')),s=a.length,l=0;l<s;)o=a[l].getAttribute("data-focus"),i||"1"!==o?"0"===o&&(n=a[l],i||"0"===a[l+1].getAttribute("data-focus")||(i=a[l+1])):i=a[l],l++}catch(r){return t.querySelectorAll(e.join(", "))}r[0]=a[0],r[1]=a[a.length-1],r[2]=n,r[3]=i}t(O,Z),q&&t(b,J)}(),function(e,t){if("object"==typeof e){var r=e.consent_modal,n=e.settings_modal;q&&r&&i(b,["box","bar","cloud"],["top","middle","bottom"],["zoom","slide"],r.layout,r.position,r.transition),n&&i(k,["bar"],["left","right"],["zoom","slide"],n.layout,n.position,n.transition)}function i(e,t,r,n,i,o,a){if(o=o&&o.split(" ")||[],ec(t,i)>-1&&(eT(e,i),("bar"!==i||"middle"!==o[0])&&ec(r,o[0])>-1))for(var s=0;s<o.length;s++)eT(e,o[s]);ec(n,a)>-1&&eT(e,a)}}(t.gui_options),eo(),F.autorun&&q&&L.show(t.delay||0),setTimeout(function(){eT(y,"c--anim")}
1,30),setTimeout(function(){e_(document,"keydown",function(e){if("Tab"===e.key&&(B||z)&&o){var t=eC();e.shiftKey?t!==o[0]&&a.contains(t)||(e.preventDefault(),ek(o[1])):t!==o[1]&&a.contains(t)||(e.preventDefault(),ek(o[0]))}})},100),U)"opt-out"===F.mode&&(F.mode,ep($));else{var u="boolean"==typeof j.rfc_cookie;(!u||u&&j.rfc_cookie!==F.use_rfc_cookie)&&(j.rfc_cookie=F.use_rfc_cookie,ey(F.cookie_name,JSON.stringify(j))),p=ev(em()),ep(),"function"==typeof h&&h(j)}}};var ep=function(e){if(F.page_scripts){var t=document.querySelectorAll("script["+F.script_selector+"]"),r=e||j.categories||[],n=function(e,t){if(t<e.length){var i=e[t];if(ec(r,i.getAttribute(F.script_selector))>-1){i.type=i.getAttribute("data-type")||"text/javascript",i.removeAttribute(F.script_selector);var o=i.getAttribute("data-src");o&&i.removeAttribute("data-src");var a=eh("script");if(a.textContent=i.innerHTML,function(e,t){for(var r=t.attributes,n=r.length,i=0;i<n;i++){var o=r[i].nodeName;e.setAttribute(o,t[o]||t.getAttribute(o))}}(a,i),o?a.src=o:o=i.src,o&&(a.readyState?a.onreadystatechange=function(){"loaded"!==a.readyState&&"complete"!==a.readyState||(a.onreadystatechange=null,n(e,++t))}:a.onload=function(){a.onload=null,n(e,++t)}),i.parentNode.replaceChild(a,i),o)return}n(e,++t)}};n(t,0)}};L.set=function(e,t){return"data"===e&&function(e,t){var r=!1;if("update"===t){var n=typeof(V=L.get("data"))==typeof e;if(n&&"object"==typeof V)for(var i in V||(V={}),e)V[i]!==e[i]&&(V[i]=e[i],r=!0);else!n&&V||V===e||(V=e,r=!0)}else V=e,r=!0;return r&&(j.data=V,ey(F.cookie_name,JSON.stringify(j))),r}(t.value,t.mode)},L.get=function(e,t){return JSON.parse(eg(t||F.cookie_name,"one",!0)||"{}")[e]},L.getConfig=function(e){return F[e]||t[e]};var em=function(){return G=j.categories||[],Y=et.filter(function(e){return -1===ec(G,e)}),{accepted:G,rejected:Y}},ev=function(e){var t="custom",r=er.length;return e.accepted.length===et.length?t="all":e.accepted.length===r&&(t="necessary"),t};L.getUserPreferences=function(){var e=em();return{accept_type:ev(e),accepted_categories:e.accepted,rejected_categories:e.rejected}},L.loadScript=function(e,t,r){var n="function"==typeof t;if(document.querySelector('script[src="'+e+'"]'))n&&t();else{var i=eh("script");if(r&&r.length>0)for(var o=0;o<r.length;++o)r[o]&&i.setAttribute(r[o].name,r[o].value);n&&(i.onload=t),i.src=e,document.head.appendChild(i)}},L.updateScripts=function(){ep()},L.show=function(e,t){!0===t&&es(F.current_lang),q&&(m=eC(),o=J,a=b,B=!0,b.removeAttribute("aria-hidden"),setTimeout(function(){eT(en,"show--consent")},e>0?e:30*!!t))},L.hide=function(){q&&(B=!1,ek(s),b.setAttribute("aria-hidden","true"),ew(en,"show--consent"),ek(m),m=null)},L.showSettings=function(e){z=!0,k.removeAttribute("aria-hidden"),B?v=eC():m=eC(),a=k,o=Z,setTimeout(function(){eT(en,"show--settings")},e>0?e:0)},L.hideSettings=function(){z=!1,eO(),ek(l),k.setAttribute("aria-hidden","true"),ew(en,"show--settings"),B?(ek(v),v=null,a=b,o=J):(ek(m),m=null)},L.accept=function(e,t){var o=e||void 0,a=t||[],s=[];if(o)if("object"==typeof o&&"number"==typeof o.length)for(var l=0;l<o.length;l++)-1!==ec(et,o[l])&&s.push(o[l]);else"string"==typeof o&&("all"===o?s=et.slice():-1!==ec(et,o)&&s.push(o));else s=function(){for(var e=document.querySelectorAll(".c-tgl")||[],t=[],r=0;r<e.length;r++)e[r].checked&&t.push(e[r].value);return t}();if(a.length>=1)for(l=0;l<a.length;l++)s=s.filter(function(e){return e!==a[l]});for(l=0;l<et.length;l++)!0===er.includes(et[l])&&-1===ec(s,et[l])&&s.push(et[l]);var u=s;H=[];var c=k.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]||(H.push(et[m]),ee[m]=!0)):(c[m].checked=!1,ee[m]&&(H.push(et[m]),ee[m]=!1));!U&&F.autoclear_cookies&&H.length>0&&eu(),r||(r=new Date),i||(i="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""}})),j={categories:u,level:u,revision:F.revision,data:V,rfc_cookie:F.use_rfc_cookie,consent_date:r.toISOString(),consent_uuid:i},(U||H.length>0)&&(W=!0,n=n?new Date:r,j.last_consent_update=n.toISOString(),p=ev(em()),ey(F.cookie_name,JSON.stringify(j)),ep()),U&&(F.autoclear_cookies&&eu(!0),"function"==typeof f&&f(L.getUserPreferences(),j),"function"==typeof h&&h(j),U=!1,"opt-in"===F.mode)||("function"==typeof d&&H.length>0&&d(j,H),K&&location.reload())},L.eraseCookies=function(e,t,r){var n=[],i=r?[r,"."+r]:[F.cookie_domain,"."+F.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);
1eb(n,t,i)};var ey=function(e,t){var r=F.cookie_expiration;"number"==typeof F.cookie_necessary_only_expiration&&"necessary"===p&&(r=F.cookie_necessary_only_expiration),t=F.use_rfc_cookie?encodeURIComponent(t):t;var n=new Date;n.setTime(n.getTime()+24*r*36e5);var i=e+"="+(t||"")+"; expires="+n.toUTCString()+"; Path="+F.cookie_path+";";i+=" SameSite="+F.cookie_same_site+";",location.hostname.indexOf(".")>-1&&F.cookie_domain&&(i+=" Domain="+F.cookie_domain+";"),"https:"===location.protocol&&(i+=" Secure;"),document.cookie=i},eg=function(e,t,r){var n;if("one"===t){if((n=(n=document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)"))?r?n.pop():e:"")&&e===F.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 i=document.cookie.split(/;\s*/);n=[];for(var o=0;o<i.length;o++)n.push(i[o].split("=")[0])}return n},eb=function(e,t,r){for(var n=t||"/",i=0;i<e.length;i++){for(var o=0;o<r.length;o++)document.cookie=e[i]+"=; path="+n+(0==r[o].indexOf(".")?"; domain="+r[o]:"")+"; Expires=Thu, 01 Jan 1970 00:00:01 GMT;";e[i]}};L.validCookie=function(e){return""!==eg(e,"one",!0)};var e_=function(e,t,r,n){e.addEventListener(t,r,!0===n&&{passive:!0})},eE=function(e){if("object"==typeof e)return Object.keys(e)},eT=function(e,t){e.classList.add(t)},ew=function(e,t){e.classList.remove(t)},ex=function(e,t){return e.classList.contains(t)},eS=function(e){var t=eh("span");return t.tabIndex=-1,1===e?s=t:l=t,t},ek=function(e){e&&e instanceof HTMLElement&&e.focus()},eO=function(){for(var e=O.querySelectorAll(".c-tgl"),t=0;t<e.length;t++){var r=e[t].value,n=er.includes(r);e[t].checked=n||L.allowedCategory(r)}},eC=function(){return document.activeElement};return L})}()},7430:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ServerInsertedHTMLContext:function(){return i},useServerInsertedHTML:function(){return o}});let n=r(88365)._(r(14232)),i=n.default.createContext(null);function o(e){let t=(0,n.useContext)(i);t&&t(e)}},7743:(e,t,r)=>{"use strict";function n(e){return 9===e||32===e}function i(e){return e>=48&&e<=57}function o(e){return e>=97&&e<=122||e>=65&&e<=90}function a(e){return o(e)||95===e}function s(e){return o(e)||i(e)||95===e}r.d(t,{i0:()=>n,un:()=>a,xr:()=>s,yp:()=>i})},8472:(e,t,r)=>{"use strict";r.d(t,{S:()=>a});var n=r(20095),i=r(15072),o=r(22337);function a(e){return new o.C(function(t,r){return new i.c(function(n){var i,o,a;try{i=r(t).subscribe({next:function(i){if(i.errors&&(a=e({graphQLErrors:i.errors,response:i,operation:t,forward:r}))){o=a.subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)});return}n.next(i)},error:function(i){if(a=e({operation:t,networkError:i,graphQLErrors:i&&i.result&&i.result.errors||void 0,forward:r})){o=a.subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)});return}n.error(i)},complete:function(){a||n.complete.bind(n)()}})}catch(i){e({networkError:i,operation:t,forward:r}),n.error(i)}return function(){i&&i.unsubscribe(),o&&i.unsubscribe()}})})}!function(e){function t(t){var r=e.call(this)||this;return r.link=a(t),r}(0,n.C6)(t,e),t.prototype.request=function(e,t){return this.link.request(e,t)}}(o.C)},10510:(e,t)=>{"use strict";function r(e){let{widthInt:t,heightInt:r,blurWidth:n,blurHeight:i,blurDataURL:o,objectFit:a}=e,s=n?40*n:t,l=i?40*i:r,u=s&&l?"viewBox='0 0 "+s+" "+l+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+u+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(u?"none":"contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+o+"'/%3E%3C/svg%3E"}
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},10916:(e,t,r)=>{"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}}),r(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,r)=>{e.exports=window.DOMPurify||(window.DOMPurify=r(18270).default||r(18270))},14e3:(e,t,r)=>{e.exports=r(94397)},15072:(e,t,r)=>{"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t,r){return t&&i(e.prototype,t),r&&i(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}r.d(t,{c:()=>T});var a=function(){return"function"==typeof Symbol},s=function(e){return a()&&!!Symbol[e]},l=function(e){return s(e)?Symbol[e]:"@@"+e};a()&&!s("observable")&&(Symbol.observable=Symbol("observable"));var u=l("iterator"),c=l("observable"),h=l("species");function d(e,t){var r=e[t];if(null!=r){if("function"!=typeof r)throw TypeError(r+" is not a function");return r}}function f(e){var t=e.constructor;return void 0!==t&&null===(t=t[h])&&(t=void 0),void 0!==t?t:T}function p(e){p.log?p.log(e):setTimeout(function(){throw e})}function m(e){Promise.resolve().then(function(){try{e()}catch(e){p(e)}})}function v(e){var t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{var r=d(t,"unsubscribe");r&&r.call(t)}}catch(e){p(e)}}function y(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function g(e,t,r){e._state="running";var n=e._observer;try{var i=d(n,t);switch(t){case"next":i&&i.call(n,r);break;case"error":if(y(e),i)i.call(n,r);else throw r;break;case"complete":y(e),i&&i.call(n)}}catch(e){p(e)}"closed"===e._state?v(e):"running"===e._state&&(e._state="ready")}function b(e,t,r){if("closed"!==e._state){if("buffering"===e._state)return void e._queue.push({type:t,value:r});if("ready"!==e._state){e._state="buffering",e._queue=[{type:t,value:r}],m(function(){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var r=0;r<t.length&&(g(e,t[r].type,t[r].value),"closed"!==e._state);++r);}});return}g(e,t,r)}}var _=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var r=new E(this);try{this._cleanup=t.call(void 0,r)}catch(e){r.error(e)}"initializing"===this._state&&(this._state="ready")}return e.prototype.unsubscribe=function(){"closed"!==this._state&&(y(this),v(this))},o(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),E=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){b(this._subscription,"next",e)},t.error=function(e){b(this._subscription,"error",e)},t.complete=function(){b(this._subscription,"complete")},o(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),T=function(){function e(t){if(!(this instanceof e))throw TypeError("Observable cannot be called as a function");if("function"!=typeof t)throw TypeError("Observable initializer must be a function");this._subscriber=t}var t=e.prototype;return t.subscribe=function(e){return("object"!=typeof e||null===e)&&(e={next:e,error:arguments[1],complete:arguments[2]}),new _(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise(function(r,n){if("function"!=typeof e)return void n(TypeError(e+" is not a function"));function i(){o.unsubscribe(),r()}var o=t.subscribe({next:function(t){try{e(t,i)}catch(e){n(e),o.unsubscribe()}},error:n,complete:r})})},t.map=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(f(this))(function(r){return t.subscribe({next:function(t){try{t=e(t)}catch(e){return r.error(e)}r.next(t)},error:function(e){r.error(e)},complete:function(){r.complete()}})})},t.filter=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(f(this))(function(r){return t.subscribe({next:function(t){try{if(!e(t))return}catch(e){return r.error(e)}r.next(t)},error:function(e){r.error(e)},complete:function(){r.complete()}})})},t.reduce=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var r=f(this),n=arguments.length>1,i=!1,o=arguments[1],a=o;return new r(function(r){return t.subscribe({next:function(t){var o=!i;if(i=!0,!o||n)try{a=e(a,t)}catch(e){return r.error(e)}else a=t},error:function(e){r.error(e)},complete:function(){if(!i&&!n)return r.error(TypeError("Cannot reduce an empty sequence"));r.next(a),r.complete()}})})},t.concat=function(){for(var e=this,t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=f(this);return new i(function(t){var n,o=0;return!function e(a){n=a.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){o===r.length?(n=void 0,t.complete()):e(i.from(r[o++]
1))}})}(e),function(){n&&(n.unsubscribe(),n=void 0)}})},t.flatMap=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var r=f(this);return new r(function(n){var i=[],o=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(e){return n.error(e)}var o=r.from(t).subscribe({next:function(e){n.next(e)},error:function(e){n.error(e)},complete:function(){var e=i.indexOf(o);e>=0&&i.splice(e,1),a()}});i.push(o)},error:function(e){n.error(e)},complete:function(){a()}});function a(){o.closed&&0===i.length&&n.complete()}return function(){i.forEach(function(e){return e.unsubscribe()}),o.unsubscribe()}})},t[c]=function(){return this},e.from=function(t){var r="function"==typeof this?this:e;if(null==t)throw TypeError(t+" is not an object");var i=d(t,c);if(i){var o=i.call(t);if(Object(o)!==o)throw TypeError(o+" is not an object");return o instanceof T&&o.constructor===r?o:new r(function(e){return o.subscribe(e)})}if(s("iterator")&&(i=d(t,u)))return new r(function(e){m(function(){if(!e.closed){for(var r,o=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return n(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}}(e))){r&&(e=r);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(i.call(t));!(r=o()).done;){var a=r.value;if(e.next(a),e.closed)return}e.complete()}})});if(Array.isArray(t))return new r(function(e){m(function(){if(!e.closed){for(var r=0;r<t.length;++r)if(e.next(t[r]),e.closed)return;e.complete()}})});throw TypeError(t+" is not observable")},e.of=function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return new("function"==typeof this?this:e)(function(e){m(function(){if(!e.closed){for(var t=0;t<r.length;++t)if(e.next(r[t]),e.closed)return;e.complete()}})})},o(e,null,[{key:h,get:function(){return this}}]),e}();a()&&Object.defineProperty(T,Symbol("extensions"),{value:{symbol:c,hostReportError:p},configurable:!0})},17070:(e,t,r)=>{"use strict";r.d(t,{D_:()=>a,cM:()=>l,ep:()=>s,tQ:()=>u});var n=r(20095),i=r(80593),o={};function a(e,t){o[e]=t}var s=!1!==globalThis.__DEV__?function(){var e,t,r,a,s;if(!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],r=e[1];return[t,i.v[t]||r]})),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==(r=o.canonicalStringify)?void 0:r.call(o),links:function e(t){var r;return t?(0,n.fX)((0,n.fX)([null==(r=null==t?void 0:t.getMemoryInternals)?void 0:r.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:f(this.queryManager.documentTransform)}},null==(s=(a=this.cache).getMemoryInternals)?void 0:s.call(a))}}:void 0,l=!1!==globalThis.__DEV__?function(){var e=this.config.fragments;return(0,n.Cl)((0,n.Cl)({},c.apply(this)),{addTypenameDocumentTransform:f(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 f(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,r)=>{"use strict";r.d(t,{Sf:()=>p,V1:()=>y,no:()=>f,vA:()=>g});
1var n=r(20095),i="Invariant Violation",o=Object.setPrototypeOf,a=void 0===o?function(e,t){return e.__proto__=t,e}:o,s=function(e){function t(r){void 0===r&&(r=i);var n=e.call(this,"number"==typeof r?i+": "+r+" (see https://github.com/apollographql/invariant-packages)":r)||this;return n.framesToPop=1,n.name=i,a(n,t.prototype),n}return(0,n.C6)(t,e),t}(Error);function l(e,t){if(!e)throw new s(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=r(84918);function f(e){try{return e()}catch(e){}}let p=f(function(){return globalThis})||f(function(){return window})||f(function(){return self})||f(function(){return global})||f(function(){return f.constructor("return this")()});var m=r(62091);function v(e){return function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];if("number"==typeof t){var i=t;(t=E(i))||(t=T(i,r),r=[])}e.apply(void 0,[t].concat(r))}}var y=Object.assign(function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];e||l(e,E(t,r)||T(t,r))},{debug:v(l.debug),log:v(l.log),warn:v(l.warn),error:v(l.error)});function g(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return new s(E(e,t)||T(e,t))}var b=Symbol.for("ApolloErrorMessageHandler_"+d.r);function _(e){if("string"==typeof e)return e;try{return(0,m.p)(e,2).slice(0,1e3)}catch(e){return"<non-serializable>"}}function E(e,t){if(void 0===t&&(t=[]),e)return p[b]&&p[b](e,t.map(_))}function T(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(_)})))}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,r){return(t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,r)}function r(e,n,i){return(r=!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,r,n){var i=[null];i.push.apply(i,r);var o=new(Function.bind.apply(e,i));return n&&t(o,n.prototype),o}:Reflect.construct).apply(null,arguments)}function n(e){return function(e){if(Array.isArray(e))return i(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 i(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(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 i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var o,a=Object.hasOwnProperty,s=Object.setPrototypeOf,l=Object.isFrozen,u=Object.getPrototypeOf,c=Object.getOwnPropertyDescriptor,h=Object.freeze,d=Object.seal,f=Object.create,p="undefined"!=typeof Reflect&&Reflect,m=p.apply,v=p.construct;m||(m=function(e,t,r){return e.apply(t,r)}),h||(h=function(e){return e}),d||(d=function(e){return e}),v||(v=function(e,t){return r(e,n(t))});var y=C(Array.prototype.forEach),g=C(Array.prototype.pop),b=C(Array.prototype.push),_=C(String.prototype.toLowerCase),E=C(String.prototype.toString),T=C(String.prototype.match),w=C(String.prototype.replace),x=C(String.prototype.indexOf),S=C(String.prototype.trim),k=C(RegExp.prototype.test),O=(o=TypeError,function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return v(o,t)}
1);function C(e){return function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return m(e,t,n)}}function A(e,t,r){r=null!=(n=r)?n:_,s&&s(e,null);for(var n,i=t.length;i--;){var o=t[i];if("string"==typeof o){var a=r(o);a!==o&&(l(t)||(t[i]=a),o=a)}e[o]=!0}return e}function D(e){var t,r=f(null);for(t in e)!0===m(a,e,[t])&&(r[t]=e[t]);return r}function R(e,t){for(;null!==e;){var r=c(e,t);if(r){if(r.get)return C(r.get);if("function"==typeof r.value)return C(r.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"]),N=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"]),F=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"]),L=h(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),j=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","spellcheck","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"]),q=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","
1subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),B=h(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),z=d(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Q=d(/<%[\w\W]*|[\w\W]*%>/gm),W=d(/\${[\w\W]*}/gm),H=d(/^data-[\-\w.\u00B7-\uFFFF]+$/),K=d(/^aria-[\-\w]+$/),G=d(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Y=d(/^(?:\w+script|data):/i),$=d(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),X=d(/^html$/i),J=d(/^[a-z][.\w]*(-[.\w]+)+$/i),Z=function(t,r){if("object"!==e(t)||"function"!=typeof t.createPolicy)return null;var n=null,i="data-tt-policy-suffix";r.currentScript&&r.currentScript.hasAttribute(i)&&(n=r.currentScript.getAttribute(i));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 r,i,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,a=function(e){return t(e)};if(a.version="2.5.8",a.removed=[],!o||!o.document||9!==o.document.nodeType)return a.isSupported=!1,a;var s=o.document,l=o.document,u=o.DocumentFragment,c=o.HTMLTemplateElement,d=o.Node,f=o.Element,p=o.NodeFilter,m=o.NamedNodeMap,v=void 0===m?o.NamedNodeMap||o.MozNamedAttrMap:m,C=o.HTMLFormElement,ee=o.DOMParser,et=o.trustedTypes,er=f.prototype,en=R(er,"cloneNode"),ei=R(er,"nextSibling"),eo=R(er,"childNodes"),ea=R(er,"parentNode");if("function"==typeof c){var es=l.createElement("template");es.content&&es.content.ownerDocument&&(l=es.content.ownerDocument)}var el=Z(et,s),eu=el?el.createHTML(""):"",ec=l,eh=ec.implementation,ed=ec.createNodeIterator,ef=ec.createDocumentFragment,ep=ec.getElementsByTagName,em=s.importNode,ev={};try{ev=D(l).documentMode?l.documentMode:{}}catch(e){}var ey={};a.isSupported="function"==typeof ea&&eh&&void 0!==eh.createHTMLDocument&&9!==ev;var eg=G,eb=null,e_=A({},[].concat(n(P),n(N),n(I),n(F),n(j))),eE=null,eT=A({},[].concat(n(V),n(U),n(q),n(B))),ew=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}})),ex=null,eS=null,ek=!0,eO=!0,eC=!1,eA=!0,eD=!1,eR=!0,eP=!1,eN=!1,eI=!1,eM=!1,eF=!1,eL=!1,ej=!0,eV=!1,eU=!0,eq=!1,eB={},ez=null,eQ=A({},["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,eH=A({},["audio","video","img","source","image","track"]),eK=null,eG=A({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),eY="http://www.w3.org/1998/Math/MathML",e$="http://www.w3.org/2000/svg",eX="http://www.w3.org/1999/xhtml",eJ=eX,eZ=!1,e0=null,e1=A({},[eY,e$,eX],E),e2=["application/xhtml+xml","text/html"],e3=null,e5=l.createElement("form"),e8=function(e){return e instanceof RegExp||e instanceof Function},e9=function(t){e3&&e3===t||(t&&"object"===e(t)||(t={}),t=D(t),i="application/xhtml+xml"===(r=r=-1===e2.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE)?E:_,eb="ALLOWED_TAGS"in t?A({},t.ALLOWED_TAGS,i):e_,eE="ALLOWED_ATTR"in t?A({},t.ALLOWED_ATTR,i):eT,e0="ALLOWED_NAMESPACES"in t?A({},t.ALLOWED_NAMESPACES,E):e1,eK="ADD_URI_SAFE_ATTR"in t?A(D(eG),t.ADD_URI_SAFE_ATTR,i):eG,eW="ADD_DATA_URI_TAGS"in t?A(D(eH),t.ADD_DATA_URI_TAGS,i):eH,ez="FORBID_CONTENTS"in t?A({},t.FORBID_CONTENTS,i):eQ,ex="FORBID_TAGS"in t?A({},t.FORBID_TAGS,i):{},eS="FORBID_ATTR"in t?A({},t.FORBID_ATTR,i):{},eB="USE_PROFILES"in t&&t.USE_PROFILES,ek=!1!==t.ALLOW_ARIA_ATTR,eO=!1!==t.ALLOW_DATA_ATTR,eC=t.ALLOW_UNKNOWN_PROTOCOLS||!1,eA=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,eD=t.SAFE_FOR_TEMPLATES||!1,eR=!1!==t.SAFE_FOR_XML,eP=t.WHOLE_DOCUMENT||!1,eM=t.RETURN_DOM||!1,eF=t.RETURN_DOM_FRAGMENT||!1,eL=t.RETURN_TRUSTED_TYPE||!1,eI=t.FORCE_BODY||!1,ej=!1!==t.SANITIZE_DOM,eV=t.SANITIZE_NAMED_PROPS||!1,eU=!1!==t.KEEP_CONTENT,eq=t.IN_PLACE||!1,eg=t.ALLOWED_URI_REGEXP||eg,eJ=t.NAMESPACE||eX,ew=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&e8(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ew.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&e8(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ew.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(ew.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),eD&&(eO=!1),eF&&(eM=!0),eB&&(eb=A({}
1,n(j)),eE=[],!0===eB.html&&(A(eb,P),A(eE,V)),!0===eB.svg&&(A(eb,N),A(eE,U),A(eE,B)),!0===eB.svgFilters&&(A(eb,I),A(eE,U),A(eE,B)),!0===eB.mathMl&&(A(eb,F),A(eE,q),A(eE,B))),t.ADD_TAGS&&(eb===e_&&(eb=D(eb)),A(eb,t.ADD_TAGS,i)),t.ADD_ATTR&&(eE===eT&&(eE=D(eE)),A(eE,t.ADD_ATTR,i)),t.ADD_URI_SAFE_ATTR&&A(eK,t.ADD_URI_SAFE_ATTR,i),t.FORBID_CONTENTS&&(ez===eQ&&(ez=D(ez)),A(ez,t.FORBID_CONTENTS,i)),eU&&(eb["#text"]=!0),eP&&A(eb,["html","head","body"]),eb.table&&(A(eb,["tbody"]),delete ex.tbody),h&&h(t),e3=t)},e4=A({},["mi","mo","mn","ms","mtext"]),e6=A({},["annotation-xml"]),e7=A({},["title","style","font","a","script"]),te=A({},N);A(te,I),A(te,M);var tt=A({},F);A(tt,L);var tr=function(e){var t=ea(e);t&&t.tagName||(t={namespaceURI:eJ,tagName:"template"});var n=_(e.tagName),i=_(t.tagName);return!!e0[e.namespaceURI]&&(e.namespaceURI===e$?t.namespaceURI===eX?"svg"===n:t.namespaceURI===eY?"svg"===n&&("annotation-xml"===i||e4[i]):!!te[n]:e.namespaceURI===eY?t.namespaceURI===eX?"math"===n:t.namespaceURI===e$?"math"===n&&e6[i]:!!tt[n]:e.namespaceURI===eX?(t.namespaceURI!==e$||!!e6[i])&&(t.namespaceURI!==eY||!!e4[i])&&!tt[n]&&(e7[n]||!te[n]):"application/xhtml+xml"===r&&!!e0[e.namespaceURI])},tn=function(e){b(a.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=eu}catch(t){e.remove()}}},ti=function(e,t){try{b(a.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){b(a.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!eE[e])if(eM||eF)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,i=T(e,/^[\r\n\t ]+/);n=i&&i[0]}"application/xhtml+xml"===r&&eJ===eX&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var o=el?el.createHTML(e):e;if(eJ===eX)try{t=new ee().parseFromString(o,r)}catch(e){}if(!t||!t.documentElement){t=eh.createDocument(eJ,"template",null);try{t.documentElement.innerHTML=eZ?eu:o}catch(e){}}var a=t.body||t.documentElement;return(e&&n&&a.insertBefore(l.createTextNode(n),a.childNodes[0]||null),eJ===eX)?ep.call(t,eP?"html":"body")[0]:eP?t.documentElement:a},ta=function(e){return ed.call(e.ownerDocument||e,e,p.SHOW_ELEMENT|p.SHOW_COMMENT|p.SHOW_TEXT|p.SHOW_PROCESSING_INSTRUCTION|p.SHOW_CDATA_SECTION,null,!1)},ts=function(e){return e instanceof C&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof v)||"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,r){ey[e]&&y(ey[e],function(e){e.call(a,t,r,e3)})},tc=function(e){if(tu("beforeSanitizeElements",e,null),ts(e)||k(/[\u0080-\uFFFF]/,e.nodeName))return tn(e),!0;var t,r=i(e.nodeName);if(tu("uponSanitizeElement",e,{tagName:r,allowedTags:eb}),e.hasChildNodes()&&!tl(e.firstElementChild)&&(!tl(e.content)||!tl(e.content.firstElementChild))&&k(/<[/\w]/g,e.innerHTML)&&k(/<[/\w]/g,e.textContent)||"select"===r&&k(/<template/i,e.innerHTML)||7===e.nodeType||eR&&8===e.nodeType&&k(/<[/\w]/g,e.data))return tn(e),!0;if(!eb[r]||ex[r]){if(!ex[r]&&td(r)&&(ew.tagNameCheck instanceof RegExp&&k(ew.tagNameCheck,r)||ew.tagNameCheck instanceof Function&&ew.tagNameCheck(r)))return!1;if(eU&&!ez[r]){var n=ea(e)||e.parentNode,o=eo(e)||e.childNodes;if(o&&n)for(var s=o.length,l=s-1;l>=0;--l){var u=en(o[l],!0);u.__removalCount=(e.__removalCount||0)+1,n.insertBefore(u,ei(e))}}return tn(e),!0}return e instanceof f&&!tr(e)||("noscript"===r||"noembed"===r||"noframes"===r)&&k(/<\/no(script|embed|frames)/i,e.innerHTML)?(tn(e),!0):(eD&&3===e.n
1odeType&&(t=w(t=e.textContent,z," "),t=w(t,Q," "),t=w(t,W," "),e.textContent!==t&&(b(a.removed,{element:e.cloneNode()}),e.textContent=t)),tu("afterSanitizeElements",e,null),!1)},th=function(e,t,r){if(ej&&("id"===t||"name"===t)&&(r in l||r in e5))return!1;if(eO&&!eS[t]&&k(H,t));else if(ek&&k(K,t));else if(!eE[t]||eS[t]){if(!(td(e)&&(ew.tagNameCheck instanceof RegExp&&k(ew.tagNameCheck,e)||ew.tagNameCheck instanceof Function&&ew.tagNameCheck(e))&&(ew.attributeNameCheck instanceof RegExp&&k(ew.attributeNameCheck,t)||ew.attributeNameCheck instanceof Function&&ew.attributeNameCheck(t))||"is"===t&&ew.allowCustomizedBuiltInElements&&(ew.tagNameCheck instanceof RegExp&&k(ew.tagNameCheck,r)||ew.tagNameCheck instanceof Function&&ew.tagNameCheck(r))))return!1}else if(eK[t]);else if(k(eg,w(r,$,"")));else if(("src"===t||"xlink:href"===t||"href"===t)&&"script"!==e&&0===x(r,"data:")&&eW[e]);else if(eC&&!k(Y,w(r,$,"")));else if(r)return!1;return!0},td=function(e){return"annotation-xml"!==e&&T(e,J)},tf=function(t){tu("beforeSanitizeAttributes",t,null);var r,n,o,s,l=t.attributes;if(!(!l||ts(t))){var u={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:eE};for(s=l.length;s--;){var c=(r=l[s]).name,h=r.namespaceURI;if(n="value"===c?r.value:S(r.value),u.attrName=o=i(c),u.attrValue=n,u.keepAttr=!0,u.forceKeepAttr=void 0,tu("uponSanitizeAttribute",t,u),n=u.attrValue,!u.forceKeepAttr&&(ti(c,t),u.keepAttr)){if(!eA&&k(/\/>/i,n)){ti(c,t);continue}eD&&(n=w(n,z," "),n=w(n,Q," "),n=w(n,W," "));var d=i(t.nodeName);if(th(d,o,n)){if(eV&&("id"===o||"name"===o)&&(ti(c,t),n="user-content-"+n),eR&&k(/((--!?|])>)|<\/(style|title)/i,n)){ti(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),ts(t)?tn(t):g(a.removed)}catch(e){}}}}tu("afterSanitizeAttributes",t,null)}},tp=function e(t){var r,n=ta(t);for(tu("beforeSanitizeShadowDOM",t,null);r=n.nextNode();)tu("uponSanitizeShadowNode",r,null),tc(r),tf(r),r.content instanceof u&&e(r.content);tu("afterSanitizeShadowDOM",t,null)};return a.sanitize=function(t){var r,n,l,c,h,f=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 O("dirty is not a string, aborting")}else throw O("toString is not a function");if(!a.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(eN||e9(f),a.removed=[],"string"==typeof t&&(eq=!1),eq){if(t.nodeName){var p=i(t.nodeName);if(!eb[p]||ex[p])throw O("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof d)1===(n=(r=to("\x3c!----\x3e")).ownerDocument.importNode(t,!0)).nodeType&&"BODY"===n.nodeName||"HTML"===n.nodeName?r=n:r.appendChild(n);else{if(!eM&&!eD&&!eP&&-1===t.indexOf("<"))return el&&eL?el.createHTML(t):t;if(!(r=to(t)))return eM?null:eL?eu:""}r&&eI&&tn(r.firstChild);for(var m=ta(eq?t:r);l=m.nextNode();)(3!==l.nodeType||l!==c)&&(tc(l),tf(l),l.content instanceof u&&tp(l.content),c=l);if(c=null,eq)return t;if(eM){if(eF)for(h=ef.call(r.ownerDocument);r.firstChild;)h.appendChild(r.firstChild);else h=r;return(eE.shadowroot||eE.shadowrootmod)&&(h=em.call(s,h,!0)),h}var v=eP?r.outerHTML:r.innerHTML;return eP&&eb["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&k(X,r.ownerDocument.doctype.name)&&(v="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+v),eD&&(v=w(v,z," "),v=w(v,Q," "),v=w(v,W," ")),el&&eL?el.createHTML(v):v},a.setConfig=function(e){e9(e),eN=!0},a.clearConfig=function(){e3=null,eN=!1},a.isValidAttribute=function(e,t,r){return e3||e9({}),th(i(e),i(t),r)},a.addHook=function(e,t){"function"==typeof t&&(ey[e]=ey[e]||[],b(ey[e],t))},a.removeHook=function(e){if(ey[e])return g(ey[e])},a.removeHooks=function(e){ey[e]&&(ey[e]=[])},a.removeAllHooks=function(){ey={}},a}()}()},18659:(e,t,r)=>{"use strict";r.d(t,{v:()=>i});var n=new Map;function i(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,r)=>{"use strict";r.d(t,{l:()=>o});var n=r(20095),i=r(79760);function o(e,t){return(0,i.o)(e,t,t.variables&&{variables:(0,i.o)((0,n.Cl)((0,n.Cl)({},e&&e.variables),t.variables))})}},19221:(e,t,r)=>{"use strict";r.d(t,{a:()=>u});var n=r(20095),i=r(20996),o=r(45813),a=r(68922),s=r(71211),l=r(58851);function u(e,t,r,u){var h=t.data,d=(0,n.Tt)(t,["data"]),f=r.data,p=(0,n.Tt)(r,["data"]);return(0,i.A)(d,p)&&function e(t,r,n,o){if(r===n)return!0;var u=new Set;return t.selections.every(function(t){if(u.has(t)||(u.add(t),!(0,s.MS)(t,o.variables)||c(t)))return!0;
1if((0,l.dt)(t)){var h=(0,l.ue)(t),d=r&&r[h],f=n&&n[h],p=t.selectionSet;if(!p)return(0,i.A)(d,f);var m=Array.isArray(d),v=Array.isArray(f);if(m!==v)return!1;if(m&&v){var y=d.length;if(f.length!==y)return!1;for(var g=0;g<y;++g)if(!e(p,d[g],f[g],o))return!1;return!0}return e(p,d,f,o)}var b=(0,a.HQ)(t,o.fragmentMap);if(b)return!!c(b)||e(b.selectionSet,r,n,o)})}((0,o.Vn)(e).selectionSet,h,f,{fragmentMap:(0,a.JG)((0,o.zK)(e)),variables:u})}function c(e){return!!e.directives&&e.directives.some(h)}function h(e){return"nonreactive"===e.name.value}},19975:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unstable_rethrow",{enumerable:!0,get:function(){return function e(t){if((0,i.isNextRouterError)(t)||(0,n.isBailoutToCSRError)(t))throw t;t instanceof Error&&"cause"in t&&e(t.cause)}}});let n=r(66336),i=r(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,r)=>{"use strict";r.d(t,{C6:()=>i,Cl:()=>o,Tt:()=>a,YH:()=>l,fX:()=>u,sH:()=>s});var n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var o=function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function a(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function s(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})}function l(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){var l=[o,s];if(r)throw TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&l[0]?n.return:l[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,l[1])).done)return i;switch(n=0,i&&(l=[2&l[0],i.value]),l[0]){case 0:case 1:i=l;break;case 4:return a.label++,{value:l[1],done:!1};case 5:a.label++,n=l[1],l=[0];continue;case 7:l=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===l[0]||2===l[0])){a=0;continue}if(3===l[0]&&(!i||l[1]>i[0]&&l[1]<i[3])){a.label=l[1];break}if(6===l[0]&&a.label<i[1]){a.label=i[1],i=l;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(l);break}i[2]&&a.ops.pop(),a.trys.pop();continue}l=t.call(e,a)}catch(e){l=[6,e],n=0}finally{r=i=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}}function u(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}Object.create,Object.create},20996:(e,t,r)=>{"use strict";r.d(t,{A:()=>l,L:()=>s});let{toString:n,hasOwnProperty:i}=Object.prototype,o=Function.prototype.toString,a=new Map;function s(e,t){try{return function e(t,r){if(t===r)return!0;let a=n.call(t);if(a!==n.call(r))return!1;switch(a){case"[object Array]":if(t.length!==r.length)break;case"[object Object]":{if(d(t,r))return!0;let n=u(t),o=u(r),a=n.length;if(a!==o.length)return!1;for(let e=0;e<a;++e)if(!i.call(r,n[e]))return!1;for(let i=0;i<a;++i){let o=n[i];if(!e(t[o],r[o]))return!1}return!0}case"[object Error]":return t.name===r.name&&t.message===r.message;case"[object Number]":if(t!=t)return r!=r;case"[object Boolean]":case"[object Date]":return+t==+r;case"[object RegExp]":case"[object String]":return t==`${r}`;case"[object Map]":case"[object Set]":{if(t.size!==r.size)return!1;if(d(t,r))return!0;let n=t.entries(),i="[object Map]"===a;for(;;){let t=n.next();if(t.done)break;let[o,a]=t.value;if(!r.has(o)||i&&!e(a,r.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),r=new Uint8Array(r);case"[object DataView]":{let e=t.byteLength;if(e===r.byteLength)for(;e--&&t[e]===r[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(r))return!1;return!function(e,t){let r=e.length-t.length;return r>=0&&e.indexOf(t,r)===r}(e,h)}}return!1}(e,t)}finally{a.clear()}}let l=s;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 r=a.get(e);if(r){if(r.has(t))return!0}else a.set(e,r=new Set);return r.add(t),!1}},21500:(e,t,r)=>{"use strict";r.d(t,{G:()=>i});var n=r(93957);function i(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(r){(0,n.U)(e[r])&&t.add(e[r])})}),e}},22182:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{UnrecognizedActionError:function(){return r},unstable_isUnrecognizedActionError:function(){return n}});class r extends Error{constructor(...e){super(...e),this.name="UnrecognizedActionError"}}function n(e){return!!(e&&"object"==typeof e&&e instanceof r)}("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)},22337:(e,t,r)=>{"use strict";r.d(t,{C:()=>c});var n=r(17318),i=r(15072),o=r(20095),a=r(45813);function s(e,t){return t?t(e):i.c.of()}function l(e){return"function"==typeof e?new c(e):e}function u(e){return e.request.length<=1}var c=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e(function(){return i.c.of()})},e.from=function(t){return 0===t.length?e.empty():t.map(l).reduce(function(e,t){return e.concat(t)})},e.split=function(t,r,n){var o=l(r),a=l(n||new e(s));return Object.assign(new e(u(o)&&u(a)?function(e){return t(e)?o.request(e)||i.c.of():a.request(e)||i.c.of()}:function(e,r){return t(e)?o.request(e,r)||i.c.of():a.request(e,r)||i.c.of()}),{left:o,right:a})},e.execute=function(e,t){var r,s,l,u,c;return e.request((l=t.context,(s={variables:(r=function(e){for(var t=["query","operationName","variables","extensions","context"],r=0,i=Object.keys(e);r<i.length;r++){var o=i[r];if(0>t.indexOf(o))throw(0,n.vA)(46,o)}return e}(t)).variables||{},extensions:r.extensions||{},operationName:r.operationName,query:r.query}).operationName||(s.operationName="string"!=typeof s.query?(0,a.n4)(s.query)||void 0:""),u=s,c=(0,o.Cl)({},l),Object.defineProperty(u,"setContext",{enumerable:!1,value:function(e){c="function"==typeof e?(0,o.Cl)((0,o.Cl)({},c),e(c)):(0,o.Cl)((0,o.Cl)({},c),e)}}),Object.defineProperty(u,"getContext",{enumerable:!1,value:function(){return(0,o.Cl)({},c)}}),u))||i.c.of()},e.concat=function(t,r){var o=l(t);if(u(o))return!1!==globalThis.__DEV__&&n.V1.warn(38,o),o;var a=l(r);return Object.assign(new e(u(a)?function(e){return o.request(e,function(e){return a.request(e)||i.c.of()})||i.c.of()}:function(e,t){return o.request(e,function(e){return a.request(e,t)||i.c.of()})||i.c.of()}),{left:o,right:a})},e.prototype.split=function(t,r,n){return this.concat(e.split(t,r,n||new e(s)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw(0,n.vA)(39)},e.prototype.onError=function(e,t){if(t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return this.onError=e,this},e}()},23460:(e,t,r)=>{"use strict";let n;function i(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}r.d(t,{P:()=>oe});let o=e=>Array.isArray(e);function a(e,t){if(!Array.isArray(t))return!1;let r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}function s(e){return"string"==typeof e||Array.isArray(e)}function l(e){let t=[{},{}];return null==e||e.values.forEach((e,r)=>{t[0][r]=e.get(),t[1][r]=e.getVelocity()}),t}function u(e,t,r,n){if("function"==typeof t){let[i,o]=l(n);t=t(void 0!==r?r:e.custom,i,o)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[i,o]=l(n);t=t(void 0!==r?r:e.custom,i,o)}return t}function c(e,t,r){let n=e.getProps();return u(n,t,void 0!==r?r:n.custom,e)}let h=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],d=["initial",...h],f=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],p=new Set(f),m=e=>1e3*e,v={type:"spring",stiffness:500,damping:25,restSpeed:10},y={type:"keyframes",duration:.8},g={type:"keyframes",ease:[.25,.1,.35,1],duration:.3};function b(e,t){return e?e[t]||e.default||e:void 0}let _={skipAnimations:!1,useManualTiming:!1},E={current:!1},T=e=>null!==e;function w(e,{repeat:t,repeatType:r="loop"},n){let i=e.filter(T),o=t&&"loop"!==r&&t%2==1?0:i.length-1;return o&&void 0!==n?n:i[o]}let x=e=>e,S=["read","resolveKeyframes","update","preRender","render","postRender"];function k(e,t){let r=!1,n=!0,i={delta:0,timestamp:0,isProcessing:!1},o=()=>r=!0,a=S.reduce((e,t)=>
1(e[t]=function(e){let t=new Set,r=new Set,n=!1,i=!1,o=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1};function s(t){o.has(t)&&(l.schedule(t),e()),t(a)}let l={schedule:(e,i=!1,a=!1)=>{let s=a&&n?t:r;return i&&o.add(e),s.has(e)||s.add(e),e},cancel:e=>{r.delete(e),o.delete(e)},process:e=>{if(a=e,n){i=!0;return}n=!0,[t,r]=[r,t],t.forEach(s),t.clear(),n=!1,i&&(i=!1,l.process(e))}};return l}(o),e),{}),{read:s,resolveKeyframes:l,update:u,preRender:c,render:h,postRender:d}=a,f=()=>{let o=_.useManualTiming?i.timestamp:performance.now();r=!1,i.delta=n?1e3/60:Math.max(Math.min(o-i.timestamp,40),1),i.timestamp=o,i.isProcessing=!0,s.process(i),l.process(i),u.process(i),c.process(i),h.process(i),d.process(i),i.isProcessing=!1,r&&t&&(n=!1,e(f))};return{schedule:S.reduce((t,o)=>{let s=a[o];return t[o]=(t,o=!1,a=!1)=>(!r&&(r=!0,n=!0,i.isProcessing||e(f)),s.schedule(t,o,a)),t},{}),cancel:e=>{for(let t=0;t<S.length;t++)a[S[t]].cancel(e)},state:i,steps:a}}let{schedule:O,cancel:C,state:A,steps:D}=k("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:x,!0),R=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e;function P(e,t,r,n){return e===t&&r===n?x:i=>0===i||1===i?i:R(function(e,t,r,n,i){let o,a,s=0;do(o=R(a=t+(r-t)/2,n,i)-e)>0?r=a:t=a;while(Math.abs(o)>1e-7&&++s<12);return a}(i,0,1,e,r),t,n)}let N=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),F=I(M),L=N(F),j=e=>(e*=2)<1?.5*F(e):.5*(2-Math.pow(2,-10*(e-1))),V=e=>1-Math.sin(Math.acos(e)),U=I(V),q=N(V),B=e=>/^0[^.\s]+$/u.test(e),z=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),Q=e=>t=>"string"==typeof t&&t.startsWith(e),W=Q("--"),H=Q("var(--"),K=e=>!!H(e)&&G.test(e.split("/*")[0].trim()),G=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Y=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,$=(e,t,r)=>r>t?t:r<e?e:r,X={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},J={...X,transform:e=>$(0,1,e)},Z={...X,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"),er=ee("%"),en=ee("px"),ei=ee("vh"),eo=ee("vw"),ea={...er,parse:e=>er.parse(e)/100,transform:e=>er.transform(100*e)},es=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),el=e=>e===X||e===en,eu=(e,t)=>parseFloat(e.split(", ")[t]),ec=(e,t)=>(r,{transform:n})=>{if("none"===n||!n)return 0;let i=n.match(/^matrix3d\((.+)\)$/u);if(i)return eu(i[1],t);{let t=n.match(/^matrix\((.+)\)$/u);return t?eu(t[1],e):0}},eh=new Set(["x","y","z"]),ed=f.filter(e=>!eh.has(e)),ef={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),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)};ef.translateX=ef.x,ef.translateY=ef.y;let ep=e=>t=>t.test(e),em=[X,en,er,et,eo,ei,{test:e=>"auto"===e,parse:e=>e}],ev=e=>em.find(ep(e)),ey=new Set,eg=!1,eb=!1;function e_(){if(eb){let e=Array.from(ey).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),r=new Map;t.forEach(e=>{let t=function(e){let t=[];return ed.forEach(r=>{let n=e.getValue(r);void 0!==n&&(t.push([r,n.get()]),n.set(+!!r.startsWith("scale")))}),t}(e);t.length&&(r.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=r.get(e);t&&t.forEach(([t,r])=>{var n;null==(n=e.getValue(t))||n.set(r)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}eb=!1,eg=!1,ey.forEach(e=>e.complete()),ey.clear()}function eE(){ey.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(eb=!0)})}class eT{constructor(e,t,r,n,i,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=r,this.motionValue=n,this.element=i,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(ey.add(this),eg||(eg=!0,O.read(eE),O.resolveKeyframes(e_))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:r,motionValue:n}=this;for(let i=0;i<e.length;i++)if(null===e[i])if(0===i){let i=null==n?void 0:n.get(),o=e[e.length-1];if(void 0!==i)e[0]=i;else if(r&&t){let n=r.readValue(t,o);null!=n&&(e[0]=n)}void 0===e[0]&&(e[0]=o),n&&void 0===i&&n.set(e[0])}else e[i]=e[i-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),ey.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,ey.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}let ew=e=>Math.round(1e5*e)/1e5,ex=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,eS=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,ek=(e,t)=>r=>!!("string"==typeof r&&eS.test(r)&&r.startsWith(e)||t&&null!=r&&Object.prototype.hasOwnProperty.call(r,t)),eO
1=(e,t,r)=>n=>{if("string"!=typeof n)return n;let[i,o,a,s]=n.match(ex);return{[e]:parseFloat(i),[t]:parseFloat(o),[r]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},eC={...X,transform:e=>Math.round($(0,255,e))},eA={test:ek("rgb","red"),parse:eO("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+eC.transform(e)+", "+eC.transform(t)+", "+eC.transform(r)+", "+ew(J.transform(n))+")"},eD={test:ek("#"),parse:function(e){let t="",r="",n="",i="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),i=e.substring(4,5),t+=t,r+=r,n+=n,i+=i),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:i?parseInt(i,16)/255:1}},transform:eA.transform},eR={test:ek("hsl","hue"),parse:eO("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+er.transform(ew(t))+", "+er.transform(ew(r))+", "+ew(J.transform(n))+")"},eP={test:e=>eA.test(e)||eD.test(e)||eR.test(e),parse:e=>eA.test(e)?eA.parse(e):eR.test(e)?eR.parse(e):eD.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?eA.transform(e):eR.transform(e)},eN=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,eI="number",eM="color",eF=/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 eL(e){let t=e.toString(),r=[],n={color:[],number:[],var:[]},i=[],o=0,a=t.replace(eF,e=>(eP.test(e)?(n.color.push(o),i.push(eM),r.push(eP.parse(e))):e.startsWith("var(")?(n.var.push(o),i.push("var"),r.push(e)):(n.number.push(o),i.push(eI),r.push(parseFloat(e))),++o,"${}")).split("${}");return{values:r,split:a,indexes:n,types:i}}function ej(e){return eL(e).values}function eV(e){let{split:t,types:r}=eL(e),n=t.length;return e=>{let i="";for(let o=0;o<n;o++)if(i+=t[o],void 0!==e[o]){let t=r[o];t===eI?i+=ew(e[o]):t===eM?i+=eP.transform(e[o]):i+=e[o]}return i}}let eU=e=>"number"==typeof e?0:e,eq={test:function(e){var t,r;return isNaN(e)&&"string"==typeof e&&((null==(t=e.match(ex))?void 0:t.length)||0)+((null==(r=e.match(eN))?void 0:r.length)||0)>0},parse:ej,createTransformer:eV,getAnimatableNone:function(e){let t=ej(e);return eV(e)(t.map(eU))}},eB=new Set(["brightness","contrast","saturate","opacity"]);function ez(e){let[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[n]=r.match(ex)||[];if(!n)return e;let i=r.replace(n,""),o=+!!eB.has(t);return n!==r&&(o*=100),t+"("+o+i+")"}let eQ=/\b([a-z-]*)\(.*?\)/gu,eW={...eq,getAnimatableNone:e=>{let t=e.match(eQ);return t?t.map(ez).join(" "):e}},eH={...X,transform:Math.round},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:ea,originY:ea,originZ:en,zIndex:eH,size:en,fillOpacity:J,strokeOpacity:J,numOctaves:eH},eG={...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},eY=e=>eG[e];function e$(e,t){let r=eY(e);return r!==eW&&(r=eq),r.getAnimatableNone?r.getAnimatableNone(t):void 0}let eX=new Set(["auto","none","0"]);class eJ extends eT{constructor(e,t,r,n,i){super(e,t,r,n,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:r}=this;if(!t||!t.current)return;super.readKeyframes();for(let r=0;r<e.length;r++){let n=e[r];if("string"==typeof n&&K(n=n.trim())){let i=function e(t,r,n=1){x(n<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[i,o]=function(e){let t=Y.exec(e);if(!t)return[,];let[,r,n,i]=t;return[`--${null!=r?r:n}`,i]}(t);if(!i)return;let a=window.getComputedStyle(r).getPropertyValue(i);if(a){let e=a.trim();return z(e)?parseFloat(e):e}return K(o)?e(o,r,n+1):o}(n,t.current);void 0!==i&&(e[r]=i),r===e.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!es.has(r)||2!==e.length)return;let[n,i]=e,o=ev(n),a=ev(i);if(o!==a)if(el(o)&&el(a))for(let t=0;t<e.length;t++){let r=e[t];"string"==typeof r&&(e[t]=parseFloat(r))}else this.needsMeasurement=!0}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,r=[];for(let t=0;t<e.length;t++){var n;("number"==typeof(n=e[t])?0===n:null===n||"none"===n||"0"===n||B(n))&&r.push(t)}r.length&&function(e,t,r){let n,i=0;for(;i<e.length&&!n;){let t=e[i];"string"==typeof t&&!eX.has(t)&&eL(t).values.length&&(n=e[i]),i++}if(n&&r)for(let i of t)e[i]=e$(r,n)}(e,r,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:r}=this;if(!e||!e.current)return;"height"===r&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ef[r](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let n=t[t.length-1];void 0!==n&&e.getValue(r,n).jump(n,!1)}measureEndState(){var e;let{element:t,name:r,unresolvedKeyframes:n}=this;if(!t||!t.current)return;let i=t.getValue(r);i&&i.jump(this.measuredOrigin,!1);let o=n.length-1,a=n[o];n[o]=ef[r](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==a&&void 0===this.finalKeyframe&&(this.finalKeyframe=a),(null==(e=this.removedTransforms)?void 0:e.length)&&this.removedTransforms.forEac
1h(([e,r])=>{t.getValue(e).set(r)}),this.resolveNoneKeyframes()}}function eZ(e){return"function"==typeof e}function e0(){n=void 0}let e1={now:()=>(void 0===n&&e1.set(A.isProcessing||_.useManualTiming?A.timestamp:performance.now()),n),set:e=>{n=e,queueMicrotask(e0)}},e2=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(eq.test(e)||"0"===e)&&!e.startsWith("url("));class e3{constructor({autoplay:e=!0,delay:t=0,type:r="keyframes",repeat:n=0,repeatDelay:i=0,repeatType:o="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=e1.now(),this.options={autoplay:e,delay:t,type:r,repeat:n,repeatDelay:i,repeatType:o,...a},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(eE(),e_()),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=e1.now(),this.hasAttemptedResolve=!0;let{name:r,type:n,velocity:i,delay:o,onComplete:a,onUpdate:s,isGenerator:l}=this.options;if(!l&&!function(e,t,r,n){let i=e[0];if(null===i)return!1;if("display"===t||"visibility"===t)return!0;let o=e[e.length-1],a=e2(i,t),s=e2(o,t);return x(a===s,`You are trying to animate ${t} from "${i}" to "${o}". ${i} is not an animatable value - to enable this animation set ${i} to a value animatable to ${o} via the \`style\` property.`),!!a&&!!s&&(function(e){let t=e[0];if(1===e.length)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t)return!0}(e)||("spring"===r||eZ(r))&&n)}(e,r,n,i))if(E.current||!o){null==s||s(w(e,this.options,t)),null==a||a(),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,r)=>{let n=t-e;return 0===n?1:(r-e)/n},e8=(e,t,r=10)=>{let n="",i=Math.max(Math.round(t/r),2);for(let t=0;t<i;t++)n+=e(e5(0,i-1,t))+", ";return`linear(${n.substring(0,n.length-2)})`};function e9(e,t,r){var n,i;let o=Math.max(t-5,0);return n=r-e(o),(i=t-o)?1e3/i*n:0}let e4={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,r=e.next(t);for(;!r.done&&t<2e4;)t+=50,r=e.next(t);return t>=2e4?1/0:t}let te=["duration","bounce"],tt=["stiffness","damping","mass"];function tr(e,t){return t.some(t=>void 0!==e[t])}function tn(e=e4.visualDuration,t=e4.bounce){let r,n="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:i,restDelta:o}=n,a=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],l={done:!1,value:a},{stiffness:u,damping:c,mass:h,duration:d,velocity:f,isResolvedFromDuration:p}=function(e){let t={velocity:e4.velocity,stiffness:e4.stiffness,damping:e4.damping,mass:e4.mass,isResolvedFromDuration:!1,...e};if(!tr(e,tt)&&tr(e,te))if(e.visualDuration){let r=2*Math.PI/(1.2*e.visualDuration),n=r*r,i=2*$(.05,1,1-e.bounce)*Math.sqrt(n);t={...t,mass:e4.mass,stiffness:n,damping:i}}else{let r=function({duration:e=e4.duration,bounce:t=e4.bounce,velocity:r=e4.velocity,mass:n=e4.mass}){let i,o;x(e<=m(e4.maxDuration),"Spring duration must be 10 seconds or less");let a=1-t;a=$(e4.minDamping,e4.maxDamping,a),e=$(e4.minDuration,e4.maxDuration,e/1e3),a<1?(i=t=>{let n=t*a,i=n*e;return .001-(n-r)/e6(t,a)*Math.exp(-i)},o=t=>{let n=t*a*e,o=Math.pow(a,2)*Math.pow(t,2)*e,s=Math.exp(-n),l=e6(Math.pow(t,2),a);return(n*r+r-o)*s*(-i(t)+.001>0?-1:1)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-r)*e+1),o=t=>e*e*(r-t)*Math.exp(-t*e));let s=function(e,t,r){let n=r;for(let r=1;r<12;r++)n-=e(n)/t(n);return n}(i,o,5/e);if(e=m(e),isNaN(s))return{stiffness:e4.stiffness,damping:e4.damping,duration:e};{let t=Math.pow(s,2)*n;
1return{stiffness:t,damping:2*a*Math.sqrt(n*t),duration:e}}}(e);(t={...t,...r,mass:e4.mass}).isResolvedFromDuration=!0}return t}({...n,velocity:-((n.velocity||0)/1e3)}),v=f||0,y=c/(2*Math.sqrt(u*h)),g=s-a,b=Math.sqrt(u/h)/1e3,_=5>Math.abs(g);if(i||(i=_?e4.restSpeed.granular:e4.restSpeed.default),o||(o=_?e4.restDelta.granular:e4.restDelta.default),y<1){let e=e6(b,y);r=t=>s-Math.exp(-y*b*t)*((v+y*b*g)/e*Math.sin(e*t)+g*Math.cos(e*t))}else if(1===y)r=e=>s-Math.exp(-b*e)*(g+(v+b*g)*e);else{let e=b*Math.sqrt(y*y-1);r=t=>{let r=Math.exp(-y*b*t),n=Math.min(e*t,300);return s-r*((v+y*b*g)*Math.sinh(n)+e*g*Math.cosh(n))/e}}let E={calculatedDuration:p&&d||null,next:e=>{let t=r(e);if(p)l.done=e>=d;else{let n=0;y<1&&(n=0===e?m(v):e9(r,e,t));let a=Math.abs(s-t)<=o;l.done=Math.abs(n)<=i&&a}return l.value=l.done?s:t,l},toString:()=>{let e=Math.min(e7(E),2e4),t=e8(t=>E.next(e*t).value,e,30);return e+"ms "+t}};return E}function ti({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:a,min:s,max:l,restDelta:u=.5,restSpeed:c}){let h,d,f=e[0],p={done:!1,value:f},m=r*t,v=f+m,y=void 0===a?v:a(v);y!==v&&(m=y-f);let g=e=>-m*Math.exp(-e/n),b=e=>y+g(e),_=e=>{let t=g(e),r=b(e);p.done=Math.abs(t)<=u,p.value=p.done?y:r},E=e=>{let t;if(t=p.value,void 0!==s&&t<s||void 0!==l&&t>l){var r;h=e,d=tn({keyframes:[p.value,(r=p.value,void 0===s?l:void 0===l||Math.abs(s-r)<Math.abs(l-r)?s:l)],velocity:e9(b,e,p.value),damping:i,stiffness:o,restDelta:u,restSpeed:c})}};return E(0),{calculatedDuration:null,next:e=>{let t=!1;return(d||void 0!==h||(t=!0,_(e),E(e)),void 0!==h&&e>=h)?d.next(e-h):(t||_(e),p)}}}let to=P(.42,0,1,1),ta=P(0,0,.58,1),ts=P(.42,0,.58,1),tl=e=>Array.isArray(e)&&"number"==typeof e[0],tu={linear:x,easeIn:to,easeInOut:ts,easeOut:ta,circIn:V,circInOut:q,circOut:U,backIn:F,backInOut:L,backOut:M,anticipate:j},tc=e=>{if(tl(e)){x(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,r,n,i]=e;return P(t,r,n,i)}return"string"==typeof e?(x(void 0!==tu[e],`Invalid easing type '${e}'`),tu[e]):e},th=(e,t)=>r=>t(e(r)),td=(...e)=>e.reduce(th),tf=(e,t,r)=>e+(t-e)*r;function tp(e,t,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+(t-e)*6*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function tm(e,t){return r=>r>0?t:e}let tv=(e,t,r)=>{let n=e*e,i=r*(t*t-n)+n;return i<0?0:Math.sqrt(i)},ty=[eD,eA,eR];function tg(e){let t=ty.find(t=>t.test(e));if(x(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let r=t.parse(e);return t===eR&&(r=function({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,r/=100;let i=0,o=0,a=0;if(t/=100){let n=r<.5?r*(1+t):r+t-r*t,s=2*r-n;i=tp(s,n,e+1/3),o=tp(s,n,e),a=tp(s,n,e-1/3)}else i=o=a=r;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*a),alpha:n}}(r)),r}let tb=(e,t)=>{let r=tg(e),n=tg(t);if(!r||!n)return tm(e,t);let i={...r};return e=>(i.red=tv(r.red,n.red,e),i.green=tv(r.green,n.green,e),i.blue=tv(r.blue,n.blue,e),i.alpha=tf(r.alpha,n.alpha,e),eA.transform(i))},t_=new Set(["none","hidden"]);function tE(e,t){return r=>tf(e,t,r)}function tT(e){return"number"==typeof e?tE:"string"==typeof e?K(e)?tm:eP.test(e)?tb:tS:Array.isArray(e)?tw:"object"==typeof e?eP.test(e)?tb:tx:tm}function tw(e,t){let r=[...e],n=r.length,i=e.map((e,r)=>tT(e)(e,t[r]));return e=>{for(let t=0;t<n;t++)r[t]=i[t](e);return r}}function tx(e,t){let r={...e,...t},n={};for(let i in r)void 0!==e[i]&&void 0!==t[i]&&(n[i]=tT(e[i])(e[i],t[i]));return e=>{for(let t in n)r[t]=n[t](e);return r}}let tS=(e,t)=>{let r=eq.createTransformer(t),n=eL(e),i=eL(t);return n.indexes.var.length===i.indexes.var.length&&n.indexes.color.length===i.indexes.color.length&&n.indexes.number.length>=i.indexes.number.length?t_.has(e)&&!i.values.length||t_.has(t)&&!n.values.length?function(e,t){return t_.has(e)?r=>r<=0?e:t:r=>r>=1?t:e}(e,t):td(tw(function(e,t){var r;let n=[],i={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){let a=t.types[o],s=e.indexes[a][i[a]],l=null!=(r=e.values[s])?r:0;n[o]=l,i[a]++}return n}(n,i),i.values),r):(x(!0,`Complex values '${e}' and '${t}
1' 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 tk(e,t,r){return"number"==typeof e&&"number"==typeof t&&"number"==typeof r?tf(e,t,r):tT(e)(e,t)}function tO({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){var i;let o=Array.isArray(n)&&"number"!=typeof n[0]?n.map(tc):tc(n),a={done:!1,value:t[0]},s=function(e,t,{clamp:r=!0,ease:n,mixer:i}={}){let o=e.length;if(x(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 a=function(e,t,r){let n=[],i=r||tk,o=e.length-1;for(let r=0;r<o;r++){let o=i(e[r],e[r+1]);t&&(o=td(Array.isArray(t)?t[r]||x:t,o)),n.push(o)}return n}(t,n,i),s=a.length,l=t=>{let r=0;if(s>1)for(;r<e.length-2&&!(t<e[r+1]);r++);let n=e5(e[r],e[r+1],t);return a[r](n)};return r?t=>l($(e[0],e[o-1],t)):l}((i=r&&r.length===t.length?r:function(e){let t=[0];return!function(e,t){let r=e[e.length-1];for(let n=1;n<=t;n++){let i=e5(0,t,n);e.push(tf(r,1,i))}}(t,e.length-1),t}(t),i.map(t=>t*e)),t,{ease:Array.isArray(o)?o:t.map(()=>o||ts).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(a.value=s(t),a.done=t>=e,a)}}let tC=e=>{let t=({timestamp:t})=>e(t);return{start:()=>O.update(t,!0),stop:()=>C(t),now:()=>A.isProcessing?A.timestamp:e1.now()}},tA={decay:ti,inertia:ti,tween:tO,keyframes:tO,spring:tn},tD=e=>e/100;class tR 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:r,element:n,keyframes:i}=this.options,o=(null==n?void 0:n.KeyframeResolver)||eT,a=(e,t)=>this.onKeyframesResolved(e,t);this.resolver=new o(i,a,t,r,n),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){let t,r,{type:n="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:a,velocity:s=0}=this.options,l=eZ(n)?n:tA[n]||tO;l!==tO&&"number"!=typeof e[0]&&(t=td(tD,tk(e[0],e[1])),e=[0,100]);let u=l({...this.options,keyframes:e});"mirror"===a&&(r=l({...this.options,keyframes:[...e].reverse(),velocity:-s})),null===u.calculatedDuration&&(u.calculatedDuration=e7(u));let{calculatedDuration:c}=u,h=c+o;return{generator:u,mirroredGenerator:r,mapPercentToKeyframes:t,calculatedDuration:c,resolvedDuration:h,totalDuration:h*(i+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:r}=this;if(!r){let{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}let{finalKeyframe:n,generator:i,mirroredGenerator:o,mapPercentToKeyframes:a,keyframes:s,calculatedDuration:l,totalDuration:u,resolvedDuration:c}=r;if(null===this.startTime)return i.next(0);let{delay:h,repeat:d,repeatType:f,repeatDelay:p,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 v=this.currentTime-h*(this.speed>=0?1:-1),y=this.speed>=0?v<0:v>u;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let g=this.currentTime,b=i;if(d){let e=Math.min(this.currentTime,u)/c,t=Math.floor(e),r=e%1;!r&&e>=1&&(r=1),1===r&&t--,(t=Math.min(t,d+1))%2&&("reverse"===f?(r=1-r,p&&(r-=p/c)):"mirror"===f&&(b=o)),g=$(0,1,r)*c}let _=y?{done:!1,value:s[0]}:b.next(g);a&&(_.value=a(_.value));let{done:E}=_;y||null===l||(E=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let T=null===this.holdTime&&("finished"===this.state||"running"===this.state&&E);return T&&void 0!==n&&(_.value=w(s,this.options,n)),m&&m(_.value),T&&this.finish(),_}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=tC,onPlay:t,startTime:r}=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!=r?r: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 tN(e){let t;return()=>(void 0===t&&(t=e()),t)}let tI={linearEasing:void 0},tM=function(e,t){let r=tN(e);return()=>{var e;return null!=(e=tI[t])?e:r()}}(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),tF=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,tL={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:tF([0,.65,.55,1]),circOut:tF([.55,0,1,.45]),backIn:tF([.31,.01,.66,-.59]),backOut:tF([.33,1.53,.69,.99])};function tj(e,t){e.timeline=t,e.onfinish=null}let tV=tN(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),tU={anticipate:j,backInOut:L,circInOut:q};class tq extends e3{constructor(e){super(e);let{name:t,motionValue:r,element:n,keyframes:i}=this.options;this.resolver=new eJ(i,(e,t)=>this.onKeyframesResolved(e,t),t,r,n),this.resolver.scheduleResolve()}initPlayback(e,t){var r,n;let{duration:i=300,times:o,ease:a,type:s,motionValue:l,name:u,startTime:c}=this.options;if(!(null==(r=l.owner)?void 0:r.current))return!1;if("string"==typeof a&&tM()&&a in tU&&(a=tU[a]),eZ((n=this.options).type)||"spring"===n.type||!function e(t){return!!("function"==typeof t&&tM()||!t||"string"==typeof t&&(t in tL||tM())||tl(t)||Array.isArray(t)&&t.every(e))}(n.ease)){let{onComplete:t,onUpdate:r,motionValue:n,element:l,...u}=this.options,c=function(e,t){let r=new tR({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),n={done:!1,value:e[0]},i=[],o=0;for(;!n.done&&o<2e4;)i.push((n=r.sample(o)).value),o+=10;return{times:void 0,keyframes:i,duration:o-10,ease:"linear"}}(e,u);1===(e=c.keyframes).length&&(e[1]=e[0]),i=c.duration,o=c.times,a=c.ease,s="keyframes"}let h=function(e,t,r,{delay:n=0,duration:i=300,repeat:o=0,repeatType:a="loop",ease:s="easeInOut",times:l}={}){let u={[t]:r};l&&(u.offset=l);let c=function e(t,r){if(t)return"function"==typeof t&&tM()?e8(t,r):tl(t)?tF(t):Array.isArray(t)?t.map(t=>e(t,r)||tL.easeOut):tL[t]}(s,i);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:n,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:"reverse"===a?"alternate":"normal"})}(l.owner.current,u,e,{...this.options,duration:i,times:o,ease:a});return h.startTime=null!=c?c:this.calcStartTime(),this.pendingTimeline?(tj(h,this.pendingTimeline),this.pendingTimeline=void 0):h.onfinish=()=>{let{onComplete:r}=this.options;l.set(w(e,this.options,t)),r&&r(),this.cancel(),this.resolveFinishedPromise()},{animation:h,duration:i,times:o,type:s,ease:a,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:r}=t;r.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:r}=t;r.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 x;let{animation:r}=t;tj(r,e)}else this.pendingTimeline=e;return x}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:r,duration:n,type:i,ease:o,times:a}=e;if("idle"===t.playState||"finished"===t.playState)return;if(this.time){let{motionValue:e,onUpdate:t,onComplete:s,element:l,...u}=this.options,c=new tR({...u,keyframes:r,duration:n,type:i,ease:o,times:a,isGenerator:!0}),h=m(this.time);e.setWithVelocity(c.sample(h-10).value,c.sample(h).value,10)}let{onStop:s}=this.options;s&&s(),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:r,repeatDelay:n,repeatType:i,damping:o,type:a}=e;return tV()&&r&&tP.has(r)&&t&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUp
1date&&!n&&"mirror"!==i&&0!==o&&"inertia"!==a}}let tB=tN(()=>void 0!==window.ScrollTimeline);class tz{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 r=0;r<this.animations.length;r++)this.animations[r][e]=t}attachTimeline(e,t){let r=this.animations.map(r=>tB()&&r.attachTimeline?r.attachTimeline(e):t(r));return()=>{r.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 tQ=(e,t,r,n={},i,o)=>a=>{let s=b(n,e)||{},l=s.delay||n.delay||0,{elapsed:u=0}=n;u-=m(l);let c={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-u,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{a(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:o?void 0:i};!function({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:s,from:l,elapsed:u,...c}){return!!Object.keys(c).length}(s)&&(c={...c,...((e,{keyframes:t})=>t.length>2?y:p.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:v:g)(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)),(E.current||_.skipAnimations)&&(h=!0,c.duration=0,c.delay=0),h&&!o&&void 0!==t.get()){let e=w(c.keyframes,s);if(void 0!==e)return O.update(()=>{c.onUpdate(e),c.onComplete()}),new tz([])}return!o&&tq.supports(c)?new tq(c):new tR(c)},tW=e=>o(e)?e[e.length-1]||0:e;function tH(e,t){-1===e.indexOf(t)&&e.push(t)}function tK(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}class tG{constructor(){this.subscriptions=[]}add(e){return tH(this.subscriptions,e),()=>tK(this.subscriptions,e)}notify(e,t,r){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](e,t,r);else for(let i=0;i<n;i++){let n=this.subscriptions[i];n&&n(e,t,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let tY={current:void 0};class t${constructor(e,t={}){this.version="11.15.0",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{let r=e1.now();this.updatedAt!==r&&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 tG);let r=this.events[e].add(t);return"change"===e?()=>{r(),O.read(()=>{this.events.change.getSize()||this.stop()})}:r}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,r){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-r}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 tY.current&&tY.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 r=Math.min(this.updatedAt-this.prevUpdatedAt,30);return e=parseFloat(this.current)-parseFloat(this.prevFrameValue),r?1e3/r*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 tX(e,t){return new t$(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 r=e.getValue("willChange");if(t0(r)&&r.add)return r.add(t)}function t2(e,t,{delay:r=0,transitionOverride:n,type:i}={}){var o;let{transition:a=e.getDefaultTransition(),transitionEnd:s,...l}=t;n&&(a=n);let u=[],h=i&&e.animationState&&e.animationState.getState()[i];for(let t in l){let n=e.getValue(t,null!=(o=e.latestValues[t])?o:null),i=l[t];if(void 0===i||h&&function({protectedKeys:e,needsAnimating:t},r){let n=e.hasOwnProperty(r)&&!0!==t[r];return t[r]=!1,n}(h,t))continue;let s={delay:r,...b(a||{},t)},c=!1;if(window.MotionHandoffAnimation){let r=e.props[tZ];if(r){let e=window.MotionHandoffAnimation(r,t,O);null!==e&&(s.startTime=e,c=!0)}}t1(e,t),n.start(tQ(t,n,i,e.shouldReduceMotion&&p.has(t)?{type:!1}:s,e,c));let d=n.animation;d&&u.push(d)}return s&&Promise.all(u).then(()=>{O.update(()=>{s&&function(e,t){let{transitionEnd:r={},transition:n={},...i}=c(e,t)||{};for(let t in i={...i,...r}){let r=tW(i[t]);e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,tX(r))}}(e,s)})}),u}function t3(e,t,r={}){var n;let i=c(e,t,"exit"===r.type?null==(n=e.presenceContext)?void 0:n.custom:void 0),{transition:o=e.getDefaultTransition()||{}}=i||{};r.transitionOverride&&(o=r.transitionOverride);let a=i?()=>Promise.all(t2(e,i,r)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(n=0)=>{let{delayChildren:i=0,staggerChildren:a,staggerDirection:s}=o;return function(e,t,r=0,n=0,i=1,o){let a=[],s=(e.variantChildren.size-1)*n,l=1===i?(e=0)=>e*n:(e=0)=>s-e*n;
1return Array.from(e.variantChildren).sort(t5).forEach((e,n)=>{e.notify("AnimationStart",t),a.push(t3(e,t,{...o,delay:r+l(n)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(a)}(e,t,i+n,a,s,r)}:()=>Promise.resolve(),{when:l}=o;if(!l)return Promise.all([a(),s(r.delay)]);{let[e,t]="beforeChildren"===l?[a,s]:[s,a];return e().then(()=>t())}}function t5(e,t){return e.sortNodePosition(t)}let t8=d.length,t9=[...h].reverse(),t4=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 re{constructor(e){this.isMounted=!1,this.node=e}update(){}}class rt extends re{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:r})=>(function(e,t,r={}){let n;if(e.notify("AnimationStart",t),Array.isArray(t))n=Promise.all(t.map(t=>t3(e,t,r)));else if("string"==typeof t)n=t3(e,t,r);else{let i="function"==typeof t?c(e,t,r.custom):t;n=Promise.all(t2(e,i,r))}return n.then(()=>{e.notify("AnimationComplete",t)})})(e,t,r))),r=t7(),n=!0,l=t=>(r,n)=>{var i;let o=c(e,n,"exit"===t?null==(i=e.presenceContext)?void 0:i.custom:void 0);if(o){let{transition:e,transitionEnd:t,...n}=o;r={...r,...n,...t}}return r};function u(u){let{props:c}=e,h=function e(t){if(!t)return;if(!t.isControllingVariants){let r=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(r.initial=t.props.initial),r}let r={};for(let e=0;e<t8;e++){let n=d[e],i=t.props[n];(s(i)||!1===i)&&(r[n]=i)}return r}(e.parent)||{},f=[],p=new Set,m={},v=1/0;for(let t=0;t<t4;t++){var y,g;let d=t9[t],b=r[d],_=void 0!==c[d]?c[d]:h[d],E=s(_),T=d===u?b.isActive:null;!1===T&&(v=t);let w=_===h[d]&&_!==c[d]&&E;if(w&&n&&e.manuallyAnimateOnMount&&(w=!1),b.protectedKeys={...m},!b.isActive&&null===T||!_&&!b.prevProp||i(_)||"boolean"==typeof _)continue;let x=(y=b.prevProp,"string"==typeof(g=_)?g!==y:!!Array.isArray(g)&&!a(g,y)),S=x||d===u&&b.isActive&&!w&&E||t>v&&E,k=!1,O=Array.isArray(_)?_:[_],C=O.reduce(l(d),{});!1===T&&(C={});let{prevResolvedValues:A={}}=b,D={...A,...C},R=t=>{S=!0,p.has(t)&&(k=!0,p.delete(t)),b.needsAnimating[t]=!0;let r=e.getValue(t);r&&(r.liveStyle=!1)};for(let e in D){let t=C[e],r=A[e];if(!m.hasOwnProperty(e))(o(t)&&o(r)?a(t,r):t===r)?void 0!==t&&p.has(e)?R(e):b.protectedKeys[e]=!0:null!=t?R(e):p.add(e)}b.prevProp=_,b.prevResolvedValues=C,b.isActive&&(m={...m,...C}),n&&e.blockInitialAnimation&&(S=!1);let P=!(w&&x)||k;S&&P&&f.push(...O.map(e=>({animation:e,options:{type:d}})))}if(p.size){let t={};p.forEach(r=>{let n=e.getBaseTarget(r),i=e.getValue(r);i&&(i.liveStyle=!0),t[r]=null!=n?n:null}),f.push({animation:t})}let b=!!f.length;return n&&(!1===c.initial||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(b=!1),n=!1,b?t(f):Promise.resolve()}return{animateChanges:u,setActive:function(t,n){var i;if(r[t].isActive===n)return Promise.resolve();null==(i=e.variantChildren)||i.forEach(e=>{var r;return null==(r=e.animationState)?void 0:r.setActive(t,n)}),r[t].isActive=n;let o=u(t);for(let e in r)r[e].protectedKeys={};return o},setAnimateFunction:function(r){t=r(e)},getState:()=>r,reset:()=>{r=t7(),n=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();i(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 rr=0;class rn extends re{constructor(){super(...arguments),this.id=rr++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)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 ri={x:!1,y:!1};function ro(e,t){let r=function(e,t,r){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[r,{passive:!0,...t,signal:n.signal},()=>n.abort()]}function ra(e){return t=>{"touch"===t.pointerType||ri.x||ri.y||e(t)}}let rs=e=>
1"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary,rl=new WeakSet;function ru(e){return t=>{"Enter"===t.key&&e(t)}}function rc(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}let rh=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),rd=(e,t)=>!!t&&(e===t||rd(e,t.parentElement));function rf(e){return rs(e)&&!(ri.x||ri.y)}function rp(e){return{point:{x:e.pageX,y:e.pageY}}}function rm(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}function rv(e,t,r,n){return rm(e,t,e=>rs(e)&&r(e,rp(e)),n)}let ry=(e,t)=>Math.abs(e-t);class rg{constructor(e,t,{transformPagePoint:r,contextWindow:n,dragSnapToOrigin:i=!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=rE(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,r=function(e,t){return Math.sqrt(ry(e.x,t.x)**2+ry(e.y,t.y)**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!r)return;let{point:n}=e,{timestamp:i}=A;this.history.push({...n,timestamp:i});let{onStart:o,onMove:a}=this.handlers;t||(o&&o(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=rb(t,this.transformPagePoint),O.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:r,onSessionEnd:n,resumeAnimation:i}=this.handlers;if(this.dragSnapToOrigin&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let o=rE("pointercancel"===e.type?this.lastMoveEventInfo:rb(t,this.transformPagePoint),this.history);this.startEvent&&r&&r(e,o),n&&n(e,o)},!rs(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=r,this.contextWindow=n||window;let o=rb(rp(e),this.transformPagePoint),{point:a}=o,{timestamp:s}=A;this.history=[{...a,timestamp:s}];let{onSessionStart:l}=t;l&&l(e,rE(o,this.history)),this.removeListeners=td(rv(this.contextWindow,"pointermove",this.handlePointerMove),rv(this.contextWindow,"pointerup",this.handlePointerUp),rv(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),C(this.updatePoint)}}function rb(e,t){return t?{point:t(e.point)}:e}function r_(e,t){return{x:e.x-t.x,y:e.y-t.y}}function rE({point:e},t){return{point:e,delta:r_(e,rT(t)),offset:r_(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null,i=rT(e);for(;r>=0&&(n=e[r],!(i.timestamp-n.timestamp>m(.1)));)r--;if(!n)return{x:0,y:0};let o=(i.timestamp-n.timestamp)/1e3;if(0===o)return{x:0,y:0};let a={x:(i.x-n.x)/o,y:(i.y-n.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(t,.1)}}function rT(e){return e[e.length-1]}function rw(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function rx(e){return e.max-e.min}function rS(e,t,r,n=.5){e.origin=n,e.originPoint=tf(t.min,t.max,e.origin),e.scale=rx(r)/rx(t),e.translate=tf(r.min,r.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 rk(e,t,r,n){rS(e.x,t.x,r.x,n?n.originX:void 0),rS(e.y,t.y,r.y,n?n.originY:void 0)}function rO(e,t,r){e.min=r.min+t.min,e.max=e.min+rx(t)}function rC(e,t,r){e.min=t.min-r.min,e.max=e.min+rx(t)}function rA(e,t,r){rC(e.x,t.x,r.x),rC(e.y,t.y,r.y)}function rD(e,t,r){return{min:void 0!==t?e.min+t:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function rR(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,n]=[n,r]),{min:r,max:n}}function rP(e,t,r){return{min:rN(e,t),max:rN(e,r)}}function rN(e,t){return"number"==typeof e?e:e[t]||0}let rI=()=>({translate:0,scale:1,origin:0,originPoint:0}),rM=()=>({x:rI(),y:rI()}),rF=()=>({min:0,max:0}),rL=()=>({x:rF(),y:rF()});function rj(e){return[e("x"),e("y")]}function rV({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function rU(e){return void 0===e||1===e}function rq({scale:e,scaleX:t,scaleY:r}){return!rU(e)||!rU(t)||!rU(r)}function rB(e){return rq(e)||rz(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function rz(e){var t,r;return(t=e.x)&&"0%"!==t||(r=e.y)&&"0%"!==r}function rQ(e,t,r,n,i){return void 0!==i&&(e=n+i*(e-n)),n+r*(e-n)+t}function rW(e,t=0,r=1,n,i){e.min=rQ(e.min,t,r,n,i),e.max=rQ(e.max,t,r,n,i)}function rH(e,{x:t,y:r}){rW(e.x,t.translate,t.scale,t.originPoint),rW(e.y,r.translate,r.scale,r.originPoint)}function rK(e,t){e.min=e.min+t,e.max=e.max+t}function rG(e,t,r,n,i=.5){let o=tf(e.min,e.max,i);rW(e,t,r,o,n)}function rY(e,t){rG(e.x,t.x,t.scaleX,t.scale,t.originX),rG(e.y,t.y,t.scaleY,t.scale,t.originY)}function r$(e,t){return rV(function(e,t){if(!t)return e;let r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}(e.getBoundingClientRect(),t))}let rX=({current:e})=>e?e.ownerDocument.defaultView:null,rJ=new WeakMap;class rZ{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=rL(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){let{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;let n=e=>{let{dragSnapToOrigin:r}=this.getProps();r?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(rp(e).point)},i=(e,t)=>{let{drag:r,dragPropagation:n,onDragStart:i}=this.getProps();if(r&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(e){if("x"===e||"
1y"===e)if(ri[e])return null;else return ri[e]=!0,()=>{ri[e]=!1};return ri.x||ri.y?null:(ri.x=ri.y=!0,()=>{ri.x=ri.y=!1})}(r),!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),rj(e=>{let t=this.getAxisMotionValue(e).get()||0;if(er.test(t)){let{projection:r}=this.visualElement;if(r&&r.layout){let n=r.layout.layoutBox[e];n&&(t=rx(n)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&O.postRender(()=>i(e,t)),t1(this.visualElement,"transform");let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},o=(e,t)=>{let{dragPropagation:r,dragDirectionLock:n,onDirectionLock:i,onDrag:o}=this.getProps();if(!r&&!this.openDragLock)return;let{offset:a}=t;if(n&&null===this.currentDirection){this.currentDirection=function(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}(a),null!==this.currentDirection&&i&&i(this.currentDirection);return}this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),o&&o(e,t)},a=(e,t)=>this.stop(e,t),s=()=>rj(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 rg(e,{onSessionStart:n,onStart:i,onMove:o,onSessionEnd:a,resumeAnimation:s},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:rX(this.visualElement)})}stop(e,t){let r=this.isDragging;if(this.cancel(),!r)return;let{velocity:n}=t;this.startAnimation(n);let{onDragEnd:i}=this.getProps();i&&O.postRender(()=>i(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:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,r){let{drag:n}=this.getProps();if(!r||!r0(e,n,this.currentDirection))return;let i=this.getAxisMotionValue(e),o=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:r},n){return void 0!==t&&e<t?e=n?tf(t,e,n.min):Math.max(e,t):void 0!==r&&e>r&&(e=n?tf(r,e,n.max):Math.min(e,r)),e}(o,this.constraints[e],this.elastic[e])),i.set(o)}resolveConstraints(){var e;let{dragConstraints:t,dragElastic:r}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null==(e=this.visualElement.projection)?void 0:e.layout,i=this.constraints;t&&rw(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&n?this.constraints=function(e,{top:t,left:r,bottom:n,right:i}){return{x:rD(e.x,r,i),y:rD(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:rP(e,"left","right"),y:rP(e,"top","bottom")}}(r),i!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&rj(e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){let r={};return void 0!==t.min&&(r.min=t.min-e.min),void 0!==t.max&&(r.max=t.max-e.min),r}(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!rw(t))return!1;let n=t.current;x(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:i}=this.visualElement;if(!i||!i.layout)return!1;let o=function(e,t,r){let n=r$(e,r),{scroll:i}=t;return i&&(rK(n.x,i.offset.x),rK(n.y,i.offset.y)),n}(n,i.root,this.visualElement.getTransformPagePoint()),a=(e=i.layout.layoutBox,{x:rR(e.x,o.x),y:rR(e.y,o.y)});if(r){let e=r(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(a));this.hasMutatedConstraints=!!e,e&&(a=rV(e))}return a}startAnimation(e){let{drag:t,dragMomentum:r,dragElastic:n,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{};return Promise.all(rj(a=>{if(!r0(a,t,this.currentDirection))return;let l=s&&s[a]||{};o&&(l={min:0,max:0});let u={type:"inertia",velocity:r?e[a]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(a,u)})).then(a)}startAxisValueAnimation(e,t){let r=this.getAxisMotionValue(e);return t1(this.visualElement,e),r.start(tQ(e,r,0,t,this.visualElement,!1))}stopAnimation(){rj(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){rj(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()}`,r=this.visualElement.getProps();return r[t]||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){rj(t=>{let{drag:r}=this.getProps();if(!r0(t,r,this.currentDirection))return;let{projection:n}=this.visualElement,i=this.getAxisMotionValue(t);if(n&&n.layout){let{min:r,max:o}=n.layout.layoutBox[t];i.set(e[t]-tf(r,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:r}=this.visualElement;if(!rw(t)||!r||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};rj(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){let r=t.get();n[e]=function(e,t){let r=.5,n=rx(e),i=rx(t);return i>n?r=e5(t.min,t.max-n,e.min):n>i&&(r=e5(e.min,e.max-i,t.min)),$(0,1,r)}({min:r,max:r},this.constraints[e])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),rj(t=>{if(!r0(t,e,null))return;let r=this.getAxisMotionValue(t),{min:i,max:o}=this.constraints[t];r.set(tf(i,o,n[t]))})}addListeners(){if(!this.visualElement.current)return;rJ.set(this.visualElement,this);let e=rv(this.visualElement.current,"pointerdown",e=>{let{drag:t,dragListener:r=!0}=this.getProps();t&&r&&this.start(e)}),t=()=>{let{dragConstraints:e}=this.getProps();rw(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,n=r.addEventListener("measure",t);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),O.read(t);let i=rm(window,"resize",()=>this.scalePositionWithinConstraints()),o=r.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(rj(t=>{let r=this.getAxisMotionValue(t);r&&(this.originPoint[t]+=e[t].translate,r.set(r.get()+e[t].translate))}),this.visualElement.render())});return()=>{i(),e(),n(),o&&o()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:r=!1,dragPropagation:n=!1,dragConstraints:i=!1,dragElastic:o=.35,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:r,dragPropagation:n,dragConstraints:i,dragElastic:o,dragMomentum:a}}}function r0(e,t,r){return(!0===t||t===e)&&(null===r||r===e)}class r1 extends re{constructor(e){super(e),this.removeGroupControls=x,this.removeListeners=x,this.controls=new rZ(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||x}unmount(){this.removeGroupControls(),this.removeListeners()}}let r2=e=>(t,r)=>{e&&O.postRender(()=>e(t,r))};class r3 extends re{constructor(){super(...arguments),this.removePointerDownListener=x}onPointerDown(e){this.session=new rg(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:rX(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:r,onPanEnd:n}=this.node.getProps();return{onSessionStart:r2(e),onStart:r2(t),onMove:r,onEnd:(e,t)=>{delete this.session,n&&O.postRender(()=>n(e,t))}}}mount(){this.removePointerDownListener=rv(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 r5,r8,r9=r(37876),r4=r(14232);let r6=(0,r4.createContext)(null),r7=(0,r4.createContext)({}),ne=(0,r4.createContext)({}),nt={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function nr(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let nn={correct:(e,t)=>
1{if(!t.target)return e;if("string"==typeof e)if(!en.test(e))return e;else e=parseFloat(e);let r=nr(e,t.target.x),n=nr(e,t.target.y);return`${r}% ${n}%`}},ni={},{schedule:no,cancel:na}=k(queueMicrotask,!1);class ns extends r4.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r,layoutId:n}=this.props,{projection:i}=e;Object.assign(ni,nu),i&&(t.group&&t.group.add(i),r&&r.register&&n&&r.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),nt.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:r,drag:n,isPresent:i}=this.props,o=r.projection;return o&&(o.isPresent=i,n||e.layoutDependency!==t||void 0===t?o.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?o.promote():o.relegate()||O.postRender(()=>{let e=o.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),no.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r}=this.props,{projection:n}=e;n&&(n.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(n),r&&r.deregister&&r.deregister(n))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function nl(e){let[t,r]=function(){let e=(0,r4.useContext)(r6);if(null===e)return[!0,null];let{isPresent:t,onExitComplete:r,register:n}=e,i=(0,r4.useId)();(0,r4.useEffect)(()=>n(i),[]);let o=(0,r4.useCallback)(()=>r&&r(i),[i,r]);return!t&&r?[!1,o]:[!0]}(),n=(0,r4.useContext)(r7);return(0,r9.jsx)(ns,{...e,layoutGroup:n,switchLayoutGroup:(0,r4.useContext)(ne),isPresent:t,safeToRemove:r})}let nu={borderRadius:{...nn,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:nn,borderTopRightRadius:nn,borderBottomLeftRadius:nn,borderBottomRightRadius:nn,boxShadow:{correct:(e,{treeScale:t,projectionDelta:r})=>{let n=eq.parse(e);if(n.length>5)return e;let i=eq.createTransformer(e),o=+("number"!=typeof n[0]),a=r.x.scale*t.x,s=r.y.scale*t.y;n[0+o]/=a,n[1+o]/=s;let l=tf(a,s,.5);return"number"==typeof n[2+o]&&(n[2+o]/=l),"number"==typeof n[3+o]&&(n[3+o]/=l),i(n)}}},nc=["TopLeft","TopRight","BottomLeft","BottomRight"],nh=nc.length,nd=e=>"string"==typeof e?parseFloat(e):e,nf=e=>"number"==typeof e||en.test(e);function np(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let nm=ny(0,.5,U),nv=ny(.5,.95,x);function ny(e,t,r){return n=>n<e?0:n>t?1:r(e5(e,t,n))}function ng(e,t){e.min=t.min,e.max=t.max}function nb(e,t){ng(e.x,t.x),ng(e.y,t.y)}function n_(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function nE(e,t,r,n,i){return e-=t,e=n+1/r*(e-n),void 0!==i&&(e=n+1/i*(e-n)),e}function nT(e,t,[r,n,i],o,a){!function(e,t=0,r=1,n=.5,i,o=e,a=e){if(er.test(t)&&(t=parseFloat(t),t=tf(a.min,a.max,t/100)-a.min),"number"!=typeof t)return;let s=tf(o.min,o.max,n);e===o&&(s-=t),e.min=nE(e.min,t,r,s,i),e.max=nE(e.max,t,r,s,i)}(e,t[r],t[n],t[i],t.scale,o,a)}let nw=["x","scaleX","originX"],nx=["y","scaleY","originY"];function nS(e,t,r,n){nT(e.x,t,nw,r?r.x:void 0,n?n.x:void 0),nT(e.y,t,nx,r?r.y:void 0,n?n.y:void 0)}function nk(e){return 0===e.translate&&1===e.scale}function nO(e){return nk(e.x)&&nk(e.y)}function nC(e,t){return e.min===t.min&&e.max===t.max}function nA(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function nD(e,t){return nA(e.x,t.x)&&nA(e.y,t.y)}function nR(e){return rx(e.x)/rx(e.y)}function nP(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class nN{constructor(){this.members=[]}add(e){tH(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,r=this.members.findIndex(t=>e===t);if(0===r)return!1;for(let e=r;e>=0;e--){let r=this.members[e];if(!1!==r.isPresent){t=r;break}}return!!t&&(this.promote(t),!0)}promote(e,t){let r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,t&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:n}=e.options;!1===n&&r.hide()}}
1exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:r}=e;t.onExitComplete&&t.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let nI=(e,t)=>e.depth-t.depth;class nM{constructor(){this.children=[],this.isDirty=!1}add(e){tH(this.children,e),this.isDirty=!0}remove(e){tK(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(nI),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 nL={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},nj="undefined"!=typeof window&&void 0!==window.MotionDebug,nV=["","X","Y","Z"],nU={visibility:"hidden"},nq=0;function nB(e,t,r,n){let{latestValues:i}=t;i[e]&&(r[e]=i[e],t.setStaticValue(e,0),n&&(n[e]=0))}function nz({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:i}){return class{constructor(e={},r=null==t?void 0:t()){this.id=nq++,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,nj&&(nL.totalNodes=nL.resolvedTargetDeltas=nL.recalculatedProjection=0),this.nodes.forEach(nH),this.nodes.forEach(nZ),this.nodes.forEach(n0),this.nodes.forEach(nK),nj&&window.MotionDebug.record(nL)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new nM)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new tG),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let r=this.eventHandlers.get(e);r&&r.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,r=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=t instanceof SVGElement&&"svg"!==t.tagName,this.instance=t;let{layoutId:n,layout:i,visualElement:o}=this.options;if(o&&!o.current&&o.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),r&&(i||n)&&(this.isLayoutDirty=!0),e){let r,n=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,r&&r(),r=function(e,t){let r=e1.now(),n=({timestamp:t})=>{let i=t-r;i>=250&&(C(n),e(i-250))};return O.read(n,!0),()=>C(n)}(n,250),nt.hasAnimatedSinceResize&&(nt.hasAnimatedSinceResize=!1,this.nodes.forEach(nJ))})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&o&&(n||i)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:r,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let i=this.options.transition||o.getDefaultTransition()||n9,{onLayoutAnimationStart:a,onLayoutAnimationComplete:s}=o.getProps(),l=!this.targetLayout||!nD(this.targetLayout,n)||r,u=!t&&r;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(i,"layout"),onPlay:a,onComplete:s};(o.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||nJ(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,C(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(n1),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:r}=t.options;if(!r)return;let n=r.props[tZ];if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:e,layoutId:r}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",O,!(e||r))}let{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&e(i)}(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:r}=this.options;if(void 0===t&&!r)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(nY);return}this.isUpdating||this.nodes.forEach(n$),this.isUpdating=!1,this.nodes.forEach(nX),this.nodes.forEach(nQ),this.nodes.forEach(nW),this.clearAllSnapshots();let e=e1.now();A.delta=$(0,1e3/60,e-A.timestamp),A.timestamp=e,A.isProcessing=!0,D.update.process(A),D.preRender.process(A),D.render.process(A),A.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,no.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(nG),this.sharedNodes.forEach(n2)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,O.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){O.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=rL(),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:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!nO(this.projectionDelta),r=this.getTransformTemplate(),n=r?r(this.latestValues,""):void 0,o=n!==this.prevTransformTemplateValue;e&&(t||rB(this.latestValues)||o)&&(i(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let r=this.measurePageBox(),n=this.removeElementScroll(r);return e&&(n=this.removeTransform(n)),n7((t=n).x),n7(t.y),{animationId:this.root.animationId,measuredBox:r,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){var e;let{visualElement:t}=this.options;if(!t)return rL();let r=t.measureViewportBox();if(!((null==(e=this.scroll)?void 0:e.wasRoot)||this.path.some(it))){let{scroll:e}=this.root;e&&(rK(r.x,e.offset.x),rK(r.y,e.offset.y))}return r}removeElementScroll(e){var t;let r=rL();if(nb(r,e),null==(t=this.scroll)?void 0:t.wasRoot)return r;for(let t=0;t<this.path.length;t++){let n=this.path[t],{scroll:i,options:o}=n;n!==this.root&&i&&o.layoutScroll&&(i.wasRoot&&nb(r,e),rK(r.x,i.offset.x),rK(r.y,i.offset.y))}return r}applyTransform(e,t=!1){let r=rL();nb(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&rY(r,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),rB(n.latestValues)&&rY(r,n.latestValues)}return rB(this.latestValues)&&rY(r,this.latestValues),r}removeTransform(e){let t=rL();nb(t,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];if(!r.instance||!rB(r.latestValues))continue;rq(r.latestValues)&&r.updateSnapshot();let n=rL();nb(n,r.measurePageBox()),nS(t,r.latestValues,r.snapshot?r.snapshot.layoutBox:void 0,n)}return rB(this.latestValues)&&nS(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!==A.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t,r,n,i;let o=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=o.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=o.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=o.isSharedProjectionDirty);let a=!!this.resumingFrom||this!==o;if(!(e||a&&this.isSharedProjectionDirty||this.isProjectionDirty||(null==(t=this.parent)?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:s,layoutId:l}=this.options;if(this.layout&&(s||l)){if(this.resolvedRelativeTargetAt=A.timestamp,!this.targetDelta&&!this.relativeTarget){let e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=rL(),this.relativeTargetOrigin=rL(),rA(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),nb(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=rL(),this.targetWithTransforms=rL()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),r=this.target,n=this.relativeTarget,i=this.relativeParent.target,rO(r.x,n.x,i.x),rO(r.y,n.y,i.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):nb(this.target,this.layout.layoutBox),rH(this.target,this.targetDelta)):nb(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=rL(),this.relativeTargetOrigin=rL(),rA(this.relativeTargetOrigin,this.target,e.target),nb(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}nj&&nL.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||rq(this.parent.latestValues)||rz(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(),r=!!this.resumingFrom||this!==t,n=!0;if((this.isProjectionDirty||(null==(e=this.parent)?void 0:e.isProjectionDirty))&&(n=!1),r&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===A.timestamp&&(n=!1),n)return;let{layout:i,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||!(i||o))return;nb(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,s=this.treeScale.y;!function(e,t,r,n=!1){let i,o,a=r.length;if(a){t.x=t.y=1;for(let s=0;s<a;s++){o=(i=r[s]).projectionDelta;let{visualElement:a}=i.options;
1(!a||!a.props.style||"contents"!==a.props.style.display)&&(n&&i.options.layoutScroll&&i.scroll&&i!==i.root&&rY(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,rH(e,o)),n&&rB(i.latestValues)&&rY(e,i.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,r),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=rL());let{target:l}=t;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(n_(this.prevProjectionDelta.x,this.projectionDelta.x),n_(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),rk(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===a&&this.treeScale.y===s&&nP(this.projectionDelta.x,this.prevProjectionDelta.x)&&nP(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),nj&&nL.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=rM(),this.projectionDelta=rM(),this.projectionDeltaWithTransform=rM()}setAnimationOrigin(e,t=!1){let r,n=this.snapshot,i=n?n.latestValues:{},o={...this.latestValues},a=rM();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=rL(),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(n3(a.x,e.x,n),n3(a.y,e.y,n),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,f,p,m,v;rA(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),f=this.relativeTarget,p=this.relativeTargetOrigin,m=s,v=n,n5(f.x,p.x,m.x,v),n5(f.y,p.y,m.y,v),r&&(u=this.relativeTarget,d=r,nC(u.x,d.x)&&nC(u.y,d.y))&&(this.isProjectionDirty=!1),r||(r=rL()),nb(r,this.relativeTarget)}l&&(this.animationValues=o,function(e,t,r,n,i,o){i?(e.opacity=tf(0,void 0!==r.opacity?r.opacity:1,nm(n)),e.opacityExit=tf(void 0!==t.opacity?t.opacity:1,0,nv(n))):o&&(e.opacity=tf(void 0!==t.opacity?t.opacity:1,void 0!==r.opacity?r.opacity:1,n));for(let i=0;i<nh;i++){let o=`border${nc[i]}Radius`,a=np(t,o),s=np(r,o);(void 0!==a||void 0!==s)&&(a||(a=0),s||(s=0),0===a||0===s||nf(a)===nf(s)?(e[o]=Math.max(tf(nd(a),nd(s),n),0),(er.test(s)||er.test(a))&&(e[o]+="%")):e[o]=s)}(t.rotate||r.rotate)&&(e.rotate=tf(t.rotate||0,r.rotate||0,n))}(o,i,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&&(C(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=O.update(()=>{nt.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,r){let n=t0(0)?0:tX(e);return n.start(tQ("",n,1e3,r)),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:r,layout:n,latestValues:i}=e;if(t&&r&&n){if(this!==e&&this.layout&&n&&ie(this.options.animationType,this.layout.layoutBox,n.layoutBox)){r=this.target||rL();let t=rx(this.layout.layoutBox.x);r.x.min=e.target.x.min,r.x.max=r.x.min+t;let n=rx(this.layout.layoutBox.y);r.y.min=e.target.y.min,r.y.max=r.y.min+n}nb(t,r),rY(t,i),rk(this.projectionDeltaWithTransform,this.layoutCorrected,t,i
1)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new nN),this.sharedNodes.get(e).add(t);let r=t.options.initialPromotionConfig;t.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.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:r}={}){let n=this.getStack();n&&n.promote(this,r),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:r}=e;if((r.z||r.rotate||r.rotateX||r.rotateY||r.rotateZ||r.skewX||r.skewY)&&(t=!0),!t)return;let n={};r.z&&nB("z",e,n,this.animationValues);for(let t=0;t<nV.length;t++)nB(`rotate${nV[t]}`,e,n,this.animationValues),nB(`skew${nV[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,r;if(!this.instance||this.isSVG)return;if(!this.isVisible)return nU;let n={visibility:""},i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,n.opacity="",n.pointerEvents=nF(null==e?void 0:e.pointerEvents)||"",n.transform=i?i(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&&!rB(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1),t}let a=o.animationValues||o.latestValues;this.applyTransformsToTarget(),n.transform=function(e,t,r){let n="",i=e.x.translate/t.x,o=e.
1y.translate/t.y,a=(null==r?void 0:r.z)||0;if((i||o||a)&&(n=`translate3d(${i}px, ${o}px, ${a}px) `),(1!==t.x||1!==t.y)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){let{transformPerspective:e,rotate:t,rotateX:i,rotateY:o,skewX:a,skewY:s}=r;e&&(n=`perspective(${e}px) ${n}`),t&&(n+=`rotate(${t}deg) `),i&&(n+=`rotateX(${i}deg) `),o&&(n+=`rotateY(${o}deg) `),a&&(n+=`skewX(${a}deg) `),s&&(n+=`skewY(${s}deg) `)}let s=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==s||1!==l)&&(n+=`scale(${s}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,a),i&&(n.transform=i(a,n.transform));let{x:s,y:l}=this.projectionDelta;for(let e in n.transformOrigin=`${100*s.origin}% ${100*l.origin}% 0`,o.animationValues?n.opacity=o===this?null!=(r=null!=(t=a.opacity)?t:this.latestValues.opacity)?r:1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:n.opacity=o===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0,ni){if(void 0===a[e])continue;let{correct:t,applyTo:r}=ni[e],i="none"===n.transform?a[e]:t(a[e],o);if(r){let e=r.length;for(let t=0;t<e;t++)n[r[t]]=i}else n[e]=i}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(nY),this.root.sharedNodes.clear()}}}function nQ(e){e.updateLayout()}function nW(e){var t;let r=(null==(t=e.resumeFrom)?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){let{layoutBox:t,measuredBox:n}=e.layout,{animationType:i}=e.options,o=r.source!==e.layout.source;"size"===i?rj(e=>{let n=o?r.measuredBox[e]:r.layoutBox[e],i=rx(n);n.min=t[e].min,n.max=n.min+i}):ie(i,r.layoutBox,t)&&rj(n=>{let i=o?r.measuredBox[n]:r.layoutBox[n],a=rx(t[n]);i.max=i.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[n].max=e.relativeTarget[n].min+a)});let a=rM();rk(a,t,r.layoutBox);let s=rM();o?rk(s,e.applyTransform(n,!0),r.measuredBox):rk(s,t,r.layoutBox);let l=!nO(a),u=!1;if(!e.resumeFrom){let n=e.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:i,layout:o}=n;if(i&&o){let a=rL();rA(a,r.layoutBox,i.layoutBox);let s=rL();rA(s,t,o.layoutBox),nD(a,s)||(u=!0),n.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=a,e.relativeParent=n)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:r,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function nH(e){nj&&nL.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 nK(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function nG(e){e.clearSnapshot()}function nY(e){e.clearMeasurements()}function n$(e){e.isLayoutDirty=!1}function nX(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function nJ(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function nZ(e){e.resolveTargetDelta()}function n0(e){e.calcProjection()}function n1(e){e.resetSkewAndRotation()}function n2(e){e.removeLeadSnapshot()}function n3(e,t,r){e.translate=tf(t.translate,0,r),e.scale=tf(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function n5(e,t,r,n){e.min=tf(t.min,r.min,n),e.max=tf(t.max,r.max,n)}function n8(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let n9={duration:.45,ease:[.4,0,.1,1]},n4=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),n6=n4("applewebkit/")&&!n4("chrome/")?Math.round:x;function n7(e){e.min=n6(e.min),e.max=n6(e.max)}function ie(e,t,r){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(nR(t)-nR(r)))}function it(e){var t;return e!==e.root&&(null==(t=e.scroll)?void 0:t.wasRoot)}let ir=nz({attachResizeListener:(e,t)=>rm(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ii={current:void 0},io=nz({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ii.current){let e=new ir({});e.mount(window),e.setOptions({layoutScroll:!0}),ii.current=e}return ii.current},resetTransform:(e,t)=>
1{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});function ia(e,t,r){let{props:n}=e;e.animationState&&n.whileHover&&e.animationState.setActive("whileHover","Start"===r);let i=n["onHover"+r];i&&O.postRender(()=>i(t,rp(t)))}class is extends re{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,r={}){let[n,i,o]=ro(e,r),a=ra(e=>{let{target:r}=e,n=t(e);if(!n||!r)return;let o=ra(e=>{n(e),r.removeEventListener("pointerleave",o)});r.addEventListener("pointerleave",o,i)});return n.forEach(e=>{e.addEventListener("pointerenter",a,i)}),o}(e,e=>(ia(this.node,e,"Start"),e=>ia(this.node,e,"End"))))}unmount(){}}class il extends re{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(rm(this.node.current,"focus",()=>this.onFocus()),rm(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function iu(e,t,r){let{props:n}=e;e.animationState&&n.whileTap&&e.animationState.setActive("whileTap","Start"===r);let i=n["onTap"+("End"===r?"":r)];i&&O.postRender(()=>i(t,rp(t)))}class ic extends re{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,r={}){let[n,i,o]=ro(e,r),a=e=>{let n=e.currentTarget;if(!rf(e)||rl.has(n))return;rl.add(n);let o=t(e),a=(e,t)=>{window.removeEventListener("pointerup",s),window.removeEventListener("pointercancel",l),rf(e)&&rl.has(n)&&(rl.delete(n),o&&o(e,{success:t}))},s=e=>{a(e,r.useGlobalTarget||rd(n,e.target))},l=e=>{a(e,!1)};window.addEventListener("pointerup",s,i),window.addEventListener("pointercancel",l,i)};return n.forEach(e=>{rh.has(e.tagName)||-1!==e.tabIndex||(e.tabIndex=0),(r.useGlobalTarget?window:e).addEventListener("pointerdown",a,i),e.addEventListener("focus",e=>((e,t)=>{let r=e.currentTarget;if(!r)return;let n=ru(()=>{if(rl.has(r))return;rc(r,"down");let e=ru(()=>{rc(r,"up")});r.addEventListener("keyup",e,t),r.addEventListener("blur",()=>rc(r,"cancel"),t)});r.addEventListener("keydown",n,t),r.addEventListener("blur",()=>r.removeEventListener("keydown",n),t)})(e,i),i)}),o}(e,e=>(iu(this.node,e,"Start"),(e,{success:t})=>iu(this.node,e,t?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let ih=new WeakMap,id=new WeakMap,ip=e=>{let t=ih.get(e.target);t&&t(e)},im=e=>{e.forEach(ip)},iv={some:0,all:1};class iy extends re{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:r,amount:n="some",once:i}=e,o={root:t?t.current:void 0,rootMargin:r,threshold:"number"==typeof n?n:iv[n]},a=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:r,onViewportLeave:n}=this.node.getProps(),o=t?r:n;o&&o(e)};var s=this.node.current;let l=function({root:e,...t}){let r=e||document;id.has(r)||id.set(r,{});let n=id.get(r),i=JSON.stringify(t);return n[i]||(n[i]=new IntersectionObserver(im,{root:e,...t})),n[i]}(o);return ih.set(s,a),l.observe(s),()=>{ih.delete(s),l.unobserve(s)}}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 r=>e[r]!==t[r]}(e,t))&&this.startObserver()}unmount(){}}let ig=(0,r4.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),ib=(0,r4.createContext)({}),i_="undefined"!=typeof window,iE=i_?r4.useLayoutEffect:r4.useEffect,iT=(0,r4.createContext)({strict:!1});function iw(e){return i(e.animate)||d.some(t=>s(e[t]))}function ix(e){return!!(iw(e)||e.variants)}function iS(e){return Array.isArray(e)?e.join(" "):e}let ik={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"]},iO={};for(let e in ik)iO[e]={isEnabled:t=>ik[e].some(e=>!!t[e])};let iC=Symbol.for("motionComponentSymbol"),iA=["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 iD(e){if("string"!=typeof e||e.includes("-"));else if(iA.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}function iR(e,{style:t,vars:r},n,i){for(let o in Object.assign(e.style,t,i&&i.getProjectionStyles(n)),r)e.style.setProperty(o,r[o])}let iP=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 iN(e,t,r,n){for(let r in iR(e,t,void 0,n),t.attrs)e.setAttribute(iP.has(r)?r:tJ(r),t.attrs[r])}function iI(e,{layout:t,layoutId:r}){return p.has(e)||e.startsWith("origin")||(t||void 0!==r)&&(!!ni[e]||"opacity"===e)}function iM(e,t,r){var n;let{style:i}=e,o={};for(let a in i)(t0(i[a])||t.style&&t0(t.style[a])||iI(a,e)||(null==(n=null==r?void 0:r.getValue(a))?void 0:n.liveStyle)!==void 0)&&(o[a]=i[a]);return o}function iF(e,t,r){let n=iM(e,t,r);for(let r in e)(t0(e[r])||t0(t[r]))&&(n[-1!==f.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]);return n}let iL=e=>(t,r)=>{let n=(0,r4.useContext)(ib),o=(0,r4.useContext)(r6),a=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},n,o,a){let s={latestValues:function(e,t,r,n){let o={},a=n(e,{});for(let e in a)o[e]=nF(a[e]);let{initial:s,animate:l}=e,c=iw(e),h=ix(e);t&&h&&!c&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===l&&(l=t.animate));let d=!!r&&!1===r.initial,f=(d=d||!1===s)?l:s;if(f&&"boolean"!=typeof f&&!i(f)){let t=Array.isArray(f)?f:[f];for(let r=0;r<t.length;r++){let n=u(e,t[r]);if(n){let{transitionEnd:e,transition:t,...r}=n;for(let e in r){let t=r[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,a,e),renderState:t()};return r&&(s.mount=e=>r(n,e,s)),s})(e,t,n,o);return r?a():function(e){let t=(0,r4.useRef)(null);return null===t.current&&(t.current=e()),t.current}(a)},ij=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),iV=()=>({...ij(),attrs:{}}),iU=(e,t)=>t&&"number"==typeof e?t.transform(e):e,iq={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},iB=f.length;function iz(e,t,r){let{style:n,vars:i,transformOrigin:o}=e,a=!1,s=!1;for(let e in t){let r=t[e];if(p.has(e)){a=!0;continue}if(W(e)){i[e]=r;continue}{let t=iU(r,eK[e]);e.startsWith("origin")?(s=!0,o[e]=t):n[e]=t}}if(!t.transform&&(a||r?n.transform=function(e,t,r){let n="",i=!0;for(let o=0;o<iB;o++){let a=f[o],s=e[a];if(void 0===s)continue;let l=!0;if(!(l="number"==typeof s?s===+!!a.startsWith("scale"):0===parseFloat(s))||r){let e=iU(s,eK[a]);if(!l){i=!1;let t=iq[a]||a;n+=`${t}(${e}) `}r&&(t[a]=e)}}return n=n.trim(),r?n=r(t,i?"":n):i&&(n="none"),n}(t,e.transform,r):n.transform&&(n.transform="none")),s){let{originX:e="50%",originY:t="50%",originZ:r=0}=o;n.transformOrigin=`${e} ${t} ${r}`}}function iQ(e,t,r){return"string"==typeof e?e:en.transform(t+r*e)}let iW={offset:"stroke-dashoffset",array:"stroke-dasharray"},iH={offset:"strokeDashoffset",array:"strokeDasharray"};function iK(e,{attrX:t,attrY:r,attrScale:n,originX:i,originY:o,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...u}
1,c,h){if(iz(e,u,h),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:f,dimensions:p}=e;d.transform&&(p&&(f.transform=d.transform),delete d.transform),p&&(void 0!==i||void 0!==o||f.transform)&&(f.transformOrigin=function(e,t,r){let n=iQ(t,e.x,e.width),i=iQ(r,e.y,e.height);return`${n} ${i}`}(p,void 0!==i?i:.5,void 0!==o?o:.5)),void 0!==t&&(d.x=t),void 0!==r&&(d.y=r),void 0!==n&&(d.scale=n),void 0!==a&&function(e,t,r=1,n=0,i=!0){e.pathLength=1;let o=i?iW:iH;e[o.offset]=en.transform(-n);let a=en.transform(t),s=en.transform(r);e[o.array]=`${a} ${s}`}(d,a,s,l,!1)}let iG=e=>"string"==typeof e&&"svg"===e.toLowerCase(),iY={useVisualState:iL({scrapeMotionValuesFromProps:iF,createRenderState:iV,onMount:(e,t,{renderState:r,latestValues:n})=>{O.read(()=>{try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){r.dimensions={x:0,y:0,width:0,height:0}}}),O.render(()=>{iK(r,n,iG(t.tagName),e.transformTemplate),iN(t,r)})}})},i$={useVisualState:iL({scrapeMotionValuesFromProps:iM,createRenderState:ij})};function iX(e,t,r){for(let n in t)t0(t[n])||iI(n,r)||(e[n]=t[n])}let iJ=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 iZ(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||iJ.has(e)}let i0=e=>
1!iZ(e);try{!function(e){e&&(i0=t=>t.startsWith("on")?!iZ(t):e(t))}(require("@emotion/is-prop-valid").default)}catch(e){}let i1={current:null},i2={current:!1},i3=new WeakMap,i5=[...em,eP,eq],i8=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class i9{scrapeMotionValuesFromProps(e,t,r){return{}}constructor({parent:e,props:t,presenceContext:r,reducedMotionConfig:n,blockInitialAnimation:i,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=eT,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,O.render(this.render,!1,!0))};let{latestValues:s,renderState:l}=o;this.latestValues=s,this.baseTarget={...s},this.initialValues=t.initial?{...s}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.options=a,this.blockInitialAnimation=!!i,this.isControllingVariants=iw(t),this.isVariantNode=ix(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!==s[e]&&t0(t)&&t.set(s[e],!1)}}mount(e){this.current=e,i3.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)),i2.current||function(){if(i2.current=!0,i_)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>i1.current=e.matches;e.addListener(t),t()}else i1.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||i1.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in i3.delete(this.current),this.projection&&this.projection.unmount(),C(this.notifyUpdate),C(this.render),this.valueSubscriptions.forEach(e=>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 r;this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();let n=p.has(e),i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&O.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),o=t.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{i(),o(),r&&r(),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 iO){let t=iO[e];if(!t)continue;let{isEnabled:r,Feature:n}=t;if(!this.features[e]&&n&&r(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):rL()}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<i8.length;t++){let r=i8[t];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);let n=e["on"+r];n&&(this.propEventSubscriptions[r]=this.on(r,n))}this.prevMotionValues=function(e,t,r){for(let n in t){let i=t[n],o=r[n];if(t0(i))e.addValue(n,i);else if(t0(o))e.addValue(n,tX(i,{owner:e}));else if(o!==i)if(e.hasValue(n)){let t=e.getValue(n);!0===t.liveStyle?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(n);e.addValue(n,tX(void 0!==t?t:i,{owner:e}))}}for(let n in r)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}
1addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let r=this.values.get(e);t!==r&&(r&&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 r=this.values.get(e);return void 0===r&&void 0!==t&&(r=tX(null===t?void 0:t,{owner:this}),this.addValue(e,r)),r}readValue(e,t){var r;let n=void 0===this.latestValues[e]&&this.current?null!=(r=this.getBaseTargetFromProps(this.props,e))?r:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];if(null!=n){if("string"==typeof n&&(z(n)||B(n)))n=parseFloat(n);else{let r;r=n,!i5.find(ep(r))&&eq.test(t)&&(n=e$(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 r,{initial:n}=this.props;if("string"==typeof n||"object"==typeof n){let i=u(this.props,n,null==(t=this.presenceContext)?void 0:t.custom);i&&(r=i[e])}if(n&&void 0!==r)return r;let i=this.getBaseTargetFromProps(this.props,e);return void 0===i||t0(i)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:i}on(e,t){return this.events[e]||(this.events[e]=new tG),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class i4 extends i9{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:r}){delete t[e],delete r[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 i6 extends i4{constructor(){super(...arguments),this.type="html",this.renderInstance=iR}readValueFromInstance(e,t){if(p.has(t)){let e=eY(t);return e&&e.default||0}{let r=window.getComputedStyle(e),n=(W(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:t}){return r$(e,t)}build(e,t,r){iz(e,t,r.transformTemplate)}scrapeMotionValuesFromProps(e,t,r){return iM(e,t,r)}}class i7 extends i4{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=rL}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(p.has(t)){let e=eY(t);return e&&e.default||0}return t=iP.has(t)?t:tJ(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,r){return iF(e,t,r)}build(e,t,r){iK(e,t,this.isSVGTag,r.transformTemplate)}renderInstance(e,t,r,n){iN(e,t,r,n)}mount(e){this.isSVGTag=iG(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:(r,n)=>"create"===n?e:(t.has(n)||t.set(n,e(n)),t.get(n))})}((r5={animation:{Feature:rt},exit:{Feature:rn},inView:{Feature:iy},tap:{Feature:ic},focus:{Feature:il},hover:{Feature:is},pan:{Feature:r3},drag:{Feature:r1,ProjectionNode:io,MeasureLayout:nl},layout:{ProjectionNode:io,MeasureLayout:nl}},r8=(e,t)=>iD(e)?new i7(t):new i6(t,{allowProjection:e!==r4.Fragment}),function(e,{forwardMotionProps:t}={forwardMotionProps:!1}){return function({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:n,Component:i}){e&&function(e){for(let t in e)iO[t]={...iO[t],...e[t]}}(e);let o=(0,r4.forwardRef)(function(e,o){var a,l,u;let c,h={...(0,r4.useContext)(ig),...e,layoutId:function({layoutId:e}){let t=(0,r4.useContext)(r7).id;return t&&void 0!==e?t+"-"+e:e}(e)},{isStatic:d}=h,f=function(e){let{initial:t,animate:r}=function(e,t){if(iw(e)){let{initial:t,animate:r}=e;return{initial:!1===t||s(t)?t:void 0,animate:s(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,r4.useContext)(ib));return(0,r4.useMemo)(()=>({initial:t,animate:r}),[iS(t),iS(r)])}(e),p=n(e,d);if(!d&&i_){l=0,u=0,(0,r4.useContext)(iT).strict;let e=function(e){let{drag:t,layout:r}=iO;if(!t&&!r)return{};let n={...t,...r};return{MeasureLayout:(null==t?void 0:t.isEnabled(e))||(null==r?void 0:r.isEnabled(e))?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}
1(h);c=e.MeasureLayout,f.visualElement=function(e,t,r,n,i){var o,a;let{visualElement:s}=(0,r4.useContext)(ib),l=(0,r4.useContext)(iT),u=(0,r4.useContext)(r6),c=(0,r4.useContext)(ig).reducedMotion,h=(0,r4.useRef)(null);n=n||l.renderer,!h.current&&n&&(h.current=n(e,{visualState:t,parent:s,props:r,presenceContext:u,blockInitialAnimation:!!u&&!1===u.initial,reducedMotionConfig:c}));let d=h.current,f=(0,r4.useContext)(ne);d&&!d.projection&&i&&("html"===d.type||"svg"===d.type)&&function(e,t,r,n){let{layoutId:i,layout:o,drag:a,dragConstraints:s,layoutScroll:l,layoutRoot:u}=t;e.projection=new r(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:i,layout:o,alwaysMeasureLayout:!!a||s&&rw(s),visualElement:e,animationType:"string"==typeof o?o:"both",initialPromotionConfig:n,layoutScroll:l,layoutRoot:u})}(h.current,r,i,f);let p=(0,r4.useRef)(!1);(0,r4.useInsertionEffect)(()=>{d&&p.current&&d.update(r,u)});let m=r[tZ],v=(0,r4.useRef)(!!m&&!(null==(o=window.MotionHandoffIsComplete)?void 0:o.call(window,m))&&(null==(a=window.MotionHasOptimisedAnimation)?void 0:a.call(window,m)));return iE(()=>{d&&(p.current=!0,window.MotionIsMounted=!0,d.updateFeatures(),no.render(d.render),v.current&&d.animationState&&d.animationState.animateChanges())}),(0,r4.useEffect)(()=>{d&&(!v.current&&d.animationState&&d.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{var e;null==(e=window.MotionHandoffMarkAsComplete)||e.call(window,m)}),v.current=!1))}),d}(i,p,h,t,e.ProjectionNode)}return(0,r9.jsxs)(ib.Provider,{value:f,children:[c&&f.visualElement?(0,r9.jsx)(c,{visualElement:f.visualElement,...h}):null,r(i,e,(a=f.visualElement,(0,r4.useCallback)(e=>{e&&p.mount&&p.mount(e),a&&(e?a.mount(e):a.unmount()),o&&("function"==typeof o?o(e):rw(o)&&(o.current=e))},[a])),p,d,f.visualElement)]})});return o[iC]=i,o}({...iD(e)?iY:i$,preloadedFeatures:r5,useRender:function(e=!1){return(t,r,n,{latestValues:i},o)=>{let a=(iD(t)?function(e,t,r,n){let i=(0,r4.useMemo)(()=>{let r=iV();return iK(r,t,iG(n),e.transformTemplate),{...r.attrs,style:{...r.style}}},[t]);if(e.style){let t={};iX(t,e.style,e),i.style={...t,...i.style}}return i}:function(e,t){let r={},n=function(e,t){let r=e.style||{},n={};return iX(n,r,e),Object.assign(n,function({transformTemplate:e},t){return(0,r4.useMemo)(()=>{let r=ij();return iz(r,t,e),Object.assign({},r.vars,r.style)},[t])}(e,t)),n}(e,t);return e.drag&&!1!==e.dragListener&&(r.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=n,r})(r,i,o,t),s=function(e,t,r){let n={};for(let i in e)("values"!==i||"object"!=typeof e.values)&&(i0(i)||!0===r&&iZ(i)||!t&&!iZ(i)||e.draggable&&i.startsWith("onDrag"))&&(n[i]=e[i]);return n}(r,"string"==typeof t,e),l=t!==r4.Fragment?{...s,...a,ref:n}:{},{children:u}=r,c=(0,r4.useMemo)(()=>t0(u)?u.get():u,[u]);return(0,r4.createElement)(t,{...l,children:c})}}(t),createVisualElement:r8,Component:e})}))},25944:(e,t,r)=>{"use strict";r.d(t,{D:()=>ek});var n=r(20095),i=r(17318),o=r(48069),a=r(20996),s=r(68922),l=r(80593),u=r(45813),c=r(15072),h=r(48131),d=r(99853),f=r(17070),p=r(19221),m=r(28347),v=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,o.LV)(s.ct,{max:l.v["cache.fragmentQueryDocuments"]||1e3,cache:d.l})}return e.prototype.lookupFragment=function(e){return null},e.prototype.batch=function(e){var t,r=this,n="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction(function(){return t=e.update(r)},n),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,n.Cl)((0,n.Cl)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.watchFragment=function(e){var t,r=this,o=e.fragment,a=e.fragmentName,s=e.from,l=e.optimistic,d=(0,n.Tt)(e,["fragment","fragmentName","from","optimistic"]),f=this.getFragmentDoc(o,a),v=void 0===s||"string"==typeof s?s:this.identify(s),y=!!e[Symbol.for("apollo.dataMasking")];if(!1!==globalThis.__DEV__){var g=a||(0,u.E4)(o).name.value;v||!1===globalThis.__DEV__||i.V1.warn(1,g)}var b=(0,n.Cl)((0,n.Cl)({},d),{returnPartialData:!0,id:v,query:f,optimistic:void 0===l||l});return new c.c(function(e){return r.watch((0,n.Cl)((0,n.Cl)({},b),{immediate:!0,callback:function(i){var s=y?(0,m.z)(i.result,o,r,a):i.result;if(!(t&&(0,p.a)(f,{data:null==t?void 0:t.result},{data:s}))){var l={data:s,complete:!!i.complete};i.missing&&(l.missing=(0,h.IM)(i.missing.map(function(e){return e.missing}))),t=(0,n.Cl)((0,n.Cl)({},i),{result:s}),e.next(l)}}}))})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,n.Cl)((0,n.Cl)({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,r=e.data,i=(0,n.Tt)(e,["id","data"]);return this.write(Object.assign(i,{dataId:t||"ROOT_QUERY",result:r}))},e.prototype.writeFragment=function(e){var t=e.id,r=e.data,i=e.fragment,o=e.fragmentName,a=(0,n.Tt)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(a,{query:this.getFragmentDoc(i,o),dataId:t,result:r}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(r){var i=r.readQuery(e),o=t(i);return null==o?i:(r.writeQuery((0,n.Cl)((0,n.Cl)({},e),{data:o})),o)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(r){var i=r.readFragment(e),o=t(i);return null==o?i:(r.writeFragment((0,n.Cl)((0,n.Cl)({},e),{data:o})),o)}})},e}();!1!==globalThis.__DEV__&&(v.prototype.getMemoryInternals=f.tQ);var y=function(e){function t(r,n,i,o){var a,s=e.call(this,r)||this;if(s.message=r,s.path=n,s.query=i,s.variables=o,Array.isArray(s.path)){s.missing=s.message;for(var l=s.path.length-1;l>=0;--l)(a={})[s.path[l]]=s.missing,s.missing=a}else s.missing=s.path;return s.__proto__=t.prototype,s}return(0,n.C6)(t,e),t}(Error),g=r(60592),b=r(61055),_=r(26828),E=r(3322),T=r(58851),w=r(94587),x=r(80542),S=r(79760),k=r(71211),O=r(21500),C=r(93957),A=r(39668),D=r(35785),R=Object.prototype.hasOwnProperty;function P(e){return null==e}function N(e,t){var r=e.__typename,n=e.id,i=e._id;if("string"==typeof r&&(t&&(t.keyObject=P(n)?P(i)?void 0:{_id:i}:{id:n}),P(n)&&!P(i)&&(n=i),!P(n)))return"".concat(r,":").concat("number"==typeof n||"string"==typeof n?n:JSON.stringify(n))}var I={dataIdFromObject:N,addTypename:!0,resultCaching:!0,canonizeResults:!1};function M(e){var t=e.canonizeResults;return void 0===t?I.canonizeResults:t}var F=/^[_a-z][_0-9a-z]*/i;function L(e){var t=e.match(F);return t?t[0]:e}function j(e){return(0,C.U)(e)&&!(0,T.A_)(e)&&!(0,D.c)(e)}function V(e,t){var r=(0,s.JG)((0,u.zK)(e));return{fragmentMap:r,lookupFragment:function(e){var n=r[e];return!n&&t&&(n=t.lookup(e)),n||null}}}var U=Object.create(null),q=function(){return U},B=Object.create(null),z=function(){function e(e,t){var r=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return(0,O.G)((0,T.A_)(e)?r.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,T.A_)(e)?r.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return(0,T.WU)(e);if((0,T.A_)(e))return e;var n=r.policies.identify(e)[0];if(n){var i=(0,T.WU)(n);return t&&r.merge(n,e),i}}}return e.prototype.toObject=function(){return(0,n.Cl)({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,t){if(this.group.depend(e,t),R.call(this.data,e)){var r=this.data[e];if(r&&R.call(r,t))return r[t]}return"__typename"===t&&R.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof H?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return(t&&this.group.depend(e,"__exists"),R.call(this.data,e))?this.data[e]:this instanceof H?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var r,n=this;(0,T.A_)(e)&&(e=e.__ref),(0,T.A_)(t)&&(t=t.__ref);
1var o="string"==typeof e?this.lookup(r=e):e,a="string"==typeof t?this.lookup(r=t):t;if(a){(0,i.V1)("string"==typeof r,2);var s=new h.ZI(G).merge(o,a);if(this.data[r]=s,s!==o&&(delete this.refs[r],this.group.caching)){var l=Object.create(null);o||(l.__exists=1),Object.keys(a).forEach(function(e){if(!o||o[e]!==s[e]){l[e]=1;var t=L(e);t===e||n.policies.hasKeyArgs(s.__typename,t)||(l[t]=1),void 0!==s[e]||n instanceof H||delete s[e]}}),l.__typename&&!(o&&o.__typename)&&this.policies.rootTypenamesById[r]===s.__typename&&delete l.__typename,Object.keys(l).forEach(function(e){return n.group.dirty(r,e)})}}},e.prototype.modify=function(e,t){var r=this,o=this.lookup(e);if(o){var a=Object.create(null),s=!1,l=!0,u={DELETE:U,INVALIDATE:B,isReference:T.A_,toReference:this.toReference,canRead:this.canRead,readField:function(t,n){return r.policies.readField("string"==typeof t?{fieldName:t,from:n||(0,T.WU)(e)}:t,{store:r})}};if(Object.keys(o).forEach(function(c){var h=L(c),d=o[c];if(void 0!==d){var f="function"==typeof t?t:t[c]||t[h];if(f){var p=f===q?U:f((0,O.G)(d),(0,n.Cl)((0,n.Cl)({},u),{fieldName:h,storeFieldName:c,storage:r.getStorage(e,c)}));if(p===B)r.group.dirty(e,c);else if(p===U&&(p=void 0),p!==d&&(a[c]=p,s=!0,d=p,!1!==globalThis.__DEV__)){var m=function(e){if(void 0===r.lookup(e.__ref))return!1!==globalThis.__DEV__&&i.V1.warn(3,e),!0};if((0,T.A_)(p))m(p);else if(Array.isArray(p))for(var v=!1,y=void 0,g=0,b=p;g<b.length;g++){var _=b[g];if((0,T.A_)(_)){if(v=!0,m(_))break}else"object"==typeof _&&_&&r.policies.identify(_)[0]&&(y=_);if(v&&void 0!==y){!1!==globalThis.__DEV__&&i.V1.warn(4,y);break}}}}void 0!==d&&(l=!1)}}),s)return this.merge(e,a),l&&(this instanceof H?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,r){var n,i=this.lookup(e);if(i){var o=this.getFieldValue(i,"__typename"),a=t&&r?this.policies.getStoreFieldName({typename:o,fieldName:t,args:r}):t;return this.modify(e,a?((n={})[a]=q,n):q)}return!1},e.prototype.evict=function(e,t){var r=!1;return e.id&&(R.call(this.data,e.id)&&(r=this.delete(e.id,e.fieldName,e.args)),this instanceof H&&this!==t&&(r=this.parent.evict(e,t)||r),(e.fieldName||r)&&this.group.dirty(e.id,e.fieldName||"__exists")),r},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,t=this.toObject(),r=[];return this.getRootIdSet().forEach(function(t){R.call(e.policies.rootTypenamesById,t)||r.push(t)}),r.length&&(t.__META={extraRootIds:r.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach(function(r){e&&R.call(e,r)||t.delete(r)}),e){var r=e.__META,i=(0,n.Tt)(e,["__META"]);
1Object.keys(i).forEach(function(e){t.merge(e,i[e])}),r&&r.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof H?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),r=this.toObject();t.forEach(function(n){R.call(r,n)&&(Object.keys(e.findChildRefIds(n)).forEach(t.add,t),delete r[n])});var n=Object.keys(r);if(n.length){for(var i=this;i instanceof H;)i=i.parent;n.forEach(function(e){return i.delete(e)})}return n},e.prototype.findChildRefIds=function(e){if(!R.call(this.refs,e)){var t=this.refs[e]=Object.create(null),r=this.data[e];if(!r)return t;var n=new Set([r]);n.forEach(function(e){(0,T.A_)(e)&&(t[e.__ref]=!0),(0,C.U)(e)&&Object.keys(e).forEach(function(t){var r=e[t];(0,C.U)(r)&&n.add(r)})})}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),Q=function(){function e(e,t){void 0===t&&(t=null),this.caching=e,this.parent=t,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?(0,o.yN)():null,this.keyMaker=new A.b(x.et)}
1,e.prototype.depend=function(e,t){if(this.d){this.d(t+"#"+e);var r=L(t);r!==t&&this.d(r+"#"+e),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(t+"#"+e,"__exists"===t?"forget":"setDirty")},e}();function W(e,t){Y(e)&&e.group.depend(t,"__exists")}!function(e){var t=function(e){function t(t){var r=t.policies,n=t.resultCaching,i=t.seed,o=e.call(this,r,new Q(void 0===n||n))||this;return o.stump=new K(o),o.storageTrie=new A.b(x.et),i&&o.replace(i),o}return(0,n.C6)(t,e),t.prototype.addLayer=function(e,t){return this.stump.addLayer(e,t)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(e);e.Root=t}(z||(z={}));var H=function(e){function t(t,r,n,i){var o=e.call(this,r.policies,i)||this;return o.id=t,o.parent=r,o.replay=n,o.group=i,n(o),o}return(0,n.C6)(t,e),t.prototype.addLayer=function(e,r){return new t(e,this,r,this.group)},t.prototype.removeLayer=function(e){var t=this,r=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(e){var n=t.data[e],i=r.lookup(e);i?n?n!==i&&Object.keys(n).forEach(function(r){(0,a.L)(n[r],i[r])||t.group.dirty(e,r)}
1):(t.group.dirty(e,"__exists"),Object.keys(i).forEach(function(r){t.group.dirty(e,r)})):t.delete(e)}),r):r===this.parent?this:r.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,n.Cl)((0,n.Cl)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var r=this.parent.findChildRefIds(t);return R.call(this.data,t)?(0,n.Cl)((0,n.Cl)({},r),e.prototype.findChildRefIds.call(this,t)):r},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(z),K=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,function(){},new Q(t.group.caching,t.group))||this}return(0,n.C6)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(e,t){return this.parent.merge(e,t)},t}(H);function G(e,t,r){var n=e[r],i=t[r];return(0,a.L)(n,i)?n:i}function Y(e){return!!(e instanceof z&&e.group.caching)}var $=function(){function e(){this.known=new(x.En?WeakSet:Set),this.pool=new A.b(x.et),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,C.U)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,C.U)(e)){var t=(0,C.U)(e)?(0,D.c)(e)?e.slice(0):(0,n.Cl)({__proto__:Object.getPrototypeOf(e)},e):e;return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if((0,C.U)(e)){var r=this.passes.get(e);if(r)return r;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))break;var n=e.map(this.admit,this),i=this.pool.lookupArray(n);return i.array||(this.known.add(i.array=n),!1!==globalThis.__DEV__&&Object.freeze(n)),i.array;case null:case Object.prototype:if(this.known.has(e))break;var o=Object.getPrototypeOf(e),a=[o],s=this.sortedKeys(e);a.push(s.json);var l=a.length;s.sorted.forEach(function(r){a.push(t.admit(e[r]))});var i=this.pool.lookupArray(a);if(!i.object){var u=i.object=Object.create(o);this.known.add(u),s.sorted.forEach(function(e,t){u[e]=a[l+t]}),!1!==globalThis.__DEV__&&Object.freeze(u)}return i.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),r=this.pool.lookupArray(t);if(!r.keys){t.sort();var n=JSON.stringify(t);(r.keys=this.keysByJSON.get(n))||this.keysByJSON.set(n,r.keys={sorted:t,json:n})}return r.keys},e}();function X(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var J=function(){function e(e){var t=this;this.knownResults=new(x.et?WeakMap:Map),this.config=(0,S.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:M(e)}),this.canon=e.canon||new $,this.executeSelectionSet=(0,o.LV)(function(e){var r,i=e.context.canonizeResults,o=X(e);o[3]=!i;var a=(r=t.executeSelectionSet).peek.apply(r,o);return a?i?(0,n.Cl)((0,n.Cl)({},a),{result:t.canon.admit(a.result)}):a:(W(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize||l.v["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:X,makeCacheKey:function(e,t,r,n){if(Y(r.store))return r.store.makeCacheKey(e,(0,T.A_)(t)?t.__ref:t,r.varString,n)}}),this.executeSubSelectedArray=(0,o.LV)(function(e){return W(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize||l.v["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,r=e.array,n=e.context;if(Y(n.store))return n.store.makeCacheKey(t,r,n.varString)}})}return e.prototype.resetCanon=function(){this.canon=new $},e.prototype.diffQueryAgainstStore=function(e){var t,r=e.store,i=e.query,o=e.rootId,a=e.variables,s=e.returnPartialData,l=e.canonizeResults,c=void 0===l?this.config.canonizeResults:l,h=this.config.cache.policies;a=(0,n.Cl)((0,n.Cl)({},(0,u.wY)((0,u.AT)(i))),a);var d=(0,T.WU)(void 0===o?"ROOT_QUERY":o),f=this.executeSelectionSet({selectionSet:(0,u.Vn)(i).selectionSet,objectOrReference:d,enclosingRef:d,context:(0,n.Cl)({store:r,query:i,policies:h,variables:a,varString:(0,_.M)(a),canonizeResults:c},V(i,this.config.fragments))});if(f.missing&&(t=[new y(function(e){try{JSON.stringify(e,function(e,t){if("string"==typeof t)throw t;return t})}catch(e){return e}}(f.missing),f.missing,i,a)],!(void 0===s||s)))throw t[0];return{result:f.result,complete:!t,missing:t}},e.prototype.isFresh=function(e,t,r,n){if(Y(n.store)&&this.knownResults.get(e)===r){var i=this.executeSelectionSet.peek(r,t,n,this.canon.isKnown(e));if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t,r=this,n=e.selectionSet,o=e.objectOrReference,a=e.enclosingRef,l=e.context;if((0,T.A_)(o)&&!l.policies.rootTypenamesById[o.__ref]&&!l.store.has(o.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(o.__ref," object")};var u=l.variables,c=l.policies,d=l.store.getFieldValue(o,"__typename"),f=[],p=new h.ZI;function m(e,r){var n;return e.missing&&(t=p.merge(t,((n={})[r]=e.missing,n))),e.result}this.config.addTypename&&"string"==typeof d&&!c.rootIdsByTypename[d]&&f.push({__typename:d});var v=new Set(n.selections);v.forEach(function(e){var n,h;if((0,k.MS)(e,u))if((0,T.dt)(e)){var y=c.readField({fieldName:e.n
1ame.value,field:e,variables:l.variables,from:o},l),g=(0,T.ue)(e);void 0===y?b.XY.added(e)||(t=p.merge(t,((n={})[g]="Can't find field '".concat(e.name.value,"' on ").concat((0,T.A_)(o)?o.__ref+" object":"object "+JSON.stringify(o,null,2)),n))):(0,D.c)(y)?y.length>0&&(y=m(r.executeSubSelectedArray({field:e,array:y,enclosingRef:a,context:l}),g)):e.selectionSet?null!=y&&(y=m(r.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:y,enclosingRef:(0,T.A_)(y)?y:a,context:l}),g)):l.canonizeResults&&(y=r.canon.pass(y)),void 0!==y&&f.push(((h={})[g]=y,h))}else{var _=(0,s.HQ)(e,l.lookupFragment);if(!_&&e.kind===w.b.FRAGMENT_SPREAD)throw(0,i.vA)(10,e.name.value);_&&c.fragmentMatches(_,d)&&_.selectionSet.selections.forEach(v.add,v)}});var y={result:(0,h.IM)(f),missing:t},g=l.canonizeResults?this.canon.admit(y):(0,O.G)(y);return g.result&&this.knownResults.set(g.result,n),g},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,n=e.field,o=e.array,a=e.enclosingRef,s=e.context,l=new h.ZI;function u(e,r){var n;return e.missing&&(t=l.merge(t,((n={})[r]=e.missing,n))),e.result}return n.selectionSet&&(o=o.filter(s.store.canRead)),o=o.map(function(e,t){return null===e?null:(0,D.c)(e)?u(r.executeSubSelectedArray({field:n,array:e,enclosingRef:a,context:s}),t):n.selectionSet?u(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,enclosingRef:(0,T.A_)(e)?e:a,context:s}),t):(!1!==globalThis.__DEV__&&function(e,t,r){if(!t.selectionSet){var n=new Set([r]);n.forEach(function(r){(0,C.U)(r)&&((0,i.V1)(!(0,T.A_)(r),11,(0,T.A_)(r)?e.get(r.__ref,"__typename"):r&&r.__typename,t.name.value),Object.values(r).forEach(n.add,n))})}}(s.store,n,e),e)}),{result:s.canonizeResults?this.canon.admit(o):o,missing:t}},e}(),Z=r(54962),ee=r(62091),et=r(48235),er=Object.create(null);function en(e){var t=JSON.stringify(e);return er[t]||(er[t]=Object.create(null))}function ei(e){var t=en(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,r){var n=function(e,t){return r.readField(t,e)},o=r.keyObject=ea(e,function(e){var o=el(r.storeObject,e,n);return void 0===o&&t!==r.storeObject&&R.call(t,e[0])&&(o=el(t,e,es)),(0,i.V1)(void 0!==o,5,e.join("."),t),o});return"".concat(r.typename,":").concat(JSON.stringify(o))})}function eo(e){var t=en(e);return t.keyArgsFn||(t.keyArgsFn=function(t,r){var n=r.field,i=r.variables,o=r.fieldName,a=JSON.stringify(ea(e,function(e){var r=e[0],o=r.charAt(0);if("@"===o){if(n&&(0,D.E)(n.directives)){var a=r.slice(1),s=n.directives.find(function(e){return e.name.value===a}),l=s&&(0,T.MB)(s,i);return l&&el(l,e.slice(1))}return}if("$"===o){var u=r.slice(1);if(i&&R.call(i,u)){var c=e.slice(0);return c[0]=u,el(i,c)}return}if(t)return el(t,e)}));return(t||"{}"!==a)&&(o+=":"+a),o})}function ea(e,t){var r=new h.ZI;return(function e(t){var r=en(t);if(!r.paths){var n=r.paths=[],i=[];t.forEach(function(r,o){(0,D.c)(r)?(e(r).forEach(function(e){return n.push(i.concat(e))}),i.length=0):(i.push(r),(0,D.c)(t[o+1])||(n.push(i.slice(0)),i.length=0))})}return r.paths})(e).reduce(function(e,n){var i,o=t(n);if(void 0!==o){for(var a=n.length-1;a>=0;--a)(i={})[n[a]]=o,o=i;e=r.merge(e,o)}return e},Object.create(null))}function es(e,t){return e[t]}function el(e,t,r){return r=r||es,function e(t){return(0,C.U)(t)?(0,D.c)(t)?t.map(e):ea(Object.keys(t).sort(),function(e){return el(t,e)}):t}(t.reduce(function e(t,n){return(0,D.c)(t)?t.map(function(t){return e(t,n)}):t&&r(t,n)},e))}var eu=r(90240);function ec(e){return void 0!==e.args?e.args:e.field?(0,T.MB)(e.field,e.variables):null}var eh=function(){},ed=function(e,t){return t.fieldName},ef=function(e,t,r){return(0,r.mergeObjects)(e,t)},ep=function(e,t){return t},em=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,n.Cl)({dataIdFromObject:N},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var r,i,o=this,a=t&&(t.typename||(null==(r=t.storeObject)?void 0:r.__typename))||e.__typename;if(a===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];var s=t&&t.storeObject||e,l=(0,n.Cl)((0,n.Cl)({},t),{typename:a,storeObject:s,readField:t&&t.readField||function(){var e=ey(arguments,s);return o.readField(e,{store:o.cache.data,variables:e.variables})}}),u=a&&this.getTypePolicy(a),c=u&&u.keyFn||this.config.dataIdFromObject;return eu.yV.withValue(!0,function(){for(;c;){var t=c((0,n.Cl)((0,n.Cl)({},e),s),l);if((0,D.c)(t))c=ei(t);else{i=t;break}}}),i=i?String(i):void 0,l.keyObject?[i,l.keyObject]:[i]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach(function(r){var i=e[r],o=i.queryType,a=i.mutationType,s=i.subscriptionType,l=(0,n.Tt)(i,["queryType","mutationType","subscriptionType"]);o&&t.setRootTypename("Query",r),a&&t.setRootTypename("Mutation",r),s&&t.setRootTypename("Subscription",r),R.call(t.toBeAdded,r)?t.toBeAdded[r].push(l):t.toBeAdded[r]=[l]})},e.prototype.updateTypePolicy=function(e,t){var r=this,n=this.getTypePolicy(e),i=t.keyFields,o=t.fields;function a(e,t){e.merge="function"==typeof t?t:!0===t?ef:!1===t?ep:e.merge}a(n,t.merge),n.keyFn=!1===i?eh:(0,D.c)(i)?ei(i):"function"==typeof i?i:n.keyFn,o&&Object.keys(o).forEac
1h(function(t){var n=r.getFieldPolicy(e,t,!0),i=o[t];if("function"==typeof i)n.read=i;else{var s=i.keyArgs,l=i.read,u=i.merge;n.keyFn=!1===s?ed:(0,D.c)(s)?eo(s):"function"==typeof s?s:n.keyFn,"function"==typeof l&&(n.read=l),a(n,u)}n.read&&n.merge&&(n.keyFn=n.keyFn||ed)})},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var r="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[r];t!==n&&((0,i.V1)(!n||n===e,6,e),n&&delete this.rootIdsByTypename[n],this.rootIdsByTypename[t]=r,this.rootTypenamesById[r]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach(function(r){t.getSupertypeSet(r,!0),e[r].forEach(function(e){t.getSupertypeSet(e,!0).add(r);var n=e.match(F);n&&n[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;if(!R.call(this.typePolicies,e)){var r=this.typePolicies[e]=Object.create(null);r.fields=Object.create(null);var i=this.supertypeMap.get(e);!i&&this.fuzzySubtypes.size&&(i=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach(function(r,n){if(r.test(e)){var o=t.supertypeMap.get(n);o&&o.forEach(function(e){return i.add(e)})}})),i&&i.size&&i.forEach(function(e){var i=t.getTypePolicy(e),o=i.fields;Object.assign(r,(0,n.Tt)(i,["fields"])),Object.assign(r.fields,o)})}var o=this.toBeAdded[e];return o&&o.length&&o.splice(0).forEach(function(r){t.updateTypePolicy(e,r)}),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,r){if(e){var n=this.getTypePolicy(e).fields;return n[t]||r&&(n[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var r=this.supertypeMap.get(e);return!r&&t&&this.supertypeMap.set(e,r=new Set),r},e.prototype.fragmentMatches=function(e,t,r,n){var o=this;if(!e.typeCondition)return!0;if(!t)return!1;var a=e.typeCondition.name.value;if(t===a)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(a))for(var s=this.getSupertypeSet(t,!0),l=[s],u=function(e){var t=o.getSupertypeSet(e,!1);t&&t.size&&0>l.indexOf(t)&&l.push(t)},c=!!(r&&this.fuzzySubtypes.size),h=!1,d=0;d<l.length;++d){var f=l[d];if(f.has(a))return s.has(a)||(h&&!1!==globalThis.__DEV__&&i.V1.warn(7,t,a),s.add(a)),!0;f.forEach(u),c&&d===l.length-1&&function e(t,r,n){return!!(0,C.U)(r)&&((0,D.c)(r)?r.every(function(r){return e(t,r,n)}):t.selections.every(function(t){if((0,T.dt)(t)&&(0,k.MS)(t,n)){var i=(0,T.ue)(t);return R.call(r,i)&&(!t.selectionSet||e(t.selectionSet,r[i],n))}return!0}))}(e.selectionSet,r,n)&&(c=!1,h=!0,this.fuzzySubtypes.forEach(function(e,r){var n=t.match(e);n&&n[0]===t&&u(r)}))}return!1},e.prototype.hasKeyArgs=function(e,t){var r=this.getFieldPolicy(e,t,!1);return!!(r&&r.keyFn)},e.prototype.getStoreFieldName=function(e){var t,r=e.typename,n=e.fieldName,i=this.getFieldPolicy(r,n,!1),o=i&&i.keyFn;if(o&&r)for(var a={typename:r,fieldName:n,field:e.field||null,variables:e.variables},s=ec(e);o;){var l=o(s,a);if((0,D.c)(l))o=eo(l);else{t=l||n;break}}return(void 0===t&&(t=e.field?(0,T.Ii)(e.field,e.variables):(0,T.o5)(n,ec(e))),!1===t)?n:n===L(t)?t:n+":"+t},e.prototype.readField=function(e,t){var r=e.from;if(r&&(e.field||e.fieldName)){if(void 0===e.typename){var n=t.store.getFieldValue(r,"__typename");n&&(e.typename=n)}var i=this.getStoreFieldName(e),o=L(i),a=t.store.getFieldValue(r,i),s=this.getFieldPolicy(e.typename,o,!1),l=s&&s.read;if(l){var u=ev(this,r,e,t,t.store.getStorage((0,T.A_)(r)?r.__ref:r,i));return et.bl.withValue(this.cache,l,[a,u])}return a}},e.prototype.getReadFunction=function(e,t){var r=this.getFieldPolicy(e,t,!1);return r&&r.read},e.prototype.getMergeFunction=function(e,t,r){var n=this.getFieldPolicy(e,t,!1),i=n&&n.merge;return!i&&r&&(i=(n=this.getTypePolicy(r))&&n.merge),i},e.prototype.runMergeFunction=function(e,t,r,n,i){var o=r.field,a=r.typename,s=r.merge;return s===ef?eg(n.store)(e,t):s===ep?t:(n.overwrite&&(e=void 0),s(e,t,ev(this,void 0,{typename:a,fieldName:o.name.value,field:o,variables:n.variables},n,i||Object.create(null))))},e}();function ev(e,t,r,n,i){var o=e.getStoreFieldName(r),a=L(o),s=r.variables||n.variables,l=n.store,u=l.toReference,c=l.canRead;return{args:ec(r),field:r.field||null,fieldName:a,storeFieldName:o,variables:s,isReference:T.A_,toReference:u,storage:i,cache:e.cache,canRead:c,readField:function(){return e.readField(ey(arguments,t,s),n)},mergeObjects:eg(n.store)}}function ey(e,t,r){var o,a=e[0],s=e[1],l=e.length;return"string"==typeof a?o={fieldName:a,from:l>1?s:t}:(o=(0,n.Cl)({},a),R.call(o,"from")||(o.from=t)),!1!==globalThis.__DEV__&&void 0===o.from&&!1!==globalThis.__DEV__&&i.V1.warn(8,(0,ee.p)(Array.from(e))),void 0===o.variables&&(o.variables=r),o}function eg(e){return function(t,r){if((0,D.c)(t)||(0,D.c)(r))throw(0,i.vA)(9);if((0,C.U)(t)&&(0,C.U)(r)){var o=e.getFieldValue(t,"__typename"),a=e.getFieldValue(r,"__typename");if(o&&a&&o!==a)return r;if((0,T.A_)(t)&&j(r))return e.merge(t.__ref,r),t;if(j(t)&&(0,T.A_)(r))return e.merge(t,r.__ref),r;if(j(t)&&j(r))return(0,n.Cl)((0,n.Cl)({},t),r)}return r}}function eb(e,t,r){var i="".concat(t).concat(r),o=e.flavors.get(i);return o||e.flavors.set(i,o=e.clientOnly===t&&e.deferred===r?e:(0,n.Cl)((0,n.Cl)({},e),{clientOnly:t,deferred:r})),o}var e_=function(){function e(e,t,r){this.cache=e,this.reader=t,this.fragments=r}return e.prototype.writeToStore=function(e,t){var r=this,o=t.query,s=t.result,l=t.dataId,c=t.variables,d=t.overwrite,f=(0,u.Vu)(o),p=new h.ZI;c=(0,n.Cl)((0,n.Cl)({},(0,u.wY)(f)),c);var m=(0,n.Cl)((0,n.Cl)({store:e,written:Object.create(null),merge:function(e,t){return p.merge(e,t)},variables:c,varString:(0,_.M)(c)},V(o,this.fragments)),{overwrite:!!d,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),v=this.processSelectionSet({result:s||Object.create(null),dataId:l,selectionSet:f.selectionSet,mergeTree:{map:new Map},context:m});if(!(0,T.A_)(v))throw(0,i.vA)(12,s);
1return m.incomingById.forEach(function(t,o){var s=t.storeObject,l=t.mergeTree,u=t.fieldNodeSet,c=(0,T.WU)(o);if(l&&l.map.size){var h=r.applyMerges(l,c,s,m);if((0,T.A_)(h))return;s=h}if(!1!==globalThis.__DEV__&&!m.overwrite){var d=Object.create(null);u.forEach(function(e){e.selectionSet&&(d[e.name.value]=!0)});var f=function(e){var t=l&&l.map.get(e);return!!(t&&t.info&&t.info.merge)};Object.keys(s).forEach(function(e){!0!==d[L(e)]||f(e)||function(e,t,r,o){var s=function(e){var t=o.getFieldValue(e,r);return"object"==typeof t&&t},l=s(e);if(l){var u=s(t);if(!(!u||(0,T.A_)(l)||(0,a.L)(l,u)||Object.keys(l).every(function(e){return void 0!==o.getFieldValue(u,e)}))){var c=o.getFieldValue(e,"__typename")||o.getFieldValue(t,"__typename"),h=L(r),d="".concat(c,".").concat(h);if(!eS.has(d)){eS.add(d);var f=[];(0,D.c)(l)||(0,D.c)(u)||[l,u].forEach(function(e){var t=o.getFieldValue(e,"__typename");"string"!=typeof t||f.includes(t)||f.push(t)}),!1!==globalThis.__DEV__&&i.V1.warn(15,h,c,f.length?"either ensure all objects of type "+f.join(" and ")+" have an ID or a custom merge function, or ":"",d,(0,n.Cl)({},l),(0,n.Cl)({},u))}}}}(c,s,e,m.store)})}e.merge(o,s)}),e.retain(v.__ref),v},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,o=e.result,a=e.selectionSet,s=e.context,l=e.mergeTree,u=this.cache.policies,c=Object.create(null),h=r&&u.rootTypenamesById[r]||(0,T.D$)(o,a,s.fragmentMap)||r&&s.store.get(r,"__typename");"string"==typeof h&&(c.__typename=h);var d=function(){var e=ey(arguments,c,s.variables);if((0,T.A_)(e.from)){var t=s.incomingById.get(e.from.__ref);if(t){var r=u.readField((0,n.Cl)((0,n.Cl)({},e),{from:t.storeObject}),s);if(void 0!==r)return r}}return u.readField(e,s)},f=new Set;this.flattenFields(a,o,s,h).forEach(function(e,r){var n,a=o[(0,T.ue)(r)];if(f.add(r),void 0!==a){var s=u.getStoreFieldName({typename:h,fieldName:r.name.value,field:r,variables:e.variables}),p=eT(l,s),m=t.processFieldValue(a,r,r.selectionSet?eb(e,!1,!1):e,p),v=void 0;r.selectionSet&&((0,T.A_)(m)||j(m))&&(v=d("__typename",m));var y=u.getMergeFunction(h,r.name.value,v);y?p.info={field:r,typename:h,merge:y}:ex(l,s),c=e.merge(c,((n={})[s]=m,n))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||b.XY.added(r)||u.getReadFunction(h,r.name.value)||!1===globalThis.__DEV__||i.V1.error(13,(0,T.ue)(r),o)});try{var p=u.identify(o,{typename:h,selectionSet:a,fragmentMap:s.fragmentMap,storeObject:c,readField:d}),m=p[0],v=p[1];r=r||m,v&&(c=s.merge(c,v))}catch(e){if(!r)throw e}if("string"==typeof r){var y=(0,T.WU)(r),g=s.written[r]||(s.written[r]=[]);if(g.indexOf(a)>=0||(g.push(a),this.reader&&this.reader.isFresh(o,y,a,s)))return y;var _=s.incomingById.get(r);return _?(_.storeObject=s.merge(_.storeObject,c),_.mergeTree=function e(t,r){if(t===r||!r||ew(r))return t;if(!t||ew(t))return r;var i=t.info&&r.info?(0,n.Cl)((0,n.Cl)({},t.info),r.info):t.info||r.info,o=t.map.size&&r.map.size,a={info:i,map:o?new Map:t.map.size?t.map:r.map};if(o){var s=new Set(r.map.keys());t.map.forEach(function(t,n){a.map.set(n,e(t,r.map.get(n))),s.delete(n)}),s.forEach(function(n){a.map.set(n,e(r.map.get(n),t.map.get(n)))})}return a}(_.mergeTree,l),f.forEach(function(e){return _.fieldNodeSet.add(e)})):s.incomingById.set(r,{storeObject:c,mergeTree:ew(l)?void 0:l,fieldNodeSet:f}),y}return c},e.prototype.processFieldValue=function(e,t,r,n){var i=this;return t.selectionSet&&null!==e?(0,D.c)(e)?e.map(function(e,o){var a=i.processFieldValue(e,t,r,eT(n,o));return ex(n,o),a}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:n}):!1!==globalThis.__DEV__?(0,Z.m)(e):e},e.prototype.flattenFields=function(e,t,r,n){void 0===n&&(n=(0,T.D$)(t,e,r.fragmentMap));var o=new Map,a=this.cache.policies,l=new A.b(!1);return!function e(u,c){var h=l.lookup(u,c.clientOnly,c.deferred);h.visited||(h.visited=!0,u.selections.forEach(function(l){if((0,k.MS)(l,r.variables)){var u=c.clientOnly,h=c.deferred;if(!(u&&h)&&(0,D.E)(l.directives)&&l.directives.forEach(function(e){var t=e.name.value;if("client"===t&&(u=!0),"defer"===t){var n=(0,T.MB)(e,r.variables);n&&!1===n.if||(h=!0)}}),(0,T.dt)(l)){var d=o.get(l);d&&(u=u&&d.clientOnly,h=h&&d.deferred),o.set(l,eb(r,u,h))}else{var f=(0,s.HQ)(l,r.lookupFragment);if(!f&&l.kind===w.b.FRAGMENT_SPREAD)throw(0,i.vA)(14,l.name.value);f&&a.fragmentMatches(f,n,t,r.variables)&&e(f.selectionSet,eb(r,u,h))}}}))}(e,r),o},e.prototype.applyMerges=function(e,t,r,o,a){var s=this;if(e.map.size&&!(0,T.A_)(r)){var l,u,c=!(0,D.c)(r)&&((0,T.A_)(t)||j(t))?t:void 0,h=r;c&&!a&&(a=[(0,T.A_)(c)?c.__ref:c]);var d=function(e,t){return(0,D.c)(e)?"number"==typeof t?e[t]:void 0:o.store.getFieldValue(e,String(t))};
1e.map.forEach(function(e,t){var r=d(c,t),n=d(h,t);if(void 0!==n){a&&a.push(t);var l=s.applyMerges(e,r,n,o,a);l!==n&&(u=u||new Map).set(t,l),a&&(0,i.V1)(a.pop()===t)}}),u&&(r=(0,D.c)(h)?h.slice(0):(0,n.Cl)({},h),u.forEach(function(e,t){r[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,o,a&&(l=o.store).getStorage.apply(l,a)):r},e}(),eE=[];function eT(e,t){var r=e.map;return r.has(t)||r.set(t,eE.pop()||{map:new Map}),r.get(t)}function ew(e){return!e||!(e.info||e.map.size)}function ex(e,t){var r=e.map,n=r.get(t);n&&ew(n)&&(eE.push(n),r.delete(t))}var eS=new Set,ek=function(e){function t(t){void 0===t&&(t={});var r,n=e.call(this)||this;return n.watches=new Set,n.addTypenameTransform=new g.c(b.XY),n.assumeImmutableResults=!0,n.makeVar=et.UT,n.txCount=0,r=t,n.config=(0,S.o)(I,r),n.addTypename=!!n.config.addTypename,n.policies=new em({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.init(),n}return(0,n.C6)(t,e),t.prototype.init=function(){var e=this.data=new z.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,r=this.storeReader,n=this.config.fragments;this.storeWriter=new e_(this,this.storeReader=new J({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:M(this.config),canon:e?void 0:r&&r.canon,fragments:n}),n),this.maybeBroadcastWatch=(0,o.LV)(function(e,r){return t.broadcastWatch(e,r)},{max:this.config.resultCacheMaxSize||l.v["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var r=e.optimistic?t.optimisticData:t.data;if(Y(r)){var n=e.optimistic,i=e.id,o=e.variables;return r.makeCacheKey(e.query,e.callback,(0,_.M)({optimistic:n,id:i,variables:o}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(e){return e.resetCaching()})},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData;try{return this.storeReader.diffQueryAgainstStore((0,n.Cl)((0,n.Cl)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:void 0!==t&&t})).result||null}catch(e){if(e instanceof y)return null;throw e}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(R.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore((0,n.Cl)((0,n.Cl)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t=this;return this.watches.size||(0,et.MS)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&(0,et.WR)(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){_.M.reset(),E.y.reset(),this.addTypenameTransform.resetCache(),null==(t=this.config.fragments)||t.resetCaches();var t,r=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),r},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if((0,T.A_)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){!1!==globalThis.__DEV__&&i.V1.warn(e)}},t.prototype.evict=function(e){if(!e.id){if(R.call(e,"id"))return!1;e=(0,n.Cl)((0,n.Cl)({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(e){var t=this;return this.init(),_.M.reset(),e&&e.discardWatches?(this.watches.forEac
1h(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),(0,et.WR)(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,r=this,i=e.update,o=e.optimistic,a=void 0===o||o,s=e.removeOptimistic,l=e.onWatchUpdated,u=function(e){var n=r.data,o=r.optimisticData;++r.txCount,e&&(r.data=r.optimisticData=e);try{return t=i(r)}finally{--r.txCount,r.data=n,r.optimisticData=o}},c=new Set;return l&&!this.txCount&&this.broadcastWatches((0,n.Cl)((0,n.Cl)({},e),{onWatchUpdated:function(e){return c.add(e),!1}})),"string"==typeof a?this.optimisticData=this.optimisticData.addLayer(a,u):!1===a?u(this.data):u(),"string"==typeof s&&(this.optimisticData=this.optimisticData.removeLayer(s)),l&&c.size?(this.broadcastWatches((0,n.Cl)((0,n.Cl)({},e),{onWatchUpdated:function(e,t){var r=l.call(this,e,t);return!1!==r&&c.delete(e),r}})),c.size&&c.forEach(function(e){return r.maybeBroadcastWatch.dirty(e)})):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},t.prototype.fragmentMatches=function(e,t){return this.policies.fragmentMatches(e,t)},t.prototype.lookupFragment=function(e){var t;return(null==(t=this.config.fragments)?void 0:t.lookup(e))||null},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach(function(r){return t.maybeBroadcastWatch(r,e)})},t.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},t.prototype.broadcastWatch=function(e,t){var r=e.lastDiff,n=this.diff(e);(!t||(e.optimistic&&"string"==typeof t.optimistic&&(n.fromOptimisticTransaction=!0),!t.onWatchUpdated||!1!==t.onWatchUpdated.call(this,e,n,r)))&&(r&&(0,a.L)(r.result,n.result)||e.callback(e.lastDiff=n,r))},t}(v);!1!==globalThis.__DEV__&&(ek.prototype.getMemoryInternals=f.cM)},26828:(e,t,r)=>{"use strict";r.d(t,{M:()=>s});var n,i=r(95682),o=r(80593),a=r(17070),s=Object.assign(function(e){return JSON.stringify(e,l)},{reset:function(){n=new i.V(o.v.canonicalStringify||1e3)}});function l(e,t){if(t&&"object"==typeof t){var r=Object.getPrototypeOf(t);if(r===Object.prototype||null===r){var i=Object.keys(t);if(i.every(u))return t;var o=JSON.stringify(i),a=n.get(o);if(!a){i.sort();var s=JSON.stringify(i);a=n.get(s)||i,n.set(o,a),n.set(s,a)}var l=Object.create(r);return a.forEach(function(e){l[e]=t[e]}),l}}return t}function u(e,t,r){return 0===t||r[t-1]<=e}!1!==globalThis.__DEV__&&(0,a.D_)("canonicalStringify",function(){return n.size}),s.reset()},28347:(e,t,r)=>{"use strict";r.d(t,{z:()=>c});var n=r(94587),i=r(90240),o=r(17318),a=r(20996),s=r(65958),l=r(68922),u=r(45813);function c(e,t,r,c){if(!r.fragmentMatches)return!1!==globalThis.__DEV__&&(0,i.Ki)(),e;var h=t.definitions.filter(function(e){return e.kind===n.b.FRAGMENT_DEFINITION});void 0===c&&((0,o.V1)(1===h.length,49,h.length),c=h[0].name.value);var d=h.find(function(e){return e.name.value===c});return((0,o.V1)(!!d,50,c),null==e||(0,a.A)(e,{}))?e:(0,s.S)(e,d.selectionSet,{operationType:"fragment",operationName:d.name.value,fragmentMap:(0,l.JG)((0,u.zK)(t)),cache:r,mutableTargets:new i.jq,knownChanged:new i.xm})}},28888:(e,t,r)=>{"use strict";function n(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.d(t,{_:()=>n})},33341:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unstable_rethrow",{enumerable:!0,get:function(){return n}});let n=r(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)},34812:(e,t,r)=>{"use strict";r.d(t,{P:()=>O});var n=r(20095),i=r(22337),o=r(17318),a=r(71211),s=r(15072),l=function(e,t){var r;try{r=JSON.stringify(e)}catch(e){var n=(0,o.vA)(42,t,e.message);throw n.parseError=e,n}return r},u=function(e,t){var r=e.getContext().uri;return r||("function"==typeof t?t(e):t||"/graphql")},c=r(80542);function h(e){var t={next:function(){return e.read()}};return c.uJ&&(t[Symbol.asyncIterator]=function(){return this}),t}var d=function(e,t,r){var n=Error(r);throw n.name="ServerError",n.response=e,n.statusCode=e.status,n.result=t,n},f=r(83070),p=r(54868),m=Object.prototype.hasOwnProperty;function v(e,t){e.status>=300&&d(e,function(){try{return JSON.parse(t)}catch(e){return t}}(),"Response not successful: Received status code ".concat(e.status));try{return JSON.parse(t)}catch(r){throw r.name="ServerParseError",r.response=e,r.statusCode=e.status,r.bodyText=t,r}}var y=function(e){if(!e&&"undefined"==typeof fetch)throw(0,o.vA)(40)},g=r(3322),b={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},_=function(e,t){return t(e)};function E(e){return new s.c(function(t){t.error(e)})}var T=r(74968),w=r(61055),x=r(45813),S=(0,o.no)(function(){return fetch}),k=function(e){void 0===e&&(e={});var t=e.uri,r=void 0===t?"/graphql":t,k=e.fetch,O=e.print,C=void 0===O?_:O,A=e.includeExtensions,D=e.preserveHeaderCase,R=e.useGETForQueries,P=e.includeUnusedVariables,N=void 0!==P&&P,I=(0,n.Tt)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&y(k||S);var M={http:{includeExtensions:A,preserveHeaderCase:D},options:I.fetchOptions,credentials:I.credentials,headers:I.headers};return new i.C(function(e){var t,i,y,_,O,A,D=u(e,r),P=e.getContext(),I={};if(P.clientAwareness){var F=P.clientAwareness,L=F.name,j=F.version;L&&(I["apollographql-client-name"]=L),j&&(I["apollographql-client-version"]=j)}var V=(0,n.Cl)((0,n.Cl)({},I),P.headers),U={http:P.http,options:P.fetchOptions,credentials:P.credentials,headers:V};if((0,a.d8)(["client"],e.query)){var q=(0,w.er)(e.query);if(!q)return E(Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));e.query=q}var B=function(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];var o={},a={};r.forEach(function(e){o=(0,n.Cl)((0,n.Cl)((0,n.Cl)({},o),e.options),{headers:(0,n.Cl)((0,n.Cl)({},o.headers),e.headers)}),e.credentials&&(o.credentials=e.credentials),a=(0,n.Cl)((0,n.Cl)({},a),e.http)}),o.headers&&(o.headers=function(e,t){if(!t){var r={};
1return Object.keys(Object(e)).forEach(function(t){r[t.toLowerCase()]=e[t]}),r}var n={};Object.keys(Object(e)).forEach(function(t){n[t.toLowerCase()]={originalName:t,value:e[t]}});var i={};return Object.keys(n).forEach(function(e){i[n[e].originalName]=n[e].value}),i}(o.headers,a.preserveHeaderCase));var s=e.operationName,l=e.extensions,u=e.variables,c=e.query,h={operationName:s,variables:u};return a.includeExtensions&&(h.extensions=l),a.includeQuery&&(h.query=t(c,g.y)),{options:o,body:h}}(e,C,b,M,U),z=B.options,Q=B.body;Q.variables&&!N&&(t=Q.variables,i=e.query,y=(0,n.Cl)({},t),_=new Set(Object.keys(t)),(0,T.YR)(i,{Variable:function(e,t,r){r&&"VariableDefinition"!==r.kind&&_.delete(e.name.value)}}),_.forEach(function(e){delete y[e]}),Q.variables=y),z.signal||"undefined"==typeof AbortController||(z.signal=(A=new AbortController).signal);var W="OperationDefinition"===(O=(0,x.Vn)(e.query)).kind&&"subscription"===O.operation,H=(0,a.d8)(["defer"],e.query);if(R&&!e.query.definitions.some(function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})&&(z.method="GET"),H||W){z.headers=z.headers||{};var K="multipart/mixed;";W&&H&&!1!==globalThis.__DEV__&&o.V1.warn(41),W?K+="boundary=graphql;subscriptionSpec=1.0,application/json":H&&(K+="deferSpec=20220824,application/json"),z.headers.accept=K}if("GET"===z.method){var G=function(e,t){var r=[],n=function(e,t){r.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&n("query",t.query),t.operationName&&n("operationName",t.operationName),t.variables){var i=void 0;try{i=l(t.variables,"Variables map")}catch(e){return{parseError:e}}n("variables",i)}if(t.extensions){var o=void 0;try{o=l(t.extensions,"Extensions map")}catch(e){return{parseError:e}}n("extensions",o)}var a="",s=e,u=e.indexOf("#");-1!==u&&(a=e.substr(u),s=e.substr(0,u));var c=-1===s.indexOf("?")?"?":"&";return{newURI:s+c+r.join("&")+a}}(D,Q),Y=G.newURI,$=G.parseError;if($)return E($);D=Y}else try{z.body=l(Q,"Payload")}catch(e){return E(e)}return new s.c(function(t){var r=k||(0,o.no)(function(){return fetch})||S,i=t.next.bind(t);return r(D,z).then(function(t){e.setContext({response:t});var r,o=null==(r=t.headers)?void 0:r.get("content-type");return null!==o&&/^multipart\/mixed/i.test(o)?function(e,t){return(0,n.sH)(this,void 0,void 0,function(){var r,i,o,a,s,l,u,d,m,y,g,b,_,E,T,w,x,S,k,O,C,A,D;return(0,n.YH)(this,function(R){switch(R.label){case 0:if(void 0===TextDecoder)throw Error("TextDecoder must be defined in the environment: please import a polyfill.");r=new TextDecoder("utf-8"),i=null==(D=e.headers)?void 0:D.get("content-type"),o="boundary=",a=(null==i?void 0:i.includes(o))?null==i?void 0:i.substring((null==i?void 0:i.indexOf(o))+o.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",s="\r\n--".concat(a),l="",u=function(e){var t,r,n,i,o,a,s=e;if(e.body&&(s=e.body),t=s,c.uJ&&t[Symbol.asyncIterator])return n=s[Symbol.asyncIterator](),(r={next:function(){return n.next()}})[Symbol.asyncIterator]=function(){return this},r;if(s.getReader)return h(s.getReader());if(s.stream)return h(s.stream().getReader());if(s.arrayBuffer)return i=s.arrayBuffer(),o=!1,a={next:function(){return o?Promise.resolve({value:void 0,done:!0}):(o=!0,new Promise(function(e,t){i.then(function(t){e({value:t,done:!1})}).catch(t)}))}},c.uJ&&(a[Symbol.asyncIterator]=function(){return this}),a;if(s.pipe)return function(e){var t=null,r=null,n=!1,i=[],o=[];function a(e){if(!r){if(o.length){var t=o.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}i.push(e)}}function s(e){r=e,o.slice().forEach(function(t){t[1](e)}),t&&t()}function l(){n=!0,o.slice().forEach(function(e){e[0]({value:void 0,done:!0})}),t&&t()}t=function(){t=null,e.removeListener("data",a),e.removeListener("error",s),e.removeListener("end",l),e.removeListener("finish",l),e.removeListener("close",l)},e.on("data",a),e.on("error",s),e.on("end",l),e.on("finish",l),e.on("close",l);var u={next:function(){return new Promise(function(e,t){return r?t(r):i.length?e({value:i.shift(),done:!1}):n?e({value:void 0,done:!0}):void o.push([e,t])})}};return c.uJ&&(u[Symbol.asyncIterator]=function(){return this}),u}(s);throw Error("Unknown body type for responseIterator. Please pass a streamable response.")}(e),d=!0,R.label=1;case 1:if(!d)return[3,3];return[4,u.next()];case 2:for(y=(m=R.sent()).value,g=m.done,b="string"==typeof y?y:r.decode(y),_=l.length-s.length+1,d=!g,l+=b,E=l.indexOf(s,_);E>-1;){if(T=void 0,T=(C=[l.slice(0,E),l.slice(E+s.length)])[0],l=C[1],w=T.indexOf("\r\n\r\n"),(x=function(e){var t={};return e.split("\n").forEach(function(e){var r=e.indexOf(":");if(r>-1){var n=e.slice(0,r).trim().toLowerCase(),i=e.slice(r+1).trim();t[n]=i}}),t}(T.slice(0,w))["content-type"])&&-1===x.toLowerCase().indexOf("application/json"))throw Error("Unsupported patch content type: application/json is required.");
1if(S=T.slice(w)){if(Object.keys(k=v(e,S)).length>1||"data"in k||"incremental"in k||"errors"in k||"payload"in k)if((0,p.Nw)(k)){if(O={},"payload"in k){if(1===Object.keys(k).length&&null===k.payload)return[2];O=(0,n.Cl)({},k.payload)}"errors"in k&&(O=(0,n.Cl)((0,n.Cl)({},O),{extensions:(0,n.Cl)((0,n.Cl)({},"extensions"in O?O.extensions:null),((A={})[f.K$]=k.errors,A))})),t(O)}else t(k);else if(1===Object.keys(k).length&&"hasNext"in k&&!k.hasNext)return[2]}E=l.indexOf(s)}return[3,1];case 3:return[2]}})})}(t,i):(function(t){return t.text().then(function(e){return v(t,e)}).then(function(r){return Array.isArray(r)||m.call(r,"data")||m.call(r,"errors")||d(t,r,"Server response was missing for query '".concat(Array.isArray(e)?e.map(function(e){return e.operationName}):e.operationName,"'.")),r})})(t).then(i)}).then(function(){A=void 0,t.complete()}).catch(function(e){A=void 0,e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}),function(){A&&A.abort()}})})},O=function(e){function t(t){void 0===t&&(t={});var r=e.call(this,k(t).request)||this;return r.options=t,r}return(0,n.C6)(t,e),t}(i.C)},35785:(e,t,r)=>{"use strict";r.d(t,{E:()=>i,c:()=>n});var n=Array.isArray;function i(e){return Array.isArray(e)&&e.length>0}},36898:(e,t,r)=>{"use strict";function n(){}r.d(t,{C:()=>i});class i{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:r}=t;r&&(r.older=e),e&&(e.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t}set(e,t){let r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(e,r),r.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,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return c},RedirectType:function(){return i.RedirectType},forbidden:function(){return a.forbidden},notFound:function(){return o.notFound},permanentRedirect:function(){return n.permanentRedirect},redirect:function(){return n.redirect},unauthorized:function(){return s.unauthorized},unstable_isUnrecognizedActionError:function(){return h},unstable_rethrow:function(){return l.unstable_rethrow}});let n=r(94091),i=r(86500),o=r(56153),a=r(10916),s=r(56533),l=r(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,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return l},getImageProps:function(){return s}});let n=r(64252),i=r(95197),o=r(94989),a=n._(r(49411));function s(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:a.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,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let l=o.Image},39668:(e,t,r)=>{"use strict";r.d(t,{b:()=>s});let n=()=>Object.create(null),{forEach:i,slice:o}=Array.prototype,{hasOwnProperty:a}=Object.prototype;class s{constructor(e=!0,t=n){this.weakness=e,this.makeData=t}lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return i.call(e,e=>t=t.getChildTrie(e)),a.call(t,"data")?t.data:t.data=this.makeData(o.call(e))}peek(){return this.peekArray(arguments)}peekArray(e){let t=this;for(let r=0,n=e.length;t&&r<n;++r){let n=t.mapFor(e[r],!1);t=n&&n.get(e[r])}return t&&t.data}remove(){return this.removeArray(arguments)}removeArray(e){let t;if(e.length){let r=e[0],n=this.mapFor(r,!1),i=n&&n.get(r);i&&(t=i.removeArray(o.call(e,1)),i.data||i.weak||i.strong&&i.strong.size||n.delete(r))}else t=this.data,delete this.data;return t}getChildTrie(e){let t=this.mapFor(e,!0),r=t.get(e);return r||t.set(e,r=new s(this.weakness,this.makeData)),r}mapFor(e,t){return this.weakness&&function(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}(e)?this.weak||(t?this.weak=new WeakMap:void 0):this.strong||(t?this.strong=new Map:void 0)}}},45813:(e,t,r)=>{"use strict";r.d(t,{AT:()=>u,E4:()=>c,Vn:()=>h,Vu:()=>a,n4:()=>s,sw:()=>o,wY:()=>d,zK:()=>l});var n=r(17318),i=r(58851);function o(e){(0,n.V1)(e&&"Document"===e.kind,88);var t=e.definitions.filter(function(e){return"FragmentDefinition"!==e.kind}).map(function(e){if("OperationDefinition"!==e.kind)throw(0,n.vA)(89,e.kind);return e});return(0,n.V1)(t.length<=1,90,t.length),e}function a(e){return o(e),e.definitions.filter(function(e){return"OperationDefinition"===e.kind})[0]}function s(e){return e.definitions.filter(function(e){return"OperationDefinition"===e.kind&&!!e.name}).map(function(e){return e.name.value})[0]||null}function l(e){return e.definitions.filter(function(e){return"FragmentDefinition"===e.kind})}function u(e){var t=a(e);return(0,n.V1)(t&&"query"===t.operation,91),t}function c(e){(0,n.V1)("Document"===e.kind,92),(0,n.V1)(e.definitions.length<=1,93);var t=e.definitions[0];return(0,n.V1)("FragmentDefinition"===t.kind,94),t}function h(e){o(e);for(var t,r=0,i=e.definitions;r<i.length;r++){var a=i[r];if("OperationDefinition"===a.kind){var s=a.operation;if("query"===s||"mutation"===s||"subscription"===s)return a}"FragmentDefinition"!==a.kind||t||(t=a)}if(t)return t;throw(0,n.vA)(95)}function d(e){var t=Object.create(null),r=e&&e.variableDefinitions;return r&&r.length&&r.forEach(function(e){e.defaultValue&&(0,i.J)(t,e.variable.name,e.defaultValue)}),t}},47518:(e,t,r)=>{"use strict";r.d(t,{OC:()=>i,yo:()=>o});var n=r(7743);function i(e){var t,r;let i=Number.MAX_SAFE_INTEGER,o=null,a=-1;for(let t=0;t<e.length;++t){let s=e[t],l=function(e){let t=0;for(;t<e.length&&(0,n.i0)(e.charCodeAt(t));)++t;return t}(s);l!==s.length&&(o=null!=(r=o)?r:t,a=t,0!==t&&l<i&&(i=l))}return e.map((e,t)=>0===t?e:e.slice(i)).slice(null!=(t=o)?t:0,a+1)}function o(e,t){let r=e.replace(/"""/g,'\\"""'),i=r.split(/\r\n|[\n\r]/g),o=1===i.length,a=i.length>1&&i.slice(1).every(e=>0===e.length||(0,n.i0)(e.charCodeAt(0))),s=r.endsWith('\\"""'),l=e.endsWith('"')&&!s,u=e.endsWith("\\"),c=l||u,h=!(null!=t&&t.minimize)&&(!o||e.length>70||c||a||s),d="",f=o&&(0,n.i0)(e.charCodeAt(0));
1return(h&&!f||a)&&(d+="\n"),d+=r,(h||c)&&(d+="\n"),'"""'+d+'"""'}},48069:(e,t,r)=>{"use strict";let n;r.d(t,{DX:()=>y,yN:()=>V,LV:()=>B});let i=()=>Object.create(null),{forEach:o,slice:a}=Array.prototype,{hasOwnProperty:s}=Object.prototype;class l{constructor(e=!0,t=i){this.weakness=e,this.makeData=t}lookup(...e){return this.lookupArray(e)}lookupArray(e){let t=this;return o.call(e,e=>t=t.getChildTrie(e)),s.call(t,"data")?t.data:t.data=this.makeData(a.call(e))}peek(...e){return this.peekArray(e)}peekArray(e){let t=this;for(let r=0,n=e.length;t&&r<n;++r){let n=this.weakness&&u(e[r])?t.weak:t.strong;t=n&&n.get(e[r])}return t&&t.data}getChildTrie(e){let t=this.weakness&&u(e)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map),r=t.get(e);return r||t.set(e,r=new l(this.weakness,this.makeData)),r}}function u(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}var c=r(36898);let h=null,d={},f=1;function p(e){try{return e()}catch(e){}}let m="@wry/context:Slot",v=p(()=>globalThis)||p(()=>global)||Object.create(null),y=v[m]||Array[m]||function(e){try{Object.defineProperty(v,m,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",f++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=h;e;e=e.parent)if(this.id in e.slots){let t=e.slots[this.id];if(t===d)break;return e!==h&&(h.slots[this.id]=t),!0}return h&&(h.slots[this.id]=d),!1}getValue(){if(this.hasValue())return h.slots[this.id]}withValue(e,t,r,n){let i={__proto__:null,[this.id]:e},o=h;h={parent:o,slots:i};try{return t.apply(n,r)}finally{h=o}}static bind(e){let t=h;return function(){let r=h;try{return h=t,e.apply(this,arguments)}finally{h=r}}}static noContext(e,t,r){if(!h)return e.apply(r,t);{let n=h;try{return h=null,e.apply(r,t)}finally{h=n}}}}),{bind:g,noContext:b}=y,_=new y,{hasOwnProperty:E}=Object.prototype,T=Array.from||function(e){let t=[];return e.forEach(e=>t.push(e)),t};function w(e){let{unsubscribe:t}=e;"function"==typeof t&&(e.unsubscribe=void 0,t())}let x=[];function S(e,t){if(!e)throw Error(t||"assertion failure")}function k(e,t){let r=e.length;return r>0&&r===t.length&&e[r-1]===t[r-1]}function O(e){switch(e.length){case 0:throw Error("unknown value");case 1:return e[0];case 2:throw e[1]}}class C{constructor(e){this.fn=e,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++C.count}peek(){if(1===this.value.length&&!R(this))return A(this),this.value[0]}recompute(e){var t,r,n;return S(!this.recomputing,"already recomputing"),A(this),R(this)?(t=this,r=e,F(t),_.withValue(t,D,[t,r]),function(e,t){if("function"==typeof e.subscribe)try{w(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}(t,r)&&((n=t).dirty=!1,R(n)||function(e){P(e,I)}(n)),O(t.value)):O(this.value)}setDirty(){var e;this.dirty||(this.dirty=!0,e=this,P(e,N),w(this))}dispose(){this.setDirty(),F(this),P(this,(e,t)=>{e.setDirty(),L(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=x.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&(T(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),x.push(this.deps),this.deps=null)}}function A(e){let t=_.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),R(e)?N(t,e):I(t,e),t}function D(e,t){let r;e.recomputing=!0;let{normalizeResult:n}=e;n&&1===e.value.length&&(r=e.value.slice(0)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),n&&r&&!k(r,e.value))try{e.value[0]=n(e.value[0],r[0])}catch(e){}}catch(t){e.value[1]=t}e.recomputing=!1}function R(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}C.count=0;function P(e,t){let r=e.parents.size;if(r){let n=T(e.parents);for(let i=0;i<r;++i)t(n[i],e)}}function N(e,t){S(e.childValues.has(t)),S(R(t));let r=!R(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=x.pop()||new Set;e.dirtyChildren.add(t),r&&P(e,N)}function I(e,t){S(e.childValues.has(t)),S(!R(t));let r=e.childValues.get(t);0===r.length?e.childValues.set(t,t.value.slice(0)):k(r,t.value)||e.setDirty(),M(e,t),R(e)||P(e,I)}function M(e,t){let r=e.dirtyChildren;r&&(r.delete(t),0===r.size&&(x.length<100&&x.push(r),e.dirtyChildren=null))}function F(e){e.childValues.size>
10&&e.childValues.forEach((t,r)=>{L(e,r)}),e.forgetDeps(),S(null===e.dirtyChildren)}function L(e,t){t.parents.delete(e),e.childValues.delete(t),M(e,t)}let j={setDirty:!0,dispose:!0,forget:!0};function V(e){let t=new Map,r=e&&e.subscribe;function n(e){let n=_.getValue();if(n){let i=t.get(e);i||t.set(e,i=new Set),n.dependOn(i),"function"==typeof r&&(w(i),i.unsubscribe=r(e))}}return n.dirty=function(e,r){let n=t.get(e);if(n){let i=r&&E.call(j,r)?r:"setDirty";T(n).forEach(e=>e[i]()),t.delete(e),w(n)}},n}function U(...e){return(n||(n=new l("function"==typeof WeakMap))).lookupArray(e)}let q=new Set;function B(e,{max:t=65536,keyArgs:r,makeCacheKey:n=U,normalizeResult:i,subscribe:o,cache:a=c.C}=Object.create(null)){let s="function"==typeof a?new a(t,e=>e.dispose()):a,l=function(){let t=n.apply(null,r?r.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let a=s.get(t);a||(s.set(t,a=new C(e)),a.normalizeResult=i,a.subscribe=o,a.forget=()=>s.delete(t));let l=a.recompute(Array.prototype.slice.call(arguments));return s.set(t,a),q.add(s),_.hasValue()||(q.forEach(e=>e.clean()),q.clear()),l};function u(e){let t=e&&s.get(e);t&&t.setDirty()}function h(e){let t=e&&s.get(e);if(t)return t.peek()}function d(e){return!!e&&s.delete(e)}return Object.defineProperty(l,"size",{get:()=>s.size,configurable:!1,enumerable:!1}),Object.freeze(l.options={max:t,keyArgs:r,makeCacheKey:n,normalizeResult:i,subscribe:o,cache:s}),l.dirtyKey=u,l.dirty=function(){u(n.apply(null,arguments))},l.peekKey=h,l.peek=function(){return h(n.apply(null,arguments))},l.forgetKey=d,l.forget=function(){return d(n.apply(null,arguments))},l.makeCacheKey=n,l.getKey=r?function(){return n.apply(null,r.apply(null,arguments))}:n,Object.freeze(l)}},48131:(e,t,r)=>{"use strict";r.d(t,{D9:()=>a,IM:()=>s,ZI:()=>u});var n=r(20095),i=r(93957),o=Object.prototype.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s(e)}function s(e){var t=e[0]||{},r=e.length;if(r>1)for(var n=new u,i=1;i<r;++i)t=n.merge(t,e[i]);return t}var l=function(e,t,r){return this.merge(e[r],t[r])},u=function(){function e(e){void 0===e&&(e=l),this.reconciler=e,this.isObject=i.U,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var r=this,a=[],s=2;s<arguments.length;s++)a[s-2]=arguments[s];return(0,i.U)(t)&&(0,i.U)(e)?(Object.keys(t).forEach(function(i){if(o.call(e,i)){var s=e[i];if(t[i]!==s){var l=r.reconciler.apply(r,(0,n.fX)([e,t,i],a,!1));l!==s&&((e=r.shallowCopyForMerge(e))[i]=l)}}else(e=r.shallowCopyForMerge(e))[i]=t[i]}),e):t},e.prototype.shallowCopyForMerge=function(e){return(0,i.U)(e)&&!this.pastCopies.has(e)&&(e=Array.isArray(e)?e.slice(0):(0,n.Cl)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e)),e},e}()},48235:(e,t,r)=>{"use strict";r.d(t,{MS:()=>l,UT:()=>u,WR:()=>s,bl:()=>i});var n=r(48069),i=new n.DX,o=new WeakMap;function a(e){var t=o.get(e);return t||o.set(e,t={vars:new Set,dep:(0,n.yN)()}),t}function s(e){a(e).vars.forEach(function(t){return t.forgetCache(e)})}function l(e){a(e).vars.forEach(function(t){return t.attachCache(e)})}function u(e){var t=new Set,r=new Set,n=function(s){if(arguments.length>0){if(e!==s){e=s,t.forEach(function(e){var t;a(e).dep.dirty(n),(t=e).broadcastWatches&&t.broadcastWatches()});var l=Array.from(r);r.clear(),l.forEach(function(t){return t(e)})}}else{var u=i.getValue();u&&(o(u),a(u).dep(n))}return e};n.onNextChange=function(e){return r.add(e),function(){r.delete(e)}};var o=n.attachCache=function(e){return t.add(e),a(e).vars.add(n),n};return n.forgetCache=function(e){return t.delete(e)},n}},49411:(e,t)=>{"use strict";function r(e){var t;let{config:r,src:n,width:i,quality:o}=e,a=o||(null==(t=r.qualities)?void 0:t.reduce((e,t)=>Math.abs(t-75)<Math.abs(e-75)?t:e))||75;return r.path+"?url="+encodeURIComponent(n)+"&w="+i+"&q="+a+(n.startsWith("/_next/static/media/"),"")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}}),r.__next_img_default=!0;let n=r},54587:(e,t,r)=>{e.exports=r(39247)},54868:(e,t,r)=>{"use strict";r.d(t,{Nw:()=>l,ST:()=>a,YX:()=>s,bd:()=>u});var n=r(93957),i=r(35785),o=r(48131);function a(e){return"incremental"in e}function s(e){return a(e)||"hasNext"in e&&"data"in e}function l(e){return(0,n.U)(e)&&"payload"in e}function u(e,t){var r=e,n=new o.ZI;return a(t)&&(0,i.E)(t.incremental)&&t.incremental.forEach(function(e){for(var t=e.data,i=e.path,o=i.length-1;o>=0;--o){var a=i[o],s=isNaN(+a)?{}:[];s[a]=t,t=s}
1r=n.merge(r,t)}),r}},54962:(e,t,r)=>{"use strict";r.d(t,{m:()=>i});var n=Object.prototype.toString;function i(e){return function e(t,r){switch(n.call(t)){case"[object Array]":if((r=r||new Map).has(t))return r.get(t);var i=t.slice(0);return r.set(t,i),i.forEach(function(t,n){i[n]=e(t,r)}),i;case"[object Object]":if((r=r||new Map).has(t))return r.get(t);var o=Object.create(Object.getPrototypeOf(t));return r.set(t,o),Object.keys(t).forEach(function(n){o[n]=e(t[n],r)}),o;default:return t}}(e)}},56153:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"notFound",{enumerable:!0,get:function(){return i}});let n=""+r(18804).HTTP_ERROR_FALLBACK_ERROR_CODE+";404";function i(){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,r)=>{"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}}),r(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,r)=>{"use strict";function n(e,t){if(!e)throw Error(t)}r.d(t,{U:()=>n})},58851:(e,t,r)=>{"use strict";r.d(t,{A_:()=>l,D$:()=>function e(t,r,n){for(var i,a=0,s=r.selections;a<s.length;a++){var l=s[a];if(y(l)){if("__typename"===l.name.value)return t[v(l)]}else i?i.push(l):i=[l]}if("string"==typeof t.__typename)return t.__typename;if(i)for(var u=0,c=i;u<c.length;u++){var l=c[u],h=e(t,(0,o.HQ)(l,n).selectionSet,n);if("string"==typeof h)return h}},Ii:()=>h,J:()=>c,Kc:()=>u,MB:()=>m,WU:()=>s,dt:()=>y,kd:()=>g,o5:()=>p,ue:()=>v});var n=r(17318),i=r(93957),o=r(68922),a=r(26828);function s(e){return{__ref:String(e)}}function l(e){return!!(e&&"object"==typeof e&&"string"==typeof e.__ref)}function u(e){return(0,i.U)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)}function c(e,t,r,i){if("IntValue"===r.kind||"FloatValue"===r.kind)e[t.value]=Number(r.value);else if("BooleanValue"===r.kind||"StringValue"===r.kind)e[t.value]=r.value;else if("ObjectValue"===r.kind){var o={};r.fields.map(function(e){return c(o,e.name,e.value,i)}),e[t.value]=o}else if("Variable"===r.kind){var a=(i||{})[r.name.value];e[t.value]=a}else if("ListValue"===r.kind)e[t.value]=r.values.map(function(e){var r={};return c(r,t,e,i),r[t.value]});else if("EnumValue"===r.kind)e[t.value]=r.value;else if("NullValue"===r.kind)e[t.value]=null;else throw(0,n.vA)(96,t.value,r.kind)}function h(e,t){var r=null;e.directives&&(r={},e.directives.forEach(function(e){r[e.name.value]={},e.arguments&&e.arguments.forEach(function(n){var i=n.name,o=n.value;return c(r[e.name.value],i,o,t)})}));var n=null;return e.arguments&&e.arguments.length&&(n={},e.arguments.forEach(function(e){var r=e.name,i=e.value;return c(n,r,i,t)})),p(e.name.value,n,r)}var d=["connection","include","skip","client","rest","export","nonreactive"],f=a.M,p=Object.assign(function(e,t,r){if(t&&r&&r.connection&&r.connection.key)if(!r.connection.filter||!(r.connection.filter.length>0))return r.connection.key;else{var n=r.connection.filter?r.connection.filter:[];n.sort();var i={};return n.forEach(function(e){i[e]=t[e]}),"".concat(r.connection.key,"(").concat(f(i),")")}var o=e;if(t){var a=f(t);o+="(".concat(a,")")}return r&&Object.keys(r).forEach(function(e){-1===d.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?o+="@".concat(e,"(").concat(f(r[e]),")"):o+="@".concat(e))}),o},{setStringify:function(e){var t=f;return f=e,t}});function m(e,t){if(e.arguments&&e.arguments.length){var r={};
1return e.arguments.forEach(function(e){return c(r,e.name,e.value,t)}),r}return null}function v(e){return e.alias?e.alias.value:e.name.value}function y(e){return"Field"===e.kind}function g(e){return"InlineFragment"===e.kind}},60427:(e,t,r)=>{"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,r(14232))},60592:(e,t,r)=>{"use strict";r.d(t,{c:()=>h});var n=r(39668),i=r(80542),o=r(45813),a=r(17318),s=r(99853),l=r(48069),u=r(80593);function c(e){return e}var h=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=i.En?new WeakSet:new Set,this.transform=e,t.getCacheKey&&(this.getCacheKey=t.getCacheKey),this.cached=!1!==t.cache,this.resetCache()}return e.prototype.getCacheKey=function(e){return[e]},e.identity=function(){return new e(c,{cache:!1})},e.split=function(t,r,n){return void 0===n&&(n=e.identity()),Object.assign(new e(function(e){return(t(e)?r:n).transformDocument(e)},{cache:!1}),{left:r,right:n})},e.prototype.resetCache=function(){var t=this;if(this.cached){var r=new n.b(i.et);this.performWork=(0,l.LV)(e.prototype.performWork.bind(this),{makeCacheKey:function(e){var n=t.getCacheKey(e);if(n)return(0,a.V1)(Array.isArray(n),77),r.lookupArray(n)},max:u.v["documentTransform.cache"],cache:s.l})}},e.prototype.performWork=function(e){return(0,o.sw)(e),this.transform(e)},e.prototype.transformDocument=function(e){if(this.resultCache.has(e))return e;var t=this.performWork(e);return this.resultCache.add(t),t},e.prototype.concat=function(t){var r=this;return Object.assign(new e(function(e){return t.transformDocument(r.transformDocument(e))},{cache:!1}),{left:this,right:t})},e}()},61055:(e,t,r)=>{"use strict";r.d(t,{XY:()=>p,er:()=>v,iz:()=>f,x3:()=>y,zc:()=>m});var n=r(20095),i=r(17318),o=r(94587),a=r(74968),s=r(45813),l=r(58851),u=r(68922),c=r(35785),h={kind:o.b.FIELD,name:{kind:o.b.NAME,value:"__typename"}};function d(e){var t=new Map;return function(r){void 0===r&&(r=e);var n=t.get(r);return n||t.set(r,n={variables:new Set,fragmentSpreads:new Set}),n}}function f(e,t){(0,s.sw)(t);for(var r,l,h,f=d(""),p=d(""),m=function(e){for(var t=0,r=void 0;t<e.length&&(r=e[t]);++t)if(!(0,c.c)(r)){if(r.kind===o.b.OPERATION_DEFINITION)return f(r.name&&r.name.value);if(r.kind===o.b.FRAGMENT_DEFINITION)return p(r.name.value)}return!1!==globalThis.__DEV__&&i.V1.error(97),null},v=0,y=t.definitions.length-1;y>=0;--y)t.definitions[y].kind===o.b.OPERATION_DEFINITION&&++v;var g=(r=new Map,l=new Map,e.forEach(function(e){e&&(e.name?r.set(e.name,e):e.test&&l.set(e.test,e))}),function(e){var t=r.get(e.name.value);return!t&&l.size&&l.forEach(function(r,n){n(e)&&(t=r)}),t}),b=function(e){return(0,c.E)(e)&&e.map(g).some(function(e){return e&&e.remove})},_=new Map,E=!1,T={enter:function(e){if(b(e.directives))return E=!0,null}},w=(0,a.YR)(t,{Field:T,InlineFragment:T,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,r,n,i){var o=m(i);o&&o.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,r,n,i){if(b(e.directives))return E=!0,null;var o=m(i);o&&o.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,r,n){_.set(JSON.stringify(n),e)},leave:function(e,t,r,n){return e===_.get(JSON.stringify(n))?e:v>0&&e.selectionSet.selections.every(function(e){return e.kind===o.b.FIELD&&"__typename"===e.name.value})?(p(e.name.value).removed=!0,E=!0,null):void 0}},Directive:{leave:function(e){if(g(e))return E=!0,null}}});if(!E)return t;var x=function(e){return!e.transitiveVars&&(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(function(t){x(p(t)).transitiveVars.forEach(function(t){e.transitiveVars.add(t)})})),e},S=new Set;w.definitions.forEach(function(e){e.kind===o.b.OPERATION_DEFINITION?x(f(e.name&&e.name.value)).fragmentSpreads.forEach(function(e){S.add(e)}):e.kind!==o.b.FRAGMENT_DEFINITION||0!==v||p(e.name.value).removed||S.add(e.name.value)}),S.forEach(function(e){x(p(e)).fragmentSpreads.forEach(function(e){
1S.add(e)})});var k={enter:function(e){var t;if(t=e.name.value,!S.has(t)||p(t).removed)return null}};return h=(0,a.YR)(w,{FragmentSpread:k,FragmentDefinition:k,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=x(f(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return(0,n.Cl)((0,n.Cl)({},e),{variableDefinitions:e.variableDefinitions.filter(function(e){return t.has(e.variable.name.value)})})}}}}),!function e(t,r){return!t||t.selectionSet.selections.every(function(t){return t.kind===o.b.FRAGMENT_SPREAD&&e(r[t.name.value],r)})}((0,s.Vu)(h)||(0,s.E4)(h),(0,u.JG)((0,s.zK)(h)))?h:null}var p=Object.assign(function(e){return(0,a.YR)(e,{SelectionSet:{enter:function(e,t,r){if(!r||r.kind!==o.b.OPERATION_DEFINITION){var i=e.selections;if(!(!i||i.some(function(e){return(0,l.dt)(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))&&!((0,l.dt)(r)&&r.directives&&r.directives.some(function(e){return"export"===e.name.value})))return(0,n.Cl)((0,n.Cl)({},e),{selections:(0,n.fX)((0,n.fX)([],i,!0),[h],!1)})}}}})},{added:function(e){return e===h}});function m(e){return"query"===(0,s.Vn)(e).operation?e:(0,a.YR)(e,{OperationDefinition:{enter:function(e){return(0,n.Cl)((0,n.Cl)({},e),{operation:"query"})}}})}function v(e){return(0,s.sw)(e),f([{test:function(e){return"client"===e.name.value},remove:!0}],e)}function y(e){return(0,s.sw)(e),(0,a.YR)(e,{FragmentSpread:function(e){var t;if(null==(t=e.directives)||!t.some(function(e){return"unmask"===e.name.value}))return(0,n.Cl)((0,n.Cl)({},e),{directives:(0,n.fX)((0,n.fX)([],e.directives||[],!0),[{kind:o.b.DIRECTIVE,name:{kind:o.b.NAME,value:"nonreactive"}}
1],!1)})}})}},62091:(e,t,r)=>{"use strict";r.d(t,{p:()=>i});var n=r(18659);function i(e,t){void 0===t&&(t=0);var r=(0,n.v)("stringifyForDisplay");return JSON.stringify(e,function(e,t){return void 0===t?r:t},t).split(JSON.stringify(r)).join("<undefined>")}},64646:(e,t,r)=>{"use strict";r.d(t,{IT:()=>P});var n,i,o=r(20095),a=r(17318),s=r(60427),l=r.t(s,2),u=r(80542),c=!1,h=l.useSyncExternalStore||function(e,t,r){var n=t();!1===globalThis.__DEV__||c||n===t()||(c=!0,!1!==globalThis.__DEV__&&a.V1.error(68));var i=s.useState({inst:{value:n,getSnapshot:t}}),o=i[0].inst,l=i[1];return u.JR?s.useLayoutEffect(function(){Object.assign(o,{value:n,getSnapshot:t}),d(o)&&l({inst:o})},[e,n,t]):Object.assign(o,{value:n,getSnapshot:t}),s.useEffect(function(){return d(o)&&l({inst:o}),e(function(){d(o)&&l({inst:o})})},[e]),n};function d(e){var t=e.value,r=e.getSnapshot;try{return t!==r()}catch(e){return!0}}var f=r(20996),p=r(18877),m=u.ol?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function v(){(0,a.V1)("createContext"in l,54);var e=s.createContext[m];return e||(Object.defineProperty(s.createContext,m,{value:e=s.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}var y=r(83070),g=r(66434),b=r(95682),_=r(80593),E=r(17070);function T(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 w(e){i||(i=new b.A(_.v.parser||1e3));var t,r,o=i.get(e);if(o)return o;(0,a.V1)(!!e&&!!e.kind,70,e);for(var s=[],l=[],u=[],c=[],h=0,d=e.definitions;h<d.length;h++){var f=d[h];if("FragmentDefinition"===f.kind){s.push(f);continue}if("OperationDefinition"===f.kind)switch(f.operation){case"query":l.push(f);break;case"mutation":u.push(f);break;case"subscription":c.push(f)}}(0,a.V1)(!s.length||l.length||u.length||c.length,71),(0,a.V1)(l.length+u.length+c.length<=1,72,e,l.length,c.length,u.length),r=l.length?n.Query:n.Mutation,l.length||u.length||(r=n.Subscription);var p=l.length?l:u.length?u:c;(0,a.V1)(1===p.length,73,e,p.length);var m=p[0];t=m.variableDefinitions||[];var v={name:m.name&&"Name"===m.name.kind?m.name.value:"data",type:r,variables:t};return i.set(e,v),v}function x(e){var t=s.useContext(v()),r=e||t.client;return(0,a.V1)(!!r,58),r}!function(e){e[e.Query=0]="Query",e[e.Mutation=1]="Mutation",e[e.Subscription=2]="Subscription"}(n||(n={})),w.resetCache=function(){i=void 0},!1!==globalThis.__DEV__&&(0,E.D_)("parser",function(){return i?i.size:0});var S=r(79760),k=r(35785),O=r(21500),C=Symbol.for("apollo.hook.wrappers"),A=Object.prototype.hasOwnProperty;function D(){}var R=Symbol();function P(e,t){var r,n,i,o;return void 0===t&&(t=Object.create(null)),(r=N,(o=(i=(n=x(t&&t.client).queryManager)&&n[C])&&i.useQuery)?o(r):r)(e,t)}function N(e,t){var r,i,l,u,c,d,p,m,y,b,_,E,S,k,O,C,P,N,q,B,z,Q,W,H,K,G,Y,$,X,J,Z,ee,et,er,en,ei,eo,ea,es,el,eu,ec,eh,ed,ef,ep=(r=e,b=x((i=t).client),E=!!(_=s.useContext(v()).renderPromises),S=b.disableNetworkFetches,k=!1!==i.ssr&&!i.skip,O=i.partialRefetch,C=(l=b,u=r,c=i,d=E,void 0===c&&(c={}),p=c.skip,m=(c.ssr,c.onCompleted,c.onError,c.defaultOptions),y=(0,o.Tt)(c,["skip","ssr","onCompleted","onError","defaultOptions"]),function(e){var t=Object.assign(y,{query:u});return d&&("network-only"===t.fetchPolicy||"cache-and-network"===t.fetchPolicy)&&(t.fetchPolicy="cache-first"),t.variables||(t.variables={}),p?(t.initialFetchPolicy=t.initialFetchPolicy||t.fetchPolicy||L(m,l.defaultOptions),t.fetchPolicy="standby"):t.fetchPolicy||(t.fetchPolicy=(null==e?void 0:e.options.initialFetchPolicy)||L(m,l.defaultOptions)),t}),q=(N=(P=function(e,t,r,i,l){function u(o){var s,u,c,h,d;return s=n.Query,u=w(t),c=T(s),h=T(u.type),(0,a.V1)(u.type===s,74,c,c,h),{client:e,query:t,observable:i&&i.getSSRObservable(l())||e.watchQuery(I(void 0,e,r,l())),resultData:{previousData:null==(d=null==o?void 0:o.resultData.current)?void 0:d.data}}}var c=s.useState(u),h=c[0],d=c[1];function f(e){Object.assign(h.observable,((t={})[R]=e,t));var t,r,n=h.resultData;d((0,o.Cl)((0,o.Cl)({},h),{query:e.query,resultData:Object.assign(n,{previousData:(null==(r=n.current)?void 0:r.data)||n.previousData,current:void 0})}))}
1if(e!==h.client||t!==h.query){var p=u(h);return d(p),[p,f]}return[h,f]}(b,r,i,_,C))[0]).observable,B=N.resultData,z=P[1],Q=C(q),W=B,H=q,K=b,G=i,Y=Q,H[R]&&!(0,f.L)(H[R],Y)&&(H.reobserve(I(H,K,G,Y)),W.previousData=(null==($=W.current)?void 0:$.data)||W.previousData,W.current=void 0),H[R]=Y,X=s.useMemo(function(){var e;return{refetch:(e=q).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)}},[q]),J=q,Z=_,ee=k,Z&&ee&&(Z.registerSSRObservable(J),J.getCurrentResult().loading&&Z.addObservableQueryPromise(J)),{result:(et=B,er=q,en=b,ei=i,eo=Q,ea=S,es=O,el=E,eu={onCompleted:i.onCompleted||D,onError:i.onError||D},ec=s.useRef(eu),s.useEffect(function(){ec.current=eu}),eh=(el||ea)&&!1===ei.ssr&&!ei.skip?V:ei.skip||"standby"===eo.fetchPolicy?U:void 0,ed=et.previousData,ef=s.useMemo(function(){return eh&&j(eh,ed,er,en)},[en,er,eh,ed]),h(s.useCallback(function(e){if(el)return function(){};var t=function(){var t=et.current,r=er.getCurrentResult();t&&t.loading===r.loading&&t.networkStatus===r.networkStatus&&(0,f.L)(t.data,r.data)||M(r,et,er,en,es,e,ec.current)},r=function(i){if(n.current.unsubscribe(),n.current=er.resubscribeAfterError(t,r),!A.call(i,"graphQLErrors"))throw i;var o=et.current;(!o||o&&o.loading||!(0,f.L)(i,o.error))&&M({data:o&&o.data,error:i,loading:!1,networkStatus:g.pT.error},et,er,en,es,e,ec.current)},n={current:er.subscribe(t,r)};return function(){setTimeout(function(){return n.current.unsubscribe()})}},[ea,el,er,et,es,en]),function(){return ef||F(et,er,ec.current,es,en)},function(){return ef||F(et,er,ec.current,es,en)})),obsQueryFields:X,observable:q,resultData:B,client:b,onQueryExecuted:z}),em=ep.result,ev=ep.obsQueryFields;return s.useMemo(function(){return(0,o.Cl)((0,o.Cl)({},em),ev)},[em,ev])}function I(e,t,r,n){var i=[],o=t.defaultOptions.watchQuery;return o&&i.push(o),r.defaultOptions&&i.push(r.defaultOptions),i.push((0,S.o)(e&&e.options,n)),i.reduce(p.l)}function M(e,t,r,n,i,s,l){var u,c,h,d=t.current;d&&d.data&&(t.previousData=d.data),!e.error&&(0,k.E)(e.errors)&&(e.error=new y.K4({graphQLErrors:e.errors})),t.current=j((u=e,c=r,h=i,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:g.pT.refetch})):u),t.previousData,r,n),s(),function(e,t,r){if(!e.loading){var n,i=(n=e,(0,k.E)(n.errors)?new y.K4({graphQLErrors:n.errors}):n.error);Promise.resolve().then(function(){i?r.onError(i):e.data&&t!==e.networkStatus&&e.networkStatus===g.pT.ready&&r.onCompleted(e.data)}).catch(function(e){!1!==globalThis.__DEV__&&a.V1.warn(e)})}}(e,null==d?void 0:d.networkStatus,l)}function F(e,t,r,n,i){return e.current||M(t.getCurrentResult(),e,t,i,n,function(){},r),e.current}function L(e,t){var r;return(null==e?void 0:e.fetchPolicy)||(null==(r=null==t?void 0:t.watchQuery)?void 0:r.fetchPolicy)||"cache-first"}function j(e,t,r,n){var i=e.data,a=(e.partial,(0,o.Tt)(e,["data","partial"]));return(0,o.Cl)((0,o.Cl)({data:i},a),{client:n,observable:r,variables:r.variables,called:e!==V&&e!==U,previousData:t})}var V=(0,O.G)({loading:!0,data:void 0,error:void 0,networkStatus:g.pT.loading}),U=(0,O.G)({loading:!1,data:void 0,error:void 0,networkStatus:g.pT.ready})},65958:(e,t,r)=>{"use strict";r.d(t,{S:()=>u});var n=r(94587),i=r(21500),o=r(58851),a=r(71211),s=r(90240),l=r(17318);function u(e,t,r){return s.yV.withValue(!0,function(){var u=function e(t,r,i,u,c){var h,d=i.knownChanged,f=function(e,t){if(t.has(e))return t.get(e);var r=Array.isArray(e)?[]:Object.create(null);return t.set(e,r),r}(t,i.mutableTargets);if(Array.isArray(t)){for(var p=0,m=Array.from(t.entries());p<m.length;p++){var v=m[p],y=v[0],g=v[1];if(null===g){f[y]=null;continue}var b=e(g,r,i,u,!1!==globalThis.__DEV__?"".concat(c||"","[").concat(y,"]"):void 0);d.has(b)&&d.add(f),f[y]=b}return d.has(f)?f:t}for(var _=0,E=r.selections;_<E.length;_++){var T=E[_],w=void 0;if(u&&d.add(f),T.kind===n.b.FIELD){var x=(0,o.ue)(T),S=T.selectionSet;if(void 0===(w=f[x]||t[x]))continue;if(S&&null!==w){var b=e(t[x],S,i,u,!1!==globalThis.__DEV__?"".concat(c||"",".").concat(x):void 0);d.has(b)&&(w=b)}!1===globalThis.__DEV__&&(f[x]=w),!1!==globalThis.__DEV__&&(!u||"__typename"===x||(null==(h=Object.getOwnPropertyDescriptor(f,x))?void 0:h.value)?(delete f[x],f[x]=w):Object.defineProperty(f,x,function(e,t,r,n,i){var o=function(){return s.yV.getValue()||(!1!==globalThis.__DEV__&&l.V1.warn(48,n?"".concat(i," '").concat(n,"'"):"anonymous ".concat(i),"".concat(r,".").concat(e).replace(/^\./,"")),o=function(){return t}),t};return{get:function(){return o()},set:function(e){o=function(){return e}},enumerable:!0,configurable:!0}}(x,w,c||"",i.operationName,i.operationType)))}if(T.kind===n.b.INLINE_FRAGMENT&&(!T.typeCondition||i.cache.fragmentMatches(T,t.__typename))&&(w=e(t,T.selectionSet,i,u,c)),T.kind===n.b.FRAGMENT_SPREAD){var k=T.name.value,O=i.fragmentMap[k]||(i.fragmentMap[k]=i.cache.lookupFragment(k));(0,l.V1)(O,47,k);var C=(0,a.s7)(T);"mask"!==C&&(w=e(t,O.selectionSet,i,"migrate"===C,c))}d.has(w)&&d.add(f)}return"__typename"in t&&!("__typename"in f)&&(f.__typename=t.__typename),Object.keys(f).length!==Object.keys(t).length&&d.add(f),d.has(f)?f:t}(e,t,r,!1);return Object.isFrozen(e)&&(0,i.G)(u),u})}},66434:(e,t,r)=>{"use strict";var n;function i(e){return!!e&&e<7}r.d(t,{bi:()=>i,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)=>
1{"use strict";function r(e){return Array.isArray(e)?e[1]:e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentValue",{enumerable:!0,get:function(){return r}}),("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)},68922:(e,t,r)=>{"use strict";r.d(t,{HQ:()=>l,JG:()=>s,ct:()=>a,s6:()=>u});var n=r(20095),i=r(17318),o=r(74968);function a(e,t){var r=t,o=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw(0,i.vA)(85,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&o.push(e)}),void 0===r&&((0,i.V1)(1===o.length,86,o.length),r=o[0].name.value),(0,n.Cl)((0,n.Cl)({},e),{definitions:(0,n.fX)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}],e.definitions,!0)})}function s(e){void 0===e&&(e=[]);var t={};return e.forEach(function(e){t[e.name.value]=e}),t}function l(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var r=e.name.value;if("function"==typeof t)return t(r);var n=t&&t[r];return(0,i.V1)(n,87,r),n||null;default:return null}}function u(e){var t=!0;return(0,o.YR)(e,{FragmentSpread:function(e){if(!(t=!!e.directives&&e.directives.some(function(e){return"unmask"===e.name.value})))return o.sP}}),t}},71211:(e,t,r)=>{"use strict";r.d(t,{MS:()=>a,d8:()=>s,f2:()=>l,s7:()=>u});var n=r(17318),i=r(74968),o=r(94587);function a(e,t){var r,i,o=e.directives;return!o||!o.length||(i=[],(r=o)&&r.length&&r.forEach(function(e){if("skip"===(t=e.name.value)||"include"===t){var t,r=e.arguments,o=e.name.value;(0,n.V1)(r&&1===r.length,79,o);var a=r[0];(0,n.V1)(a.name&&"if"===a.name.value,80,o);var s=a.value;(0,n.V1)(s&&("Variable"===s.kind||"BooleanValue"===s.kind),81,o),i.push({directive:e,ifArgument:a})}}),i).every(function(e){var r=e.directive,i=e.ifArgument,o=!1;return"Variable"===i.value.kind?(o=t&&t[i.value.name.value],(0,n.V1)(void 0!==o,78,r.name.value)):o=i.value.value,"skip"===r.name.value?!o:o})}function s(e,t,r){var n=new Set(e),o=n.size;return(0,i.YR)(t,{Directive:function(e){if(n.delete(e.name.value)&&(!r||!n.size))return i.sP}}),r?!n.size:n.size<o}function l(e){return e&&s(["client","export"],e,!0)}function u(e){var t,r,i=null==(t=e.directives)?void 0:t.find(function(e){return"unmask"===e.name.value});if(!i)return"mask";var a=null==(r=i.arguments)?void 0:r.find(function(e){return"mode"===e.name.value});return(!1!==globalThis.__DEV__&&a&&(a.value.kind===o.b.VARIABLE?!1!==globalThis.__DEV__&&n.V1.warn(82):a.value.kind!==o.b.STRING?!1!==globalThis.__DEV__&&n.V1.warn(83):"migrate"!==a.value.value&&!1!==globalThis.__DEV__&&n.V1.warn(84,a.value.value)),a&&"value"in a.value&&"migrate"===a.value.value)?"migrate":"unmask"}},72361:(e,t,r)=>{"use strict";r.d(t,{R:()=>ed});var n=r(20095),i=r(17318),o=r(22337),a=o.C.execute,s=r(84918),l=r(34812),u=r(20996),c=r(54868),h=r(71211),d=r(61055),f=r(68922),p=r(26828),m=r(60592),v=r(15072);function y(e,t,r){return new v.c(function(n){var i={then:function(e){return new Promise(function(t){return t(e())})}};function o(e,t){return function(r){if(e){var o=function(){return n.closed?0:e(r)};i=i.then(o,o).then(function(e){return n.next(e)},function(e){return n.error(e)})}else n[t](r)}}var a={next:o(t,"next"),error:o(r,"error"),complete:function(){i.then(function(){return n.complete()})}},s=e.subscribe(a);return function(){return s.unsubscribe()}})}var g=r(35785);function b(e){var t=_(e);return(0,g.E)(t)}function _(e){var t=(0,g.E)(e.errors)?e.errors.slice(0):[];return(0,c.ST)(e)&&(0,g.E)(e.incremental)&&e.incremental.forEach(function(e){e.errors&&t.push.apply(t,e.errors)}),t}var E=r(45813),T=r(58851),w=r(93957),x=r(18659);function S(e,t,r){var n=[];e.forEach(function(e){return e[t]&&n.push(e)}),n.forEach(function(e){return e[t](r)})}var k=r(80542);function O(e){function t(t){Object.defineProperty(e,t,{value:v.c})}return k.ol&&Symbol.species&&t(Symbol.species),t("@@species"),e}function C(e){return e&&"function"==typeof e.then}var A=function(e){function t(t){var r=e.call(this,function(e){return r.addObserver(e),function(){return r.removeObserver(e)}})||this;return r.observers=new Set,r.promise=new Promise(function(e,t){r.resolve=e,r.reject=t}),r.handlers={next:function(e){null!==r.sub&&(r.latest=["next",e],r.notify("next",e),S(r.observers,"next",e))},error:function(e){var t=r.sub;null!==t&&(t&&setTimeout(function(){return t.unsubscribe()}),r.sub=null,r.latest=["error",e],r.reject(e),r.notify("error",e),S(r.observers,"error",e))},complete:function(){var e=r.sub,t=r.sources;if(null!==e){var n=(void 0===t?[]:t).shift();n?C(n)?n.then(function(e){return r.sub=e.subscribe(r.handlers)},r.handlers.error):r.sub=n.subscribe(r.handlers):(e&&setTimeout(function(){return e.unsubscribe()}),r.sub=null,r.latest&&"next"===r.latest[0]?r.resolve(r.latest[1]):r.resolve(),r.notify("complete"),S(r.observers,"complete"))}}},r.nextResultListeners=new Set,r.cancel=function(e){r.reject(e),r.sources=[],r.handlers.error(e)},r.promise.catch(function(e){}),"function"==typeof t&&(t=[new v.c(t)]),C(t)?t.then(function(e){return r.start(e)},r.handlers.error):r.start(t),r}return(0,n.C6)(t,e),t.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},t.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],r=e[t];r&&r.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},t.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e))},t.prototype.removeObserver=function(e){this.observers.delete(e)&&this.observers.size<1&&this.handlers.complete()},t.prototype.notify=function(e,t){var r=this.nextResultListeners;r.size&&(this.nextResultListeners=new Set,r.forEach(function(r){return r(e,t)}))},t.prototype.beforeNext=function(e){var t=!1;this.nextResultListeners.add(function(r,n){t||(t=!0,e(r,n))})},t}(v.c);O(A);var D=r(83070),R=r(66434),P=r(79760),N=r(54962),I=r(19221),M=Object.assign,F=Object.hasOwnProperty,L=function(e){function t(t){var r=t.queryManager,i=t.queryInfo,o=t.options,a=e.call(this,function(e){try{var t=e._subscription._observer;t&&!t.error&&(t.error=V)}catch(e){}var r=!a.observers.size;a.observers.add(e);var n=a.last;return n&&n.error?e.error&&e.error(n.error):n&&n.result&&e.next&&e.next(a.maskResult(n.result)),r&&a.reobserve().catch(function(){}),function(){a.observers.delete(e)&&!a.observers.size&&a.tearDownQuery()}})||this;a.observers=new Set,a.subscriptions=new Set,a.queryInfo=i,a.queryManager=r,a.waitForOwnResult=q(o.fetchPolicy),a.isTornDown=!1,a.subscribeToMore=a.subscribeToMore.bind(a),a.maskResult=a.maskResult.bind(a);var s=r.defaultOptions.watchQuery,l=(void 0===s?{}:s).fetchPolicy,u=void 0===l?"cache-first":l,c=o.fetchPolicy,h=void 0===c?u:c,d=o.initialFetchPolicy,f=void 0===d?"standby"===h?u:h:d;a.options=(0,n.Cl)((0,n.Cl)({},o),{initialFetchPolicy:f,fetchPolicy:h}),a.queryId=i.queryId||r.generateQueryId();var p=(0,E.Vu)(a.query);return a.queryName=p&&p.name&&p.name.value,a}return(0,n.C6)(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.lastQuery||this.options.query}
1,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return new Promise(function(t,r){var n={next:function(r){t(r),e.observers.delete(n),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout(function(){i.unsubscribe()},0)},error:r},i=e.subscribe(n)})},t.prototype.resetDiff=function(){this.queryInfo.resetDiff()},t.prototype.getCurrentFullResult=function(e){void 0===e&&(e=!0);var t=this.getLastResult(!0),r=this.queryInfo.networkStatus||t&&t.networkStatus||R.pT.ready,i=(0,n.Cl)((0,n.Cl)({},t),{loading:(0,R.bi)(r),networkStatus:r}),o=this.options.fetchPolicy,a=void 0===o?"cache-first":o;if(q(a)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers);else if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var s=this.queryInfo.getDiff();(s.complete||this.options.returnPartialData)&&(i.data=s.result),(0,u.L)(i.data,{})&&(i.data=void 0),s.complete?(delete i.partial,s.complete&&i.networkStatus===R.pT.loading&&("cache-first"===a||"cache-only"===a)&&(i.networkStatus=R.pT.ready,i.loading=!1)):i.partial=!0,!1===globalThis.__DEV__||s.complete||this.options.partialRefetch||i.loading||i.data||i.error||U(s.missing)}return e&&this.updateLastResult(i),i},t.prototype.getCurrentResult=function(e){return void 0===e&&(e=!0),this.maskResult(this.getCurrentFullResult(e))},t.prototype.isDifferentFromLastResult=function(e,t){if(!this.last)return!0;var r=this.queryManager.getDocumentInfo(this.query),n=this.queryManager.dataMasking,i=n?r.nonReactiveQuery:this.query;return(n||r.hasNonreactiveDirective?!(0,I.a)(i,this.last.result,e,this.variables):!(0,u.L)(this.last.result,e))||t&&!(0,u.L)(this.last.variables,t)},t.prototype.getLast=function(e,t){var r=this.last;if(r&&r[e]&&(!t||(0,u.L)(r.variables,this.variables)))return r[e]},t.prototype.getLastResult=function(e){return this.getLast("result",e)},t.prototype.getLastError=function(e){return this.getLast("error",e)},t.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t,r={pollInterval:0},o=this.options.fetchPolicy;if("cache-and-network"===o?r.fetchPolicy=o:"no-cache"===o?r.fetchPolicy="no-cache":r.fetchPolicy="network-only",!1!==globalThis.__DEV__&&e&&F.call(e,"variables")){var a=(0,E.AT)(this.query),s=a.variableDefinitions;s&&s.some(function(e){return"variables"===e.variable.name.value})||!1===globalThis.__DEV__||i.V1.warn(21,e,(null==(t=a.name)?void 0:t.value)||a)}return e&&!(0,u.L)(this.options.variables,e)&&(r.variables=this.options.variables=(0,n.Cl)((0,n.Cl)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(r,R.pT.refetch)},t.prototype.fetchMore=function(e){var t=this,r=(0,n.Cl)((0,n.Cl)({},e.query?e:(0,n.Cl)((0,n.Cl)((0,n.Cl)((0,n.Cl)({},this.options),{query:this.options.query}),e),{variables:(0,n.Cl)((0,n.Cl)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"});r.query=this.transformDocument(r.query);var o=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):r.query;var a=this.queryInfo,s=a.networkStatus;a.networkStatus=R.pT.fetchMore,r.notifyOnNetworkStatusChange&&this.observe();var l=new Set,u=null==e?void 0:e.updateQuery,c="no-cache"!==this.options.fetchPolicy;return c||(0,i.V1)(u,22),this.queryManager.fetchQuery(o,r,R.pT.fetchMore).then(function(i){if(t.queryManager.removeQuery(o),a.networkStatus===R.pT.fetchMore&&(a.networkStatus=s),c)t.queryManager.cache.batch({update:function(n){var o=e.updateQuery;o?n.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},function(e){return o(e,{fetchMoreResult:i.data,variables:r.variables})}):n.writeQuery({query:r.query,variables:r.variables,data:i.data})},onWatchUpdated:function(e){l.add(e.query)}});else{var h=t.getLast("result"),d=u(h.data,{fetchMoreResult:i.data,variables:r.variables});t.reportResult((0,n.Cl)((0,n.Cl)({},h),{data:d}),t.variables)}return t.maskResult(i)}).finally(function(){c&&!l.has(t.query)&&j(t)})},t.prototype.subscribeToMore=function(e){var t=this,r=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(r){var n=e.updateQuery;n&&t.updateQuery(function(e,t){return n(e,{subscriptionData:r,variables:t.variables})})},error:function(t){if(e.onError)return void e.onError(t);!1!==globalThis.__DEV__&&i.V1.error(23,t)}});return this.subscriptions.add(r),function(){t.subscriptions.delete(r)&&r.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.silentSetOptions=function(e){var t=(0,P.o)(this.options,e||{});M(this.options,t)},t.prototype.setVariables=function(e){return(0,u.L)(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size)?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},R.pT.setVariables):Promise.resolve()},t.prototype.updateQuery=function(e){var t=this.queryManager,r=e(t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});r&&(t.cache.writeQuery({query:this.options.query,data:r,variables:this.variables}),t.broadcastQueries())},t.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var r=t.fetchPolicy,n=void 0===r?"cache-first":r,i=t.initialFetchPolicy,o=void 0===i?n:i;"standby"===n||("function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(n,{reason:e,options:t,observable:this,initialFetchPolicy:o}):"variables-changed"===e?t.fetchPolicy=o:t.fetchPolicy=t.nextFetchPolicy)}return t.fetchPolicy},t.prototype.fetch=function(e,t,r){return this.queryManager.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(this.queryId,e,t,r)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,r=this.options.pollInterval;if(!r||!this.hasObservers()){t&&(clearTimeout(t.timeout),delete this.pollingInfo);return}if(!t||t.interval!==r){(0,i.V1)(r,24),(t||(this.pollingInfo={})).interval=r;var n=function(){var t,r;e.pollingInfo&&((0,R.bi)(e.queryInfo.networkStatus)||(null==(r=(t=e.options).skipPollAttempt)?void 0:r.call(t))?o():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},R.pT.poll).then(o,o))},o=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(n,t.interval))};o()}}},t.prototype.updateLastResult=function(e,t){void 0===t&&(t=this.variables);var r=this.getLastError();return r&&this.last&&!(0,u.L)(t,this.last.variables)&&(r=void 0),this.last=(0,n.Cl)({result:this.queryManager.assumeImmutableResults?e:(0,N.m)(e),variables:t},r?{error:r}:null)},t.prototype.reobserveAsConcast=function(e,t){var r=this;this.isTornDown=!1;
1var i=t===R.pT.refetch||t===R.pT.fetchMore||t===R.pT.poll,o=this.options.variables,a=this.options.fetchPolicy,s=(0,P.o)(this.options,e||{}),l=i?s:M(this.options,s),c=this.transformDocument(l.query);this.lastQuery=c,!i&&(this.updatePolling(),e&&e.variables&&!(0,u.L)(e.variables,o)&&"standby"!==l.fetchPolicy&&(l.fetchPolicy===a||"function"==typeof l.nextFetchPolicy)&&(this.applyNextFetchPolicy("variables-changed",l),void 0===t&&(t=R.pT.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=q(l.fetchPolicy));var h=function(){r.concast===p&&(r.waitForOwnResult=!1)},d=l.variables&&(0,n.Cl)({},l.variables),f=this.fetch(l,t,c),p=f.concast,m=f.fromLink,v={next:function(e){(0,u.L)(r.variables,d)&&(h(),r.reportResult(e,d))},error:function(e){(0,u.L)(r.variables,d)&&((0,D.Mn)(e)||(e=new D.K4({networkError:e})),h(),r.reportError(e,d))}};return i||!m&&this.concast||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=p,this.observer=v),p.addObserver(v),p},t.prototype.reobserve=function(e,t){var r;return(r=this.reobserveAsConcast(e,t).promise.then(this.maskResult)).catch(function(){}),r},t.prototype.resubscribeAfterError=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=this.last;this.resetLastResults();var n=this.subscribe.apply(this,e);return this.last=r,n},t.prototype.observe=function(){this.reportResult(this.getCurrentFullResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var r=this.getLastError(),n=this.isDifferentFromLastResult(e,t);(r||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),(r||n)&&S(this.observers,"next",this.maskResult(e))},t.prototype.reportError=function(e,t){var r=(0,n.Cl)((0,n.Cl)({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:R.pT.error,loading:!1});this.updateLastResult(r,t),S(this.observers,"error",this.last.error=e)},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(e){return e.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t.prototype.transformDocument=function(e){return this.queryManager.transform(e)},t.prototype.maskResult=function(e){return e&&"data"in e?(0,n.Cl)((0,n.Cl)({},e),{data:this.queryManager.maskOperation({document:this.query,data:e.data,fetchPolicy:this.options.fetchPolicy,id:this.queryId})}):e},t}(v.c);function j(e){var t=e.options,r=t.fetchPolicy,n=t.nextFetchPolicy;return"cache-and-network"===r||"network-only"===r?e.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(e,t){return(this.nextFetchPolicy=n,"function"==typeof this.nextFetchPolicy)?this.nextFetchPolicy(e,t):r}}):e.reobserve()}function V(e){!1!==globalThis.__DEV__&&i.V1.error(25,e.message,e.stack)}function U(e){!1!==globalThis.__DEV__&&e&&!1!==globalThis.__DEV__&&i.V1.debug(26,e)}function q(e){return"network-only"===e||"no-cache"===e||"standby"===e}O(L);var B=r(48131),z=new(k.et?WeakMap:Map);function Q(e,t){var r=e[t];"function"==typeof r&&(e[t]=function(){return z.set(e,(z.get(e)+1)%1e15),r.apply(this,arguments)})}function W(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var H=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var r=this.cache=e.cache;z.has(r)||(z.set(r,0),Q(r,"evict"),Q(r,"modify"),Q(r,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||R.pT.loading;return this.variables&&this.networkStatus!==R.pT.loading&&!(0,u.L)(this.variables,e.variables)&&(t=R.pT.setVariables),(0,u.L)(e.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.reset=function(){W(this),this.dirty=!1},e.prototype.resetDiff=function(){this.lastDiff=void 0},e.prototype.getDiff=function(){var e=this.getDiffOptions();if(this.lastDiff&&(0,u.L)(e,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var t=this.observableQuery;if(t&&"no-cache"===t.options.fetchPolicy)return{complete:!1};var r=this.cache.diff(e);return this.updateLastDiff(r,e),r},e.prototype.updateLastDiff=function(e,t){this.lastDiff=e?{diff:e,options:t||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(e){var t;return void 0===e&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:null==(t=this.observableQuery)?void 0:t.options.canonizeResults}},e.prototype.setDiff=function(e){var t,r=this,n=this.lastDiff&&this.lastDiff.diff;!(e&&!e.complete&&(null==(t=this.observableQuery)?void 0:t.getLastError()))&&(this.updateLastDiff(e),this.dirty||(0,u.L)(n&&n.result,e&&e.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return r.notify()},0))))},e.prototype.setObservableQuery=function(e){var t=this;e!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=e,e?(e.queryInfo=this,this.listeners.add(this.oqListener=function(){t.getDiff().fromOptimisticTransaction?e.observe():j(e)})):delete this.oqListener)},e.prototype.notify=function(){var e=this;
1W(this),this.shouldNotify()&&this.listeners.forEach(function(t){return t(e)}),this.dirty=!1},e.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if((0,R.bi)(this.networkStatus)&&this.observableQuery){var e=this.observableQuery.options.fetchPolicy;if("cache-only"!==e&&"cache-and-network"!==e)return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=e.prototype.cancel;var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var r=this.observableQuery;if(!r||"no-cache"!==r.options.fetchPolicy){var i=(0,n.Cl)((0,n.Cl)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});this.lastWatch&&(0,u.L)(i,this.lastWatch)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=i))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var r=this.lastWrite;return!(r&&r.dmCount===z.get(this.cache)&&(0,u.L)(t,r.variables)&&(0,u.L)(e.data,r.result.data))},e.prototype.markResult=function(e,t,r,n){var i=this,o=new B.ZI,a=(0,g.E)(e.errors)?e.errors.slice(0):[];if(this.reset(),"incremental"in e&&(0,g.E)(e.incremental)){var s=(0,c.bd)(this.getDiff().result,e);e.data=s}else if("hasNext"in e&&e.hasNext){var l=this.getDiff();e.data=o.merge(l.result,e.data)}this.graphQLErrors=a,"no-cache"===r.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(r.variables)):0!==n&&(K(e,r.errorPolicy)?this.cache.performTransaction(function(o){if(i.shouldWrite(e,r.variables))o.writeQuery({query:t,data:e.data,variables:r.variables,overwrite:1===n}),i.lastWrite={result:e,variables:r.variables,dmCount:z.get(i.cache)};else if(i.lastDiff&&i.lastDiff.diff.complete){e.data=i.lastDiff.diff.result;return}var a=i.getDiffOptions(r.variables),s=o.diff(a);!i.stopped&&(0,u.L)(i.variables,r.variables)&&i.updateWatch(r.variables),i.updateLastDiff(s,a),s.complete&&(e.data=s.result)}):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=R.pT.ready},e.prototype.markError=function(e){return this.networkStatus=R.pT.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function K(e,t){void 0===t&&(t="none");var r="ignore"===t||"all"===t,n=!b(e);return!n&&r&&e.data&&(n=!0),n}var G=r(3322),Y=r(39668),$=r(95682),X=r(80593),J=r(65958),Z=r(90240),ee=r(28347),et=Object.prototype.hasOwnProperty,er=Object.create(null),en=function(){function e(e){var t=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new $.A(X.v["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Y.b(!1),this.noCacheWarningsByQueryId=new Set;var r=new m.c(function(e){return t.cache.transformDocument(e)},{cache:!1});this.cache=e.cache,this.link=e.link,this.defaultOptions=e.defaultOptions,this.queryDeduplication=e.queryDeduplication,this.clientAwareness=e.clientAwareness,this.localState=e.localState,this.ssrMode=e.ssrMode,this.assumeImmutableResults=e.assumeImmutableResults,this.dataMasking=e.dataMasking;var n=e.documentTransform;this.documentTransform=n?r.concat(n).concat(r):r,this.defaultContext=e.defaultContext||Object.create(null),(this.onBroadcast=e.onBroadcast)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach(function(t,r){e.stopQueryNoBroadcast(r)}),this.cancelPendingFetches((0,i.vA)(27))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach(function(t){return t(e)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){return(0,n.sH)(this,arguments,void 0,function(e){var t,r,o,a,s,l,u,c=e.mutation,h=e.variables,d=e.optimisticResponse,f=e.updateQueries,p=e.refetchQueries,m=void 0===p?[]:p,v=e.awaitRefetchQueries,g=void 0!==v&&v,E=e.update,T=e.onQueryUpdated,w=e.fetchPolicy,x=void 0===w?(null==(l=this.defaultOptions.mutate)?void 0:l.fetchPolicy)||"network-only":w,S=e.errorPolicy,k=void 0===S?(null==(u=this.defaultOptions.mutate)?void 0:u.errorPolicy)||"none":S,O=e.keepRootFields,C=e.context;return(0,n.YH)(this,function(e){switch(e.label){case 0:if((0,i.V1)(c,28),(0,i.V1)("network-only"===x||"no-cache"===x,29),t=this.generateMutationId(),c=this.cache.transformForLink(this.transform(c)),r=this.getDocumentInfo(c).hasClientExports,h=this.getVariables(c,h),!r)return[3,2];return[4,this.localState.addExportedVariables(c,h,C)];case 1:h=e.sent(),e.label=2;case 2:return o=this.mutationStore&&(this.mutationStore[t]={mutation:c,variables:h,loading:!0,error:null}),a=d&&this.markMutationOptimistic(d,{mutationId:t,document:c,variables:h,fetchPolicy:x,errorPolicy:k,context:C,updateQueries:f,update:E,keepRootFields:O}),this.broadcastQueries(),s=this,[2,new Promise(function(e,r){return y(s.getObservableFromLink(c,(0,n.Cl)((0,n.Cl)({},C),{optimisticResponse:a?d:void 0}),h,{},!1),function(e){if(b(e)&&"none"===k)throw new D.K4({graphQLErrors:_(e)});o&&(o.loading=!1,o.error=null);var r=(0,n.Cl)({},e);return"function"==typeof m&&(m=m(r)),"ignore"===k&&b(r)&&delete r.errors,s.markMutationResult({mutationId:t,result:r,document:c,variables:h,fetchPolicy:x,errorPolicy:k,context:C,update:E,updateQueries:f,awaitRefetchQueries:g,refetchQueries:m,removeOptimistic:a?t:void 0,onQueryUpdated:T,keepRootFields:O})}).subscribe({next:function(r){s.broadcastQueries(),"hasNext"in r&&!1!==r.hasNext||e((0,n.Cl)((0,n.Cl)({},r),{data:s.maskOperation({document:c,data:r.data,fetchPolicy:x,id:t})}))},error:function(e){o&&(o.loading=!1,o.error=e),a&&s.cache.removeOptimistic(t),s.broadcastQueries(),r(e instanceof D.K4?e:new D.K4({networkError:e}))}})})]}})})},e.prototype.markMutationResult=function(e,t){var r=this;void 0===t&&(t=this.cache);var i=e.result,o=[],a="no-cache"===e.fetchPolicy;if(!a&&K(i,e.errorPolicy)){if((0,c.ST)(i)||o.push({result:i.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),(0,c.ST)(i)&&(0,g.E)(i.incremental)){var s=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}
1),l=void 0;s.result&&(l=(0,c.bd)(s.result,i)),void 0!==l&&(i.data=l,o.push({result:l,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var u=e.updateQueries;u&&this.queries.forEach(function(e,n){var a=e.observableQuery,s=a&&a.queryName;if(s&&et.call(u,s)){var l=u[s],c=r.queries.get(n),h=c.document,d=c.variables,f=t.diff({query:h,variables:d,returnPartialData:!0,optimistic:!1}),p=f.result;if(f.complete&&p){var m=l(p,{mutationResult:i,queryName:h&&(0,E.n4)(h)||void 0,queryVariables:d});m&&o.push({result:m,dataId:"ROOT_QUERY",query:h,variables:d})}}})}if(o.length>0||(e.refetchQueries||"").length>0||e.update||e.onQueryUpdated||e.removeOptimistic){var h=[];if(this.refetchQueries({updateCache:function(t){a||o.forEach(function(e){return t.write(e)});var s=e.update,l=!(0,c.YX)(i)||(0,c.ST)(i)&&!i.hasNext;if(s){if(!a){var u=t.diff({id:"ROOT_MUTATION",query:r.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});u.complete&&("incremental"in(i=(0,n.Cl)((0,n.Cl)({},i),{data:u.result}))&&delete i.incremental,"hasNext"in i&&delete i.hasNext)}l&&s(t,i,{context:e.context,variables:e.variables})}a||e.keepRootFields||!l||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var r=t.fieldName,n=t.DELETE;return"__typename"===r?e:n}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach(function(e){return h.push(e)}),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(h).then(function(){return i})}return Promise.resolve(i)},e.prototype.markMutationOptimistic=function(e,t){var r=this,o="function"==typeof e?e(t.variables,{IGNORE:er}):e;return o!==er&&(this.cache.recordOptimisticTransaction(function(e){try{r.markMutationResult((0,n.Cl)((0,n.Cl)({},t),{result:{data:o}}),e)}catch(e){!1!==globalThis.__DEV__&&i.V1.error(e)}},t.mutationId),!0)},e.prototype.fetchQuery=function(e,t,r){return this.fetchConcastWithInfo(e,t,r).concast.promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach(function(t,r){e[r]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}}),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){return this.documentTransform.transformDocument(e)},e.prototype.getDocumentInfo=function(e){var t=this.transformCache;if(!t.has(e)){var r={hasClientExports:(0,h.f2)(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:(0,h.d8)(["nonreactive"],e),nonReactiveQuery:(0,d.x3)(e),clientQuery:this.localState.clientQuery(e),serverQuery:(0,d.iz)([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],e),defaultVars:(0,E.wY)((0,E.Vu)(e)),asQuery:(0,n.Cl)((0,n.Cl)({},e),{definitions:e.definitions.map(function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,n.Cl)((0,n.Cl)({},e),{operation:"query"}):e})})};t.set(e,r)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,n.Cl)((0,n.Cl)({},this.getDocumentInfo(e).defaultVars),t)},e.prototype.watchQuery=function(e){var t=this.transform(e.query);void 0===(e=(0,n.Cl)((0,n.Cl)({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var r=new H(this),i=new L({queryManager:this,queryInfo:r,options:e});return i.lastQuery=t,this.queries.set(i.queryId,r),r.init({document:t,observableQuery:i,variables:i.variables}),i},e.prototype.query=function(e,t){var r=this;void 0===t&&(t=this.generateQueryId()),(0,i.V1)(e.query,30),(0,i.V1)("Document"===e.query.kind,31),(0,i.V1)(!e.returnPartialData,32),(0,i.V1)(!e.pollInterval,33);var o=this.transform(e.query);return this.fetchQuery(t,(0,n.Cl)((0,n.Cl)({},e),{query:o})).then(function(i){return i&&(0,n.Cl)((0,n.Cl)({},i),{data:r.maskOperation({document:o,data:i.data,fetchPolicy:e.fetchPolicy,id:t})})}).finally(function(){return r.stopQuery(t)})},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}
1),this.cancelPendingFetches((0,i.vA)(34)),this.queries.forEach(function(e){e.observableQuery?e.networkStatus=R.pT.loading:e.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var r=new Map,o=new Map,a=new Map,s=new Set;return Array.isArray(e)&&e.forEach(function(e){if("string"==typeof e)o.set(e,e),a.set(e,!1);else if((0,T.Kc)(e)){var r=(0,G.y)(t.transform(e));o.set(r,(0,E.n4)(e)),a.set(r,!1)}else(0,w.U)(e)&&e.query&&s.add(e)}),this.queries.forEach(function(t,n){var i=t.observableQuery,o=t.document;if(i){if("all"===e)return void r.set(n,i);var s=i.queryName;if("standby"===i.options.fetchPolicy||"active"===e&&!i.hasObservers())return;("active"===e||s&&a.has(s)||o&&a.has((0,G.y)(o)))&&(r.set(n,i),s&&a.set(s,!0),o&&a.set((0,G.y)(o),!0))}}),s.size&&s.forEach(function(e){var o=(0,x.v)("legacyOneTimeQuery"),a=t.getQuery(o).init({document:e.query,variables:e.variables}),s=new L({queryManager:t,queryInfo:a,options:(0,n.Cl)((0,n.Cl)({},e),{fetchPolicy:"network-only"})});(0,i.V1)(s.queryId===o),a.setObservableQuery(s),r.set(o,s)}),!1!==globalThis.__DEV__&&a.size&&a.forEach(function(e,t){if(!e){var r=o.get(t);r?!1!==globalThis.__DEV__&&i.V1.warn(35,r):!1!==globalThis.__DEV__&&i.V1.warn(36)}}),r},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var r=[];return this.getObservableQueries(e?"all":"active").forEach(function(n,i){var o=n.options.fetchPolicy;n.resetLastResults(),(e||"standby"!==o&&"cache-only"!==o)&&r.push(n.refetch()),t.getQuery(i).setDiff(null)}),this.broadcastQueries(),Promise.all(r)},e.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},e.prototype.startGraphQLSubscription=function(e){var t=this,r=e.query,n=e.variables,i=e.fetchPolicy,o=e.errorPolicy,a=void 0===o?"none":o,s=e.context,l=void 0===s?{}:s,u=e.extensions,c=void 0===u?{}:u;r=this.transform(r),n=this.getVariables(r,n);var h=function(e){return t.getObservableFromLink(r,l,e,c).map(function(n){"no-cache"!==i&&(K(n,a)&&t.cache.write({query:r,result:n.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var o=b(n),s=(0,D.uR)(n);if(o||s){var l={};if(o&&(l.graphQLErrors=n.errors),s&&(l.protocolErrors=n.extensions[D.K$]),"none"===a||s)throw new D.K4(l)}return"ignore"===a&&delete n.errors,n})};if(this.getDocumentInfo(r).hasClientExports){var d=this.localState.addExportedVariables(r,n,l).then(h);return new v.c(function(e){var t=null;return d.then(function(r){return t=r.subscribe(e)},e.error),function(){return t&&t.unsubscribe()}})}return h(n)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){this.fetchCancelFns.delete(e),this.queries.has(e)&&(this.getQuery(e).stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(e){return e.notify()})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,r,i,o){var s,l,u=this;void 0===o&&(o=null!=(s=null==t?void 0:t.queryDeduplication)?s:this.queryDeduplication);var c=this.getDocumentInfo(e),h=c.serverQuery,d=c.clientQuery;if(h){var f=this.inFlightLinkObservables,m=this.link,g={query:h,variables:r,operationName:(0,E.n4)(h)||void 0,context:this.prepareContext((0,n.Cl)((0,n.Cl)({},t),{forceFetch:!o})),extensions:i};if(t=g.context,o){var b=(0,G.y)(h),_=(0,p.M)(r),T=f.lookup(b,_);if(!(l=T.observable)){var w=new A([a(m,g)]);l=T.observable=w,w.beforeNext(function(){f.remove(b,_)})}}else l=new A([a(m,g)])}else l=new A([v.c.of({data:{}})]),t=this.prepareContext(t);return d&&(l=y(l,function(e){return u.localState.runResolvers({document:d,remoteResult:e,context:t,variables:r})})),l},e.prototype.getResultsFromLink=function(e,t,r){var n=e.lastRequestId=this.generateRequestId(),i=this.cache.transformForLink(r.query);return y(this.getObservableFromLink(i,r.context,r.variables),function(o){var a=_(o),s=a.length>0,l=r.errorPolicy;if(n>
1=e.lastRequestId){if(s&&"none"===l)throw e.markError(new D.K4({graphQLErrors:a}));e.markResult(o,i,r,t),e.markReady()}var u={data:o.data,loading:!1,networkStatus:R.pT.ready};return s&&"none"===l&&(u.data=void 0),s&&"ignore"!==l&&(u.errors=a,u.networkStatus=R.pT.error),u},function(t){var r=(0,D.Mn)(t)?t:new D.K4({networkError:t});throw n>=e.lastRequestId&&e.markError(r),r})},e.prototype.fetchConcastWithInfo=function(e,t,r,n){var i,o,a=this;void 0===r&&(r=R.pT.loading),void 0===n&&(n=t.query);var s=this.getVariables(n,t.variables),l=this.getQuery(e),u=this.defaultOptions.watchQuery,c=t.fetchPolicy,h=void 0===c?u&&u.fetchPolicy||"cache-first":c,d=t.errorPolicy,f=void 0===d?u&&u.errorPolicy||"none":d,p=t.returnPartialData,m=t.notifyOnNetworkStatusChange,v=t.context,y=Object.assign({},t,{query:n,variables:s,fetchPolicy:h,errorPolicy:f,returnPartialData:void 0!==p&&p,notifyOnNetworkStatusChange:void 0!==m&&m,context:void 0===v?{}:v}),g=function(e){y.variables=e;var n=a.fetchQueryByPolicy(l,y,r);return"standby"!==y.fetchPolicy&&n.sources.length>0&&l.observableQuery&&l.observableQuery.applyNextFetchPolicy("after-fetch",t),n},b=function(){return a.fetchCancelFns.delete(e)};if(this.fetchCancelFns.set(e,function(e){b(),setTimeout(function(){return i.cancel(e)})}),this.getDocumentInfo(y.query).hasClientExports)i=new A(this.localState.addExportedVariables(y.query,y.variables,y.context).then(g).then(function(e){return e.sources})),o=!0;else{var _=g(y.variables);o=_.fromLink,i=new A(_.sources)}return i.promise.then(b,b),{concast:i,fromLink:o}},e.prototype.refetchQueries=function(e){var t=this,r=e.updateCache,n=e.include,i=e.optimistic,o=void 0!==i&&i,a=e.removeOptimistic,s=void 0===a?o?(0,x.v)("refetchQueries"):void 0:a,l=e.onQueryUpdated,u=new Map;n&&this.getObservableQueries(n).forEach(function(e,r){u.set(r,{oq:e,lastDiff:t.getQuery(r).getDiff()})});var c=new Map;return r&&this.cache.batch({update:r,optimistic:o&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,r){var n=e.watcher instanceof H&&e.watcher.observableQuery;if(n){if(l){u.delete(n.queryId);var i=l(n,t,r);return!0===i&&(i=n.refetch()),!1!==i&&c.set(n,i),i}null!==l&&u.set(n.queryId,{oq:n,lastDiff:r,diff:t})}}}),u.size&&u.forEach(function(e,r){var n,i=e.oq,o=e.lastDiff,a=e.diff;if(l){if(!a){var s=i.queryInfo;s.reset(),a=s.getDiff()}n=l(i,a,o)}l&&!0!==n||(n=i.refetch()),!1!==n&&c.set(i,n),r.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(r)}),s&&this.cache.removeOptimistic(s),c},e.prototype.maskOperation=function(e){var t,r,n,o=e.document,a=e.data;if(!1!==globalThis.__DEV__){var s=e.fetchPolicy,l=e.id,u=null==(t=(0,E.Vu)(o))?void 0:t.operation,c=(null!=(r=null==u?void 0:u[0])?r:"o")+l;!this.dataMasking||"no-cache"!==s||(0,f.s6)(o)||this.noCacheWarningsByQueryId.has(c)||(this.noCacheWarningsByQueryId.add(c),!1!==globalThis.__DEV__&&i.V1.warn(37,null!=(n=(0,E.n4)(o))?n:"Unnamed ".concat(null!=u?u:"operation")))}return this.dataMasking?function(e,t,r){if(!r.fragmentMatches)return!1!==globalThis.__DEV__&&(0,Z.Ki)(),e;var n,o=(0,E.Vu)(t);return((0,i.V1)(o,51),null==e)?e:(0,J.S)(e,o.selectionSet,{operationType:o.operation,operationName:null==(n=o.name)?void 0:n.value,fragmentMap:(0,f.JG)((0,E.zK)(t)),cache:r,mutableTargets:new Z.jq,knownChanged:new Z.xm})}(a,o,this.cache):a},e.prototype.maskFragment=function(e){var t=e.data,r=e.fragment,n=e.fragmentName;return this.dataMasking?(0,ee.z)(t,r,this.cache,n):t},e.prototype.fetchQueryByPolicy=function(e,t,r){var i=this,o=t.query,a=t.variables,s=t.fetchPolicy,l=t.refetchWritePolicy,c=t.errorPolicy,h=t.returnPartialData,d=t.context,f=t.notifyOnNetworkStatusChange,p=e.networkStatus;e.init({document:o,variables:a,networkStatus:r});var m=function(){return e.getDiff()},y=function(t,r){void 0===r&&(r=e.networkStatus||R.pT.loading);var s=t.result;!1===globalThis.__DEV__||h||(0,u.L)(s,{})||U(t.missing);var l=function(e){return v.c.of((0,n.Cl)({data:e,loading:(0,R.bi)(r),networkStatus:r},t.complete?null:{partial:!0}))};return s&&i.getDocumentInfo(o).hasForcedResolvers?i.localState.runResolvers({document:o,remoteResult:{data:s},context:d,variables:a,onlyRunForcedResolvers:!0}).then(function(e){return l(e.data||void 0)}):"none"===c&&r===R.pT.refetch&&Array.isArray(t.missing)?l(void 0):l(s)},g="no-cache"===s?0:r===R.pT.refetch&&"merge"!==l?1:2,b=function(){return i.getResultsFromLink(e,g,{query:o,variables:a,context:d,fetchPolicy:s,errorPolicy:c})},_=f&&"number"==typeof p&&p!==r&&(0,R.bi)(r);switch(s){default:case"cache-first":var E=m();if(E.complete)return{fromLink:!1,sources:[y(E,e.markReady())]};if(h||_)return{fromLink:!0,sources:[y(E),b()]};return{fromLink:!0,sources:[b()]};case"cache-and-network":var E=m();if(E.complete||h||_)return{fromLink:!0,sources:[y(E),b()]};return{fromLink:!0,sources:[b()]};case"cache-only":return{fromLink:!1,sources:[y(m(),e.markReady())]};case"network-only":if(_)return{fromLink:!0,sources:[y(m()),b()]};return{fromLink:!0,sources:[b()]};case"no-cache":if(_)return{fromLink:!0,sources:[y(e.getDiff()),b()]};return{fromLink:!0,sources:[b()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new H(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,n.Cl)((0,n.Cl)((0,n.Cl)({},this.defaultContext),t),{clientAwareness:this.clientAwareness})},e}(),ei=r(74968),eo=r(94587);function ea(e){return e.kind===eo.b.FIELD||e.kind===eo.b.FRAGMENT_SPREAD||e.kind===eo.b.INLINE_FRAGMENT}var es=r(48235),el=function(){function e(e){var t=e.cache,r=e.client,n=e.resolvers,i=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=t,r&&(this.client=r),n&&this.addResolvers(n),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach(function(e){t.resolvers=(0,B.D9)(t.resolvers,e)}):this.resolvers=(0,B.D9)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){return(0,n.sH)(this,arguments,void 0,function(e){var t=e.document,r=e.remoteResult,i=e.context,o=e.variables,a=e.onlyRunForcedResolvers,s=void 0!==a&&a;return(0,n.YH)(this,function(e){return t?[2,this.resolveDocument(t,r.data,i,o,this.fragmentMatcher,s).then(function(e){return(0,n.Cl)((0,n.Cl)({},r),{data:e.result})})]:[2,r]})})},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return(0,h.d8)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return(0,d.er)(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,n.Cl)((0,n.Cl)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e){return(0,n.sH)(this,arguments,void 0,function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),(0,n.YH)(this,function(i){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then(function(e){return(0,n.Cl)((0,n.Cl)({},t),e.exportedVariables)})]:[2,(0,n.Cl)({},t)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,ei.YR)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some(function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value})))return ei.sP}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:(0,d.zc)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t){return(0,n.sH)(this,arguments,void 0,function(e,t,r,i,o,a){var s,l,u,c,h,d,p,m,v,y;return void 0===r&&(r={}),void 0===i&&(i={}),void 0===o&&(o=function(){return!0}),void 0===a&&(a=!1),(0,n.YH)(this,function(g){return s=(0,E.Vn)(e),l=(0,E.zK)(e),u=(0,f.JG)(l),c=this.collectSelectionsToResolve(s,u),d=(h=s.operation)?h.charAt(0).toUpperCase()+h.slice(1):"Query",p=this,m=p.cache,v=p.client,y={fragmentMap:u,context:(0,n.Cl)((0,n.Cl)({},r),{cache:m,client:v}),variables:i,fragmentMatcher:o,defaultOperationType:d,exportedVariables:{},selectionsToResolve:c,onlyRunForcedResolvers:a},[2,this.resolveSelectionSet(s.selectionSet,!1,t,y).then(function(e){return{result:e,exportedVariables:y.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,r,o){return(0,n.sH)(this,void 0,void 0,function(){var a,s,l,u,c,d=this;return(0,n.YH)(this,function(f){return a=o.fragmentMap,s=o.context,l=o.variables,u=[r],c=function(e){return(0,n.sH)(d,void 0,void 0,function(){var c,d;return(0,n.YH)(this,function(n){return(t||o.selectionsToResolve.has(e))&&(0,h.MS)(e,l)?(0,T.dt)(e)?[2,this.resolveField(e,t,r,o).then(function(t){var r;void 0!==t&&u.push(((r={}
1)[(0,T.ue)(e)]=t,r))})]:((0,T.kd)(e)?c=e:(c=a[e.name.value],(0,i.V1)(c,19,e.name.value)),c&&c.typeCondition&&(d=c.typeCondition.name.value,o.fragmentMatcher(r,d,s)))?[2,this.resolveSelectionSet(c.selectionSet,t,r,o).then(function(e){u.push(e)})]:[2]:[2]})})},[2,Promise.all(e.selections.map(c)).then(function(){return(0,B.IM)(u)})]})})},e.prototype.resolveField=function(e,t,r,i){return(0,n.sH)(this,void 0,void 0,function(){var o,a,s,l,u,c,h,d,f,p=this;return(0,n.YH)(this,function(n){return r?(o=i.variables,l=(a=e.name.value)!==(s=(0,T.ue)(e)),c=Promise.resolve(u=r[s]||r[a]),(!i.onlyRunForcedResolvers||this.shouldForceResolvers(e))&&(h=r.__typename||i.defaultOperationType,(d=this.resolvers&&this.resolvers[h])&&(f=d[l?a:s])&&(c=Promise.resolve(es.bl.withValue(this.cache,f,[r,(0,T.MB)(e,o),i.context,{field:e,fragmentMap:i.fragmentMap}])))),[2,c.then(function(r){if(void 0===r&&(r=u),e.directives&&e.directives.forEach(function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach(function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(i.exportedVariables[e.value.value]=r)})}),!e.selectionSet||null==r)return r;var n,o,a=null!=(o=null==(n=e.directives)?void 0:n.some(function(e){return"client"===e.name.value}))&&o;return Array.isArray(r)?p.resolveSubSelectedArray(e,t||a,r,i):e.selectionSet?p.resolveSelectionSet(e.selectionSet,t||a,r,i):void 0})]):[2,null]})})},e.prototype.resolveSubSelectedArray=function(e,t,r,n){var i=this;return Promise.all(r.map(function(r){return null===r?null:Array.isArray(r)?i.resolveSubSelectedArray(e,t,r,n):e.selectionSet?i.resolveSelectionSet(e.selectionSet,t,r,n):void 0}))},e.prototype.collectSelectionsToResolve=function(e,t){var r=function(e){return!Array.isArray(e)},n=this.selectionsToResolveCache;return function e(o){if(!n.has(o)){var a=new Set;n.set(o,a),(0,ei.YR)(o,{Directive:function(e,t,n,i,o){"client"===e.name.value&&o.forEach(function(e){r(e)&&ea(e)&&a.add(e)})},FragmentSpread:function(n,o,s,l,u){var c=t[n.name.value];(0,i.V1)(c,20,n.name.value);var h=e(c);h.size>0&&(u.forEach(function(e){r(e)&&ea(e)&&a.add(e)}),a.add(n),h.forEach(function(e){a.add(e)}))}})}return n.get(o)}(e)},e}(),eu=r(18877),ec=r(17070),eh=!1,ed=function(){function e(e){var t,r=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw(0,i.vA)(16);var a=e.uri,u=e.credentials,c=e.headers,h=e.cache,d=e.documentTransform,f=e.ssrMode,p=void 0!==f&&f,m=e.ssrForceFetchDelay,v=void 0===m?0:m,y=e.connectToDevTools,g=e.queryDeduplication,b=void 0===g||g,_=e.defaultOptions,E=e.defaultContext,T=e.assumeImmutableResults,w=void 0===T?h.assumeImmutableResults:T,x=e.resolvers,S=e.typeDefs,k=e.fragmentMatcher,O=e.name,C=e.version,A=e.devtools,D=e.dataMasking,R=e.link;R||(R=a?new l.P({uri:a,credentials:u,headers:c}):o.C.empty()),this.link=R,this.cache=h,this.disableNetworkFetches=p||v>0,this.queryDeduplication=b,this.defaultOptions=_||Object.create(null),this.typeDefs=S,this.devtoolsConfig=(0,n.Cl)((0,n.Cl)({},A),{enabled:null!=(t=null==A?void 0:A.enabled)?t:y}),void 0===this.devtoolsConfig.enabled&&(this.devtoolsConfig.enabled=!1!==globalThis.__DEV__),v&&setTimeout(function(){return r.disableNetworkFetches=!1},v),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=s.r,this.localState=new el({cache:h,client:this,resolvers:x,fragmentMatcher:k}),this.queryManager=new en({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:E,documentTransform:d,queryDeduplication:b,ssrMode:p,dataMasking:!!D,clientAwareness:{name:O,version:C},localState:this.localState,assumeImmutableResults:w,onBroadcast:this.devtoolsConfig.enabled?function(){r.devToolsHookCb&&r.devToolsHookCb({action:{},state:{queries:r.queryManager.getQueryStore(),mutations:r.queryManager.mutationStore||{}},dataWithOptimisticResults:r.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return e.prototype.connectToDevTools=function(){if("undefined"!=typeof window){var e=window,t=Symbol.for("apollo.devtools");(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this,!eh&&!1!==globalThis.__DEV__&&(eh=!0,window.document&&window.top===window.self&&/^(https?|file):$/.test(window.location.protocol)&&setTimeout(function(){if(!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var e=window.navigator,t=e&&e.userAgent,r=void 0;"string"==typeof t&&(t.indexOf("Chrome/")>-1?r="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":t.indexOf("Firefox/")>-1&&(r="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),r&&!1!==globalThis.__DEV__&&i.V1.log("Download the Apollo DevTools for a better development experience: %s",r)}},1e4))}},Object.defineProperty(e.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform}
1,enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=(0,eu.l)(this.defaultOptions.watchQuery,e)),this.disableNetworkFetches&&("network-only"===e.fetchPolicy||"cache-and-network"===e.fetchPolicy)&&(e=(0,n.Cl)((0,n.Cl)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=(0,eu.l)(this.defaultOptions.query,e)),(0,i.V1)("cache-and-network"!==e.fetchPolicy,17),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,n.Cl)((0,n.Cl)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=(0,eu.l)(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){var t=this,r=this.queryManager.generateQueryId();return this.queryManager.startGraphQLSubscription(e).map(function(i){return(0,n.Cl)((0,n.Cl)({},i),{data:t.queryManager.maskOperation({document:e.query,data:i.data,fetchPolicy:e.fetchPolicy,id:r})})})},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.watchFragment=function(e){var t;return this.cache.watchFragment((0,n.Cl)((0,n.Cl)({},e),((t={})[Symbol.for("apollo.dataMasking")]=this.queryManager.dataMasking,t)))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.cache.writeQuery(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.cache.writeFragment(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return a(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(e.resetStoreCallbacks.map(function(e){return e()}))}).then(function(){return e.reFetchObservableQueries()})},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(e.clearStoreCallbacks.map(function(e){return e()}))})},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.refetchQueries=function(e){var t=this.queryManager.refetchQueries(e),r=[],n=[];t.forEach(function(e,t){r.push(t),n.push(e)});var o=Promise.all(n);return o.queries=r,o.results=n,o.catch(function(e){!1!==globalThis.__DEV__&&i.V1.debug(18,e)}),o},e.prototype.getObservableQueries=function(e){return void 0===e&&(e="active"),this.queryManager.getObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},Object.defineProperty(e.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext},enumerable:!1,configurable:!0}),e}();!1!==globalThis.__DEV__&&(ed.prototype.getMemoryInternals=ec.ep)},74968:(e,t,r)=>{"use strict";r.d(t,{YR:()=>l,sP:()=>s});var n=r(58287),i=r(77016),o=r(86158),a=r(94587);let s=Object.freeze({});function l(e,t,r=o.aD){let u,c,h,d=new Map;for(let e of Object.values(a.b))d.set(e,function(e,t){let r=e[t];return"object"==typeof r?r:"function"==typeof r?{enter:r,leave:void 0}:{enter:e.enter,leave:e.leave}}(t,e));let f=Array.isArray(e),p=[e],m=-1,v=[],y=e,g=[],b=[];do{var _,E,T;let e,a=++m===p.length,l=a&&0!==v.length;if(a){if(c=0===b.length?void 0:g[g.length-1],y=h,h=b.pop(),l)if(f){y=y.slice();let e=0;for(let[t,r]of v){let n=t-e;null===r?(y.splice(n,1),e++):y[n]=r}}else for(let[e,t]of(y=Object.defineProperties({},Object.getOwnPropertyDescriptors(y)),v))y[e]=t;m=u.index,p=u.keys,v=u.edits,f=u.inArray,u=u.prev}
1else if(h){if(null==(y=h[c=f?m:p[m]]))continue;g.push(c)}if(!Array.isArray(y)){(0,o.Ll)(y)||(0,n.U)(!1,`Invalid AST Node: ${(0,i.N)(y)}.`);let r=a?null==(_=d.get(y.kind))?void 0:_.leave:null==(E=d.get(y.kind))?void 0:E.enter;if((e=null==r?void 0:r.call(t,y,c,h,g,b))===s)break;if(!1===e){if(!a){g.pop();continue}}else if(void 0!==e&&(v.push([c,e]),!a))if((0,o.Ll)(e))y=e;else{g.pop();continue}}void 0===e&&l&&v.push([c,y]),a?g.pop():(u={inArray:f,index:m,keys:p,edits:v,prev:u},p=(f=Array.isArray(y))?y:null!=(T=r[y.kind])?T:[],m=-1,v=[],h&&b.push(h),h=y)}while(void 0!==u);return 0!==v.length?v[v.length-1][1]:e}},77016:(e,t,r)=>{"use strict";function n(e){return function e(t,r){switch(typeof t){case"string":return JSON.stringify(t);case"function":return t.name?`[function ${t.name}]`:"[function]";case"object":return function(t,r){if(null===t)return"null";if(r.includes(t))return"[Circular]";let n=[...r,t];if("function"==typeof t.toJSON){let r=t.toJSON();if(r!==t)return"string"==typeof r?r:e(r,n)}else if(Array.isArray(t)){var i=t,o=n;if(0===i.length)return"[]";if(o.length>2)return"[Array]";let r=Math.min(10,i.length),a=i.length-r,s=[];for(let t=0;t<r;++t)s.push(e(i[t],o));return 1===a?s.push("... 1 more item"):a>1&&s.push(`... ${a} more items`),"["+s.join(", ")+"]"}var a=t,s=n;let l=Object.entries(a);return 0===l.length?"{}":s.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}(a)+"]":"{ "+l.map(([t,r])=>t+": "+e(r,s)).join(", ")+" }"}(t,r);default:return String(t)}}(e,[])}r.d(t,{N:()=>n})},77328:(e,t,r)=>{e.exports=r(97918)},79350:(e,t,r)=>{"use strict";let n,i;r.d(t,{J1:()=>j});var o=r(20095);let a=/\r\n|[\n\r]/g;function s(e,t){let r=0,n=1;for(let i of e.body.matchAll(a)){if("number"==typeof i.index||function(e,t){if(!e)throw Error("Unexpected invariant triggered.")}(!1),i.index>=t)break;r=i.index+i[0].length,n+=1}return{line:n,column:t+1-r}}function l(e,t){let r=e.locationOffset.column-1,n="".padStart(r)+e.body,i=t.line-1,o=e.locationOffset.line-1,a=t.line+o,s=1===t.line?r:0,l=t.column+s,c=`${e.name}:${a}:${l} 2`,h=n.split(/\r\n|[\n\r]/g),d=h[i];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([[`${a} |`,t[0]],...t.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(l%80)],["|",t[e+1]]])}return c+u([[`${a-1} |`,h[i-1]],[`${a} |`,d],["|","^".padStart(l)],[`${a+1} |`,h[i+1]]])}function u(e){let t=e.filter(([e,t])=>void 0!==t),r=Math.max(...t.map(([e])=>e.length));return t.map(([e,t])=>e.padStart(r)+(t?" "+t:"")).join("\n")}class c extends Error{constructor(e,...t){var r,n,i;let{nodes:o,source:a,positions:l,path:u,originalError:d,extensions:f}=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 p=h(null==(r=this.nodes)?void 0:r.map(e=>e.loc).filter(e=>null!=e));this.source=null!=a?a:null==p||null==(n=p[0])?void 0:n.source,this.positions=null!=l?l:null==p?void 0:p.map(e=>e.start),this.locations=l&&a?l.map(e=>s(a,e)):null==p?void 0:p.map(e=>s(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!=(i=null!=f?f:m)?i: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 r of this.nodes){var t;r.loc&&(e+="\n\n"+l((t=r.loc).source,s(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,r){return new c(`Syntax Error: ${r}`,void 0,e,[t])}var f=r(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 p=r(94587),m=r(47518),v=r(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"}(i||(i={}));class y{constructor(e){let t=new f.ou(i.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!==i.EOF)do if(e.next)e=e.next;else{let t=function(e,t){let r=e.source.body,n=r.length,o=t;for(;o<n;){let t=r.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===r.charCodeAt(o+1)?o+=2:++o,++e.line,e.lineStart=o;continue;case 35:return function(e,t){let r=e.source.body,n=r.length,o=t+1;for(;o<n;){let e=r.charCodeAt(o);if(10===e||13===e)break;if(g(e))++o;else if(b(r,o))o+=2;else break}return w(e,i.COMMENT,t,o,r.slice(t+1,o))}(e,o);case 33:return w(e,i.BANG,o,o+1);case 36:return w(e,i.DOLLAR,o,o+1);case 38:return w(e,i.AMP,o,o+1);case 40:return w(e,i.PAREN_L,o,o+1);case 41:return w(e,i.PAREN_R,o,o+1);case 46:if(46===r.charCodeAt(o+1)&&46===r.charCodeAt(o+2))return w(e,i.SPREAD,o,o+3);break;case 58:return w(e,i.COLON,o,o+1);case 61:return w(e,i.EQUALS,o,o+1);case 64:return w(e,i.AT,o,o+1);case 91:return w(e,i.BRACKET_L,o,o+1);case 93:return w(e,i.BRACKET_R,o,o+1);case 123:return w(e,i.BRACE_L,o,o+1);case 124:return w(e,i.PIPE,o,o+1);case 125:return w(e,i.BRACE_R,o,o+1);case 34:if(34===r.charCodeAt(o+1)&&34===r.charCodeAt(o+2))return function(e,t){let r=e.source.body,n=r.length,o=e.lineStart,a=t+3,s=a,l="",u=[];for(;a<n;){let n=r.charCodeAt(a);if(34===n&&34===r.charCodeAt(a+1)&&34===r.charCodeAt(a+2)){l+=r.slice(s,a),u.push(l);let n=w(e,i.BLOCK_STRING,t,a+3,(0,m.OC)(u).join("\n"));return e.line+=u.length-1,e.lineStart=o,n}if(92===n&&34===r.charCodeAt(a+1)&&34===r.charCodeAt(a+2)&&34===r.charCodeAt(a+3)){l+=r.slice(s,a),s=a+1,a+=4;continue}if(10===n||13===n){l+=r.slice(s,a),u.push(l),13===n&&10===r.charCodeAt(a+1)?a+=2:++a,l="",s=a,o=a;continue}if(g(n))++a;else if(b(r,a))a+=2;else throw d(e.source,a,`Invalid character within String: ${T(e,a)}.`)}throw d(e.source,a,"Unterminated string.")}(e,o);return function(e,t){let r=e.source.body,n=r.length,o=t+1,a=o,s="";for(;o<n;){let n=r.charCodeAt(o);if(34===n)return s+=r.slice(a,o),w(e,i.STRING,t,o+1,s);if(92===n){s+=r.slice(a,o);let t=117===r.charCodeAt(o+1)?123===r.charCodeAt(o+2)?function(e,t){let r=e.source.body,n=0,i=3;for(;i<12;){let e=r.charCodeAt(t+i++);if(125===e){if(i<5||!g(n))break;return{value:String.fromCodePoint(n),size:i}}if((n=n<<4|k(e))<0)break}throw d(e.source,t,`Invalid Unicode escape sequence: "${r.slice(t,t+i)}".`)}(e,o):function(e,t){let r=e.source.body,n=S(r,t+2);if(g(n))return{value:String.fromCodePoint(n),size:6};if(_(n)&&92===r.charCodeAt(t+6)&&117===r.charCodeAt(t+7)){let e=S(r,t+8);if(E(e))return{value:String.fromCodePoint(n,e),size:12}}throw d(e.source,t,`Invalid Unicode escape sequence: "${r.slice(t,t+6)}".`)}(e,o):function(e,t){let r=e.source.body;switch(r.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: "${r.slice(t,t+2)}".`)}(e,o);s+=t.value,o+=t.size,a=o;continue}if(10===n||13===n)break;if(g(n))++o;else if(b(r,o))o+=2;else throw d(e.source,o,`Invalid character within String: ${T(e,o)}.`)}throw d(e.source,o,"Unterminated string.")}(e,o)}if((0,v.yp)(t)||45===t)return function(e,t,r){let n=e.source.body,o=t,a=r,s=!1;if(45===a&&(a=n.charCodeAt(++o)),48===a){if(a=n.charCodeAt(++o),(0,v.yp)(a))throw d(e.source,o,`Invalid number, unexpected digit after 0: ${T(e,o)}.`)}else o=x(e,o,a),a=n.charCodeAt(o);if(46===a&&(s=!0,a=n.charCodeAt(++o),o=x(e,o,a),a=n.charCodeAt(o)),(69===a||101===a)&&(s=!0,(43===(a=n.charCodeAt(++o))||45===a)&&(a=n.charCodeAt(++o)),o=x(e,o,a),a=n.charCodeAt(o)),46===a||(0,v.un)(a))throw d(e.source,o,`Invalid number, expected digit but got: ${T(e,o)}.`);return w(e,s?i.FLOAT:i.INT,t,o,n.slice(t,o))}(e,o,t);if((0,v.un)(t))return function(e,t){let r=e.source.body,n=r.length,o=t+1;for(;o<n;){let e=r.charCodeAt(o);if((0,v.xr)(e))++o;else break}return w(e,i.NAME,t,o,r.slice(t,o))}(e,o);throw d(e.source,o,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":g(t)||b(r,o)?`Unexpected character: ${T(e,o)}.`:`Invalid character: ${T(e,o)}.`)}return w(e,i.EOF,n,n)}(this,e.end);e.next=t,t.prev=e,e=t}while(e.kind===i.COMMENT);return e}}function g(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function b(e,t){return _(e.charCodeAt(t))&&E(e.charCodeAt(t+1))}function _(e){return e>=55296&&e<=56319}function E(e){return e>=56320&&e<=57343}function T(e,t){let r=e.source.body.codePointAt(t);if(void 0===r)return i.EOF;
2if(r>=32&&r<=126){let e=String.fromCodePoint(r);return'"'===e?"'\"'":`"${e}"`}return"U+"+r.toString(16).toUpperCase().padStart(4,"0")}function w(e,t,r,n,i){let o=e.line,a=1+r-e.lineStart;return new f.ou(t,r,n,o,a,i)}function x(e,t,r){if(!(0,v.yp)(r))throw d(e.source,t,`Invalid number, expected digit but got: ${T(e,t)}.`);let n=e.source.body,i=t+1;for(;(0,v.yp)(n.charCodeAt(i));)++i;return i}function S(e,t){return k(e.charCodeAt(t))<<12|k(e.charCodeAt(t+1))<<8|k(e.charCodeAt(t+2))<<4|k(e.charCodeAt(t+3))}function k(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}var O=r(58287),C=r(77016);class A{constructor(e,t="GraphQL request",r={line:1,column:1}){"string"==typeof e||(0,O.U)(!1,`Body must be a string. Received: ${(0,C.N)(e)}.`),this.body=e,this.name=t,this.locationOffset=r,this.locationOffset.line>0||(0,O.U)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,O.U)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}class D{constructor(e,t){let r=e instanceof A?e:new A(e);this._lexer=new y(r),this._options=t}parseName(){let e=this.expectToken(i.NAME);return this.node(e,{kind:p.b.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:p.b.DOCUMENT,definitions:this.many(i.SOF,this.parseDefinition,i.EOF)})}parseDefinition(){if(this.peek(i.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===i.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;if(this.peek(i.BRACE_L))return this.node(t,{kind:p.b.OPERATION_DEFINITION,operation:f.cE.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let r=this.parseOperationType();return this.peek(i.NAME)&&(e=this.parseName()),this.node(t,{kind:p.b.OPERATION_DEFINITION,operation:r,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(i.NAME);switch(e.value){case"query":return f.cE.QUERY;case"mutation":return f.cE.MUTATION;case"subscription":return f.cE.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(i.PAREN_L,this.parseVariableDefinition,i.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:p.b.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(i.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(i.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(i.DOLLAR),this.node(e,{kind:p.b.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:p.b.SELECTION_SET,selections:this.many(i.BRACE_L,this.parseSelection,i.BRACE_R)})}parseSelection(){return this.peek(i.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e,t,r=this._lexer.token,n=this.parseName();return this.expectOptionalToken(i.COLON)?(e=n,t=this.parseName()):t=n,this.node(r,{kind:p.b.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(i.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(i.PAREN_L,t,i.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,r=this.parseName();return this.expectToken(i.COLON),this.node(t,{kind:p.b.ARGUMENT,name:r,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(i.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(i.NAME)?this.node(e,{kind:p.b.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:p.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:p.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:p.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 i.BRACKET_L:return this.parseList(e);case i.BRACE_L:return this.parseObject(e);case i.INT:return this._lexer.advance(),this.node(t,{kind:p.b.INT,value:t.value});case i.FLOAT:return this._lexer.advance(),this.node(t,{kind:p.b.FLOAT,value:t.value});case i.STRING:case i.BLOCK_STRING:return this.parseStringLiteral();case i.NAME:switch(this._lexer.advance(),t.value){case"true":return this.node(t,{kind:p.b.BOOLEAN,value:!0});case"false":return this.node(t,{kind:p.b.BOOLEAN,value:!1});case"null":return this.node(t,{kind:p.b.NULL});default:return this.node(t,{kind:p.b.ENUM,value:t.value})}case i.DOLLAR:if(e){if(this.expectToken(i.DOLLAR),this._lexer.token.kind===i.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:p.b.STRING,value:e.value,block:e.kind===i.BLOCK_STRING})}parseList(e){let t=()=>this.parseValueLiteral(e);return this.node(this._lexer.token,{kind:p.b.LIST,values:this.any(i.BRACKET_L,t,i.BRACKET_R)})}parseObject(e){let t=()=>this.parseObjectField(e);return this.node(this._lexer.token,{kind:p.b.OBJECT,fields:this.any(i.BRACE_L,t,i.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,r=this.parseName();return this.expectToken(i.COLON),this.node(t,{kind:p.b.OBJECT_FIELD,name:r,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(i.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(i.AT),this.node(t,{kind:p.b.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e,t=this._lexer.token;if(this.expectOptionalToken(i.BRACKET_L)){let r=this.parseTypeReference();this.expectToken(i.BRACKET_R),e=this.node(t,{kind:p.b.LIST_TYPE,type:r})}else e=this.parseNamedType();return this.expectOptionalToken(i.BANG)?this.node(t,{kind:p.b.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:p.b.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(i.STRING)||this.peek(i.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");let r=this.parseConstDirectives(),n=this.many(i.BRACE_L,this.parseOperationTypeDefinition,i.BRACE_R);return this.node(e,{kind:p.b.SCHEMA_DEFINITION,description:t,directives:r,operationTypes:n})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(i.COLON);let r=this.parseNamedType();return this.node(e,{kind:p.b.OPERATION_TYPE_DEFINITION,operation:t,type:r})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let r=this.parseName(),n=this.parseConstDirectives();return this.node(e,{kind:p.b.SCALAR_TYPE_DEFINITION,description:t,name:r,directives:n})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:p.b.OBJECT_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:o})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(i.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(i.BRACE_L,this.parseFieldDefinition,i.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseArgumentDefs();this.expectToken(i.COLON);let o=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(e,{kind:p.b.FIELD_DEFINITION,description:t,name:r,arguments:n,type:o,directives:a})}parseArgumentDefs(){return this.optionalMany(i.PAREN_L,this.parseInputValueDef,i.PAREN_R)}parseInputValueDef(){let e,t=this._lexer.token,r=this.parseDescription(),n=this.parseName();this.expectToken(i.COLON);let o=this.parseTypeReference();this.expectOptionalToken(i.EQUALS)&&(e=this.parseConstValueLiteral());let a=this.parseConstDirectives();return this.node(t,{kind:p.b.INPUT_VALUE_DEFINITION,description:r,name:n,type:o,defaultValue:e,directives:a})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:p.b.INTERFACE_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:o})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let r=this.parseName(),n=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(e,{kind:p.b.UNION_TYPE_DEFINITION,description:t,name:r,directives:n,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(i.EQUALS)?this.delimitedMany(i.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let r=this.parseName(),n=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(e,{kind:p.b.ENUM_TYPE_DEFINITION,description:t,name:r,directives:n,values:i})}parseEnumValuesDefinition(){return this.optionalMany(i.BRACE_L,this.parseEnumValueDefinition,i.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),r=this.parseEnumValueName(),n=this.parseConstDirectives();return this.node(e,{kind:p.b.ENUM_VALUE_DEFINITION,description:t,name:r,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,`${R(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 r=this.parseName(),n=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(e,{kind:p.b.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:r,directives:n,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(i.BRACE_L,this.parseInputValueDef,i.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===i.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(),r=this.optionalMany(i.BRACE_L,this.parseOperationTypeDefinition,i.BRACE_R);if(0===t.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:p.b.SCHEMA_EXTENSION,directives:t,operationTypes:r})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let t=this.parseName(),r=this.parseConstDirectives();if(0===r.length)throw this.unexpected();return this.node(e,{kind:p.b.SCALAR_TYPE_EXTENSION,name:t,directives:r})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:p.b.OBJECT_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:i})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:p.b.INTERFACE_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:i})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),r=this.parseConstDirectives(),n=this.parseUnionMemberTypes();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:p.b.UNION_TYPE_EXTENSION,name:t,directives:r,types:n})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),r=this.parseConstDirectives(),n=this.parseEnumValuesDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:p.b.ENUM_TYPE_EXTENSION,name:t,directives:r,values:n})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),r=this.parseConstDirectives(),n=this.parseInputFieldsDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:p.b.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:r,fields:n})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(i.AT);let r=this.parseName(),n=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let a=this.parseDirectiveLocations();return this.node(e,{kind:p.b.DIRECTIVE_DEFINITION,description:t,name:r,arguments:n,repeatable:o,locations:a})}parseDirectiveLocations(){return this.delimitedMany(i.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 r;return(null==(r=this._options)?void 0:r.noLocation)!==!0&&(t.loc=new f.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 ${R(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this._lexer.advance(),!0)}expectKeyword(e){let t=this._lexer.token;if(t.kind===i.NAME&&t.value===e)this._lexer.advance();else throw d(this._lexer.source,t.start,`Expected "${e}", found ${R(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===i.NAME&&t.value===e&
2&(this._lexer.advance(),!0)}unexpected(e){let t=null!=e?e:this._lexer.token;return d(this._lexer.source,t.start,`Unexpected ${R(t)}.`)}any(e,t,r){this.expectToken(e);let n=[];for(;!this.expectOptionalToken(r);)n.push(t.call(this));return n}optionalMany(e,t,r){if(this.expectOptionalToken(e)){let e=[];do e.push(t.call(this));while(!this.expectOptionalToken(r));return e}return[]}many(e,t,r){this.expectToken(e);let n=[];do n.push(t.call(this));while(!this.expectOptionalToken(r));return n}delimitedMany(e,t){this.expectOptionalToken(e);let r=[];do r.push(t.call(this));while(this.expectOptionalToken(e));return r}}function R(e){let t=e.value;return P(e.kind)+(null!=t?` "${t}"`:"")}function P(e){return e===i.BANG||e===i.DOLLAR||e===i.AMP||e===i.PAREN_L||e===i.PAREN_R||e===i.SPREAD||e===i.COLON||e===i.EQUALS||e===i.AT||e===i.BRACKET_L||e===i.BRACKET_R||e===i.BRACE_L||e===i.PIPE||e===i.BRACE_R?`"${e}"`:e}var N=new Map,I=new Map,M=!0,F=!1;function L(e){return e.replace(/[\s,]+/g," ").trim()}function j(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];"string"==typeof e&&(e=[e]);var n=e[0];return t.forEach(function(t,r){t&&"Document"===t.kind?n+=t.loc.source.body:n+=t,n+=e[r+1]}),function(e){var t=L(e);if(!N.has(t)){var r,n,i,a,s,l=new D(e,{experimentalFragmentVariables:F,allowLegacyFragmentVariables:F}).parseDocument();if(!l||"Document"!==l.kind)throw Error("Not a valid GraphQL document.");N.set(t,((a=new Set((r=new Set,n=[],l.definitions.forEach(function(e){if("FragmentDefinition"===e.kind){var t,i=e.name.value,o=L((t=e.loc).source.body.substring(t.start,t.end)),a=I.get(i);a&&!a.has(o)?M&&console.warn("Warning: fragment with name "+i+" 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"):a||I.set(i,a=new Set),a.add(o),r.has(o)||(r.add(o),n.push(e))}else n.push(e)}),i=(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 r=e[t];r&&"object"==typeof r&&a.add(r)})}),(s=i.loc)&&(delete s.startToken,delete s.endToken),i))}return N.get(t)}(n)}var V={gql:j,resetCaches:function(){N.clear(),I.clear()},disableFragmentWarnings:function(){M=!1},enableExperimentalFragmentVariables:function(){F=!0},disableExperimentalFragmentVariables:function(){F=!1}};!function(e){e.gql=V.gql,e.resetCaches=V.resetCaches,e.disableFragmentWarnings=V.disableFragmentWarnings,e.enableExperimentalFragmentVariables=V.enableExperimentalFragmentVariables,e.disableExperimentalFragmentVariables=V.disableExperimentalFragmentVariables}(j||(j={})),j.default=j},79760:(e,t,r)=>{"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Object.create(null);return e.forEach(function(e){e&&Object.keys(e).forEach(function(t){var n=e[t];void 0!==n&&(r[t]=n)})}),r}r.d(t,{o:()=>n})},80542:(e,t,r)=>{"use strict";r.d(t,{En:()=>a,JR:()=>h,et:()=>o,ol:()=>s,uJ:()=>l});var n=r(17318),i="ReactNative"==(0,n.no)(function(){return navigator.product}),o="function"==typeof WeakMap&&!(i&&!global.HermesInternal),a="function"==typeof WeakSet,s="function"==typeof Symbol&&"function"==typeof Symbol.for,l=s&&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||i)&&!c},80593:(e,t,r)=>{"use strict";r.d(t,{v:()=>a});var n=r(20095),i=r(17318),o=Symbol.for("apollo.cacheSize"),a=(0,n.Cl)({},i.Sf[o])},83070:(e,t,r)=>{"use strict";r.d(t,{K$:()=>o,K4:()=>u,Mn:()=>s,uR:()=>a});var n=r(20095);r(17318);var i=r(93957),o=Symbol();function a(e){return!!e.extensions&&Array.isArray(e.extensions[o])}function s(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,i.U)(e)&&e.message||"Error message not found."}).join("\n")},u=function(e){function t(r){var i=r.graphQLErrors,o=r.protocolErrors,a=r.clientErrors,s=r.networkError,u=r.errorMessage,c=r.extraInfo,h=e.call(this,u)||this;return h.name="ApolloError",h.graphQLErrors=i||[],h.protocolErrors=o||[],h.clientErrors=a||[],h.networkError=s||null,h.message=u||l(h),h.extraInfo=c,h.cause=(0,n.fX)((0,n.fX)((0,n.fX)([s],i||[],!0),o||[],!0),a||[],!0).find(function(e){return!!e})||null,h.__proto__=t.prototype,h}return(0,n.C6)(t,e),t}(Error)},84918:(e,t,r)=>{"use strict";r.d(t,{r:()=>n});var n="3.12.4"},86158:(e,t,r)=>{"use strict";let n;r.d(t,{Ll:()=>l,aD:()=>a,aZ:()=>i,cE:()=>n,ou:()=>o});class i{constructor(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class o{constructor(e,t,r,n,i,o){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=i,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 a={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:[],Float
2Value:[],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"]},s=new Set(Object.keys(a));function l(e){let t=null==e?void 0:e.kind;return"string"==typeof t&&s.has(t)}!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(n||(n={}))},90240:(e,t,r)=>{"use strict";r.d(t,{Ki:()=>c,jq:()=>a,xm:()=>s,yV:()=>l});var n=r(48069),i=r(17318),o=r(80542),a=o.et?WeakMap:Map,s=o.En?WeakSet:Set,l=new n.DX,u=!1;function c(){u||(u=!0,!1!==globalThis.__DEV__&&i.V1.warn(52))}},93957:(e,t,r)=>{"use strict";function n(e){return null!==e&&"object"==typeof e}r.d(t,{U:()=>n})},94091:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getRedirectError:function(){return a},getRedirectStatusCodeFromError:function(){return h},getRedirectTypeFromError:function(){return c},getURLFromRedirectError:function(){return u},permanentRedirect:function(){return l},redirect:function(){return s}});let n=r(13666),i=r(86500),o=void 0;function a(e,t,r){void 0===r&&(r=n.RedirectStatusCode.TemporaryRedirect);let o=Object.defineProperty(Error(i.REDIRECT_ERROR_CODE),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return o.digest=i.REDIRECT_ERROR_CODE+";"+t+";"+e+";"+r+";",o}function s(e,t){var r;throw null!=t||(t=(null==o||null==(r=o.getStore())?void 0:r.isAction)?i.RedirectType.push:i.RedirectType.replace),a(e,t,n.RedirectStatusCode.TemporaryRedirect)}function l(e,t){throw void 0===t&&(t=i.RedirectType.replace),a(e,t,n.RedirectStatusCode.PermanentRedirect)}function u(e){return(0,i.isRedirectError)(e)?e.digest.split(";").slice(2,-2).join(";"):null}function c(e){if(!(0,i.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,i.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,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(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 f},useRouter:function(){return p},useSearchParams:function(){return d}
2,useSelectedLayoutSegment:function(){return y},useSelectedLayoutSegments:function(){return v},useServerInsertedHTML:function(){return u.useServerInsertedHTML}});let n=r(14232),i=r(3669),o=r(9440),a=r(66454),s=r(54933),l=r(37788),u=r(7430),c=r(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 f(){return null==h||h("usePathname()"),(0,n.useContext)(o.PathnameContext)}function p(){let e=(0,n.useContext)(i.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 v(e){void 0===e&&(e="children"),null==h||h("useSelectedLayoutSegments()");let t=(0,n.useContext)(i.LayoutRouterContext);return t?function e(t,r,n,i){let o;if(void 0===n&&(n=!0),void 0===i&&(i=[]),n)o=t[1][r];else{var l;let e=t[1];o=null!=(l=e.children)?l:Object.values(e)[0]}if(!o)return i;let u=o[0],c=(0,a.getSegmentValue)(u);return!c||c.startsWith(s.PAGE_SEGMENT_KEY)?i:(i.push(c),e(o,r,!1,i))}(t.parentTree,e):null}function y(e){void 0===e&&(e="children"),null==h||h("useSelectedLayoutSegment()");let t=v(e);if(!t||0===t.length)return null;let r="children"===e?t[0]:t[t.length-1];return r===s.DEFAULT_SEGMENT_KEY?null:r}("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)},94587:(e,t,r)=>{"use strict";let n;r.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,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return _}});let n=r(64252),i=r(88365),o=r(37876),a=i._(r(14232)),s=n._(r(98477)),l=n._(r(97918)),u=r(95197),c=r(63258),h=r(81854);r(76456);let d=r(54387),f=n._(r(49411)),p=r(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 v(e,t,r,n,i,o,a){let s=null==e?void 0:e.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),null==r?void 0:r.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,i=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==n?void 0:n.current)&&n.current(e)}}))}function y(e){return a.use?{fetchPriority:e}:{fetchpriority:e}}let g=(0,a.forwardRef)((e,t)=>{let{src:r,srcSet:n,sizes:i,height:s,width:l,decoding:u,className:c,style:h,fetchPriority:d,placeholder:f,loading:m,unoptimized:g,fill:b,onLoadRef:_,onLoadingCompleteRef:E,setBlurComplete:T,setShowAltText:w,sizesInput:x,onLoad:S,onError:k,...O}=e,C=(0,a.useCallback)(e=>{e&&(k&&(e.src=e.src),e.complete&&v(e,f,_,E,T,g,x))},[r,f,_,E,T,k,g,x]),A=(0,p.useMergedRef)(t,C);return(0,o.jsx)("img",{...O,...y(d),loading:m,width:l,height:s,decoding:u,"data-nimg":b?"fill":"1",className:c,style:h,sizes:i,srcSet:n,src:r,ref:A,onLoad:e=>{v(e.currentTarget,f,_,E,T,g,x)},onError:e=>{w(!0),"empty"!==f&&T(!0),k&&k(e)}})});function b(e){let{isAppRouter:t,imgAttributes:r}=e,n={as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy,...y(r.fetchPriority)};return t&&s.default.preload?(s.default.preload(r.src,n),null):(0,o.jsx)(l.default,{children:(0,o.jsx)("link",{rel:"preload",href:r.srcSet?void 0:r.src,...n},"__nimg-"+r.src+r.srcSet+r.sizes)})}let _=(0,a.forwardRef)((e,t)=>{let r=(0,a.useContext)(d.RouterContext),n=(0,a.useContext)(h.ImageConfigContext),i=(0,a.useMemo)(()=>{var e;let t=m||n||c.imageConfigDefault,r=[...t.deviceSizes,...t.imageSizes].sort((e,t)=>
2e-t),i=t.deviceSizes.sort((e,t)=>e-t),o=null==(e=t.qualities)?void 0:e.sort((e,t)=>e-t);return{...t,allSizes:r,deviceSizes:i,qualities:o}},[n]),{onLoad:s,onLoadingComplete:l}=e,p=(0,a.useRef)(s);(0,a.useEffect)(()=>{p.current=s},[s]);let v=(0,a.useRef)(l);(0,a.useEffect)(()=>{v.current=l},[l]);let[y,_]=(0,a.useState)(!1),[E,T]=(0,a.useState)(!1),{props:w,meta:x}=(0,u.getImgProps)(e,{defaultLoader:f.default,imgConf:i,blurComplete:y,showAltText:E});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(g,{...w,unoptimized:x.unoptimized,placeholder:x.placeholder,fill:x.fill,onLoadRef:p,onLoadingCompleteRef:v,setBlurComplete:_,setShowAltText:T,sizesInput:e.sizes,ref:t}),x.priority?(0,o.jsx)(b,{isAppRouter:!r,imgAttributes:w}):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,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return l}}),r(76456);let n=r(10510),i=r(63258),o=["-moz-initial","fill","none","scale-down",void 0];function a(e){return void 0!==e.default}function s(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 r,l;let u,c,h,{src:d,sizes:f,unoptimized:p=!1,priority:m=!1,loading:v,className:y,quality:g,width:b,height:_,fill:E=!1,style:T,overrideSrc:w,onLoad:x,onLoadingComplete:S,placeholder:k="empty",blurDataURL:O,fetchPriority:C,decoding:A="async",layout:D,objectFit:R,objectPosition:P,lazyBoundary:N,lazyRoot:I,...M}=e,{imgConf:F,showAltText:L,blurComplete:j,defaultLoader:V}=t,U=F||i.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==(r=U.qualities)?void 0:r.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 q=M.loader||V;delete M.loader,delete M.srcSet;let B="__next_img_default"in q;if(B){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=q;q=t=>{let{config:r,...n}=t;return e(n)}}if(D){"fill"===D&&(E=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[D];e&&(T={...T,...e});let t={responsive:"100vw",fill:"100vw"}[D];t&&!f&&(f=t)}let z="",Q=s(b),W=s(_);if((l=d)&&"object"==typeof l&&(a(l)||void 0!==l.src)){let e=a(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,O=O||e.blurDataURL,z=e.src,!E)if(Q||W){if(Q&&!W){let t=Q/e.width;W=Math.round(e.height*t)}else if(!Q&&W){let t=W/e.height;Q=Math.round(e.width*t)}}else Q=e.width,W=e.height}let H=!m&&("lazy"===v||void 0===v);(!(d="string"==typeof d?d:z)||d.startsWith("data:")||d.startsWith("blob:"))&&(p=!0,H=!1),u.unoptimized&&(p=!0),B&&!u.dangerouslyAllowSVG&&d.split("?",1)[0].endsWith(".svg")&&(p=!0);let K=s(g),G=Object.assign(E?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:R,objectPosition:P}:{},L?{}:{color:"transparent"},T),Y=j||"empty"===k?null:"blur"===k?'url("data:image/svg+xml;charset=utf-8,'+(0,n.getImageBlurSvg)({widthInt:Q,heightInt:W,blurWidth:c,blurHeight:h,blurDataURL:O||"",objectFit:G.objectFit})+'")':'url("'+k+'")',$=o.includes(G.objectFit)?"fill"===G.objectFit?"100% 100%":"cover":G.objectFit,X=Y?{backgroundSize:$,backgroundPosition:G.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Y}:{}
2,J=function(e){let{config:t,src:r,unoptimized:n,width:i,quality:o,sizes:a,loader:s}=e;if(n)return{src:r,srcSet:void 0,sizes:void 0};let{widths:l,kind:u}=function(e,t,r){let{deviceSizes:n,allSizes:i}=e;if(r){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let n;n=e.exec(r);)t.push(parseInt(n[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=n[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:n,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))],kind:"x"}}(t,i,a),c=l.length-1;return{sizes:a||"w"!==u?a:"100vw",srcSet:l.map((e,n)=>s({config:t,src:r,quality:o,width:e})+" "+("w"===u?e:n+1)+u).join(", "),src:s({config:t,src:r,quality:o,width:l[c]})}}({config:u,src:d,unoptimized:p,width:Q,quality:K,sizes:f,loader:q});return{props:{...M,loading:H?"lazy":v,fetchPriority:C,width:Q,height:W,decoding:A,className:y,style:{...G,...X},sizes:J.sizes,srcSet:J.srcSet,src:w||J.src},meta:{unoptimized:p,priority:m,placeholder:k,fill:E}}}},95682:(e,t,r)=>{"use strict";r.d(t,{A:()=>s,V:()=>l});var n=r(99853),i=r(36898),o=new WeakSet;function a(e){!(e.size<=(e.max||-1))&&(o.has(e)||(o.add(e),setTimeout(function(){e.clean(),o.delete(e)},100)))}var s=function(e,t){var r=new n.l(e,t);return r.set=function(e,t){var r=n.l.prototype.set.call(this,e,t);return a(this),r},r},l=function(e,t){var r=new i.C(e,t);return r.set=function(e,t){var r=i.C.prototype.set.call(this,e,t);return a(this),r},r}},99853:(e,t,r)=>{"use strict";function n(){}r.d(t,{l:()=>s});let i="undefined"!=typeof WeakRef?WeakRef:function(e){return{deref:()=>e}},o="undefined"!=typeof WeakMap?WeakMap:Map,a="undefined"!=typeof FinalizationRegistry?FinalizationRegistry:function(){return{register:n,unregister:n}};class s{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 r=t.key;delete t.key,t.keyRef=new i(r),this.registry.register(r,t,t)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new a(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:r}=t;r&&(r.older=e),e&&(e.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t}set(e,t){let r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.scheduleFinalization(r),this.map.set(e,r),this.size++,r.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.