vendor: 6,494 bytes, line 1
1import{r as e,j as n,a2 as t,m as o,n as r,P as s,p as a,w as i,a3 as l,a4 as c,o as d,z as u,a5 as p}from"./index-hfJoQgma.js";import{R as f,h as g,u as m,F as h}from"./PodcastEpisodes-BARHS_au.js";var v=e.forwardRef((t,o)=>{const{children:r,...s}=t,a=e.Children.toArray(r),i=a.find(y);if(i){const t=i.props.children,r=a.map(n=>n===i?e.Children.count(t)>1?e.Children.only(null):e.isValidElement(t)?t.props.children:null:n);return n.jsx(D,{...s,ref:o,children:e.isValidElement(t)?e.cloneElement(t,void 0,r):null})}return n.jsx(D,{...s,ref:o,children:r})});v.displayName="Slot";var D=e.forwardRef((n,o)=>{const{children:r,...s}=n;if(e.isValidElement(r)){const n=function(e){var n,t;let o=null==(n=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:n.get,r=o&&"isReactWarning"in o&&o.isReactWarning;if(r)return e.ref;if(o=null==(t=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:t.get,r=o&&"isReactWarning"in o&&o.isReactWarning,r)return e.props.ref;return e.props.ref||e.ref}(r);return e.cloneElement(r,{...j(s,r.props),ref:o?t(o,n):n})}return e.Children.count(r)>1?e.Children.only(null):null});D.displayName="SlotClone";var R=({children:e})=>n.jsx(n.Fragment,{children:e});function y(n){return e.isValidElement(n)&&n.type===R}function j(e,n){const t={...n};for(const o in n){const r=e[o],s=n[o];/^on[A-Z]/.test(o)?r&&s?t[o]=(...e)=>{s(...e),r(...e)}:r&&(t[o]=r):"style"===o?t[o]={...r,...s}:"className"===o&&(t[o]=[r,s].filter(Boolean).join(" "))}return{...e,...t}}var x="Dialog",[C,_]=o(x),[b,O]=C(x),w=t=>{const{__scopeDialog:o,children:r,open:s,defaultOpen:a,onOpenChange:i,modal:l=!0}=t,c=e.useRef(null),p=e.useRef(null),[f=!1,g]=d({prop:s,defaultProp:a,onChange:i});return n.jsx(b,{scope:o,triggerRef:c,contentRef:p,contentId:u(),titleId:u(),descriptionId:u(),open:f,onOpenChange:g,onOpenToggle:e.useCallback(()=>g(e=>!e),[g]),modal:l,children:r})};w.displayName=x;var I="DialogTrigger",E=e.forwardRef((e,t)=>{const{__scopeDialog:o,...i}=e,l=O(I,o),c=r(t,l.triggerRef);return n.jsx(s.button,{type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.contentId,"data-state":G(l.open),...i,ref:c,onClick:a(e.onClick,l.onOpenToggle)})});E.displayName=I;var F="DialogPortal",[N,P]=C(F,{forceMount:void 0}),A=t=>{const{__scopeDialog:o,forceMount:r,children:s,container:a}=t,l=O(F,o);return n.jsx(N,{scope:o,forceMount:r,children:e.Children.map(s,e=>n.jsx(i,{present:r||l.open,children:n.jsx(p,{asChild:!0,container:a,children:e})}))})};A.displayName=F;var M="DialogOverlay",W=e.forwardRef((e,t)=>{const o=P(M,e.__scopeDialog),{forceMount:r=o.forceMount,...s}=e,a=O(M,e.__scopeDialog);return a.modal?n.jsx(i,{present:r||a.open,children:n.jsx(T,{...s,ref:t})}):null});W.displayName=M;var T=e.forwardRef((e,t)=>{const{__scopeDialog:o,...r}=e,a=O(M,o);return n.jsx(f,{as:v,allowPinchZoom:!0,shards:[a.contentRef],children:n.jsx(s.div,{"data-state":G(a.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),k="DialogContent",V=e.forwardRef((e,t)=>{const o=P(k,e.__scopeDialog),{forceMount:r=o.forceMount,...s}=e,a=O(k,e.__scopeDialog);return n.jsx(i,{present:r||a.open,children:a.modal?n.jsx($,{...s,ref:t}):n.jsx(S,{...s,ref:t})})});V.displayName=k;var $=e.forwardRef((t,o)=>{const s=O(k,t.__scopeDialog),i=e.useRef(null),l=r(o,s.contentRef,i);return e.useEffect(()=>{const e=i.current;if(e)return g(e)},[]),n.jsx(B,{...t,ref:l,trapFocus:s.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:a(t.onCloseAutoFocus,e=>{var n;e.preventDefault(),null==(n=s.triggerRef.current)||n.focus()}),onPointerDownOutside:a(t.onPointerDownOutside,e=>{const n=e.detail.originalEvent,t=0===n.button&&!0===n.ctrlKey;(2===n.button||t)&&e.preventDefault()}),onFocusOutside:a(t.onFocusOutside,e=>e.preventDefault())})}),S=e.forwardRef((t,o)=>{const r=O(k,t.__scopeDialog),s=e.useRef(!1),a=e.useRef(!1);return n.jsx(B,{...t,ref:o,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:e=>{var n,o;null==(n=t.onCloseAutoFocus)||n.call(t,e),e.defaultPrevented||(s.current||null==(o=r.triggerRef.current)||o.focus(),e.preventDefault()),s.current=!1,a.current=!1},onInteractOutside:e=>{var n,o;null==(n=t.onInteractOutside)||n.call(t,e),e.defaultPrevented||(s.current=!0,"pointerdown"===e.detail.originalEvent.type&&(a.current=!0));const i=e.target;(null==(o=r.triggerRef.current)?void 0:o.contains(i))&&e.preventDefault(),"focusin"===e.detail.originalEvent.type&&a.current&&e.preventDefault()}})}),B=e.forwardRef((t,o)=>{const{__scopeDialog:s,trapFocus:a,onOpenAutoFocus:i,onCloseAutoFocus:c,...d}=t,u=O(k,s),p=e.useRef(null),f=r(o,p);return m(),n.jsxs(n.Fragment,{children:[n.jsx(h,{asChild:!0,loop:!0,trapped:a,onMountAutoFocus:i,onUnmountAutoFocus:c,children:n.jsx(l,{role:"dialog",id:u.contentId,"aria-describedby":u.descriptionId,"aria-labelledby":u.titleId,"data-state":G(u.open),...d,ref:f,onDismiss:()=>u.onOpenChange(!1)})}),n.jsxs(n.Fragment,{children:[n.jsx(X,{titleId:u.titleId}),n.jsx(Y,{contentRef:p,descriptionId:u.descriptionId})]})]})}),Z="DialogTitle",q=e.forwardRef((e,t)=>{const{__scopeDialog:o,...r}=e,a=O(Z,o);return n.jsx(s.h2,{id:a.titleId,...r,ref:t})});q.displayName=Z;var z="DialogDescription",H=e.forwardRef((e,t)=>{const{__scopeDialog:o,...r}=e,a=O(z,o);return n.jsx(s.p,{id:a.descriptionId,...r,ref:t})});H.displayName=z;var K="DialogClose",U=e.forwardRef((e,t)=>{const{__scopeDialog:o,...r}=e,i=O(K,o);return n.jsx(s.button,{type:"button",...r,ref:t,onClick:a(e.onClick,()=>i.onOpenChange(!1))})});function G(e){return e?"open":"closed"}U.displayName=K;var J="DialogTitleWarning",[L,Q]=c(J,{contentName:k,titleName:Z,docsSlug:"dialog"}),X=({titleId:n})=>{const t=Q(J),o=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.\n\nIf you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return e.useEffect(()=>{if(n){document.getElementById(n)}},[o,n]),null},Y=({contentRef:n,descriptionId:t})=>{const o=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Q("DialogDescriptionWarning").contentName}}.`;return e.useEffect(()=>{var e;const o=null==(e=n.current)?void 0:e.getAttribute("aria-describedby");if(t&&o){document.getElementById(t)}},[o,n,t]),null},ee=w,ne=E,te=A,oe=W,re=V,se=q,ae=H,ie=U;const le="/assets/facial-assessment-before-after-hO3lICER.jpg";export{re as C,ae as D,oe as O,te as P,ee as R,se as T,ie as a,ne as b,le as h};
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.