PageSourceSearch

https://try.tasteray.com/assets/label-BulCOshP.js

js tasteray.com collected 2026-10-02 19:53:05 UTC 43,898 bytes, 51 lines download raw bytes

vendor: 4,097 bytes, line 1
1import{j as f}from"./jsx-runtime-fxZz7-kx.js";import{r as i,H as me}from"./chunk-EVOBXE3Y-xJnlvOzN.js";import{r as _t,R as It}from"./index-krXMHAJg.js";import{a as Mt,c as A}from"./utils-BVlG3pet.js";function jt(e,t){const n=i.createContext(t),r=a=>{const{children:c,...s}=a,u=i.useMemo(()=>s,Object.values(s));return f.jsx(n.Provider,{value:u,children:c})};r.displayName=e+"Provider";function o(a){const c=i.useContext(n);if(c)return c;if(t!==void 0)return t;throw new Error(`\`${a}\` must be used within \`${e}\``)}return[r,o]}function Le(e,t=[]){let n=[];function r(a,c){const s=i.createContext(c),u=n.length;n=[...n,c];const l=p=>{const{scope:m,children:h,...E}=p,d=m?.[e]?.[u]||s,g=i.useMemo(()=>E,Object.values(E));return f.jsx(d.Provider,{value:g,children:h})};l.displayName=a+"Provider";function v(p,m){const h=m?.[e]?.[u]||s,E=i.useContext(h);if(E)return E;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${a}\``)}return[l,v]}const o=()=>{const a=n.map(c=>i.createContext(c));return function(s){const u=s?.[e]||a;return i.useMemo(()=>({[`__scope${e}`]:{...s,[e]:u}}),[s,u])}};return o.scopeName=e,[r,Lt(o,...t)]}function Lt(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(a){const c=r.reduce((s,{useScope:u,scopeName:l})=>{const p=u(a)[`__scope${l}`];return{...s,...p}},{});return i.useMemo(()=>({[`__scope${t.scopeName}`]:c}),[c])}};return n.scopeName=t.scopeName,n}function Ce(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function te(...e){return t=>{let n=!1;const r=e.map(o=>{const a=Ce(o,t);return!n&&typeof a=="function"&&(n=!0),a});if(n)return()=>{for(let o=0;o<r.length;o++){const a=r[o];typeof a=="function"?a():Ce(e[o],null)}}}}function O(...e){return i.useCallback(te(...e),e)}function P(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e?.(o),n===!1||!o.defaultPrevented)return t?.(o)}}var U=globalThis?.document?i.useLayoutEffect:()=>{},kt=me[" useId ".trim().toString()]||(()=>{}),Ft=0;function ae(e){const[t,n]=i.useState(kt());return U(()=>{n(r=>r??String(Ft++))},[e]),e||(t?`radix-${t}`:"")}var $t=me[" useInsertionEffect ".trim().toString()]||U;function Wt({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,a,c]=Bt({defaultProp:t,onChange:n}),s=e!==void 0,u=s?e:o;{const v=i.useRef(e!==void 0);i.useEffect(()=>{const p=v.current;p!==s&&console.warn(`${r} is changing from ${p?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}. 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.`),v.current=s},[s,r])}const l=i.useCallback(v=>{if(s){const p=Vt(v)?v(e):v;p!==e&&c.current?.(p)}else a(v)},[s,e,a,c]);return[u,l]}function Bt({defaultProp:e,onChange:t}){const[n,r]=i.useState(e),o=i.useRef(n),a=i.useRef(t);return $t(()=>{a.current=t},[t]),i.useEffect(()=>{o.current!==n&&(a.current?.(n),o.current=n)},[n,o]),[n,r,a]}function Vt(e){return typeof e=="function"}function Ut(e){const t=Ht(e),n=i.forwardRef((r,o)=>{const{children:a,...c}=r,s=i.Children.toArray(a),u=s.find(Kt);if(u){const l=u.props.children,v=s.map(p=>p===u?i.Children.count(l)>1?i.Children.only(null):i.isValidElement(l)?l.props.children:null:p);return f.jsx(t,{...c,ref:o,children:i.isValidElement(l)?i.cloneElement(l,void 0,v):null})}return f.jsx(t,{...c,ref:o,children:a})});return n.displayName=`${e}.Slot`,n}function Ht(e){const t=i.forwardRef((n,r)=>{const{children:o,...a}=n;if(i.isValidElement(o)){const c=Yt(o),s=Gt(a,o.props);return o.type!==i.Fragment&&(s.ref=r?te(r,c):c),i.cloneElement(o,s)}return i.Children.count(o)>1?i.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var zt=Symbol("radix.slottable");function Kt(e){return i.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===zt}function Gt(e,t){const n={...t};for(const r in t){const o=e[r],a=t[r];/^on[A-Z]/.test(r)?o&&a?n[r]=(...s)=>{const u=a(...s);return o(...s),u}:o&&(n[r]=o):r==="style"?n[r]={...o,...a}
vendor: 4,540 bytes, line 1
1:r==="className"&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...e,...n}}function Yt(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Xt=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],T=Xt.reduce((e,t)=>{const n=Ut(`Primitive.${t}`),r=i.forwardRef((o,a)=>{const{asChild:c,...s}=o,u=c?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),f.jsx(u,{...s,ref:a})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Zt(e,t){e&&_t.flushSync(()=>e.dispatchEvent(t))}function H(e){const t=i.useRef(e);return i.useEffect(()=>{t.current=e}),i.useMemo(()=>(...n)=>t.current?.(...n),[])}function qt(e,t=globalThis?.document){const n=H(e);i.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var Qt="DismissableLayer",ve="dismissableLayer.update",Jt="dismissableLayer.pointerDownOutside",en="dismissableLayer.focusOutside",Se,ke=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Fe=i.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:a,onInteractOutside:c,onDismiss:s,...u}=e,l=i.useContext(ke),[v,p]=i.useState(null),m=v?.ownerDocument??globalThis?.document,[,h]=i.useState({}),E=O(t,b=>p(b)),d=Array.from(l.layers),[g]=[...l.layersWithOutsidePointerEventsDisabled].slice(-1),y=d.indexOf(g),C=v?d.indexOf(v):-1,S=l.layersWithOutsidePointerEventsDisabled.size>0,x=C>=y,w=rn(b=>{const M=b.target,L=[...l.branches].some(V=>V.contains(M));!x||L||(o?.(b),c?.(b),b.defaultPrevented||s?.())},m),D=on(b=>{const M=b.target;[...l.branches].some(V=>V.contains(M))||(a?.(b),c?.(b),b.defaultPrevented||s?.())},m);return qt(b=>{C===l.layers.size-1&&(r?.(b),!b.defaultPrevented&&s&&(b.preventDefault(),s()))},m),i.useEffect(()=>{if(v)return n&&(l.layersWithOutsidePointerEventsDisabled.size===0&&(Se=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),l.layersWithOutsidePointerEventsDisabled.add(v)),l.layers.add(v),xe(),()=>{n&&l.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=Se)}},[v,m,n,l]),i.useEffect(()=>()=>{v&&(l.layers.delete(v),l.layersWithOutsidePointerEventsDisabled.delete(v),xe())},[v,l]),i.useEffect(()=>{const b=()=>h({});return document.addEventListener(ve,b),()=>document.removeEventListener(ve,b)},[]),f.jsx(T.div,{...u,ref:E,style:{pointerEvents:S?x?"auto":"none":void 0,...e.style},onFocusCapture:P(e.onFocusCapture,D.onFocusCapture),onBlurCapture:P(e.onBlurCapture,D.onBlurCapture),onPointerDownCapture:P(e.onPointerDownCapture,w.onPointerDownCapture)})});Fe.displayName=Qt;var tn="DismissableLayerBranch",nn=i.forwardRef((e,t)=>{const n=i.useContext(ke),r=i.useRef(null),o=O(t,r);return i.useEffect(()=>{const a=r.current;if(a)return n.branches.add(a),()=>{n.branches.delete(a)}},[n.branches]),f.jsx(T.div,{...e,ref:o})});nn.displayName=tn;function rn(e,t=globalThis?.document){const n=H(e),r=i.useRef(!1),o=i.useRef(()=>{});return i.useEffect(()=>{const a=s=>{if(s.target&&!r.current){let u=function(){$e(Jt,n,l,{discrete:!0})};const l={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}else t.removeEventListener("click",o.current);r.current=!1},c=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(c),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function on(e,t=globalThis?.document){const n=H(e),r=i.useRef(!1);return i.useEffect(()=>{const o=a=>{a.target&&!r.current&&$e(en,n,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function xe(){const e=new CustomEvent(ve);document.dispatchEvent(e)}function $e(e,t,n,{discrete:r}){const o=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Zt(o,a):o.dispatchEvent(a)}var ie="focusScope.autoFocusOnMount",se="focusScope.autoFocusOnUnmount",we={bubbles:!1,cancelable:!0},an="FocusScope",We=i.forwardRef((e,t)=>
vendor: 5,700 bytes, line 1
1{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...c}=e,[s,u]=i.useState(null),l=H(o),v=H(a),p=i.useRef(null),m=O(t,d=>u(d)),h=i.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;i.useEffect(()=>{if(r){let d=function(S){if(h.paused||!s)return;const x=S.target;s.contains(x)?p.current=x:I(p.current,{select:!0})},g=function(S){if(h.paused||!s)return;const x=S.relatedTarget;x!==null&&(s.contains(x)||I(p.current,{select:!0}))},y=function(S){if(document.activeElement===document.body)for(const w of S)w.removedNodes.length>0&&I(s)};document.addEventListener("focusin",d),document.addEventListener("focusout",g);const C=new MutationObserver(y);return s&&C.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",d),document.removeEventListener("focusout",g),C.disconnect()}}},[r,s,h.paused]),i.useEffect(()=>{if(s){Ae.add(h);const d=document.activeElement;if(!s.contains(d)){const y=new CustomEvent(ie,we);s.addEventListener(ie,l),s.dispatchEvent(y),y.defaultPrevented||(sn(fn(Be(s)),{select:!0}),document.activeElement===d&&I(s))}return()=>{s.removeEventListener(ie,l),setTimeout(()=>{const y=new CustomEvent(se,we);s.addEventListener(se,v),s.dispatchEvent(y),y.defaultPrevented||I(d??document.body,{select:!0}),s.removeEventListener(se,v),Ae.remove(h)},0)}}},[s,l,v,h]);const E=i.useCallback(d=>{if(!n&&!r||h.paused)return;const g=d.key==="Tab"&&!d.altKey&&!d.ctrlKey&&!d.metaKey,y=document.activeElement;if(g&&y){const C=d.currentTarget,[S,x]=cn(C);S&&x?!d.shiftKey&&y===x?(d.preventDefault(),n&&I(S,{select:!0})):d.shiftKey&&y===S&&(d.preventDefault(),n&&I(x,{select:!0})):y===C&&d.preventDefault()}},[n,r,h.paused]);return f.jsx(T.div,{tabIndex:-1,...c,ref:m,onKeyDown:E})});We.displayName=an;function sn(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(I(r,{select:t}),document.activeElement!==n)return}function cn(e){const t=Be(e),n=De(t,e),r=De(t.reverse(),e);return[n,r]}function Be(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function De(e,t){for(const n of e)if(!ln(n,{upTo:t}))return n}function ln(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function un(e){return e instanceof HTMLInputElement&&"select"in e}function I(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&un(e)&&t&&e.select()}}var Ae=dn();function dn(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=Ne(e,t),e.unshift(t)},remove(t){e=Ne(e,t),e[0]?.resume()}}}function Ne(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function fn(e){return e.filter(t=>t.tagName!=="A")}var vn="Portal",Ve=i.forwardRef((e,t)=>{const{container:n,...r}=e,[o,a]=i.useState(!1);U(()=>a(!0),[]);const c=n||o&&globalThis?.document?.body;return c?It.createPortal(f.jsx(T.div,{...r,ref:t}),c):null});Ve.displayName=vn;function pn(e,t){return i.useReducer((n,r)=>t[n][r]??n,e)}var ne=e=>{const{present:t,children:n}=e,r=mn(t),o=typeof n=="function"?n({present:r.isPresent}):i.Children.only(n),a=O(r.ref,gn(o));return typeof n=="function"||r.isPresent?i.cloneElement(o,{ref:a}):null};ne.displayName="Presence";function mn(e){const[t,n]=i.useState(),r=i.useRef(null),o=i.useRef(e),a=i.useRef("none"),c=e?"mounted":"unmounted",[s,u]=pn(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return i.useEffect(()=>{const l=K(r.current);a.current=s==="mounted"?l:"none"},[s]),U(()=>{const l=r.current,v=o.current;if(v!==e){const m=a.current,h=K(l);e?u("MOUNT"):h==="none"||l?.display==="none"?u("UNMOUNT"):u(v&&m!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,u]),U(()=>{if(t){let l;const v=t.ownerDocument.defaultView??window,p=h=>{const d=K(r.current).includes(CSS.escape(h.animationName));if(h.target===t&&d&&(u("ANIMATION_END"),!o.current)){const g=t.style.animationFillMode;t.style.animationFillMode="forwards",l=v.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=g)})}},m=h=>{h.target===t&&(a.current=K(r.current))};return t.addEventListener("animationstart",m),t.addEventListener("animationcancel",p),t.addEventListener("animationend",p),()=>{v.clearTimeout(l),t.removeEventListener("animationstart",m),t.removeEventListener("animationcancel",p),t.removeEventListener("animationend",p)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:i.useCallback(l=>{r.current=l?getComputedStyle(l):null,n(l)},[])}}function K(e){return e?.animationName||"none"}function gn(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var ce=0;function hn(){i.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Re()),document.body.insertAdjacentElement("beforeend",e[1]??Re()),ce++,()=>{ce===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),ce--}},[])}function Re(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.
vendor: 5,635 bytes, lines 1-16
1style.position="fixed",e.style.pointerEvents="none",e}var R=function(){return R=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},R.apply(this,arguments)};function Ue(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function yn(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,a;r<o;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}var q="right-scroll-bar-position",Q="width-before-scroll-bar",bn="with-scroll-bars-hidden",En="--removed-body-scroll-bar-size";function le(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Cn(e,t){var n=i.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var Sn=typeof window<"u"?i.useLayoutEffect:i.useEffect,Pe=new WeakMap;function xn(e,t){var n=Cn(null,function(r){return e.forEach(function(o){return le(o,r)})});return Sn(function(){var r=Pe.get(n);if(r){var o=new Set(r),a=new Set(e),c=n.current;o.forEach(function(s){a.has(s)||le(s,null)}),a.forEach(function(s){o.has(s)||le(s,c)})}Pe.set(n,e)},[e]),n}function wn(e){return e}function Dn(e,t){t===void 0&&(t=wn);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(a){var c=t(a,r);return n.push(c),function(){n=n.filter(function(s){return s!==c})}},assignSyncMedium:function(a){for(r=!0;n.length;){var c=n;n=[],c.forEach(a)}n={push:function(s){return a(s)},filter:function(){return n}}},assignMedium:function(a){r=!0;var c=[];if(n.length){var s=n;n=[],s.forEach(a),c=n}var u=function(){var v=c;c=[],v.forEach(a)},l=function(){return Promise.resolve().then(u)};l(),n={push:function(v){c.push(v),l()},filter:function(v){return c=c.filter(v),n}}}};return o}function An(e){e===void 0&&(e={});var t=Dn(null);return t.options=R({async:!0,ssr:!1},e),t}var He=function(e){var t=e.sideCar,n=Ue(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return i.createElement(r,R({},n))};He.isSideCarExport=!0;function Nn(e,t){return e.useMedium(t),He}var ze=An(),ue=function(){},re=i.forwardRef(function(e,t){var n=i.useRef(null),r=i.useState({onScrollCapture:ue,onWheelCapture:ue,onTouchMoveCapture:ue}),o=r[0],a=r[1],c=e.forwardProps,s=e.children,u=e.className,l=e.removeScrollBar,v=e.enabled,p=e.shards,m=e.sideCar,h=e.noRelative,E=e.noIsolation,d=e.inert,g=e.allowPinchZoom,y=e.as,C=y===void 0?"div":y,S=e.gapMode,x=Ue(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),w=m,D=xn([n,t]),b=R(R({},x),o);return i.createElement(i.Fragment,null,v&&i.createElement(w,{sideCar:ze,removeScrollBar:l,shards:p,noRelative:h,noIsolation:E,inert:d,setCallbacks:a,allowPinchZoom:!!g,lockRef:n,gapMode:S}),c?i.cloneElement(i.Children.only(s),R(R({},b),{ref:D})):i.createElement(C,R({},b,{className:u,ref:D}),s))});re.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};re.classNames={fullWidth:Q,zeroRight:q};var Rn=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Pn(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Rn();return t&&e.setAttribute("nonce",t),e}function On(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Tn(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var _n=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Pn())&&(On(t,n),Tn(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},In=function(){var e=_n();return function(t,n){i.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Ke=function(){var e=In(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},Mn={left:0,top:0,right:0,gap:0},de=function(e){return parseInt(e||"",10)||0},jn=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[de(n),de(r),de(o)]},Ln=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Mn;var t=jn(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])}},kn=Ke(),W="data-scroll-locked",Fn=function(e,t,n,r){var o=e.left,a=e.top,c=e.right,s=e.gap;return n===void 0&&(n="margin"),`
2  .`.concat(bn,` {
3   overflow: hidden `).concat(r,`;
4   padding-right: `).concat(s,"px ").concat(r,`;
5  }
6  body[`).concat(W,`] {
7    overflow: hidden `).concat(r,`;
8    overscroll-behavior: contain;
9    `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
10    padding-left: `.concat(o,`px;
11    padding-top: `).concat(a,`px;
12    padding-right: `).concat(c,`px;
13    margin-left:0;
14    margin-top:0;
15    margin-right: `).concat(s,"px ").concat(r,`;
16    `),n==="padding"&&"padding-right: ".concat(s,"px ").concat(r,";
16")].filter(Boolean).join(""),`
17  }
18  
19  .`).concat(q,` {
20    right: `).concat(s,"px ").concat(r,`;
21  }
22  
23  .`).concat(Q,` {
24    margin-right: `).concat(s,"px ").concat(r,`;
25  }
26  
27  .`).concat(q," .").concat(q,` {
28    right: 0 `).concat(r,`;
29  }
30  
31  .`).concat(Q," .").concat(Q,` {
32    margin-right: 0 `).concat(r,`;
33  }
34  
35  body[`).concat(W,`] {
36    `).concat(En,": ").concat(s,`px;
37  }
38`)},Oe=function(){var e=parseInt(document.body.getAttribute(W)||"0",10);return isFinite(e)?e:0},$n=function(){i.useEffect(function(){return document.body.setAttribute(W,(Oe()+1).toString()),function(){var e=Oe()-1;e<=0?document.body.removeAttribute(W):document.body.setAttribute(W,e.toString())}},[])},Wn=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;$n();var a=i.useMemo(function(){return Ln(o)},[o]);return i.createElement(kn,{styles:Fn(a,!t,o,n?"":"!important")})},pe=!1;if(typeof window<"u")try{var G=Object.defineProperty({},"passive",{get:function(){return pe=!0,!0}});window.addEventListener("test",G,G),window.removeEventListener("test",G,G)}catch{pe=!1}var k=pe?{passive:!1}:!1,Bn=function(e){return e.tagName==="TEXTAREA"},Ge=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Bn(e)&&n[t]==="visible")},Vn=function(e){return Ge(e,"overflowY")},Un=function(e){return Ge(e,"overflowX")},Te=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=Ye(e,r);if(o){var a=Xe(e,r),c=a[1],s=a[2];if(c>s)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},Hn=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},zn=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Ye=function(e,t){return e==="v"?Vn(t):Un(t)},Xe=function(e,t){return e==="v"?Hn(t):zn(t)},Kn=function(e,t){return e==="h"&&t==="rtl"?-1:1},Gn=function(e,t,n,r,o){var a=Kn(e,window.getComputedStyle(t).direction),c=a*r,s=n.target,u=t.contains(s),l=!1,v=c>0,p=0,m=0;do{if(!s)break;var h=Xe(e,s),E=h[0],d=h[1],g=h[2],y=d-g-a*E;(E||y)&&Ye(e,s)&&(p+=y,m+=E);var C=s.parentNode;s=C&&C.nodeType===Node.DOCUMENT_FRAGMENT_NODE?C.host:C}while(!u&&s!==document.body||u&&(t.contains(s)||t===s));return(v&&Math.abs(p)<1||!v&&Math.abs(m)<1)&&(l=!0),l},Y=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},_e=function(e){return[e.deltaX,e.deltaY]},Ie=function(e){return e&&"current"in e?e.current:e},Yn=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Xn=function(e){return`
39  .block-interactivity-`.concat(e,` {pointer-events: none;}
40  .allow-interactivity-`).concat(e,` {pointer-events: all;}
41`)},Zn=0,F=[];function qn(e){var t=i.useRef([]),n=i.useRef([0,0]),r=i.useRef(),o=i.useState(Zn++)[0],a=i.useState(Ke)[0],c=i.useRef(e);i.useEffect(function(){c.current=e},[e]),i.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var d=yn([e.lockRef.current],(e.shards||[]).map(Ie),!0).filter(Boolean);return d.forEach(function(g){return g.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),d.forEach(function(g){return g.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=i.useCallback(function(d,g){if("touches"in d&&d.touches.length===2||d.type==="wheel"&&d.ctrlKey)return!c.current.allowPinchZoom;var y=Y(d),C=n.current,S="deltaX"in d?d.deltaX:C[0]-y[0],x="deltaY"in d?d.deltaY:C[1]-y[1],w,D=d.target,b=Math.abs(S)>Math.abs(x)?"h":"v";if("touches"in d&&b==="h"&&D.type==="range")return!1;var M=window.getSelection(),L=M&&M.anchorNode,V=L?L===D||L.contains(D):!1;if(V)return!1;var z=Te(b,D);if(!z)return!0;if(z?w=b:(w=b==="v"?"h":"v",z=Te(b,D)),!z)return!1;if(!r.current&&"changedTouches"in d&&(S||x)&&(r.current=w),!w)return!0;var Ee=r.current||w;return Gn(Ee,g,d,Ee==="h"?S:x)},[]),u=i.useCallback(function(d){var g=d;if(!(!F.length||F[F.length-1]!==a)){var y="deltaY"in g?_e(g):Y(g),C=t.current.filter(function(w){return w.name===g.type&&(w.target===g.target||g.target===w.shadowParent)&&Yn(w.delta,y)})[0];if(C&&C.should){g.cancelable&&g.preventDefault();return}
vendor: 4,801 bytes, line 41
41if(!C){var S=(c.current.shards||[]).map(Ie).filter(Boolean).filter(function(w){return w.contains(g.target)}),x=S.length>0?s(g,S[0]):!c.current.noIsolation;x&&g.cancelable&&g.preventDefault()}}},[]),l=i.useCallback(function(d,g,y,C){var S={name:d,delta:g,target:y,should:C,shadowParent:Qn(y)};t.current.push(S),setTimeout(function(){t.current=t.current.filter(function(x){return x!==S})},1)},[]),v=i.useCallback(function(d){n.current=Y(d),r.current=void 0},[]),p=i.useCallback(function(d){l(d.type,_e(d),d.target,s(d,e.lockRef.current))},[]),m=i.useCallback(function(d){l(d.type,Y(d),d.target,s(d,e.lockRef.current))},[]);i.useEffect(function(){return F.push(a),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:m}),document.addEventListener("wheel",u,k),document.addEventListener("touchmove",u,k),document.addEventListener("touchstart",v,k),function(){F=F.filter(function(d){return d!==a}),document.removeEventListener("wheel",u,k),document.removeEventListener("touchmove",u,k),document.removeEventListener("touchstart",v,k)}},[]);var h=e.removeScrollBar,E=e.inert;return i.createElement(i.Fragment,null,E?i.createElement(a,{styles:Xn(o)}):null,h?i.createElement(Wn,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function Qn(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Jn=Nn(ze,qn);var Ze=i.forwardRef(function(e,t){return i.createElement(re,R({},e,{ref:t,sideCar:Jn}))});Ze.classNames=re.classNames;var er=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},$=new WeakMap,X=new WeakMap,Z={},fe=0,qe=function(e){return e&&(e.host||qe(e.parentNode))},tr=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=qe(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},nr=function(e,t,n,r){var o=tr(t,Array.isArray(e)?e:[e]);Z[n]||(Z[n]=new WeakMap);var a=Z[n],c=[],s=new Set,u=new Set(o),l=function(p){!p||s.has(p)||(s.add(p),l(p.parentNode))};o.forEach(l);var v=function(p){!p||u.has(p)||Array.prototype.forEach.call(p.children,function(m){if(s.has(m))v(m);else try{var h=m.getAttribute(r),E=h!==null&&h!=="false",d=($.get(m)||0)+1,g=(a.get(m)||0)+1;$.set(m,d),a.set(m,g),c.push(m),d===1&&E&&X.set(m,!0),g===1&&m.setAttribute(n,"true"),E||m.setAttribute(r,"true")}catch(y){console.error("aria-hidden: cannot operate on ",m,y)}})};return v(t),s.clear(),fe++,function(){c.forEach(function(p){var m=$.get(p)-1,h=a.get(p)-1;$.set(p,m),a.set(p,h),m||(X.has(p)||p.removeAttribute(r),X.delete(p)),h||p.removeAttribute(n)}),fe--,fe||($=new WeakMap,$=new WeakMap,X=new WeakMap,Z={})}},rr=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=er(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),nr(r,o,n,"aria-hidden")):function(){return null}};function or(e){const t=ar(e),n=i.forwardRef((r,o)=>{const{children:a,...c}=r,s=i.Children.toArray(a),u=s.find(sr);if(u){const l=u.props.children,v=s.map(p=>p===u?i.Children.count(l)>1?i.Children.only(null):i.isValidElement(l)?l.props.children:null:p);return f.jsx(t,{...c,ref:o,children:i.isValidElement(l)?i.cloneElement(l,void 0,v):null})}return f.jsx(t,{...c,ref:o,children:a})});return n.displayName=`${e}.Slot`,n}function ar(e){const t=i.forwardRef((n,r)=>{const{children:o,...a}=n;if(i.isValidElement(o)){const c=lr(o),s=cr(a,o.props);return o.type!==i.Fragment&&(s.ref=r?te(r,c):c),i.cloneElement(o,s)}return i.Children.count(o)>1?i.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var ir=Symbol("radix.slottable");function sr(e){return i.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===ir}function cr(e,t){const n={...t};for(const r in t){const o=e[r],a=t[r];/^on[A-Z]/.test(r)?o&&a?n[r]=(...s)=>{const u=a(...s);return o(...s),u}:o&&(n[r]=o):r==="style"?n[r]={...o,...a}:r==="className"&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...e,...n}}function lr(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var oe="Dialog",[Qe,Je]=Le(oe),[ur,N]=Qe(oe),et=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:a,modal:c=!0}=e,s=i.useRef(null),u=i.useRef(null),[l,v]=Wt({prop:r,defaultProp:o??!1,onChange:a,caller:oe});return f.jsx(ur,{scope:t,triggerRef:s,contentRef:u,contentId:ae(),titleId:ae(),descriptionId:ae(),open:l,onOpenChange:v,onOpenToggle:i.useCallback(()=>v(p=>!p),[v]),modal:c,children:n})};et.displayName=oe;var tt="DialogTrigger",nt=i.forwardRef((e,t)=>
vendor: 4,336 bytes, lines 41-45
41{const{__scopeDialog:n,...r}=e,o=N(tt,n),a=O(t,o.triggerRef);return f.jsx(T.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":ye(o.open),...r,ref:a,onClick:P(e.onClick,o.onOpenToggle)})});nt.displayName=tt;var ge="DialogPortal",[dr,rt]=Qe(ge,{forceMount:void 0}),ot=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,a=N(ge,t);return f.jsx(dr,{scope:t,forceMount:n,children:i.Children.map(r,c=>f.jsx(ne,{present:n||a.open,children:f.jsx(Ve,{asChild:!0,container:o,children:c})}))})};ot.displayName=ge;var J="DialogOverlay",at=i.forwardRef((e,t)=>{const n=rt(J,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=N(J,e.__scopeDialog);return a.modal?f.jsx(ne,{present:r||a.open,children:f.jsx(vr,{...o,ref:t})}):null});at.displayName=J;var fr=or("DialogOverlay.RemoveScroll"),vr=i.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=N(J,n);return f.jsx(Ze,{as:fr,allowPinchZoom:!0,shards:[o.contentRef],children:f.jsx(T.div,{"data-state":ye(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),j="DialogContent",it=i.forwardRef((e,t)=>{const n=rt(j,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=N(j,e.__scopeDialog);return f.jsx(ne,{present:r||a.open,children:a.modal?f.jsx(pr,{...o,ref:t}):f.jsx(mr,{...o,ref:t})})});it.displayName=j;var pr=i.forwardRef((e,t)=>{const n=N(j,e.__scopeDialog),r=i.useRef(null),o=O(t,n.contentRef,r);return i.useEffect(()=>{const a=r.current;if(a)return rr(a)},[]),f.jsx(st,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:P(e.onCloseAutoFocus,a=>{a.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:P(e.onPointerDownOutside,a=>{const c=a.detail.originalEvent,s=c.button===0&&c.ctrlKey===!0;(c.button===2||s)&&a.preventDefault()}),onFocusOutside:P(e.onFocusOutside,a=>a.preventDefault())})}),mr=i.forwardRef((e,t)=>{const n=N(j,e.__scopeDialog),r=i.useRef(!1),o=i.useRef(!1);return f.jsx(st,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{e.onCloseAutoFocus?.(a),a.defaultPrevented||(r.current||n.triggerRef.current?.focus(),a.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:a=>{e.onInteractOutside?.(a),a.defaultPrevented||(r.current=!0,a.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const c=a.target;n.triggerRef.current?.contains(c)&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&o.current&&a.preventDefault()}})}),st=i.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:a,...c}=e,s=N(j,n),u=i.useRef(null),l=O(t,u);return hn(),f.jsxs(f.Fragment,{children:[f.jsx(We,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:a,children:f.jsx(Fe,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":ye(s.open),...c,ref:l,onDismiss:()=>s.onOpenChange(!1)})}),f.jsxs(f.Fragment,{children:[f.jsx(hr,{titleId:s.titleId}),f.jsx(br,{contentRef:u,descriptionId:s.descriptionId})]})]})}),he="DialogTitle",ct=i.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=N(he,n);return f.jsx(T.h2,{id:o.titleId,...r,ref:t})});ct.displayName=he;var lt="DialogDescription",ut=i.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=N(lt,n);return f.jsx(T.p,{id:o.descriptionId,...r,ref:t})});ut.displayName=lt;var dt="DialogClose",ft=i.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=N(dt,n);return f.jsx(T.button,{type:"button",...r,ref:t,onClick:P(e.onClick,()=>o.onOpenChange(!1))})});ft.displayName=dt;function ye(e){return e?"open":"closed"}var vt="DialogTitleWarning",[gr,pt]=jt(vt,{contentName:j,titleName:he,docsSlug:"dialog"}),hr=({titleId:e})=>{const t=pt(vt),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
42
43If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
44
45For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return i.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},yr="DialogDescriptionWarning",br=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${pt(yr).contentName}}.`;return i.useEffect(()=>{const o=e.current?.getAttribute("aria-describedby");
45t&&o&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},Er=et,Cr=nt,Sr=ot,xr=at,wr=it,Dr=ct,Ar=ut,mt=ft,Nr=Symbol("radix.slottable");function Rr(e){const t=({children:n})=>f.jsx(f.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=Nr,t}var gt="AlertDialog",[Pr]=Le(gt,[Je]),_=Je(),ht=e=>{const{__scopeAlertDialog:t,...n}=e,r=_(t);return f.jsx(Er,{...r,...n,modal:!0})};ht.displayName=gt;var Or="AlertDialogTrigger",yt=i.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=_(n);return f.jsx(Cr,{...o,...r,ref:t})});yt.displayName=Or;var Tr="AlertDialogPortal",bt=e=>{const{__scopeAlertDialog:t,...n}=e,r=_(t);return f.jsx(Sr,{...r,...n})};bt.displayName=Tr;var _r="AlertDialogOverlay",Et=i.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=_(n);return f.jsx(xr,{...o,...r,ref:t})});Et.displayName=_r;var B="AlertDialogContent",[Ir,Mr]=Pr(B),jr=Rr("AlertDialogContent"),Ct=i.forwardRef((e,t)=>{const{__scopeAlertDialog:n,children:r,...o}=e,a=_(n),c=i.useRef(null),s=O(t,c),u=i.useRef(null);return f.jsx(gr,{contentName:B,titleName:St,docsSlug:"alert-dialog",children:f.jsx(Ir,{scope:n,cancelRef:u,children:f.jsxs(wr,{role:"alertdialog",...a,...o,ref:s,onOpenAutoFocus:P(o.onOpenAutoFocus,l=>{l.preventDefault(),u.current?.focus({preventScroll:!0})}),onPointerDownOutside:l=>l.preventDefault(),onInteractOutside:l=>l.preventDefault(),children:[f.jsx(jr,{children:r}),f.jsx(kr,{contentRef:c})]})})})});Ct.displayName=B;var St="AlertDialogTitle",xt=i.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=_(n);return f.jsx(Dr,{...o,...r,ref:t})});xt.displayName=St;var wt="AlertDialogDescription",Dt=i.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=_(n);return f.jsx(Ar,{...o,...r,ref:t})});Dt.displayName=wt;var Lr="AlertDialogAction",At=i.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=_(n);return f.jsx(mt,{...o,...r,ref:t})});At.displayName=Lr;var Nt="AlertDialogCancel",Rt=i.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,{cancelRef:o}=Mr(Nt,n),a=_(n),c=O(t,o);return f.jsx(mt,{...a,...r,ref:c})});Rt.displayName=Nt;var kr=({contentRef:e})=>{const t=`\`${B}\` requires a description for the component to be accessible for screen reader users.
46
47You can add a description to the \`${B}\` by passing a \`${wt}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
48
49Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${B}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component.
50
51For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return i.useEffect(()=>{document.getElementById(e.current?.getAttribute("aria-describedby"))||console.warn(t)},[t,e]),null},Fr=ht,$r=yt,Wr=bt,Br=Et,Vr=Ct,Ur=At,Hr=Rt,zr=xt,Kr=Dt,Gr=Symbol.for("react.lazy"),ee=me[" use ".trim().toString()];function Yr(e){return typeof e=="object"&&e!==null&&"then"in e}function Pt(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===Gr&&"_payload"in e&&Yr(e._payload)}function Ot(e){const t=Zr(e),n=i.forwardRef((r,o)=>{let{children:a,...c}=r;Pt(a)&&typeof ee=="function"&&(a=ee(a._payload));const s=i.Children.toArray(a),u=s.find(Qr);if(u){const l=u.props.children,v=s.map(p=>p===u?i.Children.count(l)>1?i.Children.only(null):i.isValidElement(l)?l.props.children:null:p);return f.jsx(t,{...c,ref:o,children:i.isValidElement(l)?i.cloneElement(l,void 0,v):null})}return f.jsx(t,{...c,ref:o,children:a})});return n.displayName=`${e}.Slot`,n}var Xr=Ot("Slot");function Zr(e){const t=i.forwardRef((n,r)=>{let{children:o,...a}=n;if(Pt(o)&&typeof ee=="function"&&(o=ee(o._payload)),i.isValidElement(o)){const c=eo(o),s=Jr(a,o.props);return o.type!==i.Fragment&&(s.ref=r?te(r,c):c),i.cloneElement(o,s)}return i.Children.count(o)>1?i.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var qr=Symbol("radix.slottable");function Qr(e){return i.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===qr}function Jr(e,t){const n={...t};for(const r in t){const o=e[r],a=t[r];/^on[A-Z]/.test(r)?o&&a?n[r]=(...s)=>{const u=a(...s);return o(...s),u}:o&&(n[r]=o):r==="style"?n[r]={...o,...a}
51:r==="className"&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...e,...n}}function eo(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}const Me=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,je=Mt,to=(e,t)=>n=>{var r;if(t?.variants==null)return je(e,n?.class,n?.className);const{variants:o,defaultVariants:a}=t,c=Object.keys(o).map(l=>{const v=n?.[l],p=a?.[l];if(v===null)return null;const m=Me(v)||Me(p);return o[l][m]}),s=n&&Object.entries(n).reduce((l,v)=>{let[p,m]=v;return m===void 0||(l[p]=m),l},{}),u=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((l,v)=>{let{class:p,className:m,...h}=v;return Object.entries(h).every(E=>{let[d,g]=E;return Array.isArray(g)?g.includes({...a,...s}[d]):{...a,...s}[d]===g})?[...l,p,m]:l},[]);return je(e,c,u,n?.class,n?.className)},be=to("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-base font-semibold transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-11 px-5 py-2.5 has-[>svg]:px-4",sm:"h-9 rounded-md gap-1.5 px-4 has-[>svg]:px-3 text-sm",lg:"h-12 rounded-md px-8 has-[>svg]:px-5",icon:"size-11","icon-sm":"size-9","icon-lg":"size-12"}},defaultVariants:{variant:"default",size:"default"}});function vo({className:e,variant:t,size:n,asChild:r=!1,...o}){const a=r?Xr:"button";return f.jsx(a,{"data-slot":"button",className:A(be({variant:t,size:n,className:e})),...o})}function po({...e}){return f.jsx(Fr,{"data-slot":"alert-dialog",...e})}function mo({...e}){return f.jsx($r,{"data-slot":"alert-dialog-trigger",...e})}function no({...e}){return f.jsx(Wr,{"data-slot":"alert-dialog-portal",...e})}function ro({className:e,...t}){return f.jsx(Br,{"data-slot":"alert-dialog-overlay",className:A("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",e),...t})}function go({className:e,...t}){return f.jsxs(no,{children:[f.jsx(ro,{}),f.jsx(Vr,{"data-slot":"alert-dialog-content",className:A("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",e),...t})]})}function ho({className:e,...t}){return f.jsx("div",{"data-slot":"alert-dialog-header",className:A("flex flex-col gap-2 text-center sm:text-left",e),...t})}function yo({className:e,...t}){return f.jsx("div",{"data-slot":"alert-dialog-footer",className:A("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...t})}function bo({className:e,...t}){return f.jsx(zr,{"data-slot":"alert-dialog-title",className:A("text-lg font-semibold",e),...t})}function Eo({className:e,...t}){return f.jsx(Kr,{"data-slot":"alert-dialog-description",className:A("text-muted-foreground text-sm",e),...t})}function Co({className:e,...t}){return f.jsx(Ur,{className:A(be(),e),...t})}function So({className:e,...t}){return f.jsx(Hr,{className:A(be({variant:"outline"}),e),...t})}function xo({className:e,type:t,...n}){return f.jsx("input",{type:t,"data-slot":"input",className:A("file:text-foreground placeholder:text-muted-foreground
51/50 selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",e),...n})}var oo=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ao=oo.reduce((e,t)=>{const n=Ot(`Primitive.${t}`),r=i.forwardRef((o,a)=>{const{asChild:c,...s}=o,u=c?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),f.jsx(u,{...s,ref:a})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),io="Label",Tt=i.forwardRef((e,t)=>f.jsx(ao.label,{...e,ref:t,onMouseDown:n=>{n.target.closest("button, input, select, textarea")||(e.onMouseDown?.(n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));Tt.displayName=io;var so=Tt;function wo({className:e,...t}){return f.jsx(so,{"data-slot":"label",className:A("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...t})}export{po as A,vo as B,wr as C,Fe as D,We as F,xo as I,wo as L,xr as O,T as P,Ze as R,Xr as S,Dr as T,mo as a,go as b,ho as c,bo as d,Eo as e,yo as f,So as g,Co as h,te as i,Le as j,U as k,H as l,Wt as m,ae as n,P as o,Ve as p,rr as q,hn as r,Ot as s,to as t,O as u,be as v,ne as w,Er as x,Sr as y};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.