PageSourceSearch

https://livesunday.ai/_next/static/chunks/3339-931de05cb5c37269.js

js livesunday.ai collected 2026-10-05 12:40:38 UTC 23,982 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3339],{39518:(e,t,n)=>{n.d(t,{C:()=>i});var r=n(1521);function o(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}var l=globalThis?.document?r.useLayoutEffect:()=>{},i=e=>{let{present:t,children:n}=e,i=function(e){var t,n;let[o,i]=r.useState(),a=r.useRef(null),s=r.useRef(e),d=r.useRef("none"),[c,f]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return r.useEffect(()=>{let e=u(a.current);d.current="mounted"===c?e:"none"},[c]),l(()=>{let t=a.current,n=s.current;if(n!==e){let r=d.current,o=u(t);e?f("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?f("UNMOUNT"):n&&r!==o?f("ANIMATION_OUT"):f("UNMOUNT"),s.current=e}},[e,f]),l(()=>{if(o){var e;let t,n=null!=(e=o.ownerDocument.defaultView)?e:window,r=e=>{let r=u(a.current).includes(CSS.escape(e.animationName));if(e.target===o&&r&&(f("ANIMATION_END"),!s.current)){let e=o.style.animationFillMode;o.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=e)})}},l=e=>{e.target===o&&(d.current=u(a.current))};return o.addEventListener("animationstart",l),o.addEventListener("animationcancel",r),o.addEventListener("animationend",r),()=>{n.clearTimeout(t),o.removeEventListener("animationstart",l),o.removeEventListener("animationcancel",r),o.removeEventListener("animationend",r)}}f("ANIMATION_END")},[o,f]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:r.useCallback(e=>{a.current=e?getComputedStyle(e):null,i(e)},[])}}(t),a="function"==typeof n?n({present:i.isPresent}):r.Children.only(n),s=function(...e){return r.useCallback(function(...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)}}}}(...e),e)}(i.ref,function(e){var t,n;let r=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?e.ref:(o=(r=null==(n=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:n.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}(a));return"function"==typeof n||i.isPresent?r.cloneElement(a,{ref:s}):null};function u(e){return(null==e?void 0:e.animationName)||"none"}i.displayName="Presence"},43339:(e,t,n)=>{n.d(t,{UC:()=>e_,iN:()=>eT,ZL:()=>eI,bL:()=>eD,l9:()=>eF});var r,o=n(1521),l=n.t(o,2);function i(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}function u(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function a(...e){return t=>{let n=!1,r=e.map(e=>{let r=u(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():u(e[t],null)}}}}function s(...e){return o.useCallback(a(...e),e)}"undefined"!=typeof window&&window.document&&window.document.createElement;var d=n(73365);function c(e,t=[]){let n=[],r=()=>{let t=n.map(e=>o.createContext(e));return function(n){let r=n?.[e]||t;return o.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){let l=o.createContext(r),i=n.length;n=[...n,r];let u=t=>{let{scope:n,children:r,...u}=t,a=n?.[e]?.[i]||l,s=o.useMemo(()=>u,Object.values(u));return(0,d.jsx)(a.Provider,{value:s,children:r})};return u.displayName=t+"Provider",[u,function(n,u){let a=u?.[e]?.[i]||l,s=o.useContext(a);if(s)return s;if(void 0!==r)return r;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 r=n.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return o.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}(r,...t)]}var f=n(98196);function p(e){let t=function(e){let t=o.forwardRef((e,t)=>
1{let{children:n,...r}=e;if(o.isValidElement(n)){var l;let e,i,u=(l=n,(i=(e=Object.getOwnPropertyDescriptor(l.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?l.ref:(i=(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],l=t[r];/^on[A-Z]/.test(r)?o&&l?n[r]=(...e)=>{let t=l(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...l}:"className"===r&&(n[r]=[o,l].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==o.Fragment&&(s.ref=t?a(t,u):u),o.cloneElement(n,s)}return o.Children.count(n)>1?o.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=o.forwardRef((e,n)=>{let{children:r,...l}=e,i=o.Children.toArray(r),u=i.find(m);if(u){let e=u.props.children,r=i.map(t=>t!==u?t:o.Children.count(e)>1?o.Children.only(null):o.isValidElement(e)?e.props.children:null);return(0,d.jsx)(t,{...l,ref:n,children:o.isValidElement(e)?o.cloneElement(e,void 0,r):null})}return(0,d.jsx)(t,{...l,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}var v=Symbol("radix.slottable");function m(e){return o.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===v}var h=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=p(`Primitive.${t}`),r=o.forwardRef((e,r)=>{let{asChild:o,...l}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,d.jsx)(o?n:t,{...l,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function y(e){let t=o.useRef(e);return o.useEffect(()=>{t.current=e}),o.useMemo(()=>(...e)=>t.current?.(...e),[])}var g="dismissableLayer.update",E=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),w=o.forwardRef((e,t)=>{var n,l;let{disableOutsidePointerEvents:u=!1,onEscapeKeyDown:a,onPointerDownOutside:c,onFocusOutside:f,onInteractOutside:p,onDismiss:v,...m}=e,w=o.useContext(E),[C,N]=o.useState(null),P=null!=(l=null==C?void 0:C.ownerDocument)?l:null==(n=globalThis)?void 0:n.document,[,R]=o.useState({}),O=s(t,e=>N(e)),A=Array.from(w.layers),[S]=[...w.layersWithOutsidePointerEventsDisabled].slice(-1),j=A.indexOf(S),T=C?A.indexOf(C):-1,L=w.layersWithOutsidePointerEventsDisabled.size>0,D=T>=j,F=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=y(e),l=o.useRef(!1),i=o.useRef(()=>{});return o.useEffect(()=>{let e=e=>{if(e.target&&!l.current){let t=function(){x("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);l.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:()=>l.current=!0}}(e=>{let t=e.target,n=[...w.branches].some(e=>e.contains(t));D&&!n&&(null==c||c(e),null==p||p(e),e.defaultPrevented||null==v||v())},P),I=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=y(e),l=o.useRef(!1);return o.useEffect(()=>{let e=e=>{e.target&&!l.current&&x("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>l.current=!0,onBlurCapture:()=>l.current=!1}}(e=>{let t=e.target;![...w.branches].some(e=>e.contains(t))&&(null==f||f(e),null==p||p(e),e.defaultPrevented||null==v||v())},P);return!function(e,t=globalThis?.document){let n=y(e);o.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=>{T===w.layers.size-1&&(null==a||a(e),!e.defaultPrevented&&v&&(e.preventDefault(),v()))},P),o.useEffect(()=>{if(C)return u&&(0===w.layersWithOutsidePointerEventsDisabled.size&&(r=P.body.style.pointerEvents,P.body.style.pointerEvents="none"),w.layersWithOutsidePointerEventsDisabled.add(C)),w.layers.add(C),b(),()=>{u&&1===w.layersWithOutsidePointerEventsDisabled.size&&(P.body.style.pointerEvents=r)}},[C,P,u,w]),o.useEffect(()=>()=>{C&&(w.layers.delete(C),w.layersWithOutsidePointerEventsDisabled.delete(C),b())},[C,w]),o.useEffect(()=>{let e=()=>R({});return document.addEventListener(g,e),()=>document.removeEventListener(g,e)},[]),(0,d.jsx)(h.div,{...m,ref:O,style:{pointerEvents:L?D?"auto":"none":void 0,...e.style},onFocusCapture:i(e.onFocusCapture,I.onFocusCapture),onBlurCapture:i(e.onBlurCapture,I.onBlurCapture),onPointerDownCapture:i(e.onPointerDownCapture,F.onPointerDownCapture)})});function b(){let e=new CustomEvent(g);document.dispatchEvent(e)}function x(e,t,n,r){let{discrete:o}=r,l=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});if(t&&l.addEventListener(e,t,{once:!0}),o)l&&f.flushSync(()=>
1l.dispatchEvent(i));else l.dispatchEvent(i)}w.displayName="DismissableLayer",o.forwardRef((e,t)=>{let n=o.useContext(E),r=o.useRef(null),l=s(t,r);return o.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,d.jsx)(h.div,{...e,ref:l})}).displayName="DismissableLayerBranch";var C=0;function N(){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 P="focusScope.autoFocusOnMount",R="focusScope.autoFocusOnUnmount",O={bubbles:!1,cancelable:!0},A=o.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:l,onUnmountAutoFocus:i,...u}=e,[a,c]=o.useState(null),f=y(l),p=y(i),v=o.useRef(null),m=s(t,e=>c(e)),g=o.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;o.useEffect(()=>{if(r){let e=function(e){if(g.paused||!a)return;let t=e.target;a.contains(t)?v.current=t:T(v.current,{select:!0})},t=function(e){if(g.paused||!a)return;let t=e.relatedTarget;null!==t&&(a.contains(t)||T(v.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&&T(a)});return a&&n.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,a,g.paused]),o.useEffect(()=>
1{if(a){L.add(g);let e=document.activeElement;if(!a.contains(e)){let t=new CustomEvent(P,O);a.addEventListener(P,f),a.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(T(r,{select:t}),document.activeElement!==n)return}(S(a).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&T(a))}return()=>{a.removeEventListener(P,f),setTimeout(()=>{let t=new CustomEvent(R,O);a.addEventListener(R,p),a.dispatchEvent(t),t.defaultPrevented||T(null!=e?e:document.body,{select:!0}),a.removeEventListener(R,p),L.remove(g)},0)}}},[a,f,p,g]);let E=o.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,l]=function(e){let t=S(e);return[j(t,e),j(t.reverse(),e)]}(t);r&&l?e.shiftKey||o!==l?e.shiftKey&&o===r&&(e.preventDefault(),n&&T(l,{select:!0})):(e.preventDefault(),n&&T(r,{select:!0})):o===t&&e.preventDefault()}},[n,r,g.paused]);return(0,d.jsx)(h.div,{tabIndex:-1,...u,ref:m,onKeyDown:E})});function S(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 j(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 T(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=D(e,t)).unshift(t)},remove(t){var n;null==(n=(e=D(e,t))[0])||n.resume()}}}();function D(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}var F=globalThis?.document?o.useLayoutEffect:()=>{},I=l[" useId ".trim().toString()]||(()=>void 0),_=0,k=n(13860),M=n(29104),U=o.forwardRef((e,t)=>{let{children:n,width:r=10,height:o=5,...l}=e;return(0,d.jsx)(h.svg,{...l,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,d.jsx)("polygon",{points:"0,0 30,0 15,10"})})});U.displayName="Arrow";var W=n(76633),$="Popper",[B,K]=c($),[z,H]=B($),Y=e=>{let{__scopePopper:t,children:n}=e,[r,l]=o.useState(null);return(0,d.jsx)(z,{scope:t,anchor:r,onAnchorChange:l,children:n})};Y.displayName=$;var V="PopperAnchor",X=o.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:r,...l}=e,i=H(V,n),u=o.useRef(null),a=s(t,u),c=o.useRef(null);return o.useEffect(()=>{let e=c.current;c.current=(null==r?void 0:r.current)||u.current,e!==c.current&&i.onAnchorChange(c.current)}),r?null:(0,d.jsx)(h.div,{...l,ref:a})});X.displayName=V;var q="PopperContent",[Z,G]=B(q),J=o.forwardRef((e,t)=>{var n,r,l,i,u,a,c,f;let{__scopePopper:p,side:v="bottom",sideOffset:m=0,align:g="center",alignOffset:E=0,arrowPadding:w=0,avoidCollisions:b=!0,collisionBoundary:x=[],collisionPadding:C=0,sticky:N="partial",hideWhenDetached:P=!1,updatePositionStrategy:R="optimized",onPlaced:O,...A}=e,S=H(q,p),[j,T]=o.useState(null),L=s(t,e=>
1T(e)),[D,I]=o.useState(null),_=(0,W.X)(D),U=null!=(c=null==_?void 0:_.width)?c:0,$=null!=(f=null==_?void 0:_.height)?f:0,B="number"==typeof C?C:{top:0,right:0,bottom:0,left:0,...C},K=Array.isArray(x)?x:[x],z=K.length>0,Y={padding:B,boundary:K.filter(en),altBoundary:z},{refs:V,floatingStyles:X,placement:G,isPositioned:J,middlewareData:Q}=(0,k.we)({strategy:"fixed",placement:v+("center"!==g?"-"+g:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,M.ll)(...t,{animationFrame:"always"===R})},elements:{reference:S.anchor},middleware:[(0,k.cY)({mainAxis:m+$,alignmentAxis:E}),b&&(0,k.BN)({mainAxis:!0,crossAxis:!1,limiter:"partial"===N?(0,k.ER)():void 0,...Y}),b&&(0,k.UU)({...Y}),(0,k.Ej)({...Y,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:o}=e,{width:l,height:i}=n.reference,u=t.floating.style;u.setProperty("--radix-popper-available-width","".concat(r,"px")),u.setProperty("--radix-popper-available-height","".concat(o,"px")),u.setProperty("--radix-popper-anchor-width","".concat(l,"px")),u.setProperty("--radix-popper-anchor-height","".concat(i,"px"))}}),D&&(0,k.UE)({element:D,padding:w}),er({arrowWidth:U,arrowHeight:$}),P&&(0,k.jD)({strategy:"referenceHidden",...Y})]}),[ee,et]=eo(G),el=y(O);F(()=>{J&&(null==el||el())},[J,el]);let ei=null==(n=Q.arrow)?void 0:n.x,eu=null==(r=Q.arrow)?void 0:r.y,ea=(null==(l=Q.arrow)?void 0:l.centerOffset)!==0,[es,ed]=o.useState();return F(()=>{j&&ed(window.getComputedStyle(j).zIndex)},[j]),(0,d.jsx)("div",{ref:V.setFloating,"data-radix-popper-content-wrapper":"",style:{...X,transform:J?X.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:es,"--radix-popper-transform-origin":[null==(i=Q.transformOrigin)?void 0:i.x,null==(u=Q.transformOrigin)?void 0:u.y].join(" "),...(null==(a=Q.hide)?void 0:a.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,d.jsx)(Z,{scope:p,placedSide:ee,onArrowChange:I,arrowX:ei,arrowY:eu,shouldHideArrow:ea,children:(0,d.jsx)(h.div,{"data-side":ee,"data-align":et,...A,ref:L,style:{...A.style,animation:J?void 0:"none"}})})})});J.displayName=q;var Q="PopperArrow",ee={top:"bottom",right:"left",bottom:"top",left:"right"},et=o.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=G(Q,n),l=ee[o.placedSide];return(0,d.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[l]: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,d.jsx)(U,{...r,ref:t,style:{...r.style,display:"block"}})})});function en(e){return null!==e}et.displayName=Q;var er=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,l,i;let{placement:u,rects:a,middlewareData:s}=t,d=(null==(n=s.arrow)?void 0:n.centerOffset)!==0,c=d?0:e.arrowWidth,f=d?0:e.arrowHeight,[p,v]=eo(u),m={start:"0%",center:"50%",end:"100%"}[v],h=(null!=(l=null==(r=s.arrow)?void 0:r.x)?l:0)+c/2,y=(null!=(i=null==(o=s.arrow)?void 0:o.y)?i:0)+f/2,g="",E="";return"bottom"===p?(g=d?m:"".concat(h,"px"),E="".concat(-f,"px")):"top"===p?(g=d?m:"".concat(h,"px"),E="".concat(a.floating.height+f,"px")):"right"===p?(g="".concat(-f,"px"),E=d?m:"".concat(y,"px")):"left"===p&&(g="".concat(a.floating.width+f,"px"),E=d?m:"".concat(y,"px")),{data:{x:g,y:E}}}});function eo(e){let[t,n="center"]=e.split("-");return[t,n]}var el=o.forwardRef((e,t)=>{var n,r;let{container:l,...i}=e,[u,a]=o.useState(!1);F(()=>a(!0),[]);let s=l||u&&(null==(r=globalThis)||null==(n=r.document)?void 0:n.body);return s?f.createPortal((0,d.jsx)(h.div,{...i,ref:t}),s):null});el.displayName="Portal";var ei=n(39518),eu=l[" useInsertionEffect ".trim().toString()]||F;Symbol("RADIX:SYNC_STATE");var ea=n(54552),es=n(76730),ed="Popover",[ec,ef]=c(ed,[K]),ep=K(),[ev,em]=ec(ed),eh=e=>{let{__scopePopover:t,children:n,open:r,defaultOpen:l,onOpenChange:i,modal:u=!1}=e,a=ep(t),s=o.useRef(null),[c,f]=o.useState(!1),[p,v]=function({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[l,i,u]=function({defaultProp:e,onChange:t}){let[n,r]=o.useState(e),l=o.useRef(n),i=o.useRef(t);return eu(()=>{i.current=t},[t]),o.useEffect(()=>{l.current!==n&&(i.current?.(n),l.current=n)},[n,l]),[n,r,i]}({defaultProp:t,onChange:n}),a=void 0!==e,s=a?e:l;{let t=o.useRef(void 0!==e);o.useEffect(()=>{let e=t.current;if(e!==a){let t=a?"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=a},[a,r])}return[s,o.useCallback(t=>{if(a){let n="function"==typeof t?t(e):t;n!==e&&u.current?.(n)}else i(t)},[a,e,i,u])]}({prop:r,defaultProp:null!=l&&l,onChange:i,caller:ed});return(0,d.jsx)(Y,{...a,children:(0,d.jsx)(ev,{scope:t,contentId:function(e){let[t,n]=o.useState(I());return F(()=>{n(e=>e??String(_++))},[void 0]),e||(t?`radix-${t}`:"")}(),triggerRef:s,open:p,onOpenChange:v,onOpenToggle:o.useCallback(()=>v(e=>!e),[v]),hasCustomAnchor:c,onCustomAnchorAdd:o.useCallback(()=>f(!0),[]),onCustomAnchorRemove:o.useCallback(()=>f(!1),[]),modal:u,children:n})})};eh.displayName=ed;var ey="PopoverAnchor";o.forwardRef((e,t)=>
1{let{__scopePopover:n,...r}=e,l=em(ey,n),i=ep(n),{onCustomAnchorAdd:u,onCustomAnchorRemove:a}=l;return o.useEffect(()=>(u(),()=>a()),[u,a]),(0,d.jsx)(X,{...i,...r,ref:t})}).displayName=ey;var eg="PopoverTrigger",eE=o.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,o=em(eg,n),l=ep(n),u=s(t,o.triggerRef),a=(0,d.jsx)(h.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":eL(o.open),...r,ref:u,onClick:i(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?a:(0,d.jsx)(X,{asChild:!0,...l,children:a})});eE.displayName=eg;var ew="PopoverPortal",[eb,ex]=ec(ew,{forceMount:void 0}),eC=e=>{let{__scopePopover:t,forceMount:n,children:r,container:o}=e,l=em(ew,t);return(0,d.jsx)(eb,{scope:t,forceMount:n,children:(0,d.jsx)(ei.C,{present:n||l.open,children:(0,d.jsx)(el,{asChild:!0,container:o,children:r})})})};eC.displayName=ew;var eN="PopoverContent",eP=o.forwardRef((e,t)=>{let n=ex(eN,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,l=em(eN,e.__scopePopover);return(0,d.jsx)(ei.C,{present:r||l.open,children:l.modal?(0,d.jsx)(eO,{...o,ref:t}):(0,d.jsx)(eA,{...o,ref:t})})});eP.displayName=eN;var eR=p("PopoverContent.RemoveScroll"),eO=o.forwardRef((e,t)=>{let n=em(eN,e.__scopePopover),r=o.useRef(null),l=s(t,r),u=o.useRef(!1);return o.useEffect(()=>{let e=r.current;if(e)return(0,ea.Eq)(e)},[]),(0,d.jsx)(es.A,{as:eR,allowPinchZoom:!0,children:(0,d.jsx)(eS,{...e,ref:l,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:i(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),u.current||null==(t=n.triggerRef.current)||t.focus()}),onPointerDownOutside:i(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;u.current=2===t.button||n},{checkForDefaultPrevented:!1}),onFocusOutside:i(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),eA=o.forwardRef((e,t)=>{let n=em(eN,e.__scopePopover),r=o.useRef(!1),l=o.useRef(!1);return(0,d.jsx)(eS,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var o,i;null==(o=e.onCloseAutoFocus)||o.call(e,t),t.defaultPrevented||(r.current||null==(i=n.triggerRef.current)||i.focus(),t.preventDefault()),r.current=!1,l.current=!1},onInteractOutside:t=>{var o,i;null==(o=e.onInteractOutside)||o.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(l.current=!0));let u=t.target;(null==(i=n.triggerRef.current)?void 0:i.contains(u))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&l.current&&t.preventDefault()}})}),eS=o.forwardRef((e,t)=>{let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:l,onCloseAutoFocus:i,disableOutsidePointerEvents:u,onEscapeKeyDown:a,onPointerDownOutside:s,onFocusOutside:c,onInteractOutside:f,...p}=e,v=em(eN,n),m=ep(n);return o.useEffect(()=>{var e,t;let n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!=(e=n[0])?e:N()),document.body.insertAdjacentElement("beforeend",null!=(t=n[1])?t:N()),C++,()=>{1===C&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),C--}},[]),(0,d.jsx)(A,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:l,onUnmountAutoFocus:i,children:(0,d.jsx)(w,{asChild:!0,disableOutsidePointerEvents:u,onInteractOutside:f,onEscapeKeyDown:a,onPointerDownOutside:s,onFocusOutside:c,onDismiss:()=>v.onOpenChange(!1),children:(0,d.jsx)(J,{"data-state":eL(v.open),role:"dialog",id:v.contentId,...m,...p,ref:t,style:{...p.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),ej="PopoverClose",eT=o.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,o=em(ej,n);return(0,d.jsx)(h.button,{type:"button",...r,ref:t,onClick:i(e.onClick,()=>o.onOpenChange(!1))})});function eL(e){return e?"open":"closed"}eT.displayName=ej,o.forwardRef((e,t)=>
1{let{__scopePopover:n,...r}=e,o=ep(n);return(0,d.jsx)(et,{...o,...r,ref:t})}).displayName="PopoverArrow";var eD=eh,eF=eE,eI=eC,e_=eP}}]);

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.