PageSourceSearch

https://www.smarterapps.ai/_runtimes/sites-runtime.9340fc2108c111b…7887a049537a6febfddd1f60802b3b3370c33db4.js

js smarterapps.ai collected 2026-10-05 15:05:45 UTC 555,155 bytes, 538 lines download raw bytes

vendor: 9,285 bytes, line 1
1var sL=Object.create;var Qh=Object.defineProperty;var aL=Object.getOwnPropertyDescriptor;var lL=Object.getOwnPropertyNames;var uL=Object.getPrototypeOf,cL=Object.prototype.hasOwnProperty;var fL=(e,t,r)=>t in e?Qh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var dL=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')});var fr=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var mL=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of lL(t))!cL.call(e,o)&&o!==r&&Qh(e,o,{get:()=>t[o],enumerable:!(n=aL(t,o))||n.enumerable});return e};var R=(e,t,r)=>(r=e!=null?sL(uL(e)):{},mL(t||!e||!e.__esModule?Qh(r,"default",{value:e,enumerable:!0}):r,e));var dr=(e,t,r)=>(fL(e,typeof t!="symbol"?t+"":t,r),r);var W0=fr(ie=>{"use strict";var tu=Symbol.for("react.element"),pL=Symbol.for("react.portal"),hL=Symbol.for("react.fragment"),gL=Symbol.for("react.strict_mode"),yL=Symbol.for("react.profiler"),vL=Symbol.for("react.provider"),SL=Symbol.for("react.context"),xL=Symbol.for("react.forward_ref"),TL=Symbol.for("react.suspense"),EL=Symbol.for("react.memo"),wL=Symbol.for("react.lazy"),O0=Symbol.iterator;function CL(e){return e===null||typeof e!="object"?null:(e=O0&&e[O0]||e["@@iterator"],typeof e=="function"?e:null)}var _0={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},M0=Object.assign,D0={};function Us(e,t,r){this.props=e,this.context=t,this.refs=D0,this.updater=r||_0}Us.prototype.isReactComponent={};Us.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Us.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function B0(){}B0.prototype=Us.prototype;function Jh(e,t,r){this.props=e,this.context=t,this.refs=D0,this.updater=r||_0}var eg=Jh.prototype=new B0;eg.constructor=Jh;M0(eg,Us.prototype);eg.isPureReactComponent=!0;var L0=Array.isArray,F0=Object.prototype.hasOwnProperty,tg={current:null},V0={key:!0,ref:!0,__self:!0,__source:!0};function z0(e,t,r){var n,o={},i=null,s=null;if(t!=null)for(n in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)F0.call(t,n)&&!V0.hasOwnProperty(n)&&(o[n]=t[n]);var a=arguments.length-2;if(a===1)o.children=r;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];o.children=l}if(e&&e.defaultProps)for(n in a=e.defaultProps,a)o[n]===void 0&&(o[n]=a[n]);return{$$typeof:tu,type:e,key:i,ref:s,props:o,_owner:tg.current}}function IL(e,t){return{$$typeof:tu,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function rg(e){return typeof e=="object"&&e!==null&&e.$$typeof===tu}function AL(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var k0=/\/+/g;function Zh(e,t){return typeof e=="object"&&e!==null&&e.key!=null?AL(""+e.key):t.toString(36)}function Jc(e,t,r,n,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case tu:case pL:s=!0}}if(s)return s=e,o=o(s),e=n===""?"."+Zh(s,0):n,L0(o)?(r="",e!=null&&(r=e.replace(k0,"$&/")+"/"),Jc(o,t,r,"",function(u){return u})):o!=null&&(rg(o)&&(o=IL(o,r+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(k0,"$&/")+"/")+e)),t.push(o)),1;if(s=0,n=n===""?".":n+":",L0(e))for(var a=0;a<e.length;a++){i=e[a];var l=n+Zh(i,a);s+=Jc(i,t,r,l,o)}else if(l=CL(e),typeof l=="function")for(e=l.call(e),a=0;!(i=e.next()).done;)i=i.value,l=n+Zh(i,a++),s+=Jc(i,t,r,l,o);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function Zc(e,t,r){if(e==null)return e;var n=[],o=0;return Jc(e,n,"","",function(i){return t.call(r,i,o++)}),n}function RL(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Mt={current:null},ef={transition:null},NL={ReactCurrentDispatcher:Mt,ReactCurrentBatchConfig:ef,ReactCurrentOwner:tg};ie.Children={map:Zc,forEach:function(e,t,r){Zc(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return Zc(e,function(){t++}),t},toArray:function(e){return Zc(e,function(t){return t})||[]},only:function(e){if(!rg(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};ie.Component=Us;ie.Fragment=hL;ie.Profiler=yL;ie.PureComponent=Jh;ie.StrictMode=gL;ie.Suspense=TL;ie.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=NL;ie.cloneElement=function(e,t,r){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var n=M0({},e.props),o=e.key,i=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,s=tg.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)F0.call(t,l)&&!V0.hasOwnProperty(l)&&(n[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)n.children=r;else if(1<l){a=Array(l);for(var u=0;u<l;u++)a[u]=arguments[u+2];n.children=a}return{$$typeof:tu,type:e.type,key:o,ref:i,props:n,_owner:s}};ie.createContext=function(e){return e={$$typeof:SL,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:vL,_context:e},e.Consumer=e};ie.createElement=z0;ie.createFactory=function(e){var t=z0.bind(null,e);return t.type=e,t};ie.createRef=function(){return{current:null}};ie.forwardRef=function(e){return{$$typeof:xL,render:e}};ie.isValidElement=rg;ie.lazy=function(e){return{$$typeof:wL,_payload:{_status:-1,_result:e},_init:RL}};ie.memo=function(e,t){return{$$typeof:EL,type:e,compare:t===void 0?null:t}};ie.startTransition=function(e){var t=ef.transition;ef.transition={};try{e()}finally{ef.transition=t}};ie.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")};ie.useCallback=function(e,t){return Mt.current.useCallback(e,t)};ie.useContext=function(e){return Mt.current.useContext(e)};ie.useDebugValue=function(){};ie.useDeferredValue=function(e){return Mt.current.useDeferredValue(e)};ie.useEffect=function(e,t){return Mt.current.useEffect(e,t)};ie.useId=function(){return Mt.current.useId()};ie.useImperativeHandle=function(e,t,r){return Mt.current.useImperativeHandle(e,t,r)};ie.useInsertionEffect=function(e,t){return Mt.current.useInsertionEffect(e,t)};ie.useLayoutEffect=function(e,t){return Mt.current.useLayoutEffect(e,t)};ie.useMemo=function(e,t){return Mt.current.useMemo(e,t)};ie.useReducer=function(e,t,r){return Mt.current.useReducer(e,t,r)};ie.useRef=function(e){return Mt.current.useRef(e)};ie.useState=function(e){return Mt.current.useState(e)};ie.useSyncExternalStore=function(e,t,r){return Mt.current.useSyncExternalStore(e,t,r)};ie.useTransition=function(){return Mt.current.useTransition()};ie.version="18.2.0"});var O=fr((SW,H0)=>{"use strict";H0.exports=W0()});var Z0=fr(we=>{"use strict";function sg(e,t){var r=e.length;e.push(t);e:for(;0<r;){var n=r-1>>>1,o=e[n];if(0<tf(o,t))e[n]=t,e[r]=o,r=n;else break e}}function Gr(e){return e.length===0?null:e[0]}function nf(e){if(e.length===0)return null;var t=e[0],r=e.pop();if(r!==t){e[0]=r;e:for(var n=0,o=e.length,i=o>>>1;n<i;){var s=2*(n+1)-1,a=e[s],l=s+1,u=e[l];if(0>tf(a,r))l<o&&0>tf(u,a)?(e[n]=u,e[l]=r,n=l):(e[n]=a,e[s]=r,n=s);else if(l<o&&0>tf(u,r))e[n]=u,e[l]=r,n=l;else break e}}return t}function tf(e,t){var r=e.sortIndex-t.sortIndex;return r!==0?r:e.id-t.id}typeof performance=="object"&&typeof performance.now=="function"?(U0=performance,we.unstable_now=function(){return U0.now()}):(ng=Date,j0=ng.now(),we.unstable_now=function(){return ng.now()-j0});var U0,ng,j0,dn=[],Fo=[],bL=1,Rr=null,Tt=3,of=!1,Xi=!1,nu=!1,K0=typeof setTimeout=="function"?setTimeout:null,Y0=typeof clearTimeout=="function"?clearTimeout:null,G0=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function ag(e){for(var t=Gr(Fo);t!==null;){if(t.callback===null)nf(Fo);else if(t.startTime<=e)nf(Fo),t.sortIndex=t.expirationTime,sg(dn,t);else break;t=Gr(Fo)}}function lg(e){if(nu=!1,ag(e),!Xi)if(Gr(dn)!==null)Xi=!0,cg(ug);else{var t=Gr(Fo);t!==null&&fg(lg,t.startTime-e)}}function ug(e,t){Xi=!1,nu&&(nu=!1,Y0(ou),ou=-1),of=!0;var r=Tt;try{for(ag(t),Rr=Gr(dn);Rr!==null&&(!(Rr.expirationTime>t)||e&&!Q0());){var n=Rr.callback;if(typeof n=="function"){Rr.callback=null,Tt=Rr.priorityLevel;var o=n(Rr.expirationTime<=t);t=we.unstable_now(),typeof o=="function"?Rr.callback=o:Rr===Gr(dn)&&nf(
vendor: 4,244 bytes, line 1
1dn),ag(t)}else nf(dn);Rr=Gr(dn)}if(Rr!==null)var i=!0;else{var s=Gr(Fo);s!==null&&fg(lg,s.startTime-t),i=!1}return i}finally{Rr=null,Tt=r,of=!1}}var sf=!1,rf=null,ou=-1,X0=5,q0=-1;function Q0(){return!(we.unstable_now()-q0<X0)}function og(){if(rf!==null){var e=we.unstable_now();q0=e;var t=!0;try{t=rf(!0,e)}finally{t?ru():(sf=!1,rf=null)}}else sf=!1}var ru;typeof G0=="function"?ru=function(){G0(og)}:typeof MessageChannel<"u"?(ig=new MessageChannel,$0=ig.port2,ig.port1.onmessage=og,ru=function(){$0.postMessage(null)}):ru=function(){K0(og,0)};var ig,$0;function cg(e){rf=e,sf||(sf=!0,ru())}function fg(e,t){ou=K0(function(){e(we.unstable_now())},t)}we.unstable_IdlePriority=5;we.unstable_ImmediatePriority=1;we.unstable_LowPriority=4;we.unstable_NormalPriority=3;we.unstable_Profiling=null;we.unstable_UserBlockingPriority=2;we.unstable_cancelCallback=function(e){e.callback=null};we.unstable_continueExecution=function(){Xi||of||(Xi=!0,cg(ug))};we.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):X0=0<e?Math.floor(1e3/e):5};we.unstable_getCurrentPriorityLevel=function(){return Tt};we.unstable_getFirstCallbackNode=function(){return Gr(dn)};we.unstable_next=function(e){switch(Tt){case 1:case 2:case 3:var t=3;break;default:t=Tt}var r=Tt;Tt=t;try{return e()}finally{Tt=r}};we.unstable_pauseExecution=function(){};we.unstable_requestPaint=function(){};we.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=Tt;Tt=e;try{return t()}finally{Tt=r}};we.unstable_scheduleCallback=function(e,t,r){var n=we.unstable_now();switch(typeof r=="object"&&r!==null?(r=r.delay,r=typeof r=="number"&&0<r?n+r:n):r=n,e){case 1:var o=-1;break;case 2:o=250;break;case 5:o=1073741823;break;case 4:o=1e4;break;default:o=5e3}return o=r+o,e={id:bL++,callback:t,priorityLevel:e,startTime:r,expirationTime:o,sortIndex:-1},r>n?(e.sortIndex=r,sg(Fo,e),Gr(dn)===null&&e===Gr(Fo)&&(nu?(Y0(ou),ou=-1):nu=!0,fg(lg,r-n))):(e.sortIndex=o,sg(dn,e),Xi||of||(Xi=!0,cg(ug))),e};we.unstable_shouldYield=Q0;we.unstable_wrapCallback=function(e){var t=Tt;return function(){var r=Tt;Tt=t;try{return e.apply(this,arguments)}finally{Tt=r}}}});var eT=fr((TW,J0)=>{"use strict";J0.exports=Z0()});var sC=fr(vr=>{"use strict";var aE=O(),gr=eT();function L(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var lE=new Set,Au={};function ls(e,t){ca(e,t),ca(e+"Capture",t)}function ca(e,t){for(Au[e]=t,e=0;e<t.length;e++)lE.add(t[e])}var Zn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),_g=Object.prototype.hasOwnProperty,PL=/^[: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]*$/,tT={},rT={};function OL(e){return _g.call(rT,e)?!0:_g.call(tT,e)?!1:PL.test(e)?rT[e]=!0:(tT[e]=!0,!1)}function LL(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function kL(e,t,r,n){if(t===null||typeof t>"u"||LL(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ft(e,t,r,n,o,i,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var St={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){
vendor: 4,838 bytes, lines 1-2
1St[e]=new Ft(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];St[t]=new Ft(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){St[e]=new Ft(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){St[e]=new Ft(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){St[e]=new Ft(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){St[e]=new Ft(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){St[e]=new Ft(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){St[e]=new Ft(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){St[e]=new Ft(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ay=/[\-:]([a-z])/g;function Ry(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Ay,Ry);St[t]=new Ft(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Ay,Ry);St[t]=new Ft(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Ay,Ry);St[t]=new Ft(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){St[e]=new Ft(e,1,!1,e.toLowerCase(),null,!1,!1)});St.xlinkHref=new Ft("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){St[e]=new Ft(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ny(e,t,r,n){var o=St.hasOwnProperty(t)?St[t]:null;(o!==null?o.type!==0:n||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(kL(t,r,o,n)&&(r=null),n||o===null?OL(t)&&(r===null?e.removeAttribute(t):e.setAttribute(t,""+r)):o.mustUseProperty?e[o.propertyName]=r===null?o.type===3?!1:"":r:(t=o.attributeName,n=o.attributeNamespace,r===null?e.removeAttribute(t):(o=o.type,r=o===3||o===4&&r===!0?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}var ro=aE.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,af=Symbol.for("react.element"),$s=Symbol.for("react.portal"),Ks=Symbol.for("react.fragment"),by=Symbol.for("react.strict_mode"),Mg=Symbol.for("react.profiler"),uE=Symbol.for("react.provider"),cE=Symbol.for("react.context"),Py=Symbol.for("react.forward_ref"),Dg=Symbol.for("react.suspense"),Bg=Symbol.for("react.suspense_list"),Oy=Symbol.for("react.memo"),zo=Symbol.for("react.lazy");Symbol.for("react.scope");Symbol.for("react.debug_trace_mode");var fE=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden");Symbol.for("react.cache");Symbol.for("react.tracing_marker");var nT=Symbol.iterator;function iu(e){return e===null||typeof e!="object"?null:(e=nT&&e[nT]||e["@@iterator"],typeof e=="function"?e:null)}var Ve=Object.assign,dg;function mu(e){if(dg===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);dg=t&&t[1]||""}return`
2`+dg+e}var mg=!1;function pg(e,t){if(!e||mg)return"";mg=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var n=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){n=u}e.call(t.prototype)}else{try{throw Error()}catch(u){n=u}e()}}
vendor: 6,732 bytes, lines 2-5
2catch(u){if(u&&n&&typeof u.stack=="string"){for(var o=u.stack.split(`
3`),i=n.stack.split(`
4`),s=o.length-1,a=i.length-1;1<=s&&0<=a&&o[s]!==i[a];)a--;for(;1<=s&&0<=a;s--,a--)if(o[s]!==i[a]){if(s!==1||a!==1)do if(s--,a--,0>a||o[s]!==i[a]){var l=`
5`+o[s].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{mg=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?mu(e):""}function _L(e){switch(e.tag){case 5:return mu(e.type);case 16:return mu("Lazy");case 13:return mu("Suspense");case 19:return mu("SuspenseList");case 0:case 2:case 15:return e=pg(e.type,!1),e;case 11:return e=pg(e.type.render,!1),e;case 1:return e=pg(e.type,!0),e;default:return""}}function Fg(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ks:return"Fragment";case $s:return"Portal";case Mg:return"Profiler";case by:return"StrictMode";case Dg:return"Suspense";case Bg:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case cE:return(e.displayName||"Context")+".Consumer";case uE:return(e._context.displayName||"Context")+".Provider";case Py:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Oy:return t=e.displayName||null,t!==null?t:Fg(e.type)||"Memo";case zo:t=e._payload,e=e._init;try{return Fg(e(t))}catch{}}return null}function ML(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Fg(t);case 8:return t===by?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ei(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function dE(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function DL(e){var t=dE(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var o=r.get,i=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){n=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(s){n=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function lf(e){e._valueTracker||(e._valueTracker=DL(e))}function mE(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=dE(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function Df(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Vg(e,t){var r=t.checked;return Ve({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function oT(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=ei(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function pE(e,t){t=t.checked,t!=null&&Ny(e,"checked",t,!1)}function zg(e,t){pE(e,t);var r=ei(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Wg(e,t.type,r):t.hasOwnProperty("defaultValue")&&Wg(e,t.type,ei(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function iT(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function Wg(e,t,r){(t!=="number"||Df(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var pu=Array.isArray;function oa(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o<r.length;o++)t["$"+r[o]]=!0;for(r=0;r<e.length;r++)o=t.hasOwnProperty("$"+e[r].value),e[r].selected!==o&&(e[r].selected=o),o&&n&&(e[r].defaultSelected=!0)}else{for(r=""+ei(r),t=null,o=0;o<e.length;o++){if(e[o].value===r){e[o].selected=!0,n&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Hg(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(L(91));return Ve({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function sT(e,t){var r=t.value;if(r==null){if(r=t.children,t=t.defaultValue,r!=null){if(t!=null)throw Error(L(92));if(pu(r)){if(1<r.length)throw Error(L(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:ei(r)}}function hE(e,t){var r=ei(t.value),n=ei(t.defaultValue);r!=null&&(r=""+r,r!==e.value&&(e.value=r),t.defaultValue==null&&e.defaultValue!==r&&(e.defaultValue=r)),n!=null&&(e.defaultValue=""+n)}function aT(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function gE(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Ug(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?gE(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var uf,yE=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,r,n,o){MSApp.execUnsafeLocalFunction(function(){return e(t,r,n,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(uf=uf||document.createElement("div"),uf.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=uf.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ru(e,t){if(t){var r=e.firstChild;
vendor: 7,361 bytes, line 5
5if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var yu={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},BL=["Webkit","ms","Moz","O"];Object.keys(yu).forEach(function(e){BL.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),yu[t]=yu[e]})});function vE(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||yu.hasOwnProperty(e)&&yu[e]?(""+t).trim():t+"px"}function SE(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,o=vE(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}var FL=Ve({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function jg(e,t){if(t){if(FL[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(L(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(L(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(L(61))}if(t.style!=null&&typeof t.style!="object")throw Error(L(62))}}function Gg(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var $g=null;function Ly(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Kg=null,ia=null,sa=null;function lT(e){if(e=Gu(e)){if(typeof Kg!="function")throw Error(L(280));var t=e.stateNode;t&&(t=cd(t),Kg(e.stateNode,e.type,t))}}function xE(e){ia?sa?sa.push(e):sa=[e]:ia=e}function TE(){if(ia){var e=ia,t=sa;if(sa=ia=null,lT(e),t)for(e=0;e<t.length;e++)lT(t[e])}}function EE(e,t){return e(t)}function wE(){}var hg=!1;function CE(e,t,r){if(hg)return e(t,r);hg=!0;try{return EE(e,t,r)}finally{hg=!1,(ia!==null||sa!==null)&&(wE(),TE())}}function Nu(e,t){var r=e.stateNode;if(r===null)return null;var n=cd(r);if(n===null)return null;r=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(e=e.type,n=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!n;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(L(231,t,typeof r));return r}var Yg=!1;if(Zn)try{js={},Object.defineProperty(js,"passive",{get:function(){Yg=!0}}),window.addEventListener("test",js,js),window.removeEventListener("test",js,js)}catch{Yg=!1}var js;function VL(e,t,r,n,o,i,s,a,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(r,u)}catch(c){this.onError(c)}}var vu=!1,Bf=null,Ff=!1,Xg=null,zL={onError:function(e){vu=!0,Bf=e}};function WL(e,t,r,n,o,i,s,a,l){vu=!1,Bf=null,VL.apply(zL,arguments)}function HL(e,t,r,n,o,i,s,a,l){if(WL.apply(this,arguments),vu){if(vu){var u=Bf;vu=!1,Bf=null}else throw Error(L(198));Ff||(Ff=!0,Xg=u)}}function us(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function IE(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function uT(e){if(us(e)!==e)throw Error(L(188))}function UL(e){var t=e.alternate;if(!t){if(t=us(e),t===null)throw Error(L(188));return t!==e?null:e}for(var r=e,n=t;;){var o=r.return;if(o===null)break;var i=o.alternate;if(i===null){if(n=o.return,n!==null){r=n;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===r)return uT(o),e;if(i===n)return uT(o),t;i=i.sibling}throw Error(L(188))}if(r.return!==n.return)r=o,n=i;else{for(var s=!1,a=o.child;a;){if(a===r){s=!0,r=o,n=i;break}if(a===n){s=!0,n=o,r=i;break}a=a.sibling}if(!s){for(a=i.child;a;){if(a===r){s=!0,r=i,n=o;break}if(a===n){s=!0,n=i,r=o;break}a=a.sibling}if(!s)throw Error(L(189))}}if(r.alternate!==n)throw Error(L(190))}if(r.tag!==3)throw Error(L(188));return r.stateNode.current===r?e:t}function AE(e){return e=UL(e),e!==null?RE(e):null}function RE(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=RE(e);if(t!==null)return t;e=e.sibling}return null}var NE=gr.unstable_scheduleCallback,cT=gr.unstable_cancelCallback,jL=gr.unstable_shouldYield,GL=gr.unstable_requestPaint,$e=gr.unstable_now,$L=gr.unstable_getCurrentPriorityLevel,ky=gr.unstable_ImmediatePriority,bE=gr.unstable_UserBlockingPriority,Vf=gr.unstable_NormalPriority,KL=gr.unstable_LowPriority,PE=gr.unstable_IdlePriority,sd=null,gn=null;function YL(e){if(gn&&typeof gn.onCommitFiberRoot=="function")try{gn.onCommitFiberRoot(sd,e,void 0,(e.current.flags&128)===128)}catch{}}var qr=Math.clz32?Math.clz32:QL,XL=Math.log,qL=Math.LN2;function QL(e){return e>>>=0,e===0?32:31-(XL(e)/qL|0)|0}var cf=64,ff=4194304;function hu(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function zf(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,o=e.suspendedLanes,i=e.pingedLanes,s=r&268435455;if(s!==0){var a=s&~o;a!==0?n=hu(a):(i&=s,i!==0&&(n=hu(i)))}else s=r&~o,s!==0?n=hu(s):i!==0&&(n=hu(i));if(n===0)return 0;if(t!==0&&t!==n&&!(t&o)&&(o=n&-n,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0<t;)r=31-qr(t),o=1<<r,n|=e[r],t&=~o;return n}function ZL(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function JL(e,t){for(var r=e.suspendedLanes,n=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var s=31-qr(i),a=1<<s,l=o[s];l===-1?(!(a&r)||a&n)&&(o[s]=ZL(a,t)):l<=t&&(e.expiredLanes|=a),i&=~a}}function qg(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function OE(){var e=cf;return cf<<=1,!(cf&4194240)&&(cf=64),e}function gg(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}
vendor: 4,087 bytes, line 5
5function Uu(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-qr(t),e[t]=r}function ek(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0<r;){var o=31-qr(r),i=1<<o;t[o]=0,n[o]=-1,e[o]=-1,r&=~i}}function _y(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var n=31-qr(r),o=1<<n;o&t|e[n]&t&&(e[n]|=t),r&=~o}}var ye=0;function LE(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var kE,My,_E,ME,DE,Qg=!1,df=[],$o=null,Ko=null,Yo=null,bu=new Map,Pu=new Map,Ho=[],tk="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function fT(e,t){switch(e){case"focusin":case"focusout":$o=null;break;case"dragenter":case"dragleave":Ko=null;break;case"mouseover":case"mouseout":Yo=null;break;case"pointerover":case"pointerout":bu.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Pu.delete(t.pointerId)}}function su(e,t,r,n,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:r,eventSystemFlags:n,nativeEvent:i,targetContainers:[o]},t!==null&&(t=Gu(t),t!==null&&My(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function rk(e,t,r,n,o){switch(t){case"focusin":return $o=su($o,e,t,r,n,o),!0;case"dragenter":return Ko=su(Ko,e,t,r,n,o),!0;case"mouseover":return Yo=su(Yo,e,t,r,n,o),!0;case"pointerover":var i=o.pointerId;return bu.set(i,su(bu.get(i)||null,e,t,r,n,o)),!0;case"gotpointercapture":return i=o.pointerId,Pu.set(i,su(Pu.get(i)||null,e,t,r,n,o)),!0}return!1}function BE(e){var t=Zi(e.target);if(t!==null){var r=us(t);if(r!==null){if(t=r.tag,t===13){if(t=IE(r),t!==null){e.blockedOn=t,DE(e.priority,function(){_E(r)});return}}else if(t===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Af(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=Zg(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r===null){r=e.nativeEvent;var n=new r.constructor(r.type,r);$g=n,r.target.dispatchEvent(n),$g=null}else return t=Gu(r),t!==null&&My(t),e.blockedOn=r,!1;t.shift()}return!0}function dT(e,t,r){Af(e)&&r.delete(t)}function nk(){Qg=!1,$o!==null&&Af($o)&&($o=null),Ko!==null&&Af(Ko)&&(Ko=null),Yo!==null&&Af(Yo)&&(Yo=null),bu.forEach(dT),Pu.forEach(dT)}function au(e,t){e.blockedOn===t&&(e.blockedOn=null,Qg||(Qg=!0,gr.unstable_scheduleCallback(gr.unstable_NormalPriority,nk)))}function Ou(e){function t(o){return au(o,e)}if(0<df.length){au(df[0],e);for(var r=1;r<df.length;r++){var n=df[r];n.blockedOn===e&&(n.blockedOn=null)}}for($o!==null&&au($o,e),Ko!==null&&au(Ko,e),Yo!==null&&au(Yo,e),bu.forEach(t),Pu.forEach(t),r=0;r<Ho.length;r++)n=Ho[r],n.blockedOn===e&&(n.blockedOn=null);for(;0<Ho.length&&(r=Ho[0],r.blockedOn===null);)BE(r),r.blockedOn===null&&Ho.shift()}var aa=ro.ReactCurrentBatchConfig,Wf=!0;function ok(e,t,r,n){var o=ye,i=aa.transition;aa.transition=null;try{ye=1,Dy(e,t,r,n)}finally{ye=o,aa.transition=i}}function ik(e,t,r,n){var o=ye,i=aa.transition;aa.transition=null;try{ye=4,Dy(e,t,r,n)}finally{ye=o,aa.transition=i}}function Dy(e,t,r,n){if(Wf){var o=Zg(e,t,r,n);if(o===null)wg(e,t,n,Hf,r),fT(e,n);else if(rk(o,e,t,r,n))n.stopPropagation();else if(fT(e,n),t&4&&-1<tk.indexOf(e)){for(;o!==null;){var i=Gu(o);if(i!==null&&kE(i),i=Zg(e,t,r,n),i===null&&wg(e,t,n,Hf,r),i===o)break;o=i}o!==null&&n.stopPropagation()}else wg(e,t,n,null,r)}}var Hf=null;function Zg(e,t,r,n){if(Hf=null,e=Ly(n),e=Zi(e),e!==null)if(t=us(e),t===null)e=null;else if(r=t.tag,r===13){if(e=IE(t),e!==null)return e;e=null}else if(r===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Hf=e,null}
vendor: 4,373 bytes, line 5
5function FE(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch($L()){case ky:return 1;case bE:return 4;case Vf:case KL:return 16;case PE:return 536870912;default:return 16}default:return 16}}var jo=null,By=null,Rf=null;function VE(){if(Rf)return Rf;var e,t=By,r=t.length,n,o="value"in jo?jo.value:jo.textContent,i=o.length;for(e=0;e<r&&t[e]===o[e];e++);var s=r-e;for(n=1;n<=s&&t[r-n]===o[i-n];n++);return Rf=o.slice(e,1<n?1-n:void 0)}function Nf(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 mf(){return!0}function mT(){return!1}function yr(e){function t(r,n,o,i,s){this._reactName=r,this._targetInst=o,this.type=n,this.nativeEvent=i,this.target=s,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(r=e[a],this[a]=r?r(i):i[a]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?mf:mT,this.isPropagationStopped=mT,this}return Ve(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=mf)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=mf)},persist:function(){},isPersistent:mf}),t}var ya={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Fy=yr(ya),ju=Ve({},ya,{view:0,detail:0}),sk=yr(ju),yg,vg,lu,ad=Ve({},ju,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Vy,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!==lu&&(lu&&e.type==="mousemove"?(yg=e.screenX-lu.screenX,vg=e.screenY-lu.screenY):vg=yg=0,lu=e),yg)},movementY:function(e){return"movementY"in e?e.movementY:vg}}),pT=yr(ad),ak=Ve({},ad,{dataTransfer:0}),lk=yr(ak),uk=Ve({},ju,{relatedTarget:0}),Sg=yr(uk),ck=Ve({},ya,{animationName:0,elapsedTime:0,pseudoElement:0}),fk=yr(ck),dk=Ve({},ya,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),mk=yr(dk),pk=Ve({},ya,{data:0}),hT=yr(pk),hk={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},gk={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"},yk={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function vk(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=yk[e])?!!t[e]:!1}function Vy(){return vk}var Sk=Ve({},ju,{key:function(e){if(e.key){var t=hk[e.key]||e.key;if(t!=="Unidentified")return t}
vendor: 6,036 bytes, line 5
5return e.type==="keypress"?(e=Nf(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?gk[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Vy,charCode:function(e){return e.type==="keypress"?Nf(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Nf(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),xk=yr(Sk),Tk=Ve({},ad,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),gT=yr(Tk),Ek=Ve({},ju,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Vy}),wk=yr(Ek),Ck=Ve({},ya,{propertyName:0,elapsedTime:0,pseudoElement:0}),Ik=yr(Ck),Ak=Ve({},ad,{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}),Rk=yr(Ak),Nk=[9,13,27,32],zy=Zn&&"CompositionEvent"in window,Su=null;Zn&&"documentMode"in document&&(Su=document.documentMode);var bk=Zn&&"TextEvent"in window&&!Su,zE=Zn&&(!zy||Su&&8<Su&&11>=Su),yT=String.fromCharCode(32),vT=!1;function WE(e,t){switch(e){case"keyup":return Nk.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function HE(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ys=!1;function Pk(e,t){switch(e){case"compositionend":return HE(t);case"keypress":return t.which!==32?null:(vT=!0,yT);case"textInput":return e=t.data,e===yT&&vT?null:e;default:return null}}function Ok(e,t){if(Ys)return e==="compositionend"||!zy&&WE(e,t)?(e=VE(),Rf=By=jo=null,Ys=!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 zE&&t.locale!=="ko"?null:t.data;default:return null}}var Lk={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 ST(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Lk[e.type]:t==="textarea"}function UE(e,t,r,n){xE(n),t=Uf(t,"onChange"),0<t.length&&(r=new Fy("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var xu=null,Lu=null;function kk(e){ew(e,0)}function ld(e){var t=Qs(e);if(mE(t))return e}function _k(e,t){if(e==="change")return t}var jE=!1;Zn&&(Zn?(hf="oninput"in document,hf||(xg=document.createElement("div"),xg.setAttribute("oninput","return;"),hf=typeof xg.oninput=="function"),pf=hf):pf=!1,jE=pf&&(!document.documentMode||9<document.documentMode));var pf,hf,xg;function xT(){xu&&(xu.detachEvent("onpropertychange",GE),Lu=xu=null)}function GE(e){if(e.propertyName==="value"&&ld(Lu)){var t=[];UE(t,Lu,e,Ly(e)),CE(kk,t)}}function Mk(e,t,r){e==="focusin"?(xT(),xu=t,Lu=r,xu.attachEvent("onpropertychange",GE)):e==="focusout"&&xT()}function Dk(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ld(Lu)}function Bk(e,t){if(e==="click")return ld(t)}function Fk(e,t){if(e==="input"||e==="change")return ld(t)}function Vk(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Zr=typeof Object.is=="function"?Object.is:Vk;function ku(e,t){if(Zr(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++){var o=r[n];if(!_g.call(t,o)||!Zr(e[o],t[o]))return!1}return!0}function TT(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ET(e,t){var r=TT(e);e=0;for(var n;r;){if(r.nodeType===3){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=TT(r)}}function $E(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?$E(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function KE(){for(var e=window,t=Df();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Df(e.document)}return t}function Wy(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function zk(e){var t=KE(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&$E(r.ownerDocument.documentElement,r)){if(n!==null&&Wy(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=r.textContent.length,i=Math.min(n.start,o);n=n.end===void 0?i:Math.min(n.end,o),!e.extend&&i>n&&(o=n,n=i,i=o),o=ET(r,i);var s=ET(r,n);o&&s&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>n?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r<t.length;r++)e=t[r],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Wk=Zn&&"documentMode"in document&&11>=document.documentMode,Xs=null,Jg=null,Tu=null,ey=!1;function wT(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;ey||Xs==null||Xs!==Df(n)||(n=Xs,"selectionStart"in n&&Wy(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focu
vendor: 3,807 bytes, line 5
5sNode:n.focusNode,focusOffset:n.focusOffset}),Tu&&ku(Tu,n)||(Tu=n,n=Uf(Jg,"onSelect"),0<n.length&&(t=new Fy("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=Xs)))}function gf(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var qs={animationend:gf("Animation","AnimationEnd"),animationiteration:gf("Animation","AnimationIteration"),animationstart:gf("Animation","AnimationStart"),transitionend:gf("Transition","TransitionEnd")},Tg={},YE={};Zn&&(YE=document.createElement("div").style,"AnimationEvent"in window||(delete qs.animationend.animation,delete qs.animationiteration.animation,delete qs.animationstart.animation),"TransitionEvent"in window||delete qs.transitionend.transition);function ud(e){if(Tg[e])return Tg[e];if(!qs[e])return e;var t=qs[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in YE)return Tg[e]=t[r];return e}var XE=ud("animationend"),qE=ud("animationiteration"),QE=ud("animationstart"),ZE=ud("transitionend"),JE=new Map,CT="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function ri(e,t){JE.set(e,t),ls(t,[e])}for(yf=0;yf<CT.length;yf++)vf=CT[yf],IT=vf.toLowerCase(),AT=vf[0].toUpperCase()+vf.slice(1),ri(IT,"on"+AT);var vf,IT,AT,yf;ri(XE,"onAnimationEnd");ri(qE,"onAnimationIteration");ri(QE,"onAnimationStart");ri("dblclick","onDoubleClick");ri("focusin","onFocus");ri("focusout","onBlur");ri(ZE,"onTransitionEnd");ca("onMouseEnter",["mouseout","mouseover"]);ca("onMouseLeave",["mouseout","mouseover"]);ca("onPointerEnter",["pointerout","pointerover"]);ca("onPointerLeave",["pointerout","pointerover"]);ls("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));ls("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));ls("onBeforeInput",["compositionend","keypress","textInput","paste"]);ls("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));ls("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));ls("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var gu="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(" "),Hk=new Set("cancel close invalid load scroll toggle".split(" ").concat(gu));function RT(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,HL(n,t,void 0,e),e.currentTarget=null}function ew(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var n=e[r],o=n.event;n=n.listeners;e:{var i=void 0;if(t)for(var s=n.length-1;0<=s;s--){var a=n[s],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==i&&o.isPropagationStopped())break e;RT(o,a,u),i=l}else for(s=0;s<n.length;s++){if(a=n[s],l=a.instance,u=a.currentTarget,a=a.listener,l!==i&&o.isPropagationStopped())break e;RT(o,a,u),i=l}}}if(Ff)throw e=Xg,Ff=!1,Xg=null,e}function be(e,t){var r=t[iy];r===void 0&&(r=t[iy]=new Set);var n=e+"__bubble";r.has(n)||(tw(t,e,2,!1),r.add(n))}function Eg(e,t,r){var n=0;t&&(n|=4),tw(r,e,n,t)}var Sf="_reactListening"+Math.random().toString(36).slice(2);
vendor: 8,711 bytes, lines 5-6
5function _u(e){if(!e[Sf]){e[Sf]=!0,lE.forEach(function(r){r!=="selectionchange"&&(Hk.has(r)||Eg(r,!1,e),Eg(r,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Sf]||(t[Sf]=!0,Eg("selectionchange",!1,t))}}function tw(e,t,r,n){switch(FE(t)){case 1:var o=ok;break;case 4:o=ik;break;default:o=Dy}r=o.bind(null,t,r,e),o=void 0,!Yg||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),n?o!==void 0?e.addEventListener(t,r,{capture:!0,passive:o}):e.addEventListener(t,r,!0):o!==void 0?e.addEventListener(t,r,{passive:o}):e.addEventListener(t,r,!1)}function wg(e,t,r,n,o){var i=n;if(!(t&1)&&!(t&2)&&n!==null)e:for(;;){if(n===null)return;var s=n.tag;if(s===3||s===4){var a=n.stateNode.containerInfo;if(a===o||a.nodeType===8&&a.parentNode===o)break;if(s===4)for(s=n.return;s!==null;){var l=s.tag;if((l===3||l===4)&&(l=s.stateNode.containerInfo,l===o||l.nodeType===8&&l.parentNode===o))return;s=s.return}for(;a!==null;){if(s=Zi(a),s===null)return;if(l=s.tag,l===5||l===6){n=i=s;continue e}a=a.parentNode}}n=n.return}CE(function(){var u=i,c=Ly(r),f=[];e:{var d=JE.get(e);if(d!==void 0){var p=Fy,v=e;switch(e){case"keypress":if(Nf(r)===0)break e;case"keydown":case"keyup":p=xk;break;case"focusin":v="focus",p=Sg;break;case"focusout":v="blur",p=Sg;break;case"beforeblur":case"afterblur":p=Sg;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=pT;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=lk;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=wk;break;case XE:case qE:case QE:p=fk;break;case ZE:p=Ik;break;case"scroll":p=sk;break;case"wheel":p=Rk;break;case"copy":case"cut":case"paste":p=mk;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=gT}var m=(t&4)!==0,T=!m&&e==="scroll",h=m?d!==null?d+"Capture":null:d;m=[];for(var g=u,y;g!==null;){y=g;var x=y.stateNode;if(y.tag===5&&x!==null&&(y=x,h!==null&&(x=Nu(g,h),x!=null&&m.push(Mu(g,x,y)))),T)break;g=g.return}0<m.length&&(d=new p(d,v,null,r,c),f.push({event:d,listeners:m}))}}if(!(t&7)){e:{if(d=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",d&&r!==$g&&(v=r.relatedTarget||r.fromElement)&&(Zi(v)||v[Jn]))break e;if((p||d)&&(d=c.window===c?c:(d=c.ownerDocument)?d.defaultView||d.parentWindow:window,p?(v=r.relatedTarget||r.toElement,p=u,v=v?Zi(v):null,v!==null&&(T=us(v),v!==T||v.tag!==5&&v.tag!==6)&&(v=null)):(p=null,v=u),p!==v)){if(m=pT,x="onMouseLeave",h="onMouseEnter",g="mouse",(e==="pointerout"||e==="pointerover")&&(m=gT,x="onPointerLeave",h="onPointerEnter",g="pointer"),T=p==null?d:Qs(p),y=v==null?d:Qs(v),d=new m(x,g+"leave",p,r,c),d.target=T,d.relatedTarget=y,x=null,Zi(c)===u&&(m=new m(h,g+"enter",v,r,c),m.target=y,m.relatedTarget=T,x=m),T=x,p&&v)t:{for(m=p,h=v,g=0,y=m;y;y=Gs(y))g++;for(y=0,x=h;x;x=Gs(x))y++;for(;0<g-y;)m=Gs(m),g--;for(;0<y-g;)h=Gs(h),y--;for(;g--;){if(m===h||h!==null&&m===h.alternate)break t;m=Gs(m),h=Gs(h)}m=null}else m=null;p!==null&&NT(f,d,p,m,!1),v!==null&&T!==null&&NT(f,T,v,m,!0)}}e:{if(d=u?Qs(u):window,p=d.nodeName&&d.nodeName.toLowerCase(),p==="select"||p==="input"&&d.type==="file")var S=_k;else if(ST(d))if(jE)S=Fk;else{S=Dk;var E=Mk}else(p=d.nodeName)&&p.toLowerCase()==="input"&&(d.type==="checkbox"||d.type==="radio")&&(S=Bk);if(S&&(S=S(e,u))){UE(f,S,r,c);break e}E&&E(e,d,u),e==="focusout"&&(E=d._wrapperState)&&E.controlled&&d.type==="number"&&Wg(d,"number",d.value)}switch(E=u?Qs(u):window,e){case"focusin":(ST(E)||E.contentEditable==="true")&&(Xs=E,Jg=u,Tu=null);break;case"focusout":Tu=Jg=Xs=null;break;case"mousedown":ey=!0;break;case"contextmenu":case"mouseup":case"dragend":ey=!1,wT(f,r,c);break;case"selectionchange":if(Wk)break;case"keydown":case"keyup":wT(f,r,c)}var w;if(zy)e:{switch(e){case"compositionstart":var C="onCompositionStart";break e;case"compositionend":C="onCompositionEnd";break e;case"compositionupdate":C="onCompositionUpdate";break e}C=void 0}else Ys?WE(e,r)&&(C="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(C="onCompositionStart");C&&(zE&&r.locale!=="ko"&&(Ys||C!=="onCompositionStart"?C==="onCompositionEnd"&&Ys&&(w=VE()):(jo=c,By="value"in jo?jo.value:jo.textContent,Ys=!0)),E=Uf(u,C),0<E.length&&(C=new hT(C,e,null,r,c),f.push({event:C,listeners:E}),w?C.data=w:(w=HE(r),w!==null&&(C.data=w)))),(w=bk?Pk(e,r):Ok(e,r))&&(u=Uf(u,"onBeforeInput"),0<u.length&&(c=new hT("onBeforeInput","beforeinput",null,r,c),f.push({event:c,listeners:u}),c.data=w))}ew(f,t)})}function Mu(e,t,r){return{instance:e,listener:t,currentTarget:r}}function Uf(e,t){for(var r=t+"Capture",n=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=Nu(e,r),i!=null&&n.unshift(Mu(e,i,o)),i=Nu(e,t),i!=null&&n.push(Mu(e,i,o))),e=e.return}return n}function Gs(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function NT(e,t,r,n,o){for(var i=t._reactName,s=[];r!==null&&r!==n;){var a=r,l=a.alternate,u=a.stateNode;if(l!==null&&l===n)break;a.tag===5&&u!==null&&(a=u,o?(l=Nu(r,i),l!=null&&s.unshift(Mu(r,l,a))):o||(l=Nu(r,i),l!=null&&s.push(Mu(r,l,a)))),r=r.return}s.length!==0&&e.push({event:t,listeners:s})}var Uk=/\r\n?/g,jk=/\u0000|\uFFFD/g;function bT(e){return(typeof e=="string"?e:""+e).replace(Uk,`
6`).replace(jk,"")}function xf(e,t,r){if(t=bT(t),bT(e)!==t&&r)throw Error(L(425))}function jf(){}var ty=null,ry=null;function ny(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var oy=typeof setTimeout=="function"?setTimeout:void 0,Gk=typeof clearTimeout=="function"?clearTimeout:void 0,PT=typeof Promise=="function"?Promise:void 0,$k=typeof queueMicrotask=="function"?queueMicrotask:typeof PT<"u"?function(e){return PT.resolve(null).then(e).catch(Kk)}:oy;function Kk(e){setTimeout(function(){throw e})}function Cg(e,t){var r=t,n=0;do{var o=r.nextSibling;if(e.removeChild(r),o&&o.nodeType===8)if(r=o.data,r==="/$"){if(n===0){e.removeChild(o),Ou(t);return}n--}else r!=="$"&&r!=="$?"&&r!=="$!"||n++;r=o}while(r);Ou(t)}function Xo(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function OT(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"){if(t===0)return e;t--}else r==="/$"&&t++}e=e.previousSibling}return null}var va=Math.random().toString(36).slice(2),hn="__reactFiber$"+va,Du="__reactProps$"+va,Jn="__reactContainer$"+va,iy="__reactEvents$"+va,Yk="__reactListeners$"+va,Xk="__reactHandles$"+va;function Zi(e){var t=e[hn];if(t)return t;for(var r=e.parentNode;r;){if(t=r[Jn]||r[hn]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=OT(e);e!==null;){if(r=e[hn])return r;e=OT(e)}return t}e=r,r=e.parentNode}return null}function Gu(e){return e=e[hn]||e[Jn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Qs(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(L(33))}function cd(e){return e[Du]||null}var sy=[],Zs=-1;function ni(e){return{current:e}}function Pe(e){0>Zs||(e.current=sy[Zs],sy[Zs]=null,Zs--)}function Ce(e,t){Zs++,sy[Zs]=e.current,e.current=t}var ti={},It=ni(ti),Qt=ni(!1),ns=ti;function fa(e,t){var r=e.type.contextTypes;if(!r)return ti;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in r)o[i]=t[i];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Zt(e){return e=e.childContextTypes,e!=null}function Gf(){Pe(Qt),Pe(It)}function LT(e,t,r){if(It.current!==ti)throw Error(L(168));Ce(It,t),Ce(Qt,r)}function rw(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var o in n)if(!(o in t))throw Error(L(108,ML(e)||"Unknown",o));return Ve({},r,n)}function $f(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ti,ns=It.current,Ce(It,e),Ce(Qt,Qt.current),!0}function kT(e,t,r){var n=e.stateNode;if(!n)throw Error(L(169));r?(e=rw(e,t,ns),n.__reactInternalMemoizedMergedChildContext=e,Pe(Qt),Pe(It),Ce(It,e)):Pe(Qt),Ce(Qt,r)}var Yn=null,fd=!1,Ig=!1;function nw(e){Yn===null?Yn=[e]:Yn.push(e)}function qk(e){fd=!0,nw(e)}function oi(){if(!Ig&&Yn!==null){Ig=!0;var e=0,t=ye;try{var r=Yn;for(ye=1;e<r.length;e++){var n=r[e];do n=n(!0);while(n!==null)}Yn=null,fd=!1}
vendor: 4,783 bytes, line 6
6catch(o){throw Yn!==null&&(Yn=Yn.slice(e+1)),NE(ky,oi),o}finally{ye=t,Ig=!1}}return null}var Js=[],ea=0,Kf=null,Yf=0,Nr=[],br=0,os=null,Xn=1,qn="";function qi(e,t){Js[ea++]=Yf,Js[ea++]=Kf,Kf=e,Yf=t}function ow(e,t,r){Nr[br++]=Xn,Nr[br++]=qn,Nr[br++]=os,os=e;var n=Xn;e=qn;var o=32-qr(n)-1;n&=~(1<<o),r+=1;var i=32-qr(t)+o;if(30<i){var s=o-o%5;i=(n&(1<<s)-1).toString(32),n>>=s,o-=s,Xn=1<<32-qr(t)+o|r<<o|n,qn=i+e}else Xn=1<<i|r<<o|n,qn=e}function Hy(e){e.return!==null&&(qi(e,1),ow(e,1,0))}function Uy(e){for(;e===Kf;)Kf=Js[--ea],Js[ea]=null,Yf=Js[--ea],Js[ea]=null;for(;e===os;)os=Nr[--br],Nr[br]=null,qn=Nr[--br],Nr[br]=null,Xn=Nr[--br],Nr[br]=null}var hr=null,pr=null,_e=!1,Xr=null;function iw(e,t){var r=Pr(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,t=e.deletions,t===null?(e.deletions=[r],e.flags|=16):t.push(r)}function _T(e,t){switch(e.tag){case 5:var r=e.type;return t=t.nodeType!==1||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,hr=e,pr=Xo(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,hr=e,pr=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(r=os!==null?{id:Xn,overflow:qn}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},r=Pr(18,null,null,0),r.stateNode=t,r.return=e,e.child=r,hr=e,pr=null,!0):!1;default:return!1}}function ay(e){return(e.mode&1)!==0&&(e.flags&128)===0}function ly(e){if(_e){var t=pr;if(t){var r=t;if(!_T(e,t)){if(ay(e))throw Error(L(418));t=Xo(r.nextSibling);var n=hr;t&&_T(e,t)?iw(n,r):(e.flags=e.flags&-4097|2,_e=!1,hr=e)}}else{if(ay(e))throw Error(L(418));e.flags=e.flags&-4097|2,_e=!1,hr=e}}}function MT(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;hr=e}function Tf(e){if(e!==hr)return!1;if(!_e)return MT(e),_e=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!ny(e.type,e.memoizedProps)),t&&(t=pr)){if(ay(e))throw sw(),Error(L(418));for(;t;)iw(e,t),t=Xo(t.nextSibling)}if(MT(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(L(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(t===0){pr=Xo(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}pr=null}}else pr=hr?Xo(e.stateNode.nextSibling):null;return!0}function sw(){for(var e=pr;e;)e=Xo(e.nextSibling)}function da(){pr=hr=null,_e=!1}function jy(e){Xr===null?Xr=[e]:Xr.push(e)}var Qk=ro.ReactCurrentBatchConfig;function Kr(e,t){if(e&&e.defaultProps){t=Ve({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}var Xf=ni(null),qf=null,ta=null,Gy=null;function $y(){Gy=ta=qf=null}function Ky(e){var t=Xf.current;Pe(Xf),e._currentValue=t}function uy(e,t,r){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function la(e,t){qf=e,Gy=ta=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(qt=!0),e.firstContext=null)}function Lr(e){var t=e._currentValue;if(Gy!==e)if(e={context:e,memoizedValue:t,next:null},ta===null){if(qf===null)throw Error(L(308));ta=e,qf.dependencies={lanes:0,firstContext:e}}else ta=ta.next=e;return t}var Ji=null;function Yy(e){Ji===null?Ji=[e]:Ji.push(e)}function aw(e,t,r,n){var o=t.interleaved;return o===null?(r.next=r,Yy(t)):(r.next=o.next,o.next=r),t.interleaved=r,eo(e,n)}function eo(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}var Wo=!1;function Xy(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function lw(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Qn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function qo(e,t,r){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,le&2){var o=n.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),n.pending=t,eo(e,r)}return o=n.interleaved,o===null?(t.next=t,Yy(n)):(t.next=o.next,o.next=t),n.interleaved=t,eo(e,r)}function bf(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,_y(e,r)}}function DT(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var o=null,i=null;if(r=r.firstBaseUpdate,r!==null){do{var s={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};i===null?o=i=s:i=i.next=s,r=r.next}
vendor: 4,834 bytes, line 6
6while(r!==null);i===null?o=i=t:i=i.next=t}else o=i=t;r={baseState:n.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:n.shared,effects:n.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function Qf(e,t,r,n){var o=e.updateQueue;Wo=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var l=a,u=l.next;l.next=null,s===null?i=u:s.next=u,s=l;var c=e.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==s&&(a===null?c.firstBaseUpdate=u:a.next=u,c.lastBaseUpdate=l))}if(i!==null){var f=o.baseState;s=0,c=u=l=null,a=i;do{var d=a.lane,p=a.eventTime;if((n&d)===d){c!==null&&(c=c.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var v=e,m=a;switch(d=t,p=r,m.tag){case 1:if(v=m.payload,typeof v=="function"){f=v.call(p,f,d);break e}f=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=m.payload,d=typeof v=="function"?v.call(p,f,d):v,d==null)break e;f=Ve({},f,d);break e;case 2:Wo=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,d=o.effects,d===null?o.effects=[a]:d.push(a))}else p={eventTime:p,lane:d,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(u=c=p,l=f):c=c.next=p,s|=d;if(a=a.next,a===null){if(a=o.shared.pending,a===null)break;d=a,a=d.next,d.next=null,o.lastBaseUpdate=d,o.shared.pending=null}}while(1);if(c===null&&(l=f),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,t=o.shared.interleaved,t!==null){o=t;do s|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);ss|=s,e.lanes=s,e.memoizedState=f}}function BT(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var n=e[t],o=n.callback;if(o!==null){if(n.callback=null,n=r,typeof o!="function")throw Error(L(191,o));o.call(n)}}}var uw=new aE.Component().refs;function cy(e,t,r,n){t=e.memoizedState,r=r(n,t),r=r==null?t:Ve({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var dd={isMounted:function(e){return(e=e._reactInternals)?us(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=Bt(),o=Zo(e),i=Qn(n,o);i.payload=t,r!=null&&(i.callback=r),t=qo(e,i,o),t!==null&&(Qr(t,e,o,n),bf(t,e,o))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=Bt(),o=Zo(e),i=Qn(n,o);i.tag=1,i.payload=t,r!=null&&(i.callback=r),t=qo(e,i,o),t!==null&&(Qr(t,e,o,n),bf(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=Bt(),n=Zo(e),o=Qn(r,n);o.tag=2,t!=null&&(o.callback=t),t=qo(e,o,n),t!==null&&(Qr(t,e,n,r),bf(t,e,n))}};function FT(e,t,r,n,o,i,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,i,s):t.prototype&&t.prototype.isPureReactComponent?!ku(r,n)||!ku(o,i):!0}function cw(e,t,r){var n=!1,o=ti,i=t.contextType;return typeof i=="object"&&i!==null?i=Lr(i):(o=Zt(t)?ns:It.current,n=t.contextTypes,i=(n=n!=null)?fa(e,o):ti),t=new t(r,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=dd,e.stateNode=t,t._reactInternals=e,n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function VT(e,t,r,n){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,n),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&dd.enqueueReplaceState(t,t.state,null)}function fy(e,t,r,n){var o=e.stateNode;o.props=r,o.state=e.memoizedState,o.refs=uw,Xy(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=Lr(i):(i=Zt(t)?ns:It.current,o.context=fa(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(cy(e,t,i,r),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&dd.enqueueReplaceState(o,o.state,null),Qf(e,r,o,n),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function uu(e,t,r){if(e=r.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(r._owner){if(r=r._owner,r){if(r.tag!==1)throw Error(L(309));var n=r.stateNode}if(!n)throw Error(L(147,e));var o=n,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(s){var a=o.refs;a===uw&&(a=o.refs={}),s===null?delete a[i]:a[i]=s},t._stringRef=i,t)}if(typeof e!="string")throw Error(L(284));if(!r._owner)throw Error(L(290,e))}return e}function Ef(e,t){throw e=Object.prototype.toString.call(t),Error(L(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function zT(e){var t=e._init;return t(e._payload)}
vendor: 3,040 bytes, line 6
6function fw(e){function t(h,g){if(e){var y=h.deletions;y===null?(h.deletions=[g],h.flags|=16):y.push(g)}}function r(h,g){if(!e)return null;for(;g!==null;)t(h,g),g=g.sibling;return null}function n(h,g){for(h=new Map;g!==null;)g.key!==null?h.set(g.key,g):h.set(g.index,g),g=g.sibling;return h}function o(h,g){return h=Jo(h,g),h.index=0,h.sibling=null,h}function i(h,g,y){return h.index=y,e?(y=h.alternate,y!==null?(y=y.index,y<g?(h.flags|=2,g):y):(h.flags|=2,g)):(h.flags|=1048576,g)}function s(h){return e&&h.alternate===null&&(h.flags|=2),h}function a(h,g,y,x){return g===null||g.tag!==6?(g=Lg(y,h.mode,x),g.return=h,g):(g=o(g,y),g.return=h,g)}function l(h,g,y,x){var S=y.type;return S===Ks?c(h,g,y.props.children,x,y.key):g!==null&&(g.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===zo&&zT(S)===g.type)?(x=o(g,y.props),x.ref=uu(h,g,y),x.return=h,x):(x=Mf(y.type,y.key,y.props,null,h.mode,x),x.ref=uu(h,g,y),x.return=h,x)}function u(h,g,y,x){return g===null||g.tag!==4||g.stateNode.containerInfo!==y.containerInfo||g.stateNode.implementation!==y.implementation?(g=kg(y,h.mode,x),g.return=h,g):(g=o(g,y.children||[]),g.return=h,g)}function c(h,g,y,x,S){return g===null||g.tag!==7?(g=rs(y,h.mode,x,S),g.return=h,g):(g=o(g,y),g.return=h,g)}function f(h,g,y){if(typeof g=="string"&&g!==""||typeof g=="number")return g=Lg(""+g,h.mode,y),g.return=h,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case af:return y=Mf(g.type,g.key,g.props,null,h.mode,y),y.ref=uu(h,null,g),y.return=h,y;case $s:return g=kg(g,h.mode,y),g.return=h,g;case zo:var x=g._init;return f(h,x(g._payload),y)}if(pu(g)||iu(g))return g=rs(g,h.mode,y,null),g.return=h,g;Ef(h,g)}return null}function d(h,g,y,x){var S=g!==null?g.key:null;if(typeof y=="string"&&y!==""||typeof y=="number")return S!==null?null:a(h,g,""+y,x);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case af:return y.key===S?l(h,g,y,x):null;case $s:return y.key===S?u(h,g,y,x):null;case zo:return S=y._init,d(h,g,S(y._payload),x)}if(pu(y)||iu(y))return S!==null?null:c(h,g,y,x,null);Ef(h,y)}return null}function p(h,g,y,x,S){if(typeof x=="string"&&x!==""||typeof x=="number")return h=h.get(y)||null,a(g,h,""+x,S);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case af:return h=h.get(x.key===null?y:x.key)||null,l(g,h,x,S);case $s:return h=h.get(x.key===null?y:x.key)||null,u(g,h,x,S);case zo:var E=x._init;return p(h,g,y,E(x._payload),S)}if(pu(x)||iu(x))return h=h.get(y)||null,c(g,h,x,S,null);Ef(g,x)}return null}function v(h,g,y,x){for(var S=null,E=null,w=g,C=g=0,N=null;w!==null&&C<y.length;C++){w.index>C?(N=w,w=null):N=w.sibling;var I=d(h,w,y[C],x);if(I===null){w===null&&(w=N);break}e&&w&&I.alternate===null&&t(h,w),g=i(I,g,C),E===null?S=I:E.sibling=I,E=I,w=N}if(C===y.length)return r(h,w),_e&&qi(h,C),S;if(w===null){for(;C<y.length;C++)w=f(h,y[C],x),w!==null&&(g=i(w,g,C),E===null?S=w:E.sibling=w,E=w);return _e&&qi(h,C),S}for(w=n(h,w);C<y.length;C++)N=p(w,h,C,y[C],x),N!==null&&(e&&N.alternate!==null&&w.delete(N.key===null?C:N.key),g=i(N,g,C),E===null?S=N:E.sibling=N,E=N);
vendor: 19,832 bytes, lines 6-8
6return e&&w.forEach(function(b){return t(h,b)}),_e&&qi(h,C),S}function m(h,g,y,x){var S=iu(y);if(typeof S!="function")throw Error(L(150));if(y=S.call(y),y==null)throw Error(L(151));for(var E=S=null,w=g,C=g=0,N=null,I=y.next();w!==null&&!I.done;C++,I=y.next()){w.index>C?(N=w,w=null):N=w.sibling;var b=d(h,w,I.value,x);if(b===null){w===null&&(w=N);break}e&&w&&b.alternate===null&&t(h,w),g=i(b,g,C),E===null?S=b:E.sibling=b,E=b,w=N}if(I.done)return r(h,w),_e&&qi(h,C),S;if(w===null){for(;!I.done;C++,I=y.next())I=f(h,I.value,x),I!==null&&(g=i(I,g,C),E===null?S=I:E.sibling=I,E=I);return _e&&qi(h,C),S}for(w=n(h,w);!I.done;C++,I=y.next())I=p(w,h,C,I.value,x),I!==null&&(e&&I.alternate!==null&&w.delete(I.key===null?C:I.key),g=i(I,g,C),E===null?S=I:E.sibling=I,E=I);return e&&w.forEach(function(P){return t(h,P)}),_e&&qi(h,C),S}function T(h,g,y,x){if(typeof y=="object"&&y!==null&&y.type===Ks&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case af:e:{for(var S=y.key,E=g;E!==null;){if(E.key===S){if(S=y.type,S===Ks){if(E.tag===7){r(h,E.sibling),g=o(E,y.props.children),g.return=h,h=g;break e}}else if(E.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===zo&&zT(S)===E.type){r(h,E.sibling),g=o(E,y.props),g.ref=uu(h,E,y),g.return=h,h=g;break e}r(h,E);break}else t(h,E);E=E.sibling}y.type===Ks?(g=rs(y.props.children,h.mode,x,y.key),g.return=h,h=g):(x=Mf(y.type,y.key,y.props,null,h.mode,x),x.ref=uu(h,g,y),x.return=h,h=x)}return s(h);case $s:e:{for(E=y.key;g!==null;){if(g.key===E)if(g.tag===4&&g.stateNode.containerInfo===y.containerInfo&&g.stateNode.implementation===y.implementation){r(h,g.sibling),g=o(g,y.children||[]),g.return=h,h=g;break e}else{r(h,g);break}else t(h,g);g=g.sibling}g=kg(y,h.mode,x),g.return=h,h=g}return s(h);case zo:return E=y._init,T(h,g,E(y._payload),x)}if(pu(y))return v(h,g,y,x);if(iu(y))return m(h,g,y,x);Ef(h,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,g!==null&&g.tag===6?(r(h,g.sibling),g=o(g,y),g.return=h,h=g):(r(h,g),g=Lg(y,h.mode,x),g.return=h,h=g),s(h)):r(h,g)}return T}var ma=fw(!0),dw=fw(!1),$u={},yn=ni($u),Bu=ni($u),Fu=ni($u);function es(e){if(e===$u)throw Error(L(174));return e}function qy(e,t){switch(Ce(Fu,t),Ce(Bu,e),Ce(yn,$u),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ug(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ug(t,e)}Pe(yn),Ce(yn,t)}function pa(){Pe(yn),Pe(Bu),Pe(Fu)}function mw(e){es(Fu.current);var t=es(yn.current),r=Ug(t,e.type);t!==r&&(Ce(Bu,e),Ce(yn,r))}function Qy(e){Bu.current===e&&(Pe(yn),Pe(Bu))}var Be=ni(0);function Zf(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ag=[];function Zy(){for(var e=0;e<Ag.length;e++)Ag[e]._workInProgressVersionPrimary=null;Ag.length=0}var Pf=ro.ReactCurrentDispatcher,Rg=ro.ReactCurrentBatchConfig,is=0,Fe=null,et=null,at=null,Jf=!1,Eu=!1,Vu=0,Zk=0;function Et(){throw Error(L(321))}function Jy(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!Zr(e[r],t[r]))return!1;return!0}function ev(e,t,r,n,o,i){if(is=i,Fe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Pf.current=e===null||e.memoizedState===null?r_:n_,e=r(n,o),Eu){i=0;do{if(Eu=!1,Vu=0,25<=i)throw Error(L(301));i+=1,at=et=null,t.updateQueue=null,Pf.current=o_,e=r(n,o)}while(Eu)}if(Pf.current=ed,t=et!==null&&et.next!==null,is=0,at=et=Fe=null,Jf=!1,t)throw Error(L(300));return e}function tv(){var e=Vu!==0;return Vu=0,e}function pn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return at===null?Fe.memoizedState=at=e:at=at.next=e,at}function kr(){if(et===null){var e=Fe.alternate;e=e!==null?e.memoizedState:null}else e=et.next;var t=at===null?Fe.memoizedState:at.next;if(t!==null)at=t,et=e;else{if(e===null)throw Error(L(310));et=e,e={memoizedState:et.memoizedState,baseState:et.baseState,baseQueue:et.baseQueue,queue:et.queue,next:null},at===null?Fe.memoizedState=at=e:at=at.next=e}return at}function zu(e,t){return typeof t=="function"?t(e):t}function Ng(e){var t=kr(),r=t.queue;if(r===null)throw Error(L(311));r.lastRenderedReducer=e;var n=et,o=n.baseQueue,i=r.pending;if(i!==null){if(o!==null){var s=o.next;o.next=i.next,i.next=s}n.baseQueue=o=i,r.pending=null}if(o!==null){i=o.next,n=n.baseState;var a=s=null,l=null,u=i;do{var c=u.lane;if((is&c)===c)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),n=u.hasEagerState?u.eagerState:e(n,u.action);else{var f={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(a=l=f,s=n):l=l.next=f,Fe.lanes|=c,ss|=c}u=u.next}while(u!==null&&u!==i);l===null?s=n:l.next=a,Zr(n,t.memoizedState)||(qt=!0),t.memoizedState=n,t.baseState=s,t.baseQueue=l,r.lastRenderedState=n}if(e=r.interleaved,e!==null){o=e;do i=o.lane,Fe.lanes|=i,ss|=i,o=o.next;while(o!==e)}else o===null&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function bg(e){var t=kr(),r=t.queue;if(r===null)throw Error(L(311));r.lastRenderedReducer=e;var n=r.dispatch,o=r.pending,i=t.memoizedState;if(o!==null){r.pending=null;var s=o=o.next;do i=e(i,s.action),s=s.next;while(s!==o);Zr(i,t.memoizedState)||(qt=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),r.lastRenderedState=i}return[i,n]}function pw(){}function hw(e,t){var r=Fe,n=kr(),o=t(),i=!Zr(n.memoizedState,o);if(i&&(n.memoizedState=o,qt=!0),n=n.queue,rv(vw.bind(null,r,n,e),[e]),n.getSnapshot!==t||i||at!==null&&at.memoizedState.tag&1){if(r.flags|=2048,Wu(9,yw.bind(null,r,n,o,t),void 0,null),lt===null)throw Error(L(349));is&30||gw(r,t,o)}return o}function gw(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},t=Fe.updateQueue,t===null?(t={lastEffect:null,stores:null},Fe.updateQueue=t,t.stores=[e]):(r=t.stores,r===null?t.stores=[e]:r.push(e))}function yw(e,t,r,n){t.value=r,t.getSnapshot=n,Sw(t)&&xw(e)}function vw(e,t,r){return r(function(){Sw(t)&&xw(e)})}function Sw(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!Zr(e,r)}catch{return!0}}function xw(e){var t=eo(e,1);t!==null&&Qr(t,e,1,-1)}function WT(e){var t=pn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:zu,lastRenderedState:e},t.queue=e,e=e.dispatch=t_.bind(null,Fe,e),[t.memoizedState,e]}function Wu(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},t=Fe.updateQueue,t===null?(t={lastEffect:null,stores:null},Fe.updateQueue=t,t.lastEffect=e.next=e):(r=t.lastEffect,r===null?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e)),e}function Tw(){return kr().memoizedState}function Of(e,t,r,n){var o=pn();Fe.flags|=e,o.memoizedState=Wu(1|t,r,void 0,n===void 0?null:n)}function md(e,t,r,n){var o=kr();n=n===void 0?null:n;var i=void 0;if(et!==null){var s=et.memoizedState;if(i=s.destroy,n!==null&&Jy(n,s.deps)){o.memoizedState=Wu(t,r,i,n);return}}Fe.flags|=e,o.memoizedState=Wu(1|t,r,i,n)}function HT(e,t){return Of(8390656,8,e,t)}function rv(e,t){return md(2048,8,e,t)}function Ew(e,t){return md(4,2,e,t)}function ww(e,t){return md(4,4,e,t)}function Cw(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Iw(e,t,r){return r=r!=null?r.concat([e]):null,md(4,4,Cw.bind(null,t,e),r)}function nv(){}function Aw(e,t){var r=kr();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&Jy(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function Rw(e,t){var r=kr();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&Jy(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function Nw(e,t,r){return is&21?(Zr(r,t)||(r=OE(),Fe.lanes|=r,ss|=r,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,qt=!0),e.memoizedState=r)}function Jk(e,t){var r=ye;ye=r!==0&&4>r?r:4,e(!0);var n=Rg.transition;Rg.transition={};try{e(!1),t()}finally{ye=r,Rg.transition=n}}function bw(){return kr().memoizedState}function e_(e,t,r){var n=Zo(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},Pw(e))Ow(t,r);else if(r=aw(e,t,r,n),r!==null){var o=Bt();Qr(r,e,n,o),Lw(r,t,n)}}function t_(e,t,r){var n=Zo(e),o={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(Pw(e))Ow(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,a=i(s,r);if(o.hasEagerState=!0,o.eagerState=a,Zr(a,s)){var l=t.interleaved;l===null?(o.next=o,Yy(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}r=aw(e,t,o,n),r!==null&&(o=Bt(),Qr(r,e,n,o),Lw(r,t,n))}}function Pw(e){var t=e.alternate;return e===Fe||t!==null&&t===Fe}function Ow(e,t){Eu=Jf=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function Lw(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,_y(e,r)}}var ed={readContext:Lr,useCallback:Et,useContext:Et,useEffect:Et,useImperativeHandle:Et,useInsertionEffect:Et,useLayoutEffect:Et,useMemo:Et,useReducer:Et,useRef:Et,useState:Et,useDebugValue:Et,useDeferredValue:Et,useTransition:Et,useMutableSource:Et,useSyncExternalStore:Et,useId:Et,unstable_isNewReconciler:!1},r_={readContext:Lr,useCallback:function(e,t){return pn().memoizedState=[e,t===void 0?null:t],e},useContext:Lr,useEffect:HT,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Of(4194308,4,Cw.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Of(4194308,4,e,t)},useInsertionEffect:function(e,t){return Of(4,2,e,t)},useMemo:function(e,t){var r=pn();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=pn();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=e_.bind(null,Fe,e),[n.memoizedState,e]},useRef:function(e){var t=pn();return e={current:e},t.memoizedState=e},useState:WT,useDebugValue:nv,useDeferredValue:function(e){return pn().memoizedState=e},useTransition:function(){var e=WT(!1),t=e[0];return e=Jk.bind(null,e[1]),pn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=Fe,o=pn();if(_e){if(r===void 0)throw Error(L(407));r=r()}else{if(r=t(),lt===null)throw Error(L(349));is&30||gw(n,t,r)}o.memoizedState=r;var i={value:r,getSnapshot:t};return o.queue=i,HT(vw.bind(null,n,i,e),[e]),n.flags|=2048,Wu(9,yw.bind(null,n,i,r,t),void 0,null),r},useId:function(){var e=pn(),t=lt.identifierPrefix;if(_e){var r=qn,n=Xn;r=(n&~(1<<32-qr(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=Vu++,0<r&&(t+="H"+r.toString(32)),t+=":"}else r=Zk++,t=":"+t+"r"+r.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},n_={readContext:Lr,useCallback:Aw,useContext:Lr,useEffect:rv,useImperativeHandle:Iw,useInsertionEffect:Ew,useLayoutEffect:ww,useMemo:Rw,useReducer:Ng,useRef:Tw,useState:function(){return Ng(zu)},useDebugValue:nv,useDeferredValue:function(e){var t=kr();return Nw(t,et.memoizedState,e)},useTransition:function(){var e=Ng(zu)[0],t=kr().memoizedState;return[e,t]},useMutableSource:pw,useSyncExternalStore:hw,useId:bw,unstable_isNewReconciler:!1},o_={readContext:Lr,useCallback:Aw,useContext:Lr,useEffect:rv,useImperativeHandle:Iw,useInsertionEffect:Ew,useLayoutEffect:ww,useMemo:Rw,useReducer:bg,useRef:Tw,useState:function(){return bg(zu)},useDebugValue:nv,useDeferredValue:function(e){var t=kr();return et===null?t.memoizedState=e:Nw(t,et.memoizedState,e)},useTransition:function(){var e=bg(zu)[0],t=kr().memoizedState;return[e,t]},useMutableSource:pw,useSyncExternalStore:hw,useId:bw,unstable_isNewReconciler:!1};function ha(e,t){try{var r="",n=t;do r+=_L(n),n=n.return;while(n);var o=r}catch(i){o=`
7Error generating stack: `+i.message+`
8`+i.stack}return{value:e,source:t,stack:o,digest:null}}function Pg(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function dy(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var i_=typeof WeakMap=="function"?WeakMap:Map;function kw(e,t,r){r=Qn(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){rd||(rd=!0,Ey=n),dy(e,t)},r}function _w(e,t,r){r=Qn(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var o=t.value;r.payload=function(){return n(o)},r.callback=function(){dy(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(r.callback=function(){dy(e,t),typeof n!="function"&&(Qo===null?Qo=new Set([this]):Qo.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),r}function UT(e,t,r){var n=e.pingCache;if(n===null){n=e.pingCache=new i_;var o=new Set;n.set(t,o)}else o=n.get(t),o===void 0&&(o=new Set,n.set(t,o));o.has(r)||(o.add(r),e=S_.bind(null,e,t,r),t.then(e,e))}function jT(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function GT(e,t,r,n,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=Qn(-1,1),t.tag=2,qo(r,t,1))),r.lanes|=1),e)}var s_=ro.ReactCurrentOwner,qt=!1;function Dt(e,t,r,n){t.child=e===null?dw(t,null,r,n):ma(t,e.child,r,n)}function $T(e,t,r,n,o){r=r.render;var i=t.ref;return la(t,o),n=ev(e,t,r,n,i,o),r=tv(),e!==null&&!qt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,to(e,t,o)):(_e&&r&&Hy(t),t.flags|=1,Dt(e,t,n,o),t.child)}function KT(e,t,r,n,o){if(e===null){var i=r.type;return typeof i=="function"&&!fv(i)&&i.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=i,Mw(e,t,i,n,o)):(e=Mf(r.type,null,n,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&o)){var s=i.memoizedProps;if(r=r.compare,r=r!==null?r:ku,r(s,n)&&e.ref===t.ref)return to(e,t,o)}return t.flags|=1,e=Jo(i,n),e.ref=t.ref,e.return=t,t.child=e}function Mw(e,t,r,n,o){if(e!==null){var i=e.memoizedProps;if(ku(i,n)&&e.ref===t.ref)if(qt=!1,t.pendingProps=n=i,(e.lanes&o)!==0)e.flags&131072&&(qt=!0);else return t.lanes=e.lanes,to(e,t,o)}return my(e,t,r,n,o)}function Dw(e,t,r){var n=t.pendingProps,o=n.children,i=e!==null?e.memoizedState:null;if(n.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ce(na,mr),mr|=r;else{if(!(r&1073741824))return e=i!==null?i.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ce(na,mr),mr|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=i!==null?i.baseLanes:r,Ce(na,mr),mr|=n}else i!==null?(n=i.baseLanes|r,t.memoizedState=null):n=r,Ce(na,mr),mr|=n;return Dt(e,t,o,r),t.child}function Bw(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function my(e,t,r,n,o){var i=Zt(r)?ns:It.current;return i=fa(t,i),la(t,o),r=ev(e,t,r,n,i,o),n=tv(),e!==null&&!qt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,to(e,t,o)):(_e&&n&&Hy(t),t.flags|=1,Dt(e,t,r,o),t.child)}function YT(e,t,r,n,o){if(Zt(r)){var i=!0;$f(t)}else i=!1;if(la(t,o),t.stateNode===null)Lf(e,t),cw(t,r,n),fy(t,r,n,o),n=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var l=s.context,u=r.contextType;typeof u=="object"&&u!==null?u=Lr(u):(u=Zt(r)?ns:It.current,u=fa(t,u));var c=r.getDerivedStateFromProps,f=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function";f||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==n||l!==u)&&VT(t,s,n,u),Wo=!1;var d=t.memoizedState;s.state=d,Qf(t,n,s,o),l=t.memoizedState,a!==n||d!==l||Qt.current||Wo?(typeof c=="function"&&(cy(t,r,c,n),l=t.memoizedState),(a=Wo||FT(t,r,a,n,d,l,u))?(f||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=l),s.props=n,s.state=l,s.context=u,n=a):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{s=t.stateNode,lw(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:Kr(t.type,a),s.props=u,f=t.pendingProps,d=s.context,l=r.contextType,typeof l=="object"&&l!==null?l=Lr(l):(l=Zt(r)?ns:It.current,l=fa(t,l));var p=r.getDerivedStateFromProps;(c=typeof p=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==f||d!==l)&&VT(t,s,n,l),Wo=!1,d=t.memoizedState,s.state=d,Qf(t,n,s,o);var v=t.memoizedState;a!==f||d!==v||Qt.current||Wo?(typeof p=="function"&&(cy(t,r,p,n),v=t.memoizedState),(u=Wo||FT(t,r,u,n,d,v,l)||!1)?(c||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(n,v,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(n,v,l)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=v),s.props=n,s.state=v,s.context=l,n=u):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),n=!1)}return py(e,t,r,n,i,o)}function py(e,t,r,n,o,i){Bw(e,t);var s=(t.flags&128)!==0;if(!n&&!s)return o&&kT(t,r,!1),to(e,t,i);n=t.stateNode,s_.current=t;var a=s&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&s?(t.child=ma(t,e.child,null,i),t.child=ma(t,null,a,i)):Dt(e,t,a,i),t.memoizedState=n.state,o&&kT(t,r,!0),t.child}function Fw(e){var t=e.stateNode;t.pendingContext?LT(e,t.pendingContext,t.pendingContext!==t.context):t.context&&LT(e,t.context,!1),qy(e,t.containerInfo)}function XT(e,t,r,n,o){return da(),jy(o),t.flags|=256,Dt(e,t,r,n),t.child}var hy={dehydrated:null,treeContext:null,retryLane:0};function gy(e){return{baseLanes:e,cachePool:null,transitions:null}}function Vw(e,t,r){var n=t.pendingProps,o=Be.current,i=!1,s=(t.flags&128)!==0,a;if((a=s)||(a=e!==null&&e.memoizedState===null?!1:(o&2)!==0),a?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),Ce(Be,o&1),e===null)return ly(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=n.children,e=n.fallback,i?(n=t.mode,i=t.child,s={mode:"hidden",children:s},!(n&1)&&i!==null?(i.childLanes=0,i.pendingProps=s):i=gd(s,n,0,null),e=rs(e,n,r,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=gy(r),t.memoizedState=hy,e):ov(t,s));if(o=e.memoizedState,o!==null&&(a=o.dehydrated,a!==null))return a_(e,t,s,n,a,o,r);if(i){i=n.fallback,s=t.mode,o=e.child,a=o.sibling;var l={mode:"hidden",children:n.children};return!(s&1)&&t.child!==o?(n=t.child,n.childLanes=0,n.pendingProps=l,t.deletions=null):(n=Jo(o,l),n.subtreeFlags=o.subtreeFlags&14680064),a!==null?i=Jo(a,i):(i=rs(i,s,r,null),i.flags|=2),i.return=t,n.return=t,n.sibling=i,t.child=n,n=i,i=t.child,s=e.child.memoizedState,s=s===null?gy(r):{base
vendor: 8,200 bytes, line 8
8Lanes:s.baseLanes|r,cachePool:null,transitions:s.transitions},i.memoizedState=s,i.childLanes=e.childLanes&~r,t.memoizedState=hy,n}return i=e.child,e=i.sibling,n=Jo(i,{mode:"visible",children:n.children}),!(t.mode&1)&&(n.lanes=r),n.return=t,n.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n}function ov(e,t){return t=gd({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function wf(e,t,r,n){return n!==null&&jy(n),ma(t,e.child,null,r),e=ov(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function a_(e,t,r,n,o,i,s){if(r)return t.flags&256?(t.flags&=-257,n=Pg(Error(L(422))),wf(e,t,s,n)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=n.fallback,o=t.mode,n=gd({mode:"visible",children:n.children},o,0,null),i=rs(i,o,s,null),i.flags|=2,n.return=t,i.return=t,n.sibling=i,t.child=n,t.mode&1&&ma(t,e.child,null,s),t.child.memoizedState=gy(s),t.memoizedState=hy,i);if(!(t.mode&1))return wf(e,t,s,null);if(o.data==="$!"){if(n=o.nextSibling&&o.nextSibling.dataset,n)var a=n.dgst;return n=a,i=Error(L(419)),n=Pg(i,n,void 0),wf(e,t,s,n)}if(a=(s&e.childLanes)!==0,qt||a){if(n=lt,n!==null){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(n.suspendedLanes|s)?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,eo(e,o),Qr(n,e,o,-1))}return cv(),n=Pg(Error(L(421))),wf(e,t,s,n)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=x_.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,pr=Xo(o.nextSibling),hr=t,_e=!0,Xr=null,e!==null&&(Nr[br++]=Xn,Nr[br++]=qn,Nr[br++]=os,Xn=e.id,qn=e.overflow,os=t),t=ov(t,n.children),t.flags|=4096,t)}function qT(e,t,r){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),uy(e.return,t,r)}function Og(e,t,r,n,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=n,i.tail=r,i.tailMode=o)}function zw(e,t,r){var n=t.pendingProps,o=n.revealOrder,i=n.tail;if(Dt(e,t,n.children,r),n=Be.current,n&2)n=n&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&qT(e,r,t);else if(e.tag===19)qT(e,r,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(Ce(Be,n),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(r=t.child,o=null;r!==null;)e=r.alternate,e!==null&&Zf(e)===null&&(o=r),r=r.sibling;r=o,r===null?(o=t.child,t.child=null):(o=r.sibling,r.sibling=null),Og(t,!1,o,r,i);break;case"backwards":for(r=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Zf(e)===null){t.child=o;break}e=o.sibling,o.sibling=r,r=o,o=e}Og(t,!0,r,null,i);break;case"together":Og(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Lf(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function to(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),ss|=t.lanes,!(r&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(L(153));if(t.child!==null){for(e=t.child,r=Jo(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=Jo(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function l_(e,t,r){switch(t.tag){case 3:Fw(t),da();break;case 5:mw(t);break;case 1:Zt(t.type)&&$f(t);break;case 4:qy(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,o=t.memoizedProps.value;Ce(Xf,n._currentValue),n._currentValue=o;break;case 13:if(n=t.memoizedState,n!==null)return n.dehydrated!==null?(Ce(Be,Be.current&1),t.flags|=128,null):r&t.child.childLanes?Vw(e,t,r):(Ce(Be,Be.current&1),e=to(e,t,r),e!==null?e.sibling:null);Ce(Be,Be.current&1);break;case 19:if(n=(r&t.childLanes)!==0,e.flags&128){if(n)return zw(e,t,r);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),Ce(Be,Be.current),n)break;return null;case 22:case 23:return t.lanes=0,Dw(e,t,r)}return to(e,t,r)}var Ww,yy,Hw,Uw;Ww=function(e,t){for(var r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}};yy=function(){};Hw=function(e,t,r,n){var o=e.memoizedProps;if(o!==n){e=t.stateNode,es(yn.current);var i=null;switch(r){case"input":o=Vg(e,o),n=Vg(e,n),i=[];break;case"select":o=Ve({},o,{value:void 0}),n=Ve({},n,{value:void 0}),i=[];break;case"textarea":o=Hg(e,o),n=Hg(e,n),i=[];break;default:typeof o.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=jf)}jg(r,n);var s;r=null;for(u in o)if(!n.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var a=o[u];for(s in a)a.hasOwnProperty(s)&&(r||(r={}),r[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Au.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in n){var l=n[u];if(a=o?.[u],n.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(s in a)!a.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(r||(r={}),r[s]="");for(s in l)l.hasOwnProperty(s)&&a[s]!==l[s]&&(r||(r={}),r[s]=l[s])}else r||(i||(i=[]),i.push(u,r)),r=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(i=i||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(i=i||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Au.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&be("scroll",e),i||a===l||(i=[])):(i=i||[]).push(u,l))}r&&(i=i||[]).push("style",r);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};Uw=function(e,t,r,n){r!==n&&(t.flags|=4)};function cu(e,t){if(!_e)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;r!==null;)r.alternate!==null&&(n=r),r=r.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null}}function wt(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,n=0;if(t)for(var o=e.child;o!==null;)r|=o.lanes|o.childLanes,n|=o.subtreeFlags&14680064,n|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)r|=o.lanes|o.childLanes,n|=o.subtreeFlags,n|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}function u_(e,t,r){var n=t.pendingProps;switch(Uy(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return wt(t),null;case 1:return Zt(t.type)&&Gf(),wt(t),null;case 3:return n=t.stateNode,pa(),Pe(Qt),Pe(It),Zy(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Tf(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Xr!==null&&(Iy(Xr),Xr=null))),yy(e,t),wt(t),null;case 5:Qy(t);var o=es(Fu.current);if(r=t.type,e!==null&&t.stateNode!=null)Hw(e,t,r,n,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!n){if(t.stateNode===null)throw Error(L(166));return wt(t),null}if(e=es(yn.current),Tf(t)){n=t.stateNode,r=t.type;var i=t.memoizedProps;switch(n[hn]=t,n[Du]=i,e=(t.mode&1)!==0,r){case"dialog":be("cancel",n),be("close",n);break;case"iframe":case"object":case"embed":be("load",n);break;case"video":case"audio":for(o=0;o<gu.length;o++)be(gu[o],n);break;case"source":be("error",n);break;case"img":case"image":case"link":be("error",n),be("load",n);break;case"details":be("toggle",n);break;case"input":oT(n,i),be("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!i.multiple},be("invalid",n);break;case"textarea":sT(n,i),be("invalid",n)}jg(r,i),o=null;for(var s in i)if(i.hasOwnProperty(s)){var a=i[s];
vendor: 3,141 bytes, line 8
8s==="children"?typeof a=="string"?n.textContent!==a&&(i.suppressHydrationWarning!==!0&&xf(n.textContent,a,e),o=["children",a]):typeof a=="number"&&n.textContent!==""+a&&(i.suppressHydrationWarning!==!0&&xf(n.textContent,a,e),o=["children",""+a]):Au.hasOwnProperty(s)&&a!=null&&s==="onScroll"&&be("scroll",n)}switch(r){case"input":lf(n),iT(n,i,!0);break;case"textarea":lf(n),aT(n);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(n.onclick=jf)}n=o,t.updateQueue=n,n!==null&&(t.flags|=4)}else{s=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=gE(r)),e==="http://www.w3.org/1999/xhtml"?r==="script"?(e=s.createElement("div"),e.innerHTML="<script></script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=s.createElement(r,{is:n.is}):(e=s.createElement(r),r==="select"&&(s=e,n.multiple?s.multiple=!0:n.size&&(s.size=n.size))):e=s.createElementNS(e,r),e[hn]=t,e[Du]=n,Ww(e,t,!1,!1),t.stateNode=e;e:{switch(s=Gg(r,n),r){case"dialog":be("cancel",e),be("close",e),o=n;break;case"iframe":case"object":case"embed":be("load",e),o=n;break;case"video":case"audio":for(o=0;o<gu.length;o++)be(gu[o],e);o=n;break;case"source":be("error",e),o=n;break;case"img":case"image":case"link":be("error",e),be("load",e),o=n;break;case"details":be("toggle",e),o=n;break;case"input":oT(e,n),o=Vg(e,n),be("invalid",e);break;case"option":o=n;break;case"select":e._wrapperState={wasMultiple:!!n.multiple},o=Ve({},n,{value:void 0}),be("invalid",e);break;case"textarea":sT(e,n),o=Hg(e,n),be("invalid",e);break;default:o=n}jg(r,o),a=o;for(i in a)if(a.hasOwnProperty(i)){var l=a[i];i==="style"?SE(e,l):i==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&yE(e,l)):i==="children"?typeof l=="string"?(r!=="textarea"||l!=="")&&Ru(e,l):typeof l=="number"&&Ru(e,""+l):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Au.hasOwnProperty(i)?l!=null&&i==="onScroll"&&be("scroll",e):l!=null&&Ny(e,i,l,s))}switch(r){case"input":lf(e),iT(e,n,!1);break;case"textarea":lf(e),aT(e);break;case"option":n.value!=null&&e.setAttribute("value",""+ei(n.value));break;case"select":e.multiple=!!n.multiple,i=n.value,i!=null?oa(e,!!n.multiple,i,!1):n.defaultValue!=null&&oa(e,!!n.multiple,n.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=jf)}switch(r){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}}n&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return wt(t),null;case 6:if(e&&t.stateNode!=null)Uw(e,t,e.memoizedProps,n);else{if(typeof n!="string"&&t.stateNode===null)throw Error(L(166));if(r=es(Fu.current),es(yn.current),Tf(t)){if(n=t.stateNode,r=t.memoizedProps,n[hn]=t,(i=n.nodeValue!==r)&&(e=hr,e!==null))switch(e.tag){case 3:xf(n.nodeValue,r,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&xf(n.nodeValue,r,(e.mode&1)!==0)}i&&(t.flags|=4)}else n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[hn]=t,t.stateNode=n}return wt(t),null;case 13:if(Pe(Be),n=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(_e&&pr
vendor: 9,996 bytes, line 8
8!==null&&t.mode&1&&!(t.flags&128))sw(),da(),t.flags|=98560,i=!1;else if(i=Tf(t),n!==null&&n.dehydrated!==null){if(e===null){if(!i)throw Error(L(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(L(317));i[hn]=t}else da(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;wt(t),i=!1}else Xr!==null&&(Iy(Xr),Xr=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=r,t):(n=n!==null,n!==(e!==null&&e.memoizedState!==null)&&n&&(t.child.flags|=8192,t.mode&1&&(e===null||Be.current&1?tt===0&&(tt=3):cv())),t.updateQueue!==null&&(t.flags|=4),wt(t),null);case 4:return pa(),yy(e,t),e===null&&_u(t.stateNode.containerInfo),wt(t),null;case 10:return Ky(t.type._context),wt(t),null;case 17:return Zt(t.type)&&Gf(),wt(t),null;case 19:if(Pe(Be),i=t.memoizedState,i===null)return wt(t),null;if(n=(t.flags&128)!==0,s=i.rendering,s===null)if(n)cu(i,!1);else{if(tt!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=Zf(e),s!==null){for(t.flags|=128,cu(i,!1),n=s.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),t.subtreeFlags=0,n=r,r=t.child;r!==null;)i=r,e=n,i.flags&=14680066,s=i.alternate,s===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,e=s.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return Ce(Be,Be.current&1|2),t.child}e=e.sibling}i.tail!==null&&$e()>ga&&(t.flags|=128,n=!0,cu(i,!1),t.lanes=4194304)}else{if(!n)if(e=Zf(s),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),cu(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!_e)return wt(t),null}else 2*$e()-i.renderingStartTime>ga&&r!==1073741824&&(t.flags|=128,n=!0,cu(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(r=i.last,r!==null?r.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=$e(),t.sibling=null,r=Be.current,Ce(Be,n?r&1|2:r&1),t):(wt(t),null);case 22:case 23:return uv(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?mr&1073741824&&(wt(t),t.subtreeFlags&6&&(t.flags|=8192)):wt(t),null;case 24:return null;case 25:return null}throw Error(L(156,t.tag))}function c_(e,t){switch(Uy(t),t.tag){case 1:return Zt(t.type)&&Gf(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return pa(),Pe(Qt),Pe(It),Zy(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Qy(t),null;case 13:if(Pe(Be),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(L(340));da()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Pe(Be),null;case 4:return pa(),null;case 10:return Ky(t.type._context),null;case 22:case 23:return uv(),null;case 24:return null;default:return null}}var Cf=!1,Ct=!1,f_=typeof WeakSet=="function"?WeakSet:Set,D=null;function ra(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){He(e,t,n)}else r.current=null}function vy(e,t,r){try{r()}catch(n){He(e,t,n)}}var QT=!1;function d_(e,t){if(ty=Wf,e=KE(),Wy(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var o=n.anchorOffset,i=n.focusNode;n=n.focusOffset;try{r.nodeType,i.nodeType}catch{r=null;break e}var s=0,a=-1,l=-1,u=0,c=0,f=e,d=null;t:for(;;){for(var p;f!==r||o!==0&&f.nodeType!==3||(a=s+o),f!==i||n!==0&&f.nodeType!==3||(l=s+n),f.nodeType===3&&(s+=f.nodeValue.length),(p=f.firstChild)!==null;)d=f,f=p;for(;;){if(f===e)break t;if(d===r&&++u===o&&(a=s),d===i&&++c===n&&(l=s),(p=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=p}r=a===-1||l===-1?null:{start:a,end:l}}else r=null}r=r||{start:0,end:0}}else r=null;for(ry={focusedElem:e,selectionRange:r},Wf=!1,D=t;D!==null;)if(t=D,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,D=e;else for(;D!==null;){t=D;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var m=v.memoizedProps,T=v.memoizedState,h=t.stateNode,g=h.getSnapshotBeforeUpdate(t.elementType===t.type?m:Kr(t.type,m),T);h.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(L(163))}}catch(x){He(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,D=e;break}D=t.return}return v=QT,QT=!1,v}function wu(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var o=n=n.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&vy(t,r,i)}o=o.next}while(o!==n)}}function pd(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function Sy(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function jw(e){var t=e.alternate;t!==null&&(e.alternate=null,jw(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[hn],delete t[Du],delete t[iy],delete t[Yk],delete t[Xk])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Gw(e){return e.tag===5||e.tag===3||e.tag===4}function ZT(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Gw(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function xy(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=jf));else if(n!==4&&(e=e.child,e!==null))for(xy(e,t,r),e=e.sibling;e!==null;)xy(e,t,r),e=e.sibling}function Ty(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(Ty(e,t,r),e=e.sibling;e!==null;)Ty(e,t,r),e=e.sibling}var yt=null,Yr=!1;function Vo(e,t,r){for(r=r.child;r!==null;)$w(e,t,r),r=r.sibling}function $w(e,t,r){if(gn&&typeof gn.onCommitFiberUnmount=="function")try{gn.onCommitFiberUnmount(sd,r)}catch{}switch(r.tag){case 5:Ct||ra(r,t);case 6:var n=yt,o=Yr;yt=null,Vo(e,t,r),yt=n,Yr=o,yt!==null&&(Yr?(e=yt,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):yt.removeChild(r.stateNode));break;case 18:yt!==null&&(Yr?(e=yt,r=r.stateNode,e.nodeType===8?Cg(e.parentNode,r):e.nodeType===1&&Cg(e,r),Ou(e)):Cg(yt,r.stateNode));break;case 4:n=yt,o=Yr,yt=r.stateNode.containerInfo,Yr=!0,Vo(e,t,r),yt=n,Yr=o;break;case 0:case 11:case 14:case 15:if(!Ct&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){o=n=n.next;do{var i=o,s=i.destroy;i=i.tag,s!==void 0&&(i&2||i&4)&&vy(r,t,s),o=o.next}while(o!==n)}Vo(e,t,r);break;case 1:if(!Ct&&(ra(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(a){He(r,t,a)}Vo(e,t,r);break;case 21:Vo(e,t,r);break;case 22:r.mode&1?(Ct=(n=Ct)||r.memoizedState!==null,Vo(e,t,r),Ct=n):Vo(e,t,r);break;default:Vo(e,t,r)}}function JT(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new f_),t.forEach(function(n){var o=T_.bind(null,e,n);r.has(n)||(r.add(n),n.then(o,o))})}}function $r(e,t){var r=t.deletions;if(r!==null)for(var n=0;n<r.length;n++){var o=r[n];try{var i=e,s=t,a=s;e:for(;a!==null;){switch(a.tag){case 5:yt=a.stateNode,Yr=!1;break e;case 3:yt=a.stateNode.containerInfo,Yr=!0;break e;case 4:yt=a.stateNode.containerInfo,Yr=!0;break e}a=a.return}if(yt===null)throw Error(L(160));$w(i,s,o),yt=null,Yr=!1;var l=o.alternate;l!==null&&(l.return=null),o.return=null}catch(u){He(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Kw(t,e),t=t.sibling}function Kw(e,t){var r=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if($r(t,e),mn(e),n&4){try{wu(3,e,e.return),pd(3,e)}catch(m){He(e,e.return,m)}try{wu(5,e,e.return)}catch(m){He(e,e.return,m)}}break;case 1:$r(t,e),mn(e),n&512&&r!==null&&ra(r,r.return);break;case 5:if($r(t,e),mn(e),n&512&&r!==null&&ra(r,r.return),e.flags&32){var o=e.stateNode;try{Ru(o,"")}catch(m){He(e,e.return,m)}}if(n&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,s=r!==null?r.memoizedProps:i,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&i.type==="radio"&&i.name!=null&&pE(o,i),Gg(a,s);var u=Gg(a,i);for(s=0;s<l.length;s+=2){var c=l[s],f=l[s+1];c==="style"?SE(o,f):c==="dangerouslySetInnerHTML"?yE(o,f):c==="children"?Ru(o,f):Ny(o,c,f,u)}switch(a){case"input":zg(o,i);break;case"textarea":hE(o,i);break;case"select":var d=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var p=i.value;p!=null?oa(o,!!i.multiple,p,!1):d!==!!i.multiple&&(i.defaultValue!=null?oa(o,!!i.multiple,i.defaultValue,!0):oa(o,!!i.multiple,i.multiple?[]:"",!1))}o[Du]=i}catch(m){He(e,e.return,m)}}break;case 6:if($r(t,e),mn(e),n&4){if(e.stateNode===null)throw Error(L(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(m){He(e,e.return,m)}}break;case 3:if($r(t,e),mn(e),n&4&&r!==null&&r.memoizedState.isDehydrated)try{Ou(t.containerInfo)}catch(m){He(e,e.return,m)}break;case 4:$r(t,e),mn(e);break;case 13:$r(t,e),mn(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(av=$e(
vendor: 4,339 bytes, line 8
8))),n&4&&JT(e);break;case 22:if(c=r!==null&&r.memoizedState!==null,e.mode&1?(Ct=(u=Ct)||c,$r(t,e),Ct=u):$r(t,e),mn(e),n&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(D=e,c=e.child;c!==null;){for(f=D=c;D!==null;){switch(d=D,p=d.child,d.tag){case 0:case 11:case 14:case 15:wu(4,d,d.return);break;case 1:ra(d,d.return);var v=d.stateNode;if(typeof v.componentWillUnmount=="function"){n=d,r=d.return;try{t=n,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(m){He(n,r,m)}}break;case 5:ra(d,d.return);break;case 22:if(d.memoizedState!==null){tE(f);continue}}p!==null?(p.return=d,D=p):tE(f)}c=c.sibling}e:for(c=null,f=e;;){if(f.tag===5){if(c===null){c=f;try{o=f.stateNode,u?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(a=f.stateNode,l=f.memoizedProps.style,s=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=vE("display",s))}catch(m){He(e,e.return,m)}}}else if(f.tag===6){if(c===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(m){He(e,e.return,m)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;c===f&&(c=null),f=f.return}c===f&&(c=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:$r(t,e),mn(e),n&4&&JT(e);break;case 21:break;default:$r(t,e),mn(e)}}function mn(e){var t=e.flags;if(t&2){try{e:{for(var r=e.return;r!==null;){if(Gw(r)){var n=r;break e}r=r.return}throw Error(L(160))}switch(n.tag){case 5:var o=n.stateNode;n.flags&32&&(Ru(o,""),n.flags&=-33);var i=ZT(e);Ty(e,i,o);break;case 3:case 4:var s=n.stateNode.containerInfo,a=ZT(e);xy(e,a,s);break;default:throw Error(L(161))}}catch(l){He(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function m_(e,t,r){D=e,Yw(e,t,r)}function Yw(e,t,r){for(var n=(e.mode&1)!==0;D!==null;){var o=D,i=o.child;if(o.tag===22&&n){var s=o.memoizedState!==null||Cf;if(!s){var a=o.alternate,l=a!==null&&a.memoizedState!==null||Ct;a=Cf;var u=Ct;if(Cf=s,(Ct=l)&&!u)for(D=o;D!==null;)s=D,l=s.child,s.tag===22&&s.memoizedState!==null?rE(o):l!==null?(l.return=s,D=l):rE(o);for(;i!==null;)D=i,Yw(i,t,r),i=i.sibling;D=o,Cf=a,Ct=u}eE(e,t,r)}else o.subtreeFlags&8772&&i!==null?(i.return=o,D=i):eE(e,t,r)}}function eE(e){for(;D!==null;){var t=D;if(t.flags&8772){var r=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Ct||pd(5,t);break;case 1:var n=t.stateNode;if(t.flags&4&&!Ct)if(r===null)n.componentDidMount();else{var o=t.elementType===t.type?r.memoizedProps:Kr(t.type,r.memoizedProps);n.componentDidUpdate(o,r.memoizedState,n.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&BT(t,i,n);break;case 3:var s=t.updateQueue;if(s!==null){if(r=null,t.child!==null)switch(t.child.tag){case 5:r=t.child.stateNode;break;case 1:r=t.child.stateNode}BT(t,s,r)}break;case 5:var a=t.stateNode;if(r===null&&t.flags&4){r=a;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&r.focus();break;case"img":l.src&&(r.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var f=c.dehydrated;f!==null&&Ou(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(L(163))}Ct||t.flags&512&&Sy(t)}catch(d){He(t,t.return,d)}}if(t===e){D=null;break}if(r=t.sibling,r!==null){r.return=t.return,D=r;break}D=t.return}}function tE(e){for(;D!==null;){var t=D;if(t===e){D=null;break}var r=t.sibling;if(r!==null){r.return=t.return,D=r;break}D=t.return}}function rE(e){for(;D!==null;){var t=D;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{pd(4,t)}catch(l){He(t,r,l)}break;case 1:var n=t.stateNode;if(typeof n.componentDidMount=="function"){var o=t.return;try{n.componentDidMount()}catch(l){He(t,o,l)}}var i=t.return;try{Sy(t)}catch(l){He(t,i,l)}break;case 5:var s=t.return;try{Sy(t)}catch(l){He(t,s,l)}}}catch(l){He(t,t.return,l)}if(t===e){D=null;break}var a=t.sibling;if(a!==null){a.return=t.return,D=a;break}D=t.return}}var p_=Math.ceil,td=ro.ReactCurrentDispatcher,iv=ro.ReactCurrentOwner,Or=ro.ReactCurrentBatchConfig,le=0,lt=null,Xe=null,vt=0,mr=0,na=ni(0),tt=0,Hu=null,ss=0,hd=0,sv=0,Cu=null,Xt=null,av
vendor: 7,997 bytes, line 8
8=0,ga=1/0,Kn=null,rd=!1,Ey=null,Qo=null,If=!1,Go=null,nd=0,Iu=0,wy=null,kf=-1,_f=0;function Bt(){return le&6?$e():kf!==-1?kf:kf=$e()}function Zo(e){return e.mode&1?le&2&&vt!==0?vt&-vt:Qk.transition!==null?(_f===0&&(_f=OE()),_f):(e=ye,e!==0||(e=window.event,e=e===void 0?16:FE(e.type)),e):1}function Qr(e,t,r,n){if(50<Iu)throw Iu=0,wy=null,Error(L(185));Uu(e,r,n),(!(le&2)||e!==lt)&&(e===lt&&(!(le&2)&&(hd|=r),tt===4&&Uo(e,vt)),Jt(e,n),r===1&&le===0&&!(t.mode&1)&&(ga=$e()+500,fd&&oi()))}function Jt(e,t){var r=e.callbackNode;JL(e,t);var n=zf(e,e===lt?vt:0);if(n===0)r!==null&&cT(r),e.callbackNode=null,e.callbackPriority=0;else if(t=n&-n,e.callbackPriority!==t){if(r!=null&&cT(r),t===1)e.tag===0?qk(nE.bind(null,e)):nw(nE.bind(null,e)),$k(function(){!(le&6)&&oi()}),r=null;else{switch(LE(n)){case 1:r=ky;break;case 4:r=bE;break;case 16:r=Vf;break;case 536870912:r=PE;break;default:r=Vf}r=rC(r,Xw.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function Xw(e,t){if(kf=-1,_f=0,le&6)throw Error(L(327));var r=e.callbackNode;if(ua()&&e.callbackNode!==r)return null;var n=zf(e,e===lt?vt:0);if(n===0)return null;if(n&30||n&e.expiredLanes||t)t=od(e,n);else{t=n;var o=le;le|=2;var i=Qw();(lt!==e||vt!==t)&&(Kn=null,ga=$e()+500,ts(e,t));do try{y_();break}catch(a){qw(e,a)}while(1);$y(),td.current=i,le=o,Xe!==null?t=0:(lt=null,vt=0,t=tt)}if(t!==0){if(t===2&&(o=qg(e),o!==0&&(n=o,t=Cy(e,o))),t===1)throw r=Hu,ts(e,0),Uo(e,n),Jt(e,$e()),r;if(t===6)Uo(e,n);else{if(o=e.current.alternate,!(n&30)&&!h_(o)&&(t=od(e,n),t===2&&(i=qg(e),i!==0&&(n=i,t=Cy(e,i))),t===1))throw r=Hu,ts(e,0),Uo(e,n),Jt(e,$e()),r;switch(e.finishedWork=o,e.finishedLanes=n,t){case 0:case 1:throw Error(L(345));case 2:Qi(e,Xt,Kn);break;case 3:if(Uo(e,n),(n&130023424)===n&&(t=av+500-$e(),10<t)){if(zf(e,0)!==0)break;if(o=e.suspendedLanes,(o&n)!==n){Bt(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=oy(Qi.bind(null,e,Xt,Kn),t);break}Qi(e,Xt,Kn);break;case 4:if(Uo(e,n),(n&4194240)===n)break;for(t=e.eventTimes,o=-1;0<n;){var s=31-qr(n);i=1<<s,s=t[s],s>o&&(o=s),n&=~i}if(n=o,n=$e()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*p_(n/1960))-n,10<n){e.timeoutHandle=oy(Qi.bind(null,e,Xt,Kn),n);break}Qi(e,Xt,Kn);break;case 5:Qi(e,Xt,Kn);break;default:throw Error(L(329))}}}return Jt(e,$e()),e.callbackNode===r?Xw.bind(null,e):null}function Cy(e,t){var r=Cu;return e.current.memoizedState.isDehydrated&&(ts(e,t).flags|=256),e=od(e,t),e!==2&&(t=Xt,Xt=r,t!==null&&Iy(t)),e}function Iy(e){Xt===null?Xt=e:Xt.push.apply(Xt,e)}function h_(e){for(var t=e;;){if(t.flags&16384){var r=t.updateQueue;if(r!==null&&(r=r.stores,r!==null))for(var n=0;n<r.length;n++){var o=r[n],i=o.getSnapshot;o=o.value;try{if(!Zr(i(),o))return!1}catch{return!1}}}if(r=t.child,t.subtreeFlags&16384&&r!==null)r.return=t,t=r;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 Uo(e,t){for(t&=~sv,t&=~hd,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-qr(t),n=1<<r;e[r]=-1,t&=~n}}function nE(e){if(le&6)throw Error(L(327));ua();var t=zf(e,0);if(!(t&1))return Jt(e,$e()),null;var r=od(e,t);if(e.tag!==0&&r===2){var n=qg(e);n!==0&&(t=n,r=Cy(e,n))}if(r===1)throw r=Hu,ts(e,0),Uo(e,t),Jt(e,$e()),r;if(r===6)throw Error(L(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Qi(e,Xt,Kn),Jt(e,$e()),null}function lv(e,t){var r=le;le|=1;try{return e(t)}finally{le=r,le===0&&(ga=$e()+500,fd&&oi())}}function as(e){Go!==null&&Go.tag===0&&!(le&6)&&ua();var t=le;le|=1;var r=Or.transition,n=ye;try{if(Or.transition=null,ye=1,e)return e()}finally{ye=n,Or.transition=r,le=t,!(le&6)&&oi()}}function uv(){mr=na.current,Pe(na)}function ts(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,Gk(r)),Xe!==null)for(r=Xe.return;r!==null;){var n=r;switch(Uy(n),n.tag){case 1:n=n.type.childContextTypes,n!=null&&Gf();break;case 3:pa(),Pe(Qt),Pe(It),Zy();break;case 5:Qy(n);break;case 4:pa();break;case 13:Pe(Be);break;case 19:Pe(Be);break;case 10:Ky(n.type._context);break;case 22:case 23:uv()}r=r.return}if(lt=e,Xe=e=Jo(e.current,null),vt=mr=t,tt=0,Hu=null,sv=hd=ss=0,Xt=Cu=null,Ji!==null){for(t=0;t<Ji.length;t++)if(r=Ji[t],n=r.interleaved,n!==null){r.interleaved=null;var o=n.next,i=r.pending;if(i!==null){var s=i.next;i.next=o,n.next=s}r.pending=n}Ji=null}return e}function qw(e,t){do{var r=Xe;try{if($y(),Pf.current=ed,Jf){for(var n=Fe.memoizedState;n!==null;){var o=n.queue;o!==null&&(o.pending=null),n=n.next}Jf=!1}if(is=0,at=et=Fe=null,Eu=!1,Vu=0,iv.current=null,r===null||r.return===null){tt=1,Hu=t,Xe=null;break}e:{var i=e,s=r.return,a=r,l=t;if(t=vt,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,c=a,f=c.tag;if(!(c.mode&1)&&(f===0||f===11||f===15)){var d=c.alternate;d?(c.updateQueue=d.updateQueue,c.memoizedState=d.memoizedState,c.lanes=d.lanes):(c.updateQueue=null,c.memoizedState=null)}var p=jT(s);if(p!==null){p.flags&=-257,GT(p,s,a,i,t),p.mode&1&&UT(i,u,t),t=p,l=u;var v=t.updateQueue;if(v===null){var m=new Set;m.add(l),t.updateQueue=m}else v.add(l);break e}else{if(!(t&1)){UT(i,u,t),cv();break e}l=Error(L(426))}}else if(_e&&a.mode&1){var T=jT(s);if(T!==null){!(T.flags&65536)&&(T.flags|=256),GT(T,s,a,i,t),jy(ha(l,a));break e}}i=l=ha(l,a),tt!==4&&(tt=2),Cu===null?Cu=[i]:Cu.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var h=kw(i,l,t);DT(i,h);break e;case 1:a=l;var g=i.type,y=i.stateNode;if(!(i.flags&128)&&(typeof g.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(Qo===null||!Qo.has(y)))){i.flags|=65536,t&=-t,i.lanes|=t;var x=_w(i,a,t);DT(i,x);break e}}i=i.return}while(i!==null)}Jw(r)}catch(S){t=S,Xe===r&&r!==null&&(Xe=r=r.return);continue}break}while(1)}function Qw(){var e=td.current;return td.current=ed,e===null?ed:e}function cv(){(tt===0||tt===3||tt===2)&&(tt=4),lt===null||!(ss&268435455)&&!(hd&268435455)||Uo(lt,vt)}function od(e,t){var r=le;le|=2;var n=Qw();(lt!==e||vt!==t)&&(Kn=null,ts(e,t));do try{g_();break}catch(o){qw(e,o)}while(1);if($y(),le=r,td.current=n,Xe!==null)throw Error(L(261));return lt=null,vt=0,tt}function g_(){for(;Xe!==null;)Zw(Xe)}function y_(){for(;Xe!==null&&!jL();)Zw(Xe)}function Zw(e){var t=tC(e.alternate,e,mr);e.memoizedProps=e.pendingProps,t===null?Jw(e):Xe=t,iv.current=null}function Jw(e){var t=e;do{var r=t.alternate;if(e=t.return,t.flags&32768){if(r=c_(r,t),r!==null){r.flags&=32767,Xe=r;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{tt=6,Xe=null;return}}else if(r=u_(r,t,mr),r!==null){Xe=r;return}if(t=t.sibling,t!==null){Xe=t;return}Xe=t=e}while(t!==null);tt===0&&(tt=5)}function Qi(e,t,r){var n=ye,o=Or.transition;try{Or.transition=null,ye=1,v_(e,t,r,n)}finally{Or.transition=o,ye=n}return null}function v_(e,t,r,n){do ua();while(Go!==null);if(le&6)throw Error(L(327));r=e.finishedWork;var o=e.finishedLanes;if(r===null)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(L(177));e.callbackNode=null,e.callbackPriority=0;var i=r.lanes|r.childLanes;if(ek(e,i),e===lt&&(Xe=lt=null,vt=0),!(r.subtreeFlags&2064)&&!(r.flags&2064)||If||(If=!0,rC(Vf,function(){return ua(),null})),i=(r.flags&15990)!==0,r.subtreeFlags&15990||i){i=Or.transition,Or.transition=null;var s=ye;ye=1;var a=le;le|=4,iv.current=null,d_(e,r),Kw(r,e),zk(ry),Wf=!!ty,ry=ty=null,e.current=r,m_(r,e,o),GL(),le=a,ye=s,Or.transition=i}else e.current=r;if(If&&(If=!1,Go=e,nd=o),i=e.pendingLanes,i===0&&(Qo=null),YL(r.stateNode,n),Jt(e,$e()),t!==null)for(n=e.onRecoverableError,r=0;r<t.length;r++)o=t[r],n(o.value,{componentStack:o.stack,digest:o.digest});if(rd)throw rd=!1,e=Ey,Ey=null,e;return nd&1&&e.tag!==0&&ua(),i=e.pendingLanes,i&1?e===wy?Iu++:(Iu=0,wy=e):Iu=0,oi(),null}function ua(){if(Go!==null){var e=LE(nd),t=Or.transition,r=ye;try{if(Or.transition=null,ye=16>e?16:e,Go===null)var n=!1;else{if(e=Go,Go=null,nd=0,le&6)throw Error(L(331));var o=le;for(le|=4,D=e.current;D!==null;
vendor: 4,915 bytes, line 8
8){var i=D,s=i.child;if(D.flags&16){var a=i.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(D=u;D!==null;){var c=D;switch(c.tag){case 0:case 11:case 15:wu(8,c,i)}var f=c.child;if(f!==null)f.return=c,D=f;else for(;D!==null;){c=D;var d=c.sibling,p=c.return;if(jw(c),c===u){D=null;break}if(d!==null){d.return=p,D=d;break}D=p}}}var v=i.alternate;if(v!==null){var m=v.child;if(m!==null){v.child=null;do{var T=m.sibling;m.sibling=null,m=T}while(m!==null)}}D=i}}if(i.subtreeFlags&2064&&s!==null)s.return=i,D=s;else e:for(;D!==null;){if(i=D,i.flags&2048)switch(i.tag){case 0:case 11:case 15:wu(9,i,i.return)}var h=i.sibling;if(h!==null){h.return=i.return,D=h;break e}D=i.return}}var g=e.current;for(D=g;D!==null;){s=D;var y=s.child;if(s.subtreeFlags&2064&&y!==null)y.return=s,D=y;else e:for(s=g;D!==null;){if(a=D,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:pd(9,a)}}catch(S){He(a,a.return,S)}if(a===s){D=null;break e}var x=a.sibling;if(x!==null){x.return=a.return,D=x;break e}D=a.return}}if(le=o,oi(),gn&&typeof gn.onPostCommitFiberRoot=="function")try{gn.onPostCommitFiberRoot(sd,e)}catch{}n=!0}return n}finally{ye=r,Or.transition=t}}return!1}function oE(e,t,r){t=ha(r,t),t=kw(e,t,1),e=qo(e,t,1),t=Bt(),e!==null&&(Uu(e,1,t),Jt(e,t))}function He(e,t,r){if(e.tag===3)oE(e,e,r);else for(;t!==null;){if(t.tag===3){oE(t,e,r);break}else if(t.tag===1){var n=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(Qo===null||!Qo.has(n))){e=ha(r,e),e=_w(t,e,1),t=qo(t,e,1),e=Bt(),t!==null&&(Uu(t,1,e),Jt(t,e));break}}t=t.return}}function S_(e,t,r){var n=e.pingCache;n!==null&&n.delete(t),t=Bt(),e.pingedLanes|=e.suspendedLanes&r,lt===e&&(vt&r)===r&&(tt===4||tt===3&&(vt&130023424)===vt&&500>$e()-av?ts(e,0):sv|=r),Jt(e,t)}function eC(e,t){t===0&&(e.mode&1?(t=ff,ff<<=1,!(ff&130023424)&&(ff=4194304)):t=1);var r=Bt();e=eo(e,t),e!==null&&(Uu(e,t,r),Jt(e,r))}function x_(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),eC(e,r)}function T_(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,o=e.memoizedState;o!==null&&(r=o.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(L(314))}n!==null&&n.delete(t),eC(e,r)}var tC;tC=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||Qt.current)qt=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return qt=!1,l_(e,t,r);qt=!!(e.flags&131072)}else qt=!1,_e&&t.flags&1048576&&ow(t,Yf,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;Lf(e,t),e=t.pendingProps;var o=fa(t,It.current);la(t,r),o=ev(null,t,n,e,o,r);var i=tv();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Zt(n)?(i=!0,$f(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Xy(t),o.updater=dd,t.stateNode=o,o._reactInternals=t,fy(t,n,e,r),t=py(null,t,n,!0,i,r)):(t.tag=0,_e&&i&&Hy(t),Dt(null,t,o,r),t=t.child),t;case 16:n=t.elementType;e:{switch(Lf(e,t),e=t.pendingProps,o=n._init,n=o(n._payload),t.type=n,o=t.tag=w_(n),e=Kr(n,e),o){case 0:t=my(null,t,n,e,r);break e;case 1:t=YT(null,t,n,e,r);break e;case 11:t=$T(null,t,n,e,r);break e;case 14:t=KT(null,t,n,Kr(n.type,e),r);break e}throw Error(L(306,n,""))}return t;case 0:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:Kr(n,o),my(e,t,n,o,r);case 1:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:Kr(n,o),YT(e,t,n,o,r);case 3:e:{if(Fw(t),e===null)throw Error(L(387));n=t.pendingProps,i=t.memoizedState,o=i.element,lw(e,t),Qf(t,n,null,r);var s=t.memoizedState;if(n=s.element,i.isDehydrated)if(i={element:n,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=ha(Error(L(423)),t),t=XT(e,t,n,r,o);break e}else if(n!==o){o=ha(Error(L(424)),t),t=XT(e,t,n,r,o);break e}else for(pr=Xo(t.stateNode.containerInfo.firstChild),hr=t,_e=!0,Xr=null,r=dw(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(da(),n===o){t=to(e,t,r);break e}Dt(e,t,n,r)}t=t.child}return t;case 5:return mw(t),e===null&&ly(t),n=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,ny(n,o)?s=null:i!==null&&ny(n,i)&&(t.flags|=32),Bw(e,t),Dt(e,t,s,r),t.child;case 6:return e===null&&ly(t),null;case 13:return Vw(e,t,r);case 4:return qy(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=ma(t,null,n,r):Dt(e,t,n,r),t.child;case 11:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:Kr(n,o),$T(e,t,n,o,r);case 7:return Dt(e,t,t.pendingProps,r),t.child;case 8:return Dt(e,t,t.pendingProps.children,r),t.child;case 12:return Dt(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,Ce(Xf,n._currentValue),n._currentValue=s,i!==null)if(Zr(i.value,s)){if(i.children===o.children&&!Qt.current){t=to(e,t,r);break e}}else for(i=t.child,i!==null&&(i.return=t);
vendor: 4,300 bytes, line 8
8i!==null;){var a=i.dependencies;if(a!==null){s=i.child;for(var l=a.firstContext;l!==null;){if(l.context===n){if(i.tag===1){l=Qn(-1,r&-r),l.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}i.lanes|=r,l=i.alternate,l!==null&&(l.lanes|=r),uy(i.return,r,t),a.lanes|=r;break}l=l.next}}else if(i.tag===10)s=i.type===t.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(L(341));s.lanes|=r,a=s.alternate,a!==null&&(a.lanes|=r),uy(s,r,t),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===t){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}Dt(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,n=t.pendingProps.children,la(t,r),o=Lr(o),n=n(o),t.flags|=1,Dt(e,t,n,r),t.child;case 14:return n=t.type,o=Kr(n,t.pendingProps),o=Kr(n.type,o),KT(e,t,n,o,r);case 15:return Mw(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:Kr(n,o),Lf(e,t),t.tag=1,Zt(n)?(e=!0,$f(t)):e=!1,la(t,r),cw(t,n,o),fy(t,n,o,r),py(null,t,n,!0,e,r);case 19:return zw(e,t,r);case 22:return Dw(e,t,r)}throw Error(L(156,t.tag))};function rC(e,t){return NE(e,t)}function E_(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Pr(e,t,r,n){return new E_(e,t,r,n)}function fv(e){return e=e.prototype,!(!e||!e.isReactComponent)}function w_(e){if(typeof e=="function")return fv(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Py)return 11;if(e===Oy)return 14}return 2}function Jo(e,t){var r=e.alternate;return r===null?(r=Pr(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Mf(e,t,r,n,o,i){var s=2;if(n=e,typeof e=="function")fv(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Ks:return rs(r.children,o,i,t);case by:s=8,o|=8;break;case Mg:return e=Pr(12,r,t,o|2),e.elementType=Mg,e.lanes=i,e;case Dg:return e=Pr(13,r,t,o),e.elementType=Dg,e.lanes=i,e;case Bg:return e=Pr(19,r,t,o),e.elementType=Bg,e.lanes=i,e;case fE:return gd(r,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case uE:s=10;break e;case cE:s=9;break e;case Py:s=11;break e;case Oy:s=14;break e;case zo:s=16,n=null;break e}throw Error(L(130,e==null?e:typeof e,""))}return t=Pr(s,r,t,o),t.elementType=e,t.type=n,t.lanes=i,t}function rs(e,t,r,n){return e=Pr(7,e,n,t),e.lanes=r,e}function gd(e,t,r,n){return e=Pr(22,e,n,t),e.elementType=fE,e.lanes=r,e.stateNode={isHidden:!1},e}function Lg(e,t,r){return e=Pr(6,e,null,t),e.lanes=r,e}function kg(e,t,r){return t=Pr(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function C_(e,t,r,n,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gg(0),this.expirationTimes=gg(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gg(0),this.identifierPrefix=n,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function dv(e,t,r,n,o,i,s,a,l){return e=new C_(e,t,r,a,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Pr(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Xy(i),e}function I_(e,t,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;
vendor: 4,590 bytes, line 8
8return{$$typeof:$s,key:n==null?null:""+n,children:e,containerInfo:t,implementation:r}}function nC(e){if(!e)return ti;e=e._reactInternals;e:{if(us(e)!==e||e.tag!==1)throw Error(L(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Zt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(L(171))}if(e.tag===1){var r=e.type;if(Zt(r))return rw(e,r,t)}return t}function oC(e,t,r,n,o,i,s,a,l){return e=dv(r,n,!0,e,o,i,s,a,l),e.context=nC(null),r=e.current,n=Bt(),o=Zo(r),i=Qn(n,o),i.callback=t??null,qo(r,i,o),e.current.lanes=o,Uu(e,o,n),Jt(e,n),e}function yd(e,t,r,n){var o=t.current,i=Bt(),s=Zo(o);return r=nC(r),t.context===null?t.context=r:t.pendingContext=r,t=Qn(i,s),t.payload={element:e},n=n===void 0?null:n,n!==null&&(t.callback=n),e=qo(o,t,s),e!==null&&(Qr(e,o,s,i),bf(e,o,s)),s}function id(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function iE(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function mv(e,t){iE(e,t),(e=e.alternate)&&iE(e,t)}function A_(){return null}var iC=typeof reportError=="function"?reportError:function(e){console.error(e)};function pv(e){this._internalRoot=e}vd.prototype.render=pv.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(L(409));yd(e,t,null,null)};vd.prototype.unmount=pv.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;as(function(){yd(null,e,null,null)}),t[Jn]=null}};function vd(e){this._internalRoot=e}vd.prototype.unstable_scheduleHydration=function(e){if(e){var t=ME();e={blockedOn:null,target:e,priority:t};for(var r=0;r<Ho.length&&t!==0&&t<Ho[r].priority;r++);Ho.splice(r,0,e),r===0&&BE(e)}};function hv(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Sd(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function sE(){}function R_(e,t,r,n,o){if(o){if(typeof n=="function"){var i=n;n=function(){var u=id(s);i.call(u)}}var s=oC(t,n,e,0,null,!1,!1,"",sE);return e._reactRootContainer=s,e[Jn]=s.current,_u(e.nodeType===8?e.parentNode:e),as(),s}for(;o=e.lastChild;)e.removeChild(o);if(typeof n=="function"){var a=n;n=function(){var u=id(l);a.call(u)}}var l=dv(e,0,!1,null,null,!1,!1,"",sE);return e._reactRootContainer=l,e[Jn]=l.current,_u(e.nodeType===8?e.parentNode:e),as(function(){yd(t,l,r,n)}),l}function xd(e,t,r,n,o){var i=r._reactRootContainer;if(i){var s=i;if(typeof o=="function"){var a=o;o=function(){var l=id(s);a.call(l)}}yd(t,s,e,o)}else s=R_(r,t,e,o,n);return id(s)}kE=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=hu(t.pendingLanes);r!==0&&(_y(t,r|1),Jt(t,$e()),!(le&6)&&(ga=$e()+500,oi()))}break;case 13:as(function(){var n=eo(e,1);if(n!==null){var o=Bt();Qr(n,e,1,o)}}),mv(e,1)}};My=function(e){if(e.tag===13){var t=eo(e,134217728);if(t!==null){var r=Bt();Qr(t,e,134217728,r)}mv(e,134217728)}};_E=function(e){if(e.tag===13){var t=Zo(e),r=eo(e,t);if(r!==null){var n=Bt();Qr(r,e,t,n)}mv(e,t)}};ME=function(){return ye};DE=function(e,t){var r=ye;try{return ye=e,t()}finally{ye=r}};Kg=function(e,t,r){switch(t){case"input":if(zg(e,r),t=r.name,r.type==="radio"&&t!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var o=cd(n);if(!o)throw Error(L(90));mE(n),zg(n,o)}}}break;case"textarea":hE(e,r);break;case"select":t=r.value,t!=null&&oa(e,!!r.multiple,t,!1)}};EE=lv;wE=as;var N_={usingClientEntryPoint:!1,Events:[Gu,Qs,cd,xE,TE,lv]},fu={findFiberByHostInstance:Zi,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},b_={bundleType:fu.bundleType,version:fu.version,rendererPackageName:fu.rendererPackageName,rendererConfig:fu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:ro.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=AE(e),e===null?null:e.stateNode},findFiberByHostInstance:fu.findFiberByHostInstance||A_,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};
8if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(du=__REACT_DEVTOOLS_GLOBAL_HOOK__,!du.isDisabled&&du.supportsFiber))try{sd=du.inject(b_),gn=du}catch{}var du;vr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=N_;vr.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!hv(t))throw Error(L(200));return I_(e,t,null,r)};vr.createRoot=function(e,t){if(!hv(e))throw Error(L(299));var r=!1,n="",o=iC;return t!=null&&(t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=dv(e,1,!1,null,null,r,!1,n,o),e[Jn]=t.current,_u(e.nodeType===8?e.parentNode:e),new pv(t)};vr.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(L(188)):(e=Object.keys(e).join(","),Error(L(268,e)));return e=AE(t),e=e===null?null:e.stateNode,e};vr.flushSync=function(e){return as(e)};vr.hydrate=function(e,t,r){if(!Sd(t))throw Error(L(200));return xd(null,e,t,!0,r)};vr.hydrateRoot=function(e,t,r){if(!hv(e))throw Error(L(405));var n=r!=null&&r.hydratedSources||null,o=!1,i="",s=iC;if(r!=null&&(r.unstable_strictMode===!0&&(o=!0),r.identifierPrefix!==void 0&&(i=r.identifierPrefix),r.onRecoverableError!==void 0&&(s=r.onRecoverableError)),t=oC(t,null,e,1,r??null,o,!1,i,s),e[Jn]=t.current,_u(e),n)for(e=0;e<n.length;e++)r=n[e],o=r._getVersion,o=o(r._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[r,o]:t.mutableSourceEagerHydrationData.push(r,o);return new vd(t)};vr.render=function(e,t,r){if(!Sd(t))throw Error(L(200));return xd(null,e,t,!1,r)};vr.unmountComponentAtNode=function(e){if(!Sd(e))throw Error(L(40));return e._reactRootContainer?(as(function(){xd(null,null,e,!1,function(){e._reactRootContainer=null,e[Jn]=null})}),!0):!1};vr.unstable_batchedUpdates=lv;vr.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!Sd(r))throw Error(L(200));if(e==null||e._reactInternals===void 0)throw Error(L(38));return xd(e,t,r,!1,n)};vr.version="18.2.0-next-9e3b772b8-20220608"});var Td=fr((wW,lC)=>{"use strict";function aC(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(aC)}catch(e){console.error(e)}}aC(),lC.exports=sC()});var Ed=fr(gv=>{"use strict";var uC=Td();gv.createRoot=uC.createRoot,gv.hydrateRoot=uC.hydrateRoot;var CW});var xC=fr(Id=>{"use strict";var z_=O(),W_=Symbol.for("react.element"),H_=Symbol.for("react.fragment"),U_=Object.prototype.hasOwnProperty,j_=z_.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,G_={key:!0,ref:!0,__self:!0,__source:!0};function SC(e,t,r){var n,o={},i=null,s=null;r!==void 0&&(i=""+r),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(s=t.ref);for(n in t)U_.call(t,n)&&!G_.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps,t)o[n]===void 0&&(o[n]=t[n]);return{$$typeof:W_,type:e,key:i,ref:s,props:o,_owner:j_.current}}Id.Fragment=H_;Id.jsx=SC;Id.jsxs=SC});var G=fr((PW,TC)=>{"use strict";TC.exports=xC()});var Zv=fr((qI,Zd)=>{(function(e,t,r){typeof Zd<"u"&&Zd.exports?Zd.exports=r():typeof define=="function"&&define.amd?define(t,r):e[t]=r()})(qI,"bowser",function(){var e=!0;function t(l){function u(K){var te=l.match(K);return te&&te.length>1&&te[1]||""}function c(K){var te=l.match(K);return te&&te.length>1&&te[2]||""}var f=u(/(ipod|iphone|ipad)/i).toLowerCase(),d=/like android/i.test(l),p=!d&&/android/i.test(l),v=/nexus\s*[0-6]\s*/i.test(l),m=!v&&/nexus\s*[0-9]+/i.test(l),T=/CrOS/.test(l),h=/silk/i.test(l),g=/sailfish/i.test(l),y=/tizen/i.test(l),x=/(web|hpw)os/i.test(l),S=/windows phone/i.test(l),E=/SamsungBrowser/i.test(l),w=!S&&/windows/i.test(l),C=!f&&!h&&/macintosh/i.test(l),N=!p&&!g&&!y&&!x&&/linux/i.test(l),I=c(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),b=u(/version\/(\d+(\.\d+)?)/i),P=/tablet/i.test(l)&&!/tablet pc/i.test(l),k=!P&&/[^-]mobi/i.test(l),B=/xbox/i.test(l),A;/opera/i.test(l)?A={name:"Opera",opera:e,version:b||u(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(l)?A={name:"Opera",opera:e,version:u(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||b}:/SamsungBrowser/i.test(l)?A={name:"Samsung Internet for Android",samsungBrowser:e,version:b||u(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/coast/i.test(l)?A={name:"Opera Coast",coast:e,version:b||u(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/yabrowser/i.test(l)?A={name:"Yandex Browser",yandexbrowser:e,version:b||u(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(l)?A={name:"UC Browser",ucbrowser:e,version:u(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(l)?A={name:"Maxthon",maxthon:e,version:u(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(l)?A={name:"Epiphany",epiphany:e,version:u(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(l)?A={name:"Puffin",puffin:e,version:u(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(l)?A={name:"Sleipnir",sleipnir:e,version:u(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(l)?A={name:"K-Meleon",kMeleon:e,version:u(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:S?(A={name:"Windows Phone",osname:"Windows Phone",windowsphone:e},I?(A.msedge=e,A.version=I):(A.msie=e,A.version=u(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(l)?A={name:"Internet Explorer",msie:e,version:u(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:T?A={name:"Chrome",osname:"Chrome OS",chromeos:e,chromeBook:e,chrome:e,version:u(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(l)?A={name:"Microsoft Edge",msedge:e,version:I}:/vivaldi/i.test(l)?A={name:"Vivaldi",vivaldi:e,version:u(/vivaldi\/(\d+(\.\d+)?)/i)||b}:g?A={name:"Sailfish",osname:"Sailfish OS",sailfish:e,version:u(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(l)?A={name:"SeaMonkey",seamonkey:e,version:u(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(l)?(A={name:"Firefox",firefox:e,version:u(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(l)&&(A.firefoxos=e,A.osname="Firefox OS")):h?A={name:"Amazon Silk",silk:e,version:u(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(l)?A={name:"PhantomJS",phantom:e,version:u(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(l)?A={name:"SlimerJS",slimer:e,version:u(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(l)||/rim\stablet/i.test(l)?A={name:"BlackBerry",osname:"BlackBerry OS",blackberry:e,version:b||u(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:x?(A={name:"WebOS",osname:"WebOS",webos:e,version:b||u(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(l)&&(A.touchpad=e)):/bada/i.test(l)?A={name:"Bada",osname:"Bada",bada:e,version:u(/dolfin\/(\d+(\.\d+)?)/i)}:y?A={name:"Tizen",osname:"Tizen",tizen:e,version:u(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||b}:/qupzilla/i.test(l)?A={name:"QupZilla",qupzilla:e,version:u(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||b}:/chromium/i.test(l)?A={name:"Chromium",chromium:e,version:u(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||b}:/chrome|crios|crmo/i.test(l)?A={name:"Chrome",chrome:e,version:u(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:p?A={name:"Android",version:b}:/safari|applewebkit/i.test(l)?(A={name:"Safari",safari:e},b&&(A.version=b)):f?(A={name:f=="iphone"?"iPhone":f=="ipad"?"iPad":"iPod"},b&&(A.version=b)):/googlebot/i.test(l)?A={name:"Googlebot",googlebot:e,version:u(/googlebot\/(\d+(\.\d+))/i)||b}:A={name:u(/^(.*)\/(.*) /),version:c(/^(.*)\/(.*) /)},!A.msedge&&/(apple)?webkit/i.test(l)?(/(apple)?webkit\/537\.36/i.test(l)?(A.name=A.name||"Blink",A.blink=e):(A.name=A.name||"Webkit",A.webkit=e),!A.version&&b&&(A.version=b)):!A.opera&&/gecko\//i.test(l)&&(A.name=A.name||"Gecko",A.gecko=e,A.version=A.version||u(/gecko\/(\d+(\.\d+)?)/i)),!A.windowsphone&&(p||A.silk)?(A.android=e,A.osname="Android"):!A.windowsphone&&f?(A[f]=e,A.ios=e,A.osname="iOS"):C?(A.mac=e,A.osname="macOS"):B?(A.xbox=e,A.osname="Xbox"):w?(A.windows=e,A.osname="Windows"):N&&(A.linux=e,A.osname="Linux");function U(K){switch(K){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}var M="";A.windows?M=U(u(/Windows ((NT|XP)( \d\d?.\d)?)/i)):A.windowsphone?M=u(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):A.mac?(
8M=u(/Mac OS X (\d+([_\.\s]\d+)*)/i),M=M.replace(/[_\s]/g,".")):f?(M=u(/os (\d+([_\s]\d+)*) like mac os x/i),M=M.replace(/[_\s]/g,".")):p?M=u(/android[ \/-](\d+(\.\d+)*)/i):A.webos?M=u(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):A.blackberry?M=u(/rim\stablet\sos\s(\d+(\.\d+)*)/i):A.bada?M=u(/bada\/(\d+(\.\d+)*)/i):A.tizen&&(M=u(/tizen[\/\s](\d+(\.\d+)*)/i)),M&&(A.osversion=M);var H=!A.windows&&M.split(".")[0];return P||m||f=="ipad"||p&&(H==3||H>=4&&!k)||A.silk?A.tablet=e:(k||f=="iphone"||f=="ipod"||p||v||A.blackberry||A.webos||A.bada)&&(A.mobile=e),A.msedge||A.msie&&A.version>=10||A.yandexbrowser&&A.version>=15||A.vivaldi&&A.version>=1||A.chrome&&A.version>=20||A.samsungBrowser&&A.version>=4||A.firefox&&A.version>=20||A.safari&&A.version>=6||A.opera&&A.version>=10||A.ios&&A.osversion&&A.osversion.split(".")[0]>=6||A.blackberry&&A.version>=10.1||A.chromium&&A.version>=20?A.a=e:A.msie&&A.version<10||A.chrome&&A.version<20||A.firefox&&A.version<20||A.safari&&A.version<6||A.opera&&A.version<10||A.ios&&A.osversion&&A.osversion.split(".")[0]<6||A.chromium&&A.version<20?A.c=e:A.x=e,A}var r=t(typeof navigator<"u"&&navigator.userAgent||"");r.test=function(l){for(var u=0;u<l.length;++u){var c=l[u];if(typeof c=="string"&&c in r)return!0}return!1};function n(l){return l.split(".").length}function o(l,u){var c=[],f;if(Array.prototype.map)return Array.prototype.map.call(l,u);for(f=0;f<l.length;f++)c.push(u(l[f]));return c}function i(l){for(var u=Math.max(n(l[0]),n(l[1])),c=o(l,function(f){var d=u-n(f);return f=f+new Array(d+1).join(".0"),o(f.split("."),function(p){return new Array(20-p.length).join("0")+p}).reverse()});--u>=0;){if(c[0][u]>c[1][u])return 1;if(c[0][u]===c[1][u]){if(u===0)return 0}else return-1}}function s(l,u,c){var f=r;typeof u=="string"&&(c=u,u=void 0),u===void 0&&(u=!1),c&&(f=t(c));var d=""+f.version;for(var p in l)if(l.hasOwnProperty(p)&&f[p]){if(typeof l[p]!="string")throw new Error("Browser version in the minVersion map should be a string: "+p+": "+String(l));return i([d,l[p]])<0}return u}function a(l,u,c){return!s(l,u,c)}return r.isUnsupportedBrowser=s,r.compareVersions=i,r.check=a,r._detect=t,r.detect=t,r})});var Vn=fr((voe,uh)=>{(function(){"use strict";var e={}.hasOwnProperty;function t(){for(var o="",i=0;i<arguments.length;i++){var s=arguments[i];s&&(o=n(o,r(s)))}return o}function r(o){if(typeof o=="string"||typeof o=="number")return o;if(typeof o!="object")return"";if(Array.isArray(o))return t.apply(null,o);if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]"))return o.toString();var i="";for(var s in o)e.call(o,s)&&o[s]&&(i=n(i,s));return i}function n(o,i){return i?o?o+" "+i:o+i:o}typeof uh<"u"&&uh.exports?(t.default=t,uh.exports=t):typeof define=="function"&&typeof define.amd=="object"&&define.amd?define("classnames",[],function(){return t}):window.classNames=t})()});var xP=fr(Ux=>{"use strict";var xz=Symbol.for("react.fragment");Ux.Fragment=xz;Ux.jsxDEV=void 0});var jx=fr((Die,TP)=>{"use strict";TP.exports=xP()});var Kh=R(O()),Yh=R(Ed());var P_=0;function q(e,t){let r=`atom${++P_}`,n={toString(){return(import.meta.env?import.meta.env.MODE:void 0)!=="production"&&this.debugLabel?r+":"+this.debugLabel:r}};return typeof e=="function"?n.read=e:(n.init=e,n.read=O_,n.write=L_),t&&(n.write=t),n}function O_(e){return e(this)}function L_(e,t,r){return t(this,typeof r=="function"?r(e(this)):r)}var cC=(e,t)=>e.unstable_is?e.unstable_is(t):t===e,vv=e=>"init"in e,yv=e=>!!e.write,Cd=new WeakMap,Sv=e=>{var t;return xv(e)&&!((t=Cd.get(e))!=null&&t[1])},k_=(e,t)=>{let r=Cd.get(e);if(r)r[1]=!0,r[0].forEach(n=>n(t));else if((import.meta.env?import.meta.env.MODE:void 0)!=="production")throw new Error("[Bug] cancelable promise not found")},__=e=>{if(Cd.has(e))return;let t=[new Set,!1];Cd.set(e,t);let r=()=>{t[1]=!0};e.then(r,r),e.onCancel=n=>{t[0].add(n)}},xv=e=>typeof e?.then=="function",fC=e=>"v"in e||"e"in e,wd=e=>{if("e"in e)throw e.e;if((import.meta.env?import.meta.env.MODE:void 0)!=="production"&&!("v"in e))throw new Error("[Bug] atom state is not initialized");return e.v},pC=(e,t,r)=>{r.p.has(e)||(r.p.add(e),t.then(()=>{r.p.delete(e)},()=>{r.p.delete(e)}))},dC=(e,t,r,n,o)=>{var i;if((import.meta.env?import.meta.env.MODE:void 0)!=="production"&&n===t)throw new Error("[Bug] atom cannot depend on itself");r.d.set(n,o.n),Sv(r.v)&&pC(t,r.v,o),(i=o.m)==null||i.t.add(t),e&&M_(e,n,t)},Ku=()=>({D:new Map,H:new Set,M:new Set,L:new Set}),Xu=(e,t,r)=>{e[t].add(r)},mC=(e,t,r)=>{e.D.has(t)||(e.D.set(t,new Set),Xu(e,"M",()=>{var n;(n=r.m)==null||n.l.forEach(o=>Xu(e,"M",o))}))},M_=(e,t,r)=>{let n=e.D.get(t);n&&n.add(r)},D_=(e,t)=>e.D.get(t),cs=e=>{let t,r=!1,n=o=>{try{o()}catch(i){r||(t=i,r=!0)}};for(;e.H.size||e.M.size||e.L.size;)e.D.clear(),e.H.forEach(n),e.H.clear(),e.M.forEach(n),e.M.clear(),e.L.forEac
8h(n),e.L.clear();if(r)throw t},hC=(...[e,t,r,n])=>{let o=(h,g,y)=>{let x="v"in g,S=g.v,E=Sv(g.v)?g.v:null;if(xv(y)){__(y);for(let w of g.d.keys())pC(h,y,e(w));g.v=y}else g.v=y;delete g.e,delete g.x,(!x||!Object.is(S,g.v))&&(++g.n,E&&k_(E,y))},i=(h,g)=>{var y;let x=e(g);if(fC(x)&&(x.m&&!x.x||Array.from(x.d).every(([I,b])=>i(h,I).n===b)))return x;x.d.clear();let S=!0,E=I=>{if(cC(g,I)){let P=e(I);if(!fC(P))if(vv(I))o(I,P,I.init);else throw new Error("no atom init");return wd(P)}let b=i(h,I);try{return wd(b)}finally{if(S)dC(h,g,x,I,b);else{let P=Ku();dC(P,g,x,I,b),f(P,g,x),cs(P)}}},w,C,N={get signal(){return w||(w=new AbortController),w.signal},get setSelf(){return(import.meta.env?import.meta.env.MODE:void 0)!=="production"&&!yv(g)&&console.warn("setSelf function cannot be used with read-only atom"),!C&&yv(g)&&(C=(...I)=>{if((import.meta.env?import.meta.env.MODE:void 0)!=="production"&&S&&console.warn("setSelf function cannot be called in sync"),!S)return c(g,...I)}),C}};try{let I=t(g,E,N);if(o(g,x,I),xv(I)){(y=I.onCancel)==null||y.call(I,()=>w?.abort());let b=()=>{if(x.m){let P=Ku();f(P,g,x),cs(P)}};I.then(b,b)}return x}catch(I){return delete x.v,x.e=I,delete x.x,++x.n,x}finally{S=!1}},s=h=>wd(i(void 0,h)),a=(h,g,y)=>{var x,S;let E=new Map;for(let w of((x=y.m)==null?void 0:x.t)||[]){let C=e(w);C.m&&E.set(w,C)}for(let w of y.p)E.set(w,e(w));return(S=D_(h,g))==null||S.forEach(w=>{E.set(w,e(w))}),E},l=(h,g,y)=>{let x=[],S=new Set,E=new Set,w=[[g,y]];for(;w.length>0;){let[C,N]=w[w.length-1];if(E.has(C)){w.pop();continue}if(S.has(C)){x.push([C,N,N.n]),E.add(C),N.x=!0,w.pop();continue}S.add(C);for(let[I,b]of a(h,C,N))C!==I&&!S.has(I)&&w.push([I,b])}Xu(h,"H",()=>{let C=new Set([g]);for(let N=x.length-1;N>=0;--N){let[I,b,P]=x[N],k=!1;for(let B of b.d.keys())if(B!==I&&C.has(B)){k=!0;break}k&&(i(h,I),f(h,I,b),P!==b.n&&(mC(h,I,b),C.add(I))),delete b.x}})},u=(h,g,...y)=>{let x=!0,S=w=>wd(i(h,w)),E=(w,...C)=>{let N=e(w);try{if(cC(g,w)){if(!vv(w))throw new Error("atom not writable");let I=N.n,b=C[0];o(w,N,b),f(h,w,N),I!==N.n&&(mC(h,w,N),l(h,w,N));return}else return u(h,w,...C)}finally{x||cs(h)}};try{return r(g,S,E,...y)}finally{x=!1}},c=(h,...g)=>{let y=Ku();try{return u(y,h,...g)}finally{cs(y)}},f=(h,g,y)=>{if(y.m&&!Sv(y.v)){for(let x of y.d.keys())y.m.d.has(x)||(d(h,x,e(x)).t.add(g),y.m.d.add(x));for(let x of y.m.d||[])if(!y.d.has(x)){y.m.d.delete(x);let S=p(h,x,e(x));S?.t.delete(g)}}},d=(h,g,y)=>{if(!y.m){i(h,g);for(let x of y.d.keys())d(h,x,e(x)).t.add(g);if(y.m={l:new Set,d:new Set(y.d.keys()),t:new Set},yv(g)){let x=y.m,S,E=(w,C)=>{let N=!0;S=(...I)=>{try{return u(w,g,...I)}finally{N||cs(w)}};try{return C()}finally{N=!1}};Xu(h,"L",()=>{let w=E(h,()=>n(g,(...C)=>S(...C)));w&&(x.u=C=>E(C,w))})}}return y.m},p=(h,g,y)=>{if(y.m&&!y.m.l.size&&!Array.from(y.m.t).some(x=>{var S;return(S=e(x).m)==null?void 0:S.d.has(g)})){let x=y.m.u;x&&Xu(h,"L",()=>x(h)),delete y.m;for(let S of y.d.keys()){let E=p(h,S,e(S));E?.t.delete(g)}return}return y.m};return{get:s,set:c,sub:(h,g)=>{let y=Ku(),x=e(h),E=d(y,h,x).l;return E.add(g),cs(y),()=>{E.delete(g);let w=Ku();p(w,h,x),cs(w)}},unstable_derive:h=>hC(...h(e,t,r,n))}},B_=e=>{let t=new WeakMap,r=new Set,n,o=0,i=e.unstable_derive((l,u,c,f)=>(n=l,[d=>{let p=t.get(d);if(!p){let v=l(d);p=new Proxy(v,{set(m,T,h){return T==="m"&&r.add(d),Reflect.set(m,T,h)},deleteProperty(m,T){return T==="m"&&r.delete(d),Reflect.deleteProperty(m,T)}}),t.set(d,p)}return p},u,(d,p,v,...m)=>o?v(d,...m):c(d,p,v,...m),f])),s=i.set;return Object.assign(i,{dev4_get_internal_weak_map:()=>({get:l=>{let u=n(l);if(u.n!==0)return u}}),dev4_get_mounted_atoms:()=>r,dev4_restore_atoms:l=>{s({read:()=>null,write:(c,f)=>{++o;try{for(let[d,p]of l)vv(d)&&f(d,p)}finally{--o}}})}})},gC=()=>{let e=new WeakMap,r=hC(n=>{if((import.meta.env?import.meta.env.MODE:void 0)!=="production"&&!n)throw new Error("Atom is undefined or null");let o=e.get(n);return o||(o={d:new Map,p:new Set,n:0},e.set(n,o)),o},(n,...o)=>n.read(...o),(n,...o)=>n.write(...o),(n,...o)=>{var i;return(i=n.onMount)==null?void 0:i.call(n,...o)});return(import.meta.env?import.meta.env.MODE:void 0)!=="production"?B_(r):r},Yu,Z=()=>(Yu||(Yu=gC(),(import.meta.env?import.meta.env.MODE:void 0)!=="production"&&(globalThis.__JOTAI_DEFAULT_STORE__||(globalThis.__JOTAI_DEFAULT_STORE__=Yu),globalThis.__JOTAI_DEFAULT_STORE__!==Yu&&c
8onsole.warn("Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044"))),Yu);var Vt=R(O(),1);var F_=(0,Vt.createContext)(void 0),wv=e=>{let t=(0,Vt.useContext)(F_);return e?.store||t||Z()};var Ev=e=>typeof e?.then=="function",vC=e=>{e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t})},V_=Vt.default.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(vC(e),e)}),Tv=new WeakMap,yC=e=>{let t=Tv.get(e);return t||(t=new Promise((r,n)=>{let o=e,i=l=>u=>{o===l&&r(u)},s=l=>u=>{o===l&&n(u)},a=l=>{"onCancel"in l&&typeof l.onCancel=="function"&&l.onCancel(u=>{if((import.meta.env?import.meta.env.MODE:void 0)!=="production"&&u===l)throw new Error("[Bug] p is not updated even after cancelation");Ev(u)?(Tv.set(u,t),o=u,u.then(i(u),s(u)),a(u)):r(u)})};e.then(i(e),s(e)),a(e)}),Tv.set(e,t)),t};function Ie(e,t){let r=wv(t),[[n,o,i],s]=(0,Vt.useReducer)(u=>{let c=r.get(e);return Object.is(u[0],c)&&u[1]===r&&u[2]===e?u:[c,r,e]},void 0,()=>[r.get(e),r,e]),a=n;(o!==r||i!==e)&&(s(),a=r.get(e));let l=t?.delay;if((0,Vt.useEffect)(()=>{let u=r.sub(e,()=>{if(typeof l=="number"){let c=r.get(e);Ev(c)&&vC(yC(c)),setTimeout(s,l);return}s()});return s(),u},[r,e,l]),(0,Vt.useDebugValue)(a),Ev(a)){let u=yC(a);return V_(u)}return a}var kt=R(G()),ko=R(O());var lI=R(G()),Ia=R(O());var oI=R(O());var Ae;(function(e){e.Appear="appear",e.Hover="hover",e.Press="press",e.Focus="focus",e.ScrollParallax="scrollParallax",e.ScrollTransform="scrollTransform",e.Cursor="cursor",e.Marquee="marquee",e.Code="code"})(Ae||(Ae={}));var EC;(function(e){e.IN_CUBIC="IN_CUBIC",e.OUT_CUBIC="OUT_CUBIC",e.INOUT_CUBIC="INOUT_CUBIC",e.LINEAR="LINEAR",e.IN_BACK_CUBIC="IN_BACK_CUBIC",e.OUT_BACK_CUBIC="OUT_BACK_CUBIC",e.INOUT_BACK_CUBIC="INOUT_BACK_CUBIC",e.CUSTOM_CUBIC="CUSTOM_CUBIC",e.GENTLE_SPRING="GENTLE_SPRING",e.SPRING_PRESET_ONE="SPRING_PRESET_ONE",e.SPRING_PRESET_TWO="SPRING_PRESET_TWO",e.SPRING_PRESET_THREE="SPRING_PRESET_THREE",e.CUSTOM_SPRING="CUSTOM_SPRING"})(EC||(EC={}));var Me;(function(e){e.PASS_THROUGH="PASS_THROUGH",e.NORMAL="NORMAL",e.DARKEN="DARKEN",e.MULTIPLY="MULTIPLY",e.LINEAR_BURN="LINEAR_BURN",e.COLOR_BURN="COLOR_BURN",e.LIGHTEN="LIGHTEN",e.SCREEN="SCREEN",e.LINEAR_DODGE="LINEAR_DODGE",e.COLOR_DODGE="COLOR_DODGE",e.OVERLAY="OVERLAY",e.SOFT_LIGHT="SOFT_LIGHT",e.HARD_LIGHT="HARD_LIGHT",e.DIFFERENCE="DIFFERENCE",e.EXCLUSION="EXCLUSION",e.HUE="HUE",e.SATURATION="SATURATION",e.COLOR="COLOR",e.LUMINOSITY="LUMINOSITY"})(Me||(Me={}));var Jr;(function(e){e.LEFT="LEFT",e.RIGHT="RIGHT",e.CENTER="CENTER",e.LEFT_RIGHT="LEFT_RIGHT",e.SCALE="SCALE"})(Jr||(Jr={}));var en;(function(e){e.TOP="TOP",e.BOTTOM="BOTTOM",e.CENTER="CENTER",e.TOP_BOTTOM="TOP_BOTTOM",e.SCALE="SCALE"})(en||(en={}));var wC;(function(e){e.SUPER="SUPER",e.SUB="SUB",e.NORMAL="NORMAL"})(wC||(wC={}));var Ad;(function(e){e.NONE="NONE",e.STRIKETHROUGH="STRIKETHROUGH",e.UNDERLINE="UNDERLINE"})(Ad||(Ad={}));var ii;(function(e){e.ORDERED="ORDERED",e.UNORDERED="UNORDERED",e.NONE="NONE"})(ii||(ii={}));var Sa={visible:!0,locked:!1,isFixed:!1,scrollBehavior:"SCROLLS"},qu={blendMode:Me.NORMAL,opacity:1},Rd={constraints:{vertical:en.TOP,horizontal:Jr.LEFT},layoutGrow:0,layoutAlign:"INHERIT",layoutPositioning:"AUTO",gridColumnAnchorIndex:0,gridRowAnchorIndex:0},Nd={fills:[],strokes:[],strokeWeight:1},$_={effects:[]},IC={isMask:!1},CC={isResponsiveSet:!1,isBreakpointFrame:!1},kW={interactions:[]},K_={clipsContent:!1,overflowDirection:"NONE",layoutMode:"NONE",primaryAxisSizingMode:"AUTO",counterAxisSizingMode:"AUTO",primaryAxisAlignItems:"MIN",counterAxisAlignItems:"MIN",paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,itemSpacing:0,itemReverseZIndex:!1,strokesIncludedInLayout:!1,counterAxisAlignContent:"AUTO",layoutWrap:"NO_WRAP",counterAxisSpacing:0},Cv={cornerRadius:0,rectangleCornerRadii:[0,0,0,0],rectangleCornerRadiiIndependent:!1},Y_={isInAnimateTree:!1},tn={...Sa,...qu,...Rd,...K_,...Cv,...Nd,...$_,...IC,...CC,...CC,...Y_},Qu={...Sa,...qu,...Rd,...Nd,...IC},_W={...Qu,...Cv},AC={...Qu,...Cv},RC={listSpacing:0,textAutoResize:"NONE",paragraphIndent:0,paragraphSpacing:0,textAlignHorizontal:"LEFT",textAlignVertical:"TOP"},Zu={code:void 0,sourceCodeHash:void 0,codeExportName:"default"};var NC={...tn},bC={...tn},PC={...Qu},OC={...Sa,...qu,...Rd,...Nd},LC={...tn},kC={...tn},_C={...tn,type:"REPEATER"},MC={...tn,type:"CMS_RICH_TEXT"},DC={...tn},BC={...AC},FC={...Qu,...RC},VC={...Sa,...qu},zC={...tn,type:"RESPONSIVE_SET"},WC={...tn,type:"CODE_INSTANCE",...Zu,componentProperties:{}},HC={...tn,type:"CODE_LAYER",...Zu,componentProperties:{}},UC={...Sa,type:"CODE_COMPONENT",...Zu,componentProperties:{}},jC={type:"CODE_FILE",...Zu};function bd(e){switch(e.type){case"COMPONENT":return Object.assign(Object.create(NC),e);case"COMPONENT_SET":return Object.assign(Object.create(bC),e);case"FRAME":return Object.assign(Object.create(LC),e);case"GROUP":return Object.assign(Object.create(kC),e);case"IMAGE":return Object.assign(Object.create(OC),e);case"INSTANCE":return Object.assign(Object.create(DC),e);case"RECTANGLE":return Object.assign(Object.create(BC),e);case"SVG":return Object.assign(Object.create(PC),e);case"TEXT":return Object.assign(Object.create(FC),e);case"VARIABLE":return e;case"VARIABLE_COLLECTION":return e;case"STYLE":return e;case"WIDGET":return Object.assign(Object.create(VC),e);case"RESPONSIVE_SET":return Object.assign(Object.create(zC),e);case"CODE_INSTANCE":return Object.assign(Object.create(WC),e);case"CODE_LAYER":return Object.assign(Object.create(HC),e);case"CODE_COMPONENT":return Object.assign(Object.create(UC),e);case"CODE_FILE":return Object.assign(Object.create(jC),e);case"REPEATER":return Object.assign(Object.create(_C),e);case"CMS_RICH_TEXT":return Object.assign(Object.create(MC),e);default:throw new Error("Unknown node type provided to applyDefaults")}}var GC;(function(e){e.MAILCHIMP="MAILCHIMP",e.GOOGLE_MAP="GOOGLE_MAP",e.YOUTUBE="YOUTUBE",e.UNKNOWN="UNKNOWN",e.GENERIC="GENER
8IC"})(GC||(GC={}));var Se;(function(e){e[e.ADDITION=0]="ADDITION",e[e.SUBTRACTION=1]="SUBTRACTION",e[e.RESOLVE_VARIANT=2]="RESOLVE_VARIANT",e[e.MULTIPLY=3]="MULTIPLY",e[e.DIVIDE=4]="DIVIDE",e[e.EQUALS=5]="EQUALS",e[e.NOT_EQUAL=6]="NOT_EQUAL",e[e.LESS_THAN=7]="LESS_THAN",e[e.LESS_THAN_OR_EQUAL=8]="LESS_THAN_OR_EQUAL",e[e.GREATER_THAN=9]="GREATER_THAN",e[e.GREATER_THAN_OR_EQUAL=10]="GREATER_THAN_OR_EQUAL",e[e.AND=11]="AND",e[e.OR=12]="OR",e[e.NOT=13]="NOT",e[e.STRINGIFY=14]="STRINGIFY",e[e.TERNARY=15]="TERNARY",e[e.VAR_MODE_LOOKUP=16]="VAR_MODE_LOOKUP",e[e.NEGATE=17]="NEGATE",e[e.IS_TRUTHY=18]="IS_TRUTHY"})(Se||(Se={}));function Pd(e){return e.type==="GRADIENT_LINEAR"||e.type==="GRADIENT_RADIAL"||e.type==="GRADIENT_ANGULAR"||e.type==="GRADIENT_DIAMOND"}function HW(e,t,r){let n=e,o=t.safeParse(e);if(o.success&&(n=o.data),!o.success){t.description||console.info("Zod schema provided to parseData has no description. Add a description via .describe for better error messages.");let i=`${t.description||"Zod"} schema error issues`,s=r?`Debug info:
9${JSON.stringify(r,null,2)}
10`:"",a=typeof window>"u";if(a||!1){if(a)for(let u of o.error.issues)console.error(`[SchemaErrorIssue] ${JSON.stringify({schemaDescription:t.description,issue:u})}`);throw new Error(`${i}
11${s}Issues: ${JSON.stringify(o.error.issues,null,2)}`)}else console.error(i,{issues:o.error.issues,debugInfo:r,data:e})}return n}function fs(e){return e}var xa=fs,$C=fs,KC=fs;var no=fs,YC=fs;var Iv=fs,XC=fs;var J=class extends Error{severity="high";errorDetail;constructor(t,r){super(t),Object.setPrototypeOf(this,J.prototype),r&&r instanceof Error&&(this.cause=r)}},Sr=class extends J{constructor(t,r){super(t,r),this.severity="low"}};function me(e,t){throw new J(t??`Uncaught type ${JSON.stringify(e)}`)}function ue(e,t){if(!e)throw new J(`Assertion failure${t?`: ${t}`:""}`)}var qC=new Set(["vectorNetworkBlob","version"]);function Oe(e,t,r=!1,n=!1,o=!1){if(e===t||n&&(e instanceof Array&&e.length===0&&t===void 0||t instanceof Array&&t.length===0&&e===void 0||!e&&!t))return!0;let i=typeof e;if(typeof t!==i)return!1;if(i==="number")return Number.isNaN(e)||Number.isNaN(t)?n:r?!0:n?e-t<.01&&e-t>-.01:e===t;if(i!=="object")return e===t;if(e===null!=(t===null))return!1;if(e===null)return!0;if(e instanceof Array!=t instanceof Array)return!1;if(e instanceof Array)return e.length===t.length&&e.every((l,u)=>Oe(l,t[u],r,n,o));let s=Object.keys(e),a=Object.keys(t);return o&&(s=s.filter(l=>e[l]!==void 0),a=a.filter(l=>t[l]!==void 0)),s.length!==a.length||(n&&(s=s.filter(l=>!qC.has(l)),a=a.filter(l=>!qC.has(l))),s.sort(),a.sort(),!s.every((l,u)=>l===a[u]))?!1:s.every(l=>Oe(e[l],t[l],r,n,o))}var oo=class{map;fallback;disableErrors;constructor(t,r){this.map=new Map,this.fallback=t,this.disableErrors=r??!1}get(t){return this.map.has(t)?this.map.get(t):(this.disableErrors===!1&&(this.map.has(t),`${JSON.stringify(t)}`,void 0),this.fallback)}set(t,r){if(this.map.has(t)){this.disableErrors===!1&&(Oe(this.map.get(t),r),`${JSON.stringify(t)}`,void 0);return}this.map.set(t,r)}_has(t){return this.map.has(t)}};var Od=R(O());var _=class{x;y;constructor(t=0,r=0){this.x=t,this.y=r}clone(){return new _(this.x,this.y)}equals(t){return this.x===t.x&&this.y===t.y}toString(){return`(${this.x}, ${this.y})`}add(t){return new _(this.x+t.x,this.y+t.y)}static add(...t){return t.filter(o=>o!=null).reduce((o,i)=>(o.x+=i.x,o.y+=i.y,o),{x:0,y:0})}subtract(t){return new _(this.x-t.x,this.y-t.y)}static subtract(t,r){return{x:t.x-r.x,y:t.y-r.y}}static scale(t,r){return{x:t*r.x,y:t*r.y}}static abs(t){return{x:Math.abs(t.x),y:Math.abs(t.y)}}scale(t){return new _(this.x*t,this.y*t)}multiply(t){return new _(this.x*t.x,this.y*t.y)}divide(t){return new _(this.x/t.x,this.y/t.y)}dot(t){return _.dot(this,t)}toAngle(){return Math.atan2(this.y,this.x)}static bound(t,r){return r?{x:Math.max(Math.min(t.x,r.max.x),r.min.x),y:Math.max(Math.min(t.y,r.max.y),r.min.y)}:t}static dot(t,r){return t.x*r.x+t.y*r.y}static interpolate(t,r,n){return{x:t.x+(r.x-t.x)*n,y:t.y+(r.y-t.y)*n}}rounded(){return new _(Math.round(this.x),Math.round(this.y))}static rounded(t){return{x:Math.round(t.x),y:Math.round(t.y)}}
11static size(t){return Math.sqrt(_.dot(t,t))}size(){return _.size(this)}unit(){let t=this.size();return this.scale(t===0?0:1/t)}distanceTo(t){return _.size(this.subtract(t))}static distance(t,r){return _.size(_.subtract(t,r))}clamp(t){return new _(Math.max(t.x,Math.min(t.x+t.width,this.x)),Math.max(t.y,Math.min(t.y+t.height,this.y)))}clampX(t){return new _(Math.max(t.x,Math.min(t.x+t.width,this.x)),this.y)}clampY(t){return new _(this.x,Math.max(t.y,Math.min(t.y+t.height,this.y)))}rotate90(){return new _(-this.y,this.x)}hasNaN(){return Number.isNaN(this.x)||Number.isNaN(this.y)}isInvalid(){return this.hasNaN()}static max(t,r){return new _(Math.max(t.x,r.x),Math.max(t.y,r.y))}static min(t,r){return new _(Math.min(t.x,r.x),Math.min(t.y,r.y))}static infinity(){return new _(Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY)}static invalid(){return new _(Number.NaN,Number.NaN)}plus(t){return new _(this.x+t.x,this.y+t.y)}minus(t){return new _(this.x-t.x,this.y-t.y)}multiplyBy(t){return new _(this.x*t,this.y*t)}divideBy(t){return new _(this.x/t,this.y/t)}transpose(){return new _(this.y,this.x)}};var ze=class{origin;size;constructor(t=new _,r=new _){this.origin=t,this.size=r}clone(){return new ze(this.origin.clone(),this.size.clone())}equals(t){return this.origin.equals(t.origin)&&this.size.equals(t.size)}left(){return this.origin.x}top(){return this.origin.y}right(){return this.size.x===Number.POSITIVE_INFINITY?Number.POSITIVE_INFINITY:this.origin.x+this.width()}bottom(){return this.size.y===Number.POSITIVE_INFINITY?Number.POSITIVE_INFINITY:this.origin.y+this.height()}bottomRight(){return new _(this.right(),this.bottom())}bottomLeft(){return new _(this.left(),this.bottom())}topLeft(){return new _(this.left(),this.top())}topRight(){return new _(this.right(),this.top())}topCenter(){return new _(this.center().x,this.top())}bottomCenter(){return new _(this.center().x,this.bottom())}centerLeft(){return new _(this.left(),this.center().y)}centerRight(){return new _(this.right(),this.center().y)}center(){return new _(this.origin.x+this.size.x/2,this.origin.y+this.size.y/2)}width(){return this.size.x}height(){return this.size.y}transpose(){return new ze(this.origin.transpose(),this.size.transpose())}offsetBy(t){return new ze(this.origin.plus(t),this.size)}scaledBy(t){return new ze(this.origin.multiplyBy(t),this.size.multiplyBy(t))}isInvalid(){return this.size.x<0||this.size.y<0||this.origin.hasNaN()||this.size.hasNaN()}isValid(){return!this.isInvalid()}isEmpty(){return this.isInvalid()?!0:this.size.x<=0||this.size.y<=0}unionWith(t){let r=_.min(this.origin,t.origin),n=_.max(this.bottomRight(),t.bottomRight());return r.equals(n)?this:new ze(r,n.minus(r))}containsIncludingBoundary(t){return!this.isEmpty()&&!t.isInvalid()&&this.left()<=t.left()&&this.right()>=t.right()&&this.top()<=t.top()&&this.bottom()>=t.bottom()}containsPointIncludingBoundary(t){return!this.isEmpty()&&this.left()<=t.x&&t.x<=this.right()&&this.origin.y<=t.y&&t.y<=this.bottom()}intersectWith(t){if(this.isInvalid()||t.isInvalid())return ze.invalidRect();let r=_.max(this.origin,t.origin),n=_.min(this.bottomRight(),t.bottomRight()),o=new ze(r,n.minus(r));if(o.origin.hasNaN()||o.size.hasNaN())throw new J("Rect.intersectWith produced a result with NaN");return o.isInvalid()&&(o=ze.invalidRect()),o}hasIntersectionWith(t){return!this.intersectWith(t).isEmpty()}expand(t){return this.isInvalid()?ze.invalidRect():typeof t=="number"?ze.fromOriginAndSize(this.origin.x-t,this.origin.y-t,this.size.x+2*t,this.size.y+2*t):new ze(this.origin.minus(t),this.size.plus(t.multiplyBy(2)))}static invalidRect(){return new ze(new _(Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY),new _(Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY))}static infinite(){return new ze(_.infinity().multiplyBy(-1),_.infinity())}static fromOriginAndSize(t,r,n,o){return new ze(new _(t,r),new _(n,o))}static fromCenterSize(t,r){let n=r.divideBy(2);return new ze(t.minus(n),r)}static computeBounds(t,r){let n=_.min(t,r),o=_.max(t,r);return new ze(n,o.minus(n))}static computeBoundsFromPointArray(t){let r=_.infinity(),n=_.infinity().multiplyBy(-1);for(let o of t)r=_.min(r,o),n=_.max(n,o);return new ze(r,n.minus(r))}};var io;(function(e){e[e.SVG=0]="SVG",e[e.CSS=1]="CSS"})(io||(io={}));var QC;(function(e){e[e.SRGB=0]="SRGB",e[e.DISPLAY_P3=1]="DISPLAY_P3"})(QC||(QC={}));var ZC;(function(e){e[e.NO_CONVERSION=0]="NO_CONVERSION",e[e.SRGB_TO_DISPLAY_P3=1]="SRGB_TO_DISPLAY_P3",e[e.DISPLAY_P3_TO_SRGB=2]="DISPLAY_P3_TO_SRGB"})(ZC||(ZC={}));var ut={colorProfile:0,colorspaceConversion:0};function he(e){return String(+e.toPrecision(5))}var vn=class{m00;m01;m02;m10;m11;m12;constructor(){this.m00=this.m01=this.m02=this.m10=this.m11=this.m12=0}static identity(){return this.fromNumbers(1,0,0,0,1,0)}static fromNumbers(t,r,n,o,i,s){let a=new vn;return a.m00=t,a.m01=r,a.m02=n,a.m10=o,a.m11=i,a.m12=s,a}static copy(t){let r=new vn;return r.m00=t.m00,r.m01=t.m01,r.m02=t.m02,r.m10=t.m10,r.m11=t.m11,r.m12=t.m12,r}static fromArray(t){let r=new vn;return r.m00=t[0][0],r.m01=t[0][1],r.m02=t[0][2],r.m10=t[1][0],r.m11=t[1][1],r.m12=t[1][2],r}static fromVectors(t,r,n){let o=new vn;return o.m00=r.x,o.m01=n.x,o.m02=t.x,o.m10=r.y,o.m11=n.y,o.m12=t.y,o}axisX(){return new _(this.m00,this.m10)}axisY(){return new _(this.m01,this.m11)}offset(){return new _(this.m02,this.m12)}toDegrees(){return Math.atan2(this.m10,this.m00)*180/Math.PI}toScale(){let{m00:t,m01:r,m10:n,m11:o}=this;return new _(Math.sqrt(t*t+n*n),Math.sqrt(r*r+o*o))}hasNaN(){return this.m00!==this.m00&&this.m01!==this.m01&&this.m02!==this.m02&&this.m10!==this.m10&&this.m11!==this.m11&&this.m12!==this.m12}translate(t,r){this.m02=t*this.m00+r*this.m01+this.m02,this.m12=t*this.m10+r*this.m11+this.m12}rotate(t){if(t===0)return;let r=Math.sin(t),n=Math.cos(t),o=n*this.m00+r*this.m01,i=n*this.m01-r*this.m00,s=n*this.m10+r*this.m11,a=n*this.m11-r*this.m10;this.m00=o,this.m01=i,this.m10=s,this.m11=a}scale(t,r){this.m00*=t,this.m01*=r,this.m10*=t,this.m11*=r}multiply(t){let r=this.m00*t.m00+this.m01*t.m10,n=this.m00*t.m01+this.m01*t.m11,o=this.m00*t.m02+this.m01*t.m12+this.m02,i=this.m10*t.m00+this.m11*t.m10,s=this.m10*t.m01+this.m11*t.m11,a=this.m10*t.m02+this.m11*t.m12+this.m12;this.m00=r,this.m01=n,this.m02=o,this.m10=i,this.m11=s,this.m12=a}determinant(){return this.m00*this.m11-this.m01*this.m10}invert(){let t=1/this.determinant();if(!isFinite(t))return!1;let r=vn.fromNumbers(this.m11*t,-this.m01*t,(this.m01*this.m12-this.m11*this.m02)*t,-this.m10*t,this.m00*t,(this.m10*this.m02-this.m00*this.m12)*t);return r.hasNaN()?!1:(this.m00=r.m00,this.m01=r.m01,this.m02=r.m02,this.m10=r.m10,this.m11=r.m11,this.m12=r.m12,!0)}
11transformRect(t){if(t.isInvalid())return t;if(this.axisX().y===0&&this.axisY().x===0)return ze.computeBounds(this.transformPoint(t.topLeft()),this.transformPoint(t.bottomRight()));let r=[this.transformPoint(t.topLeft()),this.transformPoint(t.topRight()),this.transformPoint(t.bottomLeft()),this.transformPoint(t.bottomRight())];return ze.computeBoundsFromPointArray(r)}transformPoint(t){return new _(this.m00*t.x+this.m01*t.y+this.m02,this.m10*t.x+this.m11*t.y+this.m12)}toSvgTransform(){return`matrix(${he(this.m00)} ${he(this.m10)} ${he(this.m01)} ${he(this.m11)} ${he(this.m02)} ${he(this.m12)})`}toMatrix(){return[[this.m00,this.m01,this.m02],[this.m10,this.m11,this.m12]]}transformDirection(t){return new _(this.m00*t.x+this.m01*t.y,this.m10*t.x+this.m11*t.y)}inverseTransformPoint(t){let r=1/this.determinant();if(!isFinite(r))return _.invalid();let n=new _((this.m11*t.x-this.m01*t.y+this.m01*this.m12-this.m11*this.m02)*r,(this.m00*t.y-this.m10*t.x+this.m10*this.m02-this.m00*this.m12)*r);return n.hasNaN()?_.invalid():n}static fromTransform(t){return vn.fromNumbers(t[0][0],t[0][1],t[0][2],t[1][0],t[1][1],t[1][2])}toTransform(){return[[this.m00,this.m01,this.m02],[this.m10,this.m11,this.m12]]}},Ue=vn;dr(Ue,"kEpsilon",1e-6),dr(Ue,"kEpsilonSqr",vn.kEpsilon*vn.kEpsilon);var er=1e-4;function ds(e){return typeof structuredClone=="function"?structuredClone(e):JSON.parse(JSON.stringify(e))}function qe(e,t,r=1e-6){return Math.abs(e-t)<r}function JC(e,t){return Ie((0,Od.useMemo)(()=>q(e),t))}function Rv(e){return Object.freeze(e)}function Nv(e){return e.type==="RESPONSIVE_SET"}function _r(e,t){if(e===void 0)return t;let r=Ue.fromTransform(t),n=Ue.fromTransform(e);return n.multiply(r),xr(n.toTransform())}function xr(e){return[[re(e[0][0]),re(e[0][1]),re(e[0][2])],[re(e[1][0]),re(e[1][1]),re(e[1][2])]]}function re(e,t=er){return Math.abs(e)<t?0:e}function Sn(e){return`${Math.round(e*1e4)/1e4*100}%`}var Av=[[1,0,0],[0,1,0]];function xn(e){if(!e)return Av;let r=/matrix\((.*)\)/.exec(e);if(!r)return Av;let n=r[1].split(",").map(o=>parseFloat(o));return n.length!==6?Av:[[n[0],n[2],n[4]],[n[1],n[3],n[5]]]}function Ju(e){return re(e.value)===0?"0":`${e.value}${e.unit==="PERCENT"?"%":"px"}`}function ec(){}var eI=()=>Promise.resolve();function Ld(e,t,r){let n=e(t.roots).map(i=>e(t.nodeById.get(i)));return n.find(i=>i.name===r)??n[0]}function Ta(e,t){let r=(0,Od.useRef)(e);return t(r.current,e)||(r.current=e),r.current}var tI,kd=e=>{tI=e},rI=()=>tI;var iI={title:""},tc=q(!1),rc=q(null),wa=q(void 0),nI=q(void 0),Ca=q(e=>({width:e(wa),height:e(nI)}),(e,t,r)=>{t(wa,r.width),t(nI,r.height)}),q_={type:"GENERATED_ASSET",url:"",size:{x:0,y:0},format:"PNG",offsets:{top:{value:0,unit:"PERCENT"},right:{value:0,unit:"PERCENT"},bottom:{value:0,unit:"PERCENT"},left:{value:0,unit:"PERCENT"}}},bv=bd({type:"FRAME",id:"missing",name:"missing",visible:!1,absoluteBoundingBox:{x:0,y:0,width:0,height:0},size:{x:0,y:0},relativeTransform:[[1,0,1],[0,1,1]],children:[]});function Md(){let e={siteSettings:q(iI),roots:q([]),nodeById:new oo(q(bv)),fonts:new oo(void 0,!0),assets:new oo(q(q_)),assetIdToGuid:new oo(void 0),guidToUrl:new oo(void 0),animateRootIds:new Set,stablePathToAssetHash:new oo(void 0,!0),compiledCode:q(""),globalStyles:q(""),sourceCodeHash:q("")};return Rv(e),Rv(e.assets),e}function nc(e,t){Ea(e.siteSettings,t.siteSettings??iI),sI(e.nodeById,t.nodeById,r=>Iv(r,{nodeId:r?.id})),Ea(e.roots,t.roots),_d(e.fonts,t.fonts),_d(e.assetIdToGuid,t.assetIdToGuid),_d(e.guidToUrl,t.guidToUrl),Pv(e,t.assets),_d(e.stablePathToAssetHash,t.stablePathToAssetHash),Q_(e.animateRootIds,t.animateRootIds),Ea(e.compiledCode,t.compiledCode),Ea(e.globalStyles,t.globalStyles),Ea(e.sourceCodeHash,t.sourceCodeHash)}function Pv(e,t){sI(e.assets,t)}function Q_(e,t){e.clear(),t.forEach(r=>{e.add(r)})}function _d(e,t){for(let[r,n]of Object.entries(t))e.set(r,n)}function sI(e,t,r){for(let[n,o]of Object.entries(t)){let i=e._has(n)?e.get(n):void 0,s=r?r(o):o;i===void 0?e.set(n,q(s)):Ea(i,s)}}function Ea(e,t){let r=Z();Oe(r.get(e),t)||r.set(e,t)}function aI(e,t){let r=(0,oI.useMemo)(()=>q(e),[e]);return Ie(t||r)}var uI=(0,Ia.createContext)(null),Q=()=>(0,Ia.useContext)(uI);function Z_(){return Q()?.websiteData.siteSettings}function si(){let e=Z_();return aI(void 0,e)}function cI(){return Q().labs}function Tn(){return Q().websiteData.fonts}function fI(){return Q().websiteData.sourceCodeHash}function ae(){return Q().env}function At(){return Q().compactDOM}function dI(){return Q().isMcpGeneration}function En(){return Q().addHeadTag}
11function mI(){return Q().addBodyScript}function Dd(){return Q().isFigmake}function J_(){return Q().websiteData.globalStyles}function pI(){return Ie(J_())}function Ov({inTest:e,websiteData:t,getCodeComponentURL:r,history:n,getAssetURL:o,getFontURL:i,children:s,env:a="preview",transitionAtom:l,setLocation:u,preloadLocation:c,compactDOM:f=!1,isMcpGeneration:d=!1,independentRootNode:p=!1,withBaseStyles:v=!0,addHeadTag:m,addBodyScript:T,loadComponentsOverNetwork:h=!1,isFigmake:g=!1}){let y=Ie(t.siteSettings).labs,x=(0,Ia.useMemo)(()=>({inTest:!!e,websiteData:t,history:n,getAssetURL:o,getFontURL:i,getCodeComponentURL:r,env:a,transitionAtom:l,setLocation:u,preloadLocation:c,compactDOM:f,isMcpGeneration:d,independentRootNode:p,withBaseStyles:v,addHeadTag:m,addBodyScript:T,loadComponentsOverNetwork:h,labs:y,isFigmake:g}),[e,t,n,o,i,r,a,l,u,c,f,d,p,v,m,T,h,y,g]);return ee.state=x,(0,lI.jsx)(uI.Provider,{value:x,children:s})}var ee={state:null};var ms="-1:-1";function ct(e){return e?`${e.sessionID|0}:${e.localID|0}`:null}var so;(function(e){e[e.BOOLEAN=0]="BOOLEAN",e[e.FLOAT=1]="FLOAT",e[e.STRING=2]="STRING",e[e.ALIAS=3]="ALIAS",e[e.COLOR=4]="COLOR",e[e.EXPRESSION=5]="EXPRESSION",e[e.MAP=6]="MAP",e[e.SYMBOL_ID=7]="SYMBOL_ID"})(so||(so={}));function rn(e,t){let r=null;return typeof t!="object"||"r"in t||"image"in t?r=t:t.type==="VARIABLE_ALIAS"?r=e.variableState.evaluateVariable(e.get,t.id,e.modeContext):t.type==="EXPRESSION"&&(r=eM(t,e)),r}function eM(e,t){let r=tM.find(({expressionFunction:n,resolvedType:o,argTypes:i})=>n===e.value.expressionFunction&&o===e.resolvedType&&e.value.expressionArguments.every((s,a)=>RM(s)===i[a]))?.implementation;return r?r(e.value.expressionArguments,t):(console.warn("expression type not implemented",e.value.expressionFunction),null)}function Le(e,t,r,n){return{resolvedType:t,argTypes:r,implementation:n,expressionFunction:e}}var tM=[Le(Se.ADDITION,"FLOAT",["FLOAT","FLOAT"],rM),Le(Se.SUBTRACTION,"FLOAT",["FLOAT","FLOAT"],nM),Le(Se.MULTIPLY,"FLOAT",["FLOAT","FLOAT"],oM),Le(Se.DIVIDE,"FLOAT",["FLOAT","FLOAT"],iM),Le(Se.AND,"BOOLEAN",["BOOLEAN","BOOLEAN"],sM),Le(Se.OR,"BOOLEAN",["BOOLEAN","BOOLEAN"],aM),Le(Se.NOT,"BOOLEAN",["BOOLEAN"],lM),Le(Se.EQUALS,"BOOLEAN",["FLOAT","FLOAT"],uM),Le(Se.NOT_EQUAL,"BOOLEAN",["FLOAT","FLOAT"],cM),Le(Se.EQUALS,"BOOLEAN",["BOOLEAN","BOOLEAN"],fM),Le(Se.NOT_EQUAL,"BOOLEAN",["BOOLEAN","BOOLEAN"],dM),Le(Se.EQUALS,"BOOLEAN",["STRING","STRING"],mM),Le(Se.NOT_EQUAL,"BOOLEAN",["STRING","STRING"],pM),Le(Se.LESS_THAN,"BOOLEAN",["FLOAT","FLOAT"],hM),Le(Se.LESS_THAN_OR_EQUAL,"BOOLEAN",["FLOAT","FLOAT"],gM),Le(Se.GREATER_THAN,"BOOLEAN",["FLOAT","FLOAT"],yM),Le(Se.GREATER_THAN_OR_EQUAL,"BOOLEAN",["FLOAT","FLOAT"],vM),Le(Se.STRINGIFY,"STRING",["FLOAT"],SM),Le(Se.STRINGIFY,"STRING",["BOOLEAN"],xM),Le(Se.STRINGIFY,"STRING",["STRING"],TM),Le(Se.ADDITION,"STRING",["STRING","STRING"],EM),Le(Se.ADDITION,"STRING",["FLOAT","STRING"],wM),Le(Se.ADDITION,"STRING",["STRING","FLOAT"],CM),Le(Se.ADDITION,"STRING",["BOOLEAN","STRING"],IM),Le(Se.ADDITION,"STRING",["STRING","BOOLEAN"],AM)];function rM(e,t){return Ke(e,t,(r,n)=>r+n,"number")}function nM(e,t){return Ke(e,t,(r,n)=>r-n,"number")}function oM(e,t){return Ke(e,t,(r,n)=>r*n,"number")}function iM(e,t){return Ke(e,t,(r,n)=>n===0?null:r/n,"number")}function sM(e,t){return Ke(e,t,(r,n)=>r&&n,"boolean")}function aM(e,t){return Ke(e,t,(r,n)=>r||n,"boolean")}function lM(e,t){let r=rn(t,e[0]);return typeof r!="boolean"?Bd(r,"boolean"):!r}function uM(e,t){return Ke(e,t,(r,n)=>r===n,"number")}function cM(e,t){return Ke(e,t,(r,n)=>r!==n,"number")}function fM(e,t){return Ke(e,t,(r,n)=>r===n,"boolean")}function dM(e,t){return Ke(e,t,(r,n)=>r!==n,"boolean")}function mM(e,t){return Ke(e,t,(r,n)=>r===n,"string")}function pM(e,t){return Ke(e,t,(r,n)=>r!==n,"string")}function hM(e,t){return Ke(e,t,(r,n)=>r<n,"number")}function gM(e,t){return Ke(e,t,(r,n)=>r<=n,"number")}function yM(e,t){return Ke(e,t,(r,n)=>r>n,"number")}function vM(e,t){return Ke(e,t,(r,n)=>r>=n,"number")}function Lv(e){return Math.ceil(e)===e?String(e):e.toFixed(2)}function SM(e,t){return kv(e,t,r=>Lv(r),"number")}function xM(e,t){return kv(e,t,r=>String(r),"boolean")}function TM(e,t){return kv(e,t,r=>r,"string")}function EM(e,t){return Ke(e,t,(r,n)=>r+n,"string")}function wM(e,t){return Ke(e,t,(r,n)=>Lv(r)+n,"number","string")}function CM(e,t){return Ke(e,t,(r,n)=>r+Lv(n),"string","number")}function IM(e,t){return Ke(e,t,(r,n)=>String(r)+n,"boolean","string")}function AM(e,t){return Ke(e,t,(r,n)=>r+String(n),"string","boolean")}function kv(e,t,r,n){let o=rn(t,e[0]);return typeof o!==n?Bd(o,n):r(o)}function Ke(e,t,r,n,o){let i=rn(t,e[0]),s=rn(t,e[1]);return typeof i!==n?Bd(i,n):typeof s!==(o??n)?Bd(s,o??n):r(i,s)}function Bd(e,t){return console.warn("unexpected variable type",t,e),null}function RM(e){let t=typeof e;if(t==="boolean")return"BOOLEAN";if(t==="number")return"FLOAT";if(t==="string")return"STRING";if(typeof e=="object"){if("image"in e)return"IMAGE";if("r"in e)return"COLOR";if(e.type==="EXPRESSION"||e.type==="VARIABLE_ALIAS")return e.resolvedType||null}return null}function Aa(e){switch(e.type){case so.BOOLEAN:case so.FLOAT:case so.STRING:case so.COLOR:return e.value;case so.ALIAS:return{type:"VARIABLE_ALIAS",id:e.value,resolvedType:hI(e.resolvedType)};case so.EXPRESSION:return{type:"EXPRESSION",value:{expressionFunction:e.value.expressionFunction,expressionArguments:e.value.expressionArguments.map(t=>Aa(t))},resolvedType:hI(e.resolvedType)};default:return null}}function hI(e){return e===0?"BOOLEAN":e===1?"FLOAT":e===2?"STRING":e===3?"COLOR":null}var _v=()=>Promise.resolve(),gI=e=>{_v=e},ai=(e,t)=>_v?_v(e,t):Promise.resolve();var Fd=new Map,Vd=new Map;function oc(e){let t=Fd.get(e);if(t)return Promise.resolve(t);let r=Vd.get(e);if(r)return r.promise;let n=()=>{},o=new Promise(i=>n=i);return Vd.set(e,{resolve:n,promise:o}),o}function Mv(e,t){if(Fd.has(e))return;Fd.set(e,t);let r=Vd.get(e)?.resolve;r&&(r(t),Vd.delete(e))}function Dv(e){Fd.delete(e)}function yI(){return typeof window>"u"?!1:window.matchMedia("(prefers-reduced-motion: reduce)").matches}function NM(e){return ee.state?.websiteData.siteSettings?!!e(ee.state?.websiteData.siteSettings).ignoreReducedMotion:!1}function ic(){return!!si()?.ignoreReducedMotion}function vI(e){return yI()&&!NM(e)}function zd(){let e=ic();return yI()&&!e}function Bv(){return document.documentElement}function Fv(){return document.body}function SI(e){if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;let t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some(r=>{let n=t.getPropertyValue(r);return n==="auto"||n==="scroll"})}function xI(e){if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;let t=getComputedStyle(e);return t.overflowX==="auto"||t.overflowX==="scroll"}function TI(e){if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;let t=getComputedStyle(e);return t.overflowY==="auto"||t.overflowY==="scroll"}function EI(e){let t=e.parentElement;for(;t&&t!==document.documentElement;){if(SI(t))return t;t=t.parentElement}return Fv()}function Vv(e){let t=e.parentElement;for(;t&&t!==document.body;){if(SI(t))return t;t=t.parentElement}return Bv()}var wI={},CI=e=>{wI=e},Ra=()=>wI;var bM=!1,zv=()=>!1,sc=()=>
11{if(zv())return{ease:()=>.5,onAnimationComplete:()=>{}}},PM=["transitionToVisible","transitionToExit","transitionToAndFromHover","transitionToAndFromPress","transitionToAndFromFocus","transitionBasedOnScrollDirection","scrollTransformTransition"],II=e=>{let t=sc();if(!t)return;let r={ease:t.ease,duration:1e4};PM.forEach(n=>{n in e&&e[n]!==void 0&&(e[n]=r)})};var DG=R(O());var di=R(O());function OM(e){return e!=null}function Wv(e){return Math.round(e*255)}function LM(e){return e.toFixed(2)}function kM(e){return`${ps(e.r)}${ps(e.g)}${ps(e.b)}`}function _M(e,t=1){let{r,g:n,b:o,a:i=1}=e;return`${ps(r)}${ps(n)}${ps(o)}${ps(i*t)}`}function MM(e,t=1){let{r,g:n,b:o,a:i=1}=e;return`rgba(${Wv(r)}, ${Wv(n)}, ${Wv(o)}, ${LM(i*t)})`}function AI(e){let t=e.a;return OM(t)&&t!==1}function ps(e){return("00"+Math.round(e*255).toString(16).toUpperCase()).slice(-2)}function DM(e,t=1){if(!AI(e)&&t===1){let r=kM(e);return r[0]===r[1]&&r[2]===r[3]&&r[4]===r[5]?`#${r[0]}${r[2]}${r[4]}`:`#${r}`}else{let r=_M(e,t);return r[0]===r[1]&&r[2]===r[3]&&r[4]===r[5]&&r[6]===r[7]?`#${r[0]}${r[2]}${r[4]}${r[6]}`:`#${r}`}}var Mr=class RI{color;opacity;colorManagement;constructor(t,r=1,n=ut){if(this.color=t,this.opacity=r,this.colorManagement=n,t.r>1||t.g>1||t.b>1)throw new J(`Expected normalised color values (between 0 and 1) but got (${t.r}, ${t.g}, ${t.b})`)}get rawColor(){return new RI(this.color,this.opacity,this.colorManagement)}get value(){return AI(this.color)||this.opacity!==1?MM(this.color,this.opacity):DM(this.color)}equals(t){return this.value===t.value}};function bI(e,t,r){return e+(t-e)*r}function NI(e){let{a:t,...r}=e;return{alpha:t,color:r}}function Gv(e,t,r){return Object.keys(e).reduce((n,o)=>(n[o]=bI(e[o],t[o],r),n),{})}function BM(e,t){return Math.sqrt(((e.r-t.r)**2+(e.b-t.b)**2+(e.g-t.g)**2)/3)}function ac(e,t){return Object.keys(e).reduce((r,n)=>(r[n]=e[n]*t,r),{})}function Hv(e){return e**2.2}function Uv(e){return e**(1/2.2)}function Wd(e){return{r:Hv(e.r),g:Hv(e.g),b:Hv(e.b),a:e.a}}function PI(e){return{r:Uv(e.r),g:Uv(e.g),b:Uv(e.b),a:e.a}}function Hd(e,t,r){let n=Wd(e),o=Wd(t),{alpha:i,color:s}=NI(n),{alpha:a,color:l}=NI(o),u=ac(s,i),c=ac(l,a),f=bI(i,a,r),d=ac(Gv(u,c,r),1/(f||1)),p={r:d.r,g:d.g,b:d.b,a:f};return PI(p)}function Na(e,t,r){let n=Wd(e),o=Wd(t),i=Gv(n,o,r);return PI(i)}function ao(e,t,r){return Gv(e,t,r)}function jv(e){let{stop1:t,stop2:r,...n}=e,o=n.targetInterpolation(t.color,r.color,.5),{a:i,...s}=o,{a,...l}=n.actualInterpolation(t.color,r.color,.5);if(n.recursionLimit===0||BM(ac(s,i),ac(l,a))<=n.epsilon)return[t,r];let u=(t.position+r.position)/2,c={color:o,position:u},f=jv({...n,stop1:t,stop2:c,recursionLimit:n.recursionLimit-1}),d=jv({...n,stop1:c,stop2:r,recursionLimit:n.recursionLimit-1});return[...f,...d.slice(1)]}function lo(e){let{stops:t,epsilon:r,recursionLimit:n,targetInterpolation:o,actualInterpolation:i}=e,s=[];for(let a=0;a<t.length-1;a++){let l=t[a],u=t[a+1],c=Math.abs(l.position-u.position)<1e-8?[l,u]:jv({stop1:l,stop2:u,epsilon:r,recursionLimit:n,targetInterpolation:o,actualInterpolation:i});a!==0&&c.shift(),s.push(...c)}return s}function li(e){return`url("data:image/svg+xml;utf8,${e.replace(/#/g,"%23").replace(/"/g,"'").replace(/\n\s*/g," ").replace(/'[^']*'/g,r=>`'${r.slice(1,-1).trim()}'`).replace(/\(\s*/g,"(").replace(/\s*\)/g,")").replace(/\s*<\s*/g,"<").replace(/\s*\/?>\s*/g,r=>r.includes("/")?"/>":">")}")`}function ba(e){return e.map(t=>{let{color:{r,g:n,b:o,a:i},position:s}=t,a=Math.round(r*255),l=Math.round(n*255),u=Math.round(o*255),c=he(i),f=he(s);return`
12    <stop stop-color="rgba(${a},${l},${u},${c})" offset="${f}" />
13    `}).join("")}function FM(e){let{color:{r:t,g:r,b:n,a:o}}=e,i=Math.round(t*255),s=Math.round(r*255),a=Math.round(n*255),l=he(o),u=he(e.position*100);return`rgba(${i}, ${s}, ${a}, ${l}) ${u}%`}function Ud(e){return e.map(FM).join(", ")}var ft=10;function uo(e){let{size:t,gradientTransform:r}=e,n=Ue.identity();n.scale(ft,ft),n.scale(2,2),n.translate(-.5,-.5);let o=Ue.copy(n);o.invert();let i=Ue.fromArray(r);i.invert();let s=Ue.copy(i);s.multiply(o);let a=Ue.copy(s);a.invert();let l=Ue.identity();return l.scale(t.width,t.height),l.multiply(s),{uvToUnitGradient:a,unitGradientToShape:l}}
13function jd(e){return[new _(0,0),new _(ft,0),new _(ft,ft),new _(0,ft)].map(n=>e.transformPoint(n)).reduce((n,o)=>(n.x=Math.max(n.x,Math.abs(o.x)),n.y=Math.max(n.y,Math.abs(o.y)),n),{x:-1/0,y:-1/0})}function OI(e,t){let r=t[1].minus(t[0]),n=e.minus(t[0]);return r.multiplyBy(n.dot(r)/r.dot(r)).plus(t[0])}var lc=class LI{paint;size;serializationFormat;shouldExpandGradient;static fromColor({color:t,opacity:r}){let n={r:t.r,g:t.g,b:t.b,a:r*("a"in t?t.a:1)};return new LI({gradientTransform:Ue.identity().toMatrix(),gradientStops:[{color:n,position:0},{color:n,position:1}]},ut,{width:1,height:1},io.CSS)}constructor(t,r,n,o,i=!0){this.paint=t,this.size=n,this.serializationFormat=o,this.shouldExpandGradient=i}get valueAsCss(){let{unitGradientToShape:t}=uo({size:this.size,gradientTransform:this.paint.gradientTransform}),r={origin:t.transformPoint(new _(-ft,0)),primary:t.transformPoint(new _(ft,0)),secondary:t.transformPoint(new _(-ft,ft))},n=r.secondary.minus(r.origin),o=new _(-n.y,n.x);o.dot(r.primary.minus(r.origin))<0&&(o=o.multiplyBy(-1));let i={start:new _(0,0),end:o};if(i.end.x<0){let c=new _(this.size.width,0);i.start=i.start.plus(c),i.end=i.end.plus(c)}if(i.end.y<0){let c=new _(0,this.size.height);i.start=i.start.plus(c),i.end=i.end.plus(c)}let s=new _(o.x<0?0:this.size.width,o.y<0?0:this.size.height);i.end=OI(s,[i.start,i.end]);let a=i.end.minus(i.start).toAngle()*(180/Math.PI),l=this.paint.gradientStops.map(c=>{let f=r.origin.add(r.primary.minus(r.origin).multiplyBy(c.position)),p=OI(f,[i.start,i.end]).minus(i.start).size()/i.end.minus(i.start).size();return{color:{...c.color,a:c.color.a*(this.paint.opacity??1)},position:re(p)}}),u=l;return this.shouldExpandGradient&&(u=lo({stops:l.map(c=>({...c})),epsilon:.01,recursionLimit:5,targetInterpolation:ao,actualInterpolation:Hd}).map(c=>({...c,position:re(c.position)}))),`linear-gradient(${a+90}deg, ${Ud(u)})`}get valueAsSvg(){let{unitGradientToShape:t}=uo({size:this.size,gradientTransform:this.paint.gradientTransform}),r=lo({stops:this.paint.gradientStops.map(o=>({...o})),epsilon:.01,recursionLimit:5,targetInterpolation:ao,actualInterpolation:Na}).map(o=>({...o,position:re(o.position)})),n=`
14    <svg viewBox='0 0 ${he(this.size.width)} ${he(this.size.height)}' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'>
15      <rect x='0' y='0' height='100%' width='100%' fill='url(#grad)' opacity='${this.paint.opacity??1}' />
16      <defs>
17        <linearGradient id='grad' gradientUnits='userSpaceOnUse' x1='${-ft}' x2='${ft}' y1='0' y2='0' gradientTransform='${t.toSvgTransform()}'>
18          ${ba(r)}
19        </linearGradient>
20      </defs>
21    </svg>
22    `;return li(n)}get value(){return this.serializationFormat===io.SVG?this.valueAsSvg:this.valueAsCss}equals(t){return this.value===t.value}};function VM(e){let t=[...e];if(!e.length)return t;if(e[0].position!==0){let r={...e[e.length-1]};r.position-=1,t.unshift(r)}if(e[e.length-1].position!==1){let r={...e[0]};r.position+=1,t.push(r)}return t}function zM(e){let t=lo({stops:VM(e.gradientStops),epsilon:.01,recursionLimit:5,targetInterpolation:ao,actualInterpolation:Hd});return`
23    <div
24      xmlns='http://www.w3.org/1999/xhtml'
25      style='
26        background-image: conic-gradient(
27          from 90deg,
28          ${Ud(t)}
29        );
30        opacity:${e.opacity??1};
31        height: 100%;
32        width: 100%;
33      '></div>
34  `}function WM(e){let{size:t,paint:r}=e,{uvToUnitGradient:n,unitGradientToShape:o}=uo({size:t,gradientTransform:r.gradientTransform}),i=jd(n),s=Math.max(i.x,i.y);return`
35    <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 ${he(t.width)} ${he(t.height)}' preserveAspectRatio='none'>
36      <g transform='${o.toSvgTransform()}'>
37        <foreignObject x='${he(-s)}' y='${he(-s)}' width='${he(2*s)}' height='${he(2*s)}'>
38          ${zM(r)}
39        </foreignObject>
40      </g>
41    </svg>
42    `}var Gd=class{paint;size;constructor(t,r=ut,n){this.paint=t,this.size=n}get value(){let t=WM({size:this.size,paint:this.paint});return li(t)}equals(t){return this.value===t.value}};var $d=class{paint;size;constructor(t,r=ut,n){this.paint=t,this.size=n}get value(){let t=lo({stops:this.paint.gradientStops.map(o=>({...o})),epsilon:.01,recursionLimit:5,targetInterpolation:ao,actualInterpolation:Na}),{unitGradientToShape:r}=uo({size:this.size,gradientTransform:this.paint.gradientTransform}),n=`
43    <svg viewBox='0 0 ${he(this.size.width)} ${he(this.size.height)}' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'>
44      <rect x='0' y='0' height='100%' width='100%' fill='url(#grad)' opacity='${this.paint.opacity??1}' />
45      <defs>
46        <radialGradient id='grad' gradientUnits='userSpaceOnUse' cx='0' cy='0' r='${ft}' gradientTransform='${r.toSvgTransform()}'>
47          ${ba(t)}
48        </radialGradient>
49      </defs>
50    </svg>
51    `;return li(n)}equals(t){return this.value===t.value}};function HM(e){let{size:t,paint:r}=e,n=lo({stops:r.gradientStops.map(a=>({...a})),epsilon:.01,recursionLimit:5,targetInterpolation:ao,actualInterpolation:Na}),{uvToUnitGradient:o,unitGradientToShape:i}=uo({size:t,gradientTransform:r.gradientTransform}),s=jd(o);return`
52    <svg viewBox='0 0 ${he(t.width)} ${he(t.height)}' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'>
53      <g transform='${i.toSvgTransform()}' opacity='${r.opacity??1}'>
54        <rect height='${he(s.y)}' width='${he(s.x)}' fill='url(#grad)' id='quad' shape-rendering='crispEdges' />
55        <use href='#quad' transform='scale(1 -1)' />
56        <use href='#quad' transform='scale(-1 1)' />
57        <use href='#quad' transform='scale(-1 -1)' />
58      </g>
59      <defs>
60        <linearGradient id='grad' gradientUnits='userSpaceOnUse' x2='${.5*ft}' y2='${.5*ft}'>
61          ${ba(n)}
62        </linearGradient>
63      </defs>
64    </svg>
65    `}var Kd=class{paint;size;constructor(t,r=ut,n){this.size=n,this.paint=t}get value(){let t=HM({size:this.size,paint:this.paint});return li(t)}equals(t){return this.value===t.value}};function uc(e){return e.length===1?e[0]:e.reduceRight((t,r)=>
65{let n=r.color,o=t.color,i=r.opacity,s=t.opacity,a=i*(1-s),l=a+s,u=a/l,c=s/l;return new Mr({r:n.r*u+o.r*c,g:n.g*u+o.g*c,b:n.b*u+o.b*c},l)})}var $v={[Me.NORMAL]:void 0,[Me.PASS_THROUGH]:void 0,[Me.DARKEN]:"darken",[Me.MULTIPLY]:"multiply",[Me.LINEAR_BURN]:void 0,[Me.COLOR_BURN]:"color-burn",[Me.LIGHTEN]:"lighten",[Me.SCREEN]:"screen",[Me.LINEAR_DODGE]:"plus-lighter",[Me.COLOR_DODGE]:"color-dodge",[Me.OVERLAY]:"overlay",[Me.SOFT_LIGHT]:"soft-light",[Me.HARD_LIGHT]:"hard-light",[Me.DIFFERENCE]:"difference",[Me.EXCLUSION]:"exclusion",[Me.HUE]:"hue",[Me.SATURATION]:"saturation",[Me.COLOR]:"color",[Me.LUMINOSITY]:"luminosity"};function Pa(e){if(e)return $v[e]}var UM=e=>{let t=["backgroundImage","backgroundSize","backgroundPosition","backgroundRepeat"],r={backgroundImage:"none",backgroundSize:"auto auto",backgroundPosition:"0% 0%",backgroundRepeat:"repeat"},n={};t.forEach(i=>{let s=e.map(a=>a[i]);if(s.some(a=>a!==void 0)){let a=s.map(u=>u??r[i]),l=a.every(u=>u===a[0]);n[i]=l?a[0]:a.join(", ")}});let o=e.find(i=>i.backgroundColor)?.backgroundColor;return o!==void 0&&(n.backgroundColor=o),n},jM=(e,t)=>{if(e.hasBlendMode||t.hasBlendMode||e.shouldOptimizeImage||t.shouldOptimizeImage)return!1;let r=e.uniqueTypes.has("IMAGE"),n=t.uniqueTypes.has("IMAGE");if(r!==n&&(e.opacity!==void 0||t.opacity!==void 0))return!1;let o=e.uniqueTypes.size===1&&r,i=t.uniqueTypes.size===1&&n;return!(o&&i&&e.opacity!==t.opacity)};function Yd(e=[],t,r,n){if(!e.length)return[];let o=[];return e.filter(s=>s.visible!==!1).forEach(s=>{let a=$M(s,t,r,n);if(!a)return;let l=s.blendMode&&$v[s.blendMode],u=GM(s),c={hasBlendMode:!!l,shouldOptimizeImage:n&&kI(a),uniqueTypes:new Set([s.type]),opacity:u},f=o[o.length-1],d=f?.comparator;!!f&&d&&jM(d,c)?(f.backgrounds.push(a),d.uniqueTypes.add(s.type)):o.push({backgrounds:[a],blendMode:l,opacity:u,comparator:c})}),o.map(({backgrounds:s,blendMode:a,opacity:l})=>{let u=n&&s.length===1&&kI(s[0]),c,f,d;if(s.length===1&&s[0]instanceof _I){let v=s[0].value;c=v.styles,d=v.videoProps}else if(u){let v=s[0].value;c=v.styles,f=v.imageProps}else{let v=s.reverse().map((m,T)=>{if(!(T===s.length-1)&&m instanceof Mr&&(m=lc.fromColor(m)),m instanceof Kv)return m.value.styles;if(m instanceof lc||m instanceof $d||m instanceof Gd||m instanceof Kd)return{backgroundImage:m.value};if(m instanceof Mr)return{backgroundColor:m.value};throw new J("Unsupported background type")});c=UM(v)}let p=!!f||!!d||l!==void 0;return a!==void 0&&(c.mixBlendMode=a),l!==void 0&&(c.opacity=l),{backgroundStyles:c,imageProps:f,videoProps:d,needsBackgroundDiv:p}})}function GM(e){if(e.type==="IMAGE"&&e.opacity!==void 0&&e.opacity!==1)return e.opacity}function $M(e,t,r,n){let{type:o}=e,i=ut;if(o==="PATTERN")return null;if(o==="SOLID")return e.color?new Mr(e.color,e.opacity,i):null;if(o==="VIDEO")return YM(e,t);if(o==="IMAGE")return KM(e,t,n);if(Pd(e)){let{gradientStops:s,transform:a,opacity:l}=e,u={gradientTransform:a,gradientStops:s,opacity:l},c=ee.state?.compactDOM;switch(o){case"GRADIENT_LINEAR":return new lc(u,i,r,c?io.CSS:io.SVG,!c);case"GRADIENT_RADIAL":return new $d(u,i,r);case"GRADIENT_ANGULAR":return new Gd(u,i,r);case"GRADIENT_DIAMOND":return new Kd(u,i,r);default:me(o)}}throw new J(`Unknown paint type: ${o}`)}var Kv=class{paint;image;shouldOptimizeImages;constructor(t,r,n){this.paint=t,this.image=r,this.shouldOptimizeImages=n}canOptimize(){return this.shouldOptimizeImages&&this.paint.scaleMode!=="TILE"}get value(){let{paint:t,image:r,shouldOptimizeImages:n}=this,o=ee.state.getAssetURL,s={backgroundImage:`url(${o(r.url)})`,backgroundRepeat:"no-repeat"},a;switch(t.scaleMode){case"FILL":s.backgroundSize="cover",s.backgroundPosition="50% 50%";break;case"FIT":s.backgroundSize="contain",s.backgroundPosition="50% 50%";break;case"STRETCH":{let{imageTransform:l}=t;if(!l)s.backgroundSize="100% 100%",s.backgroundPosition="bottom";else{let c=1/l[0][0],f=1/l[1][1];if(n){let d=-l[0][2]/l[0][0];a={topPercent:-l[1][2]/l[1][1],leftPercent:d,widthPercent:c,heightPercent:f}}else{s.backgroundSize=`${Sn(c)} ${Sn(f)}`;let d=l[0][0]===1?0:-l[0][2]/(l[0][0]-1),p=l[1][1]===1?0:-l[1][2]/(l[1][1]-1);s.backgroundPosition=`${Sn(d)} ${Sn(p)}`}}break}case"TILE":{let l=t.scalingFactor||1,u={width:r.size.x||100,height:r.size.y||100},c=u.width*l,f=u.height*l,d=`${c}px`,p=`${f}px`;if(n){let v=Math.min(u.width,c*3),m=`url(${o(r.url,{width:c})}) 1x`;for(let T=2;c*T<=v;T++)m+=`, url(${o(r.url,{width:c*T})}) ${T}x`;s.backgroundImage=`image-set(${m})`}s.backgroundSize=t.rotation%360===0||t.rotation%360===180?`${d} ${p}`:`${p} ${d}`,s.backgroundPosition="0% 0%",s.backgroundRepeat="repeat";break}default:me(t.scaleMode)}if(this.canOptimize()){let l={url:r.url,size:r.size,cropDivInfo:a},{backgroundImage:u,backgroundRepeat:c,backgroundSize:f,backgroundPosition:d,...p}=s;return{styles:{objectFit:f,objectPosition:d,...p},imageProps:l}}return{styles:s}}};function Xd(e){return e.gifRef||e.imageRef}var KM=(e,t,r)=>{let n=t?.[Xd(e)];return n.type,new Kv(e,n,r)},kI=e=>e instanceof Kv&&e.canOptimize(),_I=class{paint;video;constructor(t,r){this.paint=t,this.video=r}get value(){let{paint:t,video:r}=this,n={},o={url:r.url,autoplay:t.autoplay??!1};return{styles:n,videoProps:o}}},YM=(e,t)=>{let r=t?.[e.videoRef];return r.type,new _I(e,r)};
65function MI(e,t,r){let{collectionId:n,itemId:o}=r,i=e.collectionById[n];ue(i!==void 0,`collection with id ${n} not found in CMS Data State`);let s=i.itemById[o];ue(s!==void 0,`item with id ${o} not found in CMS Collection ${i.id}`);let a=new Map;s.fields.forEach(u=>{a.set(u.fieldSchemaId,u)});let l=i.fieldSchemas.find(u=>u.type==="slug")?.id;return ue(l!==void 0,`slug field for item id ${o} not found in CMS Collection ${i.id}`),{item:s,fieldsBySchemaId:a,slugFieldSchemaId:l,guidToUrl:t,fieldBindingProperties:r}}function cc(e,t){let r=e.fieldsBySchemaId.get(t.fieldSchemaId);return ue(r!==void 0,`field with fieldSchemaId ${t.fieldSchemaId} not found in CMS Item ${e.item.id}`),r.value}function DI(e,t){return e.slugFieldSchemaId===t.fieldSchemaId}function XM(e,t){ue(e!==null,"GUID should not be null");let r=ct(e),n=t.get(r);return ue(n!==void 0,`url not in map for GUID ${r}`),ue(n?.length>0,`url empty for GUID ${r}`),n}function BI(e,t){let r=JSON.parse(e),n=r.guid?XM(r.guid,t):r.url;ue(n!==void 0,"url is undefined");let o=r.guid?"NODE":"URL";return{url:n,type:o,openInNewTab:r.openInNewTab}}function FI(e,t){return{url:`${t}/${e}`,type:"NODE",openInNewTab:!1}}function Yv(e){let t={type:e.type};return e.type==="NODE"?t.nodeID=e.url:t.url=e.url,e.openInNewTab!==void 0&&(t.openInNewTab=e.openInNewTab),t}function VI(e){let t={connectionURL:e.url,connectionType:e.type==="NODE"?"INTERNAL_NODE":"URL"};return t.connectionType==="INTERNAL_NODE"&&(t.navigationType="NAVIGATE"),e.openInNewTab!==void 0&&(t.openUrlInNewTab=e.openInNewTab),t}function Xv(e,t,r){let n=cc(e,t);return DI(e,t)?(ue(r!==void 0,`baseUrl is undefined for slug field binding on item ${e.item.id}`),FI(n,r)):BI(n,e.guidToUrl)}function qM(e,t,r){if(r.characters){if(e.type==="TEXT")return e.characters=cc(t,r.characters),!0;console.warn(`text binding unsupported for ${e.type} node ${e.id}`)}return!1}function QM(e,t,r){if(r.hyperlink)if(e.type==="TEXT"){let n=Xv(t,r.hyperlink,e.style.hyperlink?.nodeID);return e.style.hyperlink=Yv(n),!0}else console.warn(`hyperlink binding unsupported for ${e.type} node ${e.id}`);return!1}function ZM(e,t,r){if(r.richText){if(e.type==="CMS_RICH_TEXT")return e.richText=cc(t,r.richText),!0;console.warn(`rich text binding unsupported for ${e.type} node ${e.id}`)}return!1}function JM(e,t){let r=t.fieldBindingProperties.boundCmsVariables;if(!r)return!1;let n=[qM,QM,ZM],o=!1;for(let i of n)try{i(e,t,r)&&(o=!0)}catch(s){console.error(`Error applying binding function ${i.name} to node ${e.id}:`,s);continue}return o}function eD(e,t){let r=t.fieldBindingProperties.styleOverrideTableBoundCmsVariables;if(!r||Object.keys(r).length===0)return!1;if(e.type!=="TEXT")return console.warn(`styleOverrideTable hyperlink binding unsupported for ${e.type} node ${e.id}`),!1;let n=!1;for(let[o,i]of Object.entries(r)){let s=e.styleOverrideTable[o];if(i?.hyperlink&&s){let a=Xv(t,i.hyperlink,s.hyperlink?.nodeID);s.hyperlink=Yv(a),n=!0}}return n}function tD(e,t){let r=t.fieldBindingProperties.interactionsBoundCmsVariables;if(!r||Object.entries(r).length===0)return!1;if(!("interactions"in e))return console.warn(`interactions not defined for hyperlink prototype interaction binding on node ${e.id}`),!1;let n=!1,o=e.interactions||[];for(let i of o)for(let s of i.actions||[]){let a=s.linkParam?.value;if(!a||!("fieldSchemaId"in a))continue;let l=a.fieldSchemaId;if(l){for(let u of r)if(l===u.hyperlink?.fieldSchemaId){let c=Xv(t,u.hyperlink,s.connectionURL);Object.assign(s,VI(c)),n=!0}}}return n}function rD(e,t){let r=t.fieldBindingProperties.fillPaintsBoundCmsVariables;if(!r||Object.entries(r).length===0)return!1;if(!("fills"in e))return console.warn(`fills not defined for image fill binding on node ${e.id}`),!1;let n=!1;for(let o of r){let s=e.fills?.[o.fillIndex];if(s&&o.boundVariables.image){let a=cc(t,o.boundVariables.image),l=JSON.parse(a);s.imageRef=l.image,e.accessibleLabel=l.altText,n=!0}}return n}function nD(e){return["FRAME","INSTANCE","RECTANGLE","TEXT","CMS_RICH_TEXT"].includes(e)}function zI(e,t,r){if(!nD(e.type)||!t||!("cmsItemFieldBindingProperties"in e)||!e.cmsItemFieldBindingProperties)return!1;let n=MI(t,r,e.cmsItemFieldBindingProperties),o=[JM,eD,tD,rD],i=!1;for(let s of o)try{s(e,n)&&(i=!0)}catch(a){console.error(`Error applying binding function ${s.name} to node ${e.id}:`,a);continue}return i}var WI=R(G()),wn=R(O());var fc=(0,wn.createContext)({reportError:ec,setMaterializationError:ec});function HI({children:e,reportError:t}){let r=(0,wn.useRef)({map:new Map,updatedSinceLastRender:!1});(0,wn.useEffect)(()=>{let i=setInterval(()=>{r.current.updatedSinceLastRender&&(ai("updateMaterializationErrors",{errors:Array.from(r.current.map.values())}),r.current.updatedSinceLastRender=!1)},100);return()=>clearInterval(i)},[r]);let n=(0,wn.useCallback)((i,s)=>{let a=r.current;s&&s.errorMessage?(console.error(`New error in ${s.nodeName} (${s.nodeId})`,s.errorMessage),a.map.set(i,s),a.updatedSinceLastRender=!0):a.map.has(i)&&(a.map.delete(i),a.updatedSinceLastRender=!0)},[r]),o=(0,wn.useMemo)(()=>({reportError:t,setMaterializationError:n}),[t,n]);return(0,WI.jsx)(fc.Provider,{value:o,children:e})}var qv=R(O());var ZU=R(O()),$;(function(e){e.LAYOUT="layout",e.INSTANCE_SUBTREE="instanceSubtree",e.NONE="none"})($||($={}));function UI(e){let{background:t,backgroundColor:r,backgroundImage:n,backgroundPosition:o,backgroundSize:i,border:s,borderBottom:a,borderBottomColor:l,borderBottomLeftRadius:u,borderBottomRightRadius:c,borderBottomWidth:f,borderColor:d,borderEndEndRadius:p,borderEndStartRadius:v,borderLeft:m,borderLeftColor:T,borderLeftWidth:h,borderRadius:g,borderRight:y,borderRightColor:x,borderRightWidth:S,borderStartEndRadius:E,borderStartStartRadius:w,borderStyle:C,borderTop:N,borderTopColor:I,borderTopLeftRadius:b,borderTopRightRadius:P,borderTopWidth:k,borderWidth:B,boxShadow:A,caretColor:U,clipPath:M,color:H,filter:K,font:te,fontSize:Ne,fontSizeAdjust:ve,fontStretch:de,fontWeight:V,fontVariationSettings:X,letterSpacing:pe,lineHeight:Te,opacity:Je,outline:Ye,outlineColor:Ar,outlineWidth:_o,textDecoration:fn,textDecorationColor:ht,textDecorationThickness:_t,textEmphasis:ur,textEmphasisColor:gt,textShadow:Ge,visibility:Mo,wordSpacing:cr,...Do}=e;return{motionStyles:{background:t,backgroundColor:r,backgroundImage:n,backgroundPosition:o,backgroundSize:i,border:s,borderBottom:a,borderBottomColor:l,borderBottomLeftRadius:u,borderBottomRightRadius:c,borderBottomWidth:f,borderColor:d,borderEndEndRadius:p,borderEndStartRadius:v,borderLeft:m,borderLeftColor:T,borderLeftWidth:h,borderRadius:g,borderRight:y,borderRightColor:x,borderRightWidth:S,borderStartEndRadius:E,borderStartStartRadius:w,borderStyle:C,borderTop:N,borderTopColor:I,borderTopLeftRadius:b,borderTopRightRadius:P,borderTopWidth:k,borderWidth:B,boxShadow:A,caretColor:U,clipPath:M,color:H,filter:K,font:te,fontSize:Ne,fontSizeAdjust:ve,fontStretch:de,fontWeight:V,fontVariationSettings:X,letterSpacing:pe,lineHeight:Te,opacity:Je,outline:Ye,outlineColor:Ar,outlineWidth:_o,textDecoration:fn,textDecorationColor:ht,textDecorationThickness:_t,textEmphasis:ur,textEmphasisColor:gt,textShadow:Ge,visibility:Mo,wordSpacing:cr},cssStyles:Do}}var Qv=-1,La=(e,t,r,n,o,i)=>{if(e===$.NONE)return{motionTransitionProps:void 0,cssStyles:r};let s=e===$.INSTANCE_SUBTREE,{motionStyles:a,cssStyles:l}=s?UI(r):{motionStyles:{},cssStyles:r},u=jI(a),{correctlyTypedStyles:c,incorrectlyTypedStyles:f}=GI(u),d=s?{[ne.VISIBLE_SMART_ANIMATE]:v=>Oa(c,t,v,o),[ne.HIDDEN_SMART_ANIMATE]:v=>Oa(c,0,v,o),...n}:n;return{motionTransitionProps:{...s?{animate:ne.VISIBLE_SMART_ANIMATE,exit:ne.HIDDEN_SMART_ANIMATE,variants:d}:{},...o?{...s?{initial:ne.HIDDEN_SMART_ANIMATE,onAnimationComplete:i}:{},onLayoutAnimationComplete:i,transition:{duration:o.durationSeconds,...o.motionAnimationData}}:{transition:{layout:{duration:0}}}},cssStyles:{...l,...f}}};function Oa(e,t,r,n){let o=r?.durationSeconds??n?.durationSeconds??0,i=r?.motionAnimationData??n?.motionAnimationData??{};return{...e,opacity:t,transition:{duration:o,...i}}}function jI(e){let t,r={...e};for(t in r){let n=r[t];n==null&&delete r[t]}return r}function GI(e){let{mask:t,alignmentBaseline:r,fillRule:n,strokeLinecap:o,strokeLinejoin:i,...s}=e;return{correctlyTypedStyles:s,incorrectlyTypedStyles:{mask:t,alignmentBaseline:r,fillRule:n,strokeLinecap:o,strokeLinejoin:i}}}function co(e,t,r,n){return e!==$.NONE?{layout:n?"position":!0,layoutDependency:t?.
65id??Qv,transformTemplate:r?qd(r):void 0}:void 0}function $I(e,t){return{mode:"popLayout",custom:e,onExitComplete:t}}function zt(e){return qv.default.useCallback(()=>{e?.layout||e?.onTransitionEnd(e?.id)},[e])}function KI(e,t,r,n){if(r)return $.NONE;let o=n?.smartAnimateType??$.NONE;return e?$.INSTANCE_SUBTREE:o!==$.NONE?o:t?$.LAYOUT:$.NONE}var fo=(e,t)=>Boolean(e===$.INSTANCE_SUBTREE&&t),YI=(e,t,r,n)=>{let o=jI(e),{correctlyTypedStyles:i}=GI(o),s={[ne.VISIBLE_SMART_ANIMATE]:l=>Oa(i,1,l,r),[ne.HIDDEN_SMART_ANIMATE]:l=>Oa({},0,l,r)};return{motionTransitionProps:{animate:t?ne.VISIBLE_SMART_ANIMATE:"",exit:ne.HIDDEN_SMART_ANIMATE,variants:s,...r?{initial:ne.HIDDEN_SMART_ANIMATE,onAnimationComplete:n,onLayoutAnimationComplete:n,transition:{duration:r.durationSeconds,...r.motionAnimationData}}:{transition:{duration:0}}},cssStyles:{}}},XI=(e,t,r)=>{if(e===$.NONE)return{motionTransitionProps:void 0,cssStyles:{}};let n=e===$.INSTANCE_SUBTREE,o={[ne.VISIBLE_SMART_ANIMATE]:s=>Oa({},1,s,t),[ne.HIDDEN_SMART_ANIMATE]:s=>Oa({},0,s,t)};return{motionTransitionProps:{...n?{animate:ne.VISIBLE_SMART_ANIMATE,exit:ne.HIDDEN_SMART_ANIMATE,variants:o}:{},...t?{...n?{initial:ne.HIDDEN_SMART_ANIMATE,onAnimationComplete:r}:{},onLayoutAnimationComplete:r,transition:{duration:t.durationSeconds,...t.motionAnimationData}}:{transition:{duration:0}}},cssStyles:{}}};function ka(){return qv.default.useRef(0)}var ys=R(O());function Qd(e,...t){let r="";return e.forEach((n,o)=>{r+=n+(t[o]||"")}),r}var Ba=R(O());var QI=R(Zv());var oD="api/figment-proxy/monitor",iD="sites.runtime_error",sD="figweb",aD=100,lD=new Set(["preview","published"]),uD=async(e,t,r,n)=>{if(!e||e==="")return;let o=`${e}/${oD}`;try{await fetch(o,{method:"POST",body:JSON.stringify(t),priority:"low",keepalive:n?.sendAsBeacon,headers:{"Content-Type":"application/json",...r},credentials:"omit"})}catch(i){console.error(i)}},cD=()=>/iPad/.test(navigator.userAgent)||/Mac/.test(navigator.userAgent)&&!/iPhone/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||!1,Jd;function Jv(){if(Jd===void 0)try{Jd={...QI.default.detect(navigator.userAgent),isIpad:cD()}}catch{Jd=null}return Jd||null}var _a=class{env;rateLimiter;_shouldReportErrors;reportingDomain;analyticsHeaders;userId;bundleId;bundleCreationDate;_cachedInfo;constructor({env:t,reportingDomain:r,rateLimiter:n,analyticsHeaders:o,bundleId:i,bundleCreationDate:s,userId:a}){this.reportingDomain=r,this.env=t,this.rateLimiter=n,this.analyticsHeaders=o,this._shouldReportErrors=this.shouldReportErrors(),this.bundleId=i,this.bundleCreationDate=s,this.userId=a}shouldReportErrors=()=>{if(!lD.has(this.env))return!1;try{new URL(this.reportingDomain)}catch{return!1}return!0};getContext=()=>({page:{path:window.location.pathname,referrer:document.referrer,search:window.location.search,title:document.title,url:window.location.toString()},userAgent:window.navigator.userAgent,forwardToDatadog:!0});reportError=(t,r)=>{if(!this._shouldReportErrors||!(t instanceof J)||!this.rateLimiter.tryAdd(1))return;let n=new Date().toISOString(),o={event:iD,properties:{errorType:t.name,errorMessage:r?`[${r}]: ${t.message}`:t.message,stackTrace:t.stack||"",environment:this.env,bundleId:this.bundleId,bundleCreationDate:this.bundleCreationDate,severity:t.severity,errorDetail:t.errorDetail,...this.getBrowserInfoProps()},timestamp:n,sentAt:n,context:this.getContext()},i={namespace:sD,batched:"1"};this.userId&&(o.userId=this.userId);let s=[{data:o,figment_metadata:i}];uD(this.reportingDomain,s,this.analyticsHeaders)};getBrowserInfoProps=()=>{if(!this._cachedInfo)try{let t=Jv();t&&(this._cachedInfo={browser_name:t.name,browser_version:+t.version,os_name:t?.isIpad?"iPadOS":t.osname,os_version:t?.isIpad?0:t.osversion})}catch{this._cachedInfo={}}return this._cachedInfo};static init(t){if(!this._ErrorReporter)for(this._ErrorReporter=new _a(t);this._errorQueue.length;)this.reportError(_a._errorQueue.pop())}static reset(){this._ErrorReporter=void 0,this._errorQueue=[]}static reportError(t,r){this._ErrorReporter?this.enabled&&this._ErrorReporter.reportError(t,r):this._errorQueue.length<aD&&this._errorQueue.push(t)}},Qe=_a;dr(Qe,"enabled",!0),dr(Qe,"_ErrorReporter"),dr(Qe,"_errorQueue",[]),dr(Qe,"enable",()=>_a.enabled=!0),dr(Qe,"disable",()=>_a.enabled=!1);var hs=(e,t)=>r=>{try{e(r)}catch(n){throw Qe.reportError(n,t),n instanceof J?new Error(n.message,n):n}},Ma=(e,t)=>r=>{try{e(r)}catch(n){throw Qe.reportError(n,t),n instanceof J?new Error(n.message,n):n}};var j=[""],eS={transparent:j},fD={"-webkit-text-fill-color":{partialSupportOk:!0,values:{...eS}},"-ms-overflow-style":{partialSupportOk:!0,values:{none:!0}},"-webkit-box-orient":{alternateName:"box-orient",partialSupportOk:!0,values:{vertical:j}}},ZI={properties:{"align-items":{values:{"flex-start":["flex_context"],"flex-end":["flex_context"],center:j,baseline:["flex_context.baseline"],start:["grid_context.start_end"],end:["grid_context.start_end"]},except:["flex_context.last_baseline","flex_context.safe_unsafe","flex_context.start_end"]},"align-self":{values:{"flex-start":["flex_context"],"flex-end":["flex_context"],stretch:["flex_context.stretch"],center:j},except:["flex_context.last_baseline","flex_context.safe_unsafe","position_absolute_context"]},"align-content":{values:{"flex-start":["flex_context"],"flex-end":["flex_context"],center:j,"space-between":["flex_context"],baseline:["flex_context.baseline"],stretch:["flex_context.stretch"]},except:["flex_context.last_baseline","flex_context.safe_unsafe","flex_context.start_end","multicol_context","block_context"]},animation:{values:{scroll:j,linear:j,none:j},except:["animation-timeline_included"]},"animation-play-state":{},"animation-delay":{},"animation-direction":{},"animation-timing-function":{},"aspect-ratio":{values:{auto:!0}},"backdrop-filter":{},background:{values:{none:j}},"background-clip":{values:{"padding-box":!0,text:!0}},"background-color":{},"background-image":{values:{none:!0}},"background-position":{values:{bottom:!0}},"background-repeat":{values:{repeat:!0,"no-repeat":!0}},"background-size":{values:{auto:!0,contain:!0,cover:!0}},border:{values:{none:j,solid:j}},"border-bottom-left-radius":{},"border-bottom-right-radius":{},"border-bottom-width":{},"border-color":{values:{...eS}},"border-left-width":{},"border-radius":{},"border-right-width":{},"border-style":{values:{solid:!0,dashed:!0,none:!0}},"border-top-left-radius":{},"border-top-right-radius":{},"border-top-width":{},bottom:{values:{auto:!0}},"box-shadow":{values:{inset:!0}},"box-sizing":{values:{"border-box":!0}},color:{values:{revert:j}},"column-gap":{},content:{except:["none_applies_to_elements","alt_text"]},cursor:{values:{pointer:!0,none:!0},except:["url_positioning_syntax"]},direction:{values:{ltr:!0,rtl:!0},except:["vertical_slider_direction"]},display:{values:{block:!0,"inline-block":!0,grid:!0,flex:!0,contents:!0,none:!0,"inline-grid":!0,"-webkit-box":!0},except:["contents.contents_unusual","contents.focusable_elements","none.option_is_hidden","is_transitionable","keyframe_animatable","multi-keyword_values"]},filter:{},flex:{values:{auto:j}},"flex-direction":{values:{column:!0,"column-reverse":!0,row:!0,"row-reverse":!0}},"flex-shrink":{},"flex-wrap":{values:{wrap:!0}}
65,"font-family":{values:{serif:j,"sans-serif":j}},"font-feature-settings":{},"font-size":{},"font-style":{values:{italic:!0,normal:!0}},"font-variant-caps":{values:{normal:!0,"small-caps":!0,"all-small-caps":!0}},"font-variation-settings":{values:{normal:j}},"font-weight":{values:{normal:!0,bold:!0}},gap:{},"grid-column":{values:{span:j}},"grid-row":{values:{span:j}},"grid-template-columns":{values:{"max-content":!0}},"grid-template-rows":{values:{"max-content":!0}},height:{values:{auto:!0},except:["fit-content_function"]},inset:{},"justify-content":{values:{"flex-start":["flex_context"],"flex-end":["flex_context"],center:j,"space-between":["flex_context"]},except:["flex_context.safe_unsafe","flex_context.start_end"]},"justify-items":{values:{"flex-start":["flex_context"],"flex-end":["flex_context"],center:j,baseline:["flex_context"],start:["grid_context","flex_context"],end:["grid_context","flex_context"]}},"justify-self":{values:{"flex-start":["grid_context"],"flex-end":["grid_context"],center:j,baseline:["grid_context"],start:["grid_context"],end:["grid_context"]},except:["position_absolute_context"]},left:{values:{auto:!0}},"letter-spacing":{},"line-height":{values:{normal:!0}},"list-style":{values:{none:j}},"list-style-position":{values:{inside:!0}},"list-style-type":{values:{"lower-alpha":!0,"lower-roman":!0,decimal:!0,circle:!0}},margin:{},"margin-bottom":{values:{auto:!0}},"margin-inline-start":{},"margin-left":{values:{auto:!0}},"margin-right":{values:{auto:!0}},"margin-top":{values:{auto:!0}},"mask-image":{needsPrefix:"-webkit-"},"mask-mode":{values:{alpha:!0,luminance:!0}},"mask-size":{needsPrefix:"-webkit-"},"mask-position":{needsPrefix:"-webkit-",values:{auto:j}},"mask-repeat":{needsPrefix:"-webkit-",values:{"no-repeat":j}},"mask-clip":{needsPrefix:"-webkit-",values:{"no-clip":j}},"mask-origin":{needsPrefix:"-webkit-"},"mask-composite":{values:{intersect:!0}},"mask-type":{values:{alpha:!0,luminance:!0}},"max-width":{values:{none:!0},except:["fit-content_function"]},"max-height":{except:["fit-content_function"]},"min-width":{values:{auto:!0},except:["fit-content_function"]},"min-height":{except:["fit-content_function"]},"mix-blend-mode":{values:{darken:j,multiply:j,"plus-lighter":!0,"color-burn":j,lighten:j,screen:j,"color-dodge":j,overlay:j,"soft-light":j,"hard-light":j,difference:j,exclusion:j,huge:j,saturation:j,color:j,luminosity:j}},"object-fit":{values:{contain:!0,cover:!0}},"object-position":{values:{bottom:j}},opacity:{},order:{},overflow:{values:{auto:!0,hidden:!0,clip:!0,scroll:!0,visible:!0}},"overflow-x":{values:{auto:!0,hidden:!0,clip:!0,scroll:!0,visible:!0}},"overflow-y":{values:{auto:!0,hidden:!0,clip:!0,scroll:!0,visible:!0}},padding:{},"padding-bottom":{},"padding-inline-start":{},"padding-left":{},"padding-top":{},"padding-right":{},"pointer-events":{values:{none:j,auto:j}},position:{values:{absolute:!0,sticky:!0,relative:!0,fixed:!0}},right:{values:{auto:!0}},"row-gap":{},"scrollbar-width":{values:{none:!0}},"text-align":{values:{left:!0,right:!0,center:!0,justify:!0,start:!0,end:!0}},"text-box-edge":{values:{cap:j,alphabetic:j}},"text-box-trim":{values:{}},"text-decoration":{except:["includes_thickness","includes_color-and-style"],values:{none:j}},"text-decoration-color":{},"text-decoration-line":{values:{none:!0,underline:!0,"line-through":!0}},"text-decoration-skip-ink":{values:{none:!0}},"text-decoration-style":{values:{solid:j,wavy:j,dotted:j}},"text-decoration-thickness":{values:{"from-font":!0}},"text-indent":{},"text-overflow":{values:{ellipsis:!0},except:["two_value_syntax"]},"text-shadow":{},"text-transform":{values:{none:!0,uppercase:!0,lowercase:!0,capitalize:!0},except:["greek_accented_characters","dutch_ij_digraph"]},"text-underline-offset":{},top:{values:{auto:!0}},"text-underline-position":{values:{"from-font":!0}},transform:{},"transform-origin":{values:{top:!0,left:!0}},"vertical-align":{values:{super:!0}},"white-space":{values:{pre:!0,"pre-wrap":!0,nowrap:!0},except:["svg_elements","shorthand_values"]},width:{values:{auto:!0,"min-content":!0},except:["fit-content_function"]},"word-break":{values:{"break-word":!0}},"z-index":{},"-webkit-text-size-adjust":{alternateName:"text-size-adjust",partialSupportOk:!0},"-webkit-tap-highlight-color":{partialSupportOk:!0,values:{...eS}},"-webkit-font-smoothing":{alternateName:"font-smooth",partialSupportOk:!0,values:{antialiased:j}},"-webkit-line-clamp":{alternateName:"line-clamp"},...fD}
65,functionTypes:{calc:{key:"types.calc",except:["calc.color_component"]},var:{key:"types.var"},min:{key:"types.min"},max:{key:"types.max"},matrix:{key:"types.transform-function.matrix"},rotate:{key:"types.transform-function.rotate"},translate:{key:"types.transform-function.translate"},translateX:{key:"types.transform-function.translateX"},translateY:{key:"types.transform-function.translateY"},skewX:{key:"types.transform-function.skewX"},skewY:{key:"types.transform-function.skewY"},rgba:{key:"types.color"},clamp:{key:"types.clamp"},blur:{key:"types.filter-function.blur"},"linear-gradient":{key:"types.gradient.linear-gradient",except:["gradient.linear-gradient.hue_interpolation_method","gradient.linear-gradient.interpolation_color_space","gradient.linear-gradient.single_color_stop"]},"image-set":{key:"types.image.image-set"},repeat:{key:"properties.grid-template-rows.repeat"},minmax:{key:"properties.grid-template-rows.minmax"}},units:{px:{key:"types.length",except:["length.container_query_length_units","length.viewport_percentage_units_dynamic","length.viewport_percentage_units_large","length.viewport_percentage_units_small"]},em:{key:"types.length.em"},vw:{key:"types.length.vw"},vh:{key:"types.length.vh"},dvw:{key:"types.length.viewport_percentage_units_dynamic"},deg:{key:"types.angle.deg"},x:{key:"types.resolution.x"},fr:{key:"types.flex"}}};var dD=new Map,mD=new Map;for(let[e,t]of Object.entries(ZI.properties))if(t.needsPrefix){let r=`${t.needsPrefix}${e}`;dD.set(r,e),mD.set(e,r)}function gs({str:e,hashPrefix:t,isUniqueKey:r}){let n=(l,u)=>{let c=`${t}${Math.abs(l).toString(36)}`;return u?`${c}_${u}`:c},o=0,i=0,s="",a=0;for(;o<5;){i=0;for(let l=0;l<e.length;l++){let u=e.charCodeAt(l);i=(i<<5)-i+u+o,i=i&i}if(s=n(i),r(s))return s;o++}for(;;)if(a++,s=n(i,a),r(s))return s}var JI=typeof window<"u"&&window.requestIdleCallback?window.requestIdleCallback:function(e){let t=Date.now();return setTimeout(()=>{e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))})},1)};
65var rA="#container",pD="css-",tS=new Set,rS=new Map;var dc=new Map,em=0,hD=1024,nS=null,Da=new Map,nn,gD=new Set(["opacity","zIndex","fontWeight","flex","flexGrow","flexShrink","flexBasis","order","lineHeight","gridRow","gridColumn","gridRowStart","gridRowEnd","gridColumnStart","gridColumnEnd","WebkitLineClamp"]),yD=new Set(["font","fontFamily","fontSize","fontStyle","fontVariant","fontWeight","letterSpacing","lineHeight","textAlign","textDecoration","textIndent","textOverflow","textTransform","whiteSpace","wordBreak","wordSpacing"]),vD=new Set(["top","right","bottom","left","width","height","maxWidth","maxHeight","minWidth","minHeight"]),SD=new Set(["alignItems","alignSelf","border","borderBottom","borderBottomColor","borderBottomStyle","borderBottomWidth","borderColor","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRadius","borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderStyle","borderTop","borderTopColor","borderTopStyle","borderTopWidth","borderWidth","boxSizing","display","flex","flexBasis","flexDirection","flexGrow","flexShrink","flexWrap","gap","gridArea","gridAutoColumns","gridAutoFlow","gridAutoRows","gridColumn","gridRow","gridTemplate","justifyContent","justifyItems","justifySelf","margin","marginBottom","marginLeft","marginRight","marginTop","order","padding","paddingBottom","paddingLeft","paddingRight","paddingTop","position"]);function xD(e){let t={...e};if("top"in e&&"right"in e&&"bottom"in e&&"left"in e){let r={top:e.top,right:e.right,bottom:e.bottom,left:e.left};Object.values(r).every(i=>i!==void 0)&&new Set(Object.values(r)).size===1&&(t={...t,inset:e.top,top:void 0,right:void 0,bottom:void 0,left:void 0})}if("borderTopStyle"in e&&"borderRightStyle"in e&&"borderBottomStyle"in e&&"borderLeftStyle"in e){let r={top:e.borderTopStyle,right:e.borderRightStyle,bottom:e.borderBottomStyle,left:e.borderLeftStyle};new Set(Object.values(r)).size===1&&r.top&&(t={...t,borderStyle:r.top,borderTopStyle:void 0,borderRightStyle:void 0,borderBottomStyle:void 0,borderLeftStyle:void 0})}if("borderTopLeftRadius"in e&&"borderTopRightRadius"in e&&"borderBottomRightRadius"in e&&"borderBottomLeftRadius"in e){let r={topLeft:e.borderTopLeftRadius,topRight:e.borderTopRightRadius,bottomRight:e.borderBottomRightRadius,bottomLeft:e.borderBottomLeftRadius};new Set(Object.values(r)).size===1&&r.topLeft!==void 0&&(t={...t,borderRadius:r.topLeft,borderTopLeftRadius:void 0,borderTopRightRadius:void 0,borderBottomRightRadius:void 0,borderBottomLeftRadius:void 0})}if("marginTop"in e&&"marginRight"in e&&"marginBottom"in e&&"marginLeft"in e){let r={top:e.marginTop,right:e.marginRight,bottom:e.marginBottom,left:e.marginLeft};new Set(Object.values(r)).size===1&&r.top!==void 0&&(t={...t,margin:r.top,marginTop:void 0,marginRight:void 0,marginBottom:void 0,marginLeft:void 0})}if("paddingTop"in e&&"paddingRight"in e&&"paddingBottom"in e&&"paddingLeft"in e){let r=typeof e.paddingTop=="number"?e.paddingTop+"px":e.paddingTop,n=typeof e.paddingRight=="number"?e.paddingRight+"px":e.paddingRight,o=typeof e.paddingBottom=="number"?e.paddingBottom+"px":e.paddingBottom,i=typeof e.paddingLeft=="number"?e.paddingLeft+"px":e.paddingLeft,s;new Set([r,n,o,i]).size===1&&r!==void 0?s=r:r===o&&r&&i===n&&n?s=`${r} ${i}`:r&&o&&i===n&&n&&(s=`${r} ${i} ${o}`),s!==void 0&&(t={...t,padding:s,paddingTop:void 0,paddingRight:void 0,paddingBottom:void 0,paddingLeft:void 0})}if("overflowX"in e&&"overflowY"in e){let r=e.overflowX,n=e.overflowY;r===n&&r!==void 0&&(t={...t,overflow:r,overflowX:void 0,overflowY:void 0})}return t}function eA(e){return yD.has(e)?"font":vD.has(e)?"dimension":SD.has(e)?"layout":"other"}function tA(e,t,r=rA){let n=o=>{let i=xD(o);return Object.entries(i).filter(([s,a])=>a!==void 0).map(([s,a])=>{let l=s.replace(/([A-Z])/g,"-$1").toLowerCase();s==="cssFloat"&&(l="float");let u=a;return typeof a=="number"&&!gD.has(s)&&(u=`${a}px`),`${l}: ${u};`}).join(" ")};return`${r?`${r} `:""}.${e} {${n(t)}}`}var oS=new Map;TD();function TD(){typeof window<"u"&&"__serverRenderedCSSClassNames"in window&&typeof window.__serverRenderedCSSClassNames=="object"&&Object.entries(window.__serverRenderedCSSClassNames||{}
65).forEach(([e,t])=>{oS.set(e,t)})}function ED(e){if(Object.keys(e).length===0)return"";let t=JSON.stringify(e);if(t==="{}")return"";let r=gs({str:t,hashPrefix:pD,isUniqueKey:n=>{let o=rS.get(n);if(o)return o===t;if(oS.has(n)){let i=oS.get(n);return t===i}return!0}});return rS.set(r,t),r}var wD="font-faces-";function nA(e){let t=En(),r=ae(),n=gs({str:e,hashPrefix:wD,isUniqueKey:o=>{let i=dc.get(o),s=!i||i===e;if(r==="server")return s;let a=document.getElementById(o),l=!a||a?.textContent===e;return s&&l}});r==="server"&&!dc.has(n)&&(t({type:"global-style",styleElId:n,styleSheet:e}),dc.set(n,e)),(0,Ba.useInsertionEffect)(()=>{if(!e)return;let o=document.getElementById(n);if(o&&o.textContent===e)return;let i=document.createElement("style");return i.textContent=e,i.id=n,document.head.appendChild(i),dc.set(n,e),()=>{document.head.removeChild(i),dc.delete(n)}},[e])}function z(e,t){let r=Ta(e,Oe),n=!!Q()?.inTest,o=(0,Ba.useMemo)(()=>{let a={};for(let[u,c]of Object.entries(r))if(!(c===void 0||c===""))if(u==="media")for(let[f,d]of Object.entries(c))for(let[p,v]of Object.entries(d)){let m=eA(p);a[m]||(a[m]={}),a[m].media||(a[m].media={}),a[m].media[f]||(a[m].media[f]={}),a[m].media[f][p]=v}else{let f=eA(u);a[f]||(a[f]={}),a[f][u]=c}let l=[];for(let u of Object.values(a))l.push({className:ED(u),styles:u});return l},[r]);(0,Ba.useInsertionEffect)(()=>{let a=ee.state?.compactDOM||t?"":rA;return o.forEach(({className:l,styles:u})=>{if(!l)return;let c=Da.get(l);c===0&&em--,Da.set(l,(c??0)+1),tS.has(l)||(tS.add(l),ID(l,u,a).forEach(d=>{nn||(nn=new CSSStyleSheet,document.adoptedStyleSheets.push(nn)),d.toString(),t?nn.insertRule(`@layer figoverridable { ${d} }`,nn.cssRules.length):nn.insertRule(d,nn.cssRules.length)}))}),()=>{o.forEach(({className:l})=>{if(!l)return;let c=(Da.get(l)||0)-1;Da.set(l,c),c===0&&(em++,nn&&em>hD&&!nS&&(nS=JI(CD)))})}},[o]);let i=En();return ae()==="server"&&o.forEach(({className:a,styles:l})=>{i({type:"class-style",className:a,cssProperties:l,classNameSourceStr:JSON.stringify(l)})}),o.map(({className:a})=>a).join(" ")}function CD(){if(nn){try{let t=Array.from(nn.cssRules).filter(r=>{let n=r.selectorText.substring(1),o=Da.get(n)===0;return o&&(tS.delete(n),Da.delete(n),rS.delete(n)),!o});nn.replace(t.map(r=>r.cssText).join(`
66`))}catch(e){Qe.reportError(new J("Error cleaning up styles",e)),console.error("Error cleaning CSS rules:",e)}em=0,nS=null}}var iS="global-css-";function Fa({cssString:e,styleElId:t,deleteElsWithPrefix:r,skipValidation:n,prepend:o}){let i=En(),s=ae(),a=!!Q()?.inTest;s==="server"&&e&&(n||void 0,i({type:"global-style",styleElId:t,styleSheet:ui(e)})),(0,Ba.useInsertionEffect)(()=>{if(!e||(n||void 0,document.getElementById(t)))return;let u=[];r&&(u=Array.from(document.head.querySelectorAll(`style[id^="${r}"]`)));let c=document.createElement("style");return c.textContent=ui(e),c.id=t,o?document.head.insertBefore(c,document.head.firstChild):document.head.appendChild(c),r&&u.forEach(f=>{f.remove()}),()=>{document.head.removeChild(c)}},[e,t,o])}function ui(e){return e.replace(/\s+/g," ").replace(/\/\*.*?\*\//g,"").replace(/;\s*}/g,"}").replace(/\s*{\s*/g,"{").replace(/\s*:\s*/g,":").replace(/\s*;\s*/g,";").replace(/\s*,\s*/g,",").replace(/\s*}\s*/g,"}")}function ID(e,t,r){let{media:n,...o}=t,i=[tA(e,o,r)];if(n){let s=Object.entries(n).map(([a,l])=>`@media ${a} {${tA(e,l,r)}}`);i.push(...s)}return i}var AD="custom-cursor",Va="customCursor";function oA(){let e=Ie(rc)!==null;return Fa({cssString:e?RD:"",styleElId:AD}),null}var RD=Qd`  #container .${Va}a,#container .${Va}p,#container .${Va}div{cursor:none}`;function mo(e,t){let r=e?.[t];return ue(r!==void 0,`Node asset with hash ${t} not found in used assets`),r}function ND(){let e=Jv();return e?e.mobile||e.tablet||e.isIpad:!1}var lA=({ref:e,hasCursorBehavior:t,assets:r,behaviors:n})=>{ND()&&(t=!1);let o=(0,ys.useMemo)(()=>bD(t),[t]),i=(0,ys.useCallback)((s,a)=>{let{imageUrl:l,imageSize:u}=aA(n,r);s.style.backgroundImage=`url("${l}")`,u&&(s.style.width=`${u.x}px`,s.style.height=`${u.y}px`),s.style.visibility="visible",a.style.cursor="none",a.classList.add(Va)},[n,r]);(0,ys.useEffect)(()=>{e.current&&iA(e.current.id)&&o&&i(o,e.current)},[e,o,i]),(0,ys.useEffect)(()=>
66{if(!e.current||!o||!t||!n?.cursor)return;let{imageUrl:s,imageSize:a}=aA(n,r);if(!s||!a)return;let l=e.current,u=n.cursor.hotspotX,c=n.cursor.hotspotY,f=Ma(m=>{l&&(sA(l.id),i(o,l),o.style.transform=`translate(${m.clientX-u}px, ${m.clientY-c}px)`)},"showCursor"),d=Ma(m=>{l&&(sS()===null&&f(m),iA(l.id)&&(o.style.transform=`translate(${m.clientX-u}px, ${m.clientY-c}px)`))},"moveCursor"),p=Ma(()=>{o&&(sA(null),requestAnimationFrame(v))},"hideCursor"),v=()=>{o&&sS()===null&&(o.style.visibility="hidden",l.style.cursor="auto",l.classList.remove(Va))};return l.addEventListener("pointerenter",f),l.addEventListener("pointermove",d),l.addEventListener("pointerleave",p),()=>{l.removeEventListener("pointerenter",f),l.removeEventListener("pointermove",d),l.removeEventListener("pointerleave",p),p(new PointerEvent("pointerleave"))}},[t,n?.cursor,o,e,i,n,r])},uA="sites-cursor-element",bD=e=>{if(!e||typeof document>"u")return null;let t=document.getElementById(uA);return t||PD()},PD=()=>{let e=document.createElement("div");return document.body.appendChild(e),e.id=uA,e.style.position="fixed",e.style.top="0",e.style.left="0",e.style.visibility="hidden",e.style.pointerEvents="none",e.style.willChange="transform",e.style.zIndex="9999",e.ariaHidden="true",e.style.backgroundRepeat="no-repeat",e.style.backgroundSize="contain",e},iA=e=>sS()===e,sA=e=>{Z().set(rc,e)},sS=()=>Z().get(rc);function aA(e,t){let r=aS(e);if(r){let n=mo(t,r);return{imageUrl:ee.state?.getAssetURL(n.url),imageSize:n.size}}return{imageUrl:void 0,imageSize:void 0}}function aS(e){return e?.cursor?.cursorFileName?.split(".")[0]}var cA=e=>{let{interactionHandlers:t,materializedChildNodeProps:r,...n}=e;"variableState"in n&&delete n.variableState;try{ai("nodeDebugInformation",{materializedNode:n})}catch{}};function fA(e,t,r,n){let o=t,i=!1,s=(l,u)=>(i=!0,r.evaluateVariable(e,l.id,n)??u);if(OD(o,s),!("boundVariables"in t&&t.boundVariables))return i;let a=t.boundVariables;return a.opacity&&(o.opacity=s(a.opacity,o.opacity)/100),a.size&&o.size&&(a.size.x&&(o.size.x=s(a.size.x,o.size.x)),a.size.y&&(o.size.y=s(a.size.y,o.size.y))),a.visible&&(o.visible=s(a.visible,o.visible)),o.rectangleCornerRadii===void 0&&(o.cornerRadius!==void 0?o.rectangleCornerRadii=[o.cornerRadius,o.cornerRadius,o.cornerRadius,o.cornerRadius]:o.rectangleCornerRadii=[0,0,0,0]),a.rectangleCornerRadii&&(a.rectangleCornerRadii.RECTANGLE_TOP_LEFT_CORNER_RADIUS&&(o.rectangleCornerRadii[0]=s(a.rectangleCornerRadii.RECTANGLE_TOP_LEFT_CORNER_RADIUS,o.rectangleCornerRadii[0]),o.rectangleCornerRadiiIndependent=!0),a.rectangleCornerRadii.RECTANGLE_TOP_RIGHT_CORNER_RADIUS&&(o.rectangleCornerRadii[1]=s(a.rectangleCornerRadii.RECTANGLE_TOP_RIGHT_CORNER_RADIUS,o.rectangleCornerRadii[1]),o.rectangleCornerRadiiIndependent=!0),a.rectangleCornerRadii.RECTANGLE_BOTTOM_RIGHT_CORNER_RADIUS&&(o.rectangleCornerRadii[2]=s(a.rectangleCornerRadii.RECTANGLE_BOTTOM_RIGHT_CORNER_RADIUS,o.rectangleCornerRadii[2]),o.rectangleCornerRadiiIndependent=!0),a.rectangleCornerRadii.RECTANGLE_BOTTOM_LEFT_CORNER_RADIUS&&(o.rectangleCornerRadii[3]=s(a.rectangleCornerRadii.RECTANGLE_BOTTOM_LEFT_CORNER_RADIUS,o.rectangleCornerRadii[3]),o.rectangleCornerRadiiIndependent=!0)),a.minWidth&&(o.minWidth=s(a.minWidth,o.minWidth)),a.maxWidth&&(o.maxWidth=s(a.maxWidth,o.maxWidth)),a.minHeight&&(o.minHeight=s(a.minHeight,o.minHeight)),a.maxHeight&&(o.maxHeight=s(a.maxHeight,o.maxHeight)),a.itemSpacing&&(o.itemSpacing=s(a.itemSpacing,o.itemSpacing)),a.paddingLeft&&(o.paddingLeft=s(a.paddingLeft,o.paddingLeft)),a.paddingRight&&(o.paddingRight=s(a.paddingRight,o.paddingRight)),a.paddingTop&&(o.paddingTop=s(a.paddingTop,o.paddingTop)),a.paddingBottom&&(o.paddingBottom=s(a.paddingBottom,o.paddingBottom)),a.counterAxisSpacing&&(o.counterAxisSpacing=s(a.counterAxisSpacing,o.counterAxisSpacing)),a.characters&&(o.characters=s(a.characters,o.characters)?.toString()),a.individualStrokeWeights&&(o.individualStrokeWeights===void 0&&(o.individualStrokeWeights={top:0,right:0,bottom:0,left:0}),a.individualStrokeWeights.BORDER_BOTTOM_WEIGHT&&(o.individualStrokeWeights.bottom=s(a.individualStrokeWeights.BORDER_BOTTOM_WEIGHT,o.individualStrokeWeights.bottom)),a.individualStrokeWeights.BORDER_LEFT_WEIGHT&&(o.individualStrokeWeights.left=s(a.individualStrokeWeights.BORDER_LEFT_WEIGHT,o.individualStrokeWeights.left)),a.individualStrokeWeights.BORDER_RIGHT_WEIGHT&&(o.individualStrokeWeights.right=s(a.individualStrokeWeights.BORDER_RIGHT_WEIGHT,o.individualStrokeWeights.right)),a.individualStrokeWeights.BORDER_TOP_WEIGHT&&(o.individualStrokeWeights.top=s(a.individualStrokeWeights.BORDER_TOP_WEIGHT,o.individualStrokeWeights.top))),i}function OD(e,t){if(e.fills){for(let r of e.fills)if(r.type==="SOLID"){if(r.boundVariables?.color){let n=t(r.boundVariables.color,r.color);r.color={r:n.r,g:n.g,b:n.b,a:1},r.opacity=n.a}}else if(r.type==="GRADIENT_RADIAL"||r.type==="GRADIENT_LINEAR"||r.type==="GRADIENT_ANGULAR"||r.type==="GRADIENT_DIAMOND")for(let n of r.gradientStops)n.boundVariables?.color&&(n.color=t(n.boundVariables.color,n.color))}
66if(e.strokes){for(let r of e.strokes)if(r.type==="SOLID")r.boundVariables?.color&&(r.color=t(r.boundVariables.color,r.color));else if(r.type==="GRADIENT_RADIAL"||r.type==="GRADIENT_LINEAR"||r.type==="GRADIENT_ANGULAR"||r.type==="GRADIENT_DIAMOND")for(let n of r.gradientStops)n.boundVariables?.color&&(n.color=t(n.boundVariables.color,n.color))}if(e.effects)for(let r of e.effects){if(r.type==="DROP_SHADOW"||r.type==="INNER_SHADOW"){r.boundVariables?.color&&(r.color=t(r.boundVariables.color,r.color)),r.boundVariables?.radius&&(r.radius=t(r.boundVariables.radius,r.radius)),r.boundVariables?.spread&&(r.spread=t(r.boundVariables.spread,r.spread));let n=r.offset.x,o=r.offset.y;r.boundVariables?.offsetX&&(n=t(r.boundVariables.offsetX,r.offset.x)),r.boundVariables?.offsetY&&(o=t(r.boundVariables.offsetY,r.offset.x)),r.offset={x:n,y:o}}(r.type==="LAYER_BLUR"||r.type==="BACKGROUND_BLUR")&&r.boundVariables?.radius&&(r.radius=t(r.boundVariables.radius,r.radius))}if(e.style?.responsiveTextStyleVariants)for(let r of e.style.responsiveTextStyleVariants)r.boundVariables&&(r.boundVariables.fontSize&&(r.style.fontSize=t(r.boundVariables.fontSize,r.style.fontSize)),r.boundVariables.letterSpacing&&(r.style.letterSpacing=t(r.boundVariables.letterSpacing,r.style.letterSpacing)),r.boundVariables.lineHeight&&(r.style.lineHeightPx=t(r.boundVariables.lineHeight,r.style.lineHeightPx)),r.boundVariables.paragraphSpacing&&(r.style.paragraphSpacing=t(r.boundVariables.paragraphSpacing,r.style.paragraphSpacing)))}function ci(e){return e.strokes!==void 0&&e.strokes.length>0}function dA(e,t){if(!(t&&"strokesIncludedInLayout"in t&&t.strokesIncludedInLayout))return{};let{top:r,right:n,bottom:o,left:i}=mc(e);return{borderLeftWidth:i,borderRightWidth:n,borderTopWidth:r,borderBottomWidth:o,borderColor:"transparent",borderStyle:"solid",boxSizing:"border-box",backgroundClip:"padding-box"}}function tm(e,t){if(!(e.type==="FRAME"||e.type==="RECTANGLE")||!(t&&"strokesIncludedInLayout"in t&&t.strokesIncludedInLayout))return 0;let n=mc(e);return n.left+n.right}function rm(e,t){if(!(e.type==="FRAME"||e.type==="RECTANGLE")||!(t&&"strokesIncludedInLayout"in t&&t.strokesIncludedInLayout))return 0;let n=mc(e);return n.top+n.bottom}function mc(e){let t={top:0,right:0,bottom:0,left:0},r=nm(e);if(!ci(e))return t;switch(e.strokeAlign){case"CENTER":return{top:r.top/2,right:r.right/2,bottom:r.bottom/2,left:r.left/2};case"OUTSIDE":return r;case"INSIDE":default:return t}}function mA(e){let t={top:0,right:0,bottom:0,left:0};if(!ci(e))return t;let r=nm(e);switch(e.strokeAlign){case"CENTER":return{top:r.top/2,right:r.right/2,bottom:r.bottom/2,left:r.left/2};case"OUTSIDE":return t;case"INSIDE":default:return r}}function om(e=[]){let t=e.map(r=>{if(r.visible!==!1&&r.type!=="IMAGE"&&r.type!=="VIDEO"&&r.type!=="PATTERN"){if(r.type==="SOLID")return r;if(Pd(r))return r.gradientStops[0].color}}).filter(Boolean);if(t.length!==0)return uc(t.map(r=>new Mr("color"in r?r.color:r,"opacity"in r?r.opacity:1,ut))).value}function lS(e){return e.rectangleCornerRadiiIndependent?{topLeft:e.rectangleCornerRadii[0]||void 0,topRight:e.rectangleCornerRadii[1]||void 0,bottomRight:e.rectangleCornerRadii[2]||void 0,bottomLeft:e.rectangleCornerRadii[3]||void 0}:{topLeft:e.cornerRadius||void 0,topRight:e.cornerRadius||void 0,bottomRight:e.cornerRadius||void 0,bottomLeft:e.cornerRadius||void 0}}function im(e,t,r){let n=lS(e),o=mc(e),i={borderTopLeftRadius:n.topLeft?n.topLeft+Math.min(o.top,o.left):void 0,borderTopRightRadius:n.topRight?n.topRight+Math.min(o.top,o.right):void 0,borderBottomRightRadius:n.bottomRight?n.bottomRight+Math.min(o.bottom,o.right):void 0,borderBottomLeftRadius:n.bottomLeft?n.bottomLeft+Math.min(o.bottom,o.left):void 0},s=om(e.strokes),a=nm(e),l=t&&"strokesIncludedInLayout"in t&&t.strokesIncludedInLayout;return{position:"absolute",...i,borderStyle:e.strokeDashes?"dashed":"solid",borderColor:r&&s===void 0?"rgba(0, 0, 0, 0)":s,borderTopWidth:a.top,borderBottomWidth:a.bottom,borderLeftWidth:a.left,borderRightWidth:a.right,top:l||re(o.top)===0?0:-1*o.top,left:l||re(o.left)===0?0:-1*o.left,right:l||re(o.right)===0?0:-1*o.right,bottom:l||re(o.bottom)===0?0:-1*o.bottom,overflow:"visible"}}function nm(e){if(e.individualStrokeWeights)return{top:re(e.individualStrokeWeights.top)===0?0:e.individualStrokeWeights.top,right:re(e.individualStrokeWeights.right)===0?0:e.individualStrokeWeights.right,bottom:re(e.individualStrokeWeights.bottom)===0?0:e.individualStrokeWeights.bottom,left:re(e.individualStrokeWeights.left)===0?0:e.individualStrokeWeights.left};let t=re(e.strokeWeight);return{top:t,right:t,bottom:t,left:t}}function sm(e){return`rgba(${e.r*255}, ${e.g*255}, ${e.b*255}, ${e.a})`}var LD=["ON_CLICK","ON_PRESS","MOUSE_DOWN","MOUSE_UP"];function fi(e){let t=e.interactions??[];for(let r of t)if(LD.find(n=>n===r.event?.interactionType))return{cursor:"pointer"};return{}}var uS="data-breakpoint",cS="breakpoint-css",am="data-breakpoint-id";function kD(e,t,r){return t.map(n=>
66r.get(n)).filter(Boolean).map(n=>e(n)).filter(n=>n&&n.visible!==!1)}function pA(e,t,r,n){let o=e(wa),i=kD(e,t,r);if(n==="server")return i.sort((c,f)=>c.size.x-f.size.x).map(c=>c.id);let a=i.filter(c=>c.type==="FRAME"),l=fS(a),u=_D(l,o);return u?[u.nodeId]:[]}function fS(e){let t={breakpoints:[]};for(let r of e){let n="white";r.fills.every(s=>s.type==="SOLID")&&(n=om(r.fills)??n);let i=r.name;t.breakpoints.push({nodeId:r.id,pageId:"",name:i,width:r.size.x,background:n})}return t.breakpoints.sort((r,n)=>n.width-r.width),t}function _D(e,t){let{breakpoints:r}=e;return t?r.find(n=>n.width<=t)??r[r.length-1]:r[0]}function hA(){let e=document.querySelectorAll(`[${uS}]`);e.length===0&&console.error("No breakpoints elements found during hydration."),e.forEach(r=>{window.getComputedStyle(r).display==="none"&&r.remove()});let t=document.querySelector(`#${cS}`);if(e.length>1&&!t){console.error("No breakpoint css style tag found during hydration.");return}t&&t.remove()}function gA(e,t,r){let n={...ds(t),type:"INSTANCE",id:e.id,name:r?.name??t.name,mainComponentId:t.id,componentProperties:e.componentProperties,componentPropertyReferences:e.componentPropertyReferences,componentSetId:e.componentSetId,overrides:[]};for(let o of MD)o in e?n[o]=e[o]:delete n[o];return n}var MD=["constraints","constraintValues","layoutAlign","layoutGrow","gridColumnAnchorIndex","gridRowAnchorIndex","gridColumnSpan","gridRowSpan","layoutPositioning","relativeTransform","overrides","absoluteBoundingBox","isolatedAbsoluteRenderBounds","visible","scrollBehavior","maybeAnimateRotation"];function yA(e,t,r,n,o,i){let s=t.mainComponentId,a,l=t.componentPropertyReferences?.mainComponent;if(l&&i?.[l])s=i[l].value;else if(t.componentSetId){a=e(r.get(t.componentSetId));let f=o.instanceState.backingComponentId.get(e,n);if(f)s=f;else if(t.componentProperties&&a.type==="COMPONENT_SET"){let d=a.children.map(m=>e(r.get(m))),p=Object.entries(a.componentPropertyDefinitions??{}).map(([m,T])=>{if(T.type!=="VARIANT")return;let h=t.componentProperties[m];if(!h){console.warn("missing component property on instance");return}let g=h.type==="TEXT"?h.value.characters:h.value,{boundVariables:y}=h,x=g;return y?.value&&(x=o.variableState.evaluateVariable(e,y.value.id,n)),x=T.variantOptions?.includes(x)?x:T.defaultValue,`${m}=${String(x)}`}).filter(Boolean).join(", "),v=d.find(m=>m.name===p);v&&(s=v.id)}}let u=e(r.get(s));return{componentSet:a,component:u}}function vA(e,t,r,n){if(t.type==="TEXT"&&"styleIdForText"in t.style&&t.style.styleIdForText){let o=t.style.styleIdForText,i=n.get(o);if(i){let s=r.get(i),a=e(s);a.type==="STYLE"&&a.styleType==="TEXT"&&Object.assign(t.style,ds(a.style))}}}function SA(e,t){if(!t||!("componentPropertyReferences"in e)||!e.componentPropertyReferences)return;let r=e.componentPropertyReferences;for(let[n,o]of Object.entries(r)){if(t[o]===void 0){let s=DD(o);for(let[a,l]of Object.entries(t))if(a.startsWith(s)){e[n]=l.value;break}continue}let i=t[o];if(i.type==="IMAGE"){console.warn(`Attempted to apply image prop on node ${e.id}`);continue}if(n==="characters")if(i.type==="TEXT")for(let[s,a]of Object.entries(i.value))e[s]=a;else e[n]=String(i.value);else e[n]=i.value}}function DD(e){let t=e.lastIndexOf("#");return e.slice(0,t+1)}function dS(e,t,r,n){let o={...e(n.modeContextState),...t};if("explicitVariableModes"in r)for(let[i,s]of Object.entries(r.explicitVariableModes||{})){let a=n.variableState.getAssetKeyOrLocalGuid(i);o[a]=s}return o}var BD=["minWidth","maxWidth","minHeight","maxHeight","itemSpacing","paddingLeft","paddingTop","paddingRight","paddingBottom","counterAxisSpacing","strokeWeight"];function lm(e,t,r){if(t===1)return;let n=e;for(let o of BD)n[o]!==void 0&&(n[o]*=t);if(n.size){let{x:o,y:i}=n.size;n.size={x:o*t,y:i*t}}if(n.rectangleCornerRadii&&(n.rectangleCornerRadii=n.rectangleCornerRadii.map(o=>o*t)),n.individualStrokeWeights&&(n.individualStrokeWeights=Object.fromEntries(Object.entries(n.individualStrokeWeights).map(([o,i])=>[o,i*t]))),n.effects)for(let o of n.effects)"radius"in o&&o.radius&&(o.radius*=t),(o.type==="DROP_SHADOW"||o.type==="INNER_SHADOW")&&(o.offset.x*=t,o.offset.y*=t);if(n.constraintValues){let o=t/r;n.constraintValues=Object.fromEntries(Object.entries(n.constraintValues).map(([i,s])=>[i,{...s,pixelOffset:s.pixelOffset*o}]))}n.style?.fontSize&&(n.style.fontSize=Math.round(n.style.fontSize*t*100)/100),n.style?.lineHeightPx&&(n.style.lineHeightPx*=t),n.absoluteBoundingBox&&
66(n.absoluteBoundingBox.width*=t,n.absoluteBoundingBox.height*=t)}function um(e){let t=Q().env,r=(0,di.useContext)(fc),n=(0,di.useRef)(),o=n.current,i=new Map,s=e.map(f=>{let d=f.keyWithOverrides??f.key,p=o?o.get(d):void 0;return(!p||!Oe(p.args,f))&&(p={args:f,value:FD(f,t,r)}),i.set(d,p),p.value}),a=Ta(s,Oe),l=(0,di.useMemo)(()=>q(f=>{let d=a.map(f),p=[],v=[];return d.forEach(m=>{"errorMessage"in m?v.push(m):p.push(m)}),{nodes:p,errors:v}}),[a]),{nodes:u,errors:c}=Ie(l);return(0,di.useEffect)(()=>(c.forEach(f=>{r.setMaterializationError(f.nodeId,f)}),()=>{c.forEach(f=>{r.setMaterializationError(f.nodeId)})}),[c,r]),n.current=i,u}function FD(e,t,r){return q(n=>{try{let o=xA(e,n,t);return n(tc)&&cA(o),o}catch(o){return o instanceof Error?(r.reportError(o,{"error-boundary-name":e.keyWithOverrides??e.key}),{nodeName:e.keyWithOverrides??e.key,nodeId:e.nodeId,errorMessage:o.message+`
67`+o.stack}):{nodeName:e.keyWithOverrides??e.key,nodeId:e.nodeId,errorMessage:String(o)}}})}var VD={mainComponentId:!0,overrides:!0,componentProperties:!0,componentPropertyReferences:!0,componentPropertyDefinitions:!0,componentSetId:!0,mainComponent:!0,overrideKey:!0};function vs(e,t,r){return xA(t,e,r)}var zD=600;function xA(e,t,r){let{key:n,parentState:o,nodeById:i,animateRootIds:s,animateProps:a,assetIdToGuid:l,guidToUrl:u}=e,{autoLayoutTransitionAtom:c,transitionProps:f}=a??{},d=e.overrides,p=t(i.get(e.backingLayerId??e.nodeId)),v=s.has(e.backingLayerId??e.nodeId),m=ds(p),T,h,g=!1,y=!1;"isInAnimateTree"in m&&m.isInAnimateTree&&(y=!0),e.parentPath?(h=[...e.parentPath,n],m.type==="INSTANCE"?T=[]:T=h):m.type==="INSTANCE"&&(T=[],h=[]);let x=m.type==="INSTANCE"?m.mainComponentId:void 0;if(g=mS(m,h,d,void 0,e.uniformScaleFactor,"uniformScaleFactor"in m?m.uniformScaleFactor:void 0)||g,m.type==="INSTANCE"&&m.mainComponentId&&m.mainComponentId!==x){let X=t(i.get(m.mainComponentId));X.type==="COMPONENT"&&X.componentSetId&&(m.componentSetId=X.componentSetId)}if(m.type==="INSTANCE"){let X=m.overrides?.find(pe=>pe.key.length===0);X&&EA(m,X)}let S=o.getChildState(n,m,i),E=S.instanceState.backingComponentId,{parentStates:w}=e;m.type==="INSTANCE"&&(w===null&&(w=new Map),"componentSetId"in m&&m.componentSetId&&(w=new Map(w),w.set(m.componentSetId,{backingComponentIdState:E,transitionAtom:S.transitionAtom,parentAutoLayoutTransitionAtom:c,stateResetHandlers:S.stateResetHandlers})));let C={},N,I=!1;try{if(m.type==="INSTANCE"){let X=dS(t,e.modeContext,m,S),pe=yA(t,m,i,X,S,e.componentProperties);if(N=pe.component,N.isUnreachable){let Te=new Sr("Component node was incorrectly marked for pruning");Te.errorDetail=`instanceId: ${m.id}, componentId: ${N.id}`,Qe.reportError(Te)}m.componentSetId&&s.has(m.componentSetId)&&(I=!0),m=gA(m,N,pe.componentSet?.type==="COMPONENT_SET"?pe.componentSet:void 0),g=mS(m,T,no(m.overrides,{nodeId:m.id}),{backingComponent:N,get:t,nodeById:i},e.uniformScaleFactor,"uniformScaleFactor"in p&&p.uniformScaleFactor||1)||g}vA(t,m,i,l),C=dS(t,e.modeContext,m,S),SA(m,e.componentProperties),g=fA(t,m,S.variableState,C)||g,e.uniformScaleFactor&&lm(m,e.uniformScaleFactor,"uniformScaleFactor"in p&&p.uniformScaleFactor||1),WD(t,m,e.nodeId,e.stablePathToAssetHash),zI(m,S.cmsDataState,u),g&&m.type==="SVG"&&(m.isDynamic=!0)}catch(X){throw console.error("Materialization error",X),new J("Materialization error",X)}RA(m);let b={node:m,variableState:S.variableState,backingComponentIdState:E,parentStates:w,transitionAtom:S.transitionAtom,nodeById:i,modeContext:C},P=CA(t,b),k=P?IA(t,b,P):void 0,B=AA(t,S.transitionAtom,S.autoLayoutTransitionAtom),A=ee.state?.compactDOM??!1,U=KI(I,v,A,f),M={transitionData:B??f?.transitionData,smartAnimateType:U},H=v||y?c??S.autoLayoutTransitionAtom:void 0,K=e.rootOffset??("absoluteBoundingBox"in m?{x:m.absoluteBoundingBox.x,y:m.absoluteBoundingBox.y}:void 0),te;if("children"in m&&Array.isArray(m.children)){let X=m.children,pe;Nv(p)&&(X=pA(t,X,i,r),pe=X);let Te=m.type==="INSTANCE"?TA(m,{backingComponent:N,get:t,nodeById:i},no(m.overrides,{nodeId:m.id})):d,Je=Te?.filter(ht=>ht.value.name!==void 0),Ye=HD(e.stablePathPrefix,m);te=[];let Ar=new Map,_o=new Map,fn=[];for(let ht=0;ht<X.length;ht++){let _t=X[ht],ur=pe?pe[ht]:void 0,gt=t(i.get(_t)),Ge=gt.name,Mo=gt.overrideKey,cr=Nv(p)&&gt.type==="FRAME",Do=cr?gt.size.x:void 0,Ki=K;if(cr)Ki={x:gt.absoluteBoundingBox.x,y:gt.absoluteBoundingBox.y};else if(m.type==="INSTANCE"){let Bo={x:K.x-m.absoluteBoundingBox.x,y:K.y-m.absoluteBoundingBox.y};Ki={x:N.absoluteBoundingBox.x+Bo.x,y:N.absoluteBoundingBox.y+Bo.y}}let Jl=Ar.get(Ge)??0;Ar.set(Ge,Jl+1);let Gn=za(Ge,Jl,m),Yi=Je?wA([...T??[],Gn],Je)??Ge:Ge,eu=_o.get(Yi)??0;_o.set(Yi,eu+1);let Hs=Ye?Ye.concat(";",Mo??_t):_t;fn.push(Hs||_t);let Qc=(e.uniformScaleFactor||1)*("uniformScaleFactor"in gt&&gt.uniformScaleFactor?gt.uniformScaleFactor:1);te.push({key:Gn,keyWithOverrides:za(Yi,eu,m),parentState:S,nodeId:Hs,stablePathPrefix:Ye,backingLayerId:_t,modeContext:C,parentPath:T,preexpandedNodeId:ur,nodeById:i,assets:e.assets,assetIdToGuid:l,guidToUrl:u,animateRootIds:s,stablePathToAssetHash:e.stablePathToAssetHash,overrides:Te,componentProperties:m.type==="INSTANCE"||m.type==="CODE_INSTANCE"||m.type==="CODE_LAYER"?m.componentProperties:e.componentProperties,parentStates:w,animateProps:{transitionProps:M,autoLayoutTransitionAtom:H},uniformScaleFactor:Qc,breakpointWidth:Do??e.breakpointWidth,rootOffset:Ki})}m.children=fn}let Ne=jD(t,e.assets,m),ve=UD(m,VD);(ve.type==="INSTANCE"||ve.type==="COMPONENT")&&(ve.type="FRAME");let de=bd(ve),V=de.type;return Object.assign(de,{materializedChildNodeProps:te,transitionProps:M,interactions:P,interactionHandlers:k,key:e.keyWithOverrides??e.key,variableState:S.variableState,modeContext:C,assets:Ne}),(m.type==="CODE_INSTANCE"||m.type==="CODE_LAYER")&&Object.assign(de,{componentProperties:m.componentProperties}),(de.type==="RECTANGLE"||de.type==="IMAGE"||de.type==="FRAME"||de.type==="SVG")&&Ne&&Object.values(Ne).length&&(e.breakpointWidth,de.lazyLoad=de.absoluteBoundingBox.x>K.x+e.breakpointWidth||de.absoluteBoundingBox.y>K.y+zD),de}function za(e,t,r){return r?.type==="RESPONSIVE_SET"?"":e+t}function WD(e,t,r,n){if(r.includes("I")&&(t.id=r,t.type==="SVG"||t.type==="IMAGE")){let o=n.get(r);if(o){let i=ee.state?.websiteData.assets.get(o);if(i){let s=e(i);s&&s.type==="GENERATED_ASSET"&&(t.hash=o,t.type=s?.format==="SVG"?"SVG":"IMAGE")}}}}function HD(e,t){if(e)return t.type==="INSTANCE"?t.id:e;if(t.type==="INSTANCE")return`I${t.id}`}function UD(e,t){let r={...e};for(let n in t)delete r[n];return r}function jD(e,t,r){let n,o=i=>{let s=t.get(i),a=e(s);n=n??{},n[i]=a};if("fills"in r)for(let i of r.fills)i.visible!==!1&&(i.type==="IMAGE"&&o(Xd(i)),i.type==="VIDEO"&&o(i.videoRef));if("hash"in r&&o(r.hash),"behaviors"in r){let i=aS(r.behaviors);if(i&&o(i),r?.behaviors?.code!==void 0)for(let s of r.behaviors.code)for(let[a,l]of Object.entries(s.assignments))typeof l=="object"&&l.image!==null&&(o(l.image),l.animatedImage!==null&&o(l.animatedImage))}if("componentProperties"in r)for(let i of Object.values(r.componentProperties))i.type==="IMAGE"&&i.value.image&&(o(i.value.image),i.value.animatedImage!==null&&o(i.value.animatedImage));if("styleOverrideTable"in r){for(let i of Object.values(r.styleOverrideTable))if(i.fills)for(let s of i.fills)s.visible!==!1&&s.type==="IMAGE"&&o(Xd(s))}return n}function TA(e,t,r){if(!r)return;let n={get:t.get,nodeById:t.nodeById},o=OA(e,t),i=[];for(let s of r){if(s.key.length===0)continue;let a=NA(s.key,e,n),l=s.key,u=!1;if(!a){let d=s.key[s.key.length-1];let p=$D(d,e,n);p&&(a=p.node,l=p.key,u=!0)}if(!a)continue;let c={key:l,value:s.value};if(o){c.value={};let d=NA(s.key,o,n);if(d===void 0){console.error("no node in variant for override",s.key,e.id);continue}for(let[p,v]of Wa(s.value)){let m=gS(p,v,a,d);m!==void 0&&(c.value[p]=m)}}let f=i.findIndex(d=>Oe(d.key,l));if(f>-1){let d=i[f];u?c.value=hS(c,d):c.value=hS(d,c),i[f]=c}else i.push(c)}return i}function pS(e,t){if(!(!t||!e))return t.find(r=>Oe(r.key,e))}var Wa=e=>Object.entries(e);function bA(e,t){let r=e.filter(o=>ct(o.id)!==ms),n=t.filter(o=>o.isDeleted).map(o=>ct(o.id));return r=r.filter(o=>
67!n.includes(ct(o.id))),t.forEach(o=>{if(o.isDeleted)return;let i=r.findIndex(s=>ct(s.id)===ct(o.id));i===-1?r.push(o):r[i]=o}),r}function mS(e,t,r,n,o,i){if(!t||!r)return!1;let s=pS(t,r);if(s?.value===void 0)return!1;lm(s.value,1/(o||1),1/(i||1));let a=OA(e,n);for(let[l,u]of Wa(s.value))e.type==="INSTANCE"&&l==="overrides"?u=PA(no(e.overrides,{nodeId:e.id}),no(u,{nodePath:t})):l==="interactions"&&"interactions"in e&&(u=bA(e.interactions??[],u)),!(e.type==="INSTANCE"&&a&&(u=gS(l,u,n.backingComponent,a),u===void 0))&&(u===null?delete e[l]:e[l]=u);return!0}function EA(e,t){if(t.value.explicitVariableModes===null?delete e.explicitVariableModes:e.explicitVariableModes=t.value.explicitVariableModes,t.value.boundVariables===null||t.value.boundVariables?.componentProperties===null)for(let r in e.componentProperties){let n=e.componentProperties[r];n?.boundVariables&&delete n.boundVariables}else if(t.value.boundVariables?.componentProperties)for(let r in e.componentProperties){let n=e.componentProperties[r];let i=t.value.boundVariables.componentProperties[r];i&&(n.boundVariables={value:i})}}function hS(e,t){let r=e.value,n=t?.value||{},o={...r,...n};return"overrides"in r&&"overrides"in n&&(o.overrides=PA(no(r.overrides,{overrideId:r.id,overrideKey:r.overrideKey}),no(n.overrides,{overrideId:n.id,overrideKey:n.overrideKey}))),"interactions"in r&&"interactions"in n&&(o.interactions=bA(r.interactions??[],n.interactions??[])),o}function PA(e,t){if(!e)return t;if(!t)return e;if(e&&t){let r=[];for(let n of e){let o=pS(n.key,t);r.push({key:n.key,value:hS(n,o)})}for(let n of t)pS(n.key,r)||r.push(n);return r}}var GD=new Set(["characters","characterStyleOverrides","styleOverrideTable","lineTypes","lineIndentations","fontSize","letterSpacing","lineHeight","fontStyle","fontVariations","inheritTextStyleId","lineStyleOverrides"]);function gS(e,t,r,n){if(e==="name")return t;if(e==="interactions"){let o=e in n?n.interactions??[]:[],i=new Set(o.map(a=>ct(a.id)??ms));return i.add(ms),t.filter(a=>!i.has(ct(a.id)??ms))}else if(e==="size"&&e in r&&e in n){let o=t;return{x:r.size.x===n.size.x?o.x:r.size.x,y:r.size.y===n.size.y?o.y:r.size.y}}else{if(e==="componentProperties")return t;if(e==="overrides"&&e in r&&e in n){let o=[];for(let i of no(t,{newNodeId:r.id,origNodeId:n.id})){let s=r.overrides.find(c=>Oe(c.key,i.key)),a=n.overrides.find(c=>Oe(c.key,i.key));if(!s||!a){o.push(i);continue}let l={key:i.key,value:{}},u=!1;for(let[c,f]of Wa(i.value))f=gS(c,f,s.value,a.value),f&&(l.value[c]=f,u=!0);u&&o.push(l)}return o}else if(GD.has(e))return t}if(Oe(r[e],n[e]))return t}function OA(e,t){if(!(e.type==="INSTANCE"&&t&&e.componentSetId))return;let r=t.get(t.nodeById.get(e.componentSetId));r!==void 0&&r.type;let n=Wa(e.componentProperties).map(([o,i])=>i.type!=="VARIANT"?void 0:`${o}=${String(i.value)}
67`).filter(Boolean).join(", ");if(n&&t.backingComponent.name!==n){for(let o of r.children){let i=t.get(t.nodeById.get(o));if(i.name===n)return i}console.warn("Could not find initial variant for instance",e.id)}}function LA(e,t){return e.type==="FRAME"||e.type==="GROUP"||e.type==="INSTANCE"&&t.id===e.id||e.type==="COMPONENT"&&t.id===e.id||e.type==="REPEATER"}function NA(e,t,r){let{get:n,nodeById:o}=r,i=t;for(let s of e){if(!i||!LA(i,t))return;let a=i.children.map(u=>n(o.get(u)));i=void 0;let l=new Map;for(let u=0;u<a.length;++u){let c=a[u];let f=l.get(c.name)??0;l.set(c.name,f+1);let d=za(c.name,f);if(s===d){i=c;break}}}return i}function $D(e,t,r){let{get:n,nodeById:o}=r,i=[{key:[],node:t}],s=new Map;for(;i.length>0;){let a=i.pop();let l=s.get(a.node.name)??0;if(za(a.node.name,l)===e)return a;if(s.set(a.node.name,l+1),!LA(a.node,t))continue;let u=a.node.children.map(d=>n(o.get(d))),c=new Map,f=[];u.forEach(d=>{let p=c.get(d.name)??0;c.set(d.name,p+1),f.push({key:[...a.key,za(d.name,p)],node:d})}),i.push(...f.reverse())}}function wA(e,t){for(let r of t)if(r.value.name!==void 0&&r.value.name!==null&&Oe(r.key,e))return r.value.name}var KD={E5FBBA911B2B7A09E649D4BE6CDF8591EAEFC881:!1};function cm(e){return(e??KD).E5FBBA911B2B7A09E649D4BE6CDF8591EAEFC881}var YD={motion:"easeInOut",css:"ease-in-out"},XD=[1,100,15],qD="OUT_CUBIC",kA=.3,ne;(function(e){e.VISIBLE="visible",e.INITIAL="initial",e.EXIT="exit",e.SCROLL_DIRECTION="scrollDirection",e.HOVER="hover",e.PRESS="press",e.FOCUS="focus",e.VISIBLE_SMART_ANIMATE="visibleSmartAnimate",e.HIDDEN_SMART_ANIMATE="hiddenSmartAnimate"})(ne||(ne={}));function _A(e){let t=sc();if(t)return{ease:t.ease};let r=e.easingType??qD,[n,o,i]=e.easingFunction&&e.easingFunction.length>=3?e.easingFunction:XD;switch(r){case"LINEAR":return{ease:"linear"};case"IN_CUBIC":return{ease:"easeIn"};case"OUT_CUBIC":return{ease:"easeOut"};case"INOUT_CUBIC":return{ease:"easeInOut"};case"IN_BACK_CUBIC":return{ease:"backIn"};case"OUT_BACK_CUBIC":return{ease:"backOut"};case"INOUT_BACK_CUBIC":return{ease:"backInOut"};case"CUSTOM_CUBIC":return{ease:e.easingFunction?e.easingFunction:YD.motion};case"SPRING":case"CUSTOM_SPRING":case"GENTLE_SPRING":case"SPRING_PRESET_ONE":case"SPRING_PRESET_TWO":case"SPRING_PRESET_THREE":return{type:"spring",stiffness:o,damping:i,mass:n}}}function qd(e){return(t,r)=>e?`${e} ${r}`:r}var QD=new Set(Object.values(ne));function ZD(e){let t=[],r=e.filter(o=>o!==void 0),n=r.reduce((o,i)=>o={...o,...i});for(let o of r)for(let[i,s]of Wa(o))if(i==="variants")for(let a in s)QD.has(a)?Oe(n.variants?.[a],s[a])||t.push(`variants: ${a} has been overwritten`):t.push(`variants: ${a} is not a valid variant`);else Oe(n[i],s)||t.push(`prop "${i}" has been overwritten`);return t}function MA(e){if(cm(ee.state.labs))return;let t=ZD(e);t.length,`${t.join(", ")}`}var DA=R(O()),BA=R(Zv());var yS=q(new Map),Ha={SHIFT_CODE:16,CONTROL_CODE:17,ALT_CODE:18,META_CODE:91};function FA(e,t){let r=e.event?.keyTrigger?.triggerDevice==="KEYBOARD",n=e.event?.keyTrigger?.keyCodes;if(!n)return!1;let o=tB(t),i=n.length===t.length;return r&&i&&n.every(o)}function JD(e){return e=e.toUpperCase(),e==="SHIFT"||e==="CONTROL"||e==="ALT"||e==="META"}function eB(e){let t=[];return t.push(e.keyCode),e.shiftKey&&t.push(Ha.SHIFT_CODE),e.ctrlKey&&t.push(Ha.CONTROL_CODE),e.altKey&&t.push(Ha.ALT_CODE),e.metaKey&&t.push(Ha.META_CODE),t}function tB(e){let t=BA.default.mac;return r=>(r=r===Ha.META_CODE&&!t?Ha.CONTROL_CODE:r,e.some(n=>n===r))}function VA(){let e=Ie(yS);(0,DA.useEffect)(()=>{let t=Ma(r=>{if(JD(r.key))return;let n=eB(r);e.forEach(o=>{o.keyCallback?.(n)})},"handleKeypressInteractions");return window.addEventListener("keydown",t),()=>{window.removeEventListener("keydown",t)}},[e])}var iO=R(O());var $l=R(G()),Ro=R(O());var hc=R(G(),1),In=R(O(),1);var zA=R(O(),1),Ua=(0,zA.createContext)({});var WA=R(O(),1);function Cn(e){let t=(0,WA.useRef)(null);return t.current===null&&(t.current=e()),t.current}var SS=R(G(),1),$A=R(O(),1),Ss=R(O(),1);var HA=R(O(),1),mi=(0,HA.createContext)(null);var jA=R(G(),1),fm=R(O(),1),po=R(O(),1);var UA=R(O(),1),on=(0,UA.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});var vS=class extends fm.Component{getSnapshotBeforeUpdate(t){let r=this.props.childRef.current;if(r&&t.isPresent&&!this.props.isPresent){let n=r.offsetParent,o=n instanceof HTMLElement&&n.offsetWidth||0,i=this.props.sizeRef.current;i.height=r.offsetHeight||0,i.width=r.offsetWidth||0,i.top=r.offsetTop,i.left=r.offsetLeft,i.right=o-i.width-i.left}return null}componentDidUpdate(){}render(){return this.props.children}};function GA({children:e,isPresent:t,anchorX:r}){let n=(0,po.useId)(),o=(0,po.useRef)(null),i=(0,po.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:s}=(0,po.useContext)(on);return(0,po.useInsertionEffect)(()=>{let{width:a,height:l,top:u,left:c,right:f}=i.current;if(t||!o.current||!a||!l)return;
67let d=r==="left"?`left: ${c}`:`right: ${f}`;o.current.dataset.motionPopId=n;let p=document.createElement("style");return s&&(p.nonce=s),document.head.appendChild(p),p.sheet&&p.sheet.insertRule(`
68          [data-motion-pop-id="${n}"] {
69            position: absolute !important;
70            width: ${a}px !important;
71            height: ${l}px !important;
72            ${d}px !important;
73            top: ${u}px !important;
74          }
75        `),()=>{document.head.removeChild(p)}},[t]),(0,jA.jsx)(vS,{isPresent:t,childRef:o,sizeRef:i,children:fm.cloneElement(e,{ref:o})})}var KA=({children:e,initial:t,isPresent:r,onExitComplete:n,custom:o,presenceAffectsLayout:i,mode:s,anchorX:a})=>{let l=Cn(rB),u=(0,Ss.useId)(),c=(0,Ss.useCallback)(d=>{l.set(d,!0);for(let p of l.values())if(!p)return;n&&n()},[l,n]),f=(0,Ss.useMemo)(()=>({id:u,initial:t,isPresent:r,custom:o,onExitComplete:c,register:d=>(l.set(d,!1),()=>l.delete(d))}),i?[Math.random(),c]:[r,c]);return(0,Ss.useMemo)(()=>{l.forEach((d,p)=>l.set(p,!1))},[r]),$A.useEffect(()=>{!r&&!l.size&&n&&n()},[r]),s==="popLayout"&&(e=(0,SS.jsx)(GA,{isPresent:r,anchorX:a,children:e})),(0,SS.jsx)(mi.Provider,{value:f,children:e})};function rB(){return new Map}var pi=R(O(),1);function dm(e=!0){let t=(0,pi.useContext)(mi);if(t===null)return[!0,null];let{isPresent:r,onExitComplete:n,register:o}=t,i=(0,pi.useId)();(0,pi.useEffect)(()=>{if(e)return o(i)},[e]);let s=(0,pi.useCallback)(()=>e&&n&&n(i),[i,n,e]);return!r&&n?[!1,s]:[!0]}var mm=R(O(),1),pc=e=>e.key||"";function xS(e){let t=[];return mm.Children.forEach(e,r=>{(0,mm.isValidElement)(r)&&t.push(r)}),t}var pm=R(O(),1);var ja=typeof window<"u";var hm=ja?pm.useLayoutEffect:pm.useEffect;var TS=({children:e,custom:t,initial:r=!0,onExitComplete:n,presenceAffectsLayout:o=!0,mode:i="sync",propagate:s=!1,anchorX:a="left"})=>{let[l,u]=dm(s),c=(0,In.useMemo)(()=>xS(e),[e]),f=s&&!l?[]:c.map(pc),d=(0,In.useRef)(!0),p=(0,In.useRef)(c),v=Cn(()=>new Map),[m,T]=(0,In.useState)(c),[h,g]=(0,In.useState)(c);hm(()=>{d.current=!1,p.current=c;for(let S=0;S<h.length;S++){let E=pc(h[S]);f.includes(E)?v.delete(E):v.get(E)!==!0&&v.set(E,!1)}},[h,f.length,f.join("-")]);let y=[];if(c!==m){let S=[...c];for(let E=0;E<h.length;E++){let w=h[E],C=pc(w);f.includes(C)||(S.splice(E,0,w),y.push(w))}return i==="wait"&&y.length&&(S=y),g(xS(S)),T(c),null}let{forceRender:x}=(0,In.useContext)(Ua);return(0,hc.jsx)(hc.Fragment,{children:h.map(S=>{let E=pc(S),w=s&&!l?!1:c===h||f.includes(E),C=()=>{if(v.has(E))v.set(E,!0);else return;let N=!0;v.forEach(I=>{I||(N=!1)}),N&&(x?.(),g(p.current),s&&u?.(),n&&n())};return(0,hc.jsx)(KA,{isPresent:w,initial:!d.current||r?void 0:!1,custom:t,presenceAffectsLayout:o,mode:i,onExitComplete:w?void 0:C,anchorX:a,children:S},E)})})};var De=e=>e;var hi=De,Tr=De;var xs={skipAnimations:!1,useManualTiming:!1};var gc=["read","resolveKeyframes","update","preRender","render","postRender"];var Er={value:null,addProjectionMetrics:null};function YA(e,t){let r=new Set,n=new Set,o=!1,i=!1,s=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(f){s.has(f)&&(c.schedule(f),e()),l++,f(a)}let c={schedule:(f,d=!1,p=!1)=>{let m=p&&o?r:n;return d&&s.add(f),m.has(f)||m.add(f),f},cancel:f=>{n.delete(f),s.delete(f)},process:f=>{if(a=f,o){i=!0;return}o=!0,[r,n]=[n,r],r.forEach(u),t&&Er.value&&Er.value.frameloop[t].push(l),l=0,r.clear(),o=!1,i&&(i=!1,c.process(f))}};return c}var nB=40;function gm(e,t){let r=!1,n=!0,o={delta:0,timestamp:0,isProcessing:!1},i=()=>r=!0,s=gc.reduce((h,g)=>(h[g]=YA(i,t?g:void 0),h),{}),{read:a,resolveKeyframes:l,update:u,preRender:c,render:f,postRender:d}=s,p=()=>{let h=xs.useManualTiming?o.timestamp:performance.now();r=!1,xs.useManualTiming||(o.delta=n?1e3/60:Math.max(Math.min(h-o.timestamp,nB),1)),o.timestamp=h,o.isProcessing=!0,a.process(o),l.process(o),u.process(o),c.process(o),f.process(o),d.process(o),o.isProcessing=!1,r&&t&&(n=!1,e(p))},v=()=>{r=!0,n=!0,o.isProcessing||e(p)};return{schedule:gc.reduce((h,g)=>{let y=s[g];return h[g]=(x,S=!1,E=!1)=>(r||v(),y.schedule(x,S,E)),h},{}),cancel:h=>{for(let g=0;g<gc.length;g++)s[gc[g]].cancel(h)},state:o,steps:s}}var{schedule:Y,cancel:tr,state:je,steps:yc}=gm(typeof requestAnimationFrame<"u"?requestAnimationFrame:De,!0);var XA=R(O(),1),ym=(0,XA.createContext)({strict:!1});var qA={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"]},ho={};for(let e in qA)ho[e]={isEnabled:t=>qA[e].some(r=>!!t[r])};function QA(e){for(let t in e)ho[t]={...ho[t],...e[t]}}var eR=R(G(),1),vm=R(O(),1);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","ignoreStrict","viewport"]);function vc(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 ZA=e=>!vc(e);function ES(e){e&&(ZA=t=>t.startsWith("on")?!vc(t):e(t))}try{ES(dL("@emotion/is-prop-valid").default)}catch{}function JA(e,t,r){let n={};for(let o in e)o==="values"&&typeof e.values=="object"||(ZA(o)||r===!0&&vc(o)||!t&&!vc(o)||e.draggable&&o.startsWith("onDrag"))&&(n[o]=e[o]);return n}function wS({children:e,isValidProp:t,...r}){t&&ES(t),r={...(0,vm.useContext)(on),...r},r.isStatic=Cn(()=>r.isStatic);let n=(0,vm.useMemo)(()=>r,[JSON.stringify(r.transition),r.transformPagePoint,r.reducedMotion]);return(0,eR.jsx)(on.Provider,{value:n,children:e})}function tR(e){if(typeof Proxy>"u")return e;let t=new Map,r=(...n)=>e(...n);return new Proxy(r,{get:(n,o)=>o==="create"?e:(t.has(o)||t.set(o,e(o)),t.get(o))})}var Cm=R(G(),1);var Ka=R(O(),1);var rR=R(O(),1),gi=(0,rR.createContext)({});var Tm=R(O(),1);function yi(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function go(e){return typeof e=="string"||Array.isArray(e)}var Sm=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Sc=["initial",...Sm];function Ts(e){return yi(e.animate)||Sc.some(t=>go(e[t]))}function xm(e){return Boolean(Ts(e)||e.variants)}function nR(e,t){if(Ts(e)){let{initial:r,animate:n}=e;return{initial:r===!1||go(r)?r:void 0,animate:go(n)?n:void 0}}return e.inherit!==!1?t:{}}function iR(e){let{initial:t,animate:r}=nR(e,(0,Tm.useContext)(gi));return(0,Tm.useMemo)(()=>({initial:t,animate:r}),[oR(t),oR(r)])}function oR(e){return Array.isArray(e)?e.join(" "):e}var sR=Symbol.for("motionComponentSymbol");var aR=R(O(),1);function yo(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function lR(e,t,r){return(0,aR.useCallback)(n=>{n&&e.onMount&&e.onMount(n),t&&(n?t.mount(n):t.unmount()),r&&(typeof r=="function"?r(n):yo(r)&&(r.current=n))},[t])}var rr=R(O(),1);var Ga=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase();var iB="framerAppearId",Em="data-"+Ga(iB);var{schedule:$a,cancel:d3}=gm(queueMicrotask,!1);var uR=R(O(),1),wm=(0,uR.createContext)({});function cR(e,t,r,n,o){var i,s;let{visualElement:a}=(0,rr.useContext)(gi),l=(0,rr.useContext)(ym),u=(0,rr.useContext)(mi),c=(0,rr.useContext)(on).reducedMotion,f=(0,rr.useRef)(null);n=n||l.renderer,!f.current&&n&&(f.current=n(e,{visualState:t,parent:a,props:r,presenceContext:u,blockInitialAnimation:u?u.
75initial===!1:!1,reducedMotionConfig:c}));let d=f.current,p=(0,rr.useContext)(wm);d&&!d.projection&&o&&(d.type==="html"||d.type==="svg")&&sB(f.current,r,o,p);let v=(0,rr.useRef)(!1);(0,rr.useInsertionEffect)(()=>{d&&v.current&&d.update(r,u)});let m=r[Em],T=(0,rr.useRef)(Boolean(m)&&!(!((i=window.MotionHandoffIsComplete)===null||i===void 0)&&i.call(window,m))&&((s=window.MotionHasOptimisedAnimation)===null||s===void 0?void 0:s.call(window,m)));return hm(()=>{d&&(v.current=!0,window.MotionIsMounted=!0,d.updateFeatures(),$a.render(d.render),T.current&&d.animationState&&d.animationState.animateChanges())}),(0,rr.useEffect)(()=>{d&&(!T.current&&d.animationState&&d.animationState.animateChanges(),T.current&&(queueMicrotask(()=>{var h;(h=window.MotionHandoffMarkAsComplete)===null||h===void 0||h.call(window,m)}),T.current=!1))}),d}function sB(e,t,r,n){let{layoutId:o,layout:i,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:u}=t;e.projection=new r(e.latestValues,t["data-framer-portal-id"]?void 0:fR(e.parent)),e.projection.setOptions({layoutId:o,layout:i,alwaysMeasureLayout:Boolean(s)||a&&yo(a),visualElement:e,animationType:typeof i=="string"?i:"both",initialPromotionConfig:n,layoutScroll:l,layoutRoot:u})}function fR(e){if(e)return e.options.allowProjection!==!1?e.projection:fR(e.parent)}function dR({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:n,Component:o}){var i,s;e&&QA(e);function a(u,c){let f,d={...(0,Ka.useContext)(on),...u,layoutId:aB(u)},{isStatic:p}=d,v=iR(u),m=n(u,p);if(!p&&ja){lB(d,e);let T=uB(d);f=T.MeasureLayout,v.visualElement=cR(o,m,d,t,T.ProjectionNode)}return(0,Cm.jsxs)(gi.Provider,{value:v,children:[f&&v.visualElement?(0,Cm.jsx)(f,{visualElement:v.visualElement,...d}):null,r(o,u,lR(m,v.visualElement,c),m,p,v.visualElement)]})}a.displayName=`motion.${typeof o=="string"?o:`create(${(s=(i=o.displayName)!==null&&i!==void 0?i:o.name)!==null&&s!==void 0?s:""})`}`;let l=(0,Ka.forwardRef)(a);return l[sR]=o,l}function aB({layoutId:e}){let t=(0,Ka.useContext)(Ua).id;return t&&e!==void 0?t+"-"+e:e}function lB(e,t){let r=(0,Ka.useContext)(ym).strict}function uB(e){let{drag:t,layout:r}=ho;if(!t&&!r)return{};let n={...t,...r};return{MeasureLayout:t?.isEnabled(e)||r?.isEnabled(e)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}var rl=R(O(),1);var xR=R(O(),1);var mR=e=>t=>typeof t=="string"&&t.startsWith(e),Ya=mR("--"),cB=mR("var(--"),Xa=e=>cB(e)?fB.test(e.split("/*")[0].trim()):!1,fB=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;var Es={};function pR(e){for(let t in e)Es[t]=e[t],Ya(t)&&(Es[t].isCSSVariable=!0)}var An=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],nr=new Set(An);function Im(e,{layout:t,layoutId:r}){return nr.has(e)||e.startsWith("origin")||(t||r!==void 0)&&(!!Es[e]||e==="opacity")}var ge=e=>Boolean(e&&e.getVelocity);var Am=(e,t)=>t&&typeof e=="number"?t.transform(e):e;var xt=(e,t,r)=>r>t?t:r<e?e:r;var Rn={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},vo={...Rn,transform:e=>xt(0,1,e)},xc={...Rn,default:1};var Tc=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Nn=Tc("deg"),Wt=Tc("%"),F=Tc("px"),hR=Tc("vh"),gR=Tc("vw"),CS={...Wt,parse:e=>Wt.parse(e)/100,transform:e=>Wt.transform(e*100)};var yR={borderWidth:F,borderTopWidth:F,borderRightWidth:F,borderBottomWidth:F,borderLeftWidth:F,borderRadius:F,radius:F,borderTopLeftRadius:F,borderTopRightRadius:F,borderBottomRightRadius:F,borderBottomLeftRadius:F,width:F,maxWidth:F,height:F,maxHeight:F,top:F,right:F,bottom:F,left:F,padding:F,paddingTop:F,paddingRight:F,paddingBottom:F,paddingLeft:F,margin:F,marginTop:F,marginRight:F,marginBottom:F,marginLeft:F,backgroundPositionX:F,backgroundPositionY:F};var vR={rotate:Nn,rotateX:Nn,rotateY:Nn,rotateZ:Nn,scale:xc,scaleX:xc,scaleY:xc,scaleZ:xc,skew:Nn,skewX:Nn,skewY:Nn,distance:F,translateX:F,translateY:F,translateZ:F,x:F,y:F,z:F,perspective:F,transformPerspective:F,opacity:vo,originX:CS,originY:CS,originZ:F};var IS={...Rn,transform:Math.round};var qa={...yR,...vR,zIndex:IS,size:F,fillOpacity:vo,strokeOpacity:vo,numOctaves:IS};var dB={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},mB=An.length;function SR(e,t,r){let n="",o=!0;for(let i=0;i<mB;i++){let s=An[i],a=e[s];if(a===void 0)continue;let l=!0;if(typeof a=="number"?l=a===(s.startsWith("scale")?1:0):l=parseFloat(a)===0,!l||r){let u=Am(a,qa[s]);if(!l){o=!1;let c=dB[s]||s;n+=`${c}(${u}) `}r&&(t[s]=u)}}return n=n.trim(),r?n=r(t,o?"":n):o&&(n="none"),n}function Qa(e,t,r){let{style:n,vars:o,transformOrigin:i}=e,s=!1,a=!1;for(let l in t){let u=t[l];if(nr.has(l)){s=!0;continue}else if(Ya(l)){o[l]=u;continue}else{let c=Am(u,qa[l]);l.startsWith("origin")?(a=!0,i[l]=c):n[l]=c}}if(t.transform||(s||r?n.transform=SR(t,e.transform,r):n.transform&&(n.transform="none")),a){let{originX:l="50%",originY:u="50%",originZ:c=0}=i;n.transformOrigin=`${l} ${u} ${c}`}}var Za=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function AS(e,t,r){for(let n in t)!ge(t[n])&&!Im(n,r)&&(e[n]=t[n])}function pB({transformTemplate:e},t){return(0,xR.useMemo)(()=>{let r=Za();return Qa(r,t,e),Object.assign({},r.vars,r.style)}
vendor: 9,524 bytes, line 75
75,[t])}function hB(e,t){let r=e.style||{},n={};return AS(n,r,e),Object.assign(n,pB(e,t)),n}function TR(e,t){let r={},n=hB(e,t);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=n,r}var ER=["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 Ja(e){return typeof e!="string"||e.includes("-")?!1:!!(ER.indexOf(e)>-1||/[A-Z]/u.test(e))}var AR=R(O(),1);var gB={offset:"stroke-dashoffset",array:"stroke-dasharray"},yB={offset:"strokeDashoffset",array:"strokeDasharray"};function wR(e,t,r=1,n=0,o=!0){e.pathLength=1;let i=o?gB:yB;e[i.offset]=F.transform(-n);let s=F.transform(t),a=F.transform(r);e[i.array]=`${s} ${a}`}function CR(e,t,r){return typeof e=="string"?e:F.transform(t+r*e)}function IR(e,t,r){let n=CR(t,e.x,e.width),o=CR(r,e.y,e.height);return`${n} ${o}`}function el(e,{attrX:t,attrY:r,attrScale:n,originX:o,originY:i,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...u},c,f){if(Qa(e,u,f),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:p,dimensions:v}=e;d.transform&&(v&&(p.transform=d.transform),delete d.transform),v&&(o!==void 0||i!==void 0||p.transform)&&(p.transformOrigin=IR(v,o!==void 0?o:.5,i!==void 0?i:.5)),t!==void 0&&(d.x=t),r!==void 0&&(d.y=r),n!==void 0&&(d.scale=n),s!==void 0&&wR(d,s,a,l,!1)}var Rm=()=>({...Za(),attrs:{}});var tl=e=>typeof e=="string"&&e.toLowerCase()==="svg";function RR(e,t,r,n){let o=(0,AR.useMemo)(()=>{let i=Rm();return el(i,t,tl(n),e.transformTemplate),{...i.attrs,style:{...i.style}}},[t]);if(e.style){let i={};AS(i,e.style,e),o.style={...i,...o.style}}return o}function NR(e=!1){return(r,n,o,{latestValues:i},s)=>{let l=(Ja(r)?RR:TR)(n,i,s,r),u=JA(n,typeof r=="string",e),c=r!==rl.Fragment?{...u,...l,ref:o}:{},{children:f}=n,d=(0,rl.useMemo)(()=>ge(f)?f.get():f,[f]);return(0,rl.createElement)(r,{...c,children:d})}}var RS=R(O(),1);function bR(e){let t=[{},{}];return e?.values.forEach((r,n)=>{t[0][n]=r.get(),t[1][n]=r.getVelocity()}),t}function nl(e,t,r,n){if(typeof t=="function"){let[o,i]=bR(n);t=t(r!==void 0?r:e.custom,o,i)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){let[o,i]=bR(n);t=t(r!==void 0?r:e.custom,o,i)}return t}var Ec=e=>Array.isArray(e);var PR=e=>Boolean(e&&typeof e=="object"&&e.mix&&e.toValue),OR=e=>Ec(e)?e[e.length-1]||0:e;function ol(e){let t=ge(e)?e.get():e;return PR(t)?t.toValue():t}function vB({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:r},n,o,i){let s={latestValues:SB(n,o,i,e),renderState:t()};return r&&(s.onMount=a=>r({props:n,current:a,...s}),s.onUpdate=a=>r(a)),s}var Nm=e=>(t,r)=>{let n=(0,RS.useContext)(gi),o=(0,RS.useContext)(mi),i=()=>vB(e,t,n,o);return r?i():Cn(i)};function SB(e,t,r,n){let o={},i=n(e,{});for(let d in i)o[d]=ol(i[d]);let{initial:s,animate:a}=e,l=Ts(e),u=xm(e);t&&u&&!l&&e.inherit!==!1&&(s===void 0&&(s=t.initial),a===void 0&&(a=t.animate));let c=r?r.initial===!1:!1;c=c||s===!1;let f=c?a:s;if(f&&typeof f!="boolean"&&!yi(f)){let d=Array.isArray(f)?f:[f];for(let p=0;p<d.length;p++){let v=nl(e,d[p]);if(v){let{transitionEnd:m,transition:T,...h}=v;for(let g in h){let y=h[g];if(Array.isArray(y)){let x=c?y.length-1:0;y=y[x]}y!==null&&(o[g]=y)}for(let g in m)o[g]=m[g]}}}return o}function il(e,t,r){var n;let{style:o}=e,i={};for(let s in o)(ge(o[s])||t.style&&ge(t.style[s])||Im(s,e)||((n=r?.getValue(s))===null||n===void 0?void 0:n.liveStyle)!==void 0)&&(i[s]=o[s]);return i}var LR={useVisualState:Nm({scrapeMotionValuesFromProps:il,createRenderState:Za})};function bm(e,t){try{t.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{t.dimensions={x:0,y:0,width:0,height:0}}}function Pm(e,{style:t,vars:r},n,o){Object.assign(e.style,t,o&&o.getProjectionStyles(n));for(let i in r)e.style.setProperty(i,r[i])}var Om=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"]);function Lm(e,t,r,n){Pm(e,t,void 0,n);for(let o in t.attrs)e.setAttribute(Om.has(o)?o:Ga(o),t.attrs[o])}function km(e,t,r){let n=il(e,t,r);for(let o in e)if(ge(e[o])||ge(t[o])){let i=An.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;n[i]=e[o]}return n}var kR=["x","y","width","height","cx","cy","r"],_R={useVisualState:Nm({scrapeMotionValuesFromProps:km,createRenderState:Rm,onUpdate:({props:e,prevProps:t,current:r,renderState:n,latestValues:o})=>{if(!r)return;let i=!!e.drag;if(!i){for(let a in o)if(nr.has(a)){i=!0;break}}if(!i)return;let s=!t;if(t)for(let a=0;a<kR.length;a++){let l=kR[a];e[l]!==t[l]&&(s=!0)}s&&Y.read(()=>{bm(r,n),Y.render(()=>{el(n,o,tl(r.tagName),e.transformTemplate),Lm(r,n)})})}})};function MR(e,t){return function(n,{forwardMotionProps:o}={forwardMotionProps:!1}){let s={...Ja(n)?_R:LR,preloadedFeatures:e,useRender:NR(o),createVisualElement:t,Component:n};return dR(s)}}function So(e,t,r){let n=e.getProps();return nl(n,t,r!==void 0?r:n.custom,e)}function sl(e,t){return e?e[t]||e.default||e:void 0}var _m=new Set(["width","height","top","left","right","bottom",...An]);var Mm;function xB(){Mm=void 0}var Rt={now:()=>(Mm===void 0&&Rt.set(je.isProcessing||xs.useManualTiming?je.timestamp:performance.now()),Mm),set:e=>{Mm=e,queueMicrotask(xB)}};function al(e,t){e.indexOf(t)===-1&&e.push(t)}function vi(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}var Si=class{constructor(){this.subscriptions=[]}add(t){return al(this.subscriptions,t),()=>vi(this.subscriptions,t)}notify(t,r,n){let o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,r,n);else for(let i=0;i<o;i++){let s=this.subscriptions[i];s&&s(t,r,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}};function Dm(e,t){return t?e*(1e3/t):0}var DR=30,TB=e=>!isNaN(parseFloat(e)),BR={current:void 0},Bm=class{constructor(t,r={}){this.version="12.4.9",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(n,o=!0)=>{let i=Rt.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(n),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),o&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=r.owner}setCurrent(t){this.current=t,this.updatedAt=Rt.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=TB(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,r){this.events[t]||(this.events[t]=new Si);let n=this.events[t].add(r);return t==="change"?()=>{n(),Y.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,r){this.passiveEffect=t,this.stopPassiveEffect=r}set(t,r=!0){!r||!this.passiveEffect?this.updateAndNotify(t,r):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,r,n){this.set(r),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}jump(t,r=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,r&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return BR.current&&BR.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=Rt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>DR)return 0;let r=Math.min(this.updatedAt-this.prevUpdatedAt,DR);return Dm(parseFloat(this.current)-parseFloat(this.prevFrameValue),r)}start(t){return this.stop(),new Promise(r=>{this.hasAnimated=!0,this.animation=t(r),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.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function nt(e,t){return new Bm(e,t)}function EB(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,nt(r))}function FR(e,t){let r=So(e,t),{transitionEnd:n={},transition:o={},...i}=r||{};i={...i,...n};for(let s in i){let a=OR(i[s]);EB(e,s,a)}}function VR(e){return Boolean(ge(e)&&e.add)}function wc(e,t){let r=e.getValue("willChange");if(VR(r))return r.add(t)}function Fm(e){return e.props[Em]}function ll(e){let t;return()=>(t===void 0&&(t=e()),t)}var zR=ll(()=>window.ScrollTimeline!==void 0);var Vm=class{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,r){for(let n=0;n<this.animations.length;n++)this.animations[n][t]=r}attachTimeline(t,r){let n=this.animations.map(o=>{if(zR()&&o.attachTimeline)return o.attachTimeline(t);if(typeof r=="function")return r(o)});return()=>
75{n.forEach((o,i)=>{o&&o(),this.animations[i].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let r=0;r<this.animations.length;r++)t=Math.max(t,this.animations[r].duration);return t}runAll(t){this.animations.forEach(r=>r[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}};var ul=class extends Vm{then(t,r){return Promise.all(this.animations).then(t).catch(r)}};var dt=e=>e*1e3,Nt=e=>e/1e3;var zm={current:!1};function xi(e){return typeof e=="function"}function NS(e,t){e.timeline=t,e.onfinish=null}var Cc=e=>Array.isArray(e)&&typeof e[0]=="number";var WR={linearEasing:void 0};function HR(e,t){let r=ll(e);return()=>{var n;return(n=WR[t])!==null&&n!==void 0?n:r()}}var cl=HR(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");var wr=(e,t,r)=>{let n=t-e;return n===0?1:(r-e)/n};var Wm=(e,t,r=10)=>{let n="",o=Math.max(Math.round(t/r),2);for(let i=0;i<o;i++)n+=e(wr(0,o-1,i))+", ";return`linear(${n.substring(0,n.length-2)})`};function PS(e){return Boolean(typeof e=="function"&&cl()||!e||typeof e=="string"&&(e in bS||cl())||Cc(e)||Array.isArray(e)&&e.every(PS))}var Ic=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,bS={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ic([0,.65,.55,1]),circOut:Ic([.55,0,1,.45]),backIn:Ic([.31,.01,.66,-.59]),backOut:Ic([.33,1.53,.69,.99])};function OS(e,t){if(e)return typeof e=="function"&&cl()?Wm(e,t):Cc(e)?Ic(e):Array.isArray(e)?e.map(r=>OS(r,t)||bS.easeOut):bS[e]}var UR=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,wB=1e-7,CB=12;function IB(e,t,r,n,o){let i,s,a=0;do s=t+(r-t)/2,i=UR(s,n,o)-e,i>0?r=s:t=s;while(Math.abs(i)>wB&&++a<CB);return s}function Ti(e,t,r,n){if(e===t&&r===n)return De;let o=i=>IB(i,0,1,e,r);return i=>i===0||i===1?i:UR(o(i),t,n)}var Hm=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2;var Um=e=>t=>1-e(1-t);var LS=Ti(.33,1.53,.69,.99),Ac=Um(LS),jm=Hm(Ac);var Gm=e=>(e*=2)<1?.5*Ac(e):.5*(2-Math.pow(2,-10*(e-1)));var $m=e=>1-Math.sin(Math.acos(e)),Km=Um($m),Ym=Hm($m);var Xm=e=>/^0[^.\s]+$/u.test(e);function jR(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Xm(e):!0}var Ei=e=>Math.round(e*1e5)/1e5;var fl=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function GR(e){return e==null}var $R=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;var dl=(e,t)=>r=>Boolean(typeof r=="string"&&$R.test(r)&&r.startsWith(e)||t&&!GR(r)&&Object.prototype.hasOwnProperty.call(r,t)),qm=(e,t,r)=>n=>{if(typeof n!="string")return n;let[o,i,s,a]=n.match(fl);return{[e]:parseFloat(o),[t]:parseFloat(i),[r]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}};var AB=e=>xt(0,255,e),kS={...Rn,transform:e=>Math.round(AB(e))},bn={test:dl("rgb","red"),parse:qm("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+kS.transform(e)+", "+kS.transform(t)+", "+kS.transform(r)+", "+Ei(vo.transform(n))+")"};function RB(e){let t="",r="",n="",o="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),o=e.substring(4,5),t+=t,r+=r,n+=n,o+=o),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:o?parseInt(o,16)/255:1}}var Rc={test:dl("#"),parse:RB,transform:bn.transform};var wi={test:dl("hsl","hue"),parse:qm("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+Wt.transform(Ei(t))+", "+Wt.transform(Ei(r))+", "+Ei(vo.transform(n))+")"};var Ze={test:e=>bn.test(e)||Rc.test(e)||wi.test(e),parse:e=>bn.test(e)?bn.parse(e):wi.test(e)?wi.parse(e):Rc.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?bn.transform(e):wi.transform(e)};var KR=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function NB(e){var t,r;return isNaN(e)&&typeof e=="string"&&(((t=e.match(fl))===null||t===void 0?void 0:t.length)||0)+(((r=e.match(KR))===null||r===void 0?void 0:r.length)||0)>0}var XR="number",qR="color",bB="var",PB="var(",YR="${}",OB=/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 ws(e){let t=e.toString(),r=[],n={color:[],number:[],var:[]},o=[],i=0,a=t.replace(OB,l=>(Ze.test(l)?(n.color.push(i),o.push(qR),r.push(Ze.parse(l))):l.startsWith(PB)?(n.var.push(i),o.push(bB),r.push(l)):(n.number.push(i),o.push(XR),r.push(parseFloat(l))),++i,YR)).split(YR);return{values:r,split:a,indexes:n,types:o}}function QR(e){return ws(e).values}function ZR(e){let{split:t,types:r}=ws(e),n=t.length;return o=>{let i="";for(let s=0;s<n;s++)if(i+=t[s],o[s]!==void 0){let a=r[s];a===XR?i+=Ei(o[s]):a===qR?i+=Ze.transform(o[s]):i+=o[s]}return i}}var LB=e=>typeof e=="number"?0:e;function kB(e){let t=QR(e);return ZR(e)(t.map(LB))}var Ht={test:NB,parse:QR,createTransformer:ZR,getAnimatableNone:kB};var _B=new Set(["brightness","contrast","saturate","opacity"]);function MB(e){let[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[n]=r.match(fl)||[];if(!n)return e;let o=r.replace(n,""),i=_B.has(t)?1:0;return n!==r&&(i*=100),t+"("+i+o+")"}var DB=/\b([a-z-]*)\(.*?\)/gu,Nc={...Ht,getAnimatableNone:e=>{let t=e.match(DB);return t?t.map(MB).join(" "):e}};var BB={...qa,color:Ze,backgroundColor:Ze,outlineColor:Ze,fill:Ze,stroke:Ze,borderColor:Ze,borderTopColor:Ze,borderRightColor:Ze,borderBottomColor:Ze,borderLeftColor:Ze,filter:Nc,WebkitFilter:Nc},ml=e=>BB[e];function Qm(e,t){let r=ml(e);return r!==Nc&&(r=Ht),r.getAnimatableNone?r.getAnimatableNone(t):void 0}
vendor: 8,959 bytes, line 75
75var FB=new Set(["auto","none","0"]);function JR(e,t,r){let n=0,o;for(;n<e.length&&!o;){let i=e[n];typeof i=="string"&&!FB.has(i)&&ws(i).values.length&&(o=e[n]),n++}if(o&&r)for(let i of t)e[i]=Qm(r,o)}var _S=e=>e===Rn||e===F,e1=(e,t)=>parseFloat(e.split(", ")[t]),t1=(e,t)=>(r,{transform:n})=>{if(n==="none"||!n)return 0;let o=n.match(/^matrix3d\((.+)\)$/u);if(o)return e1(o[1],t);{let i=n.match(/^matrix\((.+)\)$/u);return i?e1(i[1],e):0}},VB=new Set(["x","y","z"]),zB=An.filter(e=>!VB.has(e));function r1(e){let t=[];return zB.forEach(r=>{let n=e.getValue(r);n!==void 0&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t}var Cs={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),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:t1(4,13),y:t1(5,14)};Cs.translateX=Cs.x;Cs.translateY=Cs.y;var Is=new Set,MS=!1,DS=!1;function n1(){if(DS){let e=Array.from(Is).filter(n=>n.needsMeasurement),t=new Set(e.map(n=>n.element)),r=new Map;t.forEach(n=>{let o=r1(n);o.length&&(r.set(n,o),n.render())}),e.forEach(n=>n.measureInitialState()),t.forEach(n=>{n.render();let o=r.get(n);o&&o.forEach(([i,s])=>{var a;(a=n.getValue(i))===null||a===void 0||a.set(s)})}),e.forEach(n=>n.measureEndState()),e.forEach(n=>{n.suspendedScrollY!==void 0&&window.scrollTo(0,n.suspendedScrollY)})}DS=!1,MS=!1,Is.forEach(e=>e.complete()),Is.clear()}function o1(){Is.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(DS=!0)})}function i1(){o1(),n1()}var Ci=class{constructor(t,r,n,o,i,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=r,this.name=n,this.motionValue=o,this.element=i,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Is.add(this),MS||(MS=!0,Y.read(o1),Y.resolveKeyframes(n1))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:r,element:n,motionValue:o}=this;for(let i=0;i<t.length;i++)if(t[i]===null)if(i===0){let s=o?.get(),a=t[t.length-1];if(s!==void 0)t[0]=s;else if(n&&r){let l=n.readValue(r,a);l!=null&&(t[0]=l)}t[0]===void 0&&(t[0]=a),o&&s===void 0&&o.set(t[0])}else t[i]=t[i-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Is.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Is.delete(this))}resume(){this.isComplete||this.scheduleResolve()}};var Zm=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);var WB=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function HB(e){let t=WB.exec(e);if(!t)return[,];let[,r,n,o]=t;return[`--${r??n}`,o]}var UB=4;function BS(e,t,r=1){Tr(r<=UB,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[n,o]=HB(e);if(!n)return;let i=window.getComputedStyle(t).getPropertyValue(n);if(i){let s=i.trim();return Zm(s)?parseFloat(s):s}return Xa(o)?BS(o,t,r+1):o}var Jm=e=>t=>t.test(e);var s1={test:e=>e==="auto",parse:e=>e};var FS=[Rn,F,Wt,Nn,gR,hR,s1],VS=e=>FS.find(Jm(e));var pl=class extends Ci{constructor(t,r,n,o,i){super(t,r,n,o,i,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:r,name:n}=this;if(!r||!r.current)return;super.readKeyframes();for(let l=0;l<t.length;l++){let u=t[l];if(typeof u=="string"&&(u=u.trim(),Xa(u))){let c=BS(u,r.current);c!==void 0&&(t[l]=c),l===t.length-1&&(this.finalKeyframe=u)}}if(this.resolveNoneKeyframes(),!_m.has(n)||t.length!==2)return;let[o,i]=t,s=VS(o),a=VS(i);if(s!==a)if(_S(s)&&_S(a))for(let l=0;l<t.length;l++){let u=t[l];typeof u=="string"&&(t[l]=parseFloat(u))}else this.needsMeasurement=!0}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:r}=this,n=[];for(let o=0;o<t.length;o++)jR(t[o])&&n.push(o);n.length&&JR(t,n,r)}measureInitialState(){let{element:t,unresolvedKeyframes:r,name:n}=this;if(!t||!t.current)return;n==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Cs[n](t.measureViewportBox(),window.getComputedStyle(t.current)),r[0]=this.measuredOrigin;let o=r[r.length-1];o!==void 0&&t.getValue(n,o).jump(o,!1)}measureEndState(){var t;let{element:r,name:n,unresolvedKeyframes:o}=this;if(!r||!r.current)return;let i=r.getValue(n);i&&i.jump(this.measuredOrigin,!1);let s=o.length-1,a=o[s];o[s]=Cs[n](r.measureViewportBox(),window.getComputedStyle(r.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEach(([l,u])=>{r.getValue(l).set(u)}),this.resolveNoneKeyframes()}};var zS=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Ht.test(e)||e==="0")&&!e.startsWith("url("));function jB(e){let t=e[0];if(e.length===1)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t)return!0}function a1(e,t,r,n){let o=e[0];if(o===null)return!1;if(t==="display"||t==="visibility")return!0;let i=e[e.length-1],s=zS(o,t),a=zS(i,t);return hi(s===a,`You are trying to animate ${t} from "${o}" to "${i}". ${o} is not an animatable value - to enable this animation set ${o} to a value animatable to ${i} via the \`style\` property.`),!s||!a?!1:jB(e)||(r==="spring"||xi(r))&&n}var GB=e=>e!==null;function Ii(e,{repeat:t,repeatType:r="loop"},n){let o=e.filter(GB),i=t&&r!=="loop"&&t%2===1?0:o.length-1;return!i||n===void 0?o[i]:n}var $B=40,hl=class{constructor({autoplay:t=!0,delay:r=0,type:n="keyframes",repeat:o=0,repeatDelay:i=0,repeatType:s="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Rt.now(),this.options={autoplay:t,delay:r,type:n,repeat:o,repeatDelay:i,repeatType:s,...a},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>$B?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&i1(),this._resolved}onKeyframesResolved(t,r){this.resolvedAt=Rt.now(),this.hasAttemptedResolve=!0;let{name:n,type:o,velocity:i,delay:s,onComplete:a,onUpdate:l,isGenerator:u}=this.options;if(!u&&!a1(t,n,o,i))if(zm.current||!s){l&&l(Ii(t,this.options,r)),a&&a(),this.resolveFinishedPromise();return}else this.options.duration=0;let c=this.initPlayback(t,r);c!==!1&&(this._resolved={keyframes:t,finalKeyframe:r,...c},this.onPostResolved())}onPostResolved(){}then(t,r){return this.currentFinishedPromise.then(t,r)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}};function gl(e){let t=0,r=50,n=e.next(t);for(;!n.done&&t<2e4;)t+=r,n=e.next(t);return t>=2e4?1/0:t}var Pn={layout:0,mainThread:0,waapi:0};var oe=(e,t,r)=>e+(t-e)*r;function WS(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function l1({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,t/=100,r/=100;let o=0,i=0,s=0;if(!t)o=i=s=r;else{let a=r<.5?r*(1+t):r+t-r*t,l=2*r-a;o=WS(l,a,e+1/3),i=WS(l,a,e),s=WS(l,a,e-1/3)}return{red:Math.round(o*255),green:Math.round(i*255),blue:Math.round(s*255),alpha:n}}function yl(e,t){return r=>r>0?t:e}var HS=(e,t,r)=>{let n=e*e,o=r*(t*t-n)+n;return o<0?0:Math.sqrt(o)},KB=[Rc,bn,wi],YB=e=>KB.find(t=>t.test(e));function u1(e){let t=YB(e);if(hi(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`),!Boolean(t))return!1;let r=t.parse(e);return t===wi&&(r=l1(r)),r}var US=(e,t)=>{let r=u1(e),n=u1(t);if(!r||!n)return yl(e,t);let o={...r};return i=>(o.red=HS(r.red,n.red,i),o.green=HS(r.green,n.green,i),o.blue=HS(r.blue,n.blue,i),o.alpha=oe(r.alpha,n.alpha,i),bn.transform(o))};var XB=(e,t)=>r=>t(e(r)),On=(...e)=>e.reduce(XB);var ep=new Set(["none","hidden"]);function c1(e,t){return ep.has(e)?r=>r<=0?e:t:r=>r>=1?t:e}function qB(e,t){return r=>oe(e,t,r)}function tp(e){return typeof e=="number"?qB:typeof e=="string"?Xa(e)?yl:Ze.test(e)?US:JB:Array.isArray(e)?f1:typeof e=="object"?Ze.test(e)?US:QB:yl}function f1(e,t){let r=[...e],n=r.length,o=e.map((i,s)=>tp(i)(i,t[s]));return i=>{for(let s=0;s<n;s++)r[s]=o[s](i);return r}}function QB(e,t){let r={...e,...t},n={};for(let o in r)e[o]!==void 0&&t[o]!==void 0&&(n[o]=tp(e[o])(e[o],t[o]));return o=>{for(let i in n)r[i]=n[i](o);return r}}function ZB(e,t){var r;let n=[],o={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let s=t.types[i],a=e.indexes[s][o[s]],l=(r=e.values[a])!==null&&r!==void 0?r:0;n[i]=l,o[s]++}return n}var JB=(e,t)=>{let r=Ht.createTransformer(t),n=ws(e),o=ws(t);return n.indexes.var.length===o.indexes.var.length&&n.indexes.color.length===o.indexes.color.length&&n.indexes.number.length>=o.indexes.number.length?ep.has(e)&&!o.values.length||ep.has(t)&&!n.values.length?c1(e,t):On(f1(ZB(n,o),o.values),r):(hi(!0,`Complex values '${e}' and '${t}
75' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),yl(e,t))};function rp(e,t,r){return typeof e=="number"&&typeof t=="number"&&typeof r=="number"?oe(e,t,r):tp(e)(e,t)}var eF=5;function np(e,t,r){let n=Math.max(t-eF,0);return Dm(r-e(n),t-n)}var ke={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};var jS=.001;function d1({duration:e=ke.duration,bounce:t=ke.bounce,velocity:r=ke.velocity,mass:n=ke.mass}){let o,i;hi(e<=dt(ke.maxDuration),"Spring duration must be 10 seconds or less");let s=1-t;s=xt(ke.minDamping,ke.maxDamping,s),e=xt(ke.minDuration,ke.maxDuration,Nt(e)),s<1?(o=u=>{let c=u*s,f=c*e,d=c-r,p=op(u,s),v=Math.exp(-f);return jS-d/p*v},i=u=>{let f=u*s*e,d=f*r+r,p=Math.pow(s,2)*Math.pow(u,2)*e,v=Math.exp(-f),m=op(Math.pow(u,2),s);return(-o(u)+jS>0?-1:1)*((d-p)*v)/m}):(o=u=>{let c=Math.exp(-u*e),f=(u-r)*e+1;return-jS+c*f},i=u=>{let c=Math.exp(-u*e),f=(r-u)*(e*e);return c*f});let a=5/e,l=rF(o,i,a);if(e=dt(e),isNaN(l))return{stiffness:ke.stiffness,damping:ke.damping,duration:e};{let u=Math.pow(l,2)*n;return{stiffness:u,damping:s*2*Math.sqrt(n*u),duration:e}}}var tF=12;function rF(e,t,r){let n=r;for(let o=1;o<tF;o++)n=n-e(n)/t(n);return n}function op(e,t){return e*Math.sqrt(1-t*t)}var nF=["duration","bounce"],oF=["stiffness","damping","mass"];function m1(e,t){return t.some(r=>e[r]!==void 0)}function iF(e){let t={velocity:ke.velocity,stiffness:ke.stiffness,damping:ke.damping,mass:ke.mass,isResolvedFromDuration:!1,...e};if(!m1(e,oF)&&m1(e,nF))if(e.visualDuration){let r=e.visualDuration,n=2*Math.PI/(r*1.2),o=n*n,i=2*xt(.05,1,1-(e.bounce||0))*Math.sqrt(o);t={...t,mass:ke.mass,stiffness:o,damping:i}}else{let r=d1(e);t={...t,...r,mass:ke.mass},t.isResolvedFromDuration=!0}return t}function vl(e=ke.visualDuration,t=ke.bounce){let r=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:n,restDelta:o}=r,i=r.keyframes[0],s=r.keyframes[r.keyframes.length-1],a={done:!1,value:i},{stiffness:l,damping:u,mass:c,duration:f,velocity:d,isResolvedFromDuration:p}=iF({...r,velocity:-Nt(r.velocity||0)}),v=d||0,m=u/(2*Math.sqrt(l*c)),T=s-i,h=Nt(Math.sqrt(l/c)),g=Math.abs(T)<5;n||(n=g?ke.restSpeed.granular:ke.restSpeed.default),o||(o=g?ke.restDelta.granular:ke.restDelta.default);let y;if(m<1){let S=op(h,m);y=E=>{let w=Math.exp(-m*h*E);return s-w*((v+m*h*T)/S*Math.sin(S*E)+T*Math.cos(S*E))}}else if(m===1)y=S=>s-Math.exp(-h*S)*(T+(v+h*T)*S);else{let S=h*Math.sqrt(m*m-1);y=E=>{let w=Math.exp(-m*h*E),C=Math.min(S*E,300);return s-w*((v+m*h*T)*Math.sinh(C)+S*T*Math.cosh(C))/S}}let x={calculatedDuration:p&&f||null,next:S=>{let E=y(S);if(p)a.done=S>=f;else{let w=0;m<1&&(w=S===0?dt(v):np(y,S,E));let C=Math.abs(w)<=n,N=Math.abs(s-E)<=o;a.done=C&&N}return a.value=a.done?s:E,a},toString:()=>{let S=Math.min(gl(x),2e4),E=Wm(w=>x.next(S*w).value,S,30);return S+"ms "+E}};return x}function $S({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:s,min:a,max:l,restDelta:u=.5,restSpeed:c}){let f=e[0],d={done:!1,value:f},p=C=>a!==void 0&&C<a||l!==void 0&&C>l,v=C=>a===void 0?l:l===void 0||Math.abs(a-C)<Math.abs(l-C)?a:l,m=r*t,T=f+m,h=s===void 0?T:s(T);h!==T&&(m=h-f);let g=C=>-m*Math.exp(-C/n),y=C=>h+g(C),x=C=>{let N=g(C),I=y(C);d.done=Math.abs(N)<=u,d.value=d.done?h:I},S,E,w=C=>{p(d.value)&&(S=C,E=vl({keyframes:[d.value,v(d.value)],velocity:np(y,C,d.value),damping:o,stiffness:i,restDelta:u,restSpeed:c}))};return w(0),{calculatedDuration:null,next:C=>{let N=!1;return!E&&S===void 0&&(N=!0,x(C),w(C)),S!==void 0&&C>=S?E.next(C-S):(!N&&x(C),d)}}}var p1=Ti(.42,0,1,1),h1=Ti(0,0,.58,1),ip=Ti(.42,0,.58,1);var sp=e=>Array.isArray(e)&&typeof e[0]!="number";var g1={linear:De,easeIn:p1,easeInOut:ip,easeOut:h1,circIn:$m,circInOut:Ym,circOut:Km,backIn:Ac,backInOut:jm,backOut:LS,anticipate:Gm},KS=e=>{if(Cc(e)){Tr(e.length===4,"Cubic bezier arrays must contain four numerical values.");let[t,r,n,o]=e;return Ti(t,r,n,o)}else if(typeof e=="string")return Tr(g1[e]!==void 0,`Invalid easing type '${e}'`),g1[e];return e};function sF(e,t,r){let n=[],o=r||rp,i=e.length-1;for(let s=0;s<i;s++){let a=o(e[s],e[s+1]);if(t){let l=Array.isArray(t)?t[s]||De:t;a=On(l,a)}n.push(a)}return n}function ap(e,t,{clamp:r=!0,ease:n,mixer:o}={}){let i=e.length;if(Tr(i===t.length,"Both input and output ranges must be the same length"),i===1)return()=>t[0];if(i===2&&t[0]===t[1])return()=>t[1];let s=e[0]===e[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());let a=sF(t,n,o),l=a.length,u=c=>{if(s&&c<e[0])return t[0];let f=0;if(l>1)for(;f<e.length-2&&!(c<e[f+1]);f++);let d=wr(e[f],e[f+1],c);return a[f](d)};return r?c=>u(xt(e[0],e[i-1],c)):u}function lp(e,t){let r=e[e.length-1];for(let n=1;n<=t;n++){let o=wr(0,t,n);e.push(oe(r,1,o))}}function up(e){let t=[0];return lp(t,e.length-1),t}function y1(e,t){return e.map(r=>r*t)}function aF(e,t){return e.map(()=>t||ip).splice(0,e.length-1)}function bc({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){let o=sp(n)?n.map(KS):KS(n),i={done:!1,value:t[0]},s=y1(r&&r.length===t.length?r:up(t),e),a=ap(s,t,{ease:Array.isArray(o)?o:aF(t,o)});return{calculatedDuration:e,next:l=>(i.value=a(l),i.done=l>=e,i)}}var v1=e=>{let t=({timestamp:r})=>e(r);return{start:()=>Y.update(t,!0),stop:()=>tr(t),now:()=>je.isProcessing?je.timestamp:Rt.now()}};var lF={decay:$S,inertia:$S,tween:bc,keyframes:bc,spring:vl},uF=e=>e/100,As=class extends hl{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>
vendor: 13,430 bytes, line 75
75{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();let{onStop:l}=this.options;l&&l()};let{name:r,motionValue:n,element:o,keyframes:i}=this.options,s=o?.KeyframeResolver||Ci,a=(l,u)=>this.onKeyframesResolved(l,u);this.resolver=new s(i,a,r,n,o),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){let{type:r="keyframes",repeat:n=0,repeatDelay:o=0,repeatType:i,velocity:s=0}=this.options,a=xi(r)?r:lF[r]||bc,l,u;a!==bc&&typeof t[0]!="number"&&(l=On(uF,rp(t[0],t[1])),t=[0,100]);let c=a({...this.options,keyframes:t});i==="mirror"&&(u=a({...this.options,keyframes:[...t].reverse(),velocity:-s})),c.calculatedDuration===null&&(c.calculatedDuration=gl(c));let{calculatedDuration:f}=c,d=f+o,p=d*(n+1)-o;return{generator:c,mirroredGenerator:u,mapPercentToKeyframes:l,calculatedDuration:f,resolvedDuration:d,totalDuration:p}}onPostResolved(){let{autoplay:t=!0}=this.options;Pn.mainThread++,this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,r=!1){let{resolved:n}=this;if(!n){let{keyframes:C}=this.options;return{done:!0,value:C[C.length-1]}}let{finalKeyframe:o,generator:i,mirroredGenerator:s,mapPercentToKeyframes:a,keyframes:l,calculatedDuration:u,totalDuration:c,resolvedDuration:f}=n;if(this.startTime===null)return i.next(0);let{delay:d,repeat:p,repeatType:v,repeatDelay:m,onUpdate:T}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-c/this.speed,this.startTime)),r?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;let h=this.currentTime-d*(this.speed>=0?1:-1),g=this.speed>=0?h<0:h>c;this.currentTime=Math.max(h,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let y=this.currentTime,x=i;if(p){let C=Math.min(this.currentTime,c)/f,N=Math.floor(C),I=C%1;!I&&C>=1&&(I=1),I===1&&N--,N=Math.min(N,p+1),Boolean(N%2)&&(v==="reverse"?(I=1-I,m&&(I-=m/f)):v==="mirror"&&(x=s)),y=xt(0,1,I)*f}let S=g?{done:!1,value:l[0]}:x.next(y);a&&(S.value=a(S.value));let{done:E}=S;!g&&u!==null&&(E=this.speed>=0?this.currentTime>=c:this.currentTime<=0);let w=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&E);return w&&o!==void 0&&(S.value=Ii(l,this.options,o)),T&&T(S.value),w&&this.finish(),S}get duration(){let{resolved:t}=this;return t?Nt(t.calculatedDuration):0}get time(){return Nt(this.currentTime)}set time(t){t=dt(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){let r=this.playbackSpeed!==t;this.playbackSpeed=t,r&&(this.time=Nt(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=v1,onPlay:r,startTime:n}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),r&&r();let o=this.driver.now();this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=o):this.startTime=n??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel(),Pn.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}};var S1=new Set(["opacity","clipPath","filter","transform"]);function x1(e,t,r,{delay:n=0,duration:o=300,repeat:i=0,repeatType:s="loop",ease:a="easeInOut",times:l}={}){let u={[t]:r};l&&(u.offset=l);let c=OS(a,o);Array.isArray(c)&&(u.easing=c),Er.value&&Pn.waapi++;let f=e.animate(u,{delay:n,duration:o,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:i+1,direction:s==="reverse"?"alternate":"normal"});return Er.value&&f.finished.finally(()=>{Pn.waapi--}),f}var T1=ll(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));var cp=10,cF=2e4;function fF(e){return xi(e.type)||e.type==="spring"||!PS(e.ease)}function dF(e,t){let r=new As({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),n={done:!1,value:e[0]},o=[],i=0;for(;!n.done&&i<cF;)n=r.sample(i),o.push(n.value),i+=cp;return{times:void 0,keyframes:o,duration:i-cp,ease:"linear"}}var E1={anticipate:Gm,backInOut:jm,circInOut:Ym};function mF(e){return e in E1}var Pc=class extends hl{constructor(t){super(t);let{name:r,motionValue:n,element:o,keyframes:i}=this.options;this.resolver=new pl(i,(s,a)=>this.onKeyframesResolved(s,a),r,n,o),this.resolver.scheduleResolve()}initPlayback(t,r){let{duration:n=300,times:o,ease:i,type:s,motionValue:a,name:l,startTime:u}=this.options;if(!a.owner||!a.owner.current)return!1;if(typeof i=="string"&&cl()&&mF(i)&&(i=E1[i]),fF(this.options)){let{onComplete:f,onUpdate:d,motionValue:p,element:v,...m}=this.options,T=dF(t,m);t=T.keyframes,t.length===1&&(t[1]=t[0]),n=T.duration,o=T.times,i=T.ease,s="keyframes"}let c=x1(a.owner.current,l,t,{...this.options,duration:n,times:o,ease:i});return c.startTime=u??this.calcStartTime(),this.pendingTimeline?(NS(c,this.pendingTimeline),this.pendingTimeline=void 0):c.onfinish=()=>{let{onComplete:f}=this.options;a.set(Ii(t,this.options,r)),f&&f(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:n,times:o,type:s,ease:i,keyframes:t}}get duration(){let{resolved:t}=this;if(!t)return 0;let{duration:r}=t;return Nt(r)}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:r}=t;return Nt(r.currentTime||0)}set time(t){let{resolved:r}=this;if(!r)return;let{animation:n}=r;n.currentTime=dt(t)}get speed(){let{resolved:t}=this;if(!t)return 1;let{animation:r}=t;return r.playbackRate}set speed(t){let{resolved:r}=this;if(!r)return;let{animation:n}=r;n.playbackRate=t}get state(){let{resolved:t}=this;if(!t)return"idle";let{animation:r}=t;return r.playState}get startTime(){let{resolved:t}=this;if(!t)return null;let{animation:r}=t;return r.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{let{resolved:r}=this;if(!r)return De;let{animation:n}=r;NS(n,t)}return De}play(){if(this.isStopped)return;let{resolved:t}=this;if(!t)return;let{animation:r}=t;r.playState==="finished"&&this.updateFinishedPromise(),r.play()}pause(){let{resolved:t}=this;if(!t)return;let{animation:r}=t;r.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:t}=this;if(!t)return;let{animation:r,keyframes:n,duration:o,type:i,ease:s,times:a}=t;if(r.playState==="idle"||r.playState==="finished")return;if(this.time){let{motionValue:u,onUpdate:c,onComplete:f,element:d,...p}=this.options,v=new As({...p,keyframes:n,duration:o,type:i,ease:s,times:a,isGenerator:!0}),m=dt(this.time);u.setWithVelocity(v.sample(m-cp).value,v.sample(m).value,cp)}let{onStop:l}=this.options;l&&l(),this.cancel()}complete(){let{resolved:t}=this;t&&t.animation.finish()}cancel(){let{resolved:t}=this;t&&t.animation.cancel()}static supports(t){let{motionValue:r,name:n,repeatDelay:o,repeatType:i,damping:s,type:a}=t;if(!r||!r.owner||!(r.owner.current instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:u}=r.owner.getProps();return T1()&&n&&S1.has(n)&&!l&&!u&&!o&&i!=="mirror"&&s!==0&&a!=="inertia"}};var pF={type:"spring",stiffness:500,damping:25,restSpeed:10},hF=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),gF={type:"keyframes",duration:.8},yF={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},w1=(e,{keyframes:t})=>t.length>2?gF:nr.has(e)?e.startsWith("scale")?hF(t[1]):pF:yF;function C1({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:o,repeat:i,repeatType:s,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}var Sl=(e,t,r,n={},o,i)=>s=>{let a=sl(n,e)||{},l=a.delay||n.delay||0,{elapsed:u=0}=n;u=u-dt(l);let c={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:d=>{t.set(d),a.onUpdate&&a.onUpdate(d)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:i?void 0:o};C1(a)||(c={...c,...w1(e,c)}),c.duration&&(c.duration=dt(c.duration)),c.repeatDelay&&(c.repeatDelay=dt(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let f=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(c.duration=0,c.delay===0&&(f=!0)),(zm.current||xs.skipAnimations)&&(f=!0,c.duration=0,c.delay=0),f&&!i&&t.get()!==void 0){let d=Ii(c.keyframes,a);if(d!==void 0)return Y.update(()=>{c.onUpdate(d),c.onComplete()}),new ul([])}return!i&&Pc.supports(c)?new Pc(c):new As(c)};function vF({protectedKeys:e,needsAnimating:t},r){let n=e.hasOwnProperty(r)&&t[r]!==!0;return t[r]=!1,n}function xl(e,t,{delay:r=0,transitionOverride:n,type:o}={}){var i;let{transition:s=e.getDefaultTransition(),transitionEnd:a,...l}=t;n&&(s=n);let u=[],c=o&&e.animationState&&e.animationState.getState()[o];for(let f in l){let d=e.getValue(f,(i=e.latestValues[f])!==null&&i!==void 0?i:null),p=l[f];if(p===void 0||c&&vF(c,f))continue;let v={delay:r,...sl(s||{},f)},m=!1;if(window.MotionHandoffAnimation){let h=Fm(e);if(h){let g=window.MotionHandoffAnimation(h,f,Y);g!==null&&(v.startTime=g,m=!0)}}wc(e,f),d.start(Sl(f,d,p,e.shouldReduceMotion&&_m.has(f)?{type:!1}:v,e,m));let T=d.animation;T&&u.push(T)}return a&&Promise.all(u).then(()=>{Y.update(()=>{a&&FR(e,a)})}),u}function fp(e,t,r={}){var n;let o=So(e,t,r.type==="exit"?(n=e.presenceContext)===null||n===void 0?void 0:n.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=o||{};r.transitionOverride&&(i=r.transitionOverride);let s=o?()=>Promise.all(xl(e,o,r)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(u=0)=>{let{delayChildren:c=0,staggerChildren:f,staggerDirection:d}=i;return SF(e,t,c+u,f,d,r)}:()=>Promise.resolve(),{when:l}=i;if(l){let[u,c]=l==="beforeChildren"?[s,a]:[a,s];return u().then(()=>c())}else return Promise.all([s(),a(r.delay)])}function SF(e,t,r=0,n=0,o=1,i){let s=[],a=(e.variantChildren.size-1)*n,l=o===1?(u=0)=>u*n:(u=0)=>a-u*n;return Array.from(e.variantChildren).sort(xF).forEach((u,c)=>{u.notify("AnimationStart",t),s.push(fp(u,t,{...i,delay:r+l(c)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(s)}function xF(e,t){return e.sortNodePosition(t)}function I1(e,t,r={}){e.notify("AnimationStart",t);let n;if(Array.isArray(t)){let o=t.map(i=>fp(e,i,r));n=Promise.all(o)}else if(typeof t=="string")n=fp(e,t,r);else{let o=typeof t=="function"?So(e,t,r.custom):t;n=Promise.all(xl(e,o,r))}return n.then(()=>{e.notify("AnimationComplete",t)})}function YS(e,t){if(!Array.isArray(t))return!1;let r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}var TF=Sc.length;function XS(e){if(!e)return;if(!e.isControllingVariants){let r=e.parent?XS(e.parent)||{}:{};return e.props.initial!==void 0&&(r.initial=e.props.initial),r}let t={};for(let r=0;r<TF;r++){let n=Sc[r],o=e.props[n];(go(o)||o===!1)&&(t[n]=o)}return t}var EF=[...Sm].reverse(),wF=Sm.length;function CF(e){return t=>Promise.all(t.map(({animation:r,options:n})=>I1(e,r,n)))}function R1(e){let t=CF(e),r=A1(),n=!0,o=l=>(u,c)=>{var f;let d=So(e,c,l==="exit"?(f=e.presenceContext)===null||f===void 0?void 0:f.custom:void 0);if(d){let{transition:p,transitionEnd:v,...m}=d;u={...u,...m,...v}}return u};function i(l){t=l(e)}function s(l){let{props:u}=e,c=XS(e.parent)||{},f=[],d=new Set,p={},v=1/0;for(let T=0;T<wF;T++){let h=EF[T],g=r[h],y=u[h]!==void 0?u[h]:c[h],x=go(y),S=h===l?g.isActive:null;S===!1&&(v=T);let E=y===c[h]&&y!==u[h]&&x;if(E&&n&&e.manuallyAnimateOnMount&&(E=!1),g.protectedKeys={...p},!g.isActive&&S===null||!y&&!g.prevProp||yi(y)||typeof y=="boolean")continue;let w=IF(g.prevProp,y),C=w||h===l&&g.isActive&&!E&&x||T>v&&x,N=!1,I=Array.isArray(y)?y:[y],b=I.reduce(o(h),{});S===!1&&(b={});let{prevResolvedValues:P={}}=g,k={...P,...b},B=M=>{C=!0,d.has(M)&&(N=!0,d.delete(M)),g.needsAnimating[M]=!0;let H=e.getValue(M);H&&(H.liveStyle=!1)};for(let M in k){let H=b[M],K=P[M];if(p.hasOwnProperty(M))continue;let te=!1;Ec(H)&&Ec(K)?te=!YS(H,K):te=H!==K,te?H!=null?B(M):d.add(M):H!==void 0&&d.has(M)?B(M):g.protectedKeys[M]=!0}g.prevProp=y,g.prevResolvedValues=b,g.isActive&&(p={...p,...b}),n&&e.blockInitialAnimation&&(C=!1),C&&(!(E&&w)||N)&&f.push(...I.map(M=>({animation:M,options:{type:h}})))}if(d.size){let T={};if(typeof u.initial!="boolean"){let h=So(e,Array.isArray(u.initial)?u.initial[0]:u.initial);h&&h.transition&&(T.transition=h.transition)}d.forEach(h=>{let g=e.getBaseTarget(h),y=e.getValue(h);y&&(y.liveStyle=!0),T[h]=g??null}),f.push({animation:T})}let m=Boolean(f.length);return n&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(m=!1),n=!1,m?t(f):Prom
75ise.resolve()}function a(l,u){var c;if(r[l].isActive===u)return Promise.resolve();(c=e.variantChildren)===null||c===void 0||c.forEach(d=>{var p;return(p=d.animationState)===null||p===void 0?void 0:p.setActive(l,u)}),r[l].isActive=u;let f=s(l);for(let d in r)r[d].protectedKeys={};return f}return{animateChanges:s,setActive:a,setAnimateFunction:i,getState:()=>r,reset:()=>{r=A1(),n=!0}}}function IF(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!YS(t,e):!1}function Rs(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function A1(){return{animate:Rs(!0),whileInView:Rs(),whileHover:Rs(),whileTap:Rs(),whileDrag:Rs(),whileFocus:Rs(),exit:Rs()}}var mt=class{constructor(t){this.isMounted=!1,this.node=t}update(){}};var dp=class extends mt{constructor(t){super(t),t.animationState||(t.animationState=R1(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();yi(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:r}=this.node.prevProps||{};t!==r&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}};var AF=0,mp=class extends mt{constructor(){super(...arguments),this.id=AF++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:r}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;let o=this.node.animationState.setActive("exit",!t);r&&!t&&o.then(()=>{r(this.id)})}mount(){let{register:t,onExitComplete:r}=this.node.presenceContext||{};r&&r(this.id),t&&(this.unmount=t(this.id))}unmount(){}};var N1={animation:{Feature:dp},exit:{Feature:mp}};var Dr={x:!1,y:!1};function pp(){return Dr.x||Dr.y}function b1(e){return e==="x"||e==="y"?Dr[e]?null:(Dr[e]=!0,()=>{Dr[e]=!1}):Dr.x||Dr.y?null:(Dr.x=Dr.y=!0,()=>{Dr.x=Dr.y=!1})}function xo(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}var Tl=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function To(e){return{point:{x:e.pageX,y:e.pageY}}}var P1=e=>t=>Tl(t)&&e(t,To(t));function Eo(e,t,r,n){return xo(e,t,P1(r),n)}function hp({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function O1({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function L1(e,t){if(!t)return e;let r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}var D1=1e-4,RF=1-D1,NF=1+D1,B1=.01,bF=0-B1,PF=0+B1;function ot(e){return e.max-e.min}function F1(e,t,r){return Math.abs(e-t)<=r}function k1(e,t,r,n=.5){e.origin=n,e.originPoint=oe(t.min,t.max,e.origin),e.scale=ot(r)/ot(t),e.translate=oe(r.min,r.max,e.origin)-e.originPoint,(e.scale>=RF&&e.scale<=NF||isNaN(e.scale))&&(e.scale=1),(e.translate>=bF&&e.translate<=PF||isNaN(e.translate))&&(e.translate=0)}function El(e,t,r,n){k1(e.x,t.x,r.x,n?n.originX:void 0),k1(e.y,t.y,r.y,n?n.originY:void 0)}function _1(e,t,r){e.min=r.min+t.min,e.max=e.min+ot(t)}function V1(e,t,r){_1(e.x,t.x,r.x),_1(e.y,t.y,r.y)}function M1(e,t,r){e.min=t.min-r.min,e.max=e.min+ot(t)}function wl(e,t,r){M1(e.x,t.x,r.x),M1(e.y,t.y,r.y)}var z1=()=>({translate:0,scale:1,origin:0,originPoint:0}),Ns=()=>({x:z1(),y:z1()}),W1=()=>({min:0,max:0}),Ee=()=>({x:W1(),y:W1()});function or(e){return[e("x"),e("y")]}function qS(e){return e===void 0||e===1}function gp({scale:e,scaleX:t,scaleY:r}){return!qS(e)||!qS(t)||!qS(r)}function wo(e){return gp(e)||QS(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function QS(e){return H1(e.x)||H1(e.y)}function H1(e){return e&&e!=="0%"}function Oc(e,t,r){let n=e-r,o=t*n;return r+o}function U1(e,t,r,n,o){return o!==void 0&&(e=Oc(e,o,n)),Oc(e,r,n)+t}function ZS(e,t=0,r=1,n,o){e.min=U1(e.min,t,r,n,o),e.max=U1(e.max,t,r,n,o)}function JS(e,{x:t,y:r}){ZS(e.x,t.translate,t.scale,t.originPoint),ZS(e.y,r.translate,r.scale,r.originPoint)}var j1=.999999999999,G1=1.0000000000001;function K1(e,t,r,n=!1){let o=r.length;if(!o)return;t.x=t.y=1;let i,s;for(let a=0;a<o;a++){i=r[a],s=i.projectionDelta;let{visualElement:l}=i.options;l&&l.props.style&&l.props.style.display==="contents"||(n&&i.options.layoutScroll&&i.scroll&&i!==i.root&&bs(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,JS(e,s)),n&&wo(i.latestValues)&&bs(e,i.latestValues))}t.x<G1&&t.x>j1&&(t.x=1),t.y<G1&&t.y>j1&&(t.y=1)}function Ai(e,t){e.min=e.min+t,e.max=e.max+t}function $1(e,t,r,n,o=.5){let i=oe(e.min,e.max,o);ZS(e,t,r,i,n)}function bs(e,t){$1(e.x,t.x,t.scaleX,t.scale,t.originX),$1(e.y,t.y,t.scaleY,t.scale,t.originY)}function ex(e,t){return hp(L1(e.getBoundingClientRect(),t))}function Y1(e,t,r){let n=ex(e,r),{scroll:o}=t;return o&&(Ai(n.x,o.offset.x),Ai(n.y,o.offset.y)),n}function Ps(e,t){let r=`${t}PointerCapture`;if(e.target instanceof Element&&r in e.target&&e.pointerId!==void 0)try{e.target[r](e.pointerId)}catch{}}var X1=(e,t)=>Math.abs(e-t);function q1(e,t){let r=X1(e.x,t.x),n=X1(e.y,t.y);return Math.sqrt(r**2+n**2)}var Cl=class{constructor(t,r,{transformPagePoint:n,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let c=rx(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,d=q1(c.offset,{x:0,y:0})>=3;if(!f&&!d)return;let{point:p}=c,{timestamp:v}=je;this.history.push({...p,timestamp:v});let{onStart:m,onMove:T}=this.handlers;f||(m&&m(this.lastMoveEvent,c),this.startEvent=this.lastMoveEvent),T&&T(this.lastMoveEvent,c)},this.handlePointerMove=(c,f)=>{if(this.index=Z1(c.currentTarget),c.target instanceof Element&&c.target.hasPointerCapture&&c.pointerId!==void 0)try{if
vendor: 38,526 bytes, line 75
75(!c.target.hasPointerCapture(c.pointerId))return}catch{}this.lastMoveEvent=c,this.lastMoveEventInfo=tx(f,this.transformPagePoint),Y.update(this.updatePoint,!0)},this.handlePointerUp=(c,f)=>{Ps(c,"release"),this.end();let{onEnd:d,onSessionEnd:p,resumeAnimation:v}=this.handlers;if(this.dragSnapToOrigin&&v&&v(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let m=rx(c.type==="pointercancel"||c.type==="lostpointercapture"?this.lastMoveEventInfo:tx(f,this.transformPagePoint),this.history);this.startEvent&&d&&d(c,m),p&&p(c,m)},!Tl(t))return;this.dragSnapToOrigin=o,this.handlers=r,this.transformPagePoint=n;let i=To(t),s=tx(i,this.transformPagePoint),{point:a}=s,{timestamp:l}=je;this.history=[{...a,timestamp:l}];let{onSessionStart:u}=r;u&&u(t,rx(s,this.history)),Ps(t,"set"),this.removeListeners=On(Eo(t.currentTarget,"pointermove",this.handlePointerMove),Eo(t.currentTarget,"pointerup",this.handlePointerUp),Eo(t.currentTarget,"pointercancel",this.handlePointerUp),Eo(t.currentTarget,"lostpointercapture",(c,f)=>{Z1(c.currentTarget)!==this.index?Ps(c,"set"):this.handlePointerUp(c,f)}))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),tr(this.updatePoint)}};function tx(e,t){return t?{point:t(e.point)}:e}function Q1(e,t){return{x:e.x-t.x,y:e.y-t.y}}function rx({point:e},t){return{point:e,delta:Q1(e,J1(t)),offset:Q1(e,OF(t)),velocity:LF(t,.1)}}function OF(e){return e[0]}function J1(e){return e[e.length-1]}function LF(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null,o=J1(e);for(;r>=0&&(n=e[r],!(o.timestamp-n.timestamp>dt(t)));)r--;if(!n)return{x:0,y:0};let i=Nt(o.timestamp-n.timestamp);if(i===0)return{x:0,y:0};let s={x:(o.x-n.x)/i,y:(o.y-n.y)/i};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function Z1(e){return e.parentNode?Array.from(e.parentNode.children).indexOf(e):-1}function oN(e,{min:t,max:r},n){return t!==void 0&&e<t?e=n?oe(t,e,n.min):Math.max(e,t):r!==void 0&&e>r&&(e=n?oe(r,e,n.max):Math.min(e,r)),e}function eN(e,t,r){return{min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function iN(e,{top:t,left:r,bottom:n,right:o}){return{x:eN(e.x,r,o),y:eN(e.y,t,n)}}function tN(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,n]=[n,r]),{min:r,max:n}}function sN(e,t){return{x:tN(e.x,t.x),y:tN(e.y,t.y)}}function aN(e,t){let r=.5,n=ot(e),o=ot(t);return o>n?r=wr(t.min,t.max-n,e.min):n>o&&(r=wr(e.min,e.max-o,t.min)),xt(0,1,r)}function lN(e,t){let r={};return t.min!==void 0&&(r.min=t.min-e.min),t.max!==void 0&&(r.max=t.max-e.min),r}var yp=.35;function uN(e=yp){return e===!1?e=0:e===!0&&(e=yp),{x:rN(e,"left","right"),y:rN(e,"top","bottom")}}function rN(e,t,r){return{min:nN(e,t),max:nN(e,r)}}function nN(e,t){return typeof e=="number"?e:e[t]||0}var kF=new WeakMap,Sp=class{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Ee(),this.visualElement=t}start(t,{snapToCursor:r=!1}={}){let{presenceContext:n}=this.visualElement;if(n&&n.isPresent===!1)return;let o=c=>{let{dragSnapToOrigin:f}=this.getProps();f?this.pauseAnimation():this.stopAnimation(),r&&this.snapToCursor(To(c).point)},i=(c,f)=>{let{drag:d,dragPropagation:p,onDragStart:v}=this.getProps();if(d&&!p&&(this.openDragLock&&this.openDragLock(),this.openDragLock=b1(d),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),or(T=>{let h=this.getAxisMotionValue(T).get()||0;if(Wt.test(h)){let{projection:g}=this.visualElement;if(g&&g.layout){let y=g.layout.layoutBox[T];y&&(h=ot(y)*(parseFloat(h)/100))}}this.originPoint[T]=h}),v&&Y.postRender(()=>v(c,f)),wc(this.visualElement,"transform");let{animationState:m}=this.visualElement;m&&m.setActive("whileDrag",!0)},s=(c,f)=>{let{dragPropagation:d,dragDirectionLock:p,onDirectionLock:v,onDrag:m}=this.getProps();if(!d&&!this.openDragLock)return;let{offset:T}=f;if(p&&this.currentDirection===null){this.currentDirection=_F(T),this.currentDirection!==null&&v&&v(this.currentDirection);return}this.updateAxis("x",f.point,T),this.updateAxis("y",f.point,T),this.visualElement.render(),m&&m(c,f)},a=(c,f)=>this.stop(c,f),l=()=>or(c=>{var f;return this.getAnimationState(c)==="paused"&&((f=this.getAxisMotionValue(c).animation)===null||f===void 0?void 0:f.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new Cl(t,{onSessionStart:o,onStart:i,onMove:s,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u})}stop(t,r){let n=this.isDragging;if(this.cancel(),!n)return;let{velocity:o}=r;this.startAnimation(o);let{onDragEnd:i}=this.getProps();i&&Y.postRender(()=>i(t,r))}cancel(){this.isDragging=!1;let{projection:t,animationState:r}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),r&&r.setActive("whileDrag",!1)}updateAxis(t,r,n){let{drag:o}=this.getProps();if(!n||!vp(t,o,this.currentDirection))return;let i=this.getAxisMotionValue(t),s=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(s=oN(s,this.constraints[t],this.elastic[t])),i.set(s)}resolveConstraints(){var t;let{dragConstraints:r,dragElastic:n}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,i=this.constraints;r&&yo(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&o?this.constraints=iN(o.layoutBox,r):this.constraints=!1,this.elastic=uN(n),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&or(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=lN(o.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){let{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!yo(t))return!1;let n=t.current;Tr(n!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:o}=this.visualElement;if(!o||!o.layout)return!1;let i=Y1(n,o.root,this.visualElement.getTransformPagePoint()),s=sN(o.layout.layoutBox,i);if(r){let a=r(O1(s));this.hasMutatedConstraints=!!a,a&&(s=hp(a))}return s}startAnimation(t){let{drag:r,dragMomentum:n,dragElastic:o,dragTransition:i,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=or(c=>{if(!vp(c,r,this.currentDirection))return;let f=l&&l[c]||{};s&&(f={min:0,max:0});let d=o?200:1e6,p=o?40:1e7,v={type:"inertia",velocity:n?t[c]:0,bounceStiffness:d,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...i,...f};return this.startAxisValueAnimation(c,v)});return Promise.all(u).then(a)}startAxisValueAnimation(t,r){let n=this.getAxisMotionValue(t);return wc(this.visualElement,t),n.start(Sl(t,n,0,r,this.visualElement,!1))}stopAnimation(){or(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){or(t=>{var r;return(r=this.getAxisMotionValue(t).animation)===null||r===void 0?void 0:r.pause()})}getAnimationState(t){var r;return(r=this.getAxisMotionValue(t).animation)===null||r===void 0?void 0:r.state}getAxisMotionValue(t){let r=`_drag${t.toUpperCase()}`,n=this.visualElement.getProps(),o=n[r];return o||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){or(r=>{let{drag:n}=this.getProps();if(!vp(r,n,this.currentDirection))return;let{projection:o}=this.visualElement,i=this.getAxisMotionValue(r);if(o&&o.layout){let{min:s,max:a}=o.layout.layoutBox[r];i.set(t[r]-oe(s,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:r}=this.getProps(),{projection:n}=this.visualElement;if(!yo(r)||!n||!this.constraints)return;this.stopAnimation();let o={x:0,y:0};or(s=>{let a=this.getAxisMotionValue(s);if(a&&this.constraints!==!1){let l=a.get();o[s]=aN({min:l,max:l},this.constraints[s])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),or(s=>{if(!vp(s,t,null))return;let a=this.getAxisMotionValue(s),{min:l,max:u}=this.constraints[s];a.set(oe(l,u,o[s]))})}addListeners(){if(!this.visualElement.current)return;kF.set(this.visualElement,this);let t=this.visualElement.current,r=Eo(t,"pointerdown",l=>{let{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(l)}),n=()=>{let{dragConstraints:l}=this.getProps();yo(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,i=o.addEventListener("measure",n);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),Y.read(n);let s=xo(window,"resize",()=>this.scalePositionWithinConstraints()),a=o.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(or(c=>{let f=this.getAxisMotionValue(c);f&&(this.originPoint[c]+=l[c].translate,f.set(f.get()+l[c].translate))}),this.visualElement.render())});return()=>{s(),r(),i(),a&&a()}}getProps(){let t=this.visualElement.getProps(),{drag:r=!1,dragDirectionLock:n=!1,dragPropagation:o=!1,dragConstraints:i=!1,dragElastic:s=yp,dragMomentum:a=!0}=t;return{...t,drag:r,dragDirectionLock:n,dragPropagation:o,dragConstraints:i,dragElastic:s,dragMomentum:a}}};function vp(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function _F(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}var xp=class extends mt{constructor(t){super(t),this.removeGroupControls=De,this.removeListeners=De,this.controls=new Sp(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||De}unmount(){this.removeGroupControls(),this.removeListeners()}};var cN=e=>(t,r)=>{e&&Y.postRender(()=>e(t,r))},Tp=class extends mt{constructor(){super(...arguments),this.removePointerDownListener=De}onPointerDown(t){this.session=new Cl(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:r,onPan:n,onPanEnd:o}=this.node.getProps();return{onSessionStart:cN(t),onStart:cN(r),onMove:n,onEnd:(i,s)=>{delete this.session,o&&Y.postRender(()=>o(i,s))}}}mount(){this.removePointerDownListener=Eo(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}};var mN=R(G(),1),Lc=R(O(),1);var Il={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function fN(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Al={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(F.test(e))e=parseFloat(e);else return e;let r=fN(e,t.target.x),n=fN(e,t.target.y);return`${r}% ${n}%`}};var dN={correct:(e,{treeScale:t,projectionDelta:r})=>{let n=e,o=Ht.parse(e);if(o.length>5)return n;let i=Ht.createTransformer(e),s=typeof o[0]!="number"?1:0,a=r.x.scale*t.x,l=r.y.scale*t.y;o[0+s]/=a,o[1+s]/=l;let u=oe(a,l,.5);return typeof o[2+s]=="number"&&(o[2+s]/=u),typeof o[3+s]=="number"&&(o[3+s]/=u),i(o)}};var nx=class extends Lc.Component{componentDidMount(){let{visualElement:t,layoutGroup:r,switchLayoutGroup:n,layoutId:o}=this.props,{projection:i}=t;pR(MF),i&&(r.group&&r.group.add(i),n&&n.register&&o&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),Il.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:r,visualElement:n,drag:o,isPresent:i}=this.props,s=n.projection;return s&&(s.isPresent=i,o||t.layoutDependency!==r||r===void 0||t.isPresent!==i?s.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?s.promote():s.relegate()||Y.postRender(()=>{let a=s.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),$a.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:r,switchLayoutGroup:n}=this.props,{projection:o}=t;o&&(o.scheduleCheckAfterUnmount(),r&&r.group&&r.group.remove(o),n&&n.deregister&&n.deregister(o))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}};function Ep(e){let[t,r]=dm(),n=(0,Lc.useContext)(Ua);return(0,mN.jsx)(nx,{...e,layoutGroup:n,switchLayoutGroup:(0,Lc.useContext)(wm),isPresent:t,safeToRemove:r})}var MF={borderRadius:{...Al,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Al,borderTopRightRadius:Al,borderBottomLeftRadius:Al,borderBottomRightRadius:Al,boxShadow:dN};function wp(e,t,r){let n=ge(e)?e:nt(e);return n.start(Sl("",n,t,r)),n.animation}function Cp(e){return e instanceof SVGElement&&e.tagName!=="svg"}var pN=(e,t)=>e.depth-t.depth;var Ip=class{constructor(){this.children=[],this.isDirty=!1}add(t){al(this.children,t),this.isDirty=!0}remove(t){vi(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(pN),this.isDirty=!1,this.children.forEach(t)}};function hN(e,t){let r=Rt.now(),n=({timestamp:o})=>{let i=o-r;i>=t&&(tr(n),e(i-t))};return Y.read(n,!0),()=>tr(n)}var SN=["TopLeft","TopRight","BottomLeft","BottomRight"],DF=SN.length,gN=e=>typeof e=="string"?parseFloat(e):e,yN=e=>typeof e=="number"||F.test(e);function xN(e,t,r,n,o,i){o?(e.opacity=oe(0,r.opacity!==void 0?r.opacity:1,BF(n)),e.opacityExit=oe(t.opacity!==void 0?t.opacity:1,0,FF(n))):i&&(e.opacity=oe(t.opacity!==void 0?t.opacity:1,r.opacity!==void 0?r.opacity:1,n));for(let s=0;s<DF;s++){let a=`border${SN[s]}Radius`,l=vN(t,a),u=vN(r,a);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||yN(l)===yN(u)?(e[a]=Math.max(oe(gN(l),gN(u),n),0),(Wt.test(u)||Wt.test(l))&&(e[a]+="%")):e[a]=u}(t.rotate||r.rotate)&&(e.rotate=oe(t.rotate||0,r.rotate||0,n))}function vN(e,t){return e[t]!==void 0?e[t]:e.borderRadius}var BF=TN(0,.5,Km),FF=TN(.5,.95,De);function TN(e,t,r){return n=>n<e?0:n>t?1:r(wr(e,t,n))}function EN(e,t){e.min=t.min,e.max=t.max}function Cr(e,t){EN(e.x,t.x),EN(e.y,t.y)}function ox(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function wN(e,t,r,n,o){return e-=t,e=Oc(e,1/r,n),o!==void 0&&(e=Oc(e,1/o,n)),e}function VF(e,t=0,r=1,n=.5,o,i=e,s=e){if(Wt.test(t)&&(t=parseFloat(t),t=oe(s.min,s.max,t/100)-s.min),typeof t!="number")return;let a=oe(i.min,i.max,n);e===i&&(a-=t),e.min=wN(e.min,t,r,a,o),e.max=wN(e.max,t,r,a,o)}function CN(e,t,[r,n,o],i,s){VF(e,t[r],t[n],t[o],t.scale,i,s)}var zF=["x","scaleX","originX"],WF=["y","scaleY","originY"];function ix(e,t,r,n){CN(e.x,t,zF,r?r.x:void 0,n?n.x:void 0),CN(e.y,t,WF,r?r.y:void 0,n?n.y:void 0)}function IN(e){return e.translate===0&&e.scale===1}function sx(e){return IN(e.x)&&IN(e.y)}function AN(e,t){return e.min===t.min&&e.max===t.max}function NN(e,t){return AN(e.x,t.x)&&AN(e.y,t.y)}function RN(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function ax(e,t){return RN(e.x,t.x)&&RN(e.y,t.y)}function lx(e){return ot(e.x)/ot(e.y)}function ux(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}var Ap=class{constructor(){this.members=[]}add(t){al(this.members,t),t.scheduleRender()}remove(t){if(vi(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let r=this.members[this.members.length-1];r&&this.promote(r)}}relegate(t){let r=this.members.findIndex(o=>t===o);if(r===0)return!1;let n;for(let o=r;o>=0;o--){let i=this.members[o];if(i.isPresent!==!1){n=i;break}}return n?(this.promote(n),!0):!1}promote(t,r){let n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,r&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:o}=t.options;o===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:r,resumingFrom:n}=t;r.onExitComplete&&r.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}};function bN(e,t,r){let n="",o=e.x.translate/t.x,i=e.y.translate/t.y,s=r?.z||0;if((o||i||s)&&(n=`translate3d(${o}px, ${i}px, ${s}px) `),(t.x!==1||t.y!==1)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){let{transformPerspective:u,rotate:c,rotateX:f,rotateY:d,skewX:p,skewY:v}=r;u&&(n=`perspective(${u}px) ${n}`),c&&(n+=`rotate(${c}deg) `),f&&(n+=`rotateX(${f}deg) `),d&&(n+=`rotateY(${d}deg) `),p&&(n+=`skewX(${p}deg) `),v&&(n+=`skewY(${v}deg) `)}let a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(n+=`scale(${a}, ${l})`),n||"none"}var Os={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},cx=["","X","Y","Z"],HF={visibility:"hidden"},PN=1e3,UF=0;function fx(e,t,r,n){let{latestValues:o}=t;o[e]&&(r[e]=o[e],t.setStaticValue(e,0),n&&(n[e]=0))}function FN(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let r=Fm(t);if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:o,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(r,"transform",Y,!(o||i))}let{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&FN(n)}function Rp({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:o}){return class{constructor(s={},a=t?.()){this.id=UF++,this.animationId=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.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Er.value&&(Os.nodes=Os.calculatedTargetDeltas=Os.calculatedProjections=0),this.nodes.forEach($F),this.nodes.forEach(QF),this.nodes.forEach(ZF),this.nodes.forEach(KF),Er.addProjectionMetrics&&Er.addProjectionMetrics(Os)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new Ip)}addEventListener(s,a){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new Si),this.eventHandlers.get(s).add(a)}notifyListeners(s,...a){let l=this.eventHandlers.get(s);l&&l.notify(...a)}hasListeners(s){return this.eventHandlers.has(s)}mount(s,a=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=Cp(s),this.instance=s;let{layoutId:l,layout:u,visualElement:c}=this.options;if(c&&!c.current&&c.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),a&&(u||l)&&(this.isLayoutDirty=!0),e){let f,d=()=>this.root.updateBlockedByResize=!1;e(s,()=>{this.root.updateBlockedByResize=!0,f&&f(),f=hN(d,250),Il.hasAnimatedSinceResize&&(Il.hasAnimatedSinceResize=!1,this.nodes.forEach(LN))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&c&&(l||u)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:d,hasRelativeLayoutChanged:p,layout:v})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let m=this.options.transition||c.getDefaultTransition()||nV,{onLayoutAnimationStart:T,onLayoutAnimationComplete:h}=c.getProps(),g=!this.targetLayout||!ax(this.targetLayout,v),y=!d&&p;if(this.options.layoutRoot||this.resumeFrom||y||d&&(g||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(f,y);let x={...sl(m,"layout"),onPlay:T,onComplete:h};(c.shouldReduceMotion||this.options.layoutRoot)&&(x.delay=0,x.type=!1),this.startAnimation(x)}else d||LN(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=v})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,tr(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(JF),this.animationId++)}getTransformTemplate(){let{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&FN(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c<this.path.length;c++){let f=this.path[c];f.shouldResetTransform=!0,f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1)}let{layoutId:a,layout:l}=this.options;if(a===void 0&&!l)return;let u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),s&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(ON);return}this.isUpdating||this.nodes.forEach(XF),this.isUpdating=!1,this.nodes.forEach(qF),this.nodes.forEach(jF),this.nodes.forEach(GF),this.clearAllSnapshots();let a=Rt.now();je.delta=xt(0,1e3/60,a-je.timestamp),je.timestamp=a,je.isProcessing=!0,yc.update.process(je),yc.preRender.process(je),yc.render.process(je),je.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,$a.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(YF),this.sharedNodes.forEach(eV)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Y.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Y.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!ot(this.snapshot.measuredBox.x)&&!ot(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 l=0;l<this.path.length;l++)this.path[l].updateScroll();let s=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Ee(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,s?s.layoutBox:void 0)}updateScroll(s="measure"){let a=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(a=!1),a){let l=n(this.instance);this.scroll={animationId:this.root.animationId,phase:s,isRoot:l,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!o)return;let s=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!sx(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;s&&(a||wo(this.latestValues)||c)&&(o(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){let a=this.measurePageBox(),l=this.removeElementScroll(a);return s&&(l=this.removeTransform(l)),oV(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var s;let{visualElement:a}=this.options;if(!a)return Ee();let l=a.measureViewportBox();if(!(((s=this.scroll)===null||s===void 0?void 0:s.wasRoot)||this.path.some(iV))){let{scroll:c}=this.root;c&&(Ai(l.x,c.offset.x),Ai(l.y,c.offset.y))}return l}removeElementScroll(s){var a;let l=Ee();if(Cr(l,s),!((a=this.scroll)===null||a===void 0)&&a.wasRoot)return l;for(let u=0;u<this.path.length;u++){let c=this.path[u],{scroll:f,options:d}=c;c!==this.root&&f&&d.layoutScroll&&(f.wasRoot&&Cr(l,s),Ai(l.x,f.offset.x),Ai(l.y,f.offset.y))}return l}applyTransform(s,a=!1){let l=Ee();Cr(l,s);for(let u=0;u<this.path.length;u++){let c=this.path[u];!a&&c.options.layoutScroll&&c.scroll&&c!==c.root&&bs(l,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),wo(c.latestValues)&&bs(l,c.latestValues)}return wo(this.latestValues)&&bs(l,this.latestValues),l}removeTransform(s){let a=Ee();Cr(a,s);for(let l=0;l<this.path.length;l++){let u=this.path[l];if(!u.instance||!wo(u.latestValues))continue;gp(u.latestValues)&&u.updateSnapshot();let c=Ee(),f=u.measurePageBox();Cr(c,f),ix(a,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,c)}return wo(this.latestValues)&&ix(a,this.latestValues),a}setTargetDelta(s){this.targetDelta=s,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(s){this.options={...this.options,...s,crossfade:s.crossfade!==void 0?s.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==je.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(s=!1){var a;let l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);let u=Boolean(this.resumingFrom)||this!==l;if(!(s||u&&this.isSharedProjectionDirty||this.isProjectionDirty||!((a=this.parent)===null||a===void 0)&&a.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:f,layoutId:d}=this.options;if(!(!this.layout||!(f||d))){if(this.resolvedRelativeTargetAt=je.timestamp,!this.targetDelta&&!this.relativeTarget){let p=this.getClosestProjectingParent();p&&p.layout&&this.animationProgress!==1?(this.relativeParent=p,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ee(),this.relativeTargetOrigin=Ee(),wl(this.relativeTargetOrigin,this.layout.layoutBox,p.layout.layoutBox),Cr(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Ee(),this.targetWithTransforms=Ee()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),V1(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):Cr(this.target,this.layout.layoutBox),JS(this.target,this.targetDelta)):Cr(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let p=this.getClosestProjectingParent();p&&Boolean(p.resumingFrom)===Boolean(this.resumingFrom)&&!p.options.layoutScroll&&p.target&&this.animationProgress!==1?(this.relativeParent=p,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ee(),this.relativeTargetOrigin=Ee(),wl(this.relativeTargetOrigin,this.target,p.target),Cr(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Er.value&&Os.calculatedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||gp(this.parent.latestValues)||QS(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var s;let a=this.getLead(),l=Boolean(this.resumingFrom)||this!==a,u=!0;if((this.isProjectionDirty||!((s=this.parent)===null||s===void 0)&&s.isProjectionDirty)&&(u=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(u=!1),this.resolvedRelativeTargetAt===je.timestamp&&(u=!1),u)return;let{layout:c,layoutId:f}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(c||f))return;Cr(this.layoutCorrected,this.layout.layoutBox);let d=this.treeScale.x,p=this.treeScale.y;K1(this.layoutCorrected,this.treeScale,this.path,l),a.layout&&!a.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(a.target=a.layout.layoutBox,a.targetWithTransforms=Ee());let{target:v}=a;if(!v){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(ox(this.prevProjectionDelta.x,this.projectionDelta.x),ox(this.prevProjectionDelta.y,this.projectionDelta.y)),El(this.projectionDelta,this.layoutCorrected,v,this.latestValues),(this.treeScale.x!==d||this.treeScale.y!==p||!ux(this.projectionDelta.x,this.prevProjectionDelta.x)||!ux(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",v)),Er.value&&Os.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){var a;if((a=this.options.visualElement)===null||a===void 0||a.scheduleRender(),s){let l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Ns(),this.projectionDelta=Ns(),this.projectionDeltaWithTransform=Ns()}setAnimationOrigin(s,a=!1){let l=this.snapshot,u=l?l.latestValues:{},c={...this.latestValues},f=Ns();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;let d=Ee(),p=l?l.source:void 0,v=this.layout?this.layout.source:void 0,m=p!==v,T=this.getStack(),h=!T||T.members.length<=1,g=Boolean(m&&!h&&this.options.crossfade===!0&&!this.path.some(rV));this.animationProgress=0;let y;this.mixTargetDelta=x=>{let S=x/1e3;kN(f.x,s.x,S),kN(f.y,s.y,S),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(wl(d,this.layout.layoutBox,this.relativeParent.layout.layoutBox),tV(this.relativeTarget,this.relativeTargetOrigin,d,S),y&&NN(this.relativeTarget,y)&&(this.isProjectionDirty=!1),y||(y=Ee()),Cr(y,this.relativeTarget)),m&&(this.animationValues=c,xN(c,u,this.latestValues,S,g,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=S},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(tr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Y.update(()=>{Il.hasAnimatedSinceResize=!0,Pn.layout++,this.currentAnimation=wp(0,PN,{...s,onUpdate:a=>{this.mixTargetDelta(a),s.onUpdate&&s.onUpdate(a)},onStop:()=>{Pn.layout--},onComplete:()=>{Pn.layout--,s.onComplete&&s.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 s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(PN),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let s=this.getLead(),{targetWithTransforms:a,target:l,layout:u,latestValues:c}=s;if(!(!a||!l||!u)){if(this!==s&&this.layout&&u&&VN(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||Ee();let f=ot(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+f;let d=ot(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+d}Cr(a,l),bs(a,c),El(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(s,a){this.sharedNodes.has(s)||this.sharedNodes.set(s,new Ap),this.sharedNodes.get(s).add(a);let u=a.options.initialPromotionConfig;a.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(a):void 0})}isLead(){let s=this.getStack();return s?s.lead===this:!0}getLead(){var s;let{layoutId:a}=this.options;return a?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this}getPrevLead(){var s;let{layoutId:a}=this.options;return a?(s=this.getStack())===null||s===void 0?void 0:s.prevLead:void 0}getStack(){let{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:a,preserveFollowOpacity:l}={}){let u=this.getStack();u&&u.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){let s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){let{visualElement:s}=this.options;if(!s)return;let a=!1,{latestValues:l}=s;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;let u={};l.z&&fx("z",s,u,this.animationValues);for(let c=0;c<cx.length;c++)fx(`rotate${cx[c]}`,s,u,this.animationValues),fx(`skew${cx[c]}`,s,u,this.animationValues);s.render();for(let c in u)s.setStaticValue(c,u[c]),this.animationValues&&(this.animationValues[c]=u[c]);s.scheduleRender()}getProjectionStyles(s){var a,l;if(!this.instance||this.isSVG)return;if(!this.isVisible)return HF;let u={visibility:""},c=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,u.opacity="",u.pointerEvents=ol(s?.pointerEvents)||"",u.transform=c?c(this.latestValues,""):"none",u;let f=this.getLead();if(!this.projectionDelta||!this.layout||!f.target){let m={};return this.options.layoutId&&(m.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,m.pointerEvents=ol(s?.pointerEvents)||""),this.hasProjected&&!wo(this.latestValues)&&(m.transform=c?c({},""):"none",this.hasProjected=!1),m}let d=f.animationValues||f.latestValues;this.applyTransformsToTarget(),u.transform=bN(this.projectionDeltaWithTransform,this.treeScale,d),c&&(u.transform=c(d,u.transform));let{x:p,y:v}=this.projectionDelta;u.transformOrigin=`${p.origin*100}% ${v.origin*100}% 0`,f.animationValues?u.opacity=f===this?(l=(a=d.opacity)!==null&&a!==void 0?a:this.latestValues.opacity)!==null&&l!==void 0?l:1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:u.opacity=f===this?d.opacity!==void 0?d.opacity:"":d.opacityExit!==void 0?d.opacityExit:0;for(let m in Es){if(d[m]===void 0)continue;let{correct:T,applyTo:h,isCSSVariable:g}=Es[m],y=u.transform==="none"?d[m]:T(d[m],f);if(h){let x=h.length;for(let S=0;S<x;S++)u[h[S]]=y}else g?this.options.visualElement.renderState.vars[m]=y:u[m]=y}return this.options.layoutId&&(u.pointerEvents=f===this?ol(s?.pointerEvents)||"":"none"),u}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>{var a;return(a=s.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(ON),this.root.sharedNodes.clear()}}}function jF(e){e.updateLayout()}function GF(e){var t;let r=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){let{layoutBox:n,measuredBox:o}=e.layout,{animationType:i}=e.options,s=r.source!==e.layout.source;i==="size"?or(f=>{let d=s?r.measuredBox[f]:r.layoutBox[f],p=ot(d);d.min=n[f].min,d.max=d.min+p}):VN(i,r.layoutBox,n)&&or(f=>{let d=s?r.measuredBox[f]:r.layoutBox[f],p=ot(n[f]);d.max=d.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+p)});let a=Ns();El(a,n,r.layoutBox);let l=Ns();s?El(l,e.applyTransform(o,!0),r.measuredBox):El(l,n,r.layoutBox);let u=!sx(a),c=!1;if(!e.resumeFrom){let f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){let{snapshot:d,layout:p}=f;if(d&&p){let v=Ee();wl(v,r.layoutBox,d.layoutBox);let m=Ee();wl(m,n,p.layoutBox),ax(v,m)||(c=!0),f.options.layoutRoot&&(e.relativeTarget=m,e.relativeTargetOrigin=v,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:r,delta:l,layoutDelta:a,hasLayoutChanged:u,hasRelativeLayoutChanged:c})}else if(e.isLead()){let{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function $F(e){Er.value&&Os.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function KF(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function YF(e){e.clearSnapshot()}function ON(e){e.clearMeasurements()}function XF(e){e.isLayoutDirty=!1}function qF(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function LN(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function QF(e){e.resolveTargetDelta()}function ZF(e){e.calcProjection()}
75function JF(e){e.resetSkewAndRotation()}function eV(e){e.removeLeadSnapshot()}function kN(e,t,r){e.translate=oe(t.translate,0,r),e.scale=oe(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function _N(e,t,r,n){e.min=oe(t.min,r.min,n),e.max=oe(t.max,r.max,n)}function tV(e,t,r,n){_N(e.x,t.x,r.x,n),_N(e.y,t.y,r.y,n)}function rV(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var nV={duration:.45,ease:[.4,0,.1,1]},MN=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),DN=MN("applewebkit/")&&!MN("chrome/")?Math.round:De;function BN(e){e.min=DN(e.min),e.max=DN(e.max)}function oV(e){BN(e.x),BN(e.y)}function VN(e,t,r){return e==="position"||e==="preserve-aspect"&&!F1(lx(t),lx(r),.2)}function iV(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}var zN=Rp({attachResizeListener:(e,t)=>xo(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0});var dx={current:void 0},Np=Rp({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!dx.current){let e=new zN({});e.mount(window),e.setOptions({layoutScroll:!0}),dx.current=e}return dx.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>Boolean(window.getComputedStyle(e).position==="fixed")});var WN={pan:{Feature:Tp},drag:{Feature:xp,ProjectionNode:Np,MeasureLayout:Ep}};function bp(e,t,r){var n;if(e instanceof EventTarget)return[e];if(typeof e=="string"){let o=document;t&&(o=t.current);let i=(n=r?.[e])!==null&&n!==void 0?n:o.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}function Pp(e,t){let r=bp(e),n=new AbortController,o={passive:!0,...t,signal:n.signal};return[r,o,()=>n.abort()]}function HN(e){return!(e.pointerType==="touch"||pp())}function UN(e,t,r={}){let[n,o,i]=Pp(e,r),s=a=>{if(!HN(a))return;let{target:l}=a,u=t(l,a);if(typeof u!="function"||!l)return;let c=f=>{HN(f)&&(u(f),l.removeEventListener("pointerleave",c))};l.addEventListener("pointerleave",c,o)};return n.forEach(a=>{a.addEventListener("pointerenter",s,o)}),i}function jN(e,t,r){let{props:n}=e;e.animationState&&n.whileHover&&e.animationState.setActive("whileHover",r==="Start");let o="onHover"+r,i=n[o];i&&Y.postRender(()=>i(t,To(t)))}var Op=class extends mt{mount(){let{current:t}=this.node;t&&(this.unmount=UN(t,(r,n)=>(jN(this.node,n,"Start"),o=>jN(this.node,o,"End"))))}unmount(){}};var Lp=class extends mt{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=On(xo(this.node.current,"focus",()=>this.onFocus()),xo(this.node.current,"blur",()=>this.onBlur()))}unmount(){}};var mx=(e,t)=>t?e===t?!0:mx(e,t.parentElement):!1;var sV=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function GN(e){return sV.has(e.tagName)||e.tabIndex!==-1}var Ls=new WeakSet;function $N(e){return t=>{t.key==="Enter"&&e(t)}}function px(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}var KN=(e,t)=>{let r=e.currentTarget;if(!r)return;let n=$N(()=>{if(Ls.has(r))return;px(r,"down");let o=$N(()=>{px(r,"up")}),i=()=>px(r,"cancel");r.addEventListener("keyup",o,t),r.addEventListener("blur",i,t)});r.addEventListener("keydown",n,t),r.addEventListener("blur",()=>r.removeEventListener("keydown",n),t)};function YN(e){return Tl(e)&&!pp()}function XN(e,t,r={}){let[n,o,i]=Pp(e,r),s=a=>{let l=a.currentTarget;if(!l||!YN(a)||Ls.has(l))return;Ls.add(l),Ps(a,"set");let u=t(l,a),c=(p,v)=>{l.removeEventListener("pointerup",f),l.removeEventListener("pointercancel",d),Ps(p,"release"),!(!YN(p)||!Ls.has(l))&&(Ls.delete(l),typeof u=="function"&&u(p,{success:v}))},f=p=>{(p.isTrusted?aV(p,l instanceof Element?l.getBoundingClientRect():{left:0,top:0,right:window.innerWidth,bottom:window.innerHeight}):!1)?c(p,!1):c(p,!(l instanceof Element)||mx(l,p.target))},d=p=>{c(p,!1)};l.addEventListener("pointerup",f,o),l.addEventListener("pointercancel",d,o),l.addEventListener("lostpointercapture",d,o)};
75return n.forEach(a=>{a=r.useGlobalTarget?window:a;let l=!1;a instanceof HTMLElement&&(l=!0,!GN(a)&&a.getAttribute("tabindex")===null&&(a.tabIndex=0)),a.addEventListener("pointerdown",s,o),l&&a.addEventListener("focus",u=>KN(u,o),o)}),i}function aV(e,t){return e.clientX<t.left||e.clientX>t.right||e.clientY<t.top||e.clientY>t.bottom}function qN(e,t,r){let{props:n}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&n.whileTap&&e.animationState.setActive("whileTap",r==="Start");let o="onTap"+(r==="End"?"":r),i=n[o];i&&Y.postRender(()=>i(t,To(t)))}var kp=class extends mt{mount(){let{current:t}=this.node;t&&(this.unmount=XN(t,(r,n)=>(qN(this.node,n,"Start"),(o,{success:i})=>qN(this.node,o,i?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}};var gx=new WeakMap,hx=new WeakMap,lV=e=>{let t=gx.get(e.target);t&&t(e)},uV=e=>{e.forEach(lV)};function cV({root:e,...t}){let r=e||document;hx.has(r)||hx.set(r,{});let n=hx.get(r),o=JSON.stringify(t);return n[o]||(n[o]=new IntersectionObserver(uV,{root:e,...t})),n[o]}function QN(e,t,r){let n=cV(t);return gx.set(e,r),n.observe(e),()=>{gx.delete(e),n.unobserve(e)}}var fV={some:0,all:1},_p=class extends mt{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:r,margin:n,amount:o="some",once:i}=t,s={root:r?r.current:void 0,rootMargin:n,threshold:typeof o=="number"?o:fV[o]},a=l=>{let{isIntersecting:u}=l;if(this.isInView===u||(this.isInView=u,i&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);let{onViewportEnter:c,onViewportLeave:f}=this.node.getProps(),d=u?c:f;d&&d(l)};return QN(this.node.current,s,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;let{props:t,prevProps:r}=this.node;["amount","margin","root"].some(dV(t,r))&&this.startObserver()}unmount(){}};function dV({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}var ZN={inView:{Feature:_p},tap:{Feature:kp},focus:{Feature:Lp},hover:{Feature:Op}};var JN={layout:{ProjectionNode:Np,MeasureLayout:Ep}};var ob=R(O(),1);var kc={current:null},Mp={current:!1};function eb(){if(Mp.current=!0,!!ja)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>kc.current=e.matches;e.addListener(t),t()}else kc.current=!1}var mV=[...FS,Ze,Ht],tb=e=>mV.find(Jm(e));var Ri=new WeakMap;function rb(e,t,r){for(let n in t){let o=t[n],i=r[n];if(ge(o))e.addValue(n,o);else if(ge(i))e.addValue(n,nt(o,{owner:e}));else if(i!==o)if(e.hasValue(n)){let s=e.getValue(n);s.liveStyle===!0?s.jump(o):s.hasAnimated||s.set(o)}else{let s=e.getStaticValue(n);e.addValue(n,nt(s!==void 0?s:o,{owner:e}))}}for(let n in r)t[n]===void 0&&e.removeValue(n);return t}var nb=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Rl=class{scrapeMotionValuesFromProps(t,r,n){return{}}constructor({parent:t,props:r,presenceContext:n,reducedMotionConfig:o,blockInitialAnimation:i,visualState:s},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Ci,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},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 p=Rt.now();this.renderScheduledAt<p&&(this.renderScheduledAt=p,Y.render(this.render,!1,!0))};let{latestValues:l,renderState:u,onUpdate:c}=s;this.onUpdate=c,this.latestValues=l,this.baseTarget={...l},this.initialValues=r.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=r,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=a,this.blockInitialAnimation=Boolean(i),this.isControllingVariants=Ts(r),this.isVariantNode=xm(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&&t.current);let{willChange:f,...d}=this.scrapeMotionValuesFromProps(r,{},this);for(let p in d){let v=d[p];l[p]!==void 0&&ge(v)&&v.set(l[p],!1)}}mount(t){this.current=t,Ri.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
vendor: 4,997 bytes, line 75
75h((r,n)=>this.bindToMotionValue(n,r)),Mp.current||eb(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:kc.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),tr(this.notifyUpdate),tr(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(let t in this.events)this.events[t].clear();for(let t in this.features){let r=this.features[t];r&&(r.unmount(),r.isMounted=!1)}this.current=null}bindToMotionValue(t,r){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let n=nr.has(t);n&&this.onBindTransform&&this.onBindTransform();let o=r.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&Y.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),i=r.on("renderRequest",this.scheduleRender),s;window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,t,r)),this.valueSubscriptions.set(t,()=>{o(),i(),s&&s(),r.owner&&r.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in ho){let r=ho[t];if(!r)continue;let{isEnabled:n,Feature:o}=r;if(!this.features[t]&&o&&n(this.props)&&(this.features[t]=new o(this)),this.features[t]){let i=this.features[t];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ee()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,r){this.latestValues[t]=r}update(t,r){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=r;for(let n=0;n<nb.length;n++){let o=nb[n];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);let i="on"+o,s=t[i];s&&(this.propEventSubscriptions[o]=this.on(o,s))}this.prevMotionValues=rb(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let r=this.getClosestVariantNode();if(r)return r.variantChildren&&r.variantChildren.add(t),()=>r.variantChildren.delete(t)}addValue(t,r){let n=this.values.get(t);r!==n&&(n&&this.removeValue(t),this.bindToMotionValue(t,r),this.values.set(t,r),this.latestValues[t]=r.get())}removeValue(t){this.values.delete(t);let r=this.valueSubscriptions.get(t);r&&(r(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,r){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);return n===void 0&&r!==void 0&&(n=nt(r===null?void 0:r,{owner:this}),this.addValue(t,n)),n}readValue(t,r){var n;let o=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(n=this.getBaseTargetFromProps(this.props,t))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,t,this.options);return o!=null&&(typeof o=="string"&&(Zm(o)||Xm(o))?o=parseFloat(o):!tb(o)&&Ht.test(r)&&(o=Qm(t,r)),this.setBaseTarget(t,ge(o)?o.get():o)),ge(o)?o.get():o}setBaseTarget(t,r){this.baseTarget[t]=r}getBaseTarget(t){var r;let{initial:n}=this.props,o;if(typeof n=="string"||typeof n=="object"){let s=nl(this.props,n,(r=this.presenceContext)===null||r===void 0?void 0:r.custom);s&&(o=s[t])}if(n&&o!==void 0)return o;let i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!ge(i)?i:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,r){return this.events[t]||(this.events[t]=new Si),this.events[t].add(r)}notify(t,...r){this.events[t]&&this.events[t].notify(...r)}};var Nl=class extends Rl{constructor(){super(...arguments),this.KeyframeResolver=pl}sortInstanceNodePosition(t,r){return t.compareDocumentPosition(r)&2?1:-1}getBaseTargetFromProps(t,r){return t.style?t.style[r]:void 0}removeValueFromRenderState(t,{vars:r,style:n}){delete r[t],delete n[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;ge(t)&&(this.childSubscription=t.on("change",r=>{this.current&&(this.current.textContent=`${r}`)}))}};function pV(e){return window.getComputedStyle(e)}
75var bl=class extends Nl{constructor(){super(...arguments),this.type="html",this.renderInstance=Pm}readValueFromInstance(t,r){if(nr.has(r)){let n=ml(r);return n&&n.default||0}else{let n=pV(t),o=(Ya(r)?n.getPropertyValue(r):n[r])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:r}){return ex(t,r)}build(t,r,n){Qa(t,r,n.transformTemplate)}scrapeMotionValuesFromProps(t,r,n){return il(t,r,n)}};var Pl=class extends Nl{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ee,this.updateDimensions=()=>{this.current&&!this.renderState.dimensions&&bm(this.current,this.renderState)}}getBaseTargetFromProps(t,r){return t[r]}readValueFromInstance(t,r){if(nr.has(r)){let n=ml(r);return n&&n.default||0}return r=Om.has(r)?r:Ga(r),t.getAttribute(r)}scrapeMotionValuesFromProps(t,r,n){return km(t,r,n)}onBindTransform(){this.current&&!this.renderState.dimensions&&Y.postRender(this.updateDimensions)}build(t,r,n){el(t,r,this.isSVGTag,n.transformTemplate)}renderInstance(t,r,n,o){Lm(t,r,n,o)}mount(t){this.isSVGTag=tl(t.tagName),super.mount(t)}};var ib=(e,t)=>Ja(e)?new Pl(t):new bl(t,{allowProjection:e!==ob.Fragment});var sb=MR({...N1,...ZN,...WN,...JN},ib);var Br=tR(sb);var Ol=R(O(),1);function Ni(e){let t=Cn(()=>nt(e)),{isStatic:r}=(0,Ol.useContext)(on);if(r){let[,n]=(0,Ol.useState)(e);(0,Ol.useEffect)(()=>t.on("change",n),[])}return t}var hV=e=>e&&typeof e=="object"&&e.mix,gV=e=>hV(e)?e.mix:void 0;function bi(...e){let t=!Array.isArray(e[0]),r=t?0:-1,n=e[0+r],o=e[1+r],i=e[2+r],s=e[3+r],a=ap(o,i,{mixer:gV(i[0]),...s});return t?a(n):a}function ab(e,t=100,r){let n=r({...e,keyframes:[0,t]}),o=Math.min(gl(n),2e4);return{type:"keyframes",ease:i=>n.next(o*i).value/t,duration:Nt(o)}}var lb=(e,t,r)=>{let n=t-e;return((r-e)%n+n)%n+e};function Dp(e,t){return sp(e)?e[lb(0,e.length,t)]:e}function _c(e){return typeof e=="object"&&!Array.isArray(e)}function Bp(e,t,r,n){return typeof e=="string"&&_c(t)?bp(e,r,n):e instanceof NodeList?Array.from(e):Array.isArray(e)?e:[e]}function ub(e,t,r){return e*(t+1)}function yx(e,t,r,n){var o;return typeof t=="number"?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):t==="<"?r:(o=n.get(t))!==null&&o!==void 0?o:e}function yV(e,t,r){for(let n=0;n<e.length;n++){let o=e[n];o.at>t&&o.at<r&&(vi(e,o),n--)}}function cb(e,t,r,n,o,i){yV(e,o,i);for(let s=0;s<t.length;s++)e.push({value:t[s],at:oe(o,i,n[s]),easing:Dp(r,s)})}function fb(e,t){for(let r=0;r<e.length;r++)e[r]=e[r]/(t+1)}function db(e,t){return e.at===t.at?e.value===null?1:t.value===null?-1:0:e.at-t.at}var vV="easeInOut",SV=20;function hb(e,{defaultTransition:t={},...r}={},n,o){let i=t.duration||.3,s=new Map,a=new Map,l={},u=new Map,c=0,f=0,d=0;for(let p=0;p<e.length;p++){let v=e[p];if(typeof v=="string"){u.set(v,f);continue}else if(!Array.isArray(v)){u.set(v.name,yx(f,v.at,c,u));continue}let[m,T,h={}]=v;h.at!==void 0&&(f=yx(f,h.at,c,u));let g=0,y=(x,S,E,w=0,C=0)=>{let N=xV(x),{delay:I=0,times:b=up(N),type:P="keyframes",repeat:k,repeatType:B,repeatDelay:A=0,...U}=S,{ease:M=t.ease||"easeOut",duration:H}=S,K=typeof I=="function"?I(w,C):I,te=N.length,Ne=xi(P)?P:o?.[P];if(te<=2&&Ne){let X=100;if(te===2&&wV(N)){let Je=N[1]-N[0];X=Math.abs(Je)}let pe={...U};H!==void 0&&(pe.duration=dt(H));let Te=ab(pe,X,Ne);M=Te.ease,H=Te.duration}H??(H=i);let ve=f+K;b.length===1&&b[0]===0&&(b[1]=1);let de=b.length-N.length;if(de>0&&lp(b,de),N.length===1&&N.unshift(null),k){Tr(k<SV,"Repeat count too high, must be less than 20"),H=ub(H,k);let X=[...N],pe=[...b];M=Array.isArray(M)?[...M]:[M];let Te=[...M];for(let Je=0;Je<k;Je++){N.push(...X);for(let Ye=0;Ye<X.length;Ye++)b.push(pe[Ye]+(Je+1)),M.push(Ye===0?"linear":Dp(Te,Ye-1))}fb(b,k)}let V=ve+H;cb(E,N,M,b,ve,V),g=Math.max(K+H,g),d=Math.max(V,d)};if(ge(m)){let x=mb(m,a);y(T,h,pb("default",x))}else{let x=Bp(m,T,n,l),S=x.length;for(let E=0;E<S;E++){T=T,h=h;let w=x[E],C=mb(w,a);for(let N in T)y(T[N],TV(h,N),pb(N,C),E,S)}}c=f,f+=g}return a.forEach((p,v)=>{for(let m in p){let T=p[m];T.sort(db);let h=[],g=[],y=[];for(let S=0;S<T.length;S++){let{at:E,value:w,easing:C}=T[S];h.push(w),g.push(wr(0,d,E)),y.push(C||"easeOut")}g[0]!==0&&(g.unshift(0),h.unshift(h[0]),y.unshift(vV)),g[g.length-1]!==1&&(g.push(1),h.push(null)),s.has(v)||s.set(v,{keyframes:{},transition:{}});let x=s.get(v);x.keyframes[m]=h,x.transition[m]={...t,duration:d,ease:y,times:g,...r}}}),s}function mb(e,t){return!t.has(e)&&t.set(e,{}),t.get(e)}function pb(e,t){return t[e]||(t[e]=[]),t[e]}function xV(e){return Array.isArray(e)?e:[e]}function TV(e,t){return e&&e[t]?{...e,...e[t]}:{...e}}var EV=e=>typeof e=="number",wV=e=>e.every(EV);function CV(e,t){return e in t}var Fp=class extends Rl{constructor(){super(...arguments),this.type="object"}readValueFromInstance(t,r){if(CV(r,t)){let n=t[r];
75if(typeof n=="string"||typeof n=="number")return n}}getBaseTargetFromProps(){}removeValueFromRenderState(t,r){delete r.output[t]}measureInstanceViewportBox(){return Ee()}build(t,r){Object.assign(t.output,r)}renderInstance(t,{output:r}){Object.assign(t,r)}sortInstanceNodePosition(){return 0}};function gb(e){let t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},r=Cp(e)?new Pl(t):new bl(t);r.mount(e),Ri.set(e,r)}function yb(e){let t={presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}},r=new Fp(t);r.mount(e),Ri.set(e,r)}function IV(e,t){return ge(e)||typeof e=="number"||typeof e=="string"&&!_c(t)}function Vp(e,t,r,n){let o=[];if(IV(e,t))o.push(wp(e,_c(t)&&t.default||t,r&&(r.default||r)));else{let i=Bp(e,t,n),s=i.length;Tr(Boolean(s),"No valid elements provided.");for(let a=0;a<s;a++){let l=i[a],u=l instanceof Element?gb:yb;Ri.has(l)||u(l);let c=Ri.get(l),f={...r};"delay"in f&&typeof f.delay=="function"&&(f.delay=f.delay(a,s)),o.push(...xl(c,{...t,transition:f},{}))}}return o}function vb(e,t,r){let n=[];return hb(e,t,r,{spring:vl}).forEach(({keyframes:i,transition:s},a)=>{n.push(...Vp(a,i,s))}),n}function AV(e){return Array.isArray(e)&&e.some(Array.isArray)}function Sb(e){function t(r,n,o){let i=[];AV(r)?i=vb(r,n,e):i=Vp(r,n,o,e);let s=new ul(i);return e&&e.animations.push(s),s}return t}var ir=Sb();var Kt=R(G()),Yt=R(O());function Co(e){return e.type==="FRAME"||e.type==="TEXT"?!!e.behaviors?.marquee:!1}var W;(function(e){e.FIXED="FIXED",e.FILL_PARENT="FILL_PARENT",e.HUG_CONTENTS="HUG_CONTENTS"})(W||(W={}));function bt(e){return Pi(e)&&e.layoutMode!=="NONE"}function xb(e){return bt(e)&&"children"in e&&!!e.children&&e.children.length>0}function Ut(e,t){return t?(ue(t.children.includes(e.id),"node is parent of other node"),bt(t)&&e.layoutPositioning!=="ABSOLUTE"):!1}function Pi(e){return e.type==="FRAME"||e.type==="CODE_INSTANCE"||e.type==="CODE_LAYER"||e.type==="REPEATER"}function zp(e){let{minWidth:t,minHeight:r,maxWidth:n,maxHeight:o}=e,i={};return r&&(i.minHeight=r),o&&(i.maxHeight=o),t&&(i.minWidth=t),n&&(i.maxWidth=n),i}function pt(e,t,r,n){let i=(()=>{let s=ee.state?.independentRootNode??!1;if(t&&Ut(e,t)){let l=t.layoutMode;switch(l){case"HORIZONTAL":case"GRID":if(e.layoutGrow)return"FILL_PARENT";break;case"VERTICAL":if(e.layoutAlign==="STRETCH")return"FILL_PARENT";break;case"NONE":throw new J("parent layout mode is NONE");default:me(l)}}else if(t===null&&(s||n?.renderedByCode))return"FILL_PARENT";let a=Pi(e)&&Tb(e);if(a&&e.layoutMode==="HORIZONTAL")switch(e.primaryAxisSizingMode){case"FIXED":return"FIXED";case"AUTO":case void 0:return"HUG_CONTENTS";default:me(e.primaryAxisSizingMode)}if(a&&e.layoutMode==="VERTICAL")switch(e.counterAxisSizingMode){case"FIXED":return"FIXED";case"AUTO":default:return"HUG_CONTENTS"}return e.type==="TEXT"&&e.textAutoResize==="WIDTH_AND_HEIGHT"||e.type==="GROUP"?"HUG_CONTENTS":"FIXED"})();if(Co(e)&&!r){let s=t&&pt(t,null,!1,n)==="HUG_CONTENTS";(i==="HUG_CONTENTS"||i==="FILL_PARENT"&&s)&&(i="FIXED")}return i}
75function it(e,t,r){let n=ee.state?.independentRootNode??!1;if(t&&Ut(e,t))switch(t.layoutMode){case"VERTICAL":if(e.layoutGrow)return"FILL_PARENT";break;case"HORIZONTAL":case"GRID":if(e.layoutAlign==="STRETCH")return"FILL_PARENT";break;case"NONE":throw new J("parent layout mode is NONE");default:me(t.layoutMode)}else if(t===null&&(n||r?.renderedByCode))return"FILL_PARENT";let o=Pi(e)&&Tb(e);if(o&&e.layoutMode==="VERTICAL")switch(e.primaryAxisSizingMode){case"FIXED":return"FIXED";case"AUTO":case void 0:return"HUG_CONTENTS";default:me(e.primaryAxisSizingMode)}if(o&&e.layoutMode==="HORIZONTAL")switch(e.counterAxisSizingMode){case"FIXED":return"FIXED";case"AUTO":default:return"HUG_CONTENTS"}return e.type==="TEXT"&&(e.textAutoResize==="WIDTH_AND_HEIGHT"||e.textAutoResize==="HEIGHT")||e.type==="GROUP"?"HUG_CONTENTS":"FIXED"}function Tb(e){return bt(e)?e.type==="CODE_INSTANCE"||e.type==="CODE_LAYER"||e.type==="REPEATER"?!0:e.type==="FRAME"?e.children.length>0:!1:!1}function Wp(e,t){return!t||!bt(t)||!Ut(e,t)?!1:e.layoutAlign==="STRETCH"&&t.layoutMode==="HORIZONTAL"&&t.counterAxisSizingMode==="AUTO"&&t.counterAxisAlignItems!=="MIN"}var Li="--transform-inner-width",ki="--transform-inner-height";function ks(e,t,r){let n=xr(_r(r?.group?.relativeTransform,e.relativeTransform));return t!==null&&wb(n)}function Eb(e,t,r,n,o){let i=xr(_r(r?.group?.relativeTransform,e.relativeTransform));if(t==null||!wb(i))return{};let s=i,a=pt(e,t),l=it(e,t),u={};if(u.transform=n?Cb(s[0][0],s[1][0],s[0][1],s[1][1],o):`matrix(${s[0][0]}, ${s[1][0]}, ${s[0][1]}, ${s[1][1]}, 0, 0)`,sn(e,t)){(a===W.HUG_CONTENTS||l===W.HUG_CONTENTS)&&console.warn("Transformed sized determined by both constraints and hug not yet supported.");let{width:c,height:f,transform:d}=Hp(e.absoluteBoundingBox.width,e.absoluteBoundingBox.height,i,e.size,e.absoluteBoundingBox,n,o);u.width=c,u.height=f,u.transform=d}else a===W.FILL_PARENT?u.width="100%":u.width="auto",l===W.FILL_PARENT?u.height="100%":u.height="auto";return u}function Hp(e,t,r,n,o,i,s){let a=Oi(0,0,r),l=Oi(0,n.y||1,r),u=Oi(n.x||1,0,r),c={x:l.x-a.x,y:l.y-a.y},f={x:u.x-a.x,y:u.y-a.y},d=e/o.width,p=t/o.height,v=(E,w)=>Math.sqrt(E*E+w*w),m=v(d*f.x,p*f.y),T=v(d*c.x,p*c.y),h=d*f.x/m,g=p*f.y/m,y=d*c.x/T,x=p*c.y/T,S=i?Cb(h,g,y,x,s):`matrix(${h}, ${g}, ${y}, ${x}, 0, 0) `;return{width:m,height:T,transform:S}}function wb(e){return!qe(e[0][0],1,er)||!qe(e[1][0],0,er)||!qe(e[0][1],0,er)||!qe(e[1][1],1,er)}function Ll(e){return!qe(Math.abs(e[0][0]),1,er)||!qe(Math.abs(e[1][0]),0,er)||!qe(Math.abs(e[0][1]),0,er)||!qe(Math.abs(e[1][1]),1,er)}function Up(e){let t=Math.abs(e[0][0]),r=Math.abs(e[0][1]);if(!(qe(t,1,er)&&qe(r,0,er)))return`calc(1px * ((var(${ki}) * ${r}) + (var(${Li}) * ${t})))`}function jp(e){let t=Math.abs(e[1][0]),r=Math.abs(e[1][1]);if(!(qe(r,1,er)&&qe(t,0,er)))return`calc(1px * ((var(${Li}) * ${t}) + (var(${ki}) * ${r})))`}function sn(e,t){return Gp(e,t)||$p(e,t)}function Gp(e,t){let r=e.constraints;return Ut(e,t)?!1:r?.vertical===en.TOP_BOTTOM||r?.vertical===en.SCALE}function $p(e,t){let r=e.constraints;return Ut(e,t)?!1:r?.horizontal===Jr.LEFT_RIGHT||r?.horizontal===Jr.SCALE}function Cb(e,t,r,n,o){let i=re(e),s=re(t),a=re(r),l=re(n),u=Math.atan2(s,i)*(180/Math.PI),c=u*Math.PI/180,f=Math.cos(c),d=Math.sin(c),p=i*l-s*a,v=Math.sqrt(i*i+s*s),m=p/v,T=f,h=-d,g=d,y=f,x=(i*T+s*g)/v,S=(i*h+s*y)/v,E=(a*T+l*g)/m,w=(a*h+l*y)/m,C=Math.atan2(E,w)*(180/Math.PI),N=Math.atan2(S,x)*(180/Math.PI),I=Number(u.toFixed(2)),b=Number(C.toFixed(2)),P=Number(N.toFixed(2)),k=Number(v.toFixed(2)),B=Number(m.toFixed(2));if(o){if(o.current!==I){let A=vx(o.current,I);I=o.current+A}o.current=I}return`rotate(${I}deg) skewX(${b}deg) skewY(${P}deg) scaleX(${k}) scaleY(${B})`}function vx(e,t){let r=(e%360+360)%360,n=(t%360+360)%360,o=n-r;return o>180?o-=360:o<-180&&(o+=360),Math.abs(o)===180?r===0&&n===180?-180:r===180&&n===0||e<t?180:-180:o}var RV=9999;function Sx(e,t,r){let n={...zp(e)},{width:o,height:i,top:s,left:a,bottom:l,right:u,transform:c,aspectRatio:f}=bV(e,t,r);return o!==void 0&&(n.width=o),i!==void 0&&(n.height=i),c!==void 0&&(n.transform=c),f!==void 0&&(n.aspectRatio=f),r?.group?.withinAutoLayout?(n.gridColumn=1,n.gridRow=1,n.position="relative",a!==void 0&&(n.marginLeft=a),u!==void 0&&(n.marginRight=u),s!==void 0&&(n.marginTop=s),l!==void 0&&(n.marginBottom=l)):(n.position=Ib(e,t),a!==void 0&&(n.left
75=a),u!==void 0&&(n.right=u),s!==void 0&&(n.top=s),l!==void 0&&(n.bottom=l)),Ib(e,t)==="fixed"&&(n.zIndex=RV),n}function Ib(e,t){return e.scrollBehavior==="STICKY_SCROLLS"?"sticky":Boolean(t?.type==="FRAME"&&t.isBreakpointFrame)&&e.scrollBehavior==="FIXED"?"fixed":"absolute"}function Yp(e,t=!1){let{horizontal:r=Jr.LEFT,vertical:n=en.TOP}=(t?void 0:e.constraints)??{};return{horizontal:r,vertical:n}}function NV(e,t){let{horizontal:r,vertical:n}=Yp(e,t);return{horizontal:{type:r,left:e.constraintValues?.left??{pixelOffset:0,sizeFraction:0},right:e.constraintValues?.right??{pixelOffset:0,sizeFraction:1}},vertical:{type:n,top:e.constraintValues?.top??{pixelOffset:0,sizeFraction:0},bottom:e.constraintValues?.bottom??{pixelOffset:0,sizeFraction:1}}}}function bV(e,t,r){let{horizontal:n,vertical:o}=NV(e,r?.group?.withinAutoLayout),i=xr(_r(r?.group?.relativeTransform,e.relativeTransform)),s=Xp(i,e.size),a=sn(e,t),l=!a&&Ll(i)?Up(i):void 0,u=!a&&Ll(i)?jp(i):void 0,{transform:c,...f}=OV({nodeWidth:s.width,bboxWidth:l,constraintBox:n,resizing:pt(e,t),textAlign:e.type==="TEXT"?e.textAlignHorizontal:void 0}),{transform:d,...p}=LV({nodeHeight:s.height,bboxHeight:u,constraintBox:o,resizing:it(e,t),textAlign:e.type==="TEXT"?e.textAlignVertical:void 0}),v;if(e.targetAspectRatio&&PV(e,t)){let m=Ll(i)?`${s.width} / ${s.height}`:`${e.targetAspectRatio.x} / ${e.targetAspectRatio.y}`;Gp(e,t)&&(v=m,f.width=void 0),$p(e,t)&&(v=m,p.height=void 0)}return{...f,...p,aspectRatio:v,transform:[c,d].filter(Boolean).join(" ")}}function PV(e,t){let r=Gp(e,t),n=$p(e,t);return!r&&!n?!0:r!==n}function Kp(e,t=!1){return st(e.pixelOffset,e.sizeFraction,t)}function st(e,t,r=!1){if(t===0&&!r)return re(e)===0?"0":`${e}px`;if(t===1&&r)return re(e)===0?"0":`${-e}px`;if(r){let o=100-t*100;return re(e)===0?re(o)===0?"0":`${o}%`:`calc(${o}% - ${e}px)`}let n=t*100;return re(e)===0?re(n)===0?"0":`${n}%`:`calc(${n}% + ${e}px)`}function OV({nodeWidth:e,bboxWidth:t,constraintBox:r,resizing:n,textAlign:o}){let i,s,a,l,u=t??(n===W.FIXED?e:void 0);if(r.type==="SCALE"||r.type==="LEFT_RIGHT")i="auto",s=Kp(r.left),a=Kp(r.right,!0);else if(r.type==="RIGHT"){i=u,s="auto";let{pixelOffset:c,sizeFraction:f}=r.right;switch(o){case"CENTER":{a=st(c-e/2,f,!0),l="translateX(50%)";break}case void 0:case"RIGHT":{a=st(c,f,!0);break}case"LEFT":case"JUSTIFIED":{a=st(c-e,f,!0),l="translateX(100%)";break}default:me(o)}}else if(r.type==="CENTER"){i=u,a="auto";let{pixelOffset:c,sizeFraction:f}=r.left,d=r.right.pixelOffset-c;switch(o){case void 0:case"CENTER":{s=st(c+d/2,f),l="translateX(-50%)";break}case"LEFT":case"JUSTIFIED":{s=st(c,f);break}case"RIGHT":{s=st(c+d,f),l="translateX(-100%)";break}default:me(o)}}else if(r.type==="LEFT"){i=u,a="auto";let{pixelOffset:c,sizeFraction:f}=r.left;switch(o){case"CENTER":{s=st(c+e/2,f),l="translateX(-50%)";break}case"LEFT":case"JUSTIFIED":case void 0:{s=st(c,f);break}case"RIGHT":{s=st(c+e,f),l="translateX(-100%)";break}default:me(o)}}else me(r);return{width:i,left:s,right:a,transform:l}}function LV({nodeHeight:e,bboxHeight:t,constraintBox:r,resizing:n,textAlign:o}){let i,s,a,l,u=t??(n===W.FIXED?e:void 0);if(r.type==="SCALE"||r.type==="TOP_BOTTOM")i="auto",s=Kp(r.top),a=Kp(r.bottom,!0);else if(r.type==="BOTTOM"){i=u,s="auto";let{pixelOffset:c,sizeFraction:f}=r.bottom;switch(o){case"CENTER":{a=st(c-e/2,f,!0),l="translateY(50%)";break}case void 0:case"BOTTOM":{a=st(c,f,!0);break}case"TOP":{a=st(c-e,f,!0),l="translateY(100%)";break}default:me(o)}}else if(r.type==="CENTER"){i=u,a="auto";let{pixelOffset:c,sizeFraction:f}=r.top,d=r.bottom.pixelOffset-c;switch(o){case void 0:case"CENTER":{s=st(c+d/2,f),l="translateY(-50%)";break}case"BOTTOM":{s=st(c+d,f),l="translateY(-100%)";break}case"TOP":{s=st(c,f);break}default:me(o)}}else if(r.type==="TOP"){i=u,a="auto";let{pixelOffset:c,sizeFraction:f}=r.top;switch(o){case"CENTER":{s=st(c+e/2,f),l="translateY(-50%)";break}case"BOTTOM":{s=st(c+e,f),l="translateY(-100%)";break}case"TOP":case void 0:{s=st(c,f);break}default:me(o)}}else me(r);return{height:i,top:s,bottom:a,transform:l}}function Oi(e,t,r){return{x:r[0][0]*e+r[0][1]*t+r[0][2]*1,y:r[1][0]*e+r[1][1]*t+r[1][2]*1}}function Xp(e,t){let r=Oi(0,0,e),n=Oi(t.x,0,e),o=Oi(0,t.y,e),i=Oi(t.x,t.y,e),s=Math.min(r.x,n.x,o.x,i.x),a=Math.max(r.x,n.x,o.x,i.x),l=Math.min(r.y,n.y,o.y,i.y),u=Math.max(r.y,n.y,o.y,i.y),c=a-s,f=u-l,d=re(s),p=re(l),v=re(c),m=re(f);return{x:d,y:p,width:v,height:m}}
75var kV={NONE:{NORMAL:"row",REVERSE:"row-reverse"},HORIZONTAL:{NORMAL:"row",REVERSE:"row-reverse"},VERTICAL:{NORMAL:"column",REVERSE:"column-reverse"}},qp={MIN:"flex-start",CENTER:"center",MAX:"flex-end",SPACE_BETWEEN:"space-between",BASELINE:"baseline"};function _V(e){return e.type==="TEXT"&&e.textAutoResize==="HEIGHT"}function Ab(e,t,r){let n=zp(e);if(bt(t),!t||!bt(t))return n;let o=pt(e,t),i=it(e,t);if(ks(e,t,r)){let d=xr(_r(r?.group?.relativeTransform,e.relativeTransform));o!==W.FILL_PARENT&&(n.width=Up(d)),i!==W.FILL_PARENT&&(n.height=jp(d))}else o===W.FIXED&&(e.targetAspectRatio&&i!==W.FIXED?n.aspectRatio=`${e.targetAspectRatio.x} / ${e.targetAspectRatio.y}`:n.width=e.size.x+tm(e,t)),i===W.FIXED&&(e.targetAspectRatio&&o!==W.FIXED?n.aspectRatio=`${e.targetAspectRatio.x} / ${e.targetAspectRatio.y}`:n.height=e.size.y+rm(e,t));n.position="relative",e.scrollBehavior==="STICKY_SCROLLS"&&(n.position="sticky",n.top=0),n.flexShrink=0;let s=t.layoutMode,a=s==="HORIZONTAL",l=s==="VERTICAL",u=s==="GRID",c=t&&pt(t)===W.FIXED,f=t&&it(t)===W.FIXED;if(a&&o===W.FILL_PARENT||l&&i===W.FILL_PARENT?(n.flex=`${e.layoutGrow} 0 0`,e.minWidth||(n.minWidth=1),e.minHeight||(n.minHeight=1)):u?(e.gridColumnAnchorIndex!==void 0&&e.gridRowAnchorIndex,n.gridColumn=`${e.gridColumnAnchorIndex+1}${e.gridColumnSpan?` / span ${e.gridColumnSpan}`:""}`,n.gridRow=`${e.gridRowAnchorIndex+1}${e.gridRowSpan?` / span ${e.gridRowSpan}`:""}`,(e.gridChildHorizontalAlign&&o===W.FIXED||o===W.HUG_CONTENTS)&&(n.justifySelf=qp[e.gridChildHorizontalAlign||"MIN"]),(e.gridChildVerticalAlign&&i===W.FIXED||i===W.HUG_CONTENTS)&&(n.alignSelf=qp[e.gridChildVerticalAlign||"MIN"])):(a&&c&&o===W.FIXED||l&&f&&it(e)===W.FIXED)&&(n.flexShrink,n.flexShrink=0),(a&&i===W.FILL_PARENT||l&&o===W.FILL_PARENT)&&(l?_V(e)&&!r?.allChildrenAreFillWidth?(n.width="min-content",n.minWidth="100%"):n.width="100%":t.counterAxisSizingMode!=="FIXED"&&!Wp(e,t)?n.alignSelf="stretch":n.height="100%"),Pi(t),Pi(t)&&r?.negativeItemSpacing){let d=t.layoutMode==="HORIZONTAL"?"marginRight":"marginBottom";n[d]=`${r.negativeItemSpacing}px`}return n}var Rb=(e,t,r)=>{if(e.type==="RECTANGLE")return 0;if(e.layoutMode==="NONE"||e.itemSpacing>=0||!r)return e.itemSpacing;let n=-1/0;if(e.layoutMode==="HORIZONTAL"){let o=r.filter(i=>pt(i,e)!==W.FILL_PARENT);if(o.length>0){let i=o.map(s=>Xp(s.relativeTransform,s.size).width);n=-Math.min(...i)}else pt(e,t)!==W.FILL_PARENT&&(n=-e.size.x)}else{let o=r.filter(i=>it(i,e)!==W.FILL_PARENT);if(o.length>0){let i=o.map(s=>Xp(s.relativeTransform,s.size).height);n=-Math.min(...i)}else it(e,t)!==W.FILL_PARENT&&(n=-e.size.y)}return Math.max(n,e.itemSpacing)};function xx({node:e,children:t,itemSpacing:r}){let n={},{layoutMode:o,primaryAxisAlignItems:i,counterAxisAlignItems:s,layoutWrap:a,counterAxisSpacing:l=0}=e;if(DV(n,e,r),o==="GRID")n.display="grid",e.gridColumnsSizing&&(n.gridTemplateColumns=e.gridColumnsSizing),e.gridRowsSizing&&(n.gridTemplateRows=e.gridRowsSizing),e.gridColumnGap&&(n.columnGap=e.gridColumnGap),e.gridRowGap&&(n.rowGap=e.gridRowGap);else{n.display="flex";let u=BV(e,t);n.flexDirection=kV[o][e.itemReverseZIndex?"REVERSE":"NORMAL"],i&&(n.justifyContent=qp[i]),s&&(n.alignItems=qp[s]),n.alignContent=u,a==="WRAP"&&(n.flexWrap="wrap"),i!=="SPACE_BETWEEN"?!a||a==="NO_WRAP"?r>0&&(n.gap=r):(r===l||l===void 0)&&u!=="space-between"?n.gap=r:u==="space-between"?n.columnGap=r:r<0?n.rowGap=l:n.gap=l===r?l:`${l}px ${r}px`:a==="WRAP"&&u!=="space-between"&&l&&(n.rowGap=l)}return n}function MV(e,t){return t?t.every(r=>FV(r,e)===W.FILL_PARENT):!0}function DV(e,t,r){let n=bt(t)&&t.strokesIncludedInLayout&&t.type!=="CODE_INSTANCE"&&t.type!=="CODE_LAYER"?mA(t):{top:0,right:0,bottom:0,left:0};r<0&&(t.layoutMode==="HORIZONTAL"?n.right=n.right-r:n.bottom=n.bottom-r),e.paddingTop=(t.paddingTop||0)+n.top,e.paddingBottom=(t.paddingBottom||0)+n.bottom,e.paddingLeft=(t.paddingLeft||0)+n.left,e.paddingRight=(t.paddingRight||0)+n.right,e.boxSizing="border-box"}function BV(e,t){if(e.counterAxisAlignContent==="SPACE_BETWEEN")return"space-between";if(e.layoutWrap==="WRAP"&&!MV(e,t)){let r=e.counterAxisAlignItems||"MIN";return Tx(r)}return"stretch"}function Tx(e){switch(e){case"MIN":return"flex-start";case"CENTER":return"center";case"MAX":return"flex-end";case"BASELINE":return"baseline"}}function FV(e,t){return t&&bt(t)&&t.layoutMode==="VERTICAL"?pt(e,t):it(e,t)}var Ln=(e,t)=>{let r=e.scrollBehavior==="STICKY_SCROLLS"||e.scrollBehavior==="FIXED";return{[Ae.ScrollParallax]:r||(t?.isInStickyOrFixedTree??!1)}};var Ml=R(G()),ore=R(O());function Io(e,t){return`node-${e.replace(/:/g,"_").replace(/;/g,"-")}${t?`_${t}`:""}`}function Qp(){let e=ae(),t=cm(cI());return At()?!0:e==="preview"&&t}function se(e,t){let r=At(),n=Qp();if(!(r&&t||!n))return Io(e.id,t)}var Ex=R(G()),Jp=R(O());function _i(e,t,r,n,o=!1){if(t)return n?"div":"a";if(r)return n?"div":"button";switch(e.accessibleHTMLTag){case"ARTICLE":return"article";case"ASIDE":return"aside";case"FIGURE":return"figure";
75case"FOOTER":return"footer";case"HEADER":return"header";case"MAIN":return"main";case"NAV":return"nav";case"SECTION":return"section";case"OL":return"ol";case"UL":return"ul";case"AUTO":return o?"li":"div";case"DIV":default:return"div"}}function Zp(e){return e==="main"}function Mi(e){return e==="li"}function kl(e){return e==="ol"||e==="ul"}var eh=Jp.default.createContext(!1);function _l(e){let{isNodeListItem:t,children:r}=e;return(0,Ex.jsx)(eh.Provider,{value:t,children:r})}function kn({children:e}){return(0,Ex.jsx)(eh.Provider,{value:!1,children:e})}function _n(){return Jp.default.useContext(eh)?"li":"div"}function th(e){let t=Jp.default.useContext(eh);return Mi(e)?t?e:"div":e}function Nb(){let e=_n();return Br[e]}var rh={top:0,left:void 0,right:void 0,bottom:void 0,pointerEvents:"auto"};function Mc({children:e,stickyWrapperStyles:t,node:r}){let n=z(t??{}),o=se(r,"sticky-wrapper"),i=_n();return t?(0,Ml.jsx)(kn,{children:(0,Ml.jsx)(i,{id:o,className:n,children:e})}):(0,Ml.jsx)(Ml.Fragment,{children:e})}function bb(e=[]){return{boxShadow:VV(e),filter:Ix(e).filter,backdropFilter:Ax(e).backdropFilter}}function VV(e){return[...e].reverse().map(r=>{if(r.type==="DROP_SHADOW")return wx([r]).boxShadow;if(r.type==="INNER_SHADOW")return Cx([r]).boxShadow}).filter(r=>!!r).join(", ")||void 0}function wx(e){return{boxShadow:[...e].reverse().map(r=>{if(r.type==="DROP_SHADOW")return`${r.offset.x}px ${r.offset.y}px ${r.radius}px ${r.spread||0}px ${sm(r.color)}`}).filter(r=>!!r).join(", ")||void 0}}function Cx(e){return{boxShadow:[...e].reverse().map(r=>{if(r.type==="INNER_SHADOW")return`inset ${r.offset.x}px ${r.offset.y}px ${r.radius}px ${r.spread||0}px ${sm(r.color)}`}).filter(r=>!!r).join(", ")||void 0}}function Ix(e){let t=e.find(n=>n.type==="LAYER_BLUR");return{filter:t?`blur(${t.radius/2}px)`:void 0}}function Ax(e){let t=e.find(n=>n.type==="BACKGROUND_BLUR");return{backdropFilter:t?`blur(${t.radius/2}px)`:void 0}}function Pb(e=[]){return e.reduce((t,r)=>(r.type==="INNER_SHADOW"||r.type==="BACKGROUND_BLUR"||(r.type==="DROP_SHADOW"?t.textShadow=`${t.textShadow?.length?`${t.textShadow}, `:""}${r.offset.x}px ${r.offset.y}px ${r.radius}px ${sm(r.color)}`:r.type==="LAYER_BLUR"&&(t.filter=`blur(${r.radius/2}px)`)),t),{})}function sr({node:e,parent:t,context:r,children:n,depth:o,itemSpacing:i,options:s={isFlattened:!1,canAnimate:!1,previousRotation:void 0}}){let a=ee.state?.independentRootNode??!1,l;Ut(e,t)?l=Ab(e,t,r):t===null?r?.renderedByCode?l={...Sx(e,t,r),position:"relative",top:void 0,right:void 0,bottom:void 0,left:void 0}:a?l=WV(e):l=zV(e):l=Sx(e,t,r),l.mixBlendMode=r?.group?.mixBlendMode??Pa(e.blendMode);let u=Eb(e,t,r,s?.canAnimate,s?.previousRotation),c;!s.isFlattened&&xb(e)?c=xx({node:e,children:n,itemSpacing:i}):!s.isFlattened&&(e.type==="CODE_INSTANCE"||e.type==="CODE_LAYER")&&bt(e)?c=xx({node:e,children:n,itemSpacing:e.itemSpacing}):e.type==="GROUP"?(c=HV(e,t,r),c.display==="inline-grid"&&(l.lineHeight="0")):c={display:"block"};let d=l.position==="sticky"&&!Ut(e,t),p;if(d){let m=t?.size.y&&typeof l.top=="number"?t.size.y-l.top:l.top!==void 0?`calc(100% - ${l.top})`:t?.size.y;p={position:"absolute",top:l.top,left:l.left,bottom:0,right:l.right,height:m,pointerEvents:"none"},l={...l,...rh}}let v={inner:c,outer:l,stickyWrapper:p,transform:u};return UV(v,e,o),v}function zV(e){let t=it(e,null)===W.HUG_CONTENTS?void 0:e.size.y,n=bt(e)?void 0:e.size.x;return{position:"relative",minWidth:"var(--content-min-width)",width:"100%",height:it(e,null)===W.HUG_CONTENTS?void 0:"var(--content-min-height)","--content-width":"calc(var(--content-width-scaled, 100%) - (var(--content-margin-x-scaled, 0px) * 2))","--content-margin":"0 var(--content-margin-x-scaled, 0)","--content-min-width":n?`calc(max(var(--viewport-width-scaled, 100%), ${n}px) - (var(--content-margin-x-scaled, 0px) * 2))`:"calc(var(--viewport-width-scaled, 100%) - (var(--content-margin-x-scaled, 0px) * 2))","--content-min-height":t?`max(var(--viewport-height-scaled, var(--100dvh)), ${t}px)`:"var(--viewport-height-scaled, var(--100dvh))"}}function WV(e){return{position:"relative",width:"100%",height:"100%"}}function HV(e,t,r){let n={};return Ut(e,t)||r?.group?.withinAutoLayout?(n.display="inline-grid",n.gridTemplateColumns="max-content",n.gridTemplateRows="max-content",n.justifyItems="start",n.alignItems="start"):n.display="contents",n}function UV(e,t,r){e.inner.whiteSpace=t.type==="TEXT"&&t.textAutoResize==="WIDTH_AND_HEIGHT"?"nowrap":void 0,r!==void 0&&(e.outer.order=r)}function Dl(e,t,r){if(r?.renderedByCode)return{};if(t&&"clipsContent"in e&&e.clipsContent===!1)return{overflow:"visible"};let n=Co(e),o=e.overflowDirection??"NONE",i=!n&&(o==="HORIZONTAL_SCROLLING"||o==="HORIZONTAL_AND_VERTICAL_SCROLLING"),s=!n&&(o==="VERTICAL_SCROLLING"||o==="HORIZONTAL_AND_VERTICAL_SCROLLING"),a=i?"auto":"clip";return t?{overflowX:a,overflowY:s?"auto":"clip"}:ee.state?.withBaseStyles?{overflowX:i?"auto":"hidden"}:{}}function Ob(e,t,r,n){let{cursor:o,opacity:i,...s}=r,a,l,u;e.effects&&(a=wx(e.effects),l=Ix(e.effects),u=Ax(e.effects));let c=ci(e),f={...a},d=c||n?{...f,...im(e,t,n),pointerEvents:"none"}:void 0,p=lS(e),{topLeft:v,topRight:m,bottomRight:T,bottomLeft:h}=p,g={borderTopLeftRadius:v,borderTopRightRadius:m,borderBottomRightRadius:T,borderBottomLeftRadius:h,cursor:o,opacity:i,...l,...!c&&f},y={...s},x={...u,borderTopLeftRadius:v,borderTopRightRadius:m,borderBottomRightRadius:T,borderBottomLeftRadius:h};return{containerStyles:g,clipperStyles:y,borderStyles:d,sharedBackgroun
75dStyles:x}}function ar({node:e,parent:t,children:r,context:n}){let o={position:"relative"};if(!t&&!ee.state?.independentRootNode)return o.width="var(--content-width)",o.height="100%",o.margin="var(--content-margin)",o.minWidth="var(--content-min-width)",o.minHeight="var(--content-min-height)",o;let i=pt(e,t,!1,n);i!==W.HUG_CONTENTS&&(o.width="100%");let s=it(e,t,n);s!==W.HUG_CONTENTS&&(o.height="100%");let a=Ut(e,t),l=()=>{let c=a?tm(e,t):0,f=Math.min(e.maxWidth||Number.POSITIVE_INFINITY,e.size.x);o.width=f+c},u=()=>{let c=a?rm(e,t):0,f=Math.min(e.maxHeight||Number.POSITIVE_INFINITY,e.size.y);o.height=f+c};return Co(e)?e.type==="FRAME"&&r?.some(f=>pt(f,e,!1,n)===W.FILL_PARENT)&&l():sn(e,t)||(i===W.FIXED&&(e.targetAspectRatio&&s!==W.FIXED?o.aspectRatio=`${e.targetAspectRatio.x} / ${e.targetAspectRatio.y}`:l()),s===W.FIXED&&(e.targetAspectRatio&&i!==W.FIXED?o.aspectRatio=`${e.targetAspectRatio.x} / ${e.targetAspectRatio.y}`:u())),o}function Di(e){let t={};return e.accessibleLabel&&(t["aria-label"]=e.accessibleLabel),t}var jt=R(O());var Lb=(e,t,r)=>Math.min(Math.max(r,e),t);var _s=e=>typeof e=="number";var kb=e=>Array.isArray(e)&&!_s(e[0]);var _b=(e,t,r)=>{let n=t-e;return((r-e)%n+n)%n+e};function Mb(e,t){return kb(e)?e[_b(0,e.length,t)]:e}var nh=(e,t,r)=>-r*e+r*t+e;var Dc=e=>e;var Ms=(e,t,r)=>t-e===0?1:(r-e)/(t-e);function oh(e,t){let r=e[e.length-1];for(let n=1;n<=t;n++){let o=Ms(0,t,n);e.push(nh(r,1,o))}}function Bc(e){let t=[0];return oh(t,e-1),t}function Rx(e,t=Bc(e.length),r=Dc){let n=e.length,o=n-t.length;return o>0&&oh(t,o),i=>{let s=0;for(;s<n-2&&!(i<t[s+1]);s++);let a=Lb(0,1,Ms(t[s],t[s+1],i));return a=Mb(r,s)(a),nh(e[s],e[s+1],a)}}var Ds=e=>typeof e=="function";var Fc=e=>typeof e=="string";function Nx(e,t){return t?e*(1e3/t):0}function ih(e,t){var r;return typeof e=="string"?t?((r=t[e])!==null&&r!==void 0||(t[e]=document.querySelectorAll(e)),e=t[e]):e=document.querySelectorAll(e):e instanceof Element&&(e=[e]),Array.from(e||[])}function Db(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}var jV={any:0,all:1};function bx(e,t,{root:r,margin:n,amount:o="any"}={}){if(typeof IntersectionObserver>"u")return()=>{};let i=ih(e),s=new WeakMap,a=u=>{u.forEach(c=>{let f=s.get(c.target);if(c.isIntersecting!==Boolean(f))if(c.isIntersecting){let d=t(c);Ds(d)?s.set(c.target,d):l.unobserve(c.target)}else f&&(f(c),s.delete(c.target))})},l=new IntersectionObserver(a,{root:r,rootMargin:n,threshold:typeof o=="number"?o:jV[o]});return i.forEach(u=>l.observe(u)),()=>l.disconnect()}var sh=new WeakMap,Bi;function GV(e,t){if(t){let{inlineSize:r,blockSize:n}=t[0];return{width:r,height:n}}else return e instanceof SVGElement&&"getBBox"in e?e.getBBox():{width:e.offsetWidth,height:e.offsetHeight}}function $V({target:e,contentRect:t,borderBoxSize:r}){var n;(n=sh.get(e))===null||n===void 0||n.forEach(o=>{o({target:e,contentSize:t,get size(){return GV(e,r)}})})}function KV(e){e.forEach($V)}function YV(){typeof ResizeObserver>"u"||(Bi=new ResizeObserver(KV))}function Bb(e,t){Bi||YV();let r=ih(e);return r.forEach(n=>{let o=sh.get(n);o||(o=new Set,sh.set(n,o)),o.add(t),Bi?.observe(n)}),()=>{r.forEach(n=>{let o=sh.get(n);o?.delete(t),o?.size||Bi?.unobserve(n)})}}var ah=new Set,Vc;function XV(){Vc=()=>{let e={width:window.innerWidth,height:window.innerHeight},t={target:window,size:e,contentSize:e};ah.forEach(r=>r(t))},window.addEventListener("resize",Vc)}function Fb(e){return ah.add(e),Vc||XV(),()=>{ah.delete(e),!ah.size&&Vc&&(Vc=void 0)}}function Vb(e,t){return Ds(e)?Fb(e):Bb(e,t)}var qV=50,zb=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),Hb=()=>({time:0,x:zb(),y:zb()}),QV={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function Wb(e,t,r,n){let o=r[t],{length:i,position:s}=QV[t],a=o.current,l=r.time;o.current=e["scroll"+s],o.scrollLength=e["scroll"+i]-e["client"+i],o.offset.length=0,o.offset[0]=0,o.offset[1]=o.scrollLength,o.progress=Ms(0,o.scrollLength,o.current);let u=n-l;o.velocity=u>qV?0:Nx(o.current-a,u)}function Ub(e,t,r){Wb(e,"x",t,r),Wb(e,"y",t,r),t.time=r}function jb(e,t){let r={x:0,y:0},n=e;for(;n&&n!==t;)if(n instanceof HTMLElement)r.x+=n.offsetLeft,r.y+=n.offsetTop,n=n.offsetParent;else if(n instanceof SVGGraphicsElement&&"getBBox"in n){let{top:o,left:i}=n.getBBox();for(r.x+=i,r.y+=o;n&&n.tagName!=="svg";)n=n.parentNode}return r}var Gb={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]};var lh={start:0,center:.5,end:1};function Px(e,t,r=0){let n=0;if(lh[e]!==void 0&&(e=lh[e]),Fc(e)){let o=parseFloat(e);e.endsWith("px")?n=o:e.endsWith("%")?e=o/100:e.endsWith("vw")?n=o/100*document.documentElement.clientWidth:e.endsWith("vh")?n=o/100*document.documentElement.clientHeight:e=o}return _s(e)&&(n=t*e),r+n}var ZV=[0,0];function $b(e,t,r,n){let o=Array.isArray(e)?e:ZV,i=0,s=0;return _s(e)?o=[e,e]:Fc(e)&&(e=e.trim(),e.includes(" ")?o=e.split(" "):o=[e,lh[e]?e:"0"]),i=Px(o[0],r,n),s=Px(o[1],t),i-s}var JV={x:0,y:0};function Kb(e,t,r){let{offset:n=Gb.All}=r,{target:o=e,axis:i="y"}=r,s=i==="y"?"height":"width",a=o!==e?jb(o,e):JV,l=o===e?{width:e.scrollWidth,height:e.scrollHeight}:{width:o.clientWidth,height:o.clientHeight}
75,u={width:e.clientWidth,height:e.clientHeight};t[i].offset.length=0;let c=!t[i].interpolate,f=n.length;for(let d=0;d<f;d++){let p=$b(n[d],u[s],l[s],a[i]);!c&&p!==t[i].interpolatorOffsets[d]&&(c=!0),t[i].offset[d]=p}c&&(t[i].interpolate=Rx(Bc(f),t[i].offset),t[i].interpolatorOffsets=[...t[i].offset]),t[i].progress=t[i].interpolate(t[i].current)}function ez(e,t=e,r){if(r.x.targetOffset=0,r.y.targetOffset=0,t!==e){let n=t;for(;n&&n!=e;)r.x.targetOffset+=n.offsetLeft,r.y.targetOffset+=n.offsetTop,n=n.offsetParent}r.x.targetLength=t===e?t.scrollWidth:t.clientWidth,r.y.targetLength=t===e?t.scrollHeight:t.clientHeight,r.x.containerLength=e.clientWidth,r.y.containerLength=e.clientHeight}function Yb(e,t,r,n={}){let o=n.axis||"y";return{measure:()=>ez(e,n.target,r),update:i=>{Ub(e,r,i),(n.offset||n.target)&&Kb(e,r,n)},notify:Ds(t)?()=>t(r):tz(t,r[o])}}function tz(e,t){return e.pause(),e.forEachNative((r,{easing:n})=>{var o,i;if(r.updateDuration)n||(r.easing=Dc),r.updateDuration(1);else{let s={duration:1e3};n||(s.easing="linear"),(i=(o=r.effect)===null||o===void 0?void 0:o.updateTiming)===null||i===void 0||i.call(o,s)}}),()=>{e.currentTime=t.progress}}var zc=new WeakMap,Xb=new WeakMap,Ox=new WeakMap,qb=e=>e===document.documentElement?window:e;function Wc(e,t={}){var{container:r=document.documentElement}=t,n=Db(t,["container"]);let o=Ox.get(r);o||(o=new Set,Ox.set(r,o));
75let i=Hb(),s=Yb(r,e,i,n);if(o.add(s),!zc.has(r)){let u=()=>{let f=performance.now();for(let d of o)d.measure();for(let d of o)d.update(f);for(let d of o)d.notify()};zc.set(r,u);let c=qb(r);window.addEventListener("resize",u,{passive:!0}),r!==document.documentElement&&Xb.set(r,Vb(r,u)),c.addEventListener("scroll",u,{passive:!0})}let a=zc.get(r),l=requestAnimationFrame(a);return()=>{var u;typeof e!="function"&&e.stop(),cancelAnimationFrame(l);let c=Ox.get(r);if(!c||(c.delete(s),c.size))return;let f=zc.get(r);zc.delete(r),f&&(qb(r).removeEventListener("scroll",f),(u=Xb.get(r))===null||u===void 0||u(),window.removeEventListener("resize",f))}}var Qb={m00:1,m01:0,m02:0,m10:0,m11:1,m12:0};function Bl(e,t,r=1){return{m00:r,m01:0,m02:e,m10:0,m11:r,m12:t}}var rz={FADE_IN:{opacity:0,transform:Qb},SCALE_IN:{opacity:0,transform:Bl(0,0,.5)},SCALE_IN_BOTTOM:{opacity:0,transform:Bl(0,50,.5)},SLIDE_IN_TOP:{opacity:0,transform:Bl(0,-150)},SLIDE_IN_BOTTOM:{opacity:0,transform:Bl(0,150)},SLIDE_IN_LEFT:{opacity:0,transform:Bl(-150,0)},SLIDE_IN_RIGHT:{opacity:0,transform:Bl(150,0)},NONE:{opacity:1,transform:Qb}},nz=.75,Mn={IN_CUBIC:[.55,.055,.675,.19],OUT_CUBIC:[.215,.61,.355,1],INOUT_CUBIC:[.645,.045,.355,1],LINEAR:[0,0,1,1],IN_BACK_CUBIC:[.3,-.05,.7,-.5],OUT_BACK_CUBIC:[.45,1.45,.8,1],INOUT_BACK_CUBIC:[.7,-.4,.4,1.4],GENTLE_SPRING:[1,100,15,0],SPRING_PRESET_ONE:[1,300,20,0],SPRING_PRESET_TWO:[1,600,15,0],SPRING_PRESET_THREE:[1,80,20,0]},Zb={easingType:"OUT_CUBIC",easingFunction:Mn.OUT_CUBIC,transitionDuration:.3},oz={...Zb,transitionDuration:.6},iz=50;function Pt(e,t){if(!e)return{};let r=t.transform?Ue.fromTransform(t.transform):Ue.identity();r.multiply(sz(e.transform));let n=r.toScale(),o=r.offset(),i=r.toDegrees();return{opacity:e.opacity??t.opacity??1,scaleX:n?.x??1,scaleY:n?.y??1,translateX:o?.x??0,translateY:o?.y??0,rotate:i??0}}function Lx(e,t,r,n){let o={key:void 0,hasBehaviors:!1,variants:{visible:{}},initial:"visible",appearBehaviorOtherLayer:void 0,scrollTransformOtherLayer:void 0,hasAppearLoadBehavior:!1,hasAppearScrollIntoViewBehavior:!1,hasAppearScrollDirectionBehavior:!1,hasHoverBehavior:!1,hasPressBehavior:!1,hasFocusBehavior:!1,hasScrollSpeedBehavior:!1,hasCursorBehavior:!1,transitionToVisible:void 0,transitionToExit:void 0,transitionToAndFromHover:void 0,transitionToAndFromPress:void 0,transitionToAndFromFocus:void 0,transitionBasedOnScrollDirection:void 0,scrollParallaxSpeed:1,replayAppearBehavior:!0,hasScrollTransformOnScrollBehavior:!1,hasScrollTransformIntoViewBehavior:!1,scrollTransformTransition:void 0,replayScrollTransformBehavior:!0,cursorBehaviorInfo:void 0,hasEnterAnimation:!0,hasExitAnimation:!0};if(e.length===0)return o;o.hasBehaviors=!0,o.variants={visible:Pt({},t)};for(let i of e){let s=i.behaviorType,a=!1;switch(s){case Ae.Appear:{let l=i;if(!l||r?.[Ae.Appear])break;let u=l.trigger;switch(u){case"PAGE_LOAD":o.hasAppearLoadBehavior=!0,o.initial="initial",o.variants.initial=Pt(i.enterState,t),o.transitionToVisible=Fr(i.enterTransition);break;case"THIS_LAYER_IN_VIEW":o.hasAppearScrollIntoViewBehavior=!0,o.initial="initial",o.variants.initial=Pt(i.enterState,t),o.variants.exit=Pt(i.exitState??i.enterState,t),o.transitionToVisible=Fr(i.enterTransition),o.transitionToExit=Fr(i.exitTransition),o.replayAppearBehavior=!i.playsOnce;break;case"OTHER_LAYER_IN_VIEW":o.hasAppearScrollIntoViewBehavior=!0,o.initial="initial",o.variants.initial=Pt(i.enterState,t),o.variants.exit=Pt(i.exitState??i.enterState,t),o.appearBehaviorOtherLayer=ct(i.otherLayer),o.transitionToVisible=Fr(i.enterTransition),o.transitionToExit=Fr(i.exitTransition),o.replayAppearBehavior=!i.playsOnce;break;case"SCROLL_DIRECTION":o.hasAppearScrollDirectionBehavior=!0,o.variants.scrollDirection=Pt(i.enterState,t),o.transitionBasedOnScrollDirection=Fr(i.enterTransition),o.replayAppearBehavior=!i.playsOnce;break;default:me(u)}break}case Ae.ScrollTransform:{let l=i;if(!l||r?.[Ae.ScrollTransform])break;a=l.fromState.opacity!==l.toState.opacity;let u=l.trigger;switch(u){case"PAGE_HEIGHT":o.hasScrollTransformOnScrollBehavior=!0,o.initial="initial",o.variants.initial=Pt(i.fromState,t),o.variants.exit=Pt(i.toState,t),o.scrollTransformTransition=Fr(i.transition);break;case"THIS_LAYER_IN_VIEW":o.hasScrollTransformIntoViewBehavior=!0,o.initial="initial",o.variants.initial=Pt(i.fromState,t),o.variants.exit=Pt(i.toState,t),o.scrollTransformTransition=Fr(i.transition),o.replayScrollTransformBehavior=!i.playsOnce;break;case"OTHER_LAYER_IN_VIEW":o.hasScrollTransformIntoViewBehavior=!0,o.initial="initial",o.variants.initial=Pt(i.fromState,t),o.variants.exit=Pt(i.toState,t),o.scrollTransformTransition=Fr(i.transition),o.scrollTransformOtherLayer=ct(i.otherLayer),o.replayScrollTransformBehavior=!i.playsOnce;break;default:me(u)}break}case Ae.Hover:o.hasHoverBehavior=!r?.[Ae.Hover],o.variants.hover=Pt(i.state,t),o.transitionToAndFromHover=Fr(i.transition);break;case Ae.Press:o.hasPressBehavior=!r?.[Ae.Press],o.variants.press=Pt(i.state,t),o.transitionToAndFromPress=Fr(i.transition);break;case Ae.Focus:o.hasFocusBehavior=!r?.[Ae.Focus],o.variants.focus=Pt(i.state,t),o.transitionToAndFromFocus=Fr(i.transition);break;case Ae.ScrollParallax:o.hasScrollSpeedBehavior=!r?.[Ae.ScrollParallax],o.scrollParallaxSpeed=i.speed;break;
75case Ae.Cursor:o.hasCursorBehavior=!r?.[Ae.Cursor],o.cursorBehaviorInfo={cursorGuid:ct(i.cursorGuid),cursorImage:n,cursorHotspot:{x:i.hotspotX,y:i.hotspotY}};break;case Ae.Marquee:break;case Ae.Code:break;default:me(s)}a&&o.scrollTransformTransition&&(o.scrollTransformTransition.repeatDelay=1)}return o.key=JSON.stringify(o),o}function sz(e){return Array.isArray(e)?Ue.fromNumbers(e[0][0],e[0][1],e[0][2],e[1][0],e[1][1],e[1][2]):typeof e=="object"?Ue.fromNumbers(e.m00,e.m01,e.m02,e.m10,e.m11,e.m12):Ue.identity()}function Fr(e){if(e)switch(e.easingType){case"IN_CUBIC":return{ease:"easeIn",duration:e.transitionDuration,delay:e.delay};case"OUT_CUBIC":return{ease:"easeOut",duration:e.transitionDuration,delay:e.delay};case"INOUT_CUBIC":return{ease:"easeInOut",duration:e.transitionDuration,delay:e.delay};case"LINEAR":return{ease:"linear",duration:e.transitionDuration,delay:e.delay};case"IN_BACK_CUBIC":return{ease:Mn.IN_BACK_CUBIC,duration:e.transitionDuration,delay:e.delay};case"OUT_BACK_CUBIC":return{ease:Mn.OUT_BACK_CUBIC,duration:e.transitionDuration,delay:e.delay};case"INOUT_BACK_CUBIC":return{ease:Mn.INOUT_BACK_CUBIC,duration:e.transitionDuration,delay:e.delay};case"CUSTOM_CUBIC":return{ease:e.easingFunction,duration:e.transitionDuration};case"GENTLE_SPRING":case"SPRING_PRESET_ONE":case"SPRING_PRESET_TWO":case"SPRING_PRESET_THREE":return{type:"spring",stiffness:Mn[e.easingType][1],damping:Mn[e.easingType][2],mass:Mn[e.easingType][0],delay:e.delay};case"CUSTOM_SPRING":{let t=e.easingFunction??Mn.GENTLE_SPRING;return{type:"spring",stiffness:t[1],damping:t[2],mass:t[0],delay:e.delay}}default:return e.easingType,`${e.easingType}`,{ease:"easeOut",duration:e.transitionDuration}}}var az=(...e)=>ae()==="server"?()=>{}:(0,jt.useLayoutEffect)(...e);function Dn(e,t,r,n,o){let i=At(),s=(0,jt.useRef)(null),a=(0,jt.useRef)(null),{key:l,hasBehaviors:u,variants:c,initial:f,appearBehaviorOtherLayer:d,scrollTransformOtherLayer:p,hasAppearLoadBehavior:v,hasAppearScrollIntoViewBehavior:m,hasAppearScrollDirectionBehavior:T,hasHoverBehavior:h,hasPressBehavior:g,hasScrollTransformOnScrollBehavior:y,hasScrollTransformIntoViewBehavior:x,hasScrollSpeedBehavior:S,hasCursorBehavior:E,transitionToVisible:w,transitionToExit:C,transitionToAndFromHover:N,transitionToAndFromPress:I,transitionBasedOnScrollDirection:b,scrollParallaxSpeed:P,replayAppearBehavior:k,replayScrollTransformBehavior:B,scrollTransformTransition:A}=(0,jt.useMemo)(()=>{let de=Object.entries(i?{}:t??{}).map(([X,pe])=>({...pe,behaviorType:X})),V=Lx(de,n,o);return II(V),V},[i,t,n,o]),{scale:U}=Ir(),M=y||x,H=(0,jt.useMemo)(()=>M?{fromState:c[ne.INITIAL],toState:c[ne.EXIT]}:null,[M,c]),K=(0,jt.useCallback)(()=>lz({domElement:s.current,hasBehaviors:u,variants:c,hasAppearLoadBehavior:v,hasAppearScrollIntoViewBehavior:m,hasAppearScrollDirectionBehavior:T,hasHoverBehavior:h,hasPressBehavior:g,hasScrollTransformBehavior:M,hasScrollTransformOnScrollBehavior:y,hasScrollTransformIntoViewBehavior:x,hasScrollSpeedBehavior:S,scrollTransformState:H,transitionToVisible:w,transitionToExit:C,transitionToAndFromHover:N,transitionToAndFromPress:I,transitionBasedOnScrollDirection:b,scrollTransformTransition:A,appearBehaviorOtherLayer:d,scrollTransformOtherLayer:p,replayAppearBehavior:k,replayScrollTransformBehavior:B,scrollParallaxSpeed:P,scale:U}),[u,c,v,m,T,h,g,M,y,x,S,H,w,C,N,I,b,A,d,p,k,B,P,U]),te=(0,jt.useCallback)(ve=>{s.current&&a.current?.(),s.current=ve,a.current=K?.(),ve?Mv(e,ve):Dv(e)},[e,K]),Ne=(0,jt.useRef)(e);return az(()=>{s.current&&Mv(e,s.current),Ne.current!==e&&(Dv(Ne.current),Ne.current=e)},[s,e]),lA({ref:s,hasCursorBehavior:E,assets:r,behaviors:t}),(0,jt.useEffect)(()=>{if(!(!s.current||!u))return a.current=K(),()=>a.current?.()},[K,u]),u?{ref:te,key:l,motionProps:{initial:f,variants:c}}:{ref:te,key:l,motionProps:{}}}function lz(e){let{domElement:t,hasBehaviors:r,variants:n,hasAppearLoadBehavior:o,hasAppearScrollIntoViewBehavior:i,hasAppearScrollDirectionBehavior:s,hasHoverBehavior:a,hasPressBehavior:l,hasScrollTransformBehavior:u,hasScrollTransformOnScrollBehavior:c,hasScrollTransformIntoViewBehavior:f,hasScrollSpeedBehavior:d,scrollTransformState:p,transitionToVisible:v,transitionToExit:m,transitionToAndFromHover:T,transitionToAndFromPress:h,transitionBasedOnScrollDirection:g,scrollTransformTransition:y,appearBehaviorOtherLayer:x,scrollTransformOtherLayer:S,replayAppearBehavior:E,replayScrollTransformBehavior:w,scrollParallaxSpeed:C,scale:N}=e;if(!t||!r)return()=>{};let I=!1,b=[()=>{I=!0}];if(o&&ir(t,n[ne.VISIBLE],v),i){let P=k=>{let B=!1,A;function U(){I||!t||!B||A||(A=ir(t,n[ne.VISIBLE],v).then(()=>{A=void 0,M()}),E||H())}function M(){I||!t||B||A||(A=ir(t,n[ne.EXIT]??n[ne.VISIBLE],m).then(()=>{A=void 0,ir(t,n[ne.INITIAL]??n[ne.VISIBLE],{duration:0}),U()}))}let H=bx(k,()=>(B=!0,U(),()=>{B=!1,M()}));b.push(H)};x?oc(x).then(k=>{I||P(k)}):t&&P(t)}if(s){let P=Wc(k=>{let B=k.y.velocity;B>0?(ir(t,n[ne.SCROLL_DIRECTION]??n[ne.VISIBLE],g),E||P()):B<0&&ir(t,n[ne.VISIBLE],g)},{container:Bv()});b.push(P)}if(a){let P=B=>{B.pointerType!=="touch"&&ir(t,n[ne.HOVER]??n[ne.VISIBLE],T)},k=B=>{B.pointerType!=="touch"&&ir(t,n[ne.VISIBLE],T)};t.addEventListener("pointerenter",P),t.addEventListener("pointerleave",k),b.push(()=>{t.removeEventListener("pointerenter",P),t.removeEventListener("pointerleave",k)})}if(l){let P=()=>{ir(t,n[ne.PRESS]??n[ne.VISIBLE],h),window.addEventListener("pointerup",k),window.addEventListener("pointercancel",k)},k=()=>{ir(t,n[ne.VISIBLE],h),window.removeEventListener("pointerup",k),window.removeEventListener("pointercancel",k)};t.addEventListener("pointerdown",P),t.addEventListener("pointerup",k),t.addEventListener("pointercancel",k),b.push(()=>{t.removeEventListener("pointerdown",P),t.removeEventListener("pointerup",k),t.removeEventListener("pointercancel",k),window.removeEventListener("pointerup",k),window.removeEventListener("pointercancel",k)})}if(u){let P=k=>{let B=!1,A=Wc(U=>{if(B)return;let M=0;if(c)M=U.y.scrollLength>0?U.y.current/U.y.scrollLength:1;else if(f){let Te=U.y.current+U.y.containerLength,Je=U.y.targetOffset,Ye=U.y.targetLength,Ar=(Te-Je)/Ye;M=Math.min(1,Math.max(0,Ar))}let{fromState:H,toState:K}=p,te=bi(M,[0,1],[H.opacity,K.opacity]),Ne=bi(M,[0,1],[H.scaleX,K.scaleX]),ve=bi(M,[0,1],[H.scaleY,K.scaleY]),de=bi(M,[0,1],[H.translateX,K.translateX]),V=bi(M,[0,1],[H.translateY,K.translateY]),X=bi(M,[0,1],[H.rotate,K.rotate]);M===1&&!w&&(B=!0);let pe=()=>{ir(t,{opacity:te,scaleX:Ne,scaleY:ve,translateX:de,translateY:V,rotate:X},y)};Y.postRender(pe)},{container:Vv(k),target:k});b.push(A)};S?oc(S).then(k=>{I||P(k)}):t&&P(t)}if(d){let P=Wc(k=>{if(C!==1){let B=k.y.current/N.get()*(1-C);ir(t,{y:B},{duration:0})}},{container:Vv(t),target:t});b.push(P)}return()=>{b.forEach(P=>P())}}var Jb=(e,t)=>(0,jt.useMemo)(()=>
75{if(!(!e||!t))return{transformTemplate:qd(e)}},[e,t]);var uz={ALPHA:"alpha",LUMINANCE:"luminance",VECTOR:"alpha"};function Vr({node:e,context:t}){let{masks:r}=t||{};if(!r)return{};let n=Yp(e,t?.group?.withinAutoLayout),o=r.reduce((s,a)=>{let l=a,u=mo(l.assets,l.hash),c=ee.state.getAssetURL(u.url),{isolatedAbsoluteRenderBounds:f}=l,{absoluteBoundingBox:d}=e,p=Yp(l);if(s.maskImage.push(`url("${c}")`),s.maskRepeat.push("no-repeat"),s.maskClip.push("no-clip"),s.maskComposite.push("intersect"),s.maskMode.push(l.maskType?uz[l.maskType]:"alpha"),f){let v=f.x-d.x,m=f.y-d.y,T=[`${v}px`,`${m}px`],h=[`${f.width}px`,`${f.height}px`];p.horizontal===Jr.LEFT_RIGHT&&n.horizontal===p.horizontal&&(T[0]=`${v/d.width*100}%`,h[0]=`${f.width/d.width*100}%`),p.vertical===en.TOP_BOTTOM&&n.vertical===p.vertical&&(T[1]=`${m/d.height*100}%`,h[1]=`${f.height/d.height*100}%`),s.maskPosition.push(T.join(" ")),s.maskSize.push(h.join(" "))}else s.maskSize.push("auto"),s.maskPosition.push("0px 0px");return s},{maskImage:[],maskPosition:[],maskRepeat:[],maskClip:[],maskComposite:[],maskSize:[],maskMode:[]}),i=Object.fromEntries(Object.entries(o).map(([s,a])=>[s,a.join(", ")]));return i.WebkitMaskImage=i.maskImage,i.WebkitMaskPosition=i.maskPosition,i.WebkitMaskRepeat=i.maskRepeat,i.WebkitMaskClip=i.maskClip,i.WebkitMaskSize=i.maskSize,i}function lr(e){return e===void 0||e===1?{}:{opacity:e}}function Gt(e,t){let r=e?.group?.opacity??1,n=t.opacity??1;return r*n}var eP=R(O());function Bn(...e){return(0,eP.useMemo)(()=>t=>{e.forEach(r=>{if(r!=null){if(typeof r=="function"){r(t);return}try{r.current=t}catch{throw new J(`Cannot assign value '${JSON.stringify(t)}' to ref '${JSON.stringify(r)}'`)}}})},e)}function Fn(e){if(!(!Qp()||/^(Frame|Rectangle|Polygon|Star|Group|Line|Ellipse|Vector|Arrow) \d+$/.test(e.name)))return e.name}var an=R(G()),Eoe=R(O()),Uc=R(Vn());var Hc=R(G()),kx=R(O());var Fl=(0,kx.forwardRef)(function({tag:t,children:r,needsMotion:n,motionProps:o,...i},s){let a=t;if(!n)return(0,Hc.jsx)(a,{ref:s,...i,children:r});let l=Br[t];return(0,Hc.jsx)(l,{ref:s,...o,...i,children:r})}),tP=(0,kx.forwardRef)(function({needsMotion:t,motionProps:r,alt:n,...o},i){return t?(0,Hc.jsx)(Br.img,{ref:i,...r,alt:n,...o}):(0,Hc.jsx)("img",{ref:i,alt:n,...o})});
75function oP({node:e,parent:t,backgroundInfo:r,sharedBackgroundStyles:n,smartAnimateType:o,transitionData:i,alt:s}){let a=zt(i),u=o===$.INSTANCE_SUBTREE&&r.length===0,c={};u?c=n:r.length===1?c={...r[0].backgroundStyles,...n}:r.length>1;let{motionTransitionProps:f,cssStyles:d}=La(o,r.length===0?0:1,c,void 0,i,u?void 0:a),p=co(o,i,c.transform),v=se(e,"background"),m=z({position:"absolute",inset:0,pointerEvents:"none"}),T=z(d);if(r.length===1||u){let h=o!==$.NONE,g={...f,...p};return r[0]?.imageProps?(0,an.jsx)(rP,{customClassname:(0,Uc.default)(m,T),id:v,imageProps:r[0].imageProps,styles:r[0].backgroundStyles,alt:s,node:e,parent:t,needsMotion:h,motionProps:g}):r[0]?.videoProps?(0,an.jsx)(dz,{videoProps:r[0].videoProps}):(0,an.jsx)(Fl,{tag:"div",className:(0,Uc.default)(m,T),needsMotion:h,motionProps:g,id:v})}else{if(r.length===0)return null;{let{backdropFilter:h,...g}=n;return(0,an.jsx)("div",{id:v,className:m,style:g,children:r.map(({backgroundStyles:y,imageProps:x},S)=>{let E=S===r.length-1,w={...g,backdropFilter:E?h:void 0,...y};return x?(0,an.jsx)(rP,{imageProps:x,styles:w,alt:s,node:e,parent:t,needsMotion:!1,motionProps:{}},S):(0,an.jsx)("div",{className:m,style:w},S)})})}}}function rP({styles:e,node:t,parent:r,alt:n,customClassname:o,id:i,needsMotion:s,motionProps:a,imageProps:l}){let{getAssetURL:u}=Q(),{url:c,cropDivInfo:f,size:d}=l,p=se(t,"image-cropper"),v=f?{position:"absolute",width:Sn(f.widthPercent),height:Sn(f.heightPercent),top:Sn(f.topPercent),left:Sn(f.leftPercent),maxWidth:"none"}:{maxWidth:"none",...e,position:"absolute",width:"100%",height:"100%"},m=z(f?{...e,overflow:"hidden",position:"absolute",inset:0}:{}),T=z(v),h=f?T:(0,Uc.default)(T,o),g=f?(0,Uc.default)(m,o):m,{srcset:y,sizes:x}=_x(u,t,r,c,d,f?{x:f.widthPercent,y:f.heightPercent}:void 0),S=(0,an.jsx)(tP,{loading:t.lazyLoad?"lazy":void 0,className:h,id:i||void 0,alt:n||"",src:u(c),srcSet:y,sizes:t.lazyLoad?`auto,${x}`:x,needsMotion:s,motionProps:a});return f?(0,an.jsx)("div",{id:p,className:g,children:S}):S}var nP=[64,128,256,512,1024,1536,2048,2560,3072,3584,4096],cz=3,fz=512;function _x(e,t,r,n,o,i){let s=pt(t,r)===W.FIXED&&it(t,r)===W.FIXED&&!sn(t,r),a=i??{x:1,y:1},l=`${Math.ceil(a.x*100)}vw`,u=fz,c=Math.max(o.x,o.y);if(s){let d={x:t.size.x*a.x,y:t.size.y*a.y};l=`${d.x}px`,u=o.x>=o.y?d.x:d.y,c=Math.min(c,u*cz)}let f=`${e(n)} ${Math.ceil(o.x)}w`;if(o.x>=o.y)for(let d of nP){if(d<u)continue;if(d>c)break;let p=Math.ceil(d*a.x);f+=`, ${e(n,{width:p})} ${p}w`}else for(let d of nP){if(d<u)continue;if(d>c)break;let p=o.x/o.y,v=Math.ceil(d*a.y);f+=`, ${e(n,{height:v})} ${Math.ceil(v*p)}w`}return{srcset:f,sizes:l}}function dz({videoProps:e}){let t={};e.autoplay&&(t.autoPlay=!0);let r=e.url;return(0,an.jsx)("video",{...t,children:(0,an.jsx)("source",{src:r})})}var iP=R(G()),_oe=R(O()),sP=R(Vn());function aP({node:e,smartAnimateType:t,nodeHasStrokes:r,transitionData:n,borderStyles:o}){let i=zt(n),{motionTransitionProps:s,cssStyles:a}=La(t,1,o??{},void 0,n,r?i:void 0),l=co(t,n,o?.transform),u=se(e,"border"),c=z(a),f=(0,sP.default)(c);return(0,iP.jsx)(Fl,{tag:"div",needsMotion:t!==$.NONE,motionProps:{...s,...l},id:u,className:f})}var Mx=R(G()),fh=R(O());function ch({children:e,context:t={}}){let r={...t},n=t?.masks;return e.sort((o,i)=>o.scrollBehavior==="FIXED"&&i.scrollBehavior!=="FIXED"?-1:0),e.reduce((o,i)=>("isMask"in i?i.isMask??!1:!1)?(r={...r,masks:n?[...n,i]:[i]},o):(o.push([i,{key:i.key,context:r}]),o),[])}function lP(e){let{childNodes:t,parent:r,context:n,reverseZIndex:o,parentRef:i,parentTransitionProps:s,onTransitionEnd:a}=e,u=(s?.smartAnimateType??$.NONE)===$.INSTANCE_SUBTREE,c=ch({children:t,context:n}),f=u?TS:fh.Fragment,d=u?$I(s?.transitionData,a):void 0;return fh.default.useMemo(()=>(0,Mx.jsx)(f,{...d??{},children:c?.length?c.map(([v,{key:m,context:T}],h)=>{let g=o?c.length-h:void 0;return(0,Mx.jsx)(dh,{name:"sites-layer",nodeId:v.id,childKey:m,node:v,parent:r,context:T,depth:g,codeBehaviorProps:{parentRef:i}},m)}):null}),[f,d,c,i,r,o])}var Dx=R(G()),aie=R(O());var mh=R(G()),Xoe=R(O());var mz=e=>{let t=e.layoutMode;if(e.type!=="FRAME"||!(t==="HORIZONTAL"||t==="VERTICAL"))return;let r;e.primaryAxisAlignItems==="MAX"?r="flex-end":e.primaryAxisAlignItems==="CENTER"&&(r="center");let n;if(e.counterAxisAlignItems==="MAX"?n="flex-end":e.counterAxisAlignItems==="CENTER"&&(n="center"),!(!r&&!n))return{display:"flex",flexDirection:t==="VERTICAL"?"column":"row",alignItems:n,justifyContent:r}};function uP({node:e,children:t,style:r,innerTag:n="div"}){let o=se(e,"clipper"),{overflowX:i,overflowY:s,borderRadius:a,...l}=r,{minWidth:u,minHeight:c,maxWidth:f,maxHeight:d}=r,p=z({overflowX:i,overflowY:s,borderRadius:a,position:"relative",width:"100%",height:"100%",minWidth:u,minHeight:c,maxWidth:f,maxHeight:d,...mz(e)}),v=z(l);return(0,mh.jsx)("div",{id:o,className:p,children:(0,mh.jsx)(n,{className:v,children:t})})}function cP({node:e,style:t,children:r,innerTag:n="div"}){let o=se(e,"clipper"),i=z(t);return(0,mh.jsx)(n,{id:o,className:i,children:r})}var fP=(e,t)=>{if(!bt(e))return!1;let r=e.paddingLeft+e.paddingRight;if(r>0){let o=pt(e,t);switch(o){case W.FILL_PARENT:return!0;case W.HUG_CONTENTS:break;case W.FIXED:if(r>e.size.x)return!0;break;default:me(o)}}let n=e.paddingTop+e.paddingBottom;if(n>0){let o=it(e);switch(o){case W.FILL_PARENT:return!0;case W.HUG_CONTENTS:break;case W.FIXED:if(n>e.size.y)return!0;break;default:me(o)}}return!1};function ph(e){let{canSmartAnimate:t,hasChildNodes:r,isResponsiveScalingEnabled:n,parentClipsContent:o,parentHasStrokes:i,parentIncludesStrokesInLayout:s,parentHasAutoLayoutPadding:a}=e;return r&&i&&o||a||s||n||t}var Fi=R(G()),Re=R(O()),dP=R(Vn());var pz="left",hz=6,gz=!1,hh=Re.default.forwardRef(function({node:t,style:r={},className:n="",children:o},i){let s=t.behaviors?.marquee?.direction??pz,a=t.behaviors?.marquee?.speed??hz,l=t.behaviors?.marquee?.shouldLoopInfinitely??gz,[u,c]=(0,Re.useState)(0),[f,d]=(0,Re.useState)(0),[p,v]=(0,Re.useState)(1),[m,T]=(0,Re.useState)(!1),h=(0,Re.useRef)(null),g=i||h,y=(0,Re.useRef)(null),x=ic(),S=(0,dP.default)("marquee",x?"":"reduced-motion"),E=(0,Re.useCallback)(P=>{if(y.current&&g.current){let k=g.current.getBoundingClientRect(),B=y.current.getBoundingClientRect(),A=u===0?k.width:u,U=B.width;if((s==="UP"||s==="DOWN")&&(A=k.height,U=B.height),l&&A&&U){let M=U<A?Math.ceil(A/U):1;v(M)}else v(1);d(U),(u===0||P)&&c(k.width)}},[l,g,u,s]);(0,Re.useEffect)(()=>
75{if(m&&(E(),y.current&&g.current)){let P=new ResizeObserver(()=>{E(!0)});return P.observe(g.current),P.observe(y.current),()=>{P&&P.disconnect()}}},[E,g,m]),(0,Re.useEffect)(()=>{E()},[E,o]),(0,Re.useEffect)(()=>{T(!0)},[]);let w=(0,Re.useMemo)(()=>l?f*p/a:f<u?u/a:f/a,[l,u,f,p,a]),C=(0,Re.useMemo)(()=>({...r,["--width"]:s==="UP"||s==="DOWN"?"100vh":"100%",["--transform"]:s==="UP"?"rotate(-90deg)":s==="DOWN"?"rotate(90deg)":"none"}),[r,s]),N=(0,Re.useMemo)(()=>({["--direction"]:s==="LEFT"?"normal":"reverse",["--duration"]:`${w}s`,["--delay"]:"0s",["--iteration-count"]:"infinite",["--min-width"]:l?"auto":"100%",["--timing-function"]:zv()?"steps(3)":"linear"}),[s,w,l]),I=(0,Re.useMemo)(()=>({["--transform"]:s==="UP"?"rotate(90deg)":s==="DOWN"?"rotate(-90deg)":"none"}),[s]),b=(0,Re.useCallback)((P,k)=>[...Array(Number.isFinite(P)&&P>=0?P:0)].map((B,A)=>(0,Fi.jsx)(Re.Fragment,{children:Re.Children.map(o,U=>(0,Fi.jsx)("div",{style:I,className:"marquee-child","aria-hidden":k,children:U}))},A)),[I,o]);return m?(0,Fi.jsxs)("div",{ref:g,style:C,className:"marquee-container "+n,children:[(0,Fi.jsxs)("div",{className:S,style:N,children:[(0,Fi.jsx)("div",{className:"marquee-initial-child-container",ref:y,children:b(1)}),b(p-1,!0)]}),(0,Fi.jsx)("div",{className:S,style:N,children:b(p,!0)})]}):null});var gh=R(G()),iie=R(O());function Vl({children:e}){return(0,gh.jsx)(gh.Fragment,{children:e})}function mP(e){let{parent:t,canSmartAnimate:r,hasChildNodes:n,isResponsiveScalingEnabled:o,parentClipsContent:i,parentHasStrokes:s,parentIncludesStrokesInLayout:a,parentHasAutoLayoutPadding:l,parentIsAutoLayout:u,parentSizeConstraints:c,children:f,listTag:d,styles:{clipperStyles:p,innerStyles:v,overflowStyles:m,borderDisplacement:T,wrapperSizeStyles:h}}=e,g=ph({canSmartAnimate:r,hasChildNodes:n,isResponsiveScalingEnabled:o,parentClipsContent:i,parentHasStrokes:s,parentIncludesStrokesInLayout:a,parentHasAutoLayoutPadding:l}),y=yz(t),S=u&&(l||y)?uP:g?cP:Vl,E=y?hh:Vl,w={...h,...m},C={};return u&&(c.minWidth&&(C.minWidth="inherit"),c.minHeight&&(C.minHeight="inherit"),c.maxWidth&&(C.maxWidth="inherit"),c.maxHeight&&(C.maxHeight="inherit")),g&&(w={...w,...p}),(0,Dx.jsx)(E,{node:t,style:w,children:(0,Dx.jsx)(S,{node:t,innerTag:d,style:{...C,...p,...v,...m,...T,...h,borderRadius:"inherit"},children:f})})}function yz(e){return Co(e)}var Fx=R(G()),Bx=R(O());function Vx(e){return(e.effects||[]).some(t=>t.type==="INNER_SHADOW")}function pP({node:e,parent:t,alwaysRenderBorderStyles:r}){return Vx(e)?(0,Fx.jsx)(vz,{node:e,parent:t,alwaysRenderBorderStyles:r}):null}function vz({node:e,parent:t,alwaysRenderBorderStyles:r}){let n=Bx.useMemo(()=>{let a=ci(e)||r?im(e,t,r):void 0;return a?{top:a.top,left:a.left,right:a.right,bottom:a.bottom}:{}},[e,r,t]),o=Bx.useMemo(()=>({position:"absolute",inset:0,borderRadius:"inherit",pointerEvents:"none",...Cx(e.effects||[]),...n}),[e.effects,n]),i=se(e,"shadow"),s=z(o);return(0,Fx.jsx)("div",{id:i,className:s})}var hP=R(G()),gP=R(O()),yP=R(Vn());var zx=R(G()),Wx=R(O()),Hx=Wx.default.createContext(void 0);function Ot(e){let{outerStyles:t,children:r}=e;return(0,zx.jsx)(Hx.Provider,{value:t,children:r})}function yh({children:e}){return(0,zx.jsx)(Hx.Provider,{value:void 0,children:e})}function zr(){return Wx.default.useContext(Hx)}var Vi=gP.default.forwardRef(function(t,r){let{children:n,wrapperSizeStyles:o,semanticTag:i,context:s,styles:a,additionalClassName:l,transitionProps:u,tabIndex:c,...f}=t,p={...zr()??o,...a},v=co(u.smartAnimateType,u.transitionData,p.transform),{motionTransitionProps:m,cssStyles:T}=La(u.smartAnimateType,u.opacity,p,u.behaviorProps?.variants,u.transitionData,u.onTransitionEnd),h=Jb(p.transform,u.behaviorProps?.variants);MA([u.behaviorProps,h,m,v]);let g=z(T,s?.renderedByCode),y=(0,yP.default)(l,g,s?.className),x=u.smartAnimateType!==$.NONE||Object.keys(u.behaviorProps).length>0,S=th(i),E=x?Br[S]:S;return(0,hP.jsx)(E,{className:y,tabIndex:Zp(S)?-1:c,...u.behaviorProps,...v,...m,...h,...f,ref:r,children:n})});var vP=R(G()),vh=R(O());function SP({node:e}){return(0,vh.useMemo)(()=>Ra().stateSwapNodeToMonitor===e.id,[])?(0,vP.jsx)(Sz,{node:e}):null}function Sz({node:e}){return(0,vh.useEffect)(()=>{e.id===rI()&&(ai("timerEvent",{timerName:"swap-state",eventName:"timer_stop"}),kd(void 0))},[e]),null}var Ur=R(G()),Zx=R(O());
75var Lt=R(G()),Hr=R(O()),WP=R(O()),Nz=R(jx()),bz=R(G()),Pz=R(Td()),Oz=R(Ed()),HP=R(Vn());function zi(e){let t=ae();ue(t!=="server",`${e} should never be rendered on the server.`)}var EP=R(O());function Tz(){return()=>{}}function zl(){return EP.useSyncExternalStore(Tz,()=>!0,()=>!1)}var wP=R(G()),Sh=R(O()),Wl=Sh.createContext({name:"",width:0,height:0});function Gx({name:e,width:t,height:r,children:n}){let o=Sh.useMemo(()=>({name:e,width:t,height:r}),[e,t,r]);return(0,wP.jsx)(Wl.Provider,{value:o,children:n})}var Hl=R(G()),Hie=R(O());function Wi({children:e,fallback:t=null}){return zl()?(0,Hl.jsx)(Hl.Fragment,{children:e()}):(0,Hl.jsx)(Hl.Fragment,{children:t})}var Yx=R(G()),zn=R(O());function Ez(e,t,r,n){let o=e(r.get(t));o.type;for(let i of o.children){let s=e(r.get(i)),a=s.name.split("=");if(a[a.length-1]===n)return s.id}return null}var Ul=class{idState;variableState;nodeById;componentSetId=null;constructor(t,r,n,o,i){this.variableState=r,this.nodeById=n,this.componentSetId=o,t==="LITERAL"?this.idState={type:"LITERAL",atom:q(i)}:(i=i,i.type,this.idState={type:"VARIABLE_ALIAS",atom:q(i)})}get(t,r){if(this.componentSetId===null)return null;if(this.idState.type==="VARIABLE_ALIAS"){let n=t(this.idState.atom),o=this.variableState.evaluateVariable(t,n.id,r);return Ez(t,this.componentSetId,this.nodeById,o)}else return t(this.idState.atom)}set(t,r,n){if(this.idState.type==="LITERAL")Z().set(this.idState.atom,n);else{let o=t(this.idState.atom),s=t(this.nodeById.get(n)).name.split("="),a=s[s.length-1];this.variableState.setVariable(o.id,a,r)}}reset(){this.idState.type,this.idState.type==="LITERAL"&&Z().set(this.idState.atom,null)}};var xh=class{map;nodeById;assetIdToGuid;assetIdToAssetKeyCache;constructor(t,r){this.map=new WeakMap,this.nodeById=t,this.assetIdToGuid=r,this.assetIdToAssetKeyCache=new Map}setVariable(t,r,n){let o=Z(),i=this.getVariable(t,o.get);i&&o.get(i.atom).setModeValue(r,n)}evaluateVariable(t,r,n){let o=this.getVariable(r,t);if(!o)return null;let i=t(o.atom),s=t(i.getModeValue(n));return rn({get:t,variableState:this,modeContext:n},s)}getVariable(t,r){let n=this.getAssetGuid(t),o=this.nodeById.get(n);if(!o||r(o).type!=="VARIABLE")return null;let i=this.map.get(o);if(i)return i;let s=new $x(o,this,this.nodeById);return this.map.set(o,s),s}getAssetKeyOrLocalGuid(t){let r=t.indexOf("/");if(r===-1)return t;this.assetIdToAssetKeyCache.has(t)||this.assetIdToAssetKeyCache.set(t,t.substring(0,r));let n=this.assetIdToAssetKeyCache.get(t);return ue(n!==void 0,"assetKey is undefined"),n}getAssetGuid(t){return this.assetIdToGuid.get(t)||t}},$x=class{atom;modeAtoms;constructor(t,r,n){this.modeAtoms=new Map,this.atom=q(o=>{let i=o(t),s=o(n.get(r.getAssetGuid(i.variableCollectionId))),a=r.getAssetKeyOrLocalGuid(i.variableCollectionId),l=f=>{let d=f?.[a]??s.defaultModeId,p=this.modeAtoms.get(d);return p||(p=new wz(t,d),this.modeAtoms.set(d,p)),p};return{getModeValue:f=>l(f).atom,setModeValue:(f,d)=>l(d).setValue(f)}})}},wz=class{valueAtom;atom;constructor(t,r){this.valueAtom=q(void 0),this.atom=q(n=>{let i=n(t).valuesByMode[r];return n(this.valueAtom)??i})}setValue(t){Z().set(this.valueAtom,t)}};var Th=null,Wr=class{instanceState;modeContextState=q({});childNodeProps=new Map;transitionAtom=q(void 0);autoLayoutTransitionAtom=q(void 0);stateResetHandlers=[];variableState;cmsDataState=null;static createRoot(t,r,n){(!Th||n)&&(Th=new xh(t.nodeById,t.assetIdToGuid));let o={backingComponentId:new Ul("LITERAL",Th,t.nodeById,null,null),componentPropState:new Map};return new Wr(Th,r,o)}constructor(t,r,n){this.variableState=t,this.cmsDataState=r,this.instanceState=n}resetComponentState=(t,r)=>{this.instanceState.backingComponentId.reset(),this.stateResetHandlers.forEach(n=>n(t,r))};getChildState(t,r,n){let o="componentSetId"in r&&r.componentSetId?r.componentSetId:null,i=this.childNodeProps.get(t),s,a=0;if(r.type==="INSTANCE"){let u=(r.type==="INSTANCE"?r:void 0)?.componentProperties,c=new Ul("LITERAL",this.variableState,n,o,null),f=c;if(u!==void 0){for(let[d,p]of Object.entries(u))if(p.type==="VARIANT"&&(a+=1,"boundVariables"in p&&p.boundVariables)){let v=p.boundVariables.value;v!==void 0&&(f=new Ul("VARIABLE_ALIAS",this.variableState,n,o,v))}}s={backingComponentId:a>1?c:f,componentPropState:new Map}}else s=this.instanceState;
75return i||(i=new Wr(this.variableState,this.cmsDataState,s),this.childNodeProps.set(t,i),o&&this.stateResetHandlers.push(i.resetComponentState)),i}};var ise=R(O());function Cz(e,t,r,n,o){Object.entries(e).forEach(([i,s])=>{(!n||!n[i])&&(t[s]=a=>{let l=r[i];typeof a!=typeof l&&console.error(`Expected value of type ${typeof l} for property ${i}, but got ${typeof a}`),r[i]=a,o?.()})})}function Kx(e){let t={};if(!e)return t;for(let[r,n]of Object.entries(e))n.setter&&(t[r]=n.setter);return t}var CP={src:""};function Eh(e,t,r,n){if(!n||!r)return CP;let o=e?.image?t(n,e?.image):void 0,s=(e?.animatedImage?t(n,e.animatedImage):void 0)??o;return s?{src:r(s.url),height:s.size?.y??e.originalImageHeight,width:s.size?.x??e.originalImageWidth,alt:e.altText}:CP}var IP=new Map,Iz={renderedByCode:!0};function Az({guid:e,modeContext:t,...r}){let n=Q(),o=(0,zn.useMemo)(()=>n?[{key:e,nodeId:e,nodeById:n.websiteData.nodeById,assets:n.websiteData.assets,assetIdToGuid:n.websiteData.assetIdToGuid,guidToUrl:n.websiteData.guidToUrl,animateRootIds:n.websiteData.animateRootIds,stablePathToAssetHash:n.websiteData.stablePathToAssetHash,modeContext:t??{},parentState:Wr.createRoot(n.websiteData,null),parentStates:null}]:[],[e,n,t]),i=um(o),s=(0,zn.useMemo)(()=>{let a=Object.fromEntries(Object.entries(r).filter(([l])=>l.startsWith("data-")));return{...Iz,style:r.style,className:r.className,dataAttributes:a}},[r]);return i[0]?(0,Yx.jsx)(ln,{node:i[0],parent:null,context:s}):null}function RP(e,t,r){let[,n]=(0,zn.useReducer)(u=>u+1,0),{variableState:o,modeContext:i}=e,s=Q()?.getAssetURL,{finalProps:a,boundVariables:l}=(0,zn.useMemo)(()=>{let u=Object.fromEntries(Object.entries(LP(e.componentProperties,s,e.assets,r,i))),c=kP(e.componentProperties);return{finalProps:u,boundVariables:c}},[e.componentProperties,r,i,s,e.assets]);if(o&&i)for(let[u,c]of Object.entries(l)){let f=t[u];f&&(a[f]=_P(c,o,i)),MP(c,u,o,a,i,n)}return Object.entries(t).forEach(([u,c])=>{l[u]||(a[c]=f=>{let d=a[u];typeof f!=typeof d&&console.error(`Expected value of type ${typeof d} for property ${u}, but got ${typeof f}`),a[u]=f,n()})}),a}function NP(e){let t=Q(),{websiteData:r}=t??{},n=Z(),o=(0,zn.useMemo)(()=>!t||!r||!e?.length?[]:e.map(s=>{if(s.behaviorType!==Ae.Code)return null;let a=s.codeComponentId,l=r.assetIdToGuid.get(a)?.toString(),u=l?r.nodeById.get(l):null,c=u?n.get(u):null;return c?{codeNode:c,codeComponentId:a}:null}).filter(s=>s!==null),[t,r,n,e]);return(0,zn.useMemo)(()=>({codeNodes:o.map(s=>s.codeNode),codeComponentIds:o.map(s=>s.codeComponentId)}),[o])}function bP(e,t,r,n,o,i,s,a){let[,l]=(0,zn.useReducer)(d=>d+1,0),u=Q()?.getAssetURL,{finalProps:c,boundVariables:f}=(0,zn.useMemo)(()=>{let d=Object.fromEntries(Object.entries(LP(e?.componentPropertyDefinitions,u,s,i)));for(let[v,m]of(r??[]).entries()){if(!m||m.behaviorType!==Ae.Code)continue;let T=a?.[v];if(m.codeComponentId===T){for(let h of Object.keys(d))h in m.assignments&&m.assignments[h]!==void 0&&(typeof d[h]=="function"&&typeof m.assignments[h]=="string"?d[h]=OP(m.assignments[h]):typeof m.assignments[h]=="object"&&"image"in m.assignments[h]?d[h]=Eh(m.assignments[h],mo,u,s):d[h]=m.assignments[h]);break}}let p=kP(e?.componentPropertyDefinitions);return{finalProps:d,boundVariables:p}},[e?.componentPropertyDefinitions,u,s,i,r,a]);if(n&&o)for(let[d,p]of Object.entries(f)){let v=t[d];v&&(c[v]=_P(p,n,o)),MP(p,d,n,c,o,l)}return Object.entries(t).forEach(([d,p])=>{f[d]||(c[p]=v=>{let m=c[d];typeof v!=typeof m&&console.error(`Expected value of type ${typeof m} for property ${d}, but got ${typeof v}`),c[d]=v,l()})}),c}var AP;(function(e){e[e.None=0]="None",e[e.Mouse=1]="Mouse",e[e.Motion=2]="Motion",e[e.Uncategorized=3]="Uncategorized",e[e.TextOnly=4]="TextOnly"})(AP||(AP={}));function PP(e){let t=r=>{if(r.behaviorType!==Ae.Code)return 0;let{category:n,nodeTypes:o}=r.codeBehaviorData,i=0;switch(n){case"mouse":i=1;break;case"motion":i=2;break;default:i=3;break}return o&&o.includes("TEXT")&&(i=4),i};return[...e].sort((r,n)=>t(r)-t(n))}function OP(e,t){let r=IP.get(e);return r||(r=function(o){return e?(0,Yx.jsx)(Az,{guid:e,modeContext:t,...o}
75):null},IP.set(e,r),r)}function LP(e,t,r,n,o){let i={};if(!e)return i;for(let s in e){let a=e[s],l=s.substring(0,s.lastIndexOf("#"));if(l&&a&&"type"in a)if(a.type==="INSTANCE_SWAP")if("value"in a&&a.value!=="-1:-1")i[l]=OP(a.value,o);else if(n?.[l]?.defaultValue){let u=n[l].defaultValue;i[l]=u??(()=>null)}else i[l]=()=>null;else if(a.type==="TEXT"){let u="value"in a?a.value:a.defaultValue;i[l]=u.characters}else if(a.type==="IMAGE")if("value"in a&&a.value!==null&&a.value.image)i[l]=Eh(a.value,mo,t,r);else if(n?.[l]?.defaultValue){let u=n[l].defaultValue;i[l]=typeof u=="string"?{src:u}:YC(u)}else i[l]={src:""};else i[l]="value"in a?a.value:"defaultValue"in a?a.defaultValue:void 0}return i}function kP(e){let t={};if(!e)return t;for(let r in e){let n=e[r],o=r.substring(0,r.lastIndexOf("#"));if(o&&n&&"boundVariables"in n&&n.boundVariables){let i=n.boundVariables;i.value&&(t[o]=i.value.id)}}return t}function _P(e,t,r){let n=Z().get;return o=>{let i=t.evaluateVariable(n,e,r);if(typeof o!=typeof i&&console.error(`Expected value of type ${typeof i} for variable ${e}, but got ${typeof o}`),typeof o=="function"){console.error("Cannot set function as variable value");return}if(typeof o=="object"&&"src"in o){console.error("Cannot set image prop as variable value");return}t.setVariable(e,o,r)}}function MP(e,t,r,n,o,i){let s=Z(),a=s.get,l=r.getVariable(e,a);if(l?.atom){let c=s.get(l.atom).getModeValue(o),f=r.evaluateVariable(a,e,o);return n[t]=f,s.sub(c,()=>{let p=r.evaluateVariable(a,e,o);n[t]=p,i()})}}async function wh(e,t){let r=(t||"default").split(".");if(r.length===0)throw new J(`Code export name ${t} is empty`);let[n,o]=r;if(typeof e!="object")throw new J(`Code export ${t} is not an object`);let s=e[n];if(r.length===1){if(s==null)throw new J(`Code export ${t} (${n}) is nullish`);return s}if(typeof s!="function")throw new J(`Code export ${t} (${n}) is not an function`);let a=await s();if(typeof a!="object")throw new J(`Code export ${t} (${o}) is not an object`);let l=a[o];if(l==null)throw new J(`Code export ${t} (${o}) is nullish`);return l}function DP(e){let t={};if(!e)return t;for(let[r,n]of Object.entries(e))n.setter&&(t[r]=n.setter);return t}var jl=(e,t,r)=>{let n=new Sr(r);n.errorDetail=`sourceCodeHash: ${e}`,Qe.reportError(n),console.error(r,t)};var BP=R(O()),Rz=class FP{renderHooks;constructor(t=[]){this.renderHooks=t}cloneWithAdditionalHook(t){return new FP([...this.renderHooks,t])}},Bs=BP.createContext(new Rz);var VP=R(O()),jc=VP.createContext({isSnapshot:!1,snapshot:()=>{},enableManualSnapshot:()=>{}});var zP=R(G()),Ch=R(O());var Gl=Ch.createContext({shouldReduceMotion:!1});function Xx({children:e}){let t=zd(),r=Ch.useMemo(()=>({shouldReduceMotion:t}),[t]);return(0,zP.jsx)(Gl.Provider,{value:r,children:e})}var UP=Hr.forwardRef(({children:e,tag:t,outerStyles:r},n)=>{let o=z({display:"flex",...r}),i=(0,HP.default)(o,"tailwind","code-behavior-wrapper");return(0,Lt.jsx)(t??"div",{ref:n,className:i,children:e})});UP.displayName="CodeWrapperDiv";var Gc=Hr.forwardRef(({children:e,codeBehaviors:t,variableState:r,modeContext:n,assets:o},i)=>{let s=zr(),a=_n();return(0,Lt.jsx)(yh,{children:(0,Lt.jsx)(kn,{children:(0,Lt.jsx)(Wi,{children:()=>(0,Lt.jsx)(UP,{tag:a,ref:i,outerStyles:s,children:(0,Lt.jsx)(kz,{codeBehaviors:t,variableState:r,modeContext:n,assets:o,children:e})})})})})});Gc.displayName="CodeBehaviorWrapper";function Lz({node:e,Component:t,codeBehaviors:r,variableState:n,modeContext:o,children:i,assets:s,codeComponentIds:a}){let l=_z(t),u=DP(l),f={...bP(e,u,r,n,o,l,s,a),children:i};return(0,Lt.jsx)(t,{...f})}function kz({children:e,codeBehaviors:t,variableState:r,modeContext:n,assets:o}){zi("CodeComponentContent");let i=zl(),s=Q(),a=Q().getAssetURL,[l,u]=Hr.useState([]);window.__GLOBALS__={React:Hr,ReactJSXRuntime:bz,ReactJSXDevRuntime:Nz,ReactDOM:Pz,ReactDOMClient:Oz,SnapshotContext:jc,RenderHooksContext:Bs,ActiveBreakpointContext:Wl,WebsiteSettingsContext:Gl,getAssetURL:a};let c=Hr.useMemo(()=>PP(t),[t]),{codeNodes:f,codeComponentIds:d}=NP(c),p=Q().websiteData.sourceCodeHash,v=Ie(p),m=Hr.useRef({});return Hr.useEffect(()=>{if(!s||!f.length)return;let T=f.filter(h=>!m.current[h.id]);T.length!==0&&Promise.all(T.map(async h=>{try{let y=await import(s.getCodeComponentURL(h)),S=await wh(y,h.
75codeExportName);return m.current[h.id]=S,S}catch(g){return jl(v,g,"Failed to import code behavior module"),null}})).then(h=>{h.some(g=>g!==null)&&u(f.map(g=>m.current[g.id]||null))}).catch(h=>{jl(v,h,"Failed to load code behavior")})},[f,s,v]),!f.length||!s||!i?(0,Lt.jsx)(Lt.Fragment,{children:e}):l.length!==f.length||l.some(T=>T===null)?(0,Lt.jsx)(Lt.Fragment,{children:e}):(0,Lt.jsx)(Lt.Fragment,{children:[...f].reverse().reduce((T,h,g)=>{let y=l.length-1-g,x=l[y];return x?(0,Lt.jsx)(Lz,{node:h,Component:x,codeBehaviors:t,variableState:r,modeContext:n,assets:o,codeComponentIds:d,children:T},h.id):T},e)})}function _z(e){return e?e[Symbol.for("figma.react.props")]??{}:null}function Ih(){let e=(0,WP.useRef)(null);return{codeBehaviorWrapperRef:e,updateStyles:(r,n)=>{e.current&&(e.current.style.setProperty(Li,`${n}`),e.current.style.setProperty(ki,`${r}`))}}}var Hi=R(G()),Fse=R(O());function qx(e){let{parent:t,node:r,children:n}=e;return Wp(r,t)?(0,Hi.jsx)(Mz,{node:r,parent:t,children:n}):(0,Hi.jsx)(Hi.Fragment,{children:n})}function Mz(e){let{node:t,parent:r,children:n}=e,o=se(t,"fillWrapper"),{order:i,...s}=zr()??{},a=z({display:"flex",flex:s.flex,flexDirection:r.layoutMode==="HORIZONTAL"?"row":"column",alignSelf:"stretch",alignItems:Tx(r.counterAxisAlignItems),order:i}),l=_n();return(0,Hi.jsx)(Ot,{outerStyles:s,children:(0,Hi.jsx)(kn,{children:(0,Hi.jsx)(l,{id:o,className:a,children:n})})})}var Nh=R(G()),bh=R(O());var Ui=R(G()),Rh=R(O());function $c(e){if(typeof Intl<"u"&&Intl.Segmenter)try{let t=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(t.segment(e),r=>r.segment)}catch{return Array.from(e)}return Array.from(e)}function jP(e){return Array.from(e).some(t=>{let r=t.codePointAt(0);return r!==void 0&&r>127})}function Ah(e){if(typeof Intl<"u"&&Intl.Segmenter)try{let t=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(t.segment(e)).length}catch{return Array.from(e).length}return Array.from(e).length}function GP(e,t){if(e.type!=="TEXT")return e;let r=t.renderText({characters:e.characters,length:Ah(e.characters),TextComponent:n=>(n.characters&&(e={...e,characters:n.characters}),null)});return r?.props?.characters?{...e,characters:r.props.characters}:e}function $P(e,t){if(e.type!=="TEXT")return e;let r=e.characters,n=r,o=r.replace(/\r/g," ").split(`
76`),i=new Map,s=new Map,a=0;for(let l=0;l<o.length;l++){let u=o[l];if(!u)continue;let c=$c(u),f=[];i.set(l,f);let d=new Map;s.set(l,d);let p=0;
76c.forEach((v,m)=>{for(let T=0;T<v.length;T++)d.set(p,m),p++});for(let v=0;v<c.length;v++){let m=c[v]||"",T=t.renderTextCharacter({character:m,index:v,globalIndex:a,columnIndex:v,lineNumber:l,characters:r,TextCharacterComponent:h=>{let g=/[\u2028\u2029]/;if(h.character&&g.test(h.character))return(0,Ui.jsx)("br",{});if(h.character&&h.character!==m){let y=h.index??v,x=$c(n);if(y<x.length){let S=x.slice(0,y),E=x.slice(y+1);n=[...S,h.character,...E].join("")}}return(0,Ui.jsx)("span",{children:h.character??m},`char-${l}-${v}`)}});T?f[v]=T:f[v]=m,a++}}return{...e,...Array.from(i.values()).some(l=>l.some(u=>Rh.isValidElement(u)))?{characterWrapper:({char:l,index:u,lineIndex:c})=>{let f=s.get(c)||new Map,d=f.get(u)??0,v=(i.get(c)||[])[d],m=u===0||f.get(u-1)!==d;return m&&Rh.isValidElement(v)?v:!m&&Rh.isValidElement(v)?"":l},characters:e.characters}:n!==r?{characters:n}:{}}}function KP(e,t){if(e.type!=="TEXT")return e;let r=e.characters,n=r.replace(/\r/g," ").split(`
77`),o=[];for(let i=0;i<n.length;i++){let s=n[i];if(!s)continue;let a=t.renderTextLine({line:s,index:i,characters:r,length:Ah(s),TextLineComponent:l=>(0,Ui.jsx)("span",{children:l.line??s},`line-${i}`)});a&&(o[i]=a)}return{...e,...o.length>0?{lineWrapper:({line:i,index:s})=>o[s]||i,characters:e.characters}:{}}}function YP(e,t){if(e.type!=="TEXT")return e;let r=e.characters,n=r.replace(/\r/g," ").split(`
78`),o={},i=0,s=[],a=[];for(let l=0;l<n.length;l++){let u=n[l],c=0,f=0,d=0,p=[],v=u?.split(/(\s+)/g)??[];for(let m of v)if(m){if(/^\s+$/.test(m))o[`${l}:${c}`]=i,s.push({word:m}),c++;else{let T=f,h=g=>t.renderTextWord({word:m,index:T,characters:r,length:Ah(m),TextWordComponent:y=>y.word==null||y.word===m?(0,Ui.jsx)(Ui.Fragment,{children:g}):(0,Ui.jsx)("span",{children:y.word},`word-${l}-${T}`)});o[`${l}:${c}`]=i,s.push({render:h,word:m}),c++,f++}i++,p.push(d),d+=m.length}l<n.length-1&&(o[`${l}:${c}`]=i,s.push({word:`
79`}),c++,i++),a.push(p)}return{...e,...s.length>0?{wordWrapper:{render({wordIndex:l,lineIndex:u,originalRenderedWord:c}){let f=o[`${u}:${l}`]??l,d=s[f];return d?d.render?.(c)||d.word:c},groupSpansByWord(l,u){let c=a[l]??[],f=0,d=0,p=[],v=[];for(let m of u)f<c.length-1&&d>=c[f+1]?(v.push(p),p=[m],f++):p.push(m),d+=m?.characters.length??0;return v.push(p),v}}}:{}}}function XP(e,t,r,n,o){return r?t.getLayerRef({layerRef:r,parentRef:o,Component:()=>null}):n(e)||null}function Kc(e,t){return t in e}function Ph({renderNode:e,node:t,codeBehaviorProps:r}){let n=bh.useContext(Bs),o=bh.useRef(null),i=r?.transformRef||o,s=r?.parentRef;if(!n?.renderHooks.length)return e(t)||(0,Nh.jsx)(Nh.Fragment,{});let a=t;for(let l of n.renderHooks)if(Kc(l,"renderText"))a=GP(a,l);else if(Kc(l,"renderTextCharacter"))a=$P(a,l);else if(Kc(l,"renderTextLine"))a=KP(a,l);else if(Kc(l,"renderTextWord"))a=YP(a,l);else if(Kc(l,"getLayerRef"))XP(a,l,i,e,s);else throw new J("Render hook not supported.");return e(a)||null}var $t=R(G()),xe=R(O());function Oh(e,t){let r=(0,xe.useRef)(null);(0,xe.useLayoutEffect)(()=>{if(!e||!e.current)return;let n=new ResizeObserver(o=>{for(let i of o)if(e.current===i.target){let s=i.contentRect.width,a=i.contentRect.height;if(r&&r.current&&r.current.width===s&&r.current.height===a)continue;let u={width:i.contentRect.width,height:i.contentRect.height};r.current=u,t&&t(u)}});return n.observe(e.current),()=>n.disconnect()},[e,t])}function Qx({outerStyles:e,childWrapperStyles:t,innerState:r}){let o=z({...e,...{display:"flex",alignItems:"center",justifyContent:"center"}});return{inner:z({flex:"0 0 auto",...t,...r}),outer:o}}var Lh=xe.default.forwardRef(function(t,r){let n=zr()??{height:"100%",width:"100%"};return(0,$t.jsx)(yh,{children:(0,$t.jsx)(Wi,{fallback:(0,$t.jsx)(Fz,{outerStyles:n,...t}),children:()=>t.canAnimate?(0,$t.jsx)(Bz,{ref:r,outerStyles:n,...t}):(0,$t.jsx)(Dz,{ref:r,outerStyles:n,...t})})})}),Dz=xe.default.forwardRef(function({node:t,parent:r,context:n,children:o,outerStyles:i,childWrapperStyles:s,transitionData:a,smartAnimateType:l,transformRef:u,onOuterWrapperSizeChange:c},f){let d=se(t,"transform-wrapper-outer"),p=se(t,"transform-wrapper-inner"),v=(0,xe.useRef)(null),m=u||v,T=Bn(f,m),h=(0,xe.useRef)(null),g=(0,xe.useMemo)(()=>xr(_r(n?.group?.relativeTransform,t.relativeTransform)),[n?.group?.relativeTransform,t.relativeTransform]),y=(0,xe.useMemo)(()=>sn(t,r),[t,r]),x=At(),S=(0,xe.useCallback)(k=>{let B=k.width,A=k.height;if(sn(t,r)&&!x){let{width:U,height:M,transform:H}=Hp(B,A,g,t.size,t.absoluteBoundingBox);ue(h.current!==null,"TransformWrapperStatic innerRef not set when setting outer size"),h.current.style.setProperty("width",`${U}px`),h.current.style.setProperty("height",`${M}px`),h.current.style.setProperty("transform",H)}else h.current?.style.removeProperty("width"),h.current?.style.removeProperty("height"),h.current?.style.removeProperty("transform")},[t,g,r,x]),E=(0,xe.useCallback)(k=>{if(ue(m.current!==null,"TransformWrapperStatic outerRef not set when setting inner size"),y||!Ll(g))return;let B=parseFloat(m.current.style.getPropertyValue(Li)),A=parseFloat(m.current.style.getPropertyValue(ki));qe(B,k.width,1e-4)||(m.current.style.setProperty(Li,`${k.width}`),c?.(k.height,k.width)),qe(A,k.height,1e-4)||(m.current.style.setProperty(ki,`${k.height}`),c?.(k.height,k.width))},[m,y,g,c]);Oh(m,S),Oh(h,E),(0,xe.useLayoutEffect)(()=>{m.current&&S({width:m.current.clientWidth,height:m.current.clientHeight}),h.current&&E({width:h.current.clientWidth,height:h.current.clientHeight})},[]),(0,xe.useLayoutEffect)(()=>
79{if(m.current){let k=m.current.getBoundingClientRect(),B=k.width,A=k.height;S({width:B,height:A})}},[t.id]);let{inner:w,outer:C}=Qx({outerStyles:i,childWrapperStyles:s}),N=zt(a),{motionTransitionProps:I}=XI(l??$.NONE,a,N),b=co(l??$.NONE,a,i.transform),P=_n();return(0,$t.jsx)(kn,{children:(0,$t.jsx)(Fl,{tag:P,needsMotion:!!l&&l!==$.NONE,motionProps:{...I,...b},id:d,ref:T,className:C,children:(0,$t.jsx)("div",{id:p,ref:h,className:w,children:o})})})}),Bz=xe.default.forwardRef(function({node:t,parent:r,context:n,children:o,outerStyles:i,childWrapperStyles:s,transitionData:a,previousRotation:l,transformRef:u,onOuterWrapperSizeChange:c},f){let d=se(t,"transform-wrapper-outer"),p=se(t,"transform-wrapper-inner"),v=(0,xe.useRef)(null),m=u||v,T=Bn(f,m),h=(0,xe.useRef)(null),g=(0,xe.useRef)(!1),y=(0,xe.useRef)(!1),x=g.current&&y.current,[S,E]=(0,xe.useState)(void 0),[w,C]=(0,xe.useState)(void 0),N=sn(t,r),I=(0,xe.useCallback)(V=>{let X=V.width,pe=V.height;if(g.current=!0,N){let Te=xr(_r(n?.group?.relativeTransform,t.relativeTransform)),{width:Je,height:Ye,transform:Ar}=Hp(X,pe,Te,t.size,t.absoluteBoundingBox,!0,l);ue(h.current!==null,"TransformWrapperAnimate innerRef not set when setting outer size"),E({width:Je,height:Ye,transform:Ar})}else E(void 0)},[t,n?.group?.relativeTransform,N,l]),b=(0,xe.useCallback)(V=>{y.current=!0,(!w||!qe(w.width,V.width,1e-4)||!qe(w.height,V.height,1e-4))&&(C({width:V.width,height:V.height}),c?.(V.height,V.width))},[w,c]);Oh(m,I),Oh(h,b),(0,xe.useLayoutEffect)(()=>{if(m.current){let V=m.current.getBoundingClientRect(),X=V.width,pe=V.height;w&&!(qe(X,w?.width??0,1e-4)&&qe(pe,w?.height??0,1e-4))&&I({width:X,height:pe})}},[t.id]);let{transform:P,...k}=s,B=S?{width:S.width,height:S.height}:void 0;if(!S?.transform&&!P){let V=vx(l.current,0);l.current=l.current+V}let A=`rotate(${l.current}deg) skewX(0deg) skewY(0deg) scaleX(1) scaleY(1)`,U="";N?U=S?.transform??P??A:U=P??S?.transform??A;let{inner:M,outer:H}=Qx({outerStyles:i,childWrapperStyles:k,innerState:B}),K={[Li]:w?.width??0,[ki]:w?.height??0},te=zt(a),{motionTransitionProps:Ne}=YI(K,x,a,x?te:void 0),ve=co($.INSTANCE_SUBTREE,a,i.transform),de=Nb();return(0,$t.jsx)(kn,{children:(0,$t.jsx)(de,{id:d,ref:T,className:H,...Ne,...ve,children:(0,$t.jsx)(Br.div,{id:p,layout:!0,layoutDependency:a?.id??Qv,className:M,ref:h,transition:a?{duration:a.durationSeconds,...a.motionAnimationData}:{duration:0},initial:{transform:U},animate:{transform:U},onAnimationComplete:x?te:void 0,onLayoutAnimationComplete:x?te:void 0,transformTemplate:(V,X)=>V&&V.transform?`${X} ${V.transform}`:X,children:o})})})});function Fz({children:e,outerStyles:t,childWrapperStyles:r}){let{inner:n,outer:o}=Qx({outerStyles:t,childWrapperStyles:r}),i=_n();return(0,$t.jsx)(kn,{children:(0,$t.jsx)(i,{className:o,children:(0,$t.jsx)("div",{className:n,children:e})})})}function jr(e){let{node:t,parent:r,context:n,children:o,transitionProps:i,styles:s,layerRef:a,outerRef:l,previousRotation:u,codeBehaviorProps:c}=e;return zz({node:t,parent:r,context:n,transitionProps:i})?(0,Ur.jsx)(Vz,{node:t,parent:r,context:n,layerRef:a,outerRef:l,previousRotation:u,transitionProps:i,codeBehaviorProps:c,styles:s,children:o}):(0,Ur.jsx)(Mc,{node:t,stickyWrapperStyles:s.stickyWrapper,children:(0,Ur.jsx)(qx,{node:t,parent:r,children:o})})}function Vz(e){let{children:t,context:r,node:n,layerRef:o,codeBehaviorProps:i,outerRef:s,parent:a,previousRotation:l,styles:{transform:u,stickyWrapper:c},transitionProps:f}=e,{codeBehaviorWrapperRef:d,updateStyles:p}=Ih(),v=qP({node:n,parent:a,context:r,transitionProps:f}),m=QP(n),T=f?.transitionData,h=f?.smartAnimateType??$.NONE,g=h===$.INSTANCE_SUBTREE,y=n.type!=="WIDGET"&&fo(h,n.maybeAnimateRotation),x=Zx.default.useMemo(()=>v?(0,Ur.jsx)(Lh,{ref:y||g?o:null,context:r,node:n,parent:a,childWrapperStyles:{...u},transitionData:T,canAnimate:y,smartAnimateType:h,previousRotation:l,transformRef:s,onOuterWrapperSizeChange:p,children:t}):(0,Ur.jsx)(Ur.Fragment,{children:t}),[y,g,r,n,a,u,T,h,l,o,s,p,t,v]),S=Zx.default.useMemo(()=>()=>x,[x]);if(m){let E=n.behaviors.code;return(0,Ur.jsx)(Gc,{codeBehaviors:E,variableState:n.variableState,modeContext:n.modeContext,ref:d,assets:n.assets,children:(0,Ur.jsx)(Ph,{node:n,renderNode:S,codeBehaviorProps:{...i,transformRef:s}})})}return(0,Ur.jsx)(Mc,{node:n,stickyWrapperStyles:c,children:(0,Ur.jsx)(qx,{node:n,parent:a,children:x})})}function zz(e){return qP(e)||QP(e.node)}
79function qP(e){let{context:t,node:r,parent:n,transitionProps:o}=e,i=ks(r,n,t);if(r.type==="GROUP")return i&&Ut(r,n);{let s=r.type!=="WIDGET"&&fo(o?.smartAnimateType??$.NONE,r.maybeAnimateRotation);return ks(r,n,t)||s}}function QP(e){if(e.type==="REPEATER"||e.type==="CMS_RICH_TEXT"||e.type==="WIDGET")return!1;let t=e.behaviors?.code;return Boolean(t&&t.length>0)}var Jx="data-width",e0="data-height",kh=(0,Yt.forwardRef)(function({node:t,parent:r,children:n,context:o,depth:i,interactionHandlers:s,transitionProps:a,codeBehaviorProps:l},u){let c=ae(),f=At(),d=a?.smartAnimateType??$.NONE,p=Rb(t,r,n),v=fo(d,t.maybeAnimateRotation),m=ka(),T=sr({node:t,parent:r,context:o,depth:i,children:n,itemSpacing:p,options:{canAnimate:v,previousRotation:m}}),h=Ir().scalingMode==="SCALE",g=Vr({node:t,context:o}),y=Gt(o,t),x=!f,S=Yd(t.fills,t.assets,{width:t.size.x,height:t.size.y},x),E=a?.transitionData,w=zt(E),C=t.interactions??[],N=Wn(C),I=un(C),b=S.some($n=>$n.imageProps),P=!I&&!N&&b,k=P?{}:Di(t),B=Yt.default.useMemo(()=>({opacity:y,transform:xn(T.outer.transform)}),[y,T.outer.transform]),A=Ln(t,o),{motionProps:U,key:M,ref:H}=Dn(t.id,t.behaviors,t.assets,B,A),K=(0,Yt.useRef)(null),te=Bn(H,K),Ne=Bn(u,te),ve={...lr(y),...fi(t)},de=t.scrollBehavior==="FIXED"||t.scrollBehavior==="STICKY_SCROLLS",V=d===$.INSTANCE_SUBTREE,X=d!==$.NONE,pe=o?.withinInteractiveElement||Object.keys(U).length>0||V,Te=_i(t,I,N,pe,o?.parentIsList),Je=Hn(C,s,pe,c),Ye=Yt.default.useMemo(()=>n?.every($n=>$n.layoutAlign==="STRETCH")??!0,[n]),Ar=Yt.default.useMemo(()=>({group:void 0,isInStickyOrFixedTree:de||(o?.isInStickyOrFixedTree??!1),negativeItemSpacing:p&&p<0?p:void 0,withinInteractiveElement:o?.withinInteractiveElement||I||N,parentIsList:kl(Te),allChildrenAreFillWidth:Ye}),[o?.isInStickyOrFixedTree,o?.withinInteractiveElement,I,N,Te,de,p,Ye]),_o=se(t),fn=Fn(t),ht=Yt.default.useMemo(()=>{let $n={"data-name":fn};return o?.dataAttributes&&Object.entries(o.dataAttributes).forEach(([oL,iL])=>{$n[oL]=iL}),$n},[fn,o?.dataAttributes]),_t=ci(t),ur="clipsContent"in t&&t.clipsContent,gt=dA(t,r),Ge=V,{clipperStyles:Mo,containerStyles:cr,borderStyles:Do,sharedBackgroundStyles:Ki}=Ob(t,r,ve,Ge),Jl=ar({node:t,parent:r,children:n}),Gn=Yt.default.useMemo(()=>n?.length?Dl(t,r,o):{},[n,t,r,o]);r||(ee.state?.compactDOM?Gn={overflow:ur&&(cr.borderRadius||cr.borderTopLeftRadius||cr.borderTopRightRadius||cr.borderBottomLeftRadius||cr.borderBottomRightRadius)?"clip":void 0}:ee.state?.independentRootNode?Gn={overflow:ur?"clip":void 0}:o?.renderedByCode||ee.state?.withBaseStyles&&(ht["data-page-overflowx"]=Gn.overflowX,Gn={overflow:"clip"}));let Yi=bt(t),eu=Yi&&fP(t,r),Hs=Yt.default.useMemo(()=>({minWidth:typeof t.minWidth=="number",minHeight:typeof t.minHeight=="number",maxWidth:typeof t.maxWidth=="number",maxHeight:typeof t.maxHeight=="number"}),[t.minWidth,t.minHeight,t.maxWidth,t.maxHeight]),Qc=Yt.default.useMemo(()=>({hasChildNodes:!!n?.length,parentHasStrokes:_t,parentClipsContent:ur,parentIsAutoLayout:Yi,parentHasAutoLayoutPadding:eu,parentSizeConstraints:Hs,parentIncludesStrokesInLayout:r?.strokesIncludedInLayout??!1,canSmartAnimate:X,isResponsiveScalingEnabled:h}),[n?.length,_t,ur,Yi,eu,r,X,h,Hs]),Bo=ph(Qc),b0=Yt.default.useMemo(()=>Do?(0,Kt.jsx)(aP,{node:t,smartAnimateType:d,nodeHasStrokes:_t,transitionData:E,borderStyles:Do}):null,[Do,t,d,_t,E]),JO=Yt.default.useMemo(()=>(0,Kt.jsx)(oP,{node:t,parent:r,sharedBackgroundStyles:{...Ki,...gt},backgroundInfo:S,smartAnimateType:d,transitionData:E,alt:P?t.accessibleLabel:void 0}),[t,r,Ki,gt,S,d,E,P]),Xh=(V||_t||S.length>1||Vx(t)||S.some($n=>$n.needsBackgroundDiv))&&!f;Xh||(T.outer.mixBlendMode||=S[0]?.backgroundStyles?.mixBlendMode);let{mixBlendMode:gW,...eL}=S[0]?.backgroundStyles??{},qh={...cr,...Bo?{}:T.inner,...T.stickyWrapper?rh:{},...Bo?{}:Mo,...Bo?{}:Gn,...!Xh&&ee.state?.withBaseStyles?{...Ki,...eL}:{},...g,...o?.style||{}};Je.onClick&&T.stickyWrapper&&qh.display===void 0&&(qh.display="block");let tL=t.type==="FRAME"&&t.isBreakpointFrame,rL=(0,Yt.useRef)(null),P0=(0,Kt.jsx)(mP,{...Qc,parent:t,listTag:Bo&&kl(Te)?Te:void 0,styles:{clipperStyles:Mo,innerStyles:T.inner,overflowStyles:Gn,borderDisplacement:gt,wrapperSizeStyles:Jl},children:(0,Kt.jsx)(lP,{parent:t,childNodes:n,context:Ar,reverseZIndex:t.type!=="RECTANGLE"&&"itemRever
79seZIndex"in t&&t.itemReverseZIndex,parentRef:K,parentTransitionProps:t.transitionProps,onTransitionEnd:w})}),nL=Dd();return tL&&(ht[am]=Io(t.id),ht[uS]="true",ht[Jx]=t.size.x,ht[e0]=t.size.y,nL)?(0,Kt.jsx)(Kt.Fragment,{children:P0}):(0,Kt.jsx)(_l,{isNodeListItem:Mi(Te),children:(0,Kt.jsx)(Ot,{outerStyles:T.outer,children:(0,Kt.jsxs)(jr,{node:t,parent:r,context:o,transitionProps:a,codeBehaviorProps:l,layerRef:u,outerRef:rL,previousRotation:m,styles:{transform:T.transform,stickyWrapper:T.stickyWrapper},children:[(0,Kt.jsx)(SP,{node:t}),(0,Kt.jsxs)(Vi,{semanticTag:Bo&&kl(Te)?"div":Te,wrapperSizeStyles:Jl,context:o,styles:qh,ref:v?te:Ne,id:_o,...Je,...ht,...k,transitionProps:{opacity:y,smartAnimateType:d,behaviorProps:U,transitionData:E,onTransitionEnd:w},children:[Xh&&JO,ur?null:b0,P0,(0,Kt.jsx)(pP,{node:t,parent:r,alwaysRenderBorderStyles:Ge}),ur?b0:null]},M)]})})})});var Yc="responsive-scaler",Ao="--viewport-scale",t0="--viewport-width",r0="--viewport-height",n0="--layout-width",o0="--layout-height",i0="--content-width-unscaled",ZP="data-min-layout-width",JP="data-max-layout-width",_h={scalingMode:"REFLOW",scalingMinLayoutWidth:320,scalingMaxLayoutWidth:2048,scalingMinFontSize:6,scalingMaxFontSize:288},eO=Ro.default.createContext({..._h,scale:nt(1),viewportWidth:nt("0"),viewportHeight:nt("0"),layoutWidth:nt("0"),layoutHeight:nt("0"),contentWidth:nt("0")});function Ir(){return Ro.default.useContext(eO)}function tO({children:e,materializedChildren:t}){let r=ae(),n=Ro.default.useRef(!0),o=si(),{scalingMode:i,scalingMinLayoutWidth:s,scalingMaxLayoutWidth:a,scalingMinFontSize:l,scalingMaxFontSize:u}=_h;i=o?.scalingMode??i,s=o?.scalingMinLayoutWidth??s,a=o?.scalingMaxLayoutWidth??a,l=o?.scalingMinFontSize??l,u=o?.scalingMaxFontSize??u;let c=1,f="0",d="0",p="0",v="0",m="0";if(r==="published"&&n.current){n.current=!1;let N=document.querySelector(`#${Yc}`);if(N){let I=N.computedStyleMap();c=parseFloat(I.get(Ao)?.toString()??"1"),f=I.get(t0)?.toString()??"0",d=I.get(r0)?.toString()??"0",p=I.get(n0)?.toString()??"0",v=I.get(o0)?.toString()??"0",m=I.get(i0)?.toString()??"0"}}let T=Ni(c),h=Ni(f),g=Ni(d),y=Ni(p),x=Ni(v),S=Ni(m),E=wv(),w=(0,Ro.useMemo)(()=>q(N=>{let I=N(Ca);if(!I.width||!I.height)return{};let b=t[0];if(!b||b.type!=="FRAME"||b.type==="FRAME"&&!b.isBreakpointFrame)return{};let P=I.width,k=I.height,B=b.size.x,A=b.size.y;if(i==="REFLOW")return{viewportWidth:P,viewportHeight:k,layoutWidth:B,layoutHeight:A,contentWidth:B,scale:1};let U=Math.max(Math.min(P,a),s);return{scale:U/B,viewportWidth:P,viewportHeight:k,layoutWidth:B,layoutHeight:A,contentWidth:U}}),[t,a,s,i]);(0,Ro.useEffect)(()=>{function N(){let I=E.get(w);I.scale&&T.set(I.scale),I.viewportWidth&&h.set(I.viewportWidth+"px"),I.viewportHeight&&g.set(I.viewportHeight+"px"),I.layoutWidth&&y.set(I.layoutWidth+"px"),I.layoutHeight&&x.set(I.layoutHeight+"px"),I.contentWidth&&S.set(I.contentWidth+"px")}return N(),E.sub(w,()=>{N()})},[E,w,h,g,y,x,T,S]);let C=(0,Ro.useMemo)(()=>({scalingMode:i,scalingMinLayoutWidth:s,scalingMaxLayoutWidth:a,scalingMinFontSize:l,scalingMaxFontSize:u,viewportWidth:h,viewportHeight:g,layoutWidth:y,layoutHeight:x,contentWidth:S,scale:T}),[S,x,y,T,u,a,l,s,i,g,h]);return(0,$l.jsx)(eO.Provider,{value:C,children:e})}function rO({children:e}){let{scalingMode:t,scalingMinLayoutWidth:r,scalingMaxLayoutWidth:n,scalingMinFontSize:o,scalingMaxFontSize:i,viewportWidth:s,viewportHeight:a,contentWidth:l,scale:u,layoutWidth:c,layoutHeight:f}=Ir();Wz(t);let d=z({width:"var(--viewport-width-scaled)",minHeight:"var(--viewport-height-scaled)",height:"100%",display:"block",position:"absolute",top:"0px",transformOrigin:"top left","--max-layout-width":n+"px","--min-layout-width":r+"px","--max-font-size":i+"px","--min-font-size":o+"px","--viewport-width-scaled":`calc(var(--100dvw) / var(${Ao}))`,"--viewport-height-scaled":`calc(var(--100dvh) / var(${Ao}))`,"--content-width-scaled":`calc(var(--content-width-unscaled) / var(${Ao}))`,"--content-margin-x-scaled":`max(calc((var(--viewport-width) - var(--max-layout-width)) / var(${Ao}) / 2), 0px)`}),p={[t0]:s,[r0]:a,[n0]:c,[o0]:f,[Ao]:u,[i0]:l,scale:u};if(t==="REFLOW")return(0,$l.jsx)($l.Fragment,{children:e});let v={[ZP]:r,[JP]:n};return(0,$l.jsx)(Br.div,{suppressHydrationWarning:!0,...v,id:Yc,className:d,style:p,children:e})}function Wz(e){let t=ae(),r=mI();t==="server"&&e==="SCALE"&&r({elId:"scaler-script",script:`
80      const windowWidth = window.innerWidth;
81      const windowHeight = window.innerHeight;
82      const scalerEl = document.querySelector('#${Yc}');
83      let breakpointEl = null;
84      const breakpointEls = scalerEl?.childNodes || [];
85
86      breakpointEls.forEach((el) => {
87        const style = window.getComputedStyle(el)
88        if (style.display !== 'none') {
89          breakpointEl = el;
90          return false;
91        }
92      });
93
94      if (scalerEl && breakpointEl) {
95        const minWidth = parseInt(scalerEl.getAttribute('${ZP}') || '${_h.scalingMinLayoutWidth}');
96        const maxWidth = parseInt(scalerEl.getAttribute('${JP}') || '${_h.scalingMaxLayoutWidth}');
97        const width = parseInt(breakpointEl.getAttribute('${Jx}') || '0');
98        const height = parseInt(breakpointEl.getAttribute('${e0}') || '0');
99        const contentWidth = Math.max(Math.min(windowWidth, maxWidth), minWidth)
100        const scale = parseFloat((contentWidth / width).toFixed(5));
101        scalerEl.style.transform = 'scale(' + scale + ')';
102        scalerEl.style.setProperty('${Ao}', scale);
103        scalerEl.style.setProperty('${t0}', windowWidth + 'px');
104        scalerEl.style.setProperty('${r0}', windowHeight + 'px');
105        scalerEl.style.setProperty('${n0}', width + 'px');
106        scalerEl.style.setProperty('${o0}', height + 'px');
107        scalerEl.style.setProperty('${i0}', contentWidth);
108      }
109    `})}var No,Hz=(No=class{activeHoverRects=new Map;hoverRectCounter=0;constructor(){}static getInstance(){}showHoverTargetRectangle(t,r){let n=`hover-debug-rect-${this.hoverRectCounter++}`,o=document.createElement("div");o.style.position="fixed",o.style.left=`${t.left}px`,o.style.top=`${t.top}px`,o.style.width=`${t.width}px`,o.style.height=`${t.height}px`,o.style.border=`2px solid ${r||"red"}`,o.style.pointerEvents="none",o.style.zIndex="9999",o.style.opacity="0.5",o.style.transition="opacity 200ms ease-out",document.body.appendChild(o);let i=window.setTimeout(()=>{o.style.opacity="0",window.setTimeout(()=>{document.body.removeChild(o),this.activeHoverRects.delete(n)},200)},200);return this.activeHoverRects.set(n,{id:n,element:o,timeoutId:i}),n}},dr(No,"instance"),No),Mh=()=>Hz.getInstance();var s0;function Bh(){return s0||(s0=new Map),s0}function Uz(e){let t=Bh(),r=t.get(e)||{reverseStateInfo:[]};r.reverseStateInfo.push([]),t.set(e,r)}function jz(e){let r=Bh().get(e.target);let n=r.reverseStateInfo[r.reverseStateInfo.length-1];n.push(e)}function Gz(e){let t=Bh(),r=t.get(e.target);let n=r.reverseStateInfo[r.reverseStateInfo.length-1];let o=n.pop();n.length===0&&(r.reverseStateInfo.pop(),r.reverseStateInfo.length===0&&t.delete(e.target))}function $z(e,t,r,n){let{variableState:o}=n,i=n.backingComponentIdState,s=[],a=l=>{if(l.connectionType==="CONDITIONAL"){if(l.conditionalActions)for(let u of l.conditionalActions){let c=u.condition?Aa(u.condition):void 0;if(c===null)break;if(c===void 0||rn({get:e,variableState:o,modeContext:{}},c)){u.actions&&u.actions.forEach(a);break}}return}if(l.navigationType==="SWAP_STATE"){l.transitionNodeID;let u=c0(l,n);let c=i.get(e,n.modeContext),f=c;c||n.node.type==="INSTANCE"&&(f=n.node.mainComponentId);let{sessionID:d,localID:p}=l.transitionNodeID,v=`${d}:${p}`;(t.event?.interactionType==="ON_HOVER"||t.event?.interactionType==="ON_PRESS")&&s.push({oldBackingComponentId:f,newBackingComponentId:v,oldBackingComponentIdStateContents:c,target:u,interactionId:ct(t.id),triggerType:t.event.interactionType,action:l,modeContext:n.modeContext,get:e})}};return r.forEach(a),s}var Dh=class{executedReversibleInteractions;hoverInteractionCalc;constructor(t,r,n,o,i){if(this.executedReversibleInteractions=$z(t,r,n,o),this.executedReversibleInteractions.length>0)if(r.event?.interactionType==="ON_HOVER"){let s=i.currentTarget.offsetParent;this.hoverInteractionCalc={origin:i.currentTarget,originSize:i.currentTarget.getBoundingClientRect(),parentDeltaStack:[{target:i.currentTarget,delta:{x:0,y:0}}]};let a=this.hoverInteractionCalc.parentDeltaStack;for(;s!==null&&s instanceof HTMLElement;){let l=a[a.length-1];if(a.push({target:s,delta:{x:l.delta.x+l.target.offsetLeft,y:l.delta.y+l.target.offsetTop}}),s.id!==Yc)s=s.offsetParent;else{let u=parseFloat(window.getComputedStyle(s).getPropertyValue(Ao)||"1");for(let c of a)c.delta={x:c.delta.x*u,y:c.delta.y*u};s=null}}this.hoverInteractionCalc.parentDeltaStack.shift()}else r.event?.interactionType}completeTracking(t,r){if(!this.executedReversibleInteractions)return;let n=new Map;for(let o of this.executedReversibleInteractions)n.has(o.target)||n.set(o.target,[]),n.get(o.target)?.push(o);for(let o of n.keys()){Uz(o);let i=n.get(o);for(let s of i){let a=()=>{let l=s.target,u=l?.get(t,r.modeContext);l&&u===s.newBackingComponentId&&(u0(t,r,s.action,s.newBackingComponentId,s.oldBackingComponentId),s.oldBackingComponentIdStateContents?l.set(t,r.modeContext,s.oldBackingComponentIdStateContents):l.reset()),Gz(s)};s.triggerType==="ON_HOVER"?(this.hoverInteractionCalc,s.undoInfo={type:"ON_HOVER",...this.hoverInteractionCalc,undo:a}):s.triggerType==="ON_PRESS"&&(s.undoInfo={type:"ON_PRESS",undo:a}),jz(s)}}}},a0=new Map;function l0(){return a0||(a0=new Map),a0}function nO(e,t){let r=l0();r.has(e)||r.set(e,[]);let n=r.get(e);n.push(t)}function oO(e,t){let n=l0().get(e);let o=n.indexOf(t);o!==-1&&n.splice(o,1)}function Kl(e){let r=l0().get(e.nativeEvent.type)||[];for(let n of r)n(e.nativeEvent)}function sO(){(0,iO.useEffect)(()=>{let e=t=>
109{Bh().forEach(n=>{let o=()=>{if(n.reverseStateInfo.length===0)return;let i=n.reverseStateInfo[n.reverseStateInfo.length-1];if(i.length===0)return;let s=i[i.length-1].undoInfo;if(s.type==="ON_HOVER"){let a;for(let l=s.parentDeltaStack.length-1;l>=0;l--){let u=s.parentDeltaStack[l].target;if(!document.contains(u))break;if(window.getComputedStyle(u).overflow!=="visible"){let d=u.getBoundingClientRect();if(t.clientX<=d.left||t.clientX>=d.right||t.clientY<=d.top||t.clientY>=d.bottom){Mh()?.showHoverTargetRectangle(d,"red"),a=!1;break}}}if(a===void 0)for(let{target:l,delta:u}of s.parentDeltaStack){if(!document.contains(l))continue;let c=l.getBoundingClientRect(),f=[c.left+u.x,c.top+u.y],d=[c.left+u.x+s.originSize.width,c.top+u.y+s.originSize.height],p=new DOMRect(f[0],f[1],s.originSize.width,s.originSize.height);Mh()?.showHoverTargetRectangle(p,"blue"),t.clientX>f[0]&&t.clientX<d[0]&&t.clientY>f[1]&&t.clientY<d[1]?a=!0:(Mh()?.showHoverTargetRectangle(c,"green"),a=!1);break}a===!1&&(s.undo(),o());return}else if(s.type==="ON_PRESS"){t.buttons===0&&(s.undo(),o());return}};o()})};return window.addEventListener("mousemove",e),nO("mousemove",e),window.addEventListener("mouseup",e),nO("mouseup",e),()=>{window.removeEventListener("mousemove",e),oO("mousemove",e),window.removeEventListener("mouseup",e),oO("mouseup",e)}},[])}var Kz=.8;function f0(e,t,r){t===void 0&&(t=!0);let n=r==="preview"||t?"_blank":"_self";try{return new URL(e),{url:e,target:n}}catch{return{url:"https://"+e,target:n}}}function Yz(e,t){if(!e.startsWith("/"))return e;if(t==="published")return window.location.host+e}function Fh(e,t,r,n){let{variableState:o}=n;for(let i of r)switch(i.connectionType){case"INTERNAL_NODE":Jz(e,n,i);break;case"URL":if(i.connectionURL){let s=Yz(i.connectionURL,ee.state.env);if(!s)ee.state.setLocation({url:i.connectionURL});else{let{url:a,target:l}=f0(s,i.openUrlInNewTab,ee.state.env);window.open(a,l)?.focus()}}break;case"SET_VARIABLE":if(i.targetVariable&&i.targetVariableData){let s=Aa(i.targetVariableData),a=s!==null?rn({get:e,variableState:o,modeContext:n.modeContext},s):null;a!==null?o.setVariable(i.targetVariable.id,a,n.modeContext):console.warn("Error evaluating variable data",i.targetVariableData)}break;case"CONDITIONAL":if(i.conditionalActions)for(let s of i.conditionalActions){let a=s.condition?Aa(s.condition):void 0;if(a===null)break;if(a===void 0||rn({get:e,variableState:o,modeContext:n.modeContext},a)){s.actions&&Fh(e,t,s.actions,n);break}}break;case"BACK":ee.state.history.back();break;default:console.warn("unknown action type",i)}}function Xz(e,t){return r=>{let n=sc();if(n?.onAnimationComplete){n.onAnimationComplete();return}let o=t.transitionAtom;e(o)?.id===r&&(aO(r),Z().set(o,void 0));let i=t.autoLayoutTransitionAtom;i&&e(i)?.id===r&&Z().set(i,void 0)}}var qz=0;function Qz(e,t,r){if(e?.transitionType==="SMART_ANIMATE")return{id:qz++,durationSeconds:e.transitionDuration??kA,onTransitionEnd:Xz(t,r),motionAnimationData:_A(e)}}function Zz(e,t){e.type==="COMPONENT"&&t.type;let r=e.size,n=t.size;return r.x!==n.x||r.y!==n.y}function u0(e,t,r,n,o){let i=e(t.nodeById.get(n)),s=e(t.nodeById.get(o)),a=Zz(i,s),l=r2(r,t,a),u=Qz(r,e,l);Z().set(l.transitionAtom,u),l.autoLayoutTransitionAtom&&Z().set(l.autoLayoutTransitionAtom,u?{...u,layout:!0}:void 0)}async function Jz(e,t,r){switch(r.navigationType){case"NAVIGATE":d0(r.connectionURL,r.transitionType,r.transitionDuration);break;case"SWAP_STATE":{r.transitionNodeID;let n=c0(r,t);let o=t2(e,n,t);let{sessionID:i,localID:s}=r.transitionNodeID,a=`${i}:${s}`,l=e(t.nodeById.get(a));if(!l||l.id===bv.id)break;if(Ra().stateSwapNodeToMonitor===t.node.id&&(kd(t.node.id),await ai("timerEvent",{timerName:"swap-state",eventName:"timer_start"})),u0(e,t,r,o,a),n.set(e,t.modeContext,a),r.transitionResetInteractiveComponents){let u=r.stateGroupContext?t.parentStates?.get(r.stateGroupContext):null;u&&u.stateResetHandlers.forEach(c=>c(e,t.modeContext))}break}case"SCROLL_TO":{r.transitionNodeID;let n=r.transitionNodeID,o=r.extraScrollOffset||{x:0,y:0},i=!!r.transitionType&&r.transitionType!=="INSTANT_TRANSITION",s=vI(e);e2(n,o,i&&!s);break}default:console.warn("unknown navigation type",r);break}}function e2(e,t,r){if(!e)return;let{sessionID:n,localID:o}=e,i=`${n}:${o}`;oc(i).then(s=>{if(s){let a=EI(s);if(!a)return;let l=a===Fv(),u=xI(a),c=TI(a)||l,f=s.getBoundingClientRect(),d=a.getBoundingClientRect(),p=f.top-d.top,v=f.left-d.left,m={x:u?a.scrollLeft+v+t.x:a.scrollLeft,y:c?a.scrollTop+p+t.y:a.scrollTop};
109(l?window:a).scrollTo({top:m.y,left:m.x,behavior:r?"smooth":"instant"})}})}function d0(e,t,r){let n=t==="SMART_ANIMATE"&&r?{duration:r}:void 0;ue(!!e,"No URL provided for internal navigation");let o=ee.state.setLocation;o({url:e,transition:n})}function t2(e,t,r){let n=t.get(e,r.modeContext);return n||(r.node.type==="INSTANCE"?r.node.mainComponentId:null)}function c0(e,t){let{backingComponentIdState:r,parentStates:n}=t,o=e.stateGroupContext;return(o?n?.get(o):null)?.backingComponentIdState??r}function r2(e,t,r){let{transitionAtom:n,parentStates:o}=t,i=e.stateGroupContext,s=i?o?.get(i):null,a={transitionAtom:s?.transitionAtom??n};return r&&s?.parentAutoLayoutTransitionAtom&&(a.autoLayoutTransitionAtom=s.parentAutoLayoutTransitionAtom),a}function CA(e,t){let{node:r}=t;if(!("interactions"in r)||!r.interactions)return;let n=r.interactions,o=n.filter(d=>d.event?.interactionType==="ON_PRESS");if(!o.length)return n;let i;for(let d of o)if(i=d.actions?.find(p=>p.navigationType==="SWAP_STATE"&&p.connectionType==="INTERNAL_NODE"),i)break;if(!i||!i.transitionNodeID)return n;n=n.filter(d=>d.event?.interactionType!=="ON_CLICK");let{sessionID:s,localID:a}=i.transitionNodeID,l=`${s}:${a}`,{nodeById:u}=t,c=e(u.get(l));if(!("interactions"in c)||!c.interactions)return n;let f=c.interactions.find(d=>d.event?.interactionType==="ON_CLICK");return f?[...n,f]:n}function IA(e,t,r){let n={},o=[],i=[];for(let s of r){let a=s.event?.interactionType;if(a){if(a==="ON_KEY_DOWN"){o.push(s);continue}if(a==="AFTER_TIMEOUT"){i.push(s);continue}n[a]=n2(e,t,s)}}return o.length>0&&(n.ON_KEY_DOWN=o2(e,t,o)),i.length>0&&(n.AFTER_TIMEOUT=i.map(s=>{let a=s.event.transitionTimeout||Kz;return{callback:()=>{Fh(e,s,s.actions||[],t)},delayMilliseconds:a*1e3,interactionGuid:ct(s.id)||ms}})),n}function AA(e,t,r){let n=e(t);return n||e(r)}function n2(e,t,r){return{mouseCallback:n=>
109{let o=new Dh(e,r,r.actions||[],t,n);Fh(e,r,r.actions||[],t),o.completeTracking(e,t)}}}function o2(e,t,r){return{keyCallback:n=>{for(let o of r)FA(o,n)&&Fh(e,o,o.actions||[],t)}}}function un(e){return e.some(t=>t.event?.interactionType==="ON_CLICK"&&t.actions?.some(r=>r.connectionType==="URL"||r.connectionType==="INTERNAL_NODE"&&r.navigationType==="NAVIGATE"))}function Wn(e){return e.some(t=>t.event?.interactionType==="ON_CLICK")&&!un(e)}function RA(e){if(!(!("accessibleHTMLTag"in e)||!e.accessibleHTMLTag)&&"interactions"in e&&e.accessibleHTMLTag==="BUTTON"&&!e.interactions.find(r=>r.event?.interactionType==="ON_CLICK")){let r={event:{interactionType:"ON_CLICK"},actions:[{noop:!0}]};e.interactions?e.interactions.push(r):e.interactions=[r]}}var lO=!0;setTimeout(()=>{lO=!1},200);var i2=class{timeoutMap=new Map;nextId=0;registerTimeout(t,r,n){let o=n??this.nextId++;return this.timeoutMap.set(o,setTimeout(()=>{t(),this.timeoutMap.delete(o)},r+(lO?200:0))),o}reserveTimeoutId(){return this.nextId++}deregisterAfterDelayInteractions(t){let r=this.timeoutMap.get(t);r&&(clearTimeout(r),this.timeoutMap.delete(t))}},s2=new i2,Xc=s2;var a2=(e,t=[],r,n)=>{let o=t.find(i=>i.event?.interactionType==="ON_CLICK");if(!o?.actions){o&&o.actions;return}for(let i of o.actions)if(i.connectionType==="URL"||i.connectionType==="INTERNAL_NODE"&&i.navigationType==="NAVIGATE")return zh(e,i.connectionType,i.connectionURL,i.openUrlInNewTab,r,n);return o.actions.length>0?l2(e,r):void 0};function Hn(e=[],t,r,n){if(!t)return{};let o={},i=s=>!!s&&!!s.mouseCallback;if(i(t.ON_CLICK)){let s=hs(l=>{t.ON_CLICK?.mouseCallback?.(l),l.preventDefault(),l.stopPropagation()},"onClick"),a=a2(s,e,r,n);o={onClick:s,...o,...a}}
109return i(t.MOUSE_ENTER)&&(o.onMouseEnter=hs(s=>{t.MOUSE_ENTER?.mouseCallback?.(s),Kl(s),s.stopPropagation()},"onMouseEnter")),i(t.MOUSE_LEAVE)&&(o.onMouseLeave=hs(s=>{t.MOUSE_LEAVE?.mouseCallback?.(s),Kl(s),s.stopPropagation()},"onMouseLeave")),i(t.MOUSE_DOWN||t.ON_PRESS)&&(o.onMouseDown=hs(s=>{t.MOUSE_DOWN?.mouseCallback?.(s),t.ON_PRESS?.mouseCallback?.(s),Kl(s),s.preventDefault(),s.stopPropagation()},"onMouseDown")),i(t.MOUSE_UP)&&(o.onMouseUp=hs(s=>{t.MOUSE_UP?.mouseCallback?.(s),Kl(s),s.stopPropagation()},"onMouseUp")),i(t.ON_HOVER)&&(o.onMouseMove=hs(s=>{t.ON_HOVER?.mouseCallback?.(s),Kl(s),s.stopPropagation()},"onMouseMove")),o}var Vh={};function uO(e,t){let r=[];return e?.AFTER_TIMEOUT&&e.AFTER_TIMEOUT.forEach(({callback:o,delayMilliseconds:i})=>{let s=Xc.reserveTimeoutId(),a=Vh[t]??[];a.push({callback:o,delayMilliseconds:i,reservedTimeoutId:s}),Vh[t]=a,r.push(s)}),r}function aO(e){let t=Vh[e];t&&t.length&&(t.forEach(({callback:r,delayMilliseconds:n,reservedTimeoutId:o})=>{Xc.registerTimeout(r,n,o)}),delete Vh[e])}function cO(e){let t=[];return e?.AFTER_TIMEOUT&&e.AFTER_TIMEOUT.forEach(({callback:n,delayMilliseconds:o})=>{t.push(Xc.registerTimeout(n,o))}),t}function fO(e){e.forEach(t=>{Xc.deregisterAfterDelayInteractions(t)})}function zh(e,t,r,n,o,i){let s=a=>{a.key==="Enter"&&e(a)};if((t==="INTERNAL_NODE"||t==="NODE")&&r){let a=()=>{ee.state.preloadLocation(r)};return o||i==="preview"?{onClick:e,onKeyDown:s,onMouseDown:a,role:"link",tabIndex:0}:{href:r,target:n?"_blank":"_self",onMouseDown:a}}if(t==="URL"&&r){let{url:a,target:l}=f0(r,n,i);return o?{role:"link",tabIndex:0,onClick:e,onKeyDown:s}:{href:a,target:l}}}function l2(e,t){return t?{role:"button",tabIndex:0,onClick:e,onKeyDown:n=>{(n.key==="Enter"||n.key===" ")&&e(n)}}:{}}function dO(e,t){let r=null;return(...n)=>{r!==null&&clearTimeout(r),r=setTimeout(()=>{e(...n)},t)}}var Fs=R(G()),Un=R(O()),pO=R(O());var mO=new Map,hO=Un.forwardRef(function({node:t,parent:r,interactionHandlers:n,context:o,depth:i,transitionProps:s,codeBehaviorProps:a},l){let u=ae(),c=s?.smartAnimateType??$.NONE,f=fo(c,t.maybeAnimateRotation),d=ka(),p=sr({node:t,parent:r,context:o,depth:i,children:[],options:{isFlattened:!0,canAnimate:f,previousRotation:d}}
109),v=Vr({node:t,context:o}),m=t.interactions??[],T=t.type==="SVG"?o?.group?.opacity??1:Gt(o,t),h=Un.useMemo(()=>({opacity:T,transform:xn(p.outer.transform)}),[T,p.outer.transform]),g=Ln(t,o),{motionProps:y,key:x,ref:S}=Dn(t.id,t.behaviors,t.assets,h,g),E=Bn(l,S),w=o?.withinInteractiveElement||Object.keys(y).length>0||c===$.INSTANCE_SUBTREE,C=Hn(m,n,w,u),N=Wn(m),I=un(m),b=_i(t,I,N,w,!1),P=!I&&!N,k=P?{}:Di(t),B=s?.transitionData,A=zt(B),U=ar({node:t,parent:r}),M={...p.inner,...t.type==="IMAGE"?bb(t.effects):{},...lr(T),...fi(t),...v,...o?.style||{}},H=se(t),K=Fn(t),te=At(),Ne=t.type==="IMAGE"&&!te,ve=(0,pO.useRef)(null);return t.type==="IMAGE"&&(t.size.x===0||t.size.y===0)?null:(0,Fs.jsx)(Ot,{outerStyles:p.outer,children:(0,Fs.jsx)(jr,{node:t,parent:r,context:o,transitionProps:s,codeBehaviorProps:a,layerRef:l,outerRef:ve,previousRotation:d,styles:{transform:p.transform,stickyWrapper:p.stickyWrapper},children:(0,Fs.jsx)(Vi,{semanticTag:b,context:o,wrapperSizeStyles:U,ref:f?S:E,id:H,styles:M,transitionProps:{opacity:T,smartAnimateType:c,behaviorProps:y,transitionData:B,onTransitionEnd:A},...C,...k,"data-name":K,"data-isimage":te?void 0:!0,...o?.dataAttributes||{},children:(0,Fs.jsx)(u2,{node:t,parent:r,shouldOptimizeImages:Ne,alt:P?t.accessibleLabel:void 0})},x)})})});function u2({node:e,parent:t,shouldOptimizeImages:r,alt:n}){let o=mo(e.assets,e.hash);ue(o.type==="GENERATED_ASSET","Expected asset to be a generated asset");let{url:i,offsets:s,size:a}=o,l=Q().getAssetURL,u=l(i),c=Un.useRef(null),f=n||"",d=Un.useCallback(S=>{if(c.current){c.current.replaceChildren(S.cloneNode(!0));let E=c.current.querySelector("svg");E&&(f?(E.setAttribute("aria-label",f),E.setAttribute("role","img")):E.setAttribute("role","presentation"))}},[f]),p=mO.get(e.hash),v=dI(),m=!1;e.type==="SVG"&&e.isDynamic&&(m=!0),Un.useEffect(()=>{if(!m||v)return;if(p&&c.current){d(p);return}if(c.current&&(c.current.innerHTML=""),!u)return;let S=new AbortController,E=async()=>{try{let C=await fetch(u,{signal:S.signal});w(await C.text())}catch(C){if(console.error("Error loading SVG",C),C.name!=="AbortError")throw new Sr("Error loading SVG",C)}},w=C=>{if(C==="")return;if(!C){console.warn("No SVG URL provided for",e.id);return}let N=new DOMParser().parseFromString(C,"image/svg+xml"),I=N.querySelector("svg"),b=N.querySelector("parsererror");if(!I||b){console.error("Unable to load SVG",b);return}mO.set(e.hash,I),d(I)};return E(),()=>{S.abort()}},[u,e.hash,p,e.id,e.type,m,d,v]);let T=z({position:"absolute",top:Ju(s.top),left:Ju(s.left),right:Ju(s.right),bottom:Ju(s.bottom),overflow:"visible",display:"block"}),h=z({width:"100%",height:"100%",display:"block",maxWidth:"none"}),g,y;if(a&&r&&(e.type,e.type==="IMAGE")){let{srcset:S,sizes:E}=_x(l,e,t,i,a,void 0);g=S,y=e.lazyLoad?`auto,${E}`:E}let x={};return m&&e.type==="SVG"&&(e.fills.forEach((S,E)=>{S.type==="SOLID"&&(x[`--fill-${E}`]=`rgba(${S.color.r*255}, ${S.color.g*255}, ${S.color.b*255}, ${S.color.a})`)}),e.strokes.forEach((S,E)=>{S.type==="SOLID"&&(x[`--stroke-${E}`]=`rgba(${S.color.r*255}, ${S.color.g*255}, ${S.color.b*255}, ${S.color.a})`)})),(0,Fs.jsx)("div",{className:T,style:x,ref:c,children:(0,Fs.jsx)("img",{loading:e.lazyLoad?"lazy":void 0,src:u,alt:f,width:e.type==="IMAGE"?a?.x:void 0,height:e.type==="IMAGE"?a?.y:void 0,className:h,srcSet:g,sizes:y})})}var ce=R(G()),Lue=R(O()),bo=R(O()),qc=R(Vn());var c2={TOP:"flex-start",BOTTOM:"flex-end",CENTER:"center"},f2={NONE:"none",UNDERLINE:"underline",STRIKETHROUGH:"line-through"},d2={ORIGINAL:"none",SMALL_CAPS:"none",SMALL_CAPS_FORCED:"none",UPPER:"uppercase",LOWER:"lowercase",TITLE:"capitalize"},m2={ORIGINAL:"normal",SMALL_CAPS:"small-caps",SMALL_CAPS_FORCED:"all-small-caps",UPPER:"normal",LOWER:"normal",TITLE:"normal"},p2={SUPER:"0.55em",SUB:"-0.25em",NORMAL:void 0};function Vs(e,t,r,n,o){let{fallbackFonts:i,fontFamily:s,fontVariations:a,fontSize:l,fontStyle:u,textCase:c,opentypeFlags:f,letterSpacingUnit:d,letterSpacingValue:p}=e.style,v="fills"in e.style&&e.style.fills||"fills"in e&&e.fills||[],m={},T;if(s){let y=`${s}:${u}`;m.fontFamily=h2(y,i??[]),m.wordBreak="break-word";let x=r.get(y),S=i?.map(I=>r.get(`${I.fontFamily}:${I.fontStyle}`)).filter(I=>I?.variationAxes)??[],E=x?.variationAxes?.length,w=S.length>0,C=E||w,N=x?.variationAxes??S[0]?.variationAxes??[];if(C){let I=[...N,{name:"OpticalSize",value:void 0,tag:"opsz"}].filter(b=>a?.[b.name]!==void 0||b.value!==void 0).filter(b=>b.tag==="wght"?!E&&w?!0:(m.fontWeight=a?.[b.name]??b.value,!1):b.tag==="slnt"?b.value===0?(m.fontStyle="normal",!1):a&&b.name in a:!0);I.length>0?m.fontVariationSettings=I.map(b=>{let P=a?.[b.name]??b.value;return`"${b.tag}" ${P}`}).join(", "):m.fontVariationSettings="normal",x?.italic&&(m.fontStyle="italic")}else m.fontStyle=x?.italic?"italic":"normal"}let h=v.filter(y=>y.visible!==!1&&y.type==="SOLID"),g=v.filter(y=>y.visible!==!1&&y.type!=="SOLID");if(h.length>0){let y=uc(h.map(x=>new Mr(x.color,x.opacity,ut)));m.color=y.value}if(g.length){let y=Yd(v,t,o,!1)[0].backgroundStyles;y&&Object.keys(y).length&&(Object.assign(m,y),T="textClip")}if(c){let y=d2[c]||"none";y!=="none"&&(m.textTransform=y);let x=m2[c]||"normal";x!=="normal"&&(m.fontVariantCaps=x)}if(f&&(m.fontFeatureSettings=Object.entries(f).map(([y,x])=>`"${y.toLowerCase()}" ${x}`).join(", ")),l&&(n==="REFLOW"?m.fontSize=`${l}px`:n==="SCALE"?m.fontSize=`clamp(calc(var(--min-font-size) / var(--viewport-scale)), ${l}px, calc(var(--max-font-size) / var(--viewport-scale)))`:me(n)),d&&p!==void 0&&(m.letterSpacing=d==="PIXELS"?`${p}px`:`${p/100*(l??16)}px`),e.style.responsiveTextStyleVariants?.length){let y=e.style.responsiveTextStyleVariants.sort((x,S)=>x.minWidth-S.minWidth);m.media=Object.fromEntries(y.map(x=>{let{style:S}=Vs({...e,style:x.style},t,r,n,o);return[`(min-width: ${x.minWidth}px)`,S]}))}return{style:m,className:T}}function gO(e,t){let r={};return e.textAlignHorizontal&&(r.textAlign=e.textAlignHorizontal==="JUSTIFIED"?"justify":e.textAlignHorizontal?.toLowerCase()),e.textAlignVertical!=="TOP"&&(r.display="flex",r.flexDirection="column",r.justifyContent=c2[e.textAlignVertical||"TOP"]),t.leadingTrim==="CAP_HEIGHT"&&(r.textBoxTrim="both",r.textBoxEdge="cap alphabetic"),r}function m0(e,t,r,n){return Vs(t,e.assets,r,n,{width:e.size.x,height:e.size.y})}function p0(e,t,r,n,o){let{style:i,className:s}=Vs(r,e.assets,n,o,{width:e.size.x,height:e.size.y});function a(d){return r.style[d]??t.style[d]??e.style[d]}let l=a("textDecoration"),u=a("textDecorationThicknessUnit"),c=a("textDecorationThicknessValue");if(l&&l!==Ad.NONE&&c!==0){i.textDecorationLine=r.characters.length>0?f2[l]:void 0;let d=a("textDecorationSkipInk"),p=a("textUnderlineOffsetUnit"),v=a("textUnderlineOffsetValue"),m=a("textDecorationStyle"),T=a("textDecorationFills");if(d!==void 0&&(i.textDecorationSkipInk=d?void 0:"none"),v!==void 0?i.textUnderlineOffset=`${v}${p==="PIXELS"?"px":"%"}`:i.textUnderlinePosition="from-font",c!==void 0?i.textDecorationThickness=`${c}${u==="PIXELS"?"px":"%"}`:i.textDecorationThickness="from-font",m!==void 0&&(i.textDecorationStyle=m),T!==void 0){let h=uc(T.filter(g=>g.type==="SOLID").map(g=>new Mr(g.color,g.opacity,ut)));i.textDecorationColor=h.value}}let f=r.style.fontVariantPosition??t.style.fontVariantPosition??e.style.fontVariantPosition;if(f&&(i.verticalAlign=p2[f],f!=="NORMAL")){let d=a("fontSize");i.fontSize=`${(d||0)*.645}px`}if(i.lineHeight=Wh(r)??Wh(t)??Wh(e)??"normal",e.style.responsiveTextStyleVariants?.length){let d=e.style.responsiveTextStyleVariants.sort((p,v)=>p.minWidth-v.minWidth);i.media=Object.fromEntries(d.map(p=>{let v=Wh(p)??"normal";return[`(min-width: ${p.minWidth}px)`,{lineHeight:v}]}))}return(r.style.hyperlink||t.style.hyperlink||e.style.hyperlink)&&(i.cursor="pointer"),{style:i,className:s}}var yO=(e,t)=>
109{if(!(e==="NONE"||e==="UNORDERED"))return t===2||t===5?"lower-alpha":t===3?"lower-roman":"decimal"},Wh=e=>e.style.lineHeightUnit==="INTRINSIC_%"?e.style.lineHeightPercent===void 0||e.style.lineHeightPercent===100?void 0:`${e.style.lineHeightPercent}%`:e.style.lineHeightUnit==="FONT_SIZE_%"?`${(e.style.lineHeightPercentFontSize??100)/100}`:e.style.lineHeightUnit==="PIXELS"?`${e.style.lineHeightPx}px`:void 0;function h2(e,t){return t.length>0?`"${e}", ${t.map(r=>`"${r.fontFamily}:${r.fontStyle}"`).join(", ")}, sans-serif`:`"${e}", sans-serif`}var vO=R(O());function g2(e,t){if(t){e.stack+=`
110
111React stack:`+t.componentStack;let r=new Error("React component stack where the error occurred");r.stack=t.componentStack,e.cause=r}}var Yl=class extends vO.default.Component{state={hasError:!1,error:null,errorInfo:null};componentDidCatch(t,r){this.setState({error:t,errorInfo:r}),g2(t,r),this.context.reportError(t,{"error-boundary-name":this.props.name}),this.context.setMaterializationError(this.props.nodeId,{nodeName:this.props.name,nodeId:this.props.nodeId,errorMessage:t.stack})}componentWillUnmount(){this.context.setMaterializationError(this.props.nodeId)}render(){return this.state.error?null:this.props.children}};dr(Yl,"contextType",fc);var ji=Yl;var y2={fontFamily:'"Inter:Regular"',fontSize:"11px",fontWeight:"400",lineHeight:"1.5"},zs=(0,bo.createContext)({getRichTextStyle:e=>({})});function v2(e){let t={};return e.format&1&&(t.fontWeight="bold"),e.format&2&&(t.fontStyle="italic"),e.format&4&&(t.textDecorationLine="line-through"),e.format&8&&(t.textDecorationLine="underline"),t}function Xl(e){let t={};return(e.format||e.format!=="")&&(t.textAlign=e.format),e.direction&&(t.direction=e.direction),t}function S2({lexicalNode:e}){let t={...v2(e),whiteSpace:"pre-wrap"},r=z(t),n=(0,qc.default)(r);return(0,ce.jsx)("span",{className:n,children:e.text})}function x2({lexicalNode:e,children:t}){let{getRichTextStyle:r}=(0,bo.useContext)(zs),n;(function(s){s.h1="HEADING1",s.h2="HEADING2",s.h3="HEADING3",s.h4="HEADING4",s.h5="HEADING5",s.h6="HEADING6"})(n||(n={}));let o={...Xl(e),...r(n[e.tag])},i=z(o);switch(e.tag){case"h1":return(0,ce.jsx)("h1",{className:i,children:t});case"h2":return(0,ce.jsx)("h2",{className:i,children:t});case"h3":return(0,ce.jsx)("h3",{className:i,children:t});case"h4":return(0,ce.jsx)("h4",{className:i,children:t});case"h5":return(0,ce.jsx)("h5",{className:i,children:t});case"h6":return(0,ce.jsx)("h6",{className:i,children:t});default:me(e.tag)}}function T2({lexicalNode:e,children:t}){let{getRichTextStyle:r}=(0,bo.useContext)(zs),n={...Xl(e),...r("PARAGRAPH")},o=z(n);return e.children.length===0?(0,ce.jsx)("p",{className:o,children:(0,ce.jsx)("br",{})}):(0,ce.jsx)("p",{className:o,children:t})}function E2({lexicalNode:e,children:t}){let{getRichTextStyle:r}=(0,bo.useContext)(zs),n={...Xl(e),...r("PARAGRAPH")},o=z(n),i=(0,qc.default)(o);return(0,ce.jsx)("blockquote",{className:i,children:(0,ce.jsx)("p",{children:t})})}function w2({lexicalNode:e,children:t}){let{getRichTextStyle:r}=(0,bo.useContext)(zs),n={...Xl(e),...r("LINK")},o=z(n);return(0,ce.jsx)("a",{className:o,href:e.url,rel:e.rel??"",target:e.target??"",title:e.title??"",children:t})}function C2({lexicalNode:e,children:t}){let{getRichTextStyle:r}=(0,bo.useContext)(zs),n={...Xl(e),listStyleType:e.listType==="number"?"decimal":"circle",...r("PARAGRAPH")},o=z(n),i=e.tag,s=(0,qc.default)(o);return i==="ol"?(0,ce.jsx)("ol",{className:s,children:t}):(0,ce.jsx)("ul",{className:s,children:t})}function I2({lexicalNode:e,children:t}){let{getRichTextStyle:r}=(0,bo.useContext)(zs),n={...Xl(e),...r("PARAGRAPH")},o=z(n);return(0,ce.jsx)("li",{className:o,children:t})}function SO({lexicalNode:e}){let t=e.type,r="children"in e?e.children.map((n,o)=>(0,ce.jsx)(SO,{lexicalNode:n},o)):[];switch(t){case"root":return(0,ce.jsx)("div",{className:"root",children:r});case"heading":return(0,ce.jsx)(x2,{lexicalNode:e,children:r});case"paragraph":return(0,ce.jsx)(T2,{lexicalNode:e,children:r});case"linebreak":return(0,ce.jsx)("br",{});case"text":return(0,ce.jsx)(S2,{lexicalNode:e});case"link":return(0,ce.jsx)(w2,{lexicalNode:e,children:r});case"quote":return(0,ce.jsx)(E2,{lexicalNode:e,children:r});case"list":return(0,ce.jsx)(C2,{lexicalNode:e,children:r});case"listitem":return(0,ce.jsx)(I2,{lexicalNode:e,children:r});default:me(t)}}function xO({node:e,parent:t,context:r,depth:n}){let o=Q(),i=Z().get,s=Tn(),{scalingMode:a}=Ir(),l=sr({node:e,parent:t,context:r,depth:n,children:[],options:{isFlattened:!0}}),u=Vr({node:e,context:r}),d={...{width:ar({node:e,parent:t}).width,height:"auto"},...l.inner,mixBlendMode:Pa(e.blendMode),...lr(Gt(r,e)),...Dl(e,t,r),...u,...r?.style||{}},p=se(e),v=z(d),m=(0,qc.default)(v,r?.className);if(!e.richText||!o)return null;let T=XC(JSON.parse(e.richText)),h=g=>{let y=e.cmsRichTextStyleMap,x=o.websiteData.assetIdToGuid,S=o.websiteData.nodeById,E=y[g];if(E){let w=E.textStyleId,C=x.get(w);if(C){let N=S.get(C),I=i(N);if(I&&I.style){let b=ds(I.style);
111return b.fills=e.fills,{...Vs({spans:[],indentation:0,startOffset:0,style:b,startsWithPunctuation:!1},void 0,s,a,{width:0,height:0}).style}}}}return g==="LINK"?{textDecorationLine:"underline"}:y2};return(0,ce.jsx)(ji,{name:"cms-rich-text",nodeId:e.id,children:(0,ce.jsx)(Ot,{outerStyles:l.outer,children:(0,ce.jsx)(jr,{node:e,parent:t,context:r,styles:{transform:l.transform,stickyWrapper:l.stickyWrapper},children:(0,ce.jsx)("div",{id:p,className:m,children:T.root?(0,ce.jsx)(zs.Provider,{value:{getRichTextStyle:h},children:(0,ce.jsx)(SO,{lexicalNode:T.root})}):null})})})})}var Po=R(G()),Ws=R(O()),A2=R(jx()),R2=R(G()),N2=R(Td()),b2=R(Ed());var TO=R(G()),EO=R(O()),wO=R(Vn());var CO=EO.default.forwardRef(function(t,r){let{children:n,wrapperSizeStyles:o,semanticTag:i,context:s,styles:a,additionalClassName:l,tabIndex:u,...c}=t,d={...zr()??o,...a},p=z(d,s?.renderedByCode),v=(0,wO.default)(l,p,s?.className),m=th(i);return(0,TO.jsx)(m,{tabIndex:Zp(m)?-1:u,className:v,...c,ref:r,children:n})});function IO({node:e,parent:t,interactionHandlers:r,context:n,depth:o}){let i=sr({node:e,parent:t,context:n,depth:o,children:[],options:{isFlattened:!0}}),s=Gt(n,e),a=Ln(e,n),l=Ws.useMemo(()=>({opacity:s,transform:xn(i.outer.transform)}),[s,i.outer.transform]),{motionProps:u,key:c,ref:f}=Dn(e.id,e.behaviors,e.assets,l,a),d=ae(),p=Dd(),v=e.interactions??[],m=Wn(v),T=un(v),h=n?.withinInteractiveElement??!1,g=Hn(v,r,h,d),y=_i(e,T,m,h),x=Vr({node:e,context:n}),S=ar({node:e,parent:t}),E={...i.inner,...lr(Gt(n,e)),...Dl(e,t,n),...x,...n?.style||{},...p?{height:"100dvh"}:{}},w=se(e);return(0,Po.jsx)(_l,{isNodeListItem:Mi(y),children:(0,Po.jsx)(Ot,{outerStyles:i.outer,children:(0,Po.jsx)(jr,{node:e,parent:t,context:n,styles:{transform:i.transform,stickyWrapper:i.stickyWrapper},children:(0,Po.jsx)(CO,{semanticTag:y,wrapperSizeStyles:S,id:w,styles:E,additionalClassName:"tailwind",ref:f,...u,...g,children:(0,Po.jsx)(Wi,{children:()=>(0,Po.jsx)(P2,{node:e})})},c)})})})}function P2({node:e}){zi("CodeComponentContent");let t=zl(),r=Q().getAssetURL,[n,o]=Ws.useState(null);window.__GLOBALS__={React:Ws,ReactJSXRuntime:R2,ReactJSXDevRuntime:A2,ReactDOM:N2,ReactDOMClient:b2,SnapshotContext:jc,RenderHooksContext:Bs,ActiveBreakpointContext:Wl,WebsiteSettingsContext:Gl,getAssetURL:r};let i=Q().getCodeComponentURL(e),s=Q().websiteData.sourceCodeHash,a=Ie(s);Ws.useEffect(()=>{(async()=>{let d;try{d=await import(i)}catch(p){jl(a,p,"Failed to import code layer module");return}try{let p=await wh(d,e.codeExportName);o(()=>p)}catch(p){jl(a,p,"Failed to execute code layer")}})()},[e.codeExportName,i,a]);let l=O2(n),u=Kx(l),c=RP(e,u,l);return t&&n?(0,Po.jsx)(ji,{name:"code-component",nodeId:e.id,children:(0,Po.jsx)(n,{...c})}):null}function O2(e){return e?e[Symbol.for("figma.react.props")]??{}:null}var h0=R(G()),AO=R(O());function RO({node:e,children:t,context:r}){let n=se(e),o=Fn(e),i=AO.default.useMemo(()=>{let s={"data-name":o};return r?.dataAttributes&&Object.entries(r.dataAttributes).forEach(([a,l])=>{s[a]=l}),s},[o,r?.dataAttributes]);return(0,h0.jsx)("div",{id:n,"data-name":o,...i,children:t.map(s=>(0,h0.jsx)(ln,{node:s,parent:null},s.id))})}var ql=R(G()),Hh=R(O());var L2=[[1,0,0],[0,1,0]];function NO({node:e,parent:t,children:r,interactionHandlers:n,context:o,depth:i,transitionProps:s,codeBehaviorProps:a}){let l=ae(),u=o?.group,c=Ut(e,t),f=c?L2:e.relativeTransform,d=u?.withinAutoLayout||c,p=!d,v=Gt(o,e),m=e.scrollBehavior==="FIXED"||e.scrollBehavior==="STICKY_SCROLLS",T=sr({node:e,parent:t,context:o,depth:i,children:r??null}),h=e.interactions??[],g=Wn(h),y=un(h),x=Di(e),S=Hh.default.useMemo(()=>({opacity:v,transform:xn(T.transform.transform)}),[v,T.transform.transform]),E=Ln(e,o),{motionProps:w,key:C,ref:N}=Dn(e.id,e.behaviors,e.assets,S,E),I=ar({node:e,parent:t}),b={...T.inner,...p?{}:lr(v),...fi(e)},P=s?.smartAnimateType??$.NONE,k=zt(s?.transitionData),B=o?.withinInteractiveElement||Object.keys(w).length>0||P===$.INSTANCE_SUBTREE,A=Hn(h,n,B,l),U=_i(e,y,g,B,o?.parentIsList),M=se(e),H=Fn(e),K=(0,Hh.useRef)(null),te={group:{withinAutoLayout:d,relativeTransform:xr(_r(u?.relativeTransform,f)),opacity:p?v:void 0,mixBlendMode:d?void 0:Pa(e.blendMode)},parentIsList:kl(U),masks:o?.masks,isInStickyOrFixedTree:m||(o?.isInStickyOrFixedTree??!1),withinInteractiveElement:o?.withinInteractiveElement},Ne=ch({children:r,context:te});return(0,ql.jsx)(_l,{isNodeListItem:Mi(U),children:(0,ql.jsx)(Ot,{outerStyles:T.outer,children:(0,ql.jsx)(jr,{node:e,parent:t,context:o,styles:{transform:T.transform,stickyWrapper:T.stickyWrapper}
111,outerRef:K,codeBehaviorProps:a,transitionProps:s,children:(0,ql.jsx)(Vi,{semanticTag:U,context:o,wrapperSizeStyles:I,ref:N,id:M,styles:b,"data-name":H,transitionProps:{opacity:v,smartAnimateType:P,behaviorProps:w,transitionData:s?.transitionData,onTransitionEnd:k},...A,...x,children:Ne?.map(([ve,{key:de,context:V}])=>(0,ql.jsx)(dh,{name:"sites-layer",nodeId:ve.id,childKey:de,node:ve,parent:e,context:V},de))},C)})})})}var Gi=R(G()),sfe=R(O()),g0=R(Vn());var Oo=R(G()),Uh=R(O());var k2=[{pattern:/^(https?:\/\/(www\.)?(youtube\.com|youtu\.be|youtube-nocookie\.com)\/.*)/,transform:_2},{pattern:/^(?:https?:)?\/\/(www\.)?google\.com\/maps\/.*|^(?:https?:)?\/\/maps\.google\.com\/.*|^(?:https?:)?\/\/maps\.goo\.gl\/.*/,transform:M2}];function _2(e){let t=null;try{let r=new URL(e);t=r.searchParams.get("v")||null;let o=/(?:https?:\/\/)?(?:www\.)?(youtube\.com|youtu\.be|youtube-nocookie\.com)\/(?:watch\?v=|embed\/)?([^&?]+)/,i=e.match(o);if(!t){let a=i?.[2]||null;a&&(t=a)}let s=new URL((i?.[1]||"")==="youtube-nocookie.com"?`https://www.youtube-nocookie.com/embed/${t}`:`https://www.youtube.com/embed/${t}`);return r.searchParams.forEach((a,l)=>{l!=="v"&&s.searchParams.set(l,a)}),s.toString()}catch{return e}}function M2(e){let t=new URL("https://maps.google.com/maps");return t.searchParams.set("output","embed"),new URL(e).searchParams.forEach((n,o)=>{t.searchParams.set(o,n)}),t.toString()}function D2(e){return Uh.default.useMemo(()=>{for(let t of k2)if(e.match(t.pattern))return t.transform(e);return e},[e])}function PO({node:e}){zi("GenericEmbed");let t=zd(),{embedURL:r,embedIframeHtml:n,embedCodeType:o,embedAllowFullscreen:i}=e.syncedState,s=D2(r),a=z({width:"100%",height:"100%"}),l=(0,Uh.useMemo)(()=>{if(o==="html"){let c=new DOMParser().parseFromString(n,"text/html").querySelector("iframe");return c?(c.style.width="100%",c.style.height="100%",c.outerHTML):""}else return""},[o,n]);if(o==="html")return l.trim()?(0,Oo.jsx)("div",{className:`${a} embed`,dangerouslySetInnerHTML:{__html:l}}):(0,Oo.jsx)(bO,{});{if(!s.trim())return(0,Oo.jsx)(bO,{});let u=!t&&new URL(r).searchParams.get("autoplay")==="1";return(0,Oo.jsx)("iframe",{src:s,className:`${a} embed`,allowFullScreen:i,title:e.accessibleLabel,allow:u?"autoplay":void 0})}}function bO(){let e=z({width:"100%",height:"100%",backgroundColor:"#D3D1FF",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden"}),t=z({width:"min(93px, 100%)",height:"min(93px, 100%)",display:"flex",alignItems:"center",justifyContent:"center"}),r=z({width:"100%",height:"100%"});return(0,Oo.jsx)("div",{className:e,children:(0,Oo.jsx)("div",{className:t,children:(0,Oo.jsx)("svg",{className:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 93 93",fill:"none",children:(0,Oo.jsx)("path",{d:"M20.9465 32.2205C32.0947 21.0723 50.1694 21.0723 61.3176 32.2205L57.0744 36.4626L52.8322 40.7058C46.3704 34.2439 35.8937 34.244 29.4319 40.7058L18.1584 51.9792C11.
1116967 58.4411 11.6966 68.9178 18.1584 75.3796C24.6203 81.841 35.0971 81.8412 41.5588 75.3796C43.9019 73.0365 47.701 73.0365 50.0442 75.3796C52.3869 77.7228 52.3872 81.522 50.0442 83.865C38.8961 95.0129 20.8212 95.0127 9.67306 83.865C-1.47505 72.7169 -1.47496 54.6421 9.67306 43.4939L20.9465 32.2205ZM43.4924 9.67455C54.6405 -1.47358 72.7153 -1.47352 83.8635 9.67455C95.0116 20.8227 95.0116 38.8975 83.8635 50.0456L72.591 61.3191C61.617 72.2927 43.9309 72.4637 32.7473 61.8328L32.2199 61.3191L32.007 61.0945C29.8792 58.7393 29.9504 55.1037 32.2199 52.8337C34.4899 50.5639 38.1254 50.4929 40.4807 52.6208L40.7043 52.8337L41.011 53.1316C47.4933 59.2934 57.7448 59.1942 64.1057 52.8337L75.3781 41.5603L75.677 41.2546C81.8391 34.7722 81.739 24.5208 75.3781 18.1599C68.9163 11.6981 58.4396 11.6981 51.9778 18.1599L47.7356 13.9167L43.4924 9.67455ZM61.3176 32.2205C63.6603 34.5636 63.6606 38.3628 61.3176 40.7058C58.9746 43.0487 55.1754 43.0485 52.8322 40.7058L61.3176 32.2205ZM51.9778 18.1599C49.6346 20.5023 45.8353 20.5028 43.4924 18.1599C41.1496 15.817 41.15 12.0177 43.4924 9.67455L51.9778 18.1599Z",fill:"#3D32E2"})})})})}function OO({node:e,parent:t,context:r,depth:n}){let o=sr({node:e,parent:t,context:r,depth:n,children:[],options:{isFlattened:!0}}),i=Vr({node:e,context:r}),s=ar({node:e,parent:t}),a=se(e),l={...o.inner,...lr(Gt(r,e)),...i,...r?.style||{}},u=Fn(e),c=z(l),f=(0,g0.default)(c,r?.className);return(0,Gi.jsx)(Ot,{outerStyles:o.outer,children:(0,Gi.jsx)(jr,{node:e,parent:t,context:r,styles:{transform:o.transform,stickyWrapper:o.stickyWrapper},children:(0,Gi.jsx)(B2,{id:a,className:f,"data-name":u,wrapperSizeStyles:s,...r?.dataAttributes||{},children:(0,Gi.jsx)(Wi,{children:()=>(0,Gi.jsx)(F2,{node:e})})})})})}function B2(e){let{className:t,wrapperSizeStyles:r,...n}=e,o=zr(),i=z(o??r),s=(0,g0.default)(t,i);return(0,Gi.jsx)("div",{className:s,...n})}function F2({node:e}){switch(zi("HTMLWidgetLayerContent"),e.widgetType){case"GENERIC":return(0,Gi.jsx)(PO,{node:e});default:return null}}var Lo=R(G()),T0=R(O());var y0="My Site",v0="Created with Figma";var LO=R(O());var S0="body-background-color";function kO({breakpoints:e}){let t=ae(),r=e.sort((s,a)=>s.width-a.width),o=r.map((s,a)=>({layerName:s.name,minWidth:a===0?void 0:s.width,maxWidth:a<r.length-1?r[a+1]?.width:void 0,background:s.background,nodeId:s.nodeId})).map(({background:s,minWidth:a,maxWidth:l,nodeId:u})=>{let c=[];l!==void 0&&c.push(`(max-width: ${l-1}px)`),a!==void 0&&c.push(`(min-width: ${a}px)`);let f=`body:has([data-breakpoint-id="${Io(u)}"]) { background-color: ${s} }`;return c.length>0?`@media ${c.join(", ")} { ${f} }`:f}).join(`
112`),i=En();t==="server"&&i({type:"global-style",styleElId:S0,styleSheet:o}),(0,LO.useInsertionEffect)(()=>{let s=document.getElementById(S0);if(s){s.textContent=o;return}let a=document.createElement("style");return a.textContent=o,a.id=S0,document.head.appendChild(a),()=>{document.head.removeChild(a)}},[e])}function _O({breakpoints:e}){let t=ae(),r=En();if(t!=="server"||e.length===1)return;let n=e.sort((i,s)=>s.width-i.width),o=n.reduce((i,s,a)=>{let l=a===0,u=a===n.length-1,c=n[a-1]?.width||void 0,f=[];return l?f.push(`(width < ${s.width}px)`):u?c&&f.push(`(width >= ${c}px)`):(c&&f.push(`(width >= ${c}px)`),f.push(`(width < ${s.width}px)`)),f.length>0&&i.push(`@media ${f.join(" or ")} {
113        [${am}="${Io(s.nodeId)}"] {display: none !important}
114      }`),i},[]);r({type:"global-style",styleElId:cS,styleSheet:ui(o.join(`
115`))})}var DO=R(O());var x0=new Map;function MO(e,t){let r=JSON.stringify(e);return gs({str:r,hashPrefix:e.type+"-",isUniqueKey:o=>{let i=x0.get(o),s=i?JSON.stringify(i):null;if(t==="server")return!s||s===r;if(s&&s!==r)return!1;let a=document.getElementById(o);return a?BO(a,e):!0}})}function BO(e,t){if(e.tagName==="LINK"&&t.type==="link"){let r=e;return r.getAttribute("href")===t.href&&r.rel===t.rel}else if(e.tagName==="META"&&t.type==="meta"){let r=e,n=t.name||"",o=t.property||"",i=r.getAttribute("property")||"";return r.content===t.content&&r.name===n&&i===o}else if(e.tagName==="TITLE"&&t.type==="title")return e.textContent===t.title;return!1}function FO(e){let t=En(),r=ae();r==="server"&&e.forEach(n=>{let o=MO(n,r);
115x0.has(o)||(t(n),x0.set(o,n))}),(0,DO.useInsertionEffect)(()=>{let n=[];return e.forEach(o=>{if(o.type==="title"){document.title=o.title;return}let i=MO(o,r),s=document.getElementById(i);if(!(s&&BO(s,o))){if(o.type==="link"){let a=document.createElement("link");a.href=o.href,a.rel=o.rel,a.id=i,document.head.appendChild(a),n.push(a)}else if(o.type==="meta"){let a=document.createElement("meta");o.name&&(a.name=o.name),o.property&&a.setAttribute("property",o.property),a.content=o.content,a.id=i,document.head.appendChild(a),n.push(a)}}}),()=>{n.forEach(o=>{o.remove()})}},[e])}function VO({children:e}){let t=si(),{getAssetURL:r}=Q();e!==void 0&&e.length>0;let n=(0,T0.useMemo)(()=>fS(e.filter(i=>i.visible!==!1).filter(i=>Pi(i)).filter(i=>i.type==="FRAME")),[e]);_O({breakpoints:n.breakpoints}),kO({breakpoints:n.breakpoints});let o=(0,T0.useMemo)(()=>{let i=[{type:"title",title:t?.title??y0},{type:"meta",name:"description",content:t?.description??v0}];return t?.blockSearchIndexing&&i.push({type:"meta",name:"robots",content:t?.blockSearchIndexing?"noindex":"index"}),t?.faviconFilename&&i.push({type:"link",rel:"icon",href:r(t?.faviconFilename)}),t?.socialImageFilename&&i.push({type:"meta",property:"og:image",content:r(t?.socialImageFilename)},{type:"meta",property:"twitter:image",content:r(t?.socialImageFilename)}),i},[t?.title,t?.description,t?.blockSearchIndexing,t?.faviconFilename,t?.socialImageFilename,r]);return FO(o),(0,Lo.jsx)(Lo.Fragment,{children:(0,Lo.jsx)(rO,{children:e.map((i,s)=>(0,Lo.jsx)(Xx,{children:(0,Lo.jsx)(Gx,{name:i.name,width:i.size.x,height:i.size.y,children:(0,Lo.jsx)(ji,{name:"sites-layer",nodeId:i.id,children:(0,Lo.jsx)(ln,{node:i,parent:null},s)},s)})},i.id))})})}var fe=R(G()),HO=R(O()),jn=R(O());var $i=R(Vn());function zO(e,t){let{characterStyleOverrides:r,characters:n,lineIndentations:o,lineStyleOverrides:i,lineTextDirections:s,listStartOffsets:a,lineTypes:l,styleOverrideTable:u,lineStartsWithPunctuation:c}=e,f=n.replace(/\r/g," ").split(`
116`),d=0,p=e.style.fontSize;return f.map((m,T)=>{let h=i[T]?u[i[T]]||{}:{},g=0,y=(e.wordWrapper?m.split(/(\s+)/):e.characterWrapper?$c(m):Array.from(m)).reduce((S,E)=>{let w=d+g,C=Array.from(E);if(e.wordWrapper){let N=C.map((b,P)=>r[w+P]);N.every(b=>b===N[0])?S.push({characters:E,override:N[0]}):C.forEach((b,P)=>{S.push({characters:b,override:N[P]})})}else if(e.characterWrapper)jP(E)?S.push({characters:E,override:r[w]}):S.push(...C.map(I=>({characters:I,override:r[w]})));else{let N=r[w],I=S[S.length-1];I&&I.override===N?I.characters+=E:S.push({characters:E,override:N})}return g+=C.length,S},[]).map(S=>{let E=S.override?u[S.override]??{}:{};return t.fontSize||(E.fontSize=E.fontSize??p),{characters:S.characters,style:E}});d+=m.length;let x=r[d]&&u[r[d]]||{};return d+=1,y.length===0&&y.push(V2(l[T]&&l[T]!==ii.NONE?p:x.fontSize??p)),{spans:y,style:h,direction:s?.[T],indentation:o[T]||0,startOffset:a[T]??void 0,listOptions:{type:l[T]||ii.NONE},startsWithPunctuation:!!c?.[T]}})}function V2(e){return{characters:"",style:{fontSize:e}}}function E0(e,t,r){if(t&&!r)return"a";switch(e.accessibleHTMLTag){case"H1":return"h1";case"H2":return"h2";case"H3":return"h3";case"H4":return"h4";case"H5":return"h5";case"H6":return"h6";case"DIV":return"div";case"P":case"AUTO":default:return"p"}}function WO(e,t,r){return e?r?"div":"a":t?r?"div":"button":"div"}var w0=ii.NONE,z2={whiteSpace:"pre-wrap",lineHeight:0},W2={whiteSpace:"pre-wrap"},Ql=e=>e===void 0?void 0:`${e}px`;function H2(e,t,r){let n=zO(e,r);return U2(n,r).map((s,a)=>(0,fe.jsx)(jO,{blockKey:a,tree:s,node:e,context:t},a))}var UO=jn.forwardRef(function({node:t,parent:r,context:n,interactionHandlers:o,depth:i,transitionProps:s,codeBehaviorProps:a},l){let u=ae(),c=Tn(),{scalingMode:f}=Ir(),d=s?.smartAnimateType??$.NONE,p=d===$.INSTANCE_SUBTREE,v=fo(d,t.maybeAnimateRotation),m=ka(),T=sr({node:t,parent:r,context:n,depth:i,children:[],options:{canAnimate:v,previousRotation:m}}),h=Vr({node:t,context:n}),{style:g,className:y}=Vs(t,t.assets,c,f,{width:t.size.x,height:t.size.y}),x=t.interactions??[],S=Wn(x),E=un(x)||t.style.hyperlink!=null,w=Di(t),C=Gt(n,t),N=jn.useMemo(()=>({opacity:C,transform:xn(T.outer.transform)}),[C,T.outer.transform]),I=Ln(t,n),{motionProps:b,key:P,ref:k}=Dn(t.id,t.behaviors,t.assets,N,I),B=Bn(l,k),A=t.behaviors?.code,U=A&&A.length>0,M=ks(t,r,n)||v,H=ar({node:t,parent:r}),K=s?.transitionData,te=zt(K),Ne=jn.useMemo(()=>({fontSize:Object.values(t.styleOverrideTable).find(Ge=>Ge.fontSize)?void 0:t.style.fontSize}),[t.styleOverrideTable,t.style.fontSize]),ve=Ql(t.style.paragraphSpacing),de=Ql(t.style.listSpacing),V={...T.inner,...lr(C),...fi(t),...Pb(t.effects),...g,...gO(t,t.style),...h,...n?.style||{}
116,"--paragraph-spacing":ve,"--list-spacing":de,"--letter-spacing":0,fontSize:Ne.fontSize?g.fontSize:0,lineHeight:0};if(V.letterSpacing&&(V["--letter-spacing"]=V.letterSpacing),t.style.textTruncation==="ENDING"){let Ge=t.style.maxLines;Ge===1?V.whiteSpace="nowrap":Ge&&(V.display="-webkit-box",V.WebkitLineClamp=Ge,V.WebkitBoxOrient="vertical",V.height&&(V.maxHeight=V.height,V.height=void 0)),V.overflow="hidden",V.textOverflow="ellipsis"}let X=n?.withinInteractiveElement||Object.keys(b).length>0||d===$.INSTANCE_SUBTREE,pe=Hn(x,o,X,u),Te=WO(E,S,X),Je=KO(t.style.hyperlink,X,u),Ye=se(t),Ar=(0,$i.default)("textContents",y,{hangingList:t.style.hangingList}),_o=Co(t),fn=(0,HO.useRef)(null),{codeBehaviorWrapperRef:ht,updateStyles:_t}=Ih(),ur=Ge=>{let Mo=H2(Ge,n,Ne),cr=_o?hh:Vl;return(0,fe.jsx)(M?Lh:Vl,{ref:v||p||A?l:null,context:n,node:t,parent:r,childWrapperStyles:{...T.transform},transitionData:K,canAnimate:v,smartAnimateType:d,previousRotation:m,transformRef:fn,onOuterWrapperSizeChange:_t,children:(0,fe.jsx)(Vi,{semanticTag:Te,wrapperSizeStyles:H,ref:v?k:B,id:Ye,context:n,styles:V,additionalClassName:Ar,transitionProps:{opacity:C,smartAnimateType:d,behaviorProps:b,transitionData:K,onTransitionEnd:te},...pe,...Je,...w,...n?.dataAttributes,"data-paragraph-spacing":ve,"data-list-spacing":de,children:(0,fe.jsx)(cr,{node:Ge,children:Mo})},P)})},gt=U?(0,fe.jsx)(Gc,{codeBehaviors:A,ref:ht,children:(0,fe.jsx)(Ph,{node:t,renderNode:Ge=>ur(Ge),codeBehaviorProps:{...a,transformRef:fn}})}):ur(t);return(0,fe.jsx)(Ot,{outerStyles:T.outer,children:(0,fe.jsx)(Mc,{node:t,stickyWrapperStyles:T.stickyWrapper,children:gt})})});function U2(e,t){let r={children:[],type:w0,lineStyleType:void 0};t&&(r.style=t);let n=[r];for(let o of e){let i={block:o,style:t},s=o.listOptions?.type||w0;if(s!=="NONE"){let a=o.indentation+1;for(;n.length>a||n.length===a&&n[n.length-1].type!=="NONE"&&n[n.length-1].type!==s;)n.pop();for(;n.length<a;){let l=a-n.length===1?o.startOffset:void 0,u={children:[],lineStyleType:yO(s,n.length),type:s,start:l,style:{...o.style,...t}};n[n.length-1].children.push(u),n.push(u)}}else n=[r];n[n.length-1].children.push(i)}return r.children}function jO({tree:e,node:t,context:r,blockKey:n}){if("children"in e)return(0,fe.jsx)(G2,{listNode:e,node:t,children:e.children.map((a,l)=>(0,fe.jsx)(jO,{blockKey:l,tree:a,node:t,context:r},l))});let{block:o}=e,i;return t.wordWrapper?i=t.wordWrapper.groupSpansByWord(n,o.spans).map((l,u)=>(0,fe.jsx)(Y2,{spans:l,node:t,block:o,context:r,blockKey:n,wordIndex:u},u)):i=o.spans.map((a,l)=>{let u=o.spans.slice(0,l).reduce((c,f)=>c+f.characters.length,0);return(0,fe.jsx)($O,{span:a,block:o,node:t,context:r,startIndex:u,blockKey:n},l)}),(o.listOptions?.type||w0)!=="NONE"?(0,fe.jsx)($2,{node:t,block:o,commonFontSize:e.style?.fontSize,children:i}):i.length===1?(0,fe.jsx)(j2,{lineIndex:n,node:t,context:r,block:o}):(0,fe.jsx)(K2,{node:t,block:o,children:i})}function j2({lineIndex:e,node:t,context:r,block:n}){n.spans.length;let{style:o,className:i,props:s}=GO({node:t,block:n}),a=!!t.style.hyperlink,l=!!r?.withinInteractiveElement||a,{style:u,className:c,props:f,isHyperlink:d}=C0({node:t,withinInteractiveElement:l,block:n,span:n.spans[0]}),p=jn.useMemo(()=>({display:"block",...o,...u}),[o,u]),v=z(p),m=(0,$i.default)(v,i,c),T=E0(t,d,l),h=(0,fe.jsx)(T,{className:m,...s,...f,children:f.children});return t.lineWrapper?(0,fe.jsx)(jn.Fragment,{children:t.lineWrapper({line:n.spans[0]?.characters??"",index:e,children:h})},`line-${e}`):h}function G2({listNode:e,node:t,children:r}){let n=e.children.find(m=>"block"in m)?.block,o=n?.spans[0],i=Tn(),{scalingMode:s}=Ir(),a=e.type===ii.ORDERED,l=At(),{style:u,className:c}=n&&o?p0(t,n,o,i,s):{style:{},className:void 0},d={...l?{}:{"--list-marker-background-clip":u.backgroundClip??"initial","--list-marker-background-image":u.backgroundImage??"initial","--list-marker-color":u.color??"initial","--list-marker-font-size":u.fontSize??"initial","--list-marker-line-height":u.lineHeight??"initial","--list-marker-mix-blend-mode":u.mixBlendMode??"initial","--list-marker-text-fill-color":u.WebkitTextFillColor??"initial","--list-marker-vertical-align":u.verticalAlign??"initial"},listStyleType:a?e.lineStyleType:void 0,paddingInlineStart:0},p=z(d),v=(0,$i.default)(p,c);return a?(0,fe.jsx)("ol",{className:v,start:e.start,children:r}):(0,fe.jsx)("ul",{className:v,children:r})}function $2({children:e,node:t,block:r,commonFontSize:n}){let o=Tn(),{scalingMode:i}=Ir(),s=t.style.textAlignHorizontal==="LEFT"||t.style.textAlignHorizontal==="JUSTIFIED",{style:a,className:l}=m0(t,r,o,i),u={...W2,...a,listStylePosition:s?void 0:"inside",marginInlineStart:n?Ql(1.5*r.indentation*n):`calc(1.5 * ${r.indentation} * var(--list-marker-font-size, 0))`,"--paragraph-spacing":Ql(r.style.paragraphSpacing),"--list-spacing":Ql(r.style.listSpacing),"--letter-spacing":0},c=z(u);return(0,fe.jsx)("li",{className:(0,$i.default)(c,l),children:e})}function K2({node:e,block:t,children:r}){let{style:n,className:o,props:i}=GO({node:e,block:t}),s=z(n),a=(0,$i.default)(s,o),l=E0(e,!1,!1);return(0,fe.jsx)(l,{className:a,...i,children:r})}function GO({node:e,block:t}){let r=Tn(),{scalingMode:n}=Ir(),{style:o,className:i}=m0(e,t,r,n),s={...z2,...o,"--paragraph-spacing":Ql(t.style.paragraphSpacing),fontSize:void 0,lineHeight:void 0};e.paragraphIndent&&(s.textIndent=e.paragraphIndent);let a=o.fontSize??e.style.fontSize;return e.style.hangingPunctuation&&t.startsWithPunctuation&&(s.textIndent=`calc(${e.paragraphIndent??0}px - 0.45 * ${a}px)`),e.style.textTruncation==="ENDING"&&(e.style.maxLines===1&&(s.whiteSpace="inherit",s.overflow="inherit",s.textOverflow="inherit"),s.fontSize=a),e.textAutoResize==="WIDTH_AND_HEIGHT"&&(s.whiteSpace="pre"),{style:s,className:i,props:{dir:t.direction}}}function $O({node:e,context:t,block:r,span:n,startIndex:o=0,blockKey:i}){let s=!!e.style.hyperlink,a=!!t?.withinInteractiveElement||s,{style:l,className:u,props:c,isHyperlink:f}=C0({node:e,withinInteractiveElement:a,block:r,span:n}),d=z(l),p=(0,$i.default)(d,u),v=jn.useMemo(()=>
116{if(e.characterWrapper){let T=e.characterWrapper;return Array.from(n.characters).map((g,y)=>(0,fe.jsx)(jn.Fragment,{children:T({char:g,index:o+y,children:c.children,lineIndex:i})},`char-${y}`))}return c.children},[e,c.children,n.characters,o,i]),m=(0,fe.jsx)("span",{...c,className:p,children:v});return f&&!a?(0,fe.jsx)("a",{className:p,...c,children:m}):m}function Y2({node:e,spans:t,block:r,context:n,blockKey:o,wordIndex:i}){let s=!!e.style.hyperlink,a=!!n?.withinInteractiveElement||s,{style:l,className:u,props:c}=C0({node:e,withinInteractiveElement:a,block:r,span:t[0]}),f=z(l),d=(0,$i.default)(f,u),p=t.map((v,m)=>(0,fe.jsx)($O,{span:v,block:r,node:e,context:n,blockKey:o,startIndex:0},m));return(0,fe.jsx)("span",{...c,className:d,children:e.wordWrapper.render({wordIndex:i,lineIndex:o,originalRenderedWord:(0,fe.jsx)(fe.Fragment,{children:p})})})}function C0({node:e,withinInteractiveElement:t,block:r,span:n}){let o=ae(),i=Tn(),{scalingMode:s}=Ir(),{style:a,className:l}=p0(e,r,n,i,s),u=n===r.spans[r.spans.length-1],c=u&&X2(n,e.style);u&&c&&e.layoutAlign!=="STRETCH"&&e.layoutGrow!==1&&(l=`${l??""} adjustLetterSpacing`);let f=n.characters.length?q2(n.characters,u):"\xA0",d=n.style.hyperlink??r.style.hyperlink;if(d){let v=KO(d,t,o);return{isHyperlink:!0,style:a,className:l,props:{...v,children:f}}}return{isHyperlink:!1,style:a,className:l,props:{children:f}}}function X2(e,t){return Boolean(e?.style.letterSpacing||t.letterSpacing)}var q2=(e,t)=>{let r=/[\u2028\u2029]/;return e.split(r).flatMap((n,o,i)=>{let s=n;return t&&n===""?[s,(0,fe.jsx)("br",{},"br"+o)]:o<i.length-1?[s,(0,fe.jsx)("br",{},"br"+o)]:[s]})};function KO(e,t,r){if(!e||!e.type)return{};if(e.type==="NODE"&&e.nodeID)return zh(s=>{s.preventDefault(),s.stopPropagation(),d0(e.nodeID)},e.type,e.nodeID,!1,t,r);let n=!!e.openInNewTab;return zh(i=>{i.preventDefault(),i.stopPropagation(),window.open(e.url,n?"_blank":"_self")},e.type,e.url,n,t,r)}var ln=(0,ko.forwardRef)(function({node:t,parent:r,context:n,depth:o,codeBehaviorProps:i},s){let a=um(t.materializedChildNodeProps??[]),{interactionHandlers:l,transitionProps:u}=t;n=Ta(n,Oe);let c=At(),f=(0,ko.useMemo)(()=>c&&!r&&!t.visible,[c,r,t.visible]),d=Ie(yS);(0,ko.useEffect)(()=>{if(t.visible&&!(l===void 0||l?.ON_KEY_DOWN===void 0))return d.set(t.id,l.ON_KEY_DOWN),()=>(d.delete(t.id),void 0)},[l,d,t.id,t.visible]);let p=u?.transitionData;return(0,ko.useEffect)(()=>{let v=[],m;return t.visible&&(p&&!p.layout?v=uO(l,p.id):v=cO(l),v.length&&p&&(m=dO(()=>{setTimeout(()=>{p.onTransitionEnd?.(p.id)},500)},100),window.addEventListener("resize",m))),()=>{fO(v),m&&setTimeout(()=>{removeEventListener("resize",m)})}},[t.id,l,t.visible]),(0,ko.useMemo)(()=>{if(!t||t.visible===!1&&!f)return null;let v=(()=>{switch(t.type){case"RESPONSIVE_SET":return(0,kt.jsx)(tO,{rootMaterializedNode:t,materializedChildren:a,children:(0,kt.jsx)(VO,{node:t,children:a,parent:r,context:n,interactionHandlers:l})});case"FRAME":return(0,kt.jsx)(kh,{ref:s,node:t,children:a,parent:r,context:n,depth:o,interactionHandlers:l,transitionProps:u,codeBehaviorProps:i});case"COMPONENT_SET":return ue(c,"COMPONENT_SET nodes are not supported in sites"),(0,kt.jsx)(RO,{node:t,children:a,parent:r,context:n,depth:o,interactionHandlers:l,transitionProps:u,codeBehaviorProps:i});case"RECTANGLE":return(0,kt.jsx)(kh,{ref:s,node:t,children:a,parent:r,context:n,depth:o,interactionHandlers:l,transitionProps:u,codeBehaviorProps:i});case"GROUP":return(0,kt.jsx)(NO,{node:t,children:a,parent:r,context:n,depth:o,interactionHandlers:l,transitionProps:u,codeBehaviorProps:i});case"IMAGE":case"SVG":return(0,kt.jsx)(hO,{ref:s,node:t,parent:r,depth:o,context:n,interactionHandlers:l,transitionProps:u,codeBehaviorProps:i});case"TEXT":return(0,kt.jsx)(UO,{ref:s,node:t,parent:r,context:n,depth:o,interactionHandlers:l,transitionProps:u,codeBehaviorProps:i});case"WIDGET":return(0,kt.jsx)(OO,{node:t,parent:r,context:n,depth:o,interactionHandlers:l});case"CODE_INSTANCE":case"CODE_LAYER":return(0,kt.jsx)(IO,{node:t,parent:r,context:n,depth:o,interactionHandlers:l});case"REPEATER":return(0,kt.jsx)(kh,{ref:s,node:t,children:a,parent:r,context:n,depth:o,interactionHandlers:l,transitionProps:u});case"CMS_RICH_TEXT":return(0,kt.jsx)(xO,{node:t,parent:r,context:n,depth:o,interactionHandlers:l});default:me(t)}})();return f?(0,kt.jsx)("div",{style:{display:"none"},children:v}):v},[t,a,r,n,l,c,s,o,u,i,f])}),dh=(0,ko.forwardRef)(function({node:t,parent:r,context:n,depth:o,name:i,nodeId:s,childKey:a,codeBehaviorProps:l},u){return(0,kt.jsx)(ji,{name:i,nodeId:s,children:(0,kt.jsx)(ln,{ref:u,node:t,parent:r,context:n,depth:o,codeBehaviorProps:l},a)})});var We=R(G()),cn=R(O());function Zl(e){let{family:t,style:r,url:n,unicodeRange:o}=e;return`
117  @font-face {
118    font-family: "${t}";
119    font-style: ${r};
120    src: url("${n}");
121    font-display: block;
122    ${o&&o!=="*"?`unicode-range: ${o};`:""}
123  }
124`}function Q2(e){let{family:t,style:r,fontBase64:n}=e;return`
125  @font-face {
126    font-family: "${t}";
127    font-style: ${r};
128    src: url('data:font/woff2;base64,${n}') format('woff2');
129    font-display: block;
130  }
131`}var YO=new Map;function I0(){let e=ui(pI()??""),t=ae(),r=gs({str:e??"",hashPrefix:iS,isUniqueKey:n=>{if(t==="server"){let i=YO.get(n);return!i||i===e}let o=document.getElementById(n);return!o||o.textContent===e}});return e&&YO.set(r,e),Fa({cssString:e??"",styleElId:r,deleteElsWithPrefix:iS,skipValidation:!0}
131),null}var jh="reset-css";function A0(e=!0){return Qd` @layer figreset,figoverridable,reset,theme,base,figutils,components,utilities;@layer figreset{:root{--100dvw:100vw;--100dvh:100vh}@supports (width:100dvw){:root{--100dvw:100dvw;--100dvh:100dvh}}}${e?Z2:""}`}var Z2=`
132  @layer figreset {
133    /* Modelled after Tailwind's Preflight CSS */
134    /* When adding new styles, consider scoping them down to '#container .helperClass' in order to avoid conflicts with CSS styles applied to Code Layers */
135
136    /* Global */
137
138    :root {
139      /* Default styling for code nodes. */
140      font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
141    }
142
143    *,
144    *:before,
145    *:after {
146      box-sizing: border-box; /* Prevent padding and border from affecting element width */
147    }
148
149    /* HTML */
150
151    html {
152      -webkit-text-size-adjust: 100%; /* Prevent adjustments of font size after orientation changes in iOS. */
153      -webkit-tap-highlight-color: transparent; /* Disable tap highlights on iOS */
154      -webkit-font-smoothing: antialiased; /* Improve font rendering on macOS. */
155
156      width: 100%;
157    }
158
159    html:has(#responsive-scaler) {
160      scrollbar-width: none;
161      -ms-overflow-style: none;
162    }
163
164    /* Body */
165
166    body {
167      margin: 0; /* Remove default margin */
168      width: 100%;
169    }
170
171    body:has([data-page-overflowx='hidden']) {
172      overflow-x: hidden;
173    }
174
175    body:has([data-page-overflowx='auto']) {
176      overflow-x: auto;
177    }
178
179    /* Container */
180
181    #container {
182      width: 100%;
183    }
184
185    /* Links */
186
187    a {
188      color: inherit;
189      text-decoration: none;
190    }
191
192    button {
193      border: none;
194      background: none;
195      padding: 0;
196    }
197
198    /* Text */
199
200    h1,
201    h2,
202    h3,
203    h4,
204    h5,
205    h6,
206    p {
207      font-size: inherit;
208      font-weight: inherit;
209    }
210
211    /* Remove the default margins */
212
213    blockquote,
214    dl,
215    dd,
216    h1,
217    h2,
218    h3,
219    h4,
220    h5,
221    h6,
222    hr,
223    figure,
224    p,
225    pre {
226      margin: 0;
227    }
228
229    ol,
230    ul,
231    menu {
232      list-style: none;
233      margin: 0;
234      /* the 1.5em is an approximation - the C++ code will measure the width of a tab character */
235      /* See LineLayout::addBulletsInLine */
236      padding-inline-start: 1.5em;
237    }
238
239    /* Keep textContents and textClip in sync with cleanResetText() in preprocess_css.ts */
240    #container .textContents {
241      /*
242    These are set in the text layer, so we don't want to reset them here,
243    or else the specific values set in the text layer will be overriden (due to CSS specificity).
244
245    --paragraph-spacing: 0px;
246    --list-spacing: 0px;
247    */
248
249      /* Text is transparent by default, in case of no fills. */
250      color: #ffffff00;
251    }
252
253    #container .textContents.hangingList > ul,
254    #container .textContents.hangingList > ol {
255      margin-left: -1.5em;
256    }
257
258    #container .textContents > :not(:last-child) {
259      margin-bottom: var(--paragraph-spacing);
260    }
261
262    /* Add list spacing if the next element is also a list item */
263    #container .textContents > :is(ul, ol):not(:last-child):has(+ :is(ul, ol)) {
264      margin-bottom: var(--list-spacing);
265    }
266
267    #container .textContents li {
268      margin-bottom: var(--list-spacing);
269    }
270
271    /* This is incredibly ugly, but we need to make sure that we don't add a margin-bottom to the last
272    *  list item if the next element is a div, regardless of indentation. If tomorrow, we decide to support
273    *  deeper nesting, we'll need to add more selectors.
274    */
275      #container .textContents > :is(ol, ul):is(:last-child, :has(+ div)) > li:last-child,
276      #container
277        .textContents
278        > :is(ol, ul):is(:last-child, :has(+ div))
279        > :is(ol, ul):last-child
280        > li:last-child,
281      #container
282        .textContents
283        > :is(ol, ul):is(:last-child, :has(+ div))
284        > :is(ol, ul):last-child
285        > :is(ol, ul):last-child
286        > li:last-child,
287      #container
288        .textContents
289        > :is(ol, ul):is(:last-child, :has(+ div))
290        > :is(ol, ul):last-child
291        > :is(ol, ul):last-child
292        > :is(ol, ul):last-child
293        > li:last-child,
294      #container
295        .textContents
296        > :is(ol, ul):is(:last-child, :has(+ div))
297        > :is(ol, ul):last-child
298        > :is(ol, ul):last-child
299        > :is(ol, ul):last-child
300        > :is(ol, ul):last-child
301        > li:last-child {
302        margin-bottom: 0;
303      }
304
305    /**
306     * Applies text as a background clip when non-solid fills are present.
307     *
308     * The !important is used to prevent the selector below (.textClip > *) from overriding this value.
309     *
310     * Keep in sync with cleanResetText() in preprocess_css.ts.
311     **/
312      #container .textClip {
313        background-clip: text;
314        -webkit-background-clip: text;
315        -webkit-text-fill-color: transparent !important;
316      }
317
318      /** Removes the text fill color for the subtree so it doesn't cascade downward. */
319      #container .textClip > * {
320        -webkit-text-fill-color: initial;
321      }
322
323    /** Removes default border from iframes */
324    #container .embed {
325      border: none;
326    }
327
328      /*
329   * ----------------- Marquee styles -----------------
330   * These are adapted from https://github.com/justin-chu/react-fast-marquee/blob/master/src/components/Marquee.tsx
331   * Copyright (c) 2020 justin-chu
332   * MIT License
333   */
334    #container .marquee-container {
335      overflow-x: hidden;
336      display: flex;
337      flex-direction: row;
338      position: relative;
339      width: var(--width);
340      transform: var(--transform);
341
342      &:hover div {
343        animation-play-state: var(--pause-on-hover);
344      }
345
346      &:active div {
347        animation-play-state: var(--pause-on-click);
348      }
349    }
350
351    #container .marquee {
352      flex: 0 0 auto;
353      min-width: var(--min-width);
354      display: flex;
355      flex-direction: row;
356      align-items: center;
357      animation: scroll var(--duration) linear var(--delay) var(--iteration-count);
358      animation-delay: var(--delay);
359      animation-direction: var(--direction);
360      animation-timing-function: var(--timing-function);
361    }
362
363    #container .marquee.reduced-motion {
364      @media (prefers-reduced-motion: reduce) {
365        animation: none;
366      }
367    }
368
369    @keyframes scroll {
370      0% {
371        transform: translateX(0%);
372      }
373      100% {
374        transform: translateX(-100%);
375      }
376    }
377
378    #container .marquee-initial-child-container {
379      flex: 0 0 auto;
380      display: flex;
381      min-width: auto;
382      flex-direction: row;
383      align-items: center;
384    }
385
386    #container .marquee-child {
387      transform: var(--transform);
388    }
389
390    /**
391     * Styles for direct children of the code behavior wrapper.
392     * These elements are defined in the code behavior, so we can't access them directly.
393     */
394    .code-behavior-wrapper > * {
395      width: 100%;
396      height: 100%;
397    }
398
399    .bypass-link {
400      position: fixed;
401      top: 16px;
402      left: 0;
403      right: 0;
404      display: flex;
405      justify-content: center;
406      align-items: center;
407      opacity: 0;
408      pointer-events: none;
409    }
410
411    .bypass-link:focus-within {
412      opacity: 1;
413      z-index: 1000;
414    }
415
416    .bypass-link > a {
417        background-color: #000;
418        color: #fff;
419        border: 1px solid #fff;
420        padding: 12px 16px;
421        font-size: 16px;
422        border-radius: 12px;
423        pointer-events: auto;
424    }
425  }
426
427  @layer figutils {
428    /*
429      List discs are not native, so we get more rounded circles and closer positioning to designs
430    */
431    /* .css-ul-before is used in design-to-react */
432    .textContents ul > li:before {
433      content: '\\2022';
434      margin-left: -1.5em;
435      display: inline-block;
436      text-align: center;
437      width: 1.5em;
438      -webkit-background-clip: var(--list-marker-background-clip);
439      -webkit-text-fill-color: var(--list-marker-text-fill-color);
440      background-clip: var(--list-marker-background-clip);
441      background-image: var(--list-marker-background-image);
442      color: var(--list-marker-color);
443      font-size: var(--list-marker-font-size);
444      line-height: var(--list-marker-line-height);
445      mix-blend-mode: var(--list-marker-mix-blend-mode);
446      vertical-align: var(--list-marker-vertical-align);
447    }
448
449    /* .css-ol-marker is used in design-to-react */
450    .textContents ol > li::marker {
451      color: var(--list-marker-color);
452      font-size: var(--list-marker-font-size);
453      line-height: var(--list-marker-line-height);
454      vertical-align: var(--list-marker-vertical-align);
455    }
456
457    .textContents .adjustLetterSpacing:after {
458      content: '';
459      margin-left: calc(var(--letter-spacing) * -1);
460    }
461  }
462`;function R0({withBaseStyles:e,prepend:t=!1}){return Fa({cssString:A0(e),styleElId:jh,prepend:t}),null}function XO({rootMaterializedNodePropsAtom:e,history:t,websiteData:r,getAssetURL:n,getFontURL:o,getCodeComponentURL:i,env:s,transitionAtom:a,currentLocationAtom:l,setLocation:u,preloadLocation:c,onPageRendered:f,onReactError:d,renderOptionsAtom:p,addHeadTag:v,addBodyScript:m,loadComponentsOverNetwork:T,wasServerRendered:h=!1,withBaseStyles:g=!0,inTest:y,isFigmake:x}){let S=Ie(p);(0,cn.useEffect)(()=>{CI(S.testFlags??{})},[S.testFlags]);let E=S.compactDOM??!1,w=S.isMcpGeneration??!1,C=S.independentRootNode??!1;return lW(h),(0,We.jsx)(HI,{reportError:d,children:(0,We.jsx)(Yl,{name:"root-error-boundary",nodeId:"root",children:(0,We.jsxs)(Ov,{websiteData:r,history:t,getAssetURL:n,getFontURL:o,getCodeComponentURL:i,env:s,transitionAtom:a,setLocation:u,preloadLocation:c,compactDOM:E,isMcpGeneration:w,independentRootNode:C,withBaseStyles:g,addHeadTag:v,addBodyScript:m,loadComponentsOverNetwork:T,inTest:y,isFigmake:x,children:[(0,We.jsx)(rW,{rootMaterializedNodePropsAtom:e}),(0,We.jsx)(J2,{currentLocationAtom:l,onPageRendered:f})]})})})}function J2({currentLocationAtom:e,onPageRendered:t}){let r=Ie(e),n=Ie(Ca);return(0,cn.useEffect)(()=>{window.scrollTo(0,r?.scrollY??0)},[r?.scrollY,r?.url]),(0,cn.useEffect)(()=>{t&&r?.url&&t(r.url,n)},[r?.url,t,n]),VA(),null}function Gh(e){let t=document.createRange().createContextualFragment(e);return Array.from(t.children).forEach(n=>n.setAttribute("data-user-element","true")),t}function eW(e){let t=Q()?.websiteData.siteSettings??q(),r=Ie(t),n=r?.customCodeHeadStart,o=r?.customCodeHeadEnd,i=r?.customCodeBodyStart,s=r?.customCodeBodyEnd;(0,cn.useInsertionEffect)(()=>
462{if(e==="preview")return n&&document.head.prepend(Gh(n)),o&&document.head.append(Gh(o)),i&&document.body.prepend(Gh(i)),s&&document.body.append(Gh(s)),()=>{document.querySelectorAll("[data-user-element]").forEach(l=>l.remove())}},[e,n,o,i,s])}function tW(){let t=si()?.addBypassLinks,r=(0,cn.useCallback)(i=>{i.stopPropagation(),i.preventDefault();let s=document.querySelector("main");s&&s.focus()},[]),n=(0,cn.useCallback)(i=>{i.key==="Enter"&&r(i)},[r]),o=(0,cn.useCallback)(i=>{r(i)},[r]);return t?(0,We.jsx)("div",{className:"bypass-link",children:(0,We.jsx)("a",{role:"link",onKeyDown:n,onClick:o,tabIndex:0,children:"Skip to main content"})}):null}function rW({rootMaterializedNodePropsAtom:e}){let t=ae(),r=Q()?.withBaseStyles??!0,n=Ie(e),o=JC(s=>n!==null?vs(s,n,t):null,[n,t]),i=ic();return sO(),sW(),eW(t),o?(0,We.jsxs)(wS,{reducedMotion:i?"never":"user",children:[(0,We.jsx)(R0,{withBaseStyles:r}),(0,We.jsx)(I0,{}),(0,We.jsx)(oA,{}),(0,We.jsx)(tW,{},o.id),(0,We.jsx)(ln,{node:o,parent:null})]}):(0,We.jsx)(We.Fragment,{})}var nW=()=>{};function N0({websiteData:e,history:t,getAssetURL:r,getFontURL:n,getCodeComponentURL:o,env:i,transitionAtom:s,setLocation:a,compactDOM:l=!1,isMcpGeneration:u=!1,independentRootNode:c=!1,withBaseStyles:f=!0,addHeadTag:d,addBodyScript:p,loadComponentsOverNetwork:v=!1,isFigmake:m=!1,children:T}){return(0,We.jsx)(Ov,{websiteData:e,history:t,getAssetURL:r,getFontURL:n,getCodeComponentURL:o,env:i,transitionAtom:s,setLocation:a,preloadLocation:nW,compactDOM:l,isMcpGeneration:u,independentRootNode:c,withBaseStyles:f,addHeadTag:d,addBodyScript:p,loadComponentsOverNetwork:v,isFigmake:m,children:(0,We.jsxs)(We.Fragment,{children:[(0,We.jsx)(R0,{withBaseStyles:f,prepend:!0}),(0,We.jsx)(I0,{}),T]})})}function oW(e,t,r,n){let o=new Map;if(!t)return o;if(t.subsets!=null,t.subsets){let i=t.subsets.baseUrl;if(o.set(e,t.subsets.subsetMappings.sort((s,a)=>s.unicodeRange==="*"?-1:0).map(s=>Zl({family:e,style:t.italic?"italic":"normal",url:r(i+s.file),unicodeRange:s.unicodeRange})).join(`
463`)),n){let s=e.split(":"),a=s[0],l=s.length>1?s[1]:"normal";o.set(a,t.subsets.subsetMappings.sort((u,c)=>u.unicodeRange==="*"?-1:0).map(u=>Zl({family:a,style:l,url:r(i+u.file),unicodeRange:u.unicodeRange})).join(`
464`))}}else if(o.set(e,Zl({family:e,style:t.italic?"italic":"normal",url:r(t.url)})),n){let i=e.split(":"),s=i[0],a=i.length>1?i[1]:"normal";o.set(s,Zl({family:s,style:a,url:r(t.url)}))}return o}function iW(e,t,r){let n=Array.from(e.map).reduce((o,[i,s])=>new Map([...o,...oW(i,s,t,r)]),new Map);return ui([...n.values()].join(`
465`))}function sW(){let e=fI(),r=!!Ie(e),n=Tn(),{getFontURL:o}=Q();nA(iW(n,o,r))}var aW="[Hydrated]";function lW(e){(0,cn.useEffect)(()=>{e&&console.log(aW)},[e])}var $h=class{capacity;leakRate;currentVolume;lastTimestamp;constructor(t,r){this.capacity=t,this.leakRate=r,this.currentVolume=0,this.lastTimestamp=Date.now()}leak(){let t=Date.now(),n=(t-this.lastTimestamp)*this.leakRate;this.currentVolume=Math.max(0,this.currentVolume-n),this.lastTimestamp=t}tryAdd(t=1){return this.leak(),this.currentVolume+t<=this.capacity?(this.currentVolume+=t,!0):!1}};function uW(e,t,r){let n=cW(e,t);return qO(n,r)}function cW(e,t){let r=Md();nc(r,xa(e));let n=Ld(Z().get,r,t);if(!n)throw new Sr(`Not found: ${t}`);let o=n.id;return{key:"root",nodeById:r.nodeById,assets:r.assets,nodeId:o,preexpandedNodeId:o,parentStates:null,modeContext:{},parentState:Wr.createRoot(r,null,!0),animateRootIds:new Set,stablePathToAssetHash:r.stablePathToAssetHash,assetIdToGuid:r.assetIdToGuid,guidToUrl:r.guidToUrl}}function qO(e,t){try{let r=vs(Z().get,e,t),n=r.visible?r.materializedChildNodeProps?.map(i=>qO(i,t)):void 0,o=1;if(n)for(let i of n)o+=i.nodesInSubtree;return delete r.interactionHandlers,delete r.materializedChildNodeProps,delete r.transitionProps,delete r.variableState,delete r.modeContext,structuredClone(r),{node:r,children:n,nodesInSubtree:o}}catch(r){return console.log("Materialization error",r),{node:{type:"ERROR",name:r.message},nodesInSubtree:1}}}var fW={url:""};var dW="[Hydration Error]",mW=["hydrat","Minified React error #418","Minified React error #423","Minified React error #424","Minified React error #425"],QO=class{root;container;websiteData;cmsBundleData;env;pendingLocationAtom;currentLocationAtom;transitionAtom;getPage;getAssetURL;getFontURL;history;onWindowResize=null;rootMaterializedNodePropsAtom;renderOptionsAtom;codeComponentsVersion;assetsVersion;bundleId;loadComponentsOverNetwork;wasServerRendered;classNamesToStyles;globalStyleSheets;linkTags;metaTags;bodyScripts=[];title;withBaseStyles;inTest;isFigmake;onPageRendered;onReactError;onLocationChange;needsHydration=!1;_resolveRootRuntimeAtomForTests=void 0;_rootRuntimeAtomForTestsPromise=void 0;getPagePreloadCache=new Map;constructor({container:t,env:r,loadComponentsOverNetwork:n=!1,history:o,getAssetURL:i=void 0,getFontURL:s=hW,getPage:a=void 0,onPageRendered:l,onReactError:u=ec,onLocationChange:c,sendMessage:f=eI,codeComponentsVersion:d,assetsVersion:p,bundleId:v,renderOptions:m={},wasServerRendered:T=!1,withBaseStyles:h=!0,reportingDomain:g,userId:y,analyticsHeaders:x,bundleCreationDate:S,inTest:E,isFigmake:w}){this.container=t,this.bundleId=v,this.env=r,this.withBaseStyles=h,this.pendingLocationAtom=q(null),this.currentLocationAtom=q(null),this.transitionAtom=q(void 0),this.getPage=a??this.defaultGetPage,this.getAssetURL=i||this.defaultGetAssetURL,this.getFontURL=s,gI(f),o||(o=new pW(N=>this.setLocation(N,!0))),this.websiteData=Md(),this.cmsBundleData=null,this.history=o,this.loadComponentsOverNetwork=n,this.wasServerRendered=T,this.needsHydration=T,this.classNamesToStyles={},this.globalStyleSheets={},this.linkTags=[],this.metaTags=[],this.inTest=!!E,this.isFigmake=!!w,this.onPageRendered=l,this.onReactError=u,this.onLocationChange=c,Qe.init({env:r,reportingDomain:g||"",rateLimiter:new $h(100,1/1e3),analyticsHeaders:x,userId:y,bundleId:v,bundleCreationDate:S}),this.renderOptionsAtom=q(m);let C=this.rootMaterializedNodePropsAtom=q(N=>{let I=N(this.currentLocationAtom);if(!I)return null;let b=Ld(N,this.websiteData,I.url);if(!b)throw new Sr(`Not found: ${I.url}`);let P=b.id;return this._resolveRootRuntimeAtomForTests?.(),{key:"root",nodeById:this.websiteData.nodeById,assets:this.websiteData.assets,assetIdToGuid:this.websiteData.assetIdToGuid,guidToUrl:this.websiteData.guidToUrl,animateRootIds:this.websiteData.animateRootIds,stablePathToAssetHash:this.websiteData.stablePathToAssetHash,nodeId:P,preexpandedNodeId:P,modeContext:{},parentStates:null,parentState:Wr.createRoot(this.websiteData,this.cmsBundleData)}});if(this.rootMaterializedNodePropsAtom=C,this.codeComponentsVersion=d,this.assetsVersion=p,this.isPreview()||this.isPublished()||this.isSnapshot()){this.onWindowResize=()=>{Z().set(Ca,{width:window.innerWidth,height:window.innerHeight})},this.onWindowResize(),window.addEventListener("resize",this.onWindowResize);let N=(I,b,P,k,B)=>{B&&Qe.reportError(B)};window.addEventListener("error",N)}if(this.isPreview()||this.isPublished()&&!this.wasServerRendered){if(!t)throw new J("Container is required in order to render the site.");this.root=(0,Yh.createRoot)(t),this.root.render(this.createWebsiteElement())}}isServer(){return this.env==="server"}isPreview(){return this.env==="preview"}isPublished(){return this.env==="published"}isSnapshot(){return this.env==="snapshot"}createWebsiteElement(){return(0,Kh.createElement)(XO,{websiteData:this.websiteData,env:this.env,rootMaterializedNodePropsAtom:this.rootMaterializedNodePropsAtom,history:this.history,getAssetURL:this.getAssetURL,getFontURL:this.getFontURL,getCodeComponentURL:this.getCodeComponentURL,transitionAtom:this.transitionAtom,withBaseStyles:this.withBaseStyles,inTest:this.inTest,currentLocationAtom:this.currentLocationAtom,setLocation:t=>this.setLocation(t,!1),preloadLocation:t=>{this.preloadLocation(t)},onPageRendered:this.onPageRendered,onReactError:this.handleReactError,renderOptionsAtom:this.renderOptionsAtom,addHeadTag:t=>{t.type==="class-style"?this.classNamesToStyles[t.className]={cssProperties:t.cssProperties,classNameSourceStr:t.classNameSourceStr}:t.type==="global-style"?this.globalStyleSheets[t.styleElId]=t.styleSheet:t.type==="link"?this.linkTags.push(t):t.type==="meta"?this.metaTags.push(t):t.type==="title"&&(this.title=t.title)},addBodyScript:t=>{this.bodyScripts.push(t)},loadComponentsOverNetwork:this.loadComponentsOverNetwork,wasServerRendered:this.wasServerRendered,isFigmake:this.isFigmake})}defaultGetAssetURL=(t,{width:r,height:n}={})=>
465{if(this.assetsVersion){let o=new URLSearchParams;r&&o.set("w",r.toString()),n&&o.set("h",n.toString());let i=o.size>0?`?${o.toString()}`:"";return`/_assets/${this.assetsVersion}/${t}${i}`}return t};defaultGetPage=async t=>{let r=t==="/"?"/_index":t,n=`/_json/${this.bundleId}${r}.json`,i=await(await fetch(n,{method:"GET",credentials:"include",mode:"no-cors"})).json(),s=!1;if(i.nodeById)for(let l in i.nodeById){let u=i.nodeById[l];if(u&&(u.cmsCollectionBindingProperties||u.cmsItemFieldBindingProperties)){s=!0;break}}let a=null;if(s)try{let l=`/_json/${this.bundleId}/_cms${r}.json`,u=await fetch(l,{method:"GET",credentials:"include",mode:"no-cors"});u.ok&&(a=await u.json())}catch(l){Qe.reportError(new Sr("Error loading CMS resource",l)),console.error(l)}return{resource:i,cmsResource:a}};preloadLocation(t){let r=this.getPagePreloadCache.get(t);return r||(r=this.getPage(t),this.getPagePreloadCache.set(t,r)),r}setLocation(t,r){if(t.url==="")return;let n=Z();n.set(this.pendingLocationAtom,t),this.preloadLocation(t.url).then(({resource:o,cmsResource:i})=>{nc(this.websiteData,xa(o)),i&&(this.cmsBundleData=KC(i)),r||this.history.push(t),n.set(this.currentLocationAtom,t),Oe(t.transition,n.get(this.transitionAtom))||n.set(this.transitionAtom,t.transition),this.onLocationChange?.(this),this.needsHydration&&(this.needsHydration=!1,this.hydrate())}).finally(()=>{this.getPagePreloadCache.delete(t.url)})}getCodeComponentURL=()=>{let t=Z();if(this.codeComponentsVersion){let o=t.get(this.websiteData.sourceCodeHash);return o?`/_components/${this.codeComponentsVersion}/${o}.js`:(console.warn("Source code hash not found"),"")}let r="data:text/javascript;charset=utf-8,",n=this.websiteData.compiledCode;return n==null?(console.warn("Compiled code not found"),r):r+encodeURIComponent(t.get(n)??"")};createSnapshotWrapper(t){return(0,Kh.createElement)(N0,{websiteData:this.websiteData,history:this.history,getAssetURL:this.getAssetURL,getFontURL:this.getFontURL,getCodeComponentURL:this.getCodeComponentURL,env:this.env,transitionAtom:this.transitionAtom,setLocation:()=>{},addHeadTag:()=>{},addBodyScript:()=>{},loadComponentsOverNetwork:this.loadComponentsOverNetwork,withBaseStyles:this.withBaseStyles,isFigmake:this.isFigmake},t)}resetGlobalVariableStateForSnapshot(){this.isSnapshot()&&Wr.createRoot(this.websiteData,this.cmsBundleData,!0)}nodeIdToFigmaLayer(t){let r=Z();r.set(this.currentLocationAtom,{url:"/"});let n=this.websiteData.nodeById.get(t),o=r.get(n),i=Z().get(this.rootMaterializedNodePropsAtom),s=Z().get(wa);if(!i||!o)return null;i.nodeId=t,i.preexpandedNodeId=t,i.breakpointWidth=s;let a=vs(Z().get,i,this.env);return function(u){let c=u?Object.fromEntries(Object.entries(u).filter(([d])=>d.startsWith("data-"))):{},f={renderedByCode:!0,style:u?.style,className:u?.className,dataAttributes:c};return(0,Kh.createElement)(ln,{node:a,parent:null,context:f})}}refresh(){window.location.reload()}pushPageData(t){nc(this.websiteData,xa(t))}pushAssetData(t){Pv(this.websiteData,$C(t))}unmount(){this.isServer()||(this.onWindowResize&&window.removeEventListener("resize",this.onWindowResize),setTimeout(()=>{this.root?.unmount()}))}hydrate(){this.wasServerRendered,ue(!!this.container,"Container must be provided in order to hydrate the site."),hA(),(0,Yh.hydrateRoot)(this.container,this.createWebsiteElement(),{onRecoverableError:(t,r)=>{let n=t.message.toLocaleLowerCase(),o=!1;for(let i of mW)if(n.includes(i.toLocaleLowerCase())){o=!0;break}o?console.error(dW,t,t.cause??"",r.componentStack):console.error(t,r.componentStack)}})}toggleDebugTools(){let t=Z();t.set(tc,!t.get(tc))}_convertMaterializedNodePropsDataForTest(t){let r=vs(Z().get,t,this.env),n=r.materializedChildNodeProps;return delete r.interactionHandlers,delete r.materializedChildNodeProps,delete r.transitionProps,"variableState"in r&&delete r.variableState,"modeContext"in r&&delete r.modeContext,{materializedNode:r,materializedChildNodeProps:n}}async _getSerializedMaterializedNodePropsDataForTests(){Z().get(this.rootMaterializedNodePropsAtom)||(this._rootRuntimeAtomForTestsPromise=new Promise(o=>{this._resolveRootRuntimeAtomForTests=o})),await this._rootRuntimeAtomForTestsPromise;let t=Z().get(this.rootMaterializedNodePropsAtom);ue(t!==null,"Root node not found");let r={},n=o=>{let i=this._convertMaterializedNodePropsDataForTest(o);r[i.materializedNode.id]=i.materializedNode,i.materializedChildNodeProps?.forEach(s=>n(s))};return n(t),{rootId:this._convertMaterializedNodePropsDataForTest(t).materializedNode.id,nodeByGuidMap:r}}listenForTestEvent(t){return new Promise(r=>{let n=o=>{let i=o.detail.name;t===i&&(window.removeEventListener("FigmaTestEvent",n),r(t))};window.addEventListener("FigmaTestEvent",n)})}setRenderOptions(t){Z().set(this.renderOptionsAtom,t)}handleReactError=(t,r={})=>{try{this.onReactError(t,r)}catch{}Qe.reportError(t)}},pW=class{onPopState;constructor(t){this.onPopState=t,window.addEventListener("popstate",r=>{let n=r.state;this.onPopState({...this.current,scrollY:n?.scrollY})}),history.replaceState({},"",this.href),t(this.current)}get current(){return{url:window.location.pathname,search:window.location.search}}get href(){let{url:t,search:r}=this.current;return ZO(t,r)}push(t){history.replaceState({scrollY:window.scrollY},"",this.href),history.pushState({},"",ZO(t.url||"/",t.search||""))}forward(){history.forward()}back(){history.back()}},ZO=(e,t)=>
465e+t,hW=e=>e;export{Wl as ActiveBreakpointContext,Gx as ActiveBreakpointProvider,oz as AppearBehaviorPresetTransition,EC as BehaviorEasingType,Mn as BehaviorPresetEasingFunctions,nz as BehaviorPresetScrollParallaxSpeed,rz as BehaviorPresetStates,Zb as BehaviorPresetTransition,Ae as BehaviorType,Me as BlendMode,MC as CmsRichTextNodeDefaults,UC as CodeComponentNodeDefaults,jC as CodeFileNodeDefaults,WC as CodeInstanceNodeDefaults,HC as CodeLayerNodeDefaults,NC as ComponentNodeDefaults,bC as ComponentSetNodeDefaults,_W as CornerRadiusShapeTraitsDefaults,Cv as CornerTraitDefaults,fW as DEFAULT_HISTORY_STATE,v0 as DEFAULT_SITE_DESCRIPTION,y0 as DEFAULT_SITE_TITLE,Qu as DefaultShapeTraitsDefaults,Se as ExpressionFunction,wC as FontVariantPosition,LC as FrameNodeDefaults,tn as FrameTraitsDefaults,kC as GroupNodeDefaults,GC as HTMLWidgetType,qu as HasBlendModeAndOpacityTraitDefaults,$_ as HasEffectsTraitDefaults,K_ as HasFramePropertiesTraitDefaults,Nd as HasGeometryTraitDefaults,Rd as HasLayoutTraitDefaults,IC as HasMaskTraitDefaults,OC as ImageNodeDefaults,DC as InstanceNodeDefaults,kW as InteractionTraitDefaults,Y_ as IsInAnimateTreeTraitDefaults,Sa as IsLayerTraitDefaults,Jr as LayoutConstraintHorizontal,en as LayoutConstraintVertical,ii as LineTypes,iz as MARQUEE_PRESET_DEFAULT_SPEED,jh as RESET_STYLES_ID,BC as RectangleNodeDefaults,AC as RectangularShapeTraitsDefaults,Bs as RenderHooksContext,_C as RepeaterNodeDefaults,zC as ResponsiveSetNodeDefaults,CC as ResponsiveTraitDefaults,QO as SitesRuntime,$ as SmartAnimateType,jc as SnapshotContext,N0 as SnapshotWebsiteProvider,Zu as SourceCodeTraitsDefaults,PC as SvgNodeDefaults,Ad as TextDecoration,FC as TextNodeDefaults,RC as TypePropertiesTraitDefaults,Gl as WebsiteSettingsContext,Xx as WebsiteSettingsProvider,VC as WidgetNodeDefaults,bd as applyDefaultsToPrototype,Zl as buildFontFace,Q2 as buildFontFaceWithFontBase64,Cz as createPropertySetters,Eh as getImageProp,uW as getMaterializedTreeForWebsite,Kx as getPropertySetterNameMap,Io as guidToDOMId,Pd as isPaintGradient,Lx as makeFramerMotionDefinition,xa as parseBundle,Iv as parseNode,HW as parseSchemaData,A0 as resetCSS,om as solidColor};
466/*!
467	Copyright (c) 2018 Jed Watson.
468	Licensed under the MIT License (MIT), see
469	http://jedwatson.github.io/classnames
470*/
471/*!
472 * Bowser - a browser detector
473 * https://github.com/ded/bowser
474 * MIT License | (c) Dustin Diaz 2015
475 */
476/**
477 * @license React
478 * react-dom.production.min.js
479 *
480 * Copyright (c) Facebook, Inc. and its affiliates.
481 *
482 * This source code is licensed under the MIT license found in the
483 * LICENSE file in the root directory of this source tree.
484 */
485/**
486 * @license React
487 * react-jsx-dev-runtime.production.min.js
488 *
489 * Copyright (c) Facebook, Inc. and its affiliates.
490 *
491 * This source code is licensed under the MIT license found in the
492 * LICENSE file in the root directory of this source tree.
493 */
494/**
495 * @license React
496 * react-jsx-runtime.production.min.js
497 *
498 * Copyright (c) Facebook, Inc. and its affiliates.
499 *
500 * This source code is licensed under the MIT license found in the
501 * LICENSE file in the root directory of this source tree.
502 */
503/**
504 * @license React
505 * react.production.min.js
506 *
507 * Copyright (c) Facebook, Inc. and its affiliates.
508 *
509 * This source code is licensed under the MIT license found in the
510 * LICENSE file in the root directory of this source tree.
511 */
512/**
513 * @license React
514 * scheduler.production.min.js
515 *
516 * Copyright (c) Facebook, Inc. and its affiliates.
517 *
518 * This source code is licensed under the MIT license found in the
519 * LICENSE file in the root directory of this source tree.
520 */
521/**
522 * @license Tailwind
523 * https://github.com/tailwindlabs/tailwindcss/blob/v3.4.17/src/css/preflight.css
524 *
525 * Copyright (c) Tailwind Labs, Inc.
526 *
527 * Some of the source code in this file comes from the TailwindCSS project, which is licnesed under the MIT license
528 * https://github.com/tailwindlabs/tailwindcss/blob/main/LICENSE
529 */
530/**
531 * @license react-fast-marquee
532 *
533 * Adapted from https://github.com/justin-chu/react-fast-marquee/blob/master/src/components/Marquee.tsx
534 * Copyright (c) 2020 justin-chu
535 * MIT License
536 */
537
538// #version: 24126af2774e886addd9881c7cd7ed5773982efb

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.