pkgviz 0.5.0 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-build-manifest.json +3 -31
  3. package/.next/app-path-routes-manifest.json +1 -5
  4. package/.next/build-manifest.json +2 -2
  5. package/.next/cache/.tsbuildinfo +1 -1
  6. package/.next/cache/eslint/.cache_6t30dc +1 -1
  7. package/.next/cache/webpack/client-production/0.pack +0 -0
  8. package/.next/cache/webpack/client-production/10.pack +0 -0
  9. package/.next/cache/webpack/client-production/11.pack +0 -0
  10. package/.next/cache/webpack/client-production/3.pack +0 -0
  11. package/.next/cache/webpack/client-production/5.pack +0 -0
  12. package/.next/cache/webpack/client-production/6.pack +0 -0
  13. package/.next/cache/webpack/client-production/7.pack +0 -0
  14. package/.next/cache/webpack/client-production/8.pack +0 -0
  15. package/.next/cache/webpack/client-production/9.pack +0 -0
  16. package/.next/cache/webpack/client-production/index.pack +0 -0
  17. package/.next/cache/webpack/client-production/index.pack.old +0 -0
  18. package/.next/cache/webpack/server-production/0.pack +0 -0
  19. package/.next/cache/webpack/server-production/2.pack +0 -0
  20. package/.next/cache/webpack/server-production/3.pack +0 -0
  21. package/.next/cache/webpack/server-production/4.pack +0 -0
  22. package/.next/cache/webpack/server-production/5.pack +0 -0
  23. package/.next/cache/webpack/server-production/6.pack +0 -0
  24. package/.next/cache/webpack/server-production/7.pack +0 -0
  25. package/.next/cache/webpack/server-production/8.pack +0 -0
  26. package/.next/cache/webpack/server-production/9.pack +0 -0
  27. package/.next/cache/webpack/server-production/index.pack +0 -0
  28. package/.next/cache/webpack/server-production/index.pack.old +0 -0
  29. package/.next/server/app/_not-found/page.js +1 -1
  30. package/.next/server/app/_not-found/page.js.nft.json +1 -1
  31. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  32. package/.next/server/app/_not-found.html +1 -1
  33. package/.next/server/app/_not-found.rsc +2 -2
  34. package/.next/server/app/favicon.ico/route.js +1 -1
  35. package/.next/server/app/favicon.ico/route.js.nft.json +1 -1
  36. package/.next/server/app/index.html +1 -1
  37. package/.next/server/app/index.rsc +3 -3
  38. package/.next/server/app/page.js +13 -2
  39. package/.next/server/app/page.js.nft.json +1 -1
  40. package/.next/server/app/page_client-reference-manifest.js +1 -1
  41. package/.next/server/app-paths-manifest.json +1 -5
  42. package/.next/server/chunks/548.js +1 -1
  43. package/.next/server/chunks/610.js +7 -0
  44. package/.next/server/pages/404.html +1 -1
  45. package/.next/server/pages/500.html +1 -1
  46. package/.next/server/pages/_app.js +1 -1
  47. package/.next/server/pages/_document.js +1 -1
  48. package/.next/server/pages/_error.js +3 -3
  49. package/.next/server/server-reference-manifest.js +1 -1
  50. package/.next/server/server-reference-manifest.json +1 -1
  51. package/.next/static/Sf7l73Ml3R0pebDPGwV5j/_buildManifest.js +1 -0
  52. package/.next/static/chunks/680-55ad17895c8fb70b.js +1 -0
  53. package/.next/static/chunks/app/page-92ccb0b9abb0aaab.js +1 -0
  54. package/.next/static/css/ec31779168107a11.css +3 -0
  55. package/.next/trace +2 -3
  56. package/README.md +23 -0
  57. package/bin/pkgviz.ts +40 -71
  58. package/package.json +1 -1
  59. package/.next/server/app/api/audit/json/route.js +0 -1
  60. package/.next/server/app/api/audit/json/route.js.nft.json +0 -1
  61. package/.next/server/app/api/audit/json/route_client-reference-manifest.js +0 -1
  62. package/.next/server/app/api/audit/xml/route.js +0 -1
  63. package/.next/server/app/api/audit/xml/route.js.nft.json +0 -1
  64. package/.next/server/app/api/audit/xml/route_client-reference-manifest.js +0 -1
  65. package/.next/server/app/api/fs/getGraph/route.js +0 -1
  66. package/.next/server/app/api/fs/getGraph/route.js.nft.json +0 -1
  67. package/.next/server/app/api/fs/getGraph/route_client-reference-manifest.js +0 -1
  68. package/.next/server/app/api/fs/getRoot/route.js +0 -1
  69. package/.next/server/app/api/fs/getRoot/route.js.nft.json +0 -1
  70. package/.next/server/app/api/fs/getRoot/route_client-reference-manifest.js +0 -1
  71. package/.next/server/chunks/376.js +0 -1
  72. package/.next/server/chunks/437.js +0 -2
  73. package/.next/server/chunks/55.js +0 -1
  74. package/.next/server/chunks/671.js +0 -7
  75. package/.next/static/J8HJCTc0_-dlkmMGgvzto/_buildManifest.js +0 -1
  76. package/.next/static/chunks/772-9af31b2413538c86.js +0 -1
  77. package/.next/static/chunks/app/api/audit/json/route-708e6c283c657fda.js +0 -1
  78. package/.next/static/chunks/app/api/audit/xml/route-708e6c283c657fda.js +0 -1
  79. package/.next/static/chunks/app/api/fs/getGraph/route-708e6c283c657fda.js +0 -1
  80. package/.next/static/chunks/app/api/fs/getRoot/route-708e6c283c657fda.js +0 -1
  81. package/.next/static/chunks/app/page-e524803c0f3997ab.js +0 -1
  82. package/.next/static/css/835ea8e635656f8a.css +0 -3
  83. package/.next/types/app/api/audit/json/route.ts +0 -347
  84. package/.next/types/app/api/audit/xml/route.ts +0 -347
  85. package/.next/types/app/api/fs/getGraph/route.ts +0 -347
  86. package/.next/types/app/api/fs/getRoot/route.ts +0 -347
  87. /package/.next/static/{J8HJCTc0_-dlkmMGgvzto → Sf7l73Ml3R0pebDPGwV5j}/_ssgManifest.js +0 -0
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[680],{255:(e,t,n)=>{"use strict";function r(e){let{moduleIds:t}=e;return null}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadChunks",{enumerable:!0,get:function(){return r}}),n(5155),n(7650),n(5744),n(589)},1275:(e,t,n)=>{"use strict";n.d(t,{X:()=>i});var r=n(2115),o=n(2712);function i(e){let[t,n]=r.useState(void 0);return(0,o.N)(()=>{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]),t}},1362:(e,t,n)=>{"use strict";n.d(t,{D:()=>s,ThemeProvider:()=>c});var r=n(2115),o=(e,t,n,r,o,i,l,a)=>{let u=document.documentElement,s=["light","dark"];function c(t){var n;(Array.isArray(e)?e:[e]).forEach(e=>{let n="class"===e,r=n&&i?o.map(e=>i[e]||e):o;n?(u.classList.remove(...r),u.classList.add(i&&i[t]?i[t]:t)):u.setAttribute(e,t)}),n=t,a&&s.includes(n)&&(u.style.colorScheme=n)}if(r)c(r);else try{let e=localStorage.getItem(t)||n,r=l&&"system"===e?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e;c(r)}catch(e){}},i=["light","dark"],l="(prefers-color-scheme: dark)",a=r.createContext(void 0),u={setTheme:e=>{},themes:[]},s=()=>{var e;return null!=(e=r.useContext(a))?e:u},c=e=>r.useContext(a)?r.createElement(r.Fragment,null,e.children):r.createElement(f,{...e}),d=["light","dark"],f=e=>{let{forcedTheme:t,disableTransitionOnChange:n=!1,enableSystem:o=!0,enableColorScheme:u=!0,storageKey:s="theme",themes:c=d,defaultTheme:f=o?"system":"light",attribute:y="data-theme",value:g,children:w,nonce:b,scriptProps:x}=e,[E,S]=r.useState(()=>h(s,f)),[C,R]=r.useState(()=>"system"===E?v():E),k=g?Object.values(g):c,P=r.useCallback(e=>{let t=e;if(!t)return;"system"===e&&o&&(t=v());let r=g?g[t]:t,l=n?m(b):null,a=document.documentElement,s=e=>{"class"===e?(a.classList.remove(...k),r&&a.classList.add(r)):e.startsWith("data-")&&(r?a.setAttribute(e,r):a.removeAttribute(e))};if(Array.isArray(y)?y.forEach(s):s(y),u){let e=i.includes(f)?f:null,n=i.includes(t)?t:e;a.style.colorScheme=n}null==l||l()},[b]),A=r.useCallback(e=>{let t="function"==typeof e?e(E):e;S(t);try{localStorage.setItem(s,t)}catch(e){}},[E]),j=r.useCallback(e=>{R(v(e)),"system"===E&&o&&!t&&P("system")},[E,t]);r.useEffect(()=>{let e=window.matchMedia(l);return e.addListener(j),j(e),()=>e.removeListener(j)},[j]),r.useEffect(()=>{let e=e=>{e.key===s&&(e.newValue?S(e.newValue):A(f))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[A]),r.useEffect(()=>{P(null!=t?t:E)},[t,E]);let T=r.useMemo(()=>({theme:E,setTheme:A,forcedTheme:t,resolvedTheme:"system"===E?C:E,themes:o?[...c,"system"]:c,systemTheme:o?C:void 0}),[E,A,t,C,o,c]);return r.createElement(a.Provider,{value:T},r.createElement(p,{forcedTheme:t,storageKey:s,attribute:y,enableSystem:o,enableColorScheme:u,defaultTheme:f,value:g,themes:c,nonce:b,scriptProps:x}),w)},p=r.memo(e=>{let{forcedTheme:t,storageKey:n,attribute:i,enableSystem:l,enableColorScheme:a,defaultTheme:u,value:s,themes:c,nonce:d,scriptProps:f}=e,p=JSON.stringify([i,n,u,t,c,s,l,a]).slice(1,-1);return r.createElement("script",{...f,suppressHydrationWarning:!0,nonce:"",dangerouslySetInnerHTML:{__html:"(".concat(o.toString(),")(").concat(p,")")}})}),h=(e,t)=>{let n;try{n=localStorage.getItem(e)||void 0}catch(e){}return n||t},m=e=>{let t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},v=e=>(e||(e=window.matchMedia(l)),e.matches?"dark":"light")},1788:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(9946).A)("download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]])},2146:(e,t,n)=>{"use strict";function r(e){let{reason:t,children:n}=e;return n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return r}}),n(5262)},2664:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return i}});let r=n(9991),o=n(7102);function i(e){if(!(0,r.isAbsoluteUrl)(e))return!0;try{let t=(0,r.getLocationOrigin)(),n=new URL(e,t);return n.origin===t&&(0,o.hasBasePath)(n.pathname)}catch(e){return!1}}},2712:(e,t,n)=>{"use strict";n.d(t,{N:()=>o});var r=n(2115),o=globalThis?.document?r.useLayoutEffect:()=>{}},2757:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{formatUrl:function(){return i},formatWithValidation:function(){return a},urlObjectKeys:function(){return l}});let r=n(6966)._(n(8859)),o=/https?|ftp|gopher|file/;function i(e){let{auth:t,hostname:n}=e,i=e.protocol||"",l=e.pathname||"",a=e.hash||"",u=e.query||"",s=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?s=t+e.host:n&&(s=t+(~n.indexOf(":")?"["+n+"]":n),e.port&&(s+=":"+e.port)),u&&"object"==typeof u&&(u=String(r.urlQueryToSearchParams(u)));let c=e.search||u&&"?"+u||"";return i&&!i.endsWith(":")&&(i+=":"),e.slashes||(!i||o.test(i))&&!1!==s?(s="//"+(s||""),l&&"/"!==l[0]&&(l="/"+l)):s||(s=""),a&&"#"!==a[0]&&(a="#"+a),c&&"?"!==c[0]&&(c="?"+c),""+i+s+(l=l.replace(/[?#]/g,encodeURIComponent))+(c=c.replace("#","%23"))+a}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function a(e){return i(e)}},3052:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(9946).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},3180:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},3557:function(e,t,n){var r;r=n(8251),e.exports=function(){"use strict";var e,t,n,o,i,l,a,u,s,c,d,f,p={632:function(e){e.exports=r}},h={};function m(e){var t=h[e];if(void 0!==t)return t.exports;var n=h[e]={exports:{}};return p[e](n,n.exports,m),n.exports}m.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return m.d(t,{a:t}),t},m.d=function(e,t){for(var n in t)m.o(t,n)&&!m.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},m.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};var v={};return m.d(v,{default:function(){return f}}),e=m(632),t=m.n(e),n=null!=Object.assign?Object.assign.bind(Object):function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.forEach(function(t){Object.keys(t).forEach(function(n){return e[n]=t[n]})}),e},o={nodeDimensionsIncludeLabels:!1,fit:!0,padding:20,animate:!1,animateFilter:function(){return!0},animationDuration:500,animationEasing:void 0,transform:function(e,t){return t},ready:void 0,stop:void 0,nodeLayoutOptions:void 0,elk:{algorithm:void 0},priority:function(){return null}},i={},l=function(e,t){for(var n=e.layoutDimensions(t),r=e.parent(),o=e.scratch("elk"),i={x:o.x,y:o.y};r.nonempty();){var l=r.scratch("elk");i.x+=l.x,i.y+=l.y,r=r.parent()}return i.x+=n.w/2,i.y+=n.h/2,i},a=function(e,t){var n={_cyEle:e,id:e.id()};if(t.nodeLayoutOptions&&(n.layoutOptions=t.nodeLayoutOptions(e)),!e.isParent()){var r=e.layoutDimensions(t),o=e.position();n.x=o.x-r.w/2,n.y=o.y-r.h/2,n.width=r.w,n.height=r.h}return e.scratch("elk",n),n},u=function(e){var t={_cyEle:e,id:e.id(),source:e.data("source"),target:e.data("target")};return e.scratch("elk",t),t},s=function(e,t,n){for(var r=[],o=[],i={},l={id:"root",children:[],edges:[]},s=0;s<e.length;s++){var c=e[s],d=a(c,n);r.push(d),i[c.id()]=d}for(var f=0;f<t.length;f++){var p=t[f],h=u(p,n);o.push(h),i[p.id()]=h}for(var m=0;m<r.length;m++){var v=r[m],y=v._cyEle;if(y.isChild()){var g=i[y.parent().id()];(g.children=g.children||[]).push(v)}else l.children.push(v)}for(var w=0;w<o.length;w++){var b=o[w];l.edges.push(b)}return l},c=function(){var e;function r(e){if(!(this instanceof r))throw TypeError("Cannot call a class as a function");var t=e.elk,l=e.cy;this.options=n({},o,e),this.options.elk=n({aspectRatio:l.width()/l.height()},o.elk,t,i)}return e=[{key:"run",value:function(){var e=this,n=this.options,r=n.eles,o=r.nodes(),i=r.edges(),a=new(t()),u=s(o,i,n);return u.layoutOptions=n.elk,a.layout(u).then(function(){o.filter(function(e){return!e.isParent()}).layoutPositions(e,n,function(e){return l(e,n)})}),this}},{key:"stop",value:function(){return this}},{key:"destroy",value:function(){return this}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}(),d=function(e){e&&e("layout","elk",c)},"undefined"!=typeof cytoscape&&d(cytoscape),f=d,v=v.default}()},3655:(e,t,n)=>{"use strict";n.d(t,{hO:()=>u,sG:()=>a});var r=n(2115),o=n(7650),i=n(9708),l=n(5155),a=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=(0,i.TL)(`Primitive.${t}`),o=r.forwardRef((e,r)=>{let{asChild:o,...i}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(o?n:t,{...i,ref:r})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function u(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}},4054:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{bindSnapshot:function(){return l},createAsyncLocalStorage:function(){return i},createSnapshot:function(){return a}});let n=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class r{disable(){throw n}getStore(){}run(){throw n}exit(){throw n}enterWith(){throw n}static bind(e){return e}}let o="undefined"!=typeof globalThis&&globalThis.AsyncLocalStorage;function i(){return o?new o:new r}function l(e){return o?o.bind(e):r.bind(e)}function a(){return o?o.snapshot():function(e,...t){return e(...t)}}},4073:(e,t,n)=>{"use strict";n.d(t,{CC:()=>B,Q6:()=>U,bL:()=>z,zi:()=>V});var r=n(2115),o=n(9367),i=n(5185),l=n(6101),a=n(6081),u=n(5845),s=n(4315),c=n(5503),d=n(1275),f=n(3655),p=n(7328),h=n(5155),m=["PageUp","PageDown"],v=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],y={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},g="Slider",[w,b,x]=(0,p.N)(g),[E,S]=(0,a.A)(g,[x]),[C,R]=E(g),k=r.forwardRef((e,t)=>{let{name:n,min:l=0,max:a=100,step:s=1,orientation:c="horizontal",disabled:d=!1,minStepsBetweenThumbs:f=0,defaultValue:p=[l],value:y,onValueChange:g=()=>{},onValueCommit:b=()=>{},inverted:x=!1,form:E,...S}=e,R=r.useRef(new Set),k=r.useRef(0),P="horizontal"===c,[A=[],O]=(0,u.i)({prop:y,defaultProp:p,onChange:e=>{var t;null==(t=[...R.current][k.current])||t.focus(),g(e)}}),L=r.useRef(A);function M(e,t){let{commit:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{commit:!1},r=(String(s).split(".")[1]||"").length,i=function(e,t){let n=Math.pow(10,t);return Math.round(e*n)/n}(Math.round((e-l)/s)*s+l,r),u=(0,o.q)(i,[l,a]);O(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=[...e];return r[n]=t,r.sort((e,t)=>e-t)}(e,u,t);if(!function(e,t){if(t>0)return Math.min(...e.slice(0,-1).map((t,n)=>e[n+1]-t))>=t;return!0}(r,f*s))return e;{k.current=r.indexOf(u);let t=String(r)!==String(e);return t&&n&&b(r),t?r:e}})}return(0,h.jsx)(C,{scope:e.__scopeSlider,name:n,disabled:d,min:l,max:a,valueIndexToChangeRef:k,thumbs:R.current,values:A,orientation:c,form:E,children:(0,h.jsx)(w.Provider,{scope:e.__scopeSlider,children:(0,h.jsx)(w.Slot,{scope:e.__scopeSlider,children:(0,h.jsx)(P?j:T,{"aria-disabled":d,"data-disabled":d?"":void 0,...S,ref:t,onPointerDown:(0,i.mK)(S.onPointerDown,()=>{d||(L.current=A)}),min:l,max:a,inverted:x,onSlideStart:d?void 0:function(e){let t=function(e,t){if(1===e.length)return 0;let n=e.map(e=>Math.abs(e-t)),r=Math.min(...n);return n.indexOf(r)}(A,e);M(e,t)},onSlideMove:d?void 0:function(e){M(e,k.current)},onSlideEnd:d?void 0:function(){let e=L.current[k.current];A[k.current]!==e&&b(A)},onHomeKeyDown:()=>!d&&M(l,0,{commit:!0}),onEndKeyDown:()=>!d&&M(a,A.length-1,{commit:!0}),onStepKeyDown:e=>{let{event:t,direction:n}=e;if(!d){let e=m.includes(t.key)||t.shiftKey&&v.includes(t.key),r=k.current;M(A[r]+s*(e?10:1)*n,r,{commit:!0})}}})})})})});k.displayName=g;var[P,A]=E(g,{startEdge:"left",endEdge:"right",size:"width",direction:1}),j=r.forwardRef((e,t)=>{let{min:n,max:o,dir:i,inverted:a,onSlideStart:u,onSlideMove:c,onSlideEnd:d,onStepKeyDown:f,...p}=e,[m,v]=r.useState(null),g=(0,l.s)(t,e=>v(e)),w=r.useRef(void 0),b=(0,s.jH)(i),x="ltr"===b,E=x&&!a||!x&&a;function S(e){let t=w.current||m.getBoundingClientRect(),r=H([0,t.width],E?[n,o]:[o,n]);return w.current=t,r(e-t.left)}return(0,h.jsx)(P,{scope:e.__scopeSlider,startEdge:E?"left":"right",endEdge:E?"right":"left",direction:E?1:-1,size:"width",children:(0,h.jsx)(O,{dir:b,"data-orientation":"horizontal",...p,ref:g,style:{...p.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:e=>{let t=S(e.clientX);null==u||u(t)},onSlideMove:e=>{let t=S(e.clientX);null==c||c(t)},onSlideEnd:()=>{w.current=void 0,null==d||d()},onStepKeyDown:e=>{let t=y[E?"from-left":"from-right"].includes(e.key);null==f||f({event:e,direction:t?-1:1})}})})}),T=r.forwardRef((e,t)=>{let{min:n,max:o,inverted:i,onSlideStart:a,onSlideMove:u,onSlideEnd:s,onStepKeyDown:c,...d}=e,f=r.useRef(null),p=(0,l.s)(t,f),m=r.useRef(void 0),v=!i;function g(e){let t=m.current||f.current.getBoundingClientRect(),r=H([0,t.height],v?[o,n]:[n,o]);return m.current=t,r(e-t.top)}return(0,h.jsx)(P,{scope:e.__scopeSlider,startEdge:v?"bottom":"top",endEdge:v?"top":"bottom",size:"height",direction:v?1:-1,children:(0,h.jsx)(O,{"data-orientation":"vertical",...d,ref:p,style:{...d.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:e=>{let t=g(e.clientY);null==a||a(t)},onSlideMove:e=>{let t=g(e.clientY);null==u||u(t)},onSlideEnd:()=>{m.current=void 0,null==s||s()},onStepKeyDown:e=>{let t=y[v?"from-bottom":"from-top"].includes(e.key);null==c||c({event:e,direction:t?-1:1})}})})}),O=r.forwardRef((e,t)=>{let{__scopeSlider:n,onSlideStart:r,onSlideMove:o,onSlideEnd:l,onHomeKeyDown:a,onEndKeyDown:u,onStepKeyDown:s,...c}=e,d=R(g,n);return(0,h.jsx)(f.sG.span,{...c,ref:t,onKeyDown:(0,i.mK)(e.onKeyDown,e=>{"Home"===e.key?(a(e),e.preventDefault()):"End"===e.key?(u(e),e.preventDefault()):m.concat(v).includes(e.key)&&(s(e),e.preventDefault())}),onPointerDown:(0,i.mK)(e.onPointerDown,e=>{let t=e.target;t.setPointerCapture(e.pointerId),e.preventDefault(),d.thumbs.has(t)?t.focus():r(e)}),onPointerMove:(0,i.mK)(e.onPointerMove,e=>{e.target.hasPointerCapture(e.pointerId)&&o(e)}),onPointerUp:(0,i.mK)(e.onPointerUp,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&(t.releasePointerCapture(e.pointerId),l(e))})})}),L="SliderTrack",M=r.forwardRef((e,t)=>{let{__scopeSlider:n,...r}=e,o=R(L,n);return(0,h.jsx)(f.sG.span,{"data-disabled":o.disabled?"":void 0,"data-orientation":o.orientation,...r,ref:t})});M.displayName=L;var N="SliderRange",D=r.forwardRef((e,t)=>{let{__scopeSlider:n,...o}=e,i=R(N,n),a=A(N,n),u=r.useRef(null),s=(0,l.s)(t,u),c=i.values.length,d=i.values.map(e=>W(e,i.min,i.max)),p=c>1?Math.min(...d):0,m=100-Math.max(...d);return(0,h.jsx)(f.sG.span,{"data-orientation":i.orientation,"data-disabled":i.disabled?"":void 0,...o,ref:s,style:{...e.style,[a.startEdge]:p+"%",[a.endEdge]:m+"%"}})});D.displayName=N;var _="SliderThumb",I=r.forwardRef((e,t)=>{let n=b(e.__scopeSlider),[o,i]=r.useState(null),a=(0,l.s)(t,e=>i(e)),u=r.useMemo(()=>o?n().findIndex(e=>e.ref.current===o):-1,[n,o]);return(0,h.jsx)(K,{...e,ref:a,index:u})}),K=r.forwardRef((e,t)=>{let{__scopeSlider:n,index:o,name:a,...u}=e,s=R(_,n),c=A(_,n),[p,m]=r.useState(null),v=(0,l.s)(t,e=>m(e)),y=!p||s.form||!!p.closest("form"),g=(0,d.X)(p),b=s.values[o],x=void 0===b?0:W(b,s.min,s.max),E=function(e,t){return t>2?"Value ".concat(e+1," of ").concat(t):2===t?["Minimum","Maximum"][e]:void 0}(o,s.values.length),S=null==g?void 0:g[c.size],C=S?function(e,t,n){let r=e/2,o=H([0,50],[0,r]);return(r-o(t)*n)*n}(S,x,c.direction):0;return r.useEffect(()=>{if(p)return s.thumbs.add(p),()=>{s.thumbs.delete(p)}},[p,s.thumbs]),(0,h.jsxs)("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[c.startEdge]:"calc(".concat(x,"% + ").concat(C,"px)")},children:[(0,h.jsx)(w.ItemSlot,{scope:e.__scopeSlider,children:(0,h.jsx)(f.sG.span,{role:"slider","aria-label":e["aria-label"]||E,"aria-valuemin":s.min,"aria-valuenow":b,"aria-valuemax":s.max,"aria-orientation":s.orientation,"data-orientation":s.orientation,"data-disabled":s.disabled?"":void 0,tabIndex:s.disabled?void 0:0,...u,ref:v,style:void 0===b?{display:"none"}:e.style,onFocus:(0,i.mK)(e.onFocus,()=>{s.valueIndexToChangeRef.current=o})})}),y&&(0,h.jsx)(F,{name:null!=a?a:s.name?s.name+(s.values.length>1?"[]":""):void 0,form:s.form,value:b},o)]})});I.displayName=_;var F=r.forwardRef((e,t)=>{let{__scopeSlider:n,value:o,...i}=e,a=r.useRef(null),u=(0,l.s)(a,t),s=(0,c.Z)(o);return r.useEffect(()=>{let e=a.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"value").set;if(s!==o&&t){let n=new Event("input",{bubbles:!0});t.call(e,o),e.dispatchEvent(n)}},[s,o]),(0,h.jsx)(f.sG.input,{style:{display:"none"},...i,ref:u,defaultValue:o})});function W(e,t,n){return(0,o.q)(100/(n-t)*(e-t),[0,100])}function H(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}F.displayName="RadioBubbleInput";var z=k,B=M,U=D,V=I},4315:(e,t,n)=>{"use strict";n.d(t,{jH:()=>i});var r=n(2115);n(5155);var o=r.createContext(void 0);function i(e){let t=r.useContext(o);return e||t||"ltr"}},4477:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{callServer:function(){return r.callServer},createServerReference:function(){return i.createServerReference},findSourceMapURL:function(){return o.findSourceMapURL}});let r=n(3806),o=n(1818),i=n(7197)},4631:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(9946).A)("loader",[["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m16.2 7.8 2.9-2.9",key:"r700ao"}],["path",{d:"M18 12h4",key:"wj9ykh"}],["path",{d:"m16.2 16.2 2.9 2.9",key:"1bxg5t"}],["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"m4.9 19.1 2.9-2.9",key:"bwix9q"}],["path",{d:"M2 12h4",key:"j09sii"}],["path",{d:"m4.9 4.9 2.9 2.9",key:"giyufr"}]])},4884:(e,t,n)=>{"use strict";n.d(t,{bL:()=>E,zi:()=>S});var r=n(2115),o=n(5185),i=n(6101),l=n(6081),a=n(5845),u=n(5503),s=n(1275),c=n(3655),d=n(5155),f="Switch",[p,h]=(0,l.A)(f),[m,v]=p(f),y=r.forwardRef((e,t)=>{let{__scopeSwitch:n,name:l,checked:u,defaultChecked:s,required:p,disabled:h,value:v="on",onCheckedChange:y,form:g,...w}=e,[E,S]=r.useState(null),C=(0,i.s)(t,e=>S(e)),R=r.useRef(!1),k=!E||g||!!E.closest("form"),[P,A]=(0,a.i)({prop:u,defaultProp:null!=s&&s,onChange:y,caller:f});return(0,d.jsxs)(m,{scope:n,checked:P,disabled:h,children:[(0,d.jsx)(c.sG.button,{type:"button",role:"switch","aria-checked":P,"aria-required":p,"data-state":x(P),"data-disabled":h?"":void 0,disabled:h,value:v,...w,ref:C,onClick:(0,o.mK)(e.onClick,e=>{A(e=>!e),k&&(R.current=e.isPropagationStopped(),R.current||e.stopPropagation())})}),k&&(0,d.jsx)(b,{control:E,bubbles:!R.current,name:l,value:v,checked:P,required:p,disabled:h,form:g,style:{transform:"translateX(-100%)"}})]})});y.displayName=f;var g="SwitchThumb",w=r.forwardRef((e,t)=>{let{__scopeSwitch:n,...r}=e,o=v(g,n);return(0,d.jsx)(c.sG.span,{"data-state":x(o.checked),"data-disabled":o.disabled?"":void 0,...r,ref:t})});w.displayName=g;var b=r.forwardRef((e,t)=>{let{__scopeSwitch:n,control:o,checked:l,bubbles:a=!0,...c}=e,f=r.useRef(null),p=(0,i.s)(f,t),h=(0,u.Z)(l),m=(0,s.X)(o);return r.useEffect(()=>{let e=f.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(h!==l&&t){let n=new Event("click",{bubbles:a});t.call(e,l),e.dispatchEvent(n)}},[h,l,a]),(0,d.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:l,...c,tabIndex:-1,ref:p,style:{...c.style,...m,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function x(e){return e?"checked":"unchecked"}b.displayName="SwitchBubbleInput";var E=y,S=w},5028:(e,t,n)=>{"use strict";n.d(t,{default:()=>o.a});var r=n(6645),o=n.n(r)},5185:(e,t,n)=>{"use strict";function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}n.d(t,{mK:()=>r}),"undefined"!=typeof window&&window.document&&window.document.createElement},5503:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(2115);function o(e){let t=r.useRef({value:e,previous:e});return r.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},5744:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorage",{enumerable:!0,get:function(){return r.workAsyncStorageInstance}});let r=n(7828)},5845:(e,t,n)=>{"use strict";n.d(t,{i:()=>a});var r,o=n(2115),i=n(2712),l=(r||(r=n.t(o,2)))[" useInsertionEffect ".trim().toString()]||i.N;function a({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[i,a,u]=function({defaultProp:e,onChange:t}){let[n,r]=o.useState(e),i=o.useRef(n),a=o.useRef(t);return l(()=>{a.current=t},[t]),o.useEffect(()=>{i.current!==n&&(a.current?.(n),i.current=n)},[n,i]),[n,r,a]}({defaultProp:t,onChange:n}),s=void 0!==e,c=s?e:i;{let t=o.useRef(void 0!==e);o.useEffect(()=>{let e=t.current;if(e!==s){let t=s?"controlled":"uncontrolled";console.warn(`${r} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=s},[s,r])}return[c,o.useCallback(t=>{if(s){let n="function"==typeof t?t(e):t;n!==e&&u.current?.(n)}else a(t)},[s,e,a,u])]}Symbol("RADIX:SYNC_STATE")},6081:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(2115),o=n(5155);function i(e,t=[]){let n=[],l=()=>{let t=n.map(e=>r.createContext(e));return function(n){let o=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])}};return l.scopeName=e,[function(t,i){let l=r.createContext(i),a=n.length;n=[...n,i];let u=t=>{let{scope:n,children:i,...u}=t,s=n?.[e]?.[a]||l,c=r.useMemo(()=>u,Object.values(u));return(0,o.jsx)(s.Provider,{value:c,children:i})};return u.displayName=t+"Provider",[u,function(n,o){let u=o?.[e]?.[a]||l,s=r.useContext(u);if(s)return s;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:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}(l,...t)]}},6101:(e,t,n)=>{"use strict";n.d(t,{s:()=>l,t:()=>i});var r=n(2115);function o(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function i(...e){return t=>{let n=!1,r=e.map(e=>{let r=o(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():o(e[t],null)}}}}function l(...e){return r.useCallback(i(...e),e)}},6474:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(9946).A)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},6645:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let r=n(8229)._(n(7357));function o(e,t){var n;let o={};"function"==typeof e&&(o.loader=e);let i={...o,...t};return(0,r.default)({...i,modules:null==(n=i.loadableGenerated)?void 0:n.modules})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6654:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return o}});let r=n(2115);function o(e,t){let n=(0,r.useRef)(null),o=(0,r.useRef)(null);return(0,r.useCallback)(r=>{if(null===r){let e=n.current;e&&(n.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(n.current=i(e,r)),t&&(o.current=i(t,r))},[e,t])}function i(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let n=e(t);return"function"==typeof n?n:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6793:(e,t,n)=>{"use strict";n.d(t,{UC:()=>n3,YJ:()=>re,In:()=>n4,q7:()=>rt,p4:()=>rn,ZL:()=>n7,bL:()=>n5,l9:()=>n9,WT:()=>n6,LM:()=>n8});var r,o,i,l=n(2115),a=n.t(l,2),u=n(7650),s=n(9367),c=n(5185),d=n(7328),f=n(6101),p=n(6081),h=n(4315),m=n(3655);function v(e){let t=l.useRef(e);return l.useEffect(()=>{t.current=e}),l.useMemo(()=>(...e)=>t.current?.(...e),[])}var y=n(5155),g="dismissableLayer.update",w=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),b=l.forwardRef((e,t)=>{var n,r;let{disableOutsidePointerEvents:i=!1,onEscapeKeyDown:a,onPointerDownOutside:u,onFocusOutside:s,onInteractOutside:d,onDismiss:p,...h}=e,b=l.useContext(w),[S,C]=l.useState(null),R=null!=(r=null==S?void 0:S.ownerDocument)?r:null==(n=globalThis)?void 0:n.document,[,k]=l.useState({}),P=(0,f.s)(t,e=>C(e)),A=Array.from(b.layers),[j]=[...b.layersWithOutsidePointerEventsDisabled].slice(-1),T=A.indexOf(j),O=S?A.indexOf(S):-1,L=b.layersWithOutsidePointerEventsDisabled.size>0,M=O>=T,N=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=v(e),o=l.useRef(!1),i=l.useRef(()=>{});return l.useEffect(()=>{let e=e=>{if(e.target&&!o.current){let t=function(){E("dismissableLayer.pointerDownOutside",r,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",i.current),i.current=t,n.addEventListener("click",i.current,{once:!0})):t()}else n.removeEventListener("click",i.current);o.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",i.current)}},[n,r]),{onPointerDownCapture:()=>o.current=!0}}(e=>{let t=e.target,n=[...b.branches].some(e=>e.contains(t));M&&!n&&(null==u||u(e),null==d||d(e),e.defaultPrevented||null==p||p())},R),D=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=v(e),o=l.useRef(!1);return l.useEffect(()=>{let e=e=>{e.target&&!o.current&&E("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{let t=e.target;![...b.branches].some(e=>e.contains(t))&&(null==s||s(e),null==d||d(e),e.defaultPrevented||null==p||p())},R);return!function(e,t=globalThis?.document){let n=v(e);l.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=>{O===b.layers.size-1&&(null==a||a(e),!e.defaultPrevented&&p&&(e.preventDefault(),p()))},R),l.useEffect(()=>{if(S)return i&&(0===b.layersWithOutsidePointerEventsDisabled.size&&(o=R.body.style.pointerEvents,R.body.style.pointerEvents="none"),b.layersWithOutsidePointerEventsDisabled.add(S)),b.layers.add(S),x(),()=>{i&&1===b.layersWithOutsidePointerEventsDisabled.size&&(R.body.style.pointerEvents=o)}},[S,R,i,b]),l.useEffect(()=>()=>{S&&(b.layers.delete(S),b.layersWithOutsidePointerEventsDisabled.delete(S),x())},[S,b]),l.useEffect(()=>{let e=()=>k({});return document.addEventListener(g,e),()=>document.removeEventListener(g,e)},[]),(0,y.jsx)(m.sG.div,{...h,ref:P,style:{pointerEvents:L?M?"auto":"none":void 0,...e.style},onFocusCapture:(0,c.mK)(e.onFocusCapture,D.onFocusCapture),onBlurCapture:(0,c.mK)(e.onBlurCapture,D.onBlurCapture),onPointerDownCapture:(0,c.mK)(e.onPointerDownCapture,N.onPointerDownCapture)})});function x(){let e=new CustomEvent(g);document.dispatchEvent(e)}function E(e,t,n,r){let{discrete:o}=r,i=n.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),o?(0,m.hO)(i,l):i.dispatchEvent(l)}b.displayName="DismissableLayer",l.forwardRef((e,t)=>{let n=l.useContext(w),r=l.useRef(null),o=(0,f.s)(t,r);return l.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,y.jsx)(m.sG.div,{...e,ref:o})}).displayName="DismissableLayerBranch";var S=0;function C(){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}var R="focusScope.autoFocusOnMount",k="focusScope.autoFocusOnUnmount",P={bubbles:!1,cancelable:!0},A=l.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[u,s]=l.useState(null),c=v(o),d=v(i),p=l.useRef(null),h=(0,f.s)(t,e=>s(e)),g=l.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;l.useEffect(()=>{if(r){let e=function(e){if(g.paused||!u)return;let t=e.target;u.contains(t)?p.current=t:O(p.current,{select:!0})},t=function(e){if(g.paused||!u)return;let t=e.relatedTarget;null!==t&&(u.contains(t)||O(p.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&O(u)});return u&&n.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,u,g.paused]),l.useEffect(()=>{if(u){L.add(g);let e=document.activeElement;if(!u.contains(e)){let t=new CustomEvent(R,P);u.addEventListener(R,c),u.dispatchEvent(t),t.defaultPrevented||(function(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.activeElement;for(let r of e)if(O(r,{select:t}),document.activeElement!==n)return}(j(u).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&O(u))}return()=>{u.removeEventListener(R,c),setTimeout(()=>{let t=new CustomEvent(k,P);u.addEventListener(k,d),u.dispatchEvent(t),t.defaultPrevented||O(null!=e?e:document.body,{select:!0}),u.removeEventListener(k,d),L.remove(g)},0)}}},[u,c,d,g]);let w=l.useCallback(e=>{if(!n&&!r||g.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){let t=e.currentTarget,[r,i]=function(e){let t=j(e);return[T(t,e),T(t.reverse(),e)]}(t);r&&i?e.shiftKey||o!==i?e.shiftKey&&o===r&&(e.preventDefault(),n&&O(i,{select:!0})):(e.preventDefault(),n&&O(r,{select:!0})):o===t&&e.preventDefault()}},[n,r,g.paused]);return(0,y.jsx)(m.sG.div,{tabIndex:-1,...a,ref:h,onKeyDown:w})});function j(e){let t=[],n=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(;n.nextNode();)t.push(n.currentNode);return t}function T(e,t){for(let n of e)if(!function(e,t){let{upTo:n}=t;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===n||e!==n);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function O(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}A.displayName="FocusScope";var L=function(){let e=[];return{add(t){let n=e[0];t!==n&&(null==n||n.pause()),(e=M(e,t)).unshift(t)},remove(t){var n;null==(n=(e=M(e,t))[0])||n.resume()}}}();function M(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}var N=n(2712),D=a[" useId ".trim().toString()]||(()=>void 0),_=0;function I(e){let[t,n]=l.useState(D());return(0,N.N)(()=>{e||n(e=>e??String(_++))},[e]),e||(t?`radix-${t}`:"")}let K=["top","right","bottom","left"],F=Math.min,W=Math.max,H=Math.round,z=Math.floor,B=e=>({x:e,y:e}),U={left:"right",right:"left",bottom:"top",top:"bottom"},V={start:"end",end:"start"};function G(e,t){return"function"==typeof e?e(t):e}function q(e){return e.split("-")[0]}function X(e){return e.split("-")[1]}function Y(e){return"x"===e?"y":"x"}function $(e){return"y"===e?"height":"width"}let Z=new Set(["top","bottom"]);function Q(e){return Z.has(q(e))?"y":"x"}function J(e){return e.replace(/start|end/g,e=>V[e])}let ee=["left","right"],et=["right","left"],en=["top","bottom"],er=["bottom","top"];function eo(e){return e.replace(/left|right|bottom|top/g,e=>U[e])}function ei(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function el(e){let{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function ea(e,t,n){let r,{reference:o,floating:i}=e,l=Q(t),a=Y(Q(t)),u=$(a),s=q(t),c="y"===l,d=o.x+o.width/2-i.width/2,f=o.y+o.height/2-i.height/2,p=o[u]/2-i[u]/2;switch(s){case"top":r={x:d,y:o.y-i.height};break;case"bottom":r={x:d,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:f};break;case"left":r={x:o.x-i.width,y:f};break;default:r={x:o.x,y:o.y}}switch(X(t)){case"start":r[a]-=p*(n&&c?-1:1);break;case"end":r[a]+=p*(n&&c?-1:1)}return r}let eu=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:l}=n,a=i.filter(Boolean),u=await (null==l.isRTL?void 0:l.isRTL(t)),s=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:d}=ea(s,r,u),f=r,p={},h=0;for(let n=0;n<a.length;n++){let{name:i,fn:m}=a[n],{x:v,y:y,data:g,reset:w}=await m({x:c,y:d,initialPlacement:r,placement:f,strategy:o,middlewareData:p,rects:s,platform:l,elements:{reference:e,floating:t}});c=null!=v?v:c,d=null!=y?y:d,p={...p,[i]:{...p[i],...g}},w&&h<=50&&(h++,"object"==typeof w&&(w.placement&&(f=w.placement),w.rects&&(s=!0===w.rects?await l.getElementRects({reference:e,floating:t,strategy:o}):w.rects),{x:c,y:d}=ea(s,f,u)),n=-1)}return{x:c,y:d,placement:f,strategy:o,middlewareData:p}};async function es(e,t){var n;void 0===t&&(t={});let{x:r,y:o,platform:i,rects:l,elements:a,strategy:u}=e,{boundary:s="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=G(t,e),h=ei(p),m=a[f?"floating"===d?"reference":"floating":d],v=el(await i.getClippingRect({element:null==(n=await (null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:s,rootBoundary:c,strategy:u})),y="floating"===d?{x:r,y:o,width:l.floating.width,height:l.floating.height}:l.reference,g=await (null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),w=await (null==i.isElement?void 0:i.isElement(g))&&await (null==i.getScale?void 0:i.getScale(g))||{x:1,y:1},b=el(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:g,strategy:u}):y);return{top:(v.top-b.top+h.top)/w.y,bottom:(b.bottom-v.bottom+h.bottom)/w.y,left:(v.left-b.left+h.left)/w.x,right:(b.right-v.right+h.right)/w.x}}function ec(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function ed(e){return K.some(t=>e[t]>=0)}let ef=new Set(["left","top"]);async function ep(e,t){let{placement:n,platform:r,elements:o}=e,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),l=q(n),a=X(n),u="y"===Q(n),s=ef.has(l)?-1:1,c=i&&u?-1:1,d=G(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:h}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&"number"==typeof h&&(p="end"===a?-1*h:h),u?{x:p*c,y:f*s}:{x:f*s,y:p*c}}function eh(){return"undefined"!=typeof window}function em(e){return eg(e)?(e.nodeName||"").toLowerCase():"#document"}function ev(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function ey(e){var t;return null==(t=(eg(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function eg(e){return!!eh()&&(e instanceof Node||e instanceof ev(e).Node)}function ew(e){return!!eh()&&(e instanceof Element||e instanceof ev(e).Element)}function eb(e){return!!eh()&&(e instanceof HTMLElement||e instanceof ev(e).HTMLElement)}function ex(e){return!!eh()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof ev(e).ShadowRoot)}let eE=new Set(["inline","contents"]);function eS(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=eN(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!eE.has(o)}let eC=new Set(["table","td","th"]),eR=[":popover-open",":modal"];function ek(e){return eR.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let eP=["transform","translate","scale","rotate","perspective"],eA=["transform","translate","scale","rotate","perspective","filter"],ej=["paint","layout","strict","content"];function eT(e){let t=eO(),n=ew(e)?eN(e):e;return eP.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||eA.some(e=>(n.willChange||"").includes(e))||ej.some(e=>(n.contain||"").includes(e))}function eO(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let eL=new Set(["html","body","#document"]);function eM(e){return eL.has(em(e))}function eN(e){return ev(e).getComputedStyle(e)}function eD(e){return ew(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function e_(e){if("html"===em(e))return e;let t=e.assignedSlot||e.parentNode||ex(e)&&e.host||ey(e);return ex(t)?t.host:t}function eI(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function e(t){let n=e_(t);return eM(n)?t.ownerDocument?t.ownerDocument.body:t.body:eb(n)&&eS(n)?n:e(n)}(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),l=ev(o);if(i){let e=eK(l);return t.concat(l,l.visualViewport||[],eS(o)?o:[],e&&n?eI(e):[])}return t.concat(o,eI(o,[],n))}function eK(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function eF(e){let t=eN(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=eb(e),i=o?e.offsetWidth:n,l=o?e.offsetHeight:r,a=H(n)!==i||H(r)!==l;return a&&(n=i,r=l),{width:n,height:r,$:a}}function eW(e){return ew(e)?e:e.contextElement}function eH(e){let t=eW(e);if(!eb(t))return B(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:i}=eF(t),l=(i?H(n.width):n.width)/r,a=(i?H(n.height):n.height)/o;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}let ez=B(0);function eB(e){let t=ev(e);return eO()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ez}function eU(e,t,n,r){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),l=eW(e),a=B(1);t&&(r?ew(r)&&(a=eH(r)):a=eH(e));let u=(void 0===(o=n)&&(o=!1),r&&(!o||r===ev(l))&&o)?eB(l):B(0),s=(i.left+u.x)/a.x,c=(i.top+u.y)/a.y,d=i.width/a.x,f=i.height/a.y;if(l){let e=ev(l),t=r&&ew(r)?ev(r):r,n=e,o=eK(n);for(;o&&r&&t!==n;){let e=eH(o),t=o.getBoundingClientRect(),r=eN(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;s*=e.x,c*=e.y,d*=e.x,f*=e.y,s+=i,c+=l,o=eK(n=ev(o))}}return el({width:d,height:f,x:s,y:c})}function eV(e,t){let n=eD(e).scrollLeft;return t?t.left+n:eU(ey(e)).left+n}function eG(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-eV(e,n),y:n.top+t.scrollTop}}let eq=new Set(["absolute","fixed"]);function eX(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=ev(e),r=ey(e),o=n.visualViewport,i=r.clientWidth,l=r.clientHeight,a=0,u=0;if(o){i=o.width,l=o.height;let e=eO();(!e||e&&"fixed"===t)&&(a=o.offsetLeft,u=o.offsetTop)}let s=eV(r);if(s<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),o="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,l=Math.abs(r.clientWidth-t.clientWidth-o);l<=25&&(i-=l)}else s<=25&&(i+=s);return{width:i,height:l,x:a,y:u}}(e,n);else if("document"===t)r=function(e){let t=ey(e),n=eD(e),r=e.ownerDocument.body,o=W(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=W(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),l=-n.scrollLeft+eV(e),a=-n.scrollTop;return"rtl"===eN(r).direction&&(l+=W(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:l,y:a}}(ey(e));else if(ew(t))r=function(e,t){let n=eU(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=eb(e)?eH(e):B(1),l=e.clientWidth*i.x,a=e.clientHeight*i.y;return{width:l,height:a,x:o*i.x,y:r*i.y}}(t,n);else{let n=eB(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return el(r)}function eY(e){return"static"===eN(e).position}function e$(e,t){if(!eb(e)||"fixed"===eN(e).position)return null;if(t)return t(e);let n=e.offsetParent;return ey(e)===n&&(n=n.ownerDocument.body),n}function eZ(e,t){var n;let r=ev(e);if(ek(e))return r;if(!eb(e)){let t=e_(e);for(;t&&!eM(t);){if(ew(t)&&!eY(t))return t;t=e_(t)}return r}let o=e$(e,t);for(;o&&(n=o,eC.has(em(n)))&&eY(o);)o=e$(o,t);return o&&eM(o)&&eY(o)&&!eT(o)?r:o||function(e){let t=e_(e);for(;eb(t)&&!eM(t);){if(eT(t))return t;if(ek(t))break;t=e_(t)}return null}(e)||r}let eQ=async function(e){let t=this.getOffsetParent||eZ,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=eb(t),o=ey(t),i="fixed"===n,l=eU(e,!0,i,t),a={scrollLeft:0,scrollTop:0},u=B(0);if(r||!r&&!i)if(("body"!==em(t)||eS(o))&&(a=eD(t)),r){let e=eU(t,!0,i,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else o&&(u.x=eV(o));i&&!r&&o&&(u.x=eV(o));let s=!o||r||i?B(0):eG(o,a);return{x:l.left+a.scrollLeft-u.x-s.x,y:l.top+a.scrollTop-u.y-s.y,width:l.width,height:l.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},eJ={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,i="fixed"===o,l=ey(r),a=!!t&&ek(t.floating);if(r===l||a&&i)return n;let u={scrollLeft:0,scrollTop:0},s=B(1),c=B(0),d=eb(r);if((d||!d&&!i)&&(("body"!==em(r)||eS(l))&&(u=eD(r)),eb(r))){let e=eU(r);s=eH(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}let f=!l||d||i?B(0):eG(l,u);return{width:n.width*s.x,height:n.height*s.y,x:n.x*s.x-u.scrollLeft*s.x+c.x+f.x,y:n.y*s.y-u.scrollTop*s.y+c.y+f.y}},getDocumentElement:ey,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,i=[..."clippingAncestors"===n?ek(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=eI(e,[],!1).filter(e=>ew(e)&&"body"!==em(e)),o=null,i="fixed"===eN(e).position,l=i?e_(e):e;for(;ew(l)&&!eM(l);){let t=eN(l),n=eT(l);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&!!o&&eq.has(o.position)||eS(l)&&!n&&function e(t,n){let r=e_(t);return!(r===n||!ew(r)||eM(r))&&("fixed"===eN(r).position||e(r,n))}(e,l))?r=r.filter(e=>e!==l):o=t,l=e_(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],l=i[0],a=i.reduce((e,n)=>{let r=eX(t,n,o);return e.top=W(r.top,e.top),e.right=F(r.right,e.right),e.bottom=F(r.bottom,e.bottom),e.left=W(r.left,e.left),e},eX(t,l,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:eZ,getElementRects:eQ,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=eF(e);return{width:t,height:n}},getScale:eH,isElement:ew,isRTL:function(e){return"rtl"===eN(e).direction}};function e0(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let e1=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:o,rects:i,platform:l,elements:a,middlewareData:u}=t,{element:s,padding:c=0}=G(e,t)||{};if(null==s)return{};let d=ei(c),f={x:n,y:r},p=Y(Q(o)),h=$(p),m=await l.getDimensions(s),v="y"===p,y=v?"clientHeight":"clientWidth",g=i.reference[h]+i.reference[p]-f[p]-i.floating[h],w=f[p]-i.reference[p],b=await (null==l.getOffsetParent?void 0:l.getOffsetParent(s)),x=b?b[y]:0;x&&await (null==l.isElement?void 0:l.isElement(b))||(x=a.floating[y]||i.floating[h]);let E=x/2-m[h]/2-1,S=F(d[v?"top":"left"],E),C=F(d[v?"bottom":"right"],E),R=x-m[h]-C,k=x/2-m[h]/2+(g/2-w/2),P=W(S,F(k,R)),A=!u.arrow&&null!=X(o)&&k!==P&&i.reference[h]/2-(k<S?S:C)-m[h]/2<0,j=A?k<S?k-S:k-R:0;return{[p]:f[p]+j,data:{[p]:P,centerOffset:k-P-j,...A&&{alignmentOffset:j}},reset:A}}});var e2="undefined"!=typeof document?l.useLayoutEffect:function(){};function e5(e,t){let n,r,o;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!e5(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!e.$$typeof)&&!e5(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function e9(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function e6(e,t){let n=e9(e);return Math.round(t*n)/n}function e4(e){let t=l.useRef(e);return e2(()=>{t.current=e}),t}var e7=l.forwardRef((e,t)=>{let{children:n,width:r=10,height:o=5,...i}=e;return(0,y.jsx)(m.sG.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,y.jsx)("polygon",{points:"0,0 30,0 15,10"})})});e7.displayName="Arrow";var e3=n(1275),e8="Popper",[te,tt]=(0,p.A)(e8),[tn,tr]=te(e8),to=e=>{let{__scopePopper:t,children:n}=e,[r,o]=l.useState(null);return(0,y.jsx)(tn,{scope:t,anchor:r,onAnchorChange:o,children:n})};to.displayName=e8;var ti="PopperAnchor",tl=l.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:r,...o}=e,i=tr(ti,n),a=l.useRef(null),u=(0,f.s)(t,a),s=l.useRef(null);return l.useEffect(()=>{let e=s.current;s.current=(null==r?void 0:r.current)||a.current,e!==s.current&&i.onAnchorChange(s.current)}),r?null:(0,y.jsx)(m.sG.div,{...o,ref:u})});tl.displayName=ti;var ta="PopperContent",[tu,ts]=te(ta),tc=l.forwardRef((e,t)=>{var n,r,o,i,a,s,c,d;let{__scopePopper:p,side:h="bottom",sideOffset:g=0,align:w="center",alignOffset:b=0,arrowPadding:x=0,avoidCollisions:E=!0,collisionBoundary:S=[],collisionPadding:C=0,sticky:R="partial",hideWhenDetached:k=!1,updatePositionStrategy:P="optimized",onPlaced:A,...j}=e,T=tr(ta,p),[O,L]=l.useState(null),M=(0,f.s)(t,e=>L(e)),[D,_]=l.useState(null),I=(0,e3.X)(D),K=null!=(c=null==I?void 0:I.width)?c:0,H=null!=(d=null==I?void 0:I.height)?d:0,B="number"==typeof C?C:{top:0,right:0,bottom:0,left:0,...C},U=Array.isArray(S)?S:[S],V=U.length>0,Z={padding:B,boundary:U.filter(th),altBoundary:V},{refs:ei,floatingStyles:el,placement:ea,isPositioned:eh,middlewareData:em}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:c,open:d}=e,[f,p]=l.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,m]=l.useState(r);e5(h,r)||m(r);let[v,y]=l.useState(null),[g,w]=l.useState(null),b=l.useCallback(e=>{e!==C.current&&(C.current=e,y(e))},[]),x=l.useCallback(e=>{e!==R.current&&(R.current=e,w(e))},[]),E=i||v,S=a||g,C=l.useRef(null),R=l.useRef(null),k=l.useRef(f),P=null!=c,A=e4(c),j=e4(o),T=e4(d),O=l.useCallback(()=>{if(!C.current||!R.current)return;let e={placement:t,strategy:n,middleware:h};j.current&&(e.platform=j.current),((e,t,n)=>{let r=new Map,o={platform:eJ,...n},i={...o.platform,_c:r};return eu(e,t,{...o,platform:i})})(C.current,R.current,e).then(e=>{let t={...e,isPositioned:!1!==T.current};L.current&&!e5(k.current,t)&&(k.current=t,u.flushSync(()=>{p(t)}))})},[h,t,n,j,T]);e2(()=>{!1===d&&k.current.isPositioned&&(k.current.isPositioned=!1,p(e=>({...e,isPositioned:!1})))},[d]);let L=l.useRef(!1);e2(()=>(L.current=!0,()=>{L.current=!1}),[]),e2(()=>{if(E&&(C.current=E),S&&(R.current=S),E&&S){if(A.current)return A.current(E,S,O);O()}},[E,S,O,A,P]);let M=l.useMemo(()=>({reference:C,floating:R,setReference:b,setFloating:x}),[b,x]),N=l.useMemo(()=>({reference:E,floating:S}),[E,S]),D=l.useMemo(()=>{let e={position:n,left:0,top:0};if(!N.floating)return e;let t=e6(N.floating,f.x),r=e6(N.floating,f.y);return s?{...e,transform:"translate("+t+"px, "+r+"px)",...e9(N.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,s,N.floating,f.x,f.y]);return l.useMemo(()=>({...f,update:O,refs:M,elements:N,floatingStyles:D}),[f,O,M,N,D])}({strategy:"fixed",placement:h+("center"!==w?"-"+w:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,t,n,r){let o;void 0===r&&(r={});let{ancestorScroll:i=!0,ancestorResize:l=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:s=!1}=r,c=eW(e),d=i||l?[...c?eI(c):[],...eI(t)]:[];d.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),l&&e.addEventListener("resize",n)});let f=c&&u?function(e,t){let n,r=null,o=ey(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function l(a,u){void 0===a&&(a=!1),void 0===u&&(u=1),i();let s=e.getBoundingClientRect(),{left:c,top:d,width:f,height:p}=s;if(a||t(),!f||!p)return;let h=z(d),m=z(o.clientWidth-(c+f)),v={rootMargin:-h+"px "+-m+"px "+-z(o.clientHeight-(d+p))+"px "+-z(c)+"px",threshold:W(0,F(1,u))||1},y=!0;function g(t){let r=t[0].intersectionRatio;if(r!==u){if(!y)return l();r?l(!1,r):n=setTimeout(()=>{l(!1,1e-7)},1e3)}1!==r||e0(s,e.getBoundingClientRect())||l(),y=!1}try{r=new IntersectionObserver(g,{...v,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(g,v)}r.observe(e)}(!0),i}(c,n):null,p=-1,h=null;a&&(h=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),c&&!s&&h.observe(c),h.observe(t));let m=s?eU(e):null;return s&&function t(){let r=eU(e);m&&!e0(m,r)&&n(),m=r,o=requestAnimationFrame(t)}(),n(),()=>{var e;d.forEach(e=>{i&&e.removeEventListener("scroll",n),l&&e.removeEventListener("resize",n)}),null==f||f(),null==(e=h)||e.disconnect(),h=null,s&&cancelAnimationFrame(o)}}(...t,{animationFrame:"always"===P})},elements:{reference:T.anchor},middleware:[((e,t)=>({...function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:o,y:i,placement:l,middlewareData:a}=t,u=await ep(t,e);return l===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:o+u.x,y:i+u.y,data:{...u,placement:l}}}}}(e),options:[e,t]}))({mainAxis:g+H,alignmentAxis:b}),E&&((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:l=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...u}=G(e,t),s={x:n,y:r},c=await es(t,u),d=Q(q(o)),f=Y(d),p=s[f],h=s[d];if(i){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",n=p+c[e],r=p-c[t];p=W(n,F(p,r))}if(l){let e="y"===d?"top":"left",t="y"===d?"bottom":"right",n=h+c[e],r=h-c[t];h=W(n,F(h,r))}let m=a.fn({...t,[f]:p,[d]:h});return{...m,data:{x:m.x-n,y:m.y-r,enabled:{[f]:i,[d]:l}}}}}}(e),options:[e,t]}))({mainAxis:!0,crossAxis:!1,limiter:"partial"===R?((e,t)=>({...function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:o,rects:i,middlewareData:l}=t,{offset:a=0,mainAxis:u=!0,crossAxis:s=!0}=G(e,t),c={x:n,y:r},d=Q(o),f=Y(d),p=c[f],h=c[d],m=G(a,t),v="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(u){let e="y"===f?"height":"width",t=i.reference[f]-i.floating[e]+v.mainAxis,n=i.reference[f]+i.reference[e]-v.mainAxis;p<t?p=t:p>n&&(p=n)}if(s){var y,g;let e="y"===f?"width":"height",t=ef.has(q(o)),n=i.reference[d]-i.floating[e]+(t&&(null==(y=l.offset)?void 0:y[d])||0)+(t?0:v.crossAxis),r=i.reference[d]+i.reference[e]+(t?0:(null==(g=l.offset)?void 0:g[d])||0)-(t?v.crossAxis:0);h<n?h=n:h>r&&(h=r)}return{[f]:p,[d]:h}}}}(e),options:[e,t]}))():void 0,...Z}),E&&((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,o,i,l;let{placement:a,middlewareData:u,rects:s,initialPlacement:c,platform:d,elements:f}=t,{mainAxis:p=!0,crossAxis:h=!0,fallbackPlacements:m,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:g=!0,...w}=G(e,t);if(null!=(n=u.arrow)&&n.alignmentOffset)return{};let b=q(a),x=Q(c),E=q(c)===c,S=await (null==d.isRTL?void 0:d.isRTL(f.floating)),C=m||(E||!g?[eo(c)]:function(e){let t=eo(e);return[J(e),t,J(t)]}(c)),R="none"!==y;!m&&R&&C.push(...function(e,t,n,r){let o=X(e),i=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?et:ee;return t?ee:et;case"left":case"right":return t?en:er;default:return[]}}(q(e),"start"===n,r);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(J)))),i}(c,g,y,S));let k=[c,...C],P=await es(t,w),A=[],j=(null==(r=u.flip)?void 0:r.overflows)||[];if(p&&A.push(P[b]),h){let e=function(e,t,n){void 0===n&&(n=!1);let r=X(e),o=Y(Q(e)),i=$(o),l="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=eo(l)),[l,eo(l)]}(a,s,S);A.push(P[e[0]],P[e[1]])}if(j=[...j,{placement:a,overflows:A}],!A.every(e=>e<=0)){let e=((null==(o=u.flip)?void 0:o.index)||0)+1,t=k[e];if(t&&("alignment"!==h||x===Q(t)||j.every(e=>Q(e.placement)!==x||e.overflows[0]>0)))return{data:{index:e,overflows:j},reset:{placement:t}};let n=null==(i=j.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!n)switch(v){case"bestFit":{let e=null==(l=j.filter(e=>{if(R){let t=Q(e.placement);return t===x||"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:l[0];e&&(n=e);break}case"initialPlacement":n=c}if(a!==n)return{reset:{placement:n}}}return{}}}}(e),options:[e,t]}))({...Z}),((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;let o,i,{placement:l,rects:a,platform:u,elements:s}=t,{apply:c=()=>{},...d}=G(e,t),f=await es(t,d),p=q(l),h=X(l),m="y"===Q(l),{width:v,height:y}=a.floating;"top"===p||"bottom"===p?(o=p,i=h===(await (null==u.isRTL?void 0:u.isRTL(s.floating))?"start":"end")?"left":"right"):(i=p,o="end"===h?"top":"bottom");let g=y-f.top-f.bottom,w=v-f.left-f.right,b=F(y-f[o],g),x=F(v-f[i],w),E=!t.middlewareData.shift,S=b,C=x;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(C=w),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(S=g),E&&!h){let e=W(f.left,0),t=W(f.right,0),n=W(f.top,0),r=W(f.bottom,0);m?C=v-2*(0!==e||0!==t?e+t:W(f.left,f.right)):S=y-2*(0!==n||0!==r?n+r:W(f.top,f.bottom))}await c({...t,availableWidth:C,availableHeight:S});let R=await u.getDimensions(s.floating);return v!==R.width||y!==R.height?{reset:{rects:!0}}:{}}}}(e),options:[e,t]}))({...Z,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:o}=e,{width:i,height:l}=n.reference,a=t.floating.style;a.setProperty("--radix-popper-available-width","".concat(r,"px")),a.setProperty("--radix-popper-available-height","".concat(o,"px")),a.setProperty("--radix-popper-anchor-width","".concat(i,"px")),a.setProperty("--radix-popper-anchor-height","".concat(l,"px"))}}),D&&((e,t)=>({...(e=>({name:"arrow",options:e,fn(t){let{element:n,padding:r}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?e1({element:n.current,padding:r}).fn(t):{}:n?e1({element:n,padding:r}).fn(t):{}}}))(e),options:[e,t]}))({element:D,padding:x}),tm({arrowWidth:K,arrowHeight:H}),k&&((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n}=t,{strategy:r="referenceHidden",...o}=G(e,t);switch(r){case"referenceHidden":{let e=ec(await es(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:ed(e)}}}case"escaped":{let e=ec(await es(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:ed(e)}}}default:return{}}}}}(e),options:[e,t]}))({strategy:"referenceHidden",...Z})]}),[ev,eg]=tv(ea),ew=v(A);(0,N.N)(()=>{eh&&(null==ew||ew())},[eh,ew]);let eb=null==(n=em.arrow)?void 0:n.x,ex=null==(r=em.arrow)?void 0:r.y,eE=(null==(o=em.arrow)?void 0:o.centerOffset)!==0,[eS,eC]=l.useState();return(0,N.N)(()=>{O&&eC(window.getComputedStyle(O).zIndex)},[O]),(0,y.jsx)("div",{ref:ei.setFloating,"data-radix-popper-content-wrapper":"",style:{...el,transform:eh?el.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eS,"--radix-popper-transform-origin":[null==(i=em.transformOrigin)?void 0:i.x,null==(a=em.transformOrigin)?void 0:a.y].join(" "),...(null==(s=em.hide)?void 0:s.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,y.jsx)(tu,{scope:p,placedSide:ev,onArrowChange:_,arrowX:eb,arrowY:ex,shouldHideArrow:eE,children:(0,y.jsx)(m.sG.div,{"data-side":ev,"data-align":eg,...j,ref:M,style:{...j.style,animation:eh?void 0:"none"}})})})});tc.displayName=ta;var td="PopperArrow",tf={top:"bottom",right:"left",bottom:"top",left:"right"},tp=l.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=ts(td,n),i=tf[o.placedSide];return(0,y.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,y.jsx)(e7,{...r,ref:t,style:{...r.style,display:"block"}})})});function th(e){return null!==e}tp.displayName=td;var tm=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,l;let{placement:a,rects:u,middlewareData:s}=t,c=(null==(n=s.arrow)?void 0:n.centerOffset)!==0,d=c?0:e.arrowWidth,f=c?0:e.arrowHeight,[p,h]=tv(a),m={start:"0%",center:"50%",end:"100%"}[h],v=(null!=(i=null==(r=s.arrow)?void 0:r.x)?i:0)+d/2,y=(null!=(l=null==(o=s.arrow)?void 0:o.y)?l:0)+f/2,g="",w="";return"bottom"===p?(g=c?m:"".concat(v,"px"),w="".concat(-f,"px")):"top"===p?(g=c?m:"".concat(v,"px"),w="".concat(u.floating.height+f,"px")):"right"===p?(g="".concat(-f,"px"),w=c?m:"".concat(y,"px")):"left"===p&&(g="".concat(u.floating.width+f,"px"),w=c?m:"".concat(y,"px")),{data:{x:g,y:w}}}});function tv(e){let[t,n="center"]=e.split("-");return[t,n]}var ty=l.forwardRef((e,t)=>{var n,r;let{container:o,...i}=e,[a,s]=l.useState(!1);(0,N.N)(()=>s(!0),[]);let c=o||a&&(null==(r=globalThis)||null==(n=r.document)?void 0:n.body);return c?u.createPortal((0,y.jsx)(m.sG.div,{...i,ref:t}),c):null});ty.displayName="Portal";var tg=n(9708),tw=n(5845),tb=n(5503),tx=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"});l.forwardRef((e,t)=>(0,y.jsx)(m.sG.span,{...e,ref:t,style:{...tx,...e.style}})).displayName="VisuallyHidden";var tE=new WeakMap,tS=new WeakMap,tC={},tR=0,tk=function(e){return e&&(e.host||tk(e.parentNode))},tP=function(e,t,n,r){var o=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=tk(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});tC[n]||(tC[n]=new WeakMap);var i=tC[n],l=[],a=new Set,u=new Set(o),s=function(e){!e||a.has(e)||(a.add(e),s(e.parentNode))};o.forEach(s);var c=function(e){!e||u.has(e)||Array.prototype.forEach.call(e.children,function(e){if(a.has(e))c(e);else try{var t=e.getAttribute(r),o=null!==t&&"false"!==t,u=(tE.get(e)||0)+1,s=(i.get(e)||0)+1;tE.set(e,u),i.set(e,s),l.push(e),1===u&&o&&tS.set(e,!0),1===s&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return c(t),a.clear(),tR++,function(){l.forEach(function(e){var t=tE.get(e)-1,o=i.get(e)-1;tE.set(e,t),i.set(e,o),t||(tS.has(e)||e.removeAttribute(r),tS.delete(e)),o||e.removeAttribute(n)}),--tR||(tE=new WeakMap,tE=new WeakMap,tS=new WeakMap,tC={})}},tA=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),tP(r,o,n,"aria-hidden")):function(){return null}},tj=function(){return(tj=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function tT(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}Object.create;Object.create;var tO=("function"==typeof SuppressedError&&SuppressedError,"right-scroll-bar-position"),tL="width-before-scroll-bar";function tM(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var tN="undefined"!=typeof window?l.useLayoutEffect:l.useEffect,tD=new WeakMap;function t_(e){return e}var tI=function(e){void 0===e&&(e={});var t,n,r,o=(void 0===t&&(t=t_),n=[],r=!1,{read:function(){if(r)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 o=t(e,r);return n.push(o),function(){n=n.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},l=function(){return Promise.resolve().then(i)};l(),n={push:function(e){t.push(e),l()},filter:function(e){return t=t.filter(e),n}}}});return o.options=tj({async:!0,ssr:!1},e),o}(),tK=function(){},tF=l.forwardRef(function(e,t){var n,r,o,i,a=l.useRef(null),u=l.useState({onScrollCapture:tK,onWheelCapture:tK,onTouchMoveCapture:tK}),s=u[0],c=u[1],d=e.forwardProps,f=e.children,p=e.className,h=e.removeScrollBar,m=e.enabled,v=e.shards,y=e.sideCar,g=e.noRelative,w=e.noIsolation,b=e.inert,x=e.allowPinchZoom,E=e.as,S=e.gapMode,C=tT(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),R=(n=[a,t],r=function(e){return n.forEach(function(t){return tM(t,e)})},(o=(0,l.useState)(function(){return{value:null,callback:r,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=r,i=o.facade,tN(function(){var e=tD.get(i);if(e){var t=new Set(e),r=new Set(n),o=i.current;t.forEach(function(e){r.has(e)||tM(e,null)}),r.forEach(function(e){t.has(e)||tM(e,o)})}tD.set(i,n)},[n]),i),k=tj(tj({},C),s);return l.createElement(l.Fragment,null,m&&l.createElement(y,{sideCar:tI,removeScrollBar:h,shards:v,noRelative:g,noIsolation:w,inert:b,setCallbacks:c,allowPinchZoom:!!x,lockRef:a,gapMode:S}),d?l.cloneElement(l.Children.only(f),tj(tj({},k),{ref:R})):l.createElement(void 0===E?"div":E,tj({},k,{className:p,ref:R}),f))});tF.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},tF.classNames={fullWidth:tL,zeroRight:tO};var tW=function(e){var t=e.sideCar,n=tT(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return l.createElement(r,tj({},n))};tW.isSideCarExport=!0;var tH=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=i||n.nc;return t&&e.setAttribute("nonce",t),e}())){var o,l;(o=t).styleSheet?o.styleSheet.cssText=r:o.appendChild(document.createTextNode(r)),l=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(l)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},tz=function(){var e=tH();return function(t,n){l.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},tB=function(){var e=tz();return function(t){return e(t.styles,t.dynamic),null}},tU={left:0,top:0,right:0,gap:0},tV=function(e){return parseInt(e||"",10)||0},tG=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[tV(n),tV(r),tV(o)]},tq=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return tU;var t=tG(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},tX=tB(),tY="data-scroll-locked",t$=function(e,t,n,r){var o=e.left,i=e.top,l=e.right,a=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(a,"px ").concat(r,";\n }\n body[").concat(tY,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(l,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(a,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(a,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(tO," {\n right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(tL," {\n margin-right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(tO," .").concat(tO," {\n right: 0 ").concat(r,";\n }\n \n .").concat(tL," .").concat(tL," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(tY,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(a,"px;\n }\n")},tZ=function(){var e=parseInt(document.body.getAttribute(tY)||"0",10);return isFinite(e)?e:0},tQ=function(){l.useEffect(function(){return document.body.setAttribute(tY,(tZ()+1).toString()),function(){var e=tZ()-1;e<=0?document.body.removeAttribute(tY):document.body.setAttribute(tY,e.toString())}},[])},tJ=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;tQ();var i=l.useMemo(function(){return tq(o)},[o]);return l.createElement(tX,{styles:t$(i,!t,o,n?"":"!important")})},t0=!1;if("undefined"!=typeof window)try{var t1=Object.defineProperty({},"passive",{get:function(){return t0=!0,!0}});window.addEventListener("test",t1,t1),window.removeEventListener("test",t1,t1)}catch(e){t0=!1}var t2=!!t0&&{passive:!1},t5=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},t9=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),t6(e,r)){var o=t4(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},t6=function(e,t){return"v"===e?t5(t,"overflowY"):t5(t,"overflowX")},t4=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},t7=function(e,t,n,r,o){var i,l=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),a=l*r,u=n.target,s=t.contains(u),c=!1,d=a>0,f=0,p=0;do{if(!u)break;var h=t4(e,u),m=h[0],v=h[1]-h[2]-l*m;(m||v)&&t6(e,u)&&(f+=v,p+=m);var y=u.parentNode;u=y&&y.nodeType===Node.DOCUMENT_FRAGMENT_NODE?y.host:y}while(!s&&u!==document.body||s&&(t.contains(u)||t===u));return d&&(o&&1>Math.abs(f)||!o&&a>f)?c=!0:!d&&(o&&1>Math.abs(p)||!o&&-a>p)&&(c=!0),c},t3=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},t8=function(e){return[e.deltaX,e.deltaY]},ne=function(e){return e&&"current"in e?e.current:e},nt=0,nn=[];let nr=(r=function(e){var t=l.useRef([]),n=l.useRef([0,0]),r=l.useRef(),o=l.useState(nt++)[0],i=l.useState(tB)[0],a=l.useRef(e);l.useEffect(function(){a.current=e},[e]),l.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(ne),!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 u=l.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!a.current.allowPinchZoom;var o,i=t3(e),l=n.current,u="deltaX"in e?e.deltaX:l[0]-i[0],s="deltaY"in e?e.deltaY:l[1]-i[1],c=e.target,d=Math.abs(u)>Math.abs(s)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var f=window.getSelection(),p=f&&f.anchorNode;if(p&&(p===c||p.contains(c)))return!1;var h=t9(d,c);if(!h)return!0;if(h?o=d:(o="v"===d?"h":"v",h=t9(d,c)),!h)return!1;if(!r.current&&"changedTouches"in e&&(u||s)&&(r.current=o),!o)return!0;var m=r.current||o;return t7(m,t,e,"h"===m?u:s,!0)},[]),s=l.useCallback(function(e){if(nn.length&&nn[nn.length-1]===i){var n="deltaY"in e?t8(e):t3(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta,r[0]===n[0]&&r[1]===n[1])})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(a.current.shards||[]).map(ne).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?u(e,o[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),c=l.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,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}(r)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),d=l.useCallback(function(e){n.current=t3(e),r.current=void 0},[]),f=l.useCallback(function(t){c(t.type,t8(t),t.target,u(t,e.lockRef.current))},[]),p=l.useCallback(function(t){c(t.type,t3(t),t.target,u(t,e.lockRef.current))},[]);l.useEffect(function(){return nn.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",s,t2),document.addEventListener("touchmove",s,t2),document.addEventListener("touchstart",d,t2),function(){nn=nn.filter(function(e){return e!==i}),document.removeEventListener("wheel",s,t2),document.removeEventListener("touchmove",s,t2),document.removeEventListener("touchstart",d,t2)}},[]);var h=e.removeScrollBar,m=e.inert;return l.createElement(l.Fragment,null,m?l.createElement(i,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,h?l.createElement(tJ,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},tI.useMedium(r),tW);var no=l.forwardRef(function(e,t){return l.createElement(tF,tj({},e,{ref:t,sideCar:nr}))});no.classNames=tF.classNames;var ni=[" ","Enter","ArrowUp","ArrowDown"],nl=[" ","Enter"],na="Select",[nu,ns,nc]=(0,d.N)(na),[nd,nf]=(0,p.A)(na,[nc,tt]),np=tt(),[nh,nm]=nd(na),[nv,ny]=nd(na),ng=e=>{let{__scopeSelect:t,children:n,open:r,defaultOpen:o,onOpenChange:i,value:a,defaultValue:u,onValueChange:s,dir:c,name:d,autoComplete:f,disabled:p,required:m,form:v}=e,g=np(t),[w,b]=l.useState(null),[x,E]=l.useState(null),[S,C]=l.useState(!1),R=(0,h.jH)(c),[k,P]=(0,tw.i)({prop:r,defaultProp:null!=o&&o,onChange:i,caller:na}),[A,j]=(0,tw.i)({prop:a,defaultProp:u,onChange:s,caller:na}),T=l.useRef(null),O=!w||v||!!w.closest("form"),[L,M]=l.useState(new Set),N=Array.from(L).map(e=>e.props.value).join(";");return(0,y.jsx)(to,{...g,children:(0,y.jsxs)(nh,{required:m,scope:t,trigger:w,onTriggerChange:b,valueNode:x,onValueNodeChange:E,valueNodeHasChildren:S,onValueNodeHasChildrenChange:C,contentId:I(),value:A,onValueChange:j,open:k,onOpenChange:P,dir:R,triggerPointerDownPosRef:T,disabled:p,children:[(0,y.jsx)(nu.Provider,{scope:t,children:(0,y.jsx)(nv,{scope:e.__scopeSelect,onNativeOptionAdd:l.useCallback(e=>{M(t=>new Set(t).add(e))},[]),onNativeOptionRemove:l.useCallback(e=>{M(t=>{let n=new Set(t);return n.delete(e),n})},[]),children:n})}),O?(0,y.jsxs)(nJ,{"aria-hidden":!0,required:m,tabIndex:-1,name:d,autoComplete:f,value:A,onChange:e=>j(e.target.value),disabled:p,form:v,children:[void 0===A?(0,y.jsx)("option",{value:""}):null,Array.from(L)]},N):null]})})};ng.displayName=na;var nw="SelectTrigger",nb=l.forwardRef((e,t)=>{let{__scopeSelect:n,disabled:r=!1,...o}=e,i=np(n),a=nm(nw,n),u=a.disabled||r,s=(0,f.s)(t,a.onTriggerChange),d=ns(n),p=l.useRef("touch"),[h,v,g]=n1(e=>{let t=d().filter(e=>!e.disabled),n=t.find(e=>e.value===a.value),r=n2(t,e,n);void 0!==r&&a.onValueChange(r.value)}),w=e=>{u||(a.onOpenChange(!0),g()),e&&(a.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,y.jsx)(tl,{asChild:!0,...i,children:(0,y.jsx)(m.sG.button,{type:"button",role:"combobox","aria-controls":a.contentId,"aria-expanded":a.open,"aria-required":a.required,"aria-autocomplete":"none",dir:a.dir,"data-state":a.open?"open":"closed",disabled:u,"data-disabled":u?"":void 0,"data-placeholder":n0(a.value)?"":void 0,...o,ref:s,onClick:(0,c.mK)(o.onClick,e=>{e.currentTarget.focus(),"mouse"!==p.current&&w(e)}),onPointerDown:(0,c.mK)(o.onPointerDown,e=>{p.current=e.pointerType;let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(w(e),e.preventDefault())}),onKeyDown:(0,c.mK)(o.onKeyDown,e=>{let t=""!==h.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||v(e.key),(!t||" "!==e.key)&&ni.includes(e.key)&&(w(),e.preventDefault())})})})});nb.displayName=nw;var nx="SelectValue",nE=l.forwardRef((e,t)=>{let{__scopeSelect:n,className:r,style:o,children:i,placeholder:l="",...a}=e,u=nm(nx,n),{onValueNodeHasChildrenChange:s}=u,c=void 0!==i,d=(0,f.s)(t,u.onValueNodeChange);return(0,N.N)(()=>{s(c)},[s,c]),(0,y.jsx)(m.sG.span,{...a,ref:d,style:{pointerEvents:"none"},children:n0(u.value)?(0,y.jsx)(y.Fragment,{children:l}):i})});nE.displayName=nx;var nS=l.forwardRef((e,t)=>{let{__scopeSelect:n,children:r,...o}=e;return(0,y.jsx)(m.sG.span,{"aria-hidden":!0,...o,ref:t,children:r||"▼"})});nS.displayName="SelectIcon";var nC=e=>(0,y.jsx)(ty,{asChild:!0,...e});nC.displayName="SelectPortal";var nR="SelectContent",nk=l.forwardRef((e,t)=>{let n=nm(nR,e.__scopeSelect),[r,o]=l.useState();return((0,N.N)(()=>{o(new DocumentFragment)},[]),n.open)?(0,y.jsx)(nT,{...e,ref:t}):r?u.createPortal((0,y.jsx)(nP,{scope:e.__scopeSelect,children:(0,y.jsx)(nu.Slot,{scope:e.__scopeSelect,children:(0,y.jsx)("div",{children:e.children})})}),r):null});nk.displayName=nR;var[nP,nA]=nd(nR),nj=(0,tg.TL)("SelectContent.RemoveScroll"),nT=l.forwardRef((e,t)=>{let{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:i,onPointerDownOutside:a,side:u,sideOffset:s,align:d,alignOffset:p,arrowPadding:h,collisionBoundary:m,collisionPadding:v,sticky:g,hideWhenDetached:w,avoidCollisions:x,...E}=e,R=nm(nR,n),[k,P]=l.useState(null),[j,T]=l.useState(null),O=(0,f.s)(t,e=>P(e)),[L,M]=l.useState(null),[N,D]=l.useState(null),_=ns(n),[I,K]=l.useState(!1),F=l.useRef(!1);l.useEffect(()=>{if(k)return tA(k)},[k]),l.useEffect(()=>{var e,t;let n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!=(e=n[0])?e:C()),document.body.insertAdjacentElement("beforeend",null!=(t=n[1])?t:C()),S++,()=>{1===S&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),S--}},[]);let W=l.useCallback(e=>{let[t,...n]=_().map(e=>e.ref.current),[r]=n.slice(-1),o=document.activeElement;for(let n of e)if(n===o||(null==n||n.scrollIntoView({block:"nearest"}),n===t&&j&&(j.scrollTop=0),n===r&&j&&(j.scrollTop=j.scrollHeight),null==n||n.focus(),document.activeElement!==o))return},[_,j]),H=l.useCallback(()=>W([L,k]),[W,L,k]);l.useEffect(()=>{I&&H()},[I,H]);let{onOpenChange:z,triggerPointerDownPosRef:B}=R;l.useEffect(()=>{if(k){let e={x:0,y:0},t=t=>{var n,r,o,i;e={x:Math.abs(Math.round(t.pageX)-(null!=(o=null==(n=B.current)?void 0:n.x)?o:0)),y:Math.abs(Math.round(t.pageY)-(null!=(i=null==(r=B.current)?void 0:r.y)?i:0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():k.contains(n.target)||z(!1),document.removeEventListener("pointermove",t),B.current=null};return null!==B.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}},[k,z,B]),l.useEffect(()=>{let e=()=>z(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[z]);let[U,V]=n1(e=>{let t=_().filter(e=>!e.disabled),n=t.find(e=>e.ref.current===document.activeElement),r=n2(t,e,n);r&&setTimeout(()=>r.ref.current.focus())}),G=l.useCallback((e,t,n)=>{let r=!F.current&&!n;(void 0!==R.value&&R.value===t||r)&&(M(e),r&&(F.current=!0))},[R.value]),q=l.useCallback(()=>null==k?void 0:k.focus(),[k]),X=l.useCallback((e,t,n)=>{let r=!F.current&&!n;(void 0!==R.value&&R.value===t||r)&&D(e)},[R.value]),Y="popper"===r?nL:nO,$=Y===nL?{side:u,sideOffset:s,align:d,alignOffset:p,arrowPadding:h,collisionBoundary:m,collisionPadding:v,sticky:g,hideWhenDetached:w,avoidCollisions:x}:{};return(0,y.jsx)(nP,{scope:n,content:k,viewport:j,onViewportChange:T,itemRefCallback:G,selectedItem:L,onItemLeave:q,itemTextRefCallback:X,focusSelectedItem:H,selectedItemText:N,position:r,isPositioned:I,searchRef:U,children:(0,y.jsx)(no,{as:nj,allowPinchZoom:!0,children:(0,y.jsx)(A,{asChild:!0,trapped:R.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,c.mK)(o,e=>{var t;null==(t=R.trigger)||t.focus({preventScroll:!0}),e.preventDefault()}),children:(0,y.jsx)(b,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>R.onOpenChange(!1),children:(0,y.jsx)(Y,{role:"listbox",id:R.contentId,"data-state":R.open?"open":"closed",dir:R.dir,onContextMenu:e=>e.preventDefault(),...E,...$,onPlaced:()=>K(!0),ref:O,style:{display:"flex",flexDirection:"column",outline:"none",...E.style},onKeyDown:(0,c.mK)(E.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||V(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=_().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){let n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout(()=>W(t)),e.preventDefault()}})})})})})})});nT.displayName="SelectContentImpl";var nO=l.forwardRef((e,t)=>{let{__scopeSelect:n,onPlaced:r,...o}=e,i=nm(nR,n),a=nA(nR,n),[u,c]=l.useState(null),[d,p]=l.useState(null),h=(0,f.s)(t,e=>p(e)),v=ns(n),g=l.useRef(!1),w=l.useRef(!0),{viewport:b,selectedItem:x,selectedItemText:E,focusSelectedItem:S}=a,C=l.useCallback(()=>{if(i.trigger&&i.valueNode&&u&&d&&b&&x&&E){let e=i.trigger.getBoundingClientRect(),t=d.getBoundingClientRect(),n=i.valueNode.getBoundingClientRect(),o=E.getBoundingClientRect();if("rtl"!==i.dir){let r=o.left-t.left,i=n.left-r,l=e.left-i,a=e.width+l,c=Math.max(a,t.width),d=window.innerWidth-10,f=(0,s.q)(i,[10,Math.max(10,d-c)]);u.style.minWidth=a+"px",u.style.left=f+"px"}else{let r=t.right-o.right,i=window.innerWidth-n.right-r,l=window.innerWidth-e.right-i,a=e.width+l,c=Math.max(a,t.width),d=window.innerWidth-10,f=(0,s.q)(i,[10,Math.max(10,d-c)]);u.style.minWidth=a+"px",u.style.right=f+"px"}let l=v(),a=window.innerHeight-20,c=b.scrollHeight,f=window.getComputedStyle(d),p=parseInt(f.borderTopWidth,10),h=parseInt(f.paddingTop,10),m=parseInt(f.borderBottomWidth,10),y=p+h+c+parseInt(f.paddingBottom,10)+m,w=Math.min(5*x.offsetHeight,y),S=window.getComputedStyle(b),C=parseInt(S.paddingTop,10),R=parseInt(S.paddingBottom,10),k=e.top+e.height/2-10,P=x.offsetHeight/2,A=p+h+(x.offsetTop+P);if(A<=k){let e=l.length>0&&x===l[l.length-1].ref.current;u.style.bottom="0px";let t=Math.max(a-k,P+(e?R:0)+(d.clientHeight-b.offsetTop-b.offsetHeight)+m);u.style.height=A+t+"px"}else{let e=l.length>0&&x===l[0].ref.current;u.style.top="0px";let t=Math.max(k,p+b.offsetTop+(e?C:0)+P);u.style.height=t+(y-A)+"px",b.scrollTop=A-k+b.offsetTop}u.style.margin="".concat(10,"px 0"),u.style.minHeight=w+"px",u.style.maxHeight=a+"px",null==r||r(),requestAnimationFrame(()=>g.current=!0)}},[v,i.trigger,i.valueNode,u,d,b,x,E,i.dir,r]);(0,N.N)(()=>C(),[C]);let[R,k]=l.useState();(0,N.N)(()=>{d&&k(window.getComputedStyle(d).zIndex)},[d]);let P=l.useCallback(e=>{e&&!0===w.current&&(C(),null==S||S(),w.current=!1)},[C,S]);return(0,y.jsx)(nM,{scope:n,contentWrapper:u,shouldExpandOnScrollRef:g,onScrollButtonChange:P,children:(0,y.jsx)("div",{ref:c,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:R},children:(0,y.jsx)(m.sG.div,{...o,ref:h,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}})})})});nO.displayName="SelectItemAlignedPosition";var nL=l.forwardRef((e,t)=>{let{__scopeSelect:n,align:r="start",collisionPadding:o=10,...i}=e,l=np(n);return(0,y.jsx)(tc,{...l,...i,ref:t,align:r,collisionPadding:o,style:{boxSizing:"border-box",...i.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});nL.displayName="SelectPopperPosition";var[nM,nN]=nd(nR,{}),nD="SelectViewport",n_=l.forwardRef((e,t)=>{let{__scopeSelect:n,nonce:r,...o}=e,i=nA(nD,n),a=nN(nD,n),u=(0,f.s)(t,i.onViewportChange),s=l.useRef(0);return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:r}),(0,y.jsx)(nu.Slot,{scope:n,children:(0,y.jsx)(m.sG.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:u,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:(0,c.mK)(o.onScroll,e=>{let t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=a;if((null==r?void 0:r.current)&&n){let e=Math.abs(s.current-t.scrollTop);if(e>0){let r=window.innerHeight-20,o=Math.max(parseFloat(n.style.minHeight),parseFloat(n.style.height));if(o<r){let i=o+e,l=Math.min(r,i),a=i-l;n.style.height=l+"px","0px"===n.style.bottom&&(t.scrollTop=a>0?a:0,n.style.justifyContent="flex-end")}}}s.current=t.scrollTop})})})]})});n_.displayName=nD;var nI="SelectGroup",[nK,nF]=nd(nI),nW=l.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,o=I();return(0,y.jsx)(nK,{scope:n,id:o,children:(0,y.jsx)(m.sG.div,{role:"group","aria-labelledby":o,...r,ref:t})})});nW.displayName=nI;var nH="SelectLabel";l.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,o=nF(nH,n);return(0,y.jsx)(m.sG.div,{id:o.id,...r,ref:t})}).displayName=nH;var nz="SelectItem",[nB,nU]=nd(nz),nV=l.forwardRef((e,t)=>{let{__scopeSelect:n,value:r,disabled:o=!1,textValue:i,...a}=e,u=nm(nz,n),s=nA(nz,n),d=u.value===r,[p,h]=l.useState(null!=i?i:""),[v,g]=l.useState(!1),w=(0,f.s)(t,e=>{var t;return null==(t=s.itemRefCallback)?void 0:t.call(s,e,r,o)}),b=I(),x=l.useRef("touch"),E=()=>{o||(u.onValueChange(r),u.onOpenChange(!1))};if(""===r)throw Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return(0,y.jsx)(nB,{scope:n,value:r,disabled:o,textId:b,isSelected:d,onItemTextChange:l.useCallback(e=>{h(t=>{var n;return t||(null!=(n=null==e?void 0:e.textContent)?n:"").trim()})},[]),children:(0,y.jsx)(nu.ItemSlot,{scope:n,value:r,disabled:o,textValue:p,children:(0,y.jsx)(m.sG.div,{role:"option","aria-labelledby":b,"data-highlighted":v?"":void 0,"aria-selected":d&&v,"data-state":d?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...a,ref:w,onFocus:(0,c.mK)(a.onFocus,()=>g(!0)),onBlur:(0,c.mK)(a.onBlur,()=>g(!1)),onClick:(0,c.mK)(a.onClick,()=>{"mouse"!==x.current&&E()}),onPointerUp:(0,c.mK)(a.onPointerUp,()=>{"mouse"===x.current&&E()}),onPointerDown:(0,c.mK)(a.onPointerDown,e=>{x.current=e.pointerType}),onPointerMove:(0,c.mK)(a.onPointerMove,e=>{if(x.current=e.pointerType,o){var t;null==(t=s.onItemLeave)||t.call(s)}else"mouse"===x.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,c.mK)(a.onPointerLeave,e=>{if(e.currentTarget===document.activeElement){var t;null==(t=s.onItemLeave)||t.call(s)}}),onKeyDown:(0,c.mK)(a.onKeyDown,e=>{var t;((null==(t=s.searchRef)?void 0:t.current)===""||" "!==e.key)&&(nl.includes(e.key)&&E()," "===e.key&&e.preventDefault())})})})})});nV.displayName=nz;var nG="SelectItemText",nq=l.forwardRef((e,t)=>{let{__scopeSelect:n,className:r,style:o,...i}=e,a=nm(nG,n),s=nA(nG,n),c=nU(nG,n),d=ny(nG,n),[p,h]=l.useState(null),v=(0,f.s)(t,e=>h(e),c.onItemTextChange,e=>{var t;return null==(t=s.itemTextRefCallback)?void 0:t.call(s,e,c.value,c.disabled)}),g=null==p?void 0:p.textContent,w=l.useMemo(()=>(0,y.jsx)("option",{value:c.value,disabled:c.disabled,children:g},c.value),[c.disabled,c.value,g]),{onNativeOptionAdd:b,onNativeOptionRemove:x}=d;return(0,N.N)(()=>(b(w),()=>x(w)),[b,x,w]),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(m.sG.span,{id:c.textId,...i,ref:v}),c.isSelected&&a.valueNode&&!a.valueNodeHasChildren?u.createPortal(i.children,a.valueNode):null]})});nq.displayName=nG;var nX="SelectItemIndicator";l.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e;return nU(nX,n).isSelected?(0,y.jsx)(m.sG.span,{"aria-hidden":!0,...r,ref:t}):null}).displayName=nX;var nY="SelectScrollUpButton";l.forwardRef((e,t)=>{let n=nA(nY,e.__scopeSelect),r=nN(nY,e.__scopeSelect),[o,i]=l.useState(!1),a=(0,f.s)(t,r.onScrollButtonChange);return(0,N.N)(()=>{if(n.viewport&&n.isPositioned){let e=function(){i(t.scrollTop>0)},t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),o?(0,y.jsx)(nZ,{...e,ref:a,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null}).displayName=nY;var n$="SelectScrollDownButton";l.forwardRef((e,t)=>{let n=nA(n$,e.__scopeSelect),r=nN(n$,e.__scopeSelect),[o,i]=l.useState(!1),a=(0,f.s)(t,r.onScrollButtonChange);return(0,N.N)(()=>{if(n.viewport&&n.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight;i(Math.ceil(t.scrollTop)<e)},t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),o?(0,y.jsx)(nZ,{...e,ref:a,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null}).displayName=n$;var nZ=l.forwardRef((e,t)=>{let{__scopeSelect:n,onAutoScroll:r,...o}=e,i=nA("SelectScrollButton",n),a=l.useRef(null),u=ns(n),s=l.useCallback(()=>{null!==a.current&&(window.clearInterval(a.current),a.current=null)},[]);return l.useEffect(()=>()=>s(),[s]),(0,N.N)(()=>{var e;let t=u().find(e=>e.ref.current===document.activeElement);null==t||null==(e=t.ref.current)||e.scrollIntoView({block:"nearest"})},[u]),(0,y.jsx)(m.sG.div,{"aria-hidden":!0,...o,ref:t,style:{flexShrink:0,...o.style},onPointerDown:(0,c.mK)(o.onPointerDown,()=>{null===a.current&&(a.current=window.setInterval(r,50))}),onPointerMove:(0,c.mK)(o.onPointerMove,()=>{var e;null==(e=i.onItemLeave)||e.call(i),null===a.current&&(a.current=window.setInterval(r,50))}),onPointerLeave:(0,c.mK)(o.onPointerLeave,()=>{s()})})});l.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e;return(0,y.jsx)(m.sG.div,{"aria-hidden":!0,...r,ref:t})}).displayName="SelectSeparator";var nQ="SelectArrow";l.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,o=np(n),i=nm(nQ,n),l=nA(nQ,n);return i.open&&"popper"===l.position?(0,y.jsx)(tp,{...o,...r,ref:t}):null}).displayName=nQ;var nJ=l.forwardRef((e,t)=>{let{__scopeSelect:n,value:r,...o}=e,i=l.useRef(null),a=(0,f.s)(t,i),u=(0,tb.Z)(r);return l.useEffect(()=>{let e=i.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(u!==r&&t){let n=new Event("change",{bubbles:!0});t.call(e,r),e.dispatchEvent(n)}},[u,r]),(0,y.jsx)(m.sG.select,{...o,style:{...tx,...o.style},ref:a,defaultValue:r})});function n0(e){return""===e||void 0===e}function n1(e){let t=v(e),n=l.useRef(""),r=l.useRef(0),o=l.useCallback(e=>{let o=n.current+e;t(o),function e(t){n.current=t,window.clearTimeout(r.current),""!==t&&(r.current=window.setTimeout(()=>e(""),1e3))}(o)},[t]),i=l.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return l.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,o,i]}function n2(e,t,n){var r,o;let i=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,l=n?e.indexOf(n):-1,a=(r=e,o=Math.max(l,0),r.map((e,t)=>r[(o+t)%r.length]));1===i.length&&(a=a.filter(e=>e!==n));let u=a.find(e=>e.textValue.toLowerCase().startsWith(i.toLowerCase()));return u!==n?u:void 0}nJ.displayName="SelectBubbleInput";var n5=ng,n9=nb,n6=nE,n4=nS,n7=nC,n3=nk,n8=n_,re=nW,rt=nV,rn=nq},6874:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return v},useLinkStatus:function(){return g}});let r=n(6966),o=n(5155),i=r._(n(2115)),l=n(2757),a=n(5227),u=n(9818),s=n(6654),c=n(9991),d=n(5929);n(3230);let f=n(4930),p=n(2664),h=n(6634);function m(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}function v(e){let t,n,r,[l,v]=(0,i.useOptimistic)(f.IDLE_LINK_STATUS),g=(0,i.useRef)(null),{href:w,as:b,children:x,prefetch:E=null,passHref:S,replace:C,shallow:R,scroll:k,onClick:P,onMouseEnter:A,onTouchStart:j,legacyBehavior:T=!1,onNavigate:O,ref:L,unstable_dynamicOnHover:M,...N}=e;t=x,T&&("string"==typeof t||"number"==typeof t)&&(t=(0,o.jsx)("a",{children:t}));let D=i.default.useContext(a.AppRouterContext),_=!1!==E,I=null===E||"auto"===E?u.PrefetchKind.AUTO:u.PrefetchKind.FULL,{href:K,as:F}=i.default.useMemo(()=>{let e=m(w);return{href:e,as:b?m(b):e}},[w,b]);T&&(n=i.default.Children.only(t));let W=T?n&&"object"==typeof n&&n.ref:L,H=i.default.useCallback(e=>(null!==D&&(g.current=(0,f.mountLinkInstance)(e,K,D,I,_,v)),()=>{g.current&&((0,f.unmountLinkForCurrentNavigation)(g.current),g.current=null),(0,f.unmountPrefetchableInstance)(e)}),[_,K,D,I,v]),z={ref:(0,s.useMergedRef)(H,W),onClick(e){T||"function"!=typeof P||P(e),T&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),D&&(e.defaultPrevented||function(e,t,n,r,o,l,a){let{nodeName:u}=e.currentTarget;if(!("A"===u.toUpperCase()&&function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||e.currentTarget.hasAttribute("download"))){if(!(0,p.isLocalURL)(t)){o&&(e.preventDefault(),location.replace(t));return}if(e.preventDefault(),a){let e=!1;if(a({preventDefault:()=>{e=!0}}),e)return}i.default.startTransition(()=>{(0,h.dispatchNavigateAction)(n||t,o?"replace":"push",null==l||l,r.current)})}}(e,K,F,g,C,k,O))},onMouseEnter(e){T||"function"!=typeof A||A(e),T&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),D&&_&&(0,f.onNavigationIntent)(e.currentTarget,!0===M)},onTouchStart:function(e){T||"function"!=typeof j||j(e),T&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),D&&_&&(0,f.onNavigationIntent)(e.currentTarget,!0===M)}};return(0,c.isAbsoluteUrl)(F)?z.href=F:T&&!S&&("a"!==n.type||"href"in n.props)||(z.href=(0,d.addBasePath)(F)),r=T?i.default.cloneElement(n,z):(0,o.jsx)("a",{...N,...z,children:t}),(0,o.jsx)(y.Provider,{value:l,children:r})}n(3180);let y=(0,i.createContext)(f.IDLE_LINK_STATUS),g=()=>(0,i.useContext)(y);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7328:(e,t,n)=>{"use strict";function r(e,t,n){if(!t.has(e))throw TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function o(e,t){var n=r(e,t,"get");return n.get?n.get.call(e):n.value}function i(e,t,n){var o=r(e,t,"set");if(o.set)o.set.call(e,n);else{if(!o.writable)throw TypeError("attempted to set read only private field");o.value=n}return n}n.d(t,{N:()=>f});var l,a=n(2115),u=n(6081),s=n(6101),c=n(9708),d=n(5155);function f(e){let t=e+"CollectionProvider",[n,r]=(0,u.A)(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),l=e=>{let{scope:t,children:n}=e,r=a.useRef(null),i=a.useRef(new Map).current;return(0,d.jsx)(o,{scope:t,itemMap:i,collectionRef:r,children:n})};l.displayName=t;let f=e+"CollectionSlot",p=(0,c.TL)(f),h=a.forwardRef((e,t)=>{let{scope:n,children:r}=e,o=i(f,n),l=(0,s.s)(t,o.collectionRef);return(0,d.jsx)(p,{ref:l,children:r})});h.displayName=f;let m=e+"CollectionItemSlot",v="data-radix-collection-item",y=(0,c.TL)(m),g=a.forwardRef((e,t)=>{let{scope:n,children:r,...o}=e,l=a.useRef(null),u=(0,s.s)(t,l),c=i(m,n);return a.useEffect(()=>(c.itemMap.set(l,{ref:l,...o}),()=>void c.itemMap.delete(l))),(0,d.jsx)(y,{...{[v]:""},ref:u,children:r})});return g.displayName=m,[{Provider:l,Slot:h,ItemSlot:g},function(t){let n=i(e+"CollectionConsumer",t);return a.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(v,"]")));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},r]}var p=new WeakMap;function h(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let n=function(e,t){let n=e.length,r=m(t),o=r>=0?r:n+r;return o<0||o>=n?-1:o}(e,t);return -1===n?void 0:e[n]}function m(e){return e!=e||0===e?0:Math.trunc(e)}l=new WeakMap,class e extends Map{set(e,t){return p.get(this)&&(this.has(e)?o(this,l)[o(this,l).indexOf(e)]=e:o(this,l).push(e)),super.set(e,t),this}insert(e,t,n){let r,i=this.has(t),a=o(this,l).length,u=m(e),s=u>=0?u:a+u,c=s<0||s>=a?-1:s;if(c===this.size||i&&c===this.size-1||-1===c)return this.set(t,n),this;let d=this.size+ +!i;u<0&&s++;let f=[...o(this,l)],p=!1;for(let e=s;e<d;e++)if(s===e){let o=f[e];f[e]===t&&(o=f[e+1]),i&&this.delete(t),r=this.get(o),this.set(t,n)}else{p||f[e-1]!==t||(p=!0);let n=f[p?e:e-1],o=r;r=this.get(n),this.delete(n),this.set(n,o)}return this}with(t,n,r){let o=new e(this);return o.insert(t,n,r),o}before(e){let t=o(this,l).indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,n){let r=o(this,l).indexOf(e);return -1===r?this:this.insert(r,t,n)}after(e){let t=o(this,l).indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,n){let r=o(this,l).indexOf(e);return -1===r?this:this.insert(r+1,t,n)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return i(this,l,[]),super.clear()}delete(e){let t=super.delete(e);return t&&o(this,l).splice(o(this,l).indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=h(o(this,l),e);if(void 0!==t)return this.get(t)}entryAt(e){let t=h(o(this,l),e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return o(this,l).indexOf(e)}keyAt(e){return h(o(this,l),e)}from(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.at(r)}keyFrom(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.keyAt(r)}find(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return r;n++}}findIndex(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return n;n++}return -1}filter(t,n){let r=[],o=0;for(let e of this)Reflect.apply(t,n,[e,o,this])&&r.push(e),o++;return new e(r)}map(t,n){let r=[],o=0;for(let e of this)r.push([e[0],Reflect.apply(t,n,[e,o,this])]),o++;return new e(r)}reduce(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let[r,o]=t,i=0,l=null!=o?o:this.at(0);for(let e of this)l=0===i&&1===t.length?e:Reflect.apply(r,this,[l,e,i,this]),i++;return l}reduceRight(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let[r,o]=t,i=null!=o?o:this.at(-1);for(let e=this.size-1;e>=0;e--){let n=this.at(e);i=e===this.size-1&&1===t.length?n:Reflect.apply(r,this,[i,n,e,this])}return i}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let n=this.keyAt(e),r=this.get(n);t.set(n,r)}return t}toSpliced(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];let o=[...this.entries()];return o.splice(...n),new e(o)}slice(t,n){let r=new e,o=this.size-1;if(void 0===t)return r;t<0&&(t+=this.size),void 0!==n&&n>0&&(o=n-1);for(let e=t;e<=o;e++){let t=this.keyAt(e),n=this.get(t);r.set(t,n)}return r}every(e,t){let n=0;for(let r of this){if(!Reflect.apply(e,t,[r,n,this]))return!1;n++}return!0}some(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return!0;n++}return!1}constructor(e){super(e),function(e,t,n){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,n)}(this,l,{writable:!0,value:void 0}),i(this,l,[...super.keys()]),p.set(this,!0)}}},7340:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(9946).A)("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]])},7357:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});let r=n(5155),o=n(2115),i=n(2146);function l(e){return{default:e&&"default"in e?e.default:e}}n(255);let a={loader:()=>Promise.resolve(l(()=>null)),loading:null,ssr:!0},u=function(e){let t={...a,...e},n=(0,o.lazy)(()=>t.loader().then(l)),u=t.loading;function s(e){let l=u?(0,r.jsx)(u,{isLoading:!0,pastDelay:!0,error:null}):null,a=!t.ssr||!!t.loading,s=a?o.Suspense:o.Fragment,c=t.ssr?(0,r.jsxs)(r.Fragment,{children:[null,(0,r.jsx)(n,{...e})]}):(0,r.jsx)(i.BailoutToCSR,{reason:"next/dynamic",children:(0,r.jsx)(n,{...e})});return(0,r.jsx)(s,{...a?{fallback:l}:{},children:c})}return s.displayName="LoadableComponent",s}},7604:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(9946).A)("circle-dot-dashed",[["path",{d:"M10.1 2.18a9.93 9.93 0 0 1 3.8 0",key:"1qdqn0"}],["path",{d:"M17.6 3.71a9.95 9.95 0 0 1 2.69 2.7",key:"1bq7p6"}],["path",{d:"M21.82 10.1a9.93 9.93 0 0 1 0 3.8",key:"1rlaqf"}],["path",{d:"M20.29 17.6a9.95 9.95 0 0 1-2.7 2.69",key:"1xk03u"}],["path",{d:"M13.9 21.82a9.94 9.94 0 0 1-3.8 0",key:"l7re25"}],["path",{d:"M6.4 20.29a9.95 9.95 0 0 1-2.69-2.7",key:"1v18p6"}],["path",{d:"M2.18 13.9a9.93 9.93 0 0 1 0-3.8",key:"xdo6bj"}],["path",{d:"M3.71 6.4a9.95 9.95 0 0 1 2.7-2.69",key:"1jjmaz"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]])},7828:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorageInstance",{enumerable:!0,get:function(){return r}});let r=(0,n(4054).createAsyncLocalStorage)()},8859:(e,t)=>{"use strict";function n(e){let t={};for(let[n,r]of e.entries()){let e=t[n];void 0===e?t[n]=r:Array.isArray(e)?e.push(r):t[n]=[e,r]}return t}function r(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function o(e){let t=new URLSearchParams;for(let[n,o]of Object.entries(e))if(Array.isArray(o))for(let e of o)t.append(n,r(e));else t.set(n,r(o));return t}function i(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(let t of n){for(let n of t.keys())e.delete(n);for(let[n,r]of t.entries())e.append(n,r)}return e}Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{assign:function(){return i},searchParamsToUrlQuery:function(){return n},urlQueryToSearchParams:function(){return o}})},9367:(e,t,n)=>{"use strict";function r(e,[t,n]){return Math.min(n,Math.max(t,e))}n.d(t,{q:()=>r})},9708:(e,t,n)=>{"use strict";n.d(t,{TL:()=>l});var r=n(2115),o=n(6101),i=n(5155);function l(e){let t=function(e){let t=r.forwardRef((e,t)=>{let{children:n,...i}=e;if(r.isValidElement(n)){var l;let e,a,u=(l=n,(a=(e=Object.getOwnPropertyDescriptor(l.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?l.ref:(a=(e=Object.getOwnPropertyDescriptor(l,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?l.props.ref:l.props.ref||l.ref),s=function(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(i,n.props);return n.type!==r.Fragment&&(s.ref=t?(0,o.t)(t,u):u),r.cloneElement(n,s)}return r.Children.count(n)>1?r.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=r.forwardRef((e,n)=>{let{children:o,...l}=e,a=r.Children.toArray(o),s=a.find(u);if(s){let e=s.props.children,o=a.map(t=>t!==s?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,i.jsx)(t,{...l,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,o):null})}return(0,i.jsx)(t,{...l,ref:n,children:o})});return n.displayName=`${e}.Slot`,n}var a=Symbol("radix.slottable");function u(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===a}},9946:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(2115);let o=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},i=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((e,t,n)=>!!e&&""!==e.trim()&&n.indexOf(e)===t).join(" ").trim()};var l={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let a=(0,r.forwardRef)((e,t)=>{let{color:n="currentColor",size:o=24,strokeWidth:a=2,absoluteStrokeWidth:u,className:s="",children:c,iconNode:d,...f}=e;return(0,r.createElement)("svg",{ref:t,...l,width:o,height:o,stroke:n,strokeWidth:u?24*Number(a)/Number(o):a,className:i("lucide",s),...f},[...d.map(e=>{let[t,n]=e;return(0,r.createElement)(t,n)}),...Array.isArray(c)?c:[c]])}),u=(e,t)=>{let n=(0,r.forwardRef)((n,l)=>{let{className:u,...s}=n;return(0,r.createElement)(a,{ref:l,iconNode:t,className:i("lucide-".concat(o(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),"lucide-".concat(e),u),...s})});return n.displayName=o(e),n}},9991:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{DecodeError:function(){return h},MiddlewareNotFoundError:function(){return g},MissingStaticPage:function(){return y},NormalizeError:function(){return m},PageNotFoundError:function(){return v},SP:function(){return f},ST:function(){return p},WEB_VITALS:function(){return n},execOnce:function(){return r},getDisplayName:function(){return u},getLocationOrigin:function(){return l},getURL:function(){return a},isAbsoluteUrl:function(){return i},isResSent:function(){return s},loadGetInitialProps:function(){return d},normalizeRepeatedSlashes:function(){return c},stringifyError:function(){return w}});let n=["CLS","FCP","FID","INP","LCP","TTFB"];function r(e){let t,n=!1;return function(){for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];return n||(n=!0,t=e(...o)),t}}let o=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,i=e=>o.test(e);function l(){let{protocol:e,hostname:t,port:n}=window.location;return e+"//"+t+(n?":"+n:"")}function a(){let{href:e}=window.location,t=l();return e.substring(t.length)}function u(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function s(e){return e.finished||e.headersSent}function c(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function d(e,t){let n=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await d(t.Component,t.ctx)}:{};let r=await e.getInitialProps(t);if(n&&s(n))return r;if(!r)throw Object.defineProperty(Error('"'+u(e)+'.getInitialProps()" should resolve to an object. But found "'+r+'" instead.'),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return r}let f="undefined"!=typeof performance,p=f&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class h extends Error{}class m extends Error{}class v extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class y extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class g extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function w(e){return JSON.stringify({message:e.message,stack:e.stack})}}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[974],{3077:(e,t,r)=>{"use strict";r.d(t,{default:()=>et});var a=r(5155),n=r(2115),l=r(4477);let o=(0,l.createServerReference)("0012bea21872c52cc3aeace7a79caa865980c88651",l.callServer,void 0,l.findSourceMapURL,"getGraphAction");var s=r(7340),d=r(3052),i=r(6874),c=r.n(i);function u(e){let{path:t,onNavigate:r}=e,n=t.split("/")||[""];return(0,a.jsxs)("nav",{className:"flex items-center space-x-1 text-sm",children:[(0,a.jsx)(c(),{href:"#",onClick:()=>r(""),className:"flex items-center text-foreground",children:(0,a.jsx)(s.A,{className:"h-4 w-4 mr-1"})}),n.map((e,t)=>{let l=n.length?n.slice(0,t+1).join("."):"";return(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)(d.A,{className:"h-4 w-4 text-foreground opacity-20"}),(0,a.jsx)(c(),{href:"#",onClick:()=>r(l),className:"ml-1 text-foreground",children:e})]},t)})]})}var g=r(1362);function h(){let{theme:e,setTheme:t,resolvedTheme:r}=(0,g.D)(),[l,o]=(0,n.useState)(!1);if((0,n.useEffect)(()=>o(!0),[]),!l)return null;let s="dark"===("system"===e?r:e);return(0,a.jsx)("button",{onClick:()=>t(s?"light":"dark"),"aria-label":"Toggle dark mode",className:"rounded-lg px-3 py-2 border border-blue-400 dark:border-blue-600 text-xs cursor-pointer",title:"Switch to ".concat(s?"light":"dark"," mode"),children:s?"\uD83C\uDF19 Dark":"☀️ Light"})}let f={"nav.packages":"Packages","nav.sequence":"Sequence","settings.title":"Settings","settings.showCompoundNodes":"Show Compound Nodes","settings.showVendorPackages":"Show Vendor","settings.subPackageDepth":"Subpackage depth","settings.audit":"Audit","settings.download":"Download","settings.layout":"Layout","settings.layoutSpacing":"Layout Spacing","settings.filter":"Filter",breadthfirst:"Breadthfirst",circle:"Circle",concentric:"Concentric",elk:"Elk: Layered",grid:"Grid"};function m(e){return f[e]||"{".concat(e,"}")}function p(e){let{children:t,title:r}=e,n=(()=>{let e="/Users/a_rtiphishl_e/git/pkgviz";if(!e)throw Error("Missing ENV: NEXT_PUBLIC_PROJECT_PATH");return e.replace(/\\/g,"/")})().split("/").pop()||"{unknown}";return(0,a.jsxs)("header",{className:"flex flex-row items-center justify-between text-blue-50 bg-blue-500 dark:bg-blue-950 border-b-1 border-b-neutral-200 mb-1 dark:border-b-blue-800 p-2 pb-1 gap-4",children:[(0,a.jsxs)("div",{className:"flex flex-row items-center justify-start",children:[(0,a.jsx)("h1",{className:"ml-4",children:n}),(0,a.jsx)("span",{className:"ml-2 opacity-20",children:"/"}),r&&(0,a.jsx)("strong",{className:"mx-2",children:m(r)}),t]}),(0,a.jsx)(h,{})]})}var b=r(4631);function x(){return(0,a.jsx)("div",{"data-testid":"loader",className:"h-full flex items-center justify-center",children:(0,a.jsx)(b.A,{})})}var v=r(5028),w=r(1788),y=r(6474),k=r(4073),j=r(6793);let N=e=>{let{children:t}=e;return(0,a.jsx)("div",{className:"ml-[.8rem] px-[.8rem] py-2 bg-white dark:bg-neutral-900 border-b border-b-neutral-200 dark:border-b-neutral-800",children:t})};N.displayName="Setting";var C=r(4884);function S(e){let{id:t,label:r,value:n,onToggle:l}=e;return(0,a.jsx)("form",{children:(0,a.jsxs)("div",{className:"flex items-center justify-between h-[20px]",children:[(0,a.jsx)("label",{className:"pr-[15px] leading-none text-foreground whitespace-nowrap",htmlFor:t,children:r}),(0,a.jsx)(C.bL,{className:"relative h-[18px] w-[42px] cursor-default rounded-full bg-neutral-200 dark:bg-neutral-800 outline-none data-[state=checked]:bg-neutral-200 dark:data-[state=checked]:bg-gray-700",defaultChecked:n,id:t,checked:n,onCheckedChange:l,children:(0,a.jsx)(C.zi,{className:"block size-[16px] translate-x-0.5 rounded-full bg-neutral-500 dark:bg-neutral-500 transition-transform duration-100 will-change-transform data-[state=checked]:bg-blue-500 dark:data-[state=checked]:bg-white data-[state=checked]:translate-x-[24px]"})})]})})}var F=r(9509);let E=(e,t)=>{if(t)return"true"===t||"false"!==t&&(isNaN(Number(t))?t:Number(t))};function L(e,t){let[r,a]=(0,n.useState)(()=>{try{let r=window.localStorage.getItem(e);return r?JSON.parse(r):t}catch(r){return console.warn('Error reading localStorage key "'.concat(e,'":'),r),t}});return[r,t=>{try{let n=t instanceof Function?t(r):t;a(n),window.localStorage.setItem(e,JSON.stringify(n))}catch(t){console.warn('Error setting localStorage key "'.concat(e,'":'),t)}}]}let A=(0,n.createContext)(null),T=e=>{let{children:t}=e,[r,n]=L("maxSubPackageDepth",1),[l,o]=L("showCompoundNodes",!1!==E("NEXT_PUBLIC_SETTINGS_SHOW_COMPOUNDNODES","true")),[s,d]=L("showVendorPackages",!0===E("NEXT_PUBLIC_SETTINGS_SHOW_VENDORPACKAGES","false")),[i,c]=L("subPackageDepth",(()=>{let e=E("NEXT_PUBLIC_SETTINGS_SUBPACKAGE_DEPTH","1");return"string"==typeof e&&e.length?parseInt(e):1})()||1),[u,g]=L("cytoscapeLayout",(()=>{let e=E("NEXT_PUBLIC_SETTINGS_LAYOUT","concentric");return"grid"===e?"grid":"circle"===e?"circle":"elk"===e?"elk":"concentric"})()),[h,f]=L("cytoscapeLayoutSpacing",(()=>{let e=E("NEXT_PUBLIC_SETTINGS_LAYOUT_SPACING",F.env.NEXT_PUBLIC_SETTINGS_LAYOUT_SPACING);return isNaN(Number(e))?1:Number(e)})());return(0,a.jsx)(A,{value:{cytoscapeLayout:u,cytoscapeLayoutSpacing:h,maxSubPackageDepth:r,showCompoundNodes:l,showVendorPackages:s,subPackageDepth:i,setCytoscapeLayout:g,setCytoscapeLayoutSpacing:f,setMaxSubPackageDepth:n,setSubPackageDepth:c,toggleShowCompoundNodes:()=>o(e=>!e),toggleShowVendorPackages:()=>d(e=>!e)},children:t})};function B(){let e=(0,n.use)(A);if(!e)throw Error("useSettings() must be used within a SettingsProvider");return e}let _=(0,l.createServerReference)("001e000718d9371f1f16e6a54d6a564f4caab05c8d",l.callServer,void 0,l.findSourceMapURL,"downloadAuditJsonAction"),I=(0,l.createServerReference)("003c29dcc5e7142168277196aff569547314458691",l.callServer,void 0,l.findSourceMapURL,"downloadAuditXmlAction"),P=()=>{let{cytoscapeLayout:e,cytoscapeLayoutSpacing:t,maxSubPackageDepth:r,showCompoundNodes:n,showVendorPackages:l,subPackageDepth:o,setCytoscapeLayout:s,setCytoscapeLayoutSpacing:d,setSubPackageDepth:i,toggleShowCompoundNodes:c,toggleShowVendorPackages:u}=B(),g=async()=>{let{data:e,filename:t}=await _(),r=new Blob([e],{type:"application/json"}),a=URL.createObjectURL(r),n=document.createElement("a");n.href=a,n.download=t,n.click(),URL.revokeObjectURL(a)},h=async()=>{let{data:e,filename:t}=await I(),r=new Blob([e],{type:"application/xml"}),a=URL.createObjectURL(r),n=document.createElement("a");n.href=a,n.download=t,n.click(),URL.revokeObjectURL(a)};return(0,a.jsxs)("div",{className:"md:pt-14 border-r bg-neutral-100 border-r-neutral-200 dark:border-r-neutral-800 dark:bg-neutral-950",children:[(0,a.jsx)("h3",{children:m("settings.download")}),(0,a.jsxs)("div",{children:[(0,a.jsx)(N,{children:(0,a.jsxs)("button",{onClick:g,className:"flex flex-row items-center content-start text-xs cursor-pointer hover:text-blue-600 dark:hover:text-blue-400",children:[(0,a.jsx)(w.A,{size:8,className:"mr-1"}),(0,a.jsx)("span",{children:"JSON"})]})}),(0,a.jsx)(N,{children:(0,a.jsxs)("button",{onClick:h,className:"flex flex-row items-center content-start text-xs cursor-pointer hover:text-blue-600 dark:hover:text-blue-400",children:[(0,a.jsx)(w.A,{size:8,className:"mr-1"}),(0,a.jsx)("span",{children:"XML"})]})})]}),(0,a.jsx)("h3",{children:m("settings.filter")}),(0,a.jsx)(N,{children:(0,a.jsx)(S,{id:"switch-show-vendor-packages",label:m("settings.showVendorPackages"),onToggle:()=>{u()},value:l})}),(0,a.jsx)(N,{children:(0,a.jsx)(S,{id:"switch-show-compound-nodes",label:m("settings.showCompoundNodes"),onToggle:()=>{c()},value:n})}),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("h3",{children:"".concat(m("settings.subPackageDepth"),": ").concat(o)}),(0,a.jsx)(N,{children:(0,a.jsxs)(k.bL,{id:"subPackageDepth",min:1,max:r,step:1,value:[o],onValueChange:e=>{let[t]=e;return i(Number(t.toFixed(1)))},"aria-label":"Subpackage depth",className:"relative flex h-5 w-56 touch-none select-none items-center",children:[(0,a.jsx)(k.CC,{className:"relative h-1.5 grow rounded-full bg-neutral-200 dark:bg-neutral-800",children:(0,a.jsx)(k.Q6,{className:"absolute h-1.5 rounded-full bg-blue-600 dark:bg-blue-400"})}),(0,a.jsx)(k.zi,{className:"block h-4 w-4 rounded-full border border-neutral-300 bg-white shadow focus:outline-none focus:ring-2 focus:ring-blue-500 dark:border-neutral-600 dark:bg-neutral-100"})]})})]}),(0,a.jsx)("h3",{children:m("settings.layout")}),(0,a.jsx)(N,{children:(0,a.jsxs)(j.bL,{value:e,onValueChange:s,children:[(0,a.jsxs)(j.l9,{"aria-label":m("cytoscapeLayout"),className:"inline-flex items-center justify-between w-44 h-9 rounded-md px-3 border",children:[(0,a.jsx)(j.WT,{className:"text-foreground"}),(0,a.jsx)(j.In,{children:(0,a.jsx)(y.A,{})})]}),(0,a.jsx)(j.ZL,{children:(0,a.jsx)(j.UC,{position:"popper",side:"bottom",align:"start",sideOffset:6,className:"z-50 min-w-(--radix-select-trigger-width) rounded-md border bg-white dark:bg-neutral-900 shadow-md",children:(0,a.jsx)(j.LM,{className:"p-1",children:(0,a.jsx)(j.YJ,{children:["breadthfirst","circle","concentric","elk","grid"].map(e=>(0,a.jsx)(j.q7,{value:e,textValue:m(e),className:"px-2 py-1.5 rounded hover:bg-neutral-100 dark:hover:bg-neutral-800",children:(0,a.jsx)(j.p4,{children:m(e)})},e))})})})})]})}),(0,a.jsxs)("h3",{children:[m("settings.layoutSpacing"),": ",t]}),(0,a.jsx)(N,{children:(0,a.jsxs)(k.bL,{id:"spacing",min:.1,max:1,step:.1,value:[t],onValueChange:e=>{let[t]=e;return d(Number(t.toFixed(1)))},"aria-label":"Layout spacing",className:"relative flex h-5 w-56 touch-none select-none items-center",children:[(0,a.jsx)(k.CC,{className:"relative h-1.5 grow rounded-full bg-neutral-200 dark:bg-neutral-800",children:(0,a.jsx)(k.Q6,{className:"absolute h-1.5 rounded-full bg-blue-600 dark:bg-blue-400"})}),(0,a.jsx)(k.zi,{className:"block h-4 w-4 rounded-full border border-neutral-300 bg-white shadow focus:outline-none focus:ring-2 focus:ring-blue-500 dark:border-neutral-600 dark:bg-neutral-100"})]})})]})},O=(0,v.default)(()=>Promise.resolve(P),{ssr:!1});var U=r(4641);let V={light:{canvasBg:"#ffffff",edge:"#000",weightXs:"#000",weightMd:"#000",weightXl:"#000",nodeBg:"#E8F1FF",nodeBorder:"#0B5FFF",nodeBorderVendor:"#E2D5FF",nodeBgVendor:"#D1C4FF",nodeText:"#0B5FFF",selectedFill:"#0B5FFF",selectedFillVendor:"#a025aa",selectedRing:"#0B5FFF",selectedText:"#FFF"},dark:{canvasBg:"#171717",edge:"#707070",weightXs:"#5A5A5A",weightMd:"#8A8A8A",weightXl:"#C0C0C0",nodeBg:"#1E2533",nodeBgVendor:"#241431",nodeBorder:"#2A3A4A",nodeBorderVendor:"#351542",nodeText:"#E8F0FF",selectedFill:"#2E6FFF",selectedFillVendor:"#4E25AA",selectedRing:"#BBD3FF",selectedText:"#FFFFFF"}},D=e=>V[e].canvasBg;function R(e,t){let r=V[t],{thresholds:a}=function(e){var t,r;let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"linear",n=arguments.length>2?arguments[2]:void 0;if(!n)return{thresholds:[],counts:[]};let l=n.edges.map(e=>Number(e.data.weight)),o=null!=(r=null==(t=n)?void 0:t.edges.reduce((e,t)=>t.data.weight>e?t.data.weight:e,0))?r:0,s=[],d=Array(e).fill(0);if("linear"===a){for(let t=1;t<e;t++)s.push(t*o/e);s.push(o)}else if("log"===a){let t=Math.log(o);for(let r=1;r<e;r++)s.push(Math.exp(r*t/e));s.push(o)}else if("quantile"===a){let t=[...l].sort((e,t)=>e-t);for(let r=1;r<e;r++){let a=Math.floor(r*t.length/e);s.push(t[a])}s.push(o)}return l.forEach(e=>{for(let t=0;t<s.length;t++)if(e<=s[t]){d[t]++;break}}),{thresholds:s.map(Math.round),counts:d}}(3,"linear",e);return[{selector:"node",style:{shape:"bottom-round-rectangle","background-color":r.nodeBg,"border-color":r.nodeBorder,color:r.nodeText,label:"data(name)","text-valign":"center","text-halign":"center",width:e=>7*e.data("name").length,height:e=>e.height()/2+10,padding:"8px 8px","border-width":1,"font-size":"14px","overlay-opacity":0}},{selector:"node.isVendor",style:{"background-color":r.nodeBgVendor}},{selector:"node.packageCycle",style:{"border-color":"#d80303","border-width":3}},{selector:"node.isParent",style:{"font-weight":"bold"}},{selector:"node:selected",style:{"background-color":r.selectedFill,"border-color":r.selectedRing,"border-width":3,color:r.selectedText,"background-opacity":1,opacity:1,"overlay-opacity":0}},{selector:"node.isVendor:selected",style:{"background-color":r.selectedFillVendor}},{selector:"node:parent, node:parent:selected",style:{"background-opacity":.3,"background-color":r.selectedFill,color:r.nodeText,"border-width":2,"border-color":r.nodeBorder,"text-valign":"top","text-margin-y":-5,padding:"10px","padding-top":"20px","text-halign":"center","font-size":14,"font-weight":"bold","font-style":"italic",label:"data(name)"}},{selector:"node:parent.isVendor, node:parent.isVendor:selected",style:{"background-color":r.nodeBgVendor,"border-color":r.nodeBorderVendor}},{selector:"edge",style:{"arrow-scale":1,"target-arrow-color":r.edge,"target-arrow-shape":"chevron","target-arrow-fill":"filled","line-color":r.edge,"curve-style":"straight",opacity:1,"line-opacity":1}},{selector:"edge.hushed",style:{opacity:.04}},{selector:"edge.highlight-outgoer, edge.highlight-incomer, edge.highlight-dependency",style:{opacity:1,"line-opacity":1,width:4,"line-color":r.weightXl,"target-arrow-color":r.weightXl,"source-arrow-color":r.weightXl}},{selector:"edge[weight <= 1]",style:{label:""}},{selector:"edge[weight > 1][weight <= ".concat(a[0],"]"),style:{width:1,"line-color":r.weightXs,"target-arrow-color":r.weightXs}},{selector:"edge[weight > ".concat(a[0],"][weight <= ").concat(a[1],"]"),style:{width:4,"arrow-scale":2,"line-color":r.weightMd,"target-arrow-color":r.weightMd}},{selector:"edge[weight > ".concat(a[1],"]"),style:{width:8,"line-color":r.weightXl,"target-arrow-color":r.weightXl}},{selector:"edge.packageCycle",style:{"line-color":"#d80303","target-arrow-color":"#d80303"}},{selector:"edge.packageCycle",style:{"line-color":"#d80303","target-arrow-color":"#d80303"}}]}function z(){return[]}function M(){return[{selector:"node",style:{shape:"barrel"}},{selector:"edge",style:{}}]}function X(){return[{selector:"node",style:{}}]}var G=r(3557),W=r.n(G);function Z(){return[{selector:"node",style:{"edge-distances":"intersection"}}]}function q(){return[{selector:"node",style:{shape:"rectangle"}},{selector:"edge",style:{"text-margin-x":0,"text-margin-y":0}}]}U.A.use(W());let H={breadthfirst:{name:"breadthfirst",animate:!1,animationDuration:500,animationEasing:void 0,avoidOverlap:!0,boundingBox:void 0,circle:!1,depthSort:void 0,directed:!0,direction:"downward",fit:!0,grid:!0,nodeDimensionsIncludeLabels:!1,roots:void 0,ready:void 0,stop:void 0,transform:function(e,t){return t}},circle:{name:"circle",fit:!0,avoidOverlap:!0,sort:(e,t)=>e.data("id").localeCompare(t.data("id"))},concentric:{name:"concentric",avoidOverlap:!0,fit:!0,padding:30,sort:(e,t)=>e.data("id").localeCompare(t.data("id"))},elk:{name:"elk",elk:{algorithm:"layered","elk.direction":"DOWN","elk.hierarchyHandling":"INCLUDE_CHILDREN"},animate:!0,animateFilter:function(){return!0},animationDuration:500,animationEasing:void 0,fit:!0,nodeDimensionsIncludeLabels:!1,nodeLayoutOptions:void 0,transform:function(e,t){return t},ready:void 0,stop:void 0,priority:function(){return null}},grid:{name:"grid",avoidOverlap:!0,sort:(e,t)=>e.data("id").localeCompare(t.data("id"))}};function J(e){let t=[...e].sort(),r=[];for(let e of t)r.some(t=>e.startsWith(t+"."))||r.push(e);return r}function Y(e,t){if(t.has(e))return e;let r=e.split(".");for(;r.length>1;){r.pop();let e=r.join(".");if(t.has(e))return e}return e}let K=(e,t)=>t.some(t=>{var r;return null==(r=t.data.id)?void 0:r.startsWith("".concat(e.data.id,"."))});var Q=r(7604);function $(e){let{cyInstance:t}=e,[r,l]=(0,n.useState)(1),[o,s]=(0,n.useState)(.1),[d,i]=(0,n.useState)(2);return(0,n.useEffect)(()=>{if(!t)return;l(t.zoom()),s(t.minZoom()),i(t.maxZoom());let e=()=>{l(t.zoom())};return t.on("zoom",e),()=>{t.off("zoom",e)}},[t]),(0,a.jsxs)("div",{className:"p-4 flex items-center justify-center gap-2 border-t border-t-gray-200 dark:border-t-gray-800",children:[(0,a.jsx)("label",{htmlFor:"zoom",children:"Zoom:"}),(0,a.jsx)("button",{type:"button",title:"Zoom to fit",onClick:()=>{t&&(t.fit(void 0,50),l(t.zoom()))},className:"p-1 rounded hover:bg-gray-100 dark:hover:bg-gray-800",children:(0,a.jsx)(Q.A,{className:"cursor-pointer"})}),(0,a.jsx)("input",{id:"zoom",type:"range",min:o,max:d,step:"0.05",value:r,onChange:e=>{if(!t)return;let r=Math.min(d,Math.max(o,parseFloat(e.target.value))),a={x:t.width()/2,y:t.height()/2};t.zoom({level:r,renderedPosition:a}),l(r)},className:"w-64"}),(0,a.jsxs)("span",{className:"text-sm",children:[(100*r).toFixed(0),"%"]})]})}function ee(e){let{currentPackage:t,packageGraph:r,setCurrentPackage:l}=e,{cyRef:o,cyInstance:s}=function(e,t,r){let a=(0,n.useRef)(null),[l,o]=(0,n.useState)(null),[s,d]=(0,n.useState)(null),i=(0,n.useRef)(null),c=(0,n.useRef)(null),u=(0,n.useRef)(null);c.current=e,u.current=l;let{cytoscapeLayout:h,cytoscapeLayoutSpacing:f,showCompoundNodes:m,showVendorPackages:p,subPackageDepth:b,setMaxSubPackageDepth:x}=B(),{resolvedTheme:v}=(0,g.D)(),w="dark"===v?"dark":"light";(0,n.useEffect)(()=>{if(!e)return;let a=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,a=e.nodes.map(e=>e.data.id),n=new Set(a),l=new Set(J(a)),o=new Map;for(let e of a){let t=function(e,t,r,a){if(r<=1)return e;let n=e.split(".").length,l=t.split("."),o=Math.min(n+(r-1),l.length);for(let e=o;e>=n;e--){let t=l.slice(0,e).join(".");if(a.has(t))return t}return e}(Y(e,l),e,r,n);o.set(e,t)}let s=new Set(o.values()),d=e.nodes.filter(e=>s.has(e.data.id)),i=new Map;for(let r of e.edges){var c,u,g,h,f;let e=r.data.source,a=r.data.target,n=null!=(c=o.get(e))?c:e,l=null!=(u=o.get(a))?u:a;if(!s.has(n)||!s.has(l)||!t&&n===l)continue;let d="".concat(n,"->").concat(l);if(i.has(d)){let e=i.get(d),t=null!=(h=r.data.weight)?h:1;e.data.weight=(null!=(f=e.data.weight)?f:0)+t}else i.set(d,{...r,data:{...r.data,source:n,target:l,weight:null!=(g=r.data.weight)?g:1}})}return{nodes:d,edges:Array.from(i.values())}}(function(e,t){if(!t)return e;let r=t.endsWith(".")?t:t+".",a=e.nodes.filter(e=>e.data.id.startsWith(r)),n=new Set(a.map(e=>e.data.id));return{nodes:a,edges:e.edges.filter(e=>n.has(e.data.source)&&n.has(e.data.target))}}(function(e,t,r){let{nodes:a,edges:n}=e;return{nodes:a.map(e=>(e.data.idInactive||(e.data.idInactive=e.data.id),t&&e.data.parentInactive?(e.data.parent=e.data.parentInactive,e.data.parentInactive=void 0):!t&&e.data.parent&&(e.data.parentInactive=e.data.parent,e.data.parent=void 0),e)).map(e=>(t?e.data.name=e.data.idInactive.split(".").pop():e.data.name=e.data.idInactive.slice(r.length?r.length+1:0),e)),edges:n}}(e,m,t),t.replace(/\//g,".")),!0,b),n=p?a:function(e){let t=e.nodes.filter(e=>!!e.data.isIntrinsic),r=new Set(t.map(e=>e.data.id));return{nodes:t,edges:e.edges.filter(e=>r.has(e.data.source)&&r.has(e.data.target))}}(a),l=function(e,t){let r=t.nodes.map(e=>e.data.id);if(!e){let e=t.nodes.filter(e=>{var t;return!(null==(t=e.data.id)?void 0:t.includes("."))});return e.length>1?"":e[0].data.id}for(;;){let t=r.filter(t=>t.startsWith(e+".")&&t.split(".").length===e.split(".").length+1);if(1===t.length)e=t[0];else break}return e}(t,n);if(l!==t)return void r(l);o({nodes:n.nodes.map(e=>{var r;let a=t.length?null==(r=e.data.id)?void 0:r.slice(t.length+1):e.data.id;return{group:"nodes",classes:e.classes||"",data:{...e.data,label:a}}}),edges:n.edges}),x(function(e){let t=e.nodes.map(e=>String(e.data.id));if(0===t.length)return 0;let r=new Set(J(t)),a=1;for(let e of t){let t=Y(e,r),n=e.split(".").length-t.split(".").length+1;n>a&&(a=n)}return a}(e))},[e,t,r,m,p,b,x]);let y=(0,n.useCallback)(e=>({...H[e],spacingFactor:f,nodeDimensionsIncludeLabels:!0,fit:!0,animate:!1,animationDuration:400}),[f]),k=(0,n.useCallback)((e,t)=>{try{var r;null==(r=i.current)||r.stop()}catch(e){}i.current=null,!e||e.destroyed()||(e.resize(),requestAnimationFrame(()=>{if(!e||e.destroyed())return;let r=e.layout(y(t));i.current=r,e.one("layoutstop",()=>{e.destroyed()||e.fit(void 0,50)}),r.run()}))},[y]);return(0,n.useEffect)(()=>{if(!a.current)return;let e=(0,U.A)({container:a.current,elements:[],hideEdgesOnViewport:!0,minZoom:.01,maxZoom:2,selectionType:"additive",style:R({nodes:[],edges:[]},"light"),userPanningEnabled:!0});d(e),a.current.style.background=D("light");let t=()=>{e.destroyed()||e.fit(void 0,50)},r=new ResizeObserver(()=>requestAnimationFrame(t));return r.observe(a.current),()=>{try{var t;null==(t=i.current)||t.stop()}catch(e){}i.current=null,r.disconnect(),e.destroy(),d(null)}},[]),(0,n.useEffect)(()=>{!s||!l||s.destroyed()||(s.batch(()=>{s.elements().remove(),s.add(l)}),s.nodes().forEach(e=>{var t,a,n;let l=null==(t=u.current)?void 0:t.nodes.find(t=>t.data.id===e.data().id),o=null!=(n=null==(a=c.current)?void 0:a.nodes)?n:[];e.removeClass("isParent"),e.off("dblclick"),l&&K(l,o)&&(e.addClass("isParent"),e.on("dblclick",()=>r(e.id().replace(/\./g,"/"))))}))},[s,l,r]),(0,n.useEffect)(()=>{!s||!l||s.destroyed()||k(s,h)},[s,l,h,f,k]),(0,n.useEffect)(()=>{let e;if(!s)return;let t=()=>{if(s.destroyed())return;let e=s.nodes(":selected"),t=s.elements();if(t.removeClass("hushed highlight highlight-outgoer highlight-incomer"),e.empty())return;let r=e.union(e.neighborhood());t.difference(r).addClass("hushed"),e.addClass("highlight"),e.outgoers().addClass("highlight-outgoer"),e.incomers().addClass("highlight-incomer")};return s.on("select unselect","node",t),s.on("mouseover","node",e=>{if(s.destroyed())return;let t=e.target,r=u.current,a=c.current,n=null==r?void 0:r.nodes.find(e=>e.data.id===t.data().id);n&&a&&K(n,a.nodes)&&(document.body.style.cursor="pointer",r&&K(n,r.nodes))||(s.elements().subtract(t.outgoers()).subtract(t.incomers()).subtract(t).addClass("hushed"),t.addClass("highlight"),t.outgoers().addClass("highlight-outgoer"),t.incomers().addClass("highlight-incomer"))}),s.on("mouseout","node",()=>{s.destroyed()||(document.body.style.cursor="default",t())}),s.on("mouseover","edge",t=>{if(s.destroyed())return;let r=t.target;r.addClass("highlight-dependency"),e=setTimeout(()=>{s.destroyed()||(r.source().addClass("highlight-dependency"),r.target().addClass("highlight-dependency"))},150)}),s.on("mouseout","edge",t=>{if(s.destroyed())return;let r=t.target;r.removeClass("highlight-dependency"),clearTimeout(e),r.source().removeClass("highlight-dependency"),r.target().removeClass("highlight-dependency")}),()=>{var e;null==(e=s.removeAllListeners)||e.call(s),document.body.style.cursor="default"}},[s]),(0,n.useEffect)(()=>{if(!s||!l||!a.current)return;let e="breadthfirst"===h?z:"circle"===h?M:"elk"===h?Z:"grid"===h?q:X;s.style([...R(l,w),...e()]).update(),a.current.style.background=D(w)},[s,l,w,h]),{cyRef:a,cyInstance:s}}(r,t,l);return(0,a.jsxs)("div",{className:"flex flex-col w-full px-8 flex-1 gap-2",children:[(0,a.jsx)("div",{ref:o,className:"h-[calc(100%-65px)]"}),(0,a.jsx)($,{cyInstance:s})]})}function et(){let[e,t]=(0,n.useState)(""),[r,l]=(0,n.useState)(null);return(0,n.useEffect)(()=>{r||o().then(l)},[r]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(p,{title:"nav.packages",children:(0,a.jsx)(u,{path:e.replace(/\./g,"/"),onNavigate:e=>t(e.replace(/\//g,"."))})}),(0,a.jsx)(T,{children:(0,a.jsxs)("main",{"data-testid":"main",className:"flex flex-1 flex-row dark:bg-[#171717]",children:[(0,a.jsx)(O,{}),r?(0,a.jsx)(ee,{currentPackage:e,setCurrentPackage:t,packageGraph:r}):(0,a.jsx)(x,{})]})})]})}},7269:(e,t,r)=>{Promise.resolve().then(r.bind(r,3077))}},e=>{e.O(0,[747,238,680,441,964,358],()=>e(e.s=7269)),_N_E=e.O()}]);
@@ -0,0 +1,3 @@
1
+ @font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/8d697b304b401681-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/ba015fad6dcf6784-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/4cf2300e9c8272f7-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Geist Fallback;src:local("Arial");ascent-override:95.94%;descent-override:28.16%;line-gap-override:0.00%;size-adjust:104.76%}.__className_188709{font-family:Geist,Geist Fallback;font-style:normal}.__variable_188709{--font-geist-sans:"Geist","Geist Fallback"}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/9610d9e46709d722-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/747892c23ea88013-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/93f479601ee12b01-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Geist Mono Fallback;src:local("Arial");ascent-override:74.67%;descent-override:21.92%;line-gap-override:0.00%;size-adjust:134.59%}.__className_9a8899{font-family:Geist Mono,Geist Mono Fallback;font-style:normal}.__variable_9a8899{--font-geist-mono:"Geist Mono","Geist Mono Fallback"}
2
+
3
+ /*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial}}}@layer theme{:host,:root{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-blue-500:#043c8c;--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-neutral-100:oklch(97% 0 0);--color-neutral-200:oklch(92.2% 0 0);--color-neutral-300:oklch(87% 0 0);--color-neutral-500:oklch(55.6% 0 0);--color-neutral-600:oklch(43.9% 0 0);--color-neutral-800:oklch(26.9% 0 0);--color-neutral-900:oklch(20.5% 0 0);--color-neutral-950:oklch(14.5% 0 0);--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-xl:1.25rem;--radius-md:.375rem;--radius-lg:.5rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,::backdrop,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}:host,html{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.static{position:static}.z-50{z-index:50}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.mx-2{margin-inline:calc(var(--spacing)*2)}.mr-1{margin-right:calc(var(--spacing)*1)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-4{margin-left:calc(var(--spacing)*4)}.ml-\[\.8rem\]{margin-left:.8rem}.block{display:block}.flex{display:flex}.grid{display:grid}.inline-flex{display:inline-flex}.size-\[16px\]{width:16px;height:16px}.h-1\.5{height:calc(var(--spacing)*1.5)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-9{height:calc(var(--spacing)*9)}.h-\[18px\]{height:18px}.h-\[20px\]{height:20px}.h-\[calc\(100\%-65px\)\]{height:calc(100% - 65px)}.h-full{height:100%}.w-4{width:calc(var(--spacing)*4)}.w-44{width:calc(var(--spacing)*44)}.w-56{width:calc(var(--spacing)*56)}.w-64{width:calc(var(--spacing)*64)}.w-\[42px\]{width:42px}.w-full{width:100%}.min-w-\(--radix-select-trigger-width\){min-width:var(--radix-select-trigger-width)}.flex-1{flex:1}.grow{flex-grow:1}.translate-x-0\.5{--tw-translate-x:calc(var(--spacing)*.5);translate:var(--tw-translate-x)var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.content-start{align-content:flex-start}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-start{justify-content:flex-start}.gap-2{gap:calc(var(--spacing)*2)}.gap-4{gap:calc(var(--spacing)*4)}:where(.space-x-1>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*1)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-x-reverse)))}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e+38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b,.border-b-1{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-blue-400{border-color:#688aba}.border-neutral-300{border-color:var(--color-neutral-300)}.border-t-gray-200{border-top-color:var(--color-gray-200)}.border-r-neutral-200{border-right-color:var(--color-neutral-200)}.border-b-neutral-200{border-bottom-color:var(--color-neutral-200)}.bg-blue-500{background-color:#043c8c}.bg-blue-600{background-color:#04357b}.bg-neutral-100{background-color:var(--color-neutral-100)}.bg-neutral-200{background-color:var(--color-neutral-200)}.bg-neutral-500{background-color:var(--color-neutral-500)}.bg-white{background-color:var(--color-white)}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-4{padding:calc(var(--spacing)*4)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-8{padding-inline:calc(var(--spacing)*8)}.px-\[\.8rem\]{padding-inline:.8rem}.py-1\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.pr-\[15px\]{padding-right:15px}.pb-1{padding-bottom:calc(var(--spacing)*1)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-none{--tw-leading:1;line-height:1}.whitespace-nowrap{white-space:nowrap}.text-blue-50{color:#edf1f7}.italic{font-style:italic}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-20{opacity:.2}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a)}.shadow,.shadow-md{box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-100{--tw-duration:.1s;transition-duration:.1s}.will-change-transform{will-change:transform}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}@media (hover:hover){.hover\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\:bg-neutral-100:hover{background-color:var(--color-neutral-100)}.hover\:text-blue-600:hover{color:#04357b}}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-blue-500:focus{--tw-ring-color:#043c8c}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.data-\[state\=checked\]\:translate-x-\[24px\][data-state=checked]{--tw-translate-x:24px;translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[state\=checked\]\:bg-blue-500[data-state=checked]{background-color:#043c8c}.data-\[state\=checked\]\:bg-neutral-200[data-state=checked]{background-color:var(--color-neutral-200)}@media (min-width:48rem){.md\:pt-14{padding-top:calc(var(--spacing)*14)}}.dark\:border-blue-600:where(.dark,.dark *){border-color:#04357b}.dark\:border-neutral-600:where(.dark,.dark *){border-color:var(--color-neutral-600)}.dark\:border-t-gray-800:where(.dark,.dark *){border-top-color:var(--color-gray-800)}.dark\:border-r-neutral-800:where(.dark,.dark *){border-right-color:var(--color-neutral-800)}.dark\:border-b-blue-800:where(.dark,.dark *){border-bottom-color:#03265a}.dark\:border-b-neutral-800:where(.dark,.dark *){border-bottom-color:var(--color-neutral-800)}.dark\:bg-\[\#171717\]:where(.dark,.dark *){background-color:#171717}.dark\:bg-blue-400:where(.dark,.dark *){background-color:#688aba}.dark\:bg-blue-950:where(.dark,.dark *){background-color:#011632}.dark\:bg-neutral-100:where(.dark,.dark *){background-color:var(--color-neutral-100)}.dark\:bg-neutral-500:where(.dark,.dark *){background-color:var(--color-neutral-500)}.dark\:bg-neutral-800:where(.dark,.dark *){background-color:var(--color-neutral-800)}.dark\:bg-neutral-900:where(.dark,.dark *){background-color:var(--color-neutral-900)}.dark\:bg-neutral-950:where(.dark,.dark *){background-color:var(--color-neutral-950)}@media (hover:hover){.dark\:hover\:bg-gray-800:where(.dark,.dark *):hover{background-color:var(--color-gray-800)}.dark\:hover\:bg-neutral-800:where(.dark,.dark *):hover{background-color:var(--color-neutral-800)}.dark\:hover\:text-blue-400:where(.dark,.dark *):hover{color:#688aba}}.dark\:data-\[state\=checked\]\:bg-gray-700:where(.dark,.dark *)[data-state=checked]{background-color:var(--color-gray-700)}.dark\:data-\[state\=checked\]\:bg-white:where(.dark,.dark *)[data-state=checked]{background-color:var(--color-white)}}:root{--background:#fff;--foreground:#000}html.dark{--background:#000;--foreground:#c2c3c2}body,html{box-sizing:border-box;width:100%;height:100%;margin:0;padding:0;overflow:hidden}body{background:var(--background);color:var(--foreground);font-family:Arial,Helvetica,sans-serif;font-size:var(--text-sm);flex-direction:column;display:flex}h1{font-size:var(--text-xl);color:var(--color-white)}h1,h2{font-weight:700}h2{font-size:var(--text-l)}h3{font-weight:700;font-size:var(--text-sm);margin-top:1.6rem;margin-left:1.6rem}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}