1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4199],{584:(e,t,n)=>{"use strict";function r(e){return{className:e?.className,style:e?.style}}n.d(t,{J:()=>r})},1546:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var r=(0,n(86467).A)("outline","brand-instagram","IconBrandInstagram",[["path",{d:"M4 8a4 4 0 0 1 4 -4h8a4 4 0 0 1 4 4v8a4 4 0 0 1 -4 4h-8a4 4 0 0 1 -4 -4z",key:"svg-0"}],["path",{d:"M9 12a3 3 0 1 0 6 0a3 3 0 0 0 -6 0",key:"svg-1"}],["path",{d:"M16.5 7.5v.01",key:"svg-2"}]])},2273:()=>{},5196:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(19946).A)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},5778:(e,t,n)=>{"use strict";n.d(t,{K:()=>i});var r=n(91871),o=n(12115);function i(e){(0,o.useEffect)(()=>{if(e)return(0,r.us)()},[e])}},6196:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(19472);function o(e,t){let n=e=>{if(void 0!==e)return"string"==typeof e?{className:e}:e},o=n(e),i=n(t);if((o?.noStyle||i?.noStyle)&&i?.noStyle)return{className:i.className,style:i.style,noStyle:!0};let a=(0,r.cn)(o?.baseClassName,o?.className,i?.baseClassName,i?.className),l={...o?.style,...i?.style};return{className:a||void 0,style:Object.keys(l).length>0?l:void 0,noStyle:o?.noStyle||i?.noStyle}}},8349:(e,t,n)=>{"use strict";n.d(t,{I:()=>a});var r=n(82696),o=n(12115),i=n(92980);function a(e,t,n){let{noStyle:a,theme:l}=(0,i.D)(),s=n??l;return(0,o.useMemo)(()=>(0,r.N)(e,s,t,a),[e,s,t,a])}},8987:(e,t,n)=>{"use strict";n.d(t,{r:()=>i});var r=n(91871),o=n(12115);function i(e,t){(0,o.useEffect)(()=>{if(e&&t&&t.current)return(0,r.dG)(t.current)},[e,t])}},9428:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(19946).A)("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},11275:(e,t,n)=>{"use strict";n.d(t,{X:()=>i});var r=n(12115),o=n(52712);function i(e){let[t,n]=r.useState(void 0);return(0,o.N)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,o;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,o=t.blockSize}else r=e.offsetWidth,o=e.offsetHeight;n({width:r,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}},17974:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var r=(0,n(86467).A)("outline","brand-linkedin","IconBrandLinkedin",[["path",{d:"M8 11v5",key:"svg-0"}],["path",{d:"M8 8v.01",key:"svg-1"}],["path",{d:"M12 16v-5",key:"svg-2"}],["path",{d:"M16 16v-3a2 2 0 1 0 -4 0",key:"svg-3"}],["path",{d:"M3 7a4 4 0 0 1 4 -4h10a4 4 0 0 1 4 4v10a4 4 0 0 1 -4 4h-10a4 4 0 0 1 -4 -4z",key:"svg-4"}]])},19472:(e,t,n)=>{"use strict";function r(...e){let t=[];for(let n of e)!function e(t,n){if(n&&"boolean"!=typeof n){if("string"==typeof n||"number"==typeof n||"bigint"==typeof n)return void t.push(String(n));if(Array.isArray(n)){for(let r of n)e(t,r);return}for(let e in n)Object.prototype.hasOwnProperty.call(n,e)&&n[e]&&t.push(e)}}(t,n);return t.join(" ")}n.d(t,{cn:()=>r})},19946:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12115);let o=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),i=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((e,t,n)=>!!e&&""!==e.trim()&&n.indexOf(e)===t).join(" ").trim()};var a={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let l=(0,r.forwardRef)((e,t)=>{let{color:n="currentColor",size:o=24,strokeWidth:l=2,absoluteStrokeWidth:s,className:c="",children:u,iconNode:d,...f}=e;return(0,r.createElement)("svg",{ref:t,...a,width:o,height:o,stroke:n,strokeWidth:s?24*Number(l)/Number(o):l,className:i("lucide",c),...f},[...d.map(e=>{let[t,n]=e;return(0,r.createElement)(t,n)}),...Array.isArray(u)?u:[u]])}),s=(e,t)=>{let n=(0,r.forwardRef)((n,a)=>{let{className:s,...c}=n;return(0,r.createElement)(l,{ref:a,iconNode:t,className:i("lucide-".concat(o(e)),s),...c})});return n.displayName="".concat(e),n}},20133:(e,t,n)=>{"use strict";n.d(t,{H_:()=>rJ,UC:()=>rX,YJ:()=>rY,q7:()=>rZ,VF:()=>r1,JU:()=>rq,ZL:()=>rU,z6:()=>rQ,hN:()=>r0,bL:()=>rK,wv:()=>r5,Pb:()=>r2,G5:()=>r4,ZP:()=>r3,l9:()=>r$});var r,o,i=n(12115),a=n(85185),l=n(6101),s=n(46081),c=n(5845),u=n(63655),d=n(37328),f=n(94315);function h(e){let t=i.useRef(e);return i.useEffect(()=>{t.current=e}),i.useMemo(()=>(...e)=>t.current?.(...e),[])}var p=n(95155),m="dismissableLayer.update",g=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),v=i.forwardRef((e,t)=>
1{var n,o;let{disableOutsidePointerEvents:s=!1,onEscapeKeyDown:c,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:v,onDismiss:w,...x}=e,S=i.useContext(g),[C,k]=i.useState(null),j=null!==(o=null==C?void 0:C.ownerDocument)&&void 0!==o?o:null===(n=globalThis)||void 0===n?void 0:n.document,[,A]=i.useState({}),E=(0,l.s)(t,e=>k(e)),N=Array.from(S.layers),[L]=[...S.layersWithOutsidePointerEventsDisabled].slice(-1),R=N.indexOf(L),D=C?N.indexOf(C):-1,M=S.layersWithOutsidePointerEventsDisabled.size>0,T=D>=R,P=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=h(e),o=i.useRef(!1),a=i.useRef(()=>{});return i.useEffect(()=>{let e=e=>{if(e.target&&!o.current){let t=function(){b("dismissableLayer.pointerDownOutside",r,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",a.current),a.current=t,n.addEventListener("click",a.current,{once:!0})):t()}else n.removeEventListener("click",a.current);o.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",a.current)}},[n,r]),{onPointerDownCapture:()=>o.current=!0}}(e=>{let t=e.target,n=[...S.branches].some(e=>e.contains(t));!T||n||(null==d||d(e),null==v||v(e),e.defaultPrevented||null==w||w())},j),I=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=h(e),o=i.useRef(!1);return i.useEffect(()=>{let e=e=>{e.target&&!o.current&&b("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{let t=e.target;[...S.branches].some(e=>e.contains(t))||(null==f||f(e),null==v||v(e),e.defaultPrevented||null==w||w())},j);return!function(e,t=globalThis?.document){let n=h(e);i.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{D===S.layers.size-1&&(null==c||c(e),!e.defaultPrevented&&w&&(e.preventDefault(),w()))},j),i.useEffect(()=>{if(C)return s&&(0===S.layersWithOutsidePointerEventsDisabled.size&&(r=j.body.style.pointerEvents,j.body.style.pointerEvents="none"),S.layersWithOutsidePointerEventsDisabled.add(C)),S.layers.add(C),y(),()=>{s&&1===S.layersWithOutsidePointerEventsDisabled.size&&(j.body.style.pointerEvents=r)}},[C,j,s,S]),i.useEffect(()=>()=>{C&&(S.layers.delete(C),S.layersWithOutsidePointerEventsDisabled.delete(C),y())},[C,S]),i.useEffect(()=>{let e=()=>A({});return document.addEventListener(m,e),()=>document.removeEventListener(m,e)},[]),(0,p.jsx)(u.sG.div,{...x,ref:E,style:{pointerEvents:M?T?"auto":"none":void 0,...e.style},onFocusCapture:(0,a.m)(e.onFocusCapture,I.onFocusCapture),onBlurCapture:(0,a.m)(e.onBlurCapture,I.onBlurCapture),onPointerDownCapture:(0,a.m)(e.onPointerDownCapture,P.onPointerDownCapture)})});function y(){let e=new CustomEvent(m);document.dispatchEvent(e)}function b(e,t,n,r){let{discrete:o}=r,i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),o?(0,u.hO)(i,a):i.dispatchEvent(a)}v.displayName="DismissableLayer",i.forwardRef((e,t)=>{let n=i.useContext(g),r=i.useRef(null),o=(0,l.s)(t,r);return i.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,p.jsx)(u.sG.div,{...e,ref:o})}).displayName="DismissableLayerBranch";var w=0;function x(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var S="focusScope.autoFocusOnMount",C="focusScope.autoFocusOnUnmount",k={bubbles:!1,cancelable:!0},j=i.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...s}=e,[c,d]=i.useState(null),f=h(o),m=h(a),g=i.useRef(null),v=(0,l.s)(t,e=>d(e)),y=i.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;i.useEffect(()=>{if(r){let e=function(e){if(y.paused||!c)return;let t=e.target;c.contains(t)?g.current=t:N(g.current,{select:!0})},t=function(e){if(y.paused||!c)return;let t=e.relatedTarget;null===t||c.contains(t)||N(g.current,{select:!0})};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&N(c)});return c&&n.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,c,y.paused]),i.useEffect(()=>{if(c){L.add(y);let e=document.activeElement;if(!c.contains(e)){let t=new CustomEvent(S,k);c.addEventListener(S,f),c.dispatchEvent(t),t.defaultPrevented||(function(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.activeElement;for(let r of e)if(N(r,{select:t}),document.activeElement!==n)return}(A(c).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&N(c))}return()=>{c.removeEventListener(S,f),setTimeout(()=>{let t=new CustomEvent(C,k);c.addEventListener(C,m),c.dispatchEvent(t),t.defaultPrevented||N(null!=e?e:document.body,{select:!0}),c.removeEventListener(C,m),L.remove(y)},0)}}},[c,f,m,y]);let b=i.useCallback(e=>{if(!n&&!r||y.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){let t=e.currentTarget,[r,i]=function(e){let t=A(e);return[E(t,e),E(t.reverse(),e)]}(t);r&&i?e.shiftKey||o!==i?e.shiftKey&&o===r&&(e.preventDefault(),n&&N(i,{select:!0})):(e.preventDefault(),n&&N(r,{select:!0})):o===t&&e.preventDefault()}},[n,r,y.paused]);return(0,p.jsx)(u.sG.div,{tabIndex:-1,...s,ref:v,onKeyDown:b})});function A(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function E(e,t){for(let n of e)if(!function(e,t){let{upTo:n}=t;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===n||e!==n);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function N(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}j.displayName="FocusScope";var L=function(){let e=[];return{add(t){let n=e[0];t!==n&&(null==n||n.pause()),(e=R(e,t)).unshift(t)},remove(t){var n;null===(n=(e=R(e,t))[0])||void 0===n||n.resume()}}}();function R(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}var D=n(61285);let M=["top","right","bottom","left"],T=Math.min,P=Math.max,I=Math.round,F=Math.floor,O=e=>({x:e,y:e}
1),B={left:"right",right:"left",bottom:"top",top:"bottom"},H={start:"end",end:"start"};function _(e,t){return"function"==typeof e?e(t):e}function z(e){return e.split("-")[0]}function W(e){return e.split("-")[1]}function V(e){return"x"===e?"y":"x"}function G(e){return"y"===e?"height":"width"}let K=new Set(["top","bottom"]);function $(e){return K.has(z(e))?"y":"x"}function U(e){return e.replace(/start|end/g,e=>H[e])}let X=["left","right"],Y=["right","left"],q=["top","bottom"],Z=["bottom","top"];function J(e){return e.replace(/left|right|bottom|top/g,e=>B[e])}function Q(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function ee(e){let{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function et(e,t,n){let r,{reference:o,floating:i}=e,a=$(t),l=V($(t)),s=G(l),c=z(t),u="y"===a,d=o.x+o.width/2-i.width/2,f=o.y+o.height/2-i.height/2,h=o[s]/2-i[s]/2;switch(c){case"top":r={x:d,y:o.y-i.height};break;case"bottom":r={x:d,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:f};break;case"left":r={x:o.x-i.width,y:f};break;default:r={x:o.x,y:o.y}}switch(W(t)){case"start":r[l]-=h*(n&&u?-1:1);break;case"end":r[l]+=h*(n&&u?-1:1)}return r}let en=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,l=i.filter(Boolean),s=await (null==a.isRTL?void 0:a.isRTL(t)),c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=et(c,r,s),f=r,h={},p=0;for(let n=0;n<l.length;n++){let{name:i,fn:m}=l[n],{x:g,y:v,data:y,reset:b}=await m({x:u,y:d,initialPlacement:r,placement:f,strategy:o,middlewareData:h,rects:c,platform:a,elements:{reference:e,floating:t}});u=null!=g?g:u,d=null!=v?v:d,h={...h,[i]:{...h[i],...y}},b&&p<=50&&(p++,"object"==typeof b&&(b.placement&&(f=b.placement),b.rects&&(c=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):b.rects),{x:u,y:d}=et(c,f,s)),n=-1)}return{x:u,y:d,placement:f,strategy:o,middlewareData:h}};async function er(e,t){var n;void 0===t&&(t={});let{x:r,y:o,platform:i,rects:a,elements:l,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:h=0}=_(t,e),p=Q(h),m=l[f?"floating"===d?"reference":"floating":d],g=ee(await i.getClippingRect({element:null==(n=await (null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:c,rootBoundary:u,strategy:s})),v="floating"===d?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,y=await (null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),b=await (null==i.isElement?void 0:i.isElement(y))&&await (null==i.getScale?void 0:i.getScale(y))||{x:1,y:1},w=ee(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:v,offsetParent:y,strategy:s}):v);return{top:(g.top-w.top+p.top)/b.y,bottom:(w.bottom-g.bottom+p.bottom)/b.y,left:(g.left-w.left+p.left)/b.x,right:(w.right-g.right+p.right)/b.x}}function eo(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function ei(e){return M.some(t=>e[t]>=0)}let ea=new Set(["left","top"]);async function el(e,t){let{placement:n,platform:r,elements:o}=e,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),a=z(n),l=W(n),s="y"===$(n),c=ea.has(a)?-1:1,u=i&&s?-1:1,d=_(t,e),{mainAxis:f,crossAxis:h,alignmentAxis:p}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return l&&"number"==typeof p&&(h="end"===l?-+p:p),s?{x:h*u,y:f*c}:{x:f*c,y:h*u}}function es(){return"undefined"!=typeof window}function ec(e){return ef(e)?(e.nodeName||"").toLowerCase():"#document"}function eu(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function ed(e){var t;return null==(t=(ef(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function ef(e){return!!es()&&(e instanceof Node||e instanceof eu(e).Node)}function eh(e){return!!es()&&(e instanceof Element||e instanceof eu(e).Element)}function ep(e){return!!es()&&(e instanceof HTMLElement||e instanceof eu(e).HTMLElement)}function em(e){return!!es()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof eu(e).ShadowRoot)}let eg=new Set(["inline","contents"]);function ev(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=eN(e);
1return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!eg.has(o)}let ey=new Set(["table","td","th"]),eb=[":popover-open",":modal"];function ew(e){return eb.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let ex=["transform","translate","scale","rotate","perspective"],eS=["transform","translate","scale","rotate","perspective","filter"],eC=["paint","layout","strict","content"];function ek(e){let t=ej(),n=eh(e)?eN(e):e;return ex.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||eS.some(e=>(n.willChange||"").includes(e))||eC.some(e=>(n.contain||"").includes(e))}function ej(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let eA=new Set(["html","body","#document"]);function eE(e){return eA.has(ec(e))}function eN(e){return eu(e).getComputedStyle(e)}function eL(e){return eh(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function eR(e){if("html"===ec(e))return e;let t=e.assignedSlot||e.parentNode||em(e)&&e.host||ed(e);return em(t)?t.host:t}function eD(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function e(t){let n=eR(t);return eE(n)?t.ownerDocument?t.ownerDocument.body:t.body:ep(n)&&ev(n)?n:e(n)}(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=eu(o);if(i){let e=eM(a);return t.concat(a,a.visualViewport||[],ev(o)?o:[],e&&n?eD(e):[])}return t.concat(o,eD(o,[],n))}function eM(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function eT(e){let t=eN(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=ep(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,l=I(n)!==i||I(r)!==a;return l&&(n=i,r=a),{width:n,height:r,$:l}}function eP(e){return eh(e)?e:e.contextElement}function eI(e){let t=eP(e);if(!ep(t))return O(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:i}=eT(t),a=(i?I(n.width):n.width)/r,l=(i?I(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}let eF=O(0);function eO(e){let t=eu(e);return ej()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:eF}function eB(e,t,n,r){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),a=eP(e),l=O(1);t&&(r?eh(r)&&(l=eI(r)):l=eI(e));let s=(void 0===(o=n)&&(o=!1),r&&(!o||r===eu(a))&&o)?eO(a):O(0),c=(i.left+s.x)/l.x,u=(i.top+s.y)/l.y,d=i.width/l.x,f=i.height/l.y;if(a){let e=eu(a),t=r&&eh(r)?eu(r):r,n=e,o=eM(n);for(;o&&r&&t!==n;){let e=eI(o),t=o.getBoundingClientRect(),r=eN(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,u*=e.y,d*=e.x,f*=e.y,c+=i,u+=a,o=eM(n=eu(o))}}return ee({width:d,height:f,x:c,y:u})}function eH(e,t){let n=eL(e).scrollLeft;return t?t.left+n:eB(ed(e)).left+n}function e_(e,t,n){void 0===n&&(n=!1);let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:eH(e,r)),y:r.top+t.scrollTop}}let ez=new Set(["absolute","fixed"]);function eW(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=eu(e),r=ed(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,s=0;if(o){i=o.width,a=o.height;let e=ej();(!e||e&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:l,y:s}}(e,n);else if("document"===t)r=function(e){let t=ed(e),n=eL(e),r=e.ownerDocument.body,o=P(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=P(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),a=-n.scrollLeft+eH(e),l=-n.scrollTop;return"rtl"===eN(r).direction&&(a+=P(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:l}}(ed(e));else if(eh(t))r=function(e,t){let n=eB(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=ep(e)?eI(e):O(1),a=e.clientWidth*i.x,l=e.clientHeight*i.y;return{width:a,height:l,x:o*i.x,y:r*i.y}}(t,n);else{let n=eO(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return ee(r)}function eV(e){return"static"===eN(e).position}function eG(e,t){if(!ep(e)||"fixed"===eN(e).position)return null;if(t)return t(e);let n=e.offsetParent;return ed(e)===n&&(n=n.ownerDocument.body),n}function eK(e,t){var n;let r=eu(e);
1if(ew(e))return r;if(!ep(e)){let t=eR(e);for(;t&&!eE(t);){if(eh(t)&&!eV(t))return t;t=eR(t)}return r}let o=eG(e,t);for(;o&&(n=o,ey.has(ec(n)))&&eV(o);)o=eG(o,t);return o&&eE(o)&&eV(o)&&!ek(o)?r:o||function(e){let t=eR(e);for(;ep(t)&&!eE(t);){if(ek(t))return t;if(ew(t))break;t=eR(t)}return null}(e)||r}let e$=async function(e){let t=this.getOffsetParent||eK,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=ep(t),o=ed(t),i="fixed"===n,a=eB(e,!0,i,t),l={scrollLeft:0,scrollTop:0},s=O(0);if(r||!r&&!i)if(("body"!==ec(t)||ev(o))&&(l=eL(t)),r){let e=eB(t,!0,i,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&(s.x=eH(o));i&&!r&&o&&(s.x=eH(o));let c=!o||r||i?O(0):e_(o,l);return{x:a.left+l.scrollLeft-s.x-c.x,y:a.top+l.scrollTop-s.y-c.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},eU={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,i="fixed"===o,a=ed(r),l=!!t&&ew(t.floating);if(r===a||l&&i)return n;let s={scrollLeft:0,scrollTop:0},c=O(1),u=O(0),d=ep(r);if((d||!d&&!i)&&(("body"!==ec(r)||ev(a))&&(s=eL(r)),ep(r))){let e=eB(r);c=eI(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=!a||d||i?O(0):e_(a,s,!0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-s.scrollLeft*c.x+u.x+f.x,y:n.y*c.y-s.scrollTop*c.y+u.y+f.y}},getDocumentElement:ed,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,i=[..."clippingAncestors"===n?ew(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=eD(e,[],!1).filter(e=>eh(e)&&"body"!==ec(e)),o=null,i="fixed"===eN(e).position,a=i?eR(e):e;for(;eh(a)&&!eE(a);){let t=eN(a),n=ek(a);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&!!o&&ez.has(o.position)||ev(a)&&!n&&function e(t,n){let r=eR(t);return!(r===n||!eh(r)||eE(r))&&("fixed"===eN(r).position||e(r,n))}(e,a))?r=r.filter(e=>e!==a):o=t,a=eR(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=i[0],l=i.reduce((e,n)=>{let r=eW(t,n,o);return e.top=P(r.top,e.top),e.right=T(r.right,e.right),e.bottom=T(r.bottom,e.bottom),e.left=P(r.left,e.left),e},eW(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:eK,getElementRects:e$,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=eT(e);return{width:t,height:n}},getScale:eI,isElement:eh,isRTL:function(e){return"rtl"===eN(e).direction}};function eX(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let eY=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:o,rects:i,platform:a,elements:l,middlewareData:s}=t,{element:c,padding:u=0}=_(e,t)||{};if(null==c)return{};let d=Q(u),f={x:n,y:r},h=V($(o)),p=G(h),m=await a.getDimensions(c),g="y"===h,v=g?"clientHeight":"clientWidth",y=i.reference[p]+i.reference[h]-f[h]-i.floating[p],b=f[h]-i.reference[h],w=await (null==a.getOffsetParent?void 0:a.getOffsetParent(c)),x=w?w[v]:0;x&&await (null==a.isElement?void 0:a.isElement(w))||(x=l.floating[v]||i.floating[p]);let S=x/2-m[p]/2-1,C=T(d[g?"top":"left"],S),k=T(d[g?"bottom":"right"],S),j=x-m[p]-k,A=x/2-m[p]/2+(y/2-b/2),E=P(C,T(A,j)),N=!s.arrow&&null!=W(o)&&A!==E&&i.reference[p]/2-(A<C?C:k)-m[p]/2<0,L=N?A<C?A-C:A-j:0;return{[h]:f[h]+L,data:{[h]:E,centerOffset:A-E-L,...N&&{alignmentOffset:L}},reset:N}}}),eq=(e,t,n)=>{let r=new Map,o={platform:eU,...n},i={...o.platform,_c:r};return en(e,t,{...o,platform:i})};var eZ=n(47650),eJ="undefined"!=typeof document?i.useLayoutEffect:function(){};function eQ(e,t){let n,r,o;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!eQ(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!e.$$typeof)&&!eQ(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function e0(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function e1(e,t){let n=e0(e);return Math.round(t*n)/n}function e5(e){let t=i.useRef(e);return eJ(()=>{t.current=e}),t}let e2=e=>({name:"arrow",options:e,fn(t){let{element:n,padding:r}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?eY({element:n.current,padding:r}).fn(t):{}:n?eY({element:n,padding:r}).fn(t):{}}}),e3=(e,t)=>
1({...function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:o,y:i,placement:a,middlewareData:l}=t,s=await el(t,e);return a===(null==(n=l.offset)?void 0:n.placement)&&null!=(r=l.arrow)&&r.alignmentOffset?{}:{x:o+s.x,y:i+s.y,data:{...s,placement:a}}}}}(e),options:[e,t]}),e4=(e,t)=>({...function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...s}=_(e,t),c={x:n,y:r},u=await er(t,s),d=$(z(o)),f=V(d),h=c[f],p=c[d];if(i){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",n=h+u[e],r=h-u[t];h=P(n,T(h,r))}if(a){let e="y"===d?"top":"left",t="y"===d?"bottom":"right",n=p+u[e],r=p-u[t];p=P(n,T(p,r))}let m=l.fn({...t,[f]:h,[d]:p});return{...m,data:{x:m.x-n,y:m.y-r,enabled:{[f]:i,[d]:a}}}}}}(e),options:[e,t]}),e7=(e,t)=>({...function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:l=0,mainAxis:s=!0,crossAxis:c=!0}=_(e,t),u={x:n,y:r},d=$(o),f=V(d),h=u[f],p=u[d],m=_(l,t),g="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(s){let e="y"===f?"height":"width",t=i.reference[f]-i.floating[e]+g.mainAxis,n=i.reference[f]+i.reference[e]-g.mainAxis;h<t?h=t:h>n&&(h=n)}if(c){var v,y;let e="y"===f?"width":"height",t=ea.has(z(o)),n=i.reference[d]-i.floating[e]+(t&&(null==(v=a.offset)?void 0:v[d])||0)+(t?0:g.crossAxis),r=i.reference[d]+i.reference[e]+(t?0:(null==(y=a.offset)?void 0:y[d])||0)-(t?g.crossAxis:0);p<n?p=n:p>r&&(p=r)}return{[f]:h,[d]:p}}}}(e),options:[e,t]}),e6=(e,t)=>({...function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,o,i,a;let{placement:l,middlewareData:s,rects:c,initialPlacement:u,platform:d,elements:f}=t,{mainAxis:h=!0,crossAxis:p=!0,fallbackPlacements:m,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:y=!0,...b}=_(e,t);if(null!=(n=s.arrow)&&n.alignmentOffset)return{};let w=z(l),x=$(u),S=z(u)===u,C=await (null==d.isRTL?void 0:d.isRTL(f.floating)),k=m||(S||!y?[J(u)]:function(e){let t=J(e);return[U(e),t,U(t)]}(u)),j="none"!==v;!m&&j&&k.push(...function(e,t,n,r){let o=W(e),i=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?Y:X;return t?X:Y;case"left":case"right":return t?q:Z;default:return[]}}(z(e),"start"===n,r);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(U)))),i}(u,y,v,C));let A=[u,...k],E=await er(t,b),N=[],L=(null==(r=s.flip)?void 0:r.overflows)||[];if(h&&N.push(E[w]),p){let e=function(e,t,n){void 0===n&&(n=!1);let r=W(e),o=V($(e)),i=G(o),a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=J(a)),[a,J(a)]}(l,c,C);N.push(E[e[0]],E[e[1]])}if(L=[...L,{placement:l,overflows:N}],!N.every(e=>e<=0)){let e=((null==(o=s.flip)?void 0:o.index)||0)+1,t=A[e];if(t&&("alignment"!==p||x===$(t)||L.every(e=>e.overflows[0]>0&&$(e.placement)===x)))return{data:{index:e,overflows:L},reset:{placement:t}};let n=null==(i=L.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!n)switch(g){case"bestFit":{let e=null==(a=L.filter(e=>{if(j){let t=$(e.placement);return t===x||"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:a[0];e&&(n=e);break}case"initialPlacement":n=u}if(l!==n)return{reset:{placement:n}}}return{}}}}(e),options:[e,t]}),e8=(e,t)=>({...function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;let o,i,{placement:a,rects:l,platform:s,elements:c}=t,{apply:u=()=>{},...d}=_(e,t),f=await er(t,d),h=z(a),p=W(a),m="y"===$(a),{width:g,height:v}=l.floating;"top"===h||"bottom"===h?(o=h,i=p===(await (null==s.isRTL?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(i=h,o="end"===p?"top":"bottom");let y=v-f.top-f.bottom,b=g-f.left-f.right,w=T(v-f[o],y),x=T(g-f[i],b),S=!t.middlewareData.shift,C=w,k=x;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(k=b),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(C=y),S&&!p){let e=P(f.left,0),t=P(f.right,0),n=P(f.top,0),r=P(f.bottom,0);
1m?k=g-2*(0!==e||0!==t?e+t:P(f.left,f.right)):C=v-2*(0!==n||0!==r?n+r:P(f.top,f.bottom))}await u({...t,availableWidth:k,availableHeight:C});let j=await s.getDimensions(c.floating);return g!==j.width||v!==j.height?{reset:{rects:!0}}:{}}}}(e),options:[e,t]}),e9=(e,t)=>({...function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n}=t,{strategy:r="referenceHidden",...o}=_(e,t);switch(r){case"referenceHidden":{let e=eo(await er(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:ei(e)}}}case"escaped":{let e=eo(await er(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:ei(e)}}}default:return{}}}}}(e),options:[e,t]}),te=(e,t)=>({...e2(e),options:[e,t]});var tt=i.forwardRef((e,t)=>{let{children:n,width:r=10,height:o=5,...i}=e;return(0,p.jsx)(u.sG.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,p.jsx)("polygon",{points:"0,0 30,0 15,10"})})});tt.displayName="Arrow";var tn=n(52712),tr=n(11275),to="Popper",[ti,ta]=(0,s.A)(to),[tl,ts]=ti(to),tc=e=>{let{__scopePopper:t,children:n}=e,[r,o]=i.useState(null);return(0,p.jsx)(tl,{scope:t,anchor:r,onAnchorChange:o,children:n})};tc.displayName=to;var tu="PopperAnchor",td=i.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:r,...o}=e,a=ts(tu,n),s=i.useRef(null),c=(0,l.s)(t,s);return i.useEffect(()=>{a.onAnchorChange((null==r?void 0:r.current)||s.current)}),r?null:(0,p.jsx)(u.sG.div,{...o,ref:c})});td.displayName=tu;var tf="PopperContent",[th,tp]=ti(tf),tm=i.forwardRef((e,t)=>{var n,r,o,a,s,c,d,f;let{__scopePopper:m,side:g="bottom",sideOffset:v=0,align:y="center",alignOffset:b=0,arrowPadding:w=0,avoidCollisions:x=!0,collisionBoundary:S=[],collisionPadding:C=0,sticky:k="partial",hideWhenDetached:j=!1,updatePositionStrategy:A="optimized",onPlaced:E,...N}=e,L=ts(tf,m),[R,D]=i.useState(null),M=(0,l.s)(t,e=>D(e)),[I,O]=i.useState(null),B=(0,tr.X)(I),H=null!==(d=null==B?void 0:B.width)&&void 0!==d?d:0,_=null!==(f=null==B?void 0:B.height)&&void 0!==f?f:0,z="number"==typeof C?C:{top:0,right:0,bottom:0,left:0,...C},W=Array.isArray(S)?S:[S],V=W.length>0,G={padding:z,boundary:W.filter(tb),altBoundary:V},{refs:K,floatingStyles:$,placement:U,isPositioned:X,middlewareData:Y}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:a,floating:l}={},transform:s=!0,whileElementsMounted:c,open:u}=e,[d,f]=i.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,p]=i.useState(r);eQ(h,r)||p(r);let[m,g]=i.useState(null),[v,y]=i.useState(null),b=i.useCallback(e=>{e!==C.current&&(C.current=e,g(e))},[]),w=i.useCallback(e=>{e!==k.current&&(k.current=e,y(e))},[]),x=a||m,S=l||v,C=i.useRef(null),k=i.useRef(null),j=i.useRef(d),A=null!=c,E=e5(c),N=e5(o),L=e5(u),R=i.useCallback(()=>{if(!C.current||!k.current)return;let e={placement:t,strategy:n,middleware:h};N.current&&(e.platform=N.current),eq(C.current,k.current,e).then(e=>{let t={...e,isPositioned:!1!==L.current};D.current&&!eQ(j.current,t)&&(j.current=t,eZ.flushSync(()=>{f(t)}))})},[h,t,n,N,L]);eJ(()=>{!1===u&&j.current.isPositioned&&(j.current.isPositioned=!1,f(e=>({...e,isPositioned:!1})))},[u]);let D=i.useRef(!1);eJ(()=>(D.current=!0,()=>{D.current=!1}),[]),eJ(()=>{if(x&&(C.current=x),S&&(k.current=S),x&&S){if(E.current)return E.current(x,S,R);R()}},[x,S,R,E,A]);let M=i.useMemo(()=>({reference:C,floating:k,setReference:b,setFloating:w}),[b,w]),T=i.useMemo(()=>({reference:x,floating:S}),[x,S]),P=i.useMemo(()=>{let e={position:n,left:0,top:0};if(!T.floating)return e;let t=e1(T.floating,d.x),r=e1(T.floating,d.y);return s?{...e,transform:"translate("+t+"px, "+r+"px)",...e0(T.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,s,T.floating,d.x,d.y]);return i.useMemo(()=>({...d,update:R,refs:M,elements:T,floatingStyles:P}),[d,R,M,T,P])}({strategy:"fixed",placement:g+("center"!==y?"-"+y:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,t,n,r){let o;void 0===r&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:c=!1}=r,u=eP(e),d=i||a?[...u?eD(u):[],...eD(t)]:[];
1d.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)});let f=u&&s?function(e,t){let n,r=null,o=ed(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function a(l,s){void 0===l&&(l=!1),void 0===s&&(s=1),i();let c=e.getBoundingClientRect(),{left:u,top:d,width:f,height:h}=c;if(l||t(),!f||!h)return;let p=F(d),m=F(o.clientWidth-(u+f)),g={rootMargin:-p+"px "+-m+"px "+-F(o.clientHeight-(d+h))+"px "+-F(u)+"px",threshold:P(0,T(1,s))||1},v=!0;function y(t){let r=t[0].intersectionRatio;if(r!==s){if(!v)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||eX(c,e.getBoundingClientRect())||a(),v=!1}try{r=new IntersectionObserver(y,{...g,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(y,g)}r.observe(e)}(!0),i}(u,n):null,h=-1,p=null;l&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===u&&p&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var e;null==(e=p)||e.observe(t)})),n()}),u&&!c&&p.observe(u),p.observe(t));let m=c?eB(e):null;return c&&function t(){let r=eB(e);m&&!eX(m,r)&&n(),m=r,o=requestAnimationFrame(t)}(),n(),()=>{var e;d.forEach(e=>{i&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)}),null==f||f(),null==(e=p)||e.disconnect(),p=null,c&&cancelAnimationFrame(o)}}(...t,{animationFrame:"always"===A})},elements:{reference:L.anchor},middleware:[e3({mainAxis:v+_,alignmentAxis:b}),x&&e4({mainAxis:!0,crossAxis:!1,limiter:"partial"===k?e7():void 0,...G}),x&&e6({...G}),e8({...G,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:o}=e,{width:i,height:a}=n.reference,l=t.floating.style;l.setProperty("--radix-popper-available-width","".concat(r,"px")),l.setProperty("--radix-popper-available-height","".concat(o,"px")),l.setProperty("--radix-popper-anchor-width","".concat(i,"px")),l.setProperty("--radix-popper-anchor-height","".concat(a,"px"))}}),I&&te({element:I,padding:w}),tw({arrowWidth:H,arrowHeight:_}),j&&e9({strategy:"referenceHidden",...G})]}),[q,Z]=tx(U),J=h(E);(0,tn.N)(()=>{X&&(null==J||J())},[X,J]);let Q=null===(n=Y.arrow)||void 0===n?void 0:n.x,ee=null===(r=Y.arrow)||void 0===r?void 0:r.y,et=(null===(o=Y.arrow)||void 0===o?void 0:o.centerOffset)!==0,[en,er]=i.useState();return(0,tn.N)(()=>{R&&er(window.getComputedStyle(R).zIndex)},[R]),(0,p.jsx)("div",{ref:K.setFloating,"data-radix-popper-content-wrapper":"",style:{...$,transform:X?$.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:en,"--radix-popper-transform-origin":[null===(a=Y.transformOrigin)||void 0===a?void 0:a.x,null===(s=Y.transformOrigin)||void 0===s?void 0:s.y].join(" "),...(null===(c=Y.hide)||void 0===c?void 0:c.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,p.jsx)(th,{scope:m,placedSide:q,onArrowChange:O,arrowX:Q,arrowY:ee,shouldHideArrow:et,children:(0,p.jsx)(u.sG.div,{"data-side":q,"data-align":Z,...N,ref:M,style:{...N.style,animation:X?void 0:"none"}})})})});tm.displayName=tf;var tg="PopperArrow",tv={top:"bottom",right:"left",bottom:"top",left:"right"},ty=i.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=tp(tg,n),i=tv[o.placedSide];return(0,p.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,p.jsx)(tt,{...r,ref:t,style:{...r.style,display:"block"}})})});function tb(e){return null!==e}ty.displayName=tg;var tw=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;let{placement:l,rects:s,middlewareData:c}=t,u=(null===(n=c.arrow)||void 0===n?void 0:n.centerOffset)!==0,d=u?0:e.arrowWidth,f=u?0:e.arrowHeight,[h,p]=tx(l),m={start:"0%",center:"50%",end:"100%"}[p],g=(null!==(i=null===(r=c.arrow)||void 0===r?void 0:r.x)&&void 0!==i?i:0)+d/2,v=(null!==(a=null===(o=c.arrow)||void 0===o?void 0:o.y)&&void 0!==a?a:0)+f/2,y="",b="";return"bottom"===h?(y=u?m:"".concat(g,"px"),b="".concat(-f,"px")):"top"===h?(y=u?m:"".concat(g,"px"),b="".concat(s.floating.height+f,"px")):"right"===h?(y="".concat(-f,"px"),b=u?m:"".concat(v,"px")):"left"===h&&(y="".concat(s.floating.width+f,"px"),b=u?m:"".concat(v,"px")),{data:{x:y,y:b}}}});function tx(e){let[t,n="center"]=e.split("-");return[t,n]}var tS=i.forwardRef((e,t)=>
1{var n,r;let{container:o,...a}=e,[l,s]=i.useState(!1);(0,tn.N)(()=>s(!0),[]);let c=o||l&&(null===(r=globalThis)||void 0===r?void 0:null===(n=r.document)||void 0===n?void 0:n.body);return c?eZ.createPortal((0,p.jsx)(u.sG.div,{...a,ref:t}),c):null});tS.displayName="Portal";var tC=n(28905),tk="rovingFocusGroup.onEntryFocus",tj={bubbles:!1,cancelable:!0},tA="RovingFocusGroup",[tE,tN,tL]=(0,d.N)(tA),[tR,tD]=(0,s.A)(tA,[tL]),[tM,tT]=tR(tA),tP=i.forwardRef((e,t)=>(0,p.jsx)(tE.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(tE.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(tI,{...e,ref:t})})}));tP.displayName=tA;var tI=i.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:s,currentTabStopId:d,defaultCurrentTabStopId:m,onCurrentTabStopIdChange:g,onEntryFocus:v,preventScrollOnEntryFocus:y=!1,...b}=e,w=i.useRef(null),x=(0,l.s)(t,w),S=(0,f.jH)(s),[C,k]=(0,c.i)({prop:d,defaultProp:null!=m?m:null,onChange:g,caller:tA}),[j,A]=i.useState(!1),E=h(v),N=tN(n),L=i.useRef(!1),[R,D]=i.useState(0);return i.useEffect(()=>{let e=w.current;if(e)return e.addEventListener(tk,E),()=>e.removeEventListener(tk,E)},[E]),(0,p.jsx)(tM,{scope:n,orientation:r,dir:S,loop:o,currentTabStopId:C,onItemFocus:i.useCallback(e=>k(e),[k]),onItemShiftTab:i.useCallback(()=>A(!0),[]),onFocusableItemAdd:i.useCallback(()=>D(e=>e+1),[]),onFocusableItemRemove:i.useCallback(()=>D(e=>e-1),[]),children:(0,p.jsx)(u.sG.div,{tabIndex:j||0===R?-1:0,"data-orientation":r,...b,ref:x,style:{outline:"none",...e.style},onMouseDown:(0,a.m)(e.onMouseDown,()=>{L.current=!0}),onFocus:(0,a.m)(e.onFocus,e=>{let t=!L.current;if(e.target===e.currentTarget&&t&&!j){let t=new CustomEvent(tk,tj);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=N().filter(e=>e.focusable);tH([e.find(e=>e.active),e.find(e=>e.id===C),...e].filter(Boolean).map(e=>e.ref.current),y)}}L.current=!1}),onBlur:(0,a.m)(e.onBlur,()=>A(!1))})})}),tF="RovingFocusGroupItem",tO=i.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:l,children:s,...c}=e,d=(0,D.B)(),f=l||d,h=tT(tF,n),m=h.currentTabStopId===f,g=tN(n),{onFocusableItemAdd:v,onFocusableItemRemove:y,currentTabStopId:b}=h;return i.useEffect(()=>{if(r)return v(),()=>y()},[r,v,y]),(0,p.jsx)(tE.ItemSlot,{scope:n,id:f,focusable:r,active:o,children:(0,p.jsx)(u.sG.span,{tabIndex:m?0:-1,"data-orientation":h.orientation,...c,ref:t,onMouseDown:(0,a.m)(e.onMouseDown,e=>{r?h.onItemFocus(f):e.preventDefault()}),onFocus:(0,a.m)(e.onFocus,()=>h.onItemFocus(f)),onKeyDown:(0,a.m)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){h.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=function(e,t,n){var r;let o=(r=e.key,"rtl"!==n?r:"ArrowLeft"===r?"ArrowRight":"ArrowRight"===r?"ArrowLeft":r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return tB[o]}(e,h.orientation,h.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let n=g().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)n.reverse();else if("prev"===t||"next"===t){"prev"===t&&n.reverse();let r=n.indexOf(e.currentTarget);n=h.loop?function(e,t){return e.map((n,r)=>e[(t+r)%e.length])}(n,r+1):n.slice(r+1)}setTimeout(()=>tH(n))}}),children:"function"==typeof s?s({isCurrentTabStop:m,hasTabStop:null!=b}):s})})});tO.displayName=tF;var tB={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function tH(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}var t_=n(99708),tz=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},tW=new WeakMap,tV=new WeakMap,tG={},tK=0,t$=function(e){return e&&(e.host||t$(e.parentNode))},tU=function(e,t,n,r){var o=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=t$(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});tG[n]||(tG[n]=new WeakMap);var i=tG[n],a=[],l=new Set,s=new Set(o),c=function(e){!e||l.has(e)||(l.add(e),c(e.parentNode))};o.forEach(c);var u=function(e){!e||s.has(e)||Array.prototype.forEach.call(e.children,function(e){if(l.has(e))u(e);else try{var t=e.getAttribute(r),o=null!==t&&"false"!==t,s=(tW.get(e)||0)+1,c=(i.get(e)||0)+1;tW.set(e,s),i.set(e,c),a.push(e),1===s&&o&&tV.set(e,!0),1===c&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return u(t),l.clear(),tK++,function(){a.forEach(function(e){var t=tW.get(e)-1,o=i.get(e)-1;tW.set(e,t),i.set(e,o),t||(tV.has(e)||e.removeAttribute(r),tV.delete(e)),o||e.removeAttribute(n)}),--tK||(tW=new WeakMap,tW=new WeakMap,tV=new WeakMap,tG={})}},tX=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||tz(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),tU(r,o,n,"aria-hidden")):function(){return null}},tY=function(){return(tY=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function tq(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}Object.create;Object.create;var tZ=("function"==typeof SuppressedError&&SuppressedError,"right-scroll-bar-position"),tJ="width-before-scroll-bar";function tQ(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var t0="undefined"!=typeof window?i.useLayoutEffect:i.useEffect,t1=new WeakMap;function t5(e){return e}var t2=function(e){void 0===e&&(e={});var t,n,r,o,i=(t=null,void 0===n&&(n=t5),r=[],o=!1,{read:function(){if(o)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:null},useMedium:function(e){var t=n(e,o);return r.push(t),function(){r=r.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(o=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){o=!0;var t=[];if(r.length){var n=r;
1r=[],n.forEach(e),t=r}var i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),r={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),r}}}});return i.options=tY({async:!0,ssr:!1},e),i}(),t3=function(){},t4=i.forwardRef(function(e,t){var n,r,o,a,l=i.useRef(null),s=i.useState({onScrollCapture:t3,onWheelCapture:t3,onTouchMoveCapture:t3}),c=s[0],u=s[1],d=e.forwardProps,f=e.children,h=e.className,p=e.removeScrollBar,m=e.enabled,g=e.shards,v=e.sideCar,y=e.noRelative,b=e.noIsolation,w=e.inert,x=e.allowPinchZoom,S=e.as,C=e.gapMode,k=tq(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),j=(n=[l,t],r=function(e){return n.forEach(function(t){return tQ(t,e)})},(o=(0,i.useState)(function(){return{value:null,callback:r,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=r,a=o.facade,t0(function(){var e=t1.get(a);if(e){var t=new Set(e),r=new Set(n),o=a.current;t.forEach(function(e){r.has(e)||tQ(e,null)}),r.forEach(function(e){t.has(e)||tQ(e,o)})}t1.set(a,n)},[n]),a),A=tY(tY({},k),c);return i.createElement(i.Fragment,null,m&&i.createElement(v,{sideCar:t2,removeScrollBar:p,shards:g,noRelative:y,noIsolation:b,inert:w,setCallbacks:u,allowPinchZoom:!!x,lockRef:l,gapMode:C}),d?i.cloneElement(i.Children.only(f),tY(tY({},A),{ref:j})):i.createElement(void 0===S?"div":S,tY({},A,{className:h,ref:j}),f))});t4.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},t4.classNames={fullWidth:tJ,zeroRight:tZ};var t7=function(e){var t=e.sideCar,n=tq(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return i.createElement(r,tY({},n))};t7.isSideCarExport=!0;var t6=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=o||n.nc;return t&&e.setAttribute("nonce",t),e}())){var i,a;(i=t).styleSheet?i.styleSheet.cssText=r:i.appendChild(document.createTextNode(r)),a=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(a)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},t8=function(){var e=t6();return function(t,n){i.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},t9=function(){var e=t8();return function(t){return e(t.styles,t.dynamic),null}},ne={left:0,top:0,right:0,gap:0},nt=function(e){return parseInt(e||"",10)||0},nn=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[nt(n),nt(r),nt(o)]},nr=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return ne;var t=nn(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},no=t9(),ni="data-scroll-locked",na=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,l=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(l,"px ").concat(r,";\n }\n body[").concat(ni,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(l,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(l,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(tZ," {\n right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(tJ," {\n margin-right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(tZ," .").concat(tZ," {\n right: 0 ").concat(r,";\n }\n \n .").concat(tJ," .").concat(tJ," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(ni,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(l,"px;\n }\n")},nl=function(){var e=parseInt(document.body.getAttribute(ni)||"0",10);return isFinite(e)?e:0},ns=function(){i.useEffect(function(){return document.body.setAttribute(ni,(nl()+1).toString()),function(){var e=nl()-1;e<=0?document.body.removeAttribute(ni):document.body.setAttribute(ni,e.toString())}},[])},nc=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;ns();var a=i.useMemo(function(){return nr(o)}
1,[o]);return i.createElement(no,{styles:na(a,!t,o,n?"":"!important")})},nu=!1;if("undefined"!=typeof window)try{var nd=Object.defineProperty({},"passive",{get:function(){return nu=!0,!0}});window.addEventListener("test",nd,nd),window.removeEventListener("test",nd,nd)}catch(e){nu=!1}var nf=!!nu&&{passive:!1},nh=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},np=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),nm(e,r)){var o=ng(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},nm=function(e,t){return"v"===e?nh(t,"overflowY"):nh(t,"overflowX")},ng=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},nv=function(e,t,n,r,o){var i,a=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),l=a*r,s=n.target,c=t.contains(s),u=!1,d=l>0,f=0,h=0;do{if(!s)break;var p=ng(e,s),m=p[0],g=p[1]-p[2]-a*m;(m||g)&&nm(e,s)&&(f+=g,h+=m);var v=s.parentNode;s=v&&v.nodeType===Node.DOCUMENT_FRAGMENT_NODE?v.host:v}while(!c&&s!==document.body||c&&(t.contains(s)||t===s));return d&&(o&&1>Math.abs(f)||!o&&l>f)?u=!0:!d&&(o&&1>Math.abs(h)||!o&&-l>h)&&(u=!0),u},ny=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},nb=function(e){return[e.deltaX,e.deltaY]},nw=function(e){return e&&"current"in e?e.current:e},nx=0,nS=[];let nC=(t2.useMedium(function(e){var t=i.useRef([]),n=i.useRef([0,0]),r=i.useRef(),o=i.useState(nx++)[0],a=i.useState(t9)[0],l=i.useRef(e);i.useEffect(function(){l.current=e},[e]),i.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(nw),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=i.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!l.current.allowPinchZoom;var o,i=ny(e),a=n.current,s="deltaX"in e?e.deltaX:a[0]-i[0],c="deltaY"in e?e.deltaY:a[1]-i[1],u=e.target,d=Math.abs(s)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var f=np(d,u);if(!f)return!0;if(f?o=d:(o="v"===d?"h":"v",f=np(d,u)),!f)return!1;if(!r.current&&"changedTouches"in e&&(s||c)&&(r.current=o),!o)return!0;var h=r.current||o;return nv(h,t,e,"h"===h?s:c,!0)},[]),c=i.useCallback(function(e){if(nS.length&&nS[nS.length-1]===a){var n="deltaY"in e?nb(e):ny(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta)[0]===n[0]&&r[1]===n[1]})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(l.current.shards||[]).map(nw).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?s(e,o[0]):!l.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),u=i.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),d=i.useCallback(function(e){n.current=ny(e),r.current=void 0},[]),f=i.useCallback(function(t){u(t.type,nb(t),t.target,s(t,e.lockRef.current))},[]),h=i.useCallback(function(t){u(t.type,ny(t),t.target,s(t,e.lockRef.current))},[]);i.useEffect(function(){return nS.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:h}),document.addEventListener("wheel",c,nf),document.addEventListener("touchmove",c,nf),document.addEventListener("touchstart",d,nf),function(){nS=nS.filter(function(e){return e!==a}),document.removeEventListener("wheel",c,nf),document.removeEventListener("touchmove",c,nf),document.removeEventListener("touchstart",d,nf)}},[]);var p=e.removeScrollBar,m=e.inert;return i.createElement(i.Fragment,null,m?i.createElement(a,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,p?i.createElement(nc,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}),t7);var nk=i.forwardRef(function(e,t){return i.createElement(t4,tY({},e,{ref:t,sideCar:nC}))});nk.classNames=t4.classNames;var nj=["Enter"," "],nA=["ArrowUp","PageDown","End"],nE=["ArrowDown","PageUp","Home",...nA],nN={ltr:[...nj,"ArrowRight"],rtl:[...nj,"ArrowLeft"]},nL={ltr:["ArrowLeft"],rtl:["ArrowRight"]},nR="Menu",[nD,nM,nT]=(0,d.N)(nR),[nP,nI]=(0,s.A)(nR,[nT,ta,tD]),nF=ta(),nO=tD(),[nB,nH]=nP(nR),[n_,nz]=nP(nR),nW=e=>{let{__scopeMenu:t,open:n=!1,children:r,dir:o,onOpenChange:a,modal:l=!0}=e,s=nF(t),[c,u]=i.useState(null),d=i.useRef(!1),m=h(a),g=(0,f.jH)(o);return i.useEffect(()=>{let e=()=>{d.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>d.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),(0,p.jsx)(tc,{...s,children:(0,p.jsx)(nB,{scope:t,open:n,onOpenChange:m,content:c,onContentChange:u,children:(0,p.jsx)(n_,{scope:t,onClose:i.useCallback(()=>m(!1),[m]),isUsingKeyboardRef:d,dir:g,modal:l,children:r})})})};nW.displayName=nR;var nV=i.forwardRef((e,t)=>
1{let{__scopeMenu:n,...r}=e,o=nF(n);return(0,p.jsx)(td,{...o,...r,ref:t})});nV.displayName="MenuAnchor";var nG="MenuPortal",[nK,n$]=nP(nG,{forceMount:void 0}),nU=e=>{let{__scopeMenu:t,forceMount:n,children:r,container:o}=e,i=nH(nG,t);return(0,p.jsx)(nK,{scope:t,forceMount:n,children:(0,p.jsx)(tC.C,{present:n||i.open,children:(0,p.jsx)(tS,{asChild:!0,container:o,children:r})})})};nU.displayName=nG;var nX="MenuContent",[nY,nq]=nP(nX),nZ=i.forwardRef((e,t)=>{let n=n$(nX,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=nH(nX,e.__scopeMenu),a=nz(nX,e.__scopeMenu);return(0,p.jsx)(nD.Provider,{scope:e.__scopeMenu,children:(0,p.jsx)(tC.C,{present:r||i.open,children:(0,p.jsx)(nD.Slot,{scope:e.__scopeMenu,children:a.modal?(0,p.jsx)(nJ,{...o,ref:t}):(0,p.jsx)(nQ,{...o,ref:t})})})})}),nJ=i.forwardRef((e,t)=>{let n=nH(nX,e.__scopeMenu),r=i.useRef(null),o=(0,l.s)(t,r);return i.useEffect(()=>{let e=r.current;if(e)return tX(e)},[]),(0,p.jsx)(n1,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:(0,a.m)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),nQ=i.forwardRef((e,t)=>{let n=nH(nX,e.__scopeMenu);return(0,p.jsx)(n1,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),n0=(0,t_.TL)("MenuContent.ScrollLock"),n1=i.forwardRef((e,t)=>{let{__scopeMenu:n,loop:r=!1,trapFocus:o,onOpenAutoFocus:s,onCloseAutoFocus:c,disableOutsidePointerEvents:u,onEntryFocus:d,onEscapeKeyDown:f,onPointerDownOutside:h,onFocusOutside:m,onInteractOutside:g,onDismiss:y,disableOutsideScroll:b,...S}=e,C=nH(nX,n),k=nz(nX,n),A=nF(n),E=nO(n),N=nM(n),[L,R]=i.useState(null),D=i.useRef(null),M=(0,l.s)(t,D,C.onContentChange),T=i.useRef(0),P=i.useRef(""),I=i.useRef(0),F=i.useRef(null),O=i.useRef("right"),B=i.useRef(0),H=b?nk:i.Fragment,_=e=>{var t,n;let r=P.current+e,o=N().filter(e=>!e.disabled),i=document.activeElement,a=null===(t=o.find(e=>e.ref.current===i))||void 0===t?void 0:t.textValue,l=function(e,t,n){var r;let o=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=(r=Math.max(n?e.indexOf(n):-1,0),e.map((t,n)=>e[(r+n)%e.length]));1===o.length&&(i=i.filter(e=>e!==n));let a=i.find(e=>e.toLowerCase().startsWith(o.toLowerCase()));return a!==n?a:void 0}(o.map(e=>e.textValue),r,a),s=null===(n=o.find(e=>e.textValue===l))||void 0===n?void 0:n.ref.current;!function e(t){P.current=t,window.clearTimeout(T.current),""!==t&&(T.current=window.setTimeout(()=>e(""),1e3))}(r),s&&setTimeout(()=>s.focus())};i.useEffect(()=>()=>window.clearTimeout(T.current),[]),i.useEffect(()=>{var e,t;let n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:x()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:x()),w++,()=>{1===w&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),w--}},[]);let z=i.useCallback(e=>{var t,n;return O.current===(null===(t=F.current)||void 0===t?void 0:t.side)&&function(e,t){return!!t&&function(e,t){let{x:n,y:r}=e,o=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){let a=t[e],l=t[i],s=a.x,c=a.y,u=l.x,d=l.y;c>r!=d>r&&n<(u-s)*(r-c)/(d-c)+s&&(o=!o)}return o}({x:e.clientX,y:e.clientY},t)}(e,null===(n=F.current)||void 0===n?void 0:n.area)},[]);return(0,p.jsx)(nY,{scope:n,searchRef:P,onItemEnter:i.useCallback(e=>{z(e)&&e.preventDefault()},[z]),onItemLeave:i.useCallback(e=>{var t;z(e)||(null===(t=D.current)||void 0===t||t.focus(),R(null))},[z]),onTriggerLeave:i.useCallback(e=>{z(e)&&e.preventDefault()},[z]),pointerGraceTimerRef:I,onPointerGraceIntentChange:i.useCallback(e=>{F.current=e},[]),children:(0,p.jsx)(H,{...b?{as:n0,allowPinchZoom:!0}:void 0,children:(0,p.jsx)(j,{asChild:!0,trapped:o,onMountAutoFocus:(0,a.m)(s,e=>{var t;e.preventDefault(),null===(t=D.current)||void 0===t||t.focus({preventScroll:!0})}),onUnmountAutoFocus:c,children:(0,p.jsx)(v,{asChild:!0,disableOutsidePointerEvents:u,onEscapeKeyDown:f,onPointerDownOutside:h,onFocusOutside:m,onInteractOutside:g,onDismiss:y,children:(0,p.jsx)(tP,{asChild:!0,...E,dir:k.dir,orientation:"vertical",loop:r,currentTabStopId:L,onCurrentTabStopIdChange:R,onEntryFocus:(0,a.m)(d,e=>{k.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,p.jsx)(tm,{role:"menu","aria-orientation":"vertical","data-state":rb(C.open),"data-radix-menu-content":"",dir:k.dir,...A,...S,ref:M,style:{outline:"none",...S.style},onKeyDown:(0,a.m)(S.onKeyDown,e=>{let t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=1===e.ke
1y.length;t&&("Tab"===e.key&&e.preventDefault(),!n&&r&&_(e.key));let o=D.current;if(e.target!==o||!nE.includes(e.key))return;e.preventDefault();let i=N().filter(e=>!e.disabled).map(e=>e.ref.current);nA.includes(e.key)&&i.reverse(),function(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}(i)}),onBlur:(0,a.m)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(T.current),P.current="")}),onPointerMove:(0,a.m)(e.onPointerMove,rS(e=>{let t=e.target,n=B.current!==e.clientX;e.currentTarget.contains(t)&&n&&(O.current=e.clientX>B.current?"right":"left",B.current=e.clientX)}))})})})})})})});nZ.displayName=nX;var n5=i.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,p.jsx)(u.sG.div,{role:"group",...r,ref:t})});n5.displayName="MenuGroup";var n2=i.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,p.jsx)(u.sG.div,{...r,ref:t})});n2.displayName="MenuLabel";var n3="MenuItem",n4="menu.itemSelect",n7=i.forwardRef((e,t)=>{let{disabled:n=!1,onSelect:r,...o}=e,s=i.useRef(null),c=nz(n3,e.__scopeMenu),d=nq(n3,e.__scopeMenu),f=(0,l.s)(t,s),h=i.useRef(!1);return(0,p.jsx)(n6,{...o,ref:f,disabled:n,onClick:(0,a.m)(e.onClick,()=>{let e=s.current;if(!n&&e){let t=new CustomEvent(n4,{bubbles:!0,cancelable:!0});e.addEventListener(n4,e=>null==r?void 0:r(e),{once:!0}),(0,u.hO)(e,t),t.defaultPrevented?h.current=!1:c.onClose()}}),onPointerDown:t=>{var n;null===(n=e.onPointerDown)||void 0===n||n.call(e,t),h.current=!0},onPointerUp:(0,a.m)(e.onPointerUp,e=>{var t;h.current||null===(t=e.currentTarget)||void 0===t||t.click()}),onKeyDown:(0,a.m)(e.onKeyDown,e=>{let t=""!==d.searchRef.current;!n&&(!t||" "!==e.key)&&nj.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});n7.displayName=n3;var n6=i.forwardRef((e,t)=>{let{__scopeMenu:n,disabled:r=!1,textValue:o,...s}=e,c=nq(n3,n),d=nO(n),f=i.useRef(null),h=(0,l.s)(t,f),[m,g]=i.useState(!1),[v,y]=i.useState("");return i.useEffect(()=>{let e=f.current;if(e){var t;y((null!==(t=e.textContent)&&void 0!==t?t:"").trim())}},[s.children]),(0,p.jsx)(nD.ItemSlot,{scope:n,disabled:r,textValue:null!=o?o:v,children:(0,p.jsx)(tO,{asChild:!0,...d,focusable:!r,children:(0,p.jsx)(u.sG.div,{role:"menuitem","data-highlighted":m?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...s,ref:h,onPointerMove:(0,a.m)(e.onPointerMove,rS(e=>{r?c.onItemLeave(e):(c.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:(0,a.m)(e.onPointerLeave,rS(e=>c.onItemLeave(e))),onFocus:(0,a.m)(e.onFocus,()=>g(!0)),onBlur:(0,a.m)(e.onBlur,()=>g(!1))})})})}),n8=i.forwardRef((e,t)=>{let{checked:n=!1,onCheckedChange:r,...o}=e;return(0,p.jsx)(ra,{scope:e.__scopeMenu,checked:n,children:(0,p.jsx)(n7,{role:"menuitemcheckbox","aria-checked":rw(n)?"mixed":n,...o,ref:t,"data-state":rx(n),onSelect:(0,a.m)(o.onSelect,()=>null==r?void 0:r(!!rw(n)||!n),{checkForDefaultPrevented:!1})})})});n8.displayName="MenuCheckboxItem";var n9="MenuRadioGroup",[re,rt]=nP(n9,{value:void 0,onValueChange:()=>{}}),rn=i.forwardRef((e,t)=>{let{value:n,onValueChange:r,...o}=e,i=h(r);return(0,p.jsx)(re,{scope:e.__scopeMenu,value:n,onValueChange:i,children:(0,p.jsx)(n5,{...o,ref:t})})});rn.displayName=n9;var rr="MenuRadioItem",ro=i.forwardRef((e,t)=>{let{value:n,...r}=e,o=rt(rr,e.__scopeMenu),i=n===o.value;return(0,p.jsx)(ra,{scope:e.__scopeMenu,checked:i,children:(0,p.jsx)(n7,{role:"menuitemradio","aria-checked":i,...r,ref:t,"data-state":rx(i),onSelect:(0,a.m)(r.onSelect,()=>{var e;return null===(e=o.onValueChange)||void 0===e?void 0:e.call(o,n)},{checkForDefaultPrevented:!1})})})});ro.displayName=rr;var ri="MenuItemIndicator",[ra,rl]=nP(ri,{checked:!1}),rs=i.forwardRef((e,t)=>{let{__scopeMenu:n,forceMount:r,...o}=e,i=rl(ri,n);return(0,p.jsx)(tC.C,{present:r||rw(i.checked)||!0===i.checked,children:(0,p.jsx)(u.sG.span,{...o,ref:t,"data-state":rx(i.checked)})})});rs.displayName=ri;var rc=i.forwardRef((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,p.jsx)(u.sG.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});rc.displayName="MenuSeparator";var ru=i.forwardRef((e,t)=>
1{let{__scopeMenu:n,...r}=e,o=nF(n);return(0,p.jsx)(ty,{...o,...r,ref:t})});ru.displayName="MenuArrow";var rd="MenuSub",[rf,rh]=nP(rd),rp=e=>{let{__scopeMenu:t,children:n,open:r=!1,onOpenChange:o}=e,a=nH(rd,t),l=nF(t),[s,c]=i.useState(null),[u,d]=i.useState(null),f=h(o);return i.useEffect(()=>(!1===a.open&&f(!1),()=>f(!1)),[a.open,f]),(0,p.jsx)(tc,{...l,children:(0,p.jsx)(nB,{scope:t,open:r,onOpenChange:f,content:u,onContentChange:d,children:(0,p.jsx)(rf,{scope:t,contentId:(0,D.B)(),triggerId:(0,D.B)(),trigger:s,onTriggerChange:c,children:n})})})};rp.displayName=rd;var rm="MenuSubTrigger",rg=i.forwardRef((e,t)=>{let n=nH(rm,e.__scopeMenu),r=nz(rm,e.__scopeMenu),o=rh(rm,e.__scopeMenu),s=nq(rm,e.__scopeMenu),c=i.useRef(null),{pointerGraceTimerRef:u,onPointerGraceIntentChange:d}=s,f={__scopeMenu:e.__scopeMenu},h=i.useCallback(()=>{c.current&&window.clearTimeout(c.current),c.current=null},[]);return i.useEffect(()=>h,[h]),i.useEffect(()=>{let e=u.current;return()=>{window.clearTimeout(e),d(null)}},[u,d]),(0,p.jsx)(nV,{asChild:!0,...f,children:(0,p.jsx)(n6,{id:o.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":o.contentId,"data-state":rb(n.open),...e,ref:(0,l.t)(t,o.onTriggerChange),onClick:t=>{var r;null===(r=e.onClick)||void 0===r||r.call(e,t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:(0,a.m)(e.onPointerMove,rS(t=>{s.onItemEnter(t),t.defaultPrevented||e.disabled||n.open||c.current||(s.onPointerGraceIntentChange(null),c.current=window.setTimeout(()=>{n.onOpenChange(!0),h()},100))})),onPointerLeave:(0,a.m)(e.onPointerLeave,rS(e=>{var t,r;h();let o=null===(t=n.content)||void 0===t?void 0:t.getBoundingClientRect();if(o){let t=null===(r=n.content)||void 0===r?void 0:r.dataset.side,i="right"===t,a=o[i?"left":"right"],l=o[i?"right":"left"];s.onPointerGraceIntentChange({area:[{x:e.clientX+(i?-5:5),y:e.clientY},{x:a,y:o.top},{x:l,y:o.top},{x:l,y:o.bottom},{x:a,y:o.bottom}],side:t}),window.clearTimeout(u.current),u.current=window.setTimeout(()=>s.onPointerGraceIntentChange(null),300)}else{if(s.onTriggerLeave(e),e.defaultPrevented)return;s.onPointerGraceIntentChange(null)}})),onKeyDown:(0,a.m)(e.onKeyDown,t=>{let o=""!==s.searchRef.current;if(!e.disabled&&(!o||" "!==t.key)&&nN[r.dir].includes(t.key)){var i;n.onOpenChange(!0),null===(i=n.content)||void 0===i||i.focus(),t.preventDefault()}})})})});rg.displayName=rm;var rv="MenuSubContent",ry=i.forwardRef((e,t)=>{let n=n$(nX,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,s=nH(nX,e.__scopeMenu),c=nz(nX,e.__scopeMenu),u=rh(rv,e.__scopeMenu),d=i.useRef(null),f=(0,l.s)(t,d);return(0,p.jsx)(nD.Provider,{scope:e.__scopeMenu,children:(0,p.jsx)(tC.C,{present:r||s.open,children:(0,p.jsx)(nD.Slot,{scope:e.__scopeMenu,children:(0,p.jsx)(n1,{id:u.contentId,"aria-labelledby":u.triggerId,...o,ref:f,align:"start",side:"rtl"===c.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{var t;c.isUsingKeyboardRef.current&&(null===(t=d.current)||void 0===t||t.focus()),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,a.m)(e.onFocusOutside,e=>{e.target!==u.trigger&&s.onOpenChange(!1)}),onEscapeKeyDown:(0,a.m)(e.onEscapeKeyDown,e=>{c.onClose(),e.preventDefault()}),onKeyDown:(0,a.m)(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),n=nL[c.dir].includes(e.key);if(t&&n){var r;s.onOpenChange(!1),null===(r=u.trigger)||void 0===r||r.focus(),e.preventDefault()}})})})})})});function rb(e){return e?"open":"closed"}function rw(e){return"indeterminate"===e}function rx(e){return rw(e)?"indeterminate":e?"checked":"unchecked"}function rS(e){return t=>"mouse"===t.pointerType?e(t):void 0}ry.displayName=rv;var rC="DropdownMenu",[rk,rj]=(0,s.A)(rC,[nI]),rA=nI(),[rE,rN]=rk(rC),rL=e=>{let{__scopeDropdownMenu:t,children:n,dir:r,open:o,defaultOpen:a,onOpenChange:l,modal:s=!0}=e,u=rA(t),d=i.useRef(null),[f,h]=(0,c.i)({prop:o,defaultProp:null!=a&&a,onChange:l,caller:rC});return(0,p.jsx)(rE,{scope:t,triggerId:(0,D.B)(),triggerRef:d,contentId:(0,D.B)(),open:f,onOpenChange:h,onOpenToggle:i.useCallback(()=>h(e=>
1!e),[h]),modal:s,children:(0,p.jsx)(nW,{...u,open:f,onOpenChange:h,dir:r,modal:s,children:n})})};rL.displayName=rC;var rR="DropdownMenuTrigger",rD=i.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,disabled:r=!1,...o}=e,i=rN(rR,n),s=rA(n);return(0,p.jsx)(nV,{asChild:!0,...s,children:(0,p.jsx)(u.sG.button,{type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...o,ref:(0,l.t)(t,i.triggerRef),onPointerDown:(0,a.m)(e.onPointerDown,e=>{r||0!==e.button||!1!==e.ctrlKey||(i.onOpenToggle(),i.open||e.preventDefault())}),onKeyDown:(0,a.m)(e.onKeyDown,e=>{!r&&(["Enter"," "].includes(e.key)&&i.onOpenToggle(),"ArrowDown"===e.key&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});rD.displayName=rR;var rM=e=>{let{__scopeDropdownMenu:t,...n}=e,r=rA(t);return(0,p.jsx)(nU,{...r,...n})};rM.displayName="DropdownMenuPortal";var rT="DropdownMenuContent",rP=i.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=rN(rT,n),l=rA(n),s=i.useRef(!1);return(0,p.jsx)(nZ,{id:o.contentId,"aria-labelledby":o.triggerId,...l,...r,ref:t,onCloseAutoFocus:(0,a.m)(e.onCloseAutoFocus,e=>{var t;s.current||null===(t=o.triggerRef.current)||void 0===t||t.focus(),s.current=!1,e.preventDefault()}),onInteractOutside:(0,a.m)(e.onInteractOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;(!o.modal||r)&&(s.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});rP.displayName=rT;var rI=i.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=rA(n);return(0,p.jsx)(n5,{...o,...r,ref:t})});rI.displayName="DropdownMenuGroup";var rF=i.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=rA(n);return(0,p.jsx)(n2,{...o,...r,ref:t})});rF.displayName="DropdownMenuLabel";var rO=i.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=rA(n);return(0,p.jsx)(n7,{...o,...r,ref:t})});rO.displayName="DropdownMenuItem";var rB=i.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=rA(n);return(0,p.jsx)(n8,{...o,...r,ref:t})});rB.displayName="DropdownMenuCheckboxItem";var rH=i.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=rA(n);return(0,p.jsx)(rn,{...o,...r,ref:t})});rH.displayName="DropdownMenuRadioGroup";var r_=i.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=rA(n);return(0,p.jsx)(ro,{...o,...r,ref:t})});r_.displayName="DropdownMenuRadioItem";var rz=i.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=rA(n);return(0,p.jsx)(rs,{...o,...r,ref:t})});rz.displayName="DropdownMenuItemIndicator";var rW=i.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=rA(n);return(0,p.jsx)(rc,{...o,...r,ref:t})});rW.displayName="DropdownMenuSeparator",i.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=rA(n);return(0,p.jsx)(ru,{...o,...r,ref:t})}).displayName="DropdownMenuArrow";var rV=i.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=rA(n);return(0,p.jsx)(rg,{...o,...r,ref:t})});rV.displayName="DropdownMenuSubTrigger";var rG=i.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=rA(n);return(0,p.jsx)(ry,{...o,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});rG.displayName="DropdownMenuSubContent";var rK=rL,r$=rD,rU=rM,rX=rP,rY=rI,rq=rF,rZ=rO,rJ=rB,rQ=rH,r0=r_,r1=rz,r5=rW,r2=e=>{let{__scopeDropdownMenu:t,children:n,open:r,onOpenChange:o,defaultOpen:i}=e,a=rA(t),[l,s]=(0,c.i)({prop:r,defaultProp:null!=i&&i,onChange:o,caller:"DropdownMenuSub"});return(0,p.jsx)(rp,{...a,open:l,onOpenChange:s,children:n})},r3=rV,r4=rG},27136:(e,t,n)=>{"use strict";n.d(t,{N:()=>l});var r=n(24734),o=n(12115),i=n(4077);let a={banner:"banner",dialog:"dialog"};function l(){let{activeUI:e,policyBanner:{allowedActions:t,primaryActions:n,layout:l,direction:s,uiProfile:c,scrollLock:u},policyDialog:{allowedActions:d,primaryActions:f,layout:h,direction:p,uiProfile:m,scrollLock:g}
1,saveConsents:v,setActiveUI:y}=(0,i.l)(),b=(0,o.useMemo)(()=>({allowedActions:t,primaryActions:n,layout:l,direction:s,uiProfile:c,scrollLock:u}),[t,s,l,n,c,u]),w=(0,o.useMemo)(()=>({allowedActions:d,primaryActions:f,layout:h,direction:p,uiProfile:m,scrollLock:g}),[d,p,h,f,m,g]),x=(0,o.useMemo)(()=>{let o=(0,r.oo)({allowedActions:t}),i=(0,r.zU)({allowedActions:o,layout:l}),a=(0,r.FK)({allowedActions:o,layout:l}),d=(0,r.ep)(s);return{allowedActions:o,orderedActions:a,actionGroups:i,primaryActions:(0,r.K_)({orderedActions:a,primaryActions:n}),layout:l,direction:d,uiProfile:c,scrollLock:u,hasPolicyHints:(0,r.nj)(b),shouldFillActions:(0,r.Md)({uiProfile:c,actionGroups:i,direction:d}),isVisible:"banner"===e}},[e,t,s,l,n,c,u,b]),S=(0,o.useMemo)(()=>{let t=(0,r.oo)({allowedActions:d}),n=(0,r.zU)({allowedActions:t,layout:h}),o=(0,r.FK)({allowedActions:t,layout:h}),i=(0,r.ep)(p);return{allowedActions:t,orderedActions:o,actionGroups:n,primaryActions:(0,r.K_)({orderedActions:o,primaryActions:f}),layout:h,direction:i,uiProfile:m,scrollLock:g,hasPolicyHints:(0,r.nj)(w),shouldFillActions:(0,r.Md)({uiProfile:m,actionGroups:n,direction:i}),isVisible:"dialog"===e}},[e,d,p,h,f,m,g,w]),C=(0,o.useCallback)(async(e,t)=>{let n=t.uiSource??a[t.surface];switch(e){case"accept":await v("all",{uiSource:n});return;case"reject":await v("necessary",{uiSource:n});return}},[v]),k=(0,o.useCallback)((e,t)=>C(e,{surface:"banner",uiSource:t?.uiSource}),[C]),j=(0,o.useCallback)((e,t)=>C(e,{surface:"dialog",uiSource:t?.uiSource}),[C]),A=(0,o.useCallback)(async e=>{await v("custom",{uiSource:e?.uiSource??a.dialog})},[v]);return{activeUI:e,banner:x,dialog:S,openBanner:(0,o.useCallback)(e=>{y("banner",e)},[y]),openDialog:(0,o.useCallback)(()=>{y("dialog")},[y]),closeUI:(0,o.useCallback)(()=>{y("none")},[y]),performAction:C,performBannerAction:k,performDialogAction:j,saveCustomPreferences:A}}},32068:(e,t,n)=>{"use strict";n.d(t,{O:()=>s});var r=n(95155);let o={legalLink:"c15t-ui-legalLink-YVZqO"};var i=n(4077),a=n(8349),l=n(88972);function s({links:e,themeKey:t,testIdPrefix:n}){let s=function(e){let{legalLinks:t}=(0,i.l)();return null==e?null:Object.fromEntries(Object.entries(t??{}).filter(([t])=>e.includes(t)))}(e),{legalLinks:c}=(0,l.c)(),u=(0,a.I)(t,{baseClassName:o.legalLink});return s&&0!==Object.keys(s).length?(0,r.jsxs)("span",{children:[" ",Object.entries(s).map(([e,t],o,i)=>t?(0,r.jsxs)("span",{children:[(0,r.jsxs)("a",{href:t.href,target:t.target||"_blank",rel:t.rel||("_blank"===t.target?"noopener noreferrer":void 0),...u,"data-testid":n?`${n}-${String(e)}`:void 0,children:[t.label??c?.[e],o<i.length-1&&","]}),o<i.length-1&&" "]},String(e)):null)]}):null}},32810:(e,t,n)=>{"use strict";function r(e,t,n){return Math.max(e,Math.min(t,n))}n.d(t,{A:()=>d});var o=class{isRunning=!1;value=0;from=0;to=0;currentTime=0;lerp;duration;easing;onUpdate;advance(e){if(!this.isRunning)return;let t=!1;if(this.duration&&this.easing){this.currentTime+=e;let n=r(0,this.currentTime/this.duration,1),o=(t=n>=1)?1:this.easing(n);this.value=this.from+(this.to-this.from)*o}else if(this.lerp){var n,o,i;this.value=(n=this.value,o=this.to,(1-(i=1-Math.exp(-(60*this.lerp)*e)))*n+i*o),Math.round(this.value)===this.to&&(this.value=this.to,t=!0)}else this.value=this.to,t=!0;t&&this.stop(),this.onUpdate?.(this.value,t)}stop(){this.isRunning=!1}fromTo(e,t,{lerp:n,duration:r,easing:o,onStart:i,onUpdate:a}){this.from=this.value=e,this.to=t,this.lerp=n,this.duration=r,this.easing=o,this.currentTime=0,this.isRunning=!0,i?.(),this.onUpdate=a}},i=class{constructor(e,t,{autoResize:n=!0,debounce:r=250}={}){this.wrapper=e,this.content=t,n&&(this.debouncedResize=function(e,t){let n;return function(...r){let o=this;clearTimeout(n),n=setTimeout(()=>{n=void 0,e.apply(o,r)},t)}}(this.resize,r),this.wrapper instanceof Window?window.addEventListener("resize",this.debouncedResize,!1):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize()}width=0;height=0;scrollHeight=0;scrollWidth=0;debouncedResize;wrapperResizeObserver;contentResizeObserver;destroy(){this.wrapperResizeObserver?.disconnect(),this.contentResizeObserver?.disconnect(),this.wrapper===window&&this.debouncedResize&&window.removeEventListener("resize",this.debouncedResize,!1)}resize=()=>{this.onWrapperResize(),this.onContentResize()};onWrapperResize=()=>{this.wrapper instanceof Window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)};onContentResize=()=>{this.wrapper instanceof Window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)};get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},a=class{events={};emit(e,...t){let n=this.events[e]||[];for(let e=0,r=n.length;e<r;e++)n[e]?.(...t)}on(e,t){return this.events[e]?.push(t)||(this.events[e]=[t]),()=>{this.events[e]=this.events[e]?.filter(e=>t!==e)}}off(e,t){this.events[e]=this.events[e]?.filter(e=>t!==e)}destroy(){this.events={}}},l=100/6,s={passive:!1},c=class{constructor(e,t={wheelMultiplier:1,touchMultiplier:1}){this.element=e,this.options=t,window.addEventListener("resize",this.onWindowResize,!1),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,s),this.element.addEventListener("touchstart",this.onTouchStart,s),this.element.addEventListener("touchmove",this.onTouchMove,s),this.element.addEventListener("touchend",this.onTouchEnd,s)}touchStart={x:0,y:0};lastDelta={x:0,y:0};window={width:0,height:0};emitter=new a;on(e,t){return this.emitter.on(e,t)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize,!1),this.element.removeEventListener("wheel",this.onWheel,s),this.element.removeEventListener("touchstart",this.onTouchStart,s),this.element.removeEventListener("touchmove",this.onTouchMove,s),this.element.removeEventListener("touchend",this.onTouchEnd,s)}onTouchStart=e=>{let{clientX:t,clientY:n}=e.targetTouches?e.targetTouches[0]:e;this.touchStart.x=t,this.touchStart.y=n,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:e})};onTouchMove=e=>{let{clientX:t,clientY:n}=e.targetTouches?e.targetTouches[0]:e,r=-(t-this.touchStart.x)*this.options.touchMultiplier,o=-(n-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=t,this.touchStart.y=n,this.lastDelta={x:r,y:o},this.emitter.emit("scroll",{deltaX:r,deltaY:o,event:e})};onTouchEnd=e=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:e})};onWheel=e=>{let{deltaX:t,deltaY:n,deltaMode:r}=e,o=1===r?l:2===r?this.window.width:1,i=1===r?l:2===r?this.window.height:1;t*=o,n*=i,t*=this.options.wheelMultiplier,n*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:t,deltaY:n,event:e})};onWindowResize=()=>{this.window={width:window.innerWidth,height:window.innerHeight}}},u=e=>Math.min(1,1.001-Math.pow(2,-10*e)),d=class{_isScrolling=!1;_isStopped=!1;_isLocked=!1;_preventNextNativeScrollEvent=!1;_resetVelocityTimeout=null;__rafID=null;isTouching;time=0;userData={};lastVelocity=0;velocity=0;direction=0;options;targetScroll;animatedScroll;animate=new o;emitter=new a;dimensions;virtualScroll;constructor({wrapper:e=window,content:t=document.documentElement,eventsTarget:n=e,smoothWheel:r=!0,syncTouch:o=!1,syncTouchLerp:a=.075,touchInertiaMultiplier:l=35,duration:s,easing:d,lerp:f=.1,infinite:h=!1,orientation:p="vertical",gestureOrientation:m="vertical",touchMultiplier:g=1,wheelMultiplier:v=1,autoResize:y=!0,prevent:b,virtualScroll:w,overscroll:x=!0,autoRaf:S=!1,anchors:C=!1,autoToggle:k=!1,allowNestedScroll:j=!1,__experimental__naiveDimensions:A=!1}={}){window.lenisVersion="1.3.4",e&&e!==document.documentElement||(e=window),"number"==typeof s&&"function"!=typeof d?d=u:"function"==typeof d&&"number"!=typeof s&&(s=1),this.options={wrapper:e,content:t,eventsTarget:n,smoothWheel:r,syncTouch:o,syncTouchLerp:a,touchInertiaMultiplier:l,duration:s,easing:d,lerp:f,infinite:h,gestureOrientation:m,orientation:p,touchMultiplier:g,wheelMultiplier:v,autoResize:y,prevent:b,virtualScroll:w,overscroll:x,autoRaf:S,anchors:C,autoToggle:k,allowNestedScroll:j,__experimental__naiveDimensions:A},this.dimensions=new i(e,t,{autoResize:y}),this.updateClassName(),this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.addEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.anchors&&this.options.wrapper===window&&this.options.wrapper.addEventListener("click",this.onClick,!1),this.options.wrapper.addEventListener("pointerdown",this.onPointerDown,!1),this.virtualScroll=ne
1w c(n,{touchMultiplier:g,wheelMultiplier:v}),this.virtualScroll.on("scroll",this.onVirtualScroll),this.options.autoToggle&&this.rootElement.addEventListener("transitionend",this.onTransitionEnd,{passive:!0}),this.options.autoRaf&&(this.__rafID=requestAnimationFrame(this.raf))}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.removeEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown,!1),this.options.anchors&&this.options.wrapper===window&&this.options.wrapper.removeEventListener("click",this.onClick,!1),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName(),this.__rafID&&cancelAnimationFrame(this.__rafID)}on(e,t){return this.emitter.on(e,t)}off(e,t){return this.emitter.off(e,t)}onScrollEnd=e=>{e instanceof CustomEvent||"smooth"!==this.isScrolling&&!1!==this.isScrolling||e.stopPropagation()};dispatchScrollendEvent=()=>{this.options.wrapper.dispatchEvent(new CustomEvent("scrollend",{bubbles:this.options.wrapper===window,detail:{lenisScrollEnd:!0}}))};onTransitionEnd=e=>{if(e.propertyName.includes("overflow")){let e=this.isHorizontal?"overflow-x":"overflow-y";["hidden","clip"].includes(getComputedStyle(this.rootElement)[e])?this.stop():this.start()}};setScroll(e){this.isHorizontal?this.options.wrapper.scrollTo({left:e,behavior:"instant"}):this.options.wrapper.scrollTo({top:e,behavior:"instant"})}onClick=e=>{let t=e.composedPath().find(e=>e instanceof HTMLAnchorElement&&(e.getAttribute("href")?.startsWith("#")||e.getAttribute("href")?.startsWith("/#")||e.getAttribute("href")?.startsWith("./#")));if(t){let e=t.getAttribute("href");if(e){let t="object"==typeof this.options.anchors&&this.options.anchors?this.options.anchors:void 0,n=`#${e.split("#")[1]}`;["#","/#","./#","#top","/#top","./#top"].includes(e)&&(n=0),this.scrollTo(n,t)}}};onPointerDown=e=>{1===e.button&&this.reset()};onVirtualScroll=e=>{if("function"==typeof this.options.virtualScroll&&!1===this.options.virtualScroll(e))return;let{deltaX:t,deltaY:n,event:r}=e;if(this.emitter.emit("virtual-scroll",{deltaX:t,deltaY:n,event:r}),r.ctrlKey||r.lenisStopPropagation)return;let o=r.type.includes("touch"),i=r.type.includes("wheel");this.isTouching="touchstart"===r.type||"touchmove"===r.type;let a=0===t&&0===n;if(this.options.syncTouch&&o&&"touchstart"===r.type&&a&&!this.isStopped&&!this.isLocked){this.reset();return}let l="vertical"===this.options.gestureOrientation&&0===n||"horizontal"===this.options.gestureOrientation&&0===t;if(a||l)return;let s=r.composedPath();s=s.slice(0,s.indexOf(this.rootElement));let c=this.options.prevent;if(s.find(e=>e instanceof HTMLElement&&("function"==typeof c&&c?.(e)||e.hasAttribute?.("data-lenis-prevent")||o&&e.hasAttribute?.("data-lenis-prevent-touch")||i&&e.hasAttribute?.("data-lenis-prevent-wheel")||this.options.allowNestedScroll&&this.checkNestedScroll(e,{deltaX:t,deltaY:n}))))return;if(this.isStopped||this.isLocked){r.preventDefault();return}if(!(this.options.syncTouch&&o||this.options.smoothWheel&&i)){this.isScrolling="native",this.animate.stop(),r.lenisStopPropagation=!0;return}let u=n;"both"===this.options.gestureOrientation?u=Math.abs(n)>Math.abs(t)?n:t:"horizontal"===this.options.gestureOrientation&&(u=t),(!this.options.overscroll||this.options.infinite||this.options.wrapper!==window&&(this.animatedScroll>0&&this.animatedScroll<this.limit||0===this.animatedScroll&&n>0||this.animatedScroll===this.limit&&n<0))&&(r.lenisStopPropagation=!0),r.preventDefault();let d=o&&this.options.syncTouch,f=o&&"touchend"===r.type&&Math.abs(u)>5;f&&(u=this.velocity*this.options.touchInertiaMultiplier),this.scrollTo(this.targetScroll+u,{programmatic:!1,...d?{lerp:f?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}})};resize(){this.dimensions.resize(),this.animatedScroll=this.targetScroll=this.actualScroll,this.emit()}emit(){this.emitter.emit("scroll",this)}onNativeScroll=()=>{if(null!==this._resetVelocityTimeout&&(clearTimeout(this._resetVelocityTimeout),this._resetVelocityTimeout=null),this._preventNextNativeScrollEvent){this._preventNextNativeScrollEvent=!1;return}if(!1===this.isScrolling||"native"===this.isScrolling){let e=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-e,this.direction=Math.sign(this.animatedScroll-e),this.isStopped||(this.isScrolling="native"),this.emit
1(),0!==this.velocity&&(this._resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()},400))}};reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}start(){this.isStopped&&(this.reset(),this.isStopped=!1,this.emit())}stop(){this.isStopped||(this.reset(),this.isStopped=!0,this.emit())}raf=e=>{let t=e-(this.time||e);this.time=e,this.animate.advance(.001*t),this.options.autoRaf&&(this.__rafID=requestAnimationFrame(this.raf))};scrollTo(e,{offset:t=0,immediate:n=!1,lock:o=!1,duration:i=this.options.duration,easing:a=this.options.easing,lerp:l=this.options.lerp,onStart:s,onComplete:c,force:d=!1,programmatic:f=!0,userData:h}={}){if(!this.isStopped&&!this.isLocked||d){if("string"==typeof e&&["top","left","start"].includes(e))e=0;else if("string"==typeof e&&["bottom","right","end"].includes(e))e=this.limit;else{let n;if("string"==typeof e?n=document.querySelector(e):e instanceof HTMLElement&&e?.nodeType&&(n=e),n){if(this.options.wrapper!==window){let e=this.rootElement.getBoundingClientRect();t-=this.isHorizontal?e.left:e.top}let r=n.getBoundingClientRect();e=(this.isHorizontal?r.left:r.top)+this.animatedScroll}}if("number"==typeof e){if(e+=t,e=Math.round(e),this.options.infinite){if(f){this.targetScroll=this.animatedScroll=this.scroll;let t=e-this.animatedScroll;t>this.limit/2?e-=this.limit:t<-this.limit/2&&(e+=this.limit)}}else e=r(0,e,this.limit);if(e===this.targetScroll){s?.(this),c?.(this);return}if(this.userData=h??{},n){this.animatedScroll=this.targetScroll=e,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit(),c?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()});return}f||(this.targetScroll=e),"number"==typeof i&&"function"!=typeof a?a=u:"function"==typeof a&&"number"!=typeof i&&(i=1),this.animate.fromTo(this.animatedScroll,e,{duration:i,easing:a,lerp:l,onStart:()=>{o&&(this.isLocked=!0),this.isScrolling="smooth",s?.(this)},onUpdate:(e,t)=>{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=e-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=e,this.setScroll(this.scroll),f&&(this.targetScroll=e),t||this.emit(),t&&(this.reset(),this.emit(),c?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()}),this.preventNextNativeScrollEvent())}})}}}preventNextNativeScrollEvent(){this._preventNextNativeScrollEvent=!0,requestAnimationFrame(()=>{this._preventNextNativeScrollEvent=!1})}checkNestedScroll(e,{deltaX:t,deltaY:n}){let r,o,i,a,l,s,c,u,d,f,h,p,m,g,v=Date.now(),y=e._lenis??={},b=this.options.gestureOrientation;if(v-(y.time??0)>2e3){y.time=Date.now();let t=window.getComputedStyle(e);y.computedStyle=t;let n=t.overflowX,d=t.overflowY;if(r=["auto","overlay","scroll"].includes(n),o=["auto","overlay","scroll"].includes(d),y.hasOverflowX=r,y.hasOverflowY=o,!r&&!o||"vertical"===b&&!o||"horizontal"===b&&!r)return!1;l=e.scrollWidth,s=e.scrollHeight,c=e.clientWidth,u=e.clientHeight,i=l>c,a=s>u,y.isScrollableX=i,y.isScrollableY=a,y.scrollWidth=l,y.scrollHeight=s,y.clientWidth=c,y.clientHeight=u}else i=y.isScrollableX,a=y.isScrollableY,r=y.hasOverflowX,o=y.hasOverflowY,l=y.scrollWidth,s=y.scrollHeight,c=y.clientWidth,u=y.clientHeight;if(!r&&!o||!i&&!a||"vertical"===b&&(!o||!a)||"horizontal"===b&&(!r||!i)||("horizontal"===b?d="x":"vertical"===b?d="y":(0!==t&&r&&i&&(d="x"),0!==n&&o&&a&&(d="y")),!d))return!1;if("x"===d)f=e.scrollLeft,h=l-c,p=t,m=r,g=i;else{if("y"!==d)return!1;f=e.scrollTop,h=s-u,p=n,m=o,g=a}return(p>0?f<h:f>0)&&m&&g}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.__experimental__naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return"horizontal"===this.options.orientation}get actualScroll(){let e=this.options.wrapper;return this.isHorizontal?e.scrollX??e.scrollLeft:e.scrollY??e.scrollTop}get scroll(){var e;return this.options.infinite?(this.animatedScroll%(e=this.limit)+e)%e:this.animatedScroll}get progress(){return 0===this.limit?1:this.scroll/this.limit}get isScrolling(){return this._isScrolling}set isScrolling(e){this._isScrolling!==e&&(this._isScrolling=e,this.updateClassName())}get isStopped(){return this._isStopped}set isStopped(e){this._isStopped!==e&&(this._isStopped=e,this.updateClassName())}get isLocked(){return this._isLocked}set isLocked(e){this._isLocked!==e&&(this._isLocked=e,this.updateClassName())}get isSmooth(){return"smooth"===this.isScrolling}get className(){let e="lenis";return this.options.autoToggle&&(e+=" lenis-autoToggle"),this.isStopped&&(e+=" lenis-stopped"),this.isLocked&&(e+=" lenis-locked"),this.isScrolling&&(e+=" lenis-scrolling"),"smooth"===this.isScrolling&&(e+=" lenis-smooth"),e}updateClassName(){this.cleanUpClassName(),this.rootElement.className=`${this.rootElement.className} ${this.className}`.trim()}cleanUpClassName(){this.rootElement.className=this.rootElement.className.replace(/lenis(-\w+)?/g,"").trim()}}},34420:(e,t,n)=>{"use strict";n.d(t,{x:()=>S});var r=n(95155);function o(e,t,n){return Math.min(Math.max(e,t),n)}function i(e){if(!e.trim().endsWith("%"))return null;let t=Number.parseFloat(e);return Number.isFinite(t)?o(t/100,0,1):null}function a(e){let t=i(e);if(null!==t)return Math.round(255*t);let n=Number.parseFloat(e);return Number.isFinite(n)?o(n,0,255):null}function l(e){let t=e.split("/")[0]??"";return t.includes(",")?t.split(/\s*,\s*/):t.trim().split(/\s+/)}function s(e){return function(e){let t=e.trim(),n=t.startsWith("#")?t.slice(1):t;if(!/^[\da-f]{3,4}$|^[\da-f]{6}$|^[\da-f]{8}$/i.test(n))return null;let r=n.length<=4?n.slice(0,3).split("").map(e=>`${e}${e}`).join(""):n.slice(0,6);return{r:Number.parseInt(r.slice(0,2),16),g:Number.parseInt(r.slice(2,4),16),b:Number.parseInt(r.slice(4,6),16)}}(e)??function(e){let t=e.trim().match(/^rgba?\((.+)\)$/i);if(!t)return null;let n=l(t[1]??"").slice(0,3);if(3!==n.length)return null;let[r,o,i]=n.map(a);return[r,o,i].some(e=>null===e)?null:{r:r??0,g:o??0,b:i??0}}(e)??function(e){let t,n,r=e.trim().match(/^hsla?\((.+)\)$/i);if(!r)return null;let a=l(r[1]??"").slice(0,3);if(3!==a.length)return null;let s=Number.isFinite(n=Number.parseFloat(t=(a[0]??"").trim().toLowerCase()))?t.endsWith("turn")?360*n:t.endsWith("rad")?180*n/Math.PI:t.endsWith("grad")?.9*n:n:null,c=i(a[1]??""),u=i(a[2]??"");return null===s||null===c||null===u?null:function(e,t,n){let r=o(t,0,1),i=o(n,0,1);if(0===r){let e=Math.round(255*i);return{r:e,g:e,b:e}}let a=(1-Math.abs(2*i-1))*r,l=(e%360+360)%360/60,s=a*(1-Math.abs(l%2-1)),c=0,u=0,d=0;l>=0&&l<1?(c=a,u=s):l>
1=1&&l<2?(c=s,u=a):l>=2&&l<3?(u=a,d=s):l>=3&&l<4?(u=s,d=a):l>=4&&l<5?(c=s,d=a):(c=a,d=s);let f=i-a/2;return{r:Math.round((c+f)*255),g:Math.round((u+f)*255),b:Math.round((d+f)*255)}}(s,c,u)}(e)}function c(e){let t=e/255;return t<=.04045?t/12.92:((t+.055)/1.055)**2.4}function u(e){return .2126*c(e.r)+.7152*c(e.g)+.0722*c(e.b)}function d(e,t){let n=u(e),r=u(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}let f={"--c15t-primary":(e,t)=>t?.primary,"--c15t-primary-hover":(e,t)=>t?.primaryHover,"--c15t-surface":(e,t)=>t?.surface,"--c15t-surface-hover":(e,t)=>t?.surfaceHover,"--c15t-border":(e,t)=>t?.border,"--c15t-border-hover":(e,t)=>t?.borderHover,"--c15t-text":(e,t)=>t?.text,"--c15t-text-muted":(e,t)=>t?.textMuted,"--c15t-text-on-primary":(e,t)=>t?.textOnPrimary??(t?.primary?function(e,{light:t="#ffffff",dark:n="#000000"}={}){let r=s(e),o=s(t),i=s(n);return r&&o&&i&&d(i,r)>=d(o,r)?n:t}(t.primary):void 0),"--c15t-overlay":(e,t)=>t?.overlay,"--c15t-switch-track":(e,t)=>t?.switchTrack,"--c15t-switch-track-active":(e,t)=>t?.switchTrackActive,"--c15t-switch-thumb":(e,t)=>t?.switchThumb,"--c15t-font-family":e=>e.typography?.fontFamily,"--c15t-font-size-sm":e=>e.typography?.fontSize?.sm,"--c15t-font-size-base":e=>e.typography?.fontSize?.base,"--c15t-font-size-lg":e=>e.typography?.fontSize?.lg,"--c15t-font-weight-normal":e=>e.typography?.fontWeight?.normal?String(e.typography.fontWeight.normal):void 0,"--c15t-font-weight-medium":e=>e.typography?.fontWeight?.medium?String(e.typography.fontWeight.medium):void 0,"--c15t-font-weight-semibold":e=>e.typography?.fontWeight?.semibold?String(e.typography.fontWeight.semibold):void 0,"--c15t-line-height-tight":e=>e.typography?.lineHeight?.tight,"--c15t-line-height-normal":e=>e.typography?.lineHeight?.normal,"--c15t-line-height-relaxed":e=>e.typography?.lineHeight?.relaxed,"--c15t-space-xs":e=>e.spacing?.xs,"--c15t-space-sm":e=>e.spacing?.sm,"--c15t-space-md":e=>e.spacing?.md,"--c15t-space-lg":e=>e.spacing?.lg,"--c15t-space-xl":e=>e.spacing?.xl,"--c15t-radius-sm":e=>e.radius?.sm,"--c15t-radius-md":e=>e.radius?.md,"--c15t-radius-lg":e=>e.radius?.lg,"--c15t-radius-full":e=>e.radius?.full,"--c15t-shadow-sm":e=>e.shadows?.sm,"--c15t-shadow-md":e=>e.shadows?.md,"--c15t-shadow-lg":e=>e.shadows?.lg,"--c15t-duration-fast":e=>e.motion?.duration?.fast,"--c15t-duration-normal":e=>e.motion?.duration?.normal,"--c15t-duration-slow":e=>e.motion?.duration?.slow,"--c15t-easing":e=>e.motion?.easing,"--c15t-easing-out":e=>e.motion?.easingOut,"--c15t-easing-in-out":e=>e.motion?.easingInOut,"--c15t-easing-spring":e=>e.motion?.easingSpring};function h(e,t=!1){let n={},r=t?{...e.colors,...e.dark}:e.colors;for(let[t,o]of Object.entries(f)){let i=o(e,r);i&&(n[t]=i)}return n}var p=n(24734),m=n(12115),g=n(32970),v=n(83135),y=n(91871);let b={colors:{primary:"hsl(228, 100%, 60%)",primaryHover:"hsl(228, 100%, 55%)",surface:"hsl(0, 0%, 100%)",surfaceHover:"hsl(0, 0%, 98%)",border:"hsl(0, 0%, 90%)",borderHover:"hsl(0, 0%, 85%)",text:"hsl(0, 0%, 10%)",textMuted:"hsl(0, 0%, 40%)",textOnPrimary:"hsl(0, 0%, 100%)",overlay:"hsla(0, 0%, 0%, 0.5)",switchTrack:"hsl(0, 0%, 85%)",switchTrackActive:"hsl(228, 100%, 60%)",switchThumb:"hsl(0, 0%, 100%)"},dark:{primary:"hsl(228, 100%, 70%)",primaryHover:"hsl(228, 100%, 65%)",surface:"hsl(0, 0%, 7%)",surfaceHover:"hsl(0, 0%, 10%)",border:"hsl(0, 0%, 20%)",borderHover:"hsl(0, 0%, 25%)",text:"hsl(0, 0%, 93%)",textMuted:"hsl(0, 0%, 60%)",textOnPrimary:"hsl(0, 0%, 100%)",overlay:"hsla(0, 0%, 0%, 0.7)",switchTrack:"hsl(0, 0%, 25%)",switchTrackActive:"hsl(228, 100%, 70%)",switchThumb:"hsl(0, 0%, 93%)"},typography:{fontFamily:"system-ui, -apple-system, sans-serif",fontSize:{sm:"0.875rem",base:"1rem",lg:"1.125rem"},fontWeight:{normal:400,medium:500,semibold:600},lineHeight:{tight:"1.25",normal:"1.5",relaxed:"1.75"}},spacing:{xs:"0.25rem",sm:"0.5rem",md:"1rem",lg:"1.5rem",xl:"2rem"},radius:{sm:"0.25rem",md:"0.5rem",lg:"0.75rem",full:"9999px"},shadows:{sm:"0 1px 2px hsla(0, 0%, 0%, 0.05)",md:"0 4px 12px hsla(0, 0%, 0%, 0.08)",lg:"0 8px 24px hsla(0, 0%, 0%, 0.12)"},consentActions:{},motion:{duration:{fast:"80ms",normal:"150ms",slow:"200ms"},easing:"cubic-bezier(0.4, 0, 0.2, 1)",easingOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",easingInOut:"cub
1ic-bezier(0.645, 0.045, 0.355, 1)",easingSpring:"cubic-bezier(0.34, 1.56, 0.64, 1)"}},w=["onBannerFetched","onConsentSet","onConsentChanged","onError","onBeforeConsentRevocationReload"];function x(e){return{onBannerFetched:e?.onBannerFetched,onConsentSet:e?.onConsentSet,onConsentChanged:e?.onConsentChanged,onError:e?.onError,onBeforeConsentRevocationReload:e?.onBeforeConsentRevocationReload}}function S({children:e,options:t}){var n;let{consentManager:o,consentStore:i}=(0,m.useMemo)(()=>(0,p.s9)(t,{pkg:"@c15t/react",version:"2.2.0"}),[t]),[a,l]=(0,m.useState)(()=>i?i.getState():{}),s=(0,m.useRef)(!1),c=(0,m.useRef)(x(t.callbacks));(0,m.useEffect)(()=>{if(!i)return;let e=i.subscribe(l);if(!s.current){let e=i.getState();(0,m.startTransition)(()=>{l(t=>t!==e?(s.current=!0,e):(s.current=!0,t))})}return e},[i]),(0,m.useEffect)(()=>{if(!i)return;let e=i.getState().overrides??{},n=t.overrides??{};(e.country!==n.country||e.region!==n.region||e.language!==n.language||e.gpc!==n.gpc)&&i.getState().setOverrides({country:n.country,region:n.region,language:n.language,gpc:n.gpc})},[i,t.overrides?.country,t.overrides?.region,t.overrides?.language,t.overrides?.gpc]),(0,m.useEffect)(()=>{if(!i)return;let e=x(t.callbacks),n=c.current;w.some(t=>n[t]!==e[t])&&(i.setState(t=>({callbacks:{...t.callbacks,...e}})),c.current=e)},[i,t.callbacks?.onBannerFetched,t.callbacks?.onConsentSet,t.callbacks?.onConsentChanged,t.callbacks?.onError,t.callbacks?.onBeforeConsentRevocationReload]);let u=(0,m.useMemo)(()=>{let{theme:e={},noStyle:n,disableAnimation:r,trapFocus:o=!0,colorScheme:i}=t;return{theme:function e(t,n){if(!n||"object"!=typeof n)return t;let r={...t};for(let t in n)n[t]&&"object"==typeof n[t]&&!Array.isArray(n[t])?r[t]=e(r[t]||{},n[t]):r[t]=n[t];return r}(b,e),noStyle:n,disableAnimation:r,trapFocus:o,colorScheme:i}},[t]),d=(0,m.useMemo)(()=>{var e;let t,n,r,o;return t=h(e=u.theme,!1),n=h(e,!0),r=Object.entries(t).filter(([,e])=>void 0!==e).map(([e,t])=>`${e}: ${t};`).join("\n"),o=Object.entries(n).filter(([,e])=>void 0!==e).map(([e,t])=>`${e}: ${t};`).join("\n"),` 2:root, .c15t-theme-root { 3${r} 4} 5 6:root.dark, .dark .c15t-theme-root, :root.c15t-dark, .c15t-dark .c15t-theme-root { 7${o} 8} 9 10/* 11 * Utility class to disable transitions during theme switching. 12 * Apply this class to the root element before switching themes, 13 * then remove it after a short delay to prevent flash of 14 * animated content during the color scheme change. 15 * 16 * Example usage: 17 * document.documentElement.classList.add('c15t-no-transitions'); 18 * // Switch theme... 19 * requestAnimationFrame(() => { 20 * document.documentElement.classList.remove('c15t-no-transitions'); 21 * }); 22 */ 23.c15t-no-transitions, 24.c15t-no-transitions *, 25.c15t-no-transitions *::before, 26.c15t-no-transitions *::after { 27 transition: none !important; 28 animation: none !important; 29} 30 `.trim()},[u.theme]),f=t.nonce??t.store?.nonce;n=t.colorScheme,(0,m.useEffect)(()=>{if(null!==n)return(0,y.M_)(n)},[n]);let S=(0,m.useMemo)(()=>{if(!i)throw Error("Consent store must be initialized before creating context value");return{state:a,store:i,manager:o}},[a,i,o]);return(0,r.jsx)(g.d.Provider,{value:S,children:(0,r.jsxs)(v.K.Provider,{value:u,children:[d?(0,r.jsx)("style",{id:"c15t-theme",nonce:f,dangerouslySetInnerHTML:{__html:d}}):null,e]})})}},36880:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r={root:"c15t-ui-root-SIREQ",dialogVisible:"c15t-ui-dialogVisible-kshSO",dialogHidden:"c15t-ui-dialogHidden-Nkf8B",contentVisible:"c15t-ui-contentVisible-JdLax",contentHidden:"c15t-ui-contentHidden-b7Eem",container:"c15t-ui-container-kzMoS",branding:"c15t-ui-branding-cFvDg",brandingCopy:"c15t-ui-brandingCopy-VUhih",brandingText:"c15t-ui-brandingText-UTU4l",brandingBy:"c15t-ui-brandingBy-wyO_G",brandingWordmarkLabel:"c15t-ui-brandingWordmarkLabel-HiffM",brandingC15T:"c15t-ui-brandingC15T-zxnCt",brandingWordmark:"c15t-ui-brandingWordmark-Oke49",brandingC15TMark:"c15t-ui-brandingC15TMark-gG3qF",brandingInth:"c15t-ui-brandingInth-HH4jL",brandingTag:"c15t-ui-brandingTag-xHTlt",brandingTagBanner:"c15t-ui-brandingTagBanner-ruu5B",brandingTagDialog:"c15t-ui-brandingTagDialog-VHY
30im",headerWrapper:"c15t-ui-headerWrapper-unPKA",closeButton:"c15t-ui-closeButton-xUsO9",footer:"c15t-ui-footer-wtxGp",overlay:"c15t-ui-overlay-zmCXe",overlayVisible:"c15t-ui-overlayVisible-csRAE",overlayHidden:"c15t-ui-overlayHidden-zcSPn",card:"c15t-ui-card-OCFER",header:"c15t-ui-header-BhjKW",title:"c15t-ui-title-nqdol",description:"c15t-ui-description-qNkW1",content:"c15t-ui-content-lXTS6",brandingFooter:"c15t-ui-brandingFooter-HAeuI"}},38097:(e,t,n)=>{"use strict";n.d(t,{Wy:()=>g,MW:()=>v});var r=n(95155),o=n(36880),i=n(584),a=n(82696),l=n(12115),s=n(4077),c=n(92980),u=n(88972),d=n(83243),f=n(6196),h=n(74095);function p(e){return"none"===e?"none":"inth"===e||"consent"===e?"inth":"c15t"}function m({branding:e,className:t}){return"inth"===p(e)?(0,r.jsx)("span",{dir:"ltr",className:(0,d.p)(o.A.brandingWordmark,t),children:(0,r.jsx)(h.HL,{"aria-hidden":"true"})}):(0,r.jsxs)("span",{dir:"ltr",className:(0,d.p)(o.A.brandingWordmark,t),children:[(0,r.jsx)("span",{className:o.A.brandingC15TMark,children:(0,r.jsx)(h.lr,{"aria-hidden":"true"})}),(0,r.jsx)("span",{className:o.A.brandingWordmarkLabel,children:"c15t"})]})}function g({branding:e,...t}){return(0,r.jsx)("inth"===p(e)?h.b7:h.lr,{...t})}function v({hideBranding:e,variant:t="footer",themeKey:n,className:h,style:g,"data-testid":v}){let{branding:y}=(0,s.l)(),{noStyle:b,theme:w}=(0,c.D)(),{common:x}=(0,u.c)(),S=p(y),C="u">typeof window?`?ref=${window.location.hostname}`:"",k=(0,i.J)((0,l.useMemo)(()=>{let e={baseClassName:(0,d.p)(o.A.branding,"footer"!==t&&o.A.brandingTag,"dialog-tag"===t&&o.A.brandingTagDialog,"banner-tag"===t&&o.A.brandingTagBanner),className:h,style:g};return n&&w?.slots&&n in w.slots?(0,a.N)(n,w,e,b):(0,f.Z)({},e)},[h,b,g,w,n,t]));return"none"===S||e?null:(0,r.jsxs)("a",{...k,href:function(e,t=""){return"inth"===p(e)?`https://inth.com${t}`:`https://c15t.com${t}`}(y,C),"data-branding":S,"data-variant":t,"data-testid":v,children:[(0,r.jsx)("span",{className:o.A.brandingCopy,children:(0,r.jsx)("span",{className:o.A.brandingText,children:x.securedBy})}),(0,r.jsx)(m,{branding:y,className:"inth"===S?o.A.brandingInth:o.A.brandingC15T})]})}},38478:(e,t,n)=>{"use strict";n.d(t,{D:()=>o});var r=n(12115);let o=(0,r.forwardRef)(({children:e,...t},n)=>{if(!(0,r.isValidElement)(e))return null;let o=e.props,i=e.ref,a={...t,...o,className:[t.className,o.className].filter(Boolean).join(" "),style:{...t.style,...o.style},ref:function(...e){return t=>{for(let n of e){if("function"==typeof n){n(t);continue}n&&"current"in n&&(n.current=t)}}}(n,i)};for(let[e,n]of Object.entries(t))/^on[A-Z]/.test(e)&&(a[e]=function(e,t){return"function"!=typeof e?t:"function"!=typeof t?e:n=>{t(n),e(n)}}(n,o[e]));return(0,r.cloneElement)(e,a)});o.displayName="Slot"},40616:(e,t,n)=>{"use strict";n.d(t,{bt:()=>eR});var r=n(95155),o=n(36880),i=n(12115),a=n(38097),l=n(92980);let s={enter:"c15t-ui-enter-oqaf_",exit:"c15t-ui-exit-Yh5ig",widget:"c15t-ui-widget-tTKyY",card:"c15t-ui-card-UpkfF",header:"c15t-ui-header-UNVT2",title:"c15t-ui-title-VZSLD",description:"c15t-ui-description-wIwCB",content:"c15t-ui-content-vvxqv",footer:"c15t-ui-footer-vPM5F",footerSubGroup:"c15t-ui-footerSubGroup-DllFT",footerFill:"c15t-ui-footerFill-P_kQs",footerColumn:"c15t-ui-footerColumn-ezdXA",footerSubGroupFill:"c15t-ui-footerSubGroupFill-vHGHl",footerSubGroupColumn:"c15t-ui-footerSubGroupColumn-HCrX0",actionButtonFill:"c15t-ui-actionButtonFill-Ane9w",branding:"c15t-ui-branding-OBSbe",brandingLink:"c15t-ui-brandingLink-RAOti",bottomLeft:"c15t-ui-bottomLeft-MFOD6",bottomRight:"c15t-ui-bottomRight-PBeso",topLeft:"c15t-ui-topLeft-uEV5R",topRight:"c15t-ui-topRight-jj0Fj",accordionItem:"c15t-ui-accordionItem-phxAm",accordionTriggerInner:"c15t-ui-accordionTriggerInner-OxxsR",accordionList:"c15t-ui-accordionList-Ojp24",accordionTrigger:"c15t-ui-accordionTrigger-hVnri",accordionTitle:"c15t-ui-accordionTitle-oVDJ5",accordionContent:"c15t-ui-accordionContent-S6PcX",accordionArrow:"c15t-ui-accordionArrow-yFH7h",switch:"c15t-ui-switch-YnFJT"};var c=n(61821);let u=({title:e,iconPath:t})=>(0,i.forwardRef)((n,o)=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,ref:o,...n,children:[(0,r.jsx)("title",{children:e}),t]}));var d=n(4077),f=n(88972);function h(e){return e?"":void 0}let p={auxiliary:"preference-item-auxiliary",content:"preference-item-content",control:"preference-item-control",header:"preference-item-header",leading:"preference-item-leading",meta:"preference-item-meta",root:"preference-item-root",title:"preference-item-title",trigger:"preference-item-trigger"},m={contentInner:"preference-item-content-inner",contentViewport:"preference-item-content-viewport"};function g(e){return e?"open":"closed"}let v={root:"c15t-ui-root-uVKV9",trigger:"c15t-ui-trigger-KE13P",leading:"c15t-ui-leading-R7F08",header:"c15t-ui-header-OUsAl",title:"c15t-ui-title-D6JTo",meta:"c15t-ui-meta-G2S5Z",auxiliary:"c15t-ui-auxiliary-jJSI7",control:"c15t-ui-control-Dg8Bo",content:"c15t-ui-content-VkWDD",contentViewport:"c15t-ui-contentViewport-BOKhf",contentInner:"c15t-ui-contentInner-m2ifM"},y=()=>({auxiliary:e=>
30[v.auxiliary,e?.class].filter(Boolean).join(" "),content:e=>[v.content,e?.class].filter(Boolean).join(" "),contentInner:e=>[v.contentInner,e?.class].filter(Boolean).join(" "),contentViewport:e=>[v.contentViewport,e?.class].filter(Boolean).join(" "),control:e=>[v.control,e?.class].filter(Boolean).join(" "),header:e=>[v.header,e?.class].filter(Boolean).join(" "),leading:e=>[v.leading,e?.class].filter(Boolean).join(" "),meta:e=>[v.meta,e?.class].filter(Boolean).join(" "),root:e=>[v.root,e?.class].filter(Boolean).join(" "),title:e=>[v.title,e?.class].filter(Boolean).join(" "),trigger:e=>[v.trigger,e?.class].filter(Boolean).join(" ")});function b({defaultValue:e,onChange:t,value:n}){let[r,o]=(0,i.useState)(e),a=void 0!==n;return[(0,i.useMemo)(()=>a?n:r,[a,r,n]),e=>{a||o(e),t?.(e)}]}let w=(0,i.createContext)(null);function x(){let e=(0,i.useContext)(w);if(!e)throw Error("PreferenceItem components must be used within PreferenceItemRoot");return e}let S=(0,i.forwardRef)(({children:e,className:t,defaultOpen:n=!1,disabled:o,noStyle:a,onOpenChange:s,open:c,...u},d)=>{let{noStyle:f}=(0,l.D)(),m=y(),[v,x]=b({defaultValue:n,onChange:s,value:c}),S=(0,i.useId)().replace(/:/g,""),C=f||a;return(0,r.jsx)(w.Provider,{value:{contentId:`c15t-preference-item-content-${S}`,disabled:o,noStyle:C,open:v,setOpen:x,triggerId:`c15t-preference-item-trigger-${S}`},children:(0,r.jsx)("div",{ref:d,className:C?t:m.root({class:t}),"data-disabled":h(o),"data-slot":p.root,"data-state":g(v),...u,children:e})})});S.displayName="PreferenceItemRoot";let C=(0,i.forwardRef)(({children:e,className:t,noStyle:n,onClick:o,...i},a)=>{let{noStyle:s}=(0,l.D)(),c=y(),{contentId:u,disabled:d,noStyle:f,open:m,setOpen:v,triggerId:b}=x();return(0,r.jsx)("button",{ref:a,"aria-controls":u,"aria-disabled":d||void 0,"aria-expanded":m,className:f||s||n?t:c.trigger({class:t}),"data-disabled":h(d),"data-slot":p.trigger,"data-state":g(m),disabled:d,id:b,onClick:e=>{d||v(!m),o?.(e)},type:"button",...i,children:e})});function k(e,t,n){let o=(0,i.forwardRef)(({className:e,noStyle:o,...i},a)=>{let{noStyle:s}=(0,l.D)(),{noStyle:c}=x(),u=y();return(0,r.jsx)("div",{ref:a,className:c||s||o?e:u[n]({class:e}),"data-slot":t,...i})});return o.displayName=e,o}C.displayName="PreferenceItemTrigger";let j=k("PreferenceItemLeading",p.leading,"leading"),A=k("PreferenceItemHeader",p.header,"header"),E=(k("PreferenceItemMeta",p.meta,"meta"),k("PreferenceItemAuxiliary",p.auxiliary,"auxiliary"),k("PreferenceItemControl",p.control,"control")),N=(0,i.forwardRef)(({className:e,noStyle:t,...n},o)=>{let{noStyle:i}=(0,l.D)(),{noStyle:a}=x(),s=y();return(0,r.jsx)("h3",{ref:o,className:a||i||t?e:s.title({class:e}),"data-slot":p.title,...n})});N.displayName="PreferenceItemTitle";let L=(0,i.forwardRef)(({children:e,className:t,innerClassName:n,noStyle:o,...i},a)=>{let{noStyle:s}=(0,l.D)(),c=y(),{contentId:u,noStyle:d,open:f,triggerId:h}=x();return(0,r.jsx)("div",{ref:a,"aria-hidden":!f,"aria-labelledby":h,className:c.content({class:t}),"data-slot":p.content,"data-state":g(f),id:u,inert:!f,...i,children:(0,r.jsx)("div",{className:c.contentViewport(),"data-slot":m.contentViewport,children:(0,r.jsx)("div",{className:c.contentInner({class:n}),"data-slot":m.contentInner,children:e})})})});L.displayName="PreferenceItemContent";let R={root:"c15t-ui-root-Pd0rf",track:"c15t-ui-track-kWz9_","track-disabled":"c15t-ui-track-disabled-VxwND",trackDisabled:"c15t-ui-track-disabled-VxwND",thumb:"c15t-ui-thumb-mP7_o","thumb-disabled":"c15t-ui-thumb-disabled-fwQIy",thumbDisabled:"c15t-ui-thumb-disabled-fwQIy","root-small":"c15t-ui-root-small-n0CMO",rootSmall:"c15t-ui-root-small-n0CMO","track-small":"c15t-ui-track-small-Ie8K6",trackSmall:"c15t-ui-track-small-Ie8K6","thumb-small":"c15t-ui-thumb-small-uBOCk",thumbSmall:"c15t-ui-thumb-small-uBOCk"},D=({size:e="medium"}={})=>{let t={medium:void 0,small:"root-small"},n={medium:void 0,small:"thumb-small"},r={medium:void 0,small:"track-small"};return{root:n=>{let r=[R.root],o=t[e];return o&&r.push(R[o]),n?.class&&r.push(n.class),r.filter(Boolean).join(" ")},thumb:t=>{let r=[R.thumb],o=n[e];return o&&r.push(R[o]),t?.disabled&&r.push(R["thumb-disabled"]),t?.class&&r.push(t.class),r.filter(Boolean).join(" ")},track:t=>{let n=[R.track],o=r[e];return o&&n.push(R[o]),t?.disabled&&n.push(R["track-disabled"]),t?.class&&n.push(t.class),n.filter(
30Boolean).join(" ")}}},M=(0,i.forwardRef)(({checked:e,className:t,defaultChecked:n=!1,disabled:o,noStyle:i,onCheckedChange:a,onClick:l,onKeyDown:s,size:c="medium",type:u="button",...d},f)=>{let p=D({size:c}),[m,g]=b({defaultValue:n,onChange:a,value:e}),v=i?t:p.root({class:t,disabled:o}),y=i?void 0:p.thumb({disabled:o}),w=i?void 0:p.track({disabled:o}),x=m?"checked":"unchecked",S=h(o),C=()=>{o||g(!m)};return(0,r.jsx)("button",{ref:f,"aria-checked":m,className:v,"data-disabled":S,"data-slot":"switch","data-state":x,disabled:o,onClick:e=>{C(),l?.(e)},onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),C()),s?.(e)},role:"switch",type:u,...d,children:(0,r.jsx)("span",{className:w,"data-slot":"switch-track",children:(0,r.jsx)("span",{className:y,"data-slot":"switch-thumb"})})})});M.displayName="SwitchRoot";let T=(0,i.createContext)(null),P=(0,i.forwardRef)(({children:e,...t},n)=>(0,r.jsx)(c.a,{ref:n,baseClassName:s.accordionTrigger,...t,children:e})),I=({"data-testid":e,children:t,className:n,noStyle:o,onValueChange:a,style:l,type:u="multiple",value:d,...f})=>{let h=Array.isArray(d)?d:d?[d]:[],p=(0,i.useCallback)((e,t)=>{if("single"===u)return void a?.(t?e:"");let n=t?[...new Set([...h,e])]:h.filter(t=>t!==e);a?.(n)},[a,h,u]);return(0,r.jsx)(T.Provider,{value:{onToggleItem:p,openValues:h},children:(0,r.jsx)(c.a,{className:n,"data-testid":e??"consent-widget-accordion",noStyle:o,style:l,themeKey:"consentWidgetAccordion",baseClassName:s.accordionList,...f,children:t})})},F=()=>{let{selectedConsents:e,setSelectedConsent:t,getDisplayedConsents:n}=(0,d.l)(),{onToggleItem:o,openValues:a}=function(){let e=(0,i.useContext)(T);if(!e)throw Error("ConsentWidgetAccordion components must be used within ConsentWidgetAccordion");return e}(),l=(0,i.useCallback)((e,n)=>{t(e,n)},[t]);function c(e){return e.replace(/_/g," ").replace(/\b\w/g,e=>e.toUpperCase())}let{consentTypes:h}=(0,f.c)();return n().map(t=>{let n;return(0,r.jsxs)(S,{className:s.accordionItem,"data-testid":`consent-widget-accordion-item-${t.name}`,noStyle:!0,onOpenChange:e=>o(t.name,e),open:a.includes(t.name),children:[(0,r.jsxs)(P,{"data-testid":`consent-widget-accordion-trigger-${t.name}`,children:[(0,r.jsxs)(C,{className:s.accordionTriggerInner,"data-testid":`consent-widget-accordion-trigger-inner-${t.name}`,noStyle:!0,children:[(n=u({title:a.includes(t.name)?"Close":"Open",
30iconPath:a.includes(t.name)?(0,r.jsx)("path",{d:"M5 12h14"}):(0,r.jsx)("path",{d:"M5 12h14M12 5v14"})}),(0,r.jsx)(j,{className:s.accordionArrow,"data-testid":`consent-widget-accordion-arrow-${t.name}`,noStyle:!0,children:(0,r.jsx)(n,{className:s.accordionArrowIcon})})),(0,r.jsx)(A,{noStyle:!0,children:(0,r.jsx)(N,{className:s.accordionTitle,noStyle:!0,children:h[t.name]?.title??c(t.name)})})]}),(0,r.jsx)(E,{className:s.switch,noStyle:!0,children:(0,r.jsx)(M,{"aria-label":h[t.name]?.title??c(t.name),checked:e[t.name],onCheckedChange:e=>l(t.name,e),disabled:t.disabled,size:"small","data-testid":`consent-widget-switch-${t.name}`})})]}),(0,r.jsx)(L,{className:s.accordionContent,"data-testid":`consent-widget-accordion-content-${t.name}`,children:h[t.name]?.description??t.description})]},t.name)})};(0,i.forwardRef)(({className:e,...t},n)=>(0,r.jsx)(S,{ref:n,className:[s.accordionItem,e].filter(Boolean).join(" "),noStyle:!0,...t}));var O=n(93262),B=n(83135),H=n(74392);let _=({children:e,noStyle:t=!1,disableAnimation:n=!1,useProvider:o=!0,uiSource:i})=>{let{translationConfig:a}=(0,d.l)(),l=(0,H.m)(a.defaultLanguage),u=(0,O.B)(),f=i??u.uiSource??"widget",h=(0,r.jsx)(c.a,{baseClassName:s.widget,"data-testid":"consent-widget-root",themeKey:"consentWidget",dir:l,children:e});return o?(0,r.jsx)(O.n.Provider,{value:{uiSource:f},children:(0,r.jsx)(B.A.Provider,{value:{disableAnimation:n,noStyle:t},children:h})}):(0,r.jsx)(O.n.Provider,{value:{uiSource:f},children:h})};var z=n(27136),W=n(42265),V=n(48719);let G=(0,i.forwardRef)(({children:e,...t},n)=>{let{common:o}=(0,f.c)();return(0,r.jsx)(V.Z,{ref:n,size:"small",action:"accept-consent",consentAction:"accept",...t,themeKey:"buttonSecondary","data-testid":"consent-widget-footer-accept-button",closeConsentBanner:!0,closeConsentDialog:!0,children:e??o.acceptAll})}),K=((0,i.forwardRef)(({children:e,...t},n)=>{let{common:o}=(0,f.c)();return(0,r.jsx)(V.Z,{ref:n,action:"open-consent-dialog",consentAction:"customize",...t,themeKey:"buttonSecondary","data-testid":"consent-widget-footer-customize-button",children:e??o.customize})}),(0,i.forwardRef)(({children:e,...t},n)=>{let{common:o}=(0,f.c)();return(0,r.jsx)(V.Z,{ref:n,action:"custom-consent",consentAction:"customize",closeConsentDialog:!0,...t,themeKey:"buttonPrimary","data-testid":"consent-widget-footer-save-button",children:e??o.save})})),$=(0,i.forwardRef)(({children:e,...t},n)=>{let{common:o}=(0,f.c)();return(0,r.jsx)(V.Z,{ref:n,size:"small",action:"reject-consent",consentAction:"reject",...t,themeKey:"buttonSecondary","data-testid":"consent-widget-reject-button",closeConsentBanner:!0,closeConsentDialog:!0,children:e??o.rejectAll})}),U=(0,i.forwardRef)(({children:e,...t},n)=>(0,r.jsx)(c.a,{ref:n,baseClassName:s.footer,"data-testid":"consent-widget-footer",...t,themeKey:"consentWidgetFooter",children:e})),X=(0,i.forwardRef)(({children:e,...t},n)=>(0,r.jsx)(c.a,{ref:n,baseClassName:s.footerSubGroup,"data-testid":"consent-widget-footer-sub-group",...t,themeKey:"consentWidgetFooterSubGroup",children:e}));function Y(e,t){let{key:n,consentAction:o,...i}=t;switch(e){case"accept":return(0,r.jsx)(G,{consentAction:o,"data-testid":"consent-widget-footer-accept-button",...i},n);case"reject":return(0,r.jsx)($,{consentAction:o,"data-testid":"consent-widget-reject-button",...i},n);case"customize":return(0,r.jsx)(K,{consentAction:o,"data-testid":"consent-widget-footer-save-button",...i},n);default:throw Error(`Unhandled consent widget action: ${e}`)}}function q({renderAction:e}){let{dialog:t}=(0,z.N)();return(0,r.jsx)(W.d,{state:t,Footer:U,FooterSubGroup:X,classNames:{footerFill:s.footerFill,footerColumn:s.footerColumn,footerSubGroupFill:s.footerSubGroupFill,footerSubGroupColumn:s.footerSubGroupColumn},renderAction:e,renderDefaultAction:Y})}let Z=({hideBranding:e,noStyle:t,disableAnimation:n,scrollLock:o,trapFocus:s,...c})=>{let[u,d]=(0,i.useState)(""),f=(0,l.D)();return(0,r.jsxs)(_,{...{noStyle:t??f.noStyle,disableAnimation:n??f.disableAnimation,scrollLock:o??f.scrollLock,trapFocus:s??f.trapFocus,...c},children:[(0,r.jsx)(I,{type:"single",value:u,onValueChange:e=>{d(Array.isArray(e)?e[0]??"":e??"")},children:(0,r.jsx)(F,{})}),(0,r.jsx)(q,{}),(0,r.jsx)(a.MW,{hideBranding:e??!0,variant:"dialog-tag",themeKey:"consentWidgetTag","data-testid":"consent-widget-branding"})]})};var J=n(32068),Q=n(83243);let ee=(0,i.forwardRef)(({children:e,...t},n)=>(0,r.jsx)(c.a,{ref:n,baseClassName:o.A.card,...t,themeKey:"consentDialogCard","data-testid":"consent-dialog-card",children:e})),et=(0,i.forwardRef)(({children:e,...t},n)=>(0,r.jsx)(c.a,{ref:n,baseClassName:o.A.header,...t,themeKey:"consentDialogHeader","data-testid":"consent-dialog-header",children:e})),en=(0,i.forwardRef)(({children:e,...t},n)=>{let{consentManagerDialog:i}=(0,f.c)();return(0,r.jsx)(c.a,{ref:n,baseClassName:o.A.title,themeKey:"consentDialogTitle",...t,id:"c
30onsent-dialog-title","data-testid":"consent-dialog-title",children:e??i.title})}),er=(0,i.forwardRef)(({children:e,legalLinks:t,asChild:n,...i},a)=>{let{consentManagerDialog:l}=(0,f.c)();return n?(0,r.jsx)(c.a,{ref:a,baseClassName:o.A.description,themeKey:"consentDialogDescription",asChild:n,...i,children:e??l.description}):(0,r.jsxs)(c.a,{ref:a,baseClassName:o.A.description,themeKey:"consentDialogDescription",asChild:n,...i,"data-testid":"consent-dialog-description",children:[e??l.description,(0,r.jsx)(J.O,{links:t,themeKey:"consentDialogContent",testIdPrefix:"consent-dialog-legal-link"})]})}),eo=(0,i.forwardRef)(({children:e,...t},n)=>(0,r.jsx)(c.a,{ref:n,baseClassName:o.A.content,themeKey:"consentDialogContent","data-testid":"consent-dialog-content",...t,children:e})),ei=(0,i.forwardRef)(({children:e,themeKey:t,hideBranding:n,"data-testid":i,...a},l)=>(0,r.jsx)(c.a,{ref:l,baseClassName:(0,Q.p)(o.A.footer,null==e&&!n&&o.A.brandingFooter),"data-testid":i??"consent-dialog-footer",...a,themeKey:t??"consentDialogFooter",children:e??(0,r.jsx)(ea,{hideBranding:n??!1,variant:"dialog-tag",themeKey:"consentDialogTag","data-testid":"consent-dialog-branding"})}));function ea(e){return(0,r.jsx)(a.MW,{...e})}let el=({noStyle:e,legalLinks:t,hideBranding:n})=>(0,r.jsxs)(ee,{children:[(0,r.jsxs)(et,{children:[(0,r.jsx)(en,{}),(0,r.jsx)(er,{legalLinks:t})]}),(0,r.jsx)(eo,{children:(0,r.jsx)(Z,{hideBranding:!0,noStyle:e,useProvider:!0})}),(0,r.jsx)(ea,{hideBranding:n??!1,variant:"dialog-tag",themeKey:"consentDialogTag","data-testid":"consent-dialog-branding"})]});var es=n(8349);let ec=(0,i.forwardRef)(({className:e,noStyle:t,style:n,...a},s)=>{let c,u,f,{activeUI:h}=(0,d.l)(),{disableAnimation:p,noStyle:m}=(0,l.D)(),g="dialog"===h,[v,y]=(0,i.useState)(!1);(0,i.useEffect)(()=>{if(g)y(!0);else if(p)y(!1);else{let e=setTimeout(()=>{y(!1)},Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue("--consent-dialog-animation-duration")||"200",10));return()=>clearTimeout(e)}},[g,p]),"string"==typeof n?c=n:n&&"className"in n&&(c=n.className);let b=(0,Q.p)(c,e);"object"==typeof n&&null!==n&&(u="style"in n||"className"in n?n.style:n);let w=(0,es.I)("consentDialogOverlay",{baseClassName:!(m||t)&&o.A.overlay,className:b,noStyle:m||t});f=m||t||p?void 0:v?o.A.overlayVisible:o.A.overlayHidden;let x=(0,Q.p)(w.className,f);return(0,r.jsx)("div",{ref:s,...a,role:"presentation","aria-hidden":"true",style:{...w.style,...u},className:x,"data-testid":"consent-dialog-overlay"})});ec.displayName="ConsentDialogOverlay";var eu=n(584),ed=n(47650),ef=n(8987),eh=n(5778);let ep=({children:e,open:t,models:n=["opt-in","opt-out"],noStyle:a,disableAnimation:s,scrollLock:c,trapFocus:u=!0,overlay:f,uiSource:h,className:p,style:m,...g})=>{let v=(0,l.D)(),y=s??v.disableAnimation??!1,b=a??v.noStyle??!1,{activeUI:w,translationConfig:x,model:S,policyDialog:C}=(0,d.l)(),k=c??C.scrollLock??!0,j=u??v.trapFocus??!0,A=(0,H.m)(x.defaultLanguage),E=n.includes(S)&&(t??"dialog"===w),[N,L]=(0,i.useState)(!1),R=(0,i.useRef)(null),D=(0,i.useRef)(null),[M,T]=(0,i.useState)(!1);(0,i.useEffect)(()=>{T(!0)},[]);let P=v.theme?.motion?.duration?.normal;(0,i.useEffect)(()=>{if(E)L(!0);else if(y)L(!1);else{let e=setTimeout(()=>L(!1),Number.parseInt((P||"200ms").replace("ms",""),10));return()=>clearTimeout(e)}},[E,y,P]),(0,ef.r)(E&&j,R),(0,eh.K)(E&&k);let I=(0,es.I)("consentDialog",{baseClassName:void 0,className:(0,Q.p)(o.A.root,!y&&(N?o.A.dialogVisible:o.A.dialogHidden),p),style:m,noStyle:b}),F=(0,eu.J)(I),_={disableAnimation:y,noStyle:b,scrollLock:k,trapFocus:j,theme:v.theme},z=(0,r.jsx)(O.n.Provider,{value:{uiSource:h??"dialog"},children:(0,r.jsx)(B.A.Provider,{value:_,children:E&&(0,r.jsxs)(r.Fragment,{children:[!1===f?null:f??(0,r.jsx)(ec,{}),(0,r.jsx)("dialog",{ref:R,...g,...F,className:I.className,"aria-labelledby":"consent-dialog-title",tabIndex:-1,dir:A,"data-testid":"consent-dialog-root",open:!0,children:(0,r.jsx)("div",{ref:D,className:b?void 0:(0,Q.p)(o.A.container,y?void 0:N?o.A.contentVisible:o.A.contentHidden),children:e})})]})})});return M?(0,ed.createPortal)(z,document.body):null},em={trigger:"c15t-ui-trigger-BryZ5",dragging:"c15t-ui-dragging-HLEr2",sm:"c15t-ui-sm-meEur",md:"c15t-ui-md-lnKl5",lg:"c15t-ui-lg-vVljq",icon:"c15t-ui-icon-QeBf0",text:"c15t-ui-text-Q2Rdp",bottomRight:"c15t-ui-bottomRight-uY0Me",bottomLeft:"c15t-ui-bottomLeft-w0x9m",topRight:"c15t-ui-topRight-yHVfA",topLeft:"c15t-ui-topLeft-wGrIZ",snapping:"c15t-ui-snapping-dPWx_"},eg={storageKey:"c15t-trigger-position"};function ev(){return{isDragging:!1,startX:0,startY:0,currentX:0,currentY:0}}let ey=(0,i.createContext)(null);function eb(){let e=(0,i.useContext)(ey);if(!e)throw Error("ConsentDialogTrigger components must be used within a ConsentDialogTrigger.Root");return e}function ew({children:e,defaultPosition:t="bottom-right",persistPosition:n=!0,showWhen:o="after-consent",onPositionChange:a,onClick:l}){let{branding:s}=(0,d.l)(),{isVisible:c,openDialog:u}=function(e={}){let{showWhen:t="after-consent",onClick:n}
30=e,{activeUI:r,hasConsented:o,setActiveUI:a}=(0,d.l)();return{isVisible:(0,i.useMemo)(()=>"never"!==t&&("after-consent"!==t||o()),[o,t])&&"none"===r,openDialog:(0,i.useCallback)(()=>{n?.(),a("dialog")},[n,a])}}({showWhen:o,onClick:l}),{corner:f,isDragging:h,isSnapping:p,wasDragged:m,handlers:g,dragStyle:v}=function(e={}){let{defaultPosition:t="bottom-right",persistPosition:n=!0,onPositionChange:r}=e,[o,a]=(0,i.useState)(()=>{if(n&&"u">typeof window){let e=function(e=eg.storageKey){try{if("u">typeof localStorage){let t=localStorage.getItem(e);if("bottom-right"===t||"top-right"===t||"bottom-left"===t||"top-left"===t)return t}}catch{}return null}();if(e)return e}return t}),[l,s]=(0,i.useState)(ev),[c,u]=(0,i.useState)(!1),d=(0,i.useRef)(!1),f=(0,i.useRef)(null),h=(0,i.useRef)(0),p=(0,i.useCallback)(e=>{a(e),n&&function(e,t=eg.storageKey){try{"u">typeof localStorage&&localStorage.setItem(t,e)}catch{}}(e),r?.(e)},[n,r]),m=(0,i.useCallback)(e=>{0===e.button&&(e.target.setPointerCapture(e.pointerId),f.current=e.target,d.current=!1,h.current=Date.now(),s({isDragging:!0,startX:e.clientX,startY:e.clientY,currentX:e.clientX,currentY:e.clientY}),u(!1))},[]),g=(0,i.useCallback)(e=>{s(t=>{if(!t.isDragging)return t;let n=Math.abs(e.clientX-t.startX),r=Math.abs(e.clientY-t.startY);return(n>5||r>5)&&(d.current=!0),{...t,currentX:e.clientX,currentY:e.clientY}})},[]),v=(0,i.useCallback)(e=>{f.current&&f.current.releasePointerCapture(e.pointerId),s(t=>{if(!t.isDragging)return t;if(d.current){let n=e.clientX-t.startX,r=e.clientY-t.startY,i=Date.now()-h.current,a=function(e,t,n,r={}){let{threshold:o=30,velocityX:i=0,velocityY:a=0}=r,l=Math.abs(t),s=Math.abs(n),c=Math.abs(i),u=Math.abs(a),d=l>=o||c>=.15&&l>=10,f=s>=o||u>=.15&&s>=10;if(!d&&!f)return e;let h=e.includes("bottom"),p=e.includes("right"),m=h,g=p;return(d&&(g=t>0),f&&(m=n>0),m&&g)?"bottom-right":m&&!g?"bottom-left":!m&&g?"top-right":"top-left"}(o,n,r,{velocityX:i>0?n/i:0,velocityY:i>0?r/i:0});a!==o&&(u(!0),setTimeout(()=>u(!1),300),p(a))}return ev()})},[o,p]),y=(0,i.useCallback)(e=>{f.current&&f.current.releasePointerCapture(e.pointerId),s(ev())},[]),b=l.isDragging?{transform:`translate(${l.currentX-l.startX}px, ${l.currentY-l.startY}px)`,transition:"none"}:{},w=(0,i.useCallback)(()=>d.current,[]);return{corner:o,isDragging:l.isDragging,isSnapping:c,wasDragged:w,handlers:{onPointerDown:m,onPointerMove:g,onPointerUp:v,onPointerCancel:y},dragStyle:b}}({defaultPosition:t,persistPosition:n,onPositionChange:a}),[y,b]=(0,i.useState)(!1);return((0,i.useEffect)(()=>(b(!0),()=>b(!1)),[]),y&&c)?(0,ed.createPortal)((0,r.jsx)(ey.Provider,{value:{corner:f,isDragging:h,isSnapping:p,wasDragged:m,handlers:g,dragStyle:v,branding:s,openDialog:u,isVisible:c},children:e}),document.body):null}ew.displayName="ConsentDialogTrigger.Root";let ex={"bottom-right":em.bottomRight,"bottom-left":em.bottomLeft,"top-right":em.topRight,"top-left":em.topLeft},eS={sm:em.sm,md:em.md,lg:em.lg},eC=(0,i.forwardRef)(({children:e,size:t="md",ariaLabel:n="Open privacy settings",className:o,noStyle:i=!1},a)=>{let{corner:l,isDragging:s,isSnapping:c,wasDragged:u,handlers:d,dragStyle:f,openDialog:h}=eb();return(0,r.jsx)("button",{ref:a,type:"button",className:i?o:[em.trigger,ex[l],eS[t],s&&em.dragging,c&&em.snapping,o].filter(Boolean).join(" "),"data-c15t-trigger":"true","aria-label":n,onClick:e=>{0!==e.detail&&u()||h()},style:f,...d,children:e})});eC.displayName="ConsentDialogTrigger.Button";var ek=n(74095);function ej({icon:e="branding",className:t,noStyle:n=!1}){let o,{branding:l}=eb(),s=n?t:[em.icon,t].filter(Boolean).join(" ");if((0,i.isValidElement)(e))return(0,r.jsx)("span",{className:s,children:e});switch(e){case"fingerprint":o=(0,r.jsx)(ek.Ey,{});break;case"settings":o=(0,r.jsx)(ek.Ze,{});break;default:o=(0,r.jsx)(a.Wy,{branding:l})}return(0,r.jsx)("span",{className:s,children:o})}function eA({children:e,className:t,noStyle:n=!1}){return(0,r.jsx)("span",{className:n?t:[em.text,t].filter(Boolean).join(" "),children:e})}function eE({icon:e="branding",defaultPosition:t="bottom-right",persistPosition:n=!0,ariaLabel:o="Open privacy settings",showWhen:i="always",size:a="md",className:l,noStyle:s=!1,onClick:c,onPositionChange:u}){return(0,r.jsx)(ew,{defaultPosition:t,persistPosition:n,showWhen:i,onClick:c,onPositionChange:u,children:(0,r.jsx)(eC,{size:a,ariaLabel:o,className:l,noStyle:s,children:(0,r.jsx)(ej,{icon:e,noStyle:s})})})}ej.displayName="ConsentDialogTrigger.Icon",eA.displayName="ConsentDialogTrigger.Text",eE.displayName="ConsentDialogTrigger";let eN=Object.assign(eE,{Root:ew,Button:eC,Icon:ej,Text:eA});var eL=n(80592);let eR=Object.assign(({open:e,noStyle:t,disableAnimation:n,scrollLock:o,trapFocus:i=!0,hideBranding:a,legalLinks:l,showTrigger:s=!1,models:c,uiSource:u})=>{let{activeUI:f,policyDialog:h}=(0,d.l)(),p={open:e??"dialog"===f,...(0,eL.T)({noStyle:t,disableAnimation:n,scrollLock:o??h.scrollLock??!0,trapFocus:i}),models:c,uiSource:u},m=!0===s?{}:!1===s?null:s;return(0,r.jsxs)(r.Fragment,{children:[m&&(0,r.jsx)(eN,{...m}),(0,r.jsx)(ep,{...p,children:(0,r.jsx)(el,{noStyle:p.noStyle,legalLinks:l,hideBranding:a})})]})},{Card:ee,Header:et,HeaderTitle:en,HeaderDescription:er,Content:eo,Footer:ei,ConsentCustomizationCard:el,ConsentDialogFooter:ei,ConsentDialogHeader:et,ConsentDialogHeaderTitle:en,ConsentDialogHeaderDescription:er,ConsentDialogContent:eo,Overlay:ec,Root:ep})},42265:(e,t,n)=>{"use strict";n.d(t,{d:()=>a});var r=n(95155),o=n(12115),i=n(83243);function a({state:e,Footer:t,FooterSubGroup:n,classNames:a,renderDefaultAction:l,renderAction:s}){let c=e.shouldFillActions,u="column"===e.direction,d=c?{width:"100%",flex:1}:void 0;return(0,r.jsx)(t,{className:(0,i.p)(c&&a.footerFill,u&&a.footerColumn),children:e.actionGroups.map((t,f)=>(0,r.jsx)(n,{className:(0,i.p)(c&&a.footerSubGroupFill,u&&a.footerSubGroupColumn),children:t.map(t=>{let n=`action-${t}`,i={key:n,consentAction:t,isPrimary:e.primaryActions.includes(t),style:d};return(0,r.jsx)(o.Fragment,{children:s?.(t,i)??l(t,i)},n)})},`group-${t.join("-")||f}`))})}},48719:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var r=n(95155),o=n(12115),i=n(93262),a=n(4077),l=n(8349),s=n(92980),c=n(38478);let u={button:"c15t-ui-button-Lo5cc","button-medium":"c15t-ui-button-medium-zdZk5",buttonMedium:"
30c15t-ui-button-medium-zdZk5","button-small":"c15t-ui-button-small-nclev",buttonSmall:"c15t-ui-button-small-nclev","button-xsmall":"c15t-ui-button-xsmall-xj0Fq",buttonXsmall:"c15t-ui-button-xsmall-xj0Fq","button-xxsmall":"c15t-ui-button-xxsmall-qDcpO",buttonXxsmall:"c15t-ui-button-xxsmall-qDcpO","button-primary-filled":"c15t-ui-button-primary-filled-u895k",buttonPrimaryFilled:"c15t-ui-button-primary-filled-u895k","button-primary-stroke":"c15t-ui-button-primary-stroke-rMkBn",buttonPrimaryStroke:"c15t-ui-button-primary-stroke-rMkBn","button-primary-lighter":"c15t-ui-button-primary-lighter-pa1_G",buttonPrimaryLighter:"c15t-ui-button-primary-lighter-pa1_G","button-primary-ghost":"c15t-ui-button-primary-ghost-gUXbr",buttonPrimaryGhost:"c15t-ui-button-primary-ghost-gUXbr","button-neutral-filled":"c15t-ui-button-neutral-filled-iBUdt",buttonNeutralFilled:"c15t-ui-button-neutral-filled-iBUdt","button-neutral-stroke":"c15t-ui-button-neutral-stroke-FNAAx",buttonNeutralStroke:"c15t-ui-button-neutral-stroke-FNAAx","button-neutral-lighter":"c15t-ui-button-neutral-lighter-CHsDA",buttonNeutralLighter:"c15t-ui-button-neutral-lighter-CHsDA","button-neutral-ghost":"c15t-ui-button-neutral-ghost-a6Cdw",buttonNeutralGhost:"c15t-ui-button-neutral-ghost-a6Cdw","button-icon":"c15t-ui-button-icon-JD5sB",buttonIcon:"c15t-ui-button-icon-JD5sB"},d=({variant:e="primary",mode:t="filled",size:n="medium"}={})=>{let r=[u.button,u[`button-${n}`]];r.push(u[({"primary-filled":"button-primary-filled","primary-stroke":"button-primary-stroke","primary-lighter":"button-primary-lighter","primary-ghost":"button-primary-ghost","neutral-filled":"button-neutral-filled","neutral-stroke":"button-neutral-stroke","neutral-lighter":"button-neutral-lighter","neutral-ghost":"button-neutral-ghost"})[`${e}-${t}`]]);let o=[u["button-icon"]];return{root:e=>[...r,e?.class].filter(Boolean).join(" "),icon:e=>[...o,e?.class].filter(Boolean).join(" ")}},f=["primary","secondary","neutral","consentAction","isPrimary"],h=(0,o.forwardRef)(({asChild:e,className:t,style:n,noStyle:u,action:h,themeKey:p,baseClassName:m,variant:g,mode:v,size:y="small",consentAction:b,isPrimary:w,onClick:x,closeConsentBanner:S=!1,closeConsentDialog:C=!1,category:k,...j},A)=>{let{saveConsents:E,setActiveUI:N,setConsent:L}=(0,a.l)(),{uiSource:R}=(0,i.B)(),{noStyle:D,theme:M}=(0,s.D)(),T=function(e){if(e.variant||e.mode)return{variant:e.variant??"neutral",mode:e.mode??"stroke"};let t=e.fallback??(e.isPrimary?{variant:"primary",mode:"stroke"}:{variant:"neutral",mode:"stroke"}),n=e.theme?.consentActions?.default??{},r=e.isPrimary?e.theme?.consentActions?.primary??{}:{},o=e.consentAction?e.theme?.consentActions?.[e.consentAction]:void 0;return{variant:o?.variant??r.variant??n.variant??t.variant,mode:o?.mode??r.mode??n.mode??t.mode}}({consentAction:b,isPrimary:w,theme:M,variant:g,mode:v}),P="primary"===T.variant?"buttonPrimary":"buttonSecondary",{noStyle:I,...F}=(0,l.I)(p??P,{baseClassName:[!(D||u)&&d({variant:T.variant,mode:T.mode,size:y}).root()],style:{...n},className:t,noStyle:D||u});if(!k&&"set-consent"===h)throw Error("Category is required for set-consent action");let O=(0,o.useCallback)(e=>{if((S||C)&&N("none"),"open-consent-dialog"===h&&N("dialog"),x&&x(e),"open-consent-dialog"!==h){let e=R?{uiSource:R}:void 0;switch(h){case"accept-consent":E("all",e);break;case"reject-consent":E("necessary",e);break;case"custom-consent":E("custom",e);break;case"set-consent":if(!k)throw Error("Category is required for set-consent action");L(k,!0)}}},[S,C,x,E,N,h,k,L,R]),B=Object.fromEntries(Object.entries(j).filter(([e])=>!f.includes(e)));return(0,r.jsx)(e?c.D:"button",{ref:A,type:e?void 0:"button",...F,onClick:O,...B})});h.displayName="ConsentButton"},54416:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(19946).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},57536:(e,t,n)=>{"use strict";n.d(t,{T:()=>y});let r="c15t.vendor-manifest",o="c15t.runtime-value",i=/^\{\{([A-Za-z0-9_]+)\}\}$/,a=/\{\{([A-Za-z0-9_]+)\}\}/g;function l(e,t){if(!(t in e))throw Error(`Missing manifest interpolation value for '${t}'.`);let n=e[t];if("function"==typeof n)throw Error(`Manifest interpolation value for '${t}' must be serializable.`);return n}function s(e,t){if("string"==typeof e){let n=e.match(i);return n?l(t,n[1]):e.replace(a,(e,n)=>{var r=l(t,n);if(void 0===r)throw Error(`Missing manifest interpolation value for '${n}'.`);return"string"==typeof r?r:null===r?"null":"object"==typeof r?JSON.stringify(r):String(r)})}if(Array.isArray(e))return e.map(e=>s(e,t));if(null!==e&&"object"==typeof e){let n={};for(let[r,o]of Object.entries(e)){let e=s(o,t);void 0!==e&&(n[r]=e)}return n}return e}function c(e,t){return e?e.map(e=>s(e,t)):[]}var u=n(24734);function d(e){return null===e||"object"!=typeof e||Array.isArray(e)||e.kind!==o||"date"!==e.value&&"timestamp"!==e.value?e instanceof Date?new Date(e):Array.isArray(e)?e.map(e=>d(e)):null!==e&&"object"==typeof e?Object.fromEntries(Object.entries(e).map(([e,t])=>[e,d(t)])):e:"date"===e.value?new Date:Date.now()}function f(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}function h(e,t,n){if("global"in t&&"string"==typeof t.global){let n=e[t.global];return Array.isArray(n)?n:void 0}if(!n)return;let r=n[t.property];return Array.isArray(r)?r:void 0}function p(e,t){if(0!==e.length){for(let[n,r]of((0,u.MH)({source:"manifest-runtime",scope:"phase",action:"phase_start",message:`Manifest phase ${t.phase} started`,scriptId:t.scriptId,elementId:t.elementId,hasConsent:t.hasConsent,callback:t.callback,phase:t.phase,data:{stepCount:e.length}}),e.entries()))try{!function(e){let t=window;switch(e.type){case"setGlobal":if(!1!==e.ifUndefined&&void 0!==t[e.name])break;t[e.name]=d(e.value);break;case"defineQueueFunction":if(!1!==e.ifUndefined&&void 0!==t[e.name])break;t[e.name]=function(){let n=t[e.queue];if(Array.isArray(n)){if("array"===e.pushStyle)return void n.push(Array.from(arguments));n.push(arguments)}};break;case"defineStubFunction":{if(!1!==e.ifUndefined&&void 0!==t[e.name])break;let n=function(){let n=t[e.name],r=n&&e.dispatchProperty?n[e.dispatchProperty]:void 0,o=Array.from(arguments);if("function"==typeof r)return void r.apply(n,o);let i=h(t,e.queue,n);if(i){if("array"===e.queueFormat)return void i.push(o);i.push(arguments)}};if(t[e.name]=n,"property"in e.queue&&"string"==typeof e.queue.property){let t=e.queue.property;void 0===n[t]&&(n[t]=[])}for(let r of e.aliases??[])t[r]=n;for(let t of e.selfReferences??[])n[t]=n;for(let[t,r]of Object.entries(e.properties??{}))n[t]=d(r);break}case"callGlobal":{let n=t[e.global];if(!n)break;let r=(e.args??[]).map(e=>d(e));if(e.method){let t=n[e.method];"function"==typeof t&&t.apply(n,r)}else"function"==typeof n&&n(...r);break}case"pushToQueue":{let n=t[e.queue];Array.isArray(n)&&n.push(d(e.value));break}case"setGlobalPath":{let n=e.path[0];if(e.ifGlobalIsQueue&&(!n||!Array.isArray(t[n])))break;let r=function(e,t){if(0===t.length)return;let n=e;for(let e of t.slice(0,-1)){let t=n[e];if(null===t||"object"!=typeof t)return;n=t}return{target:n,key:t[t.length-1]}}(t,e.path);if(!r)break;r.target[r.key]=d(e.value);break}case"defineQueueMethods":{let n=t[e.target];
30if(null===n||"object"!=typeof n&&"function"!=typeof n||!e.queue&&!Array.isArray(n))break;for(let r of e.methods)n[r]=(...o)=>{let i=h(t,e.queue??{global:e.target},n);if(i){if("methodCall"===e.queueFormat||"wrappedMethodCall"===e.queueFormat||"voidMethodCall"===e.queueFormat){let t=new Promise(e=>{i.push({name:r,args:o,resolve:e})});if("wrappedMethodCall"===e.queueFormat)return{promise:t};if("voidMethodCall"===e.queueFormat)return;return t}if("callback"===e.queueFormat)return void i.push({name:r,fn:()=>{let n=t[e.target];if(null===n||"object"!=typeof n&&"function"!=typeof n)return;let i=n[r];"function"==typeof i&&i.apply(n,o)}});i.push([r,...o])}};break}case"defineQueueClass":{let n=t[e.target];if(null===n||"object"!=typeof n&&"function"!=typeof n)break;let r=e.queueProperty??"_q",o=function(){this[r]=[]},i=o.prototype;for(let t of e.methods)i[t]=function(...e){let n=this[r];return Array.isArray(n)&&n.push({name:t,args:e}),this};n[e.name]=o;break}case"defineGlobalMethods":{let n=t[e.target];if(null===n||"object"!=typeof n&&"function"!=typeof n||e.ifGlobalIsQueue&&!Array.isArray(n))break;for(let t of e.methods)n[t.name]="return"===t.behavior?()=>d(t.value):()=>{};break}case"constructGlobal":{let n=t[e.constructor];if("function"!=typeof n)break;let r=(e.args??[]).map(e=>d(e));if(e.copyAssignedValueToArgProperty){let n=r[0],o=f(n)?n:{};o[e.copyAssignedValueToArgProperty]=t[e.assignTo],f(n)||r.unshift(o)}t[e.assignTo]=new n(...r)}}}(r),(0,u.MH)({source:"manifest-runtime",scope:"step",action:"step_executed",message:`Executed ${r.type}`,scriptId:t.scriptId,elementId:t.elementId,hasConsent:t.hasConsent,callback:t.callback,phase:t.phase,stepType:r.type,stepIndex:n})}catch(e){throw(0,u.MH)({source:"manifest-runtime",scope:"step",action:"step_error",message:`Failed to execute ${r.type}`,scriptId:t.scriptId,elementId:t.elementId,hasConsent:t.hasConsent,callback:t.callback,phase:t.phase,stepType:r.type,stepIndex:n,data:{error:e instanceof Error?e.message:"string"==typeof e?e:"Unknown error"}}),e}(0,u.MH)({source:"manifest-runtime",scope:"phase",action:"phase_complete",message:`Manifest phase ${t.phase} completed`,scriptId:t.scriptId,elementId:t.elementId,hasConsent:t.hasConsent,callback:t.callback,phase:t.phase,data:{stepCount:e.length}})}}function m(e,t,n){if(!e.consentMapping||!e.consentSignal)return[];switch(e.consentSignal){case"gtag":{let r=function(e,t){let n={};for(let[r,o]of Object.entries(e)){let e=t[r];for(let t of o)n[t]=e?"granted":"denied"}return n}(e.consentMapping,n);return[{type:"callGlobal",global:e.consentSignalTarget??"gtag",args:["consent",t,r]}]}case"rudderstack":{let t=function(e,t){let n=[],r=[];for(let[o,i]of Object.entries(e)){let e=t[o];for(let t of i)(e?n:r).push(t)}return{allowedConsentIds:n,deniedConsentIds:r}}(e.consentMapping,n);return[{type:"callGlobal",global:e.consentSignalTarget??"rudderanalytics",method:"consent",args:[{consentManagement:{enabled:!0,provider:"custom",allowedConsentIds:t.allowedConsentIds,deniedConsentIds:t.deniedConsentIds}}]}]}}}let g=new WeakMap,v={kind:r,schemaVersion:1,vendor:"google-tag-manager",category:"necessary",alwaysLoad:!0,bootstrap:[{type:"setGlobal",name:"dataLayer",value:[],ifUndefined:!0},{type:"defineQueueFunction",name:"gtag",queue:"dataLayer",ifUndefined:!0}],install:[{type:"pushToQueue",queue:"dataLayer",value:{"gtm.start":{kind:o,value:"timestamp"},event:"gtm.js"}},{type:"loadScript",src:"https://www.googletagmanager.com/gtm.js?id={{id}}",async:!0}],onConsentChange:[{type:"callGlobal",global:"gtag",args:["event","{{updateEventName}}"]}],consentMapping:{necessary:["security_storage"],functionality:["functionality_storage"],measurement:["analytics_storage"],marketing:["ad_storage","ad_user_data","ad_personalization"],experience:["personalization_storage"]},consentSignal:"gtag"};function y({id:e,updateEventName:t,consentMapping:n}){return function(e,t={}){return function(e){let t=!!(e.consentMapping&&e.consentSignal),n=!!(e.onLoadGrantedSteps.length>0||e.onLoadDeniedSteps.length>0),r=!!(e.onConsentChangeSteps.length>0||e.onConsentGrantedSteps.length>0||e.onConsentDeniedSteps.length>0||t),o={id:e.vendor,category:e.category,alwaysLoad:e.alwaysLoad,persistAfterConsentRevoked:e.persistAfterConsentRevoked,callbackOnly:!e.loadScript||void 0,src:e.loadScript?.src,async:e.loadScript?.async,defer:e.loadScript?.defer,attributes:e.loadScript?.attributes};return(e.bootstrapSteps.length>0||e.setupSteps.length>0||e.onBeforeLoadGrantedSteps.length>0||e.onBeforeLoadDeniedSteps.length>0||t)&&(o.onBeforeLoad=t=>{let n={scriptId:e.vendor,elementId:t.elementId,hasConsent:t.hasConsent,callback:"onBeforeLoad"};p(e.bootstrapSteps,{...n,phase:"bootstrap"}),p(m(e,"default",t.consents),{...n,phase:"consent-default"}),p(e.setupSteps,{...n,phase:"setup"}),p(t.hasConsent?e.onBeforeLoadGrantedSteps:e.onBeforeLoadDeniedSteps,{...n,phase:t.hasConsent?"onBeforeLoadGranted":"onBeforeLoadDenied"})}),e.afterLoadSteps.length>0?o.onLoad=t=>{let n={scriptId:e.vendor,elementId:t.elementId,hasConsent:t.hasConsent,callback:"onLoad"};p(e.afterLoadSteps,{...n,phase:"afterLoad"}),t.hasConsent&&e.onLoadGrantedSteps.length>0?p(e.onLoadGrantedSteps,{...n,phase:"onLoadGranted"}):!t.hasConsent&&e.onLoadDeniedSteps.length>0&&p(e.onLoadDeniedSteps,{...n,phase:"onLoadDenied"})}:n&&(o.onLoad=t=>{let n={scriptId:e.vendor,elementId:t.elementId,hasConsent:t.hasConsent,callback:"onLoad"};t.hasConsent&&e.onLoadGrantedSteps.length>0?p(e.onLoadGrantedSteps,{...n,phase:"onLoadGranted"}):!t.hasConsent&&e.onLoadDeniedSteps.length>0&&p(e.onLoadDeniedSteps,{...n,phase:"onLoadDenied"})}),r&&(o.onConsentChange=t=>{let n={scriptId:e.vendor,elementId:t.elementId,hasConsent:t.hasConsent,callback:"onConsentChange"};p(m(e,"update",t.consents),{...n,phase:"consent-update"}),e.onConsentChangeSteps.length>0&&p(e.onConsentChangeSteps,{...n,phase:"onConsentChange"}),t.hasConsent&&e.onConsentGrantedSteps.length>0?p(e.onConsentGrantedSteps,{...n,phase:"onConsentGranted"}):!t.hasConsent&&e.onConsentDeniedSteps.length>0&&p(e.onConsentDeniedSteps,{...n,phase:"onConsentDenied"})}),o}(function(e,t){let n=function e(t){if(void 0===t)return"undefined";if(null===t)return"null";if(Array.isArray(t))return`[${t.map(t=>e(t)).join(",")}]`;if("object"==typeof t){let n=Object.entries(t).sort(([e],[t])=>e.localeCompare(t));return`{${n.map(([t,n])=>`${JSON.stringify(t)}:${e(n)}`).join(",")}}`}return`${typeof t}:${String(t)}`}(t),o=g.get(e);o||(o=new Map,g.set(e,o));let i=o.get(n);if(i)return i;let a=function(e,t={}){if(e.kind!==r)throw Error(`Unsupported manifest kind '${String(e.kind)}'. Expected '${r}'.`);if(1!==e.schemaVersion)throw Error(`Unsupported manifest schema version '${String(e.schemaVersion)}'. Expected '1'.`);let n=c(e.bootstrap,t),{loadScript:o,setupSteps:i}=function(e){let t=e.filter(e=>"loadScript"===e.type);if(t.length>1)throw Error("Vendor manifests may only declare a single loadScript step in install.");if(1===t.length){let n=t[0];if("string"!=typeof n.src||0===n.src.trim().length)throw Error("loadScript steps must include a non-empty src after manifest interpolation.");return{loadScript:n,setupSteps:e.filter(e=>"loadScript"!==e.type)}}return{setupSteps:e}}(c(e.install,t));
30return{kind:e.kind,schemaVersion:e.schemaVersion,vendor:e.vendor,category:s(e.category,t),alwaysLoad:void 0===e.alwaysLoad?void 0:s(e.alwaysLoad,t),persistAfterConsentRevoked:void 0===e.persistAfterConsentRevoked?void 0:s(e.persistAfterConsentRevoked,t),bootstrapSteps:n,setupSteps:i,loadScript:o,afterLoadSteps:c(e.afterLoad,t),onBeforeLoadGrantedSteps:c(e.onBeforeLoadGranted,t),onBeforeLoadDeniedSteps:c(e.onBeforeLoadDenied,t),onLoadGrantedSteps:c(e.onLoadGranted,t),onLoadDeniedSteps:c(e.onLoadDenied,t),onConsentChangeSteps:c(e.onConsentChange,t),onConsentGrantedSteps:c(e.onConsentGranted,t),onConsentDeniedSteps:c(e.onConsentDenied,t),consentMapping:e.consentMapping?s(e.consentMapping,t):void 0,consentSignal:e.consentSignal,consentSignalTarget:"string"==typeof e.consentSignalTarget?s(e.consentSignalTarget,t):e.consentSignalTarget}}(e,t);return o.set(n,a),a}(e,t))}(void 0===n?v:{...v,consentMapping:n},{id:e,updateEventName:t??"consent-update"})}},61821:(e,t,n)=>{"use strict";n.d(t,{a:()=>s});var r=n(95155),o=n(584),i=n(12115),a=n(38478),l=n(8349);let s=(0,i.forwardRef)(({asChild:e,className:t,style:n,themeKey:i,baseClassName:s,noStyle:c,...u},d)=>{let f=(0,o.J)((0,l.I)(i,{baseClassName:s,className:t,style:n,noStyle:c}));return(0,r.jsx)(e?a.D:"div",{ref:d,...u,...f})});s.displayName="Box"},73232:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var r=(0,n(86467).A)("outline","brand-facebook","IconBrandFacebook",[["path",{d:"M7 10v4h3v7h4v-7h3l1 -4h-4v-2a1 1 0 0 1 1 -1h3v-4h-3a5 5 0 0 0 -5 5v2h-3",key:"svg-0"}]])},74095:(e,t,n)=>{"use strict";n.d(t,{Ey:()=>s,HL:()=>a,Ze:()=>c,b7:()=>l,lr:()=>o});var r=n(95155);let o=({title:e="c15t",titleId:t="c15t-icon",...n})=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 446 445","aria-labelledby":t,...n,children:[(0,r.jsx)("title",{id:t,children:e}),(0,r.jsx)("path",{fill:"currentColor",d:"M223.178.313c39.064 0 70.732 31.668 70.732 70.732-.001 39.064-31.668 70.731-70.732 70.731-12.181 0-23.642-3.079-33.649-8.502l-55.689 55.689a70.267 70.267 0 0 1 5.574 13.441h167.531c8.695-29.217 35.762-50.523 67.804-50.523 39.064 0 70.731 31.668 70.731 70.732s-31.668 70.732-70.731 70.732c-32.042 0-59.108-21.306-67.803-50.523H139.413a70.417 70.417 0 0 1-7.888 17.396l54.046 54.046c10.893-6.851 23.786-10.815 37.605-10.815 39.064 0 70.732 31.669 70.732 70.733 0 39.064-31.668 70.731-70.732 70.731s-70.732-31.667-70.732-70.731c0-10.518 2.296-20.499 6.414-29.471l-57.78-57.78c-8.972 4.117-18.952 6.414-29.47 6.414-39.063 0-70.731-31.668-70.732-70.732 0-39.064 31.669-70.732 70.733-70.732 12.18 0 23.642 3.079 33.649 8.502l55.688-55.688c-5.423-10.007-8.502-21.469-8.502-33.65 0-39.064 31.668-70.733 70.732-70.733Zm0 343.555c-16.742 0-30.314 13.572-30.314 30.314 0 16.741 13.572 30.313 30.314 30.313s30.314-13.572 30.314-30.313c0-16.742-13.572-30.314-30.314-30.314ZM71.611 192.299c-16.742 0-30.315 13.572-30.315 30.314s13.573 30.314 30.315 30.314c16.741 0 30.313-13.572 30.313-30.314 0-16.741-13.572-30.314-30.313-30.314Zm303.138 0c-16.729 0-30.294 13.551-30.315 30.275l.001.039-.001.038c.021 16.725 13.586 30.276 30.315 30.276 16.741 0 30.313-13.572 30.313-30.314 0-16.741-13.572-30.314-30.313-30.314ZM223.178 40.73c-16.742 0-30.314 13.573-30.314 30.315s13.573 30.313 30.314 30.313c16.742 0 30.313-13.572 30.314-30.313 0-16.742-13.572-30.314-30.314-30.315Z"})]}),i=({title:e="INTH",titleId:t="inth-logo",...n})=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 88 90",fill:"none","aria-labelledby":t,...n,children:[(0,r.jsx)("title",{id:t,children:e}),(0,r.jsx)("path",{fill:"currentColor",d:"M40.9164 0V8.26444H27.6933V26.7966H40.9164V35.0608H6.15594V26.7966H19.3788V8.26444H6.15594V0H40.9164Z"}),(0,r.jsx)("path",{fill:"currentColor",d:"M72.1149 20.1264V0H80.0343V35.0608H74.2747L54.9798 14.8193V35.0608H47.0604V0H52.964L72.1149 20.1264Z"}),(0,r.jsx)("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M71.36 41.6H88V89.6H0V41.6H61.12V31.04L71.36 41.6ZM6.15594 48.0891V56.4034H19.1784V83.2H27.4428V56.4034H40.5656V48.0891H6.15594ZM47.0603 48.1391V83.2H55.3247V70.2441H71.7531V83.2H80.0675V48.1391H71.7531V61.9797H55.3247V48.1391H47.0603Z"})]}),a=e=>(0,r.jsx)(i,{titleId:"inth-full-logo",...e}),l=e=>(0,r.jsx)(i,{titleId:"inth-icon",...e}),s=({title:e="Privacy",titleId:t="fingerprint-icon",...n})=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-labelledby":t,...n,children:[(0,r.jsx)("title",{id:t,children:e}),(0,r.jsx)("path",{d:"M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4"}),(0,r.jsx)("path",{d:"M14 13.12c0 2.38 0 6.38-1 8.88"}),(0,r.jsx)("path",{d:"M17.29 21.02c.12-.6.43-2.3.5-3.02"}),(0,r.jsx)("path",{d:"M2 12a10 10 0 0 1 18-6"}),(0,r.jsx)("path",{d:"M2 16h.01"}),(0,r.jsx)("path",{d:"M21.8 16c.2-2 .131-5.354 0-6"}),(0,r.jsx)("path",{d:"M5 19.5C5.5 18 6 15 6 12a6 6 0 0 1 .34-2"}),(0,r.jsx)("path",{d:"M8.65 22c.21-.66.45-1.32.57-2"}),(0,r.jsx)("path",{d:"M9 6.8a6 6 0 0 1 9 5.2v2"})]}),c=({title:e="Settings",titleId:t="settings-icon",...n})=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-labelledby":t,...n,children:[(0,r.jsx)("title",{id:t,children:e}),(0,r.jsx)("path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z"}),(0,r.jsx)("circle",{cx:"12",cy:"12",r:"3"})]})},74392:(e,t,n)=>{"use strict";n.d(t,{m:()=>i});var r=n(91871),o=n(12115);function i(e){let t=(0,o.useMemo)(()=>(0,r.Ji)(e),[e]);return(0,o.useEffect)(()=>(0,r.e$)(e),[e]),t}}
30,74783:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(19946).A)("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]])},76109:(e,t,n)=>{"use strict";n.d(t,{dB:()=>z});var r=n(95155);let o={root:"c15t-ui-root-hE9Kz",bannerVisible:"c15t-ui-bannerVisible-pYYY9",bannerHidden:"c15t-ui-bannerHidden-J4VZ3",bottomLeft:"c15t-ui-bottomLeft-CbyqH",bottomRight:"c15t-ui-bottomRight-iIIdC",card:"c15t-ui-card-AUyl8",cardShell:"c15t-ui-cardShell-HgKnk",header:"c15t-ui-header-pel5O",footer:"c15t-ui-footer-MwauQ",footerSubGroup:"c15t-ui-footerSubGroup-YlOOW",footerFill:"c15t-ui-footerFill-fYXhD",footerColumn:"c15t-ui-footerColumn-TBxCf",footerSubGroupFill:"c15t-ui-footerSubGroupFill-HE0u1",footerSubGroupColumn:"c15t-ui-footerSubGroupColumn-Iz6is",actionButtonFill:"c15t-ui-actionButtonFill-DOOO_",description:"c15t-ui-description-ZuHLA",title:"c15t-ui-title-FWOWe",overlay:"c15t-ui-overlay-r7ckD",overlayVisible:"c15t-ui-overlayVisible-uk8zb",overlayHidden:"c15t-ui-overlayHidden-pbl9E"};var i=n(12115),a=n(4077),l=n(5778),s=n(8349),c=n(92980),u=n(83243);let d=(0,i.forwardRef)(({className:e,style:t,noStyle:n,asChild:d,...f},h)=>{let p,{activeUI:m}=(0,a.l)(),{disableAnimation:g,noStyle:v,scrollLock:y}=(0,c.D)(),b="banner"===m,[w,x]=(0,i.useState)(!1);(0,i.useEffect)(()=>{if(b)x(!0);else if(g)x(!1);else{let e=setTimeout(()=>{x(!1)},Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue("--consent-banner-animation-duration")||"200",10));return()=>clearTimeout(e)}},[b,g]);let S=(0,s.I)("consentBannerOverlay",{baseClassName:!(v||n)&&o.overlay,className:e,noStyle:v||n});p=v||n||g?void 0:w?o.overlayVisible:o.overlayHidden;let C=(0,u.p)(S.className,p);return(0,l.K)(!!(b&&y)),b&&y?(0,r.jsx)("div",{ref:h,...f,className:C,style:{...S.style,...t},"data-testid":"consent-banner-overlay"}):null});var f=n(584),h=n(47650),p=n(93262),m=n(83135),g=n(74392);let v=({children:e,className:t,noStyle:n,disableAnimation:o,scrollLock:i,trapFocus:l=!0,models:s,uiSource:c,...u})=>{let{policyBanner:d}=(0,a.l)(),f={disableAnimation:o,noStyle:n,scrollLock:i??d.scrollLock??void 0,trapFocus:l};return(0,r.jsx)(p.n.Provider,{value:{uiSource:c??"banner"},children:(0,r.jsx)(m.A.Provider,{value:f,children:(0,r.jsx)(y,{disableAnimation:o,className:t,noStyle:n,models:s,...u,children:e})})})},y=(0,i.forwardRef)(({asChild:e,children:t,className:n,style:l,className:c,disableAnimation:u,noStyle:p,models:m=["opt-in"],...v},y)=>{let{activeUI:b,translationConfig:w,model:x}=(0,a.l)(),S=(0,g.m)(w.defaultLanguage),[C,k]=(0,i.useState)(!1),[j,A]=(0,i.useState)(!1),[E,N]=(0,i.useState)(200),L="banner"===b&&m.includes(x);(0,i.useEffect)(()=>{N(Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue("--consent-banner-animation-duration")||"200",10))},[]),(0,i.useEffect)(()=>{if(L)if(j)k(!0);else{let e=setTimeout(()=>{k(!0),A(!0)},10);return()=>clearTimeout(e)}else if(A(!1),u)k(!1);else{let e=setTimeout(()=>{k(!1)},E);return()=>clearTimeout(e)}},[L,u,j,E]);let R=(0,s.I)("consentBanner",{baseClassName:[o.root,"ltr"===S?o.bottomLeft:o.bottomRight],style:l,className:n||c,noStyle:p}),[D,M]=(0,i.useState)(!1);if((0,i.useEffect)(()=>{M(!0)},[]),!D)return null;let T=p?R.className||"":`${R.className||""} ${C?o.bannerVisible:o.bannerHidden}`,P=(0,f.J)(R);return L?(0,h.createPortal)((0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d,{}),(0,r.jsx)("div",{ref:y,...v,...P,className:T,"data-testid":"consent-banner-root",dir:S,children:t})]}),document.body):null});y.displayName="ConsentBannerRootChildren";var b=n(8987),w=n(88972),x=n(61821),S=n(48719),C=n(32068);let k=(0,i.forwardRef)(({children:e,...t},n)=>{let{cookieBanner:i}=(0,w.c)();return(0,r.jsx)(x.a,{ref:n,baseClassName:o.title,"data-testid":"consent-banner-title",themeKey:"consentBannerTitle",...t,children:e??i.title})});k.displayName="ConsentBannerTitle";let j=(0,i.forwardRef)(({children:e,legalLinks:t,asChild:n,...i},a)=>{let{cookieBanner:l}=(0,w.c)();return n?(0,r.jsx)(x.a,{ref:a,baseClassName:o.description,"data-testid":"consent-banner-description",themeKey:"consentBannerDescription",asChild:n,...i,children:e??l.description}):(0,r.jsxs)(x.a,{ref:a,baseClassName:o.description,"data-testid":"consent-banner-description",themeKey:"consentBannerDescription",asChild:n,...i,children:[e??l.description,(0,r.jsx)(C.O,{links:t,themeKey:"consentBannerDescription",testIdPrefix:"consent-banner-legal-link"})]})});j.displayName="ConsentBannerDescription";let A=(0,i.forwardRef)(({children:e,...t},n)=>(0,r.jsx)(x.a,{ref:n,baseClassName:o.footer,"data-testid":"consent-banner-footer",themeKey:"consentBannerFooter",...t,children:e}));A.displayName="ConsentBannerFooter";let E=(0,i.forwardRef)(({children:e,...t},n)=>{let{trapFocus:a}=(0,c.D)(),{cookieBanner:l}=(0,w.c)(),s=(0,i.useRef)(null),u=n||s,d=!!a;return(0,b.r)(d,u),(0,r.jsx)(x.a,{ref:u,tabIndex:0,baseClassName:o.card,"data-testid":"consent-banner-card",themeKey:"consentBannerCard","aria-label":t["aria-label"]||l.title,"aria-modal":d?"true":void 0,role:d?"dialog":void 0,...t,children:e})});E.displayName="ConsentBannerCard";let N=(0,i.forwardRef)(({children:e,...t},n)=>(0,r.jsx)(x.a,{ref:n,baseClassName:o.header,"data-testid":"consent-banner-header",themeKey:"consentBannerHeader",...t,children:e}));N.displayName="ConsentBannerHeader";let L=(0,i.forwardRef)(({children:e,...t},n)=>(0,r.jsx)(x.a,{ref:n,baseClassName:o.footerSubGroup,"data-testid":"consent-banner-footer-sub-group",themeKey:"consentBannerFooterSubGroup",...t,children:e}));L.displayName="ConsentBannerFooterSubGroup";let R=(0,i.forwardRef)(({children:e,...t},n)=>{let{common:o}=(0,w.c)();return(0,r.jsx)(S.Z,{ref:n,action:"reject-consent","data-testid":"consent-banner-reject-button",closeConsentBanner:!0,...t,children:e??o.rejectAll})});R.displayName="ConsentBannerRejectButton";let D=(0,i.forwardRef)(({children:e,...t},n)=>{let{common:o}=(0,w.c)();return(0,r.jsx)(S.Z,{ref:n,action:"open-consent-dialog","data-testid":"consent-banner-customize-button",...t,children:e??o.customize})});D.displayName="ConsentBannerCustomizeButton";let M=(0,i.forwardRef)(({children:e,...t},n)=>{let{common:o}=(0,w.c)(),{noStyle:i}=(0,c.D)();return(0,r.jsx)(S.Z,{ref:n,action:"accept-consent","data-testid":"consent-banner-accept-button",closeConsentBanner:!0,noStyle:i,...t,children:e??o.acceptAll})});M.displayName="ConsentBannerAcceptButton";var T=n(24734),P=n(38097),I=n(80592),F=n(27136);class O extends i.Component{constructor(e){super(e),this.state={hasError:!1,error:null,errorInfo:null}}static getDerivedStateFromError(e){return{hasError:!0,error:e,errorInfo:null}}componentDidCatch(e,t){this.setState({error:e,errorInfo:t})}render(){return this.state.hasError?"function"==typeof this.props.fallback?this.props.fallback(this.state.error,this.state.errorInfo):this.props.fallback:this.props.children}}let B=[["reject","accept"],"customize"];var H=n(42265);function _(e,t){let{key:n,consentAction:o,...i}=t;switch(e){case"accept":return(0,r.jsx)(M,{consentAction:o,"data-testid":"consent-banner-accept-button",...i},n);case"reject":return(0,r.jsx)(R,{consentAction:o,"data-testid":"consent-banner-reject-button",...i},n);case"customize":return(0,r.jsx)(D,{consentAction:o,"data-testid":"consent-banner-customize-button",...i},n);default:throw Error(`Unhandled consent banner action: ${e}`)}}let z=Object.assign(({noStyle:e,disableAnimation:t,scrollLock:n,trapFocus:l=!0,title:s,description:c,rejectButtonText:d,customizeButtonText:f,acceptButtonText:h,legalLinks:p,hideBranding:m=!1,layout:g,direction:y,primaryButton:b="customize",models:x,uiSource:S})=>{let{cookieBanner:C}=(0,w.c)(),{banner:H}=(0,F.N)(),{policyBanner:_}=(0,a.l)(),z=(0,I.T)({noStyle:e,disableAnimation:t,scrollLock:n??_.scrollLock??!1,trapFocus:l}),W=new Set(H.orderedActions),V=H.primaryActions.length>0?H.primaryActions:b,G=g??((H.layout?.length??0)>0?H.actionGroups:B),K=y??H.direction??"row",$=G.map(e=>Array.isArray(e)?e.filter(e=>W.has(e)):W.has(e)?[e]:[]).filter(e=>e.length>0),U=(0,T.Md)({uiProfile:H.uiProfile,actionGroups:$,direction:K}),X=(e,t)=>{if(!W.has(e))return null;let n=Array.isArray(V)?V.includes(e):e===V;switch(e){case"reject":return(0,r.jsx)(R,{consentAction:"reject",isPrimary:n,className:t,"data-testid":"consent-banner-reject-button",children:d});case"accept":return(0,r.jsx)(M,{consentAction:"accept",isPrimary:n,className:t,"data-testid":"consent-banner-accept-button",children:h});case"customize":return(0,r.jsx)(D,{consentAction:"customize",isPrimary:n,className:t,"data-testid":"consent-banner-customize-button",children:f});default:throw Error(`Unhandled consent banner button type: ${e}`)}};return(0,r.jsx)(O,{fallback:(0,r.jsx)("div",{children:"Something went wrong with the Consent Banner."}),children:(0,r.jsx)(v,{...z,models:x,uiSource:S,children:(0,r.jsxs)("div",{className:o.cardS
30hell,children:[(0,r.jsx)(P.MW,{hideBranding:m,variant:"banner-tag",themeKey:"consentBannerTag","data-testid":"consent-banner-branding"}),(0,r.jsxs)(E,{"aria-label":C.title,children:[(0,r.jsxs)(N,{children:[(0,r.jsx)(k,{children:s}),(0,r.jsx)(j,{legalLinks:p,children:c})]}),(0,r.jsx)(A,{className:(0,u.p)(U&&o.footerFill,"column"===K&&o.footerColumn),children:G.map((e,t)=>{if(Array.isArray(e)){let n=e.filter(e=>W.has(e));if(0===n.length)return null;let a=e.join("-");return(0,r.jsx)(L,{className:(0,u.p)(U&&o.footerSubGroupFill,"column"===K&&o.footerSubGroupColumn),children:n.map(e=>(0,r.jsx)(i.Fragment,{children:X(e,U?o.actionButtonFill:void 0)},e))},a?`group-${a}`:`group-${t}`)}return W.has(e)?(0,r.jsx)(i.Fragment,{children:X(e,U?o.actionButtonFill:void 0)},e):null})})]})]})})})},{Root:v,Card:E,Header:N,Title:k,Description:j,PolicyActions:function({renderAction:e}){let{banner:t}=(0,F.N)();return(0,r.jsx)(H.d,{state:t,Footer:A,FooterSubGroup:L,classNames:{footerFill:o.footerFill,footerColumn:o.footerColumn,footerSubGroupFill:o.footerSubGroupFill,footerSubGroupColumn:o.footerSubGroupColumn},renderAction:e,renderDefaultAction:_})},Footer:A,FooterSubGroup:L,RejectButton:R,CustomizeButton:D,AcceptButton:M,Overlay:d,Content:E,Actions:L})},80592:(e,t,n)=>{"use strict";n.d(t,{T:()=>i});var r=n(12115),o=n(92980);function i(e){let t=(0,o.D)(),n=function(){let[e,t]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{if("u"<typeof window)return;let e=window.matchMedia("(prefers-reduced-motion: reduce)");t(e.matches);let n=e=>{t(e.matches)};return e.addEventListener("change",n),()=>e.removeEventListener("change",n)},[]),e}();return{noStyle:e?.noStyle??t.noStyle??!1,disableAnimation:e?.disableAnimation??t.disableAnimation??n,scrollLock:e?.scrollLock??t.scrollLock??!1,trapFocus:e?.trapFocus??t.trapFocus??!0}}},82696:(e,t,n)=>{"use strict";n.d(t,{N:()=>o});var r=n(6196);function o(e,t,n,i=!1){let a=t?.slots?.[e],l="object"==typeof a&&null!==a&&!!a.noStyle,s="object"==typeof n&&null!==n&&!!n.noStyle;if(i||l||s){let e=(0,r.Z)(a||{},n||{});return{className:e.className,style:e.style,noStyle:!0}}let c=(0,r.Z)("object"==typeof n?{...n,className:void 0}:{},a||{}),u=(0,r.Z)(c,n||{});return{className:u.className,style:u.style}}},83135:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,K:()=>o});var r=n(12115);let o=(0,r.createContext)({theme:void 0,noStyle:!1,disableAnimation:!1,scrollLock:!1,trapFocus:!0,colorScheme:"system"}),i=(0,r.createContext)(null)},83243:(e,t,n)=>{"use strict";n.d(t,{p:()=>o});var r=n(19472);function o(...e){return(0,r.cn)(...e)}},83366:(e,t,n)=>{"use strict";n.d(t,{j:()=>a});var r=n(95155),o=n(12115),i=n(48719);let a=(0,o.forwardRef)(({children:e,noStyle:t=!0,...n},o)=>(0,r.jsx)(i.Z,{ref:o,action:"open-consent-dialog",noStyle:t,"data-testid":"consent-dialog-link",...n,children:e}));a.displayName="ConsentDialogLink"},88972:(e,t,n)=>{"use strict";function r(e){return!!e&&"object"==typeof e&&"cookieBanner"in e&&"consentManagerDialog"in e&&"consentTypes"in e&&"common"in e}n.d(t,{c:()=>l});var o=n(24734),i=n(12115),a=n(4077);function l(){let{translationConfig:e}=(0,a.l)();return(0,i.useMemo)(()=>(function(e,t){let{translations:n={},defaultLanguage:o="en"}=e,i=n[o];if(r(i))return i;let a=n.en;return r(a)?a:t.translations.en})(e,o.Zb),[e])}},91871:(e,t,n)=>{"use strict";function r(e){let t=window.matchMedia("(prefers-color-scheme: dark)"),n=document.documentElement.classList.contains("dark"),r=e=>{document.documentElement.classList.toggle("c15t-dark",e.matches)},o=new MutationObserver(e=>{for(let t of e)if("attributes"===t.type&&"class"===t.attributeName){let e=document.documentElement.classList.contains("dark");document.documentElement.classList.toggle("c15t-dark",e)}});switch(e){case"light":document.documentElement.classList.remove("c15t-dark");break;case"dark":document.documentElement.classList.add("c15t-dark");break;case"system":r(t),t.addEventListener("change",r);break;default:document.documentElement.classList.toggle("c15t-dark",n),o.observe(document.documentElement,{attributes:!0})}return()=>{t.removeEventListener("change",r),o.disconnect()}}n.d(t,{Ji:()=>i,M_:()=>r,dG:()=>s,e$:()=>a,us:()=>l});let o=["ar","he","fa","ur","ps","sd","ku","dv"];function i(e){let t=e?e.split("-")[0]?.toLowerCase():"en";return o.includes(t||"")?"rtl":"ltr"}function a(e){return"rtl"===i(e)?document.body.classList.add("c15t-rtl"):document.body.classList.remove("c15t-rtl"),()=>{document.body.classList.remove("c15t-rtl")}}function l(){let e={overflow:document.body.style.overflow,paddingRight:document.body.style.paddingRight},t=window.innerWidth-document.documentElement.clientWidth;return document.body.style.overflow="hidden",t>0&&(document.body.style.paddingRight=`${t}px`),()=>{document.body.style.overflow=e.overflow,document.body.style.paddingRight=e.paddingRight}}function s(e){let t=document.activeElement;e.tabIndex<0&&(e.tabIndex=-1),setTimeout(()=>{try{e.focus()}catch{}},0);let n=t=>{if("Tab"!==t.key)return;let n=Array.from(e.querySelectorAll('a[href]:not([disabled]):not([tabindex="-1"]),button:not([disabled]):not([tabindex="-1"]),textarea:not([disabled]):not([tabindex="-1"]),input:not([disabled]):not([tabindex="-1"]),select:not([disabled]):not([tabindex="-1"]),[contenteditable]:not([tabindex="-1"]),[tabindex]:not
30([tabindex="-1"])')).filter(e=>"function"==typeof e.checkVisibility?e.checkVisibility({checkVisibilityCSS:!0}):e.offsetWidth>0||e.offsetHeight>0);if(0===n.length)return;let r=n[0],o=n[n.length-1];t.shiftKey&&document.activeElement===r?(t.preventDefault(),o?.focus()):t.shiftKey||document.activeElement!==o||(t.preventDefault(),r?.focus())};return document.addEventListener("keydown",n),()=>{document.removeEventListener("keydown",n),t&&"function"==typeof t.focus&&setTimeout(()=>t.focus(),0)}}},92980:(e,t,n)=>{"use strict";n.d(t,{D:()=>i});var r=n(12115),o=n(83135);let i=()=>{let e=(0,r.useContext)(o.K),t=(0,r.useContext)(o.A);if(!e)throw Error("Theme components must be used within Theme.Root");return(0,r.useMemo)(()=>(function e(t,n){if(!n)return t;let r={...t};for(let o in n)void 0!==n[o]&&(n[o]&&"object"==typeof n[o]&&!Array.isArray(n[o])&&t[o]&&"object"==typeof t[o]?r[o]=e(t[o],n[o]):r[o]=n[o]);return r})(e,t||null),[e,t])}},93262:(e,t,n)=>{"use strict";n.d(t,{B:()=>i,n:()=>o});var r=n(12115);let o=(0,r.createContext)({}),i=()=>(0,r.useContext)(o)},99230:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var r=(0,n(86467).A)("outline","brand-x","IconBrandX",[["path",{d:"M4 4l11.733 16h4.267l-11.733 -16z",key:"svg-0"}],["path",{d:"M4 20l6.768 -6.768m2.46 -2.46l6.772 -6.772",key:"svg-1"}]])}}]);
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.