PageSourceSearch

https://array.codes/build/assets/contact-D4GFrjAx.js

js array.codes collected 2026-10-04 00:21:54 UTC 102,927 bytes, 51 lines download raw bytes

vendor: 16,153 bytes, lines 1-11
1import{r as l,j as v,g as Po,a as Ao,R as Ae,b as No,m as To}from"./app-g6DC-Zcl.js";import{a as Dn,S as Oo}from"./Layout-WMBcKAuQ.js";import{c as Fn,u as Mo,S as Io}from"./SeoHead-JPF56HUo.js";/* empty css            *//**
2 * @license lucide-react v0.475.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const ko=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],jo=Fn("Check",ko);/**
7 * @license lucide-react v0.475.0 - ISC
8 *
9 * This source code is licensed under the ISC license.
10 * See the LICENSE file in the root directory of this source tree.
11 */const Lo=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],_o=Fn("ChevronUp",Lo);function ln(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Bn(...e){return t=>{let n=!1;const r=e.map(o=>{const s=ln(o,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let o=0;o<r.length;o++){const s=r[o];typeof s=="function"?s():ln(e[o],null)}}}}function q(...e){return l.useCallback(Bn(...e),e)}var Be=l.forwardRef((e,t)=>{const{children:n,...r}=e,o=l.Children.toArray(n),s=o.find(Fo);if(s){const i=s.props.children,a=o.map(c=>c===s?l.Children.count(i)>1?l.Children.only(null):l.isValidElement(i)?i.props.children:null:c);return v.jsx(jt,{...r,ref:t,children:l.isValidElement(i)?l.cloneElement(i,void 0,a):null})}return v.jsx(jt,{...r,ref:t,children:n})});Be.displayName="Slot";var jt=l.forwardRef((e,t)=>{const{children:n,...r}=e;if(l.isValidElement(n)){const o=Wo(n),s=Bo(r,n.props);return n.type!==l.Fragment&&(s.ref=t?Bn(t,o):o),l.cloneElement(n,s)}return l.Children.count(n)>1?l.Children.only(null):null});jt.displayName="SlotClone";var Do=({children:e})=>v.jsx(v.Fragment,{children:e});function Fo(e){return l.isValidElement(e)&&e.type===Do}function Bo(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...a)=>{s(...a),o(...a)}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function Wo(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function Wn(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Wn(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Vn(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Wn(e))&&(r&&(r+=" "),r+=t);return r}const un=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,dn=Vn,zn=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return dn(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:s}=t,i=Object.keys(o).map(u=>{const f=n==null?void 0:n[u],p=s==null?void 0:s[u];if(f===null)return null;const h=un(f)||un(p);return o[u][h]}),a=n&&Object.entries(n).reduce((u,f)=>{let[p,h]=f;return h===void 0||(u[p]=h),u},{}),c=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,f)=>{let{class:p,className:h,...g}=f;return Object.entries(g).every(b=>{let[d,m]=b;return Array.isArray(m)?m.includes({...s,...a}[d]):{...s,...a}[d]===m})?[...u,p,h]:u},[]);return dn(e,i,c,n==null?void 0:n.class,n==null?void 0:n.className)},Yt="-",Vo=e=>{const t=$o(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{const a=i.split(Yt);return a[0]===""&&a.length!==1&&a.shift(),$n(a,t)||zo(i)},getConflictingClassGroupIds:(i,a)=>{const c=n[i]||[];return a&&r[i]?[...c,...r[i]]:c}}},$n=(e,t)=>{var i;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?$n(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const s=e.join(Yt);return(i=t.validators.find(({validator:a})=>a(s)))==null?void 0:i.classGroupId},fn=/^\[(.+)\]$/,zo=e=>{if(fn.test(e)){const t=fn.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},$o=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const o in n)Lt(n[o],r,o,t);return r},Lt=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const s=o===""?t:pn(t,o);s.classGroupId=n;return}if(typeof o=="function"){if(Ho(o)){Lt(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([s,i])=>{Lt(i,pn(t,s),n,r)})})},pn=(e,t)=>{let n=e;return t.split(Yt).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},Ho=e=>e.isThemeGetter,Uo=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(s,i)=>{n.set(s,i),t++,t>e&&(t=0,r=n,n=new Map)};return{get(s){let i=n.get(s);if(i!==void 0)return i;if((i=r.get(s))!==void 0)return o(s,i),i},set(s,i){n.has(s)?n.set(s,i):o(s,i)}}},_t="!",Dt=":",Go=Dt.length,Ko=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=o=>{const s=[];let i=0,a=0,c=0,u;for(let b=0;b<o.length;b++){let d=o[b];if(i===0&&a===0){if(d===Dt){s.push(o.slice(c,b)),c=b+Go;continue}if(d==="/"){u=b;continue}}d==="["?i++:d==="]"?i--:d==="("?a++:d===")"&&a--}const f=s.length===0?o:o.substring(c),p=Yo(f),h=p!==f,g=u&&u>c?u-c:void 0;return{modifiers:s,hasImportantModifier:h,baseClassName:p,maybePostfixModifierPosition:g}};if(t){const o=t+Dt,s=r;r=i=>i.startsWith(o)?s(i.substring(o.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:i,maybePostfixModifierPosition:void 0}}if(n){const o=r;r=s=>n({className:s,parseClassName:o})}return r},Yo=e=>e.endsWith(_t)?e.substring(0,e.length-1):e.startsWith(_t)?e.substring(1):e,Xo=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(r=>[r,!0]));return r=>{if(r.length<=1)return r;const o=[];let s=[];return r.forEach(i=>{i[0]==="["||t[i]?(o.push(...s.sort(),i),s=[]):s.push(i)}),o.push(...s.sort()),o}},qo=e=>({cache:Uo(e.cacheSize),parseClassName:Ko(e),sortModifiers:Xo(e),...Vo(e)}),Zo=/\s+/,Qo=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:s}=t,i=[],a=e.trim().split(Zo);let c="";for(let u=a.length-1;u>=0;u-=1){const f=a[u],{isExternal:p,modifiers:h,hasImportantModifier:g,baseClassName:b,maybePostfixModifierPosition:d}=n(f);if(p){c=f+(c.length>0?" "+c:c);continue}let m=!!d,x=r(m?b.substring(0,d):b);if(!x){if(!m){c=f+(c.length>0?" "+c:c);continue}if(x=r(b),!x){c=f+(c.length>0?" "+c:c);continue}m=!1}const y=s(h).join(":"),w=g?y+_t:y,C=w+x;if(i.includes(C))continue;i.push(C);const E=o(x,m);for(let S=0;S<E.length;++S){const R=E[S];i.push(w+R)}c=f+(c.length>0?" "+c:c)}return c};function Jo(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Hn(t))&&(r&&(r+=" "),r+=n);return r}const Hn=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Hn(e[r]))&&(n&&(n+=" "),n+=t);return n};function es(e,...t){let n,r,o,s=i;function i(c){const u=t.reduce((f,p)=>p(f),e());return n=qo(u),r=n.cache.get,o=n.cache.set,s=a,a(c)}function a(c){const u=r(c);if(u)return u;const f=Qo(c,n);return o(c,f),f}return function(){return s(Jo.apply(null,arguments))}}const X=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Un=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Gn=/^\((?:(\w[\w-]*):)?(.+)\)$/i,ts=/^\d+\/\d+$/,ns=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,rs=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,os=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ss=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,is=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ie=e=>ts.test(e),j=e=>!!e&&!Number.isNaN(Number(e)),Ne=e=>!!e&&Number.isInteger(Number(e)),mn=e=>e.endsWith("%")&&j(e.slice(0,-1)),ye=e=>ns.test(e),as=()=>!0,cs=e=>rs.test(e)&&!os.test(e),Xt=()=>!1,ls=e=>ss.test(e),us=e=>is.test(e),ds=e=>!P(e)&&!A(e),fs=e=>Ve(e,Xn,Xt),P=e=>Un.test(e),Te=e=>Ve(e,qn,cs),Et=e=>Ve(e,Cs,j),ps=e=>Ve(e,Kn,Xt),ms=e=>Ve(e,Yn,us),hs=e=>Ve(e,Xt,ls),A=e=>Gn.test(e),nt=e=>ze(e,qn),gs=e=>ze(e,Es),vs=e=>ze(e,Kn),bs=e=>ze(e,Xn),xs=e=>ze(e,Yn),ys=e=>ze(e,Rs,!0),Ve=(e,t,n)=>{const r=Un.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},ze=(e,t,n=!1)=>{const r=Gn.exec(e);return r?r[1]?t(r[1]):n:!1},Kn=e=>e==="position",ws=new Set(["image","url"]),Yn=e=>ws.has(e),Ss=new Set(["length","size","percentage"]),Xn=e=>Ss.has(e),qn=e=>e==="length",Cs=e=>e==="number",Es=e=>e==="family-name",Rs=e=>e==="shadow",Ps=()=>{const e=X("color"),t=X("font"),n=X("text"),r=X("font-weight"),o=X("tracking"),s=X("leading"),i=X("breakpoint"),a=X("container"),c=X("spacing"),u=X("radius"),f=X("shadow"),p=X("inset-shadow"),h=X("drop-shadow"),g=X("blur"),b=X("perspective"),d=X("aspect"),m=X("ease"),x=X("animate"),y=()=>["auto","avoid","all","avoid-page","page","left","right","column"],w=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],C=()=>["auto","hidden","clip","visible","scroll"],E=()=>["auto","contain","none"],S=()=>[A,P,c],R=()=>[Ie,"full","auto",...S()],M=()=>[Ne,"none","subgrid",A,P],F=()=>["auto",{span:["full",Ne,A,P]},A,P],_=()=>[Ne,"auto",A,P],V=()=>["auto","min","max","fr",A,P],W=()=>["start","end","center","between","around","evenly","stretch","baseline"],L=()=>["start","end","center","stretch"],I=()=>["auto",...S()],B=()=>[Ie,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...S()],N=()=>[e,A,P],D=()=>[mn,Te],T=()=>["","none","full",u,A,P],k=()=>["",j,nt,Te],Y=()=>["solid","dashed","dotted","double"],re=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],be=()=>["","none",g,A,P],xe=()=>["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",A,P],Q=()=>["none",j,A,P],se=()=>["none",j,A,P],ie=()=>[j,A,P],O=()=>[Ie,"full",...S()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ye],breakpoint:[ye],color:[as],container:[ye],"drop-shadow":[ye],ease:["in","out","in-out"],font:[ds],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ye],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ye],shadow:[ye],spacing:["px",j],text:[ye],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Ie,P,A,d]}],container:["container"],columns:[{columns:[j,P,A,a]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...w(),P,A]}],overflow:[{overflow:C()}],"overflow-x":[{"overflow-x":C()}],"overflow-y":[{"overflow-y":C()}],overscroll:[{overscroll:E()}],"overscroll-x":[{"overscroll-x":E()}],"overscroll-y":[{"overscroll-y":E()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:R()}],"inset-x":[{"inset-x":R()}],"inset-y":[{"inset-y":R()}],start:[{start:R()}],end:[{end:R()}],top:[{top:R()}],right:[{right:R()}],bottom:[{bottom:R()}],left:[{left:R()}],visibility:["visible","invisible","collapse"],z:[{z:[Ne,"auto",A,P]}],basis:[{basis:[Ie,"full","auto",a,...S()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[j,Ie,"auto","initial","none",P]}],grow:[{grow:["",j,A,P]}],shrink:[{shrink:["",j,A,P]}],order:[{order:[Ne,"first","last","none",A,P]}],"grid-cols":[{"grid-cols":M()}],"col-start-end":[{col:F()}],"col-start":[{"col-start":_()}],"col-end":[{"col-end":_()}],"grid-rows":[{"grid-rows":M()}],"row-start-end":[{row:F()}],"row-start":[{"row-start":_()}],"row-end":[{"row-end":_()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":V()}],"auto-rows":[{"auto-rows":V()}],gap:[{gap:S()}],"gap-x":[{"gap-x":S()}],"gap-y":[{"gap-y":S()}],"justify-content":[{justify:[...W(),"normal"]}],"justify-items":[{"justify-items":[...L(),"normal"]}],"justify-self":[{"justify-self":["auto",...L()]}],"align-content":[{content:["normal",...W()]}],"align-items":[{items:[...L(),"baseline"]}],"align-self":[{self:["auto",...L(),"baseline"]}],"place-content":[{"place-content":W()}],"place-items":[{"place-items":[...L(),"baseline"]}],"place-self":[{"place-self":["auto",...L()]}],p:[{p:S()}],px:[{px:S()}],py:[{py:S()}],ps:[{ps:S()}],pe:[{pe:S()}],pt:[{pt:S()}],pr:[{pr:S()}],pb:[{pb:S()}],pl:[{pl:S()}],m:[{m:I()}],mx:[{mx:I()}],my:[{my:I()}],ms:[{ms:I()}],me:[{me:I()}],mt:[{mt:I()}],mr:[{mr:I()}],mb:[{mb:I()}],ml:[{ml:I()}],"space-x":[{"space-x":S()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":S()}],"space-y-reverse":["space-y-reverse"],size:[{size:B()}],w:[{w:[a,"screen",...B()]}],"min-w":[{"min-w":[a,"screen","none",...B()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[i]},...B()]}],h:[{h:["screen",...B()]}],"min-h":[{"min-h":["screen","none",...B()]}],"max-h":[{"max-h":["screen",...B()]}],"font-size":[{text:["base",n,nt,Te]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,A,Et]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",mn,P]}],"font-family":[{font:[gs,P,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,A,P]}],"line-clamp":[{"line-clamp":[j,"none",A,Et]}],leading:[{leading:[s,...S()]}],"list-image":[{"list-image":["none",A,P]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",A,P]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:N()}],"text-color":[{text:N()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Y(),"wavy"]}],"text-decoration-thickness":[{decoration:[j,"from-font","auto",A,Te]}],"text-decoration-color":[{decoration:N()}],"underline-offset":[{"underline-offset":[j,"auto",A,P]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:S()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",A,P]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",A,P]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...w(),vs,ps]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:["auto","cover","contain",bs,fs]}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Ne,A,P],radial:["",A,P],conic:[Ne,A,P]}
vendor: 4,499 bytes, line 11
11,xs,ms]}],"bg-color":[{bg:N()}],"gradient-from-pos":[{from:D()}],"gradient-via-pos":[{via:D()}],"gradient-to-pos":[{to:D()}],"gradient-from":[{from:N()}],"gradient-via":[{via:N()}],"gradient-to":[{to:N()}],rounded:[{rounded:T()}],"rounded-s":[{"rounded-s":T()}],"rounded-e":[{"rounded-e":T()}],"rounded-t":[{"rounded-t":T()}],"rounded-r":[{"rounded-r":T()}],"rounded-b":[{"rounded-b":T()}],"rounded-l":[{"rounded-l":T()}],"rounded-ss":[{"rounded-ss":T()}],"rounded-se":[{"rounded-se":T()}],"rounded-ee":[{"rounded-ee":T()}],"rounded-es":[{"rounded-es":T()}],"rounded-tl":[{"rounded-tl":T()}],"rounded-tr":[{"rounded-tr":T()}],"rounded-br":[{"rounded-br":T()}],"rounded-bl":[{"rounded-bl":T()}],"border-w":[{border:k()}],"border-w-x":[{"border-x":k()}],"border-w-y":[{"border-y":k()}],"border-w-s":[{"border-s":k()}],"border-w-e":[{"border-e":k()}],"border-w-t":[{"border-t":k()}],"border-w-r":[{"border-r":k()}],"border-w-b":[{"border-b":k()}],"border-w-l":[{"border-l":k()}],"divide-x":[{"divide-x":k()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":k()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Y(),"hidden","none"]}],"divide-style":[{divide:[...Y(),"hidden","none"]}],"border-color":[{border:N()}],"border-color-x":[{"border-x":N()}],"border-color-y":[{"border-y":N()}],"border-color-s":[{"border-s":N()}],"border-color-e":[{"border-e":N()}],"border-color-t":[{"border-t":N()}],"border-color-r":[{"border-r":N()}],"border-color-b":[{"border-b":N()}],"border-color-l":[{"border-l":N()}],"divide-color":[{divide:N()}],"outline-style":[{outline:[...Y(),"none","hidden"]}],"outline-offset":[{"outline-offset":[j,A,P]}],"outline-w":[{outline:["",j,nt,Te]}],"outline-color":[{outline:[e]}],shadow:[{shadow:["","none",f,ys,hs]}],"shadow-color":[{shadow:N()}],"inset-shadow":[{"inset-shadow":["none",A,P,p]}],"inset-shadow-color":[{"inset-shadow":N()}],"ring-w":[{ring:k()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:N()}],"ring-offset-w":[{"ring-offset":[j,Te]}],"ring-offset-color":[{"ring-offset":N()}],"inset-ring-w":[{"inset-ring":k()}],"inset-ring-color":[{"inset-ring":N()}],opacity:[{opacity:[j,A,P]}],"mix-blend":[{"mix-blend":[...re(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":re()}],filter:[{filter:["","none",A,P]}],blur:[{blur:be()}],brightness:[{brightness:[j,A,P]}],contrast:[{contrast:[j,A,P]}],"drop-shadow":[{"drop-shadow":["","none",h,A,P]}],grayscale:[{grayscale:["",j,A,P]}],"hue-rotate":[{"hue-rotate":[j,A,P]}],invert:[{invert:["",j,A,P]}],saturate:[{saturate:[j,A,P]}],sepia:[{sepia:["",j,A,P]}],"backdrop-filter":[{"backdrop-filter":["","none",A,P]}],"backdrop-blur":[{"backdrop-blur":be()}],"backdrop-brightness":[{"backdrop-brightness":[j,A,P]}],"backdrop-contrast":[{"backdrop-contrast":[j,A,P]}],"backdrop-grayscale":[{"backdrop-grayscale":["",j,A,P]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[j,A,P]}],"backdrop-invert":[{"backdrop-invert":["",j,A,P]}],"backdrop-opacity":[{"backdrop-opacity":[j,A,P]}],"backdrop-saturate":[{"backdrop-saturate":[j,A,P]}],"backdrop-sepia":[{"backdrop-sepia":["",j,A,P]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":S()}],"border-spacing-x":[{"border-spacing-x":S()}],"border-spacing-y":[{"border-spacing-y":S()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",A,P]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[j,"initial",A,P]}],ease:[{ease:["linear","initial",m,A,P]}],delay:[{delay:[j,A,P]}],animate:[{animate:["none",x,A,P]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[b,A,P]}],"perspective-origin":[{"perspective-origin":xe()}],rotate:[{rotate:Q()}],"rotate-x":[{"rotate-x":Q()}],"rotate-y":[{"rotate-y":Q()}],"rotate-z":[{"rotate-z":Q()}],scale:[{scale:se()}],"scale-x":[{"scale-x":se()}],"scale-y":[{"scale-y":se()}],"scale-z":[{"scale-z":se()}],"scale-3d":["scale-3d"],skew:[{skew:ie()}],"skew-x":[{"skew-x":ie()}],"skew-y":[{"skew-y":ie()}],transform:[{transform:[A,P,"","none","gpu","cpu"]}],"transform-origin":[{origin:xe()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:O()}],"translate-x":[{"translate-x":O()}],"translate-y":[{"translate-y":O()}],"translate-z":[{"translate-z":O()}],"translate-none":["translate-none"],accent:[{accent:N()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:N()}
vendor: 4,572 bytes, line 11
11],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",A,P]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":S()}],"scroll-mx":[{"scroll-mx":S()}],"scroll-my":[{"scroll-my":S()}],"scroll-ms":[{"scroll-ms":S()}],"scroll-me":[{"scroll-me":S()}],"scroll-mt":[{"scroll-mt":S()}],"scroll-mr":[{"scroll-mr":S()}],"scroll-mb":[{"scroll-mb":S()}],"scroll-ml":[{"scroll-ml":S()}],"scroll-p":[{"scroll-p":S()}],"scroll-px":[{"scroll-px":S()}],"scroll-py":[{"scroll-py":S()}],"scroll-ps":[{"scroll-ps":S()}],"scroll-pe":[{"scroll-pe":S()}],"scroll-pt":[{"scroll-pt":S()}],"scroll-pr":[{"scroll-pr":S()}],"scroll-pb":[{"scroll-pb":S()}],"scroll-pl":[{"scroll-pl":S()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",A,P]}],fill:[{fill:["none",...N()]}],"stroke-w":[{stroke:[j,nt,Te,Et]}],stroke:[{stroke:["none",...N()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["before","after","placeholder","file","marker","selection","first-line","first-letter","backdrop","*","**"]}},As=es(Ps);function oe(...e){return As(Vn(e))}const Ns=zn("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-[5px] text-sm font-medium ring-offset-background transition-colors focus-visible:outline-hidden focu
11s-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-[5px] px-3",lg:"h-11 rounded-[5px] px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),Zn=l.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},s)=>{const i=r?Be:"button";return v.jsx(i,{className:oe(Ns({variant:t,size:n,className:e})),ref:s,...o})});Zn.displayName="Button";const ct=l.forwardRef(({className:e,type:t,...n},r)=>v.jsx("input",{type:t,className:oe("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:r,...n}));ct.displayName="Input";var Qe=Ao();const Ts=Po(Qe);var Os=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],G=Os.reduce((e,t)=>{const n=l.forwardRef((r,o)=>{const{asChild:s,...i}=r,a=s?Be:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),v.jsx(a,{...i,ref:o})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function Ms(e,t){e&&Qe.flushSync(()=>e.dispatchEvent(t))}var Is="Label",Qn=l.forwardRef((e,t)=>v.jsx(G.label,{...e,ref:t,onMouseDown:n=>{var o;n.target.closest("button, input, select, textarea")||((o=e.onMouseDown)==null||o.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));Qn.displayName=Is;var Jn=Qn;const ks=zn("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),_e=l.forwardRef(({className:e,...t},n)=>v.jsx(Jn,{ref:n,className:oe(ks(),e),...t}));_e.displayName=Jn.displayName;const er=l.forwardRef(({className:e,...t},n)=>v.jsx("textarea",{className:oe("border-input bg-background ring-offset-background placeholder:text-muted-foreground focus-visible:ring-ring flex min-h-32 w-full rounded-md border px-3 py-2 text-base focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:n,...t}));er.displayName="Textarea";function hn(e,[t,n]){return Math.min(n,Math.max(t,e))}function K(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function qt(e,t=[]){let n=[];function r(s,i){const a=l.createContext(i),c=n.length;n=[...n,i];const u=p=>{var x;const{scope:h,children:g,...b}=p,d=((x=h==null?void 0:h[e])==null?void 0:x[c])||a,m=l.useMemo(()=>b,Object.values(b));return v.jsx(d.Provider,{value:m,children:g})};u.displayName=s+"Provider";function f(p,h){var d;const g=((d=h==null?void 0:h[e])==null?void 0:d[c])||a,b=l.useContext(g);if(b)return b;if(i!==void 0)return i;throw new Error(`\`${p}\` must be used within \`${s}\``)}return[u,f]}const o=()=>{const s=n.map(i=>l.createContext(i));return function(a){const c=(a==null?void 0:a[e])||s;return l.useMemo(()=>({[`__scope${e}`]:{...a,[e]:c}}),[a,c])}};return o.scopeName=e,[r,js(o,...t)]}function js(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(s){const i=r.reduce((a,{useScope:c,scopeName:u})=>{const p=c(s)[`__scope${u}`];return{...a,...p}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function Ls(e){const t=e+"CollectionProvider",[n,r]=qt(t),[o,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=g=>{const{scope:b,children:d}=g,m=Ae.useRef(null),x=Ae.useRef(new Map).current;return v.jsx(o,{scope:b,itemMap:x,collectionRef:m,children:d})};i.displayName=t;const a=e+"CollectionSlot",c=Ae.forwardRef((g,b)=>{const{scope:d,children:m}=g,x=s(a,d),y=q(b,x.collectionRef);return v.jsx(Be,{ref:y,children:m})});c.displayName=a;const u=e+"CollectionItemSlot",f="data-radix-collection-item",p=Ae.forwardRef((g,b)=>{const{scope:d,children:m,...x}=g,y=Ae.useRef(null),w=q(b,y),C=s(u,d);return Ae.useEffect(()=>(C.itemMap.set(y,{ref:y,...x}
vendor: 20,149 bytes, line 11
11),()=>void C.itemMap.delete(y))),v.jsx(Be,{[f]:"",ref:w,children:m})});p.displayName=u;function h(g){const b=s(e+"CollectionConsumer",g);return Ae.useCallback(()=>{const m=b.collectionRef.current;if(!m)return[];const x=Array.from(m.querySelectorAll(`[${f}]`));return Array.from(b.itemMap.values()).sort((C,E)=>x.indexOf(C.ref.current)-x.indexOf(E.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:i,Slot:c,ItemSlot:p},h,r]}var _s=l.createContext(void 0);function Ds(e){const t=l.useContext(_s);return e||t||"ltr"}function he(e){const t=l.useRef(e);return l.useEffect(()=>{t.current=e}),l.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function Fs(e,t=globalThis==null?void 0:globalThis.document){const n=he(e);l.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var Bs="DismissableLayer",Ft="dismissableLayer.update",Ws="dismissableLayer.pointerDownOutside",Vs="dismissableLayer.focusOutside",gn,tr=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),nr=l.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:i,onDismiss:a,...c}=e,u=l.useContext(tr),[f,p]=l.useState(null),h=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,g]=l.useState({}),b=q(t,R=>p(R)),d=Array.from(u.layers),[m]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),x=d.indexOf(m),y=f?d.indexOf(f):-1,w=u.layersWithOutsidePointerEventsDisabled.size>0,C=y>=x,E=Hs(R=>{const M=R.target,F=[...u.branches].some(_=>_.contains(M));!C||F||(o==null||o(R),i==null||i(R),R.defaultPrevented||a==null||a())},h),S=Us(R=>{const M=R.target;[...u.branches].some(_=>_.contains(M))||(s==null||s(R),i==null||i(R),R.defaultPrevented||a==null||a())},h);return Fs(R=>{y===u.layers.size-1&&(r==null||r(R),!R.defaultPrevented&&a&&(R.preventDefault(),a()))},h),l.useEffect(()=>{if(f)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(gn=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),vn(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=gn)}},[f,h,n,u]),l.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),vn())},[f,u]),l.useEffect(()=>{const R=()=>g({});return document.addEventListener(Ft,R),()=>document.removeEventListener(Ft,R)},[]),v.jsx(G.div,{...c,ref:b,style:{pointerEvents:w?C?"auto":"none":void 0,...e.style},onFocusCapture:K(e.onFocusCapture,S.onFocusCapture),onBlurCapture:K(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:K(e.onPointerDownCapture,E.onPointerDownCapture)})});nr.displayName=Bs;var zs="DismissableLayerBranch",$s=l.forwardRef((e,t)=>{const n=l.useContext(tr),r=l.useRef(null),o=q(t,r);return l.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),v.jsx(G.div,{...e,ref:o})});$s.displayName=zs;function Hs(e,t=globalThis==null?void 0:globalThis.document){const n=he(e),r=l.useRef(!1),o=l.useRef(()=>{});return l.useEffect(()=>{const s=a=>{if(a.target&&!r.current){let c=function(){rr(Ws,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=c,t.addEventListener("click",o.current,{once:!0})):c()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",s),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Us(e,t=globalThis==null?void 0:globalThis.document){const n=he(e),r=l.useRef(!1);return l.useEffect(()=>{const o=s=>{s.target&&!r.current&&rr(Vs,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function vn(){const e=new CustomEvent(Ft);document.dispatchEvent(e)}function rr(e,t,n,{discrete:r}){const o=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Ms(o,s):o.dispatchEvent(s)}var Rt=0;function Gs(){l.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??bn()),document.body.insertAdjacentElement("beforeend",e[1]??bn()),Rt++,()=>{Rt===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Rt--}},[])}function bn(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Pt="focusScope.autoFocusOnMount",At="focusScope.autoFocusOnUnmount",xn={bubbles:!1,cancelable:!0},Ks="FocusScope",or=l.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:s,...i}=e,[a,c]=l.useState(null),u=he(o),f=he(s),p=l.useRef(null),h=q(t,d=>c(d)),g=l.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;l.useEffect(()=>{if(r){let d=function(w){if(g.paused||!a)return;const C=w.target;a.contains(C)?p.current=C:we(p.current,{select:!0})},m=function(w){if(g.paused||!a)return;const C=w.relatedTarget;C!==null&&(a.contains(C)||we(p.current,{select:!0}))},x=function(w){if(document.activeElement===document.body)for(const E of w)E.removedNodes.length>0&&we(a)};document.addEventListener("focusin",d),document.addEventListener("focusout",m);const y=new MutationObserver(x);return a&&y.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",d),document.removeEventListener("focusout",m),y.disconnect()}}},[r,a,g.paused]),l.useEffect(()=>{if(a){wn.add(g);const d=document.activeElement;if(!a.contains(d)){const x=new CustomEvent(Pt,xn);a.addEventListener(Pt,u),a.dispatchEvent(x),x.defaultPrevented||(Ys(Js(sr(a)),{select:!0}),document.activeElement===d&&we(a))}return()=>{a.removeEventListener(Pt,u),setTimeout(()=>{const x=new CustomEvent(At,xn);a.addEventListener(At,f),a.dispatchEvent(x),x.defaultPrevented||we(d??document.body,{select:!0}),a.removeEventListener(At,f),wn.remove(g)},0)}}},[a,u,f,g]);const b=l.useCallback(d=>{if(!n&&!r||g.paused)return;const m=d.key==="Tab"&&!d.altKey&&!d.ctrlKey&&!d.metaKey,x=document.activeElement;if(m&&x){const y=d.currentTarget,[w,C]=Xs(y);w&&C?!d.shiftKey&&x===C?(d.preventDefault(),n&&we(w,{select:!0})):d.shiftKey&&x===w&&(d.preventDefault(),n&&we(C,{select:!0})):x===y&&d.preventDefault()}},[n,r,g.paused]);return v.jsx(G.div,{tabIndex:-1,...i,ref:h,onKeyDown:b})});or.displayName=Ks;function Ys(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(we(r,{select:t}),document.activeElement!==n)return}function Xs(e){const t=sr(e),n=yn(t,e),r=yn(t.reverse(),e);return[n,r]}function sr(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function yn(e,t){for(const n of e)if(!qs(n,{upTo:t}))return n}function qs(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Zs(e){return e instanceof HTMLInputElement&&"select"in e}function we(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Zs(e)&&t&&e.select()}}var wn=Qs();function Qs(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Sn(e,t),e.unshift(t)},remove(t){var n;e=Sn(e,t),(n=e[0])==null||n.resume()}}}function Sn(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Js(e){return e.filter(t=>t.tagName!=="A")}var ne=globalThis!=null&&globalThis.document?l.useLayoutEffect:()=>{},ei=No.useId||(()=>{}),ti=0;function Zt(e){const[t,n]=l.useState(ei());return ne(()=>{n(r=>r??String(ti++))},[e]),e||(t?`radix-${t}`:"")}const ni=["top","right","bottom","left"],Se=Math.min,ee=Math.max,ft=Math.round,rt=Math.floor,fe=e=>({x:e,y:e}),ri={left:"right",right:"left",bottom:"top",top:"bottom"},oi={start:"end",end:"start"};function Bt(e,t,n){return ee(e,Se(t,n))}function ge(e,t){return typeof e=="function"?e(t):e}function ve(e){return e.split("-")[0]}function $e(e){return e.split("-")[1]}function Qt(e){return e==="x"?"y":"x"}function Jt(e){return e==="y"?"height":"width"}function Ce(e){return["top","bottom"].includes(ve(e))?"y":"x"}function en(e){return Qt(Ce(e))}function si(e,t,n){n===void 0&&(n=!1);const r=$e(e),o=en(e),s=Jt(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=pt(i)),[i,pt(i)]}function ii(e){const t=pt(e);return[Wt(e),t,Wt(t)]}function Wt(e){return e.replace(/start|end/g,t=>oi[t])}function ai(e,t,n){const r=["left","right"],o=["right","left"],s=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?s:i;default:return[]}}function ci(e,t,n,r){const o=$e(e);let s=ai(ve(e),n==="start",r);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map(Wt)))),s}function pt(e){return e.replace(/left|right|bottom|top/g,t=>ri[t])}function li(e){return{top:0,right:0,bottom:0,left:0,...e}}function ir(e){return typeof e!="number"?li(e):{top:e,right:e,bottom:e,left:e}}function mt(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Cn(e,t,n){let{reference:r,floating:o}=e;const s=Ce(t),i=en(t),a=Jt(i),c=ve(t),u=s==="y",f=r.x+r.width/2-o.width/2,p=r.y+r.height/2-o.height/2,h=r[a]/2-o[a]/2;let g;switch(c){case"top":g={x:f,y:r.y-o.height};break;case"bottom":g={x:f,y:r.y+r.height};break;case"right":g={x:r.x+r.width,y:p};break;case"left":g={x:r.x-o.width,y:p};break;default:g={x:r.x,y:r.y}}switch($e(t)){case"start":g[i]-=h*(n&&u?-1:1);break;case"end":g[i]+=h*(n&&u?-1:1);break}return g}const ui=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:i}=n,a=s.filter(Boolean),c=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:p}=Cn(u,r,c),h=r,g={},b=0;for(let d=0;d<a.length;d++){const{name:m,fn:x}=a[d],{x:y,y:w,data:C,reset:E}=await x({x:f,y:p,initialPlacement:r,placement:h,strategy:o,middlewareData:g,rects:u,platform:i,elements:{reference:e,floating:t}});f=y??f,p=w??p,g={...g,[m]:{...g[m],...C}},E&&b<=50&&(b++,typeof E=="object"&&(E.placement&&(h=E.placement),E.rects&&(u=E.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):E.rects),{x:f,y:p}=Cn(u,h,c)),d=-1)}return{x:f,y:p,placement:h,strategy:o,middlewareData:g}};async function qe(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:s,rects:i,elements:a,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:h=!1,padding:g=0}=ge(t,e),b=ir(g),m=a[h?p==="floating"?"reference":"floating":p],x=mt(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(m)))==null||n?m:m.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:u,rootBoundary:f,strategy:c})),y=p==="floating"?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,w=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),C=await(s.isElement==null?void 0:s.isElement(w))?await(s.getScale==null?void 0:s.getScale(w))||{x:1,y:1}:{x:1,y:1},E=mt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:w,strategy:c}):y);return{top:(x.top-E.top+b.top)/C.y,bottom:(E.bottom-x.bottom+b.bottom)/C.y,left:(x.left-E.left+b.left)/C.x,right:(E.right-x.right+b.right)/C.x}}const di=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:s,platform:i,elements:a,middlewareData:c}=t,{element:u,padding:f=0}=ge(e,t)||{};if(u==null)return{};const p=ir(f),h={x:n,y:r},g=en(o),b=Jt(g),d=await i.getDimensions(u),m=g==="y",x=m?"top":"left",y=m?"bottom":"right",w=m?"clientHeight":"clientWidth",C=s.reference[b]+s.reference[g]-h[g]-s.floating[b],E=h[g]-s.reference[g],S=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let R=S?S[w]:0;(!R||!await(i.isElement==null?void 0:i.isElement(S)))&&(R=a.floating[w]||s.floating[b]);const M=C/2-E/2,F=R/2-d[b]/2-1,_=Se(p[x],F),V=Se(p[y],F),W=_,L=R-d[b]-V,I=R/2-d[b]/2+M,B=Bt(W,I,L),N=!c.arrow&&$e(o)!=null&&I!==B&&s.reference[b]/2-(I<W?_:V)-d[b]/2<0,D=N?I<W?I-W:I-L:0;return{[g]:h[g]+D,data:{[g]:B,centerOffset:I-B-D,...N&&{alignmentOffset:D}},reset:N}}}),fi=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:s,rects:i,initialPlacement:a,platform:c,elements:u}=t,{mainAxis:f=!0,crossAxis:p=!0,fallbackPlacements:h,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:d=!0,...m}=ge(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const x=ve(o),y=Ce(a),w=ve(a)===a,C=await(c.isRTL==null?void 0:c.isRTL(u.floating)),E=h||(w||!d?[pt(a)]:ii(a)),S=b!=="none";!h&&S&&E.push(...ci(a,d,b,C));const R=[a,...E],M=await qe(t,m),F=[];let _=((r=s.flip)==null?void 0:r.overflows)||[];if(f&&F.push(M[x]),p){const I=si(o,i,C);F.push(M[I[0]],M[I[1]])}if(_=[..._,{placement:o,overflows:F}],!F.every(I=>I<=0)){var V,W;const I=(((V=s.flip)==null?void 0:V.index)||0)+1,B=R[I];if(B)return{data:{index:I,overflows:_},reset:{placement:B}};let N=(W=_.filter(D=>D.overflows[0]<=0).sort((D,T)=>D.overflows[1]-T.overflows[1])[0])==null?void 0:W.placement;if(!N)switch(g){case"bestFit":{var L;const D=(L=_.filter(T=>{if(S){const k=Ce(T.placement);return k===y||k==="y"}return!0}).map(T=>[T.placement,T.overflows.filter(k=>k>0).reduce((k,Y)=>k+Y,0)]).sort((T,k)=>T[1]-k[1])[0])==null?void 0:L[0];D&&(N=D);break}case"initialPlacement":N=a;break}if(o!==N)return{reset:{placement:N}}}return{}}}};function En(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Rn(e){return ni.some(t=>e[t]>=0)}const pi=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=ge(e,t);switch(r){case"referenceHidden":{const s=await qe(t,{...o,elementContext:"reference"}),i=En(s,n.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:Rn(i)}}}case"escaped":{const s=await qe(t,{...o,altBoundary:!0}),i=En(s,n.floating);return{data:{escapedOffsets:i,escaped:Rn(i)}}}default:return{}}}}};async function mi(e,t){const{placement:n,platform:r,elements:o}=e,s=await(r.isRTL==null?void 0:r.isRTL(o.floating)),i=ve(n),a=$e(n),c=Ce(n)==="y",u=["left","top"].includes(i)?-1:1,f=s&&c?-1:1,p=ge(t,e);let{mainAxis:h,crossAxis:g,alignmentAxis:b}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return a&&typeof b=="number"&&(g=a==="end"?b*-1:b),c?{x:g*f,y:h*u}:{x:h*u,y:g*f}}const hi=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:s,placement:i,middlewareData:a}=t,c=await mi(t,e);return i===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+c.x,y:s+c.y,data:{...c,placement:i}}}}},gi=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:s=!0,crossAxis:i=!1,limiter:a={fn:m=>{let{x,y}=m;return{x,y}}},...c}=ge(e,t),u={x:n,y:r},f=await qe(t,c),p=Ce(ve(o)),h=Qt(p);let g=u[h],b=u[p];if(s){const m=h==="y"?"top":"left",x=h==="y"?"bottom":"right",y=g+f[m],w=g-f[x];g=Bt(y,g,w)}if(i){const m=p==="y"?"top":"left",x=p==="y"?"bottom":"right",y=b+f[m],w=b-f[x];b=Bt(y,b,w)}const d=a.fn({...t,[h]:g,[p]:b});return{...d,data:{x:d.x-n,y:d.y-r,enabled:{[h]:s,[p]:i}}}}}},vi=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:s,middlewareData:i}=t,{offset:a=0,mainAxis:c=!0,crossAxis:u=!0}=ge(e,t),f={x:n,y:r},p=Ce(o),h=Qt(p);let g=f[h],b=f[p];const d=ge(a,t),m=typeof d=="number"?{mainAxis:d,crossAxis:0}:{mainAxis:0,crossAxis:0,...d};if(c){const w=h==="y"?"height":"width",C=s.reference[h]-s.floating[w]+m.mainAxis,E=s.reference[h]+s.reference[w]-m.mainAxis;g<C?g=C:g>E&&(g=E)}if(u){var x,y;const w=h==="y"?"width":"height",C=["top","left"].includes(ve(o)),E=s.reference[p]-s.floating[w]+(C&&((x=i.offset)==null?void 0:x[p])||0)+(C?0:m.crossAxis),S=s.reference[p]+s.reference[w]+(C?0:((y=i.offset)==null?void 0:y[p])||0)-(C?m.crossAxis:0);b<E?b=E:b>S&&(b=S)}return{[h]:g,[p]:b}}}},bi=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:s,platform:i,elements:a}=t,{apply:c=()=>{},...u}=ge(e,t),f=await qe(t,u),p=ve(o),h=$e(o),g=Ce(o)==="y",{width:b,height:d}=s.floating;let m,x;p==="top"||p==="bottom"?(m=p,x=h===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(x=p,m=h==="end"?"top":"bottom");const y=d-f.top-f.bottom,w=b-f.left-f.right,C=Se(d-f[m],y),E=Se(b-f[x],w),S=!t.middlewareData.shift;let R=C,M=E;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(M=w),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(R=y),S&&!h){const _=ee(f.left,0),V=ee(f.right,0),W=ee(f.top,0),L=ee(f.bottom,0);g?M=b-2*(_!==0||V!==0?_+V:ee(f.left,f.right)):R=d-2*(W!==0||L!==0?W+L:ee(f.top,f.bottom))}await c({...t,availableWidth:M,availableHeight:R});const F=await i.getDimensions(a.floating);return b!==F.width||d!==F.height?{reset:{rects:!0}}:{}}}};function vt(){return typeof window<"u"}function He(e){return ar(e)?(e.nodeName||"").toLowerCase():"#document"}function te(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function me(e){var t;return(t=(ar(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ar(e){return vt()?e instanceof Node||e instanceof te(e).Node:!1}function ce(e){return vt()?e instanceof Element||e instanceof te(e).Element:!1}function pe(e){return vt()?e instanceof HTMLElement||e instanceof te(e).HTMLElement:!1}function Pn(e){return!vt()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof te(e).ShadowRoot}function Je(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=le(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function xi(e){return["table","td","th"].includes(He(e))}function bt(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function tn(e){const t=nn(),n=ce(e)?le(e):e;return["transform","translate","scale","rotate","perspective"].some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function yi(e){let t=Ee(e);for(;pe(t)&&!We(t);){if(tn(t))return t;if(bt(t))return null;t=Ee(t)}return null}function nn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function We(e){return["html","body","#document"].includes(He(e))}function le(e){return te(e).getComputedStyle(e)}function xt(e){return ce(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ee(e){if(He(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Pn(e)&&e.host||me(e);return Pn(t)?t.host:t}function cr(e){const t=Ee(e);return We(t)?e.ownerDocument?e.ownerDocument.body:e.body:pe(t)&&Je(t)?t:cr(t)}function Ze(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=cr(e),s=o===((r=e.ownerDocument)==null?void 0:r.body),i=te(o);if(s){const a=Vt(i);
vendor: 7,338 bytes, line 11
11return t.concat(i,i.visualViewport||[],Je(o)?o:[],a&&n?Ze(a):[])}return t.concat(o,Ze(o,[],n))}function Vt(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function lr(e){const t=le(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=pe(e),s=o?e.offsetWidth:n,i=o?e.offsetHeight:r,a=ft(n)!==s||ft(r)!==i;return a&&(n=s,r=i),{width:n,height:r,$:a}}function rn(e){return ce(e)?e:e.contextElement}function De(e){const t=rn(e);if(!pe(t))return fe(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:s}=lr(t);let i=(s?ft(n.width):n.width)/r,a=(s?ft(n.height):n.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const wi=fe(0);function ur(e){const t=te(e);return!nn()||!t.visualViewport?wi:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Si(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==te(e)?!1:t}function Oe(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),s=rn(e);let i=fe(1);t&&(r?ce(r)&&(i=De(r)):i=De(e));const a=Si(s,n,r)?ur(s):fe(0);let c=(o.left+a.x)/i.x,u=(o.top+a.y)/i.y,f=o.width/i.x,p=o.height/i.y;if(s){const h=te(s),g=r&&ce(r)?te(r):r;let b=h,d=Vt(b);for(;d&&r&&g!==b;){const m=De(d),x=d.getBoundingClientRect(),y=le(d),w=x.left+(d.clientLeft+parseFloat(y.paddingLeft))*m.x,C=x.top+(d.clientTop+parseFloat(y.paddingTop))*m.y;c*=m.x,u*=m.y,f*=m.x,p*=m.y,c+=w,u+=C,b=te(d),d=Vt(b)}}return mt({width:f,height:p,x:c,y:u})}function on(e,t){const n=xt(e).scrollLeft;return t?t.left+n:Oe(me(e)).left+n}function dr(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:on(e,r)),s=r.top+t.scrollTop;return{x:o,y:s}}function Ci(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const s=o==="fixed",i=me(r),a=t?bt(t.floating):!1;if(r===i||a&&s)return n;let c={scrollLeft:0,scrollTop:0},u=fe(1);const f=fe(0),p=pe(r);if((p||!p&&!s)&&((He(r)!=="body"||Je(i))&&(c=xt(r)),pe(r))){const g=Oe(r);u=De(r),f.x=g.x+r.clientLeft,f.y=g.y+r.clientTop}const h=i&&!p&&!s?dr(i,c,!0):fe(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+f.x+h.x,y:n.y*u.y-c.scrollTop*u.y+f.y+h.y}}function Ei(e){return Array.from(e.getClientRects())}function Ri(e){const t=me(e),n=xt(e),r=e.ownerDocument.body,o=ee(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=ee(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+on(e);const a=-n.scrollTop;return le(r).direction==="rtl"&&(i+=ee(t.clientWidth,r.clientWidth)-o),{width:o,height:s,x:i,y:a}}function Pi(e,t){const n=te(e),r=me(e),o=n.visualViewport;let s=r.clientWidth,i=r.clientHeight,a=0,c=0;if(o){s=o.width,i=o.height;const u=nn();(!u||u&&t==="fixed")&&(a=o.offsetLeft,c=o.offsetTop)}return{width:s,height:i,x:a,y:c}}function Ai(e,t){const n=Oe(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,s=pe(e)?De(e):fe(1),i=e.clientWidth*s.x,a=e.clientHeight*s.y,c=o*s.x,u=r*s.y;return{width:i,height:a,x:c,y:u}}function An(e,t,n){let r;if(t==="viewport")r=Pi(e,n);else if(t==="document")r=Ri(me(e));else if(ce(t))r=Ai(t,n);else{const o=ur(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return mt(r)}function fr(e,t){const n=Ee(e);return n===t||!ce(n)||We(n)?!1:le(n).position==="fixed"||fr(n,t)}function Ni(e,t){const n=t.get(e);if(n)return n;let r=Ze(e,[],!1).filter(a=>ce(a)&&He(a)!=="body"),o=null;const s=le(e).position==="fixed";let i=s?Ee(e):e;for(;ce(i)&&!We(i);){const a=le(i),c=tn(i);!c&&a.position==="fixed"&&(o=null),(s?!c&&!o:!c&&a.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Je(i)&&!c&&fr(e,i))?r=r.filter(f=>f!==i):o=a,i=Ee(i)}return t.set(e,r),r}function Ti(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?bt(t)?[]:Ni(t,this._c):[].concat(n),r],a=i[0],c=i.reduce((u,f)=>{const p=An(t,f,o);return u.top=ee(p.top,u.top),u.right=Se(p.right,u.right),u.bottom=Se(p.bottom,u.bottom),u.left=ee(p.left,u.left),u},An(t,a,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Oi(e){const{width:t,height:n}=lr(e);return{width:t,height:n}}function Mi(e,t,n){const r=pe(t),o=me(t),s=n==="fixed",i=Oe(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const c=fe(0);if(r||!r&&!s)if((He(t)!=="body"||Je(o))&&(a=xt(t)),r){const h=Oe(t,!0,s,t);c.x=h.x+t.clientLeft,c.y=h.y+t.clientTop}else o&&(c.x=on(o));const u=o&&!r&&!s?dr(o,a):fe(0),f=i.left+a.scrollLeft-c.x-u.x,p=i.top+a.scrollTop-c.y-u.y;return{x:f,y:p,width:i.width,height:i.height}}function Nt(e){return le(e).position==="static"}function Nn(e,t){if(!pe(e)||le(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return me(e)===n&&(n=n.ownerDocument.body),n}function pr(e,t){const n=te(e);if(bt(e))return n;if(!pe(e)){let o=Ee(e);for(;o&&!We(o);){if(ce(o)&&!Nt(o))return o;o=Ee(o)}return n}let r=Nn(e,t);for(;r&&xi(r)&&Nt(r);)r=Nn(r,t);return r&&We(r)&&Nt(r)&&!tn(r)?n:r||yi(e)||n}const Ii=async function(e){const t=this.getOffsetParent||pr,n=this.getDimensions,r=await n(e.floating);return{reference:Mi(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function ki(e){return le(e).direction==="rtl"}const ji={convertOffsetParentRelativeRectToViewportRelativeRect:Ci,getDocumentElement:me,getClippingRect:Ti,getOffsetParent:pr,getElementRects:Ii,getClientRects:Ei,getDimensions:Oi,getScale:De,isElement:ce,isRTL:ki};function mr(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Li(e,t){let n=null,r;const o=me(e);function s(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function i(a,c){a===void 0&&(a=!1),c===void 0&&(c=1),s();const u=e.getBoundingClientRect(),{left:f,top:p,width:h,height:g}=u;if(a||t(),!h||!g)return;const b=rt(p),d=rt(o.clientWidth-(f+h)),m=rt(o.clientHeight-(p+g)),x=rt(f),w={rootMargin:-b+"px "+-d+"px "+-m+"px "+-x+"px",threshold:ee(0,Se(1,c))||1};let C=!0;function E(S){const R=S[0].intersectionRatio;if(R!==c){if(!C)return i();R?i(!1,R):r=setTimeout(()=>{i(!1,1e-7)},1e3)}R===1&&!mr(u,e.getBoundingClientRect())&&i(),C=!1}try{n=new IntersectionObserver(E,{...w,root:o.ownerDocument})}catch{n=new IntersectionObserver(E,w)}n.observe(e)}return i(!0),s}function _i(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,u=rn(e),f=o||s?[...u?Ze(u):[],...Ze(t)]:[];f.forEach(x=>{o&&x.addEventListener("scroll",n,{passive:!0}),s&&x.addEventListener("resize",n)});const p=u&&a?Li(u,n):null;let h=-1,g=null;i&&(g=new ResizeObserver(x=>{let[y]=x;y&&y.target===u&&g&&(g.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var w;(w=g)==null||w.observe(t)})),n()}),u&&!c&&g.observe(u),g.observe(t));let b,d=c?Oe(e):null;c&&m();function m(){const x=Oe(e);d&&!mr(d,x)&&n(),d=x,b=requestAnimationFrame(m)}return n(),()=>{var x;f.forEach(y=>{o&&y.removeEventListener("scroll",n),s&&y.removeEventListener("resize",n)}),p==null||p(),(x=g)==null||x.disconnect(),g=null,c&&cancelAnimationFrame(b)}}const Di=hi,Fi=gi,Bi=fi,Wi=bi,Vi=pi,Tn=di,zi=vi,$i=(e,t,n)=>{const r=new Map,o={platform:ji,...n},s={...o.platform,_c:r};return ui(e,t,{...o,platform:s})};var lt=typeof document<"u"?l.useLayoutEffect:l.useEffect;function ht(e,t){if(e===t)return!0;
vendor: 4,140 bytes, line 11
11if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!ht(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const s=o[r];if(!(s==="_owner"&&e.$$typeof)&&!ht(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function hr(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function On(e,t){const n=hr(e);return Math.round(t*n)/n}function Tt(e){const t=l.useRef(e);return lt(()=>{t.current=e}),t}function Hi(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:s,floating:i}={},transform:a=!0,whileElementsMounted:c,open:u}=e,[f,p]=l.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,g]=l.useState(r);ht(h,r)||g(r);const[b,d]=l.useState(null),[m,x]=l.useState(null),y=l.useCallback(T=>{T!==S.current&&(S.current=T,d(T))},[]),w=l.useCallback(T=>{T!==R.current&&(R.current=T,x(T))},[]),C=s||b,E=i||m,S=l.useRef(null),R=l.useRef(null),M=l.useRef(f),F=c!=null,_=Tt(c),V=Tt(o),W=Tt(u),L=l.useCallback(()=>{if(!S.current||!R.current)return;const T={placement:t,strategy:n,middleware:h};V.current&&(T.platform=V.current),$i(S.current,R.current,T).then(k=>{const Y={...k,isPositioned:W.current!==!1};I.current&&!ht(M.current,Y)&&(M.current=Y,Qe.flushSync(()=>{p(Y)}))})},[h,t,n,V,W]);lt(()=>{u===!1&&M.current.isPositioned&&(M.current.isPositioned=!1,p(T=>({...T,isPositioned:!1})))},[u]);const I=l.useRef(!1);lt(()=>(I.current=!0,()=>{I.current=!1}),[]),lt(()=>{if(C&&(S.current=C),E&&(R.current=E),C&&E){if(_.current)return _.current(C,E,L);L()}},[C,E,L,_,F]);const B=l.useMemo(()=>({reference:S,floating:R,setReference:y,setFloating:w}),[y,w]),N=l.useMemo(()=>({reference:C,floating:E}),[C,E]),D=l.useMemo(()=>{const T={position:n,left:0,top:0};if(!N.floating)return T;const k=On(N.floating,f.x),Y=On(N.floating,f.y);return a?{...T,transform:"translate("+k+"px, "+Y+"px)",...hr(N.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:k,top:Y}},[n,a,N.floating,f.x,f.y]);return l.useMemo(()=>({...f,update:L,refs:B,elements:N,floatingStyles:D}),[f,L,B,N,D])}const Ui=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Tn({element:r.current,padding:o}).fn(n):{}:r?Tn({element:r,padding:o}).fn(n):{}}}},Gi=(e,t)=>({...Di(e),options:[e,t]}),Ki=(e,t)=>({...Fi(e),options:[e,t]}),Yi=(e,t)=>({...zi(e),options:[e,t]}),Xi=(e,t)=>({...Bi(e),options:[e,t]}),qi=(e,t)=>({...Wi(e),options:[e,t]}),Zi=(e,t)=>({...Vi(e),options:[e,t]}),Qi=(e,t)=>({...Ui(e),options:[e,t]});var Ji="Arrow",gr=l.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...s}=e;return v.jsx(G.svg,{...s,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:v.jsx("polygon",{points:"0,0 30,0 15,10"})})});gr.displayName=Ji;var ea=gr;function ta(e){const[t,n]=l.useState(void 0);return ne(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const s=o[0];let i,a;if("borderBoxSize"in s){const c=s.borderBoxSize,u=Array.isArray(c)?c[0]:c;i=u.inlineSize,a=u.blockSize}else i=e.offsetWidth,a=e.offsetHeight;n({width:i,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var sn="Popper",[vr,br]=qt(sn),[na,xr]=vr(sn),yr=e=>{const{__scopePopper:t,children:n}=e,[r,o]=l.useState(null);return v.jsx(na,{scope:t,anchor:r,onAnchorChange:o,children:n})};yr.displayName=sn;var wr="PopperAnchor",Sr=l.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,s=xr(wr,n),i=l.useRef(null),a=q(t,i);return l.useEffect(()=>{s.onAnchorChange((r==null?void 0:r.current)||i.current)}),r?null:v.jsx(G.div,{...o,ref:a})});Sr.displayName=wr;var an="PopperContent",[ra,oa]=vr(an),Cr=l.forwardRef((e,t)=>
vendor: 4,528 bytes, line 11
11{var O,U,Z,H,z,$;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:s="center",alignOffset:i=0,arrowPadding:a=0,avoidCollisions:c=!0,collisionBoundary:u=[],collisionPadding:f=0,sticky:p="partial",hideWhenDetached:h=!1,updatePositionStrategy:g="optimized",onPlaced:b,...d}=e,m=xr(an,n),[x,y]=l.useState(null),w=q(t,J=>y(J)),[C,E]=l.useState(null),S=ta(C),R=(S==null?void 0:S.width)??0,M=(S==null?void 0:S.height)??0,F=r+(s!=="center"?"-"+s:""),_=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},V=Array.isArray(u)?u:[u],W=V.length>0,L={padding:_,boundary:V.filter(ia),altBoundary:W},{refs:I,floatingStyles:B,placement:N,isPositioned:D,middlewareData:T}=Hi({strategy:"fixed",placement:F,whileElementsMounted:(...J)=>_i(...J,{animationFrame:g==="always"}),elements:{reference:m.anchor},middleware:[Gi({mainAxis:o+M,alignmentAxis:i}),c&&Ki({mainAxis:!0,crossAxis:!1,limiter:p==="partial"?Yi():void 0,...L}),c&&Xi({...L}),qi({...L,apply:({elements:J,rects:ue,availableWidth:Ge,availableHeight:Ke})=>{const{width:Ye,height:Ro}=ue.reference,tt=J.floating.style;tt.setProperty("--radix-popper-available-width",`${Ge}px`),tt.setProperty("--radix-popper-available-height",`${Ke}px`),tt.setProperty("--radix-popper-anchor-width",`${Ye}px`),tt.setProperty("--radix-popper-anchor-height",`${Ro}px`)}}),C&&Qi({element:C,padding:a}),aa({arrowWidth:R,arrowHeight:M}),h&&Zi({strategy:"referenceHidden",...L})]}),[k,Y]=Pr(N),re=he(b);ne(()=>{D&&(re==null||re())},[D,re]);const be=(O=T.arrow)==null?void 0:O.x,xe=(U=T.arrow)==null?void 0:U.y,Q=((Z=T.arrow)==null?void 0:Z.centerOffset)!==0,[se,ie]=l.useState();return ne(()=>{x&&ie(window.getComputedStyle(x).zIndex)},[x]),v.jsx("div",{ref:I.setFloating,"data-radix-popper-content-wrapper":"",style:{...B,transform:D?B.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:se,"--radix-popper-transform-origin":[(H=T.transformOrigin)==null?void 0:H.x,(z=T.transformOrigin)==null?void 0:z.y].join(" "),...(($=T.hide)==null?void 0:$.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:v.jsx(ra,{scope:n,placedSide:k,onArrowChange:E,arrowX:be,arrowY:xe,shouldHideArrow:Q,children:v.jsx(G.div,{"data-side":k,"data-align":Y,...d,ref:w,style:{...d.style,animation:D?void 0:"none"}})})})});Cr.displayName=an;var Er="PopperArrow",sa={top:"bottom",right:"left",bottom:"top",left:"right"},Rr=l.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,s=oa(Er,r),i=sa[s.placedSide];return v.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:v.jsx(ea,{...o,ref:n,style:{...o.style,display:"block"}})})});Rr.displayName=Er;function ia(e){return e!==null}var aa=e=>({name:"transformOrigin",options:e,fn(t){var m,x,y;const{placement:n,rects:r,middlewareData:o}=t,i=((m=o.arrow)==null?void 0:m.centerOffset)!==0,a=i?0:e.arrowWidth,c=i?0:e.arrowHeight,[u,f]=Pr(n),p={start:"0%",center:"50%",end:"100%"}[f],h=(((x=o.arrow)==null?void 0:x.x)??0)+a/2,g=(((y=o.arrow)==null?void 0:y.y)??0)+c/2;let b="",d="";return u==="bottom"?(b=i?p:`${h}px`,d=`${-c}px`):u==="top"?(b=i?p:`${h}px`,d=`${r.floating.height+c}px`):u==="right"?(b=`${-c}px`,d=i?p:`${g}px`):u==="left"&&(b=`${r.floating.width+c}px`,d=i?p:`${g}px`),{data:{x:b,y:d}}}});function Pr(e){const[t,n="center"]=e.split("-");return[t,n]}var ca=yr,la=Sr,ua=Cr,da=Rr,fa="Portal",Ar=l.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[o,s]=l.useState(!1);ne(()=>s(!0),[]);const i=n||o&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return i?Ts.createPortal(v.jsx(G.div,{...r,ref:t}),i):null});Ar.displayName=fa;function Mn({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=pa({defaultProp:t,onChange:n}),s=e!==void 0,i=s?e:r,a=he(n),c=l.useCallback(u=>{if(s){const p=typeof u=="function"?u(e):u;p!==e&&a(p)}else o(u)},[s,e,o,a]);return[i,c]}function pa({defaultProp:e,onChange:t}){const n=l.useState(e),[r]=n,o=l.useRef(r),s=he(t);return l.useEffect(()=>{o.current!==r&&(s(r),o.current=r)},[r,o,s]),n}function ma(e){const t=l.useRef({value:e,previous:e});return l.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var ha="VisuallyHidden",Nr=l.forwardRef((e,t)=>
vendor: 4,289 bytes, line 11
11v.jsx(G.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));Nr.displayName=ha;var ga=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ke=new WeakMap,ot=new WeakMap,st={},Ot=0,Tr=function(e){return e&&(e.host||Tr(e.parentNode))},va=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Tr(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},ba=function(e,t,n,r){var o=va(t,Array.isArray(e)?e:[e]);st[n]||(st[n]=new WeakMap);var s=st[n],i=[],a=new Set,c=new Set(o),u=function(p){!p||a.has(p)||(a.add(p),u(p.parentNode))};o.forEach(u);var f=function(p){!p||c.has(p)||Array.prototype.forEach.call(p.children,function(h){if(a.has(h))f(h);else try{var g=h.getAttribute(r),b=g!==null&&g!=="false",d=(ke.get(h)||0)+1,m=(s.get(h)||0)+1;ke.set(h,d),s.set(h,m),i.push(h),d===1&&b&&ot.set(h,!0),m===1&&h.setAttribute(n,"true"),b||h.setAttribute(r,"true")}catch(x){console.error("aria-hidden: cannot operate on ",h,x)}})};return f(t),a.clear(),Ot++,function(){i.forEach(function(p){var h=ke.get(p)-1,g=s.get(p)-1;ke.set(p,h),s.set(p,g),h||(ot.has(p)||p.removeAttribute(r),ot.delete(p)),g||p.removeAttribute(n)}),Ot--,Ot||(ke=new WeakMap,ke=new WeakMap,ot=new WeakMap,st={})}},xa=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=ga(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),ba(r,o,n,"aria-hidden")):function(){return null}},de=function(){return de=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},de.apply(this,arguments)};function Or(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function ya(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,s;r<o;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))}var ut="right-scroll-bar-position",dt="width-before-scroll-bar",wa="with-scroll-bars-hidden",Sa="--removed-body-scroll-bar-size";function Mt(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Ca(e,t){var n=l.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var Ea=typeof window<"u"?l.useLayoutEffect:l.useEffect,In=new WeakMap;function Ra(e,t){var n=Ca(null,function(r){return e.forEach(function(o){return Mt(o,r)})});return Ea(function(){var r=In.get(n);if(r){var o=new Set(r),s=new Set(e),i=n.current;o.forEach(function(a){s.has(a)||Mt(a,null)}),s.forEach(function(a){o.has(a)||Mt(a,i)})}In.set(n,e)},[e]),n}function Pa(e){return e}function Aa(e,t){t===void 0&&(t=Pa);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(s){var i=t(s,r);return n.push(i),function(){n=n.filter(function(a){return a!==i})}},assignSyncMedium:function(s){for(r=!0;n.length;){var i=n;n=[],i.forEach(s)}n={push:function(a){return s(a)},filter:function(){return n}}},assignMedium:function(s){r=!0;var i=[];if(n.length){var a=n;n=[],a.forEach(s),i=n}var c=function(){var f=i;i=[],f.forEach(s)},u=function(){return Promise.resolve().then(c)};u(),n={push:function(f){i.push(f),u()},filter:function(f){return i=i.filter(f),n}}}};return o}function Na(e){e===void 0&&(e={});var t=Aa(null);return t.options=de({async:!0,ssr:!1},e),t}var Mr=function(e){var t=e.sideCar,n=Or(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return l.createElement(r,de({},n))};
vendor: 5,924 bytes, lines 11-51
11Mr.isSideCarExport=!0;function Ta(e,t){return e.useMedium(t),Mr}var Ir=Na(),It=function(){},yt=l.forwardRef(function(e,t){var n=l.useRef(null),r=l.useState({onScrollCapture:It,onWheelCapture:It,onTouchMoveCapture:It}),o=r[0],s=r[1],i=e.forwardProps,a=e.children,c=e.className,u=e.removeScrollBar,f=e.enabled,p=e.shards,h=e.sideCar,g=e.noIsolation,b=e.inert,d=e.allowPinchZoom,m=e.as,x=m===void 0?"div":m,y=e.gapMode,w=Or(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=h,E=Ra([n,t]),S=de(de({},w),o);return l.createElement(l.Fragment,null,f&&l.createElement(C,{sideCar:Ir,removeScrollBar:u,shards:p,noIsolation:g,inert:b,setCallbacks:s,allowPinchZoom:!!d,lockRef:n,gapMode:y}),i?l.cloneElement(l.Children.only(a),de(de({},S),{ref:E})):l.createElement(x,de({},S,{className:c,ref:E}),a))});yt.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};yt.classNames={fullWidth:dt,zeroRight:ut};var Oa=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Ma(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Oa();return t&&e.setAttribute("nonce",t),e}function Ia(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function ka(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var ja=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Ma())&&(Ia(t,n),ka(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},La=function(){var e=ja();return function(t,n){l.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},kr=function(){var e=La(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},_a={left:0,top:0,right:0,gap:0},kt=function(e){return parseInt(e||"",10)||0},Da=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[kt(n),kt(r),kt(o)]},Fa=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return _a;var t=Da(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Ba=kr(),Fe="data-scroll-locked",Wa=function(e,t,n,r){var o=e.left,s=e.top,i=e.right,a=e.gap;return n===void 0&&(n="margin"),`
12  .`.concat(wa,` {
13   overflow: hidden `).concat(r,`;
14   padding-right: `).concat(a,"px ").concat(r,`;
15  }
16  body[`).concat(Fe,`] {
17    overflow: hidden `).concat(r,`;
18    overscroll-behavior: contain;
19    `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
20    padding-left: `.concat(o,`px;
21    padding-top: `).concat(s,`px;
22    padding-right: `).concat(i,`px;
23    margin-left:0;
24    margin-top:0;
25    margin-right: `).concat(a,"px ").concat(r,`;
26    `),n==="padding"&&"padding-right: ".concat(a,"px ").concat(r,";")].filter(Boolean).join(""),`
27  }
28  
29  .`).concat(ut,` {
30    right: `).concat(a,"px ").concat(r,`;
31  }
32  
33  .`).concat(dt,` {
34    margin-right: `).concat(a,"px ").concat(r,`;
35  }
36  
37  .`).concat(ut," .").concat(ut,` {
38    right: 0 `).concat(r,`;
39  }
40  
41  .`).concat(dt," .").concat(dt,` {
42    margin-right: 0 `).concat(r,`;
43  }
44  
45  body[`).concat(Fe,`] {
46    `).concat(Sa,": ").concat(a,`px;
47  }
48`)},kn=function(){var e=parseInt(document.body.getAttribute(Fe)||"0",10);return isFinite(e)?e:0},Va=function(){l.useEffect(function(){return document.body.setAttribute(Fe,(kn()+1).toString()),function(){var e=kn()-1;e<=0?document.body.removeAttribute(Fe):document.body.setAttribute(Fe,e.toString())}},[])},za=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;Va();var s=l.useMemo(function(){return Fa(o)},[o]);return l.createElement(Ba,{styles:Wa(s,!t,o,n?"":"!important")})},zt=!1;if(typeof window<"u")try{var it=Object.defineProperty({},"passive",{get:function(){return zt=!0,!0}});window.addEventListener("test",it,it),window.removeEventListener("test",it,it)}catch{zt=!1}var je=zt?{passive:!1}:!1,$a=function(e){return e.tagName==="TEXTAREA"},jr=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!$a(e)&&n[t]==="visible")},Ha=function(e){return jr(e,"overflowY")},Ua=function(e){return jr(e,"overflowX")},jn=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=Lr(e,r);if(o){var s=_r(e,r),i=s[1],a=s[2];if(i>a)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},Ga=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},Ka=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Lr=function(e,t){return e==="v"?Ha(t):Ua(t)},_r=function(e,t){return e==="v"?Ga(t):Ka(t)},Ya=function(e,t){return e==="h"&&t==="rtl"?-1:1},Xa=function(e,t,n,r,o){var s=Ya(e,window.getComputedStyle(t).direction),i=s*r,a=n.target,c=t.contains(a),u=!1,f=i>0,p=0,h=0;do{var g=_r(e,a),b=g[0],d=g[1],m=g[2],x=d-m-s*b;(b||x)&&Lr(e,a)&&(p+=x,h+=b),a instanceof ShadowRoot?a=a.host:a=a.parentNode}while(!c&&a!==document.body||c&&(t.contains(a)||t===a));return(f&&Math.abs(p)<1||!f&&Math.abs(h)<1)&&(u=!0),u},at=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Ln=function(e){return[e.deltaX,e.deltaY]},_n=function(e){return e&&"current"in e?e.current:e},qa=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Za=function(e){return`
49  .block-interactivity-`.concat(e,` {pointer-events: none;}
50  .allow-interactivity-`).concat(e,` {pointer-events: all;}
51`)},Qa=0,Le=[];function Ja(e){var t=l.useRef([]),n=l.useRef([0,0]),r=l.useRef(),o=l.useState(Qa++)[0],s=l.useState(kr)[0],i=l.useRef(e);l.useEffect(function(){i.current=e},[e]),l.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));
vendor: 4,244 bytes, line 51
51var d=ya([e.lockRef.current],(e.shards||[]).map(_n),!0).filter(Boolean);return d.forEach(function(m){return m.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),d.forEach(function(m){return m.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var a=l.useCallback(function(d,m){if("touches"in d&&d.touches.length===2||d.type==="wheel"&&d.ctrlKey)return!i.current.allowPinchZoom;var x=at(d),y=n.current,w="deltaX"in d?d.deltaX:y[0]-x[0],C="deltaY"in d?d.deltaY:y[1]-x[1],E,S=d.target,R=Math.abs(w)>Math.abs(C)?"h":"v";if("touches"in d&&R==="h"&&S.type==="range")return!1;var M=jn(R,S);if(!M)return!0;if(M?E=R:(E=R==="v"?"h":"v",M=jn(R,S)),!M)return!1;if(!r.current&&"changedTouches"in d&&(w||C)&&(r.current=E),!E)return!0;var F=r.current||E;return Xa(F,m,d,F==="h"?w:C)},[]),c=l.useCallback(function(d){var m=d;if(!(!Le.length||Le[Le.length-1]!==s)){var x="deltaY"in m?Ln(m):at(m),y=t.current.filter(function(E){return E.name===m.type&&(E.target===m.target||m.target===E.shadowParent)&&qa(E.delta,x)})[0];if(y&&y.should){m.cancelable&&m.preventDefault();return}if(!y){var w=(i.current.shards||[]).map(_n).filter(Boolean).filter(function(E){return E.contains(m.target)}),C=w.length>0?a(m,w[0]):!i.current.noIsolation;C&&m.cancelable&&m.preventDefault()}}},[]),u=l.useCallback(function(d,m,x,y){var w={name:d,delta:m,target:x,should:y,shadowParent:ec(x)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(C){return C!==w})},1)},[]),f=l.useCallback(function(d){n.current=at(d),r.current=void 0},[]),p=l.useCallback(function(d){u(d.type,Ln(d),d.target,a(d,e.lockRef.current))},[]),h=l.useCallback(function(d){u(d.type,at(d),d.target,a(d,e.lockRef.current))},[]);l.useEffect(function(){return Le.push(s),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:h}),document.addEventListener("wheel",c,je),document.addEventListener("touchmove",c,je),document.addEventListener("touchstart",f,je),function(){Le=Le.filter(function(d){return d!==s}),document.removeEventListener("wheel",c,je),document.removeEventListener("touchmove",c,je),document.removeEventListener("touchstart",f,je)}},[]);var g=e.removeScrollBar,b=e.inert;return l.createElement(l.Fragment,null,b?l.createElement(s,{styles:Za(o)}):null,g?l.createElement(za,{gapMode:e.gapMode}):null)}function ec(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const tc=Ta(Ir,Ja);var Dr=l.forwardRef(function(e,t){return l.createElement(yt,de({},e,{ref:t,sideCar:tc}))});Dr.classNames=yt.classNames;var nc=[" ","Enter","ArrowUp","ArrowDown"],rc=[" ","Enter"],et="Select",[wt,St,oc]=Ls(et),[Ue]=qt(et,[oc,br]),Ct=br(),[sc,Re]=Ue(et),[ic,ac]=Ue(et),Fr=e=>{const{__scopeSelect:t,children:n,open:r,defaultOpen:o,onOpenChange:s,value:i,defaultValue:a,onValueChange:c,dir:u,name:f,autoComplete:p,disabled:h,required:g,form:b}=e,d=Ct(t),[m,x]=l.useState(null),[y,w]=l.useState(null),[C,E]=l.useState(!1),S=Ds(u),[R=!1,M]=Mn({prop:r,defaultProp:o,onChange:s}),[F,_]=Mn({prop:i,defaultProp:a,onChange:c}),V=l.useRef(null),W=m?b||!!m.closest("form"):!0,[L,I]=l.useState(new Set),B=Array.from(L).map(N=>N.props.value).join(";");return v.jsx(ca,{...d,children:v.jsxs(sc,{required:g,scope:t,trigger:m,onTriggerChange:x,valueNode:y,onValueNodeChange:w,valueNodeHasChildren:C,onValueNodeHasChildrenChange:E,contentId:Zt(),value:F,onValueChange:_,open:R,onOpenChange:M,dir:S,triggerPointerDownPosRef:V,disabled:h,children:[v.jsx(wt.Provider,{scope:t,children:v.jsx(ic,{scope:e.__scopeSelect,onNativeOptionAdd:l.useCallback(N=>{I(D=>new Set(D).add(N))},[]),onNativeOptionRemove:l.useCallback(N=>{I(D=>{const T=new Set(D);return T.delete(N),T})},[]),children:n})}),W?v.jsxs(lo,{"aria-hidden":!0,required:g,tabIndex:-1,name:f,autoComplete:p,value:F,onChange:N=>_(N.target.value),disabled:h,form:b,children:[F===void 0?v.jsx("option",{value:""}):null,Array.from(L)]},B):null]})})};Fr.displayName=et;var Br="SelectTrigger",Wr=l.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:r=!1,...o}=e,s=Ct(n),i=Re(Br,n),a=i.disabled||r,c=q(t,i.onTriggerChange),u=St(n),f=l.useRef("touch"),[p,h,g]=uo(d=>{const m=u().filter(w=>
vendor: 14,704 bytes, line 51
51!w.disabled),x=m.find(w=>w.value===i.value),y=fo(m,d,x);y!==void 0&&i.onValueChange(y.value)}),b=d=>{a||(i.onOpenChange(!0),g()),d&&(i.triggerPointerDownPosRef.current={x:Math.round(d.pageX),y:Math.round(d.pageY)})};return v.jsx(la,{asChild:!0,...s,children:v.jsx(G.button,{type:"button",role:"combobox","aria-controls":i.contentId,"aria-expanded":i.open,"aria-required":i.required,"aria-autocomplete":"none",dir:i.dir,"data-state":i.open?"open":"closed",disabled:a,"data-disabled":a?"":void 0,"data-placeholder":co(i.value)?"":void 0,...o,ref:c,onClick:K(o.onClick,d=>{d.currentTarget.focus(),f.current!=="mouse"&&b(d)}),onPointerDown:K(o.onPointerDown,d=>{f.current=d.pointerType;const m=d.target;m.hasPointerCapture(d.pointerId)&&m.releasePointerCapture(d.pointerId),d.button===0&&d.ctrlKey===!1&&d.pointerType==="mouse"&&(b(d),d.preventDefault())}),onKeyDown:K(o.onKeyDown,d=>{const m=p.current!=="";!(d.ctrlKey||d.altKey||d.metaKey)&&d.key.length===1&&h(d.key),!(m&&d.key===" ")&&nc.includes(d.key)&&(b(),d.preventDefault())})})})});Wr.displayName=Br;var Vr="SelectValue",zr=l.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,children:s,placeholder:i="",...a}=e,c=Re(Vr,n),{onValueNodeHasChildrenChange:u}=c,f=s!==void 0,p=q(t,c.onValueNodeChange);return ne(()=>{u(f)},[u,f]),v.jsx(G.span,{...a,ref:p,style:{pointerEvents:"none"},children:co(c.value)?v.jsx(v.Fragment,{children:i}):s})});zr.displayName=Vr;var cc="SelectIcon",$r=l.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...o}=e;return v.jsx(G.span,{"aria-hidden":!0,...o,ref:t,children:r||"▼"})});$r.displayName=cc;var lc="SelectPortal",Hr=e=>v.jsx(Ar,{asChild:!0,...e});Hr.displayName=lc;var Me="SelectContent",Ur=l.forwardRef((e,t)=>{const n=Re(Me,e.__scopeSelect),[r,o]=l.useState();if(ne(()=>{o(new DocumentFragment)},[]),!n.open){const s=r;return s?Qe.createPortal(v.jsx(Gr,{scope:e.__scopeSelect,children:v.jsx(wt.Slot,{scope:e.__scopeSelect,children:v.jsx("div",{children:e.children})})}),s):null}return v.jsx(Kr,{...e,ref:t})});Ur.displayName=Me;var ae=10,[Gr,Pe]=Ue(Me),uc="SelectContentImpl",Kr=l.forwardRef((e,t)=>{const{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:s,onPointerDownOutside:i,side:a,sideOffset:c,align:u,alignOffset:f,arrowPadding:p,collisionBoundary:h,collisionPadding:g,sticky:b,hideWhenDetached:d,avoidCollisions:m,...x}=e,y=Re(Me,n),[w,C]=l.useState(null),[E,S]=l.useState(null),R=q(t,O=>C(O)),[M,F]=l.useState(null),[_,V]=l.useState(null),W=St(n),[L,I]=l.useState(!1),B=l.useRef(!1);l.useEffect(()=>{if(w)return xa(w)},[w]),Gs();const N=l.useCallback(O=>{const[U,...Z]=W().map($=>$.ref.current),[H]=Z.slice(-1),z=document.activeElement;for(const $ of O)if($===z||($==null||$.scrollIntoView({block:"nearest"}),$===U&&E&&(E.scrollTop=0),$===H&&E&&(E.scrollTop=E.scrollHeight),$==null||$.focus(),document.activeElement!==z))return},[W,E]),D=l.useCallback(()=>N([M,w]),[N,M,w]);l.useEffect(()=>{L&&D()},[L,D]);const{onOpenChange:T,triggerPointerDownPosRef:k}=y;l.useEffect(()=>{if(w){let O={x:0,y:0};const U=H=>{var z,$;O={x:Math.abs(Math.round(H.pageX)-(((z=k.current)==null?void 0:z.x)??0)),y:Math.abs(Math.round(H.pageY)-((($=k.current)==null?void 0:$.y)??0))}},Z=H=>{O.x<=10&&O.y<=10?H.preventDefault():w.contains(H.target)||T(!1),document.removeEventListener("pointermove",U),k.current=null};return k.current!==null&&(document.addEventListener("pointermove",U),document.addEventListener("pointerup",Z,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",U),document.removeEventListener("pointerup",Z,{capture:!0})}}},[w,T,k]),l.useEffect(()=>{const O=()=>T(!1);return window.addEventListener("blur",O),window.addEventListener("resize",O),()=>{window.removeEventListener("blur",O),window.removeEventListener("resize",O)}},[T]);const[Y,re]=uo(O=>{const U=W().filter(z=>!z.disabled),Z=U.find(z=>z.ref.current===document.activeElement),H=fo(U,O,Z);H&&setTimeout(()=>H.ref.current.focus())}),be=l.useCallback((O,U,Z)=>{const H=!B.current&&!Z;(y.value!==void 0&&y.value===U||H)&&(F(O),H&&(B.current=!0))},[y.value]),xe=l.useCallback(()=>w==null?void 0:w.focus(),[w]),Q=l.useCallback((O,U,Z)=>{const H=!B.current&&!Z;(y.value!==void 0&&y.value===U||H)&&V(O)},[y.value]),se=r==="popper"?$t:Yr,ie=se===$t?{side:a,sideOffset:c,align:u,alignOffset:f,arrowPadding:p,collisionBoundary:h,collisionPadding:g,sticky:b,hideWhenDetached:d,avoidCollisions:m}:{};return v.jsx(Gr,{scope:n,content:w,viewport:E,onViewportChange:S,itemRefCallback:be,selectedItem:M,onItemLeave:xe,itemTextRefCallback:Q,focusSelectedItem:D,selectedItemText:_,position:r,isPositioned:L,searchRef:Y,children:v.jsx(Dr,{as:Be,allowPinchZoom:!0,children:v.jsx(or,{asChild:!0,trapped:y.open,onMountAutoFocus:O=>{O.preventDefault()},onUnmountAutoFocus:K(o,O=>{var U;(U=y.trigger)==null||U.focus({preventScroll:!0}),O.preventDefault()}),children:v.jsx(nr,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:O=>O.preventDefault(),onDismiss:()=>y.onOpenChange(!1),children:v.jsx(se,{role:"listbox",id:y.contentId,"data-state":y.open?"open":"closed",dir:y.dir,onContextMenu:O=>O.preventDefault(),...x,...ie,onPlaced:()=>I(!0),ref:R,style:{display:"flex",flexDirection:"column",outline:"none",...x.style},onKeyDown:K(x.onKeyDown,O=>{const U=O.ctrlKey||O.altKey||O.metaKey;if(O.key==="Tab"&&O.preventDefault(),!U&&O.key.length===1&&re(O.key),["ArrowUp","ArrowDown","Home","End"].includes(O.key)){let H=W().filter(z=>!z.disabled).map(z=>z.ref.current);if(["ArrowUp","End"].includes(O.key)&&(H=H.slice().reverse()),["ArrowUp","ArrowDown"].includes(O.key)){const z=O.target,$=H.indexOf(z);H=H.slice($+1)}setTimeout(()=>N(H)),O.preventDefault()}})})})})})})});Kr.displayName=uc;var dc="SelectItemAlignedPosition",Yr=l.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:r,...o}=e,s=Re(Me,n),i=Pe(Me,n),[a,c]=l.useState(null),[u,f]=l.useState(null),p=q(t,R=>f(R)),h=St(n),g=l.useRef(!1),b=l.useRef(!0),{viewport:d,selectedItem:m,selectedItemText:x,focusSelectedItem:y}=i,w=l.useCallback(()=>{if(s.trigger&&s.valueNode&&a&&u&&d&&m&&x){const R=s.trigger.getBoundingClientRect(),M=u.getBoundingClientRect(),F=s.valueNode.getBoundingClientRect(),_=x.getBoundingClientRect();if(s.dir!=="rtl"){const z=_.left-M.left,$=F.left-z,J=R.left-$,ue=R.width+J,Ge=Math.max(ue,M.width),Ke=window.innerWidth-ae,Ye=hn($,[ae,Math.max(ae,Ke-Ge)]);a.style.minWidth=ue+"px",a.style.left=Ye+"px"}else{const z=M.right-_.right,$=window.innerWidth-F.right-z,J=window.innerWidth-R.right-$,ue=R.width+J,Ge=Math.max(ue,M.width),Ke=window.innerWidth-ae,Ye=hn($,[ae,Math.max(ae,Ke-Ge)]);a.style.minWidth=ue+"px",a.style.right=Ye+"px"}const V=h(),W=window.innerHeight-ae*2,L=d.scrollHeight,I=window.getComputedStyle(u),B=parseInt(I.borderTopWidth,10),N=parseInt(I.paddingTop,10),D=parseInt(I.borderBottomWidth,10),T=parseInt(I.paddingBottom,10),k=B+N+L+T+D,Y=Math.min(m.offsetHeight*5,k),re=window.getComputedStyle(d),be=parseInt(re.paddingTop,10),xe=parseInt(re.paddingBottom,10),Q=R.top+R.height/2-ae,se=W-Q,ie=m.offsetHeight/2,O=m.offsetTop+ie,U=B+N+O,Z=k-U;if(U<=Q){const z=V.length>0&&m===V[V.length-1].ref.current;a.style.bottom="0px";const $=u.clientHeight-d.offsetTop-d.offsetHeight,J=Math.max(se,ie+(z?xe:0)+$+D),ue=U+J;a.style.height=ue+"px"}else{const z=V.length>0&&m===V[0].ref.current;a.style.top="0px";const J=Math.max(Q,B+d.offsetTop+(z?be:0)+ie)+Z;a.style.height=J+"px",d.scrollTop=U-Q+d.offsetTop}a.style.margin=`${ae}px 0`,a.style.minHeight=Y+"px",a.style.maxHeight=W+"px",r==null||r(),requestAnimationFrame(()=>g.current=!0)}},[h,s.trigger,s.valueNode,a,u,d,m,x,s.dir,r]);ne(()=>w(),[w]);const[C,E]=l.useState();ne(()=>{u&&E(window.getComputedStyle(u).zIndex)},[u]);const S=l.useCallback(R=>{R&&b.current===!0&&(w(),y==null||y(),b.current=!1)},[w,y]);return v.jsx(pc,{scope:n,contentWrapper:a,shouldExpandOnScrollRef:g,onScrollButtonChange:S,children:v.jsx("div",{ref:c,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:C},children:v.jsx(G.div,{...o,ref:p,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}})})})});Yr.displayName=dc;var fc="SelectPopperPosition",$t=l.forwardRef((e,t)=>{const{__scopeSelect:n,align:r="start",collisionPadding:o=ae,...s}=e,i=Ct(n);return v.jsx(ua,{...i,...s,ref:t,align:r,collisionPadding:o,style:{boxSizing:"border-box",...s.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});$t.displayName=fc;var[pc,cn]=Ue(Me,{}),Ht="SelectViewport",Xr=l.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:r,...o}=e,s=Pe(Ht,n),i=cn(Ht,n),a=q(t,s.onViewportChange),c=l.useRef(0);return v.jsxs(v.Fragment,{children:[v.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:r}),v.jsx(wt.Slot,{scope:n,children:v.jsx(G.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:a,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:K(o.onScroll,u=>{const f=u.currentTarget,{contentWrapper:p,shouldExpandOnScrollRef:h}=i;if(h!=null&&h.current&&p){const g=Math.abs(c.current-f.scrollTop);if(g>0){const b=window.innerHeight-ae*2,d=parseFloat(p.style.minHeight),m=parseFloat(p.style.height),x=Math.max(d,m);if(x<b){const y=x+g,w=Math.min(b,y),C=y-w;p.style.height=w+"px",p.style.bottom==="0px"&&(f.scrollTop=C>0?C:0,p.style.justifyContent="flex-end")}}}c.current=f.scrollTop})})})]})});Xr.displayName=Ht;var qr="SelectGroup",[mc,hc]=Ue(qr),gc=l.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=Zt();return v.jsx(mc,{scope:n,id:o,children:v.jsx(G.div,{role:"group","aria-labelledby":o,...r,ref:t})})});gc.displayName=qr;var Zr="SelectLabel",Qr=l.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=hc(Zr,n);return v.jsx(G.div,{id:o.id,...r,ref:t})});Qr.displayName=Zr;var gt="SelectItem",[vc,Jr]=Ue(gt),eo=l.forwardRef((e,t)=>{const{__scopeSelect:n,value:r,disabled:o=!1,textValue:s,...i}=e,a=Re(gt,n),c=Pe(gt,n),u=a.value===r,[f,p]=l.useState(s??""),[h,g]=l.useState(!1),b=q(t,y=>{var w;return(w=c.itemRefCallback)==null?void 0:w.call(c,y,r,o)}),d=Zt(),m=l.useRef("touch"),x=()=>{o||(a.onValueChange(r),a.onOpenChange(!1))};if(r==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return v.jsx(vc,{scope:n,value:r,disabled:o,textId:d,isSelected:u,onItemTextChange:l.useCallback(y=>{p(w=>w||((y==null?void 0:y.textContent)??"").trim())},[]),children:v.jsx(wt.ItemSlot,{scope:n,value:r,disabled:o,textValue:f,children:v.jsx(G.div,{role:"option","aria-labelledby":d,"data-highlighted":h?"":void 0,"aria-selected":u&&h,"data-state":u?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...i,ref:b,onFocus:K(i.onFocus,()=>g(!0)),onBlur:K(i.onBlur,()=>g(!1)),onClick:K(i.onClick,()=>{m.current!=="mouse"&&x()}),onPointerUp:K(i.onPointerUp,()=>{m.current==="mouse"&&x()}),onPointerDown:K(i.onPointerDown,y=>{m.current=y.pointerType}),onPointerMove:K(i.onPointerMove,y=>{var w;m.current=y.pointerType,o?(w=c.onItemLeave)==null||w.call(c):m.current==="mouse"&&y.currentTarget.focus({preventScroll:!0})}),onPointerLeave:K(i.onPointerLeave,y=>{var w;y.currentTarget===document.activeElement&&((w=c.onItemLeave)==null||w.call(c))}),onKeyDown:K(i.onKeyDown,y=>{var C;((C=c.searchRef)==null?void 0:C.current)!==""&&y.key===" "||(rc.includes(y.key)&&x(),y.key===" "&&y.preventDefault())})})})})});eo.displayName=gt;var Xe="SelectItemText",to=l.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,...s}=e,i=Re(Xe,n),a=Pe(Xe,n),c=Jr(Xe,n),u=ac(Xe,n),[f,p]=l.useState(null),h=q(t,x=>p(x),c.onItemTextChange,x=>{var y;return(y=a.itemTextRefCallback)==null?void 0:y.call(a,x,c.value,c.disabled)}),g=f==null?void 0:f.textContent,b=l.useMemo(()=>v.jsx("option",{value:c.value,disabled:c.disabled,children:g},c.value),[c.disabled,c.value,g]),{onNativeOptionAdd:d,onNativeOptionRemove:m}=u;return ne(()=>(d(b),()=>m(b)),[d,m,b]),v.jsxs(v.Fragment,{children:[v.jsx(G.span,{id:c.textId,...s,ref:h}),c.isSelected&&i.valueNode&&!i.valueNodeHasChildren?Qe.createPortal(s.children,i.valueNode):null]})});to.displayName=Xe;var no="SelectItemIndicator",ro=l.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return Jr(no,n).isSelected?v.jsx(G.span,{"aria-hidden":!0,...r,ref:t}):null});ro.displayName=no;var Ut="SelectScrollUpButton",oo=l.forwardRef((e,t)=>{const n=Pe(Ut,e.__scopeSelect),r=cn(Ut,e.__scopeSelect),[o,s]=l.useState(!1),i=q(t,r.onScrollButtonChange);return ne(()=>{if(n.viewport&&n.isPositioned){let a=function(){const u=c.scrollTop>0;s(u)};const c=n.viewport;return a(),c.addEventListener("scroll",a),()=>c.removeEventListener("scroll",a)}},[n.viewport,n.isPositioned]),o?v.jsx(io,{...e,ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:c}=n;a&&c&&(a.scrollTop=a.scrollTop-c.offsetHeight)}}):null});oo.displayName=Ut;var Gt="SelectScrollDownButton",so=l.forwardRef((e,t)=>{const n=Pe(Gt,e.__scopeSelect),r=cn(Gt,e.__scopeSelect),[o,s]=l.useState(!1),i=q(t,r.onScrollButtonChange);return ne(()=>{if(n.viewport&&n.isPositioned){let a=function(){const u=c.scrollHeight-c.clientHeight,f=Math.ceil(c.scrollTop)<u;s(f)};const c=n.viewport;return a(),c.addEventListener("scroll",a),()=>c.removeEventListener("scroll",a)}},[n.viewport,n.isPositioned]),o?v.jsx(io,{...e,ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:c}=n;a&&c&&(a.scrollTop=a.scrollTop+c.offsetHeight)}}):null});so.displayName=Gt;var io=l.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:r,...o}=e,s=Pe("SelectScrollButton",n),i=l.useRef(null),a=St(n),c=l.useCallback(()=>{i.current!==null&&(window.clearInterval(i.current),i.current=null)},[]);return l.useEffect(()=>()=>c(),[c]),ne(()=>{var f;const u=a().find(p=>p.ref.current===document.activeElement);(f=u==null?void 0:u.ref.current)==null||f.scrollIntoView({block:"nearest"})},[a]),v.jsx(G.div,{"aria-hidden":!0,...o,ref:t,style:{flexShrink:0,...o.style},onPointerDown:K(o.onPointerDown,()=>{i.current===null&&(i.current=window.setInterval(r,50))}),onPointerMove:K(o.onPointerMove,()=>{var u;(u=s.onItemLeave)==null||u.call(s),i.current===null&&(i.current=window.setInterval(r,50))}),onPointerLeave:K(o.onPointerLeave,()=>{c()})})}),bc="SelectSeparator",ao=l.forwardRef((e,t)=>
vendor: 1,727 bytes, line 51
51{const{__scopeSelect:n,...r}=e;return v.jsx(G.div,{"aria-hidden":!0,...r,ref:t})});ao.displayName=bc;var Kt="SelectArrow",xc=l.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=Ct(n),s=Re(Kt,n),i=Pe(Kt,n);return s.open&&i.position==="popper"?v.jsx(da,{...o,...r,ref:t}):null});xc.displayName=Kt;function co(e){return e===""||e===void 0}var lo=l.forwardRef((e,t)=>{const{value:n,...r}=e,o=l.useRef(null),s=q(t,o),i=ma(n);return l.useEffect(()=>{const a=o.current,c=window.HTMLSelectElement.prototype,f=Object.getOwnPropertyDescriptor(c,"value").set;if(i!==n&&f){const p=new Event("change",{bubbles:!0});f.call(a,n),a.dispatchEvent(p)}},[i,n]),v.jsx(Nr,{asChild:!0,children:v.jsx("select",{...r,ref:s,defaultValue:n})})});lo.displayName="BubbleSelect";function uo(e){const t=he(e),n=l.useRef(""),r=l.useRef(0),o=l.useCallback(i=>{const a=n.current+i;t(a),(function c(u){n.current=u,window.clearTimeout(r.current),u!==""&&(r.current=window.setTimeout(()=>c(""),1e3))})(a)},[t]),s=l.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return l.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,o,s]}function fo(e,t,n){const o=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,s=n?e.indexOf(n):-1;let i=yc(e,Math.max(s,0));o.length===1&&(i=i.filter(u=>u!==n));const c=i.find(u=>u.textValue.toLowerCase().startsWith(o.toLowerCase()));return c!==n?c:void 0}function yc(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var wc=Fr,po=Wr,Sc=zr,Cc=$r,Ec=Hr,mo=Ur,Rc=Xr,ho=Qr,go=eo,Pc=to,Ac=ro,vo=oo,bo=so,xo=ao;const Nc=wc,Tc=Sc,yo=l.forwardRef(({className:e,children:t,...n},r)=>v.jsxs(po,{ref:r,className:oe("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm r
51ing-offset-background placeholder:text-muted-foreground focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...n,children:[t,v.jsx(Cc,{asChild:!0,children:v.jsx(Dn,{className:"h-4 w-4 opacity-50"})})]}));yo.displayName=po.displayName;const wo=l.forwardRef(({className:e,...t},n)=>v.jsx(vo,{ref:n,className:oe("flex cursor-default items-center justify-center py-1",e),...t,children:v.jsx(_o,{className:"h-4 w-4"})}));wo.displayName=vo.displayName;const So=l.forwardRef(({className:e,...t},n)=>v.jsx(bo,{ref:n,className:oe("flex cursor-default items-center justify-center py-1",e),...t,children:v.jsx(Dn,{className:"h-4 w-4"})}));So.displayName=bo.displayName;const Co=l.forwardRef(({className:e,children:t,position:n="popper",...r},o)=>v.jsx(Ec,{children:v.jsxs(mo,{ref:o,className:oe("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:n,...r,children:[v.jsx(wo,{}),v.jsx(Rc,{className:oe("p-1",n==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),v.jsx(So,{})]})}));Co.displayName=mo.displayName;const Oc=l.forwardRef(({className:e,...t},n)=>v.jsx(ho,{ref:n,className:oe("py-1.5 pl-8 pr-2 text-sm font-semibold",e),...t}));Oc.displayName=ho.displayName;const Eo=l.forwardRef(({className:e,children:t,...n},r)=>v.jsxs(go,{ref:r,className:oe("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",e),...n,children:[v.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:v.jsx(Ac,{children:v.jsx(jo,{className:"h-4 w-4"})})}),v.jsx(Pc,{children:t})]}));Eo.displayName=go.displayName;const Mc=l.forwardRef(({className:e,...t},n)=>v.jsx(xo,{ref:n,className:oe("-mx-1 my-1 h-px bg-muted",e),...t}));Mc.displayName=xo.displayName;const Ic=[{value:"Doubts",en:"Doubts",pt:"Dúvidas"},{value:"Support",en:"Support",pt:"Suporte"},{value:"Budget",en:"Budget",pt:"Orçamento"},{value:"Others",en:"Others",pt:"Outros"}];function Dc(){const t=Mo()==="pt-br",{data:n,setData:r,post:o,processing:s,errors:i,recentlySuccessful:a,reset:c}=To({name:"",email:"",subject:"",message:"",hp_field:""});function u(f){f.preventDefault(),o(route(t?"pt.contact.store":"contact.store"),{preserveScroll:!0,onSuccess:()=>c("name","email","subject","message")})}return v.jsxs(Oo,{children:[v.jsx(Io,{page:"contact",title:t?"Contato":"Contact",description:t?"Quer trocar uma ideia conosco? Entre em contato com a Array.codes.":"Want to exchange an idea with us? Contact Array.codes."}),v.jsx("section",{children:v.jsxs("div",{className:"container-x flex flex-col items-center pt-28 pb-4 text-center md:pt-32 md:pb-6",children:[v.jsx("h1",{children:t?"Contato":"Contact"}),v.jsx("p",{className:"text-foreground mt-5 max-w-xl subtitle-2",children:t?"Quer trocar uma ideia conosco? Entre em contato!":"Want to exchange an idea with us? Contact!"})]})}),v.jsx("section",{className:"container-x pt-8 pb-16 md:pt-10 md:pb-20",children:v.jsxs("div",{className:"border-border mx-auto max-w-xl rounded-2xl border bg-white p-8 shadow-[var(--shadow-card)] md:p-10",children:[v.jsx("h3",{children:t?"Converse com a gente":"Chat with us"}),a&&v.jsx("p",{className:"mt-4 rounded-lg bg-green-50 px-4 py-3 text-sm text-green-700",children:t?"Obrigado pelo contato! Retornaremos em breve.":"Thanks for reaching out! We'll get back to you soon."}),v.jsxs("form",{onSubmit:u,className:"mt-8 space-y-5",noValidate:!0,children:[v.jsxs("div",{className:"sr-only",children:[v.jsx(_e,{htmlFor:"hp-field",children:"Please leave this field empty."}),v.jsx(ct,{id:"hp-field",name:"hp_field",type:"text",tabIndex:-1,autoComplete:"off",value:n.hp_field,onChange:f=>r("hp_field",f.target.value)})]}),v.jsxs("div",{children:[v.jsx(_e,{htmlFor:"name",className:"sr-only",children:t?"Nome":"Name"}),v.jsx(ct,{id:"name",type:"text",placeholder:t?"Nome":"Name",required:!0,value:n.name,onChange:f=>r("name",f.target.value)}),i.name&&v.jsx("p",{className:"mt-1 text-sm text-red-600",children:i.name})]}),v.jsxs("div",{children:[v.jsx(_e,{htmlFor:"email",className:"sr-only",children:"E-mail"}),v.jsx(ct,{id:"email",type:"email",placeholder:"E-mail",required:!0,value:n.email,onChange:f=>r("email",f.target.value)}),i.email&&v.jsx("p",{className:"mt-1 text-sm text-red-600",children:i.email})]}),v.jsxs("div",{children:[v.jsx(_e,{htmlFor:"subject",className:"sr-only",children:t?"Assunto":"Subject"}),v.jsxs(Nc,{value:n.subject,onValueChange:f=>r("subject",f),required:!0,children:[v.jsx(yo,{id:"subject",children:v.jsx(Tc,{placeholder:t?"Assunto":"Subject"})}),v.jsx(Co,{children:Ic.map(f=>v.jsx(Eo,{value:f.value,children:t?f.pt:f.en},f.value))})]}),i.subject&&v.jsx("p",{className:"mt-1 text-sm text-red-600",children:i.subject})]}),v.jsxs("div",{children:[v.jsx(_e,{htmlFor:"message",className:"sr-only",children:t?"Mensagem":"Message"}),v.jsx(er,{id:"message",placeholder:t?"Mensagem":"Message",rows:6,required:!0,value:n.message,onChange:f=>r("message",f.target.value)}),i.message&&v.jsx("p",{className:"mt-1 text-sm text-red-600",children:i.message})]}),v.jsx(Zn,{type:"submit",className:"w-full",disabled:s,children:s?t?"Enviando...":"Sending...":t?"Enviar":"Send"})]})]})})]})}export{Dc as default};

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.