PageSourceSearch

https://blog.gurjot.dev/_next/static/chunks/7563-4dfa0994a9b0e37c.js

js gurjot.dev collected 2026-10-08 07:00:32 UTC 106,669 bytes, 14 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7563],{3648:(e,t,n)=>{n.d(t,{_:()=>r});function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},4129:(e,t,n)=>{n.d(t,{N:()=>i});var r=n(12115),i=globalThis?.document?r.useLayoutEffect:()=>{}},5379:(e,t,n)=>{n.d(t,{D:()=>u,N:()=>c});var r=n(12115),i=(e,t,n,r,i,o,a,s)=>{let l=document.documentElement,u=["light","dark"];function c(t){var n;(Array.isArray(e)?e:[e]).forEach(e=>{let n="class"===e,r=n&&o?i.map(e=>o[e]||e):i;n?(l.classList.remove(...r),l.classList.add(o&&o[t]?o[t]:t)):l.setAttribute(e,t)}),n=t,s&&u.includes(n)&&(l.style.colorScheme=n)}if(r)c(r);else try{let e=localStorage.getItem(t)||n,r=a&&"system"===e?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e;c(r)}catch(e){}},o=["light","dark"],a="(prefers-color-scheme: dark)",s=r.createContext(void 0),l={setTheme:e=>{},themes:[]},u=()=>{var e;return null!=(e=r.useContext(s))?e:l},c=e=>r.useContext(s)?r.createElement(r.Fragment,null,e.children):r.createElement(f,{...e}),d=["light","dark"],f=e=>{let{forcedTheme:t,disableTransitionOnChange:n=!1,enableSystem:i=!0,enableColorScheme:l=!0,storageKey:u="theme",themes:c=d,defaultTheme:f=i?"system":"light",attribute:y="data-theme",value:g,children:E,nonce:x,scriptProps:N}=e,[T,b]=r.useState(()=>p(u,f)),[w,A]=r.useState(()=>"system"===T?v():T),O=g?Object.values(g):c,C=r.useCallback(e=>{let t=e;if(!t)return;"system"===e&&i&&(t=v());let r=g?g[t]:t,a=n?m(x):null,s=document.documentElement,u=e=>{"class"===e?(s.classList.remove(...O),r&&s.classList.add(r)):e.startsWith("data-")&&(r?s.setAttribute(e,r):s.removeAttribute(e))};if(Array.isArray(y)?y.forEach(u):u(y),l){let e=o.includes(f)?f:null,n=o.includes(t)?t:e;s.style.colorScheme=n}null==a||a()},[x]),I=r.useCallback(e=>{let t="function"==typeof e?e(T):e;b(t);try{localStorage.setItem(u,t)}catch(e){}},[T]),S=r.useCallback(e=>{A(v(e)),"system"===T&&i&&!t&&C("system")},[T,t]);r.useEffect(()=>{let e=window.matchMedia(a);return e.addListener(S),S(e),()=>e.removeListener(S)},[S]),r.useEffect(()=>{let e=e=>{e.key===u&&(e.newValue?b(e.newValue):I(f))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[I]),r.useEffect(()=>{C(null!=t?t:T)},[t,T]);let k=r.useMemo(()=>({theme:T,setTheme:I,forcedTheme:t,resolvedTheme:"system"===T?w:T,themes:i?[...c,"system"]:c,systemTheme:i?w:void 0}),[T,I,t,w,i,c]);return r.createElement(s.Provider,{value:k},r.createElement(h,{forcedTheme:t,storageKey:u,attribute:y,enableSystem:i,enableColorScheme:l,defaultTheme:f,value:g,themes:c,nonce:x,scriptProps:N}),E)},h=r.memo(e=>{let{forcedTheme:t,storageKey:n,attribute:o,enableSystem:a,enableColorScheme:s,defaultTheme:l,value:u,themes:c,nonce:d,scriptProps:f}=e,h=JSON.stringify([o,n,l,t,c,u,a,s]).slice(1,-1);return r.createElement("script",{...f,suppressHydrationWarning:!0,nonce:"",dangerouslySetInnerHTML:{__html:"(".concat(i.toString(),")(").concat(h,")")}})}),p=(e,t)=>{let n;try{n=localStorage.getItem(e)||void 0}catch(e){}return n||t},m=e=>{let t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},v=e=>(e||(e=window.matchMedia(a)),e.matches?"dark":"light")},10308:(e,t,n)=>{n.d(t,{bL:()=>d});var r=n(12115);n(47650);var i=n(94446),o=n(95155),a=Symbol("radix.slottable");function s(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===a}var l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=function(e){let t=function(e){let t=r.forwardRef((e,t)=>{let{children:n,...o}=e;if(r.isValidElement(n)){var a;let e,s,l=(a=n,(s=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.
1isReactWarning)?a.ref:(s=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),u=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(o,n.props);return n.type!==r.Fragment&&(u.ref=t?(0,i.t)(t,l):l),r.cloneElement(n,u)}return r.Children.count(n)>1?r.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=r.forwardRef((e,n)=>{let{children:i,...a}=e,l=r.Children.toArray(i),u=l.find(s);if(u){let e=u.props.children,i=l.map(t=>t!==u?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,o.jsx)(t,{...a,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,i):null})}return(0,o.jsx)(t,{...a,ref:n,children:i})});return n.displayName=`${e}.Slot`,n}(`Primitive.${t}`),a=r.forwardRef((e,r)=>{let{asChild:i,...a}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(i?n:t,{...a,ref:r})});return a.displayName=`Primitive.${t}`,{...e,[t]:a}},{}),u=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),c=r.forwardRef((e,t)=>(0,o.jsx)(l.span,{...e,ref:t,style:{...u,...e.style}}));c.displayName="VisuallyHidden";var d=c},20063:(e,t,n)=>{var r=n(47260);n.o(r,"usePathname")&&n.d(t,{usePathname:function(){return r.usePathname}}),n.o(r,"useRouter")&&n.d(t,{useRouter:function(){return r.useRouter}})},23558:(e,t,n)=>{n.d(t,{i:()=>s});var r,i=n(12115),o=n(4129),a=(r||(r=n.t(i,2)))[" useInsertionEffect ".trim().toString()]||o.N;function s({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[o,s,l]=function({defaultProp:e,onChange:t}){let[n,r]=i.useState(e),o=i.useRef(n),s=i.useRef(t);return a(()=>{s.current=t},[t]),i.useEffect(()=>{o.current!==n&&(s.current?.(n),o.current=n)},[n,o]),[n,r,s]}({defaultProp:t,onChange:n}),u=void 0!==e,c=u?e:o;{let t=i.useRef(void 0!==e);i.useEffect(()=>{let e=t.current;if(e!==u){let t=u?"controlled":"uncontrolled";console.warn(`${r} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=u},[u,r])}return[c,i.useCallback(t=>{if(u){let n="function"==typeof t?t(e):t;n!==e&&l.current?.(n)}else s(t)},[u,e,s,l])]}Symbol("RADIX:SYNC_STATE")},36232:(e,t,n)=>{n.d(t,{b8:()=>o,eO:()=>a,qg:()=>N,yy:()=>O});var r,i,o={NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType"};class a extends Error{constructor(e,t,n,r,i,o,a){super(e),this.name="GraphQLError",this.message=e,i&&(this.path=i),t&&(this.nodes=Array.isArray(t)?t:[t]),n&&(this.source=n),r&&(this.positions=r),o&&(this.originalError=o);var s=a;if(!s&&o){var l=o.extensions;l&&"object"==typeof l&&(s=l)}this.extensions=s||{}}toJSON(){return{...this,message:this.message}}toString(){return this.message}get[Symbol.toStringTag](){return"GraphQLError"}}function s(e){return new a(`Syntax Error: Unexpected token at ${i} in ${e}`)}function l(e){if(e.lastIndex=i,e.test(r))return r.slice(i,i=e.lastIndex)}var u=/ +(?=[^\s])/y;function c(){for(var e=0|r.charCodeAt(i++);9===e||10===e||13===e||32===e||35===e||44===e||65279===e;e=0|r.charCodeAt(i++))if(35===e)for(;(e=0|r.charCodeAt(i++))&&10!==e&&13!==e;);i--}function d(){for(var e=i,t=0|r.charCodeAt(i++);t>=48&&t<=57||t>=65&&t<=90||95===t||t>=97&&t<=122;t=0|r.charCodeAt(i++));if(e===i-1)throw s("Name");var n=r.slice(e,--i);return c(),n}function f(){return{kind:"Name",value:d()}}var h=/(?:"""|(?:[\s\S]*?[^\\])""")/y,p=/(?:(?:\.\d+)?[eE][+-]?\d+|\.\d+)/y;function m(e){var t;switch(r.charCodeAt(i)){case 91:i++,c();for(var n=[];93!==r.charCodeAt(i);)n.push(m(e));
1return i++,c(),{kind:"ListValue",values:n};case 123:i++,c();for(var o=[];125!==r.charCodeAt(i);){var a=f();if(58!==r.charCodeAt(i++))throw s("ObjectField");c(),o.push({kind:"ObjectField",name:a,value:m(e)})}return i++,c(),{kind:"ObjectValue",fields:o};case 36:if(e)throw s("Variable");return i++,{kind:"Variable",name:f()};case 34:if(34===r.charCodeAt(i+1)&&34===r.charCodeAt(i+2)){if(i+=3,null==(t=l(h)))throw s("StringValue");return c(),{kind:"StringValue",value:function(e){for(var t=e.split("\n"),n="",r=0,i=0,o=t.length-1,a=0;a<t.length;a++)u.lastIndex=0,u.test(t[a])&&(a&&(!r||u.lastIndex<r)&&(r=u.lastIndex),i=i||a,o=a);for(var s=i;s<=o;s++)s!==i&&(n+="\n"),n+=t[s].slice(r).replace(/\\"""/g,'"""');return n}(t.slice(0,-3)),block:!0}}var v,y=i;i++;var g=!1;for(v=0|r.charCodeAt(i++);92===v&&(i++,g=!0)||10!==v&&13!==v&&34!==v&&v;v=0|r.charCodeAt(i++));if(34!==v)throw s("StringValue");return t=r.slice(y,i),c(),{kind:"StringValue",value:g?JSON.parse(t):t.slice(1,-1),block:!1};case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:for(var E,x=i++;(E=0|r.charCodeAt(i++))>=48&&E<=57;);var N=r.slice(x,--i);if(46!==(E=r.charCodeAt(i))&&69!==E&&101!==E)return c(),{kind:"IntValue",value:N};if(null==(t=l(p)))throw s("FloatValue");return c(),{kind:"FloatValue",value:N+t};case 110:if(117===r.charCodeAt(i+1)&&108===r.charCodeAt(i+2)&&108===r.charCodeAt(i+3))return i+=4,c(),{kind:"NullValue"};break;case 116:if(114===r.charCodeAt(i+1)&&117===r.charCodeAt(i+2)&&101===r.charCodeAt(i+3))return i+=4,c(),{kind:"BooleanValue",value:!0};break;case 102:if(97===r.charCodeAt(i+1)&&108===r.charCodeAt(i+2)&&115===r.charCodeAt(i+3)&&101===r.charCodeAt(i+4))return i+=5,c(),{kind:"BooleanValue",value:!1}}return{kind:"EnumValue",value:d()}}function v(e){if(40===r.charCodeAt(i)){var t=[];i++,c();do{var n=f();if(58!==r.charCodeAt(i++))throw s("Argument");c(),t.push({kind:"Argument",name:n,value:m(e)})}while(41!==r.charCodeAt(i));return i++,c(),t}}function y(e){if(64===r.charCodeAt(i)){var t=[];do i++,t.push({kind:"Directive",name:f(),arguments:v(e)});while(64===r.charCodeAt(i));return t}}function g(){if(123!==r.charCodeAt(i++))throw s("SelectionSet");return c(),E()}function E(){var e=[];do if(46===r.charCodeAt(i)){if(46!==r.charCodeAt(++i)||46!==r.charCodeAt(++i))throw s("SelectionSet");switch(i++,c(),r.charCodeAt(i)){case 64:e.push({kind:"InlineFragment",typeCondition:void 0,directives:y(!1),selectionSet:g()});break;case 111:110===r.charCodeAt(i+1)?(i+=2,c(),e.push({kind:"InlineFragment",typeCondition:{kind:"NamedType",name:f()},directives:y(!1),selectionSet:g()})):e.push({kind:"FragmentSpread",name:f(),directives:y(!1)});break;case 123:i++,c(),e.push({kind:"InlineFragment",typeCondition:void 0,directives:void 0,selectionSet:E()});break;default:e.push({kind:"FragmentSpread",name:f(),directives:y(!1)})}}else{var t=f(),n=void 0;58===r.charCodeAt(i)&&(i++,c(),n=t,t=f());var o=v(!1),a=y(!1),l=void 0;123===r.charCodeAt(i)&&(i++,c(),l=E()),e.push({kind:"Field",alias:n,name:t,arguments:o,directives:a,selectionSet:l})}while(125!==r.charCodeAt(i));return i++,c(),{kind:"SelectionSet",selections:e}}function x(){var e=[];do{var t=void 0;if(34===r.charCodeAt(i)&&(t=m(!0)),123===r.charCodeAt(i)){if(t)throw s("Document");i++,c(),e.push({kind:"OperationDefinition",operation:"query",name:void 0,variableDefinitions:void 0,directives:void 0,selectionSet:E()})}else{var n=d();switch(n){case"fragment":e.push(function(e){var t=f();if(111!==r.charCodeAt(i++)||110!==r.charCodeAt(i++))throw s("FragmentDefinition");c();var n={kind:"FragmentDefinition",name:t,typeCondition:{kind:"NamedType",name:f()},directives:y(!1),selectionSet:g()};return e&&(n.description=e),n}(t));break;case"query":case"mutation":case"subscription":var o,a=void 0;40!==(o=r.charCodeAt(i))&&64!==o&&123!==o&&(a=f());var l={kind:"OperationDefinition",operation:n,name:a,variableDefinitions:function(){if(c(),40===r.charCodeAt(i)){var e=[];i++,c();do{var t=void 0;if(34===r.charCodeAt(i)&&(t=m(!0)),36!==r.charCodeAt(i++))throw s("Variable");var n=f();if(58!==r.charCodeAt(i++))throw s("VariableDefinition");c();var o=function(){for(var e=0;91===r.charCodeAt(i);)e++,i++,c();var t={kind:"NamedType",name:f()};do if(33===r.charCodeAt(i)&&(i++,c(),t={kind:"NonNullType",type:t}),e){if(93!==r.charCodeAt(i++))throw s("NamedType");c(),t={kind:"ListType",type:t}}while(e--);return t}(),a=void 0;61===r.charCodeAt(i)&&(i++,c(),a=m(!0)),c();var l={kind:"VariableDefinition",variable:{kind:"Variable",name:n},type:o,defaultValue:a,directives:y(!0)};t&&(l.description=t),e.push(l)}while(41!==r.charCodeAt(i));return i++,c(),e}}(),directives:y(!1),selectionSet:g()};t&&(l.description=t),e.push(l);break;default:throw s("Document")}}}while(i<r.length);return e}function N(e,t){return(r=e.body?e.body:e,i=0,c(),t&&t.noLocation)?{kind:"Document",definitions:x()}:{kind:"Document",definitions:x(),loc:{start:0,end:r.length,startToken:void 0,endToken:void 0,source:{body:r,name:"graphql.web",locationOffset:{line:1,column:1}}}}}function T(e,t,n){for(var r="",i=0;i<e.length;i++)i&&(r+=t),r+=n(e[i]);return r}var b="\n",w={OperationDefinition(e){var t="";e.description&&(t+=w.StringValue(e.description)+"\n"),t+=e.operation,e.name&&(t+=" "+e.name.value),e.variableDefinitions&&e.variableDefinitions.length&&(e.name||(t+=" "),t+="("+T(e.variableDefinitions,", ",w.VariableDefinition)+")"),e.directives&&e.directives.length&&(t+=" "+T(e.directives," ",w.Directive));var n=w.SelectionSet(e.selectionSet);return"query"!==t?t+" "+n:n},VariableDefinition(e){var t="";return e.description&&(t+=w.StringValue(e.description)+" "),t+=w.Variable(e.variable)+": "+A(e.type),e.defaultValue&&(t+=" = "+A(e.defaultValue)),e.directives&&e.directives.length&&(t+=" "+T(e.directives," ",w.Directive)),t},Field(e){var t=e.alias?e.alias.value+": "+e.name.value:e.name.value;if(e.arguments&&e.arguments.length){var n=T(e.arguments,", ",w.Argument);t.length+n.length+2>80?t+="("+(b+="  ")+T(e.arguments,b,w.Argument)+(b=b.slice(0,-2))+")":t+="("+n+")"}return e.directives&&e.directives.length&&(t+=" "+T(e.directives," ",w.Directive)),e.selectionSet&&e.selectionSet.selections.length&&(t+=" "+w.SelectionSet(e.selectionSet)),t}
1,StringValue:e=>e.block?('"""\n'+e.value.replace(/"""/g,'\\"""')+'\n"""').replace(/\n/g,b):JSON.stringify(e.value),BooleanValue:e=>""+e.value,NullValue:e=>"null",IntValue:e=>e.value,FloatValue:e=>e.value,EnumValue:e=>e.value,Name:e=>e.value,Variable:e=>"$"+e.name.value,ListValue:e=>"["+T(e.values,", ",A)+"]",ObjectValue:e=>"{"+T(e.fields,", ",w.ObjectField)+"}",ObjectField:e=>e.name.value+": "+A(e.value),Document:e=>e.definitions&&e.definitions.length?T(e.definitions,"\n\n",A):"",SelectionSet:e=>"{"+(b+="  ")+T(e.selections,b,A)+(b=b.slice(0,-2))+"}",Argument:e=>e.name.value+": "+A(e.value),FragmentSpread(e){var t="..."+e.name.value;return e.directives&&e.directives.length&&(t+=" "+T(e.directives," ",w.Directive)),t},InlineFragment(e){var t="...";return e.typeCondition&&(t+=" on "+e.typeCondition.name.value),e.directives&&e.directives.length&&(t+=" "+T(e.directives," ",w.Directive)),t+" "+w.SelectionSet(e.selectionSet)},FragmentDefinition(e){var t="";return e.description&&(t+=w.StringValue(e.description)+"\n"),t+="fragment "+e.name.value+" on "+e.typeCondition.name.value,e.directives&&e.directives.length&&(t+=" "+T(e.directives," ",w.Directive)),t+" "+w.SelectionSet(e.selectionSet)},Directive(e){var t="@"+e.name.value;return e.arguments&&e.arguments.length&&(t+="("+T(e.arguments,", ",w.Argument)+")"),t},NamedType:e=>
1e.name.value,ListType:e=>"["+A(e.type)+"]",NonNullType:e=>A(e.type)+"!"},A=e=>w[e.kind](e);function O(e){return b="\n",w[e.kind]?w[e.kind](e):""}},43313:(e,t,n)=>{n.d(t,{B1:()=>A,HT:()=>f,Mi:()=>h,PT:()=>w,QK:()=>g,RZ:()=>x,Tj:()=>u,Ys:()=>b,ZZ:()=>c,ao:()=>p,h1:()=>d,hq:()=>C,mk:()=>O,nx:()=>v,oT:()=>h,pb:()=>l,s:()=>y,uM:()=>m,v6:()=>E,zr:()=>N});var r=()=>{};function i(e){return{tag:0,0:e}}function o(e){return{tag:1,0:e}}var a=()=>"function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator",s=e=>e;function l(e){return t=>n=>{var i=r;t(t=>{0===t?n(0):0===t.tag?(i=t[0],n(t)):e(t[0])?n(t):i(0)})}}function u(e){return t=>n=>t(t=>{0===t||0===t.tag?n(t):n(o(e(t[0])))})}function c(e){return t=>n=>{var o=[],a=r,s=!1,l=!1;t(t=>{if(l);else if(0===t)l=!0,o.length||n(0);else if(0===t.tag)a=t[0];else{var i,u;s=!1,i=e(t[0]),u=r,i(e=>{if(0===e){if(o.length){var t=o.indexOf(u);t>-1&&(o=o.slice()).splice(t,1),!o.length&&(l?n(0):s||(s=!0,a(0)))}}else 0===e.tag?(o.push(u=e[0]),u(0)):o.length&&(n(e),u(0))}),s||(s=!0,a(0))}}),n(i(e=>{if(1===e){l||(l=!0,a(1));for(var t=0,n=o,r=o.length;t<r;t++)n[t](1);o.length=0}else{l||s?s=!1:(s=!0,a(0));for(var i=0,u=o,c=o.length;i<c;i++)u[i](0)}}))}}function d(e){var t;return t=T(e),c(s)(t)}function f(e){return t=>n=>{var r=!1;t(t=>{if(r);else if(0===t)r=!0,n(0),e();else if(0===t.tag){var o=t[0];n(i(t=>{1===t?(r=!0,o(1),e()):o(t)}))}else n(t)})}}function h(e){return t=>n=>{var r=!1;t(t=>{if(r);else if(0===t)r=!0,n(0);else if(0===t.tag){var o=t[0];n(i(e=>{1===e&&(r=!0),o(e)}))}else e(t[0]),n(t)})}}function p(e){return t=>n=>t(t=>{0===t?n(0):0===t.tag?(n(t),e()):n(t)})}function m(e){var t=[],n=r,o=!1;return r=>{t.push(r),1===t.length&&e(e=>{if(0===e){for(var r=0,i=t,a=t.length;r<a;r++)i[r](0);t.length=0}else if(0===e.tag)n=e[0];else{o=!1;for(var s=0,l=t,u=t.length;s<u;s++)l[s](e)}}),r(i(e=>{if(1===e){var i=t.indexOf(r);i>-1&&(t=t.slice()).splice(i,1),t.length||n(1)}else o||(o=!0,n(0))}))}}function v(e){return t=>n=>{var o=r,a=r,s=!1,l=!1,u=!1,c=!1;t(t=>{if(c);else if(0===t)c=!0,u||n(0);else if(0===t.tag)o=t[0];else{var i;u&&(a(1),a=r),s?s=!1:(s=!0,o(0)),i=e(t[0]),u=!0,i(e=>{u&&(0===e?(u=!1,c?n(0):s||(s=!0,o(0))):0===e.tag?(l=!1,(a=e[0])(0)):(n(e),l?l=!1:a(0)))})}}),n(i(e=>{1===e?(c||(c=!0,o(1)),u&&(u=!1,a(1))):(c||s||(s=!0,o(0)),u&&!l&&(l=!0,a(0)))}))}}function y(e){return t=>n=>{var o=r,a=!1,s=0;t(t=>{a||(0===t?(a=!0,n(0)):0===t.tag?e<=0?(a=!0,n(0),t[0](1)):o=t[0]:s++<e?(n(t),!a&&s>=e&&(a=!0,n(0),o(1))):n(t))}),n(i(t=>{1!==t||a?0===t&&!a&&s<e&&o(0):(a=!0,o(1))}))}}function g(e){return t=>n=>{var o=r,a=r,s=!1;t(t=>{s||(0===t?(s=!0,a(1),n(0)):0===t.tag?(o=t[0],e(e=>{0===e||(0===e.tag?(a=e[0])(0):(s=!0,a(1),o(1),n(0)))})):n(t))}),n(i(e=>{1!==e||s?s||o(0):(s=!0,o(1),a(1))}))}}function E(e,t){return n=>i=>{var o=r,a=!1;n(n=>{a||(0===n?(a=!0,i(0)):0===n.tag?(o=n[0],i(n)):e(n[0])?i(n):(a=!0,t&&i(n),i(0),o(1)))})}}function x(e){return t=>e()(t)}function N(e){return t=>{var n,r=e[a()]&&e[a()]()||e,s=!1,l=!1,u=!1;t(i(async e=>{if(1===e)s=!0,r.return&&r.return();else if(l)u=!0;else{for(u=l=!0;u&&!s;)if((n=await r.next()).done)s=!0,r.return&&await r.return(),t(0);else try{u=!1,t(o(n.value))}catch(e){if(r.throw)(s=!!(await r.throw(e)).done)&&t(0);else throw e}l=!1}}
1))}}var T=function(e){return e[Symbol.asyncIterator]?N(e):t=>{var n,r=e[Symbol.iterator](),a=!1,s=!1,l=!1;t(i(e=>{if(1===e)a=!0,r.return&&r.return();else if(s)l=!0;else{for(l=s=!0;l&&!a;)if((n=r.next()).done)a=!0,r.return&&r.return(),t(0);else try{l=!1,t(o(n.value))}catch(e){if(r.throw)(a=!!r.throw(e).done)&&t(0);else throw e}s=!1}}))}};function b(e){return t=>{var n=!1;t(i(r=>{1===r?n=!0:n||(n=!0,t(o(e)),t(0))}))}}function w(){var e,t,n;return{source:m((n=n=>(e=n.next,t=n.complete,r),e=>{var t=!1,r=n({next(n){t||e(o(n))},complete(){t||(t=!0,e(0))}});e(i(e=>{1!==e||t||(t=!0,r())}))})),next(t){e&&e(t)},complete(){t&&t()}}}function A(e){return t=>{var n=r,i=!1;return t(t=>{0===t?i=!0:0===t.tag?(n=t[0])(0):i||(e(t[0]),n(0))}),{unsubscribe(){i||(i=!0,n(1))}}}}function O(e){A(e=>{})(e)}function C(e){return new Promise(t=>{var n,i=r;e(e=>{0===e?Promise.resolve(n).then(t):0===e.tag?(i=e[0])(0):(n=e[0],i(0))})})}},58462:(e,t,n)=>{n.d(t,{qW:()=>m});var r,i=n(12115),o=n(92556),a=n(47650),s=n(94446),l=n(95155),u=Symbol("radix.slottable");function c(e){return i.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===u}var d=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=function(e){let t=function(e){let t=i.forwardRef((e,t)=>{let{children:n,...r}=e;if(i.isValidElement(n)){var o;let e,a,l=(o=n,(a=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(a=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),u=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==i.Fragment&&(u.ref=t?(0,s.t)(t,l):l),i.cloneElement(n,u)}return i.Children.count(n)>1?i.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=i.forwardRef((e,n)=>{let{children:r,...o}=e,a=i.Children.toArray(r),s=a.find(c);if(s){let e=s.props.children,r=a.map(t=>t!==s?t:i.Children.count(e)>1?i.Children.only(null):i.isValidElement(e)?e.props.children:null);return(0,l.jsx)(t,{...o,ref:n,children:i.isValidElement(e)?i.cloneElement(e,void 0,r):null})}return(0,l.jsx)(t,{...o,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}(`Primitive.${t}`),r=i.forwardRef((e,r)=>{let{asChild:i,...o}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(i?n:t,{...o,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),f=n(70222),h="dismissableLayer.update",p=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),m=i.forwardRef((e,t)=>{var n,a;let{disableOutsidePointerEvents:u=!1,onEscapeKeyDown:c,onPointerDownOutside:m,onFocusOutside:g,onInteractOutside:E,onDismiss:x,...N}=e,T=i.useContext(p),[b,w]=i.useState(null),A=null!=(a=null==b?void 0:b.ownerDocument)?a:null==(n=globalThis)?void 0:n.document,[,O]=i.useState({}),C=(0,s.s)(t,e=>w(e)),I=Array.from(T.layers),[S]=[...T.layersWithOutsidePointerEventsDisabled].slice(-1),k=I.indexOf(S),_=b?I.indexOf(b):-1,D=T.layersWithOutsidePointerEventsDisabled.size>0,R=_>=k,L=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=(0,f.c)(e),o=i.useRef(!1),a=i.useRef(()=>{});return i.useEffect(()=>{let e=e=>{if(e.target&&!o.current){let t=function(){y("dismissableLayer.pointerDownOutside",r,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",a.current),a.current=t,n.addEventListener("click",a.current,{once:!0})):t()}else n.removeEventListener("click",a.current);o.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",a.current)}},[n,r]),{onPointerDownCapture:()=>o.current=!0}}(e=>{let t=e.target,n=[...T.branches].some(e=>e.contains(t));R&&!n&&(null==m||m(e),null==E||E(e),e.defaultPrevented||null==x||x())},A),P=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=(0,f.c)(e),o=i.useRef(!1);return i.useEffect(()=>{let e=e=>
1{e.target&&!o.current&&y("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{let t=e.target;![...T.branches].some(e=>e.contains(t))&&(null==g||g(e),null==E||E(e),e.defaultPrevented||null==x||x())},A);return!function(e,t=globalThis?.document){let n=(0,f.c)(e);i.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{_===T.layers.size-1&&(null==c||c(e),!e.defaultPrevented&&x&&(e.preventDefault(),x()))},A),i.useEffect(()=>{if(b)return u&&(0===T.layersWithOutsidePointerEventsDisabled.size&&(r=A.body.style.pointerEvents,A.body.style.pointerEvents="none"),T.layersWithOutsidePointerEventsDisabled.add(b)),T.layers.add(b),v(),()=>{u&&1===T.layersWithOutsidePointerEventsDisabled.size&&(A.body.style.pointerEvents=r)}},[b,A,u,T]),i.useEffect(()=>()=>{b&&(T.layers.delete(b),T.layersWithOutsidePointerEventsDisabled.delete(b),v())},[b,T]),i.useEffect(()=>{let e=()=>O({});return document.addEventListener(h,e),()=>document.removeEventListener(h,e)},[]),(0,l.jsx)(d.div,{...N,ref:C,style:{pointerEvents:D?R?"auto":"none":void 0,...e.style},onFocusCapture:(0,o.mK)(e.onFocusCapture,P.onFocusCapture),onBlurCapture:(0,o.mK)(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:(0,o.mK)(e.onPointerDownCapture,L.onPointerDownCapture)})});function v(){let e=new CustomEvent(h);document.dispatchEvent(e)}function y(e,t,n,r){let{discrete:i}=r,o=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});if(t&&o.addEventListener(e,t,{once:!0}),i)o&&a.flushSync(()=>o.dispatchEvent(s));else o.dispatchEvent(s)}m.displayName="DismissableLayer",i.forwardRef((e,t)=>{let n=i.useContext(p),r=i.useRef(null),o=(0,s.s)(t,r);return i.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,l.jsx)(d.div,{...e,ref:o})}).displayName="DismissableLayerBranch"},59425:(e,t,n)=>{n.d(t,{Ay:()=>K});var r,i,o,a,s=n(71450);let l=/\r\n|[\n\r]/g;function u(e,t){let n=0,r=1;for(let i of e.body.matchAll(l)){if("number"==typeof i.index||function(e,t){if(!e)throw Error("Unexpected invariant triggered.")}(!1),i.index>=t)break;n=i.index+i[0].length,r+=1}return{line:r,column:t+1-n}}function c(e,t){let n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,o=e.locationOffset.line-1,a=t.line+o,s=1===t.line?n:0,l=t.column+s,u=`${e.name}:${a}:${l}
2`,c=r.split(/\r\n|[\n\r]/g),f=c[i];if(f.length>120){let e=Math.floor(l/80),t=[];for(let e=0;e<f.length;e+=80)t.push(f.slice(e,e+80));return u+d([[`${a} |`,t[0]],...t.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(l%80)],["|",t[e+1]]])}return u+d([[`${a-1} |`,c[i-1]],[`${a} |`,f],["|","^".padStart(l)],[`${a+1} |`,c[i+1]]])}function d(e){let t=e.filter(([e,t])=>void 0!==t),n=Math.max(...t.map(([e])=>e.length));return t.map(([e,t])=>e.padStart(n)+(t?" "+t:"")).join("\n")}class f extends Error{constructor(e,...t){var n,r,i;let{nodes:o,source:a,positions:s,path:l,originalError:c,extensions:d}=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!=l?l:void 0,this.originalError=null!=c?c:void 0,this.nodes=h(Array.isArray(o)?o:o?[o]:void 0);let p=h(null==(n=this.nodes)?void 0:n.map(e=>e.loc).filter(e=>null!=e));this.source=null!=a?a:null==p||null==(r=p[0])?void 0:r.source,this.positions=null!=s?s:null==p?void 0:p.map(e=>e.start),this.locations=s&&a?s.map(e=>u(a,e)):null==p?void 0:p.map(e=>u(e.source,e.start));let m=!function(e){return"object"==typeof e&&null!==e}(null==c?void 0:c.extensions)||null==c?void 0:c.extensions;this.extensions=null!=(i=null!=d?d: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!=c&&c.stack?Object.defineProperty(this,"stack",{value:c.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,f):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 n of this.nodes){var t;
2n.loc&&(e+="\n\n"+c((t=n.loc).source,u(t.source,t.start)))}else if(this.source&&this.locations)for(let t of this.locations)e+="\n\n"+c(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 p(e,t,n){return new f(`Syntax Error: ${n}`,{source:e,positions:[t]})}class m{constructor(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class v{constructor(e,t,n,r,i,o){this.kind=e,this.start=t,this.end=n,this.line=r,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}}}function y(e){return e>=48&&e<=57}function g(e){return e>=97&&e<=122||e>=65&&e<=90}function E(e){return g(e)||95===e}!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(r||(r={})),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"}(i||(i={})),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",e.TYPE_COORDINATE="TypeCoordinate",e.MEMBER_COORDINATE="MemberCoordinate",e.ARGUMENT_COORDINATE="ArgumentCoordinate",e.DIRECTIVE_COORDINATE="DirectiveCoordinate",e.DIRECTIVE_ARGUMENT_COORDINATE="DirectiveArgumentCoordinate"}(o||(o={})),!function(e){e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.DOT=".",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"}(a||(a={}));class x{constructor(e){let t=new v(a.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!==a.EOF)do if(e.next)e=e.next;else{let t=function(e,t){let n=e.source.body,r=n.length,i=t;for(;i<r;){let t=n.charCodeAt(i);switch(t){case 65279:case 9:case 32:case 44:++i;continue;case 10:++i,++e.line,e.lineStart=i;continue;case 13:10===n.charCodeAt(i+1)?i+=2:++i,++e.line,e.lineStart=i;continue;case 35:return function(e,t){let n=e.source.body,r=n.length,i=t+1;for(;i<r;){let e=n.charCodeAt(i);if(10===e||13===e)break;if(N(e))++i;else if(T(n,i))i+=2;else break}return O(e,a.COMMENT,t,i,n.slice(t+1,i))}(e,i);case 33:return O(e,a.BANG,i,i+1);case 36:return O(e,a.DOLLAR,i,i+1);case 38:return O(e,a.AMP,i,i+1);case 40:return O(e,a.PAREN_L,i,i+1);case 41:return O(e,a.PAREN_R,i,i+1);case 46:if(46===n.charCodeAt(i+1)&&46===n.charCodeAt(i+2))return O(e,a.SPREAD,i,i+3);break;case 58:return O(e,a.COLON,i,i+1);case 61:return O(e,a.EQUALS,i,i+1);case 64:return O(e,a.AT,i,i+1);case 91:return O(e,a.BRACKET_L,i,i+1);case 93:return O(e,a.BRACKET_R,i,i+1);case 123:return O(e,a.BRACE_L,i,i+1);case 124:return O(e,a.PIPE,i,i+1);case 125:return O(e,a.BRACE_R,i,i+1);case 34:if(34===n.charCodeAt(i+1)&&34===n.charCodeAt(i+2))return function(e,t){let n=e.source.body,r=n.length,i=e.lineStart,o=t+3,s=o,l="",u=[];for(;o<r;){let r=n.charCodeAt(o);if(34===r&&34===n.charCodeAt(o+1)&&34===n.charCodeAt(o+2)){l+=n.slice(s,o),u.push(l);let r=O(e,a.BLOCK_STRING,t,o+3,(function(e){var t,n;let r=Number.MAX_SAFE_INTEGER,i=null,o=-1;for(let t=0;t<e.length;++t){let a=e[t],s=function(e){var t;let n=0;for(;n<e.length&&(9===(t=e.charCodeAt(n))||32===t);)++n;return n}(a);s!==a.length&&(i=null!=(n=i)?n:t,o=t,0!==t&&s<r&&(r=s))}return e.map((e,t)=>0===t?e:e.slice(r)).slice(null!=(t=i)?t:0,o+1)})(u).join("\n"));return e.line+=u.length-1,e.lineStart=i,r}if(92===r&&34===n.charCodeAt(o+1)&&34===n.charCodeAt(o+2)&&34===n.charCodeAt(o+3)){l+=n.slice(s,o),s=o+1,o+=4;continue}if(10===r||13===r){l+=n.slice(s,o),u.push(l),13===r&&10===n.charCodeAt(o+1)?o+=2:++o,l="",s=o,i=o;continue}if(N(r))++o;else if(T(n,o))o+=2;else throw p(e.source,o,`Invalid character within String: ${A(e,o)}.`)}throw p(e.source,o,"Unterminated string.")}(e,i);return function(e,t){let n=e.source.body,r=n.length,i=t+1,o=i,s="";for(;i<r;){let r=n.charCodeAt(i);if(34===r)return s+=n.slice(o,i),O(e,a.STRING,t,i+1,s);if(92===r){s+=n.slice(o,i);let t=117===n.charCodeAt(i+1)?123===n.charCodeAt(i+2)?function(e,t){let n=e.source.body,r=0,i=3;for(;i<12;){let e=n.charCodeAt(t+i++);if(125===e){if(i<5||!N(r))break;return{value:String.fromCodePoint(r),size:i}}if((r=r<<4|S(e))<0)break}throw p(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+i)}".`)}(e,i):function(e,t){let n=e.source.body,r=I(n,t+2);if(N(r))return{value:String.fromCodePoint(r),size:6};if(b(r)&&92===n.charCodeAt(t+6)&&117===n.charCodeAt(t+7)){let e=I(n,t+8);if(w(e))return{value:String.fromCodePoint(r,e),size:12}}throw p(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}(e,i):function(e,t){let n=e.source.body;switch(n.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 p(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}(e,i);s+=t.value,i+=t.size,o=i;continue}if(10===r||13===r)break;
2if(N(r))++i;else if(T(n,i))i+=2;else throw p(e.source,i,`Invalid character within String: ${A(e,i)}.`)}throw p(e.source,i,"Unterminated string.")}(e,i)}if(y(t)||45===t)return function(e,t,n){let r=e.source.body,i=t,o=n,s=!1;if(45===o&&(o=r.charCodeAt(++i)),48===o){if(y(o=r.charCodeAt(++i)))throw p(e.source,i,`Invalid number, unexpected digit after 0: ${A(e,i)}.`)}else i=C(e,i,o),o=r.charCodeAt(i);if(46===o&&(s=!0,o=r.charCodeAt(++i),i=C(e,i,o),o=r.charCodeAt(i)),(69===o||101===o)&&(s=!0,(43===(o=r.charCodeAt(++i))||45===o)&&(o=r.charCodeAt(++i)),i=C(e,i,o),o=r.charCodeAt(i)),46===o||E(o))throw p(e.source,i,`Invalid number, expected digit but got: ${A(e,i)}.`);return O(e,s?a.FLOAT:a.INT,t,i,r.slice(t,i))}(e,i,t);if(E(t))return function(e,t){let n=e.source.body,r=n.length,i=t+1;for(;i<r;){var o;if(g(o=n.charCodeAt(i))||y(o)||95===o)++i;else break}return O(e,a.NAME,t,i,n.slice(t,i))}(e,i);throw p(e.source,i,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":N(t)||T(n,i)?`Unexpected character: ${A(e,i)}.`:`Invalid character: ${A(e,i)}.`)}return O(e,a.EOF,r,r)}(this,e.end);e.next=t,t.prev=e,e=t}while(e.kind===a.COMMENT);return e}}function N(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function T(e,t){return b(e.charCodeAt(t))&&w(e.charCodeAt(t+1))}function b(e){return e>=55296&&e<=56319}function w(e){return e>=56320&&e<=57343}function A(e,t){let n=e.source.body.codePointAt(t);if(void 0===n)return a.EOF;if(n>=32&&n<=126){let e=String.fromCodePoint(n);return'"'===e?"'\"'":`"${e}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function O(e,t,n,r,i){let o=e.line,a=1+n-e.lineStart;return new v(t,n,r,o,a,i)}function C(e,t,n){if(!y(n))throw p(e.source,t,`Invalid number, expected digit but got: ${A(e,t)}.`);let r=e.source.body,i=t+1;for(;y(r.charCodeAt(i));)++i;return i}function I(e,t){return S(e.charCodeAt(t))<<12|S(e.charCodeAt(t+1))<<8|S(e.charCodeAt(t+2))<<4|S(e.charCodeAt(t+3))}function S(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function k(e,t){if(!e)throw Error(t)}function _(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return function(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";let n=[...t,e];if("function"==typeof e.toJSON){let t=e.toJSON();if(t!==e)return"string"==typeof t?t:_(t,n)}else if(Array.isArray(e)){var r=e,i=n;if(0===r.length)return"[]";if(i.length>2)return"[Array]";let t=Math.min(10,r.length),o=r.length-t,a=[];for(let e=0;e<t;++e)a.push(_(r[e],i));return 1===o?a.push("... 1 more item"):o>1&&a.push(`... ${o} more items`),"["+a.join(", ")+"]"}var o=e,a=n;let s=Object.entries(o);return 0===s.length?"{}":a.length>2?"["+function(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){let t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(o)+"]":"{ "+s.map(([e,t])=>e+": "+_(t,a)).join(", ")+" }"}(e,t);default:return String(e)}}let D=globalThis.process&&1?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if("object"==typeof e&&null!==e){var n;let r=t.prototype[Symbol.toStringTag];if(r===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null==(n=e.constructor)?void 0:n.name)){let t=_(e,[]);throw Error(`Cannot use ${r} "${t}" from another module or realm.
3
4Ensure that there is only one instance of "graphql" in the node_modules
5directory. If different versions of "graphql" are the dependencies of other
6relied on modules, use "resolutions" to ensure only one version is installed.
7
8https://yarnpkg.com/en/docs/selective-version-resolutions
9
10Duplicate "graphql" modules cannot be used at the same time since different
11versions may have different capabilities and behavior. The data from one
12version used in the function from another could produce confusing and
13spurious results.`)}}return!1};class R{constructor(e,t="GraphQL request",n={line:1,column:1}){"string"==typeof e||k(!1,`Body must be a string. Received: ${_(e,[])}.`),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||k(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||k(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}class L{constructor(e,t={}){let{lexer:n,...r}=t;if(n)this._lexer=n;else{let t=D(e,R)?e:new R(e);this._lexer=new x(t)}this._options=r,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){let e=this.expectToken(a.NAME);return this.node(e,{kind:o.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:o.DOCUMENT,definitions:this.many(a.SOF,this.parseDefinition,a.EOF)})}parseDefinition(){if(this.peek(a.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(e&&t.kind===a.BRACE_L)throw p(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are not supported on shorthand queries.");if(t.kind===a.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()}switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition()}if(e)throw p(this._lexer.source,this._lexer.token.start,"Unexpected description, only GraphQL definitions supp
13ort descriptions.");if("extend"===t.value)return this.parseTypeSystemExtension()}throw this.unexpected(t)}parseOperationDefinition(){let e,t=this._lexer.token;if(this.peek(a.BRACE_L))return this.node(t,{kind:o.OPERATION_DEFINITION,operation:r.QUERY,description:void 0,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let n=this.parseDescription(),i=this.parseOperationType();return this.peek(a.NAME)&&(e=this.parseName()),this.node(t,{kind:o.OPERATION_DEFINITION,operation:i,description:n,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(a.NAME);switch(e.value){case"query":return r.QUERY;case"mutation":return r.MUTATION;case"subscription":return r.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(a.PAREN_L,this.parseVariableDefinition,a.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:o.VARIABLE_DEFINITION,description:this.parseDescription(),variable:this.parseVariable(),type:(this.expectToken(a.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(a.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(a.DOLLAR),this.node(e,{kind:o.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:o.SELECTION_SET,selections:this.many(a.BRACE_L,this.parseSelection,a.BRACE_R)})}parseSelection(){return this.peek(a.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e,t,n=this._lexer.token,r=this.parseName();return this.expectOptionalToken(a.COLON)?(e=r,t=this.parseName()):t=r,this.node(n,{kind:o.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(a.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(a.PAREN_L,t,a.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,n=this.parseName();return this.expectToken(a.COLON),this.node(t,{kind:o.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(a.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(a.NAME)?this.node(e,{kind:o.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:o.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token,t=this.parseDescription();return(this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables)?this.node(e,{kind:o.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:o.FRAGMENT_DEFINITION,description:t,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 a.BRACKET_L:return this.parseList(e);case a.BRACE_L:return this.parseObject(e);case a.INT:return this.advanceLexer(),this.node(t,{kind:o.INT,value:t.value});case a.FLOAT:return this.advanceLexer(),this.node(t,{kind:o.FLOAT,value:t.value});case a.STRING:case a.BLOCK_STRING:return this.parseStringLiteral();case a.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:o.BOOLEAN,value:!0});case"false":return this.node(t,{kind:o.BOOLEAN,value:!1});case"null":return this.node(t,{kind:o.NULL});default:return this.node(t,{kind:o.ENUM,value:t.value})}case a.DOLLAR:if(e){if(this.expectToken(a.DOLLAR),this._lexer.token.kind===a.NAME){let e=this._lexer.token.value;throw p(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.advanceLexer(),this.node(e,{kind:o.STRING,value:e.value,block:e.kind===a.BLOCK_STRING})}parseList(e){let t=()=>this.parseValueLiteral(e);return this.node(this._lexer.token,{kind:o.LIST,values:this.any(a.BRACKET_L,t,a.BRACKET_R)})}parseObject(e){let t=()=>this.parseObjectField(e);return this.node(this._lexer.token,{kind:o.OBJECT,fields:this.any(a.BRACE_L,t,a.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,n=this.parseName();return this.expectToken(a.COLON),this.node(t,{kind:o.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(a.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(a.AT),this.node(t,{kind:o.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e,t=this._lexer.token;if(this.expectOptionalToken(a.BRACKET_L)){let n=this.parseTypeReference();this.expectToken(a.BRACKET_R),e=this.node(t,{kind:o.LIST_TYPE,type:n})}else e=this.parseNamedType();return this.expectOptionalToken(a.BANG)?this.node(t,{kind:o.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:o.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(a.STRING)||this.peek(a.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");let n=this.parseConstDirectives(),r=this.many(a.BRACE_L,this.parseOperationTypeDefinition,a.BRACE_R);return this.node(e,{kind:o.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(a.COLON);let n=this.parseNamedType();return this.node(e,{kind:o.OPERATION_TYPE_DEFINITION,operation:t,type:n})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let n=this.parseName(),r=this.parseConstDirectives();return this.node(e,{kind:o.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(e,{kind:o.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:a})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(a.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(a.BRACE_L,this.parseFieldDefinition,a.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(a.COLON);let i=this.parseTypeReference(),s=this.parseConstDirectives();return this.node(e,{kind:o.FIELD_DEFINITION,description:t,name:n,arguments:r,type:i,directives:s})}parseArgumentDefs(){return this.optionalMany(a.PAREN_L,this.parseInputValueDef,a.PAREN_R)}parseInputValueDef(){let e,t=this._lexer.token,n=this.parseDescription(),r=this.parseName();this.expectToken(a.COLON);let i=this.parseTypeReference();this.expectOptionalToken(a.EQUALS)&&(e=this.parseConstValueLiteral());let s=this.parseConstDirectives();return this.node(t,{kind:o.INPUT_VALUE_DEFINITION,description:n,name:r,type:i,defaultValue:e,directives:s})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(e,{kind:o.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:a})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(e,{kind:o.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(a.EQUALS)?this.delimitedMany(a.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(e,{kind:o.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i})}parseEnumValuesDefinition(){return this.optionalMany(a.BRACE_L,this.parseEnumValueDefinition,a.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(e,{kind:o.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw p(this._lexer.source,this._lexer.token.start,`${P(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 n=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(e,{kind:o.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(a.BRACE_L,this.parseInputValueDef,a.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===a.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(),n=this.optionalMany(a.BRACE_L,this.parseOperationTypeDefinition,a.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:o.SCHEMA_EXTENSION,directives:t,operationTypes:n})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let t=this.parseName(),n=this.parseConstDirectives();if(0===n.length)throw this.unexpected();return this.node(e,{kind:o.SCALAR_TYPE_EXTENSION,name:t,directives:n})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:o.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:o.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:o.UNION_TYPE_EXTENSION,name:t,directives:n,types:r})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:o.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:o.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(a.AT);let n=this.parseName(),r=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let s=this.parseDirectiveLocations();return this.node(e,{kind:o.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:i,locations:s})}parseDirectiveLocations(){return this.delimitedMany(a.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(i,t.value))return t;throw this.unexpected(e)}parseSchemaCoordinate(){let e,t,n=this._lexer.token,r=this.expectOptionalToken(a.AT),i=this.parseName();return(!r&&this.expectOptionalToken(a.DOT)&&(e=this.parseName()),(r||e)&&this.expectOptionalToken(a.PAREN_L)&&(t=this.parseName(),this.expectToken(a.COLON),this.expectToken(a.PAREN_R)),r)?t?this.node(n,{kind:o.DIRECTIVE_ARGUMENT_COORDINATE,name:i,argumentName:t}):this.node(n,{kind:o.DIRECTIVE_COORDINATE,name:i}):e?t?this.node(n,{kind:o.ARGUMENT_COORDINATE,name:i,fieldName:e,argumentName:t}):this.node(n,{kind:o.MEMBER_COORDINATE,name:i,memberName:e}):this.node(n,{kind:o.TYPE_COORDINATE,name:i})}node(e,t){return!0!==this._options.noLocation&&(t.loc=new m(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.advanceLexer(),t;throw p(this._lexer.source,t.start,`Expected ${F(e)}, found ${P(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){let t=this._lexer.token;if(t.kind===a.NAME&&t.value===e)this.advanceLexer();else throw p(this._lexer.source,t.start,`Expected "${e}", found ${P(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===a.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){let t=null!=e?e:this._lexer.token;return p(this._lexer.source,t.start,`Unexpected ${P(t)}.`)}any(e,t,n){this.expectToken(e);let r=[];for(;!this.expectOptionalToken(n);)r.push(t.call(this));return r}optionalMany(e,t,n){if(this.expectOptionalToken(e)){let e=[];do e.push(t.call(this));while(!this.expectOptionalToken(n));return e}return[]}many(e,t,n){this.expectToken(e);let r=[];do r.push(t.call(this));while(!this.expectOptionalToken(n));return r}delimitedMany(e,t){this.expectOptionalToken(e);let n=[];do n.push(t.call(this));while(this.expectOptionalToken(e));return n}advanceLexer(){let{maxTokens:e}=this._options,t=this._lexer.advance();if(t.kind!==a.EOF&&(++this._tokenCounter,void 0!==e&&this._tokenCounter>e))throw p(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function P(e){let t=e.value;return F(e.kind)+(null!=t?` "${t}"`:"")}function F(e){return e===a.BANG||e===a.DOLLAR||e===a.AMP||e===a.PAREN_L||e===a.PAREN_R||e===a.DOT||e===a.SPREAD||e===a.COLON||e===a.EQUALS||e===a.AT||e===a.BRACKET_L||e===a.BRACKET_R||e===a.BRACE_L||e===a.PIPE||e===a.BRACE_R?`"${e}"`:e}var M=new Map,V=new Map,j=!0,B=!1;function U(e){return e.replace(/[\s,]+/g," ").trim()}function $(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];"string"==typeof e&&(e=[e]);var r=e[0];return t.forEach(function(t,n){t&&"Document"===t.kind?r+=t.loc.source.body:r+=t,r+=e[n+1]}),function(e){var t=U(e);if(!M.has(t)){var n,r,i,o,a,l=function(e,t){let n=new L(e,t),r=n.parseDocument();return Object.defineProperty(r,"tokenCount",{enumerable:!1,value:n.tokenCount}),r}(e,{experimentalFragmentVari
13ables:B,allowLegacyFragmentVariables:B});if(!l||"Document"!==l.kind)throw Error("Not a valid GraphQL document.");M.set(t,((o=new Set((n=new Set,r=[],l.definitions.forEach(function(e){if("FragmentDefinition"===e.kind){var t,i=e.name.value,o=U((t=e.loc).source.body.substring(t.start,t.end)),a=V.get(i);a&&!a.has(o)?j&&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||V.set(i,a=new Set),a.add(o),n.has(o)||(n.add(o),r.push(e))}else r.push(e)}),i=(0,s.Cl)((0,s.Cl)({},l),{definitions:r})).definitions)).forEach(function(e){e.loc&&delete e.loc,Object.keys(e).forEach(function(t){var n=e[t];n&&"object"==typeof n&&o.add(n)})}),(a=i.loc)&&(delete a.startToken,delete a.endToken),i))}return M.get(t)}(r)}var W={gql:$,resetCaches:function(){M.clear(),V.clear()},disableFragmentWarnings:function(){j=!1},enableExperimentalFragmentVariables:function(){B=!0},disableExperimentalFragmentVariables:function(){B=!1}};!function(e){e.gql=W.gql,e.resetCaches=W.resetCaches,e.disableFragmentWarnings=W.disableFragmentWarnings,e.enableExperimentalFragmentVariables=W.enableExperimentalFragmentVariables,e.disableExperimentalFragmentVariables=W.disableExperimentalFragmentVariables}($||($={})),$.default=$;let K=$},61584:(e,t,n)=>{n.d(t,{Z:()=>d});var r=n(12115),i=n(47650),o=n(94446),a=n(95155),s=Symbol("radix.slottable");function l(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===s}var u=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=function(e){let t=function(e){let t=r.forwardRef((e,t)=>{let{children:n,...i}=e;if(r.isValidElement(n)){var a;let e,s,l=(a=n,(s=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(s=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),u=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(i,n.props);return n.type!==r.Fragment&&(u.ref=t?(0,o.t)(t,l):l),r.cloneElement(n,u)}return r.Children.count(n)>1?r.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=r.forwardRef((e,n)=>{let{children:i,...o}=e,s=r.Children.toArray(i),u=s.find(l);if(u){let e=u.props.children,i=s.map(t=>t!==u?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,a.jsx)(t,{...o,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,i):null})}return(0,a.jsx)(t,{...o,ref:n,children:i})});return n.displayName=`${e}.Slot`,n}(`Primitive.${t}`),i=r.forwardRef((e,r)=>{let{asChild:i,...o}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,a.jsx)(i?n:t,{...o,ref:r})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{}),c=n(4129),d=r.forwardRef((e,t)=>{var n,o;let{container:s,...l}=e,[d,f]=r.useState(!1);(0,c.N)(()=>f(!0),[]);let h=s||d&&(null==(o=globalThis)||null==(n=o.document)?void 0:n.body);return h?i.createPortal((0,a.jsx)(u.div,{...l,ref:t}),h):null});d.displayName="Portal"},62044:(e,t,n)=>{n.d(t,{IT:()=>f,Kq:()=>s,tH:()=>l});var r=n(75865),i=n(12115),o=n(43313),a=i.createContext({}),s=a.Provider;a.Consumer,a.displayName="UrqlContext";var l=()=>i.useContext(a),u={fetching:!1,stale:!1,hasNext:!1,error:void 0,data:void 0,extensions:void 0,operation:void 0},c=(e,t)=>e===t||!(!e||!t||e.key!==t.key),d=(e,t)=>{var n={...e,...t,data:void 0!==t.data||t.error?t.data:e.data,fetching:!!t.fetching,stale:!!t.stale};return((e,t)=>{for(var n in e)if(!(n in t))return!0;for(var r in t)if("operation"===r?!c(e[r],t[r]):e[r]!==t[r])return!0;return!1})(e,n)?n:e};function f(e){let t;var n,a,s,c=l(),f=(e=>{if(!e._react){var t=new Set,n=new Map;e.operations$&&(0,o.B1)(e=>
13{"teardown"===e.kind&&t.has(e.key)&&(t.delete(e.key),n.delete(e.key))})(e.operations$),e._react={get:e=>n.get(e),set(e,r){t.delete(e),n.set(e,r)},dispose(e){t.add(e)}}}return e._react})(c),h=(t=e.context)&&void 0!==t.suspense?!!t.suspense:c.suspense,p=(n=e.query,a=e.variables,s=i.useRef(void 0),i.useMemo(()=>{var e=(0,r.h)(n,a);return void 0!==s.current&&s.current.key===e.key?s.current:(s.current=e,e)},[n,a])),m=i.useMemo(()=>{if(e.pause)return null;var t=c.executeQuery(p,{requestPolicy:e.requestPolicy,...e.context});return h?(0,o.oT)(e=>{f.set(p.key,e)})(t):t},[f,c,p,h,e.pause,e.requestPolicy,e.context]),v=i.useCallback((e,t)=>{if(!e)return{fetching:!1};var n=f.get(p.key);if(n){if(t&&null!=n&&"then"in n)throw n}else{var r,i=(0,o.B1)(e=>{n=e,r&&r(n)})((0,o.v6)(()=>t&&!r||!n||"hasNext"in n&&n.hasNext)(e));if(null==n&&t){var a=new Promise(e=>{r=e});throw f.set(p.key,a),a}i.unsubscribe()}return n||{fetching:!0}},[f,p]),y=[c,p,e.requestPolicy,e.context,e.pause],[g,E]=i.useState(()=>[m,d(u,v(m,h)),y]),x=g[1];return m!==g[0]&&((e,t)=>{for(var n=0,r=t.length;n<r;n++)if(e[n]!==t[n])return!0;return!1})(g[2],y)&&E([m,x=d(g[1],v(m,h)),y]),i.useEffect(()=>{var e=g[0],t=g[2][1],n=!1,r=e=>{n=!0,E(t=>{var n=d(t[1],e);return t[1]!==n?[t[0],n,t[2]]:t})};if(e){var i=(0,o.B1)(r)((0,o.HT)(()=>{r({fetching:!1})})(e));return n||r({fetching:!0}),()=>{f.dispose(t.key),i.unsubscribe()}}r({fetching:!1})},[f,g[0],g[2][1]]),[x,i.useCallback(t=>{var n={requestPolicy:e.requestPolicy,...e.context,...t};E(e=>[h?(0,o.oT)(e=>{f.set(p.key,e)})(c.executeQuery(p,n)):c.executeQuery(p,n),e[1],y])},[c,f,p,h,e.requestPolicy,e.context,e.pause])]}i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED},68946:(e,t,n)=>{n.d(t,{B:()=>l});var r,i=n(12115),o=n(4129),a=(r||(r=n.t(i,2)))[" useId ".trim().toString()]||(()=>void 0),s=0;function l(e){let[t,n]=i.useState(a());return(0,o.N)(()=>{e||n(e=>e??String(s++))},[e]),e||(t?`radix-${t}`:"")}},70222:(e,t,n)=>{n.d(t,{c:()=>i});var r=n(12115);function i(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},71450:(e,t,n)=>{n.d(t,{Cl:()=>r,Tt:()=>i,fX:()=>o});var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function i(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}Object.create;function o(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}Object.create,"function"==typeof SuppressedError&&SuppressedError},75865:(e,t,n)=>{n.d(t,{C:()=>a,a:()=>k,d:()=>_,e:()=>R,f:()=>j,h:()=>A,k:()=>w,m:()=>C,s:()=>T});var r=n(36232),i=n(43313),o=e=>e&&"string"==typeof e.message&&(e.extensions||"GraphQLError"===e.name)?e:"object"==typeof e&&"string"==typeof e.message?new r.eO(e.message,e.nodes,e.source,e.positions,e.path,e,e.extensions||{}):new r.eO(e);class a extends Error{constructor(e){var t=(e.graphQLErrors||[]).map(o),n=((e,t)=>{var n="";if(e)return`[Network] ${e.message}`;if(t)for(var r=0,i=t.length;r<i;r++)n&&(n+="\n"),n+=`[GraphQL] ${t[r].message}`;return n})(e.networkError,t);super(n),this.name="CombinedError",this.message=n,this.graphQLErrors=t,this.networkError=e.networkError,this.response=e.response}toString(){return this.message}}var s=(e,t)=>{for(var n=0|(t||5381),r=0,i=0|e.length;r<i;r++)n=(n<<5)+n+e.charCodeAt(r);return n},l=new Set,u=new WeakMap,c=(e,t)=>{if(null===e||l.has(e))return"null";if("object"!=typeof e)return JSON.stringify(e)||"";if(e.toJSON)return c(e.toJSON(),t);if(Array.isArray(e)){for(var n="[",r=0,i=e.length;r<i;r++)n.length>1&&(n+=","),n+=c(e[r],t)||"null";return n+"]"}if(!t&&(p!==h&&e instanceof p||m!==h&&e instanceof m))return"null";var o=Object.keys(e).sort();if(!o.length&&e.constructor&&Object.getPrototypeOf(e).constructor!==Object.prototype.constructor){var a=u.get(e)||Math.random().toString(36).slice(2);return u.set(e,a),c({__key:a},t)}l.add(e);for(var s="{",d=0,f=o.length;d<f;d++){var v=c(e[o[d]],t);v&&(s.length>1&&(s+=","),s+=c(o[d],t)+":"+v)}return l.delete(e),s+"}"},d=(e,t,n)=>{if(null==n||"object"!=typeof n||n.toJSON||l.has(n));else if(Array.isArray(n))for(var r=0,i=n.length;r<i;r++)d(e,`${t}.${r}`,n[r]);else if(n instanceof p||n instanceof m)e.set(t,n);else for(var o in l.add(n),n)d(e,`${t}.${o}`,n[o])},f=(e,t)=>(l.clear(),c(e,t||!1));class h{}var p="undefined"!=typeof File?File:h,m="undefined"!=typeof Blob?Blob:h,v=/("{3}
13[\s\S]*"{3}|"(?:\\.|[^"])*")/g,y=/(?:#[^\n\r]+)?(?:[\r\n]+|$)/g,g=(e,t)=>t%2==0?e.replace(y,"\n"):e,E=e=>e.split(v).map(g).join("").trim(),x=new Map,N=new Map,T=e=>{var t;return"string"==typeof e?t=E(e):e.loc&&N.get(e.__key)===e?t=e.loc.source.body:(t=x.get(e)||E((0,r.yy)(e)),x.set(e,t)),"string"==typeof e||e.loc||(e.loc={start:0,end:t.length,source:{body:t,name:"gql",locationOffset:{line:1,column:1}}}),t},b=e=>{var t;if(e.documentId)t=s(e.documentId);else if(t=s(T(e)),e.definitions){var n=O(e);n&&(t=s(`
14# ${n}`,t))}return t},w=e=>{var t,n;return"string"==typeof e?(t=b(e),n=N.get(t)||(0,r.qg)(e,{noLocation:!0})):(t=e.__key||b(e),n=N.get(t)||e),n.loc||T(n),n.__key=t,N.set(t,n),n},A=(e,t,n)=>{var r=t||{},i=w(e),o=f(r,!0),a=i.__key;return"{}"!==o&&(a=s(o,a)),{key:a,query:i,variables:r,extensions:n}},O=e=>{for(var t=0,n=e.definitions.length;t<n;t++){var i=e.definitions[t];if(i.kind===r.b8.OPERATION_DEFINITION)return i.name?i.name.value:void 0}},C=(e,t,n)=>{if(!("data"in t||"errors"in t&&Array.isArray(t.errors)))throw Error("No Content");var r="subscription"===e.kind;return{operation:e,data:t.data,error:Array.isArray(t.errors)?new a({graphQLErrors:t.errors,response:n}):void 0,extensions:t.extensions?{...t.extensions}:void 0,hasNext:null==t.hasNext?r:t.hasNext,stale:!1}},I=(e,t)=>{if("object"==typeof e&&null!=e){if(Array.isArray(e)){e=[...e];for(var n=0,r=t.length;n<r;n++)e[n]=I(e[n],t[n]);return e}if(!e.constructor||e.constructor===Object){for(var i in e={...e},t)e[i]=I(e[i],t[i]);return e}}return t},S=(e,t,n,r)=>{var i=e.error?e.error.graphQLErrors:[],o=!!e.extensions||!!(t.payload||t).extensions,s={...e.extensions,...(t.payload||t).extensions},l=t.incremental;"path"in t&&(l=[t]);var u={data:e.data};if(l)for(var c=0,d=l.length;c<d;c++)!function(){var e=l[c];Array.isArray(e.errors)&&i.push(...e.errors),e.extensions&&(Object.assign(s,e.extensions),o=!0);var t="data",n=u,a=[];if(e.path)a=e.path;else if(r){var d=r.find(t=>t.id===e.id);a=e.subPath?[...d.path,...e.subPath]:d.path}for(var f=0,h=a.length;f<h;t=a[f++])n=n[t]=Array.isArray(n[t])?[...n[t]]:{...n[t]};if(e.items)for(var p=+t>=0?t:0,m=0,v=e.items.length;m<v;m++)n[p+m]=I(n[p+m],e.items[m]);else void 0!==e.data&&(n[t]=I(n[t],e.data))}();else u.data=(t.payload||t).data||e.data,i=t.errors||t.payload&&t.payload.errors||i;return{operation:e.operation,data:u.data,error:i.length?new a({graphQLErrors:i,response:n}):void 0,extensions:o?s:void 0,hasNext:null!=t.hasNext?t.hasNext:e.hasNext,stale:!1}};function k(e){var t={query:void 0,documentId:void 0,operationName:O(e.query),variables:e.variables||void 0,extensions:e.extensions};return"documentId"in e.query&&e.query.documentId&&(!e.query.definitions||!e.query.definitions.length)?t.documentId=e.query.documentId:e.extensions&&e.extensions.persistedQuery&&!e.extensions.persistedQuery.miss||(t.query=T(e.query)),t}var _=(e,t)=>
14{var n="query"===e.kind&&e.context.preferGetMethod;if(!n||!t)return e.context.url;var r=D(e.context.url);for(var i in t){var o=t[i];o&&r[1].set(i,"object"==typeof o?f(o):o)}var a=r.join("?");return a.length>2047&&"force"!==n?(e.context.preferGetMethod=!1,e.context.url):a},D=e=>{var t=e.indexOf("?");return t>-1?[e.slice(0,t),new URLSearchParams(e.slice(t+1))]:[e,new URLSearchParams]},R=(e,t)=>{var n={accept:"subscription"===e.kind?"text/event-stream, multipart/mixed":"application/graphql-response+json, application/graphql+json, application/json, text/event-stream, multipart/mixed"},r=("function"==typeof e.context.fetchOptions?e.context.fetchOptions():e.context.fetchOptions)||{};if(r.headers)if((e=>"has"in e&&!Object.keys(e).length)(r.headers))r.headers.forEach((e,t)=>{n[t]=e});else if(Array.isArray(r.headers))r.headers.forEach((e,t)=>{Array.isArray(e)?n[e[0]]?n[e[0]]=`${n[e[0]]},${e[1]}`:n[e[0]]=e[1]:n[t]=e});else for(var i in r.headers)n[i.toLowerCase()]=r.headers[i];var o=((e,t)=>{if(t&&!("query"===e.kind&&e.context.preferGetMethod)){var n=f(t),r=(e=>{var t=new Map;return(p!==h||m!==h)&&(l.clear(),d(t,"variables",e)),t})(t.variables);if(r.size){var i=new FormData;i.append("operations",n),i.append("map",f({...[...r.keys()].map(e=>[e])}));var o=0;for(var a of r.values())i.append(""+o++,a);return i}return n}})(e,t);return"string"!=typeof o||n["content-type"]||(n["content-type"]="application/json"),{...r,method:o?"POST":"GET",body:o,headers:n}},L=/boundary="?([^=";]+)"?/i,P=/data: ?([^\n]+)/;async function*F(e){if(e.body[Symbol.asyncIterator])for await(var t of e.body)yield t;else{var n,r=e.body.getReader();try{for(;!(n=await r.read()).done;)yield n.value}finally{r.cancel()}}}async function*M(e,t){var n,r="undefined"!=typeof TextDecoder?new TextDecoder:null,i="";for await(var o of e)for(i+="Buffer"===o.constructor.name?o.toString():r.decode(o,{stream:!0});(n=i.indexOf(t))>-1;)yield i.slice(0,n),i=i.slice(n+t.length)}async function*V(e,t,n){var r=!0,i=null;try{yield await Promise.resolve();var o,s,l=(o=await (e.context.fetch||fetch)(t,n)).headers.get("Content-Type")||"";for await(var u of/multipart\/mixed/i.test(l)?async function*(e,t){var n,r=e.match(L),i="--"+(r?r[1]:"-"),o=!0;for await(var a of M(F(t),"\r\n"+i)){if(o){o=!1;var s=a.indexOf(i);if(!(s>-1))continue;a=a.slice(s+i.length)}try{yield n=JSON.parse(a.slice(a.indexOf("\r\n\r\n")+4))}catch(e){if(!n)throw e}if(n&&!1===n.hasNext)break}n&&!1!==n.hasNext&&(yield{hasNext:!1})}(l,o):/text\/event-stream/i.test(l)?async function*(e){var t;for await(var n of M(F(e),"\n\n")){var r=n.match(P);if(r){var i=r[1];try{yield t=JSON.parse(i)}catch(e){if(!t)throw e}if(t&&!1===t.hasNext)break}}t&&!1!==t.hasNext&&(yield{hasNext:!1})}(o):/text\//i.test(l)?async function*(e){var t=await e.text();try{var n=JSON.parse(t);yield n}catch(e){throw Error(t)}}(o):async function*(e){yield JSON.parse(await e.text())}(o))u.pending&&!i?s=u.pending:u.pending&&(s=[...s,...u.pending]),i=i?S(i,u,o,s):C(e,u,o),r=!1,yield i,r=!0;i||(yield i=C(e,{},o))}catch(t){if(!r)throw t;yield{operation:e,data:void 0,error:new a({networkError:o&&(o.status<200||o.status>=300)&&o.statusText?Error(o.statusText):t,response:o}),extensions:void 0,hasNext:!1,stale:!1}}}function j(e,t,n){var r;return"undefined"!=typeof AbortController&&(n.signal=(r=new AbortController).signal),(0,i.HT)(()=>{r&&r.abort()})((0,i.pb)(e=>!!e)((0,i.zr)(V(e,t,n))))}},76842:(e,t,n)=>{n.d(t,{C:()=>a});var r=n(12115),i=n(94446),o=n(4129),a=e=>{let{present:t,children:n}=e,a=function(e){var t,n;let[i,a]=r.useState(),l=r.useRef(null),u=r.useRef(e),c=r.useRef("none"),[d,f]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return r.useEffect(()=>{let e=s(l.current);c.current="mounted"===d?e:"none"},[d]),(0,o.N)(()=>{let t=l.current,n=u.current;if(n!==e){let r=c.current,i=s(t);e?f("MOUNT"):"none"===i||(null==t?void 0:t.display)==="none"?f("UNMOUNT"):n&&r!==i?f("ANIMATION_OUT"):f("UNMOUNT"),u.current=e}},[e,f]),(0,o.N)(()=>
14{if(i){var e;let t,n=null!=(e=i.ownerDocument.defaultView)?e:window,r=e=>{let r=s(l.current).includes(CSS.escape(e.animationName));if(e.target===i&&r&&(f("ANIMATION_END"),!u.current)){let e=i.style.animationFillMode;i.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===i.style.animationFillMode&&(i.style.animationFillMode=e)})}},o=e=>{e.target===i&&(c.current=s(l.current))};return i.addEventListener("animationstart",o),i.addEventListener("animationcancel",r),i.addEventListener("animationend",r),()=>{n.clearTimeout(t),i.removeEventListener("animationstart",o),i.removeEventListener("animationcancel",r),i.removeEventListener("animationend",r)}}f("ANIMATION_END")},[i,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:r.useCallback(e=>{l.current=e?getComputedStyle(e):null,a(e)},[])}}(t),l="function"==typeof n?n({present:a.isPresent}):r.Children.only(n),u=(0,i.s)(a.ref,function(e){var t,n;let r=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,i=r&&"isReactWarning"in r&&r.isReactWarning;return i?e.ref:(i=(r=null==(n=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:n.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}(l));return"function"==typeof n||a.isPresent?r.cloneElement(l,{ref:u}):null};function s(e){return(null==e?void 0:e.animationName)||"none"}a.displayName="Presence"},81966:(e,t,n)=>{n.d(t,{Mz:()=>e5,i3:()=>e6,UC:()=>e3,bL:()=>e4,Bk:()=>eU});var r=n(12115);let i=["top","right","bottom","left"],o=Math.min,a=Math.max,s=Math.round,l=Math.floor,u=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"},d={start:"end",end:"start"};function f(e,t){return"function"==typeof e?e(t):e}function h(e){return e.split("-")[0]}function p(e){return e.split("-")[1]}function m(e){return"x"===e?"y":"x"}function v(e){return"y"===e?"height":"width"}let y=new Set(["top","bottom"]);function g(e){return y.has(h(e))?"y":"x"}function E(e){return e.replace(/start|end/g,e=>d[e])}let x=["left","right"],N=["right","left"],T=["top","bottom"],b=["bottom","top"];function w(e){return e.replace(/left|right|bottom|top/g,e=>c[e])}function A(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function O(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function C(e,t,n){let r,{reference:i,floating:o}=e,a=g(t),s=m(g(t)),l=v(s),u=h(t),c="y"===a,d=i.x+i.width/2-o.width/2,f=i.y+i.height/2-o.height/2,y=i[l]/2-o[l]/2;switch(u){case"top":r={x:d,y:i.y-o.height};break;case"bottom":r={x:d,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:f};break;case"left":r={x:i.x-o.width,y:f};break;default:r={x:i.x,y:i.y}}switch(p(t)){case"start":r[s]-=y*(n&&c?-1:1);break;case"end":r[s]+=y*(n&&c?-1:1)}return r}let I=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,s=o.filter(Boolean),l=await (null==a.isRTL?void 0:a.isRTL(t)),u=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:d}=C(u,r,l),f=r,h={},p=0;for(let n=0;n<s.length;n++){let{name:o,fn:m}=s[n],{x:v,y:y,data:g,reset:E}=await m({x:c,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:h,rects:u,platform:a,elements:{reference:e,floating:t}});c=null!=v?v:c,d=null!=y?y:d,h={...h,[o]:{...h[o],...g}},E&&p<=50&&(p++,"object"==typeof E&&(E.placement&&(f=E.placement),E.rects&&(u=!0===E.rects?await a.getElementRects({reference:e,floating:t,strategy:i}):E.rects),{x:c,y:d}=C(u,f,l)),n=-1)}return{x:c,y:d,placement:f,strategy:i,middlewareData:h}};async function S(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:h=!1,padding:p=0}=f(t,e),m=A(p),v=s[h?"floating"===d?"reference":"floating":d],y=O(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(v)))||n?v:v.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:l})),g="floating"===d?{x:r,y:i,width:a.floating.width,height:a.floating.height}:a.reference,E=await (null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),x=await (null==o.isElement?void 0:o.isElement(E))&&await (null==o.getScale?void 0:o.getScale(E))||{x:1,y:1},N=O(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:g,offsetParent:E,strategy:l}):g);return{top:(y.top-N.top+m.top)/x.y,bottom:(N.bottom-y.bottom+m.bottom)/x.y,left:(y.left-N.left+m.left)/x.x,right:(N.right-y.right+m.right)/x.x}}function k(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function _(e){return i.some(t=>e[t]>=0)}let D=new Set(["left","top"]);async function R(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),a=h(n),s=p(n),l="y"===g(n),u=D.has(a)?-1:1,c=o&&l?-1:1,d=f(t,e),{mainAxis:m,crossAxis:v,alignmentAxis:y}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}
14:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&"number"==typeof y&&(v="end"===s?-1*y:y),l?{x:v*c,y:m*u}:{x:m*u,y:v*c}}function L(){return"undefined"!=typeof window}function P(e){return V(e)?(e.nodeName||"").toLowerCase():"#document"}function F(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function M(e){var t;return null==(t=(V(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function V(e){return!!L()&&(e instanceof Node||e instanceof F(e).Node)}function j(e){return!!L()&&(e instanceof Element||e instanceof F(e).Element)}function B(e){return!!L()&&(e instanceof HTMLElement||e instanceof F(e).HTMLElement)}function U(e){return!!L()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof F(e).ShadowRoot)}let $=new Set(["inline","contents"]);function W(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=ee(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!$.has(i)}let K=new Set(["table","td","th"]),G=[":popover-open",":modal"];function q(e){return G.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let Y=["transform","translate","scale","rotate","perspective"],z=["transform","translate","scale","rotate","perspective","filter"],J=["paint","layout","strict","content"];function H(e){let t=Q(),n=j(e)?ee(e):e;return Y.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||z.some(e=>(n.willChange||"").includes(e))||J.some(e=>(n.contain||"").includes(e))}function Q(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let X=new Set(["html","body","#document"]);function Z(e){return X.has(P(e))}function ee(e){return F(e).getComputedStyle(e)}function et(e){return j(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function en(e){if("html"===P(e))return e;let t=e.assignedSlot||e.parentNode||U(e)&&e.host||M(e);return U(t)?t.host:t}function er(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=en(t);return Z(n)?t.ownerDocument?t.ownerDocument.body:t.body:B(n)&&W(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=F(i);if(o){let e=ei(a);return t.concat(a,a.visualViewport||[],W(i)?i:[],e&&n?er(e):[])}return t.concat(i,er(i,[],n))}function ei(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function eo(e){let t=ee(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=B(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,l=s(n)!==o||s(r)!==a;return l&&(n=o,r=a),{width:n,height:r,$:l}}function ea(e){return j(e)?e:e.contextElement}function es(e){let t=ea(e);if(!B(t))return u(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=eo(t),a=(o?s(n.width):n.width)/r,l=(o?s(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}let el=u(0);function eu(e){let t=F(e);return Q()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:el}function ec(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),a=ea(e),s=u(1);t&&(r?j(r)&&(s=es(r)):s=es(e));let l=(void 0===(i=n)&&(i=!1),r&&(!i||r===F(a))&&i)?eu(a):u(0),c=(o.left+l.x)/s.x,d=(o.top+l.y)/s.y,f=o.width/s.x,h=o.height/s.y;if(a){let e=F(a),t=r&&j(r)?F(r):r,n=e,i=ei(n);for(;i&&r&&t!==n;){let e=es(i),t=i.getBoundingClientRect(),r=ee(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,d*=e.y,f*=e.x,h*=e.y,c+=o,d+=a,i=ei(n=F(i))}}return O({width:f,height:h,x:c,y:d})}function ed(e,t){let n=et(e).scrollLeft;return t?t.left+n:ec(M(e)).left+n}function ef(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-ed(e,n),y:n.top+t.scrollTop}}let eh=new Set(["absolute","fixed"]);function ep(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=F(e),r=M(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;let e=Q();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}let u=ed(r);if(u<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,a=Math.abs(r.clientWidth-t.clientWidth-i);a<=25&&(o-=a)}else u<=25&&(o+=u);return{width:o,height:a,x:s,y:l}}(e,n);else if("document"===t)r=function(e){let t=M(e),n=et(e),r=e.ownerDocument.body,i=a(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=a(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),s=-n.scrollLeft+ed(e),l=-n.scrollTop;return"rtl"===ee(r).direction&&(s+=a(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:s,y:l}}(M(e));else if(j(t))r=function(e,t){let n=ec(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=B(e)?es(e):u(1),a=e.clientWidth*o.x,s=e.clientHeight*o.y;return{width:a,height:s,x:i*o.x,y:r*o.y}}(t,n);else{let n=eu(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return O(r)}function em(e){return"static"===ee(e).position}function ev(e,t){if(!B(e)||"fixed"===ee(e).position)return null;if(t)return t(e);let n=e.offsetParent;return M(e)===n&&(n=n.ownerDocument.body),n}function ey(e,t){var n;let r=F(e);if(q(e))return r;if(!B(e)){let t=en(e);for(;t&&!Z(t);){if(j(t)&&!em(t))return t;t=en(t)}return r}let i=ev(e,t);for(;i&&(n=i,K.has(P(n)))&&em(i);)i=ev(i,t);
14return i&&Z(i)&&em(i)&&!H(i)?r:i||function(e){let t=en(e);for(;B(t)&&!Z(t);){if(H(t))return t;if(q(t))break;t=en(t)}return null}(e)||r}let eg=async function(e){let t=this.getOffsetParent||ey,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=B(t),i=M(t),o="fixed"===n,a=ec(e,!0,o,t),s={scrollLeft:0,scrollTop:0},l=u(0);if(r||!r&&!o)if(("body"!==P(t)||W(i))&&(s=et(t)),r){let e=ec(t,!0,o,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else i&&(l.x=ed(i));o&&!r&&i&&(l.x=ed(i));let c=!i||r||o?u(0):ef(i,s);return{x:a.left+s.scrollLeft-l.x-c.x,y:a.top+s.scrollTop-l.y-c.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},eE={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,a=M(r),s=!!t&&q(t.floating);if(r===a||s&&o)return n;let l={scrollLeft:0,scrollTop:0},c=u(1),d=u(0),f=B(r);if((f||!f&&!o)&&(("body"!==P(r)||W(a))&&(l=et(r)),B(r))){let e=ec(r);c=es(r),d.x=e.x+r.clientLeft,d.y=e.y+r.clientTop}let h=!a||f||o?u(0):ef(a,l);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+d.x+h.x,y:n.y*c.y-l.scrollTop*c.y+d.y+h.y}},getDocumentElement:M,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,s=[..."clippingAncestors"===n?q(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=er(e,[],!1).filter(e=>j(e)&&"body"!==P(e)),i=null,o="fixed"===ee(e).position,a=o?en(e):e;for(;j(a)&&!Z(a);){let t=ee(a),n=H(a);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&!!i&&eh.has(i.position)||W(a)&&!n&&function e(t,n){let r=en(t);return!(r===n||!j(r)||Z(r))&&("fixed"===ee(r).position||e(r,n))}(e,a))?r=r.filter(e=>e!==a):i=t,a=en(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],l=s[0],u=s.reduce((e,n)=>{let r=ep(t,n,i);return e.top=a(r.top,e.top),e.right=o(r.right,e.right),e.bottom=o(r.bottom,e.bottom),e.left=a(r.left,e.left),e},ep(t,l,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:ey,getElementRects:eg,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=eo(e);return{width:t,height:n}},getScale:es,isElement:j,isRTL:function(e){return"rtl"===ee(e).direction}};function ex(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let eN=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:i,rects:s,platform:l,elements:u,middlewareData:c}=t,{element:d,padding:h=0}=f(e,t)||{};if(null==d)return{};let y=A(h),E={x:n,y:r},x=m(g(i)),N=v(x),T=await l.getDimensions(d),b="y"===x,w=b?"clientHeight":"clientWidth",O=s.reference[N]+s.reference[x]-E[x]-s.floating[N],C=E[x]-s.reference[x],I=await (null==l.getOffsetParent?void 0:l.getOffsetParent(d)),S=I?I[w]:0;S&&await (null==l.isElement?void 0:l.isElement(I))||(S=u.floating[w]||s.floating[N]);let k=S/2-T[N]/2-1,_=o(y[b?"top":"left"],k),D=o(y[b?"bottom":"right"],k),R=S-T[N]-D,L=S/2-T[N]/2+(O/2-C/2),P=a(_,o(L,R)),F=!c.arrow&&null!=p(i)&&L!==P&&s.reference[N]/2-(L<_?_:D)-T[N]/2<0,M=F?L<_?L-_:L-R:0;return{[x]:E[x]+M,data:{[x]:P,centerOffset:L-P-M,...F&&{alignmentOffset:M}},reset:F}}});var eT=n(47650),eb="undefined"!=typeof document?r.useLayoutEffect:function(){};function ew(e,t){let n,r,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!ew(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!ew(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eA(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eO(e,t){let n=eA(e);return Math.round(t*n)/n}function eC(e){let t=r.useRef(e);return eb(()=>{t.current=e}),t}var eI=n(94446),eS=n(95155),ek=Symbol("radix.slottable");function e_(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===ek}var eD=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>
14{let n=function(e){let t=function(e){let t=r.forwardRef((e,t)=>{let{children:n,...i}=e;if(r.isValidElement(n)){var o;let e,a,s=(o=n,(a=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(a=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),l=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(i,n.props);return n.type!==r.Fragment&&(l.ref=t?(0,eI.t)(t,s):s),r.cloneElement(n,l)}return r.Children.count(n)>1?r.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=r.forwardRef((e,n)=>{let{children:i,...o}=e,a=r.Children.toArray(i),s=a.find(e_);if(s){let e=s.props.children,i=a.map(t=>t!==s?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,eS.jsx)(t,{...o,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,i):null})}return(0,eS.jsx)(t,{...o,ref:n,children:i})});return n.displayName=`${e}.Slot`,n}(`Primitive.${t}`),i=r.forwardRef((e,r)=>{let{asChild:i,...o}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,eS.jsx)(i?n:t,{...o,ref:r})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{}),eR=r.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...o}=e;return(0,eS.jsx)(eD.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,eS.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eR.displayName="Arrow";var eL=Symbol("radix.slottable");function eP(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===eL}var eF=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=function(e){let t=function(e){let t=r.forwardRef((e,t)=>{let{children:n,...i}=e;if(r.isValidElement(n)){var o;let e,a,s=(o=n,(a=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(a=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),l=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(i,n.props);return n.type!==r.Fragment&&(l.ref=t?(0,eI.t)(t,s):s),r.cloneElement(n,l)}return r.Children.count(n)>1?r.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=r.forwardRef((e,n)=>{let{children:i,...o}=e,a=r.Children.toArray(i),s=a.find(eP);if(s){let e=s.props.children,i=a.map(t=>t!==s?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,eS.jsx)(t,{...o,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,i):null})}return(0,eS.jsx)(t,{...o,ref:n,children:i})});return n.displayName=`${e}.Slot`,n}(`Primitive.${t}`),i=r.forwardRef((e,r)=>{let{asChild:i,...o}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,eS.jsx)(i?n:t,{...o,ref:r})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{}),eM=n(70222),eV=n(4129),ej="Popper",[eB,eU]=function(e,t=[]){let n=[],i=()=>{let t=n.map(e=>r.createContext(e));return function(n){let i=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return i.scopeName=e,[function(t,i){let o=r.createContext(i),a=n.length;n=[...n,i];let s=t=>{let{scope:n,children:i,...s}=t,l=n?.[e]?.[a]||o,u=r.useMemo(()=>s,Object.values(s));return(0,eS.jsx)(l.Provider,{value:u,children:i})};return s.displayName=t+"Provider",[s,function(n,s){let l=s?.[e]?.[a]||o,u=r.useContext(l);if(u)return u;if(void 0!==i)return i;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}(i,...t)]}(ej),[e$,eW]=eB(ej),eK=e=>{let{__scopePopper:t,children:n}=e,[i,o]=r.useState(null);return(0,eS.jsx)(e$,{scope:t,anchor:i,onAnchorChange:o,children:n})};eK.displayName=ej;var eG="PopperAnchor",eq=r.forwardRef((e,t)=>
14{let{__scopePopper:n,virtualRef:i,...o}=e,a=eW(eG,n),s=r.useRef(null),l=(0,eI.s)(t,s),u=r.useRef(null);return r.useEffect(()=>{let e=u.current;u.current=(null==i?void 0:i.current)||s.current,e!==u.current&&a.onAnchorChange(u.current)}),i?null:(0,eS.jsx)(eF.div,{...o,ref:l})});eq.displayName=eG;var eY="PopperContent",[ez,eJ]=eB(eY),eH=r.forwardRef((e,t)=>{var n,i,s,u,c,d,y,A;let{__scopePopper:O,side:C="bottom",sideOffset:L=0,align:P="center",alignOffset:F=0,arrowPadding:V=0,avoidCollisions:j=!0,collisionBoundary:B=[],collisionPadding:U=0,sticky:$="partial",hideWhenDetached:W=!1,updatePositionStrategy:K="optimized",onPlaced:G,...q}=e,Y=eW(eY,O),[z,J]=r.useState(null),H=(0,eI.s)(t,e=>J(e)),[Q,X]=r.useState(null),Z=function(e){let[t,n]=r.useState(void 0);return(0,eV.N)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,i=t.blockSize}else r=e.offsetWidth,i=e.offsetHeight;n({width:r,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}(Q),ee=null!=(y=null==Z?void 0:Z.width)?y:0,et=null!=(A=null==Z?void 0:Z.height)?A:0,en="number"==typeof U?U:{top:0,right:0,bottom:0,left:0,...U},ei=Array.isArray(B)?B:[B],eo=ei.length>0,es={padding:en,boundary:ei.filter(e0),altBoundary:eo},{refs:el,floatingStyles:eu,placement:ed,isPositioned:ef,middlewareData:eh}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:i=[],platform:o,elements:{reference:a,floating:s}={},transform:l=!0,whileElementsMounted:u,open:c}=e,[d,f]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,p]=r.useState(i);ew(h,i)||p(i);let[m,v]=r.useState(null),[y,g]=r.useState(null),E=r.useCallback(e=>{e!==b.current&&(b.current=e,v(e))},[]),x=r.useCallback(e=>{e!==w.current&&(w.current=e,g(e))},[]),N=a||m,T=s||y,b=r.useRef(null),w=r.useRef(null),A=r.useRef(d),O=null!=u,C=eC(u),S=eC(o),k=eC(c),_=r.useCallback(()=>{if(!b.current||!w.current)return;let e={placement:t,strategy:n,middleware:h};S.current&&(e.platform=S.current),((e,t,n)=>{let r=new Map,i={platform:eE,...n},o={...i.platform,_c:r};return I(e,t,{...i,platform:o})})(b.current,w.current,e).then(e=>{let t={...e,isPositioned:!1!==k.current};D.current&&!ew(A.current,t)&&(A.current=t,eT.flushSync(()=>{f(t)}))})},[h,t,n,S,k]);eb(()=>{!1===c&&A.current.isPositioned&&(A.current.isPositioned=!1,f(e=>({...e,isPositioned:!1})))},[c]);let D=r.useRef(!1);eb(()=>(D.current=!0,()=>{D.current=!1}),[]),eb(()=>{if(N&&(b.current=N),T&&(w.current=T),N&&T){if(C.current)return C.current(N,T,_);_()}},[N,T,_,C,O]);let R=r.useMemo(()=>({reference:b,floating:w,setReference:E,setFloating:x}),[E,x]),L=r.useMemo(()=>({reference:N,floating:T}),[N,T]),P=r.useMemo(()=>{let e={position:n,left:0,top:0};if(!L.floating)return e;let t=eO(L.floating,d.x),r=eO(L.floating,d.y);return l?{...e,transform:"translate("+t+"px, "+r+"px)",...eA(L.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,l,L.floating,d.x,d.y]);return r.useMemo(()=>({...d,update:_,refs:R,elements:L,floatingStyles:P}),[d,_,R,L,P])}({strategy:"fixed",placement:C+("center"!==P?"-"+P:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,t,n,r){let i;void 0===r&&(r={});let{ancestorScroll:s=!0,ancestorResize:u=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:d="function"==typeof IntersectionObserver,animationFrame:f=!1}=r,h=ea(e),p=s||u?[...h?er(h):[],...er(t)]:[];p.forEach(e=>{s&&e.addEventListener("scroll",n,{passive:!0}),u&&e.addEventListener("resize",n)});let m=h&&d?function(e,t){let n,r=null,i=M(e);function s(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function u(c,d){void 0===c&&(c=!1),void 0===d&&(d=1),s();let f=e.getBoundingClientRect(),{left:h,top:p,width:m,height:v}=f;if(c||t(),!m||!v)return;let y=l(p),g=l(i.clientWidth-(h+m)),E={rootMargin:-y+"px "+-g+"px "+-l(i.clientHeight-(p+v))+"px "+-l(h)+"px",threshold:a(0,o(1,d))||1},x=!0;function N(t){let r=t[0].intersectionRatio;if(r!==d){if(!x)return u();r?u(!1,r):n=setTimeout(()=>{u(!1,1e-7)},1e3)}1!==r||ex(f,e.getBoundingClientRect())||u(),x=!1}try{r=new IntersectionObserver(N,{...E,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(N,E)}r.observe(e)}(!0),s}(h,n):null,v=-1,y=null;c&&(y=new ResizeObserver(e=>{let[r]=e;r&&r.target===h&&y&&(y.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),n()}),h&&!f&&y.observe(h),y.observe(t));let g=f?ec(e):null;return f&&function t(){let r=ec(e);g&&!ex(g,r)&&n(),g=r,i=requestAnimationFrame(t)}(),n(),()=>{var e;
14p.forEach(e=>{s&&e.removeEventListener("scroll",n),u&&e.removeEventListener("resize",n)}),null==m||m(),null==(e=y)||e.disconnect(),y=null,f&&cancelAnimationFrame(i)}}(...t,{animationFrame:"always"===K})},elements:{reference:Y.anchor},middleware:[((e,t)=>({...function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:o,placement:a,middlewareData:s}=t,l=await R(t,e);return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:i+l.x,y:o+l.y,data:{...l,placement:a}}}}}(e),options:[e,t]}))({mainAxis:L+et,alignmentAxis:F}),j&&((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:i}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:u={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=f(e,t),d={x:n,y:r},p=await S(t,c),v=g(h(i)),y=m(v),E=d[y],x=d[v];if(s){let e="y"===y?"top":"left",t="y"===y?"bottom":"right",n=E+p[e],r=E-p[t];E=a(n,o(E,r))}if(l){let e="y"===v?"top":"left",t="y"===v?"bottom":"right",n=x+p[e],r=x-p[t];x=a(n,o(x,r))}let N=u.fn({...t,[y]:E,[v]:x});return{...N,data:{x:N.x-n,y:N.y-r,enabled:{[y]:s,[v]:l}}}}}}(e),options:[e,t]}))({mainAxis:!0,crossAxis:!1,limiter:"partial"===$?((e,t)=>({...function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:o,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=f(e,t),c={x:n,y:r},d=g(i),p=m(d),v=c[p],y=c[d],E=f(s,t),x="number"==typeof E?{mainAxis:E,crossAxis:0}:{mainAxis:0,crossAxis:0,...E};if(l){let e="y"===p?"height":"width",t=o.reference[p]-o.floating[e]+x.mainAxis,n=o.reference[p]+o.reference[e]-x.mainAxis;v<t?v=t:v>n&&(v=n)}if(u){var N,T;let e="y"===p?"width":"height",t=D.has(h(i)),n=o.reference[d]-o.floating[e]+(t&&(null==(N=a.offset)?void 0:N[d])||0)+(t?0:x.crossAxis),r=o.reference[d]+o.reference[e]+(t?0:(null==(T=a.offset)?void 0:T[d])||0)-(t?x.crossAxis:0);y<n?y=n:y>r&&(y=r)}return{[p]:v,[d]:y}}}}(e),options:[e,t]}))():void 0,...es}),j&&((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,i,o,a;let{placement:s,middlewareData:l,rects:u,initialPlacement:c,platform:d,elements:y}=t,{mainAxis:A=!0,crossAxis:O=!0,fallbackPlacements:C,fallbackStrategy:I="bestFit",fallbackAxisSideDirection:k="none",flipAlignment:_=!0,...D}=f(e,t);if(null!=(n=l.arrow)&&n.alignmentOffset)return{};let R=h(s),L=g(c),P=h(c)===c,F=await (null==d.isRTL?void 0:d.isRTL(y.floating)),M=C||(P||!_?[w(c)]:function(e){let t=w(e);return[E(e),t,E(t)]}(c)),V="none"!==k;!C&&V&&M.push(...function(e,t,n,r){let i=p(e),o=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?N:x;return t?x:N;case"left":case"right":return t?T:b;default:return[]}}(h(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(E)))),o}(c,_,k,F));let j=[c,...M],B=await S(t,D),U=[],$=(null==(r=l.flip)?void 0:r.overflows)||[];if(A&&U.push(B[R]),O){let e=function(e,t,n){void 0===n&&(n=!1);let r=p(e),i=m(g(e)),o=v(i),a="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=w(a)),[a,w(a)]}(s,u,F);U.push(B[e[0]],B[e[1]])}if($=[...$,{placement:s,overflows:U}],!U.every(e=>e<=0)){let e=((null==(i=l.flip)?void 0:i.index)||0)+1,t=j[e];if(t&&("alignment"!==O||L===g(t)||$.every(e=>g(e.placement)!==L||e.overflows[0]>0)))return{data:{index:e,overflows:$},reset:{placement:t}};let n=null==(o=$.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(I){case"bestFit":{let e=null==(a=$.filter(e=>{if(V){let t=g(e.placement);return t===L||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:a[0];e&&(n=e);break}case"initialPlacement":n=c}if(s!==n)return{reset:{placement:n}}}return{}}}}(e),options:[e,t]}))({...es}),((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;let i,s,{placement:l,rects:u,platform:c,elements:d}=t,{apply:m=()=>{},...v}=f(e,t),y=await S(t,v),E=h(l),x=p(l),N="y"===g(l),{width:T,height:b}=u.floating;"top"===E||"bottom"===E?(i=E,s=x===(await (null==c.isRTL?void 0:c.isRTL(d.floating))?"start":"end")?"left":"right"):(s=E,i="end"===x?"top":"bottom");let w=b-y.top-y.bottom,A=T-y.left-y.right,O=o(b-y[i],w),C=o(T-y[s],A),I=!t.middlewareData.shift,k=O,_=C;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(_=A),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(k=w),I&&!x
14){let e=a(y.left,0),t=a(y.right,0),n=a(y.top,0),r=a(y.bottom,0);N?_=T-2*(0!==e||0!==t?e+t:a(y.left,y.right)):k=b-2*(0!==n||0!==r?n+r:a(y.top,y.bottom))}await m({...t,availableWidth:_,availableHeight:k});let D=await c.getDimensions(d.floating);return T!==D.width||b!==D.height?{reset:{rects:!0}}:{}}}}(e),options:[e,t]}))({...es,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:i}=e,{width:o,height:a}=n.reference,s=t.floating.style;s.setProperty("--radix-popper-available-width","".concat(r,"px")),s.setProperty("--radix-popper-available-height","".concat(i,"px")),s.setProperty("--radix-popper-anchor-width","".concat(o,"px")),s.setProperty("--radix-popper-anchor-height","".concat(a,"px"))}}),Q&&((e,t)=>({...(e=>({name:"arrow",options:e,fn(t){let{element:n,padding:r}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?eN({element:n.current,padding:r}).fn(t):{}:n?eN({element:n,padding:r}).fn(t):{}}}))(e),options:[e,t]}))({element:Q,padding:V}),e1({arrowWidth:ee,arrowHeight:et}),W&&((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n}=t,{strategy:r="referenceHidden",...i}=f(e,t);switch(r){case"referenceHidden":{let e=k(await S(t,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:_(e)}}}case"escaped":{let e=k(await S(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:_(e)}}}default:return{}}}}}(e),options:[e,t]}))({strategy:"referenceHidden",...es})]}),[ep,em]=e2(ed),ev=(0,eM.c)(G);(0,eV.N)(()=>{ef&&(null==ev||ev())},[ef,ev]);let ey=null==(n=eh.arrow)?void 0:n.x,eg=null==(i=eh.arrow)?void 0:i.y,ek=(null==(s=eh.arrow)?void 0:s.centerOffset)!==0,[e_,eD]=r.useState();return(0,eV.N)(()=>{z&&eD(window.getComputedStyle(z).zIndex)},[z]),(0,eS.jsx)("div",{ref:el.setFloating,"data-radix-popper-content-wrapper":"",style:{...eu,transform:ef?eu.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:e_,"--radix-popper-transform-origin":[null==(u=eh.transformOrigin)?void 0:u.x,null==(c=eh.transformOrigin)?void 0:c.y].join(" "),...(null==(d=eh.hide)?void 0:d.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eS.jsx)(ez,{scope:O,placedSide:ep,onArrowChange:X,arrowX:ey,arrowY:eg,shouldHideArrow:ek,children:(0,eS.jsx)(eF.div,{"data-side":ep,"data-align":em,...q,ref:H,style:{...q.style,animation:ef?void 0:"none"}})})})});eH.displayName=eY;var eQ="PopperArrow",eX={top:"bottom",right:"left",bottom:"top",left:"right"},eZ=r.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=eJ(eQ,n),o=eX[i.placedSide];return(0,eS.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,eS.jsx)(eR,{...r,ref:t,style:{...r.style,display:"block"}})})});function e0(e){return null!==e}eZ.displayName=eQ;var e1=e=>({name:"transformOrigin",options:e,fn(t){var n,r,i,o,a;let{placement:s,rects:l,middlewareData:u}=t,c=(null==(n=u.arrow)?void 0:n.centerOffset)!==0,d=c?0:e.arrowWidth,f=c?0:e.arrowHeight,[h,p]=e2(s),m={start:"0%",center:"50%",end:"100%"}[p],v=(null!=(o=null==(r=u.arrow)?void 0:r.x)?o:0)+d/2,y=(null!=(a=null==(i=u.arrow)?void 0:i.y)?a:0)+f/2,g="",E="";return"bottom"===h?(g=c?m:"".concat(v,"px"),E="".concat(-f,"px")):"top"===h?(g=c?m:"".concat(v,"px"),E="".concat(l.floating.height+f,"px")):"right"===h?(g="".concat(-f,"px"),E=c?m:"".concat(y,"px")):"left"===h&&(g="".concat(l.floating.width+f,"px"),E=c?m:"".concat(y,"px")),{data:{x:g,y:E}}}});function e2(e){let[t,n="center"]=e.split("-");return[t,n]}var e4=eK,e5=eq,e3=eH,e6=eZ},92556:(e,t,n)=>{function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}n.d(t,{mK:()=>r}),"undefined"!=typeof window&&window.document&&window.document.createElement}}]);

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.