{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/UIrMjSS6ZX89L0CsT8k6/l0YNWo5RXtJCEhIkKpL5/Carousel.js", "ssg:https://framerusercontent.com/modules/B2xAlJLcN0gOnt11mSPw/FzZ67ct97QwFne6Bf7ku/Ticker.js"],
  "sourcesContent": ["import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { Children, useCallback, useLayoutEffect, useEffect, useState, useRef, cloneElement } from \"react\";\nimport { addPropertyControls, ControlType, RenderTarget } from \"framer\";\nimport { scroll, resize } from \"@motionone/dom\";\nimport { clamp, progress } from \"@motionone/utils\";\nimport { animate, motion, useMotionValue, useTransform, useReducedMotion } from \"framer-motion\";\nimport { usePadding, paddingControl } from \"https://framer.com/m/framer/default-utils.js@^0.45.0\"; /**\n                                                                                                   * Calculate the width of the fade mask. Fade width and inset are provided\n                                                                                                   * as percentages. There's a fade on the left and the right, so we return\n                                                                                                   * a maximum of 50%.\n                                                                                                   */\nfunction calcMaskWidth([inset, width]) {\n  return inset + (100 - inset) * (width / 100) * .5;\n} /**\n  * Use media queries to determine if this device uses a mouse as\n  * the primary input.\n  */\nfunction useIsMouse() {\n  const [isMouseDevice, setIsMouseDevice] = useState(false);\n  useLayoutEffect(() => {\n    setIsMouseDevice(window.matchMedia(\"(pointer:fine)\").matches);\n  }, []);\n  return isMouseDevice;\n} /**\n  * This checks a scroll position against the available scrollable\n  * range. If we have hit an edge, start/end, we fade out the pagination\n  * controls and mask. Likewise if we've just moved away from an edge we\n  * fade them back in.\n  */\nfunction checkLimit(progress, target, {\n  edgeOpacity,\n  moreItems,\n  buttonRef\n}, transition) {\n  if (moreItems.current && progress === target) {\n    moreItems.current = false;\n    animate(edgeOpacity, 1, transition);\n    buttonRef.current.setAttribute(\"disabled\", \"\");\n  } else if (!moreItems.current && progress !== target) {\n    moreItems.current = true;\n    animate(edgeOpacity, 0, transition);\n    buttonRef.current.removeAttribute(\"disabled\");\n  }\n}\nfunction useGUI(initialMoreItems, initialAlpha) {\n  const moreItems = useRef(initialMoreItems);\n  const edgeOpacity = useMotionValue(moreItems.current ? 0 : 1);\n  const fadeOpacity = useTransform(edgeOpacity, [0, 1], [initialAlpha || 0, 1]);\n  const buttonOpacity = useTransform(edgeOpacity, v => 1 - v);\n  const buttonRef = useRef(null); /**\n                                  * Returns a pointer-events CSS value for a given opacity.\n                                  * The threshold here is arbitrary, the theory being we\n                                  * should only enable pointer-events when the button is\n                                  * somewhat visible.\n                                  */\n  const pointerEvents = useTransform(buttonOpacity, v => v > .2 ? \"auto\" : \"none\"); /**\n                                                                                    * Returns a cursor CSS value for a given pointer-events value.\n                                                                                    * So only indicate\n                                                                                    */\n  const cursor = useTransform(pointerEvents, v => v === \"auto\" ? \"pointer\" : \"default\");\n  const buttonStyle = {\n    ...baseButtonStyles,\n    opacity: buttonOpacity,\n    pointerEvents,\n    cursor\n  };\n  return {\n    moreItems,\n    fadeOpacity,\n    edgeOpacity,\n    buttonStyle,\n    buttonRef\n  };\n}\nfunction setAriaVisible({\n  element\n}) {\n  element.setAttribute(\"aria-hidden\", false);\n}\nfunction useScrollLimits(container, axis, scrollInfo, updateCurrentScroll, targetScroll, checkLimits, measureItems) {\n  useEffect(() => {\n    if (!container.current) return;\n    const updateScrollInfo = info => {\n      scrollInfo.current = info[axis]; /**\n                                       * If we've reached our target scroll, delete it.\n                                       * This way we know when to make calculations based on the\n                                       * actual current scroll or the target scroll.\n                                       */\n      if (info[axis].current === targetScroll.current) {\n        targetScroll.current = undefined;\n      }\n      updateCurrentScroll(info[axis].current);\n      checkLimits();\n    };\n    const stopScroll = scroll(updateScrollInfo, {\n      container: container.current,\n      axis\n    });\n    const stopResize = resize(container.current, () => {\n      measureItems();\n      checkLimits();\n    });\n    return () => {\n      stopScroll();\n      stopResize();\n    };\n  }, [checkLimits, measureItems]);\n} /**\n  *\n  * @framerIntrinsicWidth 400\n  * @framerIntrinsicHeight 200\n  *\n  * @framerDisableUnlink\n  *\n  * @framerSupportedLayoutWidth any-prefer-fixed\n  * @framerSupportedLayoutHeight any-prefer-fixed\n  */\nexport default function Carousel({\n  slots,\n  gap,\n  axis,\n  align,\n  sizingObject,\n  fadeObject,\n  arrowObject,\n  snapObject,\n  progressObject,\n  ariaLabel,\n  borderRadius,\n  effectsObject,\n  ...props\n}) {\n  const numItems = Children.count(slots);\n  const isCanvas = RenderTarget.current() === RenderTarget.canvas;\n  const padding = usePadding(props);\n  const axisLabel = axis ? \"x\" : \"y\";\n  const {\n    fadeContent,\n    fadeWidth,\n    fadeInset,\n    fadeTransition,\n    fadeAlpha\n  } = fadeObject;\n  const {\n    snap,\n    snapEdge,\n    fluid\n  } = snapObject;\n  const {\n    widthType,\n    widthInset,\n    widthColumns,\n    heightType,\n    heightInset,\n    heightRows\n  } = sizingObject;\n  const {\n    showScrollbar,\n    showProgressDots,\n    dotSize,\n    dotsInset,\n    dotsRadius,\n    dotsPadding,\n    dotsGap,\n    dotsFill,\n    dotsBackground,\n    dotsActiveOpacity,\n    dotsOpacity,\n    dotsBlur\n  } = progressObject;\n  const {\n    showMouseControls,\n    arrowSize,\n    arrowRadius,\n    arrowFill,\n    leftArrow,\n    rightArrow,\n    arrowPadding\n  } = arrowObject; /**\n                   * The latest scroll info on the scrollable axis as reported by Motion One.\n                   */\n  const scrollInfo = useRef(undefined); /**\n                                        * The target scroll we're currently animating to, calculated when\n                                        * a user presses a pagination button.\n                                        */\n  const targetScroll = useRef(undefined); /**\n                                          * If we're performing a scroll animation, return the target scroll instead\n                                          * of the latest scroll position. This will help users paginate through\n                                          * a carousel much quicker.\n                                          */\n  const currentScroll = useMotionValue(0);\n  const updateCurrentScroll = newScroll => {\n    currentScroll.set(targetScroll.current !== undefined ? targetScroll.current : newScroll);\n  }; /**\n     * We only want to display pagination buttons if the user has enabled the setting\n     * and this is actually a mouse device.\n     */\n  const isMouseDevice = useIsMouse(); /**\n                                      * Create all the motion values for the GUI at each end of the carousel.\n                                      */\n  const start = useGUI(false, fadeAlpha);\n  const end = useGUI(true, fadeAlpha);\n  const startMaskInset = useMotionValue(fadeInset * .5);\n  const endMaskInset = useTransform(startMaskInset, v => 100 - v);\n  const baseWidth = useMotionValue(fadeWidth);\n  const startMaskWidth = useTransform([startMaskInset, baseWidth], calcMaskWidth);\n  const endMaskWidth = useTransform(startMaskWidth, v => 100 - v);\n  const direction = useMotionValue(axis ? \"right\" : \"bottom\");\n  const mask = useTransform([direction, start.fadeOpacity, startMaskInset, startMaskWidth, end.fadeOpacity, endMaskInset, endMaskWidth], latest => {\n    return `linear-gradient(to ${latest[0]}, rgb(0, 0, 0, ${latest[1]}) ${latest[2]}%, rgb(0, 0, 0, 1) ${latest[3]}%, rgba(0, 0, 0, 1) ${latest[6]}%, rgb(0, 0, 0, ${latest[4]}) ${latest[5]}%)`;\n  });\n  const carouselRef = useRef(null); /**\n                                    * Dots state\n                                    */\n  const [numPages, setNumPages] = useState(isCanvas ? 4 : 1); /**\n                                                              * Generate styles for components.\n                                                              */\n  const itemStyle = {\n    scrollSnapAlign: snapEdge,\n    flexShrink: 0\n  };\n  const childStyle = {};\n  if (align === \"stretch\") {\n    if (axis) {\n      childStyle.height = \"100%\";\n      itemStyle.height = \"auto\";\n    } else {\n      childStyle.width = \"100%\";\n      itemStyle.width = \"auto\";\n    }\n  }\n  if (!fluid) {\n    itemStyle.scrollSnapStop = \"always\";\n  }\n  if (widthType === \"stretch\") {\n    itemStyle.width = `calc(100% - ${widthInset || 0}px)`;\n    childStyle.width = \"100%\";\n  } else if (widthType === \"columns\") {\n    itemStyle.width = `calc(${100 / widthColumns}% - ${gap}px + ${gap / widthColumns}px)`;\n    childStyle.width = \"100%\";\n  }\n  if (heightType === \"stretch\") {\n    itemStyle.height = `calc(100% - ${heightInset || 0}px)`;\n    childStyle.height = \"100%\";\n  } else if (heightType === \"rows\") {\n    itemStyle.height = `calc(${100 / heightRows}% - ${gap}px + ${gap / heightRows}px)`;\n    childStyle.height = \"100%\";\n  }\n  const scrollOverflow = isCanvas ? \"hidden\" : \"auto\";\n  const containerStyle = {\n    ...baseContainerStyle,\n    padding\n  };\n  const carouselStyle = {\n    ...baseCarouselStyle,\n    gap,\n    alignItems: align,\n    flexDirection: axis ? \"row\" : \"column\",\n    overflowX: axis ? scrollOverflow : \"hidden\",\n    overflowY: axis ? \"hidden\" : scrollOverflow,\n    scrollSnapType: snap ? `${axisLabel} mandatory` : undefined,\n    WebkitOverflowScrolling: \"touch\",\n    WebkitMaskImage: fadeContent ? mask : undefined,\n    MozMaskImage: fadeContent ? mask : undefined,\n    maskImage: fadeContent ? mask : undefined,\n    borderRadius\n  };\n  const carouselA11y = {\n    [\"aria-roledescription\"]: \"carousel\"\n  };\n  if (ariaLabel) {\n    carouselA11y[\"aria-title\"] = ariaLabel;\n  }\n  const itemA11y = {};\n  if (align === \"stretch\") {\n    itemA11y[\"aria-role\"] = \"group\";\n    itemA11y[\"aria-roledescription\"] = \"slide\";\n  }\n  if (!isCanvas) {\n    const itemSizes = useRef([]);\n    useScrollLimits(carouselRef, axisLabel, scrollInfo, updateCurrentScroll, targetScroll, useCallback(() => {\n      if (!scrollInfo.current) return;\n      const {\n        targetLength,\n        containerLength,\n        scrollLength\n      } = scrollInfo.current;\n      const current = currentScroll.get();\n      if (!targetLength && !containerLength) return;\n      if (targetLength > containerLength) {\n        checkLimit(current, 0, start, fadeTransition);\n        checkLimit(current, scrollLength, end, fadeTransition);\n        for (let i = 0; i < itemSizes.current.length; i++) {\n          const {\n            element,\n            start: start1,\n            end: end1\n          } = itemSizes.current[i];\n          if (end1 < current || start1 > current + containerLength) {\n            element.setAttribute(\"aria-hidden\", true);\n          } else {\n            element.setAttribute(\"aria-hidden\", false);\n          }\n        }\n      } else {\n        checkLimit(0, 0, start, fadeTransition);\n        checkLimit(1, 1, end, fadeTransition);\n        itemSizes.current.forEach(setAriaVisible);\n      } // This used to be Math.ceil, which would round 3.05 to 4.\n      // This now uses Math.round to ensure people get a perfect amount of dots\n      // when using Columns or Rows \u2014\u00A0Benjamin\n      /**\n                       * Update by Matt: changing back to ceil, might break dots but round was incorrectly\n                       * paginating for all widths - overshooting items at shorter viewports and\n                       * not paginating at all for wide.\n                       */\n      let newNumPages = Math.ceil(targetLength / containerLength);\n      if (!isNaN(newNumPages)) {\n        // If the number of dots is 65% of the number of items, make it 100%\n        if (newNumPages / numItems > .65) newNumPages = numItems;\n        if (newNumPages !== numPages) setNumPages(newNumPages);\n      }\n    }, [numPages]), useCallback(() => {\n      if (!carouselRef.current) return;\n      itemSizes.current = Array.from(carouselRef.current.children).map(element => {\n        return axis ? {\n          element,\n          start: element.offsetLeft,\n          end: element.offsetLeft + element.offsetWidth\n        } : {\n          element,\n          start: element.offsetTop,\n          end: element.offsetTop + element.offsetHeight\n        };\n      });\n    }, []));\n  } /**\n    * On the canvas, we want to keep the motion values updated\n    * with the latest props. Outside of the canvas these will never\n    * update.\n    */\n  if (isCanvas) {\n    useEffect(() => {\n      baseWidth.set(fadeWidth);\n    }, [fadeWidth]);\n    useEffect(() => {\n      startMaskInset.set(fadeInset * .5);\n    }, [fadeInset]);\n    useEffect(() => {\n      direction.set(axis ? \"right\" : \"bottom\");\n    }, [axis]);\n  }\n  const findNextItem = (delta, target) => {\n    if (!scrollInfo.current) return;\n    const {\n      current\n    } = scrollInfo.current;\n    const {\n      children\n    } = carouselRef.current;\n    let scrollTarget;\n    let i = delta === 1 ? 0 : children.length - 1;\n    while (scrollTarget === undefined) {\n      const item = children[i];\n      const start = axis ? item.offsetLeft : item.offsetTop;\n      const length = axis ? item.offsetWidth : item.offsetHeight;\n      const end = start + length;\n      const threshold = .05;\n      if (delta === 1) {\n        const visibility = progress(start, end, target);\n        if (visibility < 1 - threshold) {\n          scrollTarget = start;\n        } else if (i === children.length - 1) {\n          scrollTarget = end;\n        }\n      } else if (delta === -1) {\n        const visibility1 = progress(start, end, target);\n        if (visibility1 > threshold) {\n          scrollTarget = end;\n        } else if (i === 0) {\n          scrollTarget = start;\n        }\n      }\n      i += delta;\n    }\n    return scrollTarget;\n  };\n  const isReducedMotion = useReducedMotion();\n  const goto = scrollTo => {\n    targetScroll.current = scrollTo;\n    const options = axis ? {\n      left: scrollTo\n    } : {\n      top: scrollTo\n    };\n    carouselRef.current.scrollTo({\n      ...options,\n      behavior: isReducedMotion ? \"auto\" : \"smooth\"\n    });\n  };\n  const gotoPage = page => {\n    if (!scrollInfo.current) return;\n    const {\n      scrollLength\n    } = scrollInfo.current;\n    goto(page * (scrollLength / (numPages - 1)));\n  };\n  const gotoDelta = delta => () => {\n    if (!scrollInfo.current) return;\n    const {\n      containerLength,\n      scrollLength\n    } = scrollInfo.current;\n    const current = currentScroll.get();\n    const pageLength = scrollLength / numPages;\n    const currentPage = clamp(0, numPages - 1, Math.floor(current / pageLength));\n    gotoPage(currentPage + delta);\n  }; /**\n     * Return placeholder if no children\n     */\n  if (numItems === 0) {\n    return /*#__PURE__*/_jsx(Placeholder, {});\n  }\n  const dots = [];\n  const dotsBlurStyle = {};\n  if (numPages > 1 && showProgressDots && !showScrollbar) {\n    for (let i = 0; i < numPages; i++) {\n      const isSelected = isCanvas && !i || false;\n      dots.push( /*#__PURE__*/_jsx(Dot, {\n        dotStyle: {\n          ...dotStyle,\n          width: dotSize,\n          height: dotSize,\n          backgroundColor: dotsFill\n        },\n        buttonStyle: baseButtonStyles,\n        isSelected: isSelected,\n        selectedOpacity: dotsActiveOpacity,\n        opacity: dotsOpacity,\n        onClick: () => gotoPage(i),\n        currentScroll: currentScroll,\n        scrollInfo: scrollInfo,\n        total: numPages,\n        index: i,\n        gap: dotsGap,\n        padding: dotsPadding,\n        axis: axis\n      }));\n    }\n    if (dotsBlur) {\n      dotsBlurStyle.backdropFilter = dotsBlurStyle.WebkitBackdropFilter = dotsBlurStyle.MozBackdropFilter = `blur(${dotsBlur}px)`;\n    }\n  }\n  return /*#__PURE__*/_jsxs(\"section\", {\n    style: containerStyle,\n    ...carouselA11y,\n    children: [/*#__PURE__*/_jsx(motion.ul, {\n      ref: carouselRef,\n      style: carouselStyle,\n      className: \"framer--carousel\",\n      \"data-show-scrollbar\": showScrollbar,\n      \"aria-atomic\": \"false\",\n      \"aria-live\": \"polite\",\n      onWheel: () => targetScroll.current = undefined,\n      children: Children.map(slots, (child, index) => {\n        var ref; /*#__PURE__*/\n        return _jsx(\"li\", {\n          style: itemStyle,\n          ...itemA11y,\n          \"aria-label\": `${index + 1} of ${numItems}`,\n          children: /*#__PURE__*/cloneElement(child, {\n            ...child.props,\n            style: {\n              ...((ref = child.props) === null || ref === void 0 ? void 0 : ref.style),\n              ...childStyle\n            }\n          })\n        });\n      })\n    }), /*#__PURE__*/_jsxs(\"fieldset\", {\n      style: {\n        ...controlsStyles,\n        padding: arrowPadding,\n        display: \"flex\",\n        flexDirection: axis ? \"row\" : \"column\"\n      },\n      \"aria-label\": \"Carousel pagination controls\",\n      className: \"framer--carousel-controls\",\n      \"data-show-mouse-controls\": showMouseControls,\n      children: [/*#__PURE__*/_jsx(motion.button, {\n        ref: start.buttonRef,\n        type: \"button\",\n        style: {\n          ...start.buttonStyle,\n          backgroundColor: arrowFill,\n          width: arrowSize,\n          height: arrowSize,\n          borderRadius: arrowRadius,\n          rotate: !axis ? 90 : 0,\n          display: showMouseControls ? \"block\" : \"none\"\n        },\n        onClick: gotoDelta(-1),\n        \"aria-label\": \"Previous\",\n        whileTap: {\n          scale: .9\n        },\n        transition: {\n          duration: .05\n        },\n        children: /*#__PURE__*/_jsx(\"img\", {\n          width: arrowSize,\n          height: arrowSize,\n          src: leftArrow || \"https://framerusercontent.com/images/6tTbkXggWgQCAJ4DO2QEdXXmgM.svg\"\n        })\n      }), /*#__PURE__*/_jsx(motion.button, {\n        ref: end.buttonRef,\n        type: \"button\",\n        style: {\n          ...end.buttonStyle,\n          backgroundColor: arrowFill,\n          width: arrowSize,\n          height: arrowSize,\n          borderRadius: arrowRadius,\n          rotate: !axis ? 90 : 0,\n          display: showMouseControls ? \"block\" : \"none\"\n        },\n        onClick: gotoDelta(1),\n        \"aria-label\": \"Next\",\n        whileTap: {\n          scale: .9\n        },\n        transition: {\n          duration: .05\n        },\n        children: /*#__PURE__*/_jsx(\"img\", {\n          width: arrowSize,\n          height: arrowSize,\n          src: rightArrow || \"https://framerusercontent.com/images/11KSGbIZoRSg4pjdnUoif6MKHI.svg\"\n        })\n      }), dots.length > 1 ? /*#__PURE__*/_jsx(\"div\", {\n        style: {\n          ...dotsContainerStyle,\n          left: axis ? \"50%\" : dotsInset,\n          top: !axis ? \"50%\" : \"unset\",\n          transform: axis ? \"translateX(-50%)\" : \"translateY(-50%)\",\n          flexDirection: axis ? \"row\" : \"column\",\n          bottom: axis ? dotsInset : \"unset\",\n          borderRadius: dotsRadius,\n          backgroundColor: dotsBackground,\n          ...dotsBlurStyle\n        },\n        children: dots\n      }) : null]\n    }), /*#__PURE__*/_jsx(MouseStyles, {})]\n  });\n}\n; /* Default Properties */\nCarousel.defaultProps = {\n  gap: 10,\n  padding: 10,\n  progressObject: {\n    showScrollbar: false,\n    showProgressDots: false\n  },\n  sizingObject: {\n    widthType: \"auto\",\n    widthOffset: 0,\n    widthColumns: 2,\n    heightType: \"auto\",\n    heightOffset: 0,\n    heightRows: 2\n  },\n  borderRadius: 0\n}; /* Property Controls */\naddPropertyControls(Carousel, {\n  slots: {\n    type: ControlType.Array,\n    title: \"Children\",\n    control: {\n      type: ControlType.ComponentInstance\n    }\n  },\n  axis: {\n    type: ControlType.Enum,\n    title: \"Direction\",\n    options: [true, false],\n    optionIcons: [\"direction-horizontal\", \"direction-vertical\"],\n    displaySegmentedControl: true\n  },\n  align: {\n    type: ControlType.Enum,\n    title: \"Align\",\n    options: [\"flex-start\", \"center\", \"flex-end\"],\n    optionIcons: {\n      axis: {\n        true: [\"align-top\", \"align-middle\", \"align-bottom\"],\n        false: [\"align-left\", \"align-center\", \"align-right\"]\n      }\n    },\n    defaultValue: \"center\",\n    displaySegmentedControl: true\n  },\n  gap: {\n    type: ControlType.Number,\n    title: \"Gap\"\n  },\n  ...paddingControl,\n  sizingObject: {\n    type: ControlType.Object,\n    title: \"Sizing\",\n    controls: {\n      widthType: {\n        type: ControlType.Enum,\n        title: \"Width\",\n        options: [\"auto\", \"stretch\", \"columns\"],\n        optionTitles: [\"Auto\", \"Stretch\", \"Columns\"],\n        defaultValue: \"auto\"\n      },\n      widthInset: {\n        type: ControlType.Number,\n        title: \"Inset\",\n        min: 0,\n        max: 500,\n        defaultValue: 0,\n        hidden: props => props.widthType !== \"stretch\"\n      },\n      widthColumns: {\n        type: ControlType.Number,\n        title: \"Columns\",\n        min: 1,\n        max: 10,\n        defaultValue: 2,\n        displayStepper: true,\n        hidden: props => props.widthType !== \"columns\"\n      },\n      heightType: {\n        type: ControlType.Enum,\n        title: \"Height\",\n        options: [\"auto\", \"stretch\", \"rows\"],\n        optionTitles: [\"Auto\", \"Stretch\", \"Rows\"],\n        defaultValue: \"auto\"\n      },\n      heightInset: {\n        type: ControlType.Number,\n        title: \"Inset\",\n        min: 0,\n        max: 500,\n        defaultValue: 0,\n        hidden: props => props.heightType !== \"stretch\"\n      },\n      heightRows: {\n        type: ControlType.Number,\n        title: \"Rows\",\n        min: 1,\n        max: 10,\n        defaultValue: 2,\n        displayStepper: true,\n        hidden: props => props.heightType !== \"rows\"\n      }\n    }\n  },\n  snapObject: {\n    type: ControlType.Object,\n    title: \"Snapping\",\n    controls: {\n      snap: {\n        type: ControlType.Boolean,\n        title: \"Enable\"\n      },\n      snapEdge: {\n        type: ControlType.Enum,\n        title: \"Edge\",\n        options: [\"start\", \"center\", \"end\"],\n        optionTitles: [\"Left\", \"Center\", \"Right\"],\n        defaultValue: \"center\",\n        hidden: props => !props.snap\n      },\n      fluid: {\n        type: ControlType.Boolean,\n        title: \"Fluid\",\n        defaultValue: false,\n        hidden: props => !props.snap\n      }\n    }\n  },\n  fadeObject: {\n    type: ControlType.Object,\n    title: \"Fading\",\n    controls: {\n      fadeContent: {\n        type: ControlType.Boolean,\n        title: \"Enable\",\n        defaultValue: false\n      },\n      fadeWidth: {\n        type: ControlType.Number,\n        title: \"Width\",\n        defaultValue: 25,\n        min: 0,\n        max: 100,\n        unit: \"%\",\n        hidden: props => !props.fadeContent\n      },\n      fadeInset: {\n        type: ControlType.Number,\n        title: \"Inset\",\n        defaultValue: 0,\n        min: 0,\n        max: 100,\n        unit: \"%\",\n        hidden: props => !props.fadeContent\n      },\n      fadeAlpha: {\n        type: ControlType.Number,\n        title: \"Opacity\",\n        hidden: props => !props.fadeContent,\n        min: 0,\n        max: 1,\n        step: .05,\n        defaultValue: 0\n      },\n      fadeTransition: {\n        type: ControlType.Transition,\n        title: \"Transition\",\n        hidden: props => !props.fadeContent\n      }\n    }\n  },\n  progressObject: {\n    type: ControlType.Object,\n    title: \"Progress\",\n    controls: {\n      showScrollbar: {\n        type: ControlType.Boolean,\n        title: \"Scroll Bar\",\n        defaultValue: false\n      },\n      showProgressDots: {\n        type: ControlType.Boolean,\n        title: \"Dots\",\n        defaultValue: false,\n        hidden: props => props.showScrollbar\n      },\n      dotSize: {\n        type: ControlType.Number,\n        title: \"Size\",\n        min: 1,\n        max: 100,\n        defaultValue: 10,\n        displayStepper: true,\n        hidden: props => !props.showProgressDots || props.showScrollbar\n      },\n      dotsInset: {\n        type: ControlType.Number,\n        title: \"Inset\",\n        min: 0,\n        max: 100,\n        defaultValue: 10,\n        displayStepper: true,\n        hidden: props => !props.showProgressDots || props.showScrollbar\n      },\n      dotsGap: {\n        type: ControlType.Number,\n        title: \"Gap\",\n        min: 0,\n        max: 100,\n        defaultValue: 10,\n        displayStepper: true,\n        hidden: props => !props.showProgressDots || props.showScrollbar\n      },\n      dotsPadding: {\n        type: ControlType.Number,\n        title: \"Padding\",\n        min: 0,\n        max: 100,\n        defaultValue: 10,\n        displayStepper: true,\n        hidden: props => !props.showProgressDots || props.showScrollbar\n      },\n      dotsFill: {\n        type: ControlType.Color,\n        title: \"Fill\",\n        defaultValue: \"#fff\",\n        hidden: props => !props.showProgressDots || props.showScrollbar\n      },\n      dotsBackground: {\n        type: ControlType.Color,\n        title: \"Backdrop\",\n        defaultValue: \"rgba(0,0,0,0.2)\",\n        hidden: props => !props.showProgressDots || props.showScrollbar\n      },\n      dotsRadius: {\n        type: ControlType.Number,\n        title: \"Radius\",\n        min: 0,\n        max: 200,\n        defaultValue: 50,\n        hidden: props => !props.showProgressDots || props.showScrollbar\n      },\n      dotsOpacity: {\n        type: ControlType.Number,\n        title: \"Opacity\",\n        min: 0,\n        max: 1,\n        defaultValue: .5,\n        step: .1,\n        displayStepper: true,\n        hidden: props => !props.showProgressDots || props.showScrollbar\n      },\n      dotsActiveOpacity: {\n        type: ControlType.Number,\n        title: \"Current\",\n        min: 0,\n        max: 1,\n        defaultValue: 1,\n        step: .1,\n        displayStepper: true,\n        hidden: props => !props.showProgressDots || props.showScrollbar\n      },\n      dotsBlur: {\n        type: ControlType.Number,\n        title: \"Blur\",\n        min: 0,\n        max: 50,\n        defaultValue: 4,\n        step: 1,\n        hidden: props => !props.showProgressDots || props.showScrollbar\n      }\n    }\n  },\n  arrowObject: {\n    type: ControlType.Object,\n    title: \"Arrows\",\n    controls: {\n      showMouseControls: {\n        type: ControlType.Boolean,\n        title: \"Show\",\n        defaultValue: true\n      },\n      arrowFill: {\n        type: ControlType.Color,\n        title: \"Fill\",\n        defaultValue: \"rgba(0,0,0,0.2)\",\n        hidden: props => !props.showMouseControls\n      },\n      leftArrow: {\n        type: ControlType.Image,\n        title: \"Previous\",\n        hidden: props => !props.showMouseControls\n      },\n      rightArrow: {\n        type: ControlType.Image,\n        title: \"Next\",\n        hidden: props => !props.showMouseControls\n      },\n      arrowSize: {\n        type: ControlType.Number,\n        title: \"Size\",\n        min: 0,\n        max: 200,\n        displayStepper: true,\n        defaultValue: 40,\n        hidden: props => !props.showMouseControls\n      },\n      arrowRadius: {\n        type: ControlType.Number,\n        title: \"Radius\",\n        min: 0,\n        max: 500,\n        defaultValue: 40,\n        hidden: props => !props.showMouseControls\n      },\n      arrowPadding: {\n        type: ControlType.Number,\n        title: \"Inset\",\n        min: 0,\n        max: 100,\n        defaultValue: 20,\n        displayStepper: true,\n        hidden: props => !props.showMouseControls\n      }\n    }\n  },\n  ariaLabel: {\n    type: ControlType.String,\n    title: \"Aria Label\",\n    placeholder: \"Movies...\"\n  },\n  borderRadius: {\n    type: ControlType.Number,\n    title: \"Radius\",\n    min: 0,\n    max: 500,\n    displayStepper: true,\n    defaultValue: 0\n  }\n});\nfunction Dot({\n  currentScroll,\n  scrollInfo,\n  isSelected,\n  selectedOpacity,\n  opacity: unselectedOpacity,\n  total,\n  index,\n  dotStyle,\n  buttonStyle,\n  gap,\n  padding,\n  axis,\n  ...props\n}) {\n  const opacity = useTransform(currentScroll, v => {\n    var ref, ref1;\n    if (!((ref = scrollInfo.current) === null || ref === void 0 ? void 0 : ref.scrollLength)) {\n      return index === 0 ? selectedOpacity : unselectedOpacity;\n    }\n    const pageLength = ((ref1 = scrollInfo.current) === null || ref1 === void 0 ? void 0 : ref1.scrollLength) / total;\n    const minScroll = pageLength * index;\n    const maxScroll = minScroll + pageLength;\n    const isSelected = v >= minScroll && (index < total - 1 ? v < maxScroll : index === total - 1);\n    return isSelected ? selectedOpacity : unselectedOpacity;\n  });\n  const inlinePadding = gap / 2;\n  let top = !axis && index > 0 ? inlinePadding : padding;\n  let bottom = !axis && index !== total - 1 ? inlinePadding : padding;\n  let right = axis && index !== total - 1 ? inlinePadding : padding;\n  let left = axis && index > 0 ? inlinePadding : padding;\n  return /*#__PURE__*/_jsx(\"button\", {\n    \"aria-label\": `Scroll to page ${index + 1}`,\n    type: \"button\",\n    ...props,\n    style: {\n      ...buttonStyle,\n      padding: `${top}px ${right}px ${bottom}px ${left}px`\n    },\n    children: /*#__PURE__*/_jsx(motion.div, {\n      style: {\n        ...dotStyle,\n        opacity\n      }\n    })\n  });\n}\nfunction Placeholder() {\n  return /*#__PURE__*/_jsxs(\"section\", {\n    style: placeholderStyles,\n    children: [/*#__PURE__*/_jsx(\"div\", {\n      style: emojiStyles,\n      children: \"\u2728\"\n    }), /*#__PURE__*/_jsx(\"p\", {\n      style: titleStyles,\n      children: \"Connect to Content\"\n    }), /*#__PURE__*/_jsx(\"p\", {\n      style: subtitleStyles,\n      children: \"Add layers or components to swipe between.\"\n    })]\n  });\n}\nfunction MouseStyles() {\n  return /*#__PURE__*/_jsx(\"div\", {\n    dangerouslySetInnerHTML: {\n      __html: `<style>@media (pointer: fine) {\n                .framer--carousel[data-show-scrollbar=\"false\"]::-webkit-scrollbar {\n                    display: none;\n                    -webkit-appearance: none;\n                    width: 0;\n                    height: 0;\n                }\n\n                .framer--carousel[data-show-scrollbar=\"false\"]::-webkit-scrollbar-thumb {\n                    display: none;\n                }\n\n                .framer--carousel[data-show-scrollbar=\"false\"] {\n                    scrollbar-width: none;\n                    scrollbar-height: none;\n                }\n            }</style>`\n    }\n  });\n} /* Styles */\nconst placeholderStyles = {\n  display: \"flex\",\n  width: \"100%\",\n  height: \"100%\",\n  placeContent: \"center\",\n  placeItems: \"center\",\n  flexDirection: \"column\",\n  color: \"#96F\",\n  background: \"rgba(136, 85, 255, 0.1)\",\n  fontSize: 11,\n  overflow: \"hidden\",\n  padding: \"20px 20px 30px 20px\"\n};\nconst emojiStyles = {\n  fontSize: 32,\n  marginBottom: 10\n};\nconst titleStyles = {\n  margin: 0,\n  marginBottom: 10,\n  fontWeight: 600,\n  textAlign: \"center\"\n};\nconst subtitleStyles = {\n  margin: 0,\n  opacity: .7,\n  maxWidth: 130,\n  lineHeight: 1.5,\n  textAlign: \"center\"\n};\nconst labelStyle = {\n  clip: \"rect(0 0 0 0)\",\n  WebkitClipPath: \"inset(50%)\",\n  clipPath: \"inset(50%)\",\n  height: 1,\n  width: 1,\n  margin: -1,\n  padding: 0,\n  overflow: \"hidden\",\n  position: \"absolute\",\n  whiteSpace: \"nowrap\"\n}; /**\n   * GUI styles\n   */\nconst baseContainerStyle = {\n  display: \"flex\",\n  overflow: \"hidden\",\n  width: \"100%\",\n  height: \"100%\",\n  position: \"relative\"\n};\nconst baseCarouselStyle = {\n  padding: 0,\n  margin: 0,\n  listStyle: \"none\",\n  position: \"relative\",\n  display: \"flex\",\n  flex: \"1 1 100%\",\n  width: \"100%\",\n  height: \"100%\"\n};\nconst baseButtonStyles = {\n  border: \"none\",\n  display: \"flex\",\n  placeContent: \"center\",\n  placeItems: \"center\",\n  overflow: \"hidden\",\n  background: \"transparent\",\n  cursor: \"pointer\",\n  margin: 0,\n  padding: 0\n};\nconst controlsStyles = {\n  display: \"flex\",\n  justifyContent: \"space-between\",\n  alignItems: \"center\",\n  position: \"absolute\",\n  top: 0,\n  left: 0,\n  right: 0,\n  bottom: 0,\n  pointerEvents: \"none\",\n  border: 0,\n  padding: 0,\n  margin: 0\n}; /**\n   * Dot styles\n   */\nconst dotsContainerStyle = {\n  display: \"flex\",\n  placeContent: \"center\",\n  placeItems: \"center\",\n  overflow: \"hidden\",\n  position: \"absolute\",\n  pointerEvents: \"auto\"\n};\nconst dotStyle = {\n  borderRadius: \"50%\",\n  background: \"white\",\n  cursor: \"pointer\",\n  border: \"none\",\n  placeContent: \"center\",\n  placeItems: \"center\",\n  padding: 0\n};\nexport const __FramerMetadata__ = {\n  \"exports\": {\n    \"default\": {\n      \"type\": \"reactComponent\",\n      \"name\": \"Carousel\",\n      \"slots\": [],\n      \"annotations\": {\n        \"framerDisableUnlink\": \"*\",\n        \"framerSupportedLayoutWidth\": \"any-prefer-fixed\",\n        \"framerSupportedLayoutHeight\": \"any-prefer-fixed\",\n        \"framerContractVersion\": \"1\",\n        \"framerIntrinsicWidth\": \"400\",\n        \"framerIntrinsicHeight\": \"200\"\n      }\n    },\n    \"__FramerMetadata__\": {\n      \"type\": \"variable\"\n    }\n  }\n};\n//# sourceMappingURL=./Carousel.map", "import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { Children, useEffect, useState, useRef, useMemo, createRef, useCallback, cloneElement } from \"react\";\nimport { addPropertyControls, ControlType, RenderTarget } from \"framer\";\nimport { useAnimationFrame, useReducedMotion, LayoutGroup, useInView, useMotionValue, useTransform, motion, wrap } from \"framer-motion\";\nimport { resize } from \"@motionone/dom\";\nconst directionTransformers = {\n  left: offset => `translateX(-${offset}px)`,\n  right: offset => `translateX(${offset}px)`,\n  top: offset => `translateY(-${offset}px)`,\n  bottom: offset => `translateY(${offset}px)`\n};\nconst supportsAcceleratedAnimations = typeof Animation !== \"undefined\" && typeof Animation.prototype.updatePlaybackRate === \"function\"; /**\n                                                                                                                                        *\n                                                                                                                                        * @framerIntrinsicWidth 400\n                                                                                                                                        * @framerIntrinsicHeight 200\n                                                                                                                                        *\n                                                                                                                                        * @framerDisableUnlink\n                                                                                                                                        *\n                                                                                                                                        * @framerSupportedLayoutWidth fixed\n                                                                                                                                        * @framerSupportedLayoutHeight fixed\n                                                                                                                                        */\nexport default function Ticker(props) {\n  /* Props */let {\n    slots,\n    gap,\n    padding,\n    paddingPerSide,\n    paddingTop,\n    paddingRight,\n    paddingBottom,\n    paddingLeft,\n    speed,\n    hoverFactor,\n    direction,\n    alignment,\n    sizingOptions,\n    fadeOptions,\n    style\n  } = props;\n  const {\n    fadeContent,\n    overflow,\n    fadeWidth,\n    fadeInset,\n    fadeAlpha\n  } = fadeOptions;\n  const {\n    widthType,\n    heightType\n  } = sizingOptions;\n  const paddingValue = paddingPerSide ? `${paddingTop}px ${paddingRight}px ${paddingBottom}px ${paddingLeft}px` : `${padding}px`; /* Checks */\n  const isCanvas = RenderTarget.current() === RenderTarget.canvas;\n  const numChildren = Children.count(slots);\n  const hasChildren = numChildren > 0;\n  if (direction === true) {\n    direction = \"left\";\n  }\n  const isHorizontal = direction === \"left\" || direction === \"right\";\n  const offset = useMotionValue(0);\n  const transformer = directionTransformers[direction];\n  const transform = useTransform(offset, transformer); /* Refs and State */\n  const parentRef = useRef(null);\n  const childrenRef = useMemo(() => {\n    return [/*#__PURE__*/createRef(), /*#__PURE__*/createRef()];\n  }, []);\n  const [size, setSize] = useState({\n    parent: null,\n    children: null\n  }); /* Arrays */\n  let clonedChildren = [];\n  let dupedChildren = []; /* Duplicate value */\n  let duplicateBy = 0;\n  let opacity = 0;\n  if (isCanvas) {\n    // duplicateBy = 10\n    duplicateBy = numChildren ? Math.floor(10 / numChildren) : 0;\n    opacity = 1;\n  }\n  if (!isCanvas && hasChildren && size.parent) {\n    duplicateBy = Math.round(size.parent / size.children * 2) + 1;\n    opacity = 1;\n  } /* Measure parent and child */\n  const measure = useCallback(() => {\n    if (hasChildren && parentRef.current) {\n      const parentLength = isHorizontal ? parentRef.current.offsetWidth : parentRef.current.offsetHeight;\n      const start = childrenRef[0].current ? isHorizontal ? childrenRef[0].current.offsetLeft : childrenRef[0].current.offsetTop : 0;\n      const end = childrenRef[1].current ? isHorizontal ? childrenRef[1].current.offsetLeft + childrenRef[1].current.offsetWidth : childrenRef[1].current.offsetTop + childrenRef[1].current.offsetHeight : 0;\n      const childrenLength = end - start + gap;\n      setSize({\n        parent: parentLength,\n        children: childrenLength\n      });\n    }\n  }, []);\n  const childrenStyles = isCanvas ? {\n    contentVisibility: \"auto\"\n  } : {}; /* Add refs to first and last child */\n  if (hasChildren) {\n    // TODO: These conditional hooks will be unsafe if hasChildren ever changes outside the canvas.\n    if (!isCanvas) {\n      /**\n      * Track whether this is the initial resize event. By default this will fire on mount,\n      * which we do in the useEffect. We should only fire it on subsequent resizes.\n      */\n      let initialResize = useRef(true);\n      useEffect(() => {\n        measure();\n        return resize(parentRef.current, ({\n          contentSize\n        }) => {\n          if (!initialResize.current && (contentSize.width || contentSize.height)) {\n            measure();\n          }\n          initialResize.current = false;\n        });\n      }, []);\n    }\n    clonedChildren = Children.map(slots, (child, index) => {\n      var ref, ref1, ref2, ref3;\n      let ref4;\n      if (index === 0) {\n        ref4 = childrenRef[0];\n      }\n      if (index === slots.length - 1) {\n        ref4 = childrenRef[1];\n      }\n      const size = {\n        width: widthType ? (ref = child.props) === null || ref === void 0 ? void 0 : ref.width : \"100%\",\n        height: heightType ? (ref1 = child.props) === null || ref1 === void 0 ? void 0 : ref1.height : \"100%\"\n      };\n      return /*#__PURE__*/_jsx(LayoutGroup, {\n        inherit: \"id\",\n        children: /*#__PURE__*/_jsx(\"li\", {\n          ref: ref4,\n          style: size,\n          children: /*#__PURE__*/cloneElement(child, {\n            style: {\n              ...((ref2 = child.props) === null || ref2 === void 0 ? void 0 : ref2.style),\n              ...size,\n              flexShrink: 0,\n              ...childrenStyles\n            }\n          }, (ref3 = child.props) === null || ref3 === void 0 ? void 0 : ref3.children)\n        })\n      });\n    });\n  }\n  if (!isCanvas) {\n    for (let i = 0; i < duplicateBy; i++) {\n      dupedChildren = [...dupedChildren, ...Children.map(slots, (child, childIndex) => {\n        var ref, ref1, ref2, ref3;\n        return /*#__PURE__*/_jsx(LayoutGroup, {\n          inherit: \"id\",\n          children: /*#__PURE__*/_jsx(\"li\", {\n            style: {\n              display: \"contents\"\n            },\n            \"aria-hidden\": true,\n            children: /*#__PURE__*/cloneElement(child, {\n              key: i + \" \" + childIndex,\n              style: {\n                ...((ref = child.props) === null || ref === void 0 ? void 0 : ref.style),\n                width: widthType ? (ref1 = child.props) === null || ref1 === void 0 ? void 0 : ref1.width : \"100%\",\n                height: heightType ? (ref2 = child.props) === null || ref2 === void 0 ? void 0 : ref2.height : \"100%\",\n                flexShrink: 0,\n                ...childrenStyles\n              }\n            }, (ref3 = child.props) === null || ref3 === void 0 ? void 0 : ref3.children)\n          }, i + \"li\" + childIndex)\n        }, i + \"lg\" + childIndex);\n      })];\n    }\n  }\n  const animateToValue = size.children + size.children * Math.round(size.parent / size.children);\n  const initialTime = useRef(null);\n  const prevTime = useRef(null);\n  const xOrY = useRef(0);\n  const isHover = useRef(false);\n  const isInView = useInView(parentRef);\n  const isReducedMotion = useReducedMotion();\n  const listRef = useRef(null);\n  const animationRef = useRef(null); /**\n                                     * Setup animations\n                                     */\n  if (!isCanvas) {\n    /**\n    * If this is an animation we can hardware accelerate, animate with WAAPI\n    */\n    if (supportsAcceleratedAnimations) {\n      useEffect(() => {\n        if (isReducedMotion || !animateToValue || !speed) {\n          return;\n        }\n        animationRef.current = listRef.current.animate({\n          transform: [transformer(0), transformer(animateToValue)]\n        }, {\n          duration: Math.abs(animateToValue) / speed * 1e3,\n          iterations: Infinity,\n          easing: \"linear\"\n        });\n        return () => animationRef.current.cancel();\n      }, [hoverFactor, animateToValue, speed]);\n    } else {\n      /**\n      * If we can't accelerate this animation because we have a hoverFactor defined\n      * animate with a rAF loop.\n      */\n      useAnimationFrame(t => {\n        if (!animateToValue || isReducedMotion || supportsAcceleratedAnimations) {\n          return;\n        } /**\n          * In case this animation is delayed from starting because we're running a bunch\n          * of other work, we want to set an initial time rather than counting from 0.\n          * That ensures that if the animation is delayed, it starts from the first frame\n          * rather than jumping.\n          */\n        if (initialTime.current === null) {\n          initialTime.current = t;\n        }\n        t = t - initialTime.current;\n        const timeSince = prevTime.current === null ? 0 : t - prevTime.current;\n        let delta = timeSince * (speed / 1e3);\n        if (isHover.current) {\n          delta *= hoverFactor;\n        }\n        xOrY.current += delta;\n        xOrY.current = wrap(0, animateToValue, xOrY.current);\n        prevTime.current = t;\n        if (!isInView) return;\n        offset.set(xOrY.current);\n      });\n    }\n  } /* Fades */\n  const fadeDirection = isHorizontal ? \"to right\" : \"to bottom\";\n  const fadeWidthStart = fadeWidth / 2;\n  const fadeWidthEnd = 100 - fadeWidth / 2;\n  const fadeInsetStart = clamp(fadeInset, 0, fadeWidthStart);\n  const fadeInsetEnd = 100 - fadeInset;\n  const fadeMask = `linear-gradient(${fadeDirection}, rgba(0, 0, 0, ${fadeAlpha}) ${fadeInsetStart}%, rgba(0, 0, 0, 1) ${fadeWidthStart}%, rgba(0, 0, 0, 1) ${fadeWidthEnd}%, rgba(0, 0, 0, ${fadeAlpha}) ${fadeInsetEnd}%)`; /* Empty state */\n  if (!hasChildren) {\n    return /*#__PURE__*/_jsxs(\"section\", {\n      style: placeholderStyles,\n      children: [/*#__PURE__*/_jsx(\"div\", {\n        style: emojiStyles,\n        children: \"\u2728\"\n      }), /*#__PURE__*/_jsx(\"p\", {\n        style: titleStyles,\n        children: \"Connect to Content\"\n      }), /*#__PURE__*/_jsx(\"p\", {\n        style: subtitleStyles,\n        children: \"Add layers or components to infinitely loop on your page.\"\n      })]\n    });\n  }\n  return /*#__PURE__*/_jsx(\"section\", {\n    style: {\n      ...containerStyle,\n      opacity: opacity,\n      WebkitMaskImage: fadeContent ? fadeMask : undefined,\n      MozMaskImage: fadeContent ? fadeMask : undefined,\n      maskImage: fadeContent ? fadeMask : undefined,\n      overflow: overflow ? \"visible\" : \"hidden\",\n      padding: paddingValue\n    },\n    ref: parentRef,\n    children: /*#__PURE__*/_jsxs(motion.ul, {\n      ref: listRef,\n      style: {\n        ...containerStyle,\n        gap: gap,\n        top: direction === \"bottom\" && isValidNumber(animateToValue) ? -animateToValue : undefined,\n        left: direction === \"right\" && isValidNumber(animateToValue) ? -animateToValue : undefined,\n        placeItems: alignment,\n        position: \"relative\",\n        flexDirection: isHorizontal ? \"row\" : \"column\",\n        ...style,\n        transform: supportsAcceleratedAnimations ? undefined : transform,\n        willChange: \"transform\"\n      },\n      onMouseEnter: () => {\n        isHover.current = true;\n        if (animationRef.current) {\n          animationRef.current.updatePlaybackRate(hoverFactor);\n        }\n      },\n      onMouseLeave: () => {\n        isHover.current = false;\n        if (animationRef.current) {\n          animationRef.current.updatePlaybackRate(1);\n        }\n      },\n      children: [clonedChildren, dupedChildren]\n    })\n  });\n}\n; /* Default Properties */\nTicker.defaultProps = {\n  gap: 10,\n  padding: 10,\n  sizingOptions: {\n    widthType: true,\n    heightType: true\n  },\n  fadeOptions: {\n    fadeContent: true,\n    overflow: false,\n    fadeWidth: 25,\n    fadeAlpha: 0,\n    fadeInset: 0\n  },\n  direction: true\n}; /* Property Controls */\naddPropertyControls(Ticker, {\n  slots: {\n    type: ControlType.Array,\n    title: \"Children\",\n    control: {\n      type: ControlType.ComponentInstance\n    }\n  },\n  speed: {\n    type: ControlType.Number,\n    title: \"Speed\",\n    min: 0,\n    max: 1e3,\n    defaultValue: 100,\n    unit: \"%\",\n    displayStepper: true,\n    step: 5\n  },\n  direction: {\n    type: ControlType.Enum,\n    title: \"Direction\",\n    options: [\"left\", \"right\", \"top\", \"bottom\"],\n    optionIcons: [\"direction-left\", \"direction-right\", \"direction-up\", \"direction-down\"],\n    optionTitles: [\"Left\", \"Right\", \"Top\", \"Bottom\"],\n    defaultValue: \"left\",\n    displaySegmentedControl: true\n  },\n  alignment: {\n    type: ControlType.Enum,\n    title: \"Align\",\n    options: [\"flex-start\", \"center\", \"flex-end\"],\n    optionIcons: {\n      direction: {\n        right: [\"align-top\", \"align-middle\", \"align-bottom\"],\n        left: [\"align-top\", \"align-middle\", \"align-bottom\"],\n        top: [\"align-left\", \"align-center\", \"align-right\"],\n        bottom: [\"align-left\", \"align-center\", \"align-right\"]\n      }\n    },\n    defaultValue: \"center\",\n    displaySegmentedControl: true\n  },\n  gap: {\n    type: ControlType.Number,\n    title: \"Gap\"\n  },\n  padding: {\n    title: \"Padding\",\n    type: ControlType.FusedNumber,\n    toggleKey: \"paddingPerSide\",\n    toggleTitles: [\"Padding\", \"Padding per side\"],\n    valueKeys: [\"paddingTop\", \"paddingRight\", \"paddingBottom\", \"paddingLeft\"],\n    valueLabels: [\"T\", \"R\", \"B\", \"L\"],\n    min: 0\n  },\n  sizingOptions: {\n    type: ControlType.Object,\n    title: \"Sizing\",\n    controls: {\n      widthType: {\n        type: ControlType.Boolean,\n        title: \"Width\",\n        enabledTitle: \"Auto\",\n        disabledTitle: \"Stretch\",\n        defaultValue: true\n      },\n      heightType: {\n        type: ControlType.Boolean,\n        title: \"Height\",\n        enabledTitle: \"Auto\",\n        disabledTitle: \"Stretch\",\n        defaultValue: true\n      }\n    }\n  },\n  fadeOptions: {\n    type: ControlType.Object,\n    title: \"Clipping\",\n    controls: {\n      fadeContent: {\n        type: ControlType.Boolean,\n        title: \"Fade\",\n        defaultValue: true\n      },\n      overflow: {\n        type: ControlType.Boolean,\n        title: \"Overflow\",\n        enabledTitle: \"Show\",\n        disabledTitle: \"Hide\",\n        defaultValue: false,\n        hidden(props) {\n          return props.fadeContent === true;\n        }\n      },\n      fadeWidth: {\n        type: ControlType.Number,\n        title: \"Width\",\n        defaultValue: 25,\n        min: 0,\n        max: 100,\n        unit: \"%\",\n        hidden(props) {\n          return props.fadeContent === false;\n        }\n      },\n      fadeInset: {\n        type: ControlType.Number,\n        title: \"Inset\",\n        defaultValue: 0,\n        min: 0,\n        max: 100,\n        unit: \"%\",\n        hidden(props) {\n          return props.fadeContent === false;\n        }\n      },\n      fadeAlpha: {\n        type: ControlType.Number,\n        title: \"Opacity\",\n        defaultValue: 0,\n        min: 0,\n        max: 1,\n        step: .05,\n        hidden(props) {\n          return props.fadeContent === false;\n        }\n      }\n    }\n  },\n  hoverFactor: {\n    type: ControlType.Number,\n    title: \"Hover\",\n    min: 0,\n    max: 1,\n    unit: \"x\",\n    defaultValue: 1,\n    step: .1,\n    displayStepper: true,\n    description: \"Slows down the speed while you are hovering.\"\n  }\n}); /* Placeholder Styles */\nconst containerStyle = {\n  display: \"flex\",\n  width: \"100%\",\n  height: \"100%\",\n  maxWidth: \"100%\",\n  maxHeight: \"100%\",\n  placeItems: \"center\",\n  margin: 0,\n  padding: 0,\n  listStyleType: \"none\",\n  textIndent: \"none\"\n}; /* Styles */\nconst placeholderStyles = {\n  display: \"flex\",\n  width: \"100%\",\n  height: \"100%\",\n  placeContent: \"center\",\n  placeItems: \"center\",\n  flexDirection: \"column\",\n  color: \"#96F\",\n  background: \"rgba(136, 85, 255, 0.1)\",\n  fontSize: 11,\n  overflow: \"hidden\",\n  padding: \"20px 20px 30px 20px\"\n};\nconst emojiStyles = {\n  fontSize: 32,\n  marginBottom: 10\n};\nconst titleStyles = {\n  margin: 0,\n  marginBottom: 10,\n  fontWeight: 600,\n  textAlign: \"center\"\n};\nconst subtitleStyles = {\n  margin: 0,\n  opacity: .7,\n  maxWidth: 150,\n  lineHeight: 1.5,\n  textAlign: \"center\"\n}; /* Clamp function, used for fadeInset */\nconst clamp = (num, min, max) => Math.min(Math.max(num, min), max);\nconst isValidNumber = value => typeof value === \"number\" && !isNaN(value);\nexport const __FramerMetadata__ = {\n  \"exports\": {\n    \"default\": {\n      \"type\": \"reactComponent\",\n      \"name\": \"Ticker\",\n      \"slots\": [],\n      \"annotations\": {\n        \"framerContractVersion\": \"1\",\n        \"framerSupportedLayoutHeight\": \"fixed\",\n        \"framerSupportedLayoutWidth\": \"fixed\",\n        \"framerIntrinsicHeight\": \"200\",\n        \"framerIntrinsicWidth\": \"400\",\n        \"framerDisableUnlink\": \"*\"\n      }\n    },\n    \"__FramerMetadata__\": {\n      \"type\": \"variable\"\n    }\n  }\n};\n//# sourceMappingURL=./Ticker.map"],
  "mappings": "oZAWA,SAASA,GAAc,CAACC,EAAOC,CAAK,EAAG,CACrC,OAAOD,GAAS,IAAMA,IAAUC,EAAQ,KAAO,EACjD,CAIA,SAASC,IAAa,CACpB,GAAM,CAACC,EAAeC,CAAgB,EAAIC,GAAS,EAAK,EACxD,OAAAC,GAAgB,IAAM,CACpBF,EAAiBG,GAAO,WAAW,gBAAgB,EAAE,OAAO,CAC9D,EAAG,CAAC,CAAC,EACEJ,CACT,CAMA,SAASK,GAAWC,EAAUC,EAAQ,CACpC,YAAAC,EACA,UAAAC,EACA,UAAAC,CACF,EAAGC,EAAY,CACTF,EAAU,SAAWH,IAAaC,GACpCE,EAAU,QAAU,GACpBG,GAAQJ,EAAa,EAAGG,CAAU,EAClCD,EAAU,QAAQ,aAAa,WAAY,EAAE,GACpC,CAACD,EAAU,SAAWH,IAAaC,IAC5CE,EAAU,QAAU,GACpBG,GAAQJ,EAAa,EAAGG,CAAU,EAClCD,EAAU,QAAQ,gBAAgB,UAAU,EAEhD,CACA,SAASG,GAAOC,EAAkBC,EAAc,CAC9C,IAAMN,EAAYO,EAAOF,CAAgB,EACnCN,EAAcS,EAAeR,EAAU,QAAU,EAAI,CAAC,EACtDS,EAAcC,EAAaX,EAAa,CAAC,EAAG,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AAa,CACX,KAAMkG,EAAY,OAClB,MAAO,QACP,IAAK,EACL,IAAK,EACL,KAAM,IACN,aAAc,EACd,KAAM,GACN,eAAgB,GAChB,YAAa,8CACf,CACF,CAAC,EACD,IAAMT,GAAiB,CACrB,QAAS,OACT,MAAO,OACP,OAAQ,OACR,SAAU,OACV,UAAW,OACX,WAAY,SACZ,OAAQ,EACR,QAAS,EACT,cAAe,OACf,WAAY,MACd,EACMI,GAAoB,CACxB,QAAS,OACT,MAAO,OACP,OAAQ,OACR,aAAc,SACd,WAAY,SACZ,cAAe,SACf,MAAO,OACP,WAAY,0BACZ,SAAU,GACV,SAAU,SACV,QAAS,qBACX,EACMC,GAAc,CAClB,SAAU,GACV,aAAc,EAChB,EACMC,GAAc,CAClB,OAAQ,EACR,aAAc,GACd,WAAY,IACZ,UAAW,QACb,EACMC,GAAiB,CACrB,OAAQ,EACR,QAAS,GACT,SAAU,IACV,WAAY,IACZ,UAAW,QACb,EACMV,GAAQ,CAACa,EAAKC,EAAKC,IAAQ,KAAK,IAAI,KAAK,IAAIF,EAAKC,CAAG,EAAGC,CAAG,EAC3DT,GAAgBU,GAAS,OAAOA,GAAU,UAAY,CAAC,MAAMA,CAAK",
  "names": ["calcMaskWidth", "inset", "width", "useIsMouse", "isMouseDevice", "setIsMouseDevice", "ye", "fe", "window", "checkLimit", "progress", "target", "edgeOpacity", "moreItems", "buttonRef", "transition", "animate", "useGUI", "initialMoreItems", "initialAlpha", "pe", "useMotionValue", "fadeOpacity", "useTransform", "buttonOpacity", "v", "pointerEvents", "cursor", "buttonStyle", "baseButtonStyles", "setAriaVisible", "element", "useScrollLimits", "container", "axis", "scrollInfo", "updateCurrentScroll", "targetScroll", "checkLimits", "measureItems", "ue", "stopScroll", "scroll", "info", "stopResize", "resize", "Carousel", "slots", "gap", "align", "sizingObject", "fadeObject", "arrowObject", "snapObject", "progressObject", "ariaLabel", "borderRadius", "effectsObject", "props", "numItems", "j", "isCanvas", "RenderTarget", "padding", "usePadding", "axisLabel", "fadeContent", "fadeWidth", "fadeInset", "fadeTransition", "fadeAlpha", "snap", "snapEdge", "fluid", "widthType", "widthInset", "widthColumns", "heightType", "heightInset", "heightRows", "showScrollbar", "showProgressDots", "dotSize", "dotsInset", "dotsRadius", "dotsPadding", "dotsGap", "dotsFill", "dotsBackground", "dotsActiveOpacity", "dotsOpacity", "dotsBlur", "showMouseControls", "arrowSize", "arrowRadius", "arrowFill", "leftArrow", "rightArrow", "arrowPadding", "currentScroll", "newScroll", "start", "end", "startMaskInset", "endMaskInset", "baseWidth", "startMaskWidth", "endMaskWidth", "direction", "mask", "latest", "carouselRef", "numPages", "setNumPages", "itemStyle", "childStyle", "scrollOverflow", "containerStyle", "baseContainerStyle", "carouselStyle", "baseCarouselStyle", "carouselA11y", "itemA11y", "itemSizes", "te", "targetLength", "containerLength", "scrollLength", "current", "i", "start1", "end1", "newNumPages", "findNextItem", "delta", "children", "scrollTarget", "item", "length", "threshold", "isReducedMotion", "useReducedMotion", "goto", "scrollTo", "options", "gotoPage", "page", "gotoDelta", "pageLength", "currentPage", "clamp", "p", "Placeholder", "dots", "dotsBlurStyle", "isSelected", "Dot", "dotStyle", "u", "motion", "child", "index", "ref", "q", "controlsStyles", "dotsContainerStyle", "MouseStyles", "addPropertyControls", "ControlType", "paddingControl", "selectedOpacity", "unselectedOpacity", "total", "opacity", "ref1", "minScroll", "maxScroll", "inlinePadding", "top", "bottom", "right", "left", "placeholderStyles", "emojiStyles", "titleStyles", "subtitleStyles", "baseContainerStyle", "baseCarouselStyle", "baseButtonStyles", "controlsStyles", "dotsContainerStyle", "dotStyle", "directionTransformers", "offset", "supportsAcceleratedAnimations", "Ticker", "props", "slots", "gap", "padding", "paddingPerSide", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "speed", "hoverFactor", "direction", "alignment", "sizingOptions", "fadeOptions", "style", "fadeContent", "overflow", "fadeWidth", "fadeInset", "fadeAlpha", "widthType", "heightType", "paddingValue", "isCanvas", "RenderTarget", "numChildren", "j", "hasChildren", "isHorizontal", "useMotionValue", "transformer", "transform", "useTransform", "parentRef", "pe", "childrenRef", "se", "W", "size", "setSize", "ye", "clonedChildren", "dupedChildren", "duplicateBy", "opacity", "measure", "te", "parentLength", "start", "childrenLength", "childrenStyles", "initialResize", "ue", "resize", "contentSize", "child", "index", "ref", "ref1", "ref2", "ref3", "ref4", "p", "LayoutGroup", "q", "childIndex", "animateToValue", "initialTime", "prevTime", "xOrY", "isHover", "isInView", "useInView", "isReducedMotion", "useReducedMotion", "listRef", "animationRef", "useAnimationFrame", "t", "delta", "wrap", "fadeDirection", "fadeWidthStart", "fadeWidthEnd", "fadeInsetStart", "clamp", "fadeInsetEnd", "fadeMask", "containerStyle", "u", "motion", "isValidNumber", "placeholderStyles", "emojiStyles", "titleStyles", "subtitleStyles", "addPropertyControls", "ControlType", "num", "min", "max", "value"]
}
