|
|
`+e.stack}}var xe=Object.prototype.hasOwnProperty,R=t.unstable_scheduleCallback,Se=t.unstable_cancelCallback,Ce=t.unstable_shouldYield,we=t.unstable_requestPaint,Te=t.unstable_now,Ee=t.unstable_getCurrentPriorityLevel,De=t.unstable_ImmediatePriority,Oe=t.unstable_UserBlockingPriority,ke=t.unstable_NormalPriority,Ae=t.unstable_LowPriority,je=t.unstable_IdlePriority,Me=t.log,Ne=t.unstable_setDisableYieldValue,z=null,Pe=null;function Fe(e){if(typeof Me==`function`&&Ne(e),Pe&&typeof Pe.setStrictMode==`function`)try{Pe.setStrictMode(z,e)}catch{}}var Ie=Math.clz32?Math.clz32:ze,Le=Math.log,Re=Math.LN2;function ze(e){return e>>>=0,e===0?32:31-(Le(e)/Re|0)|0}var Be=256,Ve=262144,He=4194304;function Ue(e){var t=e&42;if(t!==0)return t;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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function We(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=Ue(n))):i=Ue(o):i=Ue(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=Ue(n))):i=Ue(o)):i=Ue(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function Ge(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Ke(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32: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:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function qe(){var e=He;return He<<=1,!(He&62914560)&&(He=4194304),e}function Je(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ye(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Xe(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0<n;){var u=31-Ie(n),d=1<<u;s[u]=0,c[u]=-1;var f=l[u];if(f!==null)for(l[u]=null,u=0;u<f.length;u++){var p=f[u];p!==null&&(p.lane&=-536870913)}n&=~d}r!==0&&Ze(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function Ze(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-Ie(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function Qe(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ie(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function $e(e,t){var n=t&-t;return n=n&42?1:et(n),(n&(e.suspendedLanes|t))===0?n:0}function et(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function tt(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function nt(){var e=F.p;return e===0?(e=window.event,e===void 0?32:mp(e.type)):e}function rt(e,t){var n=F.p;try{return F.p=e,t()}finally{F.p=n}}var it=Math.random().toString(36).slice(2),at=`__reactFiber$`+it,ot=`__reactProps$`+it,st=`__reactContainer$`+it,ct=`__reactEvents$`+it,lt=`__reactListeners$`+it,ut=`__reactHandles$`+it,dt=`__reactResources$`+it,ft=`__reactMarker$`+it;function pt(e){delete e[at],delete e[ot],delete e[ct],delete e[lt],delete e[ut]}function mt(e){var t=e[at];if(t)return t;for(var n=e.parentNode;n;){if(t=n[st]||n[at]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=ff(e);e!==null;){if(n=e[at])return n;e=ff(e)}return t}e=n,n=e.parentNode}return null}function ht(e){if(e=e[at]||e[st]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function gt(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(i(33))}function _t(e){var t=e[dt];return t||=e[dt]={hoistableStyles:new Map,hoistableScripts:new Map},t}function vt(e){e[ft]=!0}var yt=new Set,bt={};function xt(e,t){St(e,t),St(e+`Capture`,t)}function St(e,t){for(bt[e]=t,e=0;e<t.length;e++)yt.add(t[e])}var Ct=RegExp(`^[: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]*$`),wt={},Tt={};function Et(e){return xe.call(Tt,e)?!0:xe.call(wt,e)?!1:Ct.test(e)?Tt[e]=!0:(wt[e]=!0,!1)}function Dt(e,t,n){if(Et(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:e.removeAttribute(t);return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`){e.removeAttribute(t);return}}e.setAttribute(t,``+n)}}function Ot(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(t);return}e.setAttribute(t,``+n)}}function kt(e,t,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(n);return}e.setAttributeNS(t,n,``+r)}}function At(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function jt(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function Mt(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&r!==void 0&&typeof r.get==`function`&&typeof r.set==`function`){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Nt(e){if(!e._valueTracker){var t=jt(e)?`checked`:`value`;e._valueTracker=Mt(e,t,``+e[t])}}function Pt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=jt(e)?e.checked?`true`:`false`:e.value),e=r,e===n?!1:(t.setValue(e),!0)}function Ft(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}var It=/[\n"\\]/g;function Lt(e){return e.replace(It,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function Rt(e,t,n,r,i,a,o,s){e.name=``,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`?e.type=o:e.removeAttribute(`type`),t==null?o!==`submit`&&o!==`reset`||e.removeAttribute(`value`):o===`number`?(t===0&&e.value===``||e.value!=t)&&(e.value=``+At(t)):e.value!==``+At(t)&&(e.value=``+At(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):Bt(e,o,At(n)):Bt(e,o,At(t)),i==null&&a!=null&&(e.defaultChecked=!!a),i!=null&&(e.checked=i&&typeof i!=`function`&&typeof i!=`symbol`),s!=null&&typeof s!=`function`&&typeof s!=`symbol`&&typeof s!=`boolean`?e.name=``+At(s):e.removeAttribute(`name`)}function zt(e,t,n,r,i,a,o,s){if(a!=null&&typeof a!=`function`&&typeof a!=`symbol`&&typeof a!=`boolean`&&(e.type=a),t!=null||n!=null){if(!(a!==`submit`&&a!==`reset`||t!=null)){Nt(e);return}n=n==null?``:``+At(n),t=t==null?n:``+At(t),s||t===e.value||(e.value=t),e.defaultValue=t}r??=i,r=typeof r!=`function`&&typeof r!=`symbol`&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`&&(e.name=o),Nt(e)}function Bt(e,t,n){t===`number`&&Ft(e.ownerDocument)===e||e.defaultValue===``+n||(e.defaultValue=``+n)}function Vt(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+At(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Ht(e,t,n){if(t!=null&&(t=``+At(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n==null?``:``+At(n)}function Ut(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error(i(92));if(te(r)){if(1<r.length)throw Error(i(93));r=r[0]}n=r}n??=``,t=n}n=At(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),Nt(e)}function Wt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Gt=new Set(`animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp`.split(` `));function Kt(e,t,n){var r=t.indexOf(`--`)===0;n==null||typeof n==`boolean`||n===``?r?e.setProperty(t,``):t===`float`?e.cssFloat=``:e[t]=``:r?e.setProperty(t,n):typeof n!=`number`||n===0||Gt.has(t)?t===`float`?e.cssFloat=n:e[t]=(``+n).trim():e[t]=n+`px`}function qt(e,t,n){if(t!=null&&typeof t!=`object`)throw Error(i(62));if(e=e.style,n!=null){for(var r in n)!n.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf(`--`)===0?e.setProperty(r,``):r===`float`?e.cssFloat=``:e[r]=``);for(var a in t)r=t[a],t.hasOwnProperty(a)&&n[a]!==r&&Kt(e,a,r)}else for(var o in t)t.hasOwnProperty(o)&&Kt(e,o,t[o])}function Jt(e){if(e.indexOf(`-`)===-1)return!1;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 Yt=new Map([[`acceptCharset`,`accept-charset`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`],[`crossOrigin`,`crossorigin`],[`accentHeight`,`accent-height`],[`alignmentBaseline`,`alignment-baseline`],[`arabicForm`,`arabic-form`],[`baselineShift`,`baseline-shift`],[`capHeight`,`cap-height`],[`clipPath`,`clip-path`],[`clipRule`,`clip-rule`],[`colorInterpolation`,`color-interpolation`],[`colorInterpolationFilters`,`color-interpolation-filters`],[`colorProfile`,`color-profile`],[`colorRendering`,`color-rendering`],[`dominantBaseline`,`dominant-baseline`],[`enableBackground`,`enable-background`],[`fillOpacity`,`fill-opacity`],[`fillRule`,`fill-rule`],[`floodColor`,`flood-color`],[`floodOpacity`,`flood-opacity`],[`fontFamily`,`font-family`],[`fontSize`,`font-size`],[`fontSizeAdjust`,`font-size-adjust`],[`fontStretch`,`font-stretch`],[`fontStyle`,`font-style`],[`fontVariant`,`font-variant`],[`fontWeight`,`font-weight`],[`glyphName`,`glyph-name`],[`glyphOrientationHorizontal`,`glyph-orientation-horizontal`],[`glyphOrientationVertical`,`glyph-orientation-vertical`],[`horizAdvX`,`horiz-adv-x`],[`horizOriginX`,`horiz-origin-x`],[`imageRendering`,`image-rendering`],[`letterSpacing`,`letter-spacing`],[`lightingColor`,`lighting-color`],[`markerEnd`,`marker-end`],[`markerMid`,`marker-mid`],[`markerStart`,`marker-start`],[`overlinePosition`,`overline-position`],[`overlineThickness`,`overline-thickness`],[`paintOrder`,`paint-order`],[`panose-1`,`panose-1`],[`pointerEvents`,`pointer-events`],[`renderingIntent`,`rendering-intent`],[`shapeRendering`,`shape-rendering`],[`stopColor`,`stop-color`],[`stopOpacity`,`stop-opacity`],[`strikethroughPosition`,`strikethrough-position`],[`strikethroughThickness`,`strikethrough-thickness`],[`strokeDasharray`,`stroke-dasharray`],[`strokeDashoffset`,`stroke-dashoffset`],[`strokeLinecap`,`stroke-linecap`],[`strokeLinejoin`,`stroke-linejoin`],[`strokeMiterlimit`,`stroke-miterlimit`],[`strokeOpacity`,`stroke-opacity`],[`strokeWidth`,`stroke-width`],[`textAnchor`,`text-anchor`],[`textDecoration`,`text-decoration`],[`textRendering`,`text-rendering`],[`transformOrigin`,`transform-origin`],[`underlinePosition`,`underline-position`],[`underlineThickness`,`underline-thickness`],[`unicodeBidi`,`unicode-bidi`],[`unicodeRange`,`unicode-range`],[`unitsPerEm`,`units-per-em`],[`vAlphabetic`,`v-alphabetic`],[`vHanging`,`v-hanging`],[`vIdeographic`,`v-ideographic`],[`vMathematical`,`v-mathematical`],[`vectorEffect`,`vector-effect`],[`vertAdvY`,`vert-adv-y`],[`vertOriginX`,`vert-origin-x`],[`vertOriginY`,`vert-origin-y`],[`wordSpacing`,`word-spacing`],[`writingMode`,`writing-mode`],[`xmlnsXlink`,`xmlns:xlink`],[`xHeight`,`x-height`]]),Xt=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Zt(e){return Xt.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function Qt(){}var $t=null;function en(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var tn=null,nn=null;function rn(e){var t=ht(e);if(t&&(e=t.stateNode)){var n=e[ot]||null;a:switch(e=t.stateNode,t.type){case`input`:if(Rt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(`input[name="`+Lt(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[ot]||null;if(!a)throw Error(i(90));Rt(r,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<n.length;t++)r=n[t],r.form===e.form&&Pt(r)}break a;case`textarea`:Ht(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&Vt(e,!!n.multiple,t,!1)}}}var an=!1;function on(e,t,n){if(an)return e(t,n);an=!0;try{return e(t)}finally{if(an=!1,(tn!==null||nn!==null)&&(bu(),tn&&(t=tn,e=nn,nn=tn=null,rn(t),e)))for(t=0;t<e.length;t++)rn(e[t])}}function sn(e,t){var n=e.stateNode;if(n===null)return null;var r=n[ot]||null;if(r===null)return null;n=r[t];a: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 a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error(i(231,t,typeof n));return n}var cn=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),ln=!1;if(cn)try{var un={};Object.defineProperty(un,`passive`,{get:function(){ln=!0}}),window.addEventListener(`test`,un,un),window.removeEventListener(`test`,un,un)}catch{ln=!1}var dn=null,fn=null,pn=null;function mn(){if(pn)return pn;var e,t=fn,n=t.length,r,i=`value`in dn?dn.value:dn.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return pn=i.slice(e,1<r?1-r:void 0)}function hn(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 gn(){return!0}function _n(){return!1}function vn(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?gn:_n,this.isPropagationStopped=_n,this}return f(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=gn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=gn)},persist:function(){},isPersistent:gn}),t}var yn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},bn=vn(yn),xn=f({},yn,{view:0,detail:0}),Sn=vn(xn),Cn,wn,Tn,En=f({},xn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ln,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!==Tn&&(Tn&&e.type===`mousemove`?(Cn=e.screenX-Tn.screenX,wn=e.screenY-Tn.screenY):wn=Cn=0,Tn=e),Cn)},movementY:function(e){return`movementY`in e?e.movementY:wn}}),Dn=vn(En),On=vn(f({},En,{dataTransfer:0})),kn=vn(f({},xn,{relatedTarget:0})),An=vn(f({},yn,{animationName:0,elapsedTime:0,pseudoElement:0})),jn=vn(f({},yn,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),Mn=vn(f({},yn,{data:0})),Nn={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},Pn={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`},Fn={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function In(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Fn[e])?!!t[e]:!1}function Ln(){return In}var Rn=vn(f({},xn,{key:function(e){if(e.key){var t=Nn[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=hn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?Pn[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ln,charCode:function(e){return e.type===`keypress`?hn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?hn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),zn=vn(f({},En,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Bn=vn(f({},xn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ln})),Vn=vn(f({},yn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Hn=vn(f({},En,{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})),Un=vn(f({},yn,{newState:0,oldState:0})),Wn=[9,13,27,32],Gn=cn&&`CompositionEvent`in window,Kn=null;cn&&`documentMode`in document&&(Kn=document.documentMode);var B=cn&&`TextEvent`in window&&!Kn,qn=cn&&(!Gn||Kn&&8<Kn&&11>=Kn),Jn=` `,Yn=!1;function Xn(e,t){switch(e){case`keyup`:return Wn.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function Zn(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var Qn=!1;function $n(e,t){switch(e){case`compositionend`:return Zn(t);case`keypress`:return t.which===32?(Yn=!0,Jn):null;case`textInput`:return e=t.data,e===Jn&&Yn?null:e;default:return null}}function er(e,t){if(Qn)return e===`compositionend`||!Gn&&Xn(e,t)?(e=mn(),pn=fn=dn=null,Qn=!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 qn&&t.locale!==`ko`?null:t.data;default:return null}}var tr={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 nr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!tr[e.type]:t===`textarea`}function rr(e,t,n,r){tn?nn?nn.push(r):nn=[r]:tn=r,t=Ed(t,`onChange`),0<t.length&&(n=new bn(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var ir=null,ar=null;function or(e){vd(e,0)}function sr(e){if(Pt(gt(e)))return e}function cr(e,t){if(e===`change`)return t}var lr=!1;if(cn){var ur;if(cn){var dr=`oninput`in document;if(!dr){var fr=document.createElement(`div`);fr.setAttribute(`oninput`,`return;`),dr=typeof fr.oninput==`function`}ur=dr}else ur=!1;lr=ur&&(!document.documentMode||9<document.documentMode)}function pr(){ir&&(ir.detachEvent(`onpropertychange`,mr),ar=ir=null)}function mr(e){if(e.propertyName===`value`&&sr(ar)){var t=[];rr(t,ar,e,en(e)),on(or,t)}}function hr(e,t,n){e===`focusin`?(pr(),ir=t,ar=n,ir.attachEvent(`onpropertychange`,mr)):e===`focusout`&&pr()}function gr(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return sr(ar)}function _r(e,t){if(e===`click`)return sr(t)}function vr(e,t){if(e===`input`||e===`change`)return sr(t)}function yr(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var br=typeof Object.is==`function`?Object.is:yr;function xr(e,t){if(br(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)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 i=n[r];if(!xe.call(t,i)||!br(e[i],t[i]))return!1}return!0}function Sr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Cr(e,t){var n=Sr(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}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Sr(n)}}function wr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?wr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Tr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Ft(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ft(e.document)}return t}function Er(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`)}var Dr=cn&&`documentMode`in document&&11>=document.documentMode,Or=null,kr=null,Ar=null,jr=!1;function Mr(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;jr||Or==null||Or!==Ft(r)||(r=Or,`selectionStart`in r&&Er(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}),Ar&&xr(Ar,r)||(Ar=r,r=Ed(kr,`onSelect`),0<r.length&&(t=new bn(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Or)))}function Nr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var Pr={animationend:Nr(`Animation`,`AnimationEnd`),animationiteration:Nr(`Animation`,`AnimationIteration`),animationstart:Nr(`Animation`,`AnimationStart`),transitionrun:Nr(`Transition`,`TransitionRun`),transitionstart:Nr(`Transition`,`TransitionStart`),transitioncancel:Nr(`Transition`,`TransitionCancel`),transitionend:Nr(`Transition`,`TransitionEnd`)},Fr={},Ir={};cn&&(Ir=document.createElement(`div`).style,`AnimationEvent`in window||(delete Pr.animationend.animation,delete Pr.animationiteration.animation,delete Pr.animationstart.animation),`TransitionEvent`in window||delete Pr.transitionend.transition);function Lr(e){if(Fr[e])return Fr[e];if(!Pr[e])return e;var t=Pr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Ir)return Fr[e]=t[n];return e}var Rr=Lr(`animationend`),zr=Lr(`animationiteration`),Br=Lr(`animationstart`),Vr=Lr(`transitionrun`),Hr=Lr(`transitionstart`),Ur=Lr(`transitioncancel`),Wr=Lr(`transitionend`),Gr=new Map,Kr=`abort auxClick beforeToggle 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(` `);Kr.push(`scrollEnd`);function qr(e,t){Gr.set(e,t),xt(t,[e])}var Jr=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},Yr=[],Xr=0,Zr=0;function Qr(){for(var e=Xr,t=Zr=Xr=0;t<e;){var n=Yr[t];Yr[t++]=null;var r=Yr[t];Yr[t++]=null;var i=Yr[t];Yr[t++]=null;var a=Yr[t];if(Yr[t++]=null,r!==null&&i!==null){var o=r.pending;o===null?i.next=i:(i.next=o.next,o.next=i),r.pending=i}a!==0&&ni(n,i,a)}}function $r(e,t,n,r){Yr[Xr++]=e,Yr[Xr++]=t,Yr[Xr++]=n,Yr[Xr++]=r,Zr|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function ei(e,t,n,r){return $r(e,t,n,r),ri(e)}function ti(e,t){return $r(e,null,null,t),ri(e)}function ni(e,t,n){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n);for(var i=!1,a=e.return;a!==null;)a.childLanes|=n,r=a.alternate,r!==null&&(r.childLanes|=n),a.tag===22&&(e=a.stateNode,e===null||e._visibility&1||(i=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,i&&t!==null&&(i=31-Ie(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function ri(e){if(50<du)throw du=0,fu=null,Error(i(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var ii={};function ai(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.refCleanup=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 oi(e,t,n,r){return new ai(e,t,n,r)}function si(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ci(e,t){var n=e.alternate;return n===null?(n=oi(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&65011712,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.refCleanup=e.refCleanup,n}function li(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function ui(e,t,n,r,a,o){var s=0;if(r=e,typeof e==`function`)si(e)&&(s=1);else if(typeof e==`string`)s=Wf(e,n,se.current)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(e){case k:return e=oi(31,n,t,a),e.elementType=k,e.lanes=o,e;case y:return di(n.children,a,o,t);case b:s=8,a|=24;break;case x:return e=oi(12,n,t,a|2),e.elementType=x,e.lanes=o,e;case T:return e=oi(13,n,t,a),e.elementType=T,e.lanes=o,e;case E:return e=oi(19,n,t,a),e.elementType=E,e.lanes=o,e;default:if(typeof e==`object`&&e)switch(e.$$typeof){case C:s=10;break a;case S:s=9;break a;case w:s=11;break a;case D:s=14;break a;case O:s=16,r=null;break a}s=29,n=Error(i(130,e===null?`null`:typeof e,``)),r=null}return t=oi(s,n,t,a),t.elementType=e,t.type=r,t.lanes=o,t}function di(e,t,n,r){return e=oi(7,e,r,t),e.lanes=n,e}function fi(e,t,n){return e=oi(6,e,null,t),e.lanes=n,e}function pi(e){var t=oi(18,null,null,0);return t.stateNode=e,t}function mi(e,t,n){return t=oi(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var hi=new WeakMap;function gi(e,t){if(typeof e==`object`&&e){var n=hi.get(e);return n===void 0?(t={value:e,source:t,stack:be(t)},hi.set(e,t),t):n}return{value:e,source:t,stack:be(t)}}var _i=[],vi=0,yi=null,bi=0,xi=[],Si=0,Ci=null,wi=1,Ti=``;function Ei(e,t){_i[vi++]=bi,_i[vi++]=yi,yi=e,bi=t}function Di(e,t,n){xi[Si++]=wi,xi[Si++]=Ti,xi[Si++]=Ci,Ci=e;var r=wi;e=Ti;var i=32-Ie(r)-1;r&=~(1<<i),n+=1;var a=32-Ie(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,wi=1<<32-Ie(t)+i|n<<i|r,Ti=a+e}else wi=1<<a|n<<i|r,Ti=e}function Oi(e){e.return!==null&&(Ei(e,1),Di(e,1,0))}function ki(e){for(;e===yi;)yi=_i[--vi],_i[vi]=null,bi=_i[--vi],_i[vi]=null;for(;e===Ci;)Ci=xi[--Si],xi[Si]=null,Ti=xi[--Si],xi[Si]=null,wi=xi[--Si],xi[Si]=null}function Ai(e,t){xi[Si++]=wi,xi[Si++]=Ti,xi[Si++]=Ci,wi=t.id,Ti=t.overflow,Ci=e}var ji=null,Mi=null,V=!1,Ni=null,Pi=!1,Fi=Error(i(519));function Ii(e){throw Hi(gi(Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?`text`:`HTML`,``)),e)),Fi}function Li(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[at]=e,t[ot]=r,n){case`dialog`:yd(`cancel`,t),yd(`close`,t);break;case`iframe`:case`object`:case`embed`:yd(`load`,t);break;case`video`:case`audio`:for(n=0;n<gd.length;n++)yd(gd[n],t);break;case`source`:yd(`error`,t);break;case`img`:case`image`:case`link`:yd(`error`,t),yd(`load`,t);break;case`details`:yd(`toggle`,t);break;case`input`:yd(`invalid`,t),zt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`select`:yd(`invalid`,t);break;case`textarea`:yd(`invalid`,t),Ut(t,r.value,r.defaultValue,r.children)}n=r.children,typeof n!=`string`&&typeof n!=`number`&&typeof n!=`bigint`||t.textContent===``+n||!0===r.suppressHydrationWarning||Md(t.textContent,n)?(r.popover!=null&&(yd(`beforetoggle`,t),yd(`toggle`,t)),r.onScroll!=null&&yd(`scroll`,t),r.onScrollEnd!=null&&yd(`scrollend`,t),r.onClick!=null&&(t.onclick=Qt),t=!0):t=!1,t||Ii(e,!0)}function Ri(e){for(ji=e.return;ji;)switch(ji.tag){case 5:case 31:case 13:Pi=!1;return;case 27:case 3:Pi=!0;return;default:ji=ji.return}}function zi(e){if(e!==ji)return!1;if(!V)return Ri(e),V=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!==`form`&&n!==`button`)||Wd(e.type,e.memoizedProps)),n=!n),n&&Mi&&Ii(e),Ri(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));Mi=df(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));Mi=df(e)}else t===27?(t=Mi,Qd(e.type)?(e=uf,uf=null,Mi=e):Mi=t):Mi=ji?lf(e.stateNode.nextSibling):null;return!0}function Bi(){Mi=ji=null,V=!1}function Vi(){var e=Ni;return e!==null&&(Ql===null?Ql=e:Ql.push.apply(Ql,e),Ni=null),e}function Hi(e){Ni===null?Ni=[e]:Ni.push(e)}var Ui=ae(null),Wi=null,Gi=null;function Ki(e,t,n){I(Ui,t._currentValue),t._currentValue=n}function qi(e){e._currentValue=Ui.current,oe(Ui)}function Ji(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}}function Yi(e,t,n,r){var a=e.child;for(a!==null&&(a.return=e);a!==null;){var o=a.dependencies;if(o!==null){var s=a.child;o=o.firstContext;a:for(;o!==null;){var c=o;o=a;for(var l=0;l<t.length;l++)if(c.context===t[l]){o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),Ji(o.return,n,e),r||(s=null);break a}o=c.next}}else if(a.tag===18){if(s=a.return,s===null)throw Error(i(341));s.lanes|=n,o=s.alternate,o!==null&&(o.lanes|=n),Ji(s,n,e),s=null}else s=a.child;if(s!==null)s.return=a;else for(s=a;s!==null;){if(s===e){s=null;break}if(a=s.sibling,a!==null){a.return=s.return,s=a;break}s=s.return}a=s}}function Xi(e,t,n,r){e=null;for(var a=t,o=!1;a!==null;){if(!o){if(a.flags&524288)o=!0;else if(a.flags&262144)break}if(a.tag===10){var s=a.alternate;if(s===null)throw Error(i(387));if(s=s.memoizedProps,s!==null){var c=a.type;br(a.pendingProps.value,s.value)||(e===null?e=[c]:e.push(c))}}else if(a===ue.current){if(s=a.alternate,s===null)throw Error(i(387));s.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(e===null?e=[$f]:e.push($f))}a=a.return}e!==null&&Yi(t,e,n,r),t.flags|=262144}function Zi(e){for(e=e.firstContext;e!==null;){if(!br(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Qi(e){Wi=e,Gi=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function $i(e){return ta(Wi,e)}function ea(e,t){return Wi===null&&Qi(e),ta(e,t)}function ta(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Gi===null){if(e===null)throw Error(i(308));Gi=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Gi=Gi.next=t;return n}var na=typeof AbortController<`u`?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},ra=t.unstable_scheduleCallback,ia=t.unstable_NormalPriority,aa={$$typeof:C,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function oa(){return{controller:new na,data:new Map,refCount:0}}function sa(e){e.refCount--,e.refCount===0&&ra(ia,function(){e.controller.abort()})}var ca=null,la=0,ua=0,da=null;function fa(e,t){if(ca===null){var n=ca=[];la=0,ua=dd(),da={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return la++,t.then(pa,pa),t}function pa(){if(--la===0&&ca!==null){da!==null&&(da.status=`fulfilled`);var e=ca;ca=null,ua=0,da=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function ma(e,t){var n=[],r={status:`pending`,value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status=`fulfilled`,r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status=`rejected`,r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}var ha=P.S;P.S=function(e,t){tu=Te(),typeof t==`object`&&t&&typeof t.then==`function`&&fa(e,t),ha!==null&&ha(e,t)};var ga=ae(null);function _a(){var e=ga.current;return e===null?Ll.pooledCache:e}function va(e,t){t===null?I(ga,ga.current):I(ga,t.pool)}function ya(){var e=_a();return e===null?null:{parent:aa._currentValue,pool:e}}var ba=Error(i(460)),xa=Error(i(474)),Sa=Error(i(542)),Ca={then:function(){}};function wa(e){return e=e.status,e===`fulfilled`||e===`rejected`}function Ta(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(Qt,Qt),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,ka(e),e;default:if(typeof t.status==`string`)t.then(Qt,Qt);else{if(e=Ll,e!==null&&100<e.shellSuspendCounter)throw Error(i(482));e=t,e.status=`pending`,e.then(function(e){if(t.status===`pending`){var n=t;n.status=`fulfilled`,n.value=e}},function(e){if(t.status===`pending`){var n=t;n.status=`rejected`,n.reason=e}})}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,ka(e),e}throw Da=t,ba}}function Ea(e){try{var t=e._init;return t(e._payload)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(Da=e,ba):e}}var Da=null;function Oa(){if(Da===null)throw Error(i(459));var e=Da;return Da=null,e}function ka(e){if(e===ba||e===Sa)throw Error(i(483))}var Aa=null,ja=0;function Ma(e){var t=ja;return ja+=1,Aa===null&&(Aa=[]),Ta(Aa,e,t)}function Na(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function Pa(e,t){throw t.$$typeof===m?Error(i(525)):(e=Object.prototype.toString.call(t),Error(i(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e)))}function Fa(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;e!==null;)e.key===null?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function a(e,t){return e=ci(e,t),e.index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=67108866,n):(r=r.index,r<n?(t.flags|=67108866,n):r)):(t.flags|=1048576,n)}function s(t){return e&&t.alternate===null&&(t.flags|=67108866),t}function c(e,t,n,r){return t===null||t.tag!==6?(t=fi(n,e.mode,r),t.return=e,t):(t=a(t,n),t.return=e,t)}function l(e,t,n,r){var i=n.type;return i===y?d(e,t,n.props.children,r,n.key):t!==null&&(t.elementType===i||typeof i==`object`&&i&&i.$$typeof===O&&Ea(i)===t.type)?(t=a(t,n.props),Na(t,n),t.return=e,t):(t=ui(n.type,n.key,n.props,null,e.mode,r),Na(t,n),t.return=e,t)}function u(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=mi(n,e.mode,r),t.return=e,t):(t=a(t,n.children||[]),t.return=e,t)}function d(e,t,n,r,i){return t===null||t.tag!==7?(t=di(n,e.mode,r,i),t.return=e,t):(t=a(t,n),t.return=e,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`||typeof t==`bigint`)return t=fi(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case g:return n=ui(t.type,t.key,t.props,null,e.mode,n),Na(n,t),n.return=e,n;case v:return t=mi(t,e.mode,n),t.return=e,t;case O:return t=Ea(t),f(e,t,n)}if(te(t)||M(t))return t=di(t,e.mode,n,null),t.return=e,t;if(typeof t.then==`function`)return f(e,Ma(t),n);if(t.$$typeof===C)return f(e,ea(e,t),n);Pa(e,t)}return null}function p(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`||typeof n==`bigint`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case g:return n.key===i?l(e,t,n,r):null;case v:return n.key===i?u(e,t,n,r):null;case O:return n=Ea(n),p(e,t,n,r)}if(te(n)||M(n))return i===null?d(e,t,n,r,null):null;if(typeof n.then==`function`)return p(e,t,Ma(n),r);if(n.$$typeof===C)return p(e,t,ea(e,n),r);Pa(e,n)}return null}function m(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`||typeof r==`bigint`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case g:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case v:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case O:return r=Ea(r),m(e,t,n,r,i)}if(te(r)||M(r))return e=e.get(n)||null,d(t,e,r,i,null);if(typeof r.then==`function`)return m(e,t,n,Ma(r),i);if(r.$$typeof===C)return m(e,t,n,ea(t,r),i);Pa(t,r)}return null}function h(i,a,s,c){for(var l=null,u=null,d=a,h=a=0,g=null;d!==null&&h<s.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var _=p(i,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(i,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(i,d),V&&Ei(i,h),l;if(d===null){for(;h<s.length;h++)d=f(i,s[h],c),d!==null&&(a=o(d,a,h),u===null?l=d:u.sibling=d,u=d);return V&&Ei(i,h),l}for(d=r(d);h<s.length;h++)g=m(d,i,h,s[h],c),g!==null&&(e&&g.alternate!==null&&d.delete(g.key===null?h:g.key),a=o(g,a,h),u===null?l=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(i,e)}),V&&Ei(i,h),l}function _(a,s,c,l){if(c==null)throw Error(i(151));for(var u=null,d=null,h=s,g=s=0,_=null,v=c.next();h!==null&&!v.done;g++,v=c.next()){h.index>g?(_=h,h=null):_=h.sibling;var y=p(a,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(a,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(a,h),V&&Ei(a,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return V&&Ei(a,g),u}for(h=r(h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&v.alternate!==null&&h.delete(v.key===null?g:v.key),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(a,e)}),V&&Ei(a,g),u}function b(e,r,o,c){if(typeof o==`object`&&o&&o.type===y&&o.key===null&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case g:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===y){if(r.tag===7){n(e,r.sibling),c=a(r,o.props.children),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===O&&Ea(l)===r.type){n(e,r.sibling),c=a(r,o.props),Na(c,o),c.return=e,e=c;break a}n(e,r);break}else t(e,r);r=r.sibling}o.type===y?(c=di(o.props.children,e.mode,c,o.key),c.return=e,e=c):(c=ui(o.type,o.key,o.props,null,e.mode,c),Na(c,o),c.return=e,e=c)}return s(e);case v:a:{for(l=o.key;r!==null;){if(r.key===l)if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=a(r,o.children||[]),c.return=e,e=c;break a}else{n(e,r);break}else t(e,r);r=r.sibling}c=mi(o,e.mode,c),c.return=e,e=c}return s(e);case O:return o=Ea(o),b(e,r,o,c)}if(te(o))return h(e,r,o,c);if(M(o)){if(l=M(o),typeof l!=`function`)throw Error(i(150));return o=l.call(o),_(e,r,o,c)}if(typeof o.then==`function`)return b(e,r,Ma(o),c);if(o.$$typeof===C)return b(e,r,ea(e,o),c);Pa(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=a(r,o),c.return=e,e=c):(n(e,r),c=fi(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{ja=0;var i=b(e,t,n,r);return Aa=null,i}catch(t){if(t===ba||t===Sa)throw t;var a=oi(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var Ia=Fa(!0),La=Fa(!1),Ra=!1;function za(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ba(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Va(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Ha(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Il&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=ri(e),ni(e,null,n),t}return $r(e,r,t,n),ri(e)}function Ua(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Qe(e,n)}}function Wa(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Ga=!1;function Ka(){if(Ga){var e=da;if(e!==null)throw e}}function qa(e,t,n,r){Ga=!1;var i=e.updateQueue;Ra=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var p=s.lane&-536870913,m=p!==s.lane;if(m?(Rl&p)===p:(r&p)===p){p!==0&&p===ua&&(Ga=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var h=e,g=s;p=t;var _=n;switch(g.tag){case 1:if(h=g.payload,typeof h==`function`){d=h.call(_,d,p);break a}d=h;break a;case 3:h.flags=h.flags&-65537|128;case 0:if(h=g.payload,p=typeof h==`function`?h.call(_,d,p):h,p==null)break a;d=f({},d,p);break a;case 2:Ra=!0}}p=s.callback,p!==null&&(e.flags|=64,m&&(e.flags|=8192),m=i.callbacks,m===null?i.callbacks=[p]:m.push(p))}else m={lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=m,c=d):u=u.next=m,o|=p;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;m=s,s=m.next,m.next=null,i.lastBaseUpdate=m,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),Kl|=o,e.lanes=o,e.memoizedState=d}}function Ja(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function Ya(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Ja(n[e],t)}var Xa=ae(null),Za=ae(0);function Qa(e,t){e=Wl,I(Za,e),I(Xa,t),Wl=e|t.baseLanes}function $a(){I(Za,Wl),I(Xa,Xa.current)}function eo(){Wl=Za.current,oe(Xa),oe(Za)}var to=ae(null),no=null;function ro(e){var t=e.alternate;I(H,H.current&1),I(to,e),no===null&&(t===null||Xa.current!==null||t.memoizedState!==null)&&(no=e)}function io(e){I(H,H.current),I(to,e),no===null&&(no=e)}function ao(e){e.tag===22?(I(H,H.current),I(to,e),no===null&&(no=e)):oo(e)}function oo(){I(H,H.current),I(to,to.current)}function so(e){oe(to),no===e&&(no=null),oe(H)}var H=ae(0);function co(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||of(n)||sf(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder===`forwards`||t.memoizedProps.revealOrder===`backwards`||t.memoizedProps.revealOrder===`unstable_legacy-backwards`||t.memoizedProps.revealOrder===`together`)){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 lo=0,U=null,uo=null,fo=null,po=!1,mo=!1,ho=!1,go=0,_o=0,vo=null,yo=0;function bo(){throw Error(i(321))}function xo(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!br(e[n],t[n]))return!1;return!0}function So(e,t,n,r,i,a){return lo=a,U=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,P.H=e===null||e.memoizedState===null?zs:Bs,ho=!1,a=n(r,i),ho=!1,mo&&(a=wo(t,n,r,i)),Co(e),a}function Co(e){P.H=Rs;var t=uo!==null&&uo.next!==null;if(lo=0,fo=uo=U=null,po=!1,_o=0,vo=null,t)throw Error(i(300));e===null||rc||(e=e.dependencies,e!==null&&Zi(e)&&(rc=!0))}function wo(e,t,n,r){U=e;var a=0;do{if(mo&&(vo=null),_o=0,mo=!1,25<=a)throw Error(i(301));if(a+=1,fo=uo=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}P.H=Vs,o=t(n,r)}while(mo);return o}function To(){var e=P.H,t=e.useState()[0];return t=typeof t.then==`function`?Mo(t):t,e=e.useState()[0],(uo===null?null:uo.memoizedState)!==e&&(U.flags|=1024),t}function Eo(){var e=go!==0;return go=0,e}function Do(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Oo(e){if(po){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}po=!1}lo=0,fo=uo=U=null,mo=!1,_o=go=0,vo=null}function ko(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return fo===null?U.memoizedState=fo=e:fo=fo.next=e,fo}function Ao(){if(uo===null){var e=U.alternate;e=e===null?null:e.memoizedState}else e=uo.next;var t=fo===null?U.memoizedState:fo.next;if(t!==null)fo=t,uo=e;else{if(e===null)throw U.alternate===null?Error(i(467)):Error(i(310));uo=e,e={memoizedState:uo.memoizedState,baseState:uo.baseState,baseQueue:uo.baseQueue,queue:uo.queue,next:null},fo===null?U.memoizedState=fo=e:fo=fo.next=e}return fo}function jo(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Mo(e){var t=_o;return _o+=1,vo===null&&(vo=[]),e=Ta(vo,e,t),t=U,(fo===null?t.memoizedState:fo.next)===null&&(t=t.alternate,P.H=t===null||t.memoizedState===null?zs:Bs),e}function No(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return Mo(e);if(e.$$typeof===C)return $i(e)}throw Error(i(438,String(e)))}function Po(e){var t=null,n=U.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=U.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(t??={data:[],index:0},n===null&&(n=jo(),U.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=A;return t.index++,n}function Fo(e,t){return typeof t==`function`?t(e):t}function Io(e){return Lo(Ao(),uo,e)}function Lo(e,t,n){var r=e.queue;if(r===null)throw Error(i(311));r.lastRenderedReducer=n;var a=e.baseQueue,o=r.pending;if(o!==null){if(a!==null){var s=a.next;a.next=o.next,o.next=s}t.baseQueue=a=o,r.pending=null}if(o=e.baseState,a===null)e.memoizedState=o;else{t=a.next;var c=s=null,l=null,u=t,d=!1;do{var f=u.lane&-536870913;if(f===u.lane?(lo&f)===f:(Rl&f)===f){var p=u.revertLane;if(p===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===ua&&(d=!0);else if((lo&p)===p){u=u.next,p===ua&&(d=!0);continue}else f={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=f,s=o):l=l.next=f,U.lanes|=p,Kl|=p;f=u.action,ho&&n(o,f),o=u.hasEagerState?u.eagerState:n(o,f)}else p={lane:f,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=p,s=o):l=l.next=p,U.lanes|=f,Kl|=f;u=u.next}while(u!==null&&u!==t);if(l===null?s=o:l.next=c,!br(o,e.memoizedState)&&(rc=!0,d&&(n=da,n!==null)))throw n;e.memoizedState=o,e.baseState=s,e.baseQueue=l,r.lastRenderedState=o}return a===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Ro(e){var t=Ao(),n=t.queue;if(n===null)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(a!==null){n.pending=null;var s=a=a.next;do o=e(o,s.action),s=s.next;while(s!==a);br(o,t.memoizedState)||(rc=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function zo(e,t,n){var r=U,a=Ao(),o=V;if(o){if(n===void 0)throw Error(i(407));n=n()}else n=t();var s=!br((uo||a).memoizedState,n);if(s&&(a.memoizedState=n,rc=!0),a=a.queue,us(Ho.bind(null,r,a,e),[e]),a.getSnapshot!==t||s||fo!==null&&fo.memoizedState.tag&1){if(r.flags|=2048,as(9,{destroy:void 0},Vo.bind(null,r,a,n,t),null),Ll===null)throw Error(i(349));o||lo&127||Bo(r,t,n)}return n}function Bo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=U.updateQueue,t===null?(t=jo(),U.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Vo(e,t,n,r){t.value=n,t.getSnapshot=r,Uo(t)&&Wo(e)}function Ho(e,t,n){return n(function(){Uo(t)&&Wo(e)})}function Uo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!br(e,n)}catch{return!0}}function Wo(e){var t=ti(e,2);t!==null&&hu(t,e,2)}function Go(e){var t=ko();if(typeof e==`function`){var n=e;if(e=n(),ho){Fe(!0);try{n()}finally{Fe(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fo,lastRenderedState:e},t}function Ko(e,t,n,r){return e.baseState=n,Lo(e,uo,typeof r==`function`?r:Fo)}function qo(e,t,n,r,a){if(Fs(e))throw Error(i(485));if(e=t.action,e!==null){var o={payload:a,action:e,next:null,isTransition:!0,status:`pending`,value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};P.T===null?o.isTransition=!1:n(!0),r(o),n=t.pending,n===null?(o.next=t.pending=o,Jo(t,o)):(o.next=n.next,t.pending=n.next=o)}}function Jo(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=P.T,o={};P.T=o;try{var s=n(i,r),c=P.S;c!==null&&c(o,s),Yo(e,t,s)}catch(n){Zo(e,t,n)}finally{a!==null&&o.types!==null&&(a.types=o.types),P.T=a}}else try{a=n(i,r),Yo(e,t,a)}catch(n){Zo(e,t,n)}}function Yo(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?n.then(function(n){Xo(e,t,n)},function(n){return Zo(e,t,n)}):Xo(e,t,n)}function Xo(e,t,n){t.status=`fulfilled`,t.value=n,Qo(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Jo(e,n)))}function Zo(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,Qo(t),t=t.next;while(t!==r)}e.action=null}function Qo(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function $o(e,t){return t}function es(e,t){if(V){var n=Ll.formState;if(n!==null){a:{var r=U;if(V){if(Mi){b:{for(var i=Mi,a=Pi;i.nodeType!==8;){if(!a){i=null;break b}if(i=lf(i.nextSibling),i===null){i=null;break b}}a=i.data,i=a===`F!`||a===`F`?i:null}if(i){Mi=lf(i.nextSibling),r=i.data===`F!`;break a}}Ii(r)}r=!1}r&&(t=n[0])}}return n=ko(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:$o,lastRenderedState:t},n.queue=r,n=Ms.bind(null,U,r),r.dispatch=n,r=Go(!1),a=Ps.bind(null,U,!1,r.queue),r=ko(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=qo.bind(null,U,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function ts(e){return ns(Ao(),uo,e)}function ns(e,t,n){if(t=Lo(e,t,$o)[0],e=Io(Fo)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=Mo(t)}catch(e){throw e===ba?Sa:e}else r=t;t=Ao();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(U.flags|=2048,as(9,{destroy:void 0},rs.bind(null,i,n),null)),[r,a,e]}function rs(e,t){e.action=t}function is(e){var t=Ao(),n=uo;if(n!==null)return ns(t,n,e);Ao(),t=t.memoizedState,n=Ao();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function as(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=U.updateQueue,t===null&&(t=jo(),U.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function os(){return Ao().memoizedState}function ss(e,t,n,r){var i=ko();U.flags|=e,i.memoizedState=as(1|t,{destroy:void 0},n,r===void 0?null:r)}function cs(e,t,n,r){var i=Ao();r=r===void 0?null:r;var a=i.memoizedState.inst;uo!==null&&r!==null&&xo(r,uo.memoizedState.deps)?i.memoizedState=as(t,a,n,r):(U.flags|=e,i.memoizedState=as(1|t,a,n,r))}function ls(e,t){ss(8390656,8,e,t)}function us(e,t){cs(2048,8,e,t)}function ds(e){U.flags|=4;var t=U.updateQueue;if(t===null)t=jo(),U.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function fs(e){var t=Ao().memoizedState;return ds({ref:t,nextImpl:e}),function(){if(Il&2)throw Error(i(440));return t.impl.apply(void 0,arguments)}}function ps(e,t){return cs(4,2,e,t)}function ms(e,t){return cs(4,4,e,t)}function hs(e,t){if(typeof t==`function`){e=e();var n=t(e);return function(){typeof n==`function`?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function gs(e,t,n){n=n==null?null:n.concat([e]),cs(4,4,hs.bind(null,t,e),n)}function _s(){}function vs(e,t){var n=Ao();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&xo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ys(e,t){var n=Ao();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&xo(t,r[1]))return r[0];if(r=e(),ho){Fe(!0);try{e()}finally{Fe(!1)}}return n.memoizedState=[r,t],r}function bs(e,t,n){return n===void 0||lo&1073741824&&!(Rl&261930)?e.memoizedState=t:(e.memoizedState=n,e=mu(),U.lanes|=e,Kl|=e,n)}function xs(e,t,n,r){return br(n,t)?n:Xa.current===null?!(lo&42)||lo&1073741824&&!(Rl&261930)?(rc=!0,e.memoizedState=n):(e=mu(),U.lanes|=e,Kl|=e,t):(e=bs(e,n,r),br(e,t)||(rc=!0),e)}function Ss(e,t,n,r,i){var a=F.p;F.p=a!==0&&8>a?a:8;var o=P.T,s={};P.T=s,Ps(e,!1,t,n);try{var c=i(),l=P.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?Ns(e,t,ma(c,r),pu(e)):Ns(e,t,r,pu(e))}catch(n){Ns(e,t,{then:function(){},status:`rejected`,reason:n},pu())}finally{F.p=a,o!==null&&s.types!==null&&(o.types=s.types),P.T=o}}function Cs(){}function ws(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=Ts(e).queue;Ss(e,a,t,ne,n===null?Cs:function(){return Es(e),n(r)})}function Ts(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ne,baseState:ne,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fo,lastRenderedState:ne},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fo,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Es(e){var t=Ts(e);t.next===null&&(t=e.alternate.memoizedState),Ns(e,t.next.queue,{},pu())}function Ds(){return $i($f)}function Os(){return Ao().memoizedState}function ks(){return Ao().memoizedState}function As(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=pu();e=Va(n);var r=Ha(t,e,n);r!==null&&(hu(r,t,n),Ua(r,t,n)),t={cache:oa()},e.payload=t;return}t=t.return}}function js(e,t,n){var r=pu();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Fs(e)?Is(t,n):(n=ei(e,t,n,r),n!==null&&(hu(n,e,r),Ls(n,t,r)))}function Ms(e,t,n){Ns(e,t,n,pu())}function Ns(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Fs(e))Is(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,br(s,o))return $r(e,t,i,0),Ll===null&&Qr(),!1}catch{}if(n=ei(e,t,i,r),n!==null)return hu(n,e,r),Ls(n,t,r),!0}return!1}function Ps(e,t,n,r){if(r={lane:2,revertLane:dd(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Fs(e)){if(t)throw Error(i(479))}else t=ei(e,n,r,2),t!==null&&hu(t,e,2)}function Fs(e){var t=e.alternate;return e===U||t!==null&&t===U}function Is(e,t){mo=po=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ls(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Qe(e,n)}}var Rs={readContext:$i,use:No,useCallback:bo,useContext:bo,useEffect:bo,useImperativeHandle:bo,useLayoutEffect:bo,useInsertionEffect:bo,useMemo:bo,useReducer:bo,useRef:bo,useState:bo,useDebugValue:bo,useDeferredValue:bo,useTransition:bo,useSyncExternalStore:bo,useId:bo,useHostTransitionStatus:bo,useFormState:bo,useActionState:bo,useOptimistic:bo,useMemoCache:bo,useCacheRefresh:bo};Rs.useEffectEvent=bo;var zs={readContext:$i,use:No,useCallback:function(e,t){return ko().memoizedState=[e,t===void 0?null:t],e},useContext:$i,useEffect:ls,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),ss(4194308,4,hs.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ss(4194308,4,e,t)},useInsertionEffect:function(e,t){ss(4,2,e,t)},useMemo:function(e,t){var n=ko();t=t===void 0?null:t;var r=e();if(ho){Fe(!0);try{e()}finally{Fe(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=ko();if(n!==void 0){var i=n(t);if(ho){Fe(!0);try{n(t)}finally{Fe(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=js.bind(null,U,e),[r.memoizedState,e]},useRef:function(e){var t=ko();return e={current:e},t.memoizedState=e},useState:function(e){e=Go(e);var t=e.queue,n=Ms.bind(null,U,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:_s,useDeferredValue:function(e,t){return bs(ko(),e,t)},useTransition:function(){var e=Go(!1);return e=Ss.bind(null,U,e.queue,!0,!1),ko().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=U,a=ko();if(V){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),Ll===null)throw Error(i(349));Rl&127||Bo(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,ls(Ho.bind(null,r,o,e),[e]),r.flags|=2048,as(9,{destroy:void 0},Vo.bind(null,r,o,n,t),null),n},useId:function(){var e=ko(),t=Ll.identifierPrefix;if(V){var n=Ti,r=wi;n=(r&~(1<<32-Ie(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=go++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=yo++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t},useHostTransitionStatus:Ds,useFormState:es,useActionState:es,useOptimistic:function(e){var t=ko();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Ps.bind(null,U,!0,n),n.dispatch=t,[e,t]},useMemoCache:Po,useCacheRefresh:function(){return ko().memoizedState=As.bind(null,U)},useEffectEvent:function(e){var t=ko(),n={impl:e};return t.memoizedState=n,function(){if(Il&2)throw Error(i(440));return n.impl.apply(void 0,arguments)}}},Bs={readContext:$i,use:No,useCallback:vs,useContext:$i,useEffect:us,useImperativeHandle:gs,useInsertionEffect:ps,useLayoutEffect:ms,useMemo:ys,useReducer:Io,useRef:os,useState:function(){return Io(Fo)},useDebugValue:_s,useDeferredValue:function(e,t){return xs(Ao(),uo.memoizedState,e,t)},useTransition:function(){var e=Io(Fo)[0],t=Ao().memoizedState;return[typeof e==`boolean`?e:Mo(e),t]},useSyncExternalStore:zo,useId:Os,useHostTransitionStatus:Ds,useFormState:ts,useActionState:ts,useOptimistic:function(e,t){return Ko(Ao(),uo,e,t)},useMemoCache:Po,useCacheRefresh:ks};Bs.useEffectEvent=fs;var Vs={readContext:$i,use:No,useCallback:vs,useContext:$i,useEffect:us,useImperativeHandle:gs,useInsertionEffect:ps,useLayoutEffect:ms,useMemo:ys,useReducer:Ro,useRef:os,useState:function(){return Ro(Fo)},useDebugValue:_s,useDeferredValue:function(e,t){var n=Ao();return uo===null?bs(n,e,t):xs(n,uo.memoizedState,e,t)},useTransition:function(){var e=Ro(Fo)[0],t=Ao().memoizedState;return[typeof e==`boolean`?e:Mo(e),t]},useSyncExternalStore:zo,useId:Os,useHostTransitionStatus:Ds,useFormState:is,useActionState:is,useOptimistic:function(e,t){var n=Ao();return uo===null?(n.baseState=e,[e,n.queue.dispatch]):Ko(n,uo,e,t)},useMemoCache:Po,useCacheRefresh:ks};Vs.useEffectEvent=fs;function Hs(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:f({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Us={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=pu(),i=Va(r);i.payload=t,n!=null&&(i.callback=n),t=Ha(e,i,r),t!==null&&(hu(t,e,r),Ua(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=pu(),i=Va(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Ha(e,i,r),t!==null&&(hu(t,e,r),Ua(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=pu(),r=Va(n);r.tag=2,t!=null&&(r.callback=t),t=Ha(e,r,n),t!==null&&(hu(t,e,n),Ua(t,e,n))}};function Ws(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate==`function`?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!xr(n,r)||!xr(i,a):!0}function Gs(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&&Us.enqueueReplaceState(t,t.state,null)}function Ks(e,t){var n=t;if(`ref`in t)for(var r in n={},t)r!==`ref`&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=f({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}function qs(e){Jr(e)}function Js(e){console.error(e)}function Ys(e){Jr(e)}function Xs(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function Zs(e,t,n){try{var r=e.onCaughtError;r(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function Qs(e,t,n){return n=Va(n),n.tag=3,n.payload={element:null},n.callback=function(){Xs(e,t)},n}function $s(e){return e=Va(e),e.tag=3,e}function ec(e,t,n,r){var i=n.type.getDerivedStateFromError;if(typeof i==`function`){var a=r.value;e.payload=function(){return i(a)},e.callback=function(){Zs(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){Zs(t,n,r),typeof i!=`function`&&(iu===null?iu=new Set([this]):iu.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:e===null?``:e})})}function tc(e,t,n,r,a){if(n.flags|=32768,typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&Xi(t,n,a,!0),n=to.current,n!==null){switch(n.tag){case 31:case 13:return no===null?Du():n.alternate===null&&Gl===0&&(Gl=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===Ca?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),Gu(e,r,a)),!1;case 22:return n.flags|=65536,r===Ca?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([r]):n.add(r)),Gu(e,r,a)),!1}throw Error(i(435,n.tag))}return Gu(e,r,a),Du(),!1}if(V)return t=to.current,t===null?(r!==Fi&&(t=Error(i(423),{cause:r}),Hi(gi(t,n))),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,r=gi(r,n),a=Qs(e.stateNode,r,a),Wa(e,a),Gl!==4&&(Gl=2)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==Fi&&(e=Error(i(422),{cause:r}),Hi(gi(e,n)))),!1;var o=Error(i(520),{cause:r});if(o=gi(o,n),Zl===null?Zl=[o]:Zl.push(o),Gl!==4&&(Gl=2),t===null)return!0;r=gi(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,e=Qs(n.stateNode,r,e),Wa(n,e),!1;case 1:if(t=n.type,o=n.stateNode,!(n.flags&128)&&(typeof t.getDerivedStateFromError==`function`||o!==null&&typeof o.componentDidCatch==`function`&&(iu===null||!iu.has(o))))return n.flags|=65536,a&=-a,n.lanes|=a,a=$s(a),ec(a,e,n,r),Wa(n,a),!1}n=n.return}while(n!==null);return!1}var nc=Error(i(461)),rc=!1;function W(e,t,n,r){t.child=e===null?La(t,null,n,r):Ia(t,e.child,n,r)}function ic(e,t,n,r,i){n=n.render;var a=t.ref;if(`ref`in r){var o={};for(var s in r)s!==`ref`&&(o[s]=r[s])}else o=r;return Qi(t),r=So(e,t,n,o,a,i),s=Eo(),e!==null&&!rc?(Do(e,t,i),Dc(e,t,i)):(V&&s&&Oi(t),t.flags|=1,W(e,t,r,i),t.child)}function ac(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!si(a)&&a.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=a,oc(e,t,a,r,i)):(e=ui(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!Oc(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?xr:n,n(o,r)&&e.ref===t.ref)return Dc(e,t,i)}return t.flags|=1,e=ci(a,r),e.ref=t.ref,e.return=t,t.child=e}function oc(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(xr(a,r)&&e.ref===t.ref)if(rc=!1,t.pendingProps=r=a,Oc(e,i))e.flags&131072&&(rc=!0);else return t.lanes=e.lanes,Dc(e,t,i)}return mc(e,t,n,r,i)}function sc(e,t,n,r){var i=r.children,a=e===null?null:e.memoizedState;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode===`hidden`){if(t.flags&128){if(a=a===null?n:a.baseLanes|n,e!==null){for(r=t.child=e.child,i=0;r!==null;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~a}else r=0,t.child=null;return lc(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&va(t,a===null?null:a.cachePool),a===null?$a():Qa(t,a),ao(t);else return r=t.lanes=536870912,lc(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&va(t,null),$a(),oo(t)):(va(t,a.cachePool),Qa(t,a),oo(t),t.memoizedState=null);return W(e,t,i,n),t.child}function cc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function lc(e,t,n,r,i){var a=_a();return a=a===null?null:{parent:aa._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&va(t,null),$a(),ao(t),e!==null&&Xi(e,t,r,!0),t.childLanes=i,null}function uc(e,t){return t=Sc({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function dc(e,t,n){return Ia(t,e.child,null,n),e=uc(t,t.pendingProps),e.flags|=2,so(t),t.memoizedState=null,e}function fc(e,t,n){var r=t.pendingProps,a=(t.flags&128)!=0;if(t.flags&=-129,e===null){if(V){if(r.mode===`hidden`)return e=uc(t,r),t.lanes=536870912,cc(null,e);if(io(t),(e=Mi)?(e=af(e,Pi),e=e!==null&&e.data===`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ci===null?null:{id:wi,overflow:Ti},retryLane:536870912,hydrationErrors:null},n=pi(e),n.return=t,t.child=n,ji=t,Mi=null)):e=null,e===null)throw Ii(t);return t.lanes=536870912,null}return uc(t,r)}var o=e.memoizedState;if(o!==null){var s=o.dehydrated;if(io(t),a)if(t.flags&256)t.flags&=-257,t=dc(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(i(558));else if(rc||Xi(e,t,n,!1),a=(n&e.childLanes)!==0,rc||a){if(r=Ll,r!==null&&(s=$e(r,n),s!==0&&s!==o.retryLane))throw o.retryLane=s,ti(e,s),hu(r,e,s),nc;Du(),t=dc(e,t,n)}else e=o.treeContext,Mi=lf(s.nextSibling),ji=t,V=!0,Ni=null,Pi=!1,e!==null&&Ai(t,e),t=uc(t,r),t.flags|=4096;return t}return e=ci(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function pc(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!=`function`&&typeof n!=`object`)throw Error(i(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function mc(e,t,n,r,i){return Qi(t),n=So(e,t,n,r,void 0,i),r=Eo(),e!==null&&!rc?(Do(e,t,i),Dc(e,t,i)):(V&&r&&Oi(t),t.flags|=1,W(e,t,n,i),t.child)}function hc(e,t,n,r,i,a){return Qi(t),t.updateQueue=null,n=wo(t,r,n,i),Co(e),r=Eo(),e!==null&&!rc?(Do(e,t,a),Dc(e,t,a)):(V&&r&&Oi(t),t.flags|=1,W(e,t,n,a),t.child)}function gc(e,t,n,r,i){if(Qi(t),t.stateNode===null){var a=ii,o=n.contextType;typeof o==`object`&&o&&(a=$i(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=Us,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},za(t),o=n.contextType,a.context=typeof o==`object`&&o?$i(o):ii,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(Hs(t,n,o,r),a.state=t.memoizedState),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(o=a.state,typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount(),o!==a.state&&Us.enqueueReplaceState(a,a.state,null),qa(t,r,a,i),Ka(),a.state=t.memoizedState),typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!0}else if(e===null){a=t.stateNode;var s=t.memoizedProps,c=Ks(n,s);a.props=c;var l=a.context,u=n.contextType;o=ii,typeof u==`object`&&u&&(o=$i(u));var d=n.getDerivedStateFromProps;u=typeof d==`function`||typeof a.getSnapshotBeforeUpdate==`function`,s=t.pendingProps!==s,u||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(s||l!==o)&&Gs(t,a,r,o),Ra=!1;var f=t.memoizedState;a.state=f,qa(t,r,a,i),Ka(),l=t.memoizedState,s||f!==l||Ra?(typeof d==`function`&&(Hs(t,n,d,r),l=t.memoizedState),(c=Ra||Ws(t,n,c,r,f,l,o))?(u||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=l),a.props=r,a.state=l,a.context=o,r=c):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Ba(e,t),o=t.memoizedProps,u=Ks(n,o),a.props=u,d=t.pendingProps,f=a.context,l=n.contextType,c=ii,typeof l==`object`&&l&&(c=$i(l)),s=n.getDerivedStateFromProps,(l=typeof s==`function`||typeof a.getSnapshotBeforeUpdate==`function`)||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(o!==d||f!==c)&&Gs(t,a,r,c),Ra=!1,f=t.memoizedState,a.state=f,qa(t,r,a,i),Ka();var p=t.memoizedState;o!==d||f!==p||Ra||e!==null&&e.dependencies!==null&&Zi(e.dependencies)?(typeof s==`function`&&(Hs(t,n,s,r),p=t.memoizedState),(u=Ra||Ws(t,n,u,r,f,p,c)||e!==null&&e.dependencies!==null&&Zi(e.dependencies))?(l||typeof a.UNSAFE_componentWillUpdate!=`function`&&typeof a.componentWillUpdate!=`function`||(typeof a.componentWillUpdate==`function`&&a.componentWillUpdate(r,p,c),typeof a.UNSAFE_componentWillUpdate==`function`&&a.UNSAFE_componentWillUpdate(r,p,c)),typeof a.componentDidUpdate==`function`&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=c,r=u):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,pc(e,t),r=(t.flags&128)!=0,a||r?(a=t.stateNode,n=r&&typeof n.getDerivedStateFromError!=`function`?null:a.render(),t.flags|=1,e!==null&&r?(t.child=Ia(t,e.child,null,i),t.child=Ia(t,null,n,i)):W(e,t,n,i),t.memoizedState=a.state,e=t.child):e=Dc(e,t,i),e}function _c(e,t,n,r){return Bi(),t.flags|=256,W(e,t,n,r),t.child}var vc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function yc(e){return{baseLanes:e,cachePool:ya()}}function bc(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=Yl),e}function xc(e,t,n){var r=t.pendingProps,a=!1,o=(t.flags&128)!=0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(H.current&2)!=0),s&&(a=!0,t.flags&=-129),s=(t.flags&32)!=0,t.flags&=-33,e===null){if(V){if(a?ro(t):oo(t),(e=Mi)?(e=af(e,Pi),e=e!==null&&e.data!==`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ci===null?null:{id:wi,overflow:Ti},retryLane:536870912,hydrationErrors:null},n=pi(e),n.return=t,t.child=n,ji=t,Mi=null)):e=null,e===null)throw Ii(t);return sf(e)?t.lanes=32:t.lanes=536870912,null}var c=r.children;return r=r.fallback,a?(oo(t),a=t.mode,c=Sc({mode:`hidden`,children:c},a),r=di(r,a,n,null),c.return=t,r.return=t,c.sibling=r,t.child=c,r=t.child,r.memoizedState=yc(n),r.childLanes=bc(e,s,n),t.memoizedState=vc,cc(null,r)):(ro(t),G(t,c))}var l=e.memoizedState;if(l!==null&&(c=l.dehydrated,c!==null)){if(o)t.flags&256?(ro(t),t.flags&=-257,t=Cc(e,t,n)):t.memoizedState===null?(oo(t),c=r.fallback,a=t.mode,r=Sc({mode:`visible`,children:r.children},a),c=di(c,a,n,null),c.flags|=2,r.return=t,c.return=t,r.sibling=c,t.child=r,Ia(t,e.child,null,n),r=t.child,r.memoizedState=yc(n),r.childLanes=bc(e,s,n),t.memoizedState=vc,t=cc(null,r)):(oo(t),t.child=e.child,t.flags|=128,t=null);else if(ro(t),sf(c)){if(s=c.nextSibling&&c.nextSibling.dataset,s)var u=s.dgst;s=u,r=Error(i(419)),r.stack=``,r.digest=s,Hi({value:r,source:null,stack:null}),t=Cc(e,t,n)}else if(rc||Xi(e,t,n,!1),s=(n&e.childLanes)!==0,rc||s){if(s=Ll,s!==null&&(r=$e(s,n),r!==0&&r!==l.retryLane))throw l.retryLane=r,ti(e,r),hu(s,e,r),nc;of(c)||Du(),t=Cc(e,t,n)}else of(c)?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,Mi=lf(c.nextSibling),ji=t,V=!0,Ni=null,Pi=!1,e!==null&&Ai(t,e),t=G(t,r.children),t.flags|=4096);return t}return a?(oo(t),c=r.fallback,a=t.mode,l=e.child,u=l.sibling,r=ci(l,{mode:`hidden`,children:r.children}),r.subtreeFlags=l.subtreeFlags&65011712,u===null?(c=di(c,a,n,null),c.flags|=2):c=ci(u,c),c.return=t,r.return=t,r.sibling=c,t.child=r,cc(null,r),r=t.child,c=e.child.memoizedState,c===null?c=yc(n):(a=c.cachePool,a===null?a=ya():(l=aa._currentValue,a=a.parent===l?a:{parent:l,pool:l}),c={baseLanes:c.baseLanes|n,cachePool:a}),r.memoizedState=c,r.childLanes=bc(e,s,n),t.memoizedState=vc,cc(e.child,r)):(ro(t),n=e.child,e=n.sibling,n=ci(n,{mode:`visible`,children:r.children}),n.return=t,n.sibling=null,e!==null&&(s=t.deletions,s===null?(t.deletions=[e],t.flags|=16):s.push(e)),t.child=n,t.memoizedState=null,n)}function G(e,t){return t=Sc({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function Sc(e,t){return e=oi(22,e,null,t),e.lanes=0,e}function Cc(e,t,n){return Ia(t,e.child,null,n),e=G(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function wc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Ji(e.return,t,n)}function Tc(e,t,n,r,i,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i,o.treeForkCount=a)}function Ec(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;r=r.children;var o=H.current,s=(o&2)!=0;if(s?(o=o&1|2,t.flags|=128):o&=1,I(H,o),W(e,t,r,n),r=V?bi:0,!s&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&wc(e,n,t);else if(e.tag===19)wc(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case`forwards`:for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&co(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Tc(t,!1,i,n,a,r);break;case`backwards`:case`unstable_legacy-backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&co(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Tc(t,!0,n,null,a,r);break;case`together`:Tc(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function Dc(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Kl|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(Xi(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(i(153));if(t.child!==null){for(e=t.child,n=ci(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=ci(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Oc(e,t){return(e.lanes&t)===0?(e=e.dependencies,!!(e!==null&&Zi(e))):!0}function kc(e,t,n){switch(t.tag){case 3:de(t,t.stateNode.containerInfo),Ki(t,aa,e.memoizedState.cache),Bi();break;case 27:case 5:L(t);break;case 4:de(t,t.stateNode.containerInfo);break;case 10:Ki(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,io(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(ro(t),e=Dc(e,t,n),e===null?null:e.sibling):xc(e,t,n):(ro(t),t.flags|=128,null);ro(t);break;case 19:var i=(e.flags&128)!=0;if(r=(n&t.childLanes)!==0,r||=(Xi(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return Ec(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),I(H,H.current),r)break;return null;case 22:return t.lanes=0,sc(e,t,n,t.pendingProps);case 24:Ki(t,aa,e.memoizedState.cache)}return Dc(e,t,n)}function Ac(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)rc=!0;else{if(!Oc(e,n)&&!(t.flags&128))return rc=!1,kc(e,t,n);rc=!!(e.flags&131072)}else rc=!1,V&&t.flags&1048576&&Di(t,bi,t.index);switch(t.lanes=0,t.tag){case 16:a:{var r=t.pendingProps;if(e=Ea(t.elementType),t.type=e,typeof e==`function`)si(e)?(r=Ks(e,r),t.tag=1,t=gc(null,t,e,r,n)):(t.tag=0,t=mc(null,t,e,r,n));else{if(e!=null){var a=e.$$typeof;if(a===w){t.tag=11,t=ic(null,t,e,r,n);break a}else if(a===D){t.tag=14,t=ac(null,t,e,r,n);break a}}throw t=N(e)||e,Error(i(306,t,``))}}return t;case 0:return mc(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,a=Ks(r,t.pendingProps),gc(e,t,r,a,n);case 3:a:{if(de(t,t.stateNode.containerInfo),e===null)throw Error(i(387));r=t.pendingProps;var o=t.memoizedState;a=o.element,Ba(e,t),qa(t,r,null,n);var s=t.memoizedState;if(r=s.cache,Ki(t,aa,r),r!==o.cache&&Yi(t,[aa],n,!0),Ka(),r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){t=_c(e,t,r,n);break a}else if(r!==a){a=gi(Error(i(424)),t),Hi(a),t=_c(e,t,r,n);break a}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName===`HTML`?e.ownerDocument.body:e}for(Mi=lf(e.firstChild),ji=t,V=!0,Ni=null,Pi=!0,n=La(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Bi(),r===a){t=Dc(e,t,n);break a}W(e,t,r,n)}t=t.child}return t;case 26:return pc(e,t),e===null?(n=Af(t.type,null,t.pendingProps,null))?t.memoizedState=n:V||(n=t.type,e=t.pendingProps,r=Vd(le.current).createElement(n),r[at]=t,r[ot]=e,Fd(r,n,e),vt(r),t.stateNode=r):t.memoizedState=Af(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return L(t),e===null&&V&&(r=t.stateNode=pf(t.type,t.pendingProps,le.current),ji=t,Pi=!0,a=Mi,Qd(t.type)?(uf=a,Mi=lf(r.firstChild)):Mi=a),W(e,t,t.pendingProps.children,n),pc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&V&&((a=r=Mi)&&(r=nf(r,t.type,t.pendingProps,Pi),r===null?a=!1:(t.stateNode=r,ji=t,Mi=lf(r.firstChild),Pi=!1,a=!0)),a||Ii(t)),L(t),a=t.type,o=t.pendingProps,s=e===null?null:e.memoizedProps,r=o.children,Wd(a,o)?r=null:s!==null&&Wd(a,s)&&(t.flags|=32),t.memoizedState!==null&&(a=So(e,t,To,null,null,n),$f._currentValue=a),pc(e,t),W(e,t,r,n),t.child;case 6:return e===null&&V&&((e=n=Mi)&&(n=rf(n,t.pendingProps,Pi),n===null?e=!1:(t.stateNode=n,ji=t,Mi=null,e=!0)),e||Ii(t)),null;case 13:return xc(e,t,n);case 4:return de(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ia(t,null,r,n):W(e,t,r,n),t.child;case 11:return ic(e,t,t.type,t.pendingProps,n);case 7:return W(e,t,t.pendingProps,n),t.child;case 8:return W(e,t,t.pendingProps.children,n),t.child;case 12:return W(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,Ki(t,t.type,r.value),W(e,t,r.children,n),t.child;case 9:return a=t.type._context,r=t.pendingProps.children,Qi(t),a=$i(a),r=r(a),t.flags|=1,W(e,t,r,n),t.child;case 14:return ac(e,t,t.type,t.pendingProps,n);case 15:return oc(e,t,t.type,t.pendingProps,n);case 19:return Ec(e,t,n);case 31:return fc(e,t,n);case 22:return sc(e,t,n,t.pendingProps);case 24:return Qi(t),r=$i(aa),e===null?(a=_a(),a===null&&(a=Ll,o=oa(),a.pooledCache=o,o.refCount++,o!==null&&(a.pooledCacheLanes|=n),a=o),t.memoizedState={parent:r,cache:a},za(t),Ki(t,aa,a)):((e.lanes&n)!==0&&(Ba(e,t),qa(t,null,null,n),Ka()),a=e.memoizedState,o=t.memoizedState,a.parent===r?(r=o.cache,Ki(t,aa,r),r!==a.cache&&Yi(t,[aa],n,!0)):(a={parent:r,cache:r},t.memoizedState=a,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=a),Ki(t,aa,r))),W(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function jc(e){e.flags|=4}function Mc(e,t,n,r,i){if((t=(e.mode&32)!=0)&&(t=!1),t){if(e.flags|=16777216,(i&335544128)===i)if(e.stateNode.complete)e.flags|=8192;else if(wu())e.flags|=8192;else throw Da=Ca,xa}else e.flags&=-16777217}function Nc(e,t){if(t.type!==`stylesheet`||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!Gf(t))if(wu())e.flags|=8192;else throw Da=Ca,xa}function Pc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:qe(),e.lanes|=t,Xl|=t)}function Fc(e,t){if(!V)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 K(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&65011712,r|=i.flags&65011712,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Ic(e,t,n){var r=t.pendingProps;switch(ki(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return K(t),null;case 1:return K(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),qi(aa),fe(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(zi(t)?jc(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Vi())),K(t),null;case 26:var a=t.type,o=t.memoizedState;return e===null?(jc(t),o===null?(K(t),Mc(t,a,null,r,n)):(K(t),Nc(t,o))):o?o===e.memoizedState?(K(t),t.flags&=-16777217):(jc(t),K(t),Nc(t,o)):(e=e.memoizedProps,e!==r&&jc(t),K(t),Mc(t,a,e,r,n)),null;case 27:if(pe(t),n=le.current,a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&jc(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return K(t),null}e=se.current,zi(t)?Li(t,e):(e=pf(a,r,n),t.stateNode=e,jc(t))}return K(t),null;case 5:if(pe(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&jc(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return K(t),null}if(o=se.current,zi(t))Li(t,o);else{var s=Vd(le.current);switch(o){case 1:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case 2:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;default:switch(a){case`svg`:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case`math`:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;case`script`:o=s.createElement(`div`),o.innerHTML=`<script><\/script>`,o=o.removeChild(o.firstChild);break;case`select`:o=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o=typeof r.is==`string`?s.createElement(a,{is:r.is}):s.createElement(a)}}o[at]=t,o[ot]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)o.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break a;for(;s.sibling===null;){if(s.return===null||s.return===t)break a;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;a:switch(Fd(o,a,r),a){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&jc(t)}}return K(t),Mc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&jc(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=le.current,zi(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=ji,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[at]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||Md(e.nodeValue,n)),e||Ii(t,!0)}else e=Vd(e).createTextNode(r),e[at]=t,t.stateNode=e}return K(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=zi(t),n!==null){if(e===null){if(!r)throw Error(i(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(557));e[at]=t}else Bi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;K(t),e=!1}else n=Vi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(so(t),t):(so(t),null);if(t.flags&128)throw Error(i(558))}return K(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=zi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(i(318));if(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(i(317));a[at]=t}else Bi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;K(t),a=!1}else a=Vi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(so(t),t):(so(t),null)}return so(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,a=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(a=r.alternate.memoizedState.cachePool.pool),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Pc(t,t.updateQueue),K(t),null);case 4:return fe(),e===null&&Sd(t.stateNode.containerInfo),K(t),null;case 10:return qi(t.type),K(t),null;case 19:if(oe(H),r=t.memoizedState,r===null)return K(t),null;if(a=(t.flags&128)!=0,o=r.rendering,o===null)if(a)Fc(r,!1);else{if(Gl!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=co(e),o!==null){for(t.flags|=128,Fc(r,!1),e=o.updateQueue,t.updateQueue=e,Pc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)li(n,e),n=n.sibling;return I(H,H.current&1|2),V&&Ei(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&Te()>nu&&(t.flags|=128,a=!0,Fc(r,!1),t.lanes=4194304)}else{if(!a)if(e=co(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,Pc(t,e),Fc(r,!0),r.tail===null&&r.tailMode===`hidden`&&!o.alternate&&!V)return K(t),null}else 2*Te()-r.renderingStartTime>nu&&n!==536870912&&(t.flags|=128,a=!0,Fc(r,!1),t.lanes=4194304);r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e===null?t.child=o:e.sibling=o,r.last=o)}return r.tail===null?(K(t),null):(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Te(),e.sibling=null,n=H.current,I(H,a?n&1|2:n&1),V&&Ei(t,r.treeForkCount),e);case 22:case 23:return so(t),eo(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(K(t),t.subtreeFlags&6&&(t.flags|=8192)):K(t),n=t.updateQueue,n!==null&&Pc(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&oe(ga),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),qi(aa),K(t),null;case 25:return null;case 30:return null}throw Error(i(156,t.tag))}function Lc(e,t){switch(ki(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return qi(aa),fe(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return pe(t),null;case 31:if(t.memoizedState!==null){if(so(t),t.alternate===null)throw Error(i(340));Bi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(so(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));Bi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return oe(H),null;case 4:return fe(),null;case 10:return qi(t.type),null;case 22:case 23:return so(t),eo(),e!==null&&oe(ga),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return qi(aa),null;case 25:return null;default:return null}}function Rc(e,t){switch(ki(t),t.tag){case 3:qi(aa),fe();break;case 26:case 27:case 5:pe(t);break;case 4:fe();break;case 31:t.memoizedState!==null&&so(t);break;case 13:so(t);break;case 19:oe(H);break;case 10:qi(t.type);break;case 22:case 23:so(t),eo(),e!==null&&oe(ga);break;case 24:qi(aa)}}function zc(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){Wu(t,t.return,e)}}function Bc(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){Wu(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){Wu(t,t.return,e)}}function Vc(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Ya(t,n)}catch(t){Wu(e,e.return,t)}}}function Hc(e,t,n){n.props=Ks(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){Wu(e,t,n)}}function Uc(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){Wu(e,t,n)}}function q(e,t){var n=e.ref,r=e.refCleanup;if(n!==null)if(typeof r==`function`)try{r()}catch(n){Wu(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){Wu(e,t,n)}else n.current=null}function Wc(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{a:switch(t){case`button`:case`input`:case`select`:case`textarea`:n.autoFocus&&r.focus();break a;case`img`:n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){Wu(e,e.return,t)}}function J(e,t,n){try{var r=e.stateNode;Id(r,e.type,n,t),r[ot]=t}catch(t){Wu(e,e.return,t)}}function Gc(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Qd(e.type)||e.tag===4}function Kc(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Gc(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.tag===27&&Qd(e.type)||e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function qc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Qt));else if(r!==4&&(r===27&&Qd(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(qc(e,t,n),e=e.sibling;e!==null;)qc(e,t,n),e=e.sibling}function Jc(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&&(r===27&&Qd(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(Jc(e,t,n),e=e.sibling;e!==null;)Jc(e,t,n),e=e.sibling}function Yc(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);Fd(t,r,n),t[at]=e,t[ot]=n}catch(t){Wu(e,e.return,t)}}var Xc=!1,Zc=!1,Qc=!1,$c=typeof WeakSet==`function`?WeakSet:Set,el=null;function tl(e,t){if(e=e.containerInfo,zd=sp,e=Tr(e),Er(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var a=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==n||a!==0&&f.nodeType!==3||(c=s+a),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===n&&++u===a&&(c=s),p===o&&++d===r&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n||={start:0,end:0}}else n=null;for(Bd={focusedElem:e,selectionRange:n},sp=!1,el=t;el!==null;)if(t=el,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,el=e;else for(;el!==null;){switch(t=el,o=t.alternate,e=t.flags,t.tag){case 0:if(e&4&&(e=t.updateQueue,e=e===null?null:e.events,e!==null))for(n=0;n<e.length;n++)a=e[n],a.ref.impl=a.nextImpl;break;case 11:case 15:break;case 1:if(e&1024&&o!==null){e=void 0,n=t,a=o.memoizedProps,o=o.memoizedState,r=n.stateNode;try{var h=Ks(n.type,a);e=r.getSnapshotBeforeUpdate(h,o),r.__reactInternalSnapshotBeforeUpdate=e}catch(e){Wu(n,n.return,e)}}break;case 3:if(e&1024){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)tf(e);else if(n===1)switch(e.nodeName){case`HEAD`:case`HTML`:case`BODY`:tf(e);break;default:e.textContent=``}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(e&1024)throw Error(i(163))}if(e=t.sibling,e!==null){e.return=t.return,el=e;break}el=t.return}}function nl(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:_l(e,n),r&4&&zc(5,n);break;case 1:if(_l(e,n),r&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(e){Wu(n,n.return,e)}else{var i=Ks(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){Wu(n,n.return,e)}}r&64&&Vc(n),r&512&&Uc(n,n.return);break;case 3:if(_l(e,n),r&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{Ya(e,t)}catch(e){Wu(n,n.return,e)}}break;case 27:t===null&&r&4&&Yc(n);case 26:case 5:_l(e,n),t===null&&r&4&&Wc(n),r&512&&Uc(n,n.return);break;case 12:_l(e,n);break;case 31:_l(e,n),r&4&&cl(e,n);break;case 13:_l(e,n),r&4&&ll(e,n),r&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=Ju.bind(null,n),cf(e,n))));break;case 22:if(r=n.memoizedState!==null||Xc,!r){t=t!==null&&t.memoizedState!==null||Zc,i=Xc;var a=Zc;Xc=r,(Zc=t)&&!a?yl(e,n,(n.subtreeFlags&8772)!=0):_l(e,n),Xc=i,Zc=a}break;case 30:break;default:_l(e,n)}}function rl(e){var t=e.alternate;t!==null&&(e.alternate=null,rl(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&pt(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var il=null,al=!1;function ol(e,t,n){for(n=n.child;n!==null;)sl(e,t,n),n=n.sibling}function sl(e,t,n){if(Pe&&typeof Pe.onCommitFiberUnmount==`function`)try{Pe.onCommitFiberUnmount(z,n)}catch{}switch(n.tag){case 26:Zc||q(n,t),ol(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:Zc||q(n,t);var r=il,i=al;Qd(n.type)&&(il=n.stateNode,al=!1),ol(e,t,n),mf(n.stateNode),il=r,al=i;break;case 5:Zc||q(n,t);case 6:if(r=il,i=al,il=null,ol(e,t,n),il=r,al=i,il!==null)if(al)try{(il.nodeType===9?il.body:il.nodeName===`HTML`?il.ownerDocument.body:il).removeChild(n.stateNode)}catch(e){Wu(n,t,e)}else try{il.removeChild(n.stateNode)}catch(e){Wu(n,t,e)}break;case 18:il!==null&&(al?(e=il,$d(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),Np(e)):$d(il,n.stateNode));break;case 4:r=il,i=al,il=n.stateNode.containerInfo,al=!0,ol(e,t,n),il=r,al=i;break;case 0:case 11:case 14:case 15:Bc(2,n,t),Zc||Bc(4,n,t),ol(e,t,n);break;case 1:Zc||(q(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`&&Hc(n,t,r)),ol(e,t,n);break;case 21:ol(e,t,n);break;case 22:Zc=(r=Zc)||n.memoizedState!==null,ol(e,t,n),Zc=r;break;default:ol(e,t,n)}}function cl(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Np(e)}catch(e){Wu(t,t.return,e)}}}function ll(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Np(e)}catch(e){Wu(t,t.return,e)}}function ul(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new $c),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new $c),t;default:throw Error(i(435,e.tag))}}function dl(e,t){var n=ul(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=Yu.bind(null,e,t);t.then(r,r)}})}function fl(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var a=n[r],o=e,s=t,c=s;a:for(;c!==null;){switch(c.tag){case 27:if(Qd(c.type)){il=c.stateNode,al=!1;break a}break;case 5:il=c.stateNode,al=!1;break a;case 3:case 4:il=c.stateNode.containerInfo,al=!0;break a}c=c.return}if(il===null)throw Error(i(160));sl(o,s,a),il=null,al=!1,o=a.alternate,o!==null&&(o.return=null),a.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)ml(t,e),t=t.sibling}var pl=null;function ml(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:fl(t,e),hl(e),r&4&&(Bc(3,e,e.return),zc(3,e),Bc(5,e,e.return));break;case 1:fl(t,e),hl(e),r&512&&(Zc||n===null||q(n,n.return)),r&64&&Xc&&(e=e.updateQueue,e!==null&&(r=e.callbacks,r!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?r:n.concat(r))));break;case 26:var a=pl;if(fl(t,e),hl(e),r&512&&(Zc||n===null||q(n,n.return)),r&4){var o=n===null?null:n.memoizedState;if(r=e.memoizedState,n===null)if(r===null)if(e.stateNode===null){a:{r=e.type,n=e.memoizedProps,a=a.ownerDocument||a;b:switch(r){case`title`:o=a.getElementsByTagName(`title`)[0],(!o||o[ft]||o[at]||o.namespaceURI===`http://www.w3.org/2000/svg`||o.hasAttribute(`itemprop`))&&(o=a.createElement(r),a.head.insertBefore(o,a.querySelector(`head > title`))),Fd(o,r,n),o[at]=e,vt(o),r=o;break a;case`link`:var s=Hf(`link`,`href`,a).get(r+(n.href||``));if(s){for(var c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`href`)===(n.href==null||n.href===``?null:n.href)&&o.getAttribute(`rel`)===(n.rel==null?null:n.rel)&&o.getAttribute(`title`)===(n.title==null?null:n.title)&&o.getAttribute(`crossorigin`)===(n.crossOrigin==null?null:n.crossOrigin)){s.splice(c,1);break b}}o=a.createElement(r),Fd(o,r,n),a.head.appendChild(o);break;case`meta`:if(s=Hf(`meta`,`content`,a).get(r+(n.content||``))){for(c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`content`)===(n.content==null?null:``+n.content)&&o.getAttribute(`name`)===(n.name==null?null:n.name)&&o.getAttribute(`property`)===(n.property==null?null:n.property)&&o.getAttribute(`http-equiv`)===(n.httpEquiv==null?null:n.httpEquiv)&&o.getAttribute(`charset`)===(n.charSet==null?null:n.charSet)){s.splice(c,1);break b}}o=a.createElement(r),Fd(o,r,n),a.head.appendChild(o);break;default:throw Error(i(468,r))}o[at]=e,vt(o),r=o}e.stateNode=r}else Uf(a,e.type,e.stateNode);else e.stateNode=Lf(a,r,e.memoizedProps);else o===r?r===null&&e.stateNode!==null&&J(e,e.memoizedProps,n.memoizedProps):(o===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):o.count--,r===null?Uf(a,e.type,e.stateNode):Lf(a,r,e.memoizedProps))}break;case 27:fl(t,e),hl(e),r&512&&(Zc||n===null||q(n,n.return)),n!==null&&r&4&&J(e,e.memoizedProps,n.memoizedProps);break;case 5:if(fl(t,e),hl(e),r&512&&(Zc||n===null||q(n,n.return)),e.flags&32){a=e.stateNode;try{Wt(a,``)}catch(t){Wu(e,e.return,t)}}r&4&&e.stateNode!=null&&(a=e.memoizedProps,J(e,a,n===null?a:n.memoizedProps)),r&1024&&(Qc=!0);break;case 6:if(fl(t,e),hl(e),r&4){if(e.stateNode===null)throw Error(i(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(t){Wu(e,e.return,t)}}break;case 3:if(Vf=null,a=pl,pl=_f(t.containerInfo),fl(t,e),pl=a,hl(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Np(t.containerInfo)}catch(t){Wu(e,e.return,t)}Qc&&(Qc=!1,gl(e));break;case 4:r=pl,pl=_f(e.stateNode.containerInfo),fl(t,e),hl(e),pl=r;break;case 12:fl(t,e),hl(e);break;case 31:fl(t,e),hl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,dl(e,r)));break;case 13:fl(t,e),hl(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(eu=Te()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,dl(e,r)));break;case 22:a=e.memoizedState!==null;var l=n!==null&&n.memoizedState!==null,u=Xc,d=Zc;if(Xc=u||a,Zc=d||l,fl(t,e),Zc=d,Xc=u,hl(e),r&8192)a:for(t=e.stateNode,t._visibility=a?t._visibility&-2:t._visibility|1,a&&(n===null||l||Xc||Zc||vl(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){l=n=t;try{if(o=l.stateNode,a)s=o.style,typeof s.setProperty==`function`?s.setProperty(`display`,`none`,`important`):s.display=`none`;else{c=l.stateNode;var f=l.memoizedProps.style,p=f!=null&&f.hasOwnProperty(`display`)?f.display:null;c.style.display=p==null||typeof p==`boolean`?``:(``+p).trim()}}catch(e){Wu(l,l.return,e)}}}else if(t.tag===6){if(n===null){l=t;try{l.stateNode.nodeValue=a?``:l.memoizedProps}catch(e){Wu(l,l.return,e)}}}else if(t.tag===18){if(n===null){l=t;try{var m=l.stateNode;a?ef(m,!0):ef(l.stateNode,!1)}catch(e){Wu(l,l.return,e)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break a;for(;t.sibling===null;){if(t.return===null||t.return===e)break a;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}r&4&&(r=e.updateQueue,r!==null&&(n=r.retryQueue,n!==null&&(r.retryQueue=null,dl(e,n))));break;case 19:fl(t,e),hl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,dl(e,r)));break;case 30:break;case 21:break;default:fl(t,e),hl(e)}}function hl(e){var t=e.flags;if(t&2){try{for(var n,r=e.return;r!==null;){if(Gc(r)){n=r;break}r=r.return}if(n==null)throw Error(i(160));switch(n.tag){case 27:var a=n.stateNode;Jc(e,Kc(e),a);break;case 5:var o=n.stateNode;n.flags&32&&(Wt(o,``),n.flags&=-33),Jc(e,Kc(e),o);break;case 3:case 4:var s=n.stateNode.containerInfo;qc(e,Kc(e),s);break;default:throw Error(i(161))}}catch(t){Wu(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function gl(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;gl(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function _l(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)nl(e,t.alternate,t),t=t.sibling}function vl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Bc(4,t,t.return),vl(t);break;case 1:q(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount==`function`&&Hc(t,t.return,n),vl(t);break;case 27:mf(t.stateNode);case 26:case 5:q(t,t.return),vl(t);break;case 22:t.memoizedState===null&&vl(t);break;case 30:vl(t);break;default:vl(t)}e=e.sibling}}function yl(e,t,n){for(n&&=(t.subtreeFlags&8772)!=0,t=t.child;t!==null;){var r=t.alternate,i=e,a=t,o=a.flags;switch(a.tag){case 0:case 11:case 15:yl(i,a,n),zc(4,a);break;case 1:if(yl(i,a,n),r=a,i=r.stateNode,typeof i.componentDidMount==`function`)try{i.componentDidMount()}catch(e){Wu(r,r.return,e)}if(r=a,i=r.updateQueue,i!==null){var s=r.stateNode;try{var c=i.shared.hiddenCallbacks;if(c!==null)for(i.shared.hiddenCallbacks=null,i=0;i<c.length;i++)Ja(c[i],s)}catch(e){Wu(r,r.return,e)}}n&&o&64&&Vc(a),Uc(a,a.return);break;case 27:Yc(a);case 26:case 5:yl(i,a,n),n&&r===null&&o&4&&Wc(a),Uc(a,a.return);break;case 12:yl(i,a,n);break;case 31:yl(i,a,n),n&&o&4&&cl(i,a);break;case 13:yl(i,a,n),n&&o&4&&ll(i,a);break;case 22:a.memoizedState===null&&yl(i,a,n),Uc(a,a.return);break;case 30:break;default:yl(i,a,n)}t=t.sibling}}function bl(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&sa(n))}function xl(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&sa(e))}function Sl(e,t,n,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Cl(e,t,n,r),t=t.sibling}function Cl(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:Sl(e,t,n,r),i&2048&&zc(9,t);break;case 1:Sl(e,t,n,r);break;case 3:Sl(e,t,n,r),i&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&sa(e)));break;case 12:if(i&2048){Sl(e,t,n,r),e=t.stateNode;try{var a=t.memoizedProps,o=a.id,s=a.onPostCommit;typeof s==`function`&&s(o,t.alternate===null?`mount`:`update`,e.passiveEffectDuration,-0)}catch(e){Wu(t,t.return,e)}}else Sl(e,t,n,r);break;case 31:Sl(e,t,n,r);break;case 13:Sl(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,o=t.alternate,t.memoizedState===null?a._visibility&2?Sl(e,t,n,r):(a._visibility|=2,wl(e,t,n,r,(t.subtreeFlags&10256)!=0||!1)):a._visibility&2?Sl(e,t,n,r):Tl(e,t),i&2048&&bl(o,t);break;case 24:Sl(e,t,n,r),i&2048&&xl(t.alternate,t);break;default:Sl(e,t,n,r)}}function wl(e,t,n,r,i){for(i&&=(t.subtreeFlags&10256)!=0||!1,t=t.child;t!==null;){var a=e,o=t,s=n,c=r,l=o.flags;switch(o.tag){case 0:case 11:case 15:wl(a,o,s,c,i),zc(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState===null?(u._visibility|=2,wl(a,o,s,c,i)):u._visibility&2?wl(a,o,s,c,i):Tl(a,o),i&&l&2048&&bl(o.alternate,o);break;case 24:wl(a,o,s,c,i),i&&l&2048&&xl(o.alternate,o);break;default:wl(a,o,s,c,i)}t=t.sibling}}function Tl(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:Tl(n,r),i&2048&&bl(r.alternate,r);break;case 24:Tl(n,r),i&2048&&xl(r.alternate,r);break;default:Tl(n,r)}t=t.sibling}}var El=8192;function Dl(e,t,n){if(e.subtreeFlags&El)for(e=e.child;e!==null;)Ol(e,t,n),e=e.sibling}function Ol(e,t,n){switch(e.tag){case 26:Dl(e,t,n),e.flags&El&&e.memoizedState!==null&&Kf(n,pl,e.memoizedState,e.memoizedProps);break;case 5:Dl(e,t,n);break;case 3:case 4:var r=pl;pl=_f(e.stateNode.containerInfo),Dl(e,t,n),pl=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=El,El=16777216,Dl(e,t,n),El=r):Dl(e,t,n));break;default:Dl(e,t,n)}}function kl(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Al(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];el=r,Nl(r,e)}kl(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)jl(e),e=e.sibling}function jl(e){switch(e.tag){case 0:case 11:case 15:Al(e),e.flags&2048&&Bc(9,e,e.return);break;case 3:Al(e);break;case 12:Al(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Ml(e)):Al(e);break;default:Al(e)}}function Ml(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];el=r,Nl(r,e)}kl(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Bc(8,t,t.return),Ml(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,Ml(t));break;default:Ml(t)}e=e.sibling}}function Nl(e,t){for(;el!==null;){var n=el;switch(n.tag){case 0:case 11:case 15:Bc(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var r=n.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:sa(n.memoizedState.cache)}if(r=n.child,r!==null)r.return=n,el=r;else a:for(n=e;el!==null;){r=el;var i=r.sibling,a=r.return;if(rl(r),r===n){el=null;break a}if(i!==null){i.return=a,el=i;break a}el=a}}}var Pl={getCacheForType:function(e){var t=$i(aa),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return $i(aa).controller.signal}},Fl=typeof WeakMap==`function`?WeakMap:Map,Il=0,Ll=null,Y=null,Rl=0,zl=0,Bl=null,Vl=!1,Hl=!1,Ul=!1,Wl=0,Gl=0,Kl=0,ql=0,Jl=0,Yl=0,Xl=0,Zl=null,Ql=null,$l=!1,eu=0,tu=0,nu=1/0,ru=null,iu=null,X=0,au=null,ou=null,su=0,cu=0,lu=null,uu=null,du=0,fu=null;function pu(){return Il&2&&Rl!==0?Rl&-Rl:P.T===null?nt():dd()}function mu(){if(Yl===0)if(!(Rl&536870912)||V){var e=Ve;Ve<<=1,!(Ve&3932160)&&(Ve=262144),Yl=e}else Yl=536870912;return e=to.current,e!==null&&(e.flags|=32),Yl}function hu(e,t,n){(e===Ll&&(zl===2||zl===9)||e.cancelPendingCommit!==null)&&(Su(e,0),yu(e,Rl,Yl,!1)),Ye(e,n),(!(Il&2)||e!==Ll)&&(e===Ll&&(!(Il&2)&&(ql|=n),Gl===4&&yu(e,Rl,Yl,!1)),rd(e))}function gu(e,t,n){if(Il&6)throw Error(i(327));var r=!n&&(t&127)==0&&(t&e.expiredLanes)===0||Ge(e,t),a=r?ku(e,t):Z(e,t,!0),o=r;do{if(a===0){Hl&&!r&&yu(e,t,0,!1);break}else{if(n=e.current.alternate,o&&!vu(n)){a=Z(e,t,!1),o=!1;continue}if(a===2){if(o=t,e.errorRecoveryDisabledLanes&o)var s=0;else s=e.pendingLanes&-536870913,s=s===0?s&536870912?536870912:0:s;if(s!==0){t=s;a:{var c=e;a=Zl;var l=c.current.memoizedState.isDehydrated;if(l&&(Su(c,s).flags|=256),s=Z(c,s,!1),s!==2){if(Ul&&!l){c.errorRecoveryDisabledLanes|=o,ql|=o,a=4;break a}o=Ql,Ql=a,o!==null&&(Ql===null?Ql=o:Ql.push.apply(Ql,o))}a=s}if(o=!1,a!==2)continue}}if(a===1){Su(e,0),yu(e,t,0,!0);break}a:{switch(r=e,o=a,o){case 0:case 1:throw Error(i(345));case 4:if((t&4194048)!==t)break;case 6:yu(r,t,Yl,!Vl);break a;case 2:Ql=null;break;case 3:case 5:break;default:throw Error(i(329))}if((t&62914560)===t&&(a=eu+300-Te(),10<a)){if(yu(r,t,Yl,!Vl),We(r,0,!0)!==0)break a;su=t,r.timeoutHandle=qd(_u.bind(null,r,n,Ql,ru,$l,t,Yl,ql,Xl,Vl,o,`Throttled`,-0,0),a);break a}_u(r,n,Ql,ru,$l,t,Yl,ql,Xl,Vl,o,null,-0,0)}}break}while(1);rd(e)}function _u(e,t,n,r,i,a,o,s,c,l,u,d,f,p){if(e.timeoutHandle=-1,d=t.subtreeFlags,d&8192||(d&16785408)==16785408){d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Qt},Ol(t,a,d);var m=(a&62914560)===a?eu-Te():(a&4194048)===a?tu-Te():0;if(m=Jf(d,m),m!==null){su=a,e.cancelPendingCommit=m(Iu.bind(null,e,t,a,n,r,i,o,s,c,u,d,null,f,p)),yu(e,a,o,!l);return}}Iu(e,t,a,n,r,i,o,s,c)}function vu(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!br(a(),i))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 yu(e,t,n,r){t&=~Jl,t&=~ql,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-Ie(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&Ze(e,n,t)}function bu(){return Il&6?!0:(id(0,!1),!1)}function xu(){if(Y!==null){if(zl===0)var e=Y.return;else e=Y,Gi=Wi=null,Oo(e),Aa=null,ja=0,e=Y;for(;e!==null;)Rc(e.alternate,e),e=e.return;Y=null}}function Su(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,Jd(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),su=0,xu(),Ll=e,Y=n=ci(e.current,null),Rl=t,zl=0,Bl=null,Vl=!1,Hl=Ge(e,t),Ul=!1,Xl=Yl=Jl=ql=Kl=Gl=0,Ql=Zl=null,$l=!1,t&8&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var i=31-Ie(r),a=1<<i;t|=e[i],r&=~a}return Wl=t,Qr(),n}function Cu(e,t){U=null,P.H=Rs,t===ba||t===Sa?(t=Oa(),zl=3):t===xa?(t=Oa(),zl=4):zl=t===nc?8:typeof t==`object`&&t&&typeof t.then==`function`?6:1,Bl=t,Y===null&&(Gl=1,Xs(e,gi(t,e.current)))}function wu(){var e=to.current;return e===null?!0:(Rl&4194048)===Rl?no===null:(Rl&62914560)===Rl||Rl&536870912?e===no:!1}function Tu(){var e=P.H;return P.H=Rs,e===null?Rs:e}function Eu(){var e=P.A;return P.A=Pl,e}function Du(){Gl=4,Vl||(Rl&4194048)!==Rl&&to.current!==null||(Hl=!0),!(Kl&134217727)&&!(ql&134217727)||Ll===null||yu(Ll,Rl,Yl,!1)}function Z(e,t,n){var r=Il;Il|=2;var i=Tu(),a=Eu();(Ll!==e||Rl!==t)&&(ru=null,Su(e,t)),t=!1;var o=Gl;a:do try{if(zl!==0&&Y!==null){var s=Y,c=Bl;switch(zl){case 8:xu(),o=6;break a;case 3:case 2:case 9:case 6:to.current===null&&(t=!0);var l=zl;if(zl=0,Bl=null,Nu(e,s,c,l),n&&Hl){o=0;break a}break;default:l=zl,zl=0,Bl=null,Nu(e,s,c,l)}}Ou(),o=Gl;break}catch(t){Cu(e,t)}while(1);return t&&e.shellSuspendCounter++,Gi=Wi=null,Il=r,P.H=i,P.A=a,Y===null&&(Ll=null,Rl=0,Qr()),o}function Ou(){for(;Y!==null;)ju(Y)}function ku(e,t){var n=Il;Il|=2;var r=Tu(),a=Eu();Ll!==e||Rl!==t?(ru=null,nu=Te()+500,Su(e,t)):Hl=Ge(e,t);a:do try{if(zl!==0&&Y!==null){t=Y;var o=Bl;b:switch(zl){case 1:zl=0,Bl=null,Nu(e,t,o,1);break;case 2:case 9:if(wa(o)){zl=0,Bl=null,Mu(t);break}t=function(){zl!==2&&zl!==9||Ll!==e||(zl=7),rd(e)},o.then(t,t);break a;case 3:zl=7;break a;case 4:zl=5;break a;case 7:wa(o)?(zl=0,Bl=null,Mu(t)):(zl=0,Bl=null,Nu(e,t,o,7));break;case 5:var s=null;switch(Y.tag){case 26:s=Y.memoizedState;case 5:case 27:var c=Y;if(s?Gf(s):c.stateNode.complete){zl=0,Bl=null;var l=c.sibling;if(l!==null)Y=l;else{var u=c.return;u===null?Y=null:(Y=u,Pu(u))}break b}}zl=0,Bl=null,Nu(e,t,o,5);break;case 6:zl=0,Bl=null,Nu(e,t,o,6);break;case 8:xu(),Gl=6;break a;default:throw Error(i(462))}}Au();break}catch(t){Cu(e,t)}while(1);return Gi=Wi=null,P.H=r,P.A=a,Il=n,Y===null?(Ll=null,Rl=0,Qr(),Gl):0}function Au(){for(;Y!==null&&!Ce();)ju(Y)}function ju(e){var t=Ac(e.alternate,e,Wl);e.memoizedProps=e.pendingProps,t===null?Pu(e):Y=t}function Mu(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=hc(n,t,t.pendingProps,t.type,void 0,Rl);break;case 11:t=hc(n,t,t.pendingProps,t.type.render,t.ref,Rl);break;case 5:Oo(t);default:Rc(n,t),t=Y=li(t,Wl),t=Ac(n,t,Wl)}e.memoizedProps=e.pendingProps,t===null?Pu(e):Y=t}function Nu(e,t,n,r){Gi=Wi=null,Oo(t),Aa=null,ja=0;var i=t.return;try{if(tc(e,i,t,n,Rl)){Gl=1,Xs(e,gi(n,e.current)),Y=null;return}}catch(t){if(i!==null)throw Y=i,t;Gl=1,Xs(e,gi(n,e.current)),Y=null;return}t.flags&32768?(V||r===1?e=!0:Hl||Rl&536870912?e=!1:(Vl=e=!0,(r===2||r===9||r===3||r===6)&&(r=to.current,r!==null&&r.tag===13&&(r.flags|=16384))),Fu(t,e)):Pu(t)}function Pu(e){var t=e;do{if(t.flags&32768){Fu(t,Vl);return}e=t.return;var n=Ic(t.alternate,t,Wl);if(n!==null){Y=n;return}if(t=t.sibling,t!==null){Y=t;return}Y=t=e}while(t!==null);Gl===0&&(Gl=5)}function Fu(e,t){do{var n=Lc(e.alternate,e);if(n!==null){n.flags&=32767,Y=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){Y=e;return}Y=e=n}while(e!==null);Gl=6,Y=null}function Iu(e,t,n,r,a,o,s,c,l){e.cancelPendingCommit=null;do Vu();while(X!==0);if(Il&6)throw Error(i(327));if(t!==null){if(t===e.current)throw Error(i(177));if(o=t.lanes|t.childLanes,o|=Zr,Xe(e,n,o,s,c,l),e===Ll&&(Y=Ll=null,Rl=0),ou=t,au=e,su=n,cu=o,lu=a,uu=r,t.subtreeFlags&10256||t.flags&10256?(e.callbackNode=null,e.callbackPriority=0,Xu(ke,function(){return Hu(),null})):(e.callbackNode=null,e.callbackPriority=0),r=(t.flags&13878)!=0,t.subtreeFlags&13878||r){r=P.T,P.T=null,a=F.p,F.p=2,s=Il,Il|=4;try{tl(e,t,n)}finally{Il=s,F.p=a,P.T=r}}X=1,Lu(),Ru(),zu()}}function Lu(){if(X===1){X=0;var e=au,t=ou,n=(t.flags&13878)!=0;if(t.subtreeFlags&13878||n){n=P.T,P.T=null;var r=F.p;F.p=2;var i=Il;Il|=4;try{ml(t,e);var a=Bd,o=Tr(e.containerInfo),s=a.focusedElem,c=a.selectionRange;if(o!==s&&s&&s.ownerDocument&&wr(s.ownerDocument.documentElement,s)){if(c!==null&&Er(s)){var l=c.start,u=c.end;if(u===void 0&&(u=l),`selectionStart`in s)s.selectionStart=l,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),m=s.textContent.length,h=Math.min(c.start,m),g=c.end===void 0?h:Math.min(c.end,m);!p.extend&&h>g&&(o=g,g=h,h=o);var _=Cr(s,h),v=Cr(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;s<d.length;s++){var b=d[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}sp=!!zd,Bd=zd=null}finally{Il=i,F.p=r,P.T=n}}e.current=t,X=2}}function Ru(){if(X===2){X=0;var e=au,t=ou,n=(t.flags&8772)!=0;if(t.subtreeFlags&8772||n){n=P.T,P.T=null;var r=F.p;F.p=2;var i=Il;Il|=4;try{nl(e,t.alternate,t)}finally{Il=i,F.p=r,P.T=n}}X=3}}function zu(){if(X===4||X===3){X=0,we();var e=au,t=ou,n=su,r=uu;t.subtreeFlags&10256||t.flags&10256?X=5:(X=0,ou=au=null,Bu(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(iu=null),tt(n),t=t.stateNode,Pe&&typeof Pe.onCommitFiberRoot==`function`)try{Pe.onCommitFiberRoot(z,t,void 0,(t.current.flags&128)==128)}catch{}if(r!==null){t=P.T,i=F.p,F.p=2,P.T=null;try{for(var a=e.onRecoverableError,o=0;o<r.length;o++){var s=r[o];a(s.value,{componentStack:s.stack})}}finally{P.T=t,F.p=i}}su&3&&Vu(),rd(e),i=e.pendingLanes,n&261930&&i&42?e===fu?du++:(du=0,fu=e):du=0,id(0,!1)}}function Bu(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,sa(t)))}function Vu(){return Lu(),Ru(),zu(),Hu()}function Hu(){if(X!==5)return!1;var e=au,t=cu;cu=0;var n=tt(su),r=P.T,a=F.p;try{F.p=32>n?32:n,P.T=null,n=lu,lu=null;var o=au,s=su;if(X=0,ou=au=null,su=0,Il&6)throw Error(i(331));var c=Il;if(Il|=4,jl(o.current),Cl(o,o.current,s,n),Il=c,id(0,!1),Pe&&typeof Pe.onPostCommitFiberRoot==`function`)try{Pe.onPostCommitFiberRoot(z,o)}catch{}return!0}finally{F.p=a,P.T=r,Bu(e,t)}}function Uu(e,t,n){t=gi(n,t),t=Qs(e.stateNode,t,2),e=Ha(e,t,2),e!==null&&(Ye(e,2),rd(e))}function Wu(e,t,n){if(e.tag===3)Uu(e,e,n);else for(;t!==null;){if(t.tag===3){Uu(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(iu===null||!iu.has(r))){e=gi(n,e),n=$s(2),r=Ha(t,n,2),r!==null&&(ec(n,r,t,e),Ye(r,2),rd(r));break}}t=t.return}}function Gu(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Fl;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(Ul=!0,i.add(n),e=Ku.bind(null,e,t,n),t.then(e,e))}function Ku(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Ll===e&&(Rl&n)===n&&(Gl===4||Gl===3&&(Rl&62914560)===Rl&&300>Te()-eu?!(Il&2)&&Su(e,0):Jl|=n,Xl===Rl&&(Xl=0)),rd(e)}function qu(e,t){t===0&&(t=qe()),e=ti(e,t),e!==null&&(Ye(e,t),rd(e))}function Ju(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),qu(e,n)}function Yu(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}r!==null&&r.delete(t),qu(e,n)}function Xu(e,t){return R(e,t)}var Zu=null,Qu=null,$u=!1,ed=!1,td=!1,nd=0;function rd(e){e!==Qu&&e.next===null&&(Qu===null?Zu=Qu=e:Qu=Qu.next=e),ed=!0,$u||($u=!0,ud())}function id(e,t){if(!td&&ed){td=!0;do for(var n=!1,r=Zu;r!==null;){if(!t)if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-Ie(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,ld(r,a))}else a=Rl,a=We(r,r===Ll?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||Ge(r,a)||(n=!0,ld(r,a));r=r.next}while(n);td=!1}}function ad(){od()}function od(){ed=$u=!1;var e=0;nd!==0&&Kd()&&(e=nd);for(var t=Te(),n=null,r=Zu;r!==null;){var i=r.next,a=sd(r,t);a===0?(r.next=null,n===null?Zu=i:n.next=i,i===null&&(Qu=n)):(n=r,(e!==0||a&3)&&(ed=!0)),r=i}X!==0&&X!==5||id(e,!1),nd!==0&&(nd=0)}function sd(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-Ie(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=Ke(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=Ll,n=Rl,n=We(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,n===0||e===t&&(zl===2||zl===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&Se(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||Ge(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&Se(r),tt(n)){case 2:case 8:n=Oe;break;case 32:n=ke;break;case 268435456:n=je;break;default:n=ke}return r=cd.bind(null,e),n=R(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&Se(r),e.callbackPriority=2,e.callbackNode=null,2}function cd(e,t){if(X!==0&&X!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Vu()&&e.callbackNode!==n)return null;var r=Rl;return r=We(e,e===Ll?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(gu(e,r,t),sd(e,Te()),e.callbackNode!=null&&e.callbackNode===n?cd.bind(null,e):null)}function ld(e,t){if(Vu())return null;gu(e,t,!0)}function ud(){Xd(function(){Il&6?R(De,ad):od()})}function dd(){if(nd===0){var e=ua;e===0&&(e=Be,Be<<=1,!(Be&261888)&&(Be=256)),nd=e}return nd}function fd(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:Zt(``+e)}function pd(e,t){var n=t.ownerDocument.createElement(`input`);return n.name=t.name,n.value=t.value,e.id&&n.setAttribute(`form`,e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function md(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=fd((i[ot]||null).action),o=r.submitter;o&&(t=(t=o[ot]||null)?fd(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new bn(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(nd!==0){var e=o?pd(i,o):new FormData(i);ws(n,{pending:!0,data:e,method:i.method,action:a},null,e)}}else typeof a==`function`&&(s.preventDefault(),e=o?pd(i,o):new FormData(i),ws(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}for(var Q=0;Q<Kr.length;Q++){var hd=Kr[Q];qr(hd.toLowerCase(),`on`+(hd[0].toUpperCase()+hd.slice(1)))}qr(Rr,`onAnimationEnd`),qr(zr,`onAnimationIteration`),qr(Br,`onAnimationStart`),qr(`dblclick`,`onDoubleClick`),qr(`focusin`,`onFocus`),qr(`focusout`,`onBlur`),qr(Vr,`onTransitionRun`),qr(Hr,`onTransitionStart`),qr(Ur,`onTransitionCancel`),qr(Wr,`onTransitionEnd`),St(`onMouseEnter`,[`mouseout`,`mouseover`]),St(`onMouseLeave`,[`mouseout`,`mouseover`]),St(`onPointerEnter`,[`pointerout`,`pointerover`]),St(`onPointerLeave`,[`pointerout`,`pointerover`]),xt(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),xt(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),xt(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),xt(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),xt(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),xt(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var gd=`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(` `),_d=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(gd));function vd(e,t){t=(t&4)!=0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;a:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){Jr(e)}i.currentTarget=null,a=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){Jr(e)}i.currentTarget=null,a=c}}}}function yd(e,t){var n=t[ct];n===void 0&&(n=t[ct]=new Set);var r=e+`__bubble`;n.has(r)||(Cd(t,e,2,!1),n.add(r))}function bd(e,t,n){var r=0;t&&(r|=4),Cd(n,e,r,t)}var xd=`_reactListening`+Math.random().toString(36).slice(2);function Sd(e){if(!e[xd]){e[xd]=!0,yt.forEach(function(t){t!==`selectionchange`&&(_d.has(t)||bd(t,!1,e),bd(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[xd]||(t[xd]=!0,bd(`selectionchange`,!1,t))}}function Cd(e,t,n,r){switch(mp(t)){case 2:var i=cp;break;case 8:i=lp;break;default:i=up}n=i.bind(null,t,n,e),i=void 0,!ln||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function wd(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var c=r.stateNode.containerInfo;if(c===i)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&s.stateNode.containerInfo===i)return;s=s.return}for(;c!==null;){if(s=mt(c),s===null)return;if(l=s.tag,l===5||l===6||l===26||l===27){r=a=s;continue a}c=c.parentNode}}r=r.return}on(function(){var r=a,i=en(n),s=[];a:{var c=Gr.get(e);if(c!==void 0){var l=bn,u=e;switch(e){case`keypress`:if(hn(n)===0)break a;case`keydown`:case`keyup`:l=Rn;break;case`focusin`:u=`focus`,l=kn;break;case`focusout`:u=`blur`,l=kn;break;case`beforeblur`:case`afterblur`:l=kn;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:l=Dn;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:l=On;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:l=Bn;break;case Rr:case zr:case Br:l=An;break;case Wr:l=Vn;break;case`scroll`:case`scrollend`:l=Sn;break;case`wheel`:l=Hn;break;case`copy`:case`cut`:case`paste`:l=jn;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:l=zn;break;case`toggle`:case`beforetoggle`:l=Un}var d=(t&4)!=0,f=!d&&(e===`scroll`||e===`scrollend`),p=d?c===null?null:c+`Capture`:c;d=[];for(var m=r,h;m!==null;){var g=m;if(h=g.stateNode,g=g.tag,g!==5&&g!==26&&g!==27||h===null||p===null||(g=sn(m,p),g!=null&&d.push(Td(m,g,h))),f)break;m=m.return}0<d.length&&(c=new l(c,u,null,n,i),s.push({event:c,listeners:d}))}}if(!(t&7)){a:{if(c=e===`mouseover`||e===`pointerover`,l=e===`mouseout`||e===`pointerout`,c&&n!==$t&&(u=n.relatedTarget||n.fromElement)&&(mt(u)||u[st]))break a;if((l||c)&&(c=i.window===i?i:(c=i.ownerDocument)?c.defaultView||c.parentWindow:window,l?(u=n.relatedTarget||n.toElement,l=r,u=u?mt(u):null,u!==null&&(f=o(u),d=u.tag,u!==f||d!==5&&d!==27&&d!==6)&&(u=null)):(l=null,u=r),l!==u)){if(d=Dn,g=`onMouseLeave`,p=`onMouseEnter`,m=`mouse`,(e===`pointerout`||e===`pointerover`)&&(d=zn,g=`onPointerLeave`,p=`onPointerEnter`,m=`pointer`),f=l==null?c:gt(l),h=u==null?c:gt(u),c=new d(g,m+`leave`,l,n,i),c.target=f,c.relatedTarget=h,g=null,mt(i)===r&&(d=new d(p,m+`enter`,u,n,i),d.target=h,d.relatedTarget=f,g=d),f=g,l&&u)b:{for(d=Dd,p=l,m=u,h=0,g=p;g;g=d(g))h++;g=0;for(var _=m;_;_=d(_))g++;for(;0<h-g;)p=d(p),h--;for(;0<g-h;)m=d(m),g--;for(;h--;){if(p===m||m!==null&&p===m.alternate){d=p;break b}p=d(p),m=d(m)}d=null}else d=null;l!==null&&Od(s,c,l,d,!1),u!==null&&f!==null&&Od(s,f,u,d,!0)}}a:{if(c=r?gt(r):window,l=c.nodeName&&c.nodeName.toLowerCase(),l===`select`||l===`input`&&c.type===`file`)var v=cr;else if(nr(c))if(lr)v=vr;else{v=gr;var y=hr}else l=c.nodeName,!l||l.toLowerCase()!==`input`||c.type!==`checkbox`&&c.type!==`radio`?r&&Jt(r.elementType)&&(v=cr):v=_r;if(v&&=v(e,r)){rr(s,v,n,i);break a}y&&y(e,c,r),e===`focusout`&&r&&c.type===`number`&&r.memoizedProps.value!=null&&Bt(c,`number`,c.value)}switch(y=r?gt(r):window,e){case`focusin`:(nr(y)||y.contentEditable===`true`)&&(Or=y,kr=r,Ar=null);break;case`focusout`:Ar=kr=Or=null;break;case`mousedown`:jr=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:jr=!1,Mr(s,n,i);break;case`selectionchange`:if(Dr)break;case`keydown`:case`keyup`:Mr(s,n,i)}var b;if(Gn)b:{switch(e){case`compositionstart`:var x=`onCompositionStart`;break b;case`compositionend`:x=`onCompositionEnd`;break b;case`compositionupdate`:x=`onCompositionUpdate`;break b}x=void 0}else Qn?Xn(e,n)&&(x=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(x=`onCompositionStart`);x&&(qn&&n.locale!==`ko`&&(Qn||x!==`onCompositionStart`?x===`onCompositionEnd`&&Qn&&(b=mn()):(dn=i,fn=`value`in dn?dn.value:dn.textContent,Qn=!0)),y=Ed(r,x),0<y.length&&(x=new Mn(x,e,null,n,i),s.push({event:x,listeners:y}),b?x.data=b:(b=Zn(n),b!==null&&(x.data=b)))),(b=B?$n(e,n):er(e,n))&&(x=Ed(r,`onBeforeInput`),0<x.length&&(y=new Mn(`onBeforeInput`,`beforeinput`,null,n,i),s.push({event:y,listeners:x}),y.data=b)),md(s,e,r,n,i)}vd(s,t)})}function Td(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ed(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||a===null||(i=sn(e,n),i!=null&&r.unshift(Td(e,i,a)),i=sn(e,t),i!=null&&r.push(Td(e,i,a))),e.tag===3)return r;e=e.return}return[]}function Dd(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Od(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(s=s.tag,c!==null&&c===r)break;s!==5&&s!==26&&s!==27||l===null||(c=l,i?(l=sn(n,a),l!=null&&o.unshift(Td(n,l,c))):i||(l=sn(n,a),l!=null&&o.push(Td(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var kd=/\r\n?/g,Ad=/\u0000|\uFFFD/g;function jd(e){return(typeof e==`string`?e:``+e).replace(kd,` |
|
|
파트너를 기다립니다.`,text:`프로젝트 협업이든 커리어든, 편하게 연락 주세요.`,cta:{label:`문의 바로가기`,to:`/contact/inquiry`}}}];function Jn(){let[e,t]=(0,w.useState)(null),[n,r]=(0,w.useState)(!1),[i,a]=(0,w.useState)(!1),[o,s]=(0,w.useState)(!1),[c,l]=(0,w.useState)(!1),[u,d]=(0,w.useState)(null),f=(0,w.useRef)(null),p=(0,w.useRef)({}),m=(0,w.useRef)(null),h=qn.find(t=>t.key===e),g=!!(h&&!h.simple&&n);(0,w.useEffect)(()=>{let e=()=>{let e=window.pageYOffset||document.documentElement.scrollTop||0,t=document.body.classList.contains(`is-dark-hero`);s(t),a(!t&&e>80)};e();let t=new MutationObserver(()=>{e()});return t.observe(document.body,{attributes:!0,attributeFilter:[`class`]}),window.addEventListener(`scroll`,e,{passive:!0}),()=>{t.disconnect(),window.removeEventListener(`scroll`,e)}},[]),(0,w.useEffect)(()=>()=>{f.current&&clearTimeout(f.current)},[]),(0,w.useEffect)(()=>{if(c){document.body.style.overflow=`hidden`;let e=setTimeout(()=>{m.current?.focus()},50);return()=>{clearTimeout(e),document.body.style.overflow=``}}return document.body.style.overflow=``,()=>{document.body.style.overflow=``}},[c]);let _=()=>{f.current&&clearTimeout(f.current)},v=e=>{_(),r(!0),t(e)},y=()=>{_(),f.current=setTimeout(()=>{r(!1),t(null)},120)},b=()=>{r(!1),t(null)},x=()=>{l(!1),d(null)},S=()=>{b(),x()},C=()=>{l(e=>!e)},T=e=>{d(t=>t===e?null:e)},E=(e,t,n)=>{if(e.key===`ArrowRight`){let e=qn[t+1]||qn[0];p.current[e.key]?.focus()}if(e.key===`ArrowLeft`){let e=qn[t-1]||qn[qn.length-1];p.current[e.key]?.focus()}e.key===`ArrowDown`&&!n.simple&&(e.preventDefault(),v(n.key)),e.key===`Escape`&&y()};return(0,B.jsxs)(B.Fragment,{children:[(0,B.jsxs)(`header`,{className:`pal-header ${i?`is-scrolled`:``} ${g?`is-open`:``} ${c?`is-mobile-open`:``}`,onMouseEnter:_,onMouseLeave:y,children:[(0,B.jsxs)(`div`,{className:`pal-header-inner`,children:[(0,B.jsx)(`h1`,{className:`pal-header-logo`,children:(0,B.jsx)(En,{to:`/main`,onClick:S,children:(0,B.jsx)(`img`,{src:i||g||c||!o?`./images/pal_logo.png`:`./images/pal_logo_wh.png`,alt:`PAL Networks`})})}),(0,B.jsx)(`nav`,{className:`pal-gnb`,"aria-label":`Primary Navigation`,children:(0,B.jsx)(`ul`,{className:`pal-gnb-depth1`,children:qn.map((t,n)=>{let r=e===t.key;return(0,B.jsx)(`li`,{className:`pal-gnb-item ${r?`is-active`:``}`,onMouseEnter:()=>{t.simple?(_(),b()):v(t.key)},children:t.simple?(0,B.jsxs)(Dn,{to:t.to,className:`pal-gnb-link`,ref:e=>{p.current[t.key]=e},onClick:S,onFocus:()=>{b()},onKeyDown:e=>E(e,n,t),children:[(0,B.jsx)(`span`,{className:`pal-gnb-link-text`,children:t.label}),(0,B.jsx)(`span`,{className:`pal-gnb-link-line`})]}):(0,B.jsxs)(`button`,{type:`button`,className:`pal-gnb-link`,ref:e=>{p.current[t.key]=e},"aria-expanded":r,"aria-haspopup":`true`,onFocus:()=>v(t.key),onClick:()=>v(t.key),onKeyDown:e=>E(e,n,t),children:[(0,B.jsx)(`span`,{className:`pal-gnb-link-text`,children:t.label}),(0,B.jsx)(`span`,{className:`pal-gnb-link-line`})]})},t.key)})})}),(0,B.jsxs)(`div`,{className:`pal-header-util`,children:[(0,B.jsxs)(`div`,{className:`pal-header-lang`,role:`group`,"aria-label":`언어 선택`,children:[(0,B.jsx)(`button`,{type:`button`,className:`pal-header-lang-btn is-active`,"aria-pressed":`true`,children:`KOR`}),(0,B.jsx)(`button`,{type:`button`,className:`pal-header-lang-btn`,"aria-pressed":`false`,children:`ENG`})]}),(0,B.jsxs)(`button`,{type:`button`,className:`pal-header-hamburger ${c?`is-active`:``}`,"aria-label":c?`모바일 메뉴 닫기`:`모바일 메뉴 열기`,"aria-expanded":c,"aria-controls":`pal-mobile-menu`,onClick:C,children:[(0,B.jsx)(`span`,{}),(0,B.jsx)(`span`,{}),(0,B.jsx)(`span`,{})]})]})]}),(0,B.jsx)(`div`,{className:`pal-mega-panel ${g?`is-visible`:``}`,onMouseEnter:()=>{_(),r(!0)},onMouseLeave:y,children:h&&!h.simple&&(0,B.jsxs)(`div`,{className:`pal-mega-panel-inner`,children:[(0,B.jsxs)(`div`,{className:`pal-mega-panel-intro`,children:[(0,B.jsx)(`span`,{className:`pal-mega-panel-eyebrow`,children:h.panelTitle}),(0,B.jsx)(`h2`,{children:h.featured.title}),(0,B.jsx)(`p`,{children:h.featured.text}),(0,B.jsx)(En,{to:h.featured.cta.to,className:`pal-mega-panel-cta`,onClick:S,children:h.featured.cta.label})]}),(0,B.jsxs)(`div`,{className:`pal-mega-panel-content`,children:[(0,B.jsxs)(`div`,{className:`pal-mega-panel-top`,children:[(0,B.jsx)(`strong`,{children:h.panelTitle}),(0,B.jsx)(`p`,{children:h.panelDesc})]}),(0,B.jsx)(`div`,{className:`pal-mega-panel-grid`,children:h.sections.map(e=>(0,B.jsxs)(`div`,{className:`pal-mega-section`,children:[(0,B.jsx)(`h3`,{children:e.title}),(0,B.jsx)(`ul`,{children:e.items.map(e=>(0,B.jsx)(`li`,{children:(0,B.jsxs)(En,{to:e.to,className:`pal-mega-item`,onClick:S,children:[(0,B.jsx)(`span`,{className:`pal-mega-item-title`,children:e.label}),(0,B.jsx)(`span`,{className:`pal-mega-item-desc`,children:e.desc})]})},e.label))})]},e.title))})]})]})})]}),(0,B.jsx)(`button`,{type:`button`,className:`pal-header-dim ${g?`is-visible`:``}`,"aria-label":`메뉴 닫기`,onClick:b}),(0,B.jsx)(`div`,{className:`pal-mobile-dim ${c?`is-visible`:``}`,onClick:S}),(0,B.jsxs)(`aside`,{id:`pal-mobile-menu`,className:`pal-mobile-menu ${c?`is-open`:``}`,"aria-hidden":!c,children:[(0,B.jsxs)(`div`,{className:`pal-mobile-menu-head`,children:[(0,B.jsx)(`strong`,{children:`MENU`}),(0,B.jsxs)(`button`,{type:`button`,className:`pal-mobile-menu-close`,"aria-label":`모바일 메뉴 닫기`,onClick:S,ref:m,children:[(0,B.jsx)(`span`,{}),(0,B.jsx)(`span`,{})]})]}),(0,B.jsxs)(`div`,{className:`pal-mobile-menu-body`,children:[(0,B.jsx)(`ul`,{className:`pal-mobile-nav`,children:qn.map(e=>{let t=u===e.key;return(0,B.jsx)(`li`,{className:`pal-mobile-nav-item ${t?`is-open`:``}`,children:e.simple?(0,B.jsx)(En,{to:e.to,className:`pal-mobile-nav-link`,onClick:S,children:(0,B.jsx)(`span`,{children:e.label})}):(0,B.jsxs)(B.Fragment,{children:[(0,B.jsxs)(`button`,{type:`button`,className:`pal-mobile-nav-toggle`,onClick:()=>T(e.key),"aria-expanded":t,children:[(0,B.jsx)(`span`,{children:e.label}),(0,B.jsx)(`i`,{className:`pal-mobile-nav-arrow`})]}),(0,B.jsxs)(`div`,{className:`pal-mobile-submenu`,children:[e.sections.map(e=>(0,B.jsxs)(`div`,{className:`pal-mobile-submenu-group`,children:[(0,B.jsx)(`h3`,{children:e.title}),(0,B.jsx)(`ul`,{children:e.items.map(e=>(0,B.jsx)(`li`,{children:(0,B.jsxs)(En,{to:e.to,className:`pal-mobile-submenu-link`,onClick:S,children:[(0,B.jsx)(`strong`,{children:e.label}),(0,B.jsx)(`p`,{children:e.desc})]})},e.label))})]},e.title)),(0,B.jsxs)(En,{to:e.featured.cta.to,className:`pal-mobile-featured-link`,onClick:S,children:[(0,B.jsx)(`span`,{children:e.featured.eyebrow}),(0,B.jsx)(`strong`,{children:e.featured.cta.label})]})]})]})},e.key)})}),(0,B.jsxs)(`div`,{className:`pal-mobile-lang`,children:[(0,B.jsx)(`span`,{className:`pal-mobile-lang-label`,children:`Language`}),(0,B.jsxs)(`div`,{className:`pal-mobile-lang-toggle`,role:`group`,"aria-label":`언어 선택`,children:[(0,B.jsx)(`button`,{type:`button`,className:`pal-mobile-lang-btn is-active`,"aria-pressed":`true`,children:`KOR`}),(0,B.jsx)(`button`,{type:`button`,className:`pal-mobile-lang-btn`,"aria-pressed":`false`,children:`ENG`})]})]}),(0,B.jsxs)(`div`,{className:`pal-mobile-contact-box`,children:[(0,B.jsx)(`p`,{children:`프로젝트 문의 및 협업 상담이 필요하시면 연락해 주세요.`}),(0,B.jsx)(En,{to:`/contact`,className:`pal-mobile-contact-link`,onClick:S,children:`Contact Us`})]})]})]})]})}var Yn=[{title:`COMPANY`,items:[{label:`회사소개`,to:`/company/about`},{label:`연혁`,to:`/company/history`},{label:`고객 및 협력사`,to:`/company/partners`},{label:`찾아오시는 길`,to:`/company/location`}]},{title:`UTM/UATM`,items:[{label:`소개`,to:`/UTM/intro`},{label:`도입사례`,to:`/UTM/case`}]},{title:`BUSINESS`,items:[{label:`System Integration`,to:`/business/si`},{label:`R&D`,to:`/business/rnd`},{label:`운영 · 유지보수`,to:`/business/maintenance`}]},{title:`SOLUTION`,items:[{label:`비행상황관리 시스템`,to:`/solution/flight-control`},{label:`IBE`,to:`/solution/ibe`},{label:`스마트 관광 예약`,to:`/solution/smart-tour`},{label:`KT G-cloud 인천총판`,to:`/solution/kt-gcloud`}]},{title:`CONTACT`,items:[{label:`문의하기`,to:`/contact/inquiry`},{label:`채용정보`,to:`/contact/recruit`}]}];function Xn(){return(0,B.jsx)(`footer`,{className:`site-footer`,children:(0,B.jsxs)(`div`,{className:`footer-inner`,children:[(0,B.jsxs)(`div`,{className:`footer-top`,children:[(0,B.jsx)(`div`,{className:`footer-brand`,children:(0,B.jsx)(En,{to:`/main`,className:`footer-logo`,children:(0,B.jsx)(`img`,{src:`./images/pal_logo_wh.png`,alt:`PAL Networks`})})}),(0,B.jsx)(`nav`,{className:`footer-nav`,"aria-label":`Footer Navigation`,children:Yn.map(e=>(0,B.jsxs)(`div`,{className:`footer-nav-group`,children:[(0,B.jsx)(`h5`,{children:e.title}),(0,B.jsx)(`ul`,{children:e.items.map(e=>(0,B.jsx)(`li`,{children:(0,B.jsx)(En,{to:e.to,children:e.label})},e.label))})]},e.title))})]}),(0,B.jsx)(`div`,{className:`footer-mid`,children:(0,B.jsxs)(`div`,{className:`footer-info`,children:[(0,B.jsxs)(`p`,{children:[(0,B.jsx)(`span`,{className:`info-item strong`,children:`(주) PALNETWORKS`}),(0,B.jsx)(`span`,{className:`sep`,children:`|`}),(0,B.jsx)(`span`,{className:`info-item`,children:`대표. 최현식`}),(0,B.jsx)(`span`,{className:`sep`,children:`|`}),(0,B.jsx)(`span`,{className:`info-item`,children:`사업자등록번호. 393-81-00110`})]}),(0,B.jsx)(`p`,{children:(0,B.jsx)(`span`,{className:`info-item`,children:`인천광역시 서구 로봇랜드로 155-11 로봇랜드 14층 1401~2호`})}),(0,B.jsxs)(`p`,{children:[(0,B.jsxs)(`span`,{className:`info-item`,children:[(0,B.jsx)(`span`,{className:`strong`,children:`TEL.`}),` 032-727-5909`]}),(0,B.jsx)(`span`,{className:`sep`,children:`|`}),(0,B.jsxs)(`span`,{className:`info-item`,children:[(0,B.jsx)(`span`,{className:`strong`,children:`FAX.`}),` 032-727-5908`]}),(0,B.jsx)(`span`,{className:`sep`,children:`|`}),(0,B.jsxs)(`span`,{className:`info-item`,children:[(0,B.jsx)(`span`,{className:`strong`,children:`E-mail.`}),` `,(0,B.jsx)(`a`,{href:`mailto:help@palnet.co.kr`,children:`help@palnet.co.kr`})]})]})]})}),(0,B.jsxs)(`div`,{className:`footer-bot`,children:[(0,B.jsx)(`p`,{className:`footer-copy`,children:`Copyright © (주) PALNETWORKS. All rights reserved.`}),(0,B.jsxs)(`ul`,{className:`footer-policy`,children:[(0,B.jsx)(`li`,{children:(0,B.jsx)(`a`,{href:`#none`,children:`Privacy Policy`})}),(0,B.jsx)(`li`,{children:(0,B.jsx)(`a`,{href:`#none`,children:`Terms of Use`})})]})]})]})})}function Zn(){return(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(Jn,{}),(0,B.jsx)(`main`,{className:`main-layout`,children:(0,B.jsx)(Mt,{})}),(0,B.jsx)(Xn,{})]})}function Qn(){return(0,w.useEffect)(()=>(document.body.classList.add(`is-sub`),()=>document.body.classList.remove(`is-sub`)),[]),(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(Jn,{}),(0,B.jsx)(`main`,{className:`sub-layout`,children:(0,B.jsx)(Mt,{})}),(0,B.jsx)(Xn,{})]})}function $n(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function er(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var tr={autoSleep:120,force3D:`auto`,nullTargetWarn:1,units:{lineHeight:``}},nr={duration:.5,overwrite:!1,delay:0},rr,ir,ar,or=1e8,sr=1/or,cr=Math.PI*2,lr=cr/4,ur=0,dr=Math.sqrt,fr=Math.cos,pr=Math.sin,mr=function(e){return typeof e==`string`},hr=function(e){return typeof e==`function`},gr=function(e){return typeof e==`number`},_r=function(e){return e===void 0},vr=function(e){return typeof e==`object`},yr=function(e){return e!==!1},br=function(){return typeof window<`u`},xr=function(e){return hr(e)||mr(e)},Sr=typeof ArrayBuffer==`function`&&ArrayBuffer.isView||function(){},Cr=Array.isArray,wr=/random\([^)]+\)/g,Tr=/,\s*/g,Er=/(?:-?\.?\d|\.)+/gi,Dr=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Or=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,kr=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Ar=/[+-]=-?[.\d]+/,jr=/[^,'"\[\]\s]+/gi,Mr=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Nr,Pr,Fr,Ir,Lr={},Rr={},zr,Br=function(e){return(Rr=vi(e,Lr))&&Fo},Vr=function(e,t){return console.warn(`Invalid property`,e,`set to`,t,`Missing plugin? gsap.registerPlugin()`)},Hr=function(e,t){return!t&&console.warn(e)},Ur=function(e,t){return e&&(Lr[e]=t)&&Rr&&(Rr[e]=t)||Lr},Wr=function(){return 0},Gr={suppressEvents:!0,isStart:!0,kill:!1},Kr={suppressEvents:!0,kill:!1},qr={suppressEvents:!0},Jr={},Yr=[],Xr={},Zr,Qr={},$r={},ei=30,ti=[],ni=``,ri=function(e){var t=e[0],n,r;if(vr(t)||hr(t)||(e=[e]),!(n=(t._gsap||{}).harness)){for(r=ti.length;r--&&!ti[r].targetTest(t););n=ti[r]}for(r=e.length;r--;)e[r]&&(e[r]._gsap||(e[r]._gsap=new Ka(e[r],n)))||e.splice(r,1);return e},ii=function(e){return e._gsap||ri(ea(e))[0]._gsap},ai=function(e,t,n){return(n=e[t])&&hr(n)?e[t]():_r(n)&&e.getAttribute&&e.getAttribute(t)||n},oi=function(e,t){return(e=e.split(`,`)).forEach(t)||e},si=function(e){return Math.round(e*1e5)/1e5||0},ci=function(e){return Math.round(e*1e7)/1e7||0},li=function(e,t){var n=t.charAt(0),r=parseFloat(t.substr(2));return e=parseFloat(e),n===`+`?e+r:n===`-`?e-r:n===`*`?e*r:e/r},ui=function(e,t){for(var n=t.length,r=0;e.indexOf(t[r])<0&&++r<n;);return r<n},di=function(){var e=Yr.length,t=Yr.slice(0),n,r;for(Xr={},Yr.length=0,n=0;n<e;n++)r=t[n],r&&r._lazy&&(r.render(r._lazy[0],r._lazy[1],!0)._lazy=0)},fi=function(e){return!!(e._initted||e._startAt||e.add)},pi=function(e,t,n,r){Yr.length&&!ir&&di(),e.render(t,n,r||!!(ir&&t<0&&fi(e))),Yr.length&&!ir&&di()},mi=function(e){var t=parseFloat(e);return(t||t===0)&&(e+``).match(jr).length<2?t:mr(e)?e.trim():e},hi=function(e){return e},gi=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},_i=function(e){return function(t,n){for(var r in n)r in t||r===`duration`&&e||r===`ease`||(t[r]=n[r])}},vi=function(e,t){for(var n in t)e[n]=t[n];return e},yi=function e(t,n){for(var r in n)r!==`__proto__`&&r!==`constructor`&&r!==`prototype`&&(t[r]=vr(n[r])?e(t[r]||(t[r]={}),n[r]):n[r]);return t},bi=function(e,t){var n={},r;for(r in e)r in t||(n[r]=e[r]);return n},xi=function(e){var t=e.parent||Nr,n=e.keyframes?_i(Cr(e.keyframes)):gi;if(yr(e.inherit))for(;t;)n(e,t.vars.defaults),t=t.parent||t._dp;return e},Si=function(e,t){for(var n=e.length,r=n===t.length;r&&n--&&e[n]===t[n];);return n<0},Ci=function(e,t,n,r,i){n===void 0&&(n=`_first`),r===void 0&&(r=`_last`);var a=e[r],o;if(i)for(o=t[i];a&&a[i]>o;)a=a._prev;return a?(t._next=a._next,a._next=t):(t._next=e[n],e[n]=t),t._next?t._next._prev=t:e[r]=t,t._prev=a,t.parent=t._dp=e,t},wi=function(e,t,n,r){n===void 0&&(n=`_first`),r===void 0&&(r=`_last`);var i=t._prev,a=t._next;i?i._next=a:e[n]===t&&(e[n]=a),a?a._prev=i:e[r]===t&&(e[r]=i),t._next=t._prev=t.parent=null},Ti=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Ei=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var n=e;n;)n._dirty=1,n=n.parent;return e},Di=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},Oi=function(e,t,n,r){return e._startAt&&(ir?e._startAt.revert(Kr):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,r))},ki=function e(t){return!t||t._ts&&e(t.parent)},Ai=function(e){return e._repeat?ji(e._tTime,e=e.duration()+e._rDelay)*e:0},ji=function(e,t){var n=Math.floor(e=ci(e/t));return e&&n===e?n-1:n},Mi=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},V=function(e){return e._end=ci(e._start+(e._tDur/Math.abs(e._ts||e._rts||sr)||0))},Ni=function(e,t){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=ci(n._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),V(e),n._dirty||Ei(n,e)),e},Pi=function(e,t){var n;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(n=Mi(e.rawTime(),t),(!t._dur||Ji(0,t.totalDuration(),n)-t._tTime>sr)&&t.render(n,!0)),Ei(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(n=e;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;e._zTime=-sr}},Fi=function(e,t,n,r){return t.parent&&Ti(t),t._start=ci((gr(n)?n:n||e!==Nr?Gi(e,n,t):e._time)+t._delay),t._end=ci(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Ci(e,t,`_first`,`_last`,e._sort?`_start`:0),zi(t)||(e._recent=t),r||Pi(e,t),e._ts<0&&Ni(e,e._tTime),e},Ii=function(e,t){return(Lr.ScrollTrigger||Vr(`scrollTrigger`,t))&&Lr.ScrollTrigger.create(t,e)},Li=function(e,t,n,r,i){if(to(e,t,i),!e._initted)return 1;if(!n&&e._pt&&!ir&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Zr!==Ma.frame)return Yr.push(e),e._lazy=[i,r],1},Ri=function e(t){var n=t.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||e(n))},zi=function(e){var t=e.data;return t===`isFromStart`||t===`isStart`},Bi=function(e,t,n,r){var i=e.ratio,a=t<0||!t&&(!e._start&&Ri(e)&&!(!e._initted&&zi(e))||(e._ts<0||e._dp._ts<0)&&!zi(e))?0:1,o=e._rDelay,s=0,c,l,u;if(o&&e._repeat&&(s=Ji(0,e._tDur,t),l=ji(s,o),e._yoyo&&l&1&&(a=1-a),l!==ji(e._tTime,o)&&(i=1-a,e.vars.repeatRefresh&&e._initted&&e.invalidate())),a!==i||ir||r||e._zTime===sr||!t&&e._zTime){if(!e._initted&&Li(e,t,r,n,s))return;for(u=e._zTime,e._zTime=t||(n?sr:0),n||=t&&!u,e.ratio=a,e._from&&(a=1-a),e._time=0,e._tTime=s,c=e._pt;c;)c.r(a,c.d),c=c._next;t<0&&Oi(e,t,n,!0),e._onUpdate&&!n&&_a(e,`onUpdate`),s&&e._repeat&&!n&&e.parent&&_a(e,`onRepeat`),(t>=e._tDur||t<0)&&e.ratio===a&&(a&&Ti(e,1),!n&&!ir&&(_a(e,a?`onComplete`:`onReverseComplete`,!0),e._prom&&e._prom()))}else e._zTime||=t},Vi=function(e,t,n){var r;if(n>t)for(r=e._first;r&&r._start<=n;){if(r.data===`isPause`&&r._start>t)return r;r=r._next}else for(r=e._last;r&&r._start>=n;){if(r.data===`isPause`&&r._start<t)return r;r=r._prev}},Hi=function(e,t,n,r){var i=e._repeat,a=ci(t)||0,o=e._tTime/e._tDur;return o&&!r&&(e._time*=a/e._dur),e._dur=a,e._tDur=i?i<0?1e10:ci(a*(i+1)+e._rDelay*i):a,o>0&&!r&&Ni(e,e._tTime=e._tDur*o),e.parent&&V(e),n||Ei(e.parent,e),e},Ui=function(e){return e instanceof Ja?Ei(e):Hi(e,e._dur)},Wi={_start:0,endTime:Wr,totalDuration:Wr},Gi=function e(t,n,r){var i=t.labels,a=t._recent||Wi,o=t.duration()>=or?a.endTime(!1):t._dur,s,c,l;return mr(n)&&(isNaN(n)||n in i)?(c=n.charAt(0),l=n.substr(-1)===`%`,s=n.indexOf(`=`),c===`<`||c===`>`?(s>=0&&(n=n.replace(/=/,``)),(c===`<`?a._start:a.endTime(a._repeat>=0))+(parseFloat(n.substr(1))||0)*(l?(s<0?a:r).totalDuration()/100:1)):s<0?(n in i||(i[n]=o),i[n]):(c=parseFloat(n.charAt(s-1)+n.substr(s+1)),l&&r&&(c=c/100*(Cr(r)?r[0]:r).totalDuration()),s>1?e(t,n.substr(0,s-1),r)+c:o+c)):n==null?o:+n},Ki=function(e,t,n){var r=gr(t[1]),i=(r?2:1)+(e<2?0:1),a=t[i],o,s;if(r&&(a.duration=t[1]),a.parent=n,e){for(o=a,s=n;s&&!(`immediateRender`in o);)o=s.vars.defaults||{},s=yr(s.vars.inherit)&&s.parent;a.immediateRender=yr(o.immediateRender),e<2?a.runBackwards=1:a.startAt=t[i-1]}return new H(t[0],a,t[i+1])},qi=function(e,t){return e||e===0?t(e):t},Ji=function(e,t,n){return n<e?e:n>t?t:n},Yi=function(e,t){return!mr(e)||!(t=Mr.exec(e))?``:t[1]},Xi=function(e,t,n){return qi(n,function(n){return Ji(e,t,n)})},Zi=[].slice,Qi=function(e,t){return e&&vr(e)&&`length`in e&&(!t&&!e.length||e.length-1 in e&&vr(e[0]))&&!e.nodeType&&e!==Pr},$i=function(e,t,n){return n===void 0&&(n=[]),e.forEach(function(e){var r;return mr(e)&&!t||Qi(e,1)?(r=n).push.apply(r,ea(e)):n.push(e)})||n},ea=function(e,t,n){return ar&&!t&&ar.selector?ar.selector(e):mr(e)&&!n&&(Fr||!Na())?Zi.call((t||Ir).querySelectorAll(e),0):Cr(e)?$i(e,n):Qi(e)?Zi.call(e,0):e?[e]:[]},ta=function(e){return e=ea(e)[0]||Hr(`Invalid scope`)||{},function(t){var n=e.current||e.nativeElement||e;return ea(t,n.querySelectorAll?n:n===e?Hr(`Invalid scope`)||Ir.createElement(`div`):e)}},na=function(e){return e.sort(function(){return .5-Math.random()})},ra=function(e){if(hr(e))return e;var t=vr(e)?e:{each:e},n=Va(t.ease),r=t.from||0,i=parseFloat(t.base)||0,a={},o=r>0&&r<1,s=isNaN(r)||o,c=t.axis,l=r,u=r;return mr(r)?l=u={center:.5,edges:.5,end:1}[r]||0:!o&&s&&(l=r[0],u=r[1]),function(e,o,d){var f=(d||t).length,p=a[f],m,h,g,_,v,y,b,x,S;if(!p){if(S=t.grid===`auto`?0:(t.grid||[1,or])[1],!S){for(b=-or;b<(b=d[S++].getBoundingClientRect().left)&&S<f;);S<f&&S--}for(p=a[f]=[],m=s?Math.min(S,f)*l-.5:r%S,h=S===or?0:s?f*u/S-.5:r/S|0,b=0,x=or,y=0;y<f;y++)g=y%S-m,_=h-(y/S|0),p[y]=v=c?Math.abs(c===`y`?_:g):dr(g*g+_*_),v>b&&(b=v),v<x&&(x=v);r===`random`&&na(p),p.max=b-x,p.min=x,p.v=f=(parseFloat(t.amount)||parseFloat(t.each)*(S>f?f-1:c?c===`y`?f/S:S:Math.max(S,f/S))||0)*(r===`edges`?-1:1),p.b=f<0?i-f:i,p.u=Yi(t.amount||t.each)||0,n=n&&f<0?Ba(n):n}return f=(p[e]-p.min)/p.max||0,ci(p.b+(n?n(f):f)*p.v)+p.u}},ia=function(e){var t=10**((e+``).split(`.`)[1]||``).length;return function(n){var r=ci(Math.round(parseFloat(n)/e)*e*t);return(r-r%1)/t+(gr(n)?0:Yi(n))}},aa=function(e,t){var n=Cr(e),r,i;return!n&&vr(e)&&(r=n=e.radius||or,e.values?(e=ea(e.values),(i=!gr(e[0]))&&(r*=r)):e=ia(e.increment)),qi(t,n?hr(e)?function(t){return i=e(t),Math.abs(i-t)<=r?i:t}:function(t){for(var n=parseFloat(i?t.x:t),a=parseFloat(i?t.y:0),o=or,s=0,c=e.length,l,u;c--;)i?(l=e[c].x-n,u=e[c].y-a,l=l*l+u*u):l=Math.abs(e[c]-n),l<o&&(o=l,s=c);return s=!r||o<=r?e[s]:t,i||s===t||gr(t)?s:s+Yi(t)}:ia(e))},oa=function(e,t,n,r){return qi(Cr(e)?!t:n===!0?!!(n=0):!r,function(){return Cr(e)?e[~~(Math.random()*e.length)]:(n||=1e-5)&&(r=n<1?10**((n+``).length-2):1)&&Math.floor(Math.round((e-n/2+Math.random()*(t-e+n*.99))/n)*n*r)/r})},sa=function(){var e=[...arguments];return function(t){return e.reduce(function(e,t){return t(e)},t)}},ca=function(e,t){return function(n){return e(parseFloat(n))+(t||Yi(n))}},la=function(e,t,n){return ma(e,t,0,1,n)},ua=function(e,t,n){return qi(n,function(n){return e[~~t(n)]})},da=function e(t,n,r){var i=n-t;return Cr(t)?ua(t,e(0,t.length),n):qi(r,function(e){return(i+(e-t)%i)%i+t})},fa=function e(t,n,r){var i=n-t,a=i*2;return Cr(t)?ua(t,e(0,t.length-1),n):qi(r,function(e){return e=(a+(e-t)%a)%a||0,t+(e>i?a-e:e)})},pa=function(e){return e.replace(wr,function(e){var t=e.indexOf(`[`)+1,n=e.substring(t||7,t?e.indexOf(`]`):e.length-1).split(Tr);return oa(t?n:+n[0],t?0:+n[1],+n[2]||1e-5)})},ma=function(e,t,n,r,i){var a=t-e,o=r-n;return qi(i,function(t){return n+((t-e)/a*o||0)})},ha=function e(t,n,r,i){var a=isNaN(t+n)?0:function(e){return(1-e)*t+e*n};if(!a){var o=mr(t),s={},c,l,u,d,f;if(r===!0&&(i=1)&&(r=null),o)t={p:t},n={p:n};else if(Cr(t)&&!Cr(n)){for(u=[],d=t.length,f=d-2,l=1;l<d;l++)u.push(e(t[l-1],t[l]));d--,a=function(e){e*=d;var t=Math.min(f,~~e);return u[t](e-t)},r=n}else i||(t=vi(Cr(t)?[]:{},t));if(!u){for(c in n)Xa.call(s,t,c,`get`,n[c]);a=function(e){return go(e,s)||(o?t.p:t)}}}return qi(r,a)},ga=function(e,t,n){var r=e.labels,i=or,a,o,s;for(a in r)o=r[a]-t,o<0==!!n&&o&&i>(o=Math.abs(o))&&(s=a,i=o);return s},_a=function(e,t,n){var r=e.vars,i=r[t],a=ar,o=e._ctx,s,c,l;if(i)return s=r[t+`Params`],c=r.callbackScope||e,n&&Yr.length&&di(),o&&(ar=o),l=s?i.apply(c,s):i.call(c),ar=a,l},va=function(e){return Ti(e),e.scrollTrigger&&e.scrollTrigger.kill(!!ir),e.progress()<1&&_a(e,`onInterrupt`),e},ya,ba=[],xa=function(e){if(e)if(e=!e.name&&e.default||e,br()||e.headless){var t=e.name,n=hr(e),r=t&&!n&&e.init?function(){this._props=[]}:e,i={init:Wr,render:go,add:Xa,kill:vo,modifier:_o,rawVars:0},a={targetTest:0,get:0,getSetter:fo,aliases:{},register:0};if(Na(),e!==r){if(Qr[t])return;gi(r,gi(bi(e,i),a)),vi(r.prototype,vi(i,bi(e,a))),Qr[r.prop=t]=r,e.targetTest&&(ti.push(r),Jr[t]=1),t=(t===`css`?`CSS`:t.charAt(0).toUpperCase()+t.substr(1))+`Plugin`}Ur(t,r),e.register&&e.register(Fo,r,xo)}else ba.push(e)},Sa=255,Ca={aqua:[0,Sa,Sa],lime:[0,Sa,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Sa],navy:[0,0,128],white:[Sa,Sa,Sa],olive:[128,128,0],yellow:[Sa,Sa,0],orange:[Sa,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Sa,0,0],pink:[Sa,192,203],cyan:[0,Sa,Sa],transparent:[Sa,Sa,Sa,0]},wa=function(e,t,n){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(n-t)*e*6:e<.5?n:e*3<2?t+(n-t)*(2/3-e)*6:t)*Sa+.5|0},Ta=function(e,t,n){var r=e?gr(e)?[e>>16,e>>8&Sa,e&Sa]:0:Ca.black,i,a,o,s,c,l,u,d,f,p;if(!r){if(e.substr(-1)===`,`&&(e=e.substr(0,e.length-1)),Ca[e])r=Ca[e];else if(e.charAt(0)===`#`){if(e.length<6&&(i=e.charAt(1),a=e.charAt(2),o=e.charAt(3),e=`#`+i+i+a+a+o+o+(e.length===5?e.charAt(4)+e.charAt(4):``)),e.length===9)return r=parseInt(e.substr(1,6),16),[r>>16,r>>8&Sa,r&Sa,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),r=[e>>16,e>>8&Sa,e&Sa]}else if(e.substr(0,3)===`hsl`){if(r=p=e.match(Er),!t)s=r[0]%360/360,c=r[1]/100,l=r[2]/100,a=l<=.5?l*(c+1):l+c-l*c,i=l*2-a,r.length>3&&(r[3]*=1),r[0]=wa(s+1/3,i,a),r[1]=wa(s,i,a),r[2]=wa(s-1/3,i,a);else if(~e.indexOf(`=`))return r=e.match(Dr),n&&r.length<4&&(r[3]=1),r}else r=e.match(Er)||Ca.transparent;r=r.map(Number)}return t&&!p&&(i=r[0]/Sa,a=r[1]/Sa,o=r[2]/Sa,u=Math.max(i,a,o),d=Math.min(i,a,o),l=(u+d)/2,u===d?s=c=0:(f=u-d,c=l>.5?f/(2-u-d):f/(u+d),s=u===i?(a-o)/f+(a<o?6:0):u===a?(o-i)/f+2:(i-a)/f+4,s*=60),r[0]=~~(s+.5),r[1]=~~(c*100+.5),r[2]=~~(l*100+.5)),n&&r.length<4&&(r[3]=1),r},Ea=function(e){var t=[],n=[],r=-1;return e.split(Oa).forEach(function(e){var i=e.match(Or)||[];t.push.apply(t,i),n.push(r+=i.length+1)}),t.c=n,t},Da=function(e,t,n){var r=``,i=(e+r).match(Oa),a=t?`hsla(`:`rgba(`,o=0,s,c,l,u;if(!i)return e;if(i=i.map(function(e){return(e=Ta(e,t,1))&&a+(t?e[0]+`,`+e[1]+`%,`+e[2]+`%,`+e[3]:e.join(`,`))+`)`}),n&&(l=Ea(e),s=n.c,s.join(r)!==l.c.join(r)))for(c=e.replace(Oa,`1`).split(Or),u=c.length-1;o<u;o++)r+=c[o]+(~s.indexOf(o)?i.shift()||a+`0,0,0,0)`:(l.length?l:i.length?i:n).shift());if(!c)for(c=e.split(Oa),u=c.length-1;o<u;o++)r+=c[o]+i[o];return r+c[u]},Oa=function(){var e=`(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b`,t;for(t in Ca)e+=`|`+t+`\\b`;return RegExp(e+`)`,`gi`)}(),ka=/hsl[a]?\(/,Aa=function(e){var t=e.join(` `),n;if(Oa.lastIndex=0,Oa.test(t))return n=ka.test(t),e[1]=Da(e[1],n),e[0]=Da(e[0],n,Ea(e[1])),!0},ja,Ma=function(){var e=Date.now,t=500,n=33,r=e(),i=r,a=1e3/240,o=a,s=[],c,l,u,d,f,p,m=function u(m){var h=e()-i,g=m===!0,_,v,y,b;if((h>t||h<0)&&(r+=h-n),i+=h,y=i-r,_=y-o,(_>0||g)&&(b=++d.frame,f=y-d.time*1e3,d.time=y/=1e3,o+=_+(_>=a?4:a-_),v=1),g||(c=l(u)),v)for(p=0;p<s.length;p++)s[p](y,f,b,m)};return d={time:0,frame:0,tick:function(){m(!0)},deltaRatio:function(e){return f/(1e3/(e||60))},wake:function(){zr&&(!Fr&&br()&&(Pr=Fr=window,Ir=Pr.document||{},Lr.gsap=Fo,(Pr.gsapVersions||=[]).push(Fo.version),Br(Rr||Pr.GreenSockGlobals||!Pr.gsap&&Pr||{}),ba.forEach(xa)),u=typeof requestAnimationFrame<`u`&&requestAnimationFrame,c&&d.sleep(),l=u||function(e){return setTimeout(e,o-d.time*1e3+1|0)},ja=1,m(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(c),ja=0,l=Wr},lagSmoothing:function(e,r){t=e||1/0,n=Math.min(r||33,t)},fps:function(e){a=1e3/(e||240),o=d.time*1e3+a},add:function(e,t,n){var r=t?function(t,n,i,a){e(t,n,i,a),d.remove(r)}:e;return d.remove(e),s[n?`unshift`:`push`](r),Na(),r},remove:function(e,t){~(t=s.indexOf(e))&&s.splice(t,1)&&p>=t&&p--},_listeners:s},d}(),Na=function(){return!ja&&Ma.wake()},Pa={},Fa=/^[\d.\-M][\d.\-,\s]/,Ia=/["']/g,La=function(e){for(var t={},n=e.substr(1,e.length-3).split(`:`),r=n[0],i=1,a=n.length,o,s,c;i<a;i++)s=n[i],o=i===a-1?s.length:s.lastIndexOf(`,`),c=s.substr(0,o),t[r]=isNaN(c)?c.replace(Ia,``).trim():+c,r=s.substr(o+1).trim();return t},Ra=function(e){var t=e.indexOf(`(`)+1,n=e.indexOf(`)`),r=e.indexOf(`(`,t);return e.substring(t,~r&&r<n?e.indexOf(`)`,n+1):n)},za=function(e){var t=(e+``).split(`(`),n=Pa[t[0]];return n&&t.length>1&&n.config?n.config.apply(null,~e.indexOf(`{`)?[La(t[1])]:Ra(e).split(`,`).map(mi)):Pa._CE&&Fa.test(e)?Pa._CE(``,e):n},Ba=function(e){return function(t){return 1-e(1-t)}},Va=function(e,t){return e&&(hr(e)?e:Pa[e]||za(e))||t},Ha=function(e,t,n,r){n===void 0&&(n=function(e){return 1-t(1-e)}),r===void 0&&(r=function(e){return e<.5?t(e*2)/2:1-t((1-e)*2)/2});var i={easeIn:t,easeOut:n,easeInOut:r},a;return oi(e,function(e){for(var t in Pa[e]=Lr[e]=i,Pa[a=e.toLowerCase()]=n,i)Pa[a+(t===`easeIn`?`.in`:t===`easeOut`?`.out`:`.inOut`)]=Pa[e+`.`+t]=i[t]}),i},Ua=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},Wa=function e(t,n,r){var i=n>=1?n:1,a=(r||(t?.3:.45))/(n<1?n:1),o=a/cr*(Math.asin(1/i)||0),s=function(e){return e===1?1:i*2**(-10*e)*pr((e-o)*a)+1},c=t===`out`?s:t===`in`?function(e){return 1-s(1-e)}:Ua(s);return a=cr/a,c.config=function(n,r){return e(t,n,r)},c},Ga=function e(t,n){n===void 0&&(n=1.70158);var r=function(e){return e?--e*e*((n+1)*e+n)+1:0},i=t===`out`?r:t===`in`?function(e){return 1-r(1-e)}:Ua(r);return i.config=function(n){return e(t,n)},i};oi(`Linear,Quad,Cubic,Quart,Quint,Strong`,function(e,t){var n=t<5?t+1:t;Ha(e+`,Power`+(n-1),t?function(e){return e**+n}:function(e){return e},function(e){return 1-(1-e)**n},function(e){return e<.5?(e*2)**n/2:1-((1-e)*2)**n/2})}),Pa.Linear.easeNone=Pa.none=Pa.Linear.easeIn,Ha(`Elastic`,Wa(`in`),Wa(`out`),Wa()),(function(e,t){var n=1/t,r=2*n,i=2.5*n,a=function(a){return a<n?e*a*a:a<r?e*(a-1.5/t)**2+.75:a<i?e*(a-=2.25/t)*a+.9375:e*(a-2.625/t)**2+.984375};Ha(`Bounce`,function(e){return 1-a(1-e)},a)})(7.5625,2.75),Ha(`Expo`,function(e){return 2**(10*(e-1))*e+e*e*e*e*e*e*(1-e)}),Ha(`Circ`,function(e){return-(dr(1-e*e)-1)}),Ha(`Sine`,function(e){return e===1?1:-fr(e*lr)+1}),Ha(`Back`,Ga(`in`),Ga(`out`),Ga()),Pa.SteppedEase=Pa.steps=Lr.SteppedEase={config:function(e,t){e===void 0&&(e=1);var n=1/e,r=e+ +!t,i=+!!t,a=1-sr;return function(e){return((r*Ji(0,a,e)|0)+i)*n}}},nr.ease=Pa[`quad.out`],oi(`onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt`,function(e){return ni+=e+`,`+e+`Params,`});var Ka=function(e,t){this.id=ur++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:ai,this.set=t?t.getSetter:fo},qa=function(){function e(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,Hi(this,+e.duration,1,1),this.data=e.data,ar&&(this._ctx=ar,ar.data.push(this)),ja||Ma.wake()}var t=e.prototype;return t.delay=function(e){return e||e===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+e-this._delay),this._delay=e,this):this._delay},t.duration=function(e){return arguments.length?this.totalDuration(this._repeat>0?e+(e+this._rDelay)*this._repeat:e):this.totalDuration()&&this._dur},t.totalDuration=function(e){return arguments.length?(this._dirty=0,Hi(this,this._repeat<0?e:(e-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(e,t){if(Na(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(Ni(this,e),!n._dp||n.parent||Pi(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&e<this._tDur||this._ts<0&&e>0||!this._tDur&&!e)&&Fi(this._dp,this,this._start-this._delay)}return(this._tTime!==e||!this._dur&&!t||this._initted&&Math.abs(this._zTime)===sr||!this._initted&&this._dur&&e||!e&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=e),pi(this,e,t)),this},t.time=function(e,t){return arguments.length?this.totalTime(Math.min(this.totalDuration(),e+Ai(this))%(this._dur+this._rDelay)||(e?this._dur:0),t):this._time},t.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},t.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-e:e)+Ai(this),t):this.duration()?Math.min(1,this._time/this._dur):+(this.rawTime()>0)},t.iteration=function(e,t){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(e-1)*n,t):this._repeat?ji(this._tTime,n)+1:1},t.timeScale=function(e,t){if(!arguments.length)return this._rts===-sr?0:this._rts;if(this._rts===e)return this;var n=this.parent&&this._ts?Mi(this.parent._time,this):this._tTime;return this._rts=+e||0,this._ts=this._ps||e===-sr?0:this._rts,this.totalTime(Ji(-Math.abs(this._delay),this.totalDuration(),n),t!==!1),V(this),Di(this)},t.paused=function(e){return arguments.length?(this._ps!==e&&(this._ps=e,e?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Na(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==sr&&(this._tTime-=sr)))),this):this._ps},t.startTime=function(e){if(arguments.length){this._start=ci(e);var t=this.parent||this._dp;return t&&(t._sort||!this.parent)&&Fi(t,this,this._start-this._delay),this}return this._start},t.endTime=function(e){return this._start+(yr(e)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(e){var t=this.parent||this._dp;return t?e&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Mi(t.rawTime(e),this):this._tTime:this._tTime},t.revert=function(e){e===void 0&&(e=qr);var t=ir;return ir=e,fi(this)&&(this.timeline&&this.timeline.revert(e),this.totalTime(-.01,e.suppressEvents)),this.data!==`nested`&&e.kill!==!1&&this.kill(),ir=t,this},t.globalTime=function(e){for(var t=this,n=arguments.length?e:t.rawTime();t;)n=t._start+n/(Math.abs(t._ts)||1),t=t._dp;return!this.parent&&this._sat?this._sat.globalTime(e):n},t.repeat=function(e){return arguments.length?(this._repeat=e===1/0?-2:e,Ui(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(e){if(arguments.length){var t=this._time;return this._rDelay=e,Ui(this),t?this.time(t):this}return this._rDelay},t.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},t.seek=function(e,t){return this.totalTime(Gi(this,e),yr(t))},t.restart=function(e,t){return this.play().totalTime(e?-this._delay:0,yr(t)),this._dur||(this._zTime=-sr),this},t.play=function(e,t){return e!=null&&this.seek(e,t),this.reversed(!1).paused(!1)},t.reverse=function(e,t){return e!=null&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},t.pause=function(e,t){return e!=null&&this.seek(e,t),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(e){return arguments.length?(!!e!==this.reversed()&&this.timeScale(-this._rts||(e?-sr:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-sr,this},t.isActive=function(){var e=this.parent||this._dp,t=this._start,n;return!!(!e||this._ts&&this._initted&&e.isActive()&&(n=e.rawTime(!0))>=t&&n<this.endTime(!0)-sr)},t.eventCallback=function(e,t,n){var r=this.vars;return arguments.length>1?(t?(r[e]=t,n&&(r[e+`Params`]=n),e===`onUpdate`&&(this._onUpdate=t)):delete r[e],this):r[e]},t.then=function(e){var t=this,n=t._prom;return new Promise(function(r){var i=hr(e)?e:hi,a=function(){var e=t.then;t.then=null,n&&n(),hr(i)&&(i=i(t))&&(i.then||i===t)&&(t.then=e),r(i),t.then=e};t._initted&&t.totalProgress()===1&&t._ts>=0||!t._tTime&&t._ts<0?a():t._prom=a})},t.kill=function(){va(this)},e}();gi(qa.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-sr,_prom:0,_ps:!1,_rts:1});var Ja=function(e){er(t,e);function t(t,n){var r;return t===void 0&&(t={}),r=e.call(this,t)||this,r.labels={},r.smoothChildTiming=!!t.smoothChildTiming,r.autoRemoveChildren=!!t.autoRemoveChildren,r._sort=yr(t.sortChildren),Nr&&Fi(t.parent||Nr,$n(r),n),t.reversed&&r.reverse(),t.paused&&r.paused(!0),t.scrollTrigger&&Ii($n(r),t.scrollTrigger),r}var n=t.prototype;return n.to=function(e,t,n){return Ki(0,arguments,this),this},n.from=function(e,t,n){return Ki(1,arguments,this),this},n.fromTo=function(e,t,n,r){return Ki(2,arguments,this),this},n.set=function(e,t,n){return t.duration=0,t.parent=this,xi(t).repeatDelay||(t.repeat=0),t.immediateRender=!!t.immediateRender,new H(e,t,Gi(this,n),1),this},n.call=function(e,t,n){return Fi(this,H.delayedCall(0,e,t),n)},n.staggerTo=function(e,t,n,r,i,a,o){return n.duration=t,n.stagger=n.stagger||r,n.onComplete=a,n.onCompleteParams=o,n.parent=this,new H(e,n,Gi(this,i)),this},n.staggerFrom=function(e,t,n,r,i,a,o){return n.runBackwards=1,xi(n).immediateRender=yr(n.immediateRender),this.staggerTo(e,t,n,r,i,a,o)},n.staggerFromTo=function(e,t,n,r,i,a,o,s){return r.startAt=n,xi(r).immediateRender=yr(r.immediateRender),this.staggerTo(e,t,r,i,a,o,s)},n.render=function(e,t,n){var r=this._time,i=this._dirty?this.totalDuration():this._tDur,a=this._dur,o=e<=0?0:ci(e),s=this._zTime<0!=e<0&&(this._initted||!a),c,l,u,d,f,p,m,h,g,_,v,y;if(this!==Nr&&o>i&&e>=0&&(o=i),o!==this._tTime||n||s){if(r!==this._time&&a&&(o+=this._time-r,e+=this._time-r),c=o,g=this._start,h=this._ts,p=!h,s&&(a||(r=this._zTime),(e||!t)&&(this._zTime=e)),this._repeat){if(v=this._yoyo,f=a+this._rDelay,this._repeat<-1&&e<0)return this.totalTime(f*100+e,t,n);if(c=ci(o%f),o===i?(d=this._repeat,c=a):(_=ci(o/f),d=~~_,d&&d===_&&(c=a,d--),c>a&&(c=a)),_=ji(this._tTime,f),!r&&this._tTime&&_!==d&&this._tTime-_*f-this._dur<=0&&(_=d),v&&d&1&&(c=a-c,y=1),d!==_&&!this._lock){var b=v&&_&1,x=b===(v&&d&1);if(d<_&&(b=!b),r=b?0:o%a?a:o,this._lock=1,this.render(r||(y?0:ci(d*f)),t,!a)._lock=0,this._tTime=o,!t&&this.parent&&_a(this,`onRepeat`),this.vars.repeatRefresh&&!y&&(this.invalidate()._lock=1,_=d),r&&r!==this._time||p!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act||(a=this._dur,i=this._tDur,x&&(this._lock=2,r=b?a:-1e-4,this.render(r,!0),this.vars.repeatRefresh&&!y&&this.invalidate()),this._lock=0,!this._ts&&!p))return this}}if(this._hasPause&&!this._forcing&&this._lock<2&&(m=Vi(this,ci(r),ci(c)),m&&(o-=c-(c=m._start))),this._tTime=o,this._time=c,this._act=!!h,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=e,r=0),!r&&o&&a&&!t&&!_&&(_a(this,`onStart`),this._tTime!==o))return this;if(c>=r&&e>=0)for(l=this._first;l;){if(u=l._next,(l._act||c>=l._start)&&l._ts&&m!==l){if(l.parent!==this)return this.render(e,t,n);if(l.render(l._ts>0?(c-l._start)*l._ts:(l._dirty?l.totalDuration():l._tDur)+(c-l._start)*l._ts,t,n),c!==this._time||!this._ts&&!p){m=0,u&&(o+=this._zTime=-sr);break}}l=u}else{l=this._last;for(var S=e<0?e:c;l;){if(u=l._prev,(l._act||S<=l._end)&&l._ts&&m!==l){if(l.parent!==this)return this.render(e,t,n);if(l.render(l._ts>0?(S-l._start)*l._ts:(l._dirty?l.totalDuration():l._tDur)+(S-l._start)*l._ts,t,n||ir&&fi(l)),c!==this._time||!this._ts&&!p){m=0,u&&(o+=this._zTime=S?-sr:sr);break}}l=u}}if(m&&!t&&(this.pause(),m.render(c>=r?0:-sr)._zTime=c>=r?1:-1,this._ts))return this._start=g,V(this),this.render(e,t,n);this._onUpdate&&!t&&_a(this,`onUpdate`,!0),(o===i&&this._tTime>=this.totalDuration()||!o&&r)&&(g===this._start||Math.abs(h)!==Math.abs(this._ts))&&(this._lock||((e||!a)&&(o===i&&this._ts>0||!o&&this._ts<0)&&Ti(this,1),!t&&!(e<0&&!r)&&(o||r||!i)&&(_a(this,o===i&&e>=0?`onComplete`:`onReverseComplete`,!0),this._prom&&!(o<i&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(e,t){var n=this;if(gr(t)||(t=Gi(this,t,e)),!(e instanceof qa)){if(Cr(e))return e.forEach(function(e){return n.add(e,t)}),this;if(mr(e))return this.addLabel(e,t);if(hr(e))e=H.delayedCall(0,e);else return this}return this===e?this:Fi(this,e,t)},n.getChildren=function(e,t,n,r){e===void 0&&(e=!0),t===void 0&&(t=!0),n===void 0&&(n=!0),r===void 0&&(r=-or);for(var i=[],a=this._first;a;)a._start>=r&&(a instanceof H?t&&i.push(a):(n&&i.push(a),e&&i.push.apply(i,a.getChildren(!0,t,n)))),a=a._next;return i},n.getById=function(e){for(var t=this.getChildren(1,1,1),n=t.length;n--;)if(t[n].vars.id===e)return t[n]},n.remove=function(e){return mr(e)?this.removeLabel(e):hr(e)?this.killTweensOf(e):(e.parent===this&&wi(this,e),e===this._recent&&(this._recent=this._last),Ei(this))},n.totalTime=function(t,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=ci(Ma.time-(this._ts>0?t/this._ts:(this.totalDuration()-t)/-this._ts))),e.prototype.totalTime.call(this,t,n),this._forcing=0,this):this._tTime},n.addLabel=function(e,t){return this.labels[e]=Gi(this,t),this},n.removeLabel=function(e){return delete this.labels[e],this},n.addPause=function(e,t,n){var r=H.delayedCall(0,t||Wr,n);return r.data=`isPause`,this._hasPause=1,Fi(this,r,Gi(this,e))},n.removePause=function(e){var t=this._first;for(e=Gi(this,e);t;)t._start===e&&t.data===`isPause`&&Ti(t),t=t._next},n.killTweensOf=function(e,t,n){for(var r=this.getTweensOf(e,n),i=r.length;i--;)$a!==r[i]&&r[i].kill(e,t);return this},n.getTweensOf=function(e,t){for(var n=[],r=ea(e),i=this._first,a=gr(t),o;i;)i instanceof H?ui(i._targets,r)&&(a?(!$a||i._initted&&i._ts)&&i.globalTime(0)<=t&&i.globalTime(i.totalDuration())>t:!t||i.isActive())&&n.push(i):(o=i.getTweensOf(r,t)).length&&n.push.apply(n,o),i=i._next;return n},n.tweenTo=function(e,t){t||={};var n=this,r=Gi(n,e),i=t,a=i.startAt,o=i.onStart,s=i.onStartParams,c=i.immediateRender,l,u=H.to(n,gi({ease:t.ease||`none`,lazy:!1,immediateRender:!1,time:r,overwrite:`auto`,duration:t.duration||Math.abs((r-(a&&`time`in a?a.time:n._time))/n.timeScale())||sr,onStart:function(){if(n.pause(),!l){var e=t.duration||Math.abs((r-(a&&`time`in a?a.time:n._time))/n.timeScale());u._dur!==e&&Hi(u,e,0,1).render(u._time,!0,!0),l=1}o&&o.apply(u,s||[])}},t));return c?u.render(0):u},n.tweenFromTo=function(e,t,n){return this.tweenTo(t,gi({startAt:{time:Gi(this,e)}},n))},n.recent=function(){return this._recent},n.nextLabel=function(e){return e===void 0&&(e=this._time),ga(this,Gi(this,e))},n.previousLabel=function(e){return e===void 0&&(e=this._time),ga(this,Gi(this,e),1)},n.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.previousLabel(this._time+sr)},n.shiftChildren=function(e,t,n){n===void 0&&(n=0);var r=this._first,i=this.labels,a;for(e=ci(e);r;)r._start>=n&&(r._start+=e,r._end+=e),r=r._next;if(t)for(a in i)i[a]>=n&&(i[a]+=e);return Ei(this)},n.invalidate=function(t){var n=this._first;for(this._lock=0;n;)n.invalidate(t),n=n._next;return e.prototype.invalidate.call(this,t)},n.clear=function(e){e===void 0&&(e=!0);for(var t=this._first,n;t;)n=t._next,this.remove(t),t=n;return this._dp&&(this._time=this._tTime=this._pTime=0),e&&(this.labels={}),Ei(this)},n.totalDuration=function(e){var t=0,n=this,r=n._last,i=or,a,o,s;if(arguments.length)return n.timeScale((n._repeat<0?n.duration():n.totalDuration())/(n.reversed()?-e:e));if(n._dirty){for(s=n.parent;r;)a=r._prev,r._dirty&&r.totalDuration(),o=r._start,o>i&&n._sort&&r._ts&&!n._lock?(n._lock=1,Fi(n,r,o-r._delay,1)._lock=0):i=o,o<0&&r._ts&&(t-=o,(!s&&!n._dp||s&&s.smoothChildTiming)&&(n._start+=ci(o/n._ts),n._time-=o,n._tTime-=o),n.shiftChildren(-o,!1,-1/0),i=0),r._end>t&&r._ts&&(t=r._end),r=a;Hi(n,n===Nr&&n._time>t?n._time:t,1,1),n._dirty=0}return n._tDur},t.updateRoot=function(e){if(Nr._ts&&(pi(Nr,Mi(e,Nr)),Zr=Ma.frame),Ma.frame>=ei){ei+=tr.autoSleep||120;var t=Nr._first;if((!t||!t._ts)&&tr.autoSleep&&Ma._listeners.length<2){for(;t&&!t._ts;)t=t._next;t||Ma.sleep()}}},t}(qa);gi(Ja.prototype,{_lock:0,_hasPause:0,_forcing:0});var Ya=function(e,t,n,r,i,a,o){var s=new xo(this._pt,e,t,0,1,ho,null,i),c=0,l=0,u,d,f,p,m,h,g,_;for(s.b=n,s.e=r,n+=``,r+=``,(g=~r.indexOf(`random(`))&&(r=pa(r)),a&&(_=[n,r],a(_,e,t),n=_[0],r=_[1]),d=n.match(kr)||[];u=kr.exec(r);)p=u[0],m=r.substring(c,u.index),f?f=(f+1)%5:m.substr(-5)===`rgba(`&&(f=1),p!==d[l++]&&(h=parseFloat(d[l-1])||0,s._pt={_next:s._pt,p:m||l===1?m:`,`,s:h,c:p.charAt(1)===`=`?li(h,p)-h:parseFloat(p)-h,m:f&&f<4?Math.round:0},c=kr.lastIndex);return s.c=c<r.length?r.substring(c,r.length):``,s.fp=o,(Ar.test(r)||g)&&(s.e=0),this._pt=s,s},Xa=function(e,t,n,r,i,a,o,s,c,l){hr(r)&&(r=r(i||0,e,a));var u=e[t],d=n===`get`?hr(u)?c?e[t.indexOf(`set`)||!hr(e[`get`+t.substr(3)])?t:`get`+t.substr(3)](c):e[t]():u:n,f=hr(u)?c?U:lo:co,p;if(mr(r)&&(~r.indexOf(`random(`)&&(r=pa(r)),r.charAt(1)===`=`&&(p=li(d,r)+(Yi(d)||0),(p||p===0)&&(r=p))),!l||d!==r||eo)return!isNaN(d*r)&&r!==``?(p=new xo(this._pt,e,t,+d||0,r-(d||0),typeof u==`boolean`?mo:po,0,f),c&&(p.fp=c),o&&p.modifier(o,this,e),this._pt=p):(!u&&!(t in e)&&Vr(t,r),Ya.call(this,e,t,d,r,f,s||tr.stringFilter,c))},Za=function(e,t,n,r,i){if(hr(e)&&(e=ao(e,i,t,n,r)),!vr(e)||e.style&&e.nodeType||Cr(e)||Sr(e))return mr(e)?ao(e,i,t,n,r):e;var a={},o;for(o in e)a[o]=ao(e[o],i,t,n,r);return a},Qa=function(e,t,n,r,i,a){var o,s,c,l;if(Qr[e]&&(o=new Qr[e]).init(i,o.rawVars?t[e]:Za(t[e],r,i,a,n),n,r,a)!==!1&&(n._pt=s=new xo(n._pt,i,e,0,1,o.render,o,0,o.priority),n!==ya))for(c=n._ptLookup[n._targets.indexOf(i)],l=o._props.length;l--;)c[o._props[l]]=s;return o},$a,eo,to=function e(t,n,r){var i=t.vars,a=i.ease,o=i.startAt,s=i.immediateRender,c=i.lazy,l=i.onUpdate,u=i.runBackwards,d=i.yoyoEase,f=i.keyframes,p=i.autoRevert,m=t._dur,h=t._startAt,g=t._targets,_=t.parent,v=_&&_.data===`nested`?_.vars.targets:g,y=t._overwrite===`auto`&&!rr,b=t.timeline,x=i.easeReverse||d,S,C,w,T,E,D,O,k,A,j,M,ee,N;if(b&&(!f||!a)&&(a=`none`),t._ease=Va(a,nr.ease),t._rEase=x&&(Va(x)||t._ease),t._from=!b&&!!i.runBackwards,t._from&&(t.ratio=1),!b||f&&!i.stagger){if(k=g[0]?ii(g[0]).harness:0,ee=k&&i[k.prop],S=bi(i,Jr),h&&(h._zTime<0&&h.progress(1),n<0&&u&&s&&!p?h.render(-1,!0):h.revert(u&&m?Kr:Gr),h._lazy=0),o){if(Ti(t._startAt=H.set(g,gi({data:`isStart`,overwrite:!1,parent:_,immediateRender:!0,lazy:!h&&yr(c),startAt:null,delay:0,onUpdate:l&&function(){return _a(t,`onUpdate`)},stagger:0},o))),t._startAt._dp=0,t._startAt._sat=t,n<0&&(ir||!s&&!p)&&t._startAt.revert(Kr),s&&m&&n<=0&&r<=0){n&&(t._zTime=n);return}}else if(u&&m&&!h){if(n&&(s=!1),w=gi({overwrite:!1,data:`isFromStart`,lazy:s&&!h&&yr(c),immediateRender:s,stagger:0,parent:_},S),ee&&(w[k.prop]=ee),Ti(t._startAt=H.set(g,w)),t._startAt._dp=0,t._startAt._sat=t,n<0&&(ir?t._startAt.revert(Kr):t._startAt.render(-1,!0)),t._zTime=n,!s)e(t._startAt,sr,sr);else if(!n)return}for(t._pt=t._ptCache=0,c=m&&yr(c)||c&&!m,C=0;C<g.length;C++){if(E=g[C],O=E._gsap||ri(g)[C]._gsap,t._ptLookup[C]=j={},Xr[O.id]&&Yr.length&&di(),M=v===g?C:v.indexOf(E),k&&(A=new k).init(E,ee||S,t,M,v)!==!1&&(t._pt=T=new xo(t._pt,E,A.name,0,1,A.render,A,0,A.priority),A._props.forEach(function(e){j[e]=T}),A.priority&&(D=1)),!k||ee)for(w in S)Qr[w]&&(A=Qa(w,S,t,M,E,v))?A.priority&&(D=1):j[w]=T=Xa.call(t,E,w,`get`,S[w],M,v,0,i.stringFilter);t._op&&t._op[C]&&t.kill(E,t._op[C]),y&&t._pt&&($a=t,Nr.killTweensOf(E,j,t.globalTime(n)),N=!t.parent,$a=0),t._pt&&c&&(Xr[O.id]=1)}D&&bo(t),t._onInit&&t._onInit(t)}t._onUpdate=l,t._initted=(!t._op||t._pt)&&!N,f&&n<=0&&b.render(or,!0,!0)},no=function(e,t,n,r,i,a,o,s){var c=(e._pt&&e._ptCache||(e._ptCache={}))[t],l,u,d,f;if(!c)for(c=e._ptCache[t]=[],d=e._ptLookup,f=e._targets.length;f--;){if(l=d[f][t],l&&l.d&&l.d._pt)for(l=l.d._pt;l&&l.p!==t&&l.fp!==t;)l=l._next;if(!l)return eo=1,e.vars[t]=`+=0`,to(e,o),eo=0,s?Hr(t+` not eligible for reset. Try splitting into individual properties`):1;c.push(l)}for(f=c.length;f--;)u=c[f],l=u._pt||u,l.s=(r||r===0)&&!i?r:l.s+(r||0)+a*l.c,l.c=n-l.s,u.e&&=si(n)+Yi(u.e),u.b&&=l.s+Yi(u.b)},ro=function(e,t){var n=e[0]?ii(e[0]).harness:0,r=n&&n.aliases,i,a,o,s;if(!r)return t;for(a in i=vi({},t),r)if(a in i)for(s=r[a].split(`,`),o=s.length;o--;)i[s[o]]=i[a];return i},io=function(e,t,n,r){var i=t.ease||r||`power1.inOut`,a,o;if(Cr(t))o=n[e]||(n[e]=[]),t.forEach(function(e,n){return o.push({t:n/(t.length-1)*100,v:e,e:i})});else for(a in t)o=n[a]||(n[a]=[]),a===`ease`||o.push({t:parseFloat(e),v:t[a],e:i})},ao=function(e,t,n,r,i){return hr(e)?e.call(t,n,r,i):mr(e)&&~e.indexOf(`random(`)?pa(e):e},oo=ni+`repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert`,so={};oi(oo+`,id,stagger,delay,duration,paused,scrollTrigger`,function(e){return so[e]=1});var H=function(e){er(t,e);function t(t,n,r,i){var a;typeof n==`number`&&(r.duration=n,n=r,r=null),a=e.call(this,i?n:xi(n))||this;var o=a.vars,s=o.duration,c=o.delay,l=o.immediateRender,u=o.stagger,d=o.overwrite,f=o.keyframes,p=o.defaults,m=o.scrollTrigger,h=n.parent||Nr,g=(Cr(t)||Sr(t)?gr(t[0]):`length`in n)?[t]:ea(t),_,v,y,b,x,S,C,w;if(a._targets=g.length?ri(g):Hr(`GSAP target `+t+` not found. https://gsap.com`,!tr.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=d,f||u||xr(s)||xr(c)){n=a.vars;var T=n.easeReverse||n.yoyoEase;if(_=a.timeline=new Ja({data:`nested`,defaults:p||{},targets:h&&h.data===`nested`?h.vars.targets:g}),_.kill(),_.parent=_._dp=$n(a),_._start=0,u||xr(s)||xr(c)){if(b=g.length,C=u&&ra(u),vr(u))for(x in u)~oo.indexOf(x)&&(w||={},w[x]=u[x]);for(v=0;v<b;v++)y=bi(n,so),y.stagger=0,T&&(y.easeReverse=T),w&&vi(y,w),S=g[v],y.duration=+ao(s,$n(a),v,S,g),y.delay=(+ao(c,$n(a),v,S,g)||0)-a._delay,!u&&b===1&&y.delay&&(a._delay=c=y.delay,a._start+=c,y.delay=0),_.to(S,y,C?C(v,S,g):0),_._ease=Pa.none;_.duration()?s=c=0:a.timeline=0}else if(f){xi(gi(_.vars.defaults,{ease:`none`})),_._ease=Va(f.ease||n.ease||`none`);var E=0,D,O,k;if(Cr(f))f.forEach(function(e){return _.to(g,e,`>`)}),_.duration();else{for(x in y={},f)x===`ease`||x===`easeEach`||io(x,f[x],y,f.easeEach);for(x in y)for(D=y[x].sort(function(e,t){return e.t-t.t}),E=0,v=0;v<D.length;v++)O=D[v],k={ease:O.e,duration:(O.t-(v?D[v-1].t:0))/100*s},k[x]=O.v,_.to(g,k,E),E+=k.duration;_.duration()<s&&_.to({},{duration:s-_.duration()})}}s||a.duration(s=_.duration())}else a.timeline=0;return d===!0&&!rr&&($a=$n(a),Nr.killTweensOf(g),$a=0),Fi(h,$n(a),r),n.reversed&&a.reverse(),n.paused&&a.paused(!0),(l||!s&&!f&&a._start===ci(h._time)&&yr(l)&&ki($n(a))&&h.data!==`nested`)&&(a._tTime=-sr,a.render(Math.max(0,-c)||0)),m&&Ii($n(a),m),a}var n=t.prototype;return n.render=function(e,t,n){var r=this._time,i=this._tDur,a=this._dur,o=e<0,s=e>i-sr&&!o?i:e<sr?0:e,c,l,u,d,f,p,m,h;if(!a)Bi(this,e,t,n);else if(s!==this._tTime||!e||n||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==o||this._lazy){if(c=s,h=this.timeline,this._repeat){if(d=a+this._rDelay,this._repeat<-1&&o)return this.totalTime(d*100+e,t,n);if(c=ci(s%d),s===i?(u=this._repeat,c=a):(f=ci(s/d),u=~~f,u&&u===f?(c=a,u--):c>a&&(c=a)),p=this._yoyo&&u&1,p&&(c=a-c),f=ji(this._tTime,d),c===r&&!n&&this._initted&&u===f)return this._tTime=s,this;u!==f&&this.vars.repeatRefresh&&!p&&!this._lock&&c!==d&&this._initted&&(this._lock=n=1,this.render(ci(d*u),!0).invalidate()._lock=0)}if(!this._initted){if(Li(this,o?e:c,n,t,s))return this._tTime=0,this;if(r!==this._time&&!(n&&this.vars.repeatRefresh&&u!==f))return this;if(a!==this._dur)return this.render(e,t,n)}if(this._rEase){var g=c<r;if(g!==this._inv){var _=g?r:a-r;this._inv=g,this._from&&(this.ratio=1-this.ratio),this._invRatio=this.ratio,this._invTime=r,this._invRecip=_?(g?-1:1)/_:0,this._invScale=g?-this.ratio:1-this.ratio,this._invEase=g?this._rEase:this._ease}this.ratio=m=this._invRatio+this._invScale*this._invEase((c-this._invTime)*this._invRecip)}else this.ratio=m=this._ease(c/a);if(this._from&&(this.ratio=m=1-m),this._tTime=s,this._time=c,!this._act&&this._ts&&(this._act=1,this._lazy=0),!r&&s&&!t&&!f&&(_a(this,`onStart`),this._tTime!==s))return this;for(l=this._pt;l;)l.r(m,l.d),l=l._next;h&&h.render(e<0?e:h._dur*h._ease(c/this._dur),t,n)||this._startAt&&(this._zTime=e),this._onUpdate&&!t&&(o&&Oi(this,e,t,n),_a(this,`onUpdate`)),this._repeat&&u!==f&&this.vars.onRepeat&&!t&&this.parent&&_a(this,`onRepeat`),(s===this._tDur||!s)&&this._tTime===s&&(o&&!this._onUpdate&&Oi(this,e,!0,!0),(e||!a)&&(s===this._tDur&&this._ts>0||!s&&this._ts<0)&&Ti(this,1),!t&&!(o&&!r)&&(s||r||p)&&(_a(this,s===i?`onComplete`:`onReverseComplete`,!0),this._prom&&!(s<i&&this.timeScale()>0)&&this._prom()))}return this},n.targets=function(){return this._targets},n.invalidate=function(t){return(!t||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),e.prototype.invalidate.call(this,t)},n.resetTo=function(e,t,n,r,i){ja||Ma.wake(),this._ts||this.play();var a=Math.min(this._dur,(this._dp._time-this._start)*this._ts),o;return this._initted||to(this,a),o=this._ease(a/this._dur),no(this,e,t,n,r,o,a,i)?this.resetTo(e,t,n,r,1):(Ni(this,0),this.parent||Ci(this._dp,this,`_first`,`_last`,this._dp._sort?`_start`:0),this.render(0))},n.kill=function(e,t){if(t===void 0&&(t=`all`),!e&&(!t||t===`all`))return this._lazy=this._pt=0,this.parent?va(this):this.scrollTrigger&&this.scrollTrigger.kill(!!ir),this;if(this.timeline){var n=this.timeline.totalDuration();return this.timeline.killTweensOf(e,t,$a&&$a.vars.overwrite!==!0)._first||va(this),this.parent&&n!==this.timeline.totalDuration()&&Hi(this,this._dur*this.timeline._tDur/n,0,1),this}var r=this._targets,i=e?ea(e):r,a=this._ptLookup,o=this._pt,s,c,l,u,d,f,p;if((!t||t===`all`)&&Si(r,i))return t===`all`&&(this._pt=0),va(this);for(s=this._op=this._op||[],t!==`all`&&(mr(t)&&(d={},oi(t,function(e){return d[e]=1}),t=d),t=ro(r,t)),p=r.length;p--;)if(~i.indexOf(r[p]))for(d in c=a[p],t===`all`?(s[p]=t,u=c,l={}):(l=s[p]=s[p]||{},u=t),u)f=c&&c[d],f&&((!(`kill`in f.d)||f.d.kill(d)===!0)&&wi(this,f,`_pt`),delete c[d]),l!==`all`&&(l[d]=1);return this._initted&&!this._pt&&o&&va(this),this},t.to=function(e,n){return new t(e,n,arguments[2])},t.from=function(e,t){return Ki(1,arguments)},t.delayedCall=function(e,n,r,i){return new t(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:e,onComplete:n,onReverseComplete:n,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},t.fromTo=function(e,t,n){return Ki(2,arguments)},t.set=function(e,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new t(e,n)},t.killTweensOf=function(e,t,n){return Nr.killTweensOf(e,t,n)},t}(qa);gi(H.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),oi(`staggerTo,staggerFrom,staggerFromTo`,function(e){H[e]=function(){var t=new Ja,n=Zi.call(arguments,0);return n.splice(e===`staggerFromTo`?5:4,0,0),t[e].apply(t,n)}});var co=function(e,t,n){return e[t]=n},lo=function(e,t,n){return e[t](n)},U=function(e,t,n,r){return e[t](r.fp,n)},uo=function(e,t,n){return e.setAttribute(t,n)},fo=function(e,t){return hr(e[t])?lo:_r(e[t])&&e.setAttribute?uo:co},po=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},mo=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},ho=function(e,t){var n=t._pt,r=``;if(!e&&t.b)r=t.b;else if(e===1&&t.e)r=t.e;else{for(;n;)r=n.p+(n.m?n.m(n.s+n.c*e):Math.round((n.s+n.c*e)*1e4)/1e4)+r,n=n._next;r+=t.c}t.set(t.t,t.p,r,t)},go=function(e,t){for(var n=t._pt;n;)n.r(e,n.d),n=n._next},_o=function(e,t,n,r){for(var i=this._pt,a;i;)a=i._next,i.p===r&&i.modifier(e,t,n),i=a},vo=function(e){for(var t=this._pt,n,r;t;)r=t._next,t.p===e&&!t.op||t.op===e?wi(this,t,`_pt`):t.dep||(n=1),t=r;return!n},yo=function(e,t,n,r){r.mSet(e,t,r.m.call(r.tween,n,r.mt),r)},bo=function(e){for(var t=e._pt,n,r,i,a;t;){for(n=t._next,r=i;r&&r.pr>t.pr;)r=r._next;(t._prev=r?r._prev:a)?t._prev._next=t:i=t,(t._next=r)?r._prev=t:a=t,t=n}e._pt=i},xo=function(){function e(e,t,n,r,i,a,o,s,c){this.t=t,this.s=r,this.c=i,this.p=n,this.r=a||po,this.d=o||this,this.set=s||co,this.pr=c||0,this._next=e,e&&(e._prev=this)}var t=e.prototype;return t.modifier=function(e,t,n){this.mSet=this.mSet||this.set,this.set=yo,this.m=e,this.mt=n,this.tween=t},e}();oi(ni+`parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger,easeReverse`,function(e){return Jr[e]=1}),Lr.TweenMax=Lr.TweenLite=H,Lr.TimelineLite=Lr.TimelineMax=Ja,Nr=new Ja({sortChildren:!1,defaults:nr,autoRemoveChildren:!0,id:`root`,smoothChildTiming:!0}),tr.stringFilter=Aa;var So=[],Co={},wo=[],To=0,Eo=0,Do=function(e){return(Co[e]||wo).map(function(e){return e()})},Oo=function(){var e=Date.now(),t=[];e-To>2&&(Do(`matchMediaInit`),So.forEach(function(e){var n=e.queries,r=e.conditions,i,a,o,s;for(a in n)i=Pr.matchMedia(n[a]).matches,i&&(o=1),i!==r[a]&&(r[a]=i,s=1);s&&(e.revert(),o&&t.push(e))}),Do(`matchMediaRevert`),t.forEach(function(e){return e.onMatch(e,function(t){return e.add(null,t)})}),To=e,Do(`matchMedia`))},ko=function(){function e(e,t){this.selector=t&&ta(t),this.data=[],this._r=[],this.isReverted=!1,this.id=Eo++,e&&this.add(e)}var t=e.prototype;return t.add=function(e,t,n){hr(e)&&(n=t,t=e,e=hr);var r=this,i=function(){var e=ar,i=r.selector,a;return e&&e!==r&&e.data.push(r),n&&(r.selector=ta(n)),ar=r,a=t.apply(r,arguments),hr(a)&&r._r.push(a),ar=e,r.selector=i,r.isReverted=!1,a};return r.last=i,e===hr?i(r,function(e){return r.add(null,e)}):e?r[e]=i:i},t.ignore=function(e){var t=ar;ar=null,e(this),ar=t},t.getTweens=function(){var t=[];return this.data.forEach(function(n){return n instanceof e?t.push.apply(t,n.getTweens()):n instanceof H&&!(n.parent&&n.parent.data===`nested`)&&t.push(n)}),t},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(e,t){var n=this;if(e?(function(){for(var t=n.getTweens(),r=n.data.length,i;r--;)i=n.data[r],i.data===`isFlip`&&(i.revert(),i.getChildren(!0,!0,!1).forEach(function(e){return t.splice(t.indexOf(e),1)}));for(t.map(function(e){return{g:e._dur||e._delay||e._sat&&!e._sat.vars.immediateRender?e.globalTime(0):-1/0,t:e}}).sort(function(e,t){return t.g-e.g||-1/0}).forEach(function(t){return t.t.revert(e)}),r=n.data.length;r--;)i=n.data[r],i instanceof Ja?i.data!==`nested`&&(i.scrollTrigger&&i.scrollTrigger.revert(),i.kill()):!(i instanceof H)&&i.revert&&i.revert(e);n._r.forEach(function(t){return t(e,n)}),n.isReverted=!0})():this.data.forEach(function(e){return e.kill&&e.kill()}),this.clear(),t)for(var r=So.length;r--;)So[r].id===this.id&&So.splice(r,1)},t.revert=function(e){this.kill(e||{})},e}(),Ao=function(){function e(e){this.contexts=[],this.scope=e,ar&&ar.data.push(this)}var t=e.prototype;return t.add=function(e,t,n){vr(e)||(e={matches:e});var r=new ko(0,n||this.scope),i=r.conditions={},a,o,s;for(o in ar&&!r.selector&&(r.selector=ar.selector),this.contexts.push(r),t=r.add(`onMatch`,t),r.queries=e,e)o===`all`?s=1:(a=Pr.matchMedia(e[o]),a&&(So.indexOf(r)<0&&So.push(r),(i[o]=a.matches)&&(s=1),a.addListener?a.addListener(Oo):a.addEventListener(`change`,Oo)));return s&&t(r,function(e){return r.add(null,e)}),this},t.revert=function(e){this.kill(e||{})},t.kill=function(e){this.contexts.forEach(function(t){return t.kill(e,!0)})},e}(),jo={registerPlugin:function(){[...arguments].forEach(function(e){return xa(e)})},timeline:function(e){return new Ja(e)},getTweensOf:function(e,t){return Nr.getTweensOf(e,t)},getProperty:function(e,t,n,r){mr(e)&&(e=ea(e)[0]);var i=ii(e||{}).get,a=n?hi:mi;return n===`native`&&(n=``),e&&(t?a((Qr[t]&&Qr[t].get||i)(e,t,n,r)):function(t,n,r){return a((Qr[t]&&Qr[t].get||i)(e,t,n,r))})},quickSetter:function(e,t,n){if(e=ea(e),e.length>1){var r=e.map(function(e){return Fo.quickSetter(e,t,n)}),i=r.length;return function(e){for(var t=i;t--;)r[t](e)}}e=e[0]||{};var a=Qr[t],o=ii(e),s=o.harness&&(o.harness.aliases||{})[t]||t,c=a?function(t){var r=new a;ya._pt=0,r.init(e,n?t+n:t,ya,0,[e]),r.render(1,r),ya._pt&&go(1,ya)}:o.set(e,s);return a?c:function(t){return c(e,s,n?t+n:t,o,1)}},quickTo:function(e,t,n){var r,i=Fo.to(e,gi((r={},r[t]=`+=0.1`,r.paused=!0,r.stagger=0,r),n||{})),a=function(e,n,r){return i.resetTo(t,e,n,r)};return a.tween=i,a},isTweening:function(e){return Nr.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Va(e.ease,nr.ease)),yi(nr,e||{})},config:function(e){return yi(tr,e||{})},registerEffect:function(e){var t=e.name,n=e.effect,r=e.plugins,i=e.defaults,a=e.extendTimeline;(r||``).split(`,`).forEach(function(e){return e&&!Qr[e]&&!Lr[e]&&Hr(t+` effect requires `+e+` plugin.`)}),$r[t]=function(e,t,r){return n(ea(e),gi(t||{},i),r)},a&&(Ja.prototype[t]=function(e,n,r){return this.add($r[t](e,vr(n)?n:(r=n)&&{},this),r)})},registerEase:function(e,t){Pa[e]=Va(t)},parseEase:function(e,t){return arguments.length?Va(e,t):Pa},getById:function(e){return Nr.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var n=new Ja(e),r,i;for(n.smoothChildTiming=yr(e.smoothChildTiming),Nr.remove(n),n._dp=0,n._time=n._tTime=Nr._time,r=Nr._first;r;)i=r._next,(t||!(!r._dur&&r instanceof H&&r.vars.onComplete===r._targets[0]))&&Fi(n,r,r._start-r._delay),r=i;return Fi(Nr,n,0),n},context:function(e,t){return e?new ko(e,t):ar},matchMedia:function(e){return new Ao(e)},matchMediaRefresh:function(){return So.forEach(function(e){var t=e.conditions,n,r;for(r in t)t[r]&&(t[r]=!1,n=1);n&&e.revert()})||Oo()},addEventListener:function(e,t){var n=Co[e]||(Co[e]=[]);~n.indexOf(t)||n.push(t)},removeEventListener:function(e,t){var n=Co[e],r=n&&n.indexOf(t);r>=0&&n.splice(r,1)},utils:{wrap:da,wrapYoyo:fa,distribute:ra,random:oa,snap:aa,normalize:la,getUnit:Yi,clamp:Xi,splitColor:Ta,toArray:ea,selector:ta,mapRange:ma,pipe:sa,unitize:ca,interpolate:ha,shuffle:na},install:Br,effects:$r,ticker:Ma,updateRoot:Ja.updateRoot,plugins:Qr,globalTimeline:Nr,core:{PropTween:xo,globals:Ur,Tween:H,Timeline:Ja,Animation:qa,getCache:ii,_removeLinkedListItem:wi,reverting:function(){return ir},context:function(e){return e&&ar&&(ar.data.push(e),e._ctx=ar),ar},suppressOverwrites:function(e){return rr=e}}};oi(`to,from,fromTo,delayedCall,set,killTweensOf`,function(e){return jo[e]=H[e]}),Ma.add(Ja.updateRoot),ya=jo.to({},{duration:0});var Mo=function(e,t){for(var n=e._pt;n&&n.p!==t&&n.op!==t&&n.fp!==t;)n=n._next;return n},No=function(e,t){var n=e._targets,r,i,a;for(r in t)for(i=n.length;i--;)a=e._ptLookup[i][r],(a&&=a.d)&&(a._pt&&(a=Mo(a,r)),a&&a.modifier&&a.modifier(t[r],e,n[i],r))},Po=function(e,t){return{name:e,headless:1,rawVars:1,init:function(e,n,r){r._onInit=function(e){var r,i;if(mr(n)&&(r={},oi(n,function(e){return r[e]=1}),n=r),t){for(i in r={},n)r[i]=t(n[i]);n=r}No(e,n)}}}},Fo=jo.registerPlugin({name:`attr`,init:function(e,t,n,r,i){var a,o,s;for(a in this.tween=n,t)s=e.getAttribute(a)||``,o=this.add(e,`setAttribute`,(s||0)+``,t[a],r,i,0,0,a),o.op=a,o.b=s,this._props.push(a)},render:function(e,t){for(var n=t._pt;n;)ir?n.set(n.t,n.p,n.b,n):n.r(e,n.d),n=n._next}},{name:`endArray`,headless:1,init:function(e,t){for(var n=t.length;n--;)this.add(e,n,e[n]||0,t[n],0,0,0,0,0,1)}},Po(`roundProps`,ia),Po(`modifiers`),Po(`snap`,aa))||jo;H.version=Ja.version=Fo.version=`3.15.0`,zr=1,br()&&Na(),Pa.Power0,Pa.Power1,Pa.Power2,Pa.Power3,Pa.Power4,Pa.Linear,Pa.Quad,Pa.Cubic,Pa.Quart,Pa.Quint,Pa.Strong,Pa.Elastic,Pa.Back,Pa.SteppedEase,Pa.Bounce,Pa.Sine,Pa.Expo,Pa.Circ;var Io,Lo,Ro,zo,Bo,Vo,Ho,Uo=function(){return typeof window<`u`},Wo={},Go=180/Math.PI,Ko=Math.PI/180,qo=Math.atan2,Jo=1e8,Yo=/([A-Z])/g,Xo=/(left|right|width|margin|padding|x)/i,Zo=/[\s,\(]\S/,Qo={autoAlpha:`opacity,visibility`,scale:`scaleX,scaleY`,alpha:`opacity`},$o=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},es=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},ts=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},ns=function(e,t){return t.set(t.t,t.p,e===1?t.e:e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},rs=function(e,t){var n=t.s+t.c*e;t.set(t.t,t.p,~~(n+(n<0?-.5:.5))+t.u,t)},is=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},as=function(e,t){return t.set(t.t,t.p,e===1?t.e:t.b,t)},os=function(e,t,n){return e.style[t]=n},ss=function(e,t,n){return e.style.setProperty(t,n)},cs=function(e,t,n){return e._gsap[t]=n},ls=function(e,t,n){return e._gsap.scaleX=e._gsap.scaleY=n},us=function(e,t,n,r,i){var a=e._gsap;a.scaleX=a.scaleY=n,a.renderTransform(i,a)},ds=function(e,t,n,r,i){var a=e._gsap;a[t]=n,a.renderTransform(i,a)},fs=`transform`,ps=fs+`Origin`,ms=function e(t,n){var r=this,i=this.target,a=i.style,o=i._gsap;if(t in Wo&&a){if(this.tfm=this.tfm||{},t!==`transform`)t=Qo[t]||t,~t.indexOf(`,`)?t.split(`,`).forEach(function(e){return r.tfm[e]=Ns(i,e)}):this.tfm[t]=o.x?o[t]:Ns(i,t),t===ps&&(this.tfm.zOrigin=o.zOrigin);else return Qo.transform.split(`,`).forEach(function(t){return e.call(r,t,n)});if(this.props.indexOf(fs)>=0)return;o.svg&&(this.svgo=i.getAttribute(`data-svg-origin`),this.props.push(ps,n,``)),t=fs}(a||n)&&this.props.push(t,n,a[t])},hs=function(e){e.translate&&(e.removeProperty(`translate`),e.removeProperty(`scale`),e.removeProperty(`rotate`))},gs=function(){var e=this.props,t=this.target,n=t.style,r=t._gsap,i,a;for(i=0;i<e.length;i+=3)e[i+1]?e[i+1]===2?t[e[i]](e[i+2]):t[e[i]]=e[i+2]:e[i+2]?n[e[i]]=e[i+2]:n.removeProperty(e[i].substr(0,2)===`--`?e[i]:e[i].replace(Yo,`-$1`).toLowerCase());if(this.tfm){for(a in this.tfm)r[a]=this.tfm[a];r.svg&&(r.renderTransform(),t.setAttribute(`data-svg-origin`,this.svgo||``)),i=Ho(),(!i||!i.isStart)&&!n[fs]&&(hs(n),r.zOrigin&&n[ps]&&(n[ps]+=` `+r.zOrigin+`px`,r.zOrigin=0,r.renderTransform()),r.uncache=1)}},_s=function(e,t){var n={target:e,props:[],revert:gs,save:ms};return e._gsap||Fo.core.getCache(e),t&&e.style&&e.nodeType&&t.split(`,`).forEach(function(e){return n.save(e)}),n},vs,ys=function(e,t){var n=Lo.createElementNS?Lo.createElementNS((t||`http://www.w3.org/1999/xhtml`).replace(/^https/,`http`),e):Lo.createElement(e);return n&&n.style?n:Lo.createElement(e)},bs=function e(t,n,r){var i=getComputedStyle(t);return i[n]||i.getPropertyValue(n.replace(Yo,`-$1`).toLowerCase())||i.getPropertyValue(n)||!r&&e(t,Ss(n)||n,1)||``},xs=`O,Moz,ms,Ms,Webkit`.split(`,`),Ss=function(e,t,n){var r=(t||Bo).style,i=5;if(e in r&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);i--&&!(xs[i]+e in r););return i<0?null:(i===3?`ms`:i>=0?xs[i]:``)+e},Cs=function(){Uo()&&window.document&&(Io=window,Lo=Io.document,Ro=Lo.documentElement,Bo=ys(`div`)||{style:{}},ys(`div`),fs=Ss(fs),ps=fs+`Origin`,Bo.style.cssText=`border-width:0;line-height:0;position:absolute;padding:0`,vs=!!Ss(`perspective`),Ho=Fo.core.reverting,zo=1)},ws=function(e){var t=e.ownerSVGElement,n=ys(`svg`,t&&t.getAttribute(`xmlns`)||`http://www.w3.org/2000/svg`),r=e.cloneNode(!0),i;r.style.display=`block`,n.appendChild(r),Ro.appendChild(n);try{i=r.getBBox()}catch{}return n.removeChild(r),Ro.removeChild(n),i},Ts=function(e,t){for(var n=t.length;n--;)if(e.hasAttribute(t[n]))return e.getAttribute(t[n])},Es=function(e){var t,n;try{t=e.getBBox()}catch{t=ws(e),n=1}return t&&(t.width||t.height)||n||(t=ws(e)),t&&!t.width&&!t.x&&!t.y?{x:+Ts(e,[`x`,`cx`,`x1`])||0,y:+Ts(e,[`y`,`cy`,`y1`])||0,width:0,height:0}:t},Ds=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Es(e))},Os=function(e,t){if(t){var n=e.style,r;t in Wo&&t!==ps&&(t=fs),n.removeProperty?(r=t.substr(0,2),(r===`ms`||t.substr(0,6)===`webkit`)&&(t=`-`+t),n.removeProperty(r===`--`?t:t.replace(Yo,`-$1`).toLowerCase())):n.removeAttribute(t)}},ks=function(e,t,n,r,i,a){var o=new xo(e._pt,t,n,0,1,a?as:is);return e._pt=o,o.b=r,o.e=i,e._props.push(n),o},As={deg:1,rad:1,turn:1},js={grid:1,flex:1},Ms=function e(t,n,r,i){var a=parseFloat(r)||0,o=(r+``).trim().substr((a+``).length)||`px`,s=Bo.style,c=Xo.test(n),l=t.tagName.toLowerCase()===`svg`,u=(l?`client`:`offset`)+(c?`Width`:`Height`),d=100,f=i===`px`,p=i===`%`,m,h,g,_;if(i===o||!a||As[i]||As[o])return a;if(o!==`px`&&!f&&(a=e(t,n,r,`px`)),_=t.getCTM&&Ds(t),(p||o===`%`)&&(Wo[n]||~n.indexOf(`adius`)))return m=_?t.getBBox()[c?`width`:`height`]:t[u],si(p?a/m*d:a/100*m);if(s[c?`width`:`height`]=d+(f?o:i),h=i!==`rem`&&~n.indexOf(`adius`)||i===`em`&&t.appendChild&&!l?t:t.parentNode,_&&(h=(t.ownerSVGElement||{}).parentNode),(!h||h===Lo||!h.appendChild)&&(h=Lo.body),g=h._gsap,g&&p&&g.width&&c&&g.time===Ma.time&&!g.uncache)return si(a/g.width*d);if(p&&(n===`height`||n===`width`)){var v=t.style[n];t.style[n]=d+i,m=t[u],v?t.style[n]=v:Os(t,n)}else (p||o===`%`)&&!js[bs(h,`display`)]&&(s.position=bs(t,`position`)),h===t&&(s.position=`static`),h.appendChild(Bo),m=Bo[u],h.removeChild(Bo),s.position=`absolute`;return c&&p&&(g=ii(h),g.time=Ma.time,g.width=h[u]),si(f?m*a/d:m&&a?d/m*a:0)},Ns=function(e,t,n,r){var i;return zo||Cs(),t in Qo&&t!==`transform`&&(t=Qo[t],~t.indexOf(`,`)&&(t=t.split(`,`)[0])),Wo[t]&&t!==`transform`?(i=Gs(e,r),i=t===`transformOrigin`?i.svg?i.origin:Ks(bs(e,ps))+` `+i.zOrigin+`px`:i[t]):(i=e.style[t],(!i||i===`auto`||r||~(i+``).indexOf(`calc(`))&&(i=Rs[t]&&Rs[t](e,t,n)||bs(e,t)||ai(e,t)||+(t===`opacity`))),n&&!~(i+``).trim().indexOf(` `)?Ms(e,t,i,n)+n:i},Ps=function(e,t,n,r){if(!n||n===`none`){var i=Ss(t,e,1),a=i&&bs(e,i,1);a&&a!==n?(t=i,n=a):t===`borderColor`&&(n=bs(e,`borderTopColor`))}var o=new xo(this._pt,e.style,t,0,1,ho),s=0,c=0,l,u,d,f,p,m,h,g,_,v,y,b;if(o.b=n,o.e=r,n+=``,r+=``,r.substring(0,6)===`var(--`&&(r=bs(e,r.substring(4,r.indexOf(`)`)))),r===`auto`&&(m=e.style[t],e.style[t]=r,r=bs(e,t)||r,m?e.style[t]=m:Os(e,t)),l=[n,r],Aa(l),n=l[0],r=l[1],d=n.match(Or)||[],b=r.match(Or)||[],b.length){for(;u=Or.exec(r);)h=u[0],_=r.substring(s,u.index),p?p=(p+1)%5:(_.substr(-5)===`rgba(`||_.substr(-5)===`hsla(`)&&(p=1),h!==(m=d[c++]||``)&&(f=parseFloat(m)||0,y=m.substr((f+``).length),h.charAt(1)===`=`&&(h=li(f,h)+y),g=parseFloat(h),v=h.substr((g+``).length),s=Or.lastIndex-v.length,v||(v=v||tr.units[t]||y,s===r.length&&(r+=v,o.e+=v)),y!==v&&(f=Ms(e,t,m,v)||0),o._pt={_next:o._pt,p:_||c===1?_:`,`,s:f,c:g-f,m:p&&p<4||t===`zIndex`?Math.round:0});o.c=s<r.length?r.substring(s,r.length):``}else o.r=t===`display`&&r===`none`?as:is;return Ar.test(r)&&(o.e=0),this._pt=o,o},Fs={top:`0%`,bottom:`100%`,left:`0%`,right:`100%`,center:`50%`},Is=function(e){var t=e.split(` `),n=t[0],r=t[1]||`50%`;return(n===`top`||n===`bottom`||r===`left`||r===`right`)&&(e=n,n=r,r=e),t[0]=Fs[n]||n,t[1]=Fs[r]||r,t.join(` `)},Ls=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var n=t.t,r=n.style,i=t.u,a=n._gsap,o,s,c;if(i===`all`||i===!0)r.cssText=``,s=1;else for(i=i.split(`,`),c=i.length;--c>-1;)o=i[c],Wo[o]&&(s=1,o=o===`transformOrigin`?ps:fs),Os(n,o);s&&(Os(n,fs),a&&(a.svg&&n.removeAttribute(`transform`),r.scale=r.rotate=r.translate=`none`,Gs(n,1),a.uncache=1,hs(r)))}},Rs={clearProps:function(e,t,n,r,i){if(i.data!==`isFromStart`){var a=e._pt=new xo(e._pt,t,n,0,0,Ls);return a.u=r,a.pr=-10,a.tween=i,e._props.push(n),1}}},zs=[1,0,0,1,0,0],Bs={},Vs=function(e){return e===`matrix(1, 0, 0, 1, 0, 0)`||e===`none`||!e},Hs=function(e){var t=bs(e,fs);return Vs(t)?zs:t.substr(7).match(Dr).map(si)},Us=function(e,t){var n=e._gsap||ii(e),r=e.style,i=Hs(e),a,o,s,c;return n.svg&&e.getAttribute(`transform`)?(s=e.transform.baseVal.consolidate().matrix,i=[s.a,s.b,s.c,s.d,s.e,s.f],i.join(`,`)===`1,0,0,1,0,0`?zs:i):(i===zs&&!e.offsetParent&&e!==Ro&&!n.svg&&(s=r.display,r.display=`block`,a=e.parentNode,(!a||!e.offsetParent&&!e.getBoundingClientRect().width)&&(c=1,o=e.nextElementSibling,Ro.appendChild(e)),i=Hs(e),s?r.display=s:Os(e,`display`),c&&(o?a.insertBefore(e,o):a?a.appendChild(e):Ro.removeChild(e))),t&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},Ws=function(e,t,n,r,i,a){var o=e._gsap,s=i||Us(e,!0),c=o.xOrigin||0,l=o.yOrigin||0,u=o.xOffset||0,d=o.yOffset||0,f=s[0],p=s[1],m=s[2],h=s[3],g=s[4],_=s[5],v=t.split(` `),y=parseFloat(v[0])||0,b=parseFloat(v[1])||0,x,S,C,w;n?s!==zs&&(S=f*h-p*m)&&(C=h/S*y+b*(-m/S)+(m*_-h*g)/S,w=y*(-p/S)+f/S*b-(f*_-p*g)/S,y=C,b=w):(x=Es(e),y=x.x+(~v[0].indexOf(`%`)?y/100*x.width:y),b=x.y+(~(v[1]||v[0]).indexOf(`%`)?b/100*x.height:b)),r||r!==!1&&o.smooth?(g=y-c,_=b-l,o.xOffset=u+(g*f+_*m)-g,o.yOffset=d+(g*p+_*h)-_):o.xOffset=o.yOffset=0,o.xOrigin=y,o.yOrigin=b,o.smooth=!!r,o.origin=t,o.originIsAbsolute=!!n,e.style[ps]=`0px 0px`,a&&(ks(a,o,`xOrigin`,c,y),ks(a,o,`yOrigin`,l,b),ks(a,o,`xOffset`,u,o.xOffset),ks(a,o,`yOffset`,d,o.yOffset)),e.setAttribute(`data-svg-origin`,y+` `+b)},Gs=function(e,t){var n=e._gsap||new Ka(e);if(`x`in n&&!t&&!n.uncache)return n;var r=e.style,i=n.scaleX<0,a=`px`,o=`deg`,s=getComputedStyle(e),c=bs(e,ps)||`0`,l=u=d=m=h=g=_=v=y=0,u,d,f=p=1,p,m,h,g,_,v,y,b,x,S,C,w,T,E,D,O,k,A,j,M,ee,N,te,P,F,ne,re,ie;return n.svg=!!(e.getCTM&&Ds(e)),s.translate&&((s.translate!==`none`||s.scale!==`none`||s.rotate!==`none`)&&(r[fs]=(s.translate===`none`?``:`translate3d(`+(s.translate+` 0 0`).split(` `).slice(0,3).join(`, `)+`) `)+(s.rotate===`none`?``:`rotate(`+s.rotate+`) `)+(s.scale===`none`?``:`scale(`+s.scale.split(` `).join(`,`)+`) `)+(s[fs]===`none`?``:s[fs])),r.scale=r.rotate=r.translate=`none`),S=Us(e,n.svg),n.svg&&(n.uncache?(ee=e.getBBox(),c=n.xOrigin-ee.x+`px `+(n.yOrigin-ee.y)+`px`,M=``):M=!t&&e.getAttribute(`data-svg-origin`),Ws(e,M||c,!!M||n.originIsAbsolute,n.smooth!==!1,S)),b=n.xOrigin||0,x=n.yOrigin||0,S!==zs&&(E=S[0],D=S[1],O=S[2],k=S[3],l=A=S[4],u=j=S[5],S.length===6?(f=Math.sqrt(E*E+D*D),p=Math.sqrt(k*k+O*O),m=E||D?qo(D,E)*Go:0,_=O||k?qo(O,k)*Go+m:0,_&&(p*=Math.abs(Math.cos(_*Ko))),n.svg&&(l-=b-(b*E+x*O),u-=x-(b*D+x*k))):(ie=S[6],ne=S[7],te=S[8],P=S[9],F=S[10],re=S[11],l=S[12],u=S[13],d=S[14],C=qo(ie,F),h=C*Go,C&&(w=Math.cos(-C),T=Math.sin(-C),M=A*w+te*T,ee=j*w+P*T,N=ie*w+F*T,te=A*-T+te*w,P=j*-T+P*w,F=ie*-T+F*w,re=ne*-T+re*w,A=M,j=ee,ie=N),C=qo(-O,F),g=C*Go,C&&(w=Math.cos(-C),T=Math.sin(-C),M=E*w-te*T,ee=D*w-P*T,N=O*w-F*T,re=k*T+re*w,E=M,D=ee,O=N),C=qo(D,E),m=C*Go,C&&(w=Math.cos(C),T=Math.sin(C),M=E*w+D*T,ee=A*w+j*T,D=D*w-E*T,j=j*w-A*T,E=M,A=ee),h&&Math.abs(h)+Math.abs(m)>359.9&&(h=m=0,g=180-g),f=si(Math.sqrt(E*E+D*D+O*O)),p=si(Math.sqrt(j*j+ie*ie)),C=qo(A,j),_=Math.abs(C)>2e-4?C*Go:0,y=re?1/(re<0?-re:re):0),n.svg&&(M=e.getAttribute(`transform`),n.forceCSS=e.setAttribute(`transform`,``)||!Vs(bs(e,fs)),M&&e.setAttribute(`transform`,M))),Math.abs(_)>90&&Math.abs(_)<270&&(i?(f*=-1,_+=m<=0?180:-180,m+=m<=0?180:-180):(p*=-1,_+=_<=0?180:-180)),t||=n.uncache,n.x=l-((n.xPercent=l&&(!t&&n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-l)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+a,n.y=u-((n.yPercent=u&&(!t&&n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-u)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+a,n.z=d+a,n.scaleX=si(f),n.scaleY=si(p),n.rotation=si(m)+o,n.rotationX=si(h)+o,n.rotationY=si(g)+o,n.skewX=_+o,n.skewY=v+o,n.transformPerspective=y+a,(n.zOrigin=parseFloat(c.split(` `)[2])||!t&&n.zOrigin||0)&&(r[ps]=Ks(c)),n.xOffset=n.yOffset=0,n.force3D=tr.force3D,n.renderTransform=n.svg?$s:vs?Qs:Js,n.uncache=0,n},Ks=function(e){return(e=e.split(` `))[0]+` `+e[1]},qs=function(e,t,n){var r=Yi(t);return si(parseFloat(t)+parseFloat(Ms(e,`x`,n+`px`,r)))+r},Js=function(e,t){t.z=`0px`,t.rotationY=t.rotationX=`0deg`,t.force3D=0,Qs(e,t)},Ys=`0deg`,Xs=`0px`,Zs=`) `,Qs=function(e,t){var n=t||this,r=n.xPercent,i=n.yPercent,a=n.x,o=n.y,s=n.z,c=n.rotation,l=n.rotationY,u=n.rotationX,d=n.skewX,f=n.skewY,p=n.scaleX,m=n.scaleY,h=n.transformPerspective,g=n.force3D,_=n.target,v=n.zOrigin,y=``,b=g===`auto`&&e&&e!==1||g===!0;if(v&&(u!==Ys||l!==Ys)){var x=parseFloat(l)*Ko,S=Math.sin(x),C=Math.cos(x),w;x=parseFloat(u)*Ko,w=Math.cos(x),a=qs(_,a,S*w*-v),o=qs(_,o,-Math.sin(x)*-v),s=qs(_,s,C*w*-v+v)}h!==Xs&&(y+=`perspective(`+h+Zs),(r||i)&&(y+=`translate(`+r+`%, `+i+`%) `),(b||a!==Xs||o!==Xs||s!==Xs)&&(y+=s!==Xs||b?`translate3d(`+a+`, `+o+`, `+s+`) `:`translate(`+a+`, `+o+Zs),c!==Ys&&(y+=`rotate(`+c+Zs),l!==Ys&&(y+=`rotateY(`+l+Zs),u!==Ys&&(y+=`rotateX(`+u+Zs),(d!==Ys||f!==Ys)&&(y+=`skew(`+d+`, `+f+Zs),(p!==1||m!==1)&&(y+=`scale(`+p+`, `+m+Zs),_.style[fs]=y||`translate(0, 0)`},$s=function(e,t){var n=t||this,r=n.xPercent,i=n.yPercent,a=n.x,o=n.y,s=n.rotation,c=n.skewX,l=n.skewY,u=n.scaleX,d=n.scaleY,f=n.target,p=n.xOrigin,m=n.yOrigin,h=n.xOffset,g=n.yOffset,_=n.forceCSS,v=parseFloat(a),y=parseFloat(o),b,x,S,C,w;s=parseFloat(s),c=parseFloat(c),l=parseFloat(l),l&&(l=parseFloat(l),c+=l,s+=l),s||c?(s*=Ko,c*=Ko,b=Math.cos(s)*u,x=Math.sin(s)*u,S=Math.sin(s-c)*-d,C=Math.cos(s-c)*d,c&&(l*=Ko,w=Math.tan(c-l),w=Math.sqrt(1+w*w),S*=w,C*=w,l&&(w=Math.tan(l),w=Math.sqrt(1+w*w),b*=w,x*=w)),b=si(b),x=si(x),S=si(S),C=si(C)):(b=u,C=d,x=S=0),(v&&!~(a+``).indexOf(`px`)||y&&!~(o+``).indexOf(`px`))&&(v=Ms(f,`x`,a,`px`),y=Ms(f,`y`,o,`px`)),(p||m||h||g)&&(v=si(v+p-(p*b+m*S)+h),y=si(y+m-(p*x+m*C)+g)),(r||i)&&(w=f.getBBox(),v=si(v+r/100*w.width),y=si(y+i/100*w.height)),w=`matrix(`+b+`,`+x+`,`+S+`,`+C+`,`+v+`,`+y+`)`,f.setAttribute(`transform`,w),_&&(f.style[fs]=w)},ec=function(e,t,n,r,i){var a=360,o=mr(i),s=parseFloat(i)*(o&&~i.indexOf(`rad`)?Go:1)-r,c=r+s+`deg`,l,u;return o&&(l=i.split(`_`)[1],l===`short`&&(s%=a,s!==s%(a/2)&&(s+=s<0?a:-a)),l===`cw`&&s<0?s=(s+a*Jo)%a-~~(s/a)*a:l===`ccw`&&s>0&&(s=(s-a*Jo)%a-~~(s/a)*a)),e._pt=u=new xo(e._pt,t,n,r,s,es),u.e=c,u.u=`deg`,e._props.push(n),u},tc=function(e,t){for(var n in t)e[n]=t[n];return e},nc=function(e,t,n){var r=tc({},n._gsap),i=`perspective,force3D,transformOrigin,svgOrigin`,a=n.style,o,s,c,l,u,d,f,p;for(s in r.svg?(c=n.getAttribute(`transform`),n.setAttribute(`transform`,``),a[fs]=t,o=Gs(n,1),Os(n,fs),n.setAttribute(`transform`,c)):(c=getComputedStyle(n)[fs],a[fs]=t,o=Gs(n,1),a[fs]=c),Wo)c=r[s],l=o[s],c!==l&&i.indexOf(s)<0&&(f=Yi(c),p=Yi(l),u=f===p?parseFloat(c):Ms(n,s,c,p),d=parseFloat(l),e._pt=new xo(e._pt,o,s,u,d-u,$o),e._pt.u=p||0,e._props.push(s));tc(o,r)};oi(`padding,margin,Width,Radius`,function(e,t){var n=`Top`,r=`Right`,i=`Bottom`,a=`Left`,o=(t<3?[n,r,i,a]:[n+a,n+r,i+r,i+a]).map(function(n){return t<2?e+n:`border`+n+e});Rs[t>1?`border`+e:e]=function(e,t,n,r,i){var a,s;if(arguments.length<4)return a=o.map(function(t){return Ns(e,t,n)}),s=a.join(` `),s.split(a[0]).length===5?a[0]:s;a=(r+``).split(` `),s={},o.forEach(function(e,t){return s[e]=a[t]=a[t]||a[(t-1)/2|0]}),e.init(t,s,i)}});var rc={name:`css`,register:Cs,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,n,r,i){var a=this._props,o=e.style,s=n.vars.startAt,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w;for(m in zo||Cs(),this.styles=this.styles||_s(e),C=this.styles.props,this.tween=n,t)if(m!==`autoRound`&&(l=t[m],!(Qr[m]&&Qa(m,t,n,r,e,i)))){if(f=typeof l,p=Rs[m],f===`function`&&(l=l.call(n,r,e,i),f=typeof l),f===`string`&&~l.indexOf(`random(`)&&(l=pa(l)),p)p(this,e,m,l,n)&&(S=1);else if(m.substr(0,2)===`--`)c=(getComputedStyle(e).getPropertyValue(m)+``).trim(),l+=``,Oa.lastIndex=0,Oa.test(c)||(h=Yi(c),g=Yi(l),g?h!==g&&(c=Ms(e,m,c,g)+g):h&&(l+=h)),this.add(o,`setProperty`,c,l,r,i,0,0,m),a.push(m),C.push(m,0,o[m]);else if(f!==`undefined`){if(s&&m in s?(c=typeof s[m]==`function`?s[m].call(n,r,e,i):s[m],mr(c)&&~c.indexOf(`random(`)&&(c=pa(c)),Yi(c+``)||c===`auto`||(c+=tr.units[m]||Yi(Ns(e,m))||``),(c+``).charAt(1)===`=`&&(c=Ns(e,m))):c=Ns(e,m),d=parseFloat(c),_=f===`string`&&l.charAt(1)===`=`&&l.substr(0,2),_&&(l=l.substr(2)),u=parseFloat(l),m in Qo&&(m===`autoAlpha`&&(d===1&&Ns(e,`visibility`)===`hidden`&&u&&(d=0),C.push(`visibility`,0,o.visibility),ks(this,o,`visibility`,d?`inherit`:`hidden`,u?`inherit`:`hidden`,!u)),m!==`scale`&&m!==`transform`&&(m=Qo[m],~m.indexOf(`,`)&&(m=m.split(`,`)[0]))),v=m in Wo,v){if(this.styles.save(m),w=l,f===`string`&&l.substring(0,6)===`var(--`){if(l=bs(e,l.substring(4,l.indexOf(`)`))),l.substring(0,5)===`calc(`){var T=e.style.perspective;e.style.perspective=l,l=bs(e,`perspective`),T?e.style.perspective=T:Os(e,`perspective`)}u=parseFloat(l)}if(y||(b=e._gsap,b.renderTransform&&!t.parseTransform||Gs(e,t.parseTransform),x=t.smoothOrigin!==!1&&b.smooth,y=this._pt=new xo(this._pt,o,fs,0,1,b.renderTransform,b,0,-1),y.dep=1),m===`scale`)this._pt=new xo(this._pt,b,`scaleY`,b.scaleY,(_?li(b.scaleY,_+u):u)-b.scaleY||0,$o),this._pt.u=0,a.push(`scaleY`,m),m+=`X`;else if(m===`transformOrigin`){C.push(ps,0,o[ps]),l=Is(l),b.svg?Ws(e,l,0,x,0,this):(g=parseFloat(l.split(` `)[2])||0,g!==b.zOrigin&&ks(this,b,`zOrigin`,b.zOrigin,g),ks(this,o,m,Ks(c),Ks(l)));continue}else if(m===`svgOrigin`){Ws(e,l,1,x,0,this);continue}else if(m in Bs){ec(this,b,m,d,_?li(d,_+l):l);continue}else if(m===`smoothOrigin`){ks(this,b,`smooth`,b.smooth,l);continue}else if(m===`force3D`){b[m]=l;continue}else if(m===`transform`){nc(this,l,e);continue}}else m in o||(m=Ss(m)||m);if(v||(u||u===0)&&(d||d===0)&&!Zo.test(l)&&m in o)h=(c+``).substr((d+``).length),u||=0,g=Yi(l)||(m in tr.units?tr.units[m]:h),h!==g&&(d=Ms(e,m,c,g)),this._pt=new xo(this._pt,v?b:o,m,d,(_?li(d,_+u):u)-d,!v&&(g===`px`||m===`zIndex`)&&t.autoRound!==!1?rs:$o),this._pt.u=g||0,v&&w!==l?(this._pt.b=c,this._pt.e=w,this._pt.r=ns):h!==g&&g!==`%`&&(this._pt.b=c,this._pt.r=ts);else if(m in o)Ps.call(this,e,m,c,_?_+l:l);else if(m in e)this.add(e,m,c||e[m],_?_+l:l,r,i);else if(m!==`parseTransform`){Vr(m,l);continue}v||(m in o?C.push(m,0,o[m]):typeof e[m]==`function`?C.push(m,2,e[m]()):C.push(m,1,c||e[m])),a.push(m)}}S&&bo(this)},render:function(e,t){if(t.tween._time||!Ho())for(var n=t._pt;n;)n.r(e,n.d),n=n._next;else t.styles.revert()},get:Ns,aliases:Qo,getSetter:function(e,t,n){var r=Qo[t];return r&&r.indexOf(`,`)<0&&(t=r),t in Wo&&t!==ps&&(e._gsap.x||Ns(e,`x`))?n&&Vo===n?t===`scale`?ls:cs:(Vo=n||{})&&(t===`scale`?us:ds):e.style&&!_r(e.style[t])?os:~t.indexOf(`-`)?ss:fo(e,t)},core:{_removeProperty:Os,_getMatrix:Us}};Fo.utils.checkPrefix=Ss,Fo.core.getStyleSaver=_s,(function(e,t,n,r){var i=oi(e+`,`+t+`,`+n,function(e){Wo[e]=1});oi(t,function(e){tr.units[e]=`deg`,Bs[e]=1}),Qo[i[13]]=e+`,`+t,oi(r,function(e){var t=e.split(`:`);Qo[t[1]]=i[t[0]]})})(`x,y,z,scale,scaleX,scaleY,xPercent,yPercent`,`rotation,rotationX,rotationY,skewX,skewY`,`transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective`,`0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY`),oi(`x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective`,function(e){tr.units[e]=`px`}),Fo.registerPlugin(rc);var W=Fo.registerPlugin(rc)||Fo;W.core.Tween;function ic(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ac(e,t,n){return t&&ic(e.prototype,t),n&&ic(e,n),e}var oc,sc,cc,lc,uc,dc,fc,pc,mc,hc,gc,_c,vc,yc=function(){return oc||typeof window<`u`&&(oc=window.gsap)&&oc.registerPlugin&&oc},bc=1,xc=[],G=[],Sc=[],Cc=Date.now,wc=function(e,t){return t},Tc=function(){var e=mc.core,t=e.bridge||{},n=e._scrollers,r=e._proxies;n.push.apply(n,G),r.push.apply(r,Sc),G=n,Sc=r,wc=function(e,n){return t[e](n)}},Ec=function(e,t){return~Sc.indexOf(e)&&Sc[Sc.indexOf(e)+1][t]},Dc=function(e){return!!~hc.indexOf(e)},Oc=function(e,t,n,r,i){return e.addEventListener(t,n,{passive:r!==!1,capture:!!i})},kc=function(e,t,n,r){return e.removeEventListener(t,n,!!r)},Ac=`scrollLeft`,jc=`scrollTop`,Mc=function(){return gc&&gc.isPressed||G.cache++},Nc=function(e,t){var n=function n(r){if(r||r===0){bc&&(cc.history.scrollRestoration=`manual`);var i=gc&&gc.isPressed;r=n.v=Math.round(r)||(gc&&gc.iOS?1:0),e(r),n.cacheID=G.cache,i&&wc(`ss`,r)}else (t||G.cache!==n.cacheID||wc(`ref`))&&(n.cacheID=G.cache,n.v=e());return n.v+n.offset};return n.offset=0,e&&n},Pc={s:Ac,p:`left`,p2:`Left`,os:`right`,os2:`Right`,d:`width`,d2:`Width`,a:`x`,sc:Nc(function(e){return arguments.length?cc.scrollTo(e,Fc.sc()):cc.pageXOffset||lc[Ac]||uc[Ac]||dc[Ac]||0})},Fc={s:jc,p:`top`,p2:`Top`,os:`bottom`,os2:`Bottom`,d:`height`,d2:`Height`,a:`y`,op:Pc,sc:Nc(function(e){return arguments.length?cc.scrollTo(Pc.sc(),e):cc.pageYOffset||lc[jc]||uc[jc]||dc[jc]||0})},K=function(e,t){return(t&&t._ctx&&t._ctx.selector||oc.utils.toArray)(e)[0]||(typeof e==`string`&&oc.config().nullTargetWarn!==!1?console.warn(`Element not found:`,e):null)},Ic=function(e,t){for(var n=t.length;n--;)if(t[n]===e||t[n].contains(e))return!0;return!1},Lc=function(e,t){var n=t.s,r=t.sc;Dc(e)&&(e=lc.scrollingElement||uc);var i=G.indexOf(e),a=r===Fc.sc?1:2;!~i&&(i=G.push(e)-1),G[i+a]||Oc(e,`scroll`,Mc);var o=G[i+a],s=o||(G[i+a]=Nc(Ec(e,n),!0)||(Dc(e)?r:Nc(function(t){return arguments.length?e[n]=t:e[n]})));return s.target=e,o||(s.smooth=oc.getProperty(e,`scrollBehavior`)===`smooth`),s},Rc=function(e,t,n){var r=e,i=e,a=Cc(),o=a,s=t||50,c=Math.max(500,s*3),l=function(e,t){var c=Cc();t||c-a>s?(i=r,r=e,o=a,a=c):n?r+=e:r=i+(e-i)/(c-o)*(a-o)};return{update:l,reset:function(){i=r=n?0:r,o=a=0},getVelocity:function(e){var t=o,s=i,u=Cc();return(e||e===0)&&e!==r&&l(e),a===o||u-o>c?0:(r+(n?s:-s))/((n?u:a)-t)*1e3}}},zc=function(e,t){return t&&!e._gsapAllow&&e.cancelable!==!1&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},Bc=function(e){var t=Math.max.apply(Math,e),n=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(n)?t:n},Vc=function(){mc=oc.core.globals().ScrollTrigger,mc&&mc.core&&Tc()},Hc=function(e){return oc=e||yc(),!sc&&oc&&typeof document<`u`&&document.body&&(cc=window,lc=document,uc=lc.documentElement,dc=lc.body,hc=[cc,lc,uc,dc],oc.utils.clamp,vc=oc.core.context||function(){},pc=`onpointerenter`in dc?`pointer`:`mouse`,fc=Uc.isTouch=cc.matchMedia&&cc.matchMedia(`(hover: none), (pointer: coarse)`).matches?1:`ontouchstart`in cc||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,_c=Uc.eventTypes=(`ontouchstart`in uc?`touchstart,touchmove,touchcancel,touchend`:`onpointerdown`in uc?`pointerdown,pointermove,pointercancel,pointerup`:`mousedown,mousemove,mouseup,mouseup`).split(`,`),setTimeout(function(){return bc=0},500),sc=1),mc||Vc(),sc};Pc.op=Fc,G.cache=0;var Uc=function(){function e(e){this.init(e)}var t=e.prototype;return t.init=function(e){sc||Hc(oc)||console.warn(`Please gsap.registerPlugin(Observer)`),mc||Vc();var t=e.tolerance,n=e.dragMinimum,r=e.type,i=e.target,a=e.lineHeight,o=e.debounce,s=e.preventDefault,c=e.onStop,l=e.onStopDelay,u=e.ignore,d=e.wheelSpeed,f=e.event,p=e.onDragStart,m=e.onDragEnd,h=e.onDrag,g=e.onPress,_=e.onRelease,v=e.onRight,y=e.onLeft,b=e.onUp,x=e.onDown,S=e.onChangeX,C=e.onChangeY,w=e.onChange,T=e.onToggleX,E=e.onToggleY,D=e.onHover,O=e.onHoverEnd,k=e.onMove,A=e.ignoreCheck,j=e.isNormalizer,M=e.onGestureStart,ee=e.onGestureEnd,N=e.onWheel,te=e.onEnable,P=e.onDisable,F=e.onClick,ne=e.scrollSpeed,re=e.capture,ie=e.allowClicks,ae=e.lockAxis,oe=e.onLockAxis;this.target=i=K(i)||uc,this.vars=e,u&&=oc.utils.toArray(u),t||=1e-9,n||=0,d||=1,ne||=1,r||=`wheel,touch,pointer`,o=o!==!1,a||=parseFloat(cc.getComputedStyle(dc).lineHeight)||22;var I,se,ce,le,ue,de,fe,L=this,pe=0,me=0,he=e.passive||!s&&e.passive!==!1,ge=Lc(i,Pc),_e=Lc(i,Fc),ve=ge(),ye=_e(),be=~r.indexOf(`touch`)&&!~r.indexOf(`pointer`)&&_c[0]===`pointerdown`,xe=Dc(i),R=i.ownerDocument||lc,Se=[0,0,0],Ce=[0,0,0],we=0,Te=function(){return we=Cc()},Ee=function(e,t){return(L.event=e)&&u&&Ic(e.target,u)||t&&be&&e.pointerType!==`touch`||A&&A(e,t)},De=function(){L._vx.reset(),L._vy.reset(),se.pause(),c&&c(L)},Oe=function(){var e=L.deltaX=Bc(Se),n=L.deltaY=Bc(Ce),r=Math.abs(e)>=t,i=Math.abs(n)>=t;w&&(r||i)&&w(L,e,n,Se,Ce),r&&(v&&L.deltaX>0&&v(L),y&&L.deltaX<0&&y(L),S&&S(L),T&&L.deltaX<0!=pe<0&&T(L),pe=L.deltaX,Se[0]=Se[1]=Se[2]=0),i&&(x&&L.deltaY>0&&x(L),b&&L.deltaY<0&&b(L),C&&C(L),E&&L.deltaY<0!=me<0&&E(L),me=L.deltaY,Ce[0]=Ce[1]=Ce[2]=0),(le||ce)&&(k&&k(L),ce&&=(p&&ce===1&&p(L),h&&h(L),0),le=!1),de&&!(de=!1)&&oe&&oe(L),ue&&=(N(L),!1),I=0},ke=function(e,t,n){Se[n]+=e,Ce[n]+=t,L._vx.update(e),L._vy.update(t),o?I||=requestAnimationFrame(Oe):Oe()},Ae=function(e,t){ae&&!fe&&(L.axis=fe=Math.abs(e)>Math.abs(t)?`x`:`y`,de=!0),fe!==`y`&&(Se[2]+=e,L._vx.update(e,!0)),fe!==`x`&&(Ce[2]+=t,L._vy.update(t,!0)),o?I||=requestAnimationFrame(Oe):Oe()},je=function(e){if(!Ee(e,1)){e=zc(e,s);var t=e.clientX,r=e.clientY,i=t-L.x,a=r-L.y,o=L.isDragging;L.x=t,L.y=r,(o||(i||a)&&(Math.abs(L.startX-t)>=n||Math.abs(L.startY-r)>=n))&&(ce||=o?2:1,o||(L.isDragging=!0),Ae(i,a))}},Me=L.onPress=function(e){Ee(e,1)||e&&e.button||(L.axis=fe=null,se.pause(),L.isPressed=!0,e=zc(e),pe=me=0,L.startX=L.x=e.clientX,L.startY=L.y=e.clientY,L._vx.reset(),L._vy.reset(),Oc(j?i:R,_c[1],je,he,!0),L.deltaX=L.deltaY=0,g&&g(L))},Ne=L.onRelease=function(e){if(!Ee(e,1)){kc(j?i:R,_c[1],je,!0);var t=!isNaN(L.y-L.startY),n=L.isDragging,r=n&&(Math.abs(L.x-L.startX)>3||Math.abs(L.y-L.startY)>3),a=zc(e);!r&&t&&(L._vx.reset(),L._vy.reset(),s&&ie&&oc.delayedCall(.08,function(){if(Cc()-we>300&&!e.defaultPrevented){if(e.target.click)e.target.click();else if(R.createEvent){var t=R.createEvent(`MouseEvents`);t.initMouseEvent(`click`,!0,!0,cc,1,a.screenX,a.screenY,a.clientX,a.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(t)}}})),L.isDragging=L.isGesturing=L.isPressed=!1,c&&n&&!j&&se.restart(!0),ce&&Oe(),m&&n&&m(L),_&&_(L,r)}},z=function(e){return e.touches&&e.touches.length>1&&(L.isGesturing=!0)&&M(e,L.isDragging)},Pe=function(){return(L.isGesturing=!1)||ee(L)},Fe=function(e){if(!Ee(e)){var t=ge(),n=_e();ke((t-ve)*ne,(n-ye)*ne,1),ve=t,ye=n,c&&se.restart(!0)}},Ie=function(e){if(!Ee(e)){e=zc(e,s),N&&(ue=!0);var t=(e.deltaMode===1?a:e.deltaMode===2?cc.innerHeight:1)*d;ke(e.deltaX*t,e.deltaY*t,0),c&&!j&&se.restart(!0)}},Le=function(e){if(!Ee(e)){var t=e.clientX,n=e.clientY,r=t-L.x,i=n-L.y;L.x=t,L.y=n,le=!0,c&&se.restart(!0),(r||i)&&Ae(r,i)}},Re=function(e){L.event=e,D(L)},ze=function(e){L.event=e,O(L)},Be=function(e){return Ee(e)||zc(e,s)&&F(L)};se=L._dc=oc.delayedCall(l||.25,De).pause(),L.deltaX=L.deltaY=0,L._vx=Rc(0,50,!0),L._vy=Rc(0,50,!0),L.scrollX=ge,L.scrollY=_e,L.isDragging=L.isGesturing=L.isPressed=!1,vc(this),L.enable=function(e){return L.isEnabled||(Oc(xe?R:i,`scroll`,Mc),r.indexOf(`scroll`)>=0&&Oc(xe?R:i,`scroll`,Fe,he,re),r.indexOf(`wheel`)>=0&&Oc(i,`wheel`,Ie,he,re),(r.indexOf(`touch`)>=0&&fc||r.indexOf(`pointer`)>=0)&&(Oc(i,_c[0],Me,he,re),Oc(R,_c[2],Ne),Oc(R,_c[3],Ne),ie&&Oc(i,`click`,Te,!0,!0),F&&Oc(i,`click`,Be),M&&Oc(R,`gesturestart`,z),ee&&Oc(R,`gestureend`,Pe),D&&Oc(i,pc+`enter`,Re),O&&Oc(i,pc+`leave`,ze),k&&Oc(i,pc+`move`,Le)),L.isEnabled=!0,L.isDragging=L.isGesturing=L.isPressed=le=ce=!1,L._vx.reset(),L._vy.reset(),ve=ge(),ye=_e(),e&&e.type&&Me(e),te&&te(L)),L},L.disable=function(){L.isEnabled&&(xc.filter(function(e){return e!==L&&Dc(e.target)}).length||kc(xe?R:i,`scroll`,Mc),L.isPressed&&(L._vx.reset(),L._vy.reset(),kc(j?i:R,_c[1],je,!0)),kc(xe?R:i,`scroll`,Fe,re),kc(i,`wheel`,Ie,re),kc(i,_c[0],Me,re),kc(R,_c[2],Ne),kc(R,_c[3],Ne),kc(i,`click`,Te,!0),kc(i,`click`,Be),kc(R,`gesturestart`,z),kc(R,`gestureend`,Pe),kc(i,pc+`enter`,Re),kc(i,pc+`leave`,ze),kc(i,pc+`move`,Le),L.isEnabled=L.isPressed=L.isDragging=!1,P&&P(L))},L.kill=L.revert=function(){L.disable();var e=xc.indexOf(L);e>=0&&xc.splice(e,1),gc===L&&(gc=0)},xc.push(L),j&&Dc(i)&&(gc=L),L.enable(f)},ac(e,[{key:`velocityX`,get:function(){return this._vx.getVelocity()}},{key:`velocityY`,get:function(){return this._vy.getVelocity()}}]),e}();Uc.version=`3.15.0`,Uc.create=function(e){return new Uc(e)},Uc.register=Hc,Uc.getAll=function(){return xc.slice()},Uc.getById=function(e){return xc.filter(function(t){return t.vars.id===e})[0]},yc()&&oc.registerPlugin(Uc);var q,Wc,J,Gc,Kc,qc,Jc,Yc,Xc,Zc,Qc,$c,el,tl,nl,rl,il,al,ol,sl,cl,ll,ul,dl,fl,pl,ml,hl,gl,_l,vl,yl,bl,xl,Sl=1,Cl=Date.now,wl=Cl(),Tl=0,El=0,Dl=function(e,t,n){var r=Hl(e)&&(e.substr(0,6)===`clamp(`||e.indexOf(`max`)>-1);return n[`_`+t+`Clamp`]=r,r?e.substr(6,e.length-7):e},Ol=function(e,t){return t&&(!Hl(e)||e.substr(0,6)!==`clamp(`)?`clamp(`+e+`)`:e},kl=function e(){return El&&requestAnimationFrame(e)},Al=function(){return tl=1},jl=function(){return tl=0},Ml=function(e){return e},Nl=function(e){return Math.round(e*1e5)/1e5||0},Pl=function(){return typeof window<`u`},Fl=function(){return q||Pl()&&(q=window.gsap)&&q.registerPlugin&&q},Il=function(e){return!!~Jc.indexOf(e)},Ll=function(e){return(e===`Height`?vl:J[`inner`+e])||Kc[`client`+e]||qc[`client`+e]},Y=function(e){return Ec(e,`getBoundingClientRect`)||(Il(e)?function(){return cd.width=J.innerWidth,cd.height=vl,cd}:function(){return fu(e)})},Rl=function(e,t,n){var r=n.d,i=n.d2,a=n.a;return(a=Ec(e,`getBoundingClientRect`))?function(){return a()[r]}:function(){return(t?Ll(i):e[`client`+i])||0}},zl=function(e,t){return!t||~Sc.indexOf(e)?Y(e):function(){return cd}},Bl=function(e,t){var n=t.s,r=t.d2,i=t.d,a=t.a;return Math.max(0,(n=`scroll`+r)&&(a=Ec(e,n))?a()-Y(e)()[i]:Il(e)?(Kc[n]||qc[n])-Ll(r):e[n]-e[`offset`+r])},Vl=function(e,t){for(var n=0;n<ol.length;n+=3)(!t||~t.indexOf(ol[n+1]))&&e(ol[n],ol[n+1],ol[n+2])},Hl=function(e){return typeof e==`string`},Ul=function(e){return typeof e==`function`},Wl=function(e){return typeof e==`number`},Gl=function(e){return typeof e==`object`},Kl=function(e,t,n){return e&&e.progress(+!t)&&n&&e.pause()},ql=function(e,t,n){if(e.enabled){var r=e._ctx?e._ctx.add(function(){return t(e,n)}):t(e,n);r&&r.totalTime&&(e.callbackAnimation=r)}},Jl=Math.abs,Yl=`left`,Xl=`top`,Zl=`right`,Ql=`bottom`,$l=`width`,eu=`height`,tu=`Right`,nu=`Left`,ru=`Top`,iu=`Bottom`,X=`padding`,au=`margin`,ou=`Width`,su=`Height`,cu=`px`,lu=function(e){return J.getComputedStyle(e.nodeType===Node.DOCUMENT_NODE?e.scrollingElement:e)},uu=function(e){var t=lu(e).position;e.style.position=t===`absolute`||t===`fixed`?t:`relative`},du=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},fu=function(e,t){var n=t&&lu(e)[nl]!==`matrix(1, 0, 0, 1, 0, 0)`&&q.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),r=e.getBoundingClientRect?e.getBoundingClientRect():e.scrollingElement.getBoundingClientRect();return n&&n.progress(0).kill(),r},pu=function(e,t){var n=t.d2;return e[`offset`+n]||e[`client`+n]||0},mu=function(e){var t=[],n=e.labels,r=e.duration(),i;for(i in n)t.push(n[i]/r);return t},hu=function(e){return function(t){return q.utils.snap(mu(e),t)}},gu=function(e){var t=q.utils.snap(e),n=Array.isArray(e)&&e.slice(0).sort(function(e,t){return e-t});return n?function(e,r,i){i===void 0&&(i=.001);var a;if(!r)return t(e);if(r>0){for(e-=i,a=0;a<n.length;a++)if(n[a]>=e)return n[a];return n[a-1]}else for(a=n.length,e+=i;a--;)if(n[a]<=e)return n[a];return n[0]}:function(n,r,i){i===void 0&&(i=.001);var a=t(n);return!r||Math.abs(a-n)<i||a-n<0==r<0?a:t(r<0?n-e:n+e)}},_u=function(e){return function(t,n){return gu(mu(e))(t,n.direction)}},vu=function(e,t,n,r){return n.split(`,`).forEach(function(n){return e(t,n,r)})},yu=function(e,t,n,r,i){return e.addEventListener(t,n,{passive:!r,capture:!!i})},bu=function(e,t,n,r){return e.removeEventListener(t,n,!!r)},xu=function(e,t,n){n&&=n.wheelHandler,n&&(e(t,`wheel`,n),e(t,`touchmove`,n))},Su={startColor:`green`,endColor:`red`,indent:0,fontSize:`16px`,fontWeight:`normal`},Cu={toggleActions:`play`,anticipatePin:0},wu={top:0,left:0,center:.5,bottom:1,right:1},Tu=function(e,t){if(Hl(e)){var n=e.indexOf(`=`),r=~n?+(e.charAt(n-1)+1)*parseFloat(e.substr(n+1)):0;~n&&(e.indexOf(`%`)>n&&(r*=t/100),e=e.substr(0,n-1)),e=r+(e in wu?wu[e]*t:~e.indexOf(`%`)?parseFloat(e)*t/100:parseFloat(e)||0)}return e},Eu=function(e,t,n,r,i,a,o,s){var c=i.startColor,l=i.endColor,u=i.fontSize,d=i.indent,f=i.fontWeight,p=Gc.createElement(`div`),m=Il(n)||Ec(n,`pinType`)===`fixed`,h=e.indexOf(`scroller`)!==-1,g=m?qc:n.tagName===`IFRAME`?n.contentDocument.body:n,_=e.indexOf(`start`)!==-1,v=_?c:l,y=`border-color:`+v+`;font-size:`+u+`;color:`+v+`;font-weight:`+f+`;pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;`;return y+=`position:`+((h||s)&&m?`fixed;`:`absolute;`),(h||s||!m)&&(y+=(r===Fc?Zl:Ql)+`:`+(a+parseFloat(d))+`px;`),o&&(y+=`box-sizing:border-box;text-align:left;width:`+o.offsetWidth+`px;`),p._isStart=_,p.setAttribute(`class`,`gsap-marker-`+e+(t?` marker-`+t:``)),p.style.cssText=y,p.innerText=t||t===0?e+`-`+t:e,g.children[0]?g.insertBefore(p,g.children[0]):g.appendChild(p),p._offset=p[`offset`+r.op.d2],Du(p,0,r,_),p},Du=function(e,t,n,r){var i={display:`block`},a=n[r?`os2`:`p2`],o=n[r?`p2`:`os2`];e._isFlipped=r,i[n.a+`Percent`]=r?-100:0,i[n.a]=r?`1px`:0,i[`border`+a+ou]=1,i[`border`+o+ou]=0,i[n.p]=t+`px`,q.set(e,i)},Z=[],Ou={},ku,Au=function(){return Cl()-Tl>34&&(ku||=requestAnimationFrame($u))},ju=function(){(!ul||!ul.isPressed||ul.startX>qc.clientWidth)&&(G.cache++,ul?ku||=requestAnimationFrame($u):$u(),Tl||Lu(`scrollStart`),Tl=Cl())},Mu=function(){pl=J.innerWidth,fl=J.innerHeight},Nu=function(e){G.cache++,(e===!0||!el&&!ll&&!Gc.fullscreenElement&&!Gc.webkitFullscreenElement&&(!dl||pl!==J.innerWidth||Math.abs(J.innerHeight-fl)>J.innerHeight*.25))&&Yc.restart(!0)},Pu={},Fu=[],Iu=function e(){return bu(Q,`scrollEnd`,e)||Yu(!0)},Lu=function(e){return Pu[e]&&Pu[e].map(function(e){return e()})||Fu},Ru=[],zu=function(e){for(var t=0;t<Ru.length;t+=5)(!e||Ru[t+4]&&Ru[t+4].query===e)&&(Ru[t].style.cssText=Ru[t+1],Ru[t].getBBox&&Ru[t].setAttribute(`transform`,Ru[t+2]||``),Ru[t+3].uncache=1)},Bu=function(){return G.forEach(function(e){return Ul(e)&&++e.cacheID&&(e.rec=e())})},Vu=function(e,t){var n;for(rl=0;rl<Z.length;rl++)n=Z[rl],n&&(!t||n._ctx===t)&&(e?n.kill(1):n.revert(!0,!0));yl=!0,t&&zu(t),t||Lu(`revert`)},Hu=function(e,t){G.cache++,(t||!Uu)&&G.forEach(function(e){return Ul(e)&&e.cacheID++&&(e.rec=0)}),Hl(e)&&(J.history.scrollRestoration=gl=e)},Uu,Wu=0,Gu,Ku=function(){if(Gu!==Wu){var e=Gu=Wu;requestAnimationFrame(function(){return e===Wu&&Yu(!0)})}},qu=function(){qc.appendChild(_l),vl=!ul&&_l.offsetHeight||J.innerHeight,qc.removeChild(_l)},Ju=function(e){return Xc(`.gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end`).forEach(function(t){return t.style.display=e?`none`:`block`})},Yu=function(e,t){if(Kc=Gc.documentElement,qc=Gc.body,Jc=[J,Gc,Kc,qc],Tl&&!e&&!yl){yu(Q,`scrollEnd`,Iu);return}qu(),Uu=Q.isRefreshing=!0,yl||Bu();var n=Lu(`refreshInit`);sl&&Q.sort(),t||Vu(),G.forEach(function(e){Ul(e)&&(e.smooth&&(e.target.style.scrollBehavior=`auto`),e(0))}),Z.slice(0).forEach(function(e){return e.refresh()}),yl=!1,Z.forEach(function(e){if(e._subPinOffset&&e.pin){var t=e.vars.horizontal?`offsetWidth`:`offsetHeight`,n=e.pin[t];e.revert(!0,1),e.adjustPinSpacing(e.pin[t]-n),e.refresh()}}),bl=1,Ju(!0),Z.forEach(function(e){var t=Bl(e.scroller,e._dir),n=e.vars.end===`max`||e._endClamp&&e.end>t,r=e._startClamp&&e.start>=t;(n||r)&&e.setPositions(r?t-1:e.start,n?Math.max(r?t:e.start+1,t):e.end,!0)}),Ju(!1),bl=0,n.forEach(function(e){return e&&e.render&&e.render(-1)}),G.forEach(function(e){Ul(e)&&(e.smooth&&requestAnimationFrame(function(){return e.target.style.scrollBehavior=`smooth`}),e.rec&&e(e.rec))}),Hu(gl,1),Yc.pause(),Wu++,Uu=2,$u(2),Z.forEach(function(e){return Ul(e.vars.onRefresh)&&e.vars.onRefresh(e)}),Uu=Q.isRefreshing=!1,Lu(`refresh`)},Xu=0,Zu=1,Qu,$u=function(e){if(e===2||!Uu&&!yl){Q.isUpdating=!0,Qu&&Qu.update(0);var t=Z.length,n=Cl(),r=n-wl>=50,i=t&&Z[0].scroll();if(Zu=Xu>i?-1:1,Uu||(Xu=i),r&&(Tl&&!tl&&n-Tl>200&&(Tl=0,Lu(`scrollEnd`)),Qc=wl,wl=n),Zu<0){for(rl=t;rl-- >0;)Z[rl]&&Z[rl].update(0,r);Zu=1}else for(rl=0;rl<t;rl++)Z[rl]&&Z[rl].update(0,r);Q.isUpdating=!1}ku=0},ed=[Yl,Xl,Ql,Zl,au+iu,au+tu,au+ru,au+nu,`display`,`flexShrink`,`float`,`zIndex`,`gridColumnStart`,`gridColumnEnd`,`gridRowStart`,`gridRowEnd`,`gridArea`,`justifySelf`,`alignSelf`,`placeSelf`,`order`],td=ed.concat([$l,eu,`boxSizing`,`max`+ou,`max`+su,`position`,au,X,X+ru,X+tu,X+iu,X+nu]),nd=function(e,t,n){ad(n);var r=e._gsap;if(r.spacerIsNative)ad(r.spacerState);else if(e._gsap.swappedIn){var i=t.parentNode;i&&(i.insertBefore(e,t),i.removeChild(t))}e._gsap.swappedIn=!1},rd=function(e,t,n,r){if(!e._gsap.swappedIn){for(var i=ed.length,a=t.style,o=e.style,s;i--;)s=ed[i],a[s]=n[s];a.position=n.position===`absolute`?`absolute`:`relative`,n.display===`inline`&&(a.display=`inline-block`),o[Ql]=o[Zl]=`auto`,a.flexBasis=n.flexBasis||`auto`,a.overflow=`visible`,a.boxSizing=`border-box`,a[$l]=pu(e,Pc)+cu,a[eu]=pu(e,Fc)+cu,a[X]=o[au]=o[Xl]=o[Yl]=`0`,ad(r),o[$l]=o[`max`+ou]=n[$l],o[eu]=o[`max`+su]=n[eu],o[X]=n[X],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},id=/([A-Z])/g,ad=function(e){if(e){var t=e.t.style,n=e.length,r=0,i,a;for((e.t._gsap||q.core.getCache(e.t)).uncache=1;r<n;r+=2)a=e[r+1],i=e[r],a?t[i]=a:t[i]&&t.removeProperty(i.replace(id,`-$1`).toLowerCase())}},od=function(e){for(var t=td.length,n=e.style,r=[],i=0;i<t;i++)r.push(td[i],n[td[i]]);return r.t=e,r},sd=function(e,t,n){for(var r=[],i=e.length,a=n?8:0,o;a<i;a+=2)o=e[a],r.push(o,o in t?t[o]:e[a+1]);return r.t=e.t,r},cd={left:0,top:0},ld=function(e,t,n,r,i,a,o,s,c,l,u,d,f,p){Ul(e)&&(e=e(s)),Hl(e)&&e.substr(0,3)===`max`&&(e=d+(e.charAt(4)===`=`?Tu(`0`+e.substr(3),n):0));var m=f?f.time():0,h,g,_;if(f&&f.seek(0),isNaN(e)||(e=+e),Wl(e))f&&(e=q.utils.mapRange(f.scrollTrigger.start,f.scrollTrigger.end,0,d,e)),o&&Du(o,n,r,!0);else{Ul(t)&&(t=t(s));var v=(e||`0`).split(` `),y,b,x,S;_=K(t,s)||qc,y=fu(_)||{},(!y||!y.left&&!y.top)&&lu(_).display===`none`&&(S=_.style.display,_.style.display=`block`,y=fu(_),S?_.style.display=S:_.style.removeProperty(`display`)),b=Tu(v[0],y[r.d]),x=Tu(v[1]||`0`,n),e=y[r.p]-c[r.p]-l+b+i-x,o&&Du(o,x,r,n-x<20||o._isStart&&x>20),n-=n-x}if(p&&(s[p]=e||-.001,e<0&&(e=0)),a){var C=e+n,w=a._isStart;h=`scroll`+r.d2,Du(a,C,r,w&&C>20||!w&&(u?Math.max(qc[h],Kc[h]):a.parentNode[h])<=C+1),u&&(c=fu(o),u&&(a.style[r.op.p]=c[r.op.p]-r.op.m-a._offset+cu))}return f&&_&&(h=fu(_),f.seek(d),g=fu(_),f._caScrollDist=h[r.p]-g[r.p],e=e/f._caScrollDist*d),f&&f.seek(m),f?e:Math.round(e)},ud=/(webkit|moz|length|cssText|inset)/i,dd=function(e,t,n,r){if(e.parentNode!==t){var i=e.style,a,o;if(t===qc){for(a in e._stOrig=i.cssText,o=lu(e),o)!+a&&!ud.test(a)&&o[a]&&typeof i[a]==`string`&&a!==`0`&&(i[a]=o[a]);i.top=n,i.left=r}else i.cssText=e._stOrig;q.core.getCache(e).uncache=1,t.appendChild(e)}},fd=function(e,t,n){var r=t,i=r;return function(t){var a=Math.round(e());return a!==r&&a!==i&&Math.abs(a-r)>3&&Math.abs(a-i)>3&&(t=a,n&&n()),i=r,r=Math.round(t),r}},pd=function(e,t,n){var r={};r[t.p]=`+=`+n,q.set(e,r)},md=function(e,t){var n=Lc(e,t),r=`_scroll`+t.p2,i=function t(i,a,o,s,c){var l=t.tween,u=a.onComplete,d={};o||=n();var f=fd(n,o,function(){l.kill(),t.tween=0});return c=s&&c||0,s||=i-o,l&&l.kill(),a[r]=i,a.inherit=!1,a.modifiers=d,d[r]=function(){return f(o+s*l.ratio+c*l.ratio*l.ratio)},a.onUpdate=function(){G.cache++,t.tween&&$u()},a.onComplete=function(){t.tween=0,u&&u.call(l)},l=t.tween=q.to(e,a),l};return e[r]=n,n.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},yu(e,`wheel`,n.wheelHandler),Q.isTouch&&yu(e,`touchmove`,n.wheelHandler),i},Q=function(){function e(t,n){Wc||e.register(q)||console.warn(`Please gsap.registerPlugin(ScrollTrigger)`),hl(this),this.init(t,n)}var t=e.prototype;return t.init=function(t,n){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!El){this.update=this.refresh=this.kill=Ml;return}t=du(Hl(t)||Wl(t)||t.nodeType?{trigger:t}:t,Cu);var r=t,i=r.onUpdate,a=r.toggleClass,o=r.id,s=r.onToggle,c=r.onRefresh,l=r.scrub,u=r.trigger,d=r.pin,f=r.pinSpacing,p=r.invalidateOnRefresh,m=r.anticipatePin,h=r.onScrubComplete,g=r.onSnapComplete,_=r.once,v=r.snap,y=r.pinReparent,b=r.pinSpacer,x=r.containerAnimation,S=r.fastScrollEnd,C=r.preventOverlaps,w=t.horizontal||t.containerAnimation&&t.horizontal!==!1?Pc:Fc,T=!l&&l!==0,E=K(t.scroller||J),D=q.core.getCache(E),O=Il(E),k=(`pinType`in t?t.pinType:Ec(E,`pinType`)||O&&`fixed`)===`fixed`,A=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],j=T&&t.toggleActions.split(` `),M=`markers`in t?t.markers:Cu.markers,ee=O?0:parseFloat(lu(E)[`border`+w.p2+ou])||0,N=this,te=t.onRefreshInit&&function(){return t.onRefreshInit(N)},P=Rl(E,O,w),F=zl(E,O),ne=0,re=0,ie=0,ae=Lc(E,w),oe,I,se,ce,le,ue,de,fe,L,pe,me,he,ge,_e,ve,ye,be,xe,R,Se,Ce,we,Te,Ee,De,Oe,ke,Ae,je,Me,Ne,z,Pe,Fe,Ie,Le,Re,ze,Be;if(N._startClamp=N._endClamp=!1,N._dir=w,m*=45,N.scroller=E,N.scroll=x?x.time.bind(x):ae,ce=ae(),N.vars=t,n||=t.animation,`refreshPriority`in t&&(sl=1,t.refreshPriority===-9999&&(Qu=N)),D.tweenScroll=D.tweenScroll||{top:md(E,Fc),left:md(E,Pc)},N.tweenTo=oe=D.tweenScroll[w.p],N.scrubDuration=function(e){Pe=Wl(e)&&e,Pe?z?z.duration(e):z=q.to(n,{ease:`expo`,totalProgress:`+=0`,inherit:!1,duration:Pe,paused:!0,onComplete:function(){return h&&h(N)}}):(z&&z.progress(1).kill(),z=0)},n&&(n.vars.lazy=!1,n._initted&&!N.isReverted||n.vars.immediateRender!==!1&&t.immediateRender!==!1&&n.duration()&&n.render(0,!0,!0),N.animation=n.pause(),n.scrollTrigger=N,N.scrubDuration(l),Me=0,o||=n.vars.id),v&&((!Gl(v)||v.push)&&(v={snapTo:v}),`scrollBehavior`in qc.style&&q.set(O?[qc,Kc]:E,{scrollBehavior:`auto`}),G.forEach(function(e){return Ul(e)&&e.target===(O?Gc.scrollingElement||Kc:E)&&(e.smooth=!1)}),se=Ul(v.snapTo)?v.snapTo:v.snapTo===`labels`?hu(n):v.snapTo===`labelsDirectional`?_u(n):v.directional===!1?q.utils.snap(v.snapTo):function(e,t){return gu(v.snapTo)(e,Cl()-re<500?0:t.direction)},Fe=v.duration||{min:.1,max:2},Fe=Gl(Fe)?Zc(Fe.min,Fe.max):Zc(Fe,Fe),Ie=q.delayedCall(v.delay||Pe/2||.1,function(){var e=ae(),t=Cl()-re<500,r=oe.tween;if((t||Math.abs(N.getVelocity())<10)&&!r&&!tl&&ne!==e){var i=(e-ue)/_e,a=n&&!T?n.totalProgress():i,o=t?0:(a-Ne)/(Cl()-Qc)*1e3||0,s=q.utils.clamp(-i,1-i,Jl(o/2)*o/.185),c=i+(v.inertia===!1?0:s),l,u,d=v,f=d.onStart,p=d.onInterrupt,m=d.onComplete;if(l=se(c,N),Wl(l)||(l=c),u=Math.max(0,Math.round(ue+l*_e)),e<=de&&e>=ue&&u!==e){if(r&&!r._initted&&r.data<=Jl(u-e))return;v.inertia===!1&&(s=l-i),oe(u,{duration:Fe(Jl(Math.max(Jl(c-a),Jl(l-a))*.185/o/.05||0)),ease:v.ease||`power3`,data:Jl(u-e),onInterrupt:function(){return Ie.restart(!0)&&p&&ql(N,p)},onComplete:function(){N.update(),ne=ae(),n&&!T&&(z?z.resetTo(`totalProgress`,l,n._tTime/n._tDur):n.progress(l)),Me=Ne=n&&!T?n.totalProgress():N.progress,g&&g(N),m&&ql(N,m)}},e,s*_e,u-e-s*_e),f&&ql(N,f,oe.tween)}}else N.isActive&&ne!==e&&Ie.restart(!0)}).pause()),o&&(Ou[o]=N),u=N.trigger=K(u||d!==!0&&d),Be=u&&u._gsap&&u._gsap.stRevert,Be&&=Be(N),d=d===!0?u:K(d),Hl(a)&&(a={targets:u,className:a}),d&&(f===!1||f===au||(f=!f&&d.parentNode&&d.parentNode.style&&lu(d.parentNode).display===`flex`?!1:X),N.pin=d,I=q.core.getCache(d),I.spacer?ve=I.pinState:(b&&(b=K(b),b&&!b.nodeType&&(b=b.current||b.nativeElement),I.spacerIsNative=!!b,b&&(I.spacerState=od(b))),I.spacer=xe=b||Gc.createElement(`div`),xe.classList.add(`pin-spacer`),o&&xe.classList.add(`pin-spacer-`+o),I.pinState=ve=od(d)),t.force3D!==!1&&q.set(d,{force3D:!0}),N.spacer=xe=I.spacer,je=lu(d),Ee=je[f+w.os2],Se=q.getProperty(d),Ce=q.quickSetter(d,w.a,cu),rd(d,xe,je),be=od(d)),M){he=Gl(M)?du(M,Su):Su,pe=Eu(`scroller-start`,o,E,w,he,0),me=Eu(`scroller-end`,o,E,w,he,0,pe),R=pe[`offset`+w.op.d2];var Ve=K(Ec(E,`content`)||E);fe=this.markerStart=Eu(`start`,o,Ve,w,he,R,0,x),L=this.markerEnd=Eu(`end`,o,Ve,w,he,R,0,x),x&&(ze=q.quickSetter([fe,L],w.a,cu)),!k&&!(Sc.length&&Ec(E,`fixedMarkers`)===!0)&&(uu(O?qc:E),q.set([pe,me],{force3D:!0}),Oe=q.quickSetter(pe,w.a,cu),Ae=q.quickSetter(me,w.a,cu))}if(x){var He=x.vars.onUpdate,Ue=x.vars.onUpdateParams;x.eventCallback(`onUpdate`,function(){N.update(0,0,1),He&&He.apply(x,Ue||[])})}if(N.previous=function(){return Z[Z.indexOf(N)-1]},N.next=function(){return Z[Z.indexOf(N)+1]},N.revert=function(e,t){if(!t)return N.kill(!0);var r=e!==!1||!N.enabled,i=el;r!==N.isReverted&&(r&&(Le=Math.max(ae(),N.scroll.rec||0),ie=N.progress,Re=n&&n.progress()),fe&&[fe,L,pe,me].forEach(function(e){return e.style.display=r?`none`:`block`}),r&&(el=N,N.update(r)),d&&(!y||!N.isActive)&&(r?nd(d,xe,ve):rd(d,xe,lu(d),De)),r||N.update(r),el=i,N.isReverted=r)},N.refresh=function(r,i,a,o){if(!((el||!N.enabled)&&!i)){if(d&&r&&Tl){yu(e,`scrollEnd`,Iu);return}!Uu&&te&&te(N),el=N,oe.tween&&!a&&(oe.tween.kill(),oe.tween=0),z&&z.pause(),p&&n&&(n.revert({kill:!1}).invalidate(),n.getChildren?n.getChildren(!0,!0,!1).forEach(function(e){return e.vars.immediateRender&&e.render(0,!0,!0)}):n.vars.immediateRender&&n.render(0,!0,!0)),N.isReverted||N.revert(!0,!0),N._subPinOffset=!1;var s=P(),l=F(),m=x?x.duration():Bl(E,w),h=_e<=.01||!_e,g=0,_=o||0,v=Gl(a)?a.end:t.end,b=t.endTrigger||u,S=Gl(a)?a.start:t.start||(t.start===0||!u?0:d?`0 0`:`0 100%`),C=N.pinnedContainer=t.pinnedContainer&&K(t.pinnedContainer,N),D=u&&Math.max(0,Z.indexOf(N))||0,A=D,j,I,se,he,R,Ce,Ee,Oe,Ae,je,Me,Ne,Pe;for(M&&Gl(a)&&(Ne=q.getProperty(pe,w.p),Pe=q.getProperty(me,w.p));A-- >0;)Ce=Z[A],Ce.end||Ce.refresh(0,1)||(el=N),Ee=Ce.pin,Ee&&(Ee===u||Ee===d||Ee===C)&&!Ce.isReverted&&(je||=[],je.unshift(Ce),Ce.revert(!0,!0)),Ce!==Z[A]&&(D--,A--);for(Ul(S)&&(S=S(N)),S=Dl(S,`start`,N),ue=ld(S,u,s,w,ae(),fe,pe,N,l,ee,k,m,x,N._startClamp&&`_startClamp`)||(d?-.001:0),Ul(v)&&(v=v(N)),Hl(v)&&!v.indexOf(`+=`)&&(~v.indexOf(` `)?v=(Hl(S)?S.split(` `)[0]:``)+v:(g=Tu(v.substr(2),s),v=Hl(S)?S:(x?q.utils.mapRange(0,x.duration(),x.scrollTrigger.start,x.scrollTrigger.end,ue):ue)+g,b=u)),v=Dl(v,`end`,N),de=Math.max(ue,ld(v||(b?`100% 0`:m),b,s,w,ae()+g,L,me,N,l,ee,k,m,x,N._endClamp&&`_endClamp`))||-.001,g=0,A=D;A--;)Ce=Z[A]||{},Ee=Ce.pin,Ee&&Ce.start-Ce._pinPush<=ue&&!x&&Ce.end>0&&(j=Ce.end-(N._startClamp?Math.max(0,Ce.start):Ce.start),(Ee===u&&Ce.start-Ce._pinPush<ue||Ee===C)&&isNaN(S)&&(g+=j*(1-Ce.progress)),Ee===d&&(_+=j));if(ue+=g,de+=g,N._startClamp&&(N._startClamp+=g),N._endClamp&&!Uu&&(N._endClamp=de||-.001,de=Math.min(de,Bl(E,w))),_e=de-ue||(ue-=.01)&&.001,h&&(ie=q.utils.clamp(0,1,q.utils.normalize(ue,de,Le))),N._pinPush=_,fe&&g&&(j={},j[w.a]=`+=`+g,C&&(j[w.p]=`-=`+ae()),q.set([fe,L],j)),d&&!(bl&&N.end>=Bl(E,w)))j=lu(d),he=w===Fc,se=ae(),we=parseFloat(Se(w.a))+_,!m&&de>1&&(Me=(O?Gc.scrollingElement||Kc:E).style,Me={style:Me,value:Me[`overflow`+w.a.toUpperCase()]},O&&lu(qc)[`overflow`+w.a.toUpperCase()]!==`scroll`&&(Me.style[`overflow`+w.a.toUpperCase()]=`scroll`)),rd(d,xe,j),be=od(d),I=fu(d,!0),Oe=k&&Lc(E,he?Pc:Fc)(),f?(De=[f+w.os2,_e+_+cu],De.t=xe,A=f===X?pu(d,w)+_e+_:0,A&&(De.push(w.d,A+cu),xe.style.flexBasis!==`auto`&&(xe.style.flexBasis=A+cu)),ad(De),C&&Z.forEach(function(e){e.pin===C&&e.vars.pinSpacing!==!1&&(e._subPinOffset=!0)}),k&&ae(Le)):(A=pu(d,w),A&&xe.style.flexBasis!==`auto`&&(xe.style.flexBasis=A+cu)),k&&(R={top:I.top+(he?se-ue:Oe)+cu,left:I.left+(he?Oe:se-ue)+cu,boxSizing:`border-box`,position:`fixed`},R[$l]=R[`max`+ou]=Math.ceil(I.width)+cu,R[eu]=R[`max`+su]=Math.ceil(I.height)+cu,R[au]=R[au+ru]=R[au+tu]=R[au+iu]=R[au+nu]=`0`,R[X]=j[X],R[X+ru]=j[X+ru],R[X+tu]=j[X+tu],R[X+iu]=j[X+iu],R[X+nu]=j[X+nu],ye=sd(ve,R,y),Uu&&ae(0)),n?(Ae=n._initted,cl(1),n.render(n.duration(),!0,!0),Te=Se(w.a)-we+_e+_,ke=Math.abs(_e-Te)>1,k&&ke&&ye.splice(ye.length-2,2),n.render(0,!0,!0),Ae||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),cl(0)):Te=_e,Me&&(Me.value?Me.style[`overflow`+w.a.toUpperCase()]=Me.value:Me.style.removeProperty(`overflow-`+w.a));else if(u&&ae()&&!x)for(I=u.parentNode;I&&I!==qc;)I._pinOffset&&(ue-=I._pinOffset,de-=I._pinOffset),I=I.parentNode;je&&je.forEach(function(e){return e.revert(!1,!0)}),N.start=ue,N.end=de,ce=le=Uu?Le:ae(),!x&&!Uu&&(ce<Le&&ae(Le),N.scroll.rec=0),N.revert(!1,!0),re=Cl(),Ie&&(ne=-1,Ie.restart(!0)),el=0,n&&T&&(n._initted||Re)&&n.progress()!==Re&&n.progress(Re||0,!0).render(n.time(),!0,!0),(h||ie!==N.progress||x||p||n&&!n._initted)&&(n&&!T&&(n._initted||ie||n.vars.immediateRender!==!1)&&n.totalProgress(x&&ue<-.001&&!ie?q.utils.normalize(ue,de,0):ie,!0),N.progress=h||(ce-ue)/_e===ie?0:ie),d&&f&&(xe._pinOffset=Math.round(N.progress*Te)),z&&z.invalidate(),isNaN(Ne)||(Ne-=q.getProperty(pe,w.p),Pe-=q.getProperty(me,w.p),pd(pe,w,Ne),pd(fe,w,Ne-(o||0)),pd(me,w,Pe),pd(L,w,Pe-(o||0))),h&&!Uu&&N.update(),c&&!Uu&&!ge&&(ge=!0,c(N),ge=!1)}},N.getVelocity=function(){return(ae()-le)/(Cl()-Qc)*1e3||0},N.endAnimation=function(){Kl(N.callbackAnimation),n&&(z?z.progress(1):n.paused()?T||Kl(n,N.direction<0,1):Kl(n,n.reversed()))},N.labelToScroll=function(e){return n&&n.labels&&(ue||N.refresh()||ue)+n.labels[e]/n.duration()*_e||0},N.getTrailing=function(e){var t=Z.indexOf(N),n=N.direction>0?Z.slice(0,t).reverse():Z.slice(t+1);return(Hl(e)?n.filter(function(t){return t.vars.preventOverlaps===e}):n).filter(function(e){return N.direction>0?e.end<=ue:e.start>=de})},N.update=function(e,t,r){if(!(x&&!r&&!e)){var o=Uu===!0?Le:N.scroll(),c=e?0:(o-ue)/_e,u=c<0?0:c>1?1:c||0,p=N.progress,h,g,b,D,O,M,ee,te;if(t&&(le=ce,ce=x?ae():o,v&&(Ne=Me,Me=n&&!T?n.totalProgress():u)),m&&d&&!el&&!Sl&&Tl&&(!u&&ue<o+(o-le)/(Cl()-Qc)*m?u=1e-4:u===1&&de>o+(o-le)/(Cl()-Qc)*m&&(u=.9999)),u!==p&&N.enabled){if(h=N.isActive=!!u&&u<1,g=!!p&&p<1,M=h!==g,O=M||!!u!=!!p,N.direction=u>p?1:-1,N.progress=u,O&&!el&&(b=u&&!p?0:u===1?1:p===1?2:3,T&&(D=!M&&j[b+1]!==`none`&&j[b+1]||j[b],te=n&&(D===`complete`||D===`reset`||D in n))),C&&(M||te)&&(te||l||!n)&&(Ul(C)?C(N):N.getTrailing(C).forEach(function(e){return e.endAnimation()})),T||(z&&!el&&!Sl?(z._dp._time-z._start!==z._time&&z.render(z._dp._time-z._start),z.resetTo?z.resetTo(`totalProgress`,u,n._tTime/n._tDur):(z.vars.totalProgress=u,z.invalidate().restart())):n&&n.totalProgress(u,!!(el&&(re||e)))),d){if(e&&f&&(xe.style[f+w.os2]=Ee),!k)Ce(Nl(we+Te*u));else if(O){if(ee=!e&&u>p&&de+1>o&&o+1>=Bl(E,w),y)if(!e&&(h||ee)){var P=fu(d,!0),F=o-ue;dd(d,qc,P.top+(w===Fc?F:0)+cu,P.left+(w===Fc?0:F)+cu)}else dd(d,xe);ad(h||ee?ye:be),ke&&u<1&&h||Ce(we+(u===1&&!ee?Te:0))}}v&&!oe.tween&&!el&&!Sl&&Ie.restart(!0),a&&(M||_&&u&&(u<1||!xl))&&Xc(a.targets).forEach(function(e){return e.classList[h||_?`add`:`remove`](a.className)}),i&&!T&&!e&&i(N),O&&!el?(T&&(te&&(D===`complete`?n.pause().totalProgress(1):D===`reset`?n.restart(!0).pause():D===`restart`?n.restart(!0):n[D]()),i&&i(N)),(M||!xl)&&(s&&M&&ql(N,s),A[b]&&ql(N,A[b]),_&&(u===1?N.kill(!1,1):A[b]=0),M||(b=u===1?1:3,A[b]&&ql(N,A[b]))),S&&!h&&Math.abs(N.getVelocity())>(Wl(S)?S:2500)&&(Kl(N.callbackAnimation),z?z.progress(1):Kl(n,D===`reverse`?1:!u,1))):T&&i&&!el&&i(N)}if(Ae){var ne=x?o/x.duration()*(x._caScrollDist||0):o;Oe(ne+ +!!pe._isFlipped),Ae(ne)}ze&&ze(-o/x.duration()*(x._caScrollDist||0))}},N.enable=function(t,n){N.enabled||(N.enabled=!0,yu(E,`resize`,Nu),O||yu(E,`scroll`,ju),te&&yu(e,`refreshInit`,te),t!==!1&&(N.progress=ie=0,ce=le=ne=ae()),n!==!1&&N.refresh())},N.getTween=function(e){return e&&oe?oe.tween:z},N.setPositions=function(e,t,n,r){if(x){var i=x.scrollTrigger,a=x.duration(),o=i.end-i.start;e=i.start+o*e/a,t=i.start+o*t/a}N.refresh(!1,!1,{start:Ol(e,n&&!!N._startClamp),end:Ol(t,n&&!!N._endClamp)},r),N.update()},N.adjustPinSpacing=function(e){if(De&&e){var t=De.indexOf(w.d)+1;De[t]=parseFloat(De[t])+e+cu,De[1]=parseFloat(De[1])+e+cu,ad(De)}},N.disable=function(t,n){if(t!==!1&&N.revert(!0,!0),N.enabled&&(N.enabled=N.isActive=!1,n||z&&z.pause(),Le=0,I&&(I.uncache=1),te&&bu(e,`refreshInit`,te),Ie&&(Ie.pause(),oe.tween&&oe.tween.kill()&&(oe.tween=0)),!O)){for(var r=Z.length;r--;)if(Z[r].scroller===E&&Z[r]!==N)return;bu(E,`resize`,Nu),O||bu(E,`scroll`,ju)}},N.kill=function(e,r){N.disable(e,r),z&&!r&&z.kill(),o&&delete Ou[o];var i=Z.indexOf(N);i>=0&&Z.splice(i,1),i===rl&&Zu>0&&rl--,i=0,Z.forEach(function(e){return e.scroller===N.scroller&&(i=1)}),i||Uu||(N.scroll.rec=0),n&&(n.scrollTrigger=null,e&&n.revert({kill:!1}),r||n.kill()),fe&&[fe,L,pe,me].forEach(function(e){return e.parentNode&&e.parentNode.removeChild(e)}),Qu===N&&(Qu=0),d&&(I&&(I.uncache=1),i=0,Z.forEach(function(e){return e.pin===d&&i++}),i||(I.spacer=0)),t.onKill&&t.onKill(N)},Z.push(N),N.enable(!1,!1),Be&&Be(N),n&&n.add&&!_e){var We=N.update;N.update=function(){N.update=We,G.cache++,ue||de||N.refresh()},q.delayedCall(.01,N.update),_e=.01,ue=de=0}else N.refresh();d&&Ku()},e.register=function(t){return Wc||=(q=t||Fl(),Pl()&&window.document&&e.enable(),El),Wc},e.defaults=function(e){if(e)for(var t in e)Cu[t]=e[t];return Cu},e.disable=function(e,t){El=0,Z.forEach(function(n){return n[t?`kill`:`disable`](e)}),bu(J,`wheel`,ju),bu(Gc,`scroll`,ju),clearInterval($c),bu(Gc,`touchcancel`,Ml),bu(qc,`touchstart`,Ml),vu(bu,Gc,`pointerdown,touchstart,mousedown`,Al),vu(bu,Gc,`pointerup,touchend,mouseup`,jl),Yc.kill(),Vl(bu);for(var n=0;n<G.length;n+=3)xu(bu,G[n],G[n+1]),xu(bu,G[n],G[n+2])},e.enable=function(){if(J=window,Gc=document,Kc=Gc.documentElement,qc=Gc.body,q)if(Xc=q.utils.toArray,Zc=q.utils.clamp,hl=q.core.context||Ml,cl=q.core.suppressOverwrites||Ml,gl=J.history.scrollRestoration||`auto`,Xu=J.pageYOffset||0,q.core.globals(`ScrollTrigger`,e),qc){El=1,_l=document.createElement(`div`),_l.style.height=`100vh`,_l.style.position=`absolute`,qu(),kl(),Uc.register(q),e.isTouch=Uc.isTouch,ml=Uc.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),dl=Uc.isTouch===1,yu(J,`wheel`,ju),Jc=[J,Gc,Kc,qc],q.matchMedia?(e.matchMedia=function(e){var t=q.matchMedia(),n;for(n in e)t.add(n,e[n]);return t},q.addEventListener(`matchMediaInit`,function(){Bu(),Vu()}),q.addEventListener(`matchMediaRevert`,function(){return zu()}),q.addEventListener(`matchMedia`,function(){Yu(0,1),Lu(`matchMedia`)}),q.matchMedia().add(`(orientation: portrait)`,function(){return Mu(),Mu})):console.warn(`Requires GSAP 3.11.0 or later`),Mu(),yu(Gc,`scroll`,ju);var t=qc.hasAttribute(`style`),n=qc.style,r=n.borderTopStyle,i=q.core.Animation.prototype,a,o;for(i.revert||Object.defineProperty(i,`revert`,{value:function(){return this.time(-.01,!0)}}),n.borderTopStyle=`solid`,a=fu(qc),Fc.m=Math.round(a.top+Fc.sc())||0,Pc.m=Math.round(a.left+Pc.sc())||0,r?n.borderTopStyle=r:n.removeProperty(`border-top-style`),t||(qc.setAttribute(`style`,``),qc.removeAttribute(`style`)),$c=setInterval(Au,250),q.delayedCall(.5,function(){return Sl=0}),yu(Gc,`touchcancel`,Ml),yu(qc,`touchstart`,Ml),vu(yu,Gc,`pointerdown,touchstart,mousedown`,Al),vu(yu,Gc,`pointerup,touchend,mouseup`,jl),nl=q.utils.checkPrefix(`transform`),td.push(nl),Wc=Cl(),Yc=q.delayedCall(.2,Yu).pause(),ol=[Gc,`visibilitychange`,function(){var e=J.innerWidth,t=J.innerHeight;Gc.hidden?(il=e,al=t):(il!==e||al!==t)&&Nu()},Gc,`DOMContentLoaded`,Yu,J,`load`,Yu,J,`resize`,Nu],Vl(yu),Z.forEach(function(e){return e.enable(0,1)}),o=0;o<G.length;o+=3)xu(bu,G[o],G[o+1]),xu(bu,G[o],G[o+2])}else Gc&&Gc.addEventListener(`DOMContentLoaded`,function t(){e.enable(),Gc.removeEventListener(`DOMContentLoaded`,t)})},e.config=function(t){`limitCallbacks`in t&&(xl=!!t.limitCallbacks);var n=t.syncInterval;n&&clearInterval($c)||($c=n)&&setInterval(Au,n),`ignoreMobileResize`in t&&(dl=e.isTouch===1&&t.ignoreMobileResize),`autoRefreshEvents`in t&&(Vl(bu)||Vl(yu,t.autoRefreshEvents||`none`),ll=(t.autoRefreshEvents+``).indexOf(`resize`)===-1)},e.scrollerProxy=function(e,t){var n=K(e),r=G.indexOf(n),i=Il(n);~r&&G.splice(r,i?6:2),t&&(i?Sc.unshift(J,t,qc,t,Kc,t):Sc.unshift(n,t))},e.clearMatchMedia=function(e){Z.forEach(function(t){return t._ctx&&t._ctx.query===e&&t._ctx.kill(!0,!0)})},e.isInViewport=function(e,t,n){var r=(Hl(e)?K(e):e).getBoundingClientRect(),i=r[n?$l:eu]*t||0;return n?r.right-i>0&&r.left+i<J.innerWidth:r.bottom-i>0&&r.top+i<J.innerHeight},e.positionInViewport=function(e,t,n){Hl(e)&&(e=K(e));var r=e.getBoundingClientRect(),i=r[n?$l:eu],a=t==null?i/2:t in wu?wu[t]*i:~t.indexOf(`%`)?parseFloat(t)*i/100:parseFloat(t)||0;return n?(r.left+a)/J.innerWidth:(r.top+a)/J.innerHeight},e.killAll=function(e){if(Z.slice(0).forEach(function(e){return e.vars.id!==`ScrollSmoother`&&e.kill()}),e!==!0){var t=Pu.killAll||[];Pu={},t.forEach(function(e){return e()})}},e}();Q.version=`3.15.0`,Q.saveStyles=function(e){return e?Xc(e).forEach(function(e){if(e&&e.style){var t=Ru.indexOf(e);t>=0&&Ru.splice(t,5),Ru.push(e,e.style.cssText,e.getBBox&&e.getAttribute(`transform`),q.core.getCache(e),hl())}}):Ru},Q.revert=function(e,t){return Vu(!e,t)},Q.create=function(e,t){return new Q(e,t)},Q.refresh=function(e){return e?Nu(!0):(Wc||Q.register())&&Yu(!0)},Q.update=function(e){return++G.cache&&$u(e===!0?2:0)},Q.clearScrollMemory=Hu,Q.maxScroll=function(e,t){return Bl(e,t?Pc:Fc)},Q.getScrollFunc=function(e,t){return Lc(K(e),t?Pc:Fc)},Q.getById=function(e){return Ou[e]},Q.getAll=function(){return Z.filter(function(e){return e.vars.id!==`ScrollSmoother`})},Q.isScrolling=function(){return!!Tl},Q.snapDirectional=gu,Q.addEventListener=function(e,t){var n=Pu[e]||(Pu[e]=[]);~n.indexOf(t)||n.push(t)},Q.removeEventListener=function(e,t){var n=Pu[e],r=n&&n.indexOf(t);r>=0&&n.splice(r,1)},Q.batch=function(e,t){var n=[],r={},i=t.interval||.016,a=t.batchMax||1e9,o=function(e,t){var n=[],r=[],o=q.delayedCall(i,function(){t(n,r),n=[],r=[]}).pause();return function(e){n.length||o.restart(!0),n.push(e.trigger),r.push(e),a<=n.length&&o.progress(1)}},s;for(s in t)r[s]=s.substr(0,2)===`on`&&Ul(t[s])&&s!==`onRefreshInit`?o(s,t[s]):t[s];return Ul(a)&&(a=a(),yu(Q,`refresh`,function(){return a=t.batchMax()})),Xc(e).forEach(function(e){var t={};for(s in r)t[s]=r[s];t.trigger=e,n.push(Q.create(t))}),n};var hd=function(e,t,n,r){return t>r?e(r):t<0&&e(0),n>r?(r-t)/(n-t):n<0?t/(t-n):1},gd=function e(t,n){n===!0?t.style.removeProperty(`touch-action`):t.style.touchAction=n===!0?`auto`:n?`pan-`+n+(Uc.isTouch?` pinch-zoom`:``):`none`,t===Kc&&e(qc,n)},_d={auto:1,scroll:1},vd=function(e){var t=e.event,n=e.target,r=e.axis,i=(t.changedTouches?t.changedTouches[0]:t).target,a=i._gsap||q.core.getCache(i),o=Cl(),s;if(!a._isScrollT||o-a._isScrollT>2e3){for(;i&&i!==qc&&(i.scrollHeight<=i.clientHeight&&i.scrollWidth<=i.clientWidth||!(_d[(s=lu(i)).overflowY]||_d[s.overflowX]));)i=i.parentNode;a._isScroll=i&&i!==n&&!Il(i)&&(_d[(s=lu(i)).overflowY]||_d[s.overflowX]),a._isScrollT=o}(a._isScroll||r===`x`)&&(t.stopPropagation(),t._gsapAllow=!0)},yd=function(e,t,n,r){return Uc.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:r&&=vd,onPress:r,onDrag:r,onScroll:r,onEnable:function(){return n&&yu(Gc,Uc.eventTypes[0],Sd,!1,!0)},onDisable:function(){return bu(Gc,Uc.eventTypes[0],Sd,!0)}})},bd=/(input|label|select|textarea)/i,xd,Sd=function(e){var t=bd.test(e.target.tagName);(t||xd)&&(e._gsapAllow=!0,xd=t)},Cd=function(e){Gl(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||=`wheel,touch`,e.debounce=!!e.debounce,e.id=e.id||`normalizer`;var t=e,n=t.normalizeScrollX,r=t.momentum,i=t.allowNestedScroll,a=t.onRelease,o,s,c=K(e.target)||Kc,l=q.core.globals().ScrollSmoother,u=l&&l.get(),d=ml&&(e.content&&K(e.content)||u&&e.content!==!1&&!u.smooth()&&u.content()),f=Lc(c,Fc),p=Lc(c,Pc),m=1,h=(Uc.isTouch&&J.visualViewport?J.visualViewport.scale*J.visualViewport.width:J.outerWidth)/J.innerWidth,g=0,_=Ul(r)?function(){return r(o)}:function(){return r||2.8},v,y,b=yd(c,e.type,!0,i),x=function(){return y=!1},S=Ml,C=Ml,w=function(){s=Bl(c,Fc),C=Zc(+!!ml,s),n&&(S=Zc(0,Bl(c,Pc))),v=Wu},T=function(){d._gsap.y=Nl(parseFloat(d._gsap.y)+f.offset)+`px`,d.style.transform=`matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, `+parseFloat(d._gsap.y)+`, 0, 1)`,f.offset=f.cacheID=0},E=function(){if(y){requestAnimationFrame(x);var e=Nl(o.deltaY/2),t=C(f.v-e);if(d&&t!==f.v+f.offset){f.offset=t-f.v;var n=Nl((parseFloat(d&&d._gsap.y)||0)-f.offset);d.style.transform=`matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, `+n+`, 0, 1)`,d._gsap.y=n+`px`,f.cacheID=G.cache,$u()}return!0}f.offset&&T(),y=!0},D,O,k,A,j=function(){w(),D.isActive()&&D.vars.scrollY>s&&(f()>s?D.progress(1)&&f(s):D.resetTo(`scrollY`,s))};return d&&q.set(d,{y:`+=0`}),e.ignoreCheck=function(e){return ml&&e.type===`touchmove`&&E(e)||m>1.05&&e.type!==`touchstart`||o.isGesturing||e.touches&&e.touches.length>1},e.onPress=function(){y=!1;var e=m;m=Nl((J.visualViewport&&J.visualViewport.scale||1)/h),D.pause(),e!==m&&gd(c,m>1.01?!0:n?!1:`x`),O=p(),k=f(),w(),v=Wu},e.onRelease=e.onGestureStart=function(e,t){if(f.offset&&T(),!t)A.restart(!0);else{G.cache++;var r=_(),i,o;n&&(i=p(),o=i+r*.05*-e.velocityX/.227,r*=hd(p,i,o,Bl(c,Pc)),D.vars.scrollX=S(o)),i=f(),o=i+r*.05*-e.velocityY/.227,r*=hd(f,i,o,Bl(c,Fc)),D.vars.scrollY=C(o),D.invalidate().duration(r).play(.01),(ml&&D.vars.scrollY>=s||i>=s-1)&&q.to({},{onUpdate:j,duration:r})}a&&a(e)},e.onWheel=function(){D._ts&&D.pause(),Cl()-g>1e3&&(v=0,g=Cl())},e.onChange=function(e,t,r,i,a){if(Wu!==v&&w(),t&&n&&p(S(i[2]===t?O+(e.startX-e.x):p()+t-i[1])),r){f.offset&&T();var o=a[2]===r,s=o?k+e.startY-e.y:f()+r-a[1],c=C(s);o&&s!==c&&(k+=c-s),f(c)}(r||t)&&$u()},e.onEnable=function(){gd(c,n?!1:`x`),Q.addEventListener(`refresh`,j),yu(J,`resize`,j),f.smooth&&=(f.target.style.scrollBehavior=`auto`,p.smooth=!1),b.enable()},e.onDisable=function(){gd(c,!0),bu(J,`resize`,j),Q.removeEventListener(`refresh`,j),b.kill()},e.lockAxis=e.lockAxis!==!1,o=new Uc(e),o.iOS=ml,ml&&!f()&&f(1),ml&&q.ticker.add(Ml),A=o._dc,D=q.to(o,{ease:`power4`,paused:!0,inherit:!1,scrollX:n?`+=0.1`:`+=0`,scrollY:`+=0.1`,modifiers:{scrollY:fd(f,f(),function(){return D.pause()})},onUpdate:$u,onComplete:A.vars.onComplete}),o};Q.sort=function(e){if(Ul(e))return Z.sort(e);var t=J.pageYOffset||0;return Q.getAll().forEach(function(e){return e._sortY=e.trigger?t+e.trigger.getBoundingClientRect().top:e.start+J.innerHeight}),Z.sort(e||function(e,t){return(e.vars.refreshPriority||0)*-1e6+(e.vars.containerAnimation?1e6:e._sortY)-((t.vars.containerAnimation?1e6:t._sortY)+(t.vars.refreshPriority||0)*-1e6)})},Q.observe=function(e){return new Uc(e)},Q.normalizeScroll=function(e){if(e===void 0)return ul;if(e===!0&&ul)return ul.enable();if(e===!1){ul&&ul.kill(),ul=e;return}var t=e instanceof Uc?e:Cd(e);return ul&&ul.target===t.target&&ul.kill(),Il(t.target)&&(ul=t),t},Q.core={_getVelocityProp:Rc,_inputObserver:yd,_scrollers:G,_proxies:Sc,bridge:{ss:function(){Tl||Lu(`scrollStart`),Tl=Cl()},ref:function(){return el}}},Fl()&&q.registerPlugin(Q),W.registerPlugin(Q);function wd(){let e=(0,w.useRef)(null),t=(0,w.useRef)(null),n=(0,w.useRef)(null),r=(0,w.useRef)(null),i=(0,w.useRef)(null),a=(0,w.useRef)(null),o=(0,w.useRef)(null);return(0,w.useEffect)(()=>{let s=W.context(()=>{let s=r.current;s&&(s.pause(),s.currentTime=0),W.set(n.current,{opacity:0,scale:1.12,filter:`blur(12px)`}),W.set(a.current,{opacity:0,y:54,x:0,scale:.965,filter:`blur(10px)`}),W.set(o.current,{width:`0%`}),W.set(`.fill-line`,{backgroundPosition:`100% 0%`});let c=Q.create({trigger:e.current,start:`top top`,end:`+=1400`,onEnter:()=>document.body.classList.add(`is-dark-hero`),onEnterBack:()=>document.body.classList.add(`is-dark-hero`),onLeave:()=>document.body.classList.remove(`is-dark-hero`),onLeaveBack:()=>document.body.classList.remove(`is-dark-hero`)}),l=!1;return W.timeline({scrollTrigger:{trigger:e.current,start:`top top`,end:`+=1400`,scrub:.8,pin:!0,anticipatePin:1,fastScrollEnd:!0,preventOverlaps:!0,onUpdate:e=>{W.set(o.current,{width:`${e.progress*100}%`}),s&&(e.progress>=.42&&!l&&(l=!0,s.play().catch(()=>{})),e.progress<.42&&l&&(l=!1,s.pause(),s.currentTime=0))}}}).to(t.current,{width:`100vw`,height:`100vh`,borderRadius:0,ease:`power2.out`,duration:1},.15).to(t.current,{scale:1.08,ease:`none`},.15).to(`.fill-line`,{backgroundPosition:`0% 0%`,ease:`none`,stagger:.07,duration:.55},.25).to(n.current,{opacity:1,scale:1.035,filter:`blur(0px)`,ease:`none`},1.1).to(i.current,{opacity:0,y:-34,scale:.985,filter:`blur(8px)`,ease:`none`},1.25).to(a.current,{opacity:1,y:0,scale:1,filter:`blur(0px)`,ease:`none`},1.4).to(n.current,{scale:1.095,ease:`none`},1.75),()=>{s&&(s.pause(),s.currentTime=0),c.kill(),document.body.classList.remove(`is-dark-hero`)}},e);return()=>{s.revert(),Q.getAll().forEach(e=>e.kill()),document.querySelectorAll(`[data-gsap-pin-spacer]`).forEach(e=>{let t=e.parentNode;if(t){for(;e.firstChild;)t.insertBefore(e.firstChild,e);t.removeChild(e)}}),document.body.style.removeProperty(`overflow`),document.body.style.removeProperty(`padding-bottom`),document.body.style.removeProperty(`height`),document.documentElement.style.removeProperty(`overflow`),document.documentElement.style.removeProperty(`height`),document.body.classList.remove(`is-dark-hero`)}},[]),(0,B.jsx)(`section`,{className:`main-section`,ref:e,children:(0,B.jsx)(`div`,{className:`main-bg-wrap`,children:(0,B.jsxs)(`div`,{className:`main-bg`,ref:t,children:[(0,B.jsx)(`div`,{className:`main-bg-hero1`}),(0,B.jsx)(`div`,{className:`main-bg-hero2`,ref:n,children:(0,B.jsx)(`video`,{ref:r,className:`hero-video`,src:`./images/mainvideo.mp4`,muted:!0,loop:!0,playsInline:!0,preload:`auto`})}),(0,B.jsx)(`div`,{className:`main-visible-atmo main-visible-atmo1`}),(0,B.jsx)(`div`,{className:`main-visible-atmo main-visible-atmo2`}),(0,B.jsx)(`div`,{className:`main-visible-beam main-visible-beam1`}),(0,B.jsx)(`div`,{className:`main-visible-beam main-visible-beam2`}),(0,B.jsx)(`div`,{className:`main-visible-haze`}),(0,B.jsx)(`div`,{className:`main-grid`}),(0,B.jsxs)(`div`,{className:`main-text`,children:[(0,B.jsxs)(`div`,{className:`text text-fill text-left-bottom`,ref:i,children:[(0,B.jsx)(`span`,{className:`main-kicker`,children:`PAL NETWORKS`}),(0,B.jsx)(`span`,{className:`fill-line`,children:`Technology Partner for`}),(0,B.jsx)(`br`,{}),(0,B.jsx)(`span`,{className:`fill-line`,children:`Advanced Air Mobility`})]}),(0,B.jsxs)(`div`,{className:`text text-change text-center-hero`,ref:a,children:[`항공 데이터와 통합 관제 기술로`,(0,B.jsx)(`br`,{}),`안전한 하늘길을 설계합니다`]})]}),(0,B.jsx)(`div`,{className:`main-progress`,children:(0,B.jsx)(`span`,{className:`main-progress-bar`,ref:o})}),(0,B.jsxs)(`div`,{className:`main-scroll-indicator`,children:[(0,B.jsx)(`span`,{className:`main-scroll-line`}),(0,B.jsx)(`span`,{className:`main-scroll-text`,children:`SCROLL`})]})]})})})}W.registerPlugin(Q);function Td(){let e=(0,w.useRef)(null),t=(0,w.useRef)([]),n=[{step:`01`,label:`비행 검토`,title:`비행가능여부 확인`,desc:`선택한 공역에서 드론 비행 가능 여부와 제한 조건을 실시간으로 확인합니다.`},{step:`02`,label:`승인 신청`,title:`자동비행승인 신청`,desc:`복잡한 승인 절차 없이 간편하게 비행 자동 승인을 신청할 수 있습니다.`},{step:`03`,label:`비행 관제`,title:`실시간 모니터링`,desc:`드론의 위치, 비행 경로, 운항 상태를 실시간으로 확인하고 모니터링합니다.`},{step:`04`,label:`통합 관리`,title:`비행 데이터 관리`,desc:`비행 이력과 운항 스케줄 데이터를 통합 관리하여 효율적인 드론 운영을 지원합니다.`}];return(0,w.useEffect)(()=>{let r=W.context(()=>{let r=t.current.filter(Boolean);W.set(r,{yPercent:110,scale:1,opacity:1,rotateX:0,transformOrigin:`center bottom`}),W.set(r[0],{yPercent:0});let i=W.timeline({scrollTrigger:{trigger:e.current,start:`top top`,end:`+=${n.length*900}`,scrub:1,pin:!0,anticipatePin:1}});r.forEach((e,t)=>{if(t===0)return;let n=r[t-1];i.to(n,{yPercent:-18,scale:.88,opacity:.35,rotateX:8,filter:`blur(3px)`,duration:1,ease:`none`},t-.85),i.to(e,{yPercent:0,duration:1,ease:`none`},t-.85)}),i.to(r[r.length-1],{yPercent:-10,scale:.94,duration:.8,ease:`none`})},e);return()=>r.revert()},[n.length]),(0,B.jsxs)(`section`,{className:`main-utm-section`,ref:e,children:[(0,B.jsx)(`div`,{className:`main-utm-bg-glow main-utm-bg-glow--a`}),(0,B.jsx)(`div`,{className:`main-utm-bg-glow main-utm-bg-glow--b`}),(0,B.jsxs)(`div`,{className:`utm-floating-air`,"aria-hidden":`true`,children:[(0,B.jsxs)(`div`,{className:`utm-floating-drone utm-floating-drone--a`,children:[(0,B.jsxs)(`svg`,{viewBox:`0 0 64 64`,"aria-hidden":`true`,children:[(0,B.jsx)(`circle`,{cx:`18`,cy:`18`,r:`10`}),(0,B.jsx)(`circle`,{cx:`46`,cy:`18`,r:`10`}),(0,B.jsx)(`circle`,{cx:`18`,cy:`46`,r:`10`}),(0,B.jsx)(`circle`,{cx:`46`,cy:`46`,r:`10`}),(0,B.jsx)(`path`,{d:`M25 25L39 39`}),(0,B.jsx)(`path`,{d:`M39 25L25 39`}),(0,B.jsx)(`circle`,{cx:`32`,cy:`32`,r:`3.5`})]}),(0,B.jsx)(`span`,{})]}),(0,B.jsxs)(`div`,{className:`utm-floating-drone utm-floating-drone--b`,children:[(0,B.jsxs)(`svg`,{viewBox:`0 0 64 64`,"aria-hidden":`true`,children:[(0,B.jsx)(`circle`,{cx:`18`,cy:`18`,r:`10`}),(0,B.jsx)(`circle`,{cx:`46`,cy:`18`,r:`10`}),(0,B.jsx)(`circle`,{cx:`18`,cy:`46`,r:`10`}),(0,B.jsx)(`circle`,{cx:`46`,cy:`46`,r:`10`}),(0,B.jsx)(`path`,{d:`M25 25L39 39`}),(0,B.jsx)(`path`,{d:`M39 25L25 39`}),(0,B.jsx)(`circle`,{cx:`32`,cy:`32`,r:`3.5`})]}),(0,B.jsx)(`span`,{})]}),(0,B.jsxs)(`div`,{className:`utm-floating-drone utm-floating-drone--c`,children:[(0,B.jsxs)(`svg`,{viewBox:`0 0 64 64`,"aria-hidden":`true`,children:[(0,B.jsx)(`circle`,{cx:`18`,cy:`18`,r:`10`}),(0,B.jsx)(`circle`,{cx:`46`,cy:`18`,r:`10`}),(0,B.jsx)(`circle`,{cx:`18`,cy:`46`,r:`10`}),(0,B.jsx)(`circle`,{cx:`46`,cy:`46`,r:`10`}),(0,B.jsx)(`path`,{d:`M25 25L39 39`}),(0,B.jsx)(`path`,{d:`M39 25L25 39`}),(0,B.jsx)(`circle`,{cx:`32`,cy:`32`,r:`3.5`})]}),(0,B.jsx)(`span`,{})]})]}),(0,B.jsxs)(`div`,{className:`main-utm-inner`,children:[(0,B.jsxs)(`div`,{className:`main-utm-head`,children:[(0,B.jsx)(`p`,{className:`main-utm-eyebrow`,children:`UTM SYSTEM`}),(0,B.jsx)(`h2`,{className:`main-utm-title`,children:`드론교통관리 (UTM)`}),(0,B.jsx)(`p`,{className:`main-utm-desc`,children:`드론 하늘길을 통제하는 관제 시스템`})]}),(0,B.jsx)(`div`,{className:`main-utm-stack`,children:n.map((e,n)=>(0,B.jsxs)(`article`,{className:`main-utm-card`,ref:e=>{t.current[n]=e},children:[(0,B.jsxs)(`div`,{className:`main-utm-card-text`,children:[(0,B.jsx)(`span`,{className:`main-utm-step`,children:e.step}),(0,B.jsx)(`p`,{className:`main-utm-label`,children:e.label}),(0,B.jsx)(`h3`,{children:e.title}),(0,B.jsx)(`p`,{children:e.desc})]}),(0,B.jsx)(`div`,{className:`main-utm-card-visual`,children:(0,B.jsx)(`div`,{className:`main-utm-card-visual`,children:(0,B.jsx)(`img`,{className:`main-utm-img main-utm-img${n+1}`,src:`./images/main-utm-img${n+1}.png`,alt:``})})})]},e.step))})]})]})}var Ed=`/PALNetworks/assets/uam-silver-CH8KBHvx.png`;W.registerPlugin(Q);function Dd(){let e=(0,w.useRef)(null),t=(0,w.useRef)(null),n=(0,w.useRef)(null),r=(0,w.useRef)([]),i=(0,w.useRef)(null),a=(0,w.useRef)(null),o=(0,w.useRef)(null),s=window.innerWidth<=768;return(0,w.useEffect)(()=>{let c=o.current,l=e.current,u=c.getContext(`2d`),d,f=0,p=[{freq:1.3,speed:1e-4,phase:0,yRatio:.28,amp:.18},{freq:.9,speed:7e-5,phase:2.6,yRatio:.55,amp:.15},{freq:1.6,speed:13e-5,phase:5.1,yRatio:.78,amp:.12}],m=p.map(e=>({wave:e,t:Math.random(),speed:18e-5+Math.random()*1e-4})),h=()=>{c.width=l.offsetWidth,c.height=l.offsetHeight},g=e=>{let t=c.width,n=c.height,r=t<=768;u.clearRect(0,0,t,n),p.forEach((n,i)=>{if(r&&i===2)return;let a=r?.35:.5+f*.7,o=Array.from({length:201},(r,i)=>[i/200*t,c.height*n.yRatio+Math.sin(i/200*Math.PI*n.freq+e*n.speed+n.phase)*n.amp*c.height*a]),s=f*(r?.12:.18),l=u.createLinearGradient(0,0,t,0);l.addColorStop(0,`rgba(58,64,129,0)`),l.addColorStop(.2,`rgba(58,64,129,${s})`),l.addColorStop(.5,`rgba(58,64,129,${s*1.2})`),l.addColorStop(.8,`rgba(58,64,129,${s})`),l.addColorStop(1,`rgba(58,64,129,0)`),u.beginPath(),u.moveTo(o[0][0],o[0][1]);for(let e=1;e<o.length-1;e++){let t=(o[e][0]+o[e+1][0])/2,n=(o[e][1]+o[e+1][1])/2;u.quadraticCurveTo(o[e][0],o[e][1],t,n)}u.lineTo(o[o.length-1][0],o[o.length-1][1]),u.strokeStyle=l,u.lineWidth=r?.8:1.2,u.stroke()}),m.forEach((n,i)=>{if(r&&i===2)return;n.t+=n.speed*16,n.t>1&&--n.t;let a=r?.35:.5+f*.7,o=n.t*t,s=c.height*n.wave.yRatio+Math.sin(n.t*Math.PI*n.wave.freq+e*n.wave.speed+n.wave.phase)*n.wave.amp*c.height*a,l=Math.sin(n.t*Math.PI)*f*.45;if(l<.01)return;let d=r?3.5:5.5,p=r?1.8:2.8;u.beginPath(),u.arc(o,s,d,0,Math.PI*2),u.strokeStyle=`rgba(58,64,129,${l*.35})`,u.lineWidth=1,u.stroke(),u.beginPath(),u.arc(o,s,p,0,Math.PI*2),u.fillStyle=`rgba(58,64,129,${l})`,u.fill()}),d=requestAnimationFrame(g)},_=Q.create({trigger:l,start:`top top`,end:`+=2100`,onUpdate:e=>{f=e.progress}});h(),window.addEventListener(`resize`,h),d=requestAnimationFrame(g);let v=W.context(()=>{W.set(n.current,{xPercent:100}),W.set(r.current,{scaleX:0,transformOrigin:`left center`}),W.set(i.current,{x:s?-160:-320,opacity:0,scale:1}),W.set(`.airspace-uam-content`,{opacity:0,y:36}),W.set(a.current,{opacity:0});let o=W.timeline({scrollTrigger:{trigger:e.current,start:`top top`,end:`+=2100`,scrub:1,pin:!0,anticipatePin:1}});o.to(r.current,{scaleX:1,stagger:.08,duration:.7,ease:`none`}),o.to(i.current,{x:0,opacity:1,duration:.7,ease:`none`},`<0.1`),o.to(t.current,{xPercent:-100,duration:1,ease:`none`}),o.to(n.current,{xPercent:0,duration:1,ease:`none`},`<`),o.call(()=>{i.current?.classList.add(`is-zooming`)}),o.to(i.current,{x:0,y:0,scale:s?42:52,duration:1.2,ease:`power2.inOut`}),o.to([`.airspace-uam-content`,a.current],{opacity:1,y:0,duration:.8,ease:`power2.out`},`-=0.35`)},e);return()=>{v.revert(),_.kill(),cancelAnimationFrame(d),window.removeEventListener(`resize`,h)}},[]),(0,B.jsxs)(`section`,{className:`airspace-transition-section`,ref:e,children:[(0,B.jsx)(`canvas`,{ref:o,className:`aurora-canvas`}),(0,B.jsxs)(`div`,{className:`airspace-panel airspace-panel--utm`,ref:t,children:[(0,B.jsx)(`p`,{children:`UTM SYSTEM`}),(0,B.jsx)(`h2`,{children:`드론 하늘길에서`})]}),(0,B.jsxs)(`div`,{className:`airspace-panel airspace-panel--uam`,ref:n,children:[(0,B.jsx)(`p`,{children:`UAM SYSTEM`}),(0,B.jsxs)(`h2`,{children:[`도심 항공`,(0,B.jsx)(`span`,{className:`airspace-mobile-br`,children:` `}),`네트워크로`]})]}),(0,B.jsx)(`div`,{className:`airspace-lines`,children:[0,1,2,3].map(e=>(0,B.jsx)(`span`,{className:`airspace-line airspace-line--${e+1}`,ref:t=>{r.current[e]=t}},e))}),(0,B.jsx)(`div`,{className:`airspace-moving-dot`,ref:i,children:(0,B.jsx)(`div`,{className:`airspace-dot-image`,ref:a,children:(0,B.jsx)(`img`,{src:Ed,alt:`UAM Aircraft`})})}),(0,B.jsxs)(`div`,{className:`airspace-uam-content`,children:[(0,B.jsx)(`p`,{children:`UAM NETWORK`}),(0,B.jsx)(`h2`,{children:`Urban Air Mobility`}),(0,B.jsxs)(`span`,{children:[`도심 내 버티포트, 운항 경로, 항공 교통 데이터를 `,(0,B.jsx)(`br`,{}),`하나의 네트워크로 연결해 미래형 항공 이동 환경을 구축합니다.`]})]})]})}W.registerPlugin(Q);function Od(){let e=(0,w.useRef)(null),t=(0,w.useRef)(null),n=(0,w.useRef)([]),r=[{icon:`/PALNetworks/images/airplane.png`,label:`SOLUTION 01`,title:`비행상황관리 시스템`,desc:`운항 상태, 항로, 고도, 비행 이력을 실시간으로 확인하고 관리합니다.`},{icon:`/PALNetworks/images/cloud-network.png`,label:`SOLUTION 02`,title:(0,B.jsxs)(B.Fragment,{children:[`IBE`,(0,B.jsx)(`small`,{children:`(Internet Booking Engine)`})]}),desc:`항공 예약과 판매 흐름을 연결해 편리한 예약 환경을 제공합니다.`},{icon:`/PALNetworks/images/maps.png`,label:`SOLUTION 03`,title:`스마트 관광 예약 플랫폼`,desc:`관광 상품과 예약 데이터를 통합해 사용자 중심 서비스를 구성합니다.`},{icon:`/PALNetworks/images/cloud.png`,label:`SOLUTION 04`,title:`KT G-Cloud`,desc:`공공 클라우드 기반의 안정적인 인프라 운영 환경을 제공합니다.`}];return(0,w.useEffect)(()=>{let r=W.context(()=>{W.set(t.current,{opacity:0,y:42}),W.set(n.current,{opacity:0,y:64,scale:.96}),W.timeline({scrollTrigger:{trigger:e.current,start:`top 72%`,end:`top 28%`,scrub:1}}).to(t.current,{opacity:1,y:0,duration:.8,ease:`power2.out`}).to(n.current,{opacity:1,y:0,scale:1,stagger:.12,duration:.9,ease:`power2.out`},`-=0.35`),W.to(`.main-solution-bg-circle`,{y:120,scale:1.08,ease:`none`,scrollTrigger:{trigger:e.current,start:`top bottom`,end:`bottom top`,scrub:1}})},e);return()=>r.revert()},[]),(0,B.jsxs)(`section`,{className:`main-solution-section`,ref:e,children:[(0,B.jsx)(`div`,{className:`main-solution-bg-circle`}),(0,B.jsxs)(`div`,{className:`main-solution-inner`,children:[(0,B.jsxs)(`div`,{className:`main-solution-head`,ref:t,children:[(0,B.jsx)(`p`,{className:`main-solution-eyebrow`,children:`PAL SOLUTION`}),(0,B.jsxs)(`h2`,{className:`main-solution-title`,children:[`항공 IT`,(0,B.jsx)(`br`,{}),`서비스 솔루션`]}),(0,B.jsx)(`p`,{className:`main-solution-desc`,children:`항공 운항 관리부터 스마트 관광 예약 플랫폼, 클라우드 인프라까지 다양한 항공·모빌리티 서비스를 하나의 통합 시스템 안에서 제공합니다.`})]}),(0,B.jsx)(`div`,{className:`main-solution-grid`,children:r.map((e,t)=>(0,B.jsxs)(`article`,{className:`main-solution-card`,ref:e=>{n.current[t]=e},children:[(0,B.jsx)(`div`,{className:`main-solution-card-icon`,children:typeof e.icon==`string`&&e.icon.includes(`.png`)?(0,B.jsx)(`img`,{src:e.icon,alt:``}):e.icon}),(0,B.jsxs)(`div`,{className:`main-solution-card-body`,children:[(0,B.jsx)(`span`,{children:e.label}),(0,B.jsx)(`h3`,{children:e.title}),(0,B.jsx)(`p`,{children:e.desc})]})]},t))})]})]})}W.registerPlugin(Q);function kd(){let e=(0,w.useRef)(null),t=(0,w.useRef)(null),n=(0,w.useRef)([]);return(0,w.useEffect)(()=>{let r=W.context(()=>{W.set(t.current,{opacity:0,y:48}),W.set(n.current,{opacity:0,y:36}),W.timeline({scrollTrigger:{trigger:e.current,start:`top 70%`,end:`top 30%`,scrub:1}}).to(t.current,{opacity:1,y:0,duration:.8,ease:`power2.out`}).to(n.current,{opacity:1,y:0,stagger:.14,duration:.75,ease:`power2.out`},`-=0.35`)},e);return()=>r.revert()},[]),(0,B.jsx)(`section`,{className:`main-news-section`,ref:e,children:(0,B.jsxs)(`div`,{className:`main-news-inner`,children:[(0,B.jsxs)(`div`,{className:`main-news-head`,ref:t,children:[(0,B.jsx)(`p`,{className:`main-news-eyebrow`,children:`INSIDE PAL`}),(0,B.jsxs)(`h2`,{className:`main-news-title`,children:[`새로운 항공 서비스와`,(0,B.jsx)(`br`,{}),`기술 소식`]}),(0,B.jsx)(`p`,{className:`main-news-desc`,children:`항공 IT 플랫폼 구축, 서비스 운영, 기술 개발 관련 소식을 전합니다.`})]}),(0,B.jsx)(`div`,{className:`main-news-list`,children:[{date:`2025.00.00`,title:`PAL Networks, 항공 IT 서비스 고도화 추진`,desc:`항공 운항 관리와 예약 플랫폼을 연결하는 통합 서비스 환경을 확대합니다.`},{date:`2025.00.00`,title:`스마트 관광 예약 플랫폼 기능 확장`,desc:`관광 상품, 예약 데이터, 사용자 경험을 하나의 흐름으로 개선합니다.`},{date:`2025.00.00`,title:`클라우드 기반 항공 서비스 운영 환경 구축`,desc:`안정적인 공공 클라우드 인프라를 기반으로 서비스 운영 효율을 높입니다.`}].map((e,t)=>(0,B.jsxs)(`article`,{className:`main-news-item`,ref:e=>{n.current[t]=e},children:[(0,B.jsxs)(`div`,{className:`main-news-meta`,children:[(0,B.jsx)(`span`,{children:`NEWS`}),(0,B.jsx)(`em`,{children:e.date})]}),(0,B.jsxs)(`div`,{className:`main-news-content`,children:[(0,B.jsx)(`h3`,{children:e.title}),(0,B.jsx)(`p`,{children:e.desc})]}),(0,B.jsx)(`div`,{className:`main-news-arrow`,children:`↗`})]},t))})]})})}W.registerPlugin(Q);function Ad(){let e=(0,w.useRef)(null),t=(0,w.useRef)(null),n=(0,w.useRef)(null),[r,i]=(0,w.useState)(!1);return(0,w.useEffect)(()=>{let r=W.context(()=>{W.set(t.current,{opacity:0,x:-80,y:20}),W.set(n.current,{opacity:0,x:90,y:20,scale:.96}),W.timeline({scrollTrigger:{trigger:e.current,start:`top 68%`,toggleActions:`play none none reverse`}}).to(t.current,{opacity:1,x:0,y:0,duration:.9,ease:`power3.out`}).to(n.current,{opacity:1,x:0,y:0,scale:1,duration:1,ease:`power3.out`},`-=0.55`)},e);return()=>r.revert()},[]),(0,B.jsxs)(`section`,{className:`main-contact-section`,ref:e,children:[(0,B.jsx)(`div`,{className:`contact-orb contact-orb--1`}),(0,B.jsx)(`div`,{className:`contact-orb contact-orb--2`}),(0,B.jsx)(`div`,{className:`contact-orb contact-orb--3`}),(0,B.jsxs)(`div`,{className:`main-contact-inner`,children:[(0,B.jsxs)(`div`,{className:`main-contact-head`,ref:t,children:[(0,B.jsx)(`p`,{className:`main-contact-eyebrow`,children:`CONTACT US`}),(0,B.jsxs)(`h2`,{className:`main-contact-title`,children:[`프로젝트 문의를`,(0,B.jsx)(`br`,{}),`남겨주세요.`]})]}),(0,B.jsxs)(`form`,{className:`main-contact-form`,ref:n,children:[(0,B.jsxs)(`div`,{className:`main-contact-grid`,children:[(0,B.jsxs)(`label`,{children:[(0,B.jsxs)(`span`,{children:[`이름 `,(0,B.jsx)(`em`,{children:`*`})]}),(0,B.jsx)(`input`,{type:`text`,placeholder:`이름을 입력해 주세요.`,required:!0})]}),(0,B.jsxs)(`label`,{children:[(0,B.jsxs)(`span`,{children:[`이메일 `,(0,B.jsx)(`em`,{children:`*`})]}),(0,B.jsx)(`input`,{type:`email`,placeholder:`이메일을 입력해 주세요.`,required:!0})]}),(0,B.jsxs)(`label`,{children:[(0,B.jsx)(`span`,{children:`연락처`}),(0,B.jsx)(`input`,{type:`tel`,placeholder:`연락처를 입력해 주세요.`})]}),(0,B.jsxs)(`label`,{children:[(0,B.jsx)(`span`,{children:`홈페이지`}),(0,B.jsx)(`input`,{type:`url`,placeholder:`홈페이지 주소를 입력해 주세요.`})]}),(0,B.jsxs)(`label`,{className:`main-contact-full`,children:[(0,B.jsxs)(`span`,{children:[`제목 `,(0,B.jsx)(`em`,{children:`*`})]}),(0,B.jsx)(`input`,{type:`text`,placeholder:`문의 제목을 입력해 주세요.`,required:!0})]}),(0,B.jsxs)(`label`,{className:`main-contact-full`,children:[(0,B.jsxs)(`span`,{children:[`내용 `,(0,B.jsx)(`em`,{children:`*`})]}),(0,B.jsx)(`textarea`,{placeholder:`문의 내용을 입력해 주세요.`,required:!0})]})]}),(0,B.jsxs)(`div`,{className:`main-contact-form-bottom`,children:[(0,B.jsxs)(`label`,{className:`main-contact-check`,children:[(0,B.jsx)(`input`,{type:`checkbox`,required:!0}),(0,B.jsx)(`span`,{children:`개인정보처리방침에 동의합니다.`})]}),(0,B.jsx)(`button`,{type:`button`,className:`main-contact-privacy-open`,onClick:()=>i(!0),children:`개인정보처리방침 보기`})]}),(0,B.jsx)(`button`,{type:`submit`,className:`main-contact-submit`,children:`문의하기`})]})]}),r&&(0,B.jsxs)(`div`,{className:`main-contact-modal`,children:[(0,B.jsx)(`div`,{className:`main-contact-modal-dim`,onClick:()=>i(!1)}),(0,B.jsxs)(`div`,{className:`main-contact-modal-card`,children:[(0,B.jsxs)(`div`,{className:`main-contact-modal-head`,children:[(0,B.jsx)(`h3`,{children:`개인정보처리방침`}),(0,B.jsx)(`button`,{type:`button`,onClick:()=>i(!1),children:`×`})]}),(0,B.jsx)(`div`,{className:`main-contact-modal-body`,children:(0,B.jsxs)(`p`,{children:[`'주식회사 팔네트웍스'는(이하 '회사'는) 고객님의 개인정보를 중요시하며, “개인정보보호법” 및 "정보통신망 이용촉진 및 정보보호에 관한 법률”을 준수하고 있습니다. 회사는 개인정보취급방침을 통하여 고객님께서 제공하시는 개인정보가 어떠한 용도와 방식으로 이용되고 있으며, 개인정보보호를 위해 어떠한 조치가 취해지고 있는지 알려드립니다. 회사는 개인정보취급방침을 개정하는 경우 웹사이트 공지사항(또는 개별공지)을 통하여 공지할 것입니다.`,(0,B.jsx)(`br`,{}),`제 1조. 수집하는 개인정보 항목 회사는 서비스 신청, 상담, 문의 등을 위해 아래와 같은 개인정보를 수집하고 있습니다.`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`가. 수집항목 : 성명, 회사명, 전화번호 혹은 휴대폰번호, 이메일 주소, 접속 로그`,(0,B.jsx)(`br`,{}),`나. 개인정보 수집방법 : 웹사이트(온라인 문의, 고객 관리 목적의 영업활동`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`제 2조. 개인정보의 수집 및 이용목적`,(0,B.jsx)(`br`,{}),`회사는 수집한 개인정보를 다음의 목적을 위해 활용합니다.`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`가. 서비스 문의 : 정확한 문의 내용 파악 및 확인, 문의에 대한 답변 진행, 답변 발송, 문의 고객과의 원활한 의사소통`,(0,B.jsx)(`br`,{}),`나. 고객 관리 : 기술 지원 및 영업담당자 정보, 계약 정보 등의 정보 제공`,(0,B.jsx)(`br`,{}),`다. 마케팅 및 광고에 활용 : 서비스〮제품〮세미나 및 이벤트 등 광고성 정보 전달, 인구통계 학적 특성에 따른 서비스 제공 및 광고 게재, 뉴스레터 메일 발송`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`제 3조. 개인정보의 보유 및 이용기간`,(0,B.jsx)(`br`,{}),`회사는 개인정보의 수집 및 이용목적이 달성된 후에는 해당 정보를 지체 없이 파기합니다. 단, 다음의 정보에 대해서는 아래의 이유로 명시한 기간 동안 보존합니다.관련법령에 의한 정보보유 사유 전자상거래 등에서의 소비자보호에 관한 법률, 상법 등 법령의 규정에 의하여 보존할 필요가 있는 경우에는 회사는 관계법령에서 정한 일정한 기간 동안 회원정보를 보관하며, 이 경우 보관하는 정보를 그 보관의 목적으로만 이용하며 보존기간은 아래와 같습니다.`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`가 보존 항목 : 성명, 회사명, 전화번호 혹은 휴대폰번호, 이메일 주소, 접속 로그`,(0,B.jsx)(`br`,{}),`나 보존 근거 : 이용약관 및 전자상거래 등에서의 소비자보호에 관한 법률`,(0,B.jsx)(`br`,{}),`다 보존 기간 : 5년(단, 수집일로 부터 5년이 경과하여도 계약에 관련된 정보주체의 정보는 계약 기간 동안 보존)`,(0,B.jsx)(`br`,{}),`제 4조. 개인정보의 파기절차 및 방법`,(0,B.jsx)(`br`,{}),`회사는 원칙적으로 개인정보 수집 및 이용목적이 달성된 후에는 해당 정보를 지체 없이 파기합니다. 파기절차 및 방법은 다음과 같습니다.`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`가. 파기절차`,(0,B.jsx)(`br`,{}),`입력된 정보는 목적이 달성된 후 별도의 DB로 옮겨져(종이의 경우 별도의 서류함) 내부 방침 및 기타 관련 법령에 의한 정보 보호 사유에 따라(보유 및 이용기간 참조) 일정 기간 저장된 후 파기합니다. 별도 DB로 옮겨진 개인정보는 법률에 의한 경우가 아니고서는 보유 이외의 다른 목적으로 이용되지 않습니다.`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`나. 파기방법`,(0,B.jsx)(`br`,{}),`전자적 파일형태로 저장된 개인정보는 기록을 재생할 수 없는 기술적 방법을 사용하여 삭제합니다.`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`제 5조. 개인정보의 이용`,(0,B.jsx)(`br`,{}),`1. 회사가 수집하는 개인정보는 서비스의 제공에 필요한 최소한으로 하되, 필요한 경우 자세한 정보를 요구할 수 있습니다.`,(0,B.jsx)(`br`,{}),`2. 회사는 이용자의 동의 하에 개인정보를 제3자에게 제공할 수 있습니다. 이러한 경우에도 개인정보의 제3자 제공은 이용자의 동의 하에서만 이루어지며 개인정보가 제공되는 것을 원하지 않는 경우에는, 특정 서비스를 이용하지 않거나 특정한 형태의 판촉이나 이벤트에 참여하지 않으면 됩니다(단, 이 경우 별도 공지함)`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`제 6조. 수집한 개인정보의 위탁`,(0,B.jsx)(`br`,{}),`회사가 외부업체(이하, ‘위탁 받는 업체’)에 상기 특정서비스의 제공을 위탁하는 경우, 서비스 제공에 필요한 회원의 개인정보를 회원의 동의를 받아 위탁 받는 업체에 제공할 수 있으며, 이 경우 서비스 위탁 사실을 명시 합니다. 위탁 받는 업체는 제공 받은 회원의 개인정보의 수집, 취급, 관리에 있어 위탁 받은 목적 외의 용도로 이를 이용하거나 제3자에게 제공하지 않습니다.`,(0,B.jsx)(`br`,{}),`회사는 서비스 이행을 위해 아래와 같이 외부업체에 개인정보를 위탁하여 운영하고 있습니다. 회사의 개인정보 위탁처리 기관 및 위탁업무 내용은 아래와 같습니다.`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`제 7조. 이용자 및 법정대리인의 권리와 그 행사 방법`,(0,B.jsx)(`br`,{}),`1. 회사는 고객의 개인정보를 보호하고 개인정보와 관련한 불만을 처리하기 위하여 아래와 같이 관련 부서 및 개인정보관리책임자를 지정하고 있습니다.`,(0,B.jsx)(`br`,{}),`가. 이용자는 회사의 개인정보 관리책임자에게 서면, 전화 또는 이메일로 연락하여 열람•수정•삭제를 요청할 수 있습니다.`,(0,B.jsx)(`br`,{}),`나. 이용자가 개인정보의 오류에 대한 정정을 요청한 경우에는 정정을 완료하기 전까지 당해 개인정보를 이용 또는 제공하지 않습니다. 또한 잘못된 개인정보를 제3자에게 이미 제공한 경우에는 정정 처리결과를 제3자에게 지체 없이 통지하여 정정이 이루어지도록 하겠습니다.`,(0,B.jsx)(`br`,{}),`다. 회사는 이용자의 요청에 의해 해지 또는 삭제된 개인정보는 제 3조에 따라 처리하고 그 외의 용도로 열람 또는 이용할 수 없도록 처리하고 있습니다.`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`2. 이용자의 개인정보를 최신의 상태로 정확하게 입력하여 불의의 사고를 예방해 주시기 바랍니다. 이용자가 입력한 부정확한 정보로 인해 발생하는 사고의 책임은 이용자 자신에게 있으며 타인 정보의 도용 등 허위정보를 입력할 경우 회원자격이 상실될 수 있습니다.`,(0,B.jsx)(`br`,{}),`3. 이용자는 개인정보를 보호 받을 권리와 함께 스스로를 보호하고 타인의 정보를 침해하지 않을 의무도 가지고 있습니다. 이용자의 개인정보가 유출되지 않도록 조심하시고 게시물을 포함한 타인의 개인정보를 훼손하지 않도록 유의해 주십시오. 만약 이 같은 책임을 다하지 못하고 타인의 정보 및 존엄성을 훼손할 시에는 「정보통신망 이용촉진 및 정보보호 등에 관한 법률」등에 의해 처벌 받을 수 있습니다.`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`제 8조. 개인정보 자동수집 장치의 설치, 운영 및 그 거부에 관한 사항`,(0,B.jsx)(`br`,{}),`회사는 귀하의 정보를 수시로 저장하고 찾아내는 '쿠키(cookie)' 등을 운용하지 않습니다.`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`제 9조. 기타 개인정보 취급에 관한 방침`,(0,B.jsx)(`br`,{}),`1. 개인정보보호를 위한 기술 및 관리적 대책`,(0,B.jsx)(`br`,{}),`회사는 이용자의 개인정보를 취급함에 있어 개인정보가 분실, 도난, 누출, 변조 또는 훼손되지 않도록 안전성 확보를 위하여 다음과 같은 기술적 대책을 강구하고 있습니다.`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`가. 이용자의 개인정보는 비밀번호에 의해 보호되며, 파일 및 전송 데이터를 암호화하여거나 파일 잠금기능(Lock)을 사용하여 중요한 데이터는 별도의 보안기능을 통해 보호되고 있습니다.`,(0,B.jsx)(`br`,{}),`나. 회사는 백신프로그램을 이용하여 컴퓨터바이러스에 의한 피해를 방지 하기 위한 조치를 취하고 있습니다. 백신프로그램은 주기적으로 업데이트되며 갑작스런 바이러스가 출현할 경우 백신이 나오는 즉시 이를 제공함으로써 개인 정보가 침해되는 것을 방지하고 있습니다.`,(0,B.jsx)(`br`,{}),`다. 해킹 등 외부침입에 대비하여 각 서버마다 침입차단시스템 및 취약점 분석 시스템 등을 이용하여 보안에 만전을 기하고 있습니다.`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`회사는 이용자의 개인정보를 취급함에 있어 개인정보가 분실, 도난, 누출, 변조 또는 훼손되지 않도록 안전성 확보를 위하여 다음과 같은 관리적 대책을 강구하고 있습니다.`,(0,B.jsx)(`br`,{}),`가. 회사는 이용자의 개인정보에 대한 접근권한을 이용자를 직접 상대로 하여 마케팅 업무를 수행하는 자, 개인정보관리책임자 및 담당자 등 개인정보관리업무를 수행하는 자, 기타 업무상 개인정보의 취급이 불가피한 자로 제한하고 있습니다.`,(0,B.jsx)(`br`,{}),`나. 개인정보를 취급하는 직원을 대상으로 새로운 보안 기술 습득 및 개인정보 보호 의무 등에 관해 사내 교육을 실시하고 있습니다.`,(0,B.jsx)(`br`,{}),`나. 개인정보 관련 취급자의 업무 인수인계는 보안이 유지된 상태에서 철저하게 이뤄지고 있으며 입사 및 퇴사 후 개인정보 사고에 대한 책임을 명확화하고 있습니다.`,(0,B.jsx)(`br`,{}),`다. 회사는 이용자 개인의 실수나 기본적인 인터넷의 위험성 때문에 일어나는 일들에 대해 책임을 지지 않습니다.`,(0,B.jsx)(`br`,{}),`라. 그 외 내부 관리자의 실수나 기술관리상의 사고로 인해 개인정보의 상실, 유출, 변조, 훼손이 유발될 경우 회사는 즉각 이용자께 사실을 알리고 적절한 대책과 보상을 강구할 것입니다.`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`2. 링크사이트 제공 방침`,(0,B.jsx)(`br`,{}),`회사는 이용자에게 다른 회사의 웹사이트 또는 자료에 대한 링크를 제공할 수 있습니다. 이 경우 회사는 외부사이트 및 자료에 대한 아무런 통제권이 없으므로 그로부터 제공받는 서비스나 자료의 유용성에 대해 책임질 수 없으며 보증할 수 없습니다. 회사가 포함하고 있는 링크를 클릭하여 타 사이트의 페이지로 옮겨갈 경우 해당 사이트의 개인정보보호정책은 회사와 무관하므로 새로 방문한 사이트의 정책을 검토해 보시기 바랍니다.`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`3. 게시물 운영 방침`,(0,B.jsx)(`br`,{}),`회사는 이용자의 게시물을 소중하게 생각하며 변조, 훼손, 삭제되지 않도록 최선을 다하여 보호합니다. 그러나 다음의 경우는 그렇지 아니합니다.`,(0,B.jsx)(`br`,{}),`가. 스팸(spam)성 게시물 (예 : 행운의 편지, 8억 메일, 특정사이트 광고 등)`,(0,B.jsx)(`br`,{}),`나. 타인을 비방할 목적으로 허위 사실을 유포하여 타인의 명예를 훼손하는 게시물`,(0,B.jsx)(`br`,{}),`다. 동의 없는 타인의 신상공개 게시물`,(0,B.jsx)(`br`,{}),`라. 회사 또는 제3자의 지적재산권 등 권리를 침해하는 내용의 게시물`,(0,B.jsx)(`br`,{}),`마. 기타 게시판 주제와 다른 내용의 게시물`,(0,B.jsx)(`br`,{}),`바. 회사는 바람직한 게시판 문화를 활성화하기 위하여 동의 없는 타인의 신상 공개 시 특정 부분을 삭제하거나 기호 등으로 수정하여 게시할 수 있으며, 다른 주제의 게시판으로 이동 가능한 내용일 경우 해당 게시물에 이동 경로를 밝혀 오해가 없도록 하고 있습니다.`,(0,B.jsx)(`br`,{}),`사. 그 외의 경우 명시적 또는 개별적인 경고 후 삭제 조치할 수 있습니다.`,(0,B.jsx)(`br`,{}),`아. 근본적으로 게시물에 관련된 제반 권리와 책임은 작성자 개인에게 있습니다. 또 게시물을 통해 자발적으로 공개된 정보는 보호받기 어려우므로 정보 공개 전에 심사 숙고하시기 바랍니다.`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`4. 이메일 무단수집 거부 방침`,(0,B.jsx)(`br`,{}),`회사는 게시된 이메일 주소가 전자우편 수집 프로그램이나 그 밖의 기술적 장치를 이용하여 무단 수집되는 것을 거부합니다. 이를 위반 시 「정보통신망 이용촉진 및 정보보호 등에 관한 법률」 등에 의해 처벌 받을 수 있습니다.`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`5. 광고성 정보의 전송`,(0,B.jsx)(`br`,{}),`회사는 이용자의 명시적인 수신거부의사에 반하여 영리목적의 광고성 정보를 전송하지 않습니다. 회사는 이용자가 상품정보 안내, 뉴스레터 등 전자우편 전송에 대한 동의를 한 경우, 전자우편의 제목란 및 본문란에 다음 사항과 같이 이용자가 쉽게 알아 볼 수 있도록 조치합니다.`,(0,B.jsx)(`br`,{}),`가. 전자우편의 제목란`,(0,B.jsx)(`br`,{}),`- (광고)라는 문구를 제목란에 표시하지 않을 수 있으며 전자우편 본문란의 주요 내용을 표시합니다.`,(0,B.jsx)(`br`,{}),`나. 전자우편의 본문란`,(0,B.jsx)(`br`,{}),`- 이용자가 수신거부의 의사표시를 할 수 있는 전송자의 명칭, 전자우편주소를 명시합니다.`,(0,B.jsx)(`br`,{}),`- 이용자가 수신 거부의 의사를 쉽게 표시할 수 있는 방법을 명시합니다.`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`제 10조. 개인정보에 관한 민원서비스`,(0,B.jsx)(`br`,{}),`회사는 고객의 개인정보를 보호하고 개인정보와 관련한 불만을 처리하기 위하여 아래와 같이 관련 부서 및 개인정보관리책임자를 지정하고 있습니다. 회사의 서비스를 이용하시며 발생하는 모든 개인정보보호 관련 민원을 개인정보관리책임자 혹은 담당부서로 신고하실 수 있습니다. 회사는 이용자들의 신고사항에 대해 신속하게 충분한 답변을 드릴 것입니다.`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`고객서비스담당 부서: 전화번호 : 이메일: 개인정보관리책임자 성명: 전화번호: 이메일:`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`기타 개인정보침해에 대한 신고나 상담이 필요하신 경우에는 아래 기관에 문의하시기 바랍니다.`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`1. 개인정보분쟁조정위원회 : (국번없이) 1833-6972 (www.kopico.go.kr)`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`2. 개인정보침해신고센터 : (국번없이) 118 (privacy.kisa.or.kr)`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`3. 대검찰청 : (국번없이) 1301 (www.spo.go.kr)`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`4. 경찰청 : (국번없이) 182 (ecrm.cyber.go.kr)`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`제 11조. 고지의 의무`,(0,B.jsx)(`br`,{}),`현 개인정보취급방침 내용 추가, 삭제 및 수정이 있을 시에는 개정 최소 7일전부터 웹사이트를 통해 고지합니다. 개인정보의 수집 및 활용, 제3자의 제공 등과 같이 이용자 권리의 중요한 변경이 있을 경우에는 최소 30일 전에 고지합니다.`,(0,B.jsx)(`br`,{}),(0,B.jsx)(`br`,{}),`공고일자: 2022년 05월 26일`,(0,B.jsx)(`br`,{}),`시행일자: 2022년 05월 26일`]})})]})]})]})}function jd(){return(0,B.jsxs)(`main`,{className:`main-page`,children:[(0,B.jsx)(wd,{}),(0,B.jsx)(Td,{}),(0,B.jsx)(Dd,{}),(0,B.jsx)(Od,{}),(0,B.jsx)(kd,{}),(0,B.jsx)(Ad,{})]})}var Md=(0,w.createContext)({});function Nd(e){let t=(0,w.useRef)(null);return t.current===null&&(t.current=e()),t.current}var Pd=typeof window<`u`?w.useLayoutEffect:w.useEffect,Fd=(0,w.createContext)(null);function Id(e,t){e.indexOf(t)===-1&&e.push(t)}function Ld(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var Rd=(e,t,n)=>n>t?t:n<e?e:n,zd={},Bd=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Vd(e){return typeof e==`object`&&!!e}var Hd=e=>/^0[^.\s]+$/u.test(e);function Ud(e){let t;return()=>(t===void 0&&(t=e()),t)}var Wd=e=>e,Gd=(e,t)=>n=>t(e(n)),Kd=(...e)=>e.reduce(Gd),qd=(e,t,n)=>{let r=t-e;return r===0?1:(n-e)/r},Jd=class{constructor(){this.subscriptions=[]}add(e){return Id(this.subscriptions,e),()=>Ld(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}},Yd=e=>e*1e3,Xd=e=>e/1e3;function Zd(e,t){return t?1e3/t*e:0}var Qd=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,$d=1e-7,ef=12;function tf(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=Qd(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>$d&&++s<ef);return o}function nf(e,t,n,r){if(e===t&&n===r)return Wd;let i=t=>tf(t,0,1,e,n);return e=>e===0||e===1?e:Qd(i(e),t,r)}var rf=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,af=e=>t=>1-e(1-t),of=nf(.33,1.53,.69,.99),sf=af(of),cf=rf(sf),lf=e=>e>=1?1:(e*=2)<1?.5*sf(e):.5*(2-2**(-10*(e-1))),uf=e=>1-Math.sin(Math.acos(e)),df=af(uf),ff=rf(uf),pf=nf(.42,0,1,1),mf=nf(0,0,.58,1),hf=nf(.42,0,.58,1),gf=e=>Array.isArray(e)&&typeof e[0]!=`number`,_f=e=>Array.isArray(e)&&typeof e[0]==`number`,vf={linear:Wd,easeIn:pf,easeInOut:hf,easeOut:mf,circIn:uf,circInOut:ff,circOut:df,backIn:sf,backInOut:cf,backOut:of,anticipate:lf},yf=e=>typeof e==`string`,bf=e=>{if(_f(e)){e.length;let[t,n,r,i]=e;return nf(t,n,r,i)}else if(yf(e))return vf[e],`${e}`,vf[e];return e},xf=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`],Sf={value:null,addProjectionMetrics:null};function Cf(e,t){let n=new Set,r=new Set,i=!1,a=!1,o=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1},c=0;function l(t){o.has(t)&&(u.schedule(t),e()),c++,t(s)}let u={schedule:(e,t=!1,a=!1)=>{let s=a&&i?n:r;return t&&o.add(e),s.add(e),e},cancel:e=>{r.delete(e),o.delete(e)},process:e=>{if(s=e,i){a=!0;return}i=!0;let o=n;n=r,r=o,n.forEach(l),t&&Sf.value&&Sf.value.frameloop[t].push(c),c=0,n.clear(),i=!1,a&&(a=!1,u.process(e))}};return u}var wf=40;function Tf(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=xf.reduce((e,n)=>(e[n]=Cf(a,t?n:void 0),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=zd.useManualTiming,o=a?i.timestamp:performance.now();n=!1,a||(i.delta=r?1e3/60:Math.max(Math.min(o-i.timestamp,wf),1)),i.timestamp=o,i.isProcessing=!0,s.process(i),c.process(i),l.process(i),u.process(i),d.process(i),f.process(i),p.process(i),m.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(h))},g=()=>{n=!0,r=!0,i.isProcessing||e(h)};return{schedule:xf.reduce((e,t)=>{let r=o[t];return e[t]=(e,t=!1,i=!1)=>(n||g(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<xf.length;t++)o[xf[t]].cancel(e)},state:i,steps:o}}var{schedule:Ef,cancel:Df,state:Of,steps:kf}=Tf(typeof requestAnimationFrame<`u`?requestAnimationFrame:Wd,!0),Af;function jf(){Af=void 0}var Mf={now:()=>(Af===void 0&&Mf.set(Of.isProcessing||zd.useManualTiming?Of.timestamp:performance.now()),Af),set:e=>{Af=e,queueMicrotask(jf)}},Nf={layout:0,mainThread:0,waapi:0},Pf=e=>t=>typeof t==`string`&&t.startsWith(e),Ff=Pf(`--`),If=Pf(`var(--`),Lf=e=>If(e)?Rf.test(e.split(`/*`)[0].trim()):!1,Rf=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function zf(e){return typeof e==`string`?e.split(`/*`)[0].includes(`var(--`):!1}var Bf={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},Vf={...Bf,transform:e=>Rd(0,1,e)},Hf={...Bf,default:1},Uf=e=>Math.round(e*1e5)/1e5,Wf=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Gf(e){return e==null}var Kf=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,qf=(e,t)=>n=>!!(typeof n==`string`&&Kf.test(n)&&n.startsWith(e)||t&&!Gf(n)&&Object.prototype.hasOwnProperty.call(n,t)),Jf=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(Wf);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}},Yf=e=>Rd(0,255,e),Xf={...Bf,transform:e=>Math.round(Yf(e))},Zf={test:qf(`rgb`,`red`),parse:Jf(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+Xf.transform(e)+`, `+Xf.transform(t)+`, `+Xf.transform(n)+`, `+Uf(Vf.transform(r))+`)`};function Qf(e){let t=``,n=``,r=``,i=``;return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}var $f={test:qf(`#`),parse:Qf,transform:Zf.transform},ep=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),tp=ep(`deg`),np=ep(`%`),$=ep(`px`),rp=ep(`vh`),ip=ep(`vw`),ap={...np,parse:e=>np.parse(e)/100,transform:e=>np.transform(e*100)},op={test:qf(`hsl`,`hue`),parse:Jf(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+np.transform(Uf(t))+`, `+np.transform(Uf(n))+`, `+Uf(Vf.transform(r))+`)`},sp={test:e=>Zf.test(e)||$f.test(e)||op.test(e),parse:e=>Zf.test(e)?Zf.parse(e):op.test(e)?op.parse(e):$f.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?Zf.transform(e):op.transform(e),getAnimatableNone:e=>{let t=sp.parse(e);return t.alpha=0,sp.transform(t)}},cp=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function lp(e){return isNaN(e)&&typeof e==`string`&&(e.match(Wf)?.length||0)+(e.match(cp)?.length||0)>0}var up=`number`,dp=`color`,fp=`var`,pp=`var(`,mp="${}",hp=/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 gp(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(hp,e=>(sp.test(e)?(r.color.push(a),i.push(dp),n.push(sp.parse(e))):e.startsWith(pp)?(r.var.push(a),i.push(fp),n.push(e)):(r.number.push(a),i.push(up),n.push(parseFloat(e))),++a,mp)).split(mp),indexes:r,types:i}}function _p(e){return gp(e).values}function vp({split:e,types:t}){let n=e.length;return r=>{let i=``;for(let a=0;a<n;a++)if(i+=e[a],r[a]!==void 0){let e=t[a];e===up?i+=Uf(r[a]):e===dp?i+=sp.transform(r[a]):i+=r[a]}return i}}function yp(e){return vp(gp(e))}var bp=e=>typeof e==`number`?0:sp.test(e)?sp.getAnimatableNone(e):e,xp=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:bp(e);function Sp(e){let t=gp(e);return vp(t)(t.values.map((e,n)=>xp(e,t.split[n])))}var Cp={test:lp,parse:_p,createTransformer:yp,getAnimatableNone:Sp};function wp(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Tp({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=wp(s,r,e+1/3),a=wp(s,r,e),o=wp(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function Ep(e,t){return n=>n>0?t:e}var Dp=(e,t,n)=>e+(t-e)*n,Op=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},kp=[$f,Zf,op],Ap=e=>kp.find(t=>t.test(e));function jp(e){let t=Ap(e);if(`${e}`,!t)return!1;let n=t.parse(e);return t===op&&(n=Tp(n)),n}var Mp=(e,t)=>{let n=jp(e),r=jp(t);if(!n||!r)return Ep(e,t);let i={...n};return e=>(i.red=Op(n.red,r.red,e),i.green=Op(n.green,r.green,e),i.blue=Op(n.blue,r.blue,e),i.alpha=Dp(n.alpha,r.alpha,e),Zf.transform(i))},Np=new Set([`none`,`hidden`]);function Pp(e,t){return Np.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function Fp(e,t){return n=>Dp(e,t,n)}function Ip(e){return typeof e==`number`?Fp:typeof e==`string`?Lf(e)?Ep:sp.test(e)?Mp:Bp:Array.isArray(e)?Lp:typeof e==`object`?sp.test(e)?Mp:Rp:Ep}function Lp(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>Ip(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function Rp(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Ip(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function zp(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],o=e.indexes[a][r[a]];n[i]=e.values[o]??0,r[a]++}return n}var Bp=(e,t)=>{let n=Cp.createTransformer(t),r=gp(e),i=gp(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?Np.has(e)&&!i.values.length||Np.has(t)&&!r.values.length?Pp(e,t):Kd(Lp(zp(r,i),i.values),n):(`${e}${t}`,Ep(e,t))};function Vp(e,t,n){return typeof e==`number`&&typeof t==`number`&&typeof n==`number`?Dp(e,t,n):Ip(e)(e,t)}var Hp=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>Ef.update(t,e),stop:()=>Df(t),now:()=>Of.isProcessing?Of.timestamp:Mf.now()}},Up=(e,t,n=10)=>{let r=``,i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(e(t/(i-1))*1e4)/1e4+`, `;return`linear(${r.substring(0,r.length-2)})`},Wp=2e4;function Gp(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}function Kp(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(Gp(r),Wp);return{type:`keyframes`,ease:e=>r.next(i*e).value/t,duration:Xd(i)}}var qp={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 Jp(e,t){return e*Math.sqrt(1-t*t)}var Yp=12;function Xp(e,t,n){let r=n;for(let n=1;n<Yp;n++)r-=e(r)/t(r);return r}var Zp=.001;function Qp({duration:e=qp.duration,bounce:t=qp.bounce,velocity:n=qp.velocity,mass:r=qp.mass}){let i,a;qp.maxDuration;let o=1-t;o=Rd(qp.minDamping,qp.maxDamping,o),e=Rd(qp.minDuration,qp.maxDuration,Xd(e)),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=Jp(t,o),c=Math.exp(-i);return Zp-a/s*c},a=t=>{let r=t*o*e,a=r*n+n,s=o**2*t**2*e,c=Math.exp(-r),l=Jp(t**2,o);return(-i(t)+Zp>0?-1:1)*((a-s)*c)/l}):(i=t=>{let r=Math.exp(-t*e),i=(t-n)*e+1;return-Zp+r*i},a=t=>Math.exp(-t*e)*((n-t)*(e*e)));let s=5/e,c=Xp(i,a,s);if(e=Yd(e),isNaN(c))return{stiffness:qp.stiffness,damping:qp.damping,duration:e};{let t=c**2*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}var $p=[`duration`,`bounce`],em=[`stiffness`,`damping`,`mass`];function tm(e,t){return t.some(t=>e[t]!==void 0)}function nm(e){let t={velocity:qp.velocity,stiffness:qp.stiffness,damping:qp.damping,mass:qp.mass,isResolvedFromDuration:!1,...e};if(!tm(e,em)&&tm(e,$p))if(t.velocity=0,e.visualDuration){let n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*Rd(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:qp.mass,stiffness:i,damping:a}}else{let n=Qp({...e,velocity:0});t={...t,...n,mass:qp.mass},t.isResolvedFromDuration=!0}return t}function rm(e=qp.visualDuration,t=qp.bounce){let n=typeof e==`object`?e:{visualDuration:e,keyframes:[0,1],bounce:t},{restSpeed:r,restDelta:i}=n,a=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],s={done:!1,value:a},{stiffness:c,damping:l,mass:u,duration:d,velocity:f,isResolvedFromDuration:p}=nm({...n,velocity:-Xd(n.velocity||0)}),m=f||0,h=l/(2*Math.sqrt(c*u)),g=o-a,_=Xd(Math.sqrt(c/u)),v=Math.abs(g)<5;r||=v?qp.restSpeed.granular:qp.restSpeed.default,i||=v?qp.restDelta.granular:qp.restDelta.default;let y,b,x,S,C,w;if(h<1)x=Jp(_,h),S=(m+h*_*g)/x,y=e=>o-Math.exp(-h*_*e)*(S*Math.sin(x*e)+g*Math.cos(x*e)),C=h*_*S+g*x,w=h*_*g-S*x,b=e=>Math.exp(-h*_*e)*(C*Math.sin(x*e)+w*Math.cos(x*e));else if(h===1){y=e=>o-Math.exp(-_*e)*(g+(m+_*g)*e);let e=m+_*g;b=t=>Math.exp(-_*t)*(_*e*t-m)}else{let e=_*Math.sqrt(h*h-1);y=t=>{let n=Math.exp(-h*_*t),r=Math.min(e*t,300);return o-n*((m+h*_*g)*Math.sinh(r)+e*g*Math.cosh(r))/e};let t=(m+h*_*g)/e,n=h*_*t-g*e,r=h*_*g-t*e;b=t=>{let i=Math.exp(-h*_*t),a=Math.min(e*t,300);return i*(n*Math.sinh(a)+r*Math.cosh(a))}}let T={calculatedDuration:p&&d||null,velocity:e=>Yd(b(e)),next:e=>{if(!p&&h<1){let t=Math.exp(-h*_*e),n=Math.sin(x*e),a=Math.cos(x*e),c=o-t*(S*n+g*a),l=Yd(t*(C*n+w*a));return s.done=Math.abs(l)<=r&&Math.abs(o-c)<=i,s.value=s.done?o:c,s}let t=y(e);if(p)s.done=e>=d;else{let n=Yd(b(e));s.done=Math.abs(n)<=r&&Math.abs(o-t)<=i}return s.value=s.done?o:t,s},toString:()=>{let e=Math.min(Gp(T),Wp),t=Up(t=>T.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return T}rm.applyToOptions=e=>{let t=Kp(e,100,rm);return e.ease=t.ease,e.duration=Yd(t.duration),e.type=`keyframes`,e};var im=5;function am(e,t,n){let r=Math.max(t-im,0);return Zd(n-e(r),t-r)}function om({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:s,max:c,restDelta:l=.5,restSpeed:u}){let d=e[0],f={done:!1,value:d},p=e=>s!==void 0&&e<s||c!==void 0&&e>c,m=e=>s===void 0?c:c===void 0||Math.abs(s-e)<Math.abs(c-e)?s:c,h=n*t,g=d+h,_=o===void 0?g:o(g);_!==g&&(h=_-d);let v=e=>-h*Math.exp(-e/r),y=e=>_+v(e),b=e=>{let t=v(e),n=y(e);f.done=Math.abs(t)<=l,f.value=f.done?_:n},x,S,C=e=>{p(f.value)&&(x=e,S=rm({keyframes:[f.value,m(f.value)],velocity:am(y,e,f.value),damping:i,stiffness:a,restDelta:l,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return!S&&x===void 0&&(t=!0,b(e),C(e)),x!==void 0&&e>=x?S.next(e-x):(!t&&b(e),f)}}}function sm(e,t,n){let r=[],i=n||zd.mix||Vp,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=Kd(Array.isArray(t)?t[n]||Wd:t,a)),r.push(a)}return r}function cm(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;if(t.length,a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=sm(t,r,i),c=s.length,l=n=>{if(o&&n<e[0])return t[0];let r=0;if(c>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=qd(e[r],e[r+1],n);return s[r](i)};return n?t=>l(Rd(e[0],e[a-1],t)):l}function lm(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=qd(0,t,r);e.push(Dp(n,1,i))}}function um(e){let t=[0];return lm(t,e.length-1),t}function dm(e,t){return e.map(e=>e*t)}function fm(e,t){return e.map(()=>t||hf).splice(0,e.length-1)}function pm({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=gf(r)?r.map(bf):bf(r),a={done:!1,value:t[0]},o=cm(dm(n&&n.length===t.length?n:um(t),e),t,{ease:Array.isArray(i)?i:fm(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}var mm=e=>e!==null;function hm(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(mm),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var gm={decay:om,inertia:om,tween:pm,keyframes:pm,spring:rm};function _m(e){typeof e.type==`string`&&(e.type=gm[e.type])}var vm=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}},ym=e=>e/100,bm=class extends vm{constructor(e){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=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==Mf.now()&&this.tick(Mf.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},Nf.mainThread++,this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){let{options:e}=this;_m(e);let{type:t=pm,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||pm;s!==pm&&typeof o[0]!=`number`&&(this.mixKeyframes=Kd(ym,Vp(o[0],o[1])),o=[0,100]);let c=s({...e,keyframes:o});i===`mirror`&&(this.mirroredGenerator=s({...e,keyframes:[...o].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=Gp(c));let{calculatedDuration:l}=c;this.calculatedDuration=l,this.resolvedDuration=l+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=c}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime===null?this.currentTime=t:this.currentTime=this.holdTime}tick(e,t=!1){let{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:s}=this;if(this.startTime===null)return n.next(0);let{delay:c=0,keyframes:l,repeat:u,repeatType:d,repeatDelay:f,type:p,onUpdate:m,finalKeyframe:h}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let g=this.currentTime-c*(this.playbackSpeed>=0?1:-1),_=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),this.state===`finished`&&this.holdTime===null&&(this.currentTime=r);let v=this.currentTime,y=n;if(u){let e=Math.min(this.currentTime,r)/o,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),n===1&&t--,t=Math.min(t,u+1),t%2&&(d===`reverse`?(n=1-n,f&&(n-=f/o)):d===`mirror`&&(y=a)),v=Rd(0,1,n)*o}let b;_?(this.delayState.value=l[0],b=this.delayState):b=y.next(v),i&&!_&&(b.value=i(b.value));let{done:x}=b;!_&&s!==null&&(x=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let S=this.holdTime===null&&(this.state===`finished`||this.state===`running`&&x);return S&&p!==om&&(b.value=hm(l,this.options,h,this.speed)),m&&m(b.value),S&&this.finish(),b}then(e,t){return this.finished.then(e,t)}get duration(){return Xd(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+Xd(e)}get time(){return Xd(this.currentTime)}set time(e){e=Yd(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state=`paused`,this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return am(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(Mf.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=Xd(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=Hp,startTime:t}=this.options;this.driver||=e(e=>this.tick(e)),this.options.onPlay?.();let n=this.driver.now();this.state===`finished`?(this.updateFinished(),this.startTime=n):this.holdTime===null?this.startTime||=t??n:this.startTime=n-this.holdTime,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(Mf.now()),this.holdTime=this.currentTime}complete(){this.state!==`running`&&this.play(),this.state=`finished`,this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state=`finished`,this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state=`idle`,this.stopDriver(),this.startTime=this.holdTime=null,Nf.mainThread--}stopDriver(){this.driver&&=(this.driver.stop(),void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type=`keyframes`,this.options.ease=`linear`,this.initAnimation()),this.driver?.stop(),e.observe(this)}};function xm(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var Sm=e=>e*180/Math.PI,Cm=e=>Tm(Sm(Math.atan2(e[1],e[0]))),wm={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Cm,rotateZ:Cm,skewX:e=>Sm(Math.atan(e[1])),skewY:e=>Sm(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Tm=e=>(e%=360,e<0&&(e+=360),e),Em=Cm,Dm=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Om=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),km={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Dm,scaleY:Om,scale:e=>(Dm(e)+Om(e))/2,rotateX:e=>Tm(Sm(Math.atan2(e[6],e[5]))),rotateY:e=>Tm(Sm(Math.atan2(-e[2],e[0]))),rotateZ:Em,rotate:Em,skewX:e=>Sm(Math.atan(e[4])),skewY:e=>Sm(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Am(e){return+!!e.includes(`scale`)}function jm(e,t){if(!e||e===`none`)return Am(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=km,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=wm,i=t}if(!i)return Am(t);let a=r[t],o=i[1].split(`,`).map(Nm);return typeof a==`function`?a(o):o[a]}var Mm=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return jm(n,t)};function Nm(e){return parseFloat(e.trim())}var Pm=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],Fm=new Set(Pm),Im=e=>e===Bf||e===$,Lm=new Set([`x`,`y`,`z`]),Rm=Pm.filter(e=>!Lm.has(e));function zm(e){let t=[];return Rm.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(+!!n.startsWith(`scale`)))}),t}var Bm={width:({x:e},{paddingLeft:t=`0`,paddingRight:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t=`0`,paddingBottom:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-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})=>jm(t,`x`),y:(e,{transform:t})=>jm(t,`y`)};Bm.translateX=Bm.x,Bm.translateY=Bm.y;var Vm=new Set,Hm=!1,Um=!1,Wm=!1;function Gm(){if(Um){let e=Array.from(Vm).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=zm(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{e.suspendedScrollY!==void 0&&window.scrollTo(0,e.suspendedScrollY)})}Um=!1,Hm=!1,Vm.forEach(e=>e.complete(Wm)),Vm.clear()}function Km(){Vm.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Um=!0)})}function qm(){Wm=!0,Km(),Gm(),Wm=!1}var Jm=class{constructor(e,t,n,r,i,a=!1){this.state=`pending`,this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=a}scheduleResolve(){this.state=`scheduled`,this.isAsync?(Vm.add(this),Hm||(Hm=!0,Ef.read(Km),Ef.resolveKeyframes(Gm))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(e[0]===null){let i=r?.get(),a=e[e.length-1];if(i!==void 0)e[0]=i;else if(n&&t){let r=n.readValue(t,a);r!=null&&(e[0]=r)}e[0]===void 0&&(e[0]=a),r&&i===void 0&&r.set(e[0])}xm(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Vm.delete(this)}cancel(){this.state===`scheduled`&&(Vm.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}},Ym=e=>e.startsWith(`--`);function Xm(e,t,n){Ym(t)?e.style.setProperty(t,n):e.style[t]=n}var Zm={};function Qm(e,t){let n=Ud(e);return()=>Zm[t]??n()}var $m=Qm(()=>window.ScrollTimeline!==void 0,`scrollTimeline`),eh=Qm(()=>window.ViewTimeline!==void 0,`viewTimeline`),th=Qm(()=>{try{document.createElement(`div`).animate({opacity:0},{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`),nh=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,rh={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:nh([0,.65,.55,1]),circOut:nh([.55,0,1,.45]),backIn:nh([.31,.01,.66,-.59]),backOut:nh([.33,1.53,.69,.99])};function ih(e,t){if(e)return typeof e==`function`?th()?Up(e,t):`ease-out`:_f(e)?nh(e):Array.isArray(e)?e.map(e=>ih(e,t)||rh.easeOut):rh[e]}function ah(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o=`loop`,ease:s=`easeOut`,times:c}={},l=void 0){let u={[t]:n};c&&(u.offset=c);let d=ih(s,i);Array.isArray(d)&&(u.easing=d),Sf.value&&Nf.waapi++;let f={delay:r,duration:i,easing:Array.isArray(d)?`linear`:d,fill:`both`,iterations:a+1,direction:o===`reverse`?`alternate`:`normal`};l&&(f.pseudoElement=l);let p=e.animate(u,f);return Sf.value&&p.finished.finally(()=>{Nf.waapi--}),p}function oh(e){return typeof e==`function`&&`applyToOptions`in e}function sh({type:e,...t}){return oh(e)&&th()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}var ch=class extends vm{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:o,onComplete:s}=e;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=e,e.type;let c=sh(e);this.animation=ah(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=hm(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),Xm(t,n,e),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state===`finished`&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;e===`idle`||e===`finished`||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return Xd(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+Xd(e)}get time(){return Xd(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Yd(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime===null?this.animation.playState:`finished`}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:n,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:`linear`}),this.animation.onfinish=null,e&&$m()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),Wd):r(this)}},lh={anticipate:lf,backInOut:cf,circInOut:ff};function uh(e){return e in lh}function dh(e){typeof e.ease==`string`&&uh(e.ease)&&(e.ease=lh[e.ease])}var fh=10,ph=class extends ch{constructor(e){dh(e),_m(e),super(e),e.startTime!==void 0&&e.autoplay!==!1&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:r,element:i,...a}=this.options;if(!t)return;if(e!==void 0){t.set(e);return}let o=new bm({...a,autoplay:!1}),s=Math.max(fh,Mf.now()-this.startTime),c=Rd(0,fh,s-fh),l=o.sample(s).value,{name:u}=this.options;i&&u&&Xm(i,u,l),t.setWithVelocity(o.sample(Math.max(0,s-c)).value,l,c),o.stop()}},mh=(e,t)=>t===`zIndex`?!1:!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(Cp.test(e)||e===`0`)&&!e.startsWith(`url(`));function hh(e){let t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function gh(e,t,n,r){let i=e[0];if(i===null)return!1;if(t===`display`||t===`visibility`)return!0;let a=e[e.length-1],o=mh(i,t),s=mh(a,t);return`${t}${i}${a}${o?a:i}`,!o||!s?!1:hh(e)||(n===`spring`||oh(n))&&r}function _h(e){e.duration=0,e.type=`keyframes`}var vh=new Set([`opacity`,`clipPath`,`filter`,`transform`]),yh=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function bh(e){for(let t=0;t<e.length;t++)if(typeof e[t]==`string`&&yh.test(e[t]))return!0;return!1}var xh=new Set([`color`,`backgroundColor`,`outlineColor`,`fill`,`stroke`,`borderColor`,`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`]),Sh=Ud(()=>Object.hasOwnProperty.call(Element.prototype,`animate`));function Ch(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o,keyframes:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:c,transformTemplate:l}=t.owner.getProps();return Sh()&&n&&(vh.has(n)||xh.has(n)&&bh(s))&&(n!==`transform`||!l)&&!c&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var wh=40,Th=class extends vm{constructor({autoplay:e=!0,delay:t=0,type:n=`keyframes`,repeat:r=0,repeatDelay:i=0,repeatType:a=`loop`,keyframes:o,name:s,motionValue:c,element:l,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Mf.now();let d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:a,name:s,motionValue:c,element:l,...u};this.keyframeResolver=new(l?.KeyframeResolver||Jm)(o,(e,t,n)=>this.onKeyframesResolved(e,t,d,!n),s,c,l),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;let{name:i,type:a,velocity:o,delay:s,isHandoff:c,onUpdate:l}=n;this.resolvedAt=Mf.now();let u=!0;gh(e,i,a,o)||(u=!1,(zd.instantAnimations||!s)&&l?.(hm(e,n,t)),e[0]=e[e.length-1],_h(n),n.repeat=0);let d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>wh?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},f=u&&!c&&Ch(d),p=d.motionValue?.owner?.current,m;if(f)try{m=new ph({...d,element:p})}catch{m=new bm(d)}else m=new bm(d);m.finished.then(()=>{this.notifyFinished()}).catch(Wd),this.pendingTimeline&&=(this.stopTimeline=m.attachTimeline(this.pendingTimeline),void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),qm()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}};function Eh(e,t,n,r=0,i=1){let a=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),o=e.size,s=(o-1)*r;return typeof n==`function`?n(a,o):i===1?a*r:s-a*r}var Dh=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Oh(e){let t=Dh.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function kh(e,t,n=1){`${e}`;let[r,i]=Oh(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return Bd(e)?parseFloat(e):e}return Lf(i)?kh(i,t,n+1):i}var Ah={type:`spring`,stiffness:500,damping:25,restSpeed:10},jh=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Mh={type:`keyframes`,duration:.8},Nh={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},Ph=(e,{keyframes:t})=>t.length>2?Mh:Fm.has(e)?e.startsWith(`scale`)?jh(t[1]):Ah:Nh;function Fh(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}function Ih(e,t){let n=e?.[t]??e?.default??e;return n===e?n:Fh(n,e)}var Lh=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`]);function Rh(e){for(let t in e)if(!Lh.has(t))return!0;return!1}var zh=(e,t,n,r={},i,a)=>o=>{let s=Ih(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=Yd(c);let u={keyframes:Array.isArray(n)?n:[null,n],ease:`easeOut`,velocity:t.getVelocity(),...s,delay:-l,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:i};Rh(s)||Object.assign(u,Ph(e,u)),u.duration&&=Yd(u.duration),u.repeatDelay&&=Yd(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(_h(u),u.delay===0&&(d=!0)),(zd.instantAnimations||zd.skipAnimations||i?.shouldSkipAnimations)&&(d=!0,_h(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=hm(u.keyframes,s);if(e!==void 0){Ef.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new bm(u):new Th(u)};function Bh(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function Vh(e,t,n,r){if(typeof t==`function`){let[i,a]=Bh(r);t=t(n===void 0?e.custom:n,i,a)}if(typeof t==`string`&&(t=e.variants&&e.variants[t]),typeof t==`function`){let[i,a]=Bh(r);t=t(n===void 0?e.custom:n,i,a)}return t}function Hh(e,t,n){let r=e.getProps();return Vh(r,t,n===void 0?r.custom:n,e)}var Uh=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...Pm]),Wh=30,Gh=e=>!isNaN(parseFloat(e)),Kh={current:void 0},qh=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=Mf.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=Mf.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=Gh(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on(`change`,e)}on(e,t){this.events[e]||(this.events[e]=new Jd);let n=this.events[e].add(t);return e===`change`?()=>{n(),Ef.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||=new Set,this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return Kh.current&&Kh.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=Mf.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>Wh)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,Wh);return Zd(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),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(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function Jh(e,t){return new qh(e,t)}var Yh=e=>Array.isArray(e);function Xh(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Jh(n))}function Zh(e){return Yh(e)?e[e.length-1]||0:e}function Qh(e,t){let{transitionEnd:n={},transition:r={},...i}=Hh(e,t)||{};i={...i,...n};for(let t in i)Xh(e,t,Zh(i[t]))}var $h=e=>!!(e&&e.getVelocity);function eg(e){return!!($h(e)&&e.add)}function tg(e,t){let n=e.getValue(`willChange`);if(eg(n))return n.add(t);if(!n&&zd.WillChange){let n=new zd.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}function ng(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var rg=`data-`+ng(`framerAppearId`);function ig(e){return e.props[rg]}function ag({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function og(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a,transitionEnd:o,...s}=t,c=e.getDefaultTransition();a=a?Fh(a,c):c;let l=a?.reduceMotion;r&&(a=r);let u=[],d=i&&e.animationState&&e.animationState.getState()[i];for(let t in s){let r=e.getValue(t,e.latestValues[t]??null),i=s[t];if(i===void 0||d&&ag(d,t))continue;let o={delay:n,...Ih(a||{},t)},c=r.get();if(c!==void 0&&!r.isAnimating()&&!Array.isArray(i)&&i===c&&!o.velocity){Ef.update(()=>r.set(i));continue}let f=!1;if(window.MotionHandoffAnimation){let n=ig(e);if(n){let e=window.MotionHandoffAnimation(n,t,Ef);e!==null&&(o.startTime=e,f=!0)}}tg(e,t);let p=l??e.shouldReduceMotion;r.start(zh(t,r,i,p&&Uh.has(t)?{type:!1}:o,e,f));let m=r.animation;m&&u.push(m)}if(o){let t=()=>Ef.update(()=>{o&&Qh(e,o)});u.length?Promise.all(u).then(t):t()}return u}function sg(e,t,n={}){let r=Hh(e,t,n.type===`exit`?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let a=r?()=>Promise.all(og(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:a=0,staggerChildren:o,staggerDirection:s}=i;return cg(e,t,r,a,o,s,n)}:()=>Promise.resolve(),{when:s}=i;if(s){let[e,t]=s===`beforeChildren`?[a,o]:[o,a];return e().then(()=>t())}else return Promise.all([a(),o(n.delay)])}function cg(e,t,n=0,r=0,i=0,a=1,o){let s=[];for(let c of e.variantChildren)c.notify(`AnimationStart`,t),s.push(sg(c,t,{...o,delay:n+(typeof r==`function`?0:r)+Eh(e.variantChildren,c,r,i,a)}).then(()=>c.notify(`AnimationComplete`,t)));return Promise.all(s)}function lg(e,t,n={}){e.notify(`AnimationStart`,t);let r;if(Array.isArray(t)){let i=t.map(t=>sg(e,t,n));r=Promise.all(i)}else if(typeof t==`string`)r=sg(e,t,n);else{let i=typeof t==`function`?Hh(e,t,n.custom):t;r=Promise.all(og(e,i,n))}return r.then(()=>{e.notify(`AnimationComplete`,t)})}var ug={test:e=>e===`auto`,parse:e=>e},dg=e=>t=>t.test(e),fg=[Bf,$,np,tp,ip,rp,ug],pg=e=>fg.find(dg(e));function mg(e){return typeof e==`number`?e===0:e===null?!0:e===`none`||e===`0`||Hd(e)}var hg=new Set([`brightness`,`contrast`,`saturate`,`opacity`]);function gg(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(Wf)||[];if(!r)return e;let i=n.replace(r,``),a=+!!hg.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var _g=/\b([a-z-]*)\(.*?\)/gu,vg={...Cp,getAnimatableNone:e=>{let t=e.match(_g);return t?t.map(gg).join(` `):e}},yg={...Cp,getAnimatableNone:e=>{let t=Cp.parse(e);return Cp.createTransformer(e)(t.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}},bg={...Bf,transform:Math.round},xg={borderWidth:$,borderTopWidth:$,borderRightWidth:$,borderBottomWidth:$,borderLeftWidth:$,borderRadius:$,borderTopLeftRadius:$,borderTopRightRadius:$,borderBottomRightRadius:$,borderBottomLeftRadius:$,width:$,maxWidth:$,height:$,maxHeight:$,top:$,right:$,bottom:$,left:$,inset:$,insetBlock:$,insetBlockStart:$,insetBlockEnd:$,insetInline:$,insetInlineStart:$,insetInlineEnd:$,padding:$,paddingTop:$,paddingRight:$,paddingBottom:$,paddingLeft:$,paddingBlock:$,paddingBlockStart:$,paddingBlockEnd:$,paddingInline:$,paddingInlineStart:$,paddingInlineEnd:$,margin:$,marginTop:$,marginRight:$,marginBottom:$,marginLeft:$,marginBlock:$,marginBlockStart:$,marginBlockEnd:$,marginInline:$,marginInlineStart:$,marginInlineEnd:$,fontSize:$,backgroundPositionX:$,backgroundPositionY:$,rotate:tp,rotateX:tp,rotateY:tp,rotateZ:tp,scale:Hf,scaleX:Hf,scaleY:Hf,scaleZ:Hf,skew:tp,skewX:tp,skewY:tp,distance:$,translateX:$,translateY:$,translateZ:$,x:$,y:$,z:$,perspective:$,transformPerspective:$,opacity:Vf,originX:ap,originY:ap,originZ:$,zIndex:bg,fillOpacity:Vf,strokeOpacity:Vf,numOctaves:bg},Sg={...xg,color:sp,backgroundColor:sp,outlineColor:sp,fill:sp,stroke:sp,borderColor:sp,borderTopColor:sp,borderRightColor:sp,borderBottomColor:sp,borderLeftColor:sp,filter:vg,WebkitFilter:vg,mask:yg,WebkitMask:yg},Cg=e=>Sg[e],wg=new Set([vg,yg]);function Tg(e,t){let n=Cg(e);return wg.has(n)||(n=Cp),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var Eg=new Set([`auto`,`none`,`0`]);function Dg(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!Eg.has(t)&&gp(t).values.length&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]=Tg(n,i)}var Og=class extends Jm{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if(typeof r==`string`&&(r=r.trim(),Lf(r))){let i=kh(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!Uh.has(n)||e.length!==2)return;let[r,i]=e,a=pg(r),o=pg(i);if(zf(r)!==zf(i)&&Bm[n]){this.needsMeasurement=!0;return}if(a!==o)if(Im(a)&&Im(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else Bm[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||mg(e[t]))&&n.push(t);n.length&&Dg(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;n===`height`&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Bm[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];r!==void 0&&e.getValue(n,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let i=n.length-1,a=n[i];n[i]=Bm[t](e.measureViewportBox(),window.getComputedStyle(e.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),this.removedTransforms?.length&&this.removedTransforms.forEach(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}};function kg(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e==`string`){let r=document;t&&(r=t.current);let i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>e!=null)}var Ag=(e,t)=>t&&typeof e==`number`?t.transform(e):e;function jg(e){return Vd(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}var{schedule:Mg,cancel:Ng}=Tf(queueMicrotask,!1),Pg={x:!1,y:!1};function Fg(){return Pg.x||Pg.y}function Ig(e){return e===`x`||e===`y`?Pg[e]?null:(Pg[e]=!0,()=>{Pg[e]=!1}):Pg.x||Pg.y?null:(Pg.x=Pg.y=!0,()=>{Pg.x=Pg.y=!1})}function Lg(e,t){let n=kg(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function Rg(e){return!(e.pointerType===`touch`||Fg())}function zg(e,t,n={}){let[r,i,a]=Lg(e,n);return r.forEach(e=>{let n=!1,r=!1,a,o=()=>{e.removeEventListener(`pointerleave`,u)},s=e=>{a&&=(a(e),void 0),o()},c=e=>{n=!1,window.removeEventListener(`pointerup`,c),window.removeEventListener(`pointercancel`,c),r&&(r=!1,s(e))},l=()=>{n=!0,window.addEventListener(`pointerup`,c,i),window.addEventListener(`pointercancel`,c,i)},u=e=>{if(e.pointerType!==`touch`){if(n){r=!0;return}s(e)}};e.addEventListener(`pointerenter`,n=>{if(!Rg(n))return;r=!1;let o=t(e,n);typeof o==`function`&&(a=o,e.addEventListener(`pointerleave`,u,i))},i),e.addEventListener(`pointerdown`,l,i)}),a}var Bg=(e,t)=>t?e===t?!0:Bg(e,t.parentElement):!1,Vg=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1,Hg=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]);function Ug(e){return Hg.has(e.tagName)||e.isContentEditable===!0}var Wg=new Set([`INPUT`,`SELECT`,`TEXTAREA`]);function Gg(e){return Wg.has(e.tagName)||e.isContentEditable===!0}var Kg=new WeakSet;function qg(e){return t=>{t.key===`Enter`&&e(t)}}function Jg(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var Yg=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=qg(()=>{if(Kg.has(n))return;Jg(n,`down`);let e=qg(()=>{Jg(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>Jg(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)};function Xg(e){return Vg(e)&&!Fg()}var Zg=new WeakSet;function Qg(e,t,n={}){let[r,i,a]=Lg(e,n),o=e=>{let r=e.currentTarget;if(!Xg(e)||Zg.has(e))return;Kg.add(r),n.stopPropagation&&Zg.add(e);let a=t(r,e),o=(e,t)=>{window.removeEventListener(`pointerup`,s),window.removeEventListener(`pointercancel`,c),Kg.has(r)&&Kg.delete(r),Xg(e)&&typeof a==`function`&&a(e,{success:t})},s=e=>{o(e,r===window||r===document||n.useGlobalTarget||Bg(r,e.target))},c=e=>{o(e,!1)};window.addEventListener(`pointerup`,s,i),window.addEventListener(`pointercancel`,c,i)};return r.forEach(e=>{(n.useGlobalTarget?window:e).addEventListener(`pointerdown`,o,i),jg(e)&&(e.addEventListener(`focus`,e=>Yg(e,i)),!Ug(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}function $g(e){return Vd(e)&&`ownerSVGElement`in e}var e_=new WeakMap,t_,n_=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+`Size`]:$g(r)&&`getBBox`in r?r.getBBox()[t]:r[n],r_=n_(`inline`,`width`,`offsetWidth`),i_=n_(`block`,`height`,`offsetHeight`);function a_({target:e,borderBoxSize:t}){e_.get(e)?.forEach(n=>{n(e,{get width(){return r_(e,t)},get height(){return i_(e,t)}})})}function o_(e){e.forEach(a_)}function s_(){typeof ResizeObserver>`u`||(t_=new ResizeObserver(o_))}function c_(e,t){t_||s_();let n=kg(e);return n.forEach(e=>{let n=e_.get(e);n||(n=new Set,e_.set(e,n)),n.add(t),t_?.observe(e)}),()=>{n.forEach(e=>{let n=e_.get(e);n?.delete(t),n?.size||t_?.unobserve(e)})}}var l_=new Set,u_;function d_(){u_=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};l_.forEach(t=>t(e))},window.addEventListener(`resize`,u_)}function f_(e){return l_.add(e),u_||d_(),()=>{l_.delete(e),!l_.size&&typeof u_==`function`&&(window.removeEventListener(`resize`,u_),u_=void 0)}}function p_(e,t){return typeof e==`function`?f_(e):c_(e,t)}function m_(e,t){let n,r=()=>{let{currentTime:r}=t,i=(r===null?0:r.value)/100;n!==i&&e(i),n=i};return Ef.preUpdate(r,!0),()=>Df(r)}function h_(e){return $g(e)&&e.tagName===`svg`}function g_(...e){let t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],i=e[1+n],a=e[2+n],o=e[3+n],s=cm(i,a,o);return t?s(r):s}var __=[...fg,sp,Cp],v_=e=>__.find(dg(e)),y_=()=>({translate:0,scale:1,origin:0,originPoint:0}),b_=()=>({x:y_(),y:y_()}),x_=()=>({min:0,max:0}),S_=()=>({x:x_(),y:x_()}),C_=new WeakMap;function w_(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}function T_(e){return typeof e==`string`||Array.isArray(e)}var E_=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],D_=[`initial`,...E_];function O_(e){return w_(e.animate)||D_.some(t=>T_(e[t]))}function k_(e){return!!(O_(e)||e.variants)}function A_(e,t,n){for(let r in t){let i=t[r],a=n[r];if($h(i))e.addValue(r,i);else if($h(a))e.addValue(r,Jh(i,{owner:e}));else if(a!==i)if(e.hasValue(r)){let t=e.getValue(r);t.liveStyle===!0?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,Jh(t===void 0?i:t,{owner:e}))}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var j_={current:null},M_={current:!1},N_=typeof window<`u`;function P_(){if(M_.current=!0,N_)if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>j_.current=e.matches;e.addEventListener(`change`,t),t()}else j_.current=!1}var F_=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],I_={};function L_(e){I_=e}function R_(){return I_}var z_=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,skipAnimations:i,blockInitialAnimation:a,visualState:o},s={}){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=Jm,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=()=>{let e=Mf.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,Ef.render(this.render,!1,!0))};let{latestValues:c,renderState:l}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=t.initial?{...c}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=i,this.options=s,this.blockInitialAnimation=!!a,this.isControllingVariants=O_(t),this.isVariantNode=k_(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];c[e]!==void 0&&$h(t)&&t.set(c[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,C_.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),this.reducedMotionConfig===`never`?this.shouldReduceMotion=!1:this.reducedMotionConfig===`always`?this.shouldReduceMotion=!0:(M_.current||P_(),this.shouldReduceMotion=j_.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),Df(this.notifyUpdate),Df(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??=new Set,this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&vh.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:a,duration:o}=t.accelerate,s=new ch({element:this.current,name:e,keyframes:r,times:i,ease:a,duration:Yd(o)}),c=n(s);this.valueSubscriptions.set(e,()=>{c(),s.cancel()});return}let n=Fm.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&Ef.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),i;typeof window<`u`&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i(),t.owner&&t.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e=`animation`;for(e in I_){let t=I_[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):S_()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<F_.length;t++){let n=F_[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e[`on`+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=A_(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]: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(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&t!==void 0&&(n=Jh(t===null?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return n!=null&&(typeof n==`string`&&(Bd(n)||Hd(n))?n=parseFloat(n):!v_(n)&&Cp.test(t)&&(n=Tg(e,t)),this.setBaseTarget(e,$h(n)?n.get():n)),$h(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let{initial:t}=this.props,n;if(typeof t==`string`||typeof t==`object`){let r=Vh(this.props,t,this.presenceContext?.custom);r&&(n=r[e])}if(t&&n!==void 0)return n;let r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!$h(r)?r:this.initialValues[e]!==void 0&&n===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new Jd),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){Mg.render(this.render)}},B_=class extends z_{constructor(){super(...arguments),this.KeyframeResolver=Og}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){let n=e.style;return n?n[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;$h(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}},V_=class{constructor(e){this.isMounted=!1,this.node=e}update(){}};function H_({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function U_({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function W_(e,t){if(!t)return e;let 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 G_(e){return e===void 0||e===1}function K_({scale:e,scaleX:t,scaleY:n}){return!G_(e)||!G_(t)||!G_(n)}function q_(e){return K_(e)||J_(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function J_(e){return Y_(e.x)||Y_(e.y)}function Y_(e){return e&&e!==`0%`}function X_(e,t,n){return n+t*(e-n)}function Z_(e,t,n,r,i){return i!==void 0&&(e=X_(e,i,r)),X_(e,n,r)+t}function Q_(e,t=0,n=1,r,i){e.min=Z_(e.min,t,n,r,i),e.max=Z_(e.max,t,n,r,i)}function $_(e,{x:t,y:n}){Q_(e.x,t.translate,t.scale,t.originPoint),Q_(e.y,n.translate,n.scale,n.originPoint)}var ev=.999999999999,tv=1.0000000000001;function nv(e,t,n,r=!1){let i=n.length;if(!i)return;t.x=t.y=1;let a,o;for(let s=0;s<i;s++){a=n[s],o=a.projectionDelta;let{visualElement:i}=a.options;i&&i.props.style&&i.props.style.display===`contents`||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&(rv(e.x,-a.scroll.offset.x),rv(e.y,-a.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,$_(e,o)),r&&q_(a.latestValues)&&ov(e,a.latestValues,a.layout?.layoutBox))}t.x<tv&&t.x>ev&&(t.x=1),t.y<tv&&t.y>ev&&(t.y=1)}function rv(e,t){e.min+=t,e.max+=t}function iv(e,t,n,r,i=.5){Q_(e,t,n,Dp(e.min,e.max,i),r)}function av(e,t){return typeof e==`string`?parseFloat(e)/100*(t.max-t.min):e}function ov(e,t,n){let r=n??e;iv(e.x,av(t.x,r.x),t.scaleX,t.scale,t.originX),iv(e.y,av(t.y,r.y),t.scaleY,t.scale,t.originY)}function sv(e,t){return H_(W_(e.getBoundingClientRect(),t))}function cv(e,t,n){let r=sv(e,n),{scroll:i}=t;return i&&(rv(r.x,i.offset.x),rv(r.y,i.offset.y)),r}var lv={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},uv=Pm.length;function dv(e,t,n){let r=``,i=!0;for(let a=0;a<uv;a++){let o=Pm[a],s=e[o];if(s===void 0)continue;let c=!0;if(typeof s==`number`)c=s===+!!o.startsWith(`scale`);else{let e=parseFloat(s);c=o.startsWith(`scale`)?e===1:e===0}if(!c||n){let e=Ag(s,xg[o]);if(!c){i=!1;let t=lv[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}return r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}function fv(e,t,n){let{style:r,vars:i,transformOrigin:a}=e,o=!1,s=!1;for(let e in t){let n=t[e];if(Fm.has(e)){o=!0;continue}else if(Ff(e)){i[e]=n;continue}else{let t=Ag(n,xg[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=dv(t,e.transform,n):r.transform&&=`none`),s){let{originX:e=`50%`,originY:t=`50%`,originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}function pv(e,{style:t,vars:n},r,i){let a=e.style,o;for(o in t)a[o]=t[o];for(o in i?.applyProjectionStyles(a,r),n)a.setProperty(o,n[o])}function mv(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var hv={correct:(e,t)=>{if(!t.target)return e;if(typeof e==`string`)if($.test(e))e=parseFloat(e);else return e;return`${mv(e,t.target.x)}% ${mv(e,t.target.y)}%`}},gv={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=Cp.parse(e);if(i.length>5)return r;let a=Cp.createTransformer(e),o=typeof i[0]==`number`?0:1,s=n.x.scale*t.x,c=n.y.scale*t.y;i[0+o]/=s,i[1+o]/=c;let l=Dp(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}},_v={borderRadius:{...hv,applyTo:[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomLeftRadius`,`borderBottomRightRadius`]},borderTopLeftRadius:hv,borderTopRightRadius:hv,borderBottomLeftRadius:hv,borderBottomRightRadius:hv,boxShadow:gv};function vv(e,{layout:t,layoutId:n}){return Fm.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!_v[e]||e===`opacity`)}function yv(e,t,n){let r=e.style,i=t?.style,a={};if(!r)return a;for(let t in r)($h(r[t])||i&&$h(i[t])||vv(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(a[t]=r[t]);return a}function bv(e){return window.getComputedStyle(e)}var xv=class extends B_{constructor(){super(...arguments),this.type=`html`,this.renderInstance=pv}readValueFromInstance(e,t){if(Fm.has(t))return this.projection?.isProjecting?Am(t):Mm(e,t);{let n=bv(e),r=(Ff(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return sv(e,t)}build(e,t,n){fv(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return yv(e,t,n)}},Sv={offset:`stroke-dashoffset`,array:`stroke-dasharray`},Cv={offset:`strokeDashoffset`,array:`strokeDasharray`};function wv(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?Sv:Cv;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}var Tv=[`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`];function Ev(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(fv(e,s,l),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??`50% 50%`,delete d.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??`fill-box`,delete d.transformBox);for(let e of Tv)d[e]!==void 0&&(f[e]=d[e],delete d[e]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&wv(d,i,a,o,!1)}var Dv=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`]),Ov=e=>typeof e==`string`&&e.toLowerCase()===`svg`;function kv(e,t,n,r){pv(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(Dv.has(n)?n:ng(n),t.attrs[n])}function Av(e,t,n){let r=yv(e,t,n);for(let n in e)if($h(e[n])||$h(t[n])){let t=Pm.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}var jv=class extends B_{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=S_}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Fm.has(t)){let e=Cg(t);return e&&e.default||0}return t=Dv.has(t)?t:ng(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return Av(e,t,n)}build(e,t,n){Ev(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){kv(e,t,n,r)}mount(e){this.isSVGTag=Ov(e.tagName),super.mount(e)}},Mv=D_.length;function Nv(e){if(!e)return;if(!e.isControllingVariants){let t=e.parent&&Nv(e.parent)||{};return e.props.initial!==void 0&&(t.initial=e.props.initial),t}let t={};for(let n=0;n<Mv;n++){let r=D_[n],i=e.props[r];(T_(i)||i===!1)&&(t[r]=i)}return t}function Pv(e,t){if(!Array.isArray(t))return!1;let 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}var Fv=[...E_].reverse(),Iv=E_.length;function Lv(e){return t=>Promise.all(t.map(({animation:t,options:n})=>lg(e,t,n)))}function Rv(e){let t=Lv(e),n=Vv(),r=!0,i=!1,a=t=>(n,r)=>{let i=Hh(e,r,t===`exit`?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function o(n){t=n(e)}function s(o){let{props:s}=e,c=Nv(e.parent)||{},l=[],u=new Set,d={},f=1/0;for(let t=0;t<Iv;t++){let p=Fv[t],m=n[p],h=s[p]===void 0?c[p]:s[p],g=T_(h),_=p===o?m.isActive:null;_===!1&&(f=t);let v=h===c[p]&&h!==s[p]&&g;if(v&&(r||i)&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&_===null||!h&&!m.prevProp||w_(h)||typeof h==`boolean`)continue;if(p===`exit`&&m.isActive&&_!==!0){m.prevResolvedValues&&(d={...d,...m.prevResolvedValues});continue}let y=zv(m.prevProp,h),b=y||p===o&&m.isActive&&!v&&g||t>f&&g,x=!1,S=Array.isArray(h)?h:[h],C=S.reduce(a(p),{});_===!1&&(C={});let{prevResolvedValues:w={}}=m,T={...w,...C},E=t=>{b=!0,u.has(t)&&(x=!0,u.delete(t)),m.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in T){let t=C[e],n=w[e];if(d.hasOwnProperty(e))continue;let r=!1;r=Yh(t)&&Yh(n)?!Pv(t,n):t!==n,r?t==null?u.add(e):E(e):t!==void 0&&u.has(e)?E(e):m.protectedKeys[e]=!0}m.prevProp=h,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),(r||i)&&e.blockInitialAnimation&&(b=!1);let D=v&&y;b&&(!D||x)&&l.push(...S.map(t=>{let n={type:p};if(typeof t==`string`&&(r||i)&&!D&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,i=Hh(r,t);if(r.enteringChildren&&i){let{delayChildren:t}=i.transition||{};n.delay=Eh(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){let t={};if(typeof s.initial!=`boolean`){let n=Hh(e,Array.isArray(s.initial)?s.initial[0]:s.initial);n&&n.transition&&(t.transition=n.transition)}u.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),l.push({animation:t})}let p=!!l.length;return r&&(s.initial===!1||s.initial===s.animate)&&!e.manuallyAnimateOnMount&&(p=!1),r=!1,i=!1,p?t(l):Promise.resolve()}function c(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;let i=s(t);for(let e in n)n[e].protectedKeys={};return i}return{animateChanges:s,setActive:c,setAnimateFunction:o,getState:()=>n,reset:()=>{n=Vv(),i=!0}}}function zv(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!Pv(t,e):!1}function Bv(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Vv(){return{animate:Bv(!0),whileInView:Bv(),whileHover:Bv(),whileTap:Bv(),whileDrag:Bv(),whileFocus:Bv(),exit:Bv()}}function Hv(e,t){e.min=t.min,e.max=t.max}function Uv(e,t){Hv(e.x,t.x),Hv(e.y,t.y)}function Wv(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var Gv=1e-4,Kv=1-Gv,qv=1+Gv,Jv=.01,Yv=0-Jv,Xv=0+Jv;function Zv(e){return e.max-e.min}function Qv(e,t,n){return Math.abs(e-t)<=n}function $v(e,t,n,r=.5){e.origin=r,e.originPoint=Dp(t.min,t.max,e.origin),e.scale=Zv(n)/Zv(t),e.translate=Dp(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Kv&&e.scale<=qv||isNaN(e.scale))&&(e.scale=1),(e.translate>=Yv&&e.translate<=Xv||isNaN(e.translate))&&(e.translate=0)}function ey(e,t,n,r){$v(e.x,t.x,n.x,r?r.originX:void 0),$v(e.y,t.y,n.y,r?r.originY:void 0)}function ty(e,t,n,r=0){e.min=(r?Dp(n.min,n.max,r):n.min)+t.min,e.max=e.min+Zv(t)}function ny(e,t,n,r){ty(e.x,t.x,n.x,r?.x),ty(e.y,t.y,n.y,r?.y)}function ry(e,t,n,r=0){let i=r?Dp(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+Zv(t)}function iy(e,t,n,r){ry(e.x,t.x,n.x,r?.x),ry(e.y,t.y,n.y,r?.y)}function ay(e,t,n,r,i){return e-=t,e=X_(e,1/n,r),i!==void 0&&(e=X_(e,1/i,r)),e}function oy(e,t=0,n=1,r=.5,i,a=e,o=e){if(np.test(t)&&(t=parseFloat(t),t=Dp(o.min,o.max,t/100)-o.min),typeof t!=`number`)return;let s=Dp(a.min,a.max,r);e===a&&(s-=t),e.min=ay(e.min,t,n,s,i),e.max=ay(e.max,t,n,s,i)}function sy(e,t,[n,r,i],a,o){oy(e,t[n],t[r],t[i],t.scale,a,o)}var cy=[`x`,`scaleX`,`originX`],ly=[`y`,`scaleY`,`originY`];function uy(e,t,n,r){sy(e.x,t,cy,n?n.x:void 0,r?r.x:void 0),sy(e.y,t,ly,n?n.y:void 0,r?r.y:void 0)}function dy(e){return e.translate===0&&e.scale===1}function fy(e){return dy(e.x)&&dy(e.y)}function py(e,t){return e.min===t.min&&e.max===t.max}function my(e,t){return py(e.x,t.x)&&py(e.y,t.y)}function hy(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function gy(e,t){return hy(e.x,t.x)&&hy(e.y,t.y)}function _y(e){return Zv(e.x)/Zv(e.y)}function vy(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function yy(e){return[e(`x`),e(`y`)]}function by(e,t,n){let r=``,i=e.x.translate/t.x,a=e.y.translate/t.y,o=n?.z||0;if((i||a||o)&&(r=`translate3d(${i}px, ${a}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,rotateX:i,rotateY:a,skewX:o,skewY:s}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotateX(${i}deg) `),a&&(r+=`rotateY(${a}deg) `),o&&(r+=`skewX(${o}deg) `),s&&(r+=`skewY(${s}deg) `)}let s=e.x.scale*t.x,c=e.y.scale*t.y;return(s!==1||c!==1)&&(r+=`scale(${s}, ${c})`),r||`none`}var xy=[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomLeftRadius`,`borderBottomRightRadius`],Sy=xy.length,Cy=e=>typeof e==`string`?parseFloat(e):e,wy=e=>typeof e==`number`||$.test(e);function Ty(e,t,n,r,i,a){i?(e.opacity=Dp(0,n.opacity??1,Dy(r)),e.opacityExit=Dp(t.opacity??1,0,Oy(r))):a&&(e.opacity=Dp(t.opacity??1,n.opacity??1,r));for(let i=0;i<Sy;i++){let a=xy[i],o=Ey(t,a),s=Ey(n,a);o===void 0&&s===void 0||(o||=0,s||=0,o===0||s===0||wy(o)===wy(s)?(e[a]=Math.max(Dp(Cy(o),Cy(s),r),0),(np.test(s)||np.test(o))&&(e[a]+=`%`)):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=Dp(t.rotate||0,n.rotate||0,r))}function Ey(e,t){return e[t]===void 0?e.borderRadius:e[t]}var Dy=ky(0,.5,df),Oy=ky(.5,.95,Wd);function ky(e,t,n){return r=>r<e?0:r>t?1:n(qd(e,t,r))}function Ay(e,t,n){let r=$h(e)?e:Jh(e);return r.start(zh(``,r,t,n)),r.animation}function jy(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}var My=(e,t)=>e.depth-t.depth,Ny=class{constructor(){this.children=[],this.isDirty=!1}add(e){Id(this.children,e),this.isDirty=!0}remove(e){Ld(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(My),this.isDirty=!1,this.children.forEach(e)}};function Py(e,t){let n=Mf.now(),r=({timestamp:i})=>{let a=i-n;a>=t&&(Df(r),e(a-t))};return Ef.setup(r,!0),()=>Df(r)}function Fy(e){return $h(e)?e.get():e}var Iy=class{constructor(){this.members=[]}add(e){Id(this.members,e);for(let t=this.members.length-1;t>=0;t--){let n=this.members[t];if(n===e||n===this.lead||n===this.prevLead)continue;let r=n.instance;(!r||r.isConnected===!1)&&!n.snapshot&&(Ld(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(Ld(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(e.isPresent!==!1&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.updateSnapshot(),e.scheduleRender();let{layoutDependency:r}=n.options,{layoutDependency:i}=e.options;(r===void 0||r!==i)&&(e.resumeFrom=n,t&&(n.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),e.options.crossfade===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}},Ly={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Ry={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},zy=[``,`X`,`Y`,`Z`],By=1e3,Vy=0;function Hy(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Uy(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=ig(t);if(window.MotionHasOptimisedAnimation(n,`transform`)){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,`transform`,Ef,!(t||r))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Uy(r)}function Wy({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=Vy++,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,Sf.value&&(Ry.nodes=Ry.calculatedTargetDeltas=Ry.calculatedProjections=0),this.nodes.forEach(qy),this.nodes.forEach(nb),this.nodes.forEach(rb),this.nodes.forEach(Jy),Sf.addProjectionMetrics&&Sf.addProjectionMetrics(Ry)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new Ny)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Jd),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=$g(t)&&!h_(t),this.instance=t;let{layoutId:n,layout:r,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||n)&&(this.isLayoutDirty=!0),e){let n,r=0,i=()=>this.root.updateBlockedByResize=!1;Ef.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=Py(i,250),Ly.hasAnimatedSinceResize&&(Ly.hasAnimatedSinceResize=!1,this.nodes.forEach(tb)))})}n&&this.root.registerSharedNode(n,this),this.options.animate!==!1&&i&&(n||r)&&this.addEventListener(`didUpdate`,({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||i.getDefaultTransition()||ub,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=i.getProps(),c=!this.targetLayout||!gy(this.targetLayout,r),l=!t&&n;if(this.options.layoutRoot||this.resumeFrom||l||t&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...Ih(a,`layout`),onPlay:o,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,l)}else t||tb(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Df(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(ib),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Uy(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,(typeof t.latestValues.x==`string`||typeof t.latestValues.y==`string`)&&(t.isLayoutDirty=!0),t.updateScroll(`snapshot`),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(t===void 0&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,``):void 0,this.updateSnapshot(),e&&this.notifyListeners(`willUpdate`)}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(Zy),this.nodes.forEach(Xy);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Qy);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach($y),this.nodes.forEach(eb),this.nodes.forEach(Gy),this.nodes.forEach(Ky)):this.nodes.forEach(Qy),this.clearAllSnapshots();let e=Mf.now();Of.delta=Rd(0,1e3/60,e-Of.timestamp),Of.timestamp=e,Of.isProcessing=!0,kf.update.process(Of),kf.preRender.process(Of),kf.render.process(Of),Of.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Mg.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Yy),this.sharedNodes.forEach(ab)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Ef.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Ef.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Zv(this.snapshot.measuredBox.x)&&!Zv(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 e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||=S_(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners(`measure`,this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify(`LayoutMeasure`,this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e=`measure`){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!fy(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,``):void 0,a=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||q_(this.latestValues)||a)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){let t=this.measurePageBox(),n=this.removeElementScroll(t);return e&&(n=this.removeTransform(n)),mb(n),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return S_();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(gb))){let{scroll:e}=this.root;e&&(rv(t.x,e.offset.x),rv(t.y,e.offset.y))}return t}removeElementScroll(e){let t=S_();if(Uv(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:a}=r;r!==this.root&&i&&a.layoutScroll&&(i.wasRoot&&Uv(t,e),rv(t.x,i.offset.x),rv(t.y,i.offset.y))}return t}applyTransform(e,t=!1,n){let r=n||S_();Uv(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(rv(r.x,-n.scroll.offset.x),rv(r.y,-n.scroll.offset.y)),q_(n.latestValues)&&ov(r,n.latestValues,n.layout?.layoutBox)}return q_(this.latestValues)&&ov(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=S_();Uv(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!q_(n.latestValues))continue;let r;n.instance&&(K_(n.latestValues)&&n.updateSnapshot(),r=S_(),Uv(r,n.measurePageBox())),uy(t,n.latestValues,n.snapshot?.layoutBox,r)}return q_(this.latestValues)&&uy(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:e.crossfade===void 0?!0:e.crossfade}}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!==Of.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||=t.isProjectionDirty,this.isTransformDirty||=t.isTransformDirty,this.isSharedProjectionDirty||=t.isSharedProjectionDirty;let n=!!this.resumingFrom||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:i}=this.options;if(!this.layout||!(r||i))return;this.resolvedRelativeTargetAt=Of.timestamp;let a=this.getClosestProjectingParent();a&&this.linkedParentVersion!==a.layoutVersion&&!a.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&a&&a.layout?this.createRelativeTarget(a,this.layout.layoutBox,a.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=S_(),this.targetWithTransforms=S_()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),ny(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Uv(this.target,this.layout.layoutBox),$_(this.target,this.targetDelta)):Uv(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&a&&!!a.resumingFrom==!!this.resumingFrom&&!a.options.layoutScroll&&a.target&&this.animationProgress!==1?this.createRelativeTarget(a,this.target,a.target):this.relativeParent=this.relativeTarget=void 0),Sf.value&&Ry.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||K_(this.parent.latestValues)||J_(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,n){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=S_(),this.relativeTargetOrigin=S_(),iy(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),Uv(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===Of.timestamp&&(n=!1),n)return;let{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||i))return;Uv(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;nv(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=S_());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Wv(this.prevProjectionDelta.x,this.projectionDelta.x),Wv(this.prevProjectionDelta.y,this.projectionDelta.y)),ey(this.projectionDelta,this.layoutCorrected,s,this.latestValues),(this.treeScale.x!==a||this.treeScale.y!==o||!vy(this.projectionDelta.x,this.prevProjectionDelta.x)||!vy(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(`projectionUpdate`,s)),Sf.value&&Ry.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=b_(),this.projectionDelta=b_(),this.projectionDeltaWithTransform=b_()}setAnimationOrigin(e,t=!1){let n=this.snapshot,r=n?n.latestValues:{},i={...this.latestValues},a=b_();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let o=S_(),s=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),c=this.getStack(),l=!c||c.members.length<=1,u=!!(s&&!l&&this.options.crossfade===!0&&!this.path.some(lb));this.animationProgress=0;let d;this.mixTargetDelta=t=>{let n=t/1e3;ob(a.x,e.x,n),ob(a.y,e.y,n),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(iy(o,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),cb(this.relativeTarget,this.relativeTargetOrigin,o,n),d&&my(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||=S_(),Uv(d,this.relativeTarget)),s&&(this.animationValues=i,Ty(i,r,this.latestValues,n,u,l)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners(`animationStart`),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&=(Df(this.pendingAnimation),void 0),this.pendingAnimation=Ef.update(()=>{Ly.hasAnimatedSinceResize=!0,Nf.layout++,this.motionValue||=Jh(0),this.motionValue.jump(0,!1),this.currentAnimation=Ay(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{Nf.layout--},onComplete:()=>{Nf.layout--,e.onComplete&&e.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);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners(`animationComplete`)}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(By),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(!(!t||!n||!r)){if(this!==e&&this.layout&&r&&hb(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||S_();let t=Zv(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=Zv(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Uv(t,n),ov(t,i),ey(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Iy),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return e?e.lead===this:!0}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return e?e.relegate(this):!1}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&Hy(`z`,e,r,this.animationValues);for(let t=0;t<zy.length;t++)Hy(`rotate${zy[t]}`,e,r,this.animationValues),Hy(`skew${zy[t]}`,e,r,this.animationValues);e.render();for(let t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility=`hidden`;return}let n=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility=``,e.opacity=``,e.pointerEvents=Fy(t?.pointerEvents)||``,e.transform=n?n(this.latestValues,``):`none`;return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(e.opacity=this.latestValues.opacity===void 0?1:this.latestValues.opacity,e.pointerEvents=Fy(t?.pointerEvents)||``),this.hasProjected&&!q_(this.latestValues)&&(e.transform=n?n({},``):`none`,this.hasProjected=!1);return}e.visibility=``;let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let a=by(this.projectionDeltaWithTransform,this.treeScale,i);n&&(a=n(i,a)),e.transform=a;let{x:o,y:s}=this.projectionDelta;e.transformOrigin=`${o.origin*100}% ${s.origin*100}% 0`,r.animationValues?e.opacity=r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:e.opacity=r===this?i.opacity===void 0?``:i.opacity:i.opacityExit===void 0?0:i.opacityExit;for(let t in _v){if(i[t]===void 0)continue;let{correct:n,applyTo:o,isCSSVariable:s}=_v[t],c=a===`none`?i[t]:n(i[t],r);if(o){let t=o.length;for(let n=0;n<t;n++)e[o[n]]=c}else s?this.options.visualElement.renderState.vars[t]=c:e[t]=c}this.options.layoutId&&(e.pointerEvents=r===this?Fy(t?.pointerEvents)||``:`none`)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(Xy),this.root.sharedNodes.clear()}}}function Gy(e){e.updateLayout()}function Ky(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners(`didUpdate`)){let{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,a=t.source!==e.layout.source;if(i===`size`)yy(e=>{let r=a?t.measuredBox[e]:t.layoutBox[e],i=Zv(r);r.min=n[e].min,r.max=r.min+i});else if(i===`x`||i===`y`){let e=i===`x`?`y`:`x`;Hv(a?t.measuredBox[e]:t.layoutBox[e],n[e])}else hb(i,t.layoutBox,n)&&yy(r=>{let i=a?t.measuredBox[r]:t.layoutBox[r],o=Zv(n[r]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)});let o=b_();ey(o,n,t.layoutBox);let s=b_();a?ey(s,e.applyTransform(r,!0),t.measuredBox):ey(s,n,t.layoutBox);let c=!fy(o),l=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:a}=r;if(i&&a){let o=e.options.layoutAnchor||void 0,s=S_();iy(s,t.layoutBox,i.layoutBox,o);let c=S_();iy(c,n,a.layoutBox,o),gy(s,c)||(l=!0),r.options.layoutRoot&&(e.relativeTarget=c,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners(`didUpdate`,{layout:n,snapshot:t,delta:s,layoutDelta:o,hasLayoutChanged:c,hasRelativeLayoutChanged:l})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function qy(e){Sf.value&&Ry.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty),e.isTransformDirty||=e.parent.isTransformDirty)}function Jy(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Yy(e){e.clearSnapshot()}function Xy(e){e.clearMeasurements()}function Zy(e){e.isLayoutDirty=!0,e.updateLayout()}function Qy(e){e.isLayoutDirty=!1}function $y(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function eb(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(`BeforeLayoutMeasure`),e.resetTransform()}function tb(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function nb(e){e.resolveTargetDelta()}function rb(e){e.calcProjection()}function ib(e){e.resetSkewAndRotation()}function ab(e){e.removeLeadSnapshot()}function ob(e,t,n){e.translate=Dp(t.translate,0,n),e.scale=Dp(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function sb(e,t,n,r){e.min=Dp(t.min,n.min,r),e.max=Dp(t.max,n.max,r)}function cb(e,t,n,r){sb(e.x,t.x,n.x,r),sb(e.y,t.y,n.y,r)}function lb(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var ub={duration:.45,ease:[.4,0,.1,1]},db=e=>typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),fb=db(`applewebkit/`)&&!db(`chrome/`)?Math.round:Wd;function pb(e){e.min=fb(e.min),e.max=fb(e.max)}function mb(e){pb(e.x),pb(e.y)}function hb(e,t,n){return e===`position`||e===`preserve-aspect`&&!Qv(_y(t),_y(n),.2)}function gb(e){return e!==e.root&&e.scroll?.wasRoot}var _b=Wy({attachResizeListener:(e,t)=>jy(e,`resize`,t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),vb={current:void 0},yb=Wy({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!vb.current){let e=new _b({});e.mount(window),e.setOptions({layoutScroll:!0}),vb.current=e}return vb.current},resetTransform:(e,t)=>{e.style.transform=t===void 0?`none`:t},checkIsScrollRoot:e=>window.getComputedStyle(e).position===`fixed`}),bb=(0,w.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`});function xb(e=!0){let t=(0,w.useContext)(Fd);if(t===null)return[!0,null];let{isPresent:n,onExitComplete:r,register:i}=t,a=(0,w.useId)();(0,w.useEffect)(()=>{if(e)return i(a)},[e]);let o=(0,w.useCallback)(()=>e&&r&&r(a),[a,r,e]);return!n&&r?[!1,o]:[!0]}var Sb=(0,w.createContext)({strict:!1}),Cb={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`]},wb=!1;function Tb(){if(wb)return;let e={};for(let t in Cb)e[t]={isEnabled:e=>Cb[t].some(t=>!!e[t])};L_(e),wb=!0}function Eb(){return Tb(),R_()}function Db(e){let t=Eb();for(let n in e)t[n]={...t[n],...e[n]};L_(t)}var Ob=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`.split(`.`));function kb(e){return e.startsWith(`while`)||e.startsWith(`drag`)&&e!==`draggable`||e.startsWith(`layout`)||e.startsWith(`onTap`)||e.startsWith(`onPan`)||e.startsWith(`onLayout`)||Ob.has(e)}var Ab=c({default:()=>jb}),jb,Mb=o((()=>{throw jb={},Error(`Could not resolve "@emotion/is-prop-valid" imported by "framer-motion". Is it installed?`)})),Nb=e=>!kb(e);function Pb(e){typeof e==`function`&&(Nb=t=>t.startsWith(`on`)?!kb(t):e(t))}try{Pb((Mb(),d(Ab)).default)}catch{}function Fb(e,t,n){let r={};for(let i in e)i===`values`&&typeof e.values==`object`||$h(e[i])||(Nb(i)||n===!0&&kb(i)||!t&&!kb(i)||e.draggable&&i.startsWith(`onDrag`))&&(r[i]=e[i]);return r}var Ib=(0,w.createContext)({});function Lb(e,t){if(O_(e)){let{initial:t,animate:n}=e;return{initial:t===!1||T_(t)?t:void 0,animate:T_(n)?n:void 0}}return e.inherit===!1?{}:t}function Rb(e){let{initial:t,animate:n}=Lb(e,(0,w.useContext)(Ib));return(0,w.useMemo)(()=>({initial:t,animate:n}),[zb(t),zb(n)])}function zb(e){return Array.isArray(e)?e.join(` `):e}var Bb=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Vb(e,t,n){for(let r in t)!$h(t[r])&&!vv(r,n)&&(e[r]=t[r])}function Hb({transformTemplate:e},t){return(0,w.useMemo)(()=>{let n=Bb();return fv(n,t,e),Object.assign({},n.vars,n.style)},[t])}function Ub(e,t){let n=e.style||{},r={};return Vb(r,n,e),Object.assign(r,Hb(e,t)),r}function Wb(e,t){let n={},r=Ub(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`}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}var Gb=()=>({...Bb(),attrs:{}});function Kb(e,t,n,r){let i=(0,w.useMemo)(()=>{let n=Gb();return Ev(n,t,Ov(r),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};Vb(t,e.style,e),i.style={...t,...i.style}}return i}var qb=[`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 Jb(e){return typeof e!=`string`||e.includes(`-`)?!1:!!(qb.indexOf(e)>-1||/[A-Z]/u.test(e))}function Yb(e,t,n,{latestValues:r},i,a=!1,o){let s=(o??Jb(e)?Kb:Wb)(t,r,i,e),c=Fb(t,typeof e==`string`,a),l=e===w.Fragment?{}:{...c,...s,ref:n},{children:u}=t,d=(0,w.useMemo)(()=>$h(u)?u.get():u,[u]);return(0,w.createElement)(e,{...l,children:d})}function Xb({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:Zb(n,r,i,e),renderState:t()}}function Zb(e,t,n,r){let i={},a=r(e,{});for(let e in a)i[e]=Fy(a[e]);let{initial:o,animate:s}=e,c=O_(e),l=k_(e);t&&l&&!c&&e.inherit!==!1&&(o===void 0&&(o=t.initial),s===void 0&&(s=t.animate));let u=n?n.initial===!1:!1;u||=o===!1;let d=u?s:o;if(d&&typeof d!=`boolean`&&!w_(d)){let t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){let r=Vh(e,t[n]);if(r){let{transitionEnd:e,transition:t,...n}=r;for(let e in n){let t=n[e];if(Array.isArray(t)){let e=u?t.length-1:0;t=t[e]}t!==null&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}var Qb=e=>(t,n)=>{let r=(0,w.useContext)(Ib),i=(0,w.useContext)(Fd),a=()=>Xb(e,t,r,i);return n?a():Nd(a)},$b=Qb({scrapeMotionValuesFromProps:yv,createRenderState:Bb}),ex=Qb({scrapeMotionValuesFromProps:Av,createRenderState:Gb}),tx=Symbol.for(`motionComponentSymbol`);function nx(e,t,n){let r=(0,w.useRef)(n);(0,w.useInsertionEffect)(()=>{r.current=n});let i=(0,w.useRef)(null);return(0,w.useCallback)(n=>{n&&e.onMount?.(n);let a=r.current;if(typeof a==`function`)if(n){let e=a(n);typeof e==`function`&&(i.current=e)}else i.current?(i.current(),i.current=null):a(n);else a&&(a.current=n);t&&(n?t.mount(n):t.unmount())},[t])}var rx=(0,w.createContext)({});function ix(e){return e&&typeof e==`object`&&Object.prototype.hasOwnProperty.call(e,`current`)}function ax(e,t,n,r,i,a){let{visualElement:o}=(0,w.useContext)(Ib),s=(0,w.useContext)(Sb),c=(0,w.useContext)(Fd),l=(0,w.useContext)(bb),u=l.reducedMotion,d=l.skipAnimations,f=(0,w.useRef)(null),p=(0,w.useRef)(!1);r||=s.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:o,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:u,skipAnimations:d,isSVG:a}),p.current&&f.current&&(f.current.manuallyAnimateOnMount=!0));let m=f.current,h=(0,w.useContext)(rx);m&&!m.projection&&i&&(m.type===`html`||m.type===`svg`)&&ox(f.current,n,i,h);let g=(0,w.useRef)(!1);(0,w.useInsertionEffect)(()=>{m&&g.current&&m.update(n,c)});let _=n[rg],v=(0,w.useRef)(!!_&&typeof window<`u`&&!window.MotionHandoffIsComplete?.(_)&&window.MotionHasOptimisedAnimation?.(_));return Pd(()=>{p.current=!0,m&&(g.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),v.current&&m.animationState&&m.animationState.animateChanges())}),(0,w.useEffect)(()=>{m&&(!v.current&&m.animationState&&m.animationState.animateChanges(),v.current&&=(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(_)}),!1),m.enteringChildren=void 0)}),m}function ox(e,t,n,r){let{layoutId:i,layout:a,drag:o,dragConstraints:s,layoutScroll:c,layoutRoot:l,layoutAnchor:u,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t[`data-framer-portal-id`]?void 0:sx(e.parent)),e.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:!!o||s&&ix(s),visualElement:e,animationType:typeof a==`string`?a:`both`,initialPromotionConfig:r,crossfade:d,layoutScroll:c,layoutRoot:l,layoutAnchor:u})}function sx(e){if(e)return e.options.allowProjection===!1?sx(e.parent):e.projection}function cx(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&Db(r);let a=n?n===`svg`:Jb(e),o=a?ex:$b;function s(n,s){let c,l={...(0,w.useContext)(bb),...n,layoutId:lx(n)},{isStatic:u}=l,d=Rb(n),f=o(n,u);if(!u&&typeof window<`u`){ux(l,r);let t=dx(l);c=t.MeasureLayout,d.visualElement=ax(e,f,l,i,t.ProjectionNode,a)}return(0,B.jsxs)(Ib.Provider,{value:d,children:[c&&d.visualElement?(0,B.jsx)(c,{visualElement:d.visualElement,...l}):null,Yb(e,n,nx(f,d.visualElement,s),f,u,t,a)]})}s.displayName=`motion.${typeof e==`string`?e:`create(${e.displayName??e.name??``})`}`;let c=(0,w.forwardRef)(s);return c[tx]=e,c}function lx({layoutId:e}){let t=(0,w.useContext)(Md).id;return t&&e!==void 0?t+`-`+e:e}function ux(e,t){(0,w.useContext)(Sb).strict}function dx(e){let{drag:t,layout:n}=Eb();if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function fx(e,t){if(typeof Proxy>`u`)return cx;let n=new Map,r=(n,r)=>cx(n,r,e,t);return new Proxy((e,t)=>r(e,t),{get:(i,a)=>a===`create`?r:(n.has(a)||n.set(a,cx(a,void 0,e,t)),n.get(a))})}var px=(e,t)=>t.isSVG??Jb(e)?new jv(t):new xv(t,{allowProjection:e!==w.Fragment}),mx=class extends V_{constructor(e){super(e),e.animationState||=Rv(e)}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();w_(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}},hx=0,gx={animation:{Feature:mx},exit:{Feature:class extends V_{constructor(){super(...arguments),this.id=hx++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;if(e&&n===!1){if(this.isExitComplete){let{initial:e,custom:t}=this.node.getProps();if(typeof e==`string`){let n=Hh(this.node,e,t);if(n){let{transition:e,transitionEnd:t,...r}=n;for(let e in r)this.node.getValue(e)?.jump(r[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive(`exit`,!1);this.isExitComplete=!1;return}let r=this.node.animationState.setActive(`exit`,!e);t&&!e&&r.then(()=>{this.isExitComplete=!0,t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}}};function _x(e){return{point:{x:e.pageX,y:e.pageY}}}var vx=e=>t=>Vg(t)&&e(t,_x(t));function yx(e,t,n,r){return jy(e,t,vx(n),r)}var bx=({current:e})=>e?e.ownerDocument.defaultView:null,xx=(e,t)=>Math.abs(e-t);function Sx(e,t){let n=xx(e.x,t.x),r=xx(e.y,t.y);return Math.sqrt(n**2+r**2)}var Cx=new Set([`auto`,`scroll`]),wx=class{constructor(e,t,{transformPagePoint:n,contextWindow:r=window,dragSnapToOrigin:i=!1,distanceThreshold:a=3,element:o}={}){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=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Tx(this.lastRawMoveEventInfo,this.transformPagePoint));let e=Dx(this.lastMoveEventInfo,this.history),t=this.startEvent!==null,n=Sx(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!n)return;let{point:r}=e,{timestamp:i}=Of;this.history.push({...r,timestamp:i});let{onStart:a,onMove:o}=this.handlers;t||(a&&a(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=Tx(t,this.transformPagePoint),Ef.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let a=Dx(e.type===`pointercancel`?this.lastMoveEventInfo:Tx(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,a),r&&r(e,a)},!Vg(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=a,this.contextWindow=r||window;let s=Tx(_x(e),this.transformPagePoint),{point:c}=s,{timestamp:l}=Of;this.history=[{...c,timestamp:l}];let{onSessionStart:u}=t;u&&u(e,Dx(s,this.history)),this.removeListeners=Kd(yx(this.contextWindow,`pointermove`,this.handlePointerMove),yx(this.contextWindow,`pointerup`,this.handlePointerUp),yx(this.contextWindow,`pointercancel`,this.handlePointerUp)),o&&this.startScrollTracking(o)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(Cx.has(e.overflowX)||Cx.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.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(e){let t=this.scrollPositions.get(e);if(!t)return;let n=e===window,r=n?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},i={x:r.x-t.x,y:r.y-t.y};i.x===0&&i.y===0||(n?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(e,r),Ef.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Df(this.updatePoint)}};function Tx(e,t){return t?{point:t(e.point)}:e}function Ex(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Dx({point:e},t){return{point:e,delta:Ex(e,kx(t)),offset:Ex(e,Ox(t)),velocity:Ax(t,.1)}}function Ox(e){return e[0]}function kx(e){return e[e.length-1]}function Ax(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=kx(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Yd(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&i.timestamp-r.timestamp>Yd(t)*2&&(r=e[1]);let a=Xd(i.timestamp-r.timestamp);if(a===0)return{x:0,y:0};let o={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function jx(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?Dp(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?Dp(n,e,r.max):Math.min(e,n)),e}function Mx(e,t,n){return{min:t===void 0?void 0:e.min+t,max:n===void 0?void 0:e.max+n-(e.max-e.min)}}function Nx(e,{top:t,left:n,bottom:r,right:i}){return{x:Mx(e.x,n,i),y:Mx(e.y,t,r)}}function Px(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 Fx(e,t){return{x:Px(e.x,t.x),y:Px(e.y,t.y)}}function Ix(e,t){let n=.5,r=Zv(e),i=Zv(t);return i>r?n=qd(t.min,t.max-r,e.min):r>i&&(n=qd(e.min,e.max-i,t.min)),Rd(0,1,n)}function Lx(e,t){let n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}var Rx=.35;function zx(e=Rx){return e===!1?e=0:e===!0&&(e=Rx),{x:Bx(e,`left`,`right`),y:Bx(e,`top`,`bottom`)}}function Bx(e,t,n){return{min:Vx(e,t),max:Vx(e,n)}}function Vx(e,t){return typeof e==`number`?e:e[t]||0}var Hx=new WeakMap,Ux=class{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=S_(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:n}={}){let{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;let i=e=>{t&&this.snapToCursor(_x(e).point),this.stopAnimation()},a=(e,t)=>{let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Ig(n),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),yy(e=>{let t=this.getAxisMotionValue(e).get()||0;if(np.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];r&&(t=Zv(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&Ef.update(()=>i(e,t),!1,!0),tg(this.visualElement,`transform`);let{animationState:a}=this.visualElement;a&&a.setActive(`whileDrag`,!0)},o=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:a}=this.getProps();if(!n&&!this.openDragLock)return;let{offset:o}=t;if(r&&this.currentDirection===null){this.currentDirection=qx(o),this.currentDirection!==null&&i&&i(this.currentDirection);return}this.updateAxis(`x`,t.point,o),this.updateAxis(`y`,t.point,o),this.visualElement.render(),a&&Ef.update(()=>a(e,t),!1,!0)},s=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:l}=this.getProps();this.panSession=new wx(e,{onSessionStart:i,onStart:a,onMove:o,onSessionEnd:s,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,distanceThreshold:n,contextWindow:bx(this.visualElement),element:this.visualElement.current})}stop(e,t){let n=e||this.latestPointerEvent,r=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!r||!n)return;let{velocity:a}=r;this.startAnimation(a);let{onDragEnd:o}=this.getProps();o&&Ef.postRender(()=>o(n,r))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive(`whileDrag`,!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!Kx(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),a=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(a=jx(a,this.constraints[e],this.elastic[e])),i.set(a)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;e&&ix(e)?this.constraints||=this.resolveRefConstraints():e&&n?this.constraints=Nx(n.layoutBox,e):this.constraints=!1,this.elastic=zx(t),r!==this.constraints&&!ix(e)&&n&&this.constraints&&!this.hasMutatedConstraints&&yy(e=>{this.constraints!==!1&&this.getAxisMotionValue(e)&&(this.constraints[e]=Lx(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!ix(e))return!1;let n=e.current,{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let i=cv(n,r.root,this.visualElement.getTransformPagePoint()),a=Fx(r.layout.layoutBox,i);if(t){let e=t(U_(a));this.hasMutatedConstraints=!!e,e&&(a=H_(e))}return a}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:o}=this.getProps(),s=this.constraints||{},c=yy(o=>{if(!Kx(o,t,this.currentDirection))return;let c=s&&s[o]||{};(a===!0||a===o)&&(c={min:0,max:0});let l=r?200:1e6,u=r?40:1e7,d={type:`inertia`,velocity:n?e[o]:0,bounceStiffness:l,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...i,...c};return this.startAxisValueAnimation(o,d)});return Promise.all(c).then(o)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return tg(this.visualElement,e),n.start(zh(e,n,0,t,this.visualElement,!1))}stopAnimation(){yy(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps();return n[t]||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){yy(t=>{let{drag:n}=this.getProps();if(!Kx(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:n,max:a}=r.layout.layoutBox[t],o=i.get()||0;i.set(e[t]-Dp(n,a,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!ix(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};yy(e=>{let t=this.getAxisMotionValue(e);if(t&&this.constraints!==!1){let n=t.get();r[e]=Ix({min:n,max:n},this.constraints[e])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},``):`none`,n.root&&n.root.updateScroll(),n.updateLayout(),this.constraints=!1,this.resolveConstraints(),yy(t=>{if(!Kx(t,e,null))return;let n=this.getAxisMotionValue(t),{min:i,max:a}=this.constraints[t];n.set(Dp(i,a,r[t]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;Hx.set(this.visualElement,this);let e=this.visualElement.current,t=yx(e,`pointerdown`,t=>{let{drag:n,dragListener:r=!0}=this.getProps(),i=t.target,a=i!==e&&Gg(i);n&&r&&!a&&this.start(t)}),n,r=()=>{let{dragConstraints:t}=this.getProps();ix(t)&&t.current&&(this.constraints=this.resolveRefConstraints(),n||=Gx(e,t.current,()=>this.scalePositionWithinConstraints()))},{projection:i}=this.visualElement,a=i.addEventListener(`measure`,r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),Ef.read(r);let o=jy(window,`resize`,()=>this.scalePositionWithinConstraints()),s=i.addEventListener(`didUpdate`,(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(yy(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())}));return()=>{o(),t(),a(),s&&s(),n&&n()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:a=Rx,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:a,dragMomentum:o}}};function Wx(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function Gx(e,t,n){let r=p_(e,Wx(n)),i=p_(t,Wx(n));return()=>{r(),i()}}function Kx(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function qx(e,t=10){let n=null;return Math.abs(e.y)>t?n=`y`:Math.abs(e.x)>t&&(n=`x`),n}var Jx=class extends V_{constructor(e){super(e),this.removeGroupControls=Wd,this.removeListeners=Wd,this.controls=new Ux(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Wd}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},Yx=e=>(t,n)=>{e&&Ef.update(()=>e(t,n),!1,!0)},Xx=class extends V_{constructor(){super(...arguments),this.removePointerDownListener=Wd}onPointerDown(e){this.session=new wx(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:bx(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:Yx(e),onStart:Yx(t),onMove:Yx(n),onEnd:(e,t)=>{delete this.session,r&&Ef.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=yx(this.node.current,`pointerdown`,e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}},Zx=!1,Qx=class extends w.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),Zx&&i.root.didUpdate(),i.addEventListener(`animationComplete`,()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Ly.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,{projection:a}=n;return a?(a.isPresent=i,e.layoutDependency!==t&&a.setOptions({...a.options,layoutDependency:t}),Zx=!0,r||e.layoutDependency!==t||t===void 0||e.isPresent!==i?a.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?a.promote():a.relegate()||Ef.postRender(()=>{let e=a.getStack();(!e||!e.members.length)&&this.safeToRemove()})),null):null}componentDidUpdate(){let{visualElement:e,layoutAnchor:t}=this.props,{projection:n}=e;n&&(n.options.layoutAnchor=t,n.root.didUpdate(),Mg.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;Zx=!0,r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}};function $x(e){let[t,n]=xb(),r=(0,w.useContext)(Md);return(0,B.jsx)(Qx,{...e,layoutGroup:r,switchLayoutGroup:(0,w.useContext)(rx),isPresent:t,safeToRemove:n})}var eS={pan:{Feature:Xx},drag:{Feature:Jx,ProjectionNode:yb,MeasureLayout:$x}};function tS(e,t,n){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive(`whileHover`,n===`Start`);let i=r[`onHover`+n];i&&Ef.postRender(()=>i(t,_x(t)))}var nS=class extends V_{mount(){let{current:e}=this.node;e&&(this.unmount=zg(e,(e,t)=>(tS(this.node,t,`Start`),e=>tS(this.node,e,`End`))))}unmount(){}},rS=class extends V_{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(`:focus-visible`)}catch{e=!0}!e||!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=Kd(jy(this.node.current,`focus`,()=>this.onFocus()),jy(this.node.current,`blur`,()=>this.onBlur()))}unmount(){}};function iS(e,t,n){let{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive(`whileTap`,n===`Start`);let i=r[`onTap`+(n===`End`?``:n)];i&&Ef.postRender(()=>i(t,_x(t)))}var aS=class extends V_{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:n}=this.node.props;this.unmount=Qg(e,(e,t)=>(iS(this.node,t,`Start`),(e,{success:t})=>iS(this.node,e,t?`End`:`Cancel`)),{useGlobalTarget:t,stopPropagation:n?.tap===!1})}unmount(){}},oS=new WeakMap,sS=new WeakMap,cS=e=>{let t=oS.get(e.target);t&&t(e)},lS=e=>{e.forEach(cS)};function uS({root:e,...t}){let n=e||document;sS.has(n)||sS.set(n,{});let r=sS.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(lS,{root:e,...t})),r[i]}function dS(e,t,n){let r=uS(t);return oS.set(e,n),r.observe(e),()=>{oS.delete(e),r.unobserve(e)}}var fS={some:0,all:1},pS=class extends V_{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r=`some`,once:i}=e,a={root:t?t.current:void 0,rootMargin:n,threshold:typeof r==`number`?r:fS[r]};this.stopObserver=dS(this.node.current,a,e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive(`whileInView`,t);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),a=t?n:r;a&&a(e)})}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>`u`)return;let{props:e,prevProps:t}=this.node;[`amount`,`margin`,`root`].some(mS(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}};function mS({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}var hS={inView:{Feature:pS},tap:{Feature:aS},focus:{Feature:rS},hover:{Feature:nS}},gS={layout:{ProjectionNode:yb,MeasureLayout:$x}},_S=fx({...gx,...hS,...eS,...gS},px);function vS(e){return typeof window>`u`?!1:e?eh():$m()}var yS=50,bS=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),xS=()=>({time:0,x:bS(),y:bS()}),SS={x:{length:`Width`,position:`Left`},y:{length:`Height`,position:`Top`}};function CS(e,t,n,r){let i=n[t],{length:a,position:o}=SS[t],s=i.current,c=n.time;i.current=Math.abs(e[`scroll${o}`]),i.scrollLength=e[`scroll${a}`]-e[`client${a}`],i.offset.length=0,i.offset[0]=0,i.offset[1]=i.scrollLength,i.progress=qd(0,i.scrollLength,i.current);let l=r-c;i.velocity=l>yS?0:Zd(i.current-s,l)}function wS(e,t,n){CS(e,`x`,t,n),CS(e,`y`,t,n),t.time=n}function TS(e,t){let n={x:0,y:0},r=e;for(;r&&r!==t;)if(jg(r))n.x+=r.offsetLeft,n.y+=r.offsetTop,r=r.offsetParent;else if(r.tagName===`svg`){let e=r.getBoundingClientRect();r=r.parentElement;let t=r.getBoundingClientRect();n.x+=e.left-t.left,n.y+=e.top-t.top}else if(r instanceof SVGGraphicsElement){let{x:e,y:t}=r.getBBox();n.x+=e,n.y+=t;let i=null,a=r.parentNode;for(;!i;)a.tagName===`svg`&&(i=a),a=r.parentNode;r=i}else break;return n}var ES={start:0,center:.5,end:1};function DS(e,t,n=0){let r=0;if(e in ES&&(e=ES[e]),typeof e==`string`){let t=parseFloat(e);e.endsWith(`px`)?r=t:e.endsWith(`%`)?e=t/100:e.endsWith(`vw`)?r=t/100*document.documentElement.clientWidth:e.endsWith(`vh`)?r=t/100*document.documentElement.clientHeight:e=t}return typeof e==`number`&&(r=t*e),n+r}var OS=[0,0];function kS(e,t,n,r){let i=Array.isArray(e)?e:OS,a=0,o=0;return typeof e==`number`?i=[e,e]:typeof e==`string`&&(e=e.trim(),i=e.includes(` `)?e.split(` `):[e,ES[e]?e:`0`]),a=DS(i[0],n,r),o=DS(i[1],t),a-o}var AS={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},jS={x:0,y:0};function MS(e){return`getBBox`in e&&e.tagName!==`svg`?e.getBBox():{width:e.clientWidth,height:e.clientHeight}}function NS(e,t,n){let{offset:r=AS.All}=n,{target:i=e,axis:a=`y`}=n,o=a===`y`?`height`:`width`,s=i===e?jS:TS(i,e),c=i===e?{width:e.scrollWidth,height:e.scrollHeight}:MS(i),l={width:e.clientWidth,height:e.clientHeight};t[a].offset.length=0;let u=!t[a].interpolate,d=r.length;for(let e=0;e<d;e++){let n=kS(r[e],l[o],c[o],s[a]);!u&&n!==t[a].interpolatorOffsets[e]&&(u=!0),t[a].offset[e]=n}u&&(t[a].interpolate=cm(t[a].offset,um(r),{clamp:!1}),t[a].interpolatorOffsets=[...t[a].offset]),t[a].progress=Rd(0,1,t[a].interpolate(t[a].current))}function PS(e,t=e,n){if(n.x.targetOffset=0,n.y.targetOffset=0,t!==e){let r=t;for(;r&&r!==e;)n.x.targetOffset+=r.offsetLeft,n.y.targetOffset+=r.offsetTop,r=r.offsetParent}n.x.targetLength=t===e?t.scrollWidth:t.clientWidth,n.y.targetLength=t===e?t.scrollHeight:t.clientHeight,n.x.containerLength=e.clientWidth,n.y.containerLength=e.clientHeight}function FS(e,t,n,r={}){return{measure:t=>{PS(e,r.target,n),wS(e,n,t),(r.offset||r.target)&&NS(e,n,r)},notify:()=>t(n)}}var IS=new WeakMap,LS=new WeakMap,RS=new WeakMap,zS=new WeakMap,BS=new WeakMap,VS=e=>e===document.scrollingElement?window:e;function HS(e,{container:t=document.scrollingElement,trackContentSize:n=!1,...r}={}){if(!t)return Wd;let i=RS.get(t);i||(i=new Set,RS.set(t,i));let a=FS(t,e,xS(),r);if(i.add(a),!IS.has(t)){let e=()=>{for(let e of i)e.measure(Of.timestamp);Ef.preUpdate(n)},n=()=>{for(let e of i)e.notify()},r=()=>Ef.read(e);IS.set(t,r);let a=VS(t);window.addEventListener(`resize`,r),t!==document.documentElement&&LS.set(t,p_(t,r)),a.addEventListener(`scroll`,r),r()}if(n&&!BS.has(t)){let e=IS.get(t),n={width:t.scrollWidth,height:t.scrollHeight};zS.set(t,n);let r=Ef.read(()=>{let r=t.scrollWidth,i=t.scrollHeight;(n.width!==r||n.height!==i)&&(e(),n.width=r,n.height=i)},!0);BS.set(t,r)}let o=IS.get(t);return Ef.read(o,!1,!0),()=>{Df(o);let e=RS.get(t);if(!e||(e.delete(a),e.size))return;let n=IS.get(t);IS.delete(t),n&&(VS(t).removeEventListener(`scroll`,n),LS.get(t)?.(),window.removeEventListener(`resize`,n));let r=BS.get(t);r&&(Df(r),BS.delete(t)),zS.delete(t)}}var US=[[AS.Enter,`entry`],[AS.Exit,`exit`],[AS.Any,`cover`],[AS.All,`contain`]],WS={start:0,end:1};function GS(e){let t=e.trim().split(/\s+/);if(t.length!==2)return;let n=WS[t[0]],r=WS[t[1]];if(!(n===void 0||r===void 0))return[n,r]}function KS(e){if(e.length!==2)return;let t=[];for(let n of e)if(Array.isArray(n))t.push(n);else if(typeof n==`string`){let e=GS(n);if(!e)return;t.push(e)}else return;return t}function qS(e,t){let n=KS(e);if(!n)return!1;for(let e=0;e<2;e++){let r=n[e],i=t[e];if(r[0]!==i[0]||r[1]!==i[1])return!1}return!0}function JS(e){if(!e)return{rangeStart:`contain 0%`,rangeEnd:`contain 100%`};for(let[t,n]of US)if(qS(e,t))return{rangeStart:`${n} 0%`,rangeEnd:`${n} 100%`}}var YS=new Map;function XS(e){let t={value:0};return{currentTime:t,cancel:HS(n=>{t.value=n[e.axis].progress*100},e)}}function ZS({source:e,container:t,...n}){let{axis:r}=n;e&&(t=e);let i=YS.get(t);i||(i=new Map,YS.set(t,i));let a=n.target??`self`,o=i.get(a);o||(o={},i.set(a,o));let s=r+(n.offset??[]).join(`,`);return o[s]||(n.target&&vS(n.target)?JS(n.offset)?o[s]=new ViewTimeline({subject:n.target,axis:r}):o[s]=XS({container:t,...n}):vS()?o[s]=new ScrollTimeline({source:t,axis:r}):o[s]=XS({container:t,...n})),o[s]}function QS(e,t){let n=ZS(t),r=t.target?JS(t.offset):void 0,i=t.target?vS(t.target)&&!!r:vS();return e.attachTimeline({timeline:i?n:void 0,...r&&i&&{rangeStart:r.rangeStart,rangeEnd:r.rangeEnd},observe:e=>(e.pause(),m_(t=>{e.time=e.iterationDuration*t},n))})}function $S(e){return e.length===2}function eC(e,t){return $S(e)?HS(n=>{e(n[t.axis].progress,n)},t):m_(e,ZS(t))}function tC(e,{axis:t=`y`,container:n=document.scrollingElement,...r}={}){if(!n)return Wd;let i={axis:t,container:n,...r};return typeof e==`function`?eC(e,i):QS(e,i)}var nC=()=>({scrollX:Jh(0),scrollY:Jh(0),scrollXProgress:Jh(0),scrollYProgress:Jh(0)}),rC=e=>e?!e.current:!1;function iC(e,t,n,r){return{factory:i=>tC(i,{...t,axis:e,container:n?.current||void 0,target:r?.current||void 0}),times:[0,1],keyframes:[0,1],ease:e=>e,duration:1}}function aC(e,t){return typeof window>`u`?!1:e?eh()&&!!JS(t):$m()}function oC({container:e,target:t,...n}={}){let r=Nd(nC);aC(t,n.offset)&&(r.scrollXProgress.accelerate=iC(`x`,n,e,t),r.scrollYProgress.accelerate=iC(`y`,n,e,t));let i=(0,w.useRef)(null),a=(0,w.useRef)(!1),o=(0,w.useCallback)(()=>(i.current=tC((e,{x:t,y:n})=>{r.scrollX.set(t.current),r.scrollXProgress.set(t.progress),r.scrollY.set(n.current),r.scrollYProgress.set(n.progress)},{...n,container:e?.current||void 0,target:t?.current||void 0}),()=>{i.current?.()}),[e,t,JSON.stringify(n.offset)]);return Pd(()=>{if(a.current=!1,rC(e)||rC(t)){a.current=!0;return}else return o()},[o]),(0,w.useEffect)(()=>{if(a.current)return rC(e),rC(t),o()},[o]),r}function sC(e){let t=Nd(()=>Jh(e)),{isStatic:n}=(0,w.useContext)(bb);if(n){let[,n]=(0,w.useState)(e);(0,w.useEffect)(()=>t.on(`change`,n),[])}return t}function cC(e,t){let n=sC(t()),r=()=>n.set(t());return r(),Pd(()=>{let t=()=>Ef.preRender(r,!1,!0),n=e.map(e=>e.on(`change`,t));return()=>{n.forEach(e=>e()),Df(r)}}),n}function lC(e){Kh.current=[],e();let t=cC(Kh.current,e);return Kh.current=void 0,t}function uC(e,t,n,r){if(typeof e==`function`)return lC(e);if(n!==void 0&&!Array.isArray(n)&&typeof t!=`function`)return fC(e,t,n,r);let i=typeof t==`function`?t:g_(t,n,r),a=Array.isArray(e)?dC(e,i):dC([e],([e])=>i(e)),o=Array.isArray(e)?void 0:e.accelerate;return o&&!o.isTransformed&&typeof t!=`function`&&Array.isArray(n)&&r?.clamp!==!1&&(a.accelerate={...o,times:t,keyframes:n,isTransformed:!0,...r?.ease?{ease:r.ease}:{}}),a}function dC(e,t){let n=Nd(()=>[]);return cC(e,()=>{n.length=0;let r=e.length;for(let t=0;t<r;t++)n[t]=e[t].get();return t(n)})}function fC(e,t,n,r){let i=Nd(()=>Object.keys(n)),a=Nd(()=>({}));for(let o of i)a[o]=uC(e,t,n[o],r);return a}var pC={"/company":{label:`Company`},"/UTM":{label:`UTM / UATM`},"/business":{label:`Business`},"/solution":{label:`Solution`},"/contact":{label:`Contact Us`}};function mC({children:e,delay:t}){return(0,B.jsx)(`span`,{className:`sh4-title-line`,children:(0,B.jsx)(_S.span,{className:`sh4-title-line-inner`,initial:{y:`105%`},animate:{y:`0%`},transition:{duration:1.1,delay:t,ease:[.16,1,.3,1]},children:e})})}function hC({title:e,desc:t,navItems:n,rightSlot:r}){let{pathname:i}=tt(),[a,o]=(0,w.useState)(!1),s=(0,w.useRef)(null);(0,w.useEffect)(()=>{let e=()=>{o(window.scrollY>80)};return window.addEventListener(`scroll`,e,{passive:!0}),()=>window.removeEventListener(`scroll`,e)},[]);let c=typeof e==`string`?e.split(` |