PageSourceSearch

https://www.sporfie.com/_next/static/immutable/chunks/27kzz3yt1w9_p.js

js sporfie.com collected 2026-10-02 14:40:40 UTC 22,583 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="8a4d62bf-26dc-5c10-3a70-faede723b329")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,489693,e=>{"use strict";var t=e.i(991865),n=e.i(120786),i=e.i(92808),a=e.i(651682),r=e.i(513935),o=e.i(843476),l=e.i(271645),s=e.i(43592),u=e.i(653145),c=e.i(939408),d=e.i(262341),f=e.i(471394),v=e.i(861745);e.i(623854);var m=e.i(128769),b=e.i(74191),h=e.i(829770),p=e.i(697859),g=e.i(109089);e.s(["default",0,function(e){var x=e.slice,y=(0,a._)((0,l.useState)(!1),2),N=y[0],T=y[1],S=(0,a._)((0,l.useState)(!1),2),w=S[0],j=S[1],C=(0,a._)((0,l.useState)(null),2),_=C[0],R=C[1],E=(0,a._)((0,l.useState)("contact"),2),k=E[0],A=E[1],M=(0,v.useLocale)(),D=(0,f.default)("common").t,I=(0,u.useForm)(),L=I.register,P=I.handleSubmit,B=I.reset,O=I.formState.errors;return(0,o.jsx)("section",{className:"relative py-20 md:py-28","data-slice-type":x.slice_type,"data-slice-variation":x.variation,children:(0,o.jsx)("div",{className:"relative mx-auto max-w-5xl px-6 lg:px-8",children:(0,o.jsxs)(d.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.2},transition:{duration:.7,ease:[.22,1,.36,1]},className:"relative",children:[(0,o.jsx)("div",{"aria-hidden":!0,className:"from-primary-500/25 via-primary-300/10 absolute -inset-4 rounded-[2rem] bg-gradient-to-br to-transparent opacity-70 blur-2xl"}),(0,o.jsxs)("div",{className:"border-border bg-surface-raised/80 shadow-elevation-3 relative overflow-hidden rounded-2xl border p-8 backdrop-blur-xl md:p-12",children:[(0,o.jsx)("div",{"aria-hidden":!0,className:"via-primary-500/60 pointer-events-none absolute inset-x-0 top-0 h-px bg-gradient-to-r from-transparent to-transparent"}),(0,o.jsxs)("div",{className:"mb-10 text-center",children:[(0,o.jsx)("h3",{className:"font-headings text-foreground text-3xl leading-tight font-black tracking-wider text-balance uppercase md:text-4xl",children:(0,o.jsx)("span",{className:"marketing-gradient-section-title bg-gradient-to-br from-slate-900 to-slate-700 dark:from-white dark:to-slate-300",children:(0,s.asText)(x.primary.title)})}),(0,o.jsx)("p",{className:"text-muted-foreground mx-auto mt-4 max-w-2xl text-base leading-relaxed text-balance md:text-lg",children:(0,s.asText)(x.primary.description)})]}),(0,o.jsxs)(h.Tabs,{value:k,onValueChange:A,className:"mx-auto w-full max-w-4xl",children:[(0,o.jsxs)(h.TabsList,{className:"bg-surface-inset/80 mx-auto grid h-auto w-full max-w-md grid-cols-2 rounded-full p-1",children:[(0,o.jsx)(h.TabsTrigger,{value:"contact",className:"rounded-full px-4 py-2 text-xs font-semibold sm:text-sm",children:D("nav.contact",{defaultValue:"Contact"})}),(0,o.jsx)(h.TabsTrigger,{value:"demo",className:"rounded-full px-4 py-2 text-xs font-semibold sm:text-sm",children:D("actions.book_demo",{defaultValue:"Book demo"})})]}),(0,o.jsx)(h.TabsContent,{value:"contact",className:"mt-8",children:N?(0,o.jsxs)(d.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},className:"py-10 text-center",children:[(0,o.jsx)("div",{className:"mb-4 inline-flex h-16 w-16 items-center justify-center rounded-full bg-gradient-to-br from-green-500 to-emerald-500 text-white shadow-lg shadow-emerald-500/25",children:(0,o.jsx)(g.CheckCircleIcon,{className:"h-8 w-8"})}),(0,o.jsx)("h4",{className:"text-foreground mb-2 text-xl font-semibold",children:"Thank you for your interest!"}),(0,o.jsx)("p",{className:"text-muted-foreground",children:"We'll get back to you shortly."})]}):(0,o.jsxs)("form",{onSubmit:P(function(e){return(0,t._)(function(){return(0,r._)(this,function(t){switch(t.label){case 0:j(!0),R(null),t.label=1;case 1:return t.trys.push([1,3,4,5]),[4,c.default.post("/api/contact",(0,i._)((0,n._)({},e),{locale:M,source:x.primary.source||"marketing"}))];case 2:return t.sent(),T(!0),B(),[3,5];case 3:return t.sent(),R("Failed to send message. Please try again."),[3,5];case 4:return j(!1),[7];case 5:return[2]}})})()}),id:"contact",className:"space-y-6",children:[(0,o.jsxs)("div",{className:"grid grid-cols-1 gap-6 md:grid-cols-2",children:[(0,o.jsxs)("div",{children:[(0,o.jsxs)("label",{htmlFor:"name",className:"form-label",children:["Name ",(0,o.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,o.jsx)("input",(0,n._)({type:"text",id:"name",placeholder:"John Smith",className:(0,m.cn)("form-input mt-1",{"border-red-500 dark:border-red-500":O.name}),disabled:w},L("name",{required:!0}))),O.name&&(0,o.jsx)("p",{className:"mt-1 text-sm text-red-600 dark:text-red-400",children:"Name is required"})]}),(0,o.jsxs)("div",{children:[(0,o.jsx)("label",{htmlFor:"company",className:"form-label",children:"Organization"}),(0,o.jsx)("input",(0,n._)({type:"text",id:"company",placeholder:"ABC Organization",className:"form-input mt-1",disabled:w},L("company")))]})]}),(0,o.jsxs)("div",{className:"grid grid-cols-1 gap-6 md:grid-cols-2",children:[(0,o.jsxs)("div",{children:[(0,o.jsxs)("label",{htmlFor:"email",className:"form-label",children:["Email ",(0,o.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,o.jsx)("input",(0,n._)({type:"email",id:"email",placeholder:"[email protected]",className:(0,m.cn)("form-input mt-1",{"border-red-500 dark:border-red-500":O.email}),disabled:w},L("email",{required:!0,pattern:/^[^@]+@[^@]+$/}))),O.email&&(0,o.jsx)("p",{className:"mt-1 text-sm text-red-600 dark:text-red-400",children:"Valid email is required"})]}),(0,o.jsxs)("div",{children:[(0,o.jsx)("label",{htmlFor:"phone",className:"form-label",children:"Phone"}),(0,o.jsx)("input",(0,n._)({type:"tel",id:"phone",placeholder:"+1 (555) 123-4567",className:"form-input mt-1",disabled:w},L("phone")))]})]}),(0,o.jsxs)("div",{children:[(0,o.jsxs)("label",{htmlFor:"message",className:"form-label",children:["Message ",(0,o.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,o.jsx)("textarea",(0,n._)({id:"message",rows:4,placeholder:"Tell us about your facility and what you're looking for...",className:(0,m.cn)("form-textarea mt-1",{"border-red-500 dark:border-red-500":O.message}),disabled:w},L("message",{required:!0}))),O.message&&(0,o.jsx)("p",{className:"mt-1 text-sm text-red-600 dark:text-red-400",children:"Message is required"})]}),_&&(0,o.jsx)("div",{className:"rounded-lg border border-red-200 bg-red-50 p-4 dark:border-red-800 dark:bg-red-900/20",children:(0,o.jsx)("p",{className:"text-sm text-red-600 dark:text-red-400",children:_})}),(0,o.jsx)("div",{className:"flex justify-center",children:(0,o.jsx)(b.Button,{type:"submit",disabled:w,className:"shadow-primary-500/25 hover:shadow-
2primary-500/35 min-w-[220px] shadow-lg transition-all hover:shadow-xl",children:w?"Sending...":"Send Message"})})]})}),(0,o.jsx)(h.TabsContent,{value:"demo",className:"mt-8",children:(0,o.jsx)(p.BookDemoEmbed,{iframeClassName:"h-[560px] md:h-[660px] rounded-xl"})})]})]})]})})})}])},829770,e=>{"use strict";var t,n,i,a=e.i(120786),r=e.i(233027),o=e.i(651682),l=e.i(112344),s=e.i(843476),u=e.i(271645);e.s([],559657),e.i(559657);var c=e.i(500075),d=e.i(951437),f=e.i(146376),v=e.i(667865),m=e.i(552245),b=e.i(53687),h=e.i(733332),p=u.createContext(void 0);function g(){var e=u.useContext(p);if(void 0===e)throw Error((0,h.default)(64));return e}var x=e.i(299749),y=((t={}).activationDirection="data-activation-direction",t.orientation="data-orientation",t),N={tabActivationDirection:function(e){return(0,x._)({},y.activationDirection,e)}},T=e.i(675606),S=e.i(56434),w=u.forwardRef(function(e,t){e.className;var n=e.defaultValue,i=void 0===n?0:n,a=e.onValueChange,l=e.orientation,c=void 0===l?"horizontal":l,h=(e.render,e.value),g=(e.style,(0,r._)(e,["className","defaultValue","onValueChange","orientation","render","value","style"])),x=void 0!==e.defaultValue,y=u.useRef([]),w=(0,o._)(u.useState(function(){return new Map}),2),C=w[0],_=w[1],R=(0,o._)((0,d.useControlled)({controlled:h,default:i,name:"Tabs",state:"value"}),2),E=R[0],k=R[1],A=void 0!==h,M=(0,o._)(u.useState(function(){return new Map}),2),D=M[0],I=M[1],L=u.useRef(void 0),P=u.useCallback(function(e){if(void 0===e)return null;var t=!0,n=!1,i=void 0;try{for(var a,r=D.entries()[Symbol.iterator]();!(t=(a=r.next()).done);t=!0){var l,s=(0,o._)(a.value,2),u=s[0],c=s[1];if(null!=c&&e===(null!=(l=c.value)?l:c.index))return u}}catch(e){n=!0,i=e}finally{try{t||null==r.return||r.return()}finally{if(n)throw i}}return null},[D]),B=(0,o._)(u.useState(function(){return{previousValue:E,tabActivationDirection:"none"}}),2),O=B[0],V=B[1],F=O.previousValue,H=O.tabActivationDirection,z=H,W=!1;F!==E&&(z=j(F,E,c,D),W=null!=F&&null!=E&&null==P(E));var q=W?F:E,U=F!==q||H!==z;(0,f.useIsoLayoutEffect)(function(){U&&V({previousValue:q,tabActivationDirection:z})},[q,U,z]);var K=(0,v.useStableCallback)(function(e,t){t.activationDirection=j(E,e,c,D),null==a||a(e,t),t.isCanceled||k(e)}),$=(0,v.useStableCallback)(function(e,t){null==a||a(e,(0,T.createChangeEventDetails)(t,void 0,void 0,{activationDirection:"none"}))}),Y=(0,v.useStableCallback)(function(e,t){_(function(n){if(n.get(e)===t)return n;var i=new Map(n);return i.set(e,t),i})}),J=(0,v.useStableCallback)(function(e,t){_(function(n){if(!n.has(e)||n.get(e)!==t)return n;var i=new Map(n);return i.delete(e),i})}),G=u.useCallback(function(e){return C.get(e)},[C]),Q=u.useCallback(function(e){var t=!0,n=!1,i=void 0;try{for(var a,r=D.values()[Symbol.iterator]();!(t=(a=r.next()).done);t=!0){var o=a.value;if(e===(null==o?void 0:o.value))return null==o?void 0:o.id}}catch(e){n=!0,i=e}finally{try{t||null==r.return||r.return()}finally{if(n)throw i}}},[D]),X=u.useMemo(function(){return{getTabElementBySelectedValue:P,getTabIdByPanelValue:Q,getTabPanelIdByValue:G,onValueChange:K,orientation:c,registerMountedTabPanel:Y,setTabMap:I,unregisterMountedTabPanel:J,tabActivationDirection:z,value:E}},[P,Q,G,K,c,Y,I,J,z,E]),Z=u.useMemo(function(){var e=!0,t=!1,n=void 0;try{for(var i,a=D.values()[Symbol.iterator]();!(e=(i=a.next()).done);e=!0){var r=i.value;if(null!=r&&r.value===E)return r}}catch(e){t=!0,n=e}finally{try{e||null==a.return||a.return()}finally{if(t)throw n}}},[D,E]),ee=u.useMemo(function(){var e=!0,t=!1,n=void 0;try{for(var i,a=D.values()[Symbol.iterator]();!(e=(i=a.next()).done);e=!0){var r=i.value;if(null!=r&&!r.disabled)return r.value}}catch(e){t=!0,n=e}finally{try{e||null==a.return||a.return()}finally{if(t)throw n}}},[D]),et=u.useRef(!x),en=u.useRef(i),ei=u.useRef(x),ea=u.useRef(!1);(0,f.useIsoLayoutEffect)(function(){var e,t=function(e,t){k(e),V(function(t){return t.previousValue===e&&"none"===t.tabActivationDirection?t:{previousValue:e,tabActivationDirection:"none"}}),$(e,t),et.current=!1};if(!A){if(0===D.size){!ea.current||null===E||(null==(e=L.current)?void 0:e.isConnected)||t(null,S.REASONS.missing);return}ea.current=!0,L.current=D.keys().next().value;var n=null==Z?void 0:Z.disabled,i=null==Z&&null!==E;if(n||E!==en.current||(ei.current=!1),!ei.current||!n||E!==en.current){var a=et.current;if(n||i){var r=null!=ee?ee:null;if(E===r){et.current=!1;return}var o=S.REASONS.missing;a?o=S.REASONS.initial:n&&(o=S.REASONS.disabled),t(r,o);return}a&&null!=Z&&($(E,S.REASONS.initial),et.current=!1)}}},[ee,A,$,Z,k,D,E]);var er={orientation:c,tabActivationDirection:z},eo=(0,m.useRenderElement)("div",e,{state:er,ref:t,props:g,stateAttributesMapping:N});return(0,s.jsx)(p.Provider,{value:X,children:(0,s.jsx)(b.CompositeList,{elementsRef:y,children:eo})})});function j(e,t,n,i){if(null==e||null==t)return"none";var a=null,r=null,l=!0,s=!1,u=void 0;try{for(var d,f=i.entries()[Symbol.iterator]();!(l=(d=f.next()).done);l=!0){var v,m=(0,o._)(d.value,2),b=m[0],h=m[1];if(null!=h){var p=null!=(v=h.value)?v:h.index;if(e===p&&(a=b),t===p&&(r=b),null!=a&&null!=r)break}}}catch(e){s=!0,u=e}finally{try{l||null==f.return||f.return()}finally{if(s)throw u}}if(null==a||null==r)return a!==r&&("number"==typeof e||"string"==typeof e)&&(void 0===e?"undefined":(0,c._)(e))===(void 0===t?"undefined":(0,c._)(t))?"horizontal"===n?t>e?"right":"left":t>e?"down":"up":"none";var g=a.getBoundingClientRect(),x=r.getBoundingClientRect();if("horizontal"===n){if(x.left<g.left)return"left";if(x.left>g.left)return"right"}else{if(x.top<g.top)return"up";if(x.top>g.top)return"down"}return"none"}var C=e.i(108868),_=e.i(788015),R=e.i(540886),E=e.i(370359),k=e.i(395530),A=u.createContext(void 0);function M(){var e=u.useContext(A);if(void 0===e)throw Error((0,h.default)(65));return e}var D=e.i(647554),I=u.forwardRef(function(e,t){e.className;var n,i=e.disabled,a=void 0!==i&&i,o=(e.render,e.value),l=e.id,s=e.nativeButton,c=(e.style,(0,r._)(e,["className","disabled","render","value","id","nativeButton","style"])),d=g(),v=d.value,b=d.getTabPanelIdByValue,h=d.orientation,p=d.tabActivationDirection,y=M(),w=y.activateOnFocus,j=y.highlightedTabIndex,A=y.onTabActivation,I=y.registerTabResizeObserverElement,L=y.setHighlightedTabIndex,P=y.tabsListElement,B=(0,_.useBaseUiId)(l),O=u.useMemo(function(){return{disabled:a,id:B,value:o}},[a,B,o]),V=(0,k.useCompositeItem)({metadata:O}),F=V.compositeProps,H=V.compositeRef,z=V.index,W=o===v,q=u.useRef(!1),U=u.useRef(null);(0,f.useIsoLayoutEffect)(function(){var e=U.current;if(e)return I(e)},[I]),(0,f.useIsoLayoutEffect)(function(){if(q.current){q.current=!1;return}if(W&&z>-1&&j!==z){if(null!=P){var e=(0,D.activeElement)((0,C.ownerDocument)(P));if(e&&(0,D.contains)(P,e))return}a||L(z)}},[W,z,j,L,a,P]);var K=(0,R.useButton)({disabled:a,native:void 0===s||s,focusableWhenDisabled:!0}),$=K.getButtonProps,Y=K.buttonRef,J=b(o),G=u.useRef(!1),Q=u.useRef(!1);return(0,m.useRenderElement)("button",e,{state:{disabled:a,active:W,orientation:h,tabActivationDirection:p},ref:[t,Y,H,U],props:[F,(n={role:"tab","aria-controls":J,"aria-selected":W,id:B,onClick:function(e){W||a||A(o,(0,T.createChangeEventDetails)(S.REASONS.none,e.nativeEvent,void 0,{activationDirection:"none"}))},onFocus:function(e){W||(z>-1&&!a&&L(z),!a&&w&&(!G.current||G.current&&Q.current)&&A(o,(0,T.createChangeEventDetails)(S.REASONS.none,e.nativeEvent,void 0,{activationDirection:"none"})))},onPointerDown:function(e){W||a||(G.current=!0,e.button&&0!==e.button||(Q.current=!0,(0,C.ownerDocument)(e.currentTarget).addEventListener("pointerup",function(){G.current=!1,Q.current=!1},{once:!0})))}},(0,x._)(n,E.ACTIVE_COMPOSITE_ITEM,W?"":void 0),(0,x._)(n,"onKeyDownCapture",function(){q.current=!0}),n),c,$],stateAttributesMapping:N})}),L=e.i(92808),P=e.i(73364),B=e.i(802239),O=e.i(956789);function V(){return O.NOOP}function F(){return!1}function H(){return!0}var z=((n={}).activeTabLeft="--active-tab-left",n.activeTabRight="--active-tab-right",n.activeTabTop="--active-tab-top",n.activeTabBottom="--active-tab-bottom",n.activeTabWidth="--active-tab-width",n.activeTabHeight="--active-tab-height",n),W=e.i(172410),q=(0,L._)((0,a._)({},N),{activeTabPosition:function(){return null},activeTabSize:function(){return null}}),U=u.forwardRef(function(e,t){e.className,e.render;var n,i,a=e.renderBeforeHydration,l=(e.style,(0,r._)(e,["className","render","renderBeforeHydration","style"])),c=(0,W.useCSPContext)().nonce,d=g(),f=d.getTabElementBySelectedValue,v=d.orientation,b=d.tabActivationDirection,h=d.value,p=M(),y=p.tabsListElement,N=p.registerIndicatorUpdateListener,T=(0,B.useSyncExternalStore)(V,F,H),S=(n=(0,o._)(u.useState({}),2)[1],u.useCallback(function(){n({})},[]));u.useEffect(function(){return N(S)},[N,S]);var w=0,j=0,C=0,_=0,R=0,E=0,k=!1;if(null!=h&&null!=y){var A=f(h);if(null!=A){k=!0;var D=(0,P.getCssDimensions)(A),I=D.width,L=D.height,O=(0,P.getCssDimensions)(y),U=O.width,K=O.height,$=A.getBoundingClientRect(),Y=y.getBoundingClientRect(),J=U>0?Y.width/U:1,G=K>0?Y.height/K:1;if(Math.abs(J)>Number.EPSILON&&Math.abs(G)>Number.EPSILON){var Q=$.left-Y.left,X=$.top-Y.top;w=Q/J+y.scrollLeft-y.clientLeft,C=X/G+y.scrollTop-y.clientTop}else w=A.offsetLeft,C=A.offsetTop;R=I,E=L,j=y.scrollWidth-w-R,_=y.scrollHeight-C-E}}var Z=k?{left:w,right:j,top:C,bottom:_}:null,ee=k?{width:R,height:E}:null,et=k?(i={},(0,x._)(i,z.activeTabLeft,"".concat(w,"px")),(0,x._)(i,z.activeTabRight,"".concat(j,"px")),(0,x._)(i,z.activeTabTop,"".concat(C,"px")),(0,x._)(i,z.activeTabBottom,"".concat(_,"px")),(0,x._)(i,z.activeTabWidth,"".concat(R,"px")),(0,x._)(i,z.activeTabHeight,"".concat(E,"px")),i):void 0,en=k&&R>0&&E>0,ei=(0,m.useRenderElement)("span",e,{state:{orientation:v,activeTabPosition:Z,activeTabSize:ee,tabActivationDirection:b},ref:t,props:[{role:"presentation",style:et,hidden:!en},l,{suppressHydrationWarning:!0}],stateAttributesMapping:q});return null==h?null:(0,s.jsxs)(u.Fragment,{children:[ei,T&&void 0!==a&&a&&(0,s.jsx)("script",{nonce:c,dangerouslySetInnerHTML:{__html:'!function(){const t=document.currentScript.previousElementSibling;if(!t)return;const e=t.closest(\'[role="tablist"]\');if(!e)return;const i=e.querySelector("[data-active]");if(!i)return;if(0===i.offsetWidth||0===e.offsetWidth)return;let o=0,n=0,h=0,l=0,r=0,f=0;function s(t){const e=getComputedStyle(t);let i=parseFloat(e.width)||0,o=parseFloat(e.height)||0;return(Math.round(i)!==t.offsetWidth||Math.round(o)!==t.offsetHeight)&&(i=t.offsetWidth,o=t.offsetHeight),{width:i,height:o}}if(null!=i&&null!=e){const{width:t,height:c}=s(i),{width:u,height:d}=s(e),a=i.getBoundingClientRect(),g=e.getBoundingClientRect(),p=u>0?g.width/u:1,b=d>0?g.height/d:1;if(Math.abs(p)>Number.EPSILON&&Math.abs(b)>Number.EPSILON){const t=a.left-g.left,i=a.top-g.top;o=t/p+e.scrollLeft-e.clientLeft,h=i/b+e.scrollTop-e.clientTop}else o=i.offsetLeft,h=i.offsetTop;r=t,f=c,n=e.scrollWidth-o-r,l=e.scrollHeight-h-f}function c(e,i){t.style.setProperty(`--active-tab-${e}`,`${i}px`)}c("left",o),c("right",n),c("top",h),c("bottom",l),c("width",r),c("height",f),r>0&&f>0&&t.removeAttribute("hidden")}();'},suppressHydrationWarning:!0})]})}),K=e.i(144394),$=e.i(209407),Y=e.i(137584),J=e.i(223910),G=e.i(673553),Q=((i={}).index="data-index",i.activationDirection="data-activation-direction",i.orientation="data-orientation",i.hidden="data-hidden",i[i.startingStyle=$.TransitionStatusDataAttributes.startingStyle]="startingStyle",i[i.endingStyle=$.TransitionStatusDataAttributes.endingStyle]="endingStyle",i),X=(0,a._)({},N,$.transitionStatusMapping),Z=u.forwardRef(function(e,t){e.className;var n=e.value,i=(e.render,e.keepMounted),a=void 0!==i&&i,o=(e.style,(0,r._)(e,["className","value","render","keepMounted","style"])),l=g(),s=l.value,c=l.getTabIdByPanelValue,d=l.orientation,v=l.tabActivationDirection,b=l.registerMountedTabPanel,h=l.unregisterMountedTabPanel,p=(0,_.useBaseUiId)(),y=u.useMemo(function(){return{id:p,value:n}},[p,n]),N=(0,G.useCompositeListItem)({metadata:y}),T=N.ref,S=N.index,w=n===s,j=(0,J.useTransitionStatus)(w),C=j.mounted,R=j.transitionStatus,E=j.setMounted,k=!C,A=c(n),M=u.useRef(null),D=(0,m.useRenderElement)("div",e,{state:{hidden:k,orientation:d,tabActivationDirection:v,transitionStatus:R},ref:[t,T,M],props:[(0,x._)({"aria-labelledby":A,hidden:k,id:p,role:"tabpanel",tabIndex:w?0:-1,inert:(0,K.inertValue)(!w)},Q.index,S),o],stateAttributesMapping:X});return((0,Y.useOpenChangeComplete)({open:w,ref:M,onComplete:function(){w||E(!1)}}),(0,f.useIsoLayoutEffect)(function(){if((!k||a)&&null!=p)return b(n,p),function(){h(n,p)}},[k,a,n,p,b,h]),a||C)?D:null}),ee=e.i(405934),et=u.forwardRef(function(e,t){var n=e.activateOnFocus,i=void 0!==n&&n,a=e.className,l=e.loopFocus,c=e.render,d=e.style,m=(0,r._)(e,["activateOnFocus","className","loopFocus","render","style"]),b=g(),h=b.onValueChange,p=b.orientation,x=b.value,y=b.setTabMap,T=b.tabActivationDirection,S=(0,o._)(u.useState(0),2),w=S[0],j=S[1],C=(0,o._)(u.useState(null),2),_=C[0],R=C[1],E=u.useRef(new Set),k=u.useRef(new Set),M=u.useRef(null);(0,f.useIsoLayoutEffect)(function(){if("u">typeof ResizeObserver){var e=new ResizeObserver(function(){E.current.forEach(function(e){e()})});return M.current=e,_&&e.observe(_),k.current.forEach(function(t){e.observe(t)}),function(){e.disconnect(),M.current=null}}},[_]);var D=(0,v.useStableCallback)(function(e){return E.current.add(e),function(){E.current.delete(e)}}),I=(0,v.useStableCallback)(function(e){var t;return k.current.add(e),null==(t=M.current)||t.observe(e),function(){var t;k.current.delete(e),null==(t=M.current)||t.unobserve(e)}}),L=(0,v.useStableCallback)(function(e,t){e!==x&&h(e,t)}),P=u.useMemo(function(){return{activateOnFocus:i,highlightedTabIndex:w,registerIndicatorUpdateListener:D,registerTabResizeObserverElement:I,onTabActivation:L,setHighlightedTabIndex:j,tabsListElement:_}},[i,w,D,I,L,j,_]);return(0,s.jsx)(A.Provider,{value:P,children:(0,s.jsx)(ee.CompositeRoot,{render:c,className:a,style:d,state:{orientation:p,tabActivationDirection:T},refs:[t,R],props:[{"aria-orientation":"vertical"===p?"vertical":void 0,role:"tablist"},m],stateAttributesMapping:N,highlightedIndex:w,enableHomeAndEndKeys:!0,loopFocus:void 0===l||l,orientation:p,onHighlightedIndexChange:j,onMapChange:y,disabledIndices:O.EMPTY_ARRAY})})});e.s(["Indicator",0,U,"List",0,et,"Panel",0,Z,"Root",0,w,"Tab",0,I],69281);var en=e.i(69281),en=en;e.i(623854);var ei=e.i(128769),ea=en.Root,er=u.forwardRef(function(e,t){var n=(0,l._)([e,t]),i=n[0],u=n.slice(1),c=i.className,d=(0,r._)(i,["className"]),f=(0,o._)(u,1)[0];return(0,s.jsx)(en.List,(0,a._)({ref:f,className:(0,ei.cn)("bg-surface-inset text-muted-foreground inline-flex h-10 items-center justify-center rounded-md p-1",c)},d))});er.displayName="TabsList";var eo=u.forwardRef(function(e,t){var n=(0,l._)([e,t]),i=n[0],u=n.slice(1),c=i.className,d=(0,r._)(i,["className"]),f=(0,o._)(u,1)[0];return(0,s.jsx)(en.Tab,(0,a._)({ref:f,className:(0,ei.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-active:bg-surface-raised data-active:text-foreground data-active:shadow-elevation-1",c)},d))});eo.displayName="TabsTrigger";var el=u.forwardRef(function(e,t){var n=(0,l._)([e,t]),i=n[0],u=n.slice(1),c=i.className,d=(0,r._)(i,["className"]),f=(0,o._)(u,1)[0];return(0,s.jsx)(en.Panel,(0,a._)({ref:f,className:(0,ei.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",c)},d))});el.displayName="TabsContent",e.s(["Tabs",0,ea,"TabsContent",0,el,"TabsList",0,er,"TabsTrigger",0,eo],829770)}]);
3
4//# debugId=8a4d62bf-26dc-5c10-3a70-faede723b329

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.