PageSourceSearch

https://elasticemail.com/_next/static/chunks/7974-361b11c6b593fc7a.js

js elasticemail.com collected 2026-10-01 10:15:56 UTC 34,499 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7974],{38480:function(e,t,n){n.d(t,{r:function(){return r}});var r=n(14076).c},93193:function(e,t,n){n.d(t,{n:function(){return ez}});var r=n(72243),o=n(88160),l=n(46763),i=n(2357);function a(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}var s=n(2265);"undefined"!=typeof window&&window.document&&window.document.createElement;let d=new Map;var u=function(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=function e(t){var n,r,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t){if(Array.isArray(t)){var l=t.length;for(n=0;n<l;n++)t[n]&&(r=e(t[n]))&&(o&&(o+=" "),o+=r)}else for(r in t)t[r]&&(o&&(o+=" "),o+=r)}return o}(e))&&(r&&(r+=" "),r+=t);return r};function c(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];for(let e in r){let n=t[e],o=r[e];"function"==typeof n&&"function"==typeof o&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=a(n,o):("className"===e||"UNSAFE_className"===e)&&"string"==typeof n&&"string"==typeof o?t[e]=u(n,o):"id"===e&&n&&o?t.id=function(e,t){if(e===t)return e;let n=d.get(e);if(n)return n.forEach(e=>e(t)),t;let r=d.get(t);return r?(r.forEach(t=>t(e)),e):t}(n,o):t[e]=void 0!==o?o:n}}return t}let f=new WeakMap;function p(e,t,n){if(!e)return"";"string"==typeof t&&(t=t.replace(/\s+/g,""));let r=f.get(e);return`${r}-${n}-${t}`}var b=n(95278),v=n(82457),g=n(58127),y=n(36582);let m="undefined"!=typeof document?s.useLayoutEffect:()=>{};function h(e){return e.nativeEvent=e,e.isDefaultPrevented=()=>e.defaultPrevented,e.isPropagationStopped=()=>e.cancelBubble,e.persist=()=>{},e}function w(e){let t=(0,s.useRef)({isFocused:!1,observer:null});return m(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]),(0,s.useCallback)(n=>{if(n.target instanceof HTMLButtonElement||n.target instanceof HTMLInputElement||n.target instanceof HTMLTextAreaElement||n.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=n.target;r.addEventListener("focusout",n=>{if(t.current.isFocused=!1,r.disabled){let t=h(n);null==e||e(t)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();let n=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}},[e])}function E(e){var t;if("undefined"==typeof window||null==window.navigator)return!1;let n=null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands;return Array.isArray(n)&&n.some(t=>e.test(t.brand))||e.test(window.navigator.userAgent)}function x(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function K(e){let t=null;return()=>(null==t&&(t=e()),t)}let L=K(function(){return x(/^Mac/i)}),T=K(function(){return x(/^iPhone/i)}),k=K(function(){return x(/^iPad/i)||L()&&navigator.maxTouchPoints>1}),M=K(function(){return T()||k()});K(function(){return L()||M()});
1let C=K(function(){return E(/AppleWebKit/i)&&!D()}),D=K(function(){return E(/Chrome/i)}),P=K(function(){return E(/Android/i)}),F=K(function(){return E(/Firefox/i)}),S=null;function W(e,t,n=!0){var r,o;let{metaKey:l,ctrlKey:i,altKey:a,shiftKey:s}=t;F()&&(null===(o=window.event)||void 0===o?void 0:null===(r=o.type)||void 0===r?void 0:r.startsWith("key"))&&"_blank"===e.target&&(L()?l=!0:i=!0);let d=C()&&L()&&!k()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:l,ctrlKey:i,altKey:a,shiftKey:s}):new MouseEvent("click",{metaKey:l,ctrlKey:i,altKey:a,shiftKey:s,detail:1,bubbles:!0,cancelable:!0});W.isOpening=n,function(e){if(function(){if(null==S){S=!1;try{document.createElement("div").focus({get preventScroll(){return S=!0,!0}})}catch{}}return S}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}(e);e.focus(),function(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}(t)}}(e),e.dispatchEvent(d),W.isOpening=!1}W.isOpening=!1;let N=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},A=e=>e&&"window"in e&&e.window===e?e:N(e).defaultView||window,H=null,I=new Set,O=new Map,R=!1,B=!1,j={Tab:!0,Escape:!0};function V(e,t){for(let n of I)n(e,t)}function _(e){R=!0,W.isOpening||e.metaKey||!L()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(H="keyboard",V("keyboard",e))}function z(e){H="pointer","pointerType"in e&&e.pointerType,("mousedown"===e.type||"pointerdown"===e.type)&&(R=!0,V("pointer",e))}function G(e){W.isOpening||(""!==e.pointerType||!e.isTrusted)&&(P()&&e.pointerType?"click"!==e.type||1!==e.buttons:0!==e.detail||e.pointerType)||(R=!0,H="virtual")}function U(e){e.target!==window&&e.target!==document&&e.isTrusted&&(R||B||(H="virtual",V("virtual",e)),R=!1,B=!1)}function J(){R=!1,B=!0}function X(e){if("undefined"==typeof window||"undefined"==typeof document||O.get(A(e)))return;let t=A(e),n=N(e),r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){R=!0,r.apply(this,arguments)},n.addEventListener("keydown",_,!0),n.addEventListener("keyup",_,!0),n.addEventListener("click",G,!0),t.addEventListener("focus",U,!0),t.addEventListener("blur",J,!1),"undefined"!=typeof PointerEvent&&(n.addEventListener("pointerdown",z,!0),n.addEventListener("pointermove",z,!0),n.addEventListener("pointerup",z,!0)),t.addEventListener("beforeunload",()=>{Y(e)},{once:!0}),O.set(t,{focus:r})}let Y=(e,t)=>{let n=A(e),r=N(e);t&&r.removeEventListener("DOMContentLoaded",t),O.has(n)&&(n.HTMLElement.prototype.focus=O.get(n).focus,r.removeEventListener("keydown",_,!0),r.removeEventListener("keyup",_,!0),r.removeEventListener("click",G,!0),n.removeEventListener("focus",U,!0),n.removeEventListener("blur",J,!1),"undefined"!=typeof PointerEvent&&(r.removeEventListener("pointerdown",z,!0),r.removeEventListener("pointermove",z,!0),r.removeEventListener("pointerup",z,!0)),O.delete(n))};function $(){return"pointer"!==H}"undefined"!=typeof document&&function(e){let t;let n=N(void 0);"loading"!==n.readyState?X(void 0):(t=()=>{X(void 0)},n.addEventListener("DOMContentLoaded",t)),()=>Y(e,t)}();let q=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);var Q=n(90952);let Z=(e=document)=>{var t;if(!(0,Q.Wr)())return e.activeElement;let n=e.activeElement;for(;n&&("shadowRoot"in n)&&(null===(t=n.shadowRoot)||void 0===t?void 0:t.activeElement);)n=n.shadowRoot.activeElement;return n};function ee(e){return(0,Q.Wr)()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}function et(e={}){var t,n,r;let{autoFocus:o=!1,isTextInput:l,within:i}=e,a=(0,s.useRef)({isFocused:!1,isFocusVisible:o||$()}),[d,u]=(0,s.useState)(!1),[c,f]=(0,s.useState)(()=>a.current.isFocused&&a.current.isFocusVisible),p=(0,s.useCallback)(()=>f(a.current.isFocused&&a.current.isFocusVisible),[]),b=(0,s.useCallback)(e=>{a.current.isFocused=e,u(e),p()},[p]);t=e=>{a.current.isFocusVisible=e,p()},n=[],r={isTextInput:l},X(),(0,s.useEffect)(()=>
1{let e=(e,n)=>{(function(e,t,n){let r=N(null==n?void 0:n.target),o="undefined"!=typeof window?A(null==n?void 0:n.target).HTMLInputElement:HTMLInputElement,l="undefined"!=typeof window?A(null==n?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,i="undefined"!=typeof window?A(null==n?void 0:n.target).HTMLElement:HTMLElement,a="undefined"!=typeof window?A(null==n?void 0:n.target).KeyboardEvent:KeyboardEvent;return!((e=e||r.activeElement instanceof o&&!q.has(r.activeElement.type)||r.activeElement instanceof l||r.activeElement instanceof i&&r.activeElement.isContentEditable)&&"keyboard"===t&&n instanceof a&&!j[n.key])})(!!(null==r?void 0:r.isTextInput),e,n)&&t($())};return I.add(e),()=>{I.delete(e)}},n);let{focusProps:v}=function(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:o}=e,l=(0,s.useCallback)(e=>{if(e.target===e.currentTarget)return r&&r(e),o&&o(!1),!0},[r,o]),i=w(l),a=(0,s.useCallback)(e=>{let t=N(e.target),r=t?Z(t):Z();e.target===e.currentTarget&&r===ee(e.nativeEvent)&&(n&&n(e),o&&o(!0),i(e))},[o,n,i]);return{focusProps:{onFocus:!t&&(n||o||r)?a:void 0,onBlur:!t&&(r||o)?l:void 0}}}({isDisabled:i,onFocusChange:b}),{focusWithinProps:g}=function(e){let t,n,r,o,{isDisabled:l,onBlurWithin:i,onFocusWithin:a,onFocusWithinChange:d}=e,u=(0,s.useRef)({isFocusWithin:!1}),{addGlobalListener:c,removeAllGlobalListeners:f}=(t=(0,s.useRef)(new Map),n=(0,s.useCallback)((e,n,r,o)=>{let l=(null==o?void 0:o.once)?(...e)=>{t.current.delete(r),r(...e)}:r;t.current.set(r,{type:n,eventTarget:e,fn:l,options:o}),e.addEventListener(n,l,o)},[]),r=(0,s.useCallback)((e,n,r,o)=>{var l;let i=(null===(l=t.current.get(r))||void 0===l?void 0:l.fn)||r;e.removeEventListener(n,i,o),t.current.delete(r)},[]),o=(0,s.useCallback)(()=>{t.current.forEach((e,t)=>{r(e.eventTarget,e.type,t,e.options)})},[r]),(0,s.useEffect)(()=>o,[o]),{addGlobalListener:n,removeGlobalListener:r,removeAllGlobalListeners:o}),p=(0,s.useCallback)(e=>{e.currentTarget.contains(e.target)&&u.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(u.current.isFocusWithin=!1,f(),i&&i(e),d&&d(!1))},[i,d,u,f]),b=w(p),v=(0,s.useCallback)(e=>{if(!e.currentTarget.contains(e.target))return;let t=N(e.target),n=Z(t);if(!u.current.isFocusWithin&&n===ee(e.nativeEvent)){a&&a(e),d&&d(!0),u.current.isFocusWithin=!0,b(e);let n=e.currentTarget;c(t,"focus",e=>{if(u.current.isFocusWithin&&!function(e,t){if(!(0,Q.Wr)())return!!t&&!!e&&e.contains(t);if(!e||!t)return!1;let n=t;for(;null!==n;){var r;if(n===e)return!0;n="SLOT"===n.tagName&&n.assignedSlot?n.assignedSlot.parentNode:null!==(r=n)&&"object"==typeof r&&"nodeType"in r&&"number"==typeof r.nodeType&&r.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in r?n.host:n.parentNode}return!1}(n,e.target)){let r=new t.defaultView.FocusEvent("blur",{relatedTarget:e.target});Object.defineProperty(r,"target",{value:n}),Object.defineProperty(r,"currentTarget",{value:n}),p(h(r))}},{capture:!0})}},[a,d,b,c,p]);return l?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:v,onBlur:p}}}({isDisabled:!i,onFocusWithinChange:b});return{isFocused:d,isFocusVisible:c,focusProps:i?g:v}}var en=n(57437),er=(0,r.Gp)((e,t)=>{var n,r;let{as:a,tabKey:d,destroyInactiveTabPanel:u,state:f,className:m,slots:h,classNames:w,...E}=e,x=(0,o.gy)(t),{tabPanelProps:K}=function(e,t,n){var r;
1let o=!function(e,t){let n,[r,o]=(0,s.useState)(!1);return(0,y.b)(()=>{if((null==e?void 0:e.current)&&!n){let t=()=>{e.current&&o(!!(0,g.QL)(e.current,{tabbable:!0}).nextNode())};t();let n=new MutationObserver(t);return n.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{n.disconnect()}}}),!n&&r}(n)?0:void 0,l=p(t,null!==(r=e.id)&&void 0!==r?r:null==t?void 0:t.selectedKey,"tabpanel"),i=(0,b.b)({...e,id:l,"aria-labelledby":p(t,null==t?void 0:t.selectedKey,"tab")});return{tabPanelProps:(0,v.d)(i,{tabIndex:o,role:"tabpanel","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]})}}({...e,id:String(d)},f,x),{focusProps:L,isFocused:T,isFocusVisible:k}=et(),M=f.selectedItem,C=f.collection.getItem(d).props.children,D=(0,l.W)(null==w?void 0:w.panel,m,null==(n=null==M?void 0:M.props)?void 0:n.className),P=d===(null==M?void 0:M.key);return C&&(P||!u)?(0,en.jsx)(a||"div",{ref:x,"data-focus":T,"data-focus-visible":k,"data-inert":P?void 0:"true",inert:(0,i.UE)(!P),...P&&c(K,L,E),className:null==(r=h.panel)?void 0:r.call(h,{class:D}),"data-slot":"panel",children:C}):null});er.displayName="NextUI.TabPanel";var eo=n(20427),el=n(27246),ei=n(97765);let ea=e=>"object"==typeof e&&null!=e&&1===e.nodeType,es=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,ed=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let n=getComputedStyle(e,null);return es(n.overflowY,t)||es(n.overflowX,t)||(e=>{let t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)})(e)}return!1},eu=(e,t,n,r,o,l,i,a)=>l<e&&i>t||l>e&&i<t?0:l<=e&&a<=n||i>=t&&a>=n?l-e-r:i>t&&a<n||l<e&&a>n?i-t+o:0,ec=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},ef=(e,t)=>{var n,r,o,l;if("undefined"==typeof document)return[];let{scrollMode:i,block:a,inline:s,boundary:d,skipOverflowHiddenElements:u}=t,c="function"==typeof d?d:e=>e!==d;if(!ea(e))throw TypeError("Invalid target");let f=document.scrollingElement||document.documentElement,p=[],b=e;for(;ea(b)&&c(b);){if((b=ec(b))===f){p.push(b);break}null!=b&&b===document.body&&ed(b)&&!ed(document.documentElement)||null!=b&&ed(b,u)&&p.push(b)}let v=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,g=null!=(l=null==(o=window.visualViewport)?void 0:o.height)?l:innerHeight,{scrollX:y,scrollY:m}=window,{height:h,width:w,top:E,right:x,bottom:K,left:L}=e.getBoundingClientRect(),{top:T,right:k,bottom:M,left:C}=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e),D="start"===a||"nearest"===a?E-T:"end"===a?K+M:E+h/2-T+M,P="center"===s?L+w/2-C+k:"end"===s?x+k:L-C,F=[];for(let e=0;e<p.length;e++){let t=p[e],{height:n,width:r,top:o,right:l,bottom:d,left:u}=t.getBoundingClientRect();if("if-needed"===i&&E>=0&&L>=0&&K<=g&&x<=v&&(t===f&&!ed(t)||E>=o&&K<=d&&L>=u&&x<=l))break;let c=getComputedStyle(t),b=parseInt(c.borderLeftWidth,10),T=parseInt(c.borderTopWidth,10),k=parseInt(c.borderRightWidth,10),M=parseInt(c.borderBottomWidth,10),C=0,S=0,W="offsetWidth"in t?t.offsetWidth-t.clientWidth-b-k:0,N="offsetHeight"in t?t.offsetHeight-t.clientHeight-T-M:0,A="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,H="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(f===t)C="start"===a?D:"end"===a?D-g:"nearest"===a?eu(m,m+g,g,T,M,m+D,m+D+h,h):D-g/2,S="start"===s?P:"center"===s?P-v/2:"end"===s?P-v:eu(y,y+v,v,b,k,y+P,y+P+w,w),C=Math.max(0,C+m),S=Math.max(0,S+y);else{C="start"===a?D-o-T:"end"===a?D-d+M+N:"nearest"===a?eu(o,d,n,T,M+N,D,D+h,h):D-(o+n/2)+N/2,S="start"===s?P-u-b:"center"===s?P-(u+r/2)+W/2:"end"===s?P-l+k+W:eu(u,l,r,b,k+W,P,P+w,w);let{scrollLeft:e,scrollTop:i}=t;C=0===H?0:Math.max(0,Math.min(i+C/H,t.scrollHeight-n/H+N)),S=0===A?0:Math.max(0,Math.min(e+S/A,t.scrollWidth-r/A+W)),D+=i-C,P+=e-S}F.push({el:t,top:C,left:S})}return F},ep=e=>!1===e?{block:"end",inline:"nearest"}:e===Object(e)&&0!==Object.keys(e).length?e:{block:"start",inline:"nearest"};var eb=n(94508),ev=n(18311),eg=n(19212);let ey=!1,em=0;function eh(){ey=!0,setTimeout(()=>{ey=!1},50)}function ew(e){"touch"===e.pointerType&&eh()}function eE(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",ew):document.addEventListener("touchend",eh),em++,()=>{--em>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",ew):document.removeEventListener("touchend",eh))}}var ex=n(50278),eK=n(28487),eL=n(82760);let eT={...n(30878).H,...eK.o,...eL.b};var ek=n(9330),eM=(0,r.Gp)((e,t)=>{var n;let{className:r,as:i,item:d,state:u,classNames:f,isDisabled:b,listRef:g,slots:y,motionProps:m,disableAnimation:h,disableCursorAnimation:w,shouldSelectOnPressUp:E,onClick:x,tabRef:K,...L}=e,{key:T}=d,k=(0,o.gy)(t),M=i||(e.href?"a":"button"),{tabProps:C,isSelected:D,isDisabled:P,isPressed:F}=function(e,t,n){let{key:r,isDisabled:o,shouldSelectOnPressUp:l}=e,{selectionManager:i,selectedKey:a}=t,s=r===a,d=o||t.isDisabled||t.selectionManager.isDisabled(r),{itemProps:u,isPressed:c}=(0,eg.C)({selectionManager:i,key:r,ref:n,isDisabled:d,shouldSelectOnPressUp:l,linkBehavior:"selection"}),f=p(t,r,"tab"),b=p(t,r,"tabpanel"),{tabIndex:g}=u,y=t.collection.getItem(r),m=(0,eb.z)(null==y?void 0:y.props,{labelable:!0});delete m.id;let h=(0,ev.eY)(null==y?void 0:y.props);return{tabProps:(0,v.d)(m,h,u,{id:f,"aria-selected":s,"aria-disabled":d||void 0,"aria-controls":s?b:void 0,tabIndex:d?void 0:g,role:"tab"}),isSelected:s,isDisabled:d,isPressed:c}}({key:T,isDisabled:b,shouldSelectOnPressUp:E},u,k);null==e.children&&delete C["aria-controls"];let S=b||P,{focusProps:W,isFocused:N,isFocusVisible:A}=et(),{hoverProps:H,isHovered:I}=function(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,isDisabled:o}
1=e,[l,i]=(0,s.useState)(!1),a=(0,s.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,s.useEffect)(eE,[]);let{hoverProps:d,triggerHoverEnd:u}=(0,s.useMemo)(()=>{let e=(e,r)=>{if(a.pointerType=r,o||"touch"===r||a.isHovered||!e.currentTarget.contains(e.target))return;a.isHovered=!0;let l=e.currentTarget;a.target=l,t&&t({type:"hoverstart",target:l,pointerType:r}),n&&n(!0),i(!0)},l=(e,t)=>{if(a.pointerType="",a.target=null,"touch"===t||!a.isHovered)return;a.isHovered=!1;let o=e.currentTarget;r&&r({type:"hoverend",target:o,pointerType:t}),n&&n(!1),i(!1)},s={};return"undefined"!=typeof PointerEvent?(s.onPointerEnter=t=>{ey&&"mouse"===t.pointerType||e(t,t.pointerType)},s.onPointerLeave=e=>{!o&&e.currentTarget.contains(e.target)&&l(e,e.pointerType)}):(s.onTouchStart=()=>{a.ignoreEmulatedMouseEvents=!0},s.onMouseEnter=t=>{a.ignoreEmulatedMouseEvents||ey||e(t,"mouse"),a.ignoreEmulatedMouseEvents=!1},s.onMouseLeave=e=>{!o&&e.currentTarget.contains(e.target)&&l(e,"mouse")}),{hoverProps:s,triggerHoverEnd:l}},[t,n,r,o,a]);return(0,s.useEffect)(()=>{o&&u({currentTarget:a.target},a.pointerType)},[o]),{hoverProps:d,isHovered:l}}({isDisabled:S}),O=(0,l.W)(null==f?void 0:f.tab,r),[,R]=function(e={}){let{rerender:t=!1,delay:n=0}=e,r=(0,s.useRef)(!1),[o,l]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{r.current=!0;let e=null;return t&&(n>0?e=setTimeout(()=>{l(!0)},n):l(!0)),()=>{r.current=!1,t&&l(!1),e&&clearTimeout(e)}},[t]),[(0,s.useCallback)(()=>r.current,[]),o]}({rerender:!0});return(0,en.jsxs)(M,{ref:(0,eo.l)(k,K),"data-disabled":(0,ei.PB)(P),"data-focus":(0,ei.PB)(N),"data-focus-visible":(0,ei.PB)(A),"data-hover":(0,ei.PB)(I),"data-hover-unselected":(0,ei.PB)((I||F)&&!D),"data-pressed":(0,ei.PB)(F),"data-selected":(0,ei.PB)(D),"data-slot":"tab",...c(C,S?{}:{...W,...H},(0,el.z)(L,{enabled:"string"==typeof M,omitPropNames:new Set(["title"])}),{onClick:()=>{a(x,C.onClick),(null==k?void 0:k.current)&&(null==g?void 0:g.current)&&function(e,t){if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;if("object"==typeof t&&"function"==typeof t.behavior)return t.behavior(ef(e,t));let n="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:r,top:o,left:l}of ef(e,ep(t)))r.scroll({top:o,left:l,behavior:n})}(k.current,{scrollMode:"if-needed",behavior:"smooth",block:"end",inline:"end",boundary:null==g?void 0:g.current})}}),className:null==(n=y.tab)?void 0:n.call(y,{class:O}),title:null==L?void 0:L.titleValue,type:"button"===M?"button":void 0,children:[D&&!h&&!w&&R?(0,en.jsx)(ex.X,{features:eT,children:(0,en.jsx)(ek.m.span,{className:y.cursor({class:null==f?void 0:f.cursor}),"data-slot":"cursor",layoutDependency:!1,layoutId:"cursor",transition:{type:"spring",bounce:.15,duration:.5},...m})}):null,(0,en.jsx)("div",{className:y.tabContent({class:null==f?void 0:f.tabContent}),"data-slot":"tabContent",children:d.rendered})]})});eM.displayName="NextUI.Tab";var eC=n(2646),eD=n(50553),eP=n(56041),eF=n(21770),eS=(0,eP.tv)({slots:{base:"inline-flex",tabList:["flex","p-1","h-fit","gap-2","items-center","flex-nowrap","overflow-x-scroll","scrollbar-hide","bg-default-100"],tab:["z-0","w-full","px-3","py-1","flex","group","relative","justify-center","items-center","outline-none","cursor-pointer","transition-opacity","tap-highlight-transparent","data-[disabled=true]:cursor-not-allowed","data-[disabled=true]:opacity-30","data-[hover-unselected=true]:opacity-disabled",...eF.Dh],tabContent:["relative","z-10","text-inherit","whitespace-nowrap","transition-colors","text-default-500","group-data-[selected=true]:text-foreground"],cursor:["absolute","z-0","bg-white"],panel:["py-3","px-1","outline-none","data-[inert=true]:hidden",...eF.Dh],wrapper:[]},variants:{variant:{solid:{cursor:"inset-0"},light:{tabList:"bg-transparent dark:bg-transparent",cursor:"inset-0"},underlined:{tabList:"bg-transparent dark:bg-transparent",cursor:"h-[2px] w-[80%] bottom-0 shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]"},bordered:{tabList:"bg-transparent dark:bg-transparent border-medium border-default-200 shadow-sm",cursor:"inset-0"}},color:{default:{},primary:{},secondary:{},success:{},warning:{},danger:{}},size:{sm:{tabList:"rounded-medium",tab:"h-7 text-tiny rounded-small",curs
1or:"rounded-small"},md:{tabList:"rounded-medium",tab:"h-8 text-small rounded-small",cursor:"rounded-small"},lg:{tabList:"rounded-large",tab:"h-9 text-medium rounded-medium",cursor:"rounded-medium"}},radius:{none:{tabList:"rounded-none",tab:"rounded-none",cursor:"rounded-none"},sm:{tabList:"rounded-medium",tab:"rounded-small",cursor:"rounded-small"},md:{tabList:"rounded-medium",tab:"rounded-small",cursor:"rounded-small"},lg:{tabList:"rounded-large",tab:"rounded-medium",cursor:"rounded-medium"},full:{tabList:"rounded-full",tab:"rounded-full",cursor:"rounded-full"}},fullWidth:{true:{base:"w-full",tabList:"w-full"}},isDisabled:{true:{tabList:"opacity-disabled pointer-events-none"}},disableAnimation:{true:{tab:"transition-none",tabContent:"transition-none"}},placement:{top:{},start:{tabList:"flex-col",panel:"py-0 px-3",wrapper:"flex"},end:{tabList:"flex-col",panel:"py-0 px-3",wrapper:"flex flex-row-reverse"},bottom:{wrapper:"flex flex-col-reverse"}}},defaultVariants:{color:"default",variant:"solid",size:"md",fullWidth:!1,isDisabled:!1},compoundVariants:[{variant:["solid","bordered","light"],color:"default",class:{cursor:["bg-background","dark:bg-default","shadow-small"],tabContent:"group-data-[selected=true]:text-default-foreground"}},{variant:["solid","bordered","light"],color:"primary",class:{cursor:eD.J.solid.primary,tabContent:"group-data-[selected=true]:text-primary-foreground"}},{variant:["solid","bordered","light"],color:"secondary",class:{cursor:eD.J.solid.secondary,tabContent:"group-data-[selected=true]:text-secondary-foreground"}},{variant:["solid","bordered","light"],color:"success",class:{cursor:eD.J.solid.success,tabContent:"group-data-[selected=true]:text-success-foreground"}},{variant:["solid","bordered","light"],color:"warning",class:{cursor:eD.J.solid.warning,tabContent:"group-data-[selected=true]:text-warning-foreground"}},{variant:["solid","bordered","light"],color:"danger",class:{cursor:eD.J.solid.danger,tabContent:"group-data-[selected=true]:text-danger-foreground"}},{variant:"underlined",color:"default",class:{cursor:"bg-foreground",tabContent:"group-data-[selected=true]:text-foreground"}},{variant:"underlined",color:"primary",class:{cursor:"bg-primary",tabContent:"group-data-[selected=true]:text-primary"}},{variant:"underlined",color:"secondary",class:{cursor:"bg-secondary",tabContent:"group-data-[selected=true]:text-secondary"}},{variant:"underlined",color:"success",class:{cursor:"bg-success",tabContent:"group-data-[selected=true]:text-success"}},{variant:"underlined",color:"warning",class:{cursor:"bg-warning",tabContent:"group-data-[selected=true]:text-warning"}},{variant:"underlined",color:"danger",class:{cursor:"bg-danger",tabContent:"group-data-[selected=true]:text-danger"}},{disableAnimation:!0,variant:"underlined",class:{tab:["after:content-['']","after:absolute","after:bottom-0","after:h-[2px]","after:w-[80%]","after:opacity-0","after:shadow-[0_1px_0px_0_rgba(0,0,0,0.05)]","data-[selected=true]:after:opacity-100"]}},{disableAnimation:!0,color:"default",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-default data-[selected=true]:text-default-foreground"}},{disableAnimation:!0,color:"primary",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-primary data-[selected=true]:text-primary-foreground"}},{disableAnimation:!0,color:"secondary",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-secondary data-[selected=true]:text-secondary-foreground"}},{disableAnimation:!0,color:"success",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-success data-[selected=true]:text-success-foreground"}},{disableAnimation:!0,color:"warning",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-warning data-[selected=true]:text-warning-foreground"}},{disableAnimation:!0,color:"danger",variant:["solid","bordered","light"],class:{tab:"data-[selected=true]:bg-danger data-[selected=true]:text-danger-foreground"}},{disableAnimation:!0,color:"default",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-foreground"}},{disableAnimation:!0,color:"primary",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-primary"}},{disableAnimation:!0,color:"secondary",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-secondary"}},{disableAnimation:!0,color:"success",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-success"}},{disableAnimation:!0,color:"warning",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-warning"}},{disableAnimation:!0,color:"danger",variant:"underlined",class:{tab:"data-[selected=true]:after:bg-danger"}}],compoundSlots:[{variant:"underlined",slots:["tab","tabList","cursor"],class:["rounded-none"]}]});class eW{*[Symbol.iterator](){yield*this.iterable}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){var t;let n=this.keyMap.get(e);return n&&null!==(t=n.prevKey)&&void 0!==t?t:null}getKeyAfter(e){var t;let n=this.keyMap.get(e);return n&&null!==(t=n.nextKey)&&void 0!==t?t:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){var t;return null!==(t=this.keyMap.get(e))&&void 0!==t?t:null}at(e){let t=[...this.getKeys()];return this.getItem(t[e])}getChildren(e){let t=this.keyMap.get(e);return(null==t?void 0:t.childNodes)||[]}constructor(e){var t;this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=e;let n=e=>{if(this.keyMap.set(e.key,e),e.childNodes&&"section"===e.type)for(let t of e.childNodes)n(t)};for(let t of e)n(t);let r=null,o=0,l=0;for(let[e,t]of this.keyMap)r?(r.nextKey=e,t.prevKey=r.key):(this.firstKey=e,t.prevKey=void 0),"item"===t.type&&(t.index=o++),("section"===t.type||"item"===t.type)&&l++,(r=t).nextKey=void 0;this._size=l,this.lastKey=null!==(t=null==r?void 0:r.key)&&void 0!==t?t:null}}var eN=n(88970),eA=n(47834),eH=n(22603),eI=n(45614);function eO(e,t){let n=null;if(e){var r,o,l,i;for(n=e.getFirstKey();null!=n&&(t.has(n)||(null===(o=e.getItem(n))||void 0===o?void 0:null===(r=o.props)||void 0===r?void 0:r.isDisabled))&&n!==e.getLastKey();)n=e.getKeyAfter(n);null!=n&&(t.has(n)||(null===(i=e.getItem(n))||void 0===i?void 0:null===(l=i.props)||void 0===l?void 0:l.isDisabled))&&n===e.getLastKey()&&(n=e.getFirstKey())}return n}class eR{getKeyLeftOf(e){return this.flipDirection?this.getNextKey(e):this.getPreviousKey(e)}getKeyRightOf(e){return this.flipDirection?this.getPreviousKey(e):this.getNextKey(e)}isDisabled(e){var t,n;return this.disabledKeys.has(e)||!!(null===(n=this.collection.getItem(e))||void 0===n?void 0:null===(t=n.props)||void 0===t?void 0:t.isDisabled)}getFirstKey(){let e=this.collection.getFirstKey();return null!=e&&this.isDisabled(e)&&(e=this.getNextKey(e)),e}getLastKey(){let e=this.collection.getLastKey();return null!=e&&this.isDisabled(e)&&(e=this.getPreviousKey(e)),e}
1getKeyAbove(e){return this.tabDirection?null:this.getPreviousKey(e)}getKeyBelow(e){return this.tabDirection?null:this.getNextKey(e)}getNextKey(e){do null==(e=this.collection.getKeyAfter(e))&&(e=this.collection.getFirstKey());while(this.isDisabled(e));return e}getPreviousKey(e){do null==(e=this.collection.getKeyBefore(e))&&(e=this.collection.getLastKey());while(this.isDisabled(e));return e}constructor(e,t,n,r=new Set){this.collection=e,this.flipDirection="rtl"===t&&"horizontal"===n,this.disabledKeys=r,this.tabDirection="horizontal"===n}}var eB=n(40641),ej=n(25311),eV=n(54875),e_=n(47638),ez=(0,r.Gp)(function(e,t){let{Component:n,values:a,state:d,destroyInactiveTabPanel:u,getBaseProps:p,getTabListProps:g,getWrapperProps:y}=function(e){var t,n,a;let d=(0,eC.w)(),[u,p]=(0,r.oe)(e,eS.variantKeys),{ref:g,as:y,className:m,classNames:h,children:w,disableCursorAnimation:E,motionProps:x,isVertical:K=!1,shouldSelectOnPressUp:L=!0,destroyInactiveTabPanel:T=!0,...k}=u,M=y||"div",C="string"==typeof M,D=(0,o.gy)(g),P=null!=(n=null!=(t=null==e?void 0:e.disableAnimation)?t:null==d?void 0:d.disableAnimation)&&n,F=function(e){var t,n;let r=function(e){var t;let[n,r]=(0,eI.z)(e.selectedKey,null!==(t=e.defaultSelectedKey)&&void 0!==t?t:null,e.onSelectionChange),o=(0,s.useMemo)(()=>null!=n?[n]:[],[n]),{collection:l,disabledKeys:i,selectionManager:a}=function(e){let{filter:t,layoutDelegate:n}=e,r=(0,eN.q)(e),o=(0,s.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),l=(0,s.useCallback)(e=>new eW(t?t(e):e),[t]),i=(0,s.useMemo)(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),a=(0,eH.K)(e,l,i),d=(0,s.useMemo)(()=>new eA.Z(a,r,{layoutDelegate:n}),[a,r,n]);return function(e,t){let n=(0,s.useRef)(null);(0,s.useEffect)(()=>{if(null!=t.focusedKey&&!e.getItem(t.focusedKey)&&n.current){var r,o,l,i,a,s,d;let u=n.current.getItem(t.focusedKey),c=[...n.current.getKeys()].map(e=>{let t=n.current.getItem(e);return(null==t?void 0:t.type)==="item"?t:null}).filter(e=>null!==e),f=[...e.getKeys()].map(t=>{let n=e.getItem(t);return(null==n?void 0:n.type)==="item"?n:null}).filter(e=>null!==e),p=(null!==(r=null==c?void 0:c.length)&&void 0!==r?r:0)-(null!==(o=null==f?void 0:f.length)&&void 0!==o?o:0),b=Math.min(p>1?Math.max((null!==(l=null==u?void 0:u.index)&&void 0!==l?l:0)-p+1,0):null!==(i=null==u?void 0:u.index)&&void 0!==i?i:0,(null!==(a=null==f?void 0:f.length)&&void 0!==a?a:0)-1),v=null,g=!1;for(;b>=0;){if(!t.isDisabled(f[b].key)){v=f[b];break}b<f.length-1&&!g?b++:(g=!0,b>(null!==(s=null==u?void 0:u.index)&&void 0!==s?s:0)&&(b=null!==(d=null==u?void 0:u.index)&&void 0!==d?d:0),b--)}t.setFocusedKey(v?v.key:null)}n.current=e},[e,t])}(a,d),{collection:a,disabledKeys:o,selectionManager:d}}({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:o,onSelectionChange:t=>{var o;if("all"===t)return;let l=null!==(o=t.values().next().value)&&void 0!==o?o:null;l===n&&e.onSelectionChange&&e.onSelectionChange(l),r(l)}}),d=null!=n?l.getItem(n):null;return{collection:l,disabledKeys:i,selectionManager:a,selectedKey:n,setSelectedKey:r,selectedItem:d}}({...e,suppressTextValueWarning:!0,defaultSelectedKey:null!==(n=null!==(t=e.defaultSelectedKey)&&void 0!==t?t:eO(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set))&&void 0!==n?n:void 0}),{selectionManager:o,collection:l,selectedKey:i}=r,a=(0,s.useRef)(i);return(0,s.useEffect)(()=>{let e=i;(o.isEmpty||null==e||!l.getItem(e))&&null!=(e=eO(l,r.disabledKeys))&&o.setSelectedKeys([e]),(null==e||null!=o.focusedKey)&&(o.isFocused||e===a.current)||o.setFocusedKey(e),a.current=e}),{...r,isDisabled:e.isDisabled||!1}}({children:w,...k}),{tabListProps:S}=function(e,t,n){let{orientation:r="horizontal",keyboardActivation:o="automatic"}=e,{collection:l,selectionManager:i,disabledKeys:a}=t,{direction:d}=(0,ej.j)(),u=(0,s.useMemo)(()=>new eR(l,d,r,a),[l,a,r,d]),{collectionProps:c}=(0,eV.g)({ref:n,selectionManager:i,keyboardDelegate:u,selectOnFocus:"automatic"===o,disallowEmptySelection:!0,scrollRef:n,linkBehavior:"selection"}),p=(0,eB.Me)();f.set(t,p);let g=(0,b.b)({...e,id:p});return{tabListProps:{...(0,v.d)(c,g),role:"tablist","aria-orientation":r,tabIndex:void 0}}}(k,F,D),W=(0,s.useMemo)(()=>eS({...p,className:m,disableAnimation:P,...K?{placement:"start"}:{}}
1),[(0,i.Xx)(p),m,P,K]),N=(0,l.W)(null==h?void 0:h.base,m),A=(0,s.useMemo)(()=>({state:F,slots:W,classNames:h,motionProps:x,disableAnimation:P,listRef:D,shouldSelectOnPressUp:L,disableCursorAnimation:E,isDisabled:null==e?void 0:e.isDisabled}),[F,W,D,x,P,E,L,null==e?void 0:e.isDisabled,h]),H=(0,s.useCallback)(e=>({"data-slot":"base",className:W.base({class:(0,l.W)(N,null==e?void 0:e.className)}),...c((0,el.z)(k,{enabled:C}),e)}),[N,k,W]),I=null!=(a=p.placement)?a:K?"start":"top",O=(0,s.useCallback)(e=>({"data-slot":"tabWrapper",className:W.wrapper({class:(0,l.W)(null==h?void 0:h.wrapper,null==e?void 0:e.className)}),"data-placement":I,"data-vertical":K||"start"===I||"end"===I?"vertical":"horizontal"}),[h,W,I,K]),R=(0,s.useCallback)(e=>({ref:D,"data-slot":"tabList",className:W.tabList({class:(0,l.W)(null==h?void 0:h.tabList,null==e?void 0:e.className)}),...c(S,e)}),[D,S,h,W]);return{Component:M,domRef:D,state:F,values:A,destroyInactiveTabPanel:T,getBaseProps:H,getTabListProps:R,getWrapperProps:O}}({...e,ref:t}),m=(0,s.useId)(),h=!e.disableAnimation&&!e.disableCursorAnimation,w={state:d,listRef:a.listRef,slots:a.slots,classNames:a.classNames,isDisabled:a.isDisabled,motionProps:a.motionProps,disableAnimation:a.disableAnimation,shouldSelectOnPressUp:a.shouldSelectOnPressUp,disableCursorAnimation:a.disableCursorAnimation},E=[...d.collection].map(e=>(0,en.jsx)(eM,{item:e,...w,...e.props},e.key)),x=(0,en.jsxs)(en.Fragment,{children:[(0,en.jsx)("div",{...p(),children:(0,en.jsx)(n,{...g(),children:h?(0,en.jsx)(e_.S,{id:m,children:E}):E})}),[...d.collection].map(e=>(0,en.jsx)(er,{classNames:a.classNames,destroyInactiveTabPanel:u,slots:a.slots,state:a.state,tabKey:e.key},e.key))]});return"placement"in e||"isVertical"in e?(0,en.jsx)("div",{...y(),children:x}):x})},30878:function(e,t,n){n.d(t,{H:function(){return l}});var r=n(55149),o=n(1306);let l={renderer:n(481).b,...r.s,...o.E}}}]);

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.