PageSourceSearch

https://invideo.io/pro-landing-pages-assets/_next/static/chunks/03k4nmr8iquy0.js

js invideo.io collected 2026-09-24 08:27:06 UTC 34,088 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,422957,e=>{"use strict";let t=["top","right","bottom","left"],n=t.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),r=Math.min,i=Math.max,o=Math.round,l=Math.floor,s=e=>({x:e,y:e}),a={left:"right",right:"left",bottom:"top",top:"bottom"},u={start:"end",end:"start"};function f(e,t){return"function"==typeof e?e(t):e}function c(e){return e.split("-")[0]}function d(e){return e.split("-")[1]}function h(e){return"x"===e?"y":"x"}function p(e){return"y"===e?"height":"width"}let m=new Set(["top","bottom"]);function g(e){return m.has(c(e))?"y":"x"}function y(e,t,n){void 0===n&&(n=!1);let r=d(e),i=h(g(e)),o=p(i),l="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=A(l)),[l,A(l)]}function v(e){return e.replace(/start|end/g,e=>u[e])}let w=["left","right"],x=["right","left"],b=["top","bottom"],R=["bottom","top"];function A(e){return e.replace(/left|right|bottom|top/g,e=>a[e])}function E(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function S(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function C(e,t,n){let r,{reference:i,floating:o}=e,l=g(t),s=h(g(t)),a=p(s),u=c(t),f="y"===l,m=i.x+i.width/2-o.width/2,y=i.y+i.height/2-o.height/2,v=i[a]/2-o[a]/2;switch(u){case"top":r={x:m,y:i.y-o.height};break;case"bottom":r={x:m,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:y};break;case"left":r={x:i.x-o.width,y:y};break;default:r={x:i.x,y:i.y}}switch(d(t)){case"start":r[s]-=v*(n&&f?-1:1);break;case"end":r[s]+=v*(n&&f?-1:1)}return r}let T=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,s=o.filter(Boolean),a=await (null==l.isRTL?void 0:l.isRTL(t)),u=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:f,y:c}=C(u,r,a),d=r,h={},p=0;for(let n=0;n<s.length;n++){let{name:o,fn:m}=s[n],{x:g,y:y,data:v,reset:w}=await m({x:f,y:c,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:u,platform:l,elements:{reference:e,floating:t}});f=null!=g?g:f,c=null!=y?y:c,h={...h,[o]:{...h[o],...v}},w&&p<=50&&(p++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(u=!0===w.rects?await l.getElementRects({reference:e,floating:t,strategy:i}):w.rects),{x:f,y:c}=C(u,d,a)),n=-1)}return{x:f,y:c,placement:d,strategy:i,middlewareData:h}};async function O(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:l,elements:s,strategy:a}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:h=!1,padding:p=0}=f(t,e),m=E(p),g=s[h?"floating"===d?"reference":"floating":d],y=S(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(g)))||n?g:g.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:a})),v="floating"===d?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,w=await (null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),x=await (null==o.isElement?void 0:o.isElement(w))&&await (null==o.getScale?void 0:o.getScale(w))||{x:1,y:1},b=S(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:v,offsetParent:w,strategy:a}):v);return{top:(y.top-b.top+m.top)/x.y,bottom:(b.bottom-y.bottom+m.bottom)/x.y,left:(y.left-b.left+m.left)/x.x,right:(b.right-y.right+m.right)/x.x}}function k(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function L(e){return t.some(t=>e[t]>=0)}function N(e){let t=r(...e.map(e=>e.left)),n=r(...e.map(e=>e.top));return{x:t,y:n,width:i(...e.map(e=>e.right))-t,height:i(...e.map(e=>e.bottom))-n}}let M=new Set(["left","top"]);async function P(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=c(n),s=d(n),a="y"===g(n),u=M.has(l)?-1:1,h=o&&a?-1:1,p=f(t,e),{mainAxis:m,crossAxis:y,alignmentAxis:v}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}
1:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return s&&"number"==typeof v&&(y="end"===s?-1*v:v),a?{x:y*h,y:m*u}:{x:m*u,y:y*h}}function D(){return"u">typeof window}function I(e){return W(e)?(e.nodeName||"").toLowerCase():"#document"}function z(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function F(e){var t;return null==(t=(W(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function W(e){return!!D()&&(e instanceof Node||e instanceof z(e).Node)}function _(e){return!!D()&&(e instanceof Element||e instanceof z(e).Element)}function j(e){return!!D()&&(e instanceof HTMLElement||e instanceof z(e).HTMLElement)}function H(e){return!(!D()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof z(e).ShadowRoot)}let $=new Set(["inline","contents"]);function U(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=ee(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!$.has(i)}let V=new Set(["table","td","th"]),B=[":popover-open",":modal"];function q(e){return B.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let K=["transform","translate","scale","rotate","perspective"],X=["transform","translate","scale","rotate","perspective","filter"],Y=["paint","layout","strict","content"];function Z(e){let t=G(),n=_(e)?ee(e):e;return K.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||X.some(e=>(n.willChange||"").includes(e))||Y.some(e=>(n.contain||"").includes(e))}function G(){return!("u"<typeof CSS)&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let J=new Set(["html","body","#document"]);function Q(e){return J.has(I(e))}function ee(e){return z(e).getComputedStyle(e)}function et(e){return _(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function en(e){if("html"===I(e))return e;let t=e.assignedSlot||e.parentNode||H(e)&&e.host||F(e);return H(t)?t.host:t}function er(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=en(t);return Q(n)?t.ownerDocument?t.ownerDocument.body:t.body:j(n)&&U(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),l=z(i);if(o){let e=ei(l);return t.concat(l,l.visualViewport||[],U(i)?i:[],e&&n?er(e):[])}return t.concat(i,er(i,[],n))}function ei(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function eo(e){let t=ee(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=j(e),l=i?e.offsetWidth:n,s=i?e.offsetHeight:r,a=o(n)!==l||o(r)!==s;return a&&(n=l,r=s),{width:n,height:r,$:a}}function el(e){return _(e)?e:e.contextElement}function es(e){let t=el(e);if(!j(t))return s(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:l}=eo(t),a=(l?o(n.width):n.width)/r,u=(l?o(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),u&&Number.isFinite(u)||(u=1),{x:a,y:u}}let ea=s(0);function eu(e){let t=z(e);return G()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ea}function ef(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),l=el(e),a=s(1);t&&(r?_(r)&&(a=es(r)):a=es(e));let u=(void 0===(i=n)&&(i=!1),r&&(!i||r===z(l))&&i)?eu(l):s(0),f=(o.left+u.x)/a.x,c=(o.top+u.y)/a.y,d=o.width/a.x,h=o.height/a.y;if(l){let e=z(l),t=r&&_(r)?z(r):r,n=e,i=ei(n);for(;i&&r&&t!==n;){let e=es(i),t=i.getBoundingClientRect(),r=ee(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;f*=e.x,c*=e.y,d*=e.x,h*=e.y,f+=o,c+=l,i=ei(n=z(i))}}return S({width:d,height:h,x:f,y:c})}function ec(e,t){let n=et(e).scrollLeft;return t?t.left+n:ef(F(e)).left+n}function ed(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-ec(e,n),y:n.top+t.scrollTop}}let eh=new Set(["absolute","fixed"]);function ep(e,t,n){var r;let o;if("viewport"===t)o=function(e,t){let n=z(e),r=F(e),i=n.visualViewport,o=r.clientWidth,l=r.clientHeight,s=0,a=0;if(i){o=i.width,l=i.height;let e=G();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,a=i.offsetTop)}let u=ec(r);if(u<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,l=Math.abs(r.clientWidth-t.clientWidth-i);l<=25&&(o-=l)}else u<=25&&(o+=u);return{width:o,height:l,x:s,y:a}}(e,n);else if("document"===t){let t,n,l,s,a,u,f;r=F(e),t=F(r),n=et(r),l=r.ownerDocument.body,s=i(t.scrollWidth,t.clientWidth,l.scrollWidth,l.clientWidth),a=i(t.scrollHeight,t.clientHeight,l.scrollHeight,l.clientHeight),u=-n.scrollLeft+ec(r),f=-n.scrollTop,"rtl"===ee(l).direction&&(u+=i(t.clientWidth,l.clientWidth)-s),o={width:s,height:a,x:u,y:f}}else if(_(t)){let e,r,i,l,a,u;r=(e=ef(t,!0,"fixed"===n)).top+t.clientTop,i=e.left+t.clientLeft,l=j(t)?es(t):s(1),a=t.clientWidth*l.x,u=t.clientHeight*l.y,o={width:a,height:u,x:i*l.x,y:r*l.y}}else{let n=eu(e);o={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return S(o)}function em(e){return"static"===ee(e).position}function eg(e,t){if(!j(e)||"fixed"===ee(e).position)return null;if(t)return t(e);let n=e.offsetParent;return F(e)===n&&(n=n.ownerDocument.body),n}function ey(e,t){var n;let r=z(e);
1if(q(e))return r;if(!j(e)){let t=en(e);for(;t&&!Q(t);){if(_(t)&&!em(t))return t;t=en(t)}return r}let i=eg(e,t);for(;i&&(n=i,V.has(I(n)))&&em(i);)i=eg(i,t);return i&&Q(i)&&em(i)&&!Z(i)?r:i||function(e){let t=en(e);for(;j(t)&&!Q(t);){if(Z(t))return t;if(q(t))break;t=en(t)}return null}(e)||r}let ev=async function(e){let t=this.getOffsetParent||ey,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=j(t),i=F(t),o="fixed"===n,l=ef(e,!0,o,t),a={scrollLeft:0,scrollTop:0},u=s(0);if(r||!r&&!o)if(("body"!==I(t)||U(i))&&(a=et(t)),r){let e=ef(t,!0,o,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else i&&(u.x=ec(i));o&&!r&&i&&(u.x=ec(i));let f=!i||r||o?s(0):ed(i,a);return{x:l.left+a.scrollLeft-u.x-f.x,y:l.top+a.scrollTop-u.y-f.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}}},ew={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,l=F(r),a=!!t&&q(t.floating);if(r===l||a&&o)return n;let u={scrollLeft:0,scrollTop:0},f=s(1),c=s(0),d=j(r);if((d||!d&&!o)&&(("body"!==I(r)||U(l))&&(u=et(r)),j(r))){let e=ef(r);f=es(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}let h=!l||d||o?s(0):ed(l,u);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-u.scrollLeft*f.x+c.x+h.x,y:n.y*f.y-u.scrollTop*f.y+c.y+h.y}},getDocumentElement:F,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:l}=e,s=[..."clippingAncestors"===n?q(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=er(e,[],!1).filter(e=>_(e)&&"body"!==I(e)),i=null,o="fixed"===ee(e).position,l=o?en(e):e;for(;_(l)&&!Q(l);){let t=ee(l),n=Z(l);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&!!i&&eh.has(i.position)||U(l)&&!n&&function e(t,n){let r=en(t);return!(r===n||!_(r)||Q(r))&&("fixed"===ee(r).position||e(r,n))}(e,l))?r=r.filter(e=>e!==l):i=t,l=en(l)}return t.set(e,r),r}(t,this._c):[].concat(n),o],a=s[0],u=s.reduce((e,n)=>{let o=ep(t,n,l);return e.top=i(o.top,e.top),e.right=r(o.right,e.right),e.bottom=r(o.bottom,e.bottom),e.left=i(o.left,e.left),e},ep(t,a,l));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:ey,getElementRects:ev,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=eo(e);return{width:t,height:n}},getScale:es,isElement:_,isRTL:function(e){return"rtl"===ee(e).direction}};function ex(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}e.s(["arrow",0,e=>({name:"arrow",options:e,async fn(t){let{x:n,y:o,placement:l,rects:s,platform:a,elements:u,middlewareData:c}=t,{element:m,padding:y=0}=f(e,t)||{};if(null==m)return{};let v=E(y),w={x:n,y:o},x=h(g(l)),b=p(x),R=await a.getDimensions(m),A="y"===x,S=A?"clientHeight":"clientWidth",C=s.reference[b]+s.reference[x]-w[x]-s.floating[b],T=w[x]-s.reference[x],O=await (null==a.getOffsetParent?void 0:a.getOffsetParent(m)),k=O?O[S]:0;k&&await (null==a.isElement?void 0:a.isElement(O))||(k=u.floating[S]||s.floating[b]);let L=k/2-R[b]/2-1,N=r(v[A?"top":"left"],L),M=r(v[A?"bottom":"right"],L),P=k-R[b]-M,D=k/2-R[b]/2+(C/2-T/2),I=i(N,r(D,P)),z=!c.arrow&&null!=d(l)&&D!==I&&s.reference[b]/2-(D<N?N:M)-R[b]/2<0,F=z?D<N?D-N:D-P:0;return{[x]:w[x]+F,data:{[x]:I,centerOffset:D-I-F,...z&&{alignmentOffset:F}},reset:z}}}),"autoPlacement",0,function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,i,o,l;let{rects:s,middlewareData:a,placement:u,platform:h,elements:p}=t,{crossAxis:m=!1,alignment:g,allowedPlacements:w=n,autoAlignment:x=!0,...b}=f(e,t),R=void 0!==g||w===n?((l=g||null)?[...w.filter(e=>d(e)===l),...w.filter(e=>d(e)!==l)]:w.filter(e=>c(e)===e)).filter(e=>!l||d(e)===l||!!x&&v(e)!==e):w,A=await O(t,b),E=(null==(r=a.autoPlacement)?void 0:r.index)||0,S=R[E];if(null==S)return{};let C=y(S,s,await (null==h.isRTL?void 0:h.isRTL(p.floating)));if(u!==S)return{reset:{placement:R[0]}};let T=[A[c(S)],A[C[0]],A[C[1]]],k=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:S,overflows:T}],L=R[E+1];if(L)return{data:{index:E+1,overflows:k},reset:{placement:L}};let N=k.map(e=>{let t=d(e.placement);return[e.placement,t&&m?e.overflows.slice(0,2).reduce((e,t)=>
1e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),M=(null==(o=N.filter(e=>e[2].slice(0,d(e[0])?2:3).every(e=>e<=0))[0])?void 0:o[0])||N[0][0];return M!==u?{data:{index:E+1,overflows:k},reset:{placement:M}}:{}}}},"autoUpdate",0,function(e,t,n,o){let s;void 0===o&&(o={});let{ancestorScroll:a=!0,ancestorResize:u=!0,elementResize:f="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:d=!1}=o,h=el(e),p=a||u?[...h?er(h):[],...er(t)]:[];p.forEach(e=>{a&&e.addEventListener("scroll",n,{passive:!0}),u&&e.addEventListener("resize",n)});let m=h&&c?function(e,t){let n,o=null,s=F(e);function a(){var e;clearTimeout(n),null==(e=o)||e.disconnect(),o=null}return!function u(f,c){void 0===f&&(f=!1),void 0===c&&(c=1),a();let d=e.getBoundingClientRect(),{left:h,top:p,width:m,height:g}=d;if(f||t(),!m||!g)return;let y={rootMargin:-l(p)+"px "+-l(s.clientWidth-(h+m))+"px "+-l(s.clientHeight-(p+g))+"px "+-l(h)+"px",threshold:i(0,r(1,c))||1},v=!0;function w(t){let r=t[0].intersectionRatio;if(r!==c){if(!v)return u();r?u(!1,r):n=setTimeout(()=>{u(!1,1e-7)},1e3)}1!==r||ex(d,e.getBoundingClientRect())||u(),v=!1}try{o=new IntersectionObserver(w,{...y,root:s.ownerDocument})}catch(e){o=new IntersectionObserver(w,y)}o.observe(e)}(!0),a}(h,n):null,g=-1,y=null;f&&(y=new ResizeObserver(e=>{let[r]=e;r&&r.target===h&&y&&(y.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),n()}),h&&!d&&y.observe(h),y.observe(t));let v=d?ef(e):null;return d&&function t(){let r=ef(e);v&&!ex(v,r)&&n(),v=r,s=requestAnimationFrame(t)}(),n(),()=>{var e;p.forEach(e=>{a&&e.removeEventListener("scroll",n),u&&e.removeEventListener("resize",n)}),null==m||m(),null==(e=y)||e.disconnect(),y=null,d&&cancelAnimationFrame(s)}},"computePosition",0,(e,t,n)=>{let r=new Map,i={platform:ew,...n},o={...i.platform,_c:r};return T(e,t,{...i,platform:o})},"flip",0,function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,i,o,l;let s,a,u,{placement:h,middlewareData:p,rects:m,initialPlacement:E,platform:S,elements:C}=t,{mainAxis:T=!0,crossAxis:k=!0,fallbackPlacements:L,fallbackStrategy:N="bestFit",fallbackAxisSideDirection:M="none",flipAlignment:P=!0,...D}=f(e,t);if(null!=(n=p.arrow)&&n.alignmentOffset)return{};let I=c(h),z=g(E),F=c(E)===E,W=await (null==S.isRTL?void 0:S.isRTL(C.floating)),_=L||(F||!P?[A(E)]:(s=A(E),[v(E),s,v(s)])),j="none"!==M;!L&&j&&_.push(...(a=d(E),u=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?x:w;return t?w:x;case"left":case"right":return t?b:R;default:return[]}}(c(E),"start"===M,W),a&&(u=u.map(e=>e+"-"+a),P&&(u=u.concat(u.map(v)))),u));let H=[E,..._],$=await O(t,D),U=[],V=(null==(r=p.flip)?void 0:r.overflows)||[];if(T&&U.push($[I]),k){let e=y(h,m,W);U.push($[e[0]],$[e[1]])}if(V=[...V,{placement:h,overflows:U}],!U.every(e=>e<=0)){let e=((null==(i=p.flip)?void 0:i.index)||0)+1,t=H[e];if(t&&("alignment"!==k||z===g(t)||V.every(e=>g(e.placement)!==z||e.overflows[0]>0)))return{data:{index:e,overflows:V},reset:{placement:t}};let n=null==(o=V.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(N){case"bestFit":{let e=null==(l=V.filter(e=>{if(j){let t=g(e.placement);return t===z||"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=E}if(h!==n)return{reset:{placement:n}}}return{}}}},"hide",0,function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n}=t,{strategy:r="referenceHidden",...i}=f(e,t);switch(r){case"referenceHidden":{let e=k(await O(t,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:L(e)}}}case"escaped":{let e=k(await O(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:L(e)}}}default:return{}}}}},"inline",0,function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){let{placement:n,elements:o,rects:l,platform:s,strategy:a}=t,{padding:u=2,x:d,y:h}=f(e,t),p=Array.from(await (null==s.getClientRects?void 0:s.getClientRects(o.reference))||[]),m=function(e){let t=e.slice().sort((e,t)=>
1e.y-t.y),n=[],r=null;for(let e=0;e<t.length;e++){let i=t[e];!r||i.y-r.y>r.height/2?n.push([i]):n[n.length-1].push(i),r=i}return n.map(e=>S(N(e)))}(p),y=S(N(p)),v=E(u),w=await s.getElementRects({reference:{getBoundingClientRect:function(){if(2===m.length&&m[0].left>m[1].right&&null!=d&&null!=h)return m.find(e=>d>e.left-v.left&&d<e.right+v.right&&h>e.top-v.top&&h<e.bottom+v.bottom)||y;if(m.length>=2){if("y"===g(n)){let e=m[0],t=m[m.length-1],r="top"===c(n),i=e.top,o=t.bottom,l=r?e.left:t.left,s=r?e.right:t.right;return{top:i,bottom:o,left:l,right:s,width:s-l,height:o-i,x:l,y:i}}let e="left"===c(n),t=i(...m.map(e=>e.right)),o=r(...m.map(e=>e.left)),l=m.filter(n=>e?n.left===o:n.right===t),s=l[0].top,a=l[l.length-1].bottom;return{top:s,bottom:a,left:o,right:t,width:t-o,height:a-s,x:o,y:s}}return y}},floating:o.floating,strategy:a});return l.reference.x!==w.reference.x||l.reference.y!==w.reference.y||l.reference.width!==w.reference.width||l.reference.height!==w.reference.height?{reset:{rects:w}}:{}}}},"limitShift",0,function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:o,middlewareData:l}=t,{offset:s=0,mainAxis:a=!0,crossAxis:u=!0}=f(e,t),d={x:n,y:r},p=g(i),m=h(p),y=d[m],v=d[p],w=f(s,t),x="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(a){let e="y"===m?"height":"width",t=o.reference[m]-o.floating[e]+x.mainAxis,n=o.reference[m]+o.reference[e]-x.mainAxis;y<t?y=t:y>n&&(y=n)}if(u){var b,R;let e="y"===m?"width":"height",t=M.has(c(i)),n=o.reference[p]-o.floating[e]+(t&&(null==(b=l.offset)?void 0:b[p])||0)+(t?0:x.crossAxis),r=o.reference[p]+o.reference[e]+(t?0:(null==(R=l.offset)?void 0:R[p])||0)-(t?x.crossAxis:0);v<n?v=n:v>r&&(v=r)}return{[m]:y,[p]:v}}}},"offset",0,function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:o,placement:l,middlewareData:s}=t,a=await P(t,e);return l===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:i+a.x,y:o+a.y,data:{...a,placement:l}}}}},"shift",0,function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:o,placement:l}=t,{mainAxis:s=!0,crossAxis:a=!1,limiter:u={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...d}=f(e,t),p={x:n,y:o},m=await O(t,d),y=g(c(l)),v=h(y),w=p[v],x=p[y];if(s){let e="y"===v?"top":"left",t="y"===v?"bottom":"right",n=w+m[e],o=w-m[t];w=i(n,r(w,o))}if(a){let e="y"===y?"top":"left",t="y"===y?"bottom":"right",n=x+m[e],o=x-m[t];x=i(n,r(x,o))}let b=u.fn({...t,[v]:w,[y]:x});return{...b,data:{x:b.x-n,y:b.y-o,enabled:{[v]:s,[y]:a}}}}}},"size",0,function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,o;let l,s,{placement:a,rects:u,platform:h,elements:p}=t,{apply:m=()=>{},...y}=f(e,t),v=await O(t,y),w=c(a),x=d(a),b="y"===g(a),{width:R,height:A}=u.floating;"top"===w||"bottom"===w?(l=w,s=x===(await (null==h.isRTL?void 0:h.isRTL(p.floating))?"start":"end")?"left":"right"):(s=w,l="end"===x?"top":"bottom");let E=A-v.top-v.bottom,S=R-v.left-v.right,C=r(A-v[l],E),T=r(R-v[s],S),k=!t.middlewareData.shift,L=C,N=T;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(N=S),null!=(o=t.middlewareData.shift)&&o.enabled.y&&(L=E),k&&!x){let e=i(v.left,0),t=i(v.right,0),n=i(v.top,0),r=i(v.bottom,0);b?N=R-2*(0!==e||0!==t?e+t:i(v.left,v.right)):L=A-2*(0!==n||0!==r?n+r:i(v.top,v.bottom))}await m({...t,availableWidth:N,availableHeight:L});let M=await h.getDimensions(p.floating);return R!==M.width||A!==M.height?{reset:{rects:!0}}:{}}}}],422957)},597637,e=>{"use strict";var t=e.i(188766);function n(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function r(...e){return t=>{let r=!1,i=e.map(e=>{let i=n(e,t);return r||"function"!=typeof i||(r=!0),i});if(r)return()=>{for(let t=0;t<i.length;t++){let r=i[t];"function"==typeof r?r():n(e[t],null)}}}}e.s(["composeRefs",0,r,"useComposedRefs",0,function(...e){return t.useCallback(r(...e),e)}])},291967,877550,132436,e=>{"use strict";"u">typeof window&&window.document&&window.document.createElement,e.s(["composeEventHandlers",0,function(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}],291967);var t=e.i(188766),n=e.i(274826);e.s(["createContextScope",0,function(e,r=[]){let i=[],o=()=>{let n=i.map(e=>t.createContext(e));return function(r){let i=r?.[e]||n;return t.useMemo(()=>({[`__scope${e}`]:{...r,[e]:i}}),[r,i])}};return o.scopeName=e,[function(r,o){let l=t.createContext(o),s=i.length;i=[...i,o];let a=r=>{let{scope:i,children:o,...a}=r,u=i?.[e]?.[s]||l,f=t.useMemo(()=>a,Object.values(a));return(0,n.jsx)(u.Provider,{value:f,children:o})};return a.displayName=r+"Provider",[a,function(n,i){let a=i?.[e]?.[s]||l,u=t.useContext(a);if(u)return u;if(void 0!==o)return o;throw Error(`\`${n}\` must be used within \`${r}\``)}]},function(...e){let n=e[0];if(1===e.length)return n;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=r.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return t.useMemo(()=>({[`__scope${n.scopeName}`]:i}),[i])}};return r.scopeName=n.scopeName,r}(o,...r)]}],877550);var r=e.i(597637),i=Symbol("radix.slottable");function o(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===i}e.s(["createSlot",0,function(e){var i;
1let l,s=(i=e,(l=t.forwardRef((e,n)=>{let{children:i,...o}=e;if(t.isValidElement(i)){var l;let e,s,a=(l=i,(s=(e=Object.getOwnPropertyDescriptor(l.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?l.ref:(s=(e=Object.getOwnPropertyDescriptor(l,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?l.props.ref:l.props.ref||l.ref),u=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(o,i.props);return i.type!==t.Fragment&&(u.ref=n?(0,r.composeRefs)(n,a):a),t.cloneElement(i,u)}return t.Children.count(i)>1?t.Children.only(null):null})).displayName=`${i}.SlotClone`,l),a=t.forwardRef((e,r)=>{let{children:i,...l}=e,a=t.Children.toArray(i),u=a.find(o);if(u){let e=u.props.children,i=a.map(n=>n!==u?n:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,n.jsx)(s,{...l,ref:r,children:t.isValidElement(e)?t.cloneElement(e,void 0,i):null})}return(0,n.jsx)(s,{...l,ref:r,children:i})});return a.displayName=`${e}.Slot`,a}],132436)},824076,e=>{"use strict";var t=e.i(188766),n=e.i(336733),r=e.i(132436),i=e.i(274826),o=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{let o=(0,r.createSlot)(`Primitive.${n}`),l=t.forwardRef((e,t)=>{let{asChild:r,...l}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(r?o:n,{...l,ref:t})});return l.displayName=`Primitive.${n}`,{...e,[n]:l}},{});e.s(["Primitive",0,o,"dispatchDiscreteCustomEvent",0,function(e,t){e&&n.flushSync(()=>e.dispatchEvent(t))}])},752343,e=>{"use strict";var t=e.i(188766);e.s(["useCallbackRef",0,function(e){let n=t.useRef(e);return t.useEffect(()=>{n.current=e}),t.useMemo(()=>(...e)=>n.current?.(...e),[])}])},661262,699799,e=>{"use strict";var t=e.i(188766),n=globalThis?.document?t.useLayoutEffect:()=>{};e.s(["useLayoutEffect",0,n],699799);var r=t[" useId ".trim().toString()]||(()=>void 0),i=0;e.s(["useId",0,function(e){let[o,l]=t.useState(r());return n(()=>{e||l(e=>e??String(i++))},[e]),e||(o?`radix-${o}`:"")}],661262)},541614,e=>{"use strict";var t=e.i(188766),n=e.i(597637),r=e.i(699799),i=e=>{var i;let l,s,{present:a,children:u}=e,f=function(e){var n,i;let[l,s]=t.useState(),a=t.useRef(null),u=t.useRef(e),f=t.useRef("none"),[c,d]=(n=e?"mounted":"unmounted",i={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>i[e][t]??e,n));return t.useEffect(()=>{let e=o(a.current);f.current="mounted"===c?e:"none"},[c]),(0,r.useLayoutEffect)(()=>{let t=a.current,n=u.current;if(n!==e){let r=f.current,i=o(t);e?d("MOUNT"):"none"===i||t?.display==="none"?d("UNMOUNT"):n&&r!==i?d("ANIMATION_OUT"):d("UNMOUNT"),u.current=e}},[e,d]),(0,r.useLayoutEffect)(()=>{if(l){let e,t=l.ownerDocument.defaultView??window,n=n=>{let r=o(a.current).includes(CSS.escape(n.animationName));if(n.target===l&&r&&(d("ANIMATION_END"),!u.current)){let n=l.style.animationFillMode;l.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===l.style.animationFillMode&&(l.style.animationFillMode=n)})}},r=e=>{e.target===l&&(f.current=o(a.current))};return l.addEventListener("animationstart",r),l.addEventListener("animationcancel",n),l.addEventListener("animationend",n),()=>{t.clearTimeout(e),l.removeEventListener("animationstart",r),l.removeEventListener("animationcancel",n),l.removeEventListener("animationend",n)}}d("ANIMATION_END")},[l,d]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:t.useCallback(e=>{a.current=e?getComputedStyle(e):null,s(e)},[])}}(a),c="function"==typeof u?u({present:f.isPresent}):t.Children.only(u),d=(0,n.useComposedRefs)(f.ref,(i=c,(s=(l=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in l&&l.isReactWarning)?i.ref:(s=(l=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in l&&l.isReactWarning)?i.props.ref:i.props.ref||i.ref));return"function"==typeof u||f.isPresent?t.cloneElement(c,{ref:d}):null};function o(e){return e?.animationName||"none"}i.displayName="Presence",e.s(["Presence",0,i])},467500,e=>{"use strict";var t=e.i(188766),n=e.i(699799);t[" useEffectEvent ".trim().toString()],t[" useInsertionEffect ".trim().toString()];var r=t[" useInsertionEffect ".trim().toString()]||n.useLayoutEffect;Symbol("RADIX:SYNC_STATE"),e.s(["useControllableState",0,function({prop:e,defaultProp:n,onChange:i=()=>{},caller:o}){let[l,s,a]=function({defaultProp:e,onChange:n}){let[i,o]=t.useState(e),l=t.useRef(i),s=t.useRef(n);return r(()=>{s.current=n},[n]),t.useEffect(()=>{l.current!==i&&(s.current?.(i),l.current=i)},[i,l]),[i,o,s]}({defaultProp:n,onChange:i}),u=void 0!==e,f=u?e:l;{let n=t.useRef(void 0!==e);t.useEffect(()=>{let e=n.current;if(e!==u){let t=u?"controlled":"uncontrolled";console.warn(`${o} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}n.current=u},[u,o])}return[f,t.useCallback(t=>{if(u){let n="function"==typeof t?t(e):t;n!==e&&a.current?.(n)}else s(t)},[u,e,s,a])]}],467500)},783858,898320,e=>{"use strict";var t=e.i(188766),n=e.i(877550),r=e.i(597637),i=e.i(132436),o=e.i(274826),l=new WeakMap;function s(e,t){var n,r;let i,o,l;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let s=(n=e,r=t,i=n.length,(l=(o=a(r))>=0?o:i+o)<0||l>=i?-1:l);return -1===s?void 0:e[s]}function a(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],l.set(this,!0)}set(e,t){return l.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,n){let r,i=this.has(t),o=this.#e.length,l=a(e),s=l>=0?l:o+l,u=s<0||s>=o?-1:s;if(u===this.size||i&&u===this.size-1||-1===u)return this.set(t,n),this;let f=this.size+ +!i;l<0&&s++;let c=[...this.#e],d=!1;for(let e=s;e<f;e++)if(s===e){let o=c[e];c[e]===t&&(o=c[e+1]),i&&this.delete(t),r=this.get(o),this.set(t,n)}else{d||c[e-1]!==t||(d=!0);let n=c[d?e:e-1],i=r;r=this.get(n),this.delete(n),this.set(n,i)}return this}with(t,n,r){let i=new e(this);return i.insert(t,n,r),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,n){let r=this.#e.indexOf(e);return -1===r?this:this.insert(r,t,n)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,n){let r=this.#e.indexOf(e);return -1===r?this:this.insert(r+1,t,n)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=s(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=s(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return s(this.#e,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++}
1}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=[],i=0;for(let e of this)Reflect.apply(t,n,[e,i,this])&&r.push(e),i++;return new e(r)}map(t,n){let r=[],i=0;for(let e of this)r.push([e[0],Reflect.apply(t,n,[e,i,this])]),i++;return new e(r)}reduce(...e){let[t,n]=e,r=0,i=n??this.at(0);for(let n of this)i=0===r&&1===e.length?n:Reflect.apply(t,this,[i,n,r,this]),r++;return i}reduceRight(...e){let[t,n]=e,r=n??this.at(-1);for(let n=this.size-1;n>=0;n--){let i=this.at(n);r=n===this.size-1&&1===e.length?i:Reflect.apply(t,this,[r,i,n,this])}return r}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(...t){let n=[...this.entries()];return n.splice(...t),new e(n)}slice(t,n){let r=new e,i=this.size-1;if(void 0===t)return r;t<0&&(t+=this.size),void 0!==n&&n>0&&(i=n-1);for(let e=t;e<=i;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}}),e.s(["createCollection",0,function(e){let l=e+"CollectionProvider",[s,a]=(0,n.createContextScope)(l),[u,f]=s(l,{collectionRef:{current:null},itemMap:new Map}),c=e=>{let{scope:n,children:r}=e,i=t.default.useRef(null),l=t.default.useRef(new Map).current;return(0,o.jsx)(u,{scope:n,itemMap:l,collectionRef:i,children:r})};c.displayName=l;let d=e+"CollectionSlot",h=(0,i.createSlot)(d),p=t.default.forwardRef((e,t)=>{let{scope:n,children:i}=e,l=f(d,n),s=(0,r.useComposedRefs)(t,l.collectionRef);return(0,o.jsx)(h,{ref:s,children:i})});p.displayName=d;let m=e+"CollectionItemSlot",g="data-radix-collection-item",y=(0,i.createSlot)(m),v=t.default.forwardRef((e,n)=>{let{scope:i,children:l,...s}=e,a=t.default.useRef(null),u=(0,r.useComposedRefs)(n,a),c=f(m,i);return t.default.useEffect(()=>(c.itemMap.set(a,{ref:a,...s}),()=>void c.itemMap.delete(a))),(0,o.jsx)(y,{...{[g]:""},ref:u,children:l})});return v.displayName=m,[{Provider:c,Slot:p,ItemSlot:v},function(n){let r=f(e+"CollectionConsumer",n);return t.default.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${g}]`));return Array.from(r.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[r.collectionRef,r.itemMap])},a]}],783858);var u=t.createContext(void 0);e.s(["useDirection",0,function(e){let n=t.useContext(u);return e||n||"ltr"}],898320)},777715,229720,e=>{"use strict";var t=e.i(406963);let n=(0,t.default)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}
1],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]]);e.s(["Sparkles",0,n],777715);let r=(0,t.default)("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]);e.s(["Zap",0,r],229720)}]);

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.