PageSourceSearch

https://sargepszer.hu/assets/index-D14A6HvI.js

js sargepszer.hu collected 2026-10-09 22:03:28 UTC 740,174 bytes, 547 lines download raw bytes

vendor: 4,303 bytes, lines 1-9
1var PC=Object.defineProperty;var mg=e=>{throw TypeError(e)};var AC=(e,t,n)=>t in e?PC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var An=(e,t,n)=>AC(e,typeof t!="symbol"?t+"":t,n),Fu=(e,t,n)=>t.has(e)||mg("Cannot "+n);var A=(e,t,n)=>(Fu(e,t,"read from private field"),n?n.call(e):t.get(e)),ce=(e,t,n)=>t.has(e)?mg("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),X=(e,t,n,r)=>(Fu(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Ke=(e,t,n)=>(Fu(e,t,"access private method"),n);var Pa=(e,t,n,r)=>({set _(s){X(e,t,s,n)},get _(){return A(e,t,r)}});function MC(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const s in r)if(s!=="default"&&!(s in e)){const i=Object.getOwnPropertyDescriptor(r,s);i&&Object.defineProperty(e,s,i.get?i:{enumerable:!0,get:()=>r[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();function ca(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var o0={exports:{}},Dc={},a0={exports:{}},ie={};/**
2 * @license React
3 * react.production.min.js
4 *
5 * Copyright (c) Facebook, Inc. and its affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var ua=Symbol.for("react.element"),RC=Symbol.for("react.portal"),DC=Symbol.for("react.fragment"),IC=Symbol.for("react.strict_mode"),OC=Symbol.for("react.profiler"),LC=Symbol.for("react.provider"),_C=Symbol.for("react.context"),FC=Symbol.for("react.forward_ref"),VC=Symbol.for("react.suspense"),BC=Symbol.for("react.memo"),$C=Symbol.for("react.lazy"),pg=Symbol.iterator;function UC(e){return e===null||typeof e!="object"?null:(e=pg&&e[pg]||e["@@iterator"],typeof e=="function"?e:null)}var l0={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},c0=Object.assign,u0={};function Ii(e,t,n){this.props=e,this.context=t,this.refs=u0,this.updater=n||l0}Ii.prototype.isReactComponent={};Ii.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Ii.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function d0(){}d0.prototype=Ii.prototype;function Zh(e,t,n){this.props=e,this.context=t,this.refs=u0,this.updater=n||l0}var Yh=Zh.prototype=new d0;Yh.constructor=Zh;c0(Yh,Ii.prototype);Yh.isPureReactComponent=!0;var gg=Array.isArray,f0=Object.prototype.hasOwnProperty,qh={current:null},h0={key:!0,ref:!0,__self:!0,__source:!0};function m0(e,t,n){var r,s={},i=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)f0.call(t,r)&&!h0.hasOwnProperty(r)&&(s[r]=t[r]);var l=arguments.length-2;if(l===1)s.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];s.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)s[r]===void 0&&(s[r]=l[r]);return{$$typeof:ua,type:e,key:i,ref:a,props:s,_owner:qh.current}}function HC(e,t){return{$$typeof:ua,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Qh(e){return typeof e=="object"&&e!==null&&e.$$typeof===ua}function GC(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var vg=/\/+/g;function Vu(e,t){return typeof e=="object"&&e!==null&&e.key!=null?GC(""+e.key):t.toString(36)}
vendor: 4,786 bytes, lines 9-17
9function ul(e,t,n,r,s){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case ua:case RC:a=!0}}if(a)return a=e,s=s(a),e=r===""?"."+Vu(a,0):r,gg(s)?(n="",e!=null&&(n=e.replace(vg,"$&/")+"/"),ul(s,t,n,"",function(u){return u})):s!=null&&(Qh(s)&&(s=HC(s,n+(!s.key||a&&a.key===s.key?"":(""+s.key).replace(vg,"$&/")+"/")+e)),t.push(s)),1;if(a=0,r=r===""?".":r+":",gg(e))for(var l=0;l<e.length;l++){i=e[l];var c=r+Vu(i,l);a+=ul(i,t,n,c,s)}else if(c=UC(e),typeof c=="function")for(e=c.call(e),l=0;!(i=e.next()).done;)i=i.value,c=r+Vu(i,l++),a+=ul(i,t,n,c,s);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return a}function Aa(e,t,n){if(e==null)return e;var r=[],s=0;return ul(e,r,"","",function(i){return t.call(n,i,s++)}),r}function WC(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var ot={current:null},dl={transition:null},KC={ReactCurrentDispatcher:ot,ReactCurrentBatchConfig:dl,ReactCurrentOwner:qh};function p0(){throw Error("act(...) is not supported in production builds of React.")}ie.Children={map:Aa,forEach:function(e,t,n){Aa(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Aa(e,function(){t++}),t},toArray:function(e){return Aa(e,function(t){return t})||[]},only:function(e){if(!Qh(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};ie.Component=Ii;ie.Fragment=DC;ie.Profiler=OC;ie.PureComponent=Zh;ie.StrictMode=IC;ie.Suspense=VC;ie.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=KC;ie.act=p0;ie.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=c0({},e.props),s=e.key,i=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,a=qh.current),t.key!==void 0&&(s=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)f0.call(t,c)&&!h0.hasOwnProperty(c)&&(r[c]=t[c]===void 0&&l!==void 0?l[c]:t[c])}var c=arguments.length-2;if(c===1)r.children=n;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];r.children=l}return{$$typeof:ua,type:e.type,key:s,ref:i,props:r,_owner:a}};ie.createContext=function(e){return e={$$typeof:_C,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:LC,_context:e},e.Consumer=e};ie.createElement=m0;ie.createFactory=function(e){var t=m0.bind(null,e);return t.type=e,t};ie.createRef=function(){return{current:null}};ie.forwardRef=function(e){return{$$typeof:FC,render:e}};ie.isValidElement=Qh;ie.lazy=function(e){return{$$typeof:$C,_payload:{_status:-1,_result:e},_init:WC}};ie.memo=function(e,t){return{$$typeof:BC,type:e,compare:t===void 0?null:t}};ie.startTransition=function(e){var t=dl.transition;dl.transition={};try{e()}finally{dl.transition=t}};ie.unstable_act=p0;ie.useCallback=function(e,t){return ot.current.useCallback(e,t)};ie.useContext=function(e){return ot.current.useContext(e)};ie.useDebugValue=function(){};ie.useDeferredValue=function(e){return ot.current.useDeferredValue(e)};ie.useEffect=function(e,t){return ot.current.useEffect(e,t)};ie.useId=function(){return ot.current.useId()};ie.useImperativeHandle=function(e,t,n){return ot.current.useImperativeHandle(e,t,n)};ie.useInsertionEffect=function(e,t){return ot.current.useInsertionEffect(e,t)};ie.useLayoutEffect=function(e,t){return ot.current.useLayoutEffect(e,t)};ie.useMemo=function(e,t){return ot.current.useMemo(e,t)};ie.useReducer=function(e,t,n){return ot.current.useReducer(e,t,n)};ie.useRef=function(e){return ot.current.useRef(e)};ie.useState=function(e){return ot.current.useState(e)};ie.useSyncExternalStore=function(e,t,n){return ot.current.useSyncExternalStore(e,t,n)};ie.useTransition=function(){return ot.current.useTransition()};ie.version="18.3.1";a0.exports=ie;var p=a0.exports;const M=ca(p),Xh=MC({__proto__:null,default:M},[p]);/**
10 * @license React
11 * react-jsx-runtime.production.min.js
12 *
13 * Copyright (c) Facebook, Inc. and its affiliates.
14 *
15 * This source code is licensed under the MIT license found in the
16 * LICENSE file in the root directory of this source tree.
17 */var ZC=p,YC=Symbol.for("react.element"),qC=Symbol.for("react.fragment"),QC=Object.prototype.hasOwnProperty,XC=ZC.__SECRET_INT
vendor: 10,212 bytes, lines 17-33
17ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,JC={key:!0,ref:!0,__self:!0,__source:!0};function g0(e,t,n){var r,s={},i=null,a=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)QC.call(t,r)&&!JC.hasOwnProperty(r)&&(s[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)s[r]===void 0&&(s[r]=t[r]);return{$$typeof:YC,type:e,key:i,ref:a,props:s,_owner:XC.current}}Dc.Fragment=qC;Dc.jsx=g0;Dc.jsxs=g0;o0.exports=Dc;var o=o0.exports,v0={exports:{}},Nt={},y0={exports:{}},x0={};/**
18 * @license React
19 * scheduler.production.min.js
20 *
21 * Copyright (c) Facebook, Inc. and its affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */(function(e){function t(E,C){var D=E.length;E.push(C);e:for(;0<D;){var G=D-1>>>1,H=E[G];if(0<s(H,C))E[G]=C,E[D]=H,D=G;else break e}}function n(E){return E.length===0?null:E[0]}function r(E){if(E.length===0)return null;var C=E[0],D=E.pop();if(D!==C){E[0]=D;e:for(var G=0,H=E.length,J=H>>>1;G<J;){var te=2*(G+1)-1,ke=E[te],Ne=te+1,se=E[Ne];if(0>s(ke,D))Ne<H&&0>s(se,ke)?(E[G]=se,E[Ne]=D,G=Ne):(E[G]=ke,E[te]=D,G=te);else if(Ne<H&&0>s(se,D))E[G]=se,E[Ne]=D,G=Ne;else break e}}return C}function s(E,C){var D=E.sortIndex-C.sortIndex;return D!==0?D:E.id-C.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}var c=[],u=[],d=1,f=null,h=3,m=!1,b=!1,g=!1,w=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function x(E){for(var C=n(u);C!==null;){if(C.callback===null)r(u);else if(C.startTime<=E)r(u),C.sortIndex=C.expirationTime,t(c,C);else break;C=n(u)}}function k(E){if(g=!1,x(E),!b)if(n(c)!==null)b=!0,V(S);else{var C=n(u);C!==null&&q(k,C.startTime-E)}}function S(E,C){b=!1,g&&(g=!1,v(N),N=-1),m=!0;var D=h;try{for(x(C),f=n(c);f!==null&&(!(f.expirationTime>C)||E&&!L());){var G=f.callback;if(typeof G=="function"){f.callback=null,h=f.priorityLevel;var H=G(f.expirationTime<=C);C=e.unstable_now(),typeof H=="function"?f.callback=H:f===n(c)&&r(c),x(C)}else r(c);f=n(c)}if(f!==null)var J=!0;else{var te=n(u);te!==null&&q(k,te.startTime-C),J=!1}return J}finally{f=null,h=D,m=!1}}var j=!1,T=null,N=-1,P=5,z=-1;function L(){return!(e.unstable_now()-z<P)}function O(){if(T!==null){var E=e.unstable_now();z=E;var C=!0;try{C=T(!0,E)}finally{C?W():(j=!1,T=null)}}else j=!1}var W;if(typeof y=="function")W=function(){y(O)};else if(typeof MessageChannel<"u"){var I=new MessageChannel,K=I.port2;I.port1.onmessage=O,W=function(){K.postMessage(null)}}else W=function(){w(O,0)};function V(E){T=E,j||(j=!0,W())}function q(E,C){N=w(function(){E(e.unstable_now())},C)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(E){E.callback=null},e.unstable_continueExecution=function(){b||m||(b=!0,V(S))},e.unstable_forceFrameRate=function(E){0>E||125<E?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<E?Math.floor(1e3/E):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(E){switch(h){case 1:case 2:case 3:var C=3;break;default:C=h}var D=h;h=C;try{return E()}finally{h=D}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(E,C){switch(E){case 1:case 2:case 3:case 4:case 5:break;default:E=3}var D=h;h=E;try{return C()}finally{h=D}},e.unstable_scheduleCallback=function(E,C,D){var G=e.unstable_now();switch(typeof D=="object"&&D!==null?(D=D.delay,D=typeof D=="number"&&0<D?G+D:G):D=G,E){case 1:var H=-1;break;case 2:H=250;break;case 5:H=1073741823;break;case 4:H=1e4;break;default:H=5e3}return H=D+H,E={id:d++,callback:C,priorityLevel:E,startTime:D,expirationTime:H,sortIndex:-1},D>G?(E.sortIndex=D,t(u,E),n(c)===null&&E===n(u)&&(g?(v(N),N=-1):g=!0,q(k,D-G))):(E.sortIndex=H,t(c,E),b||m||(b=!0,V(S))),E},e.unstable_shouldYield=L,e.unstable_wrapCallback=function(E){var C=h;return function(){var D=h;h=C;try{return E.apply(this,arguments)}finally{h=D}}}})(x0);y0.exports=x0;var eN=y0.exports;/**
26 * @license React
27 * react-dom.production.min.js
28 *
29 * Copyright (c) Facebook, Inc. and its affiliates.
30 *
31 * This source code is licensed under the MIT license found in the
32 * LICENSE file in the root directory of this source tree.
33 */var tN=p,Ct=eN;function R(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var b0=new Set,Po={};function Ss(e,t){bi(e,t),bi(e+"Capture",t)}function bi(e,t){for(Po[e]=t,e=0;e<t.length;e++)b0.add(t[e])}var Bn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Jd=Object.prototype.hasOwnProperty,nN=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,yg={},xg={};function rN(e){return Jd.call(xg,e)?!0:Jd.call(yg,e)?!1:nN.test(e)?xg[e]=!0:(yg[e]=!0,!1)}function sN(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function iN(e,t,n,r){if(t===null||typeof t>"u"||sN(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function at(e,t,n,r,s,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=s,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var We={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){We[e]=new at(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];We[t]=new at(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){We[e]=new at(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){We[e]=new at(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){We[e]=new at(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){We[e]=new at(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){We[e]=new at(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){We[e]=new at(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){We[e]=new at(e,5,!1,e.toLowerCase(),null,!1,!1)});var Jh=/[\-:]([a-z])/g;function em(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Jh,em);We[t]=new at(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Jh,em);We[t]=new at(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Jh,em);We[t]=new at(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){We[e]=new at(e,1,!1,e.toLowerCase(),null,!1,!1)});We.xlinkHref=new at("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){We[e]=new at(e,1,!1,e.toLowerCase(),null,!0,!0)});function tm(e,t,n,r){var s=We.hasOwnProperty(t)?We[t]:null;(s!==null?s.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(iN(t,n,s,r)&&(n=null),r||s===null?rN(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):s.mustUseProperty?e[s.propertyName]=n===null?s.type===3?!1:"":n:(t=s.attributeName,r=s.attributeNamespace,n===null?e.removeAttribute(t):(s=s.type,n=s===3||s===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}
vendor: 17,003 bytes, lines 33-37
33var Kn=tN.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ma=Symbol.for("react.element"),_s=Symbol.for("react.portal"),Fs=Symbol.for("react.fragment"),nm=Symbol.for("react.strict_mode"),ef=Symbol.for("react.profiler"),w0=Symbol.for("react.provider"),k0=Symbol.for("react.context"),rm=Symbol.for("react.forward_ref"),tf=Symbol.for("react.suspense"),nf=Symbol.for("react.suspense_list"),sm=Symbol.for("react.memo"),lr=Symbol.for("react.lazy"),S0=Symbol.for("react.offscreen"),bg=Symbol.iterator;function Yi(e){return e===null||typeof e!="object"?null:(e=bg&&e[bg]||e["@@iterator"],typeof e=="function"?e:null)}var Ce=Object.assign,Bu;function lo(e){if(Bu===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Bu=t&&t[1]||""}return`
34`+Bu+e}var $u=!1;function Uu(e,t){if(!e||$u)return"";$u=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var s=u.stack.split(`
35`),i=r.stack.split(`
36`),a=s.length-1,l=i.length-1;1<=a&&0<=l&&s[a]!==i[l];)l--;for(;1<=a&&0<=l;a--,l--)if(s[a]!==i[l]){if(a!==1||l!==1)do if(a--,l--,0>l||s[a]!==i[l]){var c=`
37`+s[a].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=a&&0<=l);break}}}finally{$u=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?lo(e):""}function oN(e){switch(e.tag){case 5:return lo(e.type);case 16:return lo("Lazy");case 13:return lo("Suspense");case 19:return lo("SuspenseList");case 0:case 2:case 15:return e=Uu(e.type,!1),e;case 11:return e=Uu(e.type.render,!1),e;case 1:return e=Uu(e.type,!0),e;default:return""}}function rf(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Fs:return"Fragment";case _s:return"Portal";case ef:return"Profiler";case nm:return"StrictMode";case tf:return"Suspense";case nf:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case k0:return(e.displayName||"Context")+".Consumer";case w0:return(e._context.displayName||"Context")+".Provider";case rm:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case sm:return t=e.displayName||null,t!==null?t:rf(e.type)||"Memo";case lr:t=e._payload,e=e._init;try{return rf(e(t))}catch{}}return null}function aN(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return rf(t);case 8:return t===nm?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Rr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function j0(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function lN(e){var t=j0(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var s=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(a){r=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ra(e){e._valueTracker||(e._valueTracker=lN(e))}function T0(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=j0(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Vl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function sf(e,t){var n=t.checked;return Ce({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function wg(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Rr(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function C0(e,t){t=t.checked,t!=null&&tm(e,"checked",t,!1)}function of(e,t){C0(e,t);var n=Rr(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?af(e,t.type,n):t.hasOwnProperty("defaultValue")&&af(e,t.type,Rr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function kg(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function af(e,t,n){(t!=="number"||Vl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var co=Array.isArray;function Js(e,t,n,r){if(e=e.options,t){t={};for(var s=0;s<n.length;s++)t["$"+n[s]]=!0;for(n=0;n<e.length;n++)s=t.hasOwnProperty("$"+e[n].value),e[n].selected!==s&&(e[n].selected=s),s&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Rr(n),t=null,s=0;s<e.length;s++){if(e[s].value===n){e[s].selected=!0,r&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function lf(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(R(91));return Ce({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Sg(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(R(92));if(co(n)){if(1<n.length)throw Error(R(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Rr(n)}}function N0(e,t){var n=Rr(t.value),r=Rr(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function jg(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function z0(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function cf(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?z0(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Da,E0=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,s){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,s)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Da=Da||document.createElement("div"),Da.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Da.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ao(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var po={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},cN=["Webkit","ms","Moz","O"];Object.keys(po).forEach(function(e){cN.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),po[t]=po[e]})});function P0(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||po.hasOwnProperty(e)&&po[e]?(""+t).trim():t+"px"}function A0(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,s=P0(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,s):e[n]=s}}var uN=Ce({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function uf(e,t){if(t){if(uN[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(R(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(R(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(R(61))}if(t.style!=null&&typeof t.style!="object")throw Error(R(62))}}function df(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ff=null;function im(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var hf=null,ei=null,ti=null;function Tg(e){if(e=ha(e)){if(typeof hf!="function")throw Error(R(280));var t=e.stateNode;t&&(t=Fc(t),hf(e.stateNode,e.type,t))}}function M0(e){ei?ti?ti.push(e):ti=[e]:ei=e}function R0(){if(ei){var e=ei,t=ti;if(ti=ei=null,Tg(e),t)for(e=0;e<t.length;e++)Tg(t[e])}}function D0(e,t){return e(t)}function I0(){}var Hu=!1;function O0(e,t,n){if(Hu)return e(t,n);Hu=!0;try{return D0(e,t,n)}finally{Hu=!1,(ei!==null||ti!==null)&&(I0(),R0())}}function Mo(e,t){var n=e.stateNode;if(n===null)return null;var r=Fc(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(R(231,t,typeof n));return n}var mf=!1;if(Bn)try{var qi={};Object.defineProperty(qi,"passive",{get:function(){mf=!0}}),window.addEventListener("test",qi,qi),window.removeEventListener("test",qi,qi)}catch{mf=!1}function dN(e,t,n,r,s,i,a,l,c){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(d){this.onError(d)}}var go=!1,Bl=null,$l=!1,pf=null,fN={onError:function(e){go=!0,Bl=e}};function hN(e,t,n,r,s,i,a,l,c){go=!1,Bl=null,dN.apply(fN,arguments)}function mN(e,t,n,r,s,i,a,l,c){if(hN.apply(this,arguments),go){if(go){var u=Bl;go=!1,Bl=null}else throw Error(R(198));$l||($l=!0,pf=u)}}function js(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function L0(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Cg(e){if(js(e)!==e)throw Error(R(188))}function pN(e){var t=e.alternate;if(!t){if(t=js(e),t===null)throw Error(R(188));return t!==e?null:e}for(var n=e,r=t;;){var s=n.return;if(s===null)break;var i=s.alternate;if(i===null){if(r=s.return,r!==null){n=r;continue}break}if(s.child===i.child){for(i=s.child;i;){if(i===n)return Cg(s),e;if(i===r)return Cg(s),t;i=i.sibling}throw Error(R(188))}if(n.return!==r.return)n=s,r=i;else{for(var a=!1,l=s.child;l;){if(l===n){a=!0,n=s,r=i;break}if(l===r){a=!0,r=s,n=i;break}l=l.sibling}if(!a){for(l=i.child;l;){if(l===n){a=!0,n=i,r=s;break}if(l===r){a=!0,r=i,n=s;break}l=l.sibling}if(!a)throw Error(R(189))}}if(n.alternate!==r)throw Error(R(190))}if(n.tag!==3)throw Error(R(188));return n.stateNode.current===n?e:t}function _0(e){return e=pN(e),e!==null?F0(e):null}function F0(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=F0(e);if(t!==null)return t;e=e.sibling}return null}var V0=Ct.unstable_scheduleCallback,Ng=Ct.unstable_cancelCallback,gN=Ct.unstable_shouldYield,vN=Ct.unstable_requestPaint,Pe=Ct.unstable_now,yN=Ct.unstable_getCurrentPriorityLevel,om=Ct.unstable_ImmediatePriority,B0=Ct.unstable_UserBlockingPriority,Ul=Ct.unstable_NormalPriority,xN=Ct.unstable_LowPriority,$0=Ct.unstable_IdlePriority,Ic=null,wn=null;function bN(e){if(wn&&typeof wn.onCommitFiberRoot=="function")try{wn.onCommitFiberRoot(Ic,e,void 0,(e.current.flags&128)===128)}catch{}}var nn=Math.clz32?Math.clz32:SN,wN=Math.log,kN=Math.LN2;function SN(e){return e>>>=0,e===0?32:31-(wN(e)/kN|0)|0}var Ia=64,Oa=4194304;function uo(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Hl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,s=e.suspendedLanes,i=e.pingedLanes,a=n&268435455;if(a!==0){var l=a&~s;l!==0?r=uo(l):(i&=a,i!==0&&(r=uo(i)))}else a=n&~s,a!==0?r=uo(a):i!==0&&(r=uo(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&s)&&(s=r&-r,i=t&-t,s>=i||s===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-nn(t),s=1<<n,r|=e[n],t&=~s;return r}function jN(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function TN(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,s=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-nn(i),l=1<<a,c=s[a];c===-1?(!(l&n)||l&r)&&(s[a]=jN(l,t)):c<=t&&(e.expiredLanes|=l),i&=~l}}function gf(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function U0(){var e=Ia;return Ia<<=1,!(Ia&4194240)&&(Ia=64),e}function Gu(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function da(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-nn(t),e[t]=n}function CN(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var s=31-nn(n),i=1<<s;t[s]=0,r[s]=-1,e[s]=-1,n&=~i}}function am(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-nn(n),s=1<<r;s&t|e[r]&t&&(e[r]|=t),n&=~s}}var de=0;function H0(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var G0,lm,W0,K0,Z0,vf=!1,La=[],Sr=null,jr=null,Tr=null,Ro=new Map,Do=new Map,ur=[],NN="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function zg(e,t){switch(e){case"focusin":case"focusout":Sr=null;break;case"dragenter":case"dragleave":jr=null;break;case"mouseover":case"mouseout":Tr=null;break;case"pointerover":case"pointerout":Ro.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Do.delete(t.pointerId)}}function Qi(e,t,n,r,s,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[s]},t!==null&&(t=ha(t),t!==null&&lm(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}function zN(e,t,n,r,s){switch(t){case"focusin":return Sr=Qi(Sr,e,t,n,r,s),!0;case"dragenter":return jr=Qi(jr,e,t,n,r,s),!0;case"mouseover":return Tr=Qi(Tr,e,t,n,r,s),!0;case"pointerover":var i=s.pointerId;
vendor: 11,502 bytes, line 37
37return Ro.set(i,Qi(Ro.get(i)||null,e,t,n,r,s)),!0;case"gotpointercapture":return i=s.pointerId,Do.set(i,Qi(Do.get(i)||null,e,t,n,r,s)),!0}return!1}function Y0(e){var t=Jr(e.target);if(t!==null){var n=js(t);if(n!==null){if(t=n.tag,t===13){if(t=L0(n),t!==null){e.blockedOn=t,Z0(e.priority,function(){W0(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function fl(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=yf(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);ff=r,n.target.dispatchEvent(r),ff=null}else return t=ha(n),t!==null&&lm(t),e.blockedOn=n,!1;t.shift()}return!0}function Eg(e,t,n){fl(e)&&n.delete(t)}function EN(){vf=!1,Sr!==null&&fl(Sr)&&(Sr=null),jr!==null&&fl(jr)&&(jr=null),Tr!==null&&fl(Tr)&&(Tr=null),Ro.forEach(Eg),Do.forEach(Eg)}function Xi(e,t){e.blockedOn===t&&(e.blockedOn=null,vf||(vf=!0,Ct.unstable_scheduleCallback(Ct.unstable_NormalPriority,EN)))}function Io(e){function t(s){return Xi(s,e)}if(0<La.length){Xi(La[0],e);for(var n=1;n<La.length;n++){var r=La[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Sr!==null&&Xi(Sr,e),jr!==null&&Xi(jr,e),Tr!==null&&Xi(Tr,e),Ro.forEach(t),Do.forEach(t),n=0;n<ur.length;n++)r=ur[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<ur.length&&(n=ur[0],n.blockedOn===null);)Y0(n),n.blockedOn===null&&ur.shift()}var ni=Kn.ReactCurrentBatchConfig,Gl=!0;function PN(e,t,n,r){var s=de,i=ni.transition;ni.transition=null;try{de=1,cm(e,t,n,r)}finally{de=s,ni.transition=i}}function AN(e,t,n,r){var s=de,i=ni.transition;ni.transition=null;try{de=4,cm(e,t,n,r)}finally{de=s,ni.transition=i}}function cm(e,t,n,r){if(Gl){var s=yf(e,t,n,r);if(s===null)td(e,t,r,Wl,n),zg(e,r);else if(zN(s,e,t,n,r))r.stopPropagation();else if(zg(e,r),t&4&&-1<NN.indexOf(e)){for(;s!==null;){var i=ha(s);if(i!==null&&G0(i),i=yf(e,t,n,r),i===null&&td(e,t,r,Wl,n),i===s)break;s=i}s!==null&&r.stopPropagation()}else td(e,t,r,null,n)}}var Wl=null;function yf(e,t,n,r){if(Wl=null,e=im(r),e=Jr(e),e!==null)if(t=js(e),t===null)e=null;else if(n=t.tag,n===13){if(e=L0(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Wl=e,null}function q0(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(yN()){case om:return 1;case B0:return 4;case Ul:case xN:return 16;case $0:return 536870912;default:return 16}default:return 16}}var xr=null,um=null,hl=null;function Q0(){if(hl)return hl;var e,t=um,n=t.length,r,s="value"in xr?xr.value:xr.textContent,i=s.length;for(e=0;e<n&&t[e]===s[e];e++);var a=n-e;for(r=1;r<=a&&t[n-r]===s[i-r];r++);return hl=s.slice(e,1<r?1-r:void 0)}function ml(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function _a(){return!0}function Pg(){return!1}function zt(e){function t(n,r,s,i,a){this._reactName=n,this._targetInst=s,this.type=r,this.nativeEvent=i,this.target=a,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(i):i[l]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?_a:Pg,this.isPropagationStopped=Pg,this}return Ce(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=_a)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=_a)},persist:function(){},isPersistent:_a}),t}var Oi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},dm=zt(Oi),fa=Ce({},Oi,{view:0,detail:0}),MN=zt(fa),Wu,Ku,Ji,Oc=Ce({},fa,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:fm,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Ji&&(Ji&&e.type==="mousemove"?(Wu=e.screenX-Ji.screenX,Ku=e.screenY-Ji.screenY):Ku=Wu=0,Ji=e),Wu)},movementY:function(e){return"movementY"in e?e.movementY:Ku}}),Ag=zt(Oc),RN=Ce({},Oc,{dataTransfer:0}),DN=zt(RN),IN=Ce({},fa,{relatedTarget:0}),Zu=zt(IN),ON=Ce({},Oi,{animationName:0,elapsedTime:0,pseudoElement:0}),LN=zt(ON),_N=Ce({},Oi,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),FN=zt(_N),VN=Ce({},Oi,{data:0}),Mg=zt(VN),BN={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},$N={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},UN={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function HN(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=UN[e])?!!t[e]:!1}function fm(){return HN}var GN=Ce({},fa,{key:function(e){if(e.key){var t=BN[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ml(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?$N[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:fm,charCode:function(e){return e.type==="keypress"?ml(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ml(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),WN=zt(GN),KN=Ce({},Oc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Rg=zt(KN),ZN=Ce({},fa,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:fm}),YN=zt(ZN),qN=Ce({},Oi,{propertyName:0,elapsedTime:0,pseudoElement:0}),QN=zt(qN),XN=Ce({},Oc,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),JN=zt(XN),ez=[9,13,27,32],hm=Bn&&"CompositionEvent"in window,vo=null;Bn&&"documentMode"in document&&(vo=document.documentMode);var tz=Bn&&"TextEvent"in window&&!vo,X0=Bn&&(!hm||vo&&8<vo&&11>=vo),Dg=" ",Ig=!1;function J0(e,t){switch(e){case"keyup":return ez.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function eb(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Vs=!1;function nz(e,t){switch(e){case"compositionend":return eb(t);case"keypress":return t.which!==32?null:(Ig=!0,Dg);case"textInput":return e=t.data,e===Dg&&Ig?null:e;default:return null}}function rz(e,t){if(Vs)return e==="compositionend"||!hm&&J0(e,t)?(e=Q0(),hl=um=xr=null,Vs=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return X0&&t.locale!=="ko"?null:t.data;default:return null}}var sz={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Og(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!sz[e.type]:t==="textarea"}function tb(e,t,n,r){M0(r),t=Kl(t,"onChange"),0<t.length&&(n=new dm("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var yo=null,Oo=null;function iz(e){fb(e,0)}function Lc(e){var t=Us(e);if(T0(t))return e}function oz(e,t){if(e==="change")return t}var nb=!1;if(Bn){var Yu;if(Bn){var qu="oninput"in document;if(!qu){var Lg=document.createElement("div");Lg.setAttribute("oninput","return;"),qu=typeof Lg.oninput=="function"}Yu=qu}else Yu=!1;nb=Yu&&(!document.documentMode||9<document.documentMode)}function _g(){yo&&(yo.detachEvent("onpropertychange",rb),Oo=yo=null)}function rb(e){if(e.propertyName==="value"&&Lc(Oo)){var t=[];tb(t,Oo,e,im(e)),O0(iz,t)}}function az(e,t,n){e==="focusin"?(_g(),yo=t,Oo=n,yo.attachEvent("onpropertychange",rb)):e==="focusout"&&_g()}function lz(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Lc(Oo)}function cz(e,t){if(e==="click")return Lc(t)}function uz(e,t){if(e==="input"||e==="change")return Lc(t)}function dz(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var on=typeof Object.is=="function"?Object.is:dz;function Lo(e,t){if(on(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var s=n[r];if(!Jd.call(t,s)||!on(e[s],t[s]))return!1}return!0}function Fg(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Vg(e,t){var n=Fg(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Fg(n)}}function sb(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?sb(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ib(){for(var e=window,t=Vl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Vl(e.document)}return t}function mm(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function fz(e){var t=ib(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&sb(n.ownerDocument.documentElement,n)){if(r!==null&&mm(n)){if
vendor: 5,074 bytes, line 37
37(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var s=n.textContent.length,i=Math.min(r.start,s);r=r.end===void 0?i:Math.min(r.end,s),!e.extend&&i>r&&(s=r,r=i,i=s),s=Vg(n,i);var a=Vg(n,r);s&&a&&(e.rangeCount!==1||e.anchorNode!==s.node||e.anchorOffset!==s.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(s.node,s.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var hz=Bn&&"documentMode"in document&&11>=document.documentMode,Bs=null,xf=null,xo=null,bf=!1;function Bg(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;bf||Bs==null||Bs!==Vl(r)||(r=Bs,"selectionStart"in r&&mm(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),xo&&Lo(xo,r)||(xo=r,r=Kl(xf,"onSelect"),0<r.length&&(t=new dm("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Bs)))}function Fa(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var $s={animationend:Fa("Animation","AnimationEnd"),animationiteration:Fa("Animation","AnimationIteration"),animationstart:Fa("Animation","AnimationStart"),transitionend:Fa("Transition","TransitionEnd")},Qu={},ob={};Bn&&(ob=document.createElement("div").style,"AnimationEvent"in window||(delete $s.animationend.animation,delete $s.animationiteration.animation,delete $s.animationstart.animation),"TransitionEvent"in window||delete $s.transitionend.transition);function _c(e){if(Qu[e])return Qu[e];if(!$s[e])return e;var t=$s[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in ob)return Qu[e]=t[n];return e}var ab=_c("animationend"),lb=_c("animationiteration"),cb=_c("animationstart"),ub=_c("transitionend"),db=new Map,$g="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Br(e,t){db.set(e,t),Ss(t,[e])}for(var Xu=0;Xu<$g.length;Xu++){var Ju=$g[Xu],mz=Ju.toLowerCase(),pz=Ju[0].toUpperCase()+Ju.slice(1);Br(mz,"on"+pz)}Br(ab,"onAnimationEnd");Br(lb,"onAnimationIteration");Br(cb,"onAnimationStart");Br("dblclick","onDoubleClick");Br("focusin","onFocus");Br("focusout","onBlur");Br(ub,"onTransitionEnd");bi("onMouseEnter",["mouseout","mouseover"]);bi("onMouseLeave",["mouseout","mouseover"]);bi("onPointerEnter",["pointerout","pointerover"]);bi("onPointerLeave",["pointerout","pointerover"]);Ss("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Ss("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Ss("onBeforeInput",["compositionend","keypress","textInput","paste"]);Ss("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Ss("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Ss("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var fo="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),gz=new Set("cancel close invalid load scroll toggle".split(" ").concat(fo));function Ug(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,mN(r,t,void 0,e),e.currentTarget=null}function fb(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],s=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var l=r[a],c=l.instance,u=l.currentTarget;if(l=l.listener,c!==i&&s.isPropagationStopped())break e;Ug(s,l,u),i=c}else for(a=0;a<r.length;a++){if(l=r[a],c=l.instance,u=l.currentTarget,l=l.listener,c!==i&&s.isPropagationStopped())break e;Ug(s,l,u),i=c}}}if($l)throw e=pf,$l=!1,pf=null,e}function ve(e,t){var n=t[Tf];n===void 0&&(n=t[Tf]=new Set);var r=e+"__bubble";n.has(r)||(hb(t,e,2,!1),n.add(r))}function ed(e,t,n){var r=0;t&&(r|=4),hb(n,e,r,t)}var Va="_reactListening"+Math.random().toString(36).slice(2);
vendor: 3,228 bytes, line 37
37function _o(e){if(!e[Va]){e[Va]=!0,b0.forEach(function(n){n!=="selectionchange"&&(gz.has(n)||ed(n,!1,e),ed(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Va]||(t[Va]=!0,ed("selectionchange",!1,t))}}function hb(e,t,n,r){switch(q0(t)){case 1:var s=PN;break;case 4:s=AN;break;default:s=cm}n=s.bind(null,t,n,e),s=void 0,!mf||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(s=!0),r?s!==void 0?e.addEventListener(t,n,{capture:!0,passive:s}):e.addEventListener(t,n,!0):s!==void 0?e.addEventListener(t,n,{passive:s}):e.addEventListener(t,n,!1)}function td(e,t,n,r,s){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var a=r.tag;if(a===3||a===4){var l=r.stateNode.containerInfo;if(l===s||l.nodeType===8&&l.parentNode===s)break;if(a===4)for(a=r.return;a!==null;){var c=a.tag;if((c===3||c===4)&&(c=a.stateNode.containerInfo,c===s||c.nodeType===8&&c.parentNode===s))return;a=a.return}for(;l!==null;){if(a=Jr(l),a===null)return;if(c=a.tag,c===5||c===6){r=i=a;continue e}l=l.parentNode}}r=r.return}O0(function(){var u=i,d=im(n),f=[];e:{var h=db.get(e);if(h!==void 0){var m=dm,b=e;switch(e){case"keypress":if(ml(n)===0)break e;case"keydown":case"keyup":m=WN;break;case"focusin":b="focus",m=Zu;break;case"focusout":b="blur",m=Zu;break;case"beforeblur":case"afterblur":m=Zu;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":m=Ag;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":m=DN;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":m=YN;break;case ab:case lb:case cb:m=LN;break;case ub:m=QN;break;case"scroll":m=MN;break;case"wheel":m=JN;break;case"copy":case"cut":case"paste":m=FN;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":m=Rg}var g=(t&4)!==0,w=!g&&e==="scroll",v=g?h!==null?h+"Capture":null:h;g=[];for(var y=u,x;y!==null;){x=y;var k=x.stateNode;if(x.tag===5&&k!==null&&(x=k,v!==null&&(k=Mo(y,v),k!=null&&g.push(Fo(y,k,x)))),w)break;y=y.return}0<g.length&&(h=new m(h,b,null,n,d),f.push({event:h,listeners:g}))}}if(!(t&7)){e:{if(h=e==="mouseover"||e==="pointerover",m=e==="mouseout"||e==="pointerout",h&&n!==ff&&(b=n.relatedTarget||n.fromElement)&&(Jr(b)||b[$n]))break e;if((m||h)&&(h=d.window===d?d:(h=d.ownerDocument)?h.defaultView||h.parentWindow:window,m?(b=n.relatedTarget||n.toElement,m=u,b=b?Jr(b):null,b!==null&&(w=js(b),b!==w||b.tag!==5&&b.tag!==6)&&(b=null)):(m=null,b=u),m!==b)){if(g=Ag,k="onMouseLeave",v="onMouseEnter",y="mouse",(e==="pointerout"||e==="pointerover")&&(g=Rg,k="onPointerLeave",v="onPointerEnter",y="pointer"),w=m==null?h:Us(m),x=b==null?h:Us(b),h=new g(k,y+"leave",m,n,d),h.target=w,h.relatedTarget=x,k=null,Jr(d)===u&&(g=new g(v,y+"enter",b,n,d),g.target=x,g.relatedTarget=w,k=g),w=k,m&&b)t:{for(g=m,v=b,y=0,x=g;x;x=Ms(x))y++;for(x=0,k=v;k;k=Ms(k))x++;for(;0<y-x;)g=Ms(g),y--;for(;0<x-y;)v=Ms(v),x--;for(;y--;){if(g===v||v!==null&&g===v.alternate)break t;g=Ms(g),v=Ms(v)}g=null}else g=null;m!==null&&Hg(f,h,m,g,!1),b!==null&&w!==null&&Hg(f,w,b,g,!0)}}
vendor: 5,805 bytes, lines 37-38
37e:{if(h=u?Us(u):window,m=h.nodeName&&h.nodeName.toLowerCase(),m==="select"||m==="input"&&h.type==="file")var S=oz;else if(Og(h))if(nb)S=uz;else{S=lz;var j=az}else(m=h.nodeName)&&m.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(S=cz);if(S&&(S=S(e,u))){tb(f,S,n,d);break e}j&&j(e,h,u),e==="focusout"&&(j=h._wrapperState)&&j.controlled&&h.type==="number"&&af(h,"number",h.value)}switch(j=u?Us(u):window,e){case"focusin":(Og(j)||j.contentEditable==="true")&&(Bs=j,xf=u,xo=null);break;case"focusout":xo=xf=Bs=null;break;case"mousedown":bf=!0;break;case"contextmenu":case"mouseup":case"dragend":bf=!1,Bg(f,n,d);break;case"selectionchange":if(hz)break;case"keydown":case"keyup":Bg(f,n,d)}var T;if(hm)e:{switch(e){case"compositionstart":var N="onCompositionStart";break e;case"compositionend":N="onCompositionEnd";break e;case"compositionupdate":N="onCompositionUpdate";break e}N=void 0}else Vs?J0(e,n)&&(N="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(N="onCompositionStart");N&&(X0&&n.locale!=="ko"&&(Vs||N!=="onCompositionStart"?N==="onCompositionEnd"&&Vs&&(T=Q0()):(xr=d,um="value"in xr?xr.value:xr.textContent,Vs=!0)),j=Kl(u,N),0<j.length&&(N=new Mg(N,e,null,n,d),f.push({event:N,listeners:j}),T?N.data=T:(T=eb(n),T!==null&&(N.data=T)))),(T=tz?nz(e,n):rz(e,n))&&(u=Kl(u,"onBeforeInput"),0<u.length&&(d=new Mg("onBeforeInput","beforeinput",null,n,d),f.push({event:d,listeners:u}),d.data=T))}fb(f,t)})}function Fo(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Kl(e,t){for(var n=t+"Capture",r=[];e!==null;){var s=e,i=s.stateNode;s.tag===5&&i!==null&&(s=i,i=Mo(e,n),i!=null&&r.unshift(Fo(e,i,s)),i=Mo(e,t),i!=null&&r.push(Fo(e,i,s))),e=e.return}return r}function Ms(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Hg(e,t,n,r,s){for(var i=t._reactName,a=[];n!==null&&n!==r;){var l=n,c=l.alternate,u=l.stateNode;if(c!==null&&c===r)break;l.tag===5&&u!==null&&(l=u,s?(c=Mo(n,i),c!=null&&a.unshift(Fo(n,c,l))):s||(c=Mo(n,i),c!=null&&a.push(Fo(n,c,l)))),n=n.return}a.length!==0&&e.push({event:t,listeners:a})}var vz=/\r\n?/g,yz=/\u0000|\uFFFD/g;function Gg(e){return(typeof e=="string"?e:""+e).replace(vz,`
38`).replace(yz,"")}function Ba(e,t,n){if(t=Gg(t),Gg(e)!==t&&n)throw Error(R(425))}function Zl(){}var wf=null,kf=null;function Sf(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var jf=typeof setTimeout=="function"?setTimeout:void 0,xz=typeof clearTimeout=="function"?clearTimeout:void 0,Wg=typeof Promise=="function"?Promise:void 0,bz=typeof queueMicrotask=="function"?queueMicrotask:typeof Wg<"u"?function(e){return Wg.resolve(null).then(e).catch(wz)}:jf;function wz(e){setTimeout(function(){throw e})}function nd(e,t){var n=t,r=0;do{var s=n.nextSibling;if(e.removeChild(n),s&&s.nodeType===8)if(n=s.data,n==="/$"){if(r===0){e.removeChild(s),Io(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=s}while(n);Io(t)}function Cr(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Kg(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Li=Math.random().toString(36).slice(2),xn="__reactFiber$"+Li,Vo="__reactProps$"+Li,$n="__reactContainer$"+Li,Tf="__reactEvents$"+Li,kz="__reactListeners$"+Li,Sz="__reactHandles$"+Li;function Jr(e){var t=e[xn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[$n]||n[xn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Kg(e);e!==null;){if(n=e[xn])return n;e=Kg(e)}return t}e=n,n=e.parentNode}return null}function ha(e){return e=e[xn]||e[$n],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Us(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(R(33))}function Fc(e){return e[Vo]||null}var Cf=[],Hs=-1;function $r(e){return{current:e}}function xe(e){0>Hs||(e.current=Cf[Hs],Cf[Hs]=null,Hs--)}function pe(e,t){Hs++,Cf[Hs]=e.current,e.current=t}var Dr={},Je=$r(Dr),mt=$r(!1),gs=Dr;function wi(e,t){var n=e.type.contextTypes;if(!n)return Dr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var s={},i;for(i in n)s[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=s),s}function pt(e){return e=e.childContextTypes,e!=null}function Yl(){xe(mt),xe(Je)}function Zg(e,t,n){if(Je.current!==Dr)throw Error(R(168));pe(Je,t),pe(mt,n)}function mb(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var s in r)if(!(s in t))throw Error(R(108,aN(e)||"Unknown",s));return Ce({},n,r)}function ql(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Dr,gs=Je.current,pe(Je,e),pe(mt,mt.current),!0}function Yg(e,t,n){var r=e.stateNode;if(!r)throw Error(R(169));n?(e=mb(e,t,gs),r.__reactInternalMemoizedMergedChildContext=e,xe(mt),xe(Je),pe(Je,e)):xe(mt),pe(mt,n)}var In=null,Vc=!1,rd=!1;function pb(e){In===null?In=[e]:In.push(e)}function jz(e){Vc=!0,pb(e)}function Ur(){if(!rd&&In!==null){rd=!0;var e=0,t=de;try{var n=In;for(de=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}In=null,Vc=!1}catch(s){throw In!==null&&(In=In.slice(e+1)),V0(om,Ur),s}finally{de=t,rd=!1}}return null}var Gs=[],Ws=0,Ql=null,Xl=0,Mt=[],Rt=0,vs=null,Ln=1,_n="";function qr(e,t){Gs[Ws++]=Xl,Gs[Ws++]=Ql,Ql=e,Xl=t}function gb(e,t,n){Mt[Rt++]=Ln,Mt[Rt++]=_n,Mt[Rt++]=vs,vs=e;var r=Ln;e=_n;var s=32-nn(r)-1;r&=~(1<<s),n+=1;var i=32-nn(t)+s;
vendor: 25,521 bytes, lines 38-40
38if(30<i){var a=s-s%5;i=(r&(1<<a)-1).toString(32),r>>=a,s-=a,Ln=1<<32-nn(t)+s|n<<s|r,_n=i+e}else Ln=1<<i|n<<s|r,_n=e}function pm(e){e.return!==null&&(qr(e,1),gb(e,1,0))}function gm(e){for(;e===Ql;)Ql=Gs[--Ws],Gs[Ws]=null,Xl=Gs[--Ws],Gs[Ws]=null;for(;e===vs;)vs=Mt[--Rt],Mt[Rt]=null,_n=Mt[--Rt],Mt[Rt]=null,Ln=Mt[--Rt],Mt[Rt]=null}var kt=null,wt=null,we=!1,en=null;function vb(e,t){var n=Dt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function qg(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,kt=e,wt=Cr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,kt=e,wt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=vs!==null?{id:Ln,overflow:_n}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Dt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,kt=e,wt=null,!0):!1;default:return!1}}function Nf(e){return(e.mode&1)!==0&&(e.flags&128)===0}function zf(e){if(we){var t=wt;if(t){var n=t;if(!qg(e,t)){if(Nf(e))throw Error(R(418));t=Cr(n.nextSibling);var r=kt;t&&qg(e,t)?vb(r,n):(e.flags=e.flags&-4097|2,we=!1,kt=e)}}else{if(Nf(e))throw Error(R(418));e.flags=e.flags&-4097|2,we=!1,kt=e}}}function Qg(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;kt=e}function $a(e){if(e!==kt)return!1;if(!we)return Qg(e),we=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Sf(e.type,e.memoizedProps)),t&&(t=wt)){if(Nf(e))throw yb(),Error(R(418));for(;t;)vb(e,t),t=Cr(t.nextSibling)}if(Qg(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(R(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){wt=Cr(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}wt=null}}else wt=kt?Cr(e.stateNode.nextSibling):null;return!0}function yb(){for(var e=wt;e;)e=Cr(e.nextSibling)}function ki(){wt=kt=null,we=!1}function vm(e){en===null?en=[e]:en.push(e)}var Tz=Kn.ReactCurrentBatchConfig;function eo(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(R(309));var r=n.stateNode}if(!r)throw Error(R(147,e));var s=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(a){var l=s.refs;a===null?delete l[i]:l[i]=a},t._stringRef=i,t)}if(typeof e!="string")throw Error(R(284));if(!n._owner)throw Error(R(290,e))}return e}function Ua(e,t){throw e=Object.prototype.toString.call(t),Error(R(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Xg(e){var t=e._init;return t(e._payload)}function xb(e){function t(v,y){if(e){var x=v.deletions;x===null?(v.deletions=[y],v.flags|=16):x.push(y)}}function n(v,y){if(!e)return null;for(;y!==null;)t(v,y),y=y.sibling;return null}function r(v,y){for(v=new Map;y!==null;)y.key!==null?v.set(y.key,y):v.set(y.index,y),y=y.sibling;return v}function s(v,y){return v=Pr(v,y),v.index=0,v.sibling=null,v}function i(v,y,x){return v.index=x,e?(x=v.alternate,x!==null?(x=x.index,x<y?(v.flags|=2,y):x):(v.flags|=2,y)):(v.flags|=1048576,y)}function a(v){return e&&v.alternate===null&&(v.flags|=2),v}function l(v,y,x,k){return y===null||y.tag!==6?(y=ud(x,v.mode,k),y.return=v,y):(y=s(y,x),y.return=v,y)}function c(v,y,x,k){var S=x.type;return S===Fs?d(v,y,x.props.children,k,x.key):y!==null&&(y.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===lr&&Xg(S)===y.type)?(k=s(y,x.props),k.ref=eo(v,y,x),k.return=v,k):(k=wl(x.type,x.key,x.props,null,v.mode,k),k.ref=eo(v,y,x),k.return=v,k)}function u(v,y,x,k){return y===null||y.tag!==4||y.stateNode.containerInfo!==x.containerInfo||y.stateNode.implementation!==x.implementation?(y=dd(x,v.mode,k),y.return=v,y):(y=s(y,x.children||[]),y.return=v,y)}function d(v,y,x,k,S){return y===null||y.tag!==7?(y=fs(x,v.mode,k,S),y.return=v,y):(y=s(y,x),y.return=v,y)}function f(v,y,x){if(typeof y=="string"&&y!==""||typeof y=="number")return y=ud(""+y,v.mode,x),y.return=v,y;if(typeof y=="object"&&y!==null){switch(y.$$typeof){case Ma:return x=wl(y.type,y.key,y.props,null,v.mode,x),x.ref=eo(v,null,y),x.return=v,x;case _s:return y=dd(y,v.mode,x),y.return=v,y;case lr:var k=y._init;return f(v,k(y._payload),x)}if(co(y)||Yi(y))return y=fs(y,v.mode,x,null),y.return=v,y;Ua(v,y)}return null}function h(v,y,x,k){var S=y!==null?y.key:null;if(typeof x=="string"&&x!==""||typeof x=="number")return S!==null?null:l(v,y,""+x,k);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case Ma:return x.key===S?c(v,y,x,k):null;case _s:return x.key===S?u(v,y,x,k):null;case lr:return S=x._init,h(v,y,S(x._payload),k)}if(co(x)||Yi(x))return S!==null?null:d(v,y,x,k,null);Ua(v,x)}return null}function m(v,y,x,k,S){if(typeof k=="string"&&k!==""||typeof k=="number")return v=v.get(x)||null,l(y,v,""+k,S);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case Ma:return v=v.get(k.key===null?x:k.key)||null,c(y,v,k,S);case _s:return v=v.get(k.key===null?x:k.key)||null,u(y,v,k,S);case lr:var j=k._init;return m(v,y,x,j(k._payload),S)}if(co(k)||Yi(k))return v=v.get(x)||null,d(y,v,k,S,null);Ua(y,k)}return null}function b(v,y,x,k){for(var S=null,j=null,T=y,N=y=0,P=null;T!==null&&N<x.length;N++){T.index>N?(P=T,T=null):P=T.sibling;var z=h(v,T,x[N],k);if(z===null){T===null&&(T=P);break}e&&T&&z.alternate===null&&t(v,T),y=i(z,y,N),j===null?S=z:j.sibling=z,j=z,T=P}if(N===x.length)return n(v,T),we&&qr(v,N),S;if(T===null){for(;N<x.length;N++)T=f(v,x[N],k),T!==null&&(y=i(T,y,N),j===null?S=T:j.sibling=T,j=T);return we&&qr(v,N),S}for(T=r(v,T);N<x.length;N++)P=m(T,v,N,x[N],k),P!==null&&(e&&P.alternate!==null&&T.delete(P.key===null?N:P.key),y=i(P,y,N),j===null?S=P:j.sibling=P,j=P);return e&&T.forEach(function(L){return t(v,L)}),we&&qr(v,N),S}function g(v,y,x,k){var S=Yi(x);if(typeof S!="function")throw Error(R(150));if(x=S.call(x),x==null)throw Error(R(151));for(var j=S=null,T=y,N=y=0,P=null,z=x.next();T!==null&&!z.done;N++,z=x.next()){T.index>N?(P=T,T=null):P=T.sibling;var L=h(v,T,z.value,k);if(L===null){T===null&&(T=P);break}e&&T&&L.alternate===null&&t(v,T),y=i(L,y,N),j===null?S=L:j.sibling=L,j=L,T=P}if(z.done)return n(v,T),we&&qr(v,N),S;if(T===null){for(;!z.done;N++,z=x.next())z=f(v,z.value,k),z!==null&&(y=i(z,y,N),j===null?S=z:j.sibling=z,j=z);return we&&qr(v,N),S}for(T=r(v,T);!z.done;N++,z=x.next())z=m(T,v,N,z.value,k),z!==null&&(e&&z.alternate!==null&&T.delete(z.key===null?N:z.key),y=i(z,y,N),j===null?S=z:j.sibling=z,j=z);return e&&T.forEach(function(O){return t(v,O)}),we&&qr(v,N),S}function w(v,y,x,k){if(typeof x=="object"&&x!==null&&x.type===Fs&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case Ma:e:{for(var S=x.key,j=y;j!==null;){if(j.key===S){if(S=x.type,S===Fs){if(j.tag===7){n(v,j.sibling),y=s(j,x.props.children),y.return=v,v=y;break e}}else if(j.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===lr&&Xg(S)===j.type){n(v,j.sibling),y=s(j,x.props),y.ref=eo(v,j,x),y.return=v,v=y;break e}n(v,j);break}else t(v,j);j=j.sibling}x.type===Fs?(y=fs(x.props.children,v.mode,k,x.key),y.return=v,v=y):(k=wl(x.type,x.key,x.props,null,v.mode,k),k.ref=eo(v,y,x),k.return=v,v=k)}return a(v);case _s:e:{for(j=x.key;y!==null;){if(y.key===j)if(y.tag===4&&y.stateNode.containerInfo===x.containerInfo&&y.stateNode.implementation===x.implementation){n(v,y.sibling),y=s(y,x.children||[]),y.return=v,v=y;break e}else{n(v,y);break}else t(v,y);y=y.sibling}y=dd(x,v.mode,k),y.return=v,v=y}return a(v);case lr:return j=x._init,w(v,y,j(x._payload),k)}if(co(x))return b(v,y,x,k);if(Yi(x))return g(v,y,x,k);Ua(v,x)}return typeof x=="string"&&x!==""||typeof x=="number"?(x=""+x,y!==null&&y.tag===6?(n(v,y.sibling),y=s(y,x),y.return=v,v=y):(n(v,y),y=ud(x,v.mode,k),y.return=v,v=y),a(v)):n(v,y)}return w}var Si=xb(!0),bb=xb(!1),Jl=$r(null),ec=null,Ks=null,ym=null;function xm(){ym=Ks=ec=null}function bm(e){var t=Jl.current;xe(Jl),e._currentValue=t}function Ef(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function ri(e,t){ec=e,ym=Ks=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ht=!0),e.firstContext=null)}function Ft(e){var t=e._currentValue;if(ym!==e)if(e={context:e,memoizedValue:t,next:null},Ks===null){if(ec===null)throw Error(R(308));Ks=e,ec.dependencies={lanes:0,firstContext:e}}else Ks=Ks.next=e;return t}var es=null;function wm(e){es===null?es=[e]:es.push(e)}function wb(e,t,n,r){var s=t.interleaved;return s===null?(n.next=n,wm(t)):(n.next=s.next,s.next=n),t.interleaved=n,Un(e,r)}function Un(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var cr=!1;function km(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function kb(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Fn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Nr(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,ae&2){var s=r.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),r.pending=t,Un(e,n)}return s=r.interleaved,s===null?(t.next=t,wm(r)):(t.next=s.next,s.next=t),r.interleaved=t,Un(e,n)}function pl(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,am(e,n)}}function Jg(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var s=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?s=i=a:i=i.next=a,n=n.next}while(n!==null);i===null?s=i=t:i=i.next=t}else s=i=t;n={baseState:r.baseState,firstBaseUpdate:s,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function tc(e,t,n,r){var s=e.updateQueue;cr=!1;var i=s.firstBaseUpdate,a=s.lastBaseUpdate,l=s.shared.pending;if(l!==null){s.shared.pending=null;var c=l,u=c.next;c.next=null,a===null?i=u:a.next=u,a=c;var d=e.alternate;d!==null&&(d=d.updateQueue,l=d.lastBaseUpdate,l!==a&&(l===null?d.firstBaseUpdate=u:l.next=u,d.lastBaseUpdate=c))}if(i!==null){var f=s.baseState;a=0,d=u=c=null,l=i;do{var h=l.lane,m=l.eventTime;if((r&h)===h){d!==null&&(d=d.next={eventTime:m,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var b=e,g=l;switch(h=t,m=n,g.tag){case 1:if(b=g.payload,typeof b=="function"){f=b.call(m,f,h);break e}f=b;break e;case 3:b.flags=b.flags&-65537|128;case 0:if(b=g.payload,h=typeof b=="function"?b.call(m,f,h):b,h==null)break e;f=Ce({},f,h);break e;case 2:cr=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,h=s.effects,h===null?s.effects=[l]:h.push(l))}else m={eventTime:m,lane:h,tag:l.tag,payload:l.payload,callback:l.callback,next:null},d===null?(u=d=m,c=f):d=d.next=m,a|=h;if(l=l.next,l===null){if(l=s.shared.pending,l===null)break;h=l,l=h.next,h.next=null,s.lastBaseUpdate=h,s.shared.pending=null}}while(!0);if(d===null&&(c=f),s.baseState=c,s.firstBaseUpdate=u,s.lastBaseUpdate=d,t=s.shared.interleaved,t!==null){s=t;do a|=s.lane,s=s.next;while(s!==t)}else i===null&&(s.shared.lanes=0);xs|=a,e.lanes=a,e.memoizedState=f}}function ev(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],s=r.callback;if(s!==null){if(r.callback=null,r=n,typeof s!="function")throw Error(R(191,s));s.call(r)}}}var ma={},kn=$r(ma),Bo=$r(ma),$o=$r(ma);function ts(e){if(e===ma)throw Error(R(174));return e}function Sm(e,t){switch(pe($o,t),pe(Bo,e),pe(kn,ma),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:cf(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=cf(t,e)}xe(kn),pe(kn,t)}function ji(){xe(kn),xe(Bo),xe($o)}function Sb(e){ts($o.current);var t=ts(kn.current),n=cf(t,e.type);t!==n&&(pe(Bo,e),pe(kn,n))}function jm(e){Bo.current===e&&(xe(kn),xe(Bo))}var je=$r(0);function nc(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var sd=[];function Tm(){for(var e=0;e<sd.length;e++)sd[e]._workInProgressVersionPrimary=null;sd.length=0}var gl=Kn.ReactCurrentDispatcher,id=Kn.ReactCurrentBatchConfig,ys=0,Te=null,Le=null,Ve=null,rc=!1,bo=!1,Uo=0,Cz=0;function Ze(){throw Error(R(321))}function Cm(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!on(e[n],t[n]))return!1;return!0}function Nm(e,t,n,r,s,i){if(ys=i,Te=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,gl.current=e===null||e.memoizedState===null?Pz:Az,e=n(r,s),bo){i=0;do{if(bo=!1,Uo=0,25<=i)throw Error(R(301));i+=1,Ve=Le=null,t.updateQueue=null,gl.current=Mz,e=n(r,s)}while(bo)}if(gl.current=sc,t=Le!==null&&Le.next!==null,ys=0,Ve=Le=Te=null,rc=!1,t)throw Error(R(300));return e}function zm(){var e=Uo!==0;return Uo=0,e}function hn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ve===null?Te.memoizedState=Ve=e:Ve=Ve.next=e,Ve}function Vt(){if(Le===null){var e=Te.alternate;e=e!==null?e.memoizedState:null}else e=Le.next;var t=Ve===null?Te.memoizedState:Ve.next;if(t!==null)Ve=t,Le=e;else{if(e===null)throw Error(R(310));Le=e,e={memoizedState:Le.memoizedState,baseState:Le.baseState,baseQueue:Le.baseQueue,queue:Le.queue,next:null},Ve===null?Te.memoizedState=Ve=e:Ve=Ve.next=e}return Ve}function Ho(e,t){return typeof t=="function"?t(e):t}function od(e){var t=Vt(),n=t.queue;if(n===null)throw Error(R(311));n.lastRenderedReducer=e;var r=Le,s=r.baseQueue,i=n.pending;if(i!==null){if(s!==null){var a=s.next;s.next=i.next,i.next=a}r.baseQueue=s=i,n.pending=null}if(s!==null){i=s.next,r=r.baseState;var l=a=null,c=null,u=i;do{var d=u.lane;if((ys&d)===d)c!==null&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};c===null?(l=c=f,a=r):c=c.next=f,Te.lanes|=d,xs|=d}u=u.next}while(u!==null&&u!==i);c===null?a=r:c.next=l,on(r,t.memoizedState)||(ht=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=c,n.lastRenderedState=r}if(e=n.interleaved,e!==null){s=e;do i=s.lane,Te.lanes|=i,xs|=i,s=s.next;while(s!==e)}else s===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function ad(e){var t=Vt(),n=t.queue;if(n===null)throw Error(R(311));n.lastRenderedReducer=e;var r=n.dispatch,s=n.pending,i=t.memoizedState;if(s!==null){n.pending=null;var a=s=s.next;do i=e(i,a.action),a=a.next;while(a!==s);on(i,t.memoizedState)||(ht=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function jb(){}function Tb(e,t){var n=Te,r=Vt(),s=t(),i=!on(r.memoizedState,s);if(i&&(r.memoizedState=s,ht=!0),r=r.queue,Em(zb.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||Ve!==null&&Ve.memoizedState.tag&1){if(n.flags|=2048,Go(9,Nb.bind(null,n,r,s,t),void 0,null),Be===null)throw Error(R(349));ys&30||Cb(n,t,s)}return s}function Cb(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Te.updateQueue,t===null?(t={lastEffect:null,stores:null},Te.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Nb(e,t,n,r){t.value=n,t.getSnapshot=r,Eb(t)&&Pb(e)}function zb(e,t,n){return n(function(){Eb(t)&&Pb(e)})}function Eb(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!on(e,n)}catch{return!0}}function Pb(e){var t=Un(e,1);t!==null&&rn(t,e,1,-1)}function tv(e){var t=hn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ho,lastRenderedState:e},t.queue=e,e=e.dispatch=Ez.bind(null,Te,e),[t.memoizedState,e]}function Go(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Te.updateQueue,t===null?(t={lastEffect:null,stores:null},Te.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Ab(){return Vt().memoizedState}function vl(e,t,n,r){var s=hn();Te.flags|=e,s.memoizedState=Go(1|t,n,void 0,r===void 0?null:r)}function Bc(e,t,n,r){var s=Vt();r=r===void 0?null:r;var i=void 0;if(Le!==null){var a=Le.memoizedState;if(i=a.destroy,r!==null&&Cm(r,a.deps)){s.memoizedState=Go(t,n,i,r);return}}Te.flags|=e,s.memoizedState=Go(1|t,n,i,r)}function nv(e,t){return vl(8390656,8,e,t)}function Em(e,t){return Bc(2048,8,e,t)}function Mb(e,t){return Bc(4,2,e,t)}function Rb(e,t){return Bc(4,4,e,t)}function Db(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Ib(e,t,n){return n=n!=null?n.concat([e]):null,Bc(4,4,Db.bind(null,t,e),n)}function Pm(){}function Ob(e,t){var n=Vt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Cm(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Lb(e,t){var n=Vt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Cm(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function _b(e,t,n){return ys&21?(on(n,t)||(n=U0(),Te.lanes|=n,xs|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,ht=!0),e.memoizedState=n)}function Nz(e,t){var n=de;de=n!==0&&4>n?n:4,e(!0);var r=id.transition;id.transition={};try{e(!1),t()}finally{de=n,id.transition=r}}function Fb(){return Vt().memoizedState}function zz(e,t,n){var r=Er(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Vb(e))Bb(t,n);else if(n=wb(e,t,n,r),n!==null){var s=it();rn(n,e,r,s),$b(n,t,r)}}function Ez(e,t,n){var r=Er(e),s={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Vb(e))Bb(t,s);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var a=t.lastRenderedState,l=i(a,n);if(s.hasEagerState=!0,s.eagerState=l,on(l,a)){var c=t.interleaved;c===null?(s.next=s,wm(t)):(s.next=c.next,c.next=s),t.interleaved=s;return}}catch{}finally{}n=wb(e,t,s,r),n!==null&&(s=it(),rn(n,e,r,s),$b(n,t,r))}}function Vb(e){var t=e.alternate;return e===Te||t!==null&&t===Te}function Bb(e,t){bo=rc=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function $b(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,am(e,n)}}var sc={readContext:Ft,useCallback:Ze,useContext:Ze,useEffect:Ze,useImperativeHandle:Ze,useInsertionEffect:Ze,useLayoutEffect:Ze,useMemo:Ze,useReducer:Ze,useRef:Ze,useState:Ze,useDebugValue:Ze,useDeferredValue:Ze,useTransition:Ze,useMutableSource:Ze,useSyncExternalStore:Ze,useId:Ze,unstable_isNewReconciler:!1},Pz={readContext:Ft,useCallback:function(e,t){return hn().memoizedState=[e,t===void 0?null:t],e},useContext:Ft,useEffect:nv,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,vl(4194308,4,Db.bind(null,t,e),n)},useLayoutEffect:function(e,t){return vl(4194308,4,e,t)},useInsertionEffect:function(e,t){return vl(4,2,e,t)},useMemo:function(e,t){var n=hn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=hn();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=zz.bind(null,Te,e),[r.memoizedState,e]},useRef:function(e){var t=hn();return e={current:e},t.memoizedState=e},useState:tv,useDebugValue:Pm,useDeferredValue:function(e){return hn().memoizedState=e},useTransition:function(){var e=tv(!1),t=e[0];return e=Nz.bind(null,e[1]),hn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Te,s=hn();if(we){if(n===void 0)throw Error(R(407));n=n()}else{if(n=t(),Be===null)throw Error(R(349));ys&30||Cb(r,t,n)}s.memoizedState=n;var i={value:n,getSnapshot:t};return s.queue=i,nv(zb.bind(null,r,i,e),[e]),r.flags|=2048,Go(9,Nb.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=hn(),t=Be.identifierPrefix;if(we){var n=_n,r=Ln;n=(r&~(1<<32-nn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Uo++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Cz++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Az={readContext:Ft,useCallback:Ob,useContext:Ft,useEffect:Em,useImperativeHandle:Ib,useInsertionEffect:Mb,useLayoutEffect:Rb,useMemo:Lb,useReducer:od,useRef:Ab,useState:function(){return od(Ho)},useDebugValue:Pm,useDeferredValue:function(e){var t=Vt();return _b(t,Le.memoizedState,e)},useTransition:function(){var e=od(Ho)[0],t=Vt().memoizedState;return[e,t]},useMutableSource:jb,useSyncExternalStore:Tb,useId:Fb,unstable_isNewReconciler:!1},Mz={readContext:Ft,useCallback:Ob,useContext:Ft,useEffect:Em,useImperativeHandle:Ib,useInsertionEffect:Mb,useLayoutEffect:Rb,useMemo:Lb,useReducer:ad,useRef:Ab,useState:function(){return ad(Ho)},useDebugValue:Pm,useDeferredValue:function(e){var t=Vt();return Le===null?t.memoizedState=e:_b(t,Le.memoizedState,e)},useTransition:function(){var e=ad(Ho)[0],t=Vt().memoizedState;return[e,t]},useMutableSource:jb,useSyncExternalStore:Tb,useId:Fb,unstable_isNewReconciler:!1};function Yt(e,t){if(e&&e.defaultProps){t=Ce({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Pf(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Ce({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var $c={isMounted:function(e){return(e=e._reactInternals)?js(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=it(),s=Er(e),i=Fn(r,s);i.payload=t,n!=null&&(i.callback=n),t=Nr(e,i,s),t!==null&&(rn(t,e,s,r),pl(t,e,s))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=it(),s=Er(e),i=Fn(r,s);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Nr(e,i,s),t!==null&&(rn(t,e,s,r),pl(t,e,s))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=it(),r=Er(e),s=Fn(n,r);s.tag=2,t!=null&&(s.callback=t),t=Nr(e,s,r),t!==null&&(rn(t,e,r,n),pl(t,e,r))}};function rv(e,t,n,r,s,i,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,a):t.prototype&&t.prototype.isPureReactComponent?!Lo(n,r)||!Lo(s,i):!0}function Ub(e,t,n){var r=!1,s=Dr,i=t.contextType;return typeof i=="object"&&i!==null?i=Ft(i):(s=pt(t)?gs:Je.current,r=t.contextTypes,i=(r=r!=null)?wi(e,s):Dr),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=$c,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=s,e.__reactInternalMemoizedMaskedChildContext=i),t}function sv(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&$c.enqueueReplaceState(t,t.state,null)}function Af(e,t,n,r){var s=e.stateNode;s.props=n,s.state=e.memoizedState,s.refs={},km(e);var i=t.contextType;typeof i=="object"&&i!==null?s.context=Ft(i):(i=pt(t)?gs:Je.current,s.context=wi(e,i)),s.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(Pf(e,t,i,n),s.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(t=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),t!==s.state&&$c.enqueueReplaceState(s,s.state,null),tc(e,n,s,r),s.state=e.memoizedState),typeof s.componentDidMount=="function"&&(e.flags|=4194308)}function Ti(e,t){try{var n="",r=t;do n+=oN(r),r=r.return;while(r);var s=n}catch(i){s=`
39Error generating stack: `+i.message+`
40`+i.stack}return{value:e,source:t,stack:s,digest:null}}function ld(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Mf(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Rz=typeof WeakMap=="function"?WeakMap:Map;function Hb(e,t,n){n=Fn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){oc||(oc=!0,$f=r),Mf(e,t)},n}function Gb(e,t,n){n=Fn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var s=t.value;n.payload=function(){return r(s)},n.callback=function(){Mf(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){Mf(e,t),typeof r!="function"&&(zr===null?zr=new Set([this]):zr.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function iv(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Rz;var s=new Set;r.set(t,s)}else s=r.get(t),s===void 0&&(s=new Set,r.set(t,s));s.has(n)||(s.add(n),e=Kz.bind(null,e,t,n),t.then(e,e))}function ov(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}
vendor: 10,061 bytes, line 40
40function av(e,t,n,r,s){return e.mode&1?(e.flags|=65536,e.lanes=s,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Fn(-1,1),t.tag=2,Nr(n,t,1))),n.lanes|=1),e)}var Dz=Kn.ReactCurrentOwner,ht=!1;function tt(e,t,n,r){t.child=e===null?bb(t,null,n,r):Si(t,e.child,n,r)}function lv(e,t,n,r,s){n=n.render;var i=t.ref;return ri(t,s),r=Nm(e,t,n,r,i,s),n=zm(),e!==null&&!ht?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,Hn(e,t,s)):(we&&n&&pm(t),t.flags|=1,tt(e,t,r,s),t.child)}function cv(e,t,n,r,s){if(e===null){var i=n.type;return typeof i=="function"&&!_m(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,Wb(e,t,i,r,s)):(e=wl(n.type,null,r,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&s)){var a=i.memoizedProps;if(n=n.compare,n=n!==null?n:Lo,n(a,r)&&e.ref===t.ref)return Hn(e,t,s)}return t.flags|=1,e=Pr(i,r),e.ref=t.ref,e.return=t,t.child=e}function Wb(e,t,n,r,s){if(e!==null){var i=e.memoizedProps;if(Lo(i,r)&&e.ref===t.ref)if(ht=!1,t.pendingProps=r=i,(e.lanes&s)!==0)e.flags&131072&&(ht=!0);else return t.lanes=e.lanes,Hn(e,t,s)}return Rf(e,t,n,r,s)}function Kb(e,t,n){var r=t.pendingProps,s=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},pe(Ys,xt),xt|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,pe(Ys,xt),xt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,pe(Ys,xt),xt|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,pe(Ys,xt),xt|=r;return tt(e,t,s,n),t.child}function Zb(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Rf(e,t,n,r,s){var i=pt(n)?gs:Je.current;return i=wi(t,i),ri(t,s),n=Nm(e,t,n,r,i,s),r=zm(),e!==null&&!ht?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,Hn(e,t,s)):(we&&r&&pm(t),t.flags|=1,tt(e,t,n,s),t.child)}function uv(e,t,n,r,s){if(pt(n)){var i=!0;ql(t)}else i=!1;if(ri(t,s),t.stateNode===null)yl(e,t),Ub(t,n,r),Af(t,n,r,s),r=!0;else if(e===null){var a=t.stateNode,l=t.memoizedProps;a.props=l;var c=a.context,u=n.contextType;typeof u=="object"&&u!==null?u=Ft(u):(u=pt(n)?gs:Je.current,u=wi(t,u));var d=n.getDerivedStateFromProps,f=typeof d=="function"||typeof a.getSnapshotBeforeUpdate=="function";f||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==r||c!==u)&&sv(t,a,r,u),cr=!1;var h=t.memoizedState;a.state=h,tc(t,r,a,s),c=t.memoizedState,l!==r||h!==c||mt.current||cr?(typeof d=="function"&&(Pf(t,n,d,r),c=t.memoizedState),(l=cr||rv(t,n,l,r,h,c,u))?(f||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),a.props=r,a.state=c,a.context=u,r=l):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,kb(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:Yt(t.type,l),a.props=u,f=t.pendingProps,h=a.context,c=n.contextType,typeof c=="object"&&c!==null?c=Ft(c):(c=pt(n)?gs:Je.current,c=wi(t,c));var m=n.getDerivedStateFromProps;(d=typeof m=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==f||h!==c)&&sv(t,a,r,c),cr=!1,h=t.memoizedState,a.state=h,tc(t,r,a,s);var b=t.memoizedState;l!==f||h!==b||mt.current||cr?(typeof m=="function"&&(Pf(t,n,m,r),b=t.memoizedState),(u=cr||rv(t,n,u,r,h,b,c)||!1)?(d||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,b,c),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,b,c)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=b),a.props=r,a.state=b,a.context=c,r=u):(typeof a.componentDidUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return Df(e,t,n,r,i,s)}function Df(e,t,n,r,s,i){Zb(e,t);var a=(t.flags&128)!==0;if(!r&&!a)return s&&Yg(t,n,!1),Hn(e,t,i);r=t.stateNode,Dz.current=t;var l=a&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&a?(t.child=Si(t,e.child,null,i),t.child=Si(t,null,l,i)):tt(e,t,l,i),t.memoizedState=r.state,s&&Yg(t,n,!0),t.child}function Yb(e){var t=e.stateNode;t.pendingContext?Zg(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Zg(e,t.context,!1),Sm(e,t.containerInfo)}function dv(e,t,n,r,s){return ki(),vm(s),t.flags|=256,tt(e,t,n,r),t.child}var If={dehydrated:null,treeContext:null,retryLane:0};function Of(e){return{baseLanes:e,cachePool:null,transitions:null}}function qb(e,t,n){var r=t.pendingProps,s=je.current,i=!1,a=(t.flags&128)!==0,l;if((l=a)||(l=e!==null&&e.memoizedState===null?!1:(s&2)!==0),l?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(s|=1),pe(je,s&1),e===null)return zf(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(a=r.children,e=r.fallback,i?(r=t.mode,i=t.child,a={mode:"hidden",children:a},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=a):i=Gc(a,r,0,null),e=fs(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Of(n),t.memoizedState=If,e):Am(t,a));if(s=e.memoizedState,s!==null&&(l=s.dehydrated,l!==null))return Iz(e,t,a,r,l,s,n);if(i){i=r.fallback,a=t.mode,s=e.child,l=s.sibling;var c={mode:"hidden",children:r.children};return!(a&1)&&t.child!==s?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=Pr(s,c),r.subtreeFlags=s.subtreeFlags&14680064),l!==null?i=Pr(l,i):(i=fs(i,a,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,a=e.child.memoizedState,a=a===null?Of(n):{baseLanes:a.baseLanes|n,cachePool:null,transitions:a.transitions},i.memoizedState=a,i.childLanes=e.childLanes&~n,t.memoizedState=If,r}return i=e.child,e=i.sibling,r=Pr(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Am(e,t){return t=Gc({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Ha(e,t,n,r){return r!==null&&vm(r),Si(t,e.child,null,n),e=Am(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Iz(e,t,n,r,s,i,a){if(n)return t.flags&256?(t.flags&=-257,r=ld(Error(R(422))),Ha(e,t,a,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,s=t.mode,r=Gc({mode:"visible",children:r.children},s,0,null),i=fs(i,s,a,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&Si(t,e.child,null,a),t.child.memoizedState=Of(a),t.memoizedState=If,i);if(!(t.mode&1))return Ha(e,t,a,null);if(s.data==="$!"){if(r=s.nextSibling&&s.nextSibling.dataset,r)var l=r.dgst;return r=l,i=Error(R(419)),r=ld(i,r,void 0),Ha(e,t,a,r)}if(l=(a&e.childLanes)!==0,ht||l){if(r=Be,r!==null){switch(a&-a){case 4:s=2;break;case 16:s=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:s=32;break;case 536870912:s=268435456;break;default:s=0}s=s&(r.suspendedLanes|a)?0:s,s!==0&&s!==i.retryLane&&(i.retryLane=s,Un(e,s),rn(r,e,s,-1))}return Lm(),r=ld(Error(R(421))),Ha(e,t,a,r)}return s.data==="$?"?(t.flags|=128,t.child=e.child,t=Zz.bind(null,e),s._reactRetry=t,null):(e=i.treeContext,wt=Cr(s.nextSibling),kt=t,we=!0,en=null,e!==null&&(Mt[Rt++]=Ln,Mt[Rt++]=_n,Mt[Rt++]=vs,Ln=e.id,_n=e.overflow,vs=t),t=Am(t,r.children),t.flags|=4096,t)}function fv(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Ef(e.return,t,n)}function cd(e,t,n,r,s){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:s}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=s)}function Qb(e,t,n){var r=t.pendingProps,s=r.revealOrder,i=r.tail;if(tt(e,t,r.children,n),r=je.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&fv(e,n,t);else if(e.tag===19)fv(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(pe(je,r),!(t.mode&1))t.memoizedState=null;else switch(s){case"forwards":for(n=t.child,s=null;n!==null;)e=n.alternate,e!==null&&nc(e)===null&&(s=n),n=n.sibling;n=s,n===null?(s=t.child,t.child=null):(s=n.sibling,n.sibling=null),cd(t,!1,s,n,i);break;case"backwards":for(n=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&nc(e)===null){t.child=s;break}e=s.sibling,s.sibling=n,n=s,s=e}cd(t,!0,n,null,i);break;case"together":cd(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function yl(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Hn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),xs|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(R(153));
vendor: 1,287 bytes, line 40
40if(t.child!==null){for(e=t.child,n=Pr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Pr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Oz(e,t,n){switch(t.tag){case 3:Yb(t),ki();break;case 5:Sb(t);break;case 1:pt(t.type)&&ql(t);break;case 4:Sm(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,s=t.memoizedProps.value;pe(Jl,r._currentValue),r._currentValue=s;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(pe(je,je.current&1),t.flags|=128,null):n&t.child.childLanes?qb(e,t,n):(pe(je,je.current&1),e=Hn(e,t,n),e!==null?e.sibling:null);pe(je,je.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Qb(e,t,n);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),pe(je,je.current),r)break;return null;case 22:case 23:return t.lanes=0,Kb(e,t,n)}return Hn(e,t,n)}var Xb,Lf,Jb,ew;Xb=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Lf=function(){};Jb=function(e,t,n,r){var s=e.memoizedProps;
vendor: 4,164 bytes, line 40
40if(s!==r){e=t.stateNode,ts(kn.current);var i=null;switch(n){case"input":s=sf(e,s),r=sf(e,r),i=[];break;case"select":s=Ce({},s,{value:void 0}),r=Ce({},r,{value:void 0}),i=[];break;case"textarea":s=lf(e,s),r=lf(e,r),i=[];break;default:typeof s.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Zl)}uf(n,r);var a;n=null;for(u in s)if(!r.hasOwnProperty(u)&&s.hasOwnProperty(u)&&s[u]!=null)if(u==="style"){var l=s[u];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Po.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var c=r[u];if(l=s!=null?s[u]:void 0,r.hasOwnProperty(u)&&c!==l&&(c!=null||l!=null))if(u==="style")if(l){for(a in l)!l.hasOwnProperty(a)||c&&c.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in c)c.hasOwnProperty(a)&&l[a]!==c[a]&&(n||(n={}),n[a]=c[a])}else n||(i||(i=[]),i.push(u,n)),n=c;else u==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,l=l?l.__html:void 0,c!=null&&l!==c&&(i=i||[]).push(u,c)):u==="children"?typeof c!="string"&&typeof c!="number"||(i=i||[]).push(u,""+c):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Po.hasOwnProperty(u)?(c!=null&&u==="onScroll"&&ve("scroll",e),i||l===c||(i=[])):(i=i||[]).push(u,c))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};ew=function(e,t,n,r){n!==r&&(t.flags|=4)};function to(e,t){if(!we)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ye(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var s=e.child;s!==null;)n|=s.lanes|s.childLanes,r|=s.subtreeFlags&14680064,r|=s.flags&14680064,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)n|=s.lanes|s.childLanes,r|=s.subtreeFlags,r|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Lz(e,t,n){var r=t.pendingProps;switch(gm(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ye(t),null;case 1:return pt(t.type)&&Yl(),Ye(t),null;case 3:return r=t.stateNode,ji(),xe(mt),xe(Je),Tm(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&($a(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,en!==null&&(Gf(en),en=null))),Lf(e,t),Ye(t),null;case 5:jm(t);var s=ts($o.current);if(n=t.type,e!==null&&t.stateNode!=null)Jb(e,t,n,r,s),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(R(166));return Ye(t),null}if(e=ts(kn.current),$a(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[xn]=t,r[Vo]=i,e=(t.mode&1)!==0,n){case"dialog":ve("cancel",r),ve("close",r);break;case"iframe":case"object":case"embed":ve("load",r);break;case"video":case"audio":for(s=0;s<fo.length;s++)ve(fo[s],r);break;case"source":ve("error",r);break;case"img":case"image":case"link":ve("error",r),ve("load",r);break;case"details":ve("toggle",r);break;case"input":wg(r,i),ve("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},ve("invalid",r);break;case"textarea":Sg(r,i),ve("invalid",r)}uf(n,i),s=null;for(var a in i)if(i.hasOwnProperty(a)){var l=i[a];a==="children"?typeof l=="string"?r.textContent!==l&&(i.suppressHydrationWarning!==!0&&Ba(r.textContent,l,e),s=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(i.suppressHydrationWarning!==!0&&Ba(r.textContent,l,e),s=["children",""+l]):Po.hasOwnProperty(a)&&l!=null&&a==="onScroll"&&ve("scroll",r)}switch(n){case"input":Ra(r),kg(r,i,!0);break;case"textarea":Ra(r),jg(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=Zl)}r=s,t.updateQueue=r,r!==null&&(t.flags|=4)}else{a=s.nodeType===9?s:s.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=z0(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=a.createElement("div"),e.innerHTML="<script><\/script>
40",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[xn]=t,e[Vo]=r,Xb(e,t,!1,!1),t.stateNode=e;e:{switch(a=df(n,r),n){case"dialog":ve("cancel",e),ve("close",e),s=r;break;case"iframe":case"object":case"embed":ve("load",e),s=r;break;case"video":case"audio":for(s=0;s<fo.length;s++)ve(fo[s],e);s=r;break;case"source":ve("error",e),s=r;break;case"img":case"image":case"link":ve("error",e),ve("load",e),s=r;break;case"details":ve("toggle",e),s=r;break;case"input":wg(e,r),s=sf(e,r),ve("invalid",e);break;case"option":s=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},s=Ce({},r,{value:void 0}),ve("invalid",e);break;case"textarea":Sg(e,r),s=lf(e,r),ve("invalid",e);break;default:s=r}uf(n,s),l=s;for(i in l)if(l.hasOwnProperty(i)){var c=l[i];i==="style"?A0(e,c):i==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&E0(e,c)):i==="children"?typeof c=="string"?(n!=="textarea"||c!=="")&&Ao(e,c):typeof c=="number"&&Ao(e,""+c):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Po.hasOwnProperty(i)?c!=null&&i==="onScroll"&&ve("scroll",e):c!=null&&tm(e,i,c,a))}switch(n){case"input":Ra(e),kg(e,r,!1);break;case"textarea":Ra(e),jg(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Rr(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?Js(e,!!r.multiple,i,!1):r.defaultValue!=null&&Js(e,!!r.multiple,r.defaultValue,!0);break;default:typeof s.onClick=="function"&&(e.onclick=Zl)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Ye(t),null;case 6:if(e&&t.stateNode!=null)ew(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(R(166));if(n=ts($o.current),ts(kn.current),$a(t)){if(r=t.stateNode,n=t.memoizedProps,r[xn]=t,(i=r.nodeValue!==n)&&(e=kt,e!==null))switch(e.tag){case 3:Ba(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ba(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[xn]=t,t.stateNode=r}return Ye(t),null;case 13:if(xe(je),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(we&&wt!==null&&t.mode&1&&!(t.flags&128))yb(),ki(),t.flags|=98560,i=!1;else if(i=$a(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(R(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(R(317));i[xn]=t}else ki(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ye(t),i=!1}else en!==null&&(Gf(en),en=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||je.current&1?_e===0&&(_e=3):Lm())),t.updateQueue!==null&&(t.flags|=4),Ye(t),null);case 4:return ji(),Lf(e,t),e===null&&_o(t.stateNode.containerInfo),Ye(t),null;case 10:return bm(t.type._context),Ye(t),null;case 17:return pt(t.type)&&Yl(),Ye(t),null;case 19:if(xe(je),i=t.memoizedState,i===null)return Ye(t),null;if(r=(t.flags&128)!==0,a=i.rendering,a===null)if(r)to(i,!1);else{if(_e!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(a=nc(e),a!==null){for(t.flags|=128,to(i,!1),r=a.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,a=i.alternate,a===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=a.childLanes,i.lanes=a.lanes,i.child=a.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=a.memoizedProps,i.memoizedState=a.memoizedState,i.updateQueue=a.updateQueue,i.type=a.type,e=a.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return pe(je,je.current&1|2),t.child}e=e.sibling}i.tail!==null&&Pe()>Ci&&(t.flags|=128,r=!0,to(i,!1),t.lanes=4194304)}else{if(!r)if(e=nc(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),to(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!we)return Ye(t),null}else 2*Pe()-i.renderingStartTime>Ci&&n!==1073741824&&(t.flags|=128,r=!0,to(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(n=i.last,n!==null?n.sibling=a:t.child=a,i.last=a)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Pe(),t.sibling=null,n=je.current,pe(je,r?n&1|2:n&1),t):(Ye(t),null);case 22:case 23:return Om(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?xt&1073741824&&(Ye(t),t.subtreeFlags&6&&(t.flags|=8192)):Ye(t),null;case 24:return null;case 25:return null}throw Error(R(156,t.tag))}function _z(e,t){switch(gm(t),t.tag){case 1:return pt(t.type)&&Yl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;
vendor: 23,144 bytes, line 40
40case 3:return ji(),xe(mt),xe(Je),Tm(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return jm(t),null;case 13:if(xe(je),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(R(340));ki()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return xe(je),null;case 4:return ji(),null;case 10:return bm(t.type._context),null;case 22:case 23:return Om(),null;case 24:return null;default:return null}}var Ga=!1,Qe=!1,Fz=typeof WeakSet=="function"?WeakSet:Set,B=null;function Zs(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ee(e,t,r)}else n.current=null}function _f(e,t,n){try{n()}catch(r){Ee(e,t,r)}}var hv=!1;function Vz(e,t){if(wf=Gl,e=ib(),mm(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var s=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var a=0,l=-1,c=-1,u=0,d=0,f=e,h=null;t:for(;;){for(var m;f!==n||s!==0&&f.nodeType!==3||(l=a+s),f!==i||r!==0&&f.nodeType!==3||(c=a+r),f.nodeType===3&&(a+=f.nodeValue.length),(m=f.firstChild)!==null;)h=f,f=m;for(;;){if(f===e)break t;if(h===n&&++u===s&&(l=a),h===i&&++d===r&&(c=a),(m=f.nextSibling)!==null)break;f=h,h=f.parentNode}f=m}n=l===-1||c===-1?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(kf={focusedElem:e,selectionRange:n},Gl=!1,B=t;B!==null;)if(t=B,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,B=e;else for(;B!==null;){t=B;try{var b=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(b!==null){var g=b.memoizedProps,w=b.memoizedState,v=t.stateNode,y=v.getSnapshotBeforeUpdate(t.elementType===t.type?g:Yt(t.type,g),w);v.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var x=t.stateNode.containerInfo;x.nodeType===1?x.textContent="":x.nodeType===9&&x.documentElement&&x.removeChild(x.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(R(163))}}catch(k){Ee(t,t.return,k)}if(e=t.sibling,e!==null){e.return=t.return,B=e;break}B=t.return}return b=hv,hv=!1,b}function wo(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var s=r=r.next;do{if((s.tag&e)===e){var i=s.destroy;s.destroy=void 0,i!==void 0&&_f(t,n,i)}s=s.next}while(s!==r)}}function Uc(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Ff(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function tw(e){var t=e.alternate;t!==null&&(e.alternate=null,tw(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[xn],delete t[Vo],delete t[Tf],delete t[kz],delete t[Sz])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function nw(e){return e.tag===5||e.tag===3||e.tag===4}function mv(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||nw(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Vf(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Zl));else if(r!==4&&(e=e.child,e!==null))for(Vf(e,t,n),e=e.sibling;e!==null;)Vf(e,t,n),e=e.sibling}function Bf(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Bf(e,t,n),e=e.sibling;e!==null;)Bf(e,t,n),e=e.sibling}var $e=null,Jt=!1;function tr(e,t,n){for(n=n.child;n!==null;)rw(e,t,n),n=n.sibling}function rw(e,t,n){if(wn&&typeof wn.onCommitFiberUnmount=="function")try{wn.onCommitFiberUnmount(Ic,n)}catch{}switch(n.tag){case 5:Qe||Zs(n,t);case 6:var r=$e,s=Jt;$e=null,tr(e,t,n),$e=r,Jt=s,$e!==null&&(Jt?(e=$e,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):$e.removeChild(n.stateNode));break;case 18:$e!==null&&(Jt?(e=$e,n=n.stateNode,e.nodeType===8?nd(e.parentNode,n):e.nodeType===1&&nd(e,n),Io(e)):nd($e,n.stateNode));break;case 4:r=$e,s=Jt,$e=n.stateNode.containerInfo,Jt=!0,tr(e,t,n),$e=r,Jt=s;break;case 0:case 11:case 14:case 15:if(!Qe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){s=r=r.next;do{var i=s,a=i.destroy;i=i.tag,a!==void 0&&(i&2||i&4)&&_f(n,t,a),s=s.next}while(s!==r)}tr(e,t,n);break;case 1:if(!Qe&&(Zs(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Ee(n,t,l)}tr(e,t,n);break;case 21:tr(e,t,n);break;case 22:n.mode&1?(Qe=(r=Qe)||n.memoizedState!==null,tr(e,t,n),Qe=r):tr(e,t,n);break;default:tr(e,t,n)}}function pv(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Fz),t.forEach(function(r){var s=Yz.bind(null,e,r);n.has(r)||(n.add(r),r.then(s,s))})}}function Gt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var s=n[r];try{var i=e,a=t,l=a;e:for(;l!==null;){switch(l.tag){case 5:$e=l.stateNode,Jt=!1;break e;case 3:$e=l.stateNode.containerInfo,Jt=!0;break e;case 4:$e=l.stateNode.containerInfo,Jt=!0;break e}l=l.return}if($e===null)throw Error(R(160));rw(i,a,s),$e=null,Jt=!1;var c=s.alternate;c!==null&&(c.return=null),s.return=null}catch(u){Ee(s,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)sw(t,e),t=t.sibling}function sw(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Gt(t,e),fn(e),r&4){try{wo(3,e,e.return),Uc(3,e)}catch(g){Ee(e,e.return,g)}try{wo(5,e,e.return)}catch(g){Ee(e,e.return,g)}}break;case 1:Gt(t,e),fn(e),r&512&&n!==null&&Zs(n,n.return);break;case 5:if(Gt(t,e),fn(e),r&512&&n!==null&&Zs(n,n.return),e.flags&32){var s=e.stateNode;try{Ao(s,"")}catch(g){Ee(e,e.return,g)}}if(r&4&&(s=e.stateNode,s!=null)){var i=e.memoizedProps,a=n!==null?n.memoizedProps:i,l=e.type,c=e.updateQueue;if(e.updateQueue=null,c!==null)try{l==="input"&&i.type==="radio"&&i.name!=null&&C0(s,i),df(l,a);var u=df(l,i);for(a=0;a<c.length;a+=2){var d=c[a],f=c[a+1];d==="style"?A0(s,f):d==="dangerouslySetInnerHTML"?E0(s,f):d==="children"?Ao(s,f):tm(s,d,f,u)}switch(l){case"input":of(s,i);break;case"textarea":N0(s,i);break;case"select":var h=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!i.multiple;var m=i.value;m!=null?Js(s,!!i.multiple,m,!1):h!==!!i.multiple&&(i.defaultValue!=null?Js(s,!!i.multiple,i.defaultValue,!0):Js(s,!!i.multiple,i.multiple?[]:"",!1))}s[Vo]=i}catch(g){Ee(e,e.return,g)}}break;case 6:if(Gt(t,e),fn(e),r&4){if(e.stateNode===null)throw Error(R(162));s=e.stateNode,i=e.memoizedProps;try{s.nodeValue=i}catch(g){Ee(e,e.return,g)}}break;case 3:if(Gt(t,e),fn(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Io(t.containerInfo)}catch(g){Ee(e,e.return,g)}break;case 4:Gt(t,e),fn(e);break;case 13:Gt(t,e),fn(e),s=e.child,s.flags&8192&&(i=s.memoizedState!==null,s.stateNode.isHidden=i,!i||s.alternate!==null&&s.alternate.memoizedState!==null||(Dm=Pe())),r&4&&pv(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(Qe=(u=Qe)||d,Gt(t,e),Qe=u):Gt(t,e),fn(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!d&&e.mode&1)for(B=e,d=e.child;d!==null;){for(f=B=d;B!==null;){switch(h=B,m=h.child,h.tag){case 0:case 11:case 14:case 15:wo(4,h,h.return);break;case 1:Zs(h,h.return);var b=h.stateNode;if(typeof b.componentWillUnmount=="function"){r=h,n=h.return;try{t=r,b.props=t.memoizedProps,b.state=t.memoizedState,b.componentWillUnmount()}catch(g){Ee(r,n,g)}}break;case 5:Zs(h,h.return);break;case 22:if(h.memoizedState!==null){vv(f);continue}}m!==null?(m.return=h,B=m):vv(f)}d=d.sibling}e:for(d=null,f=e;;){if(f.tag===5){if(d===null){d=f;try{s=f.stateNode,u?(i=s.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(l=f.stateNode,c=f.memoizedProps.style,a=c!=null&&c.hasOwnProperty("display")?c.display:null,l.style.display=P0("display",a))}catch(g){Ee(e,e.return,g)}}}else if(f.tag===6){if(d===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(g){Ee(e,e.return,g)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:Gt(t,e),fn(e),r&4&&pv(e);break;case 21:break;default:Gt(t,e),fn(e)}}function fn(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(nw(n)){var r=n;break e}n=n.return}throw Error(R(160))}switch(r.tag){case 5:var s=r.stateNode;r.flags&32&&(Ao(s,""),r.flags&=-33);var i=mv(e);Bf(e,i,s);break;case 3:case 4:var a=r.stateNode.containerInfo,l=mv(e);Vf(e,l,a);break;default:throw Error(R(161))}}catch(c){Ee(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Bz(e,t,n){B=e,iw(e)}function iw(e,t,n){for(var r=(e.mode&1)!==0;B!==null;){var s=B,i=s.child;if(s.tag===22&&r){var a=s.memoizedState!==null||Ga;if(!a){var l=s.alternate,c=l!==null&&l.memoizedState!==null||Qe;l=Ga;var u=Qe;if(Ga=a,(Qe=c)&&!u)for(B=s;B!==null;)a=B,c=a.child,a.tag===22&&a.memoizedState!==null?yv(s):c!==null?(c.return=a,B=c):yv(s);for(;i!==null;)B=i,iw(i),i=i.sibling;B=s,Ga=l,Qe=u}gv(e)}else s.subtreeFlags&8772&&i!==null?(i.return=s,B=i):gv(e)}}function gv(e){for(;B!==null;){var t=B;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Qe||Uc(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Qe)if(n===null)r.componentDidMount();else{var s=t.elementType===t.type?n.memoizedProps:Yt(t.type,n.memoizedProps);r.componentDidUpdate(s,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&ev(t,i,r);break;case 3:var a=t.updateQueue;if(a!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}ev(t,a,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var d=u.memoizedState;if(d!==null){var f=d.dehydrated;f!==null&&Io(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(R(163))}Qe||t.flags&512&&Ff(t)}catch(h){Ee(t,t.return,h)}}if(t===e){B=null;break}if(n=t.sibling,n!==null){n.return=t.return,B=n;break}B=t.return}}function vv(e){for(;B!==null;){var t=B;if(t===e){B=null;break}var n=t.sibling;if(n!==null){n.return=t.return,B=n;break}B=t.return}}function yv(e){for(;B!==null;){var t=B;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Uc(4,t)}catch(c){Ee(t,n,c)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var s=t.return;try{r.componentDidMount()}catch(c){Ee(t,s,c)}}var i=t.return;try{Ff(t)}catch(c){Ee(t,i,c)}break;case 5:var a=t.return;try{Ff(t)}catch(c){Ee(t,a,c)}}}catch(c){Ee(t,t.return,c)}if(t===e){B=null;break}var l=t.sibling;if(l!==null){l.return=t.return,B=l;break}B=t.return}}var $z=Math.ceil,ic=Kn.ReactCurrentDispatcher,Mm=Kn.ReactCurrentOwner,Ot=Kn.ReactCurrentBatchConfig,ae=0,Be=null,Re=null,Ge=0,xt=0,Ys=$r(0),_e=0,Wo=null,xs=0,Hc=0,Rm=0,ko=null,ft=null,Dm=0,Ci=1/0,Dn=null,oc=!1,$f=null,zr=null,Wa=!1,br=null,ac=0,So=0,Uf=null,xl=-1,bl=0;function it(){return ae&6?Pe():xl!==-1?xl:xl=Pe()}function Er(e){return e.mode&1?ae&2&&Ge!==0?Ge&-Ge:Tz.transition!==null?(bl===0&&(bl=U0()),bl):(e=de,e!==0||(e=window.event,e=e===void 0?16:q0(e.type)),e):1}function rn(e,t,n,r){if(50<So)throw So=0,Uf=null,Error(R(185));da(e,n,r),(!(ae&2)||e!==Be)&&(e===Be&&(!(ae&2)&&(Hc|=n),_e===4&&dr(e,Ge)),gt(e,r),n===1&&ae===0&&!(t.mode&1)&&(Ci=Pe()+500,Vc&&Ur()))}function gt(e,t){var n=e.callbackNode;TN(e,t);var r=Hl(e,e===Be?Ge:0);if(r===0)n!==null&&Ng(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Ng(n),t===1)e.tag===0?jz(xv.bind(null,e)):pb(xv.bind(null,e)),bz(function(){!(ae&6)&&Ur()}),n=null;else{switch(H0(r)){case 1:n=om;break;case 4:n=B0;break;case 16:n=Ul;break;case 536870912:n=$0;break;default:n=Ul}n=hw(n,ow.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ow(e,t){if(xl=-1,bl=0,ae&6)throw Error(R(327));var n=e.callbackNode;if(si()&&e.callbackNode!==n)return null;var r=Hl(e,e===Be?Ge:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=lc(e,r);else{t=r;var s=ae;ae|=2;var i=lw();(Be!==e||Ge!==t)&&(Dn=null,Ci=Pe()+500,ds(e,t));do try{Gz();break}catch(l){aw(e,l)}while(!0);xm(),ic.current=i,ae=s,Re!==null?t=0:(Be=null,Ge=0,t=_e)}if(t!==0){if(t===2&&(s=gf(e),s!==0&&(r=s,t=Hf(e,s))),t===1)throw n=Wo,ds(e,0),dr(e,r),gt(e,Pe()),n;if(t===6)dr(e,r);else{if(s=e.current.alternate,!(r&30)&&!Uz(s)&&(t=lc(e,r),t===2&&(i=gf(e),i!==0&&(r=i,t=Hf(e,i))),t===1))throw n=Wo,ds(e,0),dr(e,r),gt(e,Pe()),n;switch(e.finishedWork=s,e.finishedLanes=r,t){case 0:case 1:throw Error(R(345));case 2:Qr(e,ft,Dn);break;case 3:if(dr(e,r),(r&130023424)===r&&(t=Dm+500-Pe(),10<t)){if(Hl(e,0)!==0)break;if(s=e.suspendedLanes,(s&r)!==r){it(),e.pingedLanes|=e.suspendedLanes&s;break}e.timeoutHandle=jf(Qr.bind(null,e,ft,Dn),t);break}Qr(e,ft,Dn);break;case 4:if(dr(e,r),(r&4194240)===r)break;for(t=e.eventTimes,s=-1;0<r;){var a=31-nn(r);i=1<<a,a=t[a],a>s&&(s=a),r&=~i}if(r=s,r=Pe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*$z(r/1960))-r,10<r){e.timeoutHandle=jf(Qr.bind(null,e,ft,Dn),r);break}Qr(e,ft,Dn);break;case 5:Qr(e,ft,Dn);break;default:throw Error(R(329))}}}return gt(e,Pe()),e.callbackNode===n?ow.bind(null,e):null}function Hf(e,t){var n=ko;return e.current.memoizedState.isDehydrated&&(ds(e,t).flags|=256),e=lc(e,t),e!==2&&(t=ft,ft=n,t!==null&&Gf(t)),e}function Gf(e){ft===null?ft=e:ft.push.apply(ft,e)}function Uz(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var s=n[r],i=s.getSnapshot;s=s.value;try{if(!on(i(),s))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function dr(e,t){for(t&=~Rm,t&=~Hc,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-nn(t),r=1<<n;e[n]=-1,t&=~r}}function xv(e){if(ae&6)throw Error(R(327));si();var t=Hl(e,0);if(!(t&1))return gt(e,Pe()),null;var n=lc(e,t);if(e.tag!==0&&n===2){var r=gf(e);r!==0&&(t=r,n=Hf(e,r))}if(n===1)throw n=Wo,ds(e,0),dr(e,t),gt(e,Pe()),n;if(n===6)throw Error(R(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Qr(e,ft,Dn),gt(e,Pe()),null}function Im(e,t){var n=ae;ae|=1;try{return e(t)}finally{ae=n,ae===0&&(Ci=Pe()+500,Vc&&Ur())}}function bs(e){br!==null&&br.tag===0&&!(ae&6)&&si();var t=ae;ae|=1;var n=Ot.transition,r=de;try{if(Ot.transition=null,de=1,e)return e()}finally{de=r,Ot.transition=n,ae=t,!(ae&6)&&Ur()}}function Om(){xt=Ys.current,xe(Ys)}function ds(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,xz(n)),Re!==null)for(n=Re.return;n!==null;){var r=n;switch(gm(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Yl();break;case 3:ji(),xe(mt),xe(Je),Tm();break;case 5:jm(r);break;case 4:ji();break;case 13:xe(je);break;case 19:xe(je);break;case 10:bm(r.type._context);break;case 22:case 23:Om()}n=n.return}if(Be=e,Re=e=Pr(e.current,null),Ge=xt=t,_e=0,Wo=null,Rm=Hc=xs=0,ft=ko=null,es!==null){for(t=0;t<es.length;t++)if(n=es[t],r=n.interleaved,r!==null){n.interleaved=null;var s=r.next,i=n.pending;if(i!==null){var a=i.next;i.next=s,r.next=a}n.pending=r}es=null}return e}function aw(e,t){do{var n=Re;try{if(xm(),gl.current=sc,rc){for(var r=Te.memoizedState;r!==null;){var s=r.queue;s!==null&&(s.pending=null),r=r.next}rc=!1}if(ys=0,Ve=Le=Te=null,bo=!1,Uo=0,Mm.current=null,n===null||n.return===null){_e=1,Wo=t,Re=null;break}e:{var i=e,a=n.return,l=n,c=t;if(t=Ge,l.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){var u=c,d=l,f=d.tag;if(!(d.mode&1)&&(f===0||f===11||f===15)){var h=d.alternate;h?(d.updateQueue=h.updateQueue,d.memoizedState=h.memoizedState,d.lanes=h.lanes):(d.updateQueue=null,d.memoizedState=null)}var m=ov(a);if(m!==null){m.flags&=-257,av(m,a,l,i,t),m.mode&1&&iv(i,u,t),t=m,c=u;var b=t.updateQueue;if(b===null){var g=new Set;g.add(c),t.updateQueue=g}else b.add(c);break e}else{if(!(t&1)){iv(i,u,t),Lm();break e}c=Error(R(426))}}else if(we&&l.mode&1){var w=ov(a);if(w!==null){!(w.flags&65536)&&(w.flags|=256),av(w,a,l,i,t),vm(Ti(c,l));break e}}i=c=Ti(c,l),_e!==4&&(_e=2),ko===null?ko=[i]:ko.push(i),i=a;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var v=Hb(i,c,t);Jg(i,v);break e;case 1:l=c;var y=i.type,x=i.stateNode;if(!(i.flags&128)&&(typeof y.getDerivedStateFromError=="function"||x!==null&&typeof x.componentDidCatch=="function"&&(zr===null||!zr.has(x)))){i.flags|=65536,t&=-t,i.lanes|=t;var k=Gb(i,l,t);Jg(i,k);break e}}i=i.return}while(i!==null)}uw(n)}catch(S){t=S,Re===n&&n!==null&&(Re=n=n.return);continue}break}while(!0)}function lw(){var e=ic.current;return ic.current=sc,e===null?sc:e}function Lm(){(_e===0||_e===3||_e===2)&&(_e=4),Be===null||!(xs&268435455)&&!(Hc&268435455)||dr(Be,Ge)}function lc(e,t){var n=ae;ae|=2;var r=lw();(Be!==e||Ge!==t)&&(Dn=null,ds(e,t));do try{Hz();break}catch(s){aw(e,s)}while(!0);if(xm(),ae=n,ic.current=r,Re!==null)throw Error(R(261));return Be=null,Ge=0,_e}function Hz(){for(;Re!==null;)cw(Re)}function Gz(){for(;Re!==null&&!gN();)cw(Re)}function cw(e){var t=fw(e.alternate,e,xt);e.memoizedProps=e.pendingProps,t===null?uw(e):Re=t,Mm.current=null}function uw(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=_z(n,t),n!==null){n.flags&=32767,Re=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{_e=6,Re=null;return}}else if(n=Lz(n,t,xt),n!==null){Re=n;return}if(t=t.sibling,t!==null){Re=t;return}Re=t=e}while(t!==null);_e===0&&(_e=5)}function Qr(e,t,n){var r=de,s=Ot.transition;try{Ot.transition=null,de=1,Wz(e,t,n,r)}finally{Ot.transition=s,de=r}return null}function Wz(e,t,n,r){do si();while(br!==null);if(ae&6)throw Error(R(327));n=e.finishedWork;var s=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(R(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(CN(e,i),e===Be&&(Re=Be=null,Ge=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Wa||(Wa=!0,hw(Ul,function(){return si(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=Ot.transition,Ot.transition=null;var a=de;de=1;var l=ae;ae|=4,Mm.current=null,Vz(e,n),sw(n,e),fz(kf),Gl=!!wf,kf=wf=null,e.current=n,Bz(n),vN(),ae=l,de=a,Ot.transition=i}else e.current=n;if(Wa&&(Wa=!1,br=e,ac=s),i=e.pendingLanes,i===0&&(zr=null),bN(n.stateNode),gt(e,Pe()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)s=t[n],r(s.value,{componentStack:s.stack,digest:s.digest});if(oc)throw oc=!1,e=$f,$f=null,e;return ac&1&&e.tag!==0&&si(),i=e.pendingLanes,i&1?e===Uf?So++:(So=0,Uf=e):So=0,Ur(),null}function si(){if(br!==null){var e=H0(ac),t=Ot.transition,n=de;try{if(Ot.transition=null,de=16>e?16:e,br===null)var r=!1;else{if(e=br,br=null,ac=0,ae&6)throw Error(R(331));var s=ae;for(ae|=4,B=e.current;B!==null;){var i=B,a=i.child;if(B.flags&16){var l=i.deletions;if(l!==null){for(var c=0;c<l.length;c++){var u=l[c];for(B=u;B!==null;){var d=B;switch(d.tag){case 0:case 11:case 15:wo(8,d,i)}var f=d.child;if(f!==null)f.return=d,B=f;else for(;B!==null;){d=B;var h=d.sibling,m=d.return;if(tw(d),d===u){B=null;break}if(h!==null){h.return=m,B=h;break}B=m}}}var b=i.alternate;if(b!==null){var g=b.child;if(g!==null){b.child=null;do{var w=g.sibling;g.sibling=null,g=w}while(g!==null)}}B=i}}if(i.subtreeFlags&2064&&a!==null)a.return=i,B=a;else e:for(;B!==null;){if(i=B,i.flags&2048)switch(i.tag){case 0:case 11:case 15:wo(9,i,i.return)}var v=i.sibling;if(v!==null){v.return=i.return,B=v;break e}B=i.return}}var y=e.current;for(B=y;B!==null;){a=B;var x=a.child;if(a.subtreeFlags&2064&&x!==null)x.return=a,B=x;else e:for(a=y;B!==null;){if(l=B,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:Uc(9,l)}}catch(S){Ee(l,l.return,S)}if(l===a){B=null;break e}var k=l.sibling;if(k!==null){k.return=l.return,B=k;break e}B=l.return}}if(ae=s,Ur(),wn&&typeof wn.onPostCommitFiberRoot=="function")try{wn.onPostCommitFiberRoot(Ic,e)}catch{}r=!0}return r}finally{de=n,Ot.transition=t}}return!1}function bv(e,t,n){t=Ti(n,t),t=Hb(e,t,1),e=Nr(e,t,1),t=it(),e!==null&&(da(e,1,t),gt(e,t))}function Ee(e,t,n){if(e.tag===3)bv(e,e,n);else for(;t!==null;){if(t.tag===3){bv(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(zr===null||!zr.has(r))){e=Ti(n,e),e=Gb(t,e,1),t=Nr(t,e,1),e=it(),t!==null&&(da(t,1,e),gt(t,e));break}}t=t.return}}function Kz(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=it(),e.pingedLanes|=e.suspendedLanes&n,Be===e&&(Ge&n)===n&&(_e===4||_e===3&&(Ge&130023424)===Ge&&500>Pe()-Dm?ds(e,0):Rm|=n),gt(e,t)}function dw(e,t){t===0&&(e.mode&1?(t=Oa,Oa<<=1,!(Oa&130023424)&&(Oa=4194304)):t=1);var n=it();e=Un(e,t),e!==null&&(da(e,t,n),gt(e,n))}function Zz(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),dw(e,n)}function Yz(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,s=e.memoizedState;s!==null&&(n=s.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(R(314))}r!==null&&r.delete(t),dw(e,n)}var fw;fw=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||mt.current)ht=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ht=!1,Oz(e,t,n);ht=!!(e.flags&131072)}else ht=!1,we&&t.flags&1048576&&gb(t,Xl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;yl(e,t),e=t.pendingProps;var s=wi(t,Je.current);ri(t,n),s=Nm(null,t,r,e,s,n);var i=zm();return t.flags|=1,typeof s=="object"&&s!==null&&typeof s.render=="function"&&s.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,pt(r)?(i=!0,ql(t)):i=!1,t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,km(t),s.updater=$c,t.stateNode=s,s._reactInternals=t,Af(t,r,e,n),t=Df(null,t,r,!0,i,n)):(t.tag=0,we&&i&&pm(t),tt(null,t,s,n),t=t.child),t;case 16:r=t.elementType;e:{switch(yl(e,t),e=t.pendingProps,s=r._init,r=s(r._payload),t.type=r,s=t.tag=Qz(r),e=Yt(r,e),s){case 0:t=Rf(null,t,r,e,n);break e;case 1:t=uv(null,t,r,e,n);break e;case 11:t=lv(null,t,r,e,n);break e;case 14:t=cv(null,t,r,Yt(r.type,e),n);break e}throw Error(R(306,r,""))}return t;case 0:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Yt(r,s),Rf(e,t,r,s,n);case 1:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Yt(r,s),uv(e,t,r,s,n);case 3:e:{if(Yb(t),e===null)throw Error(R(387));
vendor: 4,729 bytes, line 40
40r=t.pendingProps,i=t.memoizedState,s=i.element,kb(e,t),tc(t,r,null,n);var a=t.memoizedState;if(r=a.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){s=Ti(Error(R(423)),t),t=dv(e,t,r,n,s);break e}else if(r!==s){s=Ti(Error(R(424)),t),t=dv(e,t,r,n,s);break e}else for(wt=Cr(t.stateNode.containerInfo.firstChild),kt=t,we=!0,en=null,n=bb(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ki(),r===s){t=Hn(e,t,n);break e}tt(e,t,r,n)}t=t.child}return t;case 5:return Sb(t),e===null&&zf(t),r=t.type,s=t.pendingProps,i=e!==null?e.memoizedProps:null,a=s.children,Sf(r,s)?a=null:i!==null&&Sf(r,i)&&(t.flags|=32),Zb(e,t),tt(e,t,a,n),t.child;case 6:return e===null&&zf(t),null;case 13:return qb(e,t,n);case 4:return Sm(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Si(t,null,r,n):tt(e,t,r,n),t.child;case 11:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Yt(r,s),lv(e,t,r,s,n);case 7:return tt(e,t,t.pendingProps,n),t.child;case 8:return tt(e,t,t.pendingProps.children,n),t.child;case 12:return tt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,s=t.pendingProps,i=t.memoizedProps,a=s.value,pe(Jl,r._currentValue),r._currentValue=a,i!==null)if(on(i.value,a)){if(i.children===s.children&&!mt.current){t=Hn(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var l=i.dependencies;if(l!==null){a=i.child;for(var c=l.firstContext;c!==null;){if(c.context===r){if(i.tag===1){c=Fn(-1,n&-n),c.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}i.lanes|=n,c=i.alternate,c!==null&&(c.lanes|=n),Ef(i.return,n,t),l.lanes|=n;break}c=c.next}}else if(i.tag===10)a=i.type===t.type?null:i.child;else if(i.tag===18){if(a=i.return,a===null)throw Error(R(341));a.lanes|=n,l=a.alternate,l!==null&&(l.lanes|=n),Ef(a,n,t),a=i.sibling}else a=i.child;if(a!==null)a.return=i;else for(a=i;a!==null;){if(a===t){a=null;break}if(i=a.sibling,i!==null){i.return=a.return,a=i;break}a=a.return}i=a}tt(e,t,s.children,n),t=t.child}return t;case 9:return s=t.type,r=t.pendingProps.children,ri(t,n),s=Ft(s),r=r(s),t.flags|=1,tt(e,t,r,n),t.child;case 14:return r=t.type,s=Yt(r,t.pendingProps),s=Yt(r.type,s),cv(e,t,r,s,n);case 15:return Wb(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Yt(r,s),yl(e,t),t.tag=1,pt(r)?(e=!0,ql(t)):e=!1,ri(t,n),Ub(t,r,s),Af(t,r,s,n),Df(null,t,r,!0,e,n);case 19:return Qb(e,t,n);case 22:return Kb(e,t,n)}throw Error(R(156,t.tag))};function hw(e,t){return V0(e,t)}function qz(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Dt(e,t,n,r){return new qz(e,t,n,r)}function _m(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Qz(e){if(typeof e=="function")return _m(e)?1:0;if(e!=null){if(e=e.$$typeof,e===rm)return 11;if(e===sm)return 14}return 2}function Pr(e,t){var n=e.alternate;return n===null?(n=Dt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function wl(e,t,n,r,s,i){var a=2;if(r=e,typeof e=="function")_m(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Fs:return fs(n.children,s,i,t);case nm:a=8,s|=8;break;case ef:return e=Dt(12,n,t,s|2),e.elementType=ef,e.lanes=i,e;case tf:return e=Dt(13,n,t,s),e.elementType=tf,e.lanes=i,e;case nf:return e=Dt(19,n,t,s),e.elementType=nf,e.lanes=i,e;case S0:return Gc(n,s,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case w0:a=10;break e;case k0:a=9;break e;case rm:a=11;break e;case sm:a=14;break e;case lr:a=16,r=null;break e}throw Error(R(130,e==null?e:typeof e,""))}return t=Dt(a,n,t,s),t.elementType=e,t.type=r,t.lanes=i,t}function fs(e,t,n,r){return e=Dt(7,e,r,t),e.lanes=n,e}function Gc(e,t,n,r){return e=Dt(22,e,r,t),e.elementType=S0,e.lanes=n,e.stateNode={isHidden:!1},e}function ud(e,t,n){return e=Dt(6,e,null,t),e.lanes=n,e}
vendor: 4,656 bytes, line 40
40function dd(e,t,n){return t=Dt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Xz(e,t,n,r,s){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Gu(0),this.expirationTimes=Gu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Gu(0),this.identifierPrefix=r,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null}function Fm(e,t,n,r,s,i,a,l,c){return e=new Xz(e,t,n,l,c),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Dt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},km(i),e}function Jz(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:_s,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function mw(e){if(!e)return Dr;e=e._reactInternals;e:{if(js(e)!==e||e.tag!==1)throw Error(R(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(pt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(R(171))}if(e.tag===1){var n=e.type;if(pt(n))return mb(e,n,t)}return t}function pw(e,t,n,r,s,i,a,l,c){return e=Fm(n,r,!0,e,s,i,a,l,c),e.context=mw(null),n=e.current,r=it(),s=Er(n),i=Fn(r,s),i.callback=t??null,Nr(n,i,s),e.current.lanes=s,da(e,s,r),gt(e,r),e}function Wc(e,t,n,r){var s=t.current,i=it(),a=Er(s);return n=mw(n),t.context===null?t.context=n:t.pendingContext=n,t=Fn(i,a),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Nr(s,t,a),e!==null&&(rn(e,s,a,i),pl(e,s,a)),a}function cc(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function wv(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Vm(e,t){wv(e,t),(e=e.alternate)&&wv(e,t)}function e2(){return null}var gw=typeof reportError=="function"?reportError:function(e){console.error(e)};function Bm(e){this._internalRoot=e}Kc.prototype.render=Bm.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(R(409));Wc(e,t,null,null)};Kc.prototype.unmount=Bm.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;bs(function(){Wc(null,e,null,null)}),t[$n]=null}};function Kc(e){this._internalRoot=e}Kc.prototype.unstable_scheduleHydration=function(e){if(e){var t=K0();e={blockedOn:null,target:e,priority:t};for(var n=0;n<ur.length&&t!==0&&t<ur[n].priority;n++);ur.splice(n,0,e),n===0&&Y0(e)}};function $m(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Zc(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function kv(){}function t2(e,t,n,r,s){if(s){if(typeof r=="function"){var i=r;r=function(){var u=cc(a);i.call(u)}}var a=pw(t,r,e,0,null,!1,!1,"",kv);return e._reactRootContainer=a,e[$n]=a.current,_o(e.nodeType===8?e.parentNode:e),bs(),a}for(;s=e.lastChild;)e.removeChild(s);if(typeof r=="function"){var l=r;r=function(){var u=cc(c);l.call(u)}}var c=Fm(e,0,!1,null,null,!1,!1,"",kv);return e._reactRootContainer=c,e[$n]=c.current,_o(e.nodeType===8?e.parentNode:e),bs(function(){Wc(t,c,n,r)}),c}function Yc(e,t,n,r,s){var i=n._reactRootContainer;if(i){var a=i;if(typeof s=="function"){var l=s;s=function(){var c=cc(a);l.call(c)}}Wc(t,a,e,s)}else a=t2(n,t,e,s,r);return cc(a)}G0=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=uo(t.pendingLanes);n!==0&&(am(t,n|1),gt(t,Pe()),!(ae&6)&&(Ci=Pe()+500,Ur()))}break;case 13:bs(function(){var r=Un(e,1);if(r!==null){var s=it();rn(r,e,1,s)}}),Vm(e,1)}};lm=function(e){if(e.tag===13){var t=Un(e,134217728);if(t!==null){var n=it();rn(t,e,134217728,n)}Vm(e,134217728)}};W0=function(e){if(e.tag===13){var t=Er(e),n=Un(e,t);if(n!==null){var r=it();rn(n,e,t,r)}Vm(e,t)}};K0=function(){return de};Z0=function(e,t){var n=de;try{return de=e,t()}finally{de=n}};hf=function(e,t,n){switch(t){case"input":if(of(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var s=Fc(r);if(!s)throw Error(R(90));
40T0(r),of(r,s)}}}break;case"textarea":N0(e,n);break;case"select":t=n.value,t!=null&&Js(e,!!n.multiple,t,!1)}};D0=Im;I0=bs;var n2={usingClientEntryPoint:!1,Events:[ha,Us,Fc,M0,R0,Im]},no={findFiberByHostInstance:Jr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},r2={bundleType:no.bundleType,version:no.version,rendererPackageName:no.rendererPackageName,rendererConfig:no.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Kn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=_0(e),e===null?null:e.stateNode},findFiberByHostInstance:no.findFiberByHostInstance||e2,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ka=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ka.isDisabled&&Ka.supportsFiber)try{Ic=Ka.inject(r2),wn=Ka}catch{}}Nt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=n2;Nt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!$m(t))throw Error(R(200));return Jz(e,t,null,n)};Nt.createRoot=function(e,t){if(!$m(e))throw Error(R(299));var n=!1,r="",s=gw;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(s=t.onRecoverableError)),t=Fm(e,1,!1,null,null,n,!1,r,s),e[$n]=t.current,_o(e.nodeType===8?e.parentNode:e),new Bm(t)};Nt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(R(188)):(e=Object.keys(e).join(","),Error(R(268,e)));return e=_0(t),e=e===null?null:e.stateNode,e};Nt.flushSync=function(e){return bs(e)};Nt.hydrate=function(e,t,n){if(!Zc(t))throw Error(R(200));return Yc(null,e,t,!0,n)};Nt.hydrateRoot=function(e,t,n){if(!$m(e))throw Error(R(405));var r=n!=null&&n.hydratedSources||null,s=!1,i="",a=gw;if(n!=null&&(n.unstable_strictMode===!0&&(s=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(a=n.onRecoverableError)),t=pw(t,null,e,1,n??null,s,!1,i,a),e[$n]=t.current,_o(e),r)for(e=0;e<r.length;e++)n=r[e],s=n._getVersion,s=s(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,s]:t.mutableSourceEagerHydrationData.push(n,s);return new Kc(t)};Nt.render=function(e,t,n){if(!Zc(t))throw Error(R(200));return Yc(null,e,t,!1,n)};Nt.unmountComponentAtNode=function(e){if(!Zc(e))throw Error(R(40));return e._reactRootContainer?(bs(function(){Yc(null,null,e,!1,function(){e._reactRootContainer=null,e[$n]=null})}),!0):!1};Nt.unstable_batchedUpdates=Im;Nt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Zc(n))throw Error(R(200));if(e==null||e._reactInternals===void 0)throw Error(R(38));return Yc(e,t,n,!1,r)};Nt.version="18.3.1-next-f1338f8080-20240426";function vw(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(vw)}catch(e){console.error(e)}}vw(),v0.exports=Nt;var pa=v0.exports;const yw=ca(pa);var xw,Sv=pa;xw=Sv.createRoot,Sv.hydrateRoot;var s2=typeof Element<"u",i2=typeof Map=="function",o2=typeof Set=="function",a2=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function kl(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,s;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!kl(e[r],t[r]))return!1;return!0}var i;if(i2&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;for(i=e.entries();!(r=i.next()).done;)if(!kl(r.value[1],t.get(r.value[0])))return!1;return!0}if(o2&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(a2&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(s=Object.keys(e),n=s.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,s[r]))return!1;if(s2&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((s[r]==="_owner"||s[r]==="__v"||s[r]==="__o")&&e.$$typeof)&&!kl(e[s[r]],t[s[r]]))return!1;return!0}return e!==e&&t!==t}var l2=function(t,n){try{return kl(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const c2=ca(l2);var u2=function(e,t,n,r,s,i,a,l){if(!e){var c;if(t===void 0)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,s,i,a,l],d=0;c=new Error(t.replace(/%s/g,function(){return u[d++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}},d2=u2;const jv=ca(d2);var f2=function(t,n,r,s){var i=r?r.call(s,t,n):void 0;if(i!==void 0)return!!i;if(t===n)return!0;
40if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var a=Object.keys(t),l=Object.keys(n);if(a.length!==l.length)return!1;for(var c=Object.prototype.hasOwnProperty.bind(n),u=0;u<a.length;u++){var d=a[u];if(!c(d))return!1;var f=t[d],h=n[d];if(i=r?r.call(s,f,h,d):void 0,i===!1||i===void 0&&f!==h)return!1}return!0};const h2=ca(f2);var bw=(e=>(e.BASE="base",e.BODY="body",e.HEAD="head",e.HTML="html",e.LINK="link",e.META="meta",e.NOSCRIPT="noscript",e.SCRIPT="script",e.STYLE="style",e.TITLE="title",e.FRAGMENT="Symbol(react.fragment)",e))(bw||{}),fd={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},Tv=Object.values(bw),qc={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},ww=Object.entries(qc).reduce((e,[t,n])=>(e[n]=t,e),{}),tn="data-rh",ii={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},oi=(e,t)=>{for(let n=e.length-1;n>=0;n-=1){const r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},m2=e=>{let t=oi(e,"title");const n=oi(e,ii.TITLE_TEMPLATE);if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,()=>t);const r=oi(e,ii.DEFAULT_TITLE);return t||r||void 0},p2=e=>oi(e,ii.ON_CHANGE_CLIENT_STATE)||(()=>{}),hd=(e,t)=>t.filter(n=>typeof n[e]<"u").map(n=>n[e]).reduce((n,r)=>({...n,...r}),{}),g2=(e,t)=>t.filter(n=>typeof n.base<"u").map(n=>n.base).reverse().reduce((n,r)=>{if(!n.length){const s=Object.keys(r);for(let i=0;i<s.length;i+=1){const l=s[i].toLowerCase();if(e.indexOf(l)!==-1&&r[l])return n.concat(r)}}return n},[]),v2=e=>console&&typeof console.warn=="function"&&console.warn(e),ro=(e,t,n)=>{const r={};return n.filter(s=>Array.isArray(s[e])?!0:(typeof s[e]<"u"&&v2(`Helmet: ${e} should be of type "Array". Instead found type "${typeof s[e]}"`),!1)).map(s=>s[e]).reverse().reduce((s,i)=>{const a={};i.filter(c=>{let u;const d=Object.keys(c);for(let h=0;h<d.length;h+=1){const m=d[h],b=m.toLowerCase();t.indexOf(b)!==-1&&!(u==="rel"&&c[u].toLowerCase()==="canonical")&&!(b==="rel"&&c[b].toLowerCase()==="stylesheet")&&(u=b),t.indexOf(m)!==-1&&(m==="innerHTML"||m==="cssText"||m==="itemprop")&&(u=m)}if(!u||!c[u])return!1;const f=c[u].toLowerCase();return r[u]||(r[u]={}),a[u]||(a[u]={}),r[u][f]?!1:(a[u][f]=!0,!0)}).reverse().forEach(c=>s.push(c));const l=Object.keys(a);for(let c=0;c<l.length;c+=1){const u=l[c],d={...r[u],...a[u]};r[u]=d}return s},[]).reverse()},y2=(e,t)=>{if(Array.isArray(e)&&e.length){for(let n=0;n<e.length;n+=1)if(e[n][t])return!0}return!1},x2=e=>({baseTag:g2(["href"],e),bodyAttributes:hd("bodyAttributes",e),defer:oi(e,ii.DEFER),encode:oi(e,ii.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:hd("htmlAttributes",e),linkTags:ro("link",["rel","href"],e),metaTags:ro("meta",["name","charset","http-equiv","property","itemprop"],e),noscriptTags:ro("noscript",["innerHTML"],e),onChangeClientState:p2(e),scriptTags:ro("script",["src","innerHTML"],e),styleTags:ro("style",["cssText"],e),title:m2(e),titleAttributes:hd("titleAttributes",e),prioritizeSeoTags:y2(e,ii.PRIORITIZE_SEO_TAGS)}),kw=e=>Array.isArray(e)?e.join(""):e,b2=(e,t)=>{const n=Object.keys(e);for(let r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1},md=(e,t)=>Array.isArray(e)?e.reduce((n,r)=>(b2(r,t)?n.priority.push(r):n.default.push(r),n),{priority:[],default:[]}):{default:e,priority:[]},Cv=(e,t)=>({...e,[t]:void 0}),w2=["noscript","script","style"],Wf=(e,t=!0)=>t===!1?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;"),Sw=e=>Object.keys(e).reduce((t,n)=>{const r=typeof e[n]<"u"?`${n}="${e[n]}"`:`${n}`;return t?`${t} ${r}`:r},""),k2=(e,t,n,r)=>{const s=Sw(n),i=kw(t);return s?`<${e} ${tn}="true" ${s}>${Wf(i,r)}</${e}>`:`<${e} ${tn}="true">${Wf(i,r)}</${e}>`},S2=(e,t,n=!0)=>t.reduce((r,s)=>{const i=s,a=Object.keys(i).filter(u=>!(u==="innerHTML"||u==="cssText")).reduce((u,d)=>{const f=typeof i[d]>"u"?d:`${d}="${Wf(i[d],n)}"`;return u?`${u} ${f}`:f},""),l=i.innerHTML||i.cssText||"",c=w2.indexOf(e)===-1;return`${r}<${e} ${tn}="true" ${a}${c?"/>":`>${l}</${e}>`}`},""),jw=(e,t={})=>Object.keys(e).reduce((n,r)=>{const s=qc[r];return n[s||r]=e[r],n}
40,t),j2=(e,t,n)=>{const r={key:t,[tn]:!0},s=jw(n,r);return[M.createElement("title",s,t)]},Sl=(e,t)=>t.map((n,r)=>{const s={key:r,[tn]:!0};return Object.keys(n).forEach(i=>{const l=qc[i]||i;if(l==="innerHTML"||l==="cssText"){const c=n.innerHTML||n.cssText;s.dangerouslySetInnerHTML={__html:c}}else s[l]=n[i]}),M.createElement(e,s)}),Pt=(e,t,n=!0)=>{switch(e){case"title":return{toComponent:()=>j2(e,t.title,t.titleAttributes),toString:()=>k2(e,t.title,t.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>jw(t),toString:()=>Sw(t)};default:return{toComponent:()=>Sl(e,t),toString:()=>S2(e,t,n)}}},T2=({metaTags:e,linkTags:t,scriptTags:n,encode:r})=>{const s=md(e,fd.meta),i=md(t,fd.link),a=md(n,fd.script);return{priorityMethods:{toComponent:()=>[...Sl("meta",s.priority),...Sl("link",i.priority),...Sl("script",a.priority)],toString:()=>`${Pt("meta",s.priority,r)} ${Pt("link",i.priority,r)} ${Pt("script",a.priority,r)}`},metaTags:s.default,linkTags:i.default,scriptTags:a.default}},C2=e=>{const{baseTag:t,bodyAttributes:n,encode:r=!0,htmlAttributes:s,noscriptTags:i,styleTags:a,title:l="",titleAttributes:c,prioritizeSeoTags:u}=e;let{linkTags:d,metaTags:f,scriptTags:h}=e,m={toComponent:()=>[],toString:()=>""};return u&&({priorityMethods:m,linkTags:d,metaTags:f,scriptTags:h}=T2(e)),{priority:m,base:Pt("base",t,r),bodyAttributes:Pt("bodyAttributes",n,r),htmlAttributes:Pt("htmlAttributes",s,r),link:Pt("link",d,r),meta:Pt("meta",f,r),noscript:Pt("noscript",i,r),script:Pt("script",h,r),style:Pt("style",a,r),title:Pt("title",{title:l,titleAttributes:c},r)}},Kf=C2,Za=[],Um=!!(typeof window<"u"&&window.document&&window.document.createElement),Zf=class{constructor(e,t){An(this,"instances",[]);An(this,"canUseDOM",Um);An(this,"context");An(this,"value",{setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?Za:this.instances,add:e=>{(this.canUseDOM?Za:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?Za:this.instances).indexOf(e);(this.canUseDOM?Za:this.instances).splice(t,1)}}});this.context=e,this.canUseDOM=t||!1,t||(e.helmet=Kf({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},N2=parseInt(M.version.split(".")[0],10),Yf=N2>=19,z2={},Tw=M.createContext(z2),ss,Cw=(ss=class extends p.Component{constructor(n){super(n);An(this,"helmetData");Yf?this.helmetData=null:this.helmetData=new Zf(this.props.context||{},ss.canUseDOM)}render(){return Yf?M.createElement(M.Fragment,null,this.props.children):M.createElement(Tw.Provider,{value:this.helmetData.value},this.props.children)}},An(ss,"canUseDOM",Um),ss),Rs=(e,t)=>{const n=document.head||document.querySelector("head"),r=n.querySelectorAll(`${e}[${tn}]`),s=[].slice.call(r),i=[];let a;return t&&t.length&&t.forEach(l=>{const c=document.createElement(e);for(const u in l)if(Object.prototype.hasOwnProperty.call(l,u))if(u==="innerHTML")c.innerHTML=l.innerHTML;else if(u==="cssText"){const d=l.cssText;c.appendChild(document.createTextNode(d))}else{const d=u,f=typeof l[d]>"u"?"":l[d];c.setAttribute(u,f)}c.setAttribute(tn,"true"),s.some((u,d)=>(a=d,c.isEqualNode(u)))?s.splice(a,1):i.push(c)}),s.forEach(l=>{var c;return(c=l.parentNode)==null?void 0:c.removeChild(l)}),i.forEach(l=>n.appendChild(l)),{oldTags:s,newTags:i}},qf=(e,t)=>{const n=document.getElementsByTagName(e)[0];if(!n)return;const r=n.getAttribute(tn),s=r?r.split(","):[],i=[...s],a=Object.keys(t);for(const l of a){const c=t[l]||"";n.getAttribute(l)!==c&&n.setAttribute(l,c),s.indexOf(l)===-1&&s.push(l);const u=i.indexOf(l);u!==-1&&i.splice(u,1)}for(let l=i.length-1;l>=0;l-=1)n.removeAttribute(i[l]);s.length===i.length?n.removeAttribute(tn):n.getAttribute(tn)!==a.join(",")&&n.setAttribute(tn,a.join(","))},E2=(e,t)=>{typeof e<"u"&&document.title!==e&&(document.title=kw(e)),qf("title",t)},Nv=(e,t)=>{const{baseTag:n,bodyAttributes:r,htmlAttributes:s,linkTags:i,metaTags:a,noscriptTags:l,onChangeClientState:c,scriptTags:u,styleTags:d,title:f,titleAttributes:h}=e;qf("body",r),qf("html",s),E2(f,h);const m={baseTag:Rs("base",n),linkTags:Rs("link",i),metaTags:Rs("meta",a),noscriptTags:Rs("noscript",l),scriptTags:Rs("script",u),styleTags:Rs("style",d)},b={},g={};Object.keys(m).forEach(w=>{const{newTags:v,oldTags:y}=m[w];
40v.length&&(b[w]=v),y.length&&(g[w]=m[w].oldTags)}),t&&t(),c(e,b,g)},so=null,P2=e=>{so&&cancelAnimationFrame(so),e.defer?so=requestAnimationFrame(()=>{Nv(e,()=>{so=null})}):(Nv(e),so=null)},A2=P2,zv=class extends p.Component{constructor(){super(...arguments);An(this,"rendered",!1)}shouldComponentUpdate(t){return!h2(t,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:t}=this.props.context;t.remove(this),this.emitChange()}emitChange(){const{helmetInstances:t,setHelmet:n}=this.props.context;let r=null;const s=x2(t.get().map(i=>{const{context:a,...l}=i.props;return l}));Cw.canUseDOM?A2(s):Kf&&(r=Kf(s)),n(r)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:t}=this.props.context;t.add(this),this.emitChange()}render(){return this.init(),null}},jl=[],Ev=e=>{const t={};for(const n of Object.keys(e))t[ww[n]||n]=e[n];return t},Zr=e=>{const t={};for(const n of Object.keys(e)){const r=qc[n];t[r||n]=e[n]}return t},Pv=(e,t)=>{if(!Um)return;const n=document.getElementsByTagName(e)[0];if(!n)return;const r="data-rh-managed",s=n.getAttribute(r),i=s?s.split(","):[],a=Object.keys(t);for(const l of i)a.includes(l)||n.removeAttribute(l);for(const l of a){const c=t[l];c==null||c===!1?n.removeAttribute(l):c===!0?n.setAttribute(l,""):n.setAttribute(l,String(c))}a.length>0?n.setAttribute(r,a.join(",")):n.removeAttribute(r)},pd=()=>{const e={},t={};for(const n of jl){const{htmlAttributes:r,bodyAttributes:s}=n.props;r&&Object.assign(e,Ev(r)),s&&Object.assign(t,Ev(s))}Pv("html",e),Pv("body",t)},M2=class extends p.Component{componentDidMount(){jl.push(this),pd()}componentDidUpdate(){pd()}componentWillUnmount(){const e=jl.indexOf(this);e!==-1&&jl.splice(e,1),pd()}resolveTitle(){const{title:e,titleTemplate:t,defaultTitle:n}=this.props;return e&&t?t.replace(/%s/g,()=>Array.isArray(e)?e.join(""):e):e||n||void 0}renderTitle(){const e=this.resolveTitle();if(e===void 0)return null;const t=this.props.titleAttributes||{};return M.createElement("title",Zr(t),e)}renderBase(){const{base:e}=this.props;return e?M.createElement("base",Zr(e)):null}renderMeta(){const{meta:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>M.createElement("meta",{key:n,...Zr(t)}))}renderLink(){const{link:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>M.createElement("link",{key:n,...Zr(t)}))}renderScript(){const{script:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>{const{innerHTML:r,...s}=t,i=Zr(s);return r&&(i.dangerouslySetInnerHTML={__html:r}),M.createElement("script",{key:n,...i})})}renderStyle(){const{style:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>{const{cssText:r,...s}=t,i=Zr(s);return r&&(i.dangerouslySetInnerHTML={__html:r}),M.createElement("style",{key:n,...i})})}renderNoscript(){const{noscript:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>{const{innerHTML:r,...s}=t,i=Zr(s);return r&&(i.dangerouslySetInnerHTML={__html:r}),M.createElement("noscript",{key:n,...i})})}render(){return M.createElement(M.Fragment,null,this.renderTitle(),this.renderBase(),this.renderMeta(),this.renderLink(),this.renderScript(),this.renderStyle(),this.renderNoscript())}},Xd,R2=(Xd=class extends p.Component{shouldComponentUpdate(e){return!c2(Cv(this.props,"helmetData"),Cv(e,"helmetData"))}mapNestedChildrenToProps(e,t){if(!t)return null;switch(e.type){case"script":case"noscript":return{innerHTML:t};case"style":return{cssText:t};default:throw new Error(`<${e.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(e,t,n,r){return{...t,[e.type]:[...t[e.type]||[],{...n,...this.mapNestedChildrenToProps(e,r)}]}}mapObjectTypeChildren(e,t,n,r){switch(e.type){case"title":return{...t,[e.type]:r,titleAttributes:{...n}};case"body":return{...t,bodyAttributes:{...n}};case"html":return{...t,htmlAttributes:{...n}};default:return{...t,[e.type]:{...n}}}}mapArrayTypeChildrenToProps(e,t){let n={...t};return Object.keys(e).forEach(r=>{n={...n,[r]:e[r]}}),n}warnOnInvalidChildren(e,t){return jv(Tv.some(n=>e.type===n),typeof e.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${Tv.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),jv(!t||typeof t=="string"||Array.isArray(t)&&!t.some(n=>
40typeof n!="string"),`Helmet expects a string as a child of <${e.type}>. Did you forget to wrap your children in braces? ( <${e.type}>{\`\`}</${e.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(e,t){let n={};return M.Children.forEach(e,r=>{if(!r||!r.props)return;const{children:s,...i}=r.props,a=Object.keys(i).reduce((c,u)=>(c[ww[u]||u]=i[u],c),{});let{type:l}=r;switch(typeof l=="symbol"?l=l.toString():this.warnOnInvalidChildren(r,s),l){case"Symbol(react.fragment)":t=this.mapChildrenToProps(s,t);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(r,n,a,s);break;default:t=this.mapObjectTypeChildren(r,t,a,s);break}}),this.mapArrayTypeChildrenToProps(n,t)}render(){const{children:e,...t}=this.props;let n={...t},{helmetData:r}=t;if(e&&(n=this.mapChildrenToProps(e,n)),r&&!(r instanceof Zf)){const s=r;r=new Zf(s.context,!0),delete n.helmetData}return Yf?M.createElement(M2,{...n}):r?M.createElement(zv,{...n,context:r.value}):M.createElement(Tw.Consumer,null,s=>M.createElement(zv,{...n,context:s}))}},An(Xd,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),Xd);const D2=1,I2=1e6;let gd=0;function O2(){return gd=(gd+1)%Number.MAX_SAFE_INTEGER,gd.toString()}const vd=new Map,Av=e=>{if(vd.has(e))return;const t=setTimeout(()=>{vd.delete(e),jo({type:"REMOVE_TOAST",toastId:e})},I2);vd.set(e,t)},L2=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,D2)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;return n?Av(n):e.toasts.forEach(r=>{Av(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},Tl=[];let Cl={toasts:[]};function jo(e){Cl=L2(Cl,e),Tl.forEach(t=>{t(Cl)})}function _2({...e}){const t=O2(),n=s=>jo({type:"UPDATE_TOAST",toast:{...s,id:t}}),r=()=>jo({type:"DISMISS_TOAST",toastId:t});return jo({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:s=>{s||r()}}}),{id:t,dismiss:r,update:n}}function F2(){const[e,t]=p.useState(Cl);return p.useEffect(()=>(Tl.push(t),()=>{const n=Tl.indexOf(t);n>-1&&Tl.splice(n,1)}),[e]),{...e,toast:_2,dismiss:n=>jo({type:"DISMISS_TOAST",toastId:n})}}function $(e,t,{checkForDefaultPrevented:n=!0}={}){return function(s){if(e==null||e(s),n===!1||!s.defaultPrevented)return t==null?void 0:t(s)}}function Mv(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Qc(...e){return t=>{let n=!1;const r=e.map(s=>{const i=Mv(s,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let s=0;s<r.length;s++){const i=r[s];typeof i=="function"?i():Mv(e[s],null)}}}}function fe(...e){return p.useCallback(Qc(...e),e)}function V2(e,t){const n=p.createContext(t),r=i=>{const{children:a,...l}=i,c=p.useMemo(()=>l,Object.values(l));return o.jsx(n.Provider,{value:c,children:a})};r.displayName=e+"Provider";function s(i){const a=p.useContext(n);if(a)return a;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return[r,s]}function cn(e,t=[]){let n=[];function r(i,a){const l=p.createContext(a),c=n.length;n=[...n,a];const u=f=>{var v;const{scope:h,children:m,...b}=f,g=((v=h==null?void 0:h[e])==null?void 0:v[c])||l,w=p.useMemo(()=>b,Object.values(b));return o.jsx(g.Provider,{value:w,children:m})};u.displayName=i+"Provider";function d(f,h){var g;const m=((g=h==null?void 0:h[e])==null?void 0:g[c])||l,b=p.useContext(m);if(b)return b;if(a!==void 0)return a;throw new Error(`\`${f}\` must be used within \`${i}\``)}return[u,d]}const s=()=>{const i=n.map(a=>p.createContext(a));return function(l){const c=(l==null?void 0:l[e])||i;return p.useMemo(()=>({[`__scope${e}`]:{...l,[e]:c}}),[l,c])}};return s.scopeName=e,[r,B2(s,...t)]}function B2(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(i){const a=r.reduce((l,{useScope:c,scopeName:u})=>{const f=c(i)[`__scope${u}`];return{...l,...f}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:a}
vendor: 10,526 bytes, line 40
40),[a])}};return n.scopeName=t.scopeName,n}function Ni(e){const t=U2(e),n=p.forwardRef((r,s)=>{const{children:i,...a}=r,l=p.Children.toArray(i),c=l.find(G2);if(c){const u=c.props.children,d=l.map(f=>f===c?p.Children.count(u)>1?p.Children.only(null):p.isValidElement(u)?u.props.children:null:f);return o.jsx(t,{...a,ref:s,children:p.isValidElement(u)?p.cloneElement(u,void 0,d):null})}return o.jsx(t,{...a,ref:s,children:i})});return n.displayName=`${e}.Slot`,n}var $2=Ni("Slot");function U2(e){const t=p.forwardRef((n,r)=>{const{children:s,...i}=n;if(p.isValidElement(s)){const a=K2(s),l=W2(i,s.props);return s.type!==p.Fragment&&(l.ref=r?Qc(r,a):a),p.cloneElement(s,l)}return p.Children.count(s)>1?p.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Nw=Symbol("radix.slottable");function H2(e){const t=({children:n})=>o.jsx(o.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=Nw,t}function G2(e){return p.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Nw}function W2(e,t){const n={...t};for(const r in t){const s=e[r],i=t[r];/^on[A-Z]/.test(r)?s&&i?n[r]=(...l)=>{const c=i(...l);return s(...l),c}:s&&(n[r]=s):r==="style"?n[r]={...s,...i}:r==="className"&&(n[r]=[s,i].filter(Boolean).join(" "))}return{...e,...n}}function K2(e){var r,s;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(s=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:s.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function Hm(e){const t=e+"CollectionProvider",[n,r]=cn(t),[s,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=g=>{const{scope:w,children:v}=g,y=M.useRef(null),x=M.useRef(new Map).current;return o.jsx(s,{scope:w,itemMap:x,collectionRef:y,children:v})};a.displayName=t;const l=e+"CollectionSlot",c=Ni(l),u=M.forwardRef((g,w)=>{const{scope:v,children:y}=g,x=i(l,v),k=fe(w,x.collectionRef);return o.jsx(c,{ref:k,children:y})});u.displayName=l;const d=e+"CollectionItemSlot",f="data-radix-collection-item",h=Ni(d),m=M.forwardRef((g,w)=>{const{scope:v,children:y,...x}=g,k=M.useRef(null),S=fe(w,k),j=i(d,v);return M.useEffect(()=>(j.itemMap.set(k,{ref:k,...x}),()=>void j.itemMap.delete(k))),o.jsx(h,{[f]:"",ref:S,children:y})});m.displayName=d;function b(g){const w=i(e+"CollectionConsumer",g);return M.useCallback(()=>{const y=w.collectionRef.current;if(!y)return[];const x=Array.from(y.querySelectorAll(`[${f}]`));return Array.from(w.itemMap.values()).sort((j,T)=>x.indexOf(j.ref.current)-x.indexOf(T.ref.current))},[w.collectionRef,w.itemMap])}return[{Provider:a,Slot:u,ItemSlot:m},b,r]}var Z2=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ne=Z2.reduce((e,t)=>{const n=Ni(`Primitive.${t}`),r=p.forwardRef((s,i)=>{const{asChild:a,...l}=s,c=a?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),o.jsx(c,{...l,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Gm(e,t){e&&pa.flushSync(()=>e.dispatchEvent(t))}function De(e){const t=p.useRef(e);return p.useEffect(()=>{t.current=e}),p.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function Y2(e,t=globalThis==null?void 0:globalThis.document){const n=De(e);p.useEffect(()=>{const r=s=>{s.key==="Escape"&&n(s)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var q2="DismissableLayer",Qf="dismissableLayer.update",Q2="dismissableLayer.pointerDownOutside",X2="dismissableLayer.focusOutside",Rv,zw=p.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),ga=p.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:s,onFocusOutside:i,onInteractOutside:a,onDismiss:l,...c}=e,u=p.useContext(zw),[d,f]=p.useState(null),h=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,m]=p.useState({}),b=fe(t,T=>f(T)),g=Array.from(u.layers),[w]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),v=g.indexOf(w),y=d?g.indexOf(d):-1,x=u.layersWithOutsidePointerEventsDisabled.size>0,k=y>=v,S=eE(T=>{const N=T.target,P=[...u.branches].some(z=>z.contains(N));!k||P||(s==null||s(T),a==null||a(T),T.defaultPrevented||l==null||l())},h),j=tE(T=>{const N=T.target;[...u.branches].some(z=>z.contains(N))||(i==null||i(T),a==null||a(T),T.defaultPrevented||l==null||l())},h);return Y2(T=>{y===u.layers.size-1&&(r==null||r(T),!T.defaultPrevented&&l&&(T.preventDefault(),l()))},h),p.useEffect(()=>{if(d)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Rv=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),Dv(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=Rv)}},[d,h,n,u]),p.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),Dv())},[d,u]),p.useEffect(()=>{const T=()=>m({});return document.addEventListener(Qf,T),()=>document.removeEventListener(Qf,T)},[]),o.jsx(ne.div,{...c,ref:b,style:{pointerEvents:x?k?"auto":"none":void 0,...e.style},onFocusCapture:$(e.onFocusCapture,j.onFocusCapture),onBlurCapture:$(e.onBlurCapture,j.onBlurCapture),onPointerDownCapture:$(e.onPointerDownCapture,S.onPointerDownCapture)})});ga.displayName=q2;var J2="DismissableLayerBranch",Ew=p.forwardRef((e,t)=>{const n=p.useContext(zw),r=p.useRef(null),s=fe(t,r);return p.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),o.jsx(ne.div,{...e,ref:s})});Ew.displayName=J2;function eE(e,t=globalThis==null?void 0:globalThis.document){const n=De(e),r=p.useRef(!1),s=p.useRef(()=>{});return p.useEffect(()=>{const i=l=>{if(l.target&&!r.current){let c=function(){Pw(Q2,n,u,{discrete:!0})};const u={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",s.current),s.current=c,t.addEventListener("click",s.current,{once:!0})):c()}else t.removeEventListener("click",s.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",s.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function tE(e,t=globalThis==null?void 0:globalThis.document){const n=De(e),r=p.useRef(!1);return p.useEffect(()=>{const s=i=>{i.target&&!r.current&&Pw(X2,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",s),()=>t.removeEventListener("focusin",s)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Dv(){const e=new CustomEvent(Qf);document.dispatchEvent(e)}function Pw(e,t,n,{discrete:r}){const s=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&s.addEventListener(e,t,{once:!0}),r?Gm(s,i):s.dispatchEvent(i)}var nE=ga,rE=Ew,jn=globalThis!=null&&globalThis.document?p.useLayoutEffect:()=>{},sE="Portal",Xc=p.forwardRef((e,t)=>{var l;const{container:n,...r}=e,[s,i]=p.useState(!1);jn(()=>i(!0),[]);const a=n||s&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return a?yw.createPortal(o.jsx(ne.div,{...r,ref:t}),a):null});Xc.displayName=sE;function iE(e,t){return p.useReducer((n,r)=>t[n][r]??n,e)}var lt=e=>{const{present:t,children:n}=e,r=oE(t),s=typeof n=="function"?n({present:r.isPresent}):p.Children.only(n),i=fe(r.ref,aE(s));return typeof n=="function"||r.isPresent?p.cloneElement(s,{ref:i}):null};lt.displayName="Presence";function oE(e){const[t,n]=p.useState(),r=p.useRef(null),s=p.useRef(e),i=p.useRef("none"),a=e?"mounted":"unmounted",[l,c]=iE(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return p.useEffect(()=>{const u=Ya(r.current);i.current=l==="mounted"?u:"none"},[l]),jn(()=>{const u=r.current,d=s.current;if(d!==e){const h=i.current,m=Ya(u);e?c("MOUNT"):m==="none"||(u==null?void 0:u.display)==="none"?c("UNMOUNT"):c(d&&h!==m?"ANIMATION_OUT":"UNMOUNT"),s.current=e}},[e,c]),jn(()=>{if(t){let u;const d=t.ownerDocument.defaultView??window,f=m=>{const g=Ya(r.current).includes(m.animationName);if(m.target===t&&g&&(c("ANIMATION_END"),!s.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",u=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},h=m=>{m.target===t&&(i.current=Ya(r.current))};return t.addEventListener("animationstart",h),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{d.clearTimeout(u),t.removeEventListener("animationstart",h),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:p.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function Ya(e){return(e==null?void 0:e.animationName)||"none"}function aE(e){var r,s;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(s=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:s.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var lE=Xh[" useInsertionEffect ".trim().toString()]||jn;function _i({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[s,i,a]=cE({defaultProp:t,onChange:n}),l=e!==void 0,c=l?e:s;{const d=p.useRef(e!==void 0);p.useEffect(()=>{const f=d.current;f!==l&&console.warn(`${r} is changing from ${f?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),d.current=l},[l,r])}const u=p.useCallback(d=>{var f;if(l){const h=uE(d)?d(e):d;h!==e&&((f=a.current)==null||f.call(a,h))}else i(d)},[l,e,i,a]);return[c,u]}function cE({defaultProp:e,onChange:t}){const[n,r]=p.useState(e),s=p.useRef(n),i=p.useRef(t);return lE(()=>{i.current=t},[t]),p.useEffect(()=>{var a;s.current!==n&&((a=i.current)==null||a.call(i,n),s.current=n)},[n,s]),[n,r,i]}function uE(e){return typeof e=="function"}var dE=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),fE="VisuallyHidden",Jc=p.forwardRef((e,t)=>
40o.jsx(ne.span,{...e,ref:t,style:{...dE,...e.style}}));Jc.displayName=fE;var hE=Jc,Wm="ToastProvider",[Km,mE,pE]=Hm("Toast"),[Aw,wV]=cn("Toast",[pE]),[gE,eu]=Aw(Wm),Mw=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:s="right",swipeThreshold:i=50,children:a}=e,[l,c]=p.useState(null),[u,d]=p.useState(0),f=p.useRef(!1),h=p.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${Wm}\`. Expected non-empty \`string\`.`),o.jsx(Km.Provider,{scope:t,children:o.jsx(gE,{scope:t,label:n,duration:r,swipeDirection:s,swipeThreshold:i,toastCount:u,viewport:l,onViewportChange:c,onToastAdd:p.useCallback(()=>d(m=>m+1),[]),onToastRemove:p.useCallback(()=>d(m=>m-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:h,children:a})})};Mw.displayName=Wm;var Rw="ToastViewport",vE=["F8"],Xf="toast.viewportPause",Jf="toast.viewportResume",Dw=p.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=vE,label:s="Notifications ({hotkey})",...i}=e,a=eu(Rw,n),l=mE(n),c=p.useRef(null),u=p.useRef(null),d=p.useRef(null),f=p.useRef(null),h=fe(t,f,a.onViewportChange),m=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),b=a.toastCount>0;p.useEffect(()=>{const w=v=>{var x;r.length!==0&&r.every(k=>v[k]||v.code===k)&&((x=f.current)==null||x.focus())};return document.addEventListener("keydown",w),()=>document.removeEventListener("keydown",w)},[r]),p.useEffect(()=>{const w=c.current,v=f.current;if(b&&w&&v){const y=()=>{if(!a.isClosePausedRef.current){const j=new CustomEvent(Xf);v.dispatchEvent(j),a.isClosePausedRef.current=!0}},x=()=>{if(a.isClosePausedRef.current){const j=new CustomEvent(Jf);v.dispatchEvent(j),a.isClosePausedRef.current=!1}},k=j=>{!w.contains(j.relatedTarget)&&x()},S=()=>{w.contains(document.activeElement)||x()};return w.addEventListener("focusin",y),w.addEventListener("focusout",k),w.addEventListener("pointermove",y),w.addEventListener("pointerleave",S),window.addEventListener("blur",y),window.addEventListener("focus",x),()=>{w.removeEventListener("focusin",y),w.removeEventListener("focusout",k),w.removeEventListener("pointermove",y),w.removeEventListener("pointerleave",S),window.removeEventListener("blur",y),window.removeEventListener("focus",x)}}},[b,a.isClosePausedRef]);const g=p.useCallback(({tabbingDirection:w})=>{const y=l().map(x=>{const k=x.ref.current,S=[k,...PE(k)];return w==="forwards"?S:S.reverse()});return(w==="forwards"?y.reverse():y).flat()},[l]);return p.useEffect(()=>{const w=f.current;if(w){const v=y=>{var S,j,T;const x=y.altKey||y.ctrlKey||y.metaKey;if(y.key==="Tab"&&!x){const N=document.activeElement,P=y.shiftKey;if(y.target===w&&P){(S=u.current)==null||S.focus();return}const O=g({tabbingDirection:P?"backwards":"forwards"}),W=O.findIndex(I=>I===N);yd(O.slice(W+1))?y.preventDefault():P?(j=u.current)==null||j.focus():(T=d.current)==null||T.focus()}};return w.addEventListener("keydown",v),()=>w.removeEventListener("keydown",v)}},[l,g]),o.jsxs(rE,{ref:c,role:"region","aria-label":s.replace("{hotkey}",m),tabIndex:-1,style:{pointerEvents:b?void 0:"none"},children:[b&&o.jsx(eh,{ref:u,onFocusFromOutsideViewport:()=>{const w=g({tabbingDirection:"forwards"});yd(w)}}),o.jsx(Km.Slot,{scope:n,children:o.jsx(ne.ol,{tabIndex:-1,...i,ref:h})}),b&&o.jsx(eh,{ref:d,onFocusFromOutsideViewport:()=>{const w=g({tabbingDirection:"backwards"});yd(w)}})]})});Dw.displayName=Rw;var Iw="ToastFocusProxy",eh=p.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...s}=e,i=eu(Iw,n);return o.jsx(Jc,{"aria-hidden":!0,tabIndex:0,...s,ref:t,style:{position:"fixed"},onFocus:a=>{var u;const l=a.relatedTarget;!((u=i.viewport)!=null&&u.contains(l))&&r()}})});eh.displayName=Iw;var va="Toast",yE="toast.swipeStart",xE="toast.swipeMove",bE="toast.swipeCancel",wE="toast.swipeEnd",Ow=p.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:s,onOpenChange:i,...a}=e,[l,c]=_i({prop:r,defaultProp:s??!0,onChange:i,caller:va});return o.jsx(lt,{present:n||l,children:o.jsx(jE,{open:l,...a,ref:t,onClose:()=>c(!1),onPause:De(e.onPause),onResume:De(e.onResume),onSwipeStart:$(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:$(e.onSwipeMove,u=>{const{x:d,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${f}px`)}),onSwipeCancel:$(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:$(e.onSwipeEnd,u=>{const{x:d,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${f}px`),c(!1)})})})});Ow.displayName=va;var[kE,SE]=Aw(va,{onClose(){}}),jE=p.forwardRef((e,t)=>
40{const{__scopeToast:n,type:r="foreground",duration:s,open:i,onClose:a,onEscapeKeyDown:l,onPause:c,onResume:u,onSwipeStart:d,onSwipeMove:f,onSwipeCancel:h,onSwipeEnd:m,...b}=e,g=eu(va,n),[w,v]=p.useState(null),y=fe(t,I=>v(I)),x=p.useRef(null),k=p.useRef(null),S=s||g.duration,j=p.useRef(0),T=p.useRef(S),N=p.useRef(0),{onToastAdd:P,onToastRemove:z}=g,L=De(()=>{var K;(w==null?void 0:w.contains(document.activeElement))&&((K=g.viewport)==null||K.focus()),a()}),O=p.useCallback(I=>{!I||I===1/0||(window.clearTimeout(N.current),j.current=new Date().getTime(),N.current=window.setTimeout(L,I))},[L]);p.useEffect(()=>{const I=g.viewport;if(I){const K=()=>{O(T.current),u==null||u()},V=()=>{const q=new Date().getTime()-j.current;T.current=T.current-q,window.clearTimeout(N.current),c==null||c()};return I.addEventListener(Xf,V),I.addEventListener(Jf,K),()=>{I.removeEventListener(Xf,V),I.removeEventListener(Jf,K)}}},[g.viewport,S,c,u,O]),p.useEffect(()=>{i&&!g.isClosePausedRef.current&&O(S)},[i,S,g.isClosePausedRef,O]),p.useEffect(()=>(P(),()=>z()),[P,z]);const W=p.useMemo(()=>w?Uw(w):null,[w]);return g.viewport?o.jsxs(o.Fragment,{children:[W&&o.jsx(TE,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:W}),o.jsx(kE,{scope:n,onClose:L,children:pa.createPortal(o.jsx(Km.ItemSlot,{scope:n,children:o.jsx(nE,{asChild:!0,onEscapeKeyDown:$(l,()=>{g.isFocusedToastEscapeKeyDownRef.current||L(),g.isFocusedToastEscapeKeyDownRef.current=!1}),children:o.jsx(ne.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":g.swipeDirection,...b,ref:y,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:$(e.onKeyDown,I=>{I.key==="Escape"&&(l==null||l(I.nativeEvent),I.nativeEvent.defaultPrevented||(g.isFocusedToastEscapeKeyDownRef.current=!0,L()))}),onPointerDown:$(e.onPointerDown,I=>{I.button===0&&(x.current={x:I.clientX,y:I.clientY})}),onPointerMove:$(e.onPointerMove,I=>{if(!x.current)return;const K=I.clientX-x.current.x,V=I.clientY-x.current.y,q=!!k.current,E=["left","right"].includes(g.swipeDirection),C=["left","up"].includes(g.swipeDirection)?Math.min:Math.max,D=E?C(0,K):0,G=E?0:C(0,V),H=I.pointerType==="touch"?10:2,J={x:D,y:G},te={originalEvent:I,delta:J};q?(k.current=J,qa(xE,f,te,{discrete:!1})):Iv(J,g.swipeDirection,H)?(k.current=J,qa(yE,d,te,{discrete:!1}),I.target.setPointerCapture(I.pointerId)):(Math.abs(K)>H||Math.abs(V)>H)&&(x.current=null)}),onPointerUp:$(e.onPointerUp,I=>{const K=k.current,V=I.target;if(V.hasPointerCapture(I.pointerId)&&V.releasePointerCapture(I.pointerId),k.current=null,x.current=null,K){const q=I.currentTarget,E={originalEvent:I,delta:K};Iv(K,g.swipeDirection,g.swipeThreshold)?qa(wE,m,E,{discrete:!0}):qa(bE,h,E,{discrete:!0}),q.addEventListener("click",C=>C.preventDefault(),{once:!0})}})})})}),g.viewport)})]}):null}),TE=e=>{const{__scopeToast:t,children:n,...r}=e,s=eu(va,t),[i,a]=p.useState(!1),[l,c]=p.useState(!1);return zE(()=>a(!0)),p.useEffect(()=>{const u=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(u)},[]),l?null:o.jsx(Xc,{asChild:!0,children:o.jsx(Jc,{...r,children:i&&o.jsxs(o.Fragment,{children:[s.label," ",n]})})})},CE="ToastTitle",Lw=p.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return o.jsx(ne.div,{...r,ref:t})});Lw.displayName=CE;var NE="ToastDescription",_w=p.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return o.jsx(ne.div,{...r,ref:t})});_w.displayName=NE;var Fw="ToastAction",Vw=p.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?o.jsx($w,{altText:n,asChild:!0,children:o.jsx(Zm,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${Fw}\`. Expected non-empty \`string\`.`),null)});Vw.displayName=Fw;var Bw="ToastClose",Zm=p.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,s=SE(Bw,n);return o.jsx($w,{asChild:!0,children:o.jsx(ne.button,{type:"button",...r,ref:t,onClick:$(e.onClick,s.onClose)})})});Zm.displayName=Bw;var $w=p.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...s}=e;return o.jsx(ne.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...s,ref:t})});function Uw(e){const t=[];
vendor: 7,652 bytes, lines 40-120
40return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),EE(r)){const s=r.ariaHidden||r.hidden||r.style.display==="none",i=r.dataset.radixToastAnnounceExclude==="";if(!s)if(i){const a=r.dataset.radixToastAnnounceAlt;a&&t.push(a)}else t.push(...Uw(r))}}),t}function qa(e,t,n,{discrete:r}){const s=n.originalEvent.currentTarget,i=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&s.addEventListener(e,t,{once:!0}),r?Gm(s,i):s.dispatchEvent(i)}var Iv=(e,t,n=0)=>{const r=Math.abs(e.x),s=Math.abs(e.y),i=r>s;return t==="left"||t==="right"?i&&r>n:!i&&s>n};function zE(e=()=>{}){const t=De(e);jn(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function EE(e){return e.nodeType===e.ELEMENT_NODE}function PE(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const s=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||s?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function yd(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var AE=Mw,Hw=Dw,Gw=Ow,Ww=Lw,Kw=_w,Zw=Vw,Yw=Zm;function qw(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(n=qw(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Qw(){for(var e,t,n=0,r="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=qw(e))&&(r&&(r+=" "),r+=t);return r}const Ov=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Lv=Qw,Ym=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return Lv(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:s,defaultVariants:i}=t,a=Object.keys(s).map(u=>{const d=n==null?void 0:n[u],f=i==null?void 0:i[u];if(d===null)return null;const h=Ov(d)||Ov(f);return s[u][h]}),l=n&&Object.entries(n).reduce((u,d)=>{let[f,h]=d;return h===void 0||(u[f]=h),u},{}),c=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,d)=>{let{class:f,className:h,...m}=d;return Object.entries(m).every(b=>{let[g,w]=b;return Array.isArray(w)?w.includes({...i,...l}[g]):{...i,...l}[g]===w})?[...u,f,h]:u},[]);return Lv(e,a,c,n==null?void 0:n.class,n==null?void 0:n.className)};/**
41 * @license lucide-react v0.462.0 - ISC
42 *
43 * This source code is licensed under the ISC license.
44 * See the LICENSE file in the root directory of this source tree.
45 */const ME=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Xw=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
46 * @license lucide-react v0.462.0 - ISC
47 *
48 * This source code is licensed under the ISC license.
49 * See the LICENSE file in the root directory of this source tree.
50 */var RE={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"};/**
51 * @license lucide-react v0.462.0 - ISC
52 *
53 * This source code is licensed under the ISC license.
54 * See the LICENSE file in the root directory of this source tree.
55 */const DE=p.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:s="",children:i,iconNode:a,...l},c)=>p.createElement("svg",{ref:c,...RE,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Xw("lucide",s),...l},[...a.map(([u,d])=>p.createElement(u,d)),...Array.isArray(i)?i:[i]]));/**
56 * @license lucide-react v0.462.0 - ISC
57 *
58 * This source code is licensed under the ISC license.
59 * See the LICENSE file in the root directory of this source tree.
60 */const re=(e,t)=>{const n=p.forwardRef(({className:r,...s},i)=>p.createElement(DE,{ref:i,iconNode:t,className:Xw(`lucide-${ME(e)}`,r),...s}));return n.displayName=`${e}`,n};/**
61 * @license lucide-react v0.462.0 - ISC
62 *
63 * This source code is licensed under the ISC license.
64 * See the LICENSE file in the root directory of this source tree.
65 */const IE=re("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
66 * @license lucide-react v0.462.0 - ISC
67 *
68 * This source code is licensed under the ISC license.
69 * See the LICENSE file in the root directory of this source tree.
70 */const Ie=re("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
71 * @license lucide-react v0.462.0 - ISC
72 *
73 * This source code is licensed under the ISC license.
74 * See the LICENSE file in the root directory of this source tree.
75 */const Nl=re("Award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]]);/**
76 * @license lucide-react v0.462.0 - ISC
77 *
78 * This source code is licensed under the ISC license.
79 * See the LICENSE file in the root directory of this source tree.
80 */const xd=re("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/**
81 * @license lucide-react v0.462.0 - ISC
82 *
83 * This source code is licensed under the ISC license.
84 * See the LICENSE file in the root directory of this source tree.
85 */const OE=re("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
86 * @license lucide-react v0.462.0 - ISC
87 *
88 * This source code is licensed under the ISC license.
89 * See the LICENSE file in the root directory of this source tree.
90 */const LE=re("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
91 * @license lucide-react v0.462.0 - ISC
92 *
93 * This source code is licensed under the ISC license.
94 * See the LICENSE file in the root directory of this source tree.
95 */const _E=re("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
96 * @license lucide-react v0.462.0 - ISC
97 *
98 * This source code is licensed under the ISC license.
99 * See the LICENSE file in the root directory of this source tree.
100 */const qm=re("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
101 * @license lucide-react v0.462.0 - ISC
102 *
103 * This source code is licensed under the ISC license.
104 * See the LICENSE file in the root directory of this source tree.
105 */const Vn=re("CircleDot",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]]);/**
106 * @license lucide-react v0.462.0 - ISC
107 *
108 * This source code is licensed under the ISC license.
109 * See the LICENSE file in the root directory of this source tree.
110 */const Jw=re("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
111 * @license lucide-react v0.462.0 - ISC
112 *
113 * This source code is licensed under the ISC license.
114 * See the LICENSE file in the root directory of this source tree.
115 */const ai=re("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
116 * @license lucide-react v0.462.0 - ISC
117 *
118 * This source code is licensed under the ISC license.
119 * See the LICENSE file in the root directory of this source tree.
120 */const th=re("Cog",[["path",{d:"M12 20a8 8 0 1 0 0-16 8 8 0 0 0 0 16Z",key:"sobvz5"}],["path",{d:"M12 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z",key:"11i496"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 22v-2",key:"1osdcq"}],["path",{d:"m17 20.66-1-1.73",key:"eq3orb"}],["path",{d:"M11 10.27 7 3.34",key:"16pf9h"}
120],["path",{d:"m20.66 17-1.73-1",key:"sg0v6f"}],["path",{d:"m3.34 7 1.73 1",key:"1ulond"}],["path",{d:"M14 12h8",key:"4f43i9"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"m20.66 7-1.73 1",key:"1ow05n"}],["path",{d:"m3.34 17 1.73-1",key:"nuk764"}],["path",{d:"m17 3.34-1 1.73",key:"2wel8s"}],["path",{d:"m11 13.73-4 6.93",key:"794ttg"}]]);/**
121 * @license lucide-react v0.462.0 - ISC
122 *
123 * This source code is licensed under the ISC license.
124 * See the LICENSE file in the root directory of this source tree.
125 */const FE=re("Cookie",[["path",{d:"M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5",key:"laymnq"}],["path",{d:"M8.5 8.5v.01",key:"ue8clq"}],["path",{d:"M16 15.5v.01",key:"14dtrp"}],["path",{d:"M12 12v.01",key:"u5ubse"}],["path",{d:"M11 17v.01",key:"1hyl5a"}],["path",{d:"M7 14v.01",key:"uct60s"}]]);/**
126 * @license lucide-react v0.462.0 - ISC
127 *
128 * This source code is licensed under the ISC license.
129 * See the LICENSE file in the root directory of this source tree.
130 */const VE=re("CornerDownRight",[["polyline",{points:"15 10 20 15 15 20",key:"1q7qjw"}],["path",{d:"M4 4v7a4 4 0 0 0 4 4h12",key:"z08zvw"}]]);/**
131 * @license lucide-react v0.462.0 - ISC
132 *
133 * This source code is licensed under the ISC license.
134 * See the LICENSE file in the root directory of this source tree.
135 */const ek=re("Factory",[["path",{d:"M2 20a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8l-7 5V8l-7 5V4a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"159hny"}],["path",{d:"M17 18h1",key:"uldtlt"}],["path",{d:"M12 18h1",key:"s9uhes"}],["path",{d:"M7 18h1",key:"1neino"}]]);/**
136 * @license lucide-react v0.462.0 - ISC
137 *
138 * This source code is licensed under the ISC license.
139 * See the LICENSE file in the root directory of this source tree.
140 */const _v=re("FileDown",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M12 18v-6",key:"17g6i2"}],["path",{d:"m9 15 3 3 3-3",key:"1npd3o"}]]);/**
141 * @license lucide-react v0.462.0 - ISC
142 *
143 * This source code is licensed under the ISC license.
144 * See the LICENSE file in the root directory of this source tree.
145 */const nh=re("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/**
146 * @license lucide-react v0.462.0 - ISC
147 *
148 * This source code is licensed under the ISC license.
149 * See the LICENSE file in the root directory of this source tree.
150 */const uc=re("Flame",[["path",{d:"M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z",key:"96xj49"}]]);/**
151 * @license lucide-react v0.462.0 - ISC
152 *
153 * This source code is licensed under the ISC license.
154 * See the LICENSE file in the root directory of this source tree.
155 */const Fv=re("FlaskConical",[["path",{d:"M10 2v7.527a2 2 0 0 1-.211.896L4.72 20.55a1 1 0 0 0 .9 1.45h12.76a1 1 0 0 0 .9-1.45l-5.069-10.127A2 2 0 0 1 14 9.527V2",key:"pzvekw"}],["path",{d:"M8.5 2h7",key:"csnxdl"}],["path",{d:"M7 16h10",key:"wp8him"}]]);/**
156 * @license lucide-react v0.462.0 - ISC
157 *
158 * This source code is licensed under the ISC license.
159 * See the LICENSE file in the root directory of this source tree.
160 */const BE=re("Gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]]);/**
161 * @license lucide-react v0.462.0 - ISC
162 *
163 * This source code is licensed under the ISC license.
164 * See the LICENSE file in the root directory of this source tree.
165 */const $E=re("Image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]);/**
166 * @license lucide-react v0.462.0 - ISC
167 *
168 * This source code is licensed under the ISC license.
169 * See the LICENSE file in the root directory of this source tree.
170 */const Vv=re("Link2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]]);/**
171 * @license lucide-react v0.462.0 - ISC
172 *
173 * This source code is licensed under the ISC license.
174 * See the LICENSE file in the root directory of this source tree.
175 */const rh=re("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/**
176 * @license lucide-react v0.462.0 - ISC
177 *
178 * This source code is licensed under the ISC license.
179 * See the LICENSE file in the root directory of this source tree.
180 */const tk=re("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/**
181 * @license lucide-react v0.462.0 - ISC
182 *
183 * This source code is licensed under the ISC license.
184 * See the LICENSE file in the root directory of this source tree.
185 */const Bv=re("Maximize2",[["polyline",{points:"15 3 21 3 21 9",key:"mznyad"}],["polyline",{points:"9 21 3 21 3 15",key:"1avn1i"}],["line",{x1:"21",x2:"14",y1:"3",y2:"10",key:"ota7mn"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);/**
186 * @license lucide-react v0.462.0 - ISC
187 *
188 * This source code is licensed under the ISC license.
189 * See the LICENSE file in the root directory of this source tree.
190 */const UE=re("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"}]]);/**
191 * @license lucide-react v0.462.0 - ISC
192 *
193 * This source code is licensed under the ISC license.
194 * See the LICENSE file in the root directory of this source tree.
195 */const HE=re("Newspaper",[["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2",key:"7pis2x"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M10 6h8v4h-8V6Z",key:"smlsk5"}]]);/**
196 * @license lucide-react v0.462.0 - ISC
197 *
198 * This source code is licensed under the ISC license.
199 * See the LICENSE file in the root directory of this source tree.
200 */const Ko=re("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/**
201 * @license lucide-react v0.462.0 - ISC
202 *
203 * This source code is licensed under the ISC license.
204 * See the LICENSE file in the root directory of this source tree.
205 */const GE=re("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);/**
206 * @license lucide-react v0.462.0 - ISC
207 *
208 * This source code is licensed under the ISC license.
209 * See the LICENSE file in the root directory of this source tree.
210 */const Zo=re("Ruler",[["path",{d:"M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z",key:"icamh8"}],["path",{d:"m14.5 12.5 2-2",key:"inckbg"}],["path",{d:"m11.5 9.5 2-2",key:"fmmyf7"}],["path",{d:"m8.5 6.5 2-2",key:"vc6u1g"}],["path",{d:"m17.5 15.5 2-2",key:"wo5hmg"}]]);/**
211 * @license lucide-react v0.462.0 - ISC
212 *
213 * This source code is licensed under the ISC license.
214 * See the LICENSE file in the root directory of this source tree.
215 */const $v=re("Scan",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}]]);/**
216 * @license lucide-react v0.462.0 - ISC
217 *
218 * This source code is licensed under the ISC license.
219 * See the LICENSE file in the root directory of this source tree.
220 */const WE=re("Scissors",[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}
vendor: 8,450 bytes, lines 220-255
220],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]]);/**
221 * @license lucide-react v0.462.0 - ISC
222 *
223 * This source code is licensed under the ISC license.
224 * See the LICENSE file in the root directory of this source tree.
225 */const dc=re("Settings",[["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",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
226 * @license lucide-react v0.462.0 - ISC
227 *
228 * This source code is licensed under the ISC license.
229 * See the LICENSE file in the root directory of this source tree.
230 */const Uv=re("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/**
231 * @license lucide-react v0.462.0 - ISC
232 *
233 * This source code is licensed under the ISC license.
234 * See the LICENSE file in the root directory of this source tree.
235 */const sh=re("Target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);/**
236 * @license lucide-react v0.462.0 - ISC
237 *
238 * This source code is licensed under the ISC license.
239 * See the LICENSE file in the root directory of this source tree.
240 */const nk=re("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);/**
241 * @license lucide-react v0.462.0 - ISC
242 *
243 * This source code is licensed under the ISC license.
244 * See the LICENSE file in the root directory of this source tree.
245 */const KE=re("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/**
246 * @license lucide-react v0.462.0 - ISC
247 *
248 * This source code is licensed under the ISC license.
249 * See the LICENSE file in the root directory of this source tree.
250 */const ZE=re("Weight",[["circle",{cx:"12",cy:"5",r:"3",key:"rqqgnr"}],["path",{d:"M6.5 8a2 2 0 0 0-1.905 1.46L2.1 18.5A2 2 0 0 0 4 21h16a2 2 0 0 0 1.925-2.54L19.4 9.5A2 2 0 0 0 17.48 8Z",key:"56o5sh"}]]);/**
251 * @license lucide-react v0.462.0 - ISC
252 *
253 * This source code is licensed under the ISC license.
254 * See the LICENSE file in the root directory of this source tree.
255 */const Qm=re("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Xm="-",YE=e=>{const t=QE(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:a=>{const l=a.split(Xm);return l[0]===""&&l.length!==1&&l.shift(),rk(l,t)||qE(a)},getConflictingClassGroupIds:(a,l)=>{const c=n[a]||[];return l&&r[a]?[...c,...r[a]]:c}}},rk=(e,t)=>{var a;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),s=r?rk(e.slice(1),r):void 0;if(s)return s;if(t.validators.length===0)return;const i=e.join(Xm);return(a=t.validators.find(({validator:l})=>l(i)))==null?void 0:a.classGroupId},Hv=/^\[(.+)\]$/,qE=e=>{if(Hv.test(e)){const t=Hv.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},QE=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return JE(Object.entries(e.classGroups),n).forEach(([i,a])=>{ih(a,r,i,t)}),r},ih=(e,t,n,r)=>{e.forEach(s=>{if(typeof s=="string"){const i=s===""?t:Gv(t,s);i.classGroupId=n;return}if(typeof s=="function"){if(XE(s)){ih(s(r),t,n,r);return}t.validators.push({validator:s,classGroupId:n});return}Object.entries(s).forEach(([i,a])=>{ih(a,Gv(t,i),n,r)})})},Gv=(e,t)=>{let n=e;return t.split(Xm).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},XE=e=>e.isThemeGetter,JE=(e,t)=>t?e.map(([n,r])=>{const s=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([a,l])=>[t+a,l])):i);return[n,s]}):e,eP=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const s=(i,a)=>{n.set(i,a),t++,t>e&&(t=0,r=n,n=new Map)};return{get(i){let a=n.get(i);if(a!==void 0)return a;if((a=r.get(i))!==void 0)return s(i,a),a},set(i,a){n.has(i)?n.set(i,a):s(i,a)}}},sk="!",tP=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,s=t[0],i=t.length,a=l=>{const c=[];let u=0,d=0,f;for(let w=0;w<l.length;w++){let v=l[w];if(u===0){if(v===s&&(r||l.slice(w,w+i)===t)){c.push(l.slice(d,w)),d=w+i;continue}if(v==="/"){f=w;continue}}v==="["?u++:v==="]"&&u--}const h=c.length===0?l:l.substring(d),m=h.startsWith(sk),b=m?h.substring(1):h,g=f&&f>d?f-d:void 0;return{modifiers:c,hasImportantModifier:m,baseClassName:b,maybePostfixModifierPosition:g}};return n?l=>n({className:l,parseClassName:a}):a},nP=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},rP=e=>({cache:eP(e.cacheSize),parseClassName:tP(e),...YE(e)}),sP=/\s+/,iP=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:s}=t,i=[],a=e.trim().split(sP);let l="";for(let c=a.length-1;c>=0;c-=1){const u=a[c],{modifiers:d,hasImportantModifier:f,baseClassName:h,maybePostfixModifierPosition:m}=n(u);let b=!!m,g=r(b?h.substring(0,m):h);if(!g){if(!b){l=u+(l.length>0?" "+l:l);continue}if(g=r(h),!g){l=u+(l.length>0?" "+l:l);continue}b=!1}const w=nP(d).join(":"),v=f?w+sk:w,y=v+g;if(i.includes(y))continue;i.push(y);const x=s(g,b);for(let k=0;k<x.length;++k){const S=x[k];i.push(v+S)}l=u+(l.length>0?" "+l:l)}return l};function oP(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=ik(t))&&(r&&(r+=" "),r+=n);return r}const ik=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=ik(e[r]))&&(n&&(n+=" "),n+=t);return n};function aP(e,...t){let n,r,s,i=a;function a(c){const u=t.reduce((d,f)=>f(d),e());return n=rP(u),r=n.cache.get,s=n.cache.set,i=l,l(c)}function l(c){const u=r(c);if(u)return u;const d=iP(c,n);return s(c,d),d}return function(){return i(oP.apply(null,arguments))}}const ge=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},ok=/^\[(?:([a-z-]+):)?(.+)\]$/i,lP=/^\d+\/\d+$/,cP=new Set(["px","full","screen"]),uP=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,dP=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,fP=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,hP=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,mP=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Mn=e=>li(e)||cP.has(e)||lP.test(e),nr=e=>Fi(e,"length",kP),li=e=>!!e&&!Number.isNaN(Number(e)),bd=e=>Fi(e,"number",li),io=e=>!!e&&Number.isInteger(Number(e)),pP=e=>e.endsWith("%")&&li(e.slice(0,-1)),ee=e=>ok.test(e),rr=e=>uP.test(e),gP=new Set(["length","size","percentage"]),vP=e=>Fi(e,gP,ak),yP=e=>Fi(e,"position",ak),xP=new Set(["image","url"]),bP=e=>Fi(e,xP,jP),wP=e=>Fi(e,"",SP),oo=()=>!0,Fi=(e,t,n)=>{const r=ok.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},kP=e=>dP.test(e)&&!fP.test(e),ak=()=>!1,SP=e=>hP.test(e),jP=e=>mP.test(e),TP=()=>{const e=ge("colors"),t=ge("spacing"),n=ge("blur"),r=ge("brightness"),s=ge("borderColor"),i=ge("borderRadius"),a=ge("borderSpacing"),l=ge("borderWidth"),c=ge("contrast"),u=ge("grayscale"),d=ge("hueRotate"),f=ge("invert"),h=ge("gap"),m=ge("gradientColorStops"),b=ge("gradientColorStopPositions"),g=ge("inset"),w=ge("margin"),v=ge("opacity"),y=ge("padding"),x=ge("saturate"),k=ge("scale"),S=ge("sepia"),j=ge("skew"),T=ge("space"),N=ge("translate"),P=()=>["auto","contain","none"],z=()=>["auto","hidden","clip","visible","scroll"],L=()=>["auto",ee,t],O=()=>[ee,t],W=()=>["",Mn,nr],I=()=>["auto",li,ee],K=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],
vendor: 11,776 bytes, line 255
255V=()=>["solid","dashed","dotted","double","none"],q=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],E=()=>["start","end","center","between","around","evenly","stretch"],C=()=>["","0",ee],D=()=>["auto","avoid","all","avoid-page","page","left","right","column"],G=()=>[li,ee];return{cacheSize:500,separator:":",theme:{colors:[oo],spacing:[Mn,nr],blur:["none","",rr,ee],brightness:G(),borderColor:[e],borderRadius:["none","","full",rr,ee],borderSpacing:O(),borderWidth:W(),contrast:G(),grayscale:C(),hueRotate:G(),invert:C(),gap:O(),gradientColorStops:[e],gradientColorStopPositions:[pP,nr],inset:L(),margin:L(),opacity:G(),padding:O(),saturate:G(),scale:G(),sepia:C(),skew:G(),space:O(),translate:O()},classGroups:{aspect:[{aspect:["auto","square","video",ee]}],container:["container"],columns:[{columns:[rr]}],"break-after":[{"break-after":D()}],"break-before":[{"break-before":D()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...K(),ee]}],overflow:[{overflow:z()}],"overflow-x":[{"overflow-x":z()}],"overflow-y":[{"overflow-y":z()}],overscroll:[{overscroll:P()}],"overscroll-x":[{"overscroll-x":P()}],"overscroll-y":[{"overscroll-y":P()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",io,ee]}],basis:[{basis:L()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ee]}],grow:[{grow:C()}],shrink:[{shrink:C()}],order:[{order:["first","last","none",io,ee]}],"grid-cols":[{"grid-cols":[oo]}],"col-start-end":[{col:["auto",{span:["full",io,ee]},ee]}],"col-start":[{"col-start":I()}],"col-end":[{"col-end":I()}],"grid-rows":[{"grid-rows":[oo]}],"row-start-end":[{row:["auto",{span:[io,ee]},ee]}],"row-start":[{"row-start":I()}],"row-end":[{"row-end":I()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ee]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ee]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...E()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...E(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...E(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ee,t]}],"min-w":[{"min-w":[ee,t,"min","max","fit"]}],"max-w":[{"max-w":[ee,t,"none","full","min","max","fit","prose",{screen:[rr]},rr]}],h:[{h:[ee,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ee,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ee,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ee,t,"auto","min","max","fit"]}],"font-size":[{text:["base",rr,nr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",bd]}],"font-family":[{font:[oo]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",ee]}],"line-clamp":[{"line-clamp":["none",li,bd]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Mn,ee]}],"list-image":[{"list-image":["none",ee]}],"list-style-type":[{list:["none","disc","decimal",ee]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...V(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Mn,nr]}],"underline-offset":[{"underline-offset":["auto",Mn,ee]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:O()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ee]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ee]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...K(),yP]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",vP]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},bP]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[b]}],"gradient-via-pos":[{via:[b]}],"gradient-to-pos":[{to:[b]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...V(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:V()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...V()]}],"outline-offset":[{"outline-offset":[Mn,ee]}],"outline-w":[{outline:[Mn,nr]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:W()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[Mn,nr]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",rr,wP]}],"shadow-color":[{shadow:[oo]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...q(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":q()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",rr,ee]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[f]}],saturate:[{saturate:[x]}],sepia:[{sepia:[S]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[x]}],"backdrop-sepia":[{"backdrop-sepia":[S]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ee]}],duration:[{duration:G()}],ease:[{ease:["linear","in","out","in-out",ee]}],delay:[{delay:G()}],animate:[{animate:["none","spin","ping","pulse","bounce",ee]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[k]}],"scale-x":[{"scale-x":[k]}],"scale-y":[{"scale-y":[k]}],rotate:[{rotate:[io,ee]}],"translate-x":[{"translate-x":[N]}],"translate-y":[{"translate-y":[N]}],"skew-x":[{"skew-x":[j]}],"skew-y":[{"skew-y":[j]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ee]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ee]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pt":[{"scroll-pt":O()}
vendor: 4,937 bytes, line 255
255],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ee]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Mn,nr,bd]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},CP=aP(TP);function Y(...e){return CP(Qw(e))}const NP=AE,lk=p.forwardRef(({className:e,...t},n)=>o.jsx(Hw,{ref:n,className:Y("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));lk.displayName=Hw.displayName;const zP=Ym("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),ck=p.forwardRef(({className:e,variant:t,...n},r)=>o.jsx(Gw,{ref:r,className:Y(zP({variant:t}),e),...n}));ck.displayName=Gw.displayName;const EP=p.forwardRef(({className:e,...t},n)=>o.jsx(Zw,{ref:n,className:Y("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",e),...t}));EP.displayName=Zw.displayName;const uk=p.forwardRef(({className:e,...t},n)=>o.jsx(Yw,{ref:n,className:Y("absolute right-2 top-2 rounded-md p-1 text-foreground
255/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:o.jsx(Qm,{className:"h-4 w-4"})}));uk.displayName=Yw.displayName;const dk=p.forwardRef(({className:e,...t},n)=>o.jsx(Ww,{ref:n,className:Y("text-sm font-semibold",e),...t}));dk.displayName=Ww.displayName;const fk=p.forwardRef(({className:e,...t},n)=>o.jsx(Kw,{ref:n,className:Y("text-sm opacity-90",e),...t}));fk.displayName=Kw.displayName;function PP(){const{toasts:e}=F2();return o.jsxs(NP,{children:[e.map(function({id:t,title:n,description:r,action:s,...i}){return o.jsxs(ck,{...i,children:[o.jsxs("div",{className:"grid gap-1",children:[n&&o.jsx(dk,{children:n}),r&&o.jsx(fk,{children:r})]}),s,o.jsx(uk,{})]},t)}),o.jsx(lk,{})]})}var Wv=["light","dark"],AP="(prefers-color-scheme: dark)",MP=p.createContext(void 0),RP={setTheme:e=>{},themes:[]},DP=()=>{var e;return(e=p.useContext(MP))!=null?e:RP};p.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:s,defaultTheme:i,value:a,attrs:l,nonce:c})=>{let u=i==="system",d=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${l.map(b=>`'${b}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,f=s?Wv.includes(i)&&i?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${i}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",h=(b,g=!1,w=!0)=>{let v=a?a[b]:b,y=g?b+"|| ''":`'${v}'`,x="";return s&&w&&!g&&Wv.includes(b)&&(x+=`d.style.colorScheme = '${b}';`),n==="class"?g||v?x+=`c.add(${y})`:x+="null":v&&(x+=`d[s](n,${y})`),x},m=e?`!function(){${d}${h(e)}}()`:r?`!function(){try{${d}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${AP}',m=window.matchMedia(t);if(m.media!==t||m.matches){${h("dark")}}else{${h("light")}}}else if(e){${a?`var x=${JSON.stringify(a)};`:""}${h(a?"x[e]":"e",!0)}}${u?"":"else{"+h(i,!1,!1)+"}"}${f}}catch(e){}}()`:`!function(){try{${d}var e=localStorage.getItem('${t}');if(e){${a?`var x=${JSON.stringify(a)};`:""}${h(a?"x[e]":"e",!0)}}else{${h(i,!1,!1)};}${f}}catch(t){}}();`;return p.createElement("script",{nonce:c,dangerouslySetInnerHTML:{__html:m}})});var IP=e=>{switch(e){case"success":return _P;case"info":return VP;case"warning":return FP;case"error":return BP;default:return null}},OP=Array(12).fill(0),LP=({visible:e,className:t})=>M.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},M.createElement("div",{className:"sonner-spinner"},OP.map((n,r)=>M.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),_P=M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},M.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"}
255)),FP=M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},M.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),VP=M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},M.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),BP=M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},M.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),$P=M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},M.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),M.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),UP=()=>{let[e,t]=M.useState(document.hidden);return M.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},oh=1,HP=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,s=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:oh++,i=this.toasts.find(l=>l.id===s),a=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(s)&&this.dismissedToasts.delete(s),i?this.toasts=this.toasts.map(l=>l.id===s?(this.publish({...l,...e,id:s,title:n}),{...l,...e,id:s,dismissible:a,title:n}):l):this.addToast({title:n,...r,dismissible:a,id:s}),s},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
255this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),s=n!==void 0,i,a=r.then(async c=>{if(i=["resolve",c],M.isValidElement(c))s=!1,this.create({id:n,type:"default",message:c});else if(WP(c)&&!c.ok){s=!1;let u=typeof t.error=="function"?await t.error(`HTTP error! status: ${c.status}`):t.error,d=typeof t.description=="function"?await t.description(`HTTP error! status: ${c.status}`):t.description;this.create({id:n,type:"error",message:u,description:d})}else if(t.success!==void 0){s=!1;let u=typeof t.success=="function"?await t.success(c):t.success,d=typeof t.description=="function"?await t.description(c):t.description;this.create({id:n,type:"success",message:u,description:d})}}).catch(async c=>{if(i=["reject",c],t.error!==void 0){s=!1;let u=typeof t.error=="function"?await t.error(c):t.error,d=typeof t.description=="function"?await t.description(c):t.description;this.create({id:n,type:"error",message:u,description:d})}}).finally(()=>{var c;s&&(this.dismiss(n),n=void 0),(c=t.finally)==null||c.call(t)}),l=()=>new Promise((c,u)=>a.then(()=>i[0]==="reject"?u(i[1]):c(i[1])).catch(u));return typeof n!="string"&&typeof n!="number"?{unwrap:l}:Object.assign(n,{unwrap:l})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||oh++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},dt=new HP,GP=(e,t)=>{let n=(t==null?void 0:t.id)||oh++;return dt.addToast({title:e,...t,id:n}),n},WP=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",KP=GP,ZP=()=>dt.toasts,YP=()=>dt.getActiveToasts();Object.assign(KP,{success:dt.success,info:dt.info,warning:dt.warning,error:dt.error,custom:dt.custom,message:dt.message,promise:dt.promise,dismiss:dt.dismiss,loading:dt.loading},{getHistory:ZP,getToasts:YP});function qP(e,{insertAt:t}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}qP(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
255left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
255:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);
255--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}
256`);function Qa(e){return e.label!==void 0}var QP=3,XP="32px",JP="16px",Kv=4e3,eA=356,tA=14,nA=20,rA=200;function Wt(...e){return e.filter(Boolean).join(" ")}function sA(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var iA=e=>{var t,n,r,s,i,a,l,c,u,d,f;let{invert:h,toast:m,unstyled:b,interacting:g,setHeights:w,visibleToasts:v,heights:y,index:x,toasts:k,expanded:S,removeToast:j,defaultRichColors:T,closeButton:N,style:P,cancelButtonStyle:z,actionButtonStyle:L,className:O="",descriptionClassName:W="",duration:I,position:K,gap:V,loadingIcon:q,expandByDefault:E,classNames:C,icons:D,closeButtonAriaLabel:G="Close toast",pauseWhenPageIsHidden:H}
vendor: 4,171 bytes, line 256
256=e,[J,te]=M.useState(null),[ke,Ne]=M.useState(null),[se,Pn]=M.useState(!1),[Fe,dn]=M.useState(!1),[qn,Ns]=M.useState(!1),[Qn,Na]=M.useState(!1),[Iu,za]=M.useState(!1),[Ou,Ki]=M.useState(0),[zs,lg]=M.useState(0),Zi=M.useRef(m.duration||I||Kv),cg=M.useRef(null),Wr=M.useRef(null),wC=x===0,kC=x+1<=v,Et=m.type,Es=m.dismissible!==!1,SC=m.className||"",jC=m.descriptionClassName||"",Ea=M.useMemo(()=>y.findIndex(Q=>Q.toastId===m.id)||0,[y,m.id]),TC=M.useMemo(()=>{var Q;return(Q=m.closeButton)!=null?Q:N},[m.closeButton,N]),ug=M.useMemo(()=>m.duration||I||Kv,[m.duration,I]),Lu=M.useRef(0),Ps=M.useRef(0),dg=M.useRef(0),As=M.useRef(null),[CC,NC]=K.split("-"),fg=M.useMemo(()=>y.reduce((Q,he,be)=>be>=Ea?Q:Q+he.height,0),[y,Ea]),hg=UP(),zC=m.invert||h,_u=Et==="loading";Ps.current=M.useMemo(()=>Ea*V+fg,[Ea,fg]),M.useEffect(()=>{Zi.current=ug},[ug]),M.useEffect(()=>{Pn(!0)},[]),M.useEffect(()=>{let Q=Wr.current;if(Q){let he=Q.getBoundingClientRect().height;return lg(he),w(be=>[{toastId:m.id,height:he,position:m.position},...be]),()=>w(be=>be.filter($t=>$t.toastId!==m.id))}},[w,m.id]),M.useLayoutEffect(()=>{if(!se)return;let Q=Wr.current,he=Q.style.height;Q.style.height="auto";let be=Q.getBoundingClientRect().height;Q.style.height=he,lg(be),w($t=>$t.find(Ut=>Ut.toastId===m.id)?$t.map(Ut=>Ut.toastId===m.id?{...Ut,height:be}:Ut):[{toastId:m.id,height:be,position:m.position},...$t])},[se,m.title,m.description,w,m.id]);let Xn=M.useCallback(()=>{dn(!0),Ki(Ps.current),w(Q=>Q.filter(he=>he.toastId!==m.id)),setTimeout(()=>{j(m)},rA)},[m,j,w,Ps]);M.useEffect(()=>{if(m.promise&&Et==="loading"||m.duration===1/0||m.type==="loading")return;let Q;return S||g||H&&hg?(()=>{if(dg.current<Lu.current){let he=new Date().getTime()-Lu.current;Zi.current=Zi.current-he}dg.current=new Date().getTime()})():Zi.current!==1/0&&(Lu.current=new Date().getTime(),Q=setTimeout(()=>{var he;(he=m.onAutoClose)==null||he.call(m,m),Xn()},Zi.current)),()=>clearTimeout(Q)},[S,g,m,Et,H,hg,Xn]),M.useEffect(()=>{m.delete&&Xn()},[Xn,m.delete]);function EC(){var Q,he,be;return D!=null&&D.loading?M.createElement("div",{className:Wt(C==null?void 0:C.loader,(Q=m==null?void 0:m.classNames)==null?void 0:Q.loader,"sonner-loader"),"data-visible":Et==="loading"},D.loading):q?M.createElement("div",{className:Wt(C==null?void 0:C.loader,(he=m==null?void 0:m.classNames)==null?void 0:he.loader,"sonner-loader"),"data-visible":Et==="loading"},q):M.createElement(LP,{className:Wt(C==null?void 0:C.loader,(be=m==null?void 0:m.classNames)==null?void 0:be.loader),visible:Et==="loading"})}return M.createElement("li",{tabIndex:0,ref:Wr,className:Wt(O,SC,C==null?void 0:C.toast,(t=m==null?void 0:m.classNames)==null?void 0:t.toast,C==null?void 0:C.default,C==null?void 0:C[Et],(n=m==null?void 0:m.classNames)==null?void 0:n[Et]),"data-sonner-toast":"","data-rich-colors":(r=m.richColors)!=null?r:T,"data-styled":!(m.jsx||m.unstyled||b),"data-mounted":se,"data-promise":!!m.promise,"data-swiped":Iu,"data-removed":Fe,"data-visible":kC,"data-y-position":CC,"data-x-position":NC,"data-index":x,"data-front":wC,"data-swiping":qn,"data-dismissible":Es,"data-type":Et,"data-invert":zC,"data-swipe-out":Qn,"data-swipe-direction":ke,"data-expanded":!!(S||E&&se),style:{"--index":x,"--toasts-before":x,"--z-index":k.length-x,"--offset":`${Fe?Ou:Ps.current}px`,"--initial-height":E?"auto":`${zs}px`,...P,...m.style},onDragEnd:()=>{Ns(!1),te(null),As.current=null},onPointerDown:Q=>{_u||!Es||(cg.current=new Date,Ki(Ps.current),Q.target.setPointerCapture(Q.pointerId),Q.target.tagName!=="BUTTON"&&(Ns(!0),As.current={x:Q.clientX,y:Q.clientY}))},onPointerUp:()=>{var Q,he,be,$t;if(Qn||!Es)return;As.current=null;let Ut=Number(((Q=Wr.current)==null?void 0:Q.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Jn=Number(((he=Wr.current)==null?void 0:he.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Kr=new Date().getTime()-((be=cg.current)==null?void 0:be.getTime()),Ht=J==="x"?Ut:Jn,er=Math.abs(Ht)/Kr;if(Math.abs(Ht)>=nA||er>.11){Ki(Ps.current),($t=m.onDismiss)==null||$t.call(m,m),Ne(J==="x"?Ut>0?"right":"left":Jn>0?"down":"up"),Xn(),Na(!0),za(!1);return}Ns(!1),te(null)},onPointerMove:Q=>
256{var he,be,$t,Ut;if(!As.current||!Es||((he=window.getSelection())==null?void 0:he.toString().length)>0)return;let Jn=Q.clientY-As.current.y,Kr=Q.clientX-As.current.x,Ht=(be=e.swipeDirections)!=null?be:sA(K);!J&&(Math.abs(Kr)>1||Math.abs(Jn)>1)&&te(Math.abs(Kr)>Math.abs(Jn)?"x":"y");let er={x:0,y:0};J==="y"?(Ht.includes("top")||Ht.includes("bottom"))&&(Ht.includes("top")&&Jn<0||Ht.includes("bottom")&&Jn>0)&&(er.y=Jn):J==="x"&&(Ht.includes("left")||Ht.includes("right"))&&(Ht.includes("left")&&Kr<0||Ht.includes("right")&&Kr>0)&&(er.x=Kr),(Math.abs(er.x)>0||Math.abs(er.y)>0)&&za(!0),($t=Wr.current)==null||$t.style.setProperty("--swipe-amount-x",`${er.x}px`),(Ut=Wr.current)==null||Ut.style.setProperty("--swipe-amount-y",`${er.y}px`)}},TC&&!m.jsx?M.createElement("button",{"aria-label":G,"data-disabled":_u,"data-close-button":!0,onClick:_u||!Es?()=>{}:()=>{var Q;Xn(),(Q=m.onDismiss)==null||Q.call(m,m)},className:Wt(C==null?void 0:C.closeButton,(s=m==null?void 0:m.classNames)==null?void 0:s.closeButton)},(i=D==null?void 0:D.close)!=null?i:$P):null,m.jsx||p.isValidElement(m.title)?m.jsx?m.jsx:typeof m.title=="function"?m.title():m.title:M.createElement(M.Fragment,null,Et||m.icon||m.promise?M.createElement("div",{"data-icon":"",className:Wt(C==null?void 0:C.icon,(a=m==null?void 0:m.classNames)==null?void 0:a.icon)},m.promise||m.type==="loading"&&!m.icon?m.icon||EC():null,m.type!=="loading"?m.
256icon||(D==null?void 0:D[Et])||IP(Et):null):null,M.createElement("div",{"data-content":"",className:Wt(C==null?void 0:C.content,(l=m==null?void 0:m.classNames)==null?void 0:l.content)},M.createElement("div",{"data-title":"",className:Wt(C==null?void 0:C.title,(c=m==null?void 0:m.classNames)==null?void 0:c.title)},typeof m.title=="function"?m.title():m.title),m.description?M.createElement("div",{"data-description":"",className:Wt(W,jC,C==null?void 0:C.description,(u=m==null?void 0:m.classNames)==null?void 0:u.description)},typeof m.description=="function"?m.description():m.description):null),p.isValidElement(m.cancel)?m.cancel:m.cancel&&Qa(m.cancel)?M.createElement("button",{"data-button":!0,"data-cancel":!0,style:m.cancelButtonStyle||z,onClick:Q=>{var he,be;Qa(m.cancel)&&Es&&((be=(he=m.cancel).onClick)==null||be.call(he,Q),Xn())},className:Wt(C==null?void 0:C.cancelButton,(d=m==null?void 0:m.classNames)==null?void 0:d.cancelButton)},m.cancel.label):null,p.isValidElement(m.action)?m.action:m.action&&Qa(m.action)?M.createElement("button",{"data-button":!0,"data-action":!0,style:m.actionButtonStyle||L,onClick:Q=>{var he,be;Qa(m.action)&&((be=(he=m.action).onClick)==null||be.call(he,Q),!Q.defaultPrevented&&Xn())},className:Wt(C==null?void 0:C.actionButton,(f=m==null?void 0:m.classNames)==null?void 0:f.actionButton)},m.action.label):null))};function Zv(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function oA(e,t){let n={};return[e,t].forEach((r,s)=>{let i=s===1,a=i?"--mobile-offset":"--offset",l=i?JP:XP;function c(u){["top","right","bottom","left"].forEach(d=>{n[`${a}-${d}`]=typeof u=="number"?`${u}px`:u})}typeof r=="number"||typeof r=="string"?c(r):typeof r=="object"?["top","right","bottom","left"].forEach(u=>{r[u]===void 0?n[`${a}-${u}`]=l:n[`${a}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):c(l)}),n}var aA=p.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:s=["altKey","KeyT"],expand:i,closeButton:a,className:l,offset:c,mobileOffset:u,theme:d="light",richColors:f,duration:h,style:m,visibleToasts:b=QP,toastOptions:g,dir:w=Zv(),gap:v=tA,loadingIcon:y,icons:x,containerAriaLabel:k="Notifications",pauseWhenPageIsHidden:S}=e,[j,T]=M.useState([]),N=M.useMemo(()=>Array.from(new Set([r].concat(j.filter(H=>H.position).map(H=>
vendor: 4,362 bytes, line 256
256H.position)))),[j,r]),[P,z]=M.useState([]),[L,O]=M.useState(!1),[W,I]=M.useState(!1),[K,V]=M.useState(d!=="system"?d:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),q=M.useRef(null),E=s.join("+").replace(/Key/g,"").replace(/Digit/g,""),C=M.useRef(null),D=M.useRef(!1),G=M.useCallback(H=>{T(J=>{var te;return(te=J.find(ke=>ke.id===H.id))!=null&&te.delete||dt.dismiss(H.id),J.filter(({id:ke})=>ke!==H.id)})},[]);return M.useEffect(()=>dt.subscribe(H=>{if(H.dismiss){T(J=>J.map(te=>te.id===H.id?{...te,delete:!0}:te));return}setTimeout(()=>{yw.flushSync(()=>{T(J=>{let te=J.findIndex(ke=>ke.id===H.id);return te!==-1?[...J.slice(0,te),{...J[te],...H},...J.slice(te+1)]:[H,...J]})})})}),[]),M.useEffect(()=>{if(d!=="system"){V(d);return}if(d==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?V("dark"):V("light")),typeof window>"u")return;let H=window.matchMedia("(prefers-color-scheme: dark)");try{H.addEventListener("change",({matches:J})=>{V(J?"dark":"light")})}catch{H.addListener(({matches:te})=>{try{V(te?"dark":"light")}catch(ke){console.error(ke)}})}},[d]),M.useEffect(()=>{j.length<=1&&O(!1)},[j]),M.useEffect(()=>{let H=J=>{var te,ke;s.every(Ne=>J[Ne]||J.code===Ne)&&(O(!0),(te=q.current)==null||te.focus()),J.code==="Escape"&&(document.activeElement===q.current||(ke=q.current)!=null&&ke.contains(document.activeElement))&&O(!1)};return document.addEventListener("keydown",H),()=>document.removeEventListener("keydown",H)},[s]),M.useEffect(()=>{if(q.current)return()=>{C.current&&(C.current.focus({preventScroll:!0}),C.current=null,D.current=!1)}},[q.current]),M.createElement("section",{ref:t,"aria-label":`${k} ${E}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},N.map((H,J)=>{var te;let[ke,Ne]=H.split("-");return j.length?M.createElement("ol",{key:H,dir:w==="auto"?Zv():w,tabIndex:-1,ref:q,className:l,"data-sonner-toaster":!0,"data-theme":K,"data-y-position":ke,"data-lifted":L&&j.length>1&&!i,"data-x-position":Ne,style:{"--front-toast-height":`${((te=P[0])==null?void 0:te.height)||0}px`,"--width":`${eA}px`,"--gap":`${v}px`,...m,...oA(c,u)},onBlur:se=>{D.current&&!se.currentTarget.contains(se.relatedTarget)&&(D.current=!1,C.current&&(C.current.focus({preventScroll:!0}),C.current=null))},onFocus:se=>{se.target instanceof HTMLElement&&se.target.dataset.dismissible==="false"||D.current||(D.current=!0,C.current=se.relatedTarget)},onMouseEnter:()=>O(!0),onMouseMove:()=>O(!0),onMouseLeave:()=>{W||O(!1)},onDragEnd:()=>O(!1),onPointerDown:se=>{se.target instanceof HTMLElement&&se.target.dataset.dismissible==="false"||I(!0)},onPointerUp:()=>I(!1)},j.filter(se=>!se.position&&J===0||se.position===H).map((se,Pn)=>{var Fe,dn;return M.createElement(iA,{key:se.id,icons:x,index:Pn,toast:se,defaultRichColors:f,duration:(Fe=g==null?void 0:g.duration)!=null?Fe:h,className:g==null?void 0:g.className,descriptionClassName:g==null?void 0:g.descriptionClassName,invert:n,visibleToasts:b,closeButton:(dn=g==null?void 0:g.closeButton)!=null?dn:a,interacting:W,position:H,style:g==null?void 0:g.style,unstyled:g==null?void 0:g.unstyled,classNames:g==null?void 0:g.classNames,cancelButtonStyle:g==null?void 0:g.cancelButtonStyle,actionButtonStyle:g==null?void 0:g.actionButtonStyle,removeToast:G,toasts:j.filter(qn=>qn.position==se.position),heights:P.filter(qn=>qn.position==se.position),setHeights:z,expandByDefault:i,gap:v,loadingIcon:y,expanded:L,pauseWhenPageIsHidden:S,swipeDirections:e.swipeDirections})})):null}))});const lA=({...e})=>{const{theme:t="system"}=DP();return o.jsx(aA,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})};var cA=Xh[" useId ".trim().toString()]||(()=>{}),uA=0;function hs(e){const[t,n]=p.useState(cA());return jn(()=>{e||n(r=>r??String(uA++))},[e]),e||(t?`radix-${t}`:"")}const dA=["top","right","bottom","left"],Ir=Math.min,bt=Math.max,fc=Math.round,Xa=Math.floor,Or=e=>({x:e,y:e}
vendor: 5,419 bytes, line 256
256),fA={left:"right",right:"left",bottom:"top",top:"bottom"},hA={start:"end",end:"start"};function ah(e,t,n){return bt(e,Ir(t,n))}function Gn(e,t){return typeof e=="function"?e(t):e}function Wn(e){return e.split("-")[0]}function Vi(e){return e.split("-")[1]}function Jm(e){return e==="x"?"y":"x"}function ep(e){return e==="y"?"height":"width"}function Lr(e){return["top","bottom"].includes(Wn(e))?"y":"x"}function tp(e){return Jm(Lr(e))}function mA(e,t,n){n===void 0&&(n=!1);const r=Vi(e),s=tp(e),i=ep(s);let a=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=hc(a)),[a,hc(a)]}function pA(e){const t=hc(e);return[lh(e),t,lh(t)]}function lh(e){return e.replace(/start|end/g,t=>hA[t])}function gA(e,t,n){const r=["left","right"],s=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?s:r:t?r:s;case"left":case"right":return t?i:a;default:return[]}}function vA(e,t,n,r){const s=Vi(e);let i=gA(Wn(e),n==="start",r);return s&&(i=i.map(a=>a+"-"+s),t&&(i=i.concat(i.map(lh)))),i}function hc(e){return e.replace(/left|right|bottom|top/g,t=>fA[t])}function yA(e){return{top:0,right:0,bottom:0,left:0,...e}}function hk(e){return typeof e!="number"?yA(e):{top:e,right:e,bottom:e,left:e}}function mc(e){const{x:t,y:n,width:r,height:s}=e;return{width:r,height:s,top:n,left:t,right:t+r,bottom:n+s,x:t,y:n}}function Yv(e,t,n){let{reference:r,floating:s}=e;const i=Lr(t),a=tp(t),l=ep(a),c=Wn(t),u=i==="y",d=r.x+r.width/2-s.width/2,f=r.y+r.height/2-s.height/2,h=r[l]/2-s[l]/2;let m;switch(c){case"top":m={x:d,y:r.y-s.height};break;case"bottom":m={x:d,y:r.y+r.height};break;case"right":m={x:r.x+r.width,y:f};break;case"left":m={x:r.x-s.width,y:f};break;default:m={x:r.x,y:r.y}}switch(Vi(t)){case"start":m[a]-=h*(n&&u?-1:1);break;case"end":m[a]+=h*(n&&u?-1:1);break}return m}const xA=async(e,t,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:i=[],platform:a}=n,l=i.filter(Boolean),c=await(a.isRTL==null?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:s}),{x:d,y:f}=Yv(u,r,c),h=r,m={},b=0;for(let g=0;g<l.length;g++){const{name:w,fn:v}=l[g],{x:y,y:x,data:k,reset:S}=await v({x:d,y:f,initialPlacement:r,placement:h,strategy:s,middlewareData:m,rects:u,platform:a,elements:{reference:e,floating:t}});d=y??d,f=x??f,m={...m,[w]:{...m[w],...k}},S&&b<=50&&(b++,typeof S=="object"&&(S.placement&&(h=S.placement),S.rects&&(u=S.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:s}):S.rects),{x:d,y:f}=Yv(u,h,c)),g=-1)}return{x:d,y:f,placement:h,strategy:s,middlewareData:m}};async function Yo(e,t){var n;t===void 0&&(t={});const{x:r,y:s,platform:i,rects:a,elements:l,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:h=!1,padding:m=0}=Gn(t,e),b=hk(m),w=l[h?f==="floating"?"reference":"floating":f],v=mc(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(w)))==null||n?w:w.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:d,strategy:c})),y=f==="floating"?{x:r,y:s,width:a.floating.width,height:a.floating.height}:a.reference,x=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),k=await(i.isElement==null?void 0:i.isElement(x))?await(i.getScale==null?void 0:i.getScale(x))||{x:1,y:1}:{x:1,y:1},S=mc(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:x,strategy:c}):y);return{top:(v.top-S.top+b.top)/k.y,bottom:(S.bottom-v.bottom+b.bottom)/k.y,left:(v.left-S.left+b.left)/k.x,right:(S.right-v.right+b.right)/k.x}}const bA=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:s,rects:i,platform:a,elements:l,middlewareData:c}=t,{element:u,padding:d=0}=Gn(e,t)||{};if(u==null)return{};const f=hk(d),h={x:n,y:r},m=tp(s),b=ep(m),g=await a.getDimensions(u),w=m==="y",v=w?"top":"left",y=w?"bottom":"right",x=w?"clientHeight":"clientWidth",k=i.reference[b]+i.reference[m]-h[m]-i.floating[b],S=h[m]-i.reference[m],j=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let T=j?j[x]:0;(!T||!await(a.isElement==null?void 0:a.isElement(j)))&&(T=l.floating[x]||i.floating[b]);const N=k/2-S/2,P=T/2-g[b]/2-1,z=Ir(f[v],P),L=Ir(f[y],P),O=z,W=T-g[b]-L,I=T/2-g[b]/2+N,K=ah(O,I,W),V=!c.arrow&&Vi(s)!=null&&I!==K&&i.reference[b]/2-(I<O?z:L)-g[b]/2<0,q=V?I<O?I-O:I-W:0;return{[m]:h[m]+q,data:{[m]:K,centerOffset:I-K-q,...V&&{alignmentOffset:q}},reset:V}}}),wA=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:s,middlewareData:i,rects:a,initialPlacement:l,platform:c,elements:u}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:g=!0,...w}=Gn(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const v=Wn(s),y=Lr(l),x=Wn(l)===l,k=await(c.isRTL==null?void 0:c.isRTL(u.floating)),S=h||(x||!g?[hc(l)]:pA(l)),j=b!=="none";!h&&j&&S.push(...vA(l,g,b,k));const T=[l,...S],N=await Yo(t,w),P=[];let z=((r=i.flip)==null?void 0:r.overflows)||[];if(d&&P.push(N[v]),f){const I=mA(s,a,k);P.push(N[I[0]],N[I[1]])}if(z=[...z,{placement:s,overflows:P}],!P.every(I=>I<=0)){var L,O;const I=(((L=i.flip)==null?void 0:L.index)||0)+1,K=T[I];if(K)return{data:{index:I,overflows:z},reset:{placement:K}
vendor: 4,596 bytes, line 256
256};let V=(O=z.filter(q=>q.overflows[0]<=0).sort((q,E)=>q.overflows[1]-E.overflows[1])[0])==null?void 0:O.placement;if(!V)switch(m){case"bestFit":{var W;const q=(W=z.filter(E=>{if(j){const C=Lr(E.placement);return C===y||C==="y"}return!0}).map(E=>[E.placement,E.overflows.filter(C=>C>0).reduce((C,D)=>C+D,0)]).sort((E,C)=>E[1]-C[1])[0])==null?void 0:W[0];q&&(V=q);break}case"initialPlacement":V=l;break}if(s!==V)return{reset:{placement:V}}}return{}}}};function qv(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Qv(e){return dA.some(t=>e[t]>=0)}const kA=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...s}=Gn(e,t);switch(r){case"referenceHidden":{const i=await Yo(t,{...s,elementContext:"reference"}),a=qv(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:Qv(a)}}}case"escaped":{const i=await Yo(t,{...s,altBoundary:!0}),a=qv(i,n.floating);return{data:{escapedOffsets:a,escaped:Qv(a)}}}default:return{}}}}};async function SA(e,t){const{placement:n,platform:r,elements:s}=e,i=await(r.isRTL==null?void 0:r.isRTL(s.floating)),a=Wn(n),l=Vi(n),c=Lr(n)==="y",u=["left","top"].includes(a)?-1:1,d=i&&c?-1:1,f=Gn(t,e);let{mainAxis:h,crossAxis:m,alignmentAxis:b}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof b=="number"&&(m=l==="end"?b*-1:b),c?{x:m*d,y:h*u}:{x:h*u,y:m*d}}const jA=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:s,y:i,placement:a,middlewareData:l}=t,c=await SA(t,e);return a===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:s+c.x,y:i+c.y,data:{...c,placement:a}}}}},TA=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:s}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:w=>{let{x:v,y}=w;return{x:v,y}}},...c}=Gn(e,t),u={x:n,y:r},d=await Yo(t,c),f=Lr(Wn(s)),h=Jm(f);let m=u[h],b=u[f];if(i){const w=h==="y"?"top":"left",v=h==="y"?"bottom":"right",y=m+d[w],x=m-d[v];m=ah(y,m,x)}if(a){const w=f==="y"?"top":"left",v=f==="y"?"bottom":"right",y=b+d[w],x=b-d[v];b=ah(y,b,x)}const g=l.fn({...t,[h]:m,[f]:b});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[h]:i,[f]:a}}}}}},CA=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:s,rects:i,middlewareData:a}=t,{offset:l=0,mainAxis:c=!0,crossAxis:u=!0}=Gn(e,t),d={x:n,y:r},f=Lr(s),h=Jm(f);let m=d[h],b=d[f];const g=Gn(l,t),w=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(c){const x=h==="y"?"height":"width",k=i.reference[h]-i.floating[x]+w.mainAxis,S=i.reference[h]+i.reference[x]-w.mainAxis;m<k?m=k:m>S&&(m=S)}if(u){var v,y;const x=h==="y"?"width":"height",k=["top","left"].includes(Wn(s)),S=i.reference[f]-i.floating[x]+(k&&((v=a.offset)==null?void 0:v[f])||0)+(k?0:w.crossAxis),j=i.reference[f]+i.reference[x]+(k?0:((y=a.offset)==null?void 0:y[f])||0)-(k?w.crossAxis:0);b<S?b=S:b>j&&(b=j)}return{[h]:m,[f]:b}}}},NA=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:s,rects:i,platform:a,elements:l}=t,{apply:c=()=>{},...u}=Gn(e,t),d=await Yo(t,u),f=Wn(s),h=Vi(s),m=Lr(s)==="y",{width:b,height:g}=i.floating;let w,v;f==="top"||f==="bottom"?(w=f,v=h===(await(a.isRTL==null?void 0:a.isRTL(l.floating))?"start":"end")?"left":"right"):(v=f,w=h==="end"?"top":"bottom");const y=g-d.top-d.bottom,x=b-d.left-d.right,k=Ir(g-d[w],y),S=Ir(b-d[v],x),j=!t.middlewareData.shift;let T=k,N=S;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(N=x),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(T=y),j&&!h){const z=bt(d.left,0),L=bt(d.right,0),O=bt(d.top,0),W=bt(d.bottom,0);m?N=b-2*(z!==0||L!==0?z+L:bt(d.left,d.right)):T=g-2*(O!==0||W!==0?O+W:bt(d.top,d.bottom))}await c({...t,availableWidth:N,availableHeight:T});const P=await a.getDimensions(l.floating);return b!==P.width||g!==P.height?{reset:{rects:!0}}:{}}}};function tu(){return typeof window<"u"}function Bi(e){return mk(e)?(e.nodeName||"").toLowerCase():"#document"}function St(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function zn(e){var t;return(t=(mk(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function mk(e){return tu()?e instanceof Node||e instanceof St(e).Node:!1}function an(e){return tu()?e instanceof Element||e instanceof St(e).Element:!1}function Tn(e){return tu()?e instanceof HTMLElement||e instanceof St(e).HTMLElement:!1}
vendor: 5,271 bytes, line 256
256function Xv(e){return!tu()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof St(e).ShadowRoot}function ya(e){const{overflow:t,overflowX:n,overflowY:r,display:s}=ln(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(s)}function zA(e){return["table","td","th"].includes(Bi(e))}function nu(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function np(e){const t=rp(),n=an(e)?ln(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function EA(e){let t=_r(e);for(;Tn(t)&&!zi(t);){if(np(t))return t;if(nu(t))return null;t=_r(t)}return null}function rp(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function zi(e){return["html","body","#document"].includes(Bi(e))}function ln(e){return St(e).getComputedStyle(e)}function ru(e){return an(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function _r(e){if(Bi(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Xv(e)&&e.host||zn(e);return Xv(t)?t.host:t}function pk(e){const t=_r(e);return zi(t)?e.ownerDocument?e.ownerDocument.body:e.body:Tn(t)&&ya(t)?t:pk(t)}function qo(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const s=pk(e),i=s===((r=e.ownerDocument)==null?void 0:r.body),a=St(s);if(i){const l=ch(a);return t.concat(a,a.visualViewport||[],ya(s)?s:[],l&&n?qo(l):[])}return t.concat(s,qo(s,[],n))}function ch(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function gk(e){const t=ln(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const s=Tn(e),i=s?e.offsetWidth:n,a=s?e.offsetHeight:r,l=fc(n)!==i||fc(r)!==a;return l&&(n=i,r=a),{width:n,height:r,$:l}}function sp(e){return an(e)?e:e.contextElement}function ci(e){const t=sp(e);if(!Tn(t))return Or(1);const n=t.getBoundingClientRect(),{width:r,height:s,$:i}=gk(t);let a=(i?fc(n.width):n.width)/r,l=(i?fc(n.height):n.height)/s;return(!a||!Number.isFinite(a))&&(a=1),(!l||!Number.isFinite(l))&&(l=1),{x:a,y:l}}const PA=Or(0);function vk(e){const t=St(e);return!rp()||!t.visualViewport?PA:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function AA(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==St(e)?!1:t}function ws(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),i=sp(e);let a=Or(1);t&&(r?an(r)&&(a=ci(r)):a=ci(e));const l=AA(i,n,r)?vk(i):Or(0);let c=(s.left+l.x)/a.x,u=(s.top+l.y)/a.y,d=s.width/a.x,f=s.height/a.y;if(i){const h=St(i),m=r&&an(r)?St(r):r;let b=h,g=ch(b);for(;g&&r&&m!==b;){const w=ci(g),v=g.getBoundingClientRect(),y=ln(g),x=v.left+(g.clientLeft+parseFloat(y.paddingLeft))*w.x,k=v.top+(g.clientTop+parseFloat(y.paddingTop))*w.y;c*=w.x,u*=w.y,d*=w.x,f*=w.y,c+=x,u+=k,b=St(g),g=ch(b)}}return mc({width:d,height:f,x:c,y:u})}function MA(e){let{elements:t,rect:n,offsetParent:r,strategy:s}=e;const i=s==="fixed",a=zn(r),l=t?nu(t.floating):!1;if(r===a||l&&i)return n;let c={scrollLeft:0,scrollTop:0},u=Or(1);const d=Or(0),f=Tn(r);if((f||!f&&!i)&&((Bi(r)!=="body"||ya(a))&&(c=ru(r)),Tn(r))){const h=ws(r);u=ci(r),d.x=h.x+r.clientLeft,d.y=h.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+d.x,y:n.y*u.y-c.scrollTop*u.y+d.y}}function RA(e){return Array.from(e.getClientRects())}function uh(e,t){const n=ru(e).scrollLeft;return t?t.left+n:ws(zn(e)).left+n}function DA(e){const t=zn(e),n=ru(e),r=e.ownerDocument.body,s=bt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=bt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+uh(e);const l=-n.scrollTop;return ln(r).direction==="rtl"&&(a+=bt(t.clientWidth,r.clientWidth)-s),{width:s,height:i,x:a,y:l}}function IA(e,t){const n=St(e),r=zn(e),s=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,l=0,c=0;if(s){i=s.width,a=s.height;const u=rp();(!u||u&&t==="fixed")&&(l=s.offsetLeft,c=s.offsetTop)}return{width:i,height:a,x:l,y:c}}function OA(e,t){const n=ws(e,!0,t==="fixed"),r=n.top+e.clientTop,s=n.left+e.clientLeft,i=Tn(e)?ci(e):Or(1),a=e.clientWidth*i.x,l=e.clientHeight*i.y,c=s*i.x,u=r*i.y;return{width:a,height:l,x:c,y:u}}function Jv(e,t,n){let r;if(t==="viewport")r=IA(e,n);else if(t==="document")r=DA(zn(e));else if(an(t))r=OA(t,n);else{const s=vk(e);r={...t,x:t.x-s.x,y:t.y-s.y}}return mc(r)}function yk(e,t){const n=_r(e);return n===t||!an(n)||zi(n)?!1:ln(n).position==="fixed"||yk(n,t)}function LA(e,t){const n=t.get(e);if(n)return n;let r=qo(e,[],!1).filter(l=>an(l)&&Bi(l)!=="body"),s=null;const i=ln(e).position==="fixed";let a=i?_r(e):e;for(;an(a)&&!zi(a);){const l=ln(a),c=np(a);!c&&l.position==="fixed"&&(s=null),(i?!c&&!s:!c&&l.position==="static"&&!!s&&["absolute","fixed"].includes(s.position)||ya(a)&&!c&&yk(e,a))?r=r.filter(d=>d!==a):s=l,a=_r(a)}return t.set(e,r),r}function _A(e){let{element:t,boundary:n,rootBoundary:r,strategy:s}=e;const a=[...n==="clippingAncestors"?nu(t)?[]:LA(t,this._c):[].concat(n),r],l=a[0],c=a.reduce((u,d)=>{const f=Jv(t,d,s);
vendor: 10,010 bytes, line 256
256return u.top=bt(f.top,u.top),u.right=Ir(f.right,u.right),u.bottom=Ir(f.bottom,u.bottom),u.left=bt(f.left,u.left),u},Jv(t,l,s));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function FA(e){const{width:t,height:n}=gk(e);return{width:t,height:n}}function VA(e,t,n){const r=Tn(t),s=zn(t),i=n==="fixed",a=ws(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const c=Or(0);if(r||!r&&!i)if((Bi(t)!=="body"||ya(s))&&(l=ru(t)),r){const m=ws(t,!0,i,t);c.x=m.x+t.clientLeft,c.y=m.y+t.clientTop}else s&&(c.x=uh(s));let u=0,d=0;if(s&&!r&&!i){const m=s.getBoundingClientRect();d=m.top+l.scrollTop,u=m.left+l.scrollLeft-uh(s,m)}const f=a.left+l.scrollLeft-c.x-u,h=a.top+l.scrollTop-c.y-d;return{x:f,y:h,width:a.width,height:a.height}}function wd(e){return ln(e).position==="static"}function ey(e,t){if(!Tn(e)||ln(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return zn(e)===n&&(n=n.ownerDocument.body),n}function xk(e,t){const n=St(e);if(nu(e))return n;if(!Tn(e)){let s=_r(e);for(;s&&!zi(s);){if(an(s)&&!wd(s))return s;s=_r(s)}return n}let r=ey(e,t);for(;r&&zA(r)&&wd(r);)r=ey(r,t);return r&&zi(r)&&wd(r)&&!np(r)?n:r||EA(e)||n}const BA=async function(e){const t=this.getOffsetParent||xk,n=this.getDimensions,r=await n(e.floating);return{reference:VA(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function $A(e){return ln(e).direction==="rtl"}const UA={convertOffsetParentRelativeRectToViewportRelativeRect:MA,getDocumentElement:zn,getClippingRect:_A,getOffsetParent:xk,getElementRects:BA,getClientRects:RA,getDimensions:FA,getScale:ci,isElement:an,isRTL:$A};function HA(e,t){let n=null,r;const s=zn(e);function i(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function a(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),i();const{left:u,top:d,width:f,height:h}=e.getBoundingClientRect();if(l||t(),!f||!h)return;const m=Xa(d),b=Xa(s.clientWidth-(u+f)),g=Xa(s.clientHeight-(d+h)),w=Xa(u),y={rootMargin:-m+"px "+-b+"px "+-g+"px "+-w+"px",threshold:bt(0,Ir(1,c))||1};let x=!0;function k(S){const j=S[0].intersectionRatio;if(j!==c){if(!x)return a();j?a(!1,j):r=setTimeout(()=>{a(!1,1e-7)},1e3)}x=!1}try{n=new IntersectionObserver(k,{...y,root:s.ownerDocument})}catch{n=new IntersectionObserver(k,y)}n.observe(e)}return a(!0),i}function GA(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:s=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,u=sp(e),d=s||i?[...u?qo(u):[],...qo(t)]:[];d.forEach(v=>{s&&v.addEventListener("scroll",n,{passive:!0}),i&&v.addEventListener("resize",n)});const f=u&&l?HA(u,n):null;let h=-1,m=null;a&&(m=new ResizeObserver(v=>{let[y]=v;y&&y.target===u&&m&&(m.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var x;(x=m)==null||x.observe(t)})),n()}),u&&!c&&m.observe(u),m.observe(t));let b,g=c?ws(e):null;c&&w();function w(){const v=ws(e);g&&(v.x!==g.x||v.y!==g.y||v.width!==g.width||v.height!==g.height)&&n(),g=v,b=requestAnimationFrame(w)}return n(),()=>{var v;d.forEach(y=>{s&&y.removeEventListener("scroll",n),i&&y.removeEventListener("resize",n)}),f==null||f(),(v=m)==null||v.disconnect(),m=null,c&&cancelAnimationFrame(b)}}const WA=jA,KA=TA,ZA=wA,YA=NA,qA=kA,ty=bA,QA=CA,XA=(e,t,n)=>{const r=new Map,s={platform:UA,...n},i={...s.platform,_c:r};return xA(e,t,{...s,platform:i})};var zl=typeof document<"u"?p.useLayoutEffect:p.useEffect;function pc(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,s;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!pc(e[r],t[r]))return!1;return!0}if(s=Object.keys(e),n=s.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,s[r]))return!1;for(r=n;r--!==0;){const i=s[r];if(!(i==="_owner"&&e.$$typeof)&&!pc(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function bk(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ny(e,t){const n=bk(e);return Math.round(t*n)/n}function kd(e){const t=p.useRef(e);return zl(()=>{t.current=e}),t}function JA(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:s,elements:{reference:i,floating:a}={},transform:l=!0,whileElementsMounted:c,open:u}=e,[d,f]=p.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,m]=p.useState(r);pc(h,r)||m(r);const[b,g]=p.useState(null),[w,v]=p.useState(null),y=p.useCallback(E=>{E!==j.current&&(j.current=E,g(E))},[]),x=p.useCallback(E=>{E!==T.current&&(T.current=E,v(E))},[]),k=i||b,S=a||w,j=p.useRef(null),T=p.useRef(null),N=p.useRef(d),P=c!=null,z=kd(c),L=kd(s),O=kd(u),W=p.useCallback(()=>{if(!j.current||!T.current)return;const E={placement:t,strategy:n,middleware:h};L.current&&(E.platform=L.current),XA(j.current,T.current,E).then(C=>{const D={...C,isPositioned:O.current!==!1};I.current&&!pc(N.current,D)&&(N.current=D,pa.flushSync(()=>{f(D)}))})},[h,t,n,L,O]);zl(()=>{u===!1&&N.current.isPositioned&&(N.current.isPositioned=!1,f(E=>({...E,isPositioned:!1})))},[u]);const I=p.useRef(!1);zl(()=>(I.current=!0,()=>{I.current=!1}),[]),zl(()=>{if(k&&(j.current=k),S&&(T.current=S),k&&S){if(z.current)return z.current(k,S,W);W()}},[k,S,W,z,P]);const K=p.useMemo(()=>({reference:j,floating:T,setReference:y,setFloating:x}),[y,x]),V=p.useMemo(()=>({reference:k,floating:S}),[k,S]),q=p.useMemo(()=>{const E={position:n,left:0,top:0};if(!V.floating)return E;const C=ny(V.floating,d.x),D=ny(V.floating,d.y);return l?{...E,transform:"translate("+C+"px, "+D+"px)",...bk(V.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:C,top:D}},[n,l,V.floating,d.x,d.y]);return p.useMemo(()=>({...d,update:W,refs:K,elements:V,floatingStyles:q}),[d,W,K,V,q])}const eM=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:s}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?ty({element:r.current,padding:s}).fn(n):{}:r?ty({element:r,padding:s}).fn(n):{}}}},tM=(e,t)=>({...WA(e),options:[e,t]}),nM=(e,t)=>({...KA(e),options:[e,t]}),rM=(e,t)=>({...QA(e),options:[e,t]}),sM=(e,t)=>({...ZA(e),options:[e,t]}),iM=(e,t)=>({...YA(e),options:[e,t]}),oM=(e,t)=>({...qA(e),options:[e,t]}),aM=(e,t)=>({...eM(e),options:[e,t]});var lM="Arrow",wk=p.forwardRef((e,t)=>{const{children:n,width:r=10,height:s=5,...i}=e;return o.jsx(ne.svg,{...i,ref:t,width:r,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:o.jsx("polygon",{points:"0,0 30,0 15,10"})})});wk.displayName=lM;var cM=wk;function kk(e){const[t,n]=p.useState(void 0);return jn(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const i=s[0];let a,l;if("borderBoxSize"in i){const c=i.borderBoxSize,u=Array.isArray(c)?c[0]:c;a=u.inlineSize,l=u.blockSize}else a=e.offsetWidth,l=e.offsetHeight;n({width:a,height:l})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var ip="Popper",[Sk,su]=cn(ip),[uM,jk]=Sk(ip),Tk=e=>{const{__scopePopper:t,children:n}=e,[r,s]=p.useState(null);return o.jsx(uM,{scope:t,anchor:r,onAnchorChange:s,children:n})};Tk.displayName=ip;var Ck="PopperAnchor",Nk=p.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...s}=e,i=jk(Ck,n),a=p.useRef(null),l=fe(t,a);return p.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:o.jsx(ne.div,{...s,ref:l})});Nk.displayName=Ck;var op="PopperContent",[dM,fM]=Sk(op),zk=p.forwardRef((e,t)=>{var se,Pn,Fe,dn,qn,Ns;const{__scopePopper:n,side:r="bottom",sideOffset:s=0,align:i="center",alignOffset:a=0,arrowPadding:l=0,avoidCollisions:c=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:f="partial",hideWhenDetached:h=!1,updatePositionStrategy:m="optimized",onPlaced:b,...g}=e,w=jk(op,n),[v,y]=p.useState(null),x=fe(t,Qn=>y(Qn)),[k,S]=p.useState(null),j=kk(k),T=(j==null?void 0:j.width)??0,N=(j==null?void 0:j.height)??0,P=r+(i!=="center"?"-"+i:""),z=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},L=Array.isArray(u)?u:[u],O=L.length>0,W={padding:z,boundary:L.filter(mM),altBoundary:O},{refs:I,floatingStyles:K,placement:V,isPositioned:q,middlewareData:E}=JA({strategy:"fixed",placement:P,whileElementsMounted:(...Qn)=>GA(...Qn,{animationFrame:m==="always"}),elements:{reference:w.anchor},middleware:[tM({mainAxis:s+N,alignmentAxis:a}),c&&nM({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?rM():void 0,...W}),c&&sM({...W}),iM({...W,apply:({elements:Qn,rects:Na,availableWidth:Iu,availableHeight:za})=>{const{width:Ou,height:Ki}=Na.reference,zs=Qn.floating.style;zs.setProperty("--radix-popper-available-width",`${Iu}px`),zs.setProperty("--radix-popper-available-height",`${za}px`),zs.setProperty("--radix-popper-anchor-width",`${Ou}px`),zs.setProperty("--radix-popper-anchor-height",`${Ki}px`)}}),k&&aM({element:k,padding:l}),pM({arrowWidth:T,arrowHeight:N}),h&&oM({strategy:"referenceHidden",...W})]}),[C,D]=Ak(V),G=De(b);jn(()=>{q&&(G==null||G())},[q,G]);const H=(se=E.arrow)==null?void 0:se.x,J=(Pn=E.arrow)==null?void 0:Pn.y,te=((Fe=E.arrow)==null?void 0:Fe.centerOffset)!==0,[ke,Ne]=p.useState();return jn(()=>{v&&Ne(window.getComputedStyle(v).zIndex)},[v]),o.jsx("div",{ref:I.setFloating,"data-radix-popper-content-wrapper":"",style:{...K,transform:q?K.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ke,"--radix-popper-transform-origin":[(dn=E.transformOrigin)==null?void 0:dn.x,(qn=E.transformOrigin)==null?void 0:qn.y].join(" "),...((Ns=E.hide)==null?void 0:Ns.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:o.jsx(dM,{scope:n,placedSide:C,onArrowChange:S,arrowX:H,arrowY:J,shouldHideArrow:te,children:o.jsx(ne.div,{"data-side":C,"data-align":D,...g,ref:x,style:{...g.style,animation:q?void 0:"none"}})})})});zk.displayName=op;var Ek="PopperArrow",hM={top:"bottom",right:"left",bottom:"top",left:"r
256ight"},Pk=p.forwardRef(function(t,n){const{__scopePopper:r,...s}=t,i=fM(Ek,r),a=hM[i.placedSide];return o.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:o.jsx(cM,{...s,ref:n,style:{...s.style,display:"block"}})})});Pk.displayName=Ek;function mM(e){return e!==null}var pM=e=>({name:"transformOrigin",options:e,fn(t){var w,v,y;const{placement:n,rects:r,middlewareData:s}=t,a=((w=s.arrow)==null?void 0:w.centerOffset)!==0,l=a?0:e.arrowWidth,c=a?0:e.arrowHeight,[u,d]=Ak(n),f={start:"0%",center:"50%",end:"100%"}[d],h=(((v=s.arrow)==null?void 0:v.x)??0)+l/2,m=(((y=s.arrow)==null?void 0:y.y)??0)+c/2;let b="",g="";return u==="bottom"?(b=a?f:`${h}px`,g=`${-c}px`):u==="top"?(b=a?f:`${h}px`,g=`${r.floating.height+c}px`):u==="right"?(b=`${-c}px`,g=a?f:`${m}px`):u==="left"&&(b=`${r.floating.width+c}px`,g=a?f:`${m}px`),{data:{x:b,y:g}}}});function Ak(e){const[t,n="center"]=e.split("-");return[t,n]}var gM=Tk,Mk=Nk,Rk=zk,Dk=Pk,[iu,kV]=cn("Tooltip",[su]),ap=su(),Ik="TooltipProvider",vM=700,ry="tooltip.open",[yM,Ok]=iu(Ik),Lk=e=>{const{__scopeTooltip:t,delayDuration:n=vM,skipDelayDuration:r=300,disableHoverableContent:s=!1,children:i}=e,a=p.useRef(!0),l=p.useRef(!1),c=p.useRef(0);return p.useEffect(()=>{const u=c.current;return()=>window.clearTimeout(u)},[]),o.jsx(yM,{scope:t,isOpenDelayedRef:a,delayDuration:n,onOpen:p.useCallback(()=>{window.clearTimeout(c.current),a.current=!1},[]),onClose:p.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>a.current=!0,r)},[r]),isPointerInTransitRef:l,onPointerInTransitChange:p.useCallback(u=>{l.current=u},[]),disableHoverableContent:s,children:i})};Lk.displayName=Ik;var _k="Tooltip",[SV,ou]=iu(_k),dh="TooltipTrigger",xM=p.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,s=ou(dh,n),i=Ok(dh,n),a=ap(n),l=p.useRef(null),c=fe(t,l,s.onTriggerChange),u=p.useRef(!1),d=p.useRef(!1),f=p.useCallback(()=>u.current=!1,[]);return p.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),o.jsx(Mk,{asChild:!0,...a,children:o.jsx(ne.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...r,ref:c,onPointerMove:$(e.onPointerMove,h=>{h.pointerType!=="touch"&&!d.current&&!i.isPointerInTransitRef.current&&(s.onTriggerEnter(),d.current=!0)}),onPointerLeave:$(e.onPointerLeave,()=>{s.onTriggerLeave(),d.current=!1}),onPointerDown:$(e.onPointerDown,()=>{s.open&&s.onClose(),u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:$(e.onFocus,()=>{u.current||s.onOpen()}),onBlur:$(e.onBlur,s.onClose),onClick:$(e.onClick,s.onClose)})})});xM.displayName=dh;var bM="TooltipPortal",[jV,wM]=iu(bM,{forceMount:void 0}),Ei="TooltipContent",Fk=p.forwardRef((e,t)=>{const n=wM(Ei,e.__scopeTooltip),{forceMount:r=n.forceMount,side:s="top",...i}=e,a=ou(Ei,e.__scopeTooltip);return o.jsx(lt,{present:r||a.open,children:a.disableHoverableContent?o.jsx(Vk,{side:s,...i,ref:t}):o.jsx(kM,{side:s,...i,ref:t})})}),kM=p.forwardRef((e,t)=>{const n=ou(Ei,e.__scopeTooltip),r=Ok(Ei,e.__scopeTooltip),s=p.useRef(null),i=fe(t,s),[a,l]=p.useState(null),{trigger:c,onClose:u}=n,d=s.current,{onPointerInTransitChange:f}=r,h=p.useCallback(()=>{l(null),f(!1)},[f]),m=p.useCallback((b,g)=>{const w=b.currentTarget,v={x:b.clientX,y:b.clientY},y=NM(v,w.getBoundingClientRect()),x=zM(v,y),k=EM(g.getBoundingClientRect()),S=AM([...x,...k]);l(S),f(!0)},[f]);return p.useEffect(()=>()=>h(),[h]),p.useEffect(()=>{if(c&&d){const b=w=>m(w,d),g=w=>m(w,c);return c.addEventListener("pointerleave",b),d.addEventListener("pointerleave",g),()=>{c.removeEventListener("pointerleave",b),d.removeEventListener("pointerleave",g)}}},[c,d,m,h]),p.useEffect(()=>{if(a){const b=g=>{const w=g.target,v={x:g.clientX,y:g.clientY},y=(c==null?void 0:c.contains(w))||(d==null?void 0:d.contains(w)),x=!PM(v,a);y?h():x&&(h(),u())};return document.addEventListener("pointermove",b),()=>document.removeEventListener("pointermove",b)}},[c,d,a,u,h]),o.jsx(Vk,{...e,ref:i})}
vendor: 5,709 bytes, line 256
256),[SM,jM]=iu(_k,{isInside:!1}),TM=H2("TooltipContent"),Vk=p.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":s,onEscapeKeyDown:i,onPointerDownOutside:a,...l}=e,c=ou(Ei,n),u=ap(n),{onClose:d}=c;return p.useEffect(()=>(document.addEventListener(ry,d),()=>document.removeEventListener(ry,d)),[d]),p.useEffect(()=>{if(c.trigger){const f=h=>{const m=h.target;m!=null&&m.contains(c.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[c.trigger,d]),o.jsx(ga,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:f=>f.preventDefault(),onDismiss:d,children:o.jsxs(Rk,{"data-state":c.stateAttribute,...u,...l,ref:t,style:{...l.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[o.jsx(TM,{children:r}),o.jsx(SM,{scope:n,isInside:!0,children:o.jsx(hE,{id:c.contentId,role:"tooltip",children:s||r})})]})})});Fk.displayName=Ei;var Bk="TooltipArrow",CM=p.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,s=ap(n);return jM(Bk,n).isInside?null:o.jsx(Dk,{...s,...r,ref:t})});CM.displayName=Bk;function NM(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),s=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,s,i)){case i:return"left";case s:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function zM(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function EM(e){const{top:t,right:n,bottom:r,left:s}=e;return[{x:s,y:t},{x:n,y:t},{x:n,y:r},{x:s,y:r}]}function PM(e,t){const{x:n,y:r}=e;let s=!1;for(let i=0,a=t.length-1;i<t.length;a=i++){const l=t[i],c=t[a],u=l.x,d=l.y,f=c.x,h=c.y;d>r!=h>r&&n<(f-u)*(r-d)/(h-d)+u&&(s=!s)}return s}function AM(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),MM(t)}function MM(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const s=e[r];for(;t.length>=2;){const i=t[t.length-1],a=t[t.length-2];if((i.x-a.x)*(s.y-a.y)>=(i.y-a.y)*(s.x-a.x))t.pop();else break}t.push(s)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const s=e[r];for(;n.length>=2;){const i=n[n.length-1],a=n[n.length-2];if((i.x-a.x)*(s.y-a.y)>=(i.y-a.y)*(s.x-a.x))n.pop();else break}n.push(s)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var RM=Lk,$k=Fk;const DM=RM,IM=p.forwardRef(({className:e,sideOffset:t=4,...n},r)=>o.jsx($k,{ref:r,sideOffset:t,className:Y("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));IM.displayName=$k.displayName;var au=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},lu=typeof window>"u"||"Deno"in globalThis;function qt(){}function OM(e,t){return typeof e=="function"?e(t):e}function LM(e){return typeof e=="number"&&e>=0&&e!==1/0}function _M(e,t){return Math.max(e+(t||0)-Date.now(),0)}function fh(e,t){return typeof e=="function"?e(t):e}function FM(e,t){return typeof e=="function"?e(t):e}function sy(e,t){const{type:n="all",exact:r,fetchStatus:s,predicate:i,queryKey:a,stale:l}=e;if(a){if(r){if(t.queryHash!==lp(a,t.options))return!1}else if(!Xo(t.queryKey,a))return!1}if(n!=="all"){const c=t.isActive();if(n==="active"&&!c||n==="inactive"&&c)return!1}return!(typeof l=="boolean"&&t.isStale()!==l||s&&s!==t.state.fetchStatus||i&&!i(t))}function iy(e,t){const{exact:n,status:r,predicate:s,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(Qo(t.options.mutationKey)!==Qo(i))return!1}else if(!Xo(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||s&&!s(t))}function lp(e,t){return((t==null?void 0:t.queryKeyHashFn)||Qo)(e)}function Qo(e){return JSON.stringify(e,(t,n)=>hh(n)?Object.keys(n).sort().reduce((r,s)=>(r[s]=n[s],r),{}):n)}function Xo(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Xo(e[n],t[n])):!1}function Uk(e,t){if(e===t)return e;const n=oy(e)&&oy(t);if(n||hh(e)&&hh(t)){const r=n?e:Object.keys(e),s=r.length,i=n?t:Object.keys(t),a=i.length,l=n?[]:{},c=new Set(r);let u=0;for(let d=0;d<a;d++){const f=n?d:i[d];(!n&&c.has(f)||n)&&e[f]===void 0&&t[f]===void 0?(l[f]=void 0,u++):(l[f]=Uk(e[f],t[f]),l[f]===e[f]&&e[f]!==void 0&&u++)}return s===a&&u===s?e:l}return t}function oy(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function hh(e){if(!ay(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!ay(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function ay(e){return Object.prototype.toString.call(e)==="[object Object]"}
vendor: 6,119 bytes, line 256
256function VM(e){return new Promise(t=>{setTimeout(t,e)})}function BM(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Uk(e,t):t}function $M(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function UM(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var cp=Symbol();function Hk(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===cp?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var is,mr,fi,Xx,HM=(Xx=class extends au{constructor(){super();ce(this,is);ce(this,mr);ce(this,fi);X(this,fi,t=>{if(!lu&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){A(this,mr)||this.setEventListener(A(this,fi))}onUnsubscribe(){var t;this.hasListeners()||((t=A(this,mr))==null||t.call(this),X(this,mr,void 0))}setEventListener(t){var n;X(this,fi,t),(n=A(this,mr))==null||n.call(this),X(this,mr,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){A(this,is)!==t&&(X(this,is,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof A(this,is)=="boolean"?A(this,is):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},is=new WeakMap,mr=new WeakMap,fi=new WeakMap,Xx),Gk=new HM,hi,pr,mi,Jx,GM=(Jx=class extends au{constructor(){super();ce(this,hi,!0);ce(this,pr);ce(this,mi);X(this,mi,t=>{if(!lu&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){A(this,pr)||this.setEventListener(A(this,mi))}onUnsubscribe(){var t;this.hasListeners()||((t=A(this,pr))==null||t.call(this),X(this,pr,void 0))}setEventListener(t){var n;X(this,mi,t),(n=A(this,pr))==null||n.call(this),X(this,pr,t(this.setOnline.bind(this)))}setOnline(t){A(this,hi)!==t&&(X(this,hi,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return A(this,hi)}},hi=new WeakMap,pr=new WeakMap,mi=new WeakMap,Jx),gc=new GM;function WM(){let e,t;const n=new Promise((s,i)=>{e=s,t=i});n.status="pending",n.catch(()=>{});function r(s){Object.assign(n,s),delete n.resolve,delete n.reject}return n.resolve=s=>{r({status:"fulfilled",value:s}),e(s)},n.reject=s=>{r({status:"rejected",reason:s}),t(s)},n}function KM(e){return Math.min(1e3*2**e,3e4)}function Wk(e){return(e??"online")==="online"?gc.isOnline():!0}var Kk=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Sd(e){return e instanceof Kk}function Zk(e){let t=!1,n=0,r=!1,s;const i=WM(),a=g=>{var w;r||(h(new Kk(g)),(w=e.abort)==null||w.call(e))},l=()=>{t=!0},c=()=>{t=!1},u=()=>Gk.isFocused()&&(e.networkMode==="always"||gc.isOnline())&&e.canRun(),d=()=>Wk(e.networkMode)&&e.canRun(),f=g=>{var w;r||(r=!0,(w=e.onSuccess)==null||w.call(e,g),s==null||s(),i.resolve(g))},h=g=>{var w;r||(r=!0,(w=e.onError)==null||w.call(e,g),s==null||s(),i.reject(g))},m=()=>new Promise(g=>{var w;s=v=>{(r||u())&&g(v)},(w=e.onPause)==null||w.call(e)}).then(()=>{var g;s=void 0,r||(g=e.onContinue)==null||g.call(e)}),b=()=>{if(r)return;let g;const w=n===0?e.initialPromise:void 0;try{g=w??e.fn()}catch(v){g=Promise.reject(v)}Promise.resolve(g).then(f).catch(v=>{var j;if(r)return;const y=e.retry??(lu?0:3),x=e.retryDelay??KM,k=typeof x=="function"?x(n,v):x,S=y===!0||typeof y=="number"&&n<y||typeof y=="function"&&y(n,v);if(t||!S){h(v);return}n++,(j=e.onFail)==null||j.call(e,n,v),VM(k).then(()=>u()?void 0:m()).then(()=>{t?h(v):b()})})};return{promise:i,cancel:a,continue:()=>(s==null||s(),i),cancelRetry:l,continueRetry:c,canStart:d,start:()=>(d()?b():m().then(b),i)}}var ZM=e=>setTimeout(e,0);function YM(){let e=[],t=0,n=l=>{l()},r=l=>{l()},s=ZM;const i=l=>{t?e.push(l):s(()=>{n(l)})},a=()=>{const l=e;e=[],l.length&&s(()=>{r(()=>{l.forEach(c=>{n(c)})})})};return{batch:l=>{let c;t++;try{c=l()}finally{t--,t||a()}return c},batchCalls:l=>(...c)=>{i(()=>{l(...c)})},schedule:i,setNotifyFunction:l=>{n=l},setBatchNotifyFunction:l=>{r=l},setScheduler:l=>{s=l}}}var nt=YM(),os,e0,Yk=(e0=class{constructor(){ce(this,os)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),LM(this.gcTime)&&X(this,os,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(lu?1/0:5*60*1e3))}clearGcTimeout(){A(this,os)&&(clearTimeout(A(this,os)),X(this,os,void 0))}},os=new WeakMap,e0),pi,as,At,ls,qe,aa,cs,Qt,Rn,t0,qM=(t0=class extends Yk{constructor(t){super();ce(this,Qt);ce(this,pi);ce(this,as);ce(this,At);ce(this,ls);ce(this,qe);ce(this,aa);ce(this,cs);X(this,cs,!1),X(this,aa,t.defaultOptions),this.setOptions(t.options),this.observers=[],X(this,ls,t.client),X(this,At,A(this,ls).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,X(this,pi,XM(this.options)),this.state=t.state??A(this,pi),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=A(this,qe))==null?void 0:t.promise}setOptions(t){this.options={...A(this,aa),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&A(this,At).remove(this)}setData(t,n){const r=BM(this.state.data,t,this.options);return Ke(this,Qt,Rn).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Ke(this,Qt,Rn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,s;const n=(r=A(this,qe))==null?void 0:r.promise;return(s=A(this,qe))==null||s.cancel(t),n?n.then(qt).catch(qt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(A(this,pi))}isActive(){return this.observers.some(t=>FM(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===cp||this.state.dataUpdateCount+this.state.errorUpdate
vendor: 1,274 bytes, line 256
256Count===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>fh(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!_M(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=A(this,qe))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=A(this,qe))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),A(this,At).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(A(this,qe)&&(A(this,cs)?A(this,qe).cancel({revert:!0}):A(this,qe).cancelRetry()),this.scheduleGc()),A(this,At).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Ke(this,Qt,Rn).call(this,{type:"invalidate"})}
vendor: 14,124 bytes, line 256
256fetch(t,n){var u,d,f;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(A(this,qe))return A(this,qe).continueRetry(),A(this,qe).promise}if(t&&this.setOptions(t),!this.options.queryFn){const h=this.observers.find(m=>m.options.queryFn);h&&this.setOptions(h.options)}const r=new AbortController,s=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(X(this,cs,!0),r.signal)})},i=()=>{const h=Hk(this.options,n),b=(()=>{const g={client:A(this,ls),queryKey:this.queryKey,meta:this.meta};return s(g),g})();return X(this,cs,!1),this.options.persister?this.options.persister(h,b,this):h(b)},l=(()=>{const h={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:A(this,ls),state:this.state,fetchFn:i};return s(h),h})();(u=this.options.behavior)==null||u.onFetch(l,this),X(this,as,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((d=l.fetchOptions)==null?void 0:d.meta))&&Ke(this,Qt,Rn).call(this,{type:"fetch",meta:(f=l.fetchOptions)==null?void 0:f.meta});const c=h=>{var m,b,g,w;Sd(h)&&h.silent||Ke(this,Qt,Rn).call(this,{type:"error",error:h}),Sd(h)||((b=(m=A(this,At).config).onError)==null||b.call(m,h,this),(w=(g=A(this,At).config).onSettled)==null||w.call(g,this.state.data,h,this)),this.scheduleGc()};return X(this,qe,Zk({initialPromise:n==null?void 0:n.initialPromise,fn:l.fetchFn,abort:r.abort.bind(r),onSuccess:h=>{var m,b,g,w;if(h===void 0){c(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(h)}catch(v){c(v);return}(b=(m=A(this,At).config).onSuccess)==null||b.call(m,h,this),(w=(g=A(this,At).config).onSettled)==null||w.call(g,h,this.state.error,this),this.scheduleGc()},onError:c,onFail:(h,m)=>{Ke(this,Qt,Rn).call(this,{type:"failed",failureCount:h,error:m})},onPause:()=>{Ke(this,Qt,Rn).call(this,{type:"pause"})},onContinue:()=>{Ke(this,Qt,Rn).call(this,{type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0})),A(this,qe).start()}},pi=new WeakMap,as=new WeakMap,At=new WeakMap,ls=new WeakMap,qe=new WeakMap,aa=new WeakMap,cs=new WeakMap,Qt=new WeakSet,Rn=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...QM(r.data,this.options),fetchMeta:t.meta??null};case"success":return X(this,as,void 0),{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const s=t.error;return Sd(s)&&s.revert&&A(this,as)?{...A(this,as),fetchStatus:"idle"}:{...r,error:s,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),nt.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),A(this,At).notify({query:this,type:"updated",action:t})})},t0);function QM(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Wk(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function XM(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var pn,n0,JM=(n0=class extends au{constructor(t={}){super();ce(this,pn);this.config=t,X(this,pn,new Map)}build(t,n,r){const s=n.queryKey,i=n.queryHash??lp(s,n);let a=this.get(i);return a||(a=new qM({client:t,queryKey:s,queryHash:i,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(s)}),this.add(a)),a}add(t){A(this,pn).has(t.queryHash)||(A(this,pn).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=A(this,pn).get(t.queryHash);n&&(t.destroy(),n===t&&A(this,pn).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){nt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return A(this,pn).get(t)}getAll(){return[...A(this,pn).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>sy(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>sy(t,r)):n}notify(t){nt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){nt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){nt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},pn=new WeakMap,n0),gn,et,us,vn,sr,r0,eR=(r0=class extends Yk{constructor(t){super();ce(this,vn);ce(this,gn);ce(this,et);ce(this,us);this.mutationId=t.mutationId,X(this,et,t.mutationCache),X(this,gn,[]),this.state=t.state||tR(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){A(this,gn).includes(t)||(A(this,gn).push(t),this.clearGcTimeout(),A(this,et).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){X(this,gn,A(this,gn).filter(n=>n!==t)),this.scheduleGc(),A(this,et).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){A(this,gn).length||(this.state.status==="pending"?this.scheduleGc():A(this,et).remove(this))}continue(){var t;return((t=A(this,us))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,a,l,c,u,d,f,h,m,b,g,w,v,y,x,k,S,j,T,N;const n=()=>{Ke(this,vn,sr).call(this,{type:"continue"})};X(this,us,Zk({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(P,z)=>{Ke(this,vn,sr).call(this,{type:"failed",failureCount:P,error:z})},onPause:()=>{Ke(this,vn,sr).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>A(this,et).canRun(this)}));const r=this.state.status==="pending",s=!A(this,us).canStart();try{if(r)n();else{Ke(this,vn,sr).call(this,{type:"pending",variables:t,isPaused:s}),await((a=(i=A(this,et).config).onMutate)==null?void 0:a.call(i,t,this));const z=await((c=(l=this.options).onMutate)==null?void 0:c.call(l,t));z!==this.state.context&&Ke(this,vn,sr).call(this,{type:"pending",context:z,variables:t,isPaused:s})}const P=await A(this,us).start();return await((d=(u=A(this,et).config).onSuccess)==null?void 0:d.call(u,P,t,this.state.context,this)),await((h=(f=this.options).onSuccess)==null?void 0:h.call(f,P,t,this.state.context)),await((b=(m=A(this,et).config).onSettled)==null?void 0:b.call(m,P,null,this.state.variables,this.state.context,this)),await((w=(g=this.options).onSettled)==null?void 0:w.call(g,P,null,t,this.state.context)),Ke(this,vn,sr).call(this,{type:"success",data:P}),P}catch(P){try{throw await((y=(v=A(this,et).config).onError)==null?void 0:y.call(v,P,t,this.state.context,this)),await((k=(x=this.options).onError)==null?void 0:k.call(x,P,t,this.state.context)),await((j=(S=A(this,et).config).onSettled)==null?void 0:j.call(S,void 0,P,this.state.variables,this.state.context,this)),await((N=(T=this.options).onSettled)==null?void 0:N.call(T,void 0,P,t,this.state.context)),P}finally{Ke(this,vn,sr).call(this,{type:"error",error:P})}}finally{A(this,et).runNext(this)}}},gn=new WeakMap,et=new WeakMap,us=new WeakMap,vn=new WeakSet,sr=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),nt.batch(()=>{A(this,gn).forEach(r=>{r.onMutationUpdate(t)}),A(this,et).notify({mutation:this,type:"updated",action:t})})},r0);function tR(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var On,Xt,la,s0,nR=(s0=class extends au{constructor(t={}){super();ce(this,On);ce(this,Xt);ce(this,la);this.config=t,X(this,On,new Set),X(this,Xt,new Map),X(this,la,0)}build(t,n,r){const s=new eR({mutationCache:this,mutationId:++Pa(this,la)._,options:t.defaultMutationOptions(n),state:r});return this.add(s),s}add(t){A(this,On).add(t);const n=Ja(t);if(typeof n=="string"){const r=A(this,Xt).get(n);r?r.push(t):A(this,Xt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(A(this,On).delete(t)){const n=Ja(t);if(typeof n=="string"){const r=A(this,Xt).get(n);if(r)if(r.length>1){const s=r.indexOf(t);s!==-1&&r.splice(s,1)}else r[0]===t&&A(this,Xt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=Ja(t);if(typeof n=="string"){const r=A(this,Xt).get(n),s=r==null?void 0:r.find(i=>i.state.status==="pending");return!s||s===t}else return!0}runNext(t){var r;const n=Ja(t);if(typeof n=="string"){const s=(r=A(this,Xt).get(n))==null?void 0:r.find(i=>i!==t&&i.state.isPaused);return(s==null?void 0:s.continue())??Promise.resolve()}else return Promise.resolve()}clear(){nt.batch(()=>{A(this,On).forEach(t=>{this.notify({type:"removed",mutation:t})}),A(this,On).clear(),A(this,Xt).clear()})}getAll(){return Array.from(A(this,On))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>iy(n,r))}findAll(t={}){return this.getAll().filter(n=>iy(t,n))}notify(t){nt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return nt.batch(()=>Promise.all(t.map(n=>n.continue().catch(qt))))}},On=new WeakMap,Xt=new WeakMap,la=new WeakMap,s0);function Ja(e){var t;return(t=e.options.scope)==null?void 0:t.id}function ly(e){return{onFetch:(t,n)=>{var d,f,h,m,b;const r=t.options,s=(h=(f=(d=t.fetchOptions)==null?void 0:d.meta)==null?void 0:f.fetchMore)==null?void 0:h.direction,i=((m=t.state.data)==null?void 0:m.pages)||[],a=((b=t.state.data)==null?void 0:b.pageParams)||[];let l={pages:[],pageParams:[]},c=0;const u=async()=>{let g=!1;const w=x=>{Object.defineProperty(x,"signal",{enumerable:!0,get:()=>(t.signal.aborted?g=!0:t.signal.addEventListener("abort",()=>{g=!0}),t.signal)})},v=Hk(t.options,t.fetchOptions),y=async(x,k,S)=>{if(g)return Promise.reject();if(k==null&&x.pages.length)return Promise.resolve(x);const T=(()=>{const L={client:t.client,queryKey:t.queryKey,pageParam:k,direction:S?"backward":"forward",meta:t.options.meta};return w(L),L})(),N=await v(T),{maxPages:P}=t.options,z=S?UM:$M;return{pages:z(x.pages,N,P),pageParams:z(x.pageParams,k,P)}};if(s&&i.length){const x=s==="backward",k=x?rR:cy,S={pages:i,pageParams:a},j=k(r,S);l=await y(S,j,x)}else{const x=e??i.length;do{const k=c===0?a[0]??r.initialPageParam:cy(r,l);if(c>0&&k==null)break;l=await y(l,k),c++}while(c<x)}return l};t.options.persister?t.fetchFn=()=>{var g,w;return(w=(g=t.options).persister)==null?void 0:w.call(g,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function cy(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function rR(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var ze,gr,vr,gi,vi,yr,yi,xi,i0,sR=(i0=class{constructor(e={}){ce(this,ze);ce(this,gr);ce(this,vr);ce(this,gi);ce(this,vi);ce(this,yr);ce(this,yi);ce(this,xi);X(this,ze,e.queryCache||new JM),X(this,gr,e.mutationCache||new nR),X(this,vr,e.defaultOptions||{}),X(this,gi,new Map),X(this,vi,new Map),X(this,yr,0)}mount(){Pa(this,yr)._++,A(this,yr)===1&&(X(this,yi,Gk.subscribe(async e=>{e&&(await this.resumePausedMutations(),A(this,ze).onFocus())})),X(this,xi,gc.subscribe(async e=>{e&&(await this.resumePausedMutations(),A(this,ze).onOnline())})))}unmount(){var e,t;Pa(this,yr)._--,A(this,yr)===0&&((e=A(this,yi))==null||e.call(this),X(this,yi,void 0),(t=A(this,xi))==null||t.call(this),X(this,xi,void 0))}isFetching(e){return A(this,ze).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return A(this,gr).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=A(this,ze).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=A(this,ze).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(fh(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return A(this,ze).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),s=A(this,ze).get(r.queryHash),i=s==null?void 0:s.state.data,a=OM(t,i);if(a!==void 0)return A(this,ze).build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return nt.batch(()=>A(this,ze).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=A(this,ze).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=A(this,ze);nt.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=A(this,ze);return nt.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=nt.batch(()=>A(this,ze).findAll(e).map(s=>s.cancel(n)));return Promise.all(r).then(qt).catch(qt)}invalidateQueries(e,t={}){return nt.batch(()=>(A(this,ze).findAll(e).forEach(n=>
256{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=nt.batch(()=>A(this,ze).findAll(e).filter(s=>!s.isDisabled()&&!s.isStatic()).map(s=>{let i=s.fetch(void 0,n);return n.throwOnError||(i=i.catch(qt)),s.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(qt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=A(this,ze).build(this,t);return n.isStaleByTime(fh(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(qt).catch(qt)}fetchInfiniteQuery(e){return e.behavior=ly(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(qt).catch(qt)}ensureInfiniteQueryData(e){return e.behavior=ly(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return gc.isOnline()?A(this,gr).resumePausedMutations():Promise.resolve()}getQueryCache(){return A(this,ze)}getMutationCache(){return A(this,gr)}getDefaultOptions(){return A(this,vr)}setDefaultOptions(e){X(this,vr,e)}setQueryDefaults(e,t){A(this,gi).set(Qo(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...A(this,gi).values()],n={};return t.forEach(r=>{Xo(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){A(this,vi).set(Qo(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...A(this,vi).values()],n={};return t.forEach(r=>{Xo(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...A(this,vr).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=lp(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===cp&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...A(this,vr).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){A(this,ze).clear(),A(this,gr).clear()}},ze=new WeakMap,gr=new WeakMap,vr=new WeakMap,gi=new WeakMap,vi=new WeakMap,yr=new WeakMap,yi=new WeakMap,xi=new WeakMap,i0),iR=p.createContext(void 0),oR=({client:e,children:t})=>(p.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),o.jsx(iR.Provider,{value:e,children:t}));/**
257 * @remix-run/router v1.23.0
258 *
259 * Copyright (c) Remix Software Inc.
260 *
261 * This source code is licensed under the MIT license found in the
262 * LICENSE.md file in the root directory of this source tree.
263 *
264 * @license MIT
265 */function Jo(){return Jo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Jo.apply(this,arguments)}var wr;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(wr||(wr={}));const uy="popstate";function aR(e){e===void 0&&(e={});function t(r,s){let{pathname:i,search:a,hash:l}=r.location;return mh("",{pathname:i,search:a,hash:l},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function n(r,s){return typeof s=="string"?s:vc(s)}return cR(t,n,null,e)}function Ae(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function qk(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function lR(){return Math.random().toString(36).substr(2,8)}function dy(e,t){return{usr:e.state,key:e.key,idx:t}}function mh(e,t,n,r){return n===void 0&&(n=null),Jo({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?$i(t):t,{state:n,key:t&&t.key||r||lR()})}function vc(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function $i(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function cR(e,t,n,r){r===void 0&&(r={});let{window:s=document.defaultView,v5Compat:i=!1}=r,a=s.history,l=wr.Pop,c=null,u=d();u==null&&(u=0,a.replaceState(Jo({},a.state,{idx:u}),""));function d(){return(a.state||{idx:null}).idx}function f(){l=wr.Pop;let w=d(),v=w==null?null:w-u;u=w,c&&c({action:l,location:g.location,delta:v})}function h(w,v){l=wr.Push;let y=mh(g.location,w,v);u=d()+1;let x=dy(y,u),k=g.createHref(y);try{a.pushState(x,"",k)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;s.location.assign(k)}i&&c&&c({action:l,location:g.location,delta:1})}function m(w,v){l=wr.Replace;let y=mh(g.location,w,v);u=d();let x=dy(y,u),k=g.createHref(y);a.replaceState(x,"",k),i&&c&&c({action:l,location:g.location,delta:0})}function b(w){let v=s.location.origin!=="null"?s.location.origin:s.location.href,y=typeof w=="string"?w:vc(w);return y=y.replace(/ $/,"%20"),Ae(v,"No window.location.(origin|href) available to create URL for href: "+y),new URL(y,v)}let g={get action(){return l},get location(){return e(s,a)},listen(w){if(c)throw new Error("A history only accepts one active listener");return s.addEventListener(uy,f),c=w,()=>{s.removeEventListener(uy,f),c=null}},createHref(w){return t(s,w)},createURL:b,encodeLocation(w){let v=b(w);return{pathname:v.pathname,search:v.search,hash:v.hash}},push:h,replace:m,go(w){return a.go(w)}};return g}var fy;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(fy||(fy={}));function uR(e,t,n){return n===void 0&&(n="/"),dR(e,t,n,!1)}function dR(e,t,n,r){let s=typeof t=="string"?$i(t):t,i=up(s.pathname||"/",n);if(i==null)return null;let a=Qk(e);fR(a);let l=null;for(let c=0;l==null&&c<a.length;++c){let u=SR(i);l=wR(a[c],u,r)}return l}function Qk(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let s=(i,a,l)=>{let c={relativePath:l===void 0?i.path||"":l,caseSensitive:i.caseSensitive===!0,childrenIndex:a,route:i};c.relativePath.startsWith("/")&&(Ae(c.relativePath.startsWith(r),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+r+'" is not val
265id. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(r.length));let u=Ar([r,c.relativePath]),d=n.concat(c);i.children&&i.children.length>0&&(Ae(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Qk(i.children,t,d,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:xR(u,i.index),routesMeta:d})};return e.forEach((i,a)=>{var l;if(i.path===""||!((l=i.path)!=null&&l.includes("?")))s(i,a);else for(let c of Xk(i.path))s(i,a,c)}),t}function Xk(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,s=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return s?[i,""]:[i];let a=Xk(r.join("/")),l=[];return l.push(...a.map(c=>c===""?i:[i,c].join("/"))),s&&l.push(...a),l.map(c=>e.startsWith("/")&&c===""?"/":c)}function fR(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:bR(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const hR=/^:[\w-]+$/,mR=3,pR=2,gR=1,vR=10,yR=-2,hy=e=>e==="*";function xR(e,t){let n=e.split("/"),r=n.length;return n.some(hy)&&(r+=yR),t&&(r+=pR),n.filter(s=>!hy(s)).reduce((s,i)=>s+(hR.test(i)?mR:i===""?gR:vR),r)}function bR(e,t){return e.length===t.length&&e.slice(0,-1).every((r,s)=>r===t[s])?e[e.length-1]-t[t.length-1]:0}function wR(e,t,n){let{routesMeta:r}=e,s={},i="/",a=[];for(let l=0;l<r.length;++l){let c=r[l],u=l===r.length-1,d=i==="/"?t:t.slice(i.length)||"/",f=my({path:c.relativePath,caseSensitive:c.caseSensitive,end:u},d),h=c.route;if(!f&&u&&n&&!r[r.length-1].route.index&&(f=my({path:c.relativePath,caseSensitive:c.caseSensitive,end:!1},d)),!f)return null;
vendor: 6,917 bytes, lines 265-274
265Object.assign(s,f.params),a.push({params:s,pathname:Ar([i,f.pathname]),pathnameBase:NR(Ar([i,f.pathnameBase])),route:h}),f.pathnameBase!=="/"&&(i=Ar([i,f.pathnameBase]))}return a}function my(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=kR(e.path,e.caseSensitive,e.end),s=t.match(n);if(!s)return null;let i=s[0],a=i.replace(/(.)\/+$/,"$1"),l=s.slice(1);return{params:r.reduce((u,d,f)=>{let{paramName:h,isOptional:m}=d;if(h==="*"){let g=l[f]||"";a=i.slice(0,i.length-g.length).replace(/(.)\/+$/,"$1")}const b=l[f];return m&&!b?u[h]=void 0:u[h]=(b||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:a,pattern:e}}function kR(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),qk(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,l,c)=>(r.push({paramName:l,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),r]}function SR(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return qk(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function up(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function jR(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:s=""}=typeof e=="string"?$i(e):e;return{pathname:n?n.startsWith("/")?n:TR(n,t):t,search:zR(r),hash:ER(s)}}function TR(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(s=>{s===".."?n.length>1&&n.pop():s!=="."&&n.push(s)}),n.length>1?n.join("/"):"/"}function jd(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"].  Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function CR(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function dp(e,t){let n=CR(e);return t?n.map((r,s)=>s===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function fp(e,t,n,r){r===void 0&&(r=!1);let s;typeof e=="string"?s=$i(e):(s=Jo({},e),Ae(!s.pathname||!s.pathname.includes("?"),jd("?","pathname","search",s)),Ae(!s.pathname||!s.pathname.includes("#"),jd("#","pathname","hash",s)),Ae(!s.search||!s.search.includes("#"),jd("#","search","hash",s)));let i=e===""||s.pathname==="",a=i?"/":s.pathname,l;if(a==null)l=n;else{let f=t.length-1;if(!r&&a.startsWith("..")){let h=a.split("/");for(;h[0]==="..";)h.shift(),f-=1;s.pathname=h.join("/")}l=f>=0?t[f]:"/"}let c=jR(s,l),u=a&&a!=="/"&&a.endsWith("/"),d=(i||a===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(u||d)&&(c.pathname+="/"),c}const Ar=e=>e.join("/").replace(/\/\/+/g,"/"),NR=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),zR=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,ER=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function PR(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Jk=["post","put","patch","delete"];new Set(Jk);const AR=["get",...Jk];new Set(AR);/**
266 * React Router v6.30.1
267 *
268 * Copyright (c) Remix Software Inc.
269 *
270 * This source code is licensed under the MIT license found in the
271 * LICENSE.md file in the root directory of this source tree.
272 *
273 * @license MIT
274 */function ea(){return ea=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ea.apply(this,arguments)}const hp=p.createContext(null),MR=p.createContext(null),Hr=p.createContext(null),cu=p.createContext(null),Zn=p.createContext({outlet:null,matches:[],isDataRoute:!1}),e1=p.createContext(null);function RR(e,t){let{relative:n}=t===void 0?{}:t;Ui()||Ae(!1);let{basename:r,navigator:s}=p.useContext(Hr),{hash:i,pathname:a,search:l}=r1(e,{relative:n}),c=a;return r!=="/"&&(c=a==="/"?r:Ar([r,a])),s.createHref({pathname:c,search:l,hash:i})}function Ui(){return p.useContext(cu)!=null}function Yn(){return Ui()||Ae(!1),p.useContext(cu).location}function t1(e){p.useContext(Hr).static||p.useLayoutEffect(e)}function n1(){let{isDataRoute:e}=p.useContext(Zn);return e?KR():DR()}function DR(){Ui()||Ae(!1);let e=p.useContext(hp),{basename:t,future:n,navigator:r}=p.useContext(Hr),{matches:s}=p.useContext(Zn),{pathname:i}=Yn(),a=JSON.stringify(dp(s,n.v7_relativeSplatPath)),l=p.useRef(!1);return t1(()=>{l.current=!0}),p.useCallback(function(u,d){if(d===void 0&&(d={}),!l.current)return;if(typeof u=="number"){r.go(u);return}let f=fp(u,JSON.parse(a),i,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:Ar([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,a,i,e])}function IR(){let{matches:e}=p.useContext(Zn),t=e[e.length-1];return t?t.params:{}}function r1(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=p.useContext(Hr),{matches:s}=p.useContext(Zn),{pathname:i}=Yn(),a=JSON.stringify(dp(s,r.v7_relativeSplatPath));return p.useMemo(()=>fp(e,JSON.parse(a),i,n==="path"),[e,a,i,n])}function OR(e,t){return LR(e,t)}function LR(e,t,n,r){Ui()||Ae(!1);let{navigator:s}=p.useContext(Hr),{matches:i}=p.useContext(Zn),a=i[i.length-1],l=a?a.params:{};a&&a.pathname;let c=a?a.pathnameBase:"/";a&&a.route;let u=Yn(),d;if(t){var f;let w=typeof t=="string"?$i(t):t;c==="/"||(f=w.pathname)!=null&&f.startsWith(c)||Ae(!1),d=w}else d=u;let h=d.pathname||"/",m=h;if(c!=="/"){let w=c.replace(/^\//,"").split("/");m="/"+h.replace(/^\//,"").split("/").slice(w.length).join("/")}let b=uR(e,{pathname:m}),g=$R(b&&b.map(w=>Object.assign({},w,{params:Object.assign({},l,w.params),pathname:Ar([c,s.encodeLocation?s.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?c:Ar([c,s.encodeLocation?s.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),i,n,r);return t&&g?p.createElement(cu.Provider,{value:{location:ea({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:wr.Pop}},g):g}function _R(){let e=WR(),t=PR(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,s={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return p.createElement(p.Fragment,null,p.createElement("h2",null,"Unexpected Application 
274Error!"),p.createElement("h3",{style:{fontStyle:"italic"}},t),n?p.createElement("pre",{style:s},n):null,null)}const FR=p.createElement(_R,null);class VR extends p.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?p.createElement(Zn.Provider,{value:this.props.routeContext},p.createElement(e1.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function BR(e){let{routeContext:t,match:n,children:r}=e,s=p.useContext(hp);return s&&s.static&&s.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=n.route.id),p.createElement(Zn.Provider,{value:t},r)}function $R(e,t,n,r){var s;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let a=e,l=(s=n)==null?void 0:s.errors;if(l!=null){let d=a.findIndex(f=>f.route.id&&(l==null?void 0:l[f.route.id])!==void 0);d>=0||Ae(!1),a=a.slice(0,Math.min(a.length,d+1))}let c=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d<a.length;d++){let f=a[d];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(u=d),f.route.id){let{loaderData:h,errors:m}=n,b=f.route.loader&&h[f.route.id]===void 0&&(!m||m[f.route.id]===void 0);if(f.route.lazy||b){c=!0,u>=0?a=a.slice(0,u+1):a=[a[0]];break}}}return a.reduceRight((d,f,h)=>{let m,b=!1,g=null,w=null;n&&(m=l&&f.route.id?l[f.route.id]:void 0,g=f.route.errorElement||FR,c&&(u<0&&h===0?(b=!0,w=null):u===h&&(b=!0,w=f.route.hydrateFallbackElement||null)));let v=t.concat(a.slice(0,h+1)),y=()=>{let x;return m?x=g:b?x=w:f.route.Component?x=p.createElement(f.route.Component,null):f.route.element?x=f.route.element:x=d,p.createElement(BR,{match:f,routeContext:{outlet:d,matches:v,isDataRoute:n!=null},children:x})};return n&&(f.route.ErrorBoundary||f.route.errorElement||h===0)?p.createElement(VR,{location:n.location,revalidation:n.revalidation,component:g,error:m,children:y(),routeC
274ontext:{outlet:null,matches:v,isDataRoute:!0}}):y()},null)}var s1=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(s1||{}),yc=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(yc||{});function UR(e){let t=p.useContext(hp);return t||Ae(!1),t}function HR(e){let t=p.useContext(MR);return t||Ae(!1),t}function GR(e){let t=p.useContext(Zn);return t||Ae(!1),t}function i1(e){let t=GR(),n=t.matches[t.matches.length-1];return n.route.id||Ae(!1),n.route.id}function WR(){var e;let t=p.useContext(e1),n=HR(yc.UseRouteError),r=i1(yc.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function KR(){let{router:e}=UR(s1.UseNavigateStable),t=i1(yc.UseNavigateStable),n=p.useRef(!1);return t1(()=>{n.current=!0}),p.useCallback(function(s,i){i===void 0&&(i={}),n.current&&(typeof s=="number"?e.navigate(s):e.navigate(s,ea({fromRouteId:t},i)))},[e,t])}function ZR(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function py(e){let{to:t,replace:n,state:r,relative:s}=e;Ui()||Ae(!1);let{future:i,static:a}=p.useContext(Hr),{matches:l}=p.useContext(Zn),{pathname:c}=Yn(),u=n1(),d=fp(t,dp(l,i.v7_relativeSplatPath),c,s==="path"),f=JSON.stringify(d);return p.useEffect(()=>u(JSON.parse(f),{replace:n,state:r,relative:s}),[u,f,s,n,r]),null}function ut(e){Ae(!1)}function YR(e){let{basename:t="/",children:n=null,location:r,navigationType:s=wr.Pop,navigator:i,static:a=!1,future:l}=e;Ui()&&Ae(!1);let c=t.replace(/^\/*/,"/"),u=p.useMemo(()=>({basename:c,navigator:i,static:a,future:ea({v7_relativeSplatPath:!1},l)}),[c,l,i,a]);typeof r=="string"&&(r=$i(r));let{pathname:d="/",search:f="",hash:h="",state:m=null,key:b="default"}=r,g=p.useMemo(()=>{let w=up(d,c);return w==null?null:{location:{pathname:w,search:f,hash:h,state:m,key:b},navigationType:s}},[c,d,f,h,m,b,s]);return g==null?null:p.createElement(Hr.Provider,{value:u},p.createElement(cu.Provider,{children:n,value:g}))}function qR(e){let{children:t,location:n}=e;return OR(ph(t),n)}new Promise(()=>{});function ph(e,t){t===void 0&&(t=[]);let n=[];return p.Children.forEach(e,(r,s)=>{if(!p.isValidElement(r))return;let i=[...t,s];if(r.type===p.Fragment){n.push.apply(n,ph(r.props.children,i));return}r.type!==ut&&Ae(!1),!r.props.index||!r.props.children||Ae(!1);let a={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(a.children=ph(r.props.children,i)),n.push(a)}),n}/**
275 * React Router DOM v6.30.1
276 *
277 * Copyright (c) Remix Software Inc.
278 *
279 * This source code is licensed under the MIT license found in the
280 * LICENSE.md file in the root directory of this source tree.
281 *
282 * @license MIT
283 */function gh(){return gh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gh.apply(this,arguments)}function QR(e,t){if(e==null)return{};var n={},r=Object.keys(e),s,i;for(i=0;i<r.length;i++)s=r[i],!(t.indexOf(s)>=0)&&(n[s]=e[s]);return n}function XR(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function JR(e,t){return e.button===0&&(!t||t==="_self")&&!XR(e)}const eD=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],tD="6";try{window.__reactRouterVersion=tD}catch{}const nD="startTransition",gy=Xh[nD];function rD(e){let{basename:t,children:n,future:r,window:s}=e,i=p.useRef();i.current==null&&(i.current=aR({window:s,v5Compat:!0}));let a=i.current,[l,c]=p.useState({action:a.action,location:a.location}),{v7_startTransition:u}=r||{},d=p.useCallback(f=>{u&&gy?gy(()=>c(f)):c(f)},[c,u]);return p.useLayoutEffect(()=>a.listen(d),[a,d]),p.useEffect(()=>ZR(r),[r]),p.createElement(YR,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:a,future:r})}const sD=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",iD=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Z=p.forwardRef(function(t,n){let{onClick:r,relative:s,reloadDocument:i,replace:a,state:l,target:c,to:u,preventScrollReset:d,viewTransition:f}=t,h=QR(t,eD),{basename:m}=p.useContext(Hr),b,g=!1;if(typeof u=="string"&&iD.test(u)&&(b=u,sD))try{let x=new URL(window.location.href),k=u.startsWith("//")?new URL(x.protocol+u):new URL(u),S=up(k.pathname,m);k.origin===x.origin&&S!=null?u=S+k.search+k.hash:g=!0}catch{}let w=RR(u,{relative:s}),v=oD(u,{replace:a,state:l,target:c,preventScrollReset:d,relative:s,viewTransition:f});function y(x){r&&r(x),x.defaultPrevented||v(x)}return p.createElement("a",gh({},h,{href:b||w,onClick:g||i?r:y,ref:n,target:c}))});var vy;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(vy||(vy={}));var yy;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(yy||(yy={}));function oD(e,t){let{target:n,replace:r,state:s,preventScrollReset:i,relative:a,viewTransition:l}=t===void 0?{}:t,c=n1(),u=Yn(),d=r1(e,{relative:a});return p.useCallback(f=>{if(JR(f,n)){f.preventDefault();let h=r!==void 0?r:vc(u)===vc(d);c(e,{replace:h,state:s,preventScrollReset:i,relative:a,viewTransition:l})}},[u,c,d,r,s,n,e,i,a,l])}const aD={nav:{home:"Kezdőlap",services:"Szolgáltatások",partsManufacturing:"Alkatrész gyártás",cncMachining:"Géppark",gears:"Fogaskerekek",steelStructures:"Acélszerkezetek",technicalCapabilities:"Géppark",contact:"Elérhetőség",reverseEngineering:"Reverse Engineering",largeParts:"Nagy alkatrészek",about:"Rólunk"},common:{learnMore:"Részletek",requestQuote:"Ajánlatkérés",contactUs:"Kapcsolatfelvétel",technicalData:"Műszaki adatok",allMachines:"Összes gép",galleryComingSoon:"Képek hamarosan",service:"Szolgáltatás",modernTechnology:"Modern technológia",yearsExperience:"Év tapasztalat",machines:"Gép",hallArea:"m² csarnok",specialists:"Szakember",since:"Alapítás éve",facility:"Telephely",certification:"Minősítés"},home:{heroTitle:"Sárgépszer Kft.,",heroTitleAccent:"precíziós fémmegmunkálás",heroSubtitle:"A SÁRGÉPSZER Kft. 1992 óta. ISO 9001:2015 minősített partner a gépgyártás, vegyipar, kohászat, területén",heroBadge:"ISO 9001:2015 minősített partner",companyTitle:"Évtizedek tapasztalata a",companyTitleAccent:"precíziós gyártásban",companyDesc1:"A Sárgépszer AlkatrészgyÃ
283¡rtó és Kereskedelmi Kft. 100%-os magántulajdonú magyar vállalat, amely 1992 óta van jelen a gép- és szerszámgépgyártás területén. Fő profilunk gépek, gépi berendezések, részegységek, valamint ezek alkatrészeinek és szerszámainak gyártása – elsősorban közepes és nagy méretű alkatrészek kivitelezésére specializálódva, olyan iparágak számára, mint a kohászati és ipari üzemek, bányászati vállalkozások, gépjárműgyártók, élelmiszer-, vegy-, papír- és gumiipari üzemek.",companyDesc2:"Amiben igazán különbözünk a piaci szereplők többségétől, az a problémamegoldó képességünk: kevés az a versenytárs, amely olyan összetett, nem szokványos gyártási feladatokkal is lépést tud tartani, mint amilyeneket nap mint nap megoldunk. Termékeinket az MSZ EN ISO 9001 szerinti minőségirányítási rendszer alapján gyártjuk és dokumentáljuk, hőkezeléssel, köszörüléssel és megfelelő felületvédelemmel látjuk el, a megrendelő igényei szerint.",companyDesc3:"",servicesTitle:"Szolgáltatásaink",servicesSubtitle:"Átfogó fémipari megoldások a tervezéstől a kész termékig",industriesTitle:"Iparágak, amelyeket",industriesTitleAccent:"kiszolgálunk",industriesSubtitle:"Évtizedes tapasztalatunk révén számos iparág megbízható partnerei vagyunk. Gépalkatrészeink és megoldásaink a legkülönbözőbb területeken bizonyítanak.",ctaTitle:"Kérjen ajánlatot projektjéhez",ctaSubtitle:"Szakértő csapatunk készen áll az Ön 
283igényeinek megfelelő megoldás kidolgozására. Vegye fel velünk a kapcsolatot!",downloadsTitle:"Letöltések",downloadsSubtitle:"Céges tanúsítványaink és dokumentációink letöltése partnereink részére",downloadsButton:"Dokumentumok megtekintése"},downloads:{title:"Letölthető dokumentumok",description:"Itt érhetők el céges tanúsítványaink és egyéb dokumentációink. A listát folyamatosan bővítjük.",empty:"Jelenleg nincs elérhető letöltés.",close:"Bezárás"},services:{partsDesc:"Egyedi és sorozatgyártású gépalkatrészek precíziós megmunkálása",cncDesc:"Modern CNC esztergák és megmunkálóközpontok nagy pontossággal",gearsDesc:"Egyenes és ferdefogazású fogaskerekek ø2500 mm átmérőig",steelDesc:"Gépvázak, szállítóberendezések és hegesztett szerkezetek",reverseDesc:"Alkatrészgyártás rajz nélkül, mintadarab alapján, teljes műszaki rekonstrukcióval",largePartsDesc:"Nagy tengelyek, csőmagok és komplett hajtóművek gyártása és felújítása"},industries:{metallurgy:"Kohászati üzemek",mining:"Bányászat",automotive:"Gépjárműgyártók",agriculture:"Mezőgazdasági gépgyártók",food:"Élelmiszeripari gépgyártók",power:"Erőművek",chemical:"Vegyipari berendezések"},parts:{heroTitle:"Alkatrész",heroTitleAccent:"gyártás",heroSubtitle:"Egyedi és sorozatgyártású gépalkatrészek precíziós megmunkálása a tervezéstől a kész termékig. Évtizedes tapasztalat a legigényesebb követelmények teljesítésében.",sectionTitle:"Gépalkatrészek gyártása",desc1:"Vállalatunk egyedi gépalkatrészek gyártását végzi megrendelőink tervei, rajzai alapján, vagy mintadarab szerint. Gyártási tevékenységünk az egyszerűbb, de nagy darabszámú termékektől a bonyolultabb, kisszériás alkatrészekig terjed.",desc2:"A feldolgozandó anyagok között szerepel acél, öntöttvas, bronz, réz, alumínium és egyéb színesfémek. Partnereinkkel hosszú távú, megbízható együttműködésre törekszünk.",processTitle:"Gyártási folyamat",processSubtitle:"A teljes gyártási folyamat az Ön igényeihez igazodik",capabilitiesTitle:"Képességeink és",capabilitiesTitleAccent:"szolgáltatásaink",capabilitiesSubtitle:"Átfogó megoldásokat kínálunk az egyszerű alkatrészektől a komplex részegységekig. Szakértő csapatunk minden igényt kiszolgál.",ctaTitle:"Érdekli az alkatrész gyártás?",ctaSubtitle:"Küldje el terveit vagy műszaki rajzait, és hamarosan elküldjük ajánlatunkat."},process:{plans:"Tervek / Rajzok",plansDesc:"Dokumentáció és műszaki rajzok feldolgozása",manufacturing:"Gyártás",manufacturingDesc:"Precíziós megmunkálás modern gépeken",heatTreatment:"Hőkezelés",heatTreatmentDesc:"Anyagkezelés és edzés igény szerint",grinding:"Köszörülés",grindingDesc:"Felületi finomítás a kívánt tűrésre",surfaceProtection:"Fémszórás",surfaceProtectionDesc:"Rozsdamentes és normál acél fémszórása",chromePlating:"Kemény krómozás",chromePlatingDesc:"Kopásálló kemény króm bevonatok alkatrészekre"},capabilities:{customParts:"Egyedi alkatrészek gyártása műszaki rajz vagy minta alapján",smallLargeSeries:"Kis és nagy szériás gyártás egyaránt",complexGeometry:"Komplex geometriájú alkatrészek megmunkálása",materials:"Különféle anyagok: acél, öntöttvas, bronz, réz, alumínium",qualityControl:"Teljes körű minőség-ellenőrzés",onTimeDelivery:"Határidős szállítás",traditionalFleet:"Hagyományos géppark a megbízható, hosszú élettartamú megmunkáláshoz"},cnc:{heroTitle:"Géppark",heroSubtitle:"Korszerű CNC esztergák és megmunkálóközpontok a legnagyobb pontosságú alkatrészgyártáshoz. Gépparkunk a legigényesebb feladatokra is alkalmas.",highlightAccuracy:"Nagy pontosság",highlightAccuracyDesc:"±0.005 mm pozícionálási pontosság",highlightSize:"Nagy méret",highlightSizeDesc:"3000 mm csúcstávolság esztergálásnál",highlightSpeed:"Széles fordulatszám",highlightSpeedDesc:"10-10000 1/min tartományban",highlightControl:"Modern vezérlés",highlightControlDesc:"Mazatrol, Siemens, Heidenhain vezérlés",fleetTitle:"CNC géppark",fleetSubtitle:"Korszerű CNC gépekkel dolgozunk a precíziós megmunkálás érdekében",descTitle:"Precíziós CNC megmunkálás",desc1:"CNC gépeink lehetővé teszik a komplex geometriájú alkatrészek gyártását a legmagasabb pontossággal. Az esztergagépek 3000 mm csúcstávolságig, a megmunkálóközpontok pedig nagyméretű munkadarabok feldolgozására alkalmasak.",desc2:"Modern vezérlőrendszereink – köztük a MAZATROL Matrix – biztosítjÃ
283¡k a programozás rugalmasságát és a gyártás megbízhatóságát. Tapasztalt gépkezelőink garantálják a minőségi munkát.",ctaTitle:"CNC megmunkálást keres?",ctaSubtitle:"Küldje el a műszaki dokumentációt, és elkészítjük a precíz ajánlatot."},gears:{heroTitle:"Fogaskerekek",heroSubtitle:"Egyenes és ferdefogazású fogaskerekek gyártása ø2500 mm átmérőig, 1-25 modul tartományban. Hőkezelés és fogköszörülés lehetőségével.",capMaxDiameter:"Max. átmérő",capModuleRange:"Modul tartomány",capHeatTreatment:"Hőkezelés",capGearGrinding:"Fogköszörülés",onRequest:"Igény szerint",available:"Elérhető",sectionTitle:"Fogaskerék",sectionTitleAccent:"gyártás",desc1:"Fogaskerekek gyártását az 1-25 modul tartományban végezzük, amelyek maximális átmérője 2500 mm lehet. Gyártunk egyenes és ferdefogazású fogaskerekeket, fogazott tengelyeket, nyílkerekeket és csigahajtóműveket.",desc2:"A gyártás során hőkezelést és fogköszörülést is tudunk biztosítani, amennyiben az a megrendelő igénye. Partnereinkkel szorosan együttműködünk a tökéletes végeredmény érdekében.",typesTitle:"Fogaskerék típusok",typesSubtitle:"Széles választék az egyszerű kerekektől a komplex hajtóműelemekig",additionalTitle:"Kiegészítő",additionalTitleAccent:"szolgáltatások",additionalSubtitle:"A fogaskerék gyártás mellett további szolgáltatásokat is kínálunk",heatTreatmentTitle:"Hőkezelés",heatTreatmentDesc:"Edzés, normalizálás és egyéb hőkezelési eljárások a megfelelő keménység és kopásállóság eléréséhez.",gearGrindingTitle:"Fogköszörülés",gearGrindingDesc:"Precíziós fogköszörülés a legmagasabb minőségi követelmények teljesítéséhez.",ctaTitle:"Fogaskerék gyártást keres?",ctaSubtitle:"Készítünk egyedi fogaskerekeket az Ön specifikációi alapján."},gearTypes:{spur:"Egyenes fogazás",spurDesc:"Hagyományos egyenes fogazású fogaskerekek",helical:"Ferdefogazás",helicalDesc:"Csendesebb járású ferdefogazású kerekek",splinedShafts:"Fogazott tengelyek",splinedShaftsDesc:"Tengelyen kialakított fogazat",faceGears:"Nyílkerék",faceGearsDesc:"Nyíl alakú fogazású fogaskerekek",couplings:"Tengelykapcsolók",couplingsDesc:"Fogazott tengelykapcsolók gyártása",wormGears:"Csigahajtóművek",wormGearsDesc:"Csigahajtóművek gyártása"},reverseEngineering:{heroTitle:"Reverse Engineering",heroSubtitle:"Alkatrészgyártás rajz nélkül – mintadarab alapján is. Ha nincs meg a műszaki rajz, vagy csak egy sérült mintadarab áll rendelkezésre, mi akkor is vállaljuk a legyártását.",sectionTitle:"Reverse Engineering",descTitle:"Alkatrészgyártás rajz nélkül",descTitleAccent:"mintadarab alapján is",desc1:"A reverse engineering cégünk egyik elsődleges profilja. Ha egy alkatrészhez nincs meg a műszaki rajz, vagy csak egy elhasználódott, sérült mintadarab áll rendelkezésre, mi akkor is vállaljuk a legyártását.",desc2:"A bevizsgált mintadarab alapján rekonstruáljuk az alkatrész geometriáját és gyártási paramétereit, majd elkészítjük a szükséges műszaki dokumentációt.",servicesTitle:"Szolgáltatásaink",servicesSubtitle:"Komplett megoldás a mintadarab bevizsgálásától a kész alkatrész gyártásáig",service1Title:"Rajz nélküli gyártás",service1Desc:"A bevizsgált mintadarab alapján rekonstruáljuk az alkatrész geometriáját és gyártási paramétereit.",service2Title:"Komplett rajzdokumentáció készítése",service2Desc:"Igény esetén a mintából kiindulva elkészítjük a teljes, utángyártásra és minőségellenőrzésre alkalmas műszaki dokumentációt.",service3Title:"Alapanyag-szaktanácsadás",service3Desc:"Ha az eredeti alapanyag már nem szerezhető be, szakértőink segítenek a megfelelő, a szükséges műszaki paramétereket megtartó alternatíva kiválasztásában.",closingTitle:"Megoldás akkor is, amikor",closingTitleAccent:"nincs tervdokumentáció",closingText:"Így akkor is megoldást tudunk kínálni, amikor a gyártó megszűnt, az alkatrész kifutott, vagy egyszerűen nincs elérhető tervdokumentáció.",ctaTitle:"Kérdezzen a reverse engineering lehetőségeiről",ctaSubtitle:"Vegye fel velünk a kapcsolatot, és segítünk a legyártásban még rajz nélkül is.",capInspection:"Mintadarab",capInspectionValue:"Bevizsgálás",capDocumentation:"Teljes",capDocumentationValue:"Dokumentáció",capMaterials:"Anyag",capMaterialsValue:"Tanácsadás",capSolution:"Kifutott",capSolutionValue:"Alkatrészekre"},largeParts:{heroTitle:"Nagy méretű alkatrészek",heroTitleAccent:"gyártása és felújítása",heroSubtitle:"Nagy tengelyek, csőmagok, fogaskerekek, tengelykapcsolók és komplett hajtóművek",sectionTitle:"Nagy méretű alkatrészek",descTitle:"Méret és pontosság",descTitleAccent:"együttes kezelése",desc1:"Kapacitásunk és gépparkunk kifejezetten alkalmas nagy méretű, nagy tömegű alkatrészek megmunkálására is, ahol a méret és a pontosság együttes kezelése kevés gyártó számára elérhető.",desc2:"Vállaljuk nagy tengelyek, csőmagok, fogaskerekek, tengelykapcsolók és komplett hajtóművek gyártását, javítását és felújítását. A meglévő egységek alkatrészenkénti bevizsgálása, szükség szerinti újragyártása és összeszerelése is része szolgáltatásainknak.",servicesTitle:"Szolgáltatásaink",servicesSubtitle:"Nagy méretű alkatrészek komplett gyártása, javítása és felújítása",service1Title:"Nagy tengelyek gyártása és j
283avítása",service1Desc:"Nagy méretű tengelyek gyártása és javítása 500 mm × 5000 mm-ig.",service2Title:"Csőmagok megmunkálása",service2Desc:"Csőmagok precíziós megmunkálása maximum D700 mm × 15000 mm méretig.",service3Title:"Fogaskerekek gyártása",service3Desc:"Fogaskerekek gyártása D2500 mm átmérőig.",service4Title:"Tengelykapcsolók gyártása és felújítása",service4Desc:"Tengelykapcsolók gyártása és felújítása D800 mm-ig, eddigi megrendelések alapján.",service5Title:"Nagy hajtóművek felújítása",service5Desc:"Nagy hajtóművek komplett felújítása és újragyártása: kopott, sérült egységek szétszerelése, alkatrészenkénti bevizsgálása, a szükséges elemek újragyártása és a hajtómű összeszerelése, működőképes állapotba hozása.",closingTitle:"Megoldás akkor is, amikor a csere",closingTitleAccent:"hosszú idővel vagy nagy költséggel járna",closingText:"Ez a szolgáltatás különösen olyan üzemek számára fontos, ahol egy-egy nagy hajtómű vagy tengelyegység cseréje hosszú beszerzési idővel vagy jelentős költséggel járna – nálunk a meglévő egység felújítása vagy alkatrészenkénti újragyártása is megoldást jelent.",ctaTitle:"Érdekli a nagy méretű alkatrészek gyártása?",ctaSubtitle:"Vegye fel velünk a kapcsolatot, és készítünk ajánlatot a projektjére.",capShafts:"Nagy tengelyek",capShaftsValue:"500×5000 mm",capPipeCores:"Csőmagok",capPipeCoresValue:"D700×15000 mm",capGears:"Fogaskerekek",capGearsValue:"D2500 mm",capCouplings:"Tengelykapcsolók",capCouplingsValue:"D800 mm",capGearboxes:"Nagy hajtóművek",capGearboxesValue:"Felújítás"},steel:{heroTitle:"Acélszerkezet",heroTitleAccent:"gyártás",heroSubtitle:"Gépvázak, szállítóberendezések és hegesztett szerkezetek gyártása 5 tonnáig. Lemezdarabolás, hajlítás, hengerlés és professzionális hegesztés.",capacityTitle:"Gyártási kapacitás",capacitySubtitle:"Acélszerkezeti munkáink főbb paraméterei",sectionTitle:"Acélszerkezet",sectionTitleAccent:"gyártás",desc1:"Az acélszerkezeti munkák terén teljes körű szolgáltatást nyújtunk. Lemezdarabolást, élhajtást, hengerelést és különböző hegesztési eljárásokat alkalmazunk a megrendelő igényei szerint.",desc2:"Hegesztési eljárásaink: MIG, MAG, TIG és bevonatos hegesztés. Maximális teherbírásunk 5 tonna. Rozsdamentes anyagok feldolgozását is vállaljuk.",productsTitle:"Termékeink és",productsTitleAccent:"megoldásaink",productsSubtitle:"Széles termékpalettával szolgáljuk ki partnereink igényeit",ctaTitle:"Acélszerkezetet keres?",ctaSubtitle:"Gépvázak, szállítóberendezések és egyéb acélszerkezetek gyártása műszaki rajz alapján."},steelProcesses:{sheetCutting:"Lemezdarabolás",edgeBending:"Élhajtás",rolling:"Hengerlés",welding:"Hegesztés",maxWeight:"Max. súly"},steelProducts:{machineFrames:"Gépvázak",stainlessConveyors:"Rozsdamentes szállítóberendezések",doors:"Nyílászárók",weldedGears:"Hegesztett fogaskerekek",supportStructures:"Tartószerkezetek",industrialFrames:"Ipari berendezések vázai"},technical:{heroTitle:"Műszaki lehetőségek",heroSubtitle:"Teljes gépparkunk áttekintése és műszaki paraméterei",lathes:"Esztergagépek",millingMachines:"Marógépek",grinders:"Köszörűgépek",machiningCenters:"Megmunkálóközpontok",steelEquipment:"Acélszerkezeti gépek",universalLathes:"Univerzális esztergák",cncLathes:"CNC esztergák",carouselLathes:"Karussel esztergák",horizontalBoring:"Vízszintes fúró-marógépek",coordinateBoring:"Koordináta fúrógépek",consoleMilling:"Konzolmarók",surfaceGrinders:"Síkköszörűk",cylindricalGrinders:"Palástköszörűk",gearGrinders:"Fogaskerék köszörűk",internalGrinders:"Furatköszörűk",cncMachiningCenters:"CNC megmunkálóközpontok",sheetProcessing:"Lemezfeldolgozás",weldingEquipment:"Hegesztőberendezések",totalMachines:"Gép összesen",cncMachines:"CNC gép",productionHall:"Gyártócsarnok",totalArea:"Telephely",ctaTitle:"Kérdése van a műszaki lehetőségeinkről?",ctaSubtitle:"Vegye fel velünk a kapcsolatot, és segítünk megtalálni a megfelelő megoldást.",machineType:"Gép típus",specification:"Specifikáció"},contact:{heroTitle:"Elérhetőség",heroSubtitle:"Vegye fel velünk a kapcsolatot! Munkatársaink készséggel állnak rendelkezésére.",address:"Cím",phoneNumbers:"Telefonszámok",email:"E-mail",openingHours:"Nyitvatartás",weekdays:"Hétfő - Péntek: 6:30 - 15:00",weekend:"Szombat - Vasárnap: Zárva",management:"Vezetőség",managingDirector:"Ügyvezető igazgató",ourFacility:"Létesítményünk",totalArea:"Teljes terület",productionHall:"Gyártócsarnok",machines:"Gép",specialists:"Szakember",quickContact:"Gyors kapcsolat",quickContactSubtitle:"Hívjon minket közvetlenül, vagy küldjön e-mailt",sendEmail:"E-mail küldése"},footer:{companyDesc:"Precíziós fémipari gyártás 1992 óta. ISO 9001:2015 minősített partner a gépgyártás, bányászat és kohászat területén.",services:"Szolgáltatások",contact:"Elérhetőség",inNumbers:"A számok tükrében",euFunding:"A projekt a GINOP pályázat keretében az Európai Unió támogatásával valósult meg.",allRightsReserved:"Minden jog fenntartva.",privacy:"Adatvédelem",imprint:"Impresszum",blog:"Blog"}
283,cookie:{bannerText:"Sütiket használunk a weboldal működéséhez, és – az Ön hozzájárulásával – a látogatottság méréséhez. Részletek:",policyLink:"Adatkezelési irányelvek",accept:"Elfogadom",reject:"Elutasítom",customize:"Testreszabás",save:"Beállítások mentése",settingsTitle:"Süti-beállítások",settingsDesc:"Válassza ki, mely sütiket engedélyezi. A választását bármikor módosíthatja az Adatkezelési irányelvek oldalon.",necessaryTitle:"Szükséges sütik",necessaryDesc:"A weboldal működéséhez, a nyelvválasztás és a hozzájárulás megjegyzéséhez. Nem kapcsolható ki.",analyticsTitle:"Statisztikai sütik",analyticsDesc:"Google Analytics segítségével mért, összesített látogatottsági adatok a weboldal fejlesztéséhez.",marketingTitle:"Marketing sütik",marketingDesc:"Hirdetések eredményességének mérése és célzása.",settingsButton:"Süti-beállítások módosítása"},blog:{title:"Szakmai blog",subtitle:"Iparági hírek, technológiai újdonságok és szakmai ismeretek a fémipari gyártás világából",readMore:"Tovább olvasom",readTime:"perc olvasás",latestPosts:"Legfrissebb bejegyzések",backToBlog:"Vissza a bloghoz",post1:{title:"A CNC technológia jövője a gépiparban",excerpt:"A CNC megmunkálás területén folyamatos fejlődésnek lehetünk tanúi. Az automatizálás és a mesterséges intelligencia térnyerése alapjaiban változtatja meg az iparágat.",date:"2025. január 15.",author:"SÁRGÉPSZER csapat",content:`A CNC (Computer Numerical Control) technológia az elmúlt évtizedekben forradalmasította a fémipari gyártást. Ma már elképzelhetetlen egy modern műhely működése ezen technológia nélkül.
284
285## Az automatizálás térnyerése
286
287Az Ipar 4.0 korszakában a CNC gépek már nem csupán önálló egységek, hanem egy összekapcsolt gyártási ökoszisztéma részei. A gépek valós időben kommunikálnak egymással és a gyártásirányító rendszerekkel.
288
289## Mesterséges intelligencia a megmunkálásban
290
291A gépi tanulás algoritmusai ma már képesek:
292- Előre jelezni a szerszámkopást
293- Optimalizálni a forgácsolási paramétereket
294- Csökkenteni a selejt arányt
295- Javítani az energiahatékonyságot
296
297## A SÁRGÉPSZER megközelítése
298
299Cégünk folyamatosan követi a technológiai fejlődést. Modern CNC gépparkunk – köztük a MAZAK VTC 300 C II és SUI 500 Combi esztergáink – lehetővé teszik a legmodernebb gyártási eljárások alkalmazását.
300
301A jövőben további fejlesztéseket tervezünk, hogy megrendelőink számára még pontosabb és hatékonyabb szolgáltatásokat nyújthassunk.`},post2:{title:"Precíziós fogaskerék gyártás: a minőség titka",excerpt:"A fogaskerekek gyártása különleges szakértelmet igényel. Megvizsgáljuk, milyen tényezők befolyásolják a végső minőséget és tartósságot.",date:"2025. január 8.",author:"SÁRGÉPSZER csapat",content:`A fogaskerekek a gépipar alapvető elemei, amelyek nélkül nem működnének hajtóműveink, sebességváltóink és számos más mechanikus berendezésünk.
302
303## A precizitás jelentősége
304
305Egy fogaskerék minősége meghatározza:
306- A hajtómű élettartamát
307- A működés zaját
308- Az energiahatékonyságot
309- A megbízhatóságot
310
311## Anyagválasztás és hőkezelés
312
313A megfelelő anyag kiválasztása és a hőkezelési eljárások kulcsfontosságúak. Gyártásunk során az alábbi szempontokat vesszük figyelembe:
314
3151. **Alapanyag minősége** - Csak ellenőrzött beszállítóktól vásárolunk
3162. **Hőkezelési paraméterek** - Precízen szabályozott edzési folyamatok
3173. **Felületi keménység** - A kopásállóság biztosítása
318
319## Maximális méretek
320
321A SÁRGÉPSZER Kft. képes:
322- 2500 mm átmérőig gyártani fogaskerekeket
323- 1-25 modul tartományban dolgozni
324- Egyenes és ferdefogazású kerekeket készíteni
325
326Tapasztalatunk és modern berendezéseink garantálják a kiváló minőséget.`},post3:{title:"Acélszerkezetek a modern iparban",excerpt:"Az acélszerkezetek nélkülözhetetlenek az ipari létesítmények építésénél. Bemutatjuk a legfontosabb hegesztési technológiákat és minőségi követelményeket.",date:"2024. december 20.",author:"SÁRGÉPSZER csapat",content:`Az acélszerkezetek az ipari infrastruktúra gerincét alkotják. Gépvázak, szállítóberendezések és tartószerkezetek nélkül nem működhetne a modern ipar.
327
328## Hegesztési technológiák
329
330A SÁRGÉPSZER Kft. az alábbi hegesztési eljárásokat alkalmazza:
331
332- **MIG/MAG hegesztés** - Automatizált, nagy sebességű hegesztés
333- **TIG hegesztés** - Precíziós munkákhoz, rozsdamentes anyagokhoz
334- **Bevont elektródás hegesztés** - Hagyományos, megbízható eljárás
335
336## Minőségbiztosítás
337
338Minden hegesztett szerkezetünk megfelel a vonatkozó szabványoknak. ISO 9001:2015 minőségirányítási rendszerünk garantálja a folyamatos ellenőrzést.
339
340## Kapacitásaink
341
342- Lemezdarabolás 16 mm vastagságig
343- Élhajlítás 4 mm-ig
344- Hengerlés 10 mm-ig
345- Maximum 5 tonna súlyú szerkezetek
346
347## Termékeink
348
349Készítünk:
350- Gépvázakat
351- Rozsdamentes szállítóberendezéseket
352- Ipari nyílászárókat
353- Hegesztett fogaskerekeket
354
355Forduljon hozzánk bizalommal acélszerkezeti projektjeivel!`}}},lD={nav:{home:"Home",services:"Services",partsManufacturing:"Parts Manufacturing",cncMachining:"Machine Park",gears:"Gears",steelStructures:"Steel Structures",technicalCapabilities:"Machine Park",contact:"Contact",reverseEngineering:"Reverse Engineering",largeParts:"Large Components",about:"About"}
355,common:{learnMore:"Learn More",requestQuote:"Request Quote",contactUs:"Contact Us",technicalData:"Technical Data",allMachines:"All Machines",galleryComingSoon:"Photos coming soon",service:"Service",modernTechnology:"Modern Technology",yearsExperience:"Years Experience",machines:"Machines",hallArea:"m² Hall",specialists:"Specialists",since:"Founded",facility:"Facility",certification:"Certification"},home:{heroTitle:"Precision metalworking",heroTitleAccent:"manufacturing",heroSubtitle:"SÁRGÉPSZER Ltd. since 1992. ISO 9001:2015 certified partner in the field of mechanical engineering, chemical industry and metallurgy",heroBadge:"ISO 9001:2015 certified partner",companyTitle:"Decades of experience in",companyTitleAccent:"precision manufacturing",companyDesc1:"SÁRGÉPSZER Ltd. is a Sárospatak-based company founded in 1992 that has been continuously growing year after year. From the very beginning, we have strived to excel in the field of quality machine parts manufacturing.",companyDesc2:"Through the modernization and expansion of our machine park, we are now able to meet the most demanding requirements. Our quality management system is ISO 9001:2015 certified.",companyDesc3:"We strive for long-term cooperation with our partners, whose needs we seek to satisfy at the highest level.",servicesTitle:"Our Services",servicesSubtitle:"Comprehensive metalworking solutions from design to finished product",industriesTitle:"Industries we",industriesTitleAccent:"serve",industriesSubtitle:"Through decades of experience, we are reliable partners for numerous industries. Our machine parts and solutions prove themselves in the most diverse fields.",ctaTitle:"Request a quote for your project",ctaSubtitle:"Our expert team is ready to develop a solution tailored to your needs. Contact us!",downloadsTitle:"Downloads",downloadsSubtitle:"Download our company certificates and documentation for partners",downloadsButton:"View documents"},downloads:{title:"Downloadable documents",description:"Here you can access our company certificates and other documentation. The list is continuously expanded.",empty:"No downloads available at the moment.",close:"Close"},services:{partsDesc:"Precision machining of custom and series-produced machine parts",cncDesc:"Modern CNC lathes and machining centers with high precision",gearsDesc:"Spur and helical gears up to ø2500 mm diameter",steelDesc:"Machine frames, conveyors and welded structures",reverseDesc:"Part manufacturing without drawings, based on a sample piece, with full technical reconstruction",largePartsDesc:"Manufacturing and refurbishment of large shafts, tube cores and complete gearboxes"},industries:{metallurgy:"Metallurgical plants",mining:"Mining",automotive:"Automotive manufacturers",agriculture:"Agricultural machine manufacturers",food:"Food industry machine manufacturers",power:"Power plants",chemical:"Chemical equipment"},parts:{heroTitle:"Parts",heroTitleAccent:"Manufacturing",heroSubtitle:"Precision machining of custom and series-produced machine parts from design to finished product. Decades of experience in meeting the most demanding requirements.",sectionTitle:"Machine Parts Manufacturing",desc1:"Our company manufactures custom machine parts based on our clients' plans, drawings, or sample pieces. Our manufacturing activities range from simpler, high-volume products to more complex, small-series parts.",desc2:"Materials we process include steel, cast iron, bronze, copper, aluminum, and other non-ferrous metals. We strive for long-term, reliable cooperation with our partners.",processTitle:"Manufacturing Process",processSubtitle:"The entire manufacturing process is tailored to your needs",capabilitiesTitle:"Our capabilities and",capabilitiesTitleAccent:"services",capabilitiesSubtitle:"We offer comprehensive solutions from simple parts to complex assemblies. Our expert team serves all requirements.",ctaTitle:"Interested in parts manufacturing?",ctaSubtitle:"Send us your plans or technical drawings, and we will send you our quote shortly."},process:{plans:"Plans / Drawings",plansDesc:"Processing documentation and technical drawings",manufacturing:"Manufacturing",manufacturingDesc:"Precision machining on modern machines",heatTreatment:"Heat Treatment",heatTreatmentDesc:"Material treatment and hardening as needed",grinding:"Grinding",grindingDesc:"Surface finishing to de
355sired tolerance",surfaceProtection:"Metal Spraying",surfaceProtectionDesc:"Metal spraying of stainless and standard steel",chromePlating:"Hard Chrome Plating",chromePlatingDesc:"Wear-resistant hard chrome coatings for parts"},capabilities:{customParts:"Custom parts manufacturing based on technical drawings or samples",smallLargeSeries:"Both small and large series production",complexGeometry:"Machining of complex geometry parts",materials:"Various materials: steel, cast iron, bronze, copper, aluminum",qualityControl:"Comprehensive quality control",onTimeDelivery:"On-time delivery",traditionalFleet:"Traditional machine park for reliable, long-life machining"},cnc:{heroTitle:"Machine Park",heroSubtitle:"Modern CNC lathes and machining centers for the highest precision parts manufacturing. Our machine park is suitable for the most demanding tasks.",highlightAccuracy:"High Precision",highlightAccuracyDesc:"±0.005 mm positioning accuracy",highlightSize:"Large Size",highlightSizeDesc:"3000 mm center distance for turning",highlightSpeed:"Wide Speed Range",highlightSpeedDesc:"10-10000 rpm range",highlightControl:"Modern Control",highlightControlDesc:"Mazatrol, Siemens, Heidenhain control",fleetTitle:"CNC Machine Fleet",fleetSubtitle:"We work with modern CNC machines for precision machining",descTitle:"Precision CNC Machining",desc1:"Our CNC machines enable the production of complex geometry parts with the highest precision. The lathes can handle up to 3000 mm center distance, while the machining centers are suitable for processing large workpieces.",desc2:"Our modern control systems – including MAZATROL Matrix – ensure programming flexibility and manufacturing reliability. Our experienced operators guarantee quality work.",ctaTitle:"Looking for CNC machining?",ctaSubtitle:"Send us the technical documentation, and we will prepare a precise quote."},gears:{heroTitle:"Gears",heroSubtitle:"Manufacturing of spur and helical gears up to ø2500 mm diameter, in the 1-25 module range. With heat treatment and gear grinding options.",capMaxDiameter:"Max. Diameter",capModuleRange:"Module Range",capHeatTreatment:"Heat Treatment",capGearGrinding:"Gear Grinding",onRequest:"On request",available:"Available",sectionTitle:"Gear",sectionTitleAccent:"Manufacturing",desc1:"We manufacture gears in the 1-25 module range, with a maximum diameter of 2500 mm. We produce spur and helical gears, splined shafts, herringbone gears, and worm drives.",desc2:"During manufacturing, we can also provide heat treatment and gear grinding if required by the customer. We work closely with our partners to achieve perfect results.",typesTitle:"Gear Types",typesSubtitle:"Wide selection from simple gears to complex drive elements",additionalTitle:"Additional",additionalTitleAccent:"services",additionalSubtitle:"In addition to gear manufacturing, we also offer additional services",heatTreatmentTitle:"Heat Treatment",heatTreatmentDesc:"Hardening, normalizing, and other heat treatment processes to achieve proper hardness and wear resistance.",gearGrindingTitle:"Gear Grinding",gearGrindingDesc:"Precision gear grinding to meet the highest quality requirements.",ctaTitle:"Looking for gear manufacturing?",ctaSubtitle:"We manufacture custom gears according to your specifications."},gearTypes:{spur:"Spur Gears",spurDesc:"Traditional straight-toothed gears",helical:"Helical Gears",helicalDesc:"Quieter running helical gears",splinedShafts:"Splined Shafts",splinedShaftsDesc:"Teeth formed on shafts",faceGears:"Herringbone Gears",faceGearsDesc:"Double helical (herringbone) toothed gears",couplings:"Couplings",couplingsDesc:"Toothed coupling manufacturing",wormGears:"Worm Drives",wormGearsDesc:"Manufacturing of worm drives"},reverseEngineering:{heroTitle:"Reverse Engineering",heroSubtitle:"Parts manufacturing without drawings – even based on a sample. If the technical drawing is missing or only a worn, damaged sample is available, we can still manufacture it.",sectionTitle:"Reverse Engineering",descTitle:"Parts manufacturing without",descTitleAccent:"technical drawings",desc1:"Reverse engineering is one of our core competencies. If a technical drawing is not available for a part, or only a worn or damaged sample is at hand, we can still take on its production.",desc2:"Based on the inspected sample, we reconstruct the geometry and manufacturing parameters of the part, and prepare the necessary technical documentation.",servicesTitle:"Our Services",servicesSubtitle:"Complete solution from sample inspection to finished part production",service1Title:"Manufacturing without drawings",service1Desc:"Based on the inspected sample, we reconstruct the part's geometry and manufacturing parameters.",service2Title:"Complete drawing documentation",service2Desc:"Upon request, we prepare the complete technical documentation suitable for reproduction and quality control based on the sample.",service3Title:"Material consulting",service3Desc:"If the original material is no longer available, our experts help select a suitable alternative that maintains the required technical parameters.",closingTitle:"A solution even when",closingTitleAccent:"no documentation exists",closingText:"This way we can offer a solution even when the manufacturer has ceased production, the part is obsolete, or simply no technical documentation is available.",ctaTitle:"Ask about our reverse engineering services",ctaSubtitle:"Contact us and we will help you with production even without drawings.",capInspection:"Sample",capInspectionValue:"Inspection",capDocumentation:"Complete",capDocumentationValue:"Documentation",capMaterials:"Material",capMaterialsValue:"Consulting",capSolution:"Obsolete",capSolutionValue:"Parts"},largeParts:{heroTitle:"Large Component",heroTitleAccent:"Manufacturing & Refurbishment",heroSubtitle:"Large shafts, pipe cores, gears, couplings and complete gearboxes",sectionTitle:"Large Components",descTitle:"Combining size",descTitleAccent:"with precision",desc1:"Our capacity and machine park are specifically suited for machining large, heavy components where the combined handling of size and precision is available to few manufacturers.",desc2:"We undertake the manufacture, repair and refurbishment of large shafts, pipe cores, gears, couplings and complete gearboxes. Our services also include the inspection of existing units, part-by-part re-manufacturing where necessary, and reassembly.",servicesTitle:"Our Services",servicesSubtitle:"Complete manufacture, repair and refurbishment of large components",service1Title:"Large shaft manufacture and repair",service1Desc:"Manufacture and repair of large shafts up to 500 mm × 5000 mm.",service2Title:"Pipe core machining",service2Desc:"Precision machining of pipe cores up to D700 mm × 15000 mm.",service3Title:"Gear manufacturing",service3Desc:"Gear manufacturing up to D2500 mm diameter.",service4Title:"Coupling manufacture and repair",service4Desc:"Manufacture and repair of couplings up to D800 mm, based on previous orders.",service5Title:"Large gearbox refurbishment",service5Desc:"Complete refurbishment and re-manufacture of large gearboxes: disassembly of worn or damaged units, part-by-part inspection, re-manufacture of required elements and reassembly of the gearbox into working condition.",closingTitle:"A solution even when replacement",closingTitleAccent:"would take too long or cost too much",closingText:"This service is especially important for plants where replacing a large gearbox or shaft unit would involve long lead times or significant costs – for us, refurbishing the existing unit or re-manufacturing it part by part is also a solution.",ctaTitle:"Interested in large component manufacturing?",ctaSubtitle:"Contact us and we will prepare a quote for your project.",capShafts:"Large shafts",capSh
355aftsValue:"500×5000 mm",capPipeCores:"Pipe cores",capPipeCoresValue:"D700×15000 mm",capGears:"Gears",capGearsValue:"D2500 mm",capCouplings:"Couplings",capCouplingsValue:"D800 mm",capGearboxes:"Large gearboxes",capGearboxesValue:"Refurbishment"},steel:{heroTitle:"Steel Structure",heroTitleAccent:"Manufacturing",heroSubtitle:"Manufacturing of machine frames, conveyors, and welded structures up to 5 tons. Sheet cutting, bending, rolling, and professional welding.",capacityTitle:"Manufacturing Capacity",capacitySubtitle:"Main parameters of our steel structure work",sectionTitle:"Steel Structure",sectionTitleAccent:"Manufacturing",desc1:"We provide comprehensive services in steel structure work. We apply sheet cutting, edge bending, rolling, and various welding processes according to customer requirements.",desc2:"Our welding processes: MIG, MAG, TIG, and stick welding. Maximum load capacity is 5 tons. We also process stainless steel materials.",productsTitle:"Our products and",productsTitleAccent:"solutions",productsSubtitle:"We serve our partners' needs with a wide product range",ctaTitle:"Looking for steel structures?",ctaSubtitle:"Manufacturing of machine frames, conveyors, and other steel structures based on technical drawings."},steelProcesses:{sheetCutting:"Sheet Cutting",edgeBending:"Edge Bending",rolling:"Rolling",welding:"Welding",maxWeight:"Max. Weight"},steelProducts:{machineFrames:"Machine Frames",stainlessConveyors:"Stainless Steel Conveyors",doors:"Doors and Windows",weldedGears:"Welded Gears",supportStructures:"Support Structures",industrialFrames:"Industrial Equipment Frames"},technical:{heroTitle:"Technical Capabilities",heroSubtitle:"Overview of our complete machine park and technical parameters",lathes:"Lathes",millingMachines:"Milling Machines",grinders:"Grinders",machiningCenters:"Machining Centers",steelEquipment:"Steel Equipment",universalLathes:"Universal Lathes",cncLathes:"CNC Lathes",carouselLathes:"Carousel Lathes",horizontalBoring:"Horizontal Boring Machines",coordinateBoring:"Coordinate Boring Machines",consoleMilling:"Console Milling Machines",surfaceGrinders:"Surface Grinders",cylindricalGrinders:"Cylindrical Grinders",gearGrinders:"Gear Grinders",internalGrinders:"Internal Grinders",cncMachiningCenters:"CNC Machining Centers",sheetProcessing:"Sheet Processing",weldingEquipment:"Welding Equipment",totalMachines:"Total Machines",cncMachines:"CNC Machines",productionHall:"Production Hall",totalArea:"Total Area",ctaTitle:"Questions about our technical capabilities?",ctaSubtitle:"Contact us, and we will help you find the right solution.",machineType:"Machine Type",specification:"Specification"},contact:{heroTitle:"Contact",heroSubtitle:"Get in touch with us! Our staff is at your service.",address:"Address",phoneNumbers:"Phone Numbers",email:"Email",openingHours:"Opening Hours",weekdays:"Monday - Friday: 6:30 AM - 3:00 PM",weekend:"Saturday - Sunday: Closed",management:"Management",managingDirector:"Managing Director",ourFacility:"Our Facility",totalArea:"Total Area",productionHall:"Production Hall",machines:"Machines",specialists:"Specialists",quickContact:"Quick Contact",quickContactSubtitle:"Call us directly or send an email",sendEmail:"Send Email"},footer:{companyDesc:"Precision metalworking manufacturing since 1992. ISO 9001:2015 certified partner in machine manufacturing, mining, and metallurgy.",services:"Services",contact:"Contact",inNumbers:"In Numbers",euFunding:"This project was implemented with the support of the European Union within the framework of the GINOP grant.",allRightsReserved:"All rights reserved.",privacy:"Privacy Policy",imprint:"Imprint",blog:"Blog"},cookie:{bannerText:"We use cookies to operate this website and – with your consent – to measure traffic. Details:",policyLink:"Privacy Policy",accept:"Accept",reject:"Reject",customize:"Customize",save:"Save settings",settingsTitle:"Cookie settings",settingsDesc:"Choose which cookies you allow. You can change your choice at any time on the Privacy Policy page.",necessaryTitle:"Necessary cookies",necessaryDesc:"Required for the website to work, to remember your language and consent. Cannot be turned off.",analyticsTitle:"Statistics cookies",analyticsDesc:"Aggregated traffic measurement using Google Analytics to improve the website.",marketingTitle:"Marketing cookies",marketingDesc:"Measuring and targeting the performance of advertisements.",settingsButton:"Change cookie settings"}
355,blog:{title:"Professional Blog",subtitle:"Industry news, technological innovations and professional insights from the world of metalworking manufacturing",readMore:"Read More",readTime:"min read",latestPosts:"Latest Posts",backToBlog:"Back to Blog",post1:{title:"The Future of CNC Technology in Mechanical Engineering",excerpt:"We are witnessing continuous development in the field of CNC machining. The rise of automation and artificial intelligence is fundamentally changing the industry.",date:"January 15, 2025",author:"SÁRGÉPSZER Team",content:`CNC (Computer Numerical Control) technology has revolutionized metalworking manufacturing over the past decades. Today, a modern workshop cannot operate without this technology.
356
357## The Rise of Automation
358
359In the Industry 4.0 era, CNC machines are no longer standalone units but parts of an interconnected manufacturing ecosystem. Machines communicate with each other and production management systems in real time.
360
361## Artificial Intelligence in Machining
362
363Machine learning algorithms can now:
364- Predict tool wear
365- Optimize cutting parameters
366- Reduce scrap rates
367- Improve energy efficiency
368
369## The SÁRGÉPSZER Approach
370
371Our company continuously follows technological developments. Our modern CNC machine park – including the MAZAK VTC 300 C II and SUI 500 Combi lathes – enables the application of the most modern manufacturing processes.
372
373We plan further developments in the future to provide even more precise and efficient services to our customers.`},post2:{title:"Precision Gear Manufacturing: The Secret of Quality",excerpt:"Gear manufacturing requires special expertise. We examine what factors influence final quality and durability.",date:"January 8, 2025",author:"SÁRGÉPSZER Team",content:`Gears are fundamental elements of mechanical engineering, without which our drives, gearboxes and many other mechanical devices would not function.
374
375## The Importance of Precision
376
377A gear's quality determines:
378- The lifespan of the drive
379- Operating noise
380- Energy efficiency
381- Reliability
382
383## Material Selection and Heat Treatment
384
385Proper material selection and heat treatment processes are crucial. During manufacturing, we consider the following aspects:
386
3871. **Raw material quality** - We only purchase from verified suppliers
3882. **Heat treatment parameters** - Precisely controlled hardening processes
3893. **Surface hardness** - Ensuring wear resistance
390
391## Maximum Dimensions
392
393SÁRGÉPSZER Ltd. can:
394- Manufacture gears up to 2500 mm diameter
395- Work in the 1-25 module range
396- Produce spur and helical gears
397
398Our experience and modern equipment guarantee excellent quality.`},post3:{title:"Steel Structures in Modern Industry",excerpt:"Steel structures are indispensable in the construction of industrial facilities. We present the most important welding technologies and quality requirements.",date:"December 20, 2024",author:"SÁRGÉPSZER Team",content:`Steel structures form the backbone of industrial infrastructure. Without machine frames, conveyors and support structures, modern industry could not function.
399
400## Welding Technologies
401
402SÁRGÉPSZER Ltd. applies the following welding processes:
403
404- **MIG/MAG welding** - Automated, high-speed welding
405- **TIG welding** - For precision work, stainless materials
406- **Stick electrode welding** - Traditional, reliable process
407
408## Quality Assurance
409
410All our welded structures comply with relevant standards. Our ISO 9001:2015 quality management system guarantees continuous control.
411
412## Our Capacities
413
414- Sheet cutting up to 16 mm thickness
415- Edge bending up to 4 mm
416- Rolling up to 10 mm
417- Maximum 5 ton structures
418
419## Our Products
420
421We manufacture:
422- Machine frames
423- Stainless steel conveyors
424- Industrial doors and windows
425- Welded gears
426
427Contact us with confidence for your steel structure projects!`}}},cD={nav:{home:"Startseite",services:"Dienstleistungen",partsManufacturing:"Teilefertigung",cncMachining:"Maschinenpark",gears:"Zahnräder",steelStructures:"Stahlkonstruktionen",technicalCapabilities:"Maschinenpark",contact:"Kontakt",reverseEngineering:"Reverse Engineering",largeParts:"Großbauteile",about:"Über uns"},common:{learnMore:"Mehr erfahren",requestQuote:"Angebot anfordern",contactUs:"Kontaktieren Sie uns",technicalData:"Technische Daten",allMachines:"Alle Maschinen",galleryComingSoon:"Fotos folgen in Kürze",service:"Dienstleistung",modernTechnology:"Moderne Technologie",yearsExperience:"Jahre Erfahrung",machines:"Maschinen",hallArea:"m² Halle",specialists:"Fachleute",since:"Gegründet",facility:"Anlage",certification:"Zertifizierung"},home:{heroTitle:"Präzisions-Metallbearbeitung",heroTitleAccent:"Fertigung",heroSubtitle:"SÁRGÉPSZER GmbH seit 1992. ISO 9001:2015 zert
427ifizierter Partner im Bereich Maschinenbau, chemische Industrie und Metallurgie",heroBadge:"ISO 9001:2015 zertifizierter Partner",companyTitle:"Jahrzehntelange Erfahrung in der",companyTitleAccent:"Präzisionsfertigung",companyDesc1:"SÁRGÉPSZER GmbH ist ein in Sárospatak ansässiges Unternehmen, das 1992 gegründet wurde und seitdem Jahr für Jahr kontinuierlich wächst. Von Anfang an haben wir danach gestrebt, uns im Bereich der qualitativ hochwertigen Maschinenteile-Fertigung auszuzeichnen.",companyDesc2:"Durch die Modernisierung und Erweiterung unseres Maschinenparks können wir heute die anspruchsvollsten Anforderungen erfüllen. Unser Qualitätsmanagementsystem ist nach ISO 9001:2015 zertifiziert.",companyDesc3:"Wir streben eine langfristige Zusammenarbeit mit unseren Partnern an, deren Bedürfnisse wir auf höchstem Niveau zu erfüllen suchen.",servicesTitle:"Unsere Dienstleistungen",servicesSubtitle:"Umfassende Metallbearbeitungslösungen vom Entwurf bis zum fertigen Produkt",industriesTitle:"Branchen, die wir",industriesTitleAccent:"bedienen",industriesSubtitle:"Durch jahrzehntelange Erfahrung sind wir zuverlässige Partner für zahlreiche Branchen. Unsere Maschinenteile und Lösungen bewähren sich in den unterschiedlichsten Bereichen.",ctaTitle:"Fordern Sie ein Angebot für Ihr Projekt an",ctaSubtitle:"Unser Expertenteam ist bereit, eine auf Ihre Bedürfnisse zugeschnittene Lösung zu entwickeln. Kontaktieren Sie uns!",downloadsTitle:"Downloads",downloadsSubtitle:"Laden Sie unsere Unternehmenszertifikate und Dokumentationen für Partner herunter",downloadsButton:"Dokumente anzeigen"},downloads:{title:"Herunterladbare Dokumente",description:"Hier finden Sie unsere Unternehmenszertifikate und weitere Dokumentationen. Die Liste wird laufend erweitert.",empty:"Derzeit sind keine Downloads verfügbar.",close:"Schließen"},services:{partsDesc:"Präzisionsbearbeitung von Einzel- und Serienmaschinenteilen",cncDesc:"Moderne CNC-Drehmaschinen und Bearbeitungszentren mit hoher Präzision",gearsDesc:"Stirn- und Schrägverzahnte Zahnräder bis ø2500 mm Durchmesser",steelDesc:"Maschinenrahmen, Förderer und geschweißte Konstruktionen",reverseDesc:"Teilefertigung ohne Zeichnung, anhand eines Musterstücks, mit vollständiger technischer Rekonstruktion",largePartsDesc:"Fertigung und Instandsetzung großer Wellen, Rohrkerne und kompletter Getriebe"},industries:{metallurgy:"Metallurgische Werke",mining:"Bergbau",automotive:"Automobilhersteller",agriculture:"Landmaschinenhersteller",food:"Lebensmittelmaschinen-Hersteller",power:"Kraftwerke",chemical:"Chemische Anlagen"},parts:{heroTitle:"Teile-",heroTitleAccent:"fertigung",heroSubtitle:"Präzisionsbearbeitung von Einzel- und Serienmaschinenteilen vom Entwurf bis zum fertigen Produkt. Jahrzehntelange Erfahrung bei der Erfüllung anspruchsvollster Anforderungen.",sectionTitle:"Maschinenteile-Fertigung",desc1:"Unser Unternehmen fertigt kundenspezifische Maschinenteile nach den Plänen, Zeichnungen oder Musterteilen unserer Kunden. Unsere Fertigungstätigkeit reicht von einfacheren, hochvolumigen Produkten bis zu komplexeren Kleinserienteilen.",desc2:"Zu den von uns verarbeiteten Materialien gehören Stahl, Gusseisen, Bronze, Kupfer, Aluminium und andere Nichteisenmetalle. Wir streben eine langfristige, zuverlässige Zusammenarbeit mit unseren Partnern an.",processTitle:"Fertigungsprozess",processSubtitle:"Der gesamte Fertigungsprozess ist auf Ihre Bedürfnisse zugeschnitten",capabilitiesTitle:"Unsere Fähigkeiten und",capabilitiesTitleAccent:"Dienstleistungen",capabilitiesSubtitle:"Wir bieten umfassende Lösungen von einfachen Teilen bis zu komplexen Baugruppen. Unser Expertenteam bedient alle Anforderungen.",ctaTitle:"Interesse an Teilefertigung?",ctaSubtitle:"Senden Sie uns Ihre Pläne oder technischen Zeichnungen, und wir senden Ihnen in Kürze unser Angebot."},process:{plans:"Pläne / Zeichnungen",plansDesc:"Verarbeitung von Dokumentation und technischen Zeichnungen",manufacturing:"Fertigung",manufacturingDesc:"Präzisionsbearbeitung auf modernen Maschinen",heatTreatment:"Wärmebehandlung",heatTreatmentDesc:"Materialbehandlung und Härtung nach Bedarf",grinding:"Schleifen",grindingDesc:"Oberflächenbearbeitung auf gewünschte Toleranz",surfaceProtection:"Metallspritzen",surfaceProtectionDesc:"Metallspritzen von Edelstahl und normalem Stahl",chromePlating:"Hartverchromung",chromePlatingDesc:"Verschleißfeste Hartchromschichten auf Bauteilen"},capabilities:{customParts:"Fertigung kundenspezifischer Teile nach technischen Zeichnungen oder Muster
427n",smallLargeSeries:"Sowohl Klein- als auch Großserienfertigung",complexGeometry:"Bearbeitung von Teilen mit komplexer Geometrie",materials:"Verschiedene Materialien: Stahl, Gusseisen, Bronze, Kupfer, Aluminium",qualityControl:"Umfassende Qualitätskontrolle",onTimeDelivery:"Termingerechte Lieferung",traditionalFleet:"Konventioneller Maschinenpark für zuverlässige, langlebige Bearbeitung"},cnc:{heroTitle:"Maschinenpark",heroSubtitle:"Moderne CNC-Drehmaschinen und Bearbeitungszentren für die höchste Präzision bei der Teilefertigung. Unser Maschinenpark ist für die anspruchsvollsten Aufgaben geeignet.",highlightAccuracy:"Hohe Präzision",highlightAccuracyDesc:"±0,005 mm Positioniergenauigkeit",highlightSize:"Große Größe",highlightSizeDesc:"3000 mm Spitzenweite beim Drehen",highlightSpeed:"Breiter Drehzahlbereich",highlightSpeedDesc:"10-10000 U/min Bereich",highlightControl:"Moderne Steuerung",highlightControlDesc:"Mazatrol, Siemens, Heidenhain Steuerung",fleetTitle:"CNC-Maschinenpark",fleetSubtitle:"Wir arbeiten mit modernen CNC-Maschinen für Präzisionsbearbeitung",descTitle:"Präzisions-CNC-Bearbeitung",desc1:"Unsere CNC-Maschinen ermöglichen die Herstellung von Teilen mit komplexer Geometrie mit höchster Präzision. Die Drehmaschinen können bis zu 3000 mm Spitzenweite bearbeiten, während die Bearbeitungszentren für die Bearbeitung großer Werkstücke geeignet sind.",desc2:"Unsere modernen Steuerungssysteme – darunter MAZATROL Matrix – gewährleisten Programmierflexibilität und Fertigungszuverlässigkeit. Unsere erfahrenen Bediener garantieren Qualitätsarbeit.",ctaTitle:"Suchen Sie CNC-Bearbeitung?",ctaSubtitle:"Senden Sie uns die technische Dokumentation, und wir erstellen ein präzises Angebot."},gears:{heroTitle:"Zahnräder",heroSubtitle:"Fertigung von Stirn- und Schrägverzahnten Zahnrädern bis ø2500 mm Durchmesser, im Modulbereich 1-25. Mit Wärmebehandlung und Zahnradschleifen-Optionen.",capMaxDiameter:"Max. Durchmesser",capModuleRange:"Modulbereich",capHeatTreatment:"Wärmebehandlung",capGearGrinding:"Zahnradschleifen",onRequest:"Auf Anfrage",available:"Verfügbar",sectionTitle:"Zahnrad-",sectionTitleAccent:"fertigung",desc1:"Wir fertigen Zahnräder im Modulbereich 1-25 mit einem maximalen Durchmesser von 2500 mm. Wir produzieren Stirn- und Schrägverzahnte Zahnräder, Keilwellen, Pfeilverzahnungen und Schneckengetriebe.",desc2:"Während der Fertigung können wir auch Wärmebehandlung und Zahnradschleifen anbieten, wenn der Kunde dies wünscht. Wir arbeiten eng mit unseren Partnern zusammen, um perfekte Ergebnisse zu erzielen.",typesTitle:"Zahnradtypen",typesSubtitle:"Breite Auswahl von einfachen Zahnrädern bis zu komplexen Antriebselementen",additionalTitle:"Zusätzliche",additionalTitleAccent:"Dienstleistungen",additionalSubtitle:"Neben der Zahnradfertigung bieten wir auch zusätzliche Dienstleistungen an",heatTreatmentTitle:"Wärmebehandlung",heatTreatmentDesc:"Härten, Normalisieren und andere Wärmebehandlungsverfahren zur Erzielung der richtigen Härte und Verschleißfestigkeit.",gearGrindingTitle:"Zahnradschleifen",gearGrindingDesc:"Präzisions-Zahnradschleifen zur Erfüllung höchster Qualitätsanforderungen.",ctaTitle:"Suchen Sie Zahnradfertigung?",ctaSubtitle:"Wir fertigen kundenspezifische Zahnräder nach Ihren Spezifikationen."},gearTypes:{spur:"Stirnräder",spurDesc:"Traditionelle geradeverzahnte Zahnräder",helical:"Schrägverzahnung",helicalDesc:"Leiser laufende schrägverzahnte Räder",splinedShafts:"Keilwellen",splinedShaftsDesc:"Auf Wellen geformte Verzahnung",faceGears:"Pfeilverzahnung",faceGearsDesc:"Pfeilverzahnte (doppelschrägverzahnte) Zahnräder",couplings:"Kupplungen",couplingsDesc:"Fertigung von Zahnkupplungen",wormGears:"Schneckengetriebe",wormGearsDesc:"Fertigung von Schneckengetrieben"},reverseEngineering:{heroTitle:"Reverse Engineering",heroSubtitle:"Teilefertigung ohne Zeichnung – auch anhand eines Musters. Fehlt die technische Zeichnung oder steht nur ein abgenutztes, beschädigtes Muster zur Verfügung, übernehmen wir dennoch die Fertigung.",sectionTitle:"Reverse Engineering",descTitle:"Teilefertigung ohne",descTitleAccent:"technische Zeichnung",desc1:"Reverse Engineering ist eines unserer Kernkompetenzen. Wenn für ein Teil keine technische Zeichnung vorhanden ist oder nur ein abgenutztes, beschädigtes Muster zur Verfügung steht, übernehmen wir dennoch die Fertigung.",desc2:"Auf Basis des geprüften Musters rekonstruieren wir die Geometrie und die Fertigungsparameter des Teils und erstellen die erforderliche technische Dokumentation.",servicesTitle:"Unsere Dienstleistungen",servicesSubtitle:"Komplettlösung von der Musterprüfung bis zur Fertigung des fertigen Teils",service1Title:"Fertigung ohne Zeichnung",service1Desc:"Auf Basis des geprüften Musters rekonstruieren wir die Geometrie und Fertigungsparameter des Teils.",service2Title:"Komplette Zeichnungsdokumentation",service2Desc:"Auf Wunsch erstellen wir anhand des Musters die komplette te
427chnische Dokumentation für Nachfertigung und Qualitätskontrolle.",service3Title:"Materialberatung",service3Desc:"Wenn das Originalmaterial nicht mehr beschaffbar ist, helfen unsere Experten bei der Auswahl einer geeigneten Alternative, die die erforderlichen technischen Parameter beibehält.",closingTitle:"Eine Lösung auch wenn",closingTitleAccent:"keine Dokumentation vorhanden ist",closingText:"So können wir auch dann eine Lösung anbieten, wenn der Hersteller die Produktion eingestellt hat, das Teil nicht mehr lieferbar ist oder einfach keine technische Dokumentation verfügbar ist.",ctaTitle:"Fragen Sie nach unseren Reverse-Engineering-Leistungen",ctaSubtitle:"Kontaktieren Sie uns und wir helfen Ihnen auch ohne Zeichnung bei der Fertigung.",capInspection:"Muster",capInspectionValue:"Prüfung",capDocumentation:"Komplette",capDocumentationValue:"Dokumentation",capMaterials:"Material",capMaterialsValue:"Beratung",capSolution:"Ausgelaufene",capSolutionValue:"Teile"},largeParts:{heroTitle:"Fertigung und Aufarbeitung",heroTitleAccent:"großer Bauteile",heroSubtitle:"Große Wellen, Rohrkernen, Zahnräder, Wellenkupplungen und komplette Getriebe",sectionTitle:"Großbauteile",descTitle:"Größe und Präzision",descTitleAccent:"in Kombination",desc1:"Unsere Kapazität und unser Maschinenpark sind speziell für die Bearbeitung großer, schwerer Bauteile geeignet, bei denen die gemeinsame Handhabung von Größe und Präzision nur wenigen Herstellern möglich ist.",desc2:"Wir übernehmen Fertigung, Reparatur und Aufarbeitung großer Wellen, Rohrkernen, Zahnräder, Wellenkupplungen und kompletter Getriebe. Dazu gehört auch die zerlegungsweise Prüfung vorhandener Einheiten, die bei Bedarf erfolgende Nachfertigung und der Wiederaufbau.",servicesTitle:"Unsere Dienstleistungen",servicesSubtitle:"Komplette Fertigung, Reparatur und Aufarbeitung großer Bauteile",service1Title:"Fertigung und Reparatur großer Wellen",service1Desc:"Fertigung und Reparatur großer Wellen bis 500 mm × 5000 mm.",service2Title:"Bearbeitung von Rohrkernen",service2Desc:"Präzisionsbearbeitung von Rohrkernen bis maximal D700 mm × 15000 mm.",service3Title:"Zahnradfertigung",service3Desc:"Zahnradfertigung bis D2500 mm Durchmesser.",service4Title:"Fertigung und Reparatur von Kupplungen",service4Desc:"Fertigung und Reparatur von Kupplungen bis D800 mm, basierend auf bisherigen Aufträgen.",service5Title:"Aufarbeitung großer Getriebe",service5Desc:"Komplette Aufarbeitung und Nachfertigung großer Getriebe: Zerlegung verschlissener oder beschädigter Einheiten, zerlegungsweise Prüfung, Nachfertigung der erforderlichen Teile und Zusammenbau des Getriebes in betriebsbereitem Zustand.",closingTitle:"Eine Lösung auch dann, wenn der Austausch",closingTitleAccent:"lange dauern oder teuer wäre",closingText:"Diese Dienstleistung ist besonders wichtig für Betriebe, in denen der Austausch eines großen Getriebes oder einer Welleneinheit lange Lieferzeiten oder erhebliche Kosten mit sich bringen würde – bei uns ist die Aufarbeitung der vorhandenen Einheit oder die zerlegungsweise Nachfertigung ebenfalls eine Lösung.",ctaTitle:"Interesse an der Fertigung großer Bauteile?",ctaSubtitle:"Kontaktieren Sie uns und wir erstellen ein Angebot für Ihr Projekt.",capShafts:"Große Wellen",capShaftsValue:"500×5000 mm",capPipeCores:"Rohrkernen",capPipeCoresValue:"D700×15000 mm",capGears:"Zahnräder",capGearsValue:"D2500 mm",capCouplings:"Wellenkupplungen",capCouplingsValue:"D800 mm",capGearboxes:"Große Getriebe",capGearboxesValue:"Aufarbeitung"},steel:{heroTitle:"Stahlkonstruktions-",heroTitleAccent:"fertigung",heroSubtitle:"Fertigung von Maschinenrahmen, Förderern und geschweißten Konstruktionen bis 5 Tonnen. Blechschneiden, Biegen, Walzen und professionelles 
427Schweißen.",capacityTitle:"Fertigungskapazität",capacitySubtitle:"Hauptparameter unserer Stahlkonstruktionsarbeiten",sectionTitle:"Stahlkonstruktions-",sectionTitleAccent:"fertigung",desc1:"Im Bereich Stahlkonstruktionen bieten wir umfassende Dienstleistungen an. Wir wenden Blechschneiden, Kantbiegen, Walzen und verschiedene Schweißverfahren nach Kundenanforderungen an.",desc2:"Unsere Schweißverfahren: MIG, MAG, WIG und Stabschweißen. Maximale Tragfähigkeit beträgt 5 Tonnen. Wir verarbeiten auch Edelstahlmaterialien.",productsTitle:"Unsere Produkte und",productsTitleAccent:"Lösungen",productsSubtitle:"Wir bedienen die Bedürfnisse unserer Partner mit einer breiten Produktpalette",ctaTitle:"Suchen Sie Stahlkonstruktionen?",ctaSubtitle:"Fertigung von Maschinenrahmen, Förderern und anderen Stahlkonstruktionen nach technischen Zeichnungen."},steelProcesses:{sheetCutting:"Blechschneiden",edgeBending:"Kantbiegen",rolling:"Walzen",welding:"Schweißen",maxWeight:"Max. Gewicht"},steelProducts:{machineFrames:"Maschinenrahmen",stainlessConveyors:"Edelstahl-Förderer",doors:"Türen und Fenster",weldedGears:"Geschweißte Zahnräder",supportStructures:"Tragkonstruktionen",industrialFrames:"Rahmen für Industrieanlagen"},technical:{heroTitle:"Technische Möglichkeiten",heroSubtitle:"Übersicht über unseren gesamten Maschinenpark und technische Parameter",lathes:"Drehmaschinen",millingMachines:"Fräsmaschinen",grinders:"Schleifmaschinen",machiningCenters:"Bearbeitungszentren",steelEquipment:"Stahlausrüstung",universalLathes:"Universaldrehmaschinen",cncLathes:"CNC-Drehmaschinen",carouselLathes:"Karusselldrehmaschinen",horizontalBoring:"Horizontale Bohrwerke",coordinateBoring:"Koordinatenbohrmaschinen",consoleMilling:"Konsolfräsmaschinen",surfaceGrinders:"Flachschleifmaschinen",cylindricalGrinders:"Rundschleifmaschinen",gearGrinders:"Zahnradschleifmaschinen",internalGrinders:"Innenschleifmaschinen",cncMachiningCenters:"CNC-Bearbeitungszentren",sheetProcessing:"Blechbearbeitung",weldingEquipment:"Schweißausrüstung",totalMachines:"Gesamtmaschinen",cncMachines:"CNC-Maschinen",productionHall:"Produktionshalle",totalArea:"Gesamtfläche",ctaTitle:"Fragen zu unseren technischen Möglichkeiten?",ctaSubtitle:"Kontaktieren Sie uns, und wir helfen Ihnen, die richtige Lösung zu finden.",machineType:"Maschinentyp",specification:"Spezifikation"},contact:{heroTitle:"Kontakt",heroSubtitle:"Nehmen Sie Kontakt mit uns auf! Unsere Mitarbeiter stehen Ihnen zur Verfügung.",address:"Adresse",phoneNumbers:"Telefonnummern",email:"E-Mail",openingHours:"Öffnungszeiten",weekdays:"Montag - Freitag: 6:30 - 15:00 Uhr",weekend:"Samstag - Sonntag: Geschlossen",management:"Geschäftsleitung",managingDirector:"Geschäftsführer",ourFacility:"Unsere Anlage",totalArea:"Gesamtfläche",productionHall:"Produktionshalle",machines:"Maschinen",specialists:"Fachleute",quickContact:"Schnellkontakt",quickContactSubtitle:"Rufen Sie uns direkt an oder senden Sie eine E-Mail",sendEmail:"E-Mail senden"},footer:{companyDesc:"Präzisions-Metallbearbeitung seit 1992. ISO 9001:2015 zertifizierter Partner im Maschinenbau, Bergbau und Metallurgie.",services:"Dienstleistungen",contact:"Kontakt",inNumbers:"In Zahlen",euFunding:"Dieses Projekt wurde mit Unterstützung der Europäischen Union im Rahmen des GINOP-Zuschusses durchgeführt.",allRightsReserved:"Alle Rechte vorbehalten.",privacy:"Datenschutz",imprint:"Impressum",blog:"Blog"},cookie:{bannerText:"Wir verwenden Cookies für den Betrieb der Website und – mit Ihrer Zustimmung – zur Messung der Besucherzahlen. Details:",policyLink:"Datenschutzerklärung",accept:"Akzeptieren",reject:"Ablehnen",customize:"Anpassen",save:"Einstellungen speichern",settingsTitle:"Cookie-Einstellungen",settingsDesc:"Wählen Sie, welche Cookies Sie zulassen. Ihre Auswahl können Sie jederzeit auf der Seite Datenschutzerklärung ändern.",necessaryTitle:"Notwendige Cookies",necessaryDesc:"Für den Betrieb der Website, zum Speichern von Sprache und Zustimmung. Nicht abschaltbar.",analyticsTitle:"Statistik-Cookies",analyticsDesc:"Aggregierte Messung der Besucherzahlen mit Google Analytics zur Verbesserung der Website.",marketingTitle:"Marketing-Cookie
427s",marketingDesc:"Messung und Ausrichtung der Werbeleistung.",settingsButton:"Cookie-Einstellungen ändern"},blog:{title:"Fachblog",subtitle:"Branchennachrichten, technologische Innovationen und Fachkenntnisse aus der Welt der Metallbearbeitung",readMore:"Weiterlesen",readTime:"Min. Lesezeit",latestPosts:"Neueste Beiträge",backToBlog:"Zurück zum Blog",post1:{title:"Die Zukunft der CNC-Technologie im Maschinenbau",excerpt:"Wir erleben eine kontinuierliche Entwicklung im Bereich der CNC-Bearbeitung. Der Aufstieg von Automatisierung und künstlicher Intelligenz verändert die Branche grundlegend.",date:"15. Januar 2025",author:"SÁRGÉPSZER Team",content:`Die CNC-Technologie (Computer Numerical Control) hat die Metallbearbeitung in den letzten Jahrzehnten revolutioniert. Heute kann eine moderne Werkstatt ohne diese Technologie nicht funktionieren.
428
429## Der Aufstieg der Automatisierung
430
431In der Industrie 4.0-Ära sind CNC-Maschinen keine eigenständigen Einheiten mehr, sondern Teile eines vernetzten Fertigungsökosystems. Maschinen kommunizieren in Echtzeit miteinander und mit Produktionsmanagementsystemen.
432
433## Künstliche Intelligenz in der Bearbeitung
434
435Algorithmen des maschinellen Lernens können jetzt:
436- Werkzeugverschleiß vorhersagen
437- Schnittparameter optimieren
438- Ausschussraten reduzieren
439- Energieeffizienz verbessern
440
441## Der SÁRGÉPSZER-Ansatz
442
443Unser Unternehmen verfolgt kontinuierlich die technologische Entwicklung. Unser moderner CNC-Maschinenpark – einschließlich MAZAK VTC 300 C II und SUI 500 Combi-Drehmaschinen – ermöglicht die Anwendung modernster Fertigungsverfahren.
444
445Wir planen weitere Entwicklungen in der Zukunft, um unseren Kunden noch präzisere und effizientere Dienstleistungen zu bieten.`},post2:{title:"Präzisions-Zahnradfertigung: Das Geheimnis der Qualität",excerpt:"Die Zahnradfertigung erfordert besondere Fachkenntnisse. Wir untersuchen, welche Faktoren die Endqualität und Haltbarkeit beeinflussen.",date:"8. Januar 2025",author:"SÁRGÉPSZER Team",content:`Zahnräder sind grundlegende Elemente des Maschinenbaus, ohne die unsere Antriebe, Getriebe und viele andere mechanische Geräte nicht funktionieren würden.
446
447## Die Bedeutung der Präzision
448
449Die Qualität eines Zahnrads bestimmt:
450- Die Lebensdauer des Antriebs
451- Betriebsgeräusche
452- Energieeffizienz
453- Zuverlässigkeit
454
455## Materialauswahl und Wärmebehandlung
456
457Die richtige Materialauswahl und Wärmebehandlungsverfahren sind entscheidend. Bei der Fertigung berücksichtigen wir folgende Aspekte:
458
4591. **Rohstoffqualität** - Wir kaufen nur bei verifizierten Lieferanten
4602. **Wärmebehandlungsparameter** - Präzise kontrollierte Härteprozesse
4613. **Oberflächenhärte** - Sicherstellung der Verschleißfestigkeit
462
463## Maximale Abmessungen
464
465SÁRGÉPSZER GmbH kann:
466- Zahnräder bis 2500 mm Durchmesser fertigen
467- Im Modulbereich 1-25 arbeiten
468- Stirn- und Schrägverzahnte Räder produzieren
469
470Unsere Erfahrung und moderne Ausrüstung garantieren ausgezeichnete Qualität.`},post3:{title:"Stahlkonstruktionen in der modernen Industrie",excerpt:"Stahlkonstruktionen sind beim Bau von Industrieanlagen unverzichtbar. Wir präsentieren die wichtigsten Schweißtechnologien und Qualitätsanforderungen.",date:"20. Dezember 2024",author:"SÁRGÉPSZER Team",content:`Stahlkonstruktionen bilden das Rückgrat der industriellen Infrastruktur. Ohne Maschinenrahmen, Förderer und Tragkonstruktionen könnte die moderne Industrie nicht funktionieren.
471
472## Schweißtechnologien
473
474SÁRGÉPSZER GmbH wendet folgende Schweißverfahren an:
475
476- **MIG/MAG-Schweißen** - Automatisiertes Hochgeschwindigkeitsschweißen
477- **WIG-Schweißen** - Für Präzisionsarbeiten, Edelstahlmaterialien
478- **Stabschweißen** - Traditionelles, zuverlässiges Verfahren
479
480## Qualitätssicherung
481
482Alle unsere geschweißten Konstruktionen entsprechen den einschlägigen Normen. Unser ISO 9001:2015 Qualitätsmanagementsystem garantiert kontinuierliche Kontrolle.
483
484## Unsere Kapazitäten
485
486- Blechschneiden bis 16 mm Dicke
487- Kantbiegen bis 4 mm
488- Walzen bis 10 mm
489- Maximale 5-Tonnen-Konstruktionen
490
491## Unsere Produkte
492
493Wir fertigen:
494- Maschinenrahmen
495- Edelstahl-Förderer
496- Industrietüren und -fenster
497- Geschweißte Zahnräder
498
499Kontaktieren Sie uns vertrauensvoll für Ihre Stahlkonstruktionsprojekte!`}}},o1={hu:aD,en:lD,de:cD},mp="sargepszer-language";function vh(){if(typeof window<"u"){const e=localStorage.getItem(mp);if(e&&(e==="hu"||e==="en"||e==="de"))return e}return"hu"}const a1=p.createContext({language:vh(),setLanguage:e=>{typeof window<"u"&&(localStorage.setItem(mp,e),document.documentElement.lang=e)},t:o1[vh()]});function uD({children:e}){const[t,n]=p.useState(vh),r=i=>{n(i),localStorage.setItem(mp,i)};p.useEffect(()=>{document.documentElement.lang=t},[t]);const s=o1[t];return o.jsx(a1.Provider,{value:{language:t,setLanguage:r,t:s},children:e})}function yt(){return p.useContext(a1)}const dD=Ym("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),le=p.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...s},i)=>{const a=r?$2:"button";return o.jsx(a,{className:Y(dD({variant:t,size:n,className:e})),ref:i,...s})});le.displayName="Button";var fD=p.createContext(void 0);function uu(e){const t=p.useContext(fD);return e||t||"ltr"}var Td=0;function l1(){p.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??xy()),document.body.insertAdjacentElement("beforeend",e[1]??xy()),Td++,()=>{Td===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Td--}},[])}function xy(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.
vendor: 4,724 bytes, line 499
499style.position="fixed",e.style.pointerEvents="none",e}var Cd="focusScope.autoFocusOnMount",Nd="focusScope.autoFocusOnUnmount",by={bubbles:!1,cancelable:!0},hD="FocusScope",pp=p.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:s,onUnmountAutoFocus:i,...a}=e,[l,c]=p.useState(null),u=De(s),d=De(i),f=p.useRef(null),h=fe(t,g=>c(g)),m=p.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;p.useEffect(()=>{if(r){let g=function(x){if(m.paused||!l)return;const k=x.target;l.contains(k)?f.current=k:ir(f.current,{select:!0})},w=function(x){if(m.paused||!l)return;const k=x.relatedTarget;k!==null&&(l.contains(k)||ir(f.current,{select:!0}))},v=function(x){if(document.activeElement===document.body)for(const S of x)S.removedNodes.length>0&&ir(l)};document.addEventListener("focusin",g),document.addEventListener("focusout",w);const y=new MutationObserver(v);return l&&y.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",w),y.disconnect()}}},[r,l,m.paused]),p.useEffect(()=>{if(l){ky.add(m);const g=document.activeElement;if(!l.contains(g)){const v=new CustomEvent(Cd,by);l.addEventListener(Cd,u),l.dispatchEvent(v),v.defaultPrevented||(mD(xD(c1(l)),{select:!0}),document.activeElement===g&&ir(l))}return()=>{l.removeEventListener(Cd,u),setTimeout(()=>{const v=new CustomEvent(Nd,by);l.addEventListener(Nd,d),l.dispatchEvent(v),v.defaultPrevented||ir(g??document.body,{select:!0}),l.removeEventListener(Nd,d),ky.remove(m)},0)}}},[l,u,d,m]);const b=p.useCallback(g=>{if(!n&&!r||m.paused)return;const w=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,v=document.activeElement;if(w&&v){const y=g.currentTarget,[x,k]=pD(y);x&&k?!g.shiftKey&&v===k?(g.preventDefault(),n&&ir(x,{select:!0})):g.shiftKey&&v===x&&(g.preventDefault(),n&&ir(k,{select:!0})):v===y&&g.preventDefault()}},[n,r,m.paused]);return o.jsx(ne.div,{tabIndex:-1,...a,ref:h,onKeyDown:b})});pp.displayName=hD;function mD(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(ir(r,{select:t}),document.activeElement!==n)return}function pD(e){const t=c1(e),n=wy(t,e),r=wy(t.reverse(),e);return[n,r]}function c1(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const s=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||s?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function wy(e,t){for(const n of e)if(!gD(n,{upTo:t}))return n}function gD(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function vD(e){return e instanceof HTMLInputElement&&"select"in e}function ir(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&vD(e)&&t&&e.select()}}var ky=yD();function yD(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Sy(e,t),e.unshift(t)},remove(t){var n;e=Sy(e,t),(n=e[0])==null||n.resume()}}}function Sy(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function xD(e){return e.filter(t=>t.tagName!=="A")}var zd="rovingFocusGroup.onEntryFocus",bD={bubbles:!1,cancelable:!0},xa="RovingFocusGroup",[yh,u1,wD]=Hm(xa),[kD,du]=cn(xa,[wD]),[SD,jD]=kD(xa),d1=p.forwardRef((e,t)=>o.jsx(yh.Provider,{scope:e.__scopeRovingFocusGroup,children:o.jsx(yh.Slot,{scope:e.__scopeRovingFocusGroup,children:o.jsx(TD,{...e,ref:t})})}));d1.displayName=xa;var TD=p.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:s=!1,dir:i,currentTabStopId:a,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:c,onEntryFocus:u,preventScrollOnEntryFocus:d=!1,...f}=e,h=p.useRef(null),m=fe(t,h),b=uu(i),[g,w]=_i({prop:a,defaultProp:l??null,onChange:c,caller:xa}),[v,y]=p.useState(!1),x=De(u),k=u1(n),S=p.useRef(!1),[j,T]=p.useState(0);return p.useEffect(()=>{const N=h.current;if(N)return N.addEventListener(zd,x),()=>N.removeEventListener(zd,x)},[x]),o.jsx(SD,{scope:n,orientation:r,dir:b,loop:s,currentTabStopId:g,onItemFocus:p.useCallback(N=>w(N),[w]),onItemShiftTab:p.useCallback(()=>y(!0),[]),onFocusableItemAdd:p.useCallback(()=>T(N=>N+1),[]),onFocusableItemRemove:p.useCallback(()=>T(N=>N-1),[]),children:o.jsx(ne.div,{tabIndex:v||j===0?-1:0,"data-orientation":r,...f,ref:m,style:{outline:"none",...e.style},onMouseDown:$(e.onMouseDown,()=>{S.current=!0}),onFocus:$(e.onFocus,N=>{const P=!S.current;if(N.target===N.currentTarget&&P&&!v){const z=new CustomEvent(zd,bD);if(N.currentTarget.dispatchEvent(z),!z.defaultPrevented){const L=k().filter(V=>V.focusable),O=L.find(V=>V.active),W=L.find(V=>
vendor: 8,944 bytes, lines 499-514
499V.id===g),K=[O,W,...L].filter(Boolean).map(V=>V.ref.current);m1(K,d)}}S.current=!1}),onBlur:$(e.onBlur,()=>y(!1))})})}),f1="RovingFocusGroupItem",h1=p.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:s=!1,tabStopId:i,children:a,...l}=e,c=hs(),u=i||c,d=jD(f1,n),f=d.currentTabStopId===u,h=u1(n),{onFocusableItemAdd:m,onFocusableItemRemove:b,currentTabStopId:g}=d;return p.useEffect(()=>{if(r)return m(),()=>b()},[r,m,b]),o.jsx(yh.ItemSlot,{scope:n,id:u,focusable:r,active:s,children:o.jsx(ne.span,{tabIndex:f?0:-1,"data-orientation":d.orientation,...l,ref:t,onMouseDown:$(e.onMouseDown,w=>{r?d.onItemFocus(u):w.preventDefault()}),onFocus:$(e.onFocus,()=>d.onItemFocus(u)),onKeyDown:$(e.onKeyDown,w=>{if(w.key==="Tab"&&w.shiftKey){d.onItemShiftTab();return}if(w.target!==w.currentTarget)return;const v=zD(w,d.orientation,d.dir);if(v!==void 0){if(w.metaKey||w.ctrlKey||w.altKey||w.shiftKey)return;w.preventDefault();let x=h().filter(k=>k.focusable).map(k=>k.ref.current);if(v==="last")x.reverse();else if(v==="prev"||v==="next"){v==="prev"&&x.reverse();const k=x.indexOf(w.currentTarget);x=d.loop?ED(x,k+1):x.slice(k+1)}setTimeout(()=>m1(x))}}),children:typeof a=="function"?a({isCurrentTabStop:f,hasTabStop:g!=null}):a})})});h1.displayName=f1;var CD={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function ND(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function zD(e,t,n){const r=ND(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return CD[r]}function m1(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function ED(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var p1=d1,g1=h1,PD=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Ds=new WeakMap,el=new WeakMap,tl={},Ed=0,v1=function(e){return e&&(e.host||v1(e.parentNode))},AD=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=v1(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},MD=function(e,t,n,r){var s=AD(t,Array.isArray(e)?e:[e]);tl[n]||(tl[n]=new WeakMap);var i=tl[n],a=[],l=new Set,c=new Set(s),u=function(f){!f||l.has(f)||(l.add(f),u(f.parentNode))};s.forEach(u);var d=function(f){!f||c.has(f)||Array.prototype.forEach.call(f.children,function(h){if(l.has(h))d(h);else try{var m=h.getAttribute(r),b=m!==null&&m!=="false",g=(Ds.get(h)||0)+1,w=(i.get(h)||0)+1;Ds.set(h,g),i.set(h,w),a.push(h),g===1&&b&&el.set(h,!0),w===1&&h.setAttribute(n,"true"),b||h.setAttribute(r,"true")}catch(v){console.error("aria-hidden: cannot operate on ",h,v)}})};return d(t),l.clear(),Ed++,function(){a.forEach(function(f){var h=Ds.get(f)-1,m=i.get(f)-1;Ds.set(f,h),i.set(f,m),h||(el.has(f)||f.removeAttribute(r),el.delete(f)),m||f.removeAttribute(n)}),Ed--,Ed||(Ds=new WeakMap,Ds=new WeakMap,el=new WeakMap,tl={})}},y1=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),s=PD(e);return s?(r.push.apply(r,Array.from(s.querySelectorAll("[aria-live]"))),MD(r,s,n,"aria-hidden")):function(){return null}},bn=function(){return bn=Object.assign||function(t){for(var n,r=1,s=arguments.length;r<s;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},bn.apply(this,arguments)};function x1(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,r=Object.getOwnPropertySymbols(e);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(n[r[s]]=e[r[s]]);return n}function RD(e,t,n){if(n||arguments.length===2)for(var r=0,s=t.length,i;r<s;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}var El="right-scroll-bar-position",Pl="width-before-scroll-bar",DD="with-scroll-bars-hidden",ID="--removed-body-scroll-bar-size";function Pd(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function OD(e,t){var n=p.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var s=n.value;s!==r&&(n.value=r,n.callback(r,s))}}}})[0];return n.callback=t,n.facade}var LD=typeof window<"u"?p.useLayoutEffect:p.useEffect,jy=new WeakMap;function _D(e,t){var n=OD(null,function(r){return e.forEach(function(s){return Pd(s,r)})});return LD(function(){var r=jy.get(n);if(r){var s=new Set(r),i=new Set(e),a=n.current;s.forEach(function(l){i.has(l)||Pd(l,null)}),i.forEach(function(l){s.has(l)||Pd(l,a)})}jy.set(n,e)},[e]),n}function FD(e){return e}function VD(e,t){t===void 0&&(t=FD);var n=[],r=!1,s={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var a=t(i,r);return n.push(a),function(){n=n.filter(function(l){return l!==a})}},assignSyncMedium:function(i){for(r=!0;n.length;){var a=n;n=[],a.forEach(i)}n={push:function(l){return i(l)},filter:function(){return n}}},assignMedium:function(i){r=!0;var a=[];if(n.length){var l=n;n=[],l.forEach(i),a=n}var c=function(){var d=a;a=[],d.forEach(i)},u=function(){return Promise.resolve().then(c)};u(),n={push:function(d){a.push(d),u()},filter:function(d){return a=a.filter(d),n}}}};return s}function BD(e){e===void 0&&(e={});var t=VD(null);return t.options=bn({async:!0,ssr:!1},e),t}var b1=function(e){var t=e.sideCar,n=x1(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return p.createElement(r,bn({},n))};b1.isSideCarExport=!0;function $D(e,t){return e.useMedium(t),b1}var w1=BD(),Ad=function(){},fu=p.forwardRef(function(e,t){var n=p.useRef(null),r=p.useState({onScrollCapture:Ad,onWheelCapture:Ad,onTouchMoveCapture:Ad}),s=r[0],i=r[1],a=e.forwardProps,l=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,f=e.shards,h=e.sideCar,m=e.noRelative,b=e.noIsolation,g=e.inert,w=e.allowPinchZoom,v=e.as,y=v===void 0?"div":v,x=e.gapMode,k=x1(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),S=h,j=_D([n,t]),T=bn(bn({},k),s);return p.createElement(p.Fragment,null,d&&p.createElement(S,{sideCar:w1,removeScrollBar:u,shards:f,noRelative:m,noIsolation:b,inert:g,setCallbacks:i,allowPinchZoom:!!w,lockRef:n,gapMode:x}),a?p.cloneElement(p.Children.only(l),bn(bn({},T),{ref:j})):p.createElement(y,bn({},T,{className:c,ref:j}),l))});fu.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};fu.classNames={fullWidth:Pl,zeroRight:El};var UD=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function HD(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=UD();return t&&e.setAttribute("nonce",t),e}function GD(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function WD(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var KD=function(){var e=0,t=null;return{add:function(n){e==0&&(t=HD())&&(GD(t,n),WD(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},ZD=function(){var e=KD();return function(t,n){p.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},k1=function(){var e=ZD(),t=function(n){var r=n.styles,s=n.dynamic;return e(r,s),null};return t},YD={left:0,top:0,right:0,gap:0},Md=function(e){return parseInt(e||"",10)||0},qD=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],s=t[e==="padding"?"paddingRight":"marginRight"];return[Md(n),Md(r),Md(s)]},QD=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return YD;var t=qD(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])}},XD=k1(),ui="data-scroll-locked",JD=function(e,t,n,r){var s=e.left,i=e.top,a=e.right,l=e.gap;return n===void 0&&(n="margin"),`
500  .`.concat(DD,` {
501   overflow: hidden `).concat(r,`;
502   padding-right: `).concat(l,"px ").concat(r,`;
503  }
504  body[`).concat(ui,`] {
505    overflow: hidden `).concat(r,`;
506    overscroll-behavior: contain;
507    `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
508    padding-left: `.concat(s,`px;
509    padding-top: `).concat(i,`px;
510    padding-right: `).concat(a,`px;
511    margin-left:0;
512    margin-top:0;
513    margin-right: `).concat(l,"px ").concat(r,`;
514    `),n==="padding"&&"padding-right: ".concat(l,"px ").concat(r,";
514")].filter(Boolean).join(""),`
515  }
516  
517  .`).concat(El,` {
518    right: `).concat(l,"px ").concat(r,`;
519  }
520  
521  .`).concat(Pl,` {
522    margin-right: `).concat(l,"px ").concat(r,`;
523  }
524  
525  .`).concat(El," .").concat(El,` {
526    right: 0 `).concat(r,`;
527  }
528  
529  .`).concat(Pl," .").concat(Pl,` {
530    margin-right: 0 `).concat(r,`;
531  }
532  
533  body[`).concat(ui,`] {
534    `).concat(ID,": ").concat(l,`px;
535  }
536`)},Ty=function(){var e=parseInt(document.body.getAttribute(ui)||"0",10);return isFinite(e)?e:0},eI=function(){p.useEffect(function(){return document.body.setAttribute(ui,(Ty()+1).toString()),function(){var e=Ty()-1;e<=0?document.body.removeAttribute(ui):document.body.setAttribute(ui,e.toString())}},[])},tI=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,s=r===void 0?"margin":r;eI();var i=p.useMemo(function(){return QD(s)},[s]);return p.createElement(XD,{styles:JD(i,!t,s,n?"":"!important")})},xh=!1;if(typeof window<"u")try{var nl=Object.defineProperty({},"passive",{get:function(){return xh=!0,!0}});window.addEventListener("test",nl,nl),window.removeEventListener("test",nl,nl)}catch{xh=!1}var Is=xh?{passive:!1}:!1,nI=function(e){return e.tagName==="TEXTAREA"},S1=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!nI(e)&&n[t]==="visible")},rI=function(e){return S1(e,"overflowY")},sI=function(e){return S1(e,"overflowX")},Cy=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var s=j1(e,r);if(s){var i=T1(e,r),a=i[1],l=i[2];if(a>l)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},iI=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},oI=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},j1=function(e,t){return e==="v"?rI(t):sI(t)},T1=function(e,t){return e==="v"?iI(t):oI(t)},aI=function(e,t){return e==="h"&&t==="rtl"?-1:1},lI=function(e,t,n,r,s){var i=aI(e,window.getComputedStyle(t).direction),a=i*r,l=n.target,c=t.contains(l),u=!1,d=a>0,f=0,h=0;do{if(!l)break;var m=T1(e,l),b=m[0],g=m[1],w=m[2],v=g-w-i*b;(b||v)&&j1(e,l)&&(f+=v,h+=b);var y=l.parentNode;l=y&&y.nodeType===Node.DOCUMENT_FRAGMENT_NODE?y.host:y}while(!c&&l!==document.body||c&&(t.contains(l)||t===l));return(d&&(Math.abs(f)<1||!s)||!d&&(Math.abs(h)<1||!s))&&(u=!0),u},rl=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Ny=function(e){return[e.deltaX,e.deltaY]},zy=function(e){return e&&"current"in e?e.current:e},cI=function(e,t){return e[0]===t[0]&&e[1]===t[1]},uI=function(e){return`
537  .block-interactivity-`.concat(e,` {pointer-events: none;}
538  .allow-interactivity-`).concat(e,` {pointer-events: all;}
539`)},dI=0,Os=[];function fI(e){var t=p.useRef([]),n=p.useRef([0,0]),r=p.useRef(),s=p.useState(dI++)[0],i=p.useState(k1)[0],a=p.useRef(e);p.useEffect(function(){a.current=e},[e]),p.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(s));var g=RD([e.lockRef.current],(e.shards||[]).map(zy),!0).filter(Boolean);return g.forEach(function(w){return w.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),g.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(s))})}}},[e.inert,e.lockRef.current,e.shards]);var l=p.useCallback(function(g,w){if("touches"in g&&g.touches.length===2||g.type==="wheel"&&g.ctrlKey)return!a.current.allowPinchZoom;var v=rl(g),y=n.current,x="deltaX"in g?g.deltaX:y[0]-v[0],k="deltaY"in g?g.deltaY:y[1]-v[1],S,j=g.target,T=Math.abs(x)>Math.abs(k)?"h":"v";if("touches"in g&&T==="h"&&j.type==="range")return!1;var N=Cy(T,j);if(!N)return!0;if(N?S=T:(S=T==="v"?"h":"v",N=Cy(T,j)),!N)return!1;if(!r.current&&"changedTouches"in g&&(x||k)&&(r.current=S),!S)return!0;var P=r.current||S;return lI(P,w,g,P==="h"?x:k,!0)},[]),c=p.useCallback(function(g){var w=g;if(!(!Os.length||Os[Os.length-1]!==i)){var v="deltaY"in w?Ny(w):rl(w),y=t.current.filter(function(S){return S.name===w.type&&(S.target===w.target||w.target===S.shadowParent)&&cI(S.delta,v)}
vendor: 4,306 bytes, line 539
539)[0];if(y&&y.should){w.cancelable&&w.preventDefault();return}if(!y){var x=(a.current.shards||[]).map(zy).filter(Boolean).filter(function(S){return S.contains(w.target)}),k=x.length>0?l(w,x[0]):!a.current.noIsolation;k&&w.cancelable&&w.preventDefault()}}},[]),u=p.useCallback(function(g,w,v,y){var x={name:g,delta:w,target:v,should:y,shadowParent:hI(v)};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(k){return k!==x})},1)},[]),d=p.useCallback(function(g){n.current=rl(g),r.current=void 0},[]),f=p.useCallback(function(g){u(g.type,Ny(g),g.target,l(g,e.lockRef.current))},[]),h=p.useCallback(function(g){u(g.type,rl(g),g.target,l(g,e.lockRef.current))},[]);p.useEffect(function(){return Os.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:h}),document.addEventListener("wheel",c,Is),document.addEventListener("touchmove",c,Is),document.addEventListener("touchstart",d,Is),function(){Os=Os.filter(function(g){return g!==i}),document.removeEventListener("wheel",c,Is),document.removeEventListener("touchmove",c,Is),document.removeEventListener("touchstart",d,Is)}},[]);var m=e.removeScrollBar,b=e.inert;return p.createElement(p.Fragment,null,b?p.createElement(i,{styles:uI(s)}):null,m?p.createElement(tI,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function hI(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const mI=$D(w1,fI);var gp=p.forwardRef(function(e,t){return p.createElement(fu,bn({},e,{ref:t,sideCar:mI}))});gp.classNames=fu.classNames;var bh=["Enter"," "],pI=["ArrowDown","PageUp","Home"],C1=["ArrowUp","PageDown","End"],gI=[...pI,...C1],vI={ltr:[...bh,"ArrowRight"],rtl:[...bh,"ArrowLeft"]},yI={ltr:["ArrowLeft"],rtl:["ArrowRight"]},ba="Menu",[ta,xI,bI]=Hm(ba),[Ts,N1]=cn(ba,[bI,su,du]),hu=su(),z1=du(),[wI,Cs]=Ts(ba),[kI,wa]=Ts(ba),E1=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:s,onOpenChange:i,modal:a=!0}=e,l=hu(t),[c,u]=p.useState(null),d=p.useRef(!1),f=De(i),h=uu(s);return p.useEffect(()=>{const m=()=>{d.current=!0,document.addEventListener("pointerdown",b,{capture:!0,once:!0}),document.addEventListener("pointermove",b,{capture:!0,once:!0})},b=()=>d.current=!1;return document.addEventListener("keydown",m,{capture:!0}),()=>{document.removeEventListener("keydown",m,{capture:!0}),document.removeEventListener("pointerdown",b,{capture:!0}),document.removeEventListener("pointermove",b,{capture:!0})}},[]),o.jsx(gM,{...l,children:o.jsx(wI,{scope:t,open:n,onOpenChange:f,content:c,onContentChange:u,children:o.jsx(kI,{scope:t,onClose:p.useCallback(()=>f(!1),[f]),isUsingKeyboardRef:d,dir:h,modal:a,children:r})})})};E1.displayName=ba;var SI="MenuAnchor",vp=p.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,s=hu(n);return o.jsx(Mk,{...s,...r,ref:t})});vp.displayName=SI;var yp="MenuPortal",[jI,P1]=Ts(yp,{forceMount:void 0}),A1=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:s}=e,i=Cs(yp,t);return o.jsx(jI,{scope:t,forceMount:n,children:o.jsx(lt,{present:n||i.open,children:o.jsx(Xc,{asChild:!0,container:s,children:r})})})};A1.displayName=yp;var Lt="MenuContent",[TI,xp]=Ts(Lt),M1=p.forwardRef((e,t)=>{const n=P1(Lt,e.__scopeMenu),{forceMount:r=n.forceMount,...s}=e,i=Cs(Lt,e.__scopeMenu),a=wa(Lt,e.__scopeMenu);return o.jsx(ta.Provider,{scope:e.__scopeMenu,children:o.jsx(lt,{present:r||i.open,children:o.jsx(ta.Slot,{scope:e.__scopeMenu,children:a.modal?o.jsx(CI,{...s,ref:t}):o.jsx(NI,{...s,ref:t})})})})}),CI=p.forwardRef((e,t)=>{const n=Cs(Lt,e.__scopeMenu),r=p.useRef(null),s=fe(t,r);return p.useEffect(()=>{const i=r.current;if(i)return y1(i)},[]),o.jsx(bp,{...e,ref:s,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:$(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),NI=p.forwardRef((e,t)=>{const n=Cs(Lt,e.__scopeMenu);return o.jsx(bp,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),zI=Ni("MenuContent.ScrollLock"),bp=p.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:s,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:l,onEntryFocus:c,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:h,onDismiss:m,disableOutsideScroll:b,...g}
vendor: 12,525 bytes, line 539
539=e,w=Cs(Lt,n),v=wa(Lt,n),y=hu(n),x=z1(n),k=xI(n),[S,j]=p.useState(null),T=p.useRef(null),N=fe(t,T,w.onContentChange),P=p.useRef(0),z=p.useRef(""),L=p.useRef(0),O=p.useRef(null),W=p.useRef("right"),I=p.useRef(0),K=b?gp:p.Fragment,V=b?{as:zI,allowPinchZoom:!0}:void 0,q=C=>{var se,Pn;const D=z.current+C,G=k().filter(Fe=>!Fe.disabled),H=document.activeElement,J=(se=G.find(Fe=>Fe.ref.current===H))==null?void 0:se.textValue,te=G.map(Fe=>Fe.textValue),ke=VI(te,D,J),Ne=(Pn=G.find(Fe=>Fe.textValue===ke))==null?void 0:Pn.ref.current;(function Fe(dn){z.current=dn,window.clearTimeout(P.current),dn!==""&&(P.current=window.setTimeout(()=>Fe(""),1e3))})(D),Ne&&setTimeout(()=>Ne.focus())};p.useEffect(()=>()=>window.clearTimeout(P.current),[]),l1();const E=p.useCallback(C=>{var G,H;return W.current===((G=O.current)==null?void 0:G.side)&&$I(C,(H=O.current)==null?void 0:H.area)},[]);return o.jsx(TI,{scope:n,searchRef:z,onItemEnter:p.useCallback(C=>{E(C)&&C.preventDefault()},[E]),onItemLeave:p.useCallback(C=>{var D;E(C)||((D=T.current)==null||D.focus(),j(null))},[E]),onTriggerLeave:p.useCallback(C=>{E(C)&&C.preventDefault()},[E]),pointerGraceTimerRef:L,onPointerGraceIntentChange:p.useCallback(C=>{O.current=C},[]),children:o.jsx(K,{...V,children:o.jsx(pp,{asChild:!0,trapped:s,onMountAutoFocus:$(i,C=>{var D;C.preventDefault(),(D=T.current)==null||D.focus({preventScroll:!0})}),onUnmountAutoFocus:a,children:o.jsx(ga,{asChild:!0,disableOutsidePointerEvents:l,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:h,onDismiss:m,children:o.jsx(p1,{asChild:!0,...x,dir:v.dir,orientation:"vertical",loop:r,currentTabStopId:S,onCurrentTabStopIdChange:j,onEntryFocus:$(c,C=>{v.isUsingKeyboardRef.current||C.preventDefault()}),preventScrollOnEntryFocus:!0,children:o.jsx(Rk,{role:"menu","aria-orientation":"vertical","data-state":Z1(w.open),"data-radix-menu-content":"",dir:v.dir,...y,...g,ref:N,style:{outline:"none",...g.style},onKeyDown:$(g.onKeyDown,C=>{const G=C.target.closest("[data-radix-menu-content]")===C.currentTarget,H=C.ctrlKey||C.altKey||C.metaKey,J=C.key.length===1;G&&(C.key==="Tab"&&C.preventDefault(),!H&&J&&q(C.key));const te=T.current;if(C.target!==te||!gI.includes(C.key))return;C.preventDefault();const Ne=k().filter(se=>!se.disabled).map(se=>se.ref.current);C1.includes(C.key)&&Ne.reverse(),_I(Ne)}),onBlur:$(e.onBlur,C=>{C.currentTarget.contains(C.target)||(window.clearTimeout(P.current),z.current="")}),onPointerMove:$(e.onPointerMove,na(C=>{const D=C.target,G=I.current!==C.clientX;if(C.currentTarget.contains(D)&&G){const H=C.clientX>I.current?"right":"left";W.current=H,I.current=C.clientX}}))})})})})})})});M1.displayName=Lt;var EI="MenuGroup",wp=p.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return o.jsx(ne.div,{role:"group",...r,ref:t})});wp.displayName=EI;var PI="MenuLabel",R1=p.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return o.jsx(ne.div,{...r,ref:t})});R1.displayName=PI;var xc="MenuItem",Ey="menu.itemSelect",mu=p.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...s}=e,i=p.useRef(null),a=wa(xc,e.__scopeMenu),l=xp(xc,e.__scopeMenu),c=fe(t,i),u=p.useRef(!1),d=()=>{const f=i.current;if(!n&&f){const h=new CustomEvent(Ey,{bubbles:!0,cancelable:!0});f.addEventListener(Ey,m=>r==null?void 0:r(m),{once:!0}),Gm(f,h),h.defaultPrevented?u.current=!1:a.onClose()}};return o.jsx(D1,{...s,ref:c,disabled:n,onClick:$(e.onClick,d),onPointerDown:f=>{var h;(h=e.onPointerDown)==null||h.call(e,f),u.current=!0},onPointerUp:$(e.onPointerUp,f=>{var h;u.current||(h=f.currentTarget)==null||h.click()}),onKeyDown:$(e.onKeyDown,f=>{const h=l.searchRef.current!=="";n||h&&f.key===" "||bh.includes(f.key)&&(f.currentTarget.click(),f.preventDefault())})})});mu.displayName=xc;var D1=p.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:s,...i}=e,a=xp(xc,n),l=z1(n),c=p.useRef(null),u=fe(t,c),[d,f]=p.useState(!1),[h,m]=p.useState("");return p.useEffect(()=>{const b=c.current;b&&m((b.textContent??"").trim())},[i.children]),o.jsx(ta.ItemSlot,{scope:n,disabled:r,textValue:s??h,children:o.jsx(g1,{asChild:!0,...l,focusable:!r,children:o.jsx(ne.div,{role:"menuitem","data-highlighted":d?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...i,ref:u,onPointerMove:$(e.onPointerMove,na(b=>{r?a.onItemLeave(b):(a.onItemEnter(b),b.defaultPrevented||b.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:$(e.onPointerLeave,na(b=>a.onItemLeave(b))),onFocus:$(e.onFocus,()=>f(!0)),onBlur:$(e.onBlur,()=>f(!1))})})})}),AI="MenuCheckboxItem",I1=p.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...s}=e;return o.jsx(V1,{scope:e.__scopeMenu,checked:n,children:o.jsx(mu,{role:"menuitemcheckbox","aria-checked":bc(n)?"mixed":n,...s,ref:t,"data-state":Sp(n),onSelect:$(s.onSelect,()=>r==null?void 0:r(bc(n)?!0:!n),{checkForDefaultPrevented:!1})})})});I1.displayName=AI;var O1="MenuRadioGroup",[MI,RI]=Ts(O1,{value:void 0,onValueChange:()=>{}}),L1=p.forwardRef((e,t)=>{const{value:n,onValueChange:r,...s}=e,i=De(r);return o.jsx(MI,{scope:e.__scopeMenu,value:n,onValueChange:i,children:o.jsx(wp,{...s,ref:t})})});L1.displayName=O1;var _1="MenuRadioItem",F1=p.forwardRef((e,t)=>{const{value:n,...r}=e,s=RI(_1,e.__scopeMenu),i=n===s.value;return o.jsx(V1,{scope:e.__scopeMenu,checked:i,children:o.jsx(mu,{role:"menuitemradio","aria-checked":i,...r,ref:t,"data-state":Sp(i),onSelect:$(r.onSelect,()=>{var a;return(a=s.onValueChange)==null?void 0:a.call(s,n)},{checkForDefaultPrevented:!1})})})});F1.displayName=_1;var kp="MenuItemIndicator",[V1,DI]=Ts(kp,{checked:!1}),B1=p.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...s}=e,i=DI(kp,n);return o.jsx(lt,{present:r||bc(i.checked)||i.checked===!0,children:o.jsx(ne.span,{...s,ref:t,"data-state":Sp(i.checked)})})});B1.displayName=kp;var II="MenuSeparator",$1=p.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return o.jsx(ne.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});$1.displayName=II;var OI="MenuArrow",U1=p.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,s=hu(n);return o.jsx(Dk,{...s,...r,ref:t})});U1.displayName=OI;var LI="MenuSub",[TV,H1]=Ts(LI),ho="MenuSubTrigger",G1=p.forwardRef((e,t)=>{const n=Cs(ho,e.__scopeMenu),r=wa(ho,e.__scopeMenu),s=H1(ho,e.__scopeMenu),i=xp(ho,e.__scopeMenu),a=p.useRef(null),{pointerGraceTimerRef:l,onPointerGraceIntentChange:c}=i,u={__scopeMenu:e.__scopeMenu},d=p.useCallback(()=>{a.current&&window.clearTimeout(a.current),a.current=null},[]);return p.useEffect(()=>d,[d]),p.useEffect(()=>{const f=l.current;return()=>{window.clearTimeout(f),c(null)}},[l,c]),o.jsx(vp,{asChild:!0,...u,children:o.jsx(D1,{id:s.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":s.contentId,"data-state":Z1(n.open),...e,ref:Qc(t,s.onTriggerChange),onClick:f=>{var h;(h=e.onClick)==null||h.call(e,f),!(e.disabled||f.defaultPrevented)&&(f.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:$(e.onPointerMove,na(f=>{i.onItemEnter(f),!f.defaultPrevented&&!e.disabled&&!n.open&&!a.current&&(i.onPointerGraceIntentChange(null),a.current=window.setTimeout(()=>{n.onOpenChange(!0),d()},100))})),onPointerLeave:$(e.onPointerLeave,na(f=>{var m,b;d();const h=(m=n.content)==null?void 0:m.getBoundingClientRect();if(h){const g=(b=n.content)==null?void 0:b.dataset.side,w=g==="right",v=w?-5:5,y=h[w?"left":"right"],x=h[w?"right":"left"];i.onPointerGraceIntentChange({area:[{x:f.clientX+v,y:f.clientY},{x:y,y:h.top},{x,y:h.top},{x,y:h.bottom},{x:y,y:h.bottom}],side:g}),window.clearTimeout(l.current),l.current=window.setTimeout(()=>i.onPointerGraceIntentChange(null),300)}else{if(i.onTriggerLeave(f),f.defaultPrevented)return;i.onPointerGraceIntentChange(null)}})),onKeyDown:$(e.onKeyDown,f=>{var m;const h=i.searchRef.current!=="";e.disabled||h&&f.key===" "||vI[r.dir].includes(f.key)&&(n.onOpenChange(!0),(m=n.content)==null||m.focus(),f.preventDefault())})})})});G1.displayName=ho;var W1="MenuSubContent",K1=p.forwardRef((e,t)=>{const n=P1(Lt,e.__scopeMenu),{forceMount:r=n.forceMount,...s}=e,i=Cs(Lt,e.__scopeMenu),a=wa(Lt,e.__scopeMenu),l=H1(W1,e.__scopeMenu),c=p.useRef(null),u=fe(t,c);return o.jsx(ta.Provider,{scope:e.__scopeMenu,children:o.jsx(lt,{present:r||i.open,children:o.jsx(ta.Slot,{scope:e.__scopeMenu,children:o.jsx(bp,{id:l.contentId,"aria-labelledby":l.triggerId,...s,ref:u,align:"start",side:a.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:d=>{var f;a.isUsingKeyboardRef.current&&((f=c.current)==null||f.focus()),d.preventDefault()},onCloseAutoFocus:d=>d.preventDefault(),onFocusOutside:$(e.onFocusOutside,d=>{d.target!==l.trigger&&i.onOpenChange(!1)}),onEscapeKeyDown:$(e.onEscapeKeyDown,d=>{a.onClose(),d.preventDefault()}),onKeyDown:$(e.onKeyDown,d=>{var m;const f=d.currentTarget.contains(d.target),h=yI[a.dir].includes(d.key);f&&h&&(i.onOpenChange(!1),(m=l.trigger)==null||m.focus(),d.preventDefault())})})})})})});K1.displayName=W1;function Z1(e){return e?"open":"closed"}function bc(e){return e==="indeterminate"}function Sp(e){return bc(e)?"indeterminate":e?"checked":"unchecked"}function _I(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function FI(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function VI(e,t,n){const s=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,i=n?e.indexOf(n):-1;let a=FI(e,Math.max(i,0));s.length===1&&(a=a.filter(u=>u!==n));const c=a.find(u=>u.toLowerCase().startsWith(s.toLowerCase()));return c!==n?c:void 0}function BI(e,t){const{x:n,y:r}=e;let s=!1;for(let i=0,a=t.length-1;i<t.length;a=i++){const l=t[i],c=t[a],u=l.x,d=l.y,f=c.x,h=c.y;d>r!=h>r&&n<(f-u)*(r-d)/(h-d)+u&&(s=!s)}return s}function $I(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return BI(n,t)}function na(e){return t=>t.pointerType==="mouse"?e(t):void 0}var UI=E1,HI=vp,GI=A1,WI=M1,KI=wp,ZI=R1,YI=mu,qI=I1,QI=L1,XI=F1,JI=B1,e5=$1,t5=U1,n5=G1,r5=K1,pu="DropdownMenu",[s5,CV]=cn(pu,[N1]),ct=N1(),[i5,Y1]=s5(pu),q1=e=>{const{__scopeDropdownMenu:t,children:n,dir:r,open:s,defaultOpen:i,onOpenChange:a,modal:l=!0}=e,c=ct(t),u=p.useRef(null),[d,f]=_i({prop:s,defaultProp:i??!1,onChange:a,caller:pu});return o.jsx(i5,{scope:t,triggerId:hs(),triggerRef:u,contentId:hs(),open:d,onOpenChange:f,onOpenToggle:p.useCallback(()=>f(h=>!h),[f]),modal:l,children:o.jsx(UI,{...c,open:d,onOpenChange:f,dir:r,modal:l,children:n})})};q1.displayName=pu;var Q1="DropdownMenuTrigger",X1=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...s}=e,i=Y1(Q1,n),a=ct(n);return o.jsx(HI,{asChild:!0,...a,children:o.jsx(ne.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,...s,ref:Qc(t,i.triggerRef),onPointerDown:$(e.onPointerDown,l=>{!r&&l.button===0&&l.ctrlKey===!1&&(i.onOpenToggle(),i.open||l.preventDefault())}),onKeyDown:$(e.onKeyDown,l=>{r||(["Enter"," "].includes(l.key)&&i.onOpenToggle(),l.key==="ArrowDown"&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(l.key)&&l.preventDefault())})})})});X1.displayName=Q1;var o5="DropdownMenuPortal",J1=e=>{const{__scopeDropdownMenu:t,...n}=e,r=ct(t);return o.jsx(GI,{...r,...n})};J1.displayName=o5;var eS="DropdownMenuContent",tS=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,s=Y1(eS,n),i=ct(n),a=p.useRef(!1);return o.jsx(WI,{id:s.contentId,"aria-labelledby":s.triggerId,...i,...r,ref:t,onCloseAutoFocus:$(e.onCloseAutoFocus,l=>{var c;a.current||(c=s.triggerRef.current)==null||c.focus(),a.current=!1,l.preventDefault()}),onInteractOutside:$(e.onInteractOutside,l=>{const c=l.detail.originalEvent,u=c.button===0&&c.ctrlKey===!0,d=c.button===2||u;(!s.modal||d)&&(a.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)"}})});tS.displayName=eS;var a5="DropdownMenuGroup",l5=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,s=ct(n);return o.jsx(KI,{...s,...r,ref:t})});l5.displayName=a5;var c5="DropdownMenuLabel",nS=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,s=ct(n);return o.jsx(ZI,{...s,...r,ref:t})});nS.displayName=c5;var u5="DropdownMenuItem",rS=p.forwardRef((e,t)=>
539{const{__scopeDropdownMenu:n,...r}=e,s=ct(n);return o.jsx(YI,{...s,...r,ref:t})});rS.displayName=u5;var d5="DropdownMenuCheckboxItem",sS=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,s=ct(n);return o.jsx(qI,{...s,...r,ref:t})});sS.displayName=d5;var f5="DropdownMenuRadioGroup",h5=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,s=ct(n);return o.jsx(QI,{...s,...r,ref:t})});h5.displayName=f5;var m5="DropdownMenuRadioItem",iS=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,s=ct(n);return o.jsx(XI,{...s,...r,ref:t})});iS.displayName=m5;var p5="DropdownMenuItemIndicator",oS=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,s=ct(n);return o.jsx(JI,{...s,...r,ref:t})});oS.displayName=p5;var g5="DropdownMenuSeparator",aS=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,s=ct(n);return o.jsx(e5,{...s,...r,ref:t})});aS.displayName=g5;var v5="DropdownMenuArrow",y5=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,s=ct(n);return o.jsx(t5,{...s,...r,ref:t})});y5.displayName=v5;var x5="DropdownMenuSubTrigger",lS=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,s=ct(n);return o.jsx(n5,{...s,...r,ref:t})});lS.displayName=x5;var b5="DropdownMenuSubContent",cS=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,s=ct(n);return o.jsx(r5,{...s,...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)"}})});cS.displayName=b5;var w5=q1,k5=X1,S5=J1,uS=tS,dS=nS,fS=rS,hS=sS,mS=iS,pS=oS,gS=aS,vS=lS,yS=cS;const j5=w5,T5=k5,C5=p.forwardRef(({className:e,inset:t,children:n,...r},s)=>o.jsxs(vS,{ref:s,className:Y("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[state=open]:bg-accent focus:bg-accent",t&&"pl-8",e),...r,children:[n,o.jsx(_E,{className:"ml-auto h-4 w-4"})]}));C5.displayName=vS.displayName;const N5=p.forwardRef(({className:e,...t},n)=>o.jsx(yS,{ref:n,className:Y("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));N5.displayName=yS.displayName;const xS=p.forwardRef(({className:e,sideOffset:t=4,...n},r)=>o.jsx(S5,{children:o.jsx(uS,{ref:r,sideOffset:t,className:Y("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n})}));xS.displayName=uS.displayName;const bS=p.forwardRef(({className:e,inset:t,...n},r)=>o.jsx(fS,{ref:r,className:Y("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground",t&&"pl-8",e),...n}));bS.displayName=fS.displayName;const z5=p.forwardRef(({className:e,children:t,checked:n,...r},s)=>o.jsxs(hS,{ref:s,className:Y("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground",e),checked:n,...r,children:[o.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:o.jsx(pS,{children:o.jsx(OE,{className:"h-4 w-4"})})}),t]}));z5.displayName=hS.displayName;const E5=p.forwardRef(({className:e,children:t,...n},r)=>o.jsxs(mS,{ref:r,className:Y("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground",e),...n,children:[o.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:o.jsx(pS,{children:o.jsx(Jw,{className:"h-2 w-2 fill-current"})})}),t]}));E5.displayName=mS.displayName;const P5=p.forwardRef(({className:e,inset:t,...n},r)=>o.jsx(dS,{ref:r,className:Y("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...n}));P5.displayName=dS.displayName;const A5=p.forwardRef(({className:e,...t},n)=>o.jsx(gS,{ref:n,className:Y("-mx-1 my-1 h-px bg-muted",e),...t}));A5.displayName=gS.displayName;var gu="Dialog",[wS,NV]=cn(gu),[M5,un]=wS(gu),kS=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:s,onOpenChange:i,modal:
vendor: 6,208 bytes, lines 539-543
539a=!0}=e,l=p.useRef(null),c=p.useRef(null),[u,d]=_i({prop:r,defaultProp:s??!1,onChange:i,caller:gu});return o.jsx(M5,{scope:t,triggerRef:l,contentRef:c,contentId:hs(),titleId:hs(),descriptionId:hs(),open:u,onOpenChange:d,onOpenToggle:p.useCallback(()=>d(f=>!f),[d]),modal:a,children:n})};kS.displayName=gu;var SS="DialogTrigger",jS=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=un(SS,n),i=fe(t,s.triggerRef);return o.jsx(ne.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":Cp(s.open),...r,ref:i,onClick:$(e.onClick,s.onOpenToggle)})});jS.displayName=SS;var jp="DialogPortal",[R5,TS]=wS(jp,{forceMount:void 0}),CS=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:s}=e,i=un(jp,t);return o.jsx(R5,{scope:t,forceMount:n,children:p.Children.map(r,a=>o.jsx(lt,{present:n||i.open,children:o.jsx(Xc,{asChild:!0,container:s,children:a})}))})};CS.displayName=jp;var wc="DialogOverlay",NS=p.forwardRef((e,t)=>{const n=TS(wc,e.__scopeDialog),{forceMount:r=n.forceMount,...s}=e,i=un(wc,e.__scopeDialog);return i.modal?o.jsx(lt,{present:r||i.open,children:o.jsx(I5,{...s,ref:t})}):null});NS.displayName=wc;var D5=Ni("DialogOverlay.RemoveScroll"),I5=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=un(wc,n);return o.jsx(gp,{as:D5,allowPinchZoom:!0,shards:[s.contentRef],children:o.jsx(ne.div,{"data-state":Cp(s.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),ks="DialogContent",zS=p.forwardRef((e,t)=>{const n=TS(ks,e.__scopeDialog),{forceMount:r=n.forceMount,...s}=e,i=un(ks,e.__scopeDialog);return o.jsx(lt,{present:r||i.open,children:i.modal?o.jsx(O5,{...s,ref:t}):o.jsx(L5,{...s,ref:t})})});zS.displayName=ks;var O5=p.forwardRef((e,t)=>{const n=un(ks,e.__scopeDialog),r=p.useRef(null),s=fe(t,n.contentRef,r);return p.useEffect(()=>{const i=r.current;if(i)return y1(i)},[]),o.jsx(ES,{...e,ref:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:$(e.onCloseAutoFocus,i=>{var a;i.preventDefault(),(a=n.triggerRef.current)==null||a.focus()}),onPointerDownOutside:$(e.onPointerDownOutside,i=>{const a=i.detail.originalEvent,l=a.button===0&&a.ctrlKey===!0;(a.button===2||l)&&i.preventDefault()}),onFocusOutside:$(e.onFocusOutside,i=>i.preventDefault())})}),L5=p.forwardRef((e,t)=>{const n=un(ks,e.__scopeDialog),r=p.useRef(!1),s=p.useRef(!1);return o.jsx(ES,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var a,l;(a=e.onCloseAutoFocus)==null||a.call(e,i),i.defaultPrevented||(r.current||(l=n.triggerRef.current)==null||l.focus(),i.preventDefault()),r.current=!1,s.current=!1},onInteractOutside:i=>{var c,u;(c=e.onInteractOutside)==null||c.call(e,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(s.current=!0));const a=i.target;((u=n.triggerRef.current)==null?void 0:u.contains(a))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&s.current&&i.preventDefault()}})}),ES=p.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:s,onCloseAutoFocus:i,...a}=e,l=un(ks,n),c=p.useRef(null),u=fe(t,c);return l1(),o.jsxs(o.Fragment,{children:[o.jsx(pp,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:s,onUnmountAutoFocus:i,children:o.jsx(ga,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":Cp(l.open),...a,ref:u,onDismiss:()=>l.onOpenChange(!1)})}),o.jsxs(o.Fragment,{children:[o.jsx(_5,{titleId:l.titleId}),o.jsx(V5,{contentRef:c,descriptionId:l.descriptionId})]})]})}),Tp="DialogTitle",PS=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=un(Tp,n);return o.jsx(ne.h2,{id:s.titleId,...r,ref:t})});PS.displayName=Tp;var AS="DialogDescription",MS=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=un(AS,n);return o.jsx(ne.p,{id:s.descriptionId,...r,ref:t})});MS.displayName=AS;var RS="DialogClose",DS=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=un(RS,n);return o.jsx(ne.button,{type:"button",...r,ref:t,onClick:$(e.onClick,()=>s.onOpenChange(!1))})});DS.displayName=RS;function Cp(e){return e?"open":"closed"}var IS="DialogTitleWarning",[zV,OS]=V2(IS,{contentName:ks,titleName:Tp,docsSlug:"dialog"}),_5=({titleId:e})=>{const t=OS(IS),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
540
541If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
542
543For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return p.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},F5="DialogDescriptionWarning",V5=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${OS(F5).contentName}}.`;return p.useEffect(()=>{var i;const s=(i=e.current)==null?void 0:i.getAttribute("aria-describedby");t&&s&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},LS=kS,_S=jS,FS=CS,vu=NS,yu=zS,xu=PS,bu=MS,VS=DS;const B5=LS,$5=_S,U5=FS,BS=p.forwardRef(({className:e,...t},n)=>o.jsx(vu,{className:Y("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:n}));BS.displayName=vu.displayName;const H5=Ym("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4  border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),$S=p.forwardRef(({side:e="right",className:t,children:n,...r},s)=>o.jsxs(U5,{children:[o.jsx(BS,{}),o.jsxs(yu,{ref:s,className:Y(H5({side:e}),t),...r,children:[n,o.jsxs(VS,{className:"absolute right-4 top-4 roun
543ded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-secondary hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[o.jsx(Qm,{className:"h-4 w-4"}),o.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));$S.displayName=yu.displayName;const G5=p.forwardRef(({className:e,...t},n)=>o.jsx(xu,{ref:n,className:Y("text-lg font-semibold text-foreground",e),...t}));G5.displayName=xu.displayName;const W5=p.forwardRef(({className:e,...t},n)=>o.jsx(bu,{ref:n,className:Y("text-sm text-muted-foreground",e),...t}));W5.displayName=bu.displayName;const US="/assets/logo-full-BPttTZIR.png",Rd=[{key:"partsManufacturing",href:"/alkatresz-gyartas"},{key:"gears",href:"/fogaskerekek"},{key:"reverseEngineering",href:"/reverse-engineering"},{key:"largeParts",href:"/nagy-alkatreszek"}];function K5(){const[e,t]=p.useState(!1),n=Yn(),{language:r,setLanguage:s,t:i}=yt(),a=u=>n.pathname===u,l=Rd.some(u=>n.pathname===u.href),c=[{code:"hu",label:"HU"},{code:"en",label:"EN"},{code:"de",label:"DE"}];return o.jsx("header",{className:"sticky top-0 z-50 w-full border-b border-border/50 bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/80",children:o.jsx("div",{className:"container-wide",children:o.jsxs("div",{className:"flex h-24 md:h-28 items-center justify-between py-2 md:py-3",children:[o.jsx(Z,{to:"/",className:"flex items-center h-full py-1","aria-label":"SÁRGÉPSZER Kft.",children:o.jsx("img",{src:US,alt:"SÁRGÉPSZER Kft.",className:"h-full w-auto object-contain max-h-full"})}),o.jsxs("nav",{className:"hidden lg:flex items-center space-x-1",children:[o.jsx(Z,{to:"/",className:`px-4 py-2 rounded-md text-sm font-medium transition-colors ${a("/")?"bg-primary/10 text-primary":"text-muted-foreground hover:text-foreground hover:bg-muted"}`,children:i.nav.home}),o.jsx(Z,{to:"/#rolunk",className:"px-4 py-2 rounded-md text-sm font-medium text-muted-foreground hover:text-foreground hover:bg-muted transition-colors",children:i.nav.about}),o.jsxs(j5,{children:[o.jsx(T5,{asChild:!0,children:o.jsxs("button",{className:`flex items-center px-4 py-2 rounded-md text-sm font-medium transition-colors ${l?"bg-primary/10 text-primary":"text-muted-foreground hover:text-foreground hover:bg-muted"}`,children:[i.nav.services,o.jsx(LE,{className:"ml-1 h-4 w-4"})]})}),o.jsx(xS,{align:"start",className:"w-56",children:Rd.map(u=>o.jsx(bS,{asChild:!0,children:o.jsx(Z,{to:u.href,className:`w-full ${a(u.href)?"bg-primary/10 text-primary":""}`,children:i.nav[u.key]})},u.href))})]}),o.jsx(Z,{to:"/cnc-megmunkalas",className:`px-4 py-2 rounded-md text-sm font-medium transition-colors ${a("/cnc-megmunkalas")?"bg-primary/10 text-primary":"text-muted-foreground hover:text-foreground hover:bg-muted"}`,children:i.nav.cncMachining}),o.jsx(Z,{to:"/blog",className:`px-4 py-2 rounded-md text-sm font-medium transition-colors ${a("/blog")||n.pathname.startsWith("/blog/")?"bg-primary/10 text-primary":"text-muted-foreground hover:text-foreground hover:bg-muted"}`,children:i.footer.blog}),o.jsx(Z,{to:"/elerhetoseg",className:`px-4 py-2 rounded-md text-sm font-medium transition-colors ${a("/elerhetoseg")?"bg-primary/10 text-primary":"text-muted-foreground hover:text-foreground hover:bg-muted"}`,children:i.nav.contact})]}),o.jsxs("div",{className:"hidden lg:flex items-center space-x-4",children:[o.jsx(le,{variant:"outline",size:"sm",asChild:!0,children:o.jsxs(Z,{to:"/elerhetoseg",className:"flex items-center gap-2",children:[o.jsx(Ko,{className:"h-4 w-4"}),i.nav.contact]})}),o.jsx("div",{className:"flex items-center border rounded-md",children:c.map((u,d)=>o.jsx("button",{onClick:()=>s(u.code),className:`px-2 py-1 text-xs font-semibold transition-colors ${r===u.code?"bg-primary text-primary-foreground":"text-muted-foreground hover:text-foreground"} ${d===0?"rounded-l-md":""} ${d===c.length-1?"rounded-r-md":""}`,children:u.label},u.code))})]}),o.jsxs(B5,{open:e,onOpenChange:t,children:[o.jsx($5,{asChild:!0,className:"lg:hidden",children:o.jsx(le,{variant:"ghost",size:"icon",children:o.jsx(UE,{className:"h-6 w-6"})})}),o.jsx($S,{side:"right",className:"w-[300px] sm:w-[350px]",children:o.jsxs("div",{className:"flex flex-col h-full",children:[o.jsx("div",{className:"flex items-center justify-between mb-8",children:o.jsx("span",{className:"font-bold text-lg",children:"SÁRGÉPSZER Kft."})}),o.jsxs("nav",{className:"flex flex-col space-y-2",children:[o.jsx(Z,{to:"/",onClick:()=>t(!1),className:`px-4 py-3 rounded-md text-base font-medium ${a("/")?"bg-primary/10 text-primary":"hover:bg-muted"}`,children:i.nav.home}),o.jsx(Z,{to:"/#rolunk",onClick:()=>t(!1),className:"px-4 py-3 rounded-md text-base font-medium hover:bg-muted",children:i.nav.about}),o.jsx("div",{className:"px-4 py-2 text-sm font-semibold text-muted-foreground uppercase tracking-wide",children:i.nav.services}),Rd.map(u=>o.jsx(Z,{to:u.href,onClick:()=>t(!1),className:`px-6 py-3 rounded-md text-base ${a(u.href)?"bg-primary/10 text-primary":"hover:bg-muted"}`,children:i.nav[u.key]},u.href)),o.jsx(Z,{to:"/cnc-megmunkalas",onClick:()=>t(!1),className:`px-4 py-3 rounded-md text-base font-medium ${a("/cnc-megmunkalas")?"bg-primary/10 text-primary":"hover:bg-muted"}`,children:i.nav.cncMachining}),o.jsx(Z,{to:"/blog",onClick:()=>t(!1),className:`px-4 py-3 rounded-md text-base font-medium ${a("/blog")||n.pathname.startsWith("/blog/")?"bg-primary/10 text-primary":"hover:bg-muted"}`,children:i.footer.blog}),o.jsx(Z,{to:"/elerhetoseg",onClick:()=>t(!1),className:`px-4 py-3 rounded-md text-base font-medium ${a("/elerhetoseg")?"bg-primary/10 text-primary":"hover:bg-muted"}`,children:i.nav.contact})]}),o.jsxs("div",{className:"mt-auto pt-8 border-t",children:[o.jsx("div",{className:"flex items-center justify-center gap-2 mb-4",children:c.map(u=>o.jsx("button",{onClick:()=>s(u.code),className:`px-3 py-2 text-sm font-semibold rounded-md transition-colors ${r===u.code?"bg-primary text-primary-foreground":"text-muted-foreground hover:text-foreground"}`,children:u.label},u.code))}),o.jsx(le,{className:"w-full",asChild:!0,children:o.jsxs(Z,{to:"/elerhetoseg",onClick:()=>t(!1),children:[o.jsx(Ko,{className:"h-4 w-4 mr-2"}),i.nav.contact]})})]})]})})]})]})})})}const wu=LS,HS=_S,Z5=FS,GS=p.forwardRef(({className:e,...t},n)=>o.jsx(vu,{ref:n,className:Y("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));GS.displayName=vu.displayName;
vendor: 8,824 bytes, line 543
543const ka=p.forwardRef(({className:e,children:t,...n},r)=>o.jsxs(Z5,{children:[o.jsx(GS,{}),o.jsxs(yu,{ref:r,className:Y("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...n,children:[t,o.jsxs(VS,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-accent data-[state=open]:text-muted-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[o.jsx(Qm,{className:"h-4 w-4"}),o.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));ka.displayName=yu.displayName;const ku=({className:e,...t})=>o.jsx("div",{className:Y("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});ku.displayName="DialogHeader";const WS=({className:e,...t})=>o.jsx("div",{className:Y("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});WS.displayName="DialogFooter";const Su=p.forwardRef(({className:e,...t},n)=>o.jsx(xu,{ref:n,className:Y("text-lg font-semibold leading-none tracking-tight",e),...t}));Su.displayName=xu.displayName;const Np=p.forwardRef(({className:e,...t},n)=>o.jsx(bu,{ref:n,className:Y("text-sm text-muted-foreground",e),...t}));Np.displayName=bu.displayName;function Y5(e,[t,n]){return Math.min(n,Math.max(t,e))}function q5(e,t){return p.useReducer((n,r)=>t[n][r]??n,e)}var zp="ScrollArea",[KS,EV]=cn(zp),[Q5,Bt]=KS(zp),ZS=p.forwardRef((e,t)=>{const{__scopeScrollArea:n,type:r="hover",dir:s,scrollHideDelay:i=600,...a}=e,[l,c]=p.useState(null),[u,d]=p.useState(null),[f,h]=p.useState(null),[m,b]=p.useState(null),[g,w]=p.useState(null),[v,y]=p.useState(0),[x,k]=p.useState(0),[S,j]=p.useState(!1),[T,N]=p.useState(!1),P=fe(t,L=>c(L)),z=uu(s);return o.jsx(Q5,{scope:n,type:r,dir:z,scrollHideDelay:i,scrollArea:l,viewport:u,onViewportChange:d,content:f,onContentChange:h,scrollbarX:m,onScrollbarXChange:b,scrollbarXEnabled:S,onScrollbarXEnabledChange:j,scrollbarY:g,onScrollbarYChange:w,scrollbarYEnabled:T,onScrollbarYEnabledChange:N,onCornerWidthChange:y,onCornerHeightChange:k,children:o.jsx(ne.div,{dir:z,...a,ref:P,style:{position:"relative","--radix-scroll-area-corner-width":v+"px","--radix-scroll-area-corner-height":x+"px",...e.style}})})});ZS.displayName=zp;var YS="ScrollAreaViewport",qS=p.forwardRef((e,t)=>{const{__scopeScrollArea:n,children:r,nonce:s,...i}=e,a=Bt(YS,n),l=p.useRef(null),c=fe(t,l,a.onViewportChange);return o.jsxs(o.Fragment,{children:[o.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:s}),o.jsx(ne.div,{"data-radix-scroll-area-viewport":"",...i,ref:c,style:{overflowX:a.scrollbarXEnabled?"scroll":"hidden",overflowY:a.scrollbarYEnabled?"scroll":"hidden",...e.style},children:o.jsx("div",{ref:a.onContentChange,style:{minWidth:"100%",display:"table"},children:r})})]})});qS.displayName=YS;var En="ScrollAreaScrollbar",Ep=p.forwardRef((e,t)=>{const{forceMount:n,...r}=e,s=Bt(En,e.__scopeScrollArea),{onScrollbarXEnabledChange:i,onScrollbarYEnabledChange:a}=s,l=e.orientation==="horizontal";return p.useEffect(()=>(l?i(!0):a(!0),()=>{l?i(!1):a(!1)}),[l,i,a]),s.type==="hover"?o.jsx(X5,{...r,ref:t,forceMount:n}):s.type==="scroll"?o.jsx(J5,{...r,ref:t,forceMount:n}):s.type==="auto"?o.jsx(QS,{...r,ref:t,forceMount:n}):s.type==="always"?o.jsx(Pp,{...r,ref:t}):null});Ep.displayName=En;var X5=p.forwardRef((e,t)=>{const{forceMount:n,...r}=e,s=Bt(En,e.__scopeScrollArea),[i,a]=p.useState(!1);return p.useEffect(()=>{const l=s.scrollArea;let c=0;if(l){const u=()=>{window.clearTimeout(c),a(!0)},d=()=>{c=window.setTimeout(()=>a(!1),s.scrollHideDelay)};return l.addEventListener("pointerenter",u),l.addEventListener("pointerleave",d),()=>{window.clearTimeout(c),l.removeEventListener("pointerenter",u),l.removeEventListener("pointerleave",d)}}},[s.scrollArea,s.scrollHideDelay]),o.jsx(lt,{present:n||i,children:o.jsx(QS,{"data-state":i?"visible":"hidden",...r,ref:t})})}),J5=p.forwardRef((e,t)=>{const{forceMount:n,...r}=e,s=Bt(En,e.__scopeScrollArea),i=e.orientation==="horizontal",a=Tu(()=>c("SCROLL_END"),100),[l,c]=q5("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return p.useEffect(()=>{if(l==="idle"){const u=window.setTimeout(()=>c("HIDE"),s.scrollHideDelay);return()=>window.clearTimeout(u)}},[l,s.scrollHideDelay,c]),p.useEffect(()=>{const u=s.viewport,d=i?"scrollLeft":"scrollTop";if(u){let f=u[d];const h=()=>{const m=u[d];f!==m&&(c("SCROLL"),a()),f=m};return u.addEventListener("scroll",h),()=>u.removeEventListener("scroll",h)}},[s.viewport,i,c,a]),o.jsx(lt,{present:n||l!=="hidden",children:o.jsx(Pp,{"data-state":l==="hidden"?"hidden":"visible",...r,ref:t,onPointerEnter:$(e.onPointerEnter,()=>c("POINTER_ENTER")),onPointerLeave:$(e.onPointerLeave,()=>c("POINTER_LEAVE"))})})}),QS=p.forwardRef((e,t)=>{const n=Bt(En,e.__scopeScrollArea),{forceMount:r,...s}=e,[i,a]=p.useState(!1),l=e.orientation==="horizontal",c=Tu(()=>{if(n.viewport){const u=n.viewport.offsetWidth<n.viewport.scrollWidth,d=n.viewport.offsetHeight<n.viewport.scrollHeight;a(l?u:d)}},10);return Pi(n.viewport,c),Pi(n.content,c),o.jsx(lt,{present:r||i,children:o.jsx(Pp,{"data-state":i?"visible":"hidden",...s,ref:t})})}),Pp=p.forwardRef((e,t)=>{const{orientation:n="vertical",...r}=e,s=Bt(En,e.__scopeScrollArea),i=p.useRef(null),a=p.useRef(0),[l,c]=p.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),u=nj(l.viewport,l.content),d={...r,sizes:l,onSizesChange:c,hasThumb:u>0&&u<1,onThumbChange:h=>i.current=h,onThumbPointerUp:()=>a.current=0,onThumbPointerDown:h=>a.current=h};function f(h,m){return iO(h,a.current,l,m)}return n==="horizontal"?o.jsx(eO,{...d,ref:t,onThumbPositionChange:()=>{if(s.viewport&&i.current){const h=s.viewport.scrollLeft,m=Py(h,l,s.dir);i.current.style.transform=`translate3d(${m}px, 0, 0)`}},onWheelScroll:h=>{s.viewport&&(s.viewport.scrollLeft=h)},onDragScroll:h=>{s.viewport&&(s.viewport.scrollLeft=f(h,s.dir))}}):n==="vertical"?o.jsx(tO,{...d,ref:t,onThumbPositionChange:()=>{if(s.viewport&&i.current){const h=s.viewport.scrollTop,m=Py(h,l);i.current.style.transform=`translate3d(0, ${m}px, 0)`}},onWheelScroll:h=>{s.viewport&&(s.viewport.scrollTop=h)},onDragScroll:h=>{s.viewport&&(s.viewport.scrollTop=f(h))}}):null}),eO=p.forwardRef((e,t)=>{const{sizes:n,onSizesChange:r,...s}=e,i=Bt(En,e.__scopeScrollArea),[a,l]=p.useState(),c=p.useRef(null),u=fe(t,c,i.onScrollbarXChange);return p.useEffect(()=>{c.current&&l(getComputedStyle(c.current))},[c]),o.jsx(JS,{"data-orientation":"horizontal",...s,ref:u,sizes:n,style:{bottom:0,left:i.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:i.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":ju(n)+"px",...e.style},onThumbPointerDown:d=>e.onThumbPointerDown(d.x),onDragScroll:d=>e.onDragScroll(d.x),onWheelScroll:(d,f)=>{if(i.viewport){const h=i.viewport.scrollLeft+d.deltaX;e.onWheelScroll(h),sj(h,f)&&d.preventDefault()}},onResize:()=>{c.current&&i.viewport&&a&&r({content:i.viewport.scrollWidth,viewport:i.viewport.offsetWidth,scrollbar:{size:c.current.clientWidth,paddingStart:Sc(a.paddingLeft),paddingEnd:Sc(a.paddingRight)}})}})}),tO=p.forwardRef((e,t)=>{const{sizes:n,onSizesChange:r,...s}=e,i=Bt(En,e.__scopeScrollArea),[a,l]=p.useState(),c=p.useRef(null),u=fe(t,c,i.onScrollbarYChange);return p.useEffect(()=>{c.current&&l(getComputedStyle(c.current))},[c]),o.jsx(JS,{"data-orientation":"vertical",...s,ref:u,sizes:n,style:{top:0,right:i.dir==="ltr"?0:void 0,left:i.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":ju(n)+"px",...e.style},onThumbPointerDown:d=>e.onThumbPointerDown(d.y),onDragScroll:d=>e.onDragScroll(d.y),onWheelScroll:(d,f)=>{if(i.viewport){const h=i.viewport.scrollTop+d.deltaY;e.onWheelScroll(h),sj(h,f)&&d.preventDefault()}},onResize:()=>{c.current&&i.viewport&&a&&r({content:i.viewport.scrollHeight,viewport:i.viewport.offsetHeight,scrollbar:{size:c.current.clientHeight,paddingStart:Sc(a.paddingTop),paddingEnd:Sc(a.paddingBottom)}})}})}),[nO,XS]=KS(En),JS=p.forwardRef((e,t)=>
vendor: 6,771 bytes, line 543
543{const{__scopeScrollArea:n,sizes:r,hasThumb:s,onThumbChange:i,onThumbPointerUp:a,onThumbPointerDown:l,onThumbPositionChange:c,onDragScroll:u,onWheelScroll:d,onResize:f,...h}=e,m=Bt(En,n),[b,g]=p.useState(null),w=fe(t,P=>g(P)),v=p.useRef(null),y=p.useRef(""),x=m.viewport,k=r.content-r.viewport,S=De(d),j=De(c),T=Tu(f,10);function N(P){if(v.current){const z=P.clientX-v.current.left,L=P.clientY-v.current.top;u({x:z,y:L})}}return p.useEffect(()=>{const P=z=>{const L=z.target;(b==null?void 0:b.contains(L))&&S(z,k)};return document.addEventListener("wheel",P,{passive:!1}),()=>document.removeEventListener("wheel",P,{passive:!1})},[x,b,k,S]),p.useEffect(j,[r,j]),Pi(b,T),Pi(m.content,T),o.jsx(nO,{scope:n,scrollbar:b,hasThumb:s,onThumbChange:De(i),onThumbPointerUp:De(a),onThumbPositionChange:j,onThumbPointerDown:De(l),children:o.jsx(ne.div,{...h,ref:w,style:{position:"absolute",...h.style},onPointerDown:$(e.onPointerDown,P=>{P.button===0&&(P.target.setPointerCapture(P.pointerId),v.current=b.getBoundingClientRect(),y.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",m.viewport&&(m.viewport.style.scrollBehavior="auto"),N(P))}),onPointerMove:$(e.onPointerMove,N),onPointerUp:$(e.onPointerUp,P=>{const z=P.target;z.hasPointerCapture(P.pointerId)&&z.releasePointerCapture(P.pointerId),document.body.style.webkitUserSelect=y.current,m.viewport&&(m.viewport.style.scrollBehavior=""),v.current=null})})})}),kc="ScrollAreaThumb",ej=p.forwardRef((e,t)=>{const{forceMount:n,...r}=e,s=XS(kc,e.__scopeScrollArea);return o.jsx(lt,{present:n||s.hasThumb,children:o.jsx(rO,{ref:t,...r})})}),rO=p.forwardRef((e,t)=>{const{__scopeScrollArea:n,style:r,...s}=e,i=Bt(kc,n),a=XS(kc,n),{onThumbPositionChange:l}=a,c=fe(t,f=>a.onThumbChange(f)),u=p.useRef(void 0),d=Tu(()=>{u.current&&(u.current(),u.current=void 0)},100);return p.useEffect(()=>{const f=i.viewport;if(f){const h=()=>{if(d(),!u.current){const m=oO(f,l);u.current=m,l()}};return l(),f.addEventListener("scroll",h),()=>f.removeEventListener("scroll",h)}},[i.viewport,d,l]),o.jsx(ne.div,{"data-state":a.hasThumb?"visible":"hidden",...s,ref:c,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...r},onPointerDownCapture:$(e.onPointerDownCapture,f=>{const m=f.target.getBoundingClientRect(),b=f.clientX-m.left,g=f.clientY-m.top;a.onThumbPointerDown({x:b,y:g})}),onPointerUp:$(e.onPointerUp,a.onThumbPointerUp)})});ej.displayName=kc;var Ap="ScrollAreaCorner",tj=p.forwardRef((e,t)=>{const n=Bt(Ap,e.__scopeScrollArea),r=!!(n.scrollbarX&&n.scrollbarY);return n.type!=="scroll"&&r?o.jsx(sO,{...e,ref:t}):null});tj.displayName=Ap;var sO=p.forwardRef((e,t)=>{const{__scopeScrollArea:n,...r}=e,s=Bt(Ap,n),[i,a]=p.useState(0),[l,c]=p.useState(0),u=!!(i&&l);return Pi(s.scrollbarX,()=>{var f;const d=((f=s.scrollbarX)==null?void 0:f.offsetHeight)||0;s.onCornerHeightChange(d),c(d)}),Pi(s.scrollbarY,()=>{var f;const d=((f=s.scrollbarY)==null?void 0:f.offsetWidth)||0;s.onCornerWidthChange(d),a(d)}),u?o.jsx(ne.div,{...r,ref:t,style:{width:i,height:l,position:"absolute",right:s.dir==="ltr"?0:void 0,left:s.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null});function Sc(e){return e?parseInt(e,10):0}function nj(e,t){const n=e/t;return isNaN(n)?0:n}function ju(e){const t=nj(e.viewport,e.content),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,r=(e.scrollbar.size-n)*t;return Math.max(r,18)}function iO(e,t,n,r="ltr"){const s=ju(n),i=s/2,a=t||i,l=s-a,c=n.scrollbar.paddingStart+a,u=n.scrollbar.size-n.scrollbar.paddingEnd-l,d=n.content-n.viewport,f=r==="ltr"?[0,d]:[d*-1,0];return rj([c,u],f)(e)}function Py(e,t,n="ltr"){const r=ju(t),s=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,i=t.scrollbar.size-s,a=t.content-t.viewport,l=i-r,c=n==="ltr"?[0,a]:[a*-1,0],u=Y5(e,c);return rj([0,a],[0,l])(u)}function rj(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function sj(e,t){return e>0&&e<t}var oO=(e,t=()=>{})=>{let n={left:e.scrollLeft,top:e.scrollTop},r=0;return function s(){const i={left:e.scrollLeft,top:e.scrollTop},a=n.left!==i.left,l=n.top!==i.top;(a||l)&&t(),n=i,r=window.requestAnimationFrame(s)}(),()=>window.cancelAnimationFrame(r)};function Tu(e,t){const n=De(e),r=p.useRef(0);return p.useEffect(()=>()=>window.clearTimeout(r.current),[]),p.useCallback(()=>{window.clearTimeout(r.current),r.current=window.setTimeout(n,t)},[n,t])}function Pi(e,t){const n=De(t);jn(()=>{let r=0;if(e){const s=new ResizeObserver(()=>{cancelAnimationFrame(r),r=window.requestAnimationFrame(n)});return s.observe(e),()=>{window.cancelAnimationFrame(r),s.unobserve(e)}}},[e,n])}var ij=ZS,aO=qS,lO=tj;const oj=p.forwardRef(({className:e,children:t,...n},r)=>o.jsxs(ij,{ref:r,className:Y("relative overflow-hidden",e),...n,children:[o.jsx(aO,{className:"h-full w-full rounded-[inherit]",children:t}),o.jsx(aj,{}),o.jsx(lO,{})]}));oj.displayName=ij.displayName;const aj=p.forwardRef(({className:e,orientation:t="vertical",...n},r)=>o.jsx(Ep,{ref:r,orientation:t,className:Y("flex touch-none select-none transition-colors",t==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",e),...n,children:o.jsx(ej,{className:"relative flex-1 rounded-full bg-border"})}));aj.displayName=Ep.displayName;const Dd="/assets/szechenyi-terv-plusz-Bb2ZSj6O.jpg";function lj({variant:e="card"}){const t=e==="card"?o.jsxs("button",{type:"button",className:"group block w-full bg-white rounded-lg p-4 md:p-6 shadow-sm hover:shadow-lg transition-all border border-border hover:border-primary/40","aria-label":"Pályázat részletei",children:[o.jsx("img",{src:Dd,alt:"Széchenyi Terv Plusz - Európai Uniós támogatás",className:"w-full max-w-3xl mx-auto h-auto group-hover:scale-[1.02] transition-transform"}),o.jsx("p",{className:"text-center text-sm text-muted-foreground mt-3 group-hover:text-primary transition-colors",children:"Kattintson a pályázat részleteiért"})]}):o.jsx("button",{type:"button",className:"inline-block hover:opacity-80 transition-opacity","aria-label":"Pályázat részletei",children:o.jsx("img",{src:Dd,alt:"Széchenyi Terv Plusz",className:"h-16 md:h-20 w-auto bg-white rounded p-2"})});return o.jsxs(wu,{children:[o.jsx(HS,{asChild:!0,children:t}),o.jsxs(ka,{className:"max-w-3xl max-h-[90vh] p-0",children:[o.jsx(ku,{className:"px-6 pt-6",children:o.jsx(Su,{className:"text-xl md:text-2xl",children:"Európai uniós támogatással megvalósuló fejlesztés"})}),o.jsx(oj,{className:"max-h-[75vh] px-6 pb-6",children:o.jsxs("div",{className:"space-y-4 text-sm md:text-base",children:[o.jsx("img",{src:Dd,alt:"Széchenyi Terv Plusz",className:"w-full h-auto rounded border border-border my-4"}
543),o.jsx("p",{children:"A SÁRGÉPSZER Alkatrészgyártó és Kereskedelmi Kft. európai uniós támogatás segítségével valósítja meg fejlesztési projektjét, amelynek célja a vállalkozás technológiai korszerűsítése és versenyképességének növelése."}),o.jsxs("div",{children:[o.jsx("p",{className:"font-semibold",children:"A kedvezményezett neve:"}),o.jsx("p",{children:"SÁRGÉPSZER Alkatrészgyártó és Kereskedelmi Korlátolt Felelősségű Társaság"})]}),o.jsxs("p",{children:[o.jsx("span",{className:"font-semibold",children:"A projekt címe:"})," Modernizáció a Sárgépszer Kft.-nél"]}),o.jsxs("p",{children:[o.jsx("span",{className:"font-semibold",children:"Projekt azonosító száma:"})," GINOP_PLUSZ-1.2.4-25-2025-00858"]}),o.jsxs("div",{children:[o.jsx("p",{className:"font-semibold",children:"A projekt megvalósításának helyszíne:"}),o.jsx("p",{children:"3950 Sárospatak, Wesselényi út 34. (1873/3, 1873/14, 1873/15 hrsz.)"})]}),o.jsxs("div",{children:[o.jsx("p",{className:"font-semibold",children:"Szerződött támogatás összege:"}),o.jsx("p",{children:"28 516 165 Ft, azaz huszonnyolcmillió-ötszáztizenhatezer-százhatvanöt forint"})]}),o.jsxs("p",{children:[o.jsx("span",{className:"font-semibold",children:"A projekt összköltsége:"})," 57 032 330 Ft"]}),o.jsxs("p",{children:[o.jsx("span",{className:"font-semibold",children:"A támogatás intenzitása:"})," 50%"]}),o.jsxs("div",{children:[o.jsx("p",{className:"font-semibold mb-1",children:"A projekt tartalmának bemutatása"}),o.jsx("p",{children:"A projekt keretében a SÁRGÉPSZER Kft. átfogó modernizációt hajt végre, amely magában foglalja új, korszerű technológiai eszközök beszerzését, informatikai fejlesztéseket, valamint a termelési folyamatok hatékonyságát növelő megoldások bevezetését. A fejlesztés célja a gyártási kapacitás növelése, a minőség javítása, valamint a vállalkozás hosszú távú, fenntartható működésének biztosítása. A projekt hozzájárul a piaci versenyképesség erősítéséhez és a gazdasági stabilitás növeléséhez."})]}),o.jsxs("div",{children:[o.jsx("p",{className:"font-semibold mb-1",children:"A projekt megvalósításának időtartama"}),o.jsx("p",{children:"A projekt megkezdése: 2025. szeptember 1."}),o.jsx("p",{children:"A projekt tervezett fizikai befejezése: 2026. december 31."})]}),o.jsxs("div",{className:"pt-2 border-t border-border",children:[o.jsx("p",{className:"font-semibold mb-1",children:"Európai uniós támogatás elismerése"}),o.jsx("p",{className:"uppercase font-medium",children:"A projekt az Európai Unió támogatásával, a Magyar Állam társfinanszírozásával valósult meg."})]})]})})]})]})}const cO=1,uO="d1471650-26f6-47ae-87c9-13df7a3b699a",dO="458e169b-1f0c-4d42-af1a-8c57a22fd184",fO="/__l5e/assets-v1/d1471650-26f6-47ae-87c9-13df7a3b699a/iso-9001-tanusitvany.pdf",hO="a/v1/458e169b-1f0c-4d42-af1a-8c57a22fd184/d1471650-26f6-47ae-87c9-13df7a3b699a/iso-9001-tanusitvany.pdf",mO="iso-9001-tanusitvany.pdf",pO=260164,gO="application/pdf",vO="2026-09-08T06:34:33Z",Al={version:cO,asset_id:uO,project_id:dO,url:fO,r2_key:hO,original_filename:mO,size:pO,content_type:gO,created_at:vO},yO=[{key:"partsManufacturing",href:"/alkatresz-gyartas"},{key:"gears",href:"/fogaskerekek"},{key:"reverseEngineering",href:"/reverse-engineering"},{key:"largeParts",href:"/nagy-alkatreszek"}];function xO(){const{t:e}=yt();return o.jsxs("footer",{className:"bg-industrial-dark text-primary-foreground",children:[o.jsx("div",{className:"container-wide py-12 md:py-16",children:o.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8 lg:gap-12",children:[o.jsxs("div",{className:"lg:col-span-1",children:[o.jsx("div",{className:"mb-4",children:o.jsx("img",{src:US,alt:"SÁRGÉPSZER Kft.",className:"h-32 w-auto object-contain"})}),o.jsx("p",{className:"text-sm text-primary-foreground/70 mb-4 leading-relaxed",children:e.footer.companyDesc}),o.jsxs("a",{href:Al.url,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 text-sm text-accent hover:underline",children:[o.jsx(Nl,{className:"h-4 w-4"}),o.jsx("span",{children:"ISO 9001:2015"})]})]}),o.jsxs("div",{children:[o.jsx("h3",{className:"font-semibold text-base mb-4",children:e.footer.services}),o.jsxs("ul",{className:"space-y-2",children:[yO.map(t=>o.jsx("li",{children:o.jsx(Z,{to:t.href,className:"text-sm text-primary-foreground
543/70 hover:text-accent transition-colors",children:e.nav[t.key]})},t.href)),o.jsx("li",{children:o.jsx(Z,{to:"/cnc-megmunkalas",className:"text-sm text-primary-foreground/70 hover:text-accent transition-colors",children:e.nav.cncMachining})})]})]}),o.jsxs("div",{children:[o.jsx("h3",{className:"font-semibold text-base mb-4",children:e.footer.contact}),o.jsxs("ul",{className:"space-y-3",children:[o.jsxs("li",{className:"flex items-start gap-3 text-sm",children:[o.jsx(tk,{className:"h-4 w-4 mt-0.5 text-accent shrink-0"}),o.jsx("span",{className:"text-primary-foreground/70",children:"3950 Sárospatak, Wesselényi út 34."})]}),o.jsxs("li",{className:"flex items-start gap-3 text-sm",children:[o.jsx(Ko,{className:"h-4 w-4 mt-0.5 text-accent shrink-0"}),o.jsxs("div",{className:"text-primary-foreground/70",children:[o.jsx("div",{children:"+36 47 511 395"}),o.jsx("div",{children:"+36 20 286-3341"})]})]}),o.jsxs("li",{className:"flex items-start gap-3 text-sm",children:[o.jsx(rh,{className:"h-4 w-4 mt-0.5 text-accent shrink-0"}),o.jsxs("div",{className:"flex flex-col gap-1",children:[o.jsx("a",{href:"mailto:[email protected]",className:"text-primary-foreground/70 hover:text-accent transition-colors",children:"[email protected]"}),o.jsx("a",{href:"mailto:[email protected]",className:"text-primary-foreground/70 hover:text-accent transition-colors",children:"[email protected]"})]})]}),o.jsxs("li",{className:"flex items-start gap-3 text-sm",children:[o.jsx(ai,{className:"h-4 w-4 mt-0.5 text-accent shrink-0"}),o.jsx("span",{className:"text-primary-foreground/70",children:e.contact.weekdays})]})]})]}),o.jsxs("div",{children:[o.jsx("h3",{className:"font-semibold text-base mb-4",children:e.footer.inNumbers}),o.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[o.jsxs("div",{className:"text-center p-3 rounded-lg bg-primary-foreground/5",children:[o.jsx("div",{className:"text-2xl font-bold text-accent",children:"30+"}),o.jsx("div",{className:"text-xs text-primary-foreground/70",children:e.common.yearsExperience})]}),o.jsxs("div",{className:"text-center p-3 rounded-lg bg-primary-foreground/5",children:[o.jsx("div",{className:"text-2xl font-bold text-accent",children:"30+"}),o.jsx("div",{className:"text-xs text-primary-foreground/70",children:e.common.machines})]}),o.jsxs("div",{className:"text-center p-3 rounded-lg bg-primary-foreground/5",children:[o.jsx("div",{className:"text-2xl font-bold text-accent",children:"1000"}),o.jsx("div",{className:"text-xs text-primary-foreground/70",children:e.common.hallArea})]}),o.jsxs("div",{className:"text-center p-3 rounded-lg bg-primary-foreground/5",children:[o.jsx("div",{className:"text-2xl font-bold text-accent",children:"30+"}),o.jsx("div",{className:"text-xs text-primary-foreground/70",children:e.common.specialists})]})]})]})]})}),o.jsx("div",{className:"border-t border-primary-foreground/10",children:o.jsxs("div",{className:"container-wide py-4 flex flex-col sm:flex-row items-center justify-center gap-4",children:[o.jsx(lj,{variant:"inline"}),o.jsx("p",{className:"text-xs text-center text-primary-foreground/70 max-w-xl",children:e.footer.euFunding})]})}),o.jsx("div",{className:"border-t border-primary-foreground/10",children:o.jsxs("div",{className:"container-wide py-4 flex flex-col sm:flex-row items-center justify-between gap-4",children:[o.jsxs("p",{className:"text-xs text-primary-foreground/50",children:["© ",new Date().getFullYear()," SÁRGÉPSZER Kft. ",e.footer.allRightsReserved]}),o.jsxs("div",{className:"flex items-center gap-4 text-xs text-primary-foreground/50",children:[o.jsx(Z,{to:"/adatkezelesi-iranyelvek",className:"hover:text-accent transition-colors",children:e.footer.privacy}),o.jsx(Z,{to:"/",className:"hover:text-accent transition-colors",children:e.footer.imprint})]})]})})]})}function bO({children:e}){return o.jsxs("div",{className:"min-h-screen flex flex-col",children:[o.jsx(K5,{}),o.jsx("main",{className:"flex-1",children:e}),o.jsx(xO,{})]})}function wO(){const{hash:e,pathname:t}=Yn();return p.useEffect(()=>{if(e){const n=document.querySelector(e);n&&n.scrollIntoView({behavior:"smooth"})}else window.scrollTo({top:0,behavior:"smooth"})},[e,t]),null}const oe=p.forwardRef(({className:e,...t},n)=>o.jsx("div",{ref:n,className:Y("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t}));
vendor: 10,380 bytes, line 543
543oe.displayName="Card";const fr=p.forwardRef(({className:e,...t},n)=>o.jsx("div",{ref:n,className:Y("flex flex-col space-y-1.5 p-6",e),...t}));fr.displayName="CardHeader";const hr=p.forwardRef(({className:e,...t},n)=>o.jsx("h3",{ref:n,className:Y("text-2xl font-semibold leading-none tracking-tight",e),...t}));hr.displayName="CardTitle";const kO=p.forwardRef(({className:e,...t},n)=>o.jsx("p",{ref:n,className:Y("text-sm text-muted-foreground",e),...t}));kO.displayName="CardDescription";const ue=p.forwardRef(({className:e,...t},n)=>o.jsx("div",{ref:n,className:Y("p-6 pt-0",e),...t}));ue.displayName="CardContent";const SO=p.forwardRef(({className:e,...t},n)=>o.jsx("div",{ref:n,className:Y("flex items-center p-6 pt-0",e),...t}));SO.displayName="CardFooter";const cj=p.createContext({});function jO(e){const t=p.useRef(null);return t.current===null&&(t.current=e()),t.current}const TO=typeof window<"u",CO=TO?p.useLayoutEffect:p.useEffect,Mp=p.createContext(null);function Rp(e,t){e.indexOf(t)===-1&&e.push(t)}function jc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Cn=(e,t,n)=>n>t?t:n<e?e:n;let Cu=()=>{},Ai=()=>{};const Fr={},uj=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function dj(e){return typeof e=="object"&&e!==null}const fj=e=>/^0[^.\s]+$/u.test(e);function hj(e){let t;return()=>(t===void 0&&(t=e()),t)}const _t=e=>e,NO=(e,t)=>n=>t(e(n)),Sa=(...e)=>e.reduce(NO),ra=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class Dp{constructor(){this.subscriptions=[]}add(t){return Rp(this.subscriptions,t),()=>jc(this.subscriptions,t)}notify(t,n,r){const s=this.subscriptions.length;if(s)if(s===1)this.subscriptions[0](t,n,r);else for(let i=0;i<s;i++){const a=this.subscriptions[i];a&&a(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const vt=e=>e*1e3,It=e=>e/1e3;function mj(e,t){return t?e*(1e3/t):0}const pj=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,zO=1e-7,EO=12;function PO(e,t,n,r,s){let i,a,l=0;do a=t+(n-t)/2,i=pj(a,r,s)-e,i>0?n=a:t=a;while(Math.abs(i)>zO&&++l<EO);return a}function ja(e,t,n,r){if(e===t&&n===r)return _t;const s=i=>PO(i,0,1,e,n);return i=>i===0||i===1?i:pj(s(i),t,r)}const gj=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,vj=e=>t=>1-e(1-t),yj=ja(.33,1.53,.69,.99),Ip=vj(yj),xj=gj(Ip),bj=e=>e>=1?1:(e*=2)<1?.5*Ip(e):.5*(2-Math.pow(2,-10*(e-1))),Op=e=>1-Math.sin(Math.acos(e)),wj=vj(Op),kj=gj(Op),AO=ja(.42,0,1,1),MO=ja(0,0,.58,1),Sj=ja(.42,0,.58,1),RO=e=>Array.isArray(e)&&typeof e[0]!="number",jj=e=>Array.isArray(e)&&typeof e[0]=="number",Ay={linear:_t,easeIn:AO,easeInOut:Sj,easeOut:MO,circIn:Op,circInOut:kj,circOut:wj,backIn:Ip,backInOut:xj,backOut:yj,anticipate:bj},DO=e=>typeof e=="string",My=e=>{if(jj(e)){Ai(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,r,s]=e;return ja(t,n,r,s)}else if(DO(e))return Ai(Ay[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),Ay[e];return e},sl=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],Ry={value:null,addProjectionMetrics:null};function IO(e,t){let n=new Set,r=new Set,s=!1,i=!1;const a=new WeakSet;let l={delta:0,timestamp:0,isProcessing:!1},c=0;function u(f){a.has(f)&&(d.schedule(f),e()),c++,f(l)}const d={schedule:(f,h=!1,m=!1)=>{const g=m&&s?n:r;return h&&a.add(f),g.add(f),f},cancel:f=>{r.delete(f),a.delete(f)},process:f=>{if(l=f,s){i=!0;return}s=!0;const h=n;n=r,r=h,n.forEach(u),t&&Ry.value&&Ry.value.frameloop[t].push(c),c=0,n.clear(),s=!1,i&&(i=!1,d.process(f))}};return d}const OO=40;function Tj(e,t){let n=!1,r=!0;const s={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,a=sl.reduce((x,k)=>(x[k]=IO(i,t?k:void 0),x),{}),{setup:l,read:c,resolveKeyframes:u,preUpdate:d,update:f,preRender:h,render:m,postRender:b}=a,g=()=>{const x=Fr.useManualTiming,k=x?s.timestamp:performance.now();n=!1,x||(s.delta=r?1e3/60:Math.max(Math.min(k-s.timestamp,OO),1)),s.timestamp=k,s.isProcessing=!0,l.process(s),c.process(s),u.process(s),d.process(s),f.process(s),h.process(s),m.process(s),b.process(s),s.isProcessing=!1,n&&t&&(r=!1,e(g))},w=()=>{n=!0,r=!0,s.isProcessing||e(g)};return{schedule:sl.reduce((x,k)=>{const S=a[k];return x[k]=(j,T=!1,N=!1)=>(n||w(),S.schedule(j,T,N)),x},{}),cancel:x=>{for(let k=0;k<sl.length;k++)a[sl[k]].cancel(x)},state:s,steps:a}}const{schedule:me,cancel:Vr,state:Ue,steps:Id}=Tj(typeof requestAnimationFrame<"u"?requestAnimationFrame:_t,!0);let Ml;function LO(){Ml=void 0}const rt={now:()=>(Ml===void 0&&rt.set(Ue.isProcessing||Fr.useManualTiming?Ue.timestamp:performance.now()),Ml),set:e=>{Ml=e,queueMicrotask(LO)}},Cj=e=>t=>typeof t=="string"&&t.startsWith(e),Nj=Cj("--"),_O=Cj("var(--"),Lp=e=>_O(e)?FO.test(e.split("/*")[0].trim()):!1,FO=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Dy(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const Hi={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},sa={...Hi,transform:e=>Cn(0,1,e)},il={...Hi,default:1},To=e=>Math.round(e*1e5)/1e5,_p=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function VO(e){return e==null}const BO=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Fp=(e,t)=>n=>!!(typeof n=="string"&&BO.test(n)&&n.startsWith(e)||t&&!VO(n)&&Object.prototype.hasOwnProperty.call(n,t)),zj=(e,t,n)=>r=>{if(typeof r!="string")return r;const[s,i,a,l]=r.match(_p);return{[e]:parseFloat(s),[t]:parseFloat(i),[n]:parseFloat(a),alpha:l!==void 0?parseFloat(l):1}},$O=e=>Cn(0,255,e),Od={...Hi,transform:e=>Math.round($O(e))},ns={test:Fp("rgb","red"),parse:zj("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Od.transform(e)+", "+Od.transform(t)+", "+Od.transform(n)+", "+To(sa.transform(r))+")"};function UO(e){let t="",n="",r="",s="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),s=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),s=e.substring(4,5),t+=t,n+=n,r+=r,s+=s),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:s?parseInt(s,16)/255:1}}const wh={test:Fp("#"),parse:UO,transform:ns.transform},Ta=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),or=Ta("deg"),Sn=Ta("%"),U=Ta("px"),HO=Ta("vh"),GO=Ta("vw"),Iy={...Sn,parse:e=>Sn.parse(e)/100,transform:e=>Sn.transform(e*100)},qs={test:Fp("hsl","hue"),parse:zj("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Sn.transform(To(t))+", "+Sn.transform(To(n))+", "+To(sa.transform(r))+")"},Me={test:e=>ns.test(e)||wh.test(e)||qs.test(e),parse:e=>ns.test(e)?ns.parse(e):qs.test(e)?qs.parse(e):wh.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?ns.transform(e):qs.transform(e),getAnimatableNone:e=>{const t=Me.parse(e);return t.alpha=0,Me.transform(t)}},WO=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function KO(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(_p))==null?void 0:t.length)||0)+(((n=e.match(WO))==null?void 0:n.length)||0)>0}const Ej="number",Pj="color",ZO="var",YO="var(",Oy="${}",qO=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Mi(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},s=[];let i=0;const l=t.replace(qO,c=>(Me.test(c)?(r.color.push(i),s.push(Pj),n.push(Me.parse(c))):c.startsWith(YO)?(r.var.push(i),s.push(ZO),n.push(c)):(r.number.push(i),s.push(Ej),n.push(parseFloat(c))),++i,Oy)).split(Oy);return{values:n,split:l,indexes:r,types:s}}function QO(e){return Mi(e).values}function Aj({split:e,types:t}){const n=e.length;return r=>{let s="";for(let i=0;i<n;i++)if(s+=e[i],r[i]!==void 0){const a=t[i];a===Ej?s+=To(r[i]):a===Pj?s+=Me.transform(r[i]):s+=r[i]}return s}}function XO(e){return Aj(Mi(e))}const JO=e=>typeof e=="number"?0:Me.test(e)?Me.getAnimatableNone(e):e,eL=(e,t)=>typeof e=="number"?t!=null&&t.trim().endsWith("/")?e:0:JO(e);function tL(e){const t=Mi(e);return Aj(t)(t.values.map((r,s)=>eL(r,t.split[s])))}const sn={test:KO,parse:QO,createTransformer:XO,getAnimatableNone:tL};function Ld(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function nL({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let s=0,i=0,a=0;if(!t)s=i=a=n;else{const l=n<.5?n*(1+t):n+t-n*t,c=2*n-l;s=Ld(c,l,e+1/3),i=Ld(c,l,e),a=Ld(c,l,e-1/3)}return{red:Math.round(s*255),green:Math.round(i*255),blue:Math.round(a*255),alpha:r}}function Tc(e,t){return n=>n>0?t:e}const ye=(e,t,n)=>e+(t-e)*n,_d=(e,t,n)=>{const r=e*e,s=n*(t*t-r)+r;return s<0?0:Math.sqrt(s)},rL=[wh,ns,qs],sL=e=>rL.find(t=>t.test(e));function Ly(e){const t=sL(e);if(Cu(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let n=t.parse(e);return t===qs&&(n=nL(n)),n}const _y=(e,t)=>{const n=Ly(e),r=Ly(t);if(!n||!r)return Tc(e,t);const s={...n};return i=>(s.red=_d(n.red,r.red,i),s.green=_d(n.green,r.green,i),s.blue=_d(n.blue,r.blue,i),s.alpha=ye(n.alpha,r.alpha,i),ns.transform(s))},kh=new Set(["none","hidden"]);function iL(e,t){return kh.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function oL(e,t){return n=>ye(e,t,n)}function Vp(e){return typeof e=="number"?oL:typeof e=="string"?Lp(e)?Tc:Me.test(e)?_y:cL:Array.isArray(e)?Mj:typeof e=="object"?Me.test(e)?_y:aL:Tc}function Mj(e,t){const n=[...e],r=n.length,s=e.map((i,a)=>Vp(i)(i,t[a]));return i=>{for(let a=0;a<r;a++)n[a]=s[a](i);return n}}function aL(e,t){const n={...e,...t},r={};for(const s in n)e[s]!==void 0&&t[s]!==void 0&&(r[s]=Vp(e[s])(e[s],t[s]));return s=>{for(const i in r)n[i]=r[i](s);return n}}function lL(e,t){const n=[],r={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){const i=t.types[s],a=e.indexes[i][r[i]],l=e.values[a]??0;n[s]=l,r[i]++}return n}const cL=(e,t)=>{const n=sn.createTransformer(t),r=Mi(e),s=Mi(t);return r.indexes.var.length===s.indexes.var.length&&r.indexes.color.length===s.indexes.color.length&&r.indexes.number.length>=s.indexes.number.length?kh.has(e)&&!s.values.length||kh.has(t)&&!r.values.length?iL(e,t):Sa(Mj(lL(r,s),s.values),n):(Cu(!0,`Complex values '${e}' and '${t}
543' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),Tc(e,t))};function Rj(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?ye(e,t,n):Vp(e)(e,t)}const uL=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>me.update(t,n),stop:()=>Vr(t),now:()=>Ue.isProcessing?Ue.timestamp:rt.now()}},Dj=(e,t,n=10)=>{let r="";const s=Math.max(Math.round(t/n),2);for(let i=0;i<s;i++)r+=Math.round(e(i/(s-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},Cc=2e4;function Bp(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Cc;)t+=n,r=e.next(t);return t>=Cc?1/0:t}function dL(e,t=100,n){const r=n({...e,keyframes:[0,t]}),s=Math.min(Bp(r),Cc);return{type:"keyframes",ease:i=>r.next(s*i).value/t,duration:It(s)}}const Se={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function Sh(e,t){return e*Math.sqrt(1-t*t)}const fL=12;function hL(e,t,n){let r=n;for(let s=1;s<fL;s++)r=r-e(r)/t(r);return r}const Fd=.001;function mL({duration:e=Se.duration,bounce:t=Se.bounce,velocity:n=Se.velocity,mass:r=Se.mass}){let s,i;Cu(e<=vt(Se.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let a=1-t;a=Cn(Se.minDamping,Se.maxDamping,a),e=Cn(Se.minDuration,Se.maxDuration,It(e)),a<1?(s=u=>{const d=u*a,f=d*e,h=d-n,m=Sh(u,a),b=Math.exp(-f);return Fd-h/m*b},i=u=>{const f=u*a*e,h=f*n+n,m=Math.pow(a,2)*Math.pow(u,2)*e,b=Math.exp(-f),g=Sh(Math.pow(u,2),a);return(-s(u)+Fd>0?-1:1)*((h-m)*b)/g}):(s=u=>{const d=Math.exp(-u*e),f=(u-n)*e+1;return-Fd+d*f},i=u=>{const d=Math.exp(-u*e),f=(n-u)*(e*e);return d*f});const l=5/e,c=hL(s,i,l);if(e=vt(e),isNaN(c))return{stiffness:Se.stiffness,damping:Se.damping,duration:e};{const u=Math.pow(c,2)*r;return{stiffness:u,damping:a*2*Math.sqrt(r*u),duration:e}}}const pL=["duration","bounce"],gL=["stiffness","damping","mass"];function Fy(e,t){return t.some(n=>e[n]!==void 0)}function vL(e){let t={velocity:Se.velocity,stiffness:Se.stiffness,damping:Se.damping,mass:Se.mass,isResolvedFromDuration:!1,...e};if(!Fy(e,gL)&&Fy(e,pL))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),s=r*r,i=2*Cn(.05,1,1-(e.bounce||0))*Math.sqrt(s);t={...t,mass:Se.mass,stiffness:s,damping:i}}else{const n=mL({...e,velocity:0});t={...t,...n,mass:Se.mass},t.isResolvedFromDuration=!0}return t}function Nc(e=Se.visualDuration,t=Se.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:s}=n;const i=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],l={done:!1,value:i},{stiffness:c,damping:u,mass:d,duration:f,velocity:h,isResolvedFromDuration:m}=vL({...n,velocity:-It(n.velocity||0)}),b=h||0,g=u/(2*Math.sqrt(c*d)),w=a-i,v=It(Math.sqrt(c/d)),y=Math.abs(w)<5;r||(r=y?Se.restSpeed.granular:Se.restSpeed.default),s||(s=y?Se.restDelta.granular:Se.restDelta.default);let x,k,S,j,T,N;if(g<1)S=Sh(v,g),j=(b+g*v*w)/S,x=z=>{const L=Math.exp(-g*v*z);return a-L*(j*Math.sin(S*z)+w*Math.cos(S*z))},T=g*v*j+w*S,N=g*v*w-j*S,k=z=>Math.exp(-g*v*z)*(T*Math.sin(S*z)+N*Math.cos(S*z));else if(g===1){x=L=>a-Math.exp(-v*L)*(w+(b+v*w)*L);const z=b+v*w;k=L=>Math.exp(-v*L)*(v*z*L-b)}else{const z=v*Math.sqrt(g*g-1);x=I=>{const K=Math.exp(-g*v*I),V=Math.min(z*I,300);return a-K*((b+g*v*w)*Math.sinh(V)+z*w*Math.cosh(V))/z};const L=(b+g*v*w)/z,O=g*v*L-w*z,W=g*v*w-L*z;k=I=>{const K=Math.exp(-g*v*I),V=Math.min(z*I,300);return K*(O*Math.sinh(V)+W*Math.cosh(V))}}const P={calculatedDuration:m&&f||null,velocity:z=>vt(k(z)),next:z=>{if(!m&&g<1){const O=Math.exp(-g*v*z),W=Math.sin(S*z),I=Math.cos(S*z),K=a-O*(j*W+w*I),V=vt(O*(T*W+N*I));return l.done=Math.abs(V)<=r&&Math.abs(a-K)<=s,l.value=l.done?a:K,l}const L=x(z);if(m)l.done=z>=f;else{const O=vt(k(z));l.done=Math.abs(O)<=r&&Math.abs(a-L)<=s}return l.value=l.done?a:L,l},toString:()=>{const z=Math.min(Bp(P),Cc),L=Dj(O=>P.next(z*O).value,z,30);return z+"ms "+L},toTransition:()=>{}};return P}Nc.applyToOptions=e=>{const t=dL(e,100,Nc);return e.ease=t.ease,e.duration=vt(t.duration),e.type="keyframes",e};const yL=5;function Ij(e,t,n){const r=Math.max(t-yL,0);return mj(n-e(r),t-r)}function jh({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:s=10,bounceStiffness:i=500,modifyTarget:a,min:l,max:c,restDelta:u=.5,restSpeed:d}){const f=e[0],h={done:!1,value:f},m=N=>l!==void 0&&N<l||c!==void 0&&N>c,b=N=>l===void 0?c:c===void 0||Math.abs(l-N)<Math.abs(c-N)?l:c;let g=n*t;const w=f+g,v=a===void 0?w:a(w);v!==w&&(g=v-f);const y=N=>-g*Math.exp(-N/r),x=N=>v+y(N),k=N=>{const P=y(N),z=x(N);h.done=Math.abs(P)<=u,h.value=h.done?v:z};let S,j;const T=N=>{m(h.value)&&(S=N,j=Nc({keyframes:[h.value,b(h.value)],velocity:Ij(x,N,h.value),damping:s,stiffness:i,restDelta:u,restSpeed:d}))};return T(0),{calculatedDuration:null,next:N=>{let P=!1;return!j&&S===void 0&&(P=!0,k(N),T(N)),S!==void 0&&N>=S?j.next(N-S):(!P&&k(N),h)}}}function xL(e,t,n){const r=[],s=n||Fr.mix||Rj,i=e.length-1;for(let a=0;a<i;a++){let l=s(e[a],e[a+1]);if(t){const c=Array.isArray(t)?t[a]||_t:t;l=Sa(c,l)}r.push(l)}return r}function bL(e,t,{clamp:n=!0,ease:r,mixer:s}={}){const i=e.length;if(Ai(i===t.length,"Both input and output ranges must be the same length","range-length"),i===1)return()=>t[0];if(i===2&&t[0]===t[1])return()=>t[1];const a=e[0]===e[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const l=xL(t,r,s),c=l.length,u=d=>{if(a&&d<e[0])return t[0];let f=0;if(c>1)for(;
vendor: 4,114 bytes, line 543
543f<e.length-2&&!(d<e[f+1]);f++);const h=ra(e[f],e[f+1],d);return l[f](h)};return n?d=>u(Cn(e[0],e[i-1],d)):u}function wL(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const s=ra(0,t,r);e.push(ye(n,1,s))}}function kL(e){const t=[0];return wL(t,e.length-1),t}function SL(e,t){return e.map(n=>n*t)}function jL(e,t){return e.map(()=>t||Sj).splice(0,e.length-1)}function Co({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const s=RO(r)?r.map(My):My(r),i={done:!1,value:t[0]},a=SL(n&&n.length===t.length?n:kL(t),e),l=bL(a,t,{ease:Array.isArray(s)?s:jL(t,s)});return{calculatedDuration:e,next:c=>(i.value=l(c),i.done=c>=e,i)}}const TL=e=>e!==null;function Nu(e,{repeat:t,repeatType:n="loop"},r,s=1){const i=e.filter(TL),l=s<0||t&&n!=="loop"&&t%2===1?0:i.length-1;return!l||r===void 0?i[l]:r}const CL={decay:jh,inertia:jh,tween:Co,keyframes:Co,spring:Nc};function Oj(e){typeof e.type=="string"&&(e.type=CL[e.type])}class $p{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const NL=e=>e/100;class zc extends $p{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{var r,s;const{motionValue:n}=this.options;n&&n.updatedAt!==rt.now()&&this.tick(rt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(s=(r=this.options).onStop)==null||s.call(r))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;Oj(t);const{type:n=Co,repeat:r=0,repeatDelay:s=0,repeatType:i,velocity:a=0}=t;let{keyframes:l}=t;const c=n||Co;c!==Co&&typeof l[0]!="number"&&(this.mixKeyframes=Sa(NL,Rj(l[0],l[1])),l=[0,100]);const u=c({...t,keyframes:l});i==="mirror"&&(this.mirroredGenerator=c({...t,keyframes:[...l].reverse(),velocity:-a})),u.calculatedDuration===null&&(u.calculatedDuration=Bp(u));const{calculatedDuration:d}=u;this.calculatedDuration=d,this.resolvedDuration=d+s,this.totalDuration=this.resolvedDuration*(r+1)-s,this.generator=u}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:s,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:l,calculatedDuration:c}=this;if(this.startTime===null)return r.next(0);const{delay:u=0,keyframes:d,repeat:f,repeatType:h,repeatDelay:m,type:b,onUpdate:g,finalKeyframe:w}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const v=this.currentTime-u*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?v<0:v>s;this.currentTime=Math.max(v,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=s);let x=this.currentTime,k=r;if(f){const N=Math.min(this.currentTime,s)/l;let P=Math.floor(N),z=N%1;!z&&N>=1&&(z=1),z===1&&P--,P=Math.min(P,f+1),!!(P%2)&&(h==="reverse"?(z=1-z,m&&(z-=m/l)):h==="mirror"&&(k=a)),x=Cn(0,1,z)*l}let S;y?(this.delayState.value=d[0],S=this.delayState):S=k.next(x),i&&!y&&(S.value=i(S.value));let{done:j}=S;!y&&c!==null&&(j=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);const T=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&j);return T&&b!==jh&&(S.value=Nu(d,this.options,w,this.speed)),g&&g(S.value),T&&this.finish(),S}then(t,n){return this.finished.then(t,n)}get duration(){return It(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+It(t)}get time(){return It(this.currentTime)}set time(t){t=vt(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){const t=this.currentTime;
543if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);const n=this.generator.next(t).value;return Ij(r=>this.generator.next(r).value,t,n)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;n&&this.driver&&this.updateTime(rt.now()),this.playbackSpeed=t,n&&this.driver&&(this.time=It(this.currentTime))}play(){var s,i;if(this.isStopped)return;const{driver:t=uL,startTime:n}=this.options;this.driver||(this.driver=t(a=>this.tick(a))),(i=(s=this.options).onPlay)==null||i.call(s);const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(rt.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var t,n;this.notifyFinished(),this.teardown(),this.state="finished",(n=(t=this.options).onComplete)==null||n.call(t)}cancel(){var t,n;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(n=(t=this.options).onCancel)==null||n.call(t)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var n;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(n=this.driver)==null||n.stop(),t.observe(this)}}function zL(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const rs=e=>e*180/Math.PI,Th=e=>{const t=rs(Math.atan2(e[1],e[0]));return Ch(t)},EL={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Th,rotateZ:Th,skewX:e=>rs(Math.atan(e[1])),skewY:e=>rs(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Ch=e=>
vendor: 8,615 bytes, line 543
543(e=e%360,e<0&&(e+=360),e),Vy=Th,By=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),$y=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),PL={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:By,scaleY:$y,scale:e=>(By(e)+$y(e))/2,rotateX:e=>Ch(rs(Math.atan2(e[6],e[5]))),rotateY:e=>Ch(rs(Math.atan2(-e[2],e[0]))),rotateZ:Vy,rotate:Vy,skewX:e=>rs(Math.atan(e[4])),skewY:e=>rs(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Nh(e){return e.includes("scale")?1:0}function zh(e,t){if(!e||e==="none")return Nh(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,s;if(n)r=PL,s=n;else{const l=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=EL,s=l}if(!s)return Nh(t);const i=r[t],a=s[1].split(",").map(ML);return typeof i=="function"?i(a):a[i]}const AL=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return zh(n,t)};function ML(e){return parseFloat(e.trim())}const Gi=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Wi=new Set(Gi),Uy=e=>e===Hi||e===U,RL=new Set(["x","y","z"]),DL=Gi.filter(e=>!RL.has(e));function IL(e){const t=[];return DL.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const kr={width:({x:e},{paddingLeft:t="0",paddingRight:n="0",boxSizing:r})=>{const s=e.max-e.min;return r==="border-box"?s:s-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t="0",paddingBottom:n="0",boxSizing:r})=>{const s=e.max-e.min;return r==="border-box"?s:s-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>zh(t,"x"),y:(e,{transform:t})=>zh(t,"y")};kr.translateX=kr.x;kr.translateY=kr.y;const ms=new Set;let Eh=!1,Ph=!1,Ah=!1;function Lj(){if(Ph){const e=Array.from(ms).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const s=IL(r);s.length&&(n.set(r,s),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const s=n.get(r);s&&s.forEach(([i,a])=>{var l;(l=r.getValue(i))==null||l.set(a)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Ph=!1,Eh=!1,ms.forEach(e=>e.complete(Ah)),ms.clear()}function _j(){ms.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Ph=!0)})}function OL(){Ah=!0,_j(),Lj(),Ah=!1}class Up{constructor(t,n,r,s,i,a=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=s,this.element=i,this.isAsync=a}scheduleResolve(){this.state="scheduled",this.isAsync?(ms.add(this),Eh||(Eh=!0,me.read(_j),me.resolveKeyframes(Lj))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:s}=this;if(t[0]===null){const i=s==null?void 0:s.get(),a=t[t.length-1];if(i!==void 0)t[0]=i;else if(r&&n){const l=r.readValue(n,a);l!=null&&(t[0]=l)}t[0]===void 0&&(t[0]=a),s&&i===void 0&&s.set(t[0])}zL(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),ms.delete(this)}cancel(){this.state==="scheduled"&&(ms.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const LL=e=>e.startsWith("--");function Fj(e,t,n){LL(t)?e.style.setProperty(t,n):e.style[t]=n}const _L={};function Vj(e,t){const n=hj(e);return()=>_L[t]??n()}const FL=Vj(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),Bj=Vj(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),mo=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Hy={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:mo([0,.65,.55,1]),circOut:mo([.55,0,1,.45]),backIn:mo([.31,.01,.66,-.59]),backOut:mo([.33,1.53,.69,.99])};function $j(e,t){if(e)return typeof e=="function"?Bj()?Dj(e,t):"ease-out":jj(e)?mo(e):Array.isArray(e)?e.map(n=>$j(n,t)||Hy.easeOut):Hy[e]}function VL(e,t,n,{delay:r=0,duration:s=300,repeat:i=0,repeatType:a="loop",ease:l="easeOut",times:c}={},u=void 0){const d={[t]:n};c&&(d.offset=c);const f=$j(l,s);Array.isArray(f)&&(d.easing=f);const h={delay:r,duration:s,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:i+1,direction:a==="reverse"?"alternate":"normal"};return u&&(h.pseudoElement=u),e.animate(d,h)}function Uj(e){return typeof e=="function"&&"applyToOptions"in e}function BL({type:e,...t}){return Uj(e)&&Bj()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class Hj extends $p{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:r,keyframes:s,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:l,onComplete:c}=t;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=t,Ai(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const u=BL(t);this.animation=VL(n,r,s,u,i),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){const d=Nu(s,this.options,l,this.speed);this.updateMotionValue&&this.updateMotionValue(d),Fj(n,r,d),this.animation.cancel()}c==null||c(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,n;(n=(t=this.animation).finish)==null||n.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var n,r,s;const t=(n=this.options)==null?void 0:n.element;!this.isPseudoElement&&(t!=null&&t.isConnected)&&((s=(r=this.animation).commitStyles)==null||s.call(r))}get duration(){var n,r;const t=((r=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:r.call(n).duration)||0;return It(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+It(t)}get time(){return It(Number(this.animation.currentTime)||0)}set time(t){const n=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=vt(t),n&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:n,rangeEnd:r,observe:s}){var i;return this.allowFlatten&&((i=this.animation.effect)==null||i.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&FL()?(this.animation.timeline=t,n&&(this.animation.rangeStart=n),r&&(this.animation.rangeEnd=r),_t):s(this)}}const Gj={anticipate:bj,backInOut:xj,circInOut:kj};function $L(e){return e in Gj}function UL(e){typeof e.ease=="string"&&$L(e.ease)&&(e.ease=Gj[e.ease])}const Vd=10;class HL extends Hj{constructor(t){UL(t),Oj(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:s,element:i,...a}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const l=new zc({...a,autoplay:!1}),c=Math.max(Vd,rt.now()-this.startTime),u=Cn(0,Vd,c-Vd),d=l.sample(c).value,{name:f}=this.options;i&&f&&Fj(i,f,d),n.setWithVelocity(l.sample(Math.max(0,c-u)).value,d,u),l.stop()}}const Gy=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(sn.test(e)||e==="0")&&!e.startsWith("url("));function GL(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function WL(e,t,n,r){const s=e[0];if(s===null)return!1;if(t==="display"||t==="visibility")return!0;const i=e[e.length-1],a=Gy(s,t),l=Gy(i,t);return Cu(a===l,`You are trying to animate ${t} from "${s}" to "${i}". "${a?i:s}" is not an animatable value.`,"value-not-animatable"),!a||!l?!1:GL(e)||(n==="spring"||Uj(n))&&r}function Mh(e){e.duration=0,e.type="keyframes"}const Wj=new Set(["opacity","clipPath","filter","transform"]),KL=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function ZL(e){for(let t=0;t<e.length;
543t++)if(typeof e[t]=="string"&&KL.test(e[t]))return!0;return!1}const YL=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),qL=hj(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function QL(e){var f;const{motionValue:t,name:n,repeatDelay:r,repeatType:s,damping:i,type:a,keyframes:l}=e;if(!(((f=t==null?void 0:t.owner)==null?void 0:f.current)instanceof HTMLElement))return!1;const{onUpdate:u,transformTemplate:d}=t.owner.getProps();return qL()&&n&&(Wj.has(n)||YL.has(n)&&ZL(l))&&(n!=="transform"||!d)&&!u&&!r&&s!=="mirror"&&i!==0&&a!=="inertia"}const XL=40;class JL extends $p{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:s=0,repeatDelay:i=0,repeatType:a="loop",keyframes:l,name:c,motionValue:u,element:d,...f}){var b;super(),this.stop=()=>{var g,w;this._animation&&(this._animation.stop(),(g=this.stopTimeline)==null||g.call(this)),(w=this.keyframeResolver)==null||w.cancel()},this.createdAt=rt.now();const h={autoplay:t,delay:n,type:r,repeat:s,repeatDelay:i,repeatType:a,name:c,motionValue:u,element:d,...f},m=(d==null?void 0:d.KeyframeResolver)||Up;this.keyframeResolver=new m(l,(g,w,v)=>this.onKeyframesResolved(g,w,h,!v),c,u,d),(b=this.keyframeResolver)==null||b.scheduleResolve()}onKeyframesResolved(t,n,r,s){var v,y;this.keyframeResolver=void 0;const{name:i,type:a,velocity:l,delay:c,isHandoff:u,onUpdate:d}=r;this.resolvedAt=rt.now();let f=!0;WL(t,i,a,l)||(f=!1,(Fr.instantAnimations||!c)&&(d==null||d(Nu(t,r,n))),t[0]=t[t.length-1],Mh(r),r.repeat=0);const m={startTime:s?this.resolvedAt?this.resolvedAt-this.createdAt>XL?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},b=f&&!u&&QL(m),g=(y=(v=m.motionValue)==null?void 0:v.owner)==null?void 0:y.current;let w;if(b)try{w=new HL({...m,element:g})}catch{w=new zc(m)}else w=new zc(m);w.finished.then(()=>{this.notifyFinished()}).catch(_t),this.pendingTimeline&&(this.stopTimeline=w.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=w}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),OL()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}function Kj(e,t,n,r=0,s=1){const i=Array.from(e).sort((u,d)=>u.sortNodePosition(d)).indexOf(t),a=e.size,l=(a-1)*r;return typeof n=="function"?n(i,a):s===1?i*r:l-i*r}const e3=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function t3(e){const t=e3.exec(e);if(!t)return[,];const[,n,r,s]=t;return[`--${n??r}`,s]}const n3=4;function Zj(e,t,n=1){Ai(n<=n3,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[r,s]=t3(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);if(i){const a=i.trim();return uj(a)?parseFloat(a):a}return Lp(s)?Zj(s,t,n+1):s}const r3={type:"spring",stiffness:500,damping:25,restSpeed:10},s3=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),i3={type:"keyframes",duration:.8},o3={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},a3=(e,{keyframes:t})=>t.length>2?i3:Wi.has(e)?e.startsWith("scale")?s3(t[1]):r3:o3;function Yj(e,t){if(e!=null&&e.inherit&&t){const{inherit:n,...r}=e;return{...t,...r}}return e}function Hp(e,t){const n=(e==null?void 0:e[t])??(e==null?void 0:e.default)??e;return n!==e?Yj(n,e):n}const l3=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function c3(e){for(const t in e)if(!l3.has(t))return!0;return!1}const Gp=(e,t,n,r={},s,i)=>a=>{const l=Hp(r,e)||{},c=l.delay||r.delay||0;let{elapsed:u=0}=r;u=u-vt(c);const d={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-u,onUpdate:h=>{t.set(h),l.onUpdate&&l.onUpdate(h)},onComplete:()=>{a(),l.onComplete&&l.onComplete()},name:e,motionValue:t,element:i?void 0:s};c3(l)||Object.assign(d,a3(e,d)),d.duration&&(d.duration=vt(d.duration)),d.repeatDelay&&(d.repeatDelay=vt(d.repeatDelay)),d.from!==void 0&&(d.keyframes[0]=d.from);let f=!1;if((d.type===!1||d.duration===0&&!d.repeatDelay)&&(Mh(d),d.delay===0&&(f=!0)),(Fr.instantAnimations||Fr.skipAnimations||s!=null&&s.shouldSkipAnimations)&&(f=!0,Mh(d),d.delay=0),d.allowFlatten=!l.type&&!l.ease,f&&!i&&t.get()!==void 0){const h=Nu(d.keyframes,l);if(h!==void 0){me.update(()=>{d.onUpdate(h),d.onComplete()});return}}return l.isSync?new zc(d):new JL(d)};function Wy(e){const t=[{},{}];
vendor: 50,553 bytes, line 543
543return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function Wp(e,t,n,r){if(typeof t=="function"){const[s,i]=Wy(r);t=t(n!==void 0?n:e.custom,s,i)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[s,i]=Wy(r);t=t(n!==void 0?n:e.custom,s,i)}return t}function ps(e,t,n){const r=e.getProps();return Wp(r,t,n!==void 0?n:r.custom,e)}const qj=new Set(["width","height","top","left","right","bottom",...Gi]),Ky=30,u3=e=>!isNaN(parseFloat(e));class d3{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var i;const s=rt.now();if(this.updatedAt!==s&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((i=this.events.change)==null||i.notify(this.current),this.dependents))for(const a of this.dependents)a.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=rt.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=u3(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new Dp);const r=this.events[t].add(n);return t==="change"?()=>{r(),me.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;(t=this.events.change)==null||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=rt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Ky)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Ky);return mj(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var t,n;(t=this.dependents)==null||t.clear(),(n=this.events.destroy)==null||n.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Ri(e,t){return new d3(e,t)}const Rh=e=>Array.isArray(e);function f3(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ri(n))}function h3(e){return Rh(e)?e[e.length-1]||0:e}function m3(e,t){const n=ps(e,t);let{transitionEnd:r={},transition:s={},...i}=n||{};i={...i,...r};for(const a in i){const l=h3(i[a]);f3(e,a,l)}}const He=e=>!!(e&&e.getVelocity);function p3(e){return!!(He(e)&&e.add)}function Dh(e,t){const n=e.getValue("willChange");if(p3(n))return n.add(t);if(!n&&Fr.WillChange){const r=new Fr.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function Kp(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const g3="framerAppearId",Qj="data-"+Kp(g3);function Xj(e){return e.props[Qj]}function v3({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function Jj(e,t,{delay:n=0,transitionOverride:r,type:s}={}){let{transition:i,transitionEnd:a,...l}=t;const c=e.getDefaultTransition();i=i?Yj(i,c):c;const u=i==null?void 0:i.reduceMotion;r&&(i=r);const d=[],f=s&&e.animationState&&e.animationState.getState()[s];for(const h in l){const m=e.getValue(h,e.latestValues[h]??null),b=l[h];if(b===void 0||f&&v3(f,h))continue;const g={delay:n,...Hp(i||{},h)},w=m.get();if(w!==void 0&&!m.isAnimating()&&!Array.isArray(b)&&b===w&&!g.velocity){me.update(()=>m.set(b));continue}let v=!1;if(window.MotionHandoffAnimation){const k=Xj(e);if(k){const S=window.MotionHandoffAnimation(k,h,me);S!==null&&(g.startTime=S,v=!0)}}Dh(e,h);const y=u??e.shouldReduceMotion;m.start(Gp(h,m,b,y&&qj.has(h)?{type:!1}:g,e,v));const x=m.animation;x&&d.push(x)}if(a){const h=()=>me.update(()=>{a&&m3(e,a)});d.length?Promise.all(d).then(h):h()}return d}function Ih(e,t,n={}){var c;const r=ps(e,t,n.type==="exit"?(c=e.presenceContext)==null?void 0:c.custom:void 0);let{transition:s=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(s=n.transitionOverride);const i=r?()=>Promise.all(Jj(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:d=0,staggerChildren:f,staggerDirection:h}=s;return y3(e,t,u,d,f,h,n)}:()=>Promise.resolve(),{when:l}=s;if(l){const[u,d]=l==="beforeChildren"?[i,a]:[a,i];return u().then(()=>d())}else return Promise.all([i(),a(n.delay)])}function y3(e,t,n=0,r=0,s=0,i=1,a){const l=[];for(const c of e.variantChildren)c.notify("AnimationStart",t),l.push(Ih(c,t,{...a,delay:n+(typeof r=="function"?0:r)+Kj(e.variantChildren,c,r,s,i)}).then(()=>c.notify("AnimationComplete",t)));return Promise.all(l)}function x3(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const s=t.map(i=>Ih(e,i,n));r=Promise.all(s)}else if(typeof t=="string")r=Ih(e,t,n);else{const s=typeof t=="function"?ps(e,t,n.custom):t;r=Promise.all(Jj(e,s,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const b3={test:e=>e==="auto",parse:e=>e},eT=e=>t=>t.test(e),tT=[Hi,U,Sn,or,GO,HO,b3],Zy=e=>tT.find(eT(e));function w3(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||fj(e):!0}const k3=new Set(["brightness","contrast","saturate","opacity"]);function S3(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(_p)||[];if(!r)return e;const s=n.replace(r,"");let i=k3.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+s+")"}const j3=/\b([a-z-]*)\(.*?\)/gu,Oh={...sn,getAnimatableNone:e=>{const t=e.match(j3);return t?t.map(S3).join(" "):e}},Lh={...sn,getAnimatableNone:e=>{const t=sn.parse(e);return sn.createTransformer(e)(t.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},Yy={...Hi,transform:Math.round},T3={rotate:or,rotateX:or,rotateY:or,rotateZ:or,scale:il,scaleX:il,scaleY:il,scaleZ:il,skew:or,skewX:or,skewY:or,distance:U,translateX:U,translateY:U,translateZ:U,x:U,y:U,z:U,perspective:U,transformPerspective:U,opacity:sa,originX:Iy,originY:Iy,originZ:U},Zp={borderWidth:U,borderTopWidth:U,borderRightWidth:U,borderBottomWidth:U,borderLeftWidth:U,borderRadius:U,borderTopLeftRadius:U,borderTopRightRadius:U,borderBottomRightRadius:U,borderBottomLeftRadius:U,width:U,maxWidth:U,height:U,maxHeight:U,top:U,right:U,bottom:U,left:U,inset:U,insetBlock:U,insetBlockStart:U,insetBlockEnd:U,insetInline:U,insetInlineStart:U,insetInlineEnd:U,padding:U,paddingTop:U,paddingRight:U,paddingBottom:U,paddingLeft:U,paddingBlock:U,paddingBlockStart:U,paddingBlockEnd:U,paddingInline:U,paddingInlineStart:U,paddingInlineEnd:U,margin:U,marginTop:U,marginRight:U,marginBottom:U,marginLeft:U,marginBlock:U,marginBlockStart:U,marginBlockEnd:U,marginInline:U,marginInlineStart:U,marginInlineEnd:U,fontSize:U,backgroundPositionX:U,backgroundPositionY:U,...T3,zIndex:Yy,fillOpacity:sa,strokeOpacity:sa,numOctaves:Yy},C3={...Zp,color:Me,backgroundColor:Me,outlineColor:Me,fill:Me,stroke:Me,borderColor:Me,borderTopColor:Me,borderRightColor:Me,borderBottomColor:Me,borderLeftColor:Me,filter:Oh,WebkitFilter:Oh,mask:Lh,WebkitMask:Lh},nT=e=>C3[e],N3=new Set([Oh,Lh]);function rT(e,t){let n=nT(e);return N3.has(n)||(n=sn),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const z3=new Set(["auto","none","0"]);function E3(e,t,n){let r=0,s;for(;r<e.length&&!s;){const i=e[r];typeof i=="string"&&!z3.has(i)&&Mi(i).values.length&&(s=e[r]),r++}if(s&&n)for(const i of t)e[i]=rT(n,s)}class P3 extends Up{constructor(t,n,r,s,i){super(t,n,r,s,i,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let d=0;d<t.length;d++){let f=t[d];if(typeof f=="string"&&(f=f.trim(),Lp(f))){const h=Zj(f,n.current);h!==void 0&&(t[d]=h),d===t.length-1&&(this.finalKeyframe=f)}}if(this.resolveNoneKeyframes(),!qj.has(r)||t.length!==2)return;const[s,i]=t,a=Zy(s),l=Zy(i),c=Dy(s),u=Dy(i);if(c!==u&&kr[r]){this.needsMeasurement=!0;return}if(a!==l)if(Uy(a)&&Uy(l))for(let d=0;d<t.length;d++){const f=t[d];typeof f=="string"&&(t[d]=parseFloat(f))}else kr[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let s=0;s<t.length;s++)(t[s]===null||w3(t[s]))&&r.push(s);r.length&&E3(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=kr[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const s=n[n.length-1];s!==void 0&&t.getValue(r,s).jump(s,!1)}measureEndState(){var l;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const s=t.getValue(n);s&&s.jump(this.measuredOrigin,!1);const i=r.length-1,a=r[i];r[i]=kr[n](t.measureViewportBox(),window.getComputedStyle(t.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),(l=this.removedTransforms)!=null&&l.length&&this.removedTransforms.forEach(([c,u])=>{t.getValue(c).set(u)}),this.resolveNoneKeyframes()}}function sT(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){const s=document.querySelectorAll(e);return s?Array.from(s):[]}return Array.from(e).filter(r=>r!=null)}const iT=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function A3(e){return dj(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:Yp,cancel:PV}=Tj(queueMicrotask,!1),Zt={x:!1,y:!1};function oT(){return Zt.x||Zt.y}function M3(e){return e==="x"||e==="y"?Zt[e]?null:(Zt[e]=!0,()=>{Zt[e]=!1}):Zt.x||Zt.y?null:(Zt.x=Zt.y=!0,()=>{Zt.x=Zt.y=!1})}function aT(e,t){const n=sT(e),r=new AbortController,s={passive:!0,...t,signal:r.signal};return[n,s,()=>r.abort()]}function R3(e){return!(e.pointerType==="touch"||oT())}function D3(e,t,n={}){const[r,s,i]=aT(e,n);return r.forEach(a=>{let l=!1,c=!1,u;const d=()=>{a.removeEventListener("pointerleave",b)},f=w=>{u&&(u(w),u=void 0),d()},h=w=>{l=!1,window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",h),c&&(c=!1,f(w))},m=()=>{l=!0,window.addEventListener("pointerup",h,s),window.addEventListener("pointercancel",h,s)},b=w=>{if(w.pointerType!=="touch"){if(l){c=!0;return}f(w)}},g=w=>{if(!R3(w))return;c=!1;const v=t(a,w);typeof v=="function"&&(u=v,a.addEventListener("pointerleave",b,s))};a.addEventListener("pointerenter",g,s),a.addEventListener("pointerdown",m,s)}),i}const lT=(e,t)=>t?e===t?!0:lT(e,t.parentElement):!1,qp=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,I3=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function O3(e){return I3.has(e.tagName)||e.isContentEditable===!0}const L3=new Set(["INPUT","SELECT","TEXTAREA"]);function _3(e){return L3.has(e.tagName)||e.isContentEditable===!0}const Rl=new WeakSet;function qy(e){return t=>{t.key==="Enter"&&e(t)}}function Bd(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const F3=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=qy(()=>{if(Rl.has(n))return;Bd(n,"down");const s=qy(()=>{Bd(n,"up")}),i=()=>Bd(n,"cancel");n.addEventListener("keyup",s,t),n.addEventListener("blur",i,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function Qy(e){return qp(e)&&!oT()}const Xy=new WeakSet;function V3(e,t,n={}){const[r,s,i]=aT(e,n),a=l=>{const c=l.currentTarget;if(!Qy(l)||Xy.has(l))return;Rl.add(c),n.stopPropagation&&Xy.add(l);const u=t(c,l),d=(m,b)=>{window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",h),Rl.has(c)&&Rl.delete(c),Qy(m)&&typeof u=="function"&&u(m,{success:b})},f=m=>{d(m,c===window||c===document||n.useGlobalTarget||lT(c,m.target))},h=m=>{d(m,!1)};window.addEventListener("pointerup",f,s),window.addEventListener("pointercancel",h,s)};return r.forEach(l=>{(n.useGlobalTarget?window:l).addEventListener("pointerdown",a,s),A3(l)&&(l.addEventListener("focus",u=>F3(u,s)),!O3(l)&&!l.hasAttribute("tabindex")&&(l.tabIndex=0))}),i}function Qp(e){return dj(e)&&"ownerSVGElement"in e}const Dl=new WeakMap;let ar;const cT=(e,t,n)=>(r,s)=>s&&s[0]?s[0][e+"Size"]:Qp(r)&&"getBBox"in r?r.getBBox()[t]:r[n],B3=cT("inline","width","offsetWidth"),$3=cT("block","height","offsetHeight");function U3({target:e,borderBoxSize:t}){var n;(n=Dl.get(e))==null||n.forEach(r=>{r(e,{get width(){return B3(e,t)},get height(){return $3(e,t)}})})}function H3(e){e.forEach(U3)}function G3(){typeof ResizeObserver>"u"||(ar=new ResizeObserver(H3))}function W3(e,t){ar||G3();const n=sT(e);return n.forEach(r=>{let s=Dl.get(r);s||(s=new Set,Dl.set(r,s)),s.add(t),ar==null||ar.observe(r)}),()=>{n.forEach(r=>{const s=Dl.get(r);s==null||s.delete(t),s!=null&&s.size||ar==null||ar.unobserve(r)})}}const Il=new Set;let Qs;function K3(){Qs=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};Il.forEach(t=>t(e))},window.addEventListener("resize",Qs)}function Z3(e){return Il.add(e),Qs||K3(),()=>{Il.delete(e),!Il.size&&typeof Qs=="function"&&(window.removeEventListener("resize",Qs),Qs=void 0)}}function Jy(e,t){return typeof e=="function"?Z3(e):W3(e,t)}function Y3(e){return Qp(e)&&e.tagName==="svg"}const q3=[...tT,Me,sn],Q3=e=>q3.find(eT(e)),ex=()=>({translate:0,scale:1,origin:0,originPoint:0}),Xs=()=>({x:ex(),y:ex()}),tx=()=>({min:0,max:0}),Oe=()=>({x:tx(),y:tx()}),X3=new WeakMap;function zu(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function ia(e){return typeof e=="string"||Array.isArray(e)}const Xp=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Jp=["initial",...Xp];function Eu(e){return zu(e.animate)||Jp.some(t=>ia(e[t]))}function uT(e){return!!(Eu(e)||e.variants)}function J3(e,t,n){for(const r in t){const s=t[r],i=n[r];if(He(s))e.addValue(r,s);else if(He(i))e.addValue(r,Ri(s,{owner:e}));else if(i!==s)if(e.hasValue(r)){const a=e.getValue(r);a.liveStyle===!0?a.jump(s):a.hasAnimated||a.set(s)}else{const a=e.getStaticValue(r);e.addValue(r,Ri(a!==void 0?a:s,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const _h={current:null},dT={current:!1},e4=typeof window<"u";function t4(){if(dT.current=!0,!!e4)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>_h.current=e.matches;e.addEventListener("change",t),t()}else _h.current=!1}const nx=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Ec={};function fT(e){Ec=e}function n4(){return Ec}class r4{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:s,skipAnimations:i,blockInitialAnimation:a,visualState:l},c={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Up,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const m=rt.now();this.renderScheduledAt<m&&(this.renderScheduledAt=m,me.render(this.render,!1,!0))};const{latestValues:u,renderState:d}=l;this.latestValues=u,this.baseTarget={...u},this.initialValues=n.initial?{...u}:{},this.renderState=d,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.skipAnimationsConfig=i,this.options=c,this.blockInitialAnimation=!!a,this.isControllingVariants=Eu(n),this.isVariantNode=uT(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:f,...h}=this.scrapeMotionValuesFromProps(n,{},this);for(const m in h){const b=h[m];u[m]!==void 0&&He(b)&&b.set(u[m])}}mount(t){var n,r;if(this.hasBeenMounted)for(const s in this.initialValues)(n=this.values.get(s))==null||n.jump(this.initialValues[s]),this.latestValues[s]=this.initialValues[s];this.current=t,X3.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((s,i)=>this.bindToMotionValue(i,s)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(dT.current||t4(),this.shouldReduceMotion=_h.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(r=this.parent)==null||r.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var t;this.projection&&this.projection.unmount(),Vr(this.notifyUpdate),Vr(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(t=this.parent)==null||t.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const r=this.features[n];r&&(r.unmount(),r.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),n.accelerate&&Wj.has(t)&&this.current instanceof HTMLElement){const{factory:a,keyframes:l,times:c,ease:u,duration:d}=n.accelerate,f=new Hj({element:this.current,name:t,keyframes:l,times:c,ease:u,duration:vt(d)}),h=a(f);this.valueSubscriptions.set(t,()=>{h(),f.cancel()});return}const r=Wi.has(t);r&&this.onBindTransform&&this.onBindTransform();const s=n.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&me.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let i;typeof window<"u"&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{s(),i&&i(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Ec){const n=Ec[t];if(!n)continue;const{isEnabled:r,Feature:s}=n;if(!this.features[t]&&s&&r(this.props)&&(this.features[t]=new s(this)),this.features[t]){const i=this.features[t];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Oe()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<nx.length;r++){const s=nx[r];this.propEventSubscriptions[s]&&(this.propEventSubscriptions[s](),delete this.propEventSubscriptions[s]);const i="on"+s,a=t[i];a&&(this.propEventSubscriptions[s]=this.on(s,a))}this.prevMotionValues=J3(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Ri(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(uj(r)||fj(r))?r=parseFloat(r):!Q3(r)&&sn.test(n)&&(r=rT(t,n)),this.setBaseTarget(t,He(r)?r.get():r)),He(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var i;const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const a=Wp(this.props,n,(i=this.presenceContext)==null?void 0:i.custom);a&&(r=a[t])}if(n&&r!==void 0)return r;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!He(s)?s:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Dp),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){Yp.render(this.render)}}class hT extends r4{constructor(){super(...arguments),this.KeyframeResolver=P3}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){const r=t.style;return r?r[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;He(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class Gr{constructor(t){this.isMounted=!1,this.node=t}update(){}}function mT({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function s4({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function i4(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function $d(e){return e===void 0||e===1}function Fh({scale:e,scaleX:t,scaleY:n}){return!$d(e)||!$d(t)||!$d(n)}function Xr(e){return Fh(e)||pT(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function pT(e){return rx(e.x)||rx(e.y)}function rx(e){return e&&e!=="0%"}function Pc(e,t,n){const r=e-n,s=t*r;return n+s}function sx(e,t,n,r,s){return s!==void 0&&(e=Pc(e,s,r)),Pc(e,n,r)+t}function Vh(e,t=0,n=1,r,s){e.min=sx(e.min,t,n,r,s),e.max=sx(e.max,t,n,r,s)}function gT(e,{x:t,y:n}){Vh(e.x,t.translate,t.scale,t.originPoint),Vh(e.y,n.translate,n.scale,n.originPoint)}const ix=.999999999999,ox=1.0000000000001;function o4(e,t,n,r=!1){var l;const s=n.length;if(!s)return;t.x=t.y=1;let i,a;for(let c=0;c<s;c++){i=n[c],a=i.projectionDelta;const{visualElement:u}=i.options;u&&u.props.style&&u.props.style.display==="contents"||(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(yn(e.x,-i.scroll.offset.x),yn(e.y,-i.scroll.offset.y)),a&&(t.x*=a.x.scale,t.y*=a.y.scale,gT(e,a)),r&&Xr(i.latestValues)&&Ol(e,i.latestValues,(l=i.layout)==null?void 0:l.layoutBox))}t.x<ox&&t.x>ix&&(t.x=1),t.y<ox&&t.y>ix&&(t.y=1)}function yn(e,t){e.min+=t,e.max+=t}function ax(e,t,n,r,s=.5){const i=ye(e.min,e.max,s);Vh(e,t,n,i,r)}function lx(e,t){return typeof e=="string"?parseFloat(e)/100*(t.max-t.min):e}function Ol(e,t,n){const r=n??e;ax(e.x,lx(t.x,r.x),t.scaleX,t.scale,t.originX),ax(e.y,lx(t.y,r.y),t.scaleY,t.scale,t.originY)}function vT(e,t){return mT(i4(e.getBoundingClientRect(),t))}function a4(e,t,n){const r=vT(e,n),{scroll:s}=t;return s&&(yn(r.x,s.offset.x),yn(r.y,s.offset.y)),r}const l4={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},c4=Gi.length;function u4(e,t,n){let r="",s=!0;for(let i=0;i<c4;i++){const a=Gi[i],l=e[a];if(l===void 0)continue;let c=!0;if(typeof l=="number")c=l===(a.startsWith("scale")?1:0);else{const u=parseFloat(l);c=a.startsWith("scale")?u===1:u===0}if(!c||n){const u=iT(l,Zp[a]);if(!c){s=!1;const d=l4[a]||a;r+=`${d}(${u}) `}n&&(t[a]=u)}}return r=r.trim(),n?r=n(t,s?"":r):s&&(r="none"),r}function eg(e,t,n){const{style:r,vars:s,transformOrigin:i}=e;let a=!1,l=!1;for(const c in t){const u=t[c];if(Wi.has(c)){a=!0;continue}else if(Nj(c)){s[c]=u;continue}else{const d=iT(u,Zp[c]);c.startsWith("origin")?(l=!0,i[c]=d):r[c]=d}}if(t.transform||(a||n?r.transform=u4(t,e.transform,n):r.transform&&(r.transform="none")),l){const{originX:c="50%",originY:u="50%",originZ:d=0}=i;r.transformOrigin=`${c} ${u} ${d}`}}function yT(e,{style:t,vars:n},r,s){const i=e.style;let a;for(a in t)i[a]=t[a];s==null||s.applyProjectionStyles(i,r);for(a in n)i.setProperty(a,n[a])}function cx(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const ao={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(U.test(e))e=parseFloat(e);else return e;const n=cx(e,t.target.x),r=cx(e,t.target.y);return`${n}% ${r}%`}},d4={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,s=sn.parse(e);if(s.length>5)return r;const i=sn.createTransformer(e),a=typeof s[0]!="number"?1:0,l=n.x.scale*t.x,c=n.y.scale*t.y;s[0+a]/=l,s[1+a]/=c;const u=ye(l,c,.5);return typeof s[2+a]=="number"&&(s[2+a]/=u),typeof s[3+a]=="number"&&(s[3+a]/=u),i(s)}},Bh={borderRadius:{...ao,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ao,borderTopRightRadius:ao,borderBottomLeftRadius:ao,borderBottomRightRadius:ao,boxShadow:d4};function xT(e,{layout:t,layoutId:n}){return Wi.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Bh[e]||e==="opacity")}function tg(e,t,n){var a;const r=e.style,s=t==null?void 0:t.style,i={};if(!r)return i;for(const l in r)(He(r[l])||s&&He(s[l])||xT(l,e)||((a=n==null?void 0:n.getValue(l))==null?void 0:a.liveStyle)!==void 0)&&(i[l]=r[l]);return i}function f4(e){return window.getComputedStyle(e)}class h4 extends hT{constructor(){super(...arguments),this.type="html",this.renderInstance=yT}readValueFromInstance(t,n){var r;if(Wi.has(n))return(r=this.projection)!=null&&r.isProjecting?Nh(n):AL(t,n);{const s=f4(t),i=(Nj(n)?s.getPropertyValue(n):s[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return vT(t,n)}build(t,n,r){eg(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return tg(t,n,r)}}const m4={offset:"stroke-dashoffset",array:"stroke-dasharray"},p4={offset:"strokeDashoffset",array:"strokeDasharray"};function g4(e,t,n=1,r=0,s=!0){e.pathLength=1;const i=s?m4:p4;e[i.offset]=`${-r}`,e[i.array]=`${t} ${n}`}const v4=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function bT(e,{attrX:t,attrY:n,attrScale:r,pathLength:s,pathSpacing:i=1,pathOffset:a=0,...l},c,u,d){if(eg(e,l,u),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:f,style:h}=e;f.transform&&(h.transform=f.transform,delete f.transform),(h.transform||f.transformOrigin)&&(h.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),h.transform&&(h.transformBox=(d==null?void 0:d.transformBox)??"fill-box",delete f.transformBox);for(const m of v4)f[m]!==void 0&&(h[m]=f[m],delete f[m]);t!==void 0&&(f.x=t),n!==void 0&&(f.y=n),r!==void 0&&(f.scale=r),s!==void 0&&g4(f,s,i,a,!1)}const wT=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),kT=e=>typeof e=="string"&&e.toLowerCase()==="svg";function y4(e,t,n,r){yT(e,t,void 0,r);for(const s in t.attrs)e.setAttribute(wT.has(s)?s:Kp(s),t.attrs[s])}function ST(e,t,n){const r=tg(e,t,n);for(const s in e)if(He(e[s])||He(t[s])){const i=Gi.indexOf(s)!==-1?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s;r[i]=e[s]}return r}class x4 extends hT{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Oe}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Wi.has(n)){const r=nT(n);return r&&r.default||0}return n=wT.has(n)?n:Kp(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return ST(t,n,r)}build(t,n,r){bT(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,s){y4(t,n,r,s)}mount(t){this.isSVGTag=kT(t.tagName),super.mount(t)}}const b4=Jp.length;function jT(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?jT(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<b4;n++){const r=Jp[n],s=e.props[r];(ia(s)||s===!1)&&(t[r]=s)}return t}function TT(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}const w4=[...Xp].reverse(),k4=Xp.length;function S4(e){return t=>Promise.all(t.map(({animation:n,options:r})=>x3(e,n,r)))}function j4(e){let t=S4(e),n=ux(),r=!0,s=!1;const i=u=>(d,f)=>{var m;const h=ps(e,f,u==="exit"?(m=e.presenceContext)==null?void 0:m.custom:void 0);if(h){const{transition:b,transitionEnd:g,...w}=h;d={...d,...w,...g}}return d};function a(u){t=u(e)}function l(u){const{props:d}=e,f=jT(e.parent)||{},h=[],m=new Set;let b={},g=1/0;for(let v=0;v<k4;v++){const y=w4[v],x=n[y],k=d[y]!==void 0?d[y]:f[y],S=ia(k),j=y===u?x.isActive:null;j===!1&&(g=v);let T=k===f[y]&&k!==d[y]&&S;if(T&&(r||s)&&e.manuallyAnimateOnMount&&(T=!1),x.protectedKeys={...b},!x.isActive&&j===null||!k&&!x.prevProp||zu(k)||typeof k=="boolean")continue;if(y==="exit"&&x.isActive&&j!==!0){x.prevResolvedValues&&(b={...b,...x.prevResolvedValues});continue}const N=T4(x.prevProp,k);let P=N||y===u&&x.isActive&&!T&&S||v>g&&S,z=!1;const L=Array.isArray(k)?k:[k];let O=L.reduce(i(y),{});j===!1&&(O={});const{prevResolvedValues:W={}}=x,I={...W,...O},K=E=>{P=!0,m.has(E)&&(z=!0,m.delete(E)),x.needsAnimating[E]=!0;const C=e.getValue(E);C&&(C.liveStyle=!1)};for(const E in I){const C=O[E],D=W[E];if(b.hasOwnProperty(E))continue;let G=!1;Rh(C)&&Rh(D)?G=!TT(C,D):G=C!==D,G?C!=null?K(E):m.add(E):C!==void 0&&m.has(E)?K(E):x.protectedKeys[E]=!0}x.prevProp=k,x.prevResolvedValues=O,x.isActive&&(b={...b,...O}),(r||s)&&e.blockInitialAnimation&&(P=!1);const V=T&&N;P&&(!V||z)&&h.push(...L.map(E=>{const C={type:y};if(typeof E=="string"&&(r||s)&&!V&&e.manuallyAnimateOnMount&&e.parent){const{parent:D}=e,G=ps(D,E);if(D.enteringChildren&&G){const{delayChildren:H}=G.transition||{};C.delay=Kj(D.enteringChildren,e,H)}}return{animation:E,options:C}}))}if(m.size){const v={};if(typeof d.initial!="boolean"){const y=ps(e,Array.isArray(d.initial)?d.initial[0]:d.initial);y&&y.transition&&(v.transition=y.transition)}m.forEach(y=>{const x=e.getBaseTarget(y),k=e.getValue(y);k&&(k.liveStyle=!0),v[y]=x??null}),h.push({animation:v})}let w=!!h.length;return r&&(d.initial===!1||d.initial===d.animate)&&!e.manuallyAnimateOnMount&&(w=!1),r=!1,s=!1,w?t(h):Promise.resolve()}function c(u,d){var h;if(n[u].isActive===d)return Promise.resolve();(h=e.variantChildren)==null||h.forEach(m=>{var b;return(b=m.animationState)==null?void 0:b.setActive(u,d)}),n[u].isActive=d;const f=l(u);for(const m in n)n[m].protectedKeys={};return f}return{animateChanges:l,setActive:c,setAnimateFunction:a,getState:()=>n,reset:()=>{n=ux(),s=!0}}}function T4(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!TT(t,e):!1}function Yr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ux(){return{animate:Yr(!0),whileInView:Yr(),whileHover:Yr(),whileTap:Yr(),whileDrag:Yr(),whileFocus:Yr(),exit:Yr()}}function $h(e,t){e.min=t.min,e.max=t.max}function Kt(e,t){$h(e.x,t.x),$h(e.y,t.y)}function dx(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const CT=1e-4,C4=1-CT,N4=1+CT,NT=.01,z4=0-NT,E4=0+NT;function st(e){return e.max-e.min}function P4(e,t,n){return Math.abs(e-t)<=n}function fx(e,t,n,r=.5){e.origin=r,e.originPoint=ye(t.min,t.max,e.origin),e.scale=st(n)/st(t),e.translate=ye(n.min,n.max,e.origin)-e.originPoint,(e.scale>=C4&&e.scale<=N4||isNaN(e.scale))&&(e.scale=1),(e.translate>=z4&&e.translate<=E4||isNaN(e.translate))&&(e.translate=0)}function No(e,t,n,r){fx(e.x,t.x,n.x,r?r.originX:void 0),fx(e.y,t.y,n.y,r?r.originY:void 0)}function hx(e,t,n,r=0){const s=r?ye(n.min,n.max,r):n.min;e.min=s+t.min,e.max=e.min+st(t)}function A4(e,t,n,r){hx(e.x,t.x,n.x,r==null?void 0:r.x),hx(e.y,t.y,n.y,r==null?void 0:r.y)}function mx(e,t,n,r=0){const s=r?ye(n.min,n.max,r):n.min;e.min=t.min-s,e.max=e.min+st(t)}function Ac(e,t,n,r){mx(e.x,t.x,n.x,r==null?void 0:r.x),mx(e.y,t.y,n.y,r==null?void 0:r.y)}function px(e,t,n,r,s){return e-=t,e=Pc(e,1/n,r),s!==void 0&&(e=Pc(e,1/s,r)),e}function M4(e,t=0,n=1,r=.5,s,i=e,a=e){if(Sn.test(t)&&(t=parseFloat(t),t=ye(a.min,a.max,t/100)-a.min),typeof t!="number")return;let l=ye(i.min,i.max,r);e===i&&(l-=t),e.min=px(e.min,t,n,l,s),e.max=px(e.max,t,n,l,s)}function gx(e,t,[n,r,s],i,a){M4(e,t[n],t[r],t[s],t.scale,i,a)}const R4=["x","scaleX","originX"],D4=["y","scaleY","originY"];function vx(e,t,n,r){gx(e.x,t,R4,n?n.x:void 0,r?r.x:void 0),gx(e.y,t,D4,n?n.y:void 0,r?r.y:void 0)}function yx(e){return e.translate===0&&e.scale===1}function zT(e){return yx(e.x)&&yx(e.y)}function xx(e,t){return e.min===t.min&&e.max===t.max}function I4(e,t){return xx(e.x,t.x)&&xx(e.y,t.y)}function bx(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function ET(e,t){return bx(e.x,t.x)&&bx(e.y,t.y)}function wx(e){return st(e.x)/st(e.y)}function kx(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function mn(e){return[e("x"),e("y")]}function O4(e,t,n){let r="";const s=e.x.translate/t.x,i=e.y.translate/t.y,a=(n==null?void 0:n.z)||0;if((s||i||a)&&(r=`translate3d(${s}px, ${i}px, ${a}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:d,rotateX:f,rotateY:h,skewX:m,skewY:b}=n;u&&(r=`perspective(${u}px) ${r}`),d&&(r+=`rotate(${d}deg) `),f&&(r+=`rotateX(${f}deg) `),h&&(r+=`rotateY(${h}deg) `),m&&(r+=`skewX(${m}deg) `),b&&(r+=`skewY(${b}deg) `)}const l=e.x.scale*t.x,c=e.y.scale*t.y;return(l!==1||c!==1)&&(r+=`scale(${l}, ${c})`),r||"none"}const PT=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],L4=PT.length,Sx=e=>typeof e=="string"?parseFloat(e):e,jx=e=>typeof e=="number"||U.test(e);function _4(e,t,n,r,s,i){s?(e.opacity=ye(0,n.opacity??1,F4(r)),e.opacityExit=ye(t.opacity??1,0,V4(r))):i&&(e.opacity=ye(t.opacity??1,n.opacity??1,r));for(let a=0;a<L4;a++){const l=PT[a];let c=Tx(t,l),u=Tx(n,l);if(c===void 0&&u===void 0)continue;c||(c=0),u||(u=0),c===0||u===0||jx(c)===jx(u)?(e[l]=Math.max(ye(Sx(c),Sx(u),r),0),(Sn.test(u)||Sn.test(c))&&(e[l]+="%")):e[l]=u}(t.rotate||n.rotate)&&(e.rotate=ye(t.rotate||0,n.rotate||0,r))}function Tx(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const F4=AT(0,.5,wj),V4=AT(.5,.95,_t);function AT(e,t,n){return r=>r<e?0:r>t?1:n(ra(e,t,r))}function B4(e,t,n){const r=He(e)?e:Ri(e);return r.start(Gp("",r,t,n)),r.animation}function oa(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const $4=(e,t)=>e.depth-t.depth;class U4{constructor(){this.children=[],this.isDirty=!1}add(t){Rp(this.children,t),this.isDirty=!0}remove(t){jc(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort($4),this.isDirty=!1,this.children.forEach(t)}}function H4(e,t){const n=rt.now(),r=({timestamp:s})=>{const i=s-n;i>=t&&(Vr(r),e(i-t))};return me.setup(r,!0),()=>Vr(r)}function Ll(e){return He(e)?e.get():e}class G4{constructor(){this.members=[]}add(t){Rp(this.members,t);for(let n=this.members.length-1;n>=0;n--){const r=this.members[n];if(r===t||r===this.lead||r===this.prevLead)continue;const s=r.instance;(!s||s.isConnected===!1)&&!r.snapshot&&(jc(this.members,r),r.unmount())}t.scheduleRender()}remove(t){if(jc(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){var n;for(let r=this.members.indexOf(t)-1;r>=0;r--){const s=this.members[r];if(s.isPresent!==!1&&((n=s.instance)==null?void 0:n.isConnected)!==!1)return this.promote(s),!0}return!1}promote(t,n){var s;const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.updateSnapshot(),t.scheduleRender();const{layoutDependency:i}=r.options,{layoutDependency:a}=t.options;(i===void 0||i!==a)&&(t.resumeFrom=r,n&&(r.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),(s=t.root)!=null&&s.isUpdating&&(t.isLayoutDirty=!0)),t.options.crossfade===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{var n,r,s,i,a;(r=(n=t.options).onExitComplete)==null||r.call(n),(a=(s=t.resumingFrom)==null?void 0:(i=s.options).onExitComplete)==null||a.call(i)})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){var t;(t=this.lead)!=null&&t.snapshot&&(this.lead.snapshot=void 0)}}const _l={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Ud=["","X","Y","Z"],W4=1e3;let K4=0;function Hd(e,t,n,r){const{latestValues:s}=t;s[e]&&(n[e]=s[e],t.setStaticValue(e,0),r&&(r[e]=0))}function MT(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=Xj(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:s,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",me,!(s||i))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&MT(r)}function RT({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:s}){return class{constructor(a={},l=t==null?void 0:t()){this.id=K4++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(q4),this.nodes.forEach(n_),this.nodes.forEach(r_),this.nodes.forEach(Q4)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=a,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0;for(let c=0;c<this.path.length;c++)this.path[c].shouldResetTransform=!0;this.root===this&&(this.nodes=new U4)}addEventListener(a,l){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new Dp),this.eventHandlers.get(a).add(l)}notifyListeners(a,...l){const c=this.eventHandlers.get(a);c&&c.notify(...l)}hasListeners(a){return this.eventHandlers.has(a)}mount(a){if(this.instance)return;this.isSVG=Qp(a)&&!Y3(a),this.instance=a;const{layoutId:l,layout:c,visualElement:u}=this.options;if(u&&!u.current&&u.mount(a),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(c||l)&&(this.isLayoutDirty=!0),e){let d,f=0;const h=()=>this.root.updateBlockedByResize=!1;me.read(()=>{f=window.innerWidth}),e(a,()=>{const m=window.innerWidth;m!==f&&(f=m,this.root.updateBlockedByResize=!0,d&&d(),d=H4(h,250),_l.hasAnimatedSinceResize&&(_l.hasAnimatedSinceResize=!1,this.nodes.forEach(zx)))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&u&&(l||c)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeLayoutChanged:h,layout:m})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const b=this.options.transition||u.getDefaultTransition()||l_,{onLayoutAnimationStart:g,onLayoutAnimationComplete:w}=u.getProps(),v=!this.targetLayout||!ET(this.targetLayout,m),y=!f&&h;if(this.options.layoutRoot||this.resumeFrom||y||f&&(v||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const x={...Hp(b,"layout"),onPlay:g,onComplete:w};(u.shouldReduceMotion||this.options.layoutRoot)&&(x.delay=0,x.type=!1),this.startAnimation(x),this.setAnimationOrigin(d,y)}else f||zx(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=m})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const a=this.getStack();a&&a.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Vr(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(s_),this.animationId++)}getTransformTemplate(){const{visualElement:a}=this.options;return a&&a.getProps().transformTemplate}willUpdate(a=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&MT(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let d=0;d<this.path.length;d++){const f=this.path[d];f.shouldResetTransform=!0,(typeof f.latestValues.x=="string"||typeof f.latestValues.y=="string")&&(f.isLayoutDirty=!0),f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1)}const{layoutId:l,layout:c}=this.options;if(l===void 0&&!c)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),a&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const c=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),c&&this.nodes.forEach(J4),this.nodes.forEach(Cx);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Nx);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(e_),this.nodes.forEach(t_),this.nodes.forEach(Z4),this.nodes.forEach(Y4)):this.nodes.forEach(Nx),this.clearAllSnapshots();const l=rt.now();Ue.delta=Cn(0,1e3/60,l-Ue.timestamp),Ue.timestamp=l,Ue.isProcessing=!0,Id.update.process(Ue),Id.preRender.process(Ue),Id.render.process(Ue),Ue.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Yp.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(X4),this.sharedNodes.forEach(i_)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,me.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){me.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!st(this.snapshot.measuredBox.x)&&!st(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let c=0;c<this.path.length;c++)this.path[c].updateScroll();const a=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=Oe()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:l}=this.options;l&&l.notify("LayoutMeasure",this.layout.layoutBox,a?a.layoutBox:void 0)}updateScroll(a="measure"){let l=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===a&&(l=!1),l&&this.instance){const c=r(this.instance);this.scroll={animationId:this.root.animationId,phase:a,isRoot:c,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:c}}}resetTransform(){if(!s)return;const a=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,l=this.projectionDelta&&!zT(this.projectionDelta),c=this.getTransformTemplate(),u=c?c(this.latestValues,""):void 0,d=u!==this.prevTransformTemplateValue;a&&this.instance&&(l||Xr(this.latestValues)||d)&&(s(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(a=!0){const l=this.measurePageBox();let c=this.removeElementScroll(l);return a&&(c=this.removeTransform(c)),c_(c),{animationId:this.root.animationId,measuredBox:l,layoutBox:c,latestValues:{},source:this.id}}measurePageBox(){var u;const{visualElement:a}=this.options;if(!a)return Oe();const l=a.measureViewportBox();if(!(((u=this.scroll)==null?void 0:u.wasRoot)||this.path.some(u_))){const{scroll:d}=this.root;d&&(yn(l.x,d.offset.x),yn(l.y,d.offset.y))}return l}removeElementScroll(a){var c;const l=Oe();if(Kt(l,a),(c=this.scroll)!=null&&c.wasRoot)return l;for(let u=0;u<this.path.length;u++){const d=this.path[u],{scroll:f,options:h}=d;d!==this.root&&f&&h.layoutScroll&&(f.wasRoot&&Kt(l,a),yn(l.x,f.offset.x),yn(l.y,f.offset.y))}return l}applyTransform(a,l=!1,c){var d,f;const u=c||Oe();Kt(u,a);for(let h=0;h<this.path.length;h++){const m=this.path[h];!l&&m.options.layoutScroll&&m.scroll&&m!==m.root&&(yn(u.x,-m.scroll.offset.x),yn(u.y,-m.scroll.offset.y)),Xr(m.latestValues)&&Ol(u,m.latestValues,(d=m.layout)==null?void 0:d.layoutBox)}return Xr(this.latestValues)&&Ol(u,this.latestValues,(f=this.layout)==null?void 0:f.layoutBox),u}removeTransform(a){var c;const l=Oe();Kt(l,a);for(let u=0;u<this.path.length;u++){const d=this.path[u];if(!Xr(d.latestValues))continue;let f;d.instance&&(Fh(d.latestValues)&&d.updateSnapshot(),f=Oe(),Kt(f,d.measurePageBox())),vx(l,d.latestValues,(c=d.snapshot)==null?void 0:c.layoutBox,f)}return Xr(this.latestValues)&&vx(l,this.latestValues),l}setTargetDelta(a){this.targetDelta=a,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(a){this.options={...this.options,...a,crossfade:a.crossfade!==void 0?a.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Ue.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(a=!1){var m;const l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);const c=!!this.resumingFrom||this!==l;if(!(a||c&&this.isSharedProjectionDirty||this.isProjectionDirty||(m=this.parent)!=null&&m.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:d,layoutId:f}=this.options;if(!this.layout||!(d||f))return;this.resolvedRelativeTargetAt=Ue.timestamp;const h=this.getClosestProjectingParent();h&&this.linkedParentVersion!==h.layoutVersion&&!h.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&h&&h.layout?this.createRelativeTarget(h,this.layout.layoutBox,h.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Oe(),this.targetWithTransforms=Oe()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),A4(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Kt(this.target,this.layout.layoutBox),gT(this.target,this.targetDelta)):Kt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?this.createRelativeTarget(h,this.target,h.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Fh(this.parent.latestValues)||pT(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(a,l,c){this.relativeParent=a,this.linkedParentVersion=a.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Oe(),this.relativeTargetOrigin=Oe(),Ac(this.relativeTargetOrigin,l,c,this.options.layoutAnchor||void 0),Kt(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var b;const a=this.getLead(),l=!!this.resumingFrom||this!==a;let c=!0;if((this.isProjectionDirty||(b=this.parent)!=null&&b.isProjectionDirty)&&
vendor: 2,166 bytes, line 543
543(c=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===Ue.timestamp&&(c=!1),c)return;const{layout:u,layoutId:d}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||d))return;Kt(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,h=this.treeScale.y;o4(this.layoutCorrected,this.treeScale,this.path,l),a.layout&&!a.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(a.target=a.layout.layoutBox,a.targetWithTransforms=Oe());const{target:m}=a;if(!m){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(dx(this.prevProjectionDelta.x,this.projectionDelta.x),dx(this.prevProjectionDelta.y,this.projectionDelta.y)),No(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==h||!kx(this.projectionDelta.x,this.prevProjectionDelta.x)||!kx(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",m))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(a=!0){var l;if((l=this.options.visualElement)==null||l.scheduleRender(),a){const c=this.getStack();c&&c.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Xs(),this.projectionDelta=Xs(),this.projectionDeltaWithTransform=Xs()}setAnimationOrigin(a,l=!1){const c=this.snapshot,u=c?c.latestValues:{},d={...this.latestValues},f=Xs();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!l;const h=Oe(),m=c?c.source:void 0,b=this.layout?this.layout.source:void 0,g=m!==b,w=this.getStack(),v=!w||w.members.length<=1,y=!!(g&&!v&&this.options.crossfade===!0&&!this.path.some(a_));this.animationProgress=0;let x;this.mixTargetDelta=k=>{const S=k/1e3;
vendor: 12,046 bytes, line 543
543Ex(f.x,a.x,S),Ex(f.y,a.y,S),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ac(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),o_(this.relativeTarget,this.relativeTargetOrigin,h,S),x&&I4(this.relativeTarget,x)&&(this.isProjectionDirty=!1),x||(x=Oe()),Kt(x,this.relativeTarget)),g&&(this.animationValues=d,_4(d,u,this.latestValues,S,y,v)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=S},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(a){var l,c,u;this.notifyListeners("animationStart"),(l=this.currentAnimation)==null||l.stop(),(u=(c=this.resumingFrom)==null?void 0:c.currentAnimation)==null||u.stop(),this.pendingAnimation&&(Vr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=me.update(()=>{_l.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Ri(0)),this.motionValue.jump(0,!1),this.currentAnimation=B4(this.motionValue,[0,1e3],{...a,velocity:0,isSync:!0,onUpdate:d=>{this.mixTargetDelta(d),a.onUpdate&&a.onUpdate(d)},onStop:()=>{},onComplete:()=>{a.onComplete&&a.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const a=this.getStack();a&&a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(W4),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const a=this.getLead();let{targetWithTransforms:l,target:c,layout:u,latestValues:d}=a;if(!(!l||!c||!u)){if(this!==a&&this.layout&&u&&DT(this.options.animationType,this.layout.layoutBox,u.layoutBox)){c=this.target||Oe();const f=st(this.layout.layoutBox.x);c.x.min=a.target.x.min,c.x.max=c.x.min+f;const h=st(this.layout.layoutBox.y);c.y.min=a.target.y.min,c.y.max=c.y.min+h}Kt(l,c),Ol(l,d),No(this.projectionDeltaWithTransform,this.layoutCorrected,l,d)}}registerSharedNode(a,l){this.sharedNodes.has(a)||this.sharedNodes.set(a,new G4),this.sharedNodes.get(a).add(l);const u=l.options.initialPromotionConfig;l.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(l):void 0})}isLead(){const a=this.getStack();return a?a.lead===this:!0}getLead(){var l;const{layoutId:a}=this.options;return a?((l=this.getStack())==null?void 0:l.lead)||this:this}getPrevLead(){var l;const{layoutId:a}=this.options;return a?(l=this.getStack())==null?void 0:l.prevLead:void 0}getStack(){const{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:l,preserveFollowOpacity:c}={}){const u=this.getStack();u&&u.promote(this,c),a&&(this.projectionDelta=void 0,this.needsReset=!0),l&&this.setOptions({transition:l})}relegate(){const a=this.getStack();return a?a.relegate(this):!1}resetSkewAndRotation(){const{visualElement:a}=this.options;if(!a)return;let l=!1;const{latestValues:c}=a;if((c.z||c.rotate||c.rotateX||c.rotateY||c.rotateZ||c.skewX||c.skewY)&&(l=!0),!l)return;const u={};c.z&&Hd("z",a,u,this.animationValues);for(let d=0;d<Ud.length;d++)Hd(`rotate${Ud[d]}`,a,u,this.animationValues),Hd(`skew${Ud[d]}`,a,u,this.animationValues);a.render();for(const d in u)a.setStaticValue(d,u[d]),this.animationValues&&(this.animationValues[d]=u[d]);a.scheduleRender()}applyProjectionStyles(a,l){if(!this.instance||this.isSVG)return;if(!this.isVisible){a.visibility="hidden";return}const c=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,a.visibility="",a.opacity="",a.pointerEvents=Ll(l==null?void 0:l.pointerEvents)||"",a.transform=c?c(this.latestValues,""):"none";return}const u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){this.options.layoutId&&(a.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,a.pointerEvents=Ll(l==null?void 0:l.pointerEvents)||""),this.hasProjected&&!Xr(this.latestValues)&&(a.transform=c?c({},""):"none",this.hasProjected=!1);return}a.visibility="";const d=u.animationValues||u.latestValues;this.applyTransformsToTarget();let f=O4(this.projectionDeltaWithTransform,this.treeScale,d);c&&(f=c(d,f)),a.transform=f;const{x:h,y:m}=this.projectionDelta;a.transformOrigin=`${h.origin*100}% ${m.origin*100}% 0`,u.animationValues?a.opacity=u===this?d.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:a.opacity=u===this?d.opacity!==void 0?d.opacity:"":d.opacityExit!==void 0?d.opacityExit:0;for(const b in Bh){if(d[b]===void 0)continue;const{correct:g,applyTo:w,isCSSVariable:v}=Bh[b],y=f==="none"?d[b]:g(d[b],u);if(w){const x=w.length;for(let k=0;k<x;k++)a[w[k]]=y}else v?this.options.visualElement.renderState.vars[b]=y:a[b]=y}this.options.layoutId&&(a.pointerEvents=u===this?Ll(l==null?void 0:l.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(a=>{var l;return(l=a.currentAnimation)==null?void 0:l.stop()}),this.root.nodes.forEach(Cx),this.root.sharedNodes.clear()}}}function Z4(e){e.updateLayout()}function Y4(e){var n;const t=((n=e.resumeFrom)==null?void 0:n.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:s}=e.layout,{animationType:i}=e.options,a=t.source!==e.layout.source;if(i==="size")mn(f=>{const h=a?t.measuredBox[f]:t.layoutBox[f],m=st(h);h.min=r[f].min,h.max=h.min+m});else if(i==="x"||i==="y"){const f=i==="x"?"y":"x";$h(a?t.measuredBox[f]:t.layoutBox[f],r[f])}else DT(i,t.layoutBox,r)&&mn(f=>{const h=a?t.measuredBox[f]:t.layoutBox[f],m=st(r[f]);h.max=h.min+m,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+m)});const l=Xs();No(l,r,t.layoutBox);const c=Xs();a?No(c,e.applyTransform(s,!0),t.measuredBox):No(c,r,t.layoutBox);const u=!zT(l);let d=!1;if(!e.resumeFrom){const f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:h,layout:m}=f;if(h&&m){const b=e.options.layoutAnchor||void 0,g=Oe();Ac(g,t.layoutBox,h.layoutBox,b);const w=Oe();Ac(w,r,m.layoutBox,b),ET(g,w)||(d=!0),f.options.layoutRoot&&(e.relativeTarget=w,e.relativeTargetOrigin=g,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:c,layoutDelta:l,hasLayoutChanged:u,hasRelativeLayoutChanged:d})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function q4(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Q4(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function X4(e){e.clearSnapshot()}function Cx(e){e.clearMeasurements()}function J4(e){e.isLayoutDirty=!0,e.updateLayout()}function Nx(e){e.isLayoutDirty=!1}function e_(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function t_(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function zx(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function n_(e){e.resolveTargetDelta()}function r_(e){e.calcProjection()}function s_(e){e.resetSkewAndRotation()}function i_(e){e.removeLeadSnapshot()}function Ex(e,t,n){e.translate=ye(t.translate,0,n),e.scale=ye(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Px(e,t,n,r){e.min=ye(t.min,n.min,r),e.max=ye(t.max,n.max,r)}function o_(e,t,n,r){Px(e.x,t.x,n.x,r),Px(e.y,t.y,n.y,r)}function a_(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const l_={duration:.45,ease:[.4,0,.1,1]},Ax=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Mx=Ax("applewebkit/")&&!Ax("chrome/")?Math.round:_t;function Rx(e){e.min=Mx(e.min),e.max=Mx(e.max)}function c_(e){Rx(e.x),Rx(e.y)}function DT(e,t,n){return e==="position"||e==="preserve-aspect"&&!P4(wx(t),wx(n),.2)}function u_(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const d_=RT({attachResizeListener:(e,t)=>oa(e,"resize",t),measureScroll:()=>{var e,t;return{x:document.documentElement.scrollLeft||((e=document.body)==null?void 0:e.scrollLeft)||0,y:document.documentElement.scrollTop||((t=document.body)==null?void 0:t.scrollTop)||0}},checkIsScrollRoot:()=>!0}),Gd={current:void 0},IT=RT({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Gd.current){const e=new d_({});e.mount(window),e.setOptions({layoutScroll:!0}),Gd.current=e}return Gd.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),OT=p.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function f_(e=!0){const t=p.useContext(Mp);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:s}=t,i=p.useId();p.useEffect(()=>{if(e)return s(i)},[e]);const a=p.useCallback(()=>e&&r&&r(i),[i,r,e]);return!n&&r?[!1,a]:[!0]}const LT=p.createContext({strict:!1}),Dx={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let Ix=!1;function h_(){if(Ix)return;const e={};for(const t in Dx)e[t]={isEnabled:n=>Dx[t].some(r=>!!n[r])};fT(e),Ix=!0}function _T(){return h_(),n4()}function m_(e){const t=_T();for(const n in e)t[n]={...t[n],...e[n]};fT(t)}const p_=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function Mc(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||p_.has(e)}let FT=e=>!Mc(e);function g_(e){typeof e=="function"&&(FT=t=>t.startsWith("on")?!Mc(t):e(t))}try{g_(require("@emotion/is-prop-valid").default)}catch{}function v_(e,t,n){const r={};for(const s in e)s==="values"&&typeof e.values=="object"||He(e[s])||(FT(s)||n===!0&&Mc(s)||!t&&!Mc(s)||e.draggable&&s.startsWith("onDrag"))&&(r[s]=e[s]);return r}const Pu=p.createContext({});function y_(e,t){if(Eu(e)){const{initial:n,animate:r}=e;return{initial:n===!1||ia(n)?n:void 0,animate:ia(r)?r:void 0}}return e.inherit!==!1?t:{}}function x_(e){const{initial:t,animate:n}=y_(e,p.useContext(Pu));return p.useMemo(()=>({initial:t,animate:n}),[Ox(t),Ox(n)])}function Ox(e){return Array.isArray(e)?e.join(" "):e}const ng=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function VT(e,t,n){for(const r in t)!He(t[r])&&!xT(r,n)&&(e[r]=t[r])}function b_({transformTemplate:e},t){return p.useMemo(()=>{const n=ng();return eg(n,t,e),Object.assign({},n.vars,n.style)},[t])}function w_(e,t){const n=e.style||{},r={};return VT(r,n,e),Object.assign(r,b_(e,t)),r}function k_(e,t){const n={},r=w_(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}
543`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const BT=()=>({...ng(),attrs:{}});function S_(e,t,n,r){const s=p.useMemo(()=>{const i=BT();return bT(i,t,kT(r),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[t]);if(e.style){const i={};VT(i,e.style,e),s.style={...i,...s.style}}return s}const j_=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function rg(e){return typeof e!="string"||e.includes("-")?!1:!!(j_.indexOf(e)>-1||/[A-Z]/u.test(e))}function T_(e,t,n,{latestValues:r},s,i=!1,a){const c=(a??rg(e)?S_:k_)(t,r,s,e),u=v_(t,typeof e=="string",i),d=e!==p.Fragment?{...u,...c,ref:n}:{},{children:f}=t,h=p.useMemo(()=>He(f)?f.get():f,[f]);return p.createElement(e,{...d,children:h})}function C_({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,s){return{latestValues:N_(n,r,s,e),renderState:t()}}function N_(e,t,n,r){const s={},i=r(e,{});for(const h in i)s[h]=Ll(i[h]);let{initial:a,animate:l}=e;const c=Eu(e),u=uT(e);t&&u&&!c&&e.inherit!==!1&&(a===void 0&&(a=t.initial),l===void 0&&(l=t.animate));let d=n?n.initial===!1:!1;d=d||a===!1;const f=d?l:a;if(f&&typeof f!="boolean"&&!zu(f)){const h=Array.isArray(f)?f:[f];for(let m=0;m<h.length;m++){const b=Wp(e,h[m]);if(b){const{transitionEnd:g,transition:w,...v}=b;for(const y in v){let x=v[y];if(Array.isArray(x)){const k=d?x.length-1:0;x=x[k]}x!==null&&(s[y]=x)}for(const y in g)s[y]=g[y]}}}return s}const $T=e=>(t,n)=>{const r=p.useContext(Pu),s=p.useContext(Mp),i=()=>C_(e,t,r,s);return n?i():jO(i)},z_=$T({scrapeMotionValuesFromProps:tg,createRenderState:ng}),E_=$T({scrapeMotionValuesFromProps:ST,createRenderState:BT}),P_=Symbol.for("motionComponentSymbol");function A_(e,t,n){const r=p.useRef(n);p.useInsertionEffect(()=>{r.current=n});const s=p.useRef(null);return p.useCallback(i=>{var l;i&&((l=e.onMount)==null||l.call(e,i));const a=r.current;if(typeof a=="function")if(i){const c=a(i);typeof c=="function"&&(s.current=c)}else s.current?(s.current(),s.current=null):a(i);else a&&(a.current=i);t&&(i?t.mount(i):t.unmount())},[t])}const UT=p.createContext({});function Ls(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function M_(e,t,n,r,s,i){var x,k;const{visualElement:a}=p.useContext(Pu),l=p.useContext(LT),c=p.useContext(Mp),u=p.useContext(OT),d=u.reducedMotion,f=u.skipAnimations,h=p.useRef(null),m=p.useRef(!1);r=r||l.renderer,!h.current&&r&&(h.current=r(e,{visualState:t,parent:a,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:d,skipAnimations:f,isSVG:i}),m.current&&h.current&&(h.current.manuallyAnimateOnMount=!0));const b=h.current,g=p.useContext(UT);b&&!b.projection&&s&&(b.type==="html"||b.type==="svg")&&R_(h.current,n,s,g);const w=p.useRef(!1);p.useInsertionEffect(()=>{b&&w.current&&b.update(n,c)});const v=n[Qj],y=p.useRef(!!v&&typeof window<"u"&&!((x=window.MotionHandoffIsComplete)!=null&&x.call(window,v))&&((k=window.MotionHasOptimisedAnimation)==null?void 0:k.call(window,v)));return CO(()=>{m.current=!0,b&&(w.current=!0,window.MotionIsMounted=!0,b.updateFeatures(),b.scheduleRenderMicrotask(),y.current&&b.animationState&&b.animationState.animateChanges())}),p.useEffect(()=>{b&&(!y.current&&b.animationState&&b.animationState.animateChanges(),y.current&&(queueMicrotask(()=>{var S;(S=window.MotionHandoffMarkAsComplete)==null||S.call(window,v)}),y.current=!1),b.enteringChildren=void 0)}),b}function R_(e,t,n,r){const{layoutId:s,layout:i,drag:a,dragConstraints:l,layoutScroll:c,layoutRoot:u,layoutAnchor:d,layoutCrossfade:f}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:HT(e.parent)),e.projection.setOptions({layoutId:s,layout:i,alwaysMeasureLayout:!!a||l&&Ls(l),visualElement:e,animationType:typeof i=="string"?i:"both",initialPromotionConfig:r,crossfade:f,layoutScroll:c,layoutRoot:u,layoutAnchor:d})}function HT(e){if(e)return e.options.allowProjection!==!1?e.projection:HT(e.parent)}function Wd(e,{forwardMotionProps:t=!1,type:n}={},r,s){r&&m_(r);const i=n?n==="svg":rg(e),a=i?E_:z_;function l(u,d){let f;const h={...p.useContext(OT),...u,layoutId:D_(u)},{isStatic:m}=h,b=x_(u),g=a(u,m);if(!m&&typeof window<"u"){I_();const w=O_(h);f=w.MeasureLayout,b.visualElement=M_(e,g,h,s,w.ProjectionNode,i)}return o.jsxs(Pu.Provider,{value:b,children:[f&&b.visualElement?o.jsx(f,{visualElement:b.visualElement,...h}):null,T_(e,u,A_(g,b.visualElement,d),g,m,t,i)]})}l.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const c=p.forwardRef(l);return c[P_]=e,c}function D_({layoutId:e}){const t=p.useContext(cj).id;return t&&e!==void 0?t+"-"+e:e}function I_(e,t){p.useContext(LT).strict}function O_(e){const t=_T(),{drag:n,layout:r}=t;if(!n&&!r)return{};const s={...n,...r};return{MeasureLayout:n!=null&&n.isEnabled(e)||r!=null&&r.isEnabled(e)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}
vendor: 17,510 bytes, line 543
543function L_(e,t){if(typeof Proxy>"u")return Wd;const n=new Map,r=(i,a)=>Wd(i,a,e,t),s=(i,a)=>r(i,a);return new Proxy(s,{get:(i,a)=>a==="create"?r:(n.has(a)||n.set(a,Wd(a,void 0,e,t)),n.get(a))})}const __=(e,t)=>t.isSVG??rg(e)?new x4(t):new h4(t,{allowProjection:e!==p.Fragment});class F_ extends Gr{constructor(t){super(t),t.animationState||(t.animationState=j4(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();zu(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)==null||t.call(this)}}let V_=0;class B_ extends Gr{constructor(){super(...arguments),this.id=V_++,this.isExitComplete=!1}update(){var i;if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;if(t&&r===!1){if(this.isExitComplete){const{initial:a,custom:l}=this.node.getProps();if(typeof a=="string"){const c=ps(this.node,a,l);if(c){const{transition:u,transitionEnd:d,...f}=c;for(const h in f)(i=this.node.getValue(h))==null||i.jump(f[h])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const s=this.node.animationState.setActive("exit",!t);n&&!t&&s.then(()=>{this.isExitComplete=!0,n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const $_={animation:{Feature:F_},exit:{Feature:B_}};function Ca(e){return{point:{x:e.pageX,y:e.pageY}}}const U_=e=>t=>qp(t)&&e(t,Ca(t));function zo(e,t,n,r){return oa(e,t,U_(n),r)}const GT=({current:e})=>e?e.ownerDocument.defaultView:null,Lx=(e,t)=>Math.abs(e-t);function H_(e,t){const n=Lx(e.x,t.x),r=Lx(e.y,t.y);return Math.sqrt(n**2+r**2)}const _x=new Set(["auto","scroll"]);class WT{constructor(t,n,{transformPagePoint:r,contextWindow:s=window,dragSnapToOrigin:i=!1,distanceThreshold:a=3,element:l}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=m=>{this.handleScroll(m.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=ol(this.lastRawMoveEventInfo,this.transformPagePoint));const m=Kd(this.lastMoveEventInfo,this.history),b=this.startEvent!==null,g=H_(m.offset,{x:0,y:0})>=this.distanceThreshold;if(!b&&!g)return;const{point:w}=m,{timestamp:v}=Ue;this.history.push({...w,timestamp:v});const{onStart:y,onMove:x}=this.handlers;b||(y&&y(this.lastMoveEvent,m),this.startEvent=this.lastMoveEvent),x&&x(this.lastMoveEvent,m)},this.handlePointerMove=(m,b)=>{this.lastMoveEvent=m,this.lastRawMoveEventInfo=b,this.lastMoveEventInfo=ol(b,this.transformPagePoint),me.update(this.updatePoint,!0)},this.handlePointerUp=(m,b)=>{this.end();const{onEnd:g,onSessionEnd:w,resumeAnimation:v}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&v&&v(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const y=Kd(m.type==="pointercancel"?this.lastMoveEventInfo:ol(b,this.transformPagePoint),this.history);this.startEvent&&g&&g(m,y),w&&w(m,y)},!qp(t))return;this.dragSnapToOrigin=i,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=a,this.contextWindow=s||window;const c=Ca(t),u=ol(c,this.transformPagePoint),{point:d}=u,{timestamp:f}=Ue;this.history=[{...d,timestamp:f}];const{onSessionStart:h}=n;h&&h(t,Kd(u,this.history)),this.removeListeners=Sa(zo(this.contextWindow,"pointermove",this.handlePointerMove),zo(this.contextWindow,"pointerup",this.handlePointerUp),zo(this.contextWindow,"pointercancel",this.handlePointerUp)),l&&this.startScrollTracking(l)}startScrollTracking(t){let n=t.parentElement;for(;n;){const r=getComputedStyle(n);(_x.has(r.overflowX)||_x.has(r.overflowY))&&this.scrollPositions.set(n,{x:n.scrollLeft,y:n.scrollTop}),n=n.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const n=this.scrollPositions.get(t);if(!n)return;const r=t===window,s=r?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},i={x:s.x-n.x,y:s.y-n.y};i.x===0&&i.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(t,s),me.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Vr(this.updatePoint)}}function ol(e,t){return t?{point:t(e.point)}:e}function Fx(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Kd({point:e},t){return{point:e,delta:Fx(e,KT(t)),offset:Fx(e,G_(t)),velocity:W_(t,.1)}}function G_(e){return e[0]}function KT(e){return e[e.length-1]}function W_(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const s=KT(e);for(;n>=0&&(r=e[n],!(s.timestamp-r.timestamp>vt(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&s.timestamp-r.timestamp>vt(t)*2&&(r=e[1]);const i=It(s.timestamp-r.timestamp);if(i===0)return{x:0,y:0};const a={x:(s.x-r.x)/i,y:(s.y-r.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function K_(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?ye(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?ye(n,e,r.max):Math.min(e,n)),e}function Vx(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function Z_(e,{top:t,left:n,bottom:r,right:s}){return{x:Vx(e.x,n,s),y:Vx(e.y,t,r)}}function Bx(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function Y_(e,t){return{x:Bx(e.x,t.x),y:Bx(e.y,t.y)}}function q_(e,t){let n=.5;const r=st(e),s=st(t);return s>r?n=ra(t.min,t.max-r,e.min):r>s&&(n=ra(e.min,e.max-s,t.min)),Cn(0,1,n)}function Q_(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const Uh=.35;function X_(e=Uh){return e===!1?e=0:e===!0&&(e=Uh),{x:$x(e,"left","right"),y:$x(e,"top","bottom")}}function $x(e,t,n){return{min:Ux(e,t),max:Ux(e,n)}}function Ux(e,t){return typeof e=="number"?e:e[t]||0}const J_=new WeakMap;class eF{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Oe(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:s}=this.visualElement;if(s&&s.isPresent===!1)return;const i=f=>{n&&this.snapToCursor(Ca(f).point),this.stopAnimation()},a=(f,h)=>{const{drag:m,dragPropagation:b,onDragStart:g}=this.getProps();if(m&&!b&&(this.openDragLock&&this.openDragLock(),this.openDragLock=M3(m),!this.openDragLock))return;this.latestPointerEvent=f,this.latestPanInfo=h,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),mn(v=>{let y=this.getAxisMotionValue(v).get()||0;if(Sn.test(y)){const{projection:x}=this.visualElement;if(x&&x.layout){const k=x.layout.layoutBox[v];k&&(y=st(k)*(parseFloat(y)/100))}}this.originPoint[v]=y}),g&&me.update(()=>g(f,h),!1,!0),Dh(this.visualElement,"transform");const{animationState:w}=this.visualElement;w&&w.setActive("whileDrag",!0)},l=(f,h)=>{this.latestPointerEvent=f,this.latestPanInfo=h;const{dragPropagation:m,dragDirectionLock:b,onDirectionLock:g,onDrag:w}=this.getProps();if(!m&&!this.openDragLock)return;const{offset:v}=h;if(b&&this.currentDirection===null){this.currentDirection=nF(v),this.currentDirection!==null&&g&&g(this.currentDirection);return}this.updateAxis("x",h.point,v),this.updateAxis("y",h.point,v),this.visualElement.render(),w&&me.update(()=>w(f,h),!1,!0)},c=(f,h)=>{this.latestPointerEvent=f,this.latestPanInfo=h,this.stop(f,h),this.latestPointerEvent=null,this.latestPanInfo=null},u=()=>{const{dragSnapToOrigin:f}=this.getProps();(f||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:d}=this.getProps();this.panSession=new WT(t,{onSessionStart:i,onStart:a,onMove:l,onSessionEnd:c,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,distanceThreshold:r,contextWindow:GT(this.visualElement),element:this.visualElement.current})}stop(t,n){const r=t||this.latestPointerEvent,s=n||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!s||!r)return;const{velocity:a}=s;this.startAnimation(a);const{onDragEnd:l}=this.getProps();l&&me.postRender(()=>l(r,s))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,n,r){const{drag:s}=this.getProps();if(!r||!al(t,s,this.currentDirection))return;const i=this.getAxisMotionValue(t);let a=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(a=K_(a,this.constraints[t],this.elastic[t])),i.set(a)}resolveConstraints(){var i;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(i=this.visualElement.projection)==null?void 0:i.layout,s=this.constraints;t&&Ls(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=Z_(r.layoutBox,t):this.constraints=!1,this.elastic=X_(n),s!==this.constraints&&!Ls(t)&&r&&this.constraints&&!this.hasMutatedConstraints&&mn(a=>{this.constraints!==!1&&this.getAxisMotionValue(a)&&(this.constraints[a]=Q_(r.layoutBox[a],this.constraints[a]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Ls(t))return!1;const r=t.current;Ai(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:s}=this.visualElement;if(!s||!s.layout)return!1;const i=a4(r,s.root,this.visualElement.getTransformPagePoint());let a=Y_(s.layout.layoutBox,i);if(n){const l=n(s4(a));this.hasMutatedConstraints=!!l,l&&(a=mT(l))}return a}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:s,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:l}=this.getProps(),c=this.constraints||{},u=mn(d=>{if(!al(d,n,this.currentDirection))return;let f=c&&c[d]||{};(a===!0||a===d)&&(f={min:0,max:0});const h=s?200:1e6,m=s?40:1e7,b={type:"inertia",velocity:r?t[d]:0,bounceStiffness:h,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...i,...f};return this.startAxisValueAnimation(d,b)});return Promise.all(u).then(l)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return Dh(this.visualElement,t),r.start(Gp(t,r,0,n,this.visualElement,!1))}stopAnimation(){mn(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),s=r[n];return s||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){mn(n=>{const{drag:r}=this.getProps();if(!al(n,r,this.currentDirection))return;const{projection:s}=this.visualElement,i=this.getAxisMotionValue(n);if(s&&s.layout){const{min:a,max:l}=s.layout.layoutBox[n],c=i.get()||0;i.set(t[n]-ye(a,l,.5)+c)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Ls(n)||!r||!this.constraints)return;this.stopAnimation();const s={x:0,y:0};mn(a=>{const l=this.getAxisMotionValue(a);if(l&&this.constraints!==!1){const c=l.get();s[a]=q_({min:c,max:c},this.constraints[a])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),mn(a=>{if(!al(a,t,null))return;const l=this.getAxisMotionValue(a),{min:c,max:u}=this.constraints[a];l.set(ye(c,u,s[a]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;J_.set(this.visualElement,this);const t=this.visualElement.current,n=zo(t,"pointerdown",u=>{const{drag:d,dragListener:f=!0}=this.getProps(),h=u.target,m=h!==t&&_3(h);d&&f&&!m&&this.start(u)});let r;const s=()=>{const{dragConstraints:u}=this.getProps();Ls(u)&&u.current&&(this.constraints=this.resolveRefConstraints(),r||(r=tF(t,u.current,()=>this.scalePositionWithinConstraints())))},{projection:i}=this.visualElement,a=i.addEventListener("measure",s);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),me.read(s);const l=oa(window,"resize",()=>this.scalePositionWithinConstraints()),c=i.addEventListener("didUpdate",({delta:u,hasLayoutChanged:d})=>{this.isDragging&&d&&(mn(f=>{const h=this.getAxisMotionValue(f);h&&(this.originPoint[f]+=u[f].translate,h.set(h.get()+u[f].translate))}),this.visualElement.render())});return()=>{l(),n(),a(),c&&c(),r&&r()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:s=!1,dragConstraints:i=!1,dragElastic:a=Uh,dragMomentum:l=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:s,dragConstraints:i,dragElastic:a,dragMomentum:l}}}function Hx(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function tF(e,t,n){const r=Jy(e,Hx(n)),s=Jy(t,Hx(n));return()=>{r(),s()}}function al(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function nF(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class rF extends Gr{constructor(t){super(t),this.removeGroupControls=_t,this.removeListeners=_t,this.controls=new eF(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||_t}update(){const{dragControls:t}=this.node.getProps(),{dragControls:n}=this.node.prevProps||{};t!==n&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const Zd=e=>(t,n)=>{e&&me.update(()=>e(t,n),!1,!0)};class sF extends Gr{constructor(){super(...arguments),this.removePointerDownListener=_t}onPointerDown(t){this.session=new WT(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:GT(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:s}=this.node.getProps();return{onSessionStart:Zd(t),onStart:Zd(n),onMove:Zd(r),onEnd:(i,a)=>{delete this.session,s&&me.postRender(()=>s(i,a))}}}mount(){this.removePointerDownListener=zo(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let Yd=!1;class iF extends p.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:s}=this.props,{projection:i}=t;i&&(n.group&&n.group.add(i),r&&r.register&&s&&r.register(i),Yd&&i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),_l.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:s,isPresent:i}=this.props,{projection:a}=r;return a&&(a.isPresent=i,t.layoutDependency!==n&&a.setOptions({...a.options,layoutDependency:n}),Yd=!0,s||t.layoutDependency!==n||n===void 0||t.isPresent!==i?a.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?a.promote():a.relegate()||me.postRender(()=>{const l=a.getStack();(!l||!l.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:t,layoutAnchor:n}=this.props,{projection:r}=t;r&&(r.options.layoutAnchor=n,r.root.didUpdate(),Yp.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:s}=t;Yd=!0,s&&(s.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(s),r&&r.deregister&&r.deregister(s))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function ZT(e){const[t,n]=f_(),r=p.useContext(cj);return o.jsx(iF,{...e,layoutGroup:r,switchLayoutGroup:p.useContext(UT),isPresent:t,safeToRemove:n})}const oF={pan:{Feature:sF},drag:{Feature:rF,ProjectionNode:IT,MeasureLayout:ZT}};function Gx(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const s="onHover"+n,i=r[s];i&&me.postRender(()=>i(t,Ca(t)))}
543class aF extends Gr{mount(){const{current:t}=this.node;t&&(this.unmount=D3(t,(n,r)=>(Gx(this.node,r,"Start"),s=>Gx(this.node,s,"End"))))}unmount(){}}class lF extends Gr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Sa(oa(this.node.current,"focus",()=>this.onFocus()),oa(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Wx(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const s="onTap"+(n==="End"?"":n),i=r[s];i&&me.postRender(()=>i(t,Ca(t)))}class cF extends Gr{mount(){const{current:t}=this.node;if(!t)return;const{globalTapTarget:n,propagate:r}=this.node.props;this.unmount=V3(t,(s,i)=>(Wx(this.node,i,"Start"),(a,{success:l})=>Wx(this.node,a,l?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:(r==null?void 0:r.tap)===!1})}unmount(){}}const Hh=new WeakMap,qd=new WeakMap,uF=e=>{const t=Hh.get(e.target);t&&t(e)},dF=e=>{e.forEach(uF)};function fF({root:e,...t}){const n=e||document;qd.has(n)||qd.set(n,{});const r=qd.get(n),s=JSON.stringify(t);return r[s]||(r[s]=new IntersectionObserver(dF,{root:e,...t})),r[s]}function hF(e,t,n){const r=fF(t);return Hh.set(e,n),r.observe(e),()=>{Hh.delete(e),r.unobserve(e)}}const mF={some:0,all:1};class pF extends Gr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var c;(c=this.stopObserver)==null||c.call(this);const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:s="some",once:i}=t,a={root:n?n.current:void 0,rootMargin:r,threshold:typeof s=="number"?s:mF[s]},l=u=>{const{isIntersecting:d}=u;if(this.isInView===d||(this.isInView=d,i&&!d&&this.hasEnteredView))return;d&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",d);const{onViewportEnter:f,onViewportLeave:h}=this.node.getProps(),m=d?f:h;m&&m(u)};this.stopObserver=hF(this.node.current,a,l)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(gF(t,n))&&this.startObserver()}unmount(){var t;(t=this.stopObserver)==null||t.call(this),this.hasEnteredView=!1,this.isInView=!1}}function gF({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const vF={inView:{Feature:pF},tap:{Feature:cF},focus:{Feature:lF},hover:{Feature:aF}},yF={layout:{ProjectionNode:IT,MeasureLayout:ZT}},xF={...$_,...vF,...oF,...yF},F=L_(xF,__);function _({children:e,delay:t=0,direction:n="up",duration:r=.5,className:s=""}){const i={up:{y:40,x:0},down:{y:-40,x:0},left:{y:0,x:40},right:{y:0,x:-40}};return o.jsx(F.div,{initial:{opacity:0,...i[n]},whileInView:{opacity:1,x:0,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:r,delay:t,ease:[.25,.1,.25,1]},className:s,children:e})}function jt({children:e,staggerDelay:t=.1,className:n=""}){return o.jsx(F.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-100px"},variants:{hidden:{},visible:{transition:{staggerChildren:t}}},className:n,children:e})}function Tt({children:e,className:t=""}){return o.jsx(F.div,{variants:{hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:.5,ease:[.25,.1,.25,1]}}},className:t,children:e})}function Xe({children:e,className:t="",hoverScale:n=1.02,hoverY:r=-8}){return o.jsx(F.div,{whileHover:{scale:n,y:r,transition:{duration:.3,ease:"easeOut"}},className:t,children:e})}const bF="/assets/hero-industrial-w1HJY_xD.jpg",YT="/assets/cnc-action-PJCn4P19.jpg",Eo="/assets/gears-closeup-BT81g8TQ.jpg",qT="/assets/welding-action-BKoiB3qm.jpg",Gh="/assets/quality-control-DlEGsdLI.jpg",Rc="/assets/factory-floor-BsKJISpb.jpg",wF="/assets/reverse-engineering-service-DjikQdLS.jpg",kF="/assets/large-parts-service-BnrIW1cV.jpg",
543SF="https://sargepszer.hu/__l5e/assets-v1/743d6b2e-8b4f-48ba-a170-555703927624/og-image.jpg";function Nn({title:e,description:t,canonical:n,ogImage:r=SF,ogType:s="website",noindex:i=!1,jsonLd:a}){const l=a?Array.isArray(a)?a:[a]:[];return o.jsxs(R2,{prioritizeSeoTags:!0,children:[o.jsx("title",{children:e}),o.jsx("meta",{name:"description",content:t}),o.jsx("link",{rel:"canonical",href:n}),i&&o.jsx("meta",{name:"robots",content:"noindex,follow"}),o.jsx("meta",{property:"og:title",content:e}),o.jsx("meta",{property:"og:description",content:t}),o.jsx("meta",{property:"og:type",content:s}),o.jsx("meta",{property:"og:url",content:n}),o.jsx("meta",{property:"og:image",content:r}),o.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),o.jsx("meta",{name:"twitter:title",content:e}),o.jsx("meta",{name:"twitter:description",content:t}),o.jsx("meta",{name:"twitter:image",content:r}),l.map((c,u)=>o.jsx("script",{type:"application/ld+json",children:JSON.stringify(c)},u))]})}function jF(){const{t:e}=yt(),t=[{title:e.nav.partsManufacturing,description:e.services.partsDesc,icon:th,href:"/alkatresz-gyartas",image:Gh},{title:e.nav.gears,description:e.services.gearsDesc,icon:Vn,href:"/fogaskerekek",image:Eo},{title:e.nav.reverseEngineering,description:e.services.reverseDesc,icon:Zo,href:"/reverse-engineering",image:wF},{title:e.nav.largeParts,description:e.services.largePartsDesc,icon:dc,href:"/nagy-alkatreszek",image:kF}],n=[e.industries.metallurgy,e.industries.mining,e.industries.automotive,e.industries.agriculture,e.industries.food,e.industries.power,e.industries.chemical],r=[{value:"1992",label:e.common.since,icon:ai},{value:"5500 m²",label:e.common.facility,icon:ek},{value:"30+",label:e.common.specialists,icon:KE},{value:"ISO 9001",label:e.common.certification,icon:Nl,href:Al.url}],s=[{id:"cnc-technologia-jovoje",title:e.blog.post1.title,excerpt:e.blog.post1.excerpt,date:e.blog.post1.date,image:Rc},{id:"precizios-fogaskerek-gyartas",title:e.blog.post2.title,excerpt:e.blog.post2.excerpt,date:e.blog.post2.date,image:Eo},{id:"acelszerkezetek-a-modern-iparban",title:e.blog.post3.title,excerpt:e.blog.post3.excerpt,date:e.blog.post3.date,image:qT}];return o.jsxs("div",{children:[o.jsx(Nn,{title:"CNC megmunkálás és alkatrészgyártás | Sárgépszer Kft.",description:"Precíziós CNC megmunkálás, fogaskerék gyártás és egyedi alkatrészgyártás Sárospatakon. Kis és nagy sorozatban is, komplex gépalkatrészekhez.",canonical:"https://sargepszer.hu/",ogType:"website",jsonLd:[{"@context":"https://schema.org","@type":"ManufacturingBusiness","@id":"https://sargepszer.hu/#business",name:"Sárgépszer Alkatrészgyártó és Kereskedelmi Kft.",alternateName:"Sárgépszer Kft.",description:"Precíziós CNC megmunkálás, fogaskerék gyártás, reverse engineering és nagyméretű gépalkatrészek gyártása Sárospatakon, 1992 óta.",url:"https://sargepszer.hu/",telephone:["+36 47 511 395","+36 20 286-3341"],email:"[email protected]",foundingDate:"1992",address:{"@type":"PostalAddress",streetAddress:"Wesselényi út 34.",postalCode:"3950",addressLocality:"Sárospatak",addressCountry:"HU"},openingHoursSpecification:{"@type":"OpeningHoursSpecification",dayOfWeek:["Monday","Tuesday","Wednesday","Thursday","Friday"],opens:"06:30",closes:"15:00"},knowsAbout:["CNC megmunkálás","alkatrészgyártás","fogaskerék gyártás","reverse engineering","nagyméretű alkatrészek gyártása"]},{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Kezdőlap",item:"https://sargepszer.hu/"}
543]}]}),o.jsxs("section",{className:"relative min-h-[90vh] flex items-center overflow-hidden",children:[o.jsxs("div",{className:"absolute inset-0",children:[o.jsx(F.img,{initial:{scale:1.1},animate:{scale:1},transition:{duration:1.5,ease:"easeOut"},src:bF,alt:"Sárgépszer gyártócsarnok CNC megmunkálógépekkel Sárospatakon",className:"w-full h-full object-cover"}),o.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-industrial-dark/95 via-industrial-dark/80 to-industrial-dark/40"})]}),o.jsx("div",{className:"absolute inset-0 overflow-hidden pointer-events-none",children:[...Array(20)].map((i,a)=>o.jsx(F.div,{className:"absolute w-1 h-1 bg-accent/30 rounded-full",initial:{x:Math.random()*100+"%",y:"100%",opacity:0},animate:{y:"-10%",opacity:[0,1,0]},transition:{duration:4+Math.random()*4,repeat:1/0,delay:Math.random()*4,ease:"linear"}},a))}),o.jsx("div",{className:"relative container-wide py-20",children:o.jsxs("div",{className:"max-w-2xl",children:[o.jsx(_,{delay:.2,children:o.jsxs(F.a,{href:Al.url,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-4 py-2 rounded-full bg-accent/20 border border-accent/30 text-accent text-sm font-medium mb-6 hover:bg-accent/30 transition-colors",whileHover:{scale:1.05},transition:{type:"spring",stiffness:400},children:[o.jsx(Nl,{className:"h-4 w-4"}),e.home.heroBadge]})}),o.jsx(_,{delay:.3,children:o.jsxs("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold text-primary-foreground mb-6 leading-tight",children:[e.home.heroTitle," ",o.jsx("br",{}),o.jsx(F.span,{className:"text-accent inline-block",initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:.6,duration:.5},children:e.home.heroTitleAccent})]})}),o.jsx(_,{delay:.4,children:o.jsx("p",{className:"text-lg md:text-xl text-primary-foreground/80 mb-8 leading-relaxed",children:e.home.heroSubtitle})}),o.jsx(_,{delay:.5,children:o.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[o.jsx(F.div,{whileHover:{scale:1.05},whileTap:{scale:.95},children:o.jsx(le,{size:"lg",className:"bg-accent text-accent-foreground hover:bg-accent/90",asChild:!0,children:o.jsxs(Z,{to:"/elerhetoseg",children:[e.common.requestQuote,o.jsx(F.span,{animate:{x:[0,5,0]},transition:{duration:1.5,repeat:1/0},children:o.jsx(Ie,{className:"ml-2 h-5 w-5"})})]})})}),o.jsx(F.div,{whileHover:{scale:1.05},whileTap:{scale:.95},children:o.jsx(le,{size:"lg",variant:"outline",className:"border-2 border-accent/70 text-accent bg-transparent hover:bg-accent/20 hover:border-accent",asChild:!0,children:o.jsx(Z,{to:"/muszaki-lehetosegek",children:e.common.technicalData})})})]})})]})}),o.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-24 bg-gradient-to-t from-background to-transparent"})]}),o.jsx("section",{id:"rolunk",className:"section-padding bg-background",children:o.jsx("div",{className:"container-wide",children:o.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 lg:gap-16 items-center",children:[o.jsxs("div",{children:[o.jsx(_,{children:o.jsxs("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-6",children:[e.home.companyTitle," ",o.jsx("span",{className:"text-primary",children:e.home.companyTitleAccent})]})}),o.jsx(_,{delay:.1,children:o.jsxs("div",{className:"space-y-4 text-muted-foreground leading-relaxed",children:[o.jsx("p",{children:e.home.companyDesc1}),o.jsx("p",{children:e.home.companyDesc2}),e.home.companyDesc3&&o.jsx("p",{children:e.home.companyDesc3})]})})]}),o.jsx(jt,{className:"grid grid-cols-2 gap-4",children:r.map((i,a)=>{const l=o.jsx(Xe,{children:o.jsx(oe,{className:"border-border/50 bg-card hover:shadow-lg transition-shadow h-full",children:o.jsxs(ue,{className:"p-6 text-center",children:[o.jsx(F.div,{whileHover:{rotate:360},transition:{duration:.5},children:o.jsx(i.icon,{className:"h-8 w-8 mx-auto mb-3 text-primary"})}),o.jsx("div",{className:"text-2xl md:text-3xl font-bold text-foreground mb-1",children:i.value}),o.jsx("div",{className:"text-sm text-muted-foreground",children:i.label})]})})});return o.jsx(Tt,{children:"href"in i&&i.href?o.jsx("a",{href:i.href,target:"_blank",rel:"noopener noreferrer",className:"block h-full",children:l}):l},a)})})]})})}),o.jsx("section",{className:"section-padding bg-muted/30",children:o.jsxs("div",{className:"container-wide",children:[o.jsx(_,{children:o.jsxs("div",{className:"text-center mb-12",children:[o.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:e.home.servicesTitle}),o.jsx("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto",children:e.home.servicesSubtitle})]})}),o.jsx(jt,{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-6 w-full items-stretch",children:t.map((i,a)=>o.jsx(Tt,{className:"h-full",children:o.jsx(Z,{to:i.href,className:"group block h-full",children:o.jsx(Xe,{hoverScale:1.03,hoverY:-10,className:"h-full",children:o.jsxs(oe,{className:"h-full border-border/50 hover:border-primary/50 overflow-hidden transition-all duration-300 flex flex-col",children:[o.jsxs("div",{className:"relative h-40 overflow-hidden shrink-0",children:[o.jsx(F.img,{src:i.image,alt:i.title,className:"w-full h-full object-cover",whileHover:{scale:1.1},transition:{duration:.5}}),o.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-card via-card/50 to-transparent"}),o.jsx(F.div,{className:"absolute bottom-4 left-4 h-12 w-12 rounded-lg bg-primary/90 flex items-center justify-center",whileHover:{rotate:10},children:o.jsx(i.icon,{className:"h-6 w-6 text-primary-foreground"})})]}),o.jsxs(ue,{className:"p-6 pt-4 flex flex-col flex-grow",children:[o.jsx("h3",{className:"text-lg font-semibold text-foreground mb-2 group-hover:text-primary transition-colors",children:i.title}),o.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed flex-grow",children:i.description}),o.jsxs("div",{className:"flex items-center mt-4 text-primary text-sm font-medium",children:[e.common.learnMore,o.jsx(Ie,{className:"ml-2 h-4 w-4 group-hover:translate-x-2 transition-transform duration-300"})]})]})]})})})},a))})]})}),o.jsx("section",{className:"py-0 overflow-hidden",children:o.jsx("div",{className:"grid md:grid-cols-3 h-[400px]",children:[YT,Eo,Gh].map((i,a)=>o.jsxs(F.div,{className:"relative overflow-hidden cursor-pointer group",whileHover:{flex:2},transition:{duration:.5},children:[o.jsx("img",{src:i,alt:`Gallery ${a+1}`,className:"w-full h-full object-cover transition-transform duration-700 group-hover:scale-110"}),o.jsx("div",{className:"absolute inset-0 bg-industrial-dark/40 group-hover:bg-industrial-dark/20 transition-colors duration-500"})]},a))})}),o.jsx("section",{className:"section-padding bg-industrial-dark text-primary-foreground",children:o.jsx("div",{className:"container-wide",children:o.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[o.jsxs("div",{children:[o.jsx(_,{children:o.jsxs("h2",{className:"text-3xl md:text-4xl font-bold mb-6",children:[e.home.industriesTitle," ",o.jsx("span",{className:"text-accent",children:e.home.industriesTitleAccent})]})}),o.jsx(_,{delay:.1,children:o.jsx("p",{className:"text-primary-foreground
543/70 mb-8 leading-relaxed",children:e.home.industriesSubtitle})}),o.jsx(_,{delay:.2,children:o.jsx("div",{className:"flex flex-wrap gap-3",children:n.map((i,a)=>o.jsx(F.span,{className:"px-4 py-2 rounded-full bg-primary-foreground/10 border border-primary-foreground/20 text-sm cursor-default",whileHover:{scale:1.1,backgroundColor:"rgba(255,255,255,0.2)",borderColor:"rgba(255,255,255,0.4)"},initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{delay:a*.05},viewport:{once:!0},children:i},a))})})]}),o.jsx(_,{direction:"left",children:o.jsxs("div",{className:"relative",children:[o.jsxs(F.div,{className:"aspect-square rounded-2xl overflow-hidden",whileHover:{scale:1.02},transition:{duration:.3},children:[o.jsx("img",{src:Rc,alt:"Gyártócsarnok belső tere megmunkálógépekkel a Sárgépszer üzemében",className:"w-full h-full object-cover"}),o.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-primary/30 to-accent/30 mix-blend-overlay"})]}),o.jsx(F.div,{className:"absolute -top-4 -right-4 h-24 w-24 rounded-full bg-accent flex items-center justify-center shadow-xl",animate:{y:[0,-10,0]},transition:{duration:3,repeat:1/0,ease:"easeInOut"},children:o.jsx("span",{className:"text-accent-foreground font-bold text-xl",children:"30+"})})]})})]})})}),o.jsx("section",{className:"section-padding bg-muted/30",children:o.jsx("div",{className:"container-wide",children:o.jsx(_,{children:o.jsxs("div",{className:"text-center max-w-2xl mx-auto",children:[o.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:e.home.downloadsTitle}),o.jsx("p",{className:"text-lg text-muted-foreground mb-8",children:e.home.downloadsSubtitle}),o.jsxs(wu,{children:[o.jsx(HS,{asChild:!0,children:o.jsxs(le,{size:"lg",className:"bg-primary text-primary-foreground hover:bg-primary/90",children:[o.jsx(_v,{className:"mr-2 h-5 w-5"}),e.home.downloadsButton]})}),o.jsxs(ka,{className:"sm:max-w-[600px]",children:[o.jsxs(ku,{children:[o.jsx(Su,{children:e.downloads.title}),o.jsx(Np,{children:e.downloads.description})]}),o.jsx("div",{className:"py-4",children:o.jsxs("a",{href:Al.url,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-3 p-4 rounded-lg border border-border hover:border-primary/50 hover:bg-muted/50 transition-colors",children:[o.jsx(Nl,{className:"h-5 w-5 text-primary shrink-0"}),o.jsx("span",{className:"font-medium text-foreground",children:"ISO 9001:2015"}),o.jsx(_v,{className:"ml-auto h-4 w-4 text-muted-foreground"})]})})]})]})]})})})}),o.jsx("section",{className:"section-padding bg-background",children:o.jsxs("div",{className:"container-wide",children:[o.jsx(_,{children:o.jsxs("div",{className:"flex items-center justify-between mb-12",children:[o.jsx("div",{children:o.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-2",children:e.blog.latestPosts})}),o.jsx(F.div,{whileHover:{x:5},children:o.jsxs(Z,{to:"/blog",className:"flex items-center text-primary font-medium hover:underline",children:[e.common.learnMore,o.jsx(Ie,{className:"ml-2 h-4 w-4"})]})})]})}),o.jsx(jt,{className:"grid md:grid-cols-3 gap-6",children:s.map(i=>o.jsx(Tt,{children:o.jsx(Z,{to:`/blog/${i.id}`,className:"group block",children:o.jsx(Xe,{children:o.jsxs(oe,{className:"overflow-hidden border-border/50 hover:border-primary/50 transition-all h-full",children:[o.jsxs("div",{className:"aspect-video relative overflow-hidden",children:[o.jsx(F.img,{src:i.image,alt:i.title,className:"w-full h-full object-cover",whileHover:{scale:1.1},transition:{duration:.5}}),o.jsx("div",{className:"absolute top-4 left-4",children:o.jsxs("span",{className:"px-3 py-1 bg-primary text-primary-foreground text-xs font-medium rounded-full",children:[o.jsx(HE,{className:"inline h-3 w-3 mr-1"}),"Blog"]})})]}),o.jsxs(ue,{className:"p-6",children:[o.jsx("p",{className:"text-sm text-muted-foreground mb-2",children:i.date}),o.jsx("h3",{className:"font-semibold text-foreground mb-2 group-hover:text-primary transition-colors line-clamp-2",children:i.title}),o.jsx("p",{className:"text-sm text-muted-foreground line-clamp-2",children:i.excerpt}),o.jsxs("div",{className:"flex items-center mt-4 text-primary text-sm font-medium",children:[e.blog.readMore,o.jsx(Ie,{className:"ml-2 h-4 w-4 group-hover:translate-x-1 transition-transform"})]})]})]})})})},i.id))})]})}),o.jsx("section",{className:"py-12 md:py-16 bg-background border-t border-border",children:o.jsx("div",{className:"container-wide max-w-4xl",children:o.jsxs(_,{children:[o.jsx("p",{className:"text-center text-sm uppercase tracking-wider text-muted-foreground mb-4",children:"Európai uniós támogatással megvalósuló fejlesztés"}),o.jsx(lj,{variant:"card"})]})})}),o.jsx("section",{className:"section-padding bg-muted/30",children:o.jsx("div",{className:"container-wide",children:o.jsx(_,{children:o.jsxs(oe,{className:"border-primary/20 bg-gradient-to-br from-primary/5 to-accent/5 overflow-hidden relative",children:[o.jsx("div",{className:"absolute inset-0 opacity-10",children:o.jsx(F.div,{className:"absolute inset-0",style:{backgroundImage:"radial-gradient(circle at 2px 2px, currentColor 1px, transparent 0)",backgroundSize:"40px 40px"},animate:{x:[0,40],y:[0,40]},transition:{duration:20,repeat:1/0,ease:"linear"}})}),o.jsxs(ue,{className:"p-8 md:p-12 text-center relative z-10",children:[o.jsx(F.h2,{className:"text-2xl md:text-3xl font-bold text-foreground mb-4",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},children:e.home.ctaTitle}),o.jsx(F.p,{className:"text-muted-foreground mb-8 max-w-xl mx-auto",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.1},children:e.home.ctaSubtitle}),o.jsxs(F.div,{className:"flex flex-col sm:flex-row gap-4 justify-center",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.2},children:[o.jsx(F.div,{whileHover:{scale:1.05},whileTap:{scale:.95},children:o.jsx(le,{size:"lg",asChild:!0,children:o.jsxs(Z,{to:"/elerhetoseg",children:[e.common.contactUs,o.jsx(Ie,{className:"ml-2 h-5 w-5"})]})})}),o.jsx(F.div,{whileHover:{scale:1.05},whileTap:{scale:.95},children:o.jsx(le,{size:"lg",variant:"outline",asChild:!0,children:o.jsx(Z,{to:"/muszaki-lehetosegek",children:e.common.technicalData})})})]})]})]})})})})]})}const Kx="/assets/parts-hero-DX6JxkTP.jpg",TF={"250-es csőmag":{en:"250 pipe core",de:"Rohrkern 250"},"700-as csőmag":{en:"700 pipe core",de:"Rohrkern 700"},"alkatrészek vegyesen":{en:"Assorted parts",de:"Verschiedene Bauteile"},bilincs:{en:"Clamp",de:"Schelle"},bugaütköző:{en:"Billet stopper",de:"Knüppelanschlag"},"csuklósfej + laposcapú orsó":{en:"Ball joint head + flat-end spindle",de:"Gelenkkopf + Spindel mit Flachzapfen"},"daru emelőszem":{en:"Crane lifting eye",de:"Kran-Hebeauge"},"felület szabályozás":{en:"Surface regulation",de:"Oberflächenregulierung"},"fogasléc + fogaskerék":{en:"Rack + gear",de:"Zahnstange + Zahnrad"},"formajívtó lap":{en:"Mould straightening plate",de:"Formrichtplatte"},"fűrészmenetes orsó 100x20":{en:"Buttress thread spindle 100x20",de:"Sägegewindespindel 100x20"},hajtómű:{en:"Gearbox",de:"Getriebe"},"hajtómű fogaskerék gyártás":{en:"Gearbox gear manufacturing",de:"Getriebezahnrad-Fertigung"},hajtóműház:{en:"Gearbox housing",de:"Getriebegehäuse"}
543,"jarókerék szabályozás perselyezés":{en:"Impeller regulation, bushing",de:"Laufradregulierung, Buchsen"},"kúpos csőmag":{en:"Tapered pipe core",de:"Konischer Rohrkern"},"nyomáspróba fenéklap":{en:"Pressure test base plate",de:"Druckprüf-Bodenplatte"},"röng mozgató csap gyártás":{en:"Ring actuating pin manufacturing",de:"Fertigung von Ringbetätigungsbolzen"},"tolózár zárófelület javítás":{en:"Gate valve sealing surface repair",de:"Reparatur der Dichtfläche eines Schiebers"},törőfej:{en:"Crusher head",de:"Brecherkopf"},"vegyes fotók":{en:"Mixed photos",de:"Verschiedene Fotos"},"zárótest szelepülék":{en:"Valve seat body",de:"Ventilsitzkörper"}};function ll(e,t){if(t==="hu")return e;const n=TF[e.toLowerCase().replace(/\s+/g," ").trim()];return n?n[t]:e}const CF=Object.assign({});function NF(e){return(e.split("/").pop()??e).replace(/\.[^.]+$/,"").replace(/[-_]+/g," ").trim()}const Qd=Object.entries(CF).map(([e,t])=>({url:t,name:NF(e)})).sort((e,t)=>e.name.localeCompare(t.name,"hu"));function zF(){const{t:e,language:t}=yt(),[n,r]=p.useState(null),s=n!==null?Qd[n]:null;return Qd.length===0?o.jsxs("div",{className:"w-full min-h-[300px] flex flex-col items-center justify-center rounded-2xl border border-border bg-muted/50 text-muted-foreground p-8",children:[o.jsx($E,{className:"h-16 w-16 mb-3 opacity-40"}),o.jsx("span",{className:"text-sm",children:e.common.galleryComingSoon})]}):o.jsxs(o.Fragment,{children:[o.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-4",children:Qd.map((i,a)=>o.jsxs(F.button,{type:"button",onClick:()=>r(a),whileHover:{y:-3},whileTap:{scale:.98},className:"group text-left rounded-xl overflow-hidden border border-border bg-card shadow-sm hover:shadow-lg transition-shadow",children:[o.jsx("div",{className:"relative aspect-[4/3] overflow-hidden bg-muted",children:o.jsx("img",{src:i.url,alt:ll(i.name,t),loading:"lazy",className:"w-full h-full object-cover transition-transform duration-500 group-hover:scale-105"})}),o.jsx("div",{className:"p-3",children:o.jsx("span",{className:"text-sm font-medium text-foreground leading-tight block",children:ll(i.name,t)})})]},i.url))}),o.jsx(wu,{open:s!==null,onOpenChange:i=>!i&&r(null),children:o.jsx(ka,{className:"max-w-5xl p-0 overflow-hidden border-border",children:s&&o.jsxs("figure",{className:"bg-background",children:[o.jsx("img",{src:s.url,alt:ll(s.name,t),className:"w-full max-h-[75vh] object-contain bg-muted"}),o.jsx("figcaption",{className:"p-4 text-center text-base font-medium text-foreground",children:ll(s.name,t)})]})})})]})}function EF(){const{t:e}=yt(),t=[{icon:nh,title:e.process.plans,description:e.process.plansDesc},{icon:ek,title:e.process.manufacturing,description:e.process.manufacturingDesc},{icon:uc,title:e.process.heatTreatment,description:e.process.heatTreatmentDesc},{icon:Vn,title:e.process.grinding,description:e.process.grindingDesc},{icon:Uv,title:e.process.surfaceProtection,description:e.process.surfaceProtectionDesc},{icon:Uv,title:e.process.chromePlating,description:e.process.chromePlatingDesc}],n=[e.capabilities.customParts,e.capabilities.smallLargeSeries,e.capabilities.complexGeometry,e.capabilities.materials,e.capabilities.qualityControl,e.capabilities.onTimeDelivery,e.capabilities.traditionalFleet];return o.jsxs("div",{children:[o.jsx(Nn,{title:"Alkatrészgyártás, egyedi és sorozatgyártás | Sárgépszer",description:"Egyedi és kis sorozatú gépalkatrészek gyártása pontos, megbízható kivitelben. Kérj ajánlatot műszaki rajz alapján.",canonical:"https://sargepszer.hu/alkatresz-gyartas",jsonLd:[{"@context":"https://schema.org","@type":"Service",name:"Alkatrészgyártás",serviceType:"Egyedi és sorozatú gépalkatrész gyártás",description:"Egyedi és kis sorozatú gépalkatrészek gyártása műszaki rajz alapján, hőkezeléssel, köszörüléssel, felületvédelemmel és kemény krómozással, ISO 9001:2015 szerint.",url:"https://sargepszer.hu/alkatresz-gyartas",areaServed:"HU",provider:{"@type":"ManufacturingBusiness",name:"Sárgépszer Kft.",telephone:"+36 20 286-3341",address:{"@type":"PostalAddress",streetAddress:"Wesselényi út 34.",postalCode:"3950",addressLocality:"Sárospatak",addressCountry:"HU"}}},{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Kezdőlap",item:"https://sargepszer.hu/"}
543,{"@type":"ListItem",position:2,name:"Alkatrészgyártás",item:"https://sargepszer.hu/alkatresz-gyartas"}]}]}),o.jsx("section",{className:"relative min-h-[70vh] lg:min-h-[80vh]",children:o.jsxs("div",{className:"grid lg:grid-cols-2 min-h-[70vh] lg:min-h-[80vh]",children:[o.jsx("div",{className:"flex items-center bg-background order-2 lg:order-1",children:o.jsx("div",{className:"container-wide py-16 lg:py-0 lg:pr-12",children:o.jsxs("div",{className:"max-w-xl",children:[o.jsx(_,{children:o.jsx(F.span,{className:"inline-block px-4 py-1.5 rounded-full bg-primary/10 text-primary text-sm font-medium mb-6",whileHover:{scale:1.05},children:e.common.service})}),o.jsx(_,{delay:.1,children:o.jsxs("h1",{className:"text-4xl md:text-5xl font-bold text-foreground mb-6 leading-tight",children:[e.parts.heroTitle," ",o.jsx("span",{className:"text-primary",children:e.parts.heroTitleAccent})]})}),o.jsx(_,{delay:.2,children:o.jsx("p",{className:"text-lg text-muted-foreground mb-8 leading-relaxed",children:e.parts.heroSubtitle})}),o.jsx(_,{delay:.3,children:o.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[o.jsx(F.div,{whileHover:{scale:1.05},whileTap:{scale:.95},children:o.jsx(le,{size:"lg",asChild:!0,children:o.jsxs(Z,{to:"/elerhetoseg",children:[e.common.requestQuote,o.jsx(F.span,{animate:{x:[0,5,0]},transition:{duration:1.5,repeat:1/0},children:o.jsx(Ie,{className:"ml-2 h-5 w-5"})})]})})}),o.jsx(F.div,{whileHover:{scale:1.05},whileTap:{scale:.95},children:o.jsx(le,{size:"lg",variant:"outline",asChild:!0,children:o.jsx(Z,{to:"/muszaki-lehetosegek",children:e.common.technicalData})})})]})})]})})}),o.jsxs("div",{className:"relative h-[50vh] lg:h-auto order-1 lg:order-2 overflow-hidden",children:[o.jsx(F.img,{initial:{scale:1.1},animate:{scale:1},transition:{duration:1.5,ease:"easeOut"},src:Kx,alt:"Precíziósan megmunkált gépalkatrészek műszaki rajz alapján gyártva",className:"absolute inset-0 w-full h-full object-cover"}),o.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-background via-transparent to-transparent lg:bg-gradient-to-l"})]})]})}),o.jsx("section",{className:"section-padding bg-muted/30",children:o.jsx("div",{className:"container-wide",children:o.jsxs("div",{className:"max-w-4xl mx-auto",children:[o.jsx(_,{children:o.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-8 text-center",children:e.parts.sectionTitle})}),o.jsx(_,{delay:.1,children:o.jsxs("div",{className:"prose prose-lg max-w-none text-muted-foreground leading-relaxed space-y-6",children:[o.jsx("p",{children:e.parts.desc1}),o.jsx("p",{children:e.parts.desc2})]})}),o.jsx(_,{delay:.2,children:o.jsxs("div",{className:"mt-16",children:[o.jsx("h3",{className:"text-2xl md:text-3xl font-bold text-foreground mb-8 text-center",children:"Referencia munkáink"}),o.jsx(zF,{})]})})]})})}),o.jsx("section",{className:"section-padding bg-background",children:o.jsxs("div",{className:"container-wide",children:[o.jsx(_,{children:o.jsxs("div",{className:"text-center mb-16",children:[o.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:e.parts.processTitle}),o.jsx("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto",children:e.parts.processSubtitle})]})}),o.jsxs("div",{className:"hidden lg:block relative",children:[o.jsx(F.div,{className:"absolute top-8 left-0 right-0 h-1 bg-primary origin-left",initial:{scaleX:0},whileInView:{scaleX:1},viewport:{once:!0},transition:{duration:1.5,ease:"easeOut"}}),o.jsx(jt,{className:"grid grid-cols-6 gap-4",staggerDelay:.15,children:t.map((r,s)=>o.jsx(Tt,{children:o.jsxs("div",{className:"relative flex flex-col items-center",children:[o.jsx(F.div,{className:"h-16 w-16 rounded-full bg-primary flex items-center justify-center mb-4 relative z-10 shadow-lg",whileHover:{scale:1.15,rotate:10},transition:{type:"spring",stiffness:400},children:o.jsx(r.icon,{className:"h-7 w-7 text-primary-foreground"})}),o.jsx("div",{className:"absolute top-16 left-1/2 -translate-x-1/2 w-0.5 h-4 bg-primary"}),o.jsx(Xe,{children:o.jsx(oe,{className:"mt-8 w-full",children:o.jsxs(ue,{className:"p-4 text-center",children:[o.jsx("h3",{className:"font-semibold text-foreground mb-2",children:r.title}),o.jsx("p",{className:"text-sm text-muted-foreground",children:r.description})]})})})]})},s))})]}),o.jsx(jt,{className:"lg:hidden space-y-4",children:t.map((r,s)=>o.jsx(Tt,{children:o.jsx(Xe,{hoverY:-4,children:o.jsx(oe,{children:o.jsxs(ue,{className:"p-4 flex items-center gap-4",children:[o.jsx(F.div,{className:"h-12 w-12 rounded-full bg-primary flex items-center justify-center shrink-0",whileHover:{rotate:360},transition:{duration:.5},children:o.jsx(r.icon,{className:"h-6 w-6 text-primary-foreground"})}),o.jsxs("div",{children:[o.jsx("h3",{className:"font-semibold text-foreground",children:r.title}),o.jsx("p",{className:"text-sm text-muted-foreground",children:r.description})]})]})})})},s))})]})}),o.jsx("section",{className:"section-padding bg-industrial-dark text-primary-foreground",children:o.jsx("div",{className:"container-wide",children:o.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[o.jsxs("div",{children:[o.jsx(_,{children:o.jsxs("h2",{className:"text-3xl md:text-4xl font-bold mb-6",children:[e.parts.capabilitiesTitle," ",o.jsx("span",{className:"text-accent",children:e.parts.capabilitiesTitleAccent})]})}),o.jsx(_,{delay:.1,children:o.jsx("p",{className:"text-primary-foreground
543/70 mb-8 leading-relaxed",children:e.parts.capabilitiesSubtitle})}),o.jsx("ul",{className:"space-y-3",children:n.map((r,s)=>o.jsxs(F.li,{className:"flex items-start gap-3",initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{delay:s*.1},whileHover:{x:10},children:[o.jsx(F.div,{animate:{scale:[1,1.2,1]},transition:{duration:2,repeat:1/0,delay:s*.2},children:o.jsx(qm,{className:"h-5 w-5 text-accent shrink-0 mt-0.5"})}),o.jsx("span",{className:"text-primary-foreground/80",children:r})]},s))})]}),o.jsx(_,{direction:"left",children:o.jsx(F.div,{className:"relative",whileHover:{scale:1.02},transition:{duration:.3},children:o.jsx("div",{className:"aspect-[4/3] rounded-2xl overflow-hidden",children:o.jsx("img",{src:Kx,alt:"Egyedi gépalkatrész gyártása CNC megmunkálással",className:"w-full h-full object-cover"})})})})]})})}),o.jsx("section",{className:"section-padding bg-background",children:o.jsxs("div",{className:"container-wide text-center",children:[o.jsx(_,{children:o.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-foreground mb-4",children:e.parts.ctaTitle})}),o.jsx(_,{delay:.1,children:o.jsx("p",{className:"text-muted-foreground mb-8 max-w-xl mx-auto",children:e.parts.ctaSubtitle})}),o.jsx(_,{delay:.2,children:o.jsx(F.div,{whileHover:{scale:1.05},whileTap:{scale:.95},className:"inline-block",children:o.jsx(le,{size:"lg",asChild:!0,children:o.jsxs(Z,{to:"/elerhetoseg",children:[e.common.contactUs,o.jsx(Ie,{className:"ml-2 h-5 w-5"})]})})})})]})})]})}const Au=p.forwardRef(({className:e,...t},n)=>o.jsx("div",{className:"relative w-full overflow-auto",children:o.jsx("table",{ref:n,className:Y("w-full caption-bottom text-sm",e),...t})}));Au.displayName="Table";const sg=p.forwardRef(({className:e,...t},n)=>o.jsx("thead",{ref:n,className:Y("[&_tr]:border-b",e),...t}));sg.displayName="TableHeader";const Mu=p.forwardRef(({className:e,...t},n)=>o.jsx("tbody",{ref:n,className:Y("[&_tr:last-child]:border-0",e),...t}));Mu.displayName="TableBody";const PF=p.forwardRef(({className:e,...t},n)=>o.jsx("tfoot",{ref:n,className:Y("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",e),...t}));PF.displayName="TableFooter";const Di=p.forwardRef(({className:e,...t},n)=>o.jsx("tr",{ref:n,className:Y("border-b transition-colors data-[state=selected]:bg-muted hover:bg-muted/50",e),...t}));Di.displayName="TableRow";const di=p.forwardRef(({className:e,...t},n)=>o.jsx("th",{ref:n,className:Y("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",e),...t}));di.displayName="TableHead";const Mr=p.forwardRef(({className:e,...t},n)=>o.jsx("td",{ref:n,className:Y("p-4 align-middle [&:has([role=checkbox])]:pr-0",e),...t}));Mr.displayName="TableCell";const AF=p.forwardRef(({className:e,...t},n)=>o.jsx("caption",{ref:n,className:Y("mt-4 text-sm text-muted-foreground",e),...t}));AF.displayName="TableCaption";const MF={"Elforduló átmérő az ágy felett":{en:"Swing over bed",de:"Umlaufdurchmesser über Bett"},"Elforduló átmérő ágy felett":{en:"Swing over bed",de:"Umlaufdurchmesser über Bett"},"Elforduló átmérő a keresztszán felett":{en:"Swing over cross slide",de:"Umlaufdurchmesser über Querschlitten"},"Max. elforduló átmérő a keresztszán felett":{en:"Max. swing over cross slide",de:"Max. Umlaufdurchmesser über Querschlitten"},"Elforduló átmérő a kivehető ágynál (híd, opció)":{en:"Swing at removable bed gap (bridge, option)",de:"Umlaufdurchmesser an der Bettbrücke (Option)"},"Csúcstávolság (max. esztergálási hossz)":{en:"Distance between centres (max. turning length)",de:"Spitzenweite (max. Drehlänge)"},Csúcstávolság:{en:"Distance between centres",de:"Spitzenweite"},"Főorsó furatátmérő":{en:"Spindle bore diameter",de:"Spindelbohrung"},"Főorsó furat":{en:"Spindle bore",de:"Spindelbohrung"},"Főorsó furat (alap)":{en:"Spindle bore (standard)",de:"Spindelbohrung (Standard)"},"Főorsó max. fordulatszám":{en:"Max. spindle speed",de:"Max. Spindeldrehzahl"},"Főorsó max. fordulatszáma":{en:"Max. spindle speed",de:"Max. Spindeldrehzahl"},"Főorsó fordulatszám":{en:"Spindle speed",de:"Spindeldrehzahl"},Főorsókúp:{en:"Spindle taper",de:"Spindelkegel"},Fordulatszám:{en:"Spindle speed",de:"Drehzahl"},"Fordulatszám tartomány":{en:"Speed range",de:"Drehzahlbereich"},"X-tengely mozgástartomány":{en:"X-axis travel",de:"X-Achse Verfahrweg"},"Y-tengely mozgástartomány":{en:"Y-axis travel",de:"Y-Achse Verfahrweg"},"Z-tengely mozgástartomány":{en:"Z-axis travel",de:"Z-Achse Verfahrweg"},"X tengely (hosszirány)":{en:"X axis (longitudinal)",de:"X-Achse (längs)"},"Y tengely (keresztirány)":{en:"Y axis (transverse)",de:"Y-Achse (quer)"},"Z tengely (függőleges)":{en:"Z axis (vertical)",de:"Z-Achse (vertikal)"},"Asztal mérete":{en:"Table size",de:"Tischgröße"},"Maximális asztalterhelés":{en:"Max. table load",de:"Max. Tischbelastung"},"Maximális terhelhetőség":{en:"Max. load capacity",de:"Max. Traglast"},"CNC vezérlés":{en:"CNC control",de:"CNC-Steuerung"},Vezérlés:{en:"Control",de:"Steuerung"},"Szerszámtár kapacitása":{en:"Tool magazine capacity",de:"Werkzeugmagazin-Kapazität"},"Max. esztergálható hossz / Z löket":{en:"Max. turning length / Z stroke",de:"Max. Drehlänge / Z-Hub"},"Max. elforduló átmérő (híd / ágy felett)":{en:"Max. swing (bridge / over bed)",de:"Max. Umlaufdurchmesser (Brücke / über Bett)"},"Rúd áteresztés (gépi tokmány)":{en:"Bar capacity (power chuck)",de:"Stangendurchlass (Kraftspannfutter)"},"Köszörülési átmérő (legnagyobb)":{en:"Grinding diameter (max.)",de
543:"Schleifdurchmesser (max.)"},"Köszörülési hossz":{en:"Grinding length",de:"Schleiflänge"},"Motor fordulat":{en:"Motor speed",de:"Motordrehzahl"},"Max. megmunkálható átmérő":{en:"Max. workpiece diameter",de:"Max. Werkstückdurchmesser"},"Megmunkálható modul tartomány":{en:"Module range",de:"Modulbereich"},"Max. munkadarab súly":{en:"Max. workpiece weight",de:"Max. Werkstückgewicht"},"Max. orsófordulatszám":{en:"Max. spindle speed",de:"Max. Spindeldrehzahl"}},RF={"TOS SUI Combi 500 CNC eszterga":{en:"TOS SUI Combi 500 CNC lathe",de:"TOS SUI Combi 500 CNC-Drehmaschine"},"MAZAK VTC-300C II megmunkáló központ":{en:"MAZAK VTC-300C II machining centre",de:"MAZAK VTC-300C II Bearbeitungszentrum"},"MVC-1000 MAS megmunkáló központ":{en:"MVC-1000 MAS machining centre",de:"MVC-1000 MAS Bearbeitungszentrum"},"MASCUT AC-2160 CNC eszterga":{en:"MASCUT AC-2160 CNC lathe",de:"MASCUT AC-2160 CNC-Drehmaschine"},"NCT F-TURN 26 CNC eszterga":{en:"NCT F-TURN 26 CNC lathe",de:"NCT F-TURN 26 CNC-Drehmaschine"},"NAXOS-UNION palást köszörű":{en:"NAXOS-UNION cylindrical grinder",de:"NAXOS-UNION Rundschleifmaschine"},"TOS FO-25 lefejtőmaró":{en:"TOS FO-25 gear hobbing machine",de:"TOS FO-25 Wälzfräsmaschine"}},DF={"1 db":{en:"1 unit",de:"1 Stück"},"2 db":{en:"2 units",de:"2 Stück"},"Beszerzés alatt":{en:"On order",de:"In Beschaffung"}},IF=[{hu:/ford\.\/perc/g,en:"rpm",de:"U/min"},{hu:/kb\./g,en:"approx.",de:"ca."},{hu:/\bvagy\b/g,en:"or",de:"oder"},{hu:/férőhely/g,en:"positions",de:"Plätze"},{hu:/Inverteres, fokozatmentes \(3 mech\. fokozat\)/g,en:"Inverter-driven, stepless (3 mechanical ranges)",de:"Umrichtergesteuert, stufenlos (3 mechanische Stufen)"},{hu:/tonna/g,en:"tonnes",de:"Tonnen"},{hu:/\bmax\. 25\b/g,en:"max. 25",de:"max. 25"},{hu:/opc\./g,en:"opt.",de:"opt."}];function ig(e,t,n){if(n==="hu")return t;const r=e[t];return r?r[n]:t}function OF(e,t){return ig(RF,e,t)}function LF(e,t){return ig(DF,e,t)}function _F(e,t){return ig(MF,e,t)}function FF(e,t){if(t==="hu")return e;let n=e;for(const r of IF)n=n.replace(r.hu,t==="en"?r.en:r.de);return n}const VF="/assets/cnc-hero-BpWL1hVa.jpg",BF=[{name:"TOS SUI Combi 500 CNC eszterga",count:"2 db",specs:[{label:"Elforduló átmérő az ágy felett",value:"500 mm"},{label:"Elforduló átmérő a keresztszán felett",value:"290 mm"},{label:"Csúcstávolság (max. esztergálási hossz)",value:"1500 mm"},{label:"Főorsó furatátmérő",value:"71 mm"},{label:"Főorsó max. fordulatszám",value:"2800 ford./perc"}]},{name:"MAZAK VTC-300C II megmunkáló központ",count:"1 db",specs:[{label:"X-tengely mozgástartomány",value:"1740 mm"},{label:"Y-tengely mozgástartomány",value:"760 mm"},{label:"Z-tengely mozgástartomány",value:"660 mm"},{label:"Asztal mérete",value:"2000 × 760 mm"},{label:"Maximális asztalterhelés",value:"1400 kg"},{label:"Főorsó max. fordulatszáma",value:"12 000 ford./perc"},{label:"CNC vezérlés",value:"MAZATROL 640M / PC Fusion 640M"}]},{name:"MVC-1000 MAS megmunkáló központ",count:"1 db",specs:[{label:"X tengely (hosszirány)",value:"1000–1016 mm"},{label:"Y tengely (keresztirány)",value:"500–610 mm"},{label:"Z tengely (függőleges)",value:"500–660 mm"},{label:"Asztal mérete",value:"kb. 1300 × 600 mm"},{label:"Maximális terhelhetőség",value:"700–1200 kg"},{label:"Főorsókúp",value:"ISO 40 vagy ISO 50"},{label:"Fordulatszám",value:"8000–10 000 ford./perc"},{label:"Szerszámtár kapacitása",value:"20–30 férőhely"}]},{name:"MASCUT AC-2160 CNC eszterga",count:"1 db",specs:[{label:"Elforduló átmérő ágy felett",value:"540 mm"},{label:"Elforduló átmérő a keresztszán felett",value:"310 mm"},{label:"Elforduló átmérő a kivehető ágynál (híd, opció)",value:"720 mm"},{label:"Csúcstávolság",value:"1500 mm"},{label:"Főorsó furat (alap)",value:"85 mm"},{label:"Főorsó fordulatszám",value:"Inverteres, fokozatmentes (3 mech. fokozat)"},{label:"Vezérlés",value:"Sinumerik 828D"}]},{name:"NCT F-TURN 26 CNC eszterga",count:"Beszerzés alatt",specs:[{label:"Max. esztergálható hossz / Z löket",value:"2000 / 2150 mm"},{label:"Max. elforduló átmérő (híd / ágy felett)",value:"890 / 650 mm"},{label:"Max. elforduló átmérő a keresztszán felett",value:"410 mm"},{label:"Főorsó furat",value:"82 mm"},{label:"Rúd áteresztés (gépi tokmány)",value:"69 mm"},{label:"Fordulatszám tartomány",value:"80–3500 ford./perc (opc. 80–2400)"}]},{name:"NAXOS-UNION palást köszörű",count:"1 db",specs:[{label:"Köszörülési átmérő (legnagyobb)",value:"500 mm"},{label:"Köszörülési hossz",value:"4000 mm"},{label:"Motor fordulat",value:"1620 rpm"}]},{name:"TOS FO-25 lefejtőmaró",count:"1 db",specs:[{label:"Max. megmunkálható átmérő",value:"3000 mm"},{label:"Megmunkálható modul tartomány",value:"max. 25"},{label:"Max. munkadarab súly",value:"10 tonna"},{label:"Max. orsófordulatszám",value:"63 ford./perc"}]}];function $F(){const{t:e,language:t}=yt(),n=[{icon:sh,title:e.cnc.highlightAccuracy,description:e.cnc.highlightAccuracyDesc}
543,{icon:Zo,title:e.cnc.highlightSize,description:e.cnc.highlightSizeDesc},{icon:GE,title:e.cnc.highlightSpeed,description:e.cnc.highlightSpeedDesc},{icon:BE,title:e.cnc.highlightControl,description:e.cnc.highlightControlDesc}];return o.jsxs("div",{children:[o.jsx(Nn,{title:"CNC megmunkálás, precíziós forgácsolás | Sárgépszer",description:"CNC eszterga és maró megmunkálás, szoros tűréssel, ipari alkatrészekhez. Kis és nagy sorozatban egyaránt.",canonical:"https://sargepszer.hu/cnc-megmunkalas",jsonLd:[{"@context":"https://schema.org","@type":"Service",name:"CNC megmunkálás",serviceType:"CNC eszterga és maró megmunkálás",description:"Precíziós CNC forgácsolás szoros tűréssel: CNC esztergálás, marás, köszörülés és fogazás modern gépparkon (TOS SUI Combi 500, MAZAK VTC-300C II, MVC-1000 MAS, MASCUT AC-2160, NCT F-TURN 26, NAXOS-UNION, TOS FO-25).",url:"https://sargepszer.hu/cnc-megmunkalas",areaServed:"HU",provider:{"@type":"ManufacturingBusiness",name:"Sárgépszer Kft.",telephone:"+36 20 286-3341",address:{"@type":"PostalAddress",streetAddress:"Wesselényi út 34.",postalCode:"3950",addressLocality:"Sárospatak",addressCountry:"HU"}}},{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Kezdőlap",item:"https://sargepszer.hu/"},{"@type":"ListItem",position:2,name:"CNC megmunkálás",item:"https://sargepszer.hu/cnc-megmunkalas"}]}]}),o.jsxs("section",{className:"relative min-h-[70vh] flex items-center",children:[o.jsxs("div",{className:"absolute inset-0",children:[o.jsx("img",{src:VF,alt:"CNC esztergagép precíziós forgácsolás közben a Sárgépszer sárospataki üzemében",className:"w-full h-full object-cover"}),o.jsx("div",{className:"absolute inset-0 bg-industrial-dark/80"})]}),o.jsx("div",{className:"relative container-wide py-20",children:o.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[o.jsx("span",{className:"inline-block px-4 py-1.5 rounded-full bg-accent/20 border border-accent/30 text-accent text-sm font-medium mb-6",children:e.common.modernTechnology}),o.jsx("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold text-primary-foreground mb-6",children:e.cnc.heroTitle}),o.jsx("p",{className:"text-lg md:text-xl text-primary-foreground/80 mb-8 max-w-2xl mx-auto",children:e.cnc.heroSubtitle}),o.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[o.jsx(le,{size:"lg",className:"bg-accent text-accent-foreground hover:bg-accent/90",asChild:!0,children:o.jsxs(Z,{to:"/elerhetoseg",children:[e.common.requestQuote,o.jsx(Ie,{className:"ml-2 h-5 w-5"})]})}),o.jsx(le,{size:"lg",variant:"outline",className:"bg-primary-foreground/10 border-primary-foreground/30 text-primary-foreground hover:bg-primary-foreground/20",asChild:!0,children:o.jsx(Z,{to:"/muszaki-lehetosegek",children:e.common.allMachines})})]})]})})]}),o.jsx("section",{className:"py-12 bg-background border-b border-border",children:o.jsx("div",{className:"container-wide",children:o.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-6",children:n.map((r,s)=>o.jsxs("div",{className:"flex items-start gap-4",children:[o.jsx("div",{className:"h-12 w-12 rounded-lg bg-primary/10 flex items-center justify-center shrink-0",children:o.jsx(r.icon,{className:"h-6 w-6 text-primary"})}),o.jsxs("div",{children:[o.jsx("h3",{className:"font-semibold text-foreground",children:r.title}),o.jsx("p",{className:"text-sm text-muted-foreground",children:r.description})]})]},s))})})}),o.jsx("section",{className:"section-padding bg-muted/30",children:o.jsxs("div",{className:"container-wide",children:[o.jsxs("div",{className:"text-center mb-12",children:[o.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:e.cnc.fleetTitle}),o.jsx("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto",children:e.cnc.fleetSubtitle})]}),o.jsx("div",{className:"grid md:grid-cols-2 gap-6",children:BF.map((r,s)=>o.jsxs(oe,{className:"h-full border-border/50 hover:shadow-lg transition-shadow",children:[o.jsxs(fr,{className:"bg-primary/5 border-b border-border/50",children:[o.jsx("div",{className:"flex items-center justify-between mb-2",children:o.jsx("span",{className:"text-sm font-medium text-primary",children:LF(r.count,t)})}),o.jsx(hr,{className:"text-xl",children:OF(r.name,t)})]}),o.jsx(ue,{className:"p-0",children:o.jsx(Au,{children:o.jsx(Mu,{children:r.specs.map((i,a)=>o.jsxs(Di,{children:[o.jsx(Mr,{className:"text-muted-foreground text-sm py-2.5",children:_F(i.label,t)}),o.jsx(Mr,{className:"text-right font-medium text-sm py-2.5",children:FF(i.value,t)})]},a))})})})]},s))})]})}),o.jsx("section",{className:"section-padding bg-background",children:o.jsx("div",{className:"container-wide",children:o.jsxs("div",{className:"max-w-4xl mx-auto",children:[o.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-8 text-center",children:e.cnc.descTitle}),o.jsxs("div",{className:"prose prose-lg max-w-none text-muted-foreground leading-relaxed space-y-6",children:[o.jsx("p",{children:e.cnc.desc1}),o.jsx("p",{children:e.cnc.desc2})]})]})})}),o.jsx("section",{className:"section-padding bg-industrial-dark text-primary-foreground",children:o.jsxs("div",{className:"container-wide text-center",children:[o.jsx("h2",{className:"text-2xl md:text-3xl font-bold mb-4",children:e.cnc.ctaTitle}
543),o.jsx("p",{className:"text-primary-foreground/70 mb-8 max-w-xl mx-auto",children:e.cnc.ctaSubtitle}),o.jsx(le,{size:"lg",className:"bg-accent text-accent-foreground hover:bg-accent/90",asChild:!0,children:o.jsxs(Z,{to:"/elerhetoseg",children:[e.common.contactUs,o.jsx(Ie,{className:"ml-2 h-5 w-5"})]})})]})})]})}const UF="/assets/gears-hero-CSgaqW1o.jpg";function HF(){const{t:e}=yt(),t=[{name:e.gearTypes.spur,description:e.gearTypes.spurDesc},{name:e.gearTypes.helical,description:e.gearTypes.helicalDesc},{name:e.gearTypes.splinedShafts,description:e.gearTypes.splinedShaftsDesc},{name:e.gearTypes.faceGears,description:e.gearTypes.faceGearsDesc},{name:e.gearTypes.couplings,description:e.gearTypes.couplingsDesc},{name:e.gearTypes.wormGears,description:e.gearTypes.wormGearsDesc}],n=[{icon:Zo,label:e.gears.capMaxDiameter,value:"ø 2500 mm"},{icon:dc,label:e.gears.capModuleRange,value:"1-25 m"},{icon:uc,label:e.gears.capHeatTreatment,value:e.gears.onRequest},{icon:sh,label:e.gears.capGearGrinding,value:e.gears.available}];return o.jsxs("div",{children:[o.jsx(Nn,{title:"Fogaskerék gyártás, egyenes és ferde fogazású | Sárgépszer",description:"Egyenes és ferdefogazású fogaskerekek, fogazott tengelyek, csiga- és fogaskerekes hajtóművek gyártása egyedi igény szerint.",canonical:"https://sargepszer.hu/fogaskerekek",jsonLd:[{"@context":"https://schema.org","@type":"Service",name:"Fogaskerék gyártás",serviceType:"Fogaskerék és fogazott tengely gyártás",description:"Egyenes és ferdefogazású fogaskerekek, nyílkerekek, fogazott tengelyek, csigahajtóművek és tengelykapcsolók gyártása 2500 mm átmérőig, 1-25 modul tartományban.",url:"https://sargepszer.hu/fogaskerekek",areaServed:"HU",provider:{"@type":"ManufacturingBusiness",name:"Sárgépszer Kft.",telephone:"+36 20 286-3341",address:{"@type":"PostalAddress",streetAddress:"Wesselényi út 34.",postalCode:"3950",addressLocality:"Sárospatak",addressCountry:"HU"}}},{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Kezdőlap",item:"https://sargepszer.hu/"},{"@type":"ListItem",position:2,name:"Fogaskerekek",item:"https://sargepszer.hu/fogaskerekek"}]}]}),o.jsxs("section",{className:"relative min-h-[80vh] flex items-end pb-20 overflow-hidden",children:[o.jsxs("div",{className:"absolute inset-0",children:[o.jsx(F.img,{initial:{scale:1.1},animate:{scale:1},transition:{duration:1.5,ease:"easeOut"},src:UF,alt:"Precíziós ferdefogazású fogaskerekek gyártás után",className:"w-full h-full object-cover"}),o.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-industrial-dark via-industrial-dark/60 to-transparent"})]}),o.jsx(F.div,{className:"absolute top-20 right-10 opacity-20 pointer-events-none hidden lg:block",animate:{rotate:360},transition:{duration:20,repeat:1/0,ease:"linear"},children:o.jsx(Vn,{className:"w-40 h-40 text-accent"})}),o.jsx(F.div,{className:"absolute top-40 right-32 opacity-20 pointer-events-none hidden lg:block",animate:{rotate:-360},transition:{duration:15,repeat:1/0,ease:"linear"},children:o.jsx(Vn,{className:"w-24 h-24 text-primary-foreground"})}),o.jsx("div",{className:"relative container-wide",children:o.jsxs("div",{className:"max-w-2xl",children:[o.jsx(_,{children:o.jsxs(F.span,{className:"inline-block px-4 py-1.5 rounded-full bg-accent/20 border border-accent/30 text-accent text-sm font-medium mb-6",whileHover:{scale:1.05},children:[e.gears.sectionTitle," ",e.gears.sectionTitleAccent]})}),o.jsx(_,{delay:.1,children:o.jsx("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold text-primary-foreground mb-6",children:e.gears.heroTitle})}),o.jsx(_,{delay:.2,children:o.jsx("p",{className:"text-lg md:text-xl text-primary-foreground/80 mb-8",children:e.gears.heroSubtitle})}),o.jsx(_,{delay:.3,children:o.jsx(F.div,{whileHover:{scale:1.05},whileTap:{scale:.95},className:"inline-block",children:o.jsx(le,{size:"lg",className:"bg-accent text-accent-foreground hover:bg-accent/90",asChild:!0,children:o.jsxs(Z,{to:"/elerhetoseg",children:[e.common.requestQuote,o.jsx(F.span,{animate:{x:[0,5,0]},transition:{duration:1.5,repeat:1/0},children:o.jsx(Ie,{className:"ml-2 h-5 w-5"})})]})})})})]})})]}),o.jsx("section",{className:"relative -mt-16 z-10 pb-16",children:o.jsx("div",{className:"container-wide",children:o.jsx(jt,{className:"grid grid-cols-2 lg:grid-cols-4 gap-4",staggerDelay:.1,children:n.map((r,s)=>o.jsx(Tt,{children:o.jsx(Xe,{hoverScale:1.05,children:o.jsx(oe,{className:"bg-card border-border/50 shadow-lg",children:o.jsxs(ue,{className:"p-6 text-center",children:[o.jsx(F.div,{animate:{rotate:[0,10,-10,0]},transition:{duration:2,repeat:1/0,delay:s*.3},children:o.jsx(r.icon,{className:"h-8 w-8 mx-auto mb-3 text-primary"})}),o.jsx("div",{className:"text-2xl font-bold text-foreground mb-1",children:r.value}),o.jsx("div",{className:"text-sm text-muted-foreground",children:r.label})]})})})},s))})})}),o.jsx("section",{className:"section-padding bg-muted/30",children:o.jsx("div",{className:"container-wide",children:o.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[o.jsxs("div",{children:[o.jsx(_,{children:o.jsxs("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-6",children:[e.gears.sectionTitle," ",o.jsx("span",{className:"text-primary",children:e.gears.sectionTitleAccent})]})}),o.jsx(_,{delay:.1,children:o.jsxs("div",{className:"prose prose-lg max-w-none text-muted-foreground leading-relaxed space-y-4",children:[o.jsx("p",{children:e.gears.desc1}),o.jsx("p",{children:e.gears.desc2})]})})]}),o.jsx(_,{direction:"left",children:o.jsxs(F.div,{className:"relative aspect-square rounded-2xl overflow-hidden",whileHover:{scale:1.02},children:[o.jsx("img",{src:Eo,alt:"Egyenes és ferdefogazású fogaskerék közelről, fogazott felülettel",className:"w-full h-full object-cover"}),o.jsx("div",{className:"absolute inset-0 bg-gradient-to-tr from-primary/20 to-transparent"})]})})]})})}),o.jsx("section",{className:"section-padding bg-background",children:o.jsxs("div",{className:"container-wide",children:[o.jsx(_,{children:o.jsxs("div",{className:"text-center mb-12",children:[o.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:e.gears.typesTitle}),o.jsx("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto",children:e.gears.typesSubtitle})]})}),o.jsx(jt,{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",staggerDelay:.1,children:t.map((r,s)=>o.jsx(Tt,{children:o.jsx(Xe,{children:o.jsx(oe,{className:"h-full border-border/50 hover:border-primary/50 transition-all group",children:o.jsxs(ue,{className:"p-6",children:[o.jsx(F.div,{className:"h-12 w-12 rounded-full bg-primary/10 flex items-center justify-center mb-4",whileHover:{rotate:180,scale:1.1},transition:{duration:.5},children:o.jsx(Vn,{className:"h-6 w-6 text-primary"})}),o.jsx("h3",{className:"text-lg font-semibold text-foreground mb-2 group-hover:text-primary transition-colors",children:r.name}),o.jsx("p",{className:"text-muted-foreground text-sm",children:r.description})]})})})},s))})]})}),o.jsx("section",{className:"section-padding bg-industrial-dark text-primary-foreground",children:o.jsxs("div",{className:"container-wide",children:[o.jsx(_,{children:o.jsxs("div",{className:"text-center mb-12",children:[o.jsxs("h2",{className:"text-3xl md:text-4xl font-bold mb-4",children:[e.gears.additionalTitle," ",o.jsx("span",{className:"text-accent",children:e.gears.additionalTitleAccent})]}
543),o.jsx("p",{className:"text-lg text-primary-foreground/70 max-w-2xl mx-auto",children:e.gears.additionalSubtitle})]})}),o.jsxs("div",{className:"grid md:grid-cols-2 gap-8 max-w-4xl mx-auto",children:[o.jsx(_,{delay:.1,children:o.jsx(Xe,{children:o.jsx(oe,{className:"bg-primary-foreground/5 border-primary-foreground/10",children:o.jsxs(ue,{className:"p-8",children:[o.jsx(F.div,{animate:{scale:[1,1.1,1]},transition:{duration:2,repeat:1/0},children:o.jsx(uc,{className:"h-12 w-12 text-accent mb-4"})}),o.jsx("h3",{className:"text-xl font-bold text-primary-foreground mb-3",children:e.gears.heatTreatmentTitle}),o.jsx("p",{className:"text-primary-foreground/70",children:e.gears.heatTreatmentDesc})]})})})}),o.jsx(_,{delay:.2,children:o.jsx(Xe,{children:o.jsx(oe,{className:"bg-primary-foreground/5 border-primary-foreground/10",children:o.jsxs(ue,{className:"p-8",children:[o.jsx(F.div,{animate:{rotate:360},transition:{duration:8,repeat:1/0,ease:"linear"},children:o.jsx(sh,{className:"h-12 w-12 text-accent mb-4"})}),o.jsx("h3",{className:"text-xl font-bold text-primary-foreground mb-3",children:e.gears.gearGrindingTitle}),o.jsx("p",{className:"text-primary-foreground/70",children:e.gears.gearGrindingDesc})]})})})})]})]})}),o.jsx("section",{className:"section-padding bg-background",children:o.jsxs("div",{className:"container-wide text-center",children:[o.jsx(_,{children:o.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-foreground mb-4",children:e.gears.ctaTitle})}),o.jsx(_,{delay:.1,children:o.jsx("p",{className:"text-muted-foreground mb-8 max-w-xl mx-auto",children:e.gears.ctaSubtitle})}),o.jsx(_,{delay:.2,children:o.jsx(F.div,{whileHover:{scale:1.05},whileTap:{scale:.95},className:"inline-block",children:o.jsx(le,{size:"lg",asChild:!0,children:o.jsxs(Z,{to:"/elerhetoseg",children:[e.common.contactUs,o.jsx(Ie,{className:"ml-2 h-5 w-5"})]})})})})]})})]})}const Zx="/assets/steel-hero-CrnHCTa6.jpg";function GF(){const{t:e}=yt(),t=[{process:e.steelProcesses.sheetCutting,limit:"Lv ≤ 16 mm",icon:WE},{process:e.steelProcesses.edgeBending,limit:"Lv ≤ 4 mm",icon:VE},{process:e.steelProcesses.rolling,limit:"Lv ≤ 10 mm",icon:Jw},{process:e.steelProcesses.welding,limit:"MIG, MAG, TIG",icon:uc},{process:e.steelProcesses.maxWeight,limit:"5 t",icon:ZE}],n=[e.steelProducts.machineFrames,e.steelProducts.stainlessConveyors,e.steelProducts.doors,e.steelProducts.weldedGears,e.steelProducts.supportStructures,e.steelProducts.industrialFrames];return o.jsxs("div",{children:[o.jsxs("section",{className:"relative min-h-[60vh] lg:min-h-[70vh]",children:[o.jsxs("div",{className:"absolute inset-0",children:[o.jsx("img",{src:Zx,alt:"Ipari acélszerkezet gyártása a Sárgépszer üzemében",className:"w-full h-full object-cover"}),o.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-industrial-dark/90 via-industrial-dark/70 to-transparent"})]}),o.jsx("div",{className:"relative container-wide h-full flex items-center min-h-[60vh] lg:min-h-[70vh]",children:o.jsxs("div",{className:"max-w-xl py-20",children:[o.jsx("span",{className:"inline-block px-4 py-1.5 rounded-full bg-accent/20 border border-accent/30 text-accent text-sm font-medium mb-6",children:e.nav.steelStructures}),o.jsxs("h1",{className:"text-4xl md:text-5xl font-bold text-primary-foreground mb-6",children:[e.steel.heroTitle," ",o.jsx("br",{}),e.steel.heroTitleAccent]}),o.jsx("p",{className:"text-lg text-primary-foreground/80 mb-8",children:e.steel.heroSubtitle}),o.jsx(le,{size:"lg",className:"bg-accent text-accent-foreground hover:bg-accent/90",asChild:!0,children:o.jsxs(Z,{to:"/elerhetoseg",children:[e.common.requestQuote,o.jsx(Ie,{className:"ml-2 h-5 w-5"})]})})]})})]}),o.jsx("section",{className:"section-padding bg-background",children:o.jsxs("div",{className:"container-wide",children:[o.jsxs("div",{className:"text-center mb-12",children:[o.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:e.steel.capacityTitle}),o.jsx("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto",children:e.steel.capacitySubtitle})]}),o.jsx("div",{className:"hidden md:block max-w-3xl mx-auto",children:o.jsx(oe,{className:"border-border/50",children:o.jsxs(Au,{children:[o.jsx(sg,{children:o.jsxs(Di,{children:[o.jsx(di,{className:"w-16"}),o.jsx(di,{children:e.steelProcesses.sheetCutting}),o.jsx(di,{className:"text-right",children:e.technical.specification})]})}),o.jsx(Mu,{children:t.map((r,s)=>o.jsxs(Di,{children:[o.jsx(Mr,{children:o.jsx("div",{className:"h-10 w-10 rounded-lg bg-primary/10 flex items-center justify-center",children:o.jsx(r.icon,{className:"h-5 w-5 text-primary"})})}),o.jsx(Mr,{className:"font-medium",children:r.process}),o.jsx(Mr,{className:"text-right text-muted-foreground",children:r.limit})]},s))})]})})}),o.jsx("div",{className:"md:hidden grid gap-4",children:t.map((r,s)=>o.jsx(oe,{className:"border-border/50",children:o.jsxs(ue,{className:"p-4 flex items-center gap-4",children:[o.jsx("div",{className:"h-12 w-12 rounded-lg bg-primary/10 flex items-center justify-center shrink-0",children:o.jsx(r.icon,{className:"h-6 w-6 text-primary"})}),o.jsxs("div",{className:"flex-1",children:[o.jsx("div",{className:"font-medium text-foreground",children:r.process}),o.jsx("div",{className:"text-sm text-muted-foreground",children:r.limit})]})]})},s))})]})}),o.jsx("section",{className:"section-padding bg-muted/30",children:o.jsx("div",{className:"container-wide",children:o.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[o.jsxs("div",{className:"order-2 lg:order-1",children:[o.jsxs("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-6",children:[e.steel.sectionTitle," ",o.jsx("span",{className:"text-primary",children:e.steel.sectionTitleAccent})]}),o.jsxs("div",{className:"prose prose-lg max-w-none text-muted-foreground leading-relaxed space-y-4",children:[o.jsx("p",{children:e.steel.desc1}),o.jsx("p",{children:e.steel.desc2})]})]}),o.jsx("div",{className:"order-1 lg:order-2 relative",children:o.jsx("div",{className:"aspect-[4/3] rounded-2xl overflow-hidden shadow-xl",children:o.jsx("img",{src:Zx,alt:"MIG/MAG hegesztés acélszerkezet gyártása közben",className:"w-full h-full object-cover"})})})]})})}),o.jsx("section",{className:"section-padding bg-industrial-dark text-primary-foreground",children:o.jsxs("div",{className:"container-wide",children:[o.jsxs("div",{className:"text-center mb-12",children:[o.jsxs("h2",{className:"text-3xl md:text-4xl font-bold mb-4",children:[e.steel.productsTitle," ",o.jsx("span",{className:"text-accent",children:e.steel.productsTitleAccent})]}
vendor: 4,237 bytes, line 543
543),o.jsx("p",{className:"text-primary-foreground/70 max-w-2xl mx-auto",children:e.steel.productsSubtitle})]}),o.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-4 max-w-4xl mx-auto",children:n.map((r,s)=>o.jsxs("div",{className:"flex items-center gap-3 p-4 rounded-lg bg-primary-foreground/5 border border-primary-foreground/10",children:[o.jsx(qm,{className:"h-5 w-5 text-accent shrink-0"}),o.jsx("span",{children:r})]},s))})]})}),o.jsx("section",{className:"section-padding bg-background",children:o.jsx("div",{className:"container-wide",children:o.jsx(oe,{className:"border-primary/20 bg-gradient-to-br from-primary/5 to-accent/5",children:o.jsxs(ue,{className:"p-8 md:p-12 text-center",children:[o.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-foreground mb-4",children:e.steel.ctaTitle}),o.jsx("p",{className:"text-muted-foreground mb-8 max-w-xl mx-auto",children:e.steel.ctaSubtitle}),o.jsx(le,{size:"lg",asChild:!0,children:o.jsxs(Z,{to:"/elerhetoseg",children:[e.common.contactUs,o.jsx(Ie,{className:"ml-2 h-5 w-5"})]})})]})})})})]})}var Ru="Tabs",[WF,MV]=cn(Ru,[du]),QT=du(),[KF,og]=WF(Ru),XT=p.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:s,defaultValue:i,orientation:a="horizontal",dir:l,activationMode:c="automatic",...u}=e,d=uu(l),[f,h]=_i({prop:r,onChange:s,defaultProp:i??"",caller:Ru});return o.jsx(KF,{scope:n,baseId:hs(),value:f,onValueChange:h,orientation:a,dir:d,activationMode:c,children:o.jsx(ne.div,{dir:d,"data-orientation":a,...u,ref:t})})});XT.displayName=Ru;var JT="TabsList",eC=p.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...s}=e,i=og(JT,n),a=QT(n);return o.jsx(p1,{asChild:!0,...a,orientation:i.orientation,dir:i.dir,loop:r,children:o.jsx(ne.div,{role:"tablist","aria-orientation":i.orientation,...s,ref:t})})});eC.displayName=JT;var tC="TabsTrigger",nC=p.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:s=!1,...i}=e,a=og(tC,n),l=QT(n),c=iC(a.baseId,r),u=oC(a.baseId,r),d=r===a.value;return o.jsx(g1,{asChild:!0,...l,focusable:!s,active:d,children:o.jsx(ne.button,{type:"button",role:"tab","aria-selected":d,"aria-controls":u,"data-state":d?"active":"inactive","data-disabled":s?"":void 0,disabled:s,id:c,...i,ref:t,onMouseDown:$(e.onMouseDown,f=>{!s&&f.button===0&&f.ctrlKey===!1?a.onValueChange(r):f.preventDefault()}),onKeyDown:$(e.onKeyDown,f=>{[" ","Enter"].includes(f.key)&&a.onValueChange(r)}),onFocus:$(e.onFocus,()=>{const f=a.activationMode!=="manual";!d&&!s&&f&&a.onValueChange(r)})})})});nC.displayName=tC;var rC="TabsContent",sC=p.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:s,children:i,...a}=e,l=og(rC,n),c=iC(l.baseId,r),u=oC(l.baseId,r),d=r===l.value,f=p.useRef(d);return p.useEffect(()=>{const h=requestAnimationFrame(()=>f.current=!1);return()=>cancelAnimationFrame(h)},[]),o.jsx(lt,{present:s||d,children:({present:h})=>o.jsx(ne.div,{"data-state":d?"active":"inactive","data-orientation":l.orientation,role:"tabpanel","aria-labelledby":c,hidden:!h,id:u,tabIndex:0,...a,ref:t,style:{...e.style,animationDuration:f.current?"0s":void 0},children:h&&i})})});sC.displayName=rC;function iC(e,t){return`${e}-trigger-${t}`}function oC(e,t){return`${e}-content-${t}`}var ZF=XT,aC=eC,lC=nC,cC=sC;const YF=ZF,uC=p.forwardRef(({className:e,...t},n)=>o.jsx(aC,{ref:n,className:Y("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",e),...t}));uC.displayName=aC.displayName;const dC=p.forwardRef(({className:e,...t},n)=>o.jsx(lC,{ref:n,className:Y("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",e),...t}));dC.displayName=lC.displayName;const fC=p.forwardRef(({className:e,...t},n)=>o.jsx(cC,{ref:n,className:Y("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...t}));fC.displayName=cC.displayName;const qF="/assets/technical-hero-CgL51upT.jpg";function QF(){const{t:e}
543=yt(),t=[{id:"esztergak",name:e.technical.lathes,machines:[{name:e.technical.universalLathes,items:[{type:"SUI 500 × 3000",specs:"ø 520 × 3000 mm"},{type:"SUI 500 × 2000",specs:"ø 520 × 2000 mm"},{type:"SU 50 × 1500",specs:"ø 500 × 1500 mm"},{type:"SU 50 × 1000",specs:"ø 500 × 1000 mm"},{type:"SU 63 × 3000",specs:"ø 630 × 3000 mm"}]},{name:e.technical.cncLathes,items:[{type:"SUI 500 Combi (3 db)",specs:"ø 520 × 3000 mm, CNC"}]},{name:e.technical.carouselLathes,items:[{type:"SKJ 12",specs:"ø 1250 mm, H: 800 mm"},{type:"SKJ 16",specs:"ø 1600 mm, H: 1000 mm"}]}]},{id:"marok",name:e.technical.millingMachines,machines:[{name:e.technical.horizontalBoring,items:[{type:"W100A",specs:"Orsó ø 100 mm, X: 1600 mm"},{type:"WHN 9",specs:"Orsó ø 90 mm, 900 × 800 mm"}]},{name:e.technical.coordinateBoring,items:[{type:"MIKROMAT 3B",specs:"800 × 500 mm"}]},{name:e.technical.consoleMilling,items:[{type:"FGS 25/32",specs:"250 × 1000 mm"},{type:"FGS 40",specs:"400 × 1600 mm"}]}]},{id:"koszoruk",name:e.technical.grinders,machines:[{name:e.technical.surfaceGrinders,items:[{type:"ELB SWB 10 VA II",specs:"400 × 1000 mm"},{type:"BRH 20.50",specs:"200 × 500 mm"}]},{name:e.technical.cylindricalGrinders,items:[{type:"BUA 25/630",specs:"ø 250 × 630 mm"},{type:"BUA 25/1000",specs:"ø 250 × 1000 mm"},{type:"BUB 32/1000",specs:"ø 320 × 1000 mm"}]},{name:e.technical.gearGrinders,items:[{type:"NILES ZSTZ 800",specs:"ø 800 mm, m 1-8"}]},{name:e.technical.internalGrinders,items:[{type:"SI 4/A",specs:"ø 8-80 mm, H: 100 mm"},{type:"SI 6/A",specs:"ø 10-200 mm, H: 200 mm"}]}]},{id:"megmunkalok",name:e.technical.machiningCenters,machines:[{name:e.technical.cncMachiningCenters,items:[{type:"MCV-1000",specs:"X: 1016, Y: 610, Z: 660 mm"},{type:"MAZAK VTC 300 C II",specs:"X: 1700, Y: 760, Z: 660 mm"}]}]}];return o.jsxs("div",{children:[o.jsxs("section",{className:"relative h-[50vh] lg:h-[60vh]",children:[o.jsxs("div",{className:"absolute inset-0",children:[o.jsx("img",{src:qF,alt:"A Sárgépszer gépparkja: CNC esztergák és megmunkálóközpontok",className:"w-full h-full object-cover"}),o.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-industrial-dark via-industrial-dark/60 to-industrial-dark/30"})]}),o.jsx("div",{className:"relative container-wide h-full flex items-end pb-12",children:o.jsxs("div",{className:"max-w-2xl",children:[o.jsx("h1",{className:"text-4xl md:text-5xl font-bold text-primary-foreground mb-4",children:e.technical.heroTitle}),o.jsx("p",{className:"text-lg text-primary-foreground/80",children:e.technical.heroSubtitle})]})})]}),o.jsx("section",{className:"section-padding bg-background",children:o.jsx("div",{className:"container-wide",children:o.jsxs(YF,{defaultValue:"esztergak",className:"w-full",children:[o.jsx(uC,{className:"w-full flex-wrap h-auto gap-2 bg-muted/50 p-2 mb-8",children:t.map(n=>o.jsx(dC,{value:n.id,className:"flex-1 min-w-[120px] data-[state=active]:bg-primary data-[state=active]:text-primary-foreground",children:n.name},n.id))}),t.map(n=>o.jsx(fC,{value:n.id,children:o.jsx("div",{className:"grid gap-6",children:n.machines.map((r,s)=>o.jsxs(oe,{className:"border-border/50",children:[o.jsx(fr,{className:"bg-muted/30 border-b border-border/50",children:o.jsx(hr,{className:"text-lg",children:r.name})}),o.jsx(ue,{className:"p-0",children:o.jsxs(Au,{children:[o.jsx(sg,{children:o.jsxs(Di,{children:[o.jsx(di,{children:e.technical.machineType}),o.jsx(di,{className:"text-right",children:e.technical.specification})]})}),o.jsx(Mu,{children:r.items.map((i,a)=>o.jsxs(Di,{children:[o.jsx(Mr,{className:"font-medium",children:i.type}),o.jsx(Mr,{className:"text-right text-muted-foreground",children:i.specs})]},a))})]})})]},s))})},n.id))]})})}),o.jsx("section",{className:"section-padding bg-muted/30",children:o.jsx("div",{className:"container-wide",children:o.jsxs("div",{className:"grid md:grid-cols-4 gap-6",children:[o.jsx(oe,{className:"text-center",children:o.jsxs(ue,{className:"p-6",children:[o.jsx("div",{className:"text-3xl font-bold text-primary mb-2",children:"30+"}),o.jsx("div",{className:"text-muted-foreground",children:e.technical.totalMachines})]})}),o.jsx(oe,{className:"text-center",children:o.jsxs(ue,{className:"p-6",children:[o.jsx("div",{className:"text-3xl font-bold text-primary mb-2",children:"5"}),o.jsx("div",{className:"text-muted-foreground",children:e.technical.cncMachines})]})}),o.jsx(oe,{className:"text-center",children:o.jsxs(ue,{className:"p-6",children:[o.jsx("div",{className:"text-3xl font-bold text-primary mb-2",children:"1000 m²"}),o.jsx("div",{className:"text-muted-foreground",children:e.technical.productionHall})]})}),o.jsx(oe,{className:"text-center",children:o.jsxs(ue,{className:"p-6",children:[o.jsx("div",{className:"text-3xl font-bold text-primary mb-2",children:"5500 m²"}),o.jsx("div",{className:"text-muted-foreground",children:e.technical.totalArea})]})})]})})}),o.jsx("section",{className:"section-padding bg-industrial-dark text-primary-foreground",children:o.jsxs("div",{className:"container-wide text-center",children:[o.jsx("h2",{className:"text-2xl md:text-3xl font-bold mb-4",children:e.technical.ctaTitle}
543),o.jsx("p",{className:"text-primary-foreground/70 mb-8 max-w-xl mx-auto",children:e.technical.ctaSubtitle}),o.jsx(le,{size:"lg",className:"bg-accent text-accent-foreground hover:bg-accent/90",asChild:!0,children:o.jsxs(Z,{to:"/elerhetoseg",children:[e.common.contactUs,o.jsx(Ie,{className:"ml-2 h-5 w-5"})]})})]})})]})}const XF=[{name:"Sütő Tibor",phone:"+36 20 286-3341"}],JF=["+36 47 511 395","+36 20 286-3341"];function eV(){const{t:e}=yt();return o.jsxs("div",{children:[o.jsx(Nn,{title:"Elérhetőség | Sárgépszer Kft., Sárospatak",description:"Írj vagy hívj minket ajánlatkéréshez. Sárgépszer Kft., Sárospatak, elérhetőségeink és nyitvatartásunk egy helyen.",canonical:"https://sargepszer.hu/elerhetoseg",jsonLd:[{"@context":"https://schema.org","@type":"ManufacturingBusiness","@id":"https://sargepszer.hu/#business",name:"Sárgépszer Alkatrészgyártó és Kereskedelmi Kft.",alternateName:"Sárgépszer Kft.",description:"Gépalkatrészek, fogaskerekek és nagyméretű alkatrészek gyártása CNC megmunkálással Sárospatakon, 1992 óta.",url:"https://sargepszer.hu/elerhetoseg",telephone:["+36 47 511 395","+36 20 286-3341"],email:"[email protected]",address:{"@type":"PostalAddress",streetAddress:"Wesselényi út 34.",postalCode:"3950",addressLocality:"Sárospatak",addressCountry:"HU"},openingHoursSpecification:{"@type":"OpeningHoursSpecification",dayOfWeek:["Monday","Tuesday","Wednesday","Thursday","Friday"],opens:"06:30",closes:"15:00"}},{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Kezdőlap",item:"https://sargepszer.hu/"},{"@type":"ListItem",position:2,name:"Elérhetőség",item:"https://sargepszer.hu/elerhetoseg"}]}]}),o.jsxs("section",{className:"relative py-24 bg-industrial-dark overflow-hidden",children:[o.jsx("div",{className:"absolute inset-0 opacity-20",children:o.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_30%_50%,rgba(255,255,255,0.1),transparent_50%)]"})}),o.jsxs("div",{className:"relative container-wide text-center",children:[o.jsx(_,{children:o.jsx("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold text-primary-foreground mb-6",children:e.contact.heroTitle})}),o.jsx(_,{delay:.1,children:o.jsx("p",{className:"text-xl text-primary-foreground/70 max-w-2xl mx-auto",children:e.contact.heroSubtitle})})]})]}),o.jsx("section",{className:"section-padding bg-background",children:o.jsx("div",{className:"container-wide",children:o.jsxs("div",{className:"grid lg:grid-cols-2 gap-12",children:[o.jsxs("div",{className:"space-y-8",children:[o.jsxs(oe,{className:"border-border/50",children:[o.jsx(fr,{children:o.jsxs(hr,{className:"flex items-center gap-3",children:[o.jsx("div",{className:"h-10 w-10 rounded-lg bg-primary/10 flex items-center justify-center",children:o.jsx(tk,{className:"h-5 w-5 text-primary"})}),e.contact.address]})}),o.jsxs(ue,{children:[o.jsx("p",{className:"text-lg font-medium",children:"SÁRGÉPSZER Kft."}),o.jsx("p",{className:"text-muted-foreground",children:"3950 Sárospatak"}),o.jsx("p",{className:"text-muted-foreground",children:"Wesselényi út 34."})]})]}),o.jsxs(oe,{className:"border-border/50",children:[o.jsx(fr,{children:o.jsxs(hr,{className:"flex items-center gap-3",children:[o.jsx("div",{className:"h-10 w-10 rounded-lg bg-primary/10 flex items-center justify-center",children:o.jsx(Ko,{className:"h-5 w-5 text-primary"})}),e.contact.phoneNumbers]})}),o.jsx(ue,{className:"space-y-2",children:JF.map((t,n)=>o.jsx("a",{href:`tel:${t.replace(/[^\d+]/g,"")}`,className:"block text-lg hover:text-primary transition-colors",children:t},n))})]}),o.jsxs(oe,{className:"border-border/50",children:[o.jsx(fr,{children:o.jsxs(hr,{className:"flex items-center gap-3",children:[o.jsx("div",{className:"h-10 w-10 rounded-lg bg-primary/10 flex items-center justify-center",children:o.jsx(rh,{className:"h-5 w-5 text-primary"})}),e.contact.email]})}),o.jsxs(ue,{className:"space-y-2",children:[o.jsx("a",{href:"mailto:[email protected]",className:"block text-lg hover:text-primary transition-colors",children:"[email protected]"}),o.jsx("a",{href:"mailto:[email protected]",className:"block text-lg hover:text-primary transition-colors",children:"[email protected]"})]})]}),o.jsxs(oe,{className:"border-border/50",children:[o.jsx(fr,{children:o.jsxs(hr,{className:"flex items-center gap-3",children:[o.jsx("div",{className:"h-10 w-10 rounded-lg bg-primary/10 flex items-center justify-center",children:o.jsx(ai,{className:"h-5 w-5 text-primary"})}),e.contact.openingHours]})}),o.jsxs(ue,{children:[o.jsx("p",{className:"text-lg",children:e.contact.weekdays}),o.jsx("p",{className:"text-muted-foreground",children:e.contact.weekend})]})]})]}),o.jsxs("div",{className:"space-y-8",children:[o.jsx(oe,{className:"border-border/50 overflow-hidden",children:o.jsx("div",{className:"aspect-video bg-muted",children:o.jsx("iframe",{src:"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2654.9774932768745!2d21.56389!3d48.31694!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x473f0d5f5b5b5b5b%3A0x5b5b5b5b5b5b5b5b!2sWesselényi%20út%2034%2C%20Sárospatak%2C%203950!5e0!3m2!1shu!2shu!4v1620000000000!5m2!1shu!2shu",width:"100%",height:"100%",style:{border:0,minHeight:"300px"},allowFullScreen:!0,loading:"lazy",referrerPolicy:"no-referrer-when-downgrade",title:"SÁRGÉPSZER Kft. térkép"})})}),o.jsxs(oe,{className:"border-border/50",children:[o.jsx(fr,{children:o.jsxs(hr,{className:"flex items-center gap-3",children:[o.jsx("div",{className:"h-10 w-10 rounded-lg bg-primary/10 flex items-center justify-center",children:o.jsx(nk,{className:"h-5 w-5 text-primary"})}),e.contact.management]})}),o.jsx(ue,{className:"space-y-4",children:XF.map((t,n)=>o.jsxs("div",{className:"flex items-center justify-between p-4 rounded-lg bg-muted/50",children:[o.jsx("p",{className:"font-semibold text-lg",children:t.name}),o.jsx("a",{href:`tel:${t.phone.replace(/\s/g,"")}`,className:"text-primary hover:underline",children:t.phone})]},n))})]}),o.jsx(oe,{className:"border-primary/20 bg-gradient-to-br from-primary/5 to-accent/5",children:o.jsxs(ue,{className:"p-6",children:[o.jsx("h3",{className:"font-semibold text-lg mb-4",children:e.contact.ourFacility}),o.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[o.jsxs("div",{children:[o.jsx("div",{className:"text-2xl font-bold text-primary",children:"5500 m²"}),o.jsx("div",{className:"text-sm text-muted-foreground",children:e.contact.totalArea})]}),o.jsxs("div",{children:[o.jsx("div",{className:"text-2xl font-bold text-primary",children:"1000 m²"}),o.jsx("div",{className:"text-sm text-muted-foreground",children:e.contact.productionHall})]}),o.jsxs("div",{children:[o.jsx("div",{className:"text-2xl font-bold text-primary",children:"30+"}),o.jsx("div",{className:"text-sm text-muted-foreground",children:e.contact.machines})]}),o.jsxs("div",{children:[o.jsx("div",{className:"text-2xl font-bold text-primary",children:"30+"}),o.jsx("div",{className:"text-sm text-muted-foreground",children:e.contact.specialists})]})]})]})})]})]})})}),o.jsx("section",{className:"py-12 bg-muted/30 border-t border-border",children:o.jsx("div",{className:"container-wide",children:o.jsxs("div",{className:"flex flex-col md:flex-row items-center justify-between gap-6",children:[o.jsxs("div",{children:[o.jsx("h2",{className:"text-xl font-semibold text-foreground mb-2",children:e.contact.quickContact}),o.jsx("p",{className:"text-muted-foreground",children:e.contact.quickContactSubtitle})]}),o.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[o.jsx(le,{size:"lg",asChild:!0,children:o.jsxs("a",{href:"tel:+36202863341",children:[o.jsx(Ko,{className:"h-4 w-4 mr-2"}),"+36 20 286-3341"]})}),o.jsx(le,{size:"lg",variant:"outline",asChild:!0,children:o.jsxs("a",{href:"mailto:[email protected]",children:[o.jsx(rh,{className:"h-4 w-4 mr-2"}),e.contact.sendEmail]})})]})]})})})]})}const Yx={1:"cnc-technologia-jovoje",2:"precizios-fogaskerek-gyartas",3:"acelszerkezetek-a-modern-iparban"};function qx(){const{t:e}
543=yt(),{postId:t}=IR(),n=[{id:"cnc-technologia-jovoje",title:e.blog.post1.title,excerpt:e.blog.post1.excerpt,date:e.blog.post1.date,publishedAt:"2025-01-15",author:e.blog.post1.author,content:e.blog.post1.content,image:Rc,imageAlt:"CNC megmunkáló központ működés közben a Sárgépszer gyártócsarnokában",readTime:5,seoTitle:"CNC technológia jövője: automatizálás a gépiparban | Sárgépszer",seoDescription:"Hogyan alakítja át az automatizálás és a mesterséges intelligencia a CNC megmunkálást? Ipar 4.0 trendek és a Sárgépszer gépparkjának válaszai.",seoHeading:"A CNC technológia jövője a gépiparban"},{id:"precizios-fogaskerek-gyartas",title:e.blog.post2.title,excerpt:e.blog.post2.excerpt,date:e.blog.post2.date,publishedAt:"2025-01-08",author:e.blog.post2.author,content:e.blog.post2.content,image:Eo,imageAlt:"Ferdefogazású fogaskerék közelről, precíziós fogazás után",readTime:4,seoTitle:"Precíziós fogaskerék gyártás: a minőség titka | Sárgépszer",seoDescription:"Anyagválasztás, hőkezelés és felületi keménység: ezek döntik el egy fogaskerék élettartamát. Gyártás 2500 mm átmérőig, 1-25 modul tartományban.",seoHeading:"Precíziós fogaskerék gyártás: a minőség titka"},{id:"acelszerkezetek-a-modern-iparban",title:e.blog.post3.title,excerpt:e.blog.post3.excerpt,date:e.blog.post3.date,publishedAt:"2024-12-20",author:e.blog.post3.author,content:e.blog.post3.content,image:qT,imageAlt:"Hegesztés közben készülő acélszerkezet a Sárgépszer üzemében",readTime:6,seoTitle:"Acélszerkezetek gyártása és hegesztési technológiák | Sárgépszer",seoDescription:"MIG/MAG, TIG és bevont elektródás hegesztés az ipari acélszerkezetek gyártásában, ISO 9001:2015 minőségbiztosítással, 5 tonnás szerkezetekig.",seoHeading:"Acélszerkezetek a modern iparban"}];if(t){if(Yx[t])return o.jsx(py,{to:`/blog/${Yx[t]}`,replace:!0});const r=n.find(s=>s.id===t);return r?o.jsxs("div",{children:[o.jsx(Nn,{title:r.seoTitle,description:r.seoDescription,canonical:`https://sargepszer.hu/blog/${r.id}`,ogType:"article",jsonLd:[{"@context":"https://schema.org","@type":"BlogPosting",headline:r.seoHeading,description:r.seoDescription,datePublished:r.publishedAt,dateModified:r.publishedAt,author:{"@type":"Organization",name:"Sárgépszer Kft."},publisher:{"@type":"Organization",name:"Sárgépszer Kft."},mainEntityOfPage:`https://sargepszer.hu/blog/${r.id}`,inLanguage:"hu-HU"},{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Kezdőlap",item:"https://sargepszer.hu/"},{"@type":"ListItem",position:2,name:"Blog",item:"https://sargepszer.hu/blog"},{"@type":"ListItem",position:3,name:r.seoHeading,item:`https://sargepszer.hu/blog/${r.id}`}]}]}),o.jsxs("section",{className:"relative h-[50vh] min-h-[400px] flex items-center overflow-hidden",children:[o.jsxs("div",{className:"absolute inset-0",children:[o.jsx(F.img,{initial:{scale:1.1},animate:{scale:1},transition:{duration:1.5,ease:"easeOut"},src:r.image,alt:r.imageAlt,className:"w-full h-full object-cover"}),o.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-industrial-dark via-industrial-dark/70 to-industrial-dark/30"})]}),o.jsxs("div",{className:"relative container-wide",children:[o.jsx(_,{children:o.jsx(le,{variant:"outline",className:"mb-6 border-accent/70 text-accent bg-transparent hover:bg-accent/20",asChild:!0,children:o.jsxs(Z,{to:"/blog",children:[o.jsx(IE,{className:"mr-2 h-4 w-4"}),e.blog.backToBlog]})})}),o.jsx(_,{delay:.1,children:o.jsxs("div",{className:"flex items-center gap-4 text-primary-foreground/70 text-sm mb-4",children:[o.jsxs("span",{className:"flex items-center gap-1",children:[o.jsx(xd,{className:"h-4 w-4"}),r.date]}),o.jsxs("span",{className:"flex items-center gap-1",children:[o.jsx(nk,{className:"h-4 w-4"}),r.author]}),o.jsxs("span",{className:"flex items-center gap-1",children:[o.jsx(ai,{className:"h-4 w-4"}),r.readTime," ",e.blog.readTime]})]})}),o.jsx(_,{delay:.2,children:o.jsx("h1",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-primary-foreground max-w-4xl",children:r.title})})]})]}),o.jsx("section",{className:"section-padding bg-background",children:o.jsxs("div",{className:"container-wide",children:[o.jsx(_,{children:o.jsx("article",{className:"max-w-3xl mx-auto prose prose-lg prose-headings:text-foreground prose-p:text-muted-foreground prose-strong:text-foreground prose-li:text-muted-foreground",children:r.content.split(`
544
545`).map((s,i)=>{if(s.startsWith("## "))return o.jsx("h2",{className:"text-2xl font-bold text-foreground mt-8 mb-4",children:s.replace("## ","")},i);if(s.startsWith("- ")){const a=s.split(`
546`).filter(l=>l.startsWith("- "));return o.jsx("ul",{className:"list-disc list-inside space-y-2 my-4",children:a.map((l,c)=>{const d=l.replace("- ","").split(/\*\*(.*?)\*\*/g);return o.jsx("li",{className:"text-muted-foreground",children:d.map((f,h)=>h%2===1?o.jsx("strong",{className:"text-foreground",children:f},h):f)},c)})},i)}if(s.match(/^\d\./)){const a=s.split(`
547`).filter(l=>l.match(/^\d\./));return o.jsx("ol",{className:"list-decimal list-inside space-y-2 my-4",children:a.map((l,c)=>{const d=l.replace(/^\d\.\s*/,"").split(/\*\*(.*?)\*\*/g);return o.jsx("li",{className:"text-muted-foreground",children:d.map((f,h)=>h%2===1?o.jsx("strong",{className:"text-foreground",children:f},h):f)},c)})},i)}return o.jsx("p",{className:"text-muted-foreground leading-relaxed my-4",children:s},i)})})}),o.jsxs("div",{className:"mt-16 pt-16 border-t border-border",children:[o.jsx(_,{children:o.jsx("h2",{className:"text-2xl font-bold text-foreground mb-8",children:e.blog.latestPosts})}),o.jsx(jt,{className:"grid md:grid-cols-2 gap-6",children:n.filter(s=>s.id!==t).slice(0,2).map(s=>o.jsx(Tt,{children:o.jsx(Xe,{children:o.jsx(Z,{to:`/blog/${s.id}`,children:o.jsxs(oe,{className:"overflow-hidden border-border/50 hover:border-primary/50 transition-all",children:[o.jsx("div",{className:"aspect-video relative overflow-hidden",children:o.jsx("img",{src:s.image,alt:s.imageAlt,className:"w-full h-full object-cover transition-transform duration-500 group-hover:scale-110"})}),o.jsxs(ue,{className:"p-6",children:[o.jsx("p",{className:"text-sm text-muted-foreground mb-2",children:s.date}),o.jsx("h3",{className:"font-semibold text-foreground mb-2",children:s.title}),o.jsx("p",{className:"text-sm text-muted-foreground line-clamp-2",children:s.excerpt})]})]})})})},s.id))})]})]})})]}):o.jsx(py,{to:"/blog",replace:!0})}return o.jsxs("div",{children:[o.jsx(Nn,{title:"Blog: hírek a gépgyártásból | Sárgépszer",description:"Hírek, szakmai cikkek a CNC megmunkálásról, alkatrészgyÃ
547¡rtásról és a Sárgépszer aktuális projektjeiről.",canonical:"https://sargepszer.hu/blog",jsonLd:[{"@context":"https://schema.org","@type":"Blog",name:"Sárgépszer blog",description:"Hírek, szakmai cikkek a CNC megmunkálásról, alkatrészgyártásról és a Sárgépszer aktuális projektjeiről.",url:"https://sargepszer.hu/blog",inLanguage:"hu-HU"},{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Kezdőlap",item:"https://sargepszer.hu/"},{"@type":"ListItem",position:2,name:"Blog",item:"https://sargepszer.hu/blog"}]}]}),o.jsxs("section",{className:"relative py-24 bg-industrial-dark overflow-hidden",children:[o.jsx("div",{className:"absolute inset-0 opacity-20",children:o.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_30%_50%,rgba(255,255,255,0.1),transparent_50%)]"})}),o.jsxs("div",{className:"relative container-wide text-center",children:[o.jsx(_,{children:o.jsx("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold text-primary-foreground mb-6",children:e.blog.title})}),o.jsx(_,{delay:.1,children:o.jsx("p",{className:"text-xl text-primary-foreground/70 max-w-2xl mx-auto",children:e.blog.subtitle})})]})]}),o.jsx("section",{className:"section-padding bg-background",children:o.jsx("div",{className:"container-wide",children:o.jsx(_,{children:o.jsx(Xe,{hoverScale:1.01,hoverY:-4,children:o.jsx(Z,{to:`/blog/${n[0].id}`,className:"block",children:o.jsx(oe,{className:"overflow-hidden border-border/50 hover:border-primary/50 transition-all",children:o.jsxs("div",{className:"grid lg:grid-cols-2",children:[o.jsx("div",{className:"aspect-video lg:aspect-auto relative overflow-hidden",children:o.jsx(F.img,{whileHover:{scale:1.05},transition:{duration:.5},src:n[0].image,alt:n[0].imageAlt,className:"w-full h-full object-cover"})}),o.jsxs(ue,{className:"p-8 lg:p-12 flex flex-col justify-center",children:[o.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground mb-4",children:[o.jsxs("span",{className:"flex items-center gap-1",children:[o.jsx(xd,{className:"h-4 w-4"}),n[0].date]}),o.jsxs("span",{className:"flex items-center gap-1",children:[o.jsx(ai,{className:"h-4 w-4"}),n[0].readTime," ",e.blog.readTime]})]}),o.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-foreground mb-4 group-hover:text-primary transition-colors",children:n[0].title}),o.jsx("p",{className:"text-muted-foreground mb-6 leading-relaxed",children:n[0].excerpt}),o.jsxs("div",{className:"flex items-center text-primary font-medium",children:[e.blog.readMore,o.jsx(Ie,{className:"ml-2 h-4 w-4"})]})]})]})})})})})})}),o.jsx("section",{className:"pb-24 bg-background",children:o.jsx("div",{className:"container-wide",children:o.jsx(jt,{className:"grid md:grid-cols-2 gap-8",children:n.slice(1).map(r=>o.jsx(Tt,{children:o.jsx(Xe,{children:o.jsx(Z,{to:`/blog/${r.id}`,className:"block group",children:o.jsxs(oe,{className:"overflow-hidden border-border/50 hover:border-primary/50 transition-all h-full",children:[o.jsx("div",{className:"aspect-video relative overflow-hidden",children:o.jsx(F.img,{whileHover:{scale:1.05},transition:{duration:.5},src:r.image,alt:r.imageAlt,className:"w-full h-full object-cover"})}),o.jsxs(ue,{className:"p-6",children:[o.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground mb-3",children:[o.jsxs("span",{className:"flex items-center gap-1",children:[o.jsx(xd,{className:"h-4 w-4"}),r.date]}),o.jsxs("span",{className:"flex items-center gap-1",children:[o.jsx(ai,{className:"h-4 w-4"}),r.readTime," ",e.blog.readTime]})]}),o.jsx("h3",{className:"text-xl font-bold text-foreground mb-3 group-hover:text-primary transition-colors",children:r.title}),o.jsx("p",{className:"text-muted-foreground leading-relaxed mb-4",children:r.excerpt}),o.jsxs("div",{className:"flex items-center text-primary font-medium text-sm",children:[e.blog.readMore,o.jsx(Ie,{className:"ml-2 h-4 w-4 group-hover:translate-x-1 transition-transform"})]})]})]})})})},r.id))})})})]})}const tV=()=>{const e=Yn();return p.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),o.jsx("div",{className:"flex min-h-screen items-center justify-center bg-muted",children:o.jsxs("div",{className:"text-center",children:[o.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),o.jsx("p",{className:"mb-4 text-xl text-muted-foreground",children:"Oops! Page not found"}),o.jsx("a",{href:"/",className:"text-primary underline hover:text-primary/90",children:"Return to Home"})]})})};function nV(){const{t:e}
547=yt(),t=[{icon:$v,label:e.reverseEngineering.capInspection,value:e.reverseEngineering.capInspectionValue},{icon:nh,label:e.reverseEngineering.capDocumentation,value:e.reverseEngineering.capDocumentationValue},{icon:Fv,label:e.reverseEngineering.capMaterials,value:e.reverseEngineering.capMaterialsValue},{icon:qm,label:e.reverseEngineering.capSolution,value:e.reverseEngineering.capSolutionValue}],n=[{icon:$v,title:e.reverseEngineering.service1Title,description:e.reverseEngineering.service1Desc},{icon:nh,title:e.reverseEngineering.service2Title,description:e.reverseEngineering.service2Desc},{icon:Fv,title:e.reverseEngineering.service3Title,description:e.reverseEngineering.service3Desc}];return o.jsxs("div",{children:[o.jsx(Nn,{title:"Reverse engineering, alkatrész visszafejtés | Sárgépszer",description:"Elhasználódott vagy dokumentáció nélküli alkatrészek pontos bemérése és újragyártása 3D koordináta mérőgéppel, mikrométeres pontossággal.",canonical:"https://sargepszer.hu/reverse-engineering",jsonLd:[{"@context":"https://schema.org","@type":"Service",name:"Reverse engineering",serviceType:"Alkatrész visszafejtés és újragyártás",description:"Dokumentáció nélküli vagy elhasználódott alkatrészek bemérése 3D koordináta mérőgéppel, anyagvizsgálat, műszaki dokumentáció készítése és az alkatrész újragyártása.",url:"https://sargepszer.hu/reverse-engineering",areaServed:"HU",provider:{"@type":"ManufacturingBusiness",name:"Sárgépszer Kft.",telephone:"+36 20 286-3341",address:{"@type":"PostalAddress",streetAddress:"Wesselényi út 34.",postalCode:"3950",addressLocality:"Sárospatak",addressCountry:"HU"}}},{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Kezdőlap",item:"https://sargepszer.hu/"},{"@type":"ListItem",position:2,name:"Reverse engineering",item:"https://sargepszer.hu/reverse-engineering"}]}]}),o.jsxs("section",{className:"relative min-h-[80vh] flex items-end pb-20 overflow-hidden",children:[o.jsxs("div",{className:"absolute inset-0",children:[o.jsx(F.img,{initial:{scale:1.1},animate:{scale:1},transition:{duration:1.5,ease:"easeOut"},src:YT,alt:"Reverse engineering munkafolyamat: alkatrész bemérése 3D koordináta mérőgéppel",className:"w-full h-full object-cover"}),o.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-industrial-dark via-industrial-dark/60 to-transparent"})]}),o.jsx(F.div,{className:"absolute top-20 right-10 opacity-20 pointer-events-none hidden lg:block",animate:{rotate:360},transition:{duration:20,repeat:1/0,ease:"linear"},children:o.jsx(Vn,{className:"w-40 h-40 text-accent"})}),o.jsx(F.div,{className:"absolute top-40 right-32 opacity-20 pointer-events-none hidden lg:block",animate:{rotate:-360},transition:{duration:15,repeat:1/0,ease:"linear"},children:o.jsx(Vn,{className:"w-24 h-24 text-primary-foreground"})}),o.jsx("div",{className:"relative container-wide",children:o.jsxs("div",{className:"max-w-2xl",children:[o.jsx(_,{children:o.jsx(F.span,{className:"inline-block px-4 py-1.5 rounded-full bg-accent/20 border border-accent/30 text-accent text-sm font-medium mb-6",whileHover:{scale:1.05},children:e.reverseEngineering.sectionTitle})}),o.jsx(_,{delay:.1,children:o.jsx("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold text-primary-foreground mb-6",children:e.reverseEngineering.heroTitle})}),o.jsx(_,{delay:.2,children:o.jsx("p",{className:"text-lg md:text-xl text-primary-foreground/80 mb-8",children:e.reverseEngineering.heroSubtitle})}),o.jsx(_,{delay:.3,children:o.jsx(F.div,{whileHover:{scale:1.05},whileTap:{scale:.95},className:"inline-block",children:o.jsx(le,{size:"lg",className:"bg-accent text-accent-foreground hover:bg-accent/90",asChild:!0,children:o.jsxs(Z,{to:"/elerhetoseg",children:[e.common.contactUs,o.jsx(F.span,{animate:{x:[0,5,0]},transition:{duration:1.5,repeat:1/0},children:o.jsx(Ie,{className:"ml-2 h-5 w-5"})})]})})})})]})})]}),o.jsx("section",{className:"relative -mt-16 z-10 pb-16",children:o.jsx("div",{className:"container-wide",children:o.jsx(jt,{className:"grid grid-cols-2 lg:grid-cols-4 gap-4",staggerDelay:.1,children:t.map((r,s)=>o.jsx(Tt,{children:o.jsx(Xe,{hoverScale:1.05,children:o.jsx(oe,{className:"bg-card border-border/50 shadow-lg",children:o.jsxs(ue,{className:"p-6 text-center",children:[o.jsx(F.div,{animate:{rotate:[0,10,-10,0]},transition:{duration:2,repeat:1/0,delay:s*.3},children:o.jsx(r.icon,{className:"h-8 w-8 mx-auto mb-3 text-primary"})}),o.jsx("div",{className:"text-2xl font-bold text-foreground mb-1",children:r.value}),o.jsx("div",{className:"text-sm text-muted-foreground",children:r.label})]})})})},s))})})}),o.jsx("section",{className:"section-padding bg-muted/30",children:o.jsx("div",{className:"container-wide",children:o.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[o.jsxs("div",{children:[o.jsx(_,{children:o.jsxs("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-6",children:[e.reverseEngineering.descTitle," ",o.jsx("span",{className:"text-primary",children:e.reverseEngineering.descTitleAccent})]})}),o.jsx(_,{delay:.1,children:o.jsxs("div",{className:"prose prose-lg max-w-none text-muted-foreground leading-relaxed space-y-4",children:[o.jsx("p",{children:e.reverseEngineering.desc1}),o.jsx("p",{children:e.reverseEngineering.desc2})]})})]}),o.jsx(_,{direction:"left",children:o.jsxs(F.div,{className:"relative aspect-square rounded-2xl overflow-hidden",whileHover:{scale:1.02},children:[o.jsx("img",{src:Gh,alt:"Minőségellenőrzés és mikrométeres bemérés a visszafejtett alkatrészen",className:"w-full h-full object-cover"}),o.jsx("div",{className:"absolute inset-0 bg-gradient-to-tr from-primary/20 to-transparent"})]})})]})})}),o.jsx("section",{className:"section-padding bg-background",children:o.jsxs("div",{className:"container-wide",children:[o.jsx(_,{children:o.jsxs("div",{className:"text-center mb-12",children:[o.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:e.reverseEngineering.servicesTitle}),o.jsx("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto",children:e.reverseEngineering.servicesSubtitle})]})}),o.jsx(jt,{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",staggerDelay:.1,children:n.map((r,s)=>o.jsx(Tt,{children:o.jsx(Xe,{children:o.jsx(oe,{className:"h-full border-border/50 hover:border-primary/50 transition-all group",children:o.jsxs(ue,{className:"p-6",children:[o.jsx(F.div,{className:"h-12 w-12 rounded-full bg-primary/10 flex items-center justify-center mb-4",whileHover:{rotate:180,scale:1.1},transition:{duration:.5},children:o.jsx(r.icon,{className:"h-6 w-6 text-primary"})}),o.jsx("h3",{className:"text-lg font-semibold text-foreground mb-2 group-hover:text-primary transition-colors",children:r.title}),o.jsx("p",{className:"text-muted-foreground text-sm",children:r.description})]})})})},s))})]})}),o.jsx("section",{className:"section-padding bg-industrial-dark text-primary-foreground",children:o.jsxs("div",{className:"container-wide max-w-4xl text-center",children:[o.jsx(_,{children:o.jsxs("h2",{className:"text-3xl md:text-4xl font-bold mb-6",children:[e.reverseEngineering.closingTitle," ",o.jsx("span",{className:"text-accent",children:e.reverseEngineering.closingTitleAccent})]})}),o.jsx(_,{delay:.1,children:o.jsx("p",{className:"text-lg text-primary-foreground
547/70 leading-relaxed",children:e.reverseEngineering.closingText})})]})}),o.jsx("section",{className:"section-padding bg-background",children:o.jsxs("div",{className:"container-wide text-center",children:[o.jsx(_,{children:o.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-foreground mb-4",children:e.reverseEngineering.ctaTitle})}),o.jsx(_,{delay:.1,children:o.jsx("p",{className:"text-muted-foreground mb-8 max-w-xl mx-auto",children:e.reverseEngineering.ctaSubtitle})}),o.jsx(_,{delay:.2,children:o.jsx(F.div,{whileHover:{scale:1.05},whileTap:{scale:.95},className:"inline-block",children:o.jsx(le,{size:"lg",asChild:!0,children:o.jsxs(Z,{to:"/elerhetoseg",children:[e.common.contactUs,o.jsx(Ie,{className:"ml-2 h-5 w-5"})]})})})})]})})]})}const rV="/assets/lathe-operation-CYFXDG93.jpg";function sV(){const{t:e}=yt(),t=[{icon:Zo,label:e.largeParts.capShafts,value:e.largeParts.capShaftsValue},{icon:Bv,label:e.largeParts.capPipeCores,value:e.largeParts.capPipeCoresValue},{icon:th,label:e.largeParts.capGears,value:e.largeParts.capGearsValue},{icon:Vv,label:e.largeParts.capCouplings,value:e.largeParts.capCouplingsValue},{icon:dc,label:e.largeParts.capGearboxes,value:e.largeParts.capGearboxesValue}
547],n=[{icon:Zo,title:e.largeParts.service1Title,description:e.largeParts.service1Desc},{icon:Bv,title:e.largeParts.service2Title,description:e.largeParts.service2Desc},{icon:th,title:e.largeParts.service3Title,description:e.largeParts.service3Desc},{icon:Vv,title:e.largeParts.service4Title,description:e.largeParts.service4Desc},{icon:dc,title:e.largeParts.service5Title,description:e.largeParts.service5Desc}];return o.jsxs("div",{children:[o.jsx(Nn,{title:"Nagyméretű alkatrészek gyártása | Sárgépszer",description:"Nagy méretű, akár több tonnás gépalkatrészek és szerkezeti egységek gyártása, megmunkálása ipari felhasználásra.",canonical:"https://sargepszer.hu/nagy-alkatreszek",jsonLd:[{"@context":"https://schema.org","@type":"Service",name:"Nagyméretű alkatrészek gyártása és felújítása",serviceType:"Nagyméretű gépalkatrész gyártás és felújítás",description:"Nagy méretű, akár több tonnás tengelyek, csőmagok, fogaskerekek, tengelykapcsolók és hajtóműházak gyártása, megmunkálása és felújítása ipari üzemek számára.",url:"https://sargepszer.hu/nagy-alkatreszek",areaServed:"HU",provider:{"@type":"ManufacturingBusiness",name:"Sárgépszer Kft.",telephone:"+36 20 286-3341",address:{"@type":"PostalAddress",streetAddress:"Wesselényi út 34.",postalCode:"3950",addressLocality:"Sárospatak",addressCountry:"HU"}}},{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Kezdőlap",item:"https://sargepszer.hu/"},{"@type":"ListItem",position:2,name:"Nagyméretű alkatrészek",item:"https://sargepszer.hu/nagy-alkatreszek"}]}]}),o.jsxs("section",{className:"relative min-h-[80vh] flex items-end pb-20 overflow-hidden",children:[o.jsxs("div",{className:"absolute inset-0",children:[o.jsx(F.img,{initial:{scale:1.1},animate:{scale:1},transition:{duration:1.5,ease:"easeOut"},src:Rc,alt:"Nagyméretű acél alkatrész gyártása a Sárgépszer sárospataki üzemében",className:"w-full h-full object-cover"}),o.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-industrial-dark via-industrial-dark/60 to-transparent"})]}),o.jsx(F.div,{className:"absolute top-20 right-10 opacity-20 pointer-events-none hidden lg:block",animate:{rotate:360},transition:{duration:20,repeat:1/0,ease:"linear"},children:o.jsx(Vn,{className:"w-40 h-40 text-accent"})}),o.jsx(F.div,{className:"absolute top-40 right-32 opacity-20 pointer-events-none hidden lg:block",animate:{rotate:-360},transition:{duration:15,repeat:1/0,ease:"linear"},children:o.jsx(Vn,{className:"w-24 h-24 text-primary-foreground"})}),o.jsx("div",{className:"relative container-wide",children:o.jsxs("div",{className:"max-w-2xl",children:[o.jsx(_,{children:o.jsx(F.span,{className:"inline-block px-4 py-1.5 rounded-full bg-accent/20 border border-accent/30 text-accent text-sm font-medium mb-6",whileHover:{scale:1.05},children:e.largeParts.sectionTitle})}),o.jsx(_,{delay:.1,children:o.jsxs("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold text-primary-foreground mb-6",children:[e.largeParts.heroTitle," ",o.jsx("span",{className:"text-accent",children:e.largeParts.heroTitleAccent})]})}),o.jsx(_,{delay:.2,children:o.jsx("p",{className:"text-lg md:text-xl text-primary-foreground/80 mb-8",children:e.largeParts.heroSubtitle})}),o.jsx(_,{delay:.3,children:o.jsx(F.div,{whileHover:{scale:1.05},whileTap:{scale:.95},className:"inline-block",children:o.jsx(le,{size:"lg",className:"bg-accent text-accent-foreground hover:bg-accent/90",asChild:!0,children:o.jsxs(Z,{to:"/elerhetoseg",children:[e.common.contactUs,o.jsx(F.span,{animate:{x:[0,5,0]},transition:{duration:1.5,repeat:1/0},children:o.jsx(Ie,{className:"ml-2 h-5 w-5"})})]})})})})]})})]}),o.jsx("section",{className:"relative -mt-16 z-10 pb-16",children:o.jsx("div",{className:"container-wide",children:o.jsx(jt,{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-4",staggerDelay:.1,children:t.map((r,s)=>o.jsx(Tt,{children:o.jsx(Xe,{hoverScale:1.05,children:o.jsx(oe,{className:"bg-card border-border/50 shadow-lg",children:o.jsxs(ue,{className:"p-6 text-center",children:[o.jsx(F.div,{animate:{rotate:[0,10,-10,0]},transition:{duration:2,repeat:1/0,delay:s*.3},children:o.jsx(r.icon,{className:"h-8 w-8 mx-auto mb-3 text-primary"})}),o.jsx("div",{className:`font-bold text-foreground mb-1 ${s===1?"text-lg whitespace-nowrap":"text-2xl"}`,children:r.value}),o.jsx("div",{className:"text-sm text-muted-foreground",children:r.label})]})})})},s))})})}),o.jsx("section",{className:"section-padding bg-muted/30",children:o.jsx("div",{className:"container-wide",children:o.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 items-center",children:[o.jsxs("div",{children:[o.jsx(_,{children:o.jsxs("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-6",children:[e.largeParts.descTitle," ",o.jsx("span",{className:"text-primary",children:e.largeParts.descTitleAccent})]})}),o.jsx(_,{delay:.1,children:o.jsxs("div",{className:"prose prose-lg max-w-none text-muted-foreground leading-relaxed space-y-4",children:[o.jsx("p",{children:e.largeParts.desc1}),o.jsx("p",{children:e.largeParts.desc2})]})})]}),o.jsx(_,{direction:"left",children:o.jsxs(F.div,{className:"relative aspect-square rounded-2xl overflow-hidden",whileHover:{scale:1.02},children:[o.jsx("img",{src:rV,alt:"Több tonnás gépalkatrész esztergálása nagyméretű megmunkálógépen",className:"w-full h-full object-cover"}),o.jsx("div",{className:"absolute inset-0 bg-gradient-to-tr from-primary/20 to-transparent"})]})})]})})}),o.jsx("section",{className:"section-padding bg-background",children:o.jsxs("div",{className:"container-wide",children:[o.jsx(_,{children:o.jsxs("div",{className:"text-center mb-12",children:[o.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:e.largeParts.servicesTitle}),o.jsx("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto",children:e.largeParts.servicesSubtitle})]})}),o.jsx(jt,{className:"grid md:grid-cols-2 md:grid-rows-3 lg:grid-cols-3 lg:grid-rows-2 gap-6 auto-rows-fr items-stretch",staggerDelay:.1,children:n.map((r,s)=>o.jsx(Tt,{className:"h-full flex",children:o.jsx(Xe,{className:"h-full w-full",children:o.jsx(oe,{className:"h-full border-border/50 hover:border-primary/50 transition-all group",children:o.jsxs(ue,{className:"p-6 flex flex-col h-full",children:[o.jsx(F.div,{className:"h-12 w-12 rounded-full bg-primary/10 flex items-center justify-center mb-4",whileHover:{rotate:180,scale:1.1},transition:{duration:.5},children:o.jsx(r.icon,{className:"h-6 w-6 text-primary"})}),o.jsx("h3",{className:"text-lg font-semibold text-foreground mb-2 group-hover:text-primary transition-colors",children:r.title}),o.jsx("p",{className:"text-muted-foreground text-sm flex-grow",children:r.description})]})})})},s))})]})}),o.jsx("section",{className:"section-padding bg-industrial-dark text-primary-foreground",children:o.jsxs("div",{className:"container-wide max-w-4xl text-center",children:[o.jsx(_,{children:o.jsxs("h2",{className:"text-3xl md:text-4xl font-bold mb-6",children:[e.largeParts.closingTitle," ",o.jsx("span",{className:"text-accent",children:e.largeParts.closingTitleAccent})]})}),o.jsx(_,{delay:.1,children:o.jsx("p",{className:"text-lg text-primary-foreground
547/70 leading-relaxed",children:e.largeParts.closingText})})]})}),o.jsx("section",{className:"section-padding bg-background",children:o.jsxs("div",{className:"container-wide text-center",children:[o.jsx(_,{children:o.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-foreground mb-4",children:e.largeParts.ctaTitle})}),o.jsx(_,{delay:.1,children:o.jsx("p",{className:"text-muted-foreground mb-8 max-w-xl mx-auto",children:e.largeParts.ctaSubtitle})}),o.jsx(_,{delay:.2,children:o.jsx(F.div,{whileHover:{scale:1.05},whileTap:{scale:.95},className:"inline-block",children:o.jsx(le,{size:"lg",asChild:!0,children:o.jsxs(Z,{to:"/elerhetoseg",children:[e.common.contactUs,o.jsx(Ie,{className:"ml-2 h-5 w-5"})]})})})})]})})]})}const ag="sg-cookie-consent-v1";function iV(){try{const e=localStorage.getItem(ag);if(!e)return null;const t=JSON.parse(e);return{necessary:!0,analytics:!!t.analytics,marketing:!!t.marketing,updatedAt:typeof t.updatedAt=="string"?t.updatedAt:new Date().toISOString()}}catch{return null}}function oV(e){const t={necessary:!0,analytics:e.analytics,marketing:e.marketing,updatedAt:new Date().toISOString()};try{localStorage.setItem(ag,JSON.stringify(t))}catch{}return window.dispatchEvent(new CustomEvent("sg-cookie-consent-change",{detail:t})),t}function aV(){try{localStorage.removeItem(ag)}catch{}window.dispatchEvent(new CustomEvent("sg-cookie-consent-change",{detail:null}))}const lV=()=>o.jsxs(o.Fragment,{children:[o.jsx(Nn,{title:"Adatkezelési irányelvek | Sárgépszer Kft.",description:"A Sárgépszer Kft. adatkezelési irányelvei a weboldal látogatói számára.",canonical:"https://sargepszer.hu/adatkezelesi-iranyelvek",noindex:!0,jsonLd:{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Kezdőlap",item:"https://sargepszer.hu/"},{"@type":"ListItem",position:2,name:"Adatkezelési irányelvek",item:"https://sargepszer.hu/adatkezelesi-iranyelvek"}]}}),o.jsxs("section",{className:"relative bg-industrial-dark text-primary-foreground py-20 md:py-28 overflow-hidden",children:[o.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_center,hsl(var(--accent)/0.15),transparent_65%)]"}),o.jsx("div",{className:"container-wide relative text-center",children:o.jsxs(_,{children:[o.jsx("h1",{className:"text-3xl md:text-5xl font-bold mb-4",children:"Adatkezelési irányelvek"}),o.jsx("p",{className:"text-primary-foreground/70 max-w-2xl mx-auto",children:"Tájékoztatás a személyes adatok kezeléséről és a sütik (cookie-k) használatáról"})]})})]}),o.jsx("section",{className:"py-14 md:py-20",children:o.jsx("div",{className:"container-wide",children:o.jsxs("div",{className:"max-w-3xl mx-auto space-y-10 text-sm md:text-base leading-relaxed text-muted-foreground",children:[o.jsx("p",{className:"text-xs text-muted-foreground/70",children:"Hatályos: 2026. január 1-jétől"}),o.jsxs("div",{className:"space-y-3",children:[o.jsx("h2",{className:"text-xl md:text-2xl font-bold text-foreground",children:"1. Az adatkezelő"}),o.jsxs("ul",{className:"space-y-1",children:[o.jsxs("li",{children:[o.jsx("strong",{className:"text-foreground",children:"Név:"})," SÁRGÉPSZER Alkatrészgyártó és Kereskedelmi Korlátolt Felelősségű Társaság (SÁRGÉPSZER Kft.)"]}),o.jsxs("li",{children:[o.jsx("strong",{className:"text-foreground",children:"Székhely:"})," 3950 Sárospatak, Wesselényi út 34."]}),o.jsxs("li",{children:[o.jsx("strong",{className:"text-foreground",children:"Adószám:"})," 10694314-2-05"]}),o.jsxs("li",{children:[o.jsx("strong",{className:"text-foreground",children:"E-mail:"})," ",o.jsx("a",{className:"text-accent hover:underline",href:"mailto:[email protected]",children:"[email protected]"}),","," ",o.jsx("a",{className:"text-accent hover:underline",href:"mailto:[email protected]",children:"[email protected]"})]}),o.jsxs("li",{children:[o.jsx("strong",{className:"text-foreground",children:"Telefon:"})," ",o.jsx("a",{className:"text-accent hover:underline",href:"tel:+3647511395",children:"+36 47 511 395"}),","," ",o.jsx("a",{className:"text-accent hover:underline",href:"tel:+36202863341",children:"+36 20 286-3341"})]})]}),o.jsx("p",{children:"Adatvédelmi tisztviselő kinevezésére a társaság nem kötelezett, adatvédelmi kérdésekkel a fenti elérhetőségeken lehet hozzánk fordulni."})]}),o.jsxs("div",{className:"space-y-3",children:[o.jsx("h2",{className:"text-xl md:text-2xl font-bold text-foreground",children:"2. Az irányelv jogszabályi háttere"}),o.jsxs("ul",{className:"list-disc pl-5 space-y-1",children:[o.jsx("li",{children:"az Európai Parlament és a Tanács (EU) 2016/679 rendelete (általános adatvédelmi rendelet, GDPR);"}),o.jsx("li",{children:"az információs önrendelkezési jogról és az információszabadságról szóló 2011. évi CXII. törvény (Infotv.);"}),o.jsx("li",{children:"az elektronikus kereskedelmi szolgáltatásokról szóló 2001. évi CVIII. törvény (Elker. tv.);"}),o.jsx("li",{children:"az elektronikus hírközlésről szóló 2003. évi C. törvény (a sütik használatára vonatkozó rendelkezések);"}),o.jsx("li",{children:"a számvitelről szóló 2000. évi C. törvény (bizonylatok megőrzése)."})]})]}),o.jsxs("div",{className:"space-y-3",children:[o.jsx("h2",{className:"text-xl md:text-2xl font-bold text-foreground",children:"3. Milyen adatokat kezelünk és miért?"}),o.jsx("p",{children:"A weboldal működése úgy került kialakításra, hogy a lehető legkevesebb személyes adatot kezelje. A weboldalon nincs regisztráció, nincs webshop és nincs kitöltendő űrlap: a kapcsolatfelvétel telefonon és e-mailben történik."}),o.jsx("h3",{className:"text-base font-semibold text-foreground pt-2",children:"a) Kapcsolatfelvétel telefonon vagy e-mailben"}),o.jsxs("p",{children:[o.jsx("strong",{className:"text-foreground",children:"Kezelt adatok:"})," név, telefonszám, e-mail cím, cégnév és a megkeresésben Ön által megadott egyéb adatok (pl. műszaki igény, rajz, szállítási cím).",o.jsx("br",{}),o.jsx("strong",{className:"text-foreground",children:"Cél:"})," a megkeresés megválaszolása, ajánlatadás, a szerződéses kapcsolat előkészítése és teljesítése.",o.jsx("br",{}),o.jsx("strong",{className:"text-foreground",children:"Jogalap:"})," szerződés teljesítése, illetve annak előkészítése iránti kérelem (GDPR 6. cikk (1) b)), egyébként a megkeresés megválaszolásához fűződő jogos érdek (GDPR 6. cikk (1) f)).",o.jsx("br",{}),o.jsx("strong",{className:"text-foreground",children:"Megőrzési idő:"})," az ügyintézés befejezésétől számított legfeljebb 5 év (általános elévülési idő); ha az együttműködésből számla keletkezik, a számviteli bizonylatokat 8 évig őrizzük meg."]}),o.jsx("h3",{className:"text-base font-semibold text-foreground pt-2",children:"b) A weboldal működéséhez szükséges technikai adatok"}),o.jsxs("p",{children:[o.jsx("strong",{className:"text-foreground",children:"Kezelt adatok:"})," IP-cím, kérés időpontja, meglátogatott oldal, böngésző és eszköz típu
547sa (szerver naplófájlok).",o.jsx("br",{}),o.jsx("strong",{className:"text-foreground",children:"Cél:"})," a weboldal biztonságos és stabil működtetése, támadások és üzemzavarok kivizsgálása.",o.jsx("br",{}),o.jsx("strong",{className:"text-foreground",children:"Jogalap:"})," jogos érdek (GDPR 6. cikk (1) f)).",o.jsx("br",{}),o.jsx("strong",{className:"text-foreground",children:"Megőrzési idő:"})," legfeljebb 30 nap, kivéve biztonsági incidens kivizsgálása esetén."]}),o.jsx("h3",{className:"text-base font-semibold text-foreground pt-2",children:"c) Statisztikai és marketing sütik"}),o.jsxs("p",{children:[o.jsx("strong",{className:"text-foreground",children:"Cél:"})," a látogatói szokások összesített elemzése, a weboldal fejlesztése, illetve hirdetések eredményességének mérése.",o.jsx("br",{}),o.jsx("strong",{className:"text-foreground",children:"Jogalap:"})," az Ön előzetes, önkéntes hozzájárulása (GDPR 6. cikk (1) a)), amelyet a süti-sávon adhat meg, és bármikor visszavonhat.",o.jsx("br",{}),o.jsx("strong",{className:"text-foreground",children:"Megőrzési idő:"})," a sütik lejáratáig, legfeljebb 24 hónap, illetve a hozzájárulás visszavonásáig."]})]}),o.jsxs("div",{className:"space-y-3",children:[o.jsx("h2",{className:"text-xl md:text-2xl font-bold text-foreground",children:"4. Sütik (cookie-k)"}),o.jsx("p",{children:"A süti a böngészője által az eszközén tárolt kis adatfájl. A weboldal működéséhez elengedhetetlen (technikai) sütiket hozzájárulás nélkül is használhatjuk – ilyen például a süti-beállításait és a választott nyelvet tároló bejegyzés. Minden más sütit kizárólag az Ön hozzájárulása után helyezünk el."}),o.jsxs("ul",{className:"list-disc pl-5 space-y-1",children:[o.jsxs("li",{children:[o.jsx("strong",{className:"text-foreground",children:"Szükséges:"})," a weboldal megjelenítéséhez, a nyelvválasztás és a süti-hozzájárulás megjegyzéséhez. Nem kapcsolható ki."]}),o.jsxs("li",{children:[o.jsx("strong",{className:"text-foreground",children:"Statisztikai:"})," összesített látogatottsági adatok mérése (pl. Google Analytics). Csak elfogadás után töltődik be."]}),o.jsxs("li",{children:[o.jsx("strong",{className:"text-foreground",children:"Marketing:"})," hirdetések eredményességének mérése és célzása. Csak elfogadás után töltődik be."]})]}),o.jsx("p",{children:"A választását bármikor módosíthatja: a süti-beállítások az alábbi gombbal újra előhívhatók. A böngészőjében emellett a már eltárolt sütiket is törölheti."}),o.jsx(le,{variant:"outline",onClick:()=>{aV(),window.location.reload()},children:"Süti-beállítások módosítása"})]}),o.jsxs("div",{className:"space-y-3",children:[o.jsx("h2",{className:"text-xl md:text-2xl font-bold text-foreground",children:"5. Adatfeldolgozók, adattovábbítás"}),o.jsx("p",{children:"Személyes adatokat nem adunk el és nem adunk át harmadik félnek marketing célból. A weboldal működtetéséhez az alábbi közreműködőket vesszük igénybe:"}),o.jsxs("ul",{className:"list-disc pl-5 space-y-1",children:[o.jsxs("li",{children:[o.jsx("strong",{className:"text-foreground",children:"Tárhelyszolgáltatás (weboldal üzemeltetése):"})," ","Lovable Labs Incorporated (Lovable), weboldal:"," ",o.jsx("a",{className:"text-accent hover:underline",href:"https://lovable.dev",target:"_blank",rel:"noopener noreferrer",children:"lovable.dev"}),". Kezelt adatok: a weboldal kiszolgálásához szükséges technikai naplóadatok."]}),o.jsxs("li",{children:[o.jsx("strong",{className:"text-foreground",children:"E-mail szolgáltatás:"})," a céges levelezést kiszolgáló szolgáltató, kizárólag az Ön által küldött levelek tárolása és továbbítása céljából."]}),o.jsxs("li",{children:[o.jsx("strong",{className:"text-foreground",children:"Látogatottság-mérés:"})," Google Ireland Limited (Google Analytics), kizárólag az Ön hozzájárulása esetén."]})]}),o.jsx("p",{children:"Hatóság vagy bíróság megkeresése esetén jogszabályi kötelezettség ala
547pján továbbíthatunk adatot. Adatot harmadik országba önállóan nem továbbítunk; a Google szolgáltatásainál az adattovábbítás az Európai Bizottság megfelelőségi határozata, illetve általános szerződési feltételek alapján történik."})]}),o.jsxs("div",{className:"space-y-3",children:[o.jsx("h2",{className:"text-xl md:text-2xl font-bold text-foreground",children:"6. Adatbiztonság"}),o.jsx("p",{children:"A személyes adatokhoz kizárólag azok a munkatársaink férnek hozzá, akiknek ez a munkájuk ellátásához szükséges. A weboldal titkosított (HTTPS) kapcsolaton keresztül érhető el. Az adatokat védjük a jogosulatlan hozzáférés, megváltoztatás, továbbítás, nyilvánosságra hozatal, törlés és megsemmisülés ellen."})]}),o.jsxs("div",{className:"space-y-3",children:[o.jsx("h2",{className:"text-xl md:text-2xl font-bold text-foreground",children:"7. Az Ön jogai"}),o.jsxs("ul",{className:"list-disc pl-5 space-y-1",children:[o.jsx("li",{children:"tájékoztatáshoz és hozzáféréshez való jog (GDPR 15. cikk);"}),o.jsx("li",{children:"helyesbítéshez való jog (16. cikk);"}),o.jsx("li",{children:"törléshez való jog, „elfeledtetéshez való jog” (17. cikk);"}),o.jsx("li",{children:"az adatkezelés korlátozásához való jog (18. cikk);"}),o.jsx("li",{children:"adathordozhatósághoz való jog (20. cikk);"}),o.jsx("li",{children:"tiltakozáshoz való jog jogos érdeken alapuló adatkezelés esetén (21. cikk);"}),o.jsx("li",{children:"a hozzájárulás bármikori visszavonásának joga (7. cikk (3))."})]}),o.jsx("p",{children:"Kérelmét a fenti e-mail címen vagy postai úton jelezheti. A kérelmet legkésőbb egy hónapon belül megválaszoljuk; ez a határidő indokolt esetben két hónappal meghosszabbítható, amiről tájékoztatjuk Önt."})]}),o.jsxs("div",{className:"space-y-3",children:[o.jsx("h2",{className:"text-xl md:text-2xl font-bold text-foreground",children:"8. Jogorvoslati lehetőségek"}),o.jsx("p",{children:"Ha úgy érzi, hogy adatai kezelése során jogsérelem történt, panaszt tehet a felügyeleti hatóságnál:"}),o.jsxs("p",{children:[o.jsx("strong",{className:"text-foreground",children:"Nemzeti Adatvédelmi és Információszabadság Hatóság (NAIH)"}),o.jsx("br",{}),"1055 Budapest, Falk Miksa utca 9-11.",o.jsx("br",{}),"Postacím: 1363 Budapest, Pf. 9.",o.jsx("br",{}),"Telefon: +36 1 391 1400 · E-mail: [email protected] · Web:"," ",o.jsx("a",{className:"text-accent hover:underline",href:"https://naih.hu",target:"_blank",rel:"noopener noreferrer",children:"naih.hu"})]}),o.jsx("p",{children:"Jogainak megsértése esetén bírósághoz is fordulhat; a per az Ön lakóhelye vagy tartózkodási helye szerinti törvényszék előtt is megindítható."})]}),o.jsxs("div",{className:"space-y-3",children:[o.jsx("h2",{className:"text-xl md:text-2xl font-bold text-foreground",children:"9. Az irányelv módosítása"}),o.jsx("p",{children:"Fenntartjuk a jogot arra, hogy ezt a tájékoztatót egyoldalúan módosítsuk. A hatályos változat mindig ezen az oldalon érhető el."}),o.jsx("p",{className:"pt-4",children:o.jsx(Z,{to:"/elerhetoseg",className:"text-accent hover:underline",children:"Kapcsolatfelvétel és elérhetőségeink →"})})]})]})})})]});function cV(e){const t=p.useRef({value:e,previous:e});return p.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var Du="Switch",[uV,RV]=cn(Du),[dV,fV]=uV(Du),hC=p.forwardRef((e,t)=>{const{__scopeSwitch:n,name:r,checked:s,defaultChecked:i,required:a,disabled:l,value:c="on",onCheckedChange:u,form:d,...f}=e,[h,m]=p.useState(null),b=fe(t,x=>m(x)),g=p.useRef(!1),w=h?d||!!h.closest("form"):!0,[v,y]=_i({prop:s,defaultProp:i??!1,onChange:u,caller:Du});return o.jsxs(dV,{scope:n,checked:v,disabled:l,children:[o.jsx(ne.button,{type:"button",role:"switch","aria-checked":v,"aria-required":a,"data-state":vC(v),"data-disabled":l?"":void 0,disabled:l,value:c,...f,ref:b,onClick:$(e.onClick,x=>{y(k=>!k),w&&(g.current=x.isPropagationStopped(),g.current||x.stopPropagation())})}),w&&o.jsx(gC,{control:h,bubbles:!g.current,name:r,value:c,checked:v,required:a,disabled:l,form:d,style:{transform:"translateX(-100%)"}})]})});hC.displayName=Du;var mC="SwitchThumb",pC=p.forwardRef((e,t)=>
547{const{__scopeSwitch:n,...r}=e,s=fV(mC,n);return o.jsx(ne.span,{"data-state":vC(s.checked),"data-disabled":s.disabled?"":void 0,...r,ref:t})});pC.displayName=mC;var hV="SwitchBubbleInput",gC=p.forwardRef(({__scopeSwitch:e,control:t,checked:n,bubbles:r=!0,...s},i)=>{const a=p.useRef(null),l=fe(a,i),c=cV(n),u=kk(t);return p.useEffect(()=>{const d=a.current;if(!d)return;const f=window.HTMLInputElement.prototype,m=Object.getOwnPropertyDescriptor(f,"checked").set;if(c!==n&&m){const b=new Event("click",{bubbles:r});m.call(d,n),d.dispatchEvent(b)}},[c,n,r]),o.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:n,...s,tabIndex:-1,ref:l,style:{...s.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});gC.displayName=hV;function vC(e){return e?"checked":"unchecked"}var yC=hC,mV=pC;const Fl=p.forwardRef(({className:e,...t},n)=>o.jsx(yC,{className:Y("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50",e),...t,ref:n,children:o.jsx(mV,{className:Y("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0")})}));Fl.displayName=yC.displayName;function pV(){const{t:e}=yt(),[t,n]=p.useState(!1),[r,s]=p.useState(!1),[i,a]=p.useState(!1),[l,c]=p.useState(!1);p.useEffect(()=>{if(!iV()){const d=window.setTimeout(()=>n(!0),700);return()=>window.clearTimeout(d)}},[]);const u=d=>{oV(d),s(!1),n(!1)};return t?o.jsxs(o.Fragment,{children:[o.jsx("div",{className:"fixed bottom-0 left-0 right-0 z-50 p-3 sm:p-4",children:o.jsx("div",{className:"mx-auto max-w-3xl rounded-lg border border-border bg-card/95 backdrop-blur shadow-lg p-4 sm:p-5",children:o.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center gap-4",children:[o.jsxs("div",{className:"flex gap-3 flex-1",children:[o.jsx(FE,{className:"h-5 w-5 text-accent shrink-0 mt-0.5"}),o.jsxs("p",{className:"text-xs sm:text-sm text-muted-foreground leading-relaxed",children:[e.cookie.bannerText," ",o.jsx(Z,{to:"/adatkezelesi-iranyelvek",className:"text-accent underline hover:no-underline",children:e.cookie.policyLink})]})]}),o.jsxs("div",{className:"flex flex-wrap gap-2 sm:justify-end",children:[o.jsx(le,{variant:"ghost",size:"sm",className:"text-xs",onClick:()=>s(!0),children:e.cookie.customize}),o.jsx(le,{variant:"outline",size:"sm",className:"text-xs",onClick:()=>u({analytics:!1,marketing:!1}),children:e.cookie.reject}),o.jsx(le,{size:"sm",className:"text-xs",onClick:()=>u({analytics:!0,marketing:!0}),children:e.cookie.accept})]})]})})}),o.jsx(wu,{open:r,onOpenChange:s,children:o.jsxs(ka,{className:"max-w-lg",children:[o.jsxs(ku,{children:[o.jsx(Su,{children:e.cookie.settingsTitle}),o.jsx(Np,{children:e.cookie.settingsDesc})]}),o.jsxs("div",{className:"space-y-4 py-2",children:[o.jsxs("div",{className:"flex items-start justify-between gap-4 rounded-lg border border-border p-3",children:[o.jsxs("div",{children:[o.jsx("p",{className:"text-sm font-medium",children:e.cookie.necessaryTitle}),o.jsx("p",{className:"text-xs text-muted-foreground",children:e.cookie.necessaryDesc})]}),o.jsx(Fl,{checked:!0,disabled:!0,"aria-label":e.cookie.necessaryTitle})]}),o.jsxs("div",{className:"flex items-start justify-between gap-4 rounded-lg border border-border p-3",children:[o.jsxs("div",{children:[o.jsx("p",{className:"text-sm font-medium",children:e.cookie.analyticsTitle}),o.jsx("p",{className:"text-xs text-muted-foreground",children:e.cookie.analyticsDesc})]}),o.jsx(Fl,{checked:i,onCheckedChange:a,"aria-label":e.cookie.analyticsTitle})]}),o.jsxs("div",{className:"flex items-start justify-between gap-4 rounded-lg border border-border p-3",children:[o.jsxs("div",{children:[o.jsx("p",{className:"text-sm font-medium",children:e.cookie.marketingTitle}),o.jsx("p",{className:"text-xs text-muted-foreground",children:e.cookie.marketingDesc})]}),o.jsx(Fl,{checked:l,onCheckedChange:c,"aria-label":e.cookie.marketingTitle})]})]}),o.jsxs(WS,{className:"gap-2 sm:gap-2",children:[o.jsx(le,{variant:"outline",onClick:()=>u({analytics:!1,marketing:!1}),children:e.cookie.reject}),o.jsx(le,{onClick:()=>u({analytics:i,marketing:l}),children:e.cookie.save})]})]})})]}):null}const Wh="G-101KQ9C2SP";let xC=!1,cl=null;function gV(){try{const e=localStorage.getItem("sg-cookie-consent-v1");return e?JSON.parse(e):null}catch{return null}}function bC(){var e;return!!((e=gV())!=null&&e.analytics)}function Kh(){if(!bC()||typeof document>"u")return Promise.resolve();if(cl)return cl;const e=document.createElement("script");return e.id="ga-script",e.async=!0,e.src=`https://www.googletagmanager.com/gtag/js?i
547d=${Wh}`,window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date),xC=!0,cl=new Promise(t=>{e.addEventListener("load",()=>{window.gtag("config",Wh,{send_page_view:!1,transport_type:"beacon"}),t()}),e.addEventListener("error",()=>t())}),document.head.appendChild(e),cl}async function Qx(e){bC()&&(await Kh(),!(!xC||typeof window.gtag!="function")&&window.gtag("event","page_view",{page_path:e,page_location:`${window.location.origin}${e}`,page_title:document.title,send_to:Wh}))}function vV(){const e=Yn(),t=p.useRef(e.pathname+e.search);return p.useEffect(()=>{t.current=e.pathname+e.search,Kh()},[]),p.useEffect(()=>{const n=r=>{const s=r.detail;s!=null&&s.analytics&&Kh().then(()=>Qx(t.current))};return window.addEventListener("sg-cookie-consent-change",n),()=>window.removeEventListener("sg-cookie-consent-change",n)},[]),p.useEffect(()=>{const n=e.pathname+e.search;t.current=n,Qx(n)},[e.pathname,e.search]),null}const yV=new sR,xV=()=>o.jsx(oR,{client:yV,children:o.jsx(uD,{children:o.jsxs(DM,{children:[o.jsx(PP,{}),o.jsx(lA,{}),o.jsxs(rD,{children:[o.jsx(wO,{}),o.jsx(vV,{}),o.jsx(bO,{children:o.jsxs(qR,{children:[o.jsx(ut,{path:"/",element:o.jsx(jF,{})}),o.jsx(ut,{path:"/alkatresz-gyartas",element:o.jsx(EF,{})}),o.jsx(ut,{path:"/cnc-megmunkalas",element:o.jsx($F,{})}),o.jsx(ut,{path:"/fogaskerekek",element:o.jsx(HF,{})}),o.jsx(ut,{path:"/acelszerkezetek",element:o.jsx(GF,{})}),o.jsx(ut,{path:"/muszaki-lehetosegek",element:o.jsx(QF,{})}),o.jsx(ut,{path:"/reverse-engineering",element:o.jsx(nV,{})}),o.jsx(ut,{path:"/nagy-alkatreszek",element:o.jsx(sV,{})}),o.jsx(ut,{path:"/elerhetoseg",element:o.jsx(eV,{})}),o.jsx(ut,{path:"/blog",element:o.jsx(qx,{})}),o.jsx(ut,{path:"/blog/:postId",element:o.jsx(qx,{})}),o.jsx(ut,{path:"/adatkezelesi-iranyelvek",element:o.jsx(lV,{})}),o.jsx(ut,{path:"*",element:o.jsx(tV,{})})]})}),o.jsx(pV,{})]})]})})});xw(document.getElementById("root")).render(o.jsx(Cw,{children:o.jsx(xV,{})}));

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.