PageSourceSearch

https://prize-loop-crate.figma.site/_runtimes/sites-runtime.8174cd…0e59be87acde9cc756553e3296d3a43f727abccd.js

js prize-loop-crate.figma.site collected 2026-10-03 03:17:03 UTC 540,730 bytes, 474 lines download raw bytes

vendor: 9,578 bytes, line 1
1var BO=Object.create;var Sh=Object.defineProperty;var FO=Object.getOwnPropertyDescriptor;var VO=Object.getOwnPropertyNames;var zO=Object.getPrototypeOf,WO=Object.prototype.hasOwnProperty;var UO=(e,t,r)=>t in e?Sh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var HO=(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 on=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var GO=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of VO(t))!WO.call(e,o)&&o!==r&&Sh(e,o,{get:()=>t[o],enumerable:!(n=FO(t,o))||n.enumerable});return e};var O=(e,t,r)=>(r=e!=null?BO(zO(e)):{},GO(t||!e||!e.__esModule?Sh(r,"default",{value:e,enumerable:!0}):r,e));var Tr=(e,t,r)=>(UO(e,typeof t!="symbol"?t+"":t,r),r);var X0=on(ie=>{"use strict";var Hl=Symbol.for("react.element"),$O=Symbol.for("react.portal"),jO=Symbol.for("react.fragment"),YO=Symbol.for("react.strict_mode"),KO=Symbol.for("react.profiler"),XO=Symbol.for("react.provider"),qO=Symbol.for("react.context"),QO=Symbol.for("react.forward_ref"),ZO=Symbol.for("react.suspense"),JO=Symbol.for("react.memo"),eP=Symbol.for("react.lazy"),V0=Symbol.iterator;function tP(e){return e===null||typeof e!="object"?null:(e=V0&&e[V0]||e["@@iterator"],typeof e=="function"?e:null)}var U0={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},H0=Object.assign,G0={};function Ds(e,t,r){this.props=e,this.context=t,this.refs=G0,this.updater=r||U0}Ds.prototype.isReactComponent={};Ds.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")};Ds.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function $0(){}$0.prototype=Ds.prototype;function Eh(e,t,r){this.props=e,this.context=t,this.refs=G0,this.updater=r||U0}var Th=Eh.prototype=new $0;Th.constructor=Eh;H0(Th,Ds.prototype);Th.isPureReactComponent=!0;var z0=Array.isArray,j0=Object.prototype.hasOwnProperty,wh={current:null},Y0={key:!0,ref:!0,__self:!0,__source:!0};function K0(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)j0.call(t,n)&&!Y0.hasOwnProperty(n)&&(o[n]=t[n]);var l=arguments.length-2;if(l===1)o.children=r;else if(1<l){for(var a=Array(l),u=0;u<l;u++)a[u]=arguments[u+2];o.children=a}if(e&&e.defaultProps)for(n in l=e.defaultProps,l)o[n]===void 0&&(o[n]=l[n]);return{$$typeof:Hl,type:e,key:i,ref:s,props:o,_owner:wh.current}}function rP(e,t){return{$$typeof:Hl,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Ch(e){return typeof e=="object"&&e!==null&&e.$$typeof===Hl}function nP(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var W0=/\/+/g;function xh(e,t){return typeof e=="object"&&e!==null&&e.key!=null?nP(""+e.key):t.toString(36)}function Uc(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 Hl:case $O:s=!0}}if(s)return s=e,o=o(s),e=n===""?"."+xh(s,0):n,z0(o)?(r="",e!=null&&(r=e.replace(W0,"$&/")+"/"),Uc(o,t,r,"",function(u){return u})):o!=null&&(Ch(o)&&(o=rP(o,r+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(W0,"$&/")+"/")+e)),t.push(o)),1;if(s=0,n=n===""?".":n+":",z0(e))for(var l=0;l<e.length;l++){i=e[l];var a=n+xh(i,l);s+=Uc(i,t,r,a,o)}else if(a=tP(e),typeof a=="function")for(e=a.call(e),l=0;!(i=e.next()).done;)i=i.value,a=n+xh(i,l++),s+=Uc(i,t,r,a,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 Wc(e,t,r){if(e==null)return e;var n=[],o=0;return Uc(e,n,"","",function(i){return t.call(r,i,o++)}),n}function oP(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 Ht={current:null},Hc={transition:null},iP={ReactCurrentDispatcher:Ht,ReactCurrentBatchConfig:Hc,ReactCurrentOwner:wh};ie.Children={map:Wc,forEach:function(e,t,r){Wc(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return Wc(e,function(){t++}),t},toArray:function(e){return Wc(e,function(t){return t})||[]},only:function(e){if(!Ch(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};ie.Component=Ds;ie.Fragment=jO;ie.Profiler=KO;ie.PureComponent=Eh;ie.StrictMode=YO;ie.Suspense=ZO;ie.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=iP;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=H0({},e.props),o=e.key,i=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,s=wh.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(a in t)j0.call(t,a)&&!Y0.hasOwnProperty(a)&&(n[a]=t[a]===void 0&&l!==void 0?l[a]:t[a])}var a=arguments.length-2;if(a===1)n.children=r;else if(1<a){l=Array(a);for(var u=0;u<a;u++)l[u]=arguments[u+2];n.children=l}return{$$typeof:Hl,type:e.type,key:o,ref:i,props:n,_owner:s}};ie.createContext=function(e){return e={$$typeof:qO,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:XO,_context:e},e.Consumer=e};ie.createElement=K0;ie.createFactory=function(e){var t=K0.bind(null,e);return t.type=e,t};ie.createRef=function(){return{current:null}};ie.forwardRef=function(e){return{$$typeof:QO,render:e}};ie.isValidElement=Ch;ie.lazy=function(e){return{$$typeof:eP,_payload:{_status:-1,_result:e},_init:oP}};ie.memo=function(e,t){return{$$typeof:JO,type:e,compare:t===void 0?null:t}};ie.startTransition=function(e){var t=Hc.transition;Hc.transition={};try{e()}finally{Hc.transition=t}};ie.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")};ie.useCallback=function(e,t){return Ht.current.useCallback(e,t)};ie.useContext=function(e){return Ht.current.useContext(e)};ie.useDebugValue=function(){};ie.useDeferredValue=function(e){return Ht.current.useDeferredValue(e)};ie.useEffect=function(e,t){return Ht.current.useEffect(e,t)};ie.useId=function(){return Ht.current.useId()};ie.useImperativeHandle=function(e,t,r){return Ht.current.useImperativeHandle(e,t,r)};ie.useInsertionEffect=function(e,t){return Ht.current.useInsertionEffect(e,t)};ie.useLayoutEffect=function(e,t){return Ht.current.useLayoutEffect(e,t)};ie.useMemo=function(e,t){return Ht.current.useMemo(e,t)};ie.useReducer=function(e,t,r){return Ht.current.useReducer(e,t,r)};ie.useRef=function(e){return Ht.current.useRef(e)};ie.useState=function(e){return Ht.current.useState(e)};ie.useSyncExternalStore=function(e,t,r){return Ht.current.useSyncExternalStore(e,t,r)};ie.useTransition=function(){return Ht.current.useTransition()};ie.version="18.2.0"});var M=on((H2,q0)=>{"use strict";q0.exports=X0()});var sx=on(Ne=>{"use strict";function Nh(e,t){var r=e.length;e.push(t);e:for(;0<r;){var n=r-1>>>1,o=e[n];if(0<Gc(o,t))e[n]=t,e[r]=o,r=n;else break e}}function sn(e){return e.length===0?null:e[0]}function jc(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,l=e[s],a=s+1,u=e[a];if(0>Gc(l,r))a<o&&0>Gc(u,l)?(e[n]=u,e[a]=r,n=a):(e[n]=l,e[s]=r,n=s);else if(a<o&&0>Gc(u,r))e[n]=u,e[a]=r,n=a;else break e}}return t}function Gc(e,t){var r=e.sortIndex-t.sortIndex;return r!==0?r:e.id-t.id}typeof performance=="object"&&typeof performance.now=="function"?(Q0=performance,Ne.unstable_now=function(){return Q0.now()}):(Rh=Date,Z0=Rh.now(),Ne.unstable_now=function(){return Rh.now()-Z0});var Q0,Rh,Z0,Cn=[],bo=[],sP=1,Br=null,Pt=3,Yc=!1,$i=!1,$l=!1,tx=typeof setTimeout=="function"?setTimeout:null,rx=typeof clearTimeout=="function"?clearTimeout:null,J0=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function bh(e){for(var t=sn(bo);t!==null;){if(t.callback===null)jc(bo);else if(t.startTime<=e)jc(bo),t.sortIndex=t.expirationTime,Nh(Cn,t);else break;t=sn(bo)}}function Oh(e){if($l=!1,bh(e),!$i)if(sn(Cn)!==null)$i=!0,kh(Ph);else{var t=sn(bo);t!==null&&Lh(Oh,t.startTime-e)}}function Ph(e,t){$i=!1,$l&&($l=!1,rx(jl),jl=-1),Yc=!0;var r=Pt;try{for(bh(t),Br=sn(Cn);Br!==null&&(!(Br.expirationTime>t)||e&&!ix());){var n=Br.callback;if(typeof n=="function"){Br.callback=null,Pt=Br.priorityLevel;var o=n(Br.expirationTime<=t);t=Ne.unstable_now(),typeof o=="function"?Br.callback=o:Br===sn(Cn)&&jc(Cn),bh(t)}else jc(Cn);Br=sn(Cn)}if(Br!==null)var i=!0;else{var s=sn(bo);s!==null&&Lh(Oh,s.startTime-t),i=!1}return i}finally{Br=null,Pt=r,Yc=!1}}var Kc=!1,$c=null,jl=-1,nx=5,ox=-1;function ix(){return!(Ne.unstable_now()-ox<nx)}function Ih(){if($c!==null){var e=Ne.unstable_now();ox=e;var t=!0;
vendor: 4,097 bytes, line 1
1try{t=$c(!0,e)}finally{t?Gl():(Kc=!1,$c=null)}}else Kc=!1}var Gl;typeof J0=="function"?Gl=function(){J0(Ih)}:typeof MessageChannel<"u"?(Ah=new MessageChannel,ex=Ah.port2,Ah.port1.onmessage=Ih,Gl=function(){ex.postMessage(null)}):Gl=function(){tx(Ih,0)};var Ah,ex;function kh(e){$c=e,Kc||(Kc=!0,Gl())}function Lh(e,t){jl=tx(function(){e(Ne.unstable_now())},t)}Ne.unstable_IdlePriority=5;Ne.unstable_ImmediatePriority=1;Ne.unstable_LowPriority=4;Ne.unstable_NormalPriority=3;Ne.unstable_Profiling=null;Ne.unstable_UserBlockingPriority=2;Ne.unstable_cancelCallback=function(e){e.callback=null};Ne.unstable_continueExecution=function(){$i||Yc||($i=!0,kh(Ph))};Ne.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"):nx=0<e?Math.floor(1e3/e):5};Ne.unstable_getCurrentPriorityLevel=function(){return Pt};Ne.unstable_getFirstCallbackNode=function(){return sn(Cn)};Ne.unstable_next=function(e){switch(Pt){case 1:case 2:case 3:var t=3;break;default:t=Pt}var r=Pt;Pt=t;try{return e()}finally{Pt=r}};Ne.unstable_pauseExecution=function(){};Ne.unstable_requestPaint=function(){};Ne.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=Pt;Pt=e;try{return t()}finally{Pt=r}};Ne.unstable_scheduleCallback=function(e,t,r){var n=Ne.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:sP++,callback:t,priorityLevel:e,startTime:r,expirationTime:o,sortIndex:-1},r>n?(e.sortIndex=r,Nh(bo,e),sn(Cn)===null&&e===sn(bo)&&($l?(rx(jl),jl=-1):$l=!0,Lh(Oh,r-n))):(e.sortIndex=o,Nh(Cn,e),$i||Yc||($i=!0,kh(Ph))),e};Ne.unstable_shouldYield=ix;Ne.unstable_wrapCallback=function(e){var t=Pt;return function(){var r=Pt;Pt=t;try{return e.apply(this,arguments)}finally{Pt=r}}}});var lx=on(($2,ax)=>{"use strict";ax.exports=sx()});var pw=on(Nr=>{"use strict";var hE=M(),Ir=lx();function P(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 gE=new Set,pu={};function os(e,t){na(e,t),na(e+"Capture",t)}function na(e,t){for(pu[e]=t,e=0;e<t.length;e++)gE.add(t[e])}var Zn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),rg=Object.prototype.hasOwnProperty,aP=/^[: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]*$/,ux={},cx={};function lP(e){return rg.call(cx,e)?!0:rg.call(ux,e)?!1:aP.test(e)?cx[e]=!0:(ux[e]=!0,!1)}function uP(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 cP(e,t,r,n){if(t===null||typeof t>"u"||uP(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 jt(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 It={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){It[e]=new jt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEac
vendor: 4,692 bytes, lines 1-2
1h(function(e){var t=e[0];It[t]=new jt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){It[e]=new jt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){It[e]=new jt(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){It[e]=new jt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){It[e]=new jt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){It[e]=new jt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){It[e]=new jt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){It[e]=new jt(e,5,!1,e.toLowerCase(),null,!1,!1)});var Kg=/[\-:]([a-z])/g;function Xg(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(Kg,Xg);It[t]=new jt(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(Kg,Xg);It[t]=new jt(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(Kg,Xg);It[t]=new jt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){It[e]=new jt(e,1,!1,e.toLowerCase(),null,!1,!1)});It.xlinkHref=new jt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){It[e]=new jt(e,1,!1,e.toLowerCase(),null,!0,!0)});function qg(e,t,r,n){var o=It.hasOwnProperty(t)?It[t]:null;(o!==null?o.type!==0:n||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(cP(t,r,o,n)&&(r=null),n||o===null?lP(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=hE.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Xc=Symbol.for("react.element"),Vs=Symbol.for("react.portal"),zs=Symbol.for("react.fragment"),Qg=Symbol.for("react.strict_mode"),ng=Symbol.for("react.profiler"),yE=Symbol.for("react.provider"),vE=Symbol.for("react.context"),Zg=Symbol.for("react.forward_ref"),og=Symbol.for("react.suspense"),ig=Symbol.for("react.suspense_list"),Jg=Symbol.for("react.memo"),Po=Symbol.for("react.lazy");Symbol.for("react.scope");Symbol.for("react.debug_trace_mode");var SE=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden");Symbol.for("react.cache");Symbol.for("react.tracing_marker");var fx=Symbol.iterator;function Yl(e){return e===null||typeof e!="object"?null:(e=fx&&e[fx]||e["@@iterator"],typeof e=="function"?e:null)}var $e=Object.assign,Mh;function tu(e){if(Mh===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);Mh=t&&t[1]||""}return`
2`+Mh+e}var _h=!1;function Dh(e,t){if(!e||_h)return"";_h=!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,l=i.length-1;1<=s&&0<=l&&o[s]!==i[l];)l--;for(;1<=s&&0<=l;s--,l--)if(o[s]!==i[l]){if(s!==1||l!==1)do if(s--,l--,0>l||o[s]!==i[l]){var a=`
5`+o[s].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}while(1<=s&&0<=l);break}}}finally{_h=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?tu(e):""}function fP(e){switch(e.tag){case 5:return tu(e.type);case 16:return tu("Lazy");case 13:return tu("Suspense");case 19:return tu("SuspenseList");case 0:case 2:case 15:return e=Dh(e.type,!1),e;case 11:return e=Dh(e.type.render,!1),e;case 1:return e=Dh(e.type,!0),e;default:return""}}function sg(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 zs:return"Fragment";case Vs:return"Portal";case ng:return"Profiler";case Qg:return"StrictMode";case og:return"Suspense";case ig:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case vE:return(e.displayName||"Context")+".Consumer";case yE:return(e._context.displayName||"Context")+".Provider";case Zg:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Jg:return t=e.displayName||null,t!==null?t:sg(e.type)||"Memo";case Po:t=e._payload,e=e._init;try{return sg(e(t))}catch{}}return null}function dP(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 sg(t);case 8:return t===Qg?"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 $o(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function xE(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function mP(e){var t=xE(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 qc(e){e._valueTracker||(e._valueTracker=mP(e))}function EE(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=xE(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function Rf(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 ag(e,t){var r=t.checked;return $e({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function dx(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=$o(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 TE(e,t){t=t.checked,t!=null&&qg(e,"checked",t,!1)}function lg(e,t){TE(e,t);var r=$o(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")?ug(e,t.type,r):t.hasOwnProperty("defaultValue")&&ug(e,t.type,$o(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function mx(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 ug(e,t,r){(t!=="number"||Rf(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var ru=Array.isArray;function Qs(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=""+$o(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 cg(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(P(91));return $e({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function px(e,t){var r=t.value;if(r==null){if(r=t.children,t=t.defaultValue,r!=null){if(t!=null)throw Error(P(92));if(ru(r)){if(1<r.length)throw Error(P(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:$o(r)}}function wE(e,t){var r=$o(t.value),n=$o(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 hx(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function CE(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 fg(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?CE(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Qc,RE=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(Qc=Qc||document.createElement("div"),Qc.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Qc.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function hu(e,t){if(t){var r=e.firstChild;
vendor: 5,408 bytes, line 5
5if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var iu={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},pP=["Webkit","ms","Moz","O"];Object.keys(iu).forEach(function(e){pP.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),iu[t]=iu[e]})});function IE(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||iu.hasOwnProperty(e)&&iu[e]?(""+t).trim():t+"px"}function AE(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,o=IE(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}var hP=$e({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 dg(e,t){if(t){if(hP[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(P(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(P(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(P(61))}if(t.style!=null&&typeof t.style!="object")throw Error(P(62))}}function mg(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 pg=null;function ey(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var hg=null,Zs=null,Js=null;function gx(e){if(e=Lu(e)){if(typeof hg!="function")throw Error(P(280));var t=e.stateNode;t&&(t=Jf(t),hg(e.stateNode,e.type,t))}}function NE(e){Zs?Js?Js.push(e):Js=[e]:Zs=e}function bE(){if(Zs){var e=Zs,t=Js;if(Js=Zs=null,gx(e),t)for(e=0;e<t.length;e++)gx(t[e])}}function OE(e,t){return e(t)}function PE(){}var Bh=!1;function kE(e,t,r){if(Bh)return e(t,r);Bh=!0;try{return OE(e,t,r)}finally{Bh=!1,(Zs!==null||Js!==null)&&(PE(),bE())}}function gu(e,t){var r=e.stateNode;if(r===null)return null;var n=Jf(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(P(231,t,typeof r));return r}var gg=!1;if(Zn)try{Bs={},Object.defineProperty(Bs,"passive",{get:function(){gg=!0}}),window.addEventListener("test",Bs,Bs),window.removeEventListener("test",Bs,Bs)}catch{gg=!1}var Bs;function gP(e,t,r,n,o,i,s,l,a){var u=Array.prototype.slice.call(arguments,3);try{t.apply(r,u)}catch(c){this.onError(c)}}var su=!1,If=null,Af=!1,yg=null,yP={onError:function(e){su=!0,If=e}};function vP(e,t,r,n,o,i,s,l,a){su=!1,If=null,gP.apply(yP,arguments)}function SP(e,t,r,n,o,i,s,l,a){if(vP.apply(this,arguments),su){if(su){var u=If;su=!1,If=null}else throw Error(P(198));Af||(Af=!0,yg=u)}}function is(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 LE(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 yx(e){if(is(e)!==e)throw Error(P(188))}function xP(e){var t=e.alternate;if(!t){if(t=is(e),t===null)throw Error(P(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 yx(o),e;if(i===n)return yx(o),t;i=i.sibling}throw Error(P(188))}if(r.return!==n.return)r=o,n=i;else{for(var s=!1,l=o.child;l;){if(l===r){s=!0,r=o,n=i;break}if(l===n){s=!0,n=o,r=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===r){s=!0,r=i,n=o;break}if(l===n){s=!0,n=i,r=o;break}l=l.sibling}if(!s)throw Error(P(189))}}if(r.alternate!==n)throw Error(P(190))}if(r.tag!==3)throw Error(P(188));return r.stateNode.current===r?e:t}function ME(e){return e=xP(e),e!==null?_E(e):null}function _E(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=_E(e);if(t!==null)return t;e=e.sibling}return null}var DE=Ir.unstable_scheduleCallback,vx=Ir.unstable_cancelCallback,EP=Ir.unstable_shouldYield,TP=Ir.unstable_requestPaint,rt=Ir.unstable_now,wP=Ir.unstable_getCurrentPriorityLevel,ty=Ir.unstable_ImmediatePriority,BE=Ir.unstable_UserBlockingPriority,Nf=Ir.unstable_NormalPriority,CP=Ir.unstable_LowPriority,FE=Ir.unstable_IdlePriority,Xf=null,Nn=null;function RP(e){if(Nn&&typeof Nn.onCommitFiberRoot=="function")try{Nn.onCommitFiberRoot(Xf,e,void 0,(e.current.flags&128)===128)}catch{}}
vendor: 4,484 bytes, line 5
5var fn=Math.clz32?Math.clz32:NP,IP=Math.log,AP=Math.LN2;function NP(e){return e>>>=0,e===0?32:31-(IP(e)/AP|0)|0}var Zc=64,Jc=4194304;function nu(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 bf(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 l=s&~o;l!==0?n=nu(l):(i&=s,i!==0&&(n=nu(i)))}else s=r&~o,s!==0?n=nu(s):i!==0&&(n=nu(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-fn(t),o=1<<r,n|=e[r],t&=~o;return n}function bP(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 OP(e,t){for(var r=e.suspendedLanes,n=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var s=31-fn(i),l=1<<s,a=o[s];a===-1?(!(l&r)||l&n)&&(o[s]=bP(l,t)):a<=t&&(e.expiredLanes|=l),i&=~l}}function vg(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function VE(){var e=Zc;return Zc<<=1,!(Zc&4194240)&&(Zc=64),e}function Fh(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function Pu(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-fn(t),e[t]=r}function PP(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-fn(r),i=1<<o;t[o]=0,n[o]=-1,e[o]=-1,r&=~i}}function ry(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var n=31-fn(r),o=1<<n;o&t|e[n]&t&&(e[n]|=t),r&=~o}}var ve=0;function zE(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var WE,ny,UE,HE,GE,Sg=!1,ef=[],Bo=null,Fo=null,Vo=null,yu=new Map,vu=new Map,Lo=[],kP="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 Sx(e,t){switch(e){case"focusin":case"focusout":Bo=null;break;case"dragenter":case"dragleave":Fo=null;break;case"mouseover":case"mouseout":Vo=null;break;case"pointerover":case"pointerout":yu.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":vu.delete(t.pointerId)}}function Kl(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=Lu(t),t!==null&&ny(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function LP(e,t,r,n,o){switch(t){case"focusin":return Bo=Kl(Bo,e,t,r,n,o),!0;case"dragenter":return Fo=Kl(Fo,e,t,r,n,o),!0;case"mouseover":return Vo=Kl(Vo,e,t,r,n,o),!0;case"pointerover":var i=o.pointerId;return yu.set(i,Kl(yu.get(i)||null,e,t,r,n,o)),!0;case"gotpointercapture":return i=o.pointerId,vu.set(i,Kl(vu.get(i)||null,e,t,r,n,o)),!0}return!1}function $E(e){var t=Ki(e.target);if(t!==null){var r=is(t);if(r!==null){if(t=r.tag,t===13){if(t=LE(r),t!==null){e.blockedOn=t,GE(e.priority,function(){UE(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 hf(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=xg(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r===null){r=e.nativeEvent;var n=new r.constructor(r.type,r);pg=n,r.target.dispatchEvent(n),pg=null}else return t=Lu(r),t!==null&&ny(t),e.blockedOn=r,!1;t.shift()}return!0}function xx(e,t,r){hf(e)&&r.delete(t)}
vendor: 4,581 bytes, line 5
5function MP(){Sg=!1,Bo!==null&&hf(Bo)&&(Bo=null),Fo!==null&&hf(Fo)&&(Fo=null),Vo!==null&&hf(Vo)&&(Vo=null),yu.forEach(xx),vu.forEach(xx)}function Xl(e,t){e.blockedOn===t&&(e.blockedOn=null,Sg||(Sg=!0,Ir.unstable_scheduleCallback(Ir.unstable_NormalPriority,MP)))}function Su(e){function t(o){return Xl(o,e)}if(0<ef.length){Xl(ef[0],e);for(var r=1;r<ef.length;r++){var n=ef[r];n.blockedOn===e&&(n.blockedOn=null)}}for(Bo!==null&&Xl(Bo,e),Fo!==null&&Xl(Fo,e),Vo!==null&&Xl(Vo,e),yu.forEach(t),vu.forEach(t),r=0;r<Lo.length;r++)n=Lo[r],n.blockedOn===e&&(n.blockedOn=null);for(;0<Lo.length&&(r=Lo[0],r.blockedOn===null);)$E(r),r.blockedOn===null&&Lo.shift()}var ea=ro.ReactCurrentBatchConfig,Of=!0;function _P(e,t,r,n){var o=ve,i=ea.transition;ea.transition=null;try{ve=1,oy(e,t,r,n)}finally{ve=o,ea.transition=i}}function DP(e,t,r,n){var o=ve,i=ea.transition;ea.transition=null;try{ve=4,oy(e,t,r,n)}finally{ve=o,ea.transition=i}}function oy(e,t,r,n){if(Of){var o=xg(e,t,r,n);if(o===null)$h(e,t,n,Pf,r),Sx(e,n);else if(LP(o,e,t,r,n))n.stopPropagation();else if(Sx(e,n),t&4&&-1<kP.indexOf(e)){for(;o!==null;){var i=Lu(o);if(i!==null&&WE(i),i=xg(e,t,r,n),i===null&&$h(e,t,n,Pf,r),i===o)break;o=i}o!==null&&n.stopPropagation()}else $h(e,t,n,null,r)}}var Pf=null;function xg(e,t,r,n){if(Pf=null,e=ey(n),e=Ki(e),e!==null)if(t=is(e),t===null)e=null;else if(r=t.tag,r===13){if(e=LE(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 Pf=e,null}function jE(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(wP()){case ty:return 1;case BE:return 4;case Nf:case CP:return 16;case FE:return 536870912;default:return 16}default:return 16}}var _o=null,iy=null,gf=null;function YE(){if(gf)return gf;var e,t=iy,r=t.length,n,o="value"in _o?_o.value:_o.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 gf=o.slice(e,1<n?1-n:void 0)}function yf(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 tf(){return!0}function Ex(){return!1}function Ar(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 l in e)e.hasOwnProperty(l)&&(r=e[l],this[l]=r?r(i):i[l]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?tf:Ex,this.isPropagationStopped=Ex,this}return $e(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=tf)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=tf)},persist:function(){},isPersistent:tf}),t}var ca={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},sy=Ar(ca),ku=$e({},ca,{view:0,detail:0}),BP=Ar(ku),Vh,zh,ql,qf=$e({},ku,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ay,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!==ql&&(ql&&e.type==="mousemove"?(V
vendor: 4,834 bytes, line 5
5h=e.screenX-ql.screenX,zh=e.screenY-ql.screenY):zh=Vh=0,ql=e),Vh)},movementY:function(e){return"movementY"in e?e.movementY:zh}}),Tx=Ar(qf),FP=$e({},qf,{dataTransfer:0}),VP=Ar(FP),zP=$e({},ku,{relatedTarget:0}),Wh=Ar(zP),WP=$e({},ca,{animationName:0,elapsedTime:0,pseudoElement:0}),UP=Ar(WP),HP=$e({},ca,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),GP=Ar(HP),$P=$e({},ca,{data:0}),wx=Ar($P),jP={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},YP={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"},KP={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function XP(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=KP[e])?!!t[e]:!1}function ay(){return XP}var qP=$e({},ku,{key:function(e){if(e.key){var t=jP[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=yf(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?YP[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ay,charCode:function(e){return e.type==="keypress"?yf(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?yf(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),QP=Ar(qP),ZP=$e({},qf,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Cx=Ar(ZP),JP=$e({},ku,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ay}),ek=Ar(JP),tk=$e({},ca,{propertyName:0,elapsedTime:0,pseudoElement:0}),rk=Ar(tk),nk=$e({},qf,{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}),ok=Ar(nk),ik=[9,13,27,32],ly=Zn&&"CompositionEvent"in window,au=null;Zn&&"documentMode"in document&&(au=document.documentMode);var sk=Zn&&"TextEvent"in window&&!au,KE=Zn&&(!ly||au&&8<au&&11>=au),Rx=String.fromCharCode(32),Ix=!1;function XE(e,t){switch(e){case"keyup":return ik.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function qE(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ws=!1;function ak(e,t){switch(e){case"compositionend":return qE(t);case"keypress":return t.which!==32?null:(Ix=!0,Rx);case"textInput":return e=t.data,e===Rx&&Ix?null:e;default:return null}}function lk(e,t){if(Ws)return e==="compositionend"||!ly&&XE(e,t)?(e=YE(),gf=iy=_o=null,Ws=!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 KE&&t.locale!=="ko"?null:t.data;default:return null}}var uk={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 Ax(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!uk[e.type]:t==="textarea"}function QE(e,t,r,n){NE(n),t=kf(t,"onChange"),0<t.length&&(r=new sy("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var lu=null,xu=null;function ck(e){lT(e,0)}function Qf(e){var t=Gs(e);if(EE(t))return e}function fk(e,t){if(e==="change")return t}var ZE=!1;Zn&&(Zn?(nf="oninput"in document,nf||(Uh=document.createElement("div"),Uh.setAttribute("oninput","return;"),nf=typeof Uh.oninput=="function"),rf=nf):rf=!1,ZE=rf&&(!document.documentMode||9<document.documentMode));var rf,nf,Uh;function Nx(){lu&&(lu.detachEvent("onpropertychange",JE),xu=lu=null)}function JE(e){if(e.propertyName==="value"&&Qf(xu)){var t=[];QE(t,xu,e,ey(e)),kE(ck,t)}}function dk(e,t,r){e==="focusin"?(Nx(),lu=t,xu=r,lu.attachEvent("onpropertychange",JE)):e==="focusout"&&Nx()}function mk(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Qf(xu)}function pk(e,t){if(e==="click")return Qf(t)}function hk(e,t){if(e==="input"||e==="change")return Qf(t)}function gk(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var mn=typeof Object.is=="function"?Object.is:gk;function Eu(e,t){if(mn(e,t))return!0;
vendor: 2,716 bytes, line 5
5if(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(!rg.call(t,o)||!mn(e[o],t[o]))return!1}return!0}function bx(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ox(e,t){var r=bx(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=bx(r)}}function eT(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?eT(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function tT(){for(var e=window,t=Rf();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Rf(e.document)}return t}function uy(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 yk(e){var t=tT(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&eT(r.ownerDocument.documentElement,r)){if(n!==null&&uy(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=Ox(r,i);var s=Ox(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 vk=Zn&&"documentMode"in document&&11>=document.documentMode,Us=null,Eg=null,uu=null,Tg=!1;function Px(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Tg||Us==null||Us!==Rf(n)||(n=Us,"selectionStart"in n&&uy(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),uu&&Eu(uu,n)||(uu=n,n=kf(Eg,"onSelect"),0<n.length&&(t=new sy("onSelect","select",null,t,r),e.push({event:t,listeners:n}
vendor: 4,224 bytes, line 5
5),t.target=Us)))}function of(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var Hs={animationend:of("Animation","AnimationEnd"),animationiteration:of("Animation","AnimationIteration"),animationstart:of("Animation","AnimationStart"),transitionend:of("Transition","TransitionEnd")},Hh={},rT={};Zn&&(rT=document.createElement("div").style,"AnimationEvent"in window||(delete Hs.animationend.animation,delete Hs.animationiteration.animation,delete Hs.animationstart.animation),"TransitionEvent"in window||delete Hs.transitionend.transition);function Zf(e){if(Hh[e])return Hh[e];if(!Hs[e])return e;var t=Hs[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in rT)return Hh[e]=t[r];return e}var nT=Zf("animationend"),oT=Zf("animationiteration"),iT=Zf("animationstart"),sT=Zf("transitionend"),aT=new Map,kx="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 Yo(e,t){aT.set(e,t),os(t,[e])}for(sf=0;sf<kx.length;sf++)af=kx[sf],Lx=af.toLowerCase(),Mx=af[0].toUpperCase()+af.slice(1),Yo(Lx,"on"+Mx);var af,Lx,Mx,sf;Yo(nT,"onAnimationEnd");Yo(oT,"onAnimationIteration");Yo(iT,"onAnimationStart");Yo("dblclick","onDoubleClick");Yo("focusin","onFocus");Yo("focusout","onBlur");Yo(sT,"onTransitionEnd");na("onMouseEnter",["mouseout","mouseover"]);na("onMouseLeave",["mouseout","mouseover"]);na("onPointerEnter",["pointerout","pointerover"]);na("onPointerLeave",["pointerout","pointerover"]);os("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));os("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));os("onBeforeInput",["compositionend","keypress","textInput","paste"]);os("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));os("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));os("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ou="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(" "),Sk=new Set("cancel close invalid load scroll toggle".split(" ").concat(ou));function _x(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,SP(n,t,void 0,e),e.currentTarget=null}function lT(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 l=n[s],a=l.instance,u=l.currentTarget;if(l=l.listener,a!==i&&o.isPropagationStopped())break e;_x(o,l,u),i=a}else for(s=0;s<n.length;s++){if(l=n[s],a=l.instance,u=l.currentTarget,l=l.listener,a!==i&&o.isPropagationStopped())break e;_x(o,l,u),i=a}}}if(Af)throw e=yg,Af=!1,yg=null,e}function Le(e,t){var r=t[Ag];r===void 0&&(r=t[Ag]=new Set);var n=e+"__bubble";r.has(n)||(uT(t,e,2,!1),r.add(n))}function Gh(e,t,r){var n=0;t&&(n|=4),uT(r,e,n,t)}var lf="_reactListening"+Math.random().toString(36).slice(2);function Tu(e){if(!e[lf]){e[lf]=!0,gE.forEach(function(r){r!=="selectionchange"&&(Sk.has(r)||Gh(r,!1,e),Gh(r,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[lf]||(t[lf]=!0,Gh("selectionchange",!1,t))}}function uT(e,t,r,n){switch(jE(t)){case 1:var o=_P;break;case 4:o=DP;break;default:o=oy}r=o.bind(null,t,r,e),o=void 0,!gg||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 $h(e,t,r,n,o){var i=n;
vendor: 6,798 bytes, lines 5-6
5if(!(t&1)&&!(t&2)&&n!==null)e:for(;;){if(n===null)return;var s=n.tag;if(s===3||s===4){var l=n.stateNode.containerInfo;if(l===o||l.nodeType===8&&l.parentNode===o)break;if(s===4)for(s=n.return;s!==null;){var a=s.tag;if((a===3||a===4)&&(a=s.stateNode.containerInfo,a===o||a.nodeType===8&&a.parentNode===o))return;s=s.return}for(;l!==null;){if(s=Ki(l),s===null)return;if(a=s.tag,a===5||a===6){n=i=s;continue e}l=l.parentNode}}n=n.return}kE(function(){var u=i,c=ey(r),f=[];e:{var d=aT.get(e);if(d!==void 0){var m=sy,g=e;switch(e){case"keypress":if(yf(r)===0)break e;case"keydown":case"keyup":m=QP;break;case"focusin":g="focus",m=Wh;break;case"focusout":g="blur",m=Wh;break;case"beforeblur":case"afterblur":m=Wh;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":m=Tx;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":m=VP;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":m=ek;break;case nT:case oT:case iT:m=UP;break;case sT:m=rk;break;case"scroll":m=BP;break;case"wheel":m=ok;break;case"copy":case"cut":case"paste":m=GP;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":m=Cx}var S=(t&4)!==0,E=!S&&e==="scroll",h=S?d!==null?d+"Capture":null:d;S=[];for(var p=u,y;p!==null;){y=p;var v=y.stateNode;if(y.tag===5&&v!==null&&(y=v,h!==null&&(v=gu(p,h),v!=null&&S.push(wu(p,v,y)))),E)break;p=p.return}0<S.length&&(d=new m(d,g,null,r,c),f.push({event:d,listeners:S}))}}if(!(t&7)){e:{if(d=e==="mouseover"||e==="pointerover",m=e==="mouseout"||e==="pointerout",d&&r!==pg&&(g=r.relatedTarget||r.fromElement)&&(Ki(g)||g[Jn]))break e;if((m||d)&&(d=c.window===c?c:(d=c.ownerDocument)?d.defaultView||d.parentWindow:window,m?(g=r.relatedTarget||r.toElement,m=u,g=g?Ki(g):null,g!==null&&(E=is(g),g!==E||g.tag!==5&&g.tag!==6)&&(g=null)):(m=null,g=u),m!==g)){if(S=Tx,v="onMouseLeave",h="onMouseEnter",p="mouse",(e==="pointerout"||e==="pointerover")&&(S=Cx,v="onPointerLeave",h="onPointerEnter",p="pointer"),E=m==null?d:Gs(m),y=g==null?d:Gs(g),d=new S(v,p+"leave",m,r,c),d.target=E,d.relatedTarget=y,v=null,Ki(c)===u&&(S=new S(h,p+"enter",g,r,c),S.target=y,S.relatedTarget=E,v=S),E=v,m&&g)t:{for(S=m,h=g,p=0,y=S;y;y=Fs(y))p++;for(y=0,v=h;v;v=Fs(v))y++;for(;0<p-y;)S=Fs(S),p--;for(;0<y-p;)h=Fs(h),y--;for(;p--;){if(S===h||h!==null&&S===h.alternate)break t;S=Fs(S),h=Fs(h)}S=null}else S=null;m!==null&&Dx(f,d,m,S,!1),g!==null&&E!==null&&Dx(f,E,g,S,!0)}}e:{if(d=u?Gs(u):window,m=d.nodeName&&d.nodeName.toLowerCase(),m==="select"||m==="input"&&d.type==="file")var x=fk;else if(Ax(d))if(ZE)x=hk;else{x=mk;var T=dk}else(m=d.nodeName)&&m.toLowerCase()==="input"&&(d.type==="checkbox"||d.type==="radio")&&(x=pk);if(x&&(x=x(e,u))){QE(f,x,r,c);break e}T&&T(e,d,u),e==="focusout"&&(T=d._wrapperState)&&T.controlled&&d.type==="number"&&ug(d,"number",d.value)}switch(T=u?Gs(u):window,e){case"focusin":(Ax(T)||T.contentEditable==="true")&&(Us=T,Eg=u,uu=null);break;case"focusout":uu=Eg=Us=null;break;case"mousedown":Tg=!0;break;case"contextmenu":case"mouseup":case"dragend":Tg=!1,Px(f,r,c);break;case"selectionchange":if(vk)break;case"keydown":case"keyup":Px(f,r,c)}var w;if(ly)e:{switch(e){case"compositionstart":var I="onCompositionStart";break e;case"compositionend":I="onCompositionEnd";break e;case"compositionupdate":I="onCompositionUpdate";break e}I=void 0}else Ws?XE(e,r)&&(I="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(I="onCompositionStart");I&&(KE&&r.locale!=="ko"&&(Ws||I!=="onCompositionStart"?I==="onCompositionEnd"&&Ws&&(w=YE()):(_o=c,iy="value"in _o?_o.value:_o.textContent,Ws=!0)),T=kf(u,I),0<T.length&&(I=new wx(I,e,null,r,c),f.push({event:I,listeners:T}),w?I.data=w:(w=qE(r),w!==null&&(I.data=w)))),(w=sk?ak(e,r):lk(e,r))&&(u=kf(u,"onBeforeInput"),0<u.length&&(c=new wx("onBeforeInput","beforeinput",null,r,c),f.push({event:c,listeners:u}),c.data=w))}lT(f,t)})}function wu(e,t,r){return{instance:e,listener:t,currentTarget:r}}function kf(e,t){for(var r=t+"Capture",n=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=gu(e,r),i!=null&&n.unshift(wu(e,i,o)),i=gu(e,t),i!=null&&n.push(wu(e,i,o))),e=e.return}return n}function Fs(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Dx(e,t,r,n,o){for(var i=t._reactName,s=[];r!==null&&r!==n;){var l=r,a=l.alternate,u=l.stateNode;if(a!==null&&a===n)break;l.tag===5&&u!==null&&(l=u,o?(a=gu(r,i),a!=null&&s.unshift(wu(r,a,l))):o||(a=gu(r,i),a!=null&&s.push(wu(r,a,l)))),r=r.return}s.length!==0&&e.push({event:t,listeners:s})}var xk=/\r\n?/g,Ek=/\u0000|\uFFFD/g;function Bx(e){return(typeof e=="string"?e:""+e).replace(xk,`
6`).replace(Ek,"")}function uf(e,t,r){if(t=Bx(t),Bx(e)!==t&&r)throw Error(P(425))}function Lf(){}var wg=null,Cg=null;function Rg(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 Ig=typeof setTimeout=="function"?setTimeout:void 0,Tk=typeof clearTimeout=="function"?clearTimeout:void 0,Fx=typeof Promise=="function"?Promise:void 0,wk=typeof queueMicrotask=="function"?queueMicrotask:typeof Fx<"u"?function(e){return Fx.resolve(null).then(e).catch(Ck)}:Ig;function Ck(e){setTimeout(function(){throw e})}function jh(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),Su(t);return}n--}else r!=="$"&&r!=="$?"&&r!=="$!"||n++;r=o}while(r);Su(t)}function zo(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 Vx(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 fa=Math.random().toString(36).slice(2),An="__reactFiber$"+fa,Cu="__reactProps$"+fa,Jn="__reactContainer$"+fa,Ag="__reactEvents$"+fa,Rk="__reactListeners$"+fa,Ik="__reactHandles$"+fa;function Ki(e){var t=e[An];if(t)return t;for(var r=e.parentNode;r;){if(t=r[Jn]||r[An]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=Vx(e);e!==null;){if(r=e[An])return r;e=Vx(e)}return t}e=r,r=e.parentNode}return null}function Lu(e){return e=e[An]||e[Jn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Gs(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(P(33))}function Jf(e){return e[Cu]||null}var Ng=[],$s=-1;function Ko(e){return{current:e}}function Me(e){0>$s||(e.current=Ng[$s],Ng[$s]=null,$s--)}
vendor: 4,273 bytes, line 6
6function be(e,t){$s++,Ng[$s]=e.current,e.current=t}var jo={},_t=Ko(jo),or=Ko(!1),Ji=jo;function oa(e,t){var r=e.type.contextTypes;if(!r)return jo;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 ir(e){return e=e.childContextTypes,e!=null}function Mf(){Me(or),Me(_t)}function zx(e,t,r){if(_t.current!==jo)throw Error(P(168));be(_t,t),be(or,r)}function cT(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(P(108,dP(e)||"Unknown",o));return $e({},r,n)}function _f(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||jo,Ji=_t.current,be(_t,e),be(or,or.current),!0}function Wx(e,t,r){var n=e.stateNode;if(!n)throw Error(P(169));r?(e=cT(e,t,Ji),n.__reactInternalMemoizedMergedChildContext=e,Me(or),Me(_t),be(_t,e)):Me(or),be(or,r)}var Kn=null,ed=!1,Yh=!1;function fT(e){Kn===null?Kn=[e]:Kn.push(e)}function Ak(e){ed=!0,fT(e)}function Xo(){if(!Yh&&Kn!==null){Yh=!0;var e=0,t=ve;try{var r=Kn;for(ve=1;e<r.length;e++){var n=r[e];do n=n(!0);while(n!==null)}Kn=null,ed=!1}catch(o){throw Kn!==null&&(Kn=Kn.slice(e+1)),DE(ty,Xo),o}finally{ve=t,Yh=!1}}return null}var js=[],Ys=0,Df=null,Bf=0,Fr=[],Vr=0,es=null,Xn=1,qn="";function ji(e,t){js[Ys++]=Bf,js[Ys++]=Df,Df=e,Bf=t}function dT(e,t,r){Fr[Vr++]=Xn,Fr[Vr++]=qn,Fr[Vr++]=es,es=e;var n=Xn;e=qn;var o=32-fn(n)-1;n&=~(1<<o),r+=1;var i=32-fn(t)+o;if(30<i){var s=o-o%5;i=(n&(1<<s)-1).toString(32),n>>=s,o-=s,Xn=1<<32-fn(t)+o|r<<o|n,qn=i+e}else Xn=1<<i|r<<o|n,qn=e}function cy(e){e.return!==null&&(ji(e,1),dT(e,1,0))}function fy(e){for(;e===Df;)Df=js[--Ys],js[Ys]=null,Bf=js[--Ys],js[Ys]=null;for(;e===es;)es=Fr[--Vr],Fr[Vr]=null,qn=Fr[--Vr],Fr[Vr]=null,Xn=Fr[--Vr],Fr[Vr]=null}var Rr=null,Cr=null,Fe=!1,cn=null;function mT(e,t){var r=zr(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 Ux(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,Rr=e,Cr=zo(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Rr=e,Cr=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(r=es!==null?{id:Xn,overflow:qn}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},r=zr(18,null,null,0),r.stateNode=t,r.return=e,e.child=r,Rr=e,Cr=null,!0):!1;default:return!1}}function bg(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Og(e){if(Fe){var t=Cr;if(t){var r=t;if(!Ux(e,t)){if(bg(e))throw Error(P(418));t=zo(r.nextSibling);var n=Rr;t&&Ux(e,t)?mT(n,r):(e.flags=e.flags&-4097|2,Fe=!1,Rr=e)}}else{if(bg(e))throw Error(P(418));e.flags=e.flags&-4097|2,Fe=!1,Rr=e}}}function Hx(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Rr=e}function cf(e){if(e!==Rr)return!1;if(!Fe)return Hx(e),Fe=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Rg(e.type,e.memoizedProps)),t&&(t=Cr)){if(bg(e))throw pT(),Error(P(418));for(;t;)mT(e,t),t=zo(t.nextSibling)}if(Hx(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(P(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(t===0){Cr=zo(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}Cr=null}}else Cr=Rr?zo(e.stateNode.nextSibling):null;return!0}function pT(){for(var e=Cr;e;)e=zo(e.nextSibling)}function ia(){Cr=Rr=null,Fe=!1}function dy(e){cn===null?cn=[e]:cn.push(e)}var Nk=ro.ReactCurrentBatchConfig;function ln(e,t){if(e&&e.defaultProps){t=$e({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}var Ff=Ko(null),Vf=null,Ks=null,my=null;function py(){my=Ks=Vf=null}function hy(e){var t=Ff.current;Me(Ff),e._currentValue=t}function Pg(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}}
vendor: 6,674 bytes, line 6
6function ta(e,t){Vf=e,my=Ks=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(nr=!0),e.firstContext=null)}function Ur(e){var t=e._currentValue;if(my!==e)if(e={context:e,memoizedValue:t,next:null},Ks===null){if(Vf===null)throw Error(P(308));Ks=e,Vf.dependencies={lanes:0,firstContext:e}}else Ks=Ks.next=e;return t}var Xi=null;function gy(e){Xi===null?Xi=[e]:Xi.push(e)}function hT(e,t,r,n){var o=t.interleaved;return o===null?(r.next=r,gy(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 ko=!1;function yy(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function gT(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 Wo(e,t,r){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,ae&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,gy(n)):(t.next=o.next,o.next=t),n.interleaved=t,eo(e,r)}function vf(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,ry(e,r)}}function Gx(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}while(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 zf(e,t,r,n){var o=e.updateQueue;ko=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,l=o.shared.pending;if(l!==null){o.shared.pending=null;var a=l,u=a.next;a.next=null,s===null?i=u:s.next=u,s=a;var c=e.alternate;c!==null&&(c=c.updateQueue,l=c.lastBaseUpdate,l!==s&&(l===null?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=a))}if(i!==null){var f=o.baseState;s=0,c=u=a=null,l=i;do{var d=l.lane,m=l.eventTime;if((n&d)===d){c!==null&&(c=c.next={eventTime:m,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var g=e,S=l;switch(d=t,m=r,S.tag){case 1:if(g=S.payload,typeof g=="function"){f=g.call(m,f,d);break e}f=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=S.payload,d=typeof g=="function"?g.call(m,f,d):g,d==null)break e;f=$e({},f,d);break e;case 2:ko=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,d=o.effects,d===null?o.effects=[l]:d.push(l))}else m={eventTime:m,lane:d,tag:l.tag,payload:l.payload,callback:l.callback,next:null},c===null?(u=c=m,a=f):c=c.next=m,s|=d;if(l=l.next,l===null){if(l=o.shared.pending,l===null)break;d=l,l=d.next,d.next=null,o.lastBaseUpdate=d,o.shared.pending=null}}while(1);if(c===null&&(a=f),o.baseState=a,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);rs|=s,e.lanes=s,e.memoizedState=f}}function $x(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(P(191,o));o.call(n)}}}var yT=new hE.Component().refs;function kg(e,t,r,n){t=e.memoizedState,r=r(n,t),r=r==null?t:$e({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var td={isMounted:function(e){return(e=e._reactInternals)?is(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=$t(),o=Ho(e),i=Qn(n,o);i.payload=t,r!=null&&(i.callback=r),t=Wo(e,i,o),t!==null&&(dn(t,e,o,n),vf(t,e,o))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=$t(),o=Ho(e),i=Qn(n,o);i.tag=1,i.payload=t,r!=null&&(i.callback=r),t=Wo(e,i,o),t!==null&&(dn(t,e,o,n),vf(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=$t(),n=Ho(e),o=Qn(r,n);o.tag=2,t!=null&&(o.callback=t),t=Wo(e,o,n),t!==null&&(dn(t,e,n,r),vf(t,e,n))}};function jx(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?!Eu(r,n)||!Eu(o,i):!0}function vT(e,t,r){var n=!1,o=jo,i=t.contextType;return typeof i=="object"&&i!==null?i=Ur(i):(o=ir(t)?Ji:_t.current,n=t.contextTypes,i=(n=n!=null)?oa(e,o):jo),t=new t(r,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=td,e.stateNode=t,t._reactInternals=e,n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Yx(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&&td.enqueueReplaceState(t,t.state,null)}function Lg(e,t,r,n){var o=e.stateNode;o.props=r,o.state=e.memoizedState,o.refs=yT,yy(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=Ur(i):(i=ir(t)?Ji:_t.current,o.context=oa(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(kg(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&&td.enqueueReplaceState(o,o.state,null),zf(e,r,o,n),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function Ql(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(P(309));var n=r.stateNode}if(!n)throw Error(P(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 l=o.refs;l===yT&&(l=o.refs={}),s===null?delete l[i]:l[i]=s},t._stringRef=i,t)}if(typeof e!="string")throw Error(P(284));if(!r._owner)throw Error(P(290,e))}return e}function ff(e,t){throw e=Object.prototype.toString.call(t),Error(P(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Kx(e){var t=e._init;return t(e._payload)}
vendor: 3,040 bytes, line 6
6function ST(e){function t(h,p){if(e){var y=h.deletions;y===null?(h.deletions=[p],h.flags|=16):y.push(p)}}function r(h,p){if(!e)return null;for(;p!==null;)t(h,p),p=p.sibling;return null}function n(h,p){for(h=new Map;p!==null;)p.key!==null?h.set(p.key,p):h.set(p.index,p),p=p.sibling;return h}function o(h,p){return h=Go(h,p),h.index=0,h.sibling=null,h}function i(h,p,y){return h.index=y,e?(y=h.alternate,y!==null?(y=y.index,y<p?(h.flags|=2,p):y):(h.flags|=2,p)):(h.flags|=1048576,p)}function s(h){return e&&h.alternate===null&&(h.flags|=2),h}function l(h,p,y,v){return p===null||p.tag!==6?(p=eg(y,h.mode,v),p.return=h,p):(p=o(p,y),p.return=h,p)}function a(h,p,y,v){var x=y.type;return x===zs?c(h,p,y.props.children,v,y.key):p!==null&&(p.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===Po&&Kx(x)===p.type)?(v=o(p,y.props),v.ref=Ql(h,p,y),v.return=h,v):(v=Cf(y.type,y.key,y.props,null,h.mode,v),v.ref=Ql(h,p,y),v.return=h,v)}function u(h,p,y,v){return p===null||p.tag!==4||p.stateNode.containerInfo!==y.containerInfo||p.stateNode.implementation!==y.implementation?(p=tg(y,h.mode,v),p.return=h,p):(p=o(p,y.children||[]),p.return=h,p)}function c(h,p,y,v,x){return p===null||p.tag!==7?(p=Zi(y,h.mode,v,x),p.return=h,p):(p=o(p,y),p.return=h,p)}function f(h,p,y){if(typeof p=="string"&&p!==""||typeof p=="number")return p=eg(""+p,h.mode,y),p.return=h,p;if(typeof p=="object"&&p!==null){switch(p.$$typeof){case Xc:return y=Cf(p.type,p.key,p.props,null,h.mode,y),y.ref=Ql(h,null,p),y.return=h,y;case Vs:return p=tg(p,h.mode,y),p.return=h,p;case Po:var v=p._init;return f(h,v(p._payload),y)}if(ru(p)||Yl(p))return p=Zi(p,h.mode,y,null),p.return=h,p;ff(h,p)}return null}function d(h,p,y,v){var x=p!==null?p.key:null;if(typeof y=="string"&&y!==""||typeof y=="number")return x!==null?null:l(h,p,""+y,v);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case Xc:return y.key===x?a(h,p,y,v):null;case Vs:return y.key===x?u(h,p,y,v):null;case Po:return x=y._init,d(h,p,x(y._payload),v)}if(ru(y)||Yl(y))return x!==null?null:c(h,p,y,v,null);ff(h,y)}return null}function m(h,p,y,v,x){if(typeof v=="string"&&v!==""||typeof v=="number")return h=h.get(y)||null,l(p,h,""+v,x);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case Xc:return h=h.get(v.key===null?y:v.key)||null,a(p,h,v,x);case Vs:return h=h.get(v.key===null?y:v.key)||null,u(p,h,v,x);case Po:var T=v._init;return m(h,p,y,T(v._payload),x)}if(ru(v)||Yl(v))return h=h.get(y)||null,c(p,h,v,x,null);ff(p,v)}return null}function g(h,p,y,v){for(var x=null,T=null,w=p,I=p=0,A=null;w!==null&&I<y.length;I++){w.index>I?(A=w,w=null):A=w.sibling;var C=d(h,w,y[I],v);if(C===null){w===null&&(w=A);break}e&&w&&C.alternate===null&&t(h,w),p=i(C,p,I),T===null?x=C:T.sibling=C,T=C,w=A}if(I===y.length)return r(h,w),Fe&&ji(h,I),x;if(w===null){for(;I<y.length;I++)w=f(h,y[I],v),w!==null&&(p=i(w,p,I),T===null?x=w:T.sibling=w,T=w);return Fe&&ji(h,I),x}for(w=n(h,w);I<y.length;I++)A=m(w,h,I,y[I],v),A!==null&&(e&&A.alternate!==null&&w.delete(A.key===null?I:A.key),p=i(A,p,I),T===null?x=A:T.sibling=A,T=A);
vendor: 19,832 bytes, lines 6-8
6return e&&w.forEach(function(N){return t(h,N)}),Fe&&ji(h,I),x}function S(h,p,y,v){var x=Yl(y);if(typeof x!="function")throw Error(P(150));if(y=x.call(y),y==null)throw Error(P(151));for(var T=x=null,w=p,I=p=0,A=null,C=y.next();w!==null&&!C.done;I++,C=y.next()){w.index>I?(A=w,w=null):A=w.sibling;var N=d(h,w,C.value,v);if(N===null){w===null&&(w=A);break}e&&w&&N.alternate===null&&t(h,w),p=i(N,p,I),T===null?x=N:T.sibling=N,T=N,w=A}if(C.done)return r(h,w),Fe&&ji(h,I),x;if(w===null){for(;!C.done;I++,C=y.next())C=f(h,C.value,v),C!==null&&(p=i(C,p,I),T===null?x=C:T.sibling=C,T=C);return Fe&&ji(h,I),x}for(w=n(h,w);!C.done;I++,C=y.next())C=m(w,h,I,C.value,v),C!==null&&(e&&C.alternate!==null&&w.delete(C.key===null?I:C.key),p=i(C,p,I),T===null?x=C:T.sibling=C,T=C);return e&&w.forEach(function(b){return t(h,b)}),Fe&&ji(h,I),x}function E(h,p,y,v){if(typeof y=="object"&&y!==null&&y.type===zs&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case Xc:e:{for(var x=y.key,T=p;T!==null;){if(T.key===x){if(x=y.type,x===zs){if(T.tag===7){r(h,T.sibling),p=o(T,y.props.children),p.return=h,h=p;break e}}else if(T.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===Po&&Kx(x)===T.type){r(h,T.sibling),p=o(T,y.props),p.ref=Ql(h,T,y),p.return=h,h=p;break e}r(h,T);break}else t(h,T);T=T.sibling}y.type===zs?(p=Zi(y.props.children,h.mode,v,y.key),p.return=h,h=p):(v=Cf(y.type,y.key,y.props,null,h.mode,v),v.ref=Ql(h,p,y),v.return=h,h=v)}return s(h);case Vs:e:{for(T=y.key;p!==null;){if(p.key===T)if(p.tag===4&&p.stateNode.containerInfo===y.containerInfo&&p.stateNode.implementation===y.implementation){r(h,p.sibling),p=o(p,y.children||[]),p.return=h,h=p;break e}else{r(h,p);break}else t(h,p);p=p.sibling}p=tg(y,h.mode,v),p.return=h,h=p}return s(h);case Po:return T=y._init,E(h,p,T(y._payload),v)}if(ru(y))return g(h,p,y,v);if(Yl(y))return S(h,p,y,v);ff(h,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,p!==null&&p.tag===6?(r(h,p.sibling),p=o(p,y),p.return=h,h=p):(r(h,p),p=eg(y,h.mode,v),p.return=h,h=p),s(h)):r(h,p)}return E}var sa=ST(!0),xT=ST(!1),Mu={},bn=Ko(Mu),Ru=Ko(Mu),Iu=Ko(Mu);function qi(e){if(e===Mu)throw Error(P(174));return e}function vy(e,t){switch(be(Iu,t),be(Ru,e),be(bn,Mu),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:fg(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=fg(t,e)}Me(bn),be(bn,t)}function aa(){Me(bn),Me(Ru),Me(Iu)}function ET(e){qi(Iu.current);var t=qi(bn.current),r=fg(t,e.type);t!==r&&(be(Ru,e),be(bn,r))}function Sy(e){Ru.current===e&&(Me(bn),Me(Ru))}var He=Ko(0);function Wf(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 Kh=[];function xy(){for(var e=0;e<Kh.length;e++)Kh[e]._workInProgressVersionPrimary=null;Kh.length=0}var Sf=ro.ReactCurrentDispatcher,Xh=ro.ReactCurrentBatchConfig,ts=0,Ge=null,lt=null,gt=null,Uf=!1,cu=!1,Au=0,bk=0;function kt(){throw Error(P(321))}function Ey(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!mn(e[r],t[r]))return!1;return!0}function Ty(e,t,r,n,o,i){if(ts=i,Ge=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Sf.current=e===null||e.memoizedState===null?Lk:Mk,e=r(n,o),cu){i=0;do{if(cu=!1,Au=0,25<=i)throw Error(P(301));i+=1,gt=lt=null,t.updateQueue=null,Sf.current=_k,e=r(n,o)}while(cu)}if(Sf.current=Hf,t=lt!==null&&lt.next!==null,ts=0,gt=lt=Ge=null,Uf=!1,t)throw Error(P(300));return e}function wy(){var e=Au!==0;return Au=0,e}function In(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return gt===null?Ge.memoizedState=gt=e:gt=gt.next=e,gt}function Hr(){if(lt===null){var e=Ge.alternate;e=e!==null?e.memoizedState:null}else e=lt.next;var t=gt===null?Ge.memoizedState:gt.next;if(t!==null)gt=t,lt=e;else{if(e===null)throw Error(P(310));lt=e,e={memoizedState:lt.memoizedState,baseState:lt.baseState,baseQueue:lt.baseQueue,queue:lt.queue,next:null},gt===null?Ge.memoizedState=gt=e:gt=gt.next=e}return gt}function Nu(e,t){return typeof t=="function"?t(e):t}function qh(e){var t=Hr(),r=t.queue;if(r===null)throw Error(P(311));r.lastRenderedReducer=e;var n=lt,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 l=s=null,a=null,u=i;do{var c=u.lane;if((ts&c)===c)a!==null&&(a=a.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};a===null?(l=a=f,s=n):a=a.next=f,Ge.lanes|=c,rs|=c}u=u.next}while(u!==null&&u!==i);a===null?s=n:a.next=l,mn(n,t.memoizedState)||(nr=!0),t.memoizedState=n,t.baseState=s,t.baseQueue=a,r.lastRenderedState=n}if(e=r.interleaved,e!==null){o=e;do i=o.lane,Ge.lanes|=i,rs|=i,o=o.next;while(o!==e)}else o===null&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function Qh(e){var t=Hr(),r=t.queue;if(r===null)throw Error(P(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);mn(i,t.memoizedState)||(nr=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),r.lastRenderedState=i}return[i,n]}function TT(){}function wT(e,t){var r=Ge,n=Hr(),o=t(),i=!mn(n.memoizedState,o);if(i&&(n.memoizedState=o,nr=!0),n=n.queue,Cy(IT.bind(null,r,n,e),[e]),n.getSnapshot!==t||i||gt!==null&&gt.memoizedState.tag&1){if(r.flags|=2048,bu(9,RT.bind(null,r,n,o,t),void 0,null),yt===null)throw Error(P(349));ts&30||CT(r,t,o)}return o}function CT(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},t=Ge.updateQueue,t===null?(t={lastEffect:null,stores:null},Ge.updateQueue=t,t.stores=[e]):(r=t.stores,r===null?t.stores=[e]:r.push(e))}function RT(e,t,r,n){t.value=r,t.getSnapshot=n,AT(t)&&NT(e)}function IT(e,t,r){return r(function(){AT(t)&&NT(e)})}function AT(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!mn(e,r)}catch{return!0}}function NT(e){var t=eo(e,1);t!==null&&dn(t,e,1,-1)}function Xx(e){var t=In();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Nu,lastRenderedState:e},t.queue=e,e=e.dispatch=kk.bind(null,Ge,e),[t.memoizedState,e]}function bu(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},t=Ge.updateQueue,t===null?(t={lastEffect:null,stores:null},Ge.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 bT(){return Hr().memoizedState}function xf(e,t,r,n){var o=In();Ge.flags|=e,o.memoizedState=bu(1|t,r,void 0,n===void 0?null:n)}function rd(e,t,r,n){var o=Hr();n=n===void 0?null:n;var i=void 0;if(lt!==null){var s=lt.memoizedState;if(i=s.destroy,n!==null&&Ey(n,s.deps)){o.memoizedState=bu(t,r,i,n);return}}Ge.flags|=e,o.memoizedState=bu(1|t,r,i,n)}function qx(e,t){return xf(8390656,8,e,t)}function Cy(e,t){return rd(2048,8,e,t)}function OT(e,t){return rd(4,2,e,t)}function PT(e,t){return rd(4,4,e,t)}function kT(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 LT(e,t,r){return r=r!=null?r.concat([e]):null,rd(4,4,kT.bind(null,t,e),r)}function Ry(){}function MT(e,t){var r=Hr();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&Ey(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function _T(e,t){var r=Hr();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&Ey(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function DT(e,t,r){return ts&21?(mn(r,t)||(r=VE(),Ge.lanes|=r,rs|=r,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,nr=!0),e.memoizedState=r)}function Ok(e,t){var r=ve;ve=r!==0&&4>r?r:4,e(!0);var n=Xh.transition;Xh.transition={};try{e(!1),t()}finally{ve=r,Xh.transition=n}}function BT(){return Hr().memoizedState}function Pk(e,t,r){var n=Ho(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},FT(e))VT(t,r);else if(r=hT(e,t,r,n),r!==null){var o=$t();dn(r,e,n,o),zT(r,t,n)}}function kk(e,t,r){var n=Ho(e),o={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(FT(e))VT(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,l=i(s,r);if(o.hasEagerState=!0,o.eagerState=l,mn(l,s)){var a=t.interleaved;a===null?(o.next=o,gy(t)):(o.next=a.next,a.next=o),t.interleaved=o;return}}catch{}finally{}r=hT(e,t,o,n),r!==null&&(o=$t(),dn(r,e,n,o),zT(r,t,n))}}function FT(e){var t=e.alternate;return e===Ge||t!==null&&t===Ge}function VT(e,t){cu=Uf=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function zT(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,ry(e,r)}}var Hf={readContext:Ur,useCallback:kt,useContext:kt,useEffect:kt,useImperativeHandle:kt,useInsertionEffect:kt,useLayoutEffect:kt,useMemo:kt,useReducer:kt,useRef:kt,useState:kt,useDebugValue:kt,useDeferredValue:kt,useTransition:kt,useMutableSource:kt,useSyncExternalStore:kt,useId:kt,unstable_isNewReconciler:!1},Lk={readContext:Ur,useCallback:function(e,t){return In().memoizedState=[e,t===void 0?null:t],e},useContext:Ur,useEffect:qx,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,xf(4194308,4,kT.bind(null,t,e),r)},useLayoutEffect:function(e,t){return xf(4194308,4,e,t)},useInsertionEffect:function(e,t){return xf(4,2,e,t)},useMemo:function(e,t){var r=In();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=In();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=Pk.bind(null,Ge,e),[n.memoizedState,e]},useRef:function(e){var t=In();return e={current:e},t.memoizedState=e},useState:Xx,useDebugValue:Ry,useDeferredValue:function(e){return In().memoizedState=e},useTransition:function(){var e=Xx(!1),t=e[0];return e=Ok.bind(null,e[1]),In().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=Ge,o=In();if(Fe){if(r===void 0)throw Error(P(407));r=r()}else{if(r=t(),yt===null)throw Error(P(349));ts&30||CT(n,t,r)}o.memoizedState=r;var i={value:r,getSnapshot:t};return o.queue=i,qx(IT.bind(null,n,i,e),[e]),n.flags|=2048,bu(9,RT.bind(null,n,i,r,t),void 0,null),r},useId:function(){var e=In(),t=yt.identifierPrefix;if(Fe){var r=qn,n=Xn;r=(n&~(1<<32-fn(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=Au++,0<r&&(t+="H"+r.toString(32)),t+=":"}else r=bk++,t=":"+t+"r"+r.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Mk={readContext:Ur,useCallback:MT,useContext:Ur,useEffect:Cy,useImperativeHandle:LT,useInsertionEffect:OT,useLayoutEffect:PT,useMemo:_T,useReducer:qh,useRef:bT,useState:function(){return qh(Nu)},useDebugValue:Ry,useDeferredValue:function(e){var t=Hr();return DT(t,lt.memoizedState,e)},useTransition:function(){var e=qh(Nu)[0],t=Hr().memoizedState;return[e,t]},useMutableSource:TT,useSyncExternalStore:wT,useId:BT,unstable_isNewReconciler:!1},_k={readContext:Ur,useCallback:MT,useContext:Ur,useEffect:Cy,useImperativeHandle:LT,useInsertionEffect:OT,useLayoutEffect:PT,useMemo:_T,useReducer:Qh,useRef:bT,useState:function(){return Qh(Nu)},useDebugValue:Ry,useDeferredValue:function(e){var t=Hr();return lt===null?t.memoizedState=e:DT(t,lt.memoizedState,e)},useTransition:function(){var e=Qh(Nu)[0],t=Hr().memoizedState;return[e,t]},useMutableSource:TT,useSyncExternalStore:wT,useId:BT,unstable_isNewReconciler:!1};function la(e,t){try{var r="",n=t;do r+=fP(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 Zh(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function Mg(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var Dk=typeof WeakMap=="function"?WeakMap:Map;function WT(e,t,r){r=Qn(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){$f||($f=!0,Gg=n),Mg(e,t)},r}function UT(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(){Mg(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(r.callback=function(){Mg(e,t),typeof n!="function"&&(Uo===null?Uo=new Set([this]):Uo.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),r}function Qx(e,t,r){var n=e.pingCache;if(n===null){n=e.pingCache=new Dk;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=qk.bind(null,e,t,r),t.then(e,e))}function Zx(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 Jx(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,Wo(r,t,1))),r.lanes|=1),e)}var Bk=ro.ReactCurrentOwner,nr=!1;function Gt(e,t,r,n){t.child=e===null?xT(t,null,r,n):sa(t,e.child,r,n)}function eE(e,t,r,n,o){r=r.render;var i=t.ref;return ta(t,o),n=Ty(e,t,r,n,i,o),r=wy(),e!==null&&!nr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,to(e,t,o)):(Fe&&r&&cy(t),t.flags|=1,Gt(e,t,n,o),t.child)}function tE(e,t,r,n,o){if(e===null){var i=r.type;return typeof i=="function"&&!Ly(i)&&i.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=i,HT(e,t,i,n,o)):(e=Cf(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:Eu,r(s,n)&&e.ref===t.ref)return to(e,t,o)}return t.flags|=1,e=Go(i,n),e.ref=t.ref,e.return=t,t.child=e}function HT(e,t,r,n,o){if(e!==null){var i=e.memoizedProps;if(Eu(i,n)&&e.ref===t.ref)if(nr=!1,t.pendingProps=n=i,(e.lanes&o)!==0)e.flags&131072&&(nr=!0);else return t.lanes=e.lanes,to(e,t,o)}return _g(e,t,r,n,o)}function GT(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},be(qs,wr),wr|=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,be(qs,wr),wr|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=i!==null?i.baseLanes:r,be(qs,wr),wr|=n}else i!==null?(n=i.baseLanes|r,t.memoizedState=null):n=r,be(qs,wr),wr|=n;return Gt(e,t,o,r),t.child}function $T(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function _g(e,t,r,n,o){var i=ir(r)?Ji:_t.current;return i=oa(t,i),ta(t,o),r=Ty(e,t,r,n,i,o),n=wy(),e!==null&&!nr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,to(e,t,o)):(Fe&&n&&cy(t),t.flags|=1,Gt(e,t,r,o),t.child)}function rE(e,t,r,n,o){if(ir(r)){var i=!0;_f(t)}else i=!1;if(ta(t,o),t.stateNode===null)Ef(e,t),vT(t,r,n),Lg(t,r,n,o),n=!0;else if(e===null){var s=t.stateNode,l=t.memoizedProps;s.props=l;var a=s.context,u=r.contextType;typeof u=="object"&&u!==null?u=Ur(u):(u=ir(r)?Ji:_t.current,u=oa(t,u));var c=r.getDerivedStateFromProps,f=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function";f||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==n||a!==u)&&Yx(t,s,n,u),ko=!1;var d=t.memoizedState;s.state=d,zf(t,n,s,o),a=t.memoizedState,l!==n||d!==a||or.current||ko?(typeof c=="function"&&(kg(t,r,c,n),a=t.memoizedState),(l=ko||jx(t,r,l,n,d,a,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=a),s.props=n,s.state=a,s.context=u,n=l):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{s=t.stateNode,gT(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:ln(t.type,l),s.props=u,f=t.pendingProps,d=s.context,a=r.contextType,typeof a=="object"&&a!==null?a=Ur(a):(a=ir(r)?Ji:_t.current,a=oa(t,a));var m=r.getDerivedStateFromProps;(c=typeof m=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==f||d!==a)&&Yx(t,s,n,a),ko=!1,d=t.memoizedState,s.state=d,zf(t,n,s,o);var g=t.memoizedState;l!==f||d!==g||or.current||ko?(typeof m=="function"&&(kg(t,r,m,n),g=t.memoizedState),(u=ko||jx(t,r,u,n,d,g,a)||!1)?(c||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(n,g,a),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(n,g,a)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=g),s.props=n,s.state=g,s.context=a,n=u):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),n=!1)}return Dg(e,t,r,n,i,o)}function Dg(e,t,r,n,o,i){$T(e,t);var s=(t.flags&128)!==0;if(!n&&!s)return o&&Wx(t,r,!1),to(e,t,i);n=t.stateNode,Bk.current=t;var l=s&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&s?(t.child=sa(t,e.child,null,i),t.child=sa(t,null,l,i)):Gt(e,t,l,i),t.memoizedState=n.state,o&&Wx(t,r,!0),t.child}function jT(e){var t=e.stateNode;t.pendingContext?zx(e,t.pendingContext,t.pendingContext!==t.context):t.context&&zx(e,t.context,!1),vy(e,t.containerInfo)}function nE(e,t,r,n,o){return ia(),dy(o),t.flags|=256,Gt(e,t,r,n),t.child}var Bg={dehydrated:null,treeContext:null,retryLane:0};function Fg(e){return{baseLanes:e,cachePool:null,transitions:null}}function YT(e,t,r){var n=t.pendingProps,o=He.current,i=!1,s=(t.flags&128)!==0,l;if((l=s)||(l=e!==null&&e.memoizedState===null?!1:(o&2)!==0),l?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),be(He,o&1),e===null)return Og(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=id(s,n,0,null),e=Zi(e,n,r,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Fg(r),t.memoizedState=Bg,e):Iy(t,s));if(o=e.memoizedState,o!==null&&(l=o.dehydrated,l!==null))return Fk(e,t,s,n,l,o,r);if(i){i=n.fallback,s=t.mode,o=e.child,l=o.sibling;var a={mode:"hidden",children:n.children};return!(s&1)&&t.child!==o?(n=t.child,n.childLanes=0,n.pendingProps=a,t.deletions=null):(n=Go(o,a),n.subtreeFlags=o.subtreeFlags&14680064),l!==null?i=Go(l,i):(i=Zi(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?Fg(r):{base
vendor: 9,151 bytes, line 8
8Lanes:s.baseLanes|r,cachePool:null,transitions:s.transitions},i.memoizedState=s,i.childLanes=e.childLanes&~r,t.memoizedState=Bg,n}return i=e.child,e=i.sibling,n=Go(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 Iy(e,t){return t=id({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function df(e,t,r,n){return n!==null&&dy(n),sa(t,e.child,null,r),e=Iy(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Fk(e,t,r,n,o,i,s){if(r)return t.flags&256?(t.flags&=-257,n=Zh(Error(P(422))),df(e,t,s,n)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=n.fallback,o=t.mode,n=id({mode:"visible",children:n.children},o,0,null),i=Zi(i,o,s,null),i.flags|=2,n.return=t,i.return=t,n.sibling=i,t.child=n,t.mode&1&&sa(t,e.child,null,s),t.child.memoizedState=Fg(s),t.memoizedState=Bg,i);if(!(t.mode&1))return df(e,t,s,null);if(o.data==="$!"){if(n=o.nextSibling&&o.nextSibling.dataset,n)var l=n.dgst;return n=l,i=Error(P(419)),n=Zh(i,n,void 0),df(e,t,s,n)}if(l=(s&e.childLanes)!==0,nr||l){if(n=yt,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),dn(n,e,o,-1))}return ky(),n=Zh(Error(P(421))),df(e,t,s,n)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=Qk.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,Cr=zo(o.nextSibling),Rr=t,Fe=!0,cn=null,e!==null&&(Fr[Vr++]=Xn,Fr[Vr++]=qn,Fr[Vr++]=es,Xn=e.id,qn=e.overflow,es=t),t=Iy(t,n.children),t.flags|=4096,t)}function oE(e,t,r){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),Pg(e.return,t,r)}function Jh(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 KT(e,t,r){var n=t.pendingProps,o=n.revealOrder,i=n.tail;if(Gt(e,t,n.children,r),n=He.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&&oE(e,r,t);else if(e.tag===19)oE(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(be(He,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&&Wf(e)===null&&(o=r),r=r.sibling;r=o,r===null?(o=t.child,t.child=null):(o=r.sibling,r.sibling=null),Jh(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&&Wf(e)===null){t.child=o;break}e=o.sibling,o.sibling=r,r=o,o=e}Jh(t,!0,r,null,i);break;case"together":Jh(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ef(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),rs|=t.lanes,!(r&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(P(153));if(t.child!==null){for(e=t.child,r=Go(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=Go(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function Vk(e,t,r){switch(t.tag){case 3:jT(t),ia();break;case 5:ET(t);break;case 1:ir(t.type)&&_f(t);break;case 4:vy(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,o=t.memoizedProps.value;be(Ff,n._currentValue),n._currentValue=o;break;case 13:if(n=t.memoizedState,n!==null)return n.dehydrated!==null?(be(He,He.current&1),t.flags|=128,null):r&t.child.childLanes?YT(e,t,r):(be(He,He.current&1),e=to(e,t,r),e!==null?e.sibling:null);be(He,He.current&1);break;case 19:if(n=(r&t.childLanes)!==0,e.flags&128){if(n)return KT(e,t,r);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),be(He,He.current),n)break;return null;case 22:case 23:return t.lanes=0,GT(e,t,r)}return to(e,t,r)}var XT,Vg,qT,QT;XT=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}};Vg=function(){};qT=function(e,t,r,n){var o=e.memoizedProps;if(o!==n){e=t.stateNode,qi(bn.current);var i=null;switch(r){case"input":o=ag(e,o),n=ag(e,n),i=[];break;case"select":o=$e({},o,{value:void 0}),n=$e({},n,{value:void 0}),i=[];break;case"textarea":o=cg(e,o),n=cg(e,n),i=[];break;default:typeof o.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=Lf)}dg(r,n);var s;r=null;for(u in o)if(!n.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var l=o[u];for(s in l)l.hasOwnProperty(s)&&(r||(r={}),r[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(pu.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in n){var a=n[u];if(l=o?.[u],n.hasOwnProperty(u)&&a!==l&&(a!=null||l!=null))if(u==="style")if(l){for(s in l)!l.hasOwnProperty(s)||a&&a.hasOwnProperty(s)||(r||(r={}),r[s]="");for(s in a)a.hasOwnProperty(s)&&l[s]!==a[s]&&(r||(r={}),r[s]=a[s])}else r||(i||(i=[]),i.push(u,r)),r=a;else u==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,l=l?l.__html:void 0,a!=null&&l!==a&&(i=i||[]).push(u,a)):u==="children"?typeof a!="string"&&typeof a!="number"||(i=i||[]).push(u,""+a):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(pu.hasOwnProperty(u)?(a!=null&&u==="onScroll"&&Le("scroll",e),i||l===a||(i=[])):(i=i||[]).push(u,a))}r&&(i=i||[]).push("style",r);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};QT=function(e,t,r,n){r!==n&&(t.flags|=4)};function Zl(e,t){if(!Fe)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 Lt(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 zk(e,t,r){var n=t.pendingProps;switch(fy(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Lt(t),null;case 1:return ir(t.type)&&Mf(),Lt(t),null;case 3:return n=t.stateNode,aa(),Me(or),Me(_t),xy(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(cf(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,cn!==null&&(Yg(cn),cn=null))),Vg(e,t),Lt(t),null;case 5:Sy(t);var o=qi(Iu.current);if(r=t.type,e!==null&&t.stateNode!=null)qT(e,t,r,n,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!n){if(t.stateNode===null)throw Error(P(166));return Lt(t),null}if(e=qi(bn.current),cf(t)){n=t.stateNode,r=t.type;var i=t.memoizedProps;switch(n[An]=t,n[Cu]=i,e=(t.mode&1)!==0,r){case"dialog":Le("cancel",n),Le("close",n);break;case"iframe":case"object":case"embed":Le("load",n);break;case"video":case"audio":for(o=0;o<ou.length;o++)Le(ou[o],n);break;case"source":Le("error",n);break;case"img":case"image":case"link":Le("error",n),Le("load",n);break;case"details":Le("toggle",n);break;case"input":dx(n,i),Le("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!i.multiple},Le("invalid",n);break;case"textarea":px(n,i),Le("invalid",n)}dg(r,i),o=null;for(var s in i)if(i.hasOwnProperty(s)){var l=i[s];s==="children"?typeof l=="string"?n.textContent!==l&&(i.suppressHydrationWarning!==!0&&uf(n.textContent,l,e),o=["children",l]):typeof l=="number"&&n.textContent!==""+l&&(i.suppressHydrationWarning!==!0&&uf(n.textContent,l,e),o=["children",""+l]):pu.hasOwnProperty(s)&&l!=null&&s==="onScroll"&&Le("scroll",n)}switch(r){case"input":qc(n),mx(n,i,!0);break;case"textarea":qc(n),hx(n);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(n.onclick=Lf)}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=CE(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[An]=t,e[Cu]=n,XT(e,t,!1,!1),t.stateNode=e;
vendor: 9,307 bytes, line 8
8e:{switch(s=mg(r,n),r){case"dialog":Le("cancel",e),Le("close",e),o=n;break;case"iframe":case"object":case"embed":Le("load",e),o=n;break;case"video":case"audio":for(o=0;o<ou.length;o++)Le(ou[o],e);o=n;break;case"source":Le("error",e),o=n;break;case"img":case"image":case"link":Le("error",e),Le("load",e),o=n;break;case"details":Le("toggle",e),o=n;break;case"input":dx(e,n),o=ag(e,n),Le("invalid",e);break;case"option":o=n;break;case"select":e._wrapperState={wasMultiple:!!n.multiple},o=$e({},n,{value:void 0}),Le("invalid",e);break;case"textarea":px(e,n),o=cg(e,n),Le("invalid",e);break;default:o=n}dg(r,o),l=o;for(i in l)if(l.hasOwnProperty(i)){var a=l[i];i==="style"?AE(e,a):i==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&RE(e,a)):i==="children"?typeof a=="string"?(r!=="textarea"||a!=="")&&hu(e,a):typeof a=="number"&&hu(e,""+a):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(pu.hasOwnProperty(i)?a!=null&&i==="onScroll"&&Le("scroll",e):a!=null&&qg(e,i,a,s))}switch(r){case"input":qc(e),mx(e,n,!1);break;case"textarea":qc(e),hx(e);break;case"option":n.value!=null&&e.setAttribute("value",""+$o(n.value));break;case"select":e.multiple=!!n.multiple,i=n.value,i!=null?Qs(e,!!n.multiple,i,!1):n.defaultValue!=null&&Qs(e,!!n.multiple,n.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=Lf)}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 Lt(t),null;case 6:if(e&&t.stateNode!=null)QT(e,t,e.memoizedProps,n);else{if(typeof n!="string"&&t.stateNode===null)throw Error(P(166));if(r=qi(Iu.current),qi(bn.current),cf(t)){if(n=t.stateNode,r=t.memoizedProps,n[An]=t,(i=n.nodeValue!==r)&&(e=Rr,e!==null))switch(e.tag){case 3:uf(n.nodeValue,r,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&uf(n.nodeValue,r,(e.mode&1)!==0)}i&&(t.flags|=4)}else n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[An]=t,t.stateNode=n}return Lt(t),null;case 13:if(Me(He),n=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Fe&&Cr!==null&&t.mode&1&&!(t.flags&128))pT(),ia(),t.flags|=98560,i=!1;else if(i=cf(t),n!==null&&n.dehydrated!==null){if(e===null){if(!i)throw Error(P(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(P(317));i[An]=t}else ia(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Lt(t),i=!1}else cn!==null&&(Yg(cn),cn=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||He.current&1?ut===0&&(ut=3):ky())),t.updateQueue!==null&&(t.flags|=4),Lt(t),null);case 4:return aa(),Vg(e,t),e===null&&Tu(t.stateNode.containerInfo),Lt(t),null;case 10:return hy(t.type._context),Lt(t),null;case 17:return ir(t.type)&&Mf(),Lt(t),null;case 19:if(Me(He),i=t.memoizedState,i===null)return Lt(t),null;if(n=(t.flags&128)!==0,s=i.rendering,s===null)if(n)Zl(i,!1);else{if(ut!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=Wf(e),s!==null){for(t.flags|=128,Zl(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 be(He,He.current&1|2),t.child}e=e.sibling}i.tail!==null&&rt()>ua&&(t.flags|=128,n=!0,Zl(i,!1),t.lanes=4194304)}else{if(!n)if(e=Wf(s),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Zl(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!Fe)return Lt(t),null}else 2*rt()-i.renderingStartTime>ua&&r!==1073741824&&(t.flags|=128,n=!0,Zl(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=rt(),t.sibling=null,r=He.current,be(He,n?r&1|2:r&1),t):(Lt(t),null);case 22:case 23:return Py(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?wr&1073741824&&(Lt(t),t.subtreeFlags&6&&(t.flags|=8192)):Lt(t),null;case 24:return null;case 25:return null}throw Error(P(156,t.tag))}function Wk(e,t){switch(fy(t),t.tag){case 1:return ir(t.type)&&Mf(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return aa(),Me(or),Me(_t),xy(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Sy(t),null;case 13:if(Me(He),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(P(340));ia()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Me(He),null;case 4:return aa(),null;case 10:return hy(t.type._context),null;case 22:case 23:return Py(),null;case 24:return null;default:return null}}var mf=!1,Mt=!1,Uk=typeof WeakSet=="function"?WeakSet:Set,B=null;function Xs(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){Xe(e,t,n)}else r.current=null}function zg(e,t,r){try{r()}catch(n){Xe(e,t,n)}}var iE=!1;function Hk(e,t){if(wg=Of,e=tT(),uy(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,l=-1,a=-1,u=0,c=0,f=e,d=null;t:for(;;){for(var m;f!==r||o!==0&&f.nodeType!==3||(l=s+o),f!==i||n!==0&&f.nodeType!==3||(a=s+n),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)d=f,f=m;for(;;){if(f===e)break t;if(d===r&&++u===o&&(l=s),d===i&&++c===n&&(a=s),(m=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=m}r=l===-1||a===-1?null:{start:l,end:a}}else r=null}r=r||{start:0,end:0}}else r=null;for(Cg={focusedElem:e,selectionRange:r},Of=!1,B=t;B!==null;)if(t=B,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,B=e;else for(;B!==null;){t=B;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var S=g.memoizedProps,E=g.memoizedState,h=t.stateNode,p=h.getSnapshotBeforeUpdate(t.elementType===t.type?S:ln(t.type,S),E);h.__reactInternalSnapshotBeforeUpdate=p}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(P(163))}}catch(v){Xe(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,B=e;break}B=t.return}return g=iE,iE=!1,g}function fu(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&&zg(t,r,i)}o=o.next}while(o!==n)}}function nd(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 Wg(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 ZT(e){var t=e.alternate;t!==null&&(e.alternate=null,ZT(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[An],delete t[Cu],delete t[Ag],delete t[Rk],delete t[Ik])),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 JT(e){return e.tag===5||e.tag===3||e.tag===4}function sE(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||JT(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 Ug(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=Lf));else if(n!==4&&(e=e.child,e!==null))for(Ug(e,t,r),e=e.sibling;e!==null;)Ug(e,t,r),e=e.sibling}function Hg(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(Hg(e,t,r),e=e.sibling;e!==null;)Hg(e,t,r),e=e.sibling}var Ct=null,un=!1;function Oo(e,t,r){for(r=r.child;r!==null;)ew(e,t,r),r=r.sibling}function ew(e,t,r){if(Nn&&typeof Nn.onCommitFiberUnmount=="function")try{Nn.onCommitFiberUnmount(Xf,r)}catch{}switch(r.tag){case 5:Mt||Xs(r,t);case 6:var n=Ct,o=un;Ct=null,Oo(e,t,r),Ct=n,un=o,Ct!==null&&(un?(e=Ct,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):Ct.removeChild(r.stateNode));break;case 18:Ct!==null&&(un?(e=Ct,r=r.stateNode,e.nodeType===8?jh(e.parentNode,r):e.nodeType===1&&jh(e,r),Su(e)):jh(Ct,r.stateNode));break;
vendor: 7,134 bytes, line 8
8case 4:n=Ct,o=un,Ct=r.stateNode.containerInfo,un=!0,Oo(e,t,r),Ct=n,un=o;break;case 0:case 11:case 14:case 15:if(!Mt&&(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)&&zg(r,t,s),o=o.next}while(o!==n)}Oo(e,t,r);break;case 1:if(!Mt&&(Xs(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(l){Xe(r,t,l)}Oo(e,t,r);break;case 21:Oo(e,t,r);break;case 22:r.mode&1?(Mt=(n=Mt)||r.memoizedState!==null,Oo(e,t,r),Mt=n):Oo(e,t,r);break;default:Oo(e,t,r)}}function aE(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new Uk),t.forEach(function(n){var o=Zk.bind(null,e,n);r.has(n)||(r.add(n),n.then(o,o))})}}function an(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,l=s;e:for(;l!==null;){switch(l.tag){case 5:Ct=l.stateNode,un=!1;break e;case 3:Ct=l.stateNode.containerInfo,un=!0;break e;case 4:Ct=l.stateNode.containerInfo,un=!0;break e}l=l.return}if(Ct===null)throw Error(P(160));ew(i,s,o),Ct=null,un=!1;var a=o.alternate;a!==null&&(a.return=null),o.return=null}catch(u){Xe(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)tw(t,e),t=t.sibling}function tw(e,t){var r=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(an(t,e),Rn(e),n&4){try{fu(3,e,e.return),nd(3,e)}catch(S){Xe(e,e.return,S)}try{fu(5,e,e.return)}catch(S){Xe(e,e.return,S)}}break;case 1:an(t,e),Rn(e),n&512&&r!==null&&Xs(r,r.return);break;case 5:if(an(t,e),Rn(e),n&512&&r!==null&&Xs(r,r.return),e.flags&32){var o=e.stateNode;try{hu(o,"")}catch(S){Xe(e,e.return,S)}}if(n&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,s=r!==null?r.memoizedProps:i,l=e.type,a=e.updateQueue;if(e.updateQueue=null,a!==null)try{l==="input"&&i.type==="radio"&&i.name!=null&&TE(o,i),mg(l,s);var u=mg(l,i);for(s=0;s<a.length;s+=2){var c=a[s],f=a[s+1];c==="style"?AE(o,f):c==="dangerouslySetInnerHTML"?RE(o,f):c==="children"?hu(o,f):qg(o,c,f,u)}switch(l){case"input":lg(o,i);break;case"textarea":wE(o,i);break;case"select":var d=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var m=i.value;m!=null?Qs(o,!!i.multiple,m,!1):d!==!!i.multiple&&(i.defaultValue!=null?Qs(o,!!i.multiple,i.defaultValue,!0):Qs(o,!!i.multiple,i.multiple?[]:"",!1))}o[Cu]=i}catch(S){Xe(e,e.return,S)}}break;case 6:if(an(t,e),Rn(e),n&4){if(e.stateNode===null)throw Error(P(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(S){Xe(e,e.return,S)}}break;case 3:if(an(t,e),Rn(e),n&4&&r!==null&&r.memoizedState.isDehydrated)try{Su(t.containerInfo)}catch(S){Xe(e,e.return,S)}break;case 4:an(t,e),Rn(e);break;case 13:an(t,e),Rn(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(by=rt())),n&4&&aE(e);break;case 22:if(c=r!==null&&r.memoizedState!==null,e.mode&1?(Mt=(u=Mt)||c,an(t,e),Mt=u):an(t,e),Rn(e),n&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(B=e,c=e.child;c!==null;){for(f=B=c;B!==null;){switch(d=B,m=d.child,d.tag){case 0:case 11:case 14:case 15:fu(4,d,d.return);break;case 1:Xs(d,d.return);var g=d.stateNode;if(typeof g.componentWillUnmount=="function"){n=d,r=d.return;try{t=n,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(S){Xe(n,r,S)}}break;case 5:Xs(d,d.return);break;case 22:if(d.memoizedState!==null){uE(f);continue}}m!==null?(m.return=d,B=m):uE(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"):(l=f.stateNode,a=f.memoizedProps.style,s=a!=null&&a.hasOwnProperty("display")?a.display:null,l.style.display=IE("display",s))}catch(S){Xe(e,e.return,S)}}}else if(f.tag===6){if(c===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(S){Xe(e,e.return,S)}}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:an(t,e),Rn(e),n&4&&aE(e);break;case 21:break;default:an(t,e),Rn(e)}}function Rn(e){var t=e.flags;if(t&2){try{e:{for(var r=e.return;r!==null;){if(JT(r)){var n=r;break e}r=r.return}throw Error(P(160))}switch(n.tag){case 5:var o=n.stateNode;n.flags&32&&(hu(o,""),n.flags&=-33);var i=sE(e);Hg(e,i,o);break;case 3:case 4:var s=n.stateNode.containerInfo,l=sE(e);Ug(e,l,s);break;default:throw Error(P(161))}}catch(a){Xe(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Gk(e,t,r){B=e,rw(e,t,r)}function rw(e,t,r){for(var n=(e.mode&1)!==0;B!==null;){var o=B,i=o.child;if(o.tag===22&&n){var s=o.memoizedState!==null||mf;if(!s){var l=o.alternate,a=l!==null&&l.memoizedState!==null||Mt;l=mf;var u=Mt;if(mf=s,(Mt=a)&&!u)for(B=o;B!==null;)s=B,a=s.child,s.tag===22&&s.memoizedState!==null?cE(o):a!==null?(a.return=s,B=a):cE(o);for(;i!==null;)B=i,rw(i,t,r),i=i.sibling;B=o,mf=l,Mt=u}lE(e,t,r)}else o.subtreeFlags&8772&&i!==null?(i.return=o,B=i):lE(e,t,r)}}function lE(e){for(;B!==null;){var t=B;if(t.flags&8772){var r=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Mt||nd(5,t);break;case 1:var n=t.stateNode;if(t.flags&4&&!Mt)if(r===null)n.componentDidMount();else{var o=t.elementType===t.type?r.memoizedProps:ln(t.type,r.memoizedProps);n.componentDidUpdate(o,r.memoizedState,n.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&$x(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}$x(t,s,r)}break;case 5:var l=t.stateNode;if(r===null&&t.flags&4){r=l;var a=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":a.autoFocus&&r.focus();break;case"img":a.src&&(r.src=a.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&&Su(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(P(163))}Mt||t.flags&512&&Wg(t)}catch(d){Xe(t,t.return,d)}}if(t===e){B=null;break}if(r=t.sibling,r!==null){r.return=t.return,B=r;break}B=t.return}}function uE(e){for(;B!==null;){var t=B;if(t===e){B=null;break}var r=t.sibling;if(r!==null){r.return=t.return,B=r;break}B=t.return}}function cE(e){for(;B!==null;){var t=B;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{nd(4,t)}catch(a){Xe(t,r,a)}break;case 1:var n=t.stateNode;if(typeof n.componentDidMount=="function"){var o=t.return;try{n.componentDidMount()}catch(a){Xe(t,o,a)}}var i=t.return;try{Wg(t)}catch(a){Xe(t,i,a)}break;case 5:var s=t.return;try{Wg(t)}catch(a){Xe(t,s,a)}}}catch(a){Xe(t,t.return,a)}if(t===e){B=null;break}var l=t.sibling;if(l!==null){l.return=t.return,B=l;break}B=t.return}}var $k=Math.ceil,Gf=ro.ReactCurrentDispatcher,Ay=ro.ReactCurrentOwner,Wr=ro.ReactCurrentBatchConfig,ae
vendor: 9,088 bytes, line 8
8=0,yt=null,ot=null,Rt=0,wr=0,qs=Ko(0),ut=0,Ou=null,rs=0,od=0,Ny=0,du=null,rr=null,by=0,ua=1/0,Yn=null,$f=!1,Gg=null,Uo=null,pf=!1,Do=null,jf=0,mu=0,$g=null,Tf=-1,wf=0;function $t(){return ae&6?rt():Tf!==-1?Tf:Tf=rt()}function Ho(e){return e.mode&1?ae&2&&Rt!==0?Rt&-Rt:Nk.transition!==null?(wf===0&&(wf=VE()),wf):(e=ve,e!==0||(e=window.event,e=e===void 0?16:jE(e.type)),e):1}function dn(e,t,r,n){if(50<mu)throw mu=0,$g=null,Error(P(185));Pu(e,r,n),(!(ae&2)||e!==yt)&&(e===yt&&(!(ae&2)&&(od|=r),ut===4&&Mo(e,Rt)),sr(e,n),r===1&&ae===0&&!(t.mode&1)&&(ua=rt()+500,ed&&Xo()))}function sr(e,t){var r=e.callbackNode;OP(e,t);var n=bf(e,e===yt?Rt:0);if(n===0)r!==null&&vx(r),e.callbackNode=null,e.callbackPriority=0;else if(t=n&-n,e.callbackPriority!==t){if(r!=null&&vx(r),t===1)e.tag===0?Ak(fE.bind(null,e)):fT(fE.bind(null,e)),wk(function(){!(ae&6)&&Xo()}),r=null;else{switch(zE(n)){case 1:r=ty;break;case 4:r=BE;break;case 16:r=Nf;break;case 536870912:r=FE;break;default:r=Nf}r=cw(r,nw.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function nw(e,t){if(Tf=-1,wf=0,ae&6)throw Error(P(327));var r=e.callbackNode;if(ra()&&e.callbackNode!==r)return null;var n=bf(e,e===yt?Rt:0);if(n===0)return null;if(n&30||n&e.expiredLanes||t)t=Yf(e,n);else{t=n;var o=ae;ae|=2;var i=iw();(yt!==e||Rt!==t)&&(Yn=null,ua=rt()+500,Qi(e,t));do try{Kk();break}catch(l){ow(e,l)}while(1);py(),Gf.current=i,ae=o,ot!==null?t=0:(yt=null,Rt=0,t=ut)}if(t!==0){if(t===2&&(o=vg(e),o!==0&&(n=o,t=jg(e,o))),t===1)throw r=Ou,Qi(e,0),Mo(e,n),sr(e,rt()),r;if(t===6)Mo(e,n);else{if(o=e.current.alternate,!(n&30)&&!jk(o)&&(t=Yf(e,n),t===2&&(i=vg(e),i!==0&&(n=i,t=jg(e,i))),t===1))throw r=Ou,Qi(e,0),Mo(e,n),sr(e,rt()),r;switch(e.finishedWork=o,e.finishedLanes=n,t){case 0:case 1:throw Error(P(345));case 2:Yi(e,rr,Yn);break;case 3:if(Mo(e,n),(n&130023424)===n&&(t=by+500-rt(),10<t)){if(bf(e,0)!==0)break;if(o=e.suspendedLanes,(o&n)!==n){$t(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Ig(Yi.bind(null,e,rr,Yn),t);break}Yi(e,rr,Yn);break;case 4:if(Mo(e,n),(n&4194240)===n)break;for(t=e.eventTimes,o=-1;0<n;){var s=31-fn(n);i=1<<s,s=t[s],s>o&&(o=s),n&=~i}if(n=o,n=rt()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*$k(n/1960))-n,10<n){e.timeoutHandle=Ig(Yi.bind(null,e,rr,Yn),n);break}Yi(e,rr,Yn);break;case 5:Yi(e,rr,Yn);break;default:throw Error(P(329))}}}return sr(e,rt()),e.callbackNode===r?nw.bind(null,e):null}function jg(e,t){var r=du;return e.current.memoizedState.isDehydrated&&(Qi(e,t).flags|=256),e=Yf(e,t),e!==2&&(t=rr,rr=r,t!==null&&Yg(t)),e}function Yg(e){rr===null?rr=e:rr.push.apply(rr,e)}function jk(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(!mn(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 Mo(e,t){for(t&=~Ny,t&=~od,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-fn(t),n=1<<r;e[r]=-1,t&=~n}}function fE(e){if(ae&6)throw Error(P(327));ra();var t=bf(e,0);if(!(t&1))return sr(e,rt()),null;var r=Yf(e,t);if(e.tag!==0&&r===2){var n=vg(e);n!==0&&(t=n,r=jg(e,n))}if(r===1)throw r=Ou,Qi(e,0),Mo(e,t),sr(e,rt()),r;if(r===6)throw Error(P(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Yi(e,rr,Yn),sr(e,rt()),null}function Oy(e,t){var r=ae;ae|=1;try{return e(t)}finally{ae=r,ae===0&&(ua=rt()+500,ed&&Xo())}}function ns(e){Do!==null&&Do.tag===0&&!(ae&6)&&ra();var t=ae;ae|=1;var r=Wr.transition,n=ve;try{if(Wr.transition=null,ve=1,e)return e()}finally{ve=n,Wr.transition=r,ae=t,!(ae&6)&&Xo()}}function Py(){wr=qs.current,Me(qs)}function Qi(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,Tk(r)),ot!==null)for(r=ot.return;r!==null;){var n=r;switch(fy(n),n.tag){case 1:n=n.type.childContextTypes,n!=null&&Mf();break;case 3:aa(),Me(or),Me(_t),xy();break;case 5:Sy(n);break;case 4:aa();break;case 13:Me(He);break;case 19:Me(He);break;case 10:hy(n.type._context);break;case 22:case 23:Py()}r=r.return}if(yt=e,ot=e=Go(e.current,null),Rt=wr=t,ut=0,Ou=null,Ny=od=rs=0,rr=du=null,Xi!==null){for(t=0;t<Xi.length;t++)if(r=Xi[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}Xi=null}return e}function ow(e,t){do{var r=ot;try{if(py(),Sf.current=Hf,Uf){for(var n=Ge.memoizedState;n!==null;){var o=n.queue;o!==null&&(o.pending=null),n=n.next}Uf=!1}if(ts=0,gt=lt=Ge=null,cu=!1,Au=0,Ay.current=null,r===null||r.return===null){ut=1,Ou=t,ot=null;break}e:{var i=e,s=r.return,l=r,a=t;if(t=Rt,l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var u=a,c=l,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 m=Zx(s);if(m!==null){m.flags&=-257,Jx(m,s,l,i,t),m.mode&1&&Qx(i,u,t),t=m,a=u;var g=t.updateQueue;if(g===null){var S=new Set;S.add(a),t.updateQueue=S}else g.add(a);break e}else{if(!(t&1)){Qx(i,u,t),ky();break e}a=Error(P(426))}}else if(Fe&&l.mode&1){var E=Zx(s);if(E!==null){!(E.flags&65536)&&(E.flags|=256),Jx(E,s,l,i,t),dy(la(a,l));break e}}i=a=la(a,l),ut!==4&&(ut=2),du===null?du=[i]:du.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var h=WT(i,a,t);Gx(i,h);break e;case 1:l=a;var p=i.type,y=i.stateNode;if(!(i.flags&128)&&(typeof p.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(Uo===null||!Uo.has(y)))){i.flags|=65536,t&=-t,i.lanes|=t;var v=UT(i,l,t);Gx(i,v);break e}}i=i.return}while(i!==null)}aw(r)}catch(x){t=x,ot===r&&r!==null&&(ot=r=r.return);continue}break}while(1)}function iw(){var e=Gf.current;return Gf.current=Hf,e===null?Hf:e}function ky(){(ut===0||ut===3||ut===2)&&(ut=4),yt===null||!(rs&268435455)&&!(od&268435455)||Mo(yt,Rt)}function Yf(e,t){var r=ae;ae|=2;var n=iw();(yt!==e||Rt!==t)&&(Yn=null,Qi(e,t));do try{Yk();break}catch(o){ow(e,o)}while(1);if(py(),ae=r,Gf.current=n,ot!==null)throw Error(P(261));return yt=null,Rt=0,ut}function Yk(){for(;ot!==null;)sw(ot)}function Kk(){for(;ot!==null&&!EP();)sw(ot)}function sw(e){var t=uw(e.alternate,e,wr);e.memoizedProps=e.pendingProps,t===null?aw(e):ot=t,Ay.current=null}function aw(e){var t=e;do{var r=t.alternate;if(e=t.return,t.flags&32768){if(r=Wk(r,t),r!==null){r.flags&=32767,ot=r;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{ut=6,ot=null;return}}else if(r=zk(r,t,wr),r!==null){ot=r;return}if(t=t.sibling,t!==null){ot=t;return}ot=t=e}while(t!==null);ut===0&&(ut=5)}function Yi(e,t,r){var n=ve,o=Wr.transition;try{Wr.transition=null,ve=1,Xk(e,t,r,n)}finally{Wr.transition=o,ve=n}return null}function Xk(e,t,r,n){do ra();while(Do!==null);if(ae&6)throw Error(P(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(P(177));e.callbackNode=null,e.callbackPriority=0;var i=r.lanes|r.childLanes;if(PP(e,i),e===yt&&(ot=yt=null,Rt=0),!(r.subtreeFlags&2064)&&!(r.flags&2064)||pf||(pf=!0,cw(Nf,function(){return ra(),null})),i=(r.flags&15990)!==0,r.subtreeFlags&15990||i){i=Wr.transition,Wr.transition=null;var s=ve;ve=1;var l=ae;ae|=4,Ay.current=null,Hk(e,r),tw(r,e),yk(Cg),Of=!!wg,Cg=wg=null,e.current=r,Gk(r,e,o),TP(),ae=l,ve=s,Wr.transition=i}else e.current=r;if(pf&&(pf=!1,Do=e,jf=o),i=e.pendingLanes,i===0&&(Uo=null),RP(r.stateNode,n),sr(e,rt()),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($f)throw $f=!1,e=Gg,Gg=null,e;return jf&1&&e.tag!==0&&ra(),i=e.pendingLanes,i&1?e===$g?mu++:(mu=0,$g=e):mu=0,Xo(),null}function ra(){if(Do!==null){var e=zE(jf),t=Wr.transition,r=ve;try{if(Wr.transition=null,ve=16>e?16:e,Do===null)var n=!1;else{if(e=Do,Do=null,jf=0,ae&6)throw Error(P(331));var o=ae;for(ae|=4,B=e.current;B!==null;){var i=B,s=i.child;if(B.flags&16){var l=i.deletions;if(l!==null){for(var a=0;a<l.length;a++){var u=l[a];for(B=u;B!==null;){var c=B;switch(c.tag){case 0:case 11:case 15:fu(8,c,i)}var f=c.child;if(f!==null)f.return=c,B=f;else for(;B!==null;){c=B;var d=c.sibling,m=c.return;if(ZT(c),c===u){B=null;break}if(d!==null){d.return=m,B=d;break}B=m}}}var g=i.alternate;if(g!==null){var S=g.child;if(S!==null){g.child=null;do{var E=S.sibling;S.sibling=null,S=E}while(S!==null)}}B=i}}if(i.subtreeFlags&2064&&s!==null)s.return=i,B=s;else e:for(;B!==null;){if(i=B,i.flags&2048)switch(i.tag){case 0:case 11:case 15:fu(9,i,i.return)}var h=i.sibling;if(h!==null){h.return=i.return,B=h;break e}B=i.return}}var p=e.current;for(B=p;B!==null;){s=B;var y=s.child;if(s.subtreeFlags&2064&&y!==null)y.return=s,B=y;else e:for(s=p;B!==null;){if(l=B,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:nd(9,l)}}catch(x){Xe(l,l.return,x)}if(l===s){B=null;break e}var v=l.sibling;if(v!==null){v.return=l.return,B=v;break e}B=l.return}}
vendor: 5,233 bytes, line 8
8if(ae=o,Xo(),Nn&&typeof Nn.onPostCommitFiberRoot=="function")try{Nn.onPostCommitFiberRoot(Xf,e)}catch{}n=!0}return n}finally{ve=r,Wr.transition=t}}return!1}function dE(e,t,r){t=la(r,t),t=WT(e,t,1),e=Wo(e,t,1),t=$t(),e!==null&&(Pu(e,1,t),sr(e,t))}function Xe(e,t,r){if(e.tag===3)dE(e,e,r);else for(;t!==null;){if(t.tag===3){dE(t,e,r);break}else if(t.tag===1){var n=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(Uo===null||!Uo.has(n))){e=la(r,e),e=UT(t,e,1),t=Wo(t,e,1),e=$t(),t!==null&&(Pu(t,1,e),sr(t,e));break}}t=t.return}}function qk(e,t,r){var n=e.pingCache;n!==null&&n.delete(t),t=$t(),e.pingedLanes|=e.suspendedLanes&r,yt===e&&(Rt&r)===r&&(ut===4||ut===3&&(Rt&130023424)===Rt&&500>rt()-by?Qi(e,0):Ny|=r),sr(e,t)}function lw(e,t){t===0&&(e.mode&1?(t=Jc,Jc<<=1,!(Jc&130023424)&&(Jc=4194304)):t=1);var r=$t();e=eo(e,t),e!==null&&(Pu(e,t,r),sr(e,r))}function Qk(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),lw(e,r)}function Zk(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(P(314))}n!==null&&n.delete(t),lw(e,r)}var uw;uw=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||or.current)nr=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return nr=!1,Vk(e,t,r);nr=!!(e.flags&131072)}else nr=!1,Fe&&t.flags&1048576&&dT(t,Bf,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;Ef(e,t),e=t.pendingProps;var o=oa(t,_t.current);ta(t,r),o=Ty(null,t,n,e,o,r);var i=wy();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,ir(n)?(i=!0,_f(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,yy(t),o.updater=td,t.stateNode=o,o._reactInternals=t,Lg(t,n,e,r),t=Dg(null,t,n,!0,i,r)):(t.tag=0,Fe&&i&&cy(t),Gt(null,t,o,r),t=t.child),t;case 16:n=t.elementType;e:{switch(Ef(e,t),e=t.pendingProps,o=n._init,n=o(n._payload),t.type=n,o=t.tag=eL(n),e=ln(n,e),o){case 0:t=_g(null,t,n,e,r);break e;case 1:t=rE(null,t,n,e,r);break e;case 11:t=eE(null,t,n,e,r);break e;case 14:t=tE(null,t,n,ln(n.type,e),r);break e}throw Error(P(306,n,""))}return t;case 0:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:ln(n,o),_g(e,t,n,o,r);case 1:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:ln(n,o),rE(e,t,n,o,r);case 3:e:{if(jT(t),e===null)throw Error(P(387));n=t.pendingProps,i=t.memoizedState,o=i.element,gT(e,t),zf(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=la(Error(P(423)),t),t=nE(e,t,n,r,o);break e}else if(n!==o){o=la(Error(P(424)),t),t=nE(e,t,n,r,o);break e}else for(Cr=zo(t.stateNode.containerInfo.firstChild),Rr=t,Fe=!0,cn=null,r=xT(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(ia(),n===o){t=to(e,t,r);break e}Gt(e,t,n,r)}t=t.child}return t;case 5:return ET(t),e===null&&Og(t),n=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,Rg(n,o)?s=null:i!==null&&Rg(n,i)&&(t.flags|=32),$T(e,t),Gt(e,t,s,r),t.child;case 6:return e===null&&Og(t),null;case 13:return YT(e,t,r);case 4:return vy(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=sa(t,null,n,r):Gt(e,t,n,r),t.child;case 11:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:ln(n,o),eE(e,t,n,o,r);case 7:return Gt(e,t,t.pendingProps,r),t.child;case 8:return Gt(e,t,t.pendingProps.children,r),t.child;case 12:return Gt(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,be(Ff,n._currentValue),n._currentValue=s,i!==null)if(mn(i.value,s)){if(i.children===o.children&&!or.current){t=to(e,t,r);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var l=i.dependencies;if(l!==null){s=i.child;for(var a=l.firstContext;a!==null;){if(a.context===n){if(i.tag===1){a=Qn(-1,r&-r),a.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?a.next=a:(a.next=c.next,c.next=a),u.pending=a}}i.lanes|=r,a=i.alternate,a!==null&&(a.lanes|=r),Pg(i.return,r,t),l.lanes|=r;break}a=a.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(P(341));s.lanes|=r,l=s.alternate,l!==null&&(l.lanes|=r),Pg(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}Gt(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,n=t.pendingProps.children,ta(t,r),o=Ur(o),n=n(o),t.flags|=1,Gt(e,t,n,r),t.child;case 14:return n=t.type,o=ln(n,t.pendingProps),o=ln(n.type,o),tE(e,t,n,o,r);case 15:return HT(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:ln(n,o),Ef(e,t),t.tag=1,ir(n)?(e=!0,_f(t)):e=!1,ta(t,r),vT(t,n,o),Lg(t,n,o,r),Dg(null,t,n,!0,e,r);case 19:return KT(e,t,r);case 22:return GT(e,t,r)}throw Error(P(156,t.tag))};function cw(e,t){return DE(e,t)}function Jk(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.t
vendor: 4,415 bytes, line 8
8ype=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 zr(e,t,r,n){return new Jk(e,t,r,n)}function Ly(e){return e=e.prototype,!(!e||!e.isReactComponent)}function eL(e){if(typeof e=="function")return Ly(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Zg)return 11;if(e===Jg)return 14}return 2}function Go(e,t){var r=e.alternate;return r===null?(r=zr(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 Cf(e,t,r,n,o,i){var s=2;if(n=e,typeof e=="function")Ly(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case zs:return Zi(r.children,o,i,t);case Qg:s=8,o|=8;break;case ng:return e=zr(12,r,t,o|2),e.elementType=ng,e.lanes=i,e;case og:return e=zr(13,r,t,o),e.elementType=og,e.lanes=i,e;case ig:return e=zr(19,r,t,o),e.elementType=ig,e.lanes=i,e;case SE:return id(r,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case yE:s=10;break e;case vE:s=9;break e;case Zg:s=11;break e;case Jg:s=14;break e;case Po:s=16,n=null;break e}throw Error(P(130,e==null?e:typeof e,""))}return t=zr(s,r,t,o),t.elementType=e,t.type=n,t.lanes=i,t}function Zi(e,t,r,n){return e=zr(7,e,n,t),e.lanes=r,e}function id(e,t,r,n){return e=zr(22,e,n,t),e.elementType=SE,e.lanes=r,e.stateNode={isHidden:!1},e}function eg(e,t,r){return e=zr(6,e,null,t),e.lanes=r,e}function tg(e,t,r){return t=zr(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function tL(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=Fh(0),this.expirationTimes=Fh(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Fh(0),this.identifierPrefix=n,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function My(e,t,r,n,o,i,s,l,a){return e=new tL(e,t,r,l,a),t===1?(t=1,i===!0&&(t|=8)):t=0,i=zr(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},yy(i),e}function rL(e,t,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Vs,key:n==null?null:""+n,children:e,containerInfo:t,implementation:r}}function fw(e){if(!e)return jo;e=e._reactInternals;e:{if(is(e)!==e||e.tag!==1)throw Error(P(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(ir(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(P(171))}if(e.tag===1){var r=e.type;if(ir(r))return cT(e,r,t)}return t}function dw(e,t,r,n,o,i,s,l,a){return e=My(r,n,!0,e,o,i,s,l,a),e.context=fw(null),r=e.current,n=$t(),o=Ho(r),i=Qn(n,o),i.callback=t??null,Wo(r,i,o),e.current.lanes=o,Pu(e,o,n),sr(e,n),e}function sd(e,t,r,n){var o=t.current,i=$t(),s=Ho(o);return r=fw(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=Wo(o,t,s),e!==null&&(dn(e,o,s,i),vf(e,o,s)),s}function Kf(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 mE(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function _y(e,t){mE(e,t),(e=e.alternate)&&mE(e,t)}function nL(){return null}var mw=typeof reportError=="function"?reportError:function(e){console.error(e)};function Dy(e){this._internalRoot=e}ad.prototype.render=Dy.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(P(409));sd(e,t,null,null)};
vendor: 4,219 bytes, line 8
8ad.prototype.unmount=Dy.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;ns(function(){sd(null,e,null,null)}),t[Jn]=null}};function ad(e){this._internalRoot=e}ad.prototype.unstable_scheduleHydration=function(e){if(e){var t=HE();e={blockedOn:null,target:e,priority:t};for(var r=0;r<Lo.length&&t!==0&&t<Lo[r].priority;r++);Lo.splice(r,0,e),r===0&&$E(e)}};function By(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ld(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function pE(){}function oL(e,t,r,n,o){if(o){if(typeof n=="function"){var i=n;n=function(){var u=Kf(s);i.call(u)}}var s=dw(t,n,e,0,null,!1,!1,"",pE);return e._reactRootContainer=s,e[Jn]=s.current,Tu(e.nodeType===8?e.parentNode:e),ns(),s}for(;o=e.lastChild;)e.removeChild(o);if(typeof n=="function"){var l=n;n=function(){var u=Kf(a);l.call(u)}}var a=My(e,0,!1,null,null,!1,!1,"",pE);return e._reactRootContainer=a,e[Jn]=a.current,Tu(e.nodeType===8?e.parentNode:e),ns(function(){sd(t,a,r,n)}),a}function ud(e,t,r,n,o){var i=r._reactRootContainer;if(i){var s=i;if(typeof o=="function"){var l=o;o=function(){var a=Kf(s);l.call(a)}}sd(t,s,e,o)}else s=oL(r,t,e,o,n);return Kf(s)}WE=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=nu(t.pendingLanes);r!==0&&(ry(t,r|1),sr(t,rt()),!(ae&6)&&(ua=rt()+500,Xo()))}break;case 13:ns(function(){var n=eo(e,1);if(n!==null){var o=$t();dn(n,e,1,o)}}),_y(e,1)}};ny=function(e){if(e.tag===13){var t=eo(e,134217728);if(t!==null){var r=$t();dn(t,e,134217728,r)}_y(e,134217728)}};UE=function(e){if(e.tag===13){var t=Ho(e),r=eo(e,t);if(r!==null){var n=$t();dn(r,e,t,n)}_y(e,t)}};HE=function(){return ve};GE=function(e,t){var r=ve;try{return ve=e,t()}finally{ve=r}};hg=function(e,t,r){switch(t){case"input":if(lg(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=Jf(n);if(!o)throw Error(P(90));EE(n),lg(n,o)}}}break;case"textarea":wE(e,r);break;case"select":t=r.value,t!=null&&Qs(e,!!r.multiple,t,!1)}};OE=Oy;PE=ns;var iL={usingClientEntryPoint:!1,Events:[Lu,Gs,Jf,NE,bE,Oy]},Jl={findFiberByHostInstance:Ki,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},sL={bundleType:Jl.bundleType,version:Jl.version,rendererPackageName:Jl.rendererPackageName,rendererConfig:Jl.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=ME(e),e===null?null:e.stateNode},findFiberByHostInstance:Jl.findFiberByHostInstance||nL,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(eu=__REACT_DEVTOOLS_GLOBAL_HOOK__,!eu.isDisabled&&eu.supportsFiber))try{Xf=eu.inject(sL),Nn=eu}catch{}var eu;Nr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=iL;Nr.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!By(t))throw Error(P(200));return rL(e,t,null,r)};Nr.createRoot=function(e,t){if(!By(e))throw Error(P(299));var r=!1,n="",o=mw;return t!=null&&(t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=My(e,1,!1,null,null,r,!1,n,o),e[Jn]=t.current,Tu(e.nodeType===8?e.parentNode:e),new Dy(t)};Nr.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(P(188)):(e=Object.keys(e).join(","),Error(P(268,e)));return e=ME(t),e=e===null?null:e.stateNode,e};Nr.flushSync=function(e){return ns(e)};Nr.hydrate=function(e,t,r){if(!ld(t))throw Error(P(200));return ud(null,e,t,!0,r)};
8Nr.hydrateRoot=function(e,t,r){if(!By(e))throw Error(P(405));var n=r!=null&&r.hydratedSources||null,o=!1,i="",s=mw;if(r!=null&&(r.unstable_strictMode===!0&&(o=!0),r.identifierPrefix!==void 0&&(i=r.identifierPrefix),r.onRecoverableError!==void 0&&(s=r.onRecoverableError)),t=dw(t,null,e,1,r??null,o,!1,i,s),e[Jn]=t.current,Tu(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 ad(t)};Nr.render=function(e,t,r){if(!ld(t))throw Error(P(200));return ud(null,e,t,!1,r)};Nr.unmountComponentAtNode=function(e){if(!ld(e))throw Error(P(40));return e._reactRootContainer?(ns(function(){ud(null,null,e,!1,function(){e._reactRootContainer=null,e[Jn]=null})}),!0):!1};Nr.unstable_batchedUpdates=Oy;Nr.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!ld(r))throw Error(P(200));if(e==null||e._reactInternals===void 0)throw Error(P(38));return ud(e,t,r,!1,n)};Nr.version="18.2.0-next-9e3b772b8-20220608"});var cd=on((Y2,gw)=>{"use strict";function hw(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(hw)}catch(e){console.error(e)}}hw(),gw.exports=pw()});var fd=on(Fy=>{"use strict";var yw=cd();Fy.createRoot=yw.createRoot,Fy.hydrateRoot=yw.hydrateRoot;var K2});var iv=on((gC,Ad)=>{(function(e,t,r){typeof Ad<"u"&&Ad.exports?Ad.exports=r():typeof define=="function"&&define.amd?define(t,r):e[t]=r()})(gC,"bowser",function(){var e=!0;function t(a){function u(H){var ee=a.match(H);return ee&&ee.length>1&&ee[1]||""}function c(H){var ee=a.match(H);return ee&&ee.length>1&&ee[2]||""}var f=u(/(ipod|iphone|ipad)/i).toLowerCase(),d=/like android/i.test(a),m=!d&&/android/i.test(a),g=/nexus\s*[0-6]\s*/i.test(a),S=!g&&/nexus\s*[0-9]+/i.test(a),E=/CrOS/.test(a),h=/silk/i.test(a),p=/sailfish/i.test(a),y=/tizen/i.test(a),v=/(web|hpw)os/i.test(a),x=/windows phone/i.test(a),T=/SamsungBrowser/i.test(a),w=!x&&/windows/i.test(a),I=!f&&!h&&/macintosh/i.test(a),A=!m&&!p&&!y&&!v&&/linux/i.test(a),C=c(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),N=u(/version\/(\d+(\.\d+)?)/i),b=/tablet/i.test(a)&&!/tablet pc/i.test(a),L=!b&&/[^-]mobi/i.test(a),D=/xbox/i.test(a),R;/opera/i.test(a)?R={name:"Opera",opera:e,version:N||u(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(a)?R={name:"Opera",opera:e,version:u(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||N}:/SamsungBrowser/i.test(a)?R={name:"Samsung Internet for Android",samsungBrowser:e,version:N||u(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/coast/i.test(a)?R={name:"Opera Coast",coast:e,version:N||u(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/yabrowser/i.test(a)?R={name:"Yandex Browser",yandexbrowser:e,version:N||u(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(a)?R={name:"UC Browser",ucbrowser:e,version:u(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(a)?R={name:"Maxthon",maxthon:e,version:u(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(a)?R={name:"Epiphany",epiphany:e,version:u(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(a)?R={name:"Puffin",puffin:e,version:u(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(a)?R={name:"Sleipnir",sleipnir:e,version:u(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(a)?R={name:"K-Meleon",kMeleon:e,version:u(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:x?(R={name:"Windows Phone",osname:"Windows Phone",windowsphone:e},C?(R.msedge=e,R.version=C):(R.msie=e,R.version=u(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(a)?R={name:"Internet Explorer",msie:e,version:u(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:E?R={name:"Chrome",osname:"Chrome OS",chromeos:e,chromeBook:e,chrome:e,version:u(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(a)?R={name:"Microsoft Edge",msedge:e,version:C}:/vivaldi/i.test(a)?R={name:"Vivaldi",vivaldi:e,version:u(/vivaldi\/(\d+(\.\d+)?)/i)||N}:p?R={name:"Sailfish",osname:"Sailfish OS",sailfish:e,version:u(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(a)?R={name:"SeaMonkey",seamonkey:e,version:u(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(a)?(R={name:"Firefox",firefox:e,version:u(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(a)&&(R.firefoxos=e,R.osname="Firefox OS")):h?R={name:"Amazon Silk",silk:e,version:u(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(a)?R={name:"PhantomJS",phantom:e,version:u(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(a)?R={name:"SlimerJS",slimer:e,version:u(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(a)||/rim\stablet/i.test(a)?R={name:"BlackBerry",osname:"BlackBerry OS",blackberry:e,version:N||u(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:v?(R={name:"WebOS",osname:"WebOS",webos:e,version:N||u(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(a)&&(R.touchpad=e)):/bada/i.test(a)?R={name:"Bada",osname:"Bada",bada:e,version:u(/dolfin\/(\d+(\.\d+)?)/i)}:y?R={name:"Tizen",osname:"Tizen",tizen:e,version:u(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||N}:/qupzilla/i.test(a)?R={name:"QupZilla",qupzilla:e,version:u(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||N}:/chromium/i.test(a)?R={name:"Chromium",chromium:e,version:u(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||N}:/chrome|crios|crmo/i.test(a)?R={name:"Chrome",chrome:e,version:u(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:m?R={name:"Android",version:N}:/safari|applewebkit/i.test(a)?(R={name:"Safari",safari:e},N&&(R.version=N)):f?(R={name:f=="iphone"?"iPhone":f=="ipad"?"iPad":"iPod"},N&&(R.version=N)):/googlebot/i.test(a)?R={name:"Googlebot",googlebot:e,version:u(/googlebot\/(\d+(\.\d+))/i)||N}:R={name:u(/^(.*)\/(.*) /),version:c(/^(.*)\/(.*) /)},!R.msedge&&/(apple)?webkit/i.test(a)?(/(apple)?webkit\/537\.36/i.test(a)?(R.name=R.name||"Blink",R.blink=e):(R.name=R.name||"Webkit",R.webkit=e),!R.version&&N&&(R.version=N)):!R.opera&&/gecko\//i.test(a)&&(R.name=R.name||"Gecko",R.gecko=e,R.version=R.version||u(/gecko\/(\d+(\.\d+)?)/i)),!R.windowsphone&&(m||R.silk)?(R.android=e,R.osname="Android"):!R.windowsphone&&f?(R[f]=e,R.ios=e,R.osname="iOS"):I?(R.mac=e,R.osname="macOS"):D?(R.xbox=e,R.osname="Xbox"):w?(R.windows=e,R.osname="Windows"):A&&(R.linux=e,R.osname="Linux");function W(H){switch(H){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 k="";R.windows?k=W(u(/Windows ((NT|XP)( \d\d?.\d)?)/i)):R.windowsphone?k=u(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):R.mac?(k=u(/Mac OS X (\d+([_\.\s]\d+)*)/i),k=k.replace(/[_\s]/g,".")):f?(k=u(/os (\d+([_\s]\d+)*) like mac os x/i),k=k.replace(/[_\s]/g,".")):m?k=u(/android[ \/-](\d+(\.\d+)*)/i):R.webos?k=u(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):R.blackberry?k=u(/rim\stablet\sos\s(\d+(\.\d+)*)/i):R.bada?k=u(/bada\/(\d+(\.\d+)*)/i):R.tizen&&(k=u(/tizen[\/\s](\d+(\.\d+)*)/i)),k&&
8(R.osversion=k);var V=!R.windows&&k.split(".")[0];return b||S||f=="ipad"||m&&(V==3||V>=4&&!L)||R.silk?R.tablet=e:(L||f=="iphone"||f=="ipod"||m||g||R.blackberry||R.webos||R.bada)&&(R.mobile=e),R.msedge||R.msie&&R.version>=10||R.yandexbrowser&&R.version>=15||R.vivaldi&&R.version>=1||R.chrome&&R.version>=20||R.samsungBrowser&&R.version>=4||R.firefox&&R.version>=20||R.safari&&R.version>=6||R.opera&&R.version>=10||R.ios&&R.osversion&&R.osversion.split(".")[0]>=6||R.blackberry&&R.version>=10.1||R.chromium&&R.version>=20?R.a=e:R.msie&&R.version<10||R.chrome&&R.version<20||R.firefox&&R.version<20||R.safari&&R.version<6||R.opera&&R.version<10||R.ios&&R.osversion&&R.osversion.split(".")[0]<6||R.chromium&&R.version<20?R.c=e:R.x=e,R}var r=t(typeof navigator<"u"&&navigator.userAgent||"");r.test=function(a){for(var u=0;u<a.length;++u){var c=a[u];if(typeof c=="string"&&c in r)return!0}return!1};function n(a){return a.split(".").length}function o(a,u){var c=[],f;if(Array.prototype.map)return Array.prototype.map.call(a,u);for(f=0;f<a.length;f++)c.push(u(a[f]));return c}function i(a){for(var u=Math.max(n(a[0]),n(a[1])),c=o(a,function(f){var d=u-n(f);return f=f+new Array(d+1).join(".0"),o(f.split("."),function(m){return new Array(20-m.length).join("0")+m}).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(a,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 m in a)if(a.hasOwnProperty(m)&&f[m]){if(typeof a[m]!="string")throw new Error("Browser version in the minVersion map should be a string: "+m+": "+String(a));return i([d,a[m]])<0}return u}function l(a,u,c){return!s(a,u,c)}return r.isUnsupportedBrowser=s,r.compareVersions=i,r.check=l,r._detect=t,r.detect=t,r})});var NR=on(Xd=>{"use strict";var i_=M(),s_=Symbol.for("react.element"),a_=Symbol.for("react.fragment"),l_=Object.prototype.hasOwnProperty,u_=i_.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c_={key:!0,ref:!0,__self:!0,__source:!0};function AR(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)l_.call(t,n)&&!c_.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:s_,type:e,key:i,ref:s,props:o,_owner:u_.current}}Xd.Fragment=a_;Xd.jsx=AR;Xd.jsxs=AR});var oi=on((zH,bR)=>{"use strict";bR.exports=NR()});var Wn=on((wJ,Ip)=>{(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 Ip<"u"&&Ip.exports?(t.default=t,Ip.exports=t):typeof define=="function"&&typeof define.amd=="object"&&define.amd?define("classnames",[],function(){return t}):window.classNames=t})()});var dh=O(M()),mh=O(fd());var aL=0;function X(e,t){let r=`atom${++aL}`,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=lL,n.write=uL),t&&(n.write=t),n}function lL(e){return e(this)}function uL(e,t,r){return t(this,typeof r=="function"?r(e(this)):r)}var vw=(e,t)=>e.unstable_is?e.unstable_is(t):t===e,zy=e=>"init"in e,Vy=e=>!!e.write,md=new WeakMap,Wy=e=>{var t;return Uy(e)&&!((t=md.get(e))!=null&&t[1])},cL=(e,t)=>{let r=md.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")},fL=e=>{if(md.has(e))return;let t=[new Set,!1];md.set(e,t);let r=()=>{t[1]=!0};e.then(r,r),e.onCancel=n=>{t[0].add(n)}},Uy=e=>typeof e?.then=="function",Sw=e=>"v"in e||"e"in e,dd=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},Tw=(e,t,r)=>{r.p.has(e)||(r.p.add(e),t.then(()=>{r.p.delete(e)},()=>{r.p.delete(e)}))},xw=(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),Wy(r.v)&&Tw(t,r.v,o),(i=o.m)==null||i.t.add(t),e&&dL(e,n,t)},_u=()=>({D:new Map,H:new Set,M:new Set,L:new Set}),Bu=(e,t,r)=>{e[t].add(r)},Ew=(e,t,r)=>{e.D.has(t)||(e.D.set(t,new Set),Bu(e,"M",()=>{var n;(n=r.m)==null||n.l.forEach(o=>Bu(e,"M",o))}))},dL=(e,t,r)=>{let n=e.D.get(t);n&&n.add(r)},mL=(e,t)=>e.D.get(t),ss=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},ww=(...[e,t,r,n])=>{let o=(h,p,y)=>{let v="v"in p,x=p.v,T=Wy(p.v)?p.v:null;if(Uy(y)){fL(y);for(let w of p.d.keys())Tw(h,y,e(w));p.v=y}else p.v=y;delete p.e,delete p.x,(!v||!Object.is(x,p.v))&&(++p.n,T&&cL(T,y))},i=(h,p)=>{var y;let v=e(p);if(Sw(v)&&(v.m&&!v.x||Array.from(v.d).every(([C,N])=>i(h,C).n===N)))return v;v.d.clear();let x=!0,T=C=>{if(vw(p,C)){let b=e(C);if(!Sw(b))if(zy(C))o(C,b,C.init);else throw new Error("no atom init");return dd(b)}let N=i(h,C);try{return dd(N)}finally{if(x)xw(h,p,v,C,N);else{let b=_u();xw(b,p,v,C,N),f(b,p,v),ss(b)}}},w,I,A={get signal(){return w||(w=new AbortController),w.signal},get setSelf(){return(import.meta.env?import.meta.env.MODE:void 0)!=="production"&&!Vy(p)&&console.warn("setSelf function cannot be used with read-only atom"),!I&&Vy(p)&&(I=(...C)=>{if((import.meta.env?import.meta.env.MODE:void 0)!=="production"&&x&&console.warn("setSelf function cannot be called in sync"),!x)return c(p,...C)}),I}};try{let C=t(p,T,A);if(o(p,v,C),Uy(C)){(y=C.onCancel)==null||y.call(C,()=>w?.abort());let N=()=>{if(v.m){let b=_u();f(b,p,v),ss(b)}};C.then(N,N)}return v}catch(C){return delete v.v,v.e=C,delete v.x,++v.n,v}finally{x=!1}},s=h=>dd(i(void 0,h)),l=(h,p,y)=>{var v,x;let T=new Map;for(let w of((v=y.m)==null?void 0:v.t)||[]){let I=e(w);I.m&&T.set(w,I)}for(let w of y.p)T.set(w,e(w));return(x=mL(h,p))==null||x.forEach(w=>{T.set(w,e(w))}),T},a=(h,p,y)=>{let v=[],x=new Set,T=new Set,w=[[p,y]];for(;w.length>0;){let[I,A]=w[w.length-1];if(T.has(I)){w.pop();continue}if(x.has(I)){v.push([I,A,A.n]),T.add(I),A.x=!0,w.pop();continue}x.add(I);for(let[C,N]of l(h,I,A))I!==C&&!x.has(C)&&w.push([C,N])}Bu(h,"H",()=>{let I=new Set([p]);for(let A=v.length-1;A>=0;--A){let[C,N,b]=v[A],L=!1;for(let D of N.d.keys())if(D!==C&&I.has(D)){L=!0;break}L&&(i(h,C),f(h,C,N),b!==N.n&&(Ew(h,C,N),I.add(C))),delete N.x}})},u=(h,p,...y)=>{let v=!0,x=w=>dd(i(h,w)),T=(w,...I)=>{let A=e(w);try{if(vw(p,w)){if(!zy(w))throw new Error("atom not writable");let C=A.n,N=I[0];o(w,A,N),f(h,w,A),C!==A.n&&(Ew(h,w,A),a(h,w,A));return}else return u(h,w,...I)}finally{v||ss(h)}};try{return r(p,x,T,...y)}finally{v=!1}},c=(h,...p)=>{let y=_u();try{return u(y,h,...p)}finally{ss(y)}},f=(h,p,y)=>{if(y.m&&!Wy(y.v)){for(let v of y.d.keys())y.m.d.has(v)||(d(h,v,e(v)).t.add(p),y.m.d.add(v));for(let v of y.m.d||[])if(!y.d.has(v)){y.m.d.delete(v);let x=m(h,v,e(v));x?.t.delete(p)}}},d=(h,p,y)=>{if(!y.m){i(h,p);for(let v of y.d.keys())d(h,v,e(v)).t.add(p);if(y.m={l:new Set,d:new Set(y.d.keys()),t:new Set},Vy(p)){let v=y.m,x,T=(w,I)=>{let A=!0;x=(...C)=>{try{return u(w,p,...C)}finally{A||ss(w)}};try{return I()}finally{A=!1}};Bu(h,"L",()=>{let w=T(h,()=>n(p,(...I)=>x(...I)));w&&(v.u=I=>T(I,w))})}}return y.m},m=(h,p,y)=>{if(y.m&&!y.m.l.size&&!Array.from(y.m.t).some(v=>{var x;return(x=e(v).m)==null?void 0:x.d.has(p)})){let v=y.m.u;v&&Bu(h,"L",()=>v(h)),delete y.m;for(let x of y.d.keys()){let T=m(h,x,e(x));T?.t.delete(p)}return}return y.m};return{get:s,set:c,sub:(h,p)=>{let y=_u(),v=e(h),T=d(y,h,v).l;return T.add(p),ss(y),()=>{T.delete(p);let w=_u();m(w,h,v),ss(w)}},unstable_derive:h=>ww(...h(e,t,r,n))}},pL=e=>{let t=new WeakMap,r=new Set,n,o=0,i=e.unstable_derive((a,u,c,f)=>(n=a,[d=>{let m=t.get(d);if(!m){let g=a(d);m=new Proxy(g,{set(S,E,h){return E==="m"&&r.add(d),Reflect.set(S,E,h)},deleteProperty(S,E){return E==="m"&&r.delete(d),Reflect.deleteProperty(S,E)}}),t.set(d,m)}return m},u,(d,m,g,...S)=>o?g(d,...S):c(d,m,g,...S),f])),s=i.set;return Object.assign(i,{dev4_get_internal_weak_map:()=>({get:a=>{let u=n(a);if(u.n!==0)return u}}),dev4_get_mounted_atoms:()=>r,dev4_restore_atoms:a=>{s({read:()=>null,write:(c,f)=>{++o;try{for(let[d,m]of a)zy(d)&&f(d,m)}finally{--o}}})}})},Cw=()=>{let e=new WeakMap,r=ww(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"?pL(r):r},Du,Q=()=>(Du||(Du=Cw(),(import.meta.env?import.meta.env.MODE:void 0)!=="production"&&(globalThis.__JOTAI_DEFAULT_STORE__||(globalThis.__JOTAI_DEFAULT_STORE__=Du),globalThis.__JOTAI_DEFAULT_STORE__!==Du&&console.warn("Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044"))),Du);var Yt=O(M(),1);var hL=(0,Yt.createContext)(void 0),$y=e=>{let t=(0,Yt.useContext)(hL);return e?.store||t||Q()};var Gy=e=>typeof e?.then=="function",Iw=e=>{e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t})},gL=Yt.default.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(Iw(e),e)}),Hy=new WeakMap,Rw=e=>{let t=Hy.get(e);return t||(t=new Promise((r,n)=>{let o=e,i=a=>u=>{o===a&&r(u)},s=a=>u=>{o===a&&n(u)},l=a=>{"onCancel"in a&&typeof a.onCancel=="function"&&a.onCancel(u=>{if((import.meta.env?import.meta.env.MODE:void 0)!=="production"&&u===a)throw new Error("[Bug] p is not updated even after cancelation");Gy(u)?(Hy.set(u,t),o=u,u.then(i(u),s(u)),l(u)):r(u)})};e.then(i(e),s(e)),l(e)}),Hy.set(e,t)),t};function fe(e,t){let r=$y(t),[[n,o,i],s]=(0,Yt.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]),l=n;(o!==r||i!==e)&&(s(),l=r.get(e));let a=t?.delay;if((0,Yt.useEffect)(()=>{let u=r.sub(e,()=>{if(typeof a=="number"){let c=r.get(e);Gy(c)&&Iw(Rw(c)),setTimeout(s,a);return}s()});return s(),u},[r,e,a]),(0,Yt.useDebugValue)(l),Gy(l)){let u=Rw(l);return gL(u)}return l}var Je=O(M());var qo=O(M());
8var Fu={"4887DD1F66989A9153777FD25BF683CF1523501F":!1,E5FBBA911B2B7A09E649D4BE6CDF8591EAEFC881:!1,DB12502AB93B8BC94483E5995E66CCE3C8F40A12:!1,"23DEE61ABF76790F10E03F0E46287AE5C612B909":!1,DB4A629746AB07498F8DED360D1C19A880BA3610:!1};function Aw(e){return(e??Fu)["4887DD1F66989A9153777FD25BF683CF1523501F"]}function pd(e){return(e??Fu).E5FBBA911B2B7A09E649D4BE6CDF8591EAEFC881}function Nw(e){return(e??Fu).DB12502AB93B8BC94483E5995E66CCE3C8F40A12}function bw(e){return(e??Fu)["23DEE61ABF76790F10E03F0E46287AE5C612B909"]}function Ow(e){return(e??Fu).DB4A629746AB07498F8DED360D1C19A880BA3610}var Pw=(0,qo.createContext)(null),de=()=>(0,qo.useContext)(Pw);function yL(){return de().websiteData.siteSettings}function hd(){return fe(yL())}function gd(){return de().labs}function Qo(){return de().websiteData.fonts}function kw(){return de().websiteData.sourceCodeHash}function pe(){return de().env}function da(){return de().breakpointWidthAtom}function ar(){return de().compactDOM}function On(){return de().addHeadTag}function Lw(){return de().addBodyScript}function vL(){return de().websiteData.globalStyles}function Mw(){return fe(vL())}function Yy({websiteData:e,getCodeComponentURL:t,history:r,getAssetURL:n,getFontURL:o,children:i,env:s="preview",transitionAtom:l,setLocation:a,preloadLocation:u,compactDOM:c=!1,independentRootNode:f=!1,withBaseStyles:d=!0,addHeadTag:m,addBodyScript:g,loadComponentsOverNetwork:S=!1,breakpointWidthAtom:E}){let h=fe(e.siteSettings).labs,p=(0,qo.useMemo)(()=>({websiteData:e,history:r,getAssetURL:n,getFontURL:o,getCodeComponentURL:t,env:s,transitionAtom:l,setLocation:a,preloadLocation:u,compactDOM:c,independentRootNode:f,withBaseStyles:d,addHeadTag:m,addBodyScript:g,loadComponentsOverNetwork:S,labs:h,breakpointWidthAtom:E}),[e,r,n,o,t,s,l,a,u,c,f,d,m,g,S,h,E]);return Z.state=p,qo.default.createElement(Pw.Provider,{value:p},i)}var Z={state:null},jy=!1;function _w(e){let t=Z.state?.websiteData.siteSettings;return t&&Aw(e(t).labs)||jy}function Vu(e){jy=e}var Oe;(function(e){e.Link="link",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"})(Oe||(Oe={}));var Dw;(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"})(Dw||(Dw={}));var Ve;(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"})(Ve||(Ve={}));var pn;(function(e){e.LEFT="LEFT",e.RIGHT="RIGHT",e.CENTER="CENTER",e.LEFT_RIGHT="LEFT_RIGHT",e.SCALE="SCALE"})(pn||(pn={}));var hn;(function(e){e.TOP="TOP",e.BOTTOM="BOTTOM",e.CENTER="CENTER",e.TOP_BOTTOM="TOP_BOTTOM",e.SCALE="SCALE"})(hn||(hn={}));var Bw;(function(e){e.SUPER="SUPER",e.SUB="SUB",e.NORMAL="NORMAL"})(Bw||(Bw={}));var yd;(function(e){e.NONE="NONE",e.STRIKETHROUGH="STRIKETHROUGH",e.UNDERLINE="UNDERLINE"})(yd||(yd={}));var Zo;(function(e){e.ORDERED="ORDERED",e.UNORDERED="UNORDERED",e.NONE="NONE"})(Zo||(Zo={}));var ma={visible:!0,locked:!1,isFixed:!1,scrollBehavior:"SCROLLS"},zu={blendMode:Ve.NORMAL,opacity:1},vd={constraints:{vertical:hn.TOP,horizontal:pn.LEFT},layoutGrow:0,layoutAlign:"INHERIT",layoutPositioning:"AUTO",gridColumnAnchorIndex:0,gridRowAnchorIndex:0},Sd={fills:[],strokes:[],strokeWeight:1},SL={effects:[]},Vw={isMask:!1},Fw={isResponsiveSet:!1,isResponsiveNode:!1},iz={interactions:[]},xL={clipsContent:!1,overflowDirection:"NONE",layoutMode:"NONE",primaryAxisSizingMode:"AUTO",counterAxisSizingMode:"AUTO",primaryAxisAlignItems:"MIN",counterAxisAlignItems:"MIN",paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,itemSpacing:0,itemRever
8seZIndex:!1,strokesIncludedInLayout:!1,counterAxisAlignContent:"AUTO",layoutWrap:"NO_WRAP",counterAxisSpacing:0},Ky={cornerRadius:0,rectangleCornerRadii:[0,0,0,0],rectangleCornerRadiiIndependent:!1},Xy={isImage:!1},EL={isInAnimateTree:!1},gn={...ma,...zu,...vd,...xL,...Ky,...Sd,...SL,...Vw,...Fw,...Fw,...Xy,...EL},Wu={...ma,...zu,...vd,...Sd,...Vw},sz={...Wu,...Ky},zw={...Wu,...Ky},Ww={listSpacing:0,textAutoResize:"NONE",paragraphIndent:0,paragraphSpacing:0,textAlignHorizontal:"LEFT",textAlignVertical:"TOP"},Uu={code:void 0,sourceCodeHash:void 0,codeExportName:"default"};var Uw={...gn},Hw={...gn},Gw={...Wu},$w={...ma,...zu,...vd,...Sd},jw={...gn},Yw={...gn},Kw={...gn},Xw={...gn},qw={...gn},Qw={...zw,...Xy},Zw={...Wu,...Ww},Jw={...ma,...zu},eC={...gn,type:"RESPONSIVE_SET"},tC={...gn,type:"CODE_INSTANCE",...Uu,componentProperties:{}},rC={...gn,type:"CODE_LAYER",...Uu,componentProperties:{}},nC={...ma,type:"CODE_COMPONENT",...Uu,componentProperties:{}},oC={type:"CODE_FILE",...Uu};function xd(e){switch(e.type){case"COMPONENT":return Object.assign(Object.create(Uw),e);case"COMPONENT_SET":return Object.assign(Object.create(Hw),e);case"FRAME":return Object.assign(Object.create(jw),e);case"GROUP":return Object.assign(Object.create(Yw),e);case"IMAGE":return Object.assign(Object.create($w),e);case"INSTANCE":return Object.assign(Object.create(qw),e);case"RECTANGLE":return Object.assign(Object.create(Qw),e);case"SVG":return Object.assign(Object.create(Gw),e);case"TEXT":return Object.assign(Object.create(Zw),e);case"VARIABLE":return e;case"VARIABLE_COLLECTION":return e;case"STYLE":return e;case"WIDGET":return Object.assign(Object.create(Jw),e);case"RESPONSIVE_SET":return Object.assign(Object.create(eC),e);case"CODE_INSTANCE":return Object.assign(Object.create(tC),e);case"CODE_LAYER":return Object.assign(Object.create(rC),e);case"CODE_COMPONENT":return Object.assign(Object.create(nC),e);case"CODE_FILE":return Object.assign(Object.create(oC),e);case"REPEATER":return Object.assign(Object.create(Kw),e);case"CMS_RICH_TEXT":return Object.assign(Object.create(Xw),e);default:throw new Error("Unknown node type provided to applyDefaults")}}var Hu;(function(e){e.MAILCHIMP="MAILCHIMP",e.GOOGLE_MAP="GOOGLE_MAP",e.YOUTUBE="YOUTUBE",e.UNKNOWN="UNKNOWN",e.GENERIC="GENERIC"})(Hu||(Hu={}));var Ee;(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"})(Ee||(Ee={}));function Ed(e){return e.type==="GRADIENT_LINEAR"||e.type==="GRADIENT_RADIAL"||e.type==="GRADIENT_ANGULAR"||e.type==="GRADIENT_DIAMOND"}function pz(e,t){let r=e,n=t.safeParse(e);if(n.success&&(r=n.data),!n.success){t.description||console.info("Zod schema provided to parseData has no description. Add a description via .describe for better error messages.");let o=`${t.description||"Zod"} schema error issues`;if(typeof window>"u")throw new Error(`${o}
9Issues: ${JSON.stringify(n.error.issues,null,2)}`);console.error(o,{issues:n.error.issues,data:e})}return r}function pa(e){return e}var ha=pa,iC=pa,sC=pa;
9var no=pa;var qy=pa,aC=pa;var J=class extends Error{constructor(t,r){super(t),Object.setPrototypeOf(this,J.prototype),r&&r instanceof Error&&(this.cause=r)}};function Te(e,t){throw new Error(t??`Uncaught type ${JSON.stringify(e)}`)}function Se(e,t){if(!e)throw new J(`Assertion failure${t?`: ${t}`:""}`)}var lC=new Set(["vectorNetworkBlob","version"]);function _e(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((a,u)=>_e(a,t[u],r,n,o));let s=Object.keys(e),l=Object.keys(t);return o&&(s=s.filter(a=>e[a]!==void 0),l=l.filter(a=>t[a]!==void 0)),s.length!==l.length||(n&&(s=s.filter(a=>!lC.has(a)),l=l.filter(a=>!lC.has(a))),s.sort(),l.sort(),!s.every((a,u)=>a===l[u]))?!1:s.every(a=>_e(e[a],t[a],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&&(_e(this.map.get(t),r),`${JSON.stringify(t)}`,void 0);return}this.map.set(t,r)}_has(t){return this.map.has(t)}};var Td=O(M());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)}}static 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 je=class{origin;size;constructor(t=new _,r=new _){this.origin=t,this.size=r}clone(){return new je(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 je(this.origin.transpose(),this.size.transpose())}offsetBy(t){return new je(this.origin.plus(t),this.size)}scaledBy(t){return new je(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 je(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 je.invalidRect();let r=_.max(this.origin,t.origin),n=_.min(this.bottomRight(),t.bottomRight()),o=new je(r,n.minus(r));if(o.origin.hasNaN()||o.size.hasNaN())throw new Error("Rect.intersectWith produced a result with NaN");return o.isInvalid()&&(o=je.invalidRect()),o}hasIntersectionWith(t){return!this.intersectWith(t).isEmpty()}expand(t){return this.isInvalid()?je.invalidRect():typeof t=="number"?je.fromOriginAndSize(this.origin.x-t,this.origin.y-t,this.size.x+2*t,this.size.y+2*t):new je(this.origin.minus(t),this.size.plus(t.multiplyBy(2)))}
9static invalidRect(){return new je(new _(Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY),new _(Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY))}static infinite(){return new je(_.infinity().multiplyBy(-1),_.infinity())}static fromOriginAndSize(t,r,n,o){return new je(new _(t,r),new _(n,o))}static fromCenterSize(t,r){let n=r.divideBy(2);return new je(t.minus(n),r)}static computeBounds(t,r){let n=_.min(t,r),o=_.max(t,r);return new je(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 je(r,n.minus(r))}};var io;(function(e){e[e.SVG=0]="SVG",e[e.CSS=1]="CSS"})(io||(io={}));var uC;(function(e){e[e.SRGB=0]="SRGB",e[e.DISPLAY_P3=1]="DISPLAY_P3"})(uC||(uC={}));var cC;(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"})(cC||(cC={}));var vt={colorProfile:0,colorspaceConversion:0};function he(e){return String(+e.toPrecision(5))}var Pn=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 l=new Pn;return l.m00=t,l.m01=r,l.m02=n,l.m10=o,l.m11=i,l.m12=s,l}static copy(t){let r=new Pn;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 Pn;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 Pn;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,l=n*this.m11-r*this.m10;this.m00=o,this.m01=i,this.m10=s,this.m11=l}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,l=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=l}determinant(){return this.m00*this.m11-this.m01*this.m10}invert(){let t=1/this.determinant();if(!isFinite(t))return!1;let r=Pn.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)}transformRect(t){if(t.isInvalid())return t;if(this.axisX().y===0&&this.axisY().x===0)return je.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 je.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);
9return n.hasNaN()?_.invalid():n}static fromTransform(t){return Pn.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]]}},qe=Pn;Tr(qe,"kEpsilon",1e-6),Tr(qe,"kEpsilonSqr",Pn.kEpsilon*Pn.kEpsilon);var lr=1e-4;function Gu(e){return typeof structuredClone=="function"?structuredClone(e):JSON.parse(JSON.stringify(e))}function St(e,t,r=1e-6){return Math.abs(e-t)<r}function fC(e,t){return fe((0,Td.useMemo)(()=>X(e),t))}function Zy(e){return Object.freeze(e)}function Jy(e){return e.type==="RESPONSIVE_SET"}function Gr(e,t){if(e===void 0)return t;let r=qe.fromTransform(t),n=qe.fromTransform(e);return n.multiply(r),br(n.toTransform())}function br(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=lr){return Math.abs(e)<t?0:e}function kn(e){return`${Math.round(e*1e4)/1e4*100}%`}var Qy=[[1,0,0],[0,1,0]];function Jo(e){if(!e)return Qy;let r=/matrix\((.*)\)/.exec(e);if(!r)return Qy;let n=r[1].split(",").map(o=>parseFloat(o));return n.length!==6?Qy:[[n[0],n[2],n[4]],[n[1],n[3],n[5]]]}function $u(e){return re(e.value)===0?"0":`${e.value}${e.unit==="PERCENT"?"%":"px"}`}function ga(){}function wd(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 ya(e,t){let r=(0,Td.useRef)(e);return t(r.current,e)||(r.current=e),r.current}var mC={title:""},ju=X(!1),ev=X(null),Ln=X(void 0),dC=X(void 0),Sa=X(e=>({width:e(Ln),height:e(dC)}),(e,t,r)=>{t(Ln,r.width),t(dC,r.height)}),wL={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"}}},tv=xd({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 Rd(){let e={siteSettings:X(mC),roots:X([]),nodeById:new oo(X(tv)),fonts:new oo(void 0,!0),assets:new oo(X(wL)),assetIdToGuid:new oo(void 0),guidToUrl:new oo(void 0),animateRootIds:new Set,stablePathToAssetHash:new oo(void 0,!0),compiledCode:X(""),globalStyles:X(""),sourceCodeHash:X("")};return Zy(e),Zy(e.assets),e}function Yu(e,t){va(e.siteSettings,t.siteSettings??mC),pC(e.nodeById,t.nodeById,r=>qy(r)),va(e.roots,t.roots),Cd(e.fonts,t.fonts),Cd(e.assetIdToGuid,t.assetIdToGuid),Cd(e.guidToUrl,t.guidToUrl),rv(e,t.assets),Cd(e.stablePathToAssetHash,t.stablePathToAssetHash),CL(e.animateRootIds,t.animateRootIds),va(e.compiledCode,t.compiledCode),va(e.globalStyles,t.globalStyles),va(e.sourceCodeHash,t.sourceCodeHash)}function rv(e,t){pC(e.assets,t)}function CL(e,t){e.clear(),t.forEach(r=>{e.add(r)})}function Cd(e,t){for(let[r,n]of Object.entries(t))e.set(r,n)}function pC(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,X(s)):va(i,s)}}function va(e,t){let r=Q();_e(r.get(e),t)||r.set(e,t)}var as="-1:-1";function xt(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 yn(e,t){let r=null;return typeof t!="object"||"r"in t?r=t:t.type==="VARIABLE_ALIAS"?r=e.variableState.evaluateVariable(e.get,t.id,e.modeContext):t.type==="EXPRESSION"&&(r=RL(t,e)),r}function RL(e,t){let r=IL.find(({expressionFunction:n,resolvedType:o,argTypes:i})=>n===e.value.expressionFunction&&o===e.resolvedType&&e.value.expressionArguments.every((s,l)=>ZL(s)===i[l]))?.implementation;return r?r(e.value.expressionArguments,t):(console.warn("expression type not implemented",e.value.expressionFunction),null)}function De(e,t,r,n){return{resolvedType:t,argTypes:r,implementation:n,expressionFunction:e}}var IL=[De(Ee.ADDITION,"FLOAT",["FLOAT","FLOAT"],AL),De(Ee.SUBTRACTION,"FLOAT",["FLOAT","FLOAT"],NL),De(Ee.MULTIPLY,"FLOAT",["FLOAT","FLOAT"],bL),De(Ee.DIVIDE,"FLOAT",["FLOAT","FLOAT"],OL),De(Ee.AND,"BOOLEAN",["BOOLEAN","BOOLEAN"],PL),De(Ee.OR,"BOOLEAN",["BOOLEAN","BOOLEAN"],kL),De(Ee.NOT,"BOOLEAN",["BOOLEAN"],LL),De(Ee.EQUALS,"BOOLEAN",["FLOAT","FLOAT"],ML),De(Ee.NOT_EQUAL,"BOOLEAN",["FLOAT","FLOAT"],_L),De(Ee.EQUALS,"BOOLEAN",["BOOLEAN","BOOLEAN"],DL),De(Ee.NOT_EQUAL,"BOOLEAN",["BOOLEAN","BOOLEAN"],BL),De(Ee.EQUALS,"BOOLEAN",["STRING","STRING"],FL),De(Ee.NOT_EQUAL,"BOOLEAN",["STRING","STRING"],VL),De(Ee.LESS_THAN,"BOOLEAN",["FLOAT","FLOAT"],zL
9),De(Ee.LESS_THAN_OR_EQUAL,"BOOLEAN",["FLOAT","FLOAT"],WL),De(Ee.GREATER_THAN,"BOOLEAN",["FLOAT","FLOAT"],UL),De(Ee.GREATER_THAN_OR_EQUAL,"BOOLEAN",["FLOAT","FLOAT"],HL),De(Ee.STRINGIFY,"STRING",["FLOAT"],GL),De(Ee.STRINGIFY,"STRING",["BOOLEAN"],$L),De(Ee.STRINGIFY,"STRING",["STRING"],jL),De(Ee.ADDITION,"STRING",["STRING","STRING"],YL),De(Ee.ADDITION,"STRING",["FLOAT","STRING"],KL),De(Ee.ADDITION,"STRING",["STRING","FLOAT"],XL),De(Ee.ADDITION,"STRING",["BOOLEAN","STRING"],qL),De(Ee.ADDITION,"STRING",["STRING","BOOLEAN"],QL)];function AL(e,t){return nt(e,t,(r,n)=>r+n,"number")}function NL(e,t){return nt(e,t,(r,n)=>r-n,"number")}function bL(e,t){return nt(e,t,(r,n)=>r*n,"number")}function OL(e,t){return nt(e,t,(r,n)=>n===0?null:r/n,"number")}function PL(e,t){return nt(e,t,(r,n)=>r&&n,"boolean")}function kL(e,t){return nt(e,t,(r,n)=>r||n,"boolean")}function LL(e,t){let r=yn(t,e[0]);return typeof r!="boolean"?Id(r,"boolean"):!r}function ML(e,t){return nt(e,t,(r,n)=>r===n,"number")}function _L(e,t){return nt(e,t,(r,n)=>r!==n,"number")}function DL(e,t){return nt(e,t,(r,n)=>r===n,"boolean")}function BL(e,t){return nt(e,t,(r,n)=>r!==n,"boolean")}function FL(e,t){return nt(e,t,(r,n)=>r===n,"string")}function VL(e,t){return nt(e,t,(r,n)=>r!==n,"string")}function zL(e,t){return nt(e,t,(r,n)=>r<n,"number")}function WL(e,t){return nt(e,t,(r,n)=>r<=n,"number")}function UL(e,t){return nt(e,t,(r,n)=>r>n,"number")}function HL(e,t){return nt(e,t,(r,n)=>r>=n,"number")}function nv(e){return Math.ceil(e)===e?String(e):e.toFixed(2)}function GL(e,t){return ov(e,t,r=>nv(r),"number")}function $L(e,t){return ov(e,t,r=>String(r),"boolean")}function jL(e,t){return ov(e,t,r=>r,"string")}function YL(e,t){return nt(e,t,(r,n)=>r+n,"string")}function KL(e,t){return nt(e,t,(r,n)=>nv(r)+n,"number","string")}function XL(e,t){return nt(e,t,(r,n)=>r+nv(n),"string","number")}function qL(e,t){return nt(e,t,(r,n)=>String(r)+n,"boolean","string")}function QL(e,t){return nt(e,t,(r,n)=>r+String(n),"string","boolean")}function ov(e,t,r,n){let o=yn(t,e[0]);return typeof o!==n?Id(o,n):r(o)}function nt(e,t,r,n,o){let i=yn(t,e[0]),s=yn(t,e[1]);return typeof i!==n?Id(i,n):typeof s!==(o??n)?Id(s,o??n):r(i,s)}function Id(e,t){return console.warn("unexpected variable type",t,e),null}function ZL(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("r"in e)return"COLOR";if(e.type==="EXPRESSION"||e.type==="VARIABLE_ALIAS")return e.resolvedType||null}return null}function xa(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:hC(e.resolvedType)};case so.EXPRESSION:return{type:"EXPRESSION",value:{expressionFunction:e.value.expressionFunction,expressionArguments:e.value.expressionArguments.map(t=>xa(t))},resolvedType:hC(e.resolvedType)};default:return null}}function hC(e){return e===0?"BOOLEAN":e===1?"FLOAT":e===2?"STRING":e===3?"COLOR":null}var yC=O(M()),vC=O(iv());var JL="api/figment-proxy/monitor",eM="sites.runtime_error",tM="figweb",rM=100,nM=new Set(["preview","published"]),oM=async(e,t,r,n)=>{if(!e||e==="")return;let o=`${e}/${JL}`;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)}},iM=()=>/iPad/.test(navigator.userAgent)||/Mac/.test(navigator.userAgent)&&!/iPhone/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||!1,Nd;function sv(){if(Nd===void 0)try{Nd={...vC.default.detect(navigator.userAgent),isIpad:iM()}}catch{Nd=null}return Nd||null}var Ea=class{env;rateLimiter;_shouldReportErrors;reportingDomain;analyticsHeaders;userId;_cachedInfo;constructor({env:t,reportingDomain:r,rateLimiter:n,analyticsHeaders:o}){this.reportingDomain=r,this.env=t,this.rateLimiter=n,this.analyticsHeaders=o,this._shouldReportErrors=this.shouldReportErrors()}shouldReportErrors=()=>{if(!nM.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:eM,properties:{errorType:t.name,errorMessage:r?`[${r}]: ${t.message}`:t.message,stackTrace:t.stack||"",environment:this.env,...this.getBrowserInfoProps()},timestamp:n,sentAt:n,context:this.getContext()},i={namespace:tM,batched:"1"};this.userId&&(o.userId=this.userId);let s=[{data:o,figment_metadata:i}];oM(this.reportingDomain,s,this.analyticsHeaders)};getBrowserInfoProps=()=>
9{if(!this._cachedInfo)try{let t=sv();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 Ea(t);this._errorQueue.length;)this.reportError(Ea._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<rM&&this._errorQueue.push(t)}},Qe=Ea;Tr(Qe,"enabled",!1),Tr(Qe,"_ErrorReporter"),Tr(Qe,"_errorQueue",[]),Tr(Qe,"enable",()=>Ea.enabled=!0),Tr(Qe,"disable",()=>Ea.enabled=!1);function SC(e){let t=Ow(fe(e.siteSettings).labs);(0,yC.useEffect)(()=>{t?Qe.enable():Qe.disable()},[t])}var ao=(e,t)=>r=>{try{e(r)}catch(n){throw Qe.reportError(n,t),n instanceof J?new Error(n.message,n):n}},Ta=(e,t)=>r=>{try{e(r)}catch(n){throw Qe.reportError(n,t),n instanceof J?new Error(n.message,n):n}};var bd=new Map,Od=new Map;function Ku(e){let t=bd.get(e);if(t)return Promise.resolve(t);let r=Od.get(e);if(r)return r.promise;let n=()=>{},o=new Promise(i=>n=i);return Od.set(e,{resolve:n,promise:o}),o}function av(e,t){if(bd.has(e))return;bd.set(e,t);let r=Od.get(e)?.resolve;r&&(r(t),Od.delete(e))}function lv(e){bd.delete(e)}function uv(){return document.documentElement}function cv(){return document.body}function xC(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 EC(e){if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;let t=getComputedStyle(e);return t.overflowX==="auto"||t.overflowX==="scroll"}function TC(e){if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;let t=getComputedStyle(e);return t.overflowY==="auto"||t.overflowY==="scroll"}function wC(e){let t=e.parentElement;for(;t&&t!==document.documentElement;){if(xC(t))return t;t=t.parentElement}return cv()}function fv(e){let t=e.parentElement;for(;t&&t!==document.body;){if(xC(t))return t;t=t.parentElement}return uv()}var sM=!1,dv=()=>!1,Xu=()=>{if(dv())return{ease:()=>.5,onAnimationComplete:()=>{}}},aM=["transitionToVisible","transitionToExit","transitionToAndFromHover","transitionToAndFromPress","transitionToAndFromFocus","transitionBasedOnScrollDirection","scrollTransformTransition"],CC=e=>{let t=Xu();if(!t)return;let r={ease:t.ease,duration:1e4};aM.forEach(n=>{n in e&&e[n]!==void 0&&(e[n]=r)})};var AH=O(M());var ri=O(M());function lM(e){return e!=null}function mv(e){return Math.round(e*255)}function uM(e){return e.toFixed(2)}function cM(e){return`${ls(e.r)}${ls(e.g)}${ls(e.b)}`}function fM(e,t=1){let{r,g:n,b:o,a:i=1}=e;return`${ls(r)}${ls(n)}${ls(o)}${ls(i*t)}`}function dM(e,t=1){let{r,g:n,b:o,a:i=1}=e;return`rgba(${mv(r)}, ${mv(n)}, ${mv(o)}, ${uM(i*t)})`}function RC(e){let t=e.a;return lM(t)&&t!==1}function ls(e){return("00"+Math.round(e*255).toString(16).toUpperCase()).slice(-2)}function mM(e,t=1){if(!RC(e)&&t===1){let r=cM(e);return r[0]===r[1]&&r[2]===r[3]&&r[4]===r[5]?`#${r[0]}${r[2]}${r[4]}`:`#${r}`}else{let r=fM(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 $r=class IC{color;opacity;colorManagement;constructor(t,r=1,n=vt){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 IC(this.color,this.opacity,this.colorManagement)}get value(){return RC(this.color)||this.opacity!==1?dM(this.color,this.opacity):mM(this.color)}equals(t){return this.value===t.value}};function NC(e,t,r){return e+(t-e)*r}function AC(e){let{a:t,...r}=e;return{alpha:t,color:r}}function yv(e,t,r){return Object.keys(e).reduce((n,o)=>(n[o]=NC(e[o],t[o],r),n),{})}function pM(e,t){return Math.sqrt(((e.r-t.r)**2+(e.b-t.b)**2+(e.g-t.g)**2)/3)}function qu(e,t){return Object.keys(e).reduce((r,n)=>(r[n]=e[n]*t,r),{})}function pv(e){return e**2.2}function hv(e){return e**(1/2.2)}function Pd(e){return{r:pv(e.r),g:pv(e.g),b:pv(e.b),a:e.a}}function bC(e){return{r:hv(e.r),g:hv(e.g),b:hv(e.b),a:e.a}}function kd(e,t,r){let n=Pd(e),o=Pd(t),{alpha:i,color:s}=AC(n),{alpha:l,color:a}
9=AC(o),u=qu(s,i),c=qu(a,l),f=NC(i,l,r),d=qu(yv(u,c,r),1/(f||1)),m={r:d.r,g:d.g,b:d.b,a:f};return bC(m)}function wa(e,t,r){let n=Pd(e),o=Pd(t),i=yv(n,o,r);return bC(i)}function lo(e,t,r){return yv(e,t,r)}function gv(e){let{stop1:t,stop2:r,...n}=e,o=n.targetInterpolation(t.color,r.color,.5),{a:i,...s}=o,{a:l,...a}=n.actualInterpolation(t.color,r.color,.5);if(n.recursionLimit===0||pM(qu(s,i),qu(a,l))<=n.epsilon)return[t,r];let u=(t.position+r.position)/2,c={color:o,position:u},f=gv({...n,stop1:t,stop2:c,recursionLimit:n.recursionLimit-1}),d=gv({...n,stop1:c,stop2:r,recursionLimit:n.recursionLimit-1});return[...f,...d.slice(1)]}function uo(e){let{stops:t,epsilon:r,recursionLimit:n,targetInterpolation:o,actualInterpolation:i}=e,s=[];for(let l=0;l<t.length-1;l++){let a=t[l],u=t[l+1],c=Math.abs(a.position-u.position)<1e-8?[a,u]:gv({stop1:a,stop2:u,epsilon:r,recursionLimit:n,targetInterpolation:o,actualInterpolation:i});l!==0&&c.shift(),s.push(...c)}return s}function ei(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 Ca(e){return e.map(t=>{let{color:{r,g:n,b:o,a:i},position:s}=t,l=Math.round(r*255),a=Math.round(n*255),u=Math.round(o*255),c=he(i),f=he(s);return`
10    <stop stop-color="rgba(${l},${a},${u},${c})" offset="${f}" />
11    `}).join("")}function hM(e){let{color:{r:t,g:r,b:n,a:o}}=e,i=Math.round(t*255),s=Math.round(r*255),l=Math.round(n*255),a=he(o),u=he(e.position*100);return`rgba(${i}, ${s}, ${l}, ${a}) ${u}%`}function Ld(e){return e.map(hM).join(", ")}var Et=10;function co(e){let{size:t,gradientTransform:r}=e,n=qe.identity();n.scale(Et,Et),n.scale(2,2),n.translate(-.5,-.5);let o=qe.copy(n);o.invert();let i=qe.fromArray(r);i.invert();let s=qe.copy(i);s.multiply(o);let l=qe.copy(s);l.invert();let a=qe.identity();return a.scale(t.width,t.height),a.multiply(s),{uvToUnitGradient:l,unitGradientToShape:a}}function Md(e){return[new _(0,0),new _(Et,0),new _(Et,Et),new _(0,Et)].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 OC(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 Qu=class PC{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 PC({gradientTransform:qe.identity().toMatrix(),gradientStops:[{color:n,position:0},{color:n,position:1}]},vt,{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}=co({size:this.size,gradientTransform:this.paint.gradientTransform}),r={origin:t.transformPoint(new _(-Et,0)),primary:t.transformPoint(new _(Et,0)),secondary:t.transformPoint(new _(-Et,Et))},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=OC(s,[i.start,i.end]);let l=i.end.minus(i.start).toAngle()*(180/Math.PI),a=this.paint.gradientStops.map(c=>{let f=r.origin.add(r.primary.minus(r.origin).multiplyBy(c.position)),m=OC(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(m)}}),u=a;return this.shouldExpandGradient&&(u=uo({stops:a.map(c=>({...c})),epsilon:.01,recursionLimit:5,targetInterpolation:lo,actualInterpolation:kd}).map(c=>({...c,position:re(c.position)}))),`linear-gradient(${l+90}deg, ${Ld(u)})`}get valueAsSvg(){let{unitGradientToShape:t}=co({size:this.size,gradientTransform:this.paint.gradientTransform}),r=uo({stops:this.paint.gradientStops.map(o=>({...o})),epsilon:.01,recursionLimit:5,targetInterpolation:lo,actualInterpolation:wa}).map(o=>({...o,position:re(o.position)})),n=`
12    <svg viewBox='0 0 ${he(this.size.width)} ${he(this.size.height)}' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'>
13      <rect x='0' y='0' height='100%' width='100%' fill='url(#grad)' opacity='${this.paint.opacity??1}' />
14      <defs>
15        <linearGradient id='grad' gradientUnits='userSpaceOnUse' x1='${-Et}' x2='${Et}' y1='0' y2='0' gradientTransform='${t.toSvgTransform()}'>
16          ${Ca(r)}
17        </linearGradient>
18      </defs>
19    </svg>
20    `;return ei(n)}get value(){return this.serializationFormat===io.SVG?this.valueAsSvg:this.valueAsCss}equals(t){return this.value===t.value}};function gM(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 yM(e){let t=uo({stops:gM(e.gradientStops),epsilon:.01,recursionLimit:5,targetInterpolation:lo,actualInterpolation:kd});return`
21    <div
22      xmlns='http://www.w3.org/1999/xhtml'
23      style='
24        background-image: conic-gradient(
25          from 90deg,
26          ${Ld(t)}
27        );
28        opacity:${e.opacity??1};
29        height: 100%;
30        width: 100%;
31      '></div>
32  `}function vM(e){let{size:t,paint:r}=e,{uvToUnitGradient:n,unitGradientToShape:o}=co({size:t,gradientTransform:r.gradientTransform}),i=Md(n),s=Math.max(i.x,i.y);return`
33    <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 ${he(t.width)} ${he(t.height)}' preserveAspectRatio='none'>
34      <g transform='${o.toSvgTransform()}'>
35        <foreignObject x='${he(-s)}' y='${he(-s)}' width='${he(2*s)}' height='${he(2*s)}'>
36          ${yM(r)}
37        </foreignObject>
38      </g>
39    </svg>
40    `}var _d=class{paint;size;constructor(t,r=vt,n){this.paint=t,this.size=n}get value(){let t=vM({size:this.size,paint:this.paint});return ei(t)}equals(t){return this.value===t.value}};var Dd=class{paint;size;constructor(t,r=vt,n){this.paint=t,this.size=n}get value(){let t=uo({stops:this.paint.gradientStops.map(o=>({...o})),epsilon:.01,recursionLimit:5,targetInterpolation:lo,actualInterpolation:wa}),{unitGradientToShape:r}=co({size:this.size,gradientTransform:this.paint.gradientTransform}),n=`
41    <svg viewBox='0 0 ${he(this.size.width)} ${he(this.size.height)}' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'>
42      <rect x='0' y='0' height='100%' width='100%' fill='url(#grad)' opacity='${this.paint.opacity??1}' />
43      <defs>
44        <radialGradient id='grad' gradientUnits='userSpaceOnUse' cx='0' cy='0' r='${Et}' gradientTransform='${r.toSvgTransform()}'>
45          ${Ca(t)}
46        </radialGradient>
47      </defs>
48    </svg>
49    `;return ei(n)}equals(t){return this.value===t.value}};function SM(e){let{size:t,paint:r}=e,n=uo({stops:r.gradientStops.map(l=>({...l})),epsilon:.01,recursionLimit:5,targetInterpolation:lo,actualInterpolation:wa}),{uvToUnitGradient:o,unitGradientToShape:i}=co({size:t,gradientTransform:r.gradientTransform}),s=Md(o);return`
50    <svg viewBox='0 0 ${he(t.width)} ${he(t.height)}' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'>
51      <g transform='${i.toSvgTransform()}' opacity='${r.opacity??1}'>
52        <rect height='${he(s.y)}' width='${he(s.x)}' fill='url(#grad)' id='quad' shape-rendering='crispEdges' />
53        <use href='#quad' transform='scale(1 -1)' />
54        <use href='#quad' transform='scale(-1 1)' />
55        <use href='#quad' transform='scale(-1 -1)' />
56      </g>
57      <defs>
58        <linearGradient id='grad' gradientUnits='userSpaceOnUse' x2='${.5*Et}' y2='${.5*Et}'>
59          ${Ca(n)}
60        </linearGradient>
61      </defs>
62    </svg>
63    `}var Bd=class{paint;size;constructor(t,r=vt,n){this.size=n,this.paint=t}get value(){let t=SM({size:this.size,paint:this.paint});return ei(t)}equals(t){return this.value===t.value}};function Zu(e){return e.length===1?e[0]:e.reduceRight((t,r)=>
63{let n=r.color,o=t.color,i=r.opacity,s=t.opacity,l=i*(1-s),a=l+s,u=l/a,c=s/a;return new $r({r:n.r*u+o.r*c,g:n.g*u+o.g*c,b:n.b*u+o.b*c},a)})}var vv={[Ve.NORMAL]:void 0,[Ve.PASS_THROUGH]:void 0,[Ve.DARKEN]:"darken",[Ve.MULTIPLY]:"multiply",[Ve.LINEAR_BURN]:void 0,[Ve.COLOR_BURN]:"color-burn",[Ve.LIGHTEN]:"lighten",[Ve.SCREEN]:"screen",[Ve.LINEAR_DODGE]:"plus-lighter",[Ve.COLOR_DODGE]:"color-dodge",[Ve.OVERLAY]:"overlay",[Ve.SOFT_LIGHT]:"soft-light",[Ve.HARD_LIGHT]:"hard-light",[Ve.DIFFERENCE]:"difference",[Ve.EXCLUSION]:"exclusion",[Ve.HUE]:"hue",[Ve.SATURATION]:"saturation",[Ve.COLOR]:"color",[Ve.LUMINOSITY]:"luminosity"};function jr(e){return e?{mixBlendMode:vv[e]}:{}}var xM=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(l=>l[i]);if(s.some(l=>l!==void 0)){let l=s.map(u=>u??r[i]),a=l.every(u=>u===l[0]);n[i]=a?l[0]:l.join(", ")}});let o=e.find(i=>i.backgroundColor)?.backgroundColor;return o!==void 0&&(n.backgroundColor=o),n},EM=(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 Fd(e=[],t,r,n){if(!e.length)return[];let o=[];return e.filter(s=>s.visible!==!1).forEach(s=>{let l=wM(s,t,r,n);if(!l)return;let a=s.blendMode&&vv[s.blendMode],u=TM(s),c={hasBlendMode:!!a,shouldOptimizeImage:n&&kC(l),uniqueTypes:new Set([s.type]),opacity:u},f=o[o.length-1],d=f?.comparator;!!f&&d&&EM(d,c)?(f.backgrounds.push(l),d.uniqueTypes.add(s.type)):o.push({backgrounds:[l],blendMode:a,opacity:u,comparator:c})}),o.map(({backgrounds:s,blendMode:l,opacity:a})=>{let u=n&&s.length===1&&kC(s[0]),c,f;if(u){let m=s[0].value;c=m.styles,f=m.imageProps}else{let m=s.reverse().map((g,S)=>{if(!(S===s.length-1)&&g instanceof $r&&(g=Qu.fromColor(g)),g instanceof Sv)return g.value.styles;if(g instanceof Qu||g instanceof Dd||g instanceof _d||g instanceof Bd)return{backgroundImage:g.value};if(g instanceof $r)return{backgroundColor:g.value};throw new J("Unsupported background type")});c=xM(m)}let d=!!f||a!==void 0;return l!==void 0&&(c.mixBlendMode=l),a!==void 0&&(c.opacity=a),{backgroundStyles:c,imageProps:f,needsBackgroundDiv:d}})}function TM(e){if(e.type==="IMAGE"&&e.opacity!==void 0&&e.opacity!==1)return e.opacity}function wM(e,t,r,n){let{type:o}=e,i=vt;if(o==="VIDEO")return null;if(o==="SOLID")return e.color?new $r(e.color,e.opacity,i):null;if(o==="IMAGE")return CM(e,t,n);if(Ed(e)){let{gradientStops:s,transform:l,opacity:a}=e,u={gradientTransform:l,gradientStops:s,opacity:a},c=Z.state?.compactDOM;switch(o){case"GRADIENT_LINEAR":return new Qu(u,i,r,c?io.CSS:io.SVG,!c);case"GRADIENT_RADIAL":return new Dd(u,i,r);case"GRADIENT_ANGULAR":return new _d(u,i,r);case"GRADIENT_DIAMOND":return new Bd(u,i,r);default:Te(o)}}throw new J(`Unknown paint type: ${o}`)}var Sv=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=Z.state.getAssetURL,s={backgroundImage:`url(${o(r.url)})`,backgroundRepeat:"no-repeat"},l;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:a}=t;if(!a)s.backgroundSize="100% 100%",s.backgroundPosition="bottom";else{let c=1/a[0][0],f=1/a[1][1];if(n){let d=-a[0][2]/a[0][0];l={topPercent:-a[1][2]/a[1][1],leftPercent:d,widthPercent:c,heightPercent:f}}else{s.backgroundSize=`${kn(c)} ${kn(f)}`;let d=a[0][0]===1?0:-a[0][2]/(a[0][0]-1),m=a[1][1]===1?0:-a[1][2]/(a[1][1]-1);s.backgroundPosition=`${kn(d)} ${kn(m)}`}}break}case"TILE":{let a=t.scalingFactor||1,u={width:r.size.x||100,height:r.size.y||100},c=u.width*a,f=u.height*a,d=`${c}px`,m=`${f}px`;if(n){let g=Math.min(u.width,c*3),S=`url(${o(r.url,{width:c})}) 1x`;for(let E=2;c*E<=g;E++)S+=`, url(${o(r.url,{width:c*E})}) ${E}x`;s.backgroundImage=`image-set(${S})`}s.backgroundSize=t.rotation%360===0||t.rotation%360===180?`${d} ${m}`:`${m} ${d}`,s.backgroundPosition="0% 0%",s.backgroundRepeat="repeat";break}default:Te(t.scaleMode)}if(this.canOptimize()){let a={url:r.url,size:r.size,cropDivInfo:l},{backgroundImage:u,backgroundRepeat:c,backgroundSize:f,backgroundPosition:d,...m}=s;return{styles:{objectFit:f,objectPosition:d,...m},imageProps:a}}return{styles:s}}};function xv(e){return e.gifRef||e.imageRef}var CM=(e,t,r)=>{let n=t?.[xv(e)];return n.type,new Sv(e,n,r)},kC=e=>e instanceof Sv&&e.canOptimize();function LC(e,t,r,n){let o=e.collectionById[t];Se(o!==void 0,`collection with id ${t} not found in CMS Data State`);let i=o.itemById[r];Se(i!==void 0,`item with id ${r} not found in CMS Collection ${o.id}`);let s=new Map;i.fields.forEach(a=>{s.set(a.fieldSchemaId,a)});let l=o.fieldSchemas.find(a=>a.type==="slug")?.id;return Se(l!==void 0,`slug field for item id ${r} not found in CMS Collection ${o.id}`),{item:i,fieldsBySchemaId:s,slugFieldSchemaId:l,guidToUrl:n}}function Ju(e,t){let r=e.fieldsBySchemaId.get(t.fieldSchemaId);return Se(r!==void 0,`field with fieldSchemaId ${t.fieldSchemaId} not found in CMS Item ${e.item.id}`),r.value}function MC(e,t){return e.slugFieldSchemaId===t.fieldSchemaId}function RM(e,t){Se(e!==null,"GUID should not be null");let r=xt(e),n=t.get(r);return Se(n!==void 0,`url not in map for GUID ${r}`),Se(n?.length>0,`url empty for GUID ${r}`),n}function _C(e,t){let r=JSON.parse(e),n=r.guid?RM(r.guid,t):r.url;Se(n!==void 0,"url is undefined");let o=r.guid?"NODE":"URL";return{url:n,type:o,openInNewTab:r.openInNewTab}}function DC(e,t){return{url:`${t}/${e}`,type:"NODE",openInNewTab:!1}}function Ev(e){let t={url:e.url,type:e.type};return e.openInNewTab!==void 0&&(t.openInNewTab=e.openInNewTab),t}function BC(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 Tv(e,t,r){let n=Ju(e,t);return MC(e,t)?(Se(r!==void 0,`baseUrl is undefined for slug field binding on item ${e.item.id}`),DC(n,r)):_C(n,e.guidToUrl)}function IM(e,t,r){let n=!1;if(r.characters&&(e.type==="TEXT"?(e.characters=Ju(t,r.characters),n=!0):console.warn(`text binding unsupported for ${e.type} node ${e.id}`)),r.hyperlink)if(e.type==="TEXT"){let o=Tv(t,r.hyperlink,e.style.hyperlink?.nodeID);e.style.hyperlink=Ev(o),n=!0}else console.warn(`hyperlink binding unsupported for ${e.type} node ${e.id}`);return r.richText&&(e.type==="CMS_RICH_TEXT"?(e.richText=Ju(t,r.richText),n=!0):console.warn(`rich text binding unsupported for ${e.type} node ${e.id}`)),n}function AM(e,t,r){if(Object.entries(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 l=Tv(t,i.hyperlink,s.hyperlink?.nodeID);s.hyperlink=Ev(l),n=!0}}return n}function NM(e,t,r){if(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 l=s.linkParam?.value;if(!l||!("fieldSchemaId"in l))continue;let a=l.fieldSchemaId;if(a){for(let u of r)if(a===u.boundVariables.hyperlink?.fieldSchemaId){let c=Tv(t,u.boun
63dVariables.hyperlink,s.connectionURL);Object.assign(s,BC(c)),n=!0}}}return n}function bM(e,t,r){if(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 l=Ju(t,o.boundVariables.image),a=JSON.parse(l);s.imageRef=a.image,e.accessibleLabel=a.altText,n=!0}}return n}function OM(e){return["FRAME","INSTANCE","RECTANGLE","TEXT","CMS_RICH_TEXT"].includes(e)}function FC(e,t,r){if(!OM(e.type)||!t||!("cmsItemFieldBindingProperties"in e)||!e.cmsItemFieldBindingProperties)return!1;let{collectionId:n,itemId:o,boundCmsVariables:i,styleOverrideTableBoundCmsVariables:s,interactionsBoundCmsVariables:l,fillPaintsBoundCmsVariables:a}=e.cmsItemFieldBindingProperties,u=LC(t,n,o,r),c=!1;return i&&IM(e,u,i)&&(c=!0),s&&AM(e,u,s)&&(c=!0),l&&NM(e,u,l)&&(c=!0),a&&bM(e,u,a)&&(c=!0),c}var Yr=O(M());var wv=()=>{},VC=e=>{wv=e},Vd=(e,t)=>{wv&&wv(e,t)};var ec=(0,Yr.createContext)({reportError:ga,setMaterializationError:ga});function zC({children:e,reportError:t}){let r=(0,Yr.useRef)({map:new Map,updatedSinceLastRender:!1});(0,Yr.useEffect)(()=>{let i=setInterval(()=>{r.current.updatedSinceLastRender&&(Vd("updateMaterializationErrors",{errors:Array.from(r.current.map.values())}),r.current.updatedSinceLastRender=!1)},100);return()=>clearInterval(i)},[r]);let n=(0,Yr.useCallback)((i,s)=>{let l=r.current;s&&s.errorMessage?(console.error(`New error in ${s.nodeName} (${s.nodeId})`,s.errorMessage),l.map.set(i,s),l.updatedSinceLastRender=!0):l.map.has(i)&&(l.map.delete(i),l.updatedSinceLastRender=!0)},[r]),o=(0,Yr.useMemo)(()=>({reportError:t,setMaterializationError:n}),[t,n]);return Yr.default.createElement(ec.Provider,{value:o},e)}var Cv=O(M());var vU=O(M()),q;(function(e){e.LAYOUT="layout",e.INSTANCE_SUBTREE="instanceSubtree",e.NONE="none"})(q||(q={}));function WC(e){let{background:t,backgroundColor:r,backgroundImage:n,backgroundPosition:o,backgroundSize:i,border:s,borderBottom:l,borderBottomColor:a,borderBottomLeftRadius:u,borderBottomRightRadius:c,borderBottomWidth:f,borderColor:d,borderEndEndRadius:m,borderEndStartRadius:g,borderLeft:S,borderLeftColor:E,borderLeftWidth:h,borderRadius:p,borderRight:y,borderRightColor:v,borderRightWidth:x,borderStartEndRadius:T,borderStartStartRadius:w,borderStyle:I,borderTop:A,borderTopColor:C,borderTopLeftRadius:N,borderTopRightRadius:b,borderTopWidth:L,borderWidth:D,boxShadow:R,caretColor:W,clipPath:k,color:V,filter:H,font:ee,fontSize:me,fontSizeAdjust:ke,fontStretch:Y,fontWeight:ce,fontVariationSettings:we,letterSpacing:K,lineHeight:Ce,opacity:Ie,outline:le,outlineColor:Ae,outlineWidth:Ye,textDecoration:te,textDecorationColor:Ke,textDecorationThickness:bt,textEmphasis:tt,textEmphasisColor:Ue,textShadow:st,visibility:xr,wordSpacing:Wt,...ht}=e;return{motionStyles:{background:t,backgroundColor:r,backgroundImage:n,backgroundPosition:o,backgroundSize:i,border:s,borderBottom:l,borderBottomColor:a,borderBottomLeftRadius:u,borderBottomRightRadius:c,borderBottomWidth:f,borderColor:d,borderEndEndRadius:m,borderEndStartRadius:g,borderLeft:S,borderLeftColor:E,borderLeftWidth:h,borderRadius:p,borderRight:y,borderRightColor:v,borderRightWidth:x,borderStartEndRadius:T,borderStartStartRadius:w,borderStyle:I,borderTop:A,borderTopColor:C,borderTopLeftRadius:N,borderTopRightRadius:b,borderTopWidth:L,borderWidth:D,boxShadow:R,caretColor:W,clipPath:k,color:V,filter:H,font:ee,fontSize:me,fontSizeAdjust:ke,fontStretch:Y,fontWeight:ce,fontVariationSettings:we,letterSpacing:K,lineHeight:Ce,opacity:Ie,outline:le,outlineColor:Ae,outlineWidth:Ye,textDecoration:te,textDecorationColor:Ke,textDecorationThickness:bt,textEmphasis:tt,textEmphasisColor:Ue,textShadow:st,visibility:xr,wordSpacing:Wt},cssStyles:ht}}var Rv=-1,Kr=(e,t,r,n,o,i)=>{if(e===q.NONE)return{motionTransitionProps:void 0,cssStyles:r};let s=e===q.INSTANCE_SUBTREE,{motionStyles:l,cssStyles:a}=s?WC(r):{motionStyles:{},cssStyles:r},u=UC(l),{correctlyTypedStyles:c,incorrectlyTypedStyles:f}=HC(u),d=s?{[ne.VISIBLE_SMART_ANIMATE]:g=>Ra(c,t,g,o),[ne.HIDDEN_SMART_ANIMATE]:g=>Ra(c,0,g,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:{...a,...f}}};function Ra(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 UC(e){let t,r={...e};for(t in r){let n=r[t];n==null&&delete r[t]}return r}function HC(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 Kt(e,t,r,n){return e!==q.NONE?{layout:n?"position":!0,layoutDependency:t?.
63id??Rv,transformTemplate:r?zd(r):void 0}:void 0}function GC(e,t){return{mode:"popLayout",custom:e,onExitComplete:t}}function Xt(e){return Cv.default.useCallback(()=>{e?.layout||e?.onTransitionEnd(e?.id)},[e])}function $C(e,t,r,n,o){if(n)return q.NONE;let i=o?.smartAnimateType??q.NONE;return e?q.INSTANCE_SUBTREE:i!==q.NONE?i:t||r?q.LAYOUT:q.NONE}var Ia=(e,t)=>e===q.INSTANCE_SUBTREE&&t,jC=(e,t,r,n)=>{let o=UC(e),{correctlyTypedStyles:i}=HC(o),s={[ne.VISIBLE_SMART_ANIMATE]:a=>Ra(i,1,a,r),[ne.HIDDEN_SMART_ANIMATE]:a=>Ra({},0,a,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:{}}},YC=(e,t,r)=>{if(e===q.NONE)return{motionTransitionProps:void 0,cssStyles:{}};let n=e===q.INSTANCE_SUBTREE,o={[ne.VISIBLE_SMART_ANIMATE]:s=>Ra({},1,s,t),[ne.HIDDEN_SMART_ANIMATE]:s=>Ra({},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 Aa(){return Cv.default.useRef(0)}var us=O(M());function Na(e,t){let r=e?.[t];return Se(r!==void 0,`Node asset with hash ${t} not found in used assets`),r}function PM(){let e=sv();return e?e.mobile||e.tablet||e.isIpad:!1}var QC=({ref:e,hasCursorBehavior:t,assets:r,behaviors:n})=>{PM()&&(t=!1);let o=(0,us.useMemo)(()=>kM(t),[t]),i=(0,us.useCallback)((s,l)=>{let{imageUrl:a,imageSize:u}=qC(n,r);s.style.backgroundImage=`url("${a}")`,u&&(s.style.width=`${u.x}px`,s.style.height=`${u.y}px`),s.style.visibility="visible",l.style.cursor="none"},[n,r]);(0,us.useEffect)(()=>{e.current&&KC(e.current.id)&&o&&i(o,e.current)},[e,o,i]),(0,us.useEffect)(()=>{if(!e.current||!o||!t||!n?.cursor)return;let{imageUrl:s,imageSize:l}=qC(n,r);if(!s||!l)return;let a=e.current,u=n.cursor.hotspotX,c=n.cursor.hotspotY,f=Ta(S=>{a&&(XC(a.id),i(o,a),o.style.transform=`translate(${S.clientX-u}px, ${S.clientY-c}px)`)},"showCursor"),d=Ta(S=>{a&&(Iv()===null&&f(S),KC(a.id)&&(o.style.transform=`translate(${S.clientX-u}px, ${S.clientY-c}px)`))},"moveCursor"),m=Ta(()=>{o&&(XC(null),requestAnimationFrame(g))},"hideCursor"),g=()=>{o&&Iv()===null&&(o.style.visibility="hidden",a.style.cursor="auto")};return a.addEventListener("pointerenter",f),a.addEventListener("pointermove",d),a.addEventListener("pointerleave",m),()=>{a.removeEventListener("pointerenter",f),a.removeEventListener("pointermove",d),a.removeEventListener("pointerleave",m),m(new PointerEvent("pointerleave"))}},[t,n?.cursor,o,e,i,n,r])},ZC="sites-cursor-element",kM=e=>{if(!e||typeof document>"u")return null;let t=document.getElementById(ZC);return t||LM()},LM=()=>{let e=document.createElement("div");return document.body.appendChild(e),e.id=ZC,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},KC=e=>Iv()===e,XC=e=>{Q().set(ev,e)},Iv=()=>Q().get(ev);function qC(e,t){let r=Av(e);if(r){let n=Na(t,r);return{imageUrl:Z.state?.getAssetURL(n.url),imageSize:n.size}}return{imageUrl:void 0,imageSize:void 0}}function Av(e){return e?.cursor?.cursorFileName?.split(".")[0]}function JC(e,t,r,n){let o=t,i=(l,a)=>r.evaluateVariable(e,l.id,n)??a;if(MM(o,i),!("boundVariables"in t&&t.boundVariables))return;let s=t.boundVariables;s.opacity&&(o.opacity=i(s.opacity,o.opacity)/100),s.size&&o.size&&(s.size.x&&(o.size.x=i(s.size.x,o.size.x)),s.size.y&&(o.size.y=i(s.size.y,o.size.y))),s.visible&&(o.visible=i(s.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]),s.rectangleCornerRadii&&(s.rectangleCornerRadii.RECTANGLE_TOP_LEFT_CORNER_RADIUS&&(o.rectangleCornerRadii[0]=i(s.rectangleCornerRadii.RECTANGLE_TOP_LEFT_CORNER_RADIUS,o.rectangleCornerRadii[0]),o.rectangleCornerRadiiIndependent=!0),s.rectangleCornerRadii.RECTANGLE_TOP_RIGHT_CORNER_RADIUS&&(o.rectangleCornerRadii[1]=i(s.rectangleCornerRadii.RECTANGLE_TOP_RIGHT_CORNER_RADIUS,o.rectangleCornerRadii[1]),o.rectangleCornerRadiiIndependent=!0),s.rectangleCornerRadii.RECTANGLE_BOTTOM_RIGHT_CORNER_RADIUS&&(o.rectangleCornerRadii[2]=i(s.rectangleCornerRadii.RECTANGLE_BOTTOM_RIGHT_CORNER_RADIUS,o.rectangleCornerRadii[2]),o.rectangleCornerRadiiIndependent=!0),s.rectangleCornerRadii.RECTANGLE_BOTTOM_LEFT_CORNER_RADIUS&&(o.rectangleCornerRadii[3]=i(s.rectangleCornerRadii.RECTANGLE_BOTTOM_LEFT_CORNER_RADIUS,o.rectangleCornerRadii[3]),o.rectangleCornerRadiiIndependent=!0)),s.minWidth&&(o.minWidth=i(s.minWidth,o.minWidth)),s.maxWidth&&(o.maxWidth=i(s.maxWidth,o.maxWidth)),s.minHeight&&(o.minHeight=i(s.minHeight,o.minHeight)),s.maxHeight&&(o.maxHeight=i(s.maxHeight,o.maxHeight)),s.itemSpacing&&(o.itemSpacing=i(s.itemSpacing,o.itemSpacing)),s.paddingLeft&&(o.paddingLeft=i(s.paddingLeft,o.paddingLeft)),s.paddingRight&&(o.paddingRight=i(s.paddingRight,o.paddingRight)),s.paddingTop&&(o.paddingTop=i(s.paddingTop,o.paddingTop)),s.paddingBottom&&(o.paddingBottom=i(s.paddingBottom,o.paddingBottom)),s.counterAxisSpacing&&(o.counterAxisSpacing=i(s.counterAxisSpacing,o.counterAxisSpacing)),s.characters&&(o.characters=i(s.characters,o.characters)?.toString()),s.individualStrokeWeights&&(o.individualStrokeWeights===void 0&&(o.individualStrokeWeights={top:0,right:0,bottom:0,left:0}),s.individualStrokeWeights.BORDER_BOTTOM_WEIGHT&&(o.individualStrokeWeights.bottom=i(s.individualStrokeWeights.BORDER_BOTTOM_WEIGHT,o.individualStrokeWeights.bottom)),s.individualStrokeWeights.BORDER_LEFT_WEIGHT&&(o.individualStrokeWeights.left=i(s.individualStrokeWeights.BORDER_LEFT_WEIGHT,o.individualStrokeWeights.left)),s.individualStrokeWeights.BORDER_RIGHT_WEIGHT&&(o.individualStrokeWeights.right=i(s.individualStrokeWeights.BORDER_RIGHT_WEIGHT,o.individualStrokeWeights.right)),s.individualStrokeWeights.BORDER_TOP_WEIGHT&&(o.individualStrokeWeights.top=i(s.individualStrokeWeights.BORDER_TOP_WEIGHT,o.individualStrokeWeights.top)))}function MM(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))}
63if(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))}}function ba(e){return e.strokes!==void 0&&e.strokes.length>0}function eR(e,t){if(!(t&&"strokesIncludedInLayout"in t&&t.strokesIncludedInLayout))return{};let{top:r,right:n,bottom:o,left:i}=tc(e);return{borderLeftWidth:i,borderRightWidth:n,borderTopWidth:r,borderBottomWidth:o,borderColor:"transparent",borderStyle:"solid",boxSizing:"border-box",backgroundClip:"padding-box"}}function Wd(e,t){if(!(e.type==="FRAME"||e.type==="RECTANGLE")||!(t&&"strokesIncludedInLayout"in t&&t.strokesIncludedInLayout))return 0;let n=tc(e);return n.left+n.right}function Ud(e,t){if(!(e.type==="FRAME"||e.type==="RECTANGLE")||!(t&&"strokesIncludedInLayout"in t&&t.strokesIncludedInLayout))return 0;let n=tc(e);return n.top+n.bottom}function tc(e){let t={top:0,right:0,bottom:0,left:0},r=Hd(e);if(!ba(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 tR(e){let t={top:0,right:0,bottom:0,left:0};if(!ba(e))return t;let r=Hd(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 Gd(e=[]){let t=e.map(r=>{if(r.visible!==!1&&r.type!=="IMAGE"&&r.type!=="VIDEO"){if(r.type==="SOLID")return r;if(Ed(r))return r.gradientStops[0].color}}).filter(Boolean);if(t.length!==0)return Zu(t.map(r=>new $r("color"in r?r.color:r,"opacity"in r?r.opacity:1,vt))).value}function Nv(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 rR(e,t,r){let n=Nv(e),o=tc(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=Gd(e.strokes),l=Hd(e),a=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:l.top,borderBottomWidth:l.bottom,borderLeftWidth:l.left,borderRightWidth:l.right,top:a||re(o.top)===0?0:-1*o.top,left:a||re(o.left)===0?0:-1*o.left,right:a||re(o.right)===0?0:-1*o.right,bottom:a||re(o.bottom)===0?0:-1*o.bottom,overflow:"visible"}}function Hd(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 $d(e){return`rgba(${e.r*255}, ${e.g*255}, ${e.b*255}, ${e.a})`}var _M=["ON_CLICK","ON_PRESS","MOUSE_DOWN","MOUSE_UP"];function ti(e){let t=e.interactions??[];for(let r of t)if(_M.find(n=>n===r.event?.interactionType))return{cursor:"pointer"};return{}}var bv="data-breakpoint",Ov="breakpoint-css",jd="data-breakpoint-id";function DM(e,t,r){return t.map(n=>
63r.get(n)).filter(Boolean).map(n=>e(n)).filter(n=>n&&n.visible!==!1)}function nR(e,t,r,n){let o=e(Ln),i=DM(e,t,r);if(n==="server")return i.sort((c,f)=>c.size.x-f.size.x).map(c=>c.id);let l=i.filter(c=>c.type==="FRAME"),a=Pv(l),u=BM(a,o);return u?[u.nodeId]:[]}function Pv(e){let t={breakpoints:[]};for(let r of e){let n="white";r.fills.every(s=>s.type==="SOLID")&&(n=Gd(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 BM(e,t){let{breakpoints:r}=e;return t?r.find(n=>n.width<=t)??r[r.length-1]:r[0]}function oR(){let e=document.querySelectorAll(`[${bv}]`);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(`#${Ov}`);if(e.length>1&&!t){console.error("No breakpoint css style tag found during hydration.");return}t&&t.remove()}function iR(e,t,r){let n={...Gu(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 FM)o in e?n[o]=e[o]:delete n[o];return n}var FM=["constraints","constraintValues","layoutAlign","layoutGrow","gridColumnAnchorIndex","gridRowAnchorIndex","gridColumnSpan","gridRowSpan","layoutPositioning","relativeTransform","overrides","absoluteBoundingBox","isolatedAbsoluteRenderBounds","visible","scrollBehavior","maybeAnimateRotation"];function sR(e,t,r,n,o,i){let s=t.mainComponentId,l,a=t.componentPropertyReferences?.mainComponent;if(a&&i?.[a])s=i[a].value;else if(t.componentSetId){l=e(r.get(t.componentSetId));let f=o.instanceState.backingComponentId.get(e,n);if(f)s=f;else if(t.componentProperties&&l.type==="COMPONENT_SET"){let d=l.children.map(S=>e(r.get(S))),m=Object.entries(l.componentPropertyDefinitions??{}).map(([S,E])=>{if(E.type!=="VARIANT")return;let h=t.componentProperties[S];if(!h){console.warn("missing component property on instance");return}let p=h.type==="TEXT"?h.value.characters:h.value,{boundVariables:y}=h,v=p;return y?.value&&(v=o.variableState.evaluateVariable(e,y.value.id,n)),v=E.variantOptions?.includes(v)?v:E.defaultValue,`${S}=${String(v)}`}).filter(Boolean).join(", "),g=d.find(S=>S.name===m);g&&(s=g.id)}}let u=e(r.get(s));return{componentSet:l,component:u}}function VM(e,t,r){if(!t.responsiveTextStyleVariants?.length)return!1;let n=t.responsiveTextStyleVariants.reduce((o,i)=>r>=i.minWidth&&(!o||i.minWidth>o.minWidth)?i:o,void 0);return n?(Object.assign(e.style,n.style),n.boundVariables&&(e.boundVariables||(e.boundVariables={}),Object.assign(e.boundVariables,n.boundVariables)),!0):!1}function aR(e,t,r,n,o){if(t.type!=="TEXT")return;let i=o??e(Ln)??1;if("styleIdForText"in t.style&&t.style.styleIdForText){let s=t.style.styleIdForText,l=n.get(s);if(l){let a=r.get(l),u=e(a);u.type==="STYLE"&&u.styleType==="TEXT"&&(Object.assign(t.style,u.style),VM(t,u,i))}}}function lR(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=zM(o);for(let[l,a]of Object.entries(t))if(l.startsWith(s)){e[n]=a.value;break}continue}let i=t[o];if(n==="characters")if(i.type==="TEXT")for(let[s,l]of Object.entries(i.value))e[s]=l;else e[n]=String(i.value);else e[n]=i.value}}function zM(e){let t=e.lastIndexOf("#");return e.slice(0,t+1)}function kv(e,t,r,n){return{...t,..."explicitVariableModes"in r?r.explicitVariableModes:{},...e(n.modeContextState)}}var WM=["minWidth","maxWidth","minHeight","maxHeight","itemSpacing","paddingLeft","paddingTop","paddingRight","paddingBottom","counterAxisSpacing","strokeWeight"];function Yd(e,t,r){if(t===1)return;let n=e;for(let o of WM)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)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&&
63(n.absoluteBoundingBox.width*=t,n.absoluteBoundingBox.height*=t)}function Kd(e){let t=de().env,r=(0,ri.useContext)(ec),n=(0,ri.useRef)(),o=n.current,i=new Map,s=e.map(f=>{let d=f.keyWithOverrides??f.key,m=o?o.get(d):void 0;return(!m||!_e(m.args,f))&&(m={args:f,value:UM(f,t,r)}),i.set(d,m),m.value}),l=ya(s,_e),a=(0,ri.useMemo)(()=>X(f=>{let d=l.map(f),m=[],g=[];return d.forEach(S=>{"errorMessage"in S?g.push(S):m.push(S)}),{nodes:m,errors:g}}),[l]),{nodes:u,errors:c}=fe(a);return(0,ri.useEffect)(()=>(c.forEach(f=>{r.setMaterializationError(f.nodeId,f)}),()=>{c.forEach(f=>{r.setMaterializationError(f.nodeId)})}),[c,r]),n.current=i,u}function UM(e,t,r){return X(n=>{try{let o=uR(e,n,t);if(n(ju)){let{interactionHandlers:s,materializedChildNodeProps:l,...a}=o;Vd("nodeDebugInformation",{materializedNode:a})}return 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+`
64`+o.stack}):{nodeName:e.keyWithOverrides??e.key,nodeId:e.nodeId,errorMessage:String(o)}}})}var HM={mainComponentId:!0,overrides:!0,componentProperties:!0,componentPropertyReferences:!0,componentPropertyDefinitions:!0,componentSetId:!0,mainComponent:!0,overrideKey:!0};function cs(e,t,r){return uR(t,e,r)}var GM=600;function uR(e,t,r){let n=Z.state?.labs,o=bw(n),{key:i,parentState:s,nodeById:l,animateRootIds:a,animateProps:u,assetIdToGuid:c,guidToUrl:f,breakpointWidth:d}=e,{autoLayoutTransitionAtom:m,transitionProps:g}=u??{},S=e.overrides,E=t(l.get(e.backingLayerId??e.nodeId)),h=o?void 0:e.preexpandedNodeId?l.get(e.preexpandedNodeId):void 0,p=o?void 0:h?t(h):void 0,y=a.has(e.backingLayerId??e.nodeId),v=Gu(E),x,T,w=!1,I=!1;"isInAnimateTree"in v&&v.isInAnimateTree&&(I=!0),e.parentPath?(T=[...e.parentPath,i],v.type==="INSTANCE"?x=[]:x=T):v.type==="INSTANCE"&&(x=[],T=[]);let A=v.type==="INSTANCE"?v.mainComponentId:void 0;if(w=Lv(v,T,S,void 0,e.uniformScaleFactor,"uniformScaleFactor"in v?v.uniformScaleFactor:void 0)||w,v.type==="INSTANCE"&&v.mainComponentId&&v.mainComponentId!==A){let te=t(l.get(v.mainComponentId));te.type==="COMPONENT"&&te.componentSetId&&(v.componentSetId=te.componentSetId)}if(v.type==="INSTANCE"){let te=v.overrides?.find(Ke=>Ke.key.length===0);te&&fR(v,te)}let C=s.getChildState(i,v,l),N=C.instanceState.backingComponentId,{parentStates:b}=e;v.type==="INSTANCE"&&(b===null&&(b=new Map),"componentSetId"in v&&v.componentSetId&&(b=new Map(b),b.set(v.componentSetId,{backingComponentIdState:N,transitionAtom:C.transitionAtom,parentAutoLayoutTransitionAtom:m,stateResetHandlers:C.stateResetHandlers})));let L={},D,R=!1,W=!1,k=_w(t);try{if(v.type==="INSTANCE"){let te=kv(t,e.modeContext,v,C),Ke=sR(t,v,l,te,C,e.componentProperties);D=Ke.component,v.componentSetId&&a.has(v.componentSetId)&&(R=!0),v=iR(v,D,Ke.componentSet?.type==="COMPONENT_SET"?Ke.componentSet:void 0),w=Lv(v,x,no(v.overrides),{backingComponent:D,get:t,nodeById:l},e.uniformScaleFactor,"uniformScaleFactor"in E&&E.uniformScaleFactor||1)||w}aR(t,v,l,c,d),L=kv(t,e.modeContext,v,C),lR(v,e.componentProperties),JC(t,v,C.variableState,L),e.uniformScaleFactor&&Yd(v,e.uniformScaleFactor,"uniformScaleFactor"in E&&E.uniformScaleFactor||1),$M(t,v,e.nodeId,e.stablePathToAssetHash),W=FC(v,C.cmsDataState,f),w&&v.type==="SVG"&&(v.isDynamic=!0)}catch(te){if(console.error("Materialization error",te),k)throw new J("Materialization error",te)}!k&&!W&&(v=Gu(p));let V={node:v,variableState:C.variableState,backingComponentIdState:N,parentStates:b,transitionAtom:C.transitionAtom,nodeById:l,modeContext:L},H=mR(t,V),ee=H?pR(t,V,H):void 0,me=hR(t,C.transitionAtom,C.autoLayoutTransitionAtom),ke=Z.state?.compactDOM??!1,Y=$C(R,y,I,ke,g),ce={transitionData:me??g?.transitionData,smartAnimateType:Y},we=y||I?m??C.autoLayoutTransitionAtom:void 0,K=e.rootOffset??("absoluteBoundingBox"in v?{x:v.absoluteBoundingBox.x,y:v.absoluteBoundingBox.y}:void 0),Ce;if("children"in v&&Array.isArray(v.children)){let te=v.children,Ke=p&&"children"in p&&Array.isArray(p.children)?p.children:void 0;Jy(E)&&(te=nR(t,te,l,r),Ke=te);let bt=v.type==="INSTANCE"?cR(v,{backingComponent:D,get:t,nodeById:l},no(v.overrides)):S,tt=bt?.filter(ht=>ht.value.name!==void 0),Ue=jM(e.stablePathPrefix,v);Ce=[];
64let st=new Map,xr=new Map,Wt=[];for(let ht=0;ht<te.length;ht++){let Er=te[ht],$n=Ke?Ke[ht]:void 0,Ot=t(l.get(Er)),at=Ot.name,Dr=Ot.overrideKey,jn=Jy(E)&&Ot.type==="FRAME",Wl=jn?Ot.size.x:void 0,Ps=K;if(jn)Ps={x:Ot.absoluteBoundingBox.x,y:Ot.absoluteBoundingBox.y};else if(v.type==="INSTANCE"){let Ms={x:K.x-v.absoluteBoundingBox.x,y:K.y-v.absoluteBoundingBox.y};Ps={x:D.absoluteBoundingBox.x+Ms.x,y:D.absoluteBoundingBox.y+Ms.y}}let wn=st.get(at)??0;st.set(at,wn+1);let ks=Oa(at,wn,v),Ls=tt?dR([...x??[],ks],tt)??at:at,Ui=xr.get(Ls)??0;xr.set(Ls,Ui+1);let Hi=Ue?Ue.concat(";",Dr??Er):Er;Wt.push(Hi||Er);let Gi=(e.uniformScaleFactor||1)*("uniformScaleFactor"in Ot&&Ot.uniformScaleFactor?Ot.uniformScaleFactor:1);Ce.push({key:ks,keyWithOverrides:Oa(Ls,Ui,v),parentState:C,nodeId:k?Hi:Er,stablePathPrefix:Ue,backingLayerId:Er,modeContext:L,parentPath:x,preexpandedNodeId:$n,nodeById:l,assets:e.assets,assetIdToGuid:c,guidToUrl:f,animateRootIds:a,stablePathToAssetHash:e.stablePathToAssetHash,overrides:bt,componentProperties:v.type==="INSTANCE"||v.type==="CODE_INSTANCE"||v.type==="CODE_LAYER"?v.componentProperties:e.componentProperties,parentStates:b,animateProps:{transitionProps:ce,autoLayoutTransitionAtom:we},uniformScaleFactor:Gi,breakpointWidth:Wl??e.breakpointWidth,rootOffset:Ps})}k&&(v.children=Wt)}let Ie=KM(t,e.assets,v),le=YM(v,HM);(le.type==="INSTANCE"||le.type==="COMPONENT")&&(le.type="FRAME");let Ae=xd(le),Ye=Ae.type;return Object.assign(Ae,{materializedChildNodeProps:Ce,transitionProps:ce,interactions:H,interactionHandlers:ee,key:e.keyWithOverrides??e.key,variableState:C.variableState,modeContext:L,assets:Ie}),(v.type==="CODE_INSTANCE"||v.type==="CODE_LAYER")&&Object.assign(Ae,{componentProperties:v.componentProperties}),(Ae.type==="RECTANGLE"||Ae.type==="IMAGE"||Ae.type==="FRAME"||Ae.type==="SVG")&&Ie&&Object.values(Ie).length&&(e.breakpointWidth,Ae.lazyLoad=Ae.absoluteBoundingBox.x>K.x+e.breakpointWidth||Ae.absoluteBoundingBox.y>K.y+GM),Ae}function Oa(e,t,r){return r?.type==="RESPONSIVE_SET"?"":e+t}function $M(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=Z.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 jM(e,t){if(e)return t.type==="INSTANCE"?t.id:e;if(t.type==="INSTANCE")return`I${t.id}`}function YM(e,t){let r={...e};for(let n in t)delete r[n];return r}function KM(e,t,r){let n,o=i=>{let s=t.get(i),l=e(s);n=n??{},n[i]=l};if("fills"in r)for(let i of r.fills)i.visible!==!1&&i.type==="IMAGE"&&o(xv(i));if("hash"in r&&o(r.hash),"behaviors"in r){let i=Av(r.behaviors);i&&o(i)}return n}function cR(e,t,r){if(!r)return;let n={get:t.get,nodeById:t.nodeById},o=SR(e,t),i=[];for(let s of r){if(s.key.length===0)continue;let l=gR(s.key,e,n),a=s.key,u=!1;if(!l){let d=s.key[s.key.length-1];let m=qM(d,e,n);m&&(l=m.node,a=m.key,u=!0)}if(!l)continue;let c={key:a,value:s.value};if(o){c.value={};let d=gR(s.key,o,n);for(let[m,g]of Pa(s.value)){let S=Dv(m,g,l,d);S!==void 0&&(c.value[m]=S)}}let f=i.findIndex(d=>_e(d.key,a));if(f>-1){let d=i[f];u?c.value=_v(c,d):c.value=_v(d,c),i[f]=c}else i.push(c)}return i}function Mv(e,t){if(!(!t||!e))return t.find(r=>_e(r.key,e))}var Pa=e=>Object.entries(e);function yR(e,t){let r=e.filter(o=>xt(o.id)!==as),n=t.filter(o=>o.isDeleted).map(o=>xt(o.id));return r=r.filter(o=>!n.includes(xt(o.id))),t.forEach(o=>{if(o.isDeleted)return;let i=r.findIndex(s=>xt(s.id)===xt(o.id));i===-1?r.push(o):r[i]=o}),r}function Lv(e,t,r,n,o,i){if(!t||!r)return!1;let s=Mv(t,r);if(s?.value===void 0)return!1;Yd(s.value,1/(o||1),1/(i||1));let l=SR(e,n);for(let[a,u]of Pa(s.value))e.type==="INSTANCE"&&a==="overrides"?u=vR(no(e.overrides),no(u)):a==="interactions"&&"interactions"in e&&(u=yR(e.interactions??[],u)),!(e.type==="INSTANCE"&&l&&(u=Dv(a,u,n.backingComponent,l),u===void 0))&&(u===null?delete e[a]:e[a]=u);return!0}function fR(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 _v(e,t){let r=e.value,n=t?.value||{},o={...r,...n};
64return"overrides"in r&&"overrides"in n&&(o.overrides=vR(no(r.overrides),no(n.overrides))),"interactions"in r&&"interactions"in n&&(o.interactions=yR(r.interactions??[],n.interactions??[])),o}function vR(e,t){if(!e)return t;if(!t)return e;if(e&&t){let r=[];for(let n of e){let o=Mv(n.key,t);r.push({key:n.key,value:_v(n,o)})}for(let n of t)Mv(n.key,r)||r.push(n);return r}}var XM=new Set(["characters","characterStyleOverrides","styleOverrideTable","lineTypes","lineIndentations","fontSize","letterSpacing","lineHeight","fontStyle","fontVariations","inheritTextStyleId"]);function Dv(e,t,r,n){if(e==="name")return t;if(e==="interactions"){let o=e in n?n.interactions??[]:[],i=new Set(o.map(l=>xt(l.id)??as));return i.add(as),t.filter(l=>!i.has(xt(l.id)??as))}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)){let s=r.overrides.find(c=>_e(c.key,i.key)),l=n.overrides.find(c=>_e(c.key,i.key));if(!s||!l){o.push(i);continue}let a={key:i.key,value:{}},u=!1;for(let[c,f]of Pa(i.value))f=Dv(c,f,s.value,l.value),f&&(a.value[c]=f,u=!0);u&&o.push(a)}return o}else if(XM.has(e))return t}if(_e(r[e],n[e]))return t}function SR(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=Pa(e.componentProperties).map(([o,i])=>i.type!=="VARIANT"?void 0:`${o}=${String(i.value)}
64`).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 xR(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 gR(e,t,r){let{get:n,nodeById:o}=r,i=t;for(let s of e){if(!i||!xR(i,t))return;let l=i.children.map(u=>n(o.get(u)));i=void 0;let a=new Map;for(let u=0;u<l.length;++u){let c=l[u];let f=a.get(c.name)??0;a.set(c.name,f+1);let d=Oa(c.name,f);if(s===d){i=c;break}}}return i}function qM(e,t,r){let{get:n,nodeById:o}=r,i=[{key:[],node:t}],s=new Map;for(;i.length>0;){let l=i.pop();let a=s.get(l.node.name)??0;if(Oa(l.node.name,a)===e)return l;if(s.set(l.node.name,a+1),!xR(l.node,t))continue;let u=l.node.children.map(d=>n(o.get(d))),c=new Map,f=[];u.forEach(d=>{let m=c.get(d.name)??0;c.set(d.name,m+1),f.push({key:[...l.key,Oa(d.name,m)],node:d})}),i.push(...f.reverse())}}function dR(e,t){for(let r of t)if(r.value.name!==void 0&&r.value.name!==null&&_e(r.key,e))return r.value.name}var QM={motion:"easeInOut",css:"ease-in-out"},ZM=[1,100,15],JM="OUT_CUBIC",ER=.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 TR(e){let t=Xu();if(t)return{ease:t.ease};let r=e.easingType??JM,[n,o,i]=e.easingFunction&&e.easingFunction.length>=3?e.easingFunction:ZM;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:QM.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 zd(e){return(t,r)=>e?`${e} ${r}`:r}var e_=new Set(Object.values(ne));function t_(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 Pa(o))if(i==="variants")for(let l in s)e_.has(l)?_e(n.variants?.[l],s[l])||t.push(`variants: ${l} has been overwritten`):t.push(`variants: ${l} is not a valid variant`);else _e(n[i],s)||t.push(`prop "${i}" has been overwritten`);return t}function ni(e){if(pd(Z.state.labs))return;let t=t_(e);t.length,`${t.join(", ")}`}var wR=O(M()),CR=O(iv());var Bv=X(new Map),ka={SHIFT_CODE:16,CONTROL_CODE:17,ALT_CODE:18,META_CODE:91};function RR(e,t){let r=e.event?.keyTrigger?.triggerDevice==="KEYBOARD",n=e.event?.keyTrigger?.keyCodes;if(!n)return!1;let o=o_(t),i=n.length===t.length;return r&&i&&n.every(o)}function r_(e){return e=e.toUpperCase(),e==="SHIFT"||e==="CONTROL"||e==="ALT"||e==="META"}function n_(e){let t=[];return t.push(e.keyCode),e.shiftKey&&t.push(ka.SHIFT_CODE),e.ctrlKey&&t.push(ka.CONTROL_CODE),e.altKey&&t.push(ka.ALT_CODE),e.metaKey&&t.push(ka.META_CODE),t}function o_(e){let t=CR.default.mac;return r=>(r=r===ka.META_CODE&&!t?ka.CONTROL_CODE:r,e.some(n=>n===r))}function IR(){let e=fe(Bv);(0,wR.useEffect)(()=>{let t=Ta(r=>{if(r_(r.key))return;let n=n_(r);e.forEach(o=>{o.keyCallback?.(n)})},"handleKeypressInteractions");return window.addEventListener("keydown",t),()=>{window.removeEventListener("keydown",t)}},[e])}var kb=O(M());var Mr=O(M());var nc=O(oi(),1),Mn=O(M(),1);var OR=O(M(),1),La=(0,OR.createContext)({});var PR=O(M(),1);function ii(e){let t=(0,PR.useRef)(null);return t.current===null&&(t.current=e()),t.current}var Vv=O(oi(),1),DR=O(M(),1),fs=O(M(),1);var kR=O(M(),1),si=(0,kR.createContext)(null);var MR=O(oi(),1),qd=O(M(),1),fo=O(M(),1);var LR=O(M(),1),ai=(0,LR.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});var Fv=class extends qd.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 _R({children:e,isPresent:t,anchorX:r}){let n=(0,fo.useId)(),o=(0,fo.useRef)(null),i=(0,fo.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:s}=(0,fo.useContext)(ai);return(0,fo.useInsertionEffect)(()=>{let{width:l,height:a,top:u,left:c,right:f}=i.current;if(t||!o.current||!l||!a)return;
64let d=r==="left"?`left: ${c}`:`right: ${f}`;o.current.dataset.motionPopId=n;let m=document.createElement("style");return s&&(m.nonce=s),document.head.appendChild(m),m.sheet&&m.sheet.insertRule(`
65          [data-motion-pop-id="${n}"] {
66            position: absolute !important;
67            width: ${l}px !important;
68            height: ${a}px !important;
69            ${d}px !important;
70            top: ${u}px !important;
71          }
72        `),()=>{document.head.removeChild(m)}},[t]),(0,MR.jsx)(Fv,{isPresent:t,childRef:o,sizeRef:i,children:qd.cloneElement(e,{ref:o})})}var BR=({children:e,initial:t,isPresent:r,onExitComplete:n,custom:o,presenceAffectsLayout:i,mode:s,anchorX:l})=>{let a=ii(f_),u=(0,fs.useId)(),c=(0,fs.useCallback)(d=>{a.set(d,!0);for(let m of a.values())if(!m)return;n&&n()},[a,n]),f=(0,fs.useMemo)(()=>({id:u,initial:t,isPresent:r,custom:o,onExitComplete:c,register:d=>(a.set(d,!1),()=>a.delete(d))}),i?[Math.random(),c]:[r,c]);return(0,fs.useMemo)(()=>{a.forEach((d,m)=>a.set(m,!1))},[r]),DR.useEffect(()=>{!r&&!a.size&&n&&n()},[r]),s==="popLayout"&&(e=(0,Vv.jsx)(_R,{isPresent:r,anchorX:l,children:e})),(0,Vv.jsx)(si.Provider,{value:f,children:e})};function f_(){return new Map}var li=O(M(),1);function Qd(e=!0){let t=(0,li.useContext)(si);if(t===null)return[!0,null];let{isPresent:r,onExitComplete:n,register:o}=t,i=(0,li.useId)();(0,li.useEffect)(()=>{if(e)return o(i)},[e]);let s=(0,li.useCallback)(()=>e&&n&&n(i),[i,n,e]);return!r&&n?[!1,s]:[!0]}var Zd=O(M(),1),rc=e=>e.key||"";function zv(e){let t=[];return Zd.Children.forEach(e,r=>{(0,Zd.isValidElement)(r)&&t.push(r)}),t}var Jd=O(M(),1);var Ma=typeof window<"u";var em=Ma?Jd.useLayoutEffect:Jd.useEffect;var Wv=({children:e,custom:t,initial:r=!0,onExitComplete:n,presenceAffectsLayout:o=!0,mode:i="sync",propagate:s=!1,anchorX:l="left"})=>{let[a,u]=Qd(s),c=(0,Mn.useMemo)(()=>zv(e),[e]),f=s&&!a?[]:c.map(rc),d=(0,Mn.useRef)(!0),m=(0,Mn.useRef)(c),g=ii(()=>new Map),[S,E]=(0,Mn.useState)(c),[h,p]=(0,Mn.useState)(c);em(()=>{d.current=!1,m.current=c;for(let x=0;x<h.length;x++){let T=rc(h[x]);f.includes(T)?g.delete(T):g.get(T)!==!0&&g.set(T,!1)}},[h,f.length,f.join("-")]);let y=[];if(c!==S){let x=[...c];for(let T=0;T<h.length;T++){let w=h[T],I=rc(w);f.includes(I)||(x.splice(T,0,w),y.push(w))}return i==="wait"&&y.length&&(x=y),p(zv(x)),E(c),null}let{forceRender:v}=(0,Mn.useContext)(La);return(0,nc.jsx)(nc.Fragment,{children:h.map(x=>{let T=rc(x),w=s&&!a?!1:c===h||f.includes(T),I=()=>{if(g.has(T))g.set(T,!0);else return;let A=!0;g.forEach(C=>{C||(A=!1)}),A&&(v?.(),p(m.current),s&&u?.(),n&&n())};return(0,nc.jsx)(BR,{isPresent:w,initial:!d.current||r?void 0:!1,custom:t,presenceAffectsLayout:o,mode:i,onExitComplete:w?void 0:I,anchorX:l,children:x},T)})})};var ze=e=>e;var ui=ze,Or=ze;var ds={skipAnimations:!1,useManualTiming:!1};var oc=["read","resolveKeyframes","update","preRender","render","postRender"];var Pr={value:null,addProjectionMetrics:null};function FR(e,t){let r=new Set,n=new Set,o=!1,i=!1,s=new WeakSet,l={delta:0,timestamp:0,isProcessing:!1},a=0;function u(f){s.has(f)&&(c.schedule(f),e()),a++,f(l)}let c={schedule:(f,d=!1,m=!1)=>{let S=m&&o?r:n;return d&&s.add(f),S.has(f)||S.add(f),f},cancel:f=>{n.delete(f),s.delete(f)},process:f=>{if(l=f,o){i=!0;return}o=!0,[r,n]=[n,r],r.forEach(u),t&&Pr.value&&Pr.value.frameloop[t].push(a),a=0,r.clear(),o=!1,i&&(i=!1,c.process(f))}};return c}var d_=40;function tm(e,t){let r=!1,n=!0,o={delta:0,timestamp:0,isProcessing:!1},i=()=>r=!0,s=oc.reduce((h,p)=>(h[p]=FR(i,t?p:void 0),h),{}),{read:l,resolveKeyframes:a,update:u,preRender:c,render:f,postRender:d}=s,m=()=>{let h=ds.useManualTiming?o.timestamp:performance.now();r=!1,ds.useManualTiming||(o.delta=n?1e3/60:Math.max(Math.min(h-o.timestamp,d_),1)),o.timestamp=h,o.isProcessing=!0,l.process(o),a.process(o),u.process(o),c.process(o),f.process(o),d.process(o),o.isProcessing=!1,r&&t&&(n=!1,e(m))},g=()=>{r=!0,n=!0,o.isProcessing||e(m)};return{schedule:oc.reduce((h,p)=>{let y=s[p];return h[p]=(v,x=!1,T=!1)=>(r||g(),y.schedule(v,x,T)),h},{}),cancel:h=>{for(let p=0;p<oc.length;p++)s[oc[p]].cancel(h)},state:o,steps:s}}var{schedule:$,cancel:ur,state:Ze,steps:ic}=tm(typeof requestAnimationFrame<"u"?requestAnimationFrame:ze,!0);var VR=O(M(),1),rm=(0,VR.createContext)({strict:!1});var zR={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"]},mo={};for(let e in zR)mo[e]={isEnabled:t=>zR[e].some(r=>!!t[r])};function WR(e){for(let t in e)mo[t]={...mo[t],...e[t]}}var m_=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 sc(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||m_.has(e)}var UR=e=>!sc(e);function p_(e){e&&(UR=t=>t.startsWith("on")?!sc(t):e(t))}try{p_(HO("@emotion/is-prop-valid").default)}catch{}function HR(e,t,r){let n={};for(let o in e)o==="values"&&typeof e.values=="object"||(UR(o)||r===!0&&sc(o)||!t&&!sc(o)||e.draggable&&o.startsWith("onDrag"))&&(n[o]=e[o]);return n}function GR(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 lm=O(oi(),1);var Ba=O(M(),1);var $R=O(M(),1),ci=(0,$R.createContext)({});var im=O(M(),1);function fi(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function po(e){return typeof e=="string"||Array.isArray(e)}var nm=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ac=["initial",...nm];function ms(e){return fi(e.animate)||ac.some(t=>po(e[t]))}function om(e){return Boolean(ms(e)||e.variants)}function jR(e,t){if(ms(e)){let{initial:r,animate:n}=e;return{initial:r===!1||po(r)?r:void 0,animate:po(n)?n:void 0}}return e.inherit!==!1?t:{}}function KR(e){let{initial:t,animate:r}=jR(e,(0,im.useContext)(ci));return(0,im.useMemo)(()=>({initial:t,animate:r}),[YR(t),YR(r)])}function YR(e){return Array.isArray(e)?e.join(" "):e}var XR=Symbol.for("motionComponentSymbol");var qR=O(M(),1);function ho(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function QR(e,t,r){return(0,qR.useCallback)(n=>{n&&e.onMount&&e.onMount(n),t&&(n?t.mount(n):t.unmount()),r&&(typeof r=="function"?r(n):ho(r)&&(r.current=n))},[t])}var cr=O(M(),1);var _a=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase();var h_="framerAppearId",sm="data-"+_a(h_);var{schedule:Da,cancel:t$}=tm(queueMicrotask,!1);var ZR=O(M(),1),am=(0,ZR.createContext)({});function JR(e,t,r,n,o){var i,s;let{visualElement:l}=(0,cr.useContext)(ci),a=(0,cr.useContext)(rm),u=(0,cr.useContext)(si),c=(0,cr.useContext)(ai).reducedMotion,f=(0,cr.useRef)(null);n=n||a.renderer,!f.current&&n&&(f.current=n(e,{visualState:t,parent:l,props:r,presenceContext:u,blockInitialAnimation:u?u.
72initial===!1:!1,reducedMotionConfig:c}));let d=f.current,m=(0,cr.useContext)(am);d&&!d.projection&&o&&(d.type==="html"||d.type==="svg")&&g_(f.current,r,o,m);let g=(0,cr.useRef)(!1);(0,cr.useInsertionEffect)(()=>{d&&g.current&&d.update(r,u)});let S=r[sm],E=(0,cr.useRef)(Boolean(S)&&!(!((i=window.MotionHandoffIsComplete)===null||i===void 0)&&i.call(window,S))&&((s=window.MotionHasOptimisedAnimation)===null||s===void 0?void 0:s.call(window,S)));return em(()=>{d&&(g.current=!0,window.MotionIsMounted=!0,d.updateFeatures(),Da.render(d.render),E.current&&d.animationState&&d.animationState.animateChanges())}),(0,cr.useEffect)(()=>{d&&(!E.current&&d.animationState&&d.animationState.animateChanges(),E.current&&(queueMicrotask(()=>{var h;(h=window.MotionHandoffMarkAsComplete)===null||h===void 0||h.call(window,S)}),E.current=!1))}),d}function g_(e,t,r,n){let{layoutId:o,layout:i,drag:s,dragConstraints:l,layoutScroll:a,layoutRoot:u}=t;e.projection=new r(e.latestValues,t["data-framer-portal-id"]?void 0:e1(e.parent)),e.projection.setOptions({layoutId:o,layout:i,alwaysMeasureLayout:Boolean(s)||l&&ho(l),visualElement:e,animationType:typeof i=="string"?i:"both",initialPromotionConfig:n,layoutScroll:a,layoutRoot:u})}function e1(e){if(e)return e.options.allowProjection!==!1?e.projection:e1(e.parent)}function t1({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:n,Component:o}){var i,s;e&&WR(e);function l(u,c){let f,d={...(0,Ba.useContext)(ai),...u,layoutId:y_(u)},{isStatic:m}=d,g=KR(u),S=n(u,m);if(!m&&Ma){v_(d,e);let E=S_(d);f=E.MeasureLayout,g.visualElement=JR(o,S,d,t,E.ProjectionNode)}return(0,lm.jsxs)(ci.Provider,{value:g,children:[f&&g.visualElement?(0,lm.jsx)(f,{visualElement:g.visualElement,...d}):null,r(o,u,QR(S,g.visualElement,c),S,m,g.visualElement)]})}l.displayName=`motion.${typeof o=="string"?o:`create(${(s=(i=o.displayName)!==null&&i!==void 0?i:o.name)!==null&&s!==void 0?s:""})`}`;let a=(0,Ba.forwardRef)(l);return a[XR]=o,a}function y_({layoutId:e}){let t=(0,Ba.useContext)(La).id;return t&&e!==void 0?t+"-"+e:e}function v_(e,t){let r=(0,Ba.useContext)(rm).strict}function S_(e){let{drag:t,layout:r}=mo;if(!t&&!r)return{};let n={...t,...r};return{MeasureLayout:t?.isEnabled(e)||r?.isEnabled(e)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}var ja=O(M(),1);var u1=O(M(),1);var r1=e=>t=>typeof t=="string"&&t.startsWith(e),Fa=r1("--"),x_=r1("var(--"),Va=e=>x_(e)?E_.test(e.split("/*")[0].trim()):!1,E_=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;var ps={};function n1(e){for(let t in e)ps[t]=e[t],Fa(t)&&(ps[t].isCSSVariable=!0)}var _n=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],fr=new Set(_n);function um(e,{layout:t,layoutId:r}){return fr.has(e)||e.startsWith("origin")||(t||r!==void 0)&&(!!ps[e]||e==="opacity")}var ge=e=>Boolean(e&&e.getVelocity);var cm=(e,t)=>t&&typeof e=="number"?t.transform(e):e;var At=(e,t,r)=>r>t?t:r<e?e:r;var Dn={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},go={...Dn,transform:e=>At(0,1,e)},lc={...Dn,default:1};var uc=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Bn=uc("deg"),qt=uc("%"),F=uc("px"),o1=uc("vh"),i1=uc("vw"),Uv={...qt,parse:e=>qt.parse(e)/100,transform:e=>qt.transform(e*100)};var s1={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 a1={rotate:Bn,rotateX:Bn,rotateY:Bn,rotateZ:Bn,scale:lc,scaleX:lc,scaleY:lc,scaleZ:lc,skew:Bn,skewX:Bn,skewY:Bn,distance:F,translateX:F,translateY:F,translateZ:F,x:F,y:F,z:F,perspective:F,transformPerspective:F,opacity:go,originX:Uv,originY:Uv,originZ:F};var Hv={...Dn,transform:Math.round};var za={...s1,...a1,zIndex:Hv,size:F,fillOpacity:go,strokeOpacity:go,numOctaves:Hv};var T_={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},w_=_n.length;function l1(e,t,r){let n="",o=!0;for(let i=0;i<w_;i++){let s=_n[i],l=e[s];if(l===void 0)continue;let a=!0;if(typeof l=="number"?a=l===(s.startsWith("scale")?1:0):a=parseFloat(l)===0,!a||r){let u=cm(l,za[s]);if(!a){o=!1;let c=T_[s]||s;n+=`${c}(${u}) `}r&&(t[s]=u)}}return n=n.trim(),r?n=r(t,o?"":n):o&&(n="none"),n}function Wa(e,t,r){let{style:n,vars:o,transformOrigin:i}=e,s=!1,l=!1;for(let a in t){let u=t[a];if(fr.has(a)){s=!0;continue}else if(Fa(a)){o[a]=u;continue}else{let c=cm(u,za[a]);a.startsWith("origin")?(l=!0,i[a]=c):n[a]=c}}if(t.transform||(s||r?n.transform=l1(t,e.transform,r):n.transform&&(n.transform="none")),l){let{originX:a="50%",originY:u="50%",originZ:c=0}=i;n.transformOrigin=`${a} ${u} ${c}`}}var Ua=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Gv(e,t,r){for(let n in t)!ge(t[n])&&!um(n,r)&&(e[n]=t[n])}function C_({transformTemplate:e},t){return(0,u1.useMemo)(()=>{let r=Ua();return Wa(r,t,e),Object.assign({},r.vars,r.style)}
vendor: 9,524 bytes, line 72
72,[t])}function R_(e,t){let r=e.style||{},n={};return Gv(n,r,e),Object.assign(n,C_(e,t)),n}function c1(e,t){let r={},n=R_(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 f1=["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 Ha(e){return typeof e!="string"||e.includes("-")?!1:!!(f1.indexOf(e)>-1||/[A-Z]/u.test(e))}var h1=O(M(),1);var I_={offset:"stroke-dashoffset",array:"stroke-dasharray"},A_={offset:"strokeDashoffset",array:"strokeDasharray"};function d1(e,t,r=1,n=0,o=!0){e.pathLength=1;let i=o?I_:A_;e[i.offset]=F.transform(-n);let s=F.transform(t),l=F.transform(r);e[i.array]=`${s} ${l}`}function m1(e,t,r){return typeof e=="string"?e:F.transform(t+r*e)}function p1(e,t,r){let n=m1(t,e.x,e.width),o=m1(r,e.y,e.height);return`${n} ${o}`}function Ga(e,{attrX:t,attrY:r,attrScale:n,originX:o,originY:i,pathLength:s,pathSpacing:l=1,pathOffset:a=0,...u},c,f){if(Wa(e,u,f),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:m,dimensions:g}=e;d.transform&&(g&&(m.transform=d.transform),delete d.transform),g&&(o!==void 0||i!==void 0||m.transform)&&(m.transformOrigin=p1(g,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&&d1(d,s,l,a,!1)}var fm=()=>({...Ua(),attrs:{}});var $a=e=>typeof e=="string"&&e.toLowerCase()==="svg";function g1(e,t,r,n){let o=(0,h1.useMemo)(()=>{let i=fm();return Ga(i,t,$a(n),e.transformTemplate),{...i.attrs,style:{...i.style}}},[t]);if(e.style){let i={};Gv(i,e.style,e),o.style={...i,...o.style}}return o}function y1(e=!1){return(r,n,o,{latestValues:i},s)=>{let a=(Ha(r)?g1:c1)(n,i,s,r),u=HR(n,typeof r=="string",e),c=r!==ja.Fragment?{...u,...a,ref:o}:{},{children:f}=n,d=(0,ja.useMemo)(()=>ge(f)?f.get():f,[f]);return(0,ja.createElement)(r,{...c,children:d})}}var $v=O(M(),1);function v1(e){let t=[{},{}];return e?.values.forEach((r,n)=>{t[0][n]=r.get(),t[1][n]=r.getVelocity()}),t}function Ya(e,t,r,n){if(typeof t=="function"){let[o,i]=v1(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]=v1(n);t=t(r!==void 0?r:e.custom,o,i)}return t}var cc=e=>Array.isArray(e);var S1=e=>Boolean(e&&typeof e=="object"&&e.mix&&e.toValue),x1=e=>cc(e)?e[e.length-1]||0:e;function Ka(e){let t=ge(e)?e.get():e;return S1(t)?t.toValue():t}function N_({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:r},n,o,i){let s={latestValues:b_(n,o,i,e),renderState:t()};return r&&(s.onMount=l=>r({props:n,current:l,...s}),s.onUpdate=l=>r(l)),s}var dm=e=>(t,r)=>{let n=(0,$v.useContext)(ci),o=(0,$v.useContext)(si),i=()=>N_(e,t,n,o);return r?i():ii(i)};function b_(e,t,r,n){let o={},i=n(e,{});for(let d in i)o[d]=Ka(i[d]);let{initial:s,animate:l}=e,a=ms(e),u=om(e);t&&u&&!a&&e.inherit!==!1&&(s===void 0&&(s=t.initial),l===void 0&&(l=t.animate));let c=r?r.initial===!1:!1;c=c||s===!1;let f=c?l:s;if(f&&typeof f!="boolean"&&!fi(f)){let d=Array.isArray(f)?f:[f];for(let m=0;m<d.length;m++){let g=Ya(e,d[m]);if(g){let{transitionEnd:S,transition:E,...h}=g;for(let p in h){let y=h[p];if(Array.isArray(y)){let v=c?y.length-1:0;y=y[v]}y!==null&&(o[p]=y)}for(let p in S)o[p]=S[p]}}}return o}function Xa(e,t,r){var n;let{style:o}=e,i={};for(let s in o)(ge(o[s])||t.style&&ge(t.style[s])||um(s,e)||((n=r?.getValue(s))===null||n===void 0?void 0:n.liveStyle)!==void 0)&&(i[s]=o[s]);return i}var E1={useVisualState:dm({scrapeMotionValuesFromProps:Xa,createRenderState:Ua})};function mm(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 hm=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 gm(e,t,r,n){pm(e,t,void 0,n);for(let o in t.attrs)e.setAttribute(hm.has(o)?o:_a(o),t.attrs[o])}function ym(e,t,r){let n=Xa(e,t,r);for(let o in e)if(ge(e[o])||ge(t[o])){let i=_n.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;n[i]=e[o]}return n}var T1=["x","y","width","height","cx","cy","r"],w1={useVisualState:dm({scrapeMotionValuesFromProps:ym,createRenderState:fm,onUpdate:({props:e,prevProps:t,current:r,renderState:n,latestValues:o})=>{if(!r)return;let i=!!e.drag;if(!i){for(let l in o)if(fr.has(l)){i=!0;break}}if(!i)return;let s=!t;if(t)for(let l=0;l<T1.length;l++){let a=T1[l];e[a]!==t[a]&&(s=!0)}s&&$.read(()=>{mm(r,n),$.render(()=>{Ga(n,o,$a(r.tagName),e.transformTemplate),gm(r,n)})})}})};function C1(e,t){return function(n,{forwardMotionProps:o}={forwardMotionProps:!1}){let s={...Ha(n)?w1:E1,preloadedFeatures:e,useRender:y1(o),createVisualElement:t,Component:n};return t1(s)}}function yo(e,t,r){let n=e.getProps();return Ya(n,t,r!==void 0?r:n.custom,e)}function qa(e,t){return e?e[t]||e.default||e:void 0}var vm=new Set(["width","height","top","left","right","bottom",..._n]);var Sm;function O_(){Sm=void 0}var Dt={now:()=>(Sm===void 0&&Dt.set(Ze.isProcessing||ds.useManualTiming?Ze.timestamp:performance.now()),Sm),set:e=>{Sm=e,queueMicrotask(O_)}};function Qa(e,t){e.indexOf(t)===-1&&e.push(t)}function di(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}var mi=class{constructor(){this.subscriptions=[]}add(t){return Qa(this.subscriptions,t),()=>di(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 xm(e,t){return t?e*(1e3/t):0}var R1=30,P_=e=>!isNaN(parseFloat(e)),I1={current:void 0},Em=class{constructor(t,r={}){this.version="12.4.9",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(n,o=!0)=>{let i=Dt.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=Dt.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=P_(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 mi);let n=this.events[t].add(r);return t==="change"?()=>{n(),$.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 I1.current&&I1.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=Dt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>R1)return 0;let r=Math.min(this.updatedAt-this.prevUpdatedAt,R1);return xm(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 ft(e,t){return new Em(e,t)}function k_(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,ft(r))}function A1(e,t){let r=yo(e,t),{transitionEnd:n={},transition:o={},...i}=r||{};i={...i,...n};for(let s in i){let l=x1(i[s]);k_(e,s,l)}}function N1(e){return Boolean(ge(e)&&e.add)}function fc(e,t){let r=e.getValue("willChange");if(N1(r))return r.add(t)}function Tm(e){return e.props[sm]}function Za(e){let t;return()=>(t===void 0&&(t=e()),t)}var b1=Za(()=>window.ScrollTimeline!==void 0);var wm=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(b1()&&o.attachTimeline)return o.attachTimeline(t);if(typeof r=="function")return r(o)});return()=>
72{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 Ja=class extends wm{then(t,r){return Promise.all(this.animations).then(t).catch(r)}};var Tt=e=>e*1e3,Bt=e=>e/1e3;var Cm={current:!1};function pi(e){return typeof e=="function"}function jv(e,t){e.timeline=t,e.onfinish=null}var dc=e=>Array.isArray(e)&&typeof e[0]=="number";var O1={linearEasing:void 0};function P1(e,t){let r=Za(e);return()=>{var n;return(n=O1[t])!==null&&n!==void 0?n:r()}}var el=P1(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");var kr=(e,t,r)=>{let n=t-e;return n===0?1:(r-e)/n};var Rm=(e,t,r=10)=>{let n="",o=Math.max(Math.round(t/r),2);for(let i=0;i<o;i++)n+=e(kr(0,o-1,i))+", ";return`linear(${n.substring(0,n.length-2)})`};function Kv(e){return Boolean(typeof e=="function"&&el()||!e||typeof e=="string"&&(e in Yv||el())||dc(e)||Array.isArray(e)&&e.every(Kv))}var mc=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,Yv={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:mc([0,.65,.55,1]),circOut:mc([.55,0,1,.45]),backIn:mc([.31,.01,.66,-.59]),backOut:mc([.33,1.53,.69,.99])};function Xv(e,t){if(e)return typeof e=="function"&&el()?Rm(e,t):dc(e)?mc(e):Array.isArray(e)?e.map(r=>Xv(r,t)||Yv.easeOut):Yv[e]}var k1=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,L_=1e-7,M_=12;function __(e,t,r,n,o){let i,s,l=0;do s=t+(r-t)/2,i=k1(s,n,o)-e,i>0?r=s:t=s;while(Math.abs(i)>L_&&++l<M_);return s}function hi(e,t,r,n){if(e===t&&r===n)return ze;let o=i=>__(i,0,1,e,r);return i=>i===0||i===1?i:k1(o(i),t,n)}var Im=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2;var Am=e=>t=>1-e(1-t);var qv=hi(.33,1.53,.69,.99),pc=Am(qv),Nm=Im(pc);var bm=e=>(e*=2)<1?.5*pc(e):.5*(2-Math.pow(2,-10*(e-1)));var Om=e=>1-Math.sin(Math.acos(e)),Pm=Am(Om),km=Im(Om);var Lm=e=>/^0[^.\s]+$/u.test(e);function L1(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Lm(e):!0}var gi=e=>Math.round(e*1e5)/1e5;var tl=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function M1(e){return e==null}var _1=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;var rl=(e,t)=>r=>Boolean(typeof r=="string"&&_1.test(r)&&r.startsWith(e)||t&&!M1(r)&&Object.prototype.hasOwnProperty.call(r,t)),Mm=(e,t,r)=>n=>{if(typeof n!="string")return n;let[o,i,s,l]=n.match(tl);return{[e]:parseFloat(o),[t]:parseFloat(i),[r]:parseFloat(s),alpha:l!==void 0?parseFloat(l):1}};var D_=e=>At(0,255,e),Qv={...Dn,transform:e=>Math.round(D_(e))},Fn={test:rl("rgb","red"),parse:Mm("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+Qv.transform(e)+", "+Qv.transform(t)+", "+Qv.transform(r)+", "+gi(go.transform(n))+")"};function B_(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 hc={test:rl("#"),parse:B_,transform:Fn.transform};var yi={test:rl("hsl","hue"),parse:Mm("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+qt.transform(gi(t))+", "+qt.transform(gi(r))+", "+gi(go.transform(n))+")"};var it={test:e=>Fn.test(e)||hc.test(e)||yi.test(e),parse:e=>Fn.test(e)?Fn.parse(e):yi.test(e)?yi.parse(e):hc.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Fn.transform(e):yi.transform(e)};var D1=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function F_(e){var t,r;return isNaN(e)&&typeof e=="string"&&(((t=e.match(tl))===null||t===void 0?void 0:t.length)||0)+(((r=e.match(D1))===null||r===void 0?void 0:r.length)||0)>0}var F1="number",V1="color",V_="var",z_="var(",B1="${}",W_=/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 hs(e){let t=e.toString(),r=[],n={color:[],number:[],var:[]},o=[],i=0,l=t.replace(W_,a=>(it.test(a)?(n.color.push(i),o.push(V1),r.push(it.parse(a))):a.startsWith(z_)?(n.var.push(i),o.push(V_),r.push(a)):(n.number.push(i),o.push(F1),r.push(parseFloat(a))),++i,B1)).split(B1);return{values:r,split:l,indexes:n,types:o}}function z1(e){return hs(e).values}function W1(e){let{split:t,types:r}
vendor: 30,810 bytes, line 72
72=hs(e),n=t.length;return o=>{let i="";for(let s=0;s<n;s++)if(i+=t[s],o[s]!==void 0){let l=r[s];l===F1?i+=gi(o[s]):l===V1?i+=it.transform(o[s]):i+=o[s]}return i}}var U_=e=>typeof e=="number"?0:e;function H_(e){let t=z1(e);return W1(e)(t.map(U_))}var Qt={test:F_,parse:z1,createTransformer:W1,getAnimatableNone:H_};var G_=new Set(["brightness","contrast","saturate","opacity"]);function $_(e){let[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[n]=r.match(tl)||[];if(!n)return e;let o=r.replace(n,""),i=G_.has(t)?1:0;return n!==r&&(i*=100),t+"("+i+o+")"}var j_=/\b([a-z-]*)\(.*?\)/gu,gc={...Qt,getAnimatableNone:e=>{let t=e.match(j_);return t?t.map($_).join(" "):e}};var Y_={...za,color:it,backgroundColor:it,outlineColor:it,fill:it,stroke:it,borderColor:it,borderTopColor:it,borderRightColor:it,borderBottomColor:it,borderLeftColor:it,filter:gc,WebkitFilter:gc},nl=e=>Y_[e];function _m(e,t){let r=nl(e);return r!==gc&&(r=Qt),r.getAnimatableNone?r.getAnimatableNone(t):void 0}var K_=new Set(["auto","none","0"]);function U1(e,t,r){let n=0,o;for(;n<e.length&&!o;){let i=e[n];typeof i=="string"&&!K_.has(i)&&hs(i).values.length&&(o=e[n]),n++}if(o&&r)for(let i of t)e[i]=_m(r,o)}var Zv=e=>e===Dn||e===F,H1=(e,t)=>parseFloat(e.split(", ")[t]),G1=(e,t)=>(r,{transform:n})=>{if(n==="none"||!n)return 0;let o=n.match(/^matrix3d\((.+)\)$/u);if(o)return H1(o[1],t);{let i=n.match(/^matrix\((.+)\)$/u);return i?H1(i[1],e):0}},X_=new Set(["x","y","z"]),q_=_n.filter(e=>!X_.has(e));function $1(e){let t=[];return q_.forEach(r=>{let n=e.getValue(r);n!==void 0&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t}var gs={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:G1(4,13),y:G1(5,14)};gs.translateX=gs.x;gs.translateY=gs.y;var ys=new Set,Jv=!1,eS=!1;function j1(){if(eS){let e=Array.from(ys).filter(n=>n.needsMeasurement),t=new Set(e.map(n=>n.element)),r=new Map;t.forEach(n=>{let o=$1(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 l;(l=n.getValue(i))===null||l===void 0||l.set(s)})}),e.forEach(n=>n.measureEndState()),e.forEach(n=>{n.suspendedScrollY!==void 0&&window.scrollTo(0,n.suspendedScrollY)})}eS=!1,Jv=!1,ys.forEach(e=>e.complete()),ys.clear()}function Y1(){ys.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(eS=!0)})}function K1(){Y1(),j1()}var vi=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?(ys.add(this),Jv||(Jv=!0,$.read(Y1),$.resolveKeyframes(j1))):(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(),l=t[t.length-1];if(s!==void 0)t[0]=s;else if(n&&r){let a=n.readValue(r,l);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=l),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),ys.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,ys.delete(this))}resume(){this.isComplete||this.scheduleResolve()}};var Dm=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);var Q_=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Z_(e){let t=Q_.exec(e);if(!t)return[,];let[,r,n,o]=t;return[`--${r??n}`,o]}var J_=4;function tS(e,t,r=1){Or(r<=J_,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[n,o]=Z_(e);if(!n)return;let i=window.getComputedStyle(t).getPropertyValue(n);if(i){let s=i.trim();return Dm(s)?parseFloat(s):s}return Va(o)?tS(o,t,r+1):o}var Bm=e=>t=>t.test(e);var X1={test:e=>e==="auto",parse:e=>e};var rS=[Dn,F,qt,Bn,i1,o1,X1],nS=e=>rS.find(Bm(e));var ol=class extends vi{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 a=0;a<t.length;a++){let u=t[a];if(typeof u=="string"&&(u=u.trim(),Va(u))){let c=tS(u,r.current);c!==void 0&&(t[a]=c),a===t.length-1&&(this.finalKeyframe=u)}}if(this.resolveNoneKeyframes(),!vm.has(n)||t.length!==2)return;let[o,i]=t,s=nS(o),l=nS(i);if(s!==l)if(Zv(s)&&Zv(l))for(let a=0;a<t.length;a++){let u=t[a];typeof u=="string"&&(t[a]=parseFloat(u))}else this.needsMeasurement=!0}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:r}=this,n=[];for(let o=0;o<t.length;o++)L1(t[o])&&n.push(o);n.length&&U1(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=gs[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,l=o[s];o[s]=gs[n](r.measureViewportBox(),window.getComputedStyle(r.current)),l!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=l),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEach(([a,u])=>{r.getValue(a).set(u)}),this.resolveNoneKeyframes()}};var oS=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Qt.test(e)||e==="0")&&!e.startsWith("url("));function eD(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 q1(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=oS(o,t),l=oS(i,t);return ui(s===l,`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||!l?!1:eD(e)||(r==="spring"||pi(r))&&n}var tD=e=>e!==null;function Si(e,{repeat:t,repeatType:r="loop"},n){let o=e.filter(tD),i=t&&r!=="loop"&&t%2===1?0:o.length-1;return!i||n===void 0?o[i]:n}var rD=40,il=class{constructor({autoplay:t=!0,delay:r=0,type:n="keyframes",repeat:o=0,repeatDelay:i=0,repeatType:s="loop",...l}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Dt.now(),this.options={autoplay:t,delay:r,type:n,repeat:o,repeatDelay:i,repeatType:s,...l},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>rD?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&K1(),this._resolved}onKeyframesResolved(t,r){this.resolvedAt=Dt.now(),this.hasAttemptedResolve=!0;let{name:n,type:o,velocity:i,delay:s,onComplete:l,onUpdate:a,isGenerator:u}=this.options;if(!u&&!q1(t,n,o,i))if(Cm.current||!s){a&&a(Si(t,this.options,r)),l&&l(),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 sl(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 Vn={layout:0,mainThread:0,waapi:0};var oe=(e,t,r)=>e+(t-e)*r;function iS(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 Q1({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 l=r<.5?r*(1+t):r+t-r*t,a=2*r-l;o=iS(a,l,e+1/3),i=iS(a,l,e),s=iS(a,l,e-1/3)}return{red:Math.round(o*255),green:Math.round(i*255),blue:Math.round(s*255),alpha:n}}function al(e,t){return r=>r>0?t:e}var sS=(e,t,r)=>{let n=e*e,o=r*(t*t-n)+n;return o<0?0:Math.sqrt(o)},nD=[hc,Fn,yi],oD=e=>nD.find(t=>t.test(e));function Z1(e){let t=oD(e);if(ui(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===yi&&(r=Q1(r)),r}var aS=(e,t)=>{let r=Z1(e),n=Z1(t);if(!r||!n)return al(e,t);let o={...r};return i=>(o.red=sS(r.red,n.red,i),o.green=sS(r.green,n.green,i),o.blue=sS(r.blue,n.blue,i),o.alpha=oe(r.alpha,n.alpha,i),Fn.transform(o))};var iD=(e,t)=>r=>t(e(r)),zn=(...e)=>e.reduce(iD);var Fm=new Set(["none","hidden"]);function J1(e,t){return Fm.has(e)?r=>r<=0?e:t:r=>r>=1?t:e}function sD(e,t){return r=>oe(e,t,r)}function Vm(e){return typeof e=="number"?sD:typeof e=="string"?Va(e)?al:it.test(e)?aS:uD:Array.isArray(e)?eI:typeof e=="object"?it.test(e)?aS:aD:al}function eI(e,t){let r=[...e],n=r.length,o=e.map((i,s)=>Vm(i)(i,t[s]));return i=>{for(let s=0;s<n;s++)r[s]=o[s](i);return r}}function aD(e,t){let r={...e,...t},n={};for(let o in r)e[o]!==void 0&&t[o]!==void 0&&(n[o]=Vm(e[o])(e[o],t[o]));return o=>{for(let i in n)r[i]=n[i](o);return r}}function lD(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],l=e.indexes[s][o[s]],a=(r=e.values[l])!==null&&r!==void 0?r:0;n[i]=a,o[s]++}return n}var uD=(e,t)=>{let r=Qt.createTransformer(t),n=hs(e),o=hs(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?Fm.has(e)&&!o.values.length||Fm.has(t)&&!n.values.length?J1(e,t):zn(eI(lD(n,o),o.values),r):(ui(!0,`Complex values '${e}' and '${t}' 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.`),al(e,t))};function zm(e,t,r){return typeof e=="number"&&typeof t=="number"&&typeof r=="number"?oe(e,t,r):Vm(e)(e,t)}var cD=5;function Wm(e,t,r){let n=Math.max(t-cD,0);return xm(r-e(n),t-n)}var Be={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 lS=.001;function tI({duration:e=Be.duration,bounce:t=Be.bounce,velocity:r=Be.velocity,mass:n=Be.mass}){let o,i;ui(e<=Tt(Be.maxDuration),"Spring duration must be 10 seconds or less");let s=1-t;s=At(Be.minDamping,Be.maxDamping,s),e=At(Be.minDuration,Be.maxDuration,Bt(e)),s<1?(o=u=>{let c=u*s,f=c*e,d=c-r,m=Um(u,s),g=Math.exp(-f);return lS-d/m*g},i=u=>{let f=u*s*e,d=f*r+r,m=Math.pow(s,2)*Math.pow(u,2)*e,g=Math.exp(-f),S=Um(Math.pow(u,2),s);return(-o(u)+lS>0?-1:1)*((d-m)*g)/S}):(o=u=>{let c=Math.exp(-u*e),f=(u-r)*e+1;return-lS+c*f},i=u=>{let c=Math.exp(-u*e),f=(r-u)*(e*e);return c*f});let l=5/e,a=dD(o,i,l);if(e=Tt(e),isNaN(a))return{stiffness:Be.stiffness,damping:Be.damping,duration:e};{let u=Math.pow(a,2)*n;return{stiffness:u,damping:s*2*Math.sqrt(n*u),duration:e}}}var fD=12;function dD(e,t,r){let n=r;for(let o=1;o<fD;o++)n=n-e(n)/t(n);return n}function Um(e,t){return e*Math.sqrt(1-t*t)}var mD=["duration","bounce"],pD=["stiffness","damping","mass"];function rI(e,t){return t.some(r=>e[r]!==void 0)}function hD(e){let t={velocity:Be.velocity,stiffness:Be.stiffness,damping:Be.damping,mass:Be.mass,isResolvedFromDuration:!1,...e};if(!rI(e,pD)&&rI(e,mD))if(e.visualDuration){let r=e.visualDuration,n=2*Math.PI/(r*1.2),o=n*n,i=2*At(.05,1,1-(e.bounce||0))*Math.sqrt(o);t={...t,mass:Be.mass,stiffness:o,damping:i}}else{let r=tI(e);t={...t,...r,mass:Be.mass},t.isResolvedFromDuration=!0}return t}function ll(e=Be.visualDuration,t=Be.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],l={done:!1,value:i},{stiffness:a,damping:u,mass:c,duration:f,velocity:d,isResolvedFromDuration:m}=hD({...r,velocity:-Bt(r.velocity||0)}),g=d||0,S=u/(2*Math.sqrt(a*c)),E=s-i,h=Bt(Math.sqrt(a/c)),p=Math.abs(E)<5;n||(n=p?Be.restSpeed.granular:Be.restSpeed.default),o||(o=p?Be.restDelta.granular:Be.restDelta.default);let y;if(S<1){let x=Um(h,S);y=T=>{let w=Math.exp(-S*h*T);return s-w*((g+S*h*E)/x*Math.sin(x*T)+E*Math.cos(x*T))}}else if(S===1)y=x=>s-Math.exp(-h*x)*(E+(g+h*E)*x);else{let x=h*Math.sqrt(S*S-1);y=T=>{let w=Math.exp(-S*h*T),I=Math.min(x*T,300);return s-w*((g+S*h*E)*Math.sinh(I)+x*E*Math.cosh(I))/x}}let v={calculatedDuration:m&&f||null,next:x=>{let T=y(x);if(m)l.done=x>=f;else{let w=0;S<1&&(w=x===0?Tt(g):Wm(y,x,T));let I=Math.abs(w)<=n,A=Math.abs(s-T)<=o;l.done=I&&A}return l.value=l.done?s:T,l},toString:()=>{let x=Math.min(sl(v),2e4),T=Rm(w=>v.next(x*w).value,x,30);return x+"ms "+T}};return v}function cS({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:s,min:l,max:a,restDelta:u=.5,restSpeed:c}){let f=e[0],d={done:!1,value:f},m=I=>l!==void 0&&I<l||a!==void 0&&I>a,g=I=>l===void 0?a:a===void 0||Math.abs(l-I)<Math.abs(a-I)?l:a,S=r*t,E=f+S,h=s===void 0?E:s(E);h!==E&&(S=h-f);let p=I=>-S*Math.exp(-I/n),y=I=>h+p(I),v=I=>{let A=p(I),C=y(I);d.done=Math.abs(A)<=u,d.value=d.done?h:C},x,T,w=I=>{m(d.value)&&(x=I,T=ll({keyframes:[d.value,g(d.value)],velocity:Wm(y,I,d.value),damping:o,stiffness:i,restDelta:u,restSpeed:c}))};return w(0),{calculatedDuration:null,next:I=>{let A=!1;return!T&&x===void 0&&(A=!0,v(I),w(I)),x!==void 0&&I>=x?T.next(I-x):(!A&&v(I),d)}}}var nI=hi(.42,0,1,1),oI=hi(0,0,.58,1),Hm=hi(.42,0,.58,1);var Gm=e=>Array.isArray(e)&&typeof e[0]!="number";var iI={linear:ze,easeIn:nI,easeInOut:Hm,easeOut:oI,circIn:Om,circInOut:km,circOut:Pm,backIn:pc,backInOut:Nm,backOut:qv,anticipate:bm},fS=e=>{if(dc(e)){Or(e.length===4,"Cubic bezier arrays must contain four numerical values.");let[t,r,n,o]=e;return hi(t,r,n,o)}else if(typeof e=="string")return Or(iI[e]!==void 0,`Invalid easing type '${e}'`),iI[e];return e};function gD(e,t,r){let n=[],o=r||zm,i=e.length-1;for(let s=0;s<i;s++){let l=o(e[s],e[s+1]);if(t){let a=Array.isArray(t)?t[s]||ze:t;l=zn(a,l)}n.push(l)}return n}function $m(e,t,{clamp:r=!0,ease:n,mixer:o}={}){let i=e.length;if(Or(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 l=gD(t,n,o),a=l.length,u=c=>{if(s&&c<e[0])return t[0];let f=0;if(a>1)for(;f<e.length-2&&!(c<e[f+1]);f++);let d=kr(e[f],e[f+1],c);return l[f](d)};return r?c=>u(At(e[0],e[i-1],c)):u}function jm(e,t){let r=e[e.length-1];for(let n=1;n<=t;n++){let o=kr(0,t,n);e.push(oe(r,1,o))}}function Ym(e){let t=[0];return jm(t,e.length-1),t}function sI(e,t){return e.map(r=>r*t)}function yD(e,t){return e.map(()=>t||Hm).splice(0,e.length-1)}function yc({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){let o=Gm(n)?n.map(fS):fS(n),i={done:!1,value:t[0]},s=sI(r&&r.length===t.length?r:Ym(t),e),l=$m(s,t,{ease:Array.isArray(o)?o:yD(t,o)});return{calculatedDuration:e,next:a=>(i.value=l(a),i.done=a>=e,i)}}var aI=e=>{let t=({timestamp:r})=>e(r);return{start:()=>$.update(t,!0),stop:()=>ur(t),now:()=>Ze.isProcessing?Ze.timestamp:Dt.now()}};var vD={decay:cS,inertia:cS,tween:yc,keyframes:yc,spring:ll},SD=e=>e/100,vs=class extends il{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=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();let{onStop:a}=this.options;a&&a()};let{name:r,motionValue:n,element:o,keyframes:i}=this.options,s=o?.KeyframeResolver||vi,l=(a,u)=>this.onKeyframesResolved(a,u);this.resolver=new s(i,l,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,l=pi(r)?r:vD[r]||yc,a,u;l!==yc&&typeof t[0]!="number"&&(a=zn(SD,zm(t[0],t[1])),t=[0,100]);let c=l({...this.options,keyframes:t});i==="mirror"&&(u=l({...this.options,keyframes:[...t].reverse(),velocity:-s})),c.calculatedDuration===null&&(c.calculatedDuration=sl(c));let{calculatedDuration:f}=c,d=f+o,m=d*(n+1)-o;return{generator:c,mirroredGenerator:u,mapPercentToKeyframes:a,calculatedDuration:f,resolvedDuration:d,totalDuration:m}}onPostResolved(){let{autoplay:t=!0}=this.options;Vn.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:I}=this.options;return{done:!0,value:I[I.length-1]}}let{finalKeyframe:o,generator:i,mirroredGenerator:s,mapPercentToKeyframes:l,keyframes:a,calculatedDuration:u,totalDuration:c,resolvedDuration:f}=n;if(this.startTime===null)return i.next(0);let{delay:d,repeat:m,repeatType:g,repeatDelay:S,onUpdate:E}=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),p=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,v=i;if(m){let I=Math.min(this.currentTime,c)/f,A=Math.floor(I),C=I%1;!C&&I>=1&&(C=1),C===1&&A--,A=Math.min(A,m+1),Boolean(A%2)&&(g==="reverse"?(C=1-C,S&&(C-=S/f)):g==="mirror"&&(v=s)),y=At(0,1,C)*f}let x=p?{done:!1,value:a[0]}:v.next(y);l&&(x.value=l(x.value));let{done:T}=x;!p&&u!==null&&(T=this.speed>=0?this.currentTime>=c:this.currentTime<=0);let w=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&T);return w&&o!==void 0&&(x.value=Si(a,this.options,o)),E&&E(x.value),w&&this.finish(),x}get duration(){let{resolved:t}=this;return t?Bt(t.calculatedDuration):0}get time(){return Bt(this.currentTime)}set time(t){t=Tt(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=Bt(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=aI,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(),Vn.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}};var lI=new Set(["opacity","clipPath","filter","transform"]);function uI(e,t,r,{delay:n=0,duration:o=300,repeat:i=0,repeatType:s="loop",ease:l="easeInOut",times:a}={}){let u={[t]:r};a&&(u.offset=a);let c=Xv(l,o);Array.isArray(c)&&(u.easing=c),Pr.value&&Vn.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 Pr.value&&f.finished.finally(()=>{Vn.waapi--}),f}var cI=Za(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));var Km=10,xD=2e4;function ED(e){return pi(e.type)||e.type==="spring"||!Kv(e.ease)}function TD(e,t){let r=new vs({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),n={done:!1,value:e[0]},o=[],i=0;for(;!n.done&&i<xD;)n=r.sample(i),o.push(n.value),i+=Km;return{times:void 0,keyframes:o,duration:i-Km,ease:"linear"}}var fI={anticipate:bm,backInOut:Nm,circInOut:km};function wD(e){return e in fI}var vc=class extends il{constructor(t){super(t);let{name:r,motionValue:n,element:o,keyframes:i}=this.options;this.resolver=new ol(i,(s,l)=>this.onKeyframesResolved(s,l),r,n,o),this.resolver.scheduleResolve()}initPlayback(t,r){let{duration:n=300,times:o,ease:i,type:s,motionValue:l,name:a,startTime:u}=this.options;if(!l.owner||!l.owner.current)return!1;if(typeof i=="string"&&el()&&wD(i)&&(i=fI[i]),ED(this.options)){let{onComplete:f,onUpdate:d,motionValue:m,element:g,...S}=this.options,E=TD(t,S);t=E.keyframes,t.length===1&&(t[1]=t[0]),n=E.duration,o=E.times,i=E.ease,s="keyframes"}let c=uI(l.owner.current,a,t,{...this.options,duration:n,times:o,ease:i});return c.startTime=u??this.calcStartTime(),this.pendingTimeline?(jv(c,this.pendingTimeline),this.pendingTimeline=void 0):c.onfinish=()=>{let{onComplete:f}=this.options;l.set(Si(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 Bt(r)}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:r}=t;return Bt(r.currentTime||0)}set time(t){let{resolved:r}=this;if(!r)return;let{animation:n}=r;n.currentTime=Tt(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 ze;let{animation:n}=r;jv(n,t)}return ze}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:l}=t;if(r.playState==="idle"||r.playState==="finished")return;if(this.time){let{motionValue:u,onUpdate:c,onComplete:f,element:d,...m}=this.options,g=new vs({...m,keyframes:n,duration:o,type:i,ease:s,times:l,isGenerator:!0}),S=Tt(this.time);u.setWithVelocity(g.sample(S-Km).value,g.sample(S).value,Km)}let{onStop:a}=this.options;a&&a(),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:l}=t;if(!r||!r.owner||!(r.owner.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:u}=r.owner.getProps();return cI()&&n&&lI.has(n)&&!a&&!u&&!o&&i!=="mirror"&&s!==0&&l!=="inertia"}};var CD={type:"spring",stiffness:500,damping:25,restSpeed:10},RD=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),ID={type:"keyframes",duration:.8},AD={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},dI=(e,{keyframes:t})=>t.length>2?ID:fr.has(e)?e.startsWith("scale")?RD(t[1]):CD:AD;function mI({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:o,repeat:i,repeatType:s,repeatDelay:l,from:a,elapsed:u,...c}){return!!Object.keys(c).length}var ul=(e,t,r,n={},o,i)=>s=>{let l=qa(n,e)||{},a=l.delay||n.delay||0,{elapsed:u=0}=n;u=u-Tt(a);let c={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-u,onUpdate:d=>{t.set(d),l.onUpdate&&l.onUpdate(d)},onComplete:()=>{s(),l.onComplete&&l.onComplete()},name:e,motionValue:t,element:i?void 0:o};mI(l)||(c={...c,...dI(e,c)}),c.duration&&(c.duration=Tt(c.duration)),c.repeatDelay&&(c.repeatDelay=Tt(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)),(Cm.current||ds.skipAnimations)&&(f=!0,c.duration=0,c.delay=0),f&&!i&&t.get()!==void 0){let d=Si(c.keyframes,l);if(d!==void 0)return $.update(()=>{c.onUpdate(d),c.onComplete()}),new Ja([])}return!i&&vc.supports(c)?new vc(c):new vs(c)};function ND({protectedKeys:e,needsAnimating:t},r){let n=e.hasOwnProperty(r)&&t[r]!==!0;return t[r]=!1,n}function cl(e,t,{delay:r=0,transitionOverride:n,type:o}={}){var i;let{transition:s=e.getDefaultTransition(),transitionEnd:l,...a}=t;n&&(s=n);let u=[],c=o&&e.animationState&&e.animationState.getState()[o];for(let f in a){let d=e.getValue(f,(i=e.latestValues[f])!==null&&i!==void 0?i:null),m=a[f];if(m===void 0||c&&ND(c,f))continue;let g={delay:r,...qa(s||{},f)},S=!1;if(window.MotionHandoffAnimation){let h=Tm(e);if(h){let p=window.MotionHandoffAnimation(h,f,$);p!==null&&(g.startTime=p,S=!0)}}fc(e,f),d.start(ul(f,d,m,e.shouldReduceMotion&&vm.has(f)?{type:!1}:g,e,S));let E=d.animation;E&&u.push(E)}return l&&Promise.all(u).then(()=>{$.update(()=>{l&&A1(e,l)})}),u}function Xm(e,t,r={}){var n;let o=yo(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(cl(e,o,r)):()=>Promise.resolve(),l=e.variantChildren&&e.variantChildren.size?(u=0)=>{let{delayChildren:c=0,staggerChildren:f,staggerDirection:d}=i;return bD(e,t,c+u,f,d,r)}:()=>Promise.resolve(),{when:a}=i;if(a){let[u,c]=a==="beforeChildren"?[s,l]:[l,s];return u().then(()=>c())}else return Promise.all([s(),l(r.delay)])}function bD(e,t,r=0,n=0,o=1,i){let s=[],l=(e.variantChildren.size-1)*n,a=o===1?(u=0)=>u*n:(u=0)=>l-u*n;return Array.from(e.variantChildren).sort(OD).forEach((u,c)=>{u.notify("AnimationStart",t),s.push(Xm(u,t,{...i,delay:r+a(c)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(s)}function OD(e,t){return e.sortNodePosition(t)}function pI(e,t,r={}){e.notify("AnimationStart",t);let n;if(Array.isArray(t)){let o=t.map(i=>Xm(e,i,r));n=Promise.all(o)}else if(typeof t=="string")n=Xm(e,t,r);else{let o=typeof t=="function"?yo(e,t,r.custom):t;n=Promise.all(cl(e,o,r))}return n.then(()=>{e.notify("AnimationComplete",t)})}function dS(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 PD=ac.length;function mS(e){if(!e)return;if(!e.isControllingVariants){let r=e.parent?mS(e.parent)||{}:{};return e.props.initial!==void 0&&(r.initial=e.props.initial),r}let t={};for(let r=0;r<PD;r++){let n=ac[r],o=e.props[n];(po(o)||o===!1)&&(t[n]=o)}return t}var kD=[...nm].reverse(),LD=nm.length;function MD(e){return t=>Promise.all(t.map(({animation:r,options:n})=>pI(e,r,n)))}function gI(e){let t=MD(e),r=hI(),n=!0,o=a=>(u,c)=>{var f;let d=yo(e,c,a==="exit"?(f=e.presenceContext)===null||f===void 0?void 0:f.custom:void 0);if(d){let{transition:m,transitionEnd:g,...S}=d;u={...u,...S,...g}}return u};function i(a){t=a(e)}function s(a){let{props:u}=e,c=mS(e.parent)||{},f=[],d=new Set,m={},g=1/0;for(let E=0;E<LD;E++){let h=kD[E],p=r[h],y=u[h]!==void 0?u[h]:c[h],v=po(y),x=h===a?p.isActive:null;x===!1&&(g=E);let T=y===c[h]&&y!==u[h]&&v;if(T&&n&&e.manuallyAnimateOnMount&&(T=!1),p.protectedKeys={...m},!p.isActive&&x===null||!y&&!p.prevProp||fi(y)||typeof y=="boolean")continue;let w=_D(p.prevProp,y),I=w||h===a&&p.isActive&&!T&&v||E>g&&v,A=!1,C=Array.isArray(y)?y:[y],N=C.reduce(o(h),{});x===!1&&(N={});let{prevResolvedValues:b={}}=p,L={...b,...N},D=k=>{I=!0,d.has(k)&&(A=!0,d.delete(k)),p.needsAnimating[k]=!0;let V=e.getValue(k);V&&(V.liveStyle=!1)};for(let k in L){let V=N[k],H=b[k];if(m.hasOwnProperty(k))continue;let ee=!1;cc(V)&&cc(H)?ee=!dS(V,H):ee=V!==H,ee?V!=null?D(k):d.add(k):V!==void 0&&d.has(k)?D(k):p.protectedKeys[k]=!0}p.prevProp=y,p.prevResolvedValues=N,p.isActive&&(m={...m,...N}),n&&e.blockInitialAnimation&&(I=!1),I&&(!(T&&w)||A)&&f.push(...C.map(k=>({animation:k,options:{type:h}})))}if(d.size){let E={};if(typeof u.initial!="boolean"){let h=yo(e,Array.isArray(u.initial)?u.initial[0]:u.initial);h&&h.transition&&(E.transition=h.transition)}d.forEach(h=>{let p=e.getBaseTarget(h),y=e.getValue(h);y&&(y.liveStyle=!0),E[h]=p??null}),f.push({animation:E})}let S=Boolean(f.length);return n&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(S=!1),n=!1,S?t(f):Promise.resolve()}function l(a,u){var c;if(r[a].isActive===u)return Promise.resolve();(c=e.variantChildren)===null||c===void 0||c.forEach(d=>{var m;return(m=d.animationState)===null||m===void 0?void 0:m.setActive(a,u)}),r[a].isActive=u;let f=s(a);for(let d in r)r[d].protectedKeys={};return f}return{animateChanges:s,setActive:l,setAnimateFunction:i,getState:()=>r,reset:()=>{r=hI(),n=!0}}}function _D(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!dS(t,e):!1}function Ss(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function hI(){return{animate:Ss(!0),whileInView:Ss(),whileHover:Ss(),whileTap:Ss(),whileDrag:Ss(),whileFocus:Ss(),exit:Ss()}}var wt=class{constructor(t){this.isMounted=!1,this.node=t}update(){}};var qm=class extends wt{constructor(t){super(t),t.animationState||(t.animationState=gI(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();fi(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 DD=0,Qm=class extends wt{constructor(){super(...arguments),this.id=DD++}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(()=>
72{r(this.id)})}mount(){let{register:t,onExitComplete:r}=this.node.presenceContext||{};r&&r(this.id),t&&(this.unmount=t(this.id))}unmount(){}};var yI={animation:{Feature:qm},exit:{Feature:Qm}};var Xr={x:!1,y:!1};function Zm(){return Xr.x||Xr.y}function vI(e){return e==="x"||e==="y"?Xr[e]?null:(Xr[e]=!0,()=>{Xr[e]=!1}):Xr.x||Xr.y?null:(Xr.x=Xr.y=!0,()=>{Xr.x=Xr.y=!1})}function vo(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}var fl=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function So(e){return{point:{x:e.pageX,y:e.pageY}}}var SI=e=>t=>fl(t)&&e(t,So(t));function xo(e,t,r,n){return vo(e,t,SI(r),n)}function Jm({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function xI({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function EI(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 RI=1e-4,BD=1-RI,FD=1+RI,II=.01,VD=0-II,zD=0+II;function dt(e){return e.max-e.min}function AI(e,t,r){return Math.abs(e-t)<=r}function TI(e,t,r,n=.5){e.origin=n,e.originPoint=oe(t.min,t.max,e.origin),e.scale=dt(r)/dt(t),e.translate=oe(r.min,r.max,e.origin)-e.originPoint,(e.scale>=BD&&e.scale<=FD||isNaN(e.scale))&&(e.scale=1),(e.translate>=VD&&e.translate<=zD||isNaN(e.translate))&&(e.translate=0)}function dl(e,t,r,n){TI(e.x,t.x,r.x,n?n.originX:void 0),TI(e.y,t.y,r.y,n?n.originY:void 0)}function wI(e,t,r){e.min=r.min+t.min,e.max=e.min+dt(t)}function NI(e,t,r){wI(e.x,t.x,r.x),wI(e.y,t.y,r.y)}function CI(e,t,r){e.min=t.min-r.min,e.max=e.min+dt(t)}function ml(e,t,r){CI(e.x,t.x,r.x),CI(e.y,t.y,r.y)}var bI=()=>({translate:0,scale:1,origin:0,originPoint:0}),xs=()=>({x:bI(),y:bI()}),OI=()=>({min:0,max:0}),Re=()=>({x:OI(),y:OI()});function dr(e){return[e("x"),e("y")]}function pS(e){return e===void 0||e===1}function ep({scale:e,scaleX:t,scaleY:r}){return!pS(e)||!pS(t)||!pS(r)}function Eo(e){return ep(e)||hS(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function hS(e){return PI(e.x)||PI(e.y)}function PI(e){return e&&e!=="0%"}function Sc(e,t,r){let n=e-r,o=t*n;return r+o}function kI(e,t,r,n,o){return o!==void 0&&(e=Sc(e,o,n)),Sc(e,r,n)+t}function gS(e,t=0,r=1,n,o){e.min=kI(e.min,t,r,n,o),e.max=kI(e.max,t,r,n,o)}function yS(e,{x:t,y:r}){gS(e.x,t.translate,t.scale,t.originPoint),gS(e.y,r.translate,r.scale,r.originPoint)}var LI=.999999999999,MI=1.0000000000001;function DI(e,t,r,n=!1){let o=r.length;if(!o)return;t.x=t.y=1;let i,s;for(let l=0;l<o;l++){i=r[l],s=i.projectionDelta;let{visualElement:a}=i.options;a&&a.props.style&&a.props.style.display==="contents"||(n&&i.options.layoutScroll&&i.scroll&&i!==i.root&&Es(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,yS(e,s)),n&&Eo(i.latestValues)&&Es(e,i.latestValues))}t.x<MI&&t.x>LI&&(t.x=1),t.y<MI&&t.y>LI&&(t.y=1)}function xi(e,t){e.min=e.min+t,e.max=e.max+t}function _I(e,t,r,n,o=.5){let i=oe(e.min,e.max,o);gS(e,t,r,i,n)}function Es(e,t){_I(e.x,t.x,t.scaleX,t.scale,t.originX),_I(e.y,t.y,t.scaleY,t.scale,t.originY)}function vS(e,t){return Jm(EI(e.getBoundingClientRect(),t))}function BI(e,t,r){let n=vS(e,r),{scroll:o}=t;return o&&(xi(n.x,o.offset.x),xi(n.y,o.offset.y)),n}function Ts(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 FI=(e,t)=>Math.abs(e-t);function VI(e,t){let r=FI(e.x,t.x),n=FI(e.y,t.y);return Math.sqrt(r**2+n**2)}var pl=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=xS(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,d=VI(c.offset,{x:0,y:0})>=3;if(!f&&!d)return;let{point:m}=c,{timestamp:g}=Ze;this.history.push({...m,timestamp:g});let{onStart:S,onMove:E}=this.handlers;f||(S&&S(this.lastMoveEvent,c),this.startEvent=this.lastMoveEvent),E&&E(this.lastMoveEvent,c)},this.handlePointerMove=(c,f)=>{if(this.index=WI(c.currentTarget),c.target instanceof Element&&c.target.hasPointerCapture&&c.pointerId!==void 0)try{if
vendor: 38,527 bytes, line 72
72(!c.target.hasPointerCapture(c.pointerId))return}catch{}this.lastMoveEvent=c,this.lastMoveEventInfo=SS(f,this.transformPagePoint),$.update(this.updatePoint,!0)},this.handlePointerUp=(c,f)=>{Ts(c,"release"),this.end();let{onEnd:d,onSessionEnd:m,resumeAnimation:g}=this.handlers;if(this.dragSnapToOrigin&&g&&g(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let S=xS(c.type==="pointercancel"||c.type==="lostpointercapture"?this.lastMoveEventInfo:SS(f,this.transformPagePoint),this.history);this.startEvent&&d&&d(c,S),m&&m(c,S)},!fl(t))return;this.dragSnapToOrigin=o,this.handlers=r,this.transformPagePoint=n;let i=So(t),s=SS(i,this.transformPagePoint),{point:l}=s,{timestamp:a}=Ze;this.history=[{...l,timestamp:a}];let{onSessionStart:u}=r;u&&u(t,xS(s,this.history)),Ts(t,"set"),this.removeListeners=zn(xo(t.currentTarget,"pointermove",this.handlePointerMove),xo(t.currentTarget,"pointerup",this.handlePointerUp),xo(t.currentTarget,"pointercancel",this.handlePointerUp),xo(t.currentTarget,"lostpointercapture",(c,f)=>{WI(c.currentTarget)!==this.index?Ts(c,"set"):this.handlePointerUp(c,f)}))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),ur(this.updatePoint)}};function SS(e,t){return t?{point:t(e.point)}:e}function zI(e,t){return{x:e.x-t.x,y:e.y-t.y}}function xS({point:e},t){return{point:e,delta:zI(e,UI(t)),offset:zI(e,WD(t)),velocity:UD(t,.1)}}function WD(e){return e[0]}function UI(e){return e[e.length-1]}function UD(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null,o=UI(e);for(;r>=0&&(n=e[r],!(o.timestamp-n.timestamp>Tt(t)));)r--;if(!n)return{x:0,y:0};let i=Bt(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 WI(e){return e.parentNode?Array.from(e.parentNode.children).indexOf(e):-1}function YI(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 HI(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 KI(e,{top:t,left:r,bottom:n,right:o}){return{x:HI(e.x,r,o),y:HI(e.y,t,n)}}function GI(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 XI(e,t){return{x:GI(e.x,t.x),y:GI(e.y,t.y)}}function qI(e,t){let r=.5,n=dt(e),o=dt(t);return o>n?r=kr(t.min,t.max-n,e.min):n>o&&(r=kr(e.min,e.max-o,t.min)),At(0,1,r)}function QI(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 tp=.35;function ZI(e=tp){return e===!1?e=0:e===!0&&(e=tp),{x:$I(e,"left","right"),y:$I(e,"top","bottom")}}function $I(e,t,r){return{min:jI(e,t),max:jI(e,r)}}function jI(e,t){return typeof e=="number"?e:e[t]||0}var HD=new WeakMap,np=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=Re(),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(So(c).point)},i=(c,f)=>{let{drag:d,dragPropagation:m,onDragStart:g}=this.getProps();if(d&&!m&&(this.openDragLock&&this.openDragLock(),this.openDragLock=vI(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),dr(E=>{let h=this.getAxisMotionValue(E).get()||0;if(qt.test(h)){let{projection:p}=this.visualElement;if(p&&p.layout){let y=p.layout.layoutBox[E];y&&(h=dt(y)*(parseFloat(h)/100))}}this.originPoint[E]=h}),g&&$.postRender(()=>g(c,f)),fc(this.visualElement,"transform");let{animationState:S}=this.visualElement;S&&S.setActive("whileDrag",!0)},s=(c,f)=>{let{dragPropagation:d,dragDirectionLock:m,onDirectionLock:g,onDrag:S}=this.getProps();if(!d&&!this.openDragLock)return;let{offset:E}=f;if(m&&this.currentDirection===null){this.currentDirection=GD(E),this.currentDirection!==null&&g&&g(this.currentDirection);return}this.updateAxis("x",f.point,E),this.updateAxis("y",f.point,E),this.visualElement.render(),S&&S(c,f)},l=(c,f)=>this.stop(c,f),a=()=>dr(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 pl(t,{onSessionStart:o,onStart:i,onMove:s,onSessionEnd:l,resumeAnimation:a},{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&&$.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||!rp(t,o,this.currentDirection))return;let i=this.getAxisMotionValue(t),s=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(s=YI(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&&ho(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&o?this.constraints=KI(o.layoutBox,r):this.constraints=!1,this.elastic=ZI(n),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&dr(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=QI(o.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){let{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!ho(t))return!1;let n=t.current;Or(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=BI(n,o.root,this.visualElement.getTransformPagePoint()),s=XI(o.layout.layoutBox,i);if(r){let l=r(xI(s));this.hasMutatedConstraints=!!l,l&&(s=Jm(l))}return s}startAnimation(t){let{drag:r,dragMomentum:n,dragElastic:o,dragTransition:i,dragSnapToOrigin:s,onDragTransitionEnd:l}=this.getProps(),a=this.constraints||{},u=dr(c=>{if(!rp(c,r,this.currentDirection))return;let f=a&&a[c]||{};s&&(f={min:0,max:0});let d=o?200:1e6,m=o?40:1e7,g={type:"inertia",velocity:n?t[c]:0,bounceStiffness:d,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...i,...f};return this.startAxisValueAnimation(c,g)});return Promise.all(u).then(l)}startAxisValueAnimation(t,r){let n=this.getAxisMotionValue(t);return fc(this.visualElement,t),n.start(ul(t,n,0,r,this.visualElement,!1))}stopAnimation(){dr(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){dr(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){dr(r=>{let{drag:n}=this.getProps();if(!rp(r,n,this.currentDirection))return;let{projection:o}=this.visualElement,i=this.getAxisMotionValue(r);if(o&&o.layout){let{min:s,max:l}=o.layout.layoutBox[r];i.set(t[r]-oe(s,l,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:r}=this.getProps(),{projection:n}=this.visualElement;if(!ho(r)||!n||!this.constraints)return;this.stopAnimation();let o={x:0,y:0};dr(s=>{let l=this.getAxisMotionValue(s);if(l&&this.constraints!==!1){let a=l.get();o[s]=qI({min:a,max:a},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(),dr(s=>{if(!rp(s,t,null))return;let l=this.getAxisMotionValue(s),{min:a,max:u}=this.constraints[s];l.set(oe(a,u,o[s]))})}addListeners(){if(!this.visualElement.current)return;HD.set(this.visualElement,this);let t=this.visualElement.current,r=xo(t,"pointerdown",a=>{let{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(a)}),n=()=>{let{dragConstraints:a}=this.getProps();ho(a)&&a.current&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,i=o.addEventListener("measure",n);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),$.read(n);let s=vo(window,"resize",()=>this.scalePositionWithinConstraints()),l=o.addEventListener("didUpdate",({delta:a,hasLayoutChanged:u})=>{this.isDragging&&u&&(dr(c=>{let f=this.getAxisMotionValue(c);f&&(this.originPoint[c]+=a[c].translate,f.set(f.get()+a[c].translate))}),this.visualElement.render())});return()=>{s(),r(),i(),l&&l()}}getProps(){let t=this.visualElement.getProps(),{drag:r=!1,dragDirectionLock:n=!1,dragPropagation:o=!1,dragConstraints:i=!1,dragElastic:s=tp,dragMomentum:l=!0}=t;return{...t,drag:r,dragDirectionLock:n,dragPropagation:o,dragConstraints:i,dragElastic:s,dragMomentum:l}}};function rp(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function GD(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}var op=class extends wt{constructor(t){super(t),this.removeGroupControls=ze,this.removeListeners=ze,this.controls=new np(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ze}unmount(){this.removeGroupControls(),this.removeListeners()}};var JI=e=>(t,r)=>{e&&$.postRender(()=>e(t,r))},ip=class extends wt{constructor(){super(...arguments),this.removePointerDownListener=ze}onPointerDown(t){this.session=new pl(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:r,onPan:n,onPanEnd:o}=this.node.getProps();return{onSessionStart:JI(t),onStart:JI(r),onMove:n,onEnd:(i,s)=>{delete this.session,o&&$.postRender(()=>o(i,s))}}}mount(){this.removePointerDownListener=xo(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 rA=O(oi(),1),xc=O(M(),1);var hl={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function eA(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var gl={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(F.test(e))e=parseFloat(e);else return e;let r=eA(e,t.target.x),n=eA(e,t.target.y);return`${r}% ${n}%`}};var tA={correct:(e,{treeScale:t,projectionDelta:r})=>{let n=e,o=Qt.parse(e);if(o.length>5)return n;let i=Qt.createTransformer(e),s=typeof o[0]!="number"?1:0,l=r.x.scale*t.x,a=r.y.scale*t.y;o[0+s]/=l,o[1+s]/=a;let u=oe(l,a,.5);return typeof o[2+s]=="number"&&(o[2+s]/=u),typeof o[3+s]=="number"&&(o[3+s]/=u),i(o)}};var ES=class extends xc.Component{componentDidMount(){let{visualElement:t,layoutGroup:r,switchLayoutGroup:n,layoutId:o}=this.props,{projection:i}=t;n1($D),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()})),hl.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()||$.postRender(()=>{let l=s.getStack();(!l||!l.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Da.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 sp(e){let[t,r]=Qd(),n=(0,xc.useContext)(La);return(0,rA.jsx)(ES,{...e,layoutGroup:n,switchLayoutGroup:(0,xc.useContext)(am),isPresent:t,safeToRemove:r})}var $D={borderRadius:{...gl,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:gl,borderTopRightRadius:gl,borderBottomLeftRadius:gl,borderBottomRightRadius:gl,boxShadow:tA};function ap(e,t,r){let n=ge(e)?e:ft(e);return n.start(ul("",n,t,r)),n.animation}function lp(e){return e instanceof SVGElement&&e.tagName!=="svg"}var nA=(e,t)=>e.depth-t.depth;var up=class{constructor(){this.children=[],this.isDirty=!1}add(t){Qa(this.children,t),this.isDirty=!0}remove(t){di(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(nA),this.isDirty=!1,this.children.forEach(t)}};function oA(e,t){let r=Dt.now(),n=({timestamp:o})=>{let i=o-r;i>=t&&(ur(n),e(i-t))};return $.read(n,!0),()=>ur(n)}var lA=["TopLeft","TopRight","BottomLeft","BottomRight"],jD=lA.length,iA=e=>typeof e=="string"?parseFloat(e):e,sA=e=>typeof e=="number"||F.test(e);function uA(e,t,r,n,o,i){o?(e.opacity=oe(0,r.opacity!==void 0?r.opacity:1,YD(n)),e.opacityExit=oe(t.opacity!==void 0?t.opacity:1,0,KD(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<jD;s++){let l=`border${lA[s]}Radius`,a=aA(t,l),u=aA(r,l);if(a===void 0&&u===void 0)continue;a||(a=0),u||(u=0),a===0||u===0||sA(a)===sA(u)?(e[l]=Math.max(oe(iA(a),iA(u),n),0),(qt.test(u)||qt.test(a))&&(e[l]+="%")):e[l]=u}(t.rotate||r.rotate)&&(e.rotate=oe(t.rotate||0,r.rotate||0,n))}function aA(e,t){return e[t]!==void 0?e[t]:e.borderRadius}var YD=cA(0,.5,Pm),KD=cA(.5,.95,ze);function cA(e,t,r){return n=>n<e?0:n>t?1:r(kr(e,t,n))}function fA(e,t){e.min=t.min,e.max=t.max}function Lr(e,t){fA(e.x,t.x),fA(e.y,t.y)}function TS(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function dA(e,t,r,n,o){return e-=t,e=Sc(e,1/r,n),o!==void 0&&(e=Sc(e,1/o,n)),e}function XD(e,t=0,r=1,n=.5,o,i=e,s=e){if(qt.test(t)&&(t=parseFloat(t),t=oe(s.min,s.max,t/100)-s.min),typeof t!="number")return;let l=oe(i.min,i.max,n);e===i&&(l-=t),e.min=dA(e.min,t,r,l,o),e.max=dA(e.max,t,r,l,o)}function mA(e,t,[r,n,o],i,s){XD(e,t[r],t[n],t[o],t.scale,i,s)}var qD=["x","scaleX","originX"],QD=["y","scaleY","originY"];function wS(e,t,r,n){mA(e.x,t,qD,r?r.x:void 0,n?n.x:void 0),mA(e.y,t,QD,r?r.y:void 0,n?n.y:void 0)}function pA(e){return e.translate===0&&e.scale===1}function CS(e){return pA(e.x)&&pA(e.y)}function hA(e,t){return e.min===t.min&&e.max===t.max}function yA(e,t){return hA(e.x,t.x)&&hA(e.y,t.y)}function gA(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function RS(e,t){return gA(e.x,t.x)&&gA(e.y,t.y)}function IS(e){return dt(e.x)/dt(e.y)}function AS(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}var cp=class{constructor(){this.members=[]}add(t){Qa(this.members,t),t.scheduleRender()}remove(t){if(di(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 vA(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:m,skewY:g}=r;u&&(n=`perspective(${u}px) ${n}`),c&&(n+=`rotate(${c}deg) `),f&&(n+=`rotateX(${f}deg) `),d&&(n+=`rotateY(${d}deg) `),m&&(n+=`skewX(${m}deg) `),g&&(n+=`skewY(${g}deg) `)}let l=e.x.scale*t.x,a=e.y.scale*t.y;return(l!==1||a!==1)&&(n+=`scale(${l}, ${a})`),n||"none"}var ws={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},NS=["","X","Y","Z"],ZD={visibility:"hidden"},SA=1e3,JD=0;function bS(e,t,r,n){let{latestValues:o}=t;o[e]&&(r[e]=o[e],t.setStaticValue(e,0),n&&(n[e]=0))}function AA(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let r=Tm(t);if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:o,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(r,"transform",$,!(o||i))}let{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&AA(n)}function fp({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:o}){return class{constructor(s={},l=t?.()){this.id=JD++,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,Pr.value&&(ws.nodes=ws.calculatedTargetDeltas=ws.calculatedProjections=0),this.nodes.forEach(rB),this.nodes.forEach(aB),this.nodes.forEach(lB),this.nodes.forEach(nB),Pr.addProjectionMetrics&&Pr.addProjectionMetrics(ws)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0;for(let a=0;a<this.path.length;a++)this.path[a].shouldResetTransform=!0;this.root===this&&(this.nodes=new up)}addEventListener(s,l){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new mi),this.eventHandlers.get(s).add(l)}notifyListeners(s,...l){let a=this.eventHandlers.get(s);a&&a.notify(...l)}hasListeners(s){return this.eventHandlers.has(s)}mount(s,l=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=lp(s),this.instance=s;let{layoutId:a,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),l&&(u||a)&&(this.isLayoutDirty=!0),e){let f,d=()=>this.root.updateBlockedByResize=!1;e(s,()=>{this.root.updateBlockedByResize=!0,f&&f(),f=oA(d,250),hl.hasAnimatedSinceResize&&(hl.hasAnimatedSinceResize=!1,this.nodes.forEach(EA))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&c&&(a||u)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:d,hasRelativeLayoutChanged:m,layout:g})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let S=this.options.transition||c.getDefaultTransition()||mB,{onLayoutAnimationStart:E,onLayoutAnimationComplete:h}=c.getProps(),p=!this.targetLayout||!RS(this.targetLayout,g),y=!d&&m;if(this.options.layoutRoot||this.resumeFrom||y||d&&(p||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(f,y);let v={...qa(S,"layout"),onPlay:E,onComplete:h};(c.shouldReduceMotion||this.options.layoutRoot)&&(v.delay=0,v.type=!1),this.startAnimation(v)}else d||EA(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=g})}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,ur(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(uB),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&&AA(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:l,layout:a}=this.options;if(l===void 0&&!a)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(xA);return}this.isUpdating||this.nodes.forEach(iB),this.isUpdating=!1,this.nodes.forEach(sB),this.nodes.forEach(eB),this.nodes.forEach(tB),this.clearAllSnapshots();let l=Dt.now();Ze.delta=At(0,1e3/60,l-Ze.timestamp),Ze.timestamp=l,Ze.isProcessing=!0,ic.update.process(Ze),ic.preRender.process(Ze),ic.render.process(Ze),Ze.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Da.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(oB),this.sharedNodes.forEach(cB)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,$.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){$.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!dt(this.snapshot.measuredBox.x)&&!dt(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 a=0;a<this.path.length;a++)this.path[a].updateScroll();let s=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Re(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:l}=this.options;l&&l.notify("LayoutMeasure",this.layout.layoutBox,s?s.layoutBox:void 0)}updateScroll(s="measure"){let l=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(l=!1),l){let a=n(this.instance);this.scroll={animationId:this.root.animationId,phase:s,isRoot:a,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:a}}}resetTransform(){if(!o)return;let s=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,l=this.projectionDelta&&!CS(this.projectionDelta),a=this.getTransformTemplate(),u=a?a(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;s&&(l||Eo(this.latestValues)||c)&&(o(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){let l=this.measurePageBox(),a=this.removeElementScroll(l);return s&&(a=this.removeTransform(a)),pB(a),{animationId:this.root.animationId,measuredBox:l,layoutBox:a,latestValues:{},source:this.id}}measurePageBox(){var s;let{visualElement:l}=this.options;if(!l)return Re();let a=l.measureViewportBox();if(!(((s=this.scroll)===null||s===void 0?void 0:s.wasRoot)||this.path.some(hB))){let{scroll:c}=this.root;c&&(xi(a.x,c.offset.x),xi(a.y,c.offset.y))}return a}removeElementScroll(s){var l;let a=Re();if(Lr(a,s),!((l=this.scroll)===null||l===void 0)&&l.wasRoot)return a;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&&Lr(a,s),xi(a.x,f.offset.x),xi(a.y,f.offset.y))}return a}applyTransform(s,l=!1){let a=Re();Lr(a,s);for(let u=0;u<this.path.length;u++){let c=this.path[u];!l&&c.options.layoutScroll&&c.scroll&&c!==c.root&&Es(a,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),Eo(c.latestValues)&&Es(a,c.latestValues)}return Eo(this.latestValues)&&Es(a,this.latestValues),a}removeTransform(s){let l=Re();Lr(l,s);for(let a=0;a<this.path.length;a++){let u=this.path[a];if(!u.instance||!Eo(u.latestValues))continue;ep(u.latestValues)&&u.updateSnapshot();let c=Re(),f=u.measurePageBox();Lr(c,f),wS(l,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,c)}return Eo(this.latestValues)&&wS(l,this.latestValues),l}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!==Ze.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(s=!1){var l;let a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);let u=Boolean(this.resumingFrom)||this!==a;if(!(s||u&&this.isSharedProjectionDirty||this.isProjectionDirty||!((l=this.parent)===null||l===void 0)&&l.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:f,layoutId:d}=this.options;if(!(!this.layout||!(f||d))){if(this.resolvedRelativeTargetAt=Ze.timestamp,!this.targetDelta&&!this.relativeTarget){let m=this.getClosestProjectingParent();m&&m.layout&&this.animationProgress!==1?(this.relativeParent=m,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Re(),this.relativeTargetOrigin=Re(),ml(this.relativeTargetOrigin,this.layout.layoutBox,m.layout.layoutBox),Lr(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Re(),this.targetWithTransforms=Re()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),NI(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):Lr(this.target,this.layout.layoutBox),yS(this.target,this.targetDelta)):Lr(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let m=this.getClosestProjectingParent();m&&Boolean(m.resumingFrom)===Boolean(this.resumingFrom)&&!m.options.layoutScroll&&m.target&&this.animationProgress!==1?(this.relativeParent=m,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Re(),this.relativeTargetOrigin=Re(),ml(this.relativeTargetOrigin,this.target,m.target),Lr(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Pr.value&&ws.calculatedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||ep(this.parent.latestValues)||hS(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 l=this.getLead(),a=Boolean(this.resumingFrom)||this!==l,u=!0;if((this.isProjectionDirty||!((s=this.parent)===null||s===void 0)&&s.isProjectionDirty)&&(u=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(u=!1),this.resolvedRelativeTargetAt===Ze.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;Lr(this.layoutCorrected,this.layout.layoutBox);let d=this.treeScale.x,m=this.treeScale.y;DI(this.layoutCorrected,this.treeScale,this.path,a),l.layout&&!l.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(l.target=l.layout.layoutBox,l.targetWithTransforms=Re());let{target:g}=l;if(!g){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(TS(this.prevProjectionDelta.x,this.projectionDelta.x),TS(this.prevProjectionDelta.y,this.projectionDelta.y)),dl(this.projectionDelta,this.layoutCorrected,g,this.latestValues),(this.treeScale.x!==d||this.treeScale.y!==m||!AS(this.projectionDelta.x,this.prevProjectionDelta.x)||!AS(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",g)),Pr.value&&ws.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){var l;if((l=this.options.visualElement)===null||l===void 0||l.scheduleRender(),s){let a=this.getStack();a&&a.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=xs(),this.projectionDelta=xs(),this.projectionDeltaWithTransform=xs()}setAnimationOrigin(s,l=!1){let a=this.snapshot,u=a?a.latestValues:{},c={...this.latestValues},f=xs();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!l;let d=Re(),m=a?a.source:void 0,g=this.layout?this.layout.source:void 0,S=m!==g,E=this.getStack(),h=!E||E.members.length<=1,p=Boolean(S&&!h&&this.options.crossfade===!0&&!this.path.some(dB));this.animationProgress=0;let y;this.mixTargetDelta=v=>{let x=v/1e3;TA(f.x,s.x,x),TA(f.y,s.y,x),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ml(d,this.layout.layoutBox,this.relativeParent.layout.layoutBox),fB(this.relativeTarget,this.relativeTargetOrigin,d,x),y&&yA(this.relativeTarget,y)&&(this.isProjectionDirty=!1),y||(y=Re()),Lr(y,this.relativeTarget)),S&&(this.animationValues=c,uA(c,u,this.latestValues,x,p,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=x},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&&(ur(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=$.update(()=>{hl.hasAnimatedSinceResize=!0,Vn.layout++,this.currentAnimation=ap(0,SA,{...s,onUpdate:l=>{this.mixTargetDelta(l),s.onUpdate&&s.onUpdate(l)},onStop:()=>{Vn.layout--},onComplete:()=>{Vn.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(SA),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let s=this.getLead(),{targetWithTransforms:l,target:a,layout:u,latestValues:c}=s;if(!(!l||!a||!u)){if(this!==s&&this.layout&&u&&NA(this.options.animationType,this.layout.layoutBox,u.layoutBox)){a=this.target||Re();let f=dt(this.layout.layoutBox.x);a.x.min=s.target.x.min,a.x.max=a.x.min+f;let d=dt(this.layout.layoutBox.y);a.y.min=s.target.y.min,a.y.max=a.y.min+d}Lr(l,a),Es(l,c),dl(this.projectionDeltaWithTransform,this.layoutCorrected,l,c)}}registerSharedNode(s,l){this.sharedNodes.has(s)||this.sharedNodes.set(s,new cp),this.sharedNodes.get(s).add(l);let u=l.options.initialPromotionConfig;l.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(l):void 0})}isLead(){let s=this.getStack();return s?s.lead===this:!0}getLead(){var s;let{layoutId:l}=this.options;return l?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this}getPrevLead(){var s;let{layoutId:l}=this.options;return l?(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:l,preserveFollowOpacity:a}={}){let u=this.getStack();u&&u.promote(this,a),s&&(this.projectionDelta=void 0,this.needsReset=!0),l&&this.setOptions({transition:l})}relegate(){let s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){let{visualElement:s}=this.options;if(!s)return;let l=!1,{latestValues:a}=s;if((a.z||a.rotate||a.rotateX||a.rotateY||a.rotateZ||a.skewX||a.skewY)&&(l=!0),!l)return;let u={};a.z&&bS("z",s,u,this.animationValues);for(let c=0;c<NS.length;c++)bS(`rotate${NS[c]}`,s,u,this.animationValues),bS(`skew${NS[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 l,a;if(!this.instance||this.isSVG)return;if(!this.isVisible)return ZD;let u={visibility:""},c=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,u.opacity="",u.pointerEvents=Ka(s?.pointerEvents)||"",u.transform=c?c(this.latestValues,""):"none",u;let f=this.getLead();if(!this.projectionDelta||!this.layout||!f.target){let S={};return this.options.layoutId&&(S.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,S.pointerEvents=Ka(s?.pointerEvents)||""),this.hasProjected&&!Eo(this.latestValues)&&(S.transform=c?c({},""):"none",this.hasProjected=!1),S}let d=f.animationValues||f.latestValues;this.applyTransformsToTarget(),u.transform=vA(this.projectionDeltaWithTransform,this.treeScale,d),c&&(u.transform=c(d,u.transform));let{x:m,y:g}=this.projectionDelta;u.transformOrigin=`${m.origin*100}% ${g.origin*100}% 0`,f.animationValues?u.opacity=f===this?(a=(l=d.opacity)!==null&&l!==void 0?l:this.latestValues.opacity)!==null&&a!==void 0?a: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 S in ps){if(d[S]===void 0)continue;let{correct:E,applyTo:h,isCSSVariable:p}=ps[S],y=u.transform==="none"?d[S]:E(d[S],f);if(h){let v=h.length;for(let x=0;x<v;x++)u[h[x]]=y}else p?this.options.visualElement.renderState.vars[S]=y:u[S]=y}return this.options.layoutId&&(u.pointerEvents=f===this?Ka(s?.pointerEvents)||"":"none"),u}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>{var l;return(l=s.currentAnimation)===null||l===void 0?void 0:l.stop()}),this.root.nodes.forEach(xA),this.root.sharedNodes.clear()}}}function eB(e){e.updateLayout()}function tB(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"?dr(f=>{let d=s?r.measuredBox[f]:r.layoutBox[f],m=dt(d);d.min=n[f].min,d.max=d.min+m}):NA(i,r.layoutBox,n)&&dr(f=>{let d=s?r.measuredBox[f]:r.layoutBox[f],m=dt(n[f]);d.max=d.min+m,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+m)});let l=xs();dl(l,n,r.layoutBox);let a=xs();s?dl(a,e.applyTransform(o,!0),r.measuredBox):dl(a,n,r.layoutBox);let u=!CS(l),c=!1;if(!e.resumeFrom){let f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){let{snapshot:d,layout:m}=f;if(d&&m){let g=Re();ml(g,r.layoutBox,d.layoutBox);let S=Re();ml(S,n,m.layoutBox),RS(g,S)||(c=!0),f.options.layoutRoot&&(e.relativeTarget=S,e.relativeTargetOrigin=g,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:r,delta:a,layoutDelta:l,hasLayoutChanged:u,hasRelativeLayoutChanged:c})}else if(e.isLead()){let{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function rB(e){Pr.value&&ws.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 nB(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function oB(e){e.clearSnapshot()}function xA(e){e.clearMeasurements()}function iB(e){e.isLayoutDirty=!1}function sB(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function EA(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function aB(e){e.resolveTargetDelta()}function lB(e){e.calcProjection()}
72function uB(e){e.resetSkewAndRotation()}function cB(e){e.removeLeadSnapshot()}function TA(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 wA(e,t,r,n){e.min=oe(t.min,r.min,n),e.max=oe(t.max,r.max,n)}function fB(e,t,r,n){wA(e.x,t.x,r.x,n),wA(e.y,t.y,r.y,n)}function dB(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var mB={duration:.45,ease:[.4,0,.1,1]},CA=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),RA=CA("applewebkit/")&&!CA("chrome/")?Math.round:ze;function IA(e){e.min=RA(e.min),e.max=RA(e.max)}function pB(e){IA(e.x),IA(e.y)}function NA(e,t,r){return e==="position"||e==="preserve-aspect"&&!AI(IS(t),IS(r),.2)}function hB(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}var bA=fp({attachResizeListener:(e,t)=>vo(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0});var OS={current:void 0},dp=fp({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!OS.current){let e=new bA({});e.mount(window),e.setOptions({layoutScroll:!0}),OS.current=e}return OS.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>Boolean(window.getComputedStyle(e).position==="fixed")});var OA={pan:{Feature:ip},drag:{Feature:op,ProjectionNode:dp,MeasureLayout:sp}};function mp(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=mp(e),n=new AbortController,o={passive:!0,...t,signal:n.signal};return[r,o,()=>n.abort()]}function PA(e){return!(e.pointerType==="touch"||Zm())}function kA(e,t,r={}){let[n,o,i]=pp(e,r),s=l=>{if(!PA(l))return;let{target:a}=l,u=t(a,l);if(typeof u!="function"||!a)return;let c=f=>{PA(f)&&(u(f),a.removeEventListener("pointerleave",c))};a.addEventListener("pointerleave",c,o)};return n.forEach(l=>{l.addEventListener("pointerenter",s,o)}),i}function LA(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&&$.postRender(()=>i(t,So(t)))}var hp=class extends wt{mount(){let{current:t}=this.node;t&&(this.unmount=kA(t,(r,n)=>(LA(this.node,n,"Start"),o=>LA(this.node,o,"End"))))}unmount(){}};var gp=class extends wt{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=zn(vo(this.node.current,"focus",()=>this.onFocus()),vo(this.node.current,"blur",()=>this.onBlur()))}unmount(){}};var PS=(e,t)=>t?e===t?!0:PS(e,t.parentElement):!1;var gB=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function MA(e){return gB.has(e.tagName)||e.tabIndex!==-1}var Cs=new WeakSet;function _A(e){return t=>{t.key==="Enter"&&e(t)}}function kS(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}var DA=(e,t)=>{let r=e.currentTarget;if(!r)return;let n=_A(()=>{if(Cs.has(r))return;kS(r,"down");let o=_A(()=>{kS(r,"up")}),i=()=>kS(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 BA(e){return fl(e)&&!Zm()}function FA(e,t,r={}){let[n,o,i]=pp(e,r),s=l=>{let a=l.currentTarget;if(!a||!BA(l)||Cs.has(a))return;Cs.add(a),Ts(l,"set");let u=t(a,l),c=(m,g)=>{a.removeEventListener("pointerup",f),a.removeEventListener("pointercancel",d),Ts(m,"release"),!(!BA(m)||!Cs.has(a))&&(Cs.delete(a),typeof u=="function"&&u(m,{success:g}))},f=m=>{(m.isTrusted?yB(m,a instanceof Element?a.getBoundingClientRect():{left:0,top:0,right:window.innerWidth,bottom:window.innerHeight}):!1)?c(m,!1):c(m,!(a instanceof Element)||PS(a,m.target))},d=m=>{c(m,!1)};a.addEventListener("pointerup",f,o),a.addEventListener("pointercancel",d,o),a.addEventListener("lostpointercapture",d,o)};
72return n.forEach(l=>{l=r.useGlobalTarget?window:l;let a=!1;l instanceof HTMLElement&&(a=!0,!MA(l)&&l.getAttribute("tabindex")===null&&(l.tabIndex=0)),l.addEventListener("pointerdown",s,o),a&&l.addEventListener("focus",u=>DA(u,o),o)}),i}function yB(e,t){return e.clientX<t.left||e.clientX>t.right||e.clientY<t.top||e.clientY>t.bottom}function VA(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&&$.postRender(()=>i(t,So(t)))}var yp=class extends wt{mount(){let{current:t}=this.node;t&&(this.unmount=FA(t,(r,n)=>(VA(this.node,n,"Start"),(o,{success:i})=>VA(this.node,o,i?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}};var MS=new WeakMap,LS=new WeakMap,vB=e=>{let t=MS.get(e.target);t&&t(e)},SB=e=>{e.forEach(vB)};function xB({root:e,...t}){let r=e||document;LS.has(r)||LS.set(r,{});let n=LS.get(r),o=JSON.stringify(t);return n[o]||(n[o]=new IntersectionObserver(SB,{root:e,...t})),n[o]}function zA(e,t,r){let n=xB(t);return MS.set(e,r),n.observe(e),()=>{MS.delete(e),n.unobserve(e)}}var EB={some:0,all:1},vp=class extends wt{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:EB[o]},l=a=>{let{isIntersecting:u}=a;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(a)};return zA(this.node.current,s,l)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;let{props:t,prevProps:r}=this.node;["amount","margin","root"].some(TB(t,r))&&this.startObserver()}unmount(){}};function TB({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}var WA={inView:{Feature:vp},tap:{Feature:yp},focus:{Feature:gp},hover:{Feature:hp}};var UA={layout:{ProjectionNode:dp,MeasureLayout:sp}};var YA=O(M(),1);var Ec={current:null},Sp={current:!1};function HA(){if(Sp.current=!0,!!Ma)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Ec.current=e.matches;e.addListener(t),t()}else Ec.current=!1}var wB=[...rS,it,Qt],GA=e=>wB.find(Bm(e));var Ei=new WeakMap;function $A(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,ft(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,ft(s!==void 0?s:o,{owner:e}))}}for(let n in r)t[n]===void 0&&e.removeValue(n);return t}var jA=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],yl=class{scrapeMotionValuesFromProps(t,r,n){return{}}constructor({parent:t,props:r,presenceContext:n,reducedMotionConfig:o,blockInitialAnimation:i,visualState:s},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=vi,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 m=Dt.now();this.renderScheduledAt<m&&(this.renderScheduledAt=m,$.render(this.render,!1,!0))};let{latestValues:a,renderState:u,onUpdate:c}=s;this.onUpdate=c,this.latestValues=a,this.baseTarget={...a},this.initialValues=r.initial?{...a}:{},this.renderState=u,this.parent=t,this.props=r,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=l,this.blockInitialAnimation=Boolean(i),this.isControllingVariants=ms(r),this.isVariantNode=om(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&&t.current);let{willChange:f,...d}=this.scrapeMotionValuesFromProps(r,{},this);for(let m in d){let g=d[m];a[m]!==void 0&&ge(g)&&g.set(a[m],!1)}}mount(t){this.current=t,Ei.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: 5,228 bytes, line 72
72h((r,n)=>this.bindToMotionValue(n,r)),Sp.current||HA(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Ec.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),ur(this.notifyUpdate),ur(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=fr.has(t);n&&this.onBindTransform&&this.onBindTransform();let o=r.on("change",l=>{this.latestValues[t]=l,this.props.onUpdate&&$.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 mo){let r=mo[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):Re()}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<jA.length;n++){let o=jA[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=$A(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=ft(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"&&(Dm(o)||Lm(o))?o=parseFloat(o):!GA(o)&&Qt.test(r)&&(o=_m(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=Ya(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 mi),this.events[t].add(r)}notify(t,...r){this.events[t]&&this.events[t].notify(...r)}};var vl=class extends yl{constructor(){super(...arguments),this.KeyframeResolver=ol}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 CB(e){return window.getComputedStyle(e)}var Sl=class extends vl{constructor(){super(...arguments),this.type="html",this.renderInstance=pm}readValueFromInstance(t,r){if(fr.has(r)){let n=nl(r);return n&&n.default||0}else{let n=CB(t),o=(Fa(r)?n.getPropertyValue(r):n[r])||0;
72return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:r}){return vS(t,r)}build(t,r,n){Wa(t,r,n.transformTemplate)}scrapeMotionValuesFromProps(t,r,n){return Xa(t,r,n)}};var xl=class extends vl{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Re,this.updateDimensions=()=>{this.current&&!this.renderState.dimensions&&mm(this.current,this.renderState)}}getBaseTargetFromProps(t,r){return t[r]}readValueFromInstance(t,r){if(fr.has(r)){let n=nl(r);return n&&n.default||0}return r=hm.has(r)?r:_a(r),t.getAttribute(r)}scrapeMotionValuesFromProps(t,r,n){return ym(t,r,n)}onBindTransform(){this.current&&!this.renderState.dimensions&&$.postRender(this.updateDimensions)}build(t,r,n){Ga(t,r,this.isSVGTag,n.transformTemplate)}renderInstance(t,r,n,o){gm(t,r,n,o)}mount(t){this.isSVGTag=$a(t.tagName),super.mount(t)}};var KA=(e,t)=>Ha(e)?new xl(t):new Sl(t,{allowProjection:e!==YA.Fragment});var XA=C1({...yI,...WA,...OA,...UA},KA);var Zt=GR(XA);var El=O(M(),1);function Ti(e){let t=ii(()=>ft(e)),{isStatic:r}=(0,El.useContext)(ai);if(r){let[,n]=(0,El.useState)(e);(0,El.useEffect)(()=>t.on("change",n),[])}return t}var RB=e=>e&&typeof e=="object"&&e.mix,IB=e=>RB(e)?e.mix:void 0;function wi(...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],l=$m(o,i,{mixer:IB(i[0]),...s});return t?l(n):l}function qA(e,t=100,r){let n=r({...e,keyframes:[0,t]}),o=Math.min(sl(n),2e4);return{type:"keyframes",ease:i=>n.next(o*i).value/t,duration:Bt(o)}}var QA=(e,t,r)=>{let n=t-e;return((r-e)%n+n)%n+e};function xp(e,t){return Gm(e)?e[QA(0,e.length,t)]:e}function Tc(e){return typeof e=="object"&&!Array.isArray(e)}function Ep(e,t,r,n){return typeof e=="string"&&Tc(t)?mp(e,r,n):e instanceof NodeList?Array.from(e):Array.isArray(e)?e:[e]}function ZA(e,t,r){return e*(t+1)}function _S(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 AB(e,t,r){for(let n=0;n<e.length;n++){let o=e[n];o.at>t&&o.at<r&&(di(e,o),n--)}}function JA(e,t,r,n,o,i){AB(e,o,i);for(let s=0;s<t.length;s++)e.push({value:t[s],at:oe(o,i,n[s]),easing:xp(r,s)})}function eN(e,t){for(let r=0;r<e.length;r++)e[r]=e[r]/(t+1)}function tN(e,t){return e.at===t.at?e.value===null?1:t.value===null?-1:0:e.at-t.at}var NB="easeInOut",bB=20;function oN(e,{defaultTransition:t={},...r}={},n,o){let i=t.duration||.3,s=new Map,l=new Map,a={},u=new Map,c=0,f=0,d=0;for(let m=0;m<e.length;m++){let g=e[m];if(typeof g=="string"){u.set(g,f);continue}else if(!Array.isArray(g)){u.set(g.name,_S(f,g.at,c,u));continue}let[S,E,h={}]=g;h.at!==void 0&&(f=_S(f,h.at,c,u));let p=0,y=(v,x,T,w=0,I=0)=>{let A=OB(v),{delay:C=0,times:N=Ym(A),type:b="keyframes",repeat:L,repeatType:D,repeatDelay:R=0,...W}=x,{ease:k=t.ease||"easeOut",duration:V}=x,H=typeof C=="function"?C(w,I):C,ee=A.length,me=pi(b)?b:o?.[b];if(ee<=2&&me){let we=100;if(ee===2&&LB(A)){let Ie=A[1]-A[0];we=Math.abs(Ie)}let K={...W};V!==void 0&&(K.duration=Tt(V));let Ce=qA(K,we,me);k=Ce.ease,V=Ce.duration}V??(V=i);let ke=f+H;N.length===1&&N[0]===0&&(N[1]=1);let Y=N.length-A.length;if(Y>0&&jm(N,Y),A.length===1&&A.unshift(null),L){Or(L<bB,"Repeat count too high, must be less than 20"),V=ZA(V,L);let we=[...A],K=[...N];k=Array.isArray(k)?[...k]:[k];let Ce=[...k];for(let Ie=0;Ie<L;Ie++){A.push(...we);for(let le=0;le<we.length;le++)N.push(K[le]+(Ie+1)),k.push(le===0?"linear":xp(Ce,le-1))}eN(N,L)}let ce=ke+V;JA(T,A,k,N,ke,ce),p=Math.max(H+V,p),d=Math.max(ce,d)};if(ge(S)){let v=rN(S,l);y(E,h,nN("default",v))}else{let v=Ep(S,E,n,a),x=v.length;for(let T=0;T<x;T++){E=E,h=h;let w=v[T],I=rN(w,l);for(let A in E)y(E[A],PB(h,A),nN(A,I),T,x)}}c=f,f+=p}return l.forEach((m,g)=>{for(let S in m){let E=m[S];E.sort(tN);let h=[],p=[],y=[];for(let x=0;x<E.length;x++){let{at:T,value:w,easing:I}=E[x];h.push(w),p.push(kr(0,d,T)),y.push(I||"easeOut")}p[0]!==0&&(p.unshift(0),h.unshift(h[0]),y.unshift(NB)),p[p.length-1]!==1&&(p.push(1),h.push(null)),s.has(g)||s.set(g,{keyframes:{},transition:{}});let v=s.get(g);v.keyframes[S]=h,v.transition[S]={...t,duration:d,ease:y,times:p,...r}}}),s}function rN(e,t){return!t.has(e)&&t.set(e,{}),t.get(e)}function nN(e,t){return t[e]||(t[e]=[]),t[e]}function OB(e){return Array.isArray(e)?e:[e]}function PB(e,t){return e&&e[t]?{...e,...e[t]}:{...e}}var kB=e=>typeof e=="number",LB=e=>e.every(kB);function MB(e,t){return e in t}var Tp=class extends yl{constructor(){super(...arguments),this.type="object"}readValueFromInstance(t,r){if(MB(r,t)){let n=t[r];
72if(typeof n=="string"||typeof n=="number")return n}}getBaseTargetFromProps(){}removeValueFromRenderState(t,r){delete r.output[t]}measureInstanceViewportBox(){return Re()}build(t,r){Object.assign(t.output,r)}renderInstance(t,{output:r}){Object.assign(t,r)}sortInstanceNodePosition(){return 0}};function iN(e){let t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},r=lp(e)?new xl(t):new Sl(t);r.mount(e),Ei.set(e,r)}function sN(e){let t={presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}},r=new Tp(t);r.mount(e),Ei.set(e,r)}function _B(e,t){return ge(e)||typeof e=="number"||typeof e=="string"&&!Tc(t)}function wp(e,t,r,n){let o=[];if(_B(e,t))o.push(ap(e,Tc(t)&&t.default||t,r&&(r.default||r)));else{let i=Ep(e,t,n),s=i.length;Or(Boolean(s),"No valid elements provided.");for(let l=0;l<s;l++){let a=i[l],u=a instanceof Element?iN:sN;Ei.has(a)||u(a);let c=Ei.get(a),f={...r};"delay"in f&&typeof f.delay=="function"&&(f.delay=f.delay(l,s)),o.push(...cl(c,{...t,transition:f},{}))}}return o}function aN(e,t,r){let n=[];return oN(e,t,r,{spring:ll}).forEach(({keyframes:i,transition:s},l)=>{n.push(...wp(l,i,s))}),n}function DB(e){return Array.isArray(e)&&e.some(Array.isArray)}function lN(e){function t(r,n,o){let i=[];DB(r)?i=aN(r,n,e):i=wp(r,n,o,e);let s=new Ja(i);return e&&e.animations.push(s),s}return t}var mr=lN();var wl=O(M());var j=[""],DS={transparent:j},BB={"-webkit-text-fill-color":{partialSupportOk:!0,values:{...DS}},"-ms-overflow-style":{partialSupportOk:!0,values:{none:!0}},"-webkit-box-orient":{alternateName:"box-orient",partialSupportOk:!0,values:{vertical:j}}},uN={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-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},except:["animation-timeline_included"]},"animation-play-state":{},"animation-delay":{},"animation-direction":{},"animation-timing-function":{},"aspect-ratio":{values:{auto:!0}},"backdrop-filter":{},"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:{...DS}},"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:{},"column-gap":{},content:{except:["none_applies_to_elements","alt_text"]},cursor:{values:{pointer:!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}},"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"]}},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
72:!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:{...DS}},"-webkit-font-smoothing":{alternateName:"font-smooth",partialSupportOk:!0,values:{antialiased:j}},"-webkit-line-clamp":{alternateName:"line-clamp"},...BB},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"}
72,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 FB=new Map,VB=new Map;for(let[e,t]of Object.entries(uN.properties))if(t.needsPrefix){let r=`${t.needsPrefix}${e}`;FB.set(r,e),VB.set(e,r)}function Rs({str:e,hashPrefix:t,isUniqueKey:r}){let n=(a,u)=>{let c=`${t}${Math.abs(a).toString(36)}`;return u?`${c}_${u}`:c},o=0,i=0,s="",l=0;for(;o<5;){i=0;for(let a=0;a<e.length;a++){let u=e.charCodeAt(a);i=(i<<5)-i+u+o,i=i&i}if(s=n(i),r(s))return s;o++}for(;;)if(l++,s=n(i,l),r(s))return s}var cN=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)};var fN="#container",zB="css-",BS=new Set,FS=new Map;var wc=new Map,Cp=0,WB=1024,VS=null,Tl=new Map,vn,UB=new Set(["opacity","zIndex","fontWeight","flex","flexGrow","flexShrink","flexBasis","order","lineHeight","gridRow","gridColumn","gridRowStart","gridRowEnd","gridColumnStart","gridColumnEnd","WebkitLineClamp"]),HB=new Set(["font","fontFamily","fontSize","fontStyle","fontVariant","fontWeight","letterSpacing","lineHeight","textAlign","textDecoration","textIndent","textOverflow","textTransform","whiteSpace","wordBreak","wordSpacing"]),GB=new Set(["top","right","bottom","left","width","height","maxWidth","maxHeight","minWidth","minHeight"]),$B=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 jB(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 YB(e){return HB.has(e)?"font":GB.has(e)?"dimension":$B.has(e)?"layout":"other"}function KB(e,t,r=fN){let n=o=>{let i=jB(o);return Object.entries(i).filter(([s,l])=>l!==void 0).map(([s,l])=>{let a=s.replace(/([A-Z])/g,"-$1").toLowerCase();s==="cssFloat"&&(a="float");let u=l;return typeof l=="number"&&!UB.has(s)&&(u=`${l}px`),`${a}: ${u};`}).join(" ")};return`${r?`${r} `:""}.${e} {${n(t)}}`}var zS=new Map;XB();function XB(){typeof window<"u"&&"__serverRenderedCSSClassNames"in window&&typeof window.__serverRenderedCSSClassNames=="object"&&Object.entries(window.__serverRenderedCSSClassNames||{}
72).forEach(([e,t])=>{zS.set(e,t)})}function qB(e){if(Object.keys(e).length===0)return"";let t=JSON.stringify(e);if(t==="{}")return"";let r=Rs({str:t,hashPrefix:zB,isUniqueKey:n=>{let o=FS.get(n);if(o)return o===t;if(zS.has(n)){let i=zS.get(n);return t===i}return!0}});return FS.set(r,t),r}var QB="font-faces-";function dN(e){let t=On(),r=pe(),n=Rs({str:e,hashPrefix:QB,isUniqueKey:o=>{let i=wc.get(o),s=!i||i===e;if(r==="server")return s;let l=document.getElementById(o),a=!l||l?.textContent===e;return s&&a}});r==="server"&&!wc.has(n)&&(t({type:"global-style",styleElId:n,styleSheet:e}),wc.set(n,e)),(0,wl.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),wc.set(n,e),()=>{document.head.removeChild(i),wc.delete(n)}},[e])}function z(e,t){let r=ya(e,_e),n=(0,wl.useMemo)(()=>{let s={};for(let[a,u]of Object.entries(r)){if(u===void 0||u==="")continue;let c=YB(a);s[c]||(s[c]={}),s[c][a]=u}let l=[];for(let a of Object.values(s))l.push({className:qB(a),styles:a});return l},[r]);(0,wl.useInsertionEffect)(()=>{let s=Z.state?.compactDOM||t?"":fN;return n.forEach(({className:l,styles:a})=>{if(!l)return;let u=Tl.get(l);if(u===0&&Cp--,Tl.set(l,(u??0)+1),!BS.has(l)){BS.add(l);let c=KB(l,a,s);vn||(vn=new CSSStyleSheet,document.adoptedStyleSheets.push(vn)),c.toString(),t?vn.insertRule(`@layer figoverridable { ${c} }`,vn.cssRules.length):vn.insertRule(c,vn.cssRules.length)}}),()=>{n.forEach(({className:l})=>{if(!l)return;let u=(Tl.get(l)||0)-1;Tl.set(l,u),u===0&&(Cp++,vn&&Cp>WB&&!VS&&(VS=cN(ZB)))})}},[n]);let o=On();return pe()==="server"&&n.forEach(({className:s,styles:l})=>{o({type:"class-style",className:s,cssProperties:l,classNameSourceStr:JSON.stringify(l)})}),n.map(({className:s})=>s).join(" ")}function ZB(){if(vn){try{let t=Array.from(vn.cssRules).filter(r=>{let n=r.selectorText.substring(1),o=Tl.get(n)===0;return o&&(BS.delete(n),Tl.delete(n),FS.delete(n)),!o});vn.replace(t.map(r=>r.cssText).join(`
73`))}catch(e){Qe.reportError(new J("Error cleaning up styles",e)),console.error("Error cleaning CSS rules:",e)}Cp=0,VS=null}}var WS="global-css-";function Rp({cssString:e,styleElId:t,deleteElsWithPrefix:r,skipValidation:n,prepend:o}){let i=On();pe()==="server"&&e&&(n||void 0,i({type:"global-style",styleElId:t,styleSheet:Ci(e)})),(0,wl.useInsertionEffect)(()=>{if(!e||(n||void 0,document.getElementById(t)))return;let a=[];r&&(a=Array.from(document.head.querySelectorAll(`style[id^="${r}"]`)));let u=document.createElement("style");return u.textContent=Ci(e),u.id=t,o?document.head.insertBefore(u,document.head.firstChild):document.head.appendChild(u),r&&a.forEach(c=>{c.remove()}),()=>{document.head.removeChild(u)}},[e,t,o])}function Ci(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,"}")}var xe=O(M()),Cb=O(Wn());function To(e){return e.type==="FRAME"||e.type==="TEXT"?!!e.behaviors?.marquee:!1}var G;(function(e){e.FIXED="FIXED",e.FILL_PARENT="FILL_PARENT",e.HUG_CONTENTS="HUG_CONTENTS"})(G||(G={}));function Jt(e){return Ri(e)&&e.layoutMode!=="NONE"}function mN(e){return Jt(e)&&"children"in e&&!!e.children&&e.children.length>0}function qr(e,t){return t?(Se(t.children.includes(e.id),"node is parent of other node"),Jt(t)&&e.layoutPositioning!=="ABSOLUTE"):!1}function Ri(e){return e.type==="FRAME"||e.type==="CODE_INSTANCE"||e.type==="CODE_LAYER"||e.type==="REPEATER"}function Ap(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 Ft(e,t,r,n){let i=(()=>{let s=Z.state?.independentRootNode??!1;if(t&&qr(e,t)){let a=t.layoutMode;switch(a){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:Te(a)}}else if(t===null&&(s||n?.renderedByCode))return"FILL_PARENT";let l=Ri(e)&&pN(e);if(l&&e.layoutMode==="HORIZONTAL")switch(e.primaryAxisSizingMode){case"FIXED":return"FIXED";case"AUTO":case void 0:return"HUG_CONTENTS";default:Te(e.primaryAxisSizingMode)}if(l&&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"})();return To(e)&&!r&&i==="HUG_CONTENTS"&&(i="FIXED"),i}function Nt(e,t,r){let n=Z.state?.independentRootNode??!1;if(t&&qr(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:Te(t.layoutMode)}else if(t===null&&(n||r?.renderedByCode))return"FILL_PARENT";let o=Ri(e)&&pN(e);if(o&&e.layoutMode==="VERTICAL")switch(e.primaryAxisSizingMode){case"FIXED":return"FIXED";case"AUTO":case void 0:return"HUG_CONTENTS";default:Te(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 pN(e){return Jt(e)?e.type==="CODE_INSTANCE"||e.type==="CODE_LAYER"||e.type==="REPEATER"?!0:e.type==="FRAME"?e.children.length>0:!1:!1}var Ai="--transform-inner-width",Ni="--transform-inner-height";function Vt(e,t,r){let n=br(Gr(r?.group?.relativeTransform,e.relativeTransform));return t!==null&&gN(n)}function hN(e,t,r,n,o){let i=br(Gr(r?.group?.relativeTransform,e.relativeTransform));if(t==null||!gN(i))return{};let s=i,l=Ft(e,t),a=Nt(e,t),u={};if(u.transform=n?yN(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)){(l===G.HUG_CONTENTS||a===G.HUG_CONTENTS)&&console.warn("Transformed sized determined by both constraints and hug not yet supported.");let{width:c,height:f,transform:d}=Np(e.absoluteBoundingBox.width,e.absoluteBoundingBox.height,i,e.size,e.absoluteBoundingBox,n,o);u.width=c,u.height=f,u.transform=d}else l===G.FILL_PARENT?u.width="100%":u.width="auto",a===G.FILL_PARENT?u.height="100%":u.height="auto";return u}function Np(e,t,r,n,o,i,s){let l=Ii(0,0,r),a=Ii(0,n.y,r),u=Ii(n.x,0,r),c={x:a.x-l.x,y:a.y-l.y},f={x:u.x-l.x,y:u.y-l.y},d=e/o.width,m=t/o.height,g=(T,w)=>Math.sqrt(T*T+w*w),S=g(d*f.x,m*f.y),E=g(d*c.x,m*c.y),h=d*f.x/S,p=m*f.y/S,y=d*c.x/E,v=m*c.y/E,x=i?yN(h,p,y,v,s):`matrix(${h}, ${p}, ${y}, ${v}, 0, 0) `;return{width:S,height:E,transform:x}}function gN(e){return!St(e[0][0],1,lr)||!St(e[1][0],0,lr)||!St(e[0][1],0,lr)||!St(e[1][1],1,lr)}function Cl(e){return!St(Math.abs(e[0][0]),1,lr)||!St(Math.abs(e[1][0]),0,lr)||!St(Math.abs(e[0][1]),0,lr)||!St(Math.abs(e[1][1]),1,lr)}function bp(e){let t=Math.abs(e[0][0]),r=Math.abs(e[0][1]);if(!(St(t,1,lr)&&St(r,0,lr)))return`calc(1px * ((var(${Ni}) * ${r}) + (var(${Ai}) * ${t})))`}function Op(e){let t=Math.abs(e[1][0]),r=Math.abs(e[1][1]);if(!(St(r,1,lr)&&St(t,0,lr)))return`calc(1px * ((var(${Ai}) * ${t}) + (var(${Ni}) * ${r})))`}function Sn(e,t){return Pp(e,t)||kp(e,t)}function Pp(e,t){let r=e.constraints;return qr(e,t)?!1:r?.vertical===hn.TOP_BOTTOM||r?.vertical===hn.SCALE}function kp(e,t){let r=e.constraints;return qr(e,t)?!1:r?.horizontal===pn.LEFT_RIGHT||r?.horizontal===pn.SCALE}function yN(e,t,r,n,o){let i=re(e),s=re(t),l=re(r),a=re(n),u=Math.atan2(s,i)*(180/Math.PI),c=u*Math.PI/180,f=Math.cos(c),d=Math.sin(c),m=i*a-s*l,g=Math.sqrt(i*i+s*s),S=m/g,E=f,h=-d,p=d,y=f,v=(i*E+s*p)/g,x=(i*h+s*y)/g,T=(l*E+a*p)/S,w=(l*h+a*y)/S,I=Math.atan2(T,w)*(180/Math.PI),A=Math.atan2(x,v)*(180/Math.PI),C=Number(u.toFixed(2)),N=Number(I.toFixed(2)),b=Number(A.toFixed(2)),L=Number(g.toFixed(2)),D=Number(S.toFixed(2));if(o){if(o.current!==C){let R=US(o.current,C);C=o.current+R}o.current=C}return`rotate(${C}deg) skewX(${N}deg) skewY(${b}deg) scaleX(${L}) scaleY(${D})`}function US(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}function HS(e,t,r){let n={...Ap(e)},{width:o,height:i,top:s,left:l,bottom:a,right:u,transform:c,aspectRatio:f}=tF(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",n.display="block",l!==void 0&&(n.marginLeft=l),u!==void 0&&(n.marginRight=u),s!==void 0&&(n.marginTop=s),a!==void 0&&(n.marginBottom=a)):(n.position=JB(e,t),l!==void 0&&(n.left
73=l),u!==void 0&&(n.right=u),s!==void 0&&(n.top=s),a!==void 0&&(n.bottom=a)),n}function JB(e,t){return e.scrollBehavior==="STICKY_SCROLLS"?"sticky":Boolean(t?.type==="FRAME"&&t.isResponsiveNode)&&e.scrollBehavior==="FIXED"?"fixed":"absolute"}function Mp(e,t=!1){let{horizontal:r=pn.LEFT,vertical:n=hn.TOP}=(t?void 0:e.constraints)??{};return{horizontal:r,vertical:n}}function eF(e,t){let{horizontal:r,vertical:n}=Mp(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 tF(e,t,r){let{horizontal:n,vertical:o}=eF(e,r?.group?.withinAutoLayout),i=br(Gr(r?.group?.relativeTransform,e.relativeTransform)),s=_p(i,e.size),l=Sn(e,t),a=!l&&Cl(i)?bp(i):void 0,u=!l&&Cl(i)?Op(i):void 0,{transform:c,...f}=nF({nodeWidth:s.width,bboxWidth:a,constraintBox:n,resizing:Ft(e,t),textAlign:e.type==="TEXT"?e.textAlignHorizontal:void 0}),{transform:d,...m}=oF({nodeHeight:s.height,bboxHeight:u,constraintBox:o,resizing:Nt(e,t),textAlign:e.type==="TEXT"?e.textAlignVertical:void 0}),g;if(e.targetAspectRatio&&rF(e,t)){let S=Cl(i)?`${s.width} / ${s.height}`:`${e.targetAspectRatio.x} / ${e.targetAspectRatio.y}`;Pp(e,t)&&(g=S,f.width=void 0),kp(e,t)&&(g=S,m.height=void 0)}return{...f,...m,aspectRatio:g,transform:[c,d].filter(Boolean).join(" ")}}function rF(e,t){let r=Pp(e,t),n=kp(e,t);return!r&&!n?!0:r!==n}function Lp(e,t=!1){return mt(e.pixelOffset,e.sizeFraction,t)}function mt(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 nF({nodeWidth:e,bboxWidth:t,constraintBox:r,resizing:n,textAlign:o}){let i,s,l,a,u=t??(n===G.FIXED?e:void 0);if(r.type==="SCALE"||r.type==="LEFT_RIGHT")i="auto",s=Lp(r.left),l=Lp(r.right,!0);else if(r.type==="RIGHT"){i=u,s="auto";let{pixelOffset:c,sizeFraction:f}=r.right;switch(o){case"CENTER":{l=mt(c-e/2,f,!0),a="translateX(50%)";break}case void 0:case"RIGHT":{l=mt(c,f,!0);break}case"LEFT":case"JUSTIFIED":{l=mt(c-e,f,!0),a="translateX(100%)";break}default:Te(o)}}else if(r.type==="CENTER"){i=u,l="auto";let{pixelOffset:c,sizeFraction:f}=r.left,d=r.right.pixelOffset-c;switch(o){case void 0:case"CENTER":{s=mt(c+d/2,f),a="translateX(-50%)";break}case"LEFT":case"JUSTIFIED":{s=mt(c,f);break}case"RIGHT":{s=mt(c+d,f),a="translateX(-100%)";break}default:Te(o)}}else if(r.type==="LEFT"){i=u,l="auto";let{pixelOffset:c,sizeFraction:f}=r.left;switch(o){case"CENTER":{s=mt(c+e/2,f),a="translateX(-50%)";break}case"LEFT":case"JUSTIFIED":case void 0:{s=mt(c,f);break}case"RIGHT":{s=mt(c+e,f),a="translateX(-100%)";break}default:Te(o)}}else Te(r);return{width:i,left:s,right:l,transform:a}}function oF({nodeHeight:e,bboxHeight:t,constraintBox:r,resizing:n,textAlign:o}){let i,s,l,a,u=t??(n===G.FIXED?e:void 0);if(r.type==="SCALE"||r.type==="TOP_BOTTOM")i="auto",s=Lp(r.top),l=Lp(r.bottom,!0);else if(r.type==="BOTTOM"){i=u,s="auto";let{pixelOffset:c,sizeFraction:f}=r.bottom;switch(o){case"CENTER":{l=mt(c-e/2,f,!0),a="translateY(50%)";break}case void 0:case"BOTTOM":{l=mt(c,f,!0);break}case"TOP":{l=mt(c-e,f,!0),a="translateY(100%)";break}default:Te(o)}}else if(r.type==="CENTER"){i=u,l="auto";let{pixelOffset:c,sizeFraction:f}=r.top,d=r.bottom.pixelOffset-c;switch(o){case void 0:case"CENTER":{s=mt(c+d/2,f),a="translateY(-50%)";break}case"BOTTOM":{s=mt(c+d,f),a="translateY(-100%)";break}case"TOP":{s=mt(c,f);break}default:Te(o)}}else if(r.type==="TOP"){i=u,l="auto";let{pixelOffset:c,sizeFraction:f}=r.top;switch(o){case"CENTER":{s=mt(c+e/2,f),a="translateY(-50%)";break}case"BOTTOM":{s=mt(c+e,f),a="translateY(-100%)";break}case"TOP":case void 0:{s=mt(c,f);break}default:Te(o)}}else Te(r);return{height:i,top:s,bottom:l,transform:a}}function Ii(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 _p(e,t){let r=Ii(0,0,e),n=Ii(t.x,0,e),o=Ii(0,t.y,e),i=Ii(t.x,t.y,e),s=Math.min(r.x,n.x,o.x,i.x),l=Math.max(r.x,n.x,o.x,i.x),a=Math.min(r.y,n.y,o.y,i.y),u=Math.max(r.y,n.y,o.y,i.y),c=l-s,f=u-a,d=re(s),m=re(a),g=re(c),S=re(f);return{x:d,y:m,width:g,height:S}}var iF={NONE:{NORMAL:"row",REVERSE:"row-reverse"},HORIZONTAL:{NORMAL:"row",REVERSE:"row-reverse"},VERTICAL:{NORMAL:"column",REVERSE:"column-reverse"}}
73,Dp={MIN:"flex-start",CENTER:"center",MAX:"flex-end",SPACE_BETWEEN:"space-between",BASELINE:"baseline"};function sF(e){return e.type==="TEXT"&&e.textAutoResize==="HEIGHT"}function vN(e,t,r){let n=Ap(e);if(Jt(t),!t||!Jt(t))return n;let o=Ft(e,t),i=Nt(e,t);if(Vt(e,t,r)){let d=br(Gr(r?.group?.relativeTransform,e.relativeTransform));o!==G.FILL_PARENT&&(n.width=bp(d)),i!==G.FILL_PARENT&&(n.height=Op(d))}else o===G.FIXED&&(e.targetAspectRatio&&i!==G.FIXED?n.aspectRatio=`${e.targetAspectRatio.x} / ${e.targetAspectRatio.y}`:n.width=e.size.x+Wd(e,t)),i===G.FIXED&&(e.targetAspectRatio&&o!==G.FIXED?n.aspectRatio=`${e.targetAspectRatio.x} / ${e.targetAspectRatio.y}`:n.height=e.size.y+Ud(e,t));n.position="relative",e.scrollBehavior==="STICKY_SCROLLS"&&(n.position="sticky",n.top=0),n.flexShrink=0;let s=t.layoutMode,l=s==="HORIZONTAL",a=s==="VERTICAL",u=s==="GRID",c=t&&Ft(t)===G.FIXED,f=t&&Nt(t)===G.FIXED;if(l&&o===G.FILL_PARENT||a&&i===G.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===G.FIXED&&(n.justifySelf=Dp[e.gridChildHorizontalAlign]),e.gridChildVerticalAlign&&i===G.FIXED&&(n.alignSelf=Dp[e.gridChildVerticalAlign])):(l&&c&&o===G.FIXED||a&&f&&Nt(e)===G.FIXED)&&(n.flexShrink,n.flexShrink=0),(l&&i===G.FILL_PARENT||a&&o===G.FILL_PARENT)&&(a?sF(e)?(n.width="min-content",n.minWidth="100%"):n.width="100%":n.height="100%"),Ri(t),Ri(t)&&r?.negativeItemSpacing){let d=t.layoutMode==="HORIZONTAL"?"marginRight":"marginBottom";n[d]=`${r.negativeItemSpacing}px`}return n}var SN=(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=>Ft(i,e)!==G.FILL_PARENT);if(o.length>0){let i=o.map(s=>_p(s.relativeTransform,s.size).width);n=-Math.min(...i)}else Ft(e,t)!==G.FILL_PARENT&&(n=-e.size.x)}else{let o=r.filter(i=>Nt(i,e)!==G.FILL_PARENT);if(o.length>0){let i=o.map(s=>_p(s.relativeTransform,s.size).height);n=-Math.min(...i)}else Nt(e,t)!==G.FILL_PARENT&&(n=-e.size.y)}return Math.max(n,e.itemSpacing)};function GS({node:e,children:t,itemSpacing:r}){let n={},{layoutMode:o,primaryAxisAlignItems:i,counterAxisAlignItems:s,layoutWrap:l,counterAxisSpacing:a=0}=e;if(lF(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=uF(e,t);n.flexDirection=iF[o][e.itemReverseZIndex?"REVERSE":"NORMAL"],i&&(n.justifyContent=Dp[i]),s&&(n.alignItems=Dp[s]),n.alignContent=u,l==="WRAP"&&(n.flexWrap="wrap"),i!=="SPACE_BETWEEN"?!l||l==="NO_WRAP"?r>0&&(n.gap=r):(r===a||a===void 0)&&u!=="space-between"?n.gap=r:u==="space-between"?n.columnGap=r:r<0?n.rowGap=a:n.gap=a===r?a:`${a}px ${r}px`:l==="WRAP"&&u!=="space-between"&&a&&(n.rowGap=a)}return n}function aF(e,t){return t?t.every(r=>cF(r,e)===G.FILL_PARENT):!0}function lF(e,t,r){let n=Jt(t)&&t.strokesIncludedInLayout&&t.type!=="CODE_INSTANCE"&&t.type!=="CODE_LAYER"?tR(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 uF(e,t){if(e.counterAxisAlignContent==="SPACE_BETWEEN")return"space-between";if(e.layoutWrap==="WRAP"&&!aF(e,t))switch(e.counterAxisAlignItems||"MIN"){case"MIN":return"flex-start";case"CENTER":return"center";case"MAX":return"flex-end";case"BASELINE":return"baseline"}return"stretch"}function cF(e,t){return t&&Jt(t)&&t.layoutMode==="VERTICAL"?Ft(e,t):Nt(e,t)}var bi=(e,t)=>{let r=e.scrollBehavior==="STICKY_SCROLLS"||e.scrollBehavior==="FIXED";return{[Oe.ScrollParallax]:r||(t?.isInStickyOrFixedTree??!1)}};var Fp=O(M());function wo(e,t){return`node-${e.replace(/:/g,"_")}${t?`_${t}`:""}`}function Bp(){let e=pe(),t=pd(gd());return ar()?!0:e==="preview"&&t}function ye(e,t){let r=ar(),n=Bp();if(!(r&&t||!n))return wo(e.id,t)}var Vp={top:0,left:void 0,right:void 0,bottom:void 0,pointerEvents:"auto"};
73function Qr({children:e,layoutStyles:t,node:r}){let n=z(t.stickyWrapper??{}),o=ye(r,"sticky-wrapper");return t.stickyWrapper?Fp.default.createElement("div",{id:o,className:n},e):Fp.default.createElement(Fp.default.Fragment,null,e)}function xN(e=[]){return{boxShadow:fF(e),filter:YS(e).filter,backdropFilter:KS(e).backdropFilter}}function fF(e){return[...e].reverse().map(r=>{if(r.type==="DROP_SHADOW")return $S([r]).boxShadow;if(r.type==="INNER_SHADOW")return jS([r]).boxShadow}).filter(r=>!!r).join(", ")||void 0}function $S(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 ${$d(r.color)}`}).filter(r=>!!r).join(", ")||void 0}}function jS(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 ${$d(r.color)}`}).filter(r=>!!r).join(", ")||void 0}}function YS(e){let t=e.find(n=>n.type==="LAYER_BLUR");return{filter:t?`blur(${t.radius/2}px)`:void 0}}function KS(e){let t=e.find(n=>n.type==="BACKGROUND_BLUR");return{backdropFilter:t?`blur(${t.radius/2}px)`:void 0}}function EN(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 ${$d(r.color)}`:r.type==="LAYER_BLUR"&&(t.filter=`blur(${r.radius/2}px)`)),t),{})}function pr({node:e,parent:t,context:r,children:n,depth:o,itemSpacing:i,options:s={isFlattened:!1,canAnimate:!1,previousRotation:void 0}}){let l=Z.state?.independentRootNode??!1,a;qr(e,t)?a=vN(e,t,r):t===null?r?.renderedByCode?a={...HS(e,t,r),position:"relative",top:void 0,right:void 0,bottom:void 0,left:void 0}:l?a=mF(e):a=dF(e):a=HS(e,t,r);let u=hN(e,t,r,s?.canAnimate,s?.previousRotation),c;!s.isFlattened&&mN(e)?c=GS({node:e,children:n,itemSpacing:i}):!s.isFlattened&&(e.type==="CODE_INSTANCE"||e.type==="CODE_LAYER")&&Jt(e)?c=GS({node:e,children:n,itemSpacing:e.itemSpacing}):e.type==="GROUP"?(c=pF(e,t),c.display==="inline-grid"&&(a.lineHeight="0")):c={display:"block"};let d=a.position==="sticky"&&!qr(e,t),m;if(d){let S=t?.size.y&&typeof a.top=="number"?t.size.y-a.top:a.top!==void 0?`calc(100% - ${a.top})`:t?.size.y;m={position:"absolute",top:a.top,left:a.left,bottom:0,right:a.right,height:S,pointerEvents:"none"},a={...a,...Vp}}let g={inner:c,outer:a,stickyWrapper:m,transform:u};return hF(g,e,o),g}function dF(e){let t=Nt(e,null)===G.HUG_CONTENTS?void 0:e.size.y,n=Jt(e)?void 0:e.size.x;return{position:"relative",minWidth:"var(--content-min-width)",width:"100%",height:Nt(e,null)===G.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 mF(e){return{position:"relative",width:"100%",height:"100%"}}function pF(e,t){let r={};return qr(e,t)?(r.display="inline-grid",r.gridTemplateColumns="max-content",r.gridTemplateRows="max-content",r.justifyItems="start",r.alignItems="start"):r.display="contents",r}function hF(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 Rl(e,t,r){if(r?.renderedByCode)return{};if(t&&"clipsContent"in e&&e.clipsContent===!1)return{overflow:"visible"};let n=To(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"),l=i?"auto":"clip";return t?{overflowX:l,overflowY:s?"auto":"clip"}:Z.state?.withBaseStyles?{overflowX:i?"auto":"hidden"}:{}}function TN(e,t,r,n){let{cursor:o,opacity:i,...s}=r,l,a,u,c;e.effects&&(l=$S(e.effects),a=jS(e.effects),u=YS(e.effects),c=KS(e.effects));let f=ba(e),d=!!a?.boxShadow,m={...l},g=f||n?{...m,...rR(e,t,n),pointerEvents:"none"}:void 0,S=Nv(e),{topLeft:E,topRight:h,bottomRight:p,bottomLeft:y}=S,v={borderTopLeftRadius:E,borderTopRightRadius:h,borderBottomRightRadius:p,borderBottomLeftRadius:y,cursor:o,opacity:i,...u,...!f&&m},x={...s},T={...c,borderTopLeftRadius:E,borderTopRightRadius:h,borderBottomRightRadius:p,borderBottomLeftRadius:y}
73,w=d?{...a,...g?{top:g.top,left:g.left,right:g.right,bottom:g.bottom}:void 0}:void 0;return{containerStyles:v,clipperStyles:x,borderStyles:g,shadowStyles:w,sharedBackgroundStyles:T}}function hr({node:e,parent:t,children:r,context:n}){let o={position:"relative"};if(!t&&!Z.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=Ft(e,t,!1,n);i!==G.HUG_CONTENTS&&(o.width="100%");let s=Nt(e,t,n);s!==G.HUG_CONTENTS&&(o.height="100%");let l=qr(e,t),a=()=>{let c=l?Wd(e,t):0,f=Math.min(e.maxWidth||Number.POSITIVE_INFINITY,e.size.x);o.width=f+c},u=()=>{let c=l?Ud(e,t):0,f=Math.min(e.maxHeight||Number.POSITIVE_INFINITY,e.size.y);o.height=f+c};if(To(e)){let c=Ft(e,t,!0,n),f=e.type==="FRAME"&&r?.every(d=>Ft(d,e,!1,n)===G.FILL_PARENT);(c===G.HUG_CONTENTS||c===G.FIXED&&f)&&a()}else Sn(e,t)||(i===G.FIXED&&(e.targetAspectRatio&&s!==G.FIXED?o.aspectRatio=`${e.targetAspectRatio.x} / ${e.targetAspectRatio.y}`:a()),s===G.FIXED&&(e.targetAspectRatio&&i!==G.FIXED?o.aspectRatio=`${e.targetAspectRatio.x} / ${e.targetAspectRatio.y}`:u()));return o}function Oi(e,t){let r={};if(e.accessibleLabel)switch(gF(e)){case"aria-label":r["aria-label"]=e.accessibleLabel;break;case"alt":r.alt=e.accessibleLabel;break;case"none":default:break}return t&&(r["tab-index"]="0"),r}function gF(e){let r=(e.interactions||[]).length>0,n=e.fills?.some(s=>s.type==="IMAGE"),o=e.fills?.some(s=>s.type==="VIDEO"),i=e.type==="IMAGE"||(e.type==="RECTANGLE"||e.type==="FRAME")&&e.isImage;return n&&i?"alt":n||r||o?"aria-label":"none"}var wN;(function(e){e.ARIA_LABEL="aria-label",e.ALT="alt",e.NONE="none"})(wN||(wN={}));var er=O(M());var CN=(e,t,r)=>Math.min(Math.max(r,e),t);var Is=e=>typeof e=="number";var RN=e=>Array.isArray(e)&&!Is(e[0]);var IN=(e,t,r)=>{let n=t-e;return((r-e)%n+n)%n+e};function AN(e,t){return RN(e)?e[IN(0,e.length,t)]:e}var zp=(e,t,r)=>-r*e+r*t+e;var Cc=e=>e;var As=(e,t,r)=>t-e===0?1:(r-e)/(t-e);function Wp(e,t){let r=e[e.length-1];for(let n=1;n<=t;n++){let o=As(0,t,n);e.push(zp(r,1,o))}}function Rc(e){let t=[0];return Wp(t,e-1),t}function XS(e,t=Rc(e.length),r=Cc){let n=e.length,o=n-t.length;return o>0&&Wp(t,o),i=>{let s=0;for(;s<n-2&&!(i<t[s+1]);s++);let l=CN(0,1,As(t[s],t[s+1],i));return l=AN(r,s)(l),zp(e[s],e[s+1],l)}}var Ns=e=>typeof e=="function";var Ic=e=>typeof e=="string";function qS(e,t){return t?e*(1e3/t):0}function Up(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 NN(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 yF={any:0,all:1};function QS(e,t,{root:r,margin:n,amount:o="any"}={}){if(typeof IntersectionObserver>"u")return()=>{};let i=Up(e),s=new WeakMap,l=u=>{u.forEach(c=>{let f=s.get(c.target);if(c.isIntersecting!==Boolean(f))if(c.isIntersecting){let d=t(c);Ns(d)?s.set(c.target,d):a.unobserve(c.target)}else f&&(f(c),s.delete(c.target))})},a=new IntersectionObserver(l,{root:r,rootMargin:n,threshold:typeof o=="number"?o:yF[o]});return i.forEach(u=>a.observe(u)),()=>a.disconnect()}var Hp=new WeakMap,Pi;function vF(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 SF({target:e,contentRect:t,borderBoxSize:r}){var n;(n=Hp.get(e))===null||n===void 0||n.forEach(o=>{o({target:e,contentSize:t,get size(){return vF(e,r)}})})}function xF(e){e.forEach(SF)}function EF(){typeof ResizeObserver>"u"||(Pi=new ResizeObserver(xF))}function bN(e,t){Pi||EF();let r=Up(e);return r.forEach(n=>{let o=Hp.get(n);o||(o=new Set,Hp.set(n,o)),o.add(t),Pi?.observe(n)}),()=>{r.forEach(n=>{let o=Hp.get(n);o?.delete(t),o?.size||Pi?.unobserve(n)})}}var Gp=new Set,Ac;function TF(){Ac=()=>{let e={width:window.innerWidth,height:window.innerHeight},t={target:window,size:e,contentSize:e};Gp.forEach(r=>r(t))},window.addEventListener("resize",Ac)}function ON(e){return Gp.add(e),Ac||TF(),()=>{Gp.delete(e),!Gp.size&&Ac&&(Ac=void 0)}}function PN(e,t){return Ns(e)?ON(e):bN(e,t)}var wF=50,kN=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),MN=()=>({time:0,x:kN(),y:kN()}),CF={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function LN(e,t,r,n){let o=r[t],{length:i,position:s}=CF[t],l=o.current,a=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=As(0,o.scrollLength,o.current);let u=n-a;o.velocity=u>wF?0:qS(o.current-l,u)}function _N(e,t,r){LN(e,"x",t,r),LN(e,"y",t,r),t.time=r}function DN(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 BN={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]};var $p={start:0,center:.5,end:1};function ZS(e,t,r=0){let n=0;if($p[e]!==void 0&&(e=$p[e]),Ic(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 Is(e)&&(n=t*e),r+n}var RF=[0,0];function FN(e,t,r,n){let o=Array.isArray(e)?e:RF,i=0,s=0;return Is(e)?o=[e,e]:Ic(e)&&(e=e.trim(),e.includes(" ")?o=e.split(" "):o=[e,$p[e]?e:"0"]),i=ZS(o[0],r,n),s=ZS(o[1],t),i-s}var IF={x:0,y:0};function VN(e,t,r){let{offset:n=BN.All}=r,{target:o=e,axis:i="y"}=r,s=i==="y"?"height":"width",l=o!==e?DN(o,e):IF,a=o===e?{width:e.scrollWidth,height:e.scrollHeight}:{width:o.clientWidth,height:o.clientHeight}
73,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 m=FN(n[d],u[s],a[s],l[i]);!c&&m!==t[i].interpolatorOffsets[d]&&(c=!0),t[i].offset[d]=m}c&&(t[i].interpolate=XS(Rc(f),t[i].offset),t[i].interpolatorOffsets=[...t[i].offset]),t[i].progress=t[i].interpolate(t[i].current)}function AF(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 zN(e,t,r,n={}){let o=n.axis||"y";return{measure:()=>AF(e,n.target,r),update:i=>{_N(e,r,i),(n.offset||n.target)&&VN(e,r,n)},notify:Ns(t)?()=>t(r):NF(t,r[o])}}function NF(e,t){return e.pause(),e.forEachNative((r,{easing:n})=>{var o,i;if(r.updateDuration)n||(r.easing=Cc),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 Nc=new WeakMap,WN=new WeakMap,JS=new WeakMap,UN=e=>e===document.documentElement?window:e;function bc(e,t={}){var{container:r=document.documentElement}=t,n=NN(t,["container"]);let o=JS.get(r);o||(o=new Set,JS.set(r,o));let i=MN(),s=zN(r,e,i,n);if(o.add(s),!Nc.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()};Nc.set(r,u);let c=UN(r);window.addEventListener("resize",u,{passive:!0}),r!==document.documentElement&&WN.set(r,PN(r,u)),c.addEventListener("scroll",u,{passive:!0})}let l=Nc.get(r),a=requestAnimationFrame(l);return()=>{var u;typeof e!="function"&&e.stop(),cancelAnimationFrame(a);let c=JS.get(r);if(!c||(c.delete(s),c.size))return;let f=Nc.get(r);Nc.delete(r),f&&(UN(r).removeEventListener("scroll",f),(u=WN.get(r))===null||u===void 0||u(),window.removeEventListener("resize",f))}}var HN={m00:1,m01:0,m02:0,m10:0,m11:1,m12:0};function Il(e,t,r=1){return{m00:r,m01:0,m02:e,m10:0,m11:r,m12:t}}var bF={FADE_IN:{opacity:0,transform:HN},SCALE_IN:{opacity:0,transform:Il(0,0,.5)},SCALE_IN_BOTTOM:{opacity:0,transform:Il(0,50,.5)},SLIDE_IN_TOP:{opacity:0,transform:Il(0,-150)},SLIDE_IN_BOTTOM:{opacity:0,transform:Il(0,150)},SLIDE_IN_LEFT:{opacity:0,transform:Il(-150,0)},SLIDE_IN_RIGHT:{opacity:0,transform:Il(150,0)},NONE:{opacity:1,transform:HN}},OF=.75,Un={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]},GN={easingType:"OUT_CUBIC",easingFunction:Un.OUT_CUBIC,transitionDuration:.3},PF={...GN,transitionDuration:.6},kF=50;function zt(e,t){if(!e)return{};let r=t.transform?qe.fromTransform(t.transform):qe.identity();r.multiply(LF(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 e0(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:zt({},t)};for(let i of e){let s=i.behaviorType,l=!1;switch(s){case Oe.Appear:{let a=i;if(!a||r?.[Oe.Appear])break;let u=a.trigger;switch(u){case"PAGE_LOAD":o.hasAppearLoadBehavior=!0,o.initial="initial",o.variants.initial=zt(i.enterState,t),o.transitionToVisible=Zr(i.enterTransition);break;case"THIS_LAYER_IN_VIEW":o.hasAppearScrollIntoViewBehavior=!0,o.initial="initial",o.variants.initial=zt(i.enterState,t),o.variants.exit=zt(i.exitState??i.enterState,t),o.transitionToVisible=Zr(i.enterTransition),o.transitionToExit=Zr(i.exitTransition),o.replayAppearBehavior=!i.playsOnce;break;case"OTHER_LAYER_IN_VIEW":o.hasAppearScrollIntoViewBehavior=!0,o.initial="initial",o.variants.initial=zt(i.enterState,t),o.variants.exit=zt(i.exitState??i.enterState,t),o.appearBehaviorOtherLayer=xt(i.otherLayer),o.transitionToVisible=Zr(i.enterTransition),o.transitionToExit=Zr(i.exitTransition),o.replayAppearBehavior=!i.playsOnce;break;case"SCROLL_DIRECTION":o.hasAppearScrollDirectionBehavior=!0,o.variants.scrollDirection=zt(i.enterState,t),o.transitionBasedOnScrollDirection=Zr(i.enterTransition),o.replayAppearBehavior=!i.playsOnce;break;default:Te(u)}break}case Oe.ScrollTransform:{let a=i;if(!a||r?.[Oe.ScrollTransform])break;
73l=a.fromState.opacity!==a.toState.opacity;let u=a.trigger;switch(u){case"PAGE_HEIGHT":o.hasScrollTransformOnScrollBehavior=!0,o.initial="initial",o.variants.initial=zt(i.fromState,t),o.variants.exit=zt(i.toState,t),o.scrollTransformTransition=Zr(i.transition);break;case"THIS_LAYER_IN_VIEW":o.hasScrollTransformIntoViewBehavior=!0,o.initial="initial",o.variants.initial=zt(i.fromState,t),o.variants.exit=zt(i.toState,t),o.scrollTransformTransition=Zr(i.transition),o.replayScrollTransformBehavior=!i.playsOnce;break;case"OTHER_LAYER_IN_VIEW":o.hasScrollTransformIntoViewBehavior=!0,o.initial="initial",o.variants.initial=zt(i.fromState,t),o.variants.exit=zt(i.toState,t),o.scrollTransformTransition=Zr(i.transition),o.scrollTransformOtherLayer=xt(i.otherLayer),o.replayScrollTransformBehavior=!i.playsOnce;break;default:Te(u)}break}case Oe.Hover:o.hasHoverBehavior=!r?.[Oe.Hover],o.variants.hover=zt(i.state,t),o.transitionToAndFromHover=Zr(i.transition);break;case Oe.Press:o.hasPressBehavior=!r?.[Oe.Press],o.variants.press=zt(i.state,t),o.transitionToAndFromPress=Zr(i.transition);break;case Oe.Focus:o.hasFocusBehavior=!r?.[Oe.Focus],o.variants.focus=zt(i.state,t),o.transitionToAndFromFocus=Zr(i.transition);break;case Oe.ScrollParallax:o.hasScrollSpeedBehavior=!r?.[Oe.ScrollParallax],o.scrollParallaxSpeed=i.speed;break;case Oe.Link:break;case Oe.Cursor:o.hasCursorBehavior=!r?.[Oe.Cursor],o.cursorBehaviorInfo={cursorGuid:xt(i.cursorGuid),cursorImage:n,cursorHotspot:{x:i.hotspotX,y:i.hotspotY}};break;case Oe.Marquee:break;case Oe.Code:break;default:Te(s)}l&&o.scrollTransformTransition&&(o.scrollTransformTransition.repeatDelay=1)}return o.key=JSON.stringify(o),o}function LF(e){return Array.isArray(e)?qe.fromNumbers(e[0][0],e[0][1],e[0][2],e[1][0],e[1][1],e[1][2]):typeof e=="object"?qe.fromNumbers(e.m00,e.m01,e.m02,e.m10,e.m11,e.m12):qe.identity()}function Zr(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:Un.IN_BACK_CUBIC,duration:e.transitionDuration,delay:e.delay};case"OUT_BACK_CUBIC":return{ease:Un.OUT_BACK_CUBIC,duration:e.transitionDuration,delay:e.delay};case"INOUT_BACK_CUBIC":return{ease:Un.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:Un[e.easingType][1],damping:Un[e.easingType][2],mass:Un[e.easingType][0],delay:e.delay};case"CUSTOM_SPRING":{let t=e.easingFunction??Un.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}}}function ki(e,t,r,n,o){let i=ar(),s=(0,er.useRef)(null),l=(0,er.useRef)(null),{key:a,hasBehaviors:u,variants:c,initial:f,appearBehaviorOtherLayer:d,scrollTransformOtherLayer:m,hasAppearLoadBehavior:g,hasAppearScrollIntoViewBehavior:S,hasAppearScrollDirectionBehavior:E,hasHoverBehavior:h,hasPressBehavior:p,hasScrollTransformOnScrollBehavior:y,hasScrollTransformIntoViewBehavior:v,hasScrollSpeedBehavior:x,hasCursorBehavior:T,transitionToVisible:w,transitionToExit:I,transitionToAndFromHover:A,transitionToAndFromPress:C,transitionBasedOnScrollDirection:N,scrollParallaxSpeed:b,replayAppearBehavior:L,replayScrollTransformBehavior:D,scrollTransformTransition:R}=(0,er.useMemo)(()=>{let Y=Object.entries(i?{}:t??{}).map(([we,K])=>({...K,behaviorType:we})),ce=e0(Y,n,o);return CC(ce),ce},[i,t,n,o]),{scale:W}=xn(),k=y||v,V=(0,er.useMemo)(()=>k?{fromState:c[ne.INITIAL],toState:c[ne.EXIT]}:null,[k,c]),H=(0,er.useCallback)(()=>MF({domElement:s.current,hasBehaviors:u,variants:c,hasAppearLoadBehavior:g,hasAppearScrollIntoViewBehavior:S,hasAppearScrollDirectionBehavior:E,hasHoverBehavior:h,hasPressBehavior:p,hasScrollTransformBehavior:k,hasScrollTransformOnScrollBehavior:y,hasScrollTransformIntoViewBehavior:v,hasScrollSpeedBehavior:x,scrollTransformState:V,transitionToVisible:w,transitionToExit:I,transitionToAndFromHover:A,transitionToAndFromPress:C,transitionBasedOnScrollDirection:N,scrollTransformTransition:R,appearBehaviorOtherLayer:d,scrollTransformOtherLayer:m,replayAppearBehavior:L,replayScrollTransformBehavior:D,scrollParallaxSpeed:b,scale:W}),[u,c,g,S,E,h,p,k,y,v,x,V,w,I,A,C,N,R,d,m,L,D,b,W]),ee=(0,er.useCallback)(ke=>{s.current&&l.current?.(),s.current=ke,l.current=H?.(),ke?av(e,ke):lv(e)},[e,H]),me=(0,er.useRef)(e);return(0,er.useLayoutEffect)(()=>{s.current&&av(e,s.current),me.current!==e&&(lv(me.current),me.current=e)},[s,e]),QC({ref:s,hasCursorBehavior:T,assets:r,behaviors:t}),(0,er.useEffect)(()=>
73{if(!(!s.current||!u))return l.current=H(),()=>l.current?.()},[H,u]),u?{ref:ee,key:a,motionProps:{initial:f,variants:c}}:{ref:ee,key:a,motionProps:{}}}function MF(e){let{domElement:t,hasBehaviors:r,variants:n,hasAppearLoadBehavior:o,hasAppearScrollIntoViewBehavior:i,hasAppearScrollDirectionBehavior:s,hasHoverBehavior:l,hasPressBehavior:a,hasScrollTransformBehavior:u,hasScrollTransformOnScrollBehavior:c,hasScrollTransformIntoViewBehavior:f,hasScrollSpeedBehavior:d,scrollTransformState:m,transitionToVisible:g,transitionToExit:S,transitionToAndFromHover:E,transitionToAndFromPress:h,transitionBasedOnScrollDirection:p,scrollTransformTransition:y,appearBehaviorOtherLayer:v,scrollTransformOtherLayer:x,replayAppearBehavior:T,replayScrollTransformBehavior:w,scrollParallaxSpeed:I,scale:A}=e;if(!t||!r)return()=>{};let C=!1,N=[()=>{C=!0}];if(o&&mr(t,n[ne.VISIBLE],g),i){let b=L=>{let D=!1,R;function W(){C||!t||!D||R||(R=mr(t,n[ne.VISIBLE],g).then(()=>{R=void 0,k()}),T||V())}function k(){C||!t||D||R||(R=mr(t,n[ne.EXIT]??n[ne.VISIBLE],S).then(()=>{R=void 0,mr(t,n[ne.INITIAL]??n[ne.VISIBLE],{duration:0}),W()}))}let V=QS(L,()=>(D=!0,W(),()=>{D=!1,k()}));N.push(V)};v?Ku(v).then(L=>{C||b(L)}):t&&b(t)}if(s){let b=bc(L=>{let D=L.y.velocity;D>0?(mr(t,n[ne.SCROLL_DIRECTION]??n[ne.VISIBLE],p),T||b()):D<0&&mr(t,n[ne.VISIBLE],p)},{container:uv()});N.push(b)}if(l){let b=D=>{D.pointerType!=="touch"&&mr(t,n[ne.HOVER]??n[ne.VISIBLE],E)},L=D=>{D.pointerType!=="touch"&&mr(t,n[ne.VISIBLE],E)};t.addEventListener("pointerenter",b),t.addEventListener("pointerleave",L),N.push(()=>{t.removeEventListener("pointerenter",b),t.removeEventListener("pointerleave",L)})}if(a){let b=()=>{mr(t,n[ne.PRESS]??n[ne.VISIBLE],h),window.addEventListener("pointerup",L),window.addEventListener("pointercancel",L)},L=()=>{mr(t,n[ne.VISIBLE],h),window.removeEventListener("pointerup",L),window.removeEventListener("pointercancel",L)};t.addEventListener("pointerdown",b),t.addEventListener("pointerup",L),t.addEventListener("pointercancel",L),N.push(()=>{t.removeEventListener("pointerdown",b),t.removeEventListener("pointerup",L),t.removeEventListener("pointercancel",L),window.removeEventListener("pointerup",L),window.removeEventListener("pointercancel",L)})}if(u){let b=L=>{let D=!1,R=bc(W=>{if(D)return;let k=0;if(c)k=W.y.scrollLength>0?W.y.current/W.y.scrollLength:1;else if(f){let Ce=W.y.current+W.y.containerLength,Ie=W.y.targetOffset,le=W.y.targetLength,Ae=(Ce-Ie)/le;k=Math.min(1,Math.max(0,Ae))}let{fromState:V,toState:H}=m,ee=wi(k,[0,1],[V.opacity,H.opacity]),me=wi(k,[0,1],[V.scaleX,H.scaleX]),ke=wi(k,[0,1],[V.scaleY,H.scaleY]),Y=wi(k,[0,1],[V.translateX,H.translateX]),ce=wi(k,[0,1],[V.translateY,H.translateY]),we=wi(k,[0,1],[V.rotate,H.rotate]);k===1&&!w&&(D=!0);let K=()=>{mr(t,{opacity:ee,scaleX:me,scaleY:ke,translateX:Y,translateY:ce,rotate:we},y)};$.postRender(K)},{container:fv(L),target:L});N.push(R)};x?Ku(x).then(L=>{C||b(L)}):t&&b(t)}if(d){let b=bc(L=>{if(I!==1){let D=L.y.current/A.get()*(1-I);mr(t,{y:D},{duration:0})}},{container:fv(t),target:t});N.push(b)}return()=>{N.forEach(b=>b())}}var Al=(e,t)=>
73(0,er.useMemo)(()=>{if(!(!e||!t))return{transformTemplate:zd(e)}},[e,t]);var _F={ALPHA:"alpha",LUMINANCE:"luminance",VECTOR:"alpha"};function Jr({node:e,context:t}){let{masks:r}=t||{};if(!r)return{};let n=Mp(e,t?.group?.withinAutoLayout),o=r.reduce((s,l)=>{let a=l,u=Na(a.assets,a.hash),c=Z.state.getAssetURL(u.url),{isolatedAbsoluteRenderBounds:f}=a,{absoluteBoundingBox:d}=e,m=Mp(a);if(s.maskImage.push(`url("${c}")`),s.maskRepeat.push("no-repeat"),s.maskClip.push("no-clip"),s.maskComposite.push("intersect"),s.maskMode.push(a.maskType?_F[a.maskType]:"alpha"),f){let g=f.x-d.x,S=f.y-d.y,E=[`${g}px`,`${S}px`],h=[`${f.width}px`,`${f.height}px`];m.horizontal===pn.LEFT_RIGHT&&n.horizontal===m.horizontal&&(E[0]=`${g/d.width*100}%`,h[0]=`${f.width/d.width*100}%`),m.vertical===hn.TOP_BOTTOM&&n.vertical===m.vertical&&(E[1]=`${S/d.height*100}%`,h[1]=`${f.height/d.height*100}%`),s.maskPosition.push(E.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,l])=>[s,l.join(", ")]));return i.WebkitMaskImage=i.maskImage,i.WebkitMaskPosition=i.maskPosition,i.WebkitMaskRepeat=i.maskRepeat,i.WebkitMaskClip=i.maskClip,i.WebkitMaskSize=i.maskSize,i}function gr(e){return e===void 0||e===1?{}:{opacity:e}}function yr(e,t){let r=e?.group?.opacity??1,n=t.opacity??1;return r*n}function jp({children:e,context:t={}}){let r={...t},n=t?.masks;return 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),[])}var $N=O(M());function Hn(...e){return(0,$N.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 Li(e){if(!(!Bp()||/^(Frame|Rectangle|Polygon|Star|Group|Line|Ellipse|Vector|Arrow) \d+$/.test(e.name)))return e.name}function DF(e,t,r,n,o){if(t&&r)return"div";if(t)return n||o?"div":"a";switch(e.accessibleHTMLTag){case"ARTICLE":return"article";case"ASIDE":return"aside";case"FOOTER":return"footer";case"HEADER":return"header";case"MAIN":return"main";case"NAV":return"nav";case"SECTION":return"section";case"AUTO":case"DIV":default:return"div"}}function Yp(e,t,r,n,o){let i=DF(e,t,r,o,n);return{el:n?Zt[i]:i,tag:i}}var _i=O(M()),Oc=O(Wn());var Mi=O(M());var Nl=(0,Mi.forwardRef)(function({children:t,needsMotion:r,motionProps:n,...o},i){return r?Mi.default.createElement(Zt.div,{ref:i,...n,...o},t):Mi.default.createElement("div",{ref:i,...o},t)}),jN=(0,Mi.forwardRef)(function({needsMotion:t,motionProps:r,alt:n,...o},i){return t?Mi.default.createElement(Zt.img,{ref:i,...r,alt:n,...o}):Mi.default.createElement("img",{ref:i,alt:n,...o})});function XN({node:e,parent:t,backgroundInfo:r,sharedBackgroundStyles:n,smartAnimateType:o,transitionData:i}){let s=Xt(i),a=o===q.INSTANCE_SUBTREE&&r.length===0,u={};a?u=n:r.length===1?u={...r[0].backgroundStyles,...n}:r.length>1;let{motionTransitionProps:c,cssStyles:f}=Kr(o,r.length===0?0:1,u,void 0,i,a?void 0:s),d=Kt(o,i,u.transform),m=ye(e,"background"),g=z({position:"absolute",inset:0,pointerEvents:"none"}),S=z(f);if(r.length===1||a){let E=o!==q.NONE,h={...c,...d};return r[0]?.imageProps?_i.default.createElement(YN,{customClassname:(0,Oc.default)(g,S),id:m,imageProps:r[0].imageProps,styles:r[0].backgroundStyles,accessibleLabel:e.accessibleLabel,node:e,parent:t,needsMotion:E,motionProps:h}):_i.default.createElement(Nl,{className:(0,Oc.default)(g,S),needsMotion:E,motionProps:h,id:m})}else{if(r.length===0)return null;{let{backdropFilter:E,...h}=n;return _i.default.createElement("div",{id:m,className:g,style:h},r.map(({backgroundStyles:p,imageProps:y},v)=>{let x=v===r.length-1,T={...h,backdropFilter:x?E:void 0,...p};return y?_i.default.createElement(YN,{key:v,imageProps:y,styles:T,accessibleLabel:e.accessibleLabel,node:e,parent:t,needsMotion:!1,motionProps:{}}):_i.default.createElement("div",{key:v,className:g,style:T})}))}}}function YN({styles:e,node:t,parent:r,accessibleLabel:n,customClassname:o,id:i,needsMotion:s,motionProps:l,imageProps:a}){let{getAssetURL:u}=de(),{url:c,cropDivInfo:f,size:d}=a,m=ye(t,"image-cropper"),g=f?{position:"absolute",width:kn(f.widthPercent),height:kn(f.heightPercent),top:kn(f.topPercent),left:kn(f.leftPercent),maxWidth:"none"}:{maxWidth:"none",...e,position:"absolute",width:"100%",height:"100%"},S=z(f?{...e,overflow:"hidden",position:"absolute",inset:0}:{}),E=z(g),h=f?E:(0,Oc.default)(E,o),p=f?(0,Oc.default)(S,o):S,{srcset:y,sizes:v}=t0(u,t,r,c,d,f?{x:f.widthPercent,y:f.heightPercent}:void 0),x=_i.default.createElement(jN,{loading:t.lazyLoad?"lazy":void 0,className:h,id:i||void 0,alt:n||"",src:u(c),srcSet:y,sizes:t.lazyLoad?`auto,${v}`:v,needsMotion:s,motionProps:l});return f?_i.default.createElement("div",{id:m,className:p},x):x}var KN=[64,128,256,512,1024,1536,2048,2560,3072,3584,4096],BF=3,FF=512;function t0(e,t,r,n,o,i){let s=Ft(t,r)===G.FIXED&&Nt(t,r)===G.FIXED&&!Sn(t,r),l=i??{x:1,y:1},a=`${Math.ceil(l.x*100)}vw`,u=FF,c=Math.max(o.x,o.y);if(s){let d={x:t.size.x*l.x,y:t.size.y*l.y};a=`${d.x}px`,u=o.x>=o.y?d.x:d.y,c=Math.min(c,u*BF)}let f=`${e(n)} ${Math.ceil(o.x)}w`;if(o.x>=o.y)for(let d of KN){if(d<u)continue;if(d>c)break;let m=Math.ceil(d*l.x);f+=`, ${e(n,{width:m})} ${m}w`}else for(let d of KN){if(d<u)continue;if(d>c)break;let m=o.x/o.y,g=Math.ceil(d*l.y);f+=`, ${e(n,{height:g})} ${Math.ceil(g*m)}w`}return{srcset:f,sizes:a}}var qN=O(M()),QN=O(Wn());function ZN({node:e,smartAnimateType:t,nodeHasStrokes:r,transitionData:n,borderStyles:o}){let i=Xt(n),{motionTransitionProps:s,cssStyles:l}=Kr(t,1,o??{},void 0,n,r?i:void 0),a=Kt(t,n,o?.transform),u=ye(e,"border"),c=z(l),f=(0,QN.default)(c);return qN.default.createElement(Nl,{needsMotion:t!==q.NONE,motionProps:{...s,...a},id:u,className:f})}var bl=O(M());var VF=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 zF({id:e,node:t,children:r,style:n}){let{overflowX:o,overflowY:i,borderRadius:s,...l}=n,a=z({overflowX:o,overflowY:i,borderRadius:s,position:"relative",width:"100%",height:"100%",...VF(t)}),u=z(l);return bl.default.createElement("div",{id:e,className:a},bl.default.createElement("div",{className:u},r))}function WF({id:e,style:t,children:r}){let n=z(t);return bl.default.createElement("div",{id:e,className:n},r)}function JN({node:e,children:t,style:r}){let n=ye(e,"clipper");return Jt(e)?bl.default.createElement(zF,{id:n,node:e,style:r},t):bl.default.createElement(WF,{id:n,style:r},t)}var pt=O(M()),mb=O(M()),XF=O(oi()),qF=O(cd()),QF=O(fd()),pb=O(Wn());var Vre=O(M());function UF(e,t,r,n,o){Object.entries(e).forEach(([i,s])=>{(!n||!n[i])&&(t[s]=l=>{let a=r[i];typeof l!=typeof a&&console.error(`Expected value of type ${typeof a} for property ${i}, but got ${typeof l}`),r[i]=l,o?.()})})}function Pc(e){let t={};if(!e)return t;for(let[r,n]of Object.entries(e))n.setter&&(t[r]=n.setter);return t}function vr(e){let t=pe();Se(t!=="server",`${e} should never be rendered on the server.`)}var eb=O(M());function HF(){return()=>{}}function Ol(){return eb.useSyncExternalStore(HF,()=>!0,()=>!1)}var Pl=O(M()),kl=Pl.createContext({name:"",width:0,height:0});function r0({name:e,width:t,height:r,children:n}){let o=Pl.useMemo(()=>({name:e,width:t,height:r}),[e,t,r]);return Pl.createElement(kl.Provider,{value:o},n)}var kc=O(M());function Di({children:e,fallback:t=null}){return Ol()?kc.default.createElement(kc.default.Fragment,null,e
73()):kc.default.createElement(kc.default.Fragment,null,t)}var En=O(M());function GF(e,t,r,n){let o=e(r.get(t));o.type;for(let i of o.children){let s=e(r.get(i)),l=s.name.split("=");if(l[l.length-1]===n)return s.id}return null}var Ll=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:X(i)}:(i=i,i.type,this.idState={type:"VARIABLE_ALIAS",atom:X(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 GF(t,this.componentSetId,this.nodeById,o)}else return t(this.idState.atom)}set(t,r,n){if(this.idState.type==="LITERAL")Q().set(this.idState.atom,n);else{let o=t(this.idState.atom),s=t(this.nodeById.get(n)).name.split("="),l=s[s.length-1];this.variableState.setVariable(o.id,l,r)}}reset(){this.idState.type,this.idState.type==="LITERAL"&&Q().set(this.idState.atom,null)}};var Kp=class{map;nodeById;assetIdToGuid;constructor(t,r){this.map=new WeakMap,this.nodeById=t,this.assetIdToGuid=r}setVariable(t,r,n){let o=Q(),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 yn({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 n0(o,this,this.nodeById);return this.map.set(o,s),s}getAssetGuid(t){return this.assetIdToGuid.get(t)||t}},n0=class{atom;modeAtoms;constructor(t,r,n){this.modeAtoms=new Map,this.atom=X(o=>{let i=o(t),s=i.variableCollectionId,l=o(n.get(r.getAssetGuid(s))),a=f=>{let d=f?.[i.variableCollectionId]??l.defaultModeId,m=this.modeAtoms.get(d);return m||(m=new $F(t,d),this.modeAtoms.set(d,m)),m};return{getModeValue:f=>a(f).atom,setModeValue:(f,d)=>a(d).setValue(f)}})}},$F=class{valueAtom;atom;constructor(t,r){this.valueAtom=X(void 0),this.atom=X(n=>{let i=n(t).valuesByMode[r];return n(this.valueAtom)??i})}setValue(t){Q().set(this.valueAtom,t)}};var Xp=null,o0=null,en=class{instanceState;modeContextState=X({});childNodeProps=new Map;transitionAtom=X(void 0);autoLayoutTransitionAtom=X(void 0);stateResetHandlers=[];variableState;cmsDataState=null;static createRoot(t,r,n){(!Xp||n)&&(Xp=new Kp(t.nodeById,t.assetIdToGuid)),o0||(o0=r);let o={backingComponentId:new Ll("LITERAL",Xp,t.nodeById,null,null),componentPropState:new Map};return new en(Xp,o0,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,l=0;if(r.type==="INSTANCE"){let u=(r.type==="INSTANCE"?r:void 0)?.componentProperties,c=new Ll("LITERAL",this.variableState,n,o,null),f=c;if(u!==void 0){for(let[d,m]of Object.entries(u))if(m.type==="VARIANT"&&(l+=1,"boundVariables"in m&&m.boundVariables)){let g=m.boundVariables.value;g!==void 0&&(f=new Ll("VARIABLE_ALIAS",this.variableState,n,o,g))}}s={backingComponentId:l>1?c:f,componentPropState:new Map}}else s=this.instanceState;return i||(i=new en(this.variableState,this.cmsDataState,s),this.childNodeProps.set(t,i),o&&this.stateResetHandlers.push(i.resetComponentState)),i}};var tb=new Map,jF={renderedByCode:!0};function YF({guid:e,...t}){let r=de(),n=En.useMemo(()=>r?[{key:e,nodeId:e,nodeById:r.websiteData.nodeById,assets:r.websiteData.assets,assetIdToGuid:r.websiteData.assetIdToGuid,guidToUrl:r.websiteData.guidToUrl,animateRootIds:r.websiteData.animateRootIds,stablePathToAssetHash:r.websiteData.stablePathToAssetHash,modeContext:{},parentState:en.createRoot(r.websiteData,null),parentStates:null}]:[],[e,r]),o=Kd(n),i=En.useMemo(()=>{let s=Object.fromEntries(Object.entries(t).filter(([l])=>l.startsWith("data-")));return{...jF,style:t.style,className:t.className,dataAttributes:s}},[t]);return o[0]?En.createElement(Co,{node:o[0],parent:null,context:i}):null}function rb(e,t,r){let[,n]=En.useReducer(a=>a+1,0),{variableState:o,modeContext:i}=e,{finalProps:s,boundVariables:l}=En.useMemo(()=>{let a=Object.fromEntries(Object.entries(sb(e.componentProperties,r))),u=ab(e.componentProperties);return{finalProps:a,boundVariables:u}},[e.componentProperties,r]);if(o&&i)for(let[a,u]of Object.entries(l)){let c=t[a];c&&(s[c]=lb(u,o,i)),ub(u,a,o,s,i,n)}return Object.entries(t).forEach(([a,u])=>{l[a]||(s[u]=c=>{let f=s[a];typeof c!=typeof f&&console.error(`Expected value of type ${typeof f} for property ${a}, but got ${typeof c}`),s[a]=c,n()})}),s}function nb(e){let t=de();if(!t||!e?.length||e[0]?.behaviorType!==Oe.Code)return null;let{websiteData:r}=t,n=Q(),i=e[0].codeComponentId,s=r.assetIdToGuid.get(i)?.toString(),l=s?r.nodeById.get(s):null;return l?n.get(l):null}function ob(e,t,r,n,o){let[,i]=En.useReducer(a=>a+1,0),{finalProps:s,boundVariables:l}=En.useMemo(()=>{let a=Object.fromEntries(Object.entries(sb(e?.componentPropertyDefinitions))),u=r&&r.length>0?r[0]:void 0;if(u&&u.behaviorType===Oe.Code)for(let f of Object.keys(a))f in u.assignments&&u.assignments[f]!==void 0&&(typeof a[f]=="function"&&typeof u.assignments[f]=="str
73ing"?a[f]=ib(u.assignments[f]):a[f]=u.assignments[f]);let c=ab(e?.componentPropertyDefinitions);return{finalProps:a,boundVariables:c}},[r,e?.componentPropertyDefinitions]);if(n&&o)for(let[a,u]of Object.entries(l)){let c=t[a];c&&(s[c]=lb(u,n,o)),ub(u,a,n,s,o,i)}return Object.entries(t).forEach(([a,u])=>{l[a]||(s[u]=c=>{let f=s[a];typeof c!=typeof f&&console.error(`Expected value of type ${typeof f} for property ${a}, but got ${typeof c}`),s[a]=c,i()})}),s}function ib(e){let t=tb.get(e);return t||(t=function(n){return e?En.createElement(YF,{guid:e,...n}):null},tb.set(e,t),t)}function sb(e,t){let r={};if(!e)return r;for(let n in e){let o=e[n],i=n.substring(0,n.lastIndexOf("#"));if(i&&o&&"type"in o)if(o.type==="INSTANCE_SWAP")if("value"in o&&o.value!=="-1:-1")r[i]=ib(o.value);else if(t?.[i]?.defaultValue){let s=t[i].defaultValue;r[i]=s??(()=>null)}else r[i]=()=>null;else if(o.type==="TEXT"){let s="value"in o?o.value:o.defaultValue;r[i]=s.characters}else r[i]="value"in o?o.value:"defaultValue"in o?o.defaultValue:void 0}return r}function ab(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 lb(e,t,r){let n=Q().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}t.setVariable(e,o,r)}}function ub(e,t,r,n,o,i){let s=Q(),l=s.get,a=r.getVariable(e,l);if(a?.atom){let c=s.get(a.atom).getModeValue(o),f=r.evaluateVariable(l,e,o);return n[t]=f,s.sub(c,()=>{let m=r.evaluateVariable(l,e,o);n[t]=m,i()})}}async function qp(e,t){let r=(t||"default").split(".");if(r.length===0)throw new Error(`Code export name ${t} is empty`);let[n,o]=r;if(typeof e!="object")throw new Error(`Code export ${t} is not an object`);let s=e[n];if(r.length===1){if(s==null)throw new Error(`Code export ${t} (${n}) is nullish`);return s}if(typeof s!="function")throw new Error(`Code export ${t} (${n}) is not an function`);let l=await s();if(typeof l!="object")throw new Error(`Code export ${t} (${o}) is not an object`);let a=l[o];if(a==null)throw new Error(`Code export ${t} (${o}) is nullish`);return a}var cb=O(M()),KF=class fb{renderHooks;constructor(t=[]){this.renderHooks=t}cloneWithAdditionalHook(t){return new fb([...this.renderHooks,t])}},bs=cb.createContext(new KF);var db=O(M()),Lc=db.createContext({isSnapshot:!1,snapshot:()=>{},enableManualSnapshot:()=>{}});var hb=pt.forwardRef(({children:e,outerStyles:t},r)=>{let n=z({display:"flex",...t}),o=(0,pb.default)(n,"tailwind","code-behavior-wrapper");return pt.createElement("div",{ref:r,className:o},e)});hb.displayName="CodeWrapperDiv";var Ro=pt.forwardRef(({children:e,codeBehaviors:t,variableState:r,modeContext:n,outerStyles:o},i)=>pt.createElement(Di,null,()=>pt.createElement(hb,{ref:i,outerStyles:o},pt.createElement(ZF,{codeBehaviors:t,variableState:r,modeContext:n},e))));Ro.displayName="CodeBehaviorWrapper";function ZF({children:e,codeBehaviors:t,variableState:r,modeContext:n}){vr("CodeComponentContent");let o=Ol(),i=de(),[s,l]=pt.useState(null);window.__GLOBALS__={React:pt,ReactJSXRuntime:XF,ReactDOM:qF,ReactDOMClient:QF,SnapshotContext:Lc,RenderHooksContext:bs,ActiveBreakpointContext:kl};let a=nb(t),u=de().websiteData.sourceCodeHash,c=fe(u),f=JF(s),d=Pc(f),m=ob(a,d,t,r,n);if(m.children=e,!a||!i)return pt.createElement(pt.Fragment,null,e);let g=i.getCodeComponentURL(a);return pt.useEffect(()=>{import(g).then(async S=>{let E=await qp(S,a.codeExportName);l(()=>E)}).catch(S=>{Qe.reportError(new J(`Failed to fetch dynamically imported code module for "${c}"`)),console.error("Error importing code component:",S)})},[a.codeExportName,g,c]),o?s&&pt.createElement(s,m):pt.createElement(pt.Fragment,null,e)}function JF(e){return e?e[Symbol.for("figma.react.props")]??{}:null}function Bi(){let e=(0,mb.useRef)(null);return{codeBehaviorWrapperRef:e,updateStyles:(r,n)=>{e.current&&(e.current.style.setProperty(Ai,`${n}`),e.current.style.setProperty(Ni,`${r}`))}}}var ue=O(M());var eV="left",tV=6,rV=!1,Qp=ue.default.forwardRef(function({node:t,style:r={},className:n="",children:o},i){let s=t.behaviors?.marquee?.direction??eV,l=t.behaviors?.marquee?.speed??tV,a=t.behaviors?.marquee?.shouldLoopInfinitely??rV,[u,c]=(0,ue.useState)(0),[f,d]=(0,ue.useState)(0),[m,g]=(0,ue.useState)(1),[S,E]=(0,ue.useState)(!1),h=(0,ue.useRef)(null),p=i||h,y=(0,ue.useRef)(null),v=(0,ue.useCallback)(C=>{if(y.current&&p.current){let N=p.current.getBoundingClientRect(),b=y.current.getBoundingClientRect(),L=u===0?N.width:u,D=b.width;if((s==="UP"||s==="DOWN")&&(L=N.height,D=b.height),a&&L&&D){let R=D<L?Math.ceil(L/D):1;g(R)}else g(1);d(D),(u===0||C)&&c(N.width)}},[a,p,u,s]);(0,ue.useEffect)(()=>
73{if(S&&(v(),y.current&&p.current)){let C=new ResizeObserver(()=>{v(!0)});return C.observe(p.current),C.observe(y.current),()=>{C&&C.disconnect()}}},[v,p,S]),(0,ue.useEffect)(()=>{v()},[v,o]),(0,ue.useEffect)(()=>{E(!0)},[]);let x=(0,ue.useMemo)(()=>a?f*m/l:f<u?u/l:f/l,[a,u,f,m,l]),T=(0,ue.useMemo)(()=>({...r,["--width"]:s==="UP"||s==="DOWN"?"100vh":"100%",["--transform"]:s==="UP"?"rotate(-90deg)":s==="DOWN"?"rotate(90deg)":"none"}),[r,s]),w=(0,ue.useMemo)(()=>({["--play"]:"running",["--direction"]:s==="LEFT"?"normal":"reverse",["--duration"]:`${x}s`,["--delay"]:"0s",["--iteration-count"]:"infinite",["--min-width"]:a?"auto":"100%",["--timing-function"]:dv()?"steps(2)":"linear"}),[s,x,a]),I=(0,ue.useMemo)(()=>({["--transform"]:s==="UP"?"rotate(90deg)":s==="DOWN"?"rotate(-90deg)":"none"}),[s]),A=(0,ue.useCallback)(C=>[...Array(Number.isFinite(C)&&C>=0?C:0)].map((N,b)=>ue.default.createElement(ue.Fragment,{key:b},ue.Children.map(o,L=>ue.default.createElement("div",{style:I,className:"marquee-child"},L)))),[I,o]);return S?ue.default.createElement("div",{ref:p,style:T,className:"marquee-container "+n},ue.default.createElement("div",{className:"marquee",style:w},ue.default.createElement("div",{className:"marquee-initial-child-container",ref:y},A(1)),A(m-1)),ue.default.createElement("div",{className:"marquee",style:w},A(m))):null});var Tn=O(M());var tn=O(M());function Mc(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 gb(e){return Array.from(e).some(t=>{let r=t.codePointAt(0);return r!==void 0&&r>127})}function Zp(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 yb(e,t){if(e.type!=="TEXT")return e;let r=t.renderText({characters:e.characters,length:Zp(e.characters),TextComponent:n=>(n.characters&&(e={...e,characters:n.characters}),null)});return r?.props?.characters?{...e,characters:r.props.characters}:e}function vb(e,t){if(e.type!=="TEXT")return e;let r=e.characters,n=r,o=r.replaceAll(/\r/g," ").split(`
74`),i=new Map,s=new Map,l=0;for(let a=0;a<o.length;a++){let u=o[a];if(!u)continue;let c=Mc(u),f=[];i.set(a,f);let d=new Map;s.set(a,d);let m=0;c.forEach((g,S)=>{for(let E=0;E<g.length;E++)d.set(m,S),m++});for(let g=0;g<c.length;g++){let S=c[g]||"",E=t.renderTextCharacter({character:S,index:g,globalIndex:l,columnIndex:g,lineNumber:a,characters:r,TextCharacterComponent:h=>{let p=/[\u2028\u2029]/;if(h.character&&p.test(h.character))return tn.createElement("br",null);if(h.character&&h.character!==S){let y=h.index??g,v=Mc(n);if(y<v.length){let x=v.slice(0,y),T=v.slice(y+1);n=[...x,h.character,...T].join("")}}return tn.createElement("span",{key:`char-${a}-${g}`},h.character??S)}});E?f[g]=E:f[g]=S,l++}}return{...e,...Array.from(i.values()).some(a=>a.some(u=>tn.isValidElement(u)))?{characterWrapper:({char:a,index:u,lineIndex:c})=>{let f=s.get(c)||new Map,d=f.get(u)??0,g=(i.get(c)||[])[d],S=u===0||f.get(u-1)!==d;return S&&tn.isValidElement(g)?g:!S&&tn.isValidElement(g)?"":a},characters:e.characters}:n!==r?{characters:n}:{}}}function Sb(e,t){if(e.type!=="TEXT")return e;let r=e.characters,n=r.replaceAll(/\r/g," ").split(`
75`),o=[];for(let i=0;i<n.length;i++){let s=n[i];if(!s)continue;let l=t.renderTextLine({line:s,index:i,characters:r,length:Zp(s),TextLineComponent:a=>tn.createElement("span",{key:`line-${i}`},a.line??s)});l&&(o[i]=l)}return{...e,...o.length>0?{lineWrapper:({line:i,index:s})=>o[s]||i,characters:e.characters}:{}}}function xb(e,t){if(e.type!=="TEXT")return e;let r=e.characters,n=r.replaceAll(/\r/g," ").split(`
76`),o={},i=0,s=[],l=[];for(let a=0;a<n.length;a++){let u=n[a],c=0,f=0,d=0,m=[],g=u?.split(/(\s+)/g)??[];for(let S of g)if(S){if(/^\s+$/.test(S))o[`${a}:${c}`]=i,s.push({word:S}),c++;else{let E=f,h=p=>t.renderTextWord({word:S,index:E,characters:r,length:Zp(S),TextWordComponent:y=>y.word==null||y.word===S?tn.createElement(tn.Fragment,null,p):tn.createElement("span",{key:`word-${a}-${E}`},y.word)});o[`${a}:${c}`]=i,s.push({render:h,word:S}),c++,f++}i++,m.push(d),d+=S.length}a<n.length-1&&(o[`${a}:${c}`]=i,s.push({word:`
77`}),c++,i++),l.push(m)}return{...e,...s.length>0?{wordWrapper:{render({wordIndex:a,lineIndex:u,originalRenderedWord:c}){let f=o[`${u}:${a}`]??a,d=s[f];return d?d.render?.(c)||d.word:c},groupSpansByWord(a,u){let c=l[a]??[],f=0,d=0,m=[],g=[];for(let S of u)f<c.length-1&&d>=c[f+1]?(g.push(m),m=[S],f++):m.push(S),d+=S?.characters.length??0;return g.push(m),g}}}:{}}}function Eb(e,t,r,n,o){return r?t.getLayerRef({layerRef:r,parentRef:o,Component:()=>null}):n(e)||null}function _c(e,t){return t in e}function Fi({renderNode:e,node:t,codeBehaviorProps:r}){let n=Tn.useContext(bs),o=Tn.useRef(null),i=r?.transformRef||o,s=r?.parentRef;return Tn.useMemo(()=>
77{if(!n?.renderHooks.length)return e(t)||Tn.createElement(Tn.Fragment,null);let l=t;for(let a of n.renderHooks)if(_c(a,"renderText"))l=yb(l,a);else if(_c(a,"renderTextCharacter"))l=vb(l,a);else if(_c(a,"renderTextLine"))l=Sb(l,a);else if(_c(a,"renderTextWord"))l=xb(l,a);else if(_c(a,"getLayerRef"))Eb(l,a,i,e,s);else throw new J("Render hook not supported.");return e(l)||null},[n.renderHooks,t,e,i,s])}var Tb=O(M());function wb({node:e,shadowStyles:t}){let r=ye(e,"shadow"),n=z({position:"absolute",inset:0,borderRadius:"inherit",pointerEvents:"none",...t});return Tb.createElement("div",{id:r,className:n})}var se=O(M());function Jp(e,t){let r=(0,se.useRef)(null);(0,se.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,l=i.contentRect.height;if(r&&r.current&&r.current.width===s&&r.current.height===l)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 i0({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 Sr=se.default.forwardRef(function(t,r){return se.default.createElement(Di,{fallback:se.default.createElement(iV,t)},()=>t.canAnimate?se.default.createElement(oV,{ref:r,...t}):se.default.createElement(nV,{ref:r,...t}))}),nV=se.default.forwardRef(function({node:t,parent:r,context:n,children:o,outerStyles:i,childWrapperStyles:s,transitionData:l,smartAnimateType:a,transformRef:u,onOuterWrapperSizeChange:c},f){let d=ye(t,"transform-wrapper-outer"),m=ye(t,"transform-wrapper-inner"),g=(0,se.useRef)(null),S=u||g,E=Hn(f,S),h=(0,se.useRef)(null),p=(0,se.useMemo)(()=>br(Gr(n?.group?.relativeTransform,t.relativeTransform)),[n?.group?.relativeTransform,t.relativeTransform]),y=(0,se.useMemo)(()=>Sn(t,r),[t,r]),v=ar(),x=(0,se.useCallback)(b=>{let L=b.width,D=b.height;if(Sn(t,r)&&!v){let{width:R,height:W,transform:k}=Np(L,D,p,t.size,t.absoluteBoundingBox);Se(h.current!==null,"TransformWrapperStatic innerRef not set when setting outer size"),h.current.style.setProperty("width",`${R}px`),h.current.style.setProperty("height",`${W}px`),h.current.style.setProperty("transform",k)}},[t,p,r,v]),T=(0,se.useCallback)(b=>{if(Se(S.current!==null,"TransformWrapperStatic outerRef not set when setting inner size"),y||!Cl(p))return;let L=parseFloat(S.current.style.getPropertyValue(Ai)),D=parseFloat(S.current.style.getPropertyValue(Ni));St(L,b.width,1e-4)||(S.current.style.setProperty(Ai,`${b.width}`),c?.(b.height,b.width)),St(D,b.height,1e-4)||(S.current.style.setProperty(Ni,`${b.height}`),c?.(b.height,b.width))},[S,y,p,c]);Jp(S,x),Jp(h,T),(0,se.useLayoutEffect)(()=>{S.current&&x({width:S.current.clientWidth,height:S.current.clientHeight}),h.current&&T({width:h.current.clientWidth,height:h.current.clientHeight})},[]);let{inner:w,outer:I}=i0({outerStyles:i,childWrapperStyles:s}),A=Xt(l),{motionTransitionProps:C}=YC(a??q.NONE,l,A),N=Kt(a??q.NONE,l,i.transform);return se.default.createElement(Nl,{needsMotion:!!a&&a!==q.NONE,motionProps:{...C,...N},id:d,ref:E,className:I},se.default.createElement("div",{id:m,ref:h,className:w},o))}),oV=se.default.forwardRef(function({node:t,parent:r,context:n,children:o,outerStyles:i,childWrapperStyles:s,transitionData:l,previousRotation:a,transformRef:u,onOuterWrapperSizeChange:c},f){let d=ye(t,"transform-wrapper-outer"),m=ye(t,"transform-wrapper-inner"),g=(0,se.useRef)(null),S=u||g,E=Hn(f,S),h=(0,se.useRef)(null),p=(0,se.useRef)(!1),y=(0,se.useRef)(!1),v=p.current&&y.current,[x,T]=(0,se.useState)(void 0),[w,I]=(0,se.useState)(void 0),A=Sn(t,r),C=(0,se.useCallback)(Y=>{let ce=Y.width,we=Y.height;if(p.current=!0,A){let K=br(Gr(n?.group?.relativeTransform,t.relativeTransform)),{width:Ce,height:Ie,transform:le}=Np(ce,we,K,t.size,t.absoluteBoundingBox,!0,a);Se(h.current!==null,"TransformWrapperAnimate innerRef not set when setting outer size"),T({width:Ce,height:Ie,transform:le})}else T(void 0)},[t,n?.group?.relativeTransform,A,a]),N=(0,se.useCallback)(Y=>{y.current=!0,(!w||!St(w.width,Y.width,1e-4)||!St(w.height,Y.height,1e-4))&&(I({width:Y.width,height:Y.height}),c?.(Y.height,Y.width))},[w,c]);Jp(S,C),Jp(h,N);let{transform:b,...L}=s,D=x?{width:x.width,height:x.height}:void 0;if(!x?.transform&&!b){let Y=US(a.current,0);a.current=a.current+Y}let R=`rotate(${a.current}deg) skewX(0deg) skewY(0deg) scaleX(1) scaleY(1)`,W="";A?W=x?.transform??b??R:W=b??x?.transform??R;let{inner:k,outer:V}=i0({outerStyles:i,childWrapperStyles:L,innerState:D}),H={[Ai]:w?.width??0,[Ni]:w?.height??0},ee=Xt(l),{motionTransitionProps:me}=jC(H,v,l,v?ee:void 0),ke=Kt(q.INSTANCE_SUBTREE,l,i.transform);return se.default.createElement(Zt.div,{id:d,ref:E,className:V,...me,...ke},se.default.createElement(Zt.div,{id:m,layout:!0,layoutDependency:l?.i
77d??Rv,className:k,ref:h,transition:l?{duration:l.durationSeconds,...l.motionAnimationData}:{duration:0},initial:{transform:W},animate:{transform:W},onAnimationComplete:v?ee:void 0,onLayoutAnimationComplete:v?ee:void 0,transformTemplate:(Y,ce)=>Y&&Y.transform?`${ce} ${Y.transform}`:ce},o))});function iV({children:e,outerStyles:t,childWrapperStyles:r}){let{inner:n,outer:o}=i0({outerStyles:t,childWrapperStyles:r});return se.default.createElement("div",{className:o},se.default.createElement("div",{className:n},e))}var s0="data-width",a0="data-height",eh=(0,xe.forwardRef)(function({node:t,parent:r,children:n,context:o,depth:i,interactionHandlers:s,transitionProps:l,codeBehaviorProps:a},u){let c=pe(),f=ar(),d=l?.smartAnimateType??q.NONE,m=SN(t,r,n),g=Ia(d,t.maybeAnimateRotation),S=Aa(),E=pr({node:t,parent:r,context:o,depth:i,children:n,itemSpacing:m,options:{canAnimate:g,previousRotation:S}}),h=xn().scalingMode==="SCALE",p=Jr({node:t,context:o}),y=yr(o,t),v=!f,x=Fd(t.fills,t.assets,{width:t.size.x,height:t.size.y},v),T=l?.transitionData,w=Xt(T),I=t.interactions??[],A=zi(I,s,o,c),C=Vi(I),N=xe.default.useMemo(()=>({opacity:y,transform:Jo(E.outer.transform)}),[y,E.outer.transform]),b=bi(t,o),{motionProps:L,key:D,ref:R}=ki(t.id,t.behaviors,t.assets,N,b),W=(0,xe.useRef)(null),k=Hn(R,W),V=Hn(u,k),H=Oi(t,C),ee=To(t),me={...gr(y),...ti(t)},ke=t.scrollBehavior==="FIXED"||t.scrollBehavior==="STICKY_SCROLLS",Y=d===q.INSTANCE_SUBTREE,ce=d!==q.NONE,we=ce||Object.keys(L).length>0,{tag:K,el:Ce}=Yp(t,!!A.onClick,C,we,o?.ancestorIsAnchor),Ie={group:void 0,isInStickyOrFixedTree:ke||(o?.isInStickyOrFixedTree??!1),negativeItemSpacing:m&&m<0?m:void 0,ancestorIsAnchor:o?.ancestorIsAnchor||K==="a"},le=jp({children:n,context:Ie}),Ae=Y?Wv:xe.Fragment,Ye=Y?GC(T,w):void 0,te=xe.default.useMemo(()=>xe.default.createElement(Ae,Ye,le?.length?le.map(([Ut,{key:zc,context:vh}],DO)=>{let F0;return t.type!=="RECTANGLE"&&"itemReverseZIndex"in t&&(F0=t.itemReverseZIndex?le.length-DO:void 0),xe.default.createElement(th,{name:"sites-layer",nodeId:Ut.id,childKey:zc,key:zc,node:Ut,parent:t,context:vh,depth:F0,codeBehaviorProps:{parentRef:W}})}):null),[Ae,Ye,le,t]),Ke=ye(t),bt=Li(t),tt=xe.default.useMemo(()=>{let Ut={"data-name":bt,"data-isimage":t.isImage&&!f?"true":void 0};return o?.dataAttributes&&Object.entries(o.dataAttributes).forEach(([zc,vh])=>{Ut[zc]=vh}),Ut},[bt,t.isImage,f,o?.dataAttributes]),Ue=ba(t),st="clipsContent"in t&&t.clipsContent,xr=eR(t,r),{clipperStyles:Wt,containerStyles:ht,borderStyles:Er,sharedBackgroundStyles:$n,shadowStyles:Ot}=TN(t,r,me,Y),at=hr({node:t,parent:r,children:n}),Dr=le?.length?Rl(t,r,o):{};r||(Z.state?.compactDOM?Dr={overflow:st&&(ht.borderRadius||ht.borderTopLeftRadius||ht.borderTopRightRadius||ht.borderBottomLeftRadius||ht.borderBottomRightRadius)?"clip":void 0}:Z.state?.independentRootNode?Dr={overflow:st?"clip":void 0}:o?.renderedByCode||Z.state?.withBaseStyles&&(tt["data-page-overflowx"]=Dr.overflowX,Dr={overflow:"clip"}));let jn=E.inner,Wl=Jt(t),Ps=r&&"strokesIncludedInLayout"in r&&r.strokesIncludedInLayout,wn=le?.length&&Ue&&st||Wl||Ps||h||ce;if(wn&&(te=xe.default.createElement(JN,{node:t,style:{...Wt,...jn,...Dr,...xr,...at,borderRadius:"inherit"}},te),jn={}),ee){let Ut={...at,...Dr};wn&&(Ut={...Ut,...Wt}),te=xe.default.createElement(Qp,{node:t,style:{...Ut}},te)}let ks=xe.default.useMemo(()=>Er?xe.default.createElement(ZN,{node:t,smartAnimateType:d,nodeHasStrokes:Ue,transitionData:T,borderStyles:Er}):null,[Er,t,d,Ue,T]),Ls=xe.default.useMemo(()=>xe.default.createElement(XN,{node:t,parent:r,sharedBackgroundStyles:{...$n,...xr},backgroundInfo:x,smartAnimateType:d,transitionData:T}),[t,r,$n,xr,x,d,T]),Ui=(Y||Ue||x.length>1||Ot||x.some(Ut=>Ut.needsBackgroundDiv))&&!f,Hi=t.behaviors?.code,Gi=Hi&&Hi.length>0&&t.type!=="REPEATER"&&t.type!=="CMS_RICH_TEXT",Ms=Vt(t,r,o)||g,M0=Ms||Gi,{mixBlendMode:_s}=jr(t.blendMode);Ui||(_s||=x[0]?.backgroundStyles?.mixBlendMode);let Ul={...ht,...jn,...M0?at:E.outer,...E.stickyWrapper?Vp:{},...wn?{}:Wt,...wn?{}:Dr,...Ui?{}:{...$n,...x[0]?.backgroundStyles},...M0?{}:{mixBlendMode:_s},...p,...o?.style||{}};A.onClick&&E.stickyWrapper&&Ul.display===void 0&&(Ul.display="block");let ph=Kt(d,T,Ul.transform),{motionTransitionProps:hh,cssStyles:OO}=Kr(d,y,{...Ul},L.variants,T,w),gh=Al(Ul.transform,L?.variants);ni([L,gh,hh,ph]);let PO=z(OO,o?.renderedByCode),_0=(0,Cb.default)(PO,o?.className);t.type==="FRAME"&&t.isResponsiveNode&&(tt[jd]=wo(t.id),tt[bv]="true",tt[s0]=t.size.x,tt[a0]=t.size.y);let yh=(0,xe.useRef)(null),kO=xe.default.useMemo(()=>({...E.outer,mixBlendMode:_s}),[E.outer,_s]),D0=xe.default.useMemo(()=>Gi?{height:"100%",width:"100%"}:{...E.outer,mixBlendMode:_s},[E.outer,_s,Gi]),{codeBehaviorWrapperRef:LO,updateStyles:B0}=Bi(),Vc=xe.default.useMemo(()=>{let Ut=xe.default.createElement(Ce,{key:D,ref:g?k:V,id:Ke,...A,...tt,...H,...L,...hh,className:_0,...ph,...gh},Ui&&Ls,st?null:ks,te,Ot&&xe.default.createElement(wb,{node:t,shadowStyles:Ot}),st?ks:null);return Ms?xe.default.createElement(Sr,{ref:g||Y?u:null,context:o,node:t,parent:r,outerStyles:D0,childWrapperStyles:{...E.transform},transitionData:T,canAnimate:g,smartAnimateType:d,previousRotation:S,transformRef:yh,onOuterWrapperSizeChange:B0},Ut):Ut},[Ce,D,V,Ke,A,tt,H,L,hh,_0,ph,gh,Ui,Ls,st,ks,te,Ot,t,g,k,Ms,Y,u,o,r,E,T,d,S,yh,D0,B0]),MO=xe.default.useMemo(()=>()=>Vc,[Vc]),_O=Gi?xe.default.createElement(Ro,{codeBehaviors:Hi,variableState:t.variableState,modeContext:t.modeContext,outerStyles:kO,ref:LO},xe.default.createElement(Fi,{node:t,renderNode:MO,codeBehaviorProps:{...a,transformRef:yh}})):Vc;return xe.default.createElement(Qr,{node:t,layoutStyles:E},Gi?_O:Vc)});var Dc="responsive-scaler",Io="--viewport-scale",l0="--viewport-width",u0="--viewport-height",c0="--layout-width",f0="--layout-height",d0="--content-width-unscaled",Rb="data-min-layout-width",Ib="data-max-layout-width",rh={scalingMode:"REFLOW",scalingMinLayoutWidth:320,scalingMaxLayoutWidth:2048,scalingMinFontSize:6,scalingMaxFontSize:288},Ab=Mr.default.createContext({...rh,scale:ft(1),viewportWidth:ft("0"),viewportHe
77ight:ft("0"),layoutWidth:ft("0"),layoutHeight:ft("0"),contentWidth:ft("0")});function xn(){return Mr.default.useContext(Ab)}function Nb({children:e,materializedChildren:t}){let r=pe(),n=Mr.default.useRef(!0),o=hd(),{scalingMode:i,scalingMinLayoutWidth:s,scalingMaxLayoutWidth:l,scalingMinFontSize:a,scalingMaxFontSize:u}=rh;i=o.scalingMode??i,s=o.scalingMinLayoutWidth??s,l=o.scalingMaxLayoutWidth??l,a=o.scalingMinFontSize??a,u=o.scalingMaxFontSize??u;let c=1,f="0",d="0",m="0",g="0",S="0";if(r==="published"&&n.current){n.current=!1;let A=document.querySelector(`#${Dc}`);if(A){let C=A.computedStyleMap();c=parseFloat(C.get(Io)?.toString()??"1"),f=C.get(l0)?.toString()??"0",d=C.get(u0)?.toString()??"0",m=C.get(c0)?.toString()??"0",g=C.get(f0)?.toString()??"0",S=C.get(d0)?.toString()??"0"}}let E=Ti(c),h=Ti(f),p=Ti(d),y=Ti(m),v=Ti(g),x=Ti(S),T=$y(),w=(0,Mr.useMemo)(()=>X(A=>{let C=A(Sa);if(!C.width||!C.height)return{};let N=t[0];if(!N||N.type!=="FRAME"||N.type==="FRAME"&&!N.isResponsiveNode)return{};let b=C.width,L=C.height,D=N.size.x,R=N.size.y;if(i==="REFLOW")return{viewportWidth:b,viewportHeight:L,layoutWidth:D,layoutHeight:R,contentWidth:D,scale:1};let W=Math.max(Math.min(b,l),s);return{scale:W/D,viewportWidth:b,viewportHeight:L,layoutWidth:D,layoutHeight:R,contentWidth:W}}),[t,l,s,i]);(0,Mr.useEffect)(()=>{function A(){let C=T.get(w);C.scale&&E.set(C.scale),C.viewportWidth&&h.set(C.viewportWidth+"px"),C.viewportHeight&&p.set(C.viewportHeight+"px"),C.layoutWidth&&y.set(C.layoutWidth+"px"),C.layoutHeight&&v.set(C.layoutHeight+"px"),C.contentWidth&&x.set(C.contentWidth+"px")}return A(),T.sub(w,()=>{A()})},[T,w,h,p,y,v,E,x]);let I=(0,Mr.useMemo)(()=>({scalingMode:i,scalingMinLayoutWidth:s,scalingMaxLayoutWidth:l,scalingMinFontSize:a,scalingMaxFontSize:u,viewportWidth:h,viewportHeight:p,layoutWidth:y,layoutHeight:v,contentWidth:x,scale:E}),[x,v,y,E,u,l,a,s,i,p,h]);return Mr.default.createElement(Ab.Provider,{value:I},e)}function bb({children:e}){let{scalingMode:t,scalingMinLayoutWidth:r,scalingMaxLayoutWidth:n,scalingMinFontSize:o,scalingMaxFontSize:i,viewportWidth:s,viewportHeight:l,contentWidth:a,scale:u,layoutWidth:c,layoutHeight:f}=xn();sV(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(${Io}))`,"--viewport-height-scaled":`calc(var(--100dvh) / var(${Io}))`,"--content-width-scaled":`calc(var(--content-width-unscaled) / var(${Io}))`,"--content-margin-x-scaled":`max(calc((var(--viewport-width) - var(--max-layout-width)) / var(${Io}) / 2), 0px)`}),m={[l0]:s,[u0]:l,[c0]:c,[f0]:f,[Io]:u,[d0]:a,scale:u};if(t==="REFLOW")return Mr.default.createElement(Mr.default.Fragment,null,e);let g={[Rb]:r,[Ib]:n};return Mr.default.createElement(Zt.div,{suppressHydrationWarning:!0,...g,id:Dc,className:d,style:m},e)}function sV(e){let t=pe(),r=Lw();t==="server"&&e==="SCALE"&&r({elId:"scaler-script",script:`
78      const windowWidth = window.innerWidth;
79      const windowHeight = window.innerHeight;
80      const scalerEl = document.querySelector('#${Dc}');
81      let breakpointEl = null;
82      const breakpointEls = scalerEl?.childNodes || [];
83
84      breakpointEls.forEach((el) => {
85        const style = window.getComputedStyle(el)
86        if (style.display !== 'none') {
87          breakpointEl = el;
88          return false;
89        }
90      });
91
92      if (scalerEl && breakpointEl) {
93        const minWidth = parseInt(scalerEl.getAttribute('${Rb}') || '${rh.scalingMinLayoutWidth}');
94        const maxWidth = parseInt(scalerEl.getAttribute('${Ib}') || '${rh.scalingMaxLayoutWidth}');
95        const width = parseInt(breakpointEl.getAttribute('${s0}') || '0');
96        const height = parseInt(breakpointEl.getAttribute('${a0}') || '0');
97        const contentWidth = Math.max(Math.min(windowWidth, maxWidth), minWidth)
98        const scale = parseFloat((contentWidth / width).toFixed(5));
99        scalerEl.style.transform = 'scale(' + scale + ')';
100        scalerEl.style.setProperty('${Io}', scale);
101        scalerEl.style.setProperty('${l0}', windowWidth + 'px');
102        scalerEl.style.setProperty('${u0}', windowHeight + 'px');
103        scalerEl.style.setProperty('${c0}', width + 'px');
104        scalerEl.style.setProperty('${f0}', height + 'px');
105        scalerEl.style.setProperty('${d0}', contentWidth);
106      }
107    `})}var Ao,aV=(Ao=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}},Tr(Ao,"instance"),Ao),nh=()=>aV.getInstance();var m0;function ih(){return m0||(m0=new Map),m0}function lV(e){let t=ih(),r=t.get(e)||{reverseStateInfo:[]};r.reverseStateInfo.push([]),t.set(e,r)}function uV(e){let r=ih().get(e.target);let n=r.reverseStateInfo[r.reverseStateInfo.length-1];n.push(e)}function cV(e){let t=ih(),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 fV(e,t,r,n){let{variableState:o}=n,i=n.backingComponentIdState,s=[],l=a=>{if(a.connectionType==="CONDITIONAL"){if(a.conditionalActions)for(let u of a.conditionalActions){let c=u.condition?xa(u.condition):void 0;if(c===null)break;
107if(c===void 0||yn({get:e,variableState:o,modeContext:{}},c)){u.actions&&u.actions.forEach(l);break}}return}if(a.navigationType==="SWAP_STATE"){a.transitionNodeID;let u=y0(a,n);let c=i.get(e,n.modeContext),f=c;c||n.node.type==="INSTANCE"&&(f=n.node.mainComponentId);let{sessionID:d,localID:m}=a.transitionNodeID,g=`${d}:${m}`;(t.event?.interactionType==="ON_HOVER"||t.event?.interactionType==="ON_PRESS")&&s.push({oldBackingComponentId:f,newBackingComponentId:g,oldBackingComponentIdStateContents:c,target:u,interactionId:xt(t.id),triggerType:t.event.interactionType,action:a,modeContext:n.modeContext,get:e})}};return r.forEach(l),s}var oh=class{executedReversibleInteractions;hoverInteractionCalc;constructor(t,r,n,o,i){if(this.executedReversibleInteractions=fV(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 l=this.hoverInteractionCalc.parentDeltaStack;for(;s!==null&&s instanceof HTMLElement;){let a=l[l.length-1];if(l.push({target:s,delta:{x:a.delta.x+a.target.offsetLeft,y:a.delta.y+a.target.offsetTop}}),s.id!==Dc)s=s.offsetParent;else{let u=parseFloat(window.getComputedStyle(s).getPropertyValue(Io)||"1");for(let c of l)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()){lV(o);let i=n.get(o);for(let s of i){let l=()=>{let a=s.target,u=a?.get(t,r.modeContext);a&&u===s.newBackingComponentId&&(g0(t,r,s.action,s.newBackingComponentId,s.oldBackingComponentId),s.oldBackingComponentIdStateContents?a.set(t,r.modeContext,s.oldBackingComponentIdStateContents):a.reset()),cV(s)};s.triggerType==="ON_HOVER"?(this.hoverInteractionCalc,s.undoInfo={type:"ON_HOVER",...this.hoverInteractionCalc,undo:l}):s.triggerType==="ON_PRESS"&&(s.undoInfo={type:"ON_PRESS",undo:l}),uV(s)}}}},p0=new Map;function h0(){return p0||(p0=new Map),p0}function Ob(e,t){let r=h0();r.has(e)||r.set(e,[]);let n=r.get(e);n.push(t)}function Pb(e,t){let n=h0().get(e);let o=n.indexOf(t);o!==-1&&n.splice(o,1)}function Ml(e){let r=h0().get(e.nativeEvent.type)||[];for(let n of r)n(e.nativeEvent)}function Lb(){(0,kb.useEffect)(()=>{let e=t=>{ih().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 l;for(let a=s.parentDeltaStack.length-1;a>=0;a--){let u=s.parentDeltaStack[a].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){nh()?.showHoverTargetRectangle(d,"red"),l=!1;break}}}if(l===void 0)for(let{target:a,delta:u}of s.parentDeltaStack){if(!document.contains(a))continue;let c=a.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],m=new DOMRect(f[0],f[1],s.originSize.width,s.originSize.height);nh()?.showHoverTargetRectangle(m,"blue"),t.clientX>f[0]&&t.clientX<d[0]&&t.clientY>f[1]&&t.clientY<d[1]?l=!0:(nh()?.showHoverTargetRectangle(c,"green"),l=!1);break}l===!1&&(s.undo(),o());return}else if(s.type==="ON_PRESS"){t.buttons===0&&(s.undo(),o());return}};o()})};return window.addEventListener("mousemove",e),Ob("mousemove",e),window.addEventListener("mouseup",e),Ob("mouseup",e),()=>{window.removeEventListener("mousemove",e),Pb("mousemove",e),window.removeEventListener("mouseup",e),Pb("mouseup",e)}},[])}var dV=.8;function v0(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 mV(e,t){if(!e.startsWith("/"))return e;if(t==="published")return window.location.host+e}function sh(e,t,r,n){let{variableState:o}=n;for(let i of r)switch(i.connectionType){case"INTERNAL_NODE":vV(e,n,i);break;case"URL":if(i.connectionURL){let s=mV(i.connectionURL,Z.state.env);if(!s)Z.state.setLocation({url:i.connectionURL});else{let{url:l,target:a}=v0(s,i.openUrlInNewTab,Z.state.env);
107window.open(l,a)?.focus()}}break;case"SET_VARIABLE":if(Vu(!0),i.targetVariable&&i.targetVariableData){let s=xa(i.targetVariableData),l=s!==null?yn({get:e,variableState:o,modeContext:n.modeContext},s):null;l!==null?o.setVariable(i.targetVariable.id,l,n.modeContext):console.warn("Error evaluating variable data",i.targetVariableData)}break;case"CONDITIONAL":if(i.conditionalActions)for(let s of i.conditionalActions){let l=s.condition?xa(s.condition):void 0;if(l===null)break;if(l===void 0||yn({get:e,variableState:o,modeContext:n.modeContext},l)){s.actions&&sh(e,t,s.actions,n);break}}break;case"BACK":Z.state.history.back();break;default:console.warn("unknown action type",i)}}function pV(e,t){return r=>{let n=Xu();if(n?.onAnimationComplete){n.onAnimationComplete();return}let o=t.transitionAtom;e(o)?.id===r&&(Mb(r),Q().set(o,void 0));let i=t.autoLayoutTransitionAtom;i&&e(i)?.id===r&&Q().set(i,void 0)}}var hV=0;function gV(e,t,r){if(e?.transitionType==="SMART_ANIMATE")return{id:hV++,durationSeconds:e.transitionDuration??ER,onTransitionEnd:pV(t,r),motionAnimationData:TR(e)}}function yV(e,t){e.type==="COMPONENT"&&t.type;let r=e.size,n=t.size;return r.x!==n.x||r.y!==n.y}function g0(e,t,r,n,o){let i=e(t.nodeById.get(n)),s=e(t.nodeById.get(o)),l=yV(i,s),a=EV(r,t,l),u=gV(r,e,a);Q().set(a.transitionAtom,u),a.autoLayoutTransitionAtom&&Q().set(a.autoLayoutTransitionAtom,u?{...u,layout:!0}:void 0)}function vV(e,t,r){switch(r.navigationType){case"NAVIGATE":S0(r.connectionURL,r.transitionType,r.transitionDuration);break;case"SWAP_STATE":{r.transitionNodeID,Vu(!0);let n=y0(r,t);let o=xV(e,n,t);let{sessionID:i,localID:s}=r.transitionNodeID,l=`${i}:${s}`,a=e(t.nodeById.get(l));if(!a||a.id===tv.id)break;if(g0(e,t,r,o,l),n.set(e,t.modeContext,l),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";SV(n,o,i);break}default:console.warn("unknown navigation type",r);break}}function SV(e,t,r){if(!e)return;let{sessionID:n,localID:o}=e,i=`${n}:${o}`;Ku(i).then(s=>{if(s){let l=wC(s);if(!l)return;let a=l===cv(),u=EC(l),c=TC(l)||a,f=s.getBoundingClientRect(),d=l.getBoundingClientRect(),m=f.top-d.top,g=f.left-d.left,S={x:u?l.scrollLeft+g+t.x:l.scrollLeft,y:c?l.scrollTop+m+t.y:l.scrollTop};(a?window:l).scrollTo({top:S.y,left:S.x,behavior:r?"smooth":"instant"})}})}function S0(e,t,r){let n=t==="SMART_ANIMATE"&&r?{duration:r}:void 0;Se(!!e,"No URL provided for internal navigation");let o=Z.state.setLocation;o({url:e,transition:n})}function xV(e,t,r){let n=t.get(e,r.modeContext);return n||(r.node.type==="INSTANCE"?r.node.mainComponentId:null)}function y0(e,t){let{backingComponentIdState:r,parentStates:n}=t,o=e.stateGroupContext;return(o?n?.get(o):null)?.backingComponentIdState??r}function EV(e,t,r){let{transitionAtom:n,parentStates:o}=t,i=e.stateGroupContext,s=i?o?.get(i):null,l={transitionAtom:s?.transitionAtom??n};return r&&s?.parentAutoLayoutTransitionAtom&&(l.autoLayoutTransitionAtom=s.parentAutoLayoutTransitionAtom),l}function mR(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(m=>m.navigationType==="SWAP_STATE"&&m.connectionType==="INTERNAL_NODE"),i)break;if(!i||!i.transitionNodeID)return n;n=n.filter(d=>d.event?.interactionType!=="ON_CLICK");let{sessionID:s,localID:l}=i.transitionNodeID,a=`${s}:${l}`,{nodeById:u}=t,c=e(u.get(a));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 pR(e,t,r){let n={},o=[],i=[];for(let s of r){let l=s.event?.interactionType;if(l){if(l==="ON_KEY_DOWN"){o.push(s);continue}if(l==="AFTER_TIMEOUT"){i.push(s);continue}n[l]=TV(e,t,s)}}return o.length>0&&(n.ON_KEY_DOWN=wV(e,t,o)),i.length>0&&(n.AFTER_TIMEOUT=i.map(s=>{let l=s.event.transitionTimeout||dV;return{callback:()=>{sh(e,s,s.actions||[],t)},delayMilliseconds:l*1e3,interactionGuid:xt(s.id)||as}})),n}function hR(e,t,r){let n=e(t);return n||e(r)}function TV(e,t,r){return{mouseCallback:ao(n=>{let o=new oh(e,r,r.actions||[],t,n);sh(e,r,r.actions||[],t),o.completeTracking(e,t)},"mouseInteractionHandler")}}function wV(e,t,r){return{keyCallback:n=>{for(let o of r)RR(o,n)&&sh(e,o,o.actions||[],t)}}}var CV=(e,t)=>e?.some(r=>t(r)||r.conditionalActions?.some(n=>n.actions?.some(t)));function Vi(e){return e.some(t=>t.event?.interactionType==="ON_CLICK"&&CV(t.actions,r=>r.navigationType==="SWAP_STATE"))}var _b=!0;setTimeout(()=>{_b=!1},200);var RV=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+(_b?200:0))),o}reserveTimeoutId(){return this.nextId++}deregisterAfterDelayInteractions(t){let r=this.timeoutMap.get(t);r&&(clearTimeout(r),this.timeoutMap.delete(t))}},IV=new RV,Bc=IV;var AV=(e=[],t,r)=>{let n=e.find(o=>o.event?.interactionType==="ON_CLICK");if(!n?.actions){n&&n.actions;return}for(let o of n.actions)if(o.connectionType==="URL"||o.connectionType==="INTERNAL_NODE")return x0(o.connectionType,o.connectionURL,o.openUrlInNewTab,t,r)};function zi(e=[],t,r,n){if(!t)return{};let o={},i=s=>!!s&&!!s.mouseCallback;if(i(t.ON_CLICK)){let s=AV(e,r,n);o.onClick=ao(l=>{t.ON_CLICK?.mouseCallback?.(l),l.preventDefault(),l.stopPropagation()},"onClick"),o={...o,...s}}
107return i(t.MOUSE_ENTER)&&(o.onMouseEnter=ao(s=>{t.MOUSE_ENTER?.mouseCallback?.(s),Ml(s),s.stopPropagation()},"onMouseEnter")),i(t.MOUSE_LEAVE)&&(o.onMouseLeave=ao(s=>{t.MOUSE_LEAVE?.mouseCallback?.(s),Ml(s),s.stopPropagation()},"onMouseLeave")),i(t.MOUSE_DOWN||t.ON_PRESS)&&(o.onMouseDown=ao(s=>{t.MOUSE_DOWN?.mouseCallback?.(s),t.ON_PRESS?.mouseCallback?.(s),Ml(s),s.preventDefault(),s.stopPropagation()},"onMouseDown")),i(t.MOUSE_UP)&&(o.onMouseUp=ao(s=>{t.MOUSE_UP?.mouseCallback?.(s),Ml(s),s.stopPropagation()},"onMouseUp")),i(t.ON_HOVER)&&(o.onMouseMove=ao(s=>{t.ON_HOVER?.mouseCallback?.(s),Ml(s),s.stopPropagation()},"onMouseMove")),o}var ah={};function Db(e,t){let r=[];return e?.AFTER_TIMEOUT&&e.AFTER_TIMEOUT.forEach(({callback:o,delayMilliseconds:i})=>{let s=Bc.reserveTimeoutId(),l=ah[t]??[];l.push({callback:o,delayMilliseconds:i,reservedTimeoutId:s}),ah[t]=l,r.push(s)}),r}function Mb(e){let t=ah[e];t&&t.length&&(t.forEach(({callback:r,delayMilliseconds:n,reservedTimeoutId:o})=>{Bc.registerTimeout(r,n,o)}),delete ah[e])}function Bb(e){let t=[];return e?.AFTER_TIMEOUT&&e.AFTER_TIMEOUT.forEach(({callback:n,delayMilliseconds:o})=>{t.push(Bc.registerTimeout(n,o))}),t}function Fb(e){e.forEach(t=>{Bc.deregisterAfterDelayInteractions(t)})}function x0(e,t,r,n,o){let{ancestorIsAnchor:i}=n??{},s=()=>a=>{a.preventDefault(),a.stopPropagation(),S0(t)},l=()=>a=>{a.preventDefault(),a.stopPropagation(),window.open(t,r?"_blank":"_self","noopener,noreferrer")};if((e==="INTERNAL_NODE"||e==="NODE")&&t){let a=()=>{Z.state.preloadLocation(t)};return i||o==="preview"?{role:"link",tabIndex:0,onClick:s(),onMouseDown:a}:{role:"link",tabIndex:0,href:t,rel:"noreferrer noopener",target:r?"_blank":"_self",onMouseDown:a}}if(e==="URL"&&t){let{url:a,target:u}=v0(t,r,o);return i?{role:"link",tabIndex:0,onClick:l()}:{role:"link",tabIndex:0,href:a,target:u,rel:"noreferrer noopener"}}}function Vb(e,t){let r=null;return(...n)=>{r!==null&&clearTimeout(r),r=setTimeout(()=>{e(...n)},t)}}var We=O(M()),Wb=O(M()),Ub=O(Wn());var zb=new Map,Hb=We.forwardRef(function({node:t,parent:r,interactionHandlers:n,context:o,depth:i,transitionProps:s,codeBehaviorProps:l},a){let u=pe(),c=s?.smartAnimateType??q.NONE,f=c===q.INSTANCE_SUBTREE,d=Ia(c,t.maybeAnimateRotation),m=Aa(),g=pr({node:t,parent:r,context:o,depth:i,children:[],options:{isFlattened:!0,canAnimate:d,previousRotation:m}}),S=Jr({node:t,context:o}),E=t.interactions??[],h=zi(E,n,o,u),p=Vi(E),y=Oi(t,p),v=t.type==="SVG"?o?.group?.opacity??1:yr(o,t),x=We.useMemo(()=>({opacity:v,transform:Jo(g.outer.transform)}),[v,g.outer.transform]),T=bi(t,o),{motionProps:w,key:I,ref:A}=ki(t.id,t.behaviors,t.assets,x,T),C=Hn(a,A),N=bV(!!h.onClick,p,c!==q.NONE||Object.keys(w).length>0,o?.ancestorIsAnchor),b=s?.transitionData,L=Xt(b),D=t.behaviors?.code,R=D&&D.length>0,W=Vt(t,r,o)||d,k=W||R,V=hr({node:t,parent:r}),{mixBlendMode:H}=jr(t.blendMode),ee={...k?V:g.outer,...g.inner,...t.type==="IMAGE"?xN(t.effects):{},...k?{}:{mixBlendMode:H},...gr(v),...ti(t),...S,...o?.style||{}},me=Kt(c,b,ee.transform),{motionTransitionProps:ke,cssStyles:Y}=Kr(c,v,ee,w.variants,b,L),ce=Al(ee.transform,w?.variants);ni([w,ce,ke,me]);let we=ye(t),K=Li(t),Ce=z(Y),Ie=(0,Ub.default)(Ce,o?.className),le=ar(),Ae=t.type==="IMAGE"&&!le,Ye=We.useMemo(()=>({...g.outer,mixBlendMode:H}),[g.outer,H]),te=We.useMemo(()=>R?{height:"100%",width:"100%"}:{...g.outer,mixBlendMode:H},[g.outer,H,R]),Ke=(0,Wb.useRef)(null),{codeBehaviorWrapperRef:bt,updateStyles:tt}=Bi(),Ue=We.useMemo(()=>{if(t.type==="IMAGE"&&(t.size.x===0||t.size.y===0))return null;let Wt=We.createElement(N,{key:I,ref:d?A:C,id:we,className:Ie,...h,...w,...ke,...me,...ce,...y,"data-name":K,"data-isimage":le?void 0:!0,"tab-index":p?0:void 0,...o?.dataAttributes||{}},We.createElement(OV,{node:t,parent:r,shouldOptimizeImages:Ae}));return W?We.createElement(Sr,{ref:d||f?a:null,context:o,node:t,parent:r,outerStyles:te,childWrapperStyles:g.transform,transitionData:b,canAnimate:d,smartAnimateType:c,previousRotation:m,transformRef:Ke,onOuterWrapperSizeChange:tt},Wt):Wt},[N,I,d,A,C,we,Ie,h,w,ke,me,ce,y,K,le,p,t,r,Ae,W,f,a,o,g,b,c,m,te,tt]),st=We.useMemo(()=>()=>Ue,[Ue]),xr=We.useMemo(()=>
107!Ue||!R?Ue:We.createElement(Ro,{codeBehaviors:D,variableState:t.variableState,modeContext:t.modeContext,outerStyles:Ye,ref:bt},We.createElement(Fi,{node:t,renderNode:st,codeBehaviorProps:{...l,transformRef:Ke}})),[Ue,D,t,st,l,Ke,Ye,R,bt]);return Ue===null?null:We.createElement(Qr,{node:t,layoutStyles:g},xr)});function NV(e,t,r){return e?t||r?"div":"a":"div"}function bV(e,t,r,n){let o=NV(e,t,n);return r?Zt[o]:o}function OV({node:e,parent:t,shouldOptimizeImages:r}){let n=Na(e.assets,e.hash);Se(n.type==="GENERATED_ASSET","Expected asset to be a generated asset");let{url:o,offsets:i,size:s}=n,l=de().getAssetURL,a=l(o),u=We.useRef(null),c=We.useCallback(p=>{u.current&&u.current.replaceChildren(p.cloneNode(!0))},[]),f=zb.get(e.hash),d=!1;e.type==="SVG"&&e.isDynamic&&(d=!0),We.useEffect(()=>{if(!d)return;if(f&&u.current){c(f);return}if(u.current&&(u.current.innerHTML=""),!a)return;let p=new AbortController,y=async()=>{try{let x=await fetch(a,{signal:p.signal});v(await x.text())}catch(x){if(console.error("Error loading SVG",x),x.name!=="AbortError")throw new J("Error loading SVG",x)}},v=x=>{if(x==="")return;if(!x){console.warn("No SVG URL provided for",e.id);return}let T=new DOMParser().parseFromString(x,"image/svg+xml"),w=T.querySelector("svg"),I=T.querySelector("parsererror");if(!w||I){console.error("Unable to load SVG",I);return}zb.set(e.hash,w),c(w)};return y(),()=>{p.abort()}},[a,e.hash,f,e.id,e.type,d,c]);let m=z({position:"absolute",top:$u(i.top),left:$u(i.left),right:$u(i.right),bottom:$u(i.bottom),overflow:"visible",display:"block"}),g=z({width:"100%",height:"100%",display:"block",maxWidth:"none"}),S,E;if(s&&r&&(e.type,e.type==="IMAGE")){let{srcset:p,sizes:y}=t0(l,e,t,o,s,void 0);S=p,E=e.lazyLoad?`auto,${y}`:y}let h={};return d&&e.type==="SVG"&&(e.fills.forEach((p,y)=>{p.type==="SOLID"&&(h[`--fill-${y}`]=`rgba(${p.color.r*255}, ${p.color.g*255}, ${p.color.b*255}, ${p.color.a})`)}),e.strokes.forEach((p,y)=>{p.type==="SOLID"&&(h[`--stroke-${y}`]=`rgba(${p.color.r*255}, ${p.color.g*255}, ${p.color.b*255}, ${p.color.a})`)})),We.createElement("div",{className:m,style:h,ref:u},We.createElement("img",{loading:e.lazyLoad?"lazy":void 0,src:a,alt:e.accessibleLabel,width:e.type==="IMAGE"?s?.x:void 0,height:e.type==="IMAGE"?s?.y:void 0,className:g,srcSet:S,sizes:E}))}var Pe=O(M()),Fc=O(Wn());var Gb=O(M());function PV(e,t){if(t){e.stack+=`
108
109React stack:`+t.componentStack;let r=new Error("React component stack where the error occurred");r.stack=t.componentStack,e.cause=r}}var _l=class extends Gb.default.Component{state={hasError:!1,error:null,errorInfo:null};componentDidCatch(t,r){this.setState({error:t,errorInfo:r}),PV(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}};Tr(_l,"contextType",ec);var Wi=_l;var $b;(function(e){e.h1="h1",e.h2="h2",e.h3="h3",e.h4="h4",e.h5="h5",e.h6="h6",e.p="p"})($b||($b={}));var Dl=-.02,Bl={h1:{fontFamily:'"Inter:Bold"',fontSize:"48px",fontWeight:"700",letterSpacing:`${Dl*48}px`},h2:{fontFamily:'"Inter:Bold"',fontSize:"36px",fontWeight:"700",letterSpacing:`${Dl*36}px`},h3:{fontFamily:'"Inter:Bold"',fontSize:"32px",fontWeight:"700",letterSpacing:`${Dl*32}px`},h4:{fontFamily:'"Inter:Bold"',fontSize:"28px",fontWeight:"700",letterSpacing:`${Dl*28}px`},h5:{fontFamily:'"Inter:Bold"',fontSize:"24px",fontWeight:"700",letterSpacing:`${Dl*24}px`},h6:{fontFamily:'"Inter:Bold"',fontSize:"20px",fontWeight:"700",letterSpacing:`${Dl*20}px`},p:{fontFamily:'"Inter:Regular"',fontSize:"16px",fontWeight:"400",lineHeight:"1.5"}};function kV(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 Fl(e){let t={};return(e.format||e.format!=="")&&(t.textAlign=e.format),e.direction&&(t.direction=e.direction),t}function LV(e){let t={...kV(e),whiteSpace:"pre-wrap"},r=z(t),n=(0,Fc.default)(r);return Pe.createElement("span",{className:n},e.text)}function MV(e,t){let r={...Fl(e),...Bl[e.tag]},n=z(r);switch(e.tag){case"h1":return Pe.createElement("h1",{className:n},t);case"h2":return Pe.createElement("h2",{className:n},t);case"h3":return Pe.createElement("h3",{className:n},t);case"h4":return Pe.createElement("h4",{className:n},t);case"h5":return Pe.createElement("h5",{className:n},t);case"h6":return Pe.createElement("h6",{className:n},t);default:Te(e.tag)}}function _V(e,t){let r={...Fl(e),...Bl.p},n=z(r);return e.children.length===0?Pe.createElement("p",{className:n},Pe.createElement("br",null)):Pe.createElement("p",{className:n},t)}function DV(e,t){let r={...Fl(e),...Bl.p},n=z(r),o=(0,Fc.default)(n);return Pe.createElement("blockquote",{className:o},Pe.createElement("p",null,t))}function BV(e,t){let r={...Fl(e),...Bl.p},n=z(r);return Pe.createElement("a",{className:n,href:e.url,rel:e.rel??"",target:e.target??"",title:e.title??""},t)}function FV(e,t){let r={...Fl(e),listStyleType:e.listType==="number"?"decimal":"circle",...Bl.p},n=z(r),o=e.tag,i=(0,Fc.default)(n);return o==="ol"?Pe.createElement("ol",{className:i},t):Pe.createElement("ul",{className:i},t)}function VV(e,t){let r={...Fl(e),...Bl.p},n=z(r);return Pe.createElement("li",{className:n},t)}function jb(e){let t=e.type,r="children"in e?e.children.map((n,o)=>Pe.createElement(Pe.Fragment,{key:o},jb(n))):[];switch(t){case"root":return Pe.createElement("div",{className:"root"},r);case"heading":return MV(e,r);case"paragraph":return _V(e,r);case"linebreak":return Pe.createElement("br",null);case"text":return LV(e);case"link":return BV(e,r);case"quote":return DV(e,r);case"list":return FV(e,r);case"listitem":return VV(e,r);default:Te(t)}}function Yb({node:e,parent:t,context:r,depth:n}
109){let o=pr({node:e,parent:t,context:r,depth:n,children:[],options:{isFlattened:!0}}),i=Jr({node:e,context:r}),s=Vt(e,t,r),u={...{width:hr({node:e,parent:t}).width,height:"auto"},...o.inner,...jr(e.blendMode),...gr(yr(r,e)),...Rl(e,t,r),...i,...r?.style||{}},c=ye(e),f=z(u),d=(0,Fc.default)(f,r?.className);if(!e.richText)return null;let m=aC(JSON.parse(e.richText)),g=Pe.createElement("div",{id:c,className:d},m?jb(m.root):null);return Pe.createElement(Wi,{name:"cms-rich-text",nodeId:e.id},Pe.createElement(Qr,{node:e,layoutStyles:o},s?Pe.createElement(Sr,{context:r,node:e,parent:t,outerStyles:{...o.outer},childWrapperStyles:{...o.transform}},g):g))}var _r=O(M()),zV=O(oi()),WV=O(cd()),UV=O(fd()),Kb=O(Wn());function Xb({node:e,parent:t,context:r,depth:n}){let o=pr({node:e,parent:t,context:r,depth:n,children:[],options:{isFlattened:!0}}),i=Jr({node:e,context:r}),s=Vt(e,t,r),l=hr({node:e,parent:t}),a={...s?l:o.outer,...o.inner,...jr(e.blendMode),...gr(yr(r,e)),...Rl(e,t,r),...i,...r?.style||{}},u=ye(e),c=z(a),f=(0,Kb.default)(c,"tailwind",r?.className),d=_r.createElement("div",{id:u,className:f},_r.createElement(Di,null,()=>_r.createElement(HV,{node:e})));return _r.createElement(Qr,{node:e,layoutStyles:o},s?_r.createElement(Sr,{context:r,node:e,parent:t,outerStyles:{...o.outer},childWrapperStyles:{...o.transform}},d):d)}function HV({node:e}){vr("CodeComponentContent");let t=Ol(),[r,n]=_r.useState(null);window.__GLOBALS__={React:_r,ReactJSXRuntime:zV,ReactDOM:WV,ReactDOMClient:UV,SnapshotContext:Lc,RenderHooksContext:bs,ActiveBreakpointContext:kl};let o=de().getCodeComponentURL(e),i=de().websiteData.sourceCodeHash,s=fe(i);_r.useEffect(()=>{import(o).then(async c=>{let f=await qp(c,e.codeExportName);n(()=>f)}).catch(c=>{let f=new J(`Failed to fetch dynamically imported code module with hash "${s}"`);Qe.reportError(f),console.error("Error importing code component:",f)})},[e.codeExportName,o,s]);let l=GV(r),a=Pc(l),u=rb(e,a,l);return t&&r?_r.createElement(Wi,{name:"code-component",nodeId:e.id},_r.createElement(r,u)):null}function GV(e){return e?e[Symbol.for("figma.react.props")]??{}:null}var rn=O(M());var $V=[[1,0,0],[0,1,0]];function qb({node:e,parent:t,children:r,interactionHandlers:n,context:o,depth:i,transitionProps:s,codeBehaviorProps:l}){let a=pe(),u=o?.group,c=qr(e,t),f=c?$V:e.relativeTransform,d=u?.withinAutoLayout||c,m=!d,g=yr(o,e),S=e.scrollBehavior==="FIXED"||e.scrollBehavior==="STICKY_SCROLLS",E={group:{withinAutoLayout:d,relativeTransform:br(Gr(u?.relativeTransform,f)),opacity:m?g:void 0},masks:o?.masks,isInStickyOrFixedTree:S||(o?.isInStickyOrFixedTree??!1),ancestorIsAnchor:o?.ancestorIsAnchor},h=jp({children:r,context:E}),p=pr({node:e,parent:t,context:o,depth:i,children:r??null}),y=e.interactions??[],v=zi(y,n,o,a),x=Vi(y),T=Oi(e,x),w=rn.default.useMemo(()=>({opacity:g,transform:Jo(p.transform.transform)}),[g,p.transform.transform]),I=bi(e,o),{motionProps:A,key:C,ref:N}=ki(e.id,e.behaviors,e.assets,w,I),b=e.behaviors?.code??[],L=b&&b.length>0,D=Vt(e,t,o)&&c,R=D||!!e.behaviors?.code,W=hr({node:e,parent:t}),k={...p.inner,...R?W:p.outer,...jr(e.blendMode),...m?{}:gr(g),...ti(e)},V=s?.smartAnimateType??q.NONE,{motionTransitionProps:H,cssStyles:ee}=Kr(V,g,k,A.variants,s?.transitionData,Xt(s?.transitionData)),me=Kt(V,s?.transitionData,p.transform.transform);ni([A,H,me]);let ke=V!==q.NONE||Object.keys(A).length>0,{el:Y}=Yp(e,!!v.onClick,x,ke,o?.ancestorIsAnchor),ce=ye(e),we=Li(e),K=z(ee),Ce=(0,rn.useRef)(null),Ie={...p.outer},le=rn.default.useMemo(()=>L?{height:"100%",width:"100%"}:{...p.outer},[p.outer,L]),{codeBehaviorWrapperRef:Ae,updateStyles:Ye}=Bi(),te=rn.default.useMemo(()=>{let bt=rn.default.createElement(Y,{key:C,ref:N,id:ce,className:K,"data-name":we,...v,...T,...A,...H,...me},h?.map(([tt,{key:Ue,context:st}])=>rn.default.createElement(th,{name:"sites-layer",nodeId:tt.id,childKey:Ue,key:Ue,node:tt,parent:e,context:st})));return D?rn.default.createElement(Sr,{node:e,parent:t,context:o,outerStyles:le,childWrapperStyles:{...p.transform},transformRef:Ce,onOuterWrapperSizeChange:Ye},bt):bt},[Y,C,N,ce,K,we,v,T,A,H,me,h,e,D,t,o,p,le,Ye]),Ke=rn.default.useMemo(()=>()=>te,[te]);return L?rn.default.createElement(Ro,{codeBehaviors:b,variableState:e.variableState,modeContext:e.modeContext,outerStyles:Ie,ref:Ae},rn.default.createElement(Fi,{node:e,renderNode:Ke,codeBehaviorProps:{...l,transformRef:Ce}})):te}var Gn=O(M()),iO=O(Wn());var nn=O(M());var jV=[{pattern:/^(https?:\/\/(www\.)?(youtube\.com|youtu\.be)\/.*)/,transform:YV},{pattern:/^(?:https?:)?\/\/(www\.)?google\.com\/maps\/.*|^(?:https?:)?\/\/maps\.google\.com\/.*|^(?:https?:)?\/\/maps\.goo\.gl\/.*/,transform:KV}];function YV(e){let t=null;try{let r=new URL(e);if(t=r.searchParams.get("v")||null,!t){let i=/(?:https?:\/\/)?(?:www\.)?(?:youtube\.com|youtu\.be)\/(?:watch\?v=|embed\/)?([^&?]+)/,l=e.match(i)?.[1]||null;l&&(t=l)}if(!t)return e;let o=new URL(`https://www.youtube.com/embed/${t}`);
109return r.searchParams.forEach((i,s)=>{s!=="v"&&o.searchParams.set(s,i)}),o.toString()}catch{return e}}function KV(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 XV(e){return nn.default.useMemo(()=>{for(let t of jV)if(e.match(t.pattern))return t.transform(e);return e},[e])}function Zb({node:e}){vr("GenericEmbed");let{embedURL:t,embedIframeHtml:r,embedCodeType:n,embedAllowFullscreen:o}=e.syncedState,i=XV(t),s=z({width:"100%",height:"100%"}),l=(0,nn.useMemo)(()=>{if(n==="html"){let u=new DOMParser().parseFromString(r,"text/html").querySelector("iframe");return u?(u.style.width="100%",u.style.height="100%",u.outerHTML):""}else return""},[n,r]);return n==="html"?l.trim()?nn.default.createElement("div",{className:`${s} embed`,dangerouslySetInnerHTML:{__html:l}}):nn.default.createElement(Qb,null):i.trim()?nn.default.createElement("iframe",{src:i,className:`${s} embed`,title:`html-widget-${e.id}`,allowFullScreen:o}):nn.default.createElement(Qb,null)}function Qb(){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 nn.default.createElement("div",{className:e},nn.default.createElement("div",{className:t},nn.default.createElement("svg",{className:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 93 93",fill:"none"},nn.default.createElement("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.
1096967 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"}))))}var Jb=O(M());function eO({node:e}){vr("GoogleMap");let{syncedState:t}=e,{location:r,zoom:n}=t,o=new URL("https://maps.google.com/maps");return o.searchParams.set("output","embed"),o.searchParams.set("q",r||"San Francisco, CA"),o.searchParams.set("z",isFinite(n)?n.toString():"8"),Jb.default.createElement("iframe",{style:{border:"none"},title:`html-widget-${e.id}`,width:"100%",height:"100%",src:o.toString()})}var tr=O(M());var tO;(function(e){e.IDLE="idle",e.PROCESSING="processing",e.SUCCESS="success",e.ERROR="error"})(tO||(tO={}));var qV=/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,QV=/^https?:\/\/([^/]+)[^?]+\??(.+)$/,ZV=e=>{let[,t,r]=e.match(QV)??[null,null,null];return[t,new URLSearchParams(r||"")]},JV=e=>qV.test(String(e).toLowerCase());function rO({node:e}){vr("Mailchimp");let{syncedState:t}=e,{formURL:r,inputPlaceholder:n,submitButtonLabel:o}=t,[i,s]=tr.default.useState(""),[l,a]=tr.default.useState("idle"),[u,c]=tr.default.useState(null);e.widgetType!==Hu.MAILCHIMP&&void 0;let f=x=>{s(x.target.value)},d=x=>{x.key==="Enter"?(x.currentTarget.blur(),m()):x.key==="Escape"&&x.currentTarget.blur()},m=async()=>{if(!JV(i)){c("Invalid email address"),a("error");return}let[x,T]=ZV(r);if(!x||!T){a("error"),c("Missing form URL");return}c(null),a("processing"),T.set("EMAIL",i);try{await fetch(`https://${x}/subscribe/post`,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},body:T.toString()})}catch{a("error"),c("An error occurred, please try again");return}s(""),a("success"),c("Subscribed successfully!"),setTimeout(()=>{a("idle"),c(null)},3e3)},g=l==="processing",S=l==="error",E=l==="error"||l==="success",h={display:"grid",gridTemplateColumns:"1fr auto",alignItems:"center",gap:"8px",padding:"4px"},p={display:"flex"},y={border:"1px solid #CCCCCC",backgroundColor:"rgba(255, 255, 255, 1)",borderRadius:"4px",padding:"10px 12px",color:"rgba(0, 0, 0, 1)",fontSize:"16px",fontFamily:"'Inter', sans-serif",width:"100%"};S&&(y.borderColor="rgba(209, 37, 37, 1)");let v={display:"flex",flexDirection:"row",justifyContent:"center",alignItems:"center",position:"relative",backgroundColor:"rgba(0, 0, 0, 1)",color:"rgba(255, 255, 255, 1)",border:"none",borderRadius:"4px",padding:"11px 14px",fontSize:"16px",fontFamily:"'Inter', sans-serif",cursor:"pointer"};return g&&(v.backgroundColor="rgba(50, 50, 50, 1)"),tr.default.createElement("div",{style:h},tr.default.createElement("div",{style:p},tr.default.createElement("input",{style:y,placeholder:n,value:i,onChange:f,onKeyDown:d,disabled:g}),u&&E&&tr.default.createElement(t2,{message:u,type:l==="error"?"error":"success"})),tr.default.createElement("button",{disabled:g,style:v,onClick:void 0},tr.default.createElement("span",{style:{opacity:g?"0":"1"}},o),g&&tr.default.createElement(e2,null)))}function e2(){return tr.default.createElement("svg",{style:{position:"absolute"},width:"16",height:"16",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},tr.default.createElement("path",{fill:"#ffffff",d:"M10.14,1.16a11,11,0,0,0-9,8.92A1.59,1.59,0,0,0,2.46,12,1.52,1.52,0,0,0,4.11,10.7a8,8,0,0,1,6.66-6.61A1.42,1.42,0,0,0,12,2.69h0A1.57,1.57,0,0,0,10.14,1.16Z"},tr.default.createElement("animateTransform",{attributeName:"transform",type:"rotate",dur:"0.75s",values:"0 12 12;
109360 12 12",repeatCount:"indefinite"})))}function t2(e){let t={fontSize:"12px",fontFamily:"'Inter', sans-serif",position:"absolute",bottom:"-14px",padding:"2px 6px",borderRadius:"4px",overflow:"hidden",textOverflow:"ellipsis",color:"rgba(255, 255, 255, 1)"};return e.type==="error"?t.backgroundColor="rgba(255, 0, 0, 1)":e.type==="success"&&(t.backgroundColor="rgba(0, 0, 0, 1)"),tr.default.createElement("div",{style:t},e.message)}var nO=O(M());function oO({node:e}){vr("YouTube");let{syncedState:t}=e,{videoURL:r,autoplay:n=!1,showControls:o=!0,allowfullscreen:i=!0}=t,s=/(?:https?:\/\/)?(?:www\.)?(?:youtube\.com|youtu\.be)\/(?:watch\?v=)?([^&]+)/,l=r.match(s),a=l?l[1]:null,u=new URL(`https://www.youtube.com/embed/${a}`);return u.searchParams.set("autoplay",n?"1":"0"),u.searchParams.set("controls",o?"1":"0"),u.searchParams.set("fs",i?"1":"0"),u.searchParams.set("disablekb","0"),nO.default.createElement("iframe",{style:{border:"none"},title:`html-widget-${e.id}`,width:"100%",height:"100%",src:u.toString(),allowFullScreen:i})}function sO({node:e,parent:t,context:r,depth:n}){let o=pr({node:e,parent:t,context:r,depth:n,children:[],options:{isFlattened:!0}}),i=Jr({node:e,context:r}),s=Vt(e,t,r),l=hr({node:e,parent:t}),a=ye(e),u={...s?l:o.outer,...o.inner,...gr(yr(r,e)),...i,...r?.style||{}},c=Li(e),f=z(u),d=(0,iO.default)(f,r?.className),m=Gn.createElement("div",{id:a,className:d,"data-name":c,...r?.dataAttributes||{}},Gn.createElement(Di,null,()=>Gn.createElement(r2,{node:e})));return Gn.createElement(Qr,{node:e,layoutStyles:o},s?Gn.createElement(Sr,{context:r,node:e,parent:t,outerStyles:{...o.outer},childWrapperStyles:{...o.transform}},m):m)}function r2({node:e}){switch(vr("HTMLWidgetLayerContent"),e.widgetType){case"MAILCHIMP":return Gn.createElement(rO,{node:e});case"GOOGLE_MAP":return Gn.createElement(eO,{node:e});case"YOUTUBE":return Gn.createElement(oO,{node:e});case"GENERIC":return Gn.createElement(Zb,{node:e});default:return null}}var No=O(M());var E0="My Site",T0="A site";var aO=O(M());var w0="body-background-color";function lO({breakpoints:e}){let t=pe(),r=e.sort((s,l)=>s.width-l.width),o=r.map((s,l)=>({layerName:s.name,minWidth:l===0?void 0:s.width,maxWidth:l<r.length-1?r[l+1]?.width:void 0,background:s.background,nodeId:s.nodeId})).map(({background:s,minWidth:l,maxWidth:a,nodeId:u})=>{let c=[];a!==void 0&&c.push(`(max-width: ${a-1}px)`),l!==void 0&&c.push(`(min-width: ${l}px)`);let f=`body:has(#${wo(u)}) { background-color: ${s} }`;return c.length>0?`@media ${c.join(", ")} { ${f} }`:f}).join(`
110`),i=On();t==="server"&&i({type:"global-style",styleElId:w0,styleSheet:o}),(0,aO.useInsertionEffect)(()=>{let s=document.getElementById(w0);if(s){s.textContent=o;return}let l=document.createElement("style");return l.textContent=o,l.id=w0,document.head.appendChild(l),()=>{document.head.removeChild(l)}},[e])}function uO({breakpoints:e}){let t=pe(),r=On();if(t!=="server"||e.length===1)return;let n=e.sort((i,s)=>s.width-i.width),o=n.reduce((i,s,l)=>{let a=l===0,u=l===n.length-1,c=n[l-1]?.width||void 0,f=[];return a?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 ")} {
111        [${jd}="${wo(s.nodeId)}"] {display: none !important}
112      }`),i},[]);r({type:"global-style",styleElId:Ov,styleSheet:Ci(o.join(`
113`))})}var fO=O(M());var C0=new Map;function cO(e,t){let r=JSON.stringify(e);return Rs({str:r,hashPrefix:e.type+"-",isUniqueKey:o=>{let i=C0.get(o),s=i?JSON.stringify(i):null;if(t==="server")return!s||s===r;if(s&&s!==r)return!1;let l=document.getElementById(o);return l?dO(l,e):!0}})}function dO(e,t){if(e.tagName==="LINK"&&t.type==="link"){let r=e;return r.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 mO(e){let t=On(),r=pe();r==="server"&&e.forEach(n=>{let o=cO(n,r);
113C0.has(o)||(t(n),C0.set(o,n))}),(0,fO.useInsertionEffect)(()=>{let n=[];return e.forEach(o=>{if(o.type==="title"){document.title=o.title;return}let i=cO(o,r),s=document.getElementById(i);if(!(s&&dO(s,o))){if(o.type==="link"){let l=document.createElement("link");l.href=o.href,l.rel=o.rel,l.id=i,document.head.appendChild(l),n.push(l)}else if(o.type==="meta"){let l=document.createElement("meta");o.name&&(l.name=o.name),o.property&&l.setAttribute("property",o.property),l.content=o.content,l.id=i,document.head.appendChild(l),n.push(l)}}}),()=>{n.forEach(o=>{o.remove()})}},[e])}function pO({children:e}){let t=hd(),{getAssetURL:r}=de();e!==void 0&&e.length>0;let n=(0,No.useMemo)(()=>Pv(e.filter(i=>i.visible!==!1).filter(i=>Ri(i)).filter(i=>i.type==="FRAME")),[e]);uO({breakpoints:n.breakpoints}),lO({breakpoints:n.breakpoints});let o=[{type:"title",title:t.title??E0},{type:"meta",name:"description",content:t.description??T0}];return t.blockSearchIndexing&&o.push({type:"meta",name:"robots",content:t.blockSearchIndexing?"noindex":"index"}),t.faviconFilename&&o.push({type:"link",rel:"icon",href:r(t.faviconFilename)}),t.socialImageFilename&&o.push({type:"meta",property:"og:image",content:r(t.socialImageFilename)},{type:"meta",property:"twitter:image",content:r(t.socialImageFilename)}),mO(o),No.default.createElement(No.default.Fragment,null,No.default.createElement(bb,null,e.map((i,s)=>No.default.createElement(r0,{key:s,name:i.name,width:i.size.x,height:i.size.y},No.default.createElement(Wi,{name:"sites-layer",nodeId:i.id,key:s},No.default.createElement(Co,{node:i,parent:null,key:s}))))))}var SO=O(M()),U=O(M());var Os=O(Wn());function hO(e,t){let{characterStyleOverrides:r,characters:n,lineIndentations:o,lineStyleOverrides:i,lineTextDirections:s,listStartOffsets:l,lineTypes:a,styleOverrideTable:u,lineStartsWithPunctuation:c}=e,f=n.replaceAll(/\r/g," ").split(`
114`),d=0,m=e.style.fontSize;return f.map((S,E)=>{let h=i[E]?u[i[E]]||{}:{},p=0,y=(e.wordWrapper?S.split(/(\s+)/):e.characterWrapper?Mc(S):Array.from(S)).reduce((x,T)=>{let w=d+p,I=Array.from(T);if(e.wordWrapper){let A=I.map((N,b)=>r[w+b]);A.every(N=>N===A[0])?x.push({characters:T,override:A[0]}):I.forEach((N,b)=>{x.push({characters:N,override:A[b]})})}else if(e.characterWrapper)gb(T)?x.push({characters:T,override:r[w]}):x.push(...I.map(C=>({characters:C,override:r[w]})));else{let A=r[w],C=x[x.length-1];C&&C.override===A?C.characters+=T:x.push({characters:T,override:A})}return p+=I.length,x},[]).map(x=>{let T=x.override?u[x.override]??{}:{};return t.fontSize||(T.fontSize=T.fontSize??m),{characters:x.characters,style:T}});d+=S.length;let v=r[d]&&u[r[d]]||{};return d+=1,y.length===0&&y.push(n2(a[E]&&a[E]!==Zo.NONE?m:v.fontSize??m)),{spans:y,style:h,direction:s?.[E],indentation:o[E]||0,startOffset:l[E]??void 0,listOptions:{type:a[E]||Zo.NONE},startsWithPunctuation:!!c?.[E]}})}function n2(e){return{characters:"",style:{fontSize:e}}}function o2(e,t,r,n){if(t&&r)return"div";if(t)return n?"div":"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"P":return"p";case"AUTO":case"DIV":default:return"div"}}function gO(e,t,r,n,o){let i=o2(e,t,r,o);return n?Zt[i]:i}var i2={TOP:"flex-start",BOTTOM:"flex-end",CENTER:"center"},s2={NONE:"none",UNDERLINE:"underline",STRIKETHROUGH:"line-through"},a2={ORIGINAL:"none",SMALL_CAPS:"none",SMALL_CAPS_FORCED:"none",UPPER:"uppercase",LOWER:"lowercase",TITLE:"capitalize"},l2={ORIGINAL:"normal",SMALL_CAPS:"small-caps",SMALL_CAPS_FORCED:"all-small-caps",UPPER:"normal",LOWER:"normal",TITLE:"normal"},u2={SUPER:"super",SUB:"-0.25em",NORMAL:"normal"};function lh(e,t,r,n,o,i){if("responsiveTextStyleVariants"in e.style&&e.style.responsiveTextStyleVariants&&Array.isArray(e.style.responsiveTextStyleVariants)){let v=e.style.responsiveTextStyleVariants.find(x=>x.minWidth<=i);v&&Object.assign(e.style,v.style)}let{fontFamily:s,fontWeight:l,fontVariations:a,fontSize:u,fontStyle:c,textCase:f,opentypeFlags:d,letterSpacingUnit:m,letterSpacingValue:g}=e.style,S="fills"in e.style&&e.style.fills||"fills"in e&&e.fills||[],E={},h;
114if(s){let v=`${s}:${c}`;E.fontFamily=`"${v}", sans-serif`,E.wordBreak="break-word";let x=r.get(v),T=x?.variationAxes;if(T?.length){let I=[...T,{name:"OpticalSize",value:void 0,tag:"opsz"}].filter(A=>a?.[A.name]!==void 0||A.value!==void 0).filter(A=>A.tag==="wght"?(E.fontWeight=a?.[A.name]??A.value,!1):A.tag==="slnt"?A.value===0?(E.fontStyle="normal",!1):a&&A.name in a:!0);I.length>0?E.fontVariationSettings=I.map(A=>{let C=a?.[A.name]??A.value;return`"${A.tag}" ${C}`}).join(", "):E.fontVariationSettings="normal",x?.italic&&(E.fontStyle="italic")}else E.fontWeight=l,E.fontStyle=x?.italic?"italic":"normal"}let p=S.filter(v=>v.visible!==!1&&v.type==="SOLID"),y=S.filter(v=>v.visible!==!1&&v.type!=="SOLID");if(p.length>0){let v=Zu(p.map(x=>new $r(x.color,x.opacity,vt)));E.color=v.value}if(y.length){let v=Fd(S,t,o,!1)[0].backgroundStyles;v&&Object.keys(v).length&&(Object.assign(E,v),h="textClip")}if(f){let v=a2[f]||"none";v!=="none"&&(E.textTransform=v);let x=l2[f]||"normal";x!=="normal"&&(E.fontVariantCaps=x)}return d&&(E.fontFeatureSettings=Object.entries(d).map(([v,x])=>`"${v.toLowerCase()}" ${x}`).join(", ")),u&&(n==="REFLOW"?E.fontSize=`${u}px`:n==="SCALE"?E.fontSize=`clamp(calc(var(--min-font-size) / var(--viewport-scale)), ${u}px, calc(var(--max-font-size) / var(--viewport-scale)))`:Te(n)),m&&g!==void 0&&(E.letterSpacing=m==="PIXELS"?`${g}px`:`${g/100*(u??16)}px`),{style:E,className:h}}function yO(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=i2[e.textAlignVertical||"TOP"]),t.leadingTrim==="CAP_HEIGHT"&&(r.textBoxTrim="both",r.textBoxEdge="cap alphabetic"),r}function I0(e,t,r,n,o){return lh(t,e.assets,r,n,{width:e.size.x,height:e.size.y},o)}function A0(e,t,r,n,o,i){let{style:s,className:l}=lh(r,e.assets,n,o,{width:e.size.x,height:e.size.y},i);function a(m){let g=r.style.responsiveTextStyleVariants?.find(S=>S.minWidth<=i);if(g&&g.style){let S=m in g.style?g.style[m]:void 0;if(S!==void 0)return S}return r.style[m]??t.style[m]??e.style[m]}let u=a("textDecoration"),c=a("textDecorationThicknessUnit"),f=a("textDecorationThicknessValue");if(u&&u!==yd.NONE&&f!==0){s.textDecorationLine=s2[u];let m=a("textDecorationSkipInk"),g=a("textUnderlineOffsetUnit"),S=a("textUnderlineOffsetValue"),E=a("textDecorationStyle"),h=a("textDecorationFills");if(m!==void 0&&(s.textDecorationSkipInk=m?void 0:"none"),S!==void 0?s.textUnderlineOffset=`${S}${g==="PIXELS"?"px":"%"}`:s.textUnderlinePosition="from-font",f!==void 0?s.textDecorationThickness=`${f}${c==="PIXELS"?"px":"%"}`:s.textDecorationThickness="from-font",E!==void 0&&(s.textDecorationStyle=E),h!==void 0){let p=Zu(h.filter(y=>y.type==="SOLID").map(y=>new $r(y.color,y.opacity,vt)));s.textDecorationColor=p.value}}let d=r.style.fontVariantPosition??t.style.fontVariantPosition??e.style.fontVariantPosition;return d&&(s.verticalAlign=u2[d],d!=="NORMAL"&&(s.fontSize="0.645em")),s.lineHeight=R0(r)??R0(t)??R0(e)??"normal",(r.style.hyperlink||t.style.hyperlink||e.style.hyperlink)&&(s.cursor="pointer"),{style:s,className:l}}var vO=(e,t)=>{if(!(e==="NONE"||e==="UNORDERED"))return t===2||t===5?"lower-alpha":t===3?"lower-roman":"decimal"},R0=e=>e.style.lineHeightUnit==="INTRINSIC_%"?void 0:e.style.lineHeightUnit==="FONT_SIZE_%"?`${(e.style.lineHeightPercentFontSize??100)/100}`:e.style.lineHeightUnit==="PIXELS"?`${e.style.lineHeightPx}px`:void 0;var N0=Zo.NONE,c2={whiteSpace:"pre-wrap",lineHeight:0},f2={whiteSpace:"pre-wrap"},Vl=e=>e===void 0?void 0:`${e}px`;function d2(e,t,r){let n=hO(e,r);return m2(n,r).map((s,l)=>U.createElement(EO,{key:l,blockKey:l,tree:s,node:e,context:t}))}var xO=U.forwardRef(function({node:t,parent:r,context:n,interactionHandlers:o,depth:i,transitionProps:s,codeBehaviorProps:l},a){let u=pe(),c=fe(da())??1,f=Qo(),{scalingMode:d}=xn(),m=s?.smartAnimateType??q.NONE,g=m===q.INSTANCE_SUBTREE,S=Ia(m,t.maybeAnimateRotation),E=Aa(),h=pr({node:t,parent:r,context:n,depth:i,children:[],options:{canAnimate:S,previousRotation:E}}),p=Jr({node:t,context:n}),{style:y,className:v}=lh(t,t.assets,f,d,{width:t.size.x,height:t.size.y},c),x=t.interactions??[],T=Vi(x),w=Oi(t,T),I=zi(x,o,n,u),A=yr(n,t),C=U.useMemo(()=>({opacity:A,transform:Jo(h.outer.transform)}),[A,h.outer.transform]),N=bi(t,n),{motionProps:b,key:L,ref:D}
114=ki(t.id,t.behaviors,t.assets,C,N),R=Hn(a,D),W=t.behaviors?.code,k=W&&W.length>0,V=Vt(t,r,n)||S,H=V||k,ee=hr({node:t,parent:r}),me=s?.transitionData,ke=Xt(me),Y=U.useMemo(()=>({fontSize:Object.values(t.styleOverrideTable).find(at=>at.fontSize)?void 0:t.style.fontSize}),[t.styleOverrideTable,t.style.fontSize]),ce=Vl(t.style.paragraphSpacing),we=Vl(t.style.listSpacing),K={...H?ee:h.outer,...h.inner,...jr(t.blendMode),...gr(A),...ti(t),...EN(t.effects),...y,...yO(t,t.style),...p,...n?.style||{},"--paragraph-spacing":ce,"--list-spacing":we,fontSize:Y.fontSize?y.fontSize:0,lineHeight:0};if(t.style.textTruncation==="ENDING"){let at=t.style.maxLines;at===1?K.whiteSpace="nowrap":at&&(K.display="-webkit-box",K.WebkitLineClamp=at,K.WebkitBoxOrient="vertical",K.height&&(K.maxHeight=K.height,K.height=void 0)),K.overflow="hidden",K.textOverflow="ellipsis"}let Ce=Kt(m,me,K.transform,!0),Ie=Al(K.transform,b?.variants),le=m!==q.NONE||Object.keys(b).length>0,Ae=gO(t,!!I.onClick,T,le,n?.ancestorIsAnchor),Ye=ye(t),{motionTransitionProps:te,cssStyles:Ke}=Kr(m,A,K,b.variants,me,ke);ni([b,Ie,Ce,te]);let bt=z(Ke),tt="textContents"+(t.style.hangingList?" hangingList":"")+(bt?` ${bt}`:"")+(n?.className?` ${n.className}`:"")+(v?` ${v}`:""),Ue=To(t),st=U.useMemo(()=>({...h.outer}),[h.outer]),xr=U.useMemo(()=>k?{height:"100%",width:"100%"}:{...h.outer},[h.outer,k]),Wt=(0,SO.useRef)(null),{codeBehaviorWrapperRef:ht,updateStyles:Er}=Bi(),$n=U.useMemo(()=>{function at(Dr){let jn=d2(Dr,n,Y),Wl={key:L,ref:S?D:R,id:Ye,className:tt,...I,...w,...b,...te,...Ce,...Ie,...n?.dataAttributes||{},"data-paragraph-spacing":ce,"data-list-spacing":we},wn=U.createElement(Ae,Wl,Ue?U.createElement(Qp,{node:Dr},jn):jn);return V?U.createElement(Sr,{ref:S||g||W?a:null,context:n,node:t,parent:r,outerStyles:xr,childWrapperStyles:{...h.transform},transitionData:me,canAnimate:S,smartAnimateType:m,previousRotation:E,transformRef:Wt,onOuterWrapperSizeChange:Er},wn):wn}return at},[n,Y,L,S,D,R,Ye,tt,I,w,b,te,Ce,Ie,ce,we,Ae,Ue,V,g,W,a,r,h,me,m,E,t,xr,Er]),Ot=U.useMemo(()=>k?U.createElement(Ro,{codeBehaviors:W,outerStyles:st,ref:ht},U.createElement(Fi,{node:t,renderNode:at=>$n(at),codeBehaviorProps:{...l,transformRef:Wt}})):$n(t),[W,k,t,$n,l,Wt,st,ht]);return U.createElement(Qr,{node:t,layoutStyles:h},Ot)});function m2(e,t){let r={children:[],type:N0,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||N0;if(s!=="NONE"){let l=o.indentation+1;for(;n.length>l||n.length===l&&n[n.length-1].type!=="NONE"&&n[n.length-1].type!==s;)n.pop();for(;n.length<l;){let a=l-n.length===1?o.startOffset:void 0,u={children:[],lineStyleType:vO(s,n.length),type:s,start:a,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 EO({tree:e,node:t,context:r,blockKey:n}){if("children"in e)return U.createElement(h2,{listNode:e,node:t},e.children.map((l,a)=>U.createElement(EO,{key:a,blockKey:a,tree:l,node:t,context:r})));let{block:o}=e,i;return t.wordWrapper&&(i=t.wordWrapper.groupSpansByWord(n,o.spans).map((a,u)=>U.createElement(v2,{key:u,spans:a,node:t,block:o,context:r,blockKey:n,wordIndex:u}))),i??=o.spans.map((l,a)=>{let u=o.spans.slice(0,a).reduce((c,f)=>c+f.characters.length,0);return U.createElement(wO,{key:a,span:l,block:o,node:t,context:r,startIndex:u,blockKey:n})}),(o.listOptions?.type||N0)!=="NONE"?U.createElement(g2,{node:t,block:o,commonFontSize:e.style?.fontSize},i):i.length===1?U.createElement(p2,{lineIndex:n,node:t,context:r,block:o}):U.createElement(y2,{node:t,block:o},i)}function p2({lineIndex:e,node:t,context:r,block:n}){n.spans.length;let{style:o,className:i,props:s}=TO({node:t,block:n}),{style:l,className:a,props:u,isHyperlink:c}=b0({node:t,context:r,block:n,span:n.spans[0]}),f=U.useMemo(()=>({display:"block",...o,...l}),[o,l]),d=z(f),m=(0,Os.default)(d,i,a);if(c&&!r?.ancestorIsAnchor)return U.createElement("a",{className:m,...s,...u},u.children);let g=U.createElement("div",{className:m,...s,...u},u.children);return t.lineWrapper?U.createElement(U.Fragment,{key:`line-${e}`},t.lineWrapper({line:n.spans[0]?.characters??"",index:e,children:g})):g}function h2({listNode:e,node:t,children:r}){let n=e.children.find(E=>"block"in E)?.block,o=n?.spans[0],i=Qo(),{scalingMode:s}=xn(),l=e.type===Zo.ORDERED,a=ar(),u=fe(da())??1,{style:c,className:f}=n&&o?A0(t,n,o,i,s,u):{style:{},className:void 0},m={...a?{}:{"--list-marker-background-clip":c.backgroundClip??"initial","--list-marker-background-image":c.backgroundImage??"initial","--list-marker-color":c.color??"initial","--list-marker-font-size":c.fontSize??"initial","--list-marker-line-height":c.lineHeight??"initial","--list-marker-mix-blend-mode":c.mixBlendMode??"initial","--list-marker-text-fill-color":c.WebkitTextFillColor??"initial","--list-marker-vertical-align":c.verticalAlign??"initial"},listStyleType:l?e.lineStyleType:void 0,paddingInlineStart:0},g=z(m),S=(0,Os.default)(g,f);return l?U.createElement("ol",{className:S,start:e.start},r):U.createElement("ul",{className:S},r)}function g2({children:e,node:t,block:r,commonFontSize:n}){let o=Qo(),i=fe(da())??1,{scalingMode:s}=xn(),l=t.style.textAlignHorizontal==="LEFT"||t.style.textAlignHorizontal==="JUSTIFIED",{style:a,className:u}=I0(t,r,o,s,i),c={...f2,...a,listStylePosition:l?void 0:"inside",marginInlineStart:n?Vl(1.5*r.indentation*n):`calc(1.5 * ${r.indentation} * var(--list-marker-font-size, 0))`,"--paragraph-spacing":Vl(r.style.paragraphSpacing),"--list-spacing":Vl(r.style.listSpacing)},f=z(c);return U.createElement("li",{className:(0,Os.default)(f,u)},e)}function y2({node:e,block:t,children:r}){let{style:n,className:o,props:i}=TO({node:e,block:t}),s=z(n),l=(0,Os.default)(s,o);return U.createElement("div",{className:l,...i},r)}function TO({node:e,block:t}){let r=Qo(),n=fe(da())??1,{scalingMode:o}=xn(),{style:i,className:s}=I0(e,t,r,o,n),l={...c2,...i,"--paragraph-spacing":Vl(t.style.paragraphSpacing),fontSize:void 0,lineHeight:void 0};e.paragraphIndent&&(l.textIndent=e.paragraphIndent);let a=i.fontSize??e.style.fontSize;return e.style.hangingPunctuation&&t.startsWithPunctuation&&(l.textIndent=`calc(${e.paragraphIndent??0}px - 0.45 * ${a}px)`),e.style.textTruncation==="ENDING"&&(e.style.maxLines===1&&(l.whiteSpace="inherit",l.overflow="inherit",l.textOverflow="inherit"),l.fontSize=a),e.textAutoResize==="WIDTH_AND_HEIGHT"&&(l.whiteSpace="pre"),{style:l,className:s,props:{dir:t.direction}}}function wO({node:e,context:t,block:r,span:n,startIndex:o=0,blockKey:i}){let{style:s,className:l,props:a,isHyperlink:u}=b0({node:e,context:t,block:r,span:n}),c=z(s),f=(0,Os.default)(c,l),d=U.useMemo(()=>
114{if(e.characterWrapper){let g=e.characterWrapper;return Array.from(n.characters).map((E,h)=>U.createElement(U.Fragment,{key:`char-${h}`},g({char:E,index:o+h,children:a.children,lineIndex:i})))}return a.children},[e,a.children,n.characters,o,i]),m=U.createElement("span",{...a,className:f},d);return u&&!t?.ancestorIsAnchor?U.createElement("a",{className:f,...a},m):m}function v2({node:e,spans:t,block:r,context:n,blockKey:o,wordIndex:i}){let{style:s,className:l,props:a}=b0({node:e,context:n,block:r,span:t[0]}),u=z(s),c=(0,Os.default)(u,l),f=t.map((d,m)=>U.createElement(wO,{key:m,span:d,block:r,node:e,context:n,blockKey:o,startIndex:0}));return U.createElement("span",{...a,className:c},e.wordWrapper.render({wordIndex:i,lineIndex:o,originalRenderedWord:U.createElement(U.Fragment,null,f)}))}function b0({node:e,context:t,block:r,span:n}){let o=pe(),i=fe(da())??1,s=Qo(),{scalingMode:l}=xn(),{style:a,className:u}=A0(e,r,n,s,l,i),c=n===r.spans[r.spans.length-1],f=c&&S2(n,e.style),d=f?n.characters:void 0,m=n.characters.length?E2(n.characters,f,c):"\xA0",g=n.style.hyperlink??r.style.hyperlink??e.style.hyperlink;if(g){let S=!!(g.type==="NODE"&&g.nodeID),E=S?g.nodeID:g.url,h=!S&&!!g.openInNewTab,p=x0(g.type,E,h,t,o);return{isHyperlink:!0,style:a,className:u,props:{...p,children:m,"aria-label":d}}}return{isHyperlink:!1,style:a,className:u,props:{children:m,"aria-label":d}}}function S2(e,t){return Boolean(e?.style.letterSpacing||t.letterSpacing)}function x2({str:e}){let t=Array.from(e),r=t.pop()??"",n=t.join(""),o=z({letterSpacing:0,WebkitTextFillColor:"inherit"});return U.createElement(U.Fragment,null,n,U.createElement("span",{className:o},r))}var E2=(e,t,r)=>{let n=/[\u2028\u2029]/;return e.split(n).flatMap((o,i,s)=>{let l=t?U.createElement(x2,{key:"als"+i,str:o}):o;return r&&o===""?[l,U.createElement("br",{key:"br"+i})]:i<s.length-1?[l,U.createElement("br",{key:"br"+i})]:[l]})};var Co=(0,Je.forwardRef)(function({node:t,parent:r,context:n,depth:o,codeBehaviorProps:i},s){let l=Kd(t.materializedChildNodeProps??[]),{interactionHandlers:a,transitionProps:u}=t;n=ya(n,_e);let c=fe(Bv);(0,Je.useEffect)(()=>{if(!(a===void 0||a?.ON_KEY_DOWN===void 0))return c.set(t.id,a.ON_KEY_DOWN),()=>(c.delete(t.id),void 0)},[a,c,t.id]);let f=u?.transitionData;return(0,Je.useEffect)(()=>{let d=[],m;return t.visible&&(f&&!f.layout?d=Db(a,f.id):d=Bb(a),d.length&&f&&(m=Vb(()=>{setTimeout(()=>{f.onTransitionEnd?.(f.id)},500)},100),window.addEventListener("resize",m))),()=>{Fb(d),m&&setTimeout(()=>{removeEventListener("resize",m)})}},[t.id,a,t.visible]),(0,Je.useMemo)(()=>!t||t.visible===!1?null:(()=>{switch(t.type){case"RESPONSIVE_SET":return Je.default.createElement(Nb,{rootMaterializedNode:t,materializedChildren:l},Je.default.createElement(pO,{node:t,children:l,parent:r,context:n,interactionHandlers:a}));case"FRAME":return Je.default.createElement(eh,{ref:s,node:t,children:l,parent:r,context:n,depth:o,interactionHandlers:a,transitionProps:u,codeBehaviorProps:i});case"RECTANGLE":return Je.default.createElement(eh,{ref:s,node:t,children:l,parent:r,context:n,depth:o,interactionHandlers:a,transitionProps:u,codeBehaviorProps:i});case"GROUP":return Je.default.createElement(qb,{node:t,children:l,parent:r,context:n,depth:o,interactionHandlers:a,transitionProps:u,codeBehaviorProps:i});case"IMAGE":case"SVG":return Je.default.createElement(Hb,{ref:s,node:t,parent:r,depth:o,context:n,interactionHandlers:a,transitionProps:u,codeBehaviorProps:i});case"TEXT":return Je.default.createElement(xO,{ref:s,node:t,parent:r,context:n,depth:o,interactionHandlers:a,transitionProps:u,codeBehaviorProps:i});case"WIDGET":return Je.default.createElement(sO,{node:t,parent:r,context:n,depth:o,interactionHandlers:a});case"CODE_INSTANCE":case"CODE_LAYER":return Je.default.createElement(Xb,{node:t,parent:r,context:n,depth:o,interactionHandlers:a});case"REPEATER":return Je.default.createElement(eh,{ref:s,node:t,children:l,parent:r,context:n,depth:o,interactionHandlers:a,transitionProps:u});case"CMS_RICH_TEXT":return Je.default.createElement(Yb,{node:t,parent:r,context:n,depth:o,interactionHandlers:a});default:Te(t)}})(),[t,l,r,n,a,s,o,u,i])}),th=(0,Je.forwardRef)(function({node:t,parent:r,context:n,depth:o,name:i,nodeId:s,childKey:l,codeBehaviorProps:a},u){return Je.default.createElement(Wi,{name:i,nodeId:s},Je.default.createElement(Co,{ref:u,node:t,parent:r,key:l,context:n,depth:o,codeBehaviorProps:a}))});var et=O(M());function zl(e){let{family:t,style:r,url:n,unicodeRange:o}=e;return`
115  @font-face {
116    font-family: "${t}";
117    font-style: ${r};
118    src: url("${n}");
119    font-display: block;
120    ${o?`unicode-range: ${o};`:""}
121  }
122`}var CO=new Map;
122function O0(){let e=Ci(Mw()??""),t=pe(),r=Rs({str:e??"",hashPrefix:WS,isUniqueKey:n=>{if(t==="server"){let i=CO.get(n);return!i||i===e}let o=document.getElementById(n);return!o||o.textContent===e}});return e&&CO.set(r,e),Rp({cssString:e??"",styleElId:r,deleteElsWithPrefix:WS,skipValidation:!0}),null}function RO(e,...t){let r="";return e.forEach((n,o)=>{r+=n+(t[o]||"")}),r}var uh="reset-css";function P0(e=!0){return RO` @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?T2:""}`}var T2=`
123  @layer figreset {
124    /* Modelled after Tailwind's Preflight CSS */
125    /* When adding new styles, consider scoping them down to '#container .helperClass' in order to avoid conflicts with CSS styles applied to Code Layers */
126
127    /* Global */
128
129    :root {
130      /* Default styling for code nodes. */
131      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");
132    }
133
134    *,
135    *:before,
136    *:after {
137      box-sizing: border-box; /* Prevent padding and border from affecting element width */
138    }
139
140    /* HTML */
141
142    html {
143      -webkit-text-size-adjust: 100%; /* Prevent adjustments of font size after orientation changes in iOS. */
144      -webkit-tap-highlight-color: transparent; /* Disable tap highlights on iOS */
145      -webkit-font-smoothing: antialiased; /* Improve font rendering on macOS. */
146
147      width: 100%;
148    }
149
150    html:has(#responsive-scaler) {
151      scrollbar-width: none;
152      -ms-overflow-style: none;
153    }
154
155    /* Body */
156
157    body {
158      margin: 0; /* Remove default margin */
159      width: 100%;
160    }
161
162    body:has([data-page-overflowx='hidden']) {
163      overflow-x: hidden;
164    }
165
166    body:has([data-page-overflowx='auto']) {
167      overflow-x: auto;
168    }
169
170    /* Container */
171
172    #container {
173      width: 100%;
174    }
175
176    /* Links */
177
178    a {
179      color: inherit;
180      text-decoration: none;
181    }
182
183    /* Text */
184
185    h1,
186    h2,
187    h3,
188    h4,
189    h5,
190    h6,
191    p {
192      font-size: inherit;
193      font-weight: inherit;
194    }
195
196    /* Remove the default margins */
197
198    blockquote,
199    dl,
200    dd,
201    h1,
202    h2,
203    h3,
204    h4,
205    h5,
206    h6,
207    hr,
208    figure,
209    p,
210    pre {
211      margin: 0;
212    }
213
214    ol,
215    ul,
216    menu {
217      list-style: none;
218      margin: 0;
219      /* the 1.5em is an approximation - the C++ code will measure the width of a tab character */
220      /* See LineLayout::addBulletsInLine */
221      padding-inline-start: 1.5em;
222    }
223
224    /* Keep textContents and textClip in sync with cleanResetText() in preprocess_css.ts */
225    #container .textContents {
226      /*
227    These are set in the text layer, so we don't want to reset them here,
228    or else the specific values set in the text layer will be overriden (due to CSS specificity).
229
230    --paragraph-spacing: 0px;
231    --list-spacing: 0px;
232    */
233
234      /* Text is transparent by default, in case of no fills. */
235      color: #ffffff00;
236    }
237
238    #container .textContents.hangingList > ul,
239    #container .textContents.hangingList > ol {
240      margin-left: -1.5em;
241    }
242
243    #container .textContents > :not(:last-child) {
244      margin-bottom: var(--paragraph-spacing);
245    }
246
247    /* Add list spacing if the next element is also a list item */
248    #container .textContents > :is(ul, ol):not(:last-child):has(+ :is(ul, ol)) {
249      margin-bottom: var(--list-spacing);
250    }
251
252    #container .textContents li {
253      margin-bottom: var(--list-spacing);
254    }
255
256    /* This is incredibly ugly, but we need to make sure that we don't add a margin-bottom to the last
257    *  list item if the next element is a div, regardless of indentation. If tomorrow, we decide to support
258    *  deeper nesting, we'll need to add more selectors.
259    */
260      #container .textContents > :is(ol, ul):is(:last-child, :has(+ div)) > li:last-child,
261      #container
262        .textContents
263        > :is(ol, ul):is(:last-child, :has(+ div))
264        > :is(ol, ul):last-child
265        > li:last-child,
266      #container
267        .textContents
268        > :is(ol, ul):is(:last-child, :has(+ div))
269        > :is(ol, ul):last-child
270        > :is(ol, ul):last-child
271        > li:last-child,
272      #container
273        .textContents
274        > :is(ol, ul):is(:last-child, :has(+ div))
275        > :is(ol, ul):last-child
276        > :is(ol, ul):last-child
277        > :is(ol, ul):last-child
278        > li:last-child,
279      #container
280        .textContents
281        > :is(ol, ul):is(:last-child, :has(+ div))
282        > :is(ol, ul):last-child
283        > :is(ol, ul):last-child
284        > :is(ol, ul):last-child
285        > :is(ol, ul):last-child
286        > li:last-child {
287        margin-bottom: 0;
288      }
289
290    /**
291     * Applies text as a background clip when non-solid fills are present.
292     *
293     * The !important is used to prevent the selector below (.textClip > *) from overriding this value.
294     *
295     * Keep in sync with cleanResetText() in preprocess_css.ts.
296     **/
297      #container .textClip {
298        background-clip: text;
299        -webkit-background-clip: text;
300        -webkit-text-fill-color: transparent !important;
301      }
302
303      /** Removes the text fill color for the subtree so it doesn't cascade downward. */
304      #container .textClip > * {
305        -webkit-text-fill-color: initial;
306      }
307
308    /** Removes default border from iframes */
309    #container .embed {
310      border: none;
311    }
312
313      /*
314   * ----------------- Marquee styles -----------------
315   * These are adapted from https://github.com/justin-chu/react-fast-marquee/blob/master/src/components/Marquee.tsx
316   * Copyright (c) 2020 justin-chu
317   * MIT License
318   */
319    #container .marquee-container {
320      overflow-x: hidden;
321      display: flex;
322      flex-direction: row;
323      position: relative;
324      width: var(--width);
325      transform: var(--transform);
326
327      &:hover div {
328        animation-play-state: var(--pause-on-hover);
329      }
330
331      &:active div {
332        animation-play-state: var(--pause-on-click);
333      }
334    }
335
336    #container .marquee {
337      flex: 0 0 auto;
338      min-width: var(--min-width);
339      display: flex;
340      flex-direction: row;
341      align-items: center;
342      animation: scroll var(--duration) linear var(--delay) var(--iteration-count);
343      animation-delay: var(--delay);
344      animation-direction: var(--direction);
345      animation-timing-function: var(--timing-function);
346    }
347
348    @keyframes scroll {
349      0% {
350        transform: translateX(0%);
351      }
352      100% {
353        transform: translateX(-100%);
354      }
355    }
356
357    #container .marquee-initial-child-container {
358      flex: 0 0 auto;
359      display: flex;
360      min-width: auto;
361      flex-direction: row;
362      align-items: center;
363    }
364
365    #container .marquee-child {
366      transform: var(--transform);
367    }
368
369    /**
370     * Styles for direct children of the code behavior wrapper.
371     * These elements are defined in the code behavior, so we can't access them directly.
372     */
373    .code-behavior-wrapper > * {
374      width: 100%;
375      height: 100%;
376    }
377  }
378
379  @layer figutils {
380    /*
381      List discs are not native, so we get more rounded circles and closer positioning to designs
382    */
383    /* .css-ul-before is used in design-to-react */
384    .textContents ul > li:before {
385      content: '\\2022';
386      margin-left: -1.5em;
387      display: inline-block;
388      text-align: center;
389      width: 1.5em;
390      -webkit-background-clip: var(--list-marker-background-clip);
391      -webkit-text-fill-color: var(--list-marker-text-fill-color);
392      background-clip: var(--list-marker-background-clip);
393      background-image: var(--list-marker-background-image);
394      color: var(--list-marker-color);
395      font-size: var(--list-marker-font-size);
396      line-height: var(--list-marker-line-height);
397      mix-blend-mode: var(--list-marker-mix-blend-mode);
398      vertical-align: var(--list-marker-vertical-align);
399    }
400
401    /* .css-ol-marker is used in design-to-react */
402    .textContents ol > li::marker {
403      color: var(--list-marker-color);
404      font-size: var(--list-marker-font-size);
405      line-height: var(--list-marker-line-height);
406      vertical-align: var(--list-marker-vertical-align);
407    }
408  }
409`;function k0({withBaseStyles:e,prepend:t=!1}){return Rp({cssString:P0(e),styleElId:uh,prepend:t}),null}function IO({rootMaterializedNodePropsAtom:e,history:t,websiteData:r,getAssetURL:n,getFontURL:o,getCodeComponentURL:i,env:s,transitionAtom:l,currentLocationAtom:a,setLocation:u,preloadLocation:c,onPageRendered:f,onReactError:d,renderOptionsAtom:m,addHeadTag:g,addBodyScript:S,loadComponentsOverNetwork:E,wasServerRendered:h=!1,withBaseStyles:p=!0,breakpointWidthAtom:y}){let v=fe(m),x=v.compactDOM??!1,T=v.independentRootNode??!1;return P2(h),SC(r),et.default.createElement(zC,{reportError:d},et.default.createElement(_l,{name:"root-error-boundary",nodeId:"root"},et.default.createElement(Yy,{websiteData:r,history:t,getAssetURL:n,getFontURL:o,getCodeComponentURL:i,env:s,transitionAtom:l,setLocation:u,preloadLocation:c,compactDOM:x,independentRootNode:T,withBaseStyles:p,addHeadTag:g,addBodyScript:S,loadComponentsOverNetwork:E,breakpointWidthAtom:y},et.default.createElement(R2,{rootMaterializedNodePropsAtom:e}),et.default.createElement(w2,{currentLocationAtom:a,onPageRendered:f}))))}function w2({currentLocationAtom:e,onPageRendered:t}){let r=fe(e),n=fe(Sa);return(0,et.useEffect)(()=>{window.scrollTo(0,r?.scrollY??0)},[r?.scrollY,r?.url]),(0,et.useEffect)(()=>{t&&r?.url&&t(r.url,n)},[r?.url,t,n]),IR(),null}function ch(e){let t=document.createRange().createContextualFragment(e);return Array.from(t.children).forEach(n=>n.setAttribute("data-user-element","true")),t}function C2(e){let t=de()?.websiteData.siteSettings??X(),r=fe(t),n=r?.customCodeHeadStart,o=r?.customCodeHeadEnd,i=r?.customCodeBodyStart,s=r?.customCodeBodyEnd;(0,et.useInsertionEffect)(()=>{if(e==="preview")return n&&document.head.prepend(ch(n)),o&&document.head.append(ch(o)),i&&document.body.prepend(ch(i)),s&&document.body.append(ch(s)),()=>{document.querySelectorAll("[data-user-element]").forEach(a=>a.remove())}},[e,n,o,i,s])}function R2({rootMaterializedNodePropsAtom:e}){let t=pe(),r=de()?.withBaseStyles??!0,n=fe(e),o=fC(i=>n!==null?cs(i,n,t):null,[n,t]);return Lb(),b2(),C2(t),o?et.default.createElement(et.default.Fragment,null,et.default.createElement(k0,{withBaseStyles:r}),et.default.createElement(O0,null),et.default.createElement(Co,{node:o,parent:null})):et.default.createElement(et.default.Fragment,null)}var I2=()=>{};function L0({websiteData:e,history:t,getAssetURL:r,getFontURL:n,getCodeComponentURL:o,env:i,transitionAtom:s,setLocation:l,compactDOM:a=!1,independentRootNode:u=!1,withBaseStyles:c=!0,addHeadTag:f,addBodyScript:d,loadComponentsOverNetwork:m=!1,children:g,breakpointWidthAtom:S}){return et.default.createElement(Yy,{websiteData:e,history:t,getAssetURL:r,getFontURL:n,getCodeComponentURL:o,env:i,transitionAtom:s,setLocation:l,preloadLocation:I2,compactDOM:a,independentRootNode:u,withBaseStyles:c,addHeadTag:f,addBodyScript:d,loadComponentsOverNetwork:m,breakpointWidthAtom:S},et.default.createElement(k0,{withBaseStyles:c,prepend:!0}),et.default.createElement(O0,null),g)}function A2(e,t,r,n,o){let i=new Map;if(!t)return i;if(!o||t.subsets!=null,t.subsets){let s=t.subsets.baseUrl;
409if(i.set(e,t.subsets.subsetMappings.map(l=>zl({family:e,style:t.italic?"italic":"normal",url:r(s+l.file),unicodeRange:l.unicodeRange})).join(`
410`)),n){let l=e.split(":"),a=l[0],u=l.length>1?l[1]:"normal";i.set(a,t.subsets.subsetMappings.map(c=>zl({family:a,style:u,url:r(s+c.file),unicodeRange:c.unicodeRange})).join(`
411`))}}else if(i.set(e,zl({family:e,style:t.italic?"italic":"normal",url:r(t.url)})),n){let s=e.split(":"),l=s[0],a=s.length>1?s[1]:"normal";i.set(l,zl({family:l,style:a,url:r(t.url)}))}return i}function N2(e,t,r,n){let o=Array.from(e.map).reduce((i,[s,l])=>new Map([...i,...A2(s,l,t,r,n)]),new Map);return Ci([...o.values()].join(`
412`))}function b2(){let e=kw(),r=!!fe(e),n=Qo(),{getFontURL:o}=de(),i=Nw(gd());dN(N2(n,o,r,i))}var O2="[Hydrated]";function P2(e){(0,et.useEffect)(()=>{e&&console.log(O2)},[e])}var fh=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 k2(e,t,r){Vu(!0);let n=L2(e,t);return AO(n,r)}function L2(e,t){let r=Rd();Yu(r,ha(e));let n=wd(Q().get,r,t);if(!n)throw new J(`Not found: ${t}`);let o=n.id;return{key:"root",nodeById:r.nodeById,assets:r.assets,nodeId:o,preexpandedNodeId:o,parentStates:null,modeContext:{},parentState:en.createRoot(r,null,!0),animateRootIds:new Set,stablePathToAssetHash:r.stablePathToAssetHash,assetIdToGuid:r.assetIdToGuid,guidToUrl:r.guidToUrl}}function AO(e,t){try{let r=cs(Q().get,e,t),n=r.visible?r.materializedChildNodeProps?.map(i=>AO(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 M2={url:""};var _2="[Hydration Error]",D2=["hydrat","Minified React error #418","Minified React error #423","Minified React error #424","Minified React error #425"],NO=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;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=F2,getPage:l=void 0,onPageRendered:a,onReactError:u=ga,onLocationChange:c,sendMessage:f=ga,codeComponentsVersion:d,assetsVersion:m,bundleId:g,renderOptions:S={},wasServerRendered:E=!1,withBaseStyles:h=!0,reportingDomain:p,userId:y,analyticsHeaders:v}){this.container=t,this.bundleId=g,this.env=r,this.withBaseStyles=h,this.pendingLocationAtom=X(null),this.currentLocationAtom=X(null),this.transitionAtom=X(void 0),this.getPage=l??this.defaultGetPage,this.getAssetURL=i||this.defaultGetAssetURL,this.getFontURL=s,VC(f),o||(o=new B2(T=>this.setLocation(T,!0))),this.websiteData=Rd(),this.cmsBundleData=null,this.history=o,this.loadComponentsOverNetwork=n,this.wasServerRendered=E,this.needsHydration=E,this.classNamesToStyles={},this.globalStyleSheets={},this.linkTags=[],this.metaTags=[],this.onPageRendered=a,this.onReactError=u,this.onLocationChange=c,Qe.init({env:r,reportingDomain:p||"",rateLimiter:new fh(100,1/1e3),analyticsHeaders:v,userId:y}),this.renderOptionsAtom=X(S);let x=this.rootMaterializedNodePropsAtom=X(T=>{let w=T(this.currentLocationAtom);if(!w)return null;let I=wd(T,this.websiteData,w.url);if(!I)throw new J(`Not found: ${w.url}`);let A=I.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:A,preexpandedNodeId:A,modeContext:{},parentStates:null,parentState:en.createRoot(this.websiteData,this.cmsBundleData)}});if(this.rootMaterializedNodePropsAtom=x,this.codeComponentsVersion=d,this.assetsVersion=m,this.isPreview()||this.isPublished()||this.isSnapshot()){this.onWindowResize=()=>{Q().set(Sa,{width:window.innerWidth,height:window.innerHeight})},this.onWindowResize(),window.addEventListener("resize",this.onWindowResize);let T=(w,I,A,C,N)=>{N&&Qe.reportError(N)};window.addEventListener("error",T)}if(this.isPreview()||this.isPublished()&&!this.wasServerRendered){if(!t)throw new J("Container is required in order to render the site.");this.root=(0,mh.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,dh.createElement)(IO,{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,currentLocationAtom:this.currentLocationAtom,setLocation:t=>this.setLocation(t,!1),preloadLocation:t=>{this.preloadLocation(t)},onPageRendered:this.onPageRendered,onReactError:this.handleReactError,renderOptionsAtom:this.renderOptionsAtom,breakpointWidthAtom:Ln,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})}defaultGetAssetURL=(t,{width:r,height:n}={})=>
412{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 a in i.nodeById){let u=i.nodeById[a];if(u&&(u.cmsCollectionBindingProperties||u.cmsItemFieldBindingProperties)){s=!0;break}}let l=null;if(s)try{let a=`/_json/${this.bundleId}/_cms${r}.json`,u=await fetch(a,{method:"GET",credentials:"include",mode:"no-cors"});u.ok&&(l=await u.json())}catch(a){Qe.reportError(new J("Error loading CMS resource",a)),console.error(a)}return{resource:i,cmsResource:l}};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=Q();n.set(this.pendingLocationAtom,t),this.preloadLocation(t.url).then(({resource:o,cmsResource:i})=>{Yu(this.websiteData,ha(o)),i&&(this.cmsBundleData=sC(i)),r||this.history.push(t),n.set(this.currentLocationAtom,t),_e(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=Q();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,dh.createElement)(L0,{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,breakpointWidthAtom:Ln,withBaseStyles:this.withBaseStyles},t)}resetGlobalVariableStateForSnapshot(){this.isSnapshot()&&en.createRoot(this.websiteData,this.cmsBundleData,!0)}nodeIdToFigmaLayer(t){let r=Q();r.set(this.currentLocationAtom,{url:"/"});let n=this.websiteData.nodeById.get(t),o=r.get(n),i=Q().get(this.rootMaterializedNodePropsAtom),s=Q().get(Ln);if(!i||!o)return null;i.nodeId=t,i.preexpandedNodeId=t,i.breakpointWidth=s;let l=cs(Q().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,dh.createElement)(Co,{node:l,parent:null,context:f})}}refresh(){window.location.reload()}pushPageData(t){Yu(this.websiteData,ha(t))}pushAssetData(t){rv(this.websiteData,iC(t))}unmount(){this.isServer()||(this.onWindowResize&&window.removeEventListener("resize",this.onWindowResize),setTimeout(()=>{this.root?.unmount()}))}hydrate(){this.wasServerRendered,Se(!!this.container,"Container must be provided in order to hydrate the site."),oR(),(0,mh.hydrateRoot)(this.container,this.createWebsiteElement(),{onRecoverableError:(t,r)=>{let n=t.message.toLocaleLowerCase(),o=!1;for(let i of D2)if(n.includes(i.toLocaleLowerCase())){o=!0;break}o?console.error(_2,t,t.cause??"",r.componentStack):console.error(t,r.componentStack)}})}toggleDebugTools(){let t=Q();t.set(ju,!t.get(ju))}_convertMaterializedNodePropsDataForTest(t){let r=cs(Q().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(){Q().get(this.rootMaterializedNodePropsAtom)||(this._rootRuntimeAtomForTestsPromise=new Promise(o=>{this._resolveRootRuntimeAtomForTests=o})),await this._rootRuntimeAtomForTestsPromise;let t=Q().get(this.rootMaterializedNodePropsAtom);Se(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}}setRenderOptions(t){Q().set(this.renderOptionsAtom,t)}handleReactError=(t,r={})=>{try{this.onReactError(t,r)}catch{}Qe.reportError(t)}},B2=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 bO(t,r)}push(t){history.replaceState({scrollY:window.scrollY},"",this.href),history.pushState({},"",bO(t.url||"/",t.search||""))}forward(){history.forward()}back(){history.back()}},bO=(e,t)=>e+t,F2=e=>e;export{kl as ActiveBreakpointContext,r0 as ActiveBreakpointProvider,PF as AppearBehaviorPresetTransition,Dw as BehaviorEasingType,Un as BehaviorPresetEasingFunctions,OF as BehaviorPresetScrollParallaxSpeed,bF as BehaviorPresetStates,GN as BehaviorPresetTransition,Oe as BehaviorType,Ve as BlendMode,Xw as CmsRichTextNodeDefaults,nC as CodeComponentNodeDefaults,oC as CodeFileNodeDefaults,tC as CodeInstanceNodeDefaults,rC as CodeLayerNo
412deDefaults,Uw as ComponentNodeDefaults,Hw as ComponentSetNodeDefaults,sz as CornerRadiusShapeTraitsDefaults,Ky as CornerTraitDefaults,M2 as DEFAULT_HISTORY_STATE,T0 as DEFAULT_SITE_DESCRIPTION,E0 as DEFAULT_SITE_TITLE,Wu as DefaultShapeTraitsDefaults,Ee as ExpressionFunction,Bw as FontVariantPosition,jw as FrameNodeDefaults,gn as FrameTraitsDefaults,Yw as GroupNodeDefaults,Hu as HTMLWidgetType,zu as HasBlendModeAndOpacityTraitDefaults,SL as HasEffectsTraitDefaults,xL as HasFramePropertiesTraitDefaults,Sd as HasGeometryTraitDefaults,vd as HasLayoutTraitDefaults,Vw as HasMaskTraitDefaults,$w as ImageNodeDefaults,qw as InstanceNodeDefaults,iz as InteractionTraitDefaults,Xy as IsImageTraitDefalts,EL as IsInAnimateTreeTraitDefaults,ma as IsLayerTraitDefaults,pn as LayoutConstraintHorizontal,hn as LayoutConstraintVertical,Zo as LineTypes,kF as MARQUEE_PRESET_DEFAULT_SPEED,uh as RESET_STYLES_ID,Qw as RectangleNodeDefaults,zw as RectangularShapeTraitsDefaults,bs as RenderHooksContext,Kw as RepeaterNodeDefaults,eC as ResponsiveSetNodeDefaults,Fw as ResponsiveTraitDefaults,NO as SitesRuntime,q as SmartAnimateType,Lc as SnapshotContext,L0 as SnapshotWebsiteProvider,Uu as SourceCodeTraitsDefaults,Gw as SvgNodeDefaults,yd as TextDecoration,Zw as TextNodeDefaults,Ww as TypePropertiesTraitDefaults,Jw as WidgetNodeDefaults,xd as applyDefaultsToPrototype,zl as buildFontFace,UF as createPropertySetters,k2 as getMaterializedTreeForWebsite,Pc as getPropertySetterNameMap,wo as guidToDOMId,Ed as isPaintGradient,e0 as makeFramerMotionDefinition,ha as parseBundle,qy as parseNode,pz as parseSchemaData,P0 as resetCSS,Gd as solidColor};
413/*!
414	Copyright (c) 2018 Jed Watson.
415	Licensed under the MIT License (MIT), see
416	http://jedwatson.github.io/classnames
417*/
418/*!
419 * Bowser - a browser detector
420 * https://github.com/ded/bowser
421 * MIT License | (c) Dustin Diaz 2015
422 */
423/**
424 * @license React
425 * react-dom.production.min.js
426 *
427 * Copyright (c) Facebook, Inc. and its affiliates.
428 *
429 * This source code is licensed under the MIT license found in the
430 * LICENSE file in the root directory of this source tree.
431 */
432/**
433 * @license React
434 * react-jsx-runtime.production.min.js
435 *
436 * Copyright (c) Facebook, Inc. and its affiliates.
437 *
438 * This source code is licensed under the MIT license found in the
439 * LICENSE file in the root directory of this source tree.
440 */
441/**
442 * @license React
443 * react.production.min.js
444 *
445 * Copyright (c) Facebook, Inc. and its affiliates.
446 *
447 * This source code is licensed under the MIT license found in the
448 * LICENSE file in the root directory of this source tree.
449 */
450/**
451 * @license React
452 * scheduler.production.min.js
453 *
454 * Copyright (c) Facebook, Inc. and its affiliates.
455 *
456 * This source code is licensed under the MIT license found in the
457 * LICENSE file in the root directory of this source tree.
458 */
459/**
460 * @license Tailwind
461 * https://github.com/tailwindlabs/tailwindcss/blob/v3.4.17/src/css/preflight.css
462 *
463 * Copyright (c) Tailwind Labs, Inc.
464 *
465 * Some of the source code in this file comes from the TailwindCSS project, which is licnesed under the MIT license
466 * https://github.com/tailwindlabs/tailwindcss/blob/main/LICENSE
467 */
468/**
469 * @license react-fast-marquee
470 *
471 * Adapted from https://github.com/justin-chu/react-fast-marquee/blob/master/src/components/Marquee.tsx
472 * Copyright (c) 2020 justin-chu
473 * MIT License
474 */

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.