vendor: 4,855 bytes, line 1
1var LV=Object.create;var xp=Object.defineProperty;var CV=Object.getOwnPropertyDescriptor;var PV=Object.getOwnPropertyNames;var DV=Object.getPrototypeOf,vV=Object.prototype.hasOwnProperty;var xV=(e,t,n)=>t in e?xp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var MV=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof require<"u"?require:t)[n]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')});var Qt=(e,t)=>()=>(e&&(t=e(e=0)),t);var ar=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),GV=(e,t)=>{for(var n in t)xp(e,n,{get:t[n],enumerable:!0})},kV=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of PV(t))!vV.call(e,o)&&o!==n&&xp(e,o,{get:()=>t[o],enumerable:!(r=CV(t,o))||r.enumerable});return e};var v=(e,t,n)=>(n=e!=null?LV(DV(e)):{},kV(t||!e||!e.__esModule?xp(n,"default",{value:e,enumerable:!0}):n,e));var Po=(e,t,n)=>(xV(e,typeof t!="symbol"?t+"":t,n),n);var iy=ar(Ie=>{"use strict";var _d=Symbol.for("react.element"),FV=Symbol.for("react.portal"),wV=Symbol.for("react.fragment"),BV=Symbol.for("react.strict_mode"),UV=Symbol.for("react.profiler"),VV=Symbol.for("react.provider"),HV=Symbol.for("react.context"),WV=Symbol.for("react.forward_ref"),YV=Symbol.for("react.suspense"),KV=Symbol.for("react.memo"),zV=Symbol.for("react.lazy"),jN=Symbol.iterator;function XV(e){return e===null||typeof e!="object"?null:(e=jN&&e[jN]||e["@@iterator"],typeof e=="function"?e:null)}var JN={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},qN=Object.assign,QN={};function Yl(e,t,n){this.props=e,this.context=t,this.refs=QN,this.updater=n||JN}Yl.prototype.isReactComponent={};Yl.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")};Yl.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ey(){}ey.prototype=Yl.prototype;function fO(e,t,n){this.props=e,this.context=t,this.refs=QN,this.updater=n||JN}var pO=fO.prototype=new ey;pO.constructor=fO;qN(pO,Yl.prototype);pO.isPureReactComponent=!0;var $N=Array.isArray,ty=Object.prototype.hasOwnProperty,mO={current:null},ny={key:!0,ref:!0,__self:!0,__source:!0};function ry(e,t,n){var r,o={},i=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)ty.call(t,r)&&!ny.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];o.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)o[r]===void 0&&(o[r]=a[r]);return{$$typeof:_d,type:e,key:i,ref:s,props:o,_owner:mO.current}}function jV(e,t){return{$$typeof:_d,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function EO(e){return typeof e=="object"&&e!==null&&e.$$typeof===_d}function $V(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var ZN=/\/+/g;function dO(e,t){return typeof e=="object"&&e!==null&&e.key!=null?$V(""+e.key):t.toString(36)}function Gp(e,t,n,r,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 _d:case FV:s=!0}}if(s)return s=e,o=o(s),e=r===""?"."+dO(s,0):r,$N(o)?(n="",e!=null&&(n=e.replace(ZN,"$&/")+"/"),Gp(o,t,n,"",function(u){return u})):o!=null&&(EO(o)&&(o=jV(o,n+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(ZN,"$&/")+"/")+e)),t.push(o)),1;if(s=0,r=r===""?".":r+":",$N(e))for(var a=0;a<e.length;a++){i=e[a];var l=r+dO(i,a);s+=Gp(i,t,n,l,o)}else if(l=XV(e),typeof l=="function")for(e=l.call(e),a=0;!(i=e.next()).done;)i=i.value,l=r+dO(i,a++),s+=Gp(i,t,n,l,o);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function Mp(e,t,n){if(e==null)return e;var r=[],o=0;return Gp(e,r,"","",function(i){return t.call(n,i,o++)}),r}function ZV(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Cn={current:null},kp={transition:null},JV={ReactCurrentDispatcher:Cn,ReactCurrentBatchConfig:kp,ReactCurrentOwner:mO};function oy(){throw Error("act(...) is not supported in production builds of React.")}
vendor: 8,927 bytes, line 1
1Ie.Children={map:Mp,forEach:function(e,t,n){Mp(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Mp(e,function(){t++}),t},toArray:function(e){return Mp(e,function(t){return t})||[]},only:function(e){if(!EO(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Ie.Component=Yl;Ie.Fragment=wV;Ie.Profiler=UV;Ie.PureComponent=fO;Ie.StrictMode=BV;Ie.Suspense=YV;Ie.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=JV;Ie.act=oy;Ie.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=qN({},e.props),o=e.key,i=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,s=mO.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)ty.call(t,l)&&!ny.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var u=0;u<l;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:_d,type:e.type,key:o,ref:i,props:r,_owner:s}};Ie.createContext=function(e){return e={$$typeof:HV,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:VV,_context:e},e.Consumer=e};Ie.createElement=ry;Ie.createFactory=function(e){var t=ry.bind(null,e);return t.type=e,t};Ie.createRef=function(){return{current:null}};Ie.forwardRef=function(e){return{$$typeof:WV,render:e}};Ie.isValidElement=EO;Ie.lazy=function(e){return{$$typeof:zV,_payload:{_status:-1,_result:e},_init:ZV}};Ie.memo=function(e,t){return{$$typeof:KV,type:e,compare:t===void 0?null:t}};Ie.startTransition=function(e){var t=kp.transition;kp.transition={};try{e()}finally{kp.transition=t}};Ie.unstable_act=oy;Ie.useCallback=function(e,t){return Cn.current.useCallback(e,t)};Ie.useContext=function(e){return Cn.current.useContext(e)};Ie.useDebugValue=function(){};Ie.useDeferredValue=function(e){return Cn.current.useDeferredValue(e)};Ie.useEffect=function(e,t){return Cn.current.useEffect(e,t)};Ie.useId=function(){return Cn.current.useId()};Ie.useImperativeHandle=function(e,t,n){return Cn.current.useImperativeHandle(e,t,n)};Ie.useInsertionEffect=function(e,t){return Cn.current.useInsertionEffect(e,t)};Ie.useLayoutEffect=function(e,t){return Cn.current.useLayoutEffect(e,t)};Ie.useMemo=function(e,t){return Cn.current.useMemo(e,t)};Ie.useReducer=function(e,t,n){return Cn.current.useReducer(e,t,n)};Ie.useRef=function(e){return Cn.current.useRef(e)};Ie.useState=function(e){return Cn.current.useState(e)};Ie.useSyncExternalStore=function(e,t,n){return Cn.current.useSyncExternalStore(e,t,n)};Ie.useTransition=function(){return Cn.current.useTransition()};Ie.version="18.3.1"});var W=ar((rZ,sy)=>{"use strict";sy.exports=iy()});var _y=ar(je=>{"use strict";function OO(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(0<Fp(o,t))e[r]=t,e[n]=o,n=r;else break e}}function ro(e){return e.length===0?null:e[0]}function Bp(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,i=o>>>1;r<i;){var s=2*(r+1)-1,a=e[s],l=s+1,u=e[l];if(0>Fp(a,n))l<o&&0>Fp(u,a)?(e[r]=u,e[l]=n,r=l):(e[r]=a,e[s]=n,r=s);else if(l<o&&0>Fp(u,n))e[r]=u,e[l]=n,r=l;else break e}}return t}function Fp(e,t){var n=e.sortIndex-t.sortIndex;return n!==0?n:e.id-t.id}typeof performance=="object"&&typeof performance.now=="function"?(ay=performance,je.unstable_now=function(){return ay.now()}):(_O=Date,ly=_O.now(),je.unstable_now=function(){return _O.now()-ly});var ay,_O,ly,Do=[],ji=[],qV=1,xr=null,mn=3,Up=!1,fa=!1,hd=!1,dy=typeof setTimeout=="function"?setTimeout:null,fy=typeof clearTimeout=="function"?clearTimeout:null,uy=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function gO(e){for(var t=ro(ji);t!==null;){if(t.callback===null)Bp(ji);else if(t.startTime<=e)Bp(ji),t.sortIndex=t.expirationTime,OO(Do,t);else break;t=ro(ji)}}function IO(e){if(hd=!1,gO(e),!fa)if(ro(Do)!==null)fa=!0,RO(SO);else{var t=ro(ji);t!==null&&AO(IO,t.startTime-e)}}function SO(e,t){fa=!1,hd&&(hd=!1,fy(Od),Od=-1),Up=!0;var n=mn;try{for(gO(t),xr=ro(Do);xr!==null&&(!(xr.expirationTime>t)||e&&!Ey());){var r=xr.callback;if(typeof r=="function"){xr.callback=null,mn=xr.priorityLevel;var o=r(xr.expirationTime<=t);t=je.unstable_now(),typeof o=="function"?xr.callback=o:xr===ro(Do)&&Bp(Do),gO(t)}else Bp(Do);xr=ro(Do)}if(xr!==null)var i=!0;else{var s=ro(ji);s!==null&&AO(IO,s.startTime-t),i=!1}return i}finally{xr=null,mn=n,Up=!1}}var Vp=!1,wp=null,Od=-1,py=5,my=-1;function Ey(){return!(je.unstable_now()-my<py)}function TO(){if(wp!==null){var e=je.unstable_now();my=e;var t=!0;try{t=wp(!0,e)}finally{t?Td():(Vp=!1,wp=null)}}else Vp=!1}var Td;typeof uy=="function"?Td=function(){uy(TO)}:typeof MessageChannel<"u"?(hO=new MessageChannel,cy=hO.port2,hO.port1.onmessage=TO,Td=function(){cy.postMessage(null)}):Td=function(){dy(TO,0)};var hO,cy;function RO(e){wp=e,Vp||(Vp=!0,Td())}function AO(e,t){Od=dy(function(){e(je.unstable_now())},t)}je.unstable_IdlePriority=5;je.unstable_ImmediatePriority=1;je.unstable_LowPriority=4;je.unstable_NormalPriority=3;je.unstable_Profiling=null;je.unstable_UserBlockingPriority=2;je.unstable_cancelCallback=function(e){e.callback=null};je.unstable_continueExecution=function(){fa||Up||(fa=!0,RO(SO))};je.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"):py=0<e?Math.floor(1e3/e):5};je.unstable_getCurrentPriorityLevel=function(){return mn};je.unstable_getFirstCallbackNode=function(){return ro(Do)};je.unstable_next=function(e){switch(mn){case 1:case 2:case 3:var t=3;break;default:t=mn}var n=mn;mn=t;try{return e()}finally{mn=n}};je.unstable_pauseExecution=function(){};je.unstable_requestPaint=function(){};je.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=mn;mn=e;try{return t()}finally{mn=n}};je.unstable_scheduleCallback=function(e,t,n){var r=je.unstable_now();switch(typeof n=="object"&&n!==null?(n=n.delay,n=typeof n=="number"&&0<n?r+n:r):n=r,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=n+o,e={id:qV++,callback:t,priorityLevel:e,startTime:n,expirationTime:o,sortIndex:-1},n>r?(e.sortIndex=n,OO(ji,e),ro(Do)===null&&e===ro(ji)&&(hd?(fy(Od),Od=-1):hd=!0,AO(IO,n-r))):(e.sortIndex=o,OO(Do,e),fa||Up||(fa=!0,RO(SO))),e};je.unstable_shouldYield=Ey;je.unstable_wrapCallback=function(e){var t=mn;return function(){var n=mn;mn=t;try{return e.apply(this,arguments)}finally{mn=n}}}});var hy=ar((iZ,Ty)=>{"use strict";Ty.exports=_y()});var SC=ar(pr=>{"use strict";var QV=W(),dr=hy();function V(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Nb=new Set,Vd={};function Na(e,t){du(e,t),du(e+"Capture",t)}function du(e,t){for(Vd[e]=t,e=0;e<t.length;e++)Nb.add(t[e])}var li=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),XO=Object.prototype.hasOwnProperty,eH=/^[: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]*$/,Oy={},gy={};function tH(e){return XO.call(gy,e)?!0:XO.call(Oy,e)?!1:eH.test(e)?gy[e]=!0:(Oy[e]=!0,!1)}function nH(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function rH(e,t,n,r){if(t===null||typeof t>"u"||nH(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function vn(e,t,n,r,o,i,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var nn={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){nn[e]=new vn(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];nn[t]=new vn(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){nn[e]=new vn(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){nn[e]=new vn(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){nn[e]=new vn(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){nn[e]=new vn(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){nn[e]=new vn(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){nn[e]=new vn(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){nn[e]=new vn(e,5,!1,e.toLowerCase(),null,!1,!1)});var Bg=/[\-:]([a-z])/g;function Ug(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(Bg,Ug);nn[t]=new vn(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(Bg,Ug);nn[t]=new vn(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(Bg,Ug);nn[t]=new vn(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){nn[e]=new vn(e,1,!1,e.toLowerCase(),null,!1,!1)});nn.xlinkHref=new vn("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){nn[e]=new vn(e,1,!1,e.toLowerCase(),null,!0,!0)});function Vg(e,t,n,r){var o=nn.hasOwnProperty(t)?nn[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(rH(t,n,o,r)&&(n=null),r||o===null?tH(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var fi=QV.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Hp=Symbol.for("react.element"),Xl=Symbol.for("react.portal"),jl=Symbol.for("react.fragment"),Hg=Symbol.for("react.strict_mode"),jO=Symbol.for("react.profiler"),yb=Symbol.for("react.provider"),bb=Symbol.for("react.context"),Wg=Symbol.for("react.forward_ref"),$O=Symbol.for("react.suspense"),ZO=Symbol.for("react.suspense_list"),Yg=Symbol.for("react.memo"),Zi=Symbol.for("react.lazy");Symbol.for("react.scope");Symbol.for("react.debug_trace_mode");var Lb=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden");Symbol.for("react.cache");Symbol.for("react.tracing_marker");var Iy=Symbol.iterator;function gd(e){return e===null||typeof e!="object"?null:(e=Iy&&e[Iy]||e["@@iterator"],typeof e=="function"?e:null)}var Et=Object.assign,NO;function Ld(e){if(NO===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);NO=t&&t[1]||""}return` 2`+NO+e}var yO=!1;function bO(e,t){if(!e||yO)return"";yO=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}
vendor: 6,732 bytes, lines 2-5
2catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(` 3`),i=r.stack.split(` 4`),s=o.length-1,a=i.length-1;1<=s&&0<=a&&o[s]!==i[a];)a--;for(;1<=s&&0<=a;s--,a--)if(o[s]!==i[a]){if(s!==1||a!==1)do if(s--,a--,0>a||o[s]!==i[a]){var l=` 5`+o[s].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{yO=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ld(e):""}function oH(e){switch(e.tag){case 5:return Ld(e.type);case 16:return Ld("Lazy");case 13:return Ld("Suspense");case 19:return Ld("SuspenseList");case 0:case 2:case 15:return e=bO(e.type,!1),e;case 11:return e=bO(e.type.render,!1),e;case 1:return e=bO(e.type,!0),e;default:return""}}function JO(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 jl:return"Fragment";case Xl:return"Portal";case jO:return"Profiler";case Hg:return"StrictMode";case $O:return"Suspense";case ZO:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case bb:return(e.displayName||"Context")+".Consumer";case yb:return(e._context.displayName||"Context")+".Provider";case Wg:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Yg:return t=e.displayName||null,t!==null?t:JO(e.type)||"Memo";case Zi:t=e._payload,e=e._init;try{return JO(e(t))}catch{}}return null}function iH(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 JO(t);case 8:return t===Hg?"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 cs(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Cb(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function sH(e){var t=Cb(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){r=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Wp(e){e._valueTracker||(e._valueTracker=sH(e))}function Pb(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Cb(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Tm(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 qO(e,t){var n=t.checked;return Et({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Sy(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=cs(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Db(e,t){t=t.checked,t!=null&&Vg(e,"checked",t,!1)}function QO(e,t){Db(e,t);var n=cs(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?eg(e,t.type,n):t.hasOwnProperty("defaultValue")&&eg(e,t.type,cs(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ry(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function eg(e,t,n){(t!=="number"||Tm(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Cd=Array.isArray;function iu(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+cs(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function tg(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(V(91));return Et({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Ay(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(V(92));if(Cd(n)){if(1<n.length)throw Error(V(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:cs(n)}}function vb(e,t){var n=cs(t.value),r=cs(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function Ny(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function xb(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 ng(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?xb(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Yp,Mb=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Yp=Yp||document.createElement("div"),Yp.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Yp.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Hd(e,t){if(t){var n=e.firstChild;
vendor: 10,023 bytes, line 5
5if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var vd={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},aH=["Webkit","ms","Moz","O"];Object.keys(vd).forEach(function(e){aH.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),vd[t]=vd[e]})});function Gb(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||vd.hasOwnProperty(e)&&vd[e]?(""+t).trim():t+"px"}function kb(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Gb(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var lH=Et({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 rg(e,t){if(t){if(lH[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(V(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(V(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(V(61))}if(t.style!=null&&typeof t.style!="object")throw Error(V(62))}}function og(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 ig=null;function Kg(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var sg=null,su=null,au=null;function yy(e){if(e=af(e)){if(typeof sg!="function")throw Error(V(280));var t=e.stateNode;t&&(t=Km(t),sg(e.stateNode,e.type,t))}}function Fb(e){su?au?au.push(e):au=[e]:su=e}function wb(){if(su){var e=su,t=au;if(au=su=null,yy(e),t)for(e=0;e<t.length;e++)yy(t[e])}}function Bb(e,t){return e(t)}function Ub(){}var LO=!1;function Vb(e,t,n){if(LO)return e(t,n);LO=!0;try{return Bb(e,t,n)}finally{LO=!1,(su!==null||au!==null)&&(Ub(),wb())}}function Wd(e,t){var n=e.stateNode;if(n===null)return null;var r=Km(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(V(231,t,typeof n));return n}var ag=!1;if(li)try{Kl={},Object.defineProperty(Kl,"passive",{get:function(){ag=!0}}),window.addEventListener("test",Kl,Kl),window.removeEventListener("test",Kl,Kl)}catch{ag=!1}var Kl;function uH(e,t,n,r,o,i,s,a,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var xd=!1,hm=null,Om=!1,lg=null,cH={onError:function(e){xd=!0,hm=e}};function dH(e,t,n,r,o,i,s,a,l){xd=!1,hm=null,uH.apply(cH,arguments)}function fH(e,t,n,r,o,i,s,a,l){if(dH.apply(this,arguments),xd){if(xd){var u=hm;xd=!1,hm=null}else throw Error(V(198));Om||(Om=!0,lg=u)}}function ya(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Hb(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 by(e){if(ya(e)!==e)throw Error(V(188))}function pH(e){var t=e.alternate;if(!t){if(t=ya(e),t===null)throw Error(V(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return by(o),e;if(i===r)return by(o),t;i=i.sibling}throw Error(V(188))}if(n.return!==r.return)n=o,r=i;else{for(var s=!1,a=o.child;a;){if(a===n){s=!0,n=o,r=i;break}if(a===r){s=!0,r=o,n=i;break}a=a.sibling}if(!s){for(a=i.child;a;){if(a===n){s=!0,n=i,r=o;break}if(a===r){s=!0,r=i,n=o;break}a=a.sibling}if(!s)throw Error(V(189))}}if(n.alternate!==r)throw Error(V(190))}if(n.tag!==3)throw Error(V(188));return n.stateNode.current===n?e:t}function Wb(e){return e=pH(e),e!==null?Yb(e):null}function Yb(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Yb(e);if(t!==null)return t;e=e.sibling}return null}var Kb=dr.unstable_scheduleCallback,Ly=dr.unstable_cancelCallback,mH=dr.unstable_shouldYield,EH=dr.unstable_requestPaint,Rt=dr.unstable_now,_H=dr.unstable_getCurrentPriorityLevel,zg=dr.unstable_ImmediatePriority,zb=dr.unstable_UserBlockingPriority,gm=dr.unstable_NormalPriority,TH=dr.unstable_LowPriority,Xb=dr.unstable_IdlePriority,Vm=null,Go=null;function hH(e){if(Go&&typeof Go.onCommitFiberRoot=="function")try{Go.onCommitFiberRoot(Vm,e,void 0,(e.current.flags&128)===128)}catch{}}var lo=Math.clz32?Math.clz32:IH,OH=Math.log,gH=Math.LN2;function IH(e){return e>>>=0,e===0?32:31-(OH(e)/gH|0)|0}var Kp=64,zp=4194304;function Pd(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 Im(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~o;a!==0?r=Pd(a):(i&=s,i!==0&&(r=Pd(i)))}else s=n&~o,s!==0?r=Pd(s):i!==0&&(r=Pd(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-lo(t),o=1<<n,r|=e[n],t&=~o;return r}function SH(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 RH(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var s=31-lo(i),a=1<<s,l=o[s];l===-1?(!(a&n)||a&r)&&(o[s]=SH(a,t)):l<=t&&(e.expiredLanes|=a),i&=~a}}function ug(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function jb(){var e=Kp;return Kp<<=1,!(Kp&4194240)&&(Kp=64),e}function CO(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function of(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-lo(t),e[t]=n}function AH(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-lo(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function Xg(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-lo(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var Be=0;function $b(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Zb,jg,Jb,qb,Qb,cg=!1,Xp=[],ns=null,rs=null,os=null,Yd=new Map,Kd=new Map,qi=[],NH="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 Cy(e,t){switch(e){case"focusin":case"focusout":ns=null;break;case"dragenter":case"dragleave":rs=null;break;case"mouseover":case"mouseout":os=null;break;case"pointerover":case"pointerout":Yd.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Kd.delete(t.pointerId)}}function Id(e,t,n,r,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},t!==null&&(t=af(t),t!==null&&jg(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function yH(e,t,n,r,o){switch(t){case"focusin":return ns=Id(ns,e,t,n,r,o),!0;case"dragenter":return rs=Id(rs,e,t,n,r,o),!0;case"mouseover":return os=Id(os,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Yd.set(i,Id(Yd.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Kd.set(i,Id(Kd.get(i)||null,e,t,n,r,o)),!0}return!1}function eL(e){var t=Ea(e.target);if(t!==null){var n=ya(t);if(n!==null){if(t=n.tag,t===13){if(t=Hb(n),t!==null){e.blockedOn=t,Qb(e.priority,function(){Jb(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function am(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=dg(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);ig=r,n.target.dispatchEvent(r),ig=null}else return t=af(n),t!==null&&jg(t),e.blockedOn=n,!1;t.shift()}return!0}function Py(e,t,n){am(e)&&n.delete(t)}function bH(){cg=!1,ns!==null&&am(ns)&&(ns=null),rs!==null&&am(rs)&&(rs=null),os!==null&&am(os)&&(os=null),Yd.forEach(Py),Kd.forEac
vendor: 5,798 bytes, line 5
5h(Py)}function Sd(e,t){e.blockedOn===t&&(e.blockedOn=null,cg||(cg=!0,dr.unstable_scheduleCallback(dr.unstable_NormalPriority,bH)))}function zd(e){function t(o){return Sd(o,e)}if(0<Xp.length){Sd(Xp[0],e);for(var n=1;n<Xp.length;n++){var r=Xp[n];r.blockedOn===e&&(r.blockedOn=null)}}for(ns!==null&&Sd(ns,e),rs!==null&&Sd(rs,e),os!==null&&Sd(os,e),Yd.forEach(t),Kd.forEach(t),n=0;n<qi.length;n++)r=qi[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<qi.length&&(n=qi[0],n.blockedOn===null);)eL(n),n.blockedOn===null&&qi.shift()}var lu=fi.ReactCurrentBatchConfig,Sm=!0;function LH(e,t,n,r){var o=Be,i=lu.transition;lu.transition=null;try{Be=1,$g(e,t,n,r)}finally{Be=o,lu.transition=i}}function CH(e,t,n,r){var o=Be,i=lu.transition;lu.transition=null;try{Be=4,$g(e,t,n,r)}finally{Be=o,lu.transition=i}}function $g(e,t,n,r){if(Sm){var o=dg(e,t,n,r);if(o===null)kO(e,t,r,Rm,n),Cy(e,r);else if(yH(o,e,t,n,r))r.stopPropagation();else if(Cy(e,r),t&4&&-1<NH.indexOf(e)){for(;o!==null;){var i=af(o);if(i!==null&&Zb(i),i=dg(e,t,n,r),i===null&&kO(e,t,r,Rm,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else kO(e,t,r,null,n)}}var Rm=null;function dg(e,t,n,r){if(Rm=null,e=Kg(r),e=Ea(e),e!==null)if(t=ya(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Hb(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Rm=e,null}function tL(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(_H()){case zg:return 1;case zb:return 4;case gm:case TH:return 16;case Xb:return 536870912;default:return 16}default:return 16}}var es=null,Zg=null,lm=null;function nL(){if(lm)return lm;var e,t=Zg,n=t.length,r,o="value"in es?es.value:es.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===o[i-r];r++);return lm=o.slice(e,1<r?1-r:void 0)}function um(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 jp(){return!0}function Dy(){return!1}function fr(e){function t(n,r,o,i,s){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=i,this.target=s,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(i):i[a]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?jp:Dy,this.isPropagationStopped=Dy,this}return Et(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=jp)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=jp)},persist:function(){},isPersistent:jp}),t}var hu={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Jg=fr(hu),sf=Et({},hu,{view:0,detail:0}),PH=fr(sf),PO,DO,Rd,Hm=Et({},sf,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:qg,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!==Rd&&(Rd&&e.type==="mousemove"?(PO=e.screenX-Rd.screenX,DO=e.screenY-Rd.screenY):DO=PO=0,Rd=e),PO)},movementY:function(e){return"movementY"in e?e.movementY:DO}}),vy=fr(Hm),DH=Et({},Hm,{dataTransfer:0}),vH=fr(DH),xH=Et({},sf,{relatedTarget:0}),vO=fr(xH),MH=Et({},hu,{animationName:0,elapsedTime:0,pseudoElement:0}),GH=fr(MH),kH=Et({},hu,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),FH=fr(kH),wH=Et({},hu,{data:0}),xy=fr(wH),BH={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},UH={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"},VH={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function HH(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=VH[e])?!!t[e]:!1}function qg(){return HH}var WH=Et({},sf,{key:function(e){if(e.key){var t=BH[e.key]||e.key;if(t!=="Unidentified")return t}
vendor: 6,036 bytes, line 5
5return e.type==="keypress"?(e=um(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?UH[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:qg,charCode:function(e){return e.type==="keypress"?um(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?um(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),YH=fr(WH),KH=Et({},Hm,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),My=fr(KH),zH=Et({},sf,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:qg}),XH=fr(zH),jH=Et({},hu,{propertyName:0,elapsedTime:0,pseudoElement:0}),$H=fr(jH),ZH=Et({},Hm,{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}),JH=fr(ZH),qH=[9,13,27,32],Qg=li&&"CompositionEvent"in window,Md=null;li&&"documentMode"in document&&(Md=document.documentMode);var QH=li&&"TextEvent"in window&&!Md,rL=li&&(!Qg||Md&&8<Md&&11>=Md),Gy=String.fromCharCode(32),ky=!1;function oL(e,t){switch(e){case"keyup":return qH.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function iL(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var $l=!1;function e2(e,t){switch(e){case"compositionend":return iL(t);case"keypress":return t.which!==32?null:(ky=!0,Gy);case"textInput":return e=t.data,e===Gy&&ky?null:e;default:return null}}function t2(e,t){if($l)return e==="compositionend"||!Qg&&oL(e,t)?(e=nL(),lm=Zg=es=null,$l=!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 rL&&t.locale!=="ko"?null:t.data;default:return null}}var n2={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 Fy(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!n2[e.type]:t==="textarea"}function sL(e,t,n,r){Fb(r),t=Am(t,"onChange"),0<t.length&&(n=new Jg("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Gd=null,Xd=null;function r2(e){TL(e,0)}function Wm(e){var t=ql(e);if(Pb(t))return e}function o2(e,t){if(e==="change")return t}var aL=!1;li&&(li?(Zp="oninput"in document,Zp||(xO=document.createElement("div"),xO.setAttribute("oninput","return;"),Zp=typeof xO.oninput=="function"),$p=Zp):$p=!1,aL=$p&&(!document.documentMode||9<document.documentMode));var $p,Zp,xO;function wy(){Gd&&(Gd.detachEvent("onpropertychange",lL),Xd=Gd=null)}function lL(e){if(e.propertyName==="value"&&Wm(Xd)){var t=[];sL(t,Xd,e,Kg(e)),Vb(r2,t)}}function i2(e,t,n){e==="focusin"?(wy(),Gd=t,Xd=n,Gd.attachEvent("onpropertychange",lL)):e==="focusout"&&wy()}function s2(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Wm(Xd)}function a2(e,t){if(e==="click")return Wm(t)}function l2(e,t){if(e==="input"||e==="change")return Wm(t)}function u2(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var co=typeof Object.is=="function"?Object.is:u2;function jd(e,t){if(co(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!XO.call(t,o)||!co(e[o],t[o]))return!1}return!0}function By(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Uy(e,t){var n=By(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=By(n)}}function uL(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?uL(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function cL(){for(var e=window,t=Tm();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Tm(e.document)}return t}function eI(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 c2(e){var t=cL(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&uL(n.ownerDocument.documentElement,n)){if(r!==null&&eI(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=Uy(n,i);var s=Uy(n,r);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>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var d2=li&&"documentMode"in document&&11>=document.documentMode,Zl=null,fg=null,kd=null,pg=!1;function Vy(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;pg||Zl==null||Zl!==Tm(r)||(r=Zl,"selectionStart"in r&&eI(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 4,508 bytes, line 5
5sNode:r.focusNode,focusOffset:r.focusOffset}),kd&&jd(kd,r)||(kd=r,r=Am(fg,"onSelect"),0<r.length&&(t=new Jg("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Zl)))}function Jp(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Jl={animationend:Jp("Animation","AnimationEnd"),animationiteration:Jp("Animation","AnimationIteration"),animationstart:Jp("Animation","AnimationStart"),transitionend:Jp("Transition","TransitionEnd")},MO={},dL={};li&&(dL=document.createElement("div").style,"AnimationEvent"in window||(delete Jl.animationend.animation,delete Jl.animationiteration.animation,delete Jl.animationstart.animation),"TransitionEvent"in window||delete Jl.transitionend.transition);function Ym(e){if(MO[e])return MO[e];if(!Jl[e])return e;var t=Jl[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in dL)return MO[e]=t[n];return e}var fL=Ym("animationend"),pL=Ym("animationiteration"),mL=Ym("animationstart"),EL=Ym("transitionend"),_L=new Map,Hy="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 fs(e,t){_L.set(e,t),Na(t,[e])}for(qp=0;qp<Hy.length;qp++)Qp=Hy[qp],Wy=Qp.toLowerCase(),Yy=Qp[0].toUpperCase()+Qp.slice(1),fs(Wy,"on"+Yy);var Qp,Wy,Yy,qp;fs(fL,"onAnimationEnd");fs(pL,"onAnimationIteration");fs(mL,"onAnimationStart");fs("dblclick","onDoubleClick");fs("focusin","onFocus");fs("focusout","onBlur");fs(EL,"onTransitionEnd");du("onMouseEnter",["mouseout","mouseover"]);du("onMouseLeave",["mouseout","mouseover"]);du("onPointerEnter",["pointerout","pointerover"]);du("onPointerLeave",["pointerout","pointerover"]);Na("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Na("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Na("onBeforeInput",["compositionend","keypress","textInput","paste"]);Na("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Na("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Na("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Dd="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(" "),f2=new Set("cancel close invalid load scroll toggle".split(" ").concat(Dd));function Ky(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,fH(r,t,void 0,e),e.currentTarget=null}function TL(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var s=r.length-1;0<=s;s--){var a=r[s],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==i&&o.isPropagationStopped())break e;Ky(o,a,u),i=l}else for(s=0;s<r.length;s++){if(a=r[s],l=a.instance,u=a.currentTarget,a=a.listener,l!==i&&o.isPropagationStopped())break e;Ky(o,a,u),i=l}}}if(Om)throw e=lg,Om=!1,lg=null,e}function nt(e,t){var n=t[hg];n===void 0&&(n=t[hg]=new Set);var r=e+"__bubble";n.has(r)||(hL(t,e,2,!1),n.add(r))}function GO(e,t,n){var r=0;t&&(r|=4),hL(n,e,r,t)}var em="_reactListening"+Math.random().toString(36).slice(2);function $d(e){if(!e[em]){e[em]=!0,Nb.forEach(function(n){n!=="selectionchange"&&(f2.has(n)||GO(n,!1,e),GO(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[em]||(t[em]=!0,GO("selectionchange",!1,t))}}function hL(e,t,n,r){switch(tL(t)){case 1:var o=LH;break;case 4:o=CH;break;default:o=$g}n=o.bind(null,t,n,e),o=void 0,!ag||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function kO(e,t,n,r,o){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var a=r.stateNode.containerInfo;
vendor: 15,086 bytes, lines 5-6
5if(a===o||a.nodeType===8&&a.parentNode===o)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&(l=s.stateNode.containerInfo,l===o||l.nodeType===8&&l.parentNode===o))return;s=s.return}for(;a!==null;){if(s=Ea(a),s===null)return;if(l=s.tag,l===5||l===6){r=i=s;continue e}a=a.parentNode}}r=r.return}Vb(function(){var u=i,c=Kg(n),d=[];e:{var f=_L.get(e);if(f!==void 0){var p=Jg,_=e;switch(e){case"keypress":if(um(n)===0)break e;case"keydown":case"keyup":p=YH;break;case"focusin":_="focus",p=vO;break;case"focusout":_="blur",p=vO;break;case"beforeblur":case"afterblur":p=vO;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=vy;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=vH;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=XH;break;case fL:case pL:case mL:p=GH;break;case EL:p=$H;break;case"scroll":p=PH;break;case"wheel":p=JH;break;case"copy":case"cut":case"paste":p=FH;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=My}var T=(t&4)!==0,h=!T&&e==="scroll",m=T?f!==null?f+"Capture":null:f;T=[];for(var E=u,O;E!==null;){O=E;var g=O.stateNode;if(O.tag===5&&g!==null&&(O=g,m!==null&&(g=Wd(E,m),g!=null&&T.push(Zd(E,g,O)))),h)break;E=E.return}0<T.length&&(f=new p(f,_,null,n,c),d.push({event:f,listeners:T}))}}if(!(t&7)){e:{if(f=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",f&&n!==ig&&(_=n.relatedTarget||n.fromElement)&&(Ea(_)||_[ui]))break e;if((p||f)&&(f=c.window===c?c:(f=c.ownerDocument)?f.defaultView||f.parentWindow:window,p?(_=n.relatedTarget||n.toElement,p=u,_=_?Ea(_):null,_!==null&&(h=ya(_),_!==h||_.tag!==5&&_.tag!==6)&&(_=null)):(p=null,_=u),p!==_)){if(T=vy,g="onMouseLeave",m="onMouseEnter",E="mouse",(e==="pointerout"||e==="pointerover")&&(T=My,g="onPointerLeave",m="onPointerEnter",E="pointer"),h=p==null?f:ql(p),O=_==null?f:ql(_),f=new T(g,E+"leave",p,n,c),f.target=h,f.relatedTarget=O,g=null,Ea(c)===u&&(T=new T(m,E+"enter",_,n,c),T.target=O,T.relatedTarget=h,g=T),h=g,p&&_)t:{for(T=p,m=_,E=0,O=T;O;O=zl(O))E++;for(O=0,g=m;g;g=zl(g))O++;for(;0<E-O;)T=zl(T),E--;for(;0<O-E;)m=zl(m),O--;for(;E--;){if(T===m||m!==null&&T===m.alternate)break t;T=zl(T),m=zl(m)}T=null}else T=null;p!==null&&zy(d,f,p,T,!1),_!==null&&h!==null&&zy(d,h,_,T,!0)}}e:{if(f=u?ql(u):window,p=f.nodeName&&f.nodeName.toLowerCase(),p==="select"||p==="input"&&f.type==="file")var I=o2;else if(Fy(f))if(aL)I=l2;else{I=s2;var S=i2}else(p=f.nodeName)&&p.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(I=a2);if(I&&(I=I(e,u))){sL(d,I,n,c);break e}S&&S(e,f,u),e==="focusout"&&(S=f._wrapperState)&&S.controlled&&f.type==="number"&&eg(f,"number",f.value)}switch(S=u?ql(u):window,e){case"focusin":(Fy(S)||S.contentEditable==="true")&&(Zl=S,fg=u,kd=null);break;case"focusout":kd=fg=Zl=null;break;case"mousedown":pg=!0;break;case"contextmenu":case"mouseup":case"dragend":pg=!1,Vy(d,n,c);break;case"selectionchange":if(d2)break;case"keydown":case"keyup":Vy(d,n,c)}var A;if(Qg)e:{switch(e){case"compositionstart":var R="onCompositionStart";break e;case"compositionend":R="onCompositionEnd";break e;case"compositionupdate":R="onCompositionUpdate";break e}R=void 0}else $l?oL(e,n)&&(R="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(R="onCompositionStart");R&&(rL&&n.locale!=="ko"&&($l||R!=="onCompositionStart"?R==="onCompositionEnd"&&$l&&(A=nL()):(es=c,Zg="value"in es?es.value:es.textContent,$l=!0)),S=Am(u,R),0<S.length&&(R=new xy(R,e,null,n,c),d.push({event:R,listeners:S}),A?R.data=A:(A=iL(n),A!==null&&(R.data=A)))),(A=QH?e2(e,n):t2(e,n))&&(u=Am(u,"onBeforeInput"),0<u.length&&(c=new xy("onBeforeInput","beforeinput",null,n,c),d.push({event:c,listeners:u}),c.data=A))}TL(d,t)})}function Zd(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Am(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=Wd(e,n),i!=null&&r.unshift(Zd(e,i,o)),i=Wd(e,t),i!=null&&r.push(Zd(e,i,o))),e=e.return}return r}function zl(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function zy(e,t,n,r,o){for(var i=t._reactName,s=[];n!==null&&n!==r;){var a=n,l=a.alternate,u=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&u!==null&&(a=u,o?(l=Wd(n,i),l!=null&&s.unshift(Zd(n,l,a))):o||(l=Wd(n,i),l!=null&&s.push(Zd(n,l,a)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var p2=/\r\n?/g,m2=/\u0000|\uFFFD/g;function Xy(e){return(typeof e=="string"?e:""+e).replace(p2,` 6`).replace(m2,"")}function tm(e,t,n){if(t=Xy(t),Xy(e)!==t&&n)throw Error(V(425))}function Nm(){}var mg=null,Eg=null;function _g(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 Tg=typeof setTimeout=="function"?setTimeout:void 0,E2=typeof clearTimeout=="function"?clearTimeout:void 0,jy=typeof Promise=="function"?Promise:void 0,_2=typeof queueMicrotask=="function"?queueMicrotask:typeof jy<"u"?function(e){return jy.resolve(null).then(e).catch(T2)}:Tg;function T2(e){setTimeout(function(){throw e})}function FO(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),zd(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);zd(t)}function is(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 $y(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Ou=Math.random().toString(36).slice(2),Mo="__reactFiber$"+Ou,Jd="__reactProps$"+Ou,ui="__reactContainer$"+Ou,hg="__reactEvents$"+Ou,h2="__reactListeners$"+Ou,O2="__reactHandles$"+Ou;function Ea(e){var t=e[Mo];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ui]||n[Mo]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=$y(e);e!==null;){if(n=e[Mo])return n;e=$y(e)}return t}e=n,n=e.parentNode}return null}function af(e){return e=e[Mo]||e[ui],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function ql(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(V(33))}function Km(e){return e[Jd]||null}var Og=[],Ql=-1;function ps(e){return{current:e}}function rt(e){0>Ql||(e.current=Og[Ql],Og[Ql]=null,Ql--)}function $e(e,t){Ql++,Og[Ql]=e.current,e.current=t}var ds={},hn=ps(ds),Hn=ps(!1),ga=ds;function fu(e,t){var n=e.type.contextTypes;if(!n)return ds;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Wn(e){return e=e.childContextTypes,e!=null}function ym(){rt(Hn),rt(hn)}function Zy(e,t,n){if(hn.current!==ds)throw Error(V(168));$e(hn,t),$e(Hn,n)}function OL(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(V(108,iH(e)||"Unknown",o));return Et({},n,r)}function bm(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ds,ga=hn.current,$e(hn,e),$e(Hn,Hn.current),!0}function Jy(e,t,n){var r=e.stateNode;if(!r)throw Error(V(169));n?(e=OL(e,t,ga),r.__reactInternalMemoizedMergedChildContext=e,rt(Hn),rt(hn),$e(hn,e)):rt(Hn),$e(Hn,n)}var oi=null,zm=!1,wO=!1;function gL(e){oi===null?oi=[e]:oi.push(e)}function g2(e){zm=!0,gL(e)}function ms(){if(!wO&&oi!==null){wO=!0;var e=0,t=Be;try{var n=oi;for(Be=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}oi=null,zm=!1}catch(o){throw oi!==null&&(oi=oi.slice(e+1)),Kb(zg,ms),o}finally{Be=t,wO=!1}}return null}var eu=[],tu=0,Lm=null,Cm=0,Mr=[],Gr=0,Ia=null,ii=1,si="";function pa(e,t){eu[tu++]=Cm,eu[tu++]=Lm,Lm=e,Cm=t}function IL(e,t,n){Mr[Gr++]=ii,Mr[Gr++]=si,Mr[Gr++]=Ia,Ia=e;var r=ii;e=si;var o=32-lo(r)-1;r&=~(1<<o),n+=1;var i=32-lo(t)+o;if(30<i){var s=o-o%5;i=(r&(1<<s)-1).toString(32),r>>=s,o-=s,ii=1<<32-lo(t)+o|n<<o|r,si=i+e}else ii=1<<i|n<<o|r,si=e}function tI(e){e.return!==null&&(pa(e,1),IL(e,1,0))}function nI(e){for(;e===Lm;)Lm=eu[--tu],eu[tu]=null,Cm=eu[--tu],eu[tu]=null;for(;e===Ia;)Ia=Mr[--Gr],Mr[Gr]=null,si=Mr[--Gr],Mr[Gr]=null,ii=Mr[--Gr],Mr[Gr]=null}var cr=null,ur=null,ct=!1,ao=null;function SL(e,t){var n=kr(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function qy(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,cr=e,ur=is(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,cr=e,ur=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Ia!==null?{id:ii,overflow:si}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=kr(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,cr=e,ur=null,!0):!1;default:return!1}}function gg(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ig(e){if(ct){var t=ur;if(t){var n=t;if(!qy(e,t)){if(gg(e))throw Error(V(418));t=is(n.nextSibling);var r=cr;t&&qy(e,t)?SL(r,n):(e.flags=e.flags&-4097|2,ct=!1,cr=e)}}else{if(gg(e))throw Error(V(418));e.flags=e.flags&-4097|2,ct=!1,cr=e}}}function Qy(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;cr=e}function nm(e){if(e!==cr)return!1;if(!ct)return Qy(e),ct=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!_g(e.type,e.memoizedProps)),t&&(t=ur)){if(gg(e))throw RL(),Error(V(418));for(;t;)SL(e,t),t=is(t.nextSibling)}if(Qy(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(V(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){ur=is(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}ur=null}}else ur=cr?is(e.stateNode.nextSibling):null;return!0}function RL(){for(var e=ur;e;)e=is(e.nextSibling)}function pu(){ur=cr=null,ct=!1}function rI(e){ao===null?ao=[e]:ao.push(e)}var I2=fi.ReactCurrentBatchConfig;function Ad(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(V(309));var r=n.stateNode}if(!r)throw Error(V(147,e));var o=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(s){var a=o.refs;s===null?delete a[i]:a[i]=s},t._stringRef=i,t)}if(typeof e!="string")throw Error(V(284));if(!n._owner)throw Error(V(290,e))}return e}function rm(e,t){throw e=Object.prototype.toString.call(t),Error(V(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function eb(e){var t=e._init;return t(e._payload)}function AL(e){function t(m,E){if(e){var O=m.deletions;O===null?(m.deletions=[E],m.flags|=16):O.push(E)}}function n(m,E){if(!e)return null;for(;E!==null;)t(m,E),E=E.sibling;return null}function r(m,E){for(m=new Map;E!==null;)E.key!==null?m.set(E.key,E):m.set(E.index,E),E=E.sibling;return m}function o(m,E){return m=us(m,E),m.index=0,m.sibling=null,m}function i(m,E,O){return m.index=O,e?(O=m.alternate,O!==null?(O=O.index,O<E?(m.flags|=2,E):O):(m.flags|=2,E)):(m.flags|=1048576,E)}function s(m){return e&&m.alternate===null&&(m.flags|=2),m}function a(m,E,O,g){return E===null||E.tag!==6?(E=KO(O,m.mode,g),E.return=m,E):(E=o(E,O),E.return=m,E)}function l(m,E,O,g){var I=O.type;return I===jl?c(m,E,O.props.children,g,O.key):E!==null&&(E.elementType===I||typeof I=="object"&&I!==null&&I.$$typeof===Zi&&eb(I)===E.type)?(g=o(E,O.props),g.ref=Ad(m,E,O),g.return=m,g):(g=_m(O.type,O.key,O.props,null,m.mode,g),g.ref=Ad(m,E,O),g.return=m,g)}function u(m,E,O,g){return E===null||E.tag!==4||E.stateNode.containerInfo!==O.containerInfo||E.stateNode.implementation!==O.implementation?(E=zO(O,m.mode,g),E.return=m,E):(E=o(E,O.children||[]),E.return=m,E)}function c(m,E,O,g,I){return E===null||E.tag!==7?(E=Oa(O,m.mode,g,I),E.return=m,E):(E=o(E,O),E.return=m,E)}function d(m,E,O){if(typeof E=="string"&&E!==""||typeof E=="number")return E=KO(""+E,m.mode,O),E.return=m,E;if(typeof E=="object"&&E!==null){switch(E.$$typeof){case Hp:return O=_m(E.type,E.key,E.props,null,m.mode,O),O.ref=Ad(m,null,E),O.return=m,O;case Xl:return E=zO(E,m.mode,O),E.return=m,E;case Zi:var g=E._init;return d(m,g(E._payload),O)}if(Cd(E)||gd(E))return E=Oa(E,m.mode,O,null),E.return=m,E;rm(m,E)}return null}function f(m,E,O,g){var I=E!==null?E.key:null;if(typeof O=="string"&&O!==""||typeof O=="number")return I!==null?null:a(m,E,""+O,g);if(typeof O=="object"&&O!==null){switch(O.$$typeof){case Hp:return O.key===I?l(m,E,O,g):null;case Xl:return O.key===I?u(m,E,O,g):null;case Zi:return I=O._init,f(m,E,I(O._payload),g)}if(Cd(O)||gd(O))return I!==null?null:c(m,E,O,g,null);rm(m,O)}return null}function p(m,E,O,g,I){if(typeof g=="string"&&g!==""||typeof g=="number")return m=m.get(O)||null,a(E,m,""+g,I);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case Hp:return m=m.get(g.key===null?O:g.key)||null,l(E,m,g,I);case Xl:return m=m.get(g.key===null?O:g.key)||null,u(E,m,g,I);case Zi:var S=g._init;return p(m,E,O,S(g._payload),I)}if(Cd(g)||gd(g))return m=m.get(O)||null,c(E,m,g,I,null);rm(E,g)}return null}function _(m,E,O,g){for(var I=null,S=null,A=E,R=E=0,y=null;A!==null&&R<O.length;R++){A.index>R?(y=A,A=null):y=A.sibling;var b=f(m,A,O[R],g);if(b===null){A===null&&(A=y);break}e&&A&&b.alternate===null&&t(m,A),E=i(b,E,R),S===null?I=b:S.sibling=b,S=b,A=y}if(R===O.length)return n(m,A),ct&&pa(m,R),I;if(A===null){for(;R<O.length;R++)A=d(m,O[R],g),A!==null&&(E=i(A,E,R),S===null?I=A:S.sibling=A,S=A);return ct&&pa(m,R),I}for(A=r(m,A);R<O.length;R++)y=p(A,m,R,O[R],g),y!==null&&(e&&y.alternate!==null&&A.delete(y.key===null?R:y.key),E=i(y,E,R),S===null?I=y:S.sibling=y,S=y);return e&&A.forEach(function(L){return t(m,L)}),ct&&pa(m,R),I}function T(m,E,O,g){var I=gd(O);if(typeof I!="function")throw Error(V(150));if(O=I.call(O),O==null)throw Error(V(151));for(var S=I=null,A=E,R=E=0,y=null,b=O.next();A!==null&&!b.done;R++,b=O.next()){A.index>R?(y=A,A=null):y=A.sibling;var L=f(m,A,b.value,g);if(L===null){A===null&&(A=y);break}e&&A&&L.alternate===null&&t(m,A),E=i(L,E,R),S===null?I=L:S.sibling=L,S=L,A=y}if(b.done)return n(m,A),ct&&pa(m,R),I;if(A===null){for(;!b.done;R++,b=O.next())b=d(m,b.value,g),b!==null&&(E=i(b,E,R),S===null?I=b:S.sibling=b,S=b);return ct&&pa(m,R),I}for(A=r(m,A);!b.done;R++,b=O.next())b=p(A,m,R,b.value,g),b!==null&&(e&&b.alternate!==null&&A.delete(b.key===null?R:b.key),E=i(b,E,R),S===null?I=b:S.sibling=b,S=b);return e&&A.forEach(function(D){return t(m,D)}),ct&&pa(m,R),I}function h(m,E,O,g){if(typeof O=="object"&&O!==null&&O.type===jl&&O.ke
vendor: 5,060 bytes, line 6
6y===null&&(O=O.props.children),typeof O=="object"&&O!==null){switch(O.$$typeof){case Hp:e:{for(var I=O.key,S=E;S!==null;){if(S.key===I){if(I=O.type,I===jl){if(S.tag===7){n(m,S.sibling),E=o(S,O.props.children),E.return=m,m=E;break e}}else if(S.elementType===I||typeof I=="object"&&I!==null&&I.$$typeof===Zi&&eb(I)===S.type){n(m,S.sibling),E=o(S,O.props),E.ref=Ad(m,S,O),E.return=m,m=E;break e}n(m,S);break}else t(m,S);S=S.sibling}O.type===jl?(E=Oa(O.props.children,m.mode,g,O.key),E.return=m,m=E):(g=_m(O.type,O.key,O.props,null,m.mode,g),g.ref=Ad(m,E,O),g.return=m,m=g)}return s(m);case Xl:e:{for(S=O.key;E!==null;){if(E.key===S)if(E.tag===4&&E.stateNode.containerInfo===O.containerInfo&&E.stateNode.implementation===O.implementation){n(m,E.sibling),E=o(E,O.children||[]),E.return=m,m=E;break e}else{n(m,E);break}else t(m,E);E=E.sibling}E=zO(O,m.mode,g),E.return=m,m=E}return s(m);case Zi:return S=O._init,h(m,E,S(O._payload),g)}if(Cd(O))return _(m,E,O,g);if(gd(O))return T(m,E,O,g);rm(m,O)}return typeof O=="string"&&O!==""||typeof O=="number"?(O=""+O,E!==null&&E.tag===6?(n(m,E.sibling),E=o(E,O),E.return=m,m=E):(n(m,E),E=KO(O,m.mode,g),E.return=m,m=E),s(m)):n(m,E)}return h}var mu=AL(!0),NL=AL(!1),Pm=ps(null),Dm=null,nu=null,oI=null;function iI(){oI=nu=Dm=null}function sI(e){var t=Pm.current;rt(Pm),e._currentValue=t}function Sg(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function uu(e,t){Dm=e,oI=nu=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Vn=!0),e.firstContext=null)}function wr(e){var t=e._currentValue;if(oI!==e)if(e={context:e,memoizedValue:t,next:null},nu===null){if(Dm===null)throw Error(V(308));nu=e,Dm.dependencies={lanes:0,firstContext:e}}else nu=nu.next=e;return t}var _a=null;function aI(e){_a===null?_a=[e]:_a.push(e)}function yL(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,aI(t)):(n.next=o.next,o.next=n),t.interleaved=n,ci(e,r)}function ci(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Ji=!1;function lI(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function bL(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 ai(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ss(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Ce&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,ci(e,n)}return o=r.interleaved,o===null?(t.next=t,aI(r)):(t.next=o.next,o.next=t),r.interleaved=t,ci(e,n)}function cm(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Xg(e,n)}}function tb(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=s:i=i.next=s,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function vm(e,t,n,r){var o=e.updateQueue;Ji=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var l=a,u=l.next;l.next=null,s===null?i=u:s.next=u,s=l;var c=e.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==s&&(a===null?c.firstBaseUpdate=u:a.next=u,c.lastBaseUpdate=l))}if(i!==null){var d=o.baseState;s=0,c=u=l=null,a=i;do{var f=a.lane,p=a.eventTime;if((r&f)===f){c!==null&&(c=c.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var _=e,T=a;switch(f=t,p=n,T.tag){case 1:if(_=T.payload,typeof _=="function"){d=_.call(p,d,f);break e}d=_;break e;case 3:_.flags=_.flags&-65537|128;case 0:if(_=T.payload,f=typeof _=="function"?_.call(p,d,f):_,f==null)break e;d=Et({},d,f);break e;case 2:Ji=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,f=o.effects,f===null?o.effects=[a]:f.push(a))}else p={eventTime:p,lane:f,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(u=c=p,l=d):c=c.next=p,s|=f;if(a=a.next,a===null){if(a=o.shared.pending,a===null)break;f=a,a=f.next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}while(1);if(c===null&&(l=d),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,t=o.shared.interleaved,t!==null){o=t;do s|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);Ra|=s,e.lanes=s,e.memoizedState=d}}function nb(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;
vendor: 14,891 bytes, lines 6-8
6if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(V(191,o));o.call(r)}}}var lf={},ko=ps(lf),qd=ps(lf),Qd=ps(lf);function Ta(e){if(e===lf)throw Error(V(174));return e}function uI(e,t){switch($e(Qd,t),$e(qd,e),$e(ko,lf),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ng(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=ng(t,e)}rt(ko),$e(ko,t)}function Eu(){rt(ko),rt(qd),rt(Qd)}function LL(e){Ta(Qd.current);var t=Ta(ko.current),n=ng(t,e.type);t!==n&&($e(qd,e),$e(ko,n))}function cI(e){qd.current===e&&(rt(ko),rt(qd))}var pt=ps(0);function xm(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var BO=[];function dI(){for(var e=0;e<BO.length;e++)BO[e]._workInProgressVersionPrimary=null;BO.length=0}var dm=fi.ReactCurrentDispatcher,UO=fi.ReactCurrentBatchConfig,Sa=0,mt=null,Ct=null,wt=null,Mm=!1,Fd=!1,ef=0,S2=0;function En(){throw Error(V(321))}function fI(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!co(e[n],t[n]))return!1;return!0}function pI(e,t,n,r,o,i){if(Sa=i,mt=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,dm.current=e===null||e.memoizedState===null?y2:b2,e=n(r,o),Fd){i=0;do{if(Fd=!1,ef=0,25<=i)throw Error(V(301));i+=1,wt=Ct=null,t.updateQueue=null,dm.current=L2,e=n(r,o)}while(Fd)}if(dm.current=Gm,t=Ct!==null&&Ct.next!==null,Sa=0,wt=Ct=mt=null,Mm=!1,t)throw Error(V(300));return e}function mI(){var e=ef!==0;return ef=0,e}function xo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return wt===null?mt.memoizedState=wt=e:wt=wt.next=e,wt}function Br(){if(Ct===null){var e=mt.alternate;e=e!==null?e.memoizedState:null}else e=Ct.next;var t=wt===null?mt.memoizedState:wt.next;if(t!==null)wt=t,Ct=e;else{if(e===null)throw Error(V(310));Ct=e,e={memoizedState:Ct.memoizedState,baseState:Ct.baseState,baseQueue:Ct.baseQueue,queue:Ct.queue,next:null},wt===null?mt.memoizedState=wt=e:wt=wt.next=e}return wt}function tf(e,t){return typeof t=="function"?t(e):t}function VO(e){var t=Br(),n=t.queue;if(n===null)throw Error(V(311));n.lastRenderedReducer=e;var r=Ct,o=r.baseQueue,i=n.pending;if(i!==null){if(o!==null){var s=o.next;o.next=i.next,i.next=s}r.baseQueue=o=i,n.pending=null}if(o!==null){i=o.next,r=r.baseState;var a=s=null,l=null,u=i;do{var c=u.lane;if((Sa&c)===c)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var d={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(a=l=d,s=r):l=l.next=d,mt.lanes|=c,Ra|=c}u=u.next}while(u!==null&&u!==i);l===null?s=r:l.next=a,co(r,t.memoizedState)||(Vn=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do i=o.lane,mt.lanes|=i,Ra|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function HO(e){var t=Br(),n=t.queue;if(n===null)throw Error(V(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(o!==null){n.pending=null;var s=o=o.next;do i=e(i,s.action),s=s.next;while(s!==o);co(i,t.memoizedState)||(Vn=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function CL(){}function PL(e,t){var n=mt,r=Br(),o=t(),i=!co(r.memoizedState,o);if(i&&(r.memoizedState=o,Vn=!0),r=r.queue,EI(xL.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||wt!==null&&wt.memoizedState.tag&1){if(n.flags|=2048,nf(9,vL.bind(null,n,r,o,t),void 0,null),Bt===null)throw Error(V(349));Sa&30||DL(n,t,o)}return o}function DL(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=mt.updateQueue,t===null?(t={lastEffect:null,stores:null},mt.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function vL(e,t,n,r){t.value=n,t.getSnapshot=r,ML(t)&&GL(e)}function xL(e,t,n){return n(function(){ML(t)&&GL(e)})}function ML(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!co(e,n)}catch{return!0}}function GL(e){var t=ci(e,1);t!==null&&uo(t,e,1,-1)}function rb(e){var t=xo();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:tf,lastRenderedState:e},t.queue=e,e=e.dispatch=N2.bind(null,mt,e),[t.memoizedState,e]}function nf(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=mt.updateQueue,t===null?(t={lastEffect:null,stores:null},mt.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function kL(){return Br().memoizedState}function fm(e,t,n,r){var o=xo();mt.flags|=e,o.memoizedState=nf(1|t,n,void 0,r===void 0?null:r)}function Xm(e,t,n,r){var o=Br();r=r===void 0?null:r;var i=void 0;if(Ct!==null){var s=Ct.memoizedState;if(i=s.destroy,r!==null&&fI(r,s.deps)){o.memoizedState=nf(t,n,i,r);return}}mt.flags|=e,o.memoizedState=nf(1|t,n,i,r)}function ob(e,t){return fm(8390656,8,e,t)}function EI(e,t){return Xm(2048,8,e,t)}function FL(e,t){return Xm(4,2,e,t)}function wL(e,t){return Xm(4,4,e,t)}function BL(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 UL(e,t,n){return n=n!=null?n.concat([e]):null,Xm(4,4,BL.bind(null,t,e),n)}function _I(){}function VL(e,t){var n=Br();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&fI(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function HL(e,t){var n=Br();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&fI(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function WL(e,t,n){return Sa&21?(co(n,t)||(n=jb(),mt.lanes|=n,Ra|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Vn=!0),e.memoizedState=n)}function R2(e,t){var n=Be;Be=n!==0&&4>n?n:4,e(!0);var r=UO.transition;UO.transition={};try{e(!1),t()}finally{Be=n,UO.transition=r}}function YL(){return Br().memoizedState}function A2(e,t,n){var r=ls(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},KL(e))zL(t,n);else if(n=yL(e,t,n,r),n!==null){var o=Dn();uo(n,e,r,o),XL(n,t,r)}}function N2(e,t,n){var r=ls(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(KL(e))zL(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,a=i(s,n);if(o.hasEagerState=!0,o.eagerState=a,co(a,s)){var l=t.interleaved;l===null?(o.next=o,aI(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=yL(e,t,o,r),n!==null&&(o=Dn(),uo(n,e,r,o),XL(n,t,r))}}function KL(e){var t=e.alternate;return e===mt||t!==null&&t===mt}function zL(e,t){Fd=Mm=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function XL(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Xg(e,n)}}var Gm={readContext:wr,useCallback:En,useContext:En,useEffect:En,useImperativeHandle:En,useInsertionEffect:En,useLayoutEffect:En,useMemo:En,useReducer:En,useRef:En,useState:En,useDebugValue:En,useDeferredValue:En,useTransition:En,useMutableSource:En,useSyncExternalStore:En,useId:En,unstable_isNewReconciler:!1},y2={readContext:wr,useCallback:function(e,t){return xo().memoizedState=[e,t===void 0?null:t],e},useContext:wr,useEffect:ob,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,fm(4194308,4,BL.bind(null,t,e),n)},useLayoutEffect:function(e,t){return fm(4194308,4,e,t)},useInsertionEffect:function(e,t){return fm(4,2,e,t)},useMemo:function(e,t){var n=xo();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=xo();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=A2.bind(null,mt,e),[r.memoizedState,e]},useRef:function(e){var t=xo();return e={current:e},t.memoizedState=e},useState:rb,useDebugValue:_I,useDeferredValue:function(e){return xo().memoizedState=e},useTransition:function(){var e=rb(!1),t=e[0];return e=R2.bind(null,e[1]),xo().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=mt,o=xo();if(ct){if(n===void 0)throw Error(V(407));n=n()}else{if(n=t(),Bt===null)throw Error(V(349));Sa&30||DL(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,ob(xL.bind(null,r,i,e),[e]),r.flags|=2048,nf(9,vL.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=xo(),t=Bt.identifierPrefix;if(ct){var n=si,r=ii;n=(r&~(1<<32-lo(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ef++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=S2++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},b2={readContext:wr,useCallback:VL,useContext:wr,useEffect:EI,useImperativeHandle:UL,useInsertionEffect:FL,useLayoutEffect:wL,useMemo:HL,useReducer:VO,useRef:kL,useState:function(){return VO(tf)},useDebugValue:_I,useDeferredValue:function(e){var t=Br();return WL(t,Ct.memoizedState,e)},useTransition:function(){var e=VO(tf)[0],t=Br().memoizedState;return[e,t]},useMutableSource:CL,useSyncExternalStore:PL,useId:YL,unstable_isNewReconciler:!1},L2={readContext:wr,useCallback:VL,useContext:wr,useEffect:EI,useImperativeHandle:UL,useInsertionEffect:FL,useLayoutEffect:wL,useMemo:HL,useReducer:HO,useRef:kL,useState:function(){return HO(tf)},useDebugValue:_I,useDeferredValue:function(e){var t=Br();return Ct===null?t.memoizedState=e:WL(t,Ct.memoizedState,e)},useTransition:function(){var e=HO(tf)[0],t=Br().memoizedState;return[e,t]},useMutableSource:CL,useSyncExternalStore:PL,useId:YL,unstable_isNewReconciler:!1};function io(e,t){if(e&&e.defaultProps){t=Et({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Rg(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Et({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var jm={isMounted:function(e){return(e=e._reactInternals)?ya(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Dn(),o=ls(e),i=ai(r,o);i.payload=t,n!=null&&(i.callback=n),t=ss(e,i,o),t!==null&&(uo(t,e,o,r),cm(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Dn(),o=ls(e),i=ai(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=ss(e,i,o),t!==null&&(uo(t,e,o,r),cm(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Dn(),r=ls(e),o=ai(n,r);o.tag=2,t!=null&&(o.callback=t),t=ss(e,o,r),t!==null&&(uo(t,e,r,n),cm(t,e,r))}};function ib(e,t,n,r,o,i,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,s):t.prototype&&t.prototype.isPureReactComponent?!jd(n,r)||!jd(o,i):!0}function jL(e,t,n){var r=!1,o=ds,i=t.contextType;return typeof i=="object"&&i!==null?i=wr(i):(o=Wn(t)?ga:hn.current,r=t.contextTypes,i=(r=r!=null)?fu(e,o):ds),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=jm,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function sb(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&jm.enqueueReplaceState(t,t.state,null)}function Ag(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},lI(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=wr(i):(i=Wn(t)?ga:hn.current,o.context=fu(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(Rg(e,t,i,n),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&&jm.enqueueReplaceState(o,o.state,null),vm(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function _u(e,t){try{var n="",r=t;do n+=oH(r),r=r.return;while(r);var o=n}catch(i){o=` 7Error generating stack: `+i.message+` 8`+i.stack}return{value:e,source:t,stack:o,digest:null}}function WO(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Ng(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var C2=typeof WeakMap=="function"?WeakMap:Map;function $L(e,t,n){n=ai(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Fm||(Fm=!0,Gg=r),Ng(e,t)},n}function ZL(e,t,n){n=ai(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){Ng(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){Ng(e,t),typeof r!="function"&&(as===null?as=new Set([this]):as.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function ab(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new C2;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=W2.bind(null,e,t,n),t.then(e,e))}function lb(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 ub(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=ai(-1,1),t.tag=2,ss(n,t,1))),n.lanes|=1),e)}var P2=fi.ReactCurrentOwner,Vn=!1;function Pn(e,t,n,r){t.child=e===null?NL(t,null,n,r):mu(t,e.child,n,r)}function cb(e,t,n,r,o){n=n.render;var i=t.ref;return uu(t,o),r=pI(e,t,n,r,i,o),n=mI(),e!==null&&!Vn?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,di(e,t,o)):(ct&&n&&tI(t),t.flags|=1,Pn(e,t,r,o),t.child)}function db(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!AI(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,JL(e,t,i,r,o)):(e=_m(n.type,null,r,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(n=n.compare,n=n!==null?n:jd,n(s,r)&&e.ref===t.ref)return di(e,t,o)}return t.flags|=1,e=us(i,r),e.ref=t.ref,e.return=t,t.child=e}function JL(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(jd(i,r)&&e.ref===t.ref)if(Vn=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(Vn=!0);else return t.lanes=e.lanes,di(e,t,o)}return yg(e,t,n,r,o)}
vendor: 9,133 bytes, line 8
8function qL(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},$e(ou,lr),lr|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,$e(ou,lr),lr|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,$e(ou,lr),lr|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,$e(ou,lr),lr|=r;return Pn(e,t,o,n),t.child}function QL(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function yg(e,t,n,r,o){var i=Wn(n)?ga:hn.current;return i=fu(t,i),uu(t,o),n=pI(e,t,n,r,i,o),r=mI(),e!==null&&!Vn?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,di(e,t,o)):(ct&&r&&tI(t),t.flags|=1,Pn(e,t,n,o),t.child)}function fb(e,t,n,r,o){if(Wn(n)){var i=!0;bm(t)}else i=!1;if(uu(t,o),t.stateNode===null)pm(e,t),jL(t,n,r),Ag(t,n,r,o),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var l=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=wr(u):(u=Wn(n)?ga:hn.current,u=fu(t,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function";d||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||l!==u)&&sb(t,s,r,u),Ji=!1;var f=t.memoizedState;s.state=f,vm(t,r,s,o),l=t.memoizedState,a!==r||f!==l||Hn.current||Ji?(typeof c=="function"&&(Rg(t,n,c,r),l=t.memoizedState),(a=Ji||ib(t,n,a,r,f,l,u))?(d||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=r,t.memoizedState=l),s.props=r,s.state=l,s.context=u,r=a):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,bL(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:io(t.type,a),s.props=u,d=t.pendingProps,f=s.context,l=n.contextType,typeof l=="object"&&l!==null?l=wr(l):(l=Wn(n)?ga:hn.current,l=fu(t,l));var p=n.getDerivedStateFromProps;(c=typeof p=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==d||f!==l)&&sb(t,s,r,l),Ji=!1,f=t.memoizedState,s.state=f,vm(t,r,s,o);var _=t.memoizedState;a!==d||f!==_||Hn.current||Ji?(typeof p=="function"&&(Rg(t,n,p,r),_=t.memoizedState),(u=Ji||ib(t,n,u,r,f,_,l)||!1)?(c||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,_,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,_,l)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=_),s.props=r,s.state=_,s.context=l,r=u):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return bg(e,t,n,r,i,o)}function bg(e,t,n,r,o,i){QL(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return o&&Jy(t,n,!1),di(e,t,i);r=t.stateNode,P2.current=t;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=mu(t,e.child,null,i),t.child=mu(t,null,a,i)):Pn(e,t,a,i),t.memoizedState=r.state,o&&Jy(t,n,!0),t.child}function eC(e){var t=e.stateNode;t.pendingContext?Zy(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Zy(e,t.context,!1),uI(e,t.containerInfo)}function pb(e,t,n,r,o){return pu(),rI(o),t.flags|=256,Pn(e,t,n,r),t.child}var Lg={dehydrated:null,treeContext:null,retryLane:0};function Cg(e){return{baseLanes:e,cachePool:null,transitions:null}}function tC(e,t,n){var r=t.pendingProps,o=pt.current,i=!1,s=(t.flags&128)!==0,a;if((a=s)||(a=e!==null&&e.memoizedState===null?!1:(o&2)!==0),a?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),$e(pt,o&1),e===null)return Ig(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=r.children,e=r.fallback,i?(r=t.mode,i=t.child,s={mode:"hidden",children:s},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=s):i=Jm(s,r,0,null),e=Oa(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Cg(n),t.memoizedState=Lg,e):TI(t,s));if(o=e.memoizedState,o!==null&&(a=o.dehydrated,a!==null))return D2(e,t,s,r,a,o,n);if(i){i=r.fallback,s=t.mode,o=e.child,a=o.sibling;var l={mode:"hidden",children:r.children};return!(s&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=us(o,l),r.subtreeFlags=o.subtreeFlags&14680064),a!==null?i=us(a,i):(i=Oa(i,s,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,s=e.child.memoizedState,s=s===null?Cg(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},i.memoizedState=s,i.childLanes=e.childLanes&~n,t.memoizedState=Lg,r}return i=e.child,e=i.sibling,r=us(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function TI(e,t){return t=Jm({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function om(e,t,n,r){return r!==null&&rI(r),mu(t,e.child,null,n),e=TI(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function D2(e,t,n,r,o,i,s){if(n)return t.flags&256?(t.flags&=-257,r=WO(Error(V(422))),om(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=Jm({mode:"visible",children:r.children},o,0,null),i=Oa(i,o,s,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&mu(t,e.child,null,s),t.child.memoizedState=Cg(s),t.memoizedState=Lg,i);if(!(t.mode&1))return om(e,t,s,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var a=r.dgst;return r=a,i=Error(V(419)),r=WO(i,r,void 0),om(e,t,s,r)}if(a=(s&e.childLanes)!==0,Vn||a){if(r=Bt,r!==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&(r.suspendedLanes|s)?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,ci(e,o),uo(r,e,o,-1))}return RI(),r=WO(Error(V(421))),om(e,t,s,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=Y2.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,ur=is(o.nextSibling),cr=t,ct=!0,ao=null,e!==null&&(Mr[Gr++]=ii,Mr[Gr++]=si,Mr[Gr++]=Ia,ii=e.id,si=e.overflow,Ia=t),t=TI(t,r.children),t.flags|=4096,t)}function mb(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Sg(e.return,t,n)}function YO(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function nC(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Pn(e,t,r.children,n),r=pt.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&mb(e,n,t);else if(e.tag===19)mb(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if($e(pt,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&xm(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),YO(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&xm(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}YO(t,!0,n,null,i);break;case"together":YO(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function pm(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function di(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Ra|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(V(153));if(t.child!==null){for(e=t.child,n=us(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=us(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function v2(e,t,n){switch(t.tag){case 3:eC(t),pu();break;case 5:LL(t);break;
vendor: 4,476 bytes, line 8
8case 1:Wn(t.type)&&bm(t);break;case 4:uI(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;$e(Pm,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?($e(pt,pt.current&1),t.flags|=128,null):n&t.child.childLanes?tC(e,t,n):($e(pt,pt.current&1),e=di(e,t,n),e!==null?e.sibling:null);$e(pt,pt.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return nC(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),$e(pt,pt.current),r)break;return null;case 22:case 23:return t.lanes=0,qL(e,t,n)}return di(e,t,n)}var rC,Pg,oC,iC;rC=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Pg=function(){};oC=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Ta(ko.current);var i=null;switch(n){case"input":o=qO(e,o),r=qO(e,r),i=[];break;case"select":o=Et({},o,{value:void 0}),r=Et({},r,{value:void 0}),i=[];break;case"textarea":o=tg(e,o),r=tg(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Nm)}rg(n,r);var s;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var a=o[u];for(s in a)a.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Vd.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var l=r[u];if(a=o?.[u],r.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(s in a)!a.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in l)l.hasOwnProperty(s)&&a[s]!==l[s]&&(n||(n={}),n[s]=l[s])}else n||(i||(i=[]),i.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(i=i||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(i=i||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Vd.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&nt("scroll",e),i||a===l||(i=[])):(i=i||[]).push(u,l))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};iC=function(e,t,n,r){n!==r&&(t.flags|=4)};function Nd(e,t){if(!ct)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function _n(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function x2(e,t,n){var r=t.pendingProps;switch(nI(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return _n(t),null;case 1:return Wn(t.type)&&ym(),_n(t),null;case 3:return r=t.stateNode,Eu(),rt(Hn),rt(hn),dI(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(nm(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,ao!==null&&(wg(ao),ao=null))),Pg(e,t),_n(t),null;case 5:cI(t);var o=Ta(Qd.current);if(n=t.type,e!==null&&t.stateNode!=null)oC(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(V(166));return _n(t),null}if(e=Ta(ko.current),nm(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Mo]=t,r[Jd]=i,e=(t.mode&1)!==0,n){case"dialog":nt("cancel",r),nt("close",r);break;case"iframe":case"object":case"embed":nt("load",r);break;case"video":case"audio":for(o=0;o<Dd.length;o++)nt(Dd[o],r);break;case"source":nt("error",r);break;case"img":case"image":case"link":nt("error",r),nt("load",r);break;case"details":nt("toggle",r);break;case"input":Sy(r,i),nt("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},nt("invalid",r);break;case"textarea":Ay(r,i),nt("invalid",r)}rg(n,i),o=null;for(var s in i)if(i.hasOwnProperty(s)){var a=i[s];
vendor: 14,312 bytes, line 8
8s==="children"?typeof a=="string"?r.textContent!==a&&(i.suppressHydrationWarning!==!0&&tm(r.textContent,a,e),o=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(i.suppressHydrationWarning!==!0&&tm(r.textContent,a,e),o=["children",""+a]):Vd.hasOwnProperty(s)&&a!=null&&s==="onScroll"&&nt("scroll",r)}switch(n){case"input":Wp(r),Ry(r,i,!0);break;case"textarea":Wp(r),Ny(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=Nm)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=xb(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script></script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Mo]=t,e[Jd]=r,rC(e,t,!1,!1),t.stateNode=e;e:{switch(s=og(n,r),n){case"dialog":nt("cancel",e),nt("close",e),o=r;break;case"iframe":case"object":case"embed":nt("load",e),o=r;break;case"video":case"audio":for(o=0;o<Dd.length;o++)nt(Dd[o],e);o=r;break;case"source":nt("error",e),o=r;break;case"img":case"image":case"link":nt("error",e),nt("load",e),o=r;break;case"details":nt("toggle",e),o=r;break;case"input":Sy(e,r),o=qO(e,r),nt("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=Et({},r,{value:void 0}),nt("invalid",e);break;case"textarea":Ay(e,r),o=tg(e,r),nt("invalid",e);break;default:o=r}rg(n,o),a=o;for(i in a)if(a.hasOwnProperty(i)){var l=a[i];i==="style"?kb(e,l):i==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&Mb(e,l)):i==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&Hd(e,l):typeof l=="number"&&Hd(e,""+l):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Vd.hasOwnProperty(i)?l!=null&&i==="onScroll"&&nt("scroll",e):l!=null&&Vg(e,i,l,s))}switch(n){case"input":Wp(e),Ry(e,r,!1);break;case"textarea":Wp(e),Ny(e);break;case"option":r.value!=null&&e.setAttribute("value",""+cs(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?iu(e,!!r.multiple,i,!1):r.defaultValue!=null&&iu(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=Nm)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return _n(t),null;case 6:if(e&&t.stateNode!=null)iC(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(V(166));if(n=Ta(Qd.current),Ta(ko.current),nm(t)){if(r=t.stateNode,n=t.memoizedProps,r[Mo]=t,(i=r.nodeValue!==n)&&(e=cr,e!==null))switch(e.tag){case 3:tm(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&tm(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Mo]=t,t.stateNode=r}return _n(t),null;case 13:if(rt(pt),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ct&&ur!==null&&t.mode&1&&!(t.flags&128))RL(),pu(),t.flags|=98560,i=!1;else if(i=nm(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(V(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(V(317));i[Mo]=t}else pu(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;_n(t),i=!1}else ao!==null&&(wg(ao),ao=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||pt.current&1?Pt===0&&(Pt=3):RI())),t.updateQueue!==null&&(t.flags|=4),_n(t),null);case 4:return Eu(),Pg(e,t),e===null&&$d(t.stateNode.containerInfo),_n(t),null;case 10:return sI(t.type._context),_n(t),null;case 17:return Wn(t.type)&&ym(),_n(t),null;case 19:if(rt(pt),i=t.memoizedState,i===null)return _n(t),null;if(r=(t.flags&128)!==0,s=i.rendering,s===null)if(r)Nd(i,!1);else{if(Pt!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=xm(e),s!==null){for(t.flags|=128,Nd(i,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,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}),n=n.sibling;return $e(pt,pt.current&1|2),t.child}e=e.sibling}i.tail!==null&&Rt()>Tu&&(t.flags|=128,r=!0,Nd(i,!1),t.lanes=4194304)}else{if(!r)if(e=xm(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Nd(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!ct)return _n(t),null}else 2*Rt()-i.renderingStartTime>Tu&&n!==1073741824&&(t.flags|=128,r=!0,Nd(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(n=i.last,n!==null?n.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,n=pt.current,$e(pt,r?n&1|2:n&1),t):(_n(t),null);case 22:case 23:return SI(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?lr&1073741824&&(_n(t),t.subtreeFlags&6&&(t.flags|=8192)):_n(t),null;case 24:return null;case 25:return null}throw Error(V(156,t.tag))}function M2(e,t){switch(nI(t),t.tag){case 1:return Wn(t.type)&&ym(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Eu(),rt(Hn),rt(hn),dI(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return cI(t),null;case 13:if(rt(pt),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(V(340));pu()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return rt(pt),null;case 4:return Eu(),null;case 10:return sI(t.type._context),null;case 22:case 23:return SI(),null;case 24:return null;default:return null}}var im=!1,Tn=!1,G2=typeof WeakSet=="function"?WeakSet:Set,$=null;function ru(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){_t(e,t,r)}else n.current=null}function Dg(e,t,n){try{n()}catch(r){_t(e,t,r)}}var Eb=!1;function k2(e,t){if(mg=Sm,e=cL(),eI(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,u=0,c=0,d=e,f=null;t:for(;;){for(var p;d!==n||o!==0&&d.nodeType!==3||(a=s+o),d!==i||r!==0&&d.nodeType!==3||(l=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(p=d.firstChild)!==null;)f=d,d=p;for(;;){if(d===e)break t;if(f===n&&++u===o&&(a=s),f===i&&++c===r&&(l=s),(p=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=p}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Eg={focusedElem:e,selectionRange:n},Sm=!1,$=t;$!==null;)if(t=$,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,$=e;else for(;$!==null;){t=$;try{var _=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(_!==null){var T=_.memoizedProps,h=_.memoizedState,m=t.stateNode,E=m.getSnapshotBeforeUpdate(t.elementType===t.type?T:io(t.type,T),h);m.__reactInternalSnapshotBeforeUpdate=E}break;case 3:var O=t.stateNode.containerInfo;O.nodeType===1?O.textContent="":O.nodeType===9&&O.documentElement&&O.removeChild(O.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(V(163))}}catch(g){_t(t,t.return,g)}if(e=t.sibling,e!==null){e.return=t.return,$=e;break}$=t.return}return _=Eb,Eb=!1,_}function wd(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Dg(t,n,i)}o=o.next}while(o!==r)}}function $m(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function vg(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function sC(e){var t=e.alternate;t!==null&&(e.alternate=null,sC(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Mo],delete t[Jd],delete t[hg],delete t[h2],delete t[O2])),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 aC(e){return e.tag===5||e.tag===3||e.tag===4}function _b(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||aC(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 xg(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Nm));else if(r!==4&&(e=e.child,e!==null))for(xg(e,t,n),e=e.sibling;e!==null;)xg(e,t,n),e=e.sibling}function Mg(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Mg(e,t,n),e=e.sibling;e!==null;)Mg(e,t,n),e=e.sibling}var en=null,so=!1;function $i(e,t,n){for(n=n.child;n!==null;)lC(e,t,n),n=n.sibling}function lC(e,t,n){if(Go&&typeof Go.onCommitFiberUnmount=="function")try{Go.onCommitFiberUnmount(Vm,n)}catch{}switch(n.tag){case 5:Tn||ru(n,t);case 6:var r=en,o=so;en=null,$i(e,t,n),en=r,so=o,en!==null&&(so?(e=en,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):en.removeChild(n.stateNode));break;case 18:en!==null&&(so?(e=en,n=n.stateNode,e.nodeType===8?FO(e.parentNode,n):e.nodeType===1&&FO(e,n),zd(e)):FO(en,n.stateNode));break;case 4:r=en,o=so,en=n.stateNode.containerInfo,so=!0,$i(e,t,n),en=r,so=o;break;case 0:case 11:case 14:case 15:if(!Tn&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,s=i.destroy;i=i.tag,s!==void 0&&(i&2||i&4)&&Dg(n,t,s),o=o.next}while(o!==r)}$i(e,t,n);break;case 1:if(!Tn&&(ru(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){_t(n,t,a)}$i(e,t,n);break;case 21:$i(e,t,n);break;case 22:n.mode&1?(Tn=(r=Tn)||n.memoizedState!==null,$i(e,t,n),Tn=r):$i(e,t,n);break;default:$i(e,t,n)}}function Tb(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new G2),t.forEach(function(r){var o=K2.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function oo(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,s=t,a=s;e:for(;a!==null;){switch(a.tag){case 5:en=a.stateNode,so=!1;break e;case 3:en=a.stateNode.containerInfo,so=!0;break e;case 4:en=a.stateNode.containerInfo,so=!0;break e}a=a.return}if(en===null)throw Error(V(160));lC(i,s,o),en=null,so=!1;var l=o.alternate;l!==null&&(l.return=null),o.return=null}catch(u){_t(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)uC(t,e),t=t.sibling}function uC(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(oo(t,e),vo(e),r&4){try{wd(3,e,e.return),$m(3,e)}catch(T){_t(e,e.return,T)}try{wd(5,e,e.return)}catch(T){_t(e,e.return,T)}}break;case 1:oo(t,e),vo(e),r&512&&n!==null&&ru(n,n.return);break;case 5:if(oo(t,e),vo(e),r&512&&n!==null&&ru(n,n.return),e.flags&32){var o=e.stateNode;try{Hd(o,"")}catch(T){_t(e,e.return,T)}}if(r&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,s=n!==null?n.memoizedProps:i,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&i.type==="radio"&&i.name!=null&&Db(o,i),og(a,s);var u=og(a,i);for(s=0;s<l.length;s+=2){var c=l[s],d=l[s+1];c==="style"?kb(o,d):c==="dangerouslySetInnerHTML"?Mb(o,d):c==="children"?Hd(o,d):Vg(o,c,d,u)}switch(a){case"input":QO(o,i);break;case"textarea":vb(o,i);break;case"select":var f=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var p=i.value;p!=null?iu(o,!!i.multiple,p,!1):f!==!!i.multiple&&(i.defaultValue!=null?iu(o,!!i.multiple,i.defaultValue,!0):iu(o,!!i.multiple,i.multiple?[]:"",!1))}o[Jd]=i}catch(T){_t(e,e.return,T)}}break;case 6:if(oo(t,e),vo(e),r&4){if(e.stateNode===null)throw Error(V(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(T){_t(e,e.return,T)}}break;case 3:if(oo(t,e),vo(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{zd(t.containerInfo)}catch(T){_t(e,e.return,T)}break;case 4:oo(t,e),vo(e);break;case 13:oo(t,e),vo(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(gI=Rt())),r&4&&Tb(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(Tn=(u=Tn)||c,oo(t,e),Tn=u):oo(t,e),vo(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for($=e,c=e.child;c!==null;){for(d=$=c;$!==null;){switch(f=$,p=f.child,f.tag){case 0:case 11:case 14:case 15:wd(4,f,f.return);break;case 1:ru(f,f.return);var _=f.stateNode;if(typeof _.componentWillUnmount=="function"){r=f,n=f.return;try{t=r,_.props=t.memoizedProps,_.state=t.memoizedState,_.componentWillUnmount()}catch(T){_t(r,n,T)}}break;case 5:ru(f,f.return);break;case 22:if(f.memoizedState!==null){Ob(d);continue}}p!==null?(p.return=f,$=p):Ob(d)}c=c.sibling}e:for(c=null,d=e;;){if(d.tag===5){if(c===null){c=d;try{o=d.stateNode,u?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(a=d.stateNode,l=d.memoizedProps.style,s=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=Gb("display",s))}catch(T){_t(e,e.return,T)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(T){_t(e,e.return,T)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.
vendor: 5,383 bytes, line 8
8child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:oo(t,e),vo(e),r&4&&Tb(e);break;case 21:break;default:oo(t,e),vo(e)}}function vo(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(aC(n)){var r=n;break e}n=n.return}throw Error(V(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(Hd(o,""),r.flags&=-33);var i=_b(e);Mg(e,i,o);break;case 3:case 4:var s=r.stateNode.containerInfo,a=_b(e);xg(e,a,s);break;default:throw Error(V(161))}}catch(l){_t(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function F2(e,t,n){$=e,cC(e,t,n)}function cC(e,t,n){for(var r=(e.mode&1)!==0;$!==null;){var o=$,i=o.child;if(o.tag===22&&r){var s=o.memoizedState!==null||im;if(!s){var a=o.alternate,l=a!==null&&a.memoizedState!==null||Tn;a=im;var u=Tn;if(im=s,(Tn=l)&&!u)for($=o;$!==null;)s=$,l=s.child,s.tag===22&&s.memoizedState!==null?gb(o):l!==null?(l.return=s,$=l):gb(o);for(;i!==null;)$=i,cC(i,t,n),i=i.sibling;$=o,im=a,Tn=u}hb(e,t,n)}else o.subtreeFlags&8772&&i!==null?(i.return=o,$=i):hb(e,t,n)}}function hb(e){for(;$!==null;){var t=$;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Tn||$m(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Tn)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:io(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&nb(t,i,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}nb(t,s,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var d=c.dehydrated;d!==null&&zd(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(V(163))}Tn||t.flags&512&&vg(t)}catch(f){_t(t,t.return,f)}}if(t===e){$=null;break}if(n=t.sibling,n!==null){n.return=t.return,$=n;break}$=t.return}}function Ob(e){for(;$!==null;){var t=$;if(t===e){$=null;break}var n=t.sibling;if(n!==null){n.return=t.return,$=n;break}$=t.return}}function gb(e){for(;$!==null;){var t=$;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{$m(4,t)}catch(l){_t(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(l){_t(t,o,l)}}var i=t.return;try{vg(t)}catch(l){_t(t,i,l)}break;case 5:var s=t.return;try{vg(t)}catch(l){_t(t,s,l)}}}catch(l){_t(t,t.return,l)}if(t===e){$=null;break}var a=t.sibling;if(a!==null){a.return=t.return,$=a;break}$=t.return}}var w2=Math.ceil,km=fi.ReactCurrentDispatcher,hI=fi.ReactCurrentOwner,Fr=fi.ReactCurrentBatchConfig,Ce=0,Bt=null,Nt=null,tn=0,lr=0,ou=ps(0),Pt=0,rf=null,Ra=0,Zm=0,OI=0,Bd=null,Un=null,gI=0,Tu=1/0,ri=null,Fm=!1,Gg=null,as=null,sm=!1,ts=null,wm=0,Ud=0,kg=null,mm=-1,Em=0;function Dn(){return Ce&6?Rt():mm!==-1?mm:mm=Rt()}function ls(e){return e.mode&1?Ce&2&&tn!==0?tn&-tn:I2.transition!==null?(Em===0&&(Em=jb()),Em):(e=Be,e!==0||(e=window.event,e=e===void 0?16:tL(e.type)),e):1}function uo(e,t,n,r){if(50<Ud)throw Ud=0,kg=null,Error(V(185));of(e,n,r),(!(Ce&2)||e!==Bt)&&(e===Bt&&(!(Ce&2)&&(Zm|=n),Pt===4&&Qi(e,tn)),Yn(e,r),n===1&&Ce===0&&!(t.mode&1)&&(Tu=Rt()+500,zm&&ms()))}function Yn(e,t){var n=e.callbackNode;RH(e,t);var r=Im(e,e===Bt?tn:0);if(r===0)n!==null&&Ly(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Ly(n),t===1)e.tag===0?g2(Ib.bind(null,e)):gL(Ib.bind(null,e)),_2(function(){!(Ce&6)&&ms()}),n=null;else{switch($b(r)){case 1:n=zg;break;case 4:n=zb;break;case 16:n=gm;break;case 536870912:n=Xb;break;default:n=gm}n=hC(n,dC.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function dC(e,t){if(mm=-1,Em=0,Ce&6)throw Error(V(327));var n=e.callbackNode;if(cu()&&e.callbackNode!==n)return null;var r=Im(e,e===Bt?tn:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Bm(e,r);else{t=r;var o=Ce;Ce|=2;var i=pC();(Bt!==e||tn!==t)&&(ri=null,Tu=Rt()+500,ha(e,t));do try{V2();break}catch(a){fC(e,a)}while(1);iI(),km.current=i,Ce=o,Nt!==null?t=0:(Bt=null,tn=0,t=Pt)}if(t!==0){if(t===2&&(o=ug(e),o!==0&&(r=o,t=Fg(e,o))),t===1)throw n=rf,ha(e,0),Qi(e,r),Yn(e,Rt()),n;if(t===6)Qi(e,r);else{if(o=e.current.alternate,!(r&30)&&!B2(o)&&(t=Bm(e,r),t===2&&(i=ug(e),i!==0&&(r=i,t=Fg(e,i))),t===1))throw n=rf,ha(e,0),Qi(e,r),Yn(e,Rt()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(V(345));case 2:ma(e,Un,ri);break;case 3:if(Qi(e,r),(r&130023424)===r&&(t=gI+500-Rt(),10<t)){if(Im(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){Dn(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Tg(ma.bind(null,e,Un,ri),t);break}ma(e,Un,ri);break;case 4:if(Qi(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-lo(r);i=1<<s,s=t[s],s>o&&(o=s),r&=~i}if(r=o,r=Rt()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*w2(r/1960))-r,10<r){e.timeoutHandle=Tg(ma.bind(null,e,Un,ri),r);break}ma(e,Un,ri);break;
vendor: 4,672 bytes, line 8
8case 5:ma(e,Un,ri);break;default:throw Error(V(329))}}}return Yn(e,Rt()),e.callbackNode===n?dC.bind(null,e):null}function Fg(e,t){var n=Bd;return e.current.memoizedState.isDehydrated&&(ha(e,t).flags|=256),e=Bm(e,t),e!==2&&(t=Un,Un=n,t!==null&&wg(t)),e}function wg(e){Un===null?Un=e:Un.push.apply(Un,e)}function B2(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!co(i(),o))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Qi(e,t){for(t&=~OI,t&=~Zm,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-lo(t),r=1<<n;e[n]=-1,t&=~r}}function Ib(e){if(Ce&6)throw Error(V(327));cu();var t=Im(e,0);if(!(t&1))return Yn(e,Rt()),null;var n=Bm(e,t);if(e.tag!==0&&n===2){var r=ug(e);r!==0&&(t=r,n=Fg(e,r))}if(n===1)throw n=rf,ha(e,0),Qi(e,t),Yn(e,Rt()),n;if(n===6)throw Error(V(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,ma(e,Un,ri),Yn(e,Rt()),null}function II(e,t){var n=Ce;Ce|=1;try{return e(t)}finally{Ce=n,Ce===0&&(Tu=Rt()+500,zm&&ms())}}function Aa(e){ts!==null&&ts.tag===0&&!(Ce&6)&&cu();var t=Ce;Ce|=1;var n=Fr.transition,r=Be;try{if(Fr.transition=null,Be=1,e)return e()}finally{Be=r,Fr.transition=n,Ce=t,!(Ce&6)&&ms()}}function SI(){lr=ou.current,rt(ou)}function ha(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,E2(n)),Nt!==null)for(n=Nt.return;n!==null;){var r=n;switch(nI(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&ym();break;case 3:Eu(),rt(Hn),rt(hn),dI();break;case 5:cI(r);break;case 4:Eu();break;case 13:rt(pt);break;case 19:rt(pt);break;case 10:sI(r.type._context);break;case 22:case 23:SI()}n=n.return}if(Bt=e,Nt=e=us(e.current,null),tn=lr=t,Pt=0,rf=null,OI=Zm=Ra=0,Un=Bd=null,_a!==null){for(t=0;t<_a.length;t++)if(n=_a[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,i=n.pending;if(i!==null){var s=i.next;i.next=o,r.next=s}n.pending=r}_a=null}return e}function fC(e,t){do{var n=Nt;try{if(iI(),dm.current=Gm,Mm){for(var r=mt.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}Mm=!1}if(Sa=0,wt=Ct=mt=null,Fd=!1,ef=0,hI.current=null,n===null||n.return===null){Pt=1,rf=t,Nt=null;break}e:{var i=e,s=n.return,a=n,l=t;if(t=tn,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,c=a,d=c.tag;if(!(c.mode&1)&&(d===0||d===11||d===15)){var f=c.alternate;f?(c.updateQueue=f.updateQueue,c.memoizedState=f.memoizedState,c.lanes=f.lanes):(c.updateQueue=null,c.memoizedState=null)}var p=lb(s);if(p!==null){p.flags&=-257,ub(p,s,a,i,t),p.mode&1&&ab(i,u,t),t=p,l=u;var _=t.updateQueue;if(_===null){var T=new Set;T.add(l),t.updateQueue=T}else _.add(l);break e}else{if(!(t&1)){ab(i,u,t),RI();break e}l=Error(V(426))}}else if(ct&&a.mode&1){var h=lb(s);if(h!==null){!(h.flags&65536)&&(h.flags|=256),ub(h,s,a,i,t),rI(_u(l,a));break e}}i=l=_u(l,a),Pt!==4&&(Pt=2),Bd===null?Bd=[i]:Bd.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var m=$L(i,l,t);tb(i,m);break e;case 1:a=l;var E=i.type,O=i.stateNode;if(!(i.flags&128)&&(typeof E.getDerivedStateFromError=="function"||O!==null&&typeof O.componentDidCatch=="function"&&(as===null||!as.has(O)))){i.flags|=65536,t&=-t,i.lanes|=t;var g=ZL(i,a,t);tb(i,g);break e}}i=i.return}while(i!==null)}EC(n)}catch(I){t=I,Nt===n&&n!==null&&(Nt=n=n.return);continue}break}while(1)}function pC(){var e=km.current;return km.current=Gm,e===null?Gm:e}function RI(){(Pt===0||Pt===3||Pt===2)&&(Pt=4),Bt===null||!(Ra&268435455)&&!(Zm&268435455)||Qi(Bt,tn)}function Bm(e,t){var n=Ce;Ce|=2;var r=pC();(Bt!==e||tn!==t)&&(ri=null,ha(e,t));do try{U2();break}catch(o){fC(e,o)}while(1);if(iI(),Ce=n,km.current=r,Nt!==null)throw Error(V(261));return Bt=null,tn=0,Pt}function U2(){for(;Nt!==null;)mC(Nt)}function V2(){for(;Nt!==null&&!mH();)mC(Nt)}function mC(e){var t=TC(e.alternate,e,lr);e.memoizedProps=e.pendingProps,t===null?EC(e):Nt=t,hI.current=null}function EC(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=M2(n,t),n!==null){n.flags&=32767,Nt=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Pt=6,Nt=null;return}}else if(n=x2(n,t,lr),n!==null){Nt=n;return}if(t=t.sibling,t!==null){Nt=t;return}Nt=t=e}while(t!==null);Pt===0&&(Pt=5)}function ma(e,t,n){var r=Be,o=Fr.transition;try{Fr.transition=null,Be=1,H2(e,t,n,r)}finally{Fr.transition=o,Be=r}return null}function H2(e,t,n,r){do cu();while(ts!==null);if(Ce&6)throw Error(V(327));
vendor: 4,547 bytes, line 8
8n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(V(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(AH(e,i),e===Bt&&(Nt=Bt=null,tn=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||sm||(sm=!0,hC(gm,function(){return cu(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=Fr.transition,Fr.transition=null;var s=Be;Be=1;var a=Ce;Ce|=4,hI.current=null,k2(e,n),uC(n,e),c2(Eg),Sm=!!mg,Eg=mg=null,e.current=n,F2(n,e,o),EH(),Ce=a,Be=s,Fr.transition=i}else e.current=n;if(sm&&(sm=!1,ts=e,wm=o),i=e.pendingLanes,i===0&&(as=null),hH(n.stateNode,r),Yn(e,Rt()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Fm)throw Fm=!1,e=Gg,Gg=null,e;return wm&1&&e.tag!==0&&cu(),i=e.pendingLanes,i&1?e===kg?Ud++:(Ud=0,kg=e):Ud=0,ms(),null}function cu(){if(ts!==null){var e=$b(wm),t=Fr.transition,n=Be;try{if(Fr.transition=null,Be=16>e?16:e,ts===null)var r=!1;else{if(e=ts,ts=null,wm=0,Ce&6)throw Error(V(331));var o=Ce;for(Ce|=4,$=e.current;$!==null;){var i=$,s=i.child;if($.flags&16){var a=i.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for($=u;$!==null;){var c=$;switch(c.tag){case 0:case 11:case 15:wd(8,c,i)}var d=c.child;if(d!==null)d.return=c,$=d;else for(;$!==null;){c=$;var f=c.sibling,p=c.return;if(sC(c),c===u){$=null;break}if(f!==null){f.return=p,$=f;break}$=p}}}var _=i.alternate;if(_!==null){var T=_.child;if(T!==null){_.child=null;do{var h=T.sibling;T.sibling=null,T=h}while(T!==null)}}$=i}}if(i.subtreeFlags&2064&&s!==null)s.return=i,$=s;else e:for(;$!==null;){if(i=$,i.flags&2048)switch(i.tag){case 0:case 11:case 15:wd(9,i,i.return)}var m=i.sibling;if(m!==null){m.return=i.return,$=m;break e}$=i.return}}var E=e.current;for($=E;$!==null;){s=$;var O=s.child;if(s.subtreeFlags&2064&&O!==null)O.return=s,$=O;else e:for(s=E;$!==null;){if(a=$,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:$m(9,a)}}catch(I){_t(a,a.return,I)}if(a===s){$=null;break e}var g=a.sibling;if(g!==null){g.return=a.return,$=g;break e}$=a.return}}if(Ce=o,ms(),Go&&typeof Go.onPostCommitFiberRoot=="function")try{Go.onPostCommitFiberRoot(Vm,e)}catch{}r=!0}return r}finally{Be=n,Fr.transition=t}}return!1}function Sb(e,t,n){t=_u(n,t),t=$L(e,t,1),e=ss(e,t,1),t=Dn(),e!==null&&(of(e,1,t),Yn(e,t))}function _t(e,t,n){if(e.tag===3)Sb(e,e,n);else for(;t!==null;){if(t.tag===3){Sb(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(as===null||!as.has(r))){e=_u(n,e),e=ZL(t,e,1),t=ss(t,e,1),e=Dn(),t!==null&&(of(t,1,e),Yn(t,e));break}}t=t.return}}function W2(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Dn(),e.pingedLanes|=e.suspendedLanes&n,Bt===e&&(tn&n)===n&&(Pt===4||Pt===3&&(tn&130023424)===tn&&500>Rt()-gI?ha(e,0):OI|=n),Yn(e,t)}function _C(e,t){t===0&&(e.mode&1?(t=zp,zp<<=1,!(zp&130023424)&&(zp=4194304)):t=1);var n=Dn();e=ci(e,t),e!==null&&(of(e,t,n),Yn(e,n))}function Y2(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),_C(e,n)}function K2(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(V(314))}r!==null&&r.delete(t),_C(e,n)}var TC;TC=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Hn.current)Vn=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Vn=!1,v2(e,t,n);Vn=!!(e.flags&131072)}else Vn=!1,ct&&t.flags&1048576&&IL(t,Cm,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;pm(e,t),e=t.pendingProps;var o=fu(t,hn.current);uu(t,n),o=pI(null,t,r,e,o,n);var i=mI();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,Wn(r)?(i=!0,bm(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,lI(t),o.updater=jm,t.stateNode=o,o._reactInternals=t,Ag(t,r,e,n),t=bg(null,t,r,!0,i,n)):(t.tag=0,ct&&i&&tI(t),Pn(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(pm(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=X2(r),e=io(r,e),o){case 0:t=yg(null,t,r,e,n);break e;case 1:t=fb(null,t,r,e,n);break e;case 11:t=cb(null,t,r,e,n);break e;case 14:t=db(null,t,r,io(r.type,e),n);break e}throw Error(V(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:io(r,o),yg(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:io(r,o),fb(e,t,r,o,n);case 3:e:{if(eC(t),e===null)throw Error(V(387));
vendor: 8,088 bytes, line 8
8r=t.pendingProps,i=t.memoizedState,o=i.element,bL(e,t),vm(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=_u(Error(V(423)),t),t=pb(e,t,r,n,o);break e}else if(r!==o){o=_u(Error(V(424)),t),t=pb(e,t,r,n,o);break e}else for(ur=is(t.stateNode.containerInfo.firstChild),cr=t,ct=!0,ao=null,n=NL(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(pu(),r===o){t=di(e,t,n);break e}Pn(e,t,r,n)}t=t.child}return t;case 5:return LL(t),e===null&&Ig(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,_g(r,o)?s=null:i!==null&&_g(r,i)&&(t.flags|=32),QL(e,t),Pn(e,t,s,n),t.child;case 6:return e===null&&Ig(t),null;case 13:return tC(e,t,n);case 4:return uI(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=mu(t,null,r,n):Pn(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:io(r,o),cb(e,t,r,o,n);case 7:return Pn(e,t,t.pendingProps,n),t.child;case 8:return Pn(e,t,t.pendingProps.children,n),t.child;case 12:return Pn(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,$e(Pm,r._currentValue),r._currentValue=s,i!==null)if(co(i.value,s)){if(i.children===o.children&&!Hn.current){t=di(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){s=i.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=ai(-1,n&-n),l.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),Sg(i.return,n,t),a.lanes|=n;break}l=l.next}}else if(i.tag===10)s=i.type===t.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(V(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),Sg(s,n,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}Pn(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,uu(t,n),o=wr(o),r=r(o),t.flags|=1,Pn(e,t,r,n),t.child;case 14:return r=t.type,o=io(r,t.pendingProps),o=io(r.type,o),db(e,t,r,o,n);case 15:return JL(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:io(r,o),pm(e,t),t.tag=1,Wn(r)?(e=!0,bm(t)):e=!1,uu(t,n),jL(t,r,o),Ag(t,r,o,n),bg(null,t,r,!0,e,n);case 19:return nC(e,t,n);case 22:return qL(e,t,n)}throw Error(V(156,t.tag))};function hC(e,t){return Kb(e,t)}function z2(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function kr(e,t,n,r){return new z2(e,t,n,r)}function AI(e){return e=e.prototype,!(!e||!e.isReactComponent)}function X2(e){if(typeof e=="function")return AI(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Wg)return 11;if(e===Yg)return 14}return 2}function us(e,t){var n=e.alternate;return n===null?(n=kr(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function _m(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")AI(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case jl:return Oa(n.children,o,i,t);case Hg:s=8,o|=8;break;case jO:return e=kr(12,n,t,o|2),e.elementType=jO,e.lanes=i,e;case $O:return e=kr(13,n,t,o),e.elementType=$O,e.lanes=i,e;case ZO:return e=kr(19,n,t,o),e.elementType=ZO,e.lanes=i,e;case Lb:return Jm(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case yb:s=10;break e;case bb:s=9;break e;case Wg:s=11;break e;case Yg:s=14;break e;case Zi:s=16,r=null;break e}throw Error(V(130,e==null?e:typeof e,""))}return t=kr(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function Oa(e,t,n,r){return e=kr(7,e,r,t),e.lanes=n,e}function Jm(e,t,n,r){return e=kr(22,e,r,t),e.elementType=Lb,e.lanes=n,e.stateNode={isHidden:!1},e}function KO(e,t,n){return e=kr(6,e,null,t),e.lanes=n,e}function zO(e,t,n){return t=kr(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function j2(e,t,n,r,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=CO(0),this.expirationTimes=CO(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=CO(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function NI(e,t,n,r,o,i,s,a,l){return e=new j2(e,t,n,a,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=kr(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},lI(i),e}function $2(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Xl,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function OC(e){if(!e)return ds;e=e._reactInternals;e:{if(ya(e)!==e||e.tag!==1)throw Error(V(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Wn(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(V(171))}if(e.tag===1){var n=e.type;if(Wn(n))return OL(e,n,t)}return t}function gC(e,t,n,r,o,i,s,a,l){return e=NI(n,r,!0,e,o,i,s,a,l),e.context=OC(null),n=e.current,r=Dn(),o=ls(n),i=ai(r,o),i.callback=t??null,ss(n,i,o),e.current.lanes=o,of(e,o,r),Yn(e,r),e}function qm(e,t,n,r){var o=t.current,i=Dn(),s=ls(o);return n=OC(n),t.context===null?t.context=n:t.pendingContext=n,t=ai(i,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=ss(o,t,s),e!==null&&(uo(e,o,s,i),cm(e,o,s)),s}function Um(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 Rb(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function yI(e,t){Rb(e,t),(e=e.alternate)&&Rb(e,t)}function Z2(){return null}var IC=typeof reportError=="function"?reportError:function(e){console.error(e)};function bI(e){this._internalRoot=e}Qm.prototype.render=bI.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(V(409));qm(e,t,null,null)};Qm.prototype.unmount=bI.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Aa(function(){qm(null,e,null,null)}),t[ui]=null}};function Qm(e){this._internalRoot=e}Qm.prototype.unstable_scheduleHydration=function(e){if(e){var t=qb();e={blockedOn:null,target:e,priority:t};for(var n=0;n<qi.length&&t!==0&&t<qi[n].priority;n++);qi.splice(n,0,e),n===0&&eL(e)}};function LI(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function eE(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Ab(){}function J2(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var u=Um(s);i.call(u)}}var s=gC(t,r,e,0,null,!1,!1,"",Ab);return e._reactRootContainer=s,e[ui]=s.current,$d(e.nodeType===8?e.parentNode:e),Aa(),s}for(;
vendor: 4,911 bytes, line 8
8o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var a=r;r=function(){var u=Um(l);a.call(u)}}var l=NI(e,0,!1,null,null,!1,!1,"",Ab);return e._reactRootContainer=l,e[ui]=l.current,$d(e.nodeType===8?e.parentNode:e),Aa(function(){qm(t,l,n,r)}),l}function tE(e,t,n,r,o){var i=n._reactRootContainer;if(i){var s=i;if(typeof o=="function"){var a=o;o=function(){var l=Um(s);a.call(l)}}qm(t,s,e,o)}else s=J2(n,t,e,o,r);return Um(s)}Zb=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Pd(t.pendingLanes);n!==0&&(Xg(t,n|1),Yn(t,Rt()),!(Ce&6)&&(Tu=Rt()+500,ms()))}break;case 13:Aa(function(){var r=ci(e,1);if(r!==null){var o=Dn();uo(r,e,1,o)}}),yI(e,1)}};jg=function(e){if(e.tag===13){var t=ci(e,134217728);if(t!==null){var n=Dn();uo(t,e,134217728,n)}yI(e,134217728)}};Jb=function(e){if(e.tag===13){var t=ls(e),n=ci(e,t);if(n!==null){var r=Dn();uo(n,e,t,r)}yI(e,t)}};qb=function(){return Be};Qb=function(e,t){var n=Be;try{return Be=e,t()}finally{Be=n}};sg=function(e,t,n){switch(t){case"input":if(QO(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=Km(r);if(!o)throw Error(V(90));Pb(r),QO(r,o)}}}break;case"textarea":vb(e,n);break;case"select":t=n.value,t!=null&&iu(e,!!n.multiple,t,!1)}};Bb=II;Ub=Aa;var q2={usingClientEntryPoint:!1,Events:[af,ql,Km,Fb,wb,II]},yd={findFiberByHostInstance:Ea,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Q2={bundleType:yd.bundleType,version:yd.version,rendererPackageName:yd.rendererPackageName,rendererConfig:yd.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:fi.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Wb(e),e===null?null:e.stateNode},findFiberByHostInstance:yd.findFiberByHostInstance||Z2,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(bd=__REACT_DEVTOOLS_GLOBAL_HOOK__,!bd.isDisabled&&bd.supportsFiber))try{Vm=bd.inject(Q2),Go=bd}catch{}var bd;pr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=q2;pr.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!LI(t))throw Error(V(200));return $2(e,t,null,n)};pr.createRoot=function(e,t){if(!LI(e))throw Error(V(299));var n=!1,r="",o=IC;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=NI(e,1,!1,null,null,n,!1,r,o),e[ui]=t.current,$d(e.nodeType===8?e.parentNode:e),new bI(t)};pr.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(V(188)):(e=Object.keys(e).join(","),Error(V(268,e)));return e=Wb(t),e=e===null?null:e.stateNode,e};pr.flushSync=function(e){return Aa(e)};pr.hydrate=function(e,t,n){if(!eE(t))throw Error(V(200));return tE(null,e,t,!0,n)};pr.hydrateRoot=function(e,t,n){if(!LI(e))throw Error(V(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",s=IC;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=gC(t,null,e,1,n??null,o,!1,i,s),e[ui]=t.current,$d(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Qm(t)};pr.render=function(e,t,n){if(!eE(t))throw Error(V(200));return tE(null,e,t,!1,n)};pr.unmountComponentAtNode=function(e){if(!eE(e))throw Error(V(40));return e._reactRootContainer?(Aa(function(){tE(null,null,e,!1,function(){e._reactRootContainer=null,e[ui]=null})}),!0):!1};pr.unstable_batchedUpdates=II;pr.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!eE(n))throw Error(V(200));if(e==null||e._reactInternals===void 0)throw Error(V(38));return tE(e,t,n,!1,r)};pr.version="18.3.1-next-f1338f8080-20240426"});var gu=ar((aZ,AC)=>{"use strict";function RC(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(RC)}catch(e){console.error(e)}}RC(),AC.exports=SC()});var nE=ar(CI=>{"use strict";var NC=gu();CI.createRoot=NC.createRoot,CI.hydrateRoot=NC.hydrateRoot;var lZ});var wC=ar(sE=>{"use strict";var fW=W(),pW=Symbol.for("react.element"),mW=Symbol.for("react.fragment"),EW=Object.prototype.hasOwnProperty,_W=fW.__SECRET_INT
8ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,TW={key:!0,ref:!0,__self:!0,__source:!0};function FC(e,t,n){var r,o={},i=null,s=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)EW.call(t,r)&&!TW.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:pW,type:e,key:i,ref:s,props:o,_owner:_W.current}}sE.Fragment=mW;sE.jsx=FC;sE.jsxs=FC});var _e=ar((mZ,BC)=>{"use strict";BC.exports=wC()});var MI=ar((_Z,aE)=>{(function(){"use strict";var e={}.hasOwnProperty;function t(){for(var o="",i=0;i<arguments.length;i++){var s=arguments[i];s&&(o=r(o,n(s)))}return o}function n(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=r(i,s));return i}function r(o,i){return i?o?o+" "+i:o+i:o}typeof aE<"u"&&aE.exports?(t.default=t,aE.exports=t):typeof define=="function"&&typeof define.amd=="object"&&define.amd?define("classnames",[],function(){return t}):window.classNames=t})()});var ZI=ar((uP,mE)=>{(function(e,t,n){typeof mE<"u"&&mE.exports?mE.exports=n():typeof define=="function"&&define.amd?define(t,n):e[t]=n()})(uP,"bowser",function(){var e=!0;function t(l){function u(P){var z=l.match(P);return z&&z.length>1&&z[1]||""}function c(P){var z=l.match(P);return z&&z.length>1&&z[2]||""}var d=u(/(ipod|iphone|ipad)/i).toLowerCase(),f=/like android/i.test(l),p=!f&&/android/i.test(l),_=/nexus\s*[0-6]\s*/i.test(l),T=!_&&/nexus\s*[0-9]+/i.test(l),h=/CrOS/.test(l),m=/silk/i.test(l),E=/sailfish/i.test(l),O=/tizen/i.test(l),g=/(web|hpw)os/i.test(l),I=/windows phone/i.test(l),S=/SamsungBrowser/i.test(l),A=!I&&/windows/i.test(l),R=!d&&!m&&/macintosh/i.test(l),y=!p&&!E&&!O&&!g&&/linux/i.test(l),b=c(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),L=u(/version\/(\d+(\.\d+)?)/i),D=/tablet/i.test(l)&&!/tablet pc/i.test(l),F=!D&&/[^-]mobi/i.test(l),U=/xbox/i.test(l),N;/opera/i.test(l)?N={name:"Opera",opera:e,version:L||u(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(l)?N={name:"Opera",opera:e,version:u(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||L}:/SamsungBrowser/i.test(l)?N={name:"Samsung Internet for Android",samsungBrowser:e,version:L||u(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/coast/i.test(l)?N={name:"Opera Coast",coast:e,version:L||u(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/yabrowser/i.test(l)?N={name:"Yandex Browser",yandexbrowser:e,version:L||u(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(l)?N={name:"UC Browser",ucbrowser:e,version:u(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(l)?N={name:"Maxthon",maxthon:e,version:u(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(l)?N={name:"Epiphany",epiphany:e,version:u(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(l)?N={name:"Puffin",puffin:e,version:u(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(l)?N={name:"Sleipnir",sleipnir:e,version:u(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(l)?N={name:"K-Meleon",kMeleon:e,version:u(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:I?(N={name:"Windows Phone",osname:"Windows Phone",windowsphone:e},b?(N.msedge=e,N.version=b):(N.msie=e,N.version=u(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(l)?N={name:"Internet Explorer",msie:e,version:u(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:h?N={name:"Chrome",osname:"Chrome OS",chromeos:e,chromeBook:e,chrome:e,version:u(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(l)?N={name:"Microsoft Edge",msedge:e,version:b}:/vivaldi/i.test(l)?N={name:"Vivaldi",vivaldi:e,version:u(/vivaldi\/(\d+(\.\d+)?)/i)||L}:E?N={name:"Sailfish",osname:"Sailfish OS",sailfish:e,version:u(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(l)?N={name:"SeaMonkey",seamonkey:e,version:u(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(l)?(N={name:"Firefox",firefox:e,version:u(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(l)&&(N.firefoxos=e,N.osname="Firefox OS")):m?N={name:"Amazon Silk",silk:e,version:u(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(l)?N={name:"PhantomJS",phantom:e,version:u(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(l)?N={name:"SlimerJS",slimer:e,version:u(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(l)||/rim\stablet/i.test(l)?N={name:"BlackBerry",osname:"BlackBerry OS",blackberry:e,version:L||u(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:g?(N={name:"WebOS",osname:"WebOS",webos:e,version:L||u(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(l)&&(N.touchpad=e)):/bada/i.test(l)?N={name:"Bada",osname:"Bada",bada:e,version:u(/dolfin\/(\d+(\.\d+)?)/i)}:O?N={name:"Tizen",osname:"Tizen",tizen:e,version:u(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||L}:/qupzilla/i.test(l)?N={name:"QupZilla",qupzilla:e,version:u(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||L}:/chromium/i.test(l)?N={name:"Chromium",chromium:e,version:u(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||L}:/chrome|crios|crmo/i.test(l)?N={name:"Chrome",chrome:e,version:u(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:p?N={name:"Android",version:L}:/safari|applewebkit/i.test(l)?(N={name:"Safari",safari:e},L&&(N.version=L)):d?(N={name:d=="iphone"?"iPhone":d=="ipad"?"iPad":"iPod"},L&&(N.version=L)):/googlebot/i.test(l)?N={name:"Googlebot",googlebot:e,version:u(/googlebot\/(\d+(\.\d+))/i)||L}:N={name:u(/^(.*)\/(.*) /),version:c(/^(.*)\/(.*) /)},!N.msedge&&/(apple)?webkit/i.test(l)?(/(apple)?webkit\/537\.36/i.test(l)?(N.name=N.name||"Blink",N.blink=e):(N.name=N.name||"Webkit",N.webkit=e),!N.version&&L&&(N.version=L)):!N.opera&&/gecko\//i.test(l)&&(N.name=N.name||"Gecko",N.gecko=e,N.version=N.version||u(/gecko\/(\d+(\.\d+)?)/i)),!N.windowsphone&&(p||N.silk)?(N.android=e,N.osname="Android"):!N.windowsphone&&d?(N[d]=e,N.ios=e,
8N.osname="iOS"):R?(N.mac=e,N.osname="macOS"):U?(N.xbox=e,N.osname="Xbox"):A?(N.windows=e,N.osname="Windows"):y&&(N.linux=e,N.osname="Linux");function K(P){switch(P){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 C="";N.windows?C=K(u(/Windows ((NT|XP)( \d\d?.\d)?)/i)):N.windowsphone?C=u(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):N.mac?(C=u(/Mac OS X (\d+([_\.\s]\d+)*)/i),C=C.replace(/[_\s]/g,".")):d?(C=u(/os (\d+([_\s]\d+)*) like mac os x/i),C=C.replace(/[_\s]/g,".")):p?C=u(/android[ \/-](\d+(\.\d+)*)/i):N.webos?C=u(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):N.blackberry?C=u(/rim\stablet\sos\s(\d+(\.\d+)*)/i):N.bada?C=u(/bada\/(\d+(\.\d+)*)/i):N.tizen&&(C=u(/tizen[\/\s](\d+(\.\d+)*)/i)),C&&(N.osversion=C);var M=!N.windows&&C.split(".")[0];return D||T||d=="ipad"||p&&(M==3||M>=4&&!F)||N.silk?N.tablet=e:(F||d=="iphone"||d=="ipod"||p||_||N.blackberry||N.webos||N.bada)&&(N.mobile=e),N.msedge||N.msie&&N.version>=10||N.yandexbrowser&&N.version>=15||N.vivaldi&&N.version>=1||N.chrome&&N.version>=20||N.samsungBrowser&&N.version>=4||N.firefox&&N.version>=20||N.safari&&N.version>=6||N.opera&&N.version>=10||N.ios&&N.osversion&&N.osversion.split(".")[0]>=6||N.blackberry&&N.version>=10.1||N.chromium&&N.version>=20?N.a=e:N.msie&&N.version<10||N.chrome&&N.version<20||N.firefox&&N.version<20||N.safari&&N.version<6||N.opera&&N.version<10||N.ios&&N.osversion&&N.osversion.split(".")[0]<6||N.chromium&&N.version<20?N.c=e:N.x=e,N}var n=t(typeof navigator<"u"&&navigator.userAgent||"");n.test=function(l){for(var u=0;u<l.length;++u){var c=l[u];if(typeof c=="string"&&c in n)return!0}return!1};function r(l){return l.split(".").length}function o(l,u){var c=[],d;if(Array.prototype.map)return Array.prototype.map.call(l,u);for(d=0;d<l.length;d++)c.push(u(l[d]));return c}function i(l){for(var u=Math.max(r(l[0]),r(l[1])),c=o(l,function(d){var f=u-r(d);return d=d+new Array(f+1).join(".0"),o(d.split("."),function(p){return new Array(20-p.length).join("0")+p}).reverse()});--u>=0;){if(c[0][u]>c[1][u])return 1;if(c[0][u]===c[1][u]){if(u===0)return 0}else return-1}}function s(l,u,c){var d=n;typeof u=="string"&&(c=u,u=void 0),u===void 0&&(u=!1),c&&(d=t(c));var f=""+d.version;for(var p in l)if(l.hasOwnProperty(p)&&d[p]){if(typeof l[p]!="string")throw new Error("Browser version in the minVersion map should be a string: "+p+": "+String(l));return i([f,l[p]])<0}return u}function a(l,u,c){return!s(l,u,c)}return n.isUnsupportedBrowser=s,n.compareVersions=i,n.check=a,n._detect=t,n.detect=t,n})});var G,k,w,Vv,Hv,sc,yi,Wv,qa,Fe=Qt(()=>{G=function(e){return e[e.FADE_DEPRECATED=0]="FADE_DEPRECATED",e[e.MOVE_DEPRECATED=1]="MOVE_DEPRECATED",e[e.ROTATE_DEPRECATED=2]="ROTATE_DEPRECATED",e[e.SCALE=3]="SCALE",e[e.RESIZE_DEPRECATED=4]="RESIZE_DEPRECATED",e[e.NEW=5]="NEW",e[e.TEXT_DATA=6]="TEXT_DATA",e[e.PATH_DRAW_DEPRECATED=7]="PATH_DRAW_DEPRECATED",e[e.PATH_TRAVEL_DEPRECATED=8]="PATH_TRAVEL_DEPRECATED",e[e.OPACITY=9]="OPACITY",e[e.CORNER_RADIUS=10]="CORNER_RADIUS",e[e.ROTATION=11]="ROTATION",e[e.PATH=12]="PATH",e[e.POSITION=13]="POSITION",e[e.SIZE=14]="SIZE",e}({}),k=function(e){return e[e.NONE=0]="NONE",e[e.BOOL=1]="BOOL",e[e.TEXT=2]="TEXT",e[e.INSTANCE_SWAP=3]="INSTANCE_SWAP",e[e.VARIANT=4]="VARIANT",e[e.NUMBER=5]="NUMBER",e[e.IMAGE=6]="IMAGE",e[e.SLOT=7]="SLOT",e[e.EASING=8]="EASING",e[e.COLOR=9]="COLOR",e[e.VECTOR=10]="VECTOR",e[e.CIRCLE=11]="CIRCLE",e[e.COLOR_POINT=12]="COLOR_POINT",e[e.LINE=13]="LINE",e[e.CIRCLE_POINT=14]="CIRCLE_POINT",e[e.GRADIENT=15]="GRADIENT",e}({}),w=function(e){return e[e.IN_CUBIC=0]="IN_CUBIC",e[e.OUT_CUBIC=1]="OUT_CUBIC",e[e.INOUT_CUBIC=2]="INOUT_CUBIC",e[e.LINEAR=3]="LINEAR",e[e.IN_BACK_CUBIC=4]="IN_BACK_CUBIC",e[e.OUT_BACK_CUBIC=5]="OUT_BACK_CUBIC",e[e.INOUT_BACK_CUBIC=6]="INOUT_BACK_CUBIC",e[e.CUSTOM_CUBIC=7]="CUSTOM_CUBIC",e[e.SPRING=8]="SPRING",e[e.GENTLE_SPRING=9]="GENTLE_SPRING",e[e.CUSTOM_SPRING=10]="CUSTOM_SPRING",e[e.SPRING_PRESET_ONE=11]="SPRING_PRESET_ONE",e[e.SPRING_PRESET_TWO=12]="SPRING_PRESET_TWO",e[e.SPRING_PRESET_THREE=13]="SPRING_PRESET_THREE",e[e.HOL
8D=14]="HOLD",e[e.EASE_IN=15]="EASE_IN",e}({}),Vv=function(e){return e[e.DESIGN_LAYOUT=0]="DESIGN_LAYOUT",e[e.WHITEBOARD_LAYOUT=1]="WHITEBOARD_LAYOUT",e[e.VECTOR=2]="VECTOR",e[e.TEXT=3]="TEXT",e[e.RASTER=4]="RASTER",e[e.GRADIENT=5]="GRADIENT",e[e.PLACE_IMAGE=6]="PLACE_IMAGE",e[e.HISTORY=7]="HISTORY",e[e.PREVIEW=8]="PREVIEW",e[e.COMMENTS=9]="COMMENTS",e[e.BRANCHING=10]="BRANCHING",e[e.DEV_HANDOFF=11]="DEV_HANDOFF",e[e.COMPARE_CHANGES=12]="COMPARE_CHANGES",e[e.LIBRARY=13]="LIBRARY",e[e.DEV_HANDOFF_HISTORY=14]="DEV_HANDOFF_HISTORY",e[e.SLIDE_LAYOUT=15]="SLIDE_LAYOUT",e[e.MAGIC_LINK=16]="MAGIC_LINK",e[e.BUZZ_LAYOUT=17]="BUZZ_LAYOUT",e[e.PROGRESSIVE_BLUR=18]="PROGRESSIVE_BLUR",e[e.COOPER_BULK_CREATE=19]="COOPER_BULK_CREATE",e[e.CMS_BINDING_CONSTRAINED=20]="CMS_BINDING_CONSTRAINED",e[e.SITES_LAYOUT=21]="SITES_LAYOUT",e[e.OFFSET_PATH=22]="OFFSET_PATH",e[e.GEN_EFFECT_CONTROLS=23]="GEN_EFFECT_CONTROLS",e}({}),Hv=function(e){return e[e.DESIGN=0]="DESIGN",e[e.WHITEBOARD=1]="WHITEBOARD",e[e.SLIDES=2]="SLIDES",e[e.DEV_HANDOFF=3]="DEV_HANDOFF",e[e.SITES=4]="SITES",e[e.COOPER=5]="COOPER",e[e.ILLUSTRATION=6]="ILLUSTRATION",e[e.FIGMAKE=7]="FIGMAKE",e[e.FIGSPEC=8]="FIGSPEC",e}({}),sc=function(e){return e[e.NONE=0]="NONE",e[e.PRODUCT_COMPONENT=1]="PRODUCT_COMPONENT",e[e.TOP_LEVEL_FRAME_PARENT=2]="TOP_LEVEL_FRAME_PARENT",e[e.INSTANCE_SUBLAYER=3]="INSTANCE_SUBLAYER",e[e.UNSUPPORTED_NODE_TYPE=4]="UNSUPPORTED_NODE_TYPE",e}({}),yi=function(e){return e[e.MISSING=0]="MISSING",e[e.CORNER_RADIUS=1]="CORNER_RADIUS",e[e.PARAGRAPH_SPACING=2]="PARAGRAPH_SPACING",e[e.PARAGRAPH_INDENT=3]="PARAGRAPH_INDENT",e[e.STROKE_WEIGHT=4]="STROKE_WEIGHT",e[e.STACK_SPACING=5]="STACK_SPACING",e[e.STACK_PADDING_LEFT=6]="STACK_PADDING_LEFT",e[e.STACK_PADDING_TOP=7]="STACK_PADDING_TOP",e[e.STACK_PADDING_RIGHT=8]="STACK_PADDING_RIGHT",e[e.STACK_PADDING_BOTTOM=9]="STACK_PADDING_BOTTOM",e[e.VISIBLE=10]="VISIBLE",e[e.TEXT_DATA=11]="TEXT_DATA",e[e.WIDTH=12]="WIDTH",e[e.HEIGHT=13]="HEIGHT",e[e.RECTANGLE_TOP_LEFT_CORNER_RADIUS=14]="RECTANGLE_TOP_LEFT_CORNER_RADIUS",e[e.RECTANGLE_TOP_RIGHT_CORNER_RADIUS=15]="RECTANGLE_TOP_RIGHT_CORNER_RADIUS",e[e.RECTANGLE_BOTTOM_LEFT_CORNER_RADIUS=16]="RECTANGLE_BOTTOM_LEFT_CORNER_RADIUS",e[e.RECTANGLE_BOTTOM_RIGHT_CORNER_RADIUS=17]="RECTANGLE_BOTTOM_RIGHT_CORNER_RADIUS",e[e.BORDER_TOP_WEIGHT=18]="BORDER_TOP_WEIGHT",e[e.BORDER_BOTTOM_WEIGHT=19]="BORDER_BOTTOM_WEIGHT",e[e.BORDER_LEFT_WEIGHT=20]="BORDER_LEFT_WEIGHT",e[e.BORDER_RIGHT_WEIGHT=21]="BORDER_RIGHT_WEIGHT",e[e.VARIANT_PROPERTIES=22]="VARIANT_PROPERTIES",e[e.STACK_COUNTER_SPACING=23]="STACK_COUNTER_SPACING",e[e.MIN_WIDTH=24]="MIN_WIDTH",e[e.MAX_WIDTH=25]="MAX_WIDTH",e[e.MIN_HEIGHT=26]="MIN_HEIGHT",e[e.MAX_HEIGHT=27]="MAX_HEIGHT",e[e.FONT_FAMILY=28]="FONT_FAMILY",e[e.FONT_STYLE=29]="FONT_STYLE",e[e.FONT_VARIATIONS=30]="FONT_VARIATIONS",e[e.OPACITY=31]="OPACITY",e[e.FONT_SIZE=32]="FONT_SIZE",e[e.LETTER_SPACING=34]="LETTER_SPACING",e[e.LINE_HEIGHT=36]="LINE_HEIGHT",e[e.OVERRIDDEN_SYMBOL_ID=37]="OVERRIDDEN_SYMBOL_ID",e[e.CMS_SERIALIZED_RICH_TEXT_DATA=38]="CMS_SERIALIZED_RICH_TEXT_DATA",e[e.HYPERLINK=39]="HYPERLINK",e[e.SLOT_CONTENT_ID=40]="SLOT_CONTENT_ID",e[e.GRID_ROW_GAP=41]="GRID_ROW_GAP",e[e.GRID_COLUMN_GAP=42]="GRID_COLUMN_GAP",e[e.RELATIVE_X_POSITION=43]="RELATIVE_X_POSITION",e[e.RELATIVE_Y_POSITION=44]="RELATIVE_Y_POSITION",e[e.RELATIVE_ROTATION=45]="RELATIVE_ROTATION",e[e.MOTION_TRANSLATION_X=46]="MOTION_TRANSLATION_X",e[e.MOTION_TRANSLATION_Y=47]="MOTION_TRANSLATION_Y",e[e.MOTION_ROTATION=48]="MOTION_ROTATION",e[e.MOTION_SCALE_X=49]="MOTION_SCALE_X",e[e.MOTION_SCALE_Y=50]="MOTION_SCALE_Y",e[e.MOTION_SHEAR=51]="MOTION_SHEAR",e[e.SCROLL_OFFSET_X=52]="SCROLL_OFFSET_X",e[e.SCROLL_OFFSET_Y=53]="SCROLL_OFFSET_Y",e[e.PATH_TRIM_START=54]="PATH_TRIM_START",e[e.PATH_TRIM_END=55]="PATH_TRIM_END",e[e.DISSOLVE_PROGRESS=56]="DISSOLVE_PROGRESS",e[e.EASING_DATA=57]="EASING_DATA",e[e.MEDIA_CURRENT_TIME=58]="MEDIA_CURRENT_TIME",e[e.TRANSFORM_3D_PERSPECTIVE=59]="TRANSFORM_3D_PERSPECTIVE",e[e.TRANSFORM_3D_TRANSLATION_Z=60]="TRANSFORM_3D_TRANSLATION_Z",e[e.TRANSFORM_3D_ROTATION_X=61]="TRANSFORM_3D_ROTATION_X",e[e.TRANSFORM_3D_ROTATION_Y=62]="TRANSFORM_3D_ROTATION_Y",e[e.TRANSFORM_3D_ROTATION_Z=63]="TRANSFORM_3D_ROTATION_Z",e[e.POLYGON_COUNT=64]="POLYGON_COUNT",e[e.ARC_DATA_STARTING_ANGLE=65]="ARC_DATA_STARTING_ANGLE",e[e.ARC_DATA_ENDING_ANGLE=66]="ARC_DATA_ENDING_ANGLE",e[e.ARC_DATA_INNER_RADIUS=67]="ARC_DATA_INNER_RADIUS",e[e.KEYFRAME_VALUE=68]="KEYFRAME_VALUE",e[e.MOTION_TRANSLATION_XY=69]="MOTION_TRANSLATION_XY",e[e.MOTION_SCALE_XY=70]="MOTION_SCALE_XY",e[e.SCENE_3D_PERSPECTIVE=71]="SCENE_3D_PERSPECTIVE",e[e.STAR_INNER_SCALE=72]="STAR_INNER_SCALE",e[e.MOTION_TRANSFORM_ORIGIN_XY=73]="MOTION_TRANSFORM_ORIGIN_XY",e[e.MOTION_TRANSFORM_ORIGIN_X=74]="MOTION_TRANSFORM_ORIGIN_X",e[e.MOTION_TRANSFORM_ORIGIN_Y=75]="MOTION_TRANSFORM_ORIGIN_Y",e}({}),Wv=function(e){return e[e.NONE=0]="NONE",e[e.SELECT=1]="SELECT",e[e.HAND=2]="HAND",e[e.COMMENTS=3]="COMMENTS",e[e.DROPPER_COLOR=4]="DROPPER_COLOR",e[e.FRAME=5]="FRAME",e[e.SLICE=6]="SLICE",e[e.STACK=7]="STACK",e[e.SHAPE_STAR=8]="SHAPE_STAR",e[e.SHAPE_LINE=9]="SHAPE_LINE",e[e.SHAPE_ARROW=10]="SHAPE_ARROW",e[e.SHAPE_ELLIPSE=11]="SHAPE_ELLIPSE",e[e.SHAPE_RECTANGLE=12]="SHAPE_RECTANGLE",e[e.SHAPE_REGULAR_POLYGON=13]="SHAPE_REGULAR_POLYGON",e[e.VECTOR_PEN=14]="VECTOR_PEN",e[e.VECTOR_PENCIL=15]="VECTOR_PENCIL",e[e.VECTOR_E
8RASER=16]="VECTOR_ERASER",e[e.VECTOR_BEND=17]="VECTOR_BEND",e[e.VECTOR_CUT=18]="VECTOR_CUT",e[e.VECTOR_PAINT_BUCKET=19]="VECTOR_PAINT_BUCKET",e[e.VECTOR_VAR_WIDTH_POINT=20]="VECTOR_VAR_WIDTH_POINT",e[e.SHAPE_BUILDER=21]="SHAPE_BUILDER",e[e.VECTOR_LASSO=22]="VECTOR_LASSO",e[e.IMAGE_LASSO=23]="IMAGE_LASSO",e[e.TYPE=24]="TYPE",e[e.TEXT_PATH=25]="TEXT_PATH",e[e.SCALE=26]="SCALE",e[e.STICKY=27]="STICKY",e[e.STAMP=28]="STAMP",e[e.SHAPE_WHITEBOARD_SQUARE=29]="SHAPE_WHITEBOARD_SQUARE",e[e.SHAPE_WHITEBOARD_ELLIPSE=30]="SHAPE_WHITEBOARD_ELLIPSE",e[e.SHAPE_WHITEBOARD_DIAMOND=31]="SHAPE_WHITEBOARD_DIAMOND",e[e.SHAPE_WHITEBOARD_TRIANGLE_UP=32]="SHAPE_WHITEBOARD_TRIANGLE_UP",e[e.SHAPE_WHITEBOARD_TRIANGLE_DOWN=33]="SHAPE_WHITEBOARD_TRIANGLE_DOWN",e[e.SHAPE_WHITEBOARD_ROUNDED_RECTANGLE=34]="SHAPE_WHITEBOARD_ROUNDED_RECTANGLE",e[e.SHAPE_WHITEBOARD_PARALLELOGRAM_RIGHT=35]="SHAPE_WHITEBOARD_PARALLELOGRAM_RIGHT",e[e.SHAPE_WHITEBOARD_PARALLELOGRAM_LEFT=36]="SHAPE_WHITEBOARD_PARALLELOGRAM_LEFT",e[e.CONNECTOR_ELBOWED=37]="CONNECTOR_ELBOWED",e[e.CONNECTOR_STRAIGHT=38]="CONNECTOR_STRAIGHT",e[e.CONNECTOR_CURVED=39]="CONNECTOR_CURVED",e[e.CODE_BLOCK=40]="CODE_BLOCK",e[e.SHAPE_WHITEBOARD_ENG_DATABASE=41]="SHAPE_WHITEBOARD_ENG_DATABASE",e[e.SHAPE_WHITEBOARD_ENG_QUEUE=42]="SHAPE_WHITEBOARD_ENG_QUEUE",e[e.SHAPE_WHITEBOARD_ENG_FILE=43]="SHAPE_WHITEBOARD_ENG_FILE",e[e.SHAPE_WHITEBOARD_ENG_FOLDER=44]="SHAPE_WHITEBOARD_ENG_FOLDER",e[e.ERASER=45]="ERASER",e[e.HIGHLIGHTER=46]="HIGHLIGHTER",e[e.SECTION=47]="SECTION",e[e.WASHI_TAPE=48]="WASHI_TAPE",e[e.TABLE=49]="TABLE",e[e.SHAPE_WHITEBOARD_TRAPEZOID=50]="SHAPE_WHITEBOARD_TRAPEZOID",e[e.SHAPE_WHITEBOARD_STAR=51]="SHAPE_WHITEBOARD_STAR",e[e.SHAPE_WHITEBOARD_SHIELD=52]="SHAPE_WHITEBOARD_SHIELD",e[e.SHAPE_WHITEBOARD_HEXAGON=53]="SHAPE_WHITEBOARD_HEXAGON",e[e.SHAPE_WHITEBOARD_PENTAGON=54]="SHAPE_WHITEBOARD_PENTAGON",e[e.SHAPE_WHITEBOARD_OCTAGON=55]="SHAPE_WHITEBOARD_OCTAGON",e[e.SHAPE_WHITEBOARD_PLUS=56]="SHAPE_WHITEBOARD_PLUS",e[e.SHAPE_WHITEBOARD_PREDEFINED_PROCESS=57]="SHAPE_WHITEBOARD_PREDEFINED_PROCESS",e[e.SHAPE_WHITEBOARD_MANUAL_INPUT=58]="SHAPE_WHITEBOARD_MANUAL_INPUT",e[e.SHAPE_WHITEBOARD_CHEVRON=59]="SHAPE_WHITEBOARD_CHEVRON",e[e.SHAPE_WHITEBOARD_DOCUMENT_SINGLE=60]="SHAPE_WHITEBOARD_DOCUMENT_SINGLE",e[e.SHAPE_WHITEBOARD_DOCUMENT_MULTIPLE=61]="SHAPE_WHITEBOARD_DOCUMENT_MULTIPLE",e[e.SHAPE_WHITEBOARD_ARROW_LEFT=62]="SHAPE_WHITEBOARD_ARROW_LEFT",e[e.SHAPE_WHITEBOARD_ARROW_RIGHT=63]="SHAPE_WHITEBOARD_ARROW_RIGHT",e[e.SHAPE_WHITEBOARD_SUMMING_JUNCTION=64]="SHAPE_WHITEBOARD_SUMMING_JUNCTION",e[e.SHAPE_WHITEBOARD_OR=65]="SHAPE_WHITEBOARD_OR",e[e.SHAPE_WHITEBOARD_SPEECH_BUBBLE=66]="SHAPE_WHITEBOARD_SPEECH_BUBBLE",e[e.SHAPE_WHITEBOARD_INTERNAL_STORAGE=67]="SHAPE_WHITEBOARD_INTERNAL_STORAGE",e[e.SHAPE_WHITEBOARD_MINDMAP_TREE_NUCLEUS=68]="SHAPE_WHITEBOARD_MINDMAP_TREE_NUCLEUS",e[e.SHAPE_WHITEBOARD_PLATFORM=69]="SHAPE_WHITEBOARD_PLATFORM",e[e.ANNOTATE=70]="ANNOTATE",e[e.IMAGE_OR_VIDEO=71]="IMAGE_OR_VIDEO",e[e.MEASURE=72]="MEASURE",e[e.SLIDES_POLL=73]="SLIDES_POLL",e[e.SLIDES_EMBED=74]="SLIDES_EMBED",e[e.SLIDES_FACEPILE=75]="SLIDES_FACEPILE",e[e.SLIDES_ALIGNMENT_SCALE=76]="SLIDES_ALIGNMENT_SCALE",e[e.SLIDES_YOUTUBE=77]="SLIDES_YOUTUBE",e[e.SLIDE_NUMBER=78]="SLIDE_NUMBER",e[e.HAND_SELECT=79]="HAND_SELECT",e[e.MULTISELECT=80]="MULTISELECT",e[e.LASSO=81]="LASSO",e[e.SITES_RESPONSIVE_SET=82]="SITES_RESPONSIVE_SET",e[e.SITES_RESPONSIVE_NODE_SET=83]="SITES_RESPONSIVE_NODE_SET",e[e.SITES_LINK=84]="SITES_LINK",e[e.CODE_COMPONENT=85]="CODE_COMPONENT",e[e.SITES_EMBED=86]="SITES_EMBED",e[e.PATTERN_SOURCE_SELECTOR=87]="PATTERN_SOURCE_SELECTOR",e[e.BRUSH=88]="BRUSH",e[e.KEYBOARD_SELECT=89]="KEYBOARD_SELECT",e[e.JSX=90]="JSX",e[e.OFFSET_PATH=91]="OFFSET_PATH",e[e.SIMPLIFY_VECTOR=92]="SIMPLIFY_VECTOR",e[e.RECOLOR=93]="RECOLOR",e[e.RECOLOR_DEBUG=94]="RECOLOR_DEBUG",e[e.SITES_WEBPAGE=95]="SITES_WEBPAGE",e}({}),qa=function(e){return e[e.BOOLEAN=0]="BOOLEAN",e[e.FLOAT=1]="FLOAT",e[e.STRING=2]="STRING",e[e.COLOR=3]="COLOR",e[e.MAP=4]="MAP",e[e.SYMBOL_ID=5]="SYMBOL_ID",e[e.FONT_STYLE=6]="FONT_STYLE",e[e.TEXT_DATA=7]="TEXT_DATA",e[e.IMAGE=8]="IMAGE",e[e.LINK=9]="LINK",e[e.JS_RUNTIME_ALIAS=10]="JS_RUNTIME_ALIAS",e[e.SLOT_CONTENT_ID=11]="SLOT_CONTENT_ID",e[e.KEYFRAME_TRACK_ID=12]="KEYFRAME_TRACK_ID",e[e.KEYFRAME_TRACK_PARAMETER_DATA=13]="KEYFRAME_TRACK_PARAMETER_DATA",e[e.EASING=14]="EASING",e[e.TIMING=15]="TIMING",e[e.VECTOR=16]="VECTOR",e[e.COLOR_ARRAY=17]="COLOR_ARRAY",e[e.LINE=18]="LINE",e[e.CIRCLE=19]="CIRCLE",e[e.ROTATION_3D=20]="ROTATION_3D",e[e.CIRCLE_POINT=21]="CIRCLE_POINT",e[e.GRADIENT=22]="GRADIENT",e[e.COLOR_POINT=23]="COLOR_POINT",e}({})});var Bx,Ux,Vx=Qt(()=>{Bx=`// Source-of-truth for the CORNER_RADIUS first-party animation preset. 9// 10// The build-time preset-bundle codegen (see \`../scripts/generate_preset_bundles.ts\`) 11// reads this file's raw text, esbuilds it into an IIFE with \`figma:motion\` 12// resolved, and emits both strings into \`../generated/corner_radius.generated.ts\`. 13// The generated module is what runtime code consumes \u2014 never import this file
14// directly from production code paths. 15// 16// This file is excluded from the share/motion \`ts_project\` compilation \u2014 it's 17// only an input to the codegen tool, evaluated inside the QuickJS / iframe 18// sandbox at runtime. 19 20import { animate, defineProperties, EasingType, tween } from 'figma:motion' 21 22import type { PresetArgs } from './preset_types' 23 24// Field names must match the contract in 25// \`code-components-transpiler/shared/src/motion_constants.ts\` \u2014 any value not 26// recognized there causes \`animate()\` to throw "unknown or non-keyframeable 27// property" at materialization time. 28const CORNER_FIELD_MAP: Record<string, string> = { 29 all: 'cornerRadius', 30 topLeft: 'rectangleTopLeftCornerRadius', 31 topRight: 'rectangleTopRightCornerRadius', 32 bottomLeft: 'rectangleBottomLeftCornerRadius', 33 bottomRight: 'rectangleBottomRightCornerRadius', 34} 35 36const CORNER_KEYS = ['all', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight'] as const 37type CornerKey = (typeof CORNER_KEYS)[number] 38 39export default function preset({ 40 type, 41 corner, 42 amount, 43 allStartFrame, 44 allEndFrame, 45 topLeftStartFrame, 46 topLeftEndFrame, 47 topRightStartFrame, 48 topRightEndFrame, 49 bottomLeftStartFrame, 50 bottomLeftEndFrame, 51 bottomRightStartFrame, 52 bottomRightEndFrame, 53 duration, 54 easing, 55 target, 56}: PresetArgs) { 57 const selectedCorner: CornerKey = (corner as CornerKey) || 'all' 58 59 function getFromTo(cornerKey: CornerKey): [number, number] { 60 if (type === 'custom') { 61 switch (cornerKey) { 62 case 'topLeft': 63 return [topLeftStartFrame, topLeftEndFrame] 64 case 'topRight': 65 return [topRightStartFrame, topRightEndFrame] 66 case 'bottomLeft': 67 return [bottomLeftStartFrame, bottomLeftEndFrame] 68 case 'bottomRight': 69 return [bottomRightStartFrame, bottomRightEndFrame] 70 case 'all': 71 default: 72 return [allStartFrame, allEndFrame] 73 } 74 } 75 if (type === 'roundOut') return [amount, 0] 76 return [0, amount] 77 } 78 79 // Always emit all five corner tracks so their KEYFRAME_TRACK GUIDs survive \`corner\` toggles. The 80 // C++ side honors \`enabled=false\` by marking the track invisible. 81 const definition: Record<string, unknown> = {} 82 for (const cornerKey of CORNER_KEYS) { 83 const fieldName = CORNER_FIELD_MAP[cornerKey] 84 const enabled = cornerKey === selectedCorner 85 const [from, to] = getFromTo(cornerKey) 86 definition[fieldName] = tween({ 87 mode: 'offset', 88 timelinePosition: 0, 89 duration, 90 from, 91 to, 92 easing, 93 enabled, 94 }) 95 } 96 97 return [animate(target, definition)] 98} 99 100// KEEP_IN_SYNC(share/motion/src/presets/corner_radius_meta.ts) \u2014 the 101// property bounds (min/max/unit) must match \`PROP_DEFS[*].inputConfig\` so the 102// panel-side TS metadata and the bundled IIFE agree on every prop's contract. 103defineProperties(preset, { 104 type: { 105 label: 'motion.preset_flyout.type', 106 type: 'string', 107 defaultValue: 'roundIn', 108 control: 'select', 109 options: [ 110 { value: 'roundIn', label: 'motion.preset_flyout.corner_radius.type.round_in' }, 111 { value: 'roundOut', label: 'motion.preset_flyout.corner_radius.type.round_out' }, 112 { value: 'custom', label: 'motion.preset_flyout.type.custom' }, 113 ], 114 }, 115 corner: { 116 label: 'motion.preset_flyout.corner_radius.corner', 117 type: 'string', 118 defaultValue: 'all', 119 control: 'select', 120 options: [ 121 { value: 'all', label: 'motion.preset_flyout.corner_radius.corner.all' }, 122 { value: 'topLeft', label: 'motion.preset_flyout.corner_radius.corner.top_left' }, 123 { value: 'topRight', label: 'motion.preset_flyout.corner_radius.corner.top_right' }, 124 { value: 'bottomLeft', label: 'motion.preset_flyout.corner_radius.corner.bottom_left' }, 125 { value: 'bottomRight', label: 'motion.preset_flyout.corner_radius.corner.bottom_right' }, 126 ], 127 }, 128 amount: { 129 label: 'motion.preset_flyout.amount', 130 type: 'number', 131 defaultValue: 10, 132 control: 'input', 133 min: 0, 134 unit: 'px', 135 }, 136 // TODO(showDividerAbove-cleanup): the \`showDividerAbove\` flags in this file 137 // are redundant \u2014 section dividers are now applied client-side in the preset 138 // flyout via \`forceShowDividerAboveTransform\` 139 allStartFrame: { 140 label: 'motion.preset_flyout.start_frame', 141 type: 'number', 142 defaultValue: 10, 143 control: 'input', 144 min: 0, 145 unit: 'px', 146 showDividerAbove: true, 147 icon: 'radius_all', 148 }, 149 allEndFrame: { 150 label: 'motion.preset_flyout.end_frame', 151 type: 'number', 152 defaultValue: 0, 153 control: 'input', 154 min: 0, 155 unit: 'px', 156 icon: 'radius_all', 157 }, 158 topLeftStartFrame: { 159 label: 'motion.preset_flyout.start_frame', 160 type: 'number', 161 defaultValue: 0, 162 control: 'input', 163 min: 0, 164 unit: 'px', 165 showDividerAbove: true, 166 icon: 'radius_top_left', 167 }, 168 topLeftEndFrame: { 169 label: 'motion.preset_flyout.end_frame', 170 type: 'number', 171 defaultValue: 20, 172 control: 'input', 173 min: 0, 174 unit: 'px', 175 icon: 'radius_top_left', 176 },
177 topRightStartFrame: { 178 label: 'motion.preset_flyout.start_frame', 179 type: 'number', 180 defaultValue: 0, 181 control: 'input', 182 min: 0, 183 unit: 'px', 184 showDividerAbove: true, 185 icon: 'radius_top_right', 186 }, 187 topRightEndFrame: { 188 label: 'motion.preset_flyout.end_frame', 189 type: 'number', 190 defaultValue: 20, 191 control: 'input', 192 min: 0, 193 unit: 'px', 194 icon: 'radius_top_right', 195 }, 196 bottomLeftStartFrame: { 197 label: 'motion.preset_flyout.start_frame', 198 type: 'number', 199 defaultValue: 0, 200 control: 'input', 201 min: 0, 202 unit: 'px', 203 showDividerAbove: true, 204 icon: 'radius_bottom_left', 205 }, 206 bottomLeftEndFrame: { 207 label: 'motion.preset_flyout.end_frame', 208 type: 'number', 209 defaultValue: 20, 210 control: 'input', 211 min: 0, 212 unit: 'px', 213 icon: 'radius_bottom_left', 214 }, 215 bottomRightStartFrame: { 216 label: 'motion.preset_flyout.start_frame', 217 type: 'number', 218 defaultValue: 0, 219 control: 'input', 220 min: 0, 221 unit: 'px', 222 showDividerAbove: true, 223 icon: 'radius_bottom_right', 224 }, 225 bottomRightEndFrame: { 226 label: 'motion.preset_flyout.end_frame', 227 type: 'number', 228 defaultValue: 20, 229 control: 'input', 230 min: 0, 231 unit: 'px', 232 icon: 'radius_bottom_right', 233 }, 234 // Note: 'delay' is kept in sync with a preset's \`timelineOffset\`. 235 delay: { 236 label: 'motion.preset_flyout.delay', 237 type: 'number', 238 defaultValue: 0, 239 control: 'input', 240 unit: 's', 241 showDividerAbove: true, 242 icon: 'delay', 243 }, 244 duration: { 245 label: 'motion.preset_flyout.duration', 246 type: 'number', 247 defaultValue: 0.5, 248 control: 'input', 249 min: 0.01, 250 unit: 's', 251 icon: 'time', 252 }, 253 easing: { 254 label: 'motion.preset_flyout.easing', 255 type: 'easing', 256 defaultValue: { easingType: EasingType.OUT_CUBIC }, 257 }, 258}) 259`,Ux=`var __presetBundle = (() => { 260 var __defProp = Object.defineProperty; 261 var __getOwnPropDesc = Object.getOwnPropertyDescriptor; 262 var __getOwnPropNames = Object.getOwnPropertyNames; 263 var __hasOwnProp = Object.prototype.hasOwnProperty; 264 var __export = (target, all) => { 265 for (var name in all) 266 __defProp(target, name, { get: all[name], enumerable: true }); 267 }; 268 var __copyProps = (to, from, except, desc) => { 269 if (from && typeof from === "object" || typeof from === "function") { 270 for (let key of __getOwnPropNames(from)) 271 if (!__hasOwnProp.call(to, key) && key !== except) 272 __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); 273 } 274 return to; 275 }; 276 var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); 277 278
278// ../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/share/motion/src/presets/source/corner_radius.ts 279 var corner_radius_exports = {}; 280 __export(corner_radius_exports, { 281 default: () => preset 282 }); 283 284 // figma-motion:figma:motion 285 function defineProperties(component, spec) { 286 Object.assign(component, { 287 [/* @__PURE__ */ Symbol.for("figma.react.props")]: spec 288 }); 289 } 290 var EasingType = { 291 IN_CUBIC: 0, 292 inCubic: 0, 293 OUT_CUBIC: 1, 294 outCubic: 1, 295 INOUT_CUBIC: 2, 296 inOutCubic: 2, 297 LINEAR: 3, 298 linear: 3, 299 IN_BACK_CUBIC: 4, 300 inBackCubic: 4, 301 OUT_BACK_CUBIC: 5, 302 outBackCubic: 5, 303 INOUT_BACK_CUBIC: 6, 304 inOutBackCubic: 6, 305 CUSTOM_CUBIC: 7, 306 customCubic: 7, 307 SPRING: 8, 308 spring: 8, 309 GENTLE_SPRING: 9, 310 gentleSpring: 9, 311 CUSTOM_SPRING: 10, 312 customSpring: 10, 313 SPRING_PRESET_ONE: 11, 314 springPresetOne: 11, 315 SPRING_PRESET_TWO: 12, 316 springPresetTwo: 12, 317 SPRING_PRESET_THREE: 13, 318 springPresetThree: 13, 319 // For backwards compat 320 bezier: 100, 321 BEZIER: 100 322 }; 323 var InterpolationType = { 324 HOLD: 0, 325 hold: 0, 326 BEZIER: 1, 327 bezier: 1 328 }; 329 var KeyframeOperation = { 330 SET: 0, 331 set: 0, 332 SCALE: 1, 333 scale: 1, 334 OFFSET: 2, 335 offset: 2 336 }; 337 var ParameterField = { 338 MISSING: 0, 339 missing: 0, 340 CORNER_RADIUS: 1, 341 cornerRadius: 1, 342 PARAGRAPH_SPACING: 2, 343 paragraphSpacing: 2, 344 PARAGRAPH_INDENT: 3, 345 paragraphIndent: 3, 346 STROKE_WEIGHT: 4, 347 strokeWeight: 4, 348 STACK_SPACING: 5, 349 stackSpacing: 5, 350 STACK_PADDING_LEFT: 6, 351 stackPaddingLeft: 6, 352 STACK_PADDING_TOP: 7, 353 stackPaddingTop: 7, 354 STACK_PADDING_RIGHT: 8, 355 stackPaddingRight: 8, 356 STACK_PADDING_BOTTOM: 9, 357 stackPaddingBottom: 9, 358 VISIBLE: 10, 359 visible: 10, 360 TEXT_DATA: 11, 361 textData: 11, 362 WIDTH: 12, 363 width: 12, 364 HEIGHT: 13, 365 height: 13, 366 RECTANGLE_TOP_LEFT_CORNER_RADIUS: 14, 367 rectangleTopLeftCornerRadius: 14, 368 RECTANGLE_TOP_RIGHT_CORNER_RADIUS: 15, 369 rectangleTopRightCornerRadius: 15, 370 RECTANGLE_BOTTOM_LEFT_CORNER_RADIUS: 16, 371 rectangleBottomLeftCornerRadius: 16, 372 RECTANGLE_BOTTOM_RIGHT_CORNER_RADIUS: 17, 373 rectangleBottomRightCornerRadius: 17, 374 BORDER_TOP_WEIGHT: 18, 375 borderTopWeight: 18, 376 BORDER_BOTTOM_WEIGHT: 19, 377 borderBottomWeight: 19, 378 BORDER_LEFT_WEIGHT: 20, 379 borderLeftWeight: 20, 380 BORDER_RIGHT_WEIGHT: 21, 381 borderRightWeight: 21, 382 VARIANT_PROPERTIES: 22, 383 variantProperties: 22, 384 STACK_COUNTER_SPACING: 23, 385 stackCounterSpacing: 23, 386 MIN_WIDTH: 24, 387 minWidth: 24, 388 MAX_WIDTH: 25, 389 maxWidth: 25, 390 MIN_HEIGHT: 26, 391 minHeight: 26, 392 MAX_HEIGHT: 27, 393 maxHeight: 27, 394 FONT_FAMILY: 28, 395 fontFamily: 28, 396 FONT_STYLE: 29, 397 fontStyle: 29, 398 FONT_VARIATIONS: 30, 399 fontVariations: 30, 400 OPACITY: 31, 401 opacity: 31, 402 FONT_SIZE: 32, 403 fontSize: 32, 404 LETTER_SPACING: 34, 405 letterSpacing: 34, 406 LINE_HEIGHT: 36, 407 lineHeight: 36, 408 OVERRIDDEN_SYMBOL_ID: 37, 409 overriddenSymbolId: 37, 410 CMS_SERIALIZED_RICH_TEXT_DATA: 38, 411 cmsSerializedRichTextData: 38, 412 HYPERLINK: 39, 413 hyperlink: 39, 414 SLOT_CONTENT_ID: 40, 415 slotContentId: 40, 416 GRID_ROW_GAP: 41, 417 gridRowGap: 41, 418 GRID_COLUMN_GAP: 42, 419 gridColumnGap: 42, 420 RELATIVE_X_POSITION: 43, 421 xPosition: 43, 422 RELATIVE_Y_POSITION: 44, 423 relativeYPosition: 44, 424 RELATIVE_ROTATION: 45, 425 relativeRotation: 45, 426 MOTION_TRANSLATION_X: 46, 427 motionTranslationX: 46, 428 MOTION_TRANSLATION_Y: 47, 429 motionTranslationY: 47, 430 MOTION_ROTATION: 48, 431 motionRotation: 48, 432 MOTION_SCALE_X: 49, 433 motionScaleX: 49, 434 MOTION_SCALE_Y: 50, 435 motionScaleY: 50, 436 MOTION_SHEAR: 51, 437 motionShear: 51, 438 SCROLL_OFFSET_X: 52, 439 scrollOffsetX: 52, 440 SCROLL_OFFSET_Y: 53, 441 scrollOffsetY: 53, 442 PATH_TRIM_START: 54, 443 pathTrimStart: 54, 444 PATH_TRIM_END: 55, 445 pathTrimEnd: 55, 446 DISSOLVE_PROGRESS: 56, 447 dissolveProgress: 56 448 }; 449 var Keyframe = class { 450 constructor(data) { 451 this.timelinePosition = Math.round(data.timelinePosition); 452 this.easing = data.easing; 453 this.value = data.value; 454 } 455 }; 456 var KeyframeTrack = class { 457 constructor(data) { 458 this.topLevelField = data.topLevelField; 459 this.parameterField = data.parameterField; 460 this.index = data.index; 461 this.effectParametrizedField = data.effectParametrizedField; 462 this.keyframeOperation = data.keyframeOperation; 463 this.keyframes = data.keyframes; 464 this.enabled = !!data.enabled; 465 } 466 }; 467 var AnimationPreset = class { 468 constructor(data) { 469 this.nodeId = data.nodeId; 470 this.keyframeTracks = data.keyframeTracks; 471 } 472 }; 473 var PARAMETER_FIELD_ALIAS_MAP = { 474 translateX: ParameterField.MOTION_TRANSLATION_X, 475 translateY: ParameterField.MOTION_TRANSLATION_Y, 476 rotate: ParameterField.MOTION_ROTATION, 477 scaleX: ParameterField.MOTION_SCALE_X, 478 scaleY: ParameterField.MOTION_SCALE_Y, 479 shear: ParameterField.MOTION_SHEAR 480 }; 481 var KEYFRAMEABLE_FIELDS = /* @__PURE__ */ new Set([ 482 "translateX", 483 "translateY", 484 "rotate", 485 "scaleX", 486 "scaleY", 487 "shear", 488 "cornerRadius", 489 "strokeWeight", 490 "rectangleTopLeftCornerRadius", 491 "rectangleTopRightCornerRadius", 492 "rectangleBottomLeftCornerRadius", 493 "rectangleBottomRightCornerRadius", 494 "stackSpacing", 495 "stackPaddingLeft", 496 "stackPaddingTop", 497 "stackPaddingRight", 498 "stackPaddingBottom", 499 "width", 500 "height", 501 "borderTopWeight", 502 "borderBottomWeight", 503 "borderLeftWeight", 504 "borderRightWeight", 505 "stackCounterSpacing", 506 "minWidth", 507 "maxWidth", 508 "minHeight", 509 "maxHeight", 510 "opacity", 511 "gridRowGap", 512 "gridColumnGap", 513 "textData", 514 "pathTrimStart", 515 "pathTrimEnd" 516 ]); 517 var MODE_TO_OPERATION = { 518 set: KeyframeOperation.SET, 519 SET: KeyframeOperation.SET, 520 offset: KeyframeOperation.OFFSET, 521 OFFSET: KeyframeOperation.OFFSET, 522 scale: KeyframeOperation.SCALE, 523 SCALE: KeyframeOperation.SCALE 524 }; 525 function normalizeEasing(easing) { 526 if (easing === void 0) return void 0; 527 if (easing === "hold") return { interpolationType: InterpolationType.HOLD }; 528 if (typeof easing === "string") { 529 const easingType = EasingType[easing]; 530 if (easingType === void 0) throw new Error('normalizeEasing: unknown easing "' + easing + '"'); 531 return { easingType }; 532 } 533 return easing; 534 } 535 function compileKeyframe({ timelinePosition, value, easing }) { 536 return new Keyframe({ 537 timelinePosition: timelinePosition * 1e6, 538 easing: normalizeEasing(easing), 539 value 540 }); 541 } 542 function tween({ mode, timelinePosition = 0, duration, from, to, easing, enabled = true }) { 543 if (duration < 0) throw new Error("tween: duration must be non-negative"); 544 return { 545 mode, 546 enabled, 547 keyframes: [ 548 { timelinePosition, value: from, easing }, 549 { timelinePosition: timelinePosition + duration, value: to, easing } 550 ] 551 }; 552 } 553 function animate(node, definition) { 554 const nodeId = typeof node === "string" ? node : node.id;
555 const keyframeTracks = []; 556 for (const [key, trackDef] of Object.entries(definition)) { 557 if (!KEYFRAMEABLE_FIELDS.has(key)) { 558 throw new Error('animate: unknown or non-keyframeable property "' + key + '"'); 559 } 560 const parameterField = PARAMETER_FIELD_ALIAS_MAP[key] ?? ParameterField[key]; 561 const operation = MODE_TO_OPERATION[trackDef.mode]; 562 if (operation === void 0) throw new Error('animate: unknown mode "' + trackDef.mode + '"'); 563 const seen = /* @__PURE__ */ new Map(); 564 for (const kf of trackDef.keyframes) seen.set(kf.timelinePosition, kf); 565 const sorted = [...seen.values()].sort((a, b) => a.timelinePosition - b.timelinePosition); 566 keyframeTracks.push(new KeyframeTrack({ 567 parameterField, 568 keyframeOperation: operation, 569 keyframes: sorted.map(compileKeyframe), 570 enabled: trackDef.enabled !== false 571 })); 572 } 573 return new AnimationPreset({ nodeId, keyframeTracks }); 574 } 575 576
576// ../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/share/motion/src/presets/source/corner_radius.ts 577 var CORNER_FIELD_MAP = { 578 all: "cornerRadius", 579 topLeft: "rectangleTopLeftCornerRadius", 580 topRight: "rectangleTopRightCornerRadius", 581 bottomLeft: "rectangleBottomLeftCornerRadius", 582 bottomRight: "rectangleBottomRightCornerRadius" 583 }; 584 var CORNER_KEYS = ["all", "topLeft", "topRight", "bottomLeft", "bottomRight"]; 585 function preset({ 586 type, 587 corner, 588 amount, 589 allStartFrame, 590 allEndFrame, 591 topLeftStartFrame, 592 topLeftEndFrame, 593 topRightStartFrame, 594 topRightEndFrame, 595 bottomLeftStartFrame, 596 bottomLeftEndFrame, 597 bottomRightStartFrame, 598 bottomRightEndFrame, 599 duration, 600 easing, 601 target 602 }) { 603 const selectedCorner = corner || "all"; 604 function getFromTo(cornerKey) { 605 if (type === "custom") { 606 switch (cornerKey) { 607 case "topLeft": 608 return [topLeftStartFrame, topLeftEndFrame]; 609 case "topRight": 610 return [topRightStartFrame, topRightEndFrame]; 611 case "bottomLeft": 612 return [bottomLeftStartFrame, bottomLeftEndFrame]; 613 case "bottomRight": 614 return [bottomRightStartFrame, bottomRightEndFrame]; 615 case "all": 616 default: 617 return [allStartFrame, allEndFrame]; 618 } 619 } 620 if (type === "roundOut") return [amount, 0]; 621 return [0, amount]; 622 } 623 const definition = {}; 624 for (const cornerKey of CORNER_KEYS) { 625 const fieldName = CORNER_FIELD_MAP[cornerKey]; 626 const enabled = cornerKey === selectedCorner; 627 const [from, to] = getFromTo(cornerKey); 628 definition[fieldName] = tween({ 629 mode: "offset", 630 timelinePosition: 0, 631 duration, 632 from, 633 to, 634 easing, 635 enabled 636 }); 637 } 638 return [animate(target, definition)]; 639 } 640 defineProperties(preset, { 641 type: { 642 label: "motion.preset_flyout.type", 643 type: "string", 644 defaultValue: "roundIn", 645 control: "select", 646 options: [ 647 { value: "roundIn", label: "motion.preset_flyout.corner_radius.type.round_in" }, 648 { value: "roundOut", label: "motion.preset_flyout.corner_radius.type.round_out" }, 649 { value: "custom", label: "motion.preset_flyout.type.custom" } 650 ] 651 }, 652 corner: { 653 label: "motion.preset_flyout.corner_radius.corner", 654 type: "string", 655 defaultValue: "all", 656 control: "select", 657 options: [ 658 { value: "all", label: "motion.preset_flyout.corner_radius.corner.all" }, 659 { value: "topLeft", label: "motion.preset_flyout.corner_radius.corner.top_left" }, 660 { value: "topRight", label: "motion.preset_flyout.corner_radius.corner.top_right" }, 661 { value: "bottomLeft", label: "motion.preset_flyout.corner_radius.corner.bottom_left" }, 662 { value: "bottomRight", label: "motion.preset_flyout.corner_radius.corner.bottom_right" } 663 ] 664 }, 665 amount: { 666 label: "motion.preset_flyout.amount", 667 type: "number", 668 defaultValue: 10, 669 control: "input", 670 min: 0, 671 unit: "px" 672 }, 673 // TODO(showDividerAbove-cleanup): the \`showDividerAbove\` flags in this file 674 // are redundant \u2014 section dividers are now applied client-side in the preset 675 // flyout via \`forceShowDividerAboveTransform\` 676 allStartFrame: { 677 label: "motion.preset_flyout.start_frame", 678 type: "number", 679 defaultValue: 10, 680 control: "input", 681 min: 0, 682 unit: "px", 683 showDividerAbove: true, 684 icon: "radius_all" 685 }, 686 allEndFrame: { 687 label: "motion.preset_flyout.end_frame", 688 type: "number", 689 defaultValue: 0, 690 control: "input", 691 min: 0, 692 unit: "px", 693 icon: "radius_all" 694 }, 695 topLeftStartFrame: { 696 label: "motion.preset_flyout.start_frame", 697 type: "number", 698 defaultValue: 0, 699 control: "input", 700 min: 0, 701 unit: "px", 702 showDividerAbove: true, 703 icon: "radius_top_left" 704 }, 705 topLeftEndFrame: { 706 label: "motion.preset_flyout.end_frame", 707 type: "number", 708 defaultValue: 20, 709 control: "input", 710 min: 0, 711 unit: "px", 712 icon: "radius_top_left" 713 }, 714 topRightStartFrame: { 715 label: "motion.preset_flyout.start_frame", 716 type: "number", 717 defaultValue: 0, 718 control: "input", 719 min: 0, 720 unit: "px", 721 showDividerAbove: true, 722 icon: "radius_top_right" 723 }, 724 topRightEndFrame: { 725 label: "motion.preset_flyout.end_frame", 726 type: "number", 727 defaultValue: 20, 728 control: "input", 729 min: 0, 730 unit: "px", 731 icon: "radius_top_right" 732 }, 733 bottomLeftStartFrame: { 734 label: "motion.preset_flyout.start_frame", 735 type: "number", 736 defaultValue: 0, 737 control: "input", 738 min: 0, 739 unit: "px", 740 showDividerAbove: true, 741 icon: "radius_bottom_left" 742 }, 743 bottomLeftEndFrame: { 744 label: "motion.preset_flyout.end_frame", 745 type: "number", 746 defaultValue: 20, 747 control: "input", 748 min: 0, 749 unit: "px", 750 icon: "radius_bottom_left" 751 }, 752 bottomRightStartFrame: { 753 label: "motion.preset_flyout.start_frame", 754 type: "number", 755 defaultValue: 0, 756 control: "input", 757 min: 0, 758 unit: "px", 759 showDividerAbove: true, 760 icon: "radius_bottom_right" 761 }, 762 bottomRightEndFrame: { 763 label: "motion.preset_flyout.end_frame", 764 type: "number", 765 defaultValue: 20, 766 control: "input", 767 min: 0, 768 unit: "px", 769 icon: "radius_bottom_right" 770 }, 771 // Note: 'delay' is kept in sync with a preset's \`timelineOffset\`. 772 delay: { 773 label: "motion.preset_flyout.delay", 774 type: "number", 775 defaultValue: 0, 776 control: "input", 777 unit: "s", 778 showDividerAbove: true, 779 icon: "delay" 780 }, 781 duration: { 782 label: "motion.preset_flyout.duration", 783 type: "number", 784 defaultValue: 0.5, 785 control: "input", 786 min: 0.01, 787 unit: "s", 788 icon: "time" 789 }, 790 easing: { 791 label: "motion.preset_flyout.easing", 792 type: "easing", 793 defaultValue: { easingType: EasingType.OUT_CUBIC } 794 } 795 }); 796 return __toCommonJS(corner_radius_exports); 797})();`});var Hx,Wx,Yx=Qt(()=>
797{Hx=`// Source-of-truth for the FADE first-party animation preset. 798// 799// The build-time preset-bundle codegen (see \`../scripts/generate_preset_bundles.ts\`) 800// reads this file's raw text, esbuilds it into an IIFE with \`figma:motion\` 801// resolved, and emits both strings into \`../generated/fade.generated.ts\`. The 802// generated module is what runtime code consumes \u2014 never import this file 803// directly from production code paths. 804// 805// This file is excluded from the share/motion \`ts_project\` compilation \u2014 it's 806// only an input to the codegen tool, evaluated inside the QuickJS / iframe 807// sandbox at runtime. 808 809import { animate, defineProperties, EasingType, tween } from 'figma:motion' 810 811import type { PresetArgs } from './preset_types' 812 813export default function preset({ timing, duration, easing, node }: PresetArgs) { 814 const [from, to] = timing === 'in' ? [0, 1] : [1, 0] 815 return [ 816 animate(node, { 817 opacity: tween({ 818 mode: 'scale', 819 duration, 820 from, 821 to, 822 easing, 823 }), 824 }), 825 ] 826} 827
828defineProperties(preset, { 829 timing: { 830 label: 'Timing', 831 type: 'string', 832 defaultValue: 'in', 833 control: 'select', 834 options: [ 835 { value: 'in', label: 'Fade In' }, 836 { value: 'out', label: 'Fade Out' }, 837 ], 838 }, 839 duration: { 840 label: 'Duration', 841 type: 'number', 842 defaultValue: 0.5, 843 control: 'input', 844 min: 0.01, 845 unit: 's', 846 }, 847 easing: { 848 label: 'Easing', 849 type: 'easing', 850 defaultValue: { 851 easingType: EasingType.OUT_CUBIC, 852 }, 853 }, 854}) 855`,Wx=`var __presetBundle = (() => { 856 var __defProp = Object.defineProperty; 857 var __getOwnPropDesc = Object.getOwnPropertyDescriptor; 858 var __getOwnPropNames = Object.getOwnPropertyNames; 859 var __hasOwnProp = Object.prototype.hasOwnProperty; 860 var __export = (target, all) => { 861 for (var name in all) 862 __defProp(target, name, { get: all[name], enumerable: true }); 863 }; 864 var __copyProps = (to, from, except, desc) => { 865 if (from && typeof from === "object" || typeof from === "function") { 866 for (let key of __getOwnPropNames(from)) 867 if (!__hasOwnProp.call(to, key) && key !== except) 868 __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); 869 } 870 return to; 871 }; 872 var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); 873 874
874// ../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/share/motion/src/presets/source/fade.ts 875 var fade_exports = {}; 876 __export(fade_exports, { 877 default: () => preset 878 }); 879 880 // figma-motion:figma:motion 881 function defineProperties(component, spec) { 882 Object.assign(component, { 883 [/* @__PURE__ */ Symbol.for("figma.react.props")]: spec 884 }); 885 } 886 var EasingType = { 887 IN_CUBIC: 0, 888 inCubic: 0, 889 OUT_CUBIC: 1, 890 outCubic: 1, 891 INOUT_CUBIC: 2, 892 inOutCubic: 2, 893 LINEAR: 3, 894 linear: 3, 895 IN_BACK_CUBIC: 4, 896 inBackCubic: 4, 897 OUT_BACK_CUBIC: 5, 898 outBackCubic: 5, 899 INOUT_BACK_CUBIC: 6, 900 inOutBackCubic: 6, 901 CUSTOM_CUBIC: 7, 902 customCubic: 7, 903 SPRING: 8, 904 spring: 8, 905 GENTLE_SPRING: 9, 906 gentleSpring: 9, 907 CUSTOM_SPRING: 10, 908 customSpring: 10, 909 SPRING_PRESET_ONE: 11, 910 springPresetOne: 11, 911 SPRING_PRESET_TWO: 12, 912 springPresetTwo: 12, 913 SPRING_PRESET_THREE: 13, 914 springPresetThree: 13, 915 // For backwards compat 916 bezier: 100, 917 BEZIER: 100 918 }; 919 var InterpolationType = { 920 HOLD: 0, 921 hold: 0, 922 BEZIER: 1, 923 bezier: 1 924 }; 925 var KeyframeOperation = { 926 SET: 0, 927 set: 0, 928 SCALE: 1, 929 scale: 1, 930 OFFSET: 2, 931 offset: 2 932 }; 933 var ParameterField = { 934 MISSING: 0, 935 missing: 0, 936 CORNER_RADIUS: 1, 937 cornerRadius: 1, 938 PARAGRAPH_SPACING: 2, 939 paragraphSpacing: 2, 940 PARAGRAPH_INDENT: 3, 941 paragraphIndent: 3, 942 STROKE_WEIGHT: 4, 943 strokeWeight: 4, 944 STACK_SPACING: 5, 945 stackSpacing: 5, 946 STACK_PADDING_LEFT: 6, 947 stackPaddingLeft: 6, 948 STACK_PADDING_TOP: 7, 949 stackPaddingTop: 7, 950 STACK_PADDING_RIGHT: 8, 951 stackPaddingRight: 8, 952 STACK_PADDING_BOTTOM: 9, 953 stackPaddingBottom: 9, 954 VISIBLE: 10, 955 visible: 10, 956 TEXT_DATA: 11, 957 textData: 11, 958 WIDTH: 12, 959 width: 12, 960 HEIGHT: 13, 961 height: 13, 962 RECTANGLE_TOP_LEFT_CORNER_RADIUS: 14, 963 rectangleTopLeftCornerRadius: 14, 964 RECTANGLE_TOP_RIGHT_CORNER_RADIUS: 15, 965 rectangleTopRightCornerRadius: 15, 966 RECTANGLE_BOTTOM_LEFT_CORNER_RADIUS: 16, 967 rectangleBottomLeftCornerRadius: 16, 968 RECTANGLE_BOTTOM_RIGHT_CORNER_RADIUS: 17, 969 rectangleBottomRightCornerRadius: 17, 970 BORDER_TOP_WEIGHT: 18, 971 borderTopWeight: 18, 972 BORDER_BOTTOM_WEIGHT: 19, 973 borderBottomWeight: 19, 974 BORDER_LEFT_WEIGHT: 20, 975 borderLeftWeight: 20, 976 BORDER_RIGHT_WEIGHT: 21, 977 borderRightWeight: 21, 978 VARIANT_PROPERTIES: 22, 979 variantProperties: 22, 980 STACK_COUNTER_SPACING: 23, 981 stackCounterSpacing: 23, 982 MIN_WIDTH: 24, 983 minWidth: 24, 984 MAX_WIDTH: 25, 985 maxWidth: 25, 986 MIN_HEIGHT: 26, 987 minHeight: 26, 988 MAX_HEIGHT: 27, 989 maxHeight: 27, 990 FONT_FAMILY: 28, 991 fontFamily: 28, 992 FONT_STYLE: 29, 993 fontStyle: 29, 994 FONT_VARIATIONS: 30, 995 fontVariations: 30, 996 OPACITY: 31, 997 opacity: 31, 998 FONT_SIZE: 32, 999 fontSize: 32, 1000 LETTER_SPACING: 34, 1001 letterSpacing: 34, 1002 LINE_HEIGHT: 36, 1003 lineHeight: 36, 1004 OVERRIDDEN_SYMBOL_ID: 37, 1005 overriddenSymbolId: 37, 1006 CMS_SERIALIZED_RICH_TEXT_DATA: 38, 1007 cmsSerializedRichTextData: 38, 1008 HYPERLINK: 39, 1009 hyperlink: 39, 1010 SLOT_CONTENT_ID: 40, 1011 slotContentId: 40, 1012 GRID_ROW_GAP: 41, 1013 gridRowGap: 41, 1014 GRID_COLUMN_GAP: 42, 1015 gridColumnGap: 42, 1016 RELATIVE_X_POSITION: 43, 1017 xPosition: 43, 1018 RELATIVE_Y_POSITION: 44, 1019 relativeYPosition: 44, 1020 RELATIVE_ROTATION: 45, 1021 relativeRotation: 45, 1022 MOTION_TRANSLATION_X: 46, 1023 motionTranslationX: 46, 1024 MOTION_TRANSLATION_Y: 47, 1025 motionTranslationY: 47, 1026 MOTION_ROTATION: 48, 1027 motionRotation: 48, 1028 MOTION_SCALE_X: 49, 1029 motionScaleX: 49, 1030 MOTION_SCALE_Y: 50, 1031 motionScaleY: 50, 1032 MOTION_SHEAR: 51, 1033 motionShear: 51, 1034 SCROLL_OFFSET_X: 52, 1035 scrollOffsetX: 52, 1036 SCROLL_OFFSET_Y: 53, 1037 scrollOffsetY: 53, 1038 PATH_TRIM_START: 54, 1039 pathTrimStart: 54, 1040 PATH_TRIM_END: 55, 1041 pathTrimEnd: 55, 1042 DISSOLVE_PROGRESS: 56, 1043 dissolveProgress: 56 1044 }; 1045 var Keyframe = class { 1046 constructor(data) { 1047 this.timelinePosition = Math.round(data.timelinePosition); 1048 this.easing = data.easing; 1049 this.value = data.value; 1050 } 1051 }; 1052 var KeyframeTrack = class { 1053 constructor(data) { 1054 this.topLevelField = data.topLevelField; 1055 this.parameterField = data.parameterField; 1056 this.index = data.index; 1057 this.effectParametrizedField = data.effectParametrizedField; 1058 this.keyframeOperation = data.keyframeOperation; 1059 this.keyframes = data.keyframes; 1060 this.enabled = !!data.enabled; 1061 } 1062 }; 1063 var AnimationPreset = class { 1064 constructor(data) { 1065 this.nodeId = data.nodeId; 1066 this.keyframeTracks = data.keyframeTracks; 1067 } 1068 }; 1069 var PARAMETER_FIELD_ALIAS_MAP = { 1070 translateX: ParameterField.MOTION_TRANSLATION_X, 1071 translateY: ParameterField.MOTION_TRANSLATION_Y, 1072 rotate: ParameterField.MOTION_ROTATION, 1073 scaleX: ParameterField.MOTION_SCALE_X, 1074 scaleY: ParameterField.MOTION_SCALE_Y, 1075 shear: ParameterField.MOTION_SHEAR 1076 }; 1077 var KEYFRAMEABLE_FIELDS = /* @__PURE__ */ new Set([ 1078 "translateX", 1079 "translateY", 1080 "rotate", 1081 "scaleX", 1082 "scaleY", 1083 "shear", 1084 "cornerRadius", 1085 "strokeWeight", 1086 "rectangleTopLeftCornerRadius", 1087 "rectangleTopRightCornerRadius", 1088 "rectangleBottomLeftCornerRadius", 1089 "rectangleBottomRightCornerRadius", 1090 "stackSpacing", 1091 "stackPaddingLeft", 1092 "stackPaddingTop", 1093 "stackPaddingRight", 1094 "stackPaddingBottom", 1095 "width", 1096 "height", 1097 "borderTopWeight", 1098 "borderBottomWeight", 1099 "borderLeftWeight", 1100 "borderRightWeight", 1101 "stackCounterSpacing", 1102 "minWidth", 1103 "maxWidth", 1104 "minHeight", 1105 "maxHeight", 1106 "opacity", 1107 "gridRowGap", 1108 "gridColumnGap", 1109 "textData", 1110 "pathTrimStart", 1111 "pathTrimEnd" 1112 ]); 1113 var MODE_TO_OPERATION = { 1114 set: KeyframeOperation.SET, 1115 SET: KeyframeOperation.SET, 1116 offset: KeyframeOperation.OFFSET, 1117 OFFSET: KeyframeOperation.OFFSET, 1118 scale: KeyframeOperation.SCALE, 1119 SCALE: KeyframeOperation.SCALE 1120 }; 1121 function normalizeEasing(easing) { 1122 if (easing === void 0) return void 0; 1123 if (easing === "hold") return { interpolationType: InterpolationType.HOLD }; 1124 if (typeof easing === "string") { 1125 const easingType = EasingType[easing]; 1126 if (easingType === void 0) throw new Error('normalizeEasing: unknown easing "' + easing + '"'); 1127 return { easingType }; 1128 } 1129 return easing; 1130 } 1131 function compileKeyframe({ timelinePosition, value, easing }) { 1132 return new Keyframe({ 1133 timelinePosition: timelinePosition * 1e6, 1134 easing: normalizeEasing(easing), 1135 value 1136 }); 1137 } 1138 function tween({ mode, timelinePosition = 0, duration, from, to, easing, enabled = true }) { 1139 if (duration < 0) throw new Error("tween: duration must be non-negative"); 1140 return { 1141 mode, 1142 enabled, 1143 keyframes: [ 1144 { timelinePosition, value: from, easing }, 1145 { timelinePosition: timelinePosition + duration, value: to, easing } 1146 ] 1147 }; 1148 } 1149 function animate(node, definition) { 1150 const nodeId = typeof node === "string" ? node : node.id;
1151 const keyframeTracks = []; 1152 for (const [key, trackDef] of Object.entries(definition)) { 1153 if (!KEYFRAMEABLE_FIELDS.has(key)) { 1154 throw new Error('animate: unknown or non-keyframeable property "' + key + '"'); 1155 } 1156 const parameterField = PARAMETER_FIELD_ALIAS_MAP[key] ?? ParameterField[key]; 1157 const operation = MODE_TO_OPERATION[trackDef.mode]; 1158 if (operation === void 0) throw new Error('animate: unknown mode "' + trackDef.mode + '"'); 1159 const seen = /* @__PURE__ */ new Map(); 1160 for (const kf of trackDef.keyframes) seen.set(kf.timelinePosition, kf); 1161 const sorted = [...seen.values()].sort((a, b) => a.timelinePosition - b.timelinePosition); 1162 keyframeTracks.push(new KeyframeTrack({ 1163 parameterField, 1164 keyframeOperation: operation, 1165 keyframes: sorted.map(compileKeyframe), 1166 enabled: trackDef.enabled !== false 1167 })); 1168 } 1169 return new AnimationPreset({ nodeId, keyframeTracks }); 1170 } 1171 1172
1172// ../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/share/motion/src/presets/source/fade.ts 1173 function preset({ timing, duration, easing, node }) { 1174 const [from, to] = timing === "in" ? [0, 1] : [1, 0]; 1175 return [ 1176 animate(node, { 1177 opacity: tween({ 1178 mode: "scale", 1179 duration, 1180 from, 1181 to, 1182 easing 1183 }) 1184 }) 1185 ]; 1186 } 1187 defineProperties(preset, { 1188 timing: { 1189 label: "Timing", 1190 type: "string", 1191 defaultValue: "in", 1192 control: "select", 1193 options: [ 1194 { value: "in", label: "Fade In" }, 1195 { value: "out", label: "Fade Out" } 1196 ] 1197 }, 1198 duration: { 1199 label: "Duration", 1200 type: "number", 1201 defaultValue: 0.5, 1202 control: "input", 1203 min: 0.01, 1204 unit: "s" 1205 }, 1206 easing: { 1207 label: "Easing", 1208 type: "easing", 1209 defaultValue: { 1210 easingType: EasingType.OUT_CUBIC 1211 } 1212 } 1213 }); 1214 return __toCommonJS(fade_exports); 1215})();`});var Kx,zx,Xx=Qt(()=>{Kx=`// Source-of-truth for the MOVE first-party animation preset. 1216// 1217// The build-time preset-bundle codegen (see \`../scripts/generate_preset_bundles.ts\`) 1218// reads this file's raw text, esbuilds it into an IIFE with \`figma:motion\` 1219// resolved, and emits both strings into \`../generated/move.generated.ts\`. The 1220// generated module is what runtime code consumes \u2014 never import this file 1221// directly from production code paths. 1222// 1223// This file is excluded from the share/motion \`ts_project\` compilation \u2014 it's 1224// only an input to the codegen tool, evaluated inside the QuickJS / iframe 1225// sandbox at runtime. 1226 1227import { animate, defineProperties, EasingType, tween } from 'figma:motion' 1228 1229import type { PresetArgs, PresetTrackDefinitions } from './preset_types' 1230 1231export default function preset({ timing, moveX, moveY, duration, fade, easing, node }: PresetArgs) { 1232 const xFrom = timing === 'in' ? moveX : 0 1233 const xTo = timing === 'in' ? 0 : moveX 1234 const yFrom = timing === 'in' ? moveY : 0 1235 const yTo = timing === 'in' ? 0 : moveY 1236 const definition: PresetTrackDefinitions = { 1237 translateX: tween({ 1238 mode: 'offset', 1239 duration, 1240 from: xFrom, 1241 to: xTo, 1242 easing, 1243 }), 1244 translateY: tween({ 1245 mode: 'offset', 1246 duration, 1247 from: yFrom, 1248 to: yTo, 1249 easing, 1250 }), 1251 } 1252 1253 if (fade) { 1254 const opFrom = timing === 'in' ? 0 : 1 1255 const opTo = timing === 'in' ? 1 : 0 1256 definition.opacity = tween({ 1257 mode: 'scale', 1258 duration, 1259 from: opFrom, 1260 to: opTo, 1261 easing, 1262 }) 1263 } 1264 1265 return [animate(node, definition)] 1266} 1267 1268defineProperties(preset, { 1269 timing: { 1270 label: 'Timing', 1271 type: 'string', 1272 defaultValue: 'out', 1273 control: 'select', 1274 options: [ 1275 { value: 'in', label: 'Move In' }, 1276 { value: 'out', label: 'Move Out' }, 1277 ], 1278 }, 1279 moveX: { 1280 label: 'Move X', 1281 type: 'number', 1282 defaultValue: 100, 1283 control: 'input', 1284 }, 1285 moveY: { 1286 label: 'Move Y', 1287 type: 'number', 1288 defaultValue: 0, 1289 control: 'input', 1290 }, 1291 duration: { 1292 label: 'Duration', 1293 type: 'number', 1294 defaultValue: 0.5, 1295 control: 'input', 1296 min: 0.01, 1297 unit: 's', 1298 }, 1299 fade: { 1300 label: 'Fade', 1301 type: 'boolean', 1302 defaultValue: false, 1303 }, 1304 easing: { 1305 label: 'Easing', 1306 type: 'easing', 1307 defaultValue: { 1308 easingType: EasingType.OUT_CUBIC, 1309 }, 1310 }, 1311}) 1312`,zx=`var __presetBundle = (() => { 1313 var __defProp = Object.defineProperty; 1314 var __getOwnPropDesc = Object.getOwnPropertyDescriptor; 1315 var __getOwnPropNames = Object.getOwnPropertyNames; 1316 var __hasOwnProp = Object.prototype.hasOwnProperty; 1317 var __export = (target, all) => { 1318 for (var name in all) 1319 __defProp(target, name, { get: all[name], enumerable: true }); 1320 }; 1321 var __copyProps = (to, from, except, desc) => { 1322 if (from && typeof from === "object" || typeof from === "function") { 1323 for (let key of __getOwnPropNames(from)) 1324 if (!__hasOwnProp.call(to, key) && key !== except) 1325 __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); 1326 } 1327 return to; 1328 }; 1329 var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); 1330 1331
1331// ../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/share/motion/src/presets/source/move.ts 1332 var move_exports = {}; 1333 __export(move_exports, { 1334 default: () => preset 1335 }); 1336 1337 // figma-motion:figma:motion 1338 function defineProperties(component, spec) { 1339 Object.assign(component, { 1340 [/* @__PURE__ */ Symbol.for("figma.react.props")]: spec 1341 }); 1342 } 1343 var EasingType = { 1344 IN_CUBIC: 0, 1345 inCubic: 0, 1346 OUT_CUBIC: 1, 1347 outCubic: 1, 1348 INOUT_CUBIC: 2, 1349 inOutCubic: 2, 1350 LINEAR: 3, 1351 linear: 3, 1352 IN_BACK_CUBIC: 4, 1353 inBackCubic: 4, 1354 OUT_BACK_CUBIC: 5, 1355 outBackCubic: 5, 1356 INOUT_BACK_CUBIC: 6, 1357 inOutBackCubic: 6, 1358 CUSTOM_CUBIC: 7, 1359 customCubic: 7, 1360 SPRING: 8, 1361 spring: 8, 1362 GENTLE_SPRING: 9, 1363 gentleSpring: 9, 1364 CUSTOM_SPRING: 10, 1365 customSpring: 10, 1366 SPRING_PRESET_ONE: 11, 1367 springPresetOne: 11, 1368 SPRING_PRESET_TWO: 12, 1369 springPresetTwo: 12, 1370 SPRING_PRESET_THREE: 13, 1371 springPresetThree: 13, 1372 // For backwards compat 1373 bezier: 100, 1374 BEZIER: 100 1375 }; 1376 var InterpolationType = { 1377 HOLD: 0, 1378 hold: 0, 1379 BEZIER: 1, 1380 bezier: 1 1381 }; 1382 var KeyframeOperation = { 1383 SET: 0, 1384 set: 0, 1385 SCALE: 1, 1386 scale: 1, 1387 OFFSET: 2, 1388 offset: 2 1389 }; 1390 var ParameterField = { 1391 MISSING: 0, 1392 missing: 0, 1393 CORNER_RADIUS: 1, 1394 cornerRadius: 1, 1395 PARAGRAPH_SPACING: 2, 1396 paragraphSpacing: 2, 1397 PARAGRAPH_INDENT: 3, 1398 paragraphIndent: 3, 1399 STROKE_WEIGHT: 4, 1400 strokeWeight: 4, 1401 STACK_SPACING: 5, 1402 stackSpacing: 5, 1403 STACK_PADDING_LEFT: 6, 1404 stackPaddingLeft: 6, 1405 STACK_PADDING_TOP: 7, 1406 stackPaddingTop: 7, 1407 STACK_PADDING_RIGHT: 8, 1408 stackPaddingRight: 8, 1409 STACK_PADDING_BOTTOM: 9, 1410 stackPaddingBottom: 9, 1411 VISIBLE: 10, 1412 visible: 10, 1413 TEXT_DATA: 11, 1414 textData: 11, 1415 WIDTH: 12, 1416 width: 12, 1417 HEIGHT: 13, 1418 height: 13, 1419 RECTANGLE_TOP_LEFT_CORNER_RADIUS: 14, 1420 rectangleTopLeftCornerRadius: 14, 1421 RECTANGLE_TOP_RIGHT_CORNER_RADIUS: 15, 1422 rectangleTopRightCornerRadius: 15, 1423 RECTANGLE_BOTTOM_LEFT_CORNER_RADIUS: 16, 1424 rectangleBottomLeftCornerRadius: 16, 1425 RECTANGLE_BOTTOM_RIGHT_CORNER_RADIUS: 17, 1426 rectangleBottomRightCornerRadius: 17, 1427 BORDER_TOP_WEIGHT: 18, 1428 borderTopWeight: 18, 1429 BORDER_BOTTOM_WEIGHT: 19, 1430 borderBottomWeight: 19, 1431 BORDER_LEFT_WEIGHT: 20, 1432 borderLeftWeight: 20, 1433 BORDER_RIGHT_WEIGHT: 21, 1434 borderRightWeight: 21, 1435 VARIANT_PROPERTIES: 22, 1436 variantProperties: 22, 1437 STACK_COUNTER_SPACING: 23, 1438 stackCounterSpacing: 23, 1439 MIN_WIDTH: 24, 1440 minWidth: 24, 1441 MAX_WIDTH: 25, 1442 maxWidth: 25, 1443 MIN_HEIGHT: 26, 1444 minHeight: 26, 1445 MAX_HEIGHT: 27, 1446 maxHeight: 27, 1447 FONT_FAMILY: 28, 1448 fontFamily: 28, 1449 FONT_STYLE: 29, 1450 fontStyle: 29, 1451 FONT_VARIATIONS: 30, 1452 fontVariations: 30, 1453 OPACITY: 31, 1454 opacity: 31, 1455 FONT_SIZE: 32, 1456 fontSize: 32, 1457 LETTER_SPACING: 34, 1458 letterSpacing: 34, 1459 LINE_HEIGHT: 36, 1460 lineHeight: 36, 1461 OVERRIDDEN_SYMBOL_ID: 37, 1462 overriddenSymbolId: 37, 1463 CMS_SERIALIZED_RICH_TEXT_DATA: 38, 1464 cmsSerializedRichTextData: 38, 1465 HYPERLINK: 39, 1466 hyperlink: 39, 1467 SLOT_CONTENT_ID: 40, 1468 slotContentId: 40, 1469 GRID_ROW_GAP: 41, 1470 gridRowGap: 41, 1471 GRID_COLUMN_GAP: 42, 1472 gridColumnGap: 42, 1473 RELATIVE_X_POSITION: 43, 1474 xPosition: 43, 1475 RELATIVE_Y_POSITION: 44, 1476 relativeYPosition: 44, 1477 RELATIVE_ROTATION: 45, 1478 relativeRotation: 45, 1479 MOTION_TRANSLATION_X: 46, 1480 motionTranslationX: 46, 1481 MOTION_TRANSLATION_Y: 47, 1482 motionTranslationY: 47, 1483 MOTION_ROTATION: 48, 1484 motionRotation: 48, 1485 MOTION_SCALE_X: 49, 1486 motionScaleX: 49, 1487 MOTION_SCALE_Y: 50, 1488 motionScaleY: 50, 1489 MOTION_SHEAR: 51, 1490 motionShear: 51, 1491 SCROLL_OFFSET_X: 52, 1492 scrollOffsetX: 52, 1493 SCROLL_OFFSET_Y: 53, 1494 scrollOffsetY: 53, 1495 PATH_TRIM_START: 54, 1496 pathTrimStart: 54, 1497 PATH_TRIM_END: 55, 1498 pathTrimEnd: 55, 1499 DISSOLVE_PROGRESS: 56, 1500 dissolveProgress: 56 1501 }; 1502 var Keyframe = class { 1503 constructor(data) { 1504 this.timelinePosition = Math.round(data.timelinePosition); 1505 this.easing = data.easing; 1506 this.value = data.value; 1507 } 1508 }; 1509 var KeyframeTrack = class { 1510 constructor(data) { 1511 this.topLevelField = data.topLevelField; 1512 this.parameterField = data.parameterField; 1513 this.index = data.index; 1514 this.effectParametrizedField = data.effectParametrizedField; 1515 this.keyframeOperation = data.keyframeOperation; 1516 this.keyframes = data.keyframes; 1517 this.enabled = !!data.enabled; 1518 } 1519 }; 1520 var AnimationPreset = class { 1521 constructor(data) { 1522 this.nodeId = data.nodeId; 1523 this.keyframeTracks = data.keyframeTracks; 1524 } 1525 }; 1526 var PARAMETER_FIELD_ALIAS_MAP = { 1527 translateX: ParameterField.MOTION_TRANSLATION_X, 1528 translateY: ParameterField.MOTION_TRANSLATION_Y, 1529 rotate: ParameterField.MOTION_ROTATION, 1530 scaleX: ParameterField.MOTION_SCALE_X, 1531 scaleY: ParameterField.MOTION_SCALE_Y, 1532 shear: ParameterField.MOTION_SHEAR 1533 }; 1534 var KEYFRAMEABLE_FIELDS = /* @__PURE__ */ new Set([ 1535 "translateX", 1536 "translateY", 1537 "rotate", 1538 "scaleX", 1539 "scaleY", 1540 "shear", 1541 "cornerRadius", 1542 "strokeWeight", 1543 "rectangleTopLeftCornerRadius", 1544 "rectangleTopRightCornerRadius", 1545 "rectangleBottomLeftCornerRadius", 1546 "rectangleBottomRightCornerRadius", 1547 "stackSpacing", 1548 "stackPaddingLeft", 1549 "stackPaddingTop", 1550 "stackPaddingRight", 1551 "stackPaddingBottom", 1552 "width", 1553 "height", 1554 "borderTopWeight", 1555 "borderBottomWeight", 1556 "borderLeftWeight", 1557 "borderRightWeight", 1558 "stackCounterSpacing", 1559 "minWidth", 1560 "maxWidth", 1561 "minHeight", 1562 "maxHeight", 1563 "opacity", 1564 "gridRowGap", 1565 "gridColumnGap", 1566 "textData", 1567 "pathTrimStart", 1568 "pathTrimEnd" 1569 ]); 1570 var MODE_TO_OPERATION = { 1571 set: KeyframeOperation.SET, 1572 SET: KeyframeOperation.SET, 1573 offset: KeyframeOperation.OFFSET, 1574 OFFSET: KeyframeOperation.OFFSET, 1575 scale: KeyframeOperation.SCALE, 1576 SCALE: KeyframeOperation.SCALE 1577 }; 1578 function normalizeEasing(easing) { 1579 if (easing === void 0) return void 0; 1580 if (easing === "hold") return { interpolationType: InterpolationType.HOLD }; 1581 if (typeof easing === "string") { 1582 const easingType = EasingType[easing]; 1583 if (easingType === void 0) throw new Error('normalizeEasing: unknown easing "' + easing + '"'); 1584 return { easingType }; 1585 } 1586 return easing; 1587 } 1588 function compileKeyframe({ timelinePosition, value, easing }) { 1589 return new Keyframe({ 1590 timelinePosition: timelinePosition * 1e6, 1591 easing: normalizeEasing(easing), 1592 value 1593 }); 1594 } 1595 function tween({ mode, timelinePosition = 0, duration, from, to, easing, enabled = true }) { 1596 if (duration < 0) throw new Error("tween: duration must be non-negative"); 1597 return { 1598 mode, 1599 enabled, 1600 keyframes: [ 1601 { timelinePosition, value: from, easing }, 1602 { timelinePosition: timelinePosition + duration, value: to, easing } 1603 ] 1604 }; 1605 } 1606 function animate(node, definition) { 1607 const nodeId = typeof node === "string" ? node : node.id;
1608 const keyframeTracks = []; 1609 for (const [key, trackDef] of Object.entries(definition)) { 1610 if (!KEYFRAMEABLE_FIELDS.has(key)) { 1611 throw new Error('animate: unknown or non-keyframeable property "' + key + '"'); 1612 } 1613 const parameterField = PARAMETER_FIELD_ALIAS_MAP[key] ?? ParameterField[key]; 1614 const operation = MODE_TO_OPERATION[trackDef.mode]; 1615 if (operation === void 0) throw new Error('animate: unknown mode "' + trackDef.mode + '"'); 1616 const seen = /* @__PURE__ */ new Map(); 1617 for (const kf of trackDef.keyframes) seen.set(kf.timelinePosition, kf); 1618 const sorted = [...seen.values()].sort((a, b) => a.timelinePosition - b.timelinePosition); 1619 keyframeTracks.push(new KeyframeTrack({ 1620 parameterField, 1621 keyframeOperation: operation, 1622 keyframes: sorted.map(compileKeyframe), 1623 enabled: trackDef.enabled !== false 1624 })); 1625 } 1626 return new AnimationPreset({ nodeId, keyframeTracks }); 1627 } 1628 1629
1629// ../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/share/motion/src/presets/source/move.ts 1630 function preset({ timing, moveX, moveY, duration, fade, easing, node }) { 1631 const xFrom = timing === "in" ? moveX : 0; 1632 const xTo = timing === "in" ? 0 : moveX; 1633 const yFrom = timing === "in" ? moveY : 0; 1634 const yTo = timing === "in" ? 0 : moveY; 1635 const definition = { 1636 translateX: tween({ 1637 mode: "offset", 1638 duration, 1639 from: xFrom, 1640 to: xTo, 1641 easing 1642 }), 1643 translateY: tween({ 1644 mode: "offset", 1645 duration, 1646 from: yFrom, 1647 to: yTo, 1648 easing 1649 }) 1650 }; 1651 if (fade) { 1652 const opFrom = timing === "in" ? 0 : 1; 1653 const opTo = timing === "in" ? 1 : 0; 1654 definition.opacity = tween({ 1655 mode: "scale", 1656 duration, 1657 from: opFrom, 1658 to: opTo, 1659 easing 1660 }); 1661 } 1662 return [animate(node, definition)]; 1663 } 1664 defineProperties(preset, { 1665 timing: { 1666 label: "Timing", 1667 type: "string", 1668 defaultValue: "out", 1669 control: "select", 1670 options: [ 1671 { value: "in", label: "Move In" }, 1672 { value: "out", label: "Move Out" } 1673 ] 1674 }, 1675 moveX: { 1676 label: "Move X", 1677 type: "number", 1678 defaultValue: 100, 1679 control: "input" 1680 }, 1681 moveY: { 1682 label: "Move Y", 1683 type: "number", 1684 defaultValue: 0, 1685 control: "input" 1686 }, 1687 duration: { 1688 label: "Duration", 1689 type: "number", 1690 defaultValue: 0.5, 1691 control: "input", 1692 min: 0.01, 1693 unit: "s" 1694 }, 1695 fade: { 1696 label: "Fade", 1697 type: "boolean", 1698 defaultValue: false 1699 }, 1700 easing: { 1701 label: "Easing", 1702 type: "easing", 1703 defaultValue: { 1704 easingType: EasingType.OUT_CUBIC 1705 } 1706 } 1707 }); 1708 return __toCommonJS(move_exports); 1709})();`});var jx,$x,Zx=Qt(()=>{jx=`// Source-of-truth for the NEW first-party animation preset. 1710// 1711// The build-time preset-bundle codegen (see \`../scripts/generate_preset_bundles.ts\`) 1712// reads this file's raw text, esbuilds it into an IIFE with \`figma:motion\` 1713// resolved, and emits both strings into \`../generated/new.generated.ts\`. The 1714// generated module is what runtime code consumes \u2014 never import this file 1715// directly from production code paths. 1716// 1717// This file is excluded from the share/motion \`ts_project\` compilation \u2014 it's 1718// only an input to the codegen tool, evaluated inside the QuickJS / iframe 1719// sandbox at runtime. 1720 1721import { animate, defineProperties, EasingType, tween } from 'figma:motion' 1722 1723import type { PresetArgs } from './preset_types' 1724 1725export default function preset({ duration, easing, node }: PresetArgs) { 1726 return [ 1727 animate(node, { 1728 opacity: tween({ 1729 mode: 'scale', 1730 duration, 1731 from: 0, 1732 to: 1, 1733 easing, 1734 }), 1735 }), 1736 ] 1737} 1738
1739defineProperties(preset, { 1740 duration: { 1741 label: 'Duration', 1742 type: 'number', 1743 defaultValue: 0.5, 1744 control: 'input', 1745 min: 0.01, 1746 unit: 's', 1747 }, 1748 easing: { 1749 label: 'Easing', 1750 type: 'easing', 1751 defaultValue: { 1752 easingType: EasingType.OUT_CUBIC, 1753 }, 1754 }, 1755}) 1756`,$x=`var __presetBundle = (() => { 1757 var __defProp = Object.defineProperty; 1758 var __getOwnPropDesc = Object.getOwnPropertyDescriptor; 1759 var __getOwnPropNames = Object.getOwnPropertyNames; 1760 var __hasOwnProp = Object.prototype.hasOwnProperty; 1761 var __export = (target, all) => { 1762 for (var name in all) 1763 __defProp(target, name, { get: all[name], enumerable: true }); 1764 }; 1765 var __copyProps = (to, from, except, desc) => { 1766 if (from && typeof from === "object" || typeof from === "function") { 1767 for (let key of __getOwnPropNames(from)) 1768 if (!__hasOwnProp.call(to, key) && key !== except) 1769 __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); 1770 } 1771 return to; 1772 }; 1773 var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); 1774 1775
1775// ../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/share/motion/src/presets/source/new.ts 1776 var new_exports = {}; 1777 __export(new_exports, { 1778 default: () => preset 1779 }); 1780 1781 // figma-motion:figma:motion 1782 function defineProperties(component, spec) { 1783 Object.assign(component, { 1784 [/* @__PURE__ */ Symbol.for("figma.react.props")]: spec 1785 }); 1786 } 1787 var EasingType = { 1788 IN_CUBIC: 0, 1789 inCubic: 0, 1790 OUT_CUBIC: 1, 1791 outCubic: 1, 1792 INOUT_CUBIC: 2, 1793 inOutCubic: 2, 1794 LINEAR: 3, 1795 linear: 3, 1796 IN_BACK_CUBIC: 4, 1797 inBackCubic: 4, 1798 OUT_BACK_CUBIC: 5, 1799 outBackCubic: 5, 1800 INOUT_BACK_CUBIC: 6, 1801 inOutBackCubic: 6, 1802 CUSTOM_CUBIC: 7, 1803 customCubic: 7, 1804 SPRING: 8, 1805 spring: 8, 1806 GENTLE_SPRING: 9, 1807 gentleSpring: 9, 1808 CUSTOM_SPRING: 10, 1809 customSpring: 10, 1810 SPRING_PRESET_ONE: 11, 1811 springPresetOne: 11, 1812 SPRING_PRESET_TWO: 12, 1813 springPresetTwo: 12, 1814 SPRING_PRESET_THREE: 13, 1815 springPresetThree: 13, 1816 // For backwards compat 1817 bezier: 100, 1818 BEZIER: 100 1819 }; 1820 var InterpolationType = { 1821 HOLD: 0, 1822 hold: 0, 1823 BEZIER: 1, 1824 bezier: 1 1825 }; 1826 var KeyframeOperation = { 1827 SET: 0, 1828 set: 0, 1829 SCALE: 1, 1830 scale: 1, 1831 OFFSET: 2, 1832 offset: 2 1833 }; 1834 var ParameterField = { 1835 MISSING: 0, 1836 missing: 0, 1837 CORNER_RADIUS: 1, 1838 cornerRadius: 1, 1839 PARAGRAPH_SPACING: 2, 1840 paragraphSpacing: 2, 1841 PARAGRAPH_INDENT: 3, 1842 paragraphIndent: 3, 1843 STROKE_WEIGHT: 4, 1844 strokeWeight: 4, 1845 STACK_SPACING: 5, 1846 stackSpacing: 5, 1847 STACK_PADDING_LEFT: 6, 1848 stackPaddingLeft: 6, 1849 STACK_PADDING_TOP: 7, 1850 stackPaddingTop: 7, 1851 STACK_PADDING_RIGHT: 8, 1852 stackPaddingRight: 8, 1853 STACK_PADDING_BOTTOM: 9, 1854 stackPaddingBottom: 9, 1855 VISIBLE: 10, 1856 visible: 10, 1857 TEXT_DATA: 11, 1858 textData: 11, 1859 WIDTH: 12, 1860 width: 12, 1861 HEIGHT: 13, 1862 height: 13, 1863 RECTANGLE_TOP_LEFT_CORNER_RADIUS: 14, 1864 rectangleTopLeftCornerRadius: 14, 1865 RECTANGLE_TOP_RIGHT_CORNER_RADIUS: 15, 1866 rectangleTopRightCornerRadius: 15, 1867 RECTANGLE_BOTTOM_LEFT_CORNER_RADIUS: 16, 1868 rectangleBottomLeftCornerRadius: 16, 1869 RECTANGLE_BOTTOM_RIGHT_CORNER_RADIUS: 17, 1870 rectangleBottomRightCornerRadius: 17, 1871 BORDER_TOP_WEIGHT: 18, 1872 borderTopWeight: 18, 1873 BORDER_BOTTOM_WEIGHT: 19, 1874 borderBottomWeight: 19, 1875 BORDER_LEFT_WEIGHT: 20, 1876 borderLeftWeight: 20, 1877 BORDER_RIGHT_WEIGHT: 21, 1878 borderRightWeight: 21, 1879 VARIANT_PROPERTIES: 22, 1880 variantProperties: 22, 1881 STACK_COUNTER_SPACING: 23, 1882 stackCounterSpacing: 23, 1883 MIN_WIDTH: 24, 1884 minWidth: 24, 1885 MAX_WIDTH: 25, 1886 maxWidth: 25, 1887 MIN_HEIGHT: 26, 1888 minHeight: 26, 1889 MAX_HEIGHT: 27, 1890 maxHeight: 27, 1891 FONT_FAMILY: 28, 1892 fontFamily: 28, 1893 FONT_STYLE: 29, 1894 fontStyle: 29, 1895 FONT_VARIATIONS: 30, 1896 fontVariations: 30, 1897 OPACITY: 31, 1898 opacity: 31, 1899 FONT_SIZE: 32, 1900 fontSize: 32, 1901 LETTER_SPACING: 34, 1902 letterSpacing: 34, 1903 LINE_HEIGHT: 36, 1904 lineHeight: 36, 1905 OVERRIDDEN_SYMBOL_ID: 37, 1906 overriddenSymbolId: 37, 1907 CMS_SERIALIZED_RICH_TEXT_DATA: 38, 1908 cmsSerializedRichTextData: 38, 1909 HYPERLINK: 39, 1910 hyperlink: 39, 1911 SLOT_CONTENT_ID: 40, 1912 slotContentId: 40, 1913 GRID_ROW_GAP: 41, 1914 gridRowGap: 41, 1915 GRID_COLUMN_GAP: 42, 1916 gridColumnGap: 42, 1917 RELATIVE_X_POSITION: 43, 1918 xPosition: 43, 1919 RELATIVE_Y_POSITION: 44, 1920 relativeYPosition: 44, 1921 RELATIVE_ROTATION: 45, 1922 relativeRotation: 45, 1923 MOTION_TRANSLATION_X: 46, 1924 motionTranslationX: 46, 1925 MOTION_TRANSLATION_Y: 47, 1926 motionTranslationY: 47, 1927 MOTION_ROTATION: 48, 1928 motionRotation: 48, 1929 MOTION_SCALE_X: 49, 1930 motionScaleX: 49, 1931 MOTION_SCALE_Y: 50, 1932 motionScaleY: 50, 1933 MOTION_SHEAR: 51, 1934 motionShear: 51, 1935 SCROLL_OFFSET_X: 52, 1936 scrollOffsetX: 52, 1937 SCROLL_OFFSET_Y: 53, 1938 scrollOffsetY: 53, 1939 PATH_TRIM_START: 54, 1940 pathTrimStart: 54, 1941 PATH_TRIM_END: 55, 1942 pathTrimEnd: 55, 1943 DISSOLVE_PROGRESS: 56, 1944 dissolveProgress: 56 1945 }; 1946 var Keyframe = class { 1947 constructor(data) { 1948 this.timelinePosition = Math.round(data.timelinePosition); 1949 this.easing = data.easing; 1950 this.value = data.value; 1951 } 1952 }; 1953 var KeyframeTrack = class { 1954 constructor(data) { 1955 this.topLevelField = data.topLevelField; 1956 this.parameterField = data.parameterField; 1957 this.index = data.index; 1958 this.effectParametrizedField = data.effectParametrizedField; 1959 this.keyframeOperation = data.keyframeOperation; 1960 this.keyframes = data.keyframes; 1961 this.enabled = !!data.enabled; 1962 } 1963 }; 1964 var AnimationPreset = class { 1965 constructor(data) { 1966 this.nodeId = data.nodeId; 1967 this.keyframeTracks = data.keyframeTracks; 1968 } 1969 }; 1970 var PARAMETER_FIELD_ALIAS_MAP = { 1971 translateX: ParameterField.MOTION_TRANSLATION_X, 1972 translateY: ParameterField.MOTION_TRANSLATION_Y, 1973 rotate: ParameterField.MOTION_ROTATION, 1974 scaleX: ParameterField.MOTION_SCALE_X, 1975 scaleY: ParameterField.MOTION_SCALE_Y, 1976 shear: ParameterField.MOTION_SHEAR 1977 }; 1978 var KEYFRAMEABLE_FIELDS = /* @__PURE__ */ new Set([ 1979 "translateX", 1980 "translateY", 1981 "rotate", 1982 "scaleX", 1983 "scaleY", 1984 "shear", 1985 "cornerRadius", 1986 "strokeWeight", 1987 "rectangleTopLeftCornerRadius", 1988 "rectangleTopRightCornerRadius", 1989 "rectangleBottomLeftCornerRadius", 1990 "rectangleBottomRightCornerRadius", 1991 "stackSpacing", 1992 "stackPaddingLeft", 1993 "stackPaddingTop", 1994 "stackPaddingRight", 1995 "stackPaddingBottom", 1996 "width", 1997 "height", 1998 "borderTopWeight", 1999 "borderBottomWeight", 2000 "borderLeftWeight", 2001 "borderRightWeight", 2002 "stackCounterSpacing", 2003 "minWidth", 2004 "maxWidth", 2005 "minHeight", 2006 "maxHeight", 2007 "opacity", 2008 "gridRowGap", 2009 "gridColumnGap", 2010 "textData", 2011 "pathTrimStart", 2012 "pathTrimEnd" 2013 ]); 2014 var MODE_TO_OPERATION = { 2015 set: KeyframeOperation.SET, 2016 SET: KeyframeOperation.SET, 2017 offset: KeyframeOperation.OFFSET, 2018 OFFSET: KeyframeOperation.OFFSET, 2019 scale: KeyframeOperation.SCALE, 2020 SCALE: KeyframeOperation.SCALE 2021 }; 2022 function normalizeEasing(easing) { 2023 if (easing === void 0) return void 0; 2024 if (easing === "hold") return { interpolationType: InterpolationType.HOLD }; 2025 if (typeof easing === "string") { 2026 const easingType = EasingType[easing]; 2027 if (easingType === void 0) throw new Error('normalizeEasing: unknown easing "' + easing + '"'); 2028 return { easingType }; 2029 } 2030 return easing; 2031 } 2032 function compileKeyframe({ timelinePosition, value, easing }) { 2033 return new Keyframe({ 2034 timelinePosition: timelinePosition * 1e6, 2035 easing: normalizeEasing(easing), 2036 value 2037 }); 2038 } 2039 function tween({ mode, timelinePosition = 0, duration, from, to, easing, enabled = true }) { 2040 if (duration < 0) throw new Error("tween: duration must be non-negative"); 2041 return { 2042 mode, 2043 enabled, 2044 keyframes: [ 2045 { timelinePosition, value: from, easing }, 2046 { timelinePosition: timelinePosition + duration, value: to, easing } 2047 ] 2048 }; 2049 } 2050 function animate(node, definition) { 2051 const nodeId = typeof node === "string" ? node : node.id;
2052 const keyframeTracks = []; 2053 for (const [key, trackDef] of Object.entries(definition)) { 2054 if (!KEYFRAMEABLE_FIELDS.has(key)) { 2055 throw new Error('animate: unknown or non-keyframeable property "' + key + '"'); 2056 } 2057 const parameterField = PARAMETER_FIELD_ALIAS_MAP[key] ?? ParameterField[key]; 2058 const operation = MODE_TO_OPERATION[trackDef.mode]; 2059 if (operation === void 0) throw new Error('animate: unknown mode "' + trackDef.mode + '"'); 2060 const seen = /* @__PURE__ */ new Map(); 2061 for (const kf of trackDef.keyframes) seen.set(kf.timelinePosition, kf); 2062 const sorted = [...seen.values()].sort((a, b) => a.timelinePosition - b.timelinePosition); 2063 keyframeTracks.push(new KeyframeTrack({ 2064 parameterField, 2065 keyframeOperation: operation, 2066 keyframes: sorted.map(compileKeyframe), 2067 enabled: trackDef.enabled !== false 2068 })); 2069 } 2070 return new AnimationPreset({ nodeId, keyframeTracks }); 2071 } 2072 2073
2073// ../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/share/motion/src/presets/source/new.ts 2074 function preset({ duration, easing, node }) { 2075 return [ 2076 animate(node, { 2077 opacity: tween({ 2078 mode: "scale", 2079 duration, 2080 from: 0, 2081 to: 1, 2082 easing 2083 }) 2084 }) 2085 ]; 2086 } 2087 defineProperties(preset, { 2088 duration: { 2089 label: "Duration", 2090 type: "number", 2091 defaultValue: 0.5, 2092 control: "input", 2093 min: 0.01, 2094 unit: "s" 2095 }, 2096 easing: { 2097 label: "Easing", 2098 type: "easing", 2099 defaultValue: { 2100 easingType: EasingType.OUT_CUBIC 2101 } 2102 } 2103 }); 2104 return __toCommonJS(new_exports); 2105})();`});var Jx,qx,Qx=Qt(()=>{Jx=`// Source-of-truth for the OPACITY first-party animation preset. 2106// 2107// The build-time preset-bundle codegen (see \`../scripts/generate_preset_bundles.ts\`) 2108// reads this file's raw text, esbuilds it into an IIFE with \`figma:motion\` 2109// resolved, and emits both strings into \`../generated/opacity.generated.ts\`. 2110// The generated module is what runtime code consumes \u2014 never import this file 2111// directly from production code paths. 2112// 2113// This file is excluded from the share/motion \`ts_project\` compilation \u2014 it's 2114// only an input to the codegen tool, evaluated inside the QuickJS / iframe 2115// sandbox at runtime. 2116 2117import { animate, defineProperties, tween } from 'figma:motion' 2118 2119import type { PresetArgs, PresetTrackDefinitions } from './preset_types' 2120 2121export default function preset({ 2122 type, 2123 amount, 2124 startFrame, 2125 endFrame, 2126 duration, 2127 easing, 2128 node, 2129}: PresetArgs) { 2130 const safeAmount = typeof amount === 'number' ? amount : 0 2131 const safeStartFrame = typeof startFrame === 'number' ? startFrame : 0 2132 const safeEndFrame = typeof endFrame === 'number' ? endFrame : 100 2133 const definition: PresetTrackDefinitions = {} 2134 let opacityFrom: number 2135 let opacityTo: number 2136 2137 switch (type) { 2138 case 'fadeOut': 2139 opacityFrom = 1 2140 opacityTo = safeAmount / 100 2141 break 2142 case 'custom': 2143 opacityFrom = safeStartFrame / 100 2144 opacityTo = safeEndFrame / 100 2145 break 2146 case 'fadeIn': 2147 default: 2148 opacityFrom = safeAmount / 100 2149 opacityTo = 1 2150 break 2151 } 2152 2153 // The runtime adds \`timelineOffset\` back in when placing keyframes on the parent timeline (\`keyframe_conversion.ts\`). 2154 // Do NOT add \`delay\` to \`timelinePosition\` below \u2014 that would double-count. 2155 definition.opacity = tween({ 2156 mode: 'scale', 2157 timelinePosition: 0, 2158 duration, 2159 from: opacityFrom, 2160 to: opacityTo, 2161 easing, 2162 }) 2163 2164 return [animate(node, definition)] 2165} 2166 2167defineProperties(preset, { 2168 type: { 2169 label: 'motion.preset_flyout.type', 2170 type: 'string', 2171 defaultValue: 'fadeIn', 2172 control: 'select', 2173 options: [ 2174 { value: 'fadeIn', label: 'motion.preset_flyout.opacity.type.fade_in' }, 2175 { value: 'fadeOut', label: 'motion.preset_flyout.opacity.type.fade_out' }, 2176 { value: 'custom', label: 'motion.preset_flyout.type.custom' }, 2177 ], 2178 }, 2179 amount: { 2180 label: 'motion.preset_flyout.amount', 2181 type: 'number', 2182 control: 'input', 2183 defaultValue: 0, 2184 unit: '%', 2185 icon: 'opacity', 2186 }, 2187 // TODO(showDividerAbove-cleanup): the \`showDividerAbove\` flags in this file 2188 // are redundant \u2014 section dividers are now applied client-side in the preset 2189 // flyout via \`forceShowDividerAboveTransform\` 2190 startFrame: { 2191 label: 'motion.preset_flyout.start', 2192 type: 'number', 2193 control: 'input', 2194 defaultValue: 0, 2195 unit: '%', 2196 showDividerAbove: true, 2197 icon: 'opacity', 2198 }, 2199 endFrame: { 2200 label: 'motion.preset_flyout.end', 2201 type: 'number', 2202 control: 'input', 2203 defaultValue: 100, 2204 unit: '%', 2205 icon: 'opacity', 2206 }, 2207 // Note: 'delay' is kept in sync with a preset's \`timelineOffset\` 2208 delay: { 2209 label: 'motion.preset_flyout.delay', 2210 type: 'number', 2211 control: 'input', 2212 defaultValue: 0, 2213 unit: 's', 2214 showDividerAbove: true, 2215 icon: 'delay', 2216 }, 2217 duration: { 2218 label: 'motion.preset_flyout.duration', 2219 type: 'number', 2220 control: 'input', 2221 defaultValue: 0.5, 2222 unit: 's', 2223 icon: 'time', 2224 }, 2225 easing: { 2226 label: 'motion.preset_flyout.easing', 2227 type: 'easing', 2228 defaultValue: 'outCubic', 2229 }, 2230}) 2231`,qx=`var __presetBundle = (() => { 2232 var __defProp = Object.defineProperty; 2233 var __getOwnPropDesc = Object.getOwnPropertyDescriptor; 2234 var __getOwnPropNames = Object.getOwnPropertyNames; 2235 var __hasOwnProp = Object.prototype.hasOwnProperty; 2236 var __export = (target, all) => { 2237 for (var name in all) 2238 __defProp(target, name, { get: all[name], enumerable: true }); 2239 }; 2240 var __copyProps = (to, from, except, desc) => { 2241 if (from && typeof from === "object" || typeof from === "function") { 2242 for (let key of __getOwnPropNames(from)) 2243 if (!__hasOwnProp.call(to, key) && key !== except) 2244 __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); 2245 } 2246 return to; 2247 }; 2248 var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); 2249 2250
2250// ../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/share/motion/src/presets/source/opacity.ts 2251 var opacity_exports = {}; 2252 __export(opacity_exports, { 2253 default: () => preset 2254 }); 2255 2256 // figma-motion:figma:motion 2257 function defineProperties(component, spec) { 2258 Object.assign(component, { 2259 [/* @__PURE__ */ Symbol.for("figma.react.props")]: spec 2260 }); 2261 } 2262 var EasingType = { 2263 IN_CUBIC: 0, 2264 inCubic: 0, 2265 OUT_CUBIC: 1, 2266 outCubic: 1, 2267 INOUT_CUBIC: 2, 2268 inOutCubic: 2, 2269 LINEAR: 3, 2270 linear: 3, 2271 IN_BACK_CUBIC: 4, 2272 inBackCubic: 4, 2273 OUT_BACK_CUBIC: 5, 2274 outBackCubic: 5, 2275 INOUT_BACK_CUBIC: 6, 2276 inOutBackCubic: 6, 2277 CUSTOM_CUBIC: 7, 2278 customCubic: 7, 2279 SPRING: 8, 2280 spring: 8, 2281 GENTLE_SPRING: 9, 2282 gentleSpring: 9, 2283 CUSTOM_SPRING: 10, 2284 customSpring: 10, 2285 SPRING_PRESET_ONE: 11, 2286 springPresetOne: 11, 2287 SPRING_PRESET_TWO: 12, 2288 springPresetTwo: 12, 2289 SPRING_PRESET_THREE: 13, 2290 springPresetThree: 13, 2291 // For backwards compat 2292 bezier: 100, 2293 BEZIER: 100 2294 }; 2295 var InterpolationType = { 2296 HOLD: 0, 2297 hold: 0, 2298 BEZIER: 1, 2299 bezier: 1 2300 }; 2301 var KeyframeOperation = { 2302 SET: 0, 2303 set: 0, 2304 SCALE: 1, 2305 scale: 1, 2306 OFFSET: 2, 2307 offset: 2 2308 }; 2309 var ParameterField = { 2310 MISSING: 0, 2311 missing: 0, 2312 CORNER_RADIUS: 1, 2313 cornerRadius: 1, 2314 PARAGRAPH_SPACING: 2, 2315 paragraphSpacing: 2, 2316 PARAGRAPH_INDENT: 3, 2317 paragraphIndent: 3, 2318 STROKE_WEIGHT: 4, 2319 strokeWeight: 4, 2320 STACK_SPACING: 5, 2321 stackSpacing: 5, 2322 STACK_PADDING_LEFT: 6, 2323 stackPaddingLeft: 6, 2324 STACK_PADDING_TOP: 7, 2325 stackPaddingTop: 7, 2326 STACK_PADDING_RIGHT: 8, 2327 stackPaddingRight: 8, 2328 STACK_PADDING_BOTTOM: 9, 2329 stackPaddingBottom: 9, 2330 VISIBLE: 10, 2331 visible: 10, 2332 TEXT_DATA: 11, 2333 textData: 11, 2334 WIDTH: 12, 2335 width: 12, 2336 HEIGHT: 13, 2337 height: 13, 2338 RECTANGLE_TOP_LEFT_CORNER_RADIUS: 14, 2339 rectangleTopLeftCornerRadius: 14, 2340 RECTANGLE_TOP_RIGHT_CORNER_RADIUS: 15, 2341 rectangleTopRightCornerRadius: 15, 2342 RECTANGLE_BOTTOM_LEFT_CORNER_RADIUS: 16, 2343 rectangleBottomLeftCornerRadius: 16, 2344 RECTANGLE_BOTTOM_RIGHT_CORNER_RADIUS: 17, 2345 rectangleBottomRightCornerRadius: 17, 2346 BORDER_TOP_WEIGHT: 18, 2347 borderTopWeight: 18, 2348 BORDER_BOTTOM_WEIGHT: 19, 2349 borderBottomWeight: 19, 2350 BORDER_LEFT_WEIGHT: 20, 2351 borderLeftWeight: 20, 2352 BORDER_RIGHT_WEIGHT: 21, 2353 borderRightWeight: 21, 2354 VARIANT_PROPERTIES: 22, 2355 variantProperties: 22, 2356 STACK_COUNTER_SPACING: 23, 2357 stackCounterSpacing: 23, 2358 MIN_WIDTH: 24, 2359 minWidth: 24, 2360 MAX_WIDTH: 25, 2361 maxWidth: 25, 2362 MIN_HEIGHT: 26, 2363 minHeight: 26, 2364 MAX_HEIGHT: 27, 2365 maxHeight: 27, 2366 FONT_FAMILY: 28, 2367 fontFamily: 28, 2368 FONT_STYLE: 29, 2369 fontStyle: 29, 2370 FONT_VARIATIONS: 30, 2371 fontVariations: 30, 2372 OPACITY: 31, 2373 opacity: 31, 2374 FONT_SIZE: 32, 2375 fontSize: 32, 2376 LETTER_SPACING: 34, 2377 letterSpacing: 34, 2378 LINE_HEIGHT: 36, 2379 lineHeight: 36, 2380 OVERRIDDEN_SYMBOL_ID: 37, 2381 overriddenSymbolId: 37, 2382 CMS_SERIALIZED_RICH_TEXT_DATA: 38, 2383 cmsSerializedRichTextData: 38, 2384 HYPERLINK: 39, 2385 hyperlink: 39, 2386 SLOT_CONTENT_ID: 40, 2387 slotContentId: 40, 2388 GRID_ROW_GAP: 41, 2389 gridRowGap: 41, 2390 GRID_COLUMN_GAP: 42, 2391 gridColumnGap: 42, 2392 RELATIVE_X_POSITION: 43, 2393 xPosition: 43, 2394 RELATIVE_Y_POSITION: 44, 2395 relativeYPosition: 44, 2396 RELATIVE_ROTATION: 45, 2397 relativeRotation: 45, 2398 MOTION_TRANSLATION_X: 46, 2399 motionTranslationX: 46, 2400 MOTION_TRANSLATION_Y: 47, 2401 motionTranslationY: 47, 2402 MOTION_ROTATION: 48, 2403 motionRotation: 48, 2404 MOTION_SCALE_X: 49, 2405 motionScaleX: 49, 2406 MOTION_SCALE_Y: 50, 2407 motionScaleY: 50, 2408 MOTION_SHEAR: 51, 2409 motionShear: 51, 2410 SCROLL_OFFSET_X: 52, 2411 scrollOffsetX: 52, 2412 SCROLL_OFFSET_Y: 53, 2413 scrollOffsetY: 53, 2414 PATH_TRIM_START: 54, 2415 pathTrimStart: 54, 2416 PATH_TRIM_END: 55, 2417 pathTrimEnd: 55, 2418 DISSOLVE_PROGRESS: 56, 2419 dissolveProgress: 56 2420 }; 2421 var Keyframe = class { 2422 constructor(data) { 2423 this.timelinePosition = Math.round(data.timelinePosition); 2424 this.easing = data.easing; 2425 this.value = data.value; 2426 } 2427 }; 2428 var KeyframeTrack = class { 2429 constructor(data) { 2430 this.topLevelField = data.topLevelField; 2431 this.parameterField = data.parameterField; 2432 this.index = data.index; 2433 this.effectParametrizedField = data.effectParametrizedField; 2434 this.keyframeOperation = data.keyframeOperation; 2435 this.keyframes = data.keyframes; 2436 this.enabled = !!data.enabled; 2437 } 2438 }; 2439 var AnimationPreset = class { 2440 constructor(data) { 2441 this.nodeId = data.nodeId; 2442 this.keyframeTracks = data.keyframeTracks; 2443 } 2444 }; 2445 var PARAMETER_FIELD_ALIAS_MAP = { 2446 translateX: ParameterField.MOTION_TRANSLATION_X, 2447 translateY: ParameterField.MOTION_TRANSLATION_Y, 2448 rotate: ParameterField.MOTION_ROTATION, 2449 scaleX: ParameterField.MOTION_SCALE_X, 2450 scaleY: ParameterField.MOTION_SCALE_Y, 2451 shear: ParameterField.MOTION_SHEAR 2452 }; 2453 var KEYFRAMEABLE_FIELDS = /* @__PURE__ */ new Set([ 2454 "translateX", 2455 "translateY", 2456 "rotate", 2457 "scaleX", 2458 "scaleY", 2459 "shear", 2460 "cornerRadius", 2461 "strokeWeight", 2462 "rectangleTopLeftCornerRadius", 2463 "rectangleTopRightCornerRadius", 2464 "rectangleBottomLeftCornerRadius", 2465 "rectangleBottomRightCornerRadius", 2466 "stackSpacing", 2467 "stackPaddingLeft", 2468 "stackPaddingTop", 2469 "stackPaddingRight", 2470 "stackPaddingBottom", 2471 "width", 2472 "height", 2473 "borderTopWeight", 2474 "borderBottomWeight", 2475 "borderLeftWeight", 2476 "borderRightWeight", 2477 "stackCounterSpacing", 2478 "minWidth", 2479 "maxWidth", 2480 "minHeight", 2481 "maxHeight", 2482 "opacity", 2483 "gridRowGap", 2484 "gridColumnGap", 2485 "textData", 2486 "pathTrimStart", 2487 "pathTrimEnd" 2488 ]); 2489 var MODE_TO_OPERATION = { 2490 set: KeyframeOperation.SET, 2491 SET: KeyframeOperation.SET, 2492 offset: KeyframeOperation.OFFSET, 2493 OFFSET: KeyframeOperation.OFFSET, 2494 scale: KeyframeOperation.SCALE, 2495 SCALE: KeyframeOperation.SCALE 2496 }; 2497 function normalizeEasing(easing) { 2498 if (easing === void 0) return void 0; 2499 if (easing === "hold") return { interpolationType: InterpolationType.HOLD }; 2500 if (typeof easing === "string") { 2501 const easingType = EasingType[easing]; 2502 if (easingType === void 0) throw new Error('normalizeEasing: unknown easing "' + easing + '"'); 2503 return { easingType }; 2504 } 2505 return easing; 2506 } 2507 function compileKeyframe({ timelinePosition, value, easing }) { 2508 return new Keyframe({ 2509 timelinePosition: timelinePosition * 1e6, 2510 easing: normalizeEasing(easing), 2511 value 2512 }); 2513 } 2514 function tween({ mode, timelinePosition = 0, duration, from, to, easing, enabled = true }) { 2515 if (duration < 0) throw new Error("tween: duration must be non-negative"); 2516 return { 2517 mode, 2518 enabled, 2519 keyframes: [ 2520 { timelinePosition, value: from, easing }, 2521 { timelinePosition: timelinePosition + duration, value: to, easing } 2522 ] 2523 }; 2524 } 2525 function animate(node, definition) { 2526 const nodeId = typeof node === "string" ? node : node.id;
2527 const keyframeTracks = []; 2528 for (const [key, trackDef] of Object.entries(definition)) { 2529 if (!KEYFRAMEABLE_FIELDS.has(key)) { 2530 throw new Error('animate: unknown or non-keyframeable property "' + key + '"'); 2531 } 2532 const parameterField = PARAMETER_FIELD_ALIAS_MAP[key] ?? ParameterField[key]; 2533 const operation = MODE_TO_OPERATION[trackDef.mode]; 2534 if (operation === void 0) throw new Error('animate: unknown mode "' + trackDef.mode + '"'); 2535 const seen = /* @__PURE__ */ new Map(); 2536 for (const kf of trackDef.keyframes) seen.set(kf.timelinePosition, kf); 2537 const sorted = [...seen.values()].sort((a, b) => a.timelinePosition - b.timelinePosition); 2538 keyframeTracks.push(new KeyframeTrack({ 2539 parameterField, 2540 keyframeOperation: operation, 2541 keyframes: sorted.map(compileKeyframe), 2542 enabled: trackDef.enabled !== false 2543 })); 2544 } 2545 return new AnimationPreset({ nodeId, keyframeTracks }); 2546 } 2547 2548
2548// ../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/share/motion/src/presets/source/opacity.ts 2549 function preset({ 2550 type, 2551 amount, 2552 startFrame, 2553 endFrame, 2554 duration, 2555 easing, 2556 node 2557 }) { 2558 const safeAmount = typeof amount === "number" ? amount : 0; 2559 const safeStartFrame = typeof startFrame === "number" ? startFrame : 0; 2560 const safeEndFrame = typeof endFrame === "number" ? endFrame : 100; 2561 const definition = {}; 2562 let opacityFrom; 2563 let opacityTo; 2564 switch (type) { 2565 case "fadeOut": 2566 opacityFrom = 1; 2567 opacityTo = safeAmount / 100; 2568 break; 2569 case "custom": 2570 opacityFrom = safeStartFrame / 100; 2571 opacityTo = safeEndFrame / 100; 2572 break; 2573 case "fadeIn": 2574 default: 2575 opacityFrom = safeAmount / 100; 2576 opacityTo = 1; 2577 break; 2578 } 2579 definition.opacity = tween({ 2580 mode: "scale", 2581 timelinePosition: 0, 2582 duration, 2583 from: opacityFrom, 2584 to: opacityTo, 2585 easing 2586 }); 2587 return [animate(node, definition)]; 2588 } 2589 defineProperties(preset, { 2590 type: { 2591 label: "motion.preset_flyout.type", 2592 type: "string", 2593 defaultValue: "fadeIn", 2594 control: "select", 2595 options: [ 2596 { value: "fadeIn", label: "motion.preset_flyout.opacity.type.fade_in" }, 2597 { value: "fadeOut", label: "motion.preset_flyout.opacity.type.fade_out" }, 2598 { value: "custom", label: "motion.preset_flyout.type.custom" } 2599 ] 2600 }, 2601 amount: { 2602 label: "motion.preset_flyout.amount", 2603 type: "number", 2604 control: "input", 2605 defaultValue: 0, 2606 unit: "%", 2607 icon: "opacity" 2608 }, 2609 // TODO(showDividerAbove-cleanup): the \`showDividerAbove\` flags in this file 2610 // are redundant \u2014 section dividers are now applied client-side in the preset 2611 // flyout via \`forceShowDividerAboveTransform\` 2612 startFrame: { 2613 label: "motion.preset_flyout.start", 2614 type: "number", 2615 control: "input", 2616 defaultValue: 0, 2617 unit: "%", 2618 showDividerAbove: true, 2619 icon: "opacity" 2620 }, 2621 endFrame: { 2622 label: "motion.preset_flyout.end", 2623 type: "number", 2624 control: "input", 2625 defaultValue: 100, 2626 unit: "%", 2627 icon: "opacity" 2628 }, 2629 // Note: 'delay' is kept in sync with a preset's \`timelineOffset\` 2630 delay: { 2631 label: "motion.preset_flyout.delay", 2632 type: "number", 2633 control: "input", 2634 defaultValue: 0, 2635 unit: "s", 2636 showDividerAbove: true, 2637 icon: "delay" 2638 }, 2639 duration: { 2640 label: "motion.preset_flyout.duration", 2641 type: "number", 2642 control: "input", 2643 defaultValue: 0.5, 2644 unit: "s", 2645 icon: "time" 2646 }, 2647 easing: { 2648 label: "motion.preset_flyout.easing", 2649 type: "easing", 2650 defaultValue: "outCubic" 2651 } 2652 }); 2653 return __toCommonJS(opacity_exports); 2654})();`});var e0,t0,n0=Qt(()=>{e0=`// Source-of-truth for the PATH first-party animation preset. 2655// 2656// Unifies Path Draw, Path Travel, and a Custom mode that drives \`pathTrimStart\` 2657// and \`pathTrimEnd\` directly. The build-time preset-bundle codegen (see 2658// \`../scripts/generate_preset_bundles.ts\`) reads this file's raw text, esbuilds 2659// it into an IIFE with \`figma:motion\` resolved, and emits both strings into 2660// \`../generated/path.generated.ts\`. The generated module is what runtime code 2661// consumes \u2014 never import this file directly from production code paths. 2662// 2663// This file is excluded from the share/motion \`ts_project\` compilation \u2014 it's 2664// only an input to the codegen tool, evaluated inside the QuickJS / iframe 2665// sandbox at runtime. 2666 2667import { animate, defineProperties, EasingType, tween } from 'figma:motion' 2668 2669import type { PresetArgs } from './preset_types' 2670 2671const TYPE_DRAW = 'draw' 2672const TYPE_ERASE = 'erase' 2673const TYPE_TRAVEL = 'travel' 2674 2675const DIRECTION_FORWARD = 'forward' 2676 2677const AXIS_PATH_TRIM_START = 'pathTrimStart' 2678const AXIS_PATH_TRIM_END = 'pathTrimEnd' 2679const AXIS_COMBINED = 'combined' 2680 2681// Convert the percent values surfaced in the panel (0..100) to the 0..1 2682// fractional range that \`pathTrimStart\` / \`pathTrimEnd\` expect. 2683function percentToDecimal(value: number): number { 2684 return value / 100 2685} 2686 2687export default function preset({ 2688 type, 2689 direction, 2690 segment, 2691 axis, 2692 pathStartStartFrame, 2693 pathStartEndWithoutDivider, 2694 pathEndStartWithDivider, 2695 pathEndEndFrame, 2696 pathEndStartWithoutDivider, 2697 pathStartEndWithDivider, 2698 duration, 2699 easing, 2700 target, 2701}: PresetArgs) { 2702 const isForward = direction === DIRECTION_FORWARD 2703 2704 // Always materialize BOTH the pathTrimStart and pathTrimEnd tracks so their KEYFRAME_TRACK 2705 // GUIDs survive \`type\` / \`axis\` toggles. This works arounds a DS components/instances bug related to the conditional rendering of keyframe tracks. 2706 let startFrom: number 2707 let startTo: number 2708 let endFrom: number 2709 let endTo: number 2710 let startEnabled = true 2711 let endEnabled = true 2712 2713 if (type === TYPE_DRAW || type === TYPE_ERASE) { 2714 const isDraw = type === TYPE_DRAW 2715 if (isDraw && isForward) { 2716 startFrom = 0 2717 startTo = 0 2718 endFrom = 0 2719 endTo = 1 2720 } else if (isDraw && !isForward) { 2721 startFrom = 1 2722 startTo = 0 2723 endFrom = 1 2724 endTo = 1 2725 } else if (!isDraw && isForward) { 2726 startFrom = 0 2727 startTo = 1 2728 endFrom = 1 2729 endTo = 1 2730 } else { 2731 startFrom = 0 2732 startTo = 0 2733 endFrom = 1 2734 endTo = 0 2735 } 2736 } else if (type === TYPE_TRAVEL) { 2737 // A fixed-length segment travels along the path and comes to rest at the end. The trim 2738 // values stay within [0, 1] (the segment never runs past either end) so the path doesn't 2739 // wrap / loop the segment back around to the start. 2740 // forward: segment moves [0, seg] \u2192 [1 - seg, 1] 2741 // reverse: segment moves [1 - seg, 1] \u2192 [0, seg] 2742 const segmentFraction = percentToDecimal(segment) 2743 startFrom = isForward ? 0 : 1 - segmentFraction 2744 startTo = isForward ? 1 - segmentFraction : 0 2745 endFrom = isForward ? segmentFraction : 1 2746 endTo = isForward ? 1 : segmentFraction 2747 } else { 2748 // type === 'custom' \u2014 \`axis\` toggles which trim(s) are enabled; all custom modes share 2749 // \`duration\` / \`easing\`. Combined groups both Starts then both Ends in the panel, so it 2750 // reads the combined-only variants for the inner pair (trimStart's End, trimEnd's Start). 2751 startEnabled = axis === AXIS_PATH_TRIM_START || axis === AXIS_COMBINED 2752 endEnabled = axis === AXIS_PATH_TRIM_END || axis === AXIS_COMBINED 2753 if (axis === AXIS_COMBINED) { 2754 const sFrom = percentToDecimal(pathStartStartFrame) 2755 const sTo = percentToDecimal(pathStartEndWithDivider) 2756 const eFrom = percentToDecimal(pathEndStartWithoutDivider) 2757 const eTo = percentToDecimal(pathEndEndFrame) 2758 startFrom = isForward ? sFrom : sTo 2759 startTo = isForward ? sTo : sFrom 2760 endFrom = isForward ? eFrom : eTo 2761 endTo = isForward ? eTo : eFrom 2762 } else { 2763 const sFrom = percentToDecimal(pathStartStartFrame) 2764 const sTo = percentToDecimal(pathStartEndWithoutDivider) 2765 const eFrom = percentToDecimal(pathEndStartWithDivider) 2766 const eTo = percentToDecimal(pathEndEndFrame) 2767 startFrom = isForward ? sFrom : sTo 2768 startTo = isForward ? sTo : sFrom 2769 endFrom = isForward ? eFrom : eTo 2770 endTo = isForward ? eTo : eFrom 2771 } 2772 } 2773 2774 return [ 2775 animate(target, { 2776 pathTrimStart: tween({
2777 mode: 'set', 2778 duration, 2779 from: startFrom, 2780 to: startTo, 2781 easing, 2782 enabled: startEnabled, 2783 }), 2784 pathTrimEnd: tween({ 2785 mode: 'set', 2786 duration, 2787 from: endFrom, 2788 to: endTo, 2789 easing, 2790 enabled: endEnabled, 2791 }), 2792 }), 2793 ] 2794} 2795 2796// KEEP_IN_SYNC(share/motion/src/presets/path_meta.ts) 2797defineProperties(preset, { 2798 type: { 2799 label: 'motion.preset_flyout.type', 2800 type: 'string', 2801 defaultValue: 'draw', 2802 control: 'select', 2803 options: [ 2804 { value: 'draw', label: 'motion.preset_flyout.path.type.draw' }, 2805 { value: 'erase', label: 'motion.preset_flyout.path.type.erase' }, 2806 { value: 'travel', label: 'motion.preset_flyout.path.type.travel' }, 2807 { value: 'custom', label: 'motion.preset_flyout.type.custom' }, 2808 ], 2809 }, 2810 direction: { 2811 label: 'motion.preset_flyout.direction', 2812 type: 'string', 2813 defaultValue: 'forward', 2814 control: 'select', 2815 options: [ 2816 { value: 'forward', label: 'motion.preset_flyout.path.direction.forward' }, 2817 { value: 'reverse', label: 'motion.preset_flyout.path.direction.reverse' }, 2818 ], 2819 }, 2820 axis: { 2821 label: 'motion.preset_flyout.path.trim', 2822 type: 'string', 2823 defaultValue: 'pathTrimStart', 2824 control: 'select', 2825 options: [ 2826 { value: 'pathTrimStart', label: 'motion.preset_flyout.path.axis.path_trim_start' }, 2827 { value: 'pathTrimEnd', label: 'motion.preset_flyout.path.axis.path_trim_end' }, 2828 { value: 'combined', label: 'motion.preset_flyout.path.axis.combined' }, 2829 ], 2830 }, 2831 segment: { 2832 label: 'motion.preset_flyout.path.segment', 2833 type: 'number', 2834 defaultValue: 10, 2835 control: 'input', 2836 min: 0, 2837 max: 100, 2838 unit: '%', 2839 }, 2840 // Frame order drives the panel layout. Single-axis (pathTrimStart / pathTrimEnd) groups 2841 // its own Start + End. Combined groups both Starts then both Ends, so its inner pair uses 2842 // dedicated *Combined variants laid out between the single-axis Start/End rows and only 2843 // shown for Combined. 2844 // TODO(showDividerAbove-cleanup): the \`showDividerAbove\` flags in this file 2845 // are redundant \u2014 section dividers are now applied client-side in the preset 2846 // flyout via \`forceShowDividerAboveTransform\` 2847 pathStartStartFrame: { 2848 label: 'motion.preset_flyout.start_frame', 2849 type: 'number', 2850 defaultValue: 100, 2851 control: 'input', 2852 unit: '%', 2853 showDividerAbove: true, 2854 icon: 'path_trim_start', 2855 }, 2856 pathStartEndWithoutDivider: { 2857 label: 'motion.preset_flyout.end_frame', 2858 type: 'number', 2859 defaultValue: 0, 2860 control: 'input', 2861 unit: '%', 2862 icon: 'path_trim_start', 2863 }, 2864 // Combined-only: trimEnd's Start (2nd Start, grouped under the Starts divider) and 2865 // trimStart's End (1st End, opens the Ends group with its own divider). 2866 pathEndStartWithoutDivider: { 2867 label: 'motion.preset_flyout.start_frame', 2868 type: 'number', 2869 defaultValue: 20, 2870 control: 'input', 2871 unit: '%', 2872 icon: 'path_trim_end', 2873 }, 2874 pathStartEndWithDivider: { 2875 label: 'motion.preset_flyout.end_frame', 2876 type: 'number', 2877 defaultValue: 80, 2878 control: 'input', 2879 unit: '%', 2880 showDividerAbove: true, 2881 icon: 'path_trim_start', 2882 }, 2883 pathEndStartWithDivider: { 2884 label: 'motion.preset_flyout.start_frame', 2885 type: 'number', 2886 defaultValue: 0, 2887 control: 'input', 2888 unit: '%', 2889 showDividerAbove: true, 2890 icon: 'path_trim_end', 2891 }, 2892 pathEndEndFrame: { 2893 label: 'motion.preset_flyout.end_frame', 2894 type: 'number', 2895 defaultValue: 100, 2896 control: 'input', 2897 unit: '%', 2898 icon: 'path_trim_end', 2899 }, 2900 // Note: 'delay' is kept in sync with a preset's \`timelineOffset\`. 2901 delay: { 2902 label: 'motion.preset_flyout.delay', 2903 type: 'number', 2904 defaultValue: 0, 2905 control: 'input', 2906 unit: 's', 2907 showDividerAbove: true, 2908 icon: 'delay', 2909 }, 2910 duration: { 2911 label: 'motion.preset_flyout.duration', 2912 type: 'number', 2913 defaultValue: 0.5, 2914 control: 'input', 2915 min: 0.01, 2916 unit: 's', 2917 icon: 'time', 2918 }, 2919 easing: { 2920 label: 'motion.preset_flyout.easing', 2921 type: 'easing', 2922 defaultValue: { easingType: EasingType.OUT_CUBIC }, 2923 }, 2924}) 2925`,t0=`var __presetBundle = (() => { 2926 var __defProp = Object.defineProperty; 2927 var __getOwnPropDesc = Object.getOwnPropertyDescriptor; 2928 var __getOwnPropNames = Object.getOwnPropertyNames; 2929 var __hasOwnProp = Object.prototype.hasOwnProperty; 2930 var __export = (target, all) => { 2931 for (var name in all) 2932 __defProp(target, name, { get: all[name], enumerable: true }); 2933 }; 2934 var __copyProps = (to, from, except, desc) => { 2935 if (from && typeof from === "object" || typeof from === "function") { 2936 for (let key of __getOwnPropNames(from)) 2937 if (!__hasOwnProp.call(to, key) && key !== except) 2938 __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); 2939 } 2940 return to; 2941 }; 2942 var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); 2943 2944
2944// ../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/share/motion/src/presets/source/path.ts 2945 var path_exports = {}; 2946 __export(path_exports, { 2947 default: () => preset 2948 }); 2949 2950 // figma-motion:figma:motion 2951 function defineProperties(component, spec) { 2952 Object.assign(component, { 2953 [/* @__PURE__ */ Symbol.for("figma.react.props")]: spec 2954 }); 2955 } 2956 var EasingType = { 2957 IN_CUBIC: 0, 2958 inCubic: 0, 2959 OUT_CUBIC: 1, 2960 outCubic: 1, 2961 INOUT_CUBIC: 2, 2962 inOutCubic: 2, 2963 LINEAR: 3, 2964 linear: 3, 2965 IN_BACK_CUBIC: 4, 2966 inBackCubic: 4, 2967 OUT_BACK_CUBIC: 5, 2968 outBackCubic: 5, 2969 INOUT_BACK_CUBIC: 6, 2970 inOutBackCubic: 6, 2971 CUSTOM_CUBIC: 7, 2972 customCubic: 7, 2973 SPRING: 8, 2974 spring: 8, 2975 GENTLE_SPRING: 9, 2976 gentleSpring: 9, 2977 CUSTOM_SPRING: 10, 2978 customSpring: 10, 2979 SPRING_PRESET_ONE: 11, 2980 springPresetOne: 11, 2981 SPRING_PRESET_TWO: 12, 2982 springPresetTwo: 12, 2983 SPRING_PRESET_THREE: 13, 2984 springPresetThree: 13, 2985 // For backwards compat 2986 bezier: 100, 2987 BEZIER: 100 2988 }; 2989 var InterpolationType = { 2990 HOLD: 0, 2991 hold: 0, 2992 BEZIER: 1, 2993 bezier: 1 2994 }; 2995 var KeyframeOperation = { 2996 SET: 0, 2997 set: 0, 2998 SCALE: 1, 2999 scale: 1, 3000 OFFSET: 2, 3001 offset: 2 3002 }; 3003 var ParameterField = { 3004 MISSING: 0, 3005 missing: 0, 3006 CORNER_RADIUS: 1, 3007 cornerRadius: 1, 3008 PARAGRAPH_SPACING: 2, 3009 paragraphSpacing: 2, 3010 PARAGRAPH_INDENT: 3, 3011 paragraphIndent: 3, 3012 STROKE_WEIGHT: 4, 3013 strokeWeight: 4, 3014 STACK_SPACING: 5, 3015 stackSpacing: 5, 3016 STACK_PADDING_LEFT: 6, 3017 stackPaddingLeft: 6, 3018 STACK_PADDING_TOP: 7, 3019 stackPaddingTop: 7, 3020 STACK_PADDING_RIGHT: 8, 3021 stackPaddingRight: 8, 3022 STACK_PADDING_BOTTOM: 9, 3023 stackPaddingBottom: 9, 3024 VISIBLE: 10, 3025 visible: 10, 3026 TEXT_DATA: 11, 3027 textData: 11, 3028 WIDTH: 12, 3029 width: 12, 3030 HEIGHT: 13, 3031 height: 13, 3032 RECTANGLE_TOP_LEFT_CORNER_RADIUS: 14, 3033 rectangleTopLeftCornerRadius: 14, 3034 RECTANGLE_TOP_RIGHT_CORNER_RADIUS: 15, 3035 rectangleTopRightCornerRadius: 15, 3036 RECTANGLE_BOTTOM_LEFT_CORNER_RADIUS: 16, 3037 rectangleBottomLeftCornerRadius: 16, 3038 RECTANGLE_BOTTOM_RIGHT_CORNER_RADIUS: 17, 3039 rectangleBottomRightCornerRadius: 17, 3040 BORDER_TOP_WEIGHT: 18, 3041 borderTopWeight: 18, 3042 BORDER_BOTTOM_WEIGHT: 19, 3043 borderBottomWeight: 19, 3044 BORDER_LEFT_WEIGHT: 20, 3045 borderLeftWeight: 20, 3046 BORDER_RIGHT_WEIGHT: 21, 3047 borderRightWeight: 21, 3048 VARIANT_PROPERTIES: 22, 3049 variantProperties: 22, 3050 STACK_COUNTER_SPACING: 23, 3051 stackCounterSpacing: 23, 3052 MIN_WIDTH: 24, 3053 minWidth: 24, 3054 MAX_WIDTH: 25, 3055 maxWidth: 25, 3056 MIN_HEIGHT: 26, 3057 minHeight: 26, 3058 MAX_HEIGHT: 27, 3059 maxHeight: 27, 3060 FONT_FAMILY: 28, 3061 fontFamily: 28, 3062 FONT_STYLE: 29, 3063 fontStyle: 29, 3064 FONT_VARIATIONS: 30, 3065 fontVariations: 30, 3066 OPACITY: 31, 3067 opacity: 31, 3068 FONT_SIZE: 32, 3069 fontSize: 32, 3070 LETTER_SPACING: 34, 3071 letterSpacing: 34, 3072 LINE_HEIGHT: 36, 3073 lineHeight: 36, 3074 OVERRIDDEN_SYMBOL_ID: 37, 3075 overriddenSymbolId: 37, 3076 CMS_SERIALIZED_RICH_TEXT_DATA: 38, 3077 cmsSerializedRichTextData: 38, 3078 HYPERLINK: 39, 3079 hyperlink: 39, 3080 SLOT_CONTENT_ID: 40, 3081 slotContentId: 40, 3082 GRID_ROW_GAP: 41, 3083 gridRowGap: 41, 3084 GRID_COLUMN_GAP: 42, 3085 gridColumnGap: 42, 3086 RELATIVE_X_POSITION: 43, 3087 xPosition: 43, 3088 RELATIVE_Y_POSITION: 44, 3089 relativeYPosition: 44, 3090 RELATIVE_ROTATION: 45, 3091 relativeRotation: 45, 3092 MOTION_TRANSLATION_X: 46, 3093 motionTranslationX: 46, 3094 MOTION_TRANSLATION_Y: 47, 3095 motionTranslationY: 47, 3096 MOTION_ROTATION: 48, 3097 motionRotation: 48, 3098 MOTION_SCALE_X: 49, 3099 motionScaleX: 49, 3100 MOTION_SCALE_Y: 50, 3101 motionScaleY: 50, 3102 MOTION_SHEAR: 51, 3103 motionShear: 51, 3104 SCROLL_OFFSET_X: 52, 3105 scrollOffsetX: 52, 3106 SCROLL_OFFSET_Y: 53, 3107 scrollOffsetY: 53, 3108 PATH_TRIM_START: 54, 3109 pathTrimStart: 54, 3110 PATH_TRIM_END: 55, 3111 pathTrimEnd: 55, 3112 DISSOLVE_PROGRESS: 56, 3113 dissolveProgress: 56 3114 }; 3115 var Keyframe = class { 3116 constructor(data) { 3117 this.timelinePosition = Math.round(data.timelinePosition); 3118 this.easing = data.easing; 3119 this.value = data.value; 3120 } 3121 }; 3122 var KeyframeTrack = class { 3123 constructor(data) { 3124 this.topLevelField = data.topLevelField; 3125 this.parameterField = data.parameterField; 3126 this.index = data.index; 3127 this.effectParametrizedField = data.effectParametrizedField; 3128 this.keyframeOperation = data.keyframeOperation; 3129 this.keyframes = data.keyframes; 3130 this.enabled = !!data.enabled; 3131 } 3132 }; 3133 var AnimationPreset = class { 3134 constructor(data) { 3135 this.nodeId = data.nodeId; 3136 this.keyframeTracks = data.keyframeTracks; 3137 } 3138 }; 3139 var PARAMETER_FIELD_ALIAS_MAP = { 3140 translateX: ParameterField.MOTION_TRANSLATION_X, 3141 translateY: ParameterField.MOTION_TRANSLATION_Y, 3142 rotate: ParameterField.MOTION_ROTATION, 3143 scaleX: ParameterField.MOTION_SCALE_X, 3144 scaleY: ParameterField.MOTION_SCALE_Y, 3145 shear: ParameterField.MOTION_SHEAR 3146 }; 3147 var KEYFRAMEABLE_FIELDS = /* @__PURE__ */ new Set([ 3148 "translateX", 3149 "translateY", 3150 "rotate", 3151 "scaleX", 3152 "scaleY", 3153 "shear", 3154 "cornerRadius", 3155 "strokeWeight", 3156 "rectangleTopLeftCornerRadius", 3157 "rectangleTopRightCornerRadius", 3158 "rectangleBottomLeftCornerRadius", 3159 "rectangleBottomRightCornerRadius", 3160 "stackSpacing", 3161 "stackPaddingLeft", 3162 "stackPaddingTop", 3163 "stackPaddingRight", 3164 "stackPaddingBottom", 3165 "width", 3166 "height", 3167 "borderTopWeight", 3168 "borderBottomWeight", 3169 "borderLeftWeight", 3170 "borderRightWeight", 3171 "stackCounterSpacing", 3172 "minWidth", 3173 "maxWidth", 3174 "minHeight", 3175 "maxHeight", 3176 "opacity", 3177 "gridRowGap", 3178 "gridColumnGap", 3179 "textData", 3180 "pathTrimStart", 3181 "pathTrimEnd" 3182 ]); 3183 var MODE_TO_OPERATION = { 3184 set: KeyframeOperation.SET, 3185 SET: KeyframeOperation.SET, 3186 offset: KeyframeOperation.OFFSET, 3187 OFFSET: KeyframeOperation.OFFSET, 3188 scale: KeyframeOperation.SCALE, 3189 SCALE: KeyframeOperation.SCALE 3190 }; 3191 function normalizeEasing(easing) { 3192 if (easing === void 0) return void 0; 3193 if (easing === "hold") return { interpolationType: InterpolationType.HOLD }; 3194 if (typeof easing === "string") { 3195 const easingType = EasingType[easing]; 3196 if (easingType === void 0) throw new Error('normalizeEasing: unknown easing "' + easing + '"'); 3197 return { easingType }; 3198 } 3199 return easing; 3200 } 3201 function compileKeyframe({ timelinePosition, value, easing }) { 3202 return new Keyframe({ 3203 timelinePosition: timelinePosition * 1e6, 3204 easing: normalizeEasing(easing), 3205 value 3206 }); 3207 } 3208 function tween({ mode, timelinePosition = 0, duration, from, to, easing, enabled = true }) { 3209 if (duration < 0) throw new Error("tween: duration must be non-negative"); 3210 return { 3211 mode, 3212 enabled, 3213 keyframes: [ 3214 { timelinePosition, value: from, easing }, 3215 { timelinePosition: timelinePosition + duration, value: to, easing } 3216 ] 3217 }; 3218 } 3219 function animate(node, definition) { 3220 const nodeId = typeof node === "string" ? node : node.id;
3221 const keyframeTracks = []; 3222 for (const [key, trackDef] of Object.entries(definition)) { 3223 if (!KEYFRAMEABLE_FIELDS.has(key)) { 3224 throw new Error('animate: unknown or non-keyframeable property "' + key + '"'); 3225 } 3226 const parameterField = PARAMETER_FIELD_ALIAS_MAP[key] ?? ParameterField[key]; 3227 const operation = MODE_TO_OPERATION[trackDef.mode]; 3228 if (operation === void 0) throw new Error('animate: unknown mode "' + trackDef.mode + '"'); 3229 const seen = /* @__PURE__ */ new Map(); 3230 for (const kf of trackDef.keyframes) seen.set(kf.timelinePosition, kf); 3231 const sorted = [...seen.values()].sort((a, b) => a.timelinePosition - b.timelinePosition); 3232 keyframeTracks.push(new KeyframeTrack({ 3233 parameterField, 3234 keyframeOperation: operation, 3235 keyframes: sorted.map(compileKeyframe), 3236 enabled: trackDef.enabled !== false 3237 })); 3238 } 3239 return new AnimationPreset({ nodeId, keyframeTracks }); 3240 } 3241 3242
3242// ../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/share/motion/src/presets/source/path.ts 3243 var TYPE_DRAW = "draw"; 3244 var TYPE_ERASE = "erase"; 3245 var TYPE_TRAVEL = "travel"; 3246 var DIRECTION_FORWARD = "forward"; 3247 var AXIS_PATH_TRIM_START = "pathTrimStart"; 3248 var AXIS_PATH_TRIM_END = "pathTrimEnd"; 3249 var AXIS_COMBINED = "combined"; 3250 function percentToDecimal(value) { 3251 return value / 100; 3252 } 3253 function preset({ 3254 type, 3255 direction, 3256 segment, 3257 axis, 3258 pathStartStartFrame, 3259 pathStartEndWithoutDivider, 3260 pathEndStartWithDivider, 3261 pathEndEndFrame, 3262 pathEndStartWithoutDivider, 3263 pathStartEndWithDivider, 3264 duration, 3265 easing, 3266 target 3267 }) { 3268 const isForward = direction === DIRECTION_FORWARD; 3269 let startFrom; 3270 let startTo; 3271 let endFrom; 3272 let endTo; 3273 let startEnabled = true; 3274 let endEnabled = true; 3275 if (type === TYPE_DRAW || type === TYPE_ERASE) { 3276 const isDraw = type === TYPE_DRAW; 3277 if (isDraw && isForward) { 3278 startFrom = 0; 3279 startTo = 0; 3280 endFrom = 0; 3281 endTo = 1; 3282 } else if (isDraw && !isForward) { 3283 startFrom = 1; 3284 startTo = 0; 3285 endFrom = 1; 3286 endTo = 1; 3287 } else if (!isDraw && isForward) { 3288 startFrom = 0; 3289 startTo = 1; 3290 endFrom = 1; 3291 endTo = 1; 3292 } else { 3293 startFrom = 0; 3294 startTo = 0; 3295 endFrom = 1; 3296 endTo = 0; 3297 } 3298 } else if (type === TYPE_TRAVEL) { 3299 const segmentFraction = percentToDecimal(segment); 3300 startFrom = isForward ? 0 : 1 - segmentFraction; 3301 startTo = isForward ? 1 - segmentFraction : 0; 3302 endFrom = isForward ? segmentFraction : 1; 3303 endTo = isForward ? 1 : segmentFraction; 3304 } else { 3305 startEnabled = axis === AXIS_PATH_TRIM_START || axis === AXIS_COMBINED; 3306 endEnabled = axis === AXIS_PATH_TRIM_END || axis === AXIS_COMBINED; 3307 if (axis === AXIS_COMBINED) { 3308 const sFrom = percentToDecimal(pathStartStartFrame); 3309 const sTo = percentToDecimal(pathStartEndWithDivider); 3310 const eFrom = percentToDecimal(pathEndStartWithoutDivider); 3311 const eTo = percentToDecimal(pathEndEndFrame); 3312 startFrom = isForward ? sFrom : sTo; 3313 startTo = isForward ? sTo : sFrom; 3314 endFrom = isForward ? eFrom : eTo; 3315 endTo = isForward ? eTo : eFrom; 3316 } else { 3317 const sFrom = percentToDecimal(pathStartStartFrame); 3318 const sTo = percentToDecimal(pathStartEndWithoutDivider); 3319 const eFrom = percentToDecimal(pathEndStartWithDivider); 3320 const eTo = percentToDecimal(pathEndEndFrame); 3321 startFrom = isForward ? sFrom : sTo; 3322 startTo = isForward ? sTo : sFrom; 3323 endFrom = isForward ? eFrom : eTo; 3324 endTo = isForward ? eTo : eFrom; 3325 } 3326 } 3327 return [ 3328 animate(target, { 3329 pathTrimStart: tween({ 3330 mode: "set", 3331 duration, 3332 from: startFrom, 3333 to: startTo, 3334 easing, 3335 enabled: startEnabled 3336 }), 3337 pathTrimEnd: tween({ 3338 mode: "set", 3339 duration, 3340 from: endFrom, 3341 to: endTo, 3342 easing, 3343 enabled: endEnabled 3344 }) 3345 }) 3346 ]; 3347 } 3348 defineProperties(preset, { 3349 type: { 3350 label: "motion.preset_flyout.type", 3351 type: "string", 3352 defaultValue: "draw", 3353 control: "select", 3354 options: [ 3355 { value: "draw", label: "motion.preset_flyout.path.type.draw" }, 3356 { value: "erase", label: "motion.preset_flyout.path.type.erase" }, 3357 { value: "travel", label: "motion.preset_flyout.path.type.travel" }, 3358 { value: "custom", label: "motion.preset_flyout.type.custom" } 3359 ] 3360 }, 3361 direction: { 3362 label: "motion.preset_flyout.direction", 3363 type: "string", 3364 defaultValue: "forward", 3365 control: "select", 3366 options: [ 3367 { value: "forward", label: "motion.preset_flyout.path.direction.forward" }, 3368 { value: "reverse", label: "motion.preset_flyout.path.direction.reverse" } 3369 ] 3370 }, 3371 axis: { 3372 label: "motion.preset_flyout.path.trim", 3373 type: "string", 3374 defaultValue: "pathTrimStart", 3375 control: "select", 3376 options: [ 3377 { value: "pathTrimStart", label: "motion.preset_flyout.path.axis.path_trim_start" }, 3378 { value: "pathTrimEnd", label: "motion.preset_flyout.path.axis.path_trim_end" }, 3379 { value: "combined", label: "motion.preset_flyout.path.axis.combined" } 3380 ] 3381 }, 3382 segment: { 3383 label: "motion.preset_flyout.path.segment", 3384 type: "number", 3385 defaultValue: 10, 3386 control: "input", 3387 min: 0, 3388 max: 100, 3389 unit: "%" 3390 }, 3391 // Frame order drives the panel layout. Single-axis (pathTrimStart / pathTrimEnd) groups 3392 // its own Start + End. Combined groups both Starts then both Ends, so its inner pair uses 3393 // dedicated *Combined variants laid out between the single-axis Start/End rows and only 3394 // shown for Combined.
3395 // TODO(showDividerAbove-cleanup): the \`showDividerAbove\` flags in this file 3396 // are redundant \u2014 section dividers are now applied client-side in the preset 3397 // flyout via \`forceShowDividerAboveTransform\` 3398 pathStartStartFrame: { 3399 label: "motion.preset_flyout.start_frame", 3400 type: "number", 3401 defaultValue: 100, 3402 control: "input", 3403 unit: "%", 3404 showDividerAbove: true, 3405 icon: "path_trim_start" 3406 }, 3407 pathStartEndWithoutDivider: { 3408 label: "motion.preset_flyout.end_frame", 3409 type: "number", 3410 defaultValue: 0, 3411 control: "input", 3412 unit: "%", 3413 icon: "path_trim_start" 3414 }, 3415 // Combined-only: trimEnd's Start (2nd Start, grouped under the Starts divider) and 3416 // trimStart's End (1st End, opens the Ends group with its own divider). 3417 pathEndStartWithoutDivider: { 3418 label: "motion.preset_flyout.start_frame", 3419 type: "number", 3420 defaultValue: 20, 3421 control: "input", 3422 unit: "%", 3423 icon: "path_trim_end" 3424 }, 3425 pathStartEndWithDivider: { 3426 label: "motion.preset_flyout.end_frame", 3427 type: "number", 3428 defaultValue: 80, 3429 control: "input", 3430 unit: "%", 3431 showDividerAbove: true, 3432 icon: "path_trim_start" 3433 }, 3434 pathEndStartWithDivider: { 3435 label: "motion.preset_flyout.start_frame", 3436 type: "number", 3437 defaultValue: 0, 3438 control: "input", 3439 unit: "%", 3440 showDividerAbove: true, 3441 icon: "path_trim_end" 3442 }, 3443 pathEndEndFrame: { 3444 label: "motion.preset_flyout.end_frame", 3445 type: "number", 3446 defaultValue: 100, 3447 control: "input", 3448 unit: "%", 3449 icon: "path_trim_end" 3450 }, 3451 // Note: 'delay' is kept in sync with a preset's \`timelineOffset\`. 3452 delay: { 3453 label: "motion.preset_flyout.delay", 3454 type: "number", 3455 defaultValue: 0, 3456 control: "input", 3457 unit: "s", 3458 showDividerAbove: true, 3459 icon: "delay" 3460 }, 3461 duration: { 3462 label: "motion.preset_flyout.duration", 3463 type: "number", 3464 defaultValue: 0.5, 3465 control: "input", 3466 min: 0.01, 3467 unit: "s", 3468 icon: "time" 3469 }, 3470 easing: { 3471 label: "motion.preset_flyout.easing", 3472 type: "easing", 3473 defaultValue: { easingType: EasingType.OUT_CUBIC } 3474 } 3475 }); 3476 return __toCommonJS(path_exports); 3477})();`});var r0,o0,i0=Qt(()=>{r0=`// Source-of-truth for the PATH_DRAW first-party animation preset. 3478// 3479// The build-time preset-bundle codegen (see \`../scripts/generate_preset_bundles.ts\`) 3480// reads this file's raw text, esbuilds it into an IIFE with \`figma:motion\` 3481// resolved, and emits both strings into \`../generated/path_draw.generated.ts\`. 3482// The generated module is what runtime code consumes \u2014 never import this file 3483// directly from production code paths. 3484// 3485// This file is excluded from the share/motion \`ts_project\` compilation \u2014 it's 3486// only an input to the codegen tool, evaluated inside the QuickJS / iframe 3487// sandbox at runtime. 3488 3489import { animate, defineProperties, EasingType, tween } from 'figma:motion' 3490 3491import type { PresetArgs } from './preset_types' 3492 3493export default function preset({ duration, mode, direction, target }: PresetArgs) { 3494 const easing = { easingType: EasingType.LINEAR } 3495 3496 if (mode === 'reveal') { 3497 if (direction === 'forward') { 3498 // Draw from start to end of path: trimStart stays at 0, trimEnd goes from 0 to 1 3499 return [ 3500 animate(target, { 3501 pathTrimStart: tween({ mode: 'set', duration, from: 0, to: 0, easing }), 3502 pathTrimEnd: tween({ mode: 'set', duration, from: 0, to: 1, easing }), 3503 }), 3504 ] 3505 } else { 3506 // Draw from end to start of path: trimStart goes from 1 to 0, trimEnd stays at 1 3507 return [ 3508 animate(target, { 3509 pathTrimStart: tween({ mode: 'set', duration, from: 1, to: 0, easing }), 3510 pathTrimEnd: tween({ mode: 'set', duration, from: 1, to: 1, easing }), 3511 }), 3512 ] 3513 } 3514 } else { 3515 if (direction === 'forward') { 3516 // Hide from start to end of path: trimStart goes from 0 to 1, trimEnd stays at 1 3517 return [ 3518 animate(target, {
3519 pathTrimStart: tween({ mode: 'set', duration, from: 0, to: 1, easing }), 3520 pathTrimEnd: tween({ mode: 'set', duration, from: 1, to: 1, easing }), 3521 }), 3522 ] 3523 } else { 3524 // Hide from end to start of path: trimStart stays at 0, trimEnd goes from 1 to 0 3525 return [ 3526 animate(target, { 3527 pathTrimStart: tween({ mode: 'set', duration, from: 0, to: 0, easing }), 3528 pathTrimEnd: tween({ mode: 'set', duration, from: 1, to: 0, easing }), 3529 }), 3530 ] 3531 } 3532 } 3533} 3534 3535// KEEP_IN_SYNC(share/motion/src/presets/path_draw_meta.ts) \u2014 these 3536// property bounds (min/max/unit) must match \`PROP_DEFS[*].inputConfig\` so the 3537// panel-side TS metadata and the bundled IIFE agree on every prop's contract. 3538defineProperties(preset, { 3539 duration: { 3540 label: 'Duration', 3541 type: 'number', 3542 defaultValue: 0.5, 3543 control: 'input', 3544 min: 0.01, 3545 unit: 's', 3546 }, 3547 mode: { 3548 label: 'Mode', 3549 type: 'string', 3550 defaultValue: 'reveal', 3551 control: 'select', 3552 options: [ 3553 { value: 'reveal', label: 'Reveal' }, 3554 { value: 'hide', label: 'Hide' }, 3555 ], 3556 }, 3557 direction: { 3558 label: 'Direction', 3559 type: 'string', 3560 defaultValue: 'forward', 3561 control: 'select', 3562 options: [ 3563 { value: 'forward', label: 'Forward' }, 3564 { value: 'reverse', label: 'Reverse' }, 3565 ], 3566 }, 3567}) 3568`,o0=`var __presetBundle = (() => { 3569 var __defProp = Object.defineProperty; 3570 var __getOwnPropDesc = Object.getOwnPropertyDescriptor; 3571 var __getOwnPropNames = Object.getOwnPropertyNames; 3572 var __hasOwnProp = Object.prototype.hasOwnProperty; 3573 var __export = (target, all) => { 3574 for (var name in all) 3575 __defProp(target, name, { get: all[name], enumerable: true }); 3576 }; 3577 var __copyProps = (to, from, except, desc) => { 3578 if (from && typeof from === "object" || typeof from === "function") { 3579 for (let key of __getOwnPropNames(from)) 3580 if (!__hasOwnProp.call(to, key) && key !== except) 3581 __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); 3582 } 3583 return to; 3584 }; 3585 var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); 3586 3587
3587// ../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/share/motion/src/presets/source/path_draw.ts 3588 var path_draw_exports = {}; 3589 __export(path_draw_exports, { 3590 default: () => preset 3591 }); 3592 3593 // figma-motion:figma:motion 3594 function defineProperties(component, spec) { 3595 Object.assign(component, { 3596 [/* @__PURE__ */ Symbol.for("figma.react.props")]: spec 3597 }); 3598 } 3599 var EasingType = { 3600 IN_CUBIC: 0, 3601 inCubic: 0, 3602 OUT_CUBIC: 1, 3603 outCubic: 1, 3604 INOUT_CUBIC: 2, 3605 inOutCubic: 2, 3606 LINEAR: 3, 3607 linear: 3, 3608 IN_BACK_CUBIC: 4, 3609 inBackCubic: 4, 3610 OUT_BACK_CUBIC: 5, 3611 outBackCubic: 5, 3612 INOUT_BACK_CUBIC: 6, 3613 inOutBackCubic: 6, 3614 CUSTOM_CUBIC: 7, 3615 customCubic: 7, 3616 SPRING: 8, 3617 spring: 8, 3618 GENTLE_SPRING: 9, 3619 gentleSpring: 9, 3620 CUSTOM_SPRING: 10, 3621 customSpring: 10, 3622 SPRING_PRESET_ONE: 11, 3623 springPresetOne: 11, 3624 SPRING_PRESET_TWO: 12, 3625 springPresetTwo: 12, 3626 SPRING_PRESET_THREE: 13, 3627 springPresetThree: 13, 3628 // For backwards compat 3629 bezier: 100, 3630 BEZIER: 100 3631 }; 3632 var InterpolationType = { 3633 HOLD: 0, 3634 hold: 0, 3635 BEZIER: 1, 3636 bezier: 1 3637 }; 3638 var KeyframeOperation = { 3639 SET: 0, 3640 set: 0, 3641 SCALE: 1, 3642 scale: 1, 3643 OFFSET: 2, 3644 offset: 2 3645 }; 3646 var ParameterField = { 3647 MISSING: 0, 3648 missing: 0, 3649 CORNER_RADIUS: 1, 3650 cornerRadius: 1, 3651 PARAGRAPH_SPACING: 2, 3652 paragraphSpacing: 2, 3653 PARAGRAPH_INDENT: 3, 3654 paragraphIndent: 3, 3655 STROKE_WEIGHT: 4, 3656 strokeWeight: 4, 3657 STACK_SPACING: 5, 3658 stackSpacing: 5, 3659 STACK_PADDING_LEFT: 6, 3660 stackPaddingLeft: 6, 3661 STACK_PADDING_TOP: 7, 3662 stackPaddingTop: 7, 3663 STACK_PADDING_RIGHT: 8, 3664 stackPaddingRight: 8, 3665 STACK_PADDING_BOTTOM: 9, 3666 stackPaddingBottom: 9, 3667 VISIBLE: 10, 3668 visible: 10, 3669 TEXT_DATA: 11, 3670 textData: 11, 3671 WIDTH: 12, 3672 width: 12, 3673 HEIGHT: 13, 3674 height: 13, 3675 RECTANGLE_TOP_LEFT_CORNER_RADIUS: 14, 3676 rectangleTopLeftCornerRadius: 14, 3677 RECTANGLE_TOP_RIGHT_CORNER_RADIUS: 15, 3678 rectangleTopRightCornerRadius: 15, 3679 RECTANGLE_BOTTOM_LEFT_CORNER_RADIUS: 16, 3680 rectangleBottomLeftCornerRadius: 16, 3681 RECTANGLE_BOTTOM_RIGHT_CORNER_RADIUS: 17, 3682 rectangleBottomRightCornerRadius: 17, 3683 BORDER_TOP_WEIGHT: 18, 3684 borderTopWeight: 18, 3685 BORDER_BOTTOM_WEIGHT: 19, 3686 borderBottomWeight: 19, 3687 BORDER_LEFT_WEIGHT: 20, 3688 borderLeftWeight: 20, 3689 BORDER_RIGHT_WEIGHT: 21, 3690 borderRightWeight: 21, 3691 VARIANT_PROPERTIES: 22, 3692 variantProperties: 22, 3693 STACK_COUNTER_SPACING: 23, 3694 stackCounterSpacing: 23, 3695 MIN_WIDTH: 24, 3696 minWidth: 24, 3697 MAX_WIDTH: 25, 3698 maxWidth: 25, 3699 MIN_HEIGHT: 26, 3700 minHeight: 26, 3701 MAX_HEIGHT: 27, 3702 maxHeight: 27, 3703 FONT_FAMILY: 28, 3704 fontFamily: 28, 3705 FONT_STYLE: 29, 3706 fontStyle: 29, 3707 FONT_VARIATIONS: 30, 3708 fontVariations: 30, 3709 OPACITY: 31, 3710 opacity: 31, 3711 FONT_SIZE: 32, 3712 fontSize: 32, 3713 LETTER_SPACING: 34, 3714 letterSpacing: 34, 3715 LINE_HEIGHT: 36, 3716 lineHeight: 36, 3717 OVERRIDDEN_SYMBOL_ID: 37, 3718 overriddenSymbolId: 37, 3719 CMS_SERIALIZED_RICH_TEXT_DATA: 38, 3720 cmsSerializedRichTextData: 38, 3721 HYPERLINK: 39, 3722 hyperlink: 39, 3723 SLOT_CONTENT_ID: 40, 3724 slotContentId: 40, 3725 GRID_ROW_GAP: 41, 3726 gridRowGap: 41, 3727 GRID_COLUMN_GAP: 42, 3728 gridColumnGap: 42, 3729 RELATIVE_X_POSITION: 43, 3730 xPosition: 43, 3731 RELATIVE_Y_POSITION: 44, 3732 relativeYPosition: 44, 3733 RELATIVE_ROTATION: 45, 3734 relativeRotation: 45, 3735 MOTION_TRANSLATION_X: 46, 3736 motionTranslationX: 46, 3737 MOTION_TRANSLATION_Y: 47, 3738 motionTranslationY: 47, 3739 MOTION_ROTATION: 48, 3740 motionRotation: 48, 3741 MOTION_SCALE_X: 49, 3742 motionScaleX: 49, 3743 MOTION_SCALE_Y: 50, 3744 motionScaleY: 50, 3745 MOTION_SHEAR: 51, 3746 motionShear: 51, 3747 SCROLL_OFFSET_X: 52, 3748 scrollOffsetX: 52, 3749 SCROLL_OFFSET_Y: 53, 3750 scrollOffsetY: 53, 3751 PATH_TRIM_START: 54, 3752 pathTrimStart: 54, 3753 PATH_TRIM_END: 55, 3754 pathTrimEnd: 55, 3755 DISSOLVE_PROGRESS: 56, 3756 dissolveProgress: 56 3757 }; 3758 var Keyframe = class { 3759 constructor(data) { 3760 this.timelinePosition = Math.round(data.timelinePosition); 3761 this.easing = data.easing; 3762 this.value = data.value; 3763 } 3764 }; 3765 var KeyframeTrack = class { 3766 constructor(data) { 3767 this.topLevelField = data.topLevelField; 3768 this.parameterField = data.parameterField; 3769 this.index = data.index; 3770 this.effectParametrizedField = data.effectParametrizedField; 3771 this.keyframeOperation = data.keyframeOperation; 3772 this.keyframes = data.keyframes; 3773 this.enabled = !!data.enabled; 3774 } 3775 }; 3776 var AnimationPreset = class { 3777 constructor(data) { 3778 this.nodeId = data.nodeId; 3779 this.keyframeTracks = data.keyframeTracks; 3780 } 3781 }; 3782 var PARAMETER_FIELD_ALIAS_MAP = { 3783 translateX: ParameterField.MOTION_TRANSLATION_X, 3784 translateY: ParameterField.MOTION_TRANSLATION_Y, 3785 rotate: ParameterField.MOTION_ROTATION, 3786 scaleX: ParameterField.MOTION_SCALE_X, 3787 scaleY: ParameterField.MOTION_SCALE_Y, 3788 shear: ParameterField.MOTION_SHEAR 3789 }; 3790 var KEYFRAMEABLE_FIELDS = /* @__PURE__ */ new Set([ 3791 "translateX", 3792 "translateY", 3793 "rotate", 3794 "scaleX", 3795 "scaleY", 3796 "shear", 3797 "cornerRadius", 3798 "strokeWeight", 3799 "rectangleTopLeftCornerRadius", 3800 "rectangleTopRightCornerRadius", 3801 "rectangleBottomLeftCornerRadius", 3802 "rectangleBottomRightCornerRadius", 3803 "stackSpacing", 3804 "stackPaddingLeft", 3805 "stackPaddingTop", 3806 "stackPaddingRight", 3807 "stackPaddingBottom", 3808 "width", 3809 "height", 3810 "borderTopWeight", 3811 "borderBottomWeight", 3812 "borderLeftWeight", 3813 "borderRightWeight", 3814 "stackCounterSpacing", 3815 "minWidth", 3816 "maxWidth", 3817 "minHeight", 3818 "maxHeight", 3819 "opacity", 3820 "gridRowGap", 3821 "gridColumnGap", 3822 "textData", 3823 "pathTrimStart", 3824 "pathTrimEnd" 3825 ]); 3826 var MODE_TO_OPERATION = { 3827 set: KeyframeOperation.SET, 3828 SET: KeyframeOperation.SET, 3829 offset: KeyframeOperation.OFFSET, 3830 OFFSET: KeyframeOperation.OFFSET, 3831 scale: KeyframeOperation.SCALE, 3832 SCALE: KeyframeOperation.SCALE 3833 }; 3834 function normalizeEasing(easing) { 3835 if (easing === void 0) return void 0; 3836 if (easing === "hold") return { interpolationType: InterpolationType.HOLD }; 3837 if (typeof easing === "string") { 3838 const easingType = EasingType[easing]; 3839 if (easingType === void 0) throw new Error('normalizeEasing: unknown easing "' + easing + '"'); 3840 return { easingType }; 3841 } 3842 return easing; 3843 } 3844 function compileKeyframe({ timelinePosition, value, easing }) { 3845 return new Keyframe({ 3846 timelinePosition: timelinePosition * 1e6, 3847 easing: normalizeEasing(easing), 3848 value 3849 }); 3850 } 3851 function tween({ mode, timelinePosition = 0, duration, from, to, easing, enabled = true }) { 3852 if (duration < 0) throw new Error("tween: duration must be non-negative"); 3853 return { 3854 mode, 3855 enabled, 3856 keyframes: [ 3857 { timelinePosition, value: from, easing }, 3858 { timelinePosition: timelinePosition + duration, value: to, easing } 3859 ] 3860 }; 3861 } 3862 function animate(node, definition) { 3863 const nodeId = typeof node === "string" ? node : node.id;
3864 const keyframeTracks = []; 3865 for (const [key, trackDef] of Object.entries(definition)) { 3866 if (!KEYFRAMEABLE_FIELDS.has(key)) { 3867 throw new Error('animate: unknown or non-keyframeable property "' + key + '"'); 3868 } 3869 const parameterField = PARAMETER_FIELD_ALIAS_MAP[key] ?? ParameterField[key]; 3870 const operation = MODE_TO_OPERATION[trackDef.mode]; 3871 if (operation === void 0) throw new Error('animate: unknown mode "' + trackDef.mode + '"'); 3872 const seen = /* @__PURE__ */ new Map(); 3873 for (const kf of trackDef.keyframes) seen.set(kf.timelinePosition, kf); 3874 const sorted = [...seen.values()].sort((a, b) => a.timelinePosition - b.timelinePosition); 3875 keyframeTracks.push(new KeyframeTrack({ 3876 parameterField, 3877 keyframeOperation: operation, 3878 keyframes: sorted.map(compileKeyframe), 3879 enabled: trackDef.enabled !== false 3880 })); 3881 } 3882 return new AnimationPreset({ nodeId, keyframeTracks }); 3883 } 3884 3885
3885// ../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/share/motion/src/presets/source/path_draw.ts 3886 function preset({ duration, mode, direction, target }) { 3887 const easing = { easingType: EasingType.LINEAR }; 3888 if (mode === "reveal") { 3889 if (direction === "forward") { 3890 return [ 3891 animate(target, { 3892 pathTrimStart: tween({ mode: "set", duration, from: 0, to: 0, easing }), 3893 pathTrimEnd: tween({ mode: "set", duration, from: 0, to: 1, easing }) 3894 }) 3895 ]; 3896 } else { 3897 return [ 3898 animate(target, { 3899 pathTrimStart: tween({ mode: "set", duration, from: 1, to: 0, easing }), 3900 pathTrimEnd: tween({ mode: "set", duration, from: 1, to: 1, easing }) 3901 }) 3902 ]; 3903 } 3904 } else { 3905 if (direction === "forward") { 3906 return [ 3907 animate(target, { 3908 pathTrimStart: tween({ mode: "set", duration, from: 0, to: 1, easing }), 3909 pathTrimEnd: tween({ mode: "set", duration, from: 1, to: 1, easing }) 3910 }) 3911 ]; 3912 } else { 3913 return [ 3914 animate(target, { 3915 pathTrimStart: tween({ mode: "set", duration, from: 0, to: 0, easing }), 3916 pathTrimEnd: tween({ mode: "set", duration, from: 1, to: 0, easing }) 3917 }) 3918 ]; 3919 } 3920 } 3921 } 3922 defineProperties(preset, { 3923 duration: { 3924 label: "Duration", 3925 type: "number", 3926 defaultValue: 0.5, 3927 control: "input", 3928 min: 0.01, 3929 unit: "s" 3930 }, 3931 mode: { 3932 label: "Mode", 3933 type: "string", 3934 defaultValue: "reveal", 3935 control: "select", 3936 options: [ 3937 { value: "reveal", label: "Reveal" }, 3938 { value: "hide", label: "Hide" } 3939 ] 3940 }, 3941 direction: { 3942 label: "Direction", 3943 type: "string", 3944 defaultValue: "forward", 3945 control: "select", 3946 options: [ 3947 { value: "forward", label: "Forward" }, 3948 { value: "reverse", label: "Reverse" } 3949 ] 3950 } 3951 }); 3952 return __toCommonJS(path_draw_exports); 3953})();`});var s0,a0,l0=Qt(()=>{s0=`// Source-of-truth for the PATH_TRAVEL first-party animation preset. 3954// 3955// The build-time preset-bundle codegen (see \`../scripts/generate_preset_bundles.ts\`) 3956// reads this file's raw text, esbuilds it into an IIFE with \`figma:motion\` 3957// resolved, and emits both strings into \`../generated/path_travel.generated.ts\`. 3958// The generated module is what runtime code consumes \u2014 never import this file 3959// directly from production code paths. 3960// 3961// This file is excluded from the share/motion \`ts_project\` compilation \u2014 it's 3962// only an input to the codegen tool, evaluated inside the QuickJS / iframe 3963// sandbox at runtime. 3964 3965import { animate, defineProperties, EasingType, tween } from 'figma:motion' 3966 3967import type { PresetArgs } from './preset_types' 3968 3969export default function preset({ 3970 duration, 3971 direction, 3972 segmentLength, 3973 loops, 3974 loopMode, 3975 target, 3976}: PresetArgs) { 3977 // Path Travel: A segment of the path travels along the entire path 3978 const segment = segmentLength / 100 // Convert percentage to 0-1 range 3979 const easing = { easingType: EasingType.LINEAR } 3980 3981 if (loopMode === 'circle') { 3982 // Circle mode: segment wraps around continuously 3983 if (direction === 'forward') { 3984 return [ 3985 animate(target, { 3986 pathTrimStart: tween({ mode: 'set', duration, from: 0, to: loops, easing }), 3987 pathTrimEnd: tween({ 3988 mode: 'set', 3989 duration, 3990 from: segment, 3991 to: segment + loops, 3992 easing, 3993 }), 3994 }), 3995 ] 3996 } else { 3997 return [ 3998 animate(target, { 3999 pathTrimStart: tween({ 4000 mode: 'set', 4001 duration, 4002 from: 1 - segment, 4003 to: 1 - segment - loops, 4004 easing, 4005 }), 4006 pathTrimEnd: tween({ mode: 'set', duration, from: 1, to: 1 - loops, easing }), 4007 }), 4008 ] 4009 } 4010 } 4011 4012 // Retrace mode: segment goes forward then backward for each loop 4013 const startKeyframes: Array<{ timelinePosition: number; value: number; easing: PresetArgs }> = [] 4014 const endKeyframes: Array<{ timelinePosition: number; value: number; easing: PresetArgs }> = [] 4015 const timePerLoop = duration / loops 4016 4017 if (direction === 'forward') { 4018 for (let i = 0; i < loops; i++) { 4019 const loopStartTime = i * timePerLoop 4020 const loopMidTime = loopStartTime + timePerLoop / 2 4021 const loopEndTime = loopStartTime + timePerLoop 4022 4023 // Forward phase 4024 startKeyframes.push({ timelinePosition: loopStartTime, value: 0, easing }) 4025 startKeyframes.push({ timelinePosition: loopMidTime, value: 1 - segment, easing }) 4026 // Backward phase 4027 startKeyframes.push({ timelinePosition: loopEndTime, value: 0, easing }) 4028 4029 endKeyframes.push({ timelinePosition: loopStartTime, value: segment, easing }) 4030 endKeyframes.push({ timelinePosition: loopMidTime, value: 1, easing }) 4031 endKeyframes.push({ timelinePosition: loopEndTime, value: segment, easing }) 4032 } 4033 } else { 4034 for (let i = 0; i < loops; i++) { 4035 const loopStartTime = i * timePerLoop 4036 const loopMidTime = loopStartTime + timePerLoop / 2 4037 const loopEndTime = loopStartTime + timePerLoop 4038 4039 // Backward phase 4040 startKeyframes.push({ timelinePosition: loopStartTime, value: 1 - segment, easing }) 4041 startKeyframes.push({ timelinePosition: loopMidTime, value: 0, easing }) 4042 // Forward phase 4043 startKeyframes.push({ timelinePosition: loopEndTime, value: 1 - segment, easing }) 4044 4045 endKeyframes.push({ timelinePosition: loopStartTime, value: 1, easing }) 4046 endKeyframes.push({ timelinePosition: loopMidTime, value: segment, easing }) 4047 endKeyframes.push({ timelinePosition: loopEndTime, value: 1, easing }) 4048 } 4049 } 4050 4051 return [ 4052 animate(target, {
4053 pathTrimStart: { mode: 'set', keyframes: startKeyframes }, 4054 pathTrimEnd: { mode: 'set', keyframes: endKeyframes }, 4055 }), 4056 ] 4057} 4058 4059// KEEP_IN_SYNC(share/motion/src/presets/path_travel_meta.ts) \u2014 these 4060// property bounds (min/max/unit) must match \`PROP_DEFS[*].inputConfig\` so the 4061// panel-side TS metadata and the bundled IIFE agree on every prop's contract. 4062defineProperties(preset, { 4063 duration: { 4064 label: 'Duration', 4065 type: 'number', 4066 defaultValue: 0.5, 4067 control: 'input', 4068 min: 0.01, 4069 unit: 's', 4070 }, 4071 direction: { 4072 label: 'Direction', 4073 type: 'string', 4074 defaultValue: 'forward', 4075 control: 'select', 4076 options: [ 4077 { value: 'forward', label: 'Forward' }, 4078 { value: 'reverse', label: 'Reverse' }, 4079 ], 4080 }, 4081 loopMode: { 4082 label: 'Loop Mode', 4083 type: 'string', 4084 defaultValue: 'circle', 4085 control: 'select', 4086 options: [ 4087 { value: 'circle', label: 'Circle Back' }, 4088 { value: 'retrace', label: 'Retrace Path' }, 4089 ], 4090 }, 4091 segmentLength: { 4092 label: 'Segment Length', 4093 type: 'number', 4094 defaultValue: 20, 4095 control: 'input', 4096 min: 0, 4097 max: 100, 4098 unit: '%', 4099 }, 4100 loops: { 4101 label: 'Loops', 4102 type: 'number', 4103 defaultValue: 1, 4104 control: 'input', 4105 min: 1, 4106 }, 4107}) 4108`,a0=`var __presetBundle = (() => { 4109 var __defProp = Object.defineProperty; 4110 var __getOwnPropDesc = Object.getOwnPropertyDescriptor; 4111 var __getOwnPropNames = Object.getOwnPropertyNames; 4112 var __hasOwnProp = Object.prototype.hasOwnProperty; 4113 var __export = (target, all) => { 4114 for (var name in all) 4115 __defProp(target, name, { get: all[name], enumerable: true }); 4116 }; 4117 var __copyProps = (to, from, except, desc) => { 4118 if (from && typeof from === "object" || typeof from === "function") { 4119 for (let key of __getOwnPropNames(from)) 4120 if (!__hasOwnProp.call(to, key) && key !== except) 4121 __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); 4122 } 4123 return to; 4124 }; 4125 var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); 4126 4127
4127// ../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/share/motion/src/presets/source/path_travel.ts 4128 var path_travel_exports = {}; 4129 __export(path_travel_exports, { 4130 default: () => preset 4131 }); 4132 4133 // figma-motion:figma:motion 4134 function defineProperties(component, spec) { 4135 Object.assign(component, { 4136 [/* @__PURE__ */ Symbol.for("figma.react.props")]: spec 4137 }); 4138 } 4139 var EasingType = { 4140 IN_CUBIC: 0, 4141 inCubic: 0, 4142 OUT_CUBIC: 1, 4143 outCubic: 1, 4144 INOUT_CUBIC: 2, 4145 inOutCubic: 2, 4146 LINEAR: 3, 4147 linear: 3, 4148 IN_BACK_CUBIC: 4, 4149 inBackCubic: 4, 4150 OUT_BACK_CUBIC: 5, 4151 outBackCubic: 5, 4152 INOUT_BACK_CUBIC: 6, 4153 inOutBackCubic: 6, 4154 CUSTOM_CUBIC: 7, 4155 customCubic: 7, 4156 SPRING: 8, 4157 spring: 8, 4158 GENTLE_SPRING: 9, 4159 gentleSpring: 9, 4160 CUSTOM_SPRING: 10, 4161 customSpring: 10, 4162 SPRING_PRESET_ONE: 11, 4163 springPresetOne: 11, 4164 SPRING_PRESET_TWO: 12, 4165 springPresetTwo: 12, 4166 SPRING_PRESET_THREE: 13, 4167 springPresetThree: 13, 4168 // For backwards compat 4169 bezier: 100, 4170 BEZIER: 100 4171 }; 4172 var InterpolationType = { 4173 HOLD: 0, 4174 hold: 0, 4175 BEZIER: 1, 4176 bezier: 1 4177 }; 4178 var KeyframeOperation = { 4179 SET: 0, 4180 set: 0, 4181 SCALE: 1, 4182 scale: 1, 4183 OFFSET: 2, 4184 offset: 2 4185 }; 4186 var ParameterField = { 4187 MISSING: 0, 4188 missing: 0, 4189 CORNER_RADIUS: 1, 4190 cornerRadius: 1, 4191 PARAGRAPH_SPACING: 2, 4192 paragraphSpacing: 2, 4193 PARAGRAPH_INDENT: 3, 4194 paragraphIndent: 3, 4195 STROKE_WEIGHT: 4, 4196 strokeWeight: 4, 4197 STACK_SPACING: 5, 4198 stackSpacing: 5, 4199 STACK_PADDING_LEFT: 6, 4200 stackPaddingLeft: 6, 4201 STACK_PADDING_TOP: 7, 4202 stackPaddingTop: 7, 4203 STACK_PADDING_RIGHT: 8, 4204 stackPaddingRight: 8, 4205 STACK_PADDING_BOTTOM: 9, 4206 stackPaddingBottom: 9, 4207 VISIBLE: 10, 4208 visible: 10, 4209 TEXT_DATA: 11, 4210 textData: 11, 4211 WIDTH: 12, 4212 width: 12, 4213 HEIGHT: 13, 4214 height: 13, 4215 RECTANGLE_TOP_LEFT_CORNER_RADIUS: 14, 4216 rectangleTopLeftCornerRadius: 14, 4217 RECTANGLE_TOP_RIGHT_CORNER_RADIUS: 15, 4218 rectangleTopRightCornerRadius: 15, 4219 RECTANGLE_BOTTOM_LEFT_CORNER_RADIUS: 16, 4220 rectangleBottomLeftCornerRadius: 16, 4221 RECTANGLE_BOTTOM_RIGHT_CORNER_RADIUS: 17, 4222 rectangleBottomRightCornerRadius: 17, 4223 BORDER_TOP_WEIGHT: 18, 4224 borderTopWeight: 18, 4225 BORDER_BOTTOM_WEIGHT: 19, 4226 borderBottomWeight: 19, 4227 BORDER_LEFT_WEIGHT: 20, 4228 borderLeftWeight: 20, 4229 BORDER_RIGHT_WEIGHT: 21, 4230 borderRightWeight: 21, 4231 VARIANT_PROPERTIES: 22, 4232 variantProperties: 22, 4233 STACK_COUNTER_SPACING: 23, 4234 stackCounterSpacing: 23, 4235 MIN_WIDTH: 24, 4236 minWidth: 24, 4237 MAX_WIDTH: 25, 4238 maxWidth: 25, 4239 MIN_HEIGHT: 26, 4240 minHeight: 26, 4241 MAX_HEIGHT: 27, 4242 maxHeight: 27, 4243 FONT_FAMILY: 28, 4244 fontFamily: 28, 4245 FONT_STYLE: 29, 4246 fontStyle: 29, 4247 FONT_VARIATIONS: 30, 4248 fontVariations: 30, 4249 OPACITY: 31, 4250 opacity: 31, 4251 FONT_SIZE: 32, 4252 fontSize: 32, 4253 LETTER_SPACING: 34, 4254 letterSpacing: 34, 4255 LINE_HEIGHT: 36, 4256 lineHeight: 36, 4257 OVERRIDDEN_SYMBOL_ID: 37, 4258 overriddenSymbolId: 37, 4259 CMS_SERIALIZED_RICH_TEXT_DATA: 38, 4260 cmsSerializedRichTextData: 38, 4261 HYPERLINK: 39, 4262 hyperlink: 39, 4263 SLOT_CONTENT_ID: 40, 4264 slotContentId: 40, 4265 GRID_ROW_GAP: 41, 4266 gridRowGap: 41, 4267 GRID_COLUMN_GAP: 42, 4268 gridColumnGap: 42, 4269 RELATIVE_X_POSITION: 43, 4270 xPosition: 43, 4271 RELATIVE_Y_POSITION: 44, 4272 relativeYPosition: 44, 4273 RELATIVE_ROTATION: 45, 4274 relativeRotation: 45, 4275 MOTION_TRANSLATION_X: 46, 4276 motionTranslationX: 46, 4277 MOTION_TRANSLATION_Y: 47, 4278 motionTranslationY: 47, 4279 MOTION_ROTATION: 48, 4280 motionRotation: 48, 4281 MOTION_SCALE_X: 49, 4282 motionScaleX: 49, 4283 MOTION_SCALE_Y: 50, 4284 motionScaleY: 50, 4285 MOTION_SHEAR: 51, 4286 motionShear: 51, 4287 SCROLL_OFFSET_X: 52, 4288 scrollOffsetX: 52, 4289 SCROLL_OFFSET_Y: 53, 4290 scrollOffsetY: 53, 4291 PATH_TRIM_START: 54, 4292 pathTrimStart: 54, 4293 PATH_TRIM_END: 55, 4294 pathTrimEnd: 55, 4295 DISSOLVE_PROGRESS: 56, 4296 dissolveProgress: 56 4297 }; 4298 var Keyframe = class { 4299 constructor(data) { 4300 this.timelinePosition = Math.round(data.timelinePosition); 4301 this.easing = data.easing; 4302 this.value = data.value; 4303 } 4304 }; 4305 var KeyframeTrack = class { 4306 constructor(data) { 4307 this.topLevelField = data.topLevelField; 4308 this.parameterField = data.parameterField; 4309 this.index = data.index; 4310 this.effectParametrizedField = data.effectParametrizedField; 4311 this.keyframeOperation = data.keyframeOperation; 4312 this.keyframes = data.keyframes; 4313 this.enabled = !!data.enabled; 4314 } 4315 }; 4316 var AnimationPreset = class { 4317 constructor(data) { 4318 this.nodeId = data.nodeId; 4319 this.keyframeTracks = data.keyframeTracks; 4320 } 4321 }; 4322 var PARAMETER_FIELD_ALIAS_MAP = { 4323 translateX: ParameterField.MOTION_TRANSLATION_X, 4324 translateY: ParameterField.MOTION_TRANSLATION_Y, 4325 rotate: ParameterField.MOTION_ROTATION, 4326 scaleX: ParameterField.MOTION_SCALE_X, 4327 scaleY: ParameterField.MOTION_SCALE_Y, 4328 shear: ParameterField.MOTION_SHEAR 4329 }; 4330 var KEYFRAMEABLE_FIELDS = /* @__PURE__ */ new Set([ 4331 "translateX", 4332 "translateY", 4333 "rotate", 4334 "scaleX", 4335 "scaleY", 4336 "shear", 4337 "cornerRadius", 4338 "strokeWeight", 4339 "rectangleTopLeftCornerRadius", 4340 "rectangleTopRightCornerRadius", 4341 "rectangleBottomLeftCornerRadius", 4342 "rectangleBottomRightCornerRadius", 4343 "stackSpacing", 4344 "stackPaddingLeft", 4345 "stackPaddingTop", 4346 "stackPaddingRight", 4347 "stackPaddingBottom", 4348 "width", 4349 "height", 4350 "borderTopWeight", 4351 "borderBottomWeight", 4352 "borderLeftWeight", 4353 "borderRightWeight", 4354 "stackCounterSpacing", 4355 "minWidth", 4356 "maxWidth", 4357 "minHeight", 4358 "maxHeight", 4359 "opacity", 4360 "gridRowGap", 4361 "gridColumnGap", 4362 "textData", 4363 "pathTrimStart", 4364 "pathTrimEnd" 4365 ]); 4366 var MODE_TO_OPERATION = { 4367 set: KeyframeOperation.SET, 4368 SET: KeyframeOperation.SET, 4369 offset: KeyframeOperation.OFFSET, 4370 OFFSET: KeyframeOperation.OFFSET, 4371 scale: KeyframeOperation.SCALE, 4372 SCALE: KeyframeOperation.SCALE 4373 }; 4374 function normalizeEasing(easing) { 4375 if (easing === void 0) return void 0; 4376 if (easing === "hold") return { interpolationType: InterpolationType.HOLD }; 4377 if (typeof easing === "string") { 4378 const easingType = EasingType[easing]; 4379 if (easingType === void 0) throw new Error('normalizeEasing: unknown easing "' + easing + '"'); 4380 return { easingType }; 4381 } 4382 return easing; 4383 } 4384 function compileKeyframe({ timelinePosition, value, easing }) { 4385 return new Keyframe({ 4386 timelinePosition: timelinePosition * 1e6, 4387 easing: normalizeEasing(easing), 4388 value 4389 }); 4390 } 4391 function tween({ mode, timelinePosition = 0, duration, from, to, easing, enabled = true }) { 4392 if (duration < 0) throw new Error("tween: duration must be non-negative"); 4393 return { 4394 mode, 4395 enabled, 4396 keyframes: [ 4397 { timelinePosition, value: from, easing }, 4398 { timelinePosition: timelinePosition + duration, value: to, easing } 4399 ] 4400 }; 4401 } 4402 function animate(node, definition) { 4403 const nodeId = typeof node === "string" ? node : node.id;
4404 const keyframeTracks = []; 4405 for (const [key, trackDef] of Object.entries(definition)) { 4406 if (!KEYFRAMEABLE_FIELDS.has(key)) { 4407 throw new Error('animate: unknown or non-keyframeable property "' + key + '"'); 4408 } 4409 const parameterField = PARAMETER_FIELD_ALIAS_MAP[key] ?? ParameterField[key]; 4410 const operation = MODE_TO_OPERATION[trackDef.mode]; 4411 if (operation === void 0) throw new Error('animate: unknown mode "' + trackDef.mode + '"'); 4412 const seen = /* @__PURE__ */ new Map(); 4413 for (const kf of trackDef.keyframes) seen.set(kf.timelinePosition, kf); 4414 const sorted = [...seen.values()].sort((a, b) => a.timelinePosition - b.timelinePosition); 4415 keyframeTracks.push(new KeyframeTrack({ 4416 parameterField, 4417 keyframeOperation: operation, 4418 keyframes: sorted.map(compileKeyframe), 4419 enabled: trackDef.enabled !== false 4420 })); 4421 } 4422 return new AnimationPreset({ nodeId, keyframeTracks }); 4423 } 4424 4425
4425// ../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/share/motion/src/presets/source/path_travel.ts 4426 function preset({ 4427 duration, 4428 direction, 4429 segmentLength, 4430 loops, 4431 loopMode, 4432 target 4433 }) { 4434 const segment = segmentLength / 100; 4435 const easing = { easingType: EasingType.LINEAR }; 4436 if (loopMode === "circle") { 4437 if (direction === "forward") { 4438 return [ 4439 animate(target, { 4440 pathTrimStart: tween({ mode: "set", duration, from: 0, to: loops, easing }), 4441 pathTrimEnd: tween({ 4442 mode: "set", 4443 duration, 4444 from: segment, 4445 to: segment + loops, 4446 easing 4447 }) 4448 }) 4449 ]; 4450 } else { 4451 return [ 4452 animate(target, { 4453 pathTrimStart: tween({ 4454 mode: "set", 4455 duration, 4456 from: 1 - segment, 4457 to: 1 - segment - loops, 4458 easing 4459 }), 4460 pathTrimEnd: tween({ mode: "set", duration, from: 1, to: 1 - loops, easing }) 4461 }) 4462 ]; 4463 } 4464 } 4465 const startKeyframes = []; 4466 const endKeyframes = []; 4467 const timePerLoop = duration / loops; 4468 if (direction === "forward") { 4469 for (let i = 0; i < loops; i++) { 4470 const loopStartTime = i * timePerLoop; 4471 const loopMidTime = loopStartTime + timePerLoop / 2; 4472 const loopEndTime = loopStartTime + timePerLoop; 4473 startKeyframes.push({ timelinePosition: loopStartTime, value: 0, easing }); 4474 startKeyframes.push({ timelinePosition: loopMidTime, value: 1 - segment, easing }); 4475 startKeyframes.push({ timelinePosition: loopEndTime, value: 0, easing }); 4476 endKeyframes.push({ timelinePosition: loopStartTime, value: segment, easing }); 4477 endKeyframes.push({ timelinePosition: loopMidTime, value: 1, easing }); 4478 endKeyframes.push({ timelinePosition: loopEndTime, value: segment, easing }); 4479 } 4480 } else { 4481 for (let i = 0; i < loops; i++) { 4482 const loopStartTime = i * timePerLoop; 4483 const loopMidTime = loopStartTime + timePerLoop / 2; 4484 const loopEndTime = loopStartTime + timePerLoop; 4485 startKeyframes.push({ timelinePosition: loopStartTime, value: 1 - segment, easing }); 4486 startKeyframes.push({ timelinePosition: loopMidTime, value: 0, easing }); 4487 startKeyframes.push({ timelinePosition: loopEndTime, value: 1 - segment, easing }); 4488 endKeyframes.push({ timelinePosition: loopStartTime, value: 1, easing }); 4489 endKeyframes.push({ timelinePosition: loopMidTime, value: segment, easing }); 4490 endKeyframes.push({ timelinePosition: loopEndTime, value: 1, easing }); 4491 } 4492 } 4493 return [ 4494 animate(target, { 4495 pathTrimStart: { mode: "set", keyframes: startKeyframes }, 4496 pathTrimEnd: { mode: "set", keyframes: endKeyframes } 4497 }) 4498 ]; 4499 } 4500 defineProperties(preset, { 4501 duration: { 4502 label: "Duration", 4503 type: "number", 4504 defaultValue: 0.5, 4505 control: "input", 4506 min: 0.01, 4507 unit: "s" 4508 }, 4509 direction: { 4510 label: "Direction", 4511 type: "string", 4512 defaultValue: "forward", 4513 control: "select", 4514 options: [ 4515 { value: "forward", label: "Forward" }, 4516 { value: "reverse", label: "Reverse" } 4517 ] 4518 }, 4519 loopMode: { 4520 label: "Loop Mode", 4521 type: "string", 4522 defaultValue: "circle", 4523 control: "select", 4524 options: [ 4525 { value: "circle", label: "Circle Back" }, 4526 { value: "retrace", label: "Retrace Path" } 4527 ] 4528 }, 4529 segmentLength: { 4530 label: "Segment Length", 4531 type: "number", 4532 defaultValue: 20, 4533 control: "input", 4534 min: 0, 4535 max: 100, 4536 unit: "%" 4537 }, 4538 loops: { 4539 label: "Loops", 4540 type: "number", 4541 defaultValue: 1, 4542 control: "input", 4543 min: 1 4544 } 4545 }); 4546 return __toCommonJS(path_travel_exports); 4547})();`});var u0,c0,d0=Qt(()=>{u0=`// Source-of-truth for the POSITION first-party animation preset. 4548// 4549// The build-time preset-bundle codegen (see \`../scripts/generate_preset_bundles.ts\`) 4550// reads this file's raw text, esbuilds it into an IIFE with \`figma:motion\` 4551// resolved, and emits both strings into \`../generated/position.generated.ts\`. 4552// The generated module is what runtime code consumes \u2014 never import this file
4553// directly from production code paths. 4554// 4555// This file is excluded from the share/motion \`ts_project\` compilation \u2014 it's 4556// only an input to the codegen tool, evaluated inside the QuickJS / iframe 4557// sandbox at runtime. 4558 4559import { animate, defineProperties, EasingType, tween } from 'figma:motion' 4560 4561import type { PresetArgs, PresetTrackDefinitions } from './preset_types' 4562 4563function buildAxisTrack(from: number, to: number, duration: number, easing: unknown) { 4564 return tween({ 4565 mode: 'offset', 4566 timelinePosition: 0, 4567 duration, 4568 from, 4569 to, 4570 easing, 4571 }) 4572} 4573 4574export default function preset({ 4575 type, 4576 direction, 4577 distance, 4578 axis, 4579 startX, 4580 startY, 4581 endX, 4582 endY, 4583 duration, 4584 easing, 4585 node, 4586}: PresetArgs) { 4587 const safeDistance = typeof distance === 'number' ? distance : 0 4588 const safeStartX = typeof startX === 'number' ? startX : 200 4589 const safeStartY = typeof startY === 'number' ? startY : 200 4590 const safeEndX = typeof endX === 'number' ? endX : 0 4591 const safeEndY = typeof endY === 'number' ? endY : 0 4592 const safeDuration = typeof duration === 'number' ? duration : 0.5 4593 4594 const directionalOffsets: Record<string, [number, number]> = { 4595 left: [-safeDistance, 0], 4596 right: [safeDistance, 0], 4597 top: [0, -safeDistance], 4598 bottom: [0, safeDistance], 4599 top_left: [-safeDistance, -safeDistance], 4600 top_right: [safeDistance, -safeDistance], 4601 bottom_left: [-safeDistance, safeDistance], 4602 bottom_right: [safeDistance, safeDistance], 4603 } 4604 4605 const [offsetX, offsetY] = directionalOffsets[direction] ?? [0, 0] 4606 4607 let xTrack: [number, number] | null = null 4608 let yTrack: [number, number] | null = null 4609 4610 switch (type) { 4611 case 'slide_in': { 4612 xTrack = [offsetX, 0] 4613 yTrack = [offsetY, 0] 4614 break 4615 } 4616 case 'slide_out': { 4617 xTrack = [0, offsetX] 4618 yTrack = [0, offsetY] 4619 break 4620 } 4621 case 'custom': { 4622 switch (axis) { 4623 case 'x': { 4624 xTrack = [safeStartX, safeEndX] 4625 break 4626 } 4627 case 'y': { 4628 yTrack = [safeStartY, safeEndY] 4629 break 4630 } 4631 case 'xy': 4632 default: { 4633 xTrack = [safeStartX, safeEndX] 4634 yTrack = [safeStartY, safeEndY] 4635 break 4636 } 4637 } 4638 break 4639 } 4640 default: 4641 break 4642 } 4643 4644 const definition: PresetTrackDefinitions = {} 4645 if (xTrack) { 4646 definition.translateX = buildAxisTrack(xTrack[0], xTrack[1], safeDuration, easing) 4647 } 4648 if (yTrack) { 4649 definition.translateY = buildAxisTrack(yTrack[0], yTrack[1], safeDuration, easing) 4650 } 4651 4652 return [animate(node, definition)] 4653} 4654 4655defineProperties(preset, { 4656 type: { 4657 label: 'motion.preset_flyout.type', 4658 type: 'string', 4659 defaultValue: 'slide_in', 4660 control: 'select', 4661 options: [ 4662 { value: 'slide_in', label: 'motion.preset_flyout.position.type.slide_in' }, 4663 { value: 'slide_out', label: 'motion.preset_flyout.position.type.slide_out' }, 4664 { value: 'custom', label: 'motion.preset_flyout.type.custom' }, 4665 ], 4666 }, 4667 direction: { 4668 label: 'motion.preset_flyout.direction', 4669 type: 'string', 4670 defaultValue: 'left', 4671 control: 'select', 4672 options: [ 4673 { value: 'left', label: 'motion.preset_flyout.position.direction.left' }, 4674 { value: 'right', label: 'motion.preset_flyout.position.direction.right' }, 4675 { value: 'top', label: 'motion.preset_flyout.position.direction.top' }, 4676 { value: 'bottom', label: 'motion.preset_flyout.position.direction.bottom' }, 4677 { value: 'top_left', label: 'motion.preset_flyout.top_left' }, 4678 { value: 'top_right', label: 'motion.preset_flyout.top_right' }, 4679 { value: 'bottom_left', label: 'motion.preset_flyout.bottom_left' }, 4680 { value: 'bottom_right', label: 'motion.preset_flyout.bottom_right' }, 4681 ], 4682 }, 4683 distance: { 4684 label: 'motion.preset_flyout.position.distance', 4685 type: 'number', 4686 control: 'input', 4687 defaultValue: 200, 4688 unit: 'px', 4689 }, 4690 axis: { 4691 label: 'motion.preset_flyout.axis', 4692 type: 'string', 4693 defaultValue: 'xy', 4694 control: 'select', 4695 options: [ 4696 { value: 'x', label: 'motion.preset_flyout.x' }, 4697 { value: 'y', label: 'motion.preset_flyout.y' }, 4698 { value: 'xy', label: 'motion.preset_flyout.both' }, 4699 ], 4700 },
4701 // TODO(showDividerAbove-cleanup): the \`showDividerAbove\` flags in this file 4702 // are redundant \u2014 section dividers are now applied client-side in the preset 4703 // flyout via \`forceShowDividerAboveTransform\` 4704 startX: { 4705 label: 'motion.preset_flyout.start', 4706 type: 'number', 4707 control: 'input', 4708 defaultValue: 200, 4709 showDividerAbove: true, 4710 icon: 'x', 4711 }, 4712 startY: { 4713 label: 'motion.preset_flyout.start', 4714 type: 'number', 4715 control: 'input', 4716 defaultValue: 200, 4717 icon: 'y', 4718 }, 4719 endX: { 4720 label: 'motion.preset_flyout.end', 4721 type: 'number', 4722 control: 'input', 4723 defaultValue: 0, 4724 icon: 'x', 4725 }, 4726 endY: { 4727 label: 'motion.preset_flyout.end', 4728 type: 'number', 4729 control: 'input', 4730 defaultValue: 0, 4731 icon: 'y', 4732 }, 4733 // Note: 'delay' is kept in sync with a preset's \`timelineOffset\` 4734 delay: { 4735 label: 'motion.preset_flyout.delay', 4736 type: 'number', 4737 control: 'input', 4738 defaultValue: 0, 4739 unit: 's', 4740 showDividerAbove: true, 4741 icon: 'delay', 4742 }, 4743 duration: { 4744 label: 'motion.preset_flyout.duration', 4745 type: 'number', 4746 control: 'input', 4747 defaultValue: 0.5, 4748 min: 0.01, 4749 unit: 's', 4750 icon: 'time', 4751 }, 4752 easing: { 4753 label: 'motion.preset_flyout.easing', 4754 type: 'easing', 4755 defaultValue: { 4756 easingType: EasingType.OUT_CUBIC, 4757 }, 4758 }, 4759}) 4760`,c0=`var __presetBundle = (() => { 4761 var __defProp = Object.defineProperty; 4762 var __getOwnPropDesc = Object.getOwnPropertyDescriptor; 4763 var __getOwnPropNames = Object.getOwnPropertyNames; 4764 var __hasOwnProp = Object.prototype.hasOwnProperty; 4765 var __export = (target, all) => { 4766 for (var name in all) 4767 __defProp(target, name, { get: all[name], enumerable: true }); 4768 }; 4769 var __copyProps = (to, from, except, desc) => { 4770 if (from && typeof from === "object" || typeof from === "function") { 4771 for (let key of __getOwnPropNames(from)) 4772 if (!__hasOwnProp.call(to, key) && key !== except) 4773 __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); 4774 } 4775 return to; 4776 }; 4777 var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); 4778 4779
4779// ../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/share/motion/src/presets/source/position.ts 4780 var position_exports = {}; 4781 __export(position_exports, { 4782 default: () => preset 4783 }); 4784 4785 // figma-motion:figma:motion 4786 function defineProperties(component, spec) { 4787 Object.assign(component, { 4788 [/* @__PURE__ */ Symbol.for("figma.react.props")]: spec 4789 }); 4790 } 4791 var EasingType = { 4792 IN_CUBIC: 0, 4793 inCubic: 0, 4794 OUT_CUBIC: 1, 4795 outCubic: 1, 4796 INOUT_CUBIC: 2, 4797 inOutCubic: 2, 4798 LINEAR: 3, 4799 linear: 3, 4800 IN_BACK_CUBIC: 4, 4801 inBackCubic: 4, 4802 OUT_BACK_CUBIC: 5, 4803 outBackCubic: 5, 4804 INOUT_BACK_CUBIC: 6, 4805 inOutBackCubic: 6, 4806 CUSTOM_CUBIC: 7, 4807 customCubic: 7, 4808 SPRING: 8, 4809 spring: 8, 4810 GENTLE_SPRING: 9, 4811 gentleSpring: 9, 4812 CUSTOM_SPRING: 10, 4813 customSpring: 10, 4814 SPRING_PRESET_ONE: 11, 4815 springPresetOne: 11, 4816 SPRING_PRESET_TWO: 12, 4817 springPresetTwo: 12, 4818 SPRING_PRESET_THREE: 13, 4819 springPresetThree: 13, 4820 // For backwards compat 4821 bezier: 100, 4822 BEZIER: 100 4823 }; 4824 var InterpolationType = { 4825 HOLD: 0, 4826 hold: 0, 4827 BEZIER: 1, 4828 bezier: 1 4829 }; 4830 var KeyframeOperation = { 4831 SET: 0, 4832 set: 0, 4833 SCALE: 1, 4834 scale: 1, 4835 OFFSET: 2, 4836 offset: 2 4837 }; 4838 var ParameterField = { 4839 MISSING: 0, 4840 missing: 0, 4841 CORNER_RADIUS: 1, 4842 cornerRadius: 1, 4843 PARAGRAPH_SPACING: 2, 4844 paragraphSpacing: 2, 4845 PARAGRAPH_INDENT: 3, 4846 paragraphIndent: 3, 4847 STROKE_WEIGHT: 4, 4848 strokeWeight: 4, 4849 STACK_SPACING: 5, 4850 stackSpacing: 5, 4851 STACK_PADDING_LEFT: 6, 4852 stackPaddingLeft: 6, 4853 STACK_PADDING_TOP: 7, 4854 stackPaddingTop: 7, 4855 STACK_PADDING_RIGHT: 8, 4856 stackPaddingRight: 8, 4857 STACK_PADDING_BOTTOM: 9, 4858 stackPaddingBottom: 9, 4859 VISIBLE: 10, 4860 visible: 10, 4861 TEXT_DATA: 11, 4862 textData: 11, 4863 WIDTH: 12, 4864 width: 12, 4865 HEIGHT: 13, 4866 height: 13, 4867 RECTANGLE_TOP_LEFT_CORNER_RADIUS: 14, 4868 rectangleTopLeftCornerRadius: 14, 4869 RECTANGLE_TOP_RIGHT_CORNER_RADIUS: 15, 4870 rectangleTopRightCornerRadius: 15, 4871 RECTANGLE_BOTTOM_LEFT_CORNER_RADIUS: 16, 4872 rectangleBottomLeftCornerRadius: 16, 4873 RECTANGLE_BOTTOM_RIGHT_CORNER_RADIUS: 17, 4874 rectangleBottomRightCornerRadius: 17, 4875 BORDER_TOP_WEIGHT: 18, 4876 borderTopWeight: 18, 4877 BORDER_BOTTOM_WEIGHT: 19, 4878 borderBottomWeight: 19, 4879 BORDER_LEFT_WEIGHT: 20, 4880 borderLeftWeight: 20, 4881 BORDER_RIGHT_WEIGHT: 21, 4882 borderRightWeight: 21, 4883 VARIANT_PROPERTIES: 22, 4884 variantProperties: 22, 4885 STACK_COUNTER_SPACING: 23, 4886 stackCounterSpacing: 23, 4887 MIN_WIDTH: 24, 4888 minWidth: 24, 4889 MAX_WIDTH: 25, 4890 maxWidth: 25, 4891 MIN_HEIGHT: 26, 4892 minHeight: 26, 4893 MAX_HEIGHT: 27, 4894 maxHeight: 27, 4895 FONT_FAMILY: 28, 4896 fontFamily: 28, 4897 FONT_STYLE: 29, 4898 fontStyle: 29, 4899 FONT_VARIATIONS: 30, 4900 fontVariations: 30, 4901 OPACITY: 31, 4902 opacity: 31, 4903 FONT_SIZE: 32, 4904 fontSize: 32, 4905 LETTER_SPACING: 34, 4906 letterSpacing: 34, 4907 LINE_HEIGHT: 36, 4908 lineHeight: 36, 4909 OVERRIDDEN_SYMBOL_ID: 37, 4910 overriddenSymbolId: 37, 4911 CMS_SERIALIZED_RICH_TEXT_DATA: 38, 4912 cmsSerializedRichTextData: 38, 4913 HYPERLINK: 39, 4914 hyperlink: 39, 4915 SLOT_CONTENT_ID: 40, 4916 slotContentId: 40, 4917 GRID_ROW_GAP: 41, 4918 gridRowGap: 41, 4919 GRID_COLUMN_GAP: 42, 4920 gridColumnGap: 42, 4921 RELATIVE_X_POSITION: 43, 4922 xPosition: 43, 4923 RELATIVE_Y_POSITION: 44, 4924 relativeYPosition: 44, 4925 RELATIVE_ROTATION: 45, 4926 relativeRotation: 45, 4927 MOTION_TRANSLATION_X: 46, 4928 motionTranslationX: 46, 4929 MOTION_TRANSLATION_Y: 47, 4930 motionTranslationY: 47, 4931 MOTION_ROTATION: 48, 4932 motionRotation: 48, 4933 MOTION_SCALE_X: 49, 4934 motionScaleX: 49, 4935 MOTION_SCALE_Y: 50, 4936 motionScaleY: 50, 4937 MOTION_SHEAR: 51, 4938 motionShear: 51, 4939 SCROLL_OFFSET_X: 52, 4940 scrollOffsetX: 52, 4941 SCROLL_OFFSET_Y: 53, 4942 scrollOffsetY: 53, 4943 PATH_TRIM_START: 54, 4944 pathTrimStart: 54, 4945 PATH_TRIM_END: 55, 4946 pathTrimEnd: 55, 4947 DISSOLVE_PROGRESS: 56, 4948 dissolveProgress: 56 4949 }; 4950 var Keyframe = class { 4951 constructor(data) { 4952 this.timelinePosition = Math.round(data.timelinePosition); 4953 this.easing = data.easing; 4954 this.value = data.value; 4955 } 4956 }; 4957 var KeyframeTrack = class { 4958 constructor(data) { 4959 this.topLevelField = data.topLevelField; 4960 this.parameterField = data.parameterField; 4961 this.index = data.index; 4962 this.effectParametrizedField = data.effectParametrizedField; 4963 this.keyframeOperation = data.keyframeOperation; 4964 this.keyframes = data.keyframes; 4965 this.enabled = !!data.enabled; 4966 } 4967 }; 4968 var AnimationPreset = class { 4969 constructor(data) { 4970 this.nodeId = data.nodeId; 4971 this.keyframeTracks = data.keyframeTracks; 4972 } 4973 }; 4974 var PARAMETER_FIELD_ALIAS_MAP = { 4975 translateX: ParameterField.MOTION_TRANSLATION_X, 4976 translateY: ParameterField.MOTION_TRANSLATION_Y, 4977 rotate: ParameterField.MOTION_ROTATION, 4978 scaleX: ParameterField.MOTION_SCALE_X, 4979 scaleY: ParameterField.MOTION_SCALE_Y, 4980 shear: ParameterField.MOTION_SHEAR 4981 }; 4982 var KEYFRAMEABLE_FIELDS = /* @__PURE__ */ new Set([ 4983 "translateX", 4984 "translateY", 4985 "rotate", 4986 "scaleX", 4987 "scaleY", 4988 "shear", 4989 "cornerRadius", 4990 "strokeWeight", 4991 "rectangleTopLeftCornerRadius", 4992 "rectangleTopRightCornerRadius", 4993 "rectangleBottomLeftCornerRadius", 4994 "rectangleBottomRightCornerRadius", 4995 "stackSpacing", 4996 "stackPaddingLeft", 4997 "stackPaddingTop", 4998 "stackPaddingRight", 4999 "stackPaddingBottom", 5000 "width", 5001 "height", 5002 "borderTopWeight", 5003 "borderBottomWeight", 5004 "borderLeftWeight", 5005 "borderRightWeight", 5006 "stackCounterSpacing", 5007 "minWidth", 5008 "maxWidth", 5009 "minHeight", 5010 "maxHeight", 5011 "opacity", 5012 "gridRowGap", 5013 "gridColumnGap", 5014 "textData", 5015 "pathTrimStart", 5016 "pathTrimEnd" 5017 ]); 5018 var MODE_TO_OPERATION = { 5019 set: KeyframeOperation.SET, 5020 SET: KeyframeOperation.SET, 5021 offset: KeyframeOperation.OFFSET, 5022 OFFSET: KeyframeOperation.OFFSET, 5023 scale: KeyframeOperation.SCALE, 5024 SCALE: KeyframeOperation.SCALE 5025 }; 5026 function normalizeEasing(easing) { 5027 if (easing === void 0) return void 0; 5028 if (easing === "hold") return { interpolationType: InterpolationType.HOLD }; 5029 if (typeof easing === "string") { 5030 const easingType = EasingType[easing]; 5031 if (easingType === void 0) throw new Error('normalizeEasing: unknown easing "' + easing + '"'); 5032 return { easingType }; 5033 } 5034 return easing; 5035 } 5036 function compileKeyframe({ timelinePosition, value, easing }) { 5037 return new Keyframe({ 5038 timelinePosition: timelinePosition * 1e6, 5039 easing: normalizeEasing(easing), 5040 value 5041 }); 5042 } 5043 function tween({ mode, timelinePosition = 0, duration, from, to, easing, enabled = true }) { 5044 if (duration < 0) throw new Error("tween: duration must be non-negative"); 5045 return { 5046 mode, 5047 enabled, 5048 keyframes: [ 5049 { timelinePosition, value: from, easing }, 5050 { timelinePosition: timelinePosition + duration, value: to, easing } 5051 ] 5052 }; 5053 } 5054 function animate(node, definition) { 5055 const nodeId = typeof node === "string" ? node : node.id;
5056 const keyframeTracks = []; 5057 for (const [key, trackDef] of Object.entries(definition)) { 5058 if (!KEYFRAMEABLE_FIELDS.has(key)) { 5059 throw new Error('animate: unknown or non-keyframeable property "' + key + '"'); 5060 } 5061 const parameterField = PARAMETER_FIELD_ALIAS_MAP[key] ?? ParameterField[key]; 5062 const operation = MODE_TO_OPERATION[trackDef.mode]; 5063 if (operation === void 0) throw new Error('animate: unknown mode "' + trackDef.mode + '"'); 5064 const seen = /* @__PURE__ */ new Map(); 5065 for (const kf of trackDef.keyframes) seen.set(kf.timelinePosition, kf); 5066 const sorted = [...seen.values()].sort((a, b) => a.timelinePosition - b.timelinePosition); 5067 keyframeTracks.push(new KeyframeTrack({ 5068 parameterField, 5069 keyframeOperation: operation, 5070 keyframes: sorted.map(compileKeyframe), 5071 enabled: trackDef.enabled !== false 5072 })); 5073 } 5074 return new AnimationPreset({ nodeId, keyframeTracks }); 5075 } 5076 5077
5077// ../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/share/motion/src/presets/source/position.ts 5078 function buildAxisTrack(from, to, duration, easing) { 5079 return tween({ 5080 mode: "offset", 5081 timelinePosition: 0, 5082 duration, 5083 from, 5084 to, 5085 easing 5086 }); 5087 } 5088 function preset({ 5089 type, 5090 direction, 5091 distance, 5092 axis, 5093 startX, 5094 startY, 5095 endX, 5096 endY, 5097 duration, 5098 easing, 5099 node 5100 }) { 5101 const safeDistance = typeof distance === "number" ? distance : 0; 5102 const safeStartX = typeof startX === "number" ? startX : 200; 5103 const safeStartY = typeof startY === "number" ? startY : 200; 5104 const safeEndX = typeof endX === "number" ? endX : 0; 5105 const safeEndY = typeof endY === "number" ? endY : 0; 5106 const safeDuration = typeof duration === "number" ? duration : 0.5; 5107 const directionalOffsets = { 5108 left: [-safeDistance, 0], 5109 right: [safeDistance, 0], 5110 top: [0, -safeDistance], 5111 bottom: [0, safeDistance], 5112 top_left: [-safeDistance, -safeDistance], 5113 top_right: [safeDistance, -safeDistance], 5114 bottom_left: [-safeDistance, safeDistance], 5115 bottom_right: [safeDistance, safeDistance] 5116 }; 5117 const [offsetX, offsetY] = directionalOffsets[direction] ?? [0, 0]; 5118 let xTrack = null; 5119 let yTrack = null; 5120 switch (type) { 5121 case "slide_in": { 5122 xTrack = [offsetX, 0]; 5123 yTrack = [offsetY, 0]; 5124 break; 5125 } 5126 case "slide_out": { 5127 xTrack = [0, offsetX]; 5128 yTrack = [0, offsetY]; 5129 break; 5130 } 5131 case "custom": { 5132 switch (axis) { 5133 case "x": { 5134 xTrack = [safeStartX, safeEndX]; 5135 break; 5136 } 5137 case "y": { 5138 yTrack = [safeStartY, safeEndY]; 5139 break; 5140 } 5141 case "xy": 5142 default: { 5143 xTrack = [safeStartX, safeEndX]; 5144 yTrack = [safeStartY, safeEndY]; 5145 break; 5146 } 5147 } 5148 break; 5149 } 5150 default: 5151 break; 5152 } 5153 const definition = {}; 5154 if (xTrack) { 5155 definition.translateX = buildAxisTrack(xTrack[0], xTrack[1], safeDuration, easing); 5156 } 5157 if (yTrack) { 5158 definition.translateY = buildAxisTrack(yTrack[0], yTrack[1], safeDuration, easing); 5159 } 5160 return [animate(node, definition)]; 5161 } 5162 defineProperties(preset, { 5163 type: { 5164 label: "motion.preset_flyout.type", 5165 type: "string", 5166 defaultValue: "slide_in", 5167 control: "select", 5168 options: [ 5169 { value: "slide_in", label: "motion.preset_flyout.position.type.slide_in" }, 5170 { value: "slide_out", label: "motion.preset_flyout.position.type.slide_out" }, 5171 { value: "custom", label: "motion.preset_flyout.type.custom" } 5172 ] 5173 }, 5174 direction: { 5175 label: "motion.preset_flyout.direction", 5176 type: "string", 5177 defaultValue: "left", 5178 control: "select", 5179 options: [ 5180 { value: "left", label: "motion.preset_flyout.position.direction.left" }, 5181 { value: "right", label: "motion.preset_flyout.position.direction.right" }, 5182 { value: "top", label: "motion.preset_flyout.position.direction.top" }, 5183 { value: "bottom", label: "motion.preset_flyout.position.direction.bottom" }, 5184 { value: "top_left", label: "motion.preset_flyout.top_left" }, 5185 { value: "top_right", label: "motion.preset_flyout.top_right" }, 5186 { value: "bottom_left", label: "motion.preset_flyout.bottom_left" }, 5187 { value: "bottom_right", label: "motion.preset_flyout.bottom_right" } 5188 ] 5189 }, 5190 distance: { 5191 label: "motion.preset_flyout.position.distance", 5192 type: "number", 5193 control: "input", 5194 defaultValue: 200, 5195 unit: "px" 5196 }, 5197 axis: { 5198 label: "motion.preset_flyout.axis", 5199 type: "string", 5200 defaultValue: "xy", 5201 control: "select", 5202 options: [ 5203 { value: "x", label: "motion.preset_flyout.x" }, 5204 { value: "y", label: "motion.preset_flyout.y" }, 5205 { value: "xy", label: "motion.preset_flyout.both" } 5206 ] 5207 },
5208 // TODO(showDividerAbove-cleanup): the \`showDividerAbove\` flags in this file 5209 // are redundant \u2014 section dividers are now applied client-side in the preset 5210 // flyout via \`forceShowDividerAboveTransform\` 5211 startX: { 5212 label: "motion.preset_flyout.start", 5213 type: "number", 5214 control: "input", 5215 defaultValue: 200, 5216 showDividerAbove: true, 5217 icon: "x" 5218 }, 5219 startY: { 5220 label: "motion.preset_flyout.start", 5221 type: "number", 5222 control: "input", 5223 defaultValue: 200, 5224 icon: "y" 5225 }, 5226 endX: { 5227 label: "motion.preset_flyout.end", 5228 type: "number", 5229 control: "input", 5230 defaultValue: 0, 5231 icon: "x" 5232 }, 5233 endY: { 5234 label: "motion.preset_flyout.end", 5235 type: "number", 5236 control: "input", 5237 defaultValue: 0, 5238 icon: "y" 5239 }, 5240 // Note: 'delay' is kept in sync with a preset's \`timelineOffset\` 5241 delay: { 5242 label: "motion.preset_flyout.delay", 5243 type: "number", 5244 control: "input", 5245 defaultValue: 0, 5246 unit: "s", 5247 showDividerAbove: true, 5248 icon: "delay" 5249 }, 5250 duration: { 5251 label: "motion.preset_flyout.duration", 5252 type: "number", 5253 control: "input", 5254 defaultValue: 0.5, 5255 min: 0.01, 5256 unit: "s", 5257 icon: "time" 5258 }, 5259 easing: { 5260 label: "motion.preset_flyout.easing", 5261 type: "easing", 5262 defaultValue: { 5263 easingType: EasingType.OUT_CUBIC 5264 } 5265 } 5266 }); 5267 return __toCommonJS(position_exports); 5268})();`});
5268var f0,p0,m0=Qt(()=>{f0=`// Source-of-truth for the RESIZE first-party animation preset. 5269// 5270// The build-time preset-bundle codegen (see \`../scripts/generate_preset_bundles.ts\`) 5271// reads this file's raw text, esbuilds it into an IIFE with \`figma:motion\` 5272// resolved, and emits both strings into \`../generated/resize.generated.ts\`. The 5273// generated module is what runtime code consumes \u2014 never import this file 5274// directly from production code paths. 5275// 5276// This file is excluded from the share/motion \`ts_project\` compilation \u2014 it's 5277// only an input to the codegen tool, evaluated inside the QuickJS / iframe 5278// sandbox at runtime. 5279 5280import { animate, defineProperties, EasingType, tween } from 'figma:motion' 5281 5282import type { PresetArgs, PresetTrackDefinitions } from './preset_types' 5283 5284export default function preset({ widthChange, heightChange, duration, easing, node }: PresetArgs) { 5285 const definition: PresetTrackDefinitions = {} 5286 5287 if (widthChange !== 0) 5288 definition.width = tween({ 5289 mode: 'offset', 5290 duration, 5291 from: 0, 5292 to: widthChange, 5293 easing, 5294 }) 5295 5296 if (heightChange !== 0) 5297 definition.height = tween({ 5298 mode: 'offset', 5299 duration, 5300 from: 0, 5301 to: heightChange, 5302 easing, 5303 }) 5304 5305 return [animate(node, definition)] 5306} 5307 5308defineProperties(preset, { 5309 widthChange: { 5310 label: 'Width Change', 5311 type: 'number', 5312 defaultValue: 100, 5313 control: 'input', 5314 }, 5315 heightChange: { 5316 label: 'Height Change', 5317 type: 'number', 5318 defaultValue: 0, 5319 control: 'input', 5320 }, 5321 duration: { 5322 label: 'Duration', 5323 type: 'number', 5324 defaultValue: 0.5, 5325 control: 'input', 5326 min: 0.01, 5327 unit: 's', 5328 }, 5329 easing: { 5330 label: 'Easing', 5331 type: 'easing', 5332 defaultValue: { 5333 easingType: EasingType.OUT_CUBIC, 5334 }, 5335 }, 5336}) 5337`,p0=`var __presetBundle = (() => { 5338 var __defProp = Object.defineProperty; 5339 var __getOwnPropDesc = Object.getOwnPropertyDescriptor; 5340 var __getOwnPropNames = Object.getOwnPropertyNames; 5341 var __hasOwnProp = Object.prototype.hasOwnProperty; 5342 var __export = (target, all) => { 5343 for (var name in all) 5344 __defProp(target, name, { get: all[name], enumerable: true }); 5345 }; 5346 var __copyProps = (to, from, except, desc) => { 5347 if (from && typeof from === "object" || typeof from === "function") { 5348 for (let key of __getOwnPropNames(from)) 5349 if (!__hasOwnProp.call(to, key) && key !== except) 5350 __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); 5351 } 5352 return to; 5353 }; 5354 var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); 5355 5356
5356// ../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/share/motion/src/presets/source/resize.ts 5357 var resize_exports = {}; 5358 __export(resize_exports, { 5359 default: () => preset 5360 }); 5361 5362 // figma-motion:figma:motion 5363 function defineProperties(component, spec) { 5364 Object.assign(component, { 5365 [/* @__PURE__ */ Symbol.for("figma.react.props")]: spec 5366 }); 5367 } 5368 var EasingType = { 5369 IN_CUBIC: 0, 5370 inCubic: 0, 5371 OUT_CUBIC: 1, 5372 outCubic: 1, 5373 INOUT_CUBIC: 2, 5374 inOutCubic: 2, 5375 LINEAR: 3, 5376 linear: 3, 5377 IN_BACK_CUBIC: 4, 5378 inBackCubic: 4, 5379 OUT_BACK_CUBIC: 5, 5380 outBackCubic: 5, 5381 INOUT_BACK_CUBIC: 6, 5382 inOutBackCubic: 6, 5383 CUSTOM_CUBIC: 7, 5384 customCubic: 7, 5385 SPRING: 8, 5386 spring: 8, 5387 GENTLE_SPRING: 9, 5388 gentleSpring: 9, 5389 CUSTOM_SPRING: 10, 5390 customSpring: 10, 5391 SPRING_PRESET_ONE: 11, 5392 springPresetOne: 11, 5393 SPRING_PRESET_TWO: 12, 5394 springPresetTwo: 12, 5395 SPRING_PRESET_THREE: 13, 5396 springPresetThree: 13, 5397 // For backwards compat 5398 bezier: 100, 5399 BEZIER: 100 5400 }; 5401 var InterpolationType = { 5402 HOLD: 0, 5403 hold: 0, 5404 BEZIER: 1, 5405 bezier: 1 5406 }; 5407 var KeyframeOperation = { 5408 SET: 0, 5409 set: 0, 5410 SCALE: 1, 5411 scale: 1, 5412 OFFSET: 2, 5413 offset: 2 5414 }; 5415 var ParameterField = { 5416 MISSING: 0, 5417 missing: 0, 5418 CORNER_RADIUS: 1, 5419 cornerRadius: 1, 5420 PARAGRAPH_SPACING: 2, 5421 paragraphSpacing: 2, 5422 PARAGRAPH_INDENT: 3, 5423 paragraphIndent: 3, 5424 STROKE_WEIGHT: 4, 5425 strokeWeight: 4, 5426 STACK_SPACING: 5, 5427 stackSpacing: 5, 5428 STACK_PADDING_LEFT: 6, 5429 stackPaddingLeft: 6, 5430 STACK_PADDING_TOP: 7, 5431 stackPaddingTop: 7, 5432 STACK_PADDING_RIGHT: 8, 5433 stackPaddingRight: 8, 5434 STACK_PADDING_BOTTOM: 9, 5435 stackPaddingBottom: 9, 5436 VISIBLE: 10, 5437 visible: 10, 5438 TEXT_DATA: 11, 5439 textData: 11, 5440 WIDTH: 12, 5441 width: 12, 5442 HEIGHT: 13, 5443 height: 13, 5444 RECTANGLE_TOP_LEFT_CORNER_RADIUS: 14, 5445 rectangleTopLeftCornerRadius: 14, 5446 RECTANGLE_TOP_RIGHT_CORNER_RADIUS: 15, 5447 rectangleTopRightCornerRadius: 15, 5448 RECTANGLE_BOTTOM_LEFT_CORNER_RADIUS: 16, 5449 rectangleBottomLeftCornerRadius: 16, 5450 RECTANGLE_BOTTOM_RIGHT_CORNER_RADIUS: 17, 5451 rectangleBottomRightCornerRadius: 17, 5452 BORDER_TOP_WEIGHT: 18, 5453 borderTopWeight: 18, 5454 BORDER_BOTTOM_WEIGHT: 19, 5455 borderBottomWeight: 19, 5456 BORDER_LEFT_WEIGHT: 20, 5457 borderLeftWeight: 20, 5458 BORDER_RIGHT_WEIGHT: 21, 5459 borderRightWeight: 21, 5460 VARIANT_PROPERTIES: 22, 5461 variantProperties: 22, 5462 STACK_COUNTER_SPACING: 23, 5463 stackCounterSpacing: 23, 5464 MIN_WIDTH: 24, 5465 minWidth: 24, 5466 MAX_WIDTH: 25, 5467 maxWidth: 25, 5468 MIN_HEIGHT: 26, 5469 minHeight: 26, 5470 MAX_HEIGHT: 27, 5471 maxHeight: 27, 5472 FONT_FAMILY: 28, 5473 fontFamily: 28, 5474 FONT_STYLE: 29, 5475 fontStyle: 29, 5476 FONT_VARIATIONS: 30, 5477 fontVariations: 30, 5478 OPACITY: 31, 5479 opacity: 31, 5480 FONT_SIZE: 32, 5481 fontSize: 32, 5482 LETTER_SPACING: 34, 5483 letterSpacing: 34, 5484 LINE_HEIGHT: 36, 5485 lineHeight: 36, 5486 OVERRIDDEN_SYMBOL_ID: 37, 5487 overriddenSymbolId: 37, 5488 CMS_SERIALIZED_RICH_TEXT_DATA: 38, 5489 cmsSerializedRichTextData: 38, 5490 HYPERLINK: 39, 5491 hyperlink: 39, 5492 SLOT_CONTENT_ID: 40, 5493 slotContentId: 40, 5494 GRID_ROW_GAP: 41, 5495 gridRowGap: 41, 5496 GRID_COLUMN_GAP: 42, 5497 gridColumnGap: 42, 5498 RELATIVE_X_POSITION: 43, 5499 xPosition: 43, 5500 RELATIVE_Y_POSITION: 44, 5501 relativeYPosition: 44, 5502 RELATIVE_ROTATION: 45, 5503 relativeRotation: 45, 5504 MOTION_TRANSLATION_X: 46, 5505 motionTranslationX: 46, 5506 MOTION_TRANSLATION_Y: 47, 5507 motionTranslationY: 47, 5508 MOTION_ROTATION: 48, 5509 motionRotation: 48, 5510 MOTION_SCALE_X: 49, 5511 motionScaleX: 49, 5512 MOTION_SCALE_Y: 50, 5513 motionScaleY: 50, 5514 MOTION_SHEAR: 51, 5515 motionShear: 51, 5516 SCROLL_OFFSET_X: 52, 5517 scrollOffsetX: 52, 5518 SCROLL_OFFSET_Y: 53, 5519 scrollOffsetY: 53, 5520 PATH_TRIM_START: 54, 5521 pathTrimStart: 54, 5522 PATH_TRIM_END: 55, 5523 pathTrimEnd: 55, 5524 DISSOLVE_PROGRESS: 56, 5525 dissolveProgress: 56 5526 }; 5527 var Keyframe = class { 5528 constructor(data) { 5529 this.timelinePosition = Math.round(data.timelinePosition); 5530 this.easing = data.easing; 5531 this.value = data.value; 5532 } 5533 }; 5534 var KeyframeTrack = class { 5535 constructor(data) { 5536 this.topLevelField = data.topLevelField; 5537 this.parameterField = data.parameterField; 5538 this.index = data.index; 5539 this.effectParametrizedField = data.effectParametrizedField; 5540 this.keyframeOperation = data.keyframeOperation; 5541 this.keyframes = data.keyframes; 5542 this.enabled = !!data.enabled; 5543 } 5544 }; 5545 var AnimationPreset = class { 5546 constructor(data) { 5547 this.nodeId = data.nodeId; 5548 this.keyframeTracks = data.keyframeTracks; 5549 } 5550 }; 5551 var PARAMETER_FIELD_ALIAS_MAP = { 5552 translateX: ParameterField.MOTION_TRANSLATION_X, 5553 translateY: ParameterField.MOTION_TRANSLATION_Y, 5554 rotate: ParameterField.MOTION_ROTATION, 5555 scaleX: ParameterField.MOTION_SCALE_X, 5556 scaleY: ParameterField.MOTION_SCALE_Y, 5557 shear: ParameterField.MOTION_SHEAR 5558 }; 5559 var KEYFRAMEABLE_FIELDS = /* @__PURE__ */ new Set([ 5560 "translateX", 5561 "translateY", 5562 "rotate", 5563 "scaleX", 5564 "scaleY", 5565 "shear", 5566 "cornerRadius", 5567 "strokeWeight", 5568 "rectangleTopLeftCornerRadius", 5569 "rectangleTopRightCornerRadius", 5570 "rectangleBottomLeftCornerRadius", 5571 "rectangleBottomRightCornerRadius", 5572 "stackSpacing", 5573 "stackPaddingLeft", 5574 "stackPaddingTop", 5575 "stackPaddingRight", 5576 "stackPaddingBottom", 5577 "width", 5578 "height", 5579 "borderTopWeight", 5580 "borderBottomWeight", 5581 "borderLeftWeight", 5582 "borderRightWeight", 5583 "stackCounterSpacing", 5584 "minWidth", 5585 "maxWidth", 5586 "minHeight", 5587 "maxHeight", 5588 "opacity", 5589 "gridRowGap", 5590 "gridColumnGap", 5591 "textData", 5592 "pathTrimStart", 5593 "pathTrimEnd" 5594 ]); 5595 var MODE_TO_OPERATION = { 5596 set: KeyframeOperation.SET, 5597 SET: KeyframeOperation.SET, 5598 offset: KeyframeOperation.OFFSET, 5599 OFFSET: KeyframeOperation.OFFSET, 5600 scale: KeyframeOperation.SCALE, 5601 SCALE: KeyframeOperation.SCALE 5602 }; 5603 function normalizeEasing(easing) { 5604 if (easing === void 0) return void 0; 5605 if (easing === "hold") return { interpolationType: InterpolationType.HOLD }; 5606 if (typeof easing === "string") { 5607 const easingType = EasingType[easing]; 5608 if (easingType === void 0) throw new Error('normalizeEasing: unknown easing "' + easing + '"'); 5609 return { easingType }; 5610 } 5611 return easing; 5612 } 5613 function compileKeyframe({ timelinePosition, value, easing }) { 5614 return new Keyframe({ 5615 timelinePosition: timelinePosition * 1e6, 5616 easing: normalizeEasing(easing), 5617 value 5618 }); 5619 } 5620 function tween({ mode, timelinePosition = 0, duration, from, to, easing, enabled = true }) { 5621 if (duration < 0) throw new Error("tween: duration must be non-negative"); 5622 return { 5623 mode, 5624 enabled, 5625 keyframes: [ 5626 { timelinePosition, value: from, easing }, 5627 { timelinePosition: timelinePosition + duration, value: to, easing } 5628 ] 5629 }; 5630 } 5631 function animate(node, definition) { 5632 const nodeId = typeof node === "string" ? node : node.id;
5633 const keyframeTracks = []; 5634 for (const [key, trackDef] of Object.entries(definition)) { 5635 if (!KEYFRAMEABLE_FIELDS.has(key)) { 5636 throw new Error('animate: unknown or non-keyframeable property "' + key + '"'); 5637 } 5638 const parameterField = PARAMETER_FIELD_ALIAS_MAP[key] ?? ParameterField[key]; 5639 const operation = MODE_TO_OPERATION[trackDef.mode]; 5640 if (operation === void 0) throw new Error('animate: unknown mode "' + trackDef.mode + '"'); 5641 const seen = /* @__PURE__ */ new Map(); 5642 for (const kf of trackDef.keyframes) seen.set(kf.timelinePosition, kf); 5643 const sorted = [...seen.values()].sort((a, b) => a.timelinePosition - b.timelinePosition); 5644 keyframeTracks.push(new KeyframeTrack({ 5645 parameterField, 5646 keyframeOperation: operation, 5647 keyframes: sorted.map(compileKeyframe), 5648 enabled: trackDef.enabled !== false 5649 })); 5650 } 5651 return new AnimationPreset({ nodeId, keyframeTracks }); 5652 } 5653 5654
5654// ../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/share/motion/src/presets/source/resize.ts 5655 function preset({ widthChange, heightChange, duration, easing, node }) { 5656 const definition = {}; 5657 if (widthChange !== 0) 5658 definition.width = tween({ 5659 mode: "offset", 5660 duration, 5661 from: 0, 5662 to: widthChange, 5663 easing 5664 }); 5665 if (heightChange !== 0) 5666 definition.height = tween({ 5667 mode: "offset", 5668 duration, 5669 from: 0, 5670 to: heightChange, 5671 easing 5672 }); 5673 return [animate(node, definition)]; 5674 } 5675 defineProperties(preset, { 5676 widthChange: { 5677 label: "Width Change", 5678 type: "number", 5679 defaultValue: 100, 5680 control: "input" 5681 }, 5682 heightChange: { 5683 label: "Height Change", 5684 type: "number", 5685 defaultValue: 0, 5686 control: "input" 5687 }, 5688 duration: { 5689 label: "Duration", 5690 type: "number", 5691 defaultValue: 0.5, 5692 control: "input", 5693 min: 0.01, 5694 unit: "s" 5695 }, 5696 easing: { 5697 label: "Easing", 5698 type: "easing", 5699 defaultValue: { 5700 easingType: EasingType.OUT_CUBIC 5701 } 5702 } 5703 }); 5704 return __toCommonJS(resize_exports); 5705})();`});var E0,_0,T0=Qt(()=>{E0=`// Source-of-truth for the ROTATE first-party animation preset. 5706// 5707// The build-time preset-bundle codegen (see \`../scripts/generate_preset_bundles.ts\`) 5708// reads this file's raw text, esbuilds it into an IIFE with \`figma:motion\` 5709// resolved, and emits both strings into \`../generated/rotate.generated.ts\`. The 5710// generated module is what runtime code consumes \u2014 never import this file 5711// directly from production code paths. 5712// 5713// This file is excluded from the share/motion \`ts_project\` compilation \u2014 it's 5714// only an input to the codegen tool, evaluated inside the QuickJS / iframe 5715// sandbox at runtime. 5716 5717import { animate, defineProperties, EasingType, tween } from 'figma:motion' 5718 5719import type { PresetArgs, PresetTrackDefinitions } from './preset_types' 5720 5721export default function preset({ timing, rotation, duration, fade, easing, node }: PresetArgs) { 5722 const rotRad = rotation * (Math.PI / 180) 5723 const rFrom = timing === 'in' ? rotRad : 0 5724 const rTo = timing === 'in' ? 0 : rotRad 5725 const definition: PresetTrackDefinitions = { 5726 rotate: tween({ 5727 mode: 'offset', 5728 duration, 5729 from: rFrom, 5730 to: rTo, 5731 easing, 5732 }), 5733 } 5734 5735 if (fade) { 5736 const opFrom = timing === 'in' ? 0 : 1 5737 const opTo = timing === 'in' ? 1 : 0 5738 definition.opacity = tween({ 5739 mode: 'scale', 5740 duration, 5741 from: opFrom, 5742 to: opTo, 5743 easing, 5744 }) 5745 } 5746 5747 return [animate(node, definition)] 5748} 5749 5750defineProperties(preset, { 5751 timing: { 5752 label: 'Timing', 5753 type: 'string', 5754 defaultValue: 'out', 5755 control: 'select', 5756 options: [ 5757 { value: 'in', label: 'Rotate In' }, 5758 { value: 'out', label: 'Rotate Out' }, 5759 ], 5760 }, 5761 rotation: { 5762 label: 'Rotation', 5763 type: 'number', 5764 defaultValue: 180, 5765 control: 'input', 5766 }, 5767 duration: { 5768 label: 'Duration', 5769 type: 'number', 5770 defaultValue: 0.5, 5771 control: 'input', 5772 min: 0.01, 5773 unit: 's', 5774 }, 5775 fade: { 5776 label: 'Fade', 5777 type: 'boolean', 5778 defaultValue: false, 5779 }, 5780 easing: { 5781 label: 'Easing', 5782 type: 'easing', 5783 defaultValue: { 5784 easingType: EasingType.OUT_CUBIC, 5785 }, 5786 }, 5787}) 5788`,_0=`var __presetBundle = (() => { 5789 var __defProp = Object.defineProperty; 5790 var __getOwnPropDesc = Object.getOwnPropertyDescriptor; 5791 var __getOwnPropNames = Object.getOwnPropertyNames; 5792 var __hasOwnProp = Object.prototype.hasOwnProperty; 5793 var __export = (target, all) => { 5794 for (var name in all) 5795 __defProp(target, name, { get: all[name], enumerable: true }); 5796 }; 5797 var __copyProps = (to, from, except, desc) => { 5798 if (from && typeof from === "object" || typeof from === "function") { 5799 for (let key of __getOwnPropNames(from)) 5800 if (!__hasOwnProp.call(to, key) && key !== except) 5801 __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); 5802 } 5803 return to; 5804 }; 5805 var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); 5806 5807
5807// ../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/share/motion/src/presets/source/rotate.ts 5808 var rotate_exports = {}; 5809 __export(rotate_exports, { 5810 default: () => preset 5811 }); 5812 5813 // figma-motion:figma:motion 5814 function defineProperties(component, spec) { 5815 Object.assign(component, { 5816 [/* @__PURE__ */ Symbol.for("figma.react.props")]: spec 5817 }); 5818 } 5819 var EasingType = { 5820 IN_CUBIC: 0, 5821 inCubic: 0, 5822 OUT_CUBIC: 1, 5823 outCubic: 1, 5824 INOUT_CUBIC: 2, 5825 inOutCubic: 2, 5826 LINEAR: 3, 5827 linear: 3, 5828 IN_BACK_CUBIC: 4, 5829 inBackCubic: 4, 5830 OUT_BACK_CUBIC: 5, 5831 outBackCubic: 5, 5832 INOUT_BACK_CUBIC: 6, 5833 inOutBackCubic: 6, 5834 CUSTOM_CUBIC: 7, 5835 customCubic: 7, 5836 SPRING: 8, 5837 spring: 8, 5838 GENTLE_SPRING: 9, 5839 gentleSpring: 9, 5840 CUSTOM_SPRING: 10, 5841 customSpring: 10, 5842 SPRING_PRESET_ONE: 11, 5843 springPresetOne: 11, 5844 SPRING_PRESET_TWO: 12, 5845 springPresetTwo: 12, 5846 SPRING_PRESET_THREE: 13, 5847 springPresetThree: 13, 5848 // For backwards compat 5849 bezier: 100, 5850 BEZIER: 100 5851 }; 5852 var InterpolationType = { 5853 HOLD: 0, 5854 hold: 0, 5855 BEZIER: 1, 5856 bezier: 1 5857 }; 5858 var KeyframeOperation = { 5859 SET: 0, 5860 set: 0, 5861 SCALE: 1, 5862 scale: 1, 5863 OFFSET: 2, 5864 offset: 2 5865 }; 5866 var ParameterField = { 5867 MISSING: 0, 5868 missing: 0, 5869 CORNER_RADIUS: 1, 5870 cornerRadius: 1, 5871 PARAGRAPH_SPACING: 2, 5872 paragraphSpacing: 2, 5873 PARAGRAPH_INDENT: 3, 5874 paragraphIndent: 3, 5875 STROKE_WEIGHT: 4, 5876 strokeWeight: 4, 5877 STACK_SPACING: 5, 5878 stackSpacing: 5, 5879 STACK_PADDING_LEFT: 6, 5880 stackPaddingLeft: 6, 5881 STACK_PADDING_TOP: 7, 5882 stackPaddingTop: 7, 5883 STACK_PADDING_RIGHT: 8, 5884 stackPaddingRight: 8, 5885 STACK_PADDING_BOTTOM: 9, 5886 stackPaddingBottom: 9, 5887 VISIBLE: 10, 5888 visible: 10, 5889 TEXT_DATA: 11, 5890 textData: 11, 5891 WIDTH: 12, 5892 width: 12, 5893 HEIGHT: 13, 5894 height: 13, 5895 RECTANGLE_TOP_LEFT_CORNER_RADIUS: 14, 5896 rectangleTopLeftCornerRadius: 14, 5897 RECTANGLE_TOP_RIGHT_CORNER_RADIUS: 15, 5898 rectangleTopRightCornerRadius: 15, 5899 RECTANGLE_BOTTOM_LEFT_CORNER_RADIUS: 16, 5900 rectangleBottomLeftCornerRadius: 16, 5901 RECTANGLE_BOTTOM_RIGHT_CORNER_RADIUS: 17, 5902 rectangleBottomRightCornerRadius: 17, 5903 BORDER_TOP_WEIGHT: 18, 5904 borderTopWeight: 18, 5905 BORDER_BOTTOM_WEIGHT: 19, 5906 borderBottomWeight: 19, 5907 BORDER_LEFT_WEIGHT: 20, 5908 borderLeftWeight: 20, 5909 BORDER_RIGHT_WEIGHT: 21, 5910 borderRightWeight: 21, 5911 VARIANT_PROPERTIES: 22, 5912 variantProperties: 22, 5913 STACK_COUNTER_SPACING: 23, 5914 stackCounterSpacing: 23, 5915 MIN_WIDTH: 24, 5916 minWidth: 24, 5917 MAX_WIDTH: 25, 5918 maxWidth: 25, 5919 MIN_HEIGHT: 26, 5920 minHeight: 26, 5921 MAX_HEIGHT: 27, 5922 maxHeight: 27, 5923 FONT_FAMILY: 28, 5924 fontFamily: 28, 5925 FONT_STYLE: 29, 5926 fontStyle: 29, 5927 FONT_VARIATIONS: 30, 5928 fontVariations: 30, 5929 OPACITY: 31, 5930 opacity: 31, 5931 FONT_SIZE: 32, 5932 fontSize: 32, 5933 LETTER_SPACING: 34, 5934 letterSpacing: 34, 5935 LINE_HEIGHT: 36, 5936 lineHeight: 36, 5937 OVERRIDDEN_SYMBOL_ID: 37, 5938 overriddenSymbolId: 37, 5939 CMS_SERIALIZED_RICH_TEXT_DATA: 38, 5940 cmsSerializedRichTextData: 38, 5941 HYPERLINK: 39, 5942 hyperlink: 39, 5943 SLOT_CONTENT_ID: 40, 5944 slotContentId: 40, 5945 GRID_ROW_GAP: 41, 5946 gridRowGap: 41, 5947 GRID_COLUMN_GAP: 42, 5948 gridColumnGap: 42, 5949 RELATIVE_X_POSITION: 43, 5950 xPosition: 43, 5951 RELATIVE_Y_POSITION: 44, 5952 relativeYPosition: 44, 5953 RELATIVE_ROTATION: 45, 5954 relativeRotation: 45, 5955 MOTION_TRANSLATION_X: 46, 5956 motionTranslationX: 46, 5957 MOTION_TRANSLATION_Y: 47, 5958 motionTranslationY: 47, 5959 MOTION_ROTATION: 48, 5960 motionRotation: 48, 5961 MOTION_SCALE_X: 49, 5962 motionScaleX: 49, 5963 MOTION_SCALE_Y: 50, 5964 motionScaleY: 50, 5965 MOTION_SHEAR: 51, 5966 motionShear: 51, 5967 SCROLL_OFFSET_X: 52, 5968 scrollOffsetX: 52, 5969 SCROLL_OFFSET_Y: 53, 5970 scrollOffsetY: 53, 5971 PATH_TRIM_START: 54, 5972 pathTrimStart: 54, 5973 PATH_TRIM_END: 55, 5974 pathTrimEnd: 55, 5975 DISSOLVE_PROGRESS: 56, 5976 dissolveProgress: 56 5977 }; 5978 var Keyframe = class { 5979 constructor(data) { 5980 this.timelinePosition = Math.round(data.timelinePosition); 5981 this.easing = data.easing; 5982 this.value = data.value; 5983 } 5984 }; 5985 var KeyframeTrack = class { 5986 constructor(data) { 5987 this.topLevelField = data.topLevelField; 5988 this.parameterField = data.parameterField; 5989 this.index = data.index; 5990 this.effectParametrizedField = data.effectParametrizedField; 5991 this.keyframeOperation = data.keyframeOperation; 5992 this.keyframes = data.keyframes; 5993 this.enabled = !!data.enabled; 5994 } 5995 }; 5996 var AnimationPreset = class { 5997 constructor(data) { 5998 this.nodeId = data.nodeId; 5999 this.keyframeTracks = data.keyframeTracks; 6000 } 6001 }; 6002 var PARAMETER_FIELD_ALIAS_MAP = { 6003 translateX: ParameterField.MOTION_TRANSLATION_X, 6004 translateY: ParameterField.MOTION_TRANSLATION_Y, 6005 rotate: ParameterField.MOTION_ROTATION, 6006 scaleX: ParameterField.MOTION_SCALE_X, 6007 scaleY: ParameterField.MOTION_SCALE_Y, 6008 shear: ParameterField.MOTION_SHEAR 6009 }; 6010 var KEYFRAMEABLE_FIELDS = /* @__PURE__ */ new Set([ 6011 "translateX", 6012 "translateY", 6013 "rotate", 6014 "scaleX", 6015 "scaleY", 6016 "shear", 6017 "cornerRadius", 6018 "strokeWeight", 6019 "rectangleTopLeftCornerRadius", 6020 "rectangleTopRightCornerRadius", 6021 "rectangleBottomLeftCornerRadius", 6022 "rectangleBottomRightCornerRadius", 6023 "stackSpacing", 6024 "stackPaddingLeft", 6025 "stackPaddingTop", 6026 "stackPaddingRight", 6027 "stackPaddingBottom", 6028 "width", 6029 "height", 6030 "borderTopWeight", 6031 "borderBottomWeight", 6032 "borderLeftWeight", 6033 "borderRightWeight", 6034 "stackCounterSpacing", 6035 "minWidth", 6036 "maxWidth", 6037 "minHeight", 6038 "maxHeight", 6039 "opacity", 6040 "gridRowGap", 6041 "gridColumnGap", 6042 "textData", 6043 "pathTrimStart", 6044 "pathTrimEnd" 6045 ]); 6046 var MODE_TO_OPERATION = { 6047 set: KeyframeOperation.SET, 6048 SET: KeyframeOperation.SET, 6049 offset: KeyframeOperation.OFFSET, 6050 OFFSET: KeyframeOperation.OFFSET, 6051 scale: KeyframeOperation.SCALE, 6052 SCALE: KeyframeOperation.SCALE 6053 }; 6054 function normalizeEasing(easing) { 6055 if (easing === void 0) return void 0; 6056 if (easing === "hold") return { interpolationType: InterpolationType.HOLD }; 6057 if (typeof easing === "string") { 6058 const easingType = EasingType[easing]; 6059 if (easingType === void 0) throw new Error('normalizeEasing: unknown easing "' + easing + '"'); 6060 return { easingType }; 6061 } 6062 return easing; 6063 } 6064 function compileKeyframe({ timelinePosition, value, easing }) { 6065 return new Keyframe({ 6066 timelinePosition: timelinePosition * 1e6, 6067 easing: normalizeEasing(easing), 6068 value 6069 }); 6070 } 6071 function tween({ mode, timelinePosition = 0, duration, from, to, easing, enabled = true }) { 6072 if (duration < 0) throw new Error("tween: duration must be non-negative"); 6073 return { 6074 mode, 6075 enabled, 6076 keyframes: [ 6077 { timelinePosition, value: from, easing }, 6078 { timelinePosition: timelinePosition + duration, value: to, easing } 6079 ] 6080 }; 6081 } 6082 function animate(node, definition) { 6083 const nodeId = typeof node === "string" ? node : node.id;
6084 const keyframeTracks = []; 6085 for (const [key, trackDef] of Object.entries(definition)) { 6086 if (!KEYFRAMEABLE_FIELDS.has(key)) { 6087 throw new Error('animate: unknown or non-keyframeable property "' + key + '"'); 6088 } 6089 const parameterField = PARAMETER_FIELD_ALIAS_MAP[key] ?? ParameterField[key]; 6090 const operation = MODE_TO_OPERATION[trackDef.mode]; 6091 if (operation === void 0) throw new Error('animate: unknown mode "' + trackDef.mode + '"'); 6092 const seen = /* @__PURE__ */ new Map(); 6093 for (const kf of trackDef.keyframes) seen.set(kf.timelinePosition, kf); 6094 const sorted = [...seen.values()].sort((a, b) => a.timelinePosition - b.timelinePosition); 6095 keyframeTracks.push(new KeyframeTrack({ 6096 parameterField, 6097 keyframeOperation: operation, 6098 keyframes: sorted.map(compileKeyframe), 6099 enabled: trackDef.enabled !== false 6100 })); 6101 } 6102 return new AnimationPreset({ nodeId, keyframeTracks }); 6103 } 6104 6105
6105// ../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/share/motion/src/presets/source/rotate.ts 6106 function preset({ timing, rotation, duration, fade, easing, node }) { 6107 const rotRad = rotation * (Math.PI / 180); 6108 const rFrom = timing === "in" ? rotRad : 0; 6109 const rTo = timing === "in" ? 0 : rotRad; 6110 const definition = { 6111 rotate: tween({ 6112 mode: "offset", 6113 duration, 6114 from: rFrom, 6115 to: rTo, 6116 easing 6117 }) 6118 }; 6119 if (fade) { 6120 const opFrom = timing === "in" ? 0 : 1; 6121 const opTo = timing === "in" ? 1 : 0; 6122 definition.opacity = tween({ 6123 mode: "scale", 6124 duration, 6125 from: opFrom, 6126 to: opTo, 6127 easing 6128 }); 6129 } 6130 return [animate(node, definition)]; 6131 } 6132 defineProperties(preset, { 6133 timing: { 6134 label: "Timing", 6135 type: "string", 6136 defaultValue: "out", 6137 control: "select", 6138 options: [ 6139 { value: "in", label: "Rotate In" }, 6140 { value: "out", label: "Rotate Out" } 6141 ] 6142 }, 6143 rotation: { 6144 label: "Rotation", 6145 type: "number", 6146 defaultValue: 180, 6147 control: "input" 6148 }, 6149 duration: { 6150 label: "Duration", 6151 type: "number", 6152 defaultValue: 0.5, 6153 control: "input", 6154 min: 0.01, 6155 unit: "s" 6156 }, 6157 fade: { 6158 label: "Fade", 6159 type: "boolean", 6160 defaultValue: false 6161 }, 6162 easing: { 6163 label: "Easing", 6164 type: "easing", 6165 defaultValue: { 6166 easingType: EasingType.OUT_CUBIC 6167 } 6168 } 6169 }); 6170 return __toCommonJS(rotate_exports); 6171})();`});var h0,O0,g0=Qt(()=>{h0=`// Source-of-truth for the NEW first-party animation preset. 6172// 6173// The build-time preset-bundle codegen (see \`../scripts/generate_preset_bundles.ts\`) 6174// reads this file's raw text, esbuilds it into an IIFE with \`figma:motion\` 6175// resolved, and emits both strings into \`../generated/new.generated.ts\`. The 6176// generated module is what runtime code consumes \u2014 never import this file 6177// directly from production code paths. 6178// 6179// This file is excluded from the share/motion \`ts_project\` compilation \u2014 it's 6180// only an input to the codegen tool, evaluated inside the QuickJS / iframe 6181// sandbox at runtime. 6182 6183import { animate, defineProperties, EasingType, tween } from 'figma:motion' 6184 6185import type { PresetArgs, PresetTrackDefinitions } from './preset_types' 6186 6187export default function preset({ 6188 type, 6189 direction, 6190 amount, 6191 start, 6192 end, 6193 duration, 6194 easing, 6195 node, 6196}: PresetArgs) { 6197 // Determine rotation values based on type 6198 let rotationStart: number 6199 let rotationEnd: number 6200 6201 if (type === 'custom') { 6202 // In custom mode, respect explicit start/end as entered by the user. 6203 rotationStart = start 6204 rotationEnd = end 6205 } else { 6206 // Direction/sign mapping (degrees): 6207 // - Clockwise: rotateIn -amount \u2192 0, rotateOut 0 \u2192 +amount 6208 // - Counter-clockwise: rotateIn +amount \u2192 0, rotateOut 0 \u2192 -amount 6209 const sign = direction === 'clockwise' ? -1 : 1 6210 if (type === 'rotateIn') { 6211 rotationStart = sign * amount 6212 rotationEnd = 0 6213 } else { 6214 // rotateOut 6215 rotationStart = 0 6216 rotationEnd = -sign * amount 6217 } 6218 } 6219 6220 // Convert degrees to radians 6221 const from = rotationStart * (Math.PI / 180) 6222 const to = rotationEnd * (Math.PI / 180) 6223 6224 const definition: PresetTrackDefinitions = {} 6225 definition.rotate = tween({ 6226 mode: 'offset', 6227 timelinePosition: 0, 6228 duration, 6229 from, 6230 to, 6231 easing, 6232 }) 6233 6234 return [animate(node, definition)] 6235} 6236 6237defineProperties(preset, { 6238 type: { 6239 label: 'motion.preset_flyout.type', 6240 type: 'string', 6241 defaultValue: 'rotateIn', 6242 control: 'select', 6243 options: [ 6244 { value: 'rotateIn', label: 'motion.preset_flyout.rotation.type.rotate_in' }, 6245 { value: 'rotateOut', label: 'motion.preset_flyout.rotation.type.rotate_out' }, 6246 { value: 'custom', label: 'motion.preset_flyout.type.custom' }, 6247 ], 6248 }, 6249 direction: { 6250 label: 'motion.preset_flyout.direction', 6251 type: 'string', 6252 defaultValue: 'clockwise', 6253 control: 'select', 6254 options: [ 6255 { value: 'clockwise', label: 'motion.preset_flyout.rotation.direction.clockwise' }, 6256 { 6257 value: 'counterClockwise', 6258 label: 'motion.preset_flyout.rotation.direction.counter_clockwise', 6259 }, 6260 ], 6261 }, 6262 amount: { 6263 label: 'motion.preset_flyout.amount', 6264 type: 'number', 6265 defaultValue: 180, 6266 control: 'input', 6267 unit: '\xB0', 6268 },
6269 // TODO(showDividerAbove-cleanup): the \`showDividerAbove\` flags in this file 6270 // are redundant \u2014 section dividers are now applied client-side in the preset 6271 // flyout via \`forceShowDividerAboveTransform\` 6272 start: { 6273 label: 'motion.preset_flyout.start', 6274 type: 'number', 6275 defaultValue: 180, 6276 control: 'input', 6277 unit: '\xB0', 6278 showDividerAbove: true, 6279 icon: 'rotation', 6280 }, 6281 end: { 6282 label: 'motion.preset_flyout.end', 6283 type: 'number', 6284 defaultValue: 0, 6285 control: 'input', 6286 unit: '\xB0', 6287 icon: 'rotation', 6288 }, 6289 delay: { 6290 label: 'motion.preset_flyout.delay', 6291 type: 'number', 6292 defaultValue: 0, 6293 control: 'input', 6294 unit: 's', 6295 showDividerAbove: true, 6296 icon: 'delay', 6297 }, 6298 duration: { 6299 label: 'motion.preset_flyout.duration', 6300 type: 'number', 6301 defaultValue: 0.5, 6302 control: 'input', 6303 min: 0.01, 6304 unit: 's', 6305 icon: 'time', 6306 }, 6307 easing: { 6308 label: 'motion.preset_flyout.easing', 6309 type: 'easing', 6310 defaultValue: { 6311 easingType: EasingType.OUT_CUBIC, 6312 }, 6313 }, 6314}) 6315`,O0=`var __presetBundle = (() => { 6316 var __defProp = Object.defineProperty; 6317 var __getOwnPropDesc = Object.getOwnPropertyDescriptor; 6318 var __getOwnPropNames = Object.getOwnPropertyNames; 6319 var __hasOwnProp = Object.prototype.hasOwnProperty; 6320 var __export = (target, all) => { 6321 for (var name in all) 6322 __defProp(target, name, { get: all[name], enumerable: true }); 6323 }; 6324 var __copyProps = (to, from, except, desc) => { 6325 if (from && typeof from === "object" || typeof from === "function") { 6326 for (let key of __getOwnPropNames(from)) 6327 if (!__hasOwnProp.call(to, key) && key !== except) 6328 __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); 6329 } 6330 return to; 6331 }; 6332 var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); 6333 6334
6334// ../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/share/motion/src/presets/source/rotation.ts 6335 var rotation_exports = {}; 6336 __export(rotation_exports, { 6337 default: () => preset 6338 }); 6339 6340 // figma-motion:figma:motion 6341 function defineProperties(component, spec) { 6342 Object.assign(component, { 6343 [/* @__PURE__ */ Symbol.for("figma.react.props")]: spec 6344 }); 6345 } 6346 var EasingType = { 6347 IN_CUBIC: 0, 6348 inCubic: 0, 6349 OUT_CUBIC: 1, 6350 outCubic: 1, 6351 INOUT_CUBIC: 2, 6352 inOutCubic: 2, 6353 LINEAR: 3, 6354 linear: 3, 6355 IN_BACK_CUBIC: 4, 6356 inBackCubic: 4, 6357 OUT_BACK_CUBIC: 5, 6358 outBackCubic: 5, 6359 INOUT_BACK_CUBIC: 6, 6360 inOutBackCubic: 6, 6361 CUSTOM_CUBIC: 7, 6362 customCubic: 7, 6363 SPRING: 8, 6364 spring: 8, 6365 GENTLE_SPRING: 9, 6366 gentleSpring: 9, 6367 CUSTOM_SPRING: 10, 6368 customSpring: 10, 6369 SPRING_PRESET_ONE: 11, 6370 springPresetOne: 11, 6371 SPRING_PRESET_TWO: 12, 6372 springPresetTwo: 12, 6373 SPRING_PRESET_THREE: 13, 6374 springPresetThree: 13, 6375 // For backwards compat 6376 bezier: 100, 6377 BEZIER: 100 6378 }; 6379 var InterpolationType = { 6380 HOLD: 0, 6381 hold: 0, 6382 BEZIER: 1, 6383 bezier: 1 6384 }; 6385 var KeyframeOperation = { 6386 SET: 0, 6387 set: 0, 6388 SCALE: 1, 6389 scale: 1, 6390 OFFSET: 2, 6391 offset: 2 6392 }; 6393 var ParameterField = { 6394 MISSING: 0, 6395 missing: 0, 6396 CORNER_RADIUS: 1, 6397 cornerRadius: 1, 6398 PARAGRAPH_SPACING: 2, 6399 paragraphSpacing: 2, 6400 PARAGRAPH_INDENT: 3, 6401 paragraphIndent: 3, 6402 STROKE_WEIGHT: 4, 6403 strokeWeight: 4, 6404 STACK_SPACING: 5, 6405 stackSpacing: 5, 6406 STACK_PADDING_LEFT: 6, 6407 stackPaddingLeft: 6, 6408 STACK_PADDING_TOP: 7, 6409 stackPaddingTop: 7, 6410 STACK_PADDING_RIGHT: 8, 6411 stackPaddingRight: 8, 6412 STACK_PADDING_BOTTOM: 9, 6413 stackPaddingBottom: 9, 6414 VISIBLE: 10, 6415 visible: 10, 6416 TEXT_DATA: 11, 6417 textData: 11, 6418 WIDTH: 12, 6419 width: 12, 6420 HEIGHT: 13, 6421 height: 13, 6422 RECTANGLE_TOP_LEFT_CORNER_RADIUS: 14, 6423 rectangleTopLeftCornerRadius: 14, 6424 RECTANGLE_TOP_RIGHT_CORNER_RADIUS: 15, 6425 rectangleTopRightCornerRadius: 15, 6426 RECTANGLE_BOTTOM_LEFT_CORNER_RADIUS: 16, 6427 rectangleBottomLeftCornerRadius: 16, 6428 RECTANGLE_BOTTOM_RIGHT_CORNER_RADIUS: 17, 6429 rectangleBottomRightCornerRadius: 17, 6430 BORDER_TOP_WEIGHT: 18, 6431 borderTopWeight: 18, 6432 BORDER_BOTTOM_WEIGHT: 19, 6433 borderBottomWeight: 19, 6434 BORDER_LEFT_WEIGHT: 20, 6435 borderLeftWeight: 20, 6436 BORDER_RIGHT_WEIGHT: 21, 6437 borderRightWeight: 21, 6438 VARIANT_PROPERTIES: 22, 6439 variantProperties: 22, 6440 STACK_COUNTER_SPACING: 23, 6441 stackCounterSpacing: 23, 6442 MIN_WIDTH: 24, 6443 minWidth: 24, 6444 MAX_WIDTH: 25, 6445 maxWidth: 25, 6446 MIN_HEIGHT: 26, 6447 minHeight: 26, 6448 MAX_HEIGHT: 27, 6449 maxHeight: 27, 6450 FONT_FAMILY: 28, 6451 fontFamily: 28, 6452 FONT_STYLE: 29, 6453 fontStyle: 29, 6454 FONT_VARIATIONS: 30, 6455 fontVariations: 30, 6456 OPACITY: 31, 6457 opacity: 31, 6458 FONT_SIZE: 32, 6459 fontSize: 32, 6460 LETTER_SPACING: 34, 6461 letterSpacing: 34, 6462 LINE_HEIGHT: 36, 6463 lineHeight: 36, 6464 OVERRIDDEN_SYMBOL_ID: 37, 6465 overriddenSymbolId: 37, 6466 CMS_SERIALIZED_RICH_TEXT_DATA: 38, 6467 cmsSerializedRichTextData: 38, 6468 HYPERLINK: 39, 6469 hyperlink: 39, 6470 SLOT_CONTENT_ID: 40, 6471 slotContentId: 40, 6472 GRID_ROW_GAP: 41, 6473 gridRowGap: 41, 6474 GRID_COLUMN_GAP: 42, 6475 gridColumnGap: 42, 6476 RELATIVE_X_POSITION: 43, 6477 xPosition: 43, 6478 RELATIVE_Y_POSITION: 44, 6479 relativeYPosition: 44, 6480 RELATIVE_ROTATION: 45, 6481 relativeRotation: 45, 6482 MOTION_TRANSLATION_X: 46, 6483 motionTranslationX: 46, 6484 MOTION_TRANSLATION_Y: 47, 6485 motionTranslationY: 47, 6486 MOTION_ROTATION: 48, 6487 motionRotation: 48, 6488 MOTION_SCALE_X: 49, 6489 motionScaleX: 49, 6490 MOTION_SCALE_Y: 50, 6491 motionScaleY: 50, 6492 MOTION_SHEAR: 51, 6493 motionShear: 51, 6494 SCROLL_OFFSET_X: 52, 6495 scrollOffsetX: 52, 6496 SCROLL_OFFSET_Y: 53, 6497 scrollOffsetY: 53, 6498 PATH_TRIM_START: 54, 6499 pathTrimStart: 54, 6500 PATH_TRIM_END: 55, 6501 pathTrimEnd: 55, 6502 DISSOLVE_PROGRESS: 56, 6503 dissolveProgress: 56 6504 }; 6505 var Keyframe = class { 6506 constructor(data) { 6507 this.timelinePosition = Math.round(data.timelinePosition); 6508 this.easing = data.easing; 6509 this.value = data.value; 6510 } 6511 }; 6512 var KeyframeTrack = class { 6513 constructor(data) { 6514 this.topLevelField = data.topLevelField; 6515 this.parameterField = data.parameterField; 6516 this.index = data.index; 6517 this.effectParametrizedField = data.effectParametrizedField; 6518 this.keyframeOperation = data.keyframeOperation; 6519 this.keyframes = data.keyframes; 6520 this.enabled = !!data.enabled; 6521 } 6522 }; 6523 var AnimationPreset = class { 6524 constructor(data) { 6525 this.nodeId = data.nodeId; 6526 this.keyframeTracks = data.keyframeTracks; 6527 } 6528 }; 6529 var PARAMETER_FIELD_ALIAS_MAP = { 6530 translateX: ParameterField.MOTION_TRANSLATION_X, 6531 translateY: ParameterField.MOTION_TRANSLATION_Y, 6532 rotate: ParameterField.MOTION_ROTATION, 6533 scaleX: ParameterField.MOTION_SCALE_X, 6534 scaleY: ParameterField.MOTION_SCALE_Y, 6535 shear: ParameterField.MOTION_SHEAR 6536 }; 6537 var KEYFRAMEABLE_FIELDS = /* @__PURE__ */ new Set([ 6538 "translateX", 6539 "translateY", 6540 "rotate", 6541 "scaleX", 6542 "scaleY", 6543 "shear", 6544 "cornerRadius", 6545 "strokeWeight", 6546 "rectangleTopLeftCornerRadius", 6547 "rectangleTopRightCornerRadius", 6548 "rectangleBottomLeftCornerRadius", 6549 "rectangleBottomRightCornerRadius", 6550 "stackSpacing", 6551 "stackPaddingLeft", 6552 "stackPaddingTop", 6553 "stackPaddingRight", 6554 "stackPaddingBottom", 6555 "width", 6556 "height", 6557 "borderTopWeight", 6558 "borderBottomWeight", 6559 "borderLeftWeight", 6560 "borderRightWeight", 6561 "stackCounterSpacing", 6562 "minWidth", 6563 "maxWidth", 6564 "minHeight", 6565 "maxHeight", 6566 "opacity", 6567 "gridRowGap", 6568 "gridColumnGap", 6569 "textData", 6570 "pathTrimStart", 6571 "pathTrimEnd" 6572 ]); 6573 var MODE_TO_OPERATION = { 6574 set: KeyframeOperation.SET, 6575 SET: KeyframeOperation.SET, 6576 offset: KeyframeOperation.OFFSET, 6577 OFFSET: KeyframeOperation.OFFSET, 6578 scale: KeyframeOperation.SCALE, 6579 SCALE: KeyframeOperation.SCALE 6580 }; 6581 function normalizeEasing(easing) { 6582 if (easing === void 0) return void 0; 6583 if (easing === "hold") return { interpolationType: InterpolationType.HOLD }; 6584 if (typeof easing === "string") { 6585 const easingType = EasingType[easing]; 6586 if (easingType === void 0) throw new Error('normalizeEasing: unknown easing "' + easing + '"'); 6587 return { easingType }; 6588 } 6589 return easing; 6590 } 6591 function compileKeyframe({ timelinePosition, value, easing }) { 6592 return new Keyframe({ 6593 timelinePosition: timelinePosition * 1e6, 6594 easing: normalizeEasing(easing), 6595 value 6596 }); 6597 } 6598 function tween({ mode, timelinePosition = 0, duration, from, to, easing, enabled = true }) { 6599 if (duration < 0) throw new Error("tween: duration must be non-negative"); 6600 return { 6601 mode, 6602 enabled, 6603 keyframes: [ 6604 { timelinePosition, value: from, easing }, 6605 { timelinePosition: timelinePosition + duration, value: to, easing } 6606 ] 6607 }; 6608 } 6609 function animate(node, definition) { 6610 const nodeId = typeof node === "string" ? node : node.id;
6611 const keyframeTracks = []; 6612 for (const [key, trackDef] of Object.entries(definition)) { 6613 if (!KEYFRAMEABLE_FIELDS.has(key)) { 6614 throw new Error('animate: unknown or non-keyframeable property "' + key + '"'); 6615 } 6616 const parameterField = PARAMETER_FIELD_ALIAS_MAP[key] ?? ParameterField[key]; 6617 const operation = MODE_TO_OPERATION[trackDef.mode]; 6618 if (operation === void 0) throw new Error('animate: unknown mode "' + trackDef.mode + '"'); 6619 const seen = /* @__PURE__ */ new Map(); 6620 for (const kf of trackDef.keyframes) seen.set(kf.timelinePosition, kf); 6621 const sorted = [...seen.values()].sort((a, b) => a.timelinePosition - b.timelinePosition); 6622 keyframeTracks.push(new KeyframeTrack({ 6623 parameterField, 6624 keyframeOperation: operation, 6625 keyframes: sorted.map(compileKeyframe), 6626 enabled: trackDef.enabled !== false 6627 })); 6628 } 6629 return new AnimationPreset({ nodeId, keyframeTracks }); 6630 } 6631 6632
6632// ../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/share/motion/src/presets/source/rotation.ts 6633 function preset({ 6634 type, 6635 direction, 6636 amount, 6637 start, 6638 end, 6639 duration, 6640 easing, 6641 node 6642 }) { 6643 let rotationStart; 6644 let rotationEnd; 6645 if (type === "custom") { 6646 rotationStart = start; 6647 rotationEnd = end; 6648 } else { 6649 const sign = direction === "clockwise" ? -1 : 1; 6650 if (type === "rotateIn") { 6651 rotationStart = sign * amount; 6652 rotationEnd = 0; 6653 } else { 6654 rotationStart = 0; 6655 rotationEnd = -sign * amount; 6656 } 6657 } 6658 const from = rotationStart * (Math.PI / 180); 6659 const to = rotationEnd * (Math.PI / 180); 6660 const definition = {}; 6661 definition.rotate = tween({ 6662 mode: "offset", 6663 timelinePosition: 0, 6664 duration, 6665 from, 6666 to, 6667 easing 6668 }); 6669 return [animate(node, definition)]; 6670 } 6671 defineProperties(preset, { 6672 type: { 6673 label: "motion.preset_flyout.type", 6674 type: "string", 6675 defaultValue: "rotateIn", 6676 control: "select", 6677 options: [ 6678 { value: "rotateIn", label: "motion.preset_flyout.rotation.type.rotate_in" }, 6679 { value: "rotateOut", label: "motion.preset_flyout.rotation.type.rotate_out" }, 6680 { value: "custom", label: "motion.preset_flyout.type.custom" } 6681 ] 6682 }, 6683 direction: { 6684 label: "motion.preset_flyout.direction", 6685 type: "string", 6686 defaultValue: "clockwise", 6687 control: "select", 6688 options: [ 6689 { value: "clockwise", label: "motion.preset_flyout.rotation.direction.clockwise" }, 6690 { 6691 value: "counterClockwise", 6692 label: "motion.preset_flyout.rotation.direction.counter_clockwise" 6693 } 6694 ] 6695 }, 6696 amount: { 6697 label: "motion.preset_flyout.amount", 6698 type: "number", 6699 defaultValue: 180, 6700 control: "input", 6701 unit: "\\xB0" 6702 }, 6703 // TODO(showDividerAbove-cleanup): the \`showDividerAbove\` flags in this file 6704 // are redundant \u2014 section dividers are now applied client-side in the preset 6705 // flyout via \`forceShowDividerAboveTransform\` 6706 start: { 6707 label: "motion.preset_flyout.start", 6708 type: "number", 6709 defaultValue: 180, 6710 control: "input", 6711 unit: "\\xB0", 6712 showDividerAbove: true, 6713 icon: "rotation" 6714 }, 6715 end: { 6716 label: "motion.preset_flyout.end", 6717 type: "number", 6718 defaultValue: 0, 6719 control: "input", 6720 unit: "\\xB0", 6721 icon: "rotation" 6722 }, 6723 delay: { 6724 label: "motion.preset_flyout.delay", 6725 type: "number", 6726 defaultValue: 0, 6727 control: "input", 6728 unit: "s", 6729 showDividerAbove: true, 6730 icon: "delay" 6731 }, 6732 duration: { 6733 label: "motion.preset_flyout.duration", 6734 type: "number", 6735 defaultValue: 0.5, 6736 control: "input", 6737 min: 0.01, 6738 unit: "s", 6739 icon: "time" 6740 }, 6741 easing: { 6742 label: "motion.preset_flyout.easing", 6743 type: "easing", 6744 defaultValue: { 6745 easingType: EasingType.OUT_CUBIC 6746 } 6747 } 6748 }); 6749 return __toCommonJS(rotation_exports); 6750})();`});var I0,S0,R0=Qt(()=>{I0=`// Source-of-truth for the SCALE first-party animation preset. 6751// 6752// The build-time preset-bundle codegen (see \`../scripts/generate_preset_bundles.ts\`) 6753// reads this file's raw text, esbuilds it into an IIFE with \`figma:motion\` 6754// resolved, and emits both strings into \`../generated/scale.generated.ts\`. The 6755// generated module is what runtime code consumes \u2014 never import this file 6756// directly from production code paths. 6757// 6758// This file is excluded from the share/motion \`ts_project\` compilation \u2014 it's 6759// only an input to the codegen tool, evaluated inside the QuickJS / iframe 6760// sandbox at runtime. 6761 6762import { animate, defineProperties, EasingType, tween } from 'figma:motion' 6763 6764import type { PresetArgs, PresetTrackDefinitions } from './preset_types' 6765 6766export default function preset({ 6767 type, 6768 axis, 6769 amount, 6770 wStartWithDivider, 6771 wEndWithoutDivider, 6772 wEndWithDivider, 6773 hStartWithoutDivider, 6774 hStartWithDivider, 6775 hEndWithoutDivider, 6776 duration, 6777 easing, 6778 node, 6779}: PresetArgs) { 6780 const selectedType = type || 'scaleIn' 6781 const selectedAxis = axis || 'w' 6782 const safeAmount = (amount ?? 120) / 100 6783 6784 // Scale in should scale INTO the base size by growing/shrinking from amount -> base size 6785 // Scale out should scale OUT OF the base size by growing/shrinking from base size -> amount 6786 6787 function getWFromTo(): [number, number] { 6788 if (selectedType === 'custom') { 6789 if (selectedAxis === 'h') return [1, 1] 6790 if (selectedAxis === 'whCombined') { 6791 return [wStartWithDivider / 100, wEndWithDivider / 100] 6792 } 6793 return [wStartWithDivider / 100, wEndWithoutDivider / 100] 6794 } 6795 if (selectedType === 'scaleOut') return [1, safeAmount] 6796 return [safeAmount, 1] 6797 } 6798 function getHFromTo(): [number, number] { 6799 if (selectedType === 'custom') { 6800 if (selectedAxis === 'w') return [1, 1] 6801 if (selectedAxis === 'whCombined') { 6802 return [hStartWithoutDivider / 100, hEndWithoutDivider / 100] 6803 } 6804 return [hStartWithDivider / 100, hEndWithoutDivider / 100] 6805 } 6806 if (selectedType === 'scaleOut') return [1, safeAmount] 6807 return [safeAmount, 1] 6808 } 6809 6810 const [xFrom, xTo] = getWFromTo() 6811 const [yFrom, yTo] = getHFromTo() 6812 6813 // Both axes share the timing. The shared \`delay\` is synced to the preset's 6814 // \`timelineOffset\`, so it isn't baked into keyframe \`timelinePosition\`. 6815 const definition: PresetTrackDefinitions = {} 6816 definition.scaleX = tween({
6817 mode: 'scale', 6818 duration, 6819 from: xFrom, 6820 to: xTo, 6821 easing, 6822 }) 6823 definition.scaleY = tween({ 6824 mode: 'scale', 6825 duration, 6826 from: yFrom, 6827 to: yTo, 6828 easing, 6829 }) 6830 6831 return [animate(node, definition)] 6832} 6833 6834// KEEP_IN_SYNC(share/motion/src/presets/scale_meta.ts) \u2014 the 6835// property bounds (min/max/unit) must match \`PROP_DEFS[*].inputConfig\` so the 6836// panel-side TS metadata and the bundled IIFE agree on every prop's contract. 6837// 6838// Prop ORDER below drives the panel row order. 6839defineProperties(preset, { 6840 type: { 6841 label: 'motion.preset_flyout.type', 6842 type: 'string', 6843 defaultValue: 'scaleIn', 6844 control: 'select', 6845 options: [ 6846 { value: 'scaleIn', label: 'motion.preset_flyout.scale.type.scale_in' }, 6847 { value: 'scaleOut', label: 'motion.preset_flyout.scale.type.scale_out' }, 6848 { value: 'custom', label: 'motion.preset_flyout.type.custom' }, 6849 ], 6850 }, 6851 axis: { 6852 label: 'motion.preset_flyout.axis', 6853 type: 'string', 6854 defaultValue: 'whCombined', 6855 control: 'select', 6856 options: [ 6857 { value: 'w', label: 'motion.preset_flyout.w' }, 6858 { value: 'h', label: 'motion.preset_flyout.h' }, 6859 { value: 'whCombined', label: 'motion.preset_flyout.both' }, 6860 ], 6861 }, 6862 amount: { 6863 label: 'motion.preset_flyout.amount', 6864 type: 'number', 6865 defaultValue: 120, 6866 control: 'input', 6867 min: 0, 6868 unit: '%', 6869 }, 6870 // TODO(showDividerAbove-cleanup): the \`showDividerAbove\` flags in this file 6871 // are redundant \u2014 section dividers are now applied client-side in the preset 6872 // flyout via \`forceShowDividerAboveTransform\` 6873 wStartWithDivider: { 6874 label: 'motion.preset_flyout.start', 6875 type: 'number', 6876 defaultValue: 120, 6877 control: 'input', 6878 min: 0, 6879 unit: '%', 6880 showDividerAbove: true, 6881 icon: 'w', 6882 }, 6883 wEndWithoutDivider: { 6884 label: 'motion.preset_flyout.end', 6885 type: 'number', 6886 defaultValue: 100, 6887 control: 'input', 6888 min: 0, 6889 unit: '%', 6890 icon: 'w', 6891 }, 6892 // whCombined-only variants: hStartWithoutDivider groups under the Starts 6893 // divider (set by wStartWithDivider above), wEndWithDivider starts the Ends 6894 // group. Hidden for every other layout. 6895 hStartWithoutDivider: { 6896 label: 'motion.preset_flyout.start', 6897 type: 'number', 6898 defaultValue: 120, 6899 control: 'input', 6900 min: 0, 6901 unit: '%', 6902 icon: 'h', 6903 }, 6904 wEndWithDivider: { 6905 label: 'motion.preset_flyout.end', 6906 type: 'number', 6907 defaultValue: 100, 6908 control: 'input', 6909 min: 0, 6910 unit: '%', 6911 showDividerAbove: true, 6912 icon: 'w', 6913 }, 6914 hStartWithDivider: { 6915 label: 'motion.preset_flyout.start', 6916 type: 'number', 6917 defaultValue: 120, 6918 control: 'input', 6919 min: 0, 6920 unit: '%', 6921 showDividerAbove: true, 6922 icon: 'h', 6923 }, 6924 hEndWithoutDivider: { 6925 label: 'motion.preset_flyout.end', 6926 type: 'number', 6927 defaultValue: 100, 6928 control: 'input', 6929 min: 0, 6930 unit: '%', 6931 icon: 'h', 6932 }, 6933 // Note: 'delay' is kept in sync with a preset's \`timelineOffset\`. 6934 delay: { 6935 label: 'motion.preset_flyout.delay', 6936 type: 'number', 6937 defaultValue: 0, 6938 control: 'input', 6939 unit: 's', 6940 showDividerAbove: true, 6941 icon: 'delay', 6942 }, 6943 duration: { 6944 label: 'motion.preset_flyout.duration', 6945 type: 'number', 6946 defaultValue: 0.5, 6947 control: 'input', 6948 min: 0.01, 6949 unit: 's', 6950 icon: 'time', 6951 }, 6952 easing: { 6953 label: 'motion.preset_flyout.easing', 6954 type: 'easing', 6955 defaultValue: { easingType: EasingType.OUT_CUBIC }, 6956 }, 6957}) 6958`,S0=`var __presetBundle = (() => { 6959 var __defProp = Object.defineProperty; 6960 var __getOwnPropDesc = Object.getOwnPropertyDescriptor; 6961 var __getOwnPropNames = Object.getOwnPropertyNames; 6962 var __hasOwnProp = Object.prototype.hasOwnProperty; 6963 var __export = (target, all) => { 6964 for (var name in all) 6965 __defProp(target, name, { get: all[name], enumerable: true }); 6966 }; 6967 var __copyProps = (to, from, except, desc) => { 6968 if (from && typeof from === "object" || typeof from === "function") { 6969 for (let key of __getOwnPropNames(from)) 6970 if (!__hasOwnProp.call(to, key) && key !== except) 6971 __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); 6972 } 6973 return to; 6974 }; 6975 var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); 6976 6977
6977// ../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/share/motion/src/presets/source/scale.ts 6978 var scale_exports = {}; 6979 __export(scale_exports, { 6980 default: () => preset 6981 }); 6982 6983 // figma-motion:figma:motion 6984 function defineProperties(component, spec) { 6985 Object.assign(component, { 6986 [/* @__PURE__ */ Symbol.for("figma.react.props")]: spec 6987 }); 6988 } 6989 var EasingType = { 6990 IN_CUBIC: 0, 6991 inCubic: 0, 6992 OUT_CUBIC: 1, 6993 outCubic: 1, 6994 INOUT_CUBIC: 2, 6995 inOutCubic: 2, 6996 LINEAR: 3, 6997 linear: 3, 6998 IN_BACK_CUBIC: 4, 6999 inBackCubic: 4, 7000 OUT_BACK_CUBIC: 5, 7001 outBackCubic: 5, 7002 INOUT_BACK_CUBIC: 6, 7003 inOutBackCubic: 6, 7004 CUSTOM_CUBIC: 7, 7005 customCubic: 7, 7006 SPRING: 8, 7007 spring: 8, 7008 GENTLE_SPRING: 9, 7009 gentleSpring: 9, 7010 CUSTOM_SPRING: 10, 7011 customSpring: 10, 7012 SPRING_PRESET_ONE: 11, 7013 springPresetOne: 11, 7014 SPRING_PRESET_TWO: 12, 7015 springPresetTwo: 12, 7016 SPRING_PRESET_THREE: 13, 7017 springPresetThree: 13, 7018 // For backwards compat 7019 bezier: 100, 7020 BEZIER: 100 7021 }; 7022 var InterpolationType = { 7023 HOLD: 0, 7024 hold: 0, 7025 BEZIER: 1, 7026 bezier: 1 7027 }; 7028 var KeyframeOperation = { 7029 SET: 0, 7030 set: 0, 7031 SCALE: 1, 7032 scale: 1, 7033 OFFSET: 2, 7034 offset: 2 7035 }; 7036 var ParameterField = { 7037 MISSING: 0, 7038 missing: 0, 7039 CORNER_RADIUS: 1, 7040 cornerRadius: 1, 7041 PARAGRAPH_SPACING: 2, 7042 paragraphSpacing: 2, 7043 PARAGRAPH_INDENT: 3, 7044 paragraphIndent: 3, 7045 STROKE_WEIGHT: 4, 7046 strokeWeight: 4, 7047 STACK_SPACING: 5, 7048 stackSpacing: 5, 7049 STACK_PADDING_LEFT: 6, 7050 stackPaddingLeft: 6, 7051 STACK_PADDING_TOP: 7, 7052 stackPaddingTop: 7, 7053 STACK_PADDING_RIGHT: 8, 7054 stackPaddingRight: 8, 7055 STACK_PADDING_BOTTOM: 9, 7056 stackPaddingBottom: 9, 7057 VISIBLE: 10, 7058 visible: 10, 7059 TEXT_DATA: 11, 7060 textData: 11, 7061 WIDTH: 12, 7062 width: 12, 7063 HEIGHT: 13, 7064 height: 13, 7065 RECTANGLE_TOP_LEFT_CORNER_RADIUS: 14, 7066 rectangleTopLeftCornerRadius: 14, 7067 RECTANGLE_TOP_RIGHT_CORNER_RADIUS: 15, 7068 rectangleTopRightCornerRadius: 15, 7069 RECTANGLE_BOTTOM_LEFT_CORNER_RADIUS: 16, 7070 rectangleBottomLeftCornerRadius: 16, 7071 RECTANGLE_BOTTOM_RIGHT_CORNER_RADIUS: 17, 7072 rectangleBottomRightCornerRadius: 17, 7073 BORDER_TOP_WEIGHT: 18, 7074 borderTopWeight: 18, 7075 BORDER_BOTTOM_WEIGHT: 19, 7076 borderBottomWeight: 19, 7077 BORDER_LEFT_WEIGHT: 20, 7078 borderLeftWeight: 20, 7079 BORDER_RIGHT_WEIGHT: 21, 7080 borderRightWeight: 21, 7081 VARIANT_PROPERTIES: 22, 7082 variantProperties: 22, 7083 STACK_COUNTER_SPACING: 23, 7084 stackCounterSpacing: 23, 7085 MIN_WIDTH: 24, 7086 minWidth: 24, 7087 MAX_WIDTH: 25, 7088 maxWidth: 25, 7089 MIN_HEIGHT: 26, 7090 minHeight: 26, 7091 MAX_HEIGHT: 27, 7092 maxHeight: 27, 7093 FONT_FAMILY: 28, 7094 fontFamily: 28, 7095 FONT_STYLE: 29, 7096 fontStyle: 29, 7097 FONT_VARIATIONS: 30, 7098 fontVariations: 30, 7099 OPACITY: 31, 7100 opacity: 31, 7101 FONT_SIZE: 32, 7102 fontSize: 32, 7103 LETTER_SPACING: 34, 7104 letterSpacing: 34, 7105 LINE_HEIGHT: 36, 7106 lineHeight: 36, 7107 OVERRIDDEN_SYMBOL_ID: 37, 7108 overriddenSymbolId: 37, 7109 CMS_SERIALIZED_RICH_TEXT_DATA: 38, 7110 cmsSerializedRichTextData: 38, 7111 HYPERLINK: 39, 7112 hyperlink: 39, 7113 SLOT_CONTENT_ID: 40, 7114 slotContentId: 40, 7115 GRID_ROW_GAP: 41, 7116 gridRowGap: 41, 7117 GRID_COLUMN_GAP: 42, 7118 gridColumnGap: 42, 7119 RELATIVE_X_POSITION: 43, 7120 xPosition: 43, 7121 RELATIVE_Y_POSITION: 44, 7122 relativeYPosition: 44, 7123 RELATIVE_ROTATION: 45, 7124 relativeRotation: 45, 7125 MOTION_TRANSLATION_X: 46, 7126 motionTranslationX: 46, 7127 MOTION_TRANSLATION_Y: 47, 7128 motionTranslationY: 47, 7129 MOTION_ROTATION: 48, 7130 motionRotation: 48, 7131 MOTION_SCALE_X: 49, 7132 motionScaleX: 49, 7133 MOTION_SCALE_Y: 50, 7134 motionScaleY: 50, 7135 MOTION_SHEAR: 51, 7136 motionShear: 51, 7137 SCROLL_OFFSET_X: 52, 7138 scrollOffsetX: 52, 7139 SCROLL_OFFSET_Y: 53, 7140 scrollOffsetY: 53, 7141 PATH_TRIM_START: 54, 7142 pathTrimStart: 54, 7143 PATH_TRIM_END: 55, 7144 pathTrimEnd: 55, 7145 DISSOLVE_PROGRESS: 56, 7146 dissolveProgress: 56 7147 }; 7148 var Keyframe = class { 7149 constructor(data) { 7150 this.timelinePosition = Math.round(data.timelinePosition); 7151 this.easing = data.easing; 7152 this.value = data.value; 7153 } 7154 }; 7155 var KeyframeTrack = class { 7156 constructor(data) { 7157 this.topLevelField = data.topLevelField; 7158 this.parameterField = data.parameterField; 7159 this.index = data.index; 7160 this.effectParametrizedField = data.effectParametrizedField; 7161 this.keyframeOperation = data.keyframeOperation; 7162 this.keyframes = data.keyframes; 7163 this.enabled = !!data.enabled; 7164 } 7165 }; 7166 var AnimationPreset = class { 7167 constructor(data) { 7168 this.nodeId = data.nodeId; 7169 this.keyframeTracks = data.keyframeTracks; 7170 } 7171 }; 7172 var PARAMETER_FIELD_ALIAS_MAP = { 7173 translateX: ParameterField.MOTION_TRANSLATION_X, 7174 translateY: ParameterField.MOTION_TRANSLATION_Y, 7175 rotate: ParameterField.MOTION_ROTATION, 7176 scaleX: ParameterField.MOTION_SCALE_X, 7177 scaleY: ParameterField.MOTION_SCALE_Y, 7178 shear: ParameterField.MOTION_SHEAR 7179 }; 7180 var KEYFRAMEABLE_FIELDS = /* @__PURE__ */ new Set([ 7181 "translateX", 7182 "translateY", 7183 "rotate", 7184 "scaleX", 7185 "scaleY", 7186 "shear", 7187 "cornerRadius", 7188 "strokeWeight", 7189 "rectangleTopLeftCornerRadius", 7190 "rectangleTopRightCornerRadius", 7191 "rectangleBottomLeftCornerRadius", 7192 "rectangleBottomRightCornerRadius", 7193 "stackSpacing", 7194 "stackPaddingLeft", 7195 "stackPaddingTop", 7196 "stackPaddingRight", 7197 "stackPaddingBottom", 7198 "width", 7199 "height", 7200 "borderTopWeight", 7201 "borderBottomWeight", 7202 "borderLeftWeight", 7203 "borderRightWeight", 7204 "stackCounterSpacing", 7205 "minWidth", 7206 "maxWidth", 7207 "minHeight", 7208 "maxHeight", 7209 "opacity", 7210 "gridRowGap", 7211 "gridColumnGap", 7212 "textData", 7213 "pathTrimStart", 7214 "pathTrimEnd" 7215 ]); 7216 var MODE_TO_OPERATION = { 7217 set: KeyframeOperation.SET, 7218 SET: KeyframeOperation.SET, 7219 offset: KeyframeOperation.OFFSET, 7220 OFFSET: KeyframeOperation.OFFSET, 7221 scale: KeyframeOperation.SCALE, 7222 SCALE: KeyframeOperation.SCALE 7223 }; 7224 function normalizeEasing(easing) { 7225 if (easing === void 0) return void 0; 7226 if (easing === "hold") return { interpolationType: InterpolationType.HOLD }; 7227 if (typeof easing === "string") { 7228 const easingType = EasingType[easing]; 7229 if (easingType === void 0) throw new Error('normalizeEasing: unknown easing "' + easing + '"'); 7230 return { easingType }; 7231 } 7232 return easing; 7233 } 7234 function compileKeyframe({ timelinePosition, value, easing }) { 7235 return new Keyframe({ 7236 timelinePosition: timelinePosition * 1e6, 7237 easing: normalizeEasing(easing), 7238 value 7239 }); 7240 } 7241 function tween({ mode, timelinePosition = 0, duration, from, to, easing, enabled = true }) { 7242 if (duration < 0) throw new Error("tween: duration must be non-negative"); 7243 return { 7244 mode, 7245 enabled, 7246 keyframes: [ 7247 { timelinePosition, value: from, easing }, 7248 { timelinePosition: timelinePosition + duration, value: to, easing } 7249 ] 7250 }; 7251 } 7252 function animate(node, definition) { 7253 const nodeId = typeof node === "string" ? node : node.id;
7254 const keyframeTracks = []; 7255 for (const [key, trackDef] of Object.entries(definition)) { 7256 if (!KEYFRAMEABLE_FIELDS.has(key)) { 7257 throw new Error('animate: unknown or non-keyframeable property "' + key + '"'); 7258 } 7259 const parameterField = PARAMETER_FIELD_ALIAS_MAP[key] ?? ParameterField[key]; 7260 const operation = MODE_TO_OPERATION[trackDef.mode]; 7261 if (operation === void 0) throw new Error('animate: unknown mode "' + trackDef.mode + '"'); 7262 const seen = /* @__PURE__ */ new Map(); 7263 for (const kf of trackDef.keyframes) seen.set(kf.timelinePosition, kf); 7264 const sorted = [...seen.values()].sort((a, b) => a.timelinePosition - b.timelinePosition); 7265 keyframeTracks.push(new KeyframeTrack({ 7266 parameterField, 7267 keyframeOperation: operation, 7268 keyframes: sorted.map(compileKeyframe), 7269 enabled: trackDef.enabled !== false 7270 })); 7271 } 7272 return new AnimationPreset({ nodeId, keyframeTracks }); 7273 } 7274 7275
7275// ../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/share/motion/src/presets/source/scale.ts 7276 function preset({ 7277 type, 7278 axis, 7279 amount, 7280 wStartWithDivider, 7281 wEndWithoutDivider, 7282 wEndWithDivider, 7283 hStartWithoutDivider, 7284 hStartWithDivider, 7285 hEndWithoutDivider, 7286 duration, 7287 easing, 7288 node 7289 }) { 7290 const selectedType = type || "scaleIn"; 7291 const selectedAxis = axis || "w"; 7292 const safeAmount = (amount ?? 120) / 100; 7293 function getWFromTo() { 7294 if (selectedType === "custom") { 7295 if (selectedAxis === "h") return [1, 1]; 7296 if (selectedAxis === "whCombined") { 7297 return [wStartWithDivider / 100, wEndWithDivider / 100]; 7298 } 7299 return [wStartWithDivider / 100, wEndWithoutDivider / 100]; 7300 } 7301 if (selectedType === "scaleOut") return [1, safeAmount]; 7302 return [safeAmount, 1]; 7303 } 7304 function getHFromTo() { 7305 if (selectedType === "custom") { 7306 if (selectedAxis === "w") return [1, 1]; 7307 if (selectedAxis === "whCombined") { 7308 return [hStartWithoutDivider / 100, hEndWithoutDivider / 100]; 7309 } 7310 return [hStartWithDivider / 100, hEndWithoutDivider / 100]; 7311 } 7312 if (selectedType === "scaleOut") return [1, safeAmount]; 7313 return [safeAmount, 1]; 7314 } 7315 const [xFrom, xTo] = getWFromTo(); 7316 const [yFrom, yTo] = getHFromTo(); 7317 const definition = {}; 7318 definition.scaleX = tween({ 7319 mode: "scale", 7320 duration, 7321 from: xFrom, 7322 to: xTo, 7323 easing 7324 }); 7325 definition.scaleY = tween({ 7326 mode: "scale", 7327 duration, 7328 from: yFrom, 7329 to: yTo, 7330 easing 7331 }); 7332 return [animate(node, definition)]; 7333 } 7334 defineProperties(preset, { 7335 type: { 7336 label: "motion.preset_flyout.type", 7337 type: "string", 7338 defaultValue: "scaleIn", 7339 control: "select", 7340 options: [ 7341 { value: "scaleIn", label: "motion.preset_flyout.scale.type.scale_in" }, 7342 { value: "scaleOut", label: "motion.preset_flyout.scale.type.scale_out" }, 7343 { value: "custom", label: "motion.preset_flyout.type.custom" } 7344 ] 7345 }, 7346 axis: { 7347 label: "motion.preset_flyout.axis", 7348 type: "string", 7349 defaultValue: "whCombined", 7350 control: "select", 7351 options: [ 7352 { value: "w", label: "motion.preset_flyout.w" }, 7353 { value: "h", label: "motion.preset_flyout.h" }, 7354 { value: "whCombined", label: "motion.preset_flyout.both" } 7355 ] 7356 }, 7357 amount: { 7358 label: "motion.preset_flyout.amount", 7359 type: "number", 7360 defaultValue: 120, 7361 control: "input", 7362 min: 0, 7363 unit: "%" 7364 }, 7365 // TODO(showDividerAbove-cleanup): the \`showDividerAbove\` flags in this file 7366 // are redundant \u2014 section dividers are now applied client-side in the preset 7367 // flyout via \`forceShowDividerAboveTransform\` 7368 wStartWithDivider: { 7369 label: "motion.preset_flyout.start", 7370 type: "number", 7371 defaultValue: 120, 7372 control: "input", 7373 min: 0, 7374 unit: "%", 7375 showDividerAbove: true, 7376 icon: "w" 7377 }, 7378 wEndWithoutDivider: { 7379 label: "motion.preset_flyout.end", 7380 type: "number", 7381 defaultValue: 100, 7382 control: "input", 7383 min: 0, 7384 unit: "%", 7385 icon: "w" 7386 }, 7387 // whCombined-only variants: hStartWithoutDivider groups under the Starts 7388 // divider (set by wStartWithDivider above), wEndWithDivider starts the Ends 7389 // group. Hidden for every other layout. 7390 hStartWithoutDivider: { 7391 label: "motion.preset_flyout.start", 7392 type: "number", 7393 defaultValue: 120, 7394 control: "input", 7395 min: 0, 7396 unit: "%", 7397 icon: "h" 7398 }, 7399 wEndWithDivider: { 7400 label: "motion.preset_flyout.end", 7401 type: "number", 7402 defaultValue: 100, 7403 control: "input", 7404 min: 0, 7405 unit: "%", 7406 showDividerAbove: true, 7407 icon: "w" 7408 }, 7409 hStartWithDivider: { 7410 label: "motion.preset_flyout.start", 7411 type: "number", 7412 defaultValue: 120, 7413 control: "input", 7414 min: 0, 7415 unit: "%", 7416 showDividerAbove: true, 7417 icon: "h" 7418 }, 7419 hEndWithoutDivider: { 7420 label: "motion.preset_flyout.end", 7421 type: "number", 7422 defaultValue: 100, 7423 control: "input", 7424 min: 0, 7425 unit: "%", 7426 icon: "h" 7427 }, 7428 // Note: 'delay' is kept in sync with a preset's \`timelineOffset\`. 7429 delay: { 7430 label: "motion.preset_flyout.delay", 7431 type: "number", 7432 defaultValue: 0, 7433 control: "input", 7434 unit: "s", 7435 showDividerAbove: true, 7436 icon: "delay" 7437 }, 7438 duration: { 7439 label: "motion.preset_flyout.duration", 7440 type: "number", 7441 defaultValue: 0.5, 7442 control: "input", 7443 min: 0.01, 7444 unit: "s", 7445 icon: "time" 7446 }, 7447 easing: { 7448 label: "motion.preset_flyout.easing", 7449 type: "easing", 7450 defaultValue: { easingType: EasingType.OUT_CUBIC } 7451 } 7452 });
7453 return __toCommonJS(scale_exports); 7454})();`});var A0,N0,y0=Qt(()=>{A0=`// Source-of-truth for the SIZE first-party animation preset. 7455// 7456// The build-time preset-bundle codegen (see \`../scripts/generate_preset_bundles.ts\`) 7457// reads this file's raw text, esbuilds it into an IIFE with \`figma:motion\` 7458// resolved, and emits both strings into \`../generated/size.generated.ts\`. 7459// The generated module is what runtime code consumes \u2014 never import this file 7460// directly from production code paths. 7461// 7462// This file is excluded from the share/motion \`ts_project\` compilation \u2014 it's 7463// only an input to the codegen tool, evaluated inside the QuickJS / iframe 7464// sandbox at runtime. 7465 7466import { animate, defineProperties, EasingType, tween } from 'figma:motion' 7467 7468import type { PresetArgs, PresetTrackDefinitions } from './preset_types' 7469 7470function buildAxisTrack( 7471 from: number, 7472 to: number, 7473 duration: number, 7474 easing: unknown, 7475 enabled: boolean, 7476) { 7477 // The runtime adds \`timelineOffset\` back in when placing keyframes on the parent timeline (\`keyframe_conversion.ts\`). 7478 // The \`delay\` prop is kept in sync with \`timelineOffset\`, so it must NOT be folded into \`timelinePosition\` here \u2014 that would double-count. 7479 return tween({ 7480 mode: 'offset', 7481 timelinePosition: 0, 7482 duration, 7483 from, 7484 to, 7485 easing, 7486 enabled, 7487 }) 7488} 7489 7490export default function preset({ 7491 type, 7492 amount, 7493 axis, 7494 startWidth, 7495 endWidth, 7496 startHeight, 7497 endHeight, 7498 duration, 7499 easing, 7500 node, 7501}: PresetArgs) { 7502 const safeAmount = typeof amount === 'number' ? amount : 0 7503 const safeStartWidth = typeof startWidth === 'number' ? startWidth : 50 7504 const safeEndWidth = typeof endWidth === 'number' ? endWidth : 100 7505 const safeStartHeight = typeof startHeight === 'number' ? startHeight : 50 7506 const safeEndHeight = typeof endHeight === 'number' ? endHeight : 100 7507 const safeDuration = typeof duration === 'number' ? duration : 0.5 7508 7509 let widthTrack: [number, number] | null = null 7510 let heightTrack: [number, number] | null = null 7511 let widthEnabled = true 7512 let heightEnabled = true 7513 7514 switch (type) { 7515 case 'resize_in': { 7516 // Resize INTO the base size by shrinking/growing from base + amount -> base 7517 widthTrack = [safeAmount, 0] 7518 heightTrack = [safeAmount, 0] 7519 break 7520 } 7521 case 'resize_out': { 7522 // Resize OUT OF the base size by shrinking/growing from base -> base + amount 7523 widthTrack = [0, safeAmount] 7524 heightTrack = [0, safeAmount] 7525 break 7526 } 7527 case 'custom': { 7528 widthEnabled = axis !== 'y' 7529 heightEnabled = axis !== 'x' 7530 widthTrack = [safeStartWidth, safeEndWidth] 7531 heightTrack = [safeStartHeight, safeEndHeight] 7532 break 7533 } 7534 default: 7535 break 7536 } 7537 7538 const definition: PresetTrackDefinitions = {} 7539 if (widthTrack) { 7540 definition.width = buildAxisTrack( 7541 widthTrack[0], 7542 widthTrack[1], 7543 safeDuration, 7544 easing, 7545 widthEnabled, 7546 ) 7547 } 7548 if (heightTrack) { 7549 definition.height = buildAxisTrack( 7550 heightTrack[0], 7551 heightTrack[1], 7552 safeDuration, 7553 easing, 7554 heightEnabled, 7555 ) 7556 } 7557 7558 return [animate(node, definition)] 7559} 7560 7561defineProperties(preset, { 7562 type: { 7563 label: 'motion.preset_flyout.type', 7564 type: 'string', 7565 defaultValue: 'resize_in', 7566 control: 'select', 7567 options: [ 7568 { value: 'resize_in', label: 'motion.preset_flyout.size.type.resize_in' }, 7569 { value: 'resize_out', label: 'motion.preset_flyout.size.type.resize_out' }, 7570 { value: 'custom', label: 'motion.preset_flyout.type.custom' }, 7571 ], 7572 }, 7573 amount: { 7574 label: 'motion.preset_flyout.amount', 7575 type: 'number', 7576 control: 'input', 7577 defaultValue: 50, 7578 unit: 'px', 7579 }, 7580 axis: { 7581 label: 'motion.preset_flyout.axis', 7582 type: 'string', 7583 defaultValue: 'xy', 7584 control: 'select', 7585 options: [ 7586 { value: 'x', label: 'motion.preset_flyout.x' }, 7587 { value: 'y', label: 'motion.preset_flyout.y' }, 7588 { value: 'xy', label: 'motion.preset_flyout.both' }, 7589 ], 7590 }, 7591 // TODO(showDividerAbove-cleanup): the \`showDividerAbove\` flags in this file 7592 // are redundant \u2014 section dividers are now applied client-side in the preset 7593 // flyout via \`forceShowDividerAboveTransform\`. 7594 // Order is start values then end values (startWidth, startHeight, endWidth, 7595 // endHeight) so the custom-xy flyout groups Starts then Ends, matching the
7596 // dividers in \`getSectionDividerProps\` (and the position preset's layout). 7597 startWidth: { 7598 label: 'motion.preset_flyout.start', 7599 type: 'number', 7600 control: 'input', 7601 defaultValue: 50, 7602 icon: 'w', 7603 showDividerAbove: true, 7604 }, 7605 startHeight: { 7606 label: 'motion.preset_flyout.start', 7607 type: 'number', 7608 control: 'input', 7609 defaultValue: 50, 7610 icon: 'h', 7611 }, 7612 endWidth: { 7613 label: 'motion.preset_flyout.end', 7614 type: 'number', 7615 control: 'input', 7616 defaultValue: 100, 7617 icon: 'w', 7618 }, 7619 endHeight: { 7620 label: 'motion.preset_flyout.end', 7621 type: 'number', 7622 control: 'input', 7623 defaultValue: 100, 7624 icon: 'h', 7625 }, 7626 // Note: 'delay' is kept in sync with a preset's \`timelineOffset\` 7627 delay: { 7628 label: 'motion.preset_flyout.delay', 7629 type: 'number', 7630 control: 'input', 7631 defaultValue: 0, 7632 unit: 's', 7633 showDividerAbove: true, 7634 icon: 'delay', 7635 }, 7636 duration: { 7637 label: 'motion.preset_flyout.duration', 7638 type: 'number', 7639 control: 'input', 7640 defaultValue: 0.5, 7641 min: 0.01, 7642 unit: 's', 7643 icon: 'time', 7644 }, 7645 easing: { 7646 label: 'motion.preset_flyout.easing', 7647 type: 'easing', 7648 defaultValue: { 7649 easingType: EasingType.OUT_CUBIC, 7650 }, 7651 }, 7652}) 7653`,N0=`var __presetBundle = (() => { 7654 var __defProp = Object.defineProperty; 7655 var __getOwnPropDesc = Object.getOwnPropertyDescriptor; 7656 var __getOwnPropNames = Object.getOwnPropertyNames; 7657 var __hasOwnProp = Object.prototype.hasOwnProperty; 7658 var __export = (target, all) => { 7659 for (var name in all) 7660 __defProp(target, name, { get: all[name], enumerable: true }); 7661 }; 7662 var __copyProps = (to, from, except, desc) => { 7663 if (from && typeof from === "object" || typeof from === "function") { 7664 for (let key of __getOwnPropNames(from)) 7665 if (!__hasOwnProp.call(to, key) && key !== except) 7666 __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); 7667 } 7668 return to; 7669 }; 7670 var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); 7671 7672
7672// ../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/share/motion/src/presets/source/size.ts 7673 var size_exports = {}; 7674 __export(size_exports, { 7675 default: () => preset 7676 }); 7677 7678 // figma-motion:figma:motion 7679 function defineProperties(component, spec) { 7680 Object.assign(component, { 7681 [/* @__PURE__ */ Symbol.for("figma.react.props")]: spec 7682 }); 7683 } 7684 var EasingType = { 7685 IN_CUBIC: 0, 7686 inCubic: 0, 7687 OUT_CUBIC: 1, 7688 outCubic: 1, 7689 INOUT_CUBIC: 2, 7690 inOutCubic: 2, 7691 LINEAR: 3, 7692 linear: 3, 7693 IN_BACK_CUBIC: 4, 7694 inBackCubic: 4, 7695 OUT_BACK_CUBIC: 5, 7696 outBackCubic: 5, 7697 INOUT_BACK_CUBIC: 6, 7698 inOutBackCubic: 6, 7699 CUSTOM_CUBIC: 7, 7700 customCubic: 7, 7701 SPRING: 8, 7702 spring: 8, 7703 GENTLE_SPRING: 9, 7704 gentleSpring: 9, 7705 CUSTOM_SPRING: 10, 7706 customSpring: 10, 7707 SPRING_PRESET_ONE: 11, 7708 springPresetOne: 11, 7709 SPRING_PRESET_TWO: 12, 7710 springPresetTwo: 12, 7711 SPRING_PRESET_THREE: 13, 7712 springPresetThree: 13, 7713 // For backwards compat 7714 bezier: 100, 7715 BEZIER: 100 7716 }; 7717 var InterpolationType = { 7718 HOLD: 0, 7719 hold: 0, 7720 BEZIER: 1, 7721 bezier: 1 7722 }; 7723 var KeyframeOperation = { 7724 SET: 0, 7725 set: 0, 7726 SCALE: 1, 7727 scale: 1, 7728 OFFSET: 2, 7729 offset: 2 7730 }; 7731 var ParameterField = { 7732 MISSING: 0, 7733 missing: 0, 7734 CORNER_RADIUS: 1, 7735 cornerRadius: 1, 7736 PARAGRAPH_SPACING: 2, 7737 paragraphSpacing: 2, 7738 PARAGRAPH_INDENT: 3, 7739 paragraphIndent: 3, 7740 STROKE_WEIGHT: 4, 7741 strokeWeight: 4, 7742 STACK_SPACING: 5, 7743 stackSpacing: 5, 7744 STACK_PADDING_LEFT: 6, 7745 stackPaddingLeft: 6, 7746 STACK_PADDING_TOP: 7, 7747 stackPaddingTop: 7, 7748 STACK_PADDING_RIGHT: 8, 7749 stackPaddingRight: 8, 7750 STACK_PADDING_BOTTOM: 9, 7751 stackPaddingBottom: 9, 7752 VISIBLE: 10, 7753 visible: 10, 7754 TEXT_DATA: 11, 7755 textData: 11, 7756 WIDTH: 12, 7757 width: 12, 7758 HEIGHT: 13, 7759 height: 13, 7760 RECTANGLE_TOP_LEFT_CORNER_RADIUS: 14, 7761 rectangleTopLeftCornerRadius: 14, 7762 RECTANGLE_TOP_RIGHT_CORNER_RADIUS: 15, 7763 rectangleTopRightCornerRadius: 15, 7764 RECTANGLE_BOTTOM_LEFT_CORNER_RADIUS: 16, 7765 rectangleBottomLeftCornerRadius: 16, 7766 RECTANGLE_BOTTOM_RIGHT_CORNER_RADIUS: 17, 7767 rectangleBottomRightCornerRadius: 17, 7768 BORDER_TOP_WEIGHT: 18, 7769 borderTopWeight: 18, 7770 BORDER_BOTTOM_WEIGHT: 19, 7771 borderBottomWeight: 19, 7772 BORDER_LEFT_WEIGHT: 20, 7773 borderLeftWeight: 20, 7774 BORDER_RIGHT_WEIGHT: 21, 7775 borderRightWeight: 21, 7776 VARIANT_PROPERTIES: 22, 7777 variantProperties: 22, 7778 STACK_COUNTER_SPACING: 23, 7779 stackCounterSpacing: 23, 7780 MIN_WIDTH: 24, 7781 minWidth: 24, 7782 MAX_WIDTH: 25, 7783 maxWidth: 25, 7784 MIN_HEIGHT: 26, 7785 minHeight: 26, 7786 MAX_HEIGHT: 27, 7787 maxHeight: 27, 7788 FONT_FAMILY: 28, 7789 fontFamily: 28, 7790 FONT_STYLE: 29, 7791 fontStyle: 29, 7792 FONT_VARIATIONS: 30, 7793 fontVariations: 30, 7794 OPACITY: 31, 7795 opacity: 31, 7796 FONT_SIZE: 32, 7797 fontSize: 32, 7798 LETTER_SPACING: 34, 7799 letterSpacing: 34, 7800 LINE_HEIGHT: 36, 7801 lineHeight: 36, 7802 OVERRIDDEN_SYMBOL_ID: 37, 7803 overriddenSymbolId: 37, 7804 CMS_SERIALIZED_RICH_TEXT_DATA: 38, 7805 cmsSerializedRichTextData: 38, 7806 HYPERLINK: 39, 7807 hyperlink: 39, 7808 SLOT_CONTENT_ID: 40, 7809 slotContentId: 40, 7810 GRID_ROW_GAP: 41, 7811 gridRowGap: 41, 7812 GRID_COLUMN_GAP: 42, 7813 gridColumnGap: 42, 7814 RELATIVE_X_POSITION: 43, 7815 xPosition: 43, 7816 RELATIVE_Y_POSITION: 44, 7817 relativeYPosition: 44, 7818 RELATIVE_ROTATION: 45, 7819 relativeRotation: 45, 7820 MOTION_TRANSLATION_X: 46, 7821 motionTranslationX: 46, 7822 MOTION_TRANSLATION_Y: 47, 7823 motionTranslationY: 47, 7824 MOTION_ROTATION: 48, 7825 motionRotation: 48, 7826 MOTION_SCALE_X: 49, 7827 motionScaleX: 49, 7828 MOTION_SCALE_Y: 50, 7829 motionScaleY: 50, 7830 MOTION_SHEAR: 51, 7831 motionShear: 51, 7832 SCROLL_OFFSET_X: 52, 7833 scrollOffsetX: 52, 7834 SCROLL_OFFSET_Y: 53, 7835 scrollOffsetY: 53, 7836 PATH_TRIM_START: 54, 7837 pathTrimStart: 54, 7838 PATH_TRIM_END: 55, 7839 pathTrimEnd: 55, 7840 DISSOLVE_PROGRESS: 56, 7841 dissolveProgress: 56 7842 }; 7843 var Keyframe = class { 7844 constructor(data) { 7845 this.timelinePosition = Math.round(data.timelinePosition); 7846 this.easing = data.easing; 7847 this.value = data.value; 7848 } 7849 }; 7850 var KeyframeTrack = class { 7851 constructor(data) { 7852 this.topLevelField = data.topLevelField; 7853 this.parameterField = data.parameterField; 7854 this.index = data.index; 7855 this.effectParametrizedField = data.effectParametrizedField; 7856 this.keyframeOperation = data.keyframeOperation; 7857 this.keyframes = data.keyframes; 7858 this.enabled = !!data.enabled; 7859 } 7860 }; 7861 var AnimationPreset = class { 7862 constructor(data) { 7863 this.nodeId = data.nodeId; 7864 this.keyframeTracks = data.keyframeTracks; 7865 } 7866 }; 7867 var PARAMETER_FIELD_ALIAS_MAP = { 7868 translateX: ParameterField.MOTION_TRANSLATION_X, 7869 translateY: ParameterField.MOTION_TRANSLATION_Y, 7870 rotate: ParameterField.MOTION_ROTATION, 7871 scaleX: ParameterField.MOTION_SCALE_X, 7872 scaleY: ParameterField.MOTION_SCALE_Y, 7873 shear: ParameterField.MOTION_SHEAR 7874 }; 7875 var KEYFRAMEABLE_FIELDS = /* @__PURE__ */ new Set([ 7876 "translateX", 7877 "translateY", 7878 "rotate", 7879 "scaleX", 7880 "scaleY", 7881 "shear", 7882 "cornerRadius", 7883 "strokeWeight", 7884 "rectangleTopLeftCornerRadius", 7885 "rectangleTopRightCornerRadius", 7886 "rectangleBottomLeftCornerRadius", 7887 "rectangleBottomRightCornerRadius", 7888 "stackSpacing", 7889 "stackPaddingLeft", 7890 "stackPaddingTop", 7891 "stackPaddingRight", 7892 "stackPaddingBottom", 7893 "width", 7894 "height", 7895 "borderTopWeight", 7896 "borderBottomWeight", 7897 "borderLeftWeight", 7898 "borderRightWeight", 7899 "stackCounterSpacing", 7900 "minWidth", 7901 "maxWidth", 7902 "minHeight", 7903 "maxHeight", 7904 "opacity", 7905 "gridRowGap", 7906 "gridColumnGap", 7907 "textData", 7908 "pathTrimStart", 7909 "pathTrimEnd" 7910 ]); 7911 var MODE_TO_OPERATION = { 7912 set: KeyframeOperation.SET, 7913 SET: KeyframeOperation.SET, 7914 offset: KeyframeOperation.OFFSET, 7915 OFFSET: KeyframeOperation.OFFSET, 7916 scale: KeyframeOperation.SCALE, 7917 SCALE: KeyframeOperation.SCALE 7918 }; 7919 function normalizeEasing(easing) { 7920 if (easing === void 0) return void 0; 7921 if (easing === "hold") return { interpolationType: InterpolationType.HOLD }; 7922 if (typeof easing === "string") { 7923 const easingType = EasingType[easing]; 7924 if (easingType === void 0) throw new Error('normalizeEasing: unknown easing "' + easing + '"'); 7925 return { easingType }; 7926 } 7927 return easing; 7928 } 7929 function compileKeyframe({ timelinePosition, value, easing }) { 7930 return new Keyframe({ 7931 timelinePosition: timelinePosition * 1e6, 7932 easing: normalizeEasing(easing), 7933 value 7934 }); 7935 } 7936 function tween({ mode, timelinePosition = 0, duration, from, to, easing, enabled = true }) { 7937 if (duration < 0) throw new Error("tween: duration must be non-negative"); 7938 return { 7939 mode, 7940 enabled, 7941 keyframes: [ 7942 { timelinePosition, value: from, easing }, 7943 { timelinePosition: timelinePosition + duration, value: to, easing } 7944 ] 7945 }; 7946 } 7947 function animate(node, definition) { 7948 const nodeId = typeof node === "string" ? node : node.id;
7949 const keyframeTracks = []; 7950 for (const [key, trackDef] of Object.entries(definition)) { 7951 if (!KEYFRAMEABLE_FIELDS.has(key)) { 7952 throw new Error('animate: unknown or non-keyframeable property "' + key + '"'); 7953 } 7954 const parameterField = PARAMETER_FIELD_ALIAS_MAP[key] ?? ParameterField[key]; 7955 const operation = MODE_TO_OPERATION[trackDef.mode]; 7956 if (operation === void 0) throw new Error('animate: unknown mode "' + trackDef.mode + '"'); 7957 const seen = /* @__PURE__ */ new Map(); 7958 for (const kf of trackDef.keyframes) seen.set(kf.timelinePosition, kf); 7959 const sorted = [...seen.values()].sort((a, b) => a.timelinePosition - b.timelinePosition); 7960 keyframeTracks.push(new KeyframeTrack({ 7961 parameterField, 7962 keyframeOperation: operation, 7963 keyframes: sorted.map(compileKeyframe), 7964 enabled: trackDef.enabled !== false 7965 })); 7966 } 7967 return new AnimationPreset({ nodeId, keyframeTracks }); 7968 } 7969 7970
7970// ../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/share/motion/src/presets/source/size.ts 7971 function buildAxisTrack(from, to, duration, easing, enabled) { 7972 return tween({ 7973 mode: "offset", 7974 timelinePosition: 0, 7975 duration, 7976 from, 7977 to, 7978 easing, 7979 enabled 7980 }); 7981 } 7982 function preset({ 7983 type, 7984 amount, 7985 axis, 7986 startWidth, 7987 endWidth, 7988 startHeight, 7989 endHeight, 7990 duration, 7991 easing, 7992 node 7993 }) { 7994 const safeAmount = typeof amount === "number" ? amount : 0; 7995 const safeStartWidth = typeof startWidth === "number" ? startWidth : 50; 7996 const safeEndWidth = typeof endWidth === "number" ? endWidth : 100; 7997 const safeStartHeight = typeof startHeight === "number" ? startHeight : 50; 7998 const safeEndHeight = typeof endHeight === "number" ? endHeight : 100; 7999 const safeDuration = typeof duration === "number" ? duration : 0.5; 8000 let widthTrack = null; 8001 let heightTrack = null; 8002 let widthEnabled = true; 8003 let heightEnabled = true; 8004 switch (type) { 8005 case "resize_in": { 8006 widthTrack = [safeAmount, 0]; 8007 heightTrack = [safeAmount, 0]; 8008 break; 8009 } 8010 case "resize_out": { 8011 widthTrack = [0, safeAmount]; 8012 heightTrack = [0, safeAmount]; 8013 break; 8014 } 8015 case "custom": { 8016 widthEnabled = axis !== "y"; 8017 heightEnabled = axis !== "x"; 8018 widthTrack = [safeStartWidth, safeEndWidth]; 8019 heightTrack = [safeStartHeight, safeEndHeight]; 8020 break; 8021 } 8022 default: 8023 break; 8024 } 8025 const definition = {}; 8026 if (widthTrack) { 8027 definition.width = buildAxisTrack( 8028 widthTrack[0], 8029 widthTrack[1], 8030 safeDuration, 8031 easing, 8032 widthEnabled 8033 ); 8034 } 8035 if (heightTrack) { 8036 definition.height = buildAxisTrack( 8037 heightTrack[0], 8038 heightTrack[1], 8039 safeDuration, 8040 easing, 8041 heightEnabled 8042 ); 8043 } 8044 return [animate(node, definition)]; 8045 } 8046 defineProperties(preset, { 8047 type: { 8048 label: "motion.preset_flyout.type", 8049 type: "string", 8050 defaultValue: "resize_in", 8051 control: "select", 8052 options: [ 8053 { value: "resize_in", label: "motion.preset_flyout.size.type.resize_in" }, 8054 { value: "resize_out", label: "motion.preset_flyout.size.type.resize_out" }, 8055 { value: "custom", label: "motion.preset_flyout.type.custom" } 8056 ] 8057 }, 8058 amount: { 8059 label: "motion.preset_flyout.amount", 8060 type: "number", 8061 control: "input", 8062 defaultValue: 50, 8063 unit: "px" 8064 }, 8065 axis: { 8066 label: "motion.preset_flyout.axis", 8067 type: "string", 8068 defaultValue: "xy", 8069 control: "select", 8070 options: [ 8071 { value: "x", label: "motion.preset_flyout.x" }, 8072 { value: "y", label: "motion.preset_flyout.y" }, 8073 { value: "xy", label: "motion.preset_flyout.both" } 8074 ] 8075 }, 8076 // TODO(showDividerAbove-cleanup): the \`showDividerAbove\` flags in this file 8077 // are redundant \u2014 section dividers are now applied client-side in the preset 8078 // flyout via \`forceShowDividerAboveTransform\`. 8079 // Order is start values then end values (startWidth, startHeight, endWidth, 8080 // endHeight) so the custom-xy flyout groups Starts then Ends, matching the 8081 // dividers in \`getSectionDividerProps\` (and the position preset's layout). 8082 startWidth: { 8083 label: "motion.preset_flyout.start", 8084 type: "number", 8085 control: "input", 8086 defaultValue: 50, 8087 icon: "w", 8088 showDividerAbove: true 8089 }, 8090 startHeight: { 8091 label: "motion.preset_flyout.start", 8092 type: "number", 8093 control: "input", 8094 defaultValue: 50, 8095 icon: "h" 8096 }, 8097 endWidth: { 8098 label: "motion.preset_flyout.end", 8099 type: "number", 8100 control: "input", 8101 defaultValue: 100, 8102 icon: "w" 8103 }, 8104 endHeight: { 8105 label: "motion.preset_flyout.end", 8106 type: "number", 8107 control: "input", 8108 defaultValue: 100, 8109 icon: "h" 8110 }, 8111 // Note: 'delay' is kept in sync with a preset's \`timelineOffset\` 8112 delay: { 8113 label: "motion.preset_flyout.delay", 8114 type: "number", 8115 control: "input", 8116 defaultValue: 0, 8117 unit: "s", 8118 showDividerAbove: true, 8119 icon: "delay" 8120 }, 8121 duration: { 8122 label: "motion.preset_flyout.duration", 8123 type: "number", 8124 control: "input", 8125 defaultValue: 0.5, 8126 min: 0.01, 8127 unit: "s", 8128 icon: "time" 8129 }, 8130 easing: { 8131 label: "motion.preset_flyout.easing", 8132 type: "easing", 8133 defaultValue: { 8134 easingType: EasingType.OUT_CUBIC 8135 } 8136 } 8137 });
8138 return __toCommonJS(size_exports); 8139})();`});var b0,L0,C0=Qt(()=>{b0=`// Source-of-truth for the TEXT_DATA first-party animation preset. 8140// 8141// The build-time preset-bundle codegen (see \`../scripts/generate_preset_bundles.ts\`) 8142// reads this file's raw text, esbuilds it into an IIFE with \`figma:motion\` 8143// resolved, and emits both strings into \`../generated/text_data.generated.ts\`. 8144// The generated module is what runtime code consumes \u2014 never import this file 8145// directly from production code paths. 8146// 8147// This file is excluded from the share/motion \`ts_project\` compilation \u2014 it's 8148// only an input to the codegen tool, evaluated inside the QuickJS / iframe 8149// sandbox at runtime. 8150 8151import { animate, defineProperties, EasingType } from 'figma:motion' 8152 8153import type { PresetArgs } from './preset_types' 8154 8155function revealTextKeyframes({ text, by, duration, linesStartIndices, easing }: PresetArgs) { 8156 const keyframes: Array<{ timelinePosition: number; value: string; easing: PresetArgs }> = [] 8157 const push = (value: string, i: number, n: number) => 8158 keyframes.push({ 8159 timelinePosition: n <= 1 ? 0 : (i / (n - 1)) * duration, 8160 value, 8161 easing, 8162 }) 8163 8164 if (by === 'character') { 8165 const chars = Array.from(text) 8166 for (let i = 0; i <= chars.length; i++) push(chars.slice(0, i).join(''), i, chars.length + 1) 8167 } else if (by === 'word') { 8168 const wordEndIndices = [0] 8169 const wordRegex = /\\S+/g 8170 for (const match of text.matchAll(wordRegex)) { 8171 wordEndIndices.push(match.index + match[0].length) 8172 } 8173 const n = wordEndIndices.length 8174 for (let i = 0; i < n; i++) push(text.slice(0, wordEndIndices[i]), i, n) 8175 } else if (by === 'line') { 8176 const starts = linesStartIndices ?? [] 8177 const cuts = [0, ...starts, text.length + 1] 8178 for (let i = 0; i < cuts.length; i++) 8179 push(text.slice(0, Math.max(0, cuts[i] - 1)), i, cuts.length) 8180 } 8181 8182 return { mode: 'set', keyframes } 8183} 8184 8185export default function preset({ revealBy, duration, target, baseNodeData }: PresetArgs) { 8186 const easing = { easingType: EasingType.OUT_CUBIC } 8187 return [ 8188 animate(target, { 8189 textData: revealTextKeyframes({ 8190 text: baseNodeData.text, 8191 by: revealBy, 8192 duration, 8193 linesStartIndices: baseNodeData.linesStartIndices, 8194 easing, 8195 }), 8196 }), 8197 ] 8198} 8199
8200defineProperties(preset, { 8201 revealBy: { 8202 label: 'Reveal By', 8203 type: 'string', 8204 defaultValue: 'character', 8205 control: 'select', 8206 options: [ 8207 { value: 'character', label: 'Character' }, 8208 { value: 'word', label: 'Word' }, 8209 { value: 'line', label: 'Line' }, 8210 ], 8211 }, 8212 duration: { 8213 label: 'Duration', 8214 type: 'number', 8215 defaultValue: 1.5, 8216 control: 'input', 8217 min: 0.01, 8218 unit: 's', 8219 }, 8220}) 8221`,L0=`var __presetBundle = (() => { 8222 var __defProp = Object.defineProperty; 8223 var __getOwnPropDesc = Object.getOwnPropertyDescriptor; 8224 var __getOwnPropNames = Object.getOwnPropertyNames; 8225 var __hasOwnProp = Object.prototype.hasOwnProperty; 8226 var __export = (target, all) => { 8227 for (var name in all) 8228 __defProp(target, name, { get: all[name], enumerable: true }); 8229 }; 8230 var __copyProps = (to, from, except, desc) => { 8231 if (from && typeof from === "object" || typeof from === "function") { 8232 for (let key of __getOwnPropNames(from)) 8233 if (!__hasOwnProp.call(to, key) && key !== except) 8234 __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); 8235 } 8236 return to; 8237 }; 8238 var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); 8239 8240
8240// ../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/share/motion/src/presets/source/text_data.ts 8241 var text_data_exports = {}; 8242 __export(text_data_exports, { 8243 default: () => preset 8244 }); 8245 8246 // figma-motion:figma:motion 8247 function defineProperties(component, spec) { 8248 Object.assign(component, { 8249 [/* @__PURE__ */ Symbol.for("figma.react.props")]: spec 8250 }); 8251 } 8252 var EasingType = { 8253 IN_CUBIC: 0, 8254 inCubic: 0, 8255 OUT_CUBIC: 1, 8256 outCubic: 1, 8257 INOUT_CUBIC: 2, 8258 inOutCubic: 2, 8259 LINEAR: 3, 8260 linear: 3, 8261 IN_BACK_CUBIC: 4, 8262 inBackCubic: 4, 8263 OUT_BACK_CUBIC: 5, 8264 outBackCubic: 5, 8265 INOUT_BACK_CUBIC: 6, 8266 inOutBackCubic: 6, 8267 CUSTOM_CUBIC: 7, 8268 customCubic: 7, 8269 SPRING: 8, 8270 spring: 8, 8271 GENTLE_SPRING: 9, 8272 gentleSpring: 9, 8273 CUSTOM_SPRING: 10, 8274 customSpring: 10, 8275 SPRING_PRESET_ONE: 11, 8276 springPresetOne: 11, 8277 SPRING_PRESET_TWO: 12, 8278 springPresetTwo: 12, 8279 SPRING_PRESET_THREE: 13, 8280 springPresetThree: 13, 8281 // For backwards compat 8282 bezier: 100, 8283 BEZIER: 100 8284 }; 8285 var InterpolationType = { 8286 HOLD: 0, 8287 hold: 0, 8288 BEZIER: 1, 8289 bezier: 1 8290 }; 8291 var KeyframeOperation = { 8292 SET: 0, 8293 set: 0, 8294 SCALE: 1, 8295 scale: 1, 8296 OFFSET: 2, 8297 offset: 2 8298 }; 8299 var ParameterField = { 8300 MISSING: 0, 8301 missing: 0, 8302 CORNER_RADIUS: 1, 8303 cornerRadius: 1, 8304 PARAGRAPH_SPACING: 2, 8305 paragraphSpacing: 2, 8306 PARAGRAPH_INDENT: 3, 8307 paragraphIndent: 3, 8308 STROKE_WEIGHT: 4, 8309 strokeWeight: 4, 8310 STACK_SPACING: 5, 8311 stackSpacing: 5, 8312 STACK_PADDING_LEFT: 6, 8313 stackPaddingLeft: 6, 8314 STACK_PADDING_TOP: 7, 8315 stackPaddingTop: 7, 8316 STACK_PADDING_RIGHT: 8, 8317 stackPaddingRight: 8, 8318 STACK_PADDING_BOTTOM: 9, 8319 stackPaddingBottom: 9, 8320 VISIBLE: 10, 8321 visible: 10, 8322 TEXT_DATA: 11, 8323 textData: 11, 8324 WIDTH: 12, 8325 width: 12, 8326 HEIGHT: 13, 8327 height: 13, 8328 RECTANGLE_TOP_LEFT_CORNER_RADIUS: 14, 8329 rectangleTopLeftCornerRadius: 14, 8330 RECTANGLE_TOP_RIGHT_CORNER_RADIUS: 15, 8331 rectangleTopRightCornerRadius: 15, 8332 RECTANGLE_BOTTOM_LEFT_CORNER_RADIUS: 16, 8333 rectangleBottomLeftCornerRadius: 16, 8334 RECTANGLE_BOTTOM_RIGHT_CORNER_RADIUS: 17, 8335 rectangleBottomRightCornerRadius: 17, 8336 BORDER_TOP_WEIGHT: 18, 8337 borderTopWeight: 18, 8338 BORDER_BOTTOM_WEIGHT: 19, 8339 borderBottomWeight: 19, 8340 BORDER_LEFT_WEIGHT: 20, 8341 borderLeftWeight: 20, 8342 BORDER_RIGHT_WEIGHT: 21, 8343 borderRightWeight: 21, 8344 VARIANT_PROPERTIES: 22, 8345 variantProperties: 22, 8346 STACK_COUNTER_SPACING: 23, 8347 stackCounterSpacing: 23, 8348 MIN_WIDTH: 24, 8349 minWidth: 24, 8350 MAX_WIDTH: 25, 8351 maxWidth: 25, 8352 MIN_HEIGHT: 26, 8353 minHeight: 26, 8354 MAX_HEIGHT: 27, 8355 maxHeight: 27, 8356 FONT_FAMILY: 28, 8357 fontFamily: 28, 8358 FONT_STYLE: 29, 8359 fontStyle: 29, 8360 FONT_VARIATIONS: 30, 8361 fontVariations: 30, 8362 OPACITY: 31, 8363 opacity: 31, 8364 FONT_SIZE: 32, 8365 fontSize: 32, 8366 LETTER_SPACING: 34, 8367 letterSpacing: 34, 8368 LINE_HEIGHT: 36, 8369 lineHeight: 36, 8370 OVERRIDDEN_SYMBOL_ID: 37, 8371 overriddenSymbolId: 37, 8372 CMS_SERIALIZED_RICH_TEXT_DATA: 38, 8373 cmsSerializedRichTextData: 38, 8374 HYPERLINK: 39, 8375 hyperlink: 39, 8376 SLOT_CONTENT_ID: 40, 8377 slotContentId: 40, 8378 GRID_ROW_GAP: 41, 8379 gridRowGap: 41, 8380 GRID_COLUMN_GAP: 42, 8381 gridColumnGap: 42, 8382 RELATIVE_X_POSITION: 43, 8383 xPosition: 43, 8384 RELATIVE_Y_POSITION: 44, 8385 relativeYPosition: 44, 8386 RELATIVE_ROTATION: 45, 8387 relativeRotation: 45, 8388 MOTION_TRANSLATION_X: 46, 8389 motionTranslationX: 46, 8390 MOTION_TRANSLATION_Y: 47, 8391 motionTranslationY: 47, 8392 MOTION_ROTATION: 48, 8393 motionRotation: 48, 8394 MOTION_SCALE_X: 49, 8395 motionScaleX: 49, 8396 MOTION_SCALE_Y: 50, 8397 motionScaleY: 50, 8398 MOTION_SHEAR: 51, 8399 motionShear: 51, 8400 SCROLL_OFFSET_X: 52, 8401 scrollOffsetX: 52, 8402 SCROLL_OFFSET_Y: 53, 8403 scrollOffsetY: 53, 8404 PATH_TRIM_START: 54, 8405 pathTrimStart: 54, 8406 PATH_TRIM_END: 55, 8407 pathTrimEnd: 55, 8408 DISSOLVE_PROGRESS: 56, 8409 dissolveProgress: 56 8410 }; 8411 var Keyframe = class { 8412 constructor(data) { 8413 this.timelinePosition = Math.round(data.timelinePosition); 8414 this.easing = data.easing; 8415 this.value = data.value; 8416 } 8417 }; 8418 var KeyframeTrack = class { 8419 constructor(data) { 8420 this.topLevelField = data.topLevelField; 8421 this.parameterField = data.parameterField; 8422 this.index = data.index; 8423 this.effectParametrizedField = data.effectParametrizedField; 8424 this.keyframeOperation = data.keyframeOperation; 8425 this.keyframes = data.keyframes; 8426 this.enabled = !!data.enabled; 8427 } 8428 }; 8429 var AnimationPreset = class { 8430 constructor(data) { 8431 this.nodeId = data.nodeId; 8432 this.keyframeTracks = data.keyframeTracks; 8433 } 8434 }; 8435 var PARAMETER_FIELD_ALIAS_MAP = { 8436 translateX: ParameterField.MOTION_TRANSLATION_X, 8437 translateY: ParameterField.MOTION_TRANSLATION_Y, 8438 rotate: ParameterField.MOTION_ROTATION, 8439 scaleX: ParameterField.MOTION_SCALE_X, 8440 scaleY: ParameterField.MOTION_SCALE_Y, 8441 shear: ParameterField.MOTION_SHEAR 8442 }; 8443 var KEYFRAMEABLE_FIELDS = /* @__PURE__ */ new Set([ 8444 "translateX", 8445 "translateY", 8446 "rotate", 8447 "scaleX", 8448 "scaleY", 8449 "shear", 8450 "cornerRadius", 8451 "strokeWeight", 8452 "rectangleTopLeftCornerRadius", 8453 "rectangleTopRightCornerRadius", 8454 "rectangleBottomLeftCornerRadius", 8455 "rectangleBottomRightCornerRadius", 8456 "stackSpacing", 8457 "stackPaddingLeft", 8458 "stackPaddingTop", 8459 "stackPaddingRight", 8460 "stackPaddingBottom", 8461 "width", 8462 "height", 8463 "borderTopWeight", 8464 "borderBottomWeight", 8465 "borderLeftWeight", 8466 "borderRightWeight", 8467 "stackCounterSpacing", 8468 "minWidth", 8469 "maxWidth", 8470 "minHeight", 8471 "maxHeight", 8472 "opacity", 8473 "gridRowGap", 8474 "gridColumnGap", 8475 "textData", 8476 "pathTrimStart", 8477 "pathTrimEnd" 8478 ]); 8479 var MODE_TO_OPERATION = { 8480 set: KeyframeOperation.SET, 8481 SET: KeyframeOperation.SET, 8482 offset: KeyframeOperation.OFFSET, 8483 OFFSET: KeyframeOperation.OFFSET, 8484 scale: KeyframeOperation.SCALE, 8485 SCALE: KeyframeOperation.SCALE 8486 }; 8487 function normalizeEasing(easing) { 8488 if (easing === void 0) return void 0; 8489 if (easing === "hold") return { interpolationType: InterpolationType.HOLD }; 8490 if (typeof easing === "string") { 8491 const easingType = EasingType[easing]; 8492 if (easingType === void 0) throw new Error('normalizeEasing: unknown easing "' + easing + '"'); 8493 return { easingType }; 8494 } 8495 return easing; 8496 } 8497 function compileKeyframe({ timelinePosition, value, easing }) { 8498 return new Keyframe({ 8499 timelinePosition: timelinePosition * 1e6, 8500 easing: normalizeEasing(easing), 8501 value 8502 }); 8503 } 8504 function animate(node, definition) { 8505 const nodeId = typeof node === "string" ? node : node.id;
8506 const keyframeTracks = []; 8507 for (const [key, trackDef] of Object.entries(definition)) { 8508 if (!KEYFRAMEABLE_FIELDS.has(key)) { 8509 throw new Error('animate: unknown or non-keyframeable property "' + key + '"'); 8510 } 8511 const parameterField = PARAMETER_FIELD_ALIAS_MAP[key] ?? ParameterField[key]; 8512 const operation = MODE_TO_OPERATION[trackDef.mode]; 8513 if (operation === void 0) throw new Error('animate: unknown mode "' + trackDef.mode + '"'); 8514 const seen = /* @__PURE__ */ new Map(); 8515 for (const kf of trackDef.keyframes) seen.set(kf.timelinePosition, kf); 8516 const sorted = [...seen.values()].sort((a, b) => a.timelinePosition - b.timelinePosition); 8517 keyframeTracks.push(new KeyframeTrack({ 8518 parameterField, 8519 keyframeOperation: operation, 8520 keyframes: sorted.map(compileKeyframe), 8521 enabled: trackDef.enabled !== false 8522 })); 8523 } 8524 return new AnimationPreset({ nodeId, keyframeTracks }); 8525 } 8526 8527
8527// ../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/share/motion/src/presets/source/text_data.ts 8528 function revealTextKeyframes({ text, by, duration, linesStartIndices, easing }) { 8529 const keyframes = []; 8530 const push = (value, i, n) => keyframes.push({ 8531 timelinePosition: n <= 1 ? 0 : i / (n - 1) * duration, 8532 value, 8533 easing 8534 }); 8535 if (by === "character") { 8536 const chars = Array.from(text); 8537 for (let i = 0; i <= chars.length; i++) push(chars.slice(0, i).join(""), i, chars.length + 1); 8538 } else if (by === "word") { 8539 const wordEndIndices = [0]; 8540 const wordRegex = /\\S+/g; 8541 for (const match of text.matchAll(wordRegex)) { 8542 wordEndIndices.push(match.index + match[0].length); 8543 } 8544 const n = wordEndIndices.length; 8545 for (let i = 0; i < n; i++) push(text.slice(0, wordEndIndices[i]), i, n); 8546 } else if (by === "line") { 8547 const starts = linesStartIndices ?? []; 8548 const cuts = [0, ...starts, text.length + 1]; 8549 for (let i = 0; i < cuts.length; i++) 8550 push(text.slice(0, Math.max(0, cuts[i] - 1)), i, cuts.length); 8551 } 8552 return { mode: "set", keyframes }; 8553 } 8554 function preset({ revealBy, duration, target, baseNodeData }) { 8555 const easing = { easingType: EasingType.OUT_CUBIC }; 8556 return [ 8557 animate(target, { 8558 textData: revealTextKeyframes({ 8559 text: baseNodeData.text, 8560 by: revealBy, 8561 duration, 8562 linesStartIndices: baseNodeData.linesStartIndices, 8563 easing 8564 }) 8565 }) 8566 ]; 8567 } 8568 defineProperties(preset, { 8569 revealBy: { 8570 label: "Reveal By", 8571 type: "string", 8572 defaultValue: "character", 8573 control: "select", 8574 options: [ 8575 { value: "character", label: "Character" }, 8576 { value: "word", label: "Word" }, 8577 { value: "line", label: "Line" } 8578 ] 8579 }, 8580 duration: { 8581 label: "Duration", 8582 type: "number", 8583 defaultValue: 1.5, 8584 control: "input", 8585 min: 0.01, 8586 unit: "s" 8587 } 8588 }); 8589 return __toCommonJS(text_data_exports); 8590})();`});var Sn,P0=Qt(()=>{Fe();Vx();Yx();Xx();Zx();Qx();n0();i0();l0();d0();m0();T0();g0();R0();y0();C0();Sn={[G.FADE_DEPRECATED]:{source:Hx,iife:Wx},[G.MOVE_DEPRECATED]:{source:Kx,iife:zx},[G.ROTATE_DEPRECATED]:{source:E0,iife:_0},[G.SCALE]:{source:I0,iife:S0},[G.RESIZE_DEPRECATED]:{source:f0,iife:p0},[G.NEW]:{source:jx,iife:$x},[G.TEXT_DATA]:{source:b0,iife:L0},[G.PATH_DRAW_DEPRECATED]:{source:r0,iife:o0},[G.PATH_TRAVEL_DEPRECATED]:{source:s0,iife:a0},[G.OPACITY]:{source:Jx,iife:qx},[G.CORNER_RADIUS]:{source:Bx,iife:Ux},[G.ROTATION]:{source:h0,iife:O0},[G.PATH]:{source:e0,iife:t0},[G.POSITION]:{source:u0,iife:c0},[G.SIZE]:{source:A0,iife:N0}}});var MB=ar(sN=>{"use strict";var X7=Symbol.for("react.fragment");sN.Fragment=X7;sN.jsxDEV=void 0});var aN=ar((mxe,GB)=>{"use strict";GB.exports=MB()});var aO=v(W()),lO=v(nE());var eW=0;function de(e,t){let n=`atom${++eW}`,r={toString(){return(import.meta.env?import.meta.env.MODE:void 0)!=="production"&&this.debugLabel?n+":"+this.debugLabel:n}};return typeof e=="function"?r.read=e:(r.init=e,r.read=tW,r.write=nW),t&&(r.write=t),r}function tW(e){return e(this)}function nW(e,t,n){return t(this,typeof n=="function"?n(e(this)):n)}var yC=(e,t)=>e.unstable_is?e.unstable_is(t):t===e,PI=e=>"init"in e,DI=e=>!!e.write,cf=Symbol((import.meta.env?import.meta.env.MODE:void 0)!=="production"?"CONTINUE_PROMISE":""),xI="pending",rW="fulfilled",oW="rejected",iW=e=>typeof e=="object"&&e!==null&&cf in e,rE=new WeakMap,sW=(e,t,n)=>{if(!rE.has(e)){let r,o=new Promise((i,s)=>{let a=e,l=c=>d=>{a===c&&(o.status=rW,o.value=d,i(d),n())},u=c=>d=>{a===c&&(o.status=oW,o.reason=d,s(d),n())};e.then(l(e),u(e)),r=(c,d)=>{c&&(rE.set(c,o),a=c,c.then(l(c),u(c)),t(),t=d)}});o.status=xI,o[cf]=r,rE.set(e,o)}return rE.get(e)},aW=e=>typeof e?.then=="function",bC=e=>"v"in e||"e"in e,oE=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},iE=e=>{let t=e.v;return iW(t)&&t.status===xI?t:null},PC=(e,t,n)=>{n.p.has(e)||(n.p.add(e),t.then(()=>{n.p.delete(e)},()=>{n.p.delete(e)}))},LC=(e,t,n,r,o)=>{var i;if((import.meta.env?import.meta.env.MODE:void 0)!=="production"&&r===t)throw new Error("[Bug] atom cannot depend on itself");n.d.set(r,o.n);let s=iE(n);s&&PC(t,s,o),(i=o.m)==null||i.t.add(t),e&&lW(e,r,t)},Iu=()=>[new Map,new Map,new Set],vI=(e,t,n)=>{e[0].has(t)||e[0].set(t,new Set),e[1].set(t,n)},lW=(e,t,n)=>{let r=e[0].get(t);r&&r.add(n)},uW=(e,t)=>e[0].get(t),CC=(e,t)=>{e[2].add(t)},ba=e=>{for(;e[1].size||e[2].size;){e[0].clear();let t=new Set(e[1].values());e[1].clear();let n=new Set(e[2]);e[2].clear(),t.forEach(r=>{var o;return(o=r.m)==null?void 0:o.l.forEach(i=>
8590i())}),n.forEach(r=>r())}},DC=e=>{let t;(import.meta.env?import.meta.env.MODE:void 0)!=="production"&&(t=new Set);let n=(T,h,m,E=()=>{},O=()=>{})=>{let g="v"in h,I=h.v,S=iE(h);if(aW(m))if(S)S!==m&&(S[cf](m,E),++h.n);else{let A=sW(m,E,O);if(A.status===xI)for(let R of h.d.keys())PC(T,A,e(R,h));h.v=A,delete h.e}else S&&S[cf](Promise.resolve(m),E),h.v=m,delete h.e;(!g||!Object.is(I,h.v))&&++h.n},r=(T,h,m,E)=>{if(!E?.(h)&&bC(m)&&(m.m||Array.from(m.d).every(([R,y])=>r(T,R,e(R,m),E).n===y)))return m;m.d.clear();let O=!0,g=R=>{if(yC(h,R)){let b=e(R,m);if(!bC(b))if(PI(R))n(R,b,R.init);else throw new Error("no atom init");return oE(b)}let y=r(T,R,e(R,m),E);if(O)LC(T,h,m,R,y);else{let b=Iu();LC(b,h,m,R,y),u(b,h,m),ba(b)}return oE(y)},I,S,A={get signal(){return I||(I=new AbortController),I.signal},get setSelf(){return(import.meta.env?import.meta.env.MODE:void 0)!=="production"&&!DI(h)&&console.warn("setSelf function cannot be used with read-only atom"),!S&&DI(h)&&(S=(...R)=>{if((import.meta.env?import.meta.env.MODE:void 0)!=="production"&&O&&console.warn("setSelf function cannot be called in sync"),!O)return l(h,...R)}),S}};try{let R=h.read(g,A);return n(h,m,R,()=>I?.abort(),()=>{if(m.m){let y=Iu();u(y,h,m),ba(y)}}),m}catch(R){return delete m.v,m.e=R,++m.n,m}finally{O=!1}},o=T=>oE(r(void 0,T,e(T))),i=(T,h,m)=>{var E,O;let g=new Map;for(let I of((E=m.m)==null?void 0:E.t)||[])g.set(I,e(I,m));for(let I of m.p)g.set(I,e(I,m));return(O=uW(T,h))==null||O.forEach(I=>{g.set(I,e(I,m))}),g},s=(T,h,m)=>{let E=[],O=new Set,g=(A,R)=>{if(!O.has(A)){O.add(A);for(let[y,b]of i(T,A,R))A!==y&&g(y,b);E.push([A,R,R.n])}};g(h,m);let I=new Set([h]),S=A=>O.has(A);for(let A=E.length-1;A>=0;--A){let[R,y,b]=E[A],L=!1;for(let D of y.d.keys())if(D!==R&&I.has(D)){L=!0;break}L&&(r(T,R,y,S),u(T,R,y),b!==y.n&&(vI(T,R,y),I.add(R))),O.delete(R)}},a=(T,h,m,...E)=>{let O=S=>oE(r(T,S,e(S,m))),g=(S,...A)=>{let R=e(S,m),y;if(yC(h,S)){if(!PI(S))throw new Error("atom not writable");let b="v"in R,L=R.v,D=A[0];n(S,R,D),u(T,S,R),(!b||!Object.is(L,R.v))&&(vI(T,S,R),s(T,S,R))}else y=a(T,S,R,...A);return ba(T),y};return h.write(O,g,...E)},l=(T,...h)=>{let m=Iu(),E=a(m,T,e(T),...h);return ba(m),E},u=(T,h,m)=>{if(m.m&&!iE(m)){for(let E of m.d.keys())m.m.d.has(E)||(c(T,E,e(E,m)).t.add(h),m.m.d.add(E));for(let E of m.m.d||[])if(!m.d.has(E)){m.m.d.delete(E);let O=d(T,E,e(E,m));O?.t.delete(h)}}},c=(T,h,m)=>{if(!m.m){r(T,h,m);for(let E of m.d.keys())c(T,E,e(E,m)).t.add(h);if(m.m={l:new Set,d:new Set(m.d.keys()),t:new Set},(import.meta.env?import.meta.env.MODE:void 0)!=="production"&&t.add(h),DI(h)&&h.onMount){let E=m.m,{onMount:O}=h;CC(T,()=>{let g=O((...I)=>a(T,h,m,...I));g&&(E.u=g)})}}return m.m},d=(T,h,m)=>{if(m.m&&!m.m.l.size&&!Array.from(m.m.t).some(E=>{var O;return(O=e(E,m).m)==null?void 0:O.d.has(h)})){let E=m.m.u;E&&CC(T,E),delete m.m,(import.meta.env?import.meta.env.MODE:void 0)!=="production"&&t.delete(h);for(let g of m.d.keys()){let I=d(T,g,e(g,m));I?.t.delete(h)}let O=iE(m);O&&O[cf](void 0,()=>{});return}return m.m},_={get:o,set:l,sub:(T,h)=>{let m=Iu(),E=e(T),O=c(m,T,E);ba(m);let g=O.l;return g.add(h),()=>{g.delete(h);let I=Iu();d(I,T,E),ba(I)}},unstable_derive:T=>DC(...T(e))};return(import.meta.env?import.meta.env.MODE:void 0)!=="production"&&Object.assign(_,{dev4_get_internal_weak_map:()=>({get:h=>{let m=e(h);if(m.n!==0)return m}}),dev4_get_mounted_atoms:()=>t,dev4_restore_atoms:h=>{let m=Iu();for(let[E,O]of h)if(PI(E)){let g=e(E),I="v"in g,S=g.v;n(E,g,O),u(m,E,g),(!I||!Object.is(S,g.v))&&(vI(m,E,g),s(m,E,g))}ba(m)}}),_},df=()=>{let e=new WeakMap;return DC(n=>{let r=e.get(n);return r||(r={d:new Map,p:new Set,n:0},e.set(n,r)),r})},uf,vC=()=>(uf||(uf=df(),(import.meta.env?import.meta.env.MODE:void 0)!=="production"&&(globalThis.__JOTAI_DEFAULT_STORE__||(globalThis.__JOTAI_DEFAULT_STORE__=uf),globalThis.__JOTAI_DEFAULT_STORE__!==uf&&console.warn("Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044"))),uf);var Ut=v(W(),1);var xC=(0,Ut.createContext)(void 0),MC=e=>{let t=(0,Ut.useContext)(xC);return e?.store||t||vC()},GC=({children:e,store:t})=>{let n=(0,Ut.useRef)();return!t&&!n.current&&(n.current=df()),(0,Ut.createElement)(xC.Provider,{value:t||n.current},e)},cW=e=>typeof e?.then=="function",dW=Ut.default.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)});function Ae(e,t){let n=MC(t),[[r,o,i],s]=(0,Ut.useReducer)(u=>{let c=n.get(e);return Object.is(u[0],c)&&u[1]===n&&u[2]===e?u:[c,n,e]},void 0,()=>[n.get(e),n,e]),a=r;(o!==n||i!==e)&&(s(),a=n.get(e));let l=t?.delay;return(0,Ut.useEffect)(()=>{let u=n.sub(e,()=>{if(typeof l=="number"){setTimeout(s,l);return}s()});return s(),u},[n,e,l]),(0,Ut.useDebugValue)(a),cW(a)?dW(a):a}function kC(e,t){let n=MC(t);return(0,Ut.useCallback)((...o)=>{if((import.meta.env?import.meta.env.MODE:void 0)!=="production"&&!("write"in e))throw new Error("not writable atom");return n.set(e,...o)},[n,e])}var Ln=v(_e()),ua=v(W());function UC(e,t,n){return e.renderHiddenRootNodes&&!n&&!t.visible}var iP=v(W()),sP=v(MI());function fo(e,t){return`node-${e.replace(/:/g,"_").replace(/;/g,"-")}${t?`_${t}`:""}`}function VC(e,t){return e in t}function HC(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var H=class{static fromFigVector(t){return new H(t.x,t.y)}static toVectorD(t){return{x:t.x,y:t.y}}static fromVectorD(t){return new H(t.x,t.y)}clone(){return new H(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 H(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 H(this.x-t.x,this.y-t.y)}static subtract(t,n){return{x:t.x-n.x,y:t.y-n.y}}plus(t){return new H(this.x+t.x,this.y+t.y)}incrementBy(t){this.x=this.x+t.x,this.y=this.y+t.y}minus(t){return new H(this.x-t.x,this.y-t.y)}component(t){return t===0?this.x:this.y}length(){return Math.sqrt(this.x*this.x+this.y*this.y)}static scale(t,n){return{x:t*n.x,y:t*n.y}}static abs(t){return{x:Math.abs(t.x),y:Math.abs(t.y)}}scale(t){return new H(this.x*t,this.y*t)}multiply(t){return new H(this.x*t.x,this.y*t.y)}divide(t){return new H(this.x/t.x,this.y/t.y)}dot(t){return H.dot(this,t)}toAngle(){return Math.atan2(this.y,this.x)}
8590static bound(t,n){return n?{x:Math.max(Math.min(t.x,n.max.x),n.min.x),y:Math.max(Math.min(t.y,n.max.y),n.min.y)}:t}static dot(t,n){return t.x*n.x+t.y*n.y}static interpolate(t,n,r){return{x:t.x+(n.x-t.x)*r,y:t.y+(n.y-t.y)*r}}static rounded(t){return{x:Math.round(t.x),y:Math.round(t.y)}}static size(t){return Math.sqrt(H.dot(t,t))}size(){return H.size(this)}unit(){let t=this.size();return this.scale(t===0?0:1/t)}distanceTo(t){return H.size(this.subtract(t))}static distance(t,n){return H.size(H.subtract(t,n))}clamp(t){return new H(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 H(Math.max(t.x,Math.min(t.x+t.width,this.x)),this.y)}clampY(t){return new H(this.x,Math.max(t.y,Math.min(t.y+t.height,this.y)))}rotate90(){return new H(-this.y,this.x)}hasNaN(){return Number.isNaN(this.x)||Number.isNaN(this.y)}isInvalid(){return this.hasNaN()}multiplyBy(t){return new H(this.x*t,this.y*t)}divideBy(t){return new H(this.x/t,this.y/t)}transpose(){return new H(this.y,this.x)}rounded(){return new H(Math.round(this.x),Math.round(this.y))}static max(t,n){return new H(Math.max(t.x,n.x),Math.max(t.y,n.y))}static min(t,n){return new H(Math.min(t.x,n.x),Math.min(t.y,n.y))}static infinity(){return new H(Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY)}static invalid(){return new H(Number.NaN,Number.NaN)}constructor(t=0,n=0){HC(this,"x",void 0),HC(this,"y",void 0),this.x=t,this.y=n}};function WC(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ke=class{static fromRectD(t){return new Ke(H.fromVectorD(t.origin),H.fromVectorD(t.size))}clone(){return new Ke(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 H(this.right(),this.bottom())}bottomLeft(){return new H(this.left(),this.bottom())}topLeft(){return new H(this.left(),this.top())}topRight(){return new H(this.right(),this.top())}topCenter(){return new H(this.center().x,this.top())}bottomCenter(){return new H(this.center().x,this.bottom())}centerLeft(){return new H(this.left(),this.center().y)}centerRight(){return new H(this.right(),this.center().y)}center(){return new H(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 Ke(this.origin.transpose(),this.size.transpose())}offsetBy(t){return new Ke(this.origin.plus(t),this.size)}scaledBy(t){return new Ke(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}isInfinite(){return this.origin.equals(H.infinity().multiplyBy(-1))&&this.size.equals(H.infinity())}unionWith(t){if(this.isInvalid())return t;if(t.isInvalid())return this;let n=H.min(this.origin,t.origin),r=H.max(this.bottomRight(),t.bottomRight());return n.equals(r)?this:new Ke(n,r.minus(n))}expandToInclude(t){if(this.isInvalid())return new Ke(t.clone(),new H(0,0));let n=H.min(this.origin,t),r=H.max(this.bottomRight(),t);return new Ke(n,r.minus(n))}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.top()<=t.y&&t.y<=this.bottom()}intersectWith(t){if(this.isInvalid()||t.isInvalid())return Ke.invalidRect();let n=H.max(this.origin,t.origin),r=H.min(this.bottomRight(),t.bottomRight()),o=new Ke(n,r.minus(n));if(o.origin.hasNaN()||o.size.hasNaN())throw new Error("Rect.intersectWith produced a result with NaN");return o.isInvalid()&&(o=Ke.invalidRect()),o}hasIntersectionWith(t){return!this.intersectWith(t).isEmpty()}expand(t){return this.isInvalid()?Ke.invalidRect():typeof t=="number"?Ke.fromOriginAndSize(this.origin.x-t,this.origin.y-t,this.size.x+2*t,this.size.y+2*t):new Ke(this.origin.minus(t),this.size.plus(t.multiplyBy(2)))}
8590static invalidRect(){return new Ke(new H(Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY),new H(Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY))}static infinite(){return new Ke(H.infinity().multiplyBy(-1),H.infinity())}static fromOriginAndSize(t,n,r,o){return new Ke(new H(t,n),new H(r,o))}static fromCenterSize(t,n){let r=n.divideBy(2);return new Ke(t.minus(r),n)}static fromFigRect(t){return new Ke(new H(t.x,t.y),new H(t.w,t.h))}static computeBounds(t,n){let r=H.min(t,n),o=H.max(t,n);return new Ke(r,o.minus(r))}static computeBoundsFromPointArray(t){let n=H.infinity(),r=H.infinity().multiplyBy(-1);for(let o of t)n=H.min(n,o),r=H.max(r,o);return new Ke(n,r.minus(n))}constructor(t=new H,n=new H){WC(this,"origin",void 0),WC(this,"size",void 0),this.origin=t,this.size=n}};function Es(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ke=class{static identity(){return this.fromNumbers(1,0,0,0,1,0)}static fromNumbers(t,n,r,o,i,s){let a=new ke;return a.m00=t,a.m01=n,a.m02=r,a.m10=o,a.m11=i,a.m12=s,a}static copy(t){let n=new ke;return n.m00=t.m00,n.m01=t.m01,n.m02=t.m02,n.m10=t.m10,n.m11=t.m11,n.m12=t.m12,n}static fromArray(t){let n=new ke;return n.m00=t[0][0],n.m01=t[0][1],n.m02=t[0][2],n.m10=t[1][0],n.m11=t[1][1],n.m12=t[1][2],n}static fromVectors(t,n,r){let o=new ke;return o.m00=n.x,o.m01=r.x,o.m02=t.x,o.m10=n.y,o.m11=r.y,o.m12=t.y,o}static fromFigMatrix(t){let n=new ke;return n.m00=t.m00,n.m01=t.m01,n.m02=t.m02,n.m10=t.m10,n.m11=t.m11,n.m12=t.m12,n}toFigMatrix(){return{m00:this.m00,m01:this.m01,m02:this.m02,m10:this.m10,m11:this.m11,m12:this.m12}}toMatrix(){return[[this.m00,this.m01,this.m02],[this.m10,this.m11,this.m12]]}axisX(){return new H(this.m00,this.m10)}axisY(){return new H(this.m01,this.m11)}offset(){return new H(this.m02,this.m12)}toRadians(){return Math.atan2(this.m10,this.m00)}toDegrees(){return Math.atan2(this.m10,this.m00)*180/Math.PI}toScale(){let{m00:t,m01:n,m10:r,m11:o}=this;return new H(Math.sqrt(t*t+r*r),Math.sqrt(n*n+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,n){this.m02=t*this.m00+n*this.m01+this.m02,this.m12=t*this.m10+n*this.m11+this.m12}rotate(t){if(t===0)return;let n=Math.sin(t),r=Math.cos(t),o=r*this.m00+n*this.m01,i=r*this.m01-n*this.m00,s=r*this.m10+n*this.m11,a=r*this.m11-n*this.m10;this.m00=o,this.m01=i,this.m10=s,this.m11=a}scale(t,n){this.m00*=t,this.m01*=n,this.m10*=t,this.m11*=n}multiply(t){let n=this.m00*t.m00+this.m01*t.m10,r=this.m00*t.m01+this.m01*t.m11,o=this.m00*t.m02+this.m01*t.m12+this.m02,i=this.m10*t.m00+this.m11*t.m10,s=this.m10*t.m01+this.m11*t.m11,a=this.m10*t.m02+this.m11*t.m12+this.m12;this.m00=n,this.m01=r,this.m02=o,this.m10=i,this.m11=s,this.m12=a}determinant(){return this.m00*this.m11-this.m01*this.m10}invert(){let t=1/this.determinant();if(!isFinite(t))return!1;let n=ke.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 n.hasNaN()?!1:(this.m00=n.m00,this.m01=n.m01,this.m02=n.m02,this.m10=n.m10,this.m11=n.m11,this.m12=n.m12,!0)}transformRect(t){if(t.isInvalid())return t;if(this.axisX().y===0&&this.axisY().x===0)return Ke.computeBounds(this.transformPoint(t.topLeft()),this.transformPoint(t.bottomRight()));let n=[this.transformPoint(t.topLeft()),this.transformPoint(t.topRight()),this.transformPoint(t.bottomLeft()),this.transformPoint(t.bottomRight())];return Ke.computeBoundsFromPointArray(n)}transformPoint(t){return new H(this.m00*t.x+this.m01*t.y+this.m02,this.m10*t.x+this.m11*t.y+this.m12)}transformDirection(t){return new H(this.m00*t.x+this.m01*t.y,this.m10*t.x+this.m11*t.y)}inverseTransformPoint(t){let n=1/this.determinant();if(!isFinite(n))return H.invalid();let r=new H((this.m11*t.x-this.m01*t.y+this.m01*this.m12-this.m11*this.m02)*n,(this.m00*t.y-this.m10*t.x+this.m10*this.m02-this.m00*this.m12)*n);return r.hasNaN()?H.invalid():r}toTrss(){let t=this.m00*this.m00+this.m10*this.m10,n=this.m01*this.m01+this.m11*this.m11;if(t===0||n===0)return{translationX:this.m02,translationY:this.m12,rotation:0,scaleX:this.m00,scaleY:this.m11,shear:0};let r=this.m00*this.m11-this.m01*this.m10,o=Math.atan2(this.m10,this.m00),i,s,a;return Math.abs(Math.cos(o))>Math.abs(Math.sin(o))?(i=this.m00/Math.cos(o),s=r/i,a=(this.m01+s*Math.sin(o))/this.m00):(i=this.m10/Math.sin(o),s=r/i,a=(this.m11-s*Math.cos(o))/this.m10),{translationX:this.m02,translationY:this.m12,rotation:o,scaleX:i,scaleY:s,shear:a}}constructor(){Es(this,"m00",void 0),Es(this,"m01",void 0),Es(this,"m02",void 0),Es(this,"m10",void 0),Es(this,"m11",void 0),Es(this,"m12",void 0),this.m00=this.m01=this.m02=this.m10=this.m11=this.m12=0}};Es(ke,"kEpsilon",1e-6);Es(ke,"kEpsilonSqr",ke.kEpsilon*ke.kEpsilon);var La=function(e){return e[e.SVG=0]="SVG",e[e.CSS=1]="CSS",e}(La||{});var Vt={colorProfile:0,colorspaceConversion:0};function ve(e){return String(+e.toPrecision(5))}function ff(e){return ke.fromNumbers(e[0][0],e[0][1],e[0][2],e[1][0],e[1][1],e[1][2])}function YC(e){let t=e.toFigMatrix();return[[t.m00,t.m01,t.m02],[t.m10,t.m11,t.m12]]}function _s(e){let t=e.toFigMatrix();return`matrix(${ve(t.m00)} ${ve(t.m10)} ${ve(t.m01)} ${ve(t.m11)} ${ve(t.m02)} ${ve(t.m12)})`}function x(e,t=3){return e===void 0?e:parseFloat(e.toFixed(t))}function Tt(e,t=10**-3){return Math.abs(e)<t?0:e}
8590function zC(e,t,n){return e+(t-e)*n}function KC(e){let{a:t,...n}=e;return{alpha:t,color:n}}function wI(e,t,n){return Object.keys(e).reduce((r,o)=>(r[o]=zC(e[o],t[o],n),r),{})}function hW(e,t){return Math.sqrt(((e.r-t.r)**2+(e.b-t.b)**2+(e.g-t.g)**2)/3)}function pf(e,t){return Object.keys(e).reduce((n,r)=>(n[r]=e[r]*t,n),{})}function GI(e){return e**2.2}function kI(e){return e**(1/2.2)}function lE(e){return{r:GI(e.r),g:GI(e.g),b:GI(e.b),a:e.a}}function XC(e){return{r:kI(e.r),g:kI(e.g),b:kI(e.b),a:e.a}}function uE(e,t,n){let r=lE(e),o=lE(t),{alpha:i,color:s}=KC(r),{alpha:a,color:l}=KC(o),u=pf(s,i),c=pf(l,a),d=zC(i,a,n),f=pf(wI(u,c,n),1/(d||1)),p={r:f.r,g:f.g,b:f.b,a:d};return XC(p)}function Ru(e,t,n){let r=lE(e),o=lE(t),i=wI(r,o,n);return XC(i)}function pi(e,t,n){return wI(e,t,n)}function FI(e){let{stop1:t,stop2:n,...r}=e,o=r.targetInterpolation(t.color,n.color,.5),{a:i,...s}=o,{a,...l}=r.actualInterpolation(t.color,n.color,.5);if(r.recursionLimit===0||hW(pf(s,i),pf(l,a))<=r.epsilon)return[t,n];let u=(t.position+n.position)/2,c={color:o,position:u},d=FI({...r,stop1:t,stop2:c,recursionLimit:r.recursionLimit-1}),f=FI({...r,stop1:c,stop2:n,recursionLimit:r.recursionLimit-1});return[...d,...f.slice(1)]}function mi(e){let{stops:t,epsilon:n,recursionLimit:r,targetInterpolation:o,actualInterpolation:i}=e,s=[];for(let a=0;a<t.length-1;a++){let l=t[a],u=t[a+1],c=Math.abs(l.position-u.position)<1e-8?[l,u]:FI({stop1:l,stop2:u,epsilon:n,recursionLimit:r,targetInterpolation:o,actualInterpolation:i});a!==0&&c.shift(),s.push(...c)}return s}var te=class extends Error{severity="high";errorDetail;constructor(t,n){super(t),Object.setPrototypeOf(this,te.prototype),n&&n instanceof Error&&(this.cause=n)}},ht=class extends te{constructor(t,n){super(t,n),this.severity="low"}};var BI="snapshot",UI="sandbox";
8590var OW=6,Y=class{contents;constructor(t){this.contents=t}static px(t){return new Y({type:"value",unit:"px",value:t})}static percent(t){return new Y({type:"value",unit:"%",value:t})}static number(t){return new Y({type:"value",unit:"",value:t})}static cqw(t){return new Y({type:"value",unit:"cqw",value:t})}static cqh(t){return new Y({type:"value",unit:"cqh",value:t})}static cssLength(t){let n=t.match(/^([0-9.]+)(cqw|cqh|px|%)$/);if(!n||n[1]===void 0)throw new te(`Unsupported CSS length: ${t}`);return new Y({type:"value",unit:n[2],value:parseFloat(n[1])})}static hypot(t,n){return new Y({type:"fn",fn:"hypot",args:[t,n]})}static cos(t){return new Y({type:"fn",fn:"cos",args:[t]})}static atan2(t,n){return new Y({type:"fn",fn:"atan2",args:[t,n]})}static var(t,n){return new Y({type:"variable",name:t,fallback:n})}add(t){return this.contents.type==="value"&&t.contents.type==="value"&&t.contents.value<0?this.subtract(new Y({type:"value",unit:t.contents.unit,value:-t.contents.value})):new Y({type:"operation",operation:"+",left:this,right:t})}subtract(t){return this.contents.type==="value"&&t.contents.type==="value"&&t.contents.value<0?this.add(new Y({type:"value",unit:t.contents.unit,value:-t.contents.value})):new Y({type:"operation",operation:"-",left:this,right:t})}multiply(t){return typeof t=="number"?this.multiply(Y.number(t)):new Y({type:"operation",operation:"*",left:this,right:t})}divide(t){return new Y({type:"operation",operation:"/",left:this,right:t})}static applyConstantOperation(t,n,r){switch(t){case"+":return n+r;case"-":return n-r;case"*":return n*r;case"/":return n/r}}toStringInner(t,{topLevel:n}={}){switch(this.contents.type){case"value":return`${parseFloat(this.contents.value.toPrecision(OW))}${this.contents.unit}`;case"variable":return`var(${[this.contents.name,this.contents.fallback].filter(r=>r!==void 0).join(",")})`;case"fn":{let r=t.forTailwind?",":", ";return`${this.contents.fn}(${this.contents.args.map(o=>o.toStringInner(t)).join(r)})`}case"operation":{let{left:r,right:o,operation:i}=this.contents,s=!1,a=!1;(i==="*"||i==="/")&&(s=r.contents.type==="operation"&&r.contents.operation!=="*"&&r.contents.operation!=="/",a=o.contents.type==="operation"&&(i==="/"?!0:o.contents.operation!=="*"&&o.contents.operation!=="/"));let l=t.forTailwind?i:` ${i} `,u=`${s?`(${r.toStringInner(t)})`:r.toStringInner(t)}${l}${a?`(${o.toStringInner(t)})`:o.toStringInner(t)}`;return n?`calc(${u})`:u}}}simplify(){if(this.contents.type==="value"||this.contents.type==="variable")return this;if(this.contents.type==="fn"){let{fn:o,args:i}=this.contents,s=i.map(l=>l.simplify());return s.some((l,u)=>l!==i[u])?new Y({type:"fn",fn:o,args:s}):this}let t=this.contents.left.simplify(),n=this.contents.right.simplify(),r=this.contents.operation;if(t.contents.type==="value"&&n.contents.type==="value"){let o=t.contents.unit,i=n.contents.unit;if(o===i||!o||!i){let s=o||i,a=Y.applyConstantOperation(r,t.contents.value,n.contents.value);return new Y({type:"value",unit:s,value:a})}}
8590return(r==="+"||r==="-")&&n.contents.type==="value"&&n.contents.value===0?t:r==="+"&&t.contents.type==="value"&&t.contents.value===0?n:this.contents.left!==t||this.contents.right!==n?new Y({type:"operation",operation:this.contents.operation,left:t,right:n}):this}toStyleValue(t){let n=this.simplify();return n.contents.type==="value"&&n.contents.unit==="px"?n.contents.value:n.toStringInner(t,{topLevel:!0})}toString(t){return this.simplify().toStringInner(t,{topLevel:!0})}};function mf(e,t){let n;if(e){let r=e.match(/^var\((--[^),\s]+)\s*(?:,[^)]*)?\)$/);r?n=r[1]:n=`--${e.replaceAll(" ","")}`}else t&&(n=`--${IW(t)}`);return n}function le(e,t,n){let r=mf(e,t);return r?`var(${r},${n})`:null}function cE(e,t,n){let r=mf(e,t);return r?Y.var(r,n):null}function gW(e){return e.split(" ").map(t=>t.toLowerCase()).join("-")}function VI(e,t=n=>"\\"+n){return e.replace(/./g,n=>{let r=n.charCodeAt(0);return/[a-zA-Z0-9_-]/.test(n)||r>=160?n:t(n)})}function IW(e){return e=gW(e),e=VI(e),e}var dE={"#000000":"black","#ffffff":"white","#ff0000":"red","#800080":"purple","#008000":"green","#ffff00":"yellow","#0000ff":"blue","#ffa500":"orange","#a52a2a":"brown","#ffc0cb":"pink"};function SW(e){return e!=null}function HI(e){return Math.round(e*255)}function RW(e){return+e.toFixed(2)}function AW(e){return`${Ca(e.r)}${Ca(e.g)}${Ca(e.b)}`}function NW(e,t=1){let{r:n,g:r,b:o,a:i=1}=e;return`${Ca(n)}${Ca(r)}${Ca(o)}${Ca(i*t)}`}function YI(e,t=1){let{r:n,g:r,b:o,a:i=1}=e;return`rgba(${HI(n)},${HI(r)},${HI(o)},${RW(i*t)})`}function jC(e){let t=e.a;return SW(t)&&t!==1}function Ca(e){return("00"+Math.round(e*255).toString(16)).slice(-2)}function KI(e,t,n=1){if(!jC(e)&&n===1){let{optimizeForTailwindConversion:r}=t,o=AW(e),i=r&&dE[`#${o}`];return i||(o[0]===o[1]&&o[2]===o[3]&&o[4]===o[5]?`#${o[0]}${o[2]}${o[4]}`:`#${o}`)}else{let r=NW(e,n);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 Dt=class WI{color;renderOptions;opacity;colorManagement;variableName;codeSyntax;constructor(t,n,r=1,o=Vt,i,s){if(this.color=t,this.renderOptions=n,this.opacity=r,this.colorManagement=o,this.variableName=i,this.codeSyntax=s,t.r>1||t.g>1||t.b>1)throw new te(`Expected normalised color values (between 0 and 1) but got (${t.r}, ${t.g}, ${t.b})`)}static fromRGBA(t,n,r,o){return new WI(t,n,1,Vt,r,o)}get rawColor(){return new WI(this.color,this.renderOptions,this.opacity,this.colorManagement,this.variableName,this.codeSyntax)}get value(){let{shouldOutputVariables:t}=this.renderOptions,n=jC(this.color)||this.opacity!==1?YI(this.color,this.opacity):KI(this.color,this.renderOptions);if(t){let r=le(this.codeSyntax,this.variableName,n);if(r)return r}return n}equals(t){return this.value===t.value}};function Ts(e){return`url("data:image/svg+xml;utf8,${e.replace(/#/g,"%23").replace(/"/g,"'").replace(/\n\s*/g," ").replace(/'[^']*'/g,n=>`'${n.slice(1,-1).trim()}'`).replace(/\(\s*/g,"(").replace(/\s*\)/g,")").replace(/\s*<\s*/g,"<").replace(/\s*\/?>\s*/g,n=>n.includes("/")?"/>":">")}")`}function Au(e){return e.map(t=>{let{color:{r:n,g:r,b:o,a:i},position:s}=t,a=Math.round(n*255),l=Math.round(r*255),u=Math.round(o*255),c=ve(i),d=ve(s);return` 8591 <stop stop-color="rgba(${a},${l},${u},${c})" offset="${d}" /> 8592 `}).join("")}function $C(e,t){let{shouldOutputVariables:n,codeSyntaxLanguage:r}=t,o=e.color.a===1?KI(e.color,t):YI(e.color);if(n){let i=le(r&&e.boundVariables?.color?.resolvedCodeSyntax?.[r],e.boundVariables?.color?.resolvedName,o);if(i)return i}return o}function yW(e,t){let{shouldOutputVariables:n,codeSyntaxLanguage:r}=t,{color:{r:o,g:i,b:s,a}}=e,l=Math.round(o*255),u=Math.round(i*255),c=Math.round(s*255),d=x(a),f=ve(e.position*100),p=d===1?`rgb(${l}, ${u}, ${c})`:`rgba(${l}, ${u}, ${c}, ${d})`,_=`${f}%`;if(n){let T=le(r&&e.boundVariables?.color?.resolvedCodeSyntax?.[r],e.boundVariables?.color?.resolvedName,p);if(T)return`${T} ${_}`}return`${p} ${_}`}function fE(e,t){return e.map(n=>yW(n,t)).join(", ")}var Ht=10;function Ei(e){let{size:t,gradientTransform:n}=e,r=ke.identity();r.scale(Ht,Ht),r.scale(2,2),r.translate(-.5,-.5);let o=ke.copy(r);o.invert();let i=ke.fromArray(n);i.invert();let s=ke.copy(i);s.multiply(o);let a=ke.copy(s);a.invert();let l=ke.identity();return l.scale(t.width,t.height),l.multiply(s),{uvToUnitGradient:a,unitGradientToShape:l}}
8592function pE(e){return[new H(0,0),new H(Ht,0),new H(Ht,Ht),new H(0,Ht)].map(r=>e.transformPoint(r)).reduce((r,o)=>(r.x=Math.max(r.x,Math.abs(o.x)),r.y=Math.max(r.y,Math.abs(o.y)),r),{x:-1/0,y:-1/0})}function ZC(e,t){let n=t[1].minus(t[0]),r=e.minus(t[0]);return n.multiplyBy(r.dot(n)/n.dot(n)).plus(t[0])}var _i=class JC{paint;size;serializationFormat;renderOptions;static fromColor({color:t,opacity:n},r){let o={r:t.r,g:t.g,b:t.b,a:n*("a"in t?t.a:1)};return new JC({gradientTransform:ke.identity().toMatrix(),gradientStops:[{color:o,position:0},{color:o,position:1}]},Vt,{width:1,height:1},La.CSS,r)}constructor(t,n,r,o,i){this.paint=t,this.size=r,this.serializationFormat=o,this.renderOptions=i}get styleData(){let{preferCssGradients:t}=this.renderOptions,{unitGradientToShape:n}=Ei({size:this.size,gradientTransform:this.paint.gradientTransform}),r={origin:n.transformPoint(new H(-Ht,0)),primary:n.transformPoint(new H(Ht,0)),secondary:n.transformPoint(new H(-Ht,Ht))},o=r.secondary.minus(r.origin),i=new H(-o.y,o.x);i.dot(r.primary.minus(r.origin))<0&&(i=i.multiplyBy(-1));let s={start:new H(0,0),end:i};if(s.end.x<0){let d=new H(this.size.width,0);s.start=s.start.plus(d),s.end=s.end.plus(d)}if(s.end.y<0){let d=new H(0,this.size.height);s.start=s.start.plus(d),s.end=s.end.plus(d)}let a=new H(i.x<0?0:this.size.width,i.y<0?0:this.size.height);s.end=ZC(a,[s.start,s.end]);let l=s.end.minus(s.start).toAngle()*(180/Math.PI),u=this.paint.gradientStops.map(d=>{let f=r.origin.add(r.primary.minus(r.origin).multiplyBy(d.position)),_=ZC(f,[s.start,s.end]).minus(s.start).size()/s.end.minus(s.start).size(),T={...d.color,a:d.color.a*(this.paint.opacity??1)};return{...d,color:T,position:Tt(_)}}),c=u;return t||(c=mi({stops:u.map(d=>({...d})),epsilon:.01,recursionLimit:5,targetInterpolation:pi,actualInterpolation:uE}).map(d=>({...d,position:Tt(d.position)}))),{angle:l+90,colorStops:c}}get valueAsCss(){let{angle:t,colorStops:n}=this.styleData;return`linear-gradient(${t}deg, ${fE(n,this.renderOptions)})`}get valueAsSvg(){let{unitGradientToShape:t}=Ei({size:this.size,gradientTransform:this.paint.gradientTransform}),n=mi({stops:this.paint.gradientStops.map(o=>({...o})),epsilon:.01,recursionLimit:5,targetInterpolation:pi,actualInterpolation:Ru}).map(o=>({...o,position:Tt(o.position)})),r=` 8593 <svg viewBox='0 0 ${ve(this.size.width)} ${ve(this.size.height)}' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'> 8594 <rect x='0' y='0' height='100%' width='100%' fill='url(#grad)' opacity='${this.paint.opacity??1}' /> 8595 <defs> 8596 <linearGradient id='grad' gradientUnits='userSpaceOnUse' x1='${-Ht}' x2='${Ht}' y1='0' y2='0' gradientTransform='${_s(t)}'> 8597 ${Au(n)} 8598 </linearGradient> 8599 </defs> 8600 </svg> 8601 `;return Ts(r)}get value(){return this.serializationFormat===La.SVG?this.valueAsSvg:this.valueAsCss}equals(t){return this.value===t.value}};function xe(e,t){throw new te(t??`Uncaught type ${JSON.stringify(e)}`)}function ge(e,t){if(!e)throw new te(`Assertion failure${t?`: ${t}`:""}`)}var Q=class{functions;constructor(t){this.functions=t}static translateX(t){return new Q([{type:"translate",axis:"x",value:t}])}static translateY(t){return new Q([{type:"translate",axis:"y",value:t}])}static rotate(t){return new Q([{type:"rotate",value:t}])}static skewX(t){return new Q([{type:"skew",axis:"x",value:t}])}static skewY(t){return new Q([{type:"skew",axis:"y",value:t}])}static scaleX(t){return new Q([{type:"scale",axis:"x",value:t}])}static scaleY(t){return new Q([{type:"scale",axis:"y",value:t}])}static combineWithExplicitOrder(...t){return new Q(t.filter(n=>n!==void 0).flatMap(n=>n.functions))}static combineWithDefaultOrder(...t){let n=t.filter(r=>r!==void 0).flatMap(r=>r.functions);return n.sort((r,o)=>XI.indexOf(r.type)-XI.indexOf(o.type)),new Q(n)}toTailwindClasses(){return bW(this.functions)?this.functions.flatMap(t=>CW(t)):LW(this.functions)}get value(){return this.functions.map(t=>qC(t,!1)).join(" ")}},XI=["translate","rotate","skew","scale"];function bW(e){let t=-1;for(let n of e){if(n.value instanceof Y)return!1;let r=XI.indexOf(n.type);if(r<t)return!1;t=r}return!0}function LW(e){return[`[transform:${e.map(n=>qC(n,!0)).join("_")}]`]}function CW(e){switch(ge(!(e.value instanceof Y),"Calc values should use arbitrary transform syntax"),e.type){case"translate":return[DW(`${e.type}-${e.axis}`,e.value)];case"rotate":return Number.isInteger(e.value)?[zI("rotate",e.value)]:[`rotate-[${e.value}deg]`];case"skew":{let t=`skew-${e.axis}`;return Number.isInteger(e.value)?[zI(t,e.value)]:[`${t}-[${e.value}deg]`]}case"scale":{let t=e.value*100,n=`scale-${e.axis}`;return Number.isInteger(t)?[zI(n,t)]:[`${n}-[${t}%]`]}default:xe(e)}}function PW(e,t){if(e.value instanceof Y)return e.value.toString({forTailwind:t});switch(e.type){case"translate":return String(e.value);case"rotate":case"skew":return`${e.value}deg`;case"scale":return String(e.value);default:xe(e)}}function qC(e,t){let n=PW(e,t);switch(e.type){case"translate":return`translate${e.axis.toUpperCase()}(${n})`;case"rotate":return`rotate(${n})`;case"skew":return`skew${e.axis.toUpperCase()}(${n})`;case"scale":return`scale${e.axis.toUpperCase()}(${n})`;default:xe(e)}}var DW=(e,t)=>
8601{let r={"50%":"1/2","100%":"full","0%":"0"}[t];if(r)return`${e}-${r}`;let i={"-50%":"1/2","-100%":"full"}[t];return i?`-${e}-${i}`:`${e}-[${t}]`},zI=(e,t)=>t<0?`-${e}-${-t}`:`${e}-${t}`;function Ef(e){switch(e.units){case"PIXELS":return`${x(e.value)}px`;case"PERCENT":return`${x(e.value)}%`}}function QC(e){return`${Ef(e.x)} ${Ef(e.y)}`}function jI(e){return e.x.units==="PERCENT"&&e.x.value===50&&e.y.units==="PERCENT"&&e.y.value===50}function vW(e){return`matrix3d(${[e[0],e[4],e[8],e[12],e[1],e[5],e[9],e[13],e[2],e[6],e[10],e[14],e[3],e[7],e[11],e[15]].map(n=>x(n)).join(",")})`}function xW(e){switch(e.type){case"PERSPECTIVE":return e.perspective>0?`perspective(${x(e.perspective)}px)`:"";case"TRANSLATE_Z":return`translateZ(${x(e.translateZ)}px)`;case"ROTATE_X":return`rotateX(${x(e.angle)}deg)`;case"ROTATE_Y":return`rotateY(${x(e.angle)}deg)`;case"ROTATE_Z":return`rotateZ(${x(e.angle)}deg)`;case"MATRIX_3D":return vW(e.matrix3d);default:xe(e)}}function eP(e){if(e.type==="FIXED_ORDER"){let t=[],n=x(e.perspective),r=x(e.translateZ),o=x(e.rotateX),i=x(e.rotateY),s=x(e.rotateZ);return n>0&&t.push(`perspective(${n}px)`),r!==0&&t.push(`translateZ(${r}px)`),o!==0&&t.push(`rotateX(${o}deg)`),i!==0&&t.push(`rotateY(${i}deg)`),s!==0&&t.push(`rotateZ(${s}deg)`),t.join(" ")}return e.transformFunctions.map(xW).filter(t=>t.length>0).join(" ")}var MW={white:"white",black:"black"};function Nu(e,t,n){let r=MW[t];if(r)return`${e}-${r}`;let o=n&&t.startsWith("var(")?"color:":"";return`${e}-[${o}${t}]`}var GW=e=>({0:"t",90:"r",180:"b",270:"l"})[x(e,2)],nP={0:"0","0%":"0","25%":"1/4","50%":"1/2","75%":"3/4","100%":"full",none:"none"};function kW(e,t){if(t===1&&!(e in{tracking:!0,rounded:!0,"rounded-tl":!0,"rounded-tr":!0,"rounded-br":!0,"rounded-bl":!0}))return"px"}function FW(e,t){let n={fontFamily:"family-name",fontSize:"length",backgroundPosition:"position"}[e];return n&&typeof t=="string"&&t.startsWith("var(")?n:void 0}var ze=(e,t,n)=>{let r=nP[t]||kW(e,t);if(r)return`${e}-${r}`;let o=typeof t=="number"?`${t}px`:t;return`${e}-[${n?`${n}:`:""}${o}]`},rP={minHeight:"min-h",minWidth:"min-w",maxHeight:"max-h",maxWidth:"max-w",gap:"gap",rowGap:"gap-y",columnGap:"gap-x",marginInlineStart:"ms",boxShadow:"shadow",textShadow:"text-shadow",letterSpacing:"tracking",maskPosition:"mask-position",maskSize:"mask-size",fontFamily:"font",fontSize:"text",objectPosition:"object",backgroundPosition:"bg",flex:"flex",gridTemplateColumns:"grid-cols",gridTemplateRows:"grid-rows",textIndent:"indent"};function _f(e,t){let n=rP[e],r=typeof t=="string"?t.replaceAll(" ","_"):t,o=FW(e,t);return ze(n,r,o)}var wW={textDecorationStyle:"decoration",objectFit:"object",flexShrink:"shrink",borderStyle:"border",pointerEvents:"pointer-events",textAlign:"text",textOverflow:"text",cursor:"cursor",mixBlendMode:"mix-blend",whiteSpace:"whitespace",textWrap:"text"};function tP(e,t){return`${wW[e]}-${t}`}var BW={textBoxTrim:"text-box-trim",textBoxEdge:"text-box-edge",textUnderlinePosition:"text-underline-position",wordBreak:"word-break"};function UW(e,t){let n=BW[e],r=typeof t=="string"?t.replaceAll(" ","_"):t;return`[${n}:${r}]`}function VW(e){let{height:t,width:n}=e;return t!==void 0&&t===n?[ze("size",t)]:[t!==void 0?ze("h",t):null,n!==void 0?ze("w",n):null].filter(r=>r!=null)}function HW(e){let t={prefix:"m",base:e.margin,top:e.marginTop,right:e.marginRight instanceof Y?e.marginRight.toStyleValue({forTailwind:!0}):e.marginRight,bottom:e.marginBottom instanceof Y?e.marginBottom.toStyleValue({forTailwind:!0}):e.marginBottom,left:e.marginLeft},n={prefix:"p",base:e.padding,top:e.paddingTop,right:e.paddingRight,bottom:e.paddingBottom,left:e.paddingLeft},r=[];return[t,n].forEach(o=>{let{prefix:i,base:s,top:a,right:l,bottom:u,left:c}=o;if(s!==void 0){r.push(ze(i,s));return}if(a!==void 0&&a===l&&l===u&&u===c){r.push(ze(i,a));return}a!==void 0&&a===u?r.push(ze(i+"y",a)):(a!==void 0&&r.push(ze(i+"t",a)),u!==void 0&&r.push(ze(i+"b",u))),c!==void 0&&c===l?r.push(ze(i+"x",c)):(c!==void 0&&r.push(ze(i+"l",c)),l!==void 0&&r.push(ze(i+"r",l)))}),r}function WW(e){let{top:t,left:n,bottom:r,right:o,inset:i}=e;if(i!=null&&t==null&&r==null&&o==null&&n==null)return[ze("inset",i)];if(t!==void 0&&t===n&&t===r&&t===o)return[ze("inset",t)];let s=[t,n,r,o].some(a=>typeof a=="number"||a==="0"?!1:a&&nP[a]!==void 0);return t==null||r==null||o==null||n==null||s?[t!==void 0?ze("top",t):null,n!==void 0?ze("left",n):null,r!==void 0?ze("bottom",r):null,o!==void 0?ze("right",o):null].filter(a=>
8601a!=null):t===r&&n===o?[`inset-[${[t,n].map(l=>l&&typeof l=="number"?`${l}px`:l).join("_")}]`]:[`inset-[${[t,o,r,n].map(l=>l&&typeof l=="number"?`${l}px`:l).join("_")}]`]}function YW(e){return typeof e=="string"&&["cover","auto","contain"].includes(e)?`bg-${e}`:`bg-size-[${typeof e=="string"?e.replaceAll(" ","_"):e}]`}function KW(e,t){if(e instanceof _i){let{angle:r,colorStops:o}=e.styleData,i=GW(r);if(i!==void 0&&o.length<=3){let a=[];return a.push(`bg-gradient-to-${i}`),o.map((l,u)=>{let c;u===0?c="from":u===o.length-1?c="to":c="via",a.push(Nu(c,$C(l,t)));let d=x(l.position*100,3);d!==0&&d!==100&&a.push(ze(c,`${ve(d)}%`))}),{classes:a}}}return{backgroundImage:typeof e=="string"?e:e.value}}function zW(e,t){let n=rP[e];switch(t){case"top":case"left":case"center":case"right":case"bottom":return`${n}-${t}`;case"top right":case"bottom left":case"top left":case"bottom right":return`${n}-${t.replace(" ","-")}`}return _f(e,t)}function XW(e){switch(e){case"none":return"hidden";default:return e}}function jW(e,t){let n={alignContent:"content",alignItems:"items",justifyContent:"justify",placeItems:"place-items",alignSelf:"self",justifySelf:"justify-self"}[e];switch(t){case"flex-start":case"flex-end":case"space-between":return`${n}-${t.split("-")[1]}`;case"center":case"baseline":case"stretch":case"start":case"end":return`${n}-${t}`;default:throw new te(`Unsupported ${e}: ${t}`)}}function $W(e){let n=typeof e=="string"&&{"1/1":"square","16/9":"video"}[e];return n?`aspect-${n}`:`aspect-[${e}]`}function ZW(e){switch(e){case"border-box":return"box-border";case"content-box":return"box-content";default:throw new te(`Unsupported boxSizing: ${e}`)}}function JW(e){switch(e){case"isolate":return"isolate";default:throw new te(`Unsupported isolation: ${e}`)}}function qW(e){switch(e){case"0":case"10":case"20":case"30":case"40":case"50":case"auto":return`z-${e}`}return`z-[${e}]`}function QW(e){switch(e){case"1":return"leading-none";default:return`leading-[${e}]`}}function e3(e){switch(e){case"no-clip":return"mask-no-clip";default:throw new te(`Unsupported maskClip: ${e}`)}}function t3(e){switch(e){case"intersect":return"mask-intersect";default:throw new te(`Unsupported maskComposite: ${e}`)}}function n3(e){switch(e){case"no-repeat":return"mask-no-repeat";default:throw new te(`Unsupported maskRepeat: ${e}`)}}function r3(e){switch(e){case"alpha":return"mask-alpha";case"luminance":return"mask-luminance";default:throw new te(`Unsupported maskMode: ${e}`)}}function o3(e){switch(e){case"normal":return"not-italic";case"italic":return"italic";default:return`font-[${e}]`}}function i3({borderRadius:e,borderTopLeftRadius:t,borderTopRightRadius:n,borderBottomRightRadius:r,borderBottomLeftRadius:o}){return e!==void 0?[ze("rounded",e)]:t!==void 0&&t===n&&t===r&&t===o?[ze("rounded",t)]:[t!==void 0?ze("rounded-tl",t):null,n!==void 0?ze("rounded-tr",n):null,r!==void 0?ze("rounded-br",r):null,o!==void 0?ze("rounded-bl",o):null].filter(i=>i!=null)}function s3(e){switch(e){case"0 0 auto":return"flex-none";default:return _f("flex",e)}}function a3(e){return typeof e=="number"?`opacity-${x(e*100,0)}`:`opacity-[${e}]`}function l3({borderWidth:e,borderTopWidth:t,borderRightWidth:n,borderBottomWidth:r,borderLeftWidth:o}){let i=(s,a)=>a===1?s:Number.isInteger(a)?`${s}-${a}`:typeof a=="string"&&a.startsWith("var(")?ze(s,a,"length"):ze(s,a);return e!==void 0?[i("border",e)]:t!==void 0&&t===n&&t===r&&t===o?[i("border",t)]:[t?i("border-t",t):null,n?i("border-r",n):null,r?i("border-b",r):null,o?i("border-l",o):null].filter(s=>s!=null)}function u3(e){switch(e){case"column":return"flex-col";case"row":return"flex-row";case"column-reverse":return"flex-col-reverse";case"row-reverse":return"flex-row-reverse";default:throw new te(`Unsupported flexDirection: ${e}`)}}function c3(e){switch(e){case"wrap":return"flex-wrap";default:throw new te(`Unsupported flexWrap: ${e}`)}}function d3(e){switch(e){case"preserve-3d":return"transform-3d";case"flat":return"transform-flat";default:throw new te(`Unsupported transformStyle: ${e}`)}}function f3(e){switch(e){case"hidden":return"backface-hidden";case"visible":return"backface-visible";default:throw new te(`Unsupported backfaceVisibility: ${e}`)}}function p3(e){let n=typeof e=="number"&&{100:"thin",200:"extralight",300:"light",400:"normal",500:"medium",600:"semibold",700:"bold",800:"extrabold",900:"black"}[e];return n?`font-${n}`:`font-[${e}]`}function m3(e,t){let n=e==="backdropFilter"?"backdrop-":"",r=[],o=[];for(let[,i,s]of t.matchAll(/([\w-]+)\(((?:[^()]*|\((?:[^()]*|\([^()]
8601*\))*\))*)\)/g))switch(i){case"blur":r.push(`${n}blur-[${s}]`);break;case"drop-shadow":s&&o.push(s.replaceAll(" ","_"));break;default:throw new te(`Unsupported filter function: ${i}(${s})`)}return o.length>0&&r.push(`${n}drop-shadow-[${o.join(",")}]`),r}function E3(e){switch(e){case"padding-box":return"bg-clip-padding";case"border-box":return"bg-clip-border";case"content-box":return"bg-clip-content";case"text":return"bg-clip-text";default:throw new te(`Unsupported backgroundClip: ${e}`)}}function _3(e,t){let n={gridRow:"row",gridColumn:"col"}[e];return typeof t=="number"?`${n}-${t}`:`${n}-[${t.replaceAll(" ","_")}]`}function T3(e){switch(e){case"no-repeat":return{tailwindClass:"bg-no-repeat"};default:return{backgroundRepeat:e}}}function h3(e){return typeof e=="number"?`decoration-${e}`:e==="from-font"?"decoration-from-font":`decoration-[${e}]`}function O3({overflow:e,overflowX:t,overflowY:n}){return e!==void 0?[`overflow-${e}`]:t!==void 0&&t===n?[`overflow-${t}`]:[t!==void 0?`overflow-x-${t}`:null,n!==void 0?`overflow-y-${n}`:null].filter(r=>r!=null)}function $I(e){return String(e).replace(/ /g,"_")}function g3(e){return e instanceof Q?e.toTailwindClasses():[`transform-[${$I(e)}]`]}function I3(e){switch(e){case"none":return"list-none";case"disc":return"list-disc";case"decimal":return"list-decimal";default:return`list-[${e}]`}}function oP(e,t){let n={},{height:r,width:o,margin:i,marginTop:s,marginRight:a,marginBottom:l,marginLeft:u,padding:c,paddingTop:d,paddingRight:f,paddingBottom:p,paddingLeft:_,top:T,left:h,bottom:m,right:E,inset:O,borderRadius:g,borderTopLeftRadius:I,borderTopRightRadius:S,borderBottomRightRadius:A,borderBottomLeftRadius:R,borderWidth:y,borderTopWidth:b,borderRightWidth:L,borderBottomWidth:D,borderLeftWidth:F,overflow:U,overflowX:N,overflowY:K,...C}=e,M=[...VW({height:r,width:o}),...HW({margin:i,marginTop:s,marginRight:a,marginBottom:l,marginLeft:u,padding:c,paddingTop:d,paddingRight:f,paddingBottom:p,paddingLeft:_}),...WW({top:T,left:h,bottom:m,right:E,inset:O}),...i3({borderRadius:g,borderTopLeftRadius:I,borderTopRightRadius:S,borderBottomRightRadius:A,borderBottomLeftRadius:R}),...l3({borderWidth:y,borderTopWidth:b,borderRightWidth:L,borderBottomWidth:D,borderLeftWidth:F}),...O3({overflow:U,overflowX:N,overflowY:K})];for(let P in C)if(VC(P,C)&&C[P]!==void 0){if(P.startsWith("--")){n[P]=C[P];continue}try{switch(P){case"minHeight":case"minWidth":case"maxHeight":case"maxWidth":case"gap":case"rowGap":case"columnGap":case"marginInlineStart":case"boxShadow":case"textShadow":case"maskPosition":case"maskSize":case"fontFamily":case"gridTemplateColumns":case"gridTemplateRows":case"textIndent":M.push(_f(P,C[P]));break;case"letterSpacing":{let z=C[P];z!==0&&z!=="0px"&&z!=="0"&&M.push(_f(P,z));break}case"fontSize":{let z=C[P];z===0&&(z="0px"),M.push(_f(P,z));break}case"backgroundColor":M.push(Nu("bg",C[P]));break;case"color":M.push(Nu("text",C[P],!0));break;case"borderColor":M.push(Nu("border",C[P]));break;case"textDecorationColor":M.push(Nu("decoration",C[P]));break;case"textDecorationThickness":M.push(h3(C[P]));break;case"backgroundSize":M.push(YW(C[P]));break;case"backgroundImage":{let{classes:z,backgroundImage:Ee}=KW(C[P],t);z&&M.push(...z),Ee&&(n.backgroundImage=Ee);break}case"backgroundRepeat":{let{tailwindClass:z,backgroundRepeat:Ee}=T3(C[P]);z&&M.push(z),Ee&&(n.backgroundRepeat=Ee);break}case"backgroundClip":M.push(E3(C[P]));break;case"alignContent":case"alignItems":case"justifyContent":case"placeItems":case"alignSelf":case"justifySelf":M.push(jW(P,C[P]));break;case"aspectRatio":M.push($W(C[P]));break;case"boxSizing":M.push(ZW(C[P]));break;case"isolation":M.push(JW(C[P]));break;case"position":case"visibility":case"textDecorationLine":case"textTransform":M.push(C[P]);break;case"zIndex":M.push(qW(C[P]));break;case"lineHeight":M.push(QW(C[P]));break;case"maskClip":M.push(e3(C[P]));break;case"maskComposite":M.push(t3(C[P]));break;case"maskRepeat":M.push(n3(C[P]));break;case"maskMode":M.push(r3(C[P]));break;case"textDecorationStyle":case"objectFit":case"flexShrink":case"borderStyle":case"pointerEvents":case"textAlign":case"textOverflow":case"cursor":case"mixBlendMode":case"textWrap":M.push(tP(P,C[P]));break;case"whiteSpace":{M.push(tP(P,C[P]));break}case"fontStyle":M.push(o3(C[P]));break;case"fontWeight":M.push(p3(C[P]));break;case"textBoxTrim":case"textBoxEdge":case"textUnderlinePosition":case"wordBreak":M.push(UW(P,C[P]));break;case"objectPosition":case"backgroundPosition":M.push(zW(P,C[P]));break;case"flex":M.push(s3(C[P]));break;case"display":M.push(XW(C[P]));break;
8601case"flexDirection":M.push(u3(C[P]));break;case"opacity":M.push(a3(C[P]));break;case"flexWrap":M.push(c3(C[P]));break;case"backdropFilter":case"filter":M.push(...m3(P,C[P]));break;case"gridRow":case"gridColumn":M.push(_3(P,C[P]));break;case"textDecorationSkipInk":{let z={textDecorationSkipInk:"text-decoration-skip-ink"};M.push(`[${z[P]}:${C[P]}]`);break}case"transform":M.push(...g3(C[P]));break;case"transformOrigin":M.push(`origin-[${$I(C[P])}]`);break;case"transformStyle":M.push(d3(C[P]));break;case"perspective":M.push(`[perspective:${C[P]}]`);break;case"perspectiveOrigin":M.push(`perspective-origin-[${$I(C[P])}]`);break;case"backfaceVisibility":M.push(f3(C[P]));break;case"maskImage":n.maskImage=C[P];break;case"borderImage":n.borderImage=C[P];break;case"listStyleImage":n.listStyleImage=C[P];break;case"listStyleType":M.push(I3(C[P]));break;case"fontFeatureSettings":n.fontFeatureSettings=C[P];break;case"fontVariationSettings":{n.fontVariationSettings=C[P];break}case"containerType":n.containerType=C[P];break;default:console.warn(`Tailwind conversion is ignoring an unsupported style: ${P}`);break}}catch(z){console.warn(`Tailwind conversion is ignoring an unsupported style: ${P}`,z);continue}}return{tailwindClasses:M,inlineStyles:n}}function ne(e){return{kind:"element",...e}}function mr(e){return{kind:"fragment",...e}}function aP(e){return{kind:"raw_jsx",snippet:e}}function Ot(e){return{kind:"rendered",element:e}}function Ne(e,t){if(e==null)return null;if(typeof e=="string")return e;if(Array.isArray(e))return t.renderFragment({children:e.map(n=>Ne(n,t))});switch(e.kind){case"rendered":return e.element;case"raw_jsx":return e.snippet;case"element":{let{kind:n,children:r,...o}=e;return t.renderElement({...o,children:Ne(r??null,t)})}case"fragment":{let{kind:n,children:r,...o}=e;return t.renderFragment({...o,children:Ne(r??null,t)})}}}function S3(e,t){let n=[],r=[],o={};for(let i of e){if(i==null)continue;
8601if(typeof i=="string"){r.push(...i.split(" "));continue}let s="styles"in i?i.styles:i,a=oP(s,t);n.push(...a.tailwindClasses),Object.assign(o,a.inlineStyles)}return{classes:[...n,...r],style:o}}function lP({Tag:e,children:t,style:n,styleSet:r,key:o,nodeId:i,idSuffix:s,attributes:a},l){let u=S3(Array.isArray(r)?r:[r],l);return(0,iP.createElement)(e,{id:i&&!s?fo(i):void 0,...a,key:o,className:(0,sP.default)(u.classes),style:{...u.style,...n}},t)}var dP=v(W()),fP=v(ZI());var cP=v(ZI());var R3="api/figment-proxy/monitor",A3="sites.runtime_error",N3="figweb",y3=100,b3=new Set(["preview","published"]),L3=async(e,t,n,r)=>{if(!e||e==="")return;let o=`${e}/${R3}`;try{await fetch(o,{method:"POST",body:JSON.stringify(t),priority:"low",keepalive:r?.sendAsBeacon,headers:{"Content-Type":"application/json",...n},credentials:"omit"})}catch(i){console.error(i)}},C3=()=>/iPad/.test(navigator.userAgent)||/Mac/.test(navigator.userAgent)&&!/iPhone/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||!1,EE;function JI(){if(EE===void 0)try{EE={...cP.default.detect(navigator.userAgent),isIpad:C3()}}catch{EE=null}return EE||null}var yu=class{env;rateLimiter;_shouldReportErrors;reportingDomain;analyticsHeaders;userId;bundleId;bundleCreationDate;_cachedInfo;constructor({env:t,reportingDomain:n,rateLimiter:r,analyticsHeaders:o,bundleId:i,bundleCreationDate:s,userId:a}){this.reportingDomain=n,this.env=t,this.rateLimiter=r,this.analyticsHeaders=o,this._shouldReportErrors=this.shouldReportErrors(),this.bundleId=i,this.bundleCreationDate=s,this.userId=a}shouldReportErrors=()=>{if(!b3.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,n)=>{if(!this._shouldReportErrors||!(t instanceof te)||!this.rateLimiter.tryAdd(1))return;let r=new Date().toISOString(),o={event:A3,properties:{errorType:t.name,errorMessage:n?`[${n}]: ${t.message}`:t.message,stackTrace:t.stack||"",environment:this.env,bundleId:this.bundleId,bundleCreationDate:this.bundleCreationDate,severity:t.severity,errorDetail:t.errorDetail,...this.getBrowserInfoProps()},timestamp:r,sentAt:r,context:this.getContext()},i={namespace:N3,batched:"1"};this.userId&&(o.userId=this.userId);let s=[{data:o,figment_metadata:i}];L3(this.reportingDomain,s,this.analyticsHeaders)};getBrowserInfoProps=()=>{if(!this._cachedInfo)try{let t=JI();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 yu(t);this._errorQueue.length;)this.reportError(yu._errorQueue.pop())}static reset(){this._ErrorReporter=void 0,this._errorQueue=[]}static reportError(t,n){this._ErrorReporter?this.enabled&&this._ErrorReporter.reportError(t,n):this._errorQueue.length<y3&&this._errorQueue.push(t)}},Me=yu;Po(Me,"enabled",!0),Po(Me,"_ErrorReporter"),Po(Me,"_errorQueue",[]),Po(Me,"enable",()=>yu.enabled=!0),Po(Me,"disable",()=>yu.enabled=!1);var Pa=(e,t)=>n=>{try{e(n)}catch(r){throw Me.reportError(r,t),r instanceof te?new Error(r.message,r):r}},bu=(e,t)=>n=>{try{e(n)}catch(r){throw Me.reportError(r,t),r instanceof te?new Error(r.message,r):r}};var qI=de(new Map),Lu={SHIFT_CODE:16,CONTROL_CODE:17,ALT_CODE:18,META_CODE:91};function pP(e,t){let n=e.event?.keyTrigger?.triggerDevice==="KEYBOARD",r=e.event?.keyTrigger?.keyCodes;if(!r)return!1;let o=v3(t),i=r.length===t.length;return n&&i&&r.every(o)}function P3(e){return e===void 0?!1:(e=e.toUpperCase(),e==="SHIFT"||e==="CONTROL"||e==="ALT"||e==="META")}function D3(e){let t=[];return t.push(e.keyCode),e.shiftKey&&t.push(Lu.SHIFT_CODE),e.ctrlKey&&t.push(Lu.CONTROL_CODE),e.altKey&&t.push(Lu.ALT_CODE),e.metaKey&&t.push(Lu.META_CODE),t}function v3(e){let t=fP.default.mac;return n=>(n=n===Lu.META_CODE&&!t?Lu.CONTROL_CODE:n,e.some(r=>r===n))}function mP(){let e=Ae(qI);(0,dP.useEffect)(()=>{let t=bu(n=>{if(P3(n.key))return;let r=D3(n);e.forEach(o=>{o.keyCallback?.(r)})},"handleKeypressInteractions");return window.addEventListener("keydown",t),()=>{window.removeEventListener("keydown",t)}},[e])}function po(e){return e.some(t=>t.event?.interactionType==="ON_CLICK"&&t.actions?.some(n=>n.connectionType==="URL"||n.connectionType==="INTERNAL_NODE"&&n.navigationType==="NAVIGATE"))}function Fo(e){return e.some(t=>t.event?.interactionType==="ON_CLICK")&&!po(e)}function Tf(e,t,n){t===void 0&&(t=!0);let r=n==="preview"||t?"_blank":"_self";try{return new URL(e),{url:e,target:r}}catch{return{url:"https://"+e,target:r}}}function EP(e,t){if(!e.startsWith("/"))return e;if(t==="published")return window.location.host+e}function hf(e,t,n,r,o,i){let{env:s}=i,a=l=>{l.key==="Enter"&&e(l)};if((t==="INTERNAL_NODE"||t==="NODE")&&n){let l=()=>{i.preloadLocation(n)};return o||s==="preview"?{onClick:e,onKeyDown:a,onMouseDown:l,role:"link",tabIndex:0}:{href:n,target:r?"_blank":"_self",onMouseDown:l}}if(t==="URL"&&n){let{url:l,target:u}=Tf(n,r,s);return o?{role:"link",tabIndex:0,onClick:e,onKeyDown:a}:{href:l,target:u}}}var p1=v(W());var _P={sessionID:-1,localID:-1},Ze="-1:-1";function _E(e){return e?(e.localID|0)>=0&&(e.sessionID|0)>=0:!1}function ot(e){return e?`${e.sessionID|0}:${e.localID|0}`:null}function Of(e){if(!e)return null;let t=e.split(":");if(!t||t.length!==2)return null;let n,r;try{n=parseInt(t[0]),r=parseInt(t[1])}catch{return null}return!isFinite(n)||!isFinite(r)?null:{sessionID:n,localID:r}}var yt=function(e){return 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",e}({}
8601),On=function(e){return 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",e.SPRING="SPRING",e}({}),mo=function(e){return e.ALL="ALL",e.OPACITY="OPACITY",e.TRANSLATION="TRANSLATION",e.ROTATION="ROTATION",e.SCALE="SCALE",e}({}),gt=function(e){return 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",e}({}),Kn=function(e){return e.LEFT="LEFT",e.RIGHT="RIGHT",e.CENTER="CENTER",e.LEFT_RIGHT="LEFT_RIGHT",e.SCALE="SCALE",e}({}),Er=function(e){return e.TOP="TOP",e.BOTTOM="BOTTOM",e.CENTER="CENTER",e.TOP_BOTTOM="TOP_BOTTOM",e.SCALE="SCALE",e}({}),PJ=function(e){return e.SUPER="SUPER",e.SUB="SUB",e.NORMAL="NORMAL",e}({}),TP=function(e){return e.NONE="NONE",e.STRIKETHROUGH="STRIKETHROUGH",e.UNDERLINE="UNDERLINE",e}({}),Da=function(e){return e.ORDERED="ORDERED",e.UNORDERED="UNORDERED",e.NONE="NONE",e}({}),DJ=function(e){return e.SET="SET",e.SCALE="SCALE",e.OFFSET="OFFSET",e}({}),vJ=function(e){return e.FLOAT="FLOAT",e.COLOR="COLOR",e.VECTOR="VECTOR",e}({});var Cu={visible:!0,locked:!1,isFixed:!1,scrollBehavior:"SCROLLS"},gf={blendMode:gt.NORMAL,opacity:1},TE={constraints:{vertical:Er.TOP,horizontal:Kn.LEFT},layoutGrow:0,layoutAlign:"INHERIT",layoutPositioning:"AUTO",gridColumnAnchorIndex:0,gridRowAnchorIndex:0},hE={fills:[],strokes:[],strokeWeight:1},M3={effects:[]},OP={isMask:!1},hP={isBreakpointFrame:!1},GJ={interactions:[]},G3={clipsContent:!1,overflowDirection:"NONE",layoutMode:"NONE",primaryAxisSizingMode:"AUTO",counterAxisSizingMode:"AUTO",primaryAxisAlignItems:"MIN",counterAxisAlignItems:"MIN",paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0,itemSpacing:0,itemReverseZIndex:!1,strokesIncludedInLayout:!1,stackLayoutVersion:0,counterAxisAlignContent:"AUTO",layoutWrap:"NO_WRAP",counterAxisSpacing:0},QI={cornerRadius:0,rectangleCornerRadii:[0,0,0,0],rectangleCornerRadiiIndependent:!1},k3={isInAnimateTree:!1},Ur={...Cu,...gf,...TE,...G3,...QI,...hE,...M3,...OP,...hP,...hP,...k3},If={...Cu,...gf,...TE,...hE,...OP},kJ={...If,...QI},gP={...If,...QI},IP={listSpacing:0,textAutoResize:"NONE",paragraphIndent:0,paragraphSpacing:0,textAlignHorizontal:"LEFT",textAlignVertical:"TOP"},Sf={code:void 0,sourceCodeHash:void 0,codeExportName:"default"};var SP={...Ur},RP={...Ur},AP={...If},NP={...Cu,...gf,...TE,...hE},yP={...Ur},bP={...Ur},LP={...Ur},CP={...Ur,type:"REPEATER"},PP={...Ur,type:"CMS_RICH_TEXT"},DP={...Ur},vP={...gP},xP={...If,...IP},MP={...Cu,...gf},GP={...Ur,type:"WEBPAGE"},kP={...Ur,type:"CODE_INSTANCE",...Sf,componentProperties:{}},FP={...Ur,type:"CODE_LAYER",...Sf,componentProperties:{}},wP={...Cu,type:"CODE_COMPONENT",...Sf,componentProperties:{}},BP={type:"CODE_FILE",...Sf};function OE(e){switch(e.type){case"COMPONENT":return Object.assign(Object.create(SP),e);case"COMPONENT_SET":return Object.assign(Object.create(RP),e);case"FRAME":return Object.assign(Object.create(yP),e);case"SLOT":return Object.assign(Object.create(bP),e);case"GROUP":return Object.assign(Object.create(LP),e);case"IMAGE":return Object.assign(Object.create(NP),e);case"INSTANCE":return Object.assign(Object.create(DP),e);case"RECTANGLE":return Object.assign(Object.create(vP),e);case"SVG":return Object.assign(Object.create(AP),e);case"TEXT":return Object.assign(Object.create(xP),e);case"VARIABLE":return e;case"VARIABLE_COLLECTION":return e;case"STYLE":return e;case"WIDGET":return Object.assign(Object.create(MP),e);case"WEBPAGE":return Object.assign(Object.create(GP),e);case"CODE_INSTANCE":return Object.assign(Object.create(kP),e);case"CODE_LAYER":return Object.assign(Object.create(FP),e);case"CODE_COMPONENT":return Object.assign(Object.create(wP),e);case"CODE_FILE":return Object.assign(Object.create(BP),e);case"REPEATER":return Object.assign(Object.create(CP),e);case"CMS_RICH_TEXT":return Object.assign(Object.create(PP),e);case"KEYFRAME_TRACK":return e;case"KEYFRAME":return e;default:throw new Error("Unknown node type provided to applyDefaults")}}var Je=function(e){return 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",e}({});function Pu(e){return e.type==="GRADIENT_LINEAR"||e.type==="GRADIENT_RADIAL"||e.type==="GRADIENT_ANGULAR"||e.type==="GRADIENT_DIAMOND"}function YJ(e,t,n){let r=e,o=t.safeParse(e);if(o.success&&(r=o.data),!o.success){t.description||console.info("Zod schema provided to parseData has no description. Add a description via .describe for better error messages.");let i=`${t.description||"Zod"} schema error issues`,s=n?`Debug info: 8602${JSON.stringify(n,null,2)} 8603`:"",a=typeof window>"u",l=!1;if(a||l){if(a)for(let u of o.error.issues)console.error(`[SchemaErrorIssue] ${JSON.stringify({sc
8603hemaDescription:t.description,issue:u})}`);if(l)throw new Error(`${i} 8604${s}Issues: ${JSON.stringify(o.error.issues,null,2)}`)}else console.error(i,{issues:o.error.issues,debugInfo:n,data:e})}return r}var st={};GV(st,{BRAND:()=>lY,DIRTY:()=>va,EMPTY_PATH:()=>U3,INVALID:()=>ie,NEVER:()=>zY,OK:()=>In,ParseStatus:()=>vt,Schema:()=>Te,ZodAny:()=>gs,ZodArray:()=>Tr,ZodBigInt:()=>Uo,ZodBoolean:()=>xa,ZodBranded:()=>Af,ZodCatch:()=>Wa,ZodDate:()=>gi,ZodDefault:()=>Ha,ZodDiscriminatedUnion:()=>ku,ZodEffects:()=>Yr,ZodEnum:()=>Vo,ZodError:()=>gn,ZodFirstPartyTypeKind:()=>se,ZodFunction:()=>Os,ZodIntersection:()=>Fa,ZodIssueCode:()=>B,ZodLazy:()=>Ba,ZodLiteral:()=>Ua,ZodMap:()=>Fu,ZodNaN:()=>wu,ZodNativeEnum:()=>Va,ZodNever:()=>Eo,ZodNull:()=>Ga,ZodNullable:()=>Ho,ZodNumber:()=>Bo,ZodObject:()=>it,ZodOptional:()=>Vr,ZodParsedType:()=>j,ZodPipeline:()=>Ya,ZodPromise:()=>Is,ZodReadonly:()=>Ka,ZodRecord:()=>wa,ZodSchema:()=>Te,ZodSet:()=>Ii,ZodString:()=>_r,ZodSymbol:()=>Mu,ZodTransformer:()=>Yr,ZodTuple:()=>Wr,ZodType:()=>Te,ZodUndefined:()=>Ma,ZodUnion:()=>ka,ZodUnknown:()=>Oi,ZodVoid:()=>Gu,addIssueToContext:()=>X,any:()=>TY,array:()=>IY,bigint:()=>fY,boolean:()=>ZP,coerce:()=>KY,custom:()=>XP,date:()=>pY,datetimeRegex:()=>KP,defaultErrorMap:()=>Ti,discriminatedUnion:()=>NY,effect:()=>FY,enum:()=>MY,function:()=>DY,getErrorMap:()=>Du,getParsedType:()=>wo,instanceof:()=>cY,intersection:()=>yY,isAborted:()=>gE,isAsync:()=>vu,isDirty:()=>IE,isValid:()=>hs,late:()=>uY,lazy:()=>vY,literal:()=>xY,makeIssue:()=>Rf,map:()=>CY,nan:()=>dY,nativeEnum:()=>GY,never:()=>OY,null:()=>_Y,nullable:()=>BY,number:()=>$P,object:()=>SY,objectUtil:()=>eS,oboolean:()=>YY,onumber:()=>WY,optional:()=>wY,ostring:()=>HY,pipeline:()=>VY,preprocess:()=>UY,promise:()=>kY,quotelessJson:()=>F3,record:()=>LY,set:()=>PY,setErrorMap:()=>B3,strictObject:()=>RY,string:()=>jP,symbol:()=>mY,transformer:()=>FY,tuple:()=>bY,undefined:()=>EY,union:()=>AY,unknown:()=>hY,util:()=>Se,void:()=>gY});var Se;(function(e){e.assertEqual=o=>{};function t(o){}e.assertIs=t;function n(o){throw new Error}e.assertNever=n,e.arrayToEnum=o=>{let i={};for(let s of o)i[s]=s;return i},e.getValidEnumValues=o=>{let i=e.objectKeys(o).filter(a=>typeof o[o[a]]!="number"),s={};for(let a of i)s[a]=o[a];return e.objectValues(s)},e.objectValues=o=>e.objectKeys(o).map(function(i){return o[i]}),e.objectKeys=typeof Object.keys=="function"?o=>Object.keys(o):o=>{let i=[];for(let s in o)Object.prototype.hasOwnProperty.call(o,s)&&i.push(s);return i},e.find=(o,i)=>{for(let s of o)if(i(s))return s},e.isInteger=typeof Number.isInteger=="function"?o=>Number.isInteger(o):o=>typeof o=="number"&&Number.isFinite(o)&&Math.floor(o)===o;function r(o,i=" | "){return o.map(s=>typeof s=="string"?`'${s}'`:s).join(i)}e.joinValues=r,e.jsonStringifyReplacer=(o,i)=>typeof i=="bigint"?i.toString():i})(Se||(Se={}));var eS;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(eS||(eS={}));var j=Se.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),wo=e=>{switch(typeof e){case"undefined":return j.undefined;case"string":return j.string;case"number":return Number.isNaN(e)?j.nan:j.number;case"boolean":return j.boolean;case"function":return j.function;case"bigint":return j.bigint;case"symbol":return j.symbol;case"object":return Array.isArray(e)?j.array:e===null?j.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?j.promise:typeof Map<"u"&&e instanceof Map?j.map:typeof Set<"u"&&e instanceof Set?j.set:typeof Date<"u"&&e instanceof Date?j.date:j.object;default:return j.unknown}};
vendor: 4,622 bytes, line 8604
8604var B=Se.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),F3=e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:"),gn=class extends Error{get errors(){return this.issues}constructor(t){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};let n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=t}format(t){let n=t||function(i){return i.message},r={_errors:[]},o=i=>{for(let s of i.issues)if(s.code==="invalid_union")s.unionErrors.map(o);else if(s.code==="invalid_return_type")o(s.returnTypeError);else if(s.code==="invalid_arguments")o(s.argumentsError);else if(s.path.length===0)r._errors.push(n(s));else{let a=r,l=0;for(;l<s.path.length;){let u=s.path[l];l===s.path.length-1?(a[u]=a[u]||{_errors:[]},a[u]._errors.push(n(s))):a[u]=a[u]||{_errors:[]},a=a[u],l++}}};return o(this),r}static assert(t){if(!(t instanceof gn))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Se.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=n=>n.message){let n={},r=[];for(let o of this.issues)o.path.length>0?(n[o.path[0]]=n[o.path[0]]||[],n[o.path[0]].push(t(o))):r.push(t(o));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}};gn.create=e=>new gn(e);var w3=(e,t)=>{let n;switch(e.code){case B.invalid_type:e.received===j.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case B.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,Se.jsonStringifyReplacer)}`;break;case B.unrecognized_keys:n=`Unrecognized key(s) in object: ${Se.joinValues(e.keys,", ")}`;break;case B.invalid_union:n="Invalid input";break;case B.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${Se.joinValues(e.options)}`;break;case B.invalid_enum_value:n=`Invalid enum value. Expected ${Se.joinValues(e.options)}, received '${e.received}'`;break;case B.invalid_arguments:n="Invalid function arguments";break;case B.invalid_return_type:n="Invalid function return type";break;case B.invalid_date:n="Invalid date";break;case B.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:Se.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case B.too_small:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:n="Invalid input";break;case B.too_big:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?n=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:n="Invalid input";break;case B.custom:n="Invalid input";break;case B.invalid_intersection_types:n="Intersection results could not be merged";break;case B.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case B.not_finite:n="Number must be finite";break;default:n=t.defaultError,Se.assertNever(e)}return{message:n}},Ti=w3;var UP=Ti;function B3(e){UP=e}function Du(){return UP}var Rf=e=>
vendor: 46,469 bytes, line 8604
8604{let{data:t,path:n,errorMaps:r,issueData:o}=e,i=[...n,...o.path||[]],s={...o,path:i};if(o.message!==void 0)return{...o,path:i,message:o.message};let a="",l=r.filter(u=>!!u).slice().reverse();for(let u of l)a=u(s,{data:t,defaultError:a}).message;return{...o,path:i,message:a}},U3=[];function X(e,t){let n=Du(),r=Rf({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===Ti?void 0:Ti].filter(o=>!!o)});e.common.issues.push(r)}var vt=class{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,n){let r=[];for(let o of n){if(o.status==="aborted")return ie;o.status==="dirty"&&t.dirty(),r.push(o.value)}return{status:t.value,value:r}}static async mergeObjectAsync(t,n){let r=[];for(let o of n){let i=await o.key,s=await o.value;r.push({key:i,value:s})}return vt.mergeObjectSync(t,r)}static mergeObjectSync(t,n){let r={};for(let o of n){let{key:i,value:s}=o;if(i.status==="aborted"||s.status==="aborted")return ie;i.status==="dirty"&&t.dirty(),s.status==="dirty"&&t.dirty(),i.value!=="__proto__"&&(typeof s.value<"u"||o.alwaysSet)&&(r[i.value]=s.value)}return{status:t.value,value:r}}},ie=Object.freeze({status:"aborted"}),va=e=>({status:"dirty",value:e}),In=e=>({status:"valid",value:e}),gE=e=>e.status==="aborted",IE=e=>e.status==="dirty",hs=e=>e.status==="valid",vu=e=>typeof Promise<"u"&&e instanceof Promise;var J;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t?.message})(J||(J={}));var Hr=class{constructor(t,n,r,o){this._cachedPath=[],this.parent=t,this.data=n,this._path=r,this._key=o}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}},VP=(e,t)=>{if(hs(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let n=new gn(e.common.issues);return this._error=n,this._error}}};function me(e){if(!e)return{};let{errorMap:t,invalid_type_error:n,required_error:r,description:o}=e;if(t&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:o}:{errorMap:(s,a)=>{let{message:l}=e;return s.code==="invalid_enum_value"?{message:l??a.defaultError}:typeof a.data>"u"?{message:l??r??a.defaultError}:s.code!=="invalid_type"?{message:a.defaultError}:{message:l??n??a.defaultError}},description:o}}var Te=class{get description(){return this._def.description}_getType(t){return wo(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:wo(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new vt,ctx:{common:t.parent.common,data:t.data,parsedType:wo(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){let n=this._parse(t);if(vu(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(t){let n=this._parse(t);return Promise.resolve(n)}parse(t,n){let r=this.safeParse(t,n);if(r.success)return r.data;throw r.error}safeParse(t,n){let r={common:{issues:[],async:n?.async??!1,contextualErrorMap:n?.errorMap},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:wo(t)},o=this._parseSync({data:t,path:r.path,parent:r});return VP(r,o)}"~validate"(t){let n={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:wo(t)};if(!this["~standard"].async)try{let r=this._parseSync({data:t,path:[],parent:n});return hs(r)?{value:r.value}:{issues:n.common.issues}}catch(r){r?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),n.common={issues:[],async:!0}}return this._parseAsync({data:t,path:[],parent:n}).then(r=>hs(r)?{value:r.value}:{issues:n.common.issues})}async parseAsync(t,n){let r=await this.safeParseAsync(t,n);if(r.success)return r.data;throw r.error}async safeParseAsync(t,n){let r={common:{issues:[],contextualErrorMap:n?.errorMap,async:!0},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:wo(t)},o=this._parse({data:t,path:r.path,parent:r}),i=await(vu(o)?o:Promise.resolve(o));return VP(r,i)}refine(t,n){let r=o=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(o):n;return this._refinement((o,i)=>{let s=t(o),a=()=>i.addIssue({code:B.custom,...r(o)});return typeof Promise<"u"&&s instanceof Promise?s.then(l=>l?!0:(a(),!1)):s?!0:(a(),!1)})}refinement(t,n){return this._refinement((r,o)=>t(r)?!0:(o.addIssue(typeof n=="function"?n(r,o):n),!1))}_refinement(t){return new Yr({schema:this,typeName:se.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:n=>this["~validate"](n)}}optional(){return Vr.create(this,this._def)}nullable(){return Ho.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Tr.create(this)}promise(){return Is.create(this,this._def)}or(t){return ka.create([this,t],this._def)}and(t){return Fa.create(this,t,this._def)}transform(t){return new Yr({...me(this._def),schema:this,typeName:se.ZodEffects,effect:{type:"transform",transform:t}})}default(t){let n=typeof t=="function"?t:()=>t;return new Ha({...me(this._def),innerType:this,defaultValue:n,typeName:se.ZodDefault})}brand(){return new Af({typeName:se.ZodBranded,type:this,...me(this._def)})}catch(t){let n=typeof t=="function"?t:()=>t;return new Wa({...me(this._def),innerType:this,catchValue:n,typeName:se.ZodCatch})}describe(t){let n=this.constructor;return new n({...this._def,description:t})}pipe(t){return Ya.create(this,t)}readonly(){return Ka.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}},V3=/^c[^\s-]{8,}$/i,H3=/^[0-9a-z]+$/,W3=/^[0-9A-HJKMNP-TV-Z]{26}$/i,Y3=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,K3=/^[a-z0-9_-]{21}$/i,z3=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,X3=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,j3=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,$3="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",tS,Z3=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,J3=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,q3=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,Q3=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,eY=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,tY=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,WP="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",nY=new RegExp(`^${WP}$`);function YP(e){let t="[0-5]\\d";e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`);let n=e.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${n}`}function rY(e){return new RegExp(`^${YP(e)}$`)}function KP(e){let t=`${WP}T${YP(e)}`,n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,new RegExp(`^${t}$`)}function oY(e,t){return!!((t==="v4"||!t)&&Z3.test(e)||(t==="v6"||!t)&&q3.test(e))}function iY(e,t){if(!z3.test(e))return!1;try{let[n]=e.split("."),r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),o=JSON.parse(atob(r));return!(typeof o!="object"||o===null||"typ"in o&&o?.typ!=="JWT"||!o.alg||t&&o.alg!==t)}catch{return!1}}function sY(e,t){return!!((t==="v4"||!t)&&J3.test(e)||(t==="v6"||!t)&&Q3.test(e))}var _r=class extends Te{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==j.string){let i=this._getOrReturnCtx(t);return X(i,{code:B.invalid_type,expected:j.string,received:i.parsedType}),ie}let r=new vt,o;for(let i of this._def.checks)if(i.kind==="min")t.data.length<i.value&&(o=this._getOrReturnCtx(t,o),X(o,{code:B.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),r.dirty());else if(i.kind==="max")t.data.length>i.value&&(o=this._getOrReturnCtx(t,o),X(o,{code:B.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),r.dirty());else if(i.kind==="length"){let s=t.data.length>i.value,a=t.data.length<i.value;(s||a)&&(o=this._getOrReturnCtx(t,o),s?X(o,{code:B.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}):a&&X(o,{code:B.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}),r.dirty())}else if(i.kind==="email")j3.test(t.data)||(o=this._getOrReturnCtx(t,o),X(o,{validation:"email",code:B.invalid_string,message:i.message}),r.dirty());else if(i.kind==="emoji")tS||(tS=new RegExp($3,"u")),tS.test(t.data)||(o=this._getOrReturnCtx(t,o),X(o,{validation:"emoji",code:B.invalid_string,message:i.message}),r.dirty());else if(i.kind==="uuid")Y3.test(t.data)||(o=this._getOrReturnCtx(t,o),X(o,{validation:"uuid",code:B.invalid_string,message:i.message}),r.dirty());else if(i.kind==="nanoid")K3.test(t.data)||(o=this._getOrReturnCtx(t,o),X(o,{validation:"nanoid",code:B.invalid_string,message:i.message}),r.dirty());else if(i.kind==="cuid")V3.test(t.data)||(o=this._getOrReturnCtx(t,o),X(o,{validation:"cuid",code:B.invalid_string,message:i.message}),r.dirty());else if(i.kind==="cuid2")H3.test(t.data)||(o=this._getOrReturnCtx(t,o),X(o,{validation:"cuid2",code:B.invalid_string,message:i.message}),r.dirty());else if(i.kind==="ulid")W3.test(t.data)||(o=this._getOrReturnCtx(t,o),X(o,{validation:"ulid",code:B.invalid_string,message:i.message}),r.dirty());else if(i.kind==="url")try{new URL(t.data)}catch{o=this._getOrReturnCtx(t,o),X(o,{validation:"url",code:B.invalid_string,message:i.message}),r.dirty()}else i.kind==="regex"?(i.regex.lastIndex=0,i.regex.test(t.data)||(o=this._getOrReturnCtx(t,o),X(o,{validation:"regex",code:B.invalid_string,message:i.message}),r.dirty())):i.kind==="trim"?t.data=t.data.trim():i.kind==="includes"?t.data.includes(i.value,i.position)||(o=this._getOrReturnCtx(t,o),X(o,{code:B.invalid_string,validation:{includes:i.value,position:i.position},message:i.message}),r.dirty()):i.kind==="toLowerCase"?t.data=t.data.toLowerCase():i.kind==="toUpperCase"?t.data=t.data.toUpperCase():i.kind==="startsWith"?t.data.startsWith(i.value)||(o=this._getOrReturnCtx(t,o),X(o,{code:B.invalid_string,validation:{startsWith:i.value},message:i.message}),r.dirty()):i.kind==="endsWith"?t.data.endsWith(i.value)||(o=this._getOrReturnCtx(t,o),X(o,{code:B.invalid_string,validation:{endsWith:i.value},message:i.message}),r.dirty()):i.kind==="datetime"?KP(i).test(t.data)||(o=this._getOrReturnCtx(t,o),X(o,{code:B.invalid_string,validation:"datetime",message:i.message}),r.dirty()):i.kind==="date"?nY.test(t.data)||(o=this._getOrReturnCtx(t,o),X(o,{code:B.invalid_string,validation:"date",message:i.message}),r.dirty()):i.kind==="time"?rY(i).test(t.data)||(o=this._getOrReturnCtx(t,o),X(o,{code:B.invalid_string,validation:"time",message:i.message}),r.dirty()):i.kind==="duration"?X3.test(t.data)||(o=this._getOrReturnCtx(t,o),X(o,{validation:"duration",code:B.invalid_string,message:i.message}),r.dirty()):i.kind==="ip"?oY(t.data,i.version)||(o=this._getOrReturnCtx(t,o),X(o,{validation:"ip",code:B.invalid_string,message:i.message}),r.dirty()):i.kind==="jwt"?iY(t.data,i.alg)||(o=this._getOrReturnCtx(t,o),X(o,{validation:"jwt",code:B.invalid_string,message:i.message}),r.dirty()):i.kind==="cidr"?sY(t.data,i.version)||(o=this._getOrReturnCtx(t,o),X(o,{validation:"cidr",code:B.invalid_string,message:i.message}),r.dirty()):i.kind==="base64"?eY.test(t.data)||(o=this._getOrReturnCtx(t,o),X(o,{validation:"base64",code:B.invalid_string,message:i.message}),r.dirty()):i.kind==="base64url"?tY.test(t.data)||(o=this._getOrReturnCtx(t,o),X(o,{validation:"base64url",code:B.invalid_string,message:i.message}),r.dirty()):Se.assertNever(i);return{status:r.value,value:t.data}}_regex(t,n,r){return this.refinement(o=>t.test(o),{validation:n,code:B.invalid_string,...J.errToObj(r)})}_addCheck(t){return new _r({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...J.errToObj(t)})}url(t){return this._addCheck({kind:"url",...J.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...J.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...J.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...J.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...J.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...J.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...J.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...J.errToObj(t)})}base64url(t){return this._addCheck({kind:"base64url",...J.errToObj(t)})}jwt(t){return this._addCheck({kind:"jwt",...J.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...J.errToObj(t)})}cidr(t){return this._addCheck({kind:"cidr",...J.errToObj(t)})}datetime(t){return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof t?.precision>"u"?null:t?.precision,offset:t?.offset??!1,local:t?.local??!1,...J.errToObj(t?.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:typeof t?.precision>"u"?null:t?.precision,...J.errToObj(t?.message)})}duration(t){return this._addCheck({kind:"duration",...J.errToObj(t)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...J.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n?.position,...J.errToObj(n?.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...J.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...J.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...J.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...J.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...J.errToObj(n)})}nonempty(t){return this.min(1,J.errToObj(t))}trim(){return new _r({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new _r({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new _r({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isDate(){return!!this._def.checks.find(t=>t.kind==="date")}get isTime(){return!!this._def.checks.find(t=>t.kind==="time")}get isDuration(){return!!this._def.checks.find(t=>t.kind==="duration")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(t=>t.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get isCIDR(){return!!this._def.checks.find(t=>t.kind==="cidr")}get isBase64(){return!!this._def.checks.find(t=>t.kind==="base64")}get isBase64url(){return!!this._def.checks.find(t=>t.kind==="base64url")}get minLength(){let t=null;for(let n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxLength(){let t=null;for(let n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}};_r.create=e=>new _r({checks:[],typeName:se.ZodString,coerce:e?.coerce??!1,...me(e)});function aY(e,t){let n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,o=n>r?n:r,i=Number.parseInt(e.toFixed(o).replace(".","")),s=Number.parseInt(t.toFixed(o).replace(".",""));return i%s/10**o}var Bo=class extends Te{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==j.number){let i=this._getOrReturnCtx(t);return X(i,{code:B.invalid_type,expected:j.number,received:i.parsedType}),ie}let r,o=new vt;for(let i of this._def.checks)i.kind==="int"?Se.isInteger(t.data)||(r=this._getOrReturnCtx(t,r),X(r,{code:B.invalid_type,expected:"integer",received:"float",message:i.message}),o.dirty()):i.kind==="min"?(i.inclusive?t.data<i.value:t.data<=i.value)&&(r=this._getOrReturnCtx(t,r),X(r,{code:B.too_small,minimum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),o.dirty()):i.kind==="max"?(i.inclusive?t.data>i.value:t.data>=i.value)&&(r=this._getOrReturnCtx(t,r),X(r,{code:B.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),o.dirty()):i.kind==="multipleOf"?aY(t.data,i.value)!==0&&(r=this._getOrReturnCtx(t,r),X(r,{code:B.not_multiple_of,multipleOf:i.value,message:i.message}),o.dirty()):i.kind==="finite"?Number.isFinite(t.data)||(r=this._getOrReturnCtx(t,r),X(r,{code:B.not_finite,message:i.message}),o.dirty()):Se.assertNever(i);return{status:o.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,J.toString(n))}gt(t,n){return this.setLimit("min",t,!1,J.toString(n))}lte(t,n){return this.setLimit("max",t,!0,J.toString(n))}lt(t,n){return this.setLimit("max",t,!1,J.toString(n))}setLimit(t,n,r,o){return new Bo({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:J.toString(o)}]})}_addCheck(t){return new Bo({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:J.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:J.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:J.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:J.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:J.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:J.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:J.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:J.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:J.toString(t)})}get minValue(){let t=null;for(let n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(let n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&Se.isInteger(t.value))}get isFinite(){let t=null,n=null;for(let r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(n===null||r.value>n)&&(n=r.value):r.kind==="max"&&(t===null||r.value<t)&&(t=r.value)}return Number.isFinite(n)&&Number.isFinite(t)}};Bo.create=e=>new Bo({checks:[],typeName:se.ZodNumber,coerce:e?.coerce||!1,...me(e)});var Uo=class extends Te{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce)try{t.data=BigInt(t.data)}catch{return this._getInvalidInput(t)}if(this._getType(t)!==j.bigint)return this._getInvalidInput(t);let r,o=new vt;for(let i of this._def.checks)i.kind==="min"?(i.inclusive?t.data<i.value:t.data<=i.value)&&(r=this._getOrReturnCtx(t,r),X(r,{code:B.too_small,type:"bigint",minimum:i.value,inclusive:i.inclusive,message:i.message}),o.dirty()):i.kind==="max"?(i.inclusive?t.data>i.value:t.data>=i.value)&&(r=this._getOrReturnCtx(t,r),X(r,{code:B.too_big,type:"bigint",maximum:i.value,inclusive:i.inclusive,message:i.message}),o.dirty()):i.kind==="multipleOf"?t.data%i.value!==BigInt(0)&&(r=this._getOrReturnCtx(t,r),X(r,{code:B.not_multiple_of,multipleOf:i.value,message:i.message}),o.dirty()):Se.assertNever(i);return{status:o.value,value:t.data}}_getInvalidInput(t){let n=this._getOrReturnCtx(t);return X(n,{code:B.invalid_type,expected:j.bigint,received:n.parsedType}),ie}gte(t,n){return this.setLimit("min",t,!0,J.toString(n))}gt(t,n){return this.setLimit("min",t,!1,J.toString(n))}lte(t,n){return this.setLimit("max",t,!0,J.toString(n))}lt(t,n){return this.setLimit("max",t,!1,J.toString(n))}setLimit(t,n,r,o){return new Uo({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:J.toString(o)}]})}_addCheck(t){return new Uo({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:J.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:J.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:J.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:J.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:J.toString(n)})}get minValue(){let t=null;for(let n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(let n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}};Uo.create=e=>new Uo({checks:[],typeName:se.ZodBigInt,coerce:e?.coerce??!1,...me(e)});var xa=class extends Te{_parse(t){if(this._def.coerce&&(t.data=Boolean(t.data)),this._getType(t)!==j.boolean){let r=this._getOrReturnCtx(t);return X(r,{code:B.invalid_type,expected:j.boolean,received:r.parsedType}),ie}return In(t.data)}};xa.create=e=>new xa({typeName:se.ZodBoolean,coerce:e?.coerce||!1,...me(e)});var gi=class extends Te{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==j.date){let i=this._getOrReturnCtx(t);return X(i,{code:B.invalid_type,expected:j.date,received:i.parsedType}),ie}if(Number.isNaN(t.data.getTime())){let i=this._getOrReturnCtx(t);return X(i,{code:B.invalid_date}),ie}let r=new vt,o;for(let i of this._def.checks)i.kind==="min"?t.data.getTime()<i.value&&(o=this._getOrReturnCtx(t,o),X(o,{code:B.too_small,message:i.message,inclusive:!0,exact:!1,minimum:i.value,type:"date"}),r.dirty()):i.kind==="max"?t.data.getTime()>i.value&&(o=this._getOrReturnCtx(t,o),X(o,{code:B.too_big,message:i.message,inclusive:!0,exact:!1,maximum:i.value,type:"date"}),r.dirty()):Se.assertNever(i);return{status:r.value,value:new Date(t.data.getTime())}}_addCheck(t){return new gi({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:J.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:J.toString(n)})}get minDate(){let t=null;for(let n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(let n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t!=null?new Date(t):null}};gi.create=e=>new gi({checks:[],coerce:e?.coerce||!1,typeName:se.ZodDate,...me(e)});var Mu=class extends Te{_parse(t){if(this._getType(t)!==j.symbol){let r=this._getOrReturnCtx(t);return X(r,{code:B.invalid_type,expected:j.symbol,received:r.parsedType}),ie}return In(t.data)}};Mu.create=e=>new Mu({typeName:se.ZodSymbol,...me(e)});var Ma=class extends Te{_parse(t){if(this._getType(t)!==j.undefined){let r=this._getOrReturnCtx(t);return X(r,{code:B.invalid_type,expected:j.undefined,received:r.parsedType}),ie}return In(t.data)}};Ma.create=e=>new Ma({typeName:se.ZodUndefined,...me(e)});var Ga=class extends Te{_parse(t){if(this._getType(t)!==j.null){let r=this._getOrReturnCtx(t);return X(r,{code:B.invalid_type,expected:j.null,received:r.parsedType}),ie}return In(t.data)}};Ga.create=e=>new Ga({typeName:se.ZodNull,...me(e)});var gs=class extends Te{constructor(){super(...arguments),this._any=!0}_parse(t){return In(t.data)}};gs.create=e=>new gs({typeName:se.ZodAny,...me(e)});var Oi=class extends Te{constructor(){super(...arguments),this._unknown=!0}_parse(t){return In(t.data)}};Oi.create=e=>new Oi({typeName:se.ZodUnknown,...me(e)});var Eo=class extends Te{_parse(t){let n=this._getOrReturnCtx(t);return X(n,{code:B.invalid_type,expected:j.never,received:n.parsedType}),ie}};Eo.create=e=>new Eo({typeName:se.ZodNever,...me(e)});var Gu=class extends Te{_parse(t){if(this._getType(t)!==j.undefined){let r=this._getOrReturnCtx(t);return X(r,{code:B.invalid_type,expected:j.void,received:r.parsedType}),ie}return In(t.data)}};Gu.create=e=>new Gu({typeName:se.ZodVoid,...me(e)});var Tr=class extends Te{_parse(t){let{ctx:n,status:r}=this._processInputParams(t),o=this._def;if(n.parsedType!==j.array)return X(n,{code:B.invalid_type,expected:j.array,received:n.parsedType}),ie;if(o.exactLength!==null){let s=n.data.length>o.exactLength.value,a=n.data.length<o.exactLength.value;(s||a)&&(X(n,{code:s?B.too_big:B.too_small,minimum:a?o.exactLength.value:void 0,maximum:s?o.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:o.exactLength.message}),r.dirty())}if(o.minLength!==null&&n.data.length<o.minLength.value&&(X(n,{code:B.too_small,minimum:o.minLength.value,type:"array",inclusive:!0,exact:!1,message:o.minLength.message}),r.dirty()),o.maxLength!==null&&n.data.length>o.maxLength.value&&(X(n,{code:B.too_big,maximum:o.maxLength.value,type:"array",inclusive:!0,exact:!1,message:o.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((s,a)=>o.type._parseAsync(new Hr(n,s,n.path,a)))).then(s=>vt.mergeArray(r,s));let i=[...n.data].map((s,a)=>o.type._parseSync(new Hr(n,s,n.path,a)));return vt.mergeArray(r,i)}get element(){return this._def.type}min(t,n){return new Tr({...this._def,minLength:{value:t,message:J.toString(n)}})}max(t,n){return new Tr({...this._def,maxLength:{value:t,message:J.toString(n)}})}length(t,n){return new Tr({...this._def,exactLength:{value:t,message:J.toString(n)}})}nonempty(t){return this.min(1,t)}};Tr.create=(e,t)=>new Tr({type:e,minLength:null,maxLength:null,exactLength:null,typeName:se.ZodArray,...me(t)});function xu(e){if(e instanceof it){let t={};for(let n in e.shape){let r=e.shape[n];t[n]=Vr.create(xu(r))}return new it({...e._def,shape:()=>t})}else return e instanceof Tr?new Tr({...e._def,type:xu(e.element)}):e instanceof Vr?Vr.create(xu(e.unwrap())):e instanceof Ho?Ho.create(xu(e.unwrap())):e instanceof Wr?Wr.create(e.items.map(t=>xu(t))):e}var it=class extends Te{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;let t=this._def.shape(),n=Se.objectKeys(t);return this._cached={shape:t,keys:n},this._cached}_parse(t){if(this._getType(t)!==j.object){let u=this._getOrReturnCtx(t);return X(u,{code:B.invalid_type,expected:j.object,received:u.parsedType}),ie}let{status:r,ctx:o}=this._processInputParams(t),{shape:i,keys:s}=this._getCached(),a=[];if(!(this._def.catchall instanceof Eo&&this._def.unknownKeys==="strip"))for(let u in o.data)s.includes(u)||a.push(u);let l=[];for(let u of s){let c=i[u],d=o.data[u];l.push({key:{status:"valid",value:u},value:c._parse(new Hr(o,d,o.path,u)),alwaysSet:u in o.data})}if(this._def.catchall instanceof Eo){let u=this._def.unknownKeys;if(u==="passthrough")for(let c of a)l.push({key:{status:"valid",value:c},value:{status:"valid",value:o.data[c]}});else if(u==="strict")a.length>0&&(X(o,{code:B.unrecognized_keys,keys:a}),r.dirty());else if(u!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{let u=this._def.catchall;for(let c of a){let d=o.data[c];l.push({key:{status:"valid",value:c},value:u._parse(new Hr(o,d,o.path,c)),alwaysSet:c in o.data})}}return o.common.async?Promise.resolve().then(async()=>{let u=[];for(let c of l){let d=await c.key,f=await c.value;u.push({key:d,value:f,alwaysSet:c.alwaysSet})}return u}).then(u=>vt.mergeObjectSync(r,u)):vt.mergeObjectSync(r,l)}get shape(){return this._def.shape()}strict(t){return J.errToObj,new it({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(n,r)=>{let o=this._def.errorMap?.(n,r).message??r.defaultError;return n.code==="unrecognized_keys"?{message:J.errToObj(t).message??o}:{message:o}}}:{}})}strip(){return new it({...this._def,unknownKeys:"strip"})}passthrough(){return new it({...this._def,unknownKeys:"passthrough"})}extend(t){return new it({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new it({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:se.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new it({...this._def,catchall:t})}pick(t){let n={};for(let r of Se.objectKeys(t))t[r]&&this.shape[r]&&(n[r]=this.shape[r]);return new it({...this._def,shape:()=>n})}omit(t){let n={};for(let r of Se.objectKeys(this.shape))t[r]||(n[r]=this.shape[r]);return new it({...this._def,shape:()=>n})}deepPartial(){return xu(this)}partial(t){let n={};for(let r of Se.objectKeys(this.shape)){let o=this.shape[r];t&&!t[r]?n[r]=o:n[r]=o.optional()}return new it({...this._def,shape:()=>n})}required(t){let n={};for(let r of Se.objectKeys(this.shape))if(t&&!t[r])n[r]=this.shape[r];else{let i=this.shape[r];for(;i instanceof Vr;)i=i._def.innerType;n[r]=i}return new it({...this._def,shape:()=>n})}keyof(){return zP(Se.objectKeys(this.shape))}};it.create=(e,t)=>new it({shape:()=>e,unknownKeys:"strip",catchall:Eo.create(),typeName:se.ZodObject,...me(t)});it.strictCreate=(e,t)=>new it({shape:()=>e,unknownKeys:"strict",catchall:Eo.create(),typeName:se.ZodObject,...me(t)});it.lazycreate=(e,t)=>new it({shape:e,unknownKeys:"strip",catchall:Eo.create(),typeName:se.ZodObject,...me(t)});var ka=class extends Te{_parse(t){let{ctx:n}=this._processInputParams(t),r=this._def.options;function o(i){for(let a of i)if(a.result.status==="valid")return a.result;for(let a of i)if(a.result.status==="dirty")return n.common.issues.push(...a.ctx.common.issues),a.result;let s=i.map(a=>new gn(a.ctx.common.issues));return X(n,{code:B.invalid_union,unionErrors:s}),ie}if(n.common.async)return Promise.all(r.map(async i=>{let s={...n,common:{...n.common,issues:[]},parent:null};return{result:await i._parseAsync({data:n.data,path:n.path,parent:s}),ctx:s}})).then(o);{let i,s=[];for(let l of r){let u={...n,common:{...n.common,issues:[]},parent:null},c=l._parseSync({data:n.data,path:n.path,parent:u});if(c.status==="valid")return c;c.status==="dirty"&&!i&&(i={result:c,ctx:u}),u.common.issues.length&&s.push(u.common.issues)}if(i)return n.common.issues.push(...i.ctx.common.issues),i.result;let a=s.map(l=>new gn(l));return X(n,{code:B.invalid_union,unionErrors:a}),ie}}get options(){return this._def.options}};ka.create=(e,t)=>new ka({options:e,typeName:se.ZodUnion,...me(t)});var hi=e=>e instanceof Ba?hi(e.schema):e instanceof Yr?hi(e.innerType()):e instanceof Ua?[e.value]:e instanceof Vo?e.options:e instanceof Va?Se.objectValues(e.enum):e instanceof Ha?hi(e._def.innerType):e instanceof Ma?[void 0]:e instanceof Ga?[null]:e instanceof Vr?[void 0,...hi(e.unwrap())]:e instanceof Ho?[null,...hi(e.unwrap())]:e instanceof Af||e instanceof Ka?hi(e.unwrap()):e instanceof Wa?hi(e._def.innerType):[],ku=class extends Te{_parse(t){let{ctx:n}=this._processInputParams(t);if(n.parsedType!==j.object)return X(n,{code:B.invalid_type,expected:j.object,received:n.parsedType}),ie;let r=this.discriminator,o=n.data[r],i=this.optionsMap.get(o);return i?n.common.async?i._parseAsync({data:n.data,path:n.path,parent:n}):i._parseSync({data:n.data,path:n.path,parent:n}):(X(n,{code:B.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),ie)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(t,n,r){let o=new Map;for(let i of n){let s=hi(i.shape[t]);if(!s.length)throw new Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);for(let a of s){if(o.has(a))throw new Error(`Discriminator property ${String(t)} has duplicate value ${String(a)}`);o.set(a,i)}}return new ku({typeName:se.ZodDiscriminatedUnion,discriminator:t,options:n,optionsMap:o,...me(r)})}};function nS(e,t){let n=wo(e),r=wo(t);if(e===t)return{valid:!0,data:e};if(n===j.object&&r===j.object){let o=Se.objectKeys(t),i=Se.objectKeys(e).filter(a=>o.indexOf(a)!==-1),s={...e,...t};for(let a of i){let l=nS(e[a],t[a]);if(!l.valid)return{valid:!1};s[a]=l.data}return{valid:!0,data:s}}else if(n===j.array&&r===j.array){if(e.length!==t.length)return{valid:!1};let o=[];for(let i=0;i<e.length;i++){let s=e[i],a=t[i],l=nS(s,a);if(!l.valid)return{valid:!1};o.push(l.data)}return{valid:!0,data:o}}else return n===j.date&&r===j.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}var Fa=class extends Te{_parse(t){let{status:n,ctx:r}=this._processInputParams(t),o=(i,s)=>{if(gE(i)||gE(s))return ie;let a=nS(i.value,s.value);return a.valid?((IE(i)||IE(s))&&n.dirty(),{status:n.value,value:a.data}):(X(r,{code:B.invalid_intersection_types}),ie)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([i,s])=>o(i,s)):o(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}};Fa.create=(e,t,n)=>new Fa({left:e,right:t,typeName:se.ZodIntersection,...me(n)});var Wr=class extends Te{_parse(t){let{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==j.array)return X(r,{code:B.invalid_type,expected:j.array,received:r.parsedType}),ie;if(r.data.length<this._def.items.length)return X(r,{code:B.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),ie;!this._def.rest&&r.data.length>this._def.items.length&&(X(r,{code:B.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());let i=[...r.data].map((s,a)=>{let l=this._def.items[a]||this._def.rest;return l?l._parse(new Hr(r,s,r.path,a)):null}).filter(s=>!!s);return r.common.async?Promise.all(i).then(s=>vt.mergeArray(n,s)):vt.mergeArray(n,i)}get items(){return this._def.items}rest(t){return new Wr({...this._def,rest:t})}};Wr.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new Wr({items:e,typeName:se.ZodTuple,rest:null,...me(t)})};var wa=class extends Te{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){let{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==j.object)return X(r,{code:B.invalid_type,expected:j.object,received:r.parsedType}),ie;let o=[],i=this._def.keyType,s=this._def.valueType;for(let a in r.data)o.push({key:i._parse(new Hr(r,a,r.path,a)),value:s._parse(new Hr(r,r.data[a],r.path,a)),alwaysSet:a in r.data});return r.common.async?vt.mergeObjectAsync(n,o):vt.mergeObjectSync(n,o)}get element(){return this._def.valueType}static create(t,n,r){return n instanceof Te?new wa({keyType:t,valueType:n,typeName:se.ZodRecord,...me(r)}):new wa({keyType:_r.create(),valueType:t,typeName:se.ZodRecord,...me(n)})}},Fu=class extends Te{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){let{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==j.map)return X(r,{code:B.invalid_type,expected:j.map,received:r.parsedType}),ie;let o=this._def.keyType,i=this._def.valueType,s=[...r.data.entries()].map(([a,l],u)=>({key:o._parse(new Hr(r,a,r.path,[u,"key"])),value:i._parse(new Hr(r,l,r.path,[u,"value"]))}));if(r.common.async){let a=new Map;return Promise.resolve().then(async()=>{for(let l of s){let u=await l.key,c=await l.value;if(u.status==="aborted"||c.status==="aborted")return ie;(u.status==="dirty"||c.status==="dirty")&&n.dirty(),a.set(u.value,c.value)}return{status:n.value,value:a}})}else{let a=new Map;for(let l of s){let u=l.key,c=l.value;if(u.status==="aborted"||c.status==="aborted")return ie;(u.status==="dirty"||c.status==="dirty")&&n.dirty(),a.set(u.value,c.value)}return{status:n.value,value:a}}}};Fu.create=(e,t,n)=>new Fu({valueType:t,keyType:e,typeName:se.ZodMap,...me(n)});var Ii=class extends Te{_parse(t){let{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==j.set)return X(r,{code:B.invalid_type,expected:j.set,received:r.parsedType}),ie;let o=this._def;o.minSize!==null&&r.data.size<o.minSize.value&&(X(r,{code:B.too_small,minimum:o.minSize.value,type:"set",inclusive:!0,exact:!1,message:o.minSize.message}),n.dirty()),o.maxSize!==null&&r.data.size>o.maxSize.value&&(X(r,{code:B.too_big,maximum:o.maxSize.value,type:"set",inclusive:!0,exact:!1,message:o.maxSize.message}),n.dirty());let i=this._def.valueType;function s(l){let u=new Set;for(let c of l){if(c.status==="aborted")return ie;c.status==="dirty"&&n.dirty(),u.add(c.value)}return{status:n.value,value:u}}let a=[...r.data.values()].map((l,u)=>i._parse(new Hr(r,l,r.path,u)));return r.common.async?Promise.all(a).then(l=>s(l)):s(a)}min(t,n){return new Ii({...this._def,minSize:{value:t,message:J.toString(n)}})}max(t,n){return new Ii({...this._def,maxSize:{value:t,message:J.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}};Ii.create=(e,t)=>new Ii({valueType:e,minSize:null,maxSize:null,typeName:se.ZodSet,...me(t)});var Os=class extends Te{constructor(){super(...arguments),this.validate=this.implement}_parse(t){let{ctx:n}=this._processInputParams(t);if(n.parsedType!==j.function)return X(n,{code:B.invalid_type,expected:j.function,received:n.parsedType}),ie;function r(a,l){return Rf({data:a,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Du(),Ti].filter(u=>!!u),issueData:{code:B.invalid_arguments,argumentsError:l}})}function o(a,l){return Rf({data:a,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Du(),Ti].filter(u=>!!u),issueData:{code:B.invalid_return_type,returnTypeError:l}})}let i={errorMap:n.common.contextualErrorMap},s=n.data;if(this._def.returns instanceof Is){let a=this;return In(async function(...l){let u=new gn([]),c=await a._def.args.parseAsync(l,i).catch(p=>{throw u.addIssue(r(l,p)),u}),d=await Reflect.apply(s,this,c);return await a._def.returns._def.type.parseAsync(d,i).catch(p=>{throw u.addIssue(o(d,p)),u})})}else{let a=this;return In(function(...l){let u=a._def.args.safeParse(l,i);if(!u.success)throw new gn([r(l,u.error)]);let c=Reflect.apply(s,this,u.data),d=a._def.returns.safeParse(c,i);if(!d.success)throw new gn([o(c,d.error)]);return d.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...t){return new Os({...this._def,args:Wr.create(t).rest(Oi.create())})}returns(t){return new Os({...this._def,returns:t})}implement(t){return this.parse(t)}strictImplement(t){return this.parse(t)}static create(t,n,r){return new Os({args:t||Wr.create([]).rest(Oi.create()),returns:n||Oi.create(),typeName:se.ZodFunction,...me(r)})}},Ba=class extends Te{get schema(){return this._def.getter()}_parse(t){let{ctx:n}=this._processInputParams(t);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}};Ba.create=(e,t)=>new Ba({getter:e,typeName:se.ZodLazy,...me(t)});var Ua=class extends Te{_parse(t){if(t.data!==this._def.value){let n=this._getOrReturnCtx(t);return X(n,{received:n.data,code:B.invalid_literal,expected:this._def.value}),ie}return{status:"valid",value:t.data}}get value(){return this._def.value}};Ua.create=(e,t)=>new Ua({value:e,typeName:se.ZodLiteral,...me(t)});function zP(e,t){return new Vo({values:e,typeName:se.ZodEnum,...me(t)})}var Vo=class extends Te{_parse(t){if(typeof t.data!="string"){let n=this._getOrReturnCtx(t),r=this._def.values;return X(n,{expected:Se.joinValues(r),received:n.parsedType,code:B.invalid_type}),ie}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(t.data)){let n=this._getOrReturnCtx(t),r=this._def.values;return X(n,{received:n.data,code:B.invalid_enum_value,options:r}),ie}return In(t.data)}get options(){return this._def.values}get enum(){let t={};for(let n of this._def.values)t[n]=n;return t}get Values(){let t={};for(let n of this._def.values)t[n]=n;return t}get Enum(){let t={};for(let n of this._def.values)t[n]=n;return t}extract(t,n=this._def){return Vo.create(t,{...this._def,...n})}exclude(t,n=this._def){return Vo.create(this.options.filter(r=>!t.includes(r)),{...this._def,...n})}};Vo.create=zP;var Va=class extends Te{_parse(t){let n=Se.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(t);if(r.parsedType!==j.string&&r.parsedType!==j.number){let o=Se.objectValues(n);return X(r,{expected:Se.joinValues(o),received:r.parsedType,code:B.invalid_type}),ie}if(this._cache||(this._cache=new Set(Se.getValidEnumValues(this._def.values))),!this._cache.has(t.data)){let o=Se.objectValues(n);return X(r,{received:r.data,code:B.invalid_enum_value,options:o}),ie}return In(t.data)}get enum(){return this._def.values}};Va.create=(e,t)=>new Va({values:e,typeName:se.ZodNativeEnum,...me(t)});var Is=class extends Te{unwrap(){return this._def.type}_parse(t){let{ctx:n}=this._processInputParams(t);if(n.parsedType!==j.promise&&n.common.async===!1)return X(n,{code:B.invalid_type,expected:j.promise,received:n.parsedType}),ie;let r=n.parsedType===j.promise?n.data:Promise.resolve(n.data);return In(r.then(o=>this._def.type.parseAsync(o,{path:n.path,errorMap:n.common.contextualErrorMap})))}};Is.create=(e,t)=>new Is({type:e,typeName:se.ZodPromise,...me(t)});var Yr=class extends Te{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===se.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){let{status:n,ctx:r}=this._processInputParams(t),o=this._def.effect||null,i={addIssue:s=>{X(r,s),s.fatal?n.abort():n.dirty()},get path(){return r.path}};if(i.addIssue=i.addIssue.bind(i),o.type==="preprocess"){let s=o.transform(r.data,i);if(r.common.async)return Promise.resolve(s).then(async a=>{if(n.value==="aborted")return ie;let l=await this._def.schema._parseAsync({data:a,path:r.path,parent:r});return l.status==="aborted"?ie:l.status==="dirty"?va(l.value):n.value==="dirty"?va(l.value):l});{if(n.value==="aborted")return ie;let a=this._def.schema._parseSync({data:s,path:r.path,parent:r});return a.status==="aborted"?ie:a.status==="dirty"?va(a.value):n.value==="dirty"?va(a.value):a}}if(o.type==="refinement"){let s=a=>{let l=o.refinement(a,i);if(r.common.async)return Promise.resolve(l);if(l instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return a};if(r.common.async===!1){let a=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return a.status==="aborted"?ie:(a.status==="dirty"&&n.dirty(),s(a.value),{status:n.value,value:a.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(a=>a.status==="aborted"?ie:(a.status==="dirty"&&n.dirty(),s(a.value).then(()=>({status:n.value,value:a.value}))))}if(o.type==="transform")if(r.common.async===!1){let s=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!hs(s))return ie;let a=o.transform(s.value,i);if(a instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:a}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(s=>hs(s)?Promise.resolve(o.transform(s.value,i)).then(a=>({status:n.value,value:a})):ie);Se.assertNever(o)}};
8604Yr.create=(e,t,n)=>new Yr({schema:e,typeName:se.ZodEffects,effect:t,...me(n)});Yr.createWithPreprocess=(e,t,n)=>new Yr({schema:t,effect:{type:"preprocess",transform:e},typeName:se.ZodEffects,...me(n)});var Vr=class extends Te{_parse(t){return this._getType(t)===j.undefined?In(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}};Vr.create=(e,t)=>new Vr({innerType:e,typeName:se.ZodOptional,...me(t)});var Ho=class extends Te{_parse(t){return this._getType(t)===j.null?In(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}};Ho.create=(e,t)=>new Ho({innerType:e,typeName:se.ZodNullable,...me(t)});var Ha=class extends Te{_parse(t){let{ctx:n}=this._processInputParams(t),r=n.data;return n.parsedType===j.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}};Ha.create=(e,t)=>new Ha({innerType:e,typeName:se.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...me(t)});var Wa=class extends Te{_parse(t){let{ctx:n}=this._processInputParams(t),r={...n,common:{...n.common,issues:[]}},o=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return vu(o)?o.then(i=>({status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new gn(r.common.issues)},input:r.data})})):{status:"valid",value:o.status==="valid"?o.value:this._def.catchValue({get error(){return new gn(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}};Wa.create=(e,t)=>new Wa({innerType:e,typeName:se.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...me(t)});var wu=class extends Te{_parse(t){if(this._getType(t)!==j.nan){let r=this._getOrReturnCtx(t);return X(r,{code:B.invalid_type,expected:j.nan,received:r.parsedType}),ie}return{status:"valid",value:t.data}}};wu.create=e=>new wu({typeName:se.ZodNaN,...me(e)});var lY=Symbol("zod_brand"),Af=class extends Te{_parse(t){let{ctx:n}=this._processInputParams(t),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}},Ya=class extends Te{_parse(t){let{status:n,ctx:r}=this._processInputParams(t);if(r.common.async)return(async()=>{let i=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return i.status==="aborted"?ie:i.status==="dirty"?(n.dirty(),va(i.value)):this._def.out._parseAsync({data:i.value,path:r.path,parent:r})})();{let o=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return o.status==="aborted"?ie:o.status==="dirty"?(n.dirty(),{status:"dirty",value:o.value}):this._def.out._parseSync({data:o.value,path:r.path,parent:r})}}static create(t,n){return new Ya({in:t,out:n,typeName:se.ZodPipeline})}},Ka=class extends Te{_parse(t){let n=this._def.innerType._parse(t),r=o=>(hs(o)&&(o.value=Object.freeze(o.value)),o);return vu(n)?n.then(o=>r(o)):r(n)}unwrap(){return this._def.innerType}};Ka.create=(e,t)=>new Ka({innerType:e,typeName:se.ZodReadonly,...me(t)});function HP(e,t){let n=typeof e=="function"?e(t):typeof e=="string"?{message:e}:e;return typeof n=="string"?{message:n}:n}function XP(e,t={},n){return e?gs.create().superRefine((r,o)=>{let i=e(r);if(i instanceof Promise)return i.then(s=>{if(!s){let a=HP(t,r),l=a.fatal??n??!0;o.addIssue({code:"custom",...a,fatal:l})}});if(!i){let s=HP(t,r),a=s.fatal??n??!0;o.addIssue({code:"custom",...s,fatal:a})}}):gs.create()}var uY={object:it.lazycreate},se;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(se||(se={}));var cY=(e,t={message:`Input not instance of ${e.name}`})=>XP(n=>n instanceof e,t),jP=_r.create,$P=Bo.create,dY=wu.create,fY=Uo.create,ZP=xa.create,pY=gi.create,mY=Mu.create,EY=Ma.create,_Y=Ga.create,TY=gs.create,hY=Oi.create,OY=Eo.create,gY=Gu.create,IY=Tr.create,SY=it.create,RY=it.strictCreate,AY=ka.create,NY=ku.create,yY=Fa.create,bY=Wr.create,LY=wa.create,CY=Fu.create,PY=Ii.create,DY=Os.create,vY=Ba.create,xY=Ua.create,MY=Vo.create,GY=Va.create,kY=Is.create,FY=Yr.create,wY=Vr.create,BY=Ho.create,UY=Yr.createWithPreprocess,VY=Ya.create,HY=()=>jP().optional(),WY=()=>$P().optional(),YY=()=>ZP().optional(),KY={string:e=>_r.create({...e,coerce:!0}),number:e=>Bo.create({...e,coerce:!0}),boolean:e=>xa.create({...e,coerce:!0}),bigint:e=>Uo.create({...e,coerce:!0}),date:e=>gi.create({...e,coerce:!0})};var zY=ie;function Ss(e){return e}var Nf=Ss,JP=Ss,qP=Ss;var _o=Ss,QP=Ss,SE=Ss;var rS=Ss,eD=Ss;var Kr=function(e){return 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",e}({}),oS=function(e){return e[e.BOOLEAN=0]="BOOLEAN",e[e.FLOAT=1]="FLOAT",e[e.STRING=2]="STRING",e[e.COLOR=3]="COLOR",e[e.MAP=4]="MAP",e[e.SYMBOL_ID=5]="SYMBOL_ID",e[e.FONT_STYLE=6]="FONT_STYLE",e[e.TEXT_DATA=7]="TEXT_DATA",e[e.IMAGE=8]="IMAGE",e[e.LINK=9]="LINK",e[e.JS_RUNTIME_ALIAS=10]="JS_RUNTIME_ALIAS",e[e.SLOT_CONTENT_ID=11]="SLOT_CONTENT_ID",e[e.KEYFRAME_TRACK_ID=12]="KEYFRAME_TRACK_ID",e[e.KEYFRAME_TRACK_PARAMETER_DATA=13]="KEYFRAME_TRACK_PARAMETER_DATA",e}({});function To(e,t){let n=null;return typeof t!="object"||"r"in t||"image"in t?n=t:t.type==="VARIABLE_ALIAS"?n=e.variableState.evaluateVariable(e.get,t.id,e.modeContext):t.type==="EXPRESSION"&&(n=XY(t,e)),n}function XY(e,t){let n=jY.find(({expressionFunction:r,resolvedType:o,argTypes:i})=>r===e.value.expressionFunction&&o===e.resolvedType&&e.value.expressionArguments.every((s,a)=>aS(s)===i[a]))?.implementation;return n?n(e.value.expressionArguments,t):(console.warn("expression type not implemented",e.value.expressionFunction),null)}function at(e,t,n,r){return{resolvedType:t,argTypes:n,implementation:r,expressionFunction:e}}var jY=[at(Je.ADDITION,"FLOAT",["FLOAT","FLOAT"],$Y),at(Je.SUBTRACTION,"FLOAT",["FLOAT","FLOAT"],ZY),at(Je.MULTIPLY,"FLOAT",["FLOAT","FLOAT"],JY),at(Je.DIVIDE,"FLOAT",["FLOAT","FLOAT"],qY),at(Je.AND,"BOOLEAN",["BOOLEAN","BOOLEAN"],QY),at(Je.OR,"BOOLEAN",["BOOLEAN","BOOLEAN"],e4),at(Je.NOT,"BOOLEAN",["BOOLEAN"],t4),at(Je.EQUALS,"BOOLEAN",["FLOAT","FLOAT"],n4),at(Je.NOT_EQUAL,"BOOLEAN",["FLOAT","FLOAT"],r4),at(Je.EQUALS,"BOOLEAN",["BOOLEAN","BOOLEAN"],o4),at(Je.NOT_EQUAL,"BOOLEAN",["BOOLEAN","BOOLEAN"],i4),at(Je.EQUALS,"BOOLEAN",["STRING","STRING"],s4),at(Je.NOT_EQUAL,"BOOLEAN",["STRING","STRING"],a4),at(Je.LESS_THAN,"BOOLEAN",["FLOAT","FLOAT"],l4),at(Je.LESS_THAN_OR_EQUAL,"BOOLEAN",["FLOAT","FLOAT"],u4),at(Je.GREATER_THAN,"BOOLEAN",["FLOAT","FLOAT"],c4),at(Je.GREATER_THAN_OR_EQUAL,"BOOLEAN",["FLOAT","FLOAT"],d4),at(Je.STRINGIFY,"STRING",["FLOAT"],f4),at(Je.STRINGIFY,"STRING",["BOOLEAN"],p4),at(Je.STRINGIFY,"STRING",["STRING"],m4),at(Je.ADDITION,"STRING",["STRING","STRING"],E4),at(Je.ADDITION,"STRING",["FLOAT","STRING"],_4),at(Je.ADDITION,"STRING",["STRING","FLOAT"],T4),at(Je.ADDITION,"STRING",["BOOLEAN","STRING"],h4),at(Je.ADDITION,"STRING",["STRING","BOOLEAN"],O4)];function $Y(e,t){return At(e,t,(n,r)=>n+r,"number")}function ZY(e,t){return At(e,t,(n,r)=>n-r,"number")}function JY(e,t){return At(e,t,(n,r)=>n*r,"number")}function qY(e,t){return At(e,t,(n,r)=>r===0?null:n/r,"number")}function QY(e,t){return At(e,t,(n,r)=>n&&r,"boolean")}function e4(e,t){return At(e,t,(n,r)=>n||r,"boolean")}function t4(e,t){let n=To(t,e[0]);return typeof n!="boolean"?RE(n,"boolean"):!n}function n4(e,t){return At(e,t,(n,r)=>n===r,"number")}function r4(e,t){return At(e,t,(n,r)=>n!==r,"number")}function o4(e,t){return At(e,t,(n,r)=>n===r,"boolean")}function i4(e,t){return At(e,t,(n,r)=>n!==r,"boolean")}function s4(e,t){return At(e,t,(n,r)=>n===r,"string")}function a4(e,t){return At(e,t,(n,r)=>n!==r,"string")}function l4(e,t){return At(e,t,(n,r)=>n<r,"number")}function u4(e,t){return At(e,t,(n,r)=>n<=r,"number")}function c4(e,t){return At(e,t,(n,r)=>n>r,"number")}function d4(e,t){return At(e,t,(n,r)=>n>=r,"number")}function iS(e){return Math.ceil(e)===e?String(e):e.toFixed(2)}function f4(e,t){return sS(e,t,n=>iS(n),"number")}function p4(e,t){return sS(e,t,n=>String(n),"boolean")}function m4(e,t){return sS(e,t,n=>n,"string")}function E4(e,t){return At(e,t,(n,r)=>n+r,"string")}function _4(e,t){return At(e,t,(n,r)=>iS(n)+r,"number","string")}function T4(e,t){return At(e,t,(n,r)=>n+iS(r),"string","number")}function h4(e,t){return At(e,t,(n,r)=>String(n)+r,"boolean","string")}function O4(e,t){return At(e,t,(n,r)=>n+String(r),"string","boolean")}function sS(e,t,n,r){let o=To(t,e[0]);return typeof o!==r?RE(o,r):n(o)}function At(e,t,n,r,o){let i=To(t,e[0]),s=To(t,e[1]);return typeof i!==r?RE(i,r):typeof s!==(o??r)?RE(s,o??r):n(i,s)}function RE(e,t){return console.warn(`Expected variable of type ${t}, but got variable ${JSON.stringify(e)} of type ${typeof e}`),null}function aS(e){let t=typeof e;if(t==="boolean")return"BOOLEAN";if(t==="number")return"FLOAT";if(t==="string")return"STRING";if(typeof e=="object"){if("image"in e)return"IMAGE";if("r"in e)return"COLOR";if(e.type==="EXPRESSION"||e.type==="VARIABLE_ALIAS")return e.resolvedType||null}return null}function Bu(e){switch(e.type){case Kr.BOOLEAN:case Kr.FLOAT:case Kr.STRING:case Kr.COLOR:return e.value;case Kr.ALIAS:return{type:"VARIABLE_ALIAS",id:e.value,resolvedType:tD(e.resolvedType)};case Kr.EXPRESSION:return{type:"EXPRESSION",value:{expressionFunction:e.value.expressionFunction,expressionArguments:e.value.expressionArguments.map(t=>Bu(t))},resolvedType:tD(e.resolvedType)};default:return null}}function tD(e){return e===0?"BOOLEAN":e===1?"FLOAT":e===2?"STRING":e===3?"COLOR":null}var Si,g4=(Si=class{activeHoverRects=new Map;hoverRectCounter=0;constructor(){}static getInstance(){}showHoverTargetRectangle(t,n){let r=`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 ${n||"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(r)},200)},200);return this.activeHoverRects.set(r,{id:r,element:o,timeoutId:i}),r}},Po(Si,"instance"),Si),AE=()=>g4.getInstance();var lS=e=>!1,ho=e=>{if(!lS(e))return;let t=e.renderOptions.testFlags?.animationProgress??.5;return{ease:()=>t,onAnimationComplete:()=>{}}},I4=["transitionToVisible","transitionToExit","transitionToAndFromHover","transitionToAndFromPress","transitionToAndFromFocus","transitionBasedOnScrollDirection","scrollTransformTransition"],nD=(e,t)=>{let n=ho(e);if(!n)return;let r={ease:n.ease,duration:1e4};I4.forEach(o=>{o in t&&t[o]!==void 0&&(t[o]=r)}
8604)};var rD=new Set(["vectorNetworkBlob","version"]);function Ue(e,t,n=!1,r=!1,o=!1){if(e===t||r&&(Array.isArray(e)&&e.length===0&&t===void 0||Array.isArray(t)&&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)?r:n?!0:r?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(Array.isArray(e)!==Array.isArray(t))return!1;if(Array.isArray(e))return e.length===t.length&&e.every((l,u)=>Ue(l,t[u],n,r,o));let s=Object.keys(e),a=Object.keys(t);return o&&(s=s.filter(l=>e[l]!==void 0),a=a.filter(l=>t[l]!==void 0)),s.length!==a.length||(r&&(s=s.filter(l=>!rD.has(l)),a=a.filter(l=>!rD.has(l))),s.sort(),a.sort(),!s.every((l,u)=>l===a[u]))?!1:s.every(l=>Ue(e[l],t[l],n,r,o))}var bs=v(W());var ee=function(e){return e.LAYOUT="layout",e.INSTANCE_SUBTREE="instanceSubtree",e.NONE="none",e}({});function S4(e){let t=[...e];if(!e.length)return t;if(e[0].position!==0){let n={...e[e.length-1]};n.position-=1,t.unshift(n)}if(e[e.length-1].position!==1){let n={...e[0]};n.position+=1,t.push(n)}return t}function R4(e,t){let n=mi({stops:S4(e.gradientStops),epsilon:.01,recursionLimit:5,targetInterpolation:pi,actualInterpolation:uE});return` 8605 <div 8606 xmlns='http://www.w3.org/1999/xhtml' 8607 style=' 8608 background-image: conic-gradient( 8609 from 90deg, 8610 ${fE(n,t)} 8611 ); 8612 opacity:${e.opacity??1}; 8613 height: 100%; 8614 width: 100%; 8615 '></div> 8616 `}function A4(e){let{size:t,paint:n,renderOptions:r}=e,{uvToUnitGradient:o,unitGradientToShape:i}=Ei({size:t,gradientTransform:n.gradientTransform}),s=pE(o),a=Math.max(s.x,s.y);return` 8617 <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 ${ve(t.width)} ${ve(t.height)}' preserveAspectRatio='none'> 8618 <g transform='${_s(i)}'> 8619 <foreignObject x='${ve(-a)}' y='${ve(-a)}' width='${ve(2*a)}' height='${ve(2*a)}'> 8620 ${R4(n,r)} 8621 </foreignObject> 8622 </g> 8623 </svg> 8624 `}var Uu=class{renderOptions;paint;size;constructor(t,n=Vt,r,o){this.renderOptions=o,this.paint=t,this.size=r}get value(){let t=A4({size:this.size,paint:this.paint,renderOptions:this.renderOptions});return Ts(t)}equals(t){return this.value===t.value}};function N4(e){let{size:t,paint:n}=e,r=mi({stops:n.gradientStops.map(a=>({...a})),epsilon:.01,recursionLimit:5,targetInterpolation:pi,actualInterpolation:Ru}),{uvToUnitGradient:o,unitGradientToShape:i}=Ei({size:t,gradientTransform:n.gradientTransform}),s=pE(o);return` 8625 <svg viewBox='0 0 ${ve(t.width)} ${ve(t.height)}' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'> 8626 <g transform='${_s(i)}' opacity='${n.opacity??1}'> 8627 <rect height='${ve(s.y)}' width='${ve(s.x)}' fill='url(#grad)' id='quad' shape-rendering='crispEdges' /> 8628 <use href='#quad' transform='scale(1 -1)' /> 8629 <use href='#quad' transform='scale(-1 1)' /> 8630 <use href='#quad' transform='scale(-1 -1)' /> 8631 </g> 8632 <defs> 8633 <linearGradient id='grad' gradientUnits='userSpaceOnUse' x2='${.5*Ht}' y2='${.5*Ht}'> 8634 ${Au(r)} 8635 </linearGradient> 8636 </defs> 8637 </svg> 8638 `}var Vu=class{paint;size;constructor(t,n=Vt,r){this.size=r,this.paint=t}get value(){let t=N4({size:this.size,paint:this.paint});return Ts(t)}equals(t){return this.value===t.value}};var Hu=class{paint;size;constructor(t,n=Vt,r){this.paint=t,this.size=r}get value(){let t=mi({stops:this.paint.gradientStops.map(o=>({...o})),epsilon:.01,recursionLimit:5,targetInterpolation:pi,actualInterpolation:Ru}),{unitGradientToShape:n}=Ei({size:this.size,gradientTransform:this.paint.gradientTransform}),r=` 8639 <svg viewBox='0 0 ${ve(this.size.width)} ${ve(this.size.height)}' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'> 8640 <rect x='0' y='0' height='100%' width='100%' fill='url(#grad)' opacity='${this.paint.opacity??1}' /> 8641 <defs> 8642 <radialGradient id='grad' gradientUnits='userSpaceOnUse' cx='0' cy='0' r='${Ht}' gradientTransform='${_s(n)}'> 8643 ${Au(t)} 8644 </radialGradient> 8645 </defs> 8646 </svg> 8647 `;return Ts(r)}equals(t){return this.value===t.value}};function NE(e,t){return e instanceof _i||e instanceof Hu||e instanceof Uu||e instanceof Vu||e instanceof Q?e.value:e instanceof Y?e.toStyleValue({forTailwind:t}):e}var rn=1e-4;function Ri(e){return typeof structuredClone=="function"?structuredClone(e):JSON.parse(JSON.stringify(e))}function Ve(e,t,n=1e-6){return Math.abs(e-t)<n}function bE(e){return Object.freeze(e)}function uS(e){return e.type==="WEBPAGE"}function Wt(e,t){if(e===void 0)return t;let n=ff(t),r=ff(e);return r.multiply(n),xt(YC(r))}function xt(e){return[[Tt(e[0][0]),Tt(e[0][1]),Tt(e[0][2])],[Tt(e[1][0]),Tt(e[1][1]),Tt(e[1][2])]]}function zn(e){return`${x(e*100,2)}%`}var yE=[[1,0,0],[0,1,0]];function zr(e){if(e instanceof Q||!e)return yE;let n=/matrix\((.*)\)/.exec(e);if(!n)return yE;let r=n[1].split(",").map(o=>parseFloat(o));return r.length!==6?yE:[[r[0],r[2],r[4]],[r[1],r[3],r[5]]]}function yf(e){let t=e.unit==="PERCENT"?Tt(e.value,.1):e.value,n=x(t,2);return n===0?"0":`${n}${e.unit==="PERCENT"?"%":"px"}`}function za(){}var oD=()=>Promise.resolve();function LE(e,t,n){let r=e(t.roots).map(i=>
8647t.nodeById.get(i)),o=[];return n&&(o=r.filter(i=>i.name===n)),o.length>0?o:r}function iD(e){return"children"in e&&!!e.children&&e.children.length>0}function Wu(e){return e.optimizeForTailwindConversion}function sD(e){let{background:t,backgroundColor:n,backgroundImage:r,backgroundPosition:o,backgroundSize:i,border:s,borderBottom:a,borderBottomColor:l,borderBottomLeftRadius:u,borderBottomRightRadius:c,borderBottomWidth:d,borderColor:f,borderEndEndRadius:p,borderEndStartRadius:_,borderLeft:T,borderLeftColor:h,borderLeftWidth:m,borderRadius:E,borderRight:O,borderRightColor:g,borderRightWidth:I,borderStartEndRadius:S,borderStartStartRadius:A,borderStyle:R,borderTop:y,borderTopColor:b,borderTopLeftRadius:L,borderTopRightRadius:D,borderTopWidth:F,borderWidth:U,boxShadow:N,caretColor:K,clipPath:C,color:M,filter:P,font:z,fontSize:Ee,fontSizeAdjust:pe,fontStretch:ye,fontWeight:Le,fontVariationSettings:We,letterSpacing:De,lineHeight:ae,opacity:Oe,outline:oe,outlineColor:ft,outlineWidth:et,textDecoration:he,textDecorationColor:Ge,textDecorationThickness:Ye,textEmphasis:ce,textEmphasisColor:tt,textShadow:pn,visibility:Ft,wordSpacing:Cr,...sr}=e;return{motionStyles:{background:t,backgroundColor:n,backgroundImage:r,backgroundPosition:o,backgroundSize:i,border:s,borderBottom:a,borderBottomColor:l,borderBottomLeftRadius:u,borderBottomRightRadius:c,borderBottomWidth:d,borderColor:f,borderEndEndRadius:p,borderEndStartRadius:_,borderLeft:T,borderLeftColor:h,borderLeftWidth:m,borderRadius:E,borderRight:O,borderRightColor:g,borderRightWidth:I,borderStartEndRadius:S,borderStartStartRadius:A,borderStyle:R,borderTop:y,borderTopColor:b,borderTopLeftRadius:L,borderTopRightRadius:D,borderTopWidth:F,borderWidth:U,boxShadow:N,caretColor:K,clipPath:C,color:M,filter:P,font:z,fontSize:Ee,fontSizeAdjust:pe,fontStretch:ye,fontWeight:Le,fontVariationSettings:We,letterSpacing:De,lineHeight:ae,opacity:Oe,outline:oe,outlineColor:ft,outlineWidth:et,textDecoration:he,textDecorationColor:Ge,textDecorationThickness:Ye,textEmphasis:ce,textEmphasisColor:tt,textShadow:pn,visibility:Ft,wordSpacing:Cr},cssStyles:sr}}var cS=-1,Ku=(e,t,n,r,o,i)=>{if(e===ee.NONE)return{motionTransitionProps:void 0,cssStyles:n};let s=e===ee.INSTANCE_SUBTREE,{motionStyles:a,cssStyles:l}=s?sD(n):{motionStyles:{},cssStyles:n},u=aD(a),{correctlyTypedStyles:c,incorrectlyTypedStyles:d}=lD(u),f=s?{[be.VISIBLE_SMART_ANIMATE]:_=>Yu(c,t,_,o),[be.HIDDEN_SMART_ANIMATE]:_=>Yu(c,0,_,o),...r}:r;return{motionTransitionProps:{...s?{animate:be.VISIBLE_SMART_ANIMATE,exit:be.HIDDEN_SMART_ANIMATE,variants:f}:{},...o?{...s?{initial:be.HIDDEN_SMART_ANIMATE,onAnimationComplete:i}:{},onLayoutAnimationComplete:i,transition:{duration:o.durationSeconds,...o.motionAnimationData}}:{transition:{layout:{duration:0}}}},cssStyles:{...l,...d}}};function Yu(e,t,n,r){let o=n?.durationSeconds??r?.durationSeconds??0,i=n?.motionAnimationData??r?.motionAnimationData??{},s={};for(let[l,u]of Object.entries(e))s[l]=NE(u,!1);let a=n?.perPropertyTransitions??r?.perPropertyTransitions;return{...s,opacity:t,transition:a?{duration:o,...i,...a}:{duration:o,...i}}}function aD(e){let t,n={...e};for(t in n){let r=n[t];r==null&&delete n[t]}return n}function lD(e){let{mask:t,alignmentBaseline:n,fillRule:r,strokeLinecap:o,strokeLinejoin:i,...s}=e;return{correctlyTypedStyles:s,incorrectlyTypedStyles:{mask:t,alignmentBaseline:n,fillRule:r,strokeLinecap:o,strokeLinejoin:i}}}function Ai(e,t,n,r){return e!==ee.NONE?{layout:r?"position":!0,layoutDependency:t?.id??cS,transformTemplate:n?zu(n):void 0}:void 0}function uD(e,t){return{mode:"popLayout",custom:e,onExitComplete:t}}function on(e){return e?.onTransitionEnd??za}function cD(e,t,n,r){if(n)return ee.NONE;let o=r?.smartAnimateType??ee.NONE;return e?ee.INSTANCE_SUBTREE:o!==ee.NONE?o:t?ee.LAYOUT:ee.NONE}var Wo=(e,t)=>Boolean(e===ee.INSTANCE_SUBTREE&&t),dD=(e,t,n,r)=>{let o=aD(e),{correctlyTypedStyles:i}=lD(o),s={[be.VISIBLE_SMART_ANIMATE]:l=>Yu(i,1,l,n),[be.HIDDEN_SMART_ANIMATE]:l=>Yu({},0,l,n)};return{motionTransitionProps:{animate:t?be.VISIBLE_SMART_ANIMATE:"",exit:be.HIDDEN_SMART_ANIMATE,variants:s,...n?{initial:be.HIDDEN_SMART_ANIMATE,onAnimationComplete:r,onLayoutAnimationComplete:r,transition:{duration:n.durationSeconds,...n.motionAnimationData}}:{transition:{duration:0}}},cssStyles:{}}},fD=(e,t,n)=>{if(e===ee.NONE)return{motionTransitionProps:void 0,cssStyles:{}};let r=e===ee.INSTANCE_SUBTREE,o={[be.VISIBLE_SMART_ANIMATE]:s=>Yu({},1,s,t),[be.HIDDEN_SMART_ANIMATE]:s=>Yu({},0,s,t)};return{motionTransitionProps:{...r?{animate:be.VISIBLE_SMART_ANIMATE,exit:be.HIDDEN_SMART_ANIMATE,variants:o}:{},...t?{...r?{initial:be.HIDDEN_SMART_ANIMATE,onAnimationComplete:n}:{},onLayoutAnimationComplete:n,transition:{duration:t.durationSeconds,...t.motionAnimationData}}:{transition:{duration:0}}},cssStyles:{}}};var dS={[gt.NORMAL]:void 0,[gt.PASS_THROUGH]:void 0,[gt.DARKEN]:"darken",[gt.MULTIPLY]:"multiply",[gt.LINEAR_BURN]:void 0,[gt.COLOR_BURN]:"color-burn",[gt.LIGHTEN]:"lighten",[gt.SCREEN]:"screen",[gt.LINEAR_DODGE]:"plus-lighter",[gt.COLOR_DODGE]:"color-dodge",[gt.OVERLAY]:"overlay",[gt.SOFT_LIGHT]:"soft-light",[gt.HARD_LIGHT]:"hard-light",[gt.DIFFERENCE]:"difference",[gt.EXCLUSION]:"exclusion",[gt.HUE]:"hue",[gt.SATURATION]:"saturation",[gt.COLOR]:"color",[gt.LUMINOSITY]:"luminosity"};function Xu(e){if(e)return dS[e]}var fS=class{paint;constructor(t){this.paint=t}},y4=e=>{let t=["backgroundSize","backgroundPosition","backgroundRepeat"],n={backgroundImage:"none",backgroundSize:"auto auto",backgroundPosition:"top left",backgroundRepeat:"repeat"},r={};t.forEach(s=>{let a=e.map(l=>l[s]);if(a.some(l=>l!==void 0)){let l=a.map(c=>c??n[s]),u=l.every(c=>c===l[0]);r[s]=u?l[0]:l.join(",")}});let o=e.map(s=>s.backgroundImage);if(o.some(s=>
8647s!==void 0)){let s=o.map(l=>l===void 0?n.backgroundImage:l instanceof _i||l instanceof Hu||l instanceof Uu||l instanceof Vu?l.value:l),a=s.every(l=>l===s[0]);r.backgroundImage=a?o[0]:s.join(", ")}let i=e.find(s=>s.backgroundColor)?.backgroundColor;return i!==void 0&&(r.backgroundColor=i),r},b4=(e,t)=>{if(e.hasBlendMode||t.hasBlendMode||e.useImageTag||t.useImageTag||e.isCustomFill||t.isCustomFill)return!1;let n=e.uniqueTypes.has("IMAGE"),r=t.uniqueTypes.has("IMAGE");if(n!==r&&(e.opacity!==void 0||t.opacity!==void 0))return!1;let o=e.uniqueTypes.size===1&&n,i=t.uniqueTypes.size===1&&r;return!(o&&i&&e.opacity!==t.opacity)};function CE(e=[],t,n,r,o){if(!e.length)return[];let i=[];return e.filter(a=>a.visible!==!1).forEach(a=>{let l=C4(a,t,n,r,o);if(!l)return;let u=a.blendMode&&dS[a.blendMode],c=L4(a),d={hasBlendMode:!!u,useImageTag:pD(l),isCustomFill:l instanceof fS,uniqueTypes:new Set([a.type]),opacity:c},f=i[i.length-1],p=f?.comparator;!!f&&p&&b4(p,d)?(f.backgrounds.push(l),p.uniqueTypes.add(a.type)):i.push({backgrounds:[l],blendMode:u,opacity:c,comparator:d})}),i.map(({backgrounds:a,blendMode:l,opacity:u})=>{if(a[0]instanceof fS)return{backgroundStyles:{},needsBackgroundDiv:!0,customFill:a[0].paint};let{optimizeForTailwindConversion:c}=o.renderOptions,d=a.length===1&&pD(a[0]),f,p,_,T=a.find(m=>m instanceof mD);if(T){a.length>1&&console.warn("Multiple video fills found in background group. Only the first video fill will be used.");let m=T.value;f=m.styles,_=m.videoProps}else if(d){let m=a[0].value;f=m.styles,p=m.imageProps}else{let m=a.reverse().map((E,O)=>{if(E instanceof Dt&&a.length>1&&(c||O!==a.length-1)&&(E=_i.fromColor(E,o.renderOptions)),E instanceof pS)return E.value.styles;if(E instanceof _i||E instanceof Hu||E instanceof Uu||E instanceof Vu)return{backgroundImage:E};if(E instanceof Dt)return{backgroundColor:E.value};throw new te("Unsupported background type")});f=y4(m)}let h=!!p||!!_||u!==void 0||l!==void 0&&Boolean(r.hasChildren);return l!==void 0&&(f.mixBlendMode=l),u!==void 0&&(f.opacity=u),{backgroundStyles:f,imageProps:p,videoProps:_,needsBackgroundDiv:h}})}function L4(e){if((e.type==="VIDEO"||e.type==="IMAGE")&&e.opacity!==void 0&&e.opacity!==1)return x(e.opacity)}function C4(e,t,n,r,o){let{type:i}=e,{renderOptions:s}=o,{shouldOutputVariables:a,codeSyntaxLanguage:l}=s,u=Vt;if(i==="PATTERN")return null;if(i==="CUSTOM")return!s.shouldOutputCustomEffects||!e.customEffectId||!e.visible?null:new fS(e);if(i==="SOLID")return e.color?new Dt(e.color,s,e.opacity,u,e.boundVariables?.color?.resolvedName,l&&e.boundVariables?.color?.resolvedCodeSyntax?.[l]):null;if(i==="VIDEO")return D4(e,t,r);if(i==="IMAGE")return P4(e,t,r.disableImageTag,o);if(Pu(e)){let{gradientStops:c,transform:d,opacity:f}=e,p=c[0]?.color,_=c[0]?.boundVariables?.color?.resolvedName;if(p&&c.every(m=>new Dt(m.color,s).equals(new Dt(p,s)))&&(!a||c.every(m=>m.boundVariables?.color?.resolvedName===_)))return new Dt(p,s,f,u,l&&c[0]?.boundVariables?.color?.resolvedCodeSyntax?.[l]);let T={gradientTransform:d,gradientStops:c,opacity:f},{preferCssGradients:h}=o.renderOptions;switch(i){case"GRADIENT_LINEAR":return new _i(T,u,n,h?La.CSS:La.SVG,s);case"GRADIENT_RADIAL":return new Hu(T,u,n);case"GRADIENT_ANGULAR":return new Uu(T,u,n,s);case"GRADIENT_DIAMOND":return new Vu(T,u,n);default:xe(i)}}throw new te(`Unknown paint type: ${i}`)}var pS=class{paint;image;disableImageTag;websiteContext;constructor(t,n,r,o){this.paint=t,this.image=n,this.disableImageTag=r,this.websiteContext=o}useImageTag(){return this.paint.scaleMode!=="TILE"&&!this.disableImageTag}get value(){let{paint:t,image:n}=this,{disableImageOptimization:r}=this.websiteContext.renderOptions,o=this.websiteContext.getAssetURL,s={backgroundImage:`url("${o(n.url)}")`,backgroundRepeat:"no-repeat"},a;switch(t.scaleMode){case"FILL":s.backgroundSize="cover",s.backgroundPosition="center";break;case"FIT":s.backgroundSize="contain",s.backgroundPosition="center";break;case"STRETCH":{let{imageTransform:l}=t;if(!l)s.backgroundSize="100% 100%",s.backgroundPosition="bottom";else{let c=ED(l),{widthPercent:d,heightPercent:f}=c;if(this.useImageTag())a=c;else{s.backgroundSize=`${zn(d)} ${zn(f)}`;let p=l[0][0]===1?0:-l[0][2]/(l[0][0]-1),_=l[1][1]===1?0:-l[1][2]/(l[1][1]-1);s.backgroundPosition=`${zn(p)} ${zn(_)}`}}break}case"TILE":{let l=t.scalingFactor||1,u={width:n.size.x||100,height:n.size.y||100},c=u.width*l,d=u.height*l,f=`${c}px`,p=`${d}px`;if(!r){let _=Math.min(u.width,c*3),T=`url(${o(n.url,{width:c})}) 1x`;for(let h=2;c*h<=_;h++)T+=`, url(${o(n.url,{width:c*h})}) ${h}x`;s.backgroundImage=`image-set(${T})`}s.backgroundSize=t.rotation%360===0||t.rotation%360===180?`${f} ${p}`:`${p} ${f}`,s.backgroundPosition="top left",delete s.backgroundRepeat;break}default:xe(t.scaleMode)}if(this.useImageTag()){let l={url:n.url,size:n.size,cropDivInfo:a},{backgroundImage:u,backgroundRepeat:c,backgroundSize:d,backgroundPosition:f,...p}=s,_={...p};return f!=="center"&&(_.objectPosition=f),d!=="100% 100%"&&(_.objectFit=d),{styles:_,imageProps:l}}return{styles:s}}};function PE(e){return e.gifRef||e.imageRef}var P4=(e,t,n,r)=>{let o=t?.[PE(e)];return o.type,new pS(e,o,n,r)},pD=e=>e instanceof pS&&e.useImageTag(),mD=class{paint;video;isDecorative;constructor(t,n,r){this.paint=t,this.video=n,this.isDecorative=r.isDecorativeImage||!1}get value(){let{paint:t,video:n}=this,r={},o;switch(t.scaleMode){case"FIT":r.objectFit="contain";break;case"FILL":r.objectFit="cover";break;case"STRETCH":{let{imageTransform:s}=t;s?o=ED(s):r.objectFit="contain";break}case"TILE":break}let i={url:n.url,hash:t.videoRef,autoplay:t.autoplay??!1,mediaLoop:t.mediaLoop??!1,muted:t.muted??!1,showControls:t.showControls??!1,cropDivInfo:o,isDecorative:this.isDecorative};return{styles:r,videoProps:i}}}
8647,D4=(e,t,n)=>{let r=t?.[e.videoRef];return r.type,new mD(e,r,n)},ED=e=>{let t=1/(e[0][0]||1),n=1/(e[1][1]||1),r=-e[0][2]/(e[0][0]||1),o=-e[1][2]/(e[1][1]||1);return{widthPercent:t,heightPercent:n,leftPercent:r,topPercent:o}};function mS(e){let t="fills"in e?e.fills:void 0;return t!=null&&t.some(n=>n.visible!==!1&&n.opacity!==0&&(n.type!=="SOLID"||n.color.a!==0))}function TD(e,t){let n="effects"in e?e.effects??[]:[],r=t.length===0?n:[...t,...n];if(mS(e))return{ownEffects:r,childEffects:[]};let o=[],i=[];for(let s of r)s.type==="INNER_SHADOW"?i.push(s):o.push(s);return{ownEffects:o,childEffects:i}}function DE(e){return!("effects"in e)||!e.effects?[]:e.effects.filter(t=>t.type==="CUSTOM"&&t.visible!==!1&&!!t.customEffectId)}function v4(e){return DE(e).length>0}var _D=new Set(["DROP_SHADOW","LAYER_BLUR","BACKGROUND_BLUR"]);function Rs(e,t){let n="effects"in e?e.effects??[]:[];return v4(e)?t?n.filter(r=>_D.has(r.type)):n.filter(r=>!_D.has(r.type)):(ge(!t,"custom effect wrapper only exists when custom effect exists"),n)}function ES(e,t){return TD(e,t??[]).ownEffects}function bf(e,t){let n=TD(e,t??[]).childEffects;return n.length>0?n:void 0}function vE(e,t=[],n){return{boxShadow:x4(e,t,n),filter:SD(t,n).filter,backdropFilter:hS(t,n).backdropFilter}}function x4(e,t,n){return[...t].reverse().map(o=>{if(o.type==="DROP_SHADOW")return hD(e,[o],n).boxShadow;if(o.type==="INNER_SHADOW")return TS(e,[o],n).boxShadow}).filter(o=>!!o).join(",")||void 0}function hD(e,t,n){let{codeSyntaxLanguage:r,shouldOutputVariables:o}=n;return{boxShadow:[...t].reverse().map(s=>{if(s.type!=="DROP_SHADOW")return;let a=`${x(s.offset.x)}px`,l=`${x(s.offset.y)}px`,u=`${x(s.radius)}px`,c=`${x(s.spread||0)}px`,d=Dt.fromRGBA(s.color,n,s.boundVariables?.color?.resolvedName,r&&s.boundVariables?.color?.resolvedCodeSyntax?.[r]).value;return o&&(a=le(r&&s.boundVariables?.offsetX?.resolvedCodeSyntax?.[r],s.boundVariables?.offsetX?.resolvedName,a)??a,l=le(r&&s.boundVariables?.offsetY?.resolvedCodeSyntax?.[r],s.boundVariables?.offsetY?.resolvedName,l)??l,u=le(r&&s.boundVariables?.radius?.resolvedCodeSyntax?.[r],s.boundVariables?.radius?.resolvedName,u)??u,c=le(r&&s.boundVariables?.spread?.resolvedCodeSyntax?.[r],s.boundVariables?.spread?.resolvedName,c)??c),_S(e)||(c="0px"),`${a} ${l} ${u} ${c} ${d}`}).filter(s=>!!s).join(",")||void 0}}var OD=2;function M4(e){return e/OD}function G4(e,t){let{codeSyntaxLanguage:n,shouldOutputVariables:r}=t;return{filter:[...e].reverse().map(s=>{if(s.type!=="DROP_SHADOW")return;let a=`${x(s.offset.x)}px`,l=`${x(s.offset.y)}px`,u=`${x(M4(s.radius))}px`,c=`${x(s.radius)}px`,d=Dt.fromRGBA(s.color,t,s.boundVariables?.color?.resolvedName,n&&s.boundVariables?.color?.resolvedCodeSyntax?.[n]).value;return r&&(a=le(n&&s.boundVariables?.offsetX?.resolvedCodeSyntax?.[n],s.boundVariables?.offsetX?.resolvedName,a)??a,l=le(n&&s.boundVariables?.offsetY?.resolvedCodeSyntax?.[n],s.boundVariables?.offsetY?.resolvedName,l)??l,u=cE(n&&s.boundVariables?.radius?.resolvedCodeSyntax?.[n],s.boundVariables?.radius?.resolvedName,c)?.divide(Y.number(OD)).toString({forTailwind:t.optimizeForTailwindConversion})??u),`drop-shadow(${a} ${l} ${u} ${d})`}).filter(s=>!!s).join(" ")||void 0}}function k4(e,t){let n=t.filter(p=>p.type==="DROP_SHADOW");if(n.length===0)return!1;let r=mS(e),o="fills"in e?e.fills:void 0,i=r&&o!=null&&!o.some(p=>p.visible!==!1&&p.opacity===1&&(p.type==="SOLID"&&p.color.a===1||Pu(p)&&p.gradientStops.every(_=>_.color.a===1))),s="strokes"in e?e.strokes:void 0,a=s!=null&&s.some(p=>p.visible!==!1&&p.opacity!==0&&(p.type!=="SOLID"||p.color.a!==0)),l=("clipsContent"in e?!e.clipsContent:!1)&&e.materializedChildNodeProps?.length,u=n.some(p=>p.spread!==0),c=n[0].color,d=!n.some(p=>!Ve(p.color.r,c.r)||!Ve(p.color.g,c.g)||!Ve(p.color.b,c.b)),f=n.every(p=>!p.showShadowBehindNode);return r&&!l||(!r&&a||i)&&f?!1:!!(!u&&d)}function gD(e,t,n){let r=SD(t,n);if(k4(e,t)){let o=G4(t,n).filter,i=[r?.filter,o].filter(Boolean);return{boxShadow:void 0,filter:i.length>0?i.join(" "):void 0}}else return{boxShadow:hD(e,t,n).boxShadow,filter:r?.filter}}function _S(e){return e.type==="RECTANGLE"?!0:e.type==="FRAME"||e.type==="SLOT"?e.clipsContent&&mS(e):!1}
8647function F4(e){return e.some(t=>(t.type==="DROP_SHADOW"||t.type==="INNER_SHADOW")&&t.spread!==0)}function ID(e){"effects"in e&&e.effects&&F4(e.effects)&&!_S(e)&&(e.effects=e.effects.map(t=>t.type==="DROP_SHADOW"||t.type==="INNER_SHADOW"?{...t,spread:0}:t))}function TS(e,t,n){let{codeSyntaxLanguage:r,shouldOutputVariables:o}=n;return{boxShadow:[...t].reverse().map(s=>{if(s.type!=="INNER_SHADOW")return;let a=`${x(s.offset.x)}px`,l=`${x(s.offset.y)}px`,u=`${x(s.radius)}px`,c=`${x(s.spread||0)}px`,d=Dt.fromRGBA(s.color,n,s.boundVariables?.color?.resolvedName,r&&s.boundVariables?.color?.resolvedCodeSyntax?.[r]).value;return o&&(a=le(r&&s.boundVariables?.offsetX?.resolvedCodeSyntax?.[r],s.boundVariables?.offsetX?.resolvedName,a)??a,l=le(r&&s.boundVariables?.offsetY?.resolvedCodeSyntax?.[r],s.boundVariables?.offsetY?.resolvedName,l)??l,u=le(r&&s.boundVariables?.radius?.resolvedCodeSyntax?.[r],s.boundVariables?.radius?.resolvedName,u)??u,c=le(r&&s.boundVariables?.spread?.resolvedCodeSyntax?.[r],s.boundVariables?.spread?.resolvedName,c)??c),_S(e)||(c="0px"),`inset ${a} ${l} ${u} ${c} ${d}`}).filter(s=>!!s).join(",")||void 0}}function SD(e,t){let{shouldOutputVariables:n,codeSyntaxLanguage:r}=t,o=e.find(s=>s.type==="LAYER_BLUR");if(!o)return{filter:void 0};let i=`${x(o.radius/2)}px`;if(n){let s=le(r&&o.boundVariables?.radius?.resolvedCodeSyntax?.[r],o.boundVariables?.radius?.resolvedName,i);s&&(i=s)}return{filter:`blur(${i})`}}function hS(e,t){let{shouldOutputVariables:n,codeSyntaxLanguage:r}=t,o=e.find(s=>s.type==="BACKGROUND_BLUR");if(!o)return{backdropFilter:void 0};let i=`${x(o.radius/2)}px`;if(n){let s=le(r&&o.boundVariables?.radius?.resolvedCodeSyntax?.[r],o.boundVariables?.radius?.resolvedName,i);s&&(i=s)}return{backdropFilter:`blur(${i})`}}function RD(e=[],t){let{shouldOutputVariables:n,codeSyntaxLanguage:r}=t;return e.reduce((o,i)=>{if(i.type==="INNER_SHADOW"||i.type==="BACKGROUND_BLUR")return o;if(i.type==="DROP_SHADOW"){let s=`${x(i.offset.x)}px`,a=`${x(i.offset.y)}px`,l=`${x(i.radius)}px`,u=Dt.fromRGBA(i.color,t,i.boundVariables?.color?.resolvedName,r&&i.boundVariables?.color?.resolvedCodeSyntax?.[r]).value;n&&(s=le(r&&i.boundVariables?.offsetX?.resolvedCodeSyntax?.[r],i.boundVariables?.offsetX?.resolvedName,s)??s,a=le(r&&i.boundVariables?.offsetY?.resolvedCodeSyntax?.[r],i.boundVariables?.offsetY?.resolvedName,a)??a,l=le(r&&i.boundVariables?.radius?.resolvedCodeSyntax?.[r],i.boundVariables?.radius?.resolvedName,l)??l),o.textShadow=`${o.textShadow?.length?`${o.textShadow},`:""}${s} ${a} ${l} ${u}`}else if(i.type==="LAYER_BLUR"){let s=`${x(i.radius/2)}px`;n&&(s=le(r&&i.boundVariables?.radius?.resolvedCodeSyntax?.[r],i.boundVariables?.radius?.resolvedName,s)??s),o.filter=`blur(${s})`}return o},{})}function AD(e,t,n){let{collectionId:r,itemId:o}=n;ge(r!==void 0,"collectionId is required for CMS binding context"),ge(o!==void 0,"itemId is required for CMS binding context");let i=e.collectionById.get(r);ge(i!==void 0,`collection with id ${r} not found in CMS Data State`);let s=i.itemById[o];ge(s!==void 0,`item with id ${o} not found in CMS Collection ${i.id}`);let a=new Map;s.fields.forEach(u=>{a.set(u.fieldSchemaId,u)});let l=i.fieldSchemas.find(u=>u.role==="slug"||u.type==="slug")?.id;return ge(l!==void 0,`slug field for item id ${o} not found in CMS Collection ${i.id}`),{item:s,fieldsBySchemaId:a,slugFieldSchemaId:l,guidToUrl:t,fieldBindingProperties:n}}function ju(e,t){let n=e.fieldsBySchemaId.get(t.fieldSchemaId);if(n!==void 0)return n.value}function ND(e,t){return e.slugFieldSchemaId===t.fieldSchemaId}function yD(e){let t=new Date(e);return e===""||isNaN(t.getTime())?{formattedValue:e,originalValue:e}:w4(t,e)}function w4(e,t){return{formattedValue:e.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric",hour12:!0,timeZone:"UTC"}),originalValue:t}}function B4(e,t){ge(e!==null,"GUID should not be null");let n=ot(e),r=t.get(n);return ge(r!==void 0,`url not in map for GUID ${n}`),ge(r?.length>0,`url empty for GUID ${n}`),r}function bD(e,t){let n=JSON.parse(e),r=n.guid?B4(n.guid,t):n.url;ge(r!==void 0,"url is undefined");let o=n.guid?"NODE":"URL";return{url:r,type:o}}function LD(e,t){let n=`/${e}`;return{url:t.endsWith(n)&&t!==n?t:`${t}${n}`,type:"NODE"}}function OS(e){let t={type:e.type};return e.type==="NODE"?t.nodeID=e.url:t.url=e.url,t}function CD(e){let t={connectionURL:e.url,connectionType:e.type==="NODE"?"INTERNAL_NODE":"URL"};return t.connectionType==="INTERNAL_NODE"&&(t.navigationType="NAVIGATE"),t}function gS(e,t,n){let r=ju(e,t);if(r!==void 0)return ND(e,t)?(ge(n!==void 0,`baseUrl is undefined for slug field binding on item ${e.item.id}`),LD(r,n)):bD(r,e.guidToUrl)}function U4(e,t,n){if(n.characters){if(e.type==="TEXT")return e.characters=ju(t,n.characters)??"",!0;console.warn(`text binding unsupported for ${e.type} node ${e.id}`)}return!1}function V4(e,t,n){if(n.date)if(e.type==="TEXT"){let r=ju(t,n.date);if(r===void 0)return e.characters="",!0;let o=yD(r);return e.characters=o.formattedValue,!0}else console.warn(`date in text binding unsupported for ${e.type} node ${e.id}`);return!1}function H4(e,t,n){if(n.hyperlink)if(e.type==="TEXT"){let r=gS(t,n.hyperlink,e.style.hyperlink?.nodeID);return r===void 0?(e.style.hyperlink=void 0,!1):(e.style.hyperlink||(e.style.hyperlink={}),Object.assign(e.style.hyperlink,OS(r)),!0)}else console.warn(`hyperlink binding unsupported for ${e.type} node ${e.id}`);return!1}function W4(e,t,n){if(n.richText)if(e.type==="CMS_RICH_TEXT"){let r=ju(t,n.richText);return e.richText=r===void 0?"":r,!0}else console.warn(`rich text binding unsupported for ${e.type} node ${e.id}`);return!1}function Y4(e,t){let n=t.fieldBindingProperties.boundCmsVariables;if(!n)return!1;let r=[U4,V4,H4,W4],o=!1;for(let i of r)try{i(e,t,n)&&(o=!0)}catch(s){console.error(`Error applying binding function ${i.name} to node ${e.id}:`,s);continue}return o}function K4(e,t){let n=t.fieldBindingProperties.styleOverrideTableBoundCmsVariables;if(!n||Object.keys(n).length===0)return!1;if(e.type!=="TEXT")return console.warn(`styleOverrideTable hyperlink binding unsupported for ${e.type} node ${e.id}`),!1;let r=!1;for(let[o,i]of Object.entries(n)){let s=e.styleOverrideTable[o];if(i?.hyperlink&&s){let a=gS(t,i.hyperlink,s.hyperlink?.nodeID);if(a===void 0){s.hyperlink=void 0,r=!0;continue}s.hyperlink||(s.hyperlink={}),Object.assign(s.hyperlink,OS(a)),r=!0}}return r}function z4(e,t){let n=t.fieldBindingProperties.interactionsBoundCmsVariables;if(!n||Object.entries(n).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 r=!1,o=e.interactions??[];for(let i of o)for(let s of i.actions||[]){let a=s.linkParam?.value,l;if(a&&"fieldSchemaId"in a?l=a.fieldSchemaId:s.cmsTarget?.fieldSchemaId&&(l=s.cmsTarget?.fieldSchemaId),!!l){for(let u of n)if(l===u.hyperlink?.fieldSchemaId){let c=gS(t,u.hyperlink,s.c
8647onnectionURL);if(c===void 0){e.interactions?.splice(e.interactions.indexOf(i),1),r=!0;continue}Object.assign(s,CD(c)),r=!0}}}return r}function X4(e,t){let n=t.fieldBindingProperties.fillPaintsBoundCmsVariables;if(!n||Object.entries(n).length===0)return!1;if(!("fills"in e))return console.warn(`fills not defined for image fill binding on node ${e.id}`),!1;let r=!1;for(let o of n){if(!o.boundVariables.image)continue;let i=o.boundVariables.image.fieldSchemaId,s=-1;if(e.fills){for(let c=0;c<e.fills.length;c++)if(e.fills[c]?.imageVar?.value?.fieldSchemaId===i){s=c;break}}if(s===-1){console.warn(`No fill found with fieldSchemaId ${i} for node ${e.id}`);continue}let a=ju(t,o.boundVariables.image);if(a===void 0){s!==-1&&(e.fills?.splice(s,1),r=!0);continue}let u=e.fills[s];if(u){let c=JSON.parse(a);u.imageRef=c.image,e.accessibleLabel=c.altText,r=!0}}return r}function j4(e){return["FRAME","INSTANCE","RECTANGLE","TEXT","CMS_RICH_TEXT"].includes(e)}function PD(e,t,n){if(!j4(e.type)||!t||!("cmsItemFieldBindingProperties"in e)||!e.cmsItemFieldBindingProperties)return!1;if(!e.cmsItemFieldBindingProperties.itemId)return console.error("Missing itemId for bound node",e.id),!1;let r=AD(t,n,e.cmsItemFieldBindingProperties),o=[Y4,K4,z4,X4],i=!1;for(let s of o)try{s(e,r)&&(i=!0)}catch(a){console.error(`Error applying binding function ${s.name} to node ${e.id}:`,a);continue}return i}function $4(e){let t=Ri(e);return t.type="CMS_RICH_TEXT",t}function DD(e){return e.type==="TEXT"&&e.cmsItemFieldBindingProperties?.boundCmsVariables?.richText?$4(e):e}var xD=v(_e()),Yo=v(W());var IS=()=>Promise.resolve(),vD=e=>{IS=e},xE=(e,t)=>IS?IS(e,t):Promise.resolve();var Lf=(0,Yo.createContext)({reportError:za,setMaterializationError:za});function MD({children:e,reportError:t}){let n=(0,Yo.useRef)({map:new Map,updatedSinceLastRender:!1});(0,Yo.useEffect)(()=>{let i=setInterval(()=>{n.current.updatedSinceLastRender&&(xE("updateMaterializationErrors",{errors:Array.from(n.current.map.values())}),n.current.updatedSinceLastRender=!1)},100);return()=>clearInterval(i)},[n]);let r=(0,Yo.useCallback)((i,s)=>{let a=n.current;s&&s.errorMessage?(console.error(`New error in ${s.nodeName} (${s.nodeId})`,s.errorMessage),a.map.set(i,s),a.updatedSinceLastRender=!0):a.map.has(i)&&(a.map.delete(i),a.updatedSinceLastRender=!0)},[n]),o=(0,Yo.useMemo)(()=>({reportError:t,setMaterializationError:r}),[t,r]);return(0,xD.jsx)(Lf.Provider,{value:o,children:e})}var SS=v(_e()),As=v(W());var GD=(0,As.createContext)(null),fe=()=>(0,As.useContext)(GD);function RS({websiteData:e,cmsBundleData:t,getCodeComponentURL:n,history:r,getAssetURL:o,getFontURL:i,getVideoURL:s,children:a,env:l,setLocation:u,preloadLocation:c,renderOptions:d,renderElement:f,renderFragment:p,withBaseStyles:_=!0,addHeadTag:T,addBodyScript:h,loadComponentsOverNetwork:m=!1,isFigmake:E=!1,enableMetaTags:O=!1,atomStore:g,globalVariableState:I,inheritedVariantPropertiesCache:S,processedNodesCache:A,computedVariantCache:R,sitesRenderers:y}){let b=Ae(e.siteSettings,{store:g}).labs,L=(0,As.useMemo)(()=>new Map,[]),D=(0,As.useMemo)(()=>new Map,[]),F=(0,As.useMemo)(()=>({websiteData:e,cmsBundleData:t,history:r,getAssetURL:o,getFontURL:i,getVideoURL:s,getCodeComponentURL:n,env:l,setLocation:u,preloadLocation:c,withBaseStyles:_,addHeadTag:T,addBodyScript:h,loadComponentsOverNetwork:m,labs:b,isFigmake:E,enableMetaTags:O,renderOptions:d,atomStore:g,fontsByStyleElId:L,globalVariableState:I,inheritedVariantPropertiesCache:S,processedNodesCache:A,computedVariantCache:R,instanceSwapComponentCache:D,renderElement:f,renderFragment:p,sitesRenderers:y}),[e,t,r,o,i,s,n,l,u,c,_,T,h,m,O,b,E,d,g,L,I,S,A,R,D,f,p,y]);return(0,SS.jsx)(GC,{store:g,children:(0,SS.jsx)(GD.Provider,{value:F,children:a})})}var $a=v(W());var FD=v(W());var Xr=class{map;fallback;disableErrors;constructor(t,n){this.map=new Map,this.fallback=t,this.disableErrors=n??!1}get(t,n=!1){return this.map.has(t)?this.map.get(t):(n===!1&&this.disableErrors===!1&&(this.map.has(t),`${JSON.stringify(t)}`,void 0),this.fallback)}set(t,n){if(this.map.has(t)){this.disableErrors===!1&&(Ue(this.map.get(t),n),`${JSON.stringify(t)}`,void 0);return}this.map.set(t,n)}_has(t){return this.map.has(t)}};var wD={title:""},Cf=de(!1),Pf=de(null),Zu=de(void 0),kD=de(void 0),ME=de(e=>({width:e(Zu),height:e(kD)}),(e,t,n)=>{t(Zu,n.width),t(kD,n.height)}),J4={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"}}},AS=OE({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 BD(){let e={collectionById:new Xr(void 0),slugByItemId:new Xr(void 0)};return bE(e),e}function UD(e,t){Xa(e.collectionById,t.collectionById),Xa(e.slugByItemId,t.slugByItemId)}function GE(){let e={siteSettings:de(wD),roots:de([]),nodeById:new Xr(AS),fonts:new Xr(void 0,!0),assets:new Xr(de(J4)),assetIdToGuid:new Xr(void 0),guidToUrl:new Xr(void 0),animateRootIds:new Set,stablePathToAssetInfo:new Xr(void 0,!0),stablePathToConstraints:new Xr(void 0,!0),compiledCode:de(""),globalStyles:de(""),sourceCodeHash:de("")};return bE(e),bE(e.assets),e}function kE(e,t,n){$u(e.siteSettings,t.siteSettings??wD,n);for(let[r,o]of Object.entries(t.nodeById))e.nodeById.set(r,rS(o,{nodeId:o?.id}));$u(e.roots,t.roots,n),Xa(e.fonts,t.fonts),Xa(e.assetIdToGuid,t.assetIdToGuid),Xa(e.guidToUrl,t.guidToUrl),NS(e,t.assets,n),t.stablePathToAssetInfo&&Xa(e.stablePathToAssetInfo,t.stablePathToAssetInfo),t.stablePathToConstraints&&Xa(e.stablePathToConstraints,t.stablePathToConstraints),q4(e.animateRootIds,t.animateRootIds),$u(e.compiledCode,t.compiledCode,n),$u(e.globalStyles,t.globalStyles,n),$u(e.sourceCodeHash,t.sourceCodeHash,n)}function NS(e,t,n){Q4(e.assets,t,n)}function q4(e,t){e.clear(),t.forEach(n=>{e.add(n)})}function Xa(e,t){for(let[n,r]of Object.entries(t))e.set(n,r)}function Q4(e,t,n,r){for(let[o,i]of Object.entries(t)){let s=e._has(o)?e.get(o):void 0,a=r?r(i):i;s===void 0?e.set(o,de(a)):$u(s,a,n)}}function $u(e,t,n){Ue(n.get(e),t)||n.set(e,t)}function VD(e,t){let n=(0,FD.useMemo)(()=>de(e),[e]);return Ae(t||n)}var Qu=v(W());var Z=[""],Ju={transparent:Z,...Object.fromEntries(Object.values(dE).map(e=>[e,Z]))},eK={"-webkit-text-fill-color":{partialSupportOk:!0,values:{...Ju}},"-ms-overflow-style":{partialSupportOk:!0,values:{none:!0}},"-webkit-box-orient":{alternateName:"box-orient",partialSupportOk:!0,values:{vertical:Z}}},HD={properties:{"align-items":{values:{"flex-start":["flex_context"],"flex-end":["flex_context"],center:Z,baseline:["flex_context.baseline"],start:["grid_context.start_end"],end:["grid_context.start_end"]},except:["flex_context.last_baseline","flex_context.safe_unsafe","flex_context.start_end"]},"align-self":{values:{"flex-start":["flex_context"],"flex-end":["flex_context"],stretch:["flex_context.stretch","grid_context"],center:Z},except:["flex_context.last_baseline","flex_context.safe_unsafe","position_absolute_context"]},"align-content":{values:{"flex-start":["flex_context"],"flex-end":["flex_context"],center:Z,"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:Z,linear:Z,none:Z},except:["animation-timeline_included"]},"animation-play-state":{values:{paused:!0}},"animation-delay":{},"animation-direction":{},"animation-timing-function":{},"aspect-ratio":{values:{auto:!0}},"backdrop-filter":{},"backface-visibility":{},background:{values:{none:Z}},"background-clip":{values:{"padding-box":!0,text:!0}},"background-color":{values:Ju},"background-image":{values:{none:!0}},"background-position":{values:{bottom:!0,left:!0,right:!0,top:!0,center:!0}},"background-repeat":{values:{repeat:!0,"no-repeat":!0}},"background-size":{values:{auto:!0,contain:!0,cover:!0}},border:{values:{none:Z,solid:Z}},"border-bottom-left-radius":{},"border-bottom-right-radius":{},"border-bottom-width":{},"border-bottom-style":{values:{solid:Z,dashed:Z,none:Z}},"border-bottom-color":{},"border-color":{values:Ju},"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,...Ju}},"box-sizing":{values:{"border-box":!0}},color:{values:{revert:Z,...Ju}},"column-gap":{},"container-type":{values:{size:!0}},content:{except:["none_applies_to_elements","alt_text"]},cursor:{values:{pointer:!0,none:!0},except:["url_positioning_syntax"]},direction:{values:{ltr:!0,rtl:!0},except:["vertical_slider_direction"]},display:{values:{block:!0,"inline-block":!0,grid:!0,flex:!0,contents:!0,none:!0,"inline-grid":!0,"-webkit-box":!0},except:["contents.contents_unusual","contents.focusable_elements","none.option_is_hidden","is_transitionable","keyframe_animatable","multi-keyword_values"]},filter:{},flex:{values:{auto:Z}},"flex-direction":{values:{column:!0,"column-reverse":!0,row:!0,"row-reverse":!0}},"flex-shrink":{},"flex-wrap":{values:{wrap:!0}},"font-family":{values:{serif:Z,"sans-serif":Z}},"font-feature-settings":{},"font-size":{},"font-style":{values:{italic:!0,normal:!0}},"font-synthesis":{values:{none:!0},partialSupportOk:!0},"font-variant-caps":{values:{normal:!0,"small-caps":!0,"all-small-caps":!0}},"font-variation-settings":{values:{normal:Z}},"font-weight":{values:{normal:!0,bold:!0}},gap:{},"grid-column":{values:{span:Z}},"grid-row":{values:{span:Z}},"grid-template-columns":{values:{"max-content":!0}},"grid-auto-flow":{values:{row:!0}},"grid-template-rows":{values:{"max-content":!0}},height:{values:{auto:!0},except:["fit-content_function"]},inset:{},isolation:{values:{isolate:Z}},"justify-content":{values:{"flex-start":["flex_context"],"flex-end":["flex_context"],center:Z,"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:Z,baseline:["flex_context"],start:["grid_context","flex_context"],end:["grid_context","flex_context"]}},"place-items":{values:{"flex-start":["flex_context"],"flex-end":["flex_context"],center:Z,baseline:["flex_context"],start:["grid_context","flex_context"],end:["grid_context","flex_context"]}},"justify-self":{values:{"flex-start":["grid_context"],"flex-end":["grid_context"],center:Z,baseline:["grid_context"],start:["grid_context"],end:["grid_context"],stretch:["grid_context"]},except:["position_absolute_context"]}
8647,left:{values:{auto:!0}},"letter-spacing":{},"line-height":{values:{normal:!0}},"list-style":{values:{none:Z}},"list-style-position":{values:{inside:!0}},"list-style-type":{values:{"lower-alpha":!0,"lower-roman":!0,decimal:!0,circle:!0}},margin:{values:{auto:!0}},"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:Z}},"mask-repeat":{needsPrefix:"-webkit-",values:{"no-repeat":Z}},"mask-clip":{needsPrefix:"-webkit-",values:{"no-clip":Z}},"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:Z,multiply:Z,"plus-lighter":!0,"color-burn":Z,lighten:Z,screen:Z,"color-dodge":Z,overlay:Z,"soft-light":Z,"hard-light":Z,difference:Z,exclusion:Z,huge:Z,saturation:Z,color:Z,luminosity:Z}},"object-fit":{values:{contain:!0,cover:!0}},"object-position":{values:{bottom:Z,left:Z,right:Z,top:Z,center:Z}},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":{},perspective:{},"perspective-origin":{values:{center:!0,top:!0,bottom:!0,left:!0,right:!0}},"pointer-events":{values:{none:Z,auto:Z}},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:Z,alphabetic:Z}},"text-box-trim":{values:{"trim-both":Z}},"text-decoration":{except:["includes_thickness","includes_color-and-style"],values:{none:Z}},"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:Z,wavy:Z,dotted:Z}},"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}},"transform-style":{values:{"preserve-3d":!0}},"transition-duration":{},"transition-property":{values:{all:!0,transform:Z}},"transition-timing-function":{values:{"ease-in-out":Z}},"transition-delay":{},"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:{...Ju}},"-webkit-font-smoothing":{alternateName:"font-smooth",partialSupportOk:!0,values:{antialiased:Z}},"-webkit-line-clamp":{alternateName:"line-clamp"},...eK},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"},matrix3d:{key:"types.transform-function.matrix3d"},perspective:{key:"types.transform-function.perspective"},rotate:{key:"types.transform-function.rotate"},rotateX:{key:"types.transform-function.rotateX"},rotateY:{key:"types.transform-function.rotateY"},rotateZ:{key:"types.transform-function.rotateZ"},rotate3d:{key:"types.transform-function.rotate3d"},translate:{key:"types.transform-function.translate"},translateX:{key:"types.transform-function.translateX"},translateY:{key:"types.transform-function.translateY"},translateZ:{key:"types.transform-function.translateZ"},translate3d:{key:"types.transform-function.translate3d"},skew:{key:"types.transform-function.skew"}
8647,skewX:{key:"types.transform-function.skewX"},skewY:{key:"types.transform-function.skewY"},scale:{key:"types.transform-function.scale"},scaleX:{key:"types.transform-function.scaleX"},scaleY:{key:"types.transform-function.scaleY"},scale3d:{key:"types.transform-function.scale3d"},hypot:{key:"types.hypot"},cos:{key:"types.cos"},atan2:{key:"types.atan2"},rgb:{key:"types.color"},rgba:{key:"types.color"},clamp:{key:"types.clamp"},blur:{key:"types.filter-function.blur"},"drop-shadow":{key:"types.filter-function.drop-shadow"},"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"},"fit-content":{key:"properties.grid-template-rows.fit-content"}},units:{px:{key:"types.length",except:["length.container_query_length_units","length.viewport_percentage_units_dynamic","length.viewport_percentage_units_large","length.viewport_percentage_units_small"]},em:{key:"types.length.em"},vw:{key:"types.length.vw"},vh:{key:"types.length.vh"},dvw:{key:"types.length.viewport_percentage_units_dynamic"},cqw:{key:"types.length.container_query_length_units"},cqh:{key:"types.length.container_query_length_units"},deg:{key:"types.angle.deg"},x:{key:"types.resolution.x"},fr:{key:"types.flex"},s:{key:"types.time"}}};var tK=new Map,nK=new Map;for(let[e,t]of Object.entries(HD.properties))if(t.needsPrefix){let n=`${t.needsPrefix}${e}`;tK.set(n,e),nK.set(e,n)}function ja({str:e,hashPrefix:t,isUniqueKey:n}){let r=(l,u)=>{let c=`${t}${Math.abs(l).toString(36)}`;return u?`${c}_${u}`:c},o=0,i=0,s,a=0;for(;o<5;){i=0;for(let l=0;l<e.length;l++){let u=e.charCodeAt(l);i=(i<<5)-i+u+o,i=i&i}if(s=r(i),n(s))return s;o++}for(;;)if(a++,s=r(i,a),n(s))return s}var WD=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 YD=v(W());function Ns(e,t){let n=(0,YD.useRef)(e);return t(n.current,e)||(n.current=e),n.current}var XD="#container",rK="css-",yS=new Set,bS=new Map,FE=0,LS=null,qu=new Map,Oo;var oK=1024,iK=new Set(["opacity","zIndex","fontWeight","flex","flexGrow","flexShrink","flexBasis","order","lineHeight","gridRow","gridColumn","gridRowStart","gridRowEnd","gridColumnStart","gridColumnEnd","WebkitLineClamp"]),sK=new Set(["font","fontFamily","fontSize","fontStyle","fontVariant","fontWeight","letterSpacing","lineHeight","textAlign","textDecoration","textIndent","textOverflow","textTransform","whiteSpace","wordBreak","wordSpacing"]),aK=new Set(["top","right","bottom","left","width","height","maxWidth","maxHeight","minWidth","minHeight"]),lK=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","placeItems","justifySelf","margin","marginBottom","marginLeft","marginRight","marginTop","order","padding","paddingBottom","paddingLeft","paddingRight","paddingTop","position"]);function uK(e){let t={...e};if("top"in e&&"right"in e&&"bottom"in e&&"left"in e){let n={top:e.top,right:e.right,bottom:e.bottom,left:e.left};Object.values(n).every(i=>i!==void 0)&&new Set(Object.values(n)).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 n={top:e.borderTopStyle,right:e.borderRightStyle,bottom:e.borderBottomStyle,left:e.borderLeftStyle};new Set(Object.values(n)).size===1&&n.top&&(t={...t,borderStyle:n.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 n={topLeft:e.borderTopLeftRadius,topRight:e.borderTopRightRadius,bottomRight:e.borderBottomRightRadius,bottomLeft:e.borderBottomLeftRadius};new Set(Object.values(n)).size===1&&n.topLeft!==void 0&&(t={...t,borderRadius:n.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 n={top:e.marginTop,right:e.marginRight,bottom:e.marginBottom,left:e.marginLeft};new Set(Object.values(n)).size===1&&n.top!==void 0&&(t={...t,margin:n.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 n=typeof e.paddingTop=="number"?e.paddingTop+"px":e.paddingTop,r=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([n,r,o,i]).size===1&&n!==void 0?s=n:n===o&&n&&i===r&&r?s=`${n} ${i}`:n&&o&&i===r&&r&&(s=`${n} ${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 n=e.overflowX,r=e.overflowY;n===r&&n!==void 0&&(t={...t,overflow:n,overflowX:void 0,overflowY:void 0})}return t}function KD(e){return sK.has(e)?"font":aK.has(e)?"dimension":lK.has(e)?"layout":"other"}function zD(e,t,n=XD){let r=o=>{let i=uK(o);return Object.entries(i).filter(([s,a])=>a!==void 0).map(([s,a])=>{let l=s.replace(/([A-Z])/g,"-$1").toLowerCase(),u=a;return typeof a=="number"&&!iK.has(s)&&(u=`${a}px`),`${l}: ${u};`}).join(" ")};return`${n?`${n} `:""}.${e} {${r(t)}}`}var CS=new Map;cK();function cK(){typeof window<"u"&&"__serverRenderedCSSClassNames"in window&&typeof window.__serverRenderedCSSClassNames=="object"&&Object.entries(window.__serverRenderedCSSClassNames||{}
8647).forEach(([e,t])=>{CS.set(e,t)})}function dK(e){if(Object.keys(e).length===0)return"";let t=JSON.stringify(e);if(t==="{}")return"";let n=ja({str:t,hashPrefix:rK,isUniqueKey:r=>{let o=bS.get(r);if(o)return o===t;if(CS.has(r)){let i=CS.get(r);return t===i}return!0}});return bS.set(n,t),n}var fK="font-faces-";function jD(e,t){let{fontsByStyleElId:n,env:r,addHeadTag:o}=t,i=ja({str:e,hashPrefix:fK,isUniqueKey:s=>{let a=n.get(s),l=!a||a===e;if(r==="server")return l;let u=document.getElementById(s),c=!u||u?.textContent===e;return l&&c}});return r==="server"&&!n.has(i)&&(o({type:"global-style",styleElId:i,styleSheet:e}),n.set(i,e)),i}function $D(e,t){let{fontsByStyleElId:n}=fe();(0,Qu.useInsertionEffect)(()=>{if(!e)return;let r=document.getElementById(t);if(r&&r.textContent===e)return;let o=document.createElement("style");return o.textContent=e,o.id=t,document.head.appendChild(o),n.set(t,e),()=>{document.head.removeChild(o),n.delete(t)}},[e])}function pK(e,t,n){return e.forEach(({className:r,styles:o,renderedByCode:i})=>{if(!r)return;let s=t||i?"":XD,a=qu.get(r);a===0&&FE--,qu.set(r,(a??0)+1),yS.has(r)||(yS.add(r),_K(r,o,s).forEach(u=>{Oo||(Oo=new CSSStyleSheet,document.adoptedStyleSheets.push(Oo)),u.toString(),i?Oo.insertRule(`@layer figoverridable { ${u} }`,Oo.cssRules.length):Oo.insertRule(u,Oo.cssRules.length)}))}),()=>{e.forEach(({className:r})=>{if(!r)return;let i=(qu.get(r)||0)-1;qu.set(r,i),i===0&&(FE++,Oo&&FE>oK&&!LS&&(LS=WD(EK)))})}}function mK(e){let t={};for(let[r,o]of Object.entries(e))if(!(o===void 0||o===""))if(r==="media")for(let[i,s]of Object.entries(o))for(let[a,l]of Object.entries(s)){let u=KD(a);t[u]||(t[u]={}),t[u].media||(t[u].media={}),t[u].media[i]||(t[u].media[i]={}),t[u].media[i][a]=l}else{let i=KD(r);t[i]||(t[i]={}),t[i][r]=NE(o,!1)}let n=[];for(let r of Object.values(t))n.push({className:dK(r),styles:r});return n}function ZD(e){let t=fe(),{disableHighSpecificityContainer:n}=t.renderOptions,r=Ns(e,Ue),o=(0,Qu.useMemo)(()=>{let l=[],u=[];for(let c of r){if(c==null)continue;if(typeof c=="string"){u.push(c);continue}let{styles:d,renderedByCode:f}="styles"in c?{styles:c.styles,renderedByCode:c.renderedByCode}:{styles:c,renderedByCode:void 0};for(let{className:p,styles:_}of mK(d))l.push({className:p,styles:_,renderedByCode:f})}return{generated:l,passthroughClassNames:u}},[r]),{addHeadTag:i,env:s}=fe();return(0,Qu.useInsertionEffect)(()=>pK(o.generated,n,s),[o]),s==="server"&&o.generated.forEach(({className:l,styles:u})=>{i({type:"class-style",className:l,cssProperties:u,classNameSourceStr:JSON.stringify(u)})}),[...o.generated.map(({className:l})=>l),...o.passthroughClassNames].filter(Boolean).join(" ")}function EK(){if(Oo){try{let t=Array.from(Oo.cssRules).filter(n=>{let r=n.selectorText.substring(1),o=qu.get(r)===0;return o&&(yS.delete(r),qu.delete(r),bS.delete(r)),!o});Oo.replace(t.map(n=>n.cssText).join(` 8648`))}catch(e){Me.reportError(new te("Error cleaning up styles",e)),console.error("Error cleaning CSS rules:",e)}FE=0,LS=null}}var PS="global-css-";function ec({cssString:e,styleElId:t,deleteElsWithPrefix:n,skipValidation:r,prepend:o}){let{addHeadTag:i,env:s}=fe();s==="server"&&e&&i({type:"global-style",styleElId:t,styleSheet:ys(e)}),(0,Qu.useInsertionEffect)(()=>{if(!e||(r||void 0,document.getElementById(t)))return;let l=[];n&&(l=Array.from(document.head.querySelectorAll(`style[id^="${n}"]`)));let u=document.createElement("style");return u.textContent=ys(e),u.id=t,o?document.head.insertBefore(u,document.head.firstChild):document.head.appendChild(u),n&&l.forEach(c=>{c.remove()}),()=>{document.head.removeChild(u)}},[e,t,o])}function ys(e){return e.replace(/\s+/g," ").replace(/\/\*.*?\*\//g,"").replace(/;\s*}/g,"}").replace(/\s*{\s*/g,"{").replace(/\s*:\s*/g,":").replace(/\s*;\s*/g,";").replace(/\s*,\s*/g,",").replace(/\s*}\s*/g,"}")}function _K(e,t,n){let{media:r,...o}=t,i=[zD(e,o,n)];if(r){let s=Object.entries(r).map(([a,l])=>`@media ${a} {${zD(e,l,n)}}`);i.push(...s)}return i}function sn(e,...t){let n="";return e.forEach((r,o)=>{n+=r+(t[o]||"")}),n}var TK="custom-cursor",tc="customCursor";function JD(){let e=Ae(Pf)!==null;return ec({cssString:e?hK:"",styleElId:TK}),null}var hK=sn` #container .${tc}a,#container .${tc}p,#container .${tc}div{cursor:none}`;function go(e,t){let n=e?.[t];return ge(n!==void 0,`Node asset with hash ${t} not found in used assets`),n}function OK(){let e=JI();return e?e.mobile||e.tablet||e.isIpad:!1}var tv=({ref:e,hasCursorBehavior:t,assets:n,behaviors:r})=>{let o=fe();OK()&&(t=!1);let i=(0,$a.useMemo)(()=>gK(t),[t]),s=(0,$a.useCallback)((a,l)=>{let{imageUrl:u,imageSize:c}=ev(r,n,o);a.style.backgroundImage=`url("${u}")`,c&&(a.style.width=`${c.x}px`,a.style.height=`${c.y}px`),a.style.visibility="visible",l.style.cursor="none",l.classList.add(tc)},[r,n,o]);(0,$a.useEffect)(()=>{e.current&&qD(e.current.id,o)&&i&&s(i,e.current)},[e,i,s,o]),(0,$a.useEffect)(()=>
8648{if(!e.current||!i||!t||!r?.cursor)return;let{imageUrl:a,imageSize:l}=ev(r,n,o);if(!a||!l)return;let u=e.current,c=r.cursor.hotspotX,d=r.cursor.hotspotY,f=bu(h=>{u&&(QD(u.id,o),s(i,u),i.style.transform=`translate(${h.clientX-c}px, ${h.clientY-d}px)`)},"showCursor"),p=bu(h=>{u&&(DS(o)===null&&f(h),qD(u.id,o)&&(i.style.transform=`translate(${h.clientX-c}px, ${h.clientY-d}px)`))},"moveCursor"),_=bu(()=>{i&&(QD(null,o),requestAnimationFrame(T))},"hideCursor"),T=()=>{i&&DS(o)===null&&(i.style.visibility="hidden",u.style.cursor="auto",u.classList.remove(tc))};return u.addEventListener("pointerenter",f),u.addEventListener("pointermove",p),u.addEventListener("pointerleave",_),()=>{u.removeEventListener("pointerenter",f),u.removeEventListener("pointermove",p),u.removeEventListener("pointerleave",_),_(new PointerEvent("pointerleave"))}},[t,r?.cursor,i,e,s,r,n,o])},nv="sites-cursor-element",gK=e=>{if(!e||typeof document>"u")return null;let t=document.getElementById(nv);return t||IK()},IK=()=>{let e=document.createElement("div");return document.body.appendChild(e),e.id=nv,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},qD=(e,t)=>DS(t)===e,QD=(e,t)=>{t.atomStore.set(Pf,e)},DS=e=>e.atomStore.get(Pf);function ev(e,t,n){let r=vS(e);if(r){let o=go(t,r);return{imageUrl:n.getAssetURL(o.url),imageSize:o.size}}return{imageUrl:void 0,imageSize:void 0}}function vS(e){return e?.cursor?.cursorFileName?.split(".")[0]}var rv=e=>{let{interactionHandlers:t,materializedChildNodeProps:n,...r}=e;"variableState"in r&&delete r.variableState;try{xE("nodeDebugInformation",{materializedNode:r})}catch{}};function iv(e,t,n,r,o){let i=t,s=!1,a=(d,f)=>(s=!0,n.evaluateVariable(e,d.id,r)??f),l=d=>{let f=n.getVariableName(d);return f!==void 0&&o.dashSeparatedVariableNames?VI(f,()=>"-"):f},u=d=>n.getVariableCodeSyntax(d);if(SK(i,a,l,u),!("boundVariables"in t&&t.boundVariables))return s;let c=t.boundVariables;if(c.opacity&&(i.opacity=a(c.opacity,i.opacity)/100,c.opacity.resolvedName=l(c.opacity.id),c.opacity.resolvedCodeSyntax=u(c.opacity.id)),c.size&&i.size&&(c.size.x&&(i.size.x=a(c.size.x,i.size.x),c.size.x.resolvedName=l(c.size.x.id),c.size.x.resolvedCodeSyntax=u(c.size.x.id)),c.size.y&&(i.size.y=a(c.size.y,i.size.y),c.size.y.resolvedName=l(c.size.y.id),c.size.y.resolvedCodeSyntax=u(c.size.y.id))),c.visible&&(i.visible=a(c.visible,i.visible),c.visible.resolvedName=l(c.visible.id),c.visible.resolvedCodeSyntax=u(c.visible.id)),i.rectangleCornerRadii===void 0)if(i.rectangleCornerRadiiIndependent)i.rectangleCornerRadii=[0,0,0,0];else{let d=i.cornerRadius??0;i.rectangleCornerRadii=[d,d,d,d]}return c.rectangleCornerRadii&&(c.rectangleCornerRadii.RECTANGLE_TOP_LEFT_CORNER_RADIUS&&(i.rectangleCornerRadii[0]=a(c.rectangleCornerRadii.RECTANGLE_TOP_LEFT_CORNER_RADIUS,i.rectangleCornerRadii[0]),c.rectangleCornerRadii.RECTANGLE_TOP_LEFT_CORNER_RADIUS.resolvedName=l(c.rectangleCornerRadii.RECTANGLE_TOP_LEFT_CORNER_RADIUS.id),c.rectangleCornerRadii.RECTANGLE_TOP_LEFT_CORNER_RADIUS.resolvedCodeSyntax=u(c.rectangleCornerRadii.RECTANGLE_TOP_LEFT_CORNER_RADIUS.id)),c.rectangleCornerRadii.RECTANGLE_TOP_RIGHT_CORNER_RADIUS&&(i.rectangleCornerRadii[1]=a(c.rectangleCornerRadii.RECTANGLE_TOP_RIGHT_CORNER_RADIUS,i.rectangleCornerRadii[1]),c.rectangleCornerRadii.RECTANGLE_TOP_RIGHT_CORNER_RADIUS.resolvedName=l(c.rectangleCornerRadii.RECTANGLE_TOP_RIGHT_CORNER_RADIUS.id),c.rectangleCornerRadii.RECTANGLE_TOP_RIGHT_CORNER_RADIUS.resolvedCodeSyntax=u(c.rectangleCornerRadii.RECTANGLE_TOP_RIGHT_CORNER_RADIUS.id)),c.rectangleCornerRadii.RECTANGLE_BOTTOM_RIGHT_CORNER_RADIUS&&(i.rectangleCornerRadii[2]=a(c.rectangleCornerRadii.RECTANGLE_BOTTOM_RIGHT_CORNER_RADIUS,i.rectangleCornerRadii[2]),c.rectangleCornerRadii.RECTANGLE_BOTTOM_RIGHT_CORNER_RADIUS.resolvedName=l(c.rectangleCornerRadii.RECTANGLE_BOTTOM_RIGHT_CORNER_RADIUS.id)??void 0,c.rectangleCornerRadii.RECTANGLE_BOTTOM_RIGHT_CORNER_RADIUS.resolvedCodeSyntax=u(c.rectangleCornerRadii.RECTANGLE_BOTTOM_RIGHT_CORNER_RADIUS.id)),c.rectangleCornerRadii.RECTANGLE_BOTTOM_LEFT_CORNER_RADIUS&&(i.rectangleCornerRadii[3]=a(c.rectangleCornerRadii.RECTANGLE_BOTTOM_LEFT_CORNER_RADIUS,i.rectangleCornerRadii[3]),c.rectangleCornerRadii.RECTANGLE_BOTTOM_LEFT_CORNER_RADIUS.resolvedName=l(c.rectangleCornerRadii.RECTANGLE_BOTTOM_LEFT_CORNER_RADIUS.id),c.rectangleCornerRadii.RECTANGLE_BOTTOM_LEFT_CORNER_RADIUS.resolvedCodeSyntax=u(c.rectangleCornerRadii.RECTANGLE_BOTTOM_LEFT_CORNER_RADIUS.id))),c.minWidth&&(i.minWidth=a(c.minWidth,i.minWidth),c.minWidth.resolvedName=l(c.minWidth.id),c.minWidth.resolvedCodeSyntax=u(c.minWidth.id)),c.maxWidth&&(i.maxWidth=a(c.maxWidth,i.maxWidth),c.maxWidth.resolvedName=l(c.maxWidth.id),c.maxWidth.resolvedCodeSyntax=u(c.maxWidth.id)),c.minHeight&&(i.minHeight=a(c.minHeight,i.minHeight),c.minHeight.resolvedName=l(c.minHeight.id),c.minHeight.resolvedCodeSyntax=u(c.minHeight.id)),c.maxHeight&&(i.maxHeight=a(c.maxHeight,i.maxHeight),c.maxHeight.resolvedName=l(c.maxHeight.id),c.maxHeight.resolvedCodeSyntax=u(c.maxHeight.id)),c.itemSpacing&&(i.itemSpacing=a(c.itemSpacing,i.itemSpacing),c.itemSpacing.resolvedName=l(c.itemSpacing.id),c.itemSpacing.resolvedCodeSyntax=u(c.itemSpacing.id)),c.paddingLeft&&(i.paddingLeft=a(c.paddingLeft,i.paddingLeft),c.paddingLeft.resolvedName=l(c.paddingLeft.id),c.paddingLeft.resolvedCodeSyntax=u(c.paddingLeft.id)),c.paddingRight&&(i.paddingRight=a(c.paddingRight,i.paddingRight),c.paddingRight.resolvedName=l(c.paddingRight.id),c.paddingRight.resolvedCodeSyntax=u(c.paddingRight.id)),c.paddingTop&&(i.paddingTop=a(c.paddingTop,i.paddingTop),c.paddingTop.resolvedName=l(c.paddingTop.id),c.paddingTop.resolvedCodeSyntax=u(c.paddingTop.id)),c.paddingBottom&&(i.paddingBottom=a(c.paddingBottom,i.paddingBottom),c.paddingBottom.resolvedName=l(c.paddingBottom.id),c.paddingBottom.resolvedCodeSyntax=u(c.paddingBottom.id)),c.counterAxisSpacing&&(i.counterAxisSpacing=a(c.counterAxisSpacing,i.counterAxisSpacing),c.counterAxisSpacing.resolvedName=l(c.counterAxisSpacing.id),c.counterAxisSpacing.resolvedCodeSyntax=u(c.counterAxisSpacing.id)),c.characters&&(i.characters=a(c.characters,i.characters)?.toString(),c.characters.resolvedName=l(c.characters.id),c.characters.resolvedCodeSyntax=u(c.characters.id)),c.individualStrokeWeights&&(i.individualStrokeWeights===void 0&&(i.individualStrokeWeights={top:0,right:0,bottom:0,left:0}),c.individualStrokeWeights.BORDER_BOTTOM_WEIGHT&&(i.individualStrokeWeights.bottom=a(c.individualStrokeWeights.BORDER_BOTTOM_WEIGHT,i.individualStrokeWeights.bottom),c.individualStrokeWeights.BORDER_BOTTOM_WEIGHT.resolvedName=l(c.individualStrokeWeights.BORDER_BOTTOM_WEIGHT.id),c.individualStrokeWeights.BORDER_BOTTOM_WEIGHT.resolvedCodeSyntax=u(c.individualStrokeWeights.BORDER_BOTTOM_WEIGHT.id)),c.individualStrokeWeights.BORDER_LEFT_WEIGHT&&(i.individualStrokeWeights.left=a(c.individualStrokeWeights.BORDER_LEFT_WEIGHT,i.individualStrokeWeights.left),c.individualStrokeWeights.BORDER_LEFT_WEIGHT.resolvedName=l(c.individualStrokeWeights.BORDER_LEFT_WEIGHT.id),c.individualStrokeWeights.BORDER_LEFT_WEIGHT.resolvedCodeSyntax=u(c.individualStrokeWeights.BORDER_LEFT_WEIGHT.id)),c.individualStrokeWeights.BORDER_RIGHT_WEIGHT&&(i.individualStrokeWeights.right=a(c.individualStrokeWeights.BORDER_RIGHT_WEIGHT,i.individualStrokeWeights.right),c.individualStrokeWeights.BORDER_RIGHT_WEIGHT.resolvedName=l(c.individualStrokeWeights.BORDER_RIGHT_WEIGHT.id),c.individualStrokeWeights.BORDER_RIGHT_WEIGHT.resolvedCodeSyntax=u(c.individualStrokeWeights.BORDER_RIGHT_WEIGHT.id)),c.individualStrokeWeights.BORDER_TOP_WEIGHT&&(i.individualStrokeWeights.top=a(c.individualStrokeWeights.BORDER_TOP_WEIGHT,i.individualStrokeWeights.top),c.individualStrokeWeights.BORDER_TOP_WEIGHT.resolvedName=l(c.individualStrokeWeights.BORDER_TOP_WEIGHT.id),c.individualStrokeWeights.BORDER_TOP_WEIGHT.resolvedCodeSyntax=u(c.individualStrokeWeights.BORDER_TOP_WEIGHT.id))),s}function SK(e,t,n,r){if(e.fills)for(let o of e.fills)if(o.type==="SOLID"){if(o.boundVariables?.color){let i=t(o.boundVariables.color,o.color);o.color={r:i.r,g:i.g,b:i.b,a:1},o.opacity=i.a,o.boundVariables.color.resolvedName=n(o.boundVariables.color.id),o.boundVariables.color.resolvedCodeSyntax=r(o.boundVariables.color.id)}}else if(o.type==="GRADIENT_RADIAL"||o.type==="GRADIENT_LINEAR"||o.type==="GRADIENT_ANGULAR"||o.type==="GRADIENT_DIAMOND")for(let i of o.gradientStops)i.boundVariables?.color&&(i.color=t(i.boundVariables.color,i.color),i.boundVariables.color.resolvedName=n(i.boundVariables.color.id),i.boundVariables.color.resolvedCodeSyntax=r(i.boundVariables.color.id));else o.type==="CUSTOM"&&ov(o.componentPropAssignments,t);
8648if(e.strokes){for(let o of e.strokes)if(o.type==="SOLID"){if(o.boundVariables?.color){let i=t(o.boundVariables.color,o.color);o.color={r:i.r,g:i.g,b:i.b,a:1},o.opacity=i.a,o.boundVariables.color.resolvedName=n(o.boundVariables.color.id),o.boundVariables.color.resolvedCodeSyntax=r(o.boundVariables.color.id)}}else if(o.type==="GRADIENT_RADIAL"||o.type==="GRADIENT_LINEAR"||o.type==="GRADIENT_ANGULAR"||o.type==="GRADIENT_DIAMOND")for(let i of o.gradientStops)i.boundVariables?.color&&(i.color=t(i.boundVariables.color,i.color),i.boundVariables.color.resolvedName=n(i.boundVariables.color.id),i.boundVariables.color.resolvedCodeSyntax=r(i.boundVariables.color.id))}if(e.effects)for(let o of e.effects){if(o.type==="DROP_SHADOW"||o.type==="INNER_SHADOW"){o.boundVariables?.color&&(o.color=t(o.boundVariables.color,o.color),o.boundVariables.color.resolvedName=n(o.boundVariables.color.id),o.boundVariables.color.resolvedCodeSyntax=r(o.boundVariables.color.id)),o.boundVariables?.radius&&(o.radius=t(o.boundVariables.radius,o.radius),o.boundVariables.radius.resolvedName=n(o.boundVariables.radius.id),o.boundVariables.radius.resolvedCodeSyntax=r(o.boundVariables.radius.id)),o.boundVariables?.spread&&(o.spread=t(o.boundVariables.spread,o.spread),o.boundVariables.spread.resolvedName=n(o.boundVariables.spread.id),o.boundVariables.spread.resolvedCodeSyntax=r(o.boundVariables.spread.id));let i=o.offset.x,s=o.offset.y;o.boundVariables?.offsetX&&(i=t(o.boundVariables.offsetX,o.offset.x),o.boundVariables.offsetX.resolvedName=n(o.boundVariables.offsetX.id),o.boundVariables.offsetX.resolvedCodeSyntax=r(o.boundVariables.offsetX.id)),o.boundVariables?.offsetY&&(s=t(o.boundVariables.offsetY,o.offset.x),o.boundVariables.offsetY.resolvedName=n(o.boundVariables.offsetY.id),o.boundVariables.offsetY.resolvedCodeSyntax=r(o.boundVariables.offsetY.id)),o.offset={x:i,y:s}}(o.type==="LAYER_BLUR"||o.type==="BACKGROUND_BLUR")&&o.boundVariables?.radius&&(o.radius=t(o.boundVariables.radius,o.radius),o.boundVariables.radius.resolvedName=n(o.boundVariables.radius.id),o.boundVariables.radius.resolvedCodeSyntax=r(o.boundVariables.radius.id)),o.type==="CUSTOM"&&ov(o.componentPropAssignments,t)}if(e.boundVariables?.fontFamily&&e.boundVariables.fontFamily.forEach(o=>{o.resolvedName=n(o.id),o.resolvedCodeSyntax=r(o.id)}),e.boundVariables?.fontSize&&e.boundVariables.fontSize.forEach(o=>{o.resolvedName=n(o.id),o.resolvedCodeSyntax=r(o.id)}),e.boundVariables?.fontWeight&&e.boundVariables.fontWeight.forEach(o=>{o.resolvedName=n(o.id),o.resolvedCodeSyntax=r(o.id)}),e.boundVariables?.fontStyle&&e.boundVariables.fontStyle.forEach(o=>{o.resolvedName=n(o.id),o.resolvedCodeSyntax=r(o.id)}),e.boundVariables?.lineHeight&&e.boundVariables.lineHeight.forEach(o=>{o.resolvedName=n(o.id),o.resolvedCodeSyntax=r(o.id)}),e.boundVariables?.letterSpacing&&e.boundVariables.letterSpacing.forEach(o=>{o.resolvedName=n(o.id),o.resolvedCodeSyntax=r(o.id)}),e.boundVariables?.paragraphSpacing&&e.boundVariables.paragraphSpacing.forEach(o=>{o.resolvedName=n(o.id),o.resolvedCodeSyntax=r(o.id)}),e.boundVariables?.paragraphIndent&&e.boundVariables.paragraphIndent.forEach(o=>{o.resolvedName=n(o.id),o.resolvedCodeSyntax=r(o.id)}),e.style?.boundVariables&&(e.style.boundVariables.fontFamily&&(e.style.fontFamily=t(e.style.boundVariables.fontFamily,e.style.fontFamily),e.style.boundVariables.fontFamily.resolvedName=n(e.style.boundVariables.fontFamily.id),e.style.boundVariables.fontFamily.resolvedCodeSyntax=r(e.style.boundVariables.fontFamily.id)),e.style.boundVariables.fontSize&&(e.style.fontSize=t(e.style.boundVariables.fontSize,e.style.fontSize),e.style.boundVariables.fontSize.resolvedName=n(e.style.boundVariables.fontSize.id),e.style.boundVariables.fontSize.resolvedCodeSyntax=r(e.style.boundVariables.fontSize.id)),e.style.boundVariables.fontWeight&&(e.style.fontVariations||(e.style.fontVariations={}),e.style.fontVariations.Weight=t(e.style.boundVariables.fontWeight,e.style.fontVariations.Weight),e.style.boundVariables.fontWeight.resolvedName=n(e.style.boundVariables.fontWeight.id),e.style.boundVariables.fontWeight.resolvedCodeSyntax=r(e.style.boun
8648dVariables.fontWeight.id)),e.style.boundVariables.fontStyle&&(e.style.fontStyle=t(e.style.boundVariables.fontStyle,e.style.fontStyle),e.style.boundVariables.fontStyle.resolvedName=n(e.style.boundVariables.fontStyle.id),e.style.boundVariables.fontStyle.resolvedCodeSyntax=r(e.style.boundVariables.fontStyle.id)),e.style.boundVariables.lineHeight&&(e.style.lineHeightPx=t(e.style.boundVariables.lineHeight,e.style.lineHeightPx),e.style.lineHeightUnit="PIXELS",e.style.boundVariables.lineHeight.resolvedName=n(e.style.boundVariables.lineHeight.id),e.style.boundVariables.lineHeight.resolvedCodeSyntax=r(e.style.boundVariables.lineHeight.id)),e.style.boundVariables.letterSpacing&&(e.style.letterSpacingValue=t(e.style.boundVariables.letterSpacing,e.style.letterSpacingValue),e.style.letterSpacingUnit="PIXELS",e.style.boundVariables.letterSpacing.resolvedName=n(e.style.boundVariables.letterSpacing.id),e.style.boundVariables.letterSpacing.resolvedCodeSyntax=r(e.style.boundVariables.letterSpacing.id)),e.style.boundVariables.paragraphSpacing&&(e.style.paragraphSpacing=t(e.style.boundVariables.paragraphSpacing,e.style.paragraphSpacing),e.style.boundVariables.paragraphSpacing.resolvedName=n(e.style.boundVariables.paragraphSpacing.id),e.style.boundVariables.paragraphSpacing.resolvedCodeSyntax=r(e.style.boundVariables.paragraphSpacing.id)),e.style.boundVariables.paragraphIndent&&(e.style.paragraphIndent=t(e.style.boundVariables.paragraphIndent,e.style.paragraphIndent),e.style.boundVariables.paragraphIndent.resolvedName=n(e.style.boundVariables.paragraphIndent.id),e.style.boundVariables.paragraphIndent.resolvedCodeSyntax=r(e.style.boundVariables.paragraphIndent.id))),e.style?.responsiveTextStyleVariants)for(let o of e.style.responsiveTextStyleVariants)o.boundVariables&&(o.boundVariables.fontSize&&(o.style.fontSize=t(o.boundVariables.fontSize,o.style.fontSize)),o.boundVariables.letterSpacing&&(o.style.letterSpacing=t(o.boundVariables.letterSpacing,o.style.letterSpacing)),o.boundVariables.lineHeight&&(o.style.lineHeightPx=t(o.boundVariables.lineHeight,o.style.lineHeightPx)),o.boundVariables.paragraphSpacing&&(o.style.paragraphSpacing=t(o.boundVariables.paragraphSpacing,o.style.paragraphSpacing)))}function ov(e,t){let{defs:n,assignments:r}=e;for(let[o,i]of Object.entries(r))i&&typeof i=="object"&&"type"in i&&i.type===Kr.ALIAS&&"value"in i&&typeof i.value=="string"&&(r[o]=t({type:"VARIABLE_ALIAS",id:i.value},n[o].defaultValue))}function Df(e,t){return e.length===1?e[0]:e.reduceRight((n,r)=>{let o=r.color,i=n.color,s=r.opacity,a=n.opacity,l=s*(1-a),u=l+a,c=l/u,d=a/u;return new Dt({r:o.r*c+i.r*d,g:o.g*c+i.g*d,b:o.b*c+i.b*d},t,u)})}function jr(e){return"stackLayoutVersion"in e&&e.stackLayoutVersion>=1}function $r(e){return e.strokes!==void 0&&e.strokes.length>0}function sv(e){return $r(e)&&e.strokeAlign!==void 0&&e.strokeAlign!=="INSIDE"}function Za(e){return!e||!("strokesIncludedInLayout"in e)||!e.strokesIncludedInLayout?!1:!jr(e)}function av(e,t){if(!Za(t))return{};let{top:n,right:r,bottom:o,left:i}=nc(e);return{borderLeftWidth:x(i),borderRightWidth:x(r),borderTopWidth:x(n),borderBottomWidth:x(o),borderColor:"transparent",borderStyle:"solid",backgroundClip:"padding-box"}}function wE(e,t){if(!(e.type==="FRAME"||e.type==="SLOT"||e.type==="RECTANGLE")||!Za(t))return 0;let r=nc(e);return x(r.left+r.right)}function BE(e,t){if(!(e.type==="FRAME"||e.type==="SLOT"||e.type==="RECTANGLE")||!Za(t))return 0;let r=nc(e);return x(r.top+r.bottom)}function nc(e){let t={top:0,right:0,bottom:0,left:0},n=vf(e);if(!$r(e))return t;switch(e.strokeAlign){case"CENTER":return{top:x(n.top/2),right:x(n.right/2),bottom:x(n.bottom/2),left:x(n.left/2)};case"OUTSIDE":return n;case"INSIDE":default:return t}}function UE(e){let t={top:0,right:0,bottom:0,left:0};if(!$r(e))return t;let n=vf(e);switch(e.strokeAlign){case"CENTER":return{top:n.top/2,right:n.right/2,bottom:n.bottom/2,left:n.left/2};case"OUTSIDE":return t;case"INSIDE":default:return n}}function VE(e,t){let{codeSyntaxLanguage:n}=t,r=e.map(o=>{if(o.visible!==!1&&o.type!=="IMAGE"&&o.type!=="VIDEO"&&o.type!=="PATTERN"){if(o.type==="SOLID")return o;if(Pu(o)&&o.gradientStops[0])return o.gradientStops[0]}}
8648).filter(Boolean);if(r.length!==0)return Df(r.map(o=>new Dt("color"in o?o.color:o,t,"opacity"in o?o.opacity:1,Vt,"boundVariables"in o?o.boundVariables?.color?.resolvedName:void 0,n&&("boundVariables"in o?o.boundVariables?.color?.resolvedCodeSyntax?.[n]:void 0))),t).value}function xS(e){if(e.rectangleCornerRadiiIndependent)return{topLeft:e.rectangleCornerRadii[0]?x(e.rectangleCornerRadii[0]):void 0,topRight:e.rectangleCornerRadii[1]?x(e.rectangleCornerRadii[1]):void 0,bottomRight:e.rectangleCornerRadii[2]?x(e.rectangleCornerRadii[2]):void 0,bottomLeft:e.rectangleCornerRadii[3]?x(e.rectangleCornerRadii[3]):void 0};let t=e.cornerRadius?x(e.cornerRadius):void 0;return{topLeft:t,topRight:t,bottomRight:t,bottomLeft:t}}function MS(e,t,n){let{codeSyntaxLanguage:r}=n,o={...e};return o.borderTopLeftRadius&&(o.borderTopLeftRadius=le(r&&t.boundVariables?.rectangleCornerRadii?.RECTANGLE_TOP_LEFT_CORNER_RADIUS?.resolvedCodeSyntax?.[r],t.boundVariables?.rectangleCornerRadii?.RECTANGLE_TOP_LEFT_CORNER_RADIUS?.resolvedName,`${o.borderTopLeftRadius}px`)??o.borderTopLeftRadius),o.borderTopRightRadius&&(o.borderTopRightRadius=le(r&&t.boundVariables?.rectangleCornerRadii?.RECTANGLE_TOP_RIGHT_CORNER_RADIUS?.resolvedCodeSyntax?.[r],t.boundVariables?.rectangleCornerRadii?.RECTANGLE_TOP_RIGHT_CORNER_RADIUS?.resolvedName,`${o.borderTopRightRadius}px`)??o.borderTopRightRadius),o.borderBottomRightRadius&&(o.borderBottomRightRadius=le(r&&t.boundVariables?.rectangleCornerRadii?.RECTANGLE_BOTTOM_RIGHT_CORNER_RADIUS?.resolvedCodeSyntax?.[r],t.boundVariables?.rectangleCornerRadii?.RECTANGLE_BOTTOM_RIGHT_CORNER_RADIUS?.resolvedName,`${o.borderBottomRightRadius}px`)??o.borderBottomRightRadius),o.borderBottomLeftRadius&&(o.borderBottomLeftRadius=le(r&&t.boundVariables?.rectangleCornerRadii?.RECTANGLE_BOTTOM_LEFT_CORNER_RADIUS?.resolvedCodeSyntax?.[r],t.boundVariables?.rectangleCornerRadii?.RECTANGLE_BOTTOM_LEFT_CORNER_RADIUS?.resolvedName,`${o.borderBottomLeftRadius}px`)??o.borderBottomLeftRadius),o}function lv(e,t,n,r){let{shouldOutputVariables:o}=r,i=xS(e),s=t?nc(e):{top:0,right:0,bottom:0,left:0},a={borderTopLeftRadius:i.topLeft?i.topLeft+Math.min(s.top,s.left):void 0,borderTopRightRadius:i.topRight?i.topRight+Math.min(s.top,s.right):void 0,borderBottomRightRadius:i.bottomRight?i.bottomRight+Math.min(s.bottom,s.right):void 0,borderBottomLeftRadius:i.bottomLeft?i.bottomLeft+Math.min(s.bottom,s.left):void 0},l=o?MS(a,e,r):a,u=VE(e.strokes,r),c=RK(e,r);return{...l,borderStyle:e.strokeDashes?"dashed":"solid",borderColor:n&&u===void 0?"rgba(0, 0, 0, 0)":u,borderTopWidth:c.top,borderBottomWidth:c.bottom,borderLeftWidth:c.left,borderRightWidth:c.right}}var HE=(e,t)=>{if(Za(t))return{top:0,left:0,right:0,bottom:0};let r=nc(e);return{top:-r.top,left:-r.left,right:-r.right,bottom:-r.bottom}};function RK(e,t){let{codeSyntaxLanguage:n,shouldOutputVariables:r}=t;if(e.individualStrokeWeights){let i=x(e.individualStrokeWeights.top),s=x(e.individualStrokeWeights.right),a=x(e.individualStrokeWeights.bottom),l=x(e.individualStrokeWeights.left);if(r){let u=le(n&&e.boundVariables?.individualStrokeWeights?.BORDER_TOP_WEIGHT?.resolvedCodeSyntax?.[n],e.boundVariables?.individualStrokeWeights?.BORDER_TOP_WEIGHT?.resolvedName,`${i}px`),c=le(n&&e.boundVariables?.individualStrokeWeights?.BORDER_RIGHT_WEIGHT?.resolvedCodeSyntax?.[n],e.boundVariables?.individualStrokeWeights?.BORDER_RIGHT_WEIGHT?.resolvedName,`${s}px`),d=le(n&&e.boundVariables?.individualStrokeWeights?.BORDER_BOTTOM_WEIGHT?.resolvedCodeSyntax?.[n],e.boundVariables?.individualStrokeWeights?.BORDER_BOTTOM_WEIGHT?.resolvedName,`${a}px`),f=le(n&&e.boundVariables?.individualStrokeWeights?.BORDER_LEFT_WEIGHT?.resolvedCodeSyntax?.[n],e.boundVariables?.individualStrokeWeights?.BORDER_LEFT_WEIGHT?.resolvedName,`${l}px`);return{top:u??i,right:c??s,bottom:d??a,left:f??l}}return{top:i,right:s,bottom:a,left:l}}let o=x(e.strokeWeight);return{top:o,right:o,bottom:o,left:o}}function vf(e){if(e.individualStrokeWeights)return{top:x(e.individualStrokeWeights.top),right:x(e.individualStrokeWeights.right),bottom:x(e.individualStrokeWeights.bottom),left:x(e.individualStrokeWeights.left)};let t=x(e.strokeWeight);return{top:t,right:t,bottom:t,left:t}}var AK=["ON_CLICK","ON_PRESS","MOUSE_DOWN","MOUSE_UP"];function Ni(e){let t=e.interactions??[];for(let n of t)if(AK.find(r=>r===n.event?.interactionType))return{cursor:"pointer"};return{}}var WE=e=>e.position==="absolute"&&["top","left","right","bottom"].every(n=>{let r=e[n];return r===0||r==="0"})?Object.entries(e).every(([n,r])=>r===void 0||["top","left","right","bottom","position"].includes(n)?!0:n==="display"?r==="block":!1):!1;function NK(e,t){return e.map(n=>
8648t.get(n)).filter(Boolean).filter(n=>n&&n.visible!==!1)}function uv(e,t){return e.filter(n=>{let r=t.get(n);return r?r.type!=="RECTANGLE":!0})}function cv(e,t,n,r){let o=e(Zu),i=NK(t,n),{renderOptions:s}=r,a=i.filter(d=>d.type==="FRAME");if(r.env==="server")return a.sort((d,f)=>d.size.x-f.size.x).map(d=>d.id);let u=GS(a,s),c=yK(u,o);return c?[c.nodeId]:[]}function GS(e,t){let n={breakpoints:[]};for(let r of e){let o="white";r.fills.every(a=>a.type==="SOLID")&&(o=VE(r.fills,t)??o);let s=r.name;n.breakpoints.push({nodeId:r.id,pageId:"",name:s,width:r.size.x,background:o})}return n.breakpoints.sort((r,o)=>o.width-r.width),n}function yK(e,t){let{breakpoints:n}=e;return t?n.find(r=>r.width<=t)??n[n.length-1]:n[0]}function dv(e,t,n,r){let o={...Ri(t),type:"INSTANCE",id:e.id,name:n?.name??t.name,mainComponentId:t.id,componentProperties:e.componentProperties,componentPropertyReferences:e.componentPropertyReferences,componentSetId:e.componentSetId,overrides:[]};for(let i of bK)i==="visible"&&r||(i in e?o[i]=e[i]:delete o[i]);return o}var bK=["constraints","constraintValues","layoutAlign","layoutGrow","gridColumnAnchorIndex","gridRowAnchorIndex","gridColumnSpan","gridRowSpan","layoutPositioning","relativeTransform","overrides","absoluteBoundingBox","isolatedAbsoluteRenderBounds","visible","scrollBehavior","maybeAnimateRotation"];function fv(e,t,n){if(t?.value?.mainComponentId)return!0;let r=e.componentPropertyReferences?.mainComponent;if(r){let o=n?.[r];if(o&&!("isDefault"in o&&o.isDefault))return!0}return!1}function pv(e,t,n,r,o,i,s){let a=t.mainComponentId,l,u=t.componentPropertyReferences?.mainComponent;if(u&&i?.[u])s?a=s:a=i[u].value;else if(t.componentSetId){l=n.get(t.componentSetId);let f=o.instanceState.backingComponentId.get(e,r);if(f)a=f;else if(t.componentProperties&&l.type==="COMPONENT_SET"){let p=l.children.map(h=>n.get(h)),_=Object.entries(l.componentPropertyDefinitions??{}).map(([h,m])=>{if(m.type!=="VARIANT")return;let E=t.componentProperties[h];if(!E){console.warn(`missing component property on instance for node ${t.id}`);return}if(E.type==="SLOT")return;let O=E.type==="TEXT"?E.value.characters:E.value,g="boundVariables"in E?E.boundVariables:void 0,I=O;if(g?.value&&(I=o.variableState.evaluateVariable(e,g.value.id,r)),typeof I=="boolean"&&m.variantOptions){let S=m.variantOptions.map(A=>A.toLowerCase());if(I===!0){let A=m.variantOptions.find((R,y)=>S[y]==="true");A&&(I=A)}else if(I===!1){let A=m.variantOptions.find((R,y)=>S[y]==="false");A&&(I=A)}}return I=m.variantOptions?.includes(String(I))?I:m.defaultValue,`${h}=${String(I)}`}).filter(Boolean).join(", "),T=p.find(h=>h.name===_);T&&(a=T.id)}}let c=n.get(a);return{componentSet:l,component:c}}function mv(e,t,n){if(e.type==="TEXT"&&"styleIdForText"in e.style&&e.style.styleIdForText){let r=e.style.styleIdForText,o=n.get(r);if(o){let i=t.get(o);i.type==="STYLE"&&i.styleType==="TEXT"&&Object.assign(e.style,Ri(i.style))}}}function kS(e,t){if(!t||!("componentPropertyReferences"in e)||!e.componentPropertyReferences)return;let n=e.componentPropertyReferences;for(let[r,o]of Object.entries(n)){if(t[o]===void 0){let a=LK(o);for(let[l,u]of Object.entries(t))if(l.startsWith(a)){e[r]=u.value;break}continue}let i=t[o],s="boundVariables"in i?i.boundVariables?.value:void 0;if(s){let a=e;a.boundVariables||(a.boundVariables={}),a.boundVariables[r]=s}if(i.type==="IMAGE"){console.warn(`Attempted to apply image prop on node ${e.id}`);continue}if(r==="characters")if(i.type==="TEXT")for(let[a,l]of Object.entries(i.value))e[a]=l;else e[r]=String(i.value);else e[r]=i.value}}function LK(e){let t=e.lastIndexOf("#");return e.slice(0,t+1)}function FS(e){if(e.startsWith("I")&&e.includes(";")){let t=e.split(";");if(t.length===2&&t[1])return t[1]}return e}function Ev(e){let t={},n=e.split(",").map(r=>r.trim());for(let r of n){let o=r.indexOf("=");if(o>0){let i=r.slice(0,o).trim(),s=r.slice(o+1).trim();t[i]=s}}return t}function CK(e,t){let n=new Map;if(!e.mainComponentId)return n;for(let r of e.overrides)if("componentProperties"in r.value&&"mainComponentId"in r.value){let i=t.get(r.value.mainComponentId).componentSetId;if(i)for(let[s,a]of Io(r.value.componentProperties)){let l=n.get(i);l?l.set(s,a.value):n.set(i,new Map([[s,a.value]]))}}return n}function PK(e){return"componentProperties"in e&&e.componentProperties!==void 0&&"componentSetId"in e&&e.componentSetId!==void 0}function DK(e,t,n,r){for(let o of n){let i=r.get(o)||new Map;i.set(e,t),r.set(o,i)}}function vK(e,t,n,r){let o=t.get(e.componentSetId);if(o)for(let[i,s]of Io(e.componentProperties))for(let[a,l]of o)Ue(s.value,l)&&Ue(i,a)&&DK(i,s.value,n,r)}function xK(e,t,n,r){if(!("children"in e)||!e.children||!t.size)return;let o=new Set,i=a=>
8648{if(a.type==="INSTANCE"&&a.componentSetId&&t.has(a.componentSetId)){o.add(a.id);return}if("children"in a&&a.children)for(let l of a.children){let u=FS(l);i(n.get(u))}};e.componentSetId&&i(n.get(e.componentSetId));function s(a){if(PK(a)&&vK(a,t,o,r),"children"in a&&a.children)for(let l of a.children){let u=FS(l),c=n.get(u);s(c)}}for(let a of e.children){let l=FS(a),u=n.get(l);s(u)}}function MK(e,t,n,r,o){if(!("children"in e)||!o.has(t.id))return;let i=o.get(t.id),s=new Map;for(let[u,c]of Io(t.componentProperties))i?.has(u)||s.set(u,c.value);let a=Ev(n.name);for(let[u,c]of Io(a))s?.has(u)||s.set(u,c);let l=e.children||[];for(let u of l){let c=r.get(u),d=Ev(c.name),f=Object.fromEntries(s);if(Ue(f,d)&&o.has(t.id))return c}}function _v(e,t){let{nodeById:n,websiteContext:{inheritedVariantPropertiesCache:r,processedNodesCache:o}}=t,i=n.get(e),s=n.get(i.mainComponentId);if(!o.has(i.id)){let a=CK(i,n);xK(s,a,n,r),o.add(i.id)}}function Tv(e,t,n,r,o){let{component:i}=t,{componentSet:s}=t;if(!s||!("children"in s))return i;let a=o.get(e.id);if(a)return n.get(a);let l=n.get(e.mainComponentId),u=MK(s,e,l,n,r);return u&&(i=u),i}function wS(e,t,n,r){let o={...e(r.modeContextState),...t};if(!("explicitVariableModes"in n)||!n.explicitVariableModes)return o;let i={};for(let[s,a]of Object.entries(n.explicitVariableModes)){let l=hv(s,r)||s,u=r.variableState.getAssetKeyOrLocalGuid(l);i[l]=a,i[u]=a}for(let[s,a]of Object.entries(o)){let l=hv(s,r)||s;if(!l)continue;i[l]===void 0&&(i[l]=a);let u=r.variableState.getAssetKeyOrLocalGuid(l);i[u]===void 0&&(i[u]=a)}return i}function hv(e,t){try{if(!t.variableState.hasAssetId(e))return;let n=t.variableState.getCollectionInfo(e);return n?n.baseCollectionId:void 0}catch{return}}var GK=["minWidth","maxWidth","minHeight","maxHeight","itemSpacing","paddingLeft","paddingTop","paddingRight","paddingBottom","counterAxisSpacing","strokeWeight"];function YE(e,t=1,n=1){if(t===1)return;let r=e;for(let o of GK)r[o]!==void 0&&(r[o]*=t);if(r.size){let{x:o,y:i}=r.size;r.size={x:o*t,y:i*t}}if(r.rectangleCornerRadii&&(r.rectangleCornerRadii=r.rectangleCornerRadii.map(o=>o*t)),r.individualStrokeWeights&&(r.individualStrokeWeights=Object.fromEntries(Object.entries(r.individualStrokeWeights).map(([o,i])=>[o,i*t]))),r.effects)for(let o of r.effects)"radius"in o&&o.radius&&(o.radius*=t),(o.type==="DROP_SHADOW"||o.type==="INNER_SHADOW")&&(o.offset.x*=t,o.offset.y*=t);if(r.constraintValues){let o=t/n;r.constraintValues=Object.fromEntries(Object.entries(r.constraintValues).map(([i,s])=>[i,{...s,pixelOffset:s.pixelOffset*o}]))}r.style?.fontSize&&(r.style.fontSize=Math.round(r.style.fontSize*t*100)/100),r.style?.lineHeightPx&&(r.style.lineHeightPx*=t),r.absoluteBoundingBox&&(r.absoluteBoundingBox.width*=t,r.absoluteBoundingBox.height*=t)}function Ov(e,t,n){let r=e.componentPropertyReferences?.slotContentId;if(!r)return null;let o=n[r];if(!o||o.type!=="SLOT")return Me.reportError("Slot content node not found or not a slot"),null;if(!_E(o.value.guid))return Me.reportError("Invalid slot content node ID"),null;let i=t.get(ot(o.value.guid));return i.type!=="FRAME"?(Me.reportError("Expected slot content node to be a frame"),null):i}function gv(e,t){return{...e,size:t.size,relativeTransform:t.relativeTransform,children:t.children,isAssignedSlot:!0}}var Iv="I";function kK(e){return e.startsWith(Iv)}function rc(e){return kK(e)?e:`${Iv}${e}`}function KE(e){let t=fe(),n=(0,bs.useContext)(Lf),r=(0,bs.useRef)(),o=r.current,i=new Map,s=e.map(d=>{let f=d.keyWithOverrides??d.key,p=o?o.get(f):void 0;return(!p||!Ue(p.args,d))&&(p={args:d,value:FK(d,n,t)}),i.set(f,p),p.value}),a=Ns(s,Ue),l=(0,bs.useMemo)(()=>de(d=>{let f=a.map(d),p=[],_=[];return f.forEach(T=>{"errorMessage"in T?_.push(T):p.push(T)}),{nodes:p,errors:_}}),[a]),{nodes:u,errors:c}=Ae(l);return(0,bs.useEffect)(()=>(c.forEach(d=>{n.setMaterializationError(d.nodeId,d)}),()=>{c.forEach(d=>{n.setMaterializationError(d.nodeId)})}),[c,n]),r.current=i,u}function FK(e,t,n){return de(r=>{try{let o=Sv(e,r,n);return r(Cf)&&rv(o),o}catch(o){return o instanceof Error?(t.reportError(o,{"error-boundary-name":e.keyWithOverrides??e.key}),{nodeName:e.keyWithOverrides??e.key,nodeId:e.nodeId,errorMessage:o.message+` 8649`+o.stack}):{nodeName:e.keyWithOverrides??e.key,nodeId:e.nodeId,errorMessage:String(o)}}})}var wK={mainComponentId:!0,overrides:!0,componentProperties:!0,componentPropertyDefinitions:!0,componentSetId:!0,mainComponent:!0,overrideKey:!0};function Ja(e,t,n){return Sv(t,e,n)}var BK=600;function Sv(e,t,n){let{key:r,parentState:o,nodeById:i,animateRootIds:s,animateProps:a,assetIdToGuid:l,guidToUrl:u}=e,{autoLayoutTransitionAtom:c,transitionProps:d}=a??{},f=e.overrides,p=i.get(e.backingLayerId??e.nodeId),_=p,T=_.timelineOffset,h=_.outerTimelineDuration,m=T??e.ancestorTimelineOffsetSec,E=T!=null?h:e.ancestorOuterTimelineDurationSec;if(p.type==="SLOT"){let ce=Ov(p,i,e.componentProperties??{});ce&&(p=gv(p,ce))}let O=s.has(e.backingLayerId??e.nodeId),g=Ri(p),I,S,A=!1,R=!1;
8649"isInAnimateTree"in g&&g.isInAnimateTree&&(R=!0),e.parentPath?(S=[...e.parentPath,r],g.type==="INSTANCE"?I=[]:I=S):g.type==="INSTANCE"&&(I=[],S=[]),n.renderOptions.useFigmaComponents&&"componentPropertyReferences"in g&&g.componentPropertyReferences&&g.componentPropertyReferences.visible&&(g.visible=!0),kS(g,e.componentProperties);let y=g.type==="INSTANCE"?g.mainComponentId:void 0;if(A=BS(g,S,f,void 0,"uniformScaleFactor"in g?g.uniformScaleFactor:void 0,e.componentProperties)||A,g.type==="INSTANCE"&&g.mainComponentId&&g.mainComponentId!==y){let ce=i.get(g.mainComponentId);ce.type==="COMPONENT"&&ce.componentSetId&&(g.componentSetId=ce.componentSetId)}if(g.type==="INSTANCE"){let ce=g.overrides?.find(tt=>tt.key.length===0);ce&&Av(g,ce)}let b=o.getChildState(r,g,i,n.atomStore),L=b.instanceState.backingComponentId,{parentStates:D}=e;g.type==="INSTANCE"&&(D===null&&(D=new Map),"componentSetId"in g&&g.componentSetId&&(D=new Map(D),D.set(g.componentSetId,{backingComponentIdState:L,transitionAtom:b.transitionAtom,parentAutoLayoutTransitionAtom:c,stateResetHandlers:b.stateResetHandlers})));let F,U,N=!1;try{if(g.type==="INSTANCE"){p.type;let ce=wS(t,e.modeContext,g,b),tt=xf(S,f),pn=tt?.value?.mainComponentId??void 0,Ft=pv(t,g,i,ce,b,e.componentProperties,pn);if(U=Ft.component,U.isUnreachable){let sr=new ht("Component node was incorrectly marked for pruning");sr.errorDetail=`instanceId: ${g.id}, componentId: ${U.id}`,Me.reportError(sr)}g.componentSetId&&s.has(g.componentSetId)&&(N=!0),U=Tv(g,{component:Ft.component,componentSet:Ft.componentSet},i,n.inheritedVariantPropertiesCache,n.computedVariantCache);let Cr=fv(g,tt,e.componentProperties);g=dv(g,U,Ft.componentSet?.type==="COMPONENT_SET"?Ft.componentSet:void 0,Cr),kS(g,e.componentProperties),Cr&&y!==g.mainComponentId&&(yv(g,p),bv(g,p,tt)),A=BS(g,I,_o(g.overrides,{nodeId:g.id}),{backingComponent:U,nodeById:i},"uniformScaleFactor"in p?p.uniformScaleFactor:void 0,g.componentProperties)||A}g=DD(g),mv(g,i,l),F=wS(t,e.modeContext,g,b),A=iv(t,g,b.variableState,F,n.renderOptions)||A,UK(t,g,e.nodeId,e.stablePathToAssetInfo,e.stablePathToConstraints,n.websiteData.assets),PD(g,b.cmsDataState,u),A&&g.type==="SVG"&&(g.isDynamic=!0)}catch(ce){throw console.error("Materialization error",ce),new te("Materialization error",ce)}Pv(g);let K={websiteContext:n,node:g,sourceStablePath:HK(g),variableState:b.variableState,backingComponentIdState:L,parentStates:D,transitionAtom:b.transitionAtom,nodeById:i,modeContext:F},C=VS(K),M=C?.length?Lv(t,K,C):void 0,P=Cv(t,b.transitionAtom,b.autoLayoutTransitionAtom),{disableBehaviors:z,disableImageOptimization:Ee,renderComponentSetNodes:pe}=n.renderOptions,ye=g;ye.timelineOffset==null&&m!=null&&(ye.timelineOffset=m,ye.outerTimelineDuration=E);let Le=US(g,ce=>i.get(ce)),We=cD(N,O,!!z,d),De={transitionData:P??d?.transitionData,smartAnimateType:We},ae=O||R?c??b.autoLayoutTransitionAtom:void 0,Oe=e.rootOffset??("absoluteBoundingBox"in g?{x:g.absoluteBoundingBox.x,y:g.absoluteBoundingBox.y}:void 0),oe=[];if("children"in g&&Array.isArray(g.children)){let ce=g.children,tt,{isFigmake:pn}=n;uS(p)&&(ce=cv(t,ce,i,n),tt=ce);let Ft=g.type==="FRAME"&&e.breakpointWidth!==void 0&&"size"in g&&Math.abs(g.size.x-e.breakpointWidth)<1;pn&&Ft&&(ce=uv(ce,i));let Cr=g.type==="INSTANCE"?Rv(g,{backingComponent:U,nodeById:i},_o(g.overrides,{nodeId:g.id})):f,sr=Cr?.filter(Dr=>Dr.value.name!==void 0),Yi=VK(e.stablePathPrefix,g),md=new Map,Pr=new Map,ca=[];for(let Dr=0;Dr<ce.length;Dr++){let Ki=ce[Dr],zi=tt?tt[Dr]:void 0,vr=i.get(Ki),Xi=vr.name,Lp=vr.overrideKey,Cp=uS(p)&&vr.type==="FRAME",ni=Cp?vr.size.x:void 0,Hl=Oe;if(Cp)Hl={x:vr.absoluteBoundingBox.x,y:vr.absoluteBoundingBox.y};else if(g.type==="INSTANCE"){let Dp={x:Oe.x-g.absoluteBoundingBox.x,y:Oe.y-g.absoluteBoundingBox.y};Hl={x:U.absoluteBoundingBox.x+Dp.x,y:U.absoluteBoundingBox.y+Dp.y}}let Pp=md.get(Xi)??0;md.set(Xi,Pp+1);let uO=oc(Xi,Pp,g),Ed=sr?Nv([...I??[],uO],sr)??Xi:Xi,Wl=Pr.get(Ed)??0;Pr.set(Ed,Wl+1);let da=Yi?Yi.concat(";",Lp??Ki):Ki;ca.push(da||Ki);let cO=(e.uniformScaleFactor||1)*("uniformScaleFactor"in vr&&vr.uniformScaleFactor?vr.uniformScaleFactor:1);oe.push({key:uO,keyWithOverrides:oc(Ed,Wl,g),parentState:b,nodeId:da,stablePathPrefix:Yi,backingLayerId:Ki,modeContext:F,parentPath:I,preexpandedNodeId:zi,nodeById:i,assets:e.assets,assetIdToGuid:l,guidToUrl:u,animateRootIds:s,stablePathToAssetInfo:e.stablePathToAssetInfo,stablePathToConstraints:e.stablePathToConstraints,overrides:Cr,componentProperties:g.type==="INSTANCE"||g.type==="CODE_INSTANCE"||g.type==="CODE_LAYER"?g.componentProperties:e.componentProperties,parentStates:D,animateProps:{transitionProps:De,autoLayoutTransitionAtom:ae},uniformScaleFactor:cO,breakpointWidth:ni??e.breakpointWidth,rootOffset:Hl,ancestorTimelineOffsetSec:m,ancestorOuterTimelineDurationSec:E})}g.children=ca}let ft=YK(t,e.assets,g),et=WK(g,wK),he=et.type==="COMPONENT"||et.type==="INSTANCE"?et.type:void 0;he&&(et.type="FRAME");let Ge=OE(et),Ye=Ge.type;return`${Ye}`,Object.assign(Ge,{materializedChildNodeProps:oe,transitionProps:De,interactions:C,interactionHandlers:M,
8649key:e.keyWithOverrides??e.key,variableState:b.variableState,modeContext:F,keyframeData:Le,transitionOverrides:g.transitionOverrides,assets:ft}),(g.type==="CODE_INSTANCE"||g.type==="CODE_LAYER")&&Object.assign(Ge,{componentProperties:g.componentProperties}),(Ge.type==="RECTANGLE"||Ge.type==="IMAGE"||Ge.type==="FRAME"||Ge.type==="SVG")&&!Ee&&ft&&Object.values(ft).length&&(e.breakpointWidth,Ge.lazyLoad=Ge.absoluteBoundingBox.x>Oe.x+e.breakpointWidth||Ge.absoluteBoundingBox.y>Oe.y+BK),he&&Object.assign(Ge,{originalType:he}),ID(Ge),YE(Ge,e.uniformScaleFactor,"uniformScaleFactor"in p?p.uniformScaleFactor:void 0),Ge}function oc(e,t,n){return n?.type==="WEBPAGE"?"":e+t}function UK(e,t,n,r,o,i){if(!n.includes("I"))return;t.id=n;let s=o.get(n);if(s&&"constraintValues"in t&&(t.constraintValues=s),t.type==="SVG"||t.type==="IMAGE"){let a=r.get(n),l=a?.hash;if(l){let u=i.get(l);if(u){let c=e(u);c&&c.type==="GENERATED_ASSET"&&(t.hash=l,t.type=c?.format==="SVG"?"SVG":"IMAGE")}}a?.constraintValues&&(t.constraintValues=a.constraintValues)}}function VK(e,t){if(e)return t.type==="INSTANCE"||t.type==="SLOT"&&t.isAssignedSlot?rc(t.id):e;if(t.type==="INSTANCE")return rc(t.id)}function HK(e){return e.type==="INSTANCE"?rc(e.id):e.id}function WK(e,t){let n={...e};for(let r in t)delete n[r];return n}
8649function YK(e,t,n){let r,o=i=>{let s=t.get(i),a=e(s);r=r??{},r[i]=a};if("fills"in n)for(let i of n.fills)i.visible!==!1&&(i.type==="IMAGE"&&o(PE(i)),i.type==="VIDEO"&&o(i.videoRef));if("hash"in n&&o(n.hash),"behaviors"in n){let i=vS(n.behaviors);if(i&&o(i),n?.behaviors?.code!==void 0)for(let s of n.behaviors.code)for(let[a,l]of Object.entries(s.assignments))typeof l=="object"&&l.image!==null&&(o(l.image),l.animatedImage!==null&&o(l.animatedImage))}if("componentProperties"in n)for(let i of Object.values(n.componentProperties))i.type==="IMAGE"&&i.value.image&&(o(i.value.image),i.value.animatedImage!==null&&o(i.value.animatedImage));if("styleOverrideTable"in n){for(let i of Object.values(n.styleOverrideTable))if(i.fills)for(let s of i.fills)s.visible!==!1&&s.type==="IMAGE"&&o(PE(s))}return"effectSvgFileName"in n&&typeof n.effectSvgFileName=="string"&&o(n.effectSvgFileName.replace(".svg","")),r}function Rv(e,t,n){if(!n)return;let r=Mv(e,t),o=[];for(let i of n){if(i.key.length===0)continue;let s=Dv(i.key,e,t.nodeById),a=i.key,l=!1;if(!s){let d=i.key[i.key.length-1];let f=zK(d,e,t.nodeById);f&&(s=f.node,a=f.key,l=!0)}if(!s)continue;let u={key:a,value:i.value,componentId:i.componentId};if(r){u.value={};let d=Dv(i.key,r,t.nodeById);if(d===void 0){let f=new ht("No node in variant for override");f.errorDetail=JSON.stringify({overrideKey:i.key,nodeId:e.id,nodeName:e.name,variantId:r.id,variantName:r.name}),Me.reportError(f);continue}for(let[f,p]of Io(i.value)){let _=YS(f,p,s,d);_!==void 0&&(u.value[f]=_)}}let c=o.findIndex(d=>Ue(d.key,a));if(c>-1){let d=o[c];l?u.value=HS(u,d):u.value=HS(d,u),o[c]=u}else o.push(u)}return o}function xf(e,t){if(!(!t||!e))return t.find(n=>Ue(n.key,e))}var Io=e=>Object.entries(e);function xv(e,t){let n=e.filter(o=>ot(o.id)!==Ze),r=t.filter(o=>o.isDeleted).map(o=>ot(o.id));return n=n.filter(o=>!r.includes(ot(o.id))),t.forEach(o=>{if(o.isDeleted)return;let i=n.findIndex(s=>ot(s.id)===ot(o.id));i===-1?n.push(o):n[i]=o}),n}function BS(e,t,n,r,o=1,i){if(!t||!n)return!1;let s=xf(t,n);if(s?.value===void 0)return!1;let a=o!==0?1/o:1;YE(s.value,a,a);let l=Mv(e,r);for(let[u,c]of Io(s.value))XK(u,e,i)||(e.type==="INSTANCE"&&u==="overrides"?c=WS(_o(e.overrides,{nodeId:e.id}),_o(c,{nodePath:t})):u==="interactions"&&"interactions"in e&&(c=xv(e.interactions??[],c)),!(e.type==="INSTANCE"&&l&&(c=YS(u,c,r.backingComponent,l),c===void 0))&&(c===null?delete e[u]:e[u]=c));return!0}function Av(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 n in e.componentProperties){let r=e.componentProperties[n];r&&"boundVariables"in r&&r?.boundVariables&&delete r.boundVariables}else if(t.value.boundVariables?.componentProperties)for(let n in e.componentProperties){let r=e.componentProperties[n];let i=t.value.boundVariables.componentProperties[n];i&&"boundVariables"in r&&(r.boundVariables={value:i})}}function HS(e,t){let n=e.value,r=t?.value||{},o={...n,...r};return"overrides"in n&&"overrides"in r&&(o.overrides=WS(_o(n.overrides,{overrideId:n.id,overrideKey:n.overrideKey}),_o(r.overrides,{overrideId:r.id,overrideKey:r.overrideKey}))),"interactions"in n&&"interactions"in r&&(o.interactions=xv(n.interactions??[],r.interactions??[])),o}function WS(e,t){if(!e)return t;if(!t)return e;if(e&&t){let n=[];for(let r of e){let o=xf(r.key,t);n.push({key:r.key,componentId:o?.componentId??r.componentId,value:HS(r,o)})}for(let r of t)xf(r.key,n)||n.push(r);return n}}var KK=new Set(["characters","characterStyleOverrides","styleOverrideTable","lineTypes","lineIndentations","fontSize","letterSpacing","lineHeight","fontStyle","fontVariations","inheritTextStyleId","lineStyleOverrides","resolvedParagraphValues"]);function YS(e,t,n,r){if(e==="name")return t;if(e==="interactions"){let o=e in r?r.interactions??[]:[],i=new Set(o.map(a=>ot(a.id)??Ze));return i.add(Ze),t.filter(a=>!i.has(ot(a.id)??Ze))}else if(e==="size"&&e in n&&e in r){let o=t;return{x:n.size.x===r.size.x?o.x:n.size.x,y:n.size.y===r.size.y?o.y:n.size.y}}else{if(e==="componentProperties")return t;if(e==="overrides"&&e in n&&e in r){let o=[];for(let i of _o(t,{newNodeId:n.id,origNodeId:r.id})){let s=n.overrides.find(c=>Ue(c.key,i.key)),a=r.overrides.find(c=>Ue(c.key,i.key));if(!s||!a){o.push(i);continue}let l={key:i.key,value:{},componentId:i.componentId},u=!1;for(let[c,d]of Io(i.value))d=YS(c,d,s.value,a.value),d!==void 0&&(l.value[c]=d,u=!0);u&&o.push(l)}return o}else if(KK.has(e))return t}if(Ue(n[e],r[e]))return t}function Mv(e,t){if(!(e.type==="INSTANCE"&&t&&e.componentSetId))return;let n=t.nodeById.get(e.componentSetId);n!==void 0&&n.type;let r=Io(e.componentProperties).map(([o,i])=>i.type!=="VARIANT"?void 0:`${o}
8649=${String(i.value)}`).filter(Boolean).join(", ");if(r&&t.backingComponent.name!==r){for(let o of n.children){let i=t.nodeById.get(o);if(i.name===r)return i}console.warn("Could not find initial variant for instance",e.id)}}function Gv(e,t){return e.type==="FRAME"||e.type==="SLOT"||e.type==="GROUP"||e.type==="INSTANCE"&&t.id===e.id||e.type==="COMPONENT"&&t.id===e.id||e.type==="REPEATER"}function Dv(e,t,n){let r=t;for(let o of e){if(!r||!Gv(r,t))return;let i=r.children.map(a=>n.get(a));r=void 0;let s=new Map;for(let a=0;a<i.length;++a){let l=i[a];let u=s.get(l.name)??0;s.set(l.name,u+1);let c=oc(l.name,u);if(o===c){r=l;break}}}return r}function zK(e,t,n){let r=[{key:[],node:t}],o=new Map;for(;r.length>0;){let i=r.pop();let s=o.get(i.node.name)??0;if(oc(i.node.name,s)===e)return i;if(o.set(i.node.name,s+1),!Gv(i.node,t))continue;let a=i.node.children.map(c=>n.get(c)),l=new Map,u=[];a.forEach(c=>{let d=l.get(c.name)??0;l.set(c.name,d+1),u.push({key:[...i.key,oc(c.name,d)],node:c})}),r.push(...u.reverse())}}function Nv(e,t){for(let n of t)if(n.value.name!==void 0&&n.value.name!==null&&Ue(n.key,e))return n.value.name}function yv(e,t){let n=e.overrides?.find(r=>r.key.length===0);if(n&&n.value.size){let r=n.value.size,o="uniformScaleFactor"in t?t.uniformScaleFactor:void 0,i=o?{x:r.x/o,y:r.y/o}:r;e.size=i}}function vv(e,t){return e?.filter(n=>n.componentId===t)??[]}function bv(e,t,n){let r=vv(_o(t.overrides),e.mainComponentId),o=n?.value?.overrides?vv(_o(n.value.overrides),e.mainComponentId):void 0;e.overrides=WS(r,o)??[]}function XK(e,t,n){if(!n||!("componentPropertyReferences"in t))return!1;let r=t.componentPropertyReferences?.[e];if(!r)return!1;let o=n[r];return o===void 0?!1:!("isDefault"in o&&o.isDefault)}var jK={E5FBBA911B2B7A09E649D4BE6CDF8591EAEFC881:!1};function zE(e){return e&&e.E5FBBA911B2B7A09E649D4BE6CDF8591EAEFC881!==void 0?e.E5FBBA911B2B7A09E649D4BE6CDF8591EAEFC881:jK.E5FBBA911B2B7A09E649D4BE6CDF8591EAEFC881}function ic(e,t){throw new Error(t??`Uncaught type ${JSON.stringify(e)}`)}function kv(e,t,...n){typeof FIGBUILD_PROD=="boolean"&&!FIGBUILD_PROD&&!e&&console.error(`Failed assertion: ${t}`,...n)}var $K={"size.x":"WIDTH","size.y":"HEIGHT",minWidth:"MIN_WIDTH",maxWidth:"MAX_WIDTH",minHeight:"MIN_HEIGHT",maxHeight:"MAX_HEIGHT",opacity:"OPACITY",visible:"VISIBLE",cornerRadius:"CORNER_RADIUS",topLeftRadius:"RECTANGLE_TOP_LEFT_CORNER_RADIUS",topRightRadius:"RECTANGLE_TOP_RIGHT_CORNER_RADIUS",bottomLeftRadius:"RECTANGLE_BOTTOM_LEFT_CORNER_RADIUS",bottomRightRadius:"RECTANGLE_BOTTOM_RIGHT_CORNER_RADIUS","rectangleCornerRadii.RECTANGLE_TOP_LEFT_CORNER_RADIUS":"RECTANGLE_TOP_LEFT_CORNER_RADIUS","rectangleCornerRadii.RECTANGLE_TOP_RIGHT_CORNER_RADIUS":"RECTANGLE_TOP_RIGHT_CORNER_RADIUS","rectangleCornerRadii.RECTANGLE_BOTTOM_LEFT_CORNER_RADIUS":"RECTANGLE_BOTTOM_LEFT_CORNER_RADIUS","rectangleCornerRadii.RECTANGLE_BOTTOM_RIGHT_CORNER_RADIUS":"RECTANGLE_BOTTOM_RIGHT_CORNER_RADIUS","individualStrokeWeights.BORDER_TOP_WEIGHT":"BORDER_TOP_WEIGHT","individualStrokeWeights.BORDER_RIGHT_WEIGHT":"BORDER_RIGHT_WEIGHT","individualStrokeWeights.BORDER_BOTTOM_WEIGHT":"BORDER_BOTTOM_WEIGHT","individualStrokeWeights.BORDER_LEFT_WEIGHT":"BORDER_LEFT_WEIGHT",paddingLeft:"STACK_PADDING_LEFT",paddingRight:"STACK_PADDING_RIGHT",paddingTop:"STACK_PADDING_TOP",paddingBottom:"STACK_PADDING_BOTTOM",itemSpacing:"STACK_SPACING",counterAxisSpacing:"STACK_COUNTER_SPACING",rotation:"MOTION_ROTATION",translationX:"MOTION_TRANSLATION_X",translationY:"MOTION_TRANSLATION_Y",translationXY:"MOTION_TRANSLATION_XY",scaleX:"MOTION_SCALE_X",scaleY:"MOTION_SCALE_Y",scaleXY:"MOTION_SCALE_XY",shear:"MOTION_SHEAR",fontSize:"FONT_SIZE",letterSpacing:"LETTER_SPACING",lineHeight:"LINE_HEIGHT",paragraphSpacing:"PARAGRAPH_SPACING",paragraphIndent:"PARAGRAPH_INDENT",characters:"TEXT_DATA",fills:"fills",strokes:"strokes"};function ZK(e){let t=[];if(!e.boundKeyframes)return[];for(let[n,r]of Object.entries(e.boundKeyframes))if(!(!r||typeof r!="object"))if("type"in r&&r.type==="EXPRESSION")t.push([n,r]);else if(Array.isArray(r)){let o=r[0];o&&typeof o=="object"&&"type"in o&&o.type==="EXPRESSION"&&t.push([n,o]
8649)}else for(let[o,i]of Object.entries(r))i&&typeof i=="object"&&i.type==="EXPRESSION"&&t.push([`${n}.${o}`,i]);return t}function JK(e,t){let n=t(e);if(!n||n.type!=="KEYFRAME_TRACK")return null;let r=n.children??[],o=[];for(let i of r){let s=t(i);!s||s.type!=="KEYFRAME"||o.push(s)}return{id:n.id,keyframes:o,keyframeOperation:n.keyframeOperation}}function US(e,t){let n={},r=ZK(e);if(r.length===0)return{};if(!e.timelineDuration)return{};let o=Math.round(e.timelineDuration*1e6),i=e,s=i.timelineOffset?Math.round(i.timelineOffset*1e6):0,a=i.outerTimelineDuration?Math.round(i.outerTimelineDuration*1e6):o;for(let[l,u]of r){let c=$K[l];if(!c)continue;let d=u.expressionArguments[0],f=u.expressionArguments[1],p=[];for(let _ of f.value.parameters){let T=JK(_.keyframeTrack,t);if(!T)continue;let h=T.keyframes.map(m=>{let E,O=m.easing,{type:g}=O;switch(g){case"CUSTOM_BEZIER":case"CUSTOM_CUBIC":E={type:"BEZIER",value:O.value};break;case"CUSTOM_SPRING":E={type:"SPRING",value:O.value};break;case"EASE_IN":E={type:"BEZIER",value:{p1x:.42,p1y:0,p2x:1,p2y:1}};break;case"EASE_OUT":E={type:"BEZIER",value:{p1x:0,p1y:0,p2x:.58,p2y:1}};break;case"EASE_IN_AND_OUT":E={type:"BEZIER",value:{p1x:.42,p1y:0,p2x:.58,p2y:1}};break;case"LINEAR":E={type:"LINEAR"};break;case"EASE_IN_BACK":E={type:"BEZIER",value:{p1x:.3,p1y:-.05,p2x:.7,p2y:-.5}};break;case"EASE_OUT_BACK":E={type:"BEZIER",value:{p1x:.45,p1y:1.45,p2x:.8,p2y:1}};break;case"EASE_IN_AND_OUT_BACK":E={type:"BEZIER",value:{p1x:.7,p1y:-.4,p2x:.4,p2y:1.4}};break;case"GENTLE":E={type:"SPRING",value:{mass:1,stiffness:100,damping:15}};break;case"QUICK":E={type:"SPRING",value:{mass:1,stiffness:300,damping:20}};break;case"BOUNCY":E={type:"SPRING",value:{mass:1,stiffness:600,damping:15}};break;case"SLOW":E={type:"SPRING",value:{mass:1,stiffness:80,damping:20}};break;case"SPRING":E={type:"SPRING",value:{mass:1,stiffness:100,damping:15}};break;case"HOLD":E={type:"HOLD"};break;default:ic(g)}return{...m,easing:E,timelinePosition:Math.round(m.timelinePosition*1e6)}});p.push({...T,keyframes:h})}if(p.length>0){let _={baseValue:d,tracks:p,timelineDuration:a,...s!==0?{accumulatedAncestorOffsetMicros:s}:{}};c==="fills"||c==="strokes"?n[c]={0:_}:n[c]=_}}return qK(n),n}function Fv(e,t){let n=e.baseValue;return{...e,baseValue:{type:"FLOAT",value:n.type==="VECTOR"?n.value[t]:0},tracks:e.tracks.map(r=>({...r,keyframes:r.keyframes.map(o=>({...o,value:{type:"FLOAT",value:o.value.type==="VECTOR"?o.value.value[t]:0}}))}))}}function qK(e){let t=e,n=[{vec:"MOTION_TRANSLATION_XY",x:"MOTION_TRANSLATION_X",y:"MOTION_TRANSLATION_Y"},{vec:"MOTION_SCALE_XY",x:"MOTION_SCALE_X",y:"MOTION_SCALE_Y"}];for(let r of n){let o=t[r.vec];o&&o.baseValue.type==="VECTOR"&&(t[r.x]||(t[r.x]=Fv(o,"x")),t[r.y]||(t[r.y]=Fv(o,"y")),delete t[r.vec])}}var QK={motion:"easeInOut",css:"ease-in-out"},e5=[1,100,15],t5=On.OUT_CUBIC,wv=.3;function Bv(e,t){let n=ho(t);if(n)return{ease:n.ease};let r=e.easingType??t5,[o,i,s]=e.easingFunction&&e.easingFunction.length>=3?e.easingFunction:e5;switch(r){case On.LINEAR:return{ease:"linear"};case On.IN_CUBIC:return{ease:"easeIn"};case On.OUT_CUBIC:return{ease:"easeOut"};case On.INOUT_CUBIC:return{ease:"easeInOut"};case On.IN_BACK_CUBIC:return{ease:"backIn"};case On.OUT_BACK_CUBIC:return{ease:"backOut"};case On.INOUT_BACK_CUBIC:return{ease:"backInOut"};case On.CUSTOM_CUBIC:return{ease:e.easingFunction?e.easingFunction:QK.motion};case On.SPRING:case On.CUSTOM_SPRING:case On.GENTLE_SPRING:case On.SPRING_PRESET_ONE:case On.SPRING_PRESET_TWO:case On.SPRING_PRESET_THREE:return{type:"spring",stiffness:i,damping:s,mass:o}}}var be=function(e){return 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",e}({});function zu(e){return(t,n)=>e?`${e instanceof Q?e.value:e} ${n}`:n}var n5=new Set(Object.values(be));function r5(e){let t=[],n=e.filter(o=>o!==void 0),r=n.reduce((o,i)=>({...o,...i}));for(let o of n)for(let[i,s]of Io(o))if(i==="variants")for(let a in s)n5.has(a)?Ue(r.variants?.[a],s[a])||t.pu
8649sh(`variants: ${a} has been overwritten`):t.push(`variants: ${a} is not a valid variant`);else Ue(r[i],s)||t.push(`prop "${i}" has been overwritten`);return t}function Uv(e,t){if(zE(t.labs))return;let n=r5(e);n.length,`${n.join(", ")}`}Fe();var Fne={allowImageLasso:!1,allowsPDFImport:!1,canCreateCodeLayerFromDesign:!1,editorType:Hv.DESIGN,enabledDakota:!1,enabledFigmake:!1,enabledMakeInDesign:!1,enabledSites:!1,hasTextSuggestionsPermission:!1,isCooper:!1,isSlides:!1,supportsPrintMarks:!1,supportsRulerUnitChange:!1,toggleTimelineKeyframe:!1},wne={canHideUI:!0,canRedo:!1,canUndo:!1,collabToolsInDesign:!1,currentTool:Wv.NONE,editMode:Vv.DESIGN_LAYOUT,fileKeyIsValid:!1,hasActiveCanvas:!1,hasActiveDocument:!1,inBranchFile:!1,interopToolMode:0,isAiDisabled:!1,isAiDisabledFigJam:!1,isFocusModeActive:!1,isLayoutEditMode:!0,isReadOnly:!1,isRecording:!1,isRunningInteractionTests:!1,isSelectionMode:!0,isSelectionValidForSelectAllMatching:!1,isShapeEditMode:!0,isUndoRedoAllowed:!1,isUserLoggedIn:!1,toolsV2Enabled:!1,topLevelMode:0};Fe();function KS(e){return e}(function(e){e.INVALID=e("");function t(n){return n}e.toString=t})(KS||(KS={}));function Yv(e){return e}(function(e){e.INVALID=e("");function t(n){return n}e.toString=t})(Yv||(Yv={}));function Kv(e){return e}(function(e){e.INVALID=e("");function t(n){return n}e.toString=t})(Kv||(Kv={}));function zv(e){return e}(function(e){e.INVALID=e("");function t(n){return n}e.toString=t})(zv||(zv={}));function Xv(e){return e}(function(e){e.INVALID=e("");function t(n){return n}e.toString=t})(Xv||(Xv={}));function jv(e){return e}(function(e){e.INVALID=e("");function t(n){return n}e.toString=t})(jv||(jv={}));function $v(e){return e}(function(e){e.INVALID=e("");function t(n){return n}e.toString=t})($v||($v={}));function Zv(e){return e}(function(e){e.INVALID=e("");function t(n){return n}e.toString=t})(Zv||(Zv={}));function Jv(e){return e}(function(e){e.INVALID=e("");function t(n){return n}e.toString=t})(Jv||(Jv={}));function qv(e){return e}(function(e){e.INVALID=e("");function t(n){return n}e.toString=t})(qv||(qv={}));function Qv(e){return e}(function(e){e.INVALID=e("");function t(n){return n}e.toString=t})(Qv||(Qv={}));function ex(e){return e}(function(e){e.INVALID=e("");function t(n){return n}e.toString=t})(ex||(ex={}));function tx(e){return e}(function(e){e.INVALID=e("");function t(n){return n}e.toString=t})(tx||(tx={}));function nx(e){return e}(function(e){e.INVALID=e("");function t(n){return n}e.toString=t})(nx||(nx={}));function rx(e){return e}(function(e){e.INVALID=e("");function t(n){return n}e.toString=t})(rx||(rx={}));function ox(e){return e}(function(e){e.INVALID=e("");function t(n){return n}e.toString=t})(ox||(ox={}));function ix(e){return e}(function(e){e.INVALID=e("");function t(n){return n}e.toString=t})(ix||(ix={}));function sx(e){return e}(function(e){e.INVALID=e("");function t(n){return n}e.toString=t})(sx||(sx={}));function zS(e){return e}(function(e){e.INVALID=e("");function t(n){return n}e.toString=t})(zS||(zS={}));function ax(e){return e}(function(e){e.INVALID=e("");function t(n){return n}e.toString=t})(ax||(ax={}));function lx(e){return e}(function(e){e.INVALID=e("");function t(n){return n}e.toString=t})(lx||(lx={}));function ux(e){return e}(function(e){e.INVALID=e("");function t(n){return n}e.toString=t})(ux||(ux={}));function cx(e){return e}(function(e){e.INVALID=e("");function t(n){return n}e.toString=t})(cx||(cx={}));function dx(e){return e}(function(e){e.INVALID=e(""),e.DUMMY=e("-1:-1");function t(n){return n}e.toString=t})(dx||(dx={}));function fx(e){return e}(function(e){e.INVALID=e("");function t(n){return n}e.toString=t})(fx||(fx={}));function px(e){return e}(function(e){e.INVALID=e(""),e.DUMMY=e("-1:-1");function t(n){return n}e.toString=t})(px||(px={}));function mx(e){return e}(function(e){e.INVALID=e("");function t(n){return n}e.toString=t})(mx||(mx={}));function Ex(e){return e}(function(e){e.INVALID=e("");function t(n){return n}e.toString=t})(Ex||(Ex={}));function _x(e){return e}(function(e){e.INVALID=e("");function t(n){return n}e.toString=t})(_x||(_x={}));function Tx(e){return e}(function(e){e.INVALID=e("");function t(n){return n}e.toString=t})(Tx||(Tx={}));function hx(e){return e}(function(e){e.INVALID=e("");function t(n){return n}e.toString=t})(hx||(hx={}));function Ox(e){return e}(function(e){e.INVALID=e("");function t(n){return n}e.toString=t})(Ox||(Ox={}));function gx(e){return e}(function(e){e.INVALID=e("");function t(n){return n}e.toString=t})(gx||(gx={}));function Ix(e){return e}(function(e){e.INVALID=e("");function t(n){return n}e.toString=t})(Ix||(Ix={}));function Sx(e){return e}(function(e){e.INVALID=e("");function t(n){return n}e.toString=t})(Sx||(Sx={}));function Rx(e){return e}(function(e){e.INVALID=e("");function t(n){return n}e.toString=t})(Rx||(Rx={}));(function(e){e.toString=Yt,e.fromString=Kt,e.fromKiwi=zt,e.isEqual=Xt,e.isValid=jt})(Ax||(Ax={}));(function(e){e.toString=Yt,e.fromString=Kt,e.fromKiwi=zt,e.isEqual=Xt,e.isValid=jt})(Nx||(Nx={}));(function(e){e.toString=Yt,e.fromString=Kt,e.fromKiwi=zt,e.isEqual=Xt,e.isValid=jt})(XE||(XE={}));(function(e){e.toString=Yt,e.fromString=Kt,e.fromKiwi=zt,e.isEqual=Xt,e.isValid=jt})(jE||(jE={}));(function(e){e.toString=Yt,e.fromString=Kt,e.fromKiwi=zt,e.isEqual=Xt,e.isValid=jt})($E||($E={}));(function(e){e.toString=Yt,e.fromString=Kt,e.fromKiwi=zt,e.isEqual=Xt,e.isValid=jt})(ZE||(ZE={}));(function(e){e.toString=Yt,e.fromString=Kt,e.fromKiwi=zt,e.isEqual=Xt,e.isValid=jt})(JE||(JE={}));(function(e){e.toString=Yt,e.fromString=Kt,e.fromKiwi=zt,e.isEqual=Xt,e.isValid=jt})(Mf||(Mf={}));(function(e){e.toString=Yt,e.fromString=Kt,e.fromKiwi=zt,e.isEqual=Xt,e.isValid=jt})(qE||(qE={}));(function(e){e.toString=Yt,e.fromString=Kt,e.fromKiwi=zt,e.isEqual=Xt,e.isValid=jt})(QE||(QE={}));(function(e){e.toString=Yt,e.fromString=Kt,e.fromKiwi=zt,e.isEqual=Xt,e.isValid=jt})(e_||(e_={}));(function(e){e.toString=Yt,e.fromString=Kt,e.fromKiwi=zt,e.isEqual=Xt,e.isValid=jt})(t_||(t_={}));(function(e){e.toString=Yt,e.fromString=Kt,e.fromKiwi=zt,e.isEqual=Xt,e.isValid=jt})(n_||(n_={}));(function(e){e.toString=Yt,e.fromString=Kt,e.fromKiwi=zt,e.isEqual=Xt,e.isValid=jt})(r_||(r_={}));(function(e){e.toString=Yt,e.fromString=Kt,e.fromKiwi=zt,e.isEqual=Xt,e.isValid=jt})(o_||(o_={}));(function(e){e.toString=Yt,e.fromString=Kt,e.fromKiwi=zt,e.isEqual=Xt,e.isValid=jt})(i_||(i_={}));(function(e){e.toString=Yt,e.fromString=Kt,e.fromKiwi=zt,e.isEqual=Xt,e.isValid=jt})(s_||(s_={}));(function(e){e.toString=Yt,e.fromString=Kt,e.fromKiwi=zt,e.isEqual=Xt,e.isValid=jt})(a_||(a_={}));function Yt({key:e,version:t}){return`${KS.toString(e)}/${zS.toString(t)}`}function Kt(e){let t=e.split("/");if(t.length!==2)return null;let[n,r]=t;return n&&r?{key:n,version:r}:null}function zt({key:e,version:t}){return!e||!t?null:{key:e,version:t}}function Xt(e,t){return!e||!t?e===t:e.key===t.key&&e.version===t.version}function jt({key:e,version:t}){return Boolean(e&&t)}var Ax,Nx,XE,jE,$E,ZE,JE,Mf,qE,QE,e_,t_,n_,r_,o_,i_,s_,a_;
8649(function(e){let n=an("CodeLibraryId:",e_);e.INVALID=n.fromLocalNodeIdStr(Ze),e.toString=n.toString,e.toKiwi=n.toKiwi,e.toGuidObjIfLocal=n.toGuidObjIfLocal,e.toGuidStrIfLocal=n.toGuidStrIfLocal,e.toRefIfSubscribed=n.toRefIfSubscribed,e.fromString=n.fromString,e.fromLocalNodeIdObj=n.fromLocalNodeIdObj,e.fromLocalNodeIdStr=n.fromLocalNodeIdStr,e.fromRef=n.fromRef,e.fromKiwi=n.fromKiwi,e.isValid=n.isValid})(yx||(yx={}));(function(e){let n=an("CodeFileId:",t_);e.INVALID=n.fromLocalNodeIdStr(Ze),e.toString=n.toString,e.toKiwi=n.toKiwi,e.toGuidObjIfLocal=n.toGuidObjIfLocal,e.toGuidStrIfLocal=n.toGuidStrIfLocal,e.toRefIfSubscribed=n.toRefIfSubscribed,e.fromString=n.fromString,e.fromLocalNodeIdObj=n.fromLocalNodeIdObj,e.fromLocalNodeIdStr=n.fromLocalNodeIdStr,e.fromRef=n.fromRef,e.fromKiwi=n.fromKiwi,e.isValid=n.isValid})(bx||(bx={}));(function(e){let n=an("CodeComponentId:",n_);e.INVALID=n.fromLocalNodeIdStr(Ze),e.toString=n.toString,e.toKiwi=n.toKiwi,e.toGuidObjIfLocal=n.toGuidObjIfLocal,e.toGuidStrIfLocal=n.toGuidStrIfLocal,e.toRefIfSubscribed=n.toRefIfSubscribed,e.fromString=n.fromString,e.fromLocalNodeIdObj=n.fromLocalNodeIdObj,e.fromLocalNodeIdStr=n.fromLocalNodeIdStr,e.fromRef=n.fromRef,e.fromKiwi=n.fromKiwi,e.isValid=n.isValid})(XS||(XS={}));(function(e){let n=an("ManagedStringId:",r_);e.INVALID=n.fromLocalNodeIdStr(Ze),e.toString=n.toString,e.toKiwi=n.toKiwi,e.toGuidObjIfLocal=n.toGuidObjIfLocal,e.toGuidStrIfLocal=n.toGuidStrIfLocal,e.toRefIfSubscribed=n.toRefIfSubscribed,e.fromString=n.fromString,e.fromLocalNodeIdObj=n.fromLocalNodeIdObj,e.fromLocalNodeIdStr=n.fromLocalNodeIdStr,e.fromRef=n.fromRef,e.fromKiwi=n.fromKiwi,e.isValid=n.isValid})(Lx||(Lx={}));(function(e){let n=an("ResponsiveSetId:",QE);e.INVALID=n.fromLocalNodeIdStr(Ze),e.toString=n.toString,e.toKiwi=n.toKiwi,e.toGuidObjIfLocal=n.toGuidObjIfLocal,e.toGuidStrIfLocal=n.toGuidStrIfLocal,e.toRefIfSubscribed=n.toRefIfSubscribed,e.fromString=n.fromString,e.fromLocalNodeIdObj=n.fromLocalNodeIdObj,e.fromLocalNodeIdStr=n.fromLocalNodeIdStr,e.fromRef=n.fromRef,e.fromKiwi=n.fromKiwi,e.isValid=n.isValid})(Cx||(Cx={}));(function(e){let n=an("SymbolId:",XE);e.INVALID=n.fromLocalNodeIdStr(Ze),e.toString=n.toString,e.toKiwi=n.toKiwi,e.toGuidObjIfLocal=n.toGuidObjIfLocal,e.toGuidStrIfLocal=n.toGuidStrIfLocal,e.toRefIfSubscribed=n.toRefIfSubscribed,e.fromString=n.fromString,e.fromLocalNodeIdObj=n.fromLocalNodeIdObj,e.fromLocalNodeIdStr=n.fromLocalNodeIdStr,e.fromRef=n.fromRef,e.fromKiwi=n.fromKiwi,e.isValid=n.isValid})(Qa||(Qa={}));(function(e){let n=an("StateGroupId:",jE);e.INVALID=n.fromLocalNodeIdStr(Ze),e.toString=n.toString,e.toKiwi=n.toKiwi,e.toGuidObjIfLocal=n.toGuidObjIfLocal,e.toGuidStrIfLocal=n.toGuidStrIfLocal,e.toRefIfSubscribed=n.toRefIfSubscribed,e.fromString=n.fromString,e.fromLocalNodeIdObj=n.fromLocalNodeIdObj,e.fromLocalNodeIdStr=n.fromLocalNodeIdStr,e.fromRef=n.fromRef,e.fromKiwi=n.fromKiwi,e.isValid=n.isValid})(el||(el={}));(function(e){let n=an("StyleId:",$E);e.INVALID=n.fromLocalNodeIdStr(Ze),e.toString=n.toString,e.toKiwi=n.toKiwi,e.toGuidObjIfLocal=n.toGuidObjIfLocal,e.toGuidStrIfLocal=n.toGuidStrIfLocal,e.toRefIfSubscribed=n.toRefIfSubscribed,e.fromString=n.fromString,e.fromLocalNodeIdObj=n.fromLocalNodeIdObj,e.fromLocalNodeIdStr=n.fromLocalNodeIdStr,e.fromRef=n.fromRef,e.fromKiwi=n.fromKiwi,e.isValid=n.isValid;function r(o){return o.guid&&o.guid!==Ze?e.fromLocalNodeIdStr(o.guid):e.fromRef(o.ref)}e.fromBindingsObj=r})(Px||(Px={}));(function(e){let n=an("VariableID:",ZE);e.INVALID=n.fromLocalNodeIdStr(Ze),e.toString=n.toString,e.toKiwi=n.toKiwi,e.toGuidObjIfLocal=n.toGuidObjIfLocal,e.toGuidStrIfLocal=n.toGuidStrIfLocal,e.toRefIfSubscribed=n.toRefIfSubscribed,e.fromString=n.fromString,e.fromLocalNodeIdObj=n.fromLocalNodeIdObj,e.fromLocalNodeIdStr=n.fromLocalNodeIdStr,e.fromRef=n.fromRef,e.fromKiwi=n.fromKiwi,e.isValid=n.isValid})(Dx||(Dx={}));(function(e){let n=an("KeyframeTrackId:",o_);e.INVALID=n.fromLocalNodeIdStr(Ze),e.toString=n.toString,e.toKiwi=n.toKiwi,e.toGuidObjIfLocal=n.toGuidObjIfLocal,e.toGuidStrIfLocal=n.toGuidStrIfLocal,e.toRefIfSubscribed=n.toRefIfSubscribed,e.fromString=n.fromString,e.fromLocalNodeIdObj=n.fromLocalNodeIdObj,e.fromLocalNodeIdStr=n.fromLocalNodeIdStr,e.fromRef=n.fromRef,e.fromKiwi=n.fromKiwi,e.isValid=n.isValid})(jS||(jS={}));(function(e){let n=an("AnimationPresetId:",i_);e.INVALID=n.fromLocalNodeIdStr(Ze),e.toString=n.toString,e.toKiwi=n.toKiwi,e.toGuidObjIfLocal=n.toGuidObjIfLocal,e.toGuidStrIfLocal=n.toGuidStrIfLocal,e.toRefIfSubscribed=n.toRefIfSubscribed,e.fromString=n.fromString,e.fromLocalNodeIdObj=n.fromLocalNodeIdObj,e.fromLocalNodeIdStr=n.fromLocalNodeIdStr,e.fromRef=n.fromRef,e.fromKiwi=n.fromKiwi,e.isValid=n.isValid})(l_||(l_={}));(function(e){let n=an("ToolId:",s_);e.INVALID=n.fromLocalNodeIdStr(Ze),e.toString=n.toString,e.toKiwi=n.toKiwi,e.toGuidObjIfLocal=n.toGuidObjIfLocal,e.toGuidStrIfLocal=n.toGuidStrIfLocal,e.toRefIfSubscribed=n.toRefIfSubscribed,e.fromString=n.fromString,e.fromLocalNodeIdObj=n.fromLocalNodeIdObj,e.fromLocalNodeIdStr=n.fromLocalNodeIdStr,e.fromRef=n.fromRef,e.fromKiwi=n.fromKiwi,e.isValid=n.isValid})(vx||(vx={}));(function(e){let n=an("CustomEffectId:",a_);e.INVALID=n.fromLocalNodeIdStr(Ze),e.toString=n.toString,e.toKiwi=n.toKiwi,e.toGuidObjIfLocal=n.toGuidObjIfLocal,e.toGuidStrIfLocal=n.toGuidStrIfLocal,e.toRefIfSubscribed=n.toRefIfSubscribed,e.fromString=n.fromString,e.fromLocalNodeIdObj=n.fromLocalNodeIdObj,e.fromLocalNodeIdStr=n.fromLocalNodeIdStr,e.fromRef=n.fromRef,e.fromKiwi=n.fromKiwi,e.isValid=n.isValid})(xx||(xx={}));(function(e){let n=an("VariableOverrideId:",JE);e.INVALID=n.fromLocalNodeIdStr(Ze),e.toString=n.toString,e.toKiwi=n.toKiwi,e.toGuidObjIfLocal=n.toGuidObjIfLocal,e.toGuidStrIfLocal=n.toGuidStrIfLocal,e.toRefIfSubscribed=n.toRefIfSubscribed,e.fromString=n.fromString,e.fromLocalNodeIdObj=n.fromLocalNodeIdObj,e.fromLocalNodeIdStr=n.fromLocalNodeIdStr,e.fromRef=n.fromRef,e.fromKiwi=n.fromKiwi,e.isValid=n.isValid})(Mx||(Mx={}));(function(e){let t="VariableCollectionId:",n="VariableSetID:",r=an(t,Mf),o=an(n,Mf);e.INVALID=r.fromLocalNodeIdStr(Ze),e.toString=r.toString,e.toKiwi=i({current:r.toKiwi,deprecated:o.toKiwi}),e.toGuidObjIfLocal=i({current:r.toGuidObjIfLocal,deprecated:o.toGuidObjIfLocal}),e.toGuidStrIfLocal=i({current:r.toGuidStrIfLocal,deprecated:o.toGuidStrIfLocal}),e.toRefIfSubscribed=i({current:r.toRefIfSubscribed,deprecated:o.toRefIfSubscribed}),e.fromString=i({current:r.fromString,deprecated:o.fromString}),e.fromLocalNodeIdObj=r.fromLocalNodeIdObj,e.fromLocalNodeIdStr=r.fromLocalNodeIdStr,e.fromRef=r.fromRef,e.fromKiwi=r.fromKiwi,e.isValid=i({current:r.isValid,deprecated:o.isValid});function i({current:s,deprecated:a}){return l=>l.startsWith(n)?a(l):s(l)}})(Gx||(Gx={}));(function(e){let n=an("ModuleId:",qE);e.INVALID=n.fromLocalNodeIdStr(Ze),e.toString=n.toString,e.toKiwi=n.toKiwi,e.toGuidObjIfLocal=n.toGuidObjIfLocal,e.toGuidStrIfLocal=n.toGuidStrIfLocal,e.toRefIfSubscribed=n.toRefIfSubscribed,e.fromString=n.fromString,e.fromLocalNodeIdObj=n.fromLocalNodeIdObj,e.fromLocalNodeIdStr=n.fromLocalNodeIdStr,e.fromRef=n.fromRef,e.fromKiwi=n.fromKiwi,e.isValid=n.isValid})(kx||(kx={}));(function(e){e.fromKiwi=t=>{if(t.guid)return{type:"guid",guid:ot(t.guid)};if(t.stateGroupId){let n=el.fromKiwi(t.stateGroupId);if(n)return{type:"stateGroup",stateGroupId:n}}if(t.symbolId){let n=Qa.fromKiwi(t.symbolId);if(n)return{type:"symbol",symbolId:n}}kv(!1,"Unhandled CanvasNodeId type")},e.toGuidStrIfLocal=t=>{switch(t.type){case"guid":return t.guid;case"symbol":return Qa.toGuidStrIfLocal(t.symbolId);case"stateGroup":return el.toGuidStrIfLocal(t.stateGroupId)}},e.toRefIfSubscribed=t=>{switch(t.type){case"guid":return null;case"symbol":return Qa.toRefIfSubscribed(t.symbolId);case"stateGroup":return el.toRefIfSubscribed(t.stateGroupId)}},e.toString=t=>{switch(t.type){case"guid":return t.guid;case"symbol":return Qa.toString(t.symbolId);case"stateGroup":return el.toString(t.stateGroupId)}},e.fromString=t=>{let n=Qa.fromString(t);if(n)return{type:"symbol",symbolId:n};let r=el.fromString(t);return r?{type:"stateGroup",stateGroupId:r}:Of(t)?{type:"guid",guid:t}:null}})(Fx||(Fx={}));function an(e,t){function n(h){return h}function r(h,m){return h.startsWith(e)?m(h.slice(e.length)):null}function o(h){return Of(h)}function i(h){return t.fromString(h)}function s(h){return r(h,E=>{let O=i(E);if(O)return{assetRef:O};let g=o(E);if(g)return{guid:g}})??{guid:_P}}function a(h){return r(h,m=>i(m)?null:o(m))}function l(h){return r(h,m=>i(m)?null:m)}function u(h){return r(h,m=>i(m))}function c(h){return r(h,m=>o(m)||i(m)?h:null)}function d(h){return e+ot(h)}function f(h){return Of(h)?e+h:null}function p(h){return e+t.toString(h)}function _(h){if(!h)return null;let{guid:m,assetRef:E}=h;if(m&&!E)return d(m);if(!m&&E){let O=t.fromKiwi(E);if(O)return p(O)}return null}function T(h){let m=a(h);if(m)return _E(m);let E=u(h);return E?t.isValid(E):!1}return{toString:n,toKiwi:s,toGuidObjIfLocal:a,toGuidStrIfLocal:l,toRefIfSubscribed:u,fromString:c,fromLocalNodeIdObj:d,fromLocalNodeIdStr:f,fromRef:p,fromKiwi:_,isValid:T}}var yx,bx,XS,Lx,Cx,Qa,el,Px,Dx,jS,l_,vx,xx,Mx,Gx,kx,Fx;var Zne=new Intl.Collator("en",{numeric:!0,sensitivity:"base"});Fe();var ore=[qa.COLOR,qa.FLOAT,qa.STRING,qa.BOOLEAN];Fe();P0();Fe();Fe();var D0="Fade",v0=`Animates the opacity of an element to fade it in or out. Use this preset for entrance or exit animations, revealing content, or smooth visibility transitions. 8650 8651Properties: 8652- timing: Select "Fade In" to animate from transparent to opaque, or "Fade Out" to animate from opaque to transparent. 8653- duration: The length of the animation in seconds. 8654- easing: The easing curve that controls the acceleration of the fade.`,x0=[{name:"timing",type:k.TEXT,label:"Timing",defaultText:"in",selectConfig:{options:[{value:"in",label:"In"},{value:"out",label:"Out"}]}},{name:"duration",type:k.NUMBER,label:"Duration",defaultNumber:.5,inputConfig:{min:.01,unit:"s"},numberResolvedAsTiming:!0},{name:"easing",type:k.EASING,label:"Easing",defaultEasing:{easingType:w.OUT_CUBIC}}];Fe();var M0="Move",G0=`Translates an element along the X and Y axes to slide it in or out of position. Use this preset for slide-in or slide-out transitions, off-screen entrances, or directional movement effects. 8655 8656Properties: 8657- timing: Select "Move In" to slide from the offset position to the original position, or "Move Out" to slide from the original position to the offset. 8658- moveX: The horizontal translation offset in pixels. 8659- moveY: The vertical translation offset in pixels. 8660- duration: The length of the animation in seconds. 8661- fade: Enable to simultaneously fade the element's opacity during the move. 8662- easing: The easing curve that controls the acceleration of the movement.`,k0=[{name:"timing",type:k.TEXT,label:"Timing",defaultText:"out",selectConfig:{options:[{value:"in",label:"In"},{value:"out",label:"Out"}]}},{name:"moveX",type:k.NUMBER,label:"Move X",defaultNumber:100},{name:"moveY",type:k.NUMBER,label:"Move Y",defaultNumber:0},{name:"duration",type:k.NUMBER,label:"Duration",defaultNumber:.5,inputConfig:{min:.01,unit:"s"},numberResolvedAsTiming:!0},{name:"fade",type:k.BOOL,label:"Fade",defaultBool:!1},{name:"easing",type:k.EASING,label:"Easing",defaultEasing:{easingType:w.OUT_CUBIC}}];Fe();var F0="motion.preset_name.corner_radius",w0='Animates the corner radius of a node, either uniformly or per-corner. Use this preset for "round in / round out" reveal effects, or pick the Custom type for explicit start / end radiu
8662s values per corner.\n\nProperties:\n- type: "Round in" animates 0 \u2192 amount; "Round out" animates amount \u2192 0; "Custom" lets each corner specify explicit start / end values.\n- corner: "All" drives the shared `cornerRadius` field; the four specific corner values drive only that corner. Toggling between "All" and a specific corner relies on the C++ preset bind path to flip `rectangleCornerRadiiIndependent` (see `_bindKeyframeExpressionToParameterField`).\n- amount: For type=roundIn/roundOut, the target radius in px.\n- *StartFrame / *EndFrame: For type=custom, the per-corner start/end radii. Only the pair matching the current `corner` selection is animated.\n- delay / duration / easing: Shared timing for the animation.',B0=[{name:"type",type:k.TEXT,label:"motion.preset_flyout.type",defaultText:"roundIn",selectConfig:{options:[{value:"roundIn",label:"motion.preset_flyout.corner_radius.type.round_in"},{value:"roundOut",label:"motion.preset_flyout.corner_radius.type.round_out"},{value:"custom",label:"motion.preset_flyout.type.custom"}]}},{name:"corner",type:k.TEXT,label:"motion.preset_flyout.corner_radius.corner",defaultText:"all",selectConfig:{options:[{value:"all",label:"motion.preset_flyout.corner_radius.corner.all"},{value:"topLeft",label:"motion.preset_flyout.corner_radius.corner.top_left"},{value:"topRight",label:"motion.preset_flyout.corner_radius.corner.top_right"},{value:"bottomLeft",label:"motion.preset_flyout.corner_radius.corner.bottom_left"},{value:"bottomRight",label:"motion.preset_flyout.corner_radius.corner.bottom_right"}]}},{name:"amount",type:k.NUMBER,label:"motion.preset_flyout.amount",defaultNumber:10,inputConfig:{min:0,unit:"px"}},{name:"allStartFrame",type:k.NUMBER,label:"motion.preset_flyout.start_frame",defaultNumber:10,inputConfig:{min:0,unit:"px",icon:"radius_all"}},{name:"allEndFrame",type:k.NUMBER,label:"motion.preset_flyout.end_frame",defaultNumber:0,inputConfig:{min:0,unit:"px",icon:"radius_all"}},{name:"topLeftStartFrame",type:k.NUMBER,label:"motion.preset_flyout.start_frame",defaultNumber:0,inputConfig:{min:0,unit:"px",icon:"radius_top_left"}},{name:"topLeftEndFrame",type:k.NUMBER,label:"motion.preset_flyout.end_frame",defaultNumber:20,inputConfig:{min:0,unit:"px",icon:"radius_top_left"}},{name:"topRightStartFrame",type:k.NUMBER,label:"motion.preset_flyout.start_frame",defaultNumber:0,inputConfig:{min:0,unit:"px",icon:"radius_top_right"}},{name:"topRightEndFrame",type:k.NUMBER,label:"motion.preset_flyout.end_frame",defaultNumber:20,inputConfig:{min:0,unit:"px",icon:"radius_top_right"}},{name:"bottomLeftStartFrame",type:k.NUMBER,label:"motion.preset_flyout.start_frame",defaultNumber:0,inputConfig:{min:0,unit:"px",icon:"radius_bottom_left"}},{name:"bottomLeftEndFrame",type:k.NUMBER,label:"motion.preset_flyout.end_frame",defaultNumber:20,inputConfig:{min:0,unit:"px",icon:"radius_bottom_left"}},{name:"bottomRightStartFrame",type:k.NUMBER,label:"motion.preset_flyout.start_frame",defaultNumber:0,inputConfig:{min:0,unit:"px",icon:"radius_bottom_right"}},{name:"bottomRightEndFrame",type:k.NUMBER,label:"motion.preset_flyout.end_frame",defaultNumber:20,inputConfig:{min:0,unit:"px",icon:"radius_bottom_right"}},{name:"delay",type:k.NUMBER,label:"motion.preset_flyout.delay",defaultNumber:0,inputConfig:{unit:"s",icon:"delay"},numberResolvedAsTiming:!0},{name:"duration",type:k.NUMBER,label:"motion.preset_flyout.duration",defaultNumber:.5,inputConfig:{min:.01,unit:"s",icon:"time"},numberResolvedAsTiming:!0},{name:"easing",type:k.EASING,label:"motion.preset_flyout.easing",defaultEasing:{easingType:w.OUT_CUBIC}}];Fe();var U0="motion.preset_name.new",V0=`A minimal starter preset that fades an element in from transparent to opaque. Use this as a starting point for building custom animation presets \u2014 edit the generated code to add your own keyframe tracks and logic. 8663 8664Properties: 8665- duration: The length of the animation in seconds. 8666- easing: The easing curve that controls the acceleration of the animation.`,H0=[{name:"duration",type:k.NUMBER,label:"Duration",defaultNumber:.5,inputConfig:{min:.01,unit:"s"},numberResolvedAsTiming:!0},{name:"easing",type:k.EASING,label:"Easing",defaultEasing:{easingType:w.OUT_CUBIC}}];Fe();var W0="motion.preset_name.opacity",Y0=`Animates the opacity of an element. Use this preset for entrance / exit animations or emphasis effects. 8667 8668Properties: 8669- type: "Fade In" animates 0\u21921, "Fade Out" animates 1\u21920, "Custom" lets you specify start and end opacity via Start Frame / End Frame. 8670- startFrame / endFrame: Start and end opacity as percentages (only used when type is "Custom"). 8671- delay: How long to wait before the animation starts, in seconds. 8672- duration: The length of the animation, in seconds. 8673- easing: The easing curve that controls the acceleration of the animation.`,K0=[{name:"type",type:k.TEXT,label:"motion.preset_flyout.type",defaultText:"fadeIn",selectConfig:{options:[{value:"fadeIn",label:"motion.preset_flyout.opacity.type.fade_in"},{value:"fadeOut",label:"motion.preset_flyout.opacity.type.fade_out"},{value:"custom",label:"motion.preset_flyout.type.custom"}]}},{name:"amount",type:k.NUMBER,label:"motion.preset_flyout.amount",defaultNumber:0,inputConfig:{unit:"%",icon:"opacity"}},{name:"startFrame",type:k.NUMBER,label:"motion.preset_flyout.start",defaultNumber:0,inputConfig:{unit:"%",icon:"opacity"}},{name:"endFrame",type:k.NUMBER,label:"motion.preset_flyout.end",defaultNumber:100,inputConfig:{unit:"%",icon:"opacity"}},{name:"delay",type:k.NUMBER,label:"motion.preset_flyout.delay",defaultNumber:0,inputConfig:{unit:"s",icon:"delay"},numberResolvedAsTiming:!0},{name:"duration",type:k.NUMBER,label:"motion.preset_flyout.duration",defaultNumber:.5,inputConfig:{min:.01,unit:"s",icon:"time"},numberResolvedAsTiming:!0},{name:"easing",type:k.EASING,label:"motion.preset_flyout.easing",defaultEasing:{easingType:w.OUT_CUBIC}}];Fe();var z0="Path Draw",X0=`Animates the path trim of a stroke to draw it in or erase it over time. Use this preset for line drawing effects, signature animations, or progressive reveal of vector paths. 8674 8675Properties: 8676- duration: The length of the animation in seconds. 8677- direction: Select "Forward" to draw from the start of the path to the end, or "Reverse" to draw from the end of the path to the start.`,j0=[{name:"duration",type:k.NUMBER,label:"Duration",defaultNumber:.5,inputConfig:{min:.01,unit:"s"},numberResolvedAsTiming:!0},{name:"mode",type:k.TEXT,label:"Mode",defaultText:"reveal",selectConfig:{options:[{value:"reveal",label:"Reveal"},{value:"hide",label:"Hide"}]}},{name:"direction",type:k.TEXT,label:"Direction",defaultText:"forward",selectConfig:{options:[{value:"forward",label:"Forward"},{value:"reverse",label:"Reverse"}]}}];Fe();var $0="motion.preset_name.path",Z0='Animates the trim of a vector path. Replaces and subsumes Path Draw and Path Travel under a single preset; pick a `type` to drive the behaviour.\n\nProperties:\n- type: "Draw" reveals the path from start to end; "Erase" hides it; "Travel" runs a short segment along the path; "Custom" exposes raw `pathTrimStart` / `pathTrimEnd` control via the `axis` prop.\n- direction: "Forward" or "Reverse"; reverses the animation direction.\n- segment: For type=travel, length of the moving segment as a percentage of the path.\n- axis: For type=custom, picks which trim field(s) to animate. "Path trim start" and "Path trim end" each drive one field. "Combined" drives both with shared timing but distinct initial values (`pathStartStartFrame`, `pathEndStartWithDivider`).\n- pathStart{StartFrame,EndFrame} / pathEnd{StartFrame,EndFrame}: For type=custom, the per-trim frame values. The bespoke component shows only the subset relevant to the current axis selection.\n- delay / duration / easing: Shared timing for every type (Draw / Erase / Travel and Custom).',J0=[{name:"type",type:k.TEXT,label:"motion.preset_flyout.type",defaultText:"draw",selectConfig:{options:[{value:"draw",label:"motion.preset_flyout.path.type.draw"},{value:"erase",label:"motion.preset_flyout.path.type.erase"},{value:"travel",label:"motion.preset_flyout.path.type.travel"},{value:"custom",label:"motion.preset_flyout.type.custom"}]}},{name:"direction",type:k.TEXT,label:"motion.preset_flyout.direction",defaultText:"forward",selectConfig:{options:[{value:"forward",label:"motion.preset_flyout.path.direction.forward"},{value:"reverse",label:"motion.preset_flyout.path.direction.reverse"}]}},{name:"axis",type:k.TEXT,label:"motion.preset_flyout.path.trim",defaultText:"pathTrimStart",selectConfig:{options:[{value:"pathTrimStart",label:"motion.preset_flyout.path.axis.path_trim_start"},{value:"pathTrimEnd",label:"motion.preset_flyout.path.axis.path_trim_end"},{value:"combined",label:"motion.preset_flyout.path.axis.combined"}]}},{name:"segment",type:k.NUMBER,label:"motion.preset_flyout.path.segment",defaultNumber:10,inputConfig:{unit:"%"}},{name:"pathStartStartFrame",type:k.NUMBER,label:"motion.preset_flyout.start_frame",defaultNumber:100,inputConfig:{unit:"%",icon:"path_trim_start"}},{name:"pathStartEndWithoutDivider",type:k.NUMBER,label:"motion.preset_flyout.end_frame",defaultNumber:0,inputConfig:{unit:"%",icon:"path_trim_start"}},{name:"pathEndStartWithoutDivider",type:k.NUMBER,label:"motion.preset_flyout.start_frame",defaultNumber:20,inputConfig:{unit:"%",icon:"path_trim_end"}},{name:"pathStartEndWithDivider",type:k.NUMBER,label:"motion.preset_flyout.end_frame",defaultNumber:80,inputConfig:{unit:"%",icon:"path_trim_start"}},{name:"pathEndStartWithDivider",type:k.NUMBER,label:"motion.preset_flyout.start_frame",defaultNumber:0,inputConfig:{unit:"%",icon:"path_trim_end"}},{name:"pathEndEndFrame",type:k.NUMBER,label:"motion.preset_flyout.end_frame",defaultNumber:100,inputConfig:{unit:"%",icon:"path_trim_end"}},{name:"delay",type:k.NUMBER,label:"motion.preset_flyout.delay",defaultNumber:0,inputConfig:{unit:"s",icon:"delay"},numberResolvedAsTiming:!0},{name:"duration",type:k.NUMBER,label:"motion.preset_flyout.duration",defaultNumber:.5,inputConfig:{min:.01,unit:"s",icon:"time"},numberResolvedAsTiming:!0},{name:"easing",type:k.EASING,label:"motion.preset_flyout.easing",defaultEasing:{easingType:w.OUT_CUBIC}}];Fe();var q0="Path Travel",Q0=`Animates a segment of a stroke that travels along the entire path. Use this preset for moving highlight effects or traveling dash animations on vector paths. 8678 8679Properties: 8680- segmentLength: The length of the traveling segment as a percentage of the total path.
8681- loops: The number of times the segment travels along the path. 8682- loopMode: Select "Circle Back" to wrap continuously around the path, or "Retrace Path" to bounce forward then backward each loop. 8683- direction: Select "Forward" to travel from the start to the end of the path, or "Reverse" to travel from the end to the start. 8684- duration: The length of the animation in seconds.`,eM=[{name:"duration",type:k.NUMBER,label:"Duration",defaultNumber:.5,inputConfig:{min:.01,unit:"s"},numberResolvedAsTiming:!0},{name:"direction",type:k.TEXT,label:"Direction",defaultText:"forward",selectConfig:{options:[{value:"forward",label:"Forward"},{value:"reverse",label:"Reverse"}]}},{name:"loopMode",type:k.TEXT,label:"Loop Mode",defaultText:"circle",selectConfig:{options:[{value:"circle",label:"Circle Back"},{value:"retrace",label:"Retrace Path"}]}},{name:"segmentLength",type:k.NUMBER,label:"Segment Length",defaultNumber:20,inputConfig:{min:0,max:100,unit:"%"}},{name:"loops",type:k.NUMBER,label:"Loops",defaultNumber:1,inputConfig:{min:1}}];Fe();var tM="motion.preset_name.position",nM=`Animates a node along the X and/or Y axes. Use this preset for slide-in / slide-out entrances and exits, or fully custom translate animations. 8685 8686Properties: 8687- type: "Slide In" animates from an offset back to the resting position, "Slide Out" animates from the resting position to an offset, "Custom" lets you specify Start / End values explicitly. 8688- direction: For Slide In / Slide Out, the side the element slides from / to (only used when type is "Slide In" or "Slide Out"). 8689- distance: Slide distance in pixels (only used when type is "Slide In" or "Slide Out"). 8690- axis: For Custom, which axes to animate \u2014 "X" / "Y" animate one axis only, "XY" animates both (each axis keeps its own start/end and they share the timing). 8691- startX / endX: X-axis start and end translation in pixels (used when type is "Custom" and axis is "X" or "XY"). 8692- startY / endY: Y-axis start and end translation in pixels (used when type is "Custom" and axis is "Y" or "XY"). 8693- delay: How long to wait before the animation starts, in seconds. 8694- duration: The length of a single playthrough, in seconds. 8695- easing: The easing curve that controls the acceleration of the animation.`,rM=[{name:"type",type:k.TEXT,label:"motion.preset_flyout.type",defaultText:"slide_in",selectConfig:{options:[{value:"slide_in",label:"motion.preset_flyout.position.type.slide_in"},{value:"slide_out",label:"motion.preset_flyout.position.type.slide_out"},{value:"custom",label:"motion.preset_flyout.type.custom"}]}},{name:"direction",type:k.TEXT,label:"motion.preset_flyout.direction",defaultText:"left",selectConfig:{options:[{value:"left",label:"motion.preset_flyout.position.direction.left"},{value:"right",label:"motion.preset_flyout.position.direction.right"},{value:"top",label:"motion.preset_flyout.position.direction.top"},{value:"bottom",label:"motion.preset_flyout.position.direction.bottom"},{value:"top_left",label:"motion.preset_flyout.top_left"},{value:"top_right",label:"motion.preset_flyout.top_right"},{value:"bottom_left",label:"motion.preset_flyout.bottom_left"},{value:"bottom_right",label:"motion.preset_flyout.bottom_right"}]}},{name:"distance",type:k.NUMBER,label:"motion.preset_flyout.position.distance",defaultNumber:200,inputConfig:{unit:"px"}},{name:"axis",type:k.TEXT,label:"motion.preset_flyout.axis",defaultText:"xy",selectConfig:{options:[{value:"x",label:"motion.preset_flyout.x"},{value:"y",label:"motion.preset_flyout.y"},{value:"xy",label:"motion.preset_flyout.both"}]}},{name:"startX",type:k.NUMBER,label:"motion.preset_flyout.start",defaultNumber:200,inputConfig:{icon:"x"}},{name:"startY",type:k.NUMBER,label:"motion.preset_flyout.start",defaultNumber:200,inputConfig:{icon:"y"}},{name:"endX",type:k.NUMBER,label:"motion.preset_flyout.end",defaultNumber:0,inputConfig:{icon:"x"}},{name:"endY",type:k.NUMBER,label:"motion.preset_flyout.end",defaultNumber:0,inputConfig:{icon:"y"}},{name:"delay",type:k.NUMBER,label:"motion.preset_flyout.delay",defaultNumber:0,inputConfig:{unit:"s",icon:"delay"},numberResolvedAsTiming:!0},{name:"duration",type:k.NUMBER,label:"motion.preset_flyout.duration",defaultNumber:.5,inputConfig:{min:.01,unit:"s",icon:"time"},numberResolvedAsTiming:!0},{name:"easing",type:k.EASING,label:"motion.preset_flyout.easing",defaultEasing:{easingType:w.OUT_CUBIC}}];Fe();var oM="Resize",iM=`Changes the width and/or height of an element by a pixel offset over time. Use this preset for expanding panels, progress bar animations, or dynamic layout transitions. 8696 8697Properties: 8698- widthChange: The amount to change the element's width in pixels (0 for no width change). 8699- heightChange: The amount to change the element's height in pixels (0 for no height change). 8700- duration: The length of the animation in seconds. 8701- easing: The easing curve that controls the acceleration of the resize.`,sM=[{name:"widthChange",type:k.NUMBER,label:"Width Change",defaultNumber:100},{name:"heightChange",type:k.NUMBER,label:"Height Change",defaultNumber:0},{name:"duration",type:k.NUMBER,label:"Duration",defaultNumber:.5,inputConfig:{min:.01,unit:"s"},numberResolvedAsTiming:!0},{name:"easing",type:k.EASING,label:"Easing",defaultEasing:{easingType:w.OUT_CUBIC}}];Fe();var aM="Rotate",lM=`Rotates an element by a specified angle to spin it in or out. Use this preset for spinning entrance or exit effects, turning animations, or attention-grabbing rotations. 8702 8703Properties: 8704- timing: Select "Rotate In" to rotate from the specified angle back to the original orientation, or "Rotate Out" to rotate from the original orientation to the specified angle. 8705- rotation: The rotation amount in degrees. 8706- duration: The length of the animation in seconds. 8707- fade: Enable to simultaneously fade the element's opacity during the rotation. 8708- easing: The easing curve that controls the acceleration of the rotation.`,uM=[{name:"timing",type:k.TEXT,label:"Timing",defaultText:"out",selectConfig:{options:[{value:"in",label:"In"},{value:"out",label:"Out"}]}},{name:"rotation",type:k.NUMBER,label:"Rotation",defaultNumber:180},{name:"duration",type:k.NUMBER,label:"Duration",defaultNumber:.5,inputConfig:{min:.01,unit:"s"},numberResolvedAsTiming:!0},{name:"fade",type:k.BOOL,label:"Fade",defaultBool:!1},{name:"easing",type:k.EASING,label:"Easing",defaultEasing:{easingType:w.OUT_CUBIC}}];Fe();var cM="motion.preset_name.rotation",dM=`Animates the rotation of a node about its center. Use this preset for spin-in / spin-out reveal effects, or pick the Custom type for explicit start / end angles. 8709 8710Properties: 8711- type: "Rotate in" animates signed amount \u2192 0; "Rotate out" animates 0 \u2192 signed amount; "Custom" lets you specify explicit start / end angles in degrees. The signed amount is derived from Direction (see below). 8712- direction: "Clockwise" or "Counter-clockwise". Underlying \`rotate\` is in radians and uses screen Y-down coordinates. For "Rotate in", Clockwise yields a negative angle and Counter-clockwise yields a positive angle. For "Rotate out", Clockwise yields a positive angle and Counter-clockwise yields a negative angle \u2014 matching the visible spin labels in both types. 8713- amount: For type=rotateIn/rotateOut, the rotation magnitude in degrees. 8714- start / end: For type=custom, the explicit start / end angles in degrees. 8715- delay / duration / easing: Shared timing for the animation.`,fM=[{name:"type",type:k.TEXT,label:"motion.preset_flyout.type",defaultText:"rotateIn",selectConfig:{options:[{value:"rotateIn",label:"motion.preset_flyout.rotation.type.rotate_in"},{value:"rotateOut",label:"motion.preset_flyout.rotation.type.rotate_out"},{value:"custom",label:"motion.preset_flyout.type.custom"}]}},{name:"direction",type:k.TEXT,label:"motion.preset_flyout.direction",defaultText:"clockwise",selectConfig:{options:[{value:"clockwise",label:"motion.preset_flyout.rotation.direction.clockwise"},{value:"counterClockwise",label:"motion.preset_flyout.rotation.direction.counter_clockwise"}]}},{name:"amount",type:k.NUMBER,label:"motion.preset_flyout.amount",defaultNumber:180,inputConfig:{unit:"\xB0"}},{name:"start",type:k.NUMBER,label:"motion.preset_flyout.start",defaultNumber:180,inputConfig:{unit:"\xB0",icon:"rotation"}},{name:"end",type:k.NUMBER,label:"motion.preset_flyout.end",defaultNumber:0,inputConfig:{unit:"\xB0",icon:"rotation"}},{name:"delay",type:k.NUMBER,label:"motion.preset_flyout.delay",defaultNumber:0,inputConfig:{min:0,unit:"s",icon:"delay"},numberResolvedAsTiming:!0},{name:"duration",type:k.NUMBER,label:"motion.preset_flyout.duration",defaultNumber:.5,inputConfig:{min:.01,unit:"s",icon:"time"},numberResolvedAsTiming:!0},{name:"easing",type:k.EASING,label:"motion.preset_flyout.easing",defaultEasing:{easingType:w.OUT_CUBIC}}];Fe();var pM="motion.preset_name.scale",mM=`Animates a node by scaling it along the width and/or height axis. Use this preset for scale-in / scale-out reveal effects, or pick the Custom type for explicit start / end percentages on either axis. 8716 8717Properties: 8718- type: "Scale in" animates amount \u2192 100%; "Scale out" animates 100% \u2192 amount; "Custom" lets you specify explicit start / end percentages per axis. 8719- axis: For type=custom, picks which axis (W, H, or both combined) is animated. Ignored when type=scaleIn/scaleOut (both axes animate together). 8720- amount: For type=scaleIn/scaleOut, the scale magnitude in percent (e.g. 120%). 8721- {w,h}{Start,End}* / *WithDivider / *WithoutDivider: For type=custom, the explicit start / end percentages per axis. Single-axis groups each axis as Start+End; WH-combined groups both Starts together and both Ends together, using the alternate divider variants. Only the set visible in the current layout is editable. 8722- delay / duration / easing: Shared timing.`,EM=[{name:"type",type:k.TEXT,label:"motion.preset_flyout.type",defaultText:"scaleIn",selectConfig:{options:[{value:"scaleIn",label:"motion.preset_flyout.scale.type.scale_in"},{value:"scaleOut",label:"motion.preset_flyout.scale.type.scale_out"},{value:"custom",label:"motion.preset_flyout.type.custom"}]}},{name:"axis",type:k.TEXT,label:"motion.preset_flyout.axis",defaultText:"whCombined",selectConfig:{options:[{value:"w",label:"motion.preset_flyout.w"},{value:"h",label:"motion.preset_flyout.h"},{value:"whCombined",label:"motion.preset_flyout.both"}]}},{name:"amount",type:k.NUMBER,label:"motion.preset_flyout.amount",defaultNumber:120,inputConfig:{min:0,unit:"%"}},{name:"wStartWithDivider",type:k.NUMBER,label:"motion.preset_flyout.start",defaultNumber:120,inputConfig:{min:0,unit:"%",icon:"w"}},{name:"wEndWithoutDivider",type:k.NUMBER,label:"motion.preset_flyout.end",defaultNumber:100,inputConfig:{min:0,unit:"%",icon:"w"}},{name:"hStartWithoutDivider",type:k.NUMBER,label:"motion.preset_flyout.start",defaultNumber:120,inputConfig:{min:0,unit:"%",icon:"h"}},{name:"wEndWithDivider",type:k.NUMBER,label:"motion.preset_flyout.end",defaultNumber:100,inputConfig:{min:0,unit:"%",icon:"w"}},{name:"hStartWithDivider",type:k.NUMBER,label:"motion.preset_flyout.start",defaultNumber:120,inputConfig:{min:0,unit:"%",icon:"h"}},{name:"hEndWithoutDivider",type:k.NUMBER,label:"motion.preset_flyout.end",defaultNumber:100,inputConfig:{min:0,unit:"%",icon:"h"}},{name:"delay",type:k.NUMBER,label:"motion.preset_flyout.delay",defaultNumber:0,inputConfig:{unit:"s",icon:"delay"},numberResolvedAsTiming:!0},{name:"duration",type:k.NUMBER,label:"motion.preset_flyout.duration",defaultNumber:.5,inputConfig:{min:.01,unit:"s",icon:"time"},numberResolvedAsTiming:!0},{name:"easing",type:k.EASING,label:"motion.preset_flyout.easing",defaultEasing:{easingType:w.OUT_CUBIC}}];Fe();var _M="motion.preset_name.size",TM=`Animates a node\u2019s width and/or height. Use this preset for resize-in / resize-out entrances and exits, or fully custom resize animations. 8723 8724Properties: 8725- type: "Resize In" starts at the resting size and shrinks by \`amount\`, "Resize Out" starts shrunk by \`amount\` and grows back to the resting size, "Custom" lets you specify Start /
8725End values explicitly. 8726- amount: How many pixels to shrink the width AND height by (only used when type is "Resize In" or "Resize Out"). 8727- axis: For Custom, which axes to animate \u2014 "X" / "Y" animate one axis only, "Both" animates both (each axis keeps its own start/end and they share the timing). 8728- startWidth / endWidth: Width start and end offset in pixels relative to the resting size (used when type is "Custom" and axis is "X" or "Both"). 8729- startHeight / endHeight: Height start and end offset in pixels relative to the resting size (used when type is "Custom" and axis is "Y" or "Both"). 8730- delay: How long to wait before the animation starts, in seconds. 8731- duration: The length of a single playthrough, in seconds. 8732- easing: The easing curve that controls the acceleration of the animation.`,hM=[{name:"type",type:k.TEXT,label:"motion.preset_flyout.type",defaultText:"resize_in",selectConfig:{options:[{value:"resize_in",label:"motion.preset_flyout.size.type.resize_in"},{value:"resize_out",label:"motion.preset_flyout.size.type.resize_out"},{value:"custom",label:"motion.preset_flyout.type.custom"}]}},{name:"amount",type:k.NUMBER,label:"motion.preset_flyout.amount",defaultNumber:50,inputConfig:{unit:"px"}},{name:"axis",type:k.TEXT,label:"motion.preset_flyout.axis",defaultText:"xy",selectConfig:{options:[{value:"x",label:"motion.preset_flyout.x"},{value:"y",label:"motion.preset_flyout.y"},{value:"xy",label:"motion.preset_flyout.both"}]}},{name:"startWidth",type:k.NUMBER,label:"motion.preset_flyout.start",defaultNumber:50,inputConfig:{icon:"w"}},{name:"startHeight",type:k.NUMBER,label:"motion.preset_flyout.start",defaultNumber:50,inputConfig:{icon:"h"}},{name:"endWidth",type:k.NUMBER,label:"motion.preset_flyout.end",defaultNumber:100,inputConfig:{icon:"w"}},{name:"endHeight",type:k.NUMBER,label:"motion.preset_flyout.end",defaultNumber:100,inputConfig:{icon:"h"}},{name:"delay",type:k.NUMBER,label:"motion.preset_flyout.delay",defaultNumber:0,inputConfig:{unit:"s",icon:"delay"},numberResolvedAsTiming:!0},{name:"duration",type:k.NUMBER,label:"motion.preset_flyout.duration",defaultNumber:.5,inputConfig:{min:.01,unit:"s",icon:"time"},numberResolvedAsTiming:!0},{name:"easing",type:k.EASING,label:"motion.preset_flyout.easing",defaultEasing:{easingType:w.OUT_CUBIC}}];Fe();var OM="motion.preset_name.text",gM=`Animates the text content of an element by keyframing textData with string values. Use this preset for typewriter effects that reveal text by character, word, or line. 8733 8734Properties: 8735- revealBy: Select "Character", "Word", or "Line" to control how much text appears at each keyframe. 8736- duration: The length of the animation in seconds.`,IM=[{name:"revealBy",type:k.TEXT,label:"Reveal By",defaultText:"character",selectConfig:{options:[{value:"character",label:"Character"},{value:"word",label:"Word"},{value:"line",label:"Line"}]}},{name:"duration",type:k.NUMBER,label:"Duration",defaultNumber:1.5,inputConfig:{min:.01,unit:"s"},numberResolvedAsTiming:!0}];var ln={[G.FADE_DEPRECATED]:{name:D0,description:v0,propDefs:x0,manifest:{icon:"Fade",applicableNodeTypes:[],disallowedNodeTypes:[],requiredNodeFields:[],disallowedNodeFields:[]}},[G.MOVE_DEPRECATED]:{name:M0,description:G0,propDefs:k0,manifest:{icon:"Move",applicableNodeTypes:[],disallowedNodeTypes:[],requiredNodeFields:[],disallowedNodeFields:[]}},[G.ROTATE_DEPRECATED]:{name:aM,description:lM,propDefs:uM,manifest:{icon:"Rotate",applicableNodeTypes:[],disallowedNodeTypes:[],requiredNodeFields:[],disallowedNodeFields:[]}},[G.SCALE]:{name:pM,description:mM,propDefs:EM,manifest:{icon:"Scale",applicableNodeTypes:[],disallowedNodeTypes:[],requiredNodeFields:[],disallowedNodeFields:[]}},[G.RESIZE_DEPRECATED]:{name:oM,description:iM,propDefs:sM,manifest:{icon:"Resize",applicableNodeTypes:[],disallowedNodeTypes:[],requiredNodeFields:[],disallowedNodeFields:[]}},[G.NEW]:{name:U0,description:V0,propDefs:H0,manifest:{icon:"Default",applicableNodeTypes:[],disallowedNodeTypes:[],requiredNodeFields:[],disallowedNodeFields:[]}},[G.TEXT_DATA]:{name:OM,description:gM,propDefs:IM,manifest:{icon:"Text",applicableNodeTypes:["TEXT"],disallowedNodeTypes:[],requiredNodeFields:[],disallowedNodeFields:[]}},[G.PATH_DRAW_DEPRECATED]:{name:z0,description:X0,propDefs:j0,manifest:{icon:"PathDraw",applicableNodeTypes:[],disallowedNodeTypes:[],requiredNodeFields:["strokes"],disallowedNodeFields:[]}},[G.PATH_TRAVEL_DEPRECATED]:{name:q0,description:Q0,propDefs:eM,manifest:{icon:"PathTravel",applicableNodeTypes:[],disallowedNodeTypes:[],requiredNodeFields:["strokes"],disallowedNodeFields:[]}},[G.OPACITY]:{name:W0,description:Y0,propDefs:K0,manifest:{icon:"Opacity",applicableNodeTypes:[],disallowedNodeTypes:[],requiredNodeFields:[],disallowedNodeFields:[]}},[G.CORNER_RADIUS]:{name:F0,description:w0,propDefs:B0,manifest:{icon:"CornerRadius",applicableNodeTypes:[],disallowedNodeTypes:[],requiredNodeFields:[],disallowedNodeFields:[]}},[G.ROTATION]:{name:cM,description:dM,propDefs:fM,manifest:{icon:"Rotation",applicableNodeTypes:[],disallowedNodeTypes:[],requiredNodeFields:[],disallowedNodeFields:[]}},[G.PATH]:{name:$0,description:Z0,propDefs:J0,manifest:{icon:"Path",applicableNodeTypes:[],disallowedNodeTypes:[],requiredNodeFields:["strokes"],disallowedNodeFields:[]}},[G.POSITION]:{name:tM,description:nM,propDefs:rM,manifest:{icon:"Position",applicableNodeTypes:[],disallowedNodeTypes:[],requiredNodeFields:[],disallowedNodeFields:[]}},[G.SIZE]:{name:_M,description:TM,propDefs:hM,manifest:{icon:"Size",applicableNodeTypes:[],disallowedNodeTypes:[],requiredNodeFields:[],disallowedNodeFields:[]}}},o5={...Object.fromEntries(Object.entries(ln).map(([e,t])=>[t.name,Number(e)])),["Corner Radius"]:G.CORNER_RADIUS,New:G.NEW,Opacity:G.OPACITY,Path:G.PATH,Position:G.POSITION,Rotation:G.ROTATION,Scale:G.SCALE,Size:G.SIZE,Text:G.TEXT_DATA};var Rn={[G.FADE_DEPRECATED]:{...ln[G.FADE_DEPRECATED],...Sn[G.FADE_DEPRECATED]},[G.MOVE_DEPRECATED]:{...ln[G.MOVE_DEPRECATED],...Sn[G.MOVE_DEPRECATED]},[G.ROTATE_DEPRECATED]:{...ln[G.ROTATE_DEPRECATED],...Sn[G.ROTATE_DEPRECATED]},[G.SCALE]:{...ln[G.SCALE],...Sn[G.SCALE]},[G.RESIZE_DEPRECATED]:{...ln[G.RESIZE_DEPRECATED],...Sn[G.RESIZE_DEPRECATED]},[G.NEW]:{...ln[G.NEW],...Sn[G.NEW]},[G.TEXT_DATA]:{...ln[G.TEXT_DATA],...Sn[G.TEXT_DATA]},[G.PATH_DRAW_DEPRECATED]:{...ln[G.PATH_DRAW_DEPRECATED],...Sn[G.PATH_DRAW_DEPRECATED]},[G.PATH_TRAVEL_DEPRECATED]:{...ln[G.PATH_TRAVEL_DEPRECATED],...Sn[G.PATH_TRAVEL_DEPRECATED]},[G.OPACITY]:{...ln[G.OPACITY],...Sn[G.OPACITY]},[G.CORNER_RADIUS]:{...ln[G.CORNER_RADIUS],...Sn[G.CORNER_RADIUS]},[G.ROTATION]:{...ln[G.ROTATION],...Sn[G.ROTATION]},[G.PATH]:{...ln[G.PATH],...Sn[G.PATH]},[G.POSITION]:{...ln[G.POSITION],...Sn[G.POSITION]},[G.SIZE]:{...ln[G.SIZE],...Sn[G.SIZE]}};Fe();var woe=new Set([yi.PATH_TRIM_START,yi.PATH_TRIM_END]);var $oe=[{id:"Position",name:"motion.preset_name.position",type:G.POSITION,manifest:Rn[G.POSITION].manifest},{id:"Scale",name:"motion.preset_name.scale",type:G.SCALE,manifest:Rn[G.SCALE].manifest},{id:"Rotation",name:"motion.preset_name.rotation",type:G.ROTATION,manifest:Rn[G.ROTATION].manifest},{id:"Size",name:"motion.preset_name.size",type:G.SIZE,manifest:Rn[G.SIZE].manifest},{id:"Opacity",name:"motion.preset_name.opacity",type:G.OPACITY,manifest:Rn[G.OPACITY].manifest},{id:"CornerRadius",name:"motion.preset_name.corner_radius",type:G.CORNER_RADIUS,manifest:Rn[G.CORNER_RADIUS].manifest},{id:"Path",name:"motion.preset_name.path",type:G.PATH,manifest:Rn[G.PATH].manifest},{id:"New",name:"motion.preset_name.new",type:G.NEW,manifest:Rn[G.NEW].manifest},{id:"Text",name:"motion.preset_name.text",type:G.TEXT_DATA,manifest:Rn[G.TEXT_DATA].manifest},{id:"Fade",name:"Fade",type:G.FADE_DEPRECATED,manifest:Rn[G.FADE_DEPRECATED].manifest},{id:"Move",name:"Move",type:G.MOVE_DEPRECATED,manifest:Rn[G.MOVE_DEPRECATED].manifest},{id:"Rotate",name:"Rotate",type:G.ROTATE_DEPRECATED,manifest:Rn[G.ROTATE_DEPRECATED].manifest},{id:"Resize",name:"Resize",type:G.RESIZE_DEPRECATED,manifest:Rn[G.RESIZE_DEPRECATED].manifest},{id:"PathDraw",name:"Path Draw",type:G.PATH_DRAW_DEPRECATED,manifest:Rn[G.PATH_DRAW_DEPRECATED].manifest},{id:"PathTravel",name:"Path Travel",type:G.PATH_TRAVEL_DEPRECATED,manifest:Rn[G.PATH_TRAVEL_DEPRECATED].manifest}
8736],Zoe=new Set([G.FADE_DEPRECATED,G.MOVE_DEPRECATED,G.ROTATE_DEPRECATED,G.RESIZE_DEPRECATED,G.PATH_DRAW_DEPRECATED,G.PATH_TRAVEL_DEPRECATED]),Joe=new Set([G.PATH,G.PATH_DRAW_DEPRECATED,G.PATH_TRAVEL_DEPRECATED]);Fe();var eie={[sc.NONE]:null,[sc.INSTANCE_SUBLAYER]:"Cannot write animations to instance sublayers via the plugin API",[sc.TOP_LEVEL_FRAME_PARENT]:"Cannot write animations to top-level frame parents via the plugin API",[sc.PRODUCT_COMPONENT]:"Cannot write animations to product components via the plugin API",[sc.UNSUPPORTED_NODE_TYPE]:"Cannot write animations to this node type via the plugin API"};Fe();Fe();Fe();var RM=100,AM="bezier",NM=[.5,0,.5,1],c_={p1x:0,p1y:0,p2x:.58,p2y:1},u_={mass:1,stiffness:100,damping:15},oie={easingType:w.OUT_CUBIC,bezierValues:c_},s5={[w.IN_CUBIC]:{p1x:.42,p1y:0,p2x:1,p2y:1},[w.EASE_IN]:{p1x:.42,p1y:0,p2x:1,p2y:1},[w.OUT_CUBIC]:c_,[w.INOUT_CUBIC]:{p1x:.42,p1y:0,p2x:.58,p2y:1},[w.LINEAR]:{p1x:0,p1y:0,p2x:1,p2y:1},[w.IN_BACK_CUBIC]:{p1x:.3,p1y:-.05,p2x:.7,p2y:-.5},[w.OUT_BACK_CUBIC]:{p1x:.45,p1y:1.45,p2x:.8,p2y:1},[w.INOUT_BACK_CUBIC]:{p1x:.7,p1y:-.4,p2x:.4,p2y:1.4},[w.CUSTOM_CUBIC]:c_,[w.SPRING]:void 0,[w.GENTLE_SPRING]:void 0,[w.CUSTOM_SPRING]:void 0,[w.SPRING_PRESET_ONE]:void 0,[w.SPRING_PRESET_TWO]:void 0,[w.SPRING_PRESET_THREE]:void 0,[w.HOLD]:void 0},a5={[w.IN_CUBIC]:void 0,[w.EASE_IN]:void 0,[w.OUT_CUBIC]:void 0,[w.INOUT_CUBIC]:void 0,[w.LINEAR]:void 0,[w.IN_BACK_CUBIC]:void 0,[w.OUT_BACK_CUBIC]:void 0,[w.INOUT_BACK_CUBIC]:void 0,[w.CUSTOM_CUBIC]:void 0,[w.SPRING]:u_,[w.GENTLE_SPRING]:u_,[w.CUSTOM_SPRING]:u_,[w.SPRING_PRESET_ONE]:{mass:1,stiffness:300,damping:20},[w.SPRING_PRESET_TWO]:{mass:1,stiffness:600,damping:15},[w.SPRING_PRESET_THREE]:{mass:1,stiffness:80,damping:20},[w.HOLD]:void 0};function Gf(e){return s5[e]??c_}function kf(e){return a5[e]??u_}var yM=st.array(st.number()).length(4).readonly(),$S=st.object({mass:st.number(),stiffness:st.number(),damping:st.number()}),ZS=st.object({p1x:st.number(),p1y:st.number(),p2x:st.number(),p2y:st.number()}),l5=st.object({easingType:st.literal(RM),bezierValues:yM.optional().default(NM)}),u5=st.object({easingType:st.literal(AM),bezierValues:yM.optional().default(NM)}),c5=st.object({easingType:st.literal(w.CUSTOM_SPRING),springValues:$S.default(kf(w.CUSTOM_SPRING)),bezierValues:ZS.optional()}),d5=st.object({easingType:st.literal(w.CUSTOM_CUBIC),bezierValues:ZS.default(Gf(w.CUSTOM_CUBIC)),springValues:$S.optional()}),f5=st.object({easingType:st.nativeEnum(w),springValues:$S.optional(),bezierValues:ZS.optional()}).refine(({easingType:e})=>e!==w.CUSTOM_SPRING&&e!==w.CUSTOM_CUBIC,{message:"Use custom easing schema for CUSTOM_SPRING/CUSTOM_CUBIC types"}),iie=st.union([l5,u5,c5,d5,f5]).transform(e=>{let t=e.easingType;if(t===RM||t===AM){let o=e.bezierValues;return{easingType:w.CUSTOM_CUBIC,springValues:void 0,bezierValues:{p1x:o[0],p1y:o[1],p2x:o[2],p2y:o[3]}}}let n=t===w.CUSTOM_SPRING?e.springValues??kf(w.CUSTOM_SPRING):void 0,r=t===w.CUSTOM_CUBIC?e.bezierValues??Gf(w.CUSTOM_CUBIC):void 0;return{easingType:t,springValues:n,bezierValues:r}});var uie=new Set([w.SPRING,w.GENTLE_SPRING,w.CUSTOM_SPRING,w.SPRING_PRESET_ONE,w.SPRING_PRESET_TWO,w.SPRING_PRESET_THREE]),p5={EASE_IN:w.IN_CUBIC,EASE_OUT:w.OUT_CUBIC,EASE_IN_AND_OUT:w.INOUT_CUBIC,EASE_IN_BACK:w.IN_BACK_CUBIC,EASE_OUT_BACK:w.OUT_BACK_CUBIC,EASE_IN_AND_OUT_BACK:w.INOUT_BACK_CUBIC,CUSTOM_CUBIC_BEZIER:w.CUSTOM_CUBIC,GENTLE:w.GENTLE_SPRING,QUICK:w.SPRING_PRESET_ONE,BOUNCY:w.SPRING_PRESET_TWO,SLOW:w.SPRING_PRESET_THREE};function bM(e){if(typeof e=="number")return e;if(typeof e=="string"){let t=p5[e];if(t!==void 0)return t;let n=w[e];return typeof n=="number"?n:null}return null}var JS=["CORNER_RADIUS","STROKE_WEIGHT","STACK_SPACING","STACK_PADDING_LEFT","STACK_PADDING_TOP","STACK_PADDING_RIGHT","STACK_PADDING_BOTTOM","VISIBLE","WIDTH","HEIGHT","RECTANGLE_TOP_LEFT_CORNER_RADIUS","RECTANGLE_TOP_RIGHT_CORNER_RADIUS","RECTANGLE_BOTTOM_LEFT_CORNER_RADIUS","RECTANGLE_BOTTOM_RIGHT_CORNER_RADIUS","BORDER_TOP_WEIGHT","BORDER_BOTTOM_WEIGHT","BORDER_LEFT_WEIGHT","BORDER_RIGHT_WEIGHT","VARIANT_PROPERTIES","STACK_COUNTER_SPACING","OPACITY","GRID_ROW_GAP","GRID_COLUMN_GAP","MOTION_TRANSLATION_X","MOTION_TRANSLATION_Y","MOTION_TRANSLATION_XY","MOTION_TRANSFORM_ORIGIN_X","MOTION_TRANSFORM_ORIGIN_Y","MOTION_TRANSFORM_ORIGIN_XY","MOTION_ROTATION","MOTION_SCALE_X","MOTION_SCALE_Y","MOTION_SCALE_XY","MOTION_SHEAR","SCROLL_OFFSET_X","SCROLL_OFFSET_Y","PATH_TRIM_START","PATH_TRIM_END","DISSOLVE_PROGRESS","MEDIA_CURRENT_TIME","TRANSFORM_3D_PERSPECTIVE","TRANSFORM_3D_TRANSLATION_Z","TRANSFORM_3D_ROTATION_X","TRANSFORM_3D_ROTATION_Y","TRANSFORM_3D_ROTATION_Z","SCENE_3D_PERSPECTIVE","POLYGON_COUNT","ARC_DATA_STARTING_ANGLE","ARC_DATA_ENDING_ANGLE","ARC_DATA_INNER_RADIUS","STAR_INNER_SCALE"];var tl={MOTION_ROTATION:"ROTATION",MOTION_SCALE_X:"SCALE_X",MOTION_SCALE_Y:"SCALE_Y",MOTION_SCALE_XY:"SCALE_XY",MOTION_SHEAR:"SHEAR",MOTION_TRANSLATION_X:"TRANSLATION_X",MOTION_TRANSLATION_Y:"TRANSLATION_Y",MOTION_TRANSLATION_XY:"TRANSLATION_XY"},fie=Object.fromEntries(Object.entries(tl).map(([e,t])=>[t,e]));var d_=["OFFSET_X","OFFSET_Y","RADIUS","SPREAD","COLOR","REFRACTION_RADIUS","SPECULAR_ANGLE","SPECULAR_INTENSITY","CHROMATIC_ABERRATION","SPLAY","REFRACTION_INTENSITY","START_RADIUS","NOISE_SIZE_X","NOISE_SIZE_Y","DENSITY","EFFECT_OPACITY","SECONDARY_COLOR"];var mie=new Set(d_);var E5=["TRANSFORM_3D_TRANSLATION_Z","TRANSFORM_3D_ROTATION_X","TRANSFORM_3D_ROTATION_Y","TRANSFORM_3D_ROTATION_Z","SCENE_3D_PERSPECTIVE"],PM=["CORNER_RADIUS","STROKE_WEIGHT","STACK_SPACING","STACK_PADDING_LEFT","STACK_PADDING_TOP","STACK_PADDING_RIGHT","STACK_PADDING_BOTTOM","WIDTH","HEIGHT","RECTANGLE_TOP_LEFT_CORNER_RADIUS","RECTANGLE_TOP_RIGHT_CORNER_RADIUS","RECTANGLE_BOTTOM_LEFT_CORNER_RADIUS","RECTANGLE_BOTTOM_RIGHT_CORNER_RADIUS","BORDER_TOP_WEIGHT","BORDER_BOTTOM_WEIGHT","BORDER_LEFT_WEIGHT","BORDER_RIGHT_WEIGHT","STACK_COUNTER_SPACING","OPACITY","GRID_ROW_GAP","GRID_COLUMN_GAP","TRANSLATION_X","TRANSLATION_Y","TRANSLATION_XY","ROTATION","SCALE_X","SCALE_Y","SCALE_XY","PATH_TRIM_START","PATH_TRIM_END"],_5=new Set(PM),T5=new Set([...PM,...E5]);function h5(e){return Object.prototype.hasOwnProperty.call(tl,e)}function LM(e){return h5(e)?tl[e]:e}var O5=[LM(JS[0]),...JS.slice(1).map(LM)];function DM(e){return O5.filter(t=>e.has(t))}var g5=DM(_5),vM=DM(T5),hie=new Set(g5),Oie=new Set(vM);var xM=vM;var Ls=[0,0,1,1];
8736function qS(e,t,n){let r=1-e;return 3*r*r*e*t+3*r*e*e*n+e*e*e}function I5(e,t,n){let r=1-e;return 3*r*r*t+6*r*e*(n-t)+3*e*e*(1-n)}function f_(e,t){if(e<=0)return 0;if(e>=1)return 1;let[n,r,o,i]=t;if(n===0&&r===0&&o===1&&i===1)return e;let s=e;for(let u=0;u<8;u+=1){let c=qS(s,n,o)-e,d=I5(s,n,o);if(Math.abs(c)<1e-6||Math.abs(d)<1e-6)break;s-=c/d}let a=0,l=1;s=Math.min(1,Math.max(0,s));for(let u=0;u<12;u+=1){let c=qS(s,n,o);if(Math.abs(c-e)<1e-6)break;c<e?a=s:l=s,s=(a+l)/2}return qS(s,r,i)}function Pe(e,t){let n=10**t;return Math.round(e*n)/n}var S5=.001,R5=.9999;var A5=.03;function MM(e,t,n){return Math.min(n,Math.max(t,e))}function p_(e){let t=e.damping/(2*Math.sqrt(e.stiffness*e.mass));return MM(t,A5,R5)}function QS(e,t){let{stiffness:n,mass:r}=e,o=Math.sqrt(n/r),i=p_(e),s;if(i<1){let a=o*Math.sqrt(1-i*i),l=1,u=i*o/a;s=Math.exp(-t*i*o)*(l*Math.cos(a*t)+u*Math.sin(a*t))}else s=(1+o*t)*Math.exp(-t*o);return 1-s}function Ff(e){return e.mass>0&&e.stiffness>0&&e.damping>0}function GM(e){let t=e.damping/(2*Math.sqrt(e.stiffness*e.mass));return MM(1-t,0,1)}function wf(e){let{mass:t,stiffness:n}=e,r=Math.sqrt(n/t),o=p_(e),i=o*r,s=r*Math.sqrt(1-o*o),a=o*r/s;return(-Math.log(S5)+Math.log(1+a))/i}function kM(e){if(!Ff(e))return n=>n;let t=wf(e);return n=>QS(e,n*t)}function Cs(e,t){if(e.length<=2)return e;let n=[];for(let r=0;r<e.length;r+=1){let o=r>0&&t(e[r])===t(e[r-1]),i=r<e.length-1&&t(e[r])===t(e[r+1]);o&&i||n.push(e[r])}return n}function Bf(e,t,n){switch(n){case"SET":return e;case"OFFSET":return t+e;case"SCALE":return t*e}}function N5(e,t){return f_(t,[e.value.p1x,e.value.p1y,e.value.p2x,e.value.p2y])}function y5(e,t){let{mass:n,stiffness:r,damping:o}=e.value;if(!(n>0)||!(r>0)||!(o>0))return t;let i=Math.max(0,t)*wf(e.value);return QS(e.value,i)}function wM(e,t){switch(e.type){case"LINEAR":return t;case"BEZIER":return N5(e,t);case"SPRING":return y5(e,t);case"HOLD":return 0}}function Or(e,t,n){if(e.keyframes.length===0)return t;let r=e.keyframes,o=r[r.length-1];if(o.timeMicros<=n)return Bf(o.value,t,e.keyframeOperation);for(let i=0;i<r.length;i+=1){let s=r[i];if(s.timeMicros>=n){let a=Bf(s.value,t,e.keyframeOperation),l=i===0?null:r[i-1];if(l==null||n===s.timeMicros)return a;let u=Bf(l.value,t,e.keyframeOperation),c=s.timeMicros-l.timeMicros;if(c<=0)return a;let d=(n-l.timeMicros)/c,f=wM(s.easing,d);return u+(a-u)*f}}return Bf(o.value,t,e.keyframeOperation)}var nl={type:"LINEAR"},b5=1e-6,L5=1e-4;function C5(e){return Math.max(1,Math.round(e*1e6))}function hr(e,t){return Math.abs(e-t)<b5}function tR(e,t){if(e.type!==t.type)return!1;switch(e.type){case"LINEAR":case"HOLD":return!0;case"BEZIER":{let n=t;return hr(e.value.p1x,n.value.p1x)&&hr(e.value.p1y,n.value.p1y)&&hr(e.value.p2x,n.value.p2x)&&hr(e.value.p2y,n.value.p2y)}case"SPRING":{let n=t;return hr(e.value.mass,n.value.mass)&&hr(e.value.stiffness,n.value.stiffness)&&hr(e.value.damping,n.value.damping)}}}function P5(e,t){let n=new Set([0,t]);for(let r of e)for(let o of r.keyframes)n.add(o.timeMicros);return Array.from(n).sort((r,o)=>r-o)}function m_(e,t,n){if(t.length===1)return Or(t[0],e,n);let r=e,o=[];for(let i of t)i.keyframeOperation==="SCALE"?o.push(i):r=Or(i,r,n);return o.length===0?r:r*D5(o,n)}function D5(e,t){let n=(l,u)=>Or(l,1,u),r=e.filter(l=>l.keyframes.length>0).map(l=>{let u=l.keyframes[0],c=l.keyframes[l.keyframes.length-1],d=n(l,c.timeMicros)>=n(l,u.timeMicros),f=t>=u.timeMicros;return{track:l,startMicros:u.timeMicros,increasing:d,started:f}}).sort((l,u)=>l.startMicros!==u.startMicros?l.startMicros-u.startMicros:Number(l.increasing)-Number(u.increasing));if(r.length===0)return 1;let o=r.some(({started:l})=>l),i=r[0].startMicros,s=r.filter(({started:l,startMicros:u})=>o?l:u===i),a=n(s[0].track,t);for(let l=1;l<s.length;l+=1){let{track:u,increasing:c}=s[l],d=n(u,t);a=c?Math.max(a,d):Math.min(a,d)}return a}function FM(e,t){let n=Or(e,0,t);return{scale:Or(e,1,t)-n,offset:n}}function eR(e){return e.kind==="varying"&&hr(e.startValue,e.endValue)?{kind:"constant",value:e.startValue}:e}function v5(e,t,n){let r=FM(e,t),o=FM(e,n);if(hr(r.scale,o.scale)&&hr(r.offset,o.offset))return{kind:"exact",transform:{kind:"constant",scale:r.scale,offset:r.offset}};let i=t+(n-t)/2,s=e.keyframes.findIndex(c=>c.timeMicros>=i);if(s<=0)return{kind:"sample",reason:"missingSegment"};let a=e.keyframes[s],u=e.keyframes[s-1].timeMicros===t&&a.timeMicros===n;return a.easing.type==="HOLD"?{kind:"exact",transform:{kind:"constant",scale:r.scale,offset:r.offset}}:!u&&a.easing.type!=="LINEAR"?{kind:"sample",reason:"nonlinearSubsegment"}:{kind:"exact",transform:{kind:"varying",easing:a.easing,scaleStart:r.scale,scaleEnd:o.scale,offsetStart:r.offset,offsetEnd:o.offset}}}function x5(e,t){if(t.kind==="constant")return e.kind==="constant"?{kind:"exact",interval:{kind:"constant",value:e.value*t.scale+t.offset}}:{kind:"exact",interval:eR({kind:"varying",easing:e.easing,startValue:e.startValue*t.scale+t.offset,endValue:e.endValue*t.scale+t.offset})};if(e.kind==="constant")return{kind:"exact",interval:eR({kind:"varying",easing:t.easing,startValue:e.value*t.scaleStart+t.offsetStart,endValue:e.value*t.scaleEnd+t.offsetEnd})};if(!tR(e.easing,t.easing))return{kind:"sample",reason:"mixedEasing"};if(!hr(t.scaleStart,t.scaleEnd))return{kind:"sample",reason:"varyingScale"};let n=t.scaleStart;return{kind:"exact",interval:eR({kind:"varying",easing:e.easing,startValue:e.startValue*n+t.offsetStart,endValue:e.endValue*n+t.offsetEnd})}}function M5(e,t,n,r){if(t.filter(s=>s.keyframeOperation==="SCALE").length>=2)return{kind:"sample",intervalStartMicros:n,intervalEndMicros:r,reason:"multipleScaleTracks"};let i={kind:"constant",value:e};for(let s of t){let a=v5(s,n,r);if(a.kind==="sample")return{kind:"sample",intervalStartMicros:n,intervalEndMicros:r,reason:a.reason};let l=x5(i,a.transform);if(l.kind==="sample")return{kind:"sample",intervalStartMicros:n,intervalEndMicros:r,reason:l.reason};i=l.interval}return{kind:"exact",intervalStartMicros:n,intervalEndMicros:r,interval:i}}function G5(e,t,n){let r=[];for(let o=0;o<n.length-1;o+=1)r.push(M5(e,t,n[o],n[o+1]));return r}function k5(e,t,n,r,o){let i=[];for(let s of e){if(s.kind==="exact"){F5(i,r,s.intervalStartMicros,s.intervalEndMicros,s.interval);continue}w5(i,t,n,r,s.intervalStartMicros,s.intervalEndMicros,o)}if(i.length>0){let s=Pe(m_(t,n,r),3),a=i[i.length-1];a.time===1&&!hr(a.value,s)&&ac(i,r,r,s)}return i}function ac(e,t,n,r){let o=Pe(n/t,4),i=Pe(r,3),s=e[e.length-1];if(s&&o===s.time&&hr(i,s.value))return s;s&&o===s.time&&(s.time=Pe(Math.max(0,o-L5),4));let a={time:o,value:i,easing:nl};return e.push(a),a}function F5(e,t,n,r,o){let i=ac(e,t,n,o.kind==="constant"?o.value:o.startValue);if(o.kind==="constant"){i.easing=nl;let a=ac(e,t,r,o.value);a.easing=nl;return}i.easing=o.easing;let s=ac(e,t,r,o.endValue);s.easing=nl}function w5(e,t,n,r,o,i,s){let a=C5(s);for(let u=o;u<i;u+=a){let c=ac(e,r,u,m_(t,n,u));c.easing=nl}let l=ac(e,r,i,m_(t,n,i));l.easing=nl}function BM(e,t,n,r=.5){if(n<=0)return[];let o=P5(t,n);if(o.length===0)return[];if(o.length===1)return[{time:Pe(o[0]/n,4),value:Pe(m_(e,t,o[0]),3),easing:nl}];let i=G5(e,t,o);return k5(i,e,t,n,r)}function nR(e){return e*(180/Math.PI)}function xn(e,t){let n=Pe(e,3);switch(t){case"px":return`${n}px`;case"rad":return`${n}rad`;case"number":return`${n}`}}var An={MOTION_TRANSLATION_X:{css:{property:"translateX",unit:"px",transformFunction:"translateX"},motionDev:{property:"x",unit:"px"},svg:{exportVia:"css"}},MOTION_TRANSLATION_Y:{css:{property:"translateY",unit:"px",transformFunction:"translateY"},motionDev:{property:"y",unit:"px"},svg:{exportVia:"css"}},MOTION_ROTATION:{css:{property:"rotate",unit:"rad",transformFunction:"rotate"},motionDev:{property:"rotate",unit:"deg",mapValue:nR},svg:{exportVia:"css"}},MOTION_SCALE_X:{css:{property:"scaleX",unit:"number",transformFunction:"scaleX",propertyDeclarationInitialValue:"1"},motionDev:{property:"scaleX",unit:"number"},svg:{exportVia:"css"}},MOTION_SCALE_Y:{css:{property:"scaleY",unit:"number",transformFunction:"scaleY",propertyDeclarationInitialValue:"1"},motionDev:{property:"scaleY",unit:"number"},svg:{exportVia:"css"}},MOTION_SHEAR:{css:{property:"shear",unit:"rad",transformFunction:"skewX"},motionDev:{property:"skewX",unit:"deg",mapValue:nR},svg:{exportVia:"css"}},OPACITY:{css:{property:"opacity",unit:"number",generateOffset:!0,parameterUnitDivisor:100},motionDev:{property:"opacity",unit:"number",parameterUnitDivisor:100},svg:{exportVia:"css"}},WIDTH:{css:{property:"width",unit:"px",generateOffset:!0},motionDev:{property:"width",unit:"px"},svg:{exportVia:"smil",attributeName:"width"}},HEIGHT:{css:{property:"height",unit:"px",generateOffset:!0},motionDev:{property:"height",unit:"px"},svg:{exportVia:"smil",attributeName:"height"}},MIN_WIDTH:{css:{property:"min-width",unit:"px",generateOffset:!0},motionDev:{property:"minWidth",unit:"px"},svg:null},MAX_WIDTH:{css:{property:"max-width",unit:"px",generateOffset:!0},motionDev:{property:"maxWidth",unit:"px"},svg:null},MIN_HEIGHT:{css:{property:"min-height",unit:"px",generateOffset:!0},motionDev:{property:"minHeight",unit:"px"},svg:null},MAX_HEIGHT:{css:{property:"max-height",unit:"px",generateOffset:!0},motionDev:{property:"maxHeight",unit:"px"},svg:null},CORNER_RADIUS:{css:{property:"border-radius",unit:"px",generateOffset:!0},motionDev:{property:"borderRadius",unit:"px"},svg:{exportVia:"smil",attributeName:"rx"}},RECTANGLE_TOP_LEFT_CORNER_RADIUS:{css:{property:"border-top-left-radius",unit:"px",generateOffset:!0},motionDev:{property:"borderTopLeftRadius",unit:"px"},svg:null},RECTANGLE_TOP_RIGHT_CORNER_RADIUS:{css:{property:"border-top-right-radius",unit:"px",generateOffset:!0},motionDev:{property:"borderTopRightRadius",unit:"px"},svg:null},RECTANGLE_BOTTOM_LEFT_CORNER_RADIUS:{css:{property:"border-bottom-left-radius",unit:"px",generateOffset:!0},motionDev:{property:"borderBottomLeftRadius",unit:"px"},svg:null},RECTANGLE_BOTTOM_RIGHT_CORNER_RADIUS:{css:{property:"border-bottom-right-radius",unit:"px",generateOffset:!0},motionDev:{property:"borderBottomRightRadius",unit:"px"},svg:null},STROKE_WEIGHT:{css:{property:"border-width",unit:"px",generateOffset:!0},motionDev:{property:"borderWidth",unit:"px"},svg:{exportVia:"css",cssPropertyOverride:"stroke-width"}},BORDER_TOP_WEIGHT:{css:{property:"border-top-width",unit:"px",generateOffset:!0},motionDev:{property:"borderTopWidth",unit:"px"},svg:null},BORDER_RIGHT_WEIGHT:{css:{property:"border-right-width",unit:"px",generateOffset:!0},motionDev:{property:"borderRightWidth",unit:"px"},svg:null},BORDER_BOTTOM_WEIGHT:{css:{property:"border-bottom-width",unit:"px",generateOffset:!0},motionDev:{property:"borderBottomWidth",unit:"px"},svg:null},BORDER_LEFT_WEIGHT:{css:{property:"border-left-width",unit:"px",generateOffset:!0},motionDev:{property:"borderLeftWidth",unit:"px"},svg:null},TEXT_STROKE_WIDTH:{css:{property:"-webkit-text-stroke-width",unit:"px",generateOffset:!0},motionDev:{property:"WebkitTextStrokeWidth",unit:"px"},svg:null},STACK_PADDING_LEFT:{css:{property:"padding-left",unit:"px",generateOffset:!0},motionDev:{property:"paddingLeft",unit:"px"},svg:null},STACK_PADDING_TOP:{css:{property:"padding-top",unit:"px",generateOffset:!0},motionDev:{property:"paddingTop",unit:"px"},svg:null},STACK_PADDING_RIGHT:{css:{property:"padding-right",unit:"px",generateOffset:!0},motionDev:{property:"paddingRight",unit:"px"},svg:null},STACK_PADDING_BOTTOM:{css:{property:"padding-bottom",unit:"px",generateOffset:!0},motionDev:{property:"paddingBottom",unit:"px"},svg:null},STACK_SPACING:{css:{property:"gap",unit:"px",generateOffset:!0},motionDev:{property:"gap",unit:"px"},svg:null},STACK_COUNTER_SPACING:{css:{property:"gap",unit:"px",generateOffset:!0},motionDev:{property:"gap",unit:"px"},svg:null},GRID_ROW_GAP:{css:{property:"row-gap",unit:"px",generateOffset:!0},motionDev:{property:"rowGap",unit:"px"},svg:null},GRID_COLUMN_GAP:{css:{property:"column-gap",unit:"px",generateOffset:!0},motionDev:{property:"columnGap",unit:"px"},svg:null},FONT_SIZE:{css:{property:"font-size",unit:"px",generateOffset:!0},motionDev:{property:"fontSize",unit:"px"},svg:{exportVia:"css"}},LETTER_SPACING:{css:{property:"letter-spacing",unit:"px"},motionDev:{property:"letterSpacing",unit:"px"},svg:null},LINE_HEIGHT:{css:{property:"line-height",unit:"px",generateOffset:!0},motionDev:{property:"lineHeight",unit:"px"},svg:null},PARAGRAPH_SPACING:{css:{property:"margin-bottom",unit:"px"},motionDev:{property:"marginBottom",unit:"px"},svg:null},PARAGRAPH_INDENT:{css:{property:"text-indent",unit:"px"},motionDev:{property:"textIndent",unit:"px"},svg:null}};var rl=new Set([An.MOTION_TRANSLATION_X.motionDev.property,An.MOTION_TRANSLATION_Y.motionDev.property,An.MOTION_ROTATION.motionDev.property,An.MOTION_SCALE_X.motionDev.property,An.MOTION_SCALE_Y.motionDev.property,An.MOTION_SHEAR.motionDev.property]);var HM={fills:{css:{property:"background-color"},motionDev:{property:"background"},svg:{property:"fill"}},strokes:{css:{property:"border-color"},motionDev:{property:"borderColor"},svg:{property:"stroke"}}},U5={css:{property:"color"},motionDev:{property:"color"},svg:{property:"fill"}},V5={css:{property:"-webkit-text-stroke-color"},motionDev:{property:"WebkitTextStrokeColor"},svg:{property:"stroke"}};function iR(e){return e in HM}function sR(e,t){return t?.isTextNode?e==="fills"?U5:V5:HM[e]}var H5={LAYER_BLUR:{RADIUS:{css:{property:"filter",unit:"px",cssFunction:"blur"},motionDev:{property:"filter",unit:"px",motionDevFunction:"blur"}}},BACKGROUND_BLUR:{RADIUS:{css:{property:"backdrop-filter",unit:"px",cssFunction:"blur"},motionDev:{property:"backdropFilter",unit:"px",motionDevFunction:"blur"}}}};var W5=H5;function aR(e,t){return W5[e]?.[t]?.motionDev??null}function lR(e){return Object.keys(e).map(t=>Number(t)).filter(t=>Number.isFinite(t)).sort((t,n)=>t-n)}function bi(e,t,n,r){let o=rR(e),i=rR(t),s=rR(n),a=Math.min(1,Math.max(0,r));if(a>=1)return Y5(o,i,s);let l=Pe(a,2);return`rgba(${o}, ${i}, ${s}, ${l})`}function rR(e){return Math.min(255,Math.max(0,Math.round(e*255)))}function Y5(e,t,n){let r=i=>i.toString(16).toUpperCase().padStart(2,"0"),o=`${r(e)}${r(t)}${r(n)}`;return o[0]===o[1]&&o[2]===o[3]&&o[4]===o[5]?`#${o[0]}${o[2]}${o[4]}`:`#${o}`}function Uf(e){if(!e?.tracks||e.baseValue.type!=="COLOR")return null;let t=e.baseValue.value,n=[],r=e.accumulatedAncestorOffsetMicros??0,o=[...e.tracks].filter(i=>i!=null).sort((i,s)=>{let a=i.animationPreset?.timelineOffset??0,l=s.animationPreset?.timelineOffset??0;return a-l});for(let i=0;i<o.length;i++){let s=o[i];for(let a of s.keyframes){if(a.value.type!=="COLOR")continue;let l=(s.animationPreset?.timelineOffset??0)*1e6,u=a.timelinePosition+l+r,{r:c,g:d,b:f,a:p}=a.value.value;n.push({absolutePositionMicros:u,trackIndex:i,r:c,g:d,b:f,a:p,easing:a.easing})}}return n.sort((i,s)=>i.absolutePositionMicros-s.absolutePositionMicros),n.length>0?{keyframes:n,baseColor:t}:null}function WM(e){return"parameterUnitDivisor"in e?e.parameterUnitDivisor:1}function E_(e){switch(e){case"SET":return 0;case"OFFSET":return 1;case"SCALE":return 2;default:return 3}}function UM(e,t){return"mapValue"in e?e.mapValue(t):t}function K5(e,t){if(t?.isTextNode&&e==="STROKE_WEIGHT")return An.TEXT_STROKE_WIDTH}function z5(e,t,n){let r=K5(e,n);if(r)return r.motionDev;let o=n?.layoutMode;if(o==="HORIZONTAL"){if(e==="STACK_SPACING")return An.GRID_COLUMN_GAP.motionDev;if(e==="STACK_COUNTER_SPACING")return An.GRID_ROW_GAP.motionDev}else if(o==="VERTICAL"){if(e==="STACK_SPACING")return An.GRID_ROW_GAP.motionDev;if(e==="STACK_COUNTER_SPACING")return An.GRID_COLUMN_GAP.motionDev}return t.motionDev}
8736function VM(e){return typeof e=="object"&&e!==null&&"tracks"in e&&"timelineDuration"in e}function X5(e,t,n){let r=new Map,o=0;for(let[i,s]of Object.entries(e)){if(VM(s))o=Math.max(o,s.timelineDuration);else if(typeof s=="object"&&s!==null)for(let _ of Object.values(s))_&&typeof _=="object"&&"timelineDuration"in _&&(o=Math.max(o,_.timelineDuration));if(i==="fills"||i==="strokes"||!VM(s))continue;let a=An[i];if(!a)continue;if(s.baseValue.type!=="FLOAT"){console.warn("Keyframe conversion does not support non-float keyframes",{parameterField:i,type:s.baseValue.type});continue}let l=t(i,a),u=l.property,c=UM(l,s.baseValue.value),d=s.accumulatedAncestorOffsetMicros??0,f=s.tracks.filter(_=>_!=null).map(_=>{let T=(_.animationPreset?.timelineOffset??0)*1e6,h=_.keyframes.flatMap(m=>m.value.type!=="FLOAT"?[]:[{timeMicros:m.timelinePosition+T+d,value:UM(l,m.value.value),easing:m.easing}]).sort((m,E)=>m.timeMicros-E.timeMicros);return{keyframeOperation:_.keyframeOperation,keyframes:h}}).filter(_=>_.keyframes.length>0).sort((_,T)=>E_(_.keyframeOperation)-E_(T.keyframeOperation));if(f.length===0)continue;let p=r.get(u);if(p&&n?.mergeDuplicateProperties){p.timelineDurationMicros=Math.max(p.timelineDurationMicros,s.timelineDuration),p.tracks.push(...f),p.tracks.sort((_,T)=>E_(_.keyframeOperation)-E_(T.keyframeOperation));continue}r.set(u,{target:l,baseValue:c,timelineDurationMicros:s.timelineDuration,tracks:f})}return{durationMicros:o,propertiesByName:r}}function YM(e,t){return X5(e,(n,r)=>z5(n,r,t))}var KM={OFFSET_X:"offsetX",OFFSET_Y:"offsetY",RADIUS:"radius",SPREAD:"spread"};function Z5(e){let t=e.tracks[0];if(!t||t.keyframes.length===0)return null;let n=e.accumulatedAncestorOffsetMicros??0,r=(t.animationPreset?.timelineOffset??0)*1e6,o=[];for(let i of t.keyframes)i.value.type==="FLOAT"&&o.push({timeMicros:i.timelinePosition+r+n,value:i.value.value,easing:i.easing});return o.length===0?null:(o.sort((i,s)=>i.timeMicros-s.timeMicros),{track:{keyframeOperation:t.keyframeOperation,keyframes:o},durationMicros:e.timelineDuration})}function J5(e){return e.map(t=>({timeMicros:t.absolutePositionMicros,r:t.r,g:t.g,b:t.b,a:t.a,easing:t.easing})).sort((t,n)=>t.timeMicros-n.timeMicros)}function Vf(e,t){if(!t||t.length===0)return{tracks:[],durationMicros:0};let n=e.effects,r=[],o=0,i=!1;for(let s=0;s<t.length;s++){let a=t[s];if(!a)continue;let l={effectIndex:s,base:a},u=n?.[s];if(u){for(let[c,d]of Object.entries(u))if(d){if(c==="COLOR"){let f=Uf(d);if(!f)continue;l.color=J5(f.keyframes),i=!0,o=Math.max(o,d.timelineDuration)}else if(c in KM){let f=Z5(d);if(!f)continue;let p=KM[c];l[p]=f.track,i=!0,o=Math.max(o,f.durationMicros)}}}r.push(l)}return i?{tracks:r,durationMicros:o}:{tracks:[],durationMicros:0}}function zM(e,t,n){if(e.length===0)return t;let r=e[0];if(n<=r.timeMicros)return r;let o=e[e.length-1];if(n>=o.timeMicros)return o;for(let i=1;i<e.length;i++){let s=e[i];if(s.timeMicros>=n){let a=e[i-1],l=s.timeMicros-a.timeMicros;if(l<=0)return s;let u=(n-a.timeMicros)/l;return{r:a.r+(s.r-a.r)*u,g:a.g+(s.g-a.g)*u,b:a.b+(s.b-a.b)*u,a:a.a+(s.a-a.a)*u}}}return o}function q5(e,t){let n=e.offsetX?Or(e.offsetX,e.base.offsetX,t):e.base.offsetX,r=e.offsetY?Or(e.offsetY,e.base.offsetY,t):e.base.offsetY,o=e.radius?Or(e.radius,e.base.radius,t):e.base.radius,i=e.color?zM(e.color,e.base.color,t):e.base.color;return`drop-shadow(${xn(n,"px")} ${xn(r,"px")} ${xn(Math.max(0,o),"px")} ${bi(i.r,i.g,i.b,i.a)})`}function Q5(e,t){let n=[];for(let r=e.length-1;r>=0;r--)n.push(q5(e[r],t));return n.join(" ")}function ez(e,t,n){let r=e.offsetX?Or(e.offsetX,e.base.offsetX,t):e.base.offsetX,o=e.offsetY?Or(e.offsetY,e.base.offsetY,t):e.base.offsetY,i=e.radius?Or(e.radius,e.base.radius,t):e.base.radius,s=e.color?zM(e.color,e.base.color,t):e.base.color;if(n)return`${xn(r,"px")} ${xn(o,"px")} ${xn(i,"px")} `+bi(s.r,s.g,s.b,s.a);let a=e.spread?Or(e.spread,e.base.spread,t):e.base.spread,l=`${xn(r,"px")} ${xn(o,"px")} ${xn(i,"px")} ${xn(a,"px")} `+bi(s.r,s.g,s.b,s.a);return e.base.inset?`${l} inset`:l}function tz(e,t,n){let r=[];for(let o=e.length-1;o>=0;o--)r.push(ez(e[o],t,n));return r.join(", ")}function nz(e,t){for(let n of e.keyframes)if(n.timeMicros===t)return n.easing;return null}function rz(e,t){for(let n of e)if(n.timeMicros===t)return n.easing;return null}function oz(e,t,n){let r=!1,o=!1,i=!1;for(let s of e.keyframes){if(s.timeMicros===n)i=!0;else if(s.timeMicros>t&&s.timeMicros<n)return!0;s.timeMicros<=t&&(r=!0),s.timeMicros>n&&(o=!0)}return!i&&r&&o}function iz(e,t,n){let r=!1,o=!1,i=!1;for(let s of e){if(s.timeMicros===n)i=!0;else if(s.timeMicros>t&&s.timeMicros<n)return!0;s.timeMicros<=t&&(r=!0),s.timeMicros>n&&(o=!0)}return!i&&r&&o}function sz(e,t,n){let r=[];for(let s of e){for(let a of["offsetX","offsetY","radius","spread"]){let l=s[a];if(!l)continue;if(oz(l,t,n))return{type:"LINEAR"};let u=nz(l,n);u&&r.push(u)}if(s.color){if(iz(s.color,t,n))return{type:"LINEAR"};let a=rz(s.color,n);a&&r.push(a)}}if(r.length===0)return null;let[o,...i]=r;return i.every(s=>tR(o,s))?o:{type:"LINEAR"}}function XM(e,t,n=!1){return jM(e,t,(r,o)=>tz(r,o,n))}function jM(e,t,n){let r=new Set([0,t]),o=a=>Math.min(t,Math.max(0,a));for(let a of e){for(let l of["offsetX","offsetY","radius","spread"]){let u=a[l];if(u)for(let c of u.keyframes)r.add(o(c.timeMicros))}if(a.color)for(let l of a.color)r.add(o(l.timeMicros))}let i=Array.from(r).sort((a,l)=>a-l),s=i.map((a,l)=>{let u=i[l+1];return{timeMicros:a,value:n(e,a),easing:u!=null?sz(e,a,u):null}});return Cs(s,a=>a.value)}function $M(e,t){let n=e.filter(o=>!o.base.inset),r=n.length!==e.length;return n.length===0?{keyframes:[],droppedInset:r}:{keyframes:jM(n,t,Q5),droppedInset:r}}Fe();var mz=new Set(["width","height","maxWidth","maxHeight","borderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","borderWidth","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","paddingLeft","paddingTop","paddingRight","paddingBottom","marginBottom","x","y","scaleX","scaleY","rotate","skewX"]),mR=new Set(Object.values(An).map(e=>e.motionDev).filter(e=>e.unit==="px"&&!mz.has(e.property)).map(e=>e.property));function Ez(e,t,n){let r={mass:e,stiffness:t,damping:n},o=Math.sqrt(t/e),i=p_(r),s=wf(r),a=kM(r);return Object.assign(a,{__springParams:{mass:e,stiffness:t,damping:n,zeta:i,w0:o,duration:s}})}function JM(e){return typeof e=="function"&&"__springParams"in e}function cR(e,t,n){if(n.length===1&&n[0]?.type==="SPRING"){let o=n[0];if(Ff(o.value))return{duration:e,type:"spring",bounce:GM(o.value)}}let r=n.map(o=>{let{type:i}=o;switch(i){case"LINEAR":return"linear";case"BEZIER":{let{p1x:s,p1y:a,p2x:l,p2y:u}=o.value;return[Pe(s,3),Pe(a,3),Pe(l,3),Pe(u,3)]}case"SPRING":return Ff(o.value)?Ez(o.value.mass,o.value.stiffness,o.value.damping):"linear";
8736case"HOLD":return"linear";default:ic(i)}});return{duration:e,times:t,ease:r}}var qM=1e-4;function _z(e){if(e.length===0)return[];let t=[...e];t.length>1&&t[t.length-1].time<1&&t.push({...t[t.length-1],time:1});let n=Math.round(1/qM),r=t.map(o=>Math.round(o.time*n));for(let o=1;o<r.length;o+=1)r[o]=Math.max(r[o],r[o-1]+1);if(r[r.length-1]>n){r[r.length-1]=n;for(let o=r.length-2;o>=0;o-=1)r[o]=Math.min(r[o],r[o+1]-1)}if(r[0]<0){r[0]=0;for(let o=1;o<r.length;o+=1)r[o]=Math.max(r[o],r[o-1]+1)}return t.map((o,i)=>({...o,time:r[i]/n}))}function Tz(e,t){let n=new Map;for(let[r,o]of e.propertiesByName){let i=BM(o.baseValue,o.tracks,e.durationMicros),s=t?.normalizeParameterUnits?WM(o.target):1,a=_z(i.map(l=>({...l,value:l.value/s})));a.length>0&&n.set(r,{keyframes:a,baseValue:o.baseValue/s})}return n}function hz(e,t,n){let r=new Map;for(let[o,i]of Object.entries(e)){if(!i||!iR(o))continue;let s=sR(o,{isTextNode:n}).motionDev.property,a=o==="fills",l=!("tracks"in i),u;if(l){let f=i;u=Object.keys(f).map(Number).filter(p=>!isNaN(p)).sort((p,_)=>p-_).map(p=>[p,f[p]])}else u=[[0,i]];let c=a&&!n&&u.length>1,d=c?u:u.slice(0,1);for(let[f,p]of d){let _=Uf(p);if(!_)continue;let T=c?`--fill-color-${f}`:s,h=bi(_.baseColor.r,_.baseColor.g,_.baseColor.b,_.baseColor.a),m=_.keyframes.map(E=>({time:Pe(E.absolutePositionMicros/t,4),colorString:bi(E.r,E.g,E.b,E.a),easing:E.easing}));if(m.length>0){m.sort((O,g)=>O.time-g.time);let E=m.map(O=>O.easing);for(let O=0;O<m.length;O++)m[O].easing=O<m.length-1?E[O+1]:{type:"LINEAR"};r.set(T,{property:T,keyframes:m,baseColorString:h})}}}return r}function Oz(e,t,n,r){let o=e.effects;if(!o||n===0)return[];let i=[];for(let s of lR(o)){let a=o[s];if(!a)continue;let l=t?.[s];if(l)for(let[u,c]of Object.entries(a)){if(!c)continue;let d=aR(l,u),f=r&&l==="BACKGROUND_BLUR"&&d?{...d,property:"filter",motionDevFunction:"blur"}:d;if(!f||c.baseValue.type!=="FLOAT")continue;let p=c.tracks[0];if(!p||p.keyframes.length===0)continue;let _=ZM(f,c.baseValue.value),T=[...p.keyframes].sort((E,O)=>E.timelinePosition-O.timelinePosition),h=[];for(let E of T)E.value.type==="FLOAT"&&h.push({time:Pe(E.timelinePosition/n,4),valueString:ZM(f,E.value.value),easing:E.easing});if(h.length===0)continue;let m=h.map(E=>E.easing);for(let E=0;E<h.length;E++)h[E].easing=E<h.length-1?h[E].easing.type==="HOLD"?h[E].easing:m[E+1]:{type:"LINEAR"};i.push({effectIndex:s,property:f.property,keyframes:h,baseValueString:_})}}return i}function ZM(e,t){return`${e.motionDevFunction}(${xn(t,e.unit)})`}var gz="boxShadow",Iz="textShadow";function Sz(e,t,n,r,o){if(n===0)return null;let{tracks:i}=Vf(e,t),s=o?i.filter(o):i;if(s.length===0)return null;let a=XM(s,n,r).map(l=>({time:Pe(l.timeMicros/n,4),valueString:l.value,easing:l.easing??{type:"LINEAR"}}));return a.length===0?null:{effectIndex:s[0].effectIndex,property:r?Iz:gz,keyframes:a,baseValueString:a[0].valueString}}function Rz(e,t,n){let{tracks:r}=Vf(e,t),o=$M(r,n);return o.keyframes.length===0?null:{effectIndex:r.find(i=>!i.base.inset)?.effectIndex??0,property:"filter",keyframes:o.keyframes.map(i=>({time:Pe(i.timeMicros/n,4),valueString:i.value,easing:i.easing??{type:"LINEAR"}})),baseValueString:o.keyframes[0].value}}function dR(e){if(e.length<2)return e;let t=[];for(let n=0;n<e.length;n++){let r=e[n];if(r.easing.type==="HOLD"&&n<e.length-1){let i=e[n+1].time-qM;if(i<=r.time){t.push({...r,easing:{type:"LINEAR"}});continue}t.push({...r,easing:{type:"LINEAR"}}),t.push({...r,time:Pe(i,4),easing:{type:"LINEAR"},isHoldDuplicate:!0})}else t.push(r)}return t}function fR(e,t){if(e.length===0)return!0;let n=t(e[0]);return e.every(r=>t(r)===n)}function Az(e,t,n,r,o){let i={},s={},a={},l=new Map,u={},c={},d={},f={},p={},_={},T=Array.from(e.entries()).sort(([m],[E])=>m.localeCompare(E));for(let[m,E]of T){let{keyframes:O,baseValue:g}=E;if(O.length===0)continue;if(fR(O,L=>L.value)){let L=O[0].value;L!==g&&(i[m]=L);continue}i[m]=O[0].value;let I=Cs(O,L=>L.value),S=dR(I),A=S.map(L=>L.time),R=S.map(L=>L.value),y=new Set;S.forEach((L,D)=>{L.isHoldDuplicate&&y.add(D)}),y.size>0&&l.set(m,y);let b=S.slice(0,-1).map(L=>L.easing);s[m]=R,a[m]=cR(r,A,b),pR(a[m],o)}let h=Array.from(t.entries()).sort(([m],[E])=>m.localeCompare(E));for(let[m,E]of h){let{keyframes:O}=E;if(O.length===0)continue;if(fR(O,y=>y.colorString)){u[m]=O[0].colorString;continue}u[m]=E.baseColorString;let g=Cs(O,y=>y.colorString),I=dR(g),S=I.map(y=>y.time),A=I.map(y=>y.colorString),R=I.slice(0,-1).map(y=>y.easing);c[m]=A,d[m]=cR(r,S,R),pR(d[m],o)}for(let m of n){let{keyframes:E,property:O,baseValueString:g}=m;if(E.length===0)continue;if(fR(E,b=>b.valueString)){f[O]=E[0].valueString;continue}f[O]=g;let I=Cs(E,b=>b.valueString),S=dR(I),A=S.map(b=>b.time),R=S.map(b=>b.valueString),y=S.slice(0,-1).map(b=>b.easing);p[O]=R,_[O]=cR(r,A,y),pR(_[O],o)}return{props:{initial:i,animate:s,transition:a,colorInitial:u,colorAnimate:c,colorTransition:d,...Object.keys(f).length>0?{effectInitial:f}:{},...Object.keys(p).length>0?{effectAnimate:p}:{},...Object.keys(_).length>0?{effectTransition:_}:{}},holdDuplicateIndices:l}}function pR(e,t){!e||t!=="loop"&&t!=="boomerang"||(e.repeat=1/0,t==="boomerang"&&(e.repeatType="reverse"))}function Nz(e,t){let n=YM(e,{layoutMode:t?.layoutMode,isTextNode:t?.isTextNode}),r=n.durationMicros;if(e.effects)for(let[u,c]of Object.entries(e.effects)){if(!c)continue;let d=t?.effectTypes?.[Number(u)];if(d)for(let[f,p]of Object.entries(c))p&&aR(d,f)&&(r=Math.max(r,p.timelineDuration))}if(r=Math.max(r,Vf(e,t?.shadowEffectBases).durationMicros),r===0)return null;n.durationMicros=r;let o=Tz(n,{normalizeParameterUnits:t?.normalizeParameterUnits}),i=hz(e,r,t?.isTextNode??!1),s=Oz(e,t?.effectTypes,r,t?.isVectorNode??!1);if(t?.isVectorNode&&!t?.isTextNode){let u=Rz(e,t?.shadowEffectBases,r);u&&s.push(u)}let a=Sz(e,t?.shadowEffectBases,r,t?.isTextNode??!1,t?.isVectorNode&&!t?.isTextNode?u=>u.base.inset:void 0);if(a&&s.push(a),o.size===0&&i.size===0&&s.length===0)return null;let l=Pe(r/1e6,3);return{propertiesByName:o,colorPropertiesByName:i,effectProperties:s,durationSeconds:l,durationMicros:r}}function Li(e,t){let n=Nz(e,t);return n?Az(n.propertiesByName,n.colorPropertiesByName,n.effectProperties,n.durationSeconds,t?.playbackStyle).props:null}var yz=new Set(["x","y","rotate","scaleX","scaleY","skewX","opacity"]),Bse=new Set([...yz,"width","height"]);function bz(e){return e==="linear"?Ls:JM(e)?Ls:e}function Lz(e,t){return JM(t)?t(e):f_(e,bz(t))}function So(e,t,n,r){if(t.length<2)return n[0]??0;let o=0;for(let d=0;d<t.length-1;d++)e>t[d+1]&&(o=d+1);o=Math.min(o,t.length-2);let i=t[o],s=t[o+1],a=n[o],l=n[o+1],u=s===i?0:Math.max(0,Math.min(1,(e-i)/(s-i))),c=Lz(u,r[o]??"linear");return a+c*(l-a)}function Cz(e){let t=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/.exec(e.trim());if(t){let r=t[1],o=r.length===3?`${r[0]}${r[0]}${r[1]}${r[1]}${r[2]}${r[2]}`:r;return[parseInt(o.slice(0,2),16),parseInt(o.slice(2,4),16),parseInt(o.slice(4,6),16),1]}let n=/rgba\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\s*\)/.exec(e);return n?[Number(n[1]),Number(n[2]),Number(n[3]),Number(n[4])]:null}function ol(e,t){let n={},r={},o={};for(let[l,u]of Object.entries(e.transition)){let c=e.animate[l];if(!c||!("times"in u)||!u.times||u.times.length<2){n[l]=e.initial[l]??0,r[l]=c??[],o[l]=u;continue}let{times:d,ease:f}=u,p=So(t,d,c,f);n[l]=p,r[l]=[p,p],o[l]={duration:0,times:[0,1],ease:["linear"]}}for(let l of Object.keys(e.initial))l in n||(n[l]=e.initial[l]??0,r[l]=e.animate[l]??[]);let i={},s={},a={};for(let l of Object.keys(e.colorAnimate??{})){let u=e.colorAnimate?.[l],c=e.colorTransition?.[l];if(!u||!c||!("times"in c)||!c.times||c.times.length<2){i[l]=e.colorInitial?.[l]??u?.[0]??"rgba(0, 0, 0, 1)",u&&(s[l]=u),c&&(a[l]=c);continue}let{times:d,ease:f}=c,p=u.map(Cz);if(p.some(O=>O===null)){i[l]=e.colorInitial?.[l]??u[0]??"rgba(0, 0, 0, 1)",s[l]=u,a[l]=c;continue}let _=So(t,d,p.map(O=>O[0]),f),T=So(t,d,p.map(O=>O[1]),f),h=So(t,d,p.map(O=>O[2]),f),m=So(t,d,p.map(O=>O[3]),f),E=bi(_/255,T/255,h/255,m);i[l]=E,s[l]=[E,E],a[l]={duration:0,times:[0,1],ease:["linear"]}}for(let l of Object.keys(e.colorInitial??{}))if(!(l in i)){i[l]=e.colorInitial?.[l]??"rgba(0, 0, 0, 1)";let u=e.colorAnimate?.[l];u&&(s[l]=u)}return{initial:n,animate:r,transition:o,colorInitial:i,colorAnimate:s,colorTransition:a}}function ER(e){return{initial:{...e.initial,...e.colorInitial},animate:{...e.animate,...e.colorAnimate},transition:{...e.transition,...e.colorTransition}}}Fe();
8736var Pz=new Set([w.IN_CUBIC,w.EASE_IN,w.OUT_CUBIC,w.INOUT_CUBIC,w.IN_BACK_CUBIC,w.OUT_BACK_CUBIC,w.INOUT_BACK_CUBIC]),Dz=new Set([w.SPRING,w.GENTLE_SPRING,w.CUSTOM_SPRING,w.SPRING_PRESET_ONE,w.SPRING_PRESET_TWO,w.SPRING_PRESET_THREE]);function Hf(e){let t=bM(e.easingType);if(t===w.LINEAR)return{type:"LINEAR"};if(t===w.HOLD)return{type:"HOLD"};if(e.springValues)return{type:"SPRING",value:e.springValues};if(t!=null&&Dz.has(t))return{type:"SPRING",value:kf(t)};if(e.bezierValues){let{x1:n,y1:r,x2:o,y2:i}=e.bezierValues;return{type:"BEZIER",value:{p1x:n,p1y:r,p2x:o,p2y:i}}}return t!=null&&Pz.has(t)?{type:"BEZIER",value:Gf(t)}:{type:"LINEAR"}}function Wf(e){switch(e.type){case"SPRING":return{type:"spring",...e.value};case"BEZIER":{let{p1x:t,p1y:n,p2x:r,p2y:o}=e.value;return{ease:[Pe(t,3),Pe(n,3),Pe(r,3),Pe(o,3)]}}case"LINEAR":case"HOLD":return{ease:"linear"}}}var Rae={[yi.MOTION_TRANSLATION_X]:"translationX",[yi.MOTION_TRANSLATION_Y]:"translationY",[yi.MOTION_ROTATION]:"rotation",[yi.MOTION_SHEAR]:"shear"};var Aae=new Set(d_);Fe();var Hae=Math.PI/180,Wae=180/Math.PI;var xz=new Set(["TRANSLATION_XY","SCALE_XY"]),Yae=new Set(xM.filter(e=>!xz.has(e)));var Mz=new Map([[mo.OPACITY,["opacity"]],[mo.TRANSLATION,["x","y"]],[mo.ROTATION,["rotate"]],[mo.SCALE,["scaleX","scaleY"]]]),ele=new Map([[mo.OPACITY,["opacity"]],[mo.TRANSLATION,["translate"]],[mo.ROTATION,["rotate"]],[mo.SCALE,["scale"]]]);function e1(e,t){for(let n of e)if(n.interactionIDs.includes(t))return n;return null}function Gz(e,t,n){if(!e)return new Map;let r=new Map,o=e[mo.ALL];if(o){let i=o.find(a=>a.interactionIDs.length===0);if(i)for(let[,a]of n)for(let l of a)r.set(l,i);let s=e1(o,t);if(s)for(let[,a]of n)for(let l of a)r.set(l,s)}for(let[i,s]of Object.entries(e)){if(i===mo.ALL)continue;let a=n.get(i);if(!a)continue;let l=e1(s,t);if(l)for(let u of a)r.set(u,l)}return r}function kz(e){return Wf(Hf(e))}function t1(e,t){let n=Gz(e,t,Mz);if(n.size===0)return null;let r={};for(let[o,i]of n)r[o]={...kz(i.easing),duration:i.duration,...i.delay>0?{delay:i.delay}:{}};return r}function n1(){return typeof window>"u"?!1:window.matchMedia("(prefers-reduced-motion: reduce)").matches}function Fz(e,t){return!!e(t.websiteData.siteSettings).ignoreReducedMotion}function Yf(){return!!VD(void 0,fe()?.websiteData.siteSettings)?.ignoreReducedMotion}function r1(e,t){return n1()&&!Fz(e,t)}function __(){let e=Yf();return n1()&&!e}var T_=new Map,h_=new Map;function O_(e){let t=T_.get(e);if(t)return Promise.resolve(t);let n=h_.get(e);if(n)return n.promise;let r=()=>{},o=new Promise(i=>r=i);return h_.set(e,{resolve:r,promise:o}),o}function _R(e,t){if(T_.has(e))return;T_.set(e,t);let n=h_.get(e)?.resolve;n&&(n(t),h_.delete(e))}function TR(e){T_.delete(e)}function o1(e){if(e.length===0)return Promise.resolve(null);let t=e.map(n=>O_(n));return Promise.any(t)}function hR(){return document.documentElement}function OR(){return document.body}function i1(e){if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;let t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some(n=>{let r=t.getPropertyValue(n);return r==="auto"||r==="scroll"})}function s1(e){if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;let t=getComputedStyle(e);return t.overflowX==="auto"||t.overflowX==="scroll"}function a1(e){if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;let t=getComputedStyle(e);return t.overflowY==="auto"||t.overflowY==="scroll"}function l1(e){let t=e.parentElement;for(;t&&t!==document.documentElement;){if(i1(t))return t;t=t.parentElement}return OR()}function gR(e){let t=e.parentElement;for(;t&&t!==document.body;){if(i1(t))return t;t=t.parentElement}return hR()}var wz=.8;function Bz(e,t){return e?.filter(n=>n.event?.interactionType===t)?.map(n=>n.id)?.filter(n=>n!=null)?.map(n=>ot(n))??[]}function g_(e,t,n,r){let{variableState:o,websiteContext:{env:i,setLocation:s,history:a}}=r;for(let l of n)switch(l.connectionType){case"INTERNAL_NODE":Yz(e,r,l,t);break;case"URL":if(l.connectionURL){let u=EP(l.connectionURL,i);if(!u)s({url:l.connectionURL});else{let{url:c,target:d}=Tf(u,l.openUrlInNewTab,i);
8736window.open(c,d)?.focus()}}break;case"SET_VARIABLE":if(l.targetVariable&&l.targetVariable.id&&l.targetVariableData){let u=Bu(l.targetVariableData),c=u!==null?To({get:e,variableState:o,modeContext:r.modeContext},u):null;c!==null?o.setVariable(l.targetVariable.id,c,r.modeContext):console.warn("Error evaluating variable data",l.targetVariableData)}break;case"CONDITIONAL":if(l.conditionalActions)for(let u of l.conditionalActions){let c=u.condition?Bu(u.condition):void 0;if(c===null)break;if(c===void 0||To({get:e,variableState:o,modeContext:r.modeContext},c)){if(u.actions){let d=SE(u.actions);g_(e,t,d,r)}break}}break;case"BACK":a.back();break;default:console.warn("unknown action type",l)}}function Uz(e,t,n,r){let o=r.atomStore;return()=>{let i=ho(r);if(i?.onAnimationComplete){i.onAnimationComplete();return}let s=t.transitionAtom;e(s)?.id===n&&(u1(n),o.set(s,void 0));let a=t.autoLayoutTransitionAtom;a&&e(a)?.id===n&&o.set(a,void 0)}}var Vz=0;function Hz(e,t,n,r){if(e?.transitionType==="SMART_ANIMATE"){let o=Vz++;return{id:o,durationSeconds:e.transitionDuration??wv,onTransitionEnd:Uz(t,n,o,r),motionAnimationData:Bv(e,r)}}}function Wz(e,t){e.type==="COMPONENT"&&t.type;let n=e.size,r=t.size;return n.x!==r.x||n.y!==r.y}function IR(e,t,n,r,o,i){let s=t.nodeById.get(r),a=t.nodeById.get(o),l=Wz(s,a),u=jz(n,t,l),c=Hz(n,e,u,t.websiteContext);if(c&&"transitionOverrides"in t.node&&t.node.transitionOverrides&&i?.id){let d=`${i.id.sessionID}:${i.id.localID}`,f=t1(t.node.transitionOverrides,d);f&&(c.perPropertyTransitions=f)}t.websiteContext.atomStore.set(u.transitionAtom,c),u.autoLayoutTransitionAtom&&t.websiteContext.atomStore.set(u.autoLayoutTransitionAtom,c?{...c,layout:!0,onTransitionEnd:()=>{}}:void 0)}function Yz(e,t,n,r){switch(n.navigationType){case"NAVIGATE":I_(n.connectionURL,t.websiteContext,n.transitionType,n.transitionDuration);break;case"SWAP_STATE":{n.transitionNodeID;let o=t.node.id;_v(o,t);let i=VS(t),s=Bz(i,"AFTER_TIMEOUT"),a=SR(n,t);let l=Xz(e,a,t);let{sessionID:u,localID:c}=n.transitionNodeID,d=`${u}
8736:${c}`,f=t.nodeById.get(d);if(!f||f.id===AS.id)break;if(IR(e,t,n,l,d,r),a.set(e,t.modeContext,d),n.transitionResetInteractiveComponents){let p=n.stateGroupContext?t.parentStates?.get(n.stateGroupContext):null;p&&p.stateResetHandlers.forEach(_=>_(e,t.modeContext))}c1(t.node.id,s);break}case"SCROLL_TO":{n.transitionNodeID;let o=n.transitionNodeID,i=n.extraScrollOffset||{x:0,y:0},s=!!n.transitionType&&n.transitionType!=="INSTANT_TRANSITION",a=r1(e,t.websiteContext);zz(t,o,i,s&&!a);break}default:console.warn("unknown navigation type",n);break}}function Kz(e,t){let n=[];n.push(e);let r=t.sourceStablePath;if(r.includes("I")){let o=r.split(";");for(let i=0;i<o.length;i++){let a=`${o.slice(0,i+1).join(";")};${e}`;n.push(a)}}return n}function zz(e,t,n,r){if(!t)return;let{sessionID:o,localID:i}=t,s=`${o}:${i}`,a=Kz(s,e);o1(a).then(l=>{if(l){let u=l1(l);if(!u)return;let c=u===OR(),d=s1(u),f=a1(u)||c,p=l.getBoundingClientRect(),_=u.getBoundingClientRect(),T=p.top-_.top,h=p.left-_.left,m={x:d?u.scrollLeft+h+n.x:u.scrollLeft,y:f?u.scrollTop+T+n.y:u.scrollTop};(c?window:u).scrollTo({top:m.y,left:m.x,behavior:r?"smooth":"instant"})}})}function I_(e,t,n,r){let o=n==="SMART_ANIMATE"&&r?{duration:r}:void 0;ge(!!e,"No URL provided for internal navigation"),t.setLocation({url:e,transition:o})}function Xz(e,t,n){let r=t.get(e,n.modeContext);return r||(n.node.type==="INSTANCE"?n.node.mainComponentId:null)}function SR(e,t){let{backingComponentIdState:n,parentStates:r}=t,o=e.stateGroupContext;return(o?r?.get(o):null)?.backingComponentIdState??n}function jz(e,t,n){let{transitionAtom:r,parentStates:o}=t,i=e.stateGroupContext,s=i?o?.get(i):null,a={transitionAtom:s?.transitionAtom??r};return n&&s?.parentAutoLayoutTransitionAtom&&(a.autoLayoutTransitionAtom=s.parentAutoLayoutTransitionAtom),a}function VS(e){let{node:t}=e;if(!("interactions"in t)||!t.interactions)return;let n=t.interactions,r=n.filter(d=>d.event?.interactionType==="ON_PRESS");if(!r.length)return n;let o;for(let d of r)if(o=d.actions?.find(f=>f.navigationType==="SWAP_STATE"&&f.connectionType==="INTERNAL_NODE"),o)break;if(!o||!o.transitionNodeID)return n;n=n.filter(d=>d.event?.interactionType!=="ON_CLICK");let{sessionID:i,localID:s}=o.transitionNodeID,a=`${i}:${s}`,{nodeById:l}=e,u=l.get(a);if(!("interactions"in u)||!u.interactions)return n;let c=u.interactions.find(d=>d.event?.interactionType==="ON_CLICK");return c?[...n,c]:n}function Lv(e,t,n){let r={},o=[],i=[];for(let s of n){let a=s.event?.interactionType;if(a){if(a==="ON_KEY_DOWN"){o.push(s);continue}if(a==="AFTER_TIMEOUT"){i.push(s);continue}r[a]=$z(e,t,s)}}return o.length>0&&(r.ON_KEY_DOWN=Zz(e,t,o)),i.length>
87360&&(r.AFTER_TIMEOUT=i.map(s=>{let a=s.event.transitionTimeout||wz;return{callback:()=>{g_(e,s,s.actions||[],t)},delayMilliseconds:a*1e3,interactionGuid:ot(s.id)||Ze,nodeId:t.node.id}})),r}function Cv(e,t,n){let r=e(t);return r||e(n)}function $z(e,t,n){return{mouseCallback:r=>{let o=new S_(e,n,n.actions||[],t,r);g_(e,n,n.actions||[],t),o.completeTracking(e,t)}}}function Zz(e,t,n){return{keyCallback:r=>{for(let o of n)pP(o,r)&&g_(e,o,o.actions||[],t)}}}function Pv(e){if(!(!("accessibleHTMLTag"in e)||!e.accessibleHTMLTag)&&"interactions"in e&&e.accessibleHTMLTag==="BUTTON"&&!e.interactions.find(n=>n.event?.interactionType==="ON_CLICK")){let n={event:{interactionType:"ON_CLICK"},actions:[{noop:!0}]};e.interactions?e.interactions.push(n):e.interactions=[n]}}var RR;function R_(){return RR||(RR=new Map),RR}function Jz(e){let t=R_(),n=t.get(e)||{reverseStateInfo:[]};n.reverseStateInfo.push([]),t.set(e,n)}function qz(e){let n=R_().get(e.target);let r=n.reverseStateInfo[n.reverseStateInfo.length-1];r.push(e)}function Qz(e){let t=R_(),n=t.get(e.target);let r=n.reverseStateInfo[n.reverseStateInfo.length-1];let o=r.pop();r.length===0&&(n.reverseStateInfo.pop(),n.reverseStateInfo.length===0&&t.delete(e.target))}function e6(e,t,n,r){let{variableState:o}=r,i=r.backingComponentIdState,s=[],a=l=>{if(l.connectionType==="CONDITIONAL"){if(l.conditionalActions)for(let u of l.conditionalActions){let c=u.condition?Bu(u.condition):void 0;if(c===null)break;if(c===void 0||To({get:e,variableState:o,modeContext:{}},c)){u.actions&&SE(u.actions).forEach(a);break}}return}if(l.connectionType==="INTERNAL_NODE"&&l.navigationType==="SWAP_STATE"){l.transitionNodeID;let u=SR(l,r);let c=i.get(e,r.modeContext),d=c;c||r.node.type==="INSTANCE"&&(d=r.node.mainComponentId);let{sessionID:f,localID:p}=l.transitionNodeID,_=`${f}:${p}`;(t.event?.interactionType==="ON_HOVER"||t.event?.interactionType==="ON_PRESS")&&s.push({oldBackingComponentId:d,newBackingComponentId:_,oldBackingComponentIdStateContents:c,target:u,interactionId:ot(t.id),triggerType:t.event.interactionType,action:l,modeContext:r.modeContext,get:e})}};return n.forEach(a),s}var S_=class{executedReversibleInteractions;hoverInteractionCalc;constructor(t,n,r,o,i){if(this.executedReversibleInteractions=e6(t,n,r,o),this.executedReversibleInteractions.length>0)if(n.event?.interactionType==="ON_HOVER"){let s=i.currentTarget.offsetParent;this.hoverInteractionCalc={origin:i.currentTarget,originSize:i.currentTarget.getBoundingClientRect(),parentDeltaStack:[{target:i.currentTarget,delta:{x:0,y:0}}]};let a=this.hoverInteractionCalc.parentDeltaStack;for(;s!==null&&s instanceof HTMLElement;){let l=a[a.length-1];a.push({target:s,delta:{x:l.delta.x+l.target.offsetLeft,y:l.delta.y+l.target.offsetTop}}),s=s.offsetParent}this.hoverInteractionCalc.parentDeltaStack.shift()}else n.event?.interactionType}completeTracking(t,n){if(!this.executedReversibleInteractions)return;let r=new Map;for(let o of this.executedReversibleInteractions)r.has(o.target)||r.set(o.target,[]),r.get(o.target)?.push(o);for(let o of r.keys()){Jz(o);let i=r.get(o);for(let s of i){let a=()=>{let l=s.target,u=l?.get(t,n.modeContext);l&&u===s.newBackingComponentId&&(IR(t,n,s.action,s.newBackingComponentId,s.oldBackingComponentId),s.oldBackingComponentIdStateContents?l.set(t,n.modeContext,s.oldBackingComponentIdStateContents):l.reset()),Qz(s)};s.triggerType==="ON_HOVER"?(this.hoverInteractionCalc,s.undoInfo={type:"ON_HOVER",...this.hoverInteractionCalc,undo:a}):s.triggerType==="ON_PRESS"&&(s.undoInfo={type:"ON_PRESS",undo:a}),qz(s)}}}},AR=new Map;function NR(){return AR||(AR=new Map),AR}function d1(e,t){let n=NR();n.has(e)||n.set(e,[]);let r=n.get(e);r.push(t)}function f1(e,t){let r=NR().get(e);let o=r.indexOf(t);o!==-1&&r.splice(o,1)}function lc(e){let n=NR().get(e.nativeEvent.type)||[];for(let r of n)r(e.nativeEvent)}function m1(){(0,p1.useEffect)(()=>{let e=t=>{R_().forEach(r=>{let o=()=>{if(r.reverseStateInfo.length===0)return;let i=r.reverseStateInfo[r.reverseStateInfo.length-1];if(i.length===0)return;let s=i[i.length-1].undoInfo;if(s.type==="ON_HOVER"){let a;for(let l=s.parentDeltaStack.length-1;l>=0;l--){let u=s.parentDeltaStack[l].target;if(!document.contains(u))break;let c=window.getComputedStyle(u);if(c.overflow&&c.overflow!=="visible"){let f=u.getBoundingClientRect();if(t.clientX<=f.left||t.clientX>
8736=f.right||t.clientY<=f.top||t.clientY>=f.bottom){AE()?.showHoverTargetRectangle(f,"red"),a=!1;break}}}if(a===void 0)for(let{target:l,delta:u}of s.parentDeltaStack){if(!document.contains(l))continue;let c=l.getBoundingClientRect(),d=[c.left+u.x,c.top+u.y],f=[c.left+u.x+s.originSize.width,c.top+u.y+s.originSize.height],p=new DOMRect(d[0],d[1],s.originSize.width,s.originSize.height);AE()?.showHoverTargetRectangle(p,"blue"),t.clientX>d[0]&&t.clientX<f[0]&&t.clientY>d[1]&&t.clientY<f[1]?a=!0:(AE()?.showHoverTargetRectangle(c,"green"),a=!1);break}a===!1&&(s.undo(),o());return}else if(s.type==="ON_PRESS"){t.buttons===0&&(s.undo(),o());return}};o()})};return window.addEventListener("mousemove",e),d1("mousemove",e),window.addEventListener("mouseup",e),d1("mouseup",e),()=>{window.removeEventListener("mousemove",e),f1("mousemove",e),window.removeEventListener("mouseup",e),f1("mouseup",e)}},[])}var E1=!0;setTimeout(()=>{E1=!1},200);var t6=class{persistentTimeouts=new Map;nextId=0;getPersistentTimeouts(){return this.persistentTimeouts}registerPersistentTimeout(t,n,r,o){let i=`${t}:${n}`,s=this.persistentTimeouts.get(i);if(s){if(s.isMounted=!0,s.delayMilliseconds===o)return-1;clearTimeout(s.timeoutHandle),this.persistentTimeouts.delete(i)}let a=this.reserveTimeoutId(),l=Date.now(),u=setTimeout(()=>{r(),this.persistentTimeouts.delete(i)},o+(E1?200:0));return this.persistentTimeouts.set(i,{timeoutHandle:u,startTime:l,delayMilliseconds:o,callback:r,isMounted:!0}),a}markTimeoutsAsUnmounted(t){for(let[n,r]of this.persistentTimeouts)n.startsWith(`${t}:`)&&(r.isMounted=!1)}cleanupUnmountedTimeouts(t,n){if(n){let r=[];for(let o of n){let i=`${t}:${o}`,s=this.persistentTimeouts.get(i);s&&!s.isMounted&&(clearTimeout(s.timeoutHandle),r.push(i))}r.forEach(o=>this.persistentTimeouts.delete(o))}}clearTimeoutsByInteractionGuidsAndNodeId(t,n){let r=[];for(let o of n){let i=`${t}:${o}`,s=this.persistentTimeouts.get(i);s&&(clearTimeout(s.timeoutHandle),r.push(i))}r.length>0&&r.forEach(o=>this.persistentTimeouts.delete(o))}reserveTimeoutId(){return this.nextId++}},n6=new t6,Ps=n6;var r6=(e,t=[],n,r)=>
8736{let o=t.find(i=>i.event?.interactionType==="ON_CLICK");if(!o?.actions){o&&o.actions;return}for(let i of o?.actions??[])if(i.connectionType==="URL"||i.connectionType==="INTERNAL_NODE"&&i.navigationType==="NAVIGATE")return hf(e,i.connectionType,i.connectionURL,i.openUrlInNewTab,n,r);return(o?.actions?.length??0)>0?o6(e,n):void 0};function gr(e=[],t,n,r){if(!t)return{};let o={},i=s=>!!s&&!!s.mouseCallback;if(i(t?.ON_CLICK)){let s=Pa(l=>{t?.ON_CLICK?.mouseCallback?.(l),l.preventDefault(),l.stopPropagation()},"onClick"),a=r6(s,e,n,r);o={onClick:s,...o,...a}}return i(t?.MOUSE_ENTER)&&(o.onMouseEnter=Pa(s=>{t?.MOUSE_ENTER?.mouseCallback?.(s),lc(s),s.stopPropagation()},"onMouseEnter")),i(t?.MOUSE_LEAVE)&&(o.onMouseLeave=Pa(s=>{t?.MOUSE_LEAVE?.mouseCallback?.(s),lc(s),s.stopPropagation()},"onMouseLeave")),i(t?.MOUSE_DOWN||t?.ON_PRESS)&&(o.onMouseDown=Pa(s=>{t?.MOUSE_DOWN?.mouseCallback?.(s),t?.ON_PRESS?.mouseCallback?.(s),lc(s),s.preventDefault(),s.stopPropagation()},"onMouseDown")),i(t?.MOUSE_UP)&&(o.onMouseUp=Pa(s=>{t?.MOUSE_UP?.mouseCallback?.(s),lc(s),s.stopPropagation()},"onMouseUp")),i(t?.ON_HOVER)&&(o.onMouseMove=Pa(s=>{t?.ON_HOVER?.mouseCallback?.(s),lc(s),s.stopPropagation()},"onMouseMove")),o}var A_={};function _1(e,t){let n=[];return e?.AFTER_TIMEOUT&&e.AFTER_TIMEOUT.forEach(({callback:o,delayMilliseconds:i,interactionGuid:s,nodeId:a})=>{let l=Ps.reserveTimeoutId(),u=A_[t]??[];u.push({callback:o,delayMilliseconds:i,interactionGuid:s,nodeId:a}),A_[t]=u,n.push(l)}),n}function u1(e){let t=A_[e];t&&t.length&&(t.forEach(({callback:n,delayMilliseconds:r,interactionGuid:o,nodeId:i})=>{Ps.registerPersistentTimeout(i,o,n,r)}),delete A_[e])}function T1(e,t){let n=[],r=0;return t?.AFTER_TIMEOUT&&t.AFTER_TIMEOUT.forEach(({callback:i,delayMilliseconds:s,interactionGuid:a})=>{let l=Ps.registerPersistentTimeout(e,a,i,s);l!==-1?n.push(l):r++}),{timeoutIds:n,persistentTimeoutCount:r}}function c1(e,t){t&&Ps.clearTimeoutsByInteractionGuidsAndNodeId(e,t)}function o6(e,t){return t?{role:"button",tabIndex:0,onClick:e,onKeyDown:r=>{(r.key==="Enter"||r.key===" ")&&e(r)}}:{}}function h1(e,t){let n=null;return(...r)=>{n!==null&&clearTimeout(n),n=setTimeout(()=>{e(...r)},t)}}var na=v(W()),KA=v(W());var Zr=(e,t)=>{let n=e.scrollBehavior==="STICKY_SCROLLS"||e.scrollBehavior==="FIXED";return{[yt.ScrollParallax]:n||(t?.isInStickyOrFixedTree??!1)}};function Mn(e,t){return t.disableMarquee?!1:e.type==="FRAME"||e.type==="TEXT"||e.type==="REPEATER"?!!e.behaviors?.marquee:!1}function O1(e,t){return Mn(e,t)&&(e.type==="FRAME"||e.type==="REPEATER")?!e.accessibleLabel:!1}var re=function(e){return e.FIXED="FIXED",e.FILL_PARENT="FILL_PARENT",e.HUG_CONTENTS="HUG_CONTENTS",e}({});function It(e){return il(e)&&e.layoutMode!=="NONE"}function $t(e,t){return t?(ge(t.children.includes(e.id),"node is parent of other node"),It(t)&&e.layoutPositioning!=="ABSOLUTE"):!1}function il(e){return e.type==="FRAME"||e.type==="SLOT"||e.type==="CODE_INSTANCE"||e.type==="CODE_LAYER"||e.type==="REPEATER"||e.type==="CMS_RICH_TEXT"}function N_(e){let{minWidth:t,minHeight:n,maxWidth:r,maxHeight:o}=e,i={};return n&&(i.minHeight=n),o&&(i.maxHeight=o),t&&(i.minWidth=t),r&&(i.maxWidth=r),i}function Kf(e,t){return t==="primary"?!!e.layoutGrow:e.layoutAlign==="STRETCH"}function yR(e,t){return t==="width"&&(e==="HORIZONTAL"||e==="GRID")||t==="height"&&e==="VERTICAL"?"primary":"counter"}function g1(e,t,n,r,o,i){let s=bR(t,o.rootNodeStyle);if(n&&$t(t,n)){if(Kf(t,yR(n.layoutMode,e)))return"FILL_PARENT"}else if(n===null&&(s==="independent"||i?.renderedByCode))return"FILL_PARENT";if(il(t)&&i6(t)&&t.layoutMode!=="NONE"){let l=yR(t.layoutMode,e),u=l==="primary"?t.primaryAxisSizingMode:t.counterAxisSizingMode;switch(u){case"FIXED":return"FIXED";case"AUTO":case void 0:return!o.enforceLayoutInvariants&&r?.length&&r.every(c=>c.layoutPositioning!=="ABSOLUTE"&&Kf(c,l)||c.visible===!1)||r?.length&&r.every(c=>c.layoutPositioning==="ABSOLUTE"||c.visible===!1)?"FIXED":"HUG_CONTENTS";default:xe(u)}}return t.type==="TEXT"&&(t.textAutoResize==="WIDTH_AND_HEIGHT"||e==="height"&&t.textAutoResize==="HEIGHT")||t.type==="GROUP"?"HUG_CONTENTS":"FIXED"}function Mt(e,t,n,r,o){let i=g1("width",e,t,n,r,o);if(Mn(e,r)){let s=t&&Mt(t,null,n,r,o)==="HUG_CONTENTS";(i==="HUG_CONTENTS"||i==="FILL_PARENT"&&s)&&(i="FIXED")}return i}function un(e,t,n,r,o){return g1("height",e,t,n,r,o)}function i6(e){return It(e)?e.type==="CODE_INSTANCE"||e.type==="CODE_LAYER"||e.type==="REPEATER"||e.type==="CMS_RICH_TEXT"?!0:e.type==="FRAME"||e.type==="SLOT"?e.children.length>0:!1:!1}function uc(e,t){return!t||!It(t)||!$t(e,t)?!1:e.layoutAlign==="STRETCH"&&t.layoutMode==="HORIZONTAL"&&t.counterAxisSizingMode==="AUTO"&&t.counterAxisAlignItems!=="MIN"}function bR(e,t){return t==="component"&&e.type==="FRAME"&&e.isSlotContent?"independent":t}function y_(e,t){let n=t?.layoutMode;return n==="HORIZONTAL"||n==="VERTICAL"?Kf(e,yR(n,"width")):!1}var Ds="--transform-inner-width",vs="--transform-inner-height";function s6(e){let t=e[0][0],n=e[1][0],r=e[0][1],o=e[1][1],i=Math.atan2(n,t)*(180/Math.PI);return x(i)%90===0&&Ve(t*r+n*o,0)}function sl(e,t){return t.useCssRotationConstraints||s6(e)}function xs(e,t,n){let r=xt(Wt(n?.group?.relativeTransform,e.relativeTransform));return t!==null&&S1(r)}function b_(e){let n=(Math.atan2(e[1][0],e[0][0])*180/Math.PI%360+360)%360;return n>=45&&n<135||n>=225&&n<315}function I1(e,t,n,r,o,i,s){let a=xt(Wt(o?.group?.relativeTransform,e.relativeTransform));if(t==null||!S1(a))return{};let l=a,u=Mt(e,t,n,r,o),c=un(e,t,n,r,o),d={};if(d.transform=R1(l[0][0],l[1][0],l[0][1],l[1][1],s,i,r),Ir(e,t)){(u===re.HUG_CONTENTS||c===re.HUG_CONTENTS)&&console.warn("Transformed sized determined by both constraints and hug not yet supported.");let p=sl(a,r)&&!i?a6("100cqw","100cqh",a,e.size,e.absoluteBoundingBox,r):L_(e.absoluteBoundingBox.width,e.absoluteBoundingBox.height,a,e.size,e.absoluteBoundingBox,r,i,s);d.width=p.width,d.height=p.height,d.transform=p.transform}else{let f=b_(a);
8736u===re.FILL_PARENT&&(f?d.height="100cqw":d.width="100%"),c===re.FILL_PARENT&&(f?d.width="100cqh":d.height="100%")}return d}function L_(e,t,n,r,o,i,s,a){let l=Ro(0,0,n),u=Ro(0,r.y||1,n),c=Ro(r.x||1,0,n),d={x:u.x-l.x,y:u.y-l.y},f={x:c.x-l.x,y:c.y-l.y},p=o.width?e/o.width:1,_=o.height?t/o.height:1,T=(A,R)=>Math.sqrt(A*A+R*R),h=T(p*f.x,_*f.y),m=T(p*d.x,_*d.y),E=p*f.x/h,O=_*f.y/h,g=p*d.x/m,I=_*d.y/m,S=R1(E,O,g,I,a,s,i);return{width:x(h),height:x(m),transform:S}}function a6(e,t,n,r,o,i){let s=Ro(0,0,n),a=Ro(0,r.y||1,n),l=Ro(r.x||1,0,n),u={x:a.x-s.x,y:a.y-s.y},c={x:l.x-s.x,y:l.y-s.y},d=o.width?Y.cssLength(e).multiply(1/o.width):Y.px(0),f=o.height?Y.cssLength(t).multiply(1/o.height):Y.px(0),p,_,T=d.multiply(c.x),h=f.multiply(c.y),m=d.multiply(u.x),E=f.multiply(u.y);c.y===0?p=d.multiply(Math.abs(c.x)):c.x===0?p=f.multiply(Math.abs(c.y)):p=Y.hypot(T,h),u.y===0?_=d.multiply(Math.abs(u.x)):u.x===0?_=f.multiply(Math.abs(u.y)):_=Y.hypot(m,E);let g=c.x*u.y-c.y*u.x<0,I=g?-c.x:c.x,S=g?-c.y:c.y,A=Math.atan2(S,I)*(180/Math.PI),R=x(A,2),y=Math.sqrt(c.x*c.x+c.y*c.y),b=Math.sqrt(u.x*u.x+u.y*u.y),L=c.x*u.x+c.y*u.y,F=90-Math.acos(L/(y*b))*(180/Math.PI),U=x(F,2),N=R%90===0,K=U!==0||!N,C={forTailwind:i.optimizeForTailwindConversion};if(K){let P=Q.combineWithExplicitOrder(R!==0?Q.rotate(R):void 0,U!==0?Q.skewX(U):void 0,g?Q.scaleX(-1):void 0),z=p.toString(C),Ee=_.toString(C);return{width:z,height:Ee,transform:P}}let M=Q.combineWithDefaultOrder(R!==0?Q.rotate(R):void 0,g?Q.scaleX(-1):void 0);return{width:p.toString(C),height:_.toString(C),transform:M}}function S1(e){return!Ve(e[0][0],1,rn)||!Ve(e[1][0],0,rn)||!Ve(e[0][1],0,rn)||!Ve(e[1][1],1,rn)}function cc(e){return!Ve(Math.abs(e[0][0]),1,rn)||!Ve(Math.abs(e[1][0]),0,rn)||!Ve(Math.abs(e[0][1]),0,rn)||!Ve(Math.abs(e[1][1]),1,rn)}function C_(e){let t=Math.abs(e[0][0]),n=Math.abs(e[0][1]);if(!(Ve(t,1,rn)&&Ve(n,0,rn)))return Y.px(1).multiply(Y.var(vs).multiply(n).add(Y.var(Ds).multiply(t)))}function P_(e){let t=Math.abs(e[1][0]),n=Math.abs(e[1][1]);if(!(Ve(n,1,rn)&&Ve(t,0,rn)))return Y.px(1).multiply(Y.var(Ds).multiply(t).add(Y.var(vs).multiply(n)))}function D_(e,t){let n=Math.abs(e[0][0]),r=Math.abs(e[0][1]);if(!(Ve(n,1,rn)&&Ve(r,0,rn)))return Y.px(x(t.y*r+t.x*n))}function v_(e,t){let n=Math.abs(e[1][0]),r=Math.abs(e[1][1]);if(!(Ve(r,1,rn)&&Ve(n,0,rn)))return Y.px(x(t.x*n+t.y*r))}function Ir(e,t){return x_(e,t)||M_(e,t)}function x_(e,t){let n=e.constraints;return $t(e,t)?!1:n?.vertical===Er.TOP_BOTTOM||n?.vertical===Er.SCALE}function M_(e,t){let n=e.constraints;return $t(e,t)?!1:n?.horizontal===Kn.LEFT_RIGHT||n?.horizontal===Kn.SCALE}function R1(e,t,n,r,o,i,s){let{optimizeForTailwindConversion:a}=s;if(!(i||a))return`matrix(${e}, ${t}, ${n}, ${r}, 0, 0)`;let u=Tt(e),c=Tt(t),d=Tt(n),f=Tt(r),p=Math.atan2(c,u)*(180/Math.PI),_=p*Math.PI/180,T=Math.cos(_),h=Math.sin(_),m=u*f-c*d,E=Math.sqrt(u*u+c*c),O=m/E,g=T,I=-h,S=h,A=T,R=(u*g+c*S)/E,y=(u*I+c*A)/E,b=(d*g+f*S)/O,L=(d*I+f*A)/O,D=Math.atan2(b,L)*(180/Math.PI),F=Math.atan2(y,R)*(180/Math.PI),U=Number(p.toFixed(2)),N=Number(D.toFixed(2)),K=Number(F.toFixed(2)),C=Number(E.toFixed(2)),M=Number(O.toFixed(2));if(i&&o){if(o.current!==U){let P=LR(o.current,U);U=o.current+P}o.current=U}return Q.combineWithDefaultOrder(i||U!==0?Q.rotate(U):void 0,i||N!==0?Q.skewX(N):void 0,i||K!==0?Q.skewY(K):void 0,i||C!==1?Q.scaleX(C):void 0,i||M!==1?Q.scaleY(M):void 0)}function LR(e,t){let n=(e%360+360)%360,r=(t%360+360)%360,o=r-n;return o>180?o-=360:o<-180&&(o+=360),Math.abs(o)===180?n===0&&r===180?-180:n===180&&r===0||e<t?180:-180:o}function k_(e){let{node:t,parent:n,context:r,renderOptions:o}=e,i={...N_(t)},{width:s,height:a,top:l,left:u,bottom:c,right:d,transform:f,aspectRatio:p}=d6(e),_={forTailwind:o.optimizeForTailwindConversion};if(s!==void 0&&(i.width=s.toStyleValue(_)),a!==void 0&&(i.height=a.toStyleValue(_)),f!==void 0&&(i.transform=f),p!==void 0&&(i.aspectRatio=p),r?.group?.withinAutoLayout){if(i.gridColumn=1,i.gridRow=1,i.position="relative",u&&(i.marginLeft=u.toStyleValue(_)),r?.group?.isHorizontalFillParent){let T=Y.percent(100);u&&(T=T.subtract(u)),d&&(T=T.subtract(d)),i.width=T.toStyleValue(_)}else d&&(i.marginRight=d);l&&(i.marginTop=l.toStyleValue(_)),c&&(i.marginBottom=c)}
8736else i.position=u6(t,n),u!==void 0&&(i.left=u.toStyleValue(_)),d!==void 0&&(i.right=d.toStyleValue(_)),l!==void 0&&(i.top=l.toStyleValue(_)),c!==void 0&&(i.bottom=c.toStyleValue(_));return zf(t,n)&&(i.zIndex=9999),i}function zf(e,t){return!("scrollBehavior"in e)||$t(e,t)?!1:Boolean(t?.type==="FRAME"&&t.isBreakpointFrame)&&e.scrollBehavior==="FIXED"}function u6(e,t){return e.scrollBehavior==="STICKY_SCROLLS"?"sticky":zf(e,t)?"fixed":"absolute"}function c6(e,t){if(t?.group?.withinAutoLayout)return{horizontal:t?.group?.isHorizontalFillParent?Kn.SCALE:Kn.LEFT,vertical:Er.TOP};let{horizontal:n=Kn.LEFT,vertical:r=Er.TOP}=e.constraints??{};return{horizontal:n,vertical:r}}function F_(e,t){let{horizontal:n,vertical:r}=c6(e,t),o=t?.borderDisplacement??{top:0,right:0,bottom:0,left:0},i=e.constraintValues?.left??{pixelOffset:0,sizeFraction:0},s=e.constraintValues?.right??{pixelOffset:0,sizeFraction:1},a=e.constraintValues?.top??{pixelOffset:0,sizeFraction:0},l=e.constraintValues?.bottom??{pixelOffset:0,sizeFraction:1};if(t?.groupFrameOffset){let{x:u,y:c,frameWidth:d,frameHeight:f,groupWidth:p,groupHeight:_}=t.groupFrameOffset,T=d-p,h=f-_;i={pixelOffset:i.pixelOffset-u+i.sizeFraction*T,sizeFraction:i.sizeFraction},s={pixelOffset:s.pixelOffset-u+s.sizeFraction*T,sizeFraction:s.sizeFraction},a={pixelOffset:a.pixelOffset-c+a.sizeFraction*h,sizeFraction:a.sizeFraction},l={pixelOffset:l.pixelOffset-c+l.sizeFraction*h,sizeFraction:l.sizeFraction}}return{horizontal:{type:n,left:{pixelOffset:i.pixelOffset-o.left,sizeFraction:i.sizeFraction},right:{pixelOffset:s.pixelOffset+o.right,sizeFraction:s.sizeFraction}},vertical:{type:r,top:{pixelOffset:a.pixelOffset-o.top,sizeFraction:a.sizeFraction},bottom:{pixelOffset:l.pixelOffset+o.bottom,sizeFraction:l.sizeFraction}}}}function d6({node:e,parent:t,children:n,shouldOutputVariables:r,codeSyntaxLanguage:o,context:i,renderOptions:s,precomputeTransforms:a,ignoreConstraints:l}){let{horizontal:u,vertical:c}=F_(e,i),d=xt(Wt(i?.group?.relativeTransform,e.relativeTransform)),f=dc(d,e.size),p=Ir(e,t),_=!p&&cc(d)?a?D_(d,e.size):C_(d):void 0,T=!p&&cc(d)?a?v_(d,e.size):P_(d):void 0,h=!i?.group?.withinAutoLayout,{transform:m,...E}=p6({nodeWidth:f.width,bboxWidth:_,constraintBox:u,borderDisplacement:i?.borderDisplacement,ignoreConstraints:l,useTransform:h,resizing:Mt(e,t,n,s,i),textAlign:e.type==="TEXT"?e.textAlignHorizontal:void 0}),{transform:O,...g}=m6({nodeHeight:f.height,bboxHeight:T,constraintBox:c,borderDisplacement:i?.borderDisplacement,ignoreConstraints:l,useTransform:h,resizing:un(e,t,n,s,i),textAlign:e.type==="TEXT"?e.textAlignVertical:void 0}),I;if(e.targetAspectRatio&&f6(e,t)){let S=cc(d)?`${f.width}/${f.height}`:`${e.targetAspectRatio.x}/${e.targetAspectRatio.y}`;x_(e,t)&&(I=S,E.width=void 0),M_(e,t)&&(I=S,g.height=void 0)}if(r){let S={forTailwind:s.optimizeForTailwindConversion};if(E.width){let A=mf(o&&e.boundVariables?.size?.x?.resolvedCodeSyntax?.[o],e.boundVariables?.size?.x?.resolvedName);if(A){let R=E.width.toString(S);E.width=Y.var(A,R)}}if(g.height){let A=mf(o&&e.boundVariables?.size?.y?.resolvedCodeSyntax?.[o],e.boundVariables?.size?.y?.resolvedName);if(A){let R=g.height.toString(S);g.height=Y.var(A,R)}}}return{...E,...g,aspectRatio:I,transform:m||O?Q.combineWithDefaultOrder(m,O):void 0}}function f6(e,t){let n=x_(e,t),r=M_(e,t);return!n&&!r?!0:n!==r}function G_(e,t,n=!1){return Gt(e.pixelOffset,e.sizeFraction,t,n)}function Gt(e,t,n,r=!1){if(t===0&&!r)return Y.px(x(e,2));if(t===1&&r){let o=x(e,2);return o===0?Y.px(0):Y.px(-o)}if(r){let o=x(100-t*100,2),i=(1-t)*n,s=x(e-i,2);return s===0?o===0?Y.px(0):Y.percent(o):Y.percent(o).subtract(Y.px(s))}else{let o=x(t*100,2),i=t*n,s=x(e+i,2);return s===0?o===0?Y.px(0):Y.percent(o):Y.percent(o).add(Y.px(s))}}function p6({nodeWidth:e,bboxWidth:t,constraintBox:n,borderDisplacement:r,ignoreConstraints:o,resizing:i,textAlign:s,useTransform:a}){let l,u,c,d,f=t??(i===re.FIXED?Y.px(x(e)):void 0),p=r?r.left+r.right:0;if(o)l=f;else if(n.type==="SCALE"||n.type==="LEFT_RIGHT")u=G_(n.left,p),c=G_(n.right,p,!0);else if(n.type==="RIGHT"){l=f;let{pixelOffset:_,sizeFraction:T}=n.right;switch(s){case"CENTER":{c=Gt(a?_-e/2:_,T,p,!0),d=a?Q.translateX("50%"):void 0;break}case void 0:case"RIGHT":{c=Gt(_,T,p,!0);break}case"LEFT":case"JUSTIFIED":{c=Gt(a?_-e:_,T,p,!0),d=a?Q.translateX("100%"):void 0;break}default:xe(s)}}else if(n.type==="CENTER"){l=f;let{pixelOffset:_,sizeFraction:T}=n.left,h=n.right.pixelOffset-_-p;switch(s){case void 0:case"CENTER":{u=Gt(a?_+h/2:_,T,p),d=a?Q.translateX("-50%"):void 0;break}case"LEFT":case"JUSTIFIED":{u=Gt(_,T,p);break}case"RIGHT":{u=Gt(a?_+h:_,T,p),d=a?Q.translateX("-100%"):void 0;break}default:xe(s)}}else if(n.type==="LEFT"){l=f;let{pixelOffset:_,sizeFraction:T}=n.left;switch(s){case"CENTER":{u=Gt(a?_+e/2:_,T,p),d=a?Q.translateX("-50%"):void 0;break}case"LEFT":case"JUSTIFIED":case void 0:{u=Gt(_,T,p);break}case"RIGHT":{u=Gt(a?_+e:_,T,p),d=a?Q.translateX("-100%"):void 0;break}default:xe(s)}}else xe(n);return{width:l,left:u,right:c,transform:d}}function m6({nodeHeight:e,bboxHeight:t,constraintBox:n,borderDisplacement:r,ignoreConstraints:o,useTransform:i,resizing:s,textAlign:a}){let l,u,c,d,f=t??(s===re.FIXED?Y.px(x(e)):void 0),p=r?r.top+r.bottom:0;if(o)l=f;else if(n.type==="SCALE"||n.type==="TOP_BOTTOM")u=G_(n.top,p),c=G_(n.bottom,p,!0);else if(n.type==="BOTTOM"){l=f;let{pixelOffset:_,sizeFraction:T}=n.bottom;switch(a){case"CENTER":{c=Gt(i?_-e/2:_,T,p,!0),d=i?Q.translateY("50%"):void 0;break}case void 0:case"BOTTOM":{c=Gt(_,T,p,!0);break}case"TOP":{c=Gt(i?_-e:_,T,p,!0),d=i?Q.translateY("100%"):void 0;break}default:xe(a)}}else if(n.type==="CENTER"){l=f;let{pixelOffset:_,sizeFraction:T}=n.top,h=n.bottom.pixelOffset-_-p;switch(a){case void 0:case"CENTER":{u=Gt(i?_+h/2:_,T,p),d=i?Q.translateY("-50%"):void 0;break}case"BOTTOM":{u=Gt(i?_+h:_,T,p),d=i?Q.translateY("-100%"):void 0;break}case"TOP":{u=Gt(_,T,p);break}default:xe(a)}}else if(n.type==="TOP"){l=f;let{pixelOffset:_,sizeFraction:T}=n.top;switch(a){case"CENTER":{u=Gt(i?_+e/2:_,T,p),d=i?Q.translateY("-50%"):void 0;break}case"BOTTOM":{u=Gt(i?_+e:_,T,p),d=i?Q.translateY("-100%"):void 0;break}case"TOP":case void 0:{u=Gt(_,T,p);break}default:xe(a)}}else xe(n);return{height:l,top:u,bottom:c,transform:d}}
8736function Ro(e,t,n){return{x:n[0][0]*e+n[0][1]*t+n[0][2]*1,y:n[1][0]*e+n[1][1]*t+n[1][2]*1}}function dc(e,t){let n=Ro(0,0,e),r=Ro(t.x,0,e),o=Ro(0,t.y,e),i=Ro(t.x,t.y,e),s=Math.min(n.x,r.x,o.x,i.x),a=Math.max(n.x,r.x,o.x,i.x),l=Math.min(n.y,r.y,o.y,i.y),u=Math.max(n.y,r.y,o.y,i.y),c=a-s,d=u-l,f=Tt(s),p=Tt(l),_=Tt(c),T=Tt(d);return{x:f,y:p,width:_,height:T}}var E6={GRID:void 0,NONE:void 0,HORIZONTAL:void 0,VERTICAL:"column"},w_={MIN:"flex-start",CENTER:"center",MAX:"flex-end",SPACE_BETWEEN:"space-between",SPACE_EVENLY:"space-evenly",SPACE_AROUND:"space-around",BASELINE:"baseline",STRETCH:"stretch"};function _6(e){return["SPACE_BETWEEN","SPACE_EVENLY","SPACE_AROUND"].includes(e)}function T6(e){return e.type==="TEXT"&&e.textAutoResize!=="WIDTH_AND_HEIGHT"}function A1(e,t=0){let n=x(t),r=n===0?"0":`${n}px`;return`${x(e)} 0 ${r}`}function N1(e,t,n,r,o,i,s){let a=N_(e);if(It(t),!t||!It(t))return a;let l=Mt(e,t,n,r,o),u=un(e,t,n,r,o);if(xs(e,t,o)){let _={forTailwind:r.optimizeForTailwindConversion},T=xt(Wt(o?.group?.relativeTransform,e.relativeTransform));if(l!==re.FILL_PARENT){let h=i?D_(T,e.size):C_(T);a.width=h?.toStyleValue(_)}if(u!==re.FILL_PARENT){let h=i?v_(T,e.size):P_(T);a.height=h?.toStyleValue(_)}}else l===re.FIXED&&(e.targetAspectRatio&&u!==re.FIXED?a.aspectRatio=`${e.targetAspectRatio.x}/${e.targetAspectRatio.y}`:a.width=x(e.size.x+wE(e,t))),u===re.FIXED&&(e.targetAspectRatio&&l!==re.FIXED?a.aspectRatio=`${e.targetAspectRatio.x}/${e.targetAspectRatio.y}`:a.height=x(e.size.y+BE(e,t)));a.position="relative",e.scrollBehavior==="STICKY_SCROLLS"&&(a.position="sticky",a.top=0),a.flexShrink=0;let c=t.layoutMode,d=c==="HORIZONTAL",f=c==="VERTICAL",p=c==="GRID"&&t.type!=="SLOT";if(d&&l===re.FILL_PARENT||f&&u===re.FILL_PARENT?(a.flex=A1(e.layoutGrow,0),delete a.flexShrink,d&&!e.minWidth&&(a.minWidth=1),f&&!e.minHeight&&(a.minHeight=1)):p&&(e.gridColumnAnchorIndex!==void 0&&e.gridRowAnchorIndex,t.gridItemsPositioning==="ROW_AUTO_FLOW"?(e.gridColumnSpan&&e.gridColumnSpan>1&&(a.gridColumn=`span ${e.gridColumnSpan}`),e.gridRowSpan&&e.gridRowSpan>1&&(a.gridRow=`span ${e.gridRowSpan}`)):(a.gridColumn=e.gridColumnSpan?`${e.gridColumnAnchorIndex+1}/span ${e.gridColumnSpan}`:e.gridColumnAnchorIndex+1,a.gridRow=e.gridRowSpan?`${e.gridRowAnchorIndex+1}/span ${e.gridRowSpan}`:e.gridRowAnchorIndex+1),(e.gridChildHorizontalAlign&&l===re.FIXED||l!==re.FIXED)&&(l===re.FILL_PARENT?a.justifySelf="stretch":a.justifySelf=w_[e.gridChildHorizontalAlign||"MIN"]),(e.gridChildVerticalAlign&&u===re.FIXED||u!==re.FIXED)&&(u===re.FILL_PARENT?a.alignSelf="stretch":a.alignSelf=w_[e.gridChildVerticalAlign||"MIN"])),(d&&u===re.FILL_PARENT||f&&l===re.FILL_PARENT)&&(f?T6(e)&&!o?.allChildrenAreFillWidth?(a.width="min-content",a.minWidth="100%"):a.width="100%":e.size.y===0&&(e.type==="SVG"||e.type==="IMAGE")&&!s?(a.height="0",a.alignSelf="center"):t.counterAxisSizingMode!=="FIXED"&&!uc(e,t)?a.alignSelf="stretch":a.height="100%"),il(t),il(t)&&o?.negativeItemSpacing){let _=t.layoutMode==="HORIZONTAL"?"marginRight":"marginBottom";a[_]=Y.px(o.negativeItemSpacing)}return a}function y1(e,t){if(!It(t)||!jr(t)||!e.layoutGrow||t.layoutMode!=="HORIZONTAL"&&t.layoutMode!=="VERTICAL")return;let n=t.layoutMode==="HORIZONTAL",r=0;if(It(e)&&(r+=n?(e.paddingLeft||0)+(e.paddingRight||0):(e.paddingTop||0)+(e.paddingBottom||0)),"strokeAlign"in e&&e.strokeAlign==="INSIDE"&&$r(e)){let o=vf(e);r+=n?o.left+o.right:o.top+o.bottom}return r>0?A1(e.layoutGrow,r):void 0}var b1=(e,t,n,r,o)=>{if(e.type==="RECTANGLE"||n.length<=1||e.layoutMode==="NONE")return null;if(e.primaryAxisAlignItems==="SPACE_EVENLY_LEGACY"&&e.computedNegativeItemSpacing!=null&&e.computedNegativeItemSpacing<0)return x(e.computedNegativeItemSpacing);if(e.itemSpacing>=0)return x(e.itemSpacing);let i=-1/0,s=n.filter(a=>!Kf(a,"primary")&&a.layoutPositioning!=="ABSOLUTE");if(e.layoutMode==="HORIZONTAL")if(s.length>0){let a=s.map(l=>dc(l.relativeTransform,l.size).width);i=-Math.min(...a)}else Mt(e,t,n,r,o)!==re.FILL_PARENT&&(i=-e.size.x);else if(s.length>0){let a=s.map(l=>dc(l.relativeTransform,l.size).height);i=-Math.min(...a)}else un(e,t,n,r,o)!==re.FILL_PARENT&&(i=-e.size.y);return x(Math.max(i,e.itemSpacing))};function CR({node:e,parent:t,children:n,itemSpacing:r,shouldOutputVariables:o,codeSyntaxLanguage:i,renderOptions:s,context:a}){let l={},{layoutMode:u,counterAxisAlignItems:c,layoutWrap:d,counterAxisSpacing:f=0}=e;if(O6(l,e,o,i),u==="GRID"&&e.type!=="SLOT")l.display=Mt(e,t,n,s,a)===re.HUG_CONTENTS?"inline-grid":"grid",e.gridColumnsSizing&&(l.gridTemplateColumns=e.gridColumnsSizing),e.gridRowsSizing&&(l.gridTemplateRows=e.gridRowsSizing),e.gridColumnGap&&(l.columnGap=e.gridColumnGap
8736),e.gridRowGap&&(l.rowGap=e.gridRowGap),e.gridItemsPositioning==="ROW_AUTO_FLOW"&&(l.gridAutoFlow="row");else{l.display="flex";let p=g6(e,n,s,a);l.flexDirection=E6[u],e.itemReverseZIndex&&(l.isolation="isolate");let _=S6(e,n);if(_&&_!=="MIN"&&(l.justifyContent=w_[_]),c&&(l.alignItems=w_[c]),l.alignContent=p,d==="WRAP"&&(l.flexWrap="wrap"),!_6(_)&&r!=null?!d||d==="NO_WRAP"?r>0&&(l.gap=r):(r===f||f===void 0)&&p!=="space-between"?l.gap=r:p==="space-between"?l.columnGap=r:r<0?l.rowGap=f:l.gap=f===r?f:`${f}px ${r}px`:d==="WRAP"&&p!=="space-between"&&f&&(l.rowGap=f),o){let T=l.gap??(typeof e.itemSpacing=="number"&&e.itemSpacing>0?e.itemSpacing:0),h=le(i&&e.boundVariables?.itemSpacing?.resolvedCodeSyntax?.[i],e.boundVariables?.itemSpacing?.resolvedName,typeof T=="number"?`${T}px`:T);h&&(l.gap=h)}}return l}function h6(e,t,n,r){return t?t.every(o=>I6(o,e,t,n,r)===re.FILL_PARENT):!0}function O6(e,t,n,r){let o=It(t)&&t.strokesIncludedInLayout&&!jr(t)&&t.type!=="CODE_INSTANCE"&&t.type!=="CODE_LAYER"?UE(t):{top:0,right:0,bottom:0,left:0},i=(c,d)=>{let f=r&&t.boundVariables?.[d]?.resolvedCodeSyntax?.[r];return n?le(f,t.boundVariables?.[d]?.resolvedName,`${c}px`)??c:c},s=i(x((t.paddingTop||0)+o.top),"paddingTop"),a=i(x((t.paddingBottom||0)+o.bottom),"paddingBottom"),l=i(x((t.paddingLeft||0)+o.left),"paddingLeft"),u=i(x((t.paddingRight||0)+o.right),"paddingRight");s!==0&&(e.paddingTop=s),a!==0&&(e.paddingBottom=a),l!==0&&(e.paddingLeft=l),u!==0&&(e.paddingRight=u)}function g6(e,t,n,r){if(e.counterAxisAlignContent==="SPACE_BETWEEN")return"space-between";if(e.layoutWrap==="WRAP"&&!h6(e,t,n,r)){let o=e.counterAxisAlignItems||"MIN";return PR(o)}return"stretch"}function PR(e){switch(e){case"MIN":return"flex-start";case"CENTER":return"center";case"MAX":return"flex-end";case"BASELINE":return"baseline"}}function I6(e,t,n,r,o){return t&&It(t)&&t.layoutMode==="VERTICAL"?Mt(e,t,n,r,o):un(e,t,n,r,o)}function S6(e,t){return e.primaryAxisAlignItems==="SPACE_EVENLY_LEGACY"?t.filter(r=>r.layoutPositioning!=="ABSOLUTE"&&r.visible).length===1?"CENTER":"SPACE_BETWEEN":e.primaryAxisAlignItems}function DR(e,t){return t.transform3dEnabled&&e.scene3d?.preserve3d===!0}function al(e,t){return t.transform3dEnabled&&(e.scene3d?.preserve3d===!0||!!e.transform3d)}var xR={top:0,left:void 0,right:void 0,bottom:void 0,pointerEvents:"auto"};function Xn({node:e,parent:t,context:n,children:r,zIndex:o,itemSpacing:i,codeSyntaxLanguage:s,options:a={isFlattened:!1,canAnimate:!1,previousRotation:void 0},renderOptions:l}){let{previewingCodeBehavior:u,optimizeForTailwindConversion:c,rootNodeStyle:d}=l,f=a.precomputeTransforms??!1,p=bR(e,d),_=a.shouldOutputVariables??!1,T=e.relativeTransform!=null&&b_(e.relativeTransform)&&(Mt(e,t,r,l,n)===re.FILL_PARENT||un(e,t,r,l,n)===re.FILL_PARENT),h;if($t(e,t))h=N1(e,t,r,l,n,f,T);else if(t===null)if(n?.renderedByCode||u)h={...k_({node:e,parent:t,children:r,shouldOutputVariables:_,codeSyntaxLanguage:s,renderOptions:l,context:n,precomputeTransforms:f}),position:"relative",top:void 0,right:void 0,bottom:void 0,left:void 0};else if(p==="independent")h=A6(e);else if(p==="component"){let R=k_({node:e,parent:t,children:r,shouldOutputVariables:_,codeSyntaxLanguage:s,renderOptions:l,context:n,precomputeTransforms:f,ignoreConstraints:!0}),{top:y,left:b,right:L,bottom:D,...F}=R;h={...F,position:"relative"}}else h=R6(e,r,l,n);else h=k_({node:e,parent:t,children:r,shouldOutputVariables:_,codeSyntaxLanguage:s,renderOptions:l,context:n,precomputeTransforms:f});h.mixBlendMode=n?.group?.mixBlendMode??Xu(e.blendMode),T&&(h.containerType="size"),e.relativeTransform!=null&&sl(e.relativeTransform,l)&&!a?.canAnimate&&xs(e,t,n)&&Ir(e,t)&&(h.containerType="size");let m=I1(e,t,r,l,n,a?.canAnimate,a?.previousRotation),E;!a.isFlattened&&It(e)&&(iD(e)||t&&jr(t)&&(e.paddingLeft>0||e.paddingRight>0||e.paddingTop>0||e.paddingBottom>0))?E=CR({node:e,parent:t,children:r,itemSpacing:i,shouldOutputVariables:_,codeSyntaxLanguage:s,renderOptions:l,context:n}):!a.isFlattened&&(e.type==="CODE_INSTANCE"||e.type==="CODE_LAYER")&&It(e)?E=CR({node:e,parent:t,children:r,itemSpacing:e.itemSpacing,shouldOutputVariables:_,codeSyntaxLanguage:s,renderOptions:l,context:n}):e.type==="GROUP"?(E=N6(e,t,n),E.display==="inline-grid"&&(h.lineHeight="0")):E={display:"block"};let g=h.position==="sticky"&&!$t(e,t),I;
8736if(g){let R=n?.borderDisplacement?.bottom??0,y;t?.size.y&&typeof h.top=="number"?y=t.size.y-h.top-R:h.top!==void 0?c?y=`calc(100%-${h.top}+${R}px)`:y=`calc(100% - ${h.top} + ${R}px)`:t?.size.y&&(y=t.size.y-R),I={position:"absolute",top:h.top,left:h.left,bottom:n?.borderDisplacement?.bottom?-n.borderDisplacement.bottom:0,right:h.right,height:y,pointerEvents:"none"},h={...h,...xR}}let S={};if(l.transform3dEnabled){if(e.transform3d){let R=eP(e.transform3d);R.length>0&&(S.transform=R,e.transformOrigin&&!jI(e.transformOrigin)&&(S.transformOrigin=QC(e.transformOrigin))),e.transform3d.backfaceHidden&&(S.backfaceVisibility="hidden")}e.scene3d&&e.scene3d.perspective>0&&(S.perspective=`${e.scene3d.perspective}px`,e.scene3d.perspectiveOrigin&&!jI(e.scene3d.perspectiveOrigin)&&(S.perspectiveOrigin=`${Ef(e.scene3d.perspectiveOrigin.x)} ${Ef(e.scene3d.perspectiveOrigin.y)}`)),DR(e,l)&&(S.transformStyle="preserve-3d",E.transformStyle="preserve-3d"),I&&al(e,l)&&(I.transformStyle="preserve-3d")}let A={inner:E,outer:h,stickyWrapper:I,transform:m,transform3d:S};return y6(A,o),A}function R6(e,t,n,r){let o=un(e,null,t,n,r)===re.HUG_CONTENTS?void 0:e.size.y,s=It(e)?void 0:e.size.x;return{position:"relative",minWidth:"var(--content-min-width)",width:"100%",height:un(e,null,t,n,r)===re.HUG_CONTENTS?void 0:"var(--content-min-height)","--content-min-width":s?`max(100%, ${s}px)`:"100%","--content-min-height":o?`max(var(--100dvh), ${o}px)`:"var(--100dvh)"}}function A6(e){return{position:"relative",width:"100%",height:"100%"}}function N6(e,t,n){let r={};if($t(e,t)||n?.group?.withinAutoLayout){let o=y_(e,t)||Boolean(n?.group?.isHorizontalFillParent);r.display="inline-grid",o||(r.gridTemplateColumns="max-content"),r.gridTemplateRows="max-content",r.placeItems="start"}else r.display="contents";return r}function y6(e,t){t!==void 0&&(e.outer.zIndex=t)}function fc(e,t,n,r){if(n?.renderedByCode)return{};if(DR(e,r.renderOptions))return{};if(t&&"clipsContent"in e&&e.clipsContent===!1)return{};let o=Mn(e,r.renderOptions),i=e.overflowDirection??"NONE",s=!o&&(i==="HORIZONTAL_SCROLLING"||i==="HORIZONTAL_AND_VERTICAL_SCROLLING"),a=!o&&(i==="VERTICAL_SCROLLING"||i==="HORIZONTAL_AND_VERTICAL_SCROLLING"),l=s?"auto":"clip";return t?{overflowX:l,overflowY:a?"auto":"clip"}:r.withBaseStyles?{overflowX:s?"auto":"hidden"}:{}}function L1(e,t,n,r,o,i,s){let{shouldOutputVariables:a}=s,{cursor:l,opacity:u,...c}=n,d,f,p,_,T=Rs(e,!1);if(e.effects&&!o){let{boxShadow:F,filter:U}=gD(e,T,s);d=F?{boxShadow:F}:void 0,_=U?{filter:U}:void 0,f=hS(T,s)}else o&&(p={filter:`url(${o})`});let m=$r(e)||r?lv(e,i,r,s):void 0,E={...d,...m},O=i?{...E,...HE(e,t),position:"absolute",pointerEvents:"none"}:void 0,g=xS(e),I={borderTopLeftRadius:g.topLeft,borderTopRightRadius:g.topRight,borderBottomRightRadius:g.bottomRight,borderBottomLeftRadius:g.bottomLeft},{borderTopLeftRadius:S,borderTopRightRadius:A,borderBottomRightRadius:R,borderBottomLeftRadius:y}=a?MS(I,e,s):I,b={borderTopLeftRadius:S,borderTopRightRadius:A,borderBottomRightRadius:R,borderBottomLeftRadius:y,cursor:l,opacity:u,..._,...i?{}:E},L={...c,...p},D={...f,borderTopLeftRadius:S,borderTopRightRadius:A,borderBottomRightRadius:R,borderBottomLeftRadius:y};return{containerStyles:b,clipperStyles:L,borderStyles:O,sharedBackgroundStyles:D,renderOptions:s}}function vR(e,t,n,r){let o=r?wE(t,n):0,i=Math.min(t.maxWidth||Number.POSITIVE_INFINITY,t.size.x);e.width=x(i+o)}function C1({node:e,parent:t,context:n,children:r,renderOptions:o}){let i={};if(Mn(e,o)&&Mt(e,t,r,o,n)===re.FIXED&&!Ir(e,t)){let s=$t(e,t);vR(i,e,t,s)}return i}function jn({node:e,parent:t,children:n,context:r,renderOptions:o}){let i={position:"relative"},{rootNodeStyle:s,previewingCodeBehavior:a}=o;if(!t&&!s&&!a)return i.width="100%",i.height="100%",i.minWidth="var(--content-min-width)",i.minHeight="var(--content-min-height)",i;let l=Mt(e,t,n,o,r);l!==re.HUG_CONTENTS&&(i.width="100%");let u=un(e,t,n,o,r);u!==re.HUG_CONTENTS&&(i.height="100%");let c=$t(e,t),d=()=>{let f=c?BE(e,t):0,p=Math.min(e.maxHeight||Number.POSITIVE_INFINITY,e.size.y);i.height=x(p+f)};if(Mn(e,o))e.type==="FRAME"&&n?.some(p=>Mt(p,e,n,o,r)===re.FILL_PARENT)&&vR(i,e,t,c);else if(!Ir(e,t)){let f=b_(e.relativeTransform),p=(h,m)=>!f||h===re.HUG_CONTENTS?h:m===re.FILL_PARENT?m:re.FIXED,_=p(l,u),T=p(u,l);_===re.FIXED&&(e.targetAspectRatio&&T!==re.FIXED?i.aspectRatio=`${e.targetAspectRatio.x}/${e.targetAspectRatio.y}`:vR(i,e,t,c)),T===re.FIXED&&(e.targetAspectRatio&&_!==re.FIXED?i.aspectRatio=`${e.targetAspectRatio.x}/${e.targetAspectRatio.y}`:d())}return i}function Ko(e,t){let n={};return e.isDecorativeImage&&(n.role="presentation",n["aria-hidden"]=!0),e.accessibleLabel&&!t&&(n["aria-label"]=e.accessibleLabel),e.ariaAttributes?.ariaHidden!==void 0&&(n["aria-hidden"]=e.ariaAttributes.ariaHidden),e.ariaAttributes?.ariaRole!==void 0&&(n.role=e.ariaAttributes.ariaRole.join(" ")),e.ariaAttributes?.ariaCurrent!==void 0&&(n["aria-current"]=e.ariaAttributes.ariaCurrent),n}var b6={ALPHA:"alpha",LUMINANCE:"luminance",VECTOR:"alpha"};function B_(e,t,n){return!e.enableGroupKeyframeAnimations||!t||t.maskReferenceBoundingBox===n?t:{...t,maskReferenceBoundingBox:n}}function $n({node:e,context:t,websiteContext:n}){let{optimizeForTailwindConversion:r}=n.renderOptions,{masks:o}=t||{};if(!o)return{};let i=F_(e,t),s=o.reduce((l,u)=>{let c=u;if(!c.hash)return l;let d=go(c.assets,c.hash),f=n.getAssetURL(d.url),{isolatedAbsoluteRenderBounds:p}=c,{absoluteBoundingBox:_}=e,T=t?.maskReferenceBoundingBox??_,h=F_(c,t);if(l.maskImage.push(`url("${f}")`),l.maskRepeat.push("no-repeat"),l.maskClip.push("no-clip"),l.maskComposite.push("intersect"),l.maskMode.push(c.maskType?b6[c.maskType]:"alph
8736a"),p){let m=p.x-T.x,E=p.y-T.y,O=[`${x(m)}px`,`${x(E)}px`],g=[`${x(p.width)}px`,`${x(p.height)}px`],I={forTailwind:r};if(h.horizontal.type===Kn.LEFT_RIGHT&&i.horizontal.type===h.horizontal.type){let S=h.horizontal.left.pixelOffset-i.horizontal.left.pixelOffset,A=h.horizontal.right.pixelOffset-i.horizontal.right.pixelOffset;O[0]=`${x(S)}px`,g[0]=Y.percent(100).subtract(Y.px(x(S-A))).toString(I)}if(h.vertical.type===Er.TOP_BOTTOM&&i.vertical.type===h.vertical.type){let S=h.vertical.top.pixelOffset-i.vertical.top.pixelOffset,A=h.vertical.bottom.pixelOffset-i.vertical.bottom.pixelOffset;O[1]=`${x(S)}px`,g[1]=Y.percent(100).subtract(Y.px(x(S-A))).toString(I)}l.maskPosition.push(O.join(" ")),l.maskSize.push(g.join(" "))}else l.maskSize.push("auto"),l.maskPosition.push("0px 0px");return l},{maskImage:[],maskPosition:[],maskRepeat:[],maskClip:[],maskComposite:[],maskSize:[],maskMode:[]}),a=Object.fromEntries(Object.entries(s).map(([l,u])=>[l,u.join(", ")]));return(a.maskPosition==="0px 0px"||a.maskPosition==="0% 0%"||a.maskPosition==="0 0")&&delete a.maskPosition,r||(a.WebkitMaskImage=a.maskImage,a.maskPosition&&(a.WebkitMaskPosition=a.maskPosition),a.WebkitMaskRepeat=a.maskRepeat,a.WebkitMaskClip=a.maskClip,a.WebkitMaskSize=a.maskSize),a}var P1=/^(-?[\d.]+)px (-?[\d.]+)px$/;
8736function D1(e){return typeof e?.maskPosition=="string"&&P1.test(e.maskPosition)}function v1(e,t,n){if(t===0&&n===0)return e;let r=i=>{if(typeof i!="string")return i;let s=P1.exec(i);return s?`${x(parseFloat(s[1])+t)}px ${x(parseFloat(s[2])+n)}px`:i},o={...e};return o.maskPosition!=null&&(o.maskPosition=r(o.maskPosition)),o.WebkitMaskPosition!=null&&(o.WebkitMaskPosition=r(o.WebkitMaskPosition)),o}function Gn(e,t=!1,n,r){if(e===void 0)return{};let o=x(e);if(t){let i=le(r,n,o);if(i)return{opacity:i}}return o===1?{}:{opacity:o}}function cn(e,t){let n=e?.group?.opacity??1,r=t.opacity??1;return n*r}function U_(e){let{env:t,labs:n}=e,r=zE(n);return t==="preview"&&r}function Jr(e,t){if(!(!(e.renderOptions.includeDataName||U_(e))||/^(Frame|Rectangle|Polygon|Star|Group|Line|Ellipse|Vector|Arrow) \d+$/.test(t.name)))return t.name.trim()}function L6(e,t,n,r){return e?n?"div":"a":t?n?"div":"button":r?"ul":null}function C6(e){switch(e){case"ARTICLE":return"article";case"ASIDE":return"aside";case"FIGURE":return"figure";case"FOOTER":return"footer";case"HEADER":return"header";case"MAIN":return"main";case"NAV":return"nav";case"SECTION":return"section";case"OL":return"ol";case"UL":return"ul";case"IMG":case"VIDEO":case"AUTO":case"DIV":default:return"div"}}function Ms(e){return e==="main"}function V_(e){return e.semanticTag==="ol"||e.semanticTag==="ul"?e.semanticTag:e.interactiveSemanticTag==="ul"?"ul":null}function Gs(e,t,n,r,o){return{interactiveSemanticTag:L6(t,n,r,o),semanticTag:C6(e.accessibleHTMLTag)}}function H_(e,t,n){let r=e!=="div"&&e!=="p",o=t!=null,i,s=!1,a=!1;return r?(i=e,o&&(s=!0),n&&(a=!0)):n?o?(a=!0,i=t):i="li":o?i=t:i=e,{finalInnerSemanticTag:i,needsInteractiveWrapper:s,needsListWrapper:a}}var jf=v(_e(),1),zo=v(W(),1);var x1=v(W(),1),pc=(0,x1.createContext)({});var M1=v(W(),1);function ks(e){let t=(0,M1.useRef)(null);return t.current===null&&(t.current=e()),t.current}var GR=v(_e(),1),B1=v(W(),1),ll=v(W(),1);var G1=v(W(),1),Fs=(0,G1.createContext)(null);var F1=v(_e(),1),W_=v(W(),1),Pi=v(W(),1);var k1=v(W(),1),Ci=(0,k1.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});var MR=class extends W_.Component{getSnapshotBeforeUpdate(t){let n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){let r=n.offsetParent,o=r instanceof HTMLElement&&r.offsetWidth||0,i=this.props.sizeRef.current;i.height=n.offsetHeight||0,i.width=n.offsetWidth||0,i.top=n.offsetTop,i.left=n.offsetLeft,i.right=o-i.width-i.left}return null}componentDidUpdate(){}render(){return this.props.children}};function w1({children:e,isPresent:t,anchorX:n}){let r=(0,Pi.useId)(),o=(0,Pi.useRef)(null),i=(0,Pi.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:s}=(0,Pi.useContext)(Ci);return(0,Pi.useInsertionEffect)(()=>{let{width:a,height:l,top:u,left:c,right:d}=i.current;if(t||!o.current||!a||!l)return;let f=n==="left"?`left: ${c}`:`right: ${d}`;o.current.dataset.motionPopId=r;let p=document.createElement("style");return s&&(p.nonce=s),document.head.appendChild(p),p.sheet&&p.sheet.insertRule(` 8737 [data-motion-pop-id="${r}"] { 8738 position: absolute !important; 8739 width: ${a}px !important; 8740 height: ${l}px !important; 8741 ${f}px !important; 8742 top: ${u}px !important; 8743 } 8744 `),()=>{document.head.removeChild(p)}},[t]),(0,F1.jsx)(MR,{isPresent:t,childRef:o,sizeRef:i,children:W_.cloneElement(e,{ref:o})})}var U1=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:o,presenceAffectsLayout:i,mode:s,anchorX:a})=>{let l=ks(P6),u=(0,ll.useId)(),c=(0,ll.useCallback)(f=>{l.set(f,!0);for(let p of l.values())if(!p)return;r&&r()},[l,r]),d=(0,ll.useMemo)(()=>({id:u,initial:t,isPresent:n,custom:o,onExitComplete:c,register:f=>(l.set(f,!1),()=>l.delete(f))}),i?[Math.random(),c]:[n,c]);return(0,ll.useMemo)(()=>{l.forEach((f,p)=>l.set(p,!1))},[n]),B1.useEffect(()=>{!n&&!l.size&&r&&r()},[n]),s==="popLayout"&&(e=(0,GR.jsx)(w1,{isPresent:n,anchorX:a,children:e})),(0,GR.jsx)(Fs.Provider,{value:d,children:e})};function P6(){return new Map}var ws=v(W(),1);function Y_(e=!0){let t=(0,ws.useContext)(Fs);if(t===null)return[!0,null];let{isPresent:n,onExitComplete:r,register:o}=t,i=(0,ws.useId)();(0,ws.useEffect)(()=>
8744{if(e)return o(i)},[e]);let s=(0,ws.useCallback)(()=>e&&r&&r(i),[i,r,e]);return!n&&r?[!1,s]:[!0]}var K_=v(W(),1),Xf=e=>e.key||"";function kR(e){let t=[];return K_.Children.forEach(e,n=>{(0,K_.isValidElement)(n)&&t.push(n)}),t}var z_=v(W(),1);var mc=typeof window<"u";var X_=mc?z_.useLayoutEffect:z_.useEffect;var FR=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:o=!0,mode:i="sync",propagate:s=!1,anchorX:a="left"})=>{let[l,u]=Y_(s),c=(0,zo.useMemo)(()=>kR(e),[e]),d=s&&!l?[]:c.map(Xf),f=(0,zo.useRef)(!0),p=(0,zo.useRef)(c),_=ks(()=>new Map),[T,h]=(0,zo.useState)(c),[m,E]=(0,zo.useState)(c);X_(()=>{f.current=!1,p.current=c;for(let I=0;I<m.length;I++){let S=Xf(m[I]);d.includes(S)?_.delete(S):_.get(S)!==!0&&_.set(S,!1)}},[m,d.length,d.join("-")]);let O=[];if(c!==T){let I=[...c];for(let S=0;S<m.length;S++){let A=m[S],R=Xf(A);d.includes(R)||(I.splice(S,0,A),O.push(A))}return i==="wait"&&O.length&&(I=O),E(kR(I)),h(c),null}let{forceRender:g}=(0,zo.useContext)(pc);return(0,jf.jsx)(jf.Fragment,{children:m.map(I=>{let S=Xf(I),A=s&&!l?!1:c===m||d.includes(S),R=()=>{if(_.has(S))_.set(S,!0);else return;let y=!0;_.forEach(b=>{b||(y=!1)}),y&&(g?.(),E(p.current),s&&u?.(),r&&r())};return(0,jf.jsx)(U1,{isPresent:A,initial:!f.current||n?void 0:!1,custom:t,presenceAffectsLayout:o,mode:i,onExitComplete:A?void 0:R,anchorX:a,children:I},S)})})};var dt=e=>e;var Bs=dt,Sr=dt;var ul={skipAnimations:!1,useManualTiming:!1};var $f=["read","resolveKeyframes","update","preRender","render","postRender"];var Rr={value:null,addProjectionMetrics:null};function V1(e,t){let n=new Set,r=new Set,o=!1,i=!1,s=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(d){s.has(d)&&(c.schedule(d),e()),l++,d(a)}let c={schedule:(d,f=!1,p=!1)=>{let T=p&&o?n:r;return f&&s.add(d),T.has(d)||T.add(d),d},cancel:d=>{r.delete(d),s.delete(d)},process:d=>{if(a=d,o){i=!0;return}o=!0,[n,r]=[r,n],n.forEach(u),t&&Rr.value&&Rr.value.frameloop[t].push(l),l=0,n.clear(),o=!1,i&&(i=!1,c.process(d))}};return c}var D6=40;function j_(e,t){let n=!1,r=!0,o={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,s=$f.reduce((m,E)=>(m[E]=V1(i,t?E:void 0),m),{}),{read:a,resolveKeyframes:l,update:u,preRender:c,render:d,postRender:f}=s,p=()=>{let m=ul.useManualTiming?o.timestamp:performance.now();n=!1,ul.useManualTiming||(o.delta=r?1e3/60:Math.max(Math.min(m-o.timestamp,D6),1)),o.timestamp=m,o.isProcessing=!0,a.process(o),l.process(o),u.process(o),c.process(o),d.process(o),f.process(o),o.isProcessing=!1,n&&t&&(r=!1,e(p))},_=()=>{n=!0,r=!0,o.isProcessing||e(p)};return{schedule:$f.reduce((m,E)=>{let O=s[E];return m[E]=(g,I=!1,S=!1)=>(n||_(),O.schedule(g,I,S)),m},{}),cancel:m=>{for(let E=0;E<$f.length;E++)s[$f[E]].cancel(m)},state:o,steps:s}}var{schedule:ue,cancel:Zn,state:St,steps:Zf}=j_(typeof requestAnimationFrame<"u"?requestAnimationFrame:dt,!0);var H1=v(W(),1),$_=(0,H1.createContext)({strict:!1});var W1={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"]},Di={};for(let e in W1)Di[e]={isEnabled:t=>W1[e].some(n=>!!t[n])};function Y1(e){for(let t in e)Di[t]={...Di[t],...e[t]}}var X1=v(_e(),1),Z_=v(W(),1);var v6=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 Jf(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||v6.has(e)}var K1=e=>!Jf(e);function wR(e){e&&(K1=t=>t.startsWith("on")?!Jf(t):e(t))}try{wR(MV("@emotion/is-prop-valid").default)}catch{}
8744function z1(e,t,n){let r={};for(let o in e)o==="values"&&typeof e.values=="object"||(K1(o)||n===!0&&Jf(o)||!t&&!Jf(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}function BR({children:e,isValidProp:t,...n}){t&&wR(t),n={...(0,Z_.useContext)(Ci),...n},n.isStatic=ks(()=>n.isStatic);let r=(0,Z_.useMemo)(()=>n,[JSON.stringify(n.transition),n.transformPagePoint,n.reducedMotion]);return(0,X1.jsx)(Ci.Provider,{value:r,children:e})}function j1(e){if(typeof Proxy>"u")return e;let t=new Map,n=(...r)=>e(...r);return new Proxy(n,{get:(r,o)=>o==="create"?e:(t.has(o)||t.set(o,e(o)),t.get(o))})}var nT=v(_e(),1);var Tc=v(W(),1);var $1=v(W(),1),Us=(0,$1.createContext)({});var Q_=v(W(),1);function Vs(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function vi(e){return typeof e=="string"||Array.isArray(e)}var J_=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],qf=["initial",...J_];function cl(e){return Vs(e.animate)||qf.some(t=>vi(e[t]))}function q_(e){return Boolean(cl(e)||e.variants)}function Z1(e,t){if(cl(e)){let{initial:n,animate:r}=e;return{initial:n===!1||vi(n)?n:void 0,animate:vi(r)?r:void 0}}return e.inherit!==!1?t:{}}function q1(e){let{initial:t,animate:n}=Z1(e,(0,Q_.useContext)(Us));return(0,Q_.useMemo)(()=>({initial:t,animate:n}),[J1(t),J1(n)])}function J1(e){return Array.isArray(e)?e.join(" "):e}var Q1=Symbol.for("motionComponentSymbol");var eG=v(W(),1);function xi(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function tG(e,t,n){return(0,eG.useCallback)(r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):xi(n)&&(n.current=r))},[t])}var Jn=v(W(),1);var Ec=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase();var x6="framerAppearId",eT="data-"+Ec(x6);var{schedule:_c,cancel:Sde}=j_(queueMicrotask,!1);var nG=v(W(),1),tT=(0,nG.createContext)({});function rG(e,t,n,r,o){var i,s;let{visualElement:a}=(0,Jn.useContext)(Us),l=(0,Jn.useContext)($_),u=(0,Jn.useContext)(Fs),c=(0,Jn.useContext)(Ci).reducedMotion,d=(0,Jn.useRef)(null);r=r||l.renderer,!d.current&&r&&(d.current=r(e,{visualState:t,parent:a,props:n,presenceContext:u,blockInitialAnimation:u?u.initial===!1:!1,reducedMotionConfig:c}));let f=d.current,p=(0,Jn.useContext)(tT);f&&!f.projection&&o&&(f.type==="html"||f.type==="svg")&&M6(d.current,n,o,p);let _=(0,Jn.useRef)(!1);(0,Jn.useInsertionEffect)(()=>{f&&_.current&&f.update(n,u)});let T=n[eT],h=(0,Jn.useRef)(Boolean(T)&&!(!((i=window.MotionHandoffIsComplete)===null||i===void 0)&&i.call(window,T))&&((s=window.MotionHasOptimisedAnimation)===null||s===void 0?void 0:s.call(window,T)));return X_(()=>{f&&(_.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),_c.render(f.render),h.current&&f.animationState&&f.animationState.animateChanges())}),(0,Jn.useEffect)(()=>{f&&(!h.current&&f.animationState&&f.animationState.animateChanges(),h.current&&(queueMicrotask(()=>{var m;(m=window.MotionHandoffMarkAsComplete)===null||m===void 0||m.call(window,T)}),h.current=!1))}),f}function M6(e,t,n,r){let{layoutId:o,layout:i,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:oG(e.parent)),e.projection.setOptions({layoutId:o,layout:i,alwaysMeasureLayout:Boolean(s)||a&&xi(a),visualElement:e,animationType:typeof i=="string"?i:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:u})}function oG(e){if(e)return e.options.allowProjection!==!1?e.projection:oG(e.parent)}function iG({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:o}){var i,s;e&&Y1(e);function a(u,c){let d,f={...(0,Tc.useContext)(Ci),...u,layoutId:G6(u)},{isStatic:p}=f,_=q1(u),T=r(u,p);if(!p&&mc){k6(f,e);let h=F6(f);d=h.MeasureLayout,_.visualElement=rG(o,T,f,t,h.ProjectionNode)}return(0,nT.jsxs)(Us.Provider,{value:_,children:[d&&_.visualElement?(0,nT.jsx)(d,{visualElement:_.visualElement,...f}):null,n(o,u,tG(T,_.visualElement,c),T,p,_.visualElement)]})}a.displayName=`motion.${typeof o=="string"?o:`create(${(s=(i=o.displayName)!==null&&i!==void 0?i:o.name)!==null&&s!==void 0?s:""})`}`;let l=(0,Tc.forwardRef)(a);return l[Q1]=o,l}function G6({layoutId:e}){let t=(0,Tc.useContext)(pc).id;return t&&e!==void 0?t+"-"+e:e}function k6(e,t){let n=(0,Tc.useContext)($_).strict}function F6(e){let{drag:t,layout:n}=Di;if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}
8744var yc=v(W(),1);var pG=v(W(),1);var sG=e=>t=>typeof t=="string"&&t.startsWith(e),hc=sG("--"),w6=sG("var(--"),Oc=e=>w6(e)?B6.test(e.split("/*")[0].trim()):!1,B6=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;var dl={};function aG(e){for(let t in e)dl[t]=e[t],hc(t)&&(dl[t].isCSSVariable=!0)}var Xo=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],qn=new Set(Xo);function rT(e,{layout:t,layoutId:n}){return qn.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!dl[e]||e==="opacity")}var we=e=>Boolean(e&&e.getVelocity);var oT=(e,t)=>t&&typeof e=="number"?t.transform(e):e;var dn=(e,t,n)=>n>t?t:n<e?e:n;var jo={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Mi={...jo,transform:e=>dn(0,1,e)},Qf={...jo,default:1};var ep=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),$o=ep("deg"),kn=ep("%"),q=ep("px"),lG=ep("vh"),uG=ep("vw"),UR={...kn,parse:e=>kn.parse(e)/100,transform:e=>kn.transform(e*100)};var cG={borderWidth:q,borderTopWidth:q,borderRightWidth:q,borderBottomWidth:q,borderLeftWidth:q,borderRadius:q,radius:q,borderTopLeftRadius:q,borderTopRightRadius:q,borderBottomRightRadius:q,borderBottomLeftRadius:q,width:q,maxWidth:q,height:q,maxHeight:q,top:q,right:q,bottom:q,left:q,padding:q,paddingTop:q,paddingRight:q,paddingBottom:q,paddingLeft:q,margin:q,marginTop:q,marginRight:q,marginBottom:q,marginLeft:q,backgroundPositionX:q,backgroundPositionY:q};var dG={rotate:$o,rotateX:$o,rotateY:$o,rotateZ:$o,scale:Qf,scaleX:Qf,scaleY:Qf,scaleZ:Qf,skew:$o,skewX:$o,skewY:$o,distance:q,translateX:q,translateY:q,translateZ:q,x:q,y:q,z:q,perspective:q,transformPerspective:q,opacity:Mi,originX:UR,originY:UR,originZ:q};var VR={...jo,transform:Math.round};var gc={...cG,...dG,zIndex:VR,size:q,fillOpacity:Mi,strokeOpacity:Mi,numOctaves:VR};var U6={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},V6=Xo.length;function fG(e,t,n){let r="",o=!0;for(let i=0;i<V6;i++){let s=Xo[i],a=e[s];if(a===void 0)continue;let l=!0;if(typeof a=="number"?l=a===(s.startsWith("scale")?1:0):l=parseFloat(a)===0,!l||n){let u=oT(a,gc[s]);if(!l){o=!1;let c=U6[s]||s;r+=`${c}(${u}) `}n&&(t[s]=u)}}return r=r.trim(),n?r=n(t,o?"":r):o&&(r="none"),r}function Ic(e,t,n){let{style:r,vars:o,transformOrigin:i}=e,s=!1,a=!1;for(let l in t){let u=t[l];if(qn.has(l)){s=!0;continue}else if(hc(l)){o[l]=u;continue}else{let c=oT(u,gc[l]);l.startsWith("origin")?(a=!0,i[l]=c):r[l]=c}}if(t.transform||(s||n?r.transform=fG(t,e.transform,n):r.transform&&(r.transform="none")),a){let{originX:l="50%",originY:u="50%",originZ:c=0}=i;r.transformOrigin=`${l} ${u} ${c}`}}var Sc=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function HR(e,t,n){for(let r in t)!we(t[r])&&!rT(r,n)&&(e[r]=t[r])}function H6({transformTemplate:e},t){return(0,pG.useMemo)(()=>{let n=Sc();return Ic(n,t,e),Object.assign({},n.vars,n.style)},[t])}function W6(e,t){let n=e.style||{},r={};return HR(r,n,e),Object.assign(r,H6(e,t)),r}function mG(e,t){let n={},r=W6(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}var EG=["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 Rc(e){return typeof e!="string"||e.includes("-")?!1:!!(EG.indexOf(e)>-1||/[A-Z]/u.test(e))}var OG=v(W(),1);var Y6={offset:"stroke-dashoffset",array:"stroke-dasharray"},K6={offset:"strokeDashoffset",array:"strokeDasharray"};function _G(e,t,n=1,r=0,o=!0){e.pathLength=1;let i=o?Y6:K6;e[i.offset]=q.transform(-r);let s=q.transform(t),a=q.transform(n);e[i.array]=`${s} ${a}`}function TG(e,t,n){return typeof e=="string"?e:q.transform(t+n*e)}function hG(e,t,n){let r=TG(t,e.x,e.width),o=TG(n,e.y,e.height);return`${r} ${o}`}function Ac(e,{attrX:t,attrY:n,attrScale:r,originX:o,originY:i,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...u}
vendor: 8,938 bytes, line 8744
8744,c,d){if(Ic(e,u,d),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:f,style:p,dimensions:_}=e;f.transform&&(_&&(p.transform=f.transform),delete f.transform),_&&(o!==void 0||i!==void 0||p.transform)&&(p.transformOrigin=hG(_,o!==void 0?o:.5,i!==void 0?i:.5)),t!==void 0&&(f.x=t),n!==void 0&&(f.y=n),r!==void 0&&(f.scale=r),s!==void 0&&_G(f,s,a,l,!1)}var iT=()=>({...Sc(),attrs:{}});var Nc=e=>typeof e=="string"&&e.toLowerCase()==="svg";function gG(e,t,n,r){let o=(0,OG.useMemo)(()=>{let i=iT();return Ac(i,t,Nc(r),e.transformTemplate),{...i.attrs,style:{...i.style}}},[t]);if(e.style){let i={};HR(i,e.style,e),o.style={...i,...o.style}}return o}function IG(e=!1){return(n,r,o,{latestValues:i},s)=>{let l=(Rc(n)?gG:mG)(r,i,s,n),u=z1(r,typeof n=="string",e),c=n!==yc.Fragment?{...u,...l,ref:o}:{},{children:d}=r,f=(0,yc.useMemo)(()=>we(d)?d.get():d,[d]);return(0,yc.createElement)(n,{...c,children:f})}}var WR=v(W(),1);function SG(e){let t=[{},{}];return e?.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function bc(e,t,n,r){if(typeof t=="function"){let[o,i]=SG(r);t=t(n!==void 0?n:e.custom,o,i)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){let[o,i]=SG(r);t=t(n!==void 0?n:e.custom,o,i)}return t}var tp=e=>Array.isArray(e);var RG=e=>Boolean(e&&typeof e=="object"&&e.mix&&e.toValue),AG=e=>tp(e)?e[e.length-1]||0:e;function Lc(e){let t=we(e)?e.get():e;return RG(t)?t.toValue():t}function z6({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:n},r,o,i){let s={latestValues:X6(r,o,i,e),renderState:t()};return n&&(s.onMount=a=>n({props:r,current:a,...s}),s.onUpdate=a=>n(a)),s}var sT=e=>(t,n)=>{let r=(0,WR.useContext)(Us),o=(0,WR.useContext)(Fs),i=()=>z6(e,t,r,o);return n?i():ks(i)};function X6(e,t,n,r){let o={},i=r(e,{});for(let f in i)o[f]=Lc(i[f]);let{initial:s,animate:a}=e,l=cl(e),u=q_(e);t&&u&&!l&&e.inherit!==!1&&(s===void 0&&(s=t.initial),a===void 0&&(a=t.animate));let c=n?n.initial===!1:!1;c=c||s===!1;let d=c?a:s;if(d&&typeof d!="boolean"&&!Vs(d)){let f=Array.isArray(d)?d:[d];for(let p=0;p<f.length;p++){let _=bc(e,f[p]);if(_){let{transitionEnd:T,transition:h,...m}=_;for(let E in m){let O=m[E];if(Array.isArray(O)){let g=c?O.length-1:0;O=O[g]}O!==null&&(o[E]=O)}for(let E in T)o[E]=T[E]}}}return o}function Cc(e,t,n){var r;let{style:o}=e,i={};for(let s in o)(we(o[s])||t.style&&we(t.style[s])||rT(s,e)||((r=n?.getValue(s))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(i[s]=o[s]);return i}var NG={useVisualState:sT({scrapeMotionValuesFromProps:Cc,createRenderState:Sc})};function aT(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 lT(e,{style:t,vars:n},r,o){Object.assign(e.style,t,o&&o.getProjectionStyles(r));for(let i in n)e.style.setProperty(i,n[i])}var uT=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 cT(e,t,n,r){lT(e,t,void 0,r);for(let o in t.attrs)e.setAttribute(uT.has(o)?o:Ec(o),t.attrs[o])}function dT(e,t,n){let r=Cc(e,t,n);for(let o in e)if(we(e[o])||we(t[o])){let i=Xo.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;r[i]=e[o]}return r}var yG=["x","y","width","height","cx","cy","r"],bG={useVisualState:sT({scrapeMotionValuesFromProps:dT,createRenderState:iT,onUpdate:({props:e,prevProps:t,current:n,renderState:r,latestValues:o})=>{if(!n)return;let i=!!e.drag;if(!i){for(let a in o)if(qn.has(a)){i=!0;break}}if(!i)return;let s=!t;if(t)for(let a=0;a<yG.length;a++){let l=yG[a];e[l]!==t[l]&&(s=!0)}s&&ue.read(()=>{aT(n,r),ue.render(()=>{Ac(r,o,Nc(n.tagName),e.transformTemplate),cT(n,r)})})}})};function LG(e,t){return function(r,{forwardMotionProps:o}={forwardMotionProps:!1}){let s={...Rc(r)?bG:NG,preloadedFeatures:e,useRender:IG(o),createVisualElement:t,Component:r};return iG(s)}}function Gi(e,t,n){let r=e.getProps();return bc(r,t,n!==void 0?n:r.custom,e)}function Pc(e,t){return e?e[t]||e.default||e:void 0}var fT=new Set(["width","height","top","left","right","bottom",...Xo]);var pT;function j6(){pT=void 0}var Nn={now:()=>(pT===void 0&&Nn.set(St.isProcessing||ul.useManualTiming?St.timestamp:performance.now()),pT),set:e=>{pT=e,queueMicrotask(j6)}};function Dc(e,t){e.indexOf(t)===-1&&e.push(t)}function Hs(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var Ws=class{constructor(){this.subscriptions=[]}add(t){return Dc(this.subscriptions,t),()=>Hs(this.subscriptions,t)}notify(t,n,r){let o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,n,r);else for(let i=0;i<o;i++){let s=this.subscriptions[i];s&&s(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}};function mT(e,t){return t?e*(1e3/t):0}var CG=30,$6=e=>!isNaN(parseFloat(e)),PG={current:void 0},YR=class{constructor(t,n={}){this.version="12.4.9",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,o=!0)=>{let i=Nn.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),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=n.owner}setCurrent(t){this.current=t,this.updatedAt=Nn.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=$6(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new Ws);let r=this.events[t].add(n);return t==="change"?()=>{r(),ue.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return PG.current&&PG.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=Nn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>CG)return 0;let n=Math.min(this.updatedAt-this.prevUpdatedAt,CG);return mT(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function ki(e,t){return new YR(e,t)}function Z6(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,ki(n))}function DG(e,t){let n=Gi(e,t),{transitionEnd:r={},transition:o={},...i}=n||{};i={...i,...r};for(let s in i){let a=AG(i[s]);Z6(e,s,a)}}function vG(e){return Boolean(we(e)&&e.add)}function np(e,t){let n=e.getValue("willChange");if(vG(n))return n.add(t)}function ET(e){return e.props[eT]}function vc(e){let t;return()=>(t===void 0&&(t=e()),t)}var xG=vc(()=>window.ScrollTimeline!==void 0);var _T=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,n){for(let r=0;r<this.animations.length;r++)this.animations[r][t]=n}attachTimeline(t,n){let r=this.animations.map(o=>{if(xG()&&o.attachTimeline)return o.attachTimeline(t);if(typeof n=="function")return n(o)});return()=>{r.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 n=0;n<this.animations.length;n++)t=Math.max(t,this.animations[n].duration);return t}runAll(t){this.animations.forEach(n=>n[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}};var xc=class extends _T{then(t,n){return Promise.all(this.animations).then(t).cat
8744ch(n)}};var Zt=e=>e*1e3,yn=e=>e/1e3;var TT={current:!1};function Ys(e){return typeof e=="function"}function KR(e,t){e.timeline=t,e.onfinish=null}var rp=e=>Array.isArray(e)&&typeof e[0]=="number";var MG={linearEasing:void 0};function GG(e,t){let n=vc(e);return()=>{var r;return(r=MG[t])!==null&&r!==void 0?r:n()}}var Mc=GG(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");var Ar=(e,t,n)=>{let r=t-e;return r===0?1:(n-e)/r};var hT=(e,t,n=10)=>{let r="",o=Math.max(Math.round(t/n),2);for(let i=0;i<o;i++)r+=e(Ar(0,o-1,i))+", ";return`linear(${r.substring(0,r.length-2)})`};function XR(e){return Boolean(typeof e=="function"&&Mc()||!e||typeof e=="string"&&(e in zR||Mc())||rp(e)||Array.isArray(e)&&e.every(XR))}var op=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,zR={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:op([0,.65,.55,1]),circOut:op([.55,0,1,.45]),backIn:op([.31,.01,.66,-.59]),backOut:op([.33,1.53,.69,.99])};function jR(e,t){if(e)return typeof e=="function"&&Mc()?hT(e,t):rp(e)?op(e):Array.isArray(e)?e.map(n=>jR(n,t)||zR.easeOut):zR[e]}var kG=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,J6=1e-7,q6=12;function Q6(e,t,n,r,o){let i,s,a=0;do s=t+(n-t)/2,i=kG(s,r,o)-e,i>0?n=s:t=s;while(Math.abs(i)>J6&&++a<q6);return s}function Ks(e,t,n,r){if(e===t&&n===r)return dt;let o=i=>Q6(i,0,1,e,n);return i=>i===0||i===1?i:kG(o(i),t,r)}var OT=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2;var gT=e=>t=>1-e(1-t);var $R=Ks(.33,1.53,.69,.99),ip=gT($R),IT=OT(ip);var ST=e=>(e*=2)<1?.5*ip(e):.5*(2-Math.pow(2,-10*(e-1)));var RT=e=>1-Math.sin(Math.acos(e)),AT=gT(RT),NT=OT(RT);var yT=e=>/^0[^.\s]+$/u.test(e);function FG(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||yT(e):!0}var zs=e=>Math.round(e*1e5)/1e5;var Gc=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function wG(e){return e==null}var BG=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;var kc=(e,t)=>n=>Boolean(typeof n=="string"&&BG.test(n)&&n.startsWith(e)||t&&!wG(n)&&Object.prototype.hasOwnProperty.call(n,t)),bT=(e,t,n)=>r=>{if(typeof r!="string")return r;let[o,i,s,a]=r.match(Gc);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}};var eX=e=>dn(0,255,e),ZR={...jo,transform:e=>Math.round(eX(e))},Zo={test:kc("rgb","red"),parse:bT("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+ZR.transform(e)+", "+ZR.transform(t)+", "+ZR.transform(n)+", "+zs(Mi.transform(r))+")"};function tX(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}}var sp={test:kc("#"),parse:tX,transform:Zo.transform};var Xs={test:kc("hsl","hue"),parse:bT("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+kn.transform(zs(t))+", "+kn.transform(zs(n))+", "+zs(Mi.transform(r))+")"};var Lt={test:e=>Zo.test(e)||sp.test(e)||Xs.test(e),parse:e=>Zo.test(e)?Zo.parse(e):Xs.test(e)?Xs.parse(e):sp.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Zo.transform(e):Xs.transform(e)};var UG=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function nX(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Gc))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(UG))===null||n===void 0?void 0:n.length)||0)>0}var HG="number",WG="color",rX="var",oX="var(",VG="${}",iX=/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 fl(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},o=[],i=0,a=t.replace(iX,l=>(Lt.test(l)?(r.color.push(i),o.push(WG),n.push(Lt.parse(l))):l.startsWith(oX)?(r.var.push(i),o.push(rX),n.push(l)):(r.number.push(i),o.push(HG),n.push(parseFloat(l))),++i,VG)).split(VG);return{values:n,split:a,indexes:r,types:o}}function YG(e){return fl(e).values}function KG(e){let{split:t,types:n}=fl(e),r=t.length;return o=>{let i="";for(let s=0;s<r;s++)if(i+=t[s],o[s]!==void 0){let a=n[s];a===HG?i+=zs(o[s]):a===WG?i+=Lt.transform(o[s]):i+=o[s]}return i}}var sX=e=>typeof e=="number"?0:e;function aX(e){let t=YG(e);return KG(e)(t.map(sX))}var Fn={test:nX,parse:YG,createTransformer:KG,getAnimatableNone:aX};var lX=new Set(["brightness","contrast","saturate","opacity"]);function uX(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[r]=n.match(Gc)||[];if(!r)return e;let o=n.replace(r,""),i=lX.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}var cX=/\b([a-z-]*)\(.*?\)/gu,ap={...Fn,getAnimatableNone:e=>{let t=e.match(cX);return t?t.map(uX).join(" "):e}};var dX={...gc,color:Lt,backgroundColor:Lt,outlineColor:Lt,fill:Lt,stroke:Lt,borderColor:Lt,borderTopColor:Lt,borderRightColor:Lt,borderBottomColor:Lt,borderLeftColor:Lt,filter:ap,WebkitFilter:ap},Fc=e=>dX[e];function LT(e,t){let n=Fc(e);return n!==ap&&(n=Fn),n.getAnimatableNone?n.getAnimatableNone(t):void 0}
vendor: 8,961 bytes, line 8744
8744var fX=new Set(["auto","none","0"]);function zG(e,t,n){let r=0,o;for(;r<e.length&&!o;){let i=e[r];typeof i=="string"&&!fX.has(i)&&fl(i).values.length&&(o=e[r]),r++}if(o&&n)for(let i of t)e[i]=LT(n,o)}var JR=e=>e===jo||e===q,XG=(e,t)=>parseFloat(e.split(", ")[t]),jG=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;let o=r.match(/^matrix3d\((.+)\)$/u);if(o)return XG(o[1],t);{let i=r.match(/^matrix\((.+)\)$/u);return i?XG(i[1],e):0}},pX=new Set(["x","y","z"]),mX=Xo.filter(e=>!pX.has(e));function $G(e){let t=[];return mX.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}var pl={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:jG(4,13),y:jG(5,14)};pl.translateX=pl.x;pl.translateY=pl.y;var ml=new Set,qR=!1,QR=!1;function ZG(){if(QR){let e=Array.from(ml).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{let o=$G(r);o.length&&(n.set(r,o),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();let o=n.get(r);o&&o.forEach(([i,s])=>{var a;(a=r.getValue(i))===null||a===void 0||a.set(s)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}QR=!1,qR=!1,ml.forEach(e=>e.complete()),ml.clear()}function JG(){ml.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(QR=!0)})}function qG(){JG(),ZG()}var js=class{constructor(t,n,r,o,i,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=o,this.element=i,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(ml.add(this),qR||(qR=!0,ue.read(JG),ue.resolveKeyframes(ZG))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:n,element:r,motionValue:o}=this;for(let i=0;i<t.length;i++)if(t[i]===null)if(i===0){let s=o?.get(),a=t[t.length-1];if(s!==void 0)t[0]=s;else if(r&&n){let l=r.readValue(n,a);l!=null&&(t[0]=l)}t[0]===void 0&&(t[0]=a),o&&s===void 0&&o.set(t[0])}else t[i]=t[i-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),ml.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,ml.delete(this))}resume(){this.isComplete||this.scheduleResolve()}};var CT=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);var EX=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function _X(e){let t=EX.exec(e);if(!t)return[,];let[,n,r,o]=t;return[`--${n??r}`,o]}var TX=4;function eA(e,t,n=1){Sr(n<=TX,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[r,o]=_X(e);if(!r)return;let i=window.getComputedStyle(t).getPropertyValue(r);if(i){let s=i.trim();return CT(s)?parseFloat(s):s}return Oc(o)?eA(o,t,n+1):o}var PT=e=>t=>t.test(e);var QG={test:e=>e==="auto",parse:e=>e};var tA=[jo,q,kn,$o,uG,lG,QG],nA=e=>tA.find(PT(e));var wc=class extends js{constructor(t,n,r,o,i){super(t,n,r,o,i,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let l=0;l<t.length;l++){let u=t[l];if(typeof u=="string"&&(u=u.trim(),Oc(u))){let c=eA(u,n.current);c!==void 0&&(t[l]=c),l===t.length-1&&(this.finalKeyframe=u)}}if(this.resolveNoneKeyframes(),!fT.has(r)||t.length!==2)return;let[o,i]=t,s=nA(o),a=nA(i);if(s!==a)if(JR(s)&&JR(a))for(let l=0;l<t.length;l++){let u=t[l];typeof u=="string"&&(t[l]=parseFloat(u))}else this.needsMeasurement=!0}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:n}=this,r=[];for(let o=0;o<t.length;o++)FG(t[o])&&r.push(o);r.length&&zG(t,r,n)}measureInitialState(){let{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=pl[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;let o=n[n.length-1];o!==void 0&&t.getValue(r,o).jump(o,!1)}measureEndState(){var t;let{element:n,name:r,unresolvedKeyframes:o}=this;if(!n||!n.current)return;let i=n.getValue(r);i&&i.jump(this.measuredOrigin,!1);let s=o.length-1,a=o[s];o[s]=pl[r](n.measureViewportBox(),window.getComputedStyle(n.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEach(([l,u])=>{n.getValue(l).set(u)}),this.resolveNoneKeyframes()}};var rA=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Fn.test(e)||e==="0")&&!e.startsWith("url("));function hX(e){let t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function ek(e,t,n,r){let o=e[0];if(o===null)return!1;if(t==="display"||t==="visibility")return!0;let i=e[e.length-1],s=rA(o,t),a=rA(i,t);return Bs(s===a,`You are trying to animate ${t} from "${o}" to "${i}". ${o} is not an animatable value - to enable this animation set ${o} to a value animatable to ${i} via the \`style\` property.`),!s||!a?!1:hX(e)||(n==="spring"||Ys(n))&&r}var OX=e=>e!==null;function $s(e,{repeat:t,repeatType:n="loop"},r){let o=e.filter(OX),i=t&&n!=="loop"&&t%2===1?0:o.length-1;return!i||r===void 0?o[i]:r}var gX=40,Bc=class{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:o=0,repeatDelay:i=0,repeatType:s="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Nn.now(),this.options={autoplay:t,delay:n,type:r,repeat:o,repeatDelay:i,repeatType:s,...a},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>gX?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&qG(),this._resolved}onKeyframesResolved(t,n){this.resolvedAt=Nn.now(),this.hasAttemptedResolve=!0;let{name:r,type:o,velocity:i,delay:s,onComplete:a,onUpdate:l,isGenerator:u}=this.options;if(!u&&!ek(t,r,o,i))if(TT.current||!s){l&&l($s(t,this.options,n)),a&&a(),this.resolveFinishedPromise();return}else this.options.duration=0;let c=this.initPlayback(t,n);c!==!1&&(this._resolved={keyframes:t,finalKeyframe:n,...c},this.onPostResolved())}onPostResolved(){}then(t,n){return this.currentFinishedPromise.then(t,n)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}};function Uc(e){let t=0,n=50,r=e.next(t);for(;!r.done&&t<2e4;)t+=n,r=e.next(t);return t>=2e4?1/0:t}var Jo={layout:0,mainThread:0,waapi:0};var Re=(e,t,n)=>e+(t-e)*n;function oA(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function tk({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let o=0,i=0,s=0;if(!t)o=i=s=n;else{let a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;o=oA(l,a,e+1/3),i=oA(l,a,e),s=oA(l,a,e-1/3)}return{red:Math.round(o*255),green:Math.round(i*255),blue:Math.round(s*255),alpha:r}}function Vc(e,t){return n=>n>0?t:e}var iA=(e,t,n)=>{let r=e*e,o=n*(t*t-r)+r;return o<0?0:Math.sqrt(o)},IX=[sp,Zo,Xs],SX=e=>IX.find(t=>t.test(e));function nk(e){let t=SX(e);if(Bs(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`),!Boolean(t))return!1;let n=t.parse(e);return t===Xs&&(n=tk(n)),n}var sA=(e,t)=>{let n=nk(e),r=nk(t);if(!n||!r)return Vc(e,t);let o={...n};return i=>(o.red=iA(n.red,r.red,i),o.green=iA(n.green,r.green,i),o.blue=iA(n.blue,r.blue,i),o.alpha=Re(n.alpha,r.alpha,i),Zo.transform(o))};var RX=(e,t)=>n=>t(e(n)),qo=(...e)=>e.reduce(RX);var DT=new Set(["none","hidden"]);function rk(e,t){return DT.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function AX(e,t){return n=>Re(e,t,n)}function vT(e){return typeof e=="number"?AX:typeof e=="string"?Oc(e)?Vc:Lt.test(e)?sA:bX:Array.isArray(e)?ok:typeof e=="object"?Lt.test(e)?sA:NX:Vc}function ok(e,t){let n=[...e],r=n.length,o=e.map((i,s)=>vT(i)(i,t[s]));return i=>{for(let s=0;s<r;s++)n[s]=o[s](i);return n}}function NX(e,t){let n={...e,...t},r={};for(let o in n)e[o]!==void 0&&t[o]!==void 0&&(r[o]=vT(e[o])(e[o],t[o]));return o=>{for(let i in r)n[i]=r[i](o);return n}}function yX(e,t){var n;let r=[],o={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let s=t.types[i],a=e.indexes[s][o[s]],l=(n=e.values[a])!==null&&n!==void 0?n:0;r[i]=l,o[s]++}return r}var bX=(e,t)=>{let n=Fn.createTransformer(t),r=fl(e),o=fl(t);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?DT.has(e)&&!o.values.length||DT.has(t)&&!r.values.length?rk(e,t):qo(ok(yX(r,o),o.values),n):(Bs(!0,`Complex values '${e}' and '${t}
8744' 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.`),Vc(e,t))};function xT(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?Re(e,t,n):vT(e)(e,t)}var LX=5;function MT(e,t,n){let r=Math.max(t-LX,0);return mT(n-e(r),t-r)}var lt={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 aA=.001;function ik({duration:e=lt.duration,bounce:t=lt.bounce,velocity:n=lt.velocity,mass:r=lt.mass}){let o,i;Bs(e<=Zt(lt.maxDuration),"Spring duration must be 10 seconds or less");let s=1-t;s=dn(lt.minDamping,lt.maxDamping,s),e=dn(lt.minDuration,lt.maxDuration,yn(e)),s<1?(o=u=>{let c=u*s,d=c*e,f=c-n,p=GT(u,s),_=Math.exp(-d);return aA-f/p*_},i=u=>{let d=u*s*e,f=d*n+n,p=Math.pow(s,2)*Math.pow(u,2)*e,_=Math.exp(-d),T=GT(Math.pow(u,2),s);return(-o(u)+aA>0?-1:1)*((f-p)*_)/T}):(o=u=>{let c=Math.exp(-u*e),d=(u-n)*e+1;return-aA+c*d},i=u=>{let c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});let a=5/e,l=PX(o,i,a);if(e=Zt(e),isNaN(l))return{stiffness:lt.stiffness,damping:lt.damping,duration:e};{let u=Math.pow(l,2)*r;return{stiffness:u,damping:s*2*Math.sqrt(r*u),duration:e}}}var CX=12;function PX(e,t,n){let r=n;for(let o=1;o<CX;o++)r=r-e(r)/t(r);return r}function GT(e,t){return e*Math.sqrt(1-t*t)}var DX=["duration","bounce"],vX=["stiffness","damping","mass"];function sk(e,t){return t.some(n=>e[n]!==void 0)}function xX(e){let t={velocity:lt.velocity,stiffness:lt.stiffness,damping:lt.damping,mass:lt.mass,isResolvedFromDuration:!1,...e};if(!sk(e,vX)&&sk(e,DX))if(e.visualDuration){let n=e.visualDuration,r=2*Math.PI/(n*1.2),o=r*r,i=2*dn(.05,1,1-(e.bounce||0))*Math.sqrt(o);t={...t,mass:lt.mass,stiffness:o,damping:i}}else{let n=ik(e);t={...t,...n,mass:lt.mass},t.isResolvedFromDuration=!0}return t}function Hc(e=lt.visualDuration,t=lt.bounce){let n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:r,restDelta:o}=n,i=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],a={done:!1,value:i},{stiffness:l,damping:u,mass:c,duration:d,velocity:f,isResolvedFromDuration:p}=xX({...n,velocity:-yn(n.velocity||0)}),_=f||0,T=u/(2*Math.sqrt(l*c)),h=s-i,m=yn(Math.sqrt(l/c)),E=Math.abs(h)<5;r||(r=E?lt.restSpeed.granular:lt.restSpeed.default),o||(o=E?lt.restDelta.granular:lt.restDelta.default);let O;if(T<1){let I=GT(m,T);O=S=>{let A=Math.exp(-T*m*S);return s-A*((_+T*m*h)/I*Math.sin(I*S)+h*Math.cos(I*S))}}else if(T===1)O=I=>s-Math.exp(-m*I)*(h+(_+m*h)*I);else{let I=m*Math.sqrt(T*T-1);O=S=>{let A=Math.exp(-T*m*S),R=Math.min(I*S,300);return s-A*((_+T*m*h)*Math.sinh(R)+I*h*Math.cosh(R))/I}}let g={calculatedDuration:p&&d||null,next:I=>{let S=O(I);if(p)a.done=I>=d;else{let A=0;T<1&&(A=I===0?Zt(_):MT(O,I,S));let R=Math.abs(A)<=r,y=Math.abs(s-S)<=o;a.done=R&&y}return a.value=a.done?s:S,a},toString:()=>{let I=Math.min(Uc(g),2e4),S=hT(A=>g.next(I*A).value,I,30);return I+"ms "+S}};return g}function uA({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:s,min:a,max:l,restDelta:u=.5,restSpeed:c}){let d=e[0],f={done:!1,value:d},p=R=>a!==void 0&&R<a||l!==void 0&&R>l,_=R=>a===void 0?l:l===void 0||Math.abs(a-R)<Math.abs(l-R)?a:l,T=n*t,h=d+T,m=s===void 0?h:s(h);m!==h&&(T=m-d);let E=R=>-T*Math.exp(-R/r),O=R=>m+E(R),g=R=>{let y=E(R),b=O(R);f.done=Math.abs(y)<=u,f.value=f.done?m:b},I,S,A=R=>{p(f.value)&&(I=R,S=Hc({keyframes:[f.value,_(f.value)],velocity:MT(O,R,f.value),damping:o,stiffness:i,restDelta:u,restSpeed:c}))};return A(0),{calculatedDuration:null,next:R=>{let y=!1;return!S&&I===void 0&&(y=!0,g(R),A(R)),I!==void 0&&R>=I?S.next(R-I):(!y&&g(R),f)}}}var ak=Ks(.42,0,1,1),lk=Ks(0,0,.58,1),kT=Ks(.42,0,.58,1);var FT=e=>Array.isArray(e)&&typeof e[0]!="number";var uk={linear:dt,easeIn:ak,easeInOut:kT,easeOut:lk,circIn:RT,circInOut:NT,circOut:AT,backIn:ip,backInOut:IT,backOut:$R,anticipate:ST},cA=e=>{if(rp(e)){Sr(e.length===4,"Cubic bezier arrays must contain four numerical values.");let[t,n,r,o]=e;return Ks(t,n,r,o)}else if(typeof e=="string")return Sr(uk[e]!==void 0,`Invalid easing type '${e}'`),uk[e];return e};function MX(e,t,n){let r=[],o=n||xT,i=e.length-1;for(let s=0;s<i;s++){let a=o(e[s],e[s+1]);if(t){let l=Array.isArray(t)?t[s]||dt:t;a=qo(l,a)}r.push(a)}return r}function wT(e,t,{clamp:n=!0,ease:r,mixer:o}={}){let i=e.length;if(Sr(i===t.length,"Both input and output ranges must be the same length"),i===1)return()=>t[0];if(i===2&&t[0]===t[1])return()=>t[1];let s=e[0]===e[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());let a=MX(t,r,o),l=a.length,u=c=>{if(s&&c<e[0])return t[0];let d=0;if(l>1)for(;d<e.length-2&&!(c<e[d+1]);d++);let f=Ar(e[d],e[d+1],c);return a[d](f)};return n?c=>u(dn(e[0],e[i-1],c)):u}function BT(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let o=Ar(0,t,r);e.push(Re(n,1,o))}}function UT(e){let t=[0];return BT(t,e.length-1),t}function ck(e,t){return e.map(n=>n*t)}function GX(e,t){return e.map(()=>t||kT).splice(0,e.length-1)}function lp({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){let o=FT(r)?r.map(cA):cA(r),i={done:!1,value:t[0]},s=ck(n&&n.length===t.length?n:UT(t),e),a=wT(s,t,{ease:Array.isArray(o)?o:GX(t,o)});return{calculatedDuration:e,next:l=>(i.value=a(l),i.done=l>=e,i)}}var dk=e=>{let t=({timestamp:n})=>e(n);return{start:()=>ue.update(t,!0),stop:()=>Zn(t),now:()=>St.isProcessing?St.timestamp:Nn.now()}};var kX={decay:uA,inertia:uA,tween:lp,keyframes:lp,spring:Hc},FX=e=>e/100,El=class extends Bc{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>
vendor: 12,686 bytes, line 8744
8744{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();let{onStop:l}=this.options;l&&l()};let{name:n,motionValue:r,element:o,keyframes:i}=this.options,s=o?.KeyframeResolver||js,a=(l,u)=>this.onKeyframesResolved(l,u);this.resolver=new s(i,a,n,r,o),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){let{type:n="keyframes",repeat:r=0,repeatDelay:o=0,repeatType:i,velocity:s=0}=this.options,a=Ys(n)?n:kX[n]||lp,l,u;a!==lp&&typeof t[0]!="number"&&(l=qo(FX,xT(t[0],t[1])),t=[0,100]);let c=a({...this.options,keyframes:t});i==="mirror"&&(u=a({...this.options,keyframes:[...t].reverse(),velocity:-s})),c.calculatedDuration===null&&(c.calculatedDuration=Uc(c));let{calculatedDuration:d}=c,f=d+o,p=f*(r+1)-o;return{generator:c,mirroredGenerator:u,mapPercentToKeyframes:l,calculatedDuration:d,resolvedDuration:f,totalDuration:p}}onPostResolved(){let{autoplay:t=!0}=this.options;Jo.mainThread++,this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,n=!1){let{resolved:r}=this;if(!r){let{keyframes:R}=this.options;return{done:!0,value:R[R.length-1]}}let{finalKeyframe:o,generator:i,mirroredGenerator:s,mapPercentToKeyframes:a,keyframes:l,calculatedDuration:u,totalDuration:c,resolvedDuration:d}=r;if(this.startTime===null)return i.next(0);let{delay:f,repeat:p,repeatType:_,repeatDelay:T,onUpdate:h}=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)),n?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;let m=this.currentTime-f*(this.speed>=0?1:-1),E=this.speed>=0?m<0:m>c;this.currentTime=Math.max(m,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let O=this.currentTime,g=i;if(p){let R=Math.min(this.currentTime,c)/d,y=Math.floor(R),b=R%1;!b&&R>=1&&(b=1),b===1&&y--,y=Math.min(y,p+1),Boolean(y%2)&&(_==="reverse"?(b=1-b,T&&(b-=T/d)):_==="mirror"&&(g=s)),O=dn(0,1,b)*d}let I=E?{done:!1,value:l[0]}:g.next(O);a&&(I.value=a(I.value));let{done:S}=I;!E&&u!==null&&(S=this.speed>=0?this.currentTime>=c:this.currentTime<=0);let A=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&S);return A&&o!==void 0&&(I.value=$s(l,this.options,o)),h&&h(I.value),A&&this.finish(),I}get duration(){let{resolved:t}=this;return t?yn(t.calculatedDuration):0}get time(){return yn(this.currentTime)}set time(t){t=Zt(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 n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=yn(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=dk,onPlay:n,startTime:r}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),n&&n();let o=this.driver.now();this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=o):this.startTime=r??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(),Jo.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}};var fk=new Set(["opacity","clipPath","filter","transform"]);function pk(e,t,n,{delay:r=0,duration:o=300,repeat:i=0,repeatType:s="loop",ease:a="easeInOut",times:l}={}){let u={[t]:n};l&&(u.offset=l);let c=jR(a,o);Array.isArray(c)&&(u.easing=c),Rr.value&&Jo.waapi++;let d=e.animate(u,{delay:r,duration:o,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:i+1,direction:s==="reverse"?"alternate":"normal"});return Rr.value&&d.finished.finally(()=>{Jo.waapi--}),d}var mk=vc(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));var VT=10,wX=2e4;function BX(e){return Ys(e.type)||e.type==="spring"||!XR(e.ease)}function UX(e,t){let n=new El({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),r={done:!1,value:e[0]},o=[],i=0;for(;!r.done&&i<wX;)r=n.sample(i),o.push(r.value),i+=VT;return{times:void 0,keyframes:o,duration:i-VT,ease:"linear"}}var Ek={anticipate:ST,backInOut:IT,circInOut:NT};function VX(e){return e in Ek}var up=class extends Bc{constructor(t){super(t);let{name:n,motionValue:r,element:o,keyframes:i}=this.options;this.resolver=new wc(i,(s,a)=>this.onKeyframesResolved(s,a),n,r,o),this.resolver.scheduleResolve()}initPlayback(t,n){let{duration:r=300,times:o,ease:i,type:s,motionValue:a,name:l,startTime:u}=this.options;if(!a.owner||!a.owner.current)return!1;if(typeof i=="string"&&Mc()&&VX(i)&&(i=Ek[i]),BX(this.options)){let{onComplete:d,onUpdate:f,motionValue:p,element:_,...T}=this.options,h=UX(t,T);t=h.keyframes,t.length===1&&(t[1]=t[0]),r=h.duration,o=h.times,i=h.ease,s="keyframes"}let c=pk(a.owner.current,l,t,{...this.options,duration:r,times:o,ease:i});return c.startTime=u??this.calcStartTime(),this.pendingTimeline?(KR(c,this.pendingTimeline),this.pendingTimeline=void 0):c.onfinish=()=>{let{onComplete:d}=this.options;a.set($s(t,this.options,n)),d&&d(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:r,times:o,type:s,ease:i,keyframes:t}}get duration(){let{resolved:t}=this;if(!t)return 0;let{duration:n}=t;return yn(n)}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:n}=t;return yn(n.currentTime||0)}set time(t){let{resolved:n}=this;if(!n)return;let{animation:r}=n;r.currentTime=Zt(t)}get speed(){let{resolved:t}=this;if(!t)return 1;let{animation:n}=t;return n.playbackRate}set speed(t){let{resolved:n}=this;if(!n)return;let{animation:r}=n;r.playbackRate=t}get state(){let{resolved:t}=this;if(!t)return"idle";let{animation:n}=t;return n.playState}get startTime(){let{resolved:t}=this;if(!t)return null;let{animation:n}=t;return n.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{let{resolved:n}=this;if(!n)return dt;let{animation:r}=n;KR(r,t)}return dt}play(){if(this.isStopped)return;let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.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:n,keyframes:r,duration:o,type:i,ease:s,times:a}=t;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){let{motionValue:u,onUpdate:c,onComplete:d,element:f,...p}=this.options,_=new El({...p,keyframes:r,duration:o,type:i,ease:s,times:a,isGenerator:!0}),T=Zt(this.time);u.setWithVelocity(_.sample(T-VT).value,_.sample(T).value,VT)}let{onStop:l}=this.options;l&&l(),this.cancel()}complete(){let{resolved:t}=this;t&&t.animation.finish()}cancel(){let{resolved:t}=this;t&&t.animation.cancel()}static supports(t){let{motionValue:n,name:r,repeatDelay:o,repeatType:i,damping:s,type:a}=t;if(!n||!n.owner||!(n.owner.current instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:u}=n.owner.getProps();return mk()&&r&&fk.has(r)&&!l&&!u&&!o&&i!=="mirror"&&s!==0&&a!=="inertia"}};var HX={type:"spring",stiffness:500,damping:25,restSpeed:10},WX=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),YX={type:"keyframes",duration:.8},KX={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},_k=(e,{keyframes:t})=>t.length>2?YX:qn.has(e)?e.startsWith("scale")?WX(t[1]):HX:KX;function Tk({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:i,repeatType:s,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}var Wc=(e,t,n,r={},o,i)=>s=>{let a=Pc(r,e)||{},l=a.delay||r.delay||0,{elapsed:u=0}=r;u=u-Zt(l);let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:f=>{t.set(f),a.onUpdate&&a.onUpdate(f)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:i?void 0:o};Tk(a)||(c={...c,..._k(e,c)}),c.duration&&(c.duration=Zt(c.duration)),c.repeatDelay&&(c.repeatDelay=Zt(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let d=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(c.duration=0,c.delay===0&&(d=!0)),(TT.current||ul.skipAnimations)&&(d=!0,c.duration=0,c.delay=0),d&&!i&&t.get()!==void 0){let f=$s(c.keyframes,a);if(f!==void 0)return ue.update(()=>{c.onUpdate(f),c.onComplete()}),new xc([])}return!i&&up.supports(c)?new up(c):new El(c)};function zX({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function Yc(e,t,{delay:n=0,transitionOverride:r,type:o}={}){var i;let{transition:s=e.getDefaultTransition(),transitionEnd:a,...l}=t;r&&(s=r);let u=[],c=o&&e.animationState&&e.animationState.getState()[o];for(let d in l){let f=e.getValue(d,(i=e.latestValues[d])!==null&&i!==void 0?i:null),p=l[d];if(p===void 0||c&&zX(c,d))continue;let _={delay:n,...Pc(s||{},d)},T=!1;if(window.MotionHandoffAnimation){let m=ET(e);if(m){let E=window.MotionHandoffAnimation(m,d,ue);E!==null&&(_.startTime=E,T=!0)}}np(e,d),f.start(Wc(d,f,p,e.shouldReduceMotion&&fT.has(d)?{type:!1}:_,e,T));let h=f.animation;h&&u.push(h)}return a&&Promise.all(u).then(()=>{ue.update(()=>{a&&DG(e,a)})}),u}function HT(e,t,n={}){var r;let o=Gi(e,t,n.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(i=n.transitionOverride);let s=o?()=>Promise.all(Yc(e,o,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(u=0)=>{let{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=i;return XX(e,t,c+u,d,f,n)}:()=>Promise.resolve(),{when:l}=i;if(l){let[u,c]=l==="beforeChildren"?[s,a]:[a,s];return u().then(()=>c())}else return Promise.all([s(),a(n.delay)])}function XX(e,t,n=0,r=0,o=1,i){let s=[],a=(e.variantChildren.size-1)*r,l=o===1?(u=0)=>u*r:(u=0)=>a-u*r;return Array.from(e.variantChildren).sort(jX).forEach((u,c)=>{u.notify("AnimationStart",t),s.push(HT(u,t,{...i,delay:n+l(c)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(s)}function jX(e,t){return e.sortNodePosition(t)}function hk(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){let o=t.map(i=>HT(e,i,n));r=Promise.all(o)}else if(typeof t=="string")r=HT(e,t,n);else{let o=typeof t=="function"?Gi(e,t,n.custom):t;r=Promise.all(Yc(e,o,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}function dA(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var $X=qf.length;function fA(e){if(!e)return;if(!e.isControllingVariants){let n=e.parent?fA(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}let t={};for(let n=0;n<$X;n++){let r=qf[n],o=e.props[r];(vi(o)||o===!1)&&(t[r]=o)}return t}var ZX=[...J_].reverse(),JX=J_.length;function qX(e){return t=>Promise.all(t.map(({animation:n,options:r})=>hk(e,n,r)))}function gk(e){let t=qX(e),n=Ok(),r=!0,o=l=>(u,c)=>{var d;let f=Gi(e,c,l==="exit"?(d=e.presenceContext)===null||d===void 0?void 0:d.custom:void 0);if(f){let{transition:p,transitionEnd:_,...T}=f;u={...u,...T,..._}}return u};function i(l){t=l(e)}function s(l){let{props:u}=e,c=fA(e.parent)||{},d=[],f=new Set,p={},_=1/0;for(let h=0;h<JX;h++){let m=ZX[h],E=n[m],O=u[m]!==void 0?u[m]:c[m],g=vi(O),I=m===l?E.isActive:null;I===!1&&(_=h);let S=O===c[m]&&O!==u[m]&&g;if(S&&r&&e.manuallyAnimateOnMount&&(S=!1),E.protectedKeys={...p},!E.isActive&&I===null||!O&&!E.prevProp||Vs(O)||typeof O=="boolean")continue;let A=QX(E.prevProp,O),R=A||m===l&&E.isActive&&!S&&g||h>_&&g,y=!1,b=Array.isArray(O)?O:[O],L=b.reduce(o(m),{});I===!1&&(L={});let{prevResolvedValues:D={}}=E,F={...D,...L},U=C=>{R=!0,f.has(C)&&(y=!0,f.delete(C)),E.needsAnimating[C]=!0;let M=e.getValue(C);M&&(M.liveStyle=!1)};
8744for(let C in F){let M=L[C],P=D[C];if(p.hasOwnProperty(C))continue;let z=!1;tp(M)&&tp(P)?z=!dA(M,P):z=M!==P,z?M!=null?U(C):f.add(C):M!==void 0&&f.has(C)?U(C):E.protectedKeys[C]=!0}E.prevProp=O,E.prevResolvedValues=L,E.isActive&&(p={...p,...L}),r&&e.blockInitialAnimation&&(R=!1),R&&(!(S&&A)||y)&&d.push(...b.map(C=>({animation:C,options:{type:m}})))}if(f.size){let h={};if(typeof u.initial!="boolean"){let m=Gi(e,Array.isArray(u.initial)?u.initial[0]:u.initial);m&&m.transition&&(h.transition=m.transition)}f.forEach(m=>{let E=e.getBaseTarget(m),O=e.getValue(m);O&&(O.liveStyle=!0),h[m]=E??null}),d.push({animation:h})}let T=Boolean(d.length);return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(T=!1),r=!1,T?t(d):Promise.resolve()}function a(l,u){var c;if(n[l].isActive===u)return Promise.resolve();(c=e.variantChildren)===null||c===void 0||c.forEach(f=>{var p;return(p=f.animationState)===null||p===void 0?void 0:p.setActive(l,u)}),n[l].isActive=u;let d=s(l);for(let f in n)n[f].protectedKeys={};return d}return{animateChanges:s,setActive:a,setAnimateFunction:i,getState:()=>n,reset:()=>{n=Ok(),r=!0}}}function QX(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!dA(t,e):!1}function _l(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Ok(){return{animate:_l(!0),whileInView:_l(),whileHover:_l(),whileTap:_l(),whileDrag:_l(),whileFocus:_l(),exit:_l()}}var Jt=class{constructor(t){this.isMounted=!1,this.node=t}update(){}};var WT=class extends Jt{constructor(t){super(t),t.animationState||(t.animationState=gk(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();Vs(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}};var e8=0,YT=class extends Jt{constructor(){super(...arguments),this.id=e8++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;let o=this.node.animationState.setActive("exit",!t);n&&!t&&o.then(()=>{n(this.id)})}mount(){let{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}};var Ik={animation:{Feature:WT},exit:{Feature:YT}};var qr={x:!1,y:!1};function KT(){return qr.x||qr.y}function Sk(e){return e==="x"||e==="y"?qr[e]?null:(qr[e]=!0,()=>{qr[e]=!1}):qr.x||qr.y?null:(qr.x=qr.y=!0,()=>{qr.x=qr.y=!1})}function Fi(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}var Kc=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function wi(e){return{point:{x:e.pageX,y:e.pageY}}}var Rk=e=>t=>Kc(t)&&e(t,wi(t));function Bi(e,t,n,r){return Fi(e,t,Rk(n),r)}function zT({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Ak({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Nk(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}var Ck=1e-4,t8=1-Ck,n8=1+Ck,Pk=.01,r8=0-Pk,o8=0+Pk;function kt(e){return e.max-e.min}function Dk(e,t,n){return Math.abs(e-t)<=n}function yk(e,t,n,r=.5){e.origin=r,e.originPoint=Re(t.min,t.max,e.origin),e.scale=kt(n)/kt(t),e.translate=Re(n.min,n.max,e.origin)-e.originPoint,(e.scale>=t8&&e.scale<=n8||isNaN(e.scale))&&(e.scale=1),(e.translate>=r8&&e.translate<=o8||isNaN(e.translate))&&(e.translate=0)}function zc(e,t,n,r){yk(e.x,t.x,n.x,r?r.originX:void 0),yk(e.y,t.y,n.y,r?r.originY:void 0)}function bk(e,t,n){e.min=n.min+t.min,e.max=e.min+kt(t)}function vk(e,t,n){bk(e.x,t.x,n.x),bk(e.y,t.y,n.y)}function Lk(e,t,n){e.min=t.min-n.min,e.max=e.min+kt(t)}function Xc(e,t,n){Lk(e.x,t.x,n.x),Lk(e.y,t.y,n.y)}var xk=()=>({translate:0,scale:1,origin:0,originPoint:0}),Tl=()=>({x:xk(),y:xk()}),Mk=()=>({min:0,max:0}),Xe=()=>({x:Mk(),y:Mk()});function Qn(e){return[e("x"),e("y")]}function pA(e){return e===void 0||e===1}function XT({scale:e,scaleX:t,scaleY:n}){return!pA(e)||!pA(t)||!pA(n)}function Ui(e){return XT(e)||mA(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function mA(e){return Gk(e.x)||Gk(e.y)}function Gk(e){return e&&e!=="0%"}
8744function cp(e,t,n){let r=e-n,o=t*r;return n+o}function kk(e,t,n,r,o){return o!==void 0&&(e=cp(e,o,r)),cp(e,n,r)+t}function EA(e,t=0,n=1,r,o){e.min=kk(e.min,t,n,r,o),e.max=kk(e.max,t,n,r,o)}function _A(e,{x:t,y:n}){EA(e.x,t.translate,t.scale,t.originPoint),EA(e.y,n.translate,n.scale,n.originPoint)}var Fk=.999999999999,wk=1.0000000000001;function Uk(e,t,n,r=!1){let o=n.length;if(!o)return;t.x=t.y=1;let i,s;for(let a=0;a<o;a++){i=n[a],s=i.projectionDelta;let{visualElement:l}=i.options;l&&l.props.style&&l.props.style.display==="contents"||(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&hl(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,_A(e,s)),r&&Ui(i.latestValues)&&hl(e,i.latestValues))}t.x<wk&&t.x>Fk&&(t.x=1),t.y<wk&&t.y>Fk&&(t.y=1)}function Zs(e,t){e.min=e.min+t,e.max=e.max+t}function Bk(e,t,n,r,o=.5){let i=Re(e.min,e.max,o);EA(e,t,n,i,r)}function hl(e,t){Bk(e.x,t.x,t.scaleX,t.scale,t.originX),Bk(e.y,t.y,t.scaleY,t.scale,t.originY)}function TA(e,t){return zT(Nk(e.getBoundingClientRect(),t))}function Vk(e,t,n){let r=TA(e,n),{scroll:o}=t;return o&&(Zs(r.x,o.offset.x),Zs(r.y,o.offset.y)),r}function Ol(e,t){let n=`${t}PointerCapture`;if(e.target instanceof Element&&n in e.target&&e.pointerId!==void 0)try{e.target[n](e.pointerId)}catch{}}var Hk=(e,t)=>Math.abs(e-t);function Wk(e,t){let n=Hk(e.x,t.x),r=Hk(e.y,t.y);return Math.sqrt(n**2+r**2)}var jc=class{constructor(t,n,{transformPagePoint:r,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=OA(this.lastMoveEventInfo,this.history),d=this.startEvent!==null,f=Wk(c.offset,{x:0,y:0})>=3;if(!d&&!f)return;let{point:p}=c,{timestamp:_}=St;this.history.push({...p,timestamp:_});let{onStart:T,onMove:h}=this.handlers;d||(T&&T(this.lastMoveEvent,c),this.startEvent=this.lastMoveEvent),h&&h(this.lastMoveEvent,c)},this.handlePointerMove=(c,d)=>{if(this.index=Kk(c.currentTarget),c.target instanceof Element&&c.target.hasPointerCapture&&c.pointerId!==void 0)try{if(!c.target.hasPointerCapture(c.pointerId))return}catch{}this.lastMoveEvent=c,this.lastMoveEventInfo=hA(d,this.transformPagePoint),ue.update(this.updatePoint,!0)},this.handlePointerUp=(c,d)=>{Ol(c,"release"),this.end();let{onEnd:f,onSessionEnd:p,resumeAnimation:_}=this.handlers;if(this.dragSnapToOrigin&&_&&_(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let T=OA(c.type==="pointercancel"||c.type==="lostpointercapture"?this.lastMoveEventInfo:hA(d,this.transformPagePoint),this.history);this.startEvent&&f&&f(c,T),p&&p(c,T)},!Kc(t))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=r;let i=wi(t),s=hA(i,this.transformPagePoint),{point:a}=s,{timestamp:l}=St;this.history=[{...a,timestamp:l}];let{onSessionStart:u}=n;u&&u(t,OA(s,this.history)),Ol(t,"set"),this.removeListeners=qo(Bi(t.currentTarget,"pointermove",this.handlePointerMove),Bi(t.currentTarget,"pointerup",this.handlePointerUp),Bi(t.currentTarget,"pointercancel",this.handlePointerUp),Bi(t.currentTarget,"lostpointercapture",(c,d)=>{Kk(c.currentTarget)!==this.index?Ol(c,"set"):this.handlePointerUp(c,d)}))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Zn(this.updatePoint)}};function hA(e,t){return t?{point:t(e.point)}:e}function Yk(e,t){return{x:e.x-t.x,y:e.y-t.y}}function OA({point:e},t){return{point:e,delta:Yk(e,zk(t)),offset:Yk(e,i8(t)),velocity:s8(t,.1)}}function i8(e){return e[0]}function zk(e){return e[e.length-1]}function s8(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,o=zk(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>Zt(t)));)n--;if(!r)return{x:0,y:0};let i=yn(o.timestamp-r.timestamp);if(i===0)return{x:0,y:0};let s={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function Kk(e){return e.parentNode?Array.from(e.parentNode.children).indexOf(e):-1}function Jk(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?Re(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?Re(n,e,r.max):Math.min(e,n)),e}function Xk(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function qk(e,{top:t,left:n,bottom:r,right:o}){return{x:Xk(e.x,n,o),y:Xk(e.y,t,r)}}function jk(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function Qk(e,t){return{x:jk(e.x,t.x),y:jk(e.y,t.y)}}function eF(e,t){let n=.5,r=kt(e),o=kt(t);return o>r?n=Ar(t.min,t.max-r,e.min):r>o&&(n=Ar(e.min,e.max-o,t.min)),dn(0,1,n)}function tF(e,t){let n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}var jT=.35;function nF(e=jT){return e===!1?e=0:e===!0&&(e=jT),{x:$k(e,"left","right"),y:$k(e,"top","bottom")}}
vendor: 35,875 bytes, line 8744
8744function $k(e,t,n){return{min:Zk(e,t),max:Zk(e,n)}}function Zk(e,t){return typeof e=="number"?e:e[t]||0}var a8=new WeakMap,ZT=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=Xe(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){let{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;let o=c=>{let{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(wi(c).point)},i=(c,d)=>{let{drag:f,dragPropagation:p,onDragStart:_}=this.getProps();if(f&&!p&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Sk(f),!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),Qn(h=>{let m=this.getAxisMotionValue(h).get()||0;if(kn.test(m)){let{projection:E}=this.visualElement;if(E&&E.layout){let O=E.layout.layoutBox[h];O&&(m=kt(O)*(parseFloat(m)/100))}}this.originPoint[h]=m}),_&&ue.postRender(()=>_(c,d)),np(this.visualElement,"transform");let{animationState:T}=this.visualElement;T&&T.setActive("whileDrag",!0)},s=(c,d)=>{let{dragPropagation:f,dragDirectionLock:p,onDirectionLock:_,onDrag:T}=this.getProps();if(!f&&!this.openDragLock)return;let{offset:h}=d;if(p&&this.currentDirection===null){this.currentDirection=l8(h),this.currentDirection!==null&&_&&_(this.currentDirection);return}this.updateAxis("x",d.point,h),this.updateAxis("y",d.point,h),this.visualElement.render(),T&&T(c,d)},a=(c,d)=>this.stop(c,d),l=()=>Qn(c=>{var d;return this.getAnimationState(c)==="paused"&&((d=this.getAxisMotionValue(c).animation)===null||d===void 0?void 0:d.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new jc(t,{onSessionStart:o,onStart:i,onMove:s,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u})}stop(t,n){let r=this.isDragging;if(this.cancel(),!r)return;let{velocity:o}=n;this.startAnimation(o);let{onDragEnd:i}=this.getProps();i&&ue.postRender(()=>i(t,n))}cancel(){this.isDragging=!1;let{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){let{drag:o}=this.getProps();if(!r||!$T(t,o,this.currentDirection))return;let i=this.getAxisMotionValue(t),s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=Jk(s,this.constraints[t],this.elastic[t])),i.set(s)}resolveConstraints(){var t;let{dragConstraints:n,dragElastic:r}=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;n&&xi(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&o?this.constraints=qk(o.layoutBox,n):this.constraints=!1,this.elastic=nF(r),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Qn(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=tF(o.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){let{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!xi(t))return!1;let r=t.current;Sr(r!==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=Vk(r,o.root,this.visualElement.getTransformPagePoint()),s=Qk(o.layout.layoutBox,i);if(n){let a=n(Ak(s));this.hasMutatedConstraints=!!a,a&&(s=zT(a))}return s}startAnimation(t){let{drag:n,dragMomentum:r,dragElastic:o,dragTransition:i,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=Qn(c=>{if(!$T(c,n,this.currentDirection))return;let d=l&&l[c]||{};s&&(d={min:0,max:0});let f=o?200:1e6,p=o?40:1e7,_={type:"inertia",velocity:r?t[c]:0,bounceStiffness:f,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...i,...d};return this.startAxisValueAnimation(c,_)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){let r=this.getAxisMotionValue(t);return np(this.visualElement,t),r.start(Wc(t,r,0,n,this.visualElement,!1))}stopAnimation(){Qn(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Qn(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){let n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),o=r[n];return o||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Qn(n=>{let{drag:r}=this.getProps();if(!$T(n,r,this.currentDirection))return;let{projection:o}=this.visualElement,i=this.getAxisMotionValue(n);if(o&&o.layout){let{min:s,max:a}=o.layout.layoutBox[n];i.set(t[n]-Re(s,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!xi(n)||!r||!this.constraints)return;this.stopAnimation();let o={x:0,y:0};Qn(s=>{let a=this.getAxisMotionValue(s);if(a&&this.constraints!==!1){let l=a.get();o[s]=eF({min:l,max:l},this.constraints[s])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Qn(s=>{if(!$T(s,t,null))return;let a=this.getAxisMotionValue(s),{min:l,max:u}=this.constraints[s];a.set(Re(l,u,o[s]))})}addListeners(){if(!this.visualElement.current)return;a8.set(this.visualElement,this);let t=this.visualElement.current,n=Bi(t,"pointerdown",l=>{let{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(l)}),r=()=>{let{dragConstraints:l}=this.getProps();xi(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,i=o.addEventListener("measure",r);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),ue.read(r);let s=Fi(window,"resize",()=>this.scalePositionWithinConstraints()),a=o.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(Qn(c=>{let d=this.getAxisMotionValue(c);d&&(this.originPoint[c]+=l[c].translate,d.set(d.get()+l[c].translate))}),this.visualElement.render())});return()=>{s(),n(),i(),a&&a()}}getProps(){let t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:o=!1,dragConstraints:i=!1,dragElastic:s=jT,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:o,dragConstraints:i,dragElastic:s,dragMomentum:a}}};function $T(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function l8(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}var JT=class extends Jt{constructor(t){super(t),this.removeGroupControls=dt,this.removeListeners=dt,this.controls=new ZT(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||dt}unmount(){this.removeGroupControls(),this.removeListeners()}};var rF=e=>(t,n)=>{e&&ue.postRender(()=>e(t,n))},qT=class extends Jt{constructor(){super(...arguments),this.removePointerDownListener=dt}onPointerDown(t){this.session=new jc(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:rF(t),onStart:rF(n),onMove:r,onEnd:(i,s)=>{delete this.session,o&&ue.postRender(()=>o(i,s))}}}mount(){this.removePointerDownListener=Bi(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 sF=v(_e(),1),dp=v(W(),1);var $c={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function oF(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Zc={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(q.test(e))e=parseFloat(e);else return e;let n=oF(e,t.target.x),r=oF(e,t.target.y);return`${n}% ${r}%`}};var iF={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,o=Fn.parse(e);if(o.length>5)return r;let i=Fn.createTransformer(e),s=typeof o[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;o[0+s]/=a,o[1+s]/=l;let u=Re(a,l,.5);return typeof o[2+s]=="number"&&(o[2+s]/=u),typeof o[3+s]=="number"&&(o[3+s]/=u),i(o)}};var gA=class extends dp.Component{componentDidMount(){let{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:o}=this.props,{projection:i}=t;aG(u8),i&&(n.group&&n.group.add(i),r&&r.register&&o&&r.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),$c.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:n,visualElement:r,drag:o,isPresent:i}=this.props,s=r.projection;return s&&(s.isPresent=i,o||t.layoutDependency!==n||n===void 0||t.isPresent!==i?s.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?s.promote():s.relegate()||ue.postRender(()=>{let a=s.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),_c.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:o}=t;o&&(o.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(o),r&&r.deregister&&r.deregister(o))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}};function QT(e){let[t,n]=Y_(),r=(0,dp.useContext)(pc);return(0,sF.jsx)(gA,{...e,layoutGroup:r,switchLayoutGroup:(0,dp.useContext)(tT),isPresent:t,safeToRemove:n})}var u8={borderRadius:{...Zc,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Zc,borderTopRightRadius:Zc,borderBottomLeftRadius:Zc,borderBottomRightRadius:Zc,boxShadow:iF};function eh(e,t,n){let r=we(e)?e:ki(e);return r.start(Wc("",r,t,n)),r.animation}function th(e){return e instanceof SVGElement&&e.tagName!=="svg"}var aF=(e,t)=>e.depth-t.depth;var nh=class{constructor(){this.children=[],this.isDirty=!1}add(t){Dc(this.children,t),this.isDirty=!0}remove(t){Hs(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(aF),this.isDirty=!1,this.children.forEach(t)}};function lF(e,t){let n=Nn.now(),r=({timestamp:o})=>{let i=o-n;i>=t&&(Zn(r),e(i-t))};return ue.read(r,!0),()=>Zn(r)}var fF=["TopLeft","TopRight","BottomLeft","BottomRight"],c8=fF.length,uF=e=>typeof e=="string"?parseFloat(e):e,cF=e=>typeof e=="number"||q.test(e);function pF(e,t,n,r,o,i){o?(e.opacity=Re(0,n.opacity!==void 0?n.opacity:1,d8(r)),e.opacityExit=Re(t.opacity!==void 0?t.opacity:1,0,f8(r))):i&&(e.opacity=Re(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let s=0;s<c8;s++){let a=`border${fF[s]}Radius`,l=dF(t,a),u=dF(n,a);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||cF(l)===cF(u)?(e[a]=Math.max(Re(uF(l),uF(u),r),0),(kn.test(u)||kn.test(l))&&(e[a]+="%")):e[a]=u}(t.rotate||n.rotate)&&(e.rotate=Re(t.rotate||0,n.rotate||0,r))}function dF(e,t){return e[t]!==void 0?e[t]:e.borderRadius}var d8=mF(0,.5,AT),f8=mF(.5,.95,dt);function mF(e,t,n){return r=>r<e?0:r>t?1:n(Ar(e,t,r))}function EF(e,t){e.min=t.min,e.max=t.max}function Nr(e,t){EF(e.x,t.x),EF(e.y,t.y)}function IA(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function _F(e,t,n,r,o){return e-=t,e=cp(e,1/n,r),o!==void 0&&(e=cp(e,1/o,r)),e}function p8(e,t=0,n=1,r=.5,o,i=e,s=e){if(kn.test(t)&&(t=parseFloat(t),t=Re(s.min,s.max,t/100)-s.min),typeof t!="number")return;let a=Re(i.min,i.max,r);e===i&&(a-=t),e.min=_F(e.min,t,n,a,o),e.max=_F(e.max,t,n,a,o)}function TF(e,t,[n,r,o],i,s){p8(e,t[n],t[r],t[o],t.scale,i,s)}var m8=["x","scaleX","originX"],E8=["y","scaleY","originY"];function SA(e,t,n,r){TF(e.x,t,m8,n?n.x:void 0,r?r.x:void 0),TF(e.y,t,E8,n?n.y:void 0,r?r.y:void 0)}function hF(e){return e.translate===0&&e.scale===1}function RA(e){return hF(e.x)&&hF(e.y)}function OF(e,t){return e.min===t.min&&e.max===t.max}function IF(e,t){return OF(e.x,t.x)&&OF(e.y,t.y)}function gF(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function AA(e,t){return gF(e.x,t.x)&&gF(e.y,t.y)}function NA(e){return kt(e.x)/kt(e.y)}function yA(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}var rh=class{constructor(){this.members=[]}add(t){Dc(this.members,t),t.scheduleRender()}remove(t){if(Hs(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){let n=this.members.findIndex(o=>t===o);if(n===0)return!1;let r;for(let o=n;o>=0;o--){let i=this.members[o];if(i.isPresent!==!1){r=i;break}}return r?(this.promote(r),!0):!1}promote(t,n){let r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:o}=t.options;o===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}};function SF(e,t,n){let r="",o=e.x.translate/t.x,i=e.y.translate/t.y,s=n?.z||0;if((o||i||s)&&(r=`translate3d(${o}px, ${i}px, ${s}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:u,rotate:c,rotateX:d,rotateY:f,skewX:p,skewY:_}=n;u&&(r=`perspective(${u}px) ${r}`),c&&(r+=`rotate(${c}deg) `),d&&(r+=`rotateX(${d}deg) `),f&&(r+=`rotateY(${f}deg) `),p&&(r+=`skewX(${p}deg) `),_&&(r+=`skewY(${_}deg) `)}let a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(r+=`scale(${a}, ${l})`),r||"none"}var gl={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},bA=["","X","Y","Z"],_8={visibility:"hidden"},RF=1e3,T8=0;function LA(e,t,n,r){let{latestValues:o}=t;o[e]&&(n[e]=o[e],t.setStaticValue(e,0),r&&(r[e]=0))}function DF(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=ET(t);if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:o,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",ue,!(o||i))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&DF(r)}function oh({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(s={},a=t?.()){this.id=T8++,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,Rr.value&&(gl.nodes=gl.calculatedTargetDeltas=gl.calculatedProjections=0),this.nodes.forEach(g8),this.nodes.forEach(N8),this.nodes.forEach(y8),this.nodes.forEach(I8),Rr.addProjectionMetrics&&Rr.addProjectionMetrics(gl)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new nh)}addEventListener(s,a){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new Ws),this.eventHandlers.get(s).add(a)}notifyListeners(s,...a){let l=this.eventHandlers.get(s);l&&l.notify(...a)}hasListeners(s){return this.eventHandlers.has(s)}mount(s,a=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=th(s),this.instance=s;let{layoutId:l,layout:u,visualElement:c}=this.options;if(c&&!c.current&&c.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),a&&(u||l)&&(this.isLayoutDirty=!0),e){let d,f=()=>this.root.updateBlockedByResize=!1;e(s,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=lF(f,250),$c.hasAnimatedSinceResize&&($c.hasAnimatedSinceResize=!1,this.nodes.forEach(NF))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&c&&(l||u)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeLayoutChanged:p,layout:_})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let T=this.options.transition||c.getDefaultTransition()||D8,{onLayoutAnimationStart:h,onLayoutAnimationComplete:m}=c.getProps(),E=!this.targetLayout||!AA(this.targetLayout,_),O=!f&&p;if(this.options.layoutRoot||this.resumeFrom||O||f&&(E||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,O);let g={...Pc(T,"layout"),onPlay:h,onComplete:m};(c.shouldReduceMotion||this.options.layoutRoot)&&(g.delay=0,g.type=!1),this.startAnimation(g)}else f||NF(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=_})}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,Zn(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(b8),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&&DF(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c<this.path.length;c++){let d=this.path[c];d.shouldResetTransform=!0,d.updateScroll("snapshot"),d.options.layoutRoot&&d.willUpdate(!1)}let{layoutId:a,layout:l}=this.options;if(a===void 0&&!l)return;let u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),s&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(AF);return}this.isUpdating||this.nodes.forEach(R8),this.isUpdating=!1,this.nodes.forEach(A8),this.nodes.forEach(h8),this.nodes.forEach(O8),this.clearAllSnapshots();let a=Nn.now();St.delta=dn(0,1e3/60,a-St.timestamp),St.timestamp=a,St.isProcessing=!0,Zf.update.process(St),Zf.preRender.process(St),Zf.render.process(St),St.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,_c.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(S8),this.sharedNodes.forEach(L8)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ue.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ue.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!kt(this.snapshot.measuredBox.x)&&!kt(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();let s=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Xe(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,s?s.layoutBox:void 0)}updateScroll(s="measure"){let a=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(a=!1),a){let l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:s,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!o)return;let s=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!RA(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;s&&(a||Ui(this.latestValues)||c)&&(o(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){let a=this.measurePageBox(),l=this.removeElementScroll(a);return s&&(l=this.removeTransform(l)),v8(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var s;let{visualElement:a}=this.options;if(!a)return Xe();let l=a.measureViewportBox();if(!(((s=this.scroll)===null||s===void 0?void 0:s.wasRoot)||this.path.some(x8))){let{scroll:c}=this.root;c&&(Zs(l.x,c.offset.x),Zs(l.y,c.offset.y))}return l}removeElementScroll(s){var a;let l=Xe();if(Nr(l,s),!((a=this.scroll)===null||a===void 0)&&a.wasRoot)return l;for(let u=0;u<this.path.length;u++){let c=this.path[u],{scroll:d,options:f}=c;c!==this.root&&d&&f.layoutScroll&&(d.wasRoot&&Nr(l,s),Zs(l.x,d.offset.x),Zs(l.y,d.offset.y))}return l}applyTransform(s,a=!1){let l=Xe();Nr(l,s);for(let u=0;u<this.path.length;u++){let c=this.path[u];!a&&c.options.layoutScroll&&c.scroll&&c!==c.root&&hl(l,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),Ui(c.latestValues)&&hl(l,c.latestValues)}return Ui(this.latestValues)&&hl(l,this.latestValues),l}removeTransform(s){let a=Xe();Nr(a,s);for(let l=0;l<this.path.length;l++){let u=this.path[l];if(!u.instance||!Ui(u.latestValues))continue;XT(u.latestValues)&&u.updateSnapshot();let c=Xe(),d=u.measurePageBox();Nr(c,d),SA(a,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,c)}return Ui(this.latestValues)&&SA(a,this.latestValues),a}setTargetDelta(s){this.targetDelta=s,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(s){this.options={...this.options,...s,crossfade:s.crossfade!==void 0?s.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==St.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(s=!1){var a;let l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);let u=Boolean(this.resumingFrom)||this!==l;if(!(s||u&&this.isSharedProjectionDirty||this.isProjectionDirty||!((a=this.parent)===null||a===void 0)&&a.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:d,layoutId:f}=this.options;if(!(!this.layout||!(d||f))){if(this.resolvedRelativeTargetAt=St.timestamp,!this.targetDelta&&!this.relativeTarget){let p=this.getClosestProjectingParent();p&&p.layout&&this.animationProgress!==1?(this.relativeParent=p,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Xe(),this.relativeTargetOrigin=Xe(),Xc(this.relativeTargetOrigin,this.layout.layoutBox,p.layout.layoutBox),Nr(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Xe(),this.targetWithTransforms=Xe()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),vk(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):Nr(this.target,this.layout.layoutBox),_A(this.target,this.targetDelta)):Nr(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let p=this.getClosestProjectingParent();p&&Boolean(p.resumingFrom)===Boolean(this.resumingFrom)&&!p.options.layoutScroll&&p.target&&this.animationProgress!==1?(this.relativeParent=p,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Xe(),this.relativeTargetOrigin=Xe(),Xc(this.relativeTargetOrigin,this.target,p.target),Nr(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Rr.value&&gl.calculatedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||XT(this.parent.latestValues)||mA(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var s;let a=this.getLead(),l=Boolean(this.resumingFrom)||this!==a,u=!0;if((this.isProjectionDirty||!((s=this.parent)===null||s===void 0)&&s.isProjectionDirty)&&(u=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(u=!1),this.resolvedRelativeTargetAt===St.timestamp&&(u=!1),u)return;let{layout:c,layoutId:d}=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||d))return;Nr(this.layoutCorrected,this.layout.layoutBox);let f=this.treeScale.x,p=this.treeScale.y;Uk(this.layoutCorrected,this.treeScale,this.path,l),a.layout&&!a.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(a.target=a.layout.layoutBox,a.targetWithTransforms=Xe());let{target:_}=a;if(!_){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(IA(this.prevProjectionDelta.x,this.projectionDelta.x),IA(this.prevProjectionDelta.y,this.projectionDelta.y)),zc(this.projectionDelta,this.layoutCorrected,_,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==p||!yA(this.projectionDelta.x,this.prevProjectionDelta.x)||!yA(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",_)),Rr.value&&gl.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){var a;if((a=this.options.visualElement)===null||a===void 0||a.scheduleRender(),s){let l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Tl(),this.projectionDelta=Tl(),this.projectionDeltaWithTransform=Tl()}setAnimationOrigin(s,a=!1){let l=this.snapshot,u=l?l.latestValues:{},c={...this.latestValues},d=Tl();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;let f=Xe(),p=l?l.source:void 0,_=this.layout?this.layout.source:void 0,T=p!==_,h=this.getStack(),m=!h||h.members.length<=1,E=Boolean(T&&!m&&this.options.crossfade===!0&&!this.path.some(P8));this.animationProgress=0;let O;this.mixTargetDelta=g=>{let I=g/1e3;yF(d.x,s.x,I),yF(d.y,s.y,I),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Xc(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),C8(this.relativeTarget,this.relativeTargetOrigin,f,I),O&&IF(this.relativeTarget,O)&&(this.isProjectionDirty=!1),O||(O=Xe()),Nr(O,this.relativeTarget)),T&&(this.animationValues=c,pF(c,u,this.latestValues,I,E,m)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=I},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&&(Zn(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ue.update(()=>{$c.hasAnimatedSinceResize=!0,Jo.layout++,this.currentAnimation=eh(0,RF,{...s,onUpdate:a=>{this.mixTargetDelta(a),s.onUpdate&&s.onUpdate(a)},onStop:()=>{Jo.layout--},onComplete:()=>{Jo.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(RF),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let s=this.getLead(),{targetWithTransforms:a,target:l,layout:u,latestValues:c}=s;if(!(!a||!l||!u)){if(this!==s&&this.layout&&u&&vF(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||Xe();let d=kt(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+d;let f=kt(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+f}Nr(a,l),hl(a,c),zc(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(s,a){this.sharedNodes.has(s)||this.sharedNodes.set(s,new rh),this.sharedNodes.get(s).add(a);let u=a.options.initialPromotionConfig;a.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(a):void 0})}isLead(){let s=this.getStack();return s?s.lead===this:!0}getLead(){var s;let{layoutId:a}=this.options;return a?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this}getPrevLead(){var s;let{layoutId:a}=this.options;return a?(s=this.getStack())===null||s===void 0?void 0:s.prevLead:void 0}getStack(){let{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:a,preserveFollowOpacity:l}={}){let u=this.getStack();u&&u.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){let s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){let{visualElement:s}=this.options;if(!s)return;let a=!1,{latestValues:l}=s;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;let u={};l.z&&LA("z",s,u,this.animationValues);for(let c=0;c<bA.length;c++)LA(`rotate${bA[c]}`,s,u,this.animationValues),LA(`skew${bA[c]}`,s,u,this.animationValues);s.render();for(let c in u)s.setStaticValue(c,u[c]),this.animationValues&&(this.animationValues[c]=u[c]);s.scheduleRender()}getProjectionStyles(s){var a,l;if(!this.instance||this.isSVG)return;if(!this.isVisible)return _8;let u={visibility:""},c=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,u.opacity="",u.pointerEvents=Lc(s?.pointerEvents)||"",u.transform=c?c(this.latestValues,""):"none",u;let d=this.getLead();if(!this.projectionDelta||!this.layout||!d.target){let T={};return this.options.layoutId&&(T.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,T.pointerEvents=Lc(s?.pointerEvents)||""),this.hasProjected&&!Ui(this.latestValues)&&(T.transform=c?c({},""):"none",this.hasProjected=!1),T}let f=d.animationValues||d.latestValues;this.applyTransformsToTarget(),u.transform=SF(this.projectionDeltaWithTransform,this.treeScale,f),c&&(u.transform=c(f,u.transform));let{x:p,y:_}=this.projectionDelta;u.transformOrigin=`${p.origin*100}% ${_.origin*100}% 0`,d.animationValues?u.opacity=d===this?(l=(a=f.opacity)!==null&&a!==void 0?a:this.latestValues.opacity)!==null&&l!==void 0?l:1:this.preserveOpacity?this.latestValues.opacity:f.opacityExit:u.opacity=d===this?f.opacity!==void 0?f.opacity:"":f.opacityExit!==void 0?f.opacityExit:0;for(let T in dl){if(f[T]===void 0)continue;let{correct:h,applyTo:m,isCSSVariable:E}=dl[T],O=u.transform==="none"?f[T]:h(f[T],d);if(m){let g=m.length;for(let I=0;I<g;I++)u[m[I]]=O}else E?this.options.visualElement.renderState.vars[T]=O:u[T]=O}return this.options.layoutId&&(u.pointerEvents=d===this?Lc(s?.pointerEvents)||"":"none"),u}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>{var a;return(a=s.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(AF),this.root.sharedNodes.clear()}}}function h8(e){e.updateLayout()}function O8(e){var t;let n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){let{layoutBox:r,measuredBox:o}=e.layout,{animationType:i}=e.options,s=n.source!==e.layout.source;i==="size"?Qn(d=>{let f=s?n.measuredBox[d]:n.layoutBox[d],p=kt(f);f.min=r[d].min,f.max=f.min+p}):vF(i,n.layoutBox,r)&&Qn(d=>{let f=s?n.measuredBox[d]:n.layoutBox[d],p=kt(r[d]);f.max=f.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+p)});let a=Tl();zc(a,r,n.layoutBox);let l=Tl();s?zc(l,e.applyTransform(o,!0),n.measuredBox):zc(l,r,n.layoutBox);let u=!RA(a),c=!1;if(!e.resumeFrom){let d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){let{snapshot:f,layout:p}=d;if(f&&p){let _=Xe();Xc(_,n.layoutBox,f.layoutBox);let T=Xe();Xc(T,r,p.layoutBox),AA(_,T)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=T,e.relativeTargetOrigin=_,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:l,layoutDelta:a,hasLayoutChanged:u,hasRelativeLayoutChanged:c})}else if(e.isLead()){let{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function g8(e){Rr.value&&gl.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 I8(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function S8(e){e.clearSnapshot()}function AF(e){e.clearMeasurements()}function R8(e){e.isLayoutDirty=!1}function A8(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function NF(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function N8(e){e.resolveTargetDelta()}function y8(e){e.calcProjection()}
8744function b8(e){e.resetSkewAndRotation()}function L8(e){e.removeLeadSnapshot()}function yF(e,t,n){e.translate=Re(t.translate,0,n),e.scale=Re(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function bF(e,t,n,r){e.min=Re(t.min,n.min,r),e.max=Re(t.max,n.max,r)}function C8(e,t,n,r){bF(e.x,t.x,n.x,r),bF(e.y,t.y,n.y,r)}function P8(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var D8={duration:.45,ease:[.4,0,.1,1]},LF=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),CF=LF("applewebkit/")&&!LF("chrome/")?Math.round:dt;function PF(e){e.min=CF(e.min),e.max=CF(e.max)}function v8(e){PF(e.x),PF(e.y)}function vF(e,t,n){return e==="position"||e==="preserve-aspect"&&!Dk(NA(t),NA(n),.2)}function x8(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}var xF=oh({attachResizeListener:(e,t)=>Fi(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0});var CA={current:void 0},ih=oh({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!CA.current){let e=new xF({});e.mount(window),e.setOptions({layoutScroll:!0}),CA.current=e}return CA.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>Boolean(window.getComputedStyle(e).position==="fixed")});var MF={pan:{Feature:qT},drag:{Feature:JT,ProjectionNode:ih,MeasureLayout:QT}};function sh(e,t,n){var r;if(e instanceof EventTarget)return[e];if(typeof e=="string"){let o=document;t&&(o=t.current);let i=(r=n?.[e])!==null&&r!==void 0?r:o.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}function ah(e,t){let n=sh(e),r=new AbortController,o={passive:!0,...t,signal:r.signal};return[n,o,()=>r.abort()]}function GF(e){return!(e.pointerType==="touch"||KT())}function kF(e,t,n={}
8744){let[r,o,i]=ah(e,n),s=a=>{if(!GF(a))return;let{target:l}=a,u=t(l,a);if(typeof u!="function"||!l)return;let c=d=>{GF(d)&&(u(d),l.removeEventListener("pointerleave",c))};l.addEventListener("pointerleave",c,o)};return r.forEach(a=>{a.addEventListener("pointerenter",s,o)}),i}function FF(e,t,n){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");let o="onHover"+n,i=r[o];i&&ue.postRender(()=>i(t,wi(t)))}var lh=class extends Jt{mount(){let{current:t}=this.node;t&&(this.unmount=kF(t,(n,r)=>(FF(this.node,r,"Start"),o=>FF(this.node,o,"End"))))}unmount(){}};var uh=class extends Jt{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=qo(Fi(this.node.current,"focus",()=>this.onFocus()),Fi(this.node.current,"blur",()=>this.onBlur()))}unmount(){}};var PA=(e,t)=>t?e===t?!0:PA(e,t.parentElement):!1;var M8=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function wF(e){return M8.has(e.tagName)||e.tabIndex!==-1}var Il=new WeakSet;function BF(e){return t=>{t.key==="Enter"&&e(t)}}function DA(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}var UF=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=BF(()=>{if(Il.has(n))return;DA(n,"down");let o=BF(()=>{DA(n,"up")}),i=()=>DA(n,"cancel");n.addEventListener("keyup",o,t),n.addEventListener("blur",i,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function VF(e){return Kc(e)&&!KT()}function HF(e,t,n={}
8744){let[r,o,i]=ah(e,n),s=a=>{let l=a.currentTarget;if(!l||!VF(a)||Il.has(l))return;Il.add(l),Ol(a,"set");let u=t(l,a),c=(p,_)=>{l.removeEventListener("pointerup",d),l.removeEventListener("pointercancel",f),Ol(p,"release"),!(!VF(p)||!Il.has(l))&&(Il.delete(l),typeof u=="function"&&u(p,{success:_}))},d=p=>{(p.isTrusted?G8(p,l instanceof Element?l.getBoundingClientRect():{left:0,top:0,right:window.innerWidth,bottom:window.innerHeight}):!1)?c(p,!1):c(p,!(l instanceof Element)||PA(l,p.target))},f=p=>{c(p,!1)};l.addEventListener("pointerup",d,o),l.addEventListener("pointercancel",f,o),l.addEventListener("lostpointercapture",f,o)};return r.forEach(a=>{a=n.useGlobalTarget?window:a;let l=!1;a instanceof HTMLElement&&(l=!0,!wF(a)&&a.getAttribute("tabindex")===null&&(a.tabIndex=0)),a.addEventListener("pointerdown",s,o),l&&a.addEventListener("focus",u=>UF(u,o),o)}),i}function G8(e,t){return e.clientX<t.left||e.clientX>t.right||e.clientY<t.top||e.clientY>t.bottom}function WF(e,t,n){let{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");let o="onTap"+(n==="End"?"":n),i=r[o];i&&ue.postRender(()=>i(t,wi(t)))}var ch=class extends Jt{mount(){let{current:t}=this.node;t&&(this.unmount=HF(t,(n,r)=>(WF(this.node,r,"Start"),(o,{success:i})=>WF(this.node,o,i?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}};var xA=new WeakMap,vA=new WeakMap,k8=e=>{let t=xA.get(e.target);t&&t(e)},F8=e=>{e.forEach(k8)};function w8({root:e,...t}){let n=e||document;vA.has(n)||vA.set(n,{});let r=vA.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(F8,{root:e,...t})),r[o]}function YF(e,t,n){let r=w8(t);return xA.set(e,n),r.observe(e),()=>{xA.delete(e),r.unobserve(e)}}var B8={some:0,all:1},dh=class extends Jt{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:o="some",once:i}=t,s={root:n?n.current:void 0,rootMargin:r,threshold:typeof o=="number"?o:B8[o]},a=l=>{let{isIntersecting:u}=l;if(this.isInView===u||(this.isInView=u,i&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);let{onViewportEnter:c,onViewportLeave:d}=this.node.getProps(),f=u?c:d;f&&f(l)};return YF(this.node.current,s,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;let{props:t,prevProps:n}=this.node;["amount","margin","root"].some(U8(t,n))&&this.startObserver()}unmount(){}};function U8({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}var KF={inView:{Feature:dh},tap:{Feature:ch},focus:{Feature:uh},hover:{Feature:lh}};var zF={layout:{ProjectionNode:ih,MeasureLayout:QT}};var JF=v(W(),1);var fp={current:null},fh={current:!1};function XF(){if(fh.current=!0,!!mc)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>fp.current=e.matches;e.addListener(t),t()}else fp.current=!1}var V8=[...tA,Lt,Fn],jF=e=>V8.find(PT(e));var Js=new WeakMap;function $F(e,t,n){for(let r in t){let o=t[r],i=n[r];if(we(o))e.addValue(r,o);else if(we(i))e.addValue(r,ki(o,{owner:e}));else if(i!==o)if(e.hasValue(r)){let s=e.getValue(r);s.liveStyle===!0?s.jump(o):s.hasAnimated||s.set(o)}else{let s=e.getStaticValue(r);e.addValue(r,ki(s!==void 0?s:o,{owner:e}))}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var ZF=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Jc=class{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:o,blockInitialAnimation:i,visualState:s},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=js,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let p=Nn.now();this.renderScheduledAt<p&&(this.renderScheduledAt=p,ue.render(this.render,!1,!0))};let{latestValues:l,renderState:u,onUpdate:c}=s;this.onUpdate=c,this.latestValues=l,this.baseTarget={...l},this.initialValues=n.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=a,this.blockInitialAnimation=Boolean(i),this.isControllingVariants=cl(n),this.isVariantNode=q_(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&&t.current);let{willChange:d,...f}=this.scrapeMotionValuesFromProps(n,{},this);for(let p in f){let _=f[p];l[p]!==void 0&&we(_)&&_.set(l[p],!1)}}mount(t){this.current=t,Js.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,229 bytes, line 8744
8744h((n,r)=>this.bindToMotionValue(r,n)),fh.current||XF(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:fp.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),Zn(this.notifyUpdate),Zn(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 n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let r=qn.has(t);r&&this.onBindTransform&&this.onBindTransform();let o=n.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&ue.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),i=n.on("renderRequest",this.scheduleRender),s;window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{o(),i(),s&&s(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Di){let n=Di[t];if(!n)continue;let{isEnabled:r,Feature:o}=n;if(!this.features[t]&&o&&r(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):Xe()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<ZF.length;r++){let o=ZF[r];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=$F(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 n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){let r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);let n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=ki(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){var r;let o=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options);return o!=null&&(typeof o=="string"&&(CT(o)||yT(o))?o=parseFloat(o):!jF(o)&&Fn.test(n)&&(o=LT(t,n)),this.setBaseTarget(t,we(o)?o.get():o)),we(o)?o.get():o}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;let{initial:r}=this.props,o;if(typeof r=="string"||typeof r=="object"){let s=bc(this.props,r,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);s&&(o=s[t])}if(r&&o!==void 0)return o;let i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!we(i)?i:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Ws),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}};var qc=class extends Jc{constructor(){super(...arguments),this.KeyframeResolver=wc}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;we(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}};function H8(e){return window.getComputedStyle(e)}var Qc=class extends qc{constructor(){super(...arguments),this.type="html",this.renderInstance=lT}readValueFromInstance(t,n){if(qn.has(n)){let r=Fc(n);return r&&r.default||0}else{let r=H8(t),o=(hc(n)?r.getPropertyValue(n):r[n])||0;
8744return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return TA(t,n)}build(t,n,r){Ic(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Cc(t,n,r)}};var ed=class extends qc{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Xe,this.updateDimensions=()=>{this.current&&!this.renderState.dimensions&&aT(this.current,this.renderState)}}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(qn.has(n)){let r=Fc(n);return r&&r.default||0}return n=uT.has(n)?n:Ec(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return dT(t,n,r)}onBindTransform(){this.current&&!this.renderState.dimensions&&ue.postRender(this.updateDimensions)}build(t,n,r){Ac(t,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,n,r,o){cT(t,n,r,o)}mount(t){this.isSVGTag=Nc(t.tagName),super.mount(t)}};var qF=(e,t)=>Rc(e)?new ed(t):new Qc(t,{allowProjection:e!==JF.Fragment});var QF=LG({...Ik,...KF,...MF,...zF},qF);var er=j1(QF);var W8=e=>e&&typeof e=="object"&&e.mix,Y8=e=>W8(e)?e.mix:void 0;function qs(...e){let t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],o=e[1+n],i=e[2+n],s=e[3+n],a=wT(o,i,{mixer:Y8(i[0]),...s});return t?a(r):a}function ew(e,t=100,n){let r=n({...e,keyframes:[0,t]}),o=Math.min(Uc(r),2e4);return{type:"keyframes",ease:i=>r.next(o*i).value/t,duration:yn(o)}}var tw=(e,t,n)=>{let r=t-e;return((n-e)%r+r)%r+e};function ph(e,t){return FT(e)?e[tw(0,e.length,t)]:e}function pp(e){return typeof e=="object"&&!Array.isArray(e)}function mh(e,t,n,r){return typeof e=="string"&&pp(t)?sh(e,n,r):e instanceof NodeList?Array.from(e):Array.isArray(e)?e:[e]}function nw(e,t,n){return e*(t+1)}function MA(e,t,n,r){var o;return typeof t=="number"?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):t==="<"?n:(o=r.get(t))!==null&&o!==void 0?o:e}function K8(e,t,n){for(let r=0;r<e.length;r++){let o=e[r];o.at>t&&o.at<n&&(Hs(e,o),r--)}}function rw(e,t,n,r,o,i){K8(e,o,i);for(let s=0;s<t.length;s++)e.push({value:t[s],at:Re(o,i,r[s]),easing:ph(n,s)})}function ow(e,t){for(let n=0;n<e.length;n++)e[n]=e[n]/(t+1)}function iw(e,t){return e.at===t.at?e.value===null?1:t.value===null?-1:0:e.at-t.at}var z8="easeInOut",X8=20;function lw(e,{defaultTransition:t={},...n}={},r,o){let i=t.duration||.3,s=new Map,a=new Map,l={},u=new Map,c=0,d=0,f=0;for(let p=0;p<e.length;p++){let _=e[p];if(typeof _=="string"){u.set(_,d);continue}else if(!Array.isArray(_)){u.set(_.name,MA(d,_.at,c,u));continue}let[T,h,m={}]=_;m.at!==void 0&&(d=MA(d,m.at,c,u));let E=0,O=(g,I,S,A=0,R=0)=>{let y=j8(g),{delay:b=0,times:L=UT(y),type:D="keyframes",repeat:F,repeatType:U,repeatDelay:N=0,...K}=I,{ease:C=t.ease||"easeOut",duration:M}=I,P=typeof b=="function"?b(A,R):b,z=y.length,Ee=Ys(D)?D:o?.[D];if(z<=2&&Ee){let We=100;if(z===2&&J8(y)){let Oe=y[1]-y[0];We=Math.abs(Oe)}let De={...K};M!==void 0&&(De.duration=Zt(M));let ae=ew(De,We,Ee);C=ae.ease,M=ae.duration}M??(M=i);let pe=d+P;L.length===1&&L[0]===0&&(L[1]=1);let ye=L.length-y.length;if(ye>0&&BT(L,ye),y.length===1&&y.unshift(null),F){Sr(F<X8,"Repeat count too high, must be less than 20"),M=nw(M,F);let We=[...y],De=[...L];C=Array.isArray(C)?[...C]:[C];let ae=[...C];for(let Oe=0;Oe<F;Oe++){y.push(...We);for(let oe=0;oe<We.length;oe++)L.push(De[oe]+(Oe+1)),C.push(oe===0?"linear":ph(ae,oe-1))}ow(L,F)}let Le=pe+M;rw(S,y,C,L,pe,Le),E=Math.max(P+M,E),f=Math.max(Le,f)};if(we(T)){let g=sw(T,a);O(h,m,aw("default",g))}else{let g=mh(T,h,r,l),I=g.length;for(let S=0;S<I;S++){h=h,m=m;let A=g[S],R=sw(A,a);for(let y in h)O(h[y],$8(m,y),aw(y,R),S,I)}}c=d,d+=E}return a.forEach((p,_)=>{for(let T in p){let h=p[T];h.sort(iw);let m=[],E=[],O=[];for(let I=0;I<h.length;I++){let{at:S,value:A,easing:R}=h[I];m.push(A),E.push(Ar(0,f,S)),O.push(R||"easeOut")}E[0]!==0&&(E.unshift(0),m.unshift(m[0]),O.unshift(z8)),E[E.length-1]!==1&&(E.push(1),m.push(null)),s.has(_)||s.set(_,{keyframes:{},transition:{}});let g=s.get(_);g.keyframes[T]=m,g.transition[T]={...t,duration:f,ease:O,times:E,...n}}}),s}function sw(e,t){return!t.has(e)&&t.set(e,{}),t.get(e)}function aw(e,t){return t[e]||(t[e]=[]),t[e]}function j8(e){return Array.isArray(e)?e:[e]}function $8(e,t){return e&&e[t]?{...e,...e[t]}:{...e}}var Z8=e=>typeof e=="number",J8=e=>e.every(Z8);function q8(e,t){return e in t}var Eh=class extends Jc{constructor(){super(...arguments),this.type="object"}readValueFromInstance(t,n){if(q8(n,t)){let r=t[n];if(typeof r=="string"||typeof r=="number")return r}}getBaseTargetFromProps(){}removeValueFromRenderState(t,n){delete n.output[t]}measureInstanceViewportBox(){return Xe()}build(t,n){Object.assign(t.output,n)}renderInstance(t,{output:n}){Object.assign(t,n)}sortInstanceNodePosition(){return 0}};function uw(e){let t={presenceContext:null,props:{}
8744,visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=th(e)?new ed(t):new Qc(t);n.mount(e),Js.set(e,n)}function cw(e){let t={presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}},n=new Eh(t);n.mount(e),Js.set(e,n)}function Q8(e,t){return we(e)||typeof e=="number"||typeof e=="string"&&!pp(t)}function _h(e,t,n,r){let o=[];if(Q8(e,t))o.push(eh(e,pp(t)&&t.default||t,n&&(n.default||n)));else{let i=mh(e,t,r),s=i.length;Sr(Boolean(s),"No valid elements provided.");for(let a=0;a<s;a++){let l=i[a],u=l instanceof Element?uw:cw;Js.has(l)||u(l);let c=Js.get(l),d={...n};"delay"in d&&typeof d.delay=="function"&&(d.delay=d.delay(a,s)),o.push(...Yc(c,{...t,transition:d},{}))}}return o}function dw(e,t,n){let r=[];return lw(e,t,n,{spring:Hc}).forEach(({keyframes:i,transition:s},a)=>{r.push(..._h(a,i,s))}),r}function ej(e){return Array.isArray(e)&&e.some(Array.isArray)}function fw(e){function t(n,r,o){let i=[];ej(n)?i=dw(n,r,e):i=_h(n,r,o,e);let s=new xc(i);return e&&e.animations.push(s),s}return t}var tr=fw();function tj(e){return!("fills"in e)||!e.fills?[]:e.fills.filter(t=>t.type==="CUSTOM"&&t.visible!==!1&&t.opacity!==0&&!!t.customEffectId)}function nj(e,t){if(!t.hash)return;let n=go(t.assets,t.hash);if(n.type==="GENERATED_ASSET")return e.getAssetURL(n.url)}function pw(e,t){let n=tj(e);if(!t.renderOptions.shouldOutputCustomEffects||n.length===0)return[];let r=nj(t,e);return n.map(o=>Th({fill:o,mask:r}))}function Th({fill:e,styles:t,mask:n}){return ne({Tag:"ShaderFill",styleSet:[{position:"absolute",opacity:e.opacity<1?e.opacity:void 0,...t}],customFill:{id:e.customEffectId,params:e.componentPropAssignments??{defs:{},assignments:[]},mask:n}})}function hh(e,t,n,r,o){return{...e,initial:{...e.initial??{},[t]:n},animate:{...e.animate??{},[t]:r},transition:{...e.transition??{},[t]:o}}}function Oh(e,t){return e.renderOptions.disableClientOnlyComponents?t.fallback:e.sitesRenderers.renderClientOnly({children:t.children,fallback:Ne(t.fallback,e)})}function _w({node:e,parent:t,children:n,backgroundInfo:r,sharedBackgroundStyles:o,smartAnimateType:i,transitionData:s,context:a,fillColorKeyframeProps:l,websiteContext:u}){let c=on(s),f=i===ee.INSTANCE_SUBTREE&&r.length===0,p={position:"absolute",inset:0,pointerEvents:"none"};if(r.length===1||f){let h=f?o:{...r[0].backgroundStyles,...o},{motionTransitionProps:m,cssStyles:E}=Ku(i,f?0:1,h,void 0,s,f?void 0:c),O=Ai(i,s,h.transform),g=!f&&l?.colorAnimate?.background!==void 0,I=i!==ee.NONE||g,S={...m,...O},A=g?hh(S,"background",l.colorInitial.background,l.colorAnimate.background,l.colorTransition.background):S;return r[0]?.imageProps?mw({imageProps:r[0].imageProps,styles:{...r[0].backgroundStyles,...p,...E},node:e,parent:t,children:n,needsMotion:I,motionProps:A,context:a,websiteContext:u}):r[0]?.videoProps?ij({node:e,videoProps:r[0].videoProps,styles:{...r[0].backgroundStyles,...E},websiteContext:u}):r[0]?.customFill?Th({fill:r[0].customFill,styles:E}):ne({Tag:I?er.div:"div",nodeId:e.id,idSuffix:"background",styleSet:{...p,...E},attributes:{"aria-hidden":!0,...I?A:{}}})}else if(r.length===0)return null;let{backdropFilter:_,...T}=o;return ne({Tag:"div",nodeId:e.id,idSuffix:"background",attributes:{"aria-hidden":!0},styleSet:[p,T],children:r.map(({backgroundStyles:h,imageProps:m,customFill:E},O)=>{let g=O===r.length-1,I={...T,backdropFilter:g?_:void 0,...h};return E?Th({fill:E,styles:I}):m?mr({key:O,children:mw({imageProps:m,styles:I,node:e,parent:t,children:n,needsMotion:!1,motionProps:{},context:a,websiteContext:u})}):mr({key:O,children:ne({Tag:"div",styleSet:[p,I]})})})})}function mw({styles:e,node:t,parent:n,children:r,needsMotion:o,motionProps:i,imageProps:s,context:a,websiteContext:l}){let{getAssetURL:u,renderOptions:c}=l,{disableImageOptimization:d}=c,{url:f,cropDivInfo:p,size:_}=s,{srcset:T,sizes:h}=d?{srcset:void 0,sizes:void 0}:GA(u,t,n,r,f,_,p?{x:p.widthPercent,y:p.heightPercent}:void 0,c,a),m=p?{position:"absolute",width:zn(p.widthPercent),height:zn(p.heightPercent),top:zn(p.topPercent),left:zn(p.leftPercent),maxWidth:"none"}:{maxWidth:"none",position:"absolute",width:"100%",height:"100%",...e},E=ne({Tag:o?er.img:"img",nodeId:t.id,idSuffix:"background",styleSet:m,attributes:{loading:t.lazyLoad?"lazy":void 0,alt:t.accessibleLabel||"",src:u(f),srcSet:T,sizes:t.lazyLoad?`auto,${h}`:h,...o?i:{}}});return p?ne({Tag:"div",nodeId:t.id,idSuffix:"image-cropper",styleSet:{overflow:"hidden",position:"absolute",inset:0,...e},children:E}):E}var Ew=[64,128,256,512,1024,1536,2048,2560,3072,3584,4096],rj=3,oj=512;function GA(e,t,n,r,o,i,s,a,l){let u=Mt(t,n,r,a,l)===re.FIXED&&un(t,n,r,a,l)===re.FIXED&&!Ir(t,n),c=s??{x:1,y:1},d=`${Math.ceil(c.x*100)}vw`,f=oj,p=Math.max(i.x,i.y);if(u){let T={x:t.size.x*c.x,y:t.size.y*c.y};d=`${T.x}px`,f=i.x>=i.y?T.x:T.y,p=Math.min(p,f*rj)}let _=`${e(o)} ${Math.ceil(i.x)}w`;if(i.x>=i.y)for(let T of Ew){if(T<f)continue;if(T>p)break;let h=Math.ceil(T*c.x);_+=`, ${e(o,{width:h})} ${h}w`}else for(let T of Ew){if(T<f)continue;if(T>p)break;let h=i.x/i.y,m=Math.ceil(T*c.y);_+=`, ${e(o,{height:m})}
8744 ${Math.ceil(m*h)}w`}return{srcset:_,sizes:d}}function ij({node:e,videoProps:t,styles:n,websiteContext:r}){let{getVideoURL:o,env:i}=r,{cropDivInfo:s}=t;if(!["FRAME","RECTANGLE"].includes(e.type))return console.error("backgroundNonTileVideo: node is not a frame or rectangle",e),null;let a=t.autoplay||t.muted,l=e.accessibleLabel||"",u={autoPlay:t.autoplay,loop:t.mediaLoop,controls:t.showControls,muted:a,playsInline:t.autoplay};i==="published"&&matchMedia("(prefers-reduced-motion: reduce)").matches&&(u.autoPlay=!1),t.isDecorative&&(u.role="presentation",u["aria-hidden"]=!0);let c=s?{position:"absolute",width:zn(s.widthPercent),height:zn(s.heightPercent),top:zn(s.topPercent),left:zn(s.leftPercent),maxWidth:"none"}:{maxWidth:"none",position:"absolute",width:"100%",height:"100%",...n},d=Oh(r,{fallback:null,children:()=>r.renderElement({Tag:"video",attributes:{...u,controlsList:"nodownload","aria-label":l},styleSet:c,children:r.renderElement({Tag:"source",attributes:{src:o(t.url,t.hash)}})})});return s?ne({Tag:"div",nodeId:e.id,idSuffix:"video-cropper",styleSet:{overflow:"hidden",position:"absolute",inset:0,...n},children:d}):d}var sj={ALL:["x","y","opacity","rotate","scaleX","scaleY"],OPACITY:["opacity"],TRANSLATION:["x","y"],ROTATION:["rotate"],SCALE:["scaleX","scaleY"]};function aj(e){return"type"in e||e.ease==="linear"?"linear":[...e.ease]}function lj(e,t){let{duration:n}=e,r=Hf(e.easing),o=Wf(r);if("type"in o)return{...o,duration:n};let i=aj(o);return"times"in t?{...t,duration:n,ease:t.ease.map(()=>i)}:{duration:n,times:[0,1],ease:[i]}}function gh(e,t){if(!t)return e;let n={...e},r=["ALL","OPACITY","TRANSLATION","ROTATION","SCALE"];for(let o of r){let i=t[o];if(!i||i.length===0)continue;let s=i.find(a=>a.interactionIDs.length===0);if(s)for(let a of sj[o]){let l=n[a];l&&(n[a]=lj(s,l))}}return n}var uj="__figmaMotionSpringEasing";function Tw(e){return{children:e,dataMotionProps:void 0,elementMotionProps:void 0}}function cj(e){if(e)return e instanceof Q?e.value:e}function dj({keyframeMotionPropsOverride:e,node:t,normalizeParameterUnits:n=!1}){let r=e!==void 0?e:t.keyframeData?Li(t.keyframeData,{normalizeParameterUnits:n}):null;return r&&t.transitionOverrides&&(r={...r,transition:gh(r.transition,t.transitionOverrides)}),r}function Qs(e,t){return e===null||typeof e!="object"||Array.isArray(e)?{}:Object.fromEntries(Object.entries(e).filter(([n])=>t(n)))}function fj(e){return e==null?!1:Array.isArray(e)?e.length>0:typeof e=="object"?Object.keys(e).length>0:!0}function kA(e,t){return new Set([...Object.keys(e),...Object.keys(t)])}function hw(e){return kA(Qs(e.initial,()=>!0),Qs(e.animate,()=>!0))}function Ow(e,t){return!t.has(e)}function gw(e){if(!e)return e;let t=Qs(e.initial,s=>rl.has(s)),n=Qs(e.animate,s=>rl.has(s)),r=kA(t,n),o=hw(e),i=Qs(e.transition,s=>r.has(s)||Ow(s,o));return r.size===0?null:{initial:t,animate:n,transition:i}}function pj(e){if(!e)return e;let t=Qs(e.initial,f=>!rl.has(f)),n=Qs(e.animate,f=>!rl.has(f)),{initial:r,animate:o,transition:i,...s}=e,a=Object.values(s).some(fj),l=kA(t,n),u=hw(e),c=l.size>0||a,d=Qs(e.transition,f=>l.has(f)||c&&Ow(f,u));return l.size===0&&!a?null:{...e,initial:t,animate:n,transition:d}}function mj(e){let t=gw(e);return!!t&&(Object.keys(t.initial??{}).length>0||Object.keys(t.animate??{}).length>0)}function Ej(e){if(!e)return e;let t=mR,n={};for(let[o,i]of Object.entries(e.initial))n[o]=typeof i=="number"&&t.has(o)?`${i}px`:i;let r={};for(let[o,i]of Object.entries(e.animate))Array.isArray(i)&&t.has(o)?r[o]=i.map(s=>typeof s=="number"?`${s}px`:s):r[o]=i;return{...e,initial:n,animate:r}}function FA(e){let t=Ej(e);return JSON.stringify(t,(n,r)=>_j(r)?{[uj]:{zeta:r.__springParams.zeta,w0:r.__springParams.w0,duration:r.__springParams.duration}}:r)}function _j(e){return typeof e=="function"&&"__springParams"in e}function Tj({keyframeMotionProps:e,relativeTransform:t,renderOptions:n,smartAnimateType:r}){return t!==void 0&&n.metronomeEnabled&&r===ee.NONE&&sl(t,n)&&mj(e)}function hj({keyframeMotionPropsOverride:e,node:t,relativeTransform:n,renderOptions:r,smartAnimateType:o}){let i=dj({keyframeMotionPropsOverride:e,node:t,normalizeParameterUnits:r.emitMotionDataForCodegen});return Tj({keyframeMotionProps:i,relativeTransform:n,renderOptions:r,smartAnimateType:o})?{childKeyframeMotionPropsOverride:pj(i),wrapperKeyframeMotionPropsOverride:i}:{childKeyframeMotionPropsOverride:e,wrapperKeyframeMotionPropsOverride:void 0}}function Sl({keyframeMotionPropsOverride:e,node:t,context:n,renderOptions:r,smartAnimateType:o,wrappersToRender:i}){return i.needsTransformWrapper?hj({keyframeMotionPropsOverride:e,node:t,relativeTransform:xt(Wt(n?.group?.relativeTransform,t.relativeTransform)),renderOptions:r,smartAnimateType:o}):{childKeyframeMotionPropsOverride:e,wrapperKeyframeMotionPropsOverride:void 0}}function Iw({keyframeMotionPropsOverride:e}){let n=gw(e??null);return{shouldWrapKeyframeMotion:n!=null,transformKeyframeMotionProps:n}}function Oj({children:e,keyframeMotionPropsOverride:t,websiteContext:n}){let{shouldWrapKeyframeMotion:r,transformKeyframeMotionProps:o}=Iw({keyframeMotionPropsOverride:t}
8744),i=o?ho(n):null,s=r&&o?i?ol(o,i.ease()):o:void 0;return{childrenWithKeyframeMotionDisabled:e,keyframeDataMotionProps:void 0,keyframeMotionElementProps:s}}function gj({children:e,cssTransformString:t,keyframeMotionPropsOverride:n,nodeId:r}){let{shouldWrapKeyframeMotion:o,transformKeyframeMotionProps:i}=Iw({keyframeMotionPropsOverride:n});return{childrenWithKeyframeMotionDisabled:e,keyframeDataMotionProps:o&&i&&i?{"data-motion-props":FA(i),...t?{"data-motion-transform-template":t}:{},"data-motion-wrapper-for":r}:void 0,keyframeMotionElementProps:void 0}}function Ih({children:e,keyframeMotionPropsOverride:t,nodeId:n,outerTransform:r,renderOptions:o,renderMotionProps:i,websiteContext:s}){if(t===void 0)return Tw(e);if(o.emitMotionDataForCodegen){let{childrenWithKeyframeMotionDisabled:u,keyframeDataMotionProps:c}=gj({children:e,cssTransformString:cj(r),keyframeMotionPropsOverride:t,nodeId:n});return{children:u,dataMotionProps:c,elementMotionProps:void 0}}if(!i||!s)return Tw(e);let{childrenWithKeyframeMotionDisabled:a,keyframeMotionElementProps:l}=Oj({children:Ne(e,s),keyframeMotionPropsOverride:t,websiteContext:s});return{children:Ot(a),dataMotionProps:void 0,elementMotionProps:l!=null&&r?{...l,transformTemplate:zu(r)}:l}}function Ij(e,t){let n={...e,...t};if(e.transform!=null&&t.transform!=null){let r=e.transform instanceof Q?e.transform.value:e.transform,o=t.transform instanceof Q?t.transform.value:t.transform;n.transform=`${r} ${o}`}return n}function Ao(e){let{key:t,ref:n,children:r,semanticTagInfo:o,context:i,styles:s,additionalClassName:a,transitionProps:l,keyframeMotionPropsOverride:u,node:c,wrappers:{outerStyles:d,needsListItemTag:f},websiteContext:p,attributes:_,...T}=e,{tabIndex:h,...m}=_??{},{emitMotionDataForCodegen:E}=p.renderOptions,{semanticTag:O,interactiveSemanticTag:g}=o,{finalInnerSemanticTag:I,needsInteractiveWrapper:S,needsListWrapper:A}=H_(O,g,f),R=A||S?s:Ij(d,s),y=u!==void 0?u:c.keyframeData?Li(c.keyframeData,{normalizeParameterUnits:E}):null;if(y&&c.transitionOverrides){let oe=gh(y.transition,c.transitionOverrides);y={...y,transition:oe}}let b=R;if(E&&y&&R.transform){let oe=R.transform instanceof Q?R.transform.value:R.transform,ft=c.transform3d?.type==="FIXED_ORDER",et=Aj(y,oe,ft);et.motionProps!==y&&(y=et.motionProps,b={...R,transform:et.remainingTransform})}let L=c.type==="FRAME"&&c.isBreakpointFrame===!0,F=d.position==="fixed"||b.position==="fixed"||L?void 0:Ai(l.smartAnimateType,l.transitionData,b.transform),{motionTransitionProps:U,cssStyles:N}=Ku(l.smartAnimateType,l.opacity,b,l.behaviorProps?.variants,l.transitionData,l.onTransitionEnd),K=b.transform&&l.behaviorProps?.variants?{transformTemplate:zu(b.transform)}:void 0,C=E&&y?{"data-motion-props":FA(y)}:{},M=E&&!y&&c.transitionOverrides?{"data-transition-overrides":JSON.stringify(c.transitionOverrides)}:{};if(y){let oe=ho(p);if(oe){let ft=oe.ease();y=ol(y,ft)}}Uv([l.behaviorProps,K,U,F,E?void 0:y??void 0],p);let{style:P,...z}={...l.behaviorProps,...F,...U,...K,...!E&&y?ER(y):{}},Ee=i?.renderedByCode,pe={styles:d,renderedByCode:Ee},ye=[a,{styles:N,renderedByCode:Ee},i?.className],Le={width:"100%",height:"100%",display:"block"},We=g==="a"?{display:"block"}:{},ae=l.smartAnimateType!==ee.NONE||Object.keys(l.behaviorProps).length>0||!E&&!!y?er[I]:I;if(A)if(S){let oe=g,{href:ft,role:et,target:he,rel:Ge,onMouseDown:Ye,onClick:ce,onKeyDown:tt,...pn}=m??{};return ne({Tag:"li",key:t,styleSet:pe,children:ne({Tag:oe,styleSet:Le,attributes:{href:ft,target:he,role:et,rel:Ge,tabIndex:h,onMouseDown:Ye,onClick:ce,onKeyDown:tt},children:ne({Tag:ae,...T,attributes:{tabIndex:Ms(I)?-1:void 0,...z,...pn,...C,...M},ref:n,styleSet:[Le,...ye],style:P,children:r})})})}else return ne({Tag:"li",key:t,styleSet:pe,children:ne({Tag:ae,ref:n,attributes:{tabIndex:Ms(I)?-1:h,...z,...m,...C,...M},styleSet:[Le,...ye],style:P,children:r})});if(S){let{href:oe,role:ft,target:et,rel:he,onMouseDown:Ge,onClick:Ye,onKeyDown:ce,...tt}=m??{};return ne({Tag:g,key:t,styleSet:[pe,We],attributes:{href:oe,target:et,role:ft,rel:he,tabIndex:h,onMouseDown:Ge,onClick:Ye,onKeyDown:ce},children:ne({Tag:ae,...T,ref:n,attributes:{tabIndex:Ms(I)?-1:void 0,...z,...tt,...C,...M},styleSet:[Le,...ye],style:P,children:r})})}if(Object.keys(c.componentPropertyReferences??{}).length===0&&WE(N)&&!a&&!i?.className&&Object.keys(P??{}).length===0)return r;let Oe={...z,...m,...C,...M};
8744return ne({Tag:ae,key:t,...T,ref:n,styleSet:ye,style:P,attributes:{tabIndex:Ms(I)?-1:h,...Oe},children:r})}var Sj={translateX:"x",translateY:"y",translateZ:"z",rotate:"rotate",rotateZ:"rotateZ",rotateX:"rotateX",rotateY:"rotateY",scale:"scale",scaleX:"scaleX",scaleY:"scaleY",skewX:"skewX",skewY:"skewY",perspective:"transformPerspective"},Rj=new Set(["perspective","translateZ","rotateX","rotateY","rotateZ"]);function Aj(e,t,n=!1){if(!e)return{motionProps:e,remainingTransform:t};let r={...e.initial},o=[],i=!1;for(let{raw:s,fn:a,value:l}of Nj(t)){let u=Sj[a],c=Rj.has(a)&&!n;if(!u||u in r||c){o.push(s);continue}r[u]=l.trim(),i=!0}return i?{motionProps:{...e,initial:r},remainingTransform:o.length>0?o.join(" "):void 0}:{motionProps:e,remainingTransform:t}}function*Nj(e){let t=/(\w+)\(/g;for(;;){let n=t.exec(e);if(n===null)return;let r=n.index,o=t.lastIndex,i=1,s=o;for(;s<e.length&&i>0;){let a=e.charAt(s);a==="("?i++:a===")"&&i--,s++}if(i!==0)return;yield{raw:e.slice(r,s),fn:n[1],value:e.slice(o,s-1)},t.lastIndex=s}}function Sh(e,t,n,r){let{effects:o,nodeId:i,styles:s}=e;if(o.length===0)return t;let a=vE(n,Rs(n,!0),r);return ne({Tag:"ShaderEffect",nodeId:i,customEffects:o.map(l=>({id:l.customEffectId,params:l.componentPropAssignments??{defs:{},assignments:[]}})),children:t,styleSet:[s,a]})}var yj="ffw";function wA(e){let{parent:t,node:n,children:r,outerStyles:o,tag:i,nodeId:s,idSuffix:a}=e;if(!uc(n,t))return r;let l={display:"flex",flex:o.flex,flexDirection:t.layoutMode==="HORIZONTAL"?"row":"column",alignSelf:"stretch",alignItems:PR(t.counterAxisAlignItems)};return ne({Tag:i,key:yj,nodeId:s,idSuffix:a,styleSet:l,children:r})}function td(e,t){if(t.disableCodeBehaviors)return!1;switch(e.type){case"FRAME":case"RECTANGLE":case"TEXT":case"IMAGE":case"SVG":return!!e.behaviors?.code?.length;default:return!1}}var bj="sw";function mp(e){let{children:t,stickyWrapperStyles:n,nodeId:r,idSuffix:o,tag:i}=e;return n?ne({Tag:i,key:bj,nodeId:r,idSuffix:o,styleSet:n,children:t}):t}function Sw(e){return e==="flex-start"?"flex-end":e==="flex-end"?"flex-start":"center"}function Rh(e,t,n){if(!n)return;let r=!!(e.keyframeData&&"WIDTH"in e.keyframeData),o=!!(e.keyframeData&&"HEIGHT"in e.keyframeData);if(!r&&!o)return;let i=t!=null&&t[0][0]<0,s=t!=null&&t[1][1]<0,a="center";if(r){switch(e.constraints?.horizontal){case Kn.LEFT:a="flex-start";break;case Kn.RIGHT:a="flex-end";break;default:a="center";break}i&&(a=Sw(a))}let l="center";if(o){switch(e.constraints?.vertical){case Er.TOP:l="flex-start";break;case Er.BOTTOM:l="flex-end";break;default:l="center";break}s&&(l=Sw(l))}return{justifyContent:a,alignItems:l}}function Ah({outerStyles:e,childWrapperStyles:t,innerState:n,keyframeAlignmentOverride:r,preserve3d:o}){let i={display:"flex",alignItems:r?.alignItems??"center",justifyContent:r?.justifyContent??"center"},s=o?"preserve-3d":void 0;return{inner:{flex:"0 0 auto",...t,...n,transformStyle:s},outer:{...e,...i,transformStyle:s}}}function Nh({ref:e,outerStyles:t,...n}){return Oh(n.websiteContext,{fallback:Lj({outerStyles:t,...n}),children:()=>n.websiteContext.sitesRenderers.renderTransformWrapperLive({ref:e,outerStyles:t,...n})})}function Lj({children:e,outerStyles:t,childWrapperStyles:n,node:r,context:o,keyframeMotionPropsOverride:i,tag:s,nodeId:a,idSuffix:l,websiteContext:u}){let c=u.renderOptions,{metronomeEnabled:d}=c,f=xt(Wt(o?.group?.relativeTransform,r.relativeTransform)),p=Ih({children:e,keyframeMotionPropsOverride:i,nodeId:r.id,outerTransform:t.transform,renderMotionProps:!0,renderOptions:c,websiteContext:u}),{inner:_,outer:T}=Ah({outerStyles:t,childWrapperStyles:n,keyframeAlignmentOverride:Rh(r,f,d),preserve3d:al(r,c)});return ne({Tag:p.elementMotionProps!=null?er[s]:s,nodeId:a,idSuffix:l,styleSet:T,attributes:{...p.dataMotionProps,...p.elementMotionProps},children:ne({Tag:"div",styleSet:_,children:p.children})})}function yr(e){let{node:t,parent:n,context:r,children:o,transitionProps:i,layerRef:s,outerRef:a,previousRotation:l,codeBehaviorProps:u,keyframeMotionPropsOverride:c,codeBehaviorWrapperRef:d,wrappersToRender:f,websiteContext:p}=e,_=f.needsTransformWrapper||f.needsCodeBehaviorWrapper,T=Sh(f.customEffectWrapper,o,t,p.renderOptions),h=f.maskWrapper.maskStyles?ne({Tag:f.maskWrapper.tag,no
8744deId:f.maskWrapper.nodeId,idSuffix:f.maskWrapper.idSuffix,styleSet:[f.maskWrapper.maskStyles],children:T}):T;if(!_)return mp({nodeId:f.stickyWrapper.nodeId,idSuffix:f.stickyWrapper.idSuffix,stickyWrapperStyles:f.stickyWrapper.outerStyles,tag:f.stickyWrapper.tag,children:wA({node:t,parent:n,outerStyles:f.flexFillWrapper.outerStyles,tag:f.flexFillWrapper.tag,nodeId:f.flexFillWrapper.nodeId,idSuffix:f.flexFillWrapper.idSuffix,children:h})});let m=i?.transitionData,E=i?.smartAnimateType??ee.NONE,O=E===ee.INSTANCE_SUBTREE,g=t.type!=="WIDGET"&&Wo(E,t.maybeAnimateRotation),I=f.needsTransformWrapper?Nh({ref:g||O?s:null,context:r,node:t,parent:n,childWrapperStyles:f.transformWrapper.childWrapperStyles,transitionData:m,canAnimate:g,smartAnimateType:E,previousRotation:l,transformRef:a,codeBehaviorWrapperRef:d,keyframeMotionPropsOverride:c,outerStyles:f.transformWrapper.outerStyles,tag:f.transformWrapper.tag,nodeId:f.transformWrapper.nodeId,idSuffix:f.transformWrapper.idSuffix,websiteContext:p,children:h}):h;if(f.needsCodeBehaviorWrapper){td(t,p.renderOptions);let S=t.behaviors.code;return f.codeBehaviorWrapper.outerStyles,p.sitesRenderers.renderCodeBehaviorWrapper({codeBehaviors:S,variableState:t.variableState,modeContext:t.modeContext,ref:d,assets:t.assets,outerStyles:f.codeBehaviorWrapper.outerStyles,tag:f.codeBehaviorWrapper.tag,websiteContext:p,children:p.sitesRenderers.renderRenderHooksConsumer({node:t,renderNode:()=>Ne(I,p),codeBehaviorProps:{...u,transformRef:a}})})}return mp({nodeId:f.stickyWrapper.nodeId,idSuffix:f.stickyWrapper.idSuffix,stickyWrapperStyles:f.stickyWrapper.outerStyles,tag:f.stickyWrapper.tag,children:wA({node:t,parent:n,outerStyles:f.flexFillWrapper.outerStyles,tag:f.flexFillWrapper.tag,nodeId:f.flexFillWrapper.nodeId,idSuffix:f.flexFillWrapper.idSuffix,children:I})})}function Rw(e){let{node:t,parent:n,transitionProps:r,renderOptions:o,maskStyles:i}=e,s=t.keyframeData!=null&&Object.keys(t.keyframeData).length>0||(r?.smartAnimateType??ee.NONE)!==ee.NONE;return o.metronomeEnabled&&s&&i!=null&&Object.keys(i).length>0&&D1(i)&&!$t(t,n)}function Qr(e){return Rw(e)?void 0:e.maskStyles}function wn({node:e,parent:t,context:n,transitionProps:r,outerStyles:o,wrapperSizeStyles:i,stickyWrapperStyles:s,transformChildWrapperStyles:a,renderOptions:l,maskStyles:u}){let{hasCodeBehavior:c,hasTransform:d,hasFlexFill:f,hasSticky:p,hasCustomEffect:_}=Cj({node:e,parent:t,context:n,transitionProps:r,stickyWrapperStyles:s,renderOptions:l}),T=o,h=n?.parentIsList?"li":"div",m,E="div",O="div",g,I="div",S,A="div",R;c&&(m=T,E=h,T=void 0,h="div"),p&&(O=h,h="div"),f&&(g=T,I=h,h="div"),d&&(S=T??i,A=h,T=void 0,h="div"),_&&(R=T??i,T=i);let b=Rw({node:e,parent:t,transitionProps:r,renderOptions:l,maskStyles:u})?u:void 0;if(b&&e.absoluteBoundingBox&&t?.absoluteBoundingBox){let K=e.absoluteBoundingBox.x-t.absoluteBoundingBox.x,C=e.absoluteBoundingBox.y-t.absoluteBoundingBox.y;b=v1(b,K,C)}let L=l.shouldOutputCustomEffects?DE(e):[],D=l.assignNodeIdToOutermostWrapper,F=b!=null,U=D?p?"sticky":f?"flexFill":d?"transform":F?"mask":L.length>0?"customEffect":"main":"main",N=K=>U===K?e.id:void 0;return{needsTransformWrapper:d,needsCodeBehaviorWrapper:c,stickyWrapper:{outerStyles:s,tag:O,...D?{nodeId:N("sticky"),idSuffix:void 0}:{nodeId:e.id,idSuffix:"sticky-wrapper"}},flexFillWrapper:{outerStyles:g,tag:I,...D?{nodeId:N("flexFill"),idSuffix:void 0}:{nodeId:e.id,idSuffix:"fillWrapper"}},codeBehaviorWrapper:{outerStyles:m,tag:E},transformWrapper:{outerStyles:S,childWrapperStyles:a,tag:A,nodeId:N("transform"),idSuffix:void 0},motionLayerContent:{outerStyles:T??i,needsListItemTag:h==="li",nodeId:N("main")},maskWrapper:{maskStyles:b,tag:"div",nodeId:N("mask"),idSuffix:void 0},customEffectWrapper:{effects:L,styles:R,nodeId:N("customEffect")}}}function Cj({node:e,parent:t,context:n,transitionProps:r,stickyWrapperStyles:o,renderOptions:i}){let s=td(e,i);return{hasCodeBehavior:s,hasTransform:Pj({node:e,parent:t,context:n,transitionProps:r}),hasFlexFill:!s&&uc(e,t),hasSticky:!s&&o!==void 0,hasCustomEffect:i.shouldOutputCustomEffects?DE(e).length>0:!1}}
8744function Pj(e){let{context:t,node:n,parent:r,transitionProps:o}=e,i=xs(n,r,t);if(n.type==="GROUP")return i&&$t(n,r);{let s=n.type!=="WIDGET"&&Wo(o?.smartAnimateType??ee.NONE,n.maybeAnimateRotation);return i||s}}function Aw(e){let{node:t,parent:n,context:r,zIndex:o,smartAnimateType:i,previousRotation:s,precomputeTransforms:a,websiteContext:l}=e,{getAssetURL:u,renderOptions:c}=l,d=go(t.assets,t.hash);ge(d.type==="GENERATED_ASSET","Expected asset to be a generated asset");let f=u(d.url),p=Wo(i,t.maybeAnimateRotation),_=Xn({node:t,parent:n,context:r,zIndex:o,children:[],options:{isFlattened:!0,canAnimate:p,previousRotation:s,precomputeTransforms:a},renderOptions:c}),T=t.type==="SVG"?r?.group?.opacity??1:cn(r,t);return{nodeCanAnimateRotation:p,layoutStyles:_,opacity:T,asset:d,src:f}}function Nw(e){let{node:t,parent:n,interactionHandlers:r,context:o,transitionProps:i,codeBehaviorProps:s,websiteContext:a,layerData:l,hookState:u}=e,{layoutStyles:c,opacity:d,nodeCanAnimateRotation:f,asset:p,src:_}=l,{behaviorProps:T,key:h,behaviorsRef:m,mergedRef:E,outerRef:O,codeBehaviorWrapperRef:g,previousRotation:I,svgContainerRef:S,ref:A}=u,R=i?.smartAnimateType??ee.NONE,{renderOptions:y}=a,b=$n({node:t,context:o,websiteContext:a}),L=t?.interactions??[],D=o?.withinInteractiveElement||Object.keys(T).length>0||R===ee.INSTANCE_SUBTREE,F=gr(L,r,D,a),U=Fo(L),N=po(L),K=Gs(t,N,U,D,!1),C=Ko(t,!0),M=i?.transitionData,P=on(M),z=jn({node:t,parent:n,children:null,renderOptions:y}),{shouldOutputVariables:Ee,codeSyntaxLanguage:pe}=a.renderOptions,ye={...c.inner,...t.type==="IMAGE"?vE(t,Rs(t,!1),y):{},...Gn(d,Ee,t.boundVariables?.opacity?.resolvedName,pe&&t.boundVariables?.opacity?.resolvedCodeSyntax?.[pe]),...Ni(t),...Qr({node:t,parent:n,transitionProps:i,renderOptions:y,maskStyles:b}),...c.transform3d,...o?.style||{}},Le=Jr(a,t),{disableDataAttributes:We}=a.renderOptions,De=wn({node:t,parent:n,context:o,transitionProps:i,outerStyles:c.outer,wrapperSizeStyles:z,stickyWrapperStyles:c.stickyWrapper,transformChildWrapperStyles:c.transform,renderOptions:y,maskStyles:b}),ae=Sl({node:t,context:o,renderOptions:y,smartAnimateType:R,wrappersToRender:De}),Oe=mr({key:t.id,children:Dj({node:t,parent:n,context:o,websiteContext:a,asset:p,src:_,svgContainerRef:S})}),oe=Ao({node:t,semanticTagInfo:K,key:h,context:o,ref:f?m:E,nodeId:De.motionLayerContent.nodeId,styles:ye,transitionProps:{opacity:d,smartAnimateType:R,behaviorProps:T,transitionData:M,onTransitionEnd:P},keyframeMotionPropsOverride:ae.childKeyframeMotionPropsOverride,wrappers:De.motionLayerContent,websiteContext:a,attributes:{...F,...C,"data-name":Le,"data-isimage":We?void 0:!0,...o?.dataAttributes||{}},children:Oe});return yr({node:t,parent:n,context:o,transitionProps:i,codeBehaviorProps:s,layerRef:A,outerRef:O,codeBehaviorWrapperRef:g,previousRotation:I,wrappersToRender:De,websiteContext:a,keyframeMotionPropsOverride:ae.wrapperKeyframeMotionPropsOverride,children:oe})}function Dj({node:e,parent:t,context:n,websiteContext:r,asset:o,src:i,svgContainerRef:s}){let{url:a,offsets:l,size:u}=o,{disableInlineSvgGeneration:c,disableImageOptimization:d}=r.renderOptions,f=!c&&e.type==="SVG"&&e.isDynamic,p=e.accessibleLabel||"",_={position:"absolute",top:yf(l.top),left:yf(l.left),right:yf(l.right),bottom:yf(l.bottom)},T,h;if(u&&!d&&e.type==="IMAGE"){let{srcset:R,sizes:y}=GA(r.getAssetURL,e,t,null,a,u,void 0,r.renderOptions,n);T=R,h=e.lazyLoad?`auto,${y}`:y}let m={};f&&e.type==="SVG"&&(e.fills.forEach((R,y)=>{R.type==="SOLID"&&(m[`--fill-${y}`]=`rgba(${Math.round(R.color.r*255)}, ${Math.round(R.color.g*255)}, ${Math.round(R.color.b*255)}, ${x(R.color.a)})`)}),e.strokes.forEach((R,y)=>{R.type==="SOLID"&&(m[`--stroke-${y}`]=`rgba(${Math.round(R.color.r*255)}, ${Math.round(R.color.g*255)}, ${Math.round(R.color.b*255)}, ${x(R.color.a)})`)}));let E=!f&&WE(_),O=pw(e,r),g=O.length>0,I={display:"block",maxWidth:"none",width:"100%",height:"100%",...E&&{position:"absolute",inset:0},...g&&!E&&{position:"absolute",inset:0}},S=ne({Tag:"img",styleSet:I,attributes:{loading:e.lazyLoad?"lazy":void 0,src:i,alt:p,width:e.type==="IMAGE"&&u?x(u.x):void 0,height:e.type==="IMAGE"&&u?x(u.y):void 0,srcSet:T,sizes:h}}),A=g?[...O,S]:S;return E?A:ne({Tag:"div",ref:s,styleSet:_,style:m,children:A})}var nr=v(W());var yw=(e,t,n)=>Math.min(Math.max(n,e),t);var Rl=e=>typeof e=="number";var bw=e=>Array.isArray(e)&&!Rl(e[0]);var Lw=(e,t,n)=>{let r=t-e;return((n-e)%r+r)%r+e};function Cw(e,t){return bw(e)?e[Lw(0,e.length,t)]:e}var yh=(e,t,n)=>-n*e+n*t+e;var Ep=e=>e;
8744var Al=(e,t,n)=>t-e===0?1:(n-e)/(t-e);function bh(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let o=Al(0,t,r);e.push(yh(n,1,o))}}function _p(e){let t=[0];return bh(t,e-1),t}function BA(e,t=_p(e.length),n=Ep){let r=e.length,o=r-t.length;return o>0&&bh(t,o),i=>{let s=0;for(;s<r-2&&!(i<t[s+1]);s++);let a=yw(0,1,Al(t[s],t[s+1],i));return a=Cw(n,s)(a),yh(e[s],e[s+1],a)}}var Nl=e=>typeof e=="function";var Tp=e=>typeof e=="string";function UA(e,t){return t?e*(1e3/t):0}function Lh(e,t){var n;return typeof e=="string"?t?((n=t[e])!==null&&n!==void 0||(t[e]=document.querySelectorAll(e)),e=t[e]):e=document.querySelectorAll(e):e instanceof Element&&(e=[e]),Array.from(e||[])}function Pw(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}var vj={any:0,all:1};function VA(e,t,{root:n,margin:r,amount:o="any"}={}){if(typeof IntersectionObserver>"u")return()=>{};let i=Lh(e),s=new WeakMap,a=u=>{u.forEach(c=>{let d=s.get(c.target);if(c.isIntersecting!==Boolean(d))if(c.isIntersecting){let f=t(c);Nl(f)?s.set(c.target,f):l.unobserve(c.target)}else d&&(d(c),s.delete(c.target))})},l=new IntersectionObserver(a,{root:n,rootMargin:r,threshold:typeof o=="number"?o:vj[o]});return i.forEach(u=>l.observe(u)),()=>l.disconnect()}var Ch=new WeakMap,ea;function xj(e,t){if(t){let{inlineSize:n,blockSize:r}=t[0];return{width:n,height:r}}else return e instanceof SVGElement&&"getBBox"in e?e.getBBox():{width:e.offsetWidth,height:e.offsetHeight}}function Mj({target:e,contentRect:t,borderBoxSize:n}){var r;(r=Ch.get(e))===null||r===void 0||r.forEach(o=>{o({target:e,contentSize:t,get size(){return xj(e,n)}})})}function Gj(e){e.forEach(Mj)}function kj(){typeof ResizeObserver>"u"||(ea=new ResizeObserver(Gj))}function Dw(e,t){ea||kj();let n=Lh(e);return n.forEach(r=>{let o=Ch.get(r);o||(o=new Set,Ch.set(r,o)),o.add(t),ea?.observe(r)}),()=>{n.forEach(r=>{let o=Ch.get(r);o?.delete(t),o?.size||ea?.unobserve(r)})}}var Ph=new Set,hp;function Fj(){hp=()=>{let e={width:window.innerWidth,height:window.innerHeight},t={target:window,size:e,contentSize:e};Ph.forEach(n=>n(t))},window.addEventListener("resize",hp)}function vw(e){return Ph.add(e),hp||Fj(),()=>{Ph.delete(e),!Ph.size&&hp&&(hp=void 0)}}function xw(e,t){return Nl(e)?vw(e):Dw(e,t)}var wj=50,Mw=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),kw=()=>({time:0,x:Mw(),y:Mw()}),Bj={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function Gw(e,t,n,r){let o=n[t],{length:i,position:s}=Bj[t],a=o.current,l=n.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=Al(0,o.scrollLength,o.current);let u=r-l;o.velocity=u>wj?0:UA(o.current-a,u)}function Fw(e,t,n){Gw(e,"x",t,n),Gw(e,"y",t,n),t.time=n}function ww(e,t){let n={x:0,y:0},r=e;for(;r&&r!==t;)if(r instanceof HTMLElement)n.x+=r.offsetLeft,n.y+=r.offsetTop,r=r.offsetParent;else if(r instanceof SVGGraphicsElement&&"getBBox"in r){let{top:o,left:i}=r.getBBox();for(n.x+=i,n.y+=o;r&&r.tagName!=="svg";)r=r.parentNode}return n}var Bw={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]};var Dh={start:0,center:.5,end:1};function HA(e,t,n=0){let r=0;if(Dh[e]!==void 0&&(e=Dh[e]),Tp(e)){let o=parseFloat(e);e.endsWith("px")?r=o:e.endsWith("%")?e=o/100:e.endsWith("vw")?r=o/100*document.documentElement.clientWidth:e.endsWith("vh")?r=o/100*document.documentElement.clientHeight:e=o}return Rl(e)&&(r=t*e),n+r}var Uj=[0,0];function Uw(e,t,n,r){let o=Array.isArray(e)?e:Uj,i=0,s=0;return Rl(e)?o=[e,e]:Tp(e)&&(e=e.trim(),e.includes(" ")?o=e.split(" "):o=[e,Dh[e]?e:"0"]),i=HA(o[0],n,r),s=HA(o[1],t),i-s}var Vj={x:0,y:0};function Vw(e,t,n){let{offset:r=Bw.All}=n,{target:o=e,axis:i="y"}=n,s=i==="y"?"height":"width",a=o!==e?ww(o,e):Vj,l=o===e?{width:e.scrollWidth,height:e.scrollHeight}:{width:o.clientWidth,height:o.clientHeight}
8744,u={width:e.clientWidth,height:e.clientHeight};t[i].offset.length=0;let c=!t[i].interpolate,d=r.length;for(let f=0;f<d;f++){let p=Uw(r[f],u[s],l[s],a[i]);!c&&p!==t[i].interpolatorOffsets[f]&&(c=!0),t[i].offset[f]=p}c&&(t[i].interpolate=BA(_p(d),t[i].offset),t[i].interpolatorOffsets=[...t[i].offset]),t[i].progress=t[i].interpolate(t[i].current)}function Hj(e,t=e,n){if(n.x.targetOffset=0,n.y.targetOffset=0,t!==e){let r=t;for(;r&&r!=e;)n.x.targetOffset+=r.offsetLeft,n.y.targetOffset+=r.offsetTop,r=r.offsetParent}n.x.targetLength=t===e?t.scrollWidth:t.clientWidth,n.y.targetLength=t===e?t.scrollHeight:t.clientHeight,n.x.containerLength=e.clientWidth,n.y.containerLength=e.clientHeight}function Hw(e,t,n,r={}){let o=r.axis||"y";return{measure:()=>Hj(e,r.target,n),update:i=>{Fw(e,n,i),(r.offset||r.target)&&Vw(e,n,r)},notify:Nl(t)?()=>t(n):Wj(t,n[o])}}function Wj(e,t){return e.pause(),e.forEachNative((n,{easing:r})=>{var o,i;if(n.updateDuration)r||(n.easing=Ep),n.updateDuration(1);else{let s={duration:1e3};r||(s.easing="linear"),(i=(o=n.effect)===null||o===void 0?void 0:o.updateTiming)===null||i===void 0||i.call(o,s)}}),()=>{e.currentTime=t.progress}}var Op=new WeakMap,Ww=new WeakMap,WA=new WeakMap,Yw=e=>e===document.documentElement?window:e;function gp(e,t={}){var{container:n=document.documentElement}=t,r=Pw(t,["container"]);let o=WA.get(n);o||(o=new Set,WA.set(n,o));let i=kw(),s=Hw(n,e,i,r);if(o.add(s),!Op.has(n)){let u=()=>{let d=performance.now();for(let f of o)f.measure();for(let f of o)f.update(d);for(let f of o)f.notify()};Op.set(n,u);let c=Yw(n);window.addEventListener("resize",u,{passive:!0}),n!==document.documentElement&&Ww.set(n,xw(n,u)),c.addEventListener("scroll",u,{passive:!0})}let a=Op.get(n),l=requestAnimationFrame(a);return()=>{var u;typeof e!="function"&&e.stop(),cancelAnimationFrame(l);let c=WA.get(n);if(!c||(c.delete(s),c.size))return;let d=Op.get(n);Op.delete(n),d&&(Yw(n).removeEventListener("scroll",d),(u=Ww.get(n))===null||u===void 0||u(),window.removeEventListener("resize",d))}}var Kw={m00:1,m01:0,m02:0,m10:0,m11:1,m12:0};function nd(e,t,n=1){return{m00:n,m01:0,m02:e,m10:0,m11:n,m12:t}}var Yj={FADE_IN:{opacity:0,transform:Kw},SCALE_IN:{opacity:0,transform:nd(0,0,.5)},SCALE_IN_BOTTOM:{opacity:0,transform:nd(0,50,.5)},SLIDE_IN_TOP:{opacity:0,transform:nd(0,-150)},SLIDE_IN_BOTTOM:{opacity:0,transform:nd(0,150)},SLIDE_IN_LEFT:{opacity:0,transform:nd(-150,0)},SLIDE_IN_RIGHT:{opacity:0,transform:nd(150,0)},NONE:{opacity:1,transform:Kw}},Kj=.75,Qo={IN_CUBIC:[.55,.055,.675,.19],EASE_IN:[.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],HOLD:[1,0,1,0]},zw={easingType:"OUT_CUBIC",easingFunction:Qo.OUT_CUBIC,transitionDuration:.3},zj={...zw,transitionDuration:.6},Xw=50,jw=!0,Xj={type:Kr.FLOAT,resolvedType:oS.FLOAT,value:Xw},jj={type:Kr.BOOLEAN,resolvedType:oS.BOOLEAN,value:jw};function bn(e,t){if(!e)return{};let n=t.transform?ff(t.transform):ke.identity();n.multiply($j(e.transform));let r=n.toScale(),o=n.offset(),i=n.toDegrees();return{opacity:e.opacity??t.opacity??1,scaleX:r?.x??1,scaleY:r?.y??1,translateX:o?.x??0,translateY:o?.y??0,rotate:i??0}}function YA(e,t,n,r){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:bn({},t)};for(let i of e){let s=i.behaviorType,a=!1;switch(s){case yt.Appear:{let l=i;if(!l||n?.[yt.Appear])break;let u=l.trigger;switch(u){case"PAGE_LOAD":o.hasAppearLoadBehavior=!0,o.initial="initial",o.variants.initial=bn(i.enterState,t),o.transitionToVisible=eo(i.enterTransition);break;case"THIS_LAYER_IN_VIEW":o.hasAppearScrollIntoViewBehavior=!0,o.initial="initial",o.variants.initial=bn(i.enterState,t),o.variants.exit=bn(i.exitState??i.enterState,t),o.transitionToVisible=eo(i.enterTransition),o.transitionToExit=eo(i.exitTransition),o.replayAppearBehavior=!i.playsOnce;break;case"OTHER_LAYER_IN_VIEW":o.hasAppearScrollIntoViewBehavior=!0,o.initial="initial",o.variants.initial=bn(i.enterState,t),o.variants.exit=bn(i.exitState??i.enterState,t),o.appearBehaviorOtherLayer=ot(i.otherLayer),o.transitionToVisible=eo(i.enterTransition),o.transitionToExit=eo(i.exitTransition),o.replayAppearBehavior=!i.playsOnce;break;case"SCROLL_DIRECTION":o.hasAppearScrollDirectionBehavior=!0,o.variants.scrollDirection=bn(i.enterState,t),o.transitionBasedOnScrollDirection=eo(i.enterTransition),o.replayAppearBehavior=!i.playsOnce;break;default:xe(u)}break}case yt.ScrollTransform:{let l=i;if(!l||n?.[yt.ScrollTransform])break;
8744a=l.fromState.opacity!==l.toState.opacity;let u=l.trigger;switch(u){case"PAGE_HEIGHT":o.hasScrollTransformOnScrollBehavior=!0,o.initial="initial",o.variants.initial=bn(i.fromState,t),o.variants.exit=bn(i.toState,t),o.scrollTransformTransition=eo(i.transition);break;case"THIS_LAYER_IN_VIEW":o.hasScrollTransformIntoViewBehavior=!0,o.initial="initial",o.variants.initial=bn(i.fromState,t),o.variants.exit=bn(i.toState,t),o.scrollTransformTransition=eo(i.transition),o.replayScrollTransformBehavior=!i.playsOnce;break;case"OTHER_LAYER_IN_VIEW":o.hasScrollTransformIntoViewBehavior=!0,o.initial="initial",o.variants.initial=bn(i.fromState,t),o.variants.exit=bn(i.toState,t),o.scrollTransformTransition=eo(i.transition),o.scrollTransformOtherLayer=ot(i.otherLayer),o.replayScrollTransformBehavior=!i.playsOnce;break;default:xe(u)}break}case yt.Hover:o.hasHoverBehavior=!n?.[yt.Hover],o.variants.hover=bn(i.state,t),o.transitionToAndFromHover=eo(i.transition);break;case yt.Press:o.hasPressBehavior=!n?.[yt.Press],o.variants.press=bn(i.state,t),o.transitionToAndFromPress=eo(i.transition);break;case yt.Focus:o.hasFocusBehavior=!n?.[yt.Focus],o.variants.focus=bn(i.state,t),o.transitionToAndFromFocus=eo(i.transition);break;case yt.ScrollParallax:o.hasScrollSpeedBehavior=!n?.[yt.ScrollParallax],o.scrollParallaxSpeed=i.speed;break;case yt.Cursor:o.hasCursorBehavior=!n?.[yt.Cursor],o.cursorBehaviorInfo={cursorGuid:ot(i.cursorGuid),cursorImage:r,cursorHotspot:{x:i.hotspotX,y:i.hotspotY}};break;case yt.Marquee:break;case yt.Code:break;default:xe(s)}a&&o.scrollTransformTransition&&(o.scrollTransformTransition.repeatDelay=1)}return o.key=JSON.stringify(o),o}function $j(e){return Array.isArray(e)?ke.fromNumbers(e[0][0],e[0][1],e[0][2],e[1][0],e[1][1],e[1][2]):typeof e=="object"?ke.fromNumbers(e.m00,e.m01,e.m02,e.m10,e.m11,e.m12):ke.identity()}function eo(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:Qo.IN_BACK_CUBIC,duration:e.transitionDuration,delay:e.delay};case"OUT_BACK_CUBIC":return{ease:Qo.OUT_BACK_CUBIC,duration:e.transitionDuration,delay:e.delay};case"INOUT_BACK_CUBIC":return{ease:Qo.INOUT_BACK_CUBIC,duration:e.transitionDuration,delay:e.delay};case"CUSTOM_CUBIC":return{ease:e.easingFunction,duration:e.transitionDuration,delay:e.delay};case"GENTLE_SPRING":case"SPRING_PRESET_ONE":case"SPRING_PRESET_TWO":case"SPRING_PRESET_THREE":return{type:"spring",stiffness:Qo[e.easingType][1],damping:Qo[e.easingType][2],mass:Qo[e.easingType][0],delay:e.delay};case"CUSTOM_SPRING":{let t=e.easingFunction??Qo.GENTLE_SPRING;return{type:"spring",stiffness:t[1],damping:t[2],mass:t[0],delay:e.delay}}default:return e.easingType,`${e.easingType}`,{ease:"easeOut",duration:e.transitionDuration}}}var Zj=(...e)=>fe().env==="server"?()=>{}:(0,nr.useLayoutEffect)(...e);function to(e,t,n,r,o){let i=fe(),{disableBehaviors:s}=i.renderOptions,a=Ns(r,Ue),l=(0,nr.useRef)(null),u=(0,nr.useRef)(null),{key:c,hasBehaviors:d,variants:f,initial:p,appearBehaviorOtherLayer:_,scrollTransformOtherLayer:T,hasAppearLoadBehavior:h,hasAppearScrollIntoViewBehavior:m,hasAppearScrollDirectionBehavior:E,hasHoverBehavior:O,hasPressBehavior:g,hasScrollTransformOnScrollBehavior:I,hasScrollTransformIntoViewBehavior:S,hasScrollSpeedBehavior:A,hasCursorBehavior:R,transitionToVisible:y,transitionToExit:b,transitionToAndFromHover:L,transitionToAndFromPress:D,transitionBasedOnScrollDirection:F,scrollParallaxSpeed:U,replayAppearBehavior:N,replayScrollTransformBehavior:K,scrollTransformTransition:C}=(0,nr.useMemo)(()=>{let Le=Object.entries(s?{}:t??{}).map(([De,ae])=>({...ae,behaviorType:De})).filter(De=>De.behaviorType!=="code"),We=YA(Le,a,o);return nD(i,We),We},[s,t,a,o,i]),M=I||S,P=(0,nr.useMemo)(()=>M?{fromState:f[be.INITIAL],toState:f[be.EXIT]}:null,[M,f]),z=(0,nr.useCallback)(()=>Jj({domElement:l.current,hasBehaviors:d,variants:f,hasAppearLoadBehavior:h,hasAppearScrollIntoViewBehavior:m,hasAppearScrollDirectionBehavior:E,hasHoverBehavior:O,hasPressBehavior:g,hasScrollTransformBehavior:M,hasScrollTransformOnScrollBehavior:I,hasScrollTransformIntoViewBehavior:S,hasScrollSpeedBehavior:A,scrollTransformState:P,transitionToVisible:y,transitionToExit:b,transitionToAndFromHover:L,transitionToAndFromPress:D,transitionBasedOnScrollDirection:F,scrollTransformTransition:C,appearBehaviorOtherLayer:_,scrollTransformOtherLayer:T,replayAppearBehavior:N,replayScrollTransformBehavior:K,scrollParallaxSpeed:U}),[d,f,h,m,E,O,g,M,I,S,A,P,y,b,L,D,F,C,_,T,N,K,U]),Ee=(0,nr.useCallback)(ye=>{l.current&&u.current?.(),l.current=ye,u.current=z?.(),ye?_R(e,ye):TR(e)},[e,z]),pe=(0,nr.useRef)(e);return Zj(()=>{l.current&&_R(e,l.current),pe.current!==e&&(TR(pe.current),pe.current=e)},[l,e]),tv({ref:l,hasCursorBehavior:R,assets:n,behaviors:t}),(0,nr.useEffect)(()=>
8744{if(!(!l.current||!d))return u.current=z(),()=>u.current?.()},[z,d]),d?{ref:Ee,key:c,motionProps:{initial:p,variants:f}}:{ref:Ee,key:c,motionProps:{}}}function Jj(e){let{domElement:t,hasBehaviors:n,variants:r,hasAppearLoadBehavior:o,hasAppearScrollIntoViewBehavior:i,hasAppearScrollDirectionBehavior:s,hasHoverBehavior:a,hasPressBehavior:l,hasScrollTransformBehavior:u,hasScrollTransformOnScrollBehavior:c,hasScrollTransformIntoViewBehavior:d,hasScrollSpeedBehavior:f,scrollTransformState:p,transitionToVisible:_,transitionToExit:T,transitionToAndFromHover:h,transitionToAndFromPress:m,transitionBasedOnScrollDirection:E,scrollTransformTransition:O,appearBehaviorOtherLayer:g,scrollTransformOtherLayer:I,replayAppearBehavior:S,replayScrollTransformBehavior:A,scrollParallaxSpeed:R}=e;if(!t||!n)return()=>{};let y=!1,b=[()=>{y=!0}];if(o&&tr(t,r[be.VISIBLE],_),i){let L=D=>{let F=!1,U;function N(){y||!t||!F||U||(U=tr(t,r[be.VISIBLE],_).then(()=>{U=void 0,K()}),S||C())}function K(){y||!t||F||U||(U=tr(t,r[be.EXIT]??r[be.VISIBLE],T).then(()=>{U=void 0,tr(t,r[be.INITIAL]??r[be.VISIBLE],{duration:0}),N()}))}let C=VA(D,()=>(F=!0,N(),()=>{F=!1,K()}));b.push(C)};g?O_(g).then(D=>{y||L(D)}):t&&L(t)}if(s){let L=gp(D=>{let F=D.y.velocity;F>0?(tr(t,r[be.SCROLL_DIRECTION]??r[be.VISIBLE],E),S||L()):F<0&&tr(t,r[be.VISIBLE],E)},{container:hR()});b.push(L)}if(a){let L=F=>{F.pointerType!=="touch"&&tr(t,r[be.HOVER]??r[be.VISIBLE],h)},D=F=>{F.pointerType!=="touch"&&tr(t,r[be.VISIBLE],h)};t.addEventListener("pointerenter",L),t.addEventListener("pointerleave",D),b.push(()=>{t.removeEventListener("pointerenter",L),t.removeEventListener("pointerleave",D)})}if(l){let L=()=>{tr(t,r[be.PRESS]??r[be.VISIBLE],m),window.addEventListener("pointerup",D),window.addEventListener("pointercancel",D)},D=()=>{tr(t,r[be.VISIBLE],m),window.removeEventListener("pointerup",D),window.removeEventListener("pointercancel",D)};t.addEventListener("pointerdown",L),t.addEventListener("pointerup",D),t.addEventListener("pointercancel",D),b.push(()=>{t.removeEventListener("pointerdown",L),t.removeEventListener("pointerup",D),t.removeEventListener("pointercancel",D),window.removeEventListener("pointerup",D),window.removeEventListener("pointercancel",D)})}if(u){let L=D=>{let F=!1,U=gp(N=>{if(F)return;let K=0;if(c)K=N.y.scrollLength>0?N.y.current/N.y.scrollLength:1;else if(d){let De=N.y.current+N.y.containerLength,ae=N.y.targetOffset,Oe=N.y.targetLength,oe=(De-ae)/Oe;K=Math.min(1,Math.max(0,oe))}let{fromState:C,toState:M}=p,P=qs(K,[0,1],[C.opacity,M.opacity]),z=qs(K,[0,1],[C.scaleX,M.scaleX]),Ee=qs(K,[0,1],[C.scaleY,M.scaleY]),pe=qs(K,[0,1],[C.translateX,M.translateX]),ye=qs(K,[0,1],[C.translateY,M.translateY]),Le=qs(K,[0,1],[C.rotate,M.rotate]);K===1&&!A&&(F=!0);let We=()=>{tr(t,{opacity:P,scaleX:z,scaleY:Ee,translateX:pe,translateY:ye,rotate:Le},O)};ue.postRender(We)},{container:gR(D),target:D});b.push(U)};I?O_(I).then(D=>{y||L(D)}):t&&L(t)}if(f){let L=gp(D=>{if(R!==1){let F=D.y.current*(1-R);tr(t,{y:F},{duration:0})}},{container:gR(t),target:t});b.push(L)}return()=>{b.forEach(L=>L())}}var $w=v(W());function ei(...e){return(0,$w.useMemo)(()=>t=>{e.forEach(n=>{if(n!=null){if(typeof n=="function"){n(t);return}try{n.current=t}catch{throw new te(`Cannot assign value '${JSON.stringify(t)}' to ref '${JSON.stringify(n)}'`)}}})},e)}var Zw=v(W());function qj(){return()=>{}}function ta(){return Zw.useSyncExternalStore(qj,()=>!0,()=>!1)}function rr(){let e=!ta(),t=fe();return Wu(t.renderOptions)||e}var Jw=v(W());function rd(){return Jw.default.useRef(0)}function Qj({node:e,src:t,motionKey:n,websiteContext:r}){let o=na.useRef(null),i=e.accessibleLabel||"",{disableInlineSvgGeneration:s}
8744=r.renderOptions,a=!s&&e.type==="SVG"&&e.isDynamic,l=qw.get(e.hash),u=na.useCallback(c=>{if(o.current){o.current.replaceChildren(c.cloneNode(!0));let d=o.current.querySelector("svg");d&&(i?(d.setAttribute("aria-label",i),d.setAttribute("role","img")):d.setAttribute("role","presentation"))}},[i]);return na.useEffect(()=>{if(!a)return;if(l&&o.current){u(l);return}if(!t)return;let c=new AbortController,d=async()=>{try{let p=await fetch(t,{signal:c.signal});f(await p.text())}catch(p){if(console.error("Error loading SVG",p),p.name!=="AbortError")throw new ht("Error loading SVG",p)}},f=p=>{if(p==="")return;if(!p){console.warn("No SVG URL provided for",e.id);return}let _=new DOMParser().parseFromString(p,"image/svg+xml"),T=_.querySelector("svg"),h=_.querySelector("parsererror");if(!T||h){console.error("Unable to load SVG",h);return}qw.set(e.hash,T),u(T)};return d(),()=>{c.abort()}},[t,e.hash,l,e.id,e.type,a,n,u]),o}var qw=new Map,Qw=na.forwardRef(function({node:t,parent:n,interactionHandlers:r,context:o,zIndex:i,transitionProps:s,codeBehaviorProps:a,websiteContext:l},u){let c=rd(),d=rr(),f=(0,KA.useRef)(null),p=(0,KA.useRef)(null),_=s?.smartAnimateType??ee.NONE,{nodeCanAnimateRotation:T,layoutStyles:h,opacity:m,asset:E,src:O}=Aw({node:t,parent:n,context:o,zIndex:i,smartAnimateType:_,previousRotation:c,precomputeTransforms:d,websiteContext:l}),g={opacity:m,transform:zr(h.outer.transform)},I=Zr(t,o),{motionProps:S,key:A,ref:R}=to(t.id,t.behaviors,t.assets,g,I),y=ei(u,R),b=Qj({node:t,src:O,motionKey:A,websiteContext:l});return Ne(Nw({node:t,parent:n,interactionHandlers:r,context:o,transitionProps:s,codeBehaviorProps:a,websiteContext:l,layerData:{nodeCanAnimateRotation:T,layoutStyles:h,opacity:m,asset:E,src:O},hookState:{behaviorProps:S,key:A,behaviorsRef:R,mergedRef:y,outerRef:f,codeBehaviorWrapperRef:p,previousRotation:c,svgContainerRef:b,ref:u}}),l)});var od=v(W());function eB({node:e,smartAnimateType:t,nodeHasStrokes:n,transitionData:r,borderStyles:o,strokeColorKeyframeProps:i}){let s=on(r),{motionTransitionProps:a,cssStyles:l}=Ku(t,1,o??{},void 0,r,n?s:void 0),u=Ai(t,r,o?.transform),c=e.id,d=i?.colorAnimate?.borderColor!==void 0,f=t!==ee.NONE||d,p={...a,...u},_=d?hh(p,"borderColor",i.colorInitial.borderColor,i.colorAnimate.borderColor,i.colorTransition.borderColor):p;return ne({Tag:f?er.div:"div",key:"border",nodeId:c,idSuffix:"border",styleSet:l,attributes:{"aria-hidden":!0,...f?_:{}}})}function tB(e){let{children:t,parentTransitionProps:n,onTransitionEnd:r,websiteContext:o}=e;if(!((n?.smartAnimateType??ee.NONE)===ee.INSTANCE_SUBTREE))return t;let a=uD(n?.transitionData,r);return o.sitesRenderers.renderAnimatePresence({...a,children:t?.map(l=>Ne(l,o))})}var e7=e=>{let t=e.layoutMode;if(e.type!=="FRAME"||!(t==="HORIZONTAL"||t==="VERTICAL"))return;let n;e.primaryAxisAlignItems==="MAX"?n="flex-end":["CENTER","SPACE_EVENLY_LEGACY"].includes(e.primaryAxisAlignItems)&&(n="center");let r;if(e.counterAxisAlignItems==="MAX"?r="flex-end":e.counterAxisAlignItems==="CENTER"&&(r="center"),!(!n&&!r))return{display:"flex",flexDirection:t==="VERTICAL"?"column":"row",alignItems:r,justifyContent:n}};function nB({node:e,children:t,style:n,innerTag:r="div"}){let{overflow:o,overflowX:i,overflowY:s,borderRadius:a,...l}=n,u={overflow:o,overflowX:i,overflowY:s,...e7(e)},c=Object.values(u).some(m=>m!==void 0),d=ne({Tag:r,key:"clipper",nodeId:e.id,idSuffix:"al-clipper-inner",styleSet:l,children:t});if(!c)return d;let{minWidth:f,minHeight:p,maxWidth:_,maxHeight:T}=n,h=o!==void 0||i!==void 0||s!==void 0;return ne({Tag:"div",key:"clipper",nodeId:e.id,idSuffix:"al-clipper-outer",styleSet:{...u,borderRadius:h?a:void 0,width:"100%",height:"100%",minWidth:f,minHeight:p,maxWidth:_,maxHeight:T},children:d})}function rB({node:e,style:t,children:n,innerTag:r="div"}){return ne({Tag:r,key:"clipper",nodeId:e.id,idSuffix:"clipper",styleSet:t,children:n})}var oB=(e,t,n,r,o)=>{if(!It(e))return!1;let i=!!t,s=i&&It(t),a=i&&jr(t),l=e.paddingLeft+e.paddingRight;if(l>0){let c=Mt(e,t,n,o,r);switch(c){case re.FILL_PARENT:if(s&&!a)return!0;break;case re.HUG_CONTENTS:break;case re.FIXED:if(l>e.size.x)return!0;break;default:xe(c)}}let u=e.paddingTop+e.paddingBottom;if(u>0){let c=un(e,t,n,o,r);switch(c){case re.FILL_PARENT:if(s&&!a)return!0;break;case re.HUG_CONTENTS:break;case re.FIXED:if(u>e.size.y)return!0;break;default:xe(c)}}return!1};var t7={width:"100%",height:"100%",position:"relative"};function iB(e){let{parent:t,needsAutolayoutClipper:n,needsClipper:r,websiteContext:o,children:i,listTag:s,styles:{clipperStyles:a,innerStyles:l,overflowStyles:u,borderDisplacement:c,wrapperSizeStyles:d,marqueeSizeStyles:f}}=e,p=Mn(t,o.renderOptions),_=It(t),T={...d,...f,...u},h={};_&&(typeof t.minWidth=="number"&&(h.minWidth="inherit"),typeof t.minHeight=="number"&&(h.minHeight="inherit"),typeof t.maxWidth=="number"&&(h.maxWidth="inherit"),typeof t.maxHeight=="number"&&(h.maxHeight="inherit")),r&&(T={...T,...a});let m;if(n||r){let O=Object.values(u).some(I=>I!==void 0)?"inherit":void 0,g={node:t,innerTag:s,style:{...h,...a,...l,...u,...c,...p?d:t7,borderRadius:O},websiteContext:o,children:i};m=n?nB(g):rB(g)}else m=i;return p?o.sitesRenderers.renderMarquee({node:t,style:T,websiteContext:o,children:m}):m}function zA(e,t){return ES(e,t?.inheritedEffects).some(n=>n.type==="INNER_SHADOW")}
8744function sB({node:e,parent:t,context:n,alwaysRenderBorderStyles:r,websiteContext:o}){if(!zA(e,n))return null;let i=$r(e)||r?HE(e,t):void 0,s={position:"absolute",inset:0,borderRadius:"inherit",pointerEvents:"none",...TS(e,ES(e,n?.inheritedEffects),o.renderOptions),...i};return ne({Tag:"div",key:"innerShadow",nodeId:e.id,idSuffix:"shadow",styleSet:s})}function vh({children:e,context:t,parent:n,renderOptions:r,reverseZIndex:o=!1,codeBehaviorProps:i,renderFigmaLayer:s,websiteContext:a}){let l=n7({children:e,context:B_(r,t,n.absoluteBoundingBox),parent:n});return l.length?l.map(([u,{key:c,context:d}],f)=>s({name:"sites-layer",nodeId:u.id,childKey:c,node:u,parent:n,context:d,zIndex:o?l.length-f:void 0,codeBehaviorProps:i,websiteContext:a})):null}function n7({children:e,context:t,parent:n}){let r={...t},o=t?.masks||[];e.sort((a,l)=>zf(a,n)&&!zf(l,n)?-1:0);let i=[];for(let a of e)"isMask"in a&&a.visible&&a.isMask?r={...r,masks:[...o,a]}:i.push([a,{key:a.key,context:r}]);if(!t?.negativeItemSpacing)return i;let s=0;for(let a=i.length-1;a>=0;a--){let[l]=i[a];if(l.layoutPositioning!=="ABSOLUTE"&&l.visible){s=a;break}}return i.map(([a,l],u)=>a.layoutPositioning==="ABSOLUTE"||u===s?[a,{...l,context:{...l.context,negativeItemSpacing:void 0}}]:[a,l])}var XA="data-breakpoint",jA="data-breakpoint-id",r7="data-width",o7="data-height";function i7(e,t){let n=e.getAssetURL;if(!t||!n)return;let r="filter0";return`${n(t).split("#")[0]}#${r}`}var s7=(e,t,n,r,o,i,s,a,l,u)=>{let{minimizeAutoLayoutWrappers:c,dontUseChildDivForBorderStyles:d,useFigmaComponents:f}=u,p=f&&e.type==="FRAME"&&(e.originalType==="COMPONENT"||e.originalType==="INSTANCE"),_=t&&It(t),T=It(e),h=$r(e)||a,m=jr(e),E=_&&jr(t),O=h&&(sv(e)||T&&!m||T&&m&&!e.strokesIncludedInLayout||_&&!E),g=e.effects&&e.effects.some(L=>L.type==="BACKGROUND_BLUR")&&e.effects.some(L=>L.type==="LAYER_BLUR"),I=r.length>1||r.some(L=>L.needsBackgroundDiv)||i||g||zA(e,l),S;d?S=!1:S=h&&(p||O||I);let A=r.length>0&&I,R;c?R=!1:R=T&&(p||oB(e,t,n,l,u));let y=n.length>0&&(S&&o||R||Za(t)||i||s);return{needsBackgroundDiv:A,needsBorderDiv:S,needsClipper:y,needsAutolayoutClipper:T&&(R||s)}};function aB(e){let{node:t,parent:n,children:r,context:o,zIndex:i,smartAnimateType:s,previousRotation:a,precomputeTransforms:l,renderOptions:u}=e,{shouldOutputVariables:c,codeSyntaxLanguage:d}=u,f=b1(t,n,r,u,o),p=Wo(s,t.maybeAnimateRotation),_=Xn({node:t,parent:n,context:o,zIndex:i,children:r,itemSpacing:f,codeSyntaxLanguage:d,options:{canAnimate:p,previousRotation:a,shouldOutputVariables:c,precomputeTransforms:l},renderOptions:u}),T=cn(o,t);return{itemSpacing:f,nodeCanAnimateRotation:p,layoutStyles:_,opacity:T}}function lB(e){let{node:t,parent:n,children:r,context:o,interactionHandlers:i,transitionProps:s,ref:a,websiteContext:l,previousRotation:u,outerRef:c,codeBehaviorWrapperRef:d,smartAnimateType:f,itemSpacing:p,nodeCanAnimateRotation:_,layoutStyles:T,opacity:h,codeBehaviorProps:m,behaviorProps:E,behaviorKey:O,parentRefObject:g,combinedRef:I,mergedRef:S,renderFigmaLayer:A}=e,{renderOptions:R}=l,{useFigmaClipContentsForOverflow:y,rootNodeStyle:b,shouldOutputVariables:L,codeSyntaxLanguage:D}=R,F=$n({node:t,context:o,websiteContext:l}),U=CE(t.fills,t.assets,{width:t.size.x,height:t.size.y},{isDecorativeImage:t.isDecorativeImage??!1,hasChildren:r.length>0},l),N=s?.transitionData,K=on(N),C=t.interactions??[],M=Fo(C),P=po(C),z=Mn(t,l.renderOptions),Ee=U.some(no=>no.imageProps),pe=U.some(no=>no.videoProps),ye=Ko(t,Ee||pe||z),Le=i7(l,t.effectSvgFileName),We={...Gn(h,L,t.boundVariables?.opacity?.resolvedName,D&&t.boundVariables?.opacity?.resolvedCodeSyntax?.[D]),...Ni(t)},De=t.scrollBehavior==="FIXED"||t.scrollBehavior==="STICKY_SCROLLS",ae=f===ee.INSTANCE_SUBTREE,Oe=o?.withinInteractiveElement||Object.keys(E).length>0||ae,oe=Gs(t,P,M,Oe,z),ft=gr(C,i,Oe,l),et=V_(oe),he=et!==null,Ge=r?.every(no=>no.layoutAlign==="STRETCH")??!0,Ye=t.type==="RECTANGLE"||"clipsContent"in t&&t.clipsContent,ce=ae,{needsBackgroundDiv:tt,needsBorderDiv:pn,needsClipper:Ft,needsAutolayoutClipper:Cr}=s7(t,n,r,U,Ye,ae,z,ce,o,R),sr=a7(t,tt,pn,l),Yi={group:void 0,isInStickyOrFixedTree:De||(o?.isInStickyOrFixedTree??!1),negativeItemSpacing:p&&p<0?p:void 0,withinInteractiveElement:o?.withinInteractiveElement||P||M,parentIsList:he,allChildrenAreFillWidth:Ge,borderDisplacement:pn?void 0:UE(t),constrainingFrameSize:{
8744width:t.size.x,height:t.size.y},inheritedEffects:bf(t,o?.inheritedEffects)},Pr={"data-name":Jr(l,t)};o?.dataAttributes&&Object.entries(o.dataAttributes).forEach(([no,bV])=>{Pr[no]=bV});let ca=$r(t),Dr=av(t,n),{clipperStyles:Ki,containerStyles:zi,borderStyles:vr,sharedBackgroundStyles:Xi}=L1(t,n,We,ce,Le,pn,R),Lp=jn({node:t,parent:n,children:r,renderOptions:R}),Cp=C1({node:t,parent:n,context:o,children:r,renderOptions:R}),ni=r?.length?fc(t,n,o,l):{};n||(b==="component"?ni={overflow:Ye?"clip":void 0}:y?ni={overflow:Ye&&(zi.borderRadius||zi.borderTopLeftRadius||zi.borderTopRightRadius||zi.borderBottomLeftRadius||zi.borderBottomRightRadius)?"clip":void 0}:b==="independent"?ni={overflow:Ye?"clip":void 0}:o?.renderedByCode||l.withBaseStyles&&(Pr["data-page-overflowx"]=ni.overflowX,ni={overflow:"clip"}));let Hl=vr?eB({node:t,smartAnimateType:f,nodeHasStrokes:ca,transitionData:N,borderStyles:vr,strokeColorKeyframeProps:sr?.strokeColorKeyframeProps??null}):null,Pp=_w({node:t,parent:n,children:r,sharedBackgroundStyles:{...Xi,...Dr},backgroundInfo:U,smartAnimateType:f,transitionData:N,context:Yi,fillColorKeyframeProps:sr?.fillColorKeyframeProps??null,websiteContext:l});tt||(T.outer.mixBlendMode||=U[0]?.backgroundStyles?.mixBlendMode);let{mixBlendMode:uO,...Ed}=U[0]?.backgroundStyles??{},Wl=Ft||Cr,da={...zi,...Wl?{}:T.inner,...T.stickyWrapper?xR:{},...Wl?{}:Ki,...Wl?{}:ni,...!tt&&l.withBaseStyles?{...Xi,...Ed}:{},...Qr({node:t,parent:n,transitionProps:s,renderOptions:R,maskStyles:F}),...T.transform3d,...o?.style||{}};ft.onClick&&T.stickyWrapper&&da.display===void 0&&(da.display="block");let cO=t.type==="FRAME"&&t.isBreakpointFrame,Dp=vh({children:r,context:Yi,parent:t,renderOptions:R,reverseZIndex:t.type!=="RECTANGLE"&&"itemReverseZIndex"in t&&!!t.itemReverseZIndex,codeBehaviorProps:{parentRef:g},renderFigmaLayer:A,websiteContext:l}),zN=iB({parent:t,needsAutolayoutClipper:Cr,needsClipper:Ft,websiteContext:l,listTag:Ft&&he?et:void 0,styles:{clipperStyles:Ki,innerStyles:T.inner,overflowStyles:ni,borderDisplacement:Dr,wrapperSizeStyles:Lp,marqueeSizeStyles:Cp},children:tB({parentTransitionProps:t.transitionProps,onTransitionEnd:K,children:Dp,websiteContext:l})});if(cO&&(Pr[jA]=fo(t.id),Pr[XA]="true",Pr[r7]=t.size.x,Pr[o7]=t.size.y,l.isFigmake))return zN;if(n&&(Ft||pn)){let no=y1(t,n);no&&(T.outer.flex=no)}let vp=wn({node:t,parent:n,context:o,transitionProps:s,outerStyles:T.outer,wrapperSizeStyles:Lp,stickyWrapperStyles:T.stickyWrapper,transformChildWrapperStyles:T.transform,renderOptions:R,maskStyles:F}),AV=sr?.strippedProps,XN=Sl({keyframeMotionPropsOverride:AV,node:t,context:o,renderOptions:R,smartAnimateType:f,wrappersToRender:vp}),NV=mr({children:[tt?Pp:null,Ye?null:Hl,zN,sB({node:t,parent:n,context:o,alwaysRenderBorderStyles:ce,websiteContext:l}),Ye?Hl:null]}),yV=Ao({semanticTagInfo:{semanticTag:Ft&&he?"div":oe.semanticTag,interactiveSemanticTag:z&&oe.interactiveSemanticTag==="ul"?null:oe.interactiveSemanticTag},key:O,context:o,styles:da,ref:_?I:S,nodeId:vp.motionLayerContent.nodeId,attributes:{...ft,...Pr,...ye},node:t,keyframeMotionPropsOverride:XN.childKeyframeMotionPropsOverride,wrappers:vp.motionLayerContent,websiteContext:l,transitionProps:{opacity:h,smartAnimateType:f,behaviorProps:E,transitionData:N,onTransitionEnd:K},children:NV});return yr({node:t,parent:n,context:o,transitionProps:s,codeBehaviorProps:m,layerRef:a,outerRef:c,codeBehaviorWrapperRef:d,previousRotation:u,wrappersToRender:vp,websiteContext:l,keyframeMotionPropsOverride:XN.wrapperKeyframeMotionPropsOverride,children:yV})}function a7(e,t,n,r){if(!t&&!n)return null;let o=e.keyframeData;if(!o)return null;let i=Li(o);if(!i)return null;let s=ho(r),a=s?ol(i,s.ease()):i,l=t&&(a.colorAnimate.background!==void 0||a.colorInitial.background!==void 0),u=n&&(a.colorAnimate.borderColor!==void 0||a.colorInitial.borderColor!==void 0);if(!l&&!u)return null;let c=l?{colorInitial:{background:a.colorInitial.background},colorAnimate:{background:a.colorAnimate.background},colorTransition:{background:a.colorTransition.background}}:null,d=u?{colorInitial:{borderColor:a.colorInitial.borderColor},colorAnimate:{borderColor:a.colorAnimate.borderColor},colorTransition:{borderColor:a.colorTransition.borderColor}}:null,f={...i.colorInitial},p={...i.colorAnimate},_={...i.colorTransition};l&&(delete f.background,delete p.background,delete _.background),u&&(delete f.borderColor,delete p.borderColor,delete _.borderColor);let T={...i,colorInitial:f,colorAnimate:p,colorTransition:_};return{fillColorKeyframeProps:c,strokeColorKeyframeProps:d,strippedProps:T}}var xh=(0,od.forwardRef)(function({node:t,parent:n,children:r,context:o,zIndex:i,interactionHandlers:s,transitionProps:a,codeBehaviorProps:l,websiteContext:u},c){let{renderOptions:d}=u,f=rd(),p=rr(),_=(0,od.useRef)(null),T=(0,od.useRef)(null),h=a?.smartAnimateType??ee.NONE,{itemSpacing:m,nodeCanAnimateRotation:E,layoutStyles:O,opacity:g}=aB({node:t,parent:n,children:r,context:o,zIndex:i,smartAnimateType:h,previousRotation:f,precomputeTransforms:p,renderOptions:d}),I=Zr(t,o),{motionProps:S,key:A,ref:R}=to(t.id,t.behaviors,t.assets,{opacity:g,transform:zr(O.outer.transform)},I),y=(0,od.useRef)(null),b=ei(R,y),L=ei(c,b);return Ne(lB({node:t,parent:n,children:r,context:o,interactionHandlers:s,transitionProps:a,ref:c,websiteContext:u,previousRotation:f,outerRef:_,codeBehaviorWrapperRef:T,smartAnimateType:h,itemSpacing:m,nodeCanAnimateRotation:E,layoutStyles:O,opacity:g,codeBehaviorProps:l,behaviorProps:S,behaviorKey:A,parentRefObject:y,combinedRef:b,mergedRef:L,renderFigmaLayer:id}),u)});var ut=v(_e()),CB=v(W()),Vi=v(W());var l7={TOP:"flex-start",BOTTOM:"flex-end",CENTER:"center"},u7={NONE:"none",UNDERLINE:"underline",STRIKETHROUGH:"line-through"},c7={ORIGINAL:"none",SMALL_CAPS:"none",SMALL_CAPS_FORCED:"none",UPPER:"uppercase",LOWER:"lowercase",TITLE:"capitalize"},d7={ORIGINAL:"normal",SMALL_CAPS:"small-caps",SMALL_CAPS_FORCED:"all-small-caps",UPPER:"normal",LOWER:"normal",TITLE:"normal"},f7={SUPER:"0.55em",SUB:"-0.25em",NORMAL:void 0};function bl(e,t,n,r,o){let{shouldOutputVariables:i,codeSyntaxLanguage:s,optimizeForTailwindConversion:a,disableFontFallbacks:l}=o.renderOptions,{fallbackFonts:u,fontFamily:c,fontVariations:d,fontSize:f,fontStyle:p,textCase:_,opentypeFlags:T,letterSpacingUnit:h,letterSpacingValue:m}=e.style,E={};if(c){let g=`${c}:${p}`,I=p7(g,u??[],l);if(i){let D="boundVariables"in e?e.boundVariables:null,F=le(s&&D?.fontFamily?.[0]?.resolvedCodeSyntax?.[s],D?.fontFamily?.[0]?.resolvedName,I);E.fontFamily=F??I}else E.fontFamily=I;E.wordBreak="break-word";let S=n.get(g),A=u?.map(D=>n.get(`${D.fontFamily}:${D.fontStyle}`)).filter(D=>D?.variationAxes?.length)??[],R=!!S?.variationAxes?.length,y=!l&&A.length>0,b=R||A.length>0,L=S?.variationAxes??A[0]?.variationAxes??[];if(b){let D=[...L,{name:"OpticalSize",value:void 0,tag:"opsz"}].filter(F=>d?.[F.name]!==void 0||F.value!==void 0).filter(F=>F.tag==="wght"?!R&&y?!0:(E.fontWeight=d?.[F.name]??F.value,!1):F.tag==="slnt"?F.value===0?(E.fontStyle="normal",!1):d&&F.name in d:!0);D.length>0?E.fontVariationSettings=D.map(F=>{let U=d?.[F.name]??F.value;return`"${F.tag}" ${U}`}).join(", "):a||(E.fontVariationSettings="normal"),S?.italic&&(E.fontStyle="italic")}else E.fontStyle=S?.italic?"italic":"normal"}let O=e.style.fills||"fills"in e&&e.fills||null;if(O?.length===0&&(E.color="transparent",a||(E.WebkitTextFillColor="transparent")),O){let g=O.filter(S=>S.visible!==!1&&S.type==="SOLID"),I=O.filter(S=>S.visible!==!1&&S.type!=="SOLID");if(g.length>0){let S=Df(g.map(A=>
8744new Dt(A.color,o.renderOptions,A.opacity,Vt,A.boundVariables?.color?.resolvedName,s&&A.boundVariables?.color?.resolvedCodeSyntax?.[s])),o.renderOptions);E.color=S.value,a||(E.WebkitTextFillColor=S.value)}if(I.length){let S=CE(O,t,r,{isDecorativeImage:!1,disableImageTag:!0},o)[0]?.backgroundStyles;S&&Object.keys(S).length&&(E.color="transparent",E.backgroundClip="text",a||(E.WebkitBackgroundClip="text",E.WebkitTextFillColor="transparent"),Object.assign(E,S))}}if(_){let g=c7[_]||"none";g!=="none"&&(E.textTransform=g);let I=d7[_]||"normal";I!=="normal"&&(E.fontVariantCaps=I)}if(T&&(E.fontFeatureSettings=Object.entries(T).map(([g,I])=>`"${g.toLowerCase()}" ${I}`).join(", ")),f&&(E.fontSize=e.style.responsiveTextStyleVariants?.length&&!a?`var(--responsive-font-size,${x(f)}px)`:`${x(f)}px`),h&&m!==void 0){let g=h==="PIXELS"?`${x(m,4)}px`:`${x(m/100*(f??16),4)}px`;E.letterSpacing=e.style.responsiveTextStyleVariants?.length&&!a?`var(--responsive-letter-spacing,${g})`:g}if(!a&&e.style.responsiveTextStyleVariants?.length){let g=e.style.responsiveTextStyleVariants.sort((I,S)=>I.minWidth-S.minWidth);E.media=Object.fromEntries(g.map(I=>{let S=bl({...e,style:I.style},t,n,r,o),A={};if(I.style.fontSize!==void 0&&(A["--responsive-font-size"]=`${x(I.style.fontSize)}px`),I.style.letterSpacing!==void 0){let U=I.style.letterSpacingUnit==="PIXELS"?`${x(I.style.letterSpacing,4)}px`:`${x(I.style.letterSpacing/100*(I.style.fontSize??16),4)}px`;A["--responsive-letter-spacing"]=U}let R=yl(I,o.renderOptions);R&&(A["--responsive-line-height"]=R);let{fontSize:y,letterSpacing:b,lineHeight:L,...D}=S,F={...D,...A};return[`(min-width: ${I.minWidth}px)`,F]}))}if(i){let g="boundVariables"in e?e.boundVariables:null;E.fontStyle&&(E.fontStyle=le(s&&g?.fontStyle?.[0]?.resolvedCodeSyntax?.[s],g?.fontStyle?.[0]?.resolvedName,E.fontStyle)??E.fontStyle),E.fontWeight&&(E.fontWeight=le(s&&g?.fontWeight?.[0]?.resolvedCodeSyntax?.[s],g?.fontWeight?.[0]?.resolvedName,E.fontWeight)??E.fontWeight),E.fontSize&&(E.fontSize=le(s&&g?.fontSize?.[0]?.resolvedCodeSyntax?.[s],g?.fontSize?.[0]?.resolvedName,E.fontSize)??E.fontSize),E.letterSpacing&&(E.letterSpacing=le(s&&g?.letterSpacing?.[0]?.resolvedCodeSyntax?.[s],g?.letterSpacing?.[0]?.resolvedName,E.letterSpacing)??E.letterSpacing)}return E}function uB(e,t,n){let r={};return e.textAlignHorizontal&&e.textAlignHorizontal!=="LEFT"?r.textAlign=e.textAlignHorizontal==="JUSTIFIED"?"justify":e.textAlignHorizontal?.toLowerCase():(e.accessibleHTMLTag==="BUTTON"||n?.withinInteractiveElement||n?.hasButton)&&(!e.textAlignHorizontal||e.textAlignHorizontal==="LEFT")&&(r.textAlign="left"),e.textAlignVertical!=="TOP"&&(r.display="flex",r.flexDirection="column",r.justifyContent=l7[e.textAlignVertical||"TOP"]),t.leadingTrim==="CAP_HEIGHT"&&(r.textBoxTrim="trim-both",r.textBoxEdge="cap alphabetic"),r}function $A(e,t,n,r){return bl(t,e.assets,n,{width:e.size.x,height:e.size.y},r)}function ZA(e,t,n,r,o){let{renderOptions:i}=o,{codeSyntaxLanguage:s}=i,a=bl(n,e.assets,r,{width:e.size.x,height:e.size.y},o);function l(h){return n.style[h]??t.style[h]??e.style[h]}let u=l("textDecoration"),c=l("textDecorationThicknessUnit"),d=l("textDecorationThicknessValue");if(u&&u!==TP.NONE&&d!==0){a.textDecorationLine=n.characters.length>0?u7[u]:void 0;let h=l("textDecorationSkipInk"),m=l("textUnderlineOffsetUnit"),E=l("textUnderlineOffsetValue"),O=l("textDecorationStyle"),g=l("textDecorationFills");if(h!==void 0&&(a.textDecorationSkipInk=h?void 0:"none"),E!==void 0?a.textUnderlineOffset=`${E}${m==="PIXELS"?"px":"%"}`:a.textUnderlinePosition="from-font",d!==void 0?a.textDecorationThickness=`${d}${c==="PIXELS"?"px":"%"}`:a.textDecorationThickness="from-font",O!==void 0&&(a.textDecorationStyle=O),g!==void 0){let I=Df(g.filter(S=>S.type==="SOLID").map(S=>new Dt(S.color,i,S.opacity,Vt,S.boundVariables?.color?.resolvedName,s&&S.boundVariables?.color?.resolvedCodeSyntax?.[s])),i);a.textDecorationColor=I.value}}let f=n.style.fontVariantPosition??t.style.fontVariantPosition??e.style.fontVariantPosition;if(f&&(a.verticalAlign=f7[f],f!=="NORMAL")){let h=l("fontSize");a.fontSize=`${(h||0)*.645}px`}let p=yl(n,i),_=p??yl(t,i)??yl(e,i)??"normal",T=p?n.style.responsiveTextStyleVariants:e.style.responsiveTextStyleVariants;return a.lineHeight=JA({responsiveTextStyleVariants:T,defaultLineHeight:_,renderOptions:i}),(n.style.hyperlink||t.style.hyperlink||e.style.hyperlink)&&(a.cursor="pointer"),a}var cB=(e,t)=>{if(!(e==="NONE"||e==="UNORDERED"))return t===2||t===5?"lower-alpha":t===3?"lower-roman":"decimal"},JA=({responsiveTextStyleVariants:e,defaultLineHeight:t,renderOptions:n})=>{let{optimizeForTailwindConversion:r}=n;return e?.some(i=>yl(i,n))&&!r?`var(--responsive-line-height,${t})`:t},yl=(e,t)=>{let{shouldOutputVariables:n,codeSyntaxLanguage:r}=t,o=e.style.lineHeightUnit==="INTRINSIC_%"?e.style.lineHeightPercent===void 0||e.style.lineHeightPercent===100?void 0:`${e.style.lineHeightPercent}%`:e.style.lineHeightUnit==="FONT_SIZE_%"?`${x((e.style.lineHeightPercentFontSize??100)/100)}`:e.style.lineHeightUnit==="PIXELS"&&e.style.lineHeightPx!==void 0?`${x(e.style.lineHeightPx)}px`:void 0;if(n&&o){let i="boundVariables"in e?e.boundVariables:null;return le(r&&i?.lineHeight?.[0]?.resolvedCodeSyntax?.[r],i?.lineHeight?.[0]?.resolvedName,o)??o}return o},qA=e=>e.textAutoResize==="WIDTH_AND_HEIGHT"||e.style.textTruncation==="ENDING"&&e.style.maxLines===1;function p7(e,t,n=!1){return n?`"${e}"`:[`"${e}"`,...t.map(r=>`"${r.fontFamily}:${r.fontStyle}
8744"`),"sans-serif"].join(",")}function dB(e){if(typeof Intl<"u"&&Intl.Segmenter)try{let t=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(t.segment(e),n=>n.segment)}catch{return Array.from(e)}return Array.from(e)}function Mh(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}var fB=/(\s+)/;function pB(e,t){let{characterStyleOverrides:n,characters:r,lineIndentations:o,lineStyleOverrides:i,lineTextDirections:s,listStartOffsets:a,lineTypes:l,styleOverrideTable:u,lineStartsWithPunctuation:c,resolvedParagraphValues:d}=e;if(typeof r!="string"){let O=new ht("TextNode.characters is not a string");O.errorDetail=JSON.stringify({type:typeof r,value:r,nodeId:e.id,nodeName:e.name}),Me.reportError(O),console.error("TextNode.characters is not a string:",{type:typeof r,value:r,nodeId:e.id,nodeName:e.name})}let p=(typeof r=="string"?r:"").replace(/\r/g," ").split(` 8745`),_=e.style.maxLines;_&&(p=p.slice(0,_));let T=0,h=0,m=e.style.fontSize;return p.map((O,g)=>{let I=i[g]?u[i[g]]||{}:{},S=0,A=0,R=(e.renderTextWordHook?O.split(fB):e.renderTextCharacterHook?dB(O):e.renderTextLineHook?[O]:Array.from(O)).reduce((L,D)=>{let F=T+S,U=Array.from(D);if(e.renderTextWordHook||e.renderTextLineHook){let N=U.map((M,P)=>n[F+P]),K=N.every(M=>M===N[0]),C={};if(e.renderTextWordHook){if(D.length===0)return L;fB.test(D)||(C.wordIndex=A,A++),K||(C.originalWord=D)}K?L.push({characters:D,override:N[0],renderHookMetadata:C}):U.forEach((M,P)=>{L.push({characters:M,override:N[P],renderHookMetadata:C})})}else if(e.renderTextCharacterHook)L.push({characters:D,override:n[F],renderHookMetadata:{globalCharacterIndex:h}});else{let N=n[F],K=L[L.length-1];K&&K.override===N?K.characters+=D:L.push({characters:D,override:N})}return S+=U.length,h++,L},[]).map(L=>{let D=L.override?u[L.override]??{}:{};t.fontSize||(D.fontSize=D.fontSize??m);let F=e.style.responsiveTextStyleVariants;if(!D.responsiveTextStyleVariants){let N=F?.filter(K=>K.style.fontSize).map(K=>({...K,style:{fontSize:K.style.fontSize}}));N?.length&&(D.responsiveTextStyleVariants=N)}let U={characters:L.characters,style:D};return L.renderHookMetadata&&(U.renderHookMetadata=L.renderHookMetadata),U});T+=O.length;let y=n[T]&&u[n[T]]||{};T+=1,R.length===0&&R.push(m7(l[g]&&l[g]!==Da.NONE?m:y.fontSize??m));let b=d?.[g];return{spans:R,style:b?{...I,...b}:I,direction:s?.[g],indentation:o[g]||0,startOffset:a[g]??void 0,listOptions:{type:l[g]||Da.NONE},startsWithPunctuation:!!c?.[g]}})}function m7(e){return{characters:"",style:{fontSize:e}}}function QA(e,t,n){if(t&&!n)return"a";switch(e.accessibleHTMLTag){case"H1":return"h1";case"H2":return"h2";case"H3":return"h3";case"H4":return"h4";case"H5":return"h5";case"H6":return"h6";case"DIV":return"div";case"P":case"AUTO":default:return"p"}}function mB(e,t,n){return e?n?"div":"a":t?n?"div":"button":"div"}function Gh({children:e}){return e}function E7(e){return e.length>0&&e.every(t=>typeof t!="string"||t==="")}function _B(e,t,n){if(!e.characters.length)return{elements:["\u200B"]};if(n&&TB.test(e.characters)){let r=h7(e.characters,n),o=EB(r,t);return{elements:o,dropWrapper:E7(o)}}return{elements:EB([e.characters],t)}}var eN=/[\u2028\u2029]/,EB=(e,t)=>e.flatMap(n=>typeof n!="string"?[n]:n.split(eN).flatMap((r,o,i)=>o<i.length-1||t&&r===""?[r,ne({Tag:"br",key:"br"+o,attributes:{"aria-hidden":!0}})]:[r])),TB=/[\u{E000}-\u{F8FF}\u{F0000}-\u{10FFFD}]/u,_7=/([\u{E000}-\u{F8FF}]|[\u{F0000}-\u{10FFFD}])/u;function T7(e,t){let n=String(e.codePointAt(0));for(let r of t.groups){let o=r.codepointToName[n];if(o!==void 0)return{tagName:r.tagName,body:r.bodyTemplate.replace("{{name}}",o)}}}function h7(e,t){if(!TB.test(e))return[e];let n=new Map;return e.split(_7).reduce((r,o,i)=>{if(!o)return r;if(i%2===0)r.push(o);else{n.has(o)||n.set(o,T7(o,t));let s=n.get(o);s?r.push(ne({Tag:s.tagName,children:[aP(s.body)]})):r.push(o)}return r},[])}var tN=Da.NONE,O7="sp",g7="p",hB="s",I7="ws",S7=e=>e===void 0?void 0:`${e}px`;function gB(e){if(e)return"children"in e||e.block.listOptions&&e.block.listOptions.type!=="NONE"?"list":"paragraph"}function R7(e,t,n,r,o,i){return t.map((s,a)=>mr({key:a,children:RB({blockKey:a,tree:s,node:e,context:n,nextBlockType:gB(t[a+1]),props:r,websiteContext:o,outerStyles:i})}))}function IB(e){let{node:t,parent:n,context:r,zIndex:o,smartAnimateType:i,previousRotation:s,precomputeTransforms:a,renderOptions:l}=e,{shouldOutputVariables:u,codeSyntaxLanguage:c}=l,d=Wo(i,t.maybeAnimateRotation),f=Xn({node:t,parent:n,context:r,zIndex:o,children:[],codeSyntaxLanguage:c,options:{canAnimate:d,previousRotation:s,shouldOutputVariables:u,precomputeTransforms:a},renderOptions:l}),p=cn(r,t);return{nodeCanAnimateRotation:d,layoutStyles:f,opacity:p}}function SB(e){let{node:t,parent:n,context:r,interactionHandlers:o,transitionProps:i,codeBehaviorProps:s,ref:a,websiteContext:l,previousRotation:u,outerRef:c,codeBehaviorWrapperRef:d,smartAnimateType:f,canSmartAnimateInstance:p,nodeCanAnimateRotation:_,layoutStyles:T,opacity:h,behaviorProps:m,behaviorKey:E,behaviorsRef:O,mergedRef:g}=e,I=l.websiteData.fonts,S=l.renderOptions,{shouldOutputVariables:A,codeSyntaxLanguage:R,optimizeForTailwindConversion:y}=S,b=$n({node:t,context:r,websiteContext:l}),L=bl(t,t.assets,I,{width:t.size.x,height:t.size.y},l),D=t.interactions??[],F=Fo(D),U=po(D)||t.style.hyperlink!=null,N=Ko(t),K=td(t,S),C=xs(t,n,r)||_,M=jn({node:t,parent:n,children:null,renderOptions:S}),P=i?.transitionData,z=on(P),Ee={fontSize:Object.values(t.styleOverrideTable).find(he=>he.fontSize)?void 0:x(t.style.fontSize)},pe={...T.inner,...Gn(h,A,t.boundVariables?.opacity?.resolvedName,R&&t.boundVariables?.opacity?.resolvedCodeSyntax?.[R]),...Ni(t),...RD(Rs(t,!1),S),...L,...uB(t,t.style,{withinInteractiveElement:r?.
8745withinInteractiveElement,hasButton:F}),...b,...T.transform3d,...r?.style||{},fontSize:Ee.fontSize?L.fontSize:0,lineHeight:0};if(y||(pe["--letter-spacing"]=pe.letterSpacing??0),t.style.textTruncation==="ENDING"){let he=t.style.maxLines;he&&he>1&&(y||(pe.display="-webkit-box",pe.WebkitLineClamp=he,pe.WebkitBoxOrient="vertical"),pe.height&&(pe.maxHeight=pe.height,pe.height=void 0)),pe.overflow="hidden",pe.textOverflow="ellipsis"}qA(t)&&(pe.whiteSpace="nowrap");let ye=r?.withinInteractiveElement||Object.keys(m).length>0||f===ee.INSTANCE_SUBTREE,Le=gr(D,o,ye,l),We={semanticTag:mB(U,F,ye)},De=yB(t.style.hyperlink,ye,l),ae=l.renderOptions.optimizeForTailwindConversion?void 0:"textContents",Oe=Mn(t,l.renderOptions),oe=wn({node:t,parent:n,context:r,transitionProps:i,outerStyles:T.outer,wrapperSizeStyles:M,stickyWrapperStyles:T.stickyWrapper,transformChildWrapperStyles:T.transform,renderOptions:S}),ft=he=>{let Ge=he;if(he.renderTextHook){let ca=he.renderTextHook.renderText({characters:he.characters,length:Mh(he.characters),TextComponent:Dr=>(Dr.characters&&(he={...he,characters:Dr.characters}),null)});ca?.props?.characters&&(Ge={...he,characters:ca.props.characters})}let Ye=A7(pB(Ge,Ee),Ee),ce=p||Ye.length>1||U||F||t.textAlignVertical!=="TOP"||Oe||t.style.hangingList||K||r?.parentIsList,tt=_?O:g,pn={...N,...Le},Ft={nodeId:oe.motionLayerContent.nodeId,additionalClassName:ae,styles:pe,ref:tt,attributes:pn},Cr=ce?void 0:oe.motionLayerContent.outerStyles,sr=R7(he,Ye,r,ce?void 0:Ft,l,Cr),Yi=Oe?l.sitesRenderers.renderMarquee:Gh,md=C?Nh:Gh,Pr=ce?Ao:Gh;return md({ref:_||p||K?a:null,context:r,node:t,parent:n,childWrapperStyles:{...T.transform},transitionData:P,canAnimate:_,smartAnimateType:f,previousRotation:u,transformRef:c,codeBehaviorWrapperRef:d,outerStyles:oe.transformWrapper.outerStyles,tag:oe.transformWrapper.tag,nodeId:oe.transformWrapper.nodeId,idSuffix:oe.transformWrapper.idSuffix,websiteContext:l,children:Sh(oe.customEffectWrapper,mr({key:E,children:Pr({semanticTagInfo:{interactiveSemanticTag:null,semanticTag:We.semanticTag},...Ft,context:r,node:t,wrappers:oe.motionLayerContent,websiteContext:l,transitionProps:{opacity:h,smartAnimateType:f,behaviorProps:m,transitionData:P,onTransitionEnd:z},attributes:{...pn,...De,...r?.dataAttributes},children:Yi({node:he,websiteContext:l,children:sr})})}),t,l.renderOptions)})},et=K?l.sitesRenderers.renderCodeBehaviorWrapper({codeBehaviors:t.behaviors.code,ref:d,outerStyles:oe.codeBehaviorWrapper.outerStyles,tag:oe.codeBehaviorWrapper.tag,websiteContext:l,children:l.sitesRenderers.renderRenderHooksConsumer({node:t,renderNode:he=>Ne(ft(he),l),codeBehaviorProps:{...s,transformRef:c}})}):ft(t);return mp({nodeId:oe.stickyWrapper.nodeId,idSuffix:oe.stickyWrapper.idSuffix,stickyWrapperStyles:T.stickyWrapper,tag:oe.stickyWrapper.tag,children:et})}function A7(e,t){let n={children:[],type:tN,lineStyleType:void 0};t&&(n.style=t);let r=[n];for(let o of e){let i={block:o,style:t},s=o.listOptions?.type||tN;if(s!=="NONE"){let a=o.indentation+1;for(;r.length>a||r.length===a&&r[r.length-1].type!=="NONE"&&r[r.length-1].type!==s;)r.pop();for(;r.length<a;){let l=a-r.length===1?o.startOffset:void 0,u={children:[],lineStyleType:cB(s,r.length),type:s,start:l,style:{...o.style,...t}};r[r.length-1].children.push(u),r.push(u)}}else r=[n];r[r.length-1].children.push(i)}return n.children}function RB({nextBlockType:e,tree:t,node:n,context:r,blockKey:o,props:i,websiteContext:s,outerStyles:a}){if("children"in t)return b7({listNode:t,node:n,props:i,nextBlockType:e,websiteContext:s,outerStyles:a,children:t.children.map((f,p)=>mr({key:p,children:RB({blockKey:p,tree:f,node:n,context:r,nextBlockType:gB(t.children[p+1]),websiteContext:s,outerStyles:void 0})}))});let{block:l}=t,u;if(n.renderTextWordHook){let f=N7(l.spans);u=[];for(let p of f){if(p.length===0)continue;let _=p[0]?.renderHookMetadata?.wordIndex;if(_==null)for(let T of p)u.push(nN({spanKey:u.length,span:T,block:l,node:n,context:r,blockKey:o,websiteContext:s}));else u.push(OB({substringKey:u.length,spans:p,node:n,block:l,context:r,blockKey:o,wordIndex:_,websiteContext:s}))}}else n.renderTextLineHook?u=[OB({substringKey:0,spans:l.spans,node:n,block:l,context:r,blockKey:o,websiteContext:s})]:u=l.spans.map((f,p)=>nN({spanKey:p,span:f,block:l,node:n,context:r,spanIndex:p,blockKey:o,websiteContext:s}));if((l.listOptions?.type||tN)!=="NONE")return L7({node:n,block:l,commonFontSize:t.style?.fontSize,nextBlockType:e,websiteContext:s,children:u});let d=e===void 0;return u.length===1&&!n.renderTextCharacterHook&&!n.renderTextWordHook&&!n.renderTextLineHook&&!n.renderTextHook?y7({node:n,context:r,block:l,isLastBlock:d,props:i,websiteContext:s,outerStyles:a}):C7({node:n,block:l,children:u,props:i,isLastBlock:d,websiteContext:s,outerStyles:a})}function N7(e){let t=[];for(let n of e){let r=t[t.length-1];if(!r){t.push([n]);continue}r[0]?.renderHookMetadata?.wordIndex===n.renderHookMetadata?.wordIndex?r.push(n):t.push([n])}return t}var rN=(e,t)=>e===void 0?t:t===void 0?e:e.add(t);function y7({node:e,context:t,block:n,isLastBlock:r,props:o,websiteContext:i,outerStyles:s}){n.spans.length;let{style:a,props:l}=NB({node:e,block:n,isLastBlock:r,websiteContext:i}),u=!!e.style.hyperlink,c=!!t?.withinInteractiveElement||u,{style:d,className:f,children:p,attributes:_,isHyperlink:T,dropWrapper:h}=iN({node:e,withinInteractiveElement:c,block:n,span:n.spans[0],websiteContext:i});if(h)return mr({children:p});let{additionalClassName:m,styles:E,attributes:O,...g}=o??{},I={display:"block",...s,...E,...a,...d,marginBottom:rN(s?.marginBottom,a.marginBottom)},S=QA(e,T,c);return ne({Tag:S,key:O7,styleSet:[I,f,m],attributes:{...O,...l,..._},...g,children:p})}function b7({listNode:e,node:t,children:n,nextBlockType:r,props:o,websiteContext:i,outerStyles:s}){let a=e.children.find(g=>"block"in g)?.block,l=a?.spans[0],u=i.websiteData.fonts,c=e.type===Da.ORDERED,d=i.renderOptions,{disableTextMarkerVariables:f}=d,p=a&&l?ZA(t,a,l,u,i):{},_=f?{}:{"--list-marker-background-clip":p.backgroundClip??"initial","--list-marker-color":p.color??"initial","--list-marker-font-size":p.fontSize??"initial","--list-marker-line-height":p.lineHeight??"initial","--list-marker-text-fill-color":p.WebkitTextFillColor??"initial","--list-marker-vertical-align":p.verticalAlign??"initial"},{additionalClassName:T,styles:h,attributes:m,...E}=o??{},O={...s,...h,..._,listStyleType:c?e.lineStyleType:void 0,marginLeft:t.style.hangingList?"-1.5em":void 0,marginBottom:rN(s?.marginBottom,oN(t,void 0,r,d))};return ne({Tag:c?"ol":"ul",styleSet:[O,T],attributes:{...m,...c?{start:e.start}:{}},...E,children:n})}var oN=(e,t,n,r)=>{let{shouldOutputVariables:o,codeSyntaxLanguage:i}=r;if(n==="paragraph"){let s=t?.style.paragraphSpacing!==void 0?t.style.paragraphSpacing:e.style.paragraphSpacing;return o?cE(i&&e.boundVariables?.paragraphSpacing?.[0]?.resolvedCodeSyntax?.[i],e.boundVariables?.paragraphSpacing?.[0]?.resolvedName,`${s}px`)??Y.px(s):Y.px(s)}if(n==="list")return t?.style.listSpacing!==void 0?Y.px(t.style.listSpacing):Y.px(e.style.listSpacing)};function AB(e){switch(e){case"BALANCE":return"balance";case"PRETTY":return"pretty";default:return}}var kh=1.5;function L7({children:e,node:t,block:n,commonFontSize:r,nextBlockType:o,websiteContext:i}){let s=i.websiteData.fonts,{renderOptions:a}=i,{optimizeForTailwindConversion:l}=a,u=t.style.textAlignHorizontal==="LEFT"||t.style.textAlignHorizontal==="JUSTIFIED",c=$A(t,n,s,i),d=t.behaviors?.code?.length||n.spans.some(_=>_.characters.match(/\s{2,}/)),f=l&&n.listOptions?.type===Da.UNORDERED?"disc":void 0,p={whiteSpace:d?"pre-wrap":void 0,...c,listStylePosition:u?void 0:"inside",marginInlineStart:r?S7(kh*n.indentation*r):Y.var("--list-marker-font-size",0).multiply(kh).multiply(n.indentation).toStyleValue({forTailwind:l}),marginBottom:oN(t,n,o,a),"--letter-spacing":l?void 0:0,listStyleType:f,textWrap:AB(n.style.textWrapStyle)};return ne({Tag:"li",styleSet:p,children:e})}function C7({node:e,block:t,children:n,isLastBlock:r,props:o,websiteContext:i,outerStyles:s}){let{additionalClassName:a,styles:l,attributes:u,...c}=o??{},{style:d,props:f}=NB({node:e,block:t,isLastBlock:r,websiteContext:i}),p={...s,...l,...d,marginBottom:rN(s?.marginBottom,d.marginBottom)},_=QA(e,!1,!1);return ne({Tag:_,key:g7,styleSet:[p,a],attributes:{...u,...f},...c,children:n})}function NB({node:e,block:t,isLastBlock:n,websiteContext:r}){let o=r.websiteData.fonts,i=r.renderOptions,{shouldOutputVariables:s,codeSyntaxLanguage:a}=i,l=$A(e,t,o,r),u={lineHeight:0,...l,marginBottom:oN(e,t,n?void 0:"paragraph",i),textWrap:AB(t.style.textWrapStyle)},c=t.style.paragraphIndent??e.paragraphIndent;c&&(u.textIndent=c,s&&u.textIndent&&(u.textIndent=le(a&&e.boundVariables?.paragraphIndent?.[0]?.resolvedCodeSyntax?.[a],e.boundVariables?.paragraphIndent?.[0]?.resolvedName,isNaN(Number(u.textIndent))?u.textIndent:`${u.textIndent}px`)??u.textIndent));let d=l.fontSize??x(e.style.fontSize);return e.style.hangingPunctuation&&t.startsWithPunctuation&&(i.optimizeForTailwindConversion?u.textIndent=`calc(1px * (${c??0}px-0.45*${d}
8745px))`:u.textIndent=`calc(${c??0}px - 0.45 * ${d}px)`),e.style.textTruncation==="ENDING"&&(e.style.maxLines===1&&(u.overflow="hidden",u.textOverflow="ellipsis"),u.fontSize=d),(e.characters.match(/\s{2,}/)||e.behaviors?.code?.length)&&(u.whiteSpace=qA(e)?"pre":"pre-wrap"),{style:u,props:{dir:t.direction}}}function nN({node:e,context:t,block:n,span:r,spanIndex:o=0,blockKey:i,spanKey:s,websiteContext:a}){let l=!!e.style.hyperlink,u=!!t?.withinInteractiveElement||l,{style:c,className:d,children:f,attributes:p,isHyperlink:_}=iN({node:e,withinInteractiveElement:u,block:n,span:r,websiteContext:a}),T=[c,d],h=r.renderHookMetadata?.globalCharacterIndex,m;if(!e.renderTextCharacterHook)m=f;else{let O=e.renderTextCharacterHook.renderTextCharacter({character:r.characters,index:o,globalIndex:h??0,columnIndex:o,lineNumber:i,characters:e.characters,TextCharacterComponent:g=>g.character&&eN.test(g.character)?a.renderElement({Tag:"br"}):a.renderElement({Tag:"span",children:g.character??r.characters})});m=[O!=null?Ot(O):r.characters]}let E=ne({Tag:"span",key:`${hB}-${s}`,styleSet:T,attributes:p,children:m});return _&&!u?ne({Tag:"a",key:`${hB}-${s}`,styleSet:T,attributes:p,children:E}):E}function OB(e){return mr({key:`${I7}-${e.substringKey}`,children:P7(e)})}function P7({node:e,spans:t,block:n,context:r,blockKey:o,wordIndex:i=0,websiteContext:s}){let a=!!e.style.hyperlink,l=!!r?.withinInteractiveElement||a,{style:u,className:c,attributes:d}=iN({node:e,withinInteractiveElement:l,block:n,span:t[0],websiteContext:s}),f=t.map((E,O)=>nN({spanKey:O,span:E,block:n,node:e,context:r,blockKey:o,websiteContext:s})),p=null,_=e.renderTextWordHook;if(_!=null){let E=t[0]?.renderHookMetadata?.originalWord??t[0]?.characters??"";p=_.renderTextWord({word:E,index:i,characters:e.characters,length:Mh(E),TextWordComponent:O=>
8745O.word==null||O.word===E?s.renderFragment({children:f.map(g=>Ne(g,s))}):s.renderElement({Tag:"span",children:O.word})})}let T=null,h=e.renderTextLineHook;if(h!=null){let E=t.map(O=>O.characters).join("");T=h.renderTextLine({line:E,index:o,characters:e.characters,length:Mh(E),TextLineComponent:O=>O.line==null||O.line===E?s.renderFragment({children:f.map(g=>Ne(g,s))}):s.renderElement({Tag:"span",children:O.line})})}let m=p!=null?[Ot(p)]:T!=null?[Ot(T)]:f;return ne({Tag:"span",styleSet:[u,c],attributes:d,children:m})}function iN({node:e,withinInteractiveElement:t,block:n,span:r,websiteContext:o}){let i=o.websiteData.fonts,s=o.renderOptions,{disableAdjustLetterSpacing:a}=s,l=ZA(e,n,r,i,o),u=r===n.spans[n.spans.length-1],c=u&&D7(r,e.style),d=!a&&u&&c&&e.layoutAlign!=="STRETCH"&&e.layoutGrow!==1?"adjustLetterSpacing":void 0,{elements:f,dropWrapper:p}=_B(r,u,o.renderOptions.textCodepointSubstitution),_=r.style.hyperlink??n.style.hyperlink;if(_){let h=yB(_,t,o);return{isHyperlink:!0,dropWrapper:p,style:l,className:d,children:f,attributes:h}}return{isHyperlink:!1,dropWrapper:p,style:l,className:d,children:f}}function D7(e,t){return Boolean(e?.style.letterSpacing||t.letterSpacing)}function yB(e,t,n){if(!e||!e.type)return{};if(e.type==="NODE"&&e.nodeID)return hf(s=>{s.preventDefault(),s.stopPropagation(),I_(e.nodeID,n)},e.type,e.nodeID,!1,t,n);let r=!!e.openInNewTab;return hf(i=>{i.preventDefault(),i.stopPropagation(),window.open(e.url,r?"_blank":"_self")},e.type,e.url,r,t,n)}var bB=v(W());function Fh(e,t,n){return Ae((0,bB.useMemo)(()=>de(e),t),n)}var LB=v(W());function v7(e,t){if(t){e.stack+=` 8746 8747React stack:`+t.componentStack;let n=new Error("React component stack where the error occurred");n.stack=t.componentStack,e.cause=n}}var ra=class extends LB.default.Component{state={hasError:!1,error:null,errorInfo:null};componentDidCatch(t,n){this.setState({error:t,errorInfo:n}),v7(t,n),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}};Po(ra,"contextType",Lf);var oa=ra;var x7={fontFamily:'"Inter:Regular"',fontSize:"11px",fontWeight:"400",lineHeight:"1.5"},M7=16,PB={cursor:"pointer",textDecorationLine:"underline"},Ll=(0,Vi.createContext)({getRichTextBlockStyle:e=>({}),getRichTextSpanStyle:(e,t)=>({})});function Cl(e){let t={};return(e.format||e.format!=="")&&(t.textAlign=e.format),e.direction&&(t.direction=e.direction),t}function DB(e){switch(e.tag){case"h1":return"HEADING1";case"h2":return"HEADING2";case"h3":return"HEADING3";case"h4":return"HEADING4";case"h5":return"HEADING5";case"h6":return"HEADING6";default:xe(e.tag)}}function G7({lexicalNode:e,parentStyleClass:t,websiteContext:n}){let{getRichTextSpanStyle:r}=(0,Vi.useContext)(Ll),o={...r(t??"PARAGRAPH",e),whiteSpace:"pre-wrap"};return n.renderElement({Tag:"span",styleSet:o,children:e.text})}function k7({lexicalNode:e,children:t,websiteContext:n}){let{getRichTextBlockStyle:r}=(0,Vi.useContext)(Ll),o={...Cl(e),...r(DB(e))};switch(e.tag){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return n.renderElement({Tag:e.tag,styleSet:o,children:t});default:xe(e.tag)}}function F7({lexicalNode:e,children:t,websiteContext:n}){let{getRichTextBlockStyle:r}=(0,Vi.useContext)(Ll),o={...Cl(e),...r("PARAGRAPH")};return n.renderElement({Tag:"p",styleSet:o,children:e.children.length===0?(0,ut.jsx)("br",{}):t})}function w7({lexicalNode:e,children:t,websiteContext:n}){let{getRichTextBlockStyle:r}=(0,Vi.useContext)(Ll),o={...Cl(e),...r("PARAGRAPH")};return n.renderElement({Tag:"blockquote",styleSet:o,children:(0,ut.jsx)("p",{children:t})})}function B7({lexicalNode:e,children:t,websiteContext:n}){let r={...Cl(e),...PB},o=e.url,i=e.target??"",s=n.env;if(s){let a=e.target==="_blank",l=Tf(e.url,a,s);o=l.url,i=l.target}return n.renderElement({Tag:"a",styleSet:r,attributes:{href:o,rel:e.rel??"",target:i,title:e.title??""},children:t})}
8747function U7(e,t,n){return e?t&&n?`${e}/${n}`:e:null}function V7({lexicalNode:e,children:t,websiteContext:n}){let r={...Cl(e),...PB},o=e.cmsTarget?.cmsItemId,i=o?n.cmsBundleData?.slugByItemId.get(o):void 0,s=n.websiteData.guidToUrl.get(e.nodeId);if(o&&!n.cmsBundleData)return(0,ut.jsx)(ut.Fragment,{children:t});let a=U7(s,o,i);if(!a)return(0,ut.jsx)(ut.Fragment,{children:t});let l=n.env,u=()=>{n.preloadLocation(a)},c=l==="preview"?{role:"link",tabIndex:0,onClick:d=>{d.preventDefault(),n.setLocation({url:a})},onMouseDown:u}:{href:a,target:"_self",onMouseDown:u};return n.renderElement({Tag:"a",styleSet:r,attributes:c,children:t})}function H7({lexicalNode:e,websiteContext:t}){let{getAssetURL:n,websiteData:{assets:r}}=t,o={maxWidth:"100%",display:"inline-block"};e.isFillWidth&&(o.width="100%");let i="",s=Fh(a=>{let l=r.get(e.hash);return l?a(l):null},[e.hash]);return s?.url&&(i=n(s.url)),t.renderElement({Tag:"img",styleSet:o,attributes:{src:i,alt:e.altText,loading:"lazy"}})}function W7({lexicalNode:e,children:t,websiteContext:n}){let{getRichTextBlockStyle:r}=(0,Vi.useContext)(Ll),o=r("PARAGRAPH"),i=Number(o.fontSize?.toString().replace("px","")),s=isNaN(i)?M7:i,a={...Cl(e),listStyleType:e.listType==="number"?"decimal":"disc",...o,marginLeft:s*kh};return n.renderElement({Tag:e.tag,styleSet:a,attributes:e.tag==="ol"?{start:e.start}:void 0,children:t})}function Y7({lexicalNode:e,children:t,parentListType:n,websiteContext:r}){let{getRichTextBlockStyle:o}=(0,Vi.useContext)(Ll),s=["decimal","lower-alpha","lower-roman","decimal","lower-alpha"][e.indent]??"decimal",a={...Cl(e),...o("PARAGRAPH"),listStyleType:n==="number"?s:"disc"};return r.renderElement({Tag:"li",styleSet:a,children:t})}function vB({lexicalNode:e,parentStyleClass:t,parentLexicalNode:n,websiteContext:r}){let o=e.type;if(!t)switch(o){case"heading":t=DB(e);break;case"paragraph":t="PARAGRAPH";break}let i="children"in e?e.children.map((s,a)=>(0,ut.jsx)(vB,{lexicalNode:s,parentStyleClass:t,parentLexicalNode:e,websiteContext:r},a)):[];switch(o){case"root":return(0,ut.jsx)("div",{className:"root",children:i});case"heading":return(0,ut.jsx)(k7,{lexicalNode:e,websiteContext:r,children:i});case"paragraph":return(0,ut.jsx)(F7,{lexicalNode:e,websiteContext:r,children:i});case"linebreak":return(0,ut.jsx)("br",{});case"text":return(0,ut.jsx)(G7,{lexicalNode:e,parentStyleClass:t,websiteContext:r});case"link":return(0,ut.jsx)(B7,{lexicalNode:e,websiteContext:r,children:i});case"internal-link":return(0,ut.jsx)(V7,{lexicalNode:e,websiteContext:r,children:i});case"image":return(0,ut.jsx)(H7,{lexicalNode:e,websiteContext:r});case"quote":return(0,ut.jsx)(w7,{lexicalNode:e,websiteContext:r,children:i});case"list":return(0,ut.jsx)(W7,{lexicalNode:e,websiteContext:r,children:i});case"listitem":{let s="bullet";return n&&n.type==="list"&&(s=n.listType==="number"?"number":"bullet"),e.children.length===1&&e.children[0].type==="list"?(0,ut.jsx)(ut.Fragment,{children:i}):(0,ut.jsx)(Y7,{lexicalNode:e,parentListType:s,websiteContext:r,children:i})}default:return console.warn(`Unsupported Lexical node type in CMS_RICH_TEXT: ${o}`),null}}function K7({node:e,websiteContext:t}){let{renderOptions:n,websiteData:r}=t,o=r.fonts,i=(c,d)=>o.get(`${c.style.fontFamily}:${d}`)?d:c.style.fontStyle,s=c=>c?bl(c,void 0,o,{width:0,height:0},t):{},a=c=>{if(!t)return null;let d=e.cmsRichTextStyleMap;if(!d)return console.warn("cmsRichTextStyleMap not found"),null;let f=t.websiteData.assetIdToGuid,p=t.websiteData.nodeById,_=d[c];if(_){let T=_.textStyleId,h=f.get(T);if(h){let m=p.get(h);if(m&&m.style){let E=Ri(m.style);return E.fills=e.fills,{spans:[],indentation:0,startOffset:0,style:E,startsWithPunctuation:!1}}}}return null};return{getRichTextBlockStyle:c=>{let d=a(c);if(d){let f=s(d),p=yl({style:d.style},n)||"normal";return f.lineHeight=JA({responsiveTextStyleVariants:d.style.responsiveTextStyleVariants,defaultLineHeight:p,renderOptions:n}),f}return x7},getRichTextSpanStyle:(c,d)=>{let f=a(c),p={},_=null,T=1,h=1<<1,m=1<<2,E=1<<3;return d.format&T&&(p.fontWeight="bold",_="Bold"),d.format&h&&(p.fontStyle="italic",_=_==="Bold"?"Bold Italic":"Italic"),d.format&m&&(p.textDecorationLine="line-through"),d.format&E&&(p.textDecorationLine="underline"),f&&_&&(f.
8747style.fontStyle=i(f,_)),{...s(f),...p}}}}function z7(e,t,n,r,o,i){let s=e.interactions??[],a=Ko(e),l=CB.useMemo(()=>({opacity:cn(t,e),transform:zr(n.outer.transform)}),[t,e,n.outer.transform]),u=Zr(e,t),{motionProps:c,key:d,ref:f}=to(e.id,e.behaviors,e.assets,l,u),p=gr(s,r,!0,i),_=o?.smartAnimateType??ee.NONE,T=cn(t,e),h=o?.transitionData,m=on(h);return{accessibilityProps:a,behaviorProps:c,interactionProps:p,behaviorsRef:f,key:d,transitionProps:{opacity:T,smartAnimateType:_,behaviorProps:c,transitionData:h,onTransitionEnd:m}}}function xB({node:e,parent:t,context:n,zIndex:r,interactionHandlers:o,transitionProps:i,websiteContext:s}){let{renderOptions:a}=s,{getRichTextBlockStyle:l,getRichTextSpanStyle:u}=K7({node:e,websiteContext:s}),c=rr(),d=Xn({node:e,parent:t,context:n,zIndex:r,children:[],options:{isFlattened:!0,precomputeTransforms:c},renderOptions:a}),f=$n({node:e,context:n,websiteContext:s}),p=jn({node:e,parent:t,children:null,renderOptions:a}),_={width:p.width,height:p.height},{accessibilityProps:T,interactionProps:h,behaviorsRef:m,key:E,transitionProps:O}=z7(e,n,d,o,i,s),g={..._,...d.inner,mixBlendMode:Xu(e.blendMode),...Gn(cn(n,e)),...fc(e,t,n,s),...Qr({node:e,parent:t,transitionProps:O,renderOptions:s.renderOptions,maskStyles:f}),...d.transform3d,...n?.style||{}},I=Jr(s,e);if(!e.richText||!s)return null;let S=eD(JSON.parse(e.richText)),A=wn({node:e,parent:t,context:n,transitionProps:O,outerStyles:d.outer,wrapperSizeStyles:p,stickyWrapperStyles:d.stickyWrapper,transformChildWrapperStyles:d.transform,renderOptions:s.renderOptions,maskStyles:f});return(0,ut.jsx)(oa,{name:"cms-rich-text",nodeId:e.id,children:Ne(yr({node:e,parent:t,context:n,transitionProps:O,wrappersToRender:A,websiteContext:s,children:Ao({node:e,ref:m,key:E,semanticTagInfo:{semanticTag:"div",interactiveSemanticTag:null},context:n,styles:g,nodeId:A.motionLayerContent.nodeId,transitionProps:O,wrappers:A.motionLayerContent,websiteContext:s,attributes:{"data-name":I,...h,...T},children:S.root?Ot((0,ut.jsx)(Ll.Provider,{value:{getRichTextBlockStyle:l,getRichTextSpanStyle:u},children:(0,ut.jsx)(vB,{lexicalNode:S.root,parentStyleClass:null,parentLexicalNode:null,websiteContext:s})})):null})}),s)})}var ud=v(_e()),kl=v(W()),m$=v(aN()),E$=v(_e()),_$=v(gu()),T$=v(nE());function ia(e){let t=fe().env;ge(t!=="server",`${e} should never be rendered on the server.`)}var hxe=v(W());function j7(e,t,n,r,o){Object.entries(e).forEach(([i,s])=>{(!r||!r[i])&&(t[s]=a=>{let l=n[i];typeof a!=typeof l&&console.error(`Expected value of type ${typeof l} for property ${i}, but got ${typeof a}`),n[i]=a,o?.()})})}function lN(e){let t={};if(!e)return t;for(let[n,r]of Object.entries(e))r.setter&&(t[n]=r.setter);return t}var kB={src:""};function wh(e){return e??!1?e:void 0}function Bh(e,t,n,r){if(!r||!n)return kB;let o=e?.image?t(r,e?.image):void 0,s=(e?.animatedImage?t(r,e.animatedImage):void 0)??o;if(!s)return kB;let a=wh(s.size?.y)??e.originalImageHeight,l=wh(s.size?.x)??e.originalImageWidth;return{src:n(s.url),height:wh(a),width:wh(l),alt:e.altText}}var FB=v(_e()),Uh=v(W()),sd=Uh.createContext({name:"",width:0,height:0});function uN({name:e,width:t,height:n,children:r}){let o=Uh.useMemo(()=>({name:e,width:t,height:n}),[e,t,n]);return(0,FB.jsx)(sd.Provider,{value:o,children:r})}var Pl=v(_e()),Ixe=v(W());function Dl({children:e,fallback:t=null}){return ta()?(0,Pl.jsx)(Pl.Fragment,{children:e()}):(0,Pl.jsx)(Pl.Fragment,{children:t})}var wB=({children:e,fallback:t})=>Ot((0,Pl.jsx)(Dl,{fallback:t,children:e}));var dN=v(_e()),ti=v(W());var Ip=class{backingComponentId;atomStore;constructor(t,n){this.atomStore=n,this.backingComponentId=de(t)}get(t,n){return t(this.backingComponentId)}set(t,n,r){this.atomStore.set(this.backingComponentId,r)}reset(){this.atomStore.set(this.backingComponentId,null)}},Vh=class{variableState;nodeById;componentSetId=null;boundVariantProperties;unboundVariantProperties;boolMap={true:!0,false:!1};atomStore;constructor(t,n,r,o,i=[],s){this.variableState=t,this.nodeById=n,this.componentSetId=r,this.boundVariantProperties=o.map(([a,l])=>[a,de(l)]),this.unboundVariantProperties=i.map(([a,l])=>[a,de(l)]),this.atomStore=s}get(t,n){let r=this.boundVariantProperties.map(([s,a])=>[s,this._convertResolvedVariableValueToStringVariantValue(this.variableState.evaluateVariable(t,t(a).id,n))]),o=this.unboundVariantProperties.map(([s,a])=>[s,t(a)]),i=[...r,...o];return this._instanceIdFromVariantProperties(i)}set(t,n,r){let o=Object.fromEntries(this._propertyValuesForVariant(r));
8747this.unboundVariantProperties.forEach(([i,s])=>{let a=o[i];this.atomStore.set(s,a)}),this.boundVariantProperties.forEach(([i,s])=>{let a=o[i];let l=this.variableState.getVariableType(t(s).id,t,n),u=this._convertStringVariantValueToResolvedVariableType(l,a);this.variableState.setVariable(t(s).id,u,n)})}_instanceIdFromVariantProperties(t){if(this.componentSetId===null)return null;let n=this.nodeById.get(this.componentSetId);return n.type,n.children.find(r=>this._propertyValuesMatch(t,this._propertyValuesForVariant(r)))??null}_propertyValuesMatch(t,n){let r=s=>new Set(s.map(([a,l])=>JSON.stringify([a.toLowerCase(),l.toLowerCase()]))),o=r(t),i=r(n);return o.size===i.size&&[...o].every(s=>i.has(s))}_propertyValuesForVariant(t){return this.nodeById.get(t).name.split(",").map(r=>{let[o,i]=r.split("=");return[(o??"").trim(),(i??"").trim()]})}_convertStringVariantValueToResolvedVariableType(t,n){switch(t){case"BOOLEAN":{let r=n.toLowerCase();return r in this.boolMap,`${n}`,this.boolMap[r]??n}case"FLOAT":{let r=n.trim(),o=Number(r),i=r!==""&&Number.isFinite(o);return`${n}`,i?o:n}case"COLOR":case"IMAGE":throw new te(`Cannot bind a variant property to a variable of type ${t}.`);case"STRING":case null:return n}}_convertResolvedVariableValueToStringVariantValue(t){if(t===null)return"null";switch(typeof t){case"string":return t;case"boolean":case"number":return String(t);default:throw new te(`Cannot bind a variant property to a variable of type ${typeof t}.`)}}reset(){}};var No=class{instanceState;modeContextState=de({});childNodeProps=new Map;transitionAtom=de(void 0);autoLayoutTransitionAtom=de(void 0);stateResetHandlers=[];variableState;cmsDataState=null;static createRoot(t,n,r){let o={backingComponentId:new Ip(null,n),componentPropState:new Map};return new No(r,t,o)}constructor(t,n,r){this.variableState=t,this.cmsDataState=n,this.instanceState=r}resetComponentState=(t,n)=>{this.instanceState.backingComponentId.reset(),this.stateResetHandlers.forEach(r=>r(t,n))};getChildState(t,n,r,o){let i="componentSetId"in n&&n.componentSetId?n.componentSetId:null,s=this.childNodeProps.get(t),a;if(n.type==="INSTANCE"){let l=Object.entries(n.componentProperties).filter(([f,p])=>p.type==="VARIANT"),u=l.filter(([f,p])=>!p.boundVariables?.value).map(([f,p])=>[f,p.value]),c=l.filter(([f,p])=>!!p.boundVariables?.value).map(([f,p])=>[f,p.boundVariables.value]);a={backingComponentId:c.length?new Vh(this.variableState,r,i,c,u,o):new Ip(null,o),componentPropState:new Map}}else a=this.instanceState;return s||(s=new No(this.variableState,this.cmsDataState,a),this.childNodeProps.set(t,s),i&&this.stateResetHandlers.push(s.resetComponentState)),s}};function cN(e,t,n){let r=e[t];if(r!=null||t==="default")return r;let o=e.default,i;if(typeof o=="function"?i=o:o&&typeof o=="object"&&(i=o[t]),i!=null){let a=`${n??"unknown-module"}::${t}`;if(!BB.has(a)){BB.add(a);let l=new ht("Code export resolved via default fallback");l.errorDetail=`warningKey: ${a}`,Me.reportError(l)}}return i}var BB=new Set;var $7={renderedByCode:!0};function Z7({guid:e,modeContext:t,...n}){let r=fe(),o=(0,ti.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,stablePathToAssetInfo:r.websiteData.stablePathToAssetInfo,stablePathToConstraints:r.websiteData.stablePathToConstraints,modeContext:t??{},parentState:No.createRoot(null,r.atomStore,r.globalVariableState),parentStates:null}]:[],[e,r,t]),i=KE(o),s=(0,ti.useMemo)(()=>{let a=Object.fromEntries(Object.entries(n).filter(([l])=>l.startsWith("data-")));return{...$7,style:n.style,className:n.className,dataAttributes:a}},[n]);return i[0]?(0,dN.jsx)(Hi,{node:i[0],parent:null,context:s,websiteContext:r}):null}function UB(e,t,n){let[,r]=(0,ti.useReducer)(u=>u+1,0),{variableState:o,modeContext:i}=e,s=fe(),{finalProps:a,boundVariables:l}=(0,ti.useMemo)(()=>{let u=Object.fromEntries(Object.entries(KB(e.componentProperties,e.assets,n,s,i))),c=zB(e.componentProperties);return{finalProps:u,boundVariables:c}},[e.componentProperties,n,i,e.assets,s]);if(o&&i)for(let[u,c]of Object.entries(l)){let d=t[u];d&&(a[d]=XB(c,o,i,s)),jB(c,u,o,a,i,r,s)}return Object.entries(t).forEach(([u,c])=>{l[u]||(a[c]=d=>{let f=a[u];typeof d!=typeof f&&console.error(`Expected value of type ${typeof f} for property ${u}, but got ${typeof d}`),a[u]=d,r()})}),a}function VB(e){let t=fe(),{websiteData:n}=t??{},r=(0,ti.useMemo)(()=>!t||!n||!e?.length?[]:e.map(o=>{let i=o.codeComponentId,s=n.assetIdToGuid.get(i)?.toString(),a=s?n.nodeById.get(s):null;return a?{codeNode:a,codeComponentId:i}:null}).filter(o=>o!==null),[t,n,e]);return(0,ti.useMemo)(()=>r.map(o=>o.codeNode),[r])}function HB(e,t,n,r,o,i,s){let[,a]=(0,ti.useReducer)(_=>
8747_+1,0),l=fe(),{websiteData:u,getAssetURL:c}=l,d=u?.assetIdToGuid,{finalProps:f,boundVariables:p}=(0,ti.useMemo)(()=>{let _=Object.fromEntries(Object.entries(KB(e.componentPropertyDefinitions,s,i,l))),T=zB(e.componentPropertyDefinitions),h=(n??[]).find(m=>{let E=d?.get(m.codeComponentId);return e.id===E});if(!h)return{finalProps:_,boundVariables:T};for(let m of Object.keys(_))m in h.assignments&&h.assignments[m]!==void 0&&(typeof _[m]=="function"&&typeof h.assignments[m]=="string"?_[m]=YB(h.assignments[m],l.instanceSwapComponentCache):typeof h.assignments[m]=="object"&&"image"in h.assignments[m]?_[m]=Bh(h.assignments[m],go,c,s):_[m]=h.assignments[m]);return{finalProps:_,boundVariables:T}},[e.id,e.componentPropertyDefinitions,d,l,c,s,i,n]);if(r&&o)for(let[_,T]of Object.entries(p)){let h=t[_];h&&(f[h]=XB(T,r,o,l)),jB(T,_,r,f,o,a,l)}return Object.entries(t).forEach(([_,T])=>{p[_]||(f[T]=h=>{let m=f[_];typeof h!=typeof m&&console.error(`Expected value of type ${typeof m} for property ${_}, but got ${typeof h}`),f[_]=h,a()})}),f}function WB(e){let t=n=>{let{category:r,nodeTypes:o}=n.codeBehaviorData,i;switch(r){case"mouse":i=1;break;case"motion":i=2;break;default:i=3;break}return o&&o.includes("TEXT")&&(i=4),i};return[...e].sort((n,r)=>t(n)-t(r))}function YB(e,t,n){let r=t.get(e);return r||(r=function(i){return e?(0,dN.jsx)(Z7,{guid:e,modeContext:n,...i}):null},t.set(e,r),r)}function KB(e,t,n,r,o){let{instanceSwapComponentCache:i,getAssetURL:s}=r,a={};if(!e)return a;for(let l in e){let u=e[l],c=l.substring(0,l.lastIndexOf("#"));if(c&&u&&"type"in u)if(u.type==="INSTANCE_SWAP")if("value"in u&&u.value!=="-1:-1")a[c]=YB(u.value,i,o);else if(n?.[c]?.defaultValue){let d=n[c].defaultValue;a[c]=d??(()=>null)}else a[c]=()=>null;else if(u.type==="TEXT"){let d="value"in u?u.value:u.defaultValue;a[c]=d.characters}else if(u.type==="IMAGE")if("value"in u&&u.value!==null&&u.value.image)a[c]=Bh(u.value,go,s,t);else if(n?.[c]?.defaultValue){let d=n[c].defaultValue;a[c]=typeof d=="string"?{src:d}:QP(d)}else a[c]={src:""};else a[c]="value"in u?u.value:"defaultValue"in u?u.defaultValue:void 0}return a}function zB(e){let t={};if(!e)return t;for(let n in e){let r=e[n],o=n.substring(0,n.lastIndexOf("#"));if(o&&r&&"boundVariables"in r&&r.boundVariables){let i=r.boundVariables;i.value&&(t[o]=i.value.id)}}return t}function XB(e,t,n,r){return o=>{let{atomStore:i}=r,s=i.get,a=t.evaluateVariable(s,e,n);if(typeof o!=typeof a&&console.error(`Expected value of type ${typeof a} for variable ${e}, but got ${typeof o}`),typeof o=="function"){console.error("Cannot set function as variable value");return}if(typeof o=="object"&&"src"in o){console.error("Cannot set image prop as variable value");return}t.setVariable(e,o,n)}}function jB(e,t,n,r,o,i,s){let{atomStore:a}=s,l=a.get,u=n.getVariable(e);if(u){let d=u.value.getModeValue(o),f=n.evaluateVariable(l,e,o);return r[t]=f,a.sub(d,()=>{let _=n.evaluateVariable(l,e,o);r[t]=_,i()})}}async function Hh(e,t,n){let r=(t||"default").split(".");if(r.length===0)throw new te(`Code export name ${t} is empty`);let[o,i]=r;if(typeof e!="object")throw new te(`Code export ${t} is not an object`);let a=cN(e,o,n);if(r.length===1){if(a==null)throw new te(`Code export ${t} (${o}) is nullish`);return a}if(typeof a!="function")throw new te(`Code export ${t} (${o}) is not a function. The component may have failed to compile during publishing.`);let l=await a();if(typeof l!="object")throw new te(`Code export ${t} (${i}) is not an object`);let u=cN(l,i,n);if(u==null)throw new te(`Code export ${t} (${i}) is nullish`);return u}function $B(e){let t={};if(!e)return t;for(let[n,r]of Object.entries(e))r.setter&&(t[n]=r.setter);return t}var ad=(e,t,n)=>{let r=new ht(n);r.errorDetail=`sourceCodeHash: ${e}`,Me.reportError(r),console.error(n,t)};var br=v(_e()),Ml=v(W());var sa=v(_e());var vl=v(_e()),ZB=(0,vl.jsx)("svg",{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",children:(0,vl.jsx)("path",{fill:"#191919",fillRule:"evenodd",d:"M7 7c0 1.043.533 1.963 1.341 2.5A3 3 0 0 0 7 12c0 1.043.533 1.963 1.341 2.5A3 3 0 1 0 13 17v-2.764A3 3 0 1 0 16.659 9.5 3 3 0 0 0 15 4h-5a3 3 0 0 0-3 3m8 2a2 2 0 1 0 0-4h-2v4zm-2 3a2 2 0 1 0 4 0 2 2 0 0 0-4 0m-1 2h-2a2 2 0 1 1 0-4h2zm-2 1h2v2a2 2 0 1 1-2-2m2
8747-6h-2a2 2 0 1 1 0-4h2z",clipRule:"evenodd"})}),Wh=(0,vl.jsx)("svg",{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",children:(0,vl.jsx)("path",{fill:"#191919",fillRule:"evenodd",d:"M6.5 6a.5.5 0 0 1 .5.5V7h10a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1H7v2.5a.5.5 0 0 1-1 0v-12a.5.5 0 0 1 .5-.5M7 8v7h10V8zm6.854 1.446a.5.5 0 0 1 0 .707L12.707 11.3l1.147 1.146a.5.5 0 0 1-.708.707L12 12.007l-1.146 1.146a.5.5 0 0 1-.708-.707l1.147-1.146-1.147-1.147a.5.5 0 0 1 .708-.707L12 10.593l1.146-1.147a.5.5 0 0 1 .708 0",clipRule:"evenodd"})}),JB=(0,vl.jsx)("svg",{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",children:(0,vl.jsx)("path",{fill:"#FFFFFF",d:"M13.992 12a.5.5 0 0 1 .5.507l-.002.172c-.049 1.564-.265 2.983-.598 4.064-.189.615-.425 1.149-.71 1.54-.276.38-.67.717-1.182.717-.513 0-.906-.337-1.183-.717-.284-.391-.52-.925-.71-1.54l-.055-.185c-.09-.322.175-.626.508-.605a.52.52 0 0 1 .467.375l.036.121c.173.561.369.98.563 1.246.2.276.333.305.374.305s.172-.028.374-.305c.194-.266.39-.685.562-1.246.3-.977.507-2.304.554-3.799l.002-.158a.5.5 0 0 1 .5-.492M7.44 10.054c.322-.091.625.173.606.506a.52.52 0 0 1-.374.467l-.122.037c-.56.172-.98.368-1.246.562-.277.202-.304.335-.304.374 0 .04.027.172.304.374.267.194.685.39 1.246.563.977.3 2.304.506 3.8.553l.157.002a.5.5 0 0 1-.015 1l-.171-.003c-1.564-.049-2.983-.264-4.065-.596-.614-.19-1.148-.426-1.54-.71C5.336 12.906 5 12.513 5 12s.336-.906.716-1.183c.392-.284.926-.52 1.54-.71zm5.238-.543c1.564.048 2.983.264 4.065.596.615.19 1.149.426 1.54.71.38.277.717.67.717 1.183s-.337.906-.717 1.183c-.391.284-.925.52-1.54.71q-.09.027-.185.053c-.322.09-.625-.174-.605-.508a.52.52 0 0 1 .374-.465l.122-.037c.561-.172.98-.368 1.246-.562.277-.202.305-.335.305-.374 0-.04-.028-.172-.305-.374-.267-.194-.685-.39-1.246-.562-.977-.301-2.304-.508-3.799-.554l-.158-.002a.5.5 0 0 1 .015-1zM12 5c.512 0 .906.337 1.182.717.285.391.521.925.71 1.54q.028.09.054.183a.484.484 0 0 1-.508.606.52.52 0 0 1-.467-.375l-.035-.12c-.172-.561-.368-.98-.562-1.246C12.172 6.028 12.039 6 12 6c-.04 0-.174.029-.374.305-.194.266-.39.685-.563 1.246-.31 1.01-.52 2.393-.558 3.949A.51.51 0 0 1 10 12a.49.49 0 0 1-.495-.5c.038-1.634.257-3.12.602-4.243.19-.615.426-1.149.71-1.54.277-.38.67-.717 1.183-.717"})});var J7={display:"flex",width:"100%",height:"var(--banner-height)",padding:"8px",flexDirection:"row",alignItems:"center",justifyContent:"space-between",flexShrink:0,position:"fixed",top:"calc(var(--banner-height) * -1)",left:"0",right:"0",zIndex:999,borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:"#e1e2e2",backgroundColor:"#FFFFFF"},q7={display:"flex",padding:"4px",alignItems:"center",borderRadius:"5px",border:"1px solid #e1e2e2"},Q7={display:"flex",padding:"4px",alignItems:"center",borderRadius:"5px"},e$={display:"flex",minHeight:"32px",padding:"4px",paddingRight:"12px",alignItems:"center",borderRadius:"5px",background:"#1E1E1E",color:"#FFFFFF",textAlign:"center",fontFamily:"Inter, sans-serif",fontSize:"11px",fontStyle:"normal",fontWeight:"450",lineHeight:"16px",letterSpacing:"0.055px"},t$={display:"flex",alignItems:"center",flexDirection:"row",gap:"12px"};function qB({bannerUrlsAndStrings:e,websiteContext:t}){return t.renderElement({Tag:"div",styleSet:J7,children:(0,sa.jsxs)(sa.Fragment,{children:[t.renderElement({Tag:"a",styleSet:Q7,attributes:{href:e.figma_logo_url},children:ZB}),t.renderElement({Tag:"div",styleSet:t$,children:(0,sa.jsxs)(sa.Fragment,{children:[t.renderElement({Tag:"a",styleSet:q7,attributes:{target:"_blank",href:e.report_abuse_url,rel:"noreferrer",title:e.report_button_text,"aria-label":e.report_button_text},children:Wh}),t.renderElement({Tag:"a",styleSet:e$,attributes:{target:"_blank",href:e.hub_file_url,rel:"noreferrer"},children:(0,sa.jsxs)(sa.Fragment,{children:[JB,e.remix_button_text]})})]})})]})})}var qt=v(_e()),xl=v(W());var n$=(0,qt.jsx)("svg",{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",children:(0,qt.jsx)("path",{fill:"currentColor",d:"M13.992 12a.5.5 0 0 1 .5.507l-.002.172c-.049 1.564-.265 2.983-.598 4.064-.189.615-.425 1.149-.71 1.54-.276.38-.67.717-1.182.717-.513 0-.906-.337-1.183-.717-.284-.391-.52-.925-.71-1.54l-.055-.185c-.09-.322.175-.626.508-.605a.52.52 0 0 1 .467.375l.036.121c.173.561.369.98.563 1.246.2.276.333.305.374.305s.172-.028.374-.305c.194-.266.39-.685.562-1.246.3-.977.507-2.304.554-3.799l.002-.158a.5.5 0 0 1 .5-.492M7.44 10.054c.322-.091.625.173.606.506a.52.52 0 0 1-.374.467l-.122.037c-.56.172-.98.368-1.246.562-.277.202-.304.335-.304.374 0 .04.027.172.304.374.267.194.685.39 1.246.563.977.3 2.304.506 3.8.553l.157.002a.5.5 0 0 1-.015 1l-.171-.003c-1.564-.049-2.983-.264-4.065-.596-.614-.19-1.148-.426-1.54-.71C5.336 12.906 5 12.513 5 12s.336-.906.716-1.183c.392-.284.926-.52 1.54-.71zm5.238-.543c1.564.048 2.983.264 4.065.596.615.19 1.149.426 1.54.71.38.277.717.67.717 1.183s-.337.906-.717 1.183c-.391.284-.925.52-1.54.71q-.09.027-.185.053c-.322.09-.625-.174-.605-.508a.52.52 0 0 1 .374-.465l.122-.037c.561-.172.98-.368 1.246-.562.277-.202.305-.335.305-.374 0-.04-.028-.172-.305-.374-.267-.194-.685-.39-1.246-.562-.977-.301-2.304-.508-3.799-.554l-.158-.002a.5.5 0 0 1 .015-1zM12 5c.512 0 .906.337 1.182.717.285.391.521.925.71 1.54q.028.09.054.183a.484.484 0 0 1-.508.606.52.52 0 0 1-.467-.375l-.035-.12c-.172-.561-.368-.98-.562-1.246C12.172 6.028 12.039 6 12 6c-.04 0-.174.029-.374.305-.194.266-.39.685-.563 1.246-.31 1.01-.52 2.393-.558 3.949A.51.51 0 0 1 10 12a.49.49 0 0 1-.495-.5c.038-1.634.257-3.12.602-4.243.19-.615.426-1.149.71-1.54.277-.38.67-.717 1.183-.717"})}),r$=(0,qt.jsx)("svg",{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",children:(0,qt.jsx)("path",{fill:"currentColor",d:"M6 10.5C6.82843 10.5 7.5 11.1716 7.5 12C7.5 12.8284 6.82843 13.5 6 13.5C5.17157 13.5 4.5 12.8284 4.5 12C4.5 11.1716 5.17157 10.5 6 10.5ZM12 10.5C12.8284 10.5 13.5 11.1716 13.5 12C13.5 12.8284 12.8284 13.5 12 13.5C11.1716 13.5 10.5 12.8284 10.5 12C10.5 11.1716 11.1716 10.5 12 10.5ZM18 10.5C18.8284 10.5 19.5 11.1716 19.5 12C19.5 12.8284 18.8284 13.5 18 13.5C17.1716 13.5 16.5 12.8284 16.5 12C16.5 11.1716 17.1716 10.5 18 10.5Z"})}),o$=(0,qt.jsx)("svg",{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",children:(0,qt.jsx)("path",{fill:"currentColor",d:"M16.6465 6.64648C16.8417 6.45122 17.1583 6.45122 17.3535 6.64648C17.5488 6.84175 17.5488 7.15825 17.3535 7.35352L12.707 12L17.3535 16.6465C17.5488 16.8417 17.5488 17.1583 17.3535 17.3535C17.1583 17.5488 16.8417 17.5488 16.6465 17.3535L12 12.707L7.35352 17.3535C7.15825 17.5488 6.84175 17.5488 6.64648 17.3535C6.45122 17.1583 6.45122 16.8417 6.64648 16.6465L11.293 12L6.64648 7.35352C6.45127 7.15825 6.45124 6.84173 6.64648 6.64648C6.84173 6.45129 7.15827 6.45129 7.35352 6.64648L12 11.293L16.6465 6.64648Z"})}),i$={backgroundColor:"#ffffff",boxSizing:"border-box",display:"flex",gap:"8px",alignItems:"center",overflow:"visible",paddingLeft:"8px",paddingTop:"0px",paddingBottom:"0px",borderRadius:"13px",boxShadow:"0px 0px 0.5px 0px rgba(0,0,0,0.3), 0px 1px 3px 0px rgba(0,0,0,0.15)",width:"fit-content",height:"var(--banner-height-v2)",position:"fixed",bottom:"20px",right:"40px",zIndex:999},s$={color:"rgba(0, 0, 0, 0.9)"},a$={boxSizing:"border-box",display:"flex",alignItems:"center",paddingLeft:"4px",paddingRight:"4px",paddingTop:"8px",paddingBottom:"8px",fontFamily:"Inter, sans-serif",fontWeight:"550",fontStyle:"normal",fontSize:"11px",color:"rgba(0, 0, 0, 0.9)",lineHeight:"16px",letterSpacing:"0.055px"},l$={display:"flex",flexDirection:"row",alignItems:"center",alignSelf:"stretch",boxSizing:"border-box",height:"100%",
8747justifyContent:"flex-end",position:"relative",flexShrink:0},u$={backgroundColor:"#4D49FC",color:"#ffffff",border:"1px solid rgba(0, 0, 0, 0.1)",borderRadius:"0.3125rem",padding:"0 0.5rem",fontSize:"11px",fontFamily:"Inter, sans-serif",fontWeight:"450",lineHeight:"16px",letterSpacing:"0.055px",cursor:"pointer",display:"flex",alignItems:"center",minHeight:"24px",textDecoration:"none",marginRight:"0.5rem"},QB={borderLeft:"1px solid rgba(0, 0, 0, 0.1)",boxSizing:"border-box",display:"flex",height:"100%",alignItems:"center",paddingLeft:"0px",paddingRight:"0px",paddingTop:"0px",paddingBottom:"0px",position:"relative",flexShrink:0},eU={background:"none",border:"none",cursor:"pointer",padding:"0.5rem",display:"flex",alignItems:"center",justifyContent:"center",color:"rgba(0, 0, 0, 0.5)",borderRadius:"4px"},c$={backgroundColor:"#ffffff",borderRadius:"11px",boxShadow:"0px 0px 0.5px 0px rgba(0,0,0,0.3), 0px 1px 3px 0px rgba(0,0,0,0.15)",position:"absolute",bottom:"100%",right:"0px",marginBottom:"8px",width:"fit-content",zIndex:1e3,padding:"8px",boxSizing:"border-box"},d$={display:"flex",alignItems:"center",gap:"4px",width:"100%",backgroundColor:"transparent",border:"none",textAlign:"right",cursor:"pointer",fontSize:"11px",fontFamily:"Inter, sans-serif",fontWeight:"400",color:"rgba(0, 0, 0, 0.9)",lineHeight:"20px"};function tU({bannerUrlsAndStrings:e,websiteContext:t}){let[n,r]=(0,xl.useState)(!1),[o,i]=(0,xl.useState)(!1),s=(0,xl.useRef)(null);return(0,xl.useEffect)(()=>{let a=l=>{s.current&&!s.current.contains(l.target)&&i(!1)};return o&&document.addEventListener("mousedown",a),()=>{document.removeEventListener("mousedown",a)}},[o]),n?null:t.renderElement({Tag:"div",styleSet:[i$,"banner-v2-container"],children:(0,qt.jsxs)(qt.Fragment,{children:[t.renderElement({Tag:"div",styleSet:s$,children:n$}),t.renderElement({Tag:"div",styleSet:a$,children:(0,qt.jsx)("p",{children:e.banner_v2_text})}),t.renderElement({Tag:"div",styleSet:l$,children:(0,qt.jsxs)(qt.Fragment,{children:[t.renderElement({Tag:"a",styleSet:u$,attributes:{target:"_blank",href:e.hub_file_url,rel:"noreferrer"},children:e.remix_button_text}),t.renderElement({Tag:"div",styleSet:QB,ref:s,children:(0,qt.jsxs)(qt.Fragment,{children:[t.renderElement({Tag:"button",styleSet:eU,attributes:{onClick:()=>i(!o),title:e.more_options_text,"aria-label":e.more_options_text},children:r$}),o&&t.renderElement({Tag:"div",styleSet:c$,children:t.renderElement({Tag:"a",styleSet:d$,attributes:{target:"_blank",href:e.report_abuse_url,rel:"noreferrer",title:e.report_button_text,"aria-label":e.report_button_text},children:(0,qt.jsxs)(qt.Fragment,{children:[Wh," ",e.report_button_text]})})})]})}),t.renderElement({Tag:"div",styleSet:QB,children:t.renderElement({Tag:"button",styleSet:eU,attributes:{"aria-label":e.close_text,title:e.close_text,onClick:()=>r(!0)},children:o$})})]})})]})})}var Yh=de(!1);function f$({isLoading:e,bannerUrlsAndStrings:t,websiteContext:n}){return e||!t?null:t.banner_version==="2"?(0,br.jsx)(tU,{bannerUrlsAndStrings:t,websiteContext:n}):(0,br.jsx)(qB,{bannerUrlsAndStrings:t,websiteContext:n})}function nU({children:e}){let t=Ae(Yh),n=fe(),[r,o]=(0,Ml.useState)(!1),i=kC(Yh),[s,a]=(0,Ml.useState)(null),[l,u]=(0,Ml.useState)(!0);(0,Ml.useEffect)(()=>(o(!0),()=>{o(!1)}),[]),(0,Ml.useEffect)(()=>{r&&(async()=>{try{u(!0);let f=await fetch("/__figma__/api/community_published_banner_details",{redirect:"follow"});if(f.status===200){let p=await f.json();p.meta&&(a(p.meta),i(!0))}}catch(f){console.error("Error fetching hub file URL:",f)}finally{u(!1)}})()},[r,i]);let c=s?.banner_version==="2";return r?(0,br.jsx)(br.Fragment,{children:n.renderElement({Tag:"div",styleSet:t&&!c?[{transform:"translateY(var(--banner-height))",height:"var(--full-height-with-banner)"},"wrapper-with-banner"]:void 0,children:(0,br.jsxs)(br.Fragment,{children:[(0,br.jsx)(ra,{name:"banner-error-boundary",nodeId:"banner",children:(0,br.jsx)(f$,{isLoading:l,bannerUrlsAndStrings:s,websiteContext:n})}),n.renderElement({Tag:"div",styleSet:t&&!c?{height:"var(--full-height-with-banner)",position:"fixed",inset:"0",overflow:"auto"}:void 0,children:e})]})})}):(0,br.jsx)(br.Fragment,{children:e})}var rU=v(W());var oU=rU.default.forwardRef(function(t,n){let{semanticTag:r,context:o,styles:i,additionalClassName:s,tabIndex:a,websiteContext:l,wrappers:{outerStyles:u,needsListItemTag:c},...d}=t,f={...u,...i},p=[s,{styles:f,renderedByCode:o?.renderedByCode},o?.className],_={width:"100%",height:"100%"},{finalInnerSemanticTag:T,needsListWrapper:h}=H_(r,null,c),m=T;return h?l.renderElement({Tag:"li",styleSet:p,children:l.renderElement({Tag:m,attributes:{tabIndex:Ms(T)?-1:a},styleSet:_,...d,ref:n})}):l.renderElement({Tag:m,styleSet:p,...d,attributes:{tabIndex:Ms(T)?-1:a},ref:n})});var iU=v(W()),p$=class sU{renderHooks;constructor(t=[]){this.renderHooks=t}cloneWithAdditionalHook(t){return new sU([...this.renderHooks,t])}},Gl=iU.createContext(new p$);var aU=v(W()),Sp=aU.createContext({isSnapshot:!1,snapshot:()=>{},enableManualSnapshot:()=>{}});var lU=v(_e()),Kh=v(W());var ld=Kh.createContext({shouldReduceMotion:!1});function fN({children:e}){let t=__(),n=Kh.useMemo(()=>({shouldReduceMotion:t}),[t]);return(0,lU.jsx)(ld.Provider,{value:n,children:e})}function uU({node:e,parent:t,interactionHandlers:n,context:r,zIndex:o,websiteContext:i}){let{renderOptions:s}=i,a=rr(),l=Xn({node:e,parent:t,context:r,zIndex:o,children:[],options:{isFlattened:!0,prec
8747omputeTransforms:a},renderOptions:s}),u=cn(r,e),c=Zr(e,r),d=kl.useMemo(()=>({opacity:u,transform:zr(l.outer.transform)}),[u,l.outer.transform]),{motionProps:f,key:p,ref:_}=to(e.id,e.behaviors,e.assets,d,c),T=e.interactions??[],h=Fo(T),m=po(T),E=r?.withinInteractiveElement??!1,O=gr(T,n,E,i),{semanticTag:g}=Gs(e,m,h,E,!1),I=g,S=Ae(Yh),A=$n({node:e,context:r,websiteContext:i}),R=jn({node:e,parent:t,children:null,renderOptions:s}),y={...l.inner,...Gn(cn(r,e)),...fc(e,t,r,i),...Qr({node:e,parent:t,transitionProps:void 0,renderOptions:s,maskStyles:A}),...l.transform3d,...r?.style||{},...i.isFigmake?{height:S?"var(--full-height-with-banner)":"100dvh"}:{}},b=wn({node:e,parent:t,context:r,transitionProps:void 0,outerStyles:l.outer,wrapperSizeStyles:R,stickyWrapperStyles:l.stickyWrapper,transformChildWrapperStyles:l.transform,renderOptions:i.renderOptions,maskStyles:A});return Ne(yr({node:e,parent:t,context:r,wrappersToRender:b,websiteContext:i,children:Ot((0,ud.jsx)(oU,{semanticTag:I,nodeId:e.id,styles:y,additionalClassName:"tailwind",websiteContext:i,ref:_,wrappers:b.motionLayerContent,...f,...O,children:(0,ud.jsx)(Dl,{children:()=>(0,ud.jsx)(h$,{node:e,websiteContext:i})})},p))}),i)}function h$({node:e,websiteContext:t}){ia("CodeComponentContent");let n=ta(),r=t.getAssetURL,[o,i]=kl.useState(null);globalThis.__GLOBALS__={React:kl,ReactJSXRuntime:E$,ReactJSXDevRuntime:m$,ReactDOM:_$,ReactDOMClient:T$,SnapshotContext:Sp,RenderHooksContext:Gl,ActiveBreakpointContext:sd,WebsiteSettingsContext:ld,getAssetURL:r};let s=t.getCodeComponentURL(e),a=t.websiteData.sourceCodeHash,l=Ae(a);kl.useEffect(()=>{(async()=>{let p;try{p=await import(s)}catch(_){ad(l,_,"Failed to import code layer module");return}try{let _=await Hh(p,e.codeExportName,s);i(()=>_)}catch(_){ad(l,_,"Failed to execute code layer")}})()},[e.codeExportName,s,l]);let u=O$(o),c=lN(u),d=UB(e,c,u);return n&&o?(0,ud.jsx)(oa,{name:"code-component",nodeId:e.id,children:(0,ud.jsx)(o,{...d})}):null}function O$(e){return e?e[Symbol.for("figma.react.props")]??{}:null}function cU({node:e,children:t,context:n,websiteContext:r,renderFigmaLayer:o}){let i=Jr(r,e),s={"data-name":i};return n?.dataAttributes&&Object.entries(n.dataAttributes).forEach(([a,l])=>{s[a]=l}),ne({Tag:"div",nodeId:e.id,attributes:{"data-name":i,...s},children:t.map(a=>o({name:"sites-layer",nodeId:a.id,childKey:a.id,node:a,parent:null,context:void 0,websiteContext:r}))})}function dU({node:e,children:t,context:n,websiteContext:r}){return Ne(cU({node:e,children:t,context:n,websiteContext:r,renderFigmaLayer:id}),r)}var TU=v(W());function zh(e){return"type"in e&&e.type==="spring"}function cd(e){return Array(e.length-1).fill(Ls)}function g$(e,t,n,r){let o=e.map((i,s)=>s).sort((i,s)=>(e[i]??0)-(e[s]??0));return{times:o.map(i=>e[i]??0),scale:o.map(i=>t[i]??0),pos:o.map(i=>n[i]??0),ease:o.slice(0,-1).map(i=>r[i]??Ls)}}function fU(e){return e<=1?[0]:Array.from({length:e},(t,n)=>n/(e-1))}function pU(e,t,n,r,o){let i=e[n],s=t[n];if(!i||s&&zh(s)){e[n]=r,o&&(t[n]=o);return}let a=s?.times??fU(i.length),l=s?.ease??cd(a),u=o?.times??fU(r.length),c=o?.ease??cd(u),d=[...new Set([...a,...u])].sort((f,p)=>f-p);e[n]=d.map(f=>So(f,a,i,l)+So(f,u,r,c)),t[n]={duration:Math.max(s?.duration??0,o?.duration??0),times:d,ease:cd(d)}}function mU(e,t,n,r){let o=t[n];return Array.isArray(e[n])&&!!o&&(zh(o)||r!==void 0&&o.duration!==r)}function pN(e,t,n,r){let{dimensionKey:o,scaleKey:i,posKey:s,baseSize:a}=r;if(!(o in e)||typeof e[o]!="number"||a===0)return;let l=i in e||i in t,u=f=>a/2*(f-1),c=n[o],d=n[i];if(l&&Array.isArray(t[o])&&Array.isArray(t[i])){if(c&&zh(c)||d&&zh(d))return;let f=c,p=d,_=Math.max(f?.duration??0,p?.duration??0);if(mU(t,n,s,_))return;let T=f?.times,h=p?.times;if(!T||!h)return;let m=f?.ease??cd(T),E=p?.ease??cd(h),O=t[o].map(D=>D/a),g=t[i],I=T[0]??0,S=T[T.length-1]??0,A=h[0]??0,R=h[h.length-1]??0,y=S>A&&I<R,b;if(y){let D=[...new Set([...T,...h])].sort((U,N)=>U-N),F=D.map(U=>So(U,T,O,m)*So(U,h,g,E));b={times:D,scale:F,pos:F.map(u),ease:cd(D)}}else{let D=O[O.length-1]??1;b=g$([...T,...h],[...O,...g.map(F=>D*F)],[...O.map(u),...g.map(()=>u(D))],[...m,Ls,...E])}e[i]=e[o]/a*(e[i]??1),e[s]=(e[s]??0)+u(e[i]),delete e[o],t[i]=b.scale,delete t[o];let L={duration:_,times:b.times,ease:b.ease};n[i]=L,pU(t,n,s,b.pos,L),delete n[o]}else{let f=c;if(mU(t,n,s,f?.duration))return;let p=e[o]/a;if(e[i]=p,e[s]=(e[s]??0)+u(p),delete e[o],Array.isArray(t[o])){let _=t[o].map(T=>T/a);t[i]=_,pU(t,n,s,_.map(u),f),delete t[o]}c&&(n[i]=c,delete n[o])}}var I$=[[1,0,0],[0,1,0]],mN={position:"relative",width:"100%",height:"100%"};function S$(e,t,n,r,o,i){let s=e?.groupFrameOffset?.frameWidth??e?.constrainingFrameSize?.width??r?.size?.x??n.size.x,a=e?.groupFrameOffset?.frameHeight??e?.constrainingFrameSize?.height??r?.size?.y??n.size.y,l=e?.groupFrameOffset?.x??0,u=e?.groupFrameOffset?.y??0;
8747return{group:void 0,constrainingFrameSize:{width:n.size.x,height:n.size.y},groupFrameOffset:{x:l+(t?.x??0),y:u+(t?.y??0),frameWidth:s,frameHeight:a,groupWidth:n.size.x,groupHeight:n.size.y},parentIsList:o,masks:e?.masks,isInStickyOrFixedTree:i||(e?.isInStickyOrFixedTree??!1),withinInteractiveElement:e?.withinInteractiveElement,inheritedEffects:bf(n,e?.inheritedEffects)}}function EU(e){let{node:t,parent:n,children:r,context:o,zIndex:i,precomputeTransforms:s,renderOptions:a}=e,l=Xn({node:t,parent:n,context:o,zIndex:i,children:r??null,options:{precomputeTransforms:s},renderOptions:a}),u=cn(o,t);return{layoutStyles:l,opacity:u}}function _U({node:e,parent:t,children:n,interactionHandlers:r,context:o,transitionProps:i,websiteContext:s,outerRef:a,opacity:l,layoutStyles:u,behaviorProps:c,behaviorsKey:d,behaviorsRef:f,renderFigmaLayer:p}){let{renderOptions:_}=s,T=o?.group,h=$t(e,t),m=h?I$:e.relativeTransform,E=T?.withinAutoLayout||h,O=_.enableGroupKeyframeAnimations&&!E&&!!o?.masks?.length,g=_.enableGroupKeyframeAnimations&&!E&&(O||!!e.keyframeData&&Object.keys(e.keyframeData).length>0),I=!E&&!g,S=e.scrollBehavior==="FIXED"||e.scrollBehavior==="STICKY_SCROLLS",A=T?.isHorizontalFillParent||(E?y_(e,t):!1),R=e.interactions??[],y=Mn(e,_),b=Fo(R),L=po(R),D=Ko(e),F=jn({node:e,parent:t,children:n,renderOptions:_}),U={...u.outer,overflow:"visible",...g?{width:e.size.x,height:e.size.y}:{}},{shouldOutputVariables:N,codeSyntaxLanguage:K}=_,C={...u.inner,...I?{}:Gn(l,N,e.boundVariables?.opacity?.resolvedName,K&&e.boundVariables?.opacity?.resolvedCodeSyntax?.[K]),...Ni(e),...u.transform3d},M=B_(_,o,e.absoluteBoundingBox),P=O?$n({node:e,context:M,websiteContext:s}):{},z=i?.smartAnimateType??ee.NONE,Ee=on(i?.transitionData),pe=o?.withinInteractiveElement||Object.keys(c).length>0||z===ee.INSTANCE_SUBTREE,ye=gr(R,r,pe,s),Le=Gs(e,L,b,pe,y),We=V_(Le)!==null,De=Jr(s,e),ae=g?dc(xt(Wt(T?.relativeTransform,e.relativeTransform)),e.size):null,Oe=R$(g,e.keyframeData,e.size,_.emitMotionDataForCodegen),oe=g?S$(o,ae,e,t,We,S):{group:{withinAutoLayout:E,isHorizontalFillParent:A,relativeTransform:xt(Wt(T?.relativeTransform,m)),opacity:I?l:void 0,mixBlendMode:E?void 0:Xu(e.blendMode)},parentIsList:We,masks:o?.masks,constrainingFrameSize:o?.constrainingFrameSize,groupFrameOffset:o?.groupFrameOffset,isInStickyOrFixedTree:S||(o?.isInStickyOrFixedTree??!1),withinInteractiveElement:o?.withinInteractiveElement,inheritedEffects:bf(e,o?.inheritedEffects)},ft=O?{...oe,masks:void 0}:oe,et=vh({children:n,context:ft,parent:e,renderOptions:_,renderFigmaLayer:p,websiteContext:s});if(g){let Ye={...Qr({node:e,parent:t,transitionProps:i,renderOptions:_,maskStyles:P}),...Gn(l,N,e.boundVariables?.opacity?.resolvedName,K&&e.boundVariables?.opacity?.resolvedCodeSyntax?.[K]),...Ni(e),...u.transform3d},ce=wn({node:e,parent:t,context:o,transitionProps:i,outerStyles:mN,wrapperSizeStyles:mN,stickyWrapperStyles:u.stickyWrapper,transformChildWrapperStyles:u.transform,renderOptions:_,maskStyles:P}),tt=Sl({keyframeMotionPropsOverride:Oe,node:e,context:o,renderOptions:_,smartAnimateType:z,
8747wrappersToRender:ce});return ne({Tag:"div",styleSet:U,children:yr({node:e,parent:t,context:o,outerRef:a,transitionProps:i,wrappersToRender:ce,websiteContext:s,keyframeMotionPropsOverride:tt.wrapperKeyframeMotionPropsOverride,children:Ao({node:e,semanticTagInfo:Le,key:d,context:M,ref:f,nodeId:ce.motionLayerContent.nodeId,styles:Ye,keyframeMotionPropsOverride:tt.childKeyframeMotionPropsOverride,wrappers:{outerStyles:mN,needsListItemTag:ce.motionLayerContent.needsListItemTag,nodeId:ce.motionLayerContent.nodeId},websiteContext:s,transitionProps:{opacity:l,smartAnimateType:z,behaviorProps:c,transitionData:i?.transitionData,onTransitionEnd:Ee},attributes:{"data-name":De,...ye,...D},children:et})})})}let he=wn({node:e,parent:t,context:o,transitionProps:i,outerStyles:u.outer,wrapperSizeStyles:F,stickyWrapperStyles:u.stickyWrapper,transformChildWrapperStyles:u.transform,renderOptions:_}),Ge=Sl({keyframeMotionPropsOverride:Oe,node:e,context:o,renderOptions:_,smartAnimateType:z,wrappersToRender:he});return yr({node:e,parent:t,context:o,outerRef:a,transitionProps:i,wrappersToRender:he,websiteContext:s,keyframeMotionPropsOverride:Ge.wrapperKeyframeMotionPropsOverride,children:Ao({node:e,semanticTagInfo:Le,key:d,context:o,ref:f,nodeId:he.motionLayerContent.nodeId,styles:C,keyframeMotionPropsOverride:Ge.childKeyframeMotionPropsOverride,wrappers:he.motionLayerContent,websiteContext:s,transitionProps:{opacity:l,smartAnimateType:z,behaviorProps:c,transitionData:i?.transitionData,onTransitionEnd:Ee},attributes:{"data-name":De,...ye,...D},children:et})})}function R$(e,t,n,r=!1){if(!e||!t)return;let o=Li(t,{normalizeParameterUnits:r});if(!o)return null;let i={...o.initial},s={...o.animate},a={...o.transition};return pN(i,s,a,{dimensionKey:"width",scaleKey:"scaleX",posKey:"x",baseSize:n.x}),pN(i,s,a,{dimensionKey:"height",scaleKey:"scaleY",posKey:"y",baseSize:n.y}),{...o,initial:i,animate:s,transition:a}}function hU({node:e,parent:t,children:n,interactionHandlers:r,context:o,zIndex:i,transitionProps:s,websiteContext:a}){let{renderOptions:l}=a,u=(0,TU.useRef)(null),c=rr(),{layoutStyles:d,opacity:f}=EU({node:e,parent:t,children:n,context:o,zIndex:i,precomputeTransforms:c,renderOptions:l}),p={opacity:f,transform:zr(d.transform.transform)},_=Zr(e,o),{motionProps:T,key:h,ref:m}=to(e.id,e.behaviors,e.assets,p,_);return Ne(_U({node:e,parent:t,children:n,interactionHandlers:r,context:o,transitionProps:s,websiteContext:a,outerRef:u,opacity:f,layoutStyles:d,behaviorProps:T,behaviorsKey:h,behaviorsRef:m,renderFigmaLayer:id}),a)}var Ap=v(_e()),Y1e=v(W());var or=v(_e()),Bn=v(W());var A$={url:""};var Xh="reset-css";function EN(e=!0){return sn` ${y$}${b$}${L$}${e?w$:""}`}var y$=sn` @layer figreset,figoverridable,reset,theme,base,figutils,components,utilities;`,b$=sn` @layer figoverridable{:root{font-synthesis:none}}`,L$=sn` @layer figutils{:root{--banner-height:48px;--banner-height-v2:40px;--full-height-with-banner:calc(100dvh - var(--banner-height))}@media (max-width:600px){.banner-v2-container{left:0 !important;right:0 !important;margin:0 auto !important}}.wrapper-with-banner .min-h-screen{min-height:var(--full-height-with-banner)}.wrapper-with-banner .h-screen{height:var(--full-height-with-banner)}}`,C$=sn` @layer figreset{:root{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' )}html{-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent;-webkit-font-smoothing:antialiased;width:100%}body{margin:0;width:100%}body:has([data-page-overflowx='hidden']){overflow-x:hidden}body:has([data-page-overflowx='auto']){overflow-x:auto}}@layer figutils{#container{width:100%}}`;var P$=sn` @layer figreset{*,*:before,*:after{box-sizing:border-box}a{color:inherit;text-decoration:none}button{border:none;background:none;padding:0}h1,h2,h3,h4,h5,h6,p{font-size:inherit;font-weight:inherit}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}ol,ul,menu{list-style:none;margin:0;padding-inline-start:0}}`,D$=sn` @layer figutils{#container .marquee-container{overflow-x:hidden;display:flex;flex-direction:row;position:relative;width:var(--width);transform:var(--transform);&:hover div{animation-play-state:var(--pause-on-hover)}&:active div{animation-play-state:var(--pause-on-click)}&:focus-within > *{animation-play-state:paused !important}}#container .marquee{flex:0 0 auto;min-width:var(--min-width);display:flex;flex-direction:row;align-items:center;animation:scroll var(--duration) linear var(--delay) var(--iteration-count);animation-delay:var(--delay);animation-direction:var(--direction);animation-timing-function:var(--timing-function)}#container .marquee.reduced-motion{@media (prefers-reduced-motion:reduce){animation:none}}@keyframes scroll{0%{transform:translateX(0%)}100%{transform:translateX(-100%)}}#container .marquee-initial-child-container{flex:0 0 auto;display:flex;min-width:auto;flex-direction:row;align-items:center}#container .marquee-child{transform:var(--transform)}}`,v$=sn` @layer figutils{.code-behavior-wrapper > *{width:100%;height:100%}}`,x$=sn` @layer figutils{#container .embed{border:none}}`,M$=sn` @layer figutils{:is(.textContents ul,ul.textContents) > li:before{content:'\\2022';margin-left:-1.5em;display:inline-block;text-align:center;width:1.5em;-webkit-background-clip:var(--list-marker-background-clip);-webkit-text-fill-color:var(--list-marker-text-fill-color);background-clip:var(--list-marker-background-clip);color:var(--list-marker-color);font-size:var(--list-marker-font-size);line-height:var(--list-marker-line-height);vertical-align:var(--list-marker-vertical-align)}:is(.textContents ol,ol.textContents) > li::marker{color:var(--list-marker-color);font-size:var(--list-marker-font-size);line-height:var(--list-marker-line-height);vertical-align:var(--list-marker-vertical-align)}:is(.textContents,.textContents *).adjustLetterSpacing:after{content:'';margin-left:calc(var(--letter-spacing) * -1)}}`,G$=sn` @layer figutils{.bypass-link{position:fixed;top:16px;left:0;right:0;display:flex;justify-content:center;align-items:center;opacity:0;pointer-events:none}.bypass-link:focus-within{opacity:1;z-index:${1e4}}.bypass-link > a{background-color:#000;color:#fff;border:1px solid #fff;padding:12px 16px;font-size:16px;border-radius:12px;pointer-events:auto}}`,k$=sn` @layer figreset{:root{--100dvw:100vw;--100dvh:100vh}@supports (width:100dvw){:root{--100dvw:100dvw;--100dvh:100dvh}}}`,F$=sn` @layer figreset{:root{text-align:left;button{text-align:left}}}`,w$=sn` ${C$}${P$}${M$}${x$}${D$}${v$}${k$}${G$}${F$}`;var jh={thin:100,hairline:100,extralight:200,"extra light":200,ultralight:200,"ultra light":200,light:300,regular:400,normal:400,book:400,medium:500,semibold:600,"semi bold":600,demibold:600,"demi bold":600,bold:700,extrabold:800,"extra bold":800,ultrabold:800,"ultra bold":800,black:900,heavy:900,extrablack:950,"extra black":950,ultrablack:950,"ultra black":950};function OU(e){if(!e)return;
8747let t=e.toLowerCase().replace(/italic/gi,"").trim();if(jh[t]!==void 0)return jh[t];let n=Object.keys(jh).sort((r,o)=>o.length-r.length);for(let r of n)if(t.includes(r))return jh[r]}function $h(e,t){if(!e)return OU(t)}function aa(e){let{family:t,style:n,url:r,unicodeRange:o,weight:i}=e;return` 8748@font-face { 8749 font-family: "${t}"; 8750 font-style: ${n}; 8751 src: url("${r}"); 8752 font-display: block; 8753 ${i!==void 0?`font-weight: ${i};`:""} 8754 ${o&&o!=="*"?`unicode-range: ${o};`:""} 8755} 8756`}var _N="My Site",TN="Created with Figma";var hN=/^(https?:)?\/\/(www\.)?lottie\.host\//;var fn=v(_e()),eO=v(W());var NU=v(_e());var yo=function(e){return e.EXPLICIT="EXPLICIT",e.IMPLICIT="IMPLICIT",e}({}),Fl=function(e){return e.LEFT="LEFT",e.CENTER="CENTER",e.RIGHT="RIGHT",e}({}),wl=function(e){return e.TOP="TOP",e.CENTER="CENTER",e.BOTTOM="BOTTOM",e}({}),ON=function(e){return e.MODAL="MODAL",e.BANNER="BANNER",e}({});function Bl(){return{color:"rgba(0, 0, 0, 0.9)",fontWeight:450,fontSize:"var(--consent-font-size-medium)",lineHeight:"var(--consent-line-height-medium)"}}function B$(){return{color:"rgba(0, 0, 0, 0.9)",fontWeight:450,fontSize:"var(--consent-font-size-large)",lineHeight:"var(--consent-line-height-large)"}}function U$(){return{fontWeight:550}}function gN(){return{...Bl(),cursor:"pointer",backgroundColor:"transparent"}}function gU(){return{...U$(),...B$()}}function Zh(){return{...Bl(),color:"rgba(0, 0, 0, 0.5)"}}function IU(){return{...Bl(),backgroundColor:"black",color:"white",border:"1px solid black",height:"1.5rem",borderRadius:".3125rem",display:"flex",alignItems:"center",justifyContent:"center",padding:"0 .5rem",flexShrink:0,flexGrow:1,cursor:"pointer"}}function SU({wide:e}){return{display:"flex",gap:"0.5rem",flexShrink:0,alignItems:"center",width:e?"100%":void 0}}function Jh({checked:e,disabled:t}){return{input:{position:"absolute",opacity:0,width:32,height:16,margin:0,cursor:t?"unset":"pointer"},label:{display:"block",width:32,height:16,borderRadius:13,backgroundColor:e&&!t?"#1E1E1E":"#E6E6E6",position:"relative",cursor:t?"unset":"pointer",transition:"background-color 0.4s",pointerEvents:"none"},indicator:{position:"absolute",height:14,width:14,left:e?17:1,top:1,backgroundColor:"white",borderRadius:"50%",transition:"left 0.4s",boxShadow:"0 2px 4px rgba(0,0,0,0.2)",pointerEvents:"none"}}}function RU({yAlignment:e}){let t={};return e===wl.TOP?(t.top=0,t.borderBottom="1px solid #E6E6E6"):e===wl.BOTTOM&&(t.bottom=0,t.borderTop="1px solid #E6E6E6"),{position:"fixed",left:0,right:0,display:"flex",padding:"var(--consent-banner-padding)",justifyContent:"center",alignItems:"center",gap:"1rem",alignSelf:"stretch",backgroundColor:"white",color:"rgba(0, 0, 0, 0.5)",zIndex:9999,...t}}function AU({xAlignment:e,yAlignment:t}){let n={};return e===Fl.LEFT?n.left="1rem":e===Fl.RIGHT&&(n.right="1rem"),t===wl.TOP?n.top="1rem":t===wl.BOTTOM&&(n.bottom="1rem"),{...IN(),position:"fixed",padding:"1rem",zIndex:1e4,...n}}function IN(){return{position:"relative",backgroundColor:"white",borderRadius:".8125rem",padding:"1rem",width:330,maxHeight:"90%",maxWidth:"100%",boxShadow:"0px 0px 0px 1px rgba(0, 0, 0, 0.04), 0px 0px 0.5px 0px rgba(0, 0, 0, 0.12), 0px 10px 16px 0px rgba(0, 0, 0, 0.08), 0px 2px 6px 0px rgba(0, 0, 0, 0.12)",display:"flex",flexDirection:"column",alignItems:"center",gap:"1rem",overflowY:"auto"}}function dd({children:e,className:t,onClick:n}){return(0,NU.jsx)("button",{className:t,onClick:n,style:IU(),children:e})}var bo=v(_e());function V$({checked:e,disabled:t,onChange:n,label:r,id:o}){return(0,bo.jsxs)("div",{style:{display:"inline-block",position:"relative"},children:[(0,bo.jsx)("input",{"aria-disabled":t,disabled:t,type:"checkbox",id:o,checked:e,onChange:i=>n?.(i.target.checked),"aria-label":r,style:Jh({checked:e,disabled:t}).input}),(0,bo.jsx)("label",{htmlFor:o,style:Jh({checked:e,disabled:t}).label,children:(0,bo.jsx)("span",{style:Jh({checked:e,disabled:t}).indicator})})]})}function SN({id:e,checked:t,description:n,label:r,onChange:o,disabled:i}){return(0,bo.jsxs)("div",{onClick:i?void 0:()=>o(!t),style:{display:"flex",flexDirection:"column",padding:"0.5rem 0"},children:[(0,bo.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"0.5rem"},children:[(0,bo.jsx)(V$,{checked:t,disabled:i,onChange:i?void 0:o,label:r,id:e}),(0,bo.jsx)("label",{style:{...Bl(),color:i?"rgba(0, 0, 0, 0.3)":"rgba(0, 0, 0, 0.9)"},children:r})]}),(0,bo.jsx)("span",{style:{marginLeft:"2.5rem",...Zh()},children:n})]})}var Ul=v(_e()),RN=v(W()),yU=v(gu());var qh=v(W());function Qh(e){let[t,n]=(0,qh.useState)(null);return(0,qh.useLayoutEffect)(()=>
8756{if(typeof document>"u")return;let r=e?document.getElementById(e):null;n(r||null)},[e]),t}var H$={position:"fixed",inset:0,padding:"1rem",display:"flex",justifyContent:"center",alignItems:"center",zIndex:1e4},W$={display:"flex",justifyContent:"flex-end",position:"absolute",top:16,right:16,lineHeight:1,cursor:"pointer"},Y$={display:"flex",flexDirection:"column",gap:"0.5rem",width:"100%",height:"100%"};function AN({containerId:e,children:t,onClose:n,scrimBackground:r}){let o=Qh(e);return(0,RN.useEffect)(()=>{let i=s=>{s.key==="Escape"&&n()};return document.addEventListener("keydown",i),()=>{document.removeEventListener("keydown",i)}},[n]),(0,RN.useEffect)(()=>{let i=document.body.style.overflow;return o?o.style.overflow="hidden":document.body.style.overflow="hidden",()=>{o?o.style.overflow=i:document.body.style.overflow=i}},[o]),(0,yU.createPortal)((0,Ul.jsx)("div",{style:{...H$,...r?{backgroundColor:"rgba(0, 0, 0, 0.1)"}:{}},children:(0,Ul.jsxs)("div",{style:IN(),children:[(0,Ul.jsx)("div",{style:W$,children:(0,Ul.jsx)("button",{"aria-label":"Close modal",style:{fontSize:"16px",color:"black",backgroundColor:"transparent",border:"none",cursor:"pointer"},onClick:n,children:"\xD7"})}),(0,Ul.jsx)("div",{style:Y$,children:t})]})}),o||document.body)}var Rp=v(_e());function NN({policyLink:e,policyUrl:t,disclaimerText:n,guidToUrl:r,setLocation:o,reportError:i,isPreview:s}){let a=u=>{if(t)return(0,Rp.jsx)("a",{rel:"noopener noreferrer",target:"_blank",href:t,style:gN(),children:u},"policy-url");if(e){let c=s?"/":r?.get(e);return c?(0,Rp.jsx)("button",{onClick:()=>{o({url:c})},style:gN(),children:u},"policy-link"):(i(new Error("Sites cookie banner has an invalid policy link or is missing guidToUrl")),null)}return s||i(new Error("Sites cookie banner is enabled but no policy internal link or external URL is set")),null},l=n.split(/(<link>.*?<\/link>)/);return!l.length||!l.some(u=>u.match(/<link>(.*?)<\/link>/))?(i(new Error(`Formatting error in cookie banner disclaimer text: ${n}`)),null):(0,Rp.jsx)("div",{style:{lineHeight:"var(--consent-font-size-medium)"},children:l.map((u,c)=>{let d=u.match(/<link>(.*?)<\/link>/);return d&&d[1]?a(d[1]):(0,Rp.jsx)("p",{style:{display:"inline",...Zh()},children:u},c)})})}var bU=v(_e()),$Me=v(W()),LU=v(gu());function yN({containerId:e,xAlignment:t=Fl.CENTER,yAlignment:n=wl.CENTER,children:r}){let o=Qh(e);return(0,LU.createPortal)((0,bU.jsx)("div",{style:AU({xAlignment:t,yAlignment:n}),children:r}),o||document.body)}var CU=v(_e());function K$({xAlignment:e}){let t={bottom:0};return e===Fl.RIGHT?t.right="1.5rem":t.left="1.5rem",{...Bl(),position:"fixed",backgroundColor:"white",padding:".5rem 1rem",cursor:"pointer",borderRadius:"0.3125rem 0.3125rem 0 0",boxShadow:"0px 0px 0.5px 0px rgba(0, 0, 0, 0.18), 0px 3px 8px 0px rgba(0, 0, 0, 0.10), 0px 1px 3px 0px rgba(0, 0, 0, 0.10)",...t}}function bN({children:e,onClick:t,xAlignment:n}){return(0,CU.jsx)("button",{onClick:t,style:K$({xAlignment:n}),children:e})}var LN={"en-US":{noticeHeader:"This site uses cookies",noticeDisclaimerImplicit:"Cookies on this site help improve your experience and deliver personalized content. By continuing to browse, you consent to the use of these cookies. <link>Read more</link>",acceptText:"Accept all",manageText:"Manage",noticeDisclaimerExplicit:"Cookies on this site help improve your experience and deliver personalized content. Click \u201CAccept all\u201D to consent to the use of these cookies. <link>Read more</link>",rejectText:"Reject all",manageHeader:"Manage cookie preferences",manageDisclaimer:"Cookies on this site help improve your experience and deliver personalized content. You can\u2019t opt out of cookies that are essential for basic functionality, but you can decide not to allow other categories according to your preferences. <link>Read more</link>",necessaryText:"Essential cookies",necessaryDescription:"Required to enable core site functionality and preferences.",marketingText:"Marketing cookies",marketingDescription:"Allow tracking to enable ads personalization and tracking.",preferencesText:"Personalization cookies",preferencesDescription:"Allow tracking to tailor your site experience to your interests.",analyticsText:"Analytics cookies",analyticsDescription:"Allow tracking of site traffic to help improve site performance.",saveLabel:"Save preferences",triggerLabel:"Cookie preferences"}
8756,"en-GB":{noticeHeader:"This site uses cookies",noticeDisclaimerImplicit:"Cookies on this site help to improve your experience and deliver personalised content. By continuing to browse, you consent to the use of these cookies. <link>Read more</link>",acceptText:"Accept all",manageText:"Manage",noticeDisclaimerExplicit:"Cookies on this site help to improve your experience and deliver personalised content. Click \u2018Accept all\u2019 to consent to the use of these cookies. <link>Read more</link>",rejectText:"Reject all",manageHeader:"Manage cookie preferences",manageDisclaimer:"Cookies on this site help to improve your experience and deliver personalised content. You cannot opt out of cookies that are essential for basic functionality, but you can choose not to allow other categories according to your preferences. <link>Read more</link>",necessaryText:"Essential cookies",necessaryDescription:"Required to enable core site functionality and store your preferences.",marketingText:"Marketing cookies",marketingDescription:"Allow tracking to enable advertising personalisation and performance measurement.",preferencesText:"Personalisation cookies",preferencesDescription:"Allow tracking to tailor your site experience based on your interests.",analyticsText:"Analytics cookies",analyticsDescription:"Allow tracking of site usage to help improve performance.",saveLabel:"Save preferences",triggerLabel:"Cookie preferences"},"fr-FR":{noticeHeader:"Ce site utilise des cookies",noticeDisclaimerImplicit:"Les cookies pr\xE9sents sur ce site am\xE9liorent votre exp\xE9rience et fournissent un contenu personnalis\xE9. En continuant \xE0 naviguer, vous consentez \xE0 l'utilisation de ces cookies. <link>En savoir plus</link>",acceptText:"Tout accepter",manageText:"G\xE9rer",noticeDisclaimerExplicit:"Les cookies pr\xE9sents sur ce site am\xE9liorent votre exp\xE9rience et fournissent un contenu personnalis\xE9. Cliquez sur \u201CTout accepter\u201D pour consentir \xE0 l'utilisation de ces cookies. <link>En savoir plus</link>",rejectText:"Tout refuser",manageHeader:"G\xE9rer les pr\xE9f\xE9rences de cookies",manageDisclaimer:"Les cookies pr\xE9sents sur ce site am\xE9liorent votre exp\xE9rience et fournissent un contenu personnalis\xE9. Vous ne pouvez pas d\xE9sactiver les cookies essentiels au bon fonctionnement du site, mais vous pouvez choisir de ne pas autoriser certaines autres cat\xE9gories selon vos pr\xE9f\xE9rences. <link>En savoir plus</link>",necessaryText:"Cookies essentiels",necessaryDescription:"N\xE9cessaires pour activer les fonctionnalit\xE9s principales du site et m\xE9moriser vos pr\xE9f\xE9rences.",marketingText:"Cookies marketing",marketingDescription:"Autoriser le suivi pour personnaliser les publicit\xE9s et le marketing.",preferencesText:"Cookies de personnalisation",preferencesDescription:"Autoriser le suivi pour adapter l\u2019exp\xE9rience du site \xE0 vos centres d\u2019int\xE9r\xEAt.",analyticsText:"Cookies d\u2019analyse",analyticsDescription:"Autoriser le suivi du trafic du site pour am\xE9liorer ses performances.",saveLabel:"Enregistrer les pr\xE9f\xE9rences",triggerLabel:"Pr\xE9f\xE9rences de cookies"},"de-DE":{noticeHeader:"Diese Website verwendet Cookies",noticeDisclaimerImplicit:"Cookies auf dieser Website helfen dabei, Ihr Nutzungserlebnis zu verbessern und personalisierte Inhalte bereitzustellen. Wenn Sie weiter surfen, stimmen Sie der Verwendung dieser Cookies zu. <link>Mehr erfahren</link>",acceptText:"Alle akzeptieren",manageText:"Verwalten",noticeDisclaimerExplicit:"Cookies auf dieser Website helfen dabei, Ihr Nutzungserlebnis zu verbessern und personalisierte Inhalte bereitzustellen. Klicken Sie auf \u201EAlle akzeptieren\u201C, um der Verwendung dieser Cookies zuzustimmen. <link>Mehr erfahren</link>",rejectText:"Alle ablehnen",manageHeader:"Cookie-Einstellungen verwalten",manageDisclaimer:"Cookies auf dieser Website helfen dabei, Ihr Nutzungserlebnis zu verbessern und personalisierte Inhalte bereitzustellen. Sie k\xF6nnen essenzielle Cookies, die f\xFCr die grundlegende Funktionalit\xE4t erforderlich sind, nicht deaktivieren, aber Sie k\xF6nnen andere Kategorien nach Ihren Pr\xE4ferenzen ablehnen. <link>Mehr erfahren</link>",necessaryText:"Essenzielle Cookies",necessaryDescription:"Erforderlich zur Aktivierung der grundlegenden Website-Funktionen und zur Speicherung Ihrer Einstellungen.",marketingText:"Marketing-Cookie
8756s",marketingDescription:"Erlauben das Tracking zur Personalisierung von Werbung und zur Erfolgsmessung.",preferencesText:"Personalisierungs-Cookies",preferencesDescription:"Erlauben das Tracking, um Inhalte und Erlebnisse an Ihre Interessen anzupassen.",analyticsText:"Analyse-Cookies",analyticsDescription:"Erlauben das Tracking der Website-Nutzung zur Verbesserung der Leistung.",saveLabel:"Einstellungen speichern",triggerLabel:"Cookie-Einstellungen"},"es-ES":{noticeHeader:"Este sitio web utiliza cookies",noticeDisclaimerImplicit:"Las cookies en este sitio web ayudan a mejorar su experiencia y a ofrecer contenido personalizado. Al continuar navegando, acepta el uso de estas cookies. <link>Leer m\xE1s</link>",acceptText:"Aceptar todas",manageText:"Gestionar",noticeDisclaimerExplicit:"Las cookies en este sitio web ayudan a mejorar su experiencia y a ofrecer contenido personalizado. Haga clic en \u201CAceptar todas\u201D para consentir el uso de estas cookies. <link>Leer m\xE1s</link>",rejectText:"Rechazar todas",manageHeader:"Gestionar preferencias de cookies",manageDisclaimer:"Las cookies en este sitio web ayudan a mejorar su experiencia y a ofrecer contenido personalizado. No puede rechazar las cookies esenciales para el funcionamiento b\xE1sico, pero puede decidir no permitir otras categor\xEDas seg\xFAn sus preferencias. <link>Leer m\xE1s</link>",necessaryText:"Cookies esenciales",necessaryDescription:"Necesarias para activar las funciones b\xE1sicas del sitio y guardar sus preferencias.",marketingText:"Cookies de marketing",marketingDescription:"Permiten el seguimiento para personalizar la publicidad y medir su rendimiento.",preferencesText:"Cookies de personalizaci\xF3n",preferencesDescription:"Permiten el seguimiento para adaptar el sitio a sus intereses.",analyticsText:"Cookies de an\xE1lisis",analyticsDescription:"Permiten el seguimiento del uso del sitio para mejorar su rendimiento.",saveLabel:"Guardar preferencias",triggerLabel:"Preferencias de cookies"},"es-LA":{noticeHeader:"Este sitio utiliza cookies",noticeDisclaimerImplicit:"Las cookies en este sitio ayudan a mejorar su experiencia y a ofrecer contenido personalizado. Al seguir navegando, usted acepta el uso de estas cookies. <link>Leer m\xE1s</link>",acceptText:"Aceptar todas",manageText:"Administrar",noticeDisclaimerExplicit:"Las cookies en este sitio ayudan a mejorar su experiencia y a ofrecer contenido personalizado. Haga clic en \u201CAceptar todas\u201D para aceptar el uso de estas cookies. <link>Leer m\xE1s</link>",rejectText:"Rechazar todas",manageHeader:"Administrar preferencias de cookies",manageDisclaimer:"Las cookies en este sitio ayudan a mejorar su experiencia y a ofrecer contenido personalizado. No puede rechazar las cookies esenciales para el funcionamiento b\xE1sico, pero puede elegir no permitir otras categor\xEDas seg\xFAn sus preferencias. <link>Leer m\xE1s</link>",necessaryText:"Cookies esenciales",necessaryDescription:"Necesarias para habilitar funciones b\xE1sicas del sitio y guardar sus preferencias.",marketingText:"Cookies de marketing",marketingDescription:"Permiten el rastreo para personalizar anuncios y medir su rendimiento.",preferencesText:"Cookies de personalizaci\xF3n",preferencesDescription:"Permiten el rastreo para adaptar su experiencia seg\xFAn sus intereses.",analyticsText:"Cookies de an\xE1lisis",analyticsDescription:"Permiten el rastreo del uso del sitio para mejorar el rendimiento.",saveLabel:"Guardar preferencias",triggerLabel:"Preferencias de cookies"},"pt-BR":{noticeHeader:"Este site utiliza cookies",noticeDisclaimerImplicit:"Os cookies neste site ajudam a melhorar sua experi\xEAncia e a oferecer conte\xFAdo personalizado. Ao continuar navegando, voc\xEA concorda com o uso desses cookies. <link>Saiba mais</link>",acceptText:"Aceitar todos",manageText:"Gerenciar",noticeDisclaimerExplicit:"Os cookies neste site ajudam a melhorar sua experi\xEAncia e a oferecer conte\xFAdo personalizado. Clique em \u201CAceitar todos\u201D para consentir com o uso desses cookies. <link>Saiba mais</link>",rejectText:"Rejeitar todos",manageHeader:"Gerenciar prefer\xEAncias de cookies",manageDisclaimer:"Os cookies neste site ajudam a melhorar sua experi\xEAncia e a oferecer conte\xFAdo personalizado. N\xE3o \xE9 poss\xEDvel desativar os cookies essenciais para o funcionamento b\xE1sico, mas voc\xEA pode optar por n\xE3o permitir outras categorias de acordo com suas prefer\xEAncias. <link>Saiba mais</link>",necessaryText:"Cookies essenciais",necessaryDescription:"Necess\xE1rios para ativar funcionalidades principais do site e salvar suas prefer\xEAncias.",marketingText:"Cookies de marketing",marketingDescription:"Permitem o rastreamento para personalizar an\xFAncios e medir seu desempenho.",preferencesText:"Cookies de personaliza\xE7\xE3o",preferencesDescription:"Permitem o rastreamento para adaptar a experi\xEAncia do site aos seus interesses.",analyticsText:"Cookies de an\xE1lise",anal
8756yticsDescription:"Permitem o rastreamento do uso do site para melhorar seu desempenho.",saveLabel:"Salvar prefer\xEAncias",triggerLabel:"Prefer\xEAncias de cookies"},"ko-KR":{noticeHeader:"\uC774 \uC0AC\uC774\uD2B8\uB294 \uCFE0\uD0A4\uB97C \uC0AC\uC6A9\uD569\uB2C8\uB2E4",noticeDisclaimerImplicit:"\uC774 \uC0AC\uC774\uD2B8\uC758 \uCFE0\uD0A4\uB294 \uC0AC\uC6A9\uC790 \uACBD\uD5D8\uC744 \uAC1C\uC120\uD558\uACE0 \uAC1C\uC778\uD654\uB41C \uCF58\uD150\uCE20\uB97C \uC81C\uACF5\uD569\uB2C8\uB2E4. \uACC4\uC18D \uD0D0\uC0C9\uD558\uBA74 \uC774\uB7EC\uD55C \uCFE0\uD0A4 \uC0AC\uC6A9\uC5D0 \uB3D9\uC758\uD558\uB294 \uAC83\uC73C\uB85C \uAC04\uC8FC\uB429\uB2C8\uB2E4. <link>\uC790\uC138\uD788 \uC54C\uC544\uBCF4\uAE30</link>",acceptText:"\uBAA8\uB450 \uD5C8\uC6A9",manageText:"\uAD00\uB9AC",noticeDisclaimerExplicit:"\uC774 \uC0AC\uC774\uD2B8\uC758 \uCFE0\uD0A4\uB294 \uC0AC\uC6A9\uC790 \uACBD\uD5D8\uC744 \uAC1C\uC120\uD558\uACE0 \uAC1C\uC778\uD654\uB41C \uCF58\uD150\uCE20\uB97C \uC81C\uACF5\uD569\uB2C8\uB2E4. \u201C\uBAA8\uB450 \uD5C8\uC6A9\u201D\uC744 \uD074\uB9AD\uD558\uBA74 \uCFE0\uD0A4 \uC0AC\uC6A9\uC5D0 \uB3D9\uC758\uD558\uAC8C \uB429\uB2C8\uB2E4. <link>\uC790\uC138\uD788 \uC54C\uC544\uBCF4\uAE30</link>",rejectText:"\uBAA8\uB450 \uAC70\uBD80",manageHeader:"\uCFE0\uD0A4 \uD658\uACBD\uC124\uC815 \uAD00\uB9AC",manageDisclaimer:"\uC774 \uC0AC\uC774\uD2B8\uC758 \uCFE0\uD0A4\uB294 \uC0AC\uC6A9\uC790 \uACBD\uD5D8\uC744 \uAC1C\uC120\uD558\uACE0 \uAC1C\uC778\uD654\uB41C \uCF58\uD150\uCE20\uB97C \uC81C\uACF5\uD569\uB2C8\uB2E4. \uAE30\uBCF8 \uAE30\uB2A5\uC5D0 \uD544\uC218\uC801\uC778 \uCFE0\uD0A4\uB294 \uC120\uD0DD \uD574\uC81C\uD560 \uC218 \uC5C6\uC9C0\uB9CC, \uAE30\uD0C0 \uCE74\uD14C\uACE0\uB9AC\uB294 \uC124\uC815\uC5D0 \uB530\uB77C \uD5C8\uC6A9\uD558\uC9C0 \uC54A\uC744 \uC218 \uC788\uC2B5\uB2C8\uB2E4. <link>\uC790\uC138\uD788 \uC54C\uC544\uBCF4\uAE30</link>",necessaryText:"\uD544\uC218 \uCFE0\uD0A4",necessaryDescription:"\uD575\uC2EC \uC0AC\uC774\uD2B8 \uAE30\uB2A5 \uBC0F \uD658\uACBD\uC124\uC815 \uC720\uC9C0\uB97C \uC704\uD574 \uD544\uC694\uD569\uB2C8\uB2E4.",marketingText:"\uB9C8\uCF00\uD305 \uCFE0\uD0A4",marketingDescription:"\uAD11\uACE0 \uAC1C\uC778\uD654 \uBC0F \uCD94\uC801\uC744 \uC704\uD574 \uC0AC\uC6A9\uB429\uB2C8\uB2E4.",preferencesText:"\uAC1C\uC778\uD654 \uCFE0\uD0A4",preferencesDescription:"\uAD00\uC2EC\uC0AC\uC5D0 \uB9DE\uB294 \uCF58\uD150\uCE20 \uC81C\uACF5\uC744 \uC704\uD574 \uC0AC\uC6A9\uB429\uB2C8\uB2E4.",analyticsText:"\uBD84\uC11D \uCFE0\uD0A4",analyticsDescription:"\uC0AC\uC774\uD2B8 \uD2B8\uB798\uD53D \uBD84\uC11D \uBC0F \uC131\uB2A5 \uAC1C\uC120\uC744 \uC704\uD574 \uC0AC\uC6A9\uB429\uB2C8\uB2E4.",s
8756aveLabel:"\uD658\uACBD\uC124\uC815 \uC800\uC7A5",triggerLabel:"\uCFE0\uD0A4 \uD658\uACBD\uC124\uC815"},"ja-JP":{noticeHeader:"\u3053\u306E\u30B5\u30A4\u30C8\u306F\u30AF\u30C3\u30AD\u30FC\u3092\u4F7F\u7528\u3057\u3066\u3044\u307E\u3059",noticeDisclaimerImplicit:"\u3053\u306E\u30B5\u30A4\u30C8\u3067\u306F\u3001\u30AF\u30C3\u30AD\u30FC\u3092\u4F7F\u7528\u3057\u3066\u30E6\u30FC\u30B6\u30FC\u4F53\u9A13\u3092\u5411\u4E0A\u3055\u305B\u3001\u30D1\u30FC\u30BD\u30CA\u30E9\u30A4\u30BA\u3055\u308C\u305F\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u63D0\u4F9B\u3057\u3066\u3044\u307E\u3059\u3002\u5F15\u304D\u7D9A\u304D\u95B2\u89A7\u3092\u7D9A\u3051\u308B\u3053\u3068\u3067\u3001\u30AF\u30C3\u30AD\u30FC\u306E\u4F7F\u7528\u306B\u540C\u610F\u3057\u305F\u3082\u306E\u3068\u307F\u306A\u3055\u308C\u307E\u3059\u3002<link>\u8A73\u7D30\u3092\u898B\u308B</link>",acceptText:"\u3059\u3079\u3066\u8A31\u53EF",manageText:"\u7BA1\u7406",noticeDisclaimerExplicit:"\u3053\u306E\u30B5\u30A4\u30C8\u3067\u306F\u3001\u30AF\u30C3\u30AD\u30FC\u3092\u4F7F\u7528\u3057\u3066\u30E6\u30FC\u30B6\u30FC\u4F53\u9A13\u3092\u5411\u4E0A\u3055\u305B\u3001\u30D1\u30FC\u30BD\u30CA\u30E9\u30A4\u30BA\u3055\u308C\u305F\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u63D0\u4F9B\u3057\u3066\u3044\u307E\u3059\u3002\u300C\u3059\u3079\u3066\u8A31\u53EF\u300D\u3092\u30AF\u30EA\u30C3\u30AF\u3059\u308B\u3068\u3001\u30AF\u30C3\u30AD\u30FC\u306E\u4F7F\u7528\u306B\u540C\u610F\u3057\u305F\u3053\u3068\u306B\u306A\u308A\u307E\u3059\u3002<link>\u8A73\u7D30\u3092\u898B\u308B</link>",rejectText:"\u3059\u3079\u3066\u62D2\u5426",manageHeader:"\u30AF\u30C3\u30AD\u30FC\u8A2D\u5B9A\u3092\u7BA1\u7406",manageDisclaimer:"\u3053\u306E\u30B5\u30A4\u30C8\u3067\u306F\u3001\u30AF\u30C3\u30AD\u30FC\u3092\u4F7F\u7528\u3057\u3066\u30E6\u30FC\u30B6\u30FC\u4F53\u9A13\u3092\u5411\u4E0A\u3055\u305B\u3001\u30D1\u30FC\u30BD\u30CA\u30E9\u30A4\u30BA\u3055\u308C\u305F\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u63D0\u4F9B\u3057\u3066\u3044\u307E\u3059\u3002\u57FA\u672C\u7684\u306A\u6A5F\u80FD\u306B\u5FC5\u8981\u306A\u30AF\u30C3\u30AD\u30FC\u306F\u7121\u52B9\u306B\u3067\u304D\u307E\u305B\u3093\u304C\u3001\u305D\u308C\u4EE5\u5916\u306E\u30AB\u30C6\u30B4\u30EA\u306B\u3064\u3044\u3066\u306F\u8A2D\u5B9A\u306B\u5FDC\u3058\u3066\u7121\u52B9\u306B\u3067\u304D\u307E\u3059\u3002<link>\u8A73\u7D30\u3092\u898B\u308B</link>",necessaryText:"\u5FC5\u9808\u30AF\u30C3\u30AD\u30FC",necessaryDescription:"\u30B5\u30A4\u30C8\u306E\u57FA\u672C\u6A5F\u80FD\u3068\u8A2D\u5B9A\u306E\u4FDD\u6301\u306B\u5FC5\u8981\u3067\u3059\u3002",marketingText:"\u30DE\u30FC\u30B1\u30C6\u30A3\u30F3\u30B0\u30AF\u30C3\u30AD\u30FC",marketingDescription:"\u5E83\u544A\u306E\u30D1\u30FC\u30BD\u30CA\u30E9\u30A4\u30BA\u3068\u8FFD\u8DE1\u3092\u8A31\u53EF\u3057\u307E\u3059\u3002",preferencesText:"\u30D1\u30FC\u30BD\u30CA\u30E9\u30A4\u30BA\u30AF\u30C3\u30AD\u30FC",preferencesDescription:"\u8208\u5473\u306B\u57FA\u3065\u3044\u305F\u4F53\u9A13\u3092\u63D0\u4F9B\u3059\u308B\u305F\u3081\u306B\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002",analyticsText:"\u5206\u6790\u30AF\u30C3\u30AD\u30FC",analyticsDescription:"\u30B5\u30A4\u30C8\u306E\u5229\u7528\u72B6\u6CC1\u3092\u8FFD\u8DE1\u3057\u3066\u30D1\u30D5\u30A9\u30FC\u30DE\u30F3\u30B9\u3092\u54
875611\u4E0A\u3055\u305B\u307E\u3059\u3002",saveLabel:"\u8A2D\u5B9A\u3092\u4FDD\u5B58",triggerLabel:"\u30AF\u30C3\u30AD\u30FC\u8A2D\u5B9A"},"pl-PL":{noticeHeader:"Ta strona korzysta z plik\xF3w cookie",noticeDisclaimerImplicit:"Pliki cookie na tej stronie pomagaj\u0105 ulepszy\u0107 Twoje do\u015Bwiadczenia i dostarcza\u0107 spersonalizowane tre\u015Bci. Kontynuuj\u0105c przegl\u0105danie, wyra\u017Casz zgod\u0119 na ich u\u017Cycie. <link>Dowiedz si\u0119 wi\u0119cej</link>",acceptText:"Zaakceptuj wszystkie",manageText:"Zarz\u0105dzaj",noticeDisclaimerExplicit:"Pliki cookie na tej stronie pomagaj\u0105 ulepszy\u0107 Twoje do\u015Bwiadczenia i dostarcza\u0107 spersonalizowane tre\u015Bci. Kliknij \u201EZaakceptuj wszystkie\u201D, aby wyrazi\u0107 zgod\u0119 na ich u\u017Cycie. <link>Dowiedz si\u0119 wi\u0119cej</link>",rejectText:"Odrzu\u0107 wszystkie",manageHeader:"Zarz\u0105dzaj preferencjami plik\xF3w cookie",manageDisclaimer:"Pliki cookie na tej stronie pomagaj\u0105 ulepszy\u0107 Twoje do\u015Bwiadczenia i dostarcza\u0107 spersonalizowane tre\u015Bci. Nie mo\u017Cesz zrezygnowa\u0107 z plik\xF3w cookie niezb\u0119dnych do podstawowego dzia\u0142ania witryny, ale mo\u017Cesz odrzuci\u0107 inne kategorie wed\u0142ug w\u0142asnych preferencji. <link>Dowiedz si\u0119 wi\u0119cej</link>",necessaryText:"Niezb\u0119dne pliki cookie",necessaryDescription:"Wymagane do dzia\u0142ania podstawowych funkcji witryny i zapami\u0119tywania ustawie\u0144.",marketingText:"Pliki cookie marketingowe",marketingDescription:"Pozwalaj\u0105 na \u015Bledzenie w celu personalizacji reklam i pomiaru skuteczno\u015Bci.",preferencesText:"Pliki cookie personalizuj\u0105ce",preferencesDescription:"Pozwalaj\u0105 na dostosowanie tre\u015Bci do Twoich zainteresowa\u0144.",analyticsText:"Pliki cookie analityczne",analyticsDescription:"Pozwalaj\u0105 na analiz\u0119 ruchu i popraw\u0119 wydajno\u015Bci witryny.",saveLabel:"Zapisz preferencje",triggerLabel:"Preferencje plik\xF3w cookie"},"nl-NL":{noticeHeader:"Deze website maakt gebruik van cookies",noticeDisclaimerImplicit:"Cookies op deze website helpen uw ervaring te verbeteren en gepersonaliseerde inhoud aan te bieden. Door verder te gaan, stemt u in met het gebruik van deze cookies. <link>Meer informatie</link>",acceptText:"Alles accepteren",manageText:"Beheren",noticeDisclaimerExplicit:"Cookies op deze website helpen uw ervaring te verbeteren en gepersonaliseerde inhoud aan te bieden. Klik op \u201CAlles accepteren\u201D om in te stemmen met het gebruik van deze cookies. <link>Meer informatie</link>",rejectText:"Alles weigeren",manageHeader:"Cookievoorkeuren beheren",manageDisclaimer:"Cookies op deze website helpen uw ervaring te verbeteren en gepersonaliseerde inhoud aan te bieden. U kunt essenti\xEBle cookies, die nodig zijn voor de basisfunctionaliteit, niet uitschakelen, maar u kunt andere categorie\xEBn weigeren op basis van uw voorkeuren. <link>Meer informatie</link>",necessaryText:"Essenti\xEBle cookies",necessaryDescription:"Noodzakelijk voor de kernfunctionaliteit van de site en het opslaan van uw voorkeuren.",marketingText:"Marketingcookies",marketingDescription:"Sta tracking toe voor gepersonaliseerde advertenties en het meten van prestaties.",preferencesText:"Personalisatiecookies",preferencesDescription:"Sta tracking toe om de site-ervaring aan te passen aan uw interesses.",analyticsText:"Analysecookies",analyticsDescription:"Sta tracking toe om sitegebruik te analyseren en prestaties te verbeteren.",saveLabel:"Voorkeuren opslaan",triggerLabel:"Cookievoorkeuren"},"it-IT":{noticeHeader:"Questo sito utilizza i cookie",noticeDisclaimerImplicit:"I cookie su questo sito aiutano a migliorare la tua esperienza e a fornire contenuti personalizzati. Continuando a navigare, acconsenti all\u2019uso dei cookie. <link>Scopri di pi\xF9</link>",acceptText:"Accetta tutti",manageText:"Gestisci",noticeDisclaimerExplicit:"I cookie su questo sito aiutano a migliorare la tua esperienza e a fornire contenuti personalizzati. Clicca su \u201CAccetta tutti\u201D per acconsentire all\u2019uso dei cookie. <link>Scopri di pi\xF9</link>",rejectText:"Rifiuta tutti",manageHeader:"Gestisci preferenze cookie",manageDisclaimer:"I cookie su questo sito aiutano a migliorare la tua esperienza e a fornire contenuti personalizzati. Non puoi disattivare i cookie essenziali per il funzionamento di base, ma puoi scegliere di non consentire altre categorie secondo le tue preferenze. <link>Scopri di pi\xF9</link>",necessaryText:"Cookie essenziali",necessaryDescription:"Necessari per il funzionamento base del sito e il salvataggio delle preferenze.",marketingText:"Cookie di marketing",marketingDescription:"Consentono il tracciamento per la personalizzazione degli annunci e la misurazione delle prestazioni.",preferencesText:"Cookie di personalizzazione",preferencesDescription:"Consentono il tracciamento per personalizzare l\u2019esperienza in base ai tuoi interessi.",analyticsText:"Cookie di analisi",analyticsDescription:"Consentono il tracciamento dell\u2019uso del sito per migliorarne le prestazioni.",saveLabel:"Salva preferenze",triggerLabel:"Preferenze cookie"},"pt-PT":{noticeHeader:"Este site utiliza cookies",noticeDisclaimerImplicit:"Os cookies neste site ajudam a melhorar a sua experi\xEAncia e a fornecer conte\xFAdo personalizado. Ao continuar a navegar, est\xE1 a consentir a utiliza\xE7\xE3o destes cookies. <link>Saiba mais</link>",acceptText:"Aceitar todos",manageText:"Gerir",noticeDisclaimerExplicit:"Os cookies neste site ajudam a melhorar a sua experi\xEAncia e a fornecer conte\xFAdo personalizado. Clique em \u201CAceitar todos\u201D para consentir a utiliza\xE7\xE3o destes cookies. <link>Saiba mais</link>",rejectText:"Rejeitar todos",manageHeader:"Gerir prefer\xEAncias de cookies",manageDisclaimer:"Os cookies neste site ajudam a melhorar a sua experi\xEAncia e a fornecer conte\xFAdo personalizado. N\xE3o pode desativar os cookies essenciais ao funcionamento b\xE1sico, mas pode recusar outras categorias de acordo com as suas prefer\xEAncias. <link>Saiba mais</link>",necessaryText:"Cookies essenciais",necessaryDescription:"Necess\xE1rios para ativar funcionalidades b\xE1sicas do site e guardar as suas prefer\xEAncias.",marketingText:"Cookies de marketing",marketingDescription:"Permitem a monitoriza\xE7\xE3o para personalizar an\xFAncios e medir o desempenho.",preferencesText:"Cookies de personaliza\xE7\xE3o",preferencesDescription:"Permitem a monitoriza\xE7\xE3o para adaptar a experi\xEAncia do site aos seus interesses.",analyticsText:"Cookies de an\xE1lise",anal
8756yticsDescription:"Permitem a monitoriza\xE7\xE3o da utiliza\xE7\xE3o do site para melhorar o desempenho.",saveLabel:"Guardar prefer\xEAncias",triggerLabel:"Prefer\xEAncias de cookies"},"sv-SE":{noticeHeader:"Den h\xE4r webbplatsen anv\xE4nder cookies",noticeDisclaimerImplicit:"Cookies p\xE5 den h\xE4r webbplatsen hj\xE4lper till att f\xF6rb\xE4ttra din upplevelse och visa personligt inneh\xE5ll. Genom att forts\xE4tta surfa samtycker du till anv\xE4ndningen av cookies. <link>L\xE4s mer</link>",acceptText:"Acceptera alla",manageText:"Hantera",noticeDisclaimerExplicit:"Cookies p\xE5 den h\xE4r webbplatsen hj\xE4lper till att f\xF6rb\xE4ttra din upplevelse och visa personligt inneh\xE5ll. Klicka p\xE5 \u201DAcceptera alla\u201D f\xF6r att godk\xE4nna anv\xE4ndningen av cookies. <link>L\xE4s mer</link>",rejectText:"Avvisa alla",manageHeader:"Hantera cookieinst\xE4llningar",manageDisclaimer:"Cookies p\xE5 den h\xE4r webbplatsen hj\xE4lper till att f\xF6rb\xE4ttra din upplevelse och visa personligt inneh\xE5ll. Du kan inte v\xE4lja bort cookies som \xE4r n\xF6dv\xE4ndiga f\xF6r grundl\xE4ggande funktioner, men du kan v\xE4lja bort andra kategorier enligt dina preferenser. <link>L\xE4s mer</link>",necessaryText:"N\xF6dv\xE4ndiga cookies",necessaryDescription:"Kr\xE4vs f\xF6r grundl\xE4ggande funktionalitet och f\xF6r att spara inst\xE4llningar.",marketingText:"Marknadsf\xF6ringscookies",marketingDescription:"Till\xE5ter sp\xE5rning f\xF6r att anpassa annonser och m\xE4ta resultat.",preferencesText:"Personaliseringcookies",preferencesDescription:"Till\xE5ter sp\xE5rning f\xF6r att anpassa upplevelsen efter dina intressen.",analyticsText:"Analyscookies",analyticsDescription:"Till\xE5ter sp\xE5rning av anv\xE4ndning f\xF6r att f\xF6rb\xE4ttra prestanda.",saveLabel:"Spara inst\xE4llningar",triggerLabel:"Cookieinst\xE4llningar"},"da-DK":{noticeHeader:"Dette websted bruger cookies",noticeDisclaimerImplicit:"Cookies p\xE5 dette websted hj\xE6lper med at forbedre din oplevelse og levere tilpasset indhold. Ved at forts\xE6tte med at bruge siden accepterer du brugen af cookies. <link>L\xE6s mere</link>",acceptText:"Accept\xE9r alle",manageText:"Administrer",noticeDisclaimerExplicit:'Cookies p\xE5 dette websted hj\xE6lper med at forbedre din oplevelse og levere tilpasset indhold. Klik p\xE5 "Accept\xE9r alle" for at acceptere brugen af cookies. <link>L\xE6s mere</link>',rejectText:"Afvis alle",manageHeader:"Administrer cookieindstillinger",manageDisclaimer:"Cookies p\xE5 dette websted hj\xE6lper med at forbedre din oplevelse og levere tilpasset indhold. Du kan ikke frav\xE6lge cookies, der er n\xF8dvendige for grundl\xE6ggende funktioner, men du kan v\xE6lge at afvise andre kategorier efter dine pr\xE6ferencer. <link>L\xE6s mere</link>",necessaryText:"N\xF8dvendige cookies",necessaryDescription:"N\xF8dvendige for grundl\xE6ggende funktionalitet og for at gemme dine indstillinger.",marketingText:"Marketingcookies",marketingDescription:"Tillad sporing for at aktivere tilpasning af annoncer og sporing.",preferencesText:"Tilpasningscookies",preferencesDescription:"Tillad sporing for at tilpasse webstedet efter dine interesser.",analyticsText:"Analysecookies",analyticsDescription:"Tillad sporing af webstedstrafik for at forbedre webstedets effektivitet.",saveLabel:"Gem indstillinger",triggerLabel:"Cookieindstillinger"},"fi-FI":{noticeHeader:"T\xE4m\xE4 sivusto k\xE4ytt\xE4\xE4 ev\xE4steit\xE4",noticeDisclaimerImplicit:"T\xE4m\xE4n sivuston ev\xE4steet parantavat k\xE4ytt\xF6kokemustasi ja tarjoavat personoitua sis\xE4lt\xF6\xE4. Jatkamalla selaamista hyv\xE4ksyt n\xE4iden ev\xE4steiden k\xE4yt\xF6n. <link>Lue lis\xE4\xE4</link>",acceptText:"Hyv\xE4ksy kaikki",manageText:"Hallitse",noticeDisclaimerExplicit:"T\xE4m\xE4n sivuston ev\xE4steet parantavat k\xE4ytt\xF6kokemustasi ja tarjoavat personoitua sis\xE4lt\xF6\xE4. Napsauta \u201DHyv\xE4ksy kaikki\u201D ev\xE4steiden k\xE4yt\xF6n hyv\xE4ksymiseksi. <link>Lue lis\xE4\xE4</link>",rejectText:"Hylk\xE4\xE4 kaikki",manageHeader:"Hallitse ev\xE4steasetuksia",manageDisclaimer:"T\xE4m\xE4n sivuston ev\xE4steet parantavat k\xE4ytt\xF6kokemustasi ja tarjoavat personoitua sis\xE4lt\xF6\xE4. V\xE4ltt\xE4m\xE4tt\xF6m
8756i\xE4 ev\xE4steit\xE4 ei voi poistaa k\xE4yt\xF6st\xE4, mutta voit est\xE4\xE4 muita ev\xE4stetyyppej\xE4 omien mieltymystesi mukaan. <link>Lue lis\xE4\xE4</link>",necessaryText:"V\xE4ltt\xE4m\xE4tt\xF6m\xE4t ev\xE4steet",necessaryDescription:"Tarvitaan sivuston perustoimintojen mahdollistamiseen ja asetusten tallentamiseen.",marketingText:"Markkinointiev\xE4steet",marketingDescription:"Sallivat seurannan mainonnan personointia ja mittaamista varten.",preferencesText:"Personointiev\xE4steet",preferencesDescription:"Sallivat seurannan sivuston k\xE4ytt\xF6kokemuksen r\xE4\xE4t\xE4l\xF6intiin omien kiinnostuksen kohteidesi mukaan.",analyticsText:"Analytiikkaev\xE4steet",analyticsDescription:"Sallivat sivuston verkkoliikenteen seurannan sivuston suorituskyvyn parantamiseksi.",saveLabel:"Tallenna asetukset",triggerLabel:"Ev\xE4steasetukset"},"cs-CZ":{noticeHeader:"Tato str\xE1nka pou\u017E\xEDv\xE1 soubory cookie",noticeDisclaimerImplicit:"Soubory cookie na t\xE9to str\xE1nce pom\xE1haj\xED zlep\u0161it va\u0161e zku\u0161enosti a poskytovat personalizovan\xFD obsah. Pokra\u010Dov\xE1n\xEDm v prohl\xED\u017Een\xED vyjad\u0159ujete souhlas s pou\u017E\xEDv\xE1n\xEDm t\u011Bchto soubor\u016F cookie. <link>V\xEDce informac\xED</link>",acceptText:"P\u0159ijmout v\u0161e",manageText:"Spravovat",noticeDisclaimerExplicit:"Soubory cookie na t\xE9to str\xE1nce pom\xE1haj\xED zlep\u0161it va\u0161e zku\u0161enosti a poskytovat personalizovan\xFD obsah. Kliknut\xEDm na \u201EP\u0159ijmout v\u0161e\u201C vyjad\u0159ujete souhlas s pou\u017E\xEDv\xE1n\xEDm t\u011Bchto soubor\u016F cookie. <link>V\xEDce informac\xED</link>",rejectText:"Odm\xEDtnout v\u0161e",manageHeader:"Spravovat p\u0159edvolby soubor\u
8756016F cookie",manageDisclaimer:"Soubory cookie na t\xE9to str\xE1nce pom\xE1haj\xED zlep\u0161it va\u0161e zku\u0161enosti a poskytovat personalizovan\xFD obsah. Nelze odm\xEDtnout soubory cookie, kter\xE9 jsou nezbytn\xE9 pro z\xE1kladn\xED funk\u010Dnost, ale m\u016F\u017Eete se rozhodnout nepovolit ostatn\xED kategorie podle sv\xFDch p\u0159edvoleb. <link>V\xEDce informac\xED</link>",necessaryText:"Nezbytn\xE9 soubory cookie",necessaryDescription:"Vy\u017Eadov\xE1ny k umo\u017En\u011Bn\xED z\xE1kladn\xED funk\u010Dnosti a p\u0159edvoleb str\xE1nky.",marketingText:"Marketingov\xE9 soubory cookie",marketingDescription:"Umo\u017E\u0148uj\xED sledov\xE1n\xED za \xFA\u010Delem personalizace reklam a m\u011B\u0159en\xED jejich \xFA\u010Dinnosti.",preferencesText:"Personaliza\u010Dn\xED soubory cookie",preferencesDescription:"Umo\u017E\u0148uj\xED sledov\xE1n\xED za \xFA\u010Delem p\u0159izp\u016Fsoben\xED prost\u0159ed\xED webu va\u0161im z\xE1jm\u016Fm.",analyticsText:"Analytick\xE9 soubory cookie",analyticsDescription:"Umo\u017E\u0148uj\xED sledov\xE1n\xED n\xE1v\u0161t\u011Bvnosti webu pro zlep\u0161en\xED jeho v\xFDkonu.",saveLabel:"Ulo\u017Eit p\u0159edvolby",triggerLabel:"P\u0159edvolby soubor\u
8756016F cookie"},"hu-HU":{noticeHeader:"Ez a webhely cookie-kat haszn\xE1l",noticeDisclaimerImplicit:"Ez a webhely cookie-kat haszn\xE1l az \xE9lm\xE9ny jav\xEDt\xE1sa \xE9s a szem\xE9lyre szabott tartalom megjelen\xEDt\xE9se \xE9rdek\xE9ben. A b\xF6ng\xE9sz\xE9s folytat\xE1s\xE1val \xD6n elfogadja a cookie-k haszn\xE1lat\xE1t. <link>Tov\xE1bbi inform\xE1ci\xF3</link>",acceptText:"\xD6sszes elfogad\xE1sa",manageText:"Kezel\xE9s",noticeDisclaimerExplicit:"Ez a webhely cookie-kat haszn\xE1l az \xE9lm\xE9ny jav\xEDt\xE1sa \xE9s a szem\xE9lyre szabott tartalom megjelen\xEDt\xE9se \xE9rdek\xE9ben. Kattintson az \u201E\xD6sszes elfogad\xE1sa\u201D gombra a cookie-k haszn\xE1lat\xE1nak enged\xE9lyez\xE9s\xE9hez. <link>Tov\xE1bbi inform\xE1ci\xF3</link>",rejectText:"\xD6sszes elutas\xEDt\xE1sa",manageHeader:"Cookie-be\xE1ll\xEDt\xE1sok kezel\xE9se",manageDisclaimer:"Ez a webhely cookie-kat haszn\xE1l az \xE9lm\xE9ny jav\xEDt\xE1sa \xE9s a szem\xE9lyre szabott tartalom megjelen\xEDt\xE9se \xE9rdek\xE9ben. Az alapvet\u0151 funkci\xF3khoz sz\xFCks\xE9ges cookie-kat nem lehet letiltani, de a t\xF6bbi kateg\xF3ria enged\xE9lyez\xE9s\xE9t be\xE1ll\xEDthatja a saj\xE1t preferenci\xE1i szerint. <link>Tov\xE1bbi inform\xE1ci\xF3</link>",necessaryText:"Alapvet\u0151 cookie-k",necessaryDescription:"A webhely alapvet\u0151 funkci\xF3inak m\u0171k\xF6d\xE9s\xE9hez \xE9s a be\xE1ll\xEDt\xE1sok ment\xE9s\xE9hez sz\xFCks\xE9gesek.",marketingText:"Marketing cookie-k",marketingDescription:"Lehet\u0151v\xE9 teszik a nyomon k\xF6vet\xE9st a hirdet\xE9sek szem\xE9lyre szab\xE1s\xE1hoz \xE9s teljes\xEDtm\xE9ny\xFCk m\xE9r\xE9s\xE9hez.",preferencesText:"Szem\xE9lyre szab\xE1si cookie-k",preferencesDescription:"Lehet\u0151v\xE9 teszik a felhaszn\xE1l\xF3i \xE9lm\xE9ny \xE9rdekl\u0151d\xE9si k\xF6r\xF6k\xF6n alapul\xF3 szem\xE9lyre szab\xE1s\xE1t.",analyticsText:"Analitikai cookie-k",analyticsDescription:"A webhelyhaszn\xE1lat nyomon k\xF6vet\xE9s\xE9re \xE9s a teljes\xEDtm\xE9ny jav\xEDt\xE1s\xE1ra szolg\xE1lnak.",saveLabel:"Be\xE1ll\xEDt\xE1sok ment\xE9se",triggerLabel:"Cookie-be\xE1ll\xEDt\xE1sok"}
8756,"el-GR":{noticeHeader:"\u0391\u03C5\u03C4\u03CC\u03C2 \u03BF \u03B9\u03C3\u03C4\u03CC\u03C4\u03BF\u03C0\u03BF\u03C2 \u03C7\u03C1\u03B7\u03C3\u03B9\u03BC\u03BF\u03C0\u03BF\u03B9\u03B5\u03AF cookies",noticeDisclaimerImplicit:"\u03A4\u03B1 cookies \u03C3\u03B5 \u03B1\u03C5\u03C4\u03CC\u03BD \u03C4\u03BF\u03BD \u03B9\u03C3\u03C4\u03CC\u03C4\u03BF\u03C0\u03BF \u03B2\u03BF\u03B7\u03B8\u03BF\u03CD\u03BD \u03C3\u03C4\u03B7 \u03B2\u03B5\u03BB\u03C4\u03AF\u03C9\u03C3\u03B7 \u03C4\u03B7\u03C2 \u03B5\u03BC\u03C0\u03B5\u03B9\u03C1\u03AF\u03B1\u03C2 \u03C3\u03B1\u03C2 \u03BA\u03B1\u03B9 \u03C3\u03C4\u03B7\u03BD \u03C0\u03B1\u03C1\u03BF\u03C7\u03AE \u03B5\u03BE\u03B1\u03C4\u03BF\u03BC\u03B9\u03BA\u03B5\u03C5\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C0\u03B5\u03C1\u03B9\u03B5\u03C7\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5. \u03A3\u03C5\u03BD\u03B5\u03C7\u03AF\u03B6\u03BF\u03BD\u03C4\u03B1\u03C2 \u03C4\u03B7\u03BD \u03C0\u03B5\u03C1\u03B9\u03AE\u03B3\u03B7\u03C3\u03B7, \u03B1\u03C0\u03BF\u03B4\u03AD\u03C7\u03B5\u03C3\u03C4\u03B5 \u03C4\u03B7 \u03C7\u03C1\u03AE\u03C3\u03B7 \u03C4\u03C9\u03BD cookies. <link>\u039C\u03AC\u03B8\u03B5\u03C4\u03B5 \u03C0\u03B5\u03C1\u03B9\u03C3\u03C3\u03CC\u03C4\u03B5\u03C1\u03B1</link>",acceptText:"\u0391\u03C0\u03BF\u03B4\u03BF\u03C7\u03AE \u03CC\u03BB\u03C9\u03BD",manageText:"\u0394\u03B9\u03B1\u03C7\u03B5\u03AF\u03C1\u03B9\u03C3\u03B7",noticeDisclaimerExplicit:"\u03A4\u03B1 cookies \u03C3\u03B5 \u03B1\u03C5\u03C4\u03CC\u03BD \u03C4\u03BF\u03BD \u03B9\u03C3\u03C4\u03CC\u03C4\u03BF\u03C0\u03BF \u03B2\u03BF\u03B7\u03B8\u03BF\u03CD\u03BD \u03C3\u03C4\u03B7 \u03B2\u03B5\u03BB\u03C4\u03AF\u03C9\u03C3\u03B7 \u03C4\u03B7\u03C2 \u03B5\u03BC\u03C0\u03B5\u03B9\u03C1\u03AF\u03B1\u03C2 \u03C3\u03B1\u03C2 \u03BA\u03B1\u03B9 \u03C3\u03C4\u03B7\u03BD \u03C0\u03B1\u03C1\u03BF\u03C7\u03AE \u03B5\u03BE\u03B1\u03C4\u03BF\u03BC\u03B9\u03BA\u03B5\u03C5\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C0\u03B5\u03C1\u03B9\u03B5\u03C7\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5. \u039A\u03AC\u03BD\u03C4\u03B5 \u03BA\u03BB\u03B9\u03BA \u03C3\u03C4\u03B7\u03BD \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE \u201C\u0391\u03C0\u03BF\u03B4\u03BF\u03C7\u03AE \u03CC\u03BB\u03C9\u03BD\u201D \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03B4\u03CE\u03C3\u03B5\u03C4\u03B5 \u03C4\u03B7 \u03C3\u03C5\u03B3\u03BA\u03B1\u03C4\u03AC\u03B8\u03B5\u03C3\u03AE \u03C3\u03B1\u03C2 \u03C3\u03C4\u03B7 \u03C7\u03C1\u03AE\u03C3\u03B7 \u03C4\u03C9\u03BD cookies. <link>\u039C\u03AC\u03B8\u03B5\u03C4\u03B5 \u03C0\u03B5\u03C1\u03B9\u03C3\u03C3\u03CC\u03C4\u03B5\u03C1\u03B1</link>",rejectText:"\u0391\u03C0\u03CC\u03C1\u03C1\u03B9\u03C8\u03B7 \u03CC\u03BB\u03C9\u03BD",manageHeader:"\u0394\u03B9\u03B1\u03C7\u03B5\u03AF\u03C1\u03B9\u03C3\u03B7 \u03C0\u03C1\u03BF\u03C4\u03B9\u03BC\u03AE\u03C3\u03B5\u03C9\u03BD cookies",manageDisclaimer:"\u03A4\u03B1 cookies \u03C3\u03B5 \u03B1\u03C5\u03C4\u03CC\u03BD \u03C4\u03BF\u03BD \u03B9\u03C3\u03C4\u03CC\u03C4\u03BF\u03C0\u03BF \u03B2\u03BF\u03B7\u03B8\u03BF\u03CD\u03BD \u03C3\u03C4\u03B7 \u03B2\u03B5\u03BB\u03C4\u03AF\u03C9\u03C3\u03B7 \u03C4\u03B7\u03C2 \u03B5\u03BC\u03C0\u03B5\u03B9\u03C1\u03AF\u03B1\u03C2 \u03C3\u03B1\u03C2 \u03BA\u03B1\u03B9 \u03C3\u03C4\u03B7\u03BD \u03C0\u03B1\u03C1\u03BF\u03C7\u03AE \u03B5\u03BE\u03B1\u03C4\u03BF\u03BC\u03B9\u03BA\u03B5\u03C5\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C0\u03B5\u03C1\u03B9\u03B5\u03C7\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5. \u0394\u03B5\u03BD \u03BC\u03C0\u03BF\u03C1\u03B5\u03AF\u03C4\u03B5 \u03BD\u03B1 \u03B1\u03C0\u03BF\u03C1\u03C1\u03AF\u03C8\u03B5\u03C4\u03B5 \u03C4\u03B1 \u03B1\u03C0\u03BF\u03BB\u03CD\u03C4\u03C9\u03C2 \u03B1\u03C0\u03B1\u03C1\u03B1\u03AF\u03C4\u03B7\u03C4\u03B1 cookies, \u03B1\u03BB\u03BB\u03AC \u03BC\u03C0\u03BF\u03C1\u03B5\u03AF\u03C4\u03B5 \u03BD\u03B1 \u03B1\u03C0\u03B5\u03BD\u03B5\u03C1\u03B3\u03BF\u03C0\u03BF\u03B9\u03AE\u03C3\u03B5\u03C4\u03B5 \u03AC\u03BB\u03BB\u03B5\u03C2 \u03BA\u03B1\u03C4\u03B7\u03B3\u03BF\u03C1\u03AF\u03B5\u03C2 \u03C3\u03CD\u03BC\u03C6\u03C9\u03BD\u03B1 \u03BC\u03B5 \u03C4\u03B9\u03C2 \u03C0\u03C1\u03BF\u03C4\u03B9\u03BC\u03AE\u03C3\u03B5\u03B9\u03C2 \u03C3\u03B1\u03C2. <link>\u039C\u03AC\u03B8\u03B5\u03C4\u03B5 \u03C0\u03B5\u03C1\u03B9\u03C3\u03C3\u03CC\u03C4\u03B5\u03C1\u03B1</link>",necessaryText:"\u0391\u03C0\u03B1\u03C1\u03B1\u03AF\u03C4\u03B7\u03C4\u03B1 cookies",necessaryDescription:"\u0391\u03C0\u03B1\u03B9\u03C4\u03BF\u03CD\u03BD\u03C4\u03B1\u03B9 \u03B3\u03B9\u03B1 \u03B2\u03B1\u03C3\u03B9\u03BA\u03AD\u03C2 \u03BB\u03B5\u03B9\u03C4\u03BF\u03C5\u03C1\u03B3\u03AF\u03B5\u03C2 \u03C4\u03BF\u03C5 \u03B9\u03C3\u03C4\u03CC\u03C4\u03BF\u03C0\u03BF\u03C5 \u03BA\u03B1\u03B9 \u03B1\u03C0\u03BF\u03B8\u03AE\u03BA\u03B5\u03C5\u03C3\u03B7 \u03C0\u03C1\u03BF\u03C4\u03B9\u03BC\u03AE\u03C3\u03B5\u03C9\u03BD.",marketingText:"Cookies \u03BC\u03AC\u03C1\u03BA\u03B5\u03C4\u03B9\u03BD\u03B3\u03BA",marketingDescription:"\u0395\u03C0\u03B9\u03C4\u03C1\u03AD\u03C0\u03BF\u03C5\u03BD \u03C4\u03B7\u03BD \u03C0\u03B1\u03C1\u03B1\u03BA\u03BF\u03BB\u03BF\u03CD\u03B8\u03B7\u03C3\u03B7 \u03B3\u03B9\u03B1 \u03B5\u03BE\u03B1\u03C4\u03BF\u03BC\u03AF\u03BA\u03B5\u03C5\u03C3\u03B7 \u03B4\u03B9\u03B1\u03C6\u03B7\u03BC\u03AF\u03C3\u03B5\u03C9\u03BD \u03BA\u03B1\u03B9 \u03BC\u03AD\u03C4\u03C1\u03B7\u03C3\u03B7 \u03B1\u03C0\u03CC\u03B4\u03BF\u03C3\u03B7\u03C2.",preferencesText:"Cookies \u03B5\u03BE\u03B1\u03C4\u03BF\u03BC\u03AF\u03BA\u03B5\u03C5\u03C3\u03B7\u03C2",preferencesDescription:"\u0395\u03C0\u03B9\u03C4\u03C1\u03AD\u03C0\u03BF\u03C5\u03BD \u03C4\u03B7\u03BD \u03C0\u03B1\u03C1\u03B1\u03BA\u03BF\u03BB\u03BF\u03CD\u03B8\u03B7\u03C3\u03B7 \u03B3\u03B9\u03B1 \u03C0\u03C1\u03BF\u03C3\u03B1\u03C1\u03BC\u03BF\u03B3\u03AE \u03C4\u03B7\u03C2 \u03B5\u03BC\u03C0\u03B5\u03B9\u03C1\u03AF\u03B1\u03C2 \u03C3\u03CD\u03BC\u03C6\u03C9\u03BD\u03B1 \u03BC\u03B5 \u03C4\u03B1 \u03B5\u03BD\u03B4\u03B9\u03B1\u03C6\u03AD\u03C1\u03BF\u03BD\u03C4\u03AC \u03C3\u03B1\u03C2.",anal
8756yticsText:"Cookies \u03B1\u03BD\u03AC\u03BB\u03C5\u03C3\u03B7\u03C2",analyticsDescription:"\u0395\u03C0\u03B9\u03C4\u03C1\u03AD\u03C0\u03BF\u03C5\u03BD \u03C4\u03B7\u03BD \u03C0\u03B1\u03C1\u03B1\u03BA\u03BF\u03BB\u03BF\u03CD\u03B8\u03B7\u03C3\u03B7 \u03C4\u03B7\u03C2 \u03C7\u03C1\u03AE\u03C3\u03B7\u03C2 \u03C4\u03BF\u03C5 \u03B9\u03C3\u03C4\u03CC\u03C4\u03BF\u03C0\u03BF\u03C5 \u03B3\u03B9\u03B1 \u03C4\u03B7 \u03B2\u03B5\u03BB\u03C4\u03AF\u03C9\u03C3\u03B7 \u03C4\u03C9\u03BD \u03B5\u03C0\u03B9\u03B4\u03CC\u03C3\u03B5\u03C9\u03BD.",saveLabel:"\u0391\u03C0\u03BF\u03B8\u03AE\u03BA\u03B5\u03C5\u03C3\u03B7 \u03C0\u03C1\u03BF\u03C4\u03B9\u03BC\u03AE\u03C3\u03B5\u03C9\u03BD",triggerLabel:"\u03A0\u03C1\u03BF\u03C4\u03B9\u03BC\u03AE\u03C3\u03B5\u03B9\u03C2 cookies"},"ro-RO":{noticeHeader:"Acest site folose\u0219te cookie-uri",noticeDisclaimerImplicit:"Cookie-urile de pe acest site ajut\u0103 la \xEEmbun\u0103t\u0103\u021Birea experien\u021Bei \u0219i la furnizarea de con\u021Binut personalizat. Continu\xE2nd navigarea, sunte\u021Bi de acord cu utilizarea cookie-urilor. <link>Citi\u021Bi mai multe</link>",acceptText:"Accepta\u021Bi toate",manageText:"Gestionare",noticeDisclaimerExplicit:"Cookie-urile de pe acest site ajut\u0103 la \xEEmbun\u0103t\u0103\u021Birea experien\u021Bei \u0219i la furnizarea de con\u021Binut personalizat. Face\u021Bi clic pe \u201EAccepta\u021Bi toate\u201D pentru a v\u0103 da consim\u021B\u0103m\xE2ntul pentru utilizarea cookie-urilor. <link>Citi\u021Bi mai multe</link>",rejectText:"Respinge\u021Bi toate",manageHeader:"Gestiona\u021Bi preferin\u021Bele legate de cookie",manageDisclaimer:"Cookie-urile de pe acest site ajut\u0103 la \xEEmbun\u0103t\u0103\u021Birea experien\u021Bei \u0219i la furnizarea de con\u021Binut personalizat. Nu pute\u021Bi refuza cookie-urile esen\u021Biale pentru func\u021Bionalitatea de baz\u0103, dar pute\u021Bi refuza alte categorii conform preferin\u021Belor dvs. <link>Citi\u021Bi mai multe</link>",necessaryText:"Cookie-uri esen\u021Biale",necessaryDescription:"Necesare pentru func\u021Biile de baz\u0103 ale site-ului \u0219i salvarea preferin\u021Belor.",marketingText:"Cookie-uri de marketing",marketingDescription:"Permit urm\u0103rirea pentru personalizarea \u0219i urm\u0103rirea reclamelor.",preferencesText:"Cookie-uri de personalizare",preferencesDescription:"Permit urm\u0103rirea pentru adaptarea experien\u021Bei de utilizare a site-ului la interesele dvs.",analyticsText:"Cookie-uri de analiz\u0103",analyticsDescription:"Permit urm\u0103rirea traficului de pe site pentru \xEEmbun\u0103t\u0103\u021Birea performan\u021Bei.",saveLabel:"Salva\u021Bi preferin\u021Bele",triggerLabel:"Preferin\u021Be legate de cookie"},"sk-SK":{noticeHeader:"T\xE1to lokalita pou\u017E\xEDva s\xFAbory cookie",noticeDisclaimerImplicit:"S\xFAbory cookie na tejto lokalite pom\xE1haj\xFA zlep\u0161i\u0165 v\xE1\u0161 z\xE1\u017Eitok a poskytova\u0165 personalizovan\xFD obsah. Pokra\u010Dovan\xEDm v prehliadan\xED s\xFAhlas\xEDte s ich pou\u017E\xEDvan\xEDm. <link>Viac inform\xE1ci\xED</link>",acceptText:"Prija\u0165 v\u0161etky",manageText:"Spravova\u0165",noticeDisclaimerExplicit:"S\xFAbory cookie na tejto lokalite pom\xE1haj\xFA zlep\u0161i\u0165 v\xE1\u0161 z\xE1\u017Eitok a poskytova\u0165 personalizovan\xFD obsah. Kliknut\xEDm na tla\u010Didlo Prija\u0165 v\u0161etky s\xFAhlas\xEDte s ich pou\u017E\xEDvan\xEDm. <link>Viac inform\xE1ci\xED</link>",rejectText:"Odmietnu\u0165 v\u0161etky",manageHeader:"Spr\xE1va predvolieb s\xFAborov cookie",manageDisclaimer:"S\xFAbory cookie na tejto lokalite pom\xE1haj\xFA zlep\u0161i\u0165 v\xE1\u0161 z\xE1\u017Eitok a poskytova\u0165 personalizovan\xFD obsah. Nevyhnutn\xE9 s\xFAbory cookie, ktor\xE9 zabezpe\u010Duj\xFA z\xE1kladn\xE9 funkcie, nie je mo\u017En\xE9 zak\xE1za\u0165, ale in\xE9 kateg\xF3rie m\xF4\u017Eete zak\xE1za\u0165 pod\u013Ea svojich preferenci\xED. <link>Viac inform\xE1ci\xED</link>",necessaryText:"Nevyhnutn\xE9 s\xFAbory cookie",necessaryDescription:"Potrebn\xE9 na povolenie z\xE1kladn\xFDch funkci\xED lokality a predvolieb.",marketingText:"Marketingov\xE9 s\xFAbory cookie",marketingDescription:"Umo\u017E\u0148uj\xFA sledovanie na prisp\xF4sobenie a meranie v\xFDkonu rekl\xE1m.",preferencesText:"Personaliza\u010Dn\xE9 s\xFAbory cookie",preferencesDescription:"Umo\u017E\u0148uj\xFA sledovanie na prisp\xF4sobenie lokality pod\u013Ea va\u0161ich z\xE1ujmov.",analyticsText:"Analytick\xE9 s\xFAbory cookie",anal
8756yticsDescription:"Umo\u017E\u0148uj\xFA sledovanie pou\u017E\xEDvania lokality na zlep\u0161enie jej v\xFDkonnosti.",saveLabel:"Ulo\u017Ei\u0165 predvo\u013Eby",triggerLabel:"Predvo\u013Eby s\xFAborov cookie"},"bg-BG":{noticeHeader:"\u0422\u043E\u0437\u0438 \u0441\u0430\u0439\u0442 \u0438\u0437\u043F\u043E\u043B\u0437\u0432\u0430 \u0431\u0438\u0441\u043A\u0432\u0438\u0442\u043A\u0438",noticeDisclaimerImplicit:"\u0411\u0438\u0441\u043A\u0432\u0438\u0442\u043A\u0438\u0442\u0435 \u043D\u0430 \u0442\u043E\u0437\u0438 \u0441\u0430\u0439\u0442 \u043F\u043E\u043C\u0430\u0433\u0430\u0442 \u0437\u0430 \u043F\u043E\u0434\u043E\u0431\u0440\u044F\u0432\u0430\u043D\u0435 \u043D\u0430 \u0432\u0430\u0448\u0435\u0442\u043E \u0438\u0437\u0436\u0438\u0432\u044F\u0432\u0430\u043D\u0435 \u0438 \u043F\u0440\u0435\u0434\u043E\u0441\u0442\u0430\u0432\u044F\u043D\u0435 \u043D\u0430 \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u0438\u0437\u0438\u0440\u0430\u043D\u043E \u0441\u044A\u0434\u044A\u0440\u0436\u0430\u043D\u0438\u0435. \u041F\u0440\u043E\u0434\u044A\u043B\u0436\u0430\u0432\u0430\u0439\u043A\u0438 \u0434\u0430 \u0440\u0430\u0437\u0433\u043B\u0435\u0436\u0434\u0430\u0442\u0435, \u0432\u0438\u0435 \u0441\u0435 \u0441\u044A\u0433\u043B\u0430\u0441\u044F\u0432\u0430\u0442\u0435 \u0441 \u0438\u0437\u043F\u043E\u043B\u0437\u0432\u0430\u043D\u0435\u0442\u043E \u043D\u0430 \u0431\u0438\u0441\u043A\u0432\u0438\u0442\u043A\u0438. <link>\u041D\u0430\u0443\u0447\u0435\u0442\u0435 \u043F\u043E\u0432\u0435\u0447\u0435</link>",acceptText:"\u041F\u0440\u0438\u0435\u043C\u0430\u043C \u0432\u0441\u0438\u0447\u043A\u0438",manageText:"\u0423\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435",noticeDisclaimerExplicit:"\u0411\u0438\u0441\u043A\u0432\u0438\u0442\u043A\u0438\u0442\u0435 \u043D\u0430 \u0442\u043E\u0437\u0438 \u0441\u0430\u0439\u0442 \u043F\u043E\u043C\u0430\u0433\u0430\u0442 \u0437\u0430 \u043F\u043E\u0434\u043E\u0431\u0440\u044F\u0432\u0430\u043D\u0435 \u043D\u0430 \u0432\u0430\u0448\u0435\u0442\u043E \u0438\u0437\u0436\u0438\u0432\u044F\u0432\u0430\u043D\u0435 \u0438 \u043F\u0440\u0435\u0434\u043E\u0441\u0442\u0430\u0432\u044F\u043D\u0435 \u043D\u0430 \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u0438\u0437\u0438\u0440\u0430\u043D\u043E \u0441\u044A\u0434\u044A\u0440\u0436\u0430\u043D\u0438\u0435. \u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u201E\u041F\u0440\u0438\u0435\u043C\u0430\u043C \u0432\u0441\u0438\u0447\u043A\u0438\u201C, \u0437\u0430 \u0434\u0430 \u0441\u0435 \u0441\u044A\u0433\u043B\u0430\u0441\u0438\u0442\u0435 \u0441 \u0438\u0437\u043F\u043E\u043B\u0437\u0432\u0430\u043D\u0435\u0442\u043E \u043D\u0430 \u0431\u0438\u0441\u043A\u0432\u0438\u0442\u043A\u0438. <link>\u041D\u0430\u0443\u0447\u0435\u0442\u0435 \u043F\u043E\u0432\u0435\u0447\u0435</link>",rejectText:"\u041E\u0442\u043A\u0430\u0437\u0432\u0430\u043C \u0432\u0441\u0438\u0447\u043A\u0438",manageHeader:"\u0423\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043D\u0430 \u043F\u0440\u0435\u0434\u043F\u043E\u0447\u0438\u0442\u0430\u043D\u0438\u044F\u0442\u0430 \u0437\u0430 \u0431\u0438\u0441\u043A\u0432\u0438\u0442\u043A\u0438",manageDisclaimer:"\u0411\u0438\u0441\u043A\u0432\u0438\u0442\u043A\u0438\u0442\u0435 \u043D\u0430 \u0442\u043E\u0437\u0438 \u0441\u0430\u0439\u0442 \u043F\u043E\u043C\u0430\u0433\u0430\u0442 \u0437\u0430 \u043F\u043E\u0434\u043E\u0431\u0440\u044F\u0432\u0430\u043D\u0435 \u043D\u0430 \u0432\u0430\u0448\u0435\u0442\u043E \u0438\u0437\u0436\u0438\u0432\u044F\u0432\u0430\u043D\u0435 \u0438 \u043F\u0440\u0435\u0434\u043E\u0441\u0442\u0430\u0432\u044F\u043D\u0435 \u043D\u0430 \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u0438\u0437\u0438\u0440\u0430\u043D\u043E \u0441\u044A\u0434\u044A\u0440\u0436\u0430\u043D\u0438\u0435. \u041D\u0435 \u043C\u043E\u0436\u0435\u0442\u0435 \u0434\u0430 \u0441\u0435 \u043E\u0442\u043A\u0430\u0436\u0435\u0442\u0435 \u043E\u0442 \u043E\u0441\u043D\u043E\u0432\u043D\u0438\u0442\u0435 \u0431\u0438\u0441\u043A\u0432\u0438\u0442\u043A\u0438, \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u0438 \u0437\u0430 \u0440\u0430\u0431\u043E\u0442\u0430\u0442\u0430 \u043D\u0430 \u0441\u0430\u0439\u0442\u0430, \u043D\u043E \u043C\u043E\u0436\u0435\u0442\u0435 \u0434\u0430 \u0438\u0437\u043A\u043B\u044E\u0447\u0438\u0442\u0435 \u0434\u0440\u0443\u0433\u0438 \u043A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u0438 \u0441\u043F\u043E\u0440\u0435\u0434 \u0432\u0430\u0448\u0438\u0442\u0435 \u043F\u0440\u0435\u0434\u043F\u043E\u0447\u0438\u0442\u0430\u043D\u0438\u044F. <link>\u041D\u0430\u0443\u0447\u0435\u0442\u0435 \u043F\u043E\u0432\u0435\u0447\u0435</link>",necessaryText:"\u0417\u0430\u0434\u044A\u043B\u0436\u0438\u0442\u0435\u043B\u043D\u0438 \u0431\u0438\u0441\u043A\u0432\u0438\u0442\u043A\u0438",necessaryDescription:"\u041D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u0438 \u0437\u0430 \u043E\u0441\u043D\u043E\u0432\u043D\u0438\u0442\u0435 \u0444\u0443\u043D\u043A\u0446\u0438\u0438 \u043D\u0430 \u0441\u0430\u0439\u0442\u0430 \u0438 \u0437\u0430\u043F\u0430\u0437\u0432\u0430\u043D\u0435 \u043D\u0430 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438\u0442\u0435.",marketingText:"\u041C\u0430\u0440\u043A\u0435\u0442\u0438\u043D\u0433\u043E\u0432\u0438 \u0431\u0438\u0441\u043A\u0432\u0438\u0442\u043A\u0438",marketingDescription:"\u041F\u043E\u0437\u0432\u043E\u043B\u044F\u0432\u0430\u0442 \u043F\u0440\u043E\u0441\u043B\u0435\u0434\u044F\u0432\u0430\u043D\u0435 \u0437\u0430 \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u0438\u0437\u0438\u0440\u0430\u043D\u0430 \u0440\u0435\u043A\u043B\u0430\u043C\u0430 \u0438 \u0438\u0437\u043C\u0435\u0440\u0432\u0430\u043D\u0435 \u043D\u0430 \u0435\u0444\u0435\u043A\u0442\u0438\u0432\u043D\u043E\u0441\u0442\u0442\u0430.",preferencesText:"\u0411\u0438\u0441\u043A\u0432\u0438\u0442\u043A\u0438 \u0437\u0430 \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F",preferencesDescription:"\u041F\u043E\u0437\u0432\u043E\u043B\u044F\u0432\u0430\u0442 \u043F\u0440\u043E\u0441\u043B\u0435\u0434\u044F\u0432\u0430\u043D\u0435 \u0437\u0430 \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u0438\u0437\u0438\u0440\u0430\u043D\u0435 \u043D\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430\u043D\u0438\u0435\u0442\u043E \u0441\u043F\u043E\u0440\u0435\u0434 \u0432\u0430\u0448\u0438\u0442\u0435 \u0438\u043D\u0442\u0435\u0440\u0435\u0441\u0438.",anal
8756yticsText:"\u0410\u043D\u0430\u043B\u0438\u0442\u0438\u0447\u043D\u0438 \u0431\u0438\u0441\u043A\u0432\u0438\u0442\u043A\u0438",analyticsDescription:"\u041F\u043E\u0437\u0432\u043E\u043B\u044F\u0432\u0430\u0442 \u043F\u0440\u043E\u0441\u043B\u0435\u0434\u044F\u0432\u0430\u043D\u0435 \u043D\u0430 \u0443\u043F\u043E\u0442\u0440\u0435\u0431\u0430\u0442\u0430 \u043D\u0430 \u0441\u0430\u0439\u0442\u0430 \u0437\u0430 \u043F\u043E\u0434\u043E\u0431\u0440\u044F\u0432\u0430\u043D\u0435 \u043D\u0430 \u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0435\u043B\u043D\u043E\u0441\u0442\u0442\u0430.",saveLabel:"\u0417\u0430\u043F\u0430\u0437\u0438 \u043F\u0440\u0435\u0434\u043F\u043E\u0447\u0438\u0442\u0430\u043D\u0438\u044F\u0442\u0430",triggerLabel:"\u041F\u0440\u0435\u0434\u043F\u043E\u0447\u0438\u0442\u0430\u043D\u0438\u044F \u0437\u0430 \u0431\u0438\u0441\u043A\u0432\u0438\u0442\u043A\u0438"}},PU=LN["en-US"];var Lo=v(W());var z$=["US","AU","HK","ID","KE","MX","NZ","NG","PH","ZA","TH"],X$=["AD","AR","AT","BE","BR","BG","CL","HR","CY","CZ","DK","EE","FI","FR","DE","GR","HU","IS","IN","IE","IT","JP","KR","LV","LI","LT","LU","MY","MT","MA","NL","NO","PL","PT","QA","RO","RU","SG","SK","SI","ES","SE","CH","GB"];function j$(e,t){return e.analytics!==t.analytics||e.preferences!==t.preferences||e.marketing!==t.marketing||e.necessary!==t.necessary}var DU="cookie-consent-mode",CN="cookie-consent-banner-seen",PN="cookie-consent-banner-interacted";function $$(){let e=typeof window<"u"?window.__cf_country:null;return!e||X$.includes(e)?yo.EXPLICIT:z$.includes(e)?yo.IMPLICIT:null}var Vl=class{consentType=null;constructor(t){this.consentType=t}start(){localStorage.setItem(CN,"true")}shouldShowNotice(){return this.consentType===yo.EXPLICIT&&localStorage.getItem(PN)!=="true"||this.consentType===yo.IMPLICIT&&localStorage.getItem(CN)!=="true"}shouldShowTag(){return this.consentType===yo.EXPLICIT&&localStorage.getItem(PN)==="true"||this.consentType===yo.IMPLICIT&&localStorage.getItem(CN)==="true"}getDefaultConsentStatus(){return this.consentType===yo.IMPLICIT?{necessary:!0,analytics:!0,preferences:!0,marketing:!0}:{necessary:!0,analytics:!1,preferences:!1,marketing:!1}}static getConsentStatus(){let t=localStorage.getItem(DU);if(!t||t==="null")return null;let n=JSON.parse(t);return{necessary:n.functionality_storage==="granted",analytics:n.analytics_storage==="granted",preferences:n.personalization_storage==="granted",marketing:n.ad_storage==="granted"}}setUserInteracted(){localStorage.setItem(PN,"true")}persist(t){let n={functionality_storage:t.necessary?"granted":"denied",ad_storage:t.marketing?"granted":"denied",analytics_storage:t.analytics?"granted":"denied",personalization_storage:t.preferences?"granted":"denied"};localStorage.setItem(DU,JSON.stringify(n))}};function DN({forceConsentType:e}){let t=$$(),n=e||t,r=(0,Lo.useMemo)(()=>new Vl(n),[n]),[o,i]=(0,Lo.useState)(!1),[s,a]=(0,Lo.useState)(!1),l=(T,h)=>({...T,...h}),[u,c]=(0,Lo.useReducer)(l,r.getDefaultConsentStatus()),d=(0,Lo.useRef)(!1);(0,Lo.useEffect)(()=>{if(d.current===e)return;a(r.shouldShowTag()),i(r.shouldShowNotice()),r.start();let T=Vl.getConsentStatus();e?c(r.getDefaultConsentStatus()):T?c(T):r.persist(r.getDefaultConsentStatus()),d.current=e},[u,r,e]);let f=()=>{let T={necessary:!0,analytics:!1,preferences:!1,marketing:!1};c(T),_(T)},p=()=>{let T={necessary:!0,analytics:!0,preferences:!0,marketing:!0};c(T),_(T)};function _(T,h){r.setUserInteracted();let m=T||u,E=Vl.getConsentStatus();!E||j$(m,E)?(r.persist(m),window.location.reload()):(i(!1),a(!0),h?.())}return{consent:u,shouldShowNotice:o,shouldShowTag:s,consentType:n,acceptOnlyNecessary:f,acceptAll:p,saveConsent:_,updateConsent:c}}var Z$=["necessary","marketing","preferences","analytics"];function J$({containerId:e,forceConsentType:t,forceStage:n,guidToUrl:r,setLocation:o,reportError:i,isManaging:s,setIsManaging:a,...l}){let u=LN[l.locale]||PU,{consent:c,shouldShowNotice:d,shouldShowTag:f,consentType:p,acceptOnlyNecessary:_,acceptAll:T,saveConsent:h,updateConsent:m}=DN({forceConsentType:t}),E=null;s||n==="manage"?E="manage":d||n==="notice"?E="notice":f&&(E="tag");let O=!!n;
8756if(E==="tag")return(0,fn.jsx)(bN,{onClick:()=>{a?.(!0)},xAlignment:l.triggerXAlignment,children:u.triggerLabel});let g=(0,fn.jsx)(NN,{disclaimerText:E==="manage"?u.manageDisclaimer:p===yo.EXPLICIT?u.noticeDisclaimerExplicit:u.noticeDisclaimerImplicit,policyLink:l.policyLink,policyUrl:l.policyUrl,reportError:i,guidToUrl:r,setLocation:o,isPreview:O}),I=(0,fn.jsxs)("div",{className:"cookie-consent-button-group",style:SU({wide:l.componentType===ON.MODAL}),children:[p===yo.EXPLICIT&&(0,fn.jsx)(dd,{onClick:_,children:u.rejectText}),(0,fn.jsx)(dd,{onClick:()=>a?.(!0),children:u.manageText}),(0,fn.jsx)(dd,{onClick:T,children:u.acceptText})]}),S=(0,fn.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"0.25rem"},children:[(0,fn.jsx)("h1",{style:gU(),children:E==="notice"?u.noticeHeader:u.manageHeader}),g]});return E==="manage"?(0,fn.jsxs)(AN,{containerId:e,onClose:()=>a?.(!1),scrimBackground:!O,children:[S,(0,fn.jsx)("div",{style:{display:"flex",flexDirection:"column"},children:Z$.map(A=>(0,fn.jsx)(SN,{id:A,checked:c[A],description:u[`${A}Description`],disabled:A==="necessary",label:u[`${A}Text`],onChange:()=>m({[A]:!c[A]})},A))}),(0,fn.jsx)(dd,{className:"button-wide",onClick:()=>{h(void 0,()=>a?.(!1))},children:u.saveLabel})]}):E==="notice"?l.componentType===ON.MODAL?(0,fn.jsxs)(yN,{containerId:e,xAlignment:l.xAlignment,yAlignment:l.yAlignment,children:[S,I]}):(0,fn.jsxs)("div",{className:"cookie-consent-banner",style:RU({yAlignment:l.yAlignment}),children:[g,I]}):null}function vN(e){return(0,eO.useEffect)(()=>{let t="cookie-consent-styles",n=document.getElementById(t);n&&n.remove();let r=document.createElement("style");return r.id=t,r.textContent=` 8757 :root { 8758 --consent-font-size-medium: 11px; 8759 --consent-line-height-medium: 16px; 8760 --consent-font-size-large: 13px; 8761 --consent-line-height-large: 22px; 8762 --consent-banner-padding: 1rem; 8763 } 8764 8765 @media (max-width: 480px) { 8766 :root { 8767 --consent-font-size-medium: 13px; 8768 --consent-line-height-medium: 22px; 8769 --consent-font-size-large: 15px; 8770 --consent-line-height-large: 25px; 8771 --consent-banner-padding: 1.5rem; 8772 } 8773 } 8774 8775 .button-wide { 8776 width: 100%; 8777 } 8778 8779 @media (max-width: 480px) { 8780 .cookie-consent-banner { 8781 flex-direction: column; 8782 } 8783 8784 .cookie-consent-button-group { 8785 flex-direction: row; 8786 width: 100%; 8787 } 8788 } 8789 `,document.head.appendChild(r),()=>{let o=document.getElementById(t);o&&o.remove()}},[]),(0,fn.jsx)(J$,{...e})}var fd=(0,eO.createContext)({enabled:!1,openSettings:()=>{}});function vU(e){if(typeof window>"u")return!1;let t=Vl.getConsentStatus();return e.includes("youtube-nocookie.com")||e.includes("youtube.com")||e.includes("maps.google.com")||e.includes("docs.google.com")||e.includes("form.typeform.com")||e.includes("vimeo.com")?t?t.analytics&&t.preferences&&t.marketing:!1:!0}var q$=[{pattern:/^(https?:\/\/(www\.)?(youtube\.com|youtu\.be|youtube-nocookie\.com)\/.*)/,transform:Q$,embedType:"IFRAME"},{pattern:/^(?:https?:)?\/\/(www\.)?google\.com\/maps\/.*|^(?:https?:)?\/\/maps\.google\.com\/.*|^(?:https?:)?\/\/maps\.goo\.gl\/.*/,transform:e9,embedType:"IFRAME"},{pattern:/^(?:https?:)?\/\/(www\.)?typeform\.com\/.*|^(?:https?:)?\/\/form\.typeform\.com\/.*/,transform:GU,embedType:"HTML",htmlTransform:t9},{pattern:hN,transform:n9,embedType:"HTML",htmlTransform:r9},{pattern:/^(?:https?:)?\/\/(www\.)?docs\.google\.com\/forms\/.*|^(?:https?:)?\/\/forms\.gle\/.*/,transform:o9,embedType:"IFRAME"},{pattern:/^(?:https?:)?\/\/(www\.)?vimeo\.com\/.*$/,transform:i9,embedType:"IFRAME"}];function Q$(e){let t;try{let n=new URL(e);t=n.searchParams.get("v")||null;let o=/(?:https?:\/\/)?(?:www\.)?(youtube\.com|youtu\.be|youtube-nocookie\.com)\/(?:watch\?v=|embed\/)?([^&?]+)/,i=e.match(o);if(!t){let a=i?.[2]||null;a&&(t=a)}let s=new URL((i?.[1]||"")==="youtube-nocookie.com"?`https://www.youtube-nocookie.com/embed/${t}`:`https://www.youtube.com/embed/${t}`);return n.searchParams.forEach((a,l)=>{l!=="v"&&s.searchParams.set(l,a)}),s.toString()}catch{return e}}function e9(e){let t=new URL("https://maps.google.com/maps");return t.searchParams.set("output","embed"),new URL(e).searchParams.forEac
8789h((r,o)=>{t.searchParams.set(o,r)}),t.toString()}function GU(e){try{let t=/\/to\/([a-zA-Z0-9]+)/,n=e.match(t);return n&&n[1]?n[1]:e}catch{return e}}function t9(e){return`<div data-tf-widget="${GU(e)}" style="width:100%;height:100%;"></div><script src="//embed.typeform.com/next/embed.js"></script>`}function n9(e){return e}function r9(e){return`<script src="https://unpkg.com/@lottiefiles/[email protected]/dist/dotlottie-wc.js" type="module"></script><dotlottie-wc src="${e}" style="width: 100%; height: 100%;" speed="1" autoplay loop></dotlottie-wc>`}function o9(e){try{let t=new URL(e);return t.hostname.includes("forms.gle")||t.hostname.includes("docs.google.com")?(t.searchParams.set("embedded","true"),t.toString()):e}catch{return e}}function i9(e){try{let t=/\/(\d+)/,n=e.match(t);if(console.log(n),n&&n[1])return`https://player.vimeo.com/video/${n[1]}`}catch{return e}return e}function s9(e){return Bn.default.useMemo(()=>{for(let t of q$)if(e.match(t.pattern))return{transformedUrl:t.transform(e),embedType:t.embedType,htmlTransform:t.htmlTransform};return{transformedUrl:e,embedType:"IFRAME"}},[e])}var kU={overflow:"clip",width:"100%",height:"100%"};function FU({node:e,websiteContext:t}){ia("GenericEmbed");let n=__(),{embedURL:r,embedIframeHtml:o,embedCodeType:i,embedAllowFullscreen:s}=e.syncedState,{transformedUrl:a,embedType:l,htmlTransform:u}=s9(r),{enabled:c}=(0,Bn.useContext)(fd),d=(0,Bn.useMemo)(()=>{if(i==="html"){let f=new DOMParser().parseFromString(o,"text/html"),p=f.querySelector("iframe");return p?(p.style.width="100%",p.style.height="100%",{type:"iframe",html:p.outerHTML}):{type:"html",html:f.head.innerHTML.concat(f.body.innerHTML)}}else return},[i,o]);
8789if(i==="html")return!d||!d.html.trim()?(0,or.jsx)(MU,{websiteContext:t}):(0,or.jsx)(xU,{websiteContext:t,type:d.type,html:d.html});{if(c&&!vU(r))return(0,or.jsx)(c9,{websiteContext:t});if(!a.trim())return(0,or.jsx)(MU,{websiteContext:t});if(l==="HTML"&&u){let p=u(r);return(0,or.jsx)(xU,{websiteContext:t,type:"html",html:p})}let f=!n&&new URL(r).searchParams.get("autoplay")==="1";return t.renderElement({Tag:"iframe",styleSet:[kU,"embed"],attributes:{src:a,allowFullScreen:s,title:e.accessibleLabel,allow:f?"autoplay":void 0}})}}function xU({websiteContext:e,type:t,html:n}){let r=(0,Bn.useRef)(null);return(0,Bn.useEffect)(()=>{if(r.current&&t==="html"){let o=document.createRange();o.selectNode(r.current);let i=o.createContextualFragment(n);r.current.innerHTML="",r.current.append(i)}},[n,t]),e.renderElement({Tag:"div",styleSet:[kU,"embed"],ref:r,dangerouslySetInnerHTML:{__html:n}})}function a9(){let[e,t]=(0,Bn.useState)(200),n=(0,Bn.useRef)(null);return(0,Bn.useEffect)(()=>{let o=n.current?.parentElement;if(!o)return;let i=new ResizeObserver(s=>{t(s[0]?.contentRect.width??200)});return i.observe(o),t(o.getBoundingClientRect().width),()=>{i.disconnect()}},[]),[n,e]}var l9={width:"100%",height:"100%",backgroundColor:"#F5F5F5",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",overflow:"hidden",padding:"8px",fontSize:"11px",lineHeight:"16px",fontWeight:"450",color:"rgba(0, 0, 0, 0.9)",cursor:"pointer"},u9={width:24,height:24,display:"flex",alignItems:"center",justifyContent:"center"};function c9({websiteContext:e}){let[t,n]=a9(),{openSettings:r}=(0,Bn.useContext)(fd),o=e.renderElement({Tag:"div",styleSet:u9,ref:t,children:(0,or.jsx)("svg",{width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,or.jsx)("path",{d:"M2.91138 6.50781C3.10662 6.31259 3.42317 6.31258 3.61841 6.50781C3.8133 6.70307 3.81351 7.01972 3.61841 7.21484L2.38599 8.44727C1.6052 9.22815 1.60549 10.4943 2.38599 11.2754C3.16704 12.0561 4.43317 12.0562 5.21411 11.2754L6.44653 10.043C6.64178 9.84775 6.95833 9.84773 7.15356 10.043C7.34845 10.2382 7.34867 10.5549 7.15356 10.75L5.92114 11.9824C4.74968 13.1538 2.85053 13.1536 1.67896 11.9824C0.507937 10.8108 0.50764 8.91164 1.67896 7.74023L2.91138 6.50781ZM0.946533 1.00684C1.14177 0.8117 1.45833 0.811703 1.65356 1.00684L12.6536 12.0068C12.8488 12.2021 12.8487 12.5186 12.6536 12.7139C12.4583 12.9091 12.1418 12.9091 11.9465 12.7139L0.946533 1.71387C0.75137 1.5186 0.751304 1.20207 0.946533 1.00684ZM7.67896 1.74023C8.85039 0.568818 10.7495 0.569074 11.9211 1.74023C13.0924 2.91183 13.0926 4.81096 11.9211 5.98242L10.6887 7.21484C10.4936 7.40997 10.177 7.40974 9.98169 7.21484C9.78645 7.0196 9.78645 6.70305 9.98169 6.50781L11.2141 5.27539C11.995 4.49445 11.9948 3.22833 11.2141 2.44727C10.433 1.66663 9.1669 1.66637 8.38599 2.44727L7.15356 3.67969C6.95844 3.87481 6.6418 3.87459 6.44653 3.67969C6.25129 3.48445 6.25129 3.1679 6.44653 2.97266L7.67896 1.74023Z",fill:"black",fillOpacity:"0.5"})})});return e.renderElement({Tag:"button",styleSet:l9,attributes:{onClick:r},children:(0,or.jsxs)(or.Fragment,{children:[o,n>=80&&(0,or.jsx)("span",{children:"Allow cookies to view this content"})]})})}var d9={width:"100%",height:"100%",backgroundColor:"#D3D1FF",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden"},f9={width:"min(93px, 100%)",height:"min(93px, 100%)",display:"flex",alignItems:"center",justifyContent:"center"},p9={width:"100%",height:"100%"};function MU({websiteContext:e}){return e.renderElement({Tag:"div",styleSet:d9,children:e.renderElement({Tag:"div",styleSet:f9,children:e.renderElement({Tag:"svg",styleSet:p9,attributes:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 93 93",fill:"none"},children:(0,or.jsx)("path",{d:"M20.9465 32.2205C32.0947 21.0723 50.1694 21.0723 61.3176 32.2205L57.0744 36.4626L52.8322 40.7058C46.3704 34.2439 35.8937 34.244 29.4319 40.7058L18.1584 51.9792C11.
87896967 58.4411 11.6966 68.9178 18.1584 75.3796C24.6203 81.841 35.0971 81.8412 41.5588 75.3796C43.9019 73.0365 47.701 73.0365 50.0442 75.3796C52.3869 77.7228 52.3872 81.522 50.0442 83.865C38.8961 95.0129 20.8212 95.0127 9.67306 83.865C-1.47505 72.7169 -1.47496 54.6421 9.67306 43.4939L20.9465 32.2205ZM43.4924 9.67455C54.6405 -1.47358 72.7153 -1.47352 83.8635 9.67455C95.0116 20.8227 95.0116 38.8975 83.8635 50.0456L72.591 61.3191C61.617 72.2927 43.9309 72.4637 32.7473 61.8328L32.2199 61.3191L32.007 61.0945C29.8792 58.7393 29.9504 55.1037 32.2199 52.8337C34.4899 50.5639 38.1254 50.4929 40.4807 52.6208L40.7043 52.8337L41.011 53.1316C47.4933 59.2934 57.7448 59.1942 64.1057 52.8337L75.3781 41.5603L75.677 41.2546C81.8391 34.7722 81.739 24.5208 75.3781 18.1599C68.9163 11.6981 58.4396 11.6981 51.9778 18.1599L47.7356 13.9167L43.4924 9.67455ZM61.3176 32.2205C63.6603 34.5636 63.6606 38.3628 61.3176 40.7058C58.9746 43.0487 55.1754 43.0485 52.8322 40.7058L61.3176 32.2205ZM51.9778 18.1599C49.6346 20.5023 45.8353 20.5028 43.4924 18.1599C41.1496 15.817 41.15 12.0177 43.4924 9.67455L51.9778 18.1599Z",fill:"#3D32E2"})})})})}function wU({node:e,parent:t,context:n,zIndex:r,websiteContext:o}){let{renderOptions:i}=o,s=rr(),a=Xn({node:e,parent:t,context:n,zIndex:r,children:[],options:{isFlattened:!0,precomputeTransforms:s},renderOptions:i}),l=$n({node:e,context:n,websiteContext:o}),u=jn({node:e,parent:t,children:null,renderOptions:i}),c={...a.inner,...Gn(cn(n,e)),...Qr({node:e,parent:t,transitionProps:void 0,renderOptions:i,maskStyles:l}),...a.transform3d,...n?.style||{}},d=Jr(o,e),f=wn({node:e,parent:t,context:n,transitionProps:void 0,outerStyles:a.outer,wrapperSizeStyles:u,stickyWrapperStyles:a.stickyWrapper,transformChildWrapperStyles:a.transform,renderOptions:i,maskStyles:l});return Ne(yr({node:e,parent:t,context:n,wrappersToRender:f,websiteContext:o,children:Ot((0,Ap.jsx)(m9,{nodeId:e.id,style:c,dataName:d,context:n,outerStyles:f.motionLayerContent.outerStyles,websiteContext:o,children:(0,Ap.jsx)(Dl,{children:()=>(0,Ap.jsx)(E9,{node:e,websiteContext:o})})}))}),o)}function m9({nodeId:e,style:t,dataName:n,context:r,websiteContext:o,outerStyles:i,children:s}){return o.renderElement({Tag:"div",nodeId:e,styleSet:[i,t,r?.className],attributes:{"data-name":n,...r?.dataAttributes||{}},children:s})}function E9({node:e,websiteContext:t}){return ia("HTMLWidgetLayerContent"),(0,Ap.jsx)(FU,{node:e,websiteContext:t})}var xN=v(W()),BU=v(W());var UU=BU.forwardRef(function({node:t,parent:n,context:r,interactionHandlers:o,zIndex:i,transitionProps:s,codeBehaviorProps:a,websiteContext:l},u){let c=rd(),d=rr(),f=(0,xN.useRef)(null),p=(0,xN.useRef)(null),_=s?.smartAnimateType??ee.NONE,T=_===ee.INSTANCE_SUBTREE,{nodeCanAnimateRotation:h,layoutStyles:m,opacity:E}=IB({node:t,parent:n,context:r,zIndex:i,smartAnimateType:_,previousRotation:c,precomputeTransforms:d,renderOptions:l.renderOptions}),O={opacity:E,transform:zr(m.outer.transform)},g=Zr(t,r),{motionProps:I,key:S,ref:A}=to(t.id,t.behaviors,t.assets,O,g),R=ei(u,A);return Ne(SB({node:t,parent:n,context:r,interactionHandlers:o,transitionProps:s,codeBehaviorProps:a,ref:u,websiteContext:l,previousRotation:c,outerRef:f,codeBehaviorWrapperRef:p,smartAnimateType:_,canSmartAnimateInstance:T,nodeCanAnimateRotation:h,layoutStyles:m,opacity:E,behaviorProps:I,behaviorKey:S,behaviorsRef:A,mergedRef:R}),l)});var la=v(_e()),kN=v(W());var VU="breakpoint-css";function HU({breakpoints:e}){let{env:t,addHeadTag:n}=fe();if(t!=="server"||e.length===1)return;let r=e.sort((i,s)=>s.width-i.width),o=r.reduce((i,s,a)=>{let l=a===0,u=a===r.length-1,c=r[a-1]?.width||void 0,d=[];return l?d.push(`(width < ${s.width}px)`):u?c&&d.push(`(width >= ${c}px)`):(c&&d.push(`(width >= ${c}px)`),d.push(`(width < ${s.width}px)`)),d.length>0&&i.push(`@media ${d.join(" or ")} { 8790 [${jA}="${fo(s.nodeId)}"] {display: none !important} 8791 }`),i},[]);n({type:"global-style",styleElId:VU,styleSheet:ys(o.join(` 8792`))})}function WU(){let e=document.querySelectorAll(`[${XA}]`);e.length===0&&console.error("No breakpoints elements found during hydration."),e.forEach(n=>{window.getComputedStyle(n).display==="none"&&n.remove()});let t=document.querySelector(`#${VU}`);if(e.length>1&&!t){console.error("No breakpoint css style tag found during hydration.");return}t&&t.remove()}var KU=v(W());var MN=new Map;function YU(e,t){let n=JSON.stringify(e);return ja({str:n,hashPrefix:e.type+"-",isUniqueKey:o=>{let i=MN.get(o),s=i?JSON.stringify(i):null;if(t==="server")return!s||s===n;if(s&&s!==n)return!1;let a=document.getElementById(o);return a?zU(a,e):!0}})}function zU(e,t){if(e.tagName==="LINK"&&t.type==="link"){let n=e;return n.getAttribute("href")===t.href&&n.rel===t.rel}else if(e.tagName==="META"&&t.type==="meta"){let n=e,r=t.name||"",o=t.property||"",i=n.getAttribute("property")||"";return n.content===t.content&&n.name===r&&i===o}else if(e.tagName==="TITLE"&&t.type==="title")return e.textContent===t.title;return!1}function XU(e){let{addHeadTag:t,env:n}=fe();n==="server"&&e.forEach(r=>{let o=YU(r,n);
8792MN.has(o)||(t(r),MN.set(o,r))}),(0,KU.useInsertionEffect)(()=>{let r=[];return e.forEach(o=>{if(o.type==="title"){document.title=o.title;return}let i=YU(o,n),s=document.getElementById(i);if(!(s&&zU(s,o))){if(o.type==="meta"){let a=o.property?`meta[property="${o.property}"]`:`meta[name="${o.name}"]`,l=document.querySelector(a);if(l){if(l.getAttribute("content")===o.content)return;l.setAttribute("content",o.content);return}}else if(o.type==="link"){let a=`link[rel="${o.rel}"][href="${o.href}"]`;if(document.querySelector(a))return}if(o.type==="link"){let a=document.createElement("link");a.href=o.href,a.rel=o.rel,a.id=i,document.head.appendChild(a),r.push(a)}else if(o.type==="meta"){let a=document.createElement("meta");o.name&&(a.name=o.name),o.property&&a.setAttribute("property",o.property),a.content=o.content,a.id=i,document.head.appendChild(a),r.push(a)}}}),()=>{r.forEach(o=>{o.remove()})}},[e])}var jU=v(W());var GN="body-background-color";function $U({breakpoints:e}){let{env:t,addHeadTag:n}=fe(),r=e.sort((s,a)=>s.width-a.width),i=r.map((s,a)=>({layerName:s.name,minWidth:a===0?void 0:s.width,maxWidth:a<r.length-1?r[a+1]?.width:void 0,background:s.background,nodeId:s.nodeId})).map(({background:s,minWidth:a,maxWidth:l,nodeId:u})=>{let c=[];l!==void 0&&c.push(`(max-width: ${l-1}px)`),a!==void 0&&c.push(`(min-width: ${a}px)`);let d=`body:has([data-breakpoint-id="${fo(u)}"]) { background-color: ${s} }`;return c.length>0?`@media ${c.join(", ")} { ${d} }`:d}).join(` 8793`);t==="server"&&n({type:"global-style",styleElId:GN,styleSheet:i}),(0,jU.useInsertionEffect)(()=>{let s=document.getElementById(GN);if(s){s.textContent=i;return}let a=document.createElement("style");return a.textContent=i,a.id=GN,document.head.appendChild(a),()=>{document.head.removeChild(a)}},[e])}function _9(e,t,n,r){let o=typeof window<"u"?window.location.host:"{{HOSTNAME}}",i=r,s=[{type:"title",title:e?.title??_N},{type:"meta",name:"description",content:e?.description??TN}];if(e?.title&&s.push({type:"meta",name:"title",content:e.title}),s.push({type:"meta",name:"robots",content:e?.blockSearchIndexing?"noindex":"index,follow"}),n){if(s.push({type:"meta",name:"twitter:card",content:"summary_large_image"}),s.push({type:"meta",name:"twitter:url",content:`https://${o}${i}`}),e?.title&&s.push({type:"meta",name:"twitter:title",content:e.title}),e?.description&&s.push({type:"meta",name:"twitter:description",content:e.description}),e?.socialImageFilename){let a=t(e?.socialImageFilename),l=`https://${o}${a}`;s.push({type:"meta",name:"twitter:image",content:l}),e?.title&&s.push({type:"meta",name:"twitter:image:alt",content:e.title})}if(e?.title&&s.push({type:"meta",property:"og:title",content:e.title}),e?.description&&s.push({type:"meta",property:"og:description",content:e.description}),s.push({type:"meta",property:"og:type",content:"website"}),s.push({type:"meta",property:"og:url",content:`https://${o}${i}`}),e?.socialImageFilename){let a=t(e?.socialImageFilename),l=`https://${o}${a}`;s.push({type:"meta",property:"og:image",content:l}),e?.title&&s.push({type:"meta",property:"og:image:alt",content:e.title})}e?.title&&s.push({type:"meta",property:"og:site_name",content:e.title})}return!n&&e?.socialImageFilename&&s.push({type:"meta",property:"og:image",content:t(e?.socialImageFilename)},{type:"meta",property:"twitter:image",content:t(e?.socialImageFilename)}),e?.faviconFilename&&s.push({type:"link",rel:"icon",href:t(e?.faviconFilename)}),s}function ZU({node:e,children:t,websiteContext:n}){let{getAssetURL:r,renderOptions:o,enableMetaTags:i,websiteData:s}=n,a=Ae(s.siteSettings);t!==void 0&&t.length>0;let l=(0,kN.useMemo)(()=>GS(t.filter(d=>d.visible!==!1).filter(d=>il(d)).filter(d=>d.type==="FRAME"),o),[t,o]);HU({breakpoints:l.breakpoints}),$U({breakpoints:l.breakpoints});let u=e.name,c=(0,kN.useMemo)(()=>_9(a,r,i,u),[a,r,i,u]);return XU(c),(0,la.jsx)(la.Fragment,{children:t.map((d,f)=>(0,la.jsx)(fN,{children:(0,la.jsx)(uN,{name:d.name,width:d.size.x,height:d.size.y,children:(0,la.jsx)(oa,{name:"sites-layer",nodeId:d.id,children:(0,la.jsx)(Hi,{node:d,parent:null,websiteContext:n},f)},f)})},d.id))})}var Hi=(0,ua.forwardRef)(function({node:t,parent:n,context:r,zIndex:o,codeBehaviorProps:i,websiteContext:s},a){let l=KE(t.materializedChildNodeProps??[]),{interactionHandlers:u,transitionProps:c}=t;r=Ns(r,Ue);let{renderComponentSetNodes:d}=s.renderOptions,f=UC(s.renderOptions,t,n),p=Ae(qI);(0,ua.useEffect)(()=>
8793{if(t.visible&&!(u===void 0||u?.ON_KEY_DOWN===void 0))return p.set(t.id,u.ON_KEY_DOWN),()=>(p.delete(t.id),void 0)},[u,p,t.id,t.visible]);let _=c?.transitionData;return(0,ua.useEffect)(()=>{let T,h;return t.visible&&(_&&!_.layout?T=_1(u,_.id):T=T1(t.id,u).timeoutIds,T.length&&_&&(h=h1(()=>{setTimeout(()=>{_.onTransitionEnd?.()},500)},100),window.addEventListener("resize",h))),()=>{h&&setTimeout(()=>{removeEventListener("resize",h)}),Ps.markTimeoutsAsUnmounted(t.id),setTimeout(()=>{let m=u?.AFTER_TIMEOUT?.map(E=>E.interactionGuid);Ps.cleanupUnmountedTimeouts(t.id,m)},100)}},[t.id,u,t.visible]),(0,ua.useMemo)(()=>{if(!t||t.visible===!1&&!f)return null;let T=(()=>{switch(t.type){case"WEBPAGE":return(0,Ln.jsx)(ZU,{node:t,children:l,parent:n,context:r,interactionHandlers:u,websiteContext:s});case"FRAME":case"SLOT":return(0,Ln.jsx)(xh,{ref:a,node:t,children:l,parent:n,context:r,zIndex:o,interactionHandlers:u,transitionProps:c,codeBehaviorProps:i,websiteContext:s});case"COMPONENT_SET":return ge(d,"COMPONENT_SET nodes are not supported in sites"),(0,Ln.jsx)(dU,{node:t,children:l,parent:n,context:r,zIndex:o,interactionHandlers:u,transitionProps:c,codeBehaviorProps:i,websiteContext:s});case"RECTANGLE":return(0,Ln.jsx)(xh,{ref:a,node:t,children:l,parent:n,context:r,zIndex:o,interactionHandlers:u,transitionProps:c,codeBehaviorProps:i,websiteContext:s});case"GROUP":return(0,Ln.jsx)(hU,{node:t,children:l,parent:n,context:r,zIndex:o,interactionHandlers:u,transitionProps:c,websiteContext:s});case"IMAGE":case"SVG":return(0,Ln.jsx)(Qw,{ref:a,node:t,parent:n,zIndex:o,context:r,interactionHandlers:u,transitionProps:c,codeBehaviorProps:i,websiteContext:s});case"TEXT":return(0,Ln.jsx)(UU,{ref:a,node:t,parent:n,context:r,zIndex:o,interactionHandlers:u,transitionProps:c,codeBehaviorProps:i,websiteContext:s});case"WIDGET":return(0,Ln.jsx)(wU,{node:t,parent:n,context:r,zIndex:o,interactionHandlers:u,websiteContext:s});case"CODE_INSTANCE":case"CODE_LAYER":return(0,Ln.jsx)(uU,{node:t,parent:n,context:r,zIndex:o,interactionHandlers:u,websiteContext:s});case"REPEATER":return(0,Ln.jsx)(xh,{ref:a,node:t,children:l,parent:n,context:r,zIndex:o,interactionHandlers:u,transitionProps:c,websiteContext:s});case"CMS_RICH_TEXT":return(0,Ln.jsx)(xB,{node:t,parent:n,context:r,zIndex:o,interactionHandlers:u,websiteContext:s});default:xe(t)}})();return f?(0,Ln.jsx)("div",{style:{display:"none"},children:T}):T},[t,l,n,r,u,a,o,c,i,f,d,s])}),T9=(0,ua.forwardRef)(function({node:t,parent:n,context:r,zIndex:o,name:i,nodeId:s,childKey:a,codeBehaviorProps:l,websiteContext:u},c){return(0,Ln.jsx)(oa,{name:i,nodeId:s,children:(0,Ln.jsx)(Hi,{ref:c,node:t,parent:n,context:r,zIndex:o,codeBehaviorProps:l,websiteContext:u},a)})});function id({node:e,parent:t,context:n,zIndex:r,name:o,nodeId:i,childKey:s,codeBehaviorProps:a,websiteContext:l,ref:u}){return Ot((0,Ln.jsx)(T9,{ref:u,name:o,nodeId:i,childKey:s,node:e,parent:t,context:n,zIndex:r,codeBehaviorProps:a,websiteContext:l},s))}var Qe=v(_e()),ir=v(W());var pd=v(W());function FN({key:e,children:t}){let n=e==null?null:{key:e};return Array.isArray(t)?(0,pd.createElement)(pd.Fragment,n,...t):(0,pd.createElement)(pd.Fragment,n,t)}var JU=new Map;function wN(){let{env:e,websiteData:t}=fe(),n=ys(Ae(t.globalStyles)??""),r=ja({str:n??"",hashPrefix:PS,isUniqueKey:o=>
8793{if(e==="server"){let s=JU.get(o);return!s||s===n}let i=document.getElementById(o);return!i||i.textContent===n}});return n&&JU.set(r,n),ec({cssString:n??"",styleElId:r,deleteElsWithPrefix:PS,skipValidation:!0}),null}var tO=v(_e()),qU=v(W()),QU=(0,qU.forwardRef)(function({children:t},n){return(0,tO.jsx)(tO.Fragment,{children:t})});function BN({withBaseStyles:e,prepend:t=!1}){return ec({cssString:EN(e),styleElId:Xh,prepend:t}),null}var tV=v(_e());function eV(e,t,n){if(U_(e))return fo(t.id,n)}function nV({Tag:e,children:t,styleSet:n,elementRef:r,nodeId:o,idSuffix:i,attributes:s,...a}){let l=fe(),u=ZD(Array.isArray(n)?n:[n]);return(0,tV.jsx)(e,{...a,...s,id:o?eV(l,{id:o},i):void 0,className:u,ref:r,children:t})}var rV=v(_e());var oV=({children:e,...t})=>Ot((0,rV.jsx)(FR,{...t,children:e}));var Lr=v(_e()),Co=v(W()),h9=v(aN()),O9=v(_e()),g9=v(gu()),I9=v(nE());var iV=Co.forwardRef(({children:e,codeBehaviors:t,variableState:n,modeContext:r,assets:o,outerStyles:i,tag:s,websiteContext:a},l)=>(0,Lr.jsx)(Dl,{children:()=>a.renderElement({Tag:s,ref:l,styleSet:[{display:"flex",...i},"tailwind","code-behavior-wrapper"],children:(0,Lr.jsx)(R9,{codeBehaviors:t,variableState:n,modeContext:r,assets:o,websiteContext:a,children:e})})}));iV.displayName="CodeBehaviorWrapper";var sV=({ref:e,...t})=>Ot((0,Lr.jsx)(iV,{ref:e,...t}));function S9({node:e,Component:t,codeBehaviors:n,variableState:r,modeContext:o,children:i,assets:s}){let a=A9(t),l=$B(a),c={...HB(e,l,n,r,o,a,s),children:i};return(0,Lr.jsx)(t,{...c})}function R9({children:e,codeBehaviors:t,variableState:n,modeContext:r,assets:o,websiteContext:i}){ia("CodeComponentContent");let s=ta(),a=i.getAssetURL,[l,u]=Co.useState([]);globalThis.__GLOBALS__={React:Co,ReactJSXRuntime:O9,ReactJSXDevRuntime:h9,ReactDOM:g9,ReactDOMClient:I9,SnapshotContext:Sp,RenderHooksContext:Gl,ActiveBreakpointContext:sd,WebsiteSettingsContext:ld,getAssetURL:a};let c=Co.useMemo(()=>WB(t),[t]),d=VB(c),f=i.websiteData.sourceCodeHash,p=Ae(f),_=Co.useRef({});return Co.useEffect(()=>{if(!i||!d.length)return;let T=d.filter(h=>!_.current[h.id]);T.length!==0&&Promise.all(T.map(async h=>{try{let m=i.getCodeComponentURL(h),E=await import(m),g=await Hh(E,h.codeExportName,m);return _.current[h.id]=g,g}catch(m){return ad(p,m,"Failed to import code behavior module"),null}})).then(h=>{h.some(m=>m!==null)&&u(d.map(m=>_.current[m.id]||null))}).catch(h=>{ad(p,h,"Failed to load code behavior")})},[d,i,p]),!d.length||!i||!s?(0,Lr.jsx)(Lr.Fragment,{children:e}):l.length!==d.length||l.some(T=>T===null)?(0,Lr.jsx)(Lr.Fragment,{children:e}):(0,Lr.jsx)(Lr.Fragment,{children:[...d].reverse().reduce((T,h,m)=>{let E=l.length-1-m,O=l[E];return O?(0,Lr.jsx)(S9,{node:h,Component:O,codeBehaviors:t,variableState:n,modeContext:r,assets:o,children:T},h.id):T},e)})}function A9(e){return e?e[Symbol.for("figma.react.props")]??{}:null}var Wi=v(_e()),qe=v(W()),aV=v(MI());var N9="left",y9=6,b9=!1,L9="Scrolling content",C9=!1,lV=({children:e,...t})=>Ot((0,Wi.jsx)(P9,{...t,children:Ne(e,t.websiteContext)})),P9=qe.default.forwardRef(function({node:t,style:n={},className:r="",children:o,websiteContext:i},s){let a=t.behaviors?.marquee?.direction??N9,l=t.behaviors?.marquee?.speed??y9,u=t.behaviors?.marquee?.shouldLoopInfinitely??b9,c=O1(t,i.renderOptions)?L9:t.accessibleLabel,d=t.behaviors?.marquee?.pauseOnHover??C9,[f,p]=(0,qe.useState)(0),[_,T]=(0,qe.useState)(0),[h,m]=(0,qe.useState)(1),[E,O]=(0,qe.useState)(!1),g=(0,qe.useRef)(null),I=s||g,S=(0,qe.useRef)(null),A=Yf(),R=(0,aV.default)("marquee",A?"":"reduced-motion"),y=(0,qe.useCallback)(N=>{if(S.current&&I.current){let K=I.current.getBoundingClientRect(),C=S.current.getBoundingClientRect(),M=f===0?K.width:f,P=C.width;if((a==="UP"||a==="DOWN")&&(M=K.height,P=C.height),u&&M&&P){let z=P<M?Math.ceil(M/P):1;m(z)}else m(1);T(P),(f===0||N)&&p(K.width)}},[u,I,f,a]);(0,qe.useEffect)(()=>{if(E&&(y(),S.current&&I.current)){let N=new ResizeObserver(()=>{y(!0)});return N.observe(I.current),N.observe(S.current),()=>{N&&N.disconnect()}}},[y,I,E]),(0,qe.useEffect)(()=>{y()},[y,o]),(0,qe.useEffect)(()=>{O(!0)},[]);let b=(0,qe.useMemo)(()=>u?_*h/l:_<f?f/l:_/l,[u,f,_,h,l]),L=(0,qe.useMemo)(()=>({...n,["--width"]:a==="UP"||a==="DOWN"?"100vh":"100%",["--transform"]:a==="UP"?"rotate(-90deg)":a==="DOWN"?"rotate(90deg)":"none"}),[n,a]),D=(0,qe.useMemo)(()=>({["--direction"]:a==="LEFT"?"normal":"reverse",["--duration"]:`${b}s`,["--delay"]:"0s",["--iteration-count"]:"infinite",["--min-width"]:u?"auto":"100%",["--timing-function"]:lS(i)?"steps(3)":"linear",["--pause-on-hover"]:d?"paused":"running"}),[a,b,u,d,i]),F=(0,qe.useMemo)(()=>({["--transform"]:a==="UP"?"rotate(90deg)":a==="DOWN"?"rotate(-90deg)":"none"}),[a]),U=(0,qe.useCallback)((N,K)=>[...Array(Number.isFinite(N)&&N>=0?N:0)].map((C,M)=>(0,Wi.jsx)(qe.Fragment,{children:qe.Children.map(o,P=>(0,Wi.jsx)("div",{"aria-hidden":K?"true":void 0,style:F,className:"marquee-child",children:P}))},M)),[F,o]);return E?(0,Wi.jsxs)("div",{ref:I,style:L,className:"marquee-container "+r,tabIndex:0,role:"marquee","aria-label":c,children:[(0,Wi.jsxs)("div",{className:R,style:D,children:[(0,Wi.jsx)("div",{className:"marquee-initial-child-container",ref:S,
8793children:U(1)}),U(h-1,!0)]}),(0,Wi.jsx)("div",{className:R,style:D,children:U(h,!0)})]}):null});var yp=v(_e()),nO=v(W());var Hke=v(W());function uV(e,t,n,r,o){return n?t.getLayerRef({layerRef:n,parentRef:o,Component:()=>null}):r(e)||null}function Np(e,t){return t in e}function D9({renderNode:e,node:t,codeBehaviorProps:n}){let r=nO.useContext(Gl),o=nO.useRef(null),i=n?.transformRef||o,s=n?.parentRef;if(!r.renderHooks.length)return e(t)||(0,yp.jsx)(yp.Fragment,{});let a=t;for(let l of r.renderHooks)if(Np(l,"renderText"))a={...a,renderTextHook:l};else if(Np(l,"renderTextCharacter"))a={...a,renderTextCharacterHook:l};else if(Np(l,"renderTextLine"))a={...a,renderTextLineHook:l};else if(Np(l,"renderTextWord"))a={...a,renderTextWordHook:l};else if(Np(l,"getLayerRef"))uV(a,l,i,e,s);else throw new te("Render hook not supported.");return e(a)||null}var cV=e=>(0,yp.jsx)(D9,{...e});var UN=v(_e()),He=v(W());function rO(e,t){let n=(0,He.useRef)(null);(0,He.useLayoutEffect)(()=>{if(!e||!e.current)return;let r=new ResizeObserver(o=>{for(let i of o)if(e.current===i.target){let s=i.contentRect.width,a=i.contentRect.height;if(n&&n.current&&n.current.width===s&&n.current.height===a)continue;let u={width:i.contentRect.width,height:i.contentRect.height};n.current=u,t&&t(u)}});return r.observe(e.current),()=>r.disconnect()},[e,t])}var v9=He.default.forwardRef(function({node:t,parent:n,context:r,children:o,outerStyles:i,childWrapperStyles:s,transitionData:a,smartAnimateType:l,transformRef:u,codeBehaviorWrapperRef:c,keyframeMotionPropsOverride:d,tag:f,websiteContext:p},_){let T=t.id,h=(0,He.useRef)(null),m=u||h,E=ei(_,m),O=(0,He.useRef)(null),g=(0,He.useMemo)(()=>xt(Wt(r?.group?.relativeTransform,t.relativeTransform)),[r?.group?.relativeTransform,t.relativeTransform]),I=(0,He.useMemo)(()=>Ir(t,n),[t,n]),{renderOptions:S}=p,{disableConstraintsBasedSizing:A,metronomeEnabled:R}=S,y=(0,He.useCallback)(P=>{if(sl(g,S))return;let z=P.width,Ee=P.height;if(!A&&Ir(t,n)){let{width:pe,height:ye,transform:Le}=L_(z,Ee,g,t.size,t.absoluteBoundingBox,p.renderOptions);ge(O.current!==null,"TransformWrapperStatic innerRef not set when setting outer size"),O.current.style.setProperty("width",`${pe}px`),O.current.style.setProperty("height",`${ye}px`),O.current.style.setProperty("transform",Le instanceof Q?Le.value:Le)}else O.current?.style.removeProperty("width"),O.current?.style.removeProperty("height"),O.current?.style.removeProperty("transform")},[t,g,n,A,S,p.renderOptions]),b=(0,He.useCallback)(P=>{if(ge(m.current!==null,"TransformWrapperStatic outerRef not set when setting inner size"),I||!cc(g))return;let z=parseFloat(m.current.style.getPropertyValue(Ds)),Ee=parseFloat(m.current.style.getPropertyValue(vs));Ve(z,P.width,1e-4)||(m.current.style.setProperty(Ds,`${P.width}`),c?.current?.style.setProperty(Ds,`${P.width}`)),Ve(Ee,P.height,1e-4)||(m.current.style.setProperty(vs,`${P.height}`),c?.current?.style.setProperty(vs,`${P.height}`))},[m,I,g,c]);rO(m,y),rO(O,b),(0,He.useLayoutEffect)(()=>{m.current&&y({width:m.current.clientWidth,height:m.current.clientHeight}),O.current&&b({width:O.current.clientWidth,height:O.current.clientHeight})},[]),(0,He.useLayoutEffect)(()=>{if(m.current){let P=m.current.getBoundingClientRect(),z=P.width,Ee=P.height;y({width:z,height:Ee})}},[t.id]);let L=Ih({children:o,keyframeMotionPropsOverride:d,nodeId:t.id,outerTransform:i.transform,renderMotionProps:!0,renderOptions:S,websiteContext:p}),{inner:D,outer:F}=Ah({outerStyles:i,childWrapperStyles:s,keyframeAlignmentOverride:Rh(t,g,R),preserve3d:al(t,S)}),U=on(a),{motionTransitionProps:N}=fD(l??ee.NONE,a,U),K=Ai(l??ee.NONE,a,i.transform),M=!!l&&l!==ee.NONE||L.elementMotionProps!=null;return p.renderElement({Tag:M?er[f]:f,nodeId:T,idSuffix:"transform-wrapper-outer",ref:E,styleSet:F,attributes:{...M?{...N,...K,...L.elementMotionProps}:{},...L.dataMotionProps},children:p.renderElement({Tag:"div",nodeId:T,idSuffix:"transform-wrapper-inner",ref:O,styleSet:D,children:Ne(L.children,p)})})}),x9=He.default.forwardRef(function({node:t,parent:n,context:r,children:o,outerStyles:i,childWrapperStyles:s,transitionData:a,previousRotation:l,transformRef:u,codeBehaviorWrapperRef:c,tag:d,websiteContext:f},p){let{metronomeEnabled:_}
8793=f.renderOptions,T=t.id,h=(0,He.useRef)(null),m=u||h,E=ei(p,m),O=(0,He.useRef)(null),g=(0,He.useRef)(!1),I=(0,He.useRef)(!1),S=g.current&&I.current,[A,R]=(0,He.useState)(void 0),[y,b]=(0,He.useState)(void 0),L=Ir(t,n),D=(0,He.useCallback)(ae=>{let Oe=ae.width,oe=ae.height;if(g.current=!0,L){let ft=xt(Wt(r?.group?.relativeTransform,t.relativeTransform)),{width:et,height:he,transform:Ge}=L_(Oe,oe,ft,t.size,t.absoluteBoundingBox,f.renderOptions,!0,l);ge(O.current!==null,"TransformWrapperAnimate innerRef not set when setting outer size"),R({width:et,height:he,transform:Ge})}else R(void 0)},[t,r?.group?.relativeTransform,L,l,f.renderOptions]),F=(0,He.useCallback)(ae=>{I.current=!0,(!y||!Ve(y.width,ae.width,1e-4)||!Ve(y.height,ae.height,1e-4))&&(b({width:ae.width,height:ae.height}),c?.current?.style.setProperty(Ds,`${ae.width}`),c?.current?.style.setProperty(vs,`${ae.height}`))},[y,c]);rO(m,D),rO(O,F),(0,He.useLayoutEffect)(()=>{if(m.current){let ae=m.current.getBoundingClientRect(),Oe=ae.width,oe=ae.height;y&&!(Ve(Oe,y?.width??0,1e-4)&&Ve(oe,y?.height??0,1e-4))&&D({width:Oe,height:oe})}},[t.id]);let{transform:U,...N}=s,K=A?{width:A.width,height:A.height}:void 0;if(!A?.transform&&!U){let ae=LR(l.current,0);l.current=l.current+ae}let C=`rotate(${l.current}deg) skewX(0deg) skewY(0deg) scaleX(1) scaleY(1)`,M;L?M=A?.transform??U??C:M=U??A?.transform??C;let P=M instanceof Q?M.value:M,z=(0,He.useMemo)(()=>xt(Wt(r?.group?.relativeTransform,t.relativeTransform)),[r?.group?.relativeTransform,t.relativeTransform]),{inner:Ee,outer:pe}=Ah({outerStyles:i,childWrapperStyles:N,innerState:K,keyframeAlignmentOverride:Rh(t,z,_),preserve3d:al(t,f.renderOptions)}),ye={[Ds]:y?.width??0,[vs]:y?.height??0},Le=on(a),{motionTransitionProps:We}=dD(ye,S,a,S?Le:void 0),De=Ai(ee.INSTANCE_SUBTREE,a,i.transform);return f.renderElement({Tag:er[d],nodeId:T,idSuffix:"transform-wrapper-outer",ref:E,styleSet:pe,attributes:{...We,...De},children:f.renderElement({Tag:er.div,nodeId:T,idSuffix:"transform-wrapper-inner",styleSet:Ee,ref:O,attributes:{layout:!0,layoutDependency:a?.id??cS,transition:a?{duration:a.durationSeconds,...a.motionAnimationData}:{duration:0},initial:{transform:P},animate:{transform:P},onAnimationComplete:S?Le:void 0,onLayoutAnimationComplete:S?Le:void 0,transformTemplate:(ae,Oe)=>ae&&ae.transform?`${Oe} ${ae.transform}`:Oe},children:Ne(o,f)})})});function dV({ref:e,...t}){return t.canAnimate?(0,UN.jsx)(x9,{ref:e,...t}):(0,UN.jsx)(v9,{ref:e,...t})}var VN={renderTransformWrapperLive:dV,renderMarquee:lV,renderCodeBehaviorWrapper:sV,renderRenderHooksConsumer:cV,renderClientOnly:wB,renderAnimatePresence:oV};function M9(e,t){let n=w9(t.websiteData.fonts,t.getFontURL,e),r=jD(n,t);return{fontFaces:n,styleElId:r}}function fV(){let e=fe(),t=Ae(e.websiteData.sourceCodeHash),{fontFaces:n,styleElId:r}=M9(!!t,e);$D(n,r)}function G9(e,t,n){let r=new Map,o=e.split(":")[1],i=$h(t.variationAxes,o);if(t.subsets){let s=t.subsets.baseUrl;if(r.set(e,t.subsets.subsetMappings.sort((a,l)=>a.unicodeRange==="*"?-1:0).map(a=>aa({family:e,style:t.italic?"italic":"normal",url:s+a.file,unicodeRange:a.unicodeRange})).join(` 8794`)),n){let a=e.split(":"),l=a[0],u=a.length>1?a[1]:"normal";r.set(l,t.subsets.subsetMappings.sort((c,d)=>c.unicodeRange==="*"?-1:0).map(c=>aa({family:l,style:u,url:s+c.file,unicodeRange:c.unicodeRange,weight:i})).join(` 8795`))}}else if(r.set(e,aa({family:e,style:t.italic?"italic":"normal",url:t.url})),n){let s=e.split(":"),a=s[0],l=s.length>1?s[1]:"normal";r.set(a,aa({family:a,style:l,url:t.url,weight:i}))}return r}function k9(e,t,n,r){let o=new Map,i=t.url?n(t.url,"CUSTOM"):void 0,s=e.split(":")[1],a=$h(t.variationAxes,s);if(o.set(e,aa({family:e,style:t.italic?"italic":"normal",url:i})),r){let l=e.split(":"),u=l[0],c=l.length>1?l[1]:"normal";o.set(u,aa({family:u,style:c,url:i,weight:a}))}return o}function F9(e,t,n,r){return t?t.source===1?G9(e,t,r):k9(e,t,n,r):new Map}function w9(e,t,n){let r=Array.from(e.map).reduce((o,[i,s])=>new Map([...o,...F9(i,s,t,n)]),new Map);return ys([...r.values()].join(` 8796`))}function pV(e){return ir.default.useMemo(()=>e.optimizeForTailwindConversion?t=>lP(t,e):({key:t,ref:n,...r})=>(0,Qe.jsx)(nV,{elementRef:n,...r},t),[e])}function B9({rootMaterializedNodes:e,history:t,websiteData:n,cmsBundleData:r,getAssetURL:o,getFontURL:i,getVideoURL:s,getCodeComponentURL:a,env:l,currentLocation:u,setLocation:c,preloadLocation:d,onPageRendered:f,onReactError:p,renderOptions:_,addHeadTag:T,addBodyScript:h,loadComponentsOverNetwork:m,wasServerRendered:E=!1,withBaseStyles:O=!0,isFigmake:g,enableMetaTags:I,atomStore:S,globalVariableState:A,inheritedVariantPropertiesCache:R,processedNodesCache:y,computedVariantCache:b}){let L=pV(_),F=Ae(n.siteSettings,{store:S})?.cookieBanner,[U,N]=(0,ir.useState)(!1);z9(E);let C=l==="published"&&g&&window.self===window.top?nU:QU;return(0,Qe.jsx)(MD,{reportError:p,children:(0,Qe.jsx)(ra,{name:"root-error-boundary",nodeId:"root",children:(0,Qe.jsx)(RS,{websiteData:n,cmsBundleData:r,history:t,getAssetURL:o,getFontURL:i,getVideoURL:s,getCodeComponentURL:a,env:l,setLocation:c,preloadLocation:d,renderOptions:_,renderElement:L,renderFragment:FN,withBaseStyles:O,addHeadTag:T,addBodyScript:h,loadComponentsOverNetwork:m,isFigmake:g,enableMetaTags:I,atomStore:S,globalVariableState:A,inheritedVariantPropertiesCache:R,processedNodesCache:y,computedVariantCache:b,sitesRenderers:VN,children:(0,Qe.jsx)(fd.Provider,{value:{enabled:F?.enabled,openSettings:()=>N(!0)},children:(0,Qe.jsxs)(C,{children:[(0,Qe.jsx)(W9,{rootMaterializedNodes:e}),F?.enabled&&(0,Qe.jsx)(vN,{...F,guidToUrl:n.guidToUrl,setLocation:c,reportError:p,isManaging:U,setIsManaging:N}),(0,Qe.jsx)(U9,{currentLocation:u,onPageRendered:f})]})})})})})}function U9({currentLocation:e,onPageRendered:t}){let n=Ae(ME);return(0,ir.useEffect)(()=>{window.scrollTo(0,e?.scrollY??0)},[e?.scrollY,e?.url]),(0,ir.useEffect)(()=>{t&&e?.url&&t(e.url,n)},[e?.url,t,n]),mP(),null}function oO(e){let t=document.createRange().createContextualFragment(e);
8796return Array.from(t.children).forEach(r=>r.setAttribute("data-user-element","true")),t}function V9(e){let t=fe()?.websiteData.siteSettings??de(),n=Ae(t),r=n?.customCodeHeadStart,o=n?.customCodeHeadEnd,i=n?.customCodeBodyStart,s=n?.customCodeBodyEnd;(0,ir.useInsertionEffect)(()=>{if(e==="preview")return r&&document.head.prepend(oO(r)),o&&document.head.append(oO(o)),i&&document.body.prepend(oO(i)),s&&document.body.append(oO(s)),()=>{document.querySelectorAll("[data-user-element]").forEach(l=>l.remove())}},[e,r,o,i,s])}function H9(){let t=Ae(fe().websiteData.siteSettings)?.addBypassLinks,n=(0,ir.useCallback)(i=>{i.stopPropagation(),i.preventDefault();let s=document.querySelector("main");s&&s.focus()},[]),r=(0,ir.useCallback)(i=>{i.key==="Enter"&&n(i)},[n]),o=(0,ir.useCallback)(i=>{n(i)},[n]);return t?(0,Qe.jsx)("div",{className:"bypass-link",children:(0,Qe.jsx)("a",{role:"link",onKeyDown:r,onClick:o,tabIndex:0,children:"Skip to main content"})}):null}function mV(e){let t=Ae(e.rootMaterializedNodePropsArrayAtom,{store:e.atomStore}),n=Ae(e.renderOptionsAtom,{store:e.atomStore}),r=Ae(e.cmsBundleDataAtom,{store:e.atomStore}),o=Ae(e.currentLocationAtom,{store:e.atomStore}),i=Fh(s=>t.map(a=>Ja(s,a,{env:e.env,isFigmake:e.isFigmake,renderOptions:n,websiteData:e.websiteData,setLocation:e.setLocation,history:e.history,atomStore:e.atomStore,globalVariableState:e.globalVariableState,inheritedVariantPropertiesCache:e.inheritedVariantPropertiesCache,processedNodesCache:e.processedNodesCache,computedVariantCache:e.computedVariantCache})),[t,e.env,n],{store:e.atomStore});return(0,Qe.jsx)(B9,{...e,cmsBundleData:r,currentLocation:o,renderOptions:n,rootMaterializedNodes:i})}function W9({rootMaterializedNodes:e}){let t=fe(),{env:n,withBaseStyles:r}=t,o=Yf();return m1(),fV(),V9(n),e.length>0?(0,Qe.jsxs)(BR,{reducedMotion:o?"never":"user",children:[(0,Qe.jsx)(BN,{withBaseStyles:r}),(0,Qe.jsx)(wN,{}),(0,Qe.jsx)(JD,{}),(0,Qe.jsx)(H9,{},`bypass-${e[0]?.id}`),e.map(i=>(0,Qe.jsx)(Hi,{node:i,parent:null,websiteContext:t},`${i.id}`))]}):null}var Y9=()=>{};function HN({websiteData:e,cmsBundleData:t,history:n,getAssetURL:r,getFontURL:o,getVideoURL:i,getCodeComponentURL:s,env:a,setLocation:l,withBaseStyles:u=!0,addHeadTag:c,addBodyScript:d,loadComponentsOverNetwork:f=!1,isFigmake:p=!1,enableMetaTags:_=!1,renderOptions:T,children:h,atomStore:m,globalVariableState:E,inheritedVariantPropertiesCache:O,processedNodesCache:g,computedVariantCache:I}){let S=pV(T);return(0,Qe.jsx)(RS,{websiteData:e,cmsBundleData:t,history:n,getAssetURL:r,getFontURL:o,getVideoURL:i,getCodeComponentURL:s,env:a,setLocation:l,preloadLocation:Y9,renderOptions:T,renderElement:S,renderFragment:FN,withBaseStyles:u,addHeadTag:c,addBodyScript:d,loadComponentsOverNetwork:f,isFigmake:p,enableMetaTags:_,atomStore:m,globalVariableState:E,inheritedVariantPropertiesCache:O,processedNodesCache:g,computedVariantCache:I,sitesRenderers:VN,children:(0,Qe.jsxs)(Qe.Fragment,{children:[(0,Qe.jsx)(BN,{withBaseStyles:u,prepend:!0}),(0,Qe.jsx)(wN,{}),h]})})}var K9="[Hydrated]";function z9(e){(0,ir.useEffect)(()=>{e&&console.log(K9)},[e])}function X9({websiteData:e,cmsBundleData:t,atomStore:n,globalVariableState:r,url:o,get:i}){let s=LE(i,e,o);if(!s||s.length===0)throw new ht(`Not found: ${o}`);return s.map(a=>{let l=a.id;return{key:l,nodeById:e.nodeById,assets:e.assets,assetIdToGuid:e.assetIdToGuid,guidToUrl:e.guidToUrl,animateRootIds:e.animateRootIds,stablePathToAssetInfo:e.stablePathToAssetInfo,stablePathToConstraints:e.stablePathToConstraints,nodeId:l,preexpandedNodeId:l,stablePathPrefix:a.type==="INSTANCE"?rc(l):void 0,modeContext:{},parentStates:null,parentState:No.createRoot(t,n,r)}})}function EV({websiteData:e,cmsBundleDataAtom:t,atomStore:n,globalVariableState:r,getUrl:o,onResolved:i}){return de(s=>{let a=o(s);return a==null?[]:(i?.(),X9({websiteData:e,cmsBundleData:s(t),atomStore:n,globalVariableState:r,url:a,get:s}))})}function _V(){let e={},t={},n=[],r=[],o=[],i;return{classNamesToStyles:e,globalStyleSheets:t,linkTags:n,metaTags:r,bodyScripts:o,getTitle:()=>i,addHeadTag:s=>{s.type==="class-style"?e[s.className]={cssProperties:s.cssProperties,classNameSourceStr:s.classNameSourceStr}:s.type==="global-style"?t[s.styleElId]=s.styleSheet:s.type==="link"?n.push(s):s.type==="meta"?r.push(s):s.type==="title"&&(i=s.title)},addBodyScript:s=>{o.push(s)}}}function WN(e={}){let{isDesignToReact:t=!1,isMcp:n=!1,shouldOutputVariables:r=!1,dashSeparatedVariableNames:o=!1,codeSyntaxLanguage:i,rootNodeStyle:s,useFigmaComponents:a=!0}=e,l=!!t;return{includeDataName:l,disableDataAttributes:l,shouldOutputCustomEffects:e.shouldOutputCustomEffects??!1,disableBehaviors:l,disableMarquee:l,disableCodeBehaviors:l,preferCssGradients:l,useFigmaClipContentsForOverflow:l,disableTextMarkerVariables:l,disableHighSpecificityContainer:l,disableConstraintsBasedSizing:l,renderHiddenRootNodes:l,renderComponentSetNodes:l,disableImageOptimization:l,disableVariableErrors:l,optimizeForTailwindConversion:l,disableInlineSvgGeneration:l,disableAdjustLetterSpacing:l,disableClientOnlyComponents:l,enableGroupKeyframeAnimations:e.enableGroupKeyframeAnimations??!1,metronomeEnabled:e.metronomeEnabled??!1,transform3dEnabled:e.transform3dEnabled??!1,emitMotionDataForCodegen:l,assignNodeIdToOutermostWrapper:l,useCssRotationConstraints:l,rootNodeStyle:s??(l?"independent":void 0),useFigmaComponents:l&&a,minimizeAutoLayoutWrappers:n,dontUseChildDivForBorderStyles:n,shouldOutputVariables:n||r,dashSeparatedVariableNames:o,disableFontFallbacks:n,codeSyntaxLanguage:i??void 0,previewingCodeBehavior:e.previewingCodeBehavior??!1,testFlags:e.testFlags,enforceLayoutInvariants:e.enforceLayoutInvariants??!1,textCodepointSubstitution:e.textCodepointSubstitution}}var bp=class{static parseModeId(t){let n=t.split("/");if(n.length<2)return null;if(n.length===3){let r=n.slice(0,2).join("/"),o=n[2];return o?{collectionId:r,modeGuid:o}:null}if(n.length===2){let r=n[0],o=n[1];return!r||!o?null:{collectionId:r,modeGuid:o}}return null}};function j9(e){let t=e.indexOf("/");return t===-1?e:e.substring(0,t)}var YN=class{variableOverrideCache=new Map;createCacheKey(t,n,r){return`${t}:${n}:${r}`}findVariableOrOverrideId(t,n,r,o){let i=o.getAssetGuid(n),s=o.nodeById.get(i,o.disableVariableErrors);if(s?.type!=="VARIABLE")return null;let a=o.getCollectionInfo(s.variableCollectionId);if(!a)return null;let l=a.baseCollectionId||s.variableCollectionId,u=r[l],c=u&&bp.parseModeId(u);if(!c)return null;let d=this.createCacheKey(l,c.modeGuid,n),f=this.variableOverrideCache.get(d);if(f!==void 0)return r[f.resolvedCollectionId]=`${f.resolvedCollectionId}/${f.resolvedModeGuid}`,f.resultId===n?null:f.resultId;let p=this.findVariableOverrideInCollectionHierarchy(t,n,c.collectionId,c.modeGuid,o),_=p?.overrideId||n;return this.variableOverrideCache.set(d,{resultId:_,resolvedCollectionId:p?.resolvedCollectionId,resolvedModeGuid:p?.resolvedModeGuid}),p?(r[p.resolvedCollectionId]=`${p.resolvedCollectionId}/${p.resolvedModeGuid}`,p.overrideId):null}findVariableOverrideInCollectionHierarchy(t,n,r,o,i){let s=i.getAssetGuid(r),a=i.nodeById.get(s,i.disableVariableErrors);if(!a||a.type!=="VARIABLE_COLLECTION")return null;let l=a.relatedVariableIds?.[n];if(l){let u=i.getAssetGuid(l),c=i.nodeById.get(u,i.disableVariableErrors);
8796if(c?.type==="VARIABLE"&&c.valuesByMode?.[o]!==void 0)return{overrideId:l,resolvedCollectionId:r,resolvedModeGuid:o}}if(a.parentVariableCollectionId){let u=this.getParentModeInfo(a,o);if(u){let{parentCollectionId:c,parentModeId:d}=u;return this.findVariableOverrideInCollectionHierarchy(t,n,c,d,i)}}return null}getParentModeInfo(t,n){if(!t.modes)return null;let r=t.modes.find(o=>o.modeId.endsWith(`/${n}`));if(!r||!r.parentModeId)return null;if(r.parentModeId.includes("/")){let o=bp.parseModeId(r.parentModeId);if(o)return{parentCollectionId:t.parentVariableCollectionId,parentModeId:o.modeGuid}}else return{parentCollectionId:t.parentVariableCollectionId,parentModeId:r.parentModeId};return null}},iO=class{nodeById;assetIdToGuid;atomStore;disableVariableErrors;map=new Map;assetIdToAssetKeyCache=new Map;hierarchyResolver=new YN;constructor(t,n,r,o){this.nodeById=t,this.assetIdToGuid=n,this.atomStore=r,this.disableVariableErrors=o}setVariable(t,n,r){let o=this.getVariable(t);o&&o.value.setModeValue(n,r)}evaluateVariable(t,n,r){let o=this.hierarchyResolver.findVariableOrOverrideId(t,n,r,this)||n,i=this.getVariable(o);if(!i)return null;let s=i.value,a=t(s.getModeValue(r));return To({get:t,variableState:this,modeContext:r},a)}getVariableCodeSyntax(t){let n=this.getVariable(t);return n?n.value.codeSyntax:{}}getVariableName(t){let n=this.getVariable(t);return n?n.value.name:void 0}getVariable(t){let n=this.getAssetGuid(t),r=this.nodeById.get(n,this.disableVariableErrors);if(!r||r.type!=="VARIABLE")return null;let o=this.map.get(r.id);if(o)return o;let i=new KN(r,this,this.nodeById,this.atomStore);return this.map.set(r.id,i),i}getVariableType(t,n,r){let o=this.evaluateVariable(n,t,r);return o===null?null:aS(o)}getAssetKeyOrLocalGuid(t){this.assetIdToAssetKeyCache.has(t)||this.assetIdToAssetKeyCache.set(t,j9(t));let n=this.assetIdToAssetKeyCache.get(t);return ge(n!==void 0,"assetKey is undefined"),n}getAssetGuid(t){return this.assetIdToGuid.get(t,this.disableVariableErrors)||t}hasAssetId(t){return this.assetIdToGuid.get(t,!0)!==void 0}getCollectionInfo(t){try{let n=this.getAssetGuid(t),r=this.nodeById.get(n,this.disableVariableErrors);return!r||r.type!=="VARIABLE_COLLECTION"?null:r}catch{return null}}},KN=class{atomStore;value;modeAtoms=new Map;constructor(t,n,r,o){this.atomStore=o;let i=r.get(n.getAssetGuid(t.variableCollectionId),n.disableVariableErrors),s=n.getAssetKeyOrLocalGuid(t.variableCollectionId),a=c=>{let d=t.variableCollectionId,f=c?.[d]??c?.[s];f||(f=i.defaultModeId);let _=bp.parseModeId(f)?.modeGuid||f,T=this.modeAtoms.get(f);return T||(T=new $9(t,_,this.atomStore),this.modeAtoms.set(f,T)),T},l=c=>a(c).atom,u=(c,d)=>a(d).setValue(c);this.value={name:t.name,codeSyntax:t.codeSyntax??{},getModeValue:l,setModeValue:u}}},$9=class{atomStore;valueAtom=de(void 0);atom;constructor(t,n,r){this.atomStore=r,this.atom=de(o=>{let i=t.valuesByMode[n];return o(this.valueAtom)??i})}setValue(t){this.atomStore.set(this.valueAtom,t)}};var sO=class{capacity;leakRate;currentVolume;lastTimestamp;constructor(t,n){this.capacity=t,this.leakRate=n,this.currentVolume=0,this.lastTimestamp=Date.now()}leak(){let t=Date.now(),r=(t-this.lastTimestamp)*this.leakRate;this.currentVolume=Math.max(0,this.currentVolume-r),this.lastTimestamp=t}tryAdd(t=1){return this.leak(),this.currentVolume+t<=this.capacity?(this.currentVolume+=t,!0):!1}};function TV(e){return(t,{width:n,height:r}={})=>{if(!e)return t;let o=new URLSearchParams;n&&o.set("w",n.toString()),r&&o.set("h",r.toString());let i=o.size>0?`?${o.toString()}`:"";return`/_assets/${e}/${t}${i}`}}function hV(e){return(t,n)=>n==="CUSTOM"?`/_user_fonts/${e||"v1"}/${t}`:t}function OV({env:e,videosVersion:t}){return(n,r)=>e==="preview"?n:`/_videos/${t||"v1"}/${r}`}function gV({codeComponentsVersion:e,atomStore:t,websiteData:n}){return()=>{if(e){let i=t.get(n.sourceCodeHash);return i?`/_components/${e}/${i}.js`:(console.warn("Source code hash not found"),"")}let r="data:text/javascript;charset=utf-8,",o=n.compiledCode;return o==null?(console.warn("Compiled code not found"),r):r+encodeURIComponent(t.get(o)??"")}}function Z9(e,t,n){let r=J9(e,t,n);return IV(r,n)}function J9(e,t,n){let{atomStore:r,globalVariableState:o}=n,i=GE();kE(i,Nf(e),r);let s=LE(r.get,i,t)[0];if(!s)throw new ht(`Not found: ${t}`);let a=s.id;return{key:"root",nodeById:i.nodeById,assets:i.assets,nodeId:a,preexpandedNodeId:a,parentStates:null,modeContext:{},parentState:No.createRoot(null,r,o),animateRootIds:new Set,stablePathToAssetInfo:i.stablePathToAssetInfo,stablePathToConstraints:i.stablePathToConstraints,assetIdToGuid:i.assetIdToGuid,guidToUrl:i.guidToUrl}}function IV(e,t){try{let n=Ja(t.atomStore.get,e,t),r=n.visible?n.materializedChildNodeProps?.map(i=>IV(i,t)):void 0,o=1;if(r)for(let i of r)o+=i.nodesInSubtree;return delete n.interactionHandlers,delete n.materializedChildNodeProps,delete n.transitionProps,delete n.variableState,delete n.modeContext,structuredClone(n),{node:n,children:r,nodesInSubtree:o}}catch(n){return console.log("Materialization error",n),{node:{type:"ERROR",name:n.message},nodesInSubtree:1}}}var q9="[Hydration Error]",Q9=["hydrat","Minified React error #418","Minified React error #423","Minified React error #424","Minified React error #425"],SV=class{root;container;websiteData;atomStore;cmsBundleDataAtom;env;pendingLocationAtom;currentLocationAtom;getPage;getAssetURL;getVideoURL;getFontURL;history;onWindowResize=null;rootMaterializedNodePropsArrayAtom;materializedRenderOptionsAtom;bundleId;loadComponentsOverNetwork;headTagCollector=_V();withBaseStyles;isFigmake;enableMetaTags;onPageRendered;onReactError;onLocationChange;needsHydration=!1;_resolveRootsRuntimeAtomForTests=void 0;_rootsRuntimeAtomForTestsPromise=void 0;getPagePreloadCache=new Map;materializedRenderOptions;globalVariableState;inheritedVariantPropertiesCache=new Map;processedNodesCache=new Set;computedVariantCache=new Map;constructor({container:t,env:n,loadComponentsOverNetwork:r=!1,history:o,getAssetURL:i=void 0,getFontURL:s=void 0,getVideoURL:a=void 0,getPage:l=void 0,onPageRendered:u,onReactError:c=za,onLocationChange:d,sendMessage:f=oD,codeComponentsVersion:p,assetsVersion:_,fontsVersion:T,videosVersion:h,bundleId:m,renderOptions:E={},withBaseStyles:O=!0,reportingDomain:g,userId:I,analyticsHeaders:S,bundleCreationDate:A,isFigmake:R,enableMetaTags:y}){if(n==="server")throw new te('SitesRuntime does not support env: "server". Use `renderPageAsString` instead.');this.container=t,this.bundleId=m,this.env=n,this.withBaseStyles=O,this.atomStore=df(),this.pendingLocationAtom=de(null),this.currentLocationAtom=de(null),this.getPage=l??this.defaultGetPage,this.getAssetURL=i||TV(_),this.getFontURL=s||hV(T),this.getVideoURL=a||OV({env:n,videosVersion:h}),vD(f),o||(o=new eZ(L=>this.setLocation(L,!0))),this.websiteData=GE(),this.cmsBundleDataAtom=de(null),this.history=o,this.loadComponentsOverNetwork=r,this.needsHydration=this.isPublished(),this.isFigmake=!!R,this.enableMetaTags=!!y,this.onPageRendered=u,this.onReactError=c,this.onLocationChange=d,Me.init({env:n,reportingDomain:g||"",rateLimiter:new sO(100,1/1e3),analyticsHeaders:S,userId:I,bundleId:m,bundleCreationDate:A}),this.materializedRenderOptions=WN(E),this.materializedRenderOptionsAtom=de(this.materializedRenderOptions),this.globalVariableState=new iO(this.websiteData.nodeById,this.websiteData.assetIdToGuid,this.atomStore,this.materializedRenderOptions.disableVariableErrors),this.rootMaterializedNodePropsArrayAtom=EV({websiteData:this.websiteData,cmsBundleDataAtom:this.cmsBundleDataAtom,atomStore:this.atomStore,globalVariableState:this.globalVariableState,getUrl:L=>L(this.currentLocationAtom)?.url,onResolved:()=>this._resolveRootsRuntimeAtomForTests?.()}),this.getCodeComponentURL=gV({codeComponentsVersion:p,atomStore:this.atomStore,websiteData:this.websiteData}),this.onWindowResize=()=>{this.atomStore.set(ME,{width:window.innerWidth,height:window.innerHeight})},this.onWindowResize(),window.addEventListener("resize",this.onWindowResize);let b=(L,D,F,U,N)=>{N&&Me.reportError(N)};if(window.addEventListener("error",b),this.isPreview()){if(!t)throw new te("Container is required in order to render the site.");this.root=(0,lO.createRoot)(t),this.root.render(this.createWebsiteElement())}}isPreview(){return this.env==="preview"}isPublished(){return this.env==="published"}createWebsiteElement(){return(0,aO.createElement)(mV,{...this.websiteContextForMaterialization,cmsBundleDataAtom:this.cmsBundleDataAtom,rootMaterializedNodePropsArrayAtom:this.rootMaterializedNodePropsArrayAtom,getAssetURL:this.getAssetURL,getFontURL:this.getFontURL,getVideoURL:this.getVideoURL,getCodeComponentURL:this.getCodeComponentURL,withBaseStyles:this.withBaseStyles,currentLocationAtom:this.currentLocationAtom,preloadLocation:t=>{this.preloadLocation(t)},onPageRendered:this.onPageRendered,onReactError:this.handleReactError,renderOptionsAtom:this.materializedRenderOptionsAtom,atomStore:this.atomStore,addHeadTag:this.headTagCollector.addHeadTag,addBodyScript:this.headTagCollector.addBodyScript,loadComponentsOverNetwork:this.loadComponentsOverNetwork,wasServerRendered:this.isPublished(),enableMetaTags:this.enableMetaTags})}defaultGetPage=async t=>{let n=t==="/"?"/_index":t,r=`/_json/${this.bundleId}${n}.json`,o=`/_json/${this.bundleId}/_cms${n}.json`,i=fetch(r,{method:"GET",credentials:"include",mode:"no-cors"}),s=new AbortController,a=this.isFigmake?Promise.resolve(null):fetch(o,{method:"GET",credentials:"include",mode:"no-cors",signal:s.signal}).catch(()=>null),l=await i;if(l.status===401&&l.headers.get("x-figma-needs-reauth"))throw console.log("Re-authentication required; navigating to",t),window.location.href=t,new ht("Authentication required");let u=await l.json(),c=!1;if(u.nodeById)for(let f in u.nodeById){let p=u.nodeById[f];if(p&&(p.cmsCollectionBindingProperties||p.cmsItemFieldBindingProperties)){c=!0;break}}let d=null;if(c){let f=await a;if(f&&f.ok)try{d=await f.json()}catch(p){Me.reportError(new ht("Error parsing CMS resource",p)),console.error(p)}else Me.reportError(new ht(`CMS resource expected but failed to load: ${o}`)),console.error(`CMS resource expected but failed to load: ${o}`)}else s.abort();return{resource:u,cmsResource:d}};preloadLocation(t){let n=this.getPagePreloadCache.get(t);return n||(n=this.getPage(t),this.getPagePreloadCache.set(t,n)),n}setLocation(t,n){t.url!==""&&(this.atomStore.set(this.pendingLocationAtom,t),this.preloadLocation(t.url).then(({resource:r,cmsResource:o})=>{if(this.websiteData.nodeById.map.clear(),kE(this.websiteData,Nf(r),this.atomStore),o){let i=qP(o),s=BD();UD(s,i),this.atomStore.set(this.cmsBundleDataAtom,s)}n||this.history.push(t),this.atomStore.set(this.currentLocationAtom,t),this.onLocationChange?.(this),this.needsHydration&&(this.needsHydration=!1,this.hydrate())}).catch(r=>{let o=r instanceof Error;if(o){let i=r.message;if(i===BI||i===UI)return}throw o?r:new Error("Error setting location "+String(r))}).finally(()=>{this.getPagePreloadCache.delete(t.url)}))}getCodeComponentURL;createSnapshotWrapper(t){return(0,aO.createElement)(HN,{...this.websiteContextForMaterialization,cmsBundleData:this.atomStore.get(this.cmsBundleDataAtom),getAssetURL:this.getAssetURL,getFontURL:this.getFontURL,getVideoURL:this.getVideoURL,getCodeComponentURL:this.getCodeComponentURL,setLocation:()=>{},addHeadTag:()=>{},addBodyScript:()=>{},loadComponentsOverNetwork:this.loadComponentsOverNetwork,withBaseStyles:this.withBaseStyles,enableMetaTags:this.enableMetaTags},t)}get websiteContextForMaterialization(){return{env:this.env,isFigmake:this.isFigmake,renderOptions:this.materializedRenderOptions,websiteData:this.websiteData,setLocation:t=>this.setLocation(t,!1),history:this.history,atomStore:this.atomStore,globalVariableState:this.globalVariableState,inheritedVariantPropertiesCache:this.inheritedVariantPropertiesCache,processedNodesCache:this.processedNodesCache,computedVariantCache:this.computedVariantCache}}createLayerElement({guid:t,renderedByCode:n}){this.atomStore.set(this.currentLocationAtom,{url:"/"});let r=this.websiteData.nodeById.get(t),o=this.atomStore.get(this.rootMaterializedNodePropsArrayAtom),i;o&&(i=o[0]);let s=this.atomStore.get(Zu);
8796if(!i||!r)return null;i.nodeId=t,i.preexpandedNodeId=t,i.breakpointWidth=s;let a=Ja(this.atomStore.get,i,this.websiteContextForMaterialization);return function(u){let c=u?Object.fromEntries(Object.entries(u).filter(([p])=>p.startsWith("data-"))):{},d={renderedByCode:n,style:u?.style,className:u?.className,dataAttributes:c},f=fe();return f?(0,aO.createElement)(Hi,{node:a,parent:null,context:d,websiteContext:f}):null}}refresh(){window.location.reload()}pushAssetData(t){NS(this.websiteData,JP(t),this.atomStore)}unmount(){this.onWindowResize&&window.removeEventListener("resize",this.onWindowResize),setTimeout(()=>{this.root?.unmount()})}hydrate(){this.isPublished(),ge(!!this.container,"Container must be provided in order to hydrate the site."),this.isFigmake||WU(),(0,lO.hydrateRoot)(this.container,this.createWebsiteElement(),{onRecoverableError:(t,n)=>{let r=t.message.toLocaleLowerCase(),o=!1;for(let i of Q9)if(r.includes(i.toLocaleLowerCase())){o=!0;break}o?console.error(q9,t,t.cause??"",n.componentStack):console.error(t,n.componentStack)}})}toggleDebugTools(){this.atomStore.set(Cf,!this.atomStore.get(Cf))}_convertMaterializedNodePropsDataForTest(t){let n=Ja(this.atomStore.get,t,this.websiteContextForMaterialization),r=n.materializedChildNodeProps;return delete n.interactionHandlers,delete n.materializedChildNodeProps,delete n.transitionProps,"variableState"in n&&delete n.variableState,"modeContext"in n&&delete n.modeContext,{materializedNode:n,materializedChildNodeProps:r}}async _getSerializedMaterializedNodePropsArrayDataForTests(){this.atomStore.get(this.rootMaterializedNodePropsArrayAtom)||(this._rootsRuntimeAtomForTestsPromise=new Promise(i=>{this._resolveRootsRuntimeAtomForTests=i})),await this._rootsRuntimeAtomForTestsPromise;let t=this.atomStore.get(this.rootMaterializedNodePropsArrayAtom);ge(!!t&&t.length>0,"Root nodes not found");let n={},r=i=>{let s=this._convertMaterializedNodePropsDataForTest(i);n[s.materializedNode.id]=s.materializedNode,s.materializedChildNodeProps?.forEach(a=>r(a))};return{rootIds:t.map(i=>(r(i),this._convertMaterializedNodePropsDataForTest(i).materializedNode.id)),nodeByGuidMap:n}}listenForTestEvent(t){return new Promise(n=>{let r=o=>{let i=o.detail.name;t===i&&(window.removeEventListener("FigmaTestEvent",r),n(t))};window.addEventListener("FigmaTestEvent",r)})}setRenderOptions(t){let n=WN(t);Object.assign(this.materializedRenderOptions,n),this.atomStore.set(this.materializedRenderOptionsAtom,n)}handleReactError=(t,n={})=>{try{this.onReactError(t,n)}catch{}Me.reportError(t)}},eZ=class{onPopState;constructor(t){this.onPopState=t,window.addEventListener("popstate",n=>{let r=n.state;this.onPopState({...this.current,scrollY:r?.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:n}=this.current;return RV(t,n)}push(t){history.replaceState({scrollY:window.scrollY},"",this.href),history.pushState({},"",RV(t.url||"/",t.search||""))}forward(){history.forward()}back(){history.back()}},RV=(e,t)=>e+t;export{sd as ActiveBreakpointContext,uN as ActiveBreakpointProvider,zj as AppearBehaviorPresetTransition,ON as BannerComponentType,Qo as BehaviorPresetEasingFunctions,Kj as BehaviorPresetScrollParallaxSpeed,Yj as BehaviorPresetStates,zw as BehaviorPresetTransition,yt as BehaviorType,gt as BlendMode,PP as CmsRichTextNodeDefaults,wP as CodeComponentNodeDefaults,BP as CodeFileNodeDefaults,kP as CodeInstanceNodeDefaults,FP as CodeLayerNodeDefaults,SP as ComponentNodeDefaults,RP as ComponentSetNodeDefaults,yo as ConsentType,vN as CookieConsentBanner,fd as CookieConsentContext,kJ as CornerRadiusShapeTraitsDefaults,QI as CornerTraitDefaults,A$ as DEFAULT_HISTORY_STATE,TN as DEFAULT_SITE_DESCRIPTION,_N as DEFAULT_SITE_TITLE,If as DefaultShapeTraitsDefaults,On as EasingType,Je as ExpressionFunction,PJ as FontVariantPosition,yP as FrameNodeDefaults,Ur as FrameTraitsDefaults,LP as GroupNodeDefaults,gf as HasBlendModeAndOpacityTraitDefaults,M3 as HasEffectsTraitDefaults,G3 as HasFramePropertiesTraitDefaults,hE as HasGeometryTraitDefaults,TE as HasLayoutTraitDefaults,OP as HasMaskTraitDefaults,NP as ImageNodeDefaults,DP as InstanceNodeDefaults,GJ as InteractionTraitDefaults,k3 as IsInAnimateTreeTraitDefaults,Cu as IsLayerTraitDefaults,DJ as KeyframeOperation,vJ as KeyframeValueType,hN as LOTTIEFILES_REGEX,Kn as LayoutConstraintHorizontal,Er as LayoutConstraintVertical,Da as LineTypes,jw as MARQUEE_PRESET_DEFAULT_PAUSE_ON_HOVER,jj as MARQUEE_PRESET_DEFAULT_PAUSE_ON_HOVER_VAR,Xw as MARQUEE_PRESET_DEFAULT_SPEED,Xj as MARQUEE_PRESET_DEFAULT_SPEED_VAR,Xh as RESET_STYLES_ID,vP as RectangleNodeDefaults,gP as RectangularShapeTraitsDefaults,Gl as RenderHooksContext,CP as RepeaterNodeDefaults,hP as ResponsiveTraitDefaults,UI as SITES_PREVIEW_GET_PAGE_ER
8796ROR_SANDBOX,BI as SITES_PREVIEW_GET_PAGE_ERROR_SNAPSHOT,SV as SitesRuntime,bP as SlotNodeDefaults,ee as SmartAnimateType,Sp as SnapshotContext,HN as SnapshotWebsiteProvider,Sf as SourceCodeTraitsDefaults,AP as SvgNodeDefaults,TP as TextDecoration,xP as TextNodeDefaults,mo as TransitionOverrideProp,IP as TypePropertiesTraitDefaults,GP as WebpageNodeDefaults,ld as WebsiteSettingsContext,fN as WebsiteSettingsProvider,MP as WidgetNodeDefaults,Fl as XAlignment,wl as YAlignment,OE as applyDefaultsToPrototype,aa as buildFontFace,j7 as createPropertySetters,$h as getFontWeight,Bh as getImageProp,Z9 as getMaterializedTreeForWebsite,lN as getPropertySetterNameMap,fo as guidToDOMId,Pu as isPaintGradient,YA as makeFramerMotionDefinition,Nf as parseBundle,OU as parseFontWeightFromStyleName,rS as parseNode,YJ as parseSchemaData,EN as resetCSS,VE as solidColor}; 8797/*! 8798 Copyright (c) 2018 Jed Watson. 8799 Licensed under the MIT License (MIT), see 8800 http://jedwatson.github.io/classnames 8801*/ 8802/*! 8803 * Bowser - a browser detector 8804 * https://github.com/ded/bowser 8805 * MIT License | (c) Dustin Diaz 2015 8806 */ 8807/** 8808 * @license React 8809 * react-dom.production.min.js 8810 * 8811 * Copyright (c) Facebook, Inc. and its affiliates. 8812 * 8813 * This source code is licensed under the MIT license found in the 8814 * LICENSE file in the root directory of this source tree. 8815 */ 8816/** 8817 * @license React 8818 * react-jsx-dev-runtime.production.min.js 8819 * 8820 * Copyright (c) Facebook, Inc. and its affiliates. 8821 * 8822 * This source code is licensed under the MIT license found in the 8823 * LICENSE file in the root directory of this source tree. 8824 */ 8825/** 8826 * @license React 8827 * react-jsx-runtime.production.min.js 8828 * 8829 * Copyright (c) Facebook, Inc. and its affiliates. 8830 * 8831 * This source code is licensed under the MIT license found in the 8832 * LICENSE file in the root directory of this source tree. 8833 */ 8834/** 8835 * @license React 8836 * react.production.min.js 8837 * 8838 * Copyright (c) Facebook, Inc. and its affiliates. 8839 * 8840 * This source code is licensed under the MIT license found in the 8841 * LICENSE file in the root directory of this source tree. 8842 */ 8843/** 8844 * @license React 8845 * scheduler.production.min.js 8846 * 8847 * Copyright (c) Facebook, Inc. and its affiliates. 8848 * 8849 * This source code is licensed under the MIT license found in the 8850 * LICENSE file in the root directory of this source tree. 8851 */ 8852/** 8853 * @license react-fast-marquee 8854 * 8855 * Adapted from https://github.com/justin-chu/react-fast-marquee/blob/master/src/components/Marquee.tsx 8856 * Copyright (c) 2020 justin-chu 8857 * MIT License 8858 */ 8859/** 8860 * Subset of the Tailwind Preflight CSS styles applied in Sites only, but not in 8861 * Make, as not all Sites will use Tailwind via Code Layers. 8862 * 8863 * TODO(@akern): Further align this so it is an exact subset of the Tailwind 8864 * Preflight CSS, because it isn't yet, and until it is, code layer styles may 8865 * not be applied correctly. 8866 * 8867 * @license Tailwind 8868 * https://github.com/tailwindlabs/tailwindcss/blob/v3.4.17/src/css/preflight.css 8869 * 8870 * Copyright (c) Tailwind Labs, Inc. 8871 * 8872 * Some of the source code in this file comes from the TailwindCSS project, which is licnesed under the MIT license 8873 * https://github.com/tailwindlabs/tailwindcss/blob/main/LICENSE 8874 */ 8875 8876// #version: 972831cf428212f623860e801969b1a675b4f7d6
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.