1try{let t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="7dced039-3aee-4041-bc2c-49c5024eb2e1",t._sentryDebugIdIdentifier="sentry-dbid-7dced039-3aee-4041-bc2c-49c5024eb2e1")}catch(e){}("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"208112130f7191ca21d7f7823957b29fc72a04ef"};(self.webpackChunkorca_website=self.webpackChunkorca_website||[]).push([[7405],{4259:function(t,e,n){"use strict";n.d(e,{U:function(){return r}});var o=n(6540),i=(n(7958),{accordion:{collapse:"Collapse",expand:"Expand"},breadcrumbs:{ariaLabel:"Breadcrumbs navigation"},datepicker:{ariaLabel:"Select a date.",ariaLabelRange:"Select a date range.",ariaLabelCalendar:"Calendar.",ariaRoleDescriptionCalendarMonth:"Calendar month",previousMonth:"Previous month.",nextMonth:"Next month.",pastWeek:"Past Week",pastMonth:"Past Month",pastThreeMonths:"Past 3 Months",pastSixMonths:"Past 6 Months",pastYear:"Past Year",pastTwoYears:"Past 2 Years",screenReaderMessageInput:"Press the down arrow key to interact with the calendar and select a date. Press the escape button to close the calendar.",selectedDate:"Selected date is ${date}.",selectedDateRange:"Selected date range is from ${startDate} to ${endDate}.",selectSecondDatePrompt:"Select the second date.",quickSelectLabel:"Choose a date range",quickSelectAriaLabel:"Choose a date range",quickSelectPlaceholder:"None",timeSelectEndLabel:"End time",timeSelectStartLabel:"Start time",timePickerAriaLabel12Hour:"Select a time, 12-hour format.",timePickerAriaLabel24Hour:"Select a time, 24-hour format.",timezonePickerAriaLabel:"Select a timezone.",selectedStartDateLabel:"Selected start date.",selectedEndDateLabel:"Selected end date.",dateNotAvailableLabel:"Not available.",dateAvailableLabel:"It's available.",selectedLabel:"Selected.",chooseLabel:"Choose"},datatable:{emptyState:"No rows match the filter criteria defined. Please remove one or more filters to view more data.",loadingState:"Loading rows.",searchAriaLabel:"Search by text",filterAdd:"Add Filter",filterExclude:"Exclude",filterApply:"Apply",filterExcludeRange:"Exclude range",filterExcludeValue:"Exclude value",filterAppliedTo:"filter applied to",optionsLabel:"Select column to filter by",optionsSearch:"Search for a column to filter by...",optionsEmpty:"No columns available.",categoricalFilterSelectAll:"Select All",categoricalFilterSelectClear:"Clear",categoricalFilterEmpty:"No categories found",datetimeFilterRange:"Range",datetimeFilterRangeDatetime:"Date, Time",datetimeFilterRangeDate:"Date",datetimeFilterRangeTime:"Time",datetimeFilterCategorical:"Categorical",datetimeFilterCategoricalWeekday:"Weekday",datetimeFilterCategoricalMonth:"Month",datetimeFilterCategoricalQuarter:"Quarter",datetimeFilterCategoricalHalf:"Half",datetimeFilterCategoricalFirstHalf:"H1",datetimeFilterCategoricalSecondHalf:"H2",datetimeFilterCategoricalYear:"Year",numericalFilterRange:"Range",numericalFilterSingleValue:"Single Value",booleanFilterTrue:"true",booleanFilterFalse:"false",booleanColumnTrueShort:"T",booleanColumnFalseShort:"F"},buttongroup:{ariaLabel:"button group"},fileuploader:{dropFilesToUpload:"Drop files here to upload...",or:"",browseFiles:"Browse files",retry:"Retry Upload",cancel:"Cancel"},menu:{noResultsMsg:"No results",parentMenuItemAriaLabel:"You are currently at an item that opens a nested listbox. Press right arrow to enter that element and left arrow to return."},modal:{close:"Close"},drawer:{close:"Close"},pagination:{prev:"Prev",next:"Next",preposition:"of"},select:{noResultsMsg:"No results found",placeholder:"Select...",create:"Create"},toast:{close:"Close"}}),r=o.createContext(i)},6341:function(t,n,o){"use strict";o.r(n),o.d(n,{default:function(){return Yc}});var i=o(6540),r=o(4794),a=o(5996),s=o.n(a),l=o(9165),c=o(5182),u=o(5871),d=o(8078),p=o(2532),m=o(312),h=o.n(m),f=o(4251),g=o(4990),y=o(8818),v=o(4380),x=o(2601),b=o(3780);function E(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,o)}return n}function C(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?E(Object(n),!0).forEach(function(e){w(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function w(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var S=(0,c.I4)("ul",{listStyleType:"none",marginBottom:0,marginTop:0,paddingLeft:0,paddingRight:0,width:"100%"});S.displayName="Root";var P=(0,c.I4)("li",function(t){var e=t.$expanded,n=t.$theme.colors;return{listStyleType:"none",width:"100%",borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:e?n.mono500:n.mono400}});P.displayName="PanelContainer";var A=(0,c.I4)("div",function(t){var e=t.$disabled,n=t.$isFocusVisible,o=t.$theme,i=o.colors,r=o.sizing;return C(C({},o.typography.font350),{},{color:i.contentPrimary,cursor:e?"not-allowed":"pointer",backgroundColor:i.listHeaderFill,paddingTop:r.scale600,paddingBottom:r.scale600,paddingLeft:r.scale700,paddingRight:r.scale700,marginTop:0,marginBottom:0,marginLeft:0,marginRight:0,display:"flex",alignItems:"center",outline:n?"3px solid ".concat(i.accent):"none",outlineOffset:"-3px",justifyContent:"space-between",":hover":{color:i.primary}})});A.displayName="Header";var I=(0,c.I4)("svg",function(t){var e=t.$theme,n=t.$disabled,o=t.$color;return C(C({},(0,b.P)(t)),{},{flexShrink:0,color:o||e.colors.contentPrimary,cursor:n?"not-allowed":"pointer"})});I.displayName="ToggleIcon";var T=(0,c.I4)("g",function(t){var e=t.$theme;return{transform:t.$expanded?"rotate(0)":"rotate(-90deg)",transformOrigin:"center",transitionProperty:"transform",transitionDuration:e.animation.timing500,transitionTimingFunction:e.animation.easeOutQuinticCurve}});T.displayName="ToggleIconGroup";var k=(0,c.I4)("div",function(t){var e=t.$theme,n=e.animation,o=e.colors,i=e.sizing,r=e.typography,a=t.$expanded;return C(C({},r.font200),{},{backgroundColor:o.listBodyFill,color:o.contentPrimary,paddingTop:i.scale800,paddingBottom:i.scale1000,paddingLeft:i.scale800,paddingRight:i.scale800,marginTop:0,marginBottom:0,marginLeft:0,marginRight:0,boxSizing:"border-box",overflow:"hidden",opacity:a?1:0,visibility:a?"visible":"hidden",transitionProperty:"opacity,visibility",transitionDuration:n.timing500,transitionDelay:n.timing200,transitionTimingFunction:n.easeOutQuinticCurve})});k.displayName="Content";var D=(0,c.I4)("div",function(t){var e=t.$height,n=t.$theme.animation;return{height:"".concat(e),overflow:"hidden",transitionProperty:"height",transitionDuration:n.timing500,transitionTimingFunction:n.easeOutQuinticCurve}});D.displayName="ContentAnimationContainer";var R="expand";function O(t){return O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},O(t)}function V(){return V=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},V.apply(this,arguments)}function M(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var o,i,r=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(l){s=!0,i=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return r}(t,e)||j(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function L(t){return function(t){if(Array.isArray(t))return B(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||j(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function j(t,e){if(t){if("string"==typeof t)return B(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?B(t,e):void 0}}function B(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function F(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,o)}return n}function $(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}
1function U(t,e){return U=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},U(t,e)}function N(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var e,o=z(t);if(n){var i=z(this).constructor;e=Reflect.construct(o,arguments,i)}else e=o.apply(this,arguments);return function(t,e){if(e&&("object"===O(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return H(t)}(this,e)}}function H(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function z(t){return z=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},z(t)}function _(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var W=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&U(t,e)}(a,t);var e,n,o,r=N(a);function a(){var t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a);for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return _(H(t=r.call.apply(r,[this].concat(n))),"state",function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?F(Object(n),!0).forEach(function(e){_(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):F(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({expanded:[]},t.props.initialState)),_(H(t),"itemRefs",[]),t}return e=a,n=[{key:"onPanelChange",value:function(t,e){for(var n=arguments.length,o=new Array(n>2?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];var r=this.state.expanded;if(this.props.accordion)r=r[0]===t?[]:[t];else{var a=(r=L(r)).indexOf(t);a>-1?r.splice(a,1):r.push(t)}var s={expanded:r};this.internalSetState(R,s),"function"==typeof e&&e.apply(void 0,o)}},{key:"internalSetState",value:function(t,e){var n=this.props,o=n.stateReducer,i=n.onChange,r=o(t,e,this.state);this.setState(r),"function"==typeof i&&i(r)}},{key:"handleKeyDown",value:function(t){if(!this.props.disabled){var e=this.itemRefs;if(36===t.keyCode){t.preventDefault();var n=e[0];n.current&&n.current.focus()}if(35===t.keyCode){t.preventDefault();var o=e[e.length-1];o.current&&o.current.focus()}if(38===t.keyCode){t.preventDefault();var i=e.findIndex(function(t){return t.current===document.activeElement});if(i>0){var r=e[i-1];r.current&&r.current.focus()}}if(40===t.keyCode){t.preventDefault();var a=e.findIndex(function(t){return t.current===document.activeElement});if(a<e.length-1){var s=e[a+1];s.current&&s.current.focus()}}}}},{key:"getItems",value:function(){var t=this,e=this.state.expanded,n=this.props,o=n.accordion,r=n.disabled,a=n.children,s=n.renderAll,l=n.overrides;return i.Children.map(a,function(n,a){if(n){var c=i.createRef();t.itemRefs.push(c);var u=n.key||String(a),d=!1;d=o?e[0]===u:e.includes(u);var p={key:u,ref:c,expanded:d||n.props.expanded,accordion:o,renderAll:s,overrides:n.props.overrides||l,disabled:n.props.disabled||r,onChange:function(){for(var e=arguments.length,o=new Array(e),i=0;i<e;i++)o[i]=arguments[i];return t.onPanelChange.apply(t,[u,n.props.onChange].concat(o))}};return i.cloneElement(n,p)}})}},{key:"render",value:function(){var t=this.props.overrides,e=(void 0===t?{}:t).Root,n=M((0,x._O)(e,S),2),o=n[0],r=n[1];return i.createElement(o,V({"data-baseweb":"accordion",$disabled:this.props.disabled,$isFocusVisible:!1,onKeyDown:this.handleKeyDown.bind(this)},r),this.getItems())}}],n&&$(e.prototype,n),o&&$(e,o),Object.defineProperty(e,"prototype",{writable:!1}),a}(i.Component);_(W,"defaultProps",{accordion:!0,disabled:!1,initialState:{expanded:[]},onChange:function(){},overrides:{},renderAll:!1,stateReducer:function(t,e){return e}});var Y=o(4259),G=o(224);function q(){return q=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},q.apply(this,arguments)}function K(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,o)}return n}function X(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?K(Object(n),!0).forEach(function(e){Q(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):K(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function Q(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Z(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var o,i,r=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(l){s=!0,i=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return J(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return J(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function J(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}var tt=function(t,e){var n=t["aria-controls"],o=t.children,r=t.disabled,a=void 0!==r&&r,s=t.expanded,l=void 0!==s&&s,c=t.onChange,u=void 0===c?function(){}:c,d=t.onClick,p=void 0===d?function(){}:d,m=t.onKeyDown,h=void 0===m?function(){}:m,f=t.overrides,g=void 0===f?{}:f,y=t.title,v=void 0===y?"":y,b=t.renderAll,E=void 0!==b&&b,C=Z(i.useState({expanded:l,isFocusVisible:!1,elementHeight:0,animationInProgress:!1}),2),w=C[0],S=C[1],R=i.useCallback(function(t){(0,G.pP)(t)&&S(X(X({},w),{},{isFocusVisible:!0}))},[w]),O=i.useCallback(function(t){w.isFocusVisible&&S(X(X({},w),{},{isFocusVisible:!1}))},[w]),V=i.useCallback(function(t){a||("function"==typeof u&&u({expanded:!l}),"function"==typeof p&&p(t))},[l,a,u,p]),M=i.useCallback(function(t){if(!a){13!==t.keyCode&&32!==t.keyCode||("function"==typeof u&&u({expanded:!l}),32===t.keyCode&&t.preventDefault()),"function"==typeof h&&h(t)}},[l,a,u,h]),L=i.useRef(null);i.useEffect(function(){if(L.current){var t=L.current.getBoundingClientRect().height;l!==w.expanded?S(X(X({},w),{},{expanded:l,animationInProgress:!0})):parseInt(w.elementHeight)!==t&&S(X(X({},w),{},{elementHeight:t?"".concat(t,"px"):0}))}},[L.current,l,w.elementHeight,w.expanded,S]);var j=i.useMemo(function(){if(!l&&w.expanded){var t=L.current.getBoundingClientRect().height;return S(X(X({},w),{},{elementHeight:t?"".concat(t,"px"):0})),w.elementHeight}return w.expanded?w.animationInProgress?w.elementHeight:"auto":0},[l,w.expanded,w.animationInProgress,w.elementHeight]),B={$disabled:a,$expanded:l,$isFocusVisible:w.isFocusVisible},F=g.PanelContainer,$=g.Header,U=g.Content,N=g.ContentAnimationContainer,H=g.ToggleIcon,z=g.ToggleIconGroup,_=Z((0,x._O)(F,P),2),W=_[0],K=_[1],Q=Z((0,x._O)($,A),2),J=Q[0],tt=Q[1],et=Z((0,x._O)(U,k),2),nt=et[0],ot=et[1],it=Z((0,x._O)(N,D),2),rt=it[0],at=it[1],st=Z((0,x._O)(z,T),2),lt=st[0],ct=st[1],ut=Z((0,x._O)(H,I),2),dt=ut[0],pt=ut[1];return i.createElement(Y.U.Consumer,null,function(t){return i.createElement(W,q({},B,K),i.createElement(J,q({tabIndex:0,role:"button","aria-expanded":l,"aria-disabled":a||null},B,tt,n?{"aria-controls":n}:{},{onClick:V,onKeyDown:M,onFocus:(0,G.pL)(tt,R),onBlur:(0,G.iw)(tt,O),ref:e}),v,i.createElement(dt,q({viewBox:"0 0 24 24",title:w.expanded?t.accordion.collapse:t.accordion.expand,size:16},pt,B),i.createElement(lt,q({},B,ct),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 12C6 11.4477 6.44772 11 7 11H17C17.5523 11 18 11.4477 18 12C18 12.5523 17.5523 13 17 13H7C6.44772 13 6 12.5523 6 12Z"})),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 12C6 11.4477 6.44772 11 7 11H17C17.5523 11 18 11.4477 18 12C18 12.5523 17.5523 13 17 13H7C6.44772 13 6 12.5523 6 12Z"}))),i.createElement(rt,q({},B,at,{$height:j,onTransitionEnd:function(){w.animationInProgress&&S(X(X({},w),{},{animationInProgress:!1}))}}),i.createElement(nt,q({ref:L},B,ot,n?{id:n}:{}),w.expanded||E||w.animationInProgress?o:null)))})},et=i.forwardRef(tt);et.displayName="Panel";var nt=et;const ot=(0,c.I4)("div",()=>({width:"100%",backgroundColor:"#eeeaea",display:"flex",flexDirection:"column",alignItems:"center",overflow:"hidden",padding:"0"})),it=(0,c.I4)("h3",({$theme:t})=>({fontSize:"42px",margin:"60px 0 60px 0",color:t.colors.primary,[t.mediaQuery.small]:{margin:"62px 16px 26px 16px",fontSize:"30px",textAlign:"center"}})),rt=(0,c.I4)("div",({$theme:t})=>({width:"100%",maxWidth:"1200px",marginBottom:"86px",[t.mediaQuery.medium]:{padding:"0 24px"},[t.mediaQuery.small]:{padding:"0 16px"}})),at=(0,c.I4)("div",({$theme:t})=>({display:"flex",flexDirection:"row",flex:1,justifyContent:"space-between",gap:"172px",[t.mediaQuery.medium]:{gap:"52px"},[t.mediaQuery.small]:{flexDirection:"column",display:"block",gap:"44px"}})),st=(0,c.I4)("div",({$theme:t})=>({display:"flex",flexDirection:"column",margin:"0",flex:1,[t.mediaQuery.small]:{margin:"0"}})),lt=(0,c.I4)("h5",({$theme:t})=>({color:t.colors.primary,margin:"32px 0 32px 0",fontSize:"25px",[t.mediaQuery.small]:{fontSize:"24px",margin:"32px 0 32px 0"}})),ct=(0,c.I4)("p",({$theme:t})=>({padding:0,color:t.colors.primary,lineHeight:1.2})),ut=(0,c.I4)(r.Link,({$theme:t})=>({color:t.colors.accent,textDecoration:"underline",fontWeight:700,margin:"2px 0"})),dt=(0,c.I4)("a",({$theme:t})=>({color:t.colors.accent,textDecoration:"underline",fontWeight:700,margin:"2px 0"})),pt={renderNode:{[u.BLOCKS.PARAGRAPH]:(t,e)=>i.createElement(ct,null,e),[u.INLINES.HYPERLINK]:(t,e)=>t.data.uri.includes("mailto")||t.data.uri.includes("http")?i.createElement(dt,{href:t.data.uri},e):i.createElement(ut,{to:t.data.uri},e)}};
1function mt({topic:t}){return i.createElement(st,null,i.createElement(lt,null,t.sectionTitle),t.questions.map(t=>i.createElement(W,{key:t.question,overrides:{Root:{style:()=>({margin:0,padding:0})},PanelContainer:{style:()=>({maxWidth:"546px",width:"100%"})}}},i.createElement(nt,{title:t.question,overrides:{Header:{style:({$theme:t})=>({borderTop:`1px solid ${t.colors.primary100}`,color:t.colors.primary,transition:"500ms ease",paddingLeft:"0px",paddingBottom:"0px",borderBottomWidth:"0px",backgroundColor:"#eeeaea",":hover":{color:t.colors.primary600}})},ToggleIcon:{style:()=>({})},Content:{style:({$theme:t})=>({backgroundColor:"#eeeaea",borderBottomWidth:"0px",color:t.colors.primary,paddingLeft:"0px",paddingBottom:"0px"})},PanelContainer:{style:()=>({borderBottomColor:"rgba(0,0,0,0)"})}}},(0,d.C)(t.answer,pt)))))}function ht({id:t}){const{contentfulStoreFaq:e}=(0,r.useStaticQuery)("911211167"),{title:n,topics:o}=e,a=[o[0],o[1]],s=[o[2],o[3]];return i.createElement(ot,{id:t},i.createElement(it,null,n),i.createElement(rt,null,i.createElement(at,null,a.map(t=>i.createElement(mt,{topic:t,key:t.id}))),i.createElement(at,null,s.map(t=>i.createElement(mt,{topic:t,key:t.id})))))}var ft=o(2365),gt=o(8310),yt=o(9696),vt=o(3572);const xt={[vt.xB["orca-display-2"]]:{itemId:yt.Np.SKU_DISPLAY_2,contentId:yt.Vn.DISPLAY_2,currency:"EUR",value:yt.vH},[vt.xB["orca-core-1"]]:{itemId:yt.Np.SKU_CORE_2,contentId:yt.Vn.ORCA_CORE_2,currency:"EUR",value:yt.wi}},bt=t=>xt[t],Et={[vt.xB["orca-display-2"]]:yt.Vn.DISPLAY_2,[vt.xB["orca-core-1"]]:yt.Vn.ORCA_CORE_2},Ct=t=>{var e;return null!==(e=Et[t])&&void 0!==e?e:void 0},wt=t=>{switch(t.type){case"page_view":(0,yt.EH)(yt.dH.VIEW_ITEM),(0,yt.P1)(yt.ew.VIEW_ITEM,{content_type:"Product Configuration View",content_category:"product_selection",contents:[]});break;case"product_selected":{const e=bt(t.productId);e&&((0,yt.EH)(yt.dH.ADD_TO_CART,{itemId:e.itemId,value:e.value,currency:e.currency}),(0,yt.P1)(yt.ew.ADD_TO_CART,{value:e.value,currency:e.currency,content_type:"product",contents:[{id:e.contentId,quantity:1,item_price:e.value}],content_ids:e.contentId}));break}case"cart_continued":{const e=(0,vt.Ic)(t.productId);(0,yt.FI)(yt.q0.CART_CONTINUED,{product_name:e});break}case"checkout_started":{const{currency:e,value:n,items:o}=t,i=o.some(t=>t.productId===vt.xB["orca-display-2"]&&t.quantity>0),r=o.some(t=>t.productId===vt.xB["orca-core-1"]&&t.quantity>0),a=i?yt.Np.SKU_DISPLAY_2:r?yt.Np.SKU_CORE_2:void 0;a&&(0,yt.EH)(yt.dH.PAYMENT_STARTED,{itemId:a,currency:e,value:n});const s=o.map(t=>{const e=Ct(t.productId),n=bt(t.productId);if(e&&n&&!(t.quantity<=0))return{id:e,quantity:t.quantity,item_price:n.value}}).filter(t=>Boolean(t)),l=o.flatMap(t=>{const e=Ct(t.productId);return e?Array(t.quantity).fill(e):[]}),c=o.reduce((t,e)=>t+e.quantity,0),u=l.length>0?l.join(","):void 0;(0,yt.P1)(yt.ew.PAYMENT_STARTED,{currency:e,value:n,content_ids:u,num_items:c>0?c:void 0,content_type:"product",contents:s}),(0,yt.FI)(yt.q0.CHECKOUT_STARTED,{value_euros:n});break}}};var St=o(8468),Pt=o(4506),At=o(6618);const It=t=>t.normalize("NFKC").trim().toLowerCase().match(/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|.(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/),Tt=(t,e,n=1)=>{const{prefix:o,suffix:i}=gt.yv[t];let r=""+e/100*n;return r.length>3&&(r=r.replace(/.{3}$/," $&")),o?`${o}${r}`:i?`${r}${i}`:null},kt=t=>"no-display"!==t&&"no-core"!==t&&"no-mount"!==t,Dt=t=>kt(t.id)&&Boolean(t.stripeProductId)&&t.selectedAmount>0,Rt=(t,e,n)=>{var o;const i=e.edges.filter(e=>{var n;return(null===(n=e.node.product)||void 0===n?void 0:n.id)===t.stripeProductId}).map(t=>t.node),{currency:r}=n[0],a=i.filter(t=>t.currency===r.toLocaleLowerCase()).sort((t,e)=>(e.created||0)-(t.created||0))[0];return{priceAmount:a.unit_amount,stripeProductId:null===(o=a.product)||void 0===o?void 0:o.id,stripePriceId:a.id}},Ot=(t,e)=>e.replace("{{price}}",t),Vt=t=>{const e=(t=>{const e=new Date;let n=t;for(;n>0;){e.setDate(e.getDate()+1);const t=e.getDay();0===t||6===t||(n-=1)}return e})(t);return(0,vt.kM)(e)},Mt=(t,e)=>{var n,o;return e&&"number"==typeof e.minDays&&"number"==typeof e.maxDays&&e.maxDays-e.minDays>14?"Your order will ship in multiple parcels.":e&&"number"==typeof e.minDays&&"number"==typeof e.maxDays&&e.minDays>14&&e.maxDays-e.minDays<=14?"Increased shipping duration due to high demand.":(null===(n=t.warrantyAndDeliveryInfo)||void 0===n||null===(o=n.delivery)||void 0===o?void 0:o.subtitle)||""},Lt=t=>{var e;const n=(null===(e=t.batchDetailInfo)||void 0===e?void 0:e.currentBatch)||1,{allBatches:o}=t.batchDetailInfo;return o.filter(t=>t.batchNumber>=n)},jt=t=>{var e;const n=(null===(e=t.batchDetailInfo)||void 0===e?void 0:e.currentBatch)||1,{allBatches:o}=t.batchDetailInfo;return o.find(t=>t.batchNumber===n-1)},Bt=(t,e,n,o,i,r)=>
1{const a=t.reduce((t,e)=>{const n=e.elements.reduce((t,e)=>{if(!e.stripeProductId||!e.stripePriceId||e.selectedAmount<1)return t;const n={productId:e.stripeProductId,priceId:e.stripePriceId,amount:e.selectedAmount},o=(i=e.id,[vt.xB["orca-charging-mount-surface-1"],vt.xB["orca-charging-mount-top-1"],vt.xB["orca-display-2"]].includes(i));var i;return{totalAmount:t.totalAmount+e.priceAmount*e.selectedAmount,products:[].concat((0,Pt.A)(t.products),[n]),checkoutContainsPreorderItems:t.checkoutContainsPreorderItems||o}},{totalAmount:0,checkoutContainsPreorderItems:!1,products:[]});return{totalAmount:t.totalAmount+n.totalAmount,products:[].concat((0,Pt.A)(t.products),(0,Pt.A)(n.products)),checkoutContainsPreorderItems:t.checkoutContainsPreorderItems||n.checkoutContainsPreorderItems}},{totalAmount:0,products:[],checkoutContainsPreorderItems:!1}),s=o.countryObjectMap[n[0].region]||"your location",l=((t,e)=>{if(!e)return null;let n=Number.NEGATIVE_INFINITY,o=Number.NEGATIVE_INFINITY;return t.flatMap(t=>t.elements).filter(t=>kt(t.id)&&t.selectedAmount>0).forEach(t=>{var i,r;const a=e[t.id];if(!a)return;const s=null===(i=a.minimum)||void 0===i?void 0:i.value,l=null===(r=a.maximum)||void 0===r?void 0:r.value;"number"==typeof s&&(n=Math.max(n,s)),"number"==typeof l&&(o=Math.max(o,l))}),Number.isFinite(n)&&Number.isFinite(o)?{minDays:n,maxDays:o}:null})(t,r),c=l?Vt(l.minDays):(0,vt.rQ)(n),u=l?Vt(l.maxDays):(0,vt.VM)(n),d=Boolean(a.totalAmount>0&&i.email&&It(i.email));return{shippingCountry:s,products:a.products,totalAmount:a.totalAmount,totalAmountString:Tt(n[0].currency,a.totalAmount)||"",stockLevel:Mt(e,l),deliveryEstimate:`${e.estimatedDelivery} ${c} - ${u}.`,canCheckout:d,currentBatchInformation:Lt(e),previousBatchInformation:jt(e)}},Ft=(t,e,n,o,i,r,a)=>{const s=((t,e,n,o,i)=>{const r=vt.xB["orca-display-2"],a=o.nodes.find(t=>t.productId===r),s=t.productConfiguration.find(t=>t.id===r),{currency:l}=i[0],{priceAmount:c,stripeProductId:u,stripePriceId:d}=Rt(a,e,i),p=Boolean(s),m=(null==s?void 0:s.count)||0,h=m>0,f=p&&0===m,g={id:r,title:a.title,description:a.description,unitPrice:Tt(l,c),selectedAmount:m,priceAmount:c,stripeProductId:u,stripePriceId:d,isHighlighted:h,unitDenominator:n.perUnit,countPrompt:n.displayPurchaseCount,continue:n.continue},y={id:"no-display",title:n.noDisplayTitle,description:n.noDisplayText,unitPrice:null,priceAmount:0,stripePriceId:void 0,stripeProductId:void 0,selectedAmount:0,isHighlighted:f,unitDenominator:n.perUnit,continue:void 0,countPrompt:void 0};return{id:"display",title:n.displayTitle,elements:[g,y],helperText:n.displayHelpText,images:a.images,isStepCompleted:p,type:"default"}})(t,e,n,o,i),l=((t,e,n,o,i)=>{const r=vt.xB["orca-core-1"],a=o.nodes.find(t=>t.productId===r),s=t.productConfiguration.find(t=>t.id===r),{currency:l}=i[0],{priceAmount:c,stripeProductId:u,stripePriceId:d}=Rt(a,e,i),p=Boolean(s),m=(null==s?void 0:s.count)||0,h=m>0,f=p&&0===m,g={id:r,title:a.title,description:a.description,unitPrice:Tt(l,c),stripePriceId:d,stripeProductId:u,priceAmount:c,selectedAmount:m,isHighlighted:h,unitDenominator:n.perUnit,continue:n.continue,countPrompt:n.boatIntegrationPurchaseCount},y={id:"no-core",title:n.noBoatIntegrationTitle,description:n.noBoatIntegrationText,unitPrice:null,priceAmount:0,stripePriceId:void 0,stripeProductId:void 0,selectedAmount:0,isHighlighted:f,unitDenominator:n.perUnit,continue:void 0,countPrompt:void 0};return{id:"boat-integration",title:n.boatIntegrationTitle,elements:[g,y],helperText:n.boatIntegrationHelpText,images:a.images,isStepCompleted:p,type:"default"}})(t,e,n,o,i),c=((t,e,n,o,i)=>{const r=vt.xB["orca-charging-mount-top-1"],a=vt.xB["orca-charging-mount-surface-1"],s=o.nodes.find(t=>t.productId===r),l=o.nodes.find(t=>t.productId===a),c=t.productConfiguration.find(t=>t.id===r),u=t.productConfiguration.find(t=>t.id===a),d=(null==c?void 0:c.count)||0,p=(null==u?void 0:u.count)||0,{currency:m}=i[0],{priceAmount:h,stripeProductId:f,stripePriceId:g}=Rt(s,e,i),{priceAmount:y,stripeProductId:v,stripePriceId:x}=Rt(l,e,i),b=Boolean(c)||Boolean(u),E=d>0||p>0,C=b&&!E,w={id:r,title:s.title,multiSelectionSubtitle:s.subtitle,priceAmount:h,stripeProductId:f,stripePriceId:g,description:s.description,unitPrice:Tt(m,h),selectedAmount:d,isHighlighted:E,unitDenominator:n.perUnit,continue:n.continue,countPrompt:n.mountPurchaseCount},S={id:a,title:l.title,priceAmount:y,stripeProductId:v,stripePriceId:x,multiSelectionSubtitle:l.subtitle,de
1scription:l.description,unitPrice:Tt(m,y),selectedAmount:p,isHighlighted:E,unitDenominator:n.perUnit,continue:n.continue,countPrompt:n.mountPurchaseCount},P={id:"no-mount",title:n.noMountTitle,description:n.noMountText,unitPrice:null,priceAmount:0,stripePriceId:void 0,stripeProductId:void 0,selectedAmount:0,isHighlighted:C,unitDenominator:n.perUnit,continue:void 0,countPrompt:void 0};return{id:"mount",title:n.mountTitle,elements:[w,S,P],helperText:n.mountHelpText,images:s.images,isStepCompleted:b,type:"multi-element"}})(t,e,n,o,i),u=((t,e,n,o,i)=>{const r=vt.xB["orca-subscription-premium-1"],a=o.nodes.find(t=>t.productId===r),{currency:s}=i[0],{priceAmount:l,stripePriceId:c,stripeProductId:u}=Rt(a,e,i),d={id:r,title:a.subtitle,description:Ot(Tt(s,l),n.subscriptionTextTemplate),richTextDescription:n.subscriptionBulletPoints,unitPrice:null,priceAmount:l,stripePriceId:c,stripeProductId:u,selectedAmount:0,isHighlighted:!1,unitDenominator:n.perUnit,continue:n.continue,countPrompt:void 0};return{id:"subscription",title:n.subscriptionTitle,helperText:void 0,elements:[d],images:a.images,isStepCompleted:!0,type:"no-options"}})(0,e,n,o,i),d=[l,s,c],p=t.productConfiguration.some(t=>t.id===vt.xB["orca-display-2"]&&t.count>0||t.id===vt.xB["orca-core-1"]&&t.count>0)?[].concat(d,[u]):d;return{selectionState:p,checkoutState:Bt(p,n,i,r,t,a)}},$t=({search:t,configurationData:e,setConfigurationData:n,contentfulProductConfiguratorV2:o,allContentfulProductV2:r,storeCountryWithFallback:a,contentfulStoreTextGeneric:s,allStripePrice:l,inputRef:c,shippingEstimates:u})=>{const{0:d,1:p}=(0,i.useState)(),{0:m,1:h}=(0,i.useState)(!1),{0:g,1:y}=(0,i.useState)(),v=10;(0,i.useEffect)(()=>{if(e.productConfiguration.reduce((t,e)=>Math.max(t,e.count),0)>v){const t=e.productConfiguration.map(t=>({...t,count:Math.min(t.count,v)}));n({...e,productConfiguration:t})}},[v,e,n]);const{selectionState:x,checkoutState:b}=(0,i.useMemo)(()=>Ft(e,l,o,r,a,s,u),[r,l,e,o,s,a,u]),{isCouponActive:E,isCouponLoading:C,getCouponForCheckout:w,clearCouponBanner:S}=((t,e)=>{const n=new URLSearchParams(e).get("orca-checkout-id")||void 0,{0:o,1:r}=(0,i.useState)(),a=n||o,s=JSON.stringify((0,Pt.A)(new Set(t.map(t=>t.priceId))).sort()),l=JSON.stringify([a,s]),{0:c,1:u}=(0,i.useState)(),{0:d,1:p}=(0,i.useState)();(0,i.useEffect)(()=>{let t,e=!0;const n=Date.now()+1e4,o=()=>{var t,n;e&&r(null===(t=window.Rewardful)||void 0===t||null===(n=t.coupon)||void 0===n?void 0:n.id)};o();const i=()=>{window.rewardful?window.rewardful("ready",o):Date.now()<n&&(t=setTimeout(i,100))};return i(),()=>{e=!1,clearTimeout(t)}},[]);const m=(0,i.useMemo)(()=>({couponId:a,priceIds:JSON.parse(s)}),[a,s]),h=(0,i.useCallback)(async()=>{if(m.couponId&&0!==m.priceIds.length)return await(0,At.jb)(m.couponId,m.priceIds)?m.couponId:void 0},[m]);(0,i.useEffect)(()=>{let t=!0;return u(void 0),m.couponId&&0!==m.priceIds.length?(p(l),h().then(e=>{t&&e&&u(l)}).catch(t=>(0,f.Cp)(t)).finally(()=>{t&&p(void 0)}),()=>{t=!1}):(p(void 0),()=>{t=!1})},[h,l,m]);const g=(0,i.useCallback)(async()=>{const t=await h();if(c===l&&!t)throw u(void 0),new Error("This coupon is no longer valid for your cart. Please try again.");return t},[h,c,l]),y=(0,i.useCallback)(()=>u(void 0),[]);return{isCouponActive:c===l,isCouponLoading:d===l,getCouponForCheckout:g,clearCouponBanner:y}})(b.products,t),P=(0,i.useCallback)(t=>{const{email:o,productConfiguration:i}=e;switch(t){case"no-core":n({email:o,productConfiguration:[].concat((0,Pt.A)(i.filter(t=>t.id!==vt.xB["orca-core-1"])),[{id:vt.xB["orca-core-1"],count:0}])});break;case"no-display":n({email:o,productConfiguration:[].concat((0,Pt.A)(i.filter(t=>t.id!==vt.xB["orca-display-2"])),[{id:vt.xB["orca-display-2"],count:0}])});break;case"no-mount":n({email:o,productConfiguration:[].concat((0,Pt.A)(i.filter(t=>t.id!==vt.xB["orca-charging-mount-surface-1"]&&t.id!==vt.xB["orca-charging-mount-top-1"])),[{id:vt.xB["orca-charging-mount-surface-1"],count:0},{id:vt.xB["orca-charging-mount-top-1"],count:0}])});break;default:{const e=i.find(e=>e.id===t),r=(null==e?void 0:e.count)||1;kt(t)&&wt({type:"product_selected",productId:t}
1),n({email:o,productConfiguration:[].concat((0,Pt.A)(i.filter(e=>e.id!==t)),[{id:t,count:r}])})}}},[e,n]),A=(0,i.useCallback)((t,o)=>{const{email:i,productConfiguration:r}=e,a=r.find(e=>e.id===t),s=(null==a?void 0:a.count)||0,l=Math.max(Math.min(s+o,v),0);"no-core"!==t&&"no-display"!==t&&"no-mount"!==t&&n(0===l?{email:i,productConfiguration:(0,Pt.A)(r.filter(e=>e.id!==t))}:{email:i,productConfiguration:[].concat((0,Pt.A)(r.filter(e=>e.id!==t)),[{id:t,count:l}])})},[e,v,n]),I=(0,i.useCallback)(t=>{p(void 0),n({...e,email:t})},[e,n]),T=(0,i.useCallback)(async()=>{if(b.products.length<1)return;var t;if(!(e.email&&It(e.email)))return p(s.invalidEmail),void(null===(t=c.current)||void 0===t||t.focus());h(!0);const n=`${window.location.protocol}//${window.location.host}`,o=b.products.map(({amount:t,priceId:e})=>({price:e,quantity:t})),i=x.flatMap(t=>t.elements).filter(Dt).map(t=>({productId:t.id,quantity:t.selectedAmount,stripeProductId:t.stripeProductId})),r=Math.round(b.totalAmount/100);try{wt({type:"checkout_started",currency:a[0].currency,value:r,items:i})}catch(l){(0,f.Cp)(l)}try{const t=await w(),i=new URL("/product-configuration/",n),r=new URLSearchParams(window.location.search).get("orca-checkout-id");r&&i.searchParams.set("orca-checkout-id",r);const s=await(0,At.Xj)({coupon:t,storeCountry:a[0].region,lineItems:o,successUrl:`${n}/order-complete?session_id={CHECKOUT_SESSION_ID}`,cancelUrl:i.toString(),customerEmail:e.email});h(!1),window.location.href=s}catch(l){S(),l instanceof Error&&p(l.message),h(!1),(0,f.Cp)(l)}},[w,S,b,e.email,s.invalidEmail,c,x,a]);return{isCouponActive:E,isCouponLoading:C,selectionState:x,checkoutState:b,onElementPress:P,onCountChangePress:A,onOrderPress:T,onEmailChange:I,onChangeDestinationClick:()=>{y((new Date).toISOString())},errorMessage:d,isLoading:m,maxSelectionsAvailable:v,regionChange:g,setRegionChange:y}},Ut="#f5f5f7";var Nt=o(832),Ht=o.n(Nt),zt=o(2520),_t=o.n(zt),Wt=o(6088);const Yt=(0,i.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),Gt=(0,i.createContext)({});const qt=(0,i.createContext)(null),Kt="undefined"!=typeof document,Xt=Kt?i.useLayoutEffect:i.useEffect,Qt=(0,i.createContext)({strict:!1});function Zt(t,e,n,o){const r=(0,i.useContext)(Gt).visualElement,a=(0,i.useContext)(Qt),s=(0,i.useContext)(qt),l=(0,i.useContext)(Yt).reducedMotion,c=(0,i.useRef)(void 0);o=o||a.renderer,!c.current&&o&&(c.current=o(t,{visualState:e,parent:r,props:n,presenceId:s?s.id:void 0,blockInitialAnimation:!!s&&!1===s.initial,reducedMotionConfig:l}));const u=c.current;return Xt(()=>{u&&u.syncRender()}),(0,i.useEffect)(()=>{u&&u.animationState&&u.animationState.animateChanges()}),Xt(()=>()=>u&&u.notifyUnmount(),[]),u}function Jt(t){return"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function te(t){return"string"==typeof t||Array.isArray(t)}function ee(t){return"object"==typeof t&&"function"==typeof t.start}const ne=["initial","animate","exit","whileHover","whileDrag","whileTap","whileFocus","whileInView"];function oe(t){return ee(t.animate)||ne.some(e=>te(t[e]))}function ie(t){return Boolean(oe(t)||t.variants)}function re(t){const{initial:e,animate:n}=function(t,e){if(oe(t)){const{initial:e,animate:n}=t;return{initial:!1===e||te(e)?e:void 0,animate:te(n)?n:void 0}}return!1!==t.inherit?e:{}}(t,(0,i.useContext)(Gt));return(0,i.useMemo)(()=>({initial:e,animate:n}),[ae(e),ae(n)])}function ae(t){return Array.isArray(t)?t.join(" "):t}const se=t=>({isEnabled:e=>t.some(t=>!!e[t])}),le={measureLayout:se(["layout","layoutId","drag"]),animation:se(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:se(["exit"]),drag:se(["drag","dragControls"]),focus:se(["whileFocus"]),hover:se(["whileHover","onHoverStart","onHoverEnd"]),tap:se(["whileTap","onTap","onTapStart","onTapCancel"]),pan:se(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:se(["whileInView","onViewportEnter","onViewportLeave"])};function ce(t){const e=(0,i.useRef)(null);return null===e.current&&(e.current=t()),e.current}const ue={hasAnimatedSinceResize:!0,hasEverUpdated:!1};let de=1;const pe=(0,i.createContext)({});class me extends i.Component{getSnapshotBeforeUpdate(){const{visualElement:t,props:e}=this.props;return t&&t.setProps(e),null}componentDidUpdate(){}render(){return this.props.children}}const he=(0,i.createContext)({});function fe({preloadedFeatures:t,createVisualElement:e,projectionNodeConstructor:n,useRender:o,useVisualState:r,Component:a}){return t&&function(t){for(const e in t)"projectionNodeConstructor"===e?le.projectionNodeConstructor=t[e]:le[e].Component=t[e]}(t),(0,i.forwardRef)(function(s,l){const c={...(0,i.useContext)(Yt),...s,layoutId:ge(s)},{isStatic:u}=c;let d=null;const p=re(s),m=u?void 0:ce(()=>{if(ue.hasEverUpdated)return de++}),h=r(s,u);if(!u&&Kt){p.visualElement=Zt(a,h,c,e);const o=(0,i.useContext)(Qt).strict,r=(0,i.useContext)(he);p.visualElement&&(d=p.visualElement.loadFeatures(s,o,t,m,n||le.projectionNodeConstructor,r))}return i.createElement(me,{visualElement:p.visualElement,props:c},d,i.createElement(Gt.Provider,{value:p},o(a,s,m,function(t,e,n){return(0,i.useCallback)(o=>{o&&t.mount&&t.mount(o),e&&(o?e.mount(o):e.unmount()),n&&("function"==typeof n?n(o):Jt(n)&&(n.current=o))},[e])}(h,p.visualElement,l),h,u,p.visualElement)))})}function ge({layoutId:t}){const e=(0,i.useContext)(pe).id;return e&&void 0!==t?e+"-"+t:t}function ye(t){function e(e,n={}){return fe(t(e,n))}if("undefined"==typeof Proxy)return e;const n=new Map;return new Proxy(e,{get:(t,o)=>(n.has(o)||n.set(o,e(o)),n.get(o))})}const ve=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function xe(t){return"string"==typeof t&&!t.includes("-")&&!!(ve.indexOf(t)>-1||/[A-Z]/.test(t))}const be={};const Ee=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","skew","skewX","skewY"],Ce=new Set(Ee);function we(t,{layout:e,layoutId:n}){return Ce.has(t)||t.startsWith("origin")||(e||void 0!==n)&&(!!be[t]||"opacity"===t)}const Se=t=>void 0!==t&&!!t.getVelocity,Pe={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Ae=(t,e)=>Ee.indexOf(t)-Ee.indexOf(e);function Ie(t){return t.startsWith("--")}const Te=(t,e)=>e&&"number"==typeof t?e.transform(t):t,ke=(t,e)=>n=>Math.max(Math.min(n,e),t),De=t=>
1t%1?Number(t.toFixed(5)):t,Re=/(-)?([\d]*\.?[\d])+/g,Oe=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Ve=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Me(t){return"string"==typeof t}const Le=t=>({test:e=>Me(e)&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),je=Le("deg"),Be=Le("%"),Fe=Le("px"),$e=Le("vh"),Ue=Le("vw"),Ne=Object.assign(Object.assign({},Be),{parse:t=>Be.parse(t)/100,transform:t=>Be.transform(100*t)}),He={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},ze=Object.assign(Object.assign({},He),{transform:ke(0,1)}),_e=Object.assign(Object.assign({},He),{default:1}),We={...He,transform:Math.round},Ye={borderWidth:Fe,borderTopWidth:Fe,borderRightWidth:Fe,borderBottomWidth:Fe,borderLeftWidth:Fe,borderRadius:Fe,radius:Fe,borderTopLeftRadius:Fe,borderTopRightRadius:Fe,borderBottomRightRadius:Fe,borderBottomLeftRadius:Fe,width:Fe,maxWidth:Fe,height:Fe,maxHeight:Fe,size:Fe,top:Fe,right:Fe,bottom:Fe,left:Fe,padding:Fe,paddingTop:Fe,paddingRight:Fe,paddingBottom:Fe,paddingLeft:Fe,margin:Fe,marginTop:Fe,marginRight:Fe,marginBottom:Fe,marginLeft:Fe,rotate:je,rotateX:je,rotateY:je,rotateZ:je,scale:_e,scaleX:_e,scaleY:_e,scaleZ:_e,skew:je,skewX:je,skewY:je,distance:Fe,translateX:Fe,translateY:Fe,translateZ:Fe,x:Fe,y:Fe,z:Fe,perspective:Fe,transformPerspective:Fe,opacity:ze,originX:Ne,originY:Ne,originZ:Fe,zIndex:We,fillOpacity:ze,strokeOpacity:ze,numOctaves:We};function Ge(t,e,n,o){const{style:i,vars:r,transform:a,transformKeys:s,transformOrigin:l}=t;s.length=0;let c=!1,u=!1,d=!0;for(const p in e){const t=e[p];if(Ie(p)){r[p]=t;continue}const n=Ye[p],o=Te(t,n);if(Ce.has(p)){if(c=!0,a[p]=o,s.push(p),!d)continue;t!==(n.default||0)&&(d=!1)}else p.startsWith("origin")?(u=!0,l[p]=o):i[p]=o}if(c||o?i.transform=function({transform:t,transformKeys:e},{enableHardwareAcceleration:n=!0,allowTransformNone:o=!0},i,r){let a="";e.sort(Ae);for(const s of e)a+=`${Pe[s]||s}(${t[s]}) `;return n&&!t.z&&(a+="translateZ(0)"),a=a.trim(),r?a=r(t,i?"":a):o&&i&&(a="none"),a}(t,n,d,o):!e.transform&&i.transform&&(i.transform="none"),u){const{originX:t="50%",originY:e="50%",originZ:n=0}=l;i.transformOrigin=`${t} ${e} ${n}`}}const qe=()=>({style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}});function Ke(t,e,n){for(const o in e)Se(e[o])||we(o,n)||(t[o]=e[o])}function Xe(t,e,n){const o={};return Ke(o,t.style||{},t),Object.assign(o,function({transformTemplate:t},e,n){return(0,i.useMemo)(()=>{const o={style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}};return Ge(o,e,{enableHardwareAcceleration:!n},t),Object.assign({},o.vars,o.style)},[e])}(t,e,n)),t.transformValues?t.transformValues(o):o}function Qe(t,e,n){const o={},i=Xe(t,e,n);return t.drag&&!1!==t.dragListener&&(o.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===t.drag?"none":"pan-"+("x"===t.drag?"y":"x")),o.style=i,o}const Ze=new Set(["initial","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","onHoverStart","onHoverEnd","layoutScroll","whileInView","onViewportEnter","onViewportLeave","viewport","whileTap","onTap","onTapStart","onTapCancel","animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView","onPan","onPanStart","onPanSessionStart","onPanEnd"]);function Je(t){return Ze.has(t)}let tn=t=>!Je(t);try{(en=require("@emotion/is-prop-valid").default)&&(tn=t=>t.startsWith("on")?!Je(t):en(t))}catch(Gc){}var en;function nn(t,e,n){return"string"==typeof t?t:Fe.transform(e+n*t)}const on={offset:"stroke-dashoffset",array:"stroke-dasharray"},rn={offset:"strokeDashoffset",array:"strokeDasharray"};function an(t,{attrX:e,attrY:n,originX:o,originY:i,pathLength:r,pathSpacing:a=1,pathOffset:s=0,...l},c,u){Ge(t,l,c,u),t.attrs=t.style,t.style={};const{attrs:d,style:p,dimensions:m}=t;d.transform&&(m&&(p.transform=d.transform),delete d.transform),m&&(void 0!==o||void 0!==i||p.transform)&&(p.transformOrigin=function(t,e,n){return`${nn(e,t.x,t.width)} ${nn(n,t.y,t.height)}`}(m,void 0!==o?o:.5,void 0!==i?i:.5)),void 0!==e&&(d.x=e),void 0!==n&&(d.y=n),void 0!==r&&function(t,e,n=1,o=0,i=!0){t.pathLength=1;const r=i?on:rn;t[r.offset]=Fe.transform(-o);const a=Fe.transform(e),s=Fe.transform(n);t[r.array]=`${a} ${s}`}(d,r,a,s,!1)}const sn=()=>({style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{},attrs:{}});function ln(t,e){const n=(0,i.useMemo)(()=>{const n={style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{},attrs:{}};return an(n,e,{enableHardwareAcceleration:!1},t.transformTemplate),{...n.attrs,style:{...n.style}}},[e]);if(t.style){const e={};Ke(e,t.style,t),n.style={...e,...n.style}}return n}function cn(t=!1){return(e,n,o,r,{latestValues:a},s)=>{const l=(xe(e)?ln:Qe)(n,a,s),c=function(t,e,n){const o={};for(const i in t)(tn(i)||!0===n&&Je(i)||!e&&!Je(i)||t.draggable&&i.startsWith("onDrag"))&&(o[i]=t[i]);return o}(n,"string"==typeof e,t),u={...c,...l,ref:r};
1return o&&(u["data-projection-id"]=o),(0,i.createElement)(e,u)}}const un=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function dn(t,{style:e,vars:n},o,i){Object.assign(t.style,e,i&&i.getProjectionStyles(o));for(const r in n)t.style.setProperty(r,n[r])}const pn=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function mn(t,e,n,o){dn(t,e,void 0,o);for(const i in e.attrs)t.setAttribute(pn.has(i)?i:un(i),e.attrs[i])}function hn(t){const{style:e}=t,n={};for(const o in e)(Se(e[o])||we(o,t))&&(n[o]=e[o]);return n}function fn(t){const e=hn(t);for(const n in t)if(Se(t[n])){e["x"===n||"y"===n?"attr"+n.toUpperCase():n]=t[n]}return e}function gn(t,e,n,o={},i={}){return"function"==typeof e&&(e=e(void 0!==n?n:t.custom,o,i)),"string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e&&(e=e(void 0!==n?n:t.custom,o,i)),e}const yn=t=>Array.isArray(t),vn=t=>yn(t)?t[t.length-1]||0:t;function xn(t){const e=Se(t)?t.get():t;return n=e,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?e.toValue():e;var n}const bn=t=>(e,n)=>{const o=(0,i.useContext)(Gt),r=(0,i.useContext)(qt),a=()=>function({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:n},o,i,r){const a={latestValues:En(o,i,r,t),renderState:e()};return n&&(a.mount=t=>n(o,t,a)),a}(t,e,o,r);return n?a():ce(a)};function En(t,e,n,o){const i={},r=o(t);for(const p in r)i[p]=xn(r[p]);let{initial:a,animate:s}=t;const l=oe(t),c=ie(t);e&&c&&!l&&!1!==t.inherit&&(void 0===a&&(a=e.initial),void 0===s&&(s=e.animate));let u=!!n&&!1===n.initial;u=u||!1===a;const d=u?s:a;if(d&&"boolean"!=typeof d&&!ee(d)){(Array.isArray(d)?d:[d]).forEach(e=>{const n=gn(t,e);if(!n)return;const{transitionEnd:o,transition:r,...a}=n;for(const t in a){let e=a[t];
1if(Array.isArray(e)){e=e[u?e.length-1:0]}null!==e&&(i[t]=e)}for(const t in o)i[t]=o[t]})}return i}const Cn={useVisualState:bn({scrapeMotionValuesFromProps:fn,createRenderState:sn,onMount:(t,n,{renderState:o,latestValues:i})=>{try{o.dimensions="function"==typeof n.getBBox?n.getBBox():n.getBoundingClientRect()}catch(e){o.dimensions={x:0,y:0,width:0,height:0}}an(o,i,{enableHardwareAcceleration:!1},t.transformTemplate),mn(n,o)}})},wn={useVisualState:bn({scrapeMotionValuesFromProps:hn,createRenderState:qe})};var Sn;function Pn(t,e,n,o={passive:!0}){return t.addEventListener(e,n,o),()=>t.removeEventListener(e,n)}function An(t,e,n,o){(0,i.useEffect)(()=>{const i=t.current;if(n&&i)return Pn(i,e,n,o)},[t,e,n,o])}function In(t){return"undefined"!=typeof PointerEvent&&t instanceof PointerEvent?!("mouse"!==t.pointerType):t instanceof MouseEvent}function Tn(t){return!!t.touches}!function(t){t.Animate="animate",t.Hover="whileHover",t.Tap="whileTap",t.Drag="whileDrag",t.Focus="whileFocus",t.InView="whileInView",t.Exit="exit"}(Sn||(Sn={}));const kn={pageX:0,pageY:0};function Dn(t,e="page"){const n=t.touches[0]||t.changedTouches[0]||kn;return{x:n[e+"X"],y:n[e+"Y"]}}function Rn(t,e="page"){return{x:t[e+"X"],y:t[e+"Y"]}}function On(t,e="page"){return{point:Tn(t)?Dn(t,e):Rn(t,e)}}const Vn=(t,e=!1)=>{const n=e=>t(e,On(e));return e?(o=n,t=>{const e=t instanceof MouseEvent;(!e||e&&0===t.button)&&o(t)}):n;var o},Mn={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},Ln={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function jn(t){return Kt&&null===window.onpointerdown?t:Kt&&null===window.ontouchstart?Ln[t]:Kt&&null===window.onmousedown?Mn[t]:t}function Bn(t,e,n,o){return Pn(t,jn(e),Vn(n,"pointerdown"===e),o)}function Fn(t,e,n,o){return An(t,jn(e),n&&Vn(n,"pointerdown"===e),o)}function $n(t){let e=null;return()=>{const n=()=>{e=null};return null===e&&(e=t,n)}}const Un=$n("dragHorizontal"),Nn=$n("dragVertical");function Hn(t){let e=!1;if("y"===t)e=Nn();else if("x"===t)e=Un();else{const t=Un(),n=Nn();t&&n?e=()=>{t(),n()}:(t&&t(),n&&n())}return e}function zn(){const t=Hn(!0);return!t||(t(),!1)}function _n(t,e,n){return(o,i)=>{In(o)&&!zn()&&(t.animationState&&t.animationState.setActive(Sn.Hover,e),n&&n(o,i))}}const Wn=(t,e)=>!!e&&(t===e||Wn(t,e.parentElement));function Yn(t){return(0,i.useEffect)(()=>()=>t(),[])}const Gn=(t,e)=>n=>e(t(n)),qn=(...t)=>t.reduce(Gn);new Set;const Kn=new WeakMap,Xn=new WeakMap,Qn=t=>{const e=Kn.get(t.target);e&&e(t)},Zn=t=>{t.forEach(Qn)};function Jn(t,e,n){const o=function({root:t,...e}){const n=t||document;Xn.has(n)||Xn.set(n,{});const o=Xn.get(n),i=JSON.stringify(e);return o[i]||(o[i]=new IntersectionObserver(Zn,{root:t,...e})),o[i]}(e);return Kn.set(t,n),o.observe(t),()=>{Kn.delete(t),o.unobserve(t)}}const to={some:0,all:1};function eo(t,e,n,{root:o,margin:r,amount:a="some",once:s}){(0,i.useEffect)(()=>{if(!t)return;const i={root:null==o?void 0:o.current,rootMargin:r,threshold:"number"==typeof a?a:to[a]};return Jn(n.getInstance(),i,t=>{const{isIntersecting:o}=t;if(e.isInView===o)return;if(e.isInView=o,s&&!o&&e.hasEnteredView)return;o&&(e.hasEnteredView=!0),n.animationState&&n.animationState.setActive(Sn.InView,o);const i=n.getProps(),r=o?i.onViewportEnter:i.onViewportLeave;r&&r(t)})},[t,o,r,a])}function no(t,e,n,{fallback:o=!0}){(0,i.useEffect)(()=>{t&&o&&requestAnimationFrame(()=>{e.hasEnteredView=!0;const{onViewportEnter:t}=n.getProps();t&&t(null),n.animationState&&n.animationState.setActive(Sn.InView,!0)})},[t])}const oo=t=>e=>(t(e),null),io={inView:oo(function({visualElement:t,whileInView:e,onViewportEnter:n,onViewportLeave:o,viewport:r={}}){const a=(0,i.useRef)({hasEnteredView:!1,isInView:!1});let s=Boolean(e||n||o);r.once&&a.current.hasEnteredView&&(s=!1),("undefined"==typeof IntersectionObserver?no:eo)(s,a.current,t,r)}),tap:oo(function({onTap:t,onTapStart:e,onTapCancel:n,whileTap:o,visualElement:r}){const a=t||e||n||o,s=(0,i.useRef)(!1),l=(0,i.useRef)(null),c={passive:!(e||t||n||h)};function u(){l.current&&l.current(),l.current=null}function d(){return u(),s.current=!1,r.animationState&&r.animationState.setActive(Sn.Tap,!1),!zn()}function p(e,o){d()&&(Wn(r.getInstance(),e.target)?t&&t(e,o):n&&n(e,o))}function m(t,e){d()&&n&&n(t,e)}function h(t,n){u(),s.current||(s.current=!0,l.current=qn(Bn(window,"pointerup",p,c),Bn(window,"pointercancel",m,c)
1),r.animationState&&r.animationState.setActive(Sn.Tap,!0),e&&e(t,n))}Fn(r,"pointerdown",a?h:void 0,c),Yn(u)}),focus:oo(function({whileFocus:t,visualElement:e}){const{animationState:n}=e;An(e,"focus",t?()=>{n&&n.setActive(Sn.Focus,!0)}:void 0),An(e,"blur",t?()=>{n&&n.setActive(Sn.Focus,!1)}:void 0)}),hover:oo(function({onHoverStart:t,onHoverEnd:e,whileHover:n,visualElement:o}){Fn(o,"pointerenter",t||n?_n(o,!0,t):void 0,{passive:!t}),Fn(o,"pointerleave",e||n?_n(o,!1,e):void 0,{passive:!e})})};function ro(){const t=(0,i.useContext)(qt);if(null===t)return[!0,null];const{isPresent:e,onExitComplete:n,register:o}=t,r=(0,i.useId)();(0,i.useEffect)(()=>o(r),[]);return!e&&n?[!1,()=>n&&n(r)]:[!0]}function ao(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let o=0;o<n;o++)if(e[o]!==t[o])return!1;return!0}function so(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(t);i<o.length;i++)e.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(t,o[i])&&(n[o[i]]=t[o[i]])}return n}Object.create;Object.create;var lo=function(){};const co=(t,e,n)=>Math.min(Math.max(n,t),e),uo=.001;function po({duration:t=800,bounce:e=.25,velocity:n=0,mass:o=1}){let i,r,a=1-e;a=co(.05,1,a),t=co(.01,10,t/1e3),a<1?(i=e=>{const o=e*a,i=o*t,r=o-n,s=ho(e,a),l=Math.exp(-i);return uo-r/s*l},r=e=>{const o=e*a*t,r=o*n+n,s=Math.pow(a,2)*Math.pow(e,2)*t,l=Math.exp(-o),c=ho(Math.pow(e,2),a);return(-i(e)+uo>0?-1:1)*((r-s)*l)/c}):(i=e=>Math.exp(-e*t)*((e-n)*t+1)-.001,r=e=>Math.exp(-e*t)*(t*t*(n-e)));const s=function(t,e,n){let o=n;for(let i=1;i<mo;i++)o-=t(o)/e(o);return o}(i,r,5/t);if(t*=1e3,isNaN(s))return{stiffness:100,damping:10,duration:t};{const e=Math.pow(s,2)*o;return{stiffness:e,damping:2*a*Math.sqrt(o*e),duration:t}}}const mo=12;function ho(t,e){return t*Math.sqrt(1-e*e)}const fo=["duration","bounce"],go=["stiffness","damping","mass"];function yo(t,e){return e.some(e=>void 0!==t[e])}function vo(t){var{from:e=0,to:n=1,restSpeed:o=2,restDelta:i}=t,r=so(t,["from","to","restSpeed","restDelta"]);const a={done:!1,value:e};let{stiffness:s,damping:l,mass:c,velocity:u,duration:d,isResolvedFromDuration:p}=function(t){let e=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},t);if(!yo(t,go)&&yo(t,fo)){const n=po(t);e=Object.assign(Object.assign(Object.assign({},e),n),{velocity:0,mass:1}),e.isResolvedFromDuration=!0}return e}(r),m=xo,h=xo;function f(){const t=u?-u/1e3:0,o=n-e,r=l/(2*Math.sqrt(s*c)),a=Math.sqrt(s/c)/1e3;if(void 0===i&&(i=Math.min(Math.abs(n-e)/100,.4)),r<1){const e=ho(a,r);m=i=>{const s=Math.exp(-r*a*i);return n-s*((t+r*a*o)/e*Math.sin(e*i)+o*Math.cos(e*i))},h=n=>{const i=Math.exp(-r*a*n);return r*a*i*(Math.sin(e*n)*(t+r*a*o)/e+o*Math.cos(e*n))-i*(Math.cos(e*n)*(t+r*a*o)-e*o*Math.sin(e*n))}}else if(1===r)m=e=>n-Math.exp(-a*e)*(o+(t+a*o)*e);else{const e=a*Math.sqrt(r*r-1);m=i=>{const s=Math.exp(-r*a*i),l=Math.min(e*i,300);return n-s*((t+r*a*o)*Math.sinh(l)+e*o*Math.cosh(l))/e}}}return f(),{next:t=>{const e=m(t);if(p)a.done=t>=d;else{const r=1e3*h(t),s=Math.abs(r)<=o,l=Math.abs(n-e)<=i;a.done=s&&l}return a.value=a.done?n:e,a},flipTarget:()=>{u=-u,[e,n]=[n,e],f()}}}vo.needsInterpolation=(t,e)=>"string"==typeof t||"string"==typeof e;const xo=t=>0,bo=(t,e,n)=>{const o=e-t;return 0===o?1:(n-t)/o},Eo=(t,e,n)=>-n*t+n*e+t,Co=(t,e)=>n=>Boolean(Me(n)&&Ve.test(n)&&n.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(n,e)),wo=(t,e,n)=>o=>{if(!Me(o))return o;const[i,r,a,s]=o.match(Re);return{[t]:parseFloat(i),[e]:parseFloat(r),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},So=ke(0,255),Po=Object.assign(Object.assign({},He),{transform:t=>Math.round(So(t))}),Ao={test:Co("rgb","red"),parse:wo("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:o=1})=>"rgba("+Po.transform(t)+", "+Po.transform(e)+", "+Po.transform(n)+", "+De(ze.transform(o))+")"};const Io={test:Co("#"),parse:function(t){let e="",n="",o="",i="";return t.length>5?(e=t.substr(1,2),n=t.substr(3,2),o=t.substr(5,2),i=t.substr(7,2)):(e=t.substr(1,1),n=t.substr(2,1),o=t.substr(3,1),i=t.substr(4,1),e+=e,n+=n,o+=o,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(o,16),alph
1a:i?parseInt(i,16)/255:1}},transform:Ao.transform},To={test:Co("hsl","hue"),parse:wo("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:o=1})=>"hsla("+Math.round(t)+", "+Be.transform(De(e))+", "+Be.transform(De(n))+", "+De(ze.transform(o))+")"};function ko(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function Do({hue:t,saturation:e,lightness:n,alpha:o}){t/=360,n/=100;let i=0,r=0,a=0;if(e/=100){const o=n<.5?n*(1+e):n+e-n*e,s=2*n-o;i=ko(s,o,t+1/3),r=ko(s,o,t),a=ko(s,o,t-1/3)}else i=r=a=n;return{red:Math.round(255*i),green:Math.round(255*r),blue:Math.round(255*a),alpha:o}}const Ro=(t,e,n)=>{const o=t*t,i=e*e;return Math.sqrt(Math.max(0,n*(i-o)+o))},Oo=[Io,Ao,To],Vo=t=>Oo.find(e=>e.test(t)),Mo=t=>`'${t}' is not an animatable color. Use the equivalent color code instead.`,Lo=(t,e)=>{let n=Vo(t),o=Vo(e);Mo(t),Mo(e);let i=n.parse(t),r=o.parse(e);n===To&&(i=Do(i),n=Ao),o===To&&(r=Do(r),o=Ao);const a=Object.assign({},i);return t=>{for(const e in a)"alpha"!==e&&(a[e]=Ro(i[e],r[e],t));return a.alpha=Eo(i.alpha,r.alpha,t),n.transform(a)}},jo={test:t=>Ao.test(t)||Io.test(t)||To.test(t),parse:t=>Ao.test(t)?Ao.parse(t):To.test(t)?To.parse(t):Io.parse(t),transform:t=>Me(t)?t:t.hasOwnProperty("red")?Ao.transform(t):To.transform(t)},Bo="${c}",Fo="${n}";function $o(t){"number"==typeof t&&(t=`${t}`);const e=[];let n=0;const o=t.match(Oe);o&&(n=o.length,t=t.replace(Oe,Bo),e.push(...o.map(jo.parse)));const i=t.match(Re);return i&&(t=t.replace(Re,Fo),e.push(...i.map(He.parse))),{values:e,numColors:n,tokenised:t}}function Uo(t){return $o(t).values}function No(t){const{values:e,numColors:n,tokenised:o}=$o(t),i=e.length;return t=>{let e=o;for(let o=0;o<i;o++)e=e.replace(o<n?Bo:Fo,o<n?jo.transform(t[o]):De(t[o]));return e}}const Ho=t=>"number"==typeof t?0:t;const zo={test:function(t){var e,n,o,i;return isNaN(t)&&Me(t)&&(null!==(n=null===(e=t.match(Re))||void 0===e?void 0:e.length)&&void 0!==n?n:0)+(null!==(i=null===(o=t.match(Oe))||void 0===o?void 0:o.length)&&void 0!==i?i:0)>0},parse:Uo,createTransformer:No,getAnimatableNone:function(t){const e=Uo(t);return No(t)(e.map(Ho))}},_o=t=>"number"==typeof t;function Wo(t,e){return _o(t)?n=>Eo(t,e,n):jo.test(t)?Lo(t,e):Ko(t,e)}const Yo=(t,e)=>{const n=[...t],o=n.length,i=t.map((t,n)=>Wo(t,e[n]));return t=>{for(let e=0;e<o;e++)n[e]=i[e](t);return n}},Go=(t,e)=>{const n=Object.assign(Object.assign({},t),e),o={};for(const i in n)void 0!==t[i]&&void 0!==e[i]&&(o[i]=Wo(t[i],e[i]));return t=>{for(const e in o)n[e]=o[e](t);return n}};function qo(t){const e=zo.parse(t),n=e.length;let o=0,i=0,r=0;for(let a=0;a<n;a++)o||"number"==typeof e[a]?o++:void 0!==e[a].hue?r++:i++;return{parsed:e,numNumbers:o,numRGB:i,numHSL:r}}const Ko=(t,e)=>{const n=zo.createTransformer(e),o=qo(t),i=qo(e);return o.numHSL===i.numHSL&&o.numRGB===i.numRGB&&o.numNumbers>=i.numNumbers?qn(Yo(o.parsed,i.parsed),n):n=>`${n>0?e:t}`},Xo=(t,e)=>n=>Eo(t,e,n);function Qo(t,e,n){const o=[],i=n||("number"==typeof(r=t[0])?Xo:"string"==typeof r?jo.test(r)?Lo:Ko:Array.isArray(r)?Yo:"object"==typeof r?Go:void 0);var r;const a=t.length-1;for(let s=0;s<a;s++){let n=i(t[s],t[s+1]);if(e){const t=Array.isArray(e)?e[s]:e;n=qn(t,n)}o.push(n)}return o}function Zo(t,e,{clamp:n=!0,ease:o,mixer:i}={}){const r=t.length;e.length,!o||!Array.isArray(o)||o.length,t[0]>t[r-1]&&(t=[].concat(t),e=[].concat(e),t.reverse(),e.reverse());const a=Qo(e,o,i),s=2===r?function([t,e],[n]){return o=>n(bo(t,e,o))}(t,a):function(t,e){const n=t.length,o=n-1;return i=>{let r=0,a=!1;if(i<=t[0]?a=!0:i>=t[o]&&(r=o-1,a=!0),!a){let e=1;for(;e<n&&!(t[e]>i||e===o);e++);r=e-1}const s=bo(t[r],t[r+1],i);return e[r](s)}}(t,a);return n?e=>s(co(t[0],t[r-1],e)):s}const Jo=t=>e=>1-t(1-e),ti=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,ei=t=>e=>e*e*((t+1)*e-t),ni=4/11,oi=8/11,ii=t=>t,ri=(ai=2,t=>Math.pow(t,ai));var ai;const si=Jo(ri),li=ti(ri),ci=t=>1-Math.sin(Math.acos(t)),ui=Jo(ci),di=ti(ui),pi=ei(1.525),mi=Jo(pi),hi=ti(pi),fi=(t=>{const e=ei(t);return t=>(t*=2)<1?.5*e(t):.5*(2-Math.pow(2,-10*(t-1)))})(1.525),gi=4356/361,yi=35442/1805,vi=16061/1805,xi=t=>{if(1===t||0===t)return t;const e=t*t;return t<ni?7.5625*e:t<oi?9.075*e-9.9*t+3.4:t<.9?gi*e-yi*t+vi:10.8*t*t-20.52*t+10.72},bi=Jo(xi);function Ei(t,e){return t.map(()=>e||li).splice(0,t.length-1)}function Ci({from:t=0,to:e=1,ease:n,offset:o,duration:i=300}){const r={done:!1,value:t},a=Array.isArray(e)?e:[t,e],s=function(t,e){return t.map(t=>t*e)}(o&&o.length===a.length?o:function(t){const e=t.length;return t.map((t,n)=>0!==n?n/(e-1):0)}(a),i);function l(){return Zo(s,a,{ease:Array.isArray(n)?n:Ei(a,n)})}let c=l();return{next:t=>(r.value=c(t),r.done=t>=i,r),flipTarget:()=>{a.reverse(),c=l()}}}const wi={keyframes:Ci,spring:vo,decay:function({velocity:t=0,from:e=0,power:n=.8,timeConstant:o=350,restDelta:i=.5,modifyTarget:r}){const a={done:!1,value:e};let s=n*t;
1const l=e+s,c=void 0===r?l:r(l);return c!==l&&(s=c-e),{next:t=>{const e=-s*Math.exp(-t/o);return a.done=!(e>i||e<-i),a.value=a.done?c:c+e,a},flipTarget:()=>{}}}};const Si=1/60*1e3,Pi="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),Ai="undefined"!=typeof window?t=>window.requestAnimationFrame(t):t=>setTimeout(()=>t(Pi()),Si);let Ii=!0,Ti=!1,ki=!1;const Di={delta:0,timestamp:0},Ri=["read","update","preRender","render","postRender"],Oi=Ri.reduce((t,e)=>(t[e]=function(t){let e=[],n=[],o=0,i=!1,r=!1;const a=new WeakSet,s={schedule:(t,r=!1,s=!1)=>{const l=s&&i,c=l?e:n;return r&&a.add(t),-1===c.indexOf(t)&&(c.push(t),l&&i&&(o=e.length)),t},cancel:t=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1),a.delete(t)},process:l=>{if(i)r=!0;else{if(i=!0,[e,n]=[n,e],n.length=0,o=e.length,o)for(let n=0;n<o;n++){const o=e[n];o(l),a.has(o)&&(s.schedule(o),t())}i=!1,r&&(r=!1,s.process(l))}}};return s}(()=>Ti=!0),t),{}),Vi=Ri.reduce((t,e)=>{const n=Oi[e];return t[e]=(t,e=!1,o=!1)=>(Ti||Fi(),n.schedule(t,e,o)),t},{}),Mi=Ri.reduce((t,e)=>(t[e]=Oi[e].cancel,t),{}),Li=Ri.reduce((t,e)=>(t[e]=()=>Oi[e].process(Di),t),{}),ji=t=>Oi[t].process(Di),Bi=t=>{Ti=!1,Di.delta=Ii?Si:Math.max(Math.min(t-Di.timestamp,40),1),Di.timestamp=t,ki=!0,Ri.forEach(ji),ki=!1,Ti&&(Ii=!1,Ai(Bi))},Fi=()=>{Ti=!0,Ii=!0,ki||Ai(Bi)},$i=()=>Di;var Ui=Vi;function Ni(t,e,n=0){return t-e-n}const Hi=t=>{const e=({delta:e})=>t(e);return{start:()=>Ui.update(e,!0),stop:()=>Mi.update(e)}};function zi(t){var e,n,{from:o,autoplay:i=!0,driver:r=Hi,elapsed:a=0,repeat:s=0,repeatType:l="loop",repeatDelay:c=0,onPlay:u,onStop:d,onComplete:p,onRepeat:m,onUpdate:h}=t,f=so(t,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let g,y,v,{to:x}=f,b=0,E=f.duration,C=!1,w=!0;const S=function(t){if(Array.isArray(t.to))return Ci;if(wi[t.type])return wi[t.type];const e=new Set(Object.keys(t));return e.has("ease")||e.has("duration")&&!e.has("dampingRatio")?Ci:e.has("dampingRatio")||e.has("stiffness")||e.has("mass")||e.has("damping")||e.has("restSpeed")||e.has("restDelta")?vo:Ci}(f);(null===(n=(e=S).needsInterpolation)||void 0===n?void 0:n.call(e,o,x))&&(v=Zo([0,100],[o,x],{clamp:!1}),o=0,x=100);const P=S(Object.assign(Object.assign({},f),{from:o,to:x}));function A(){b++,"reverse"===l?(w=b%2==0,a=function(t,e,n=0,o=!0){return o?Ni(e+-t,e,n):e-(t-e)+n}(a,E,c,w)):(a=Ni(a,E,c),"mirror"===l&&P.flipTarget()),C=!1,m&&m()}function I(t){if(w||(t=-t),a+=t,!C){const t=P.next(Math.max(0,a));y=t.value,v&&(y=v(y)),C=w?t.done:a<=0}null==h||h(y),C&&(0===b&&(null!=E||(E=a)),b<s?function(t,e,n,o){return o?t>=e+n:t<=-n}(a,E,c,w)&&A():(g.stop(),p&&p()))}return i&&(null==u||u(),g=r(I),g.start()),{stop:()=>{null==d||d(),g.stop()}}}function _i(t,e){return e?t*(1e3/e):0}const Wi=t=>1e3*t,Yi=(t,e)=>1-3*e+3*t,Gi=(t,e)=>3*e-6*t,qi=t=>3*t,Ki=(t,e,n)=>((Yi(e,n)*t+Gi(e,n))*t+qi(e))*t,Xi=(t,e,n)=>3*Yi(e,n)*t*t+2*Gi(e,n)*t+qi(e);const Qi=.1;function Zi(t,e,n,o){if(t===e&&n===o)return ii;const i=new Float32Array(11);for(let a=0;a<11;++a)i[a]=Ki(a*Qi,t,n);function r(e){let o=0,r=1;for(;10!==r&&i[r]<=e;++r)o+=Qi;--r;const a=o+(e-i[r])/(i[r+1]-i[r])*Qi,s=Xi(a,t,n);return s>=.001?function(t,e,n,o){for(let i=0;i<8;++i){const i=Xi(e,n,o);if(0===i)return e;e-=(Ki(e,n,o)-t)/i}return e}(e,a,t,n):0===s?a:function(t,e,n,o,i){let r,a,s=0;do{a=e+(n-e)/2,r=Ki(a,o,i)-t,r>0?n=a:e=a}while(Math.abs(r)>1e-7&&++s<10);return a}(e,o,o+Qi,t,n)}return t=>0===t||1===t?t:Ki(r(t),e,o)}const Ji={linear:ii,easeIn:ri,easeInOut:li,easeOut:si,circIn:ci,circInOut:di,circOut:ui,backIn:pi,backInOut:hi,backOut:mi,anticipate:fi,bounceIn:bi,bounceInOut:t=>t<.5?.5*(1-xi(1-2*t)):.5*xi(2*t-1)+.5,bounceOut:xi},tr=t=>{if(Array.isArray(t)){t.length;const[e,n,o,i]=t;return Zi(e,n,o,i)}return"string"==typeof t?Ji[t]:t},er=(t,e)=>"zIndex"!==t&&(!("number"!=typeof e&&!Array.isArray(e))||!("string"!=typeof e||!zo.test(e)||e.startsWith("url("))),nr=()=>({type:"spring",stiffness:500,damping:25,restSpeed:10}),or=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),ir=()=>({type:"keyframes",ease:"linear",duration:.3}),rr=t=>({type:"keyframes",duration:.8,values:t}),ar={x:nr,y:nr,z:nr,rotate:nr,rotateX:nr,rotateY:nr,rotateZ:nr,scaleX:or,scaleY:or,scale:or,opacity:ir,backgroundColor:ir,color:ir,default:or},sr=(t,e)=>{let n;return n=yn(e)?rr:ar[t]||ar.default,{to:e,...n(e)}},lr=new Set(["brightness","contrast","saturate","opacity"]);function cr(t){let[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;const[o]=n.match(Re)||[];if(!o)return t;const i=n.replace(o,"");let r=lr.has(e)?1:0;return o!==n&&(r*=100),e+"("+r+i+")"}const ur=/([a-z-]*)\(.*?\)/g,dr=Object.assign(Object.assign({},zo),{getAnimatableNone:t=>{const e=t.match(ur);return e?e.map(cr).join(" "):t}}),pr={...Ye,color:jo,backgroundColor:jo,outlineColor:jo,fill:jo,stroke:jo,borderColor:jo,borderTopColor:jo,borderRightColor:jo,borderBottomColor:jo,borderLeftColor:jo,filter:dr,WebkitFilter:dr},mr=t=>pr[t];function hr(t,e){var n;let o=mr(t);return o!==dr&&(o=zo),null===(n=o.getAnimatableNone)||void 0===n?void 0:n.call(o,e)}const fr=!1;let gr=!1;function yr({ease:t,times:e,yoyo:n,flip:o,loop:i,...r}){const a={...r};return e&&(a.offset=e),r.duration&&(a.duration=Wi(r.duration)),r.repeatDelay&&(a.repeatDelay=Wi(r.repeatDelay)),t&&(a.ease=(t=>Array.isArray(t)&&"number"!=typeof t[0])(t)?t.map(tr):tr(t)),"tween"===r.type&&(a.type="keyframes"),(n||i||o)&&(gr=!0,n?a.repeatType="reverse":i?a.repeatType="loop":o&&(a.repeatType="mirror"),a.repeat=i||n||o||r.repeat),"spring"!==r.type&&(a.type="keyframes"),a}function vr(t,e,n){return Array.isArray(e.to)&&void 0===t.duration&&(t.duration=.8),function(t){Array.isArray(t.to)&&null===t.to[0]&&(t.to=[...t.to],t.to[0]=t.from)}(e),function({when:t,delay:e,delayChildren:n,staggerChildren:o,staggerDirection:i,repeat:r,repeatType:a,repeatDelay:s,from:l,...c}){return!!Object.keys(c).length}(t)||(t={...t,...sr(n,e.to)}),{...e,...yr(t)}}function xr(t,e,n,o,i){const r=Cr(o,t)||{};let a=void 0!==r.from?r.from:e.get();const s=er(t,n);"none"===a&&s&&"string"==typeof n?a=hr(t,n):br(a)&&"string"==typeof n?a=Er(n):!Array.isArray(n)&&br(n)&&"string"==typeof a&&(n=Er(a));const l=er(t,a);return l&&s&&!1!==r.type?function(){const o={from:a,to:n,velocity:e.getVelocity(),onComplete:i,onUpdate:t=>e.set(t)};return"inertia"===r.type||"decay"===r.type?function({from:t=0,velocity:e=0,min:n,max:o,power:i=.8,timeConstant:r=750,bounceStiffness:a=
1500,bounceDamping:s=10,restDelta:l=1,modifyTarget:c,driver:u,onUpdate:d,onComplete:p,onStop:m}){let h;function f(t){return void 0!==n&&t<n||void 0!==o&&t>o}function g(t){return void 0===n?o:void 0===o||Math.abs(n-t)<Math.abs(o-t)?n:o}function y(t){null==h||h.stop(),h=zi(Object.assign(Object.assign({},t),{driver:u,onUpdate:e=>{var n;null==d||d(e),null===(n=t.onUpdate)||void 0===n||n.call(t,e)},onComplete:p,onStop:m}))}function v(t){y(Object.assign({type:"spring",stiffness:a,damping:s,restDelta:l},t))}if(f(t))v({from:t,velocity:e,to:g(t)});else{let o=i*e+t;void 0!==c&&(o=c(o));const a=g(o),s=a===n?-1:1;let u,d;const p=t=>{u=d,d=t,e=_i(t-u,$i().delta),(1===s&&t>a||-1===s&&t<a)&&v({from:t,to:a,velocity:e})};y({type:"decay",from:t,velocity:e,timeConstant:r,power:i,restDelta:l,modifyTarget:c,onUpdate:f(o)?p:void 0})}return{stop:()=>null==h?void 0:h.stop()}}({...o,...r}):zi({...vr(r,o,t),onUpdate:t=>{o.onUpdate(t),r.onUpdate&&r.onUpdate(t)},onComplete:()=>{o.onComplete(),r.onComplete&&r.onComplete()}})}:function(){const t=vn(n);return e.set(t),i(),r.onUpdate&&r.onUpdate(t),r.onComplete&&r.onComplete(),{stop:()=>{}}}}function br(t){return 0===t||"string"==typeof t&&0===parseFloat(t)&&-1===t.indexOf(" ")}function Er(t){return"number"==typeof t?0:hr("",t)}function Cr(t,e){return t[e]||t.default||t}function wr(t,e,n,o={}){return fr&&(o={type:!1}),e.start(i=>{let r,a;const s=xr(t,e,n,o,i),l=function(t,e){var n,o;return null!==(o=null!==(n=(Cr(t,e)||{}).delay)&&void 0!==n?n:t.delay)&&void 0!==o?o:0}(o,t),c=()=>a=s();return l?r=window.setTimeout(c,Wi(l)):c(),()=>{clearTimeout(r),a&&a.stop()}})}const Sr=t=>/^\-?\d*\.?\d+$/.test(t),Pr=t=>/^0[^.\s]+$/.test(t);function Ar(t,e){-1===t.indexOf(e)&&t.push(e)}function Ir(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class Tr{constructor(){this.subscriptions=[]}add(t){return Ar(this.subscriptions,t),()=>Ir(this.subscriptions,t)}notify(t,e,n){const o=this.subscriptions.length;if(o)if(1===o)this.subscriptions[0](t,e,n);else for(let i=0;i<o;i++){const o=this.subscriptions[i];o&&o(t,e,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}class kr{constructor(t){var e;this.version="7.2.1",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new Tr,this.velocityUpdateSubscribers=new Tr,this.renderSubscribers=new Tr,this.canTrackVelocity=!1,this.updateAndNotify=(t,e=!0)=>{this.prev=this.current,this.current=t;const{delta:n,timestamp:o}=$i();this.lastUpdated!==o&&(this.timeDelta=n,this.lastUpdated=o,Ui.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.updateSubscribers.notify(this.current),this.velocityUpdateSubscribers.getSize()&&this.velocityUpdateSubscribers.notify(this.getVelocity()),e&&this.renderSubscribers.notify(this.current)},this.scheduleVelocityCheck=()=>Ui.postRender(this.velocityCheck),this.velocityCheck=({timestamp:t})=>{t!==this.lastUpdated&&(this.prev=this.current,this.velocityUpdateSubscribers.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=(e=this.current,!isNaN(parseFloat(e)))}onChange(t){return this.updateSubscribers.add(t)}clearListeners(){this.updateSubscribers.clear()}onRenderRequest(t){return t(this.get()),this.renderSubscribers.add(t)}attach(t){this.passiveEffect=t}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?_i(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.stopAnimation=t(e)}).then(()=>this.clearAnimation())}stop(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()}}function Dr(t){return new kr(t)}const Rr=t=>e=>e.test(t),Or=[He,Fe,Be,je,Ue,$e,{test:t=>"auto"===t,parse:t=>t}],Vr=t=>Or.find(Rr(t)),Mr=[...Or,jo,zo],Lr=t=>Mr.find(Rr(t));function jr(t,e,n){const o=t.getProps();return gn(o,e,void 0!==n?n:o.custom,function(t){const e={};return t.forEachValue((t,n)=>e[n]=t.get()),e}(t),function(t){const e={};return t.forEachValue((t,n)=>e[n]=t.getVelocity()),e}(t))}function Br(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,Dr(n))}function Fr(t,e){const n=jr(t,e);let{transitionEnd:o={},transition:i={},...r}=n?t.makeTargetAnimatable(n,!1):{};r={...r,...o};for(const a in r){Br(t,a,vn(r[a]))}}function $r(t,e){if(!e)return;return(e[t]||e.default||e).from}function Ur(t){return Boolean(Se(t)&&t.add)}function Nr(t,e,n={}){var o;const i=jr(t,e,n.custom);let{transition:r=t.getDefaultTransition()||{}}=i||{};
1n.transitionOverride&&(r=n.transitionOverride);const a=i?()=>Hr(t,i,n):()=>Promise.resolve(),s=(null===(o=t.variantChildren)||void 0===o?void 0:o.size)?(o=0)=>{const{delayChildren:i=0,staggerChildren:a,staggerDirection:s}=r;return function(t,e,n=0,o=0,i=1,r){const a=[],s=(t.variantChildren.size-1)*o,l=1===i?(t=0)=>t*o:(t=0)=>s-t*o;return Array.from(t.variantChildren).sort(zr).forEach((t,o)=>{a.push(Nr(t,e,{...r,delay:n+l(o)}).then(()=>t.notifyAnimationComplete(e)))}),Promise.all(a)}(t,e,i+o,a,s,n)}:()=>Promise.resolve(),{when:l}=r;if(l){const[t,e]="beforeChildren"===l?[a,s]:[s,a];return t().then(e)}return Promise.all([a(),s(n.delay)])}function Hr(t,e,{delay:n=0,transitionOverride:o,type:i}={}){var r;let{transition:a=t.getDefaultTransition(),transitionEnd:s,...l}=t.makeTargetAnimatable(e);const c=t.getValue("willChange");o&&(a=o);const u=[],d=i&&(null===(r=t.animationState)||void 0===r?void 0:r.getState()[i]);for(const p in l){const e=t.getValue(p),o=l[p];if(!e||void 0===o||d&&_r(d,p))continue;let i={delay:n,...a};t.shouldReduceMotion&&Ce.has(p)&&(i={...i,type:!1,delay:0});let r=wr(p,e,o,i);Ur(c)&&(c.add(p),r=r.then(()=>c.remove(p))),u.push(r)}return Promise.all(u).then(()=>{s&&Fr(t,s)})}function zr(t,e){return t.sortNodePosition(e)}function _r({protectedKeys:t,needsAnimating:e},n){const o=t.hasOwnProperty(n)&&!0!==e[n];return e[n]=!1,o}const Wr=[Sn.Animate,Sn.InView,Sn.Focus,Sn.Hover,Sn.Tap,Sn.Drag,Sn.Exit],Yr=[...Wr].reverse(),Gr=Wr.length;function qr(t){return e=>Promise.all(e.map(({animation:e,options:n})=>function(t,e,n={}){let o;if(t.notifyAnimationStart(e),Array.isArray(e)){const i=e.map(e=>Nr(t,e,n));o=Promise.all(i)}else if("string"==typeof e)o=Nr(t,e,n);else{const i="function"==typeof e?jr(t,e,n.custom):e;o=Hr(t,i,n)}return o.then(()=>t.notifyAnimationComplete(e))}(t,e,n)))}function Kr(t){let e=qr(t);const n={[Sn.Animate]:Qr(!0),[Sn.InView]:Qr(),[Sn.Hover]:Qr(),[Sn.Tap]:Qr(),[Sn.Drag]:Qr(),[Sn.Focus]:Qr(),[Sn.Exit]:Qr()};let o=!0;const i=(e,n)=>{const o=jr(t,n);if(o){const{transition:t,transitionEnd:n,...i}=o;e={...e,...i,...n}}return e};function r(r,a){var s;const l=t.getProps(),c=t.getVariantContext(!0)||{},u=[],d=new Set;let p={},m=1/0;for(let e=0;e<Gr;e++){const h=Yr[e],f=n[h],g=null!==(s=l[h])&&void 0!==s?s:c[h],y=te(g),v=h===a?f.isActive:null;!1===v&&(m=e);let x=g===c[h]&&g!==l[h]&&y;if(x&&o&&t.manuallyAnimateOnMount&&(x=!1),f.protectedKeys={...p},!f.isActive&&null===v||!g&&!f.prevProp||ee(g)||"boolean"==typeof g)continue;const b=Xr(f.prevProp,g);let E=b||h===a&&f.isActive&&!x&&y||e>m&&y;const C=Array.isArray(g)?g:[g];let w=C.reduce(i,{});!1===v&&(w={});const{prevResolvedValues:S={}}=f,P={...S,...w},A=t=>{E=!0,d.delete(t),f.needsAnimating[t]=!0};for(const t in P){const e=w[t],n=S[t];p.hasOwnProperty(t)||(e!==n?yn(e)&&yn(n)?!ao(e,n)||b?A(t):f.protectedKeys[t]=!0:void 0!==e?A(t):d.add(t):void 0!==e&&d.has(t)?A(t):f.protectedKeys[t]=!0)}f.prevProp=g,f.prevResolvedValues=w,f.isActive&&(p={...p,...w}),o&&t.blockInitialAnimation&&(E=!1),E&&!x&&u.push(...C.map(t=>({animation:t,options:{type:h,...r}})))}if(d.size){const e={};d.forEach(n=>{const o=t.getBaseTarget(n);void 0!==o&&(e[n]=o)}),u.push({animation:e})}let h=Boolean(u.length);return o&&!1===l.initial&&!t.manuallyAnimateOnMount&&(h=!1),o=!1,h?e(u):Promise.resolve()}return{animateChanges:r,setActive:function(e,o,i){var a;if(n[e].isActive===o)return Promise.resolve();null===(a=t.variantChildren)||void 0===a||a.forEach(t=>{var n;return null===(n=t.animationState)||void 0===n?void 0:n.setActive(e,o)}),n[e].isActive=o;const s=r(i,e);for(const t in n)n[t].protectedKeys={};return s},setAnimateFunction:function(n){e=n(t)},getState:()=>n}}function Xr(t,e){return"string"==typeof e?e!==t:!!Array.isArray(e)&&!ao(e,t)}function Qr(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}const Zr={animation:oo(({visualElement:t,animate:e})=>{t.animationState||(t.animationState=Kr(t)),ee(e)&&(0,i.useEffect)(()=>e.subscribe(t),[e])}),exit:oo(t=>{const{custom:e,visualElement:n}=t,[o,r]=ro(),a=(0,i.useContext)(qt);(0,i.useEffect)(()=>{n.isPresent=o;const t=n.animationState&&n.animationState.setActive(Sn.Exit,!o,{custom:a&&a.custom||e});t&&!o&&t.then(r)},[o])})},Jr=t=>t.hasOwnProperty("x")&&t.hasOwnProperty("y"),ta=t=>Jr(t)&&t.hasOwnProperty("z"),ea=(t,e)=>Math.abs(t-e);function na(t,e){if(_o(t)&&_o(e))return ea(t,e);if(Jr(t)&&Jr(e)){const n=ea(t.x,e.x),o=ea(t.y,e.y),i=ta(t)&&ta(e)?ea(t.z,e.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(o,2)+Math.pow(i,2))}}class oa{constructor(t,e,{transformPagePoint:n}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const t=aa(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,n=na(t.offset,{x:0,y:0})>=3;if(!e&&!n)return;const{point:o}=t,{timestamp:i}=$i();this.history.push({...o,timestamp:i});const{onStart:r,onMove:a}=this.handlers;e||(r&&r(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=ia(e,this.transformPagePoint),In(t)&&0===t.buttons?this.handlePointerUp(t,e):Ui.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();const{onEnd:n,onSessionEnd:o}=this.handlers,i=aa(ia(e,this.transformPagePoint),this.history);this.startEvent&&n&&n(t,i),o&&o(t,i)},Tn(t)&&t.touches.length>1)return;this.handlers=e,this.transformPagePoint=n;const o=ia(On(t),this.transformPagePoint),{point:i}=o,{timestamp:r}=$i();this.history=[{...i,timestamp:r}];const{onSessionStart:a}=e;a&&a(t,aa(o,this.history)),this.removeListeners=qn(Bn(window,"pointermove",this.handlePointerMove),Bn(window,"pointerup",this.handlePointerUp),Bn(window,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Mi.update(this.updatePoint)}}function ia(t,e){return e?{point:e(t.point)}:t}function ra(t,e){return{x:t.x-e.x,y:t.y-e.y}}function aa({point:t},e){return{point:t,delta:ra(t,la(e)),offset:ra(t,sa(e)),velocity:ca(e,.1)}}function sa(t){return t[0]}function la(t){return t[t.length-1]}function ca(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,o=null;const i=la(t);for(;n>=0&&(o=t[n],!(i.timestamp-o.timestamp>Wi(e)));)n--;if(!o)return{x:0,y:0};const r=(i.timestamp-o.timestamp)/1e3;if(0===r)return{x:0,y:0};const a={x:(i.x-o.x)/r,y:(i.y-o.y)/r};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function ua(t){return t.max-t.min}function da(t,e=0,n=.01){return na(t,e)<n}function pa(t,e,n,o=.5){t.origin=o,t.originPoint=Eo(e.min,e.max,t.origin),t.scale=ua(n)/ua(e),(da(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=Eo(n.min,n.max,t.origin)-t.originPoint,(da(t.translate)||isNaN(t.translate))&&(t.translate=0)}function ma(t,e,n,o){pa(t.x,e.x,n.x,null==o?void 0:o.originX),pa(t.y,e.y,n.y,null==o?void 0:o.originY)}function ha(t,e,n){t.min=n.min+e.min,t.max=t.min+ua(e)}function fa(t,e,n){t.min=e.min-n.min,t.max=t.min+ua(e)}function ga(t,e,n){fa(t.x,e.x,n.x),fa(t.y,e.y,n.y)}function ya(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function va(t,e){let n=e.min-t.min,o=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,o]=[o,n]),{min:n,max:o}}const xa=.35;function ba(t,e,n){return{min:Ea(t,e),max:Ea(t,n)}}function Ea(t,e){var n;return"number"==typeof t?t:null!==(n=t[e])&&void 0!==n?n:0}const Ca=()=>({x:{min:0,max:0},y:{min:0,max:0}});function wa(t){return[t("x"),t("y")]}function Sa({top:t,left:e,right:n,bottom:o}){return{x:{min:e,max:n},y:{min:t,max:o}}}function Pa(t){return void 0===t||1===t}function Aa({scale:t,scaleX:e,scaleY:n}){return!Pa(t)||!Pa(e)||!Pa(n)}function Ia(t){return Aa(t)||Ta(t.x)||Ta(t.y)||t.z||t.rotate||t.rotateX||t.rotateY}function Ta(t){return t&&"0%"!==t}function ka(t,e,n){return n+e*(t-n)}function Da(t,e,n,o,i){return void 0!==i&&(t=ka(t,i,o)),ka(t,n,o)+e}function Ra(t,e=0,n=1,o,i){t.min=Da(t.min,e,n,o,i),t.max=Da(t.max,e,n,o,i)}function Oa(t,{x:e,y:n}){Ra(t.x,e.translate,e.scale,e.originPoint),Ra(t.y,n.translate,n.scale,n.originPoint)}function Va(t,e){t.min=t.min+e,t.max=t.max+e}function Ma(t,e,[n,o,i]){const r=void 0!==e[i]?e[i]:.5,a=Eo(t.min,t.max,r);Ra(t,e[n],e[o],a,e.scale)}
1const La=["x","scaleX","originX"],ja=["y","scaleY","originY"];function Ba(t,e){Ma(t.x,e,La),Ma(t.y,e,ja)}function Fa(t,e){return Sa(function(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),o=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:o.y,right:o.x}}(t.getBoundingClientRect(),e))}const $a=new WeakMap;class Ua{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=t}start(t,{snapToCursor:e=!1}={}){if(!1===this.visualElement.isPresent)return;this.panSession=new oa(t,{onSessionStart:t=>{this.stopAnimation(),e&&this.snapToCursor(On(t,"page").point)},onStart:(t,e)=>{var n;const{drag:o,dragPropagation:i,onDragStart:r}=this.getProps();(!o||i||(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Hn(o),this.openGlobalLock))&&(this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),wa(t=>{var e,n;let o=this.getAxisMotionValue(t).get()||0;if(Be.test(o)){const i=null===(n=null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout)||void 0===n?void 0:n.actual[t];if(i){o=ua(i)*(parseFloat(o)/100)}}this.originPoint[t]=o}),null==r||r(t,e),null===(n=this.visualElement.animationState)||void 0===n||n.setActive(Sn.Drag,!0))},onMove:(t,e)=>{const{dragPropagation:n,dragDirectionLock:o,onDirectionLock:i,onDrag:r}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:a}=e;if(o&&null===this.currentDirection)return this.currentDirection=function(t,e=10){let n=null;Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x");return n}(a),void(null!==this.currentDirection&&(null==i||i(this.currentDirection)));this.updateAxis("x",e.point,a),this.updateAxis("y",e.point,a),this.visualElement.syncRender(),null==r||r(t,e)},onSessionEnd:(t,e)=>this.stop(t,e)},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(t,e){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:o}=e;this.startAnimation(o);const{onDragEnd:i}=this.getProps();null==i||i(t,e)}cancel(){var t,e;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(t=this.panSession)||void 0===t||t.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(e=this.visualElement.animationState)||void 0===e||e.setActive(Sn.Drag,!1)}updateAxis(t,e,n){const{drag:o}=this.getProps();if(!n||!Na(t,o,this.currentDirection))return;const i=this.getAxisMotionValue(t);let r=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(r=function(t,{min:e,max:n},o){return void 0!==e&&t<e?t=o?Eo(e,t,o.min):Math.max(t,e):void 0!==n&&t>n&&(t=o?Eo(n,t,o.max):Math.min(t,n)),t}(r,this.constraints[t],this.elastic[t])),i.set(r)}resolveConstraints(){const{dragConstraints:t,dragElastic:e}=this.getProps(),{layout:n}=this.visualElement.projection||{},o=this.constraints;t&&Jt(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!t||!n)&&function(t,{top:e,left:n,bottom:o,right:i}){return{x:ya(t.x,n,i),y:ya(t.y,e,o)}}(n.actual,t),this.elastic=function(t=xa){return!1===t?t=0:!0===t&&(t=xa),{x:ba(t,"left","right"),y:ba(t,"top","bottom")}}(e),o!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&wa(t=>{this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){const n={};return void 0!==e.min&&(n.min=e.min-t.min),void 0!==e.max&&(n.max=e.max-t.min),n}(n.actual[t],this.constraints[t]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:e}=this.getProps();if(!t||!Jt(t))return!1;const n=t.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const i=function(t,e,n){const o=Fa(t,n),{scroll:i}=e;return i&&(Va(o.x,i.x),Va(o.y,i.y)),o}(n,o.root,this.visualElement.getTransformPagePoint());let r=function(t,e){return{x:va(t.x,e.x),y:va(t.y,e.y)}}(o.layout.actual,i);if(e){const t=e(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(r));this.hasMutatedConstraints=!!t,t&&(r=Sa(t))}return r}startAnimation(t){const{drag:e,dragMomentum:n,dragElastic:o,dragTransition:i,dragSnapToOrigin:r,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=wa(a=>{var l;if(!Na(a,e,this.currentDirection))return;let c=null!==(l=null==s?void 0:s[a])&&void 0!==l?l:{};r&&(c={min:0,max:0});const u=o?200:1e6,d=o?40:1e7,p={type:"inertia",velocity:n?t[a]:0,bounceStiffness:u,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10,...i,...c};return this.startAxisValueAnimation(a,p)});return Promise.all(l).then(a)}startAxisValueAnimation(t,e){return wr(t,this.getAxisMotionValue(t),0,e)}stopAnimation(){wa(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){var e,n;const o="_drag"+t.toUpperCase(),i=this.visualElement.getProps()[o];return i||this.visualElement.getValue(t,null!==(n=null===(e=this.visualElement.getProps().initial)||void 0===e?void 0:e[t])&&void 0!==n?n:0)}snapToCursor(t){wa(e=>{const{drag:n}=this.getProps();if(!Na(e,n,this.currentDirection))return;const{projection:o}=this.visualElement,i=this.getAxisMotionValue(e);if(o&&o.layout){const{min:n,max:r}=o.layout.actual[e];i.set(t[e]-Eo(n,r,.5))}})}scalePositionWithinConstraints(){var t;const{drag:e,dragConstraints:n}=this.getProps(),{projection:o}=this.visualElement;if(!Jt(n)||!o||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};wa(t=>{const e=this.getAxisMotionValue(t);if(e){const n=e.get();i[t]=function(t,e){let n=.5;const o=ua(t),i=ua(e);return i>o?n=bo(e.min,e.max-o,t.min):o>i&&(n=bo(t.min,t.max-i,e.min)),co(0,1,n)}({min:n,max:n},this.constraints[t])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.getInstance().style.transform=r?r({},""):"none",null===(t=o.root)||void 0===t||t.updateScroll(),o.updateLayout(),this.resolveConstraints(),wa(t=>{if(!Na(t,e,null))return;const n=this.getAxisMotionValue(t),{min:o,max:r}=this.constraints[t];n.set(Eo(o,r,i[t]))})}addListeners(){var t;$a.set(this.visualElement,this);const e=Bn(this.visualElement.getInstance(),"pointerdown",t=>{const{drag:e,dragListener:n=!0}
1=this.getProps();e&&n&&this.start(t)}),n=()=>{const{dragConstraints:t}=this.getProps();Jt(t)&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,i=o.addEventListener("measure",n);o&&!o.layout&&(null===(t=o.root)||void 0===t||t.updateScroll(),o.updateLayout()),n();const r=Pn(window,"resize",()=>this.scalePositionWithinConstraints()),a=o.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(wa(e=>{const n=this.getAxisMotionValue(e);n&&(this.originPoint[e]+=t[e].translate,n.set(n.get()+t[e].translate))}),this.visualElement.syncRender())});return()=>{r(),e(),i(),null==a||a()}}getProps(){const t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:n=!1,dragPropagation:o=!1,dragConstraints:i=!1,dragElastic:r=xa,dragMomentum:a=!0}=t;return{...t,drag:e,dragDirectionLock:n,dragPropagation:o,dragConstraints:i,dragElastic:r,dragMomentum:a}}}function Na(t,e,n){return!(!0!==e&&e!==t||null!==n&&n!==t)}const Ha={pan:oo(function({onPan:t,onPanStart:e,onPanEnd:n,onPanSessionStart:o,visualElement:r}){const a=t||e||n||o,s=(0,i.useRef)(null),{transformPagePoint:l}=(0,i.useContext)(Yt),c={onSessionStart:o,onStart:e,onMove:t,onEnd:(t,e)=>{s.current=null,n&&n(t,e)}};(0,i.useEffect)(()=>{null!==s.current&&s.current.updateHandlers(c)}),Fn(r,"pointerdown",a&&function(t){s.current=new oa(t,c,{transformPagePoint:l})}),Yn(()=>s.current&&s.current.end())}),drag:oo(function(t){const{dragControls:e,visualElement:n}=t,o=ce(()=>new Ua(n));(0,i.useEffect)(()=>e&&e.subscribe(o),[o,e]),(0,i.useEffect)(()=>o.addListeners(),[o])})},za={current:null},_a={current:!1};const Wa=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"];const Ya=Object.keys(le),Ga=Ya.length,qa=({treeType:t="",build:e,getBaseTarget:n,makeTargetAnimatable:o,measureViewportBox:r,render:a,readValueFromInstance:s,removeValueFromRenderState:l,sortNodePosition:c,scrapeMotionValuesFromProps:u})=>({parent:d,props:p,presenceId:m,blockInitialAnimation:h,visualState:f,reducedMotionConfig:g},y={})=>{let v=!1;const{latestValues:x,renderState:b}=f;let E;const C=function(){const t=Wa.map(()=>new Tr),e={},n={clearAllListeners:()=>t.forEach(t=>t.clear()),updatePropListeners:t=>{Wa.forEach(o=>{var i;const r="on"+o,a=t[r];null===(i=e[o])||void 0===i||i.call(e),a&&(e[o]=n[r](a))})}};return t.forEach((t,e)=>{n["on"+Wa[e]]=e=>t.add(e),n["notify"+Wa[e]]=(...e)=>t.notify(...e)}),n}(),w=new Map,S=new Map;let P={};const A={...x};let I;function T(){E&&v&&(k(),a(E,b,p.style,j.projection))}function k(){e(j,b,x,y,p)}function D(){C.notifyUpdate(x)}function R(t,e){const n=e.onChange(e=>{x[t]=e,p.onUpdate&&Ui.update(D,!1,!0)}),o=e.onRenderRequest(j.scheduleRender);S.set(t,()=>{n(),o()})}const{willChange:O,...V}=u(p);for(const t in V){const e=V[t];void 0!==x[t]&&Se(e)&&(e.set(x[t],!1),Ur(O)&&O.add(t))}const M=oe(p),L=ie(p),j={treeType:t,current:null,depth:d?d.depth+1:0,parent:d,children:new Set,presenceId:m,shouldReduceMotion:null,variantChildren:L?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null==d?void 0:d.isMounted()),blockInitialAnimation:h,isMounted:()=>Boolean(E),mount(t){v=!0,E=j.current=t,j.projection&&j.projection.mount(t),L&&d&&!M&&(I=null==d?void 0:d.addVariantChild(j)),w.forEac
1h((t,e)=>R(e,t)),_a.current||function(){if(_a.current=!0,Kt)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>za.current=t.matches;t.addListener(e),e()}else za.current=!1}(),j.shouldReduceMotion="never"!==g&&("always"===g||za.current),null==d||d.children.add(j),j.setProps(p)},unmount(){var t;null===(t=j.projection)||void 0===t||t.unmount(),Mi.update(D),Mi.render(T),S.forEach(t=>t()),null==I||I(),null==d||d.children.delete(j),C.clearAllListeners(),E=void 0,v=!1},loadFeatures(t,e,n,o,r,a){const s=[];for(let l=0;l<Ga;l++){const e=Ya[l],{isEnabled:n,Component:o}=le[e];n(p)&&o&&s.push((0,i.createElement)(o,{key:e,...t,visualElement:j}))}if(!j.projection&&r){j.projection=new r(o,j.getLatestValues(),d&&d.projection);const{layoutId:e,layout:n,drag:i,dragConstraints:s,layoutScroll:l}=t;j.projection.setOptions({layoutId:e,layout:n,alwaysMeasureLayout:Boolean(i)||s&&Jt(s),visualElement:j,scheduleRender:()=>j.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:a,layoutScroll:l})}return s},addVariantChild(t){var e;const n=j.getClosestVariantNode();if(n)return null===(e=n.variantChildren)||void 0===e||e.add(t),()=>n.variantChildren.delete(t)},sortNodePosition(e){return c&&t===e.treeType?c(j.getInstance(),e.getInstance()):0},getClosestVariantNode:()=>L?j:null==d?void 0:d.getClosestVariantNode(),getLayoutId:()=>p.layoutId,getInstance:()=>E,getStaticValue:t=>x[t],setStaticValue:(t,e)=>x[t]=e,getLatestValues:()=>x,setVisibility(t){j.isVisible!==t&&(j.isVisible=t,j.scheduleRender())},makeTargetAnimatable(t,e=!0){return o(j,t,p,e)},measureViewportBox(){return r(E,p)},addValue(t,e){j.hasValue(t)&&j.removeValue(t),w.set(t,e),x[t]=e.get(),R(t,e)},removeValue(t){var e;w.delete(t),null===(e=S.get(t))||void 0===e||e(),S.delete(t),delete x[t],l(t,b)},hasValue:t=>w.has(t),getValue(t,e){let n=w.get(t);return void 0===n&&void 0!==e&&(n=Dr(e),j.addValue(t,n)),n},forEachValue:t=>w.forEach(t),readValue:t=>void 0!==x[t]?x[t]:s(E,t,y),setBaseTarget(t,e){A[t]=e},getBaseTarget(t){if(n){const e=n(p,t);if(void 0!==e&&!Se(e))return e}return A[t]},...C,build(){return k(),b},scheduleRender(){Ui.render(T,!1,!0)},syncRender:T,setProps(t){(t.transformTemplate||p.transformTemplate)&&j.scheduleRender(),p=t,C.updatePropListeners(t),P=function(t,e,n){const{willChange:o}=e;for(const i in e){const r=e[i],a=n[i];if(Se(r))t.addValue(i,r),Ur(o)&&o.add(i);else if(Se(a))t.addValue(i,Dr(r)),Ur(o)&&o.remove(i);else if(a!==r)if(t.hasValue(i)){const e=t.getValue(i);!e.hasAnimated&&e.set(r)}else{const e=t.getStaticValue(i);t.addValue(i,Dr(void 0!==e?e:r))}}for(const i in n)void 0===e[i]&&t.removeValue(i);return e}(j,u(p),P)},getProps:()=>p,getVariant:t=>{var e;return null===(e=p.variants)||void 0===e?void 0:e[t]},getDefaultTransition:()=>p.transition,getTransformPagePoint:()=>p.transformPagePoint,getVariantContext(t=!1){if(t)return null==d?void 0:d.getVariantContext();if(!M){const t=(null==d?void 0:d.getVariantContext())||{};return void 0!==p.initial&&(t.initial=p.initial),t}const e={};for(let n=0;n<Xa;n++){const t=Ka[n],o=p[t];(te(o)||!1===o)&&(e[t]=o)}return e}};return j},Ka=["initial",...Wr],Xa=Ka.length;function Qa(t){return"string"==typeof t&&t.startsWith("var(--")}const Za=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Ja(t,e,n=1){const[o,i]=function(t){const e=Za.exec(t);if(!e)return[,];const[,n,o]=e;return[n,o]}(t);if(!o)return;const r=window.getComputedStyle(e).getPropertyValue(o);return r?r.trim():Qa(i)?Ja(i,e,n+1):i}const ts=new Set(["width","height","top","left","right","bottom","x","y"]),es=t=>ts.has(t),ns=(t,e)=>{t.set(e,!1),t.set(e)},os=t=>t===He||t===Fe;var is;!function(t){t.width="width",t.height="height",t.left="left",t.right="right",t.top="top",t.bottom="bottom"}(is||(is={}));const rs=(t,e)=>parseFloat(t.split(", ")[e]),as=(t,e)=>(n,{transform:o})=>{if("none"===o||!o)return 0;const i=o.match(/^matrix3d\((.+)\)$/);if(i)return rs(i[1],e);{const e=o.match(/^matrix\((.+)\)$/);return e?rs(e[1],t):0}},ss=new Set(["x","y","z"]),ls=Ee.filter(t=>!ss.has(t));const cs={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:as(4,13),y:as(5,14)},us=(t,e,n={},o={})=>{e={...e},o={...o};const i=Object.keys(e).filter(es);let r=[],a=!1;const s=[];if(i.forEach(i=>
1{const l=t.getValue(i);if(!t.hasValue(i))return;let c=n[i],u=Vr(c);const d=e[i];let p;if(yn(d)){const t=d.length,e=null===d[0]?1:0;c=d[e],u=Vr(c);for(let n=e;n<t;n++)p?lo(Vr(d[n])):(p=Vr(d[n]),lo(p===u||os(u)&&os(p)))}else p=Vr(d);if(u!==p)if(os(u)&&os(p)){const t=l.get();"string"==typeof t&&l.set(parseFloat(t)),"string"==typeof d?e[i]=parseFloat(d):Array.isArray(d)&&p===Fe&&(e[i]=d.map(parseFloat))}else(null==u?void 0:u.transform)&&(null==p?void 0:p.transform)&&(0===c||0===d)?0===c?l.set(p.transform(c)):e[i]=u.transform(d):(a||(r=function(t){const e=[];return ls.forEach(n=>{const o=t.getValue(n);void 0!==o&&(e.push([n,o.get()]),o.set(n.startsWith("scale")?1:0))}),e.length&&t.syncRender(),e}(t),a=!0),s.push(i),o[i]=void 0!==o[i]?o[i]:e[i],ns(l,d))}),s.length){const n=s.indexOf("height")>=0?window.pageYOffset:null,i=((t,e,n)=>{const o=e.measureViewportBox(),i=e.getInstance(),r=getComputedStyle(i),{display:a}=r,s={};"none"===a&&e.setStaticValue("display",t.display||"block"),n.forEach(t=>{s[t]=cs[t](o,r)}),e.syncRender();const l=e.measureViewportBox();return n.forEach(n=>{const o=e.getValue(n);ns(o,s[n]),t[n]=cs[n](l,r)}),t})(e,t,s);return r.length&&r.forEach(([e,n])=>{t.getValue(e).set(n)}),t.syncRender(),Kt&&null!==n&&window.scrollTo({top:n}),{target:i,transitionEnd:o}}return{target:e,transitionEnd:o}};function ds(t,e,n,o){return(t=>Object.keys(t).some(es))(e)?us(t,e,n,o):{target:e,transitionEnd:o}}const ps=(t,e,n,o)=>{const i=function(t,{...e},n){const o=t.getInstance();if(!(o instanceof Element))return{target:e,transitionEnd:n};n&&(n={...n}),t.forEachValue(t=>{const e=t.get();if(!Qa(e))return;const n=Ja(e,o);n&&t.set(n)});for(const i in e){const t=e[i];if(!Qa(t))continue;const r=Ja(t,o);r&&(e[i]=r,n&&void 0===n[i]&&(n[i]=t))}return{target:e,transitionEnd:n}}(t,e,o);return ds(t,e=i.target,n,o=i.transitionEnd)};const ms={treeType:"dom",readValueFromInstance(t,e){if(Ce.has(e)){const t=mr(e);return t&&t.default||0}{const o=(n=t,window.getComputedStyle(n)),i=(Ie(e)?o.getPropertyValue(e):o[e])||0;return"string"==typeof i?i.trim():i}var n},sortNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1},getBaseTarget(t,e){var n;return null===(n=t.style)||void 0===n?void 0:n[e]},measureViewportBox(t,{transformPagePoint:e}){return Fa(t,e)},resetTransform(t,e,n){const{transformTemplate:o}=n;e.style.transform=o?o({},""):"none",t.scheduleRender()},restoreTransform(t,e){t.style.transform=e.style.transform},removeValueFromRenderState(t,{vars:e,style:n}){delete e[t],delete n[t]},makeTargetAnimatable(t,{transition:e,transitionEnd:n,...o},{transformValues:i},r=!0){let a=function(t,e,n){var o;const i={};for(const r in t){const t=$r(r,e);i[r]=void 0!==t?t:null===(o=n.getValue(r))||void 0===o?void 0:o.get()}return i}(o,e||{},t);if(i&&(n&&(n=i(n)),o&&(o=i(o)),a&&(a=i(a))),r){!function(t,e,n){var o,i;const r=Object.keys(e).filter(e=>!t.hasValue(e)),a=r.length;if(a)for(let s=0;s<a;s++){const a=r[s],l=e[a];let c=null;Array.isArray(l)&&(c=l[0]),null===c&&(c=null!==(i=null!==(o=n[a])&&void 0!==o?o:t.readValue(a))&&void 0!==i?i:e[a]),null!=c&&("string"==typeof c&&(Sr(c)||Pr(c))?c=parseFloat(c):!Lr(c)&&zo.test(l)&&(c=hr(a,l)),t.addValue(a,Dr(c)),void 0===n[a]&&(n[a]=c),t.setBaseTarget(a,c))}}(t,o,a);const e=ps(t,o,a,n);n=e.transitionEnd,o=e.target}return{transition:e,transitionEnd:n,...o}},scrapeMotionValuesFromProps:hn,build(t,e,n,o,i){void 0!==t.isVisible&&(e.style.visibility=t.isVisible?"visible":"hidden"),Ge(e,n,o,i.transformTemplate)},render:dn},hs=qa(ms),fs=qa({...ms,getBaseTarget(t,e){return t[e]},readValueFromInstance(t,e){var n;return Ce.has(e)?(null===(n=mr(e))||void 0===n?void 0:n.default)||0:(e=pn.has(e)?e:un(e),t.getAttribute(e))},scrapeMotionValuesFromProps:fn,build(t,e,n,o,i){an(e,n,o,i.transformTemplate)},render:mn}),gs=(t,e)=>xe(t)?fs(e,{enableHardwareAcceleration:!1}):hs(e,{enableHardwareAcceleration:!0});function ys(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const vs={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!Fe.test(t))return t;t=parseFloat(t)}return`${ys(t,e.target.x)}% ${ys(t,e.target.y)}%`}},xs="_$css",bs={correct:(t,{treeScale:e,projectionDelta:n})=>{const o=t,i=t.includes("var("),r=[];i&&(t=t.replace(Za,t=>(r.push(t),xs)));const a=zo.parse(t);if(a.length>5)return o;const s=zo.createTransformer(t),l="number"!=typeof a[0]?1:0,c=n.x.scale*e.x,u=n.y.scale*e.y;a[0+l]/=c,a[1+l]/=u;const d=Eo(c,u,.5);"number"==typeof a[2+l]&&(a[2+l]/=d),"number"==typeof a[3+l]&&(a[3+l]/=d);let p=s(a);if(i){let t=0;p=p.replace(xs,()=>{const e=r[t];return t++,e})}return p}};class Es extends i.Component{componentDidMount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n,layoutId:o}=this.props,{projection:i}=t;var r;r=Cs,Object.assign(be,r),i&&(e.group&&e.group.add(i),n&&n.register&&o&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),ue.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:e,visualElement:n,drag:o,isPresent:i}=this.props,r=n.projection;return r?(r.isPresent=i,o||t.layoutDependency!==e||void 0===e?r.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?r.promote():r.relegate()||Ui.postRender(()=>{var t;(null===(t=r.getStack())||void 0===t?void 0:t.members.length)||this.safeToRemove()})),null):null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),!t.currentAnimation&&t.isLead()&&this.safeToRemove())}componentWillUnmount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n}=this.props,{projection:o}=t;o&&(o.scheduleCheckAfterUnmount(),(null==e?void 0:e.group)&&e.group.remove(o),(null==n?void 0:n.deregister)&&n.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;null==t||t()}render(){return null}}const Cs={borderRadius:{...vs,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:vs,borderTopRightRadius:vs,borderBottomLeftRadius:vs,borderBottomRightRadius:vs,boxSh
1adow:bs},ws={measureLayout:function(t){const[e,n]=ro(),o=(0,i.useContext)(pe);return i.createElement(Es,{...t,layoutGroup:o,switchLayoutGroup:(0,i.useContext)(he),isPresent:e,safeToRemove:n})}};const Ss=["TopLeft","TopRight","BottomLeft","BottomRight"],Ps=Ss.length,As=t=>"string"==typeof t?parseFloat(t):t,Is=t=>"number"==typeof t||Fe.test(t);function Ts(t,e){var n;return null!==(n=t[e])&&void 0!==n?n:t.borderRadius}const ks=Rs(0,.5,ui),Ds=Rs(.5,.95,ii);function Rs(t,e,n){return o=>o<t?0:o>e?1:n(bo(t,e,o))}function Os(t,e){t.min=e.min,t.max=e.max}function Vs(t,e){Os(t.x,e.x),Os(t.y,e.y)}function Ms(t,e,n,o,i){return t=ka(t-=e,1/n,o),void 0!==i&&(t=ka(t,1/i,o)),t}function Ls(t,e,[n,o,i],r,a){!function(t,e=0,n=1,o=.5,i,r=t,a=t){Be.test(e)&&(e=parseFloat(e),e=Eo(a.min,a.max,e/100)-a.min);if("number"!=typeof e)return;let s=Eo(r.min,r.max,o);t===r&&(s-=e),t.min=Ms(t.min,e,n,s,i),t.max=Ms(t.max,e,n,s,i)}(t,e[n],e[o],e[i],e.scale,r,a)}const js=["x","scaleX","originX"],Bs=["y","scaleY","originY"];function Fs(t,e,n,o){Ls(t.x,e,js,null==n?void 0:n.x,null==o?void 0:o.x),Ls(t.y,e,Bs,null==n?void 0:n.y,null==o?void 0:o.y)}function $s(t){return 0===t.translate&&1===t.scale}function Us(t){return $s(t.x)&&$s(t.y)}function Ns(t,e){return t.x.min===e.x.min&&t.x.max===e.x.max&&t.y.min===e.y.min&&t.y.max===e.y.max}class Hs{constructor(){this.members=[]}add(t){Ar(this.members,t),t.scheduleRender()}remove(t){if(Ir(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){const e=this.members.findIndex(e=>t===e);if(0===e)return!1;let n;for(let o=e;o>=0;o--){const t=this.members[o];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(t,e){var n;const o=this.lead;if(t!==o&&(this.prevLead=o,this.lead=t,t.show(),o)){o.instance&&o.scheduleRender(),t.scheduleRender(),t.resumeFrom=o,e&&(t.resumeFrom.preserveOpacity=!0),o.snapshot&&(t.snapshot=o.snapshot,t.snapshot.latestValues=o.animationValues||o.latestValues,t.snapshot.isShared=!0),(null===(n=t.root)||void 0===n?void 0:n.isUpdating)&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;!1===i&&o.hide()}}exitAnimationComplete(){this.members.forEach(t=>{var e,n,o,i,r;null===(n=(e=t.options).onExitComplete)||void 0===n||n.call(e),null===(r=null===(o=t.resumingFrom)||void 0===o?void 0:(i=o.options).onExitComplete)||void 0===r||r.call(i)})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function zs(t,e,n){let o=`translate3d(${t.x.translate/e.x}px, ${t.y.translate/e.y}
1px, 0) `;if(o+=`scale(${1/e.x}, ${1/e.y}) `,n){const{rotate:t,rotateX:e,rotateY:i}=n;t&&(o+=`rotate(${t}deg) `),e&&(o+=`rotateX(${e}deg) `),i&&(o+=`rotateY(${i}deg) `)}return o+=`scale(${t.x.scale*e.x}, ${t.y.scale*e.y})`,"translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)"===o?"none":o}const _s=(t,e)=>t.depth-e.depth;class Ws{constructor(){this.children=[],this.isDirty=!1}add(t){Ar(this.children,t),this.isDirty=!0}remove(t){Ir(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(_s),this.isDirty=!1,this.children.forEach(t)}}const Ys=["","X","Y","Z"];function Gs({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:o,resetTransform:i}){return class{constructor(t,n={},o=(null==e?void 0:e())){this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.nodes.forEach(tl),this.nodes.forEach(el)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=t,this.latestValues=n,this.root=o?o.root||o:this,this.path=o?[...o.path,o]:[],this.parent=o,this.depth=o?o.depth+1:0,t&&this.root.registerPotentialNode(t,this);for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new Ws)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new Tr),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){const n=this.eventHandlers.get(t);null==n||n.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}registerPotentialNode(t,e){this.potentialNodes.set(t,e)}mount(e,n=!1){var o;if(this.instance)return;this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;const{layoutId:i,layout:r,visualElement:a}=this.options;if(a&&!a.getInstance()&&a.mount(e),this.root.nodes.add(this),null===(o=this.parent)||void 0===o||o.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),n&&(r||i)&&(this.isLayoutDirty=!0),t){let n;const o=()=>this.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,clearTimeout(n),n=window.setTimeout(o,250),ue.hasAnimatedSinceResize&&(ue.hasAnimatedSinceResize=!1,this.nodes.forEach(Js))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&a&&(i||r)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:n,layout:o})=>{var i,r,s,l,c;if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const u=null!==(r=null!==(i=this.options.transition)&&void 0!==i?i:a.getDefaultTransition())&&void 0!==r?r:sl,{onLayoutAnimationStart:d,onLayoutAnimationComplete:p}=a.getProps(),m=!this.targetLayout||!Ns(this.targetLayout,o)||n,h=!e&&n;if((null===(s=this.resumeFrom)||void 0===s?void 0:s.instance)||h||e&&(m||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,h);const e={...Cr(u,"layout"),onPlay:d,onComplete:p};a.shouldReduceMotion&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||0!==this.animationProgress||this.finishAnimation(),this.isLead()&&(null===(c=(l=this.options).onExitComplete)||void 0===c||c.call(l));this.targetLayout=o})}unmount(){var t,e;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null===(t=this.getStack())||void 0===t||t.remove(this),null===(e=this.parent)||void 0===e||e.children.delete(this),this.instance=void 0,Mi.preRender(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){var t;return this.isAnimationBlocked||(null===(t=this.parent)||void 0===t?void 0:t.isTreeAnimationBlocked())||!1}startUpdate(){var t;this.isUpdateBlocked()||(this.isUpdating=!0,null===(t=this.nodes)||void 0===t||t.forEach(nl))}willUpdate(t=!0){var e,n,o;if(this.root.isUpdateBlocked())return void(null===(n=(e=this.options).onExitComplete)||void 0===n||n.call(e));
1if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let s=0;s<this.path.length;s++){const t=this.path[s];t.shouldResetTransform=!0,t.updateScroll()}const{layoutId:i,layout:r}=this.options;if(void 0===i&&!r)return;const a=null===(o=this.options.visualElement)||void 0===o?void 0:o.getProps().transformTemplate;this.prevTransformTemplateValue=null==a?void 0:a(this.latestValues,""),this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}didUpdate(){if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(Qs);this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(ll),this.potentialNodes.clear()),this.nodes.forEach(Zs),this.nodes.forEach(qs),this.nodes.forEach(Ks),this.clearAllSnapshots(),Li.update(),Li.preRender(),Li.render())}clearAllSnapshots(){this.nodes.forEach(Xs),this.sharedNodes.forEach(ol)}scheduleUpdateProjection(){Ui.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){Ui.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){if(this.snapshot||!this.instance)return;const t=this.measure(),e=this.removeTransform(this.removeElementScroll(t));ul(e),this.snapshot={measured:t,layout:e,latestValues:{}}}updateLayout(){var t;if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let o=0;o<this.path.length;o++){this.path[o].updateScroll()}const e=this.measure();ul(e);const n=this.layout;this.layout={measured:e,actual:this.removeElementScroll(e)},this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),null===(t=this.options.visualElement)||void 0===t||t.notifyLayoutMeasure(this.layout.actual,null==n?void 0:n.actual)}updateScroll(){this.options.layoutScroll&&this.instance&&(this.isScrollRoot=o(this.instance),this.scroll=n(this.instance))}resetTransform(){var t;if(!i)return;const e=this.isLayoutDirty||this.shouldResetTransform,n=this.projectionDelta&&!Us(this.projectionDelta),o=null===(t=this.options.visualElement)||void 0===t?void 0:t.getProps().transformTemplate,r=null==o?void 0:o(this.latestValues,""),a=r!==this.prevTransformTemplateValue;e&&(n||Ia(this.latestValues)||a)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(){const{visualElement:t}=this.options;if(!t)return{x:{min:0,max:0},y:{min:0,max:0}};const e=t.measureViewportBox(),{scroll:n}=this.root;return n&&(Va(e.x,n.x),Va(e.y,n.y)),e}removeElementScroll(t){const e={x:{min:0,max:0},y:{min:0,max:0}};Vs(e,t);for(let n=0;n<this.path.length;n++){const o=this.path[n],{scroll:i,options:r,isScrollRoot:a}=o;if(o!==this.root&&i&&r.layoutScroll){if(a){Vs(e,t);const{scroll:n}=this.root;n&&(Va(e.x,-n.x),Va(e.y,-n.y))}Va(e.x,i.x),Va(e.y,i.y)}}return e}applyTransform(t,e=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};Vs(n,t);for(let o=0;o<this.path.length;o++){const t=this.path[o];!e&&t.options.layoutScroll&&t.scroll&&t!==t.root&&Ba(n,{x:-t.scroll.x,y:-t.scroll.y}),Ia(t.latestValues)&&Ba(n,t.latestValues)}return Ia(this.latestValues)&&Ba(n,this.latestValues),n}removeTransform(t){var e;const n={x:{min:0,max:0},y:{min:0,max:0}};Vs(n,t);for(let o=0;o<this.path.length;o++){const t=this.path[o];if(!t.instance)continue;if(!Ia(t.latestValues))continue;Aa(t.latestValues)&&t.updateSnapshot();const i=Ca();Vs(i,t.measure()),Fs(n,t.latestValues,null===(e=t.snapshot)||void 0===e?void 0:e.layout,i)}return Ia(this.latestValues)&&Fs(n,this.latestValues),n}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection()}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}resolveTargetDelta(){var t;const{layout:e,layoutId:n}=this.options;var o,i,r;this.layout&&(e||n)&&(this.targetDelta||this.relativeTarget||(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},ga(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),Vs(this.relativeTarget,this.relativeTargetOrigin))),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&(null===(t=this.relativeParent)||void 0===t?void 0:t.target)?(o=this.target,i=this.relativeTarget,r=this.relativeParent.target,ha(o.x,i.x,r.x),ha(o.y,i.y,r.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):Vs(this.target,this.layout.actual),Oa(this.target,this.targetDelta)):Vs(this.target,this.layout.actual),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&Boolean(this.relativeParent.resumingFrom)===Boolean(this.resumingFrom)&&!this.relativeParent.options.layoutScroll&&this.relativeParent.target&&(this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},ga(this.relativeTargetOrigin,this.target,this.relativeParent.target),Vs(this.relativeTarget,this.relativeTargetOrigin)))))}getClosestProjectingParent(){if(this.parent&&!Ia(this.parent.latestValues))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()}calcProjection(){var t;const{layout:e,layoutId:n}=this.options;if(this.isTreeAnimating=Boolean((null===(t=this.parent)||void 0===t?void 0:t.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!e&&!n)return;const o=this.getLead();Vs(this.layoutCorrected,this.layout.actual),function(t,e,n,o=!1){var i,r;const a=n.length;if(!a)return;let s,l;e.x=e.y=1;for(let c=0;c<a;c++)s=n[c],l=s.projectionDelta,"contents"!==(null===(r=null===(i=s.instance)||void 0===i?void 0:i.style)||void 0===r?void 0:r.display)&&(o&&s.options.layoutScroll&&s.scroll&&s!==s.root&&Ba(t,{x:-s.scroll.x,y:-s.scroll.y}),l&&(e.x*=l.x.scale,e.y*=l.y.scale,Oa(t,l)),o&&Ia(s.latestValues)&&Ba(t,s.latestValues))}(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==o);const{target:i}=o;if(!i)return;this.projectionDelta||(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}});const r=this.treeScale.x,a=this.treeScale.y,s=this.projectionTransform;ma(this.projectionDelta,this.layoutCorrected,i,this.latestValues),this.projectionTransform=zs(this.projectionDelta,this.treeScale),this.projectionTransform===s&&this.treeScale.x===r&&this.treeScale.y===a||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",i))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){var e,n,o;null===(n=(e=this.options).scheduleRender)||void 0===n||n.call(e),t&&(null===(o=this.getStack())||void 0===o||o.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(t,e=!1){var n;const o=this.snapshot,i=(null==o?void 0:o.latestValues)||{},r={...this.latestValues},a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!e;const s={x:{min:0,max:0},y:{min:0,max:0}},l=null==o?void 0:o.isShared,c=((null===(n=this.getStack())||void 0===n?void 0:n.members.length)||0)<=1,u=Boolean(l&&!c&&!0===this.options.crossfade&&!this.path.some(al));this.animationProgress=0,this.mixTargetDelta=e=>{var n;const o=e/1e3;var d,p,m,h;il(a.x,t.x,o),il(a.y,t.y,o),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&(null===(n=this.relativeParent)||void 0===n?void 0:n.layout)&&(ga(s,this.layout.actual,this.relativeParent.layout.actual),d=this.relativeTarget,p=this.relativeTargetOrigin,m=s,h=o,rl(d.x,p.x,m.x,h),rl
1(d.y,p.y,m.y,h)),l&&(this.animationValues=r,function(t,e,n,o,i,r){var a,s,l,c;i?(t.opacity=Eo(0,null!==(a=n.opacity)&&void 0!==a?a:1,ks(o)),t.opacityExit=Eo(null!==(s=e.opacity)&&void 0!==s?s:1,0,Ds(o))):r&&(t.opacity=Eo(null!==(l=e.opacity)&&void 0!==l?l:1,null!==(c=n.opacity)&&void 0!==c?c:1,o));for(let u=0;u<Ps;u++){const i=`border${Ss[u]}Radius`;let r=Ts(e,i),a=Ts(n,i);void 0===r&&void 0===a||(r||(r=0),a||(a=0),0===r||0===a||Is(r)===Is(a)?(t[i]=Math.max(Eo(As(r),As(a),o),0),(Be.test(a)||Be.test(r))&&(t[i]+="%")):t[i]=a)}(e.rotate||n.rotate)&&(t.rotate=Eo(e.rotate||0,n.rotate||0,o))}(r,i,this.latestValues,o,u,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=o},this.mixTargetDelta(0)}startAnimation(t){var e,n;this.notifyListeners("animationStart"),null===(e=this.currentAnimation)||void 0===e||e.stop(),this.resumingFrom&&(null===(n=this.resumingFrom.currentAnimation)||void 0===n||n.stop()),this.pendingAnimation&&(Mi.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ui.update(()=>{ue.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e,n={}){const o=Se(t)?t:Dr(t);return wr("",o,e,n),{stop:()=>o.stop(),isAnimating:()=>o.isAnimating()}}(0,1e3,{...t,onUpdate:e=>{var n;this.mixTargetDelta(e),null===(n=t.onUpdate)||void 0===n||n.call(t,e)},onComplete:()=>{var e;null===(e=t.onComplete)||void 0===e||e.call(t),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){var t;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null===(t=this.getStack())||void 0===t||t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){var t;this.currentAnimation&&(null===(t=this.mixTargetDelta)||void 0===t||t.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const{targetWithTransforms:t,target:e,layout:n,latestValues:o}=this.getLead();t&&e&&n&&(Vs(t,e),Ba(t,o),ma(this.projectionDeltaWithTransform,this.layoutCorrected,t,o))}registerSharedNode(t,e){var n,o,i;this.sharedNodes.has(t)||this.sharedNodes.set(t,new Hs);this.sharedNodes.get(t).add(e),e.promote({transition:null===(n=e.options.initialPromotionConfig)||void 0===n?void 0:n.transition,preserveFollowOpacity:null===(i=null===(o=e.options.initialPromotionConfig)||void 0===o?void 0:o.shouldPreserveFollowOpacity)||void 0===i?void 0:i.call(o,e)})}isLead(){const t=this.getStack();return!t||t.lead===this}getLead(){var t;const{layoutId:e}=this.options;return e&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;const{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}getStack(){const{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:n}={}){const o=this.getStack();o&&o.promote(this,n),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){const t=this.getStack();return!!t&&t.relegate(this)}resetRotation(){const{visualElement:t}=this.options;if(!t)return;let e=!1;const n={};for(let o=0;o<Ys.length;o++){const i="rotate"+Ys[o];t.getStaticValue(i)&&(e=!0,n[i]=t.getStaticValue(i),t.setStaticValue(i,0))}if(e){null==t||t.syncRender();for(const e in n)t.setStaticValue(e,n[e]);t.scheduleRender()}}getProjectionStyles(t={}){var e,n,o;const i={};if(!this.instance||this.isSVG)return i;if(!this.isVisible)return{visibility:"hidden"};i.visibility="";const r=null===(e=this.options.visualElement)||void 0===e?void 0:e.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,i.opacity="",i.pointerEvents=xn(t.pointerEvents)||"",i.transform=r?r(this.latestValues,""):"none",i;const a=this.getLead();if(!this.projectionDelta||!this.layout||!a.target){const e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=xn(t.pointerEvents)||""),this.hasProjected&&!Ia(this.latestValues)&&(e.transform=r?r({},""):"none",this.hasProjected=!1),e}const s=a.animationValues||a.latestValues;this.applyTransformsToTarget(),i.transform=zs(this.projectionDeltaWithTransform,this.treeScale,s),r&&(i.transform=r(s,i.transform));const{x:l,y:c}=this.projectionDelta;i.transformOrigin=`${100*l.origin}% ${100*c.origin}% 0`,a.animationValues?i.opacity=a===this?null!==(o=null!==(n=s.opacity)&&void 0!==n?n:this.latestValues.opacity)&&void 0!==o?o:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:i.opacity=a===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0;for(const u in be){if(void 0===s[u])continue;const{correct:t,applyTo:e}=be[u],n=t(s[u],a);if(e){const t=e.length;for(let o=0;o<t;o++)i[e[o]]=n}else i[u]=n}return this.options.layoutId&&(i.pointerEvents=a===this?xn(t.pointerEvents)||"":"none"),i}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}
1resetTree(){this.root.nodes.forEach(t=>{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(Qs),this.root.sharedNodes.clear()}}}function qs(t){t.updateLayout()}function Ks(t){var e,n,o;const i=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&i&&t.hasListeners("didUpdate")){const{actual:e,measured:n}=t.layout;"size"===t.options.animationType?wa(t=>{const n=i.isShared?i.measured[t]:i.layout[t],o=ua(n);n.min=e[t].min,n.max=n.min+o}):"position"===t.options.animationType&&wa(t=>{const n=i.isShared?i.measured[t]:i.layout[t],o=ua(e[t]);n.max=n.min+o});const o={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};ma(o,e,i.layout);const r={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};i.isShared?ma(r,t.applyTransform(n,!0),i.measured):ma(r,e,i.layout);const a=!Us(o);let s=!1;if(!t.resumeFrom&&(t.relativeParent=t.getClosestProjectingParent(),t.relativeParent&&!t.relativeParent.resumeFrom)){const{snapshot:n,layout:o}=t.relativeParent;if(n&&o){const t={x:{min:0,max:0},y:{min:0,max:0}};ga(t,i.layout,n.layout);const r={x:{min:0,max:0},y:{min:0,max:0}};ga(r,e,o.actual),Ns(t,r)||(s=!0)}}t.notifyListeners("didUpdate",{layout:e,snapshot:i,delta:r,layoutDelta:o,hasLayoutChanged:a,hasRelativeTargetChanged:s})}else t.isLead()&&(null===(o=(n=t.options).onExitComplete)||void 0===o||o.call(n));t.options.transition=void 0}function Xs(t){t.clearSnapshot()}function Qs(t){t.clearMeasurements()}function Zs(t){const{visualElement:e}=t.options;(null==e?void 0:e.getProps().onBeforeLayoutMeasure)&&e.notifyBeforeLayoutMeasure(),t.resetTransform()}function Js(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0}function tl(t){t.resolveTargetDelta()}function el(t){t.calcProjection()}function nl(t){t.resetRotation()}function ol(t){t.removeLeadSnapshot()}function il(t,e,n){t.translate=Eo(e.translate,0,n),t.scale=Eo(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function rl(t,e,n,o){t.min=Eo(e.min,n.min,o),t.max=Eo(e.max,n.max,o)}function al(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}const sl={duration:.45,ease:[.4,0,.1,1]};function ll(t,e){let n=t.root;for(let i=t.path.length-1;i>=0;i--)if(Boolean(t.path[i].instance)){n=t.path[i];break}const o=(n&&n!==t.root?n.instance:document).querySelector(`[data-
1projection-id="${e}"]`);o&&t.mount(o,!0)}function cl(t){t.min=Math.round(t.min),t.max=Math.round(t.max)}function ul(t){cl(t.x),cl(t.y)}const dl=Gs({attachResizeListener:(t,e)=>Pn(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),pl={current:void 0},ml=Gs({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!pl.current){const t=new dl(0,{});t.mount(window),t.setOptions({layoutScroll:!0}),pl.current=t}return pl.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>Boolean("fixed"===window.getComputedStyle(t).position)}),hl={...Zr,...io,...Ha,...ws},fl=ye((t,e)=>function(t,{forwardMotionProps:e=!1},n,o,i){return{...xe(t)?Cn:wn,preloadedFeatures:n,useRender:cn(e),createVisualElement:o,projectionNodeConstructor:i,Component:t}}(t,e,hl,gs,ml));var gl=o(9726);const yl="42px",vl=(0,c.I4)("div",()=>({position:"absolute",left:"16px",top:"calc(50% - 16px)",width:yl,height:yl,borderRadius:yl,backgroundColor:"rgba(210,210,215,.64)",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center"})),xl=(0,c.I4)("div",()=>({position:"absolute",right:"16px",cursor:"pointer",top:"calc(50% - 16px)",width:yl,height:yl,borderRadius:yl,backgroundColor:"rgba(210,210,215,.64)",display:"flex",alignItems:"center",justifyContent:"center"})),bl=(0,c.I4)("div",()=>({width:"200px",position:"absolute",bottom:"16px",left:"calc(50% - 100px)",display:"flex",flexDirection:"row",justifyContent:"center"})),El=(0,c.I4)("div",({$isActive:t})=>({margin:"4px",width:"10px",height:"10px",borderRadius:"5px",backgroundColor:"black",opacity:t?.3:.1,transition:"opacity 500ms ease"})),Cl=(0,c.I4)("div",()=>({position:"relative",width:"100%",height:"100%",touchAction:"pan-y"})),wl=(0,c.I4)("div",()=>({position:"absolute",top:"16px",left:"16px",maxWidth:"300px"})),Sl=(0,c.I4)("b",()=>({fontSize:"14px"})),Pl=(0,c.I4)("p",()=>({fontSize:"14px"}));var Al=function({activeSection:t,images:e,imageCarouselState:n,setImageCarouselState:o}){var r,a;const[u]=(0,c.c6)(),d=n[t],m=e=>{o({...n,[t]:n[t]+e})},h=(0,gl.K)({onSwipeLeft:()=>e&&d<e.length-1&&m(1),onSwipeRight:()=>d>0&&m(-1)});if(!e)return null;const f=e[d],g=f.description.length>10,[y,v]=g?f.description.split("."):[void 0,void 0],x=void 0!==y&&void 0!==v,b=`${t}.${d}`,E=null==f||null===(r=f.gatsbyImageData)||void 0===r||null===(a=r.images.fallback)||void 0===a?void 0:a.src.includes(".png");return i.createElement(Cl,{onClickCapture:h.onClickCapture,onDragStart:h.onDragStart,onPointerCancel:h.onPointerCancel,onPointerDown:h.onPointerDown,onPointerUp:h.onPointerUp},i.createElement(fl.div,{key:b,animate:{opacity:1},initial:{opacity:0}
1,exit:{opacity:0},transition:{duration:1},style:{width:"100%",height:"100%"}},x?i.createElement(wl,null,i.createElement(Sl,null,y,"."),i.createElement(Pl,null,v,".")):null,i.createElement(p.G,{image:f.gatsbyImageData,alt:f.gatsbyImageData.images.fallback.src,className:u({width:"100%",height:"100%"}),imgStyle:{objectFit:E?"contain":"cover"}})),d>0?i.createElement(vl,{onClick:()=>m(-1)},i.createElement(s(),{path:l.LyG,size:2,color:"rgba(0,0,0,.56)"})):null,d<e.length-1?i.createElement(xl,{onClick:()=>m(1)},i.createElement(s(),{path:l.mI8,size:2,color:"rgba(0,0,0,.56)"})):null,e.length>1?i.createElement(bl,null,e.map((t,e)=>i.createElement(El,{key:t.gatsbyImageData.images.fallback.src,$isActive:e===d}))):null)},Il=o(5954);const Tl=(0,c.I4)("div",({$theme:t})=>({display:"flex",flexDirection:"column",width:"100%",margin:"0 0 24px 0",[t.mediaQuery.small]:{margin:"0 0 8px 0"}})),kl=(0,c.I4)("div",({$isHighlighted:t,$theme:e,$disableHoverEffect:n})=>({flexDirection:"column",cursor:n?"auto":"pointer",boxSizing:"border-box",borderRadius:"8px",border:t?`2px solid ${e.colors.accent}`:"2px solid rgba(0,0,0,0.2)",":hover":{border:n?"2px solid rgba(0,0,0,0.2)":t?`2px solid ${e.colors.accent}`:"2px solid rgba(0,0,0,0.4)"}})),Dl=(0,c.I4)("div",({$theme:t})=>({display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",padding:"16px",minHeight:"100px",width:"100%",[t.mediaQuery.small]:{minHeight:0}})),Rl=(0,c.I4)("div",()=>({display:"flex",flexDirection:"column",flex:1})),Ol=(0,c.I4)("h4",()=>({margin:0})),Vl=(0,c.I4)("p",()=>({margin:"8px 0 0 0",fontSize:"14px"})),Ml=(0,c.I4)("div",()=>({display:"flex",flexDirection:"column",width:"120px",alignItems:"center",justifyContent:"center"})),Ll=(0,c.I4)("h3",()=>({margin:0})),jl=(0,c.I4)("p",()=>({margin:"8px 0",fontSize:"14px"})),Bl=(0,c.I4)("div",()=>({margin:"16px 24px 0px 24px"})),Fl=(0,c.I4)("div",()=>({margin:"0px 24px 32px 24px"})),$l=(0,c.I4)("div",()=>({border:"2px solid rgba(0,0,0,0.2)",borderRadius:"8px",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",padding:"16px",margin:"8px 0"})),Ul=(0,c.I4)("p",()=>({fontSize:"14px",margin:"0 0 12px 0",fontWeight:700})),Nl=(0,c.I4)("div",()=>({display:"flex",flexDirection:"row",alignItems:"center"})),Hl=(0,c.I4)("h3",()=>({margin:0,textAlign:"center",width:"40px"})),zl=(0,c.I4)("div",({$isAtMaxCount:t})=>({cursor:t?"auto":"pointer",height:"26px",opacity:t?.3:1})),_l=(0,c.I4)("li",()=>({fontSize:"13px",margin:"1px 8px"})),Wl=(0,c.I4)("div",()=>({display:"flex",flexDirection:"column"})),Yl=(0,c.I4)("div",()=>({width:"100%",paddingTop:"16px",borderTop:"2px solid rgba(0,0,0,0.2)"})),Gl=(0,c.I4)("div",()=>({marginTop:"8px"})),ql=(0,c.I4)("div",()=>({display:"flex",alignItems:"center",gap:"12px"})),Kl=(0,c.I4)("p",({$theme:t})=>({margin:0,fontSize:"14px",color:t.colors.contentSecondary})),Xl=t=>({padding:"8px 14px",margin:"4px 0",color:t.colors.white,background:t.colors.accent,fontWeight:600,borderRadius:"4px",":hover":{background:_t()(t.colors.accent).lighten(.1).toString()}}),Ql={renderNode:{[u.BLOCKS.LIST_ITEM]:(t,e)=>i.createElement(_l,null,e)}},Zl=(t,e,n)=>{n(t,e)};function Jl({data:t,onElementPress:e,onCountChangePress:n,onContinuePress:o,parentType:r,maxSelectionsAvailable:a,shippingSubtitle:c}){const u=t.selectedAmount>=a;return i.createElement(Tl,null,i.createElement(kl,{$disableHoverEffect:"no-options"===r,$isHighlighted:t.isHighlighted,onClick:()=>e(t.id)},i.createElement(Dl,null,i.createElement(Rl,null,i.createElement(Ol,null,t.title),i.createElement(Vl,null,t.description)),t.unitPrice?i.createElement(Ml,null,i.createElement(Ll,null,t.unitPrice),i.createElement(jl,null,t.unitDenominator)):null),t.richTextDescription?i.createElement(Yl,null,(0,d.C)(t.richTextDescription,Ql)):null),t.isHighlighted&&t.countPrompt?i.createElement(Bl,null,i.createElement(Ul,null,t.countPrompt),i.createElement($l,null,i.createElement(Ol,null,t.title),i.createElement(Nl,null,i.createElement(zl,{onClick:()=>Zl(t.id,-1,n)},i.createElement(s(),{size:1,path:l.xkN})),i.createElement(Hl,null,t.selectedAmount),i.createElement(zl,{$isAtMaxCount:u,onClick:()=>Zl(t.id,1,n)},i.createElement(s(),{size:1,path:l.Bp_})))),i.createElement(ql,null,i.createElement(Il.A,{onClick:o,overrides:{BaseButton:{style:({$theme:t})=>Xl(t)}}},t.continue),c?i.createElement(Kl,null,c):null)):null,i.createElement(Gl,null,"no-options"===r?i.createElement(ql,null,i.createElement(Il.A,{onClick:o,overrides:{BaseButton:{style:({$theme:t})=>Xl(t)}}},t.continue),c?i.createElement(Kl,null,c):null):null))}function tc({data:t,onElementPress:e,onCountChangePress:n,onContinuePress:o,parentType:r,maxSelectionsAvailable:a,shippingSubtitle:c}){if(t.length<2)return null;const u=t.some(t=>t.isHighlighted),d=t[0];return i.createElement(Wl,null,i.createElement(Tl,null,i.createElement(kl,{$disableHoverEffect:"no-options"===r,$isHighlighted:u,onClick:()=>e(d.id)},i.createElement(Dl,null,i.createElement(Rl,null,i.createElement(Ol,null,d.title),i.createElement(Vl,null,d.description)),d.unitPrice?i.createElement(Ml,null,i.createElement(Ll,null,d.unitPrice),i.createElement(jl,null,d.unitDenominator)):null))),u?i.createElement(Fl,null,i.createElement(Ul,null,d.countPrompt),t.map(t=>i.createElement($l,{key:t.id},i.createElement(Ol,null,t.multiSelectionSubtitle),i.createElement(Nl,null,i.createElement(zl,{onClick:()=>Zl(t.id,-1,n)},i.createElement(s(),{size:1,path:l.xkN})),i.createElement(Hl,null,t.selectedAmount),i.createElement(zl,{$isAtMaxCount:t.selectedAmount>=a,onClick:()=>Zl(t.id,1,n)},i.createElement(s(),{size:1,path:l.Bp_}))))),i.createElement(ql,null,i.createElement(Il.A,{onClick:o,overrides:{BaseButton:{style:({$theme:t})=>Xl(t)}}},d.continue),c?i.createElement(Kl,null,c):null)):null)}const ec=(0,c.I4)("div",({$theme:t})=>({display:"flex",flexDirection:"column",width:"440px",justifyContent:"center",height:"inherit",margin:"64px 16px",[t.mediaQuery.medium]:{width:"360px"},[t.mediaQuery.small]:{width:"calc(100% - 32px)",margin:"16px 16px 56px 16px"}})),nc=(0,c.I4)("div",({$theme:t})=>({marginTop:"calc(-124px + 15vh)",paddingTop:"64px",[t.mediaQuery.small]:{marginTop:"-64px"}})),oc=(0,c.I4)("b",({$theme:t})=>({fontWeight:700,fontSize:"22px",color:t.colors.black,[t.mediaQuery.small]:{fontSize:"20px"}})),ic=(0,c.I4)("h2",({$theme:t,$hasMetaRow:e})=>({fontWeight:600,fontSize:"22px",color:_t()(t.colors.black).alpha(.6).toString(),marginTop:0,marginBottom:e?"8px":"16px",[t.mediaQuery.small]:{fontSize:"20px",marginBottom:e?"4px":"8px"}})),rc=(0,c.I4)("div",()=>({backgroundColor:"#F7F7F7",borderRadius:"8px",padding:"8px 16px 16px 16px",cursor:"pointer",position:"relative"})),ac=(0,c.I4)("div",()=>({position:"absolute",top:"14px",right:"14px"})),sc=(0,c.I4)("b",({$theme:t})=>({fontSize:"14px",fontWeight:700,[t.mediaQuery.small]:{fontSize:"13px"}})),lc=(0,c.I4)("p",({$theme:t})=>({fontSize:"14px",margin:"12px 0 0 0",[t.mediaQuery.small]:{fontSize:"13px"}})),cc=(0,c.I4)("div",({$theme:t})=>
1({height:"70vw",minHeight:"400px",width:"100%",margin:"0 0 16px 0",overflow:"hidden",backgroundColor:Ut,borderRadius:"32px",display:"none",[t.mediaQuery.small]:{display:"block"}})),uc=(0,c.I4)("div",{alignItems:"center",cursor:"pointer",display:"flex",fontSize:"14px",gap:"16px",margin:"0 0 16px 0",padding:0}),dc=(0,c.I4)("span",{fontSize:"14px"}),pc={renderMark:{[u.MARKS.BOLD]:t=>i.createElement(oc,null,t)},renderNode:{[u.BLOCKS.PARAGRAPH]:(t,e)=>i.createElement(ic,null,e)}},mc={renderMark:{[u.MARKS.BOLD]:t=>i.createElement(sc,null,t)},renderNode:{[u.BLOCKS.PARAGRAPH]:(t,e)=>i.createElement(lc,null,e)}};var hc=function({data:t,onElementPress:e,onCountChangePress:n,onContinueToNextSectionPress:o,onDidEnterView:r,sectionInView:a,imageCarouselState:c,setImageCarouselState:p,onHelpSectionClick:m,maxSelectionsAvailable:h,averageRating:f,totalReviews:g,ratingSummaryText:y,shippingEstimate:v}){const x=t.elements.filter(t=>Boolean(t.multiSelectionSubtitle)),b=t.elements.filter(t=>!t.multiSelectionSubtitle),{title:E,helperText:C,type:w}=t,S=(t=>{if(t&&!(t.maximum&&t.maximum.value<12))return"This product is currently experiencing shipping delays due to high demand."})(v);return i.createElement(nc,{id:t.id},i.createElement(ec,null,i.createElement(Ht(),{onChange:e=>{e&&t.id!==a&&r(t.id)},resizeCheck:!0,intervalCheck:!0,offset:{bottom:200,top:100}},i.createElement("div",null,(0,d.C)(E,{...pc,renderNode:{[u.BLOCKS.PARAGRAPH]:(e,n)=>i.createElement(ic,{$hasMetaRow:"boat-integration"===t.id||"display"===t.id},n)}}))),("boat-integration"===t.id||"display"===t.id)&&"number"==typeof f&&"number"==typeof g&&i.createElement(uc,{onClick:()=>{const t=document.getElementById("customer-reviews-product-config");t&&t.scrollIntoView({behavior:"smooth",block:"start"})},role:"button"},i.createElement(Wt.A,{rating:f}),i.createElement(dc,null,f," (",g," ",y,")")),i.createElement(cc,null,i.createElement(Al,{activeSection:t.id,images:t.images,imageCarouselState:c,setImageCarouselState:p})),i.createElement(tc,{maxSelectionsAvailable:h,data:x,onElementPress:e,onCountChangePress:n,onContinuePress:()=>o(t.id,x[0].id),parentType:t.type,shippingSubtitle:S}),b.map(r=>i.createElement(Jl,{key:r.id,data:r,onElementPress:e,onCountChangePress:n,onContinuePress:()=>o(t.id,r.id),parentType:w,maxSelectionsAvailable:h,shippingSubtitle:S})),C?i.createElement(rc,{onClick:()=>m(t.id)},(0,d.C)(C,mc),i.createElement(ac,null,i.createElement(s(),{path:l.Bp_,size:.8}))):null))},fc=o(5129),gc=o(3024),yc=o(3982);const vc=(0,c.I4)("div",({$theme:t})=>({width:"100%",marginTop:"calc(-124px + 25vh)",padding:"32px 16px 68px 16px",backgroundColor:Ut,[t.mediaQuery.small]:{marginTop:0}})),xc=(0,c.I4)("div",({$theme:t})=>({display:"flex",flexDirection:"row",maxWidth:"900px",justifyContent:"space-between",margin:"0 auto",[t.mediaQuery.small]:{flexDirection:"column-reverse"}})),bc=(0,c.I4)("div",()=>({display:"flex",flexDirection:"column"})),Ec=(0,c.I4)("div",()=>({marginTop:"24px",display:"flex",flexDirection:"row",alignItems:"center"})),Cc=(0,c.I4)("p",()=>({fontWeight:700,fontSize:"16px",margin:"0 0 0 16px"})),wc=(0,c.I4)("p",()=>({margin:"4px 0 0 43px",fontSize:"16px"})),Sc=(0,c.I4)("p",({$theme:t})=>({textDecoration:"underline",cursor:"pointer",fontWeight:600,color:t.colors.accent,margin:"8px 0 0 43px",fontSize:"16px"})),Pc=(0,c.I4)("div",()=>({display:"flex",flexDirection:"column",marginTop:"24px",minWidth:"340px"})),Ac=(0,c.I4)("p",()=>({fontSize:"34px",fontWeight:600,margin:"8px 0 8px 0"})),Ic=(0,c.I4)("p",()=>({fontSize:"16px"})),Tc=(0,c.I4)("p",({$theme:t})=>({color:t.colors.jumpRed400,fontSize:"14px",margin:"16px 0"})),kc=t=>{switch(t){case"truck":return l.cR2;case"heart":return l.ZAF;default:return l.OuG}};var Dc=function({state:t,gatsbyConfiguratorContent:e,onChangeDestinationClick:n,onCheckoutClick:o,contentfulStoreTextGeneric:r,isLoading:a,errorMessage:l,email:c,onEmailChange:u,inputRef:d}){var p,m,h,f,g,y,v,x;const{warrantyAndDeliveryInfo:b,vatAndShippingIncluded:E}=e,C=null==b||null===(p=b.delivery)||void 0===p?void 0:p.icon,w=null==b||null===(m=b.satisfaction)||void 0===m?void 0:m.icon,S=null==b||null===(h=b.warranty)||void 0===h?void 0:h.icon,P=null==b||null===(f=b.delivery)||void 0===f||null===(g=f.title)||void 0===g?void 0:g.replace("{{country}}",t.shippingCountry),A=null==b||null===(y=b.satisfaction)||void 0===y?void 0:y.title,I=null==b||null===(v=b.satisfaction)||void 0===v?void 0:v.subt
1itle,T=null==b||null===(x=b.warranty)||void 0===x?void 0:x.title,k=a?i.createElement(yc.x,null):e.continue;return i.createElement(vc,null,i.createElement(xc,null,i.createElement(bc,null,i.createElement(Ec,null,i.createElement(s(),{size:1,path:kc(C)}),i.createElement(Cc,null,P)),i.createElement(wc,null,t.stockLevel),i.createElement(wc,null,t.deliveryEstimate),i.createElement(Sc,{onClick:n},e.changeShippingDestination),i.createElement(Ec,null,i.createElement(s(),{size:1,path:kc(w)}),i.createElement(Cc,null,A)),i.createElement(wc,null,I),i.createElement(Ec,null,i.createElement(s(),{size:1,path:kc(S)}),i.createElement(Cc,null,T))),i.createElement(Pc,null,i.createElement(fc.A,{value:c||"",onChange:t=>u(t.target.value),size:gc.SK.large,inputRef:d,autoComplete:"email",type:"email",placeholder:r.email,clearOnEscape:!0,overrides:{Root:{style:()=>({marginBottom:"16px"})},Input:{style:({$theme:t})=>({backgroundColor:t.colors.white})}}}),i.createElement(Il.A,{onClick:o,overrides:{BaseButton:{style:({$theme:t})=>(t=>({height:"54px",width:"220px",margin:"4px 0",color:t.colors.white,background:t.colors.accent,fontSize:"22px",fontWeight:600,borderRadius:"4px",":hover":{background:_t()(t.colors.accent).lighten(.1).toString()}}))(t)}}},k),l?i.createElement(Tc,null,`${l}`):null,i.createElement(Ac,null,t.totalAmountString),i.createElement(Ic,null,E))))};const Rc=200,Oc=(0,c.I4)("h1",({$theme:t})=>({maxWidth:"1400px",width:"calc(100% - 64px)",margin:"86px auto 64px auto",fontSize:"44px",fontWeight:700,[t.mediaQuery.small]:{width:"calc(100% - 32px)",margin:"86px 16px 46px 16px",fontSize:"32px"}})),Vc=(0,c.I4)("div",()=>({display:"flex",flexDirection:"row",width:"100%",margin:"48px auto",maxWidth:"1400px"})),Mc=(0,c.I4)("div",({$theme:t})=>({display:"flex",flexDirection:"column",flex:1,[t.mediaQuery.small]:{display:"none"}})),Lc=(0,c.I4)("div",()=>({top:"calc(8vh + 60px)",position:"sticky",display:"flex",backgroundColor:Ut,overflow:"hidden",borderRadius:"32px",height:"calc(90vh - 80px)",maxHeight:"800px",margin:"16px"})),jc=(0,c.I4)("div",({$theme:t})=>({position:"absolute",right:"16px",top:"16px",backgroundColor:t.colors.backgroundTertiary,width:"34px",height:"34px",display:"flex",alignItems:"center",justifyContent:"center",margin:0,borderRadius:"99px",zIndex:99,cursor:"pointer"})),Bc=(0,c.I4)("div",({$theme:t})=>({padding:"64px 32px",backgroundColor:t.colors.white,overflowX:"scroll",height:"100%",[t.mediaQuery.small]:{padding:"64px 32px"}})),Fc=(0,c.I4)("p",()=>({fontSize:"14px"})),$c=(0,c.I4)(r.Link,({$theme:t})=>({color:t.colors.primary,textDecoration:"underline",fontWeight:700,margin:"2px 0"})),Uc=(0,c.I4)("a",({$theme:t})=>({color:t.colors.primary,textDecoration:"underline",fontWeight:700,margin:"2px 0"})),Nc=(0,c.I4)("div",()=>({width:"90%",maxWidth:"500px",margin:"32px auto"})),Hc={"boat-integration":0,display:0,mount:0,subscription:0,"to-checkout":0},zc={isOpen:!1,content:void 0},_c={renderNode:{[u.BLOCKS.PARAGRAPH]:(t,e)=>Array.isArray(e)&&e[0]&&e[0].props&&e[0].props.isvideo?i.createElement("div",null,e):i.createElement(Fc,null,e),[u.INLINES.HYPERLINK]:(t,e)=>t.data.uri.includes("mailto")||t.data.uri.includes("http")?i.createElement(Uc,{target:"_blank",href:t.data.uri},e):i.createElement($c,{target:"_blank",to:t.data.uri},e),[u.BLOCKS.EMBEDDED_ASSET]:t=>{const{gatsbyImageData:e,description:n}=t.data.target;return i.createElement(Nc,null,i.createElement(p.G,{alt:n,image:e,style:{width:"100%",height:"100%"},imgStyle:{objectFit:"contain"}}))}}};var Wc=function({location:t}){const e=(0,r.useStaticQuery)("807238315"),{allStripePrice:n,contentfulProductConfigurator:o,allContentfulProductElement:a,contentfulStoreTextGeneric:u,allUserProductReview:p,contentfulMagazineReviewsAndCustomerReviews:m}=e,x=p.nodes,b=x.filter(t=>{var e;return null===(e=t.productsUsed)||void 0===e?void 0:e.includes("Orca Core")}),E=x.filter(t=>{var e;return null===(e=t.productsUsed)||void 0===e?void 0:e.includes("Orca Display")}),C=t=>t.length?Math.round(t.reduce((t,e)=>t+e.overallRating,0)/t.length*2)/2:0,w=C(b),S=C(E),{ratingSummaryText:P}=m,A=(0,ft.c)();(0,i.useEffect)(()=>{const t=A.history[A.history.length-2];wt({type:"page_view",previousPath:t})},[]);const I=(0,i.useRef)(null),[T,k]=(0,c.c6)(),{0:D,1:R}=(0,i.useState)(zc),[O]=(0,St.yJ)(),{0:V,1:M}=(0,i.useState)(Hc),{0:L,1:j}=(0,i.useState)("display"),B=O||gt.oH,[F,$]=(0,St.Xm)(),{0:U,1:N}=(0,i.useState)(),H=(0,i.useMemo)(()=>(t=>({content:{position:"absolute",top:"50%",left:"50%",backgroundColor:t.colors.backgroundTertiary,maxWidth:"700px",height:"calc(80vh - 20px)",maxHeight:"600px",width:"95vw",marginRight:"-50%",padding:0,borderRadius:"16px",border:0,outline:"none",overflow:"auto"},overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(0,0,0,0.5)",zIndex:97}}))(k),[k]),z=(0,i.useMemo)(()=>
1({content:{base:T({opacity:0,transform:"translate(-50%, -50%) scale(0.97)",transition:"opacity 200ms ease, transform 200ms ease"}),afterOpen:T({opacity:1,transform:"translate(-50%, -50%) scale(1)"}),beforeClose:T({opacity:0,transform:"translate(-50%, -50%) scale(0.97)"})},overlay:{base:T({opacity:0,transition:"opacity 200ms ease"}),afterOpen:T({opacity:1}),beforeClose:T({opacity:0})}}),[T]),{selectionState:_,isCouponActive:W,isCouponLoading:Y,checkoutState:G,onElementPress:q,onCountChangePress:K,onOrderPress:X,onEmailChange:Q,onChangeDestinationClick:Z,errorMessage:J,isLoading:tt,maxSelectionsAvailable:et,regionChange:nt}=$t({search:t.search,configurationData:F,setConfigurationData:$,contentfulProductConfiguratorV2:o,allContentfulProductV2:a,storeCountryWithFallback:B,contentfulStoreTextGeneric:u,allStripePrice:n,inputRef:I,shippingEstimates:U}),ot=async()=>{var t;const e=null==B||null===(t=B[0])||void 0===t?void 0:t.currency;if(!e)return;const n=await(async t=>{try{return await(0,At.kL)({currency:t})}catch(e){return void(0,f.Cp)(e)}})(e);if(!n)return;const o=((t,e)=>{var n,o;const i=null==e||null===(n=e[0])||void 0===n?void 0:n.region;if(!t||!i)return{};const r=null===(o=t.countries)||void 0===o?void 0:o[i];return r?Object.entries(vt.xq).reduce((t,[e,n])=>{const o=r[n];return o&&(t[e]=o),t},{}):{}})(n,B);N(o)};(0,i.useEffect)(()=>{ot()},[B]);const it=t=>{const e=t.elements.find(t=>kt(t.id));if(e)return null==U?void 0:U[e.id]},rt=(t,e)=>{if(!window)return;kt(e)&&wt({type:"cart_continued",productId:e});const n=_.find(t=>"subscription"===t.id),o=()=>{var t;null===(t=I.current)||void 0===t||t.focus()};switch(t){case"boat-integration":window.location.hash="",j("display"),window.location.hash="#display";break;case"display":window.location.hash="",j("mount"),window.location.hash="#mount";break;case"mount":{const t=n?"subscription":"to-checkout";j(t),"to-checkout"===t?o():(window.location.hash="",window.location.hash=`#${t}`);break}case"subscription":o()}},at=t=>{switch(q(t),t){case"no-core":rt("boat-integration",t);break;case"no-display":rt("display",t);break;case"no-mount":rt("mount",t)}},st=((t,e)=>(e.find(e=>e.id===t)||e[0]).images)(L,_),lt=()=>{R({content:D.content,isOpen:!1})},ct=t=>{let e;switch(t){case"display":e=o.displayExtendedHelp;break;case"boat-integration":e=o.boatIntegrationExtendedHelp;break;default:e=o.mountExtendedHelp}R({content:e,isOpen:!0})};return i.createElement(g.A,{isStorePage:!0,isFullWidth:!0,hideNavigationButtons:!0,priceString:G.totalAmount>0?G.totalAmountString:void 0,generic:u,regionChangeTrigger:nt,subMenuTitle:u.orcaSystem,isCouponActive:W,isCouponLoading:Y},i.createElement(y.A,{title:o.buyOrca}),i.createElement(Oc,null,o.buyOrca),i.createElement(Vc,null,i.createElement(Mc,null,i.createElement(Lc,null,i.createElement(Al,{images:st,activeSection:L,imageCarouselState:V,setImageCarouselState:M}))),i.createElement("div",null,_.map(t=>i.createElement(hc,{onElementPress:at,onCountChangePress:K,onContinueToNextSectionPress:rt,onDidEnterView:j,sectionInView:L,data:t,key:t.id,maxSelectionsAvailable:et,imageCarouselState:V,setImageCarouselState:M,onHelpSectionClick:ct,averageRating:"boat-integration"===t.id?w:"display"===t.id?S:void 0,totalReviews:"boat-integration"===t.id?b.length:"display"===t.id?E.length:void 0,ratingSummaryText:P,shippingEstimate:it(t)})))),i.createElement(Dc,{state:G,isLoading:tt,gatsbyConfiguratorContent:o,onChangeDestinationClick:Z,contentfulStoreTextGeneric:u,onCheckoutClick:X,errorMessage:J,email:F.email,onEmailChange:Q,inputRef:I}),i.createElement("div",{id:"customer-reviews-product-config"},i.createElement(v.Ay,{heading:"All Customer Reviews & Ratings"})),i.createElement(ht,{id:"faq"}),i.createElement(h(),{isOpen:D.isOpen,style:H,className:z.content,overlayClassName:z.overlay,closeTimeoutMS:Rc,onRequestClose:lt},i.createElement(jc,{onClick:lt},i.createElement(s(),{path:l.hyP,size:1,color:k.colors.primary})),i.createElement(Bc,null,D.content?(0,d.C)(D.content,_c):null)))},Yc=Wc},7958:function(t){function e(t){return Array.isArray(t)||"[object Object]"=={}.toString.call(t)}function n(t){return!t||"object"!=typeof t&&"function"!=typeof t}t.exports=function t(){var o=[].slice.call(arguments),i=!1;"boolean"==typeof o[0]&&(i=o.shift());var r=o[0];if(n(r))throw new Error("extendee must be an object");for(var a=o.slice(1),s=a.length,l=0;l<s;l++){var c=a[l];for(var u in c)if(Object.prototype.hasOwnProperty.call(c,u)){var d=c[u];if(i&&e(d)){var p=Array.isArray(d)?[]:{};r[u]=t(!0,Object.prototype.hasOwnProperty.call(r,u)&&!n(r[u])?r[u]:p,d)}else r[u]=d}}return r}}}]); 2//# sourceMappingURL=component---src-pages-product-configuration-tsx-0020221f89dddd9ecefa.js.map
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.