PageSourceSearch

https://www.omnibox.pro/_next/static/chunks/fb340ffca9f8625f.js

js omnibox.pro collected 2026-09-24 10:37:46 UTC 110,846 bytes, 5 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,75157,7284,e=>{"use strict";function t(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=function e(t){var r,n,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t)if(Array.isArray(t)){var i=t.length;for(r=0;r<i;r++)t[r]&&(n=e(t[r]))&&(o&&(o+=" "),o+=n)}else for(n in t)t[n]&&(o&&(o+=" "),o+=n);return o}(e))&&(n&&(n+=" "),n+=t);return n}e.s(["clsx",()=>t],7284);let r=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),n=[],o=(e,t,r)=>{if(0==e.length-t)return r.classGroupId;let n=e[t],i=r.nextPart.get(n);if(i){let r=o(e,t+1,i);if(r)return r}let a=r.validators;if(null===a)return;let l=0===t?e.join("-"):e.slice(t).join("-"),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(l))return t.classGroupId}},i=(e,t)=>{let n=r();for(let r in e)a(e[r],n,r,t);return n},a=(e,t,r,n)=>{let o=e.length;for(let i=0;i<o;i++)l(e[i],t,r,n)},l=(e,t,r,n)=>{"string"==typeof e?s(e,t,r):"function"==typeof e?c(e,t,r,n):u(e,t,r,n)},s=(e,t,r)=>{(""===e?t:d(t,e)).classGroupId=r},c=(e,t,r,n)=>{f(e)?a(e(n),t,r,n):(null===t.validators&&(t.validators=[]),t.validators.push({classGroupId:r,validator:e}))},u=(e,t,r,n)=>{let o=Object.entries(e),i=o.length;for(let e=0;e<i;e++){let[i,l]=o[e];a(l,d(t,i),r,n)}},d=(e,t)=>{let n=e,o=t.split("-"),i=o.length;for(let e=0;e<i;e++){let t=o[e],i=n.nextPart.get(t);i||(i=r(),n.nextPart.set(t,i)),n=i}return n},f=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,m=[],p=(e,t,r,n,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:o}),h=/\s+/,g=e=>{let t;if("string"==typeof e)return e;let r="";for(let n=0;n<e.length;n++)e[n]&&(t=g(e[n]))&&(r&&(r+=" "),r+=t);return r},v=[],b=e=>{let t=t=>t[e]||v;return t.isThemeGetter=!0,t},y=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,w=/^\((?:(\w[\w-]*):)?(.+)\)$/i,x=/^\d+\/\d+$/,E=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,C=/\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$/,k=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,R=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,S=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,P=e=>x.test(e),N=e=>!!e&&!Number.isNaN(Number(e)),A=e=>!!e&&Number.isInteger(Number(e)),M=e=>e.endsWith("%")&&N(e.slice(0,-1)),O=e=>E.test(e),T=()=>!0,L=e=>C.test(e)&&!k.test(e),D=()=>!1,_=e=>R.test(e),I=e=>S.test(e),z=e=>!F(e)&&!V(e),j=e=>Z(e,er,D),F=e=>y.test(e),H=e=>Z(e,en,L),W=e=>Z(e,eo,N),B=e=>Z(e,ee,D),$=e=>Z(e,et,I),U=e=>Z(e,ea,_),V=e=>w.test(e),G=e=>J(e,en),Y=e=>J(e,ei),Q=e=>J(e,ee),K=e=>J(e,er),X=e=>J(e,et),q=e=>J(e,ea,!0),Z=(e,t,r)=>{let n=y.exec(e);return!!n&&(n[1]?t(n[1]):r(n[2]))},J=(e,t,r=!1)=>{let n=w.exec(e);return!!n&&(n[1]?t(n[1]):r)},ee=e=>"position"===e||"percentage"===e,et=e=>"image"===e||"url"===e,er=e=>"length"===e||"size"===e||"bg-size"===e,en=e=>"length"===e,eo=e=>"number"===e,ei=e=>"family-name"===e,ea=e=>"shadow"===e,el=((e,...t)=>{let r,a,l,s,c=e=>{let t=a(e);if(t)return t;let n=((e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o,sortModifiers:i}=t,a=[],l=e.trim().split(h),s="";for(let e=l.length-1;e>=0;e-=1){let t=l[e],{isExternal:c,modifiers:u,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:m}=r(t);if(c){s=t+(s.length>0?" "+s:s);continue}let p=!!m,h=n(p?f.substring(0,m):f);if(!h){if(!p||!(h=n(f))){s=t+(s.length>0?" "+s:s);continue}p=!1}let g=0===u.length?"":1===u.length?u[0]:i(u).join(":"),v=d?g+"!":g,b=v+h;if(a.indexOf(b)>-1)continue;a.push(b);let y=o(h,p);for(let e=0;e<y.length;++e){let t=y[e];a.push(v+t)}s=t+(s.length>0?" "+s:s)}return s})(e,r);return l(e,n),n};return s=u=>{var d;let f;return a=(r={cache:(e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,r=Object.create(null),n=Object.create(null),o=(o,i)=>{r[o]=i,++t>e&&(t=0,n=r,r=Object.create(null))};return{get(e){let t=r[e];return void 0!==t?t:void 0!==(t=n[e])?(o(e,t),t):void 0},set(e,t){e in r?r[e]=t:o(e,t)}}})((d=t.reduce((e,t)=>
1t(e),e())).cacheSize),parseClassName:(e=>{let{prefix:t,experimentalParseClassName:r}=e,n=e=>{let t,r=[],n=0,o=0,i=0,a=e.length;for(let l=0;l<a;l++){let a=e[l];if(0===n&&0===o){if(":"===a){r.push(e.slice(i,l)),i=l+1;continue}if("/"===a){t=l;continue}}"["===a?n++:"]"===a?n--:"("===a?o++:")"===a&&o--}let l=0===r.length?e:e.slice(i),s=l,c=!1;return l.endsWith("!")?(s=l.slice(0,-1),c=!0):l.startsWith("!")&&(s=l.slice(1),c=!0),p(r,c,s,t&&t>i?t-i:void 0)};if(t){let e=t+":",r=n;n=t=>t.startsWith(e)?r(t.slice(e.length)):p(m,!1,t,void 0,!0)}if(r){let e=n;n=t=>r({className:t,parseClassName:e})}return n})(d),sortModifiers:(f=new Map,d.orderSensitiveModifiers.forEach((e,t)=>{f.set(e,1e6+t)}),e=>{let t=[],r=[];for(let n=0;n<e.length;n++){let o=e[n],i="["===o[0],a=f.has(o);i||a?(r.length>0&&(r.sort(),t.push(...r),r=[]),t.push(o)):r.push(o)}return r.length>0&&(r.sort(),t.push(...r)),t}),...(e=>{let t=(e=>{let{theme:t,classGroups:r}=e;return i(r,t)})(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]")){var r;let t,n,o;return -1===(r=e).slice(1,-1).indexOf(":")?void 0:(n=(t=r.slice(1,-1)).indexOf(":"),(o=t.slice(0,n))?"arbitrary.."+o:void 0)}let n=e.split("-"),i=+(""===n[0]&&n.length>1);return o(n,i,t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=a[e],o=r[e];if(t){if(o){let e=Array(o.length+t.length);for(let t=0;t<o.length;t++)e[t]=o[t];for(let r=0;r<t.length;r++)e[o.length+r]=t[r];return e}return t}return o||n}return r[e]||n}}})(d)}).cache.get,l=r.cache.set,s=c,c(u)},(...e)=>s(((...e)=>{let t,r,n=0,o="";for(;n<e.length;)(t=e[n++])&&(r=g(t))&&(o&&(o+=" "),o+=r);return o})(...e))})(()=>{let e=b("color"),t=b("font"),r=b("text"),n=b("font-weight"),o=b("tracking"),i=b("leading"),a=b("breakpoint"),l=b("container"),s=b("spacing"),c=b("radius"),u=b("shadow"),d=b("inset-shadow"),f=b("text-shadow"),m=b("drop-shadow"),p=b("blur"),h=b("perspective"),g=b("aspect"),v=b("ease"),y=b("animate"),w=()=>["auto","avoid","all","avoid-page","page","left","right","column"],x=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],E=()=>[...x(),V,F],C=()=>["auto","hidden","clip","visible","scroll"],k=()=>["auto","contain","none"],R=()=>[V,F,s],S=()=>[P,"full","auto",...R()],L=()=>[A,"none","subgrid",V,F],D=()=>["auto",{span:["full",A,V,F]},A,V,F],_=()=>[A,"auto",V,F],I=()=>["auto","min","max","fr",V,F],Z=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],J=()=>["start","end","center","stretch","center-safe","end-safe"],ee=()=>["auto",...R()],et=()=>[P,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...R()],er=()=>[e,V,F],en=()=>[...x(),Q,B,{position:[V,F]}],eo=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ei=()=>["auto","cover","contain",K,j,{size:[V,F]}],ea=()=>[M,G,H],el=()=>["","none","full",c,V,F],es=()=>["",N,G,H],ec=()=>["solid","dashed","dotted","double"],eu=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ed=()=>[N,M,Q,B],ef=()=>["","none",p,V,F],em=()=>["none",N,V,F],ep=()=>["none",N,V,F],eh=()=>[N,V,F],eg=()=>[P,"full",...R()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[O],breakpoint:[O],color:[T],container:[O],"drop-shadow":[O],ease:["in","out","in-out"],font:[z],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[O],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[O],shadow:[O],spacing:["px",N],text:[O],"text-shadow":[O],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",P,F,V,g]}],container:["container"],columns:[{columns:[N,F,V,l]}],"break-after":[{"break-after":w()}],"break-before":[{"break-before":w()}],"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:E()}],overflow:[{overflow:C()}],"overflow-x":[{"overflow-x":C()}],"overflow-y":[{"overflow-y":C()}],overscroll:[{overscroll:k()}],"overscroll-x":[{"overscroll-x":k()}],"overscroll-y":[{"overscroll-y":k()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:S()}],"inset-x":[{"inset-x":S()}],"inset-y":[{"inset-y":S()}],start:[{start:S()}],end:[{end:S()}],top:[{top:S()}
vendor: 4,328 bytes, line 1
1],right:[{right:S()}],bottom:[{bottom:S()}],left:[{left:S()}],visibility:["visible","invisible","collapse"],z:[{z:[A,"auto",V,F]}],basis:[{basis:[P,"full","auto",l,...R()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[N,P,"auto","initial","none",F]}],grow:[{grow:["",N,V,F]}],shrink:[{shrink:["",N,V,F]}],order:[{order:[A,"first","last","none",V,F]}],"grid-cols":[{"grid-cols":L()}],"col-start-end":[{col:D()}],"col-start":[{"col-start":_()}],"col-end":[{"col-end":_()}],"grid-rows":[{"grid-rows":L()}],"row-start-end":[{row:D()}],"row-start":[{"row-start":_()}],"row-end":[{"row-end":_()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":I()}],"auto-rows":[{"auto-rows":I()}],gap:[{gap:R()}],"gap-x":[{"gap-x":R()}],"gap-y":[{"gap-y":R()}],"justify-content":[{justify:[...Z(),"normal"]}],"justify-items":[{"justify-items":[...J(),"normal"]}],"justify-self":[{"justify-self":["auto",...J()]}],"align-content":[{content:["normal",...Z()]}],"align-items":[{items:[...J(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...J(),{baseline:["","last"]}]}],"place-content":[{"place-content":Z()}],"place-items":[{"place-items":[...J(),"baseline"]}],"place-self":[{"place-self":["auto",...J()]}],p:[{p:R()}],px:[{px:R()}],py:[{py:R()}],ps:[{ps:R()}],pe:[{pe:R()}],pt:[{pt:R()}],pr:[{pr:R()}],pb:[{pb:R()}],pl:[{pl:R()}],m:[{m:ee()}],mx:[{mx:ee()}],my:[{my:ee()}],ms:[{ms:ee()}],me:[{me:ee()}],mt:[{mt:ee()}],mr:[{mr:ee()}],mb:[{mb:ee()}],ml:[{ml:ee()}],"space-x":[{"space-x":R()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":R()}],"space-y-reverse":["space-y-reverse"],size:[{size:et()}],w:[{w:[l,"screen",...et()]}],"min-w":[{"min-w":[l,"screen","none",...et()]}],"max-w":[{"max-w":[l,"screen","none","prose",{screen:[a]},...et()]}],h:[{h:["screen","lh",...et()]}],"min-h":[{"min-h":["screen","lh","none",...et()]}],"max-h":[{"max-h":["screen","lh",...et()]}],"font-size":[{text:["base",r,G,H]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,V,W]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",M,F]}],"font-family":[{font:[Y,F,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,V,F]}],"line-clamp":[{"line-clamp":[N,"none",V,W]}],leading:[{leading:[i,...R()]}],"list-image":[{"list-image":["none",V,F]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",V,F]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:er()}],"text-color":[{text:er()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ec(),"wavy"]}],"text-decoration-thickness":[{decoration:[N,"from-font","auto",V,H]}],"text-decoration-color":[{decoration:er()}],"underline-offset":[{"underline-offset":[N,"auto",V,F]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:R()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",V,F]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",V,F]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:en()}],"bg-repeat":[{bg:eo()}],"bg-size":[{bg:ei()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},A,V,F],radial:["",V,F],conic:[A,V,F]},X,$]}],"bg-color":[{bg:er()}],"gradient-from-pos":[{from:ea()}
1],"gradient-via-pos":[{via:ea()}],"gradient-to-pos":[{to:ea()}],"gradient-from":[{from:er()}],"gradient-via":[{via:er()}],"gradient-to":[{to:er()}],rounded:[{rounded:el()}],"rounded-s":[{"rounded-s":el()}],"rounded-e":[{"rounded-e":el()}],"rounded-t":[{"rounded-t":el()}],"rounded-r":[{"rounded-r":el()}],"rounded-b":[{"rounded-b":el()}],"rounded-l":[{"rounded-l":el()}],"rounded-ss":[{"rounded-ss":el()}],"rounded-se":[{"rounded-se":el()}],"rounded-ee":[{"rounded-ee":el()}],"rounded-es":[{"rounded-es":el()}],"rounded-tl":[{"rounded-tl":el()}],"rounded-tr":[{"rounded-tr":el()}],"rounded-br":[{"rounded-br":el()}],"rounded-bl":[{"rounded-bl":el()}],"border-w":[{border:es()}],"border-w-x":[{"border-x":es()}],"border-w-y":[{"border-y":es()}],"border-w-s":[{"border-s":es()}],"border-w-e":[{"border-e":es()}],"border-w-t":[{"border-t":es()}],"border-w-r":[{"border-r":es()}],"border-w-b":[{"border-b":es()}],"border-w-l":[{"border-l":es()}],"divide-x":[{"divide-x":es()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":es()}
vendor: 5,530 bytes, line 1
1],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ec(),"hidden","none"]}],"divide-style":[{divide:[...ec(),"hidden","none"]}],"border-color":[{border:er()}],"border-color-x":[{"border-x":er()}],"border-color-y":[{"border-y":er()}],"border-color-s":[{"border-s":er()}],"border-color-e":[{"border-e":er()}],"border-color-t":[{"border-t":er()}],"border-color-r":[{"border-r":er()}],"border-color-b":[{"border-b":er()}],"border-color-l":[{"border-l":er()}],"divide-color":[{divide:er()}],"outline-style":[{outline:[...ec(),"none","hidden"]}],"outline-offset":[{"outline-offset":[N,V,F]}],"outline-w":[{outline:["",N,G,H]}],"outline-color":[{outline:er()}],shadow:[{shadow:["","none",u,q,U]}],"shadow-color":[{shadow:er()}],"inset-shadow":[{"inset-shadow":["none",d,q,U]}],"inset-shadow-color":[{"inset-shadow":er()}],"ring-w":[{ring:es()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:er()}],"ring-offset-w":[{"ring-offset":[N,H]}],"ring-offset-color":[{"ring-offset":er()}],"inset-ring-w":[{"inset-ring":es()}],"inset-ring-color":[{"inset-ring":er()}],"text-shadow":[{"text-shadow":["none",f,q,U]}],"text-shadow-color":[{"text-shadow":er()}],opacity:[{opacity:[N,V,F]}],"mix-blend":[{"mix-blend":[...eu(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":eu()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[N]}],"mask-image-linear-from-pos":[{"mask-linear-from":ed()}],"mask-image-linear-to-pos":[{"mask-linear-to":ed()}],"mask-image-linear-from-color":[{"mask-linear-from":er()}],"mask-image-linear-to-color":[{"mask-linear-to":er()}],"mask-image-t-from-pos":[{"mask-t-from":ed()}],"mask-image-t-to-pos":[{"mask-t-to":ed()}],"mask-image-t-from-color":[{"mask-t-from":er()}],"mask-image-t-to-color":[{"mask-t-to":er()}],"mask-image-r-from-pos":[{"mask-r-from":ed()}],"mask-image-r-to-pos":[{"mask-r-to":ed()}],"mask-image-r-from-color":[{"mask-r-from":er()}],"mask-image-r-to-color":[{"mask-r-to":er()}],"mask-image-b-from-pos":[{"mask-b-from":ed()}],"mask-image-b-to-pos":[{"mask-b-to":ed()}],"mask-image-b-from-color":[{"mask-b-from":er()}],"mask-image-b-to-color":[{"mask-b-to":er()}],"mask-image-l-from-pos":[{"mask-l-from":ed()}],"mask-image-l-to-pos":[{"mask-l-to":ed()}],"mask-image-l-from-color":[{"mask-l-from":er()}],"mask-image-l-to-color":[{"mask-l-to":er()}],"mask-image-x-from-pos":[{"mask-x-from":ed()}],"mask-image-x-to-pos":[{"mask-x-to":ed()}],"mask-image-x-from-color":[{"mask-x-from":er()}],"mask-image-x-to-color":[{"mask-x-to":er()}],"mask-image-y-from-pos":[{"mask-y-from":ed()}],"mask-image-y-to-pos":[{"mask-y-to":ed()}],"mask-image-y-from-color":[{"mask-y-from":er()}],"mask-image-y-to-color":[{"mask-y-to":er()}],"mask-image-radial":[{"mask-radial":[V,F]}],"mask-image-radial-from-pos":[{"mask-radial-from":ed()}],"mask-image-radial-to-pos":[{"mask-radial-to":ed()}],"mask-image-radial-from-color":[{"mask-radial-from":er()}],"mask-image-radial-to-color":[{"mask-radial-to":er()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":x()}],"mask-image-conic-pos":[{"mask-conic":[N]}],"mask-image-conic-from-pos":[{"mask-conic-from":ed()}],"mask-image-conic-to-pos":[{"mask-conic-to":ed()}],"mask-image-conic-from-color":[{"mask-conic-from":er()}],"mask-image-conic-to-color":[{"mask-conic-to":er()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:en()}],"mask-repeat":[{mask:eo()}],"mask-size":[{mask:ei()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",V,F]}],filter:[{filter:["","none",V,F]}],blur:[{blur:ef()}],brightness:[{brightness:[N,V,F]}],contrast:[{contrast:[N,V,F]}],"drop-shadow":[{"drop-shadow":["","none",m,q,U]}],"drop-shadow-color":[{"drop-shadow":er()}],grayscale:[{grayscale:["",N,V,F]}],"hue-rotate":[{"hue-rotate":[N,V,F]}],invert:[{invert:["",N,V,F]}],saturate:[{saturate:[N,V,F]}],sepia:[{sepia:["",N,V,F]}],"backdrop-filter":[{"backdrop-filter":["","none",V,F]}],"backdrop-blur":[{"backdrop-blur":ef()}],"backdrop-brightness":[{"backdrop-brightness":[N,V,F]}],"backdrop-contrast":[{"backdrop-contrast":[N,V,F]}],"backdrop-grayscale":[{"backdrop-grayscale":["",N,V,F]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[N,V,F]}],"backdrop-invert":[{"backdrop-invert":["",N,V,F]}],"backdrop-opacity":[{"backdrop-opacity":[N,V,F]}],"backdrop-saturate":[{"backdrop-saturate":[N,V,F]}],"backdrop-sepia":[{"backdrop-sepia":["",N,V,F]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":R()}],"border-spacing-x":[{"border-spacing-x":R()}],"border-spacing-y":[{"border-spacing-y":R()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",V,F]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[N,"initial",V,F]}],ease:[{ease:["linear","initial",v,V,F]}],delay:[{delay:[N,V,F]}],animate:[{animate:["none",y,V,F]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[h,V,F]}],"perspective-origin":[{"perspective-origin":E()}],rotate:[{rotate:em()}],"rotate-x":[{"rotate-x":em()}],"rotate-y":[{"rotate-y":em()}
1],"rotate-z":[{"rotate-z":em()}],scale:[{scale:ep()}],"scale-x":[{"scale-x":ep()}],"scale-y":[{"scale-y":ep()}],"scale-z":[{"scale-z":ep()}],"scale-3d":["scale-3d"],skew:[{skew:eh()}],"skew-x":[{"skew-x":eh()}],"skew-y":[{"skew-y":eh()}],transform:[{transform:[V,F,"","none","gpu","cpu"]}],"transform-origin":[{origin:E()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:eg()}],"translate-x":[{"translate-x":eg()}],"translate-y":[{"translate-y":eg()}],"translate-z":[{"translate-z":eg()}],"translate-none":["translate-none"],accent:[{accent:er()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:er()}],"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",V,F]}],"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":R()}],"scroll-mx":[{"scroll-mx":R()}],"scroll-my":[{"scroll-my":R()}],"scroll-ms":[{"scroll-ms":R()}],"scroll-me":[{"scroll-me":R()}],"scroll-mt":[{"scroll-mt":R()}],"scroll-mr":[{"scroll-mr":R()}],"scroll-mb":[{"scroll-mb":R()}],"scroll-ml":[{"scroll-ml":R()}],"scroll-p":[{"scroll-p":R()}],"scroll-px":[{"scroll-px":R()}],"scroll-py":[{"scroll-py":R()}],"scroll-ps":[{"scroll-ps":R()}],"scroll-pe":[{"scroll-pe":R()}],"scroll-pt":[{"scroll-pt":R()}],"scroll-pr":[{"scroll-pr":R()}],"scroll-pb":[{"scroll-pb":R()}],"scroll-pl":[{"scroll-pl":R()}],"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",V,F]}],fill:[{fill:["none",...er()]}],"stroke-w":[{stroke:[N,G,H,W]}],stroke:[{stroke:["none",...er()]}],"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-x","border-w-y","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-x","border-color-y","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:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function es(...e){return el(t(e))}e.s(["cn",()=>es],75157)},89268,e=>{"use strict";var t=e.i(86890);function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function n(...e){return t=>{let n=!1,o=e.map(e=>
1{let o=r(e,t);return n||"function"!=typeof o||(n=!0),o});if(n)return()=>{for(let t=0;t<o.length;t++){let n=o[t];"function"==typeof n?n():r(e[t],null)}}}}function o(...e){return t.useCallback(n(...e),e)}e.s(["composeRefs",()=>n,"useComposedRefs",()=>o])},91967,94185,37471,70672,e=>{"use strict";function t(e,r,{checkForDefaultPrevented:n=!0}={}){return function(t){if(e?.(t),!1===n||!t.defaultPrevented)return r?.(t)}}"undefined"!=typeof window&&window.document&&window.document.createElement,e.s(["composeEventHandlers",()=>t],91967);var r=e.i(86890),n=e.i(32032);function o(e,t){let o=r.createContext(t),i=e=>{let{children:t,...i}=e,a=r.useMemo(()=>i,Object.values(i));return(0,n.jsx)(o.Provider,{value:a,children:t})};return i.displayName=e+"Provider",[i,function(n){let i=r.useContext(o);if(i)return i;if(void 0!==t)return t;throw Error(`\`${n}\` must be used within \`${e}\``)}]}function i(e,t=[]){let o=[],a=()=>{let t=o.map(e=>r.createContext(e));return function(n){let o=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])}};return a.scopeName=e,[function(t,i){let a=r.createContext(i),l=o.length;o=[...o,i];let s=t=>{let{scope:o,children:i,...s}=t,c=o?.[e]?.[l]||a,u=r.useMemo(()=>s,Object.values(s));return(0,n.jsx)(c.Provider,{value:u,children:i})};return s.displayName=t+"Provider",[s,function(n,o){let s=o?.[e]?.[l]||a,c=r.useContext(s);if(c)return c;if(void 0!==i)return i;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=n.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}(a,...t)]}e.s(["createContext",()=>o,"createContextScope",()=>i],94185);var a=globalThis?.document?r.useLayoutEffect:()=>{};e.s(["useLayoutEffect",()=>a],37471),r[" useEffectEvent ".trim().toString()],r[" useInsertionEffect ".trim().toString()];var l=r[" useInsertionEffect ".trim().toString()]||a;function s({prop:e,defaultProp:t,onChange:n=()=>{},caller:o}){let[i,a,s]=function({defaultProp:e,onChange:t}){let[n,o]=r.useState(e),i=r.useRef(n),a=r.useRef(t);return l(()=>{a.current=t},[t]),r.useEffect(()=>{i.current!==n&&(a.current?.(n),i.current=n)},[n,i]),[n,o,a]}({defaultProp:t,onChange:n}),c=void 0!==e,u=c?e:i;{let t=r.useRef(void 0!==e);r.useEffect(()=>{let e=t.current;if(e!==c){let t=c?"controlled":"uncontrolled";console.warn(`${o} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=c},[c,o])}return[u,r.useCallback(t=>{if(c){let r="function"==typeof t?t(e):t;r!==e&&s.current?.(r)}else a(t)},[c,e,a,s])]}Symbol("RADIX:SYNC_STATE"),e.s(["useControllableState",()=>s],70672)},92480,68018,e=>{"use strict";var t=e.i(86890),r=e.i(69309),n=e.i(89268),o=e.i(32032);function i(e){var r;let i,a=(r=e,(i=t.forwardRef((e,r)=>{let{children:o,...i}=e;if(t.isValidElement(o)){var a;let e,l,s=(a=o,(l=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(l=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),c=function(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}(i,o.props);return o.type!==t.Fragment&&(c.ref=r?(0,n.composeRefs)(r,s):s),t.cloneElement(o,c)}return t.Children.count(o)>1?t.Children.only(null):null})).displayName=`${r}.SlotClone`,i),l=t.forwardRef((e,r)=>{let{children:n,...i}=e,l=t.Children.toArray(n),c=l.find(s);if(c){let e=c.props.children,n=l.map(r=>r!==c?r:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,o.jsx)(a,{...i,ref:r,children:t.isValidElement(e)?t.cloneElement(e,void 0,n):null})}return(0,o.jsx)(a,{...i,ref:r,children:n})});return l.displayName=`${e}.Slot`,l}var a=Symbol("radix.slottable");function l(e){let t=({children:e})=>(0,o.jsx)(o.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=a,t}function s(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===a}e.s(["createSlot",()=>i,"createSlottable",()=>l],68018);var c=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{let n=i(`Primitive.${r}`),a=t.forwardRef((e,t)=>
1{let{asChild:i,...a}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(i?n:r,{...a,ref:t})});return a.displayName=`Primitive.${r}`,{...e,[r]:a}},{});function u(e,t){e&&r.flushSync(()=>e.dispatchEvent(t))}e.s(["Primitive",()=>c,"dispatchDiscreteCustomEvent",()=>u],92480)},67768,e=>{"use strict";var t=e.i(86890);function r(e){let r=t.useRef(e);return t.useEffect(()=>{r.current=e}),t.useMemo(()=>(...e)=>r.current?.(...e),[])}e.s(["useCallbackRef",()=>r])},95895,e=>{"use strict";var t,r=e.i(86890),n=e.i(91967),o=e.i(92480),i=e.i(89268),a=e.i(67768),l=e.i(32032),s="dismissableLayer.update",c=r.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),u=r.forwardRef((e,u)=>{let{disableOutsidePointerEvents:m=!1,onEscapeKeyDown:p,onPointerDownOutside:h,onFocusOutside:g,onInteractOutside:v,onDismiss:b,...y}=e,w=r.useContext(c),[x,E]=r.useState(null),C=x?.ownerDocument??globalThis?.document,[,k]=r.useState({}),R=(0,i.useComposedRefs)(u,e=>E(e)),S=Array.from(w.layers),[P]=[...w.layersWithOutsidePointerEventsDisabled].slice(-1),N=S.indexOf(P),A=x?S.indexOf(x):-1,M=w.layersWithOutsidePointerEventsDisabled.size>0,O=A>=N,T=function(e,t=globalThis?.document){let n=(0,a.useCallbackRef)(e),o=r.useRef(!1),i=r.useRef(()=>{});return r.useEffect(()=>{let e=e=>{if(e.target&&!o.current){let r=function(){f("dismissableLayer.pointerDownOutside",n,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=r,t.addEventListener("click",i.current,{once:!0})):r()}else t.removeEventListener("click",i.current);o.current=!1},r=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(r),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>o.current=!0}}(e=>{let t=e.target,r=[...w.branches].some(e=>e.contains(t));O&&!r&&(h?.(e),v?.(e),e.defaultPrevented||b?.())},C),L=function(e,t=globalThis?.document){let n=(0,a.useCallbackRef)(e),o=r.useRef(!1);return r.useEffect(()=>{let e=e=>{e.target&&!o.current&&f("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{let t=e.target;![...w.branches].some(e=>e.contains(t))&&(g?.(e),v?.(e),e.defaultPrevented||b?.())},C);return!function(e,t=globalThis?.document){let n=(0,a.useCallbackRef)(e);r.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{A===w.layers.size-1&&(p?.(e),!e.defaultPrevented&&b&&(e.preventDefault(),b()))},C),r.useEffect(()=>{if(x)return m&&(0===w.layersWithOutsidePointerEventsDisabled.size&&(t=C.body.style.pointerEvents,C.body.style.pointerEvents="none"),w.layersWithOutsidePointerEventsDisabled.add(x)),w.layers.add(x),d(),()=>{m&&1===w.layersWithOutsidePointerEventsDisabled.size&&(C.body.style.pointerEvents=t)}},[x,C,m,w]),r.useEffect(()=>()=>{x&&(w.layers.delete(x),w.layersWithOutsidePointerEventsDisabled.delete(x),d())},[x,w]),r.useEffect(()=>{let e=()=>k({});return document.addEventListener(s,e),()=>document.removeEventListener(s,e)},[]),(0,l.jsx)(o.Primitive.div,{...y,ref:R,style:{pointerEvents:M?O?"auto":"none":void 0,...e.style},onFocusCapture:(0,n.composeEventHandlers)(e.onFocusCapture,L.onFocusCapture),onBlurCapture:(0,n.composeEventHandlers)(e.onBlurCapture,L.onBlurCapture),onPointerDownCapture:(0,n.composeEventHandlers)(e.onPointerDownCapture,T.onPointerDownCapture)})});function d(){let e=new CustomEvent(s);document.dispatchEvent(e)}function f(e,t,r,{discrete:n}){let i=r.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&i.addEventListener(e,t,{once:!0}),n?(0,o.dispatchDiscreteCustomEvent)(i,a):i.dispatchEvent(a)}u.displayName="DismissableLayer",r.forwardRef((e,t)=>{let n=r.useContext(c),a=r.useRef(null),s=(0,i.useComposedRefs)(t,a);return r.useEffect(()=>{let e=a.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,l.jsx)(o.Primitive.div,{...e,ref:s})}
1).displayName="DismissableLayerBranch",e.s(["DismissableLayer",()=>u],95895)},78518,e=>{"use strict";var t=e.i(86890),r=0;function n(){t.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??o()),document.body.insertAdjacentElement("beforeend",e[1]??o()),r++,()=>{1===r&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),r--}},[])}function o(){let 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}e.s(["useFocusGuards",()=>n])},38801,e=>{"use strict";let t;var r=e.i(86890),n=e.i(89268),o=e.i(92480),i=e.i(67768),a=e.i(32032),l="focusScope.autoFocusOnMount",s="focusScope.autoFocusOnUnmount",c={bubbles:!1,cancelable:!0},u=r.forwardRef((e,t)=>{let{loop:u=!1,trapped:h=!1,onMountAutoFocus:g,onUnmountAutoFocus:v,...b}=e,[y,w]=r.useState(null),x=(0,i.useCallbackRef)(g),E=(0,i.useCallbackRef)(v),C=r.useRef(null),k=(0,n.useComposedRefs)(t,e=>w(e)),R=r.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;r.useEffect(()=>{if(h){let e=function(e){if(R.paused||!y)return;let t=e.target;y.contains(t)?C.current=t:m(C.current,{select:!0})},t=function(e){if(R.paused||!y)return;let t=e.relatedTarget;null!==t&&(y.contains(t)||m(C.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&m(y)});return y&&r.observe(y,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[h,y,R.paused]),r.useEffect(()=>{if(y){p.add(R);let e=document.activeElement;if(!y.contains(e)){let t=new CustomEvent(l,c);y.addEventListener(l,x),y.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(m(n,{select:t}),document.activeElement!==r)return}(d(y).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&m(y))}return()=>{y.removeEventListener(l,x),setTimeout(()=>{let t=new CustomEvent(s,c);y.addEventListener(s,E),y.dispatchEvent(t),t.defaultPrevented||m(e??document.body,{select:!0}),y.removeEventListener(s,E),p.remove(R)},0)}}},[y,x,E,R]);let S=r.useCallback(e=>{if(!u&&!h||R.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=document.activeElement;if(t&&r){var n;let t,o=e.currentTarget,[i,a]=[f(t=d(n=o),n),f(t.reverse(),n)];i&&a?e.shiftKey||r!==a?e.shiftKey&&r===i&&(e.preventDefault(),u&&m(a,{select:!0})):(e.preventDefault(),u&&m(i,{select:!0})):r===o&&e.preventDefault()}},[u,h,R.paused]);return(0,a.jsx)(o.Primitive.div,{tabIndex:-1,...b,ref:k,onKeyDown:S})});function d(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function f(e,t){for(let r of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(r,{upTo:t}))return r}function m(e,{select:t=!1}={}){if(e&&e.focus){var r;let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&(r=e)instanceof HTMLInputElement&&"select"in r&&t&&e.select()}}u.displayName="FocusScope";var p=(t=[],{add(e){let r=t[0];e!==r&&r?.pause(),(t=h(t,e)).unshift(e)},remove(e){t=h(t,e),t[0]?.resume()}});function h(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}e.s(["FocusScope",()=>u])},20344,e=>{"use strict";var t=e.i(86890),r=e.i(37471),n=t[" useId ".trim().toString()]||(()=>void 0),o=0;function i(e){let[i,a]=t.useState(n());return(0,r.useLayoutEffect)(()=>{e||a(e=>e??String(o++))},[e]),e||(i?`radix-${i}`:"")}e.s(["useId",()=>i])},10895,22957,e=>{"use strict";let t=["top","right","bottom","left"],r=t.reduce((e,t)=>
1e.concat(t,t+"-start",t+"-end"),[]),n=Math.min,o=Math.max,i=Math.round,a=Math.floor,l=e=>({x:e,y:e}),s={left:"right",right:"left",bottom:"top",top:"bottom"},c={start:"end",end:"start"};function u(e,t){return"function"==typeof e?e(t):e}function d(e){return e.split("-")[0]}function f(e){return e.split("-")[1]}function m(e){return"x"===e?"y":"x"}function p(e){return"y"===e?"height":"width"}let h=new Set(["top","bottom"]);function g(e){return h.has(d(e))?"y":"x"}function v(e,t,r){void 0===r&&(r=!1);let n=f(e),o=m(g(e)),i=p(o),a="x"===o?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=C(a)),[a,C(a)]}function b(e){return e.replace(/start|end/g,e=>c[e])}let y=["left","right"],w=["right","left"],x=["top","bottom"],E=["bottom","top"];function C(e){return e.replace(/left|right|bottom|top/g,e=>s[e])}function k(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function R(e){let{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function S(e,t,r){let n,{reference:o,floating:i}=e,a=g(t),l=m(g(t)),s=p(l),c=d(t),u="y"===a,h=o.x+o.width/2-i.width/2,v=o.y+o.height/2-i.height/2,b=o[s]/2-i[s]/2;switch(c){case"top":n={x:h,y:o.y-i.height};break;case"bottom":n={x:h,y:o.y+o.height};break;case"right":n={x:o.x+o.width,y:v};break;case"left":n={x:o.x-i.width,y:v};break;default:n={x:o.x,y:o.y}}switch(f(t)){case"start":n[l]-=b*(r&&u?-1:1);break;case"end":n[l]+=b*(r&&u?-1:1)}return n}let P=async(e,t,r)=>{let{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:a}=r,l=i.filter(Boolean),s=await (null==a.isRTL?void 0:a.isRTL(t)),c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=S(c,n,s),f=n,m={},p=0;for(let r=0;r<l.length;r++){let{name:i,fn:h}=l[r],{x:g,y:v,data:b,reset:y}=await h({x:u,y:d,initialPlacement:n,placement:f,strategy:o,middlewareData:m,rects:c,platform:a,elements:{reference:e,floating:t}});u=null!=g?g:u,d=null!=v?v:d,m={...m,[i]:{...m[i],...b}},y&&p<=50&&(p++,"object"==typeof y&&(y.placement&&(f=y.placement),y.rects&&(c=!0===y.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):y.rects),{x:u,y:d}=S(c,f,s)),r=-1)}return{x:u,y:d,placement:f,strategy:o,middlewareData:m}};async function N(e,t){var r;void 0===t&&(t={});let{x:n,y:o,platform:i,rects:a,elements:l,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:m=!1,padding:p=0}=u(t,e),h=k(p),g=l[m?"floating"===f?"reference":"floating":f],v=R(await i.getClippingRect({element:null==(r=await (null==i.isElement?void 0:i.isElement(g)))||r?g:g.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:c,rootBoundary:d,strategy:s})),b="floating"===f?{x:n,y:o,width:a.floating.width,height:a.floating.height}:a.reference,y=await (null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),w=await (null==i.isElement?void 0:i.isElement(y))&&await (null==i.getScale?void 0:i.getScale(y))||{x:1,y:1},x=R(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:b,offsetParent:y,strategy:s}):b);return{top:(v.top-x.top+h.top)/w.y,bottom:(x.bottom-v.bottom+h.bottom)/w.y,left:(v.left-x.left+h.left)/w.x,right:(x.right-v.right+h.right)/w.x}}function A(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function M(e){return t.some(t=>e[t]>=0)}function O(e){let t=n(...e.map(e=>e.left)),r=n(...e.map(e=>e.top));return{x:t,y:r,width:o(...e.map(e=>e.right))-t,height:o(...e.map(e=>e.bottom))-r}}let T=new Set(["left","top"]);async function L(e,t){let{placement:r,platform:n,elements:o}=e,i=await (null==n.isRTL?void 0:n.isRTL(o.floating)),a=d(r),l=f(r),s="y"===g(r),c=T.has(a)?-1:1,m=i&&s?-1:1,p=u(t,e),{mainAxis:h,crossAxis:v,alignmentAxis:b}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return l&&"number"==typeof b&&(v="end"===l?-1*b:b),s?{x:v*m,y:h*c}:{x:h*c,y:v*m}}function D(){return"undefined"!=typeof window}function _(e){return j(e)?(e.nodeName||"").toLowerCase():"#document"}function I(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function z(e){var t;return null==(t=(j(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function j(e){return!!D()&&(e instanceof Node||e instanceof I(e).Node)}function F(e){return!!D()&&(e instanceof Element||e instanceof I(e).Element)}function H(e){return!!D()&&(e instanceof HTMLElement||e instanceof I(e).HTMLElement)}function W(e){return!!D()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof I(e).ShadowRoot)}let B=new Set(["inline","contents"]);function $(e){let{overflow:t,overflowX:r,overflowY:n,display:o}=ee(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!B.has(o)}let U=new Set(["table","td","th"]),V=[":popover-open",":modal"];function G(e){return V.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let Y=["transform","translate","scale","rotate","perspective"],Q=["transform","translate","scale","rotate","perspective","filter"],K=["paint","layout","strict","content"];function X(e){let t=q(),r=F(e)?ee(e):e;return Y.some(e=>!!r[e]&&"none"!==r[e])||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||Q.some(e=>(r.willChange||"").includes(e))||K.some(e=>(r.contain||"").includes(e))}function q(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let Z=new Set(["html","body","#document"]);function J(e){return Z.has(_(e))}function ee(e){return I(e).getComputedStyle(e)}function et(e){return F(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function er(e){if("html"===_(e))return e;let t=e.assignedSlot||e.parentNode||W(e)&&e.host||z(e);return W(t)?t.host:t}function en(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);let o=function e(t){let r=er(t);return J(r)?t.ownerDocument?t.ownerDocument.body:t.body:H(r)&&$(r)?r:e(r)}(e),i=o===(null==(n=e.ownerDocument)?void 0:n.body),a=I(o);if(i){let e=eo(a);
1return t.concat(a,a.visualViewport||[],$(o)?o:[],e&&r?en(e):[])}return t.concat(o,en(o,[],r))}function eo(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ei(e){let t=ee(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,o=H(e),a=o?e.offsetWidth:r,l=o?e.offsetHeight:n,s=i(r)!==a||i(n)!==l;return s&&(r=a,n=l),{width:r,height:n,$:s}}function ea(e){return F(e)?e:e.contextElement}function el(e){let t=ea(e);if(!H(t))return l(1);let r=t.getBoundingClientRect(),{width:n,height:o,$:a}=ei(t),s=(a?i(r.width):r.width)/n,c=(a?i(r.height):r.height)/o;return s&&Number.isFinite(s)||(s=1),c&&Number.isFinite(c)||(c=1),{x:s,y:c}}let es=l(0);function ec(e){let t=I(e);return q()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:es}function eu(e,t,r,n){var o;void 0===t&&(t=!1),void 0===r&&(r=!1);let i=e.getBoundingClientRect(),a=ea(e),s=l(1);t&&(n?F(n)&&(s=el(n)):s=el(e));let c=(void 0===(o=r)&&(o=!1),n&&(!o||n===I(a))&&o)?ec(a):l(0),u=(i.left+c.x)/s.x,d=(i.top+c.y)/s.y,f=i.width/s.x,m=i.height/s.y;if(a){let e=I(a),t=n&&F(n)?I(n):n,r=e,o=eo(r);for(;o&&n&&t!==r;){let e=el(o),t=o.getBoundingClientRect(),n=ee(o),i=t.left+(o.clientLeft+parseFloat(n.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(n.paddingTop))*e.y;u*=e.x,d*=e.y,f*=e.x,m*=e.y,u+=i,d+=a,o=eo(r=I(o))}}return R({width:f,height:m,x:u,y:d})}function ed(e,t){let r=et(e).scrollLeft;return t?t.left+r:eu(z(e)).left+r}function ef(e,t){let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-ed(e,r),y:r.top+t.scrollTop}}let em=new Set(["absolute","fixed"]);function ep(e,t,r){var n;let i;if("viewport"===t)i=function(e,t){let r=I(e),n=z(e),o=r.visualViewport,i=n.clientWidth,a=n.clientHeight,l=0,s=0;if(o){i=o.width,a=o.height;let e=q();(!e||e&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}let c=ed(n);if(c<=0){let e=n.ownerDocument,t=e.body,r=getComputedStyle(t),o="CSS1Compat"===e.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,a=Math.abs(n.clientWidth-t.clientWidth-o);a<=25&&(i-=a)}else c<=25&&(i+=c);return{width:i,height:a,x:l,y:s}}(e,r);else if("document"===t){let t,r,a,l,s,c,u;n=z(e),t=z(n),r=et(n),a=n.ownerDocument.body,l=o(t.scrollWidth,t.clientWidth,a.scrollWidth,a.clientWidth),s=o(t.scrollHeight,t.clientHeight,a.scrollHeight,a.clientHeight),c=-r.scrollLeft+ed(n),u=-r.scrollTop,"rtl"===ee(a).direction&&(c+=o(t.clientWidth,a.clientWidth)-l),i={width:l,height:s,x:c,y:u}}else if(F(t)){let e,n,o,a,s,c;n=(e=eu(t,!0,"fixed"===r)).top+t.clientTop,o=e.left+t.clientLeft,a=H(t)?el(t):l(1),s=t.clientWidth*a.x,c=t.clientHeight*a.y,i={width:s,height:c,x:o*a.x,y:n*a.y}}else{let r=ec(e);i={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return R(i)}function eh(e){return"static"===ee(e).position}function eg(e,t){if(!H(e)||"fixed"===ee(e).position)return null;if(t)return t(e);let r=e.offsetParent;return z(e)===r&&(r=r.ownerDocument.body),r}function ev(e,t){var r;let n=I(e);if(G(e))return n;if(!H(e)){let t=er(e);for(;t&&!J(t);){if(F(t)&&!eh(t))return t;t=er(t)}return n}let o=eg(e,t);for(;o&&(r=o,U.has(_(r)))&&eh(o);)o=eg(o,t);return o&&J(o)&&eh(o)&&!X(o)?n:o||function(e){let t=er(e);for(;H(t)&&!J(t);){if(X(t))return t;if(G(t))break;t=er(t)}return null}(e)||n}let eb=async function(e){let t=this.getOffsetParent||ev,r=this.getDimensions,n=await r(e.floating);return{reference:function(e,t,r){let n=H(t),o=z(t),i="fixed"===r,a=eu(e,!0,i,t),s={scrollLeft:0,scrollTop:0},c=l(0);if(n||!n&&!i)if(("body"!==_(t)||$(o))&&(s=et(t)),n){let e=eu(t,!0,i,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else o&&(c.x=ed(o));i&&!n&&o&&(c.x=ed(o));let u=!o||n||i?l(0):ef(o,s);return{x:a.left+s.scrollLeft-c.x-u.x,y:a.top+s.scrollTop-c.y-u.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},ey={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e,i="fixed"===o,a=z(n),s=!!t&&G(t.floating);if(n===a||s&&i)return r;let c={scrollLeft:0,scrollTop:0},u=l(1),d=l(0),f=H(n);if((f||!f&&!i)&&(("body"!==_(n)||$(a))&&(c=et(n)),H(n))){let e=eu(n);u=el(n),d.x=e.x+n.clientLeft,d.y=e.y+n.clientTop}let m=!a||f||i?l(0):ef(a,c);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-c.scrollLeft*u.x+d.x+m.x,y:r.y*u.y-c.scrollTop*u.y+d.y+m.y}},getDocumentElement:z,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:i,strategy:a}=e,l=[..."clippingAncestors"===r?G(t)?[]:function(e,t){let r=t.get(e);if(r)return r;let n=en(e,[],!1).filter(e=>F(e)&&"body"!==_(e)),o=null,i="fixed"===ee(e).position,a=i?er(e):e;for(;F(a)&&!J(a);){let t=ee(a),r=X(a);r||"fixed"!==t.position||(o=null),(i?!r&&!o:!r&&"static"===t.position&&!!o&&em.has(o.position)||$(a)&&!r&&function e(t,r){let n=er(t);return!(n===r||!F(n)||J(n))&&("fixed"===ee(n).position||e(n,r))}(e,a))?n=n.filter(e=>e!==a):o=t,a=er(a)}return t.set(e,n),n}(t,this._c):[].concat(r),i],s=l[0],c=l.reduce((e,r)=>{let i=ep(t,r,a);return e.top=o(i.top,e.top),e.right=n(i.right,e.right),e.bottom=n(i.bottom,e.bottom),e.left=o(i.left,e.left),e},ep(t,s,a));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:ev,getElementRects:eb,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:r}=ei(e);return{width:t,height:r}},getScale:el,isElement:F,isRTL:function(e){return"rtl"===ee(e).direction}};function ew(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ex(e,t,r,i){let l;void 0===i&&(i={});let{ancestorScroll:s=!0,ancestorResize:c=!0,elementResize:u="function"==typeof ResizeObserver,layoutShift:d="function"==typeof IntersectionObserver,animationFrame:f=!1}=i,m=ea(e),p=s||c?[...m?en(m):[],...en(t)]:[];
1p.forEach(e=>{s&&e.addEventListener("scroll",r,{passive:!0}),c&&e.addEventListener("resize",r)});let h=m&&d?function(e,t){let r,i=null,l=z(e);function s(){var e;clearTimeout(r),null==(e=i)||e.disconnect(),i=null}return!function c(u,d){void 0===u&&(u=!1),void 0===d&&(d=1),s();let f=e.getBoundingClientRect(),{left:m,top:p,width:h,height:g}=f;if(u||t(),!h||!g)return;let v={rootMargin:-a(p)+"px "+-a(l.clientWidth-(m+h))+"px "+-a(l.clientHeight-(p+g))+"px "+-a(m)+"px",threshold:o(0,n(1,d))||1},b=!0;function y(t){let n=t[0].intersectionRatio;if(n!==d){if(!b)return c();n?c(!1,n):r=setTimeout(()=>{c(!1,1e-7)},1e3)}1!==n||ew(f,e.getBoundingClientRect())||c(),b=!1}try{i=new IntersectionObserver(y,{...v,root:l.ownerDocument})}catch(e){i=new IntersectionObserver(y,v)}i.observe(e)}(!0),s}(m,r):null,g=-1,v=null;u&&(v=new ResizeObserver(e=>{let[n]=e;n&&n.target===m&&v&&(v.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=v)||e.observe(t)})),r()}),m&&!f&&v.observe(m),v.observe(t));let b=f?eu(e):null;return f&&function t(){let n=eu(e);b&&!ew(b,n)&&r(),b=n,l=requestAnimationFrame(t)}(),r(),()=>{var e;p.forEach(e=>{s&&e.removeEventListener("scroll",r),c&&e.removeEventListener("resize",r)}),null==h||h(),null==(e=v)||e.disconnect(),v=null,f&&cancelAnimationFrame(l)}}let eE=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;let{x:o,y:i,placement:a,middlewareData:l}=t,s=await L(t,e);return a===(null==(r=l.offset)?void 0:r.placement)&&null!=(n=l.arrow)&&n.alignmentOffset?{}:{x:o+s.x,y:i+s.y,data:{...s,placement:a}}}}},eC=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,o,i,a;let{rects:l,middlewareData:s,placement:c,platform:m,elements:p}=t,{crossAxis:h=!1,alignment:g,allowedPlacements:y=r,autoAlignment:w=!0,...x}=u(e,t),E=void 0!==g||y===r?((a=g||null)?[...y.filter(e=>f(e)===a),...y.filter(e=>f(e)!==a)]:y.filter(e=>d(e)===e)).filter(e=>!a||f(e)===a||!!w&&b(e)!==e):y,C=await N(t,x),k=(null==(n=s.autoPlacement)?void 0:n.index)||0,R=E[k];if(null==R)return{};let S=v(R,l,await (null==m.isRTL?void 0:m.isRTL(p.floating)));if(c!==R)return{reset:{placement:E[0]}};let P=[C[d(R)],C[S[0]],C[S[1]]],A=[...(null==(o=s.autoPlacement)?void 0:o.overflows)||[],{placement:R,overflows:P}],M=E[k+1];if(M)return{data:{index:k+1,overflows:A},reset:{placement:M}};let O=A.map(e=>{let t=f(e.placement);return[e.placement,t&&h?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),T=(null==(i=O.filter(e=>e[2].slice(0,f(e[0])?2:3).every(e=>e<=0))[0])?void 0:i[0])||O[0][0];return T!==c?{data:{index:k+1,overflows:A},reset:{placement:T}}:{}}}},ek=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:i,placement:a}=t,{mainAxis:l=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...f}=u(e,t),p={x:r,y:i},h=await N(t,f),v=g(d(a)),b=m(v),y=p[b],w=p[v];if(l){let e="y"===b?"top":"left",t="y"===b?"bottom":"right",r=y+h[e],i=y-h[t];y=o(r,n(y,i))}if(s){let e="y"===v?"top":"left",t="y"===v?"bottom":"right",r=w+h[e],i=w-h[t];w=o(r,n(w,i))}let x=c.fn({...t,[b]:y,[v]:w});return{...x,data:{x:x.x-r,y:x.y-i,enabled:{[b]:l,[v]:s}}}}}},eR=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,n,o,i,a;let l,s,c,{placement:m,middlewareData:p,rects:h,initialPlacement:k,platform:R,elements:S}=t,{mainAxis:P=!0,crossAxis:A=!0,fallbackPlacements:M,fallbackStrategy:O="bestFit",fallbackAxisSideDirection:T="none",flipAlignment:L=!0,...D}=u(e,t);if(null!=(r=p.arrow)&&r.alignmentOffset)return{};let _=d(m),I=g(k),z=d(k)===k,j=await (null==R.isRTL?void 0:R.isRTL(S.floating)),F=M||(z||!L?[C(k)]:(l=C(k),[b(k),l,b(l)])),H="none"!==T;!M&&H&&F.push(...(s=f(k),c=function(e,t,r){switch(e){case"top":case"bottom":if(r)return t?w:y;return t?y:w;case"left":case"right":return t?x:E;default:return[]}}(d(k),"start"===T,j),s&&(c=c.map(e=>e+"-"+s),L&&(c=c.concat(c.map(b)))),c));let W=[k,...F],B=await N(t,D),$=[],U=(null==(n=p.flip)?void 0:n.overflows)||[];if(P&&$.push(B[_]),A){let e=v(m,h,j);$.push(B[e[0]],B[e[1]])}if(U=[...U,{placement:m,overflows:$}],!$.every(e=>e<=0)){let e=((null==(o=p.flip)?void 0:o.index)||0)+1,t=W[e];if(t&&("alignment"!==A||I===g(t)||U.every(e=>g(e.placement)!==I||e.overflows[0]>0)))return{data:{index:e,overflows:U},reset:{placement:t}};let r=null==(i=U.filter(e=>e.overflows[0]<=0).sort((e,t)=>
1e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!r)switch(O){case"bestFit":{let e=null==(a=U.filter(e=>{if(H){let t=g(e.placement);return t===I||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:a[0];e&&(r=e);break}case"initialPlacement":r=k}if(m!==r)return{reset:{placement:r}}}return{}}}},eS=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var r,i;let a,l,{placement:s,rects:c,platform:m,elements:p}=t,{apply:h=()=>{},...v}=u(e,t),b=await N(t,v),y=d(s),w=f(s),x="y"===g(s),{width:E,height:C}=c.floating;"top"===y||"bottom"===y?(a=y,l=w===(await (null==m.isRTL?void 0:m.isRTL(p.floating))?"start":"end")?"left":"right"):(l=y,a="end"===w?"top":"bottom");let k=C-b.top-b.bottom,R=E-b.left-b.right,S=n(C-b[a],k),P=n(E-b[l],R),A=!t.middlewareData.shift,M=S,O=P;if(null!=(r=t.middlewareData.shift)&&r.enabled.x&&(O=R),null!=(i=t.middlewareData.shift)&&i.enabled.y&&(M=k),A&&!w){let e=o(b.left,0),t=o(b.right,0),r=o(b.top,0),n=o(b.bottom,0);x?O=E-2*(0!==e||0!==t?e+t:o(b.left,b.right)):M=C-2*(0!==r||0!==n?r+n:o(b.top,b.bottom))}await h({...t,availableWidth:O,availableHeight:M});let T=await m.getDimensions(p.floating);return E!==T.width||C!==T.height?{reset:{rects:!0}}:{}}}},eP=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:r}=t,{strategy:n="referenceHidden",...o}=u(e,t);switch(n){case"referenceHidden":{let e=A(await N(t,{...o,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:M(e)}}}case"escaped":{let e=A(await N(t,{...o,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:M(e)}}}default:return{}}}}},eN=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:i,placement:a,rects:l,platform:s,elements:c,middlewareData:d}=t,{element:h,padding:v=0}=u(e,t)||{};if(null==h)return{};let b=k(v),y={x:r,y:i},w=m(g(a)),x=p(w),E=await s.getDimensions(h),C="y"===w,R=C?"clientHeight":"clientWidth",S=l.reference[x]+l.reference[w]-y[w]-l.floating[x],P=y[w]-l.reference[w],N=await (null==s.getOffsetParent?void 0:s.getOffsetParent(h)),A=N?N[R]:0;A&&await (null==s.isElement?void 0:s.isElement(N))||(A=c.floating[R]||l.floating[x]);let M=A/2-E[x]/2-1,O=n(b[C?"top":"left"],M),T=n(b[C?"bottom":"right"],M),L=A-E[x]-T,D=A/2-E[x]/2+(S/2-P/2),_=o(O,n(D,L)),I=!d.arrow&&null!=f(a)&&D!==_&&l.reference[x]/2-(D<O?O:T)-E[x]/2<0,z=I?D<O?D-O:D-L:0;return{[w]:y[w]+z,data:{[w]:_,centerOffset:D-_-z,...I&&{alignmentOffset:z}},reset:I}}}),eA=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){let{placement:r,elements:i,rects:a,platform:l,strategy:s}=t,{padding:c=2,x:f,y:m}=u(e,t),p=Array.from(await (null==l.getClientRects?void 0:l.getClientRects(i.reference))||[]),h=function(e){let t=e.slice().sort((e,t)=>e.y-t.y),r=[],n=null;for(let e=0;e<t.length;e++){let o=t[e];!n||o.y-n.y>n.height/2?r.push([o]):r[r.length-1].push(o),n=o}return r.map(e=>R(O(e)))}(p),v=R(O(p)),b=k(c),y=await l.getElementRects({reference:{getBoundingClientRect:function(){if(2===h.length&&h[0].left>h[1].right&&null!=f&&null!=m)return h.find(e=>f>e.left-b.left&&f<e.right+b.right&&m>e.top-b.top&&m<e.bottom+b.bottom)||v;if(h.length>=2){if("y"===g(r)){let e=h[0],t=h[h.length-1],n="top"===d(r),o=e.top,i=t.bottom,a=n?e.left:t.left,l=n?e.right:t.right;return{top:o,bottom:i,left:a,right:l,width:l-a,height:i-o,x:a,y:o}}let e="left"===d(r),t=o(...h.map(e=>e.right)),i=n(...h.map(e=>e.left)),a=h.filter(r=>e?r.left===i:r.right===t),l=a[0].top,s=a[a.length-1].bottom;return{top:l,bottom:s,left:i,right:t,width:t-i,height:s-l,x:i,y:l}}return v}},floating:i.floating,strategy:s});return a.reference.x!==y.reference.x||a.reference.y!==y.reference.y||a.reference.width!==y.reference.width||a.reference.height!==y.reference.height?{reset:{rects:y}}:{}}}},eM=function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:r,y:n,placement:o,rects:i,middlewareData:a}=t,{offset:l=0,mainAxis:s=!0,crossAxis:c=!0}=u(e,t),f={x:r,y:n},p=g(o),h=m(p),v=f[h],b=f[p],y=u(l,t),w="number"==typeof y?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(s){let e="y"===h?"height":"width",t=i.reference[h]-i.floating[e]+w.mainAxis,r=i.reference[h]+i.reference[e]-w.mainAxis;v<t?v=t:v>r&&(v=r)}if(c){var x,E;let e="y"===h?"width":"height",t=T.has(d(o)),r=i.reference[p]-i.floating[e]+(t&&(null==(x=a.offset)?void 0:x[p])||0)+(t?0:w.crossAxis),n=i.reference[p]+i.reference[e]+(t?0:(null==(E=a.offset)?void 0:E[p])||0)-(t?w.crossAxis:0);b<r?b=r:b>n&&(b=n)}return{[h]:v,[p]:b}}}},eO=(e,t,r)=>{let n=new Map,o={platform:ey,...r},i={...o.platform,_c:n};return P(e,t,{...o,platform:i})};e.s(["arrow",()=>eN,"autoPlacement",()=>eC,"autoUpdate",()=>ex,"computePosition",()=>eO,"flip",()=>eR,"hide",()=>eP,"inline",()=>eA,"limitShift",()=>eM,"offset",()=>eE,"shift",()=>ek,"size",()=>eS],22957);var eT=e.i(86890),eL=e.i(69309),eD="undefined"!=typeof document?eT.useLayoutEffect:function(){};function e_(e,t){let r,n,o;if(e===t)return!0;
1if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((r=e.length)!==t.length)return!1;for(n=r;0!=n--;)if(!e_(e[n],t[n]))return!1;return!0}if((r=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(t,o[n]))return!1;for(n=r;0!=n--;){let r=o[n];if(("_owner"!==r||!e.$$typeof)&&!e_(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function eI(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ez(e,t){let r=eI(e);return Math.round(t*r)/r}function ej(e){let t=eT.useRef(e);return eD(()=>{t.current=e}),t}function eF(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:i,floating:a}={},transform:l=!0,whileElementsMounted:s,open:c}=e,[u,d]=eT.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[f,m]=eT.useState(n);e_(f,n)||m(n);let[p,h]=eT.useState(null),[g,v]=eT.useState(null),b=eT.useCallback(e=>{e!==E.current&&(E.current=e,h(e))},[]),y=eT.useCallback(e=>{e!==C.current&&(C.current=e,v(e))},[]),w=i||p,x=a||g,E=eT.useRef(null),C=eT.useRef(null),k=eT.useRef(u),R=null!=s,S=ej(s),P=ej(o),N=ej(c),A=eT.useCallback(()=>{if(!E.current||!C.current)return;let e={placement:t,strategy:r,middleware:f};P.current&&(e.platform=P.current),eO(E.current,C.current,e).then(e=>{let t={...e,isPositioned:!1!==N.current};M.current&&!e_(k.current,t)&&(k.current=t,eL.flushSync(()=>{d(t)}))})},[f,t,r,P,N]);eD(()=>{!1===c&&k.current.isPositioned&&(k.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[c]);let M=eT.useRef(!1);eD(()=>(M.current=!0,()=>{M.current=!1}),[]),eD(()=>{if(w&&(E.current=w),x&&(C.current=x),w&&x){if(S.current)return S.current(w,x,A);A()}},[w,x,A,S,R]);let O=eT.useMemo(()=>({reference:E,floating:C,setReference:b,setFloating:y}),[b,y]),T=eT.useMemo(()=>({reference:w,floating:x}),[w,x]),L=eT.useMemo(()=>{let e={position:r,left:0,top:0};if(!T.floating)return e;let t=ez(T.floating,u.x),n=ez(T.floating,u.y);return l?{...e,transform:"translate("+t+"px, "+n+"px)",...eI(T.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,l,T.floating,u.x,u.y]);return eT.useMemo(()=>({...u,update:A,refs:O,elements:T,floatingStyles:L}),[u,A,O,T,L])}let eH=(e,t)=>({...eE(e),options:[e,t]}),eW=(e,t)=>({...ek(e),options:[e,t]}),eB=(e,t)=>({...eM(e),options:[e,t]}),e$=(e,t)=>({...eR(e),options:[e,t]}),eU=(e,t)=>({...eS(e),options:[e,t]}),eV=(e,t)=>({...eP(e),options:[e,t]}),eG=(e,t)=>({name:"arrow",options:e,fn(t){let{element:r,padding:n}="function"==typeof e?e(t):e;return r&&({}).hasOwnProperty.call(r,"current")?null!=r.current?eN({element:r.current,padding:n}).fn(t):{}:r?eN({element:r,padding:n}).fn(t):{}},options:[e,t]});e.s(["arrow",()=>eG,"flip",()=>e$,"hide",()=>eV,"limitShift",()=>eB,"offset",()=>eH,"shift",()=>eW,"size",()=>eU,"useFloating",()=>eF],10895)},4597,e=>{"use strict";var t=e.i(86890),r=e.i(92480),n=e.i(32032),o=t.forwardRef((e,t)=>{let{children:o,width:i=10,height:a=5,...l}=e;return(0,n.jsx)(r.Primitive.svg,{...l,ref:t,width:i,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?o:(0,n.jsx)("polygon",{points:"0,0 30,0 15,10"})})});o.displayName="Arrow",e.s(["Root",()=>o])},5037,90404,38389,20092,e=>{"use strict";var t=e.i(86890),r=e.i(10895),n=e.i(22957),o=e.i(4597),i=e.i(89268),a=e.i(94185),l=e.i(92480),s=e.i(67768),c=e.i(37471);function u(e){let[r,n]=t.useState(void 0);return(0,c.useLayoutEffect)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,o;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,o=t.blockSize}else r=e.offsetWidth,o=e.offsetHeight;n({width:r,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),r}e.s(["useSize",()=>u],90404);var d=e.i(32032),f="Popper",[m,p]=(0,a.createContextScope)(f),[h,g]=m(f),v=e=>{let{__scopePopper:r,children:n}=e,[o,i]=t.useState(null);return(0,d.jsx)(h,{scope:r,anchor:o,onAnchorChange:i,children:n})};v.displayName=f;var b="PopperAnchor",y=t.forwardRef((e,r)=>{let{__scopePopper:n,virtualRef:o,...a}=e,s=g(b,n),c=t.useRef(null),u=(0,i.useComposedRefs)(r,c),f=t.useRef(null);return t.useEffect(()=>{let e=f.current;f.current=o?.current||c.current,e!==f.current&&s.onAnchorChange(f.current)}),o?null:(0,d.jsx)(l.Primitive.div,{...a,ref:u})});y.displayName=b;var w="PopperContent",[x,E]=m(w),C=t.forwardRef((e,o)=>{let{__scopePopper:a,side:f="bottom",sideOffset:m=0,align:p="center",alignOffset:h=0,arrowPadding:v=0,avoidCollisions:b=!0,collisionBoundary:y=[],collisionPadding:E=0,sticky:C="partial",hideWhenDetached:k=!1,updatePositionStrategy:R="optimized",onPlaced:S,...M}=e,O=g(w,a),[T,L]=t.useState(null),D=(0,i.useComposedRefs)(o,e=>L(e)),[_,I]=t.useState(null),z=u(_),j=z?.width??0,F=z?.height??0,H="number"==typeof E?E:{top:0,right:0,bottom:0,left:0,...E},W=Array.isArray(y)?y:[y],B=W.length>0,$={padding:H,boundary:W.filter(P),altBoundary:B},{refs:U,floatingStyles:V,placement:G,isPositioned:Y,middlewareData:Q}=(0,r.useFloating)({strategy:"fixed",placement:f+("center"!==p?"-"+p:""),whileElementsMounted:(...e)=>(0,n.autoUpdate)(...e,{animationFrame:"always"===R}),elements:{reference:O.anchor},middleware:[(0,r.offset)({mainAxis:m+F,alignmentAxis:h}),b&&(0,r.shift)({mainAxis:!0,crossAxis:!1,limiter:"partial"===C?(0,r.limitShift)():void 0,...$}),b&&(0,r.flip)({...$}),(0,r.size)({...$,apply:({elements:e,rects:t,availableWidth:r,availableHeight:n})=>{let{width:o,height:i}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${r}px`),a.setProperty("--radix-popper-available-height",`${n}px`),a.setProperty("--radix-popper-anchor-width",`${o}px`),a.setProperty("--radix-popper-anchor-height",`${i}px`)}}),_&&(0,r.arrow)({element:_,padding:v}),N({arrowWidth:j,arrowHeight:F}
1),k&&(0,r.hide)({strategy:"referenceHidden",...$})]}),[K,X]=A(G),q=(0,s.useCallbackRef)(S);(0,c.useLayoutEffect)(()=>{Y&&q?.()},[Y,q]);let Z=Q.arrow?.x,J=Q.arrow?.y,ee=Q.arrow?.centerOffset!==0,[et,er]=t.useState();return(0,c.useLayoutEffect)(()=>{T&&er(window.getComputedStyle(T).zIndex)},[T]),(0,d.jsx)("div",{ref:U.setFloating,"data-radix-popper-content-wrapper":"",style:{...V,transform:Y?V.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:et,"--radix-popper-transform-origin":[Q.transformOrigin?.x,Q.transformOrigin?.y].join(" "),...Q.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,d.jsx)(x,{scope:a,placedSide:K,onArrowChange:I,arrowX:Z,arrowY:J,shouldHideArrow:ee,children:(0,d.jsx)(l.Primitive.div,{"data-side":K,"data-align":X,...M,ref:D,style:{...M.style,animation:Y?void 0:"none"}})})})});C.displayName=w;var k="PopperArrow",R={top:"bottom",right:"left",bottom:"top",left:"right"},S=t.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,i=E(k,r),a=R[i.placedSide];return(0,d.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,d.jsx)(o.Root,{...n,ref:t,style:{...n.style,display:"block"}})})});function P(e){return null!==e}S.displayName=k;var N=e=>({name:"transformOrigin",options:e,fn(t){let{placement:r,rects:n,middlewareData:o}=t,i=o.arrow?.centerOffset!==0,a=i?0:e.arrowWidth,l=i?0:e.arrowHeight,[s,c]=A(r),u={start:"0%",center:"50%",end:"100%"}[c],d=(o.arrow?.x??0)+a/2,f=(o.arrow?.y??0)+l/2,m="",p="";return"bottom"===s?(m=i?u:`${d}px`,p=`${-l}px`):"top"===s?(m=i?u:`${d}px`,p=`${n.floating.height+l}px`):"right"===s?(m=`${-l}px`,p=i?u:`${f}px`):"left"===s&&(m=`${n.floating.width+l}px`,p=i?u:`${f}px`),{data:{x:m,y:p}}}});function A(e){let[t,r="center"]=e.split("-");return[t,r]}e.s(["Anchor",()=>y,"Arrow",()=>S,"Content",()=>C,"Root",()=>v,"createPopperScope",()=>p],5037);var M=e.i(69309),O=t.forwardRef((e,r)=>{let{container:n,...o}=e,[i,a]=t.useState(!1);(0,c.useLayoutEffect)(()=>a(!0),[]);let s=n||i&&globalThis?.document?.body;return s?M.default.createPortal((0,d.jsx)(l.Primitive.div,{...o,ref:r}),s):null});O.displayName="Portal",e.s(["Portal",()=>O],38389);var T=e=>{var r;let n,o,{present:a,children:l}=e,s=function(e){var r,n;let[o,i]=t.useState(),a=t.useRef(null),l=t.useRef(e),s=t.useRef("none"),[u,d]=(r=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>n[e][t]??e,r));return t.useEffect(()=>{let e=L(a.current);s.current="mounted"===u?e:"none"},[u]),(0,c.useLayoutEffect)(()=>{let t=a.current,r=l.current;if(r!==e){let n=s.current,o=L(t);e?d("MOUNT"):"none"===o||t?.display==="none"?d("UNMOUNT"):r&&n!==o?d("ANIMATION_OUT"):d("UNMOUNT"),l.current=e}},[e,d]),(0,c.useLayoutEffect)(()=>{if(o){let e,t=o.ownerDocument.defaultView??window,r=r=>{let n=L(a.current).includes(CSS.escape(r.animationName));if(r.target===o&&n&&(d("ANIMATION_END"),!l.current)){let r=o.style.animationFillMode;o.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=r)})}},n=e=>{e.target===o&&(s.current=L(a.current))};return o.addEventListener("animationstart",n),o.addEventListener("animationcancel",r),o.addEventListener("animationend",r),()=>{t.clearTimeout(e),o.removeEventListener("animationstart",n),o.removeEventListener("animationcancel",r),o.removeEventListener("animationend",r)}}d("ANIMATION_END")},[o,d]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:t.useCallback(e=>{a.current=e?getComputedStyle(e):null,i(e)},[])}}(a),u="function"==typeof l?l({present:s.isPresent}):t.Children.only(l),d=(0,i.useComposedRefs)(s.ref,(r=u,(o=(n=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning)?r.ref:(o=(n=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning)?r.props.ref:r.props.ref||r.ref));return"function"==typeof l||s.isPresent?t.cloneElement(u,{ref:d}):null};function L(e){return e?.animationName||"none"}T.displayName="Presence",e.s(["Presence",()=>T],20092)},73772,e=>{"use strict";var t=new WeakMap,r=new WeakMap,n={},o=0,i=function(e){return e&&(e.host||i(e.parentNode))},a=function(e,a,l,s){var c=(Array.isArray(e)?e:[e]).map(function(e){if(a.contains(e))return e;var t=i(e);return t&&a.contains(t)?t:(console.error("aria-hidden",e,"in not contained inside",a,". Doing nothing"),null)}).filter(function(e){return!!e});n[l]||(n[l]=new WeakMap);var u=n[l],d=[],f=new Set,m=new Set(c),p=function(e){!e||f.has(e)||(f.add(e),p(e.parentNode))};
1c.forEach(p);var h=function(e){!e||m.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))h(e);else try{var n=e.getAttribute(s),o=null!==n&&"false"!==n,i=(t.get(e)||0)+1,a=(u.get(e)||0)+1;t.set(e,i),u.set(e,a),d.push(e),1===i&&o&&r.set(e,!0),1===a&&e.setAttribute(l,"true"),o||e.setAttribute(s,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return h(a),f.clear(),o++,function(){d.forEach(function(e){var n=t.get(e)-1,o=u.get(e)-1;t.set(e,n),u.set(e,o),n||(r.has(e)||e.removeAttribute(s),r.delete(e)),o||e.removeAttribute(l)}),--o||(t=new WeakMap,t=new WeakMap,r=new WeakMap,n={})}},l=function(e,t,r){void 0===r&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live], script"))),a(n,o,r,"aria-hidden")):function(){return null}};e.s(["hideOthers",()=>l])},8825,e=>{"use strict";var t,r,n,o,i,a,l,s=e.i(24627),c=e.i(86890),u="right-scroll-bar-position",d="width-before-scroll-bar";function f(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var m="undefined"!=typeof window?c.useLayoutEffect:c.useEffect,p=new WeakMap,h=(void 0===t&&(t={}),(void 0===r&&(r=function(e){return e}),n=[],o=!1,i={read:function(){if(o)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:null},useMedium:function(e){var t=r(e,o);return n.push(t),function(){n=n.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(o=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){o=!0;var t=[];if(n.length){var r=n;n=[],r.forEach(e),t=n}var i=function(){var r=t;t=[],r.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}}).options=(0,s.__assign)({async:!0,ssr:!1},t),i),g=function(){},v=c.forwardRef(function(e,t){var r,n,o,i,a=c.useRef(null),l=c.useState({onScrollCapture:g,onWheelCapture:g,onTouchMoveCapture:g}),u=l[0],d=l[1],v=e.forwardProps,b=e.children,y=e.className,w=e.removeScrollBar,x=e.enabled,E=e.shards,C=e.sideCar,k=e.noRelative,R=e.noIsolation,S=e.inert,P=e.allowPinchZoom,N=e.as,A=e.gapMode,M=(0,s.__rest)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),O=(r=[a,t],n=function(e){return r.forEach(function(t){return f(t,e)})},(o=(0,c.useState)(function(){return{value:null,callback:n,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=n,i=o.facade,m(function(){var e=p.get(i);if(e){var t=new Set(e),n=new Set(r),o=i.current;t.forEach(function(e){n.has(e)||f(e,null)}),n.forEach(function(e){t.has(e)||f(e,o)})}p.set(i,r)},[r]),i),T=(0,s.__assign)((0,s.__assign)({},M),u);return c.createElement(c.Fragment,null,x&&c.createElement(C,{sideCar:h,removeScrollBar:w,shards:E,noRelative:k,noIsolation:R,inert:S,setCallbacks:d,allowPinchZoom:!!P,lockRef:a,gapMode:A}),v?c.cloneElement(c.Children.only(b),(0,s.__assign)((0,s.__assign)({},T),{ref:O})):c.createElement(void 0===N?"div":N,(0,s.__assign)({},T,{className:y,ref:O}),b))});v.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},v.classNames={fullWidth:d,zeroRight:u};var b=function(e){var t=e.sideCar,r=(0,s.__rest)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw Error("Sidecar medium not found");return c.createElement(n,(0,s.__assign)({},r))};b.isSideCarExport=!0;var y=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=l||("undefined"!=typeof __webpack_nonce__?__webpack_nonce__:void 0);return t&&e.setAttribute("nonce",t),e}())){var n,o;(n=t).styleSheet?n.styleSheet.cssText=r:n.appendChild(document.createTextNode(r)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},w=function(){var e=y();return function(t,r){c.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},x=function(){var e=w();return function(t){return e(t.styles,t.dynamic),null}},E={left:0,top:0,right:0,gap:0},C=function(e){return parseInt(e||"",10)||0},k=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[C(r),C(n),C(o)]},R=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return E;var t=k(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},S=x(),P="data-scroll-locked",N=function(e,t,r,n){var o=e.left,i=e.top,a=e.right,l=e.gap;return void 0===r&&(r="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(n,";\n   padding-right: ").concat(l,"px ").concat(n,";\n  }\n  body[").concat(P,"] {\n    overflow: hidden ").concat(n,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n    padding-left: ".concat(o,"px;\n    padding-top: ").concat(i,"px;\n    padding-right: ").concat(a,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(l,"px ").concat(n,";\n    "),"padding"===r&&"padding-right: ".concat(l,"px ").concat(n,";
1")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(u," {\n    right: ").concat(l,"px ").concat(n,";\n  }\n  \n  .").concat(d," {\n    margin-right: ").concat(l,"px ").concat(n,";\n  }\n  \n  .").concat(u," .").concat(u," {\n    right: 0 ").concat(n,";\n  }\n  \n  .").concat(d," .").concat(d," {\n    margin-right: 0 ").concat(n,";\n  }\n  \n  body[").concat(P,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(l,"px;\n  }\n")},A=function(){var e=parseInt(document.body.getAttribute(P)||"0",10);return isFinite(e)?e:0},M=function(){c.useEffect(function(){return document.body.setAttribute(P,(A()+1).toString()),function(){var e=A()-1;e<=0?document.body.removeAttribute(P):document.body.setAttribute(P,e.toString())}},[])},O=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=void 0===n?"margin":n;M();var i=c.useMemo(function(){return R(o)},[o]);return c.createElement(S,{styles:N(i,!t,o,r?"":"!important")})},T=!1;if("undefined"!=typeof window)try{var L=Object.defineProperty({},"passive",{get:function(){return T=!0,!0}});window.addEventListener("test",L,L),window.removeEventListener("test",L,L)}catch(e){T=!1}var D=!!T&&{passive:!1},_=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&(r.overflowY!==r.overflowX||"TEXTAREA"===e.tagName||"visible"!==r[t])},I=function(e,t){var r=t.ownerDocument,n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),z(e,n)){var o=j(e,n);if(o[1]>o[2])return!0}n=n.parentNode}while(n&&n!==r.body)return!1},z=function(e,t){return"v"===e?_(t,"overflowY"):_(t,"overflowX")},j=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},F=function(e,t,r,n,o){var i,a=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),l=a*n,s=r.target,c=t.contains(s),u=!1,d=l>0,f=0,m=0;do{if(!s)break;var p=j(e,s),h=p[0],g=p[1]-p[2]-a*h;(h||g)&&z(e,s)&&(f+=g,m+=h);var v=s.parentNode;s=v&&v.nodeType===Node.DOCUMENT_FRAGMENT_NODE?v.host:v}while(!c&&s!==document.body||c&&(t.contains(s)||t===s))return d&&(o&&1>Math.abs(f)||!o&&l>f)?u=!0:!d&&(o&&1>Math.abs(m)||!o&&-l>m)&&(u=!0),u},H=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},W=function(e){return[e.deltaX,e.deltaY]},B=function(e){return e&&"current"in e?e.current:e},$=0,U=[];let V=(a=function(e){var t=c.useRef([]),r=c.useRef([0,0]),n=c.useRef(),o=c.useState($++)[0],i=c.useState(x)[0],a=c.useRef(e);c.useEffect(function(){a.current=e},[e]),c.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(0,s.__spreadArray)([e.lockRef.current],(e.shards||[]).map(B),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var l=c.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!a.current.allowPinchZoom;var o,i=H(e),l=r.current,s="deltaX"in e?e.deltaX:l[0]-i[0],c="deltaY"in e?e.deltaY:l[1]-i[1],u=e.target,d=Math.abs(s)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var f=window.getSelection(),m=f&&f.anchorNode;if(m&&(m===u||m.contains(u)))return!1;var p=I(d,u);if(!p)return!0;if(p?o=d:(o="v"===d?"h":"v",p=I(d,u)),!p)return!1;if(!n.current&&"changedTouches"in e&&(s||c)&&(n.current=o),!o)return!0;var h=n.current||o;return F(h,t,e,"h"===h?s:c,!0)},[]),u=c.useCallback(function(e){if(U.length&&U[U.length-1]===i){var r="deltaY"in e?W(e):H(e),n=t.current.filter(function(t){var n;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(n=t.delta,n[0]===r[0]&&n[1]===r[1])})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}if(!n){var o=(a.current.shards||[]).map(B).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?l(e,o[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),d=c.useCallback(function(e,r,n,o){var i={name:e,delta:r,target:n,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(n)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),f=c.useCallback(function(e){r.current=H(e),n.current=void 0},[]),m=c.useCallback(function(t){d(t.type,W(t),t.target,l(t,e.lockRef.current))},[]),p=c.useCallback(function(t){d(t.type,H(t),t.target,l(t,e.lockRef.current))},[]);c.useEffect(function(){return U.push(i),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:p}),document.addEventListener("wheel",u,D),document.addEventListener("touchmove",u,D),document.addEventListener("touchstart",f,D),function(){U=U.filter(function(e){return e!==i}),document.removeEventListener("wheel",u,D),document.removeEventListener("touchmove",u,D),document.removeEventListener("touchstart",f,D)}},[]);var h=e.removeScrollBar,g=e.inert;return c.createElement(c.Fragment,null,g?c.createElement(i,{styles:"\n  .block-interactivity-".concat(o," {pointer-events: none;}\n  .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,h?c.createElement(O,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},h.useMedium(a),b);var G=c.forwardRef(function(e,t){return c.createElement(v,(0,s.__assign)({},e,{ref:t,sideCar:V}))});G.classNames=v.classNames,e.s(["RemoveScroll",0,G],8825)},8681,e=>{"use strict";var t,r=e.i(86890),n=e.i(91967),o=e.i(94185),i=e.i(70672),a=e.i(89268),l=e.i(5037),s=e.i(38389),c=e.i(20092),u=e.i(92480),d=e.i(95895),f=e.i(32032),m="HoverCard",[p,h]=(0,o.createContextScope)(m,[l.createPopperScope]),g=(0,l.createPopperScope)(),[v,b]=p(m),y=e=>{let{__scopeHoverCard:t,children:n,open:o,defaultOpen:a,onOpenChange:s,openDelay:c=700,closeDelay:u=300}=e,d=g(t),p=r.useRef(0),h=r.useRef(0),b=r.useRef(!1),y=r.useRef(!1),[w,x]=(0,i.useControllableState)({prop:o,defaultProp:a??!1,onChange:s,caller:m}),E=r.useCallback(()=>{clearTimeout(h.current),p.current=window.setTimeout(()=>x(!0),c)},[c,x]),C=r.useCallback(()=>{clearTimeout(p.current),b.current||y.current||(h.current=window.setTimeout(()=>x(!1),u))},[u,x]),k=r.useCallback(()=>x(!1),[x]);return r.useEffect(()=>()=>{clearTimeout(p.current),clearTimeout(h.current)},[]),(0,f.jsx)(v,{scope:t,open:w,onOpenChange:x,onOpen:E,onClose:C,onDismiss:k,hasSelectionRef:b,isPointerDownOnContentRef:y,children:(0,f.jsx)(l.Root,{...d,children:n})})};y.displayName=m;var w="HoverCardTrigger",x=r.forwardRef((e,t)=>
1{let{__scopeHoverCard:r,...o}=e,i=b(w,r),a=g(r);return(0,f.jsx)(l.Anchor,{asChild:!0,...a,children:(0,f.jsx)(u.Primitive.a,{"data-state":i.open?"open":"closed",...o,ref:t,onPointerEnter:(0,n.composeEventHandlers)(e.onPointerEnter,A(i.onOpen)),onPointerLeave:(0,n.composeEventHandlers)(e.onPointerLeave,A(i.onClose)),onFocus:(0,n.composeEventHandlers)(e.onFocus,i.onOpen),onBlur:(0,n.composeEventHandlers)(e.onBlur,i.onClose),onTouchStart:(0,n.composeEventHandlers)(e.onTouchStart,e=>e.preventDefault())})})});x.displayName=w;var E="HoverCardPortal",[C,k]=p(E,{forceMount:void 0}),R=e=>{let{__scopeHoverCard:t,forceMount:r,children:n,container:o}=e,i=b(E,t);return(0,f.jsx)(C,{scope:t,forceMount:r,children:(0,f.jsx)(c.Presence,{present:r||i.open,children:(0,f.jsx)(s.Portal,{asChild:!0,container:o,children:n})})})};R.displayName=E;var S="HoverCardContent",P=r.forwardRef((e,t)=>{let r=k(S,e.__scopeHoverCard),{forceMount:o=r.forceMount,...i}=e,a=b(S,e.__scopeHoverCard);return(0,f.jsx)(c.Presence,{present:o||a.open,children:(0,f.jsx)(N,{"data-state":a.open?"open":"closed",...i,onPointerEnter:(0,n.composeEventHandlers)(e.onPointerEnter,A(a.onOpen)),onPointerLeave:(0,n.composeEventHandlers)(e.onPointerLeave,A(a.onClose)),ref:t})})});P.displayName=S;var N=r.forwardRef((e,o)=>{let{__scopeHoverCard:i,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:u,onInteractOutside:m,...p}=e,h=b(S,i),v=g(i),y=r.useRef(null),w=(0,a.useComposedRefs)(o,y),[x,E]=r.useState(!1);return r.useEffect(()=>{if(x){let e=document.body;return t=e.style.userSelect||e.style.webkitUserSelect,e.style.userSelect="none",e.style.webkitUserSelect="none",()=>{e.style.userSelect=t,e.style.webkitUserSelect=t}}},[x]),r.useEffect(()=>{if(y.current){let e=()=>{E(!1),h.isPointerDownOnContentRef.current=!1,setTimeout(()=>{document.getSelection()?.toString()!==""&&(h.hasSelectionRef.current=!0)})};return document.addEventListener("pointerup",e),()=>{document.removeEventListener("pointerup",e),h.hasSelectionRef.current=!1,h.isPointerDownOnContentRef.current=!1}}},[h.isPointerDownOnContentRef,h.hasSelectionRef]),r.useEffect(()=>{y.current&&(function(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});for(;r.nextNode();)t.push(r.currentNode);return t})(y.current).forEach(e=>e.setAttribute("tabindex","-1"))}),(0,f.jsx)(d.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:!1,onInteractOutside:m,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:(0,n.composeEventHandlers)(u,e=>{e.preventDefault()}),onDismiss:h.onDismiss,children:(0,f.jsx)(l.Content,{...v,...p,onPointerDown:(0,n.composeEventHandlers)(p.onPointerDown,e=>{e.currentTarget.contains(e.target)&&E(!0),h.hasSelectionRef.current=!1,h.isPointerDownOnContentRef.current=!0}),ref:w,style:{...p.style,userSelect:x?"text":void 0,WebkitUserSelect:x?"text":void 0,"--radix-hover-card-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-hover-card-content-available-width":"var(--radix-popper-available-width)","--radix-hover-card-content-available-height":"var(--radix-popper-available-height)","--radix-hover-card-trigger-width":"var(--radix-popper-anchor-width)","--radix-hover-card-trigger-height":"var(--radix-popper-anchor-height)"}})})});function A(e){return t=>"touch"===t.pointerType?void 0:e()}r.forwardRef((e,t)=>{let{__scopeHoverCard:r,...n}=e,o=g(r);return(0,f.jsx)(l.Arrow,{...o,...n,ref:t})}).displayName="HoverCardArrow",e.s(["Content",()=>P,"Portal",()=>R,"Root",()=>y,"Trigger",()=>x])},36589,e=>{"use strict";var t=e.i(32032),r=e.i(8681),n=e.i(75157);function o({...e}){return(0,t.jsx)(r.Root,{"data-slot":"hover-card",...e})}function i({...e}){return(0,t.jsx)(r.Trigger,{"data-slot":"hover-card-trigger",...e})}function a({className:e,align:o="center",sideOffset:i=4,...a}){return(0,t.jsx)(r.Portal,{"data-slot":"hover-card-portal",children:(0,t.jsx)(r.Content,{"data-slot":"hover-card-content",align:o,sideOffset:i,className:(0,n.cn)("bg-popover text-popover-foreground 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]:sli
1de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-64 origin-(--radix-hover-card-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",e),...a})})}e.s(["HoverCard",()=>o,"HoverCardContent",()=>a,"HoverCardTrigger",()=>i])},39643,e=>{"use strict";let t,r;var n,o,i,a,l,s=e.i(86890),c=Object.defineProperty,u=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,m=(e,t,r)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,p=(e,t)=>{for(var r in t||(t={}))d.call(t,r)&&m(e,r,t[r]);if(u)for(var r of u(t))f.call(t,r)&&m(e,r,t[r]);return e},h=(e,t)=>{var r={};for(var n in e)d.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&u)for(var n of u(e))0>t.indexOf(n)&&f.call(e,n)&&(r[n]=e[n]);return r};(e=>{let t=class t{constructor(e,r,n,i){if(this.version=e,this.errorCorrectionLevel=r,this.modules=[],this.isFunction=[],e<t.MIN_VERSION||e>t.MAX_VERSION)throw RangeError("Version value out of range");if(i<-1||i>7)throw RangeError("Mask value out of range");this.size=4*e+17;let a=[];for(let e=0;e<this.size;e++)a.push(!1);for(let e=0;e<this.size;e++)this.modules.push(a.slice()),this.isFunction.push(a.slice());this.drawFunctionPatterns();const l=this.addEccAndInterleave(n);if(this.drawCodewords(l),-1==i){let e=1e9;for(let t=0;t<8;t++){this.applyMask(t),this.drawFormatBits(t);const r=this.getPenaltyScore();r<e&&(i=t,e=r),this.applyMask(t)}}o(0<=i&&i<=7),this.mask=i,this.applyMask(i),this.drawFormatBits(i),this.isFunction=[]}static encodeText(r,n){let o=e.QrSegment.makeSegments(r);return t.encodeSegments(o,n)}static encodeBinary(r,n){let o=e.QrSegment.makeBytes(r);return t.encodeSegments([o],n)}static encodeSegments(e,n,i=1,l=40,s=-1,c=!0){let u,d;if(!(t.MIN_VERSION<=i&&i<=l&&l<=t.MAX_VERSION)||s<-1||s>7)throw RangeError("Invalid value");for(u=i;;u++){let r=8*t.getNumDataCodewords(u,n),o=a.getTotalBits(e,u);if(o<=r){d=o;break}if(u>=l)throw RangeError("Data too long")}for(let e of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])c&&d<=8*t.getNumDataCodewords(u,e)&&(n=e);let f=[];for(let t of e)for(let e of(r(t.mode.modeBits,4,f),r(t.numChars,t.mode.numCharCountBits(u),f),t.getData()))f.push(e);o(f.length==d);let m=8*t.getNumDataCodewords(u,n);o(f.length<=m),r(0,Math.min(4,m-f.length),f),r(0,(8-f.length%8)%8,f),o(f.length%8==0);for(let e=236;f.length<m;e^=253)r(e,8,f);let p=[];for(;8*p.length<f.length;)p.push(0);return f.forEach((e,t)=>p[t>>>3]|=e<<7-(7&t)),new t(u,n,p,s)}getModule(e,t){return 0<=e&&e<this.size&&0<=t&&t<this.size&&this.modules[t][e]}getModules(){return this.modules}drawFunctionPatterns(){for(let e=0;e<this.size;e++)this.setFunctionModule(6,e,e%2==0),this.setFunctionModule(e,6,e%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);let e=this.getAlignmentPatternPositions(),t=e.length;for(let r=0;r<t;r++)for(let n=0;n<t;n++)(0!=r||0!=n)&&(0!=r||n!=t-1)&&(r!=t-1||0!=n)&&this.drawAlignmentPattern(e[r],e[n]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(e){let t=this.errorCorrectionLevel.formatBits<<3|e,r=t;for(let e=0;e<10;e++)r=r<<1^(r>>>9)*1335;let i=(t<<10|r)^21522;o(i>>>15==0);for(let e=0;e<=5;e++)this.setFunctionModule(8,e,n(i,e));this.setFunctionModule(8,7,n(i,6)),this.setFunctionModule(8,8,n(i,7)),this.setFunctionModule(7,8,n(i,8));for(let e=9;e<15;e++)this.setFunctionModule(14-e,8,n(i,e));for(let e=0;e<8;e++)this.setFunctionModule(this.size-1-e,8,n(i,e));for(let e=8;e<15;e++)this.setFunctionModule(8,this.size-15+e,n(i,e));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let e=this.version;for(let t=0;t<12;t++)e=e<<1^(e>>>11)*7973;let t=this.version<<12|e;o(t>>>18==0);for(let e=0;e<18;e++){let r=n(t,e),o=this.size-11+e%3,i=Math.floor(e/3);this.setFunctionModule(o,i,r),this.setFunctionModule(i,o,r)}}drawFinderPattern(e,t){for(let r=-4;r<=4;r++)for(let n=-4;n<=4;n++){let o=Math.max(Math.abs(n),Math.abs(r)),i=e+n,a=t+r;0<=i&&i<this.size&&0<=a&&a<this.size&&this.setFunctionModule(i,a,2!=o&&4!=o)}}drawAlignmentPattern(e,t){for(let r=-2;r<=2;r++)for(let n=-2;n<=2;n++)this.setFunctionModule(e+n,t+r,1!=Math.max(Math.abs(n),Math.abs(r)))}setFunctionModule(e,t,r){this.modules[t][e]=r,this.isFunction[t][e]=!0}addEccAndInterleave(e){let r=this.version,n=this.errorCorrectionLevel;if(e.length!=t.getNumDataCodewords(r,n))throw RangeError("Invalid argument");let i=t.NUM_ERROR_CORRECTION_BLOCKS[n.ordinal][r],a=t.ECC_CODEWORDS_PER_BLOCK[n.ordinal][r],l=Math.floor(t.getNumRawDataModules(r)/8),s=i-l%i,c=Math.floor(l/i),u=[],d=t.reedSolomonComputeDivisor(a);for(let r=0,n=0;r<i;r++){let o=e.slice(n,n+c-a+(r<s?0:1));n+=o.length;let i=t.reedSolomonComputeRemainder(o,d);r<s&&o.push(0),u.push(o.concat(i))}let f=[];for(let e=0;e<u[0].length;e++)u.forEach((t,r)=>{(e!=c-a||r>=s)&&f.push(t[e])});return o(f.length==l),f}drawCodewords(e){if(e.length!=Math.floor(t.getNumRawDataModules(this.version)/8))throw RangeError("Invalid argument");let r=0;for(let t=this.size-1;t>=1;t-=2){6==t&&(t=5);for(let o=0;o<this.size;o++)for(let i=0;i<2;i++){let a=t-i,l=(t+1&2)==0?this.size-1-o:o;!this.isFunction[l][a]&&r<8*e.length&&(this.modules[l][a]=n(e[r>>>3],7-(7&r)),r++)}}o(r==8*e.length)}applyMask(e){if(e<0||e>7)throw RangeError("Mask value out of range");for(let t=0;t<this.size;t++)for(let r=0;r<this.size;r++){let n;switch(e){case 0:n=(r+t)%2==0;break;case 1:n=t%2==0;break;case 2:n=r%3==0;break;case 3:n=(r+t)%3==0;break;case 4:n=(Math.floor(r/3)+Math.floor(t/2))%2==0;break;case 5:n=r*t%2+r*t%3==0;break;case 6:n=(r*t%2+r*t%3)%2==0;break;case 7:n=((r+t)%2+r*t%3)%2==0;break;default:throw Error("Unreachable")}!this.isFunction[t][r]&&n&&(this.modules[t][r]=!this.modules[t][r])}}getPenaltyScore(){let e=0;for(let r=0;r<this.size;r++){let n=!1,o=0,i=[0,0,0,0,0,0,0];for(let a=0;a<this.size;a++)this.modules[r][a]==n?5==++o?e+=t.PENALTY_N1:o>5&&e++:(this.finderPenaltyAddHistory(o,i),n||(e+=this.finderPenaltyCountPatterns(i)*t.PENALTY_N3),n=this.modules[r][a],o=1);e+=this.finderPenaltyTerminateAndCount(n,o,i)*t.PENALTY_N3}for(let r=0;r<this.size;r++){let n=!1,o=0,i=[0,0,0,0,0,0,0];for(let a=0;a<this.size;a++)this.modules[a][r]==n?5==++o?e+=t.PENALTY_N1:o>5&&e++:(this.finderPenaltyAddHistory(o,i),n||(e+=this.finderPenaltyCountPatterns(i)*t.PENALTY_N3),n=this.modules[a][r],o=1);e+=this.finderPenaltyTerminateAndCount(n,o,i)*t.PENALTY_N3}for(let r=0;r<this.size-1;r++)for(let n=0;n<this.size-1;n++){let o=this.modules[r][n];o==this.modules[r][n+1]&&o==this.modules[r+1][n]&&o==this.modules[r+1][n+1]&&(e+=t.PENALTY_N2)}let r=0;for(let e of this.modules)r=e.reduce((e,t)=>
vendor: 6,309 bytes, line 1
1e+ +!!t,r);let n=this.size*this.size,i=Math.ceil(Math.abs(20*r-10*n)/n)-1;return o(0<=i&&i<=9),o(0<=(e+=i*t.PENALTY_N4)&&e<=2568888),e}getAlignmentPatternPositions(){if(1==this.version)return[];{let e=Math.floor(this.version/7)+2,t=32==this.version?26:2*Math.ceil((4*this.version+4)/(2*e-2)),r=[6];for(let n=this.size-7;r.length<e;n-=t)r.splice(1,0,n);return r}}static getNumRawDataModules(e){if(e<t.MIN_VERSION||e>t.MAX_VERSION)throw RangeError("Version number out of range");let r=(16*e+128)*e+64;if(e>=2){let t=Math.floor(e/7)+2;r-=(25*t-10)*t-55,e>=7&&(r-=36)}return o(208<=r&&r<=29648),r}static getNumDataCodewords(e,r){return Math.floor(t.getNumRawDataModules(e)/8)-t.ECC_CODEWORDS_PER_BLOCK[r.ordinal][e]*t.NUM_ERROR_CORRECTION_BLOCKS[r.ordinal][e]}static reedSolomonComputeDivisor(e){if(e<1||e>255)throw RangeError("Degree out of range");let r=[];for(let t=0;t<e-1;t++)r.push(0);r.push(1);let n=1;for(let o=0;o<e;o++){for(let e=0;e<r.length;e++)r[e]=t.reedSolomonMultiply(r[e],n),e+1<r.length&&(r[e]^=r[e+1]);n=t.reedSolomonMultiply(n,2)}return r}static reedSolomonComputeRemainder(e,r){let n=r.map(e=>0);for(let o of e){let e=o^n.shift();n.push(0),r.forEach((r,o)=>n[o]^=t.reedSolomonMultiply(r,e))}return n}static reedSolomonMultiply(e,t){if(e>>>8!=0||t>>>8!=0)throw RangeError("Byte out of range");let r=0;for(let n=7;n>=0;n--)r=r<<1^(r>>>7)*285^(t>>>n&1)*e;return o(r>>>8==0),r}finderPenaltyCountPatterns(e){let t=e[1];o(t<=3*this.size);let r=t>0&&e[2]==t&&e[3]==3*t&&e[4]==t&&e[5]==t;return(r&&e[0]>=4*t&&e[6]>=t?1:0)+(r&&e[6]>=4*t&&e[0]>=t?1:0)}finderPenaltyTerminateAndCount(e,t,r){return e&&(this.finderPenaltyAddHistory(t,r),t=0),t+=this.size,this.finderPenaltyAddHistory(t,r),this.finderPenaltyCountPatterns(r)}finderPenaltyAddHistory(e,t){0==t[0]&&(e+=this.size),t.pop(),t.unshift(e)}};function r(e,t,r){if(t<0||t>31||e>>>t!=0)throw RangeError("Value out of range");for(let n=t-1;n>=0;n--)r.push(e>>>n&1)}function n(e,t){return(e>>>t&1)!=0}function o(e){if(!e)throw Error("Assertion error")}t.MIN_VERSION=1,t.MAX_VERSION=40,t.PENALTY_N1=3,t.PENALTY_N2=3,t.PENALTY_N3=40,t.PENALTY_N4=10,t.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],t.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=t;let i=class e{constructor(e,t,r){if(this.mode=e,this.numChars=t,this.bitData=r,t<0)throw RangeError("Invalid argument");this.bitData=r.slice()}static makeBytes(t){let n=[];for(let e of t)r(e,8,n);return new e(e.Mode.BYTE,t.length,n)}static makeNumeric(t){if(!e.isNumeric(t))throw RangeError("String contains non-numeric characters");let n=[];for(let e=0;e<t.length;){let o=Math.min(t.length-e,3);r(parseInt(t.substring(e,e+o),10),3*o+1,n),e+=o}return new e(e.Mode.NUMERIC,t.length,n)}static makeAlphanumeric(t){let n;if(!e.isAlphanumeric(t))throw RangeError("String contains unencodable characters in alphanumeric mode");let o=[];for(n=0;n+2<=t.length;n+=2){let i=45*e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(n));r(i+=e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(n+1)),11,o)}return n<t.length&&r(e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(n)),6,o),new e(e.Mode.ALPHANUMERIC,t.length,o)}static makeSegments(t){return""==t?[]:e.isNumeric(t)?[e.makeNumeric(t)]:e.isAlphanumeric(t)?[e.makeAlphanumeric(t)]:[e.makeBytes(e.toUtf8ByteArray(t))]}static makeEci(t){let n=[];if(t<0)throw RangeError("ECI assignment value out of range");if(t<128)r(t,8,n);else if(t<16384)r(2,2,n),r(t,14,n);else if(t<1e6)r(6,3,n),r(t,21,n);else throw RangeError("ECI assignment value out of range");return new e(e.Mode.ECI,0,n)}static isNumeric(t){return e.NUMERIC_REGEX.test(t)}static isAlphanumeric(t){return e.ALPHANUMERIC_REGEX.test(t)}getData(){return this.bitData.slice()}static getTotalBits(e,t){let r=0;for(let n of e){let e=n.mode.numCharCountBits(t);if(n.numChars>=1<<e)return 1/0;r+=4+e+n.bitData.length}return r}static toUtf8ByteArray(e){e=encodeURI(e);let t=[];for(let r=0;r<e.length;r++)"%"!=e.charAt(r)?t.push(e.charCodeAt(r)):(t.push(parseInt(e.substring(r+1,r+3),16)),r+=2);return t}};i.NUMERIC_REGEX=/^[0-9]*$/,i.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,i.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:";let a=i;e.QrSegment=i})(l||(l={})),o=(n=l||(l={})).QrCode||(n.QrCode={}),(t=class{constructor(e,t){this.ordinal=e,this.formatBits=t}}).LOW=new t(0,1),t.MEDIUM=new t(1,0),t.QUARTILE=new t(2,3),t.HIGH=new t(3,2),o.Ecc=t,a=(i=l||(l={})).QrSegment||(i.QrSegment={}),(r=class{constructor(e,t){this.modeBits=e,this.numBitsCharCount=t}numCharCountBits(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}}).NUMERIC=new r(1,[10,12,14]),r.ALPHANUMERIC=new r(2,[9,11,13]),r.BYTE=new r(4,[8,16,16]),r.KANJI=new r(8,[8,10,12]),r.ECI=new r(7,[0,0,0]),a.Mode=r;var g=l,v={L:g.QrCode.Ecc.LOW,M:g.QrCode.Ecc.MEDIUM,Q:g.QrCode.Ecc.QUARTILE,H:g.QrCode.Ecc.HIGH},b="#FFFFFF",y="#000000";function w(e,t=0){let r=[];return e.forEach(function(e,n){let o=null;e.forEach(function(i,a){if(!i&&null!==o){r.push(`M${o+t} ${n+t}h${a-o}v1H${o+t}z`),o=null;return}if(a===e.length-1){if(!i)return;null===o?r.push(`M${a+t},${n+t} h1v1H${a+t}z`):r.push(`M${o+t},${n+t} h${a+1-o}v1H${o+t}z`);return}i&&null===o&&(o=a)})}),r.join("")}function x(e,t){return e.slice().map((e,r)=>r<t.y||r>=t.y+t.h?e:e.map((e,r)=>(r<t.x||r>=t.x+t.w)&&e))}function E({value:e,level:t,minVersion:r,includeMargin:n,marginSize:o,imageSettings:i,size:a,boostLevel:l}){let c=s.default.useMemo(()=>{let n=(Array.isArray(e)?e:[e]).reduce((e,t)=>
1(e.push(...g.QrSegment.makeSegments(t)),e),[]);return g.QrCode.encodeSegments(n,v[t],r,void 0,void 0,l)},[e,t,r,l]),{cells:u,margin:d,numCells:f,calculatedImageSettings:m}=s.default.useMemo(()=>{let e=c.getModules(),t=null!=o?Math.max(Math.floor(o),0):4*!!n,r=e.length+2*t,l=function(e,t,r,n){if(null==n)return null;let o=e.length+2*r,i=Math.floor(.1*t),a=o/t,l=(n.width||i)*a,s=(n.height||i)*a,c=null==n.x?e.length/2-l/2:n.x*a,u=null==n.y?e.length/2-s/2:n.y*a,d=null==n.opacity?1:n.opacity,f=null;if(n.excavate){let e=Math.floor(c),t=Math.floor(u),r=Math.ceil(l+c-e),n=Math.ceil(s+u-t);f={x:e,y:t,w:r,h:n}}return{x:c,y:u,h:s,w:l,excavation:f,opacity:d,crossOrigin:n.crossOrigin}}(e,a,t,i);return{cells:e,margin:t,numCells:r,calculatedImageSettings:l}},[c,a,i,n,o]);return{qrcode:c,margin:d,cells:u,numCells:f,calculatedImageSettings:m}}var C=function(){try{new Path2D().addPath(new Path2D)}catch(e){return!1}return!0}();s.default.forwardRef(function(e,t){let{value:r,size:n=128,level:o="L",bgColor:i=b,fgColor:a=y,includeMargin:l=!1,minVersion:c=1,boostLevel:u,marginSize:d,imageSettings:f}=e,m=h(e,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","marginSize","imageSettings"]),{style:g}=m,v=h(m,["style"]),k=null==f?void 0:f.src,R=s.default.useRef(null),S=s.default.useRef(null),P=s.default.useCallback(e=>{R.current=e,"function"==typeof t?t(e):t&&(t.current=e)},[t]),[N,A]=s.default.useState(!1),{margin:M,cells:O,numCells:T,calculatedImageSettings:L}=E({value:r,level:o,minVersion:c,boostLevel:u,includeMargin:l,marginSize:d,imageSettings:f,size:n});s.default.useEffect(()=>{if(null!=R.current){let e=R.current,t=e.getContext("2d");if(!t)return;let r=O,o=S.current,l=null!=L&&null!==o&&o.complete&&0!==o.naturalHeight&&0!==o.naturalWidth;l&&null!=L.excavation&&(r=x(O,L.excavation));let s=window.devicePixelRatio||1;e.height=e.width=n*s;let c=n/T*s;t.scale(c,c),t.fillStyle=i,t.fillRect(0,0,T,T),t.fillStyle=a,C?t.fill(new Path2D(w(r,M))):O.forEach(function(e,r){e.forEach(function(e,n){e&&t.fillRect(n+M,r+M,1,1)})}),L&&(t.globalAlpha=L.opacity),l&&t.drawImage(o,L.x+M,L.y+M,L.w,L.h)}}),s.default.useEffect(()=>{A(!1)},[k]);let D=p({height:n,width:n},g),_=null;return null!=k&&(_=s.default.createElement("img",{src:k,key:k,style:{display:"none"},onLoad:()=>{A(!0)},ref:S,crossOrigin:null==L?void 0:L.crossOrigin})),s.default.createElement(s.default.Fragment,null,s.default.createElement("canvas",p({style:D,height:n,width:n,ref:P,role:"img"},v)),_)}).displayName="QRCodeCanvas";var k=s.default.forwardRef(function(e,t){let{value:r,size:n=128,level:o="L",bgColor:i=b,fgColor:a=y,includeMargin:l=!1,minVersion:c=1,boostLevel:u,title:d,marginSize:f,imageSettings:m}=e,g=h(e,["value","size","level","bgColor","fgColor","includeMargin","minVersion","boostLevel","title","marginSize","imageSettings"]),{margin:v,cells:C,numCells:k,calculatedImageSettings:R}=E({value:r,level:o,minVersion:c,boostLevel:u,includeMargin:l,marginSize:f,imageSettings:m,size:n}),S=C,P=null;null!=m&&null!=R&&(null!=R.excavation&&(S=x(C,R.excavation)),P=s.default.createElement("image",{href:m.src,height:R.h,width:R.w,x:R.x+v,y:R.y+v,preserveAspectRatio:"none",opacity:R.opacity,crossOrigin:R.crossOrigin}));let N=w(S,v);return s.default.createElement("svg",p({height:n,width:n,viewBox:`0 0 ${k} ${k}`,ref:t,role:"img"},g),!!d&&s.default.createElement("title",null,d),s.default.createElement("path",{fill:i,d:`M0,0 h${k}v${k}H0z`,shapeRendering:"crispEdges"}),s.default.createElement("path",{fill:a,d:N,shapeRendering:"crispEdges"}),P)});k.displayName="QRCodeSVG",e.s(["QRCodeSVG",()=>k])},39510,23337,e=>{"use strict";var t=e.i(32032),r=e.i(86890),n=e.i(91967),o=e.i(89268),i=e.i(94185),a=e.i(20344),l=e.i(70672),s=e.i(95895),c=e.i(38801),u=e.i(38389),d=e.i(20092),f=e.i(92480),m=e.i(78518),p=e.i(8825),h=e.i(73772),g=e.i(68018),v="Dialog",[b,y]=(0,i.createContextScope)(v),[w,x]=b(v),E=e=>{let{__scopeDialog:n,children:o,open:i,defaultOpen:s,onOpenChange:c,modal:u=!0}=e,d=r.useRef(null),f=r.useRef(null),[m,p]=(0,l.useControllableState)({prop:i,defaultProp:s??!1,onChange:c,caller:v});return(0,t.jsx)(w,{scope:n,triggerRef:d,contentRef:f,contentId:(0,a.useId)(),titleId:(0,a.useId)(),descriptionId:(0,a.useId)(),open:m,onOpenChange:p,onOpenToggle:r.useCallback(()=>p(e=>!e),[p]),modal:u,children:o})};E.displayName=v;var C="DialogTrigger",k=r.forwardRef((e,r)=>{let{__scopeDialog:i,...a}=e,l=x(C,i),s=(0,o.useComposedRefs)(r,l.triggerRef);return(0,t.jsx)(f.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.contentId,"data-state":U(l.open),...a,ref:s,onClick:(0,n.composeEventHandlers)(e.onClick,l.onOpenToggle)})});k.displayName=C;var R="DialogPortal",[S,P]=b(R,{forceMount:void 0}),N=e=>{let{__scopeDialog:n,forceMount:o,children:i,container:a}=e,l=x(R,n);return(0,t.jsx)(S,{scope:n,forceMount:o,children:r.Children.map(i,e=>(0,t.jsx)(d.Presence,{present:o||l.open,children:(0,t.jsx)(u.Portal,{asChild:!0,container:a,children:e})}))})};N.displayName=R;var A="DialogOverlay",M=r.forwardRef((e,r)=>{let n=P(A,e.__scopeDialog),{forceMount:o=n.forceMount,...i}=e,a=x(A,e.__scopeDialog);return a.modal?(0,t.jsx)(d.Presence,{present:o||a.open,children:(0,t.jsx)(T,{...i,ref:r})}):null});M.displayName=A;var O=(0,g.createSlot)("DialogOverlay.RemoveScroll"),T=r.forwardRef((e,r)=>{let{__scopeDialog:n,...o}=e,i=x(A,n);return(0,t.jsx)(p.RemoveScroll,{as:O,allowPinchZoom:!0,shards:[i.contentRef],children:(0,t.jsx)(f.Primitive.div,{"data-state":U(i.open),...o,ref:r,style:{pointerEvents:"auto",...o.style}})})}),L="DialogContent",D=r.forwardRef((e,r)=>{let n=P(L,e.__scopeDialog),{forceMount:o=n.forceMount,...i}=e,a=x(L,e.__scopeDialog);return(0,t.jsx)(d.Presence,{present:o||a.open,children:a.modal?(0,t.jsx)(_,{...i,ref:r}):(0,t.jsx)(I,{...i,ref:r})})});D.displayName=L;var _=r.forwardRef((e,i)=>{let a=x(L,e.__scopeDialog),l=r.useRef(null),s=(0,o.useComposedRefs)(i,a.contentRef,l);return r.useEffect(()=>{let e=l.current;if(e)return(0,h.hideOthers)(e)},[]),(0,t.jsx)(z,{...e,ref:s,trapFocus:a.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,n.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),a.triggerRef.current?.focus()}
1),onPointerDownOutside:(0,n.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:(0,n.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})}),I=r.forwardRef((e,n)=>{let o=x(L,e.__scopeDialog),i=r.useRef(!1),a=r.useRef(!1);return(0,t.jsx)(z,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(i.current||o.triggerRef.current?.focus(),t.preventDefault()),i.current=!1,a.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(i.current=!0,"pointerdown"===t.detail.originalEvent.type&&(a.current=!0));let r=t.target;o.triggerRef.current?.contains(r)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})}),z=r.forwardRef((e,n)=>{let{__scopeDialog:i,trapFocus:a,onOpenAutoFocus:l,onCloseAutoFocus:u,...d}=e,f=x(L,i),p=r.useRef(null),h=(0,o.useComposedRefs)(n,p);return(0,m.useFocusGuards)(),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c.FocusScope,{asChild:!0,loop:!0,trapped:a,onMountAutoFocus:l,onUnmountAutoFocus:u,children:(0,t.jsx)(s.DismissableLayer,{role:"dialog",id:f.contentId,"aria-describedby":f.descriptionId,"aria-labelledby":f.titleId,"data-state":U(f.open),...d,ref:h,onDismiss:()=>f.onOpenChange(!1)})}),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(Q,{titleId:f.titleId}),(0,t.jsx)(K,{contentRef:p,descriptionId:f.descriptionId})]})]})}),j="DialogTitle",F=r.forwardRef((e,r)=>{let{__scopeDialog:n,...o}=e,i=x(j,n);return(0,t.jsx)(f.Primitive.h2,{id:i.titleId,...o,ref:r})});F.displayName=j;var H="DialogDescription",W=r.forwardRef((e,r)=>{let{__scopeDialog:n,...o}=e,i=x(H,n);return(0,t.jsx)(f.Primitive.p,{id:i.descriptionId,...o,ref:r})});W.displayName=H;var B="DialogClose",$=r.forwardRef((e,r)=>{let{__scopeDialog:o,...i}=e,a=x(B,o);return(0,t.jsx)(f.Primitive.button,{type:"button",...i,ref:r,onClick:(0,n.composeEventHandlers)(e.onClick,()=>a.onOpenChange(!1))})});function U(e){return e?"open":"closed"}$.displayName=B;var V="DialogTitleWarning",[G,Y]=(0,i.createContext)(V,{contentName:L,titleName:j,docsSlug:"dialog"}),Q=({titleId:e})=>{let t=Y(V),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
2
3If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
4
5For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return r.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},K=({contentRef:e,descriptionId:t})=>{let n=Y("DialogDescriptionWarning"),o=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${n.contentName}}.`;return r.useEffect(()=>{let r=e.current?.getAttribute("aria-describedby");t&&r&&(document.getElementById(t)||console.warn(o))},[o,e,t]),null};e.s(["Close",()=>$,"Content",()=>D,"Description",()=>W,"Overlay",()=>M,"Portal",()=>N,"Root",()=>E,"Title",()=>F,"Trigger",()=>k],23337);var X=e.i(66744),q=e.i(57380),Z=e.i(75341);function J({onOpenChange:e,open:r}){let n=(0,q.useTranslations)("appDownload");return(0,t.jsx)(E,{open:r,onOpenChange:e,children:(0,t.jsxs)(N,{children:[(0,t.jsx)(M,{className:"fixed inset-0 z-50 bg-overlay/45"}),(0,t.jsxs)(D,{className:"fixed inset-0 z-50 text-background outline-none",children:[(0,t.jsx)(F,{className:"sr-only",children:n("guideTitle")}),(0,t.jsx)($,{type:"button","aria-label":n("closeGuide"),className:"absolute inset-0 cursor-default focus-visible:outline-2 focus-visible:outline-ring"}),(0,t.jsx)(W,{className:"pointer-events-none absolute inset-x-4 top-48 text-center text-lg font-medium",children:n("wechatGuide")}),(0,t.jsx)(X.default,{src:(0,Z.getAssetPath)("/static/assets/wechat-browser-guide.png"),alt:"","aria-hidden":!0,width:105,height:161,className:"pointer-events-none absolute right-2 top-2 h-auto w-28"})]})]})})}e.s(["WechatBrowserGuide",()=>J],39510)}]);

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.