{"version":3,"file":"Frameship.BOBwudOb.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","SVG","RichText","useState","FrameshipUpgradeBanner"],"sources":["https:/framerusercontent.com/modules/b6p2QQlcwhhLAA5Operm/erpgLSZm2BuxCMM1NCPK/LOQtD1uPa.js","https:/framerusercontent.com/modules/1kPVCHEEg0BrtObiM14s/tMfCOzlhvRKnksP8sgzC/Frameship.js"],"sourcesContent":["// Generated by Framer (f712822)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,Link,RichText,SVG,useComponentViewport,useLocaleInfo,useVariantState,withCSS,withFX,withOptimizedAppearEffect}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const MotionDivWithFXWithOptimizedAppearEffect=withOptimizedAppearEffect(withFX(motion.div));const serializationHash=\"framer-Rn0up\";const variantClassNames={iwCoq9e2J:\"framer-v-okagad\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const transition2={bounce:0,delay:.5,duration:.8,type:\"spring\"};const animation={opacity:1,rotate:0,rotateX:0,rotateY:0,scale:1,skewX:0,skewY:0,transition:transition2,x:0,y:0};const animation1={opacity:.001,rotate:0,rotateX:0,rotateY:0,scale:1,skewX:0,skewY:0,x:0,y:25};const transition3={bounce:.25,delay:0,duration:.45,type:\"spring\"};const animation2={opacity:.92,rotate:0,rotateX:0,rotateY:0,scale:1,skewX:0,skewY:0,transition:transition3};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const getProps=({height,id,link,width,...props})=>{return{...props,drrB1JJ6M:link??props.drrB1JJ6M};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,drrB1JJ6M,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"iwCoq9e2J\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-okagad\",className,classNames),\"data-framer-name\":\"Variant 1\",layoutDependency:layoutDependency,layoutId:\"iwCoq9e2J\",ref:refBinding,style:{...style},children:/*#__PURE__*/_jsxs(MotionDivWithFXWithOptimizedAppearEffect,{__perspectiveFX:false,__smartComponentFX:true,__targetOpacity:1,animate:animation,className:\"framer-nm3c8g\",\"data-border\":true,\"data-framer-appear-id\":\"nm3c8g\",initial:animation1,layoutDependency:layoutDependency,layoutId:\"BqB1SwKYY\",optimized:true,style:{\"--border-bottom-width\":\"1px\",\"--border-color\":\"rgba(0, 0, 0, 0.07)\",\"--border-left-width\":\"1px\",\"--border-right-width\":\"1px\",\"--border-style\":\"solid\",\"--border-top-width\":\"1px\",backdropFilter:\"blur(8px)\",backgroundColor:\"rgb(255, 255, 255)\",borderBottomLeftRadius:15,borderBottomRightRadius:15,borderTopLeftRadius:15,borderTopRightRadius:15,boxShadow:\"0px 5px 20px 0px rgba(0, 0, 0, 0.08)\",WebkitBackdropFilter:\"blur(8px)\"},children:[/*#__PURE__*/_jsx(Link,{href:\"frameship.io\",motionChild:true,nodeId:\"bjYgIQ5ZX\",openInNewTab:true,scopeId:\"LOQtD1uPa\",children:/*#__PURE__*/_jsx(motion.a,{className:\"framer-185g4gf framer-12itpre\",layoutDependency:layoutDependency,layoutId:\"bjYgIQ5ZX\",children:/*#__PURE__*/_jsx(SVG,{className:\"framer-3oxhc7\",\"data-framer-name\":\"Logo\",layout:\"position\",layoutDependency:layoutDependency,layoutId:\"EOoJvDlBE\",opacity:1,svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 126 20\"><path d=\"M 119.052 18.261 L 115.496 18.261 L 115.496 5 L 120.468 5 C 121.454 5 122.314 5.201 123.048 5.603 C 123.781 5.998 124.351 6.541 124.755 7.23 C 125.16 7.919 125.363 8.699 125.363 9.567 C 125.363 10.437 125.16 11.228 124.755 11.941 C 124.346 12.653 123.756 13.24 123.048 13.64 C 122.314 14.059 121.454 14.27 120.468 14.27 L 119.052 14.27 Z M 119.052 13.217 L 117.449 11.581 L 120.108 11.581 C 120.395 11.583 120.677 11.509 120.927 11.365 C 121.185 11.216 121.393 10.992 121.551 10.692 C 121.71 10.392 121.789 10.018 121.789 9.567 C 121.789 9.118 121.71 8.756 121.551 8.48 C 121.41 8.22 121.191 8.012 120.927 7.886 C 120.672 7.76 120.392 7.695 120.108 7.698 L 117.449 7.698 L 119.052 6.061 Z M 110.457 18.261 L 110.457 5 L 113.961 5 L 113.961 18.261 Z M 108.922 5 L 108.922 18.261 L 105.365 18.261 L 105.365 12.13 L 106.968 13.02 L 99.794 13.02 L 101.396 12.184 L 101.396 18.261 L 97.84 18.261 L 97.84 5 L 101.396 5 L 101.396 11.168 L 99.794 10.314 L 106.968 10.314 L 105.365 11.158 L 105.365 5 Z M 91.486 18.495 C 90.524 18.495 89.661 18.338 88.899 18.027 C 88.136 17.71 87.531 17.239 87.085 16.616 C 86.645 15.992 86.425 15.219 86.425 14.297 L 86.425 13.829 L 89.972 13.829 L 89.972 14.225 C 89.972 14.645 90.098 14.995 90.35 15.277 C 90.609 15.558 90.999 15.699 91.521 15.699 C 92.026 15.699 92.422 15.625 92.709 15.474 C 93.003 15.318 93.149 15.066 93.149 14.719 C 93.149 14.461 93.011 14.222 92.736 14 C 92.466 13.778 92.099 13.568 91.636 13.371 C 91.134 13.157 90.623 12.968 90.104 12.805 C 89.495 12.607 88.91 12.339 88.361 12.005 C 87.825 11.678 87.368 11.232 87.023 10.7 C 86.678 10.161 86.504 9.492 86.504 8.696 C 86.504 7.875 86.727 7.174 87.173 6.592 C 87.619 6.005 88.217 5.555 88.968 5.244 C 89.725 4.932 90.565 4.776 91.486 4.776 C 92.443 4.776 93.296 4.929 94.048 5.234 C 94.804 5.54 95.403 5.99 95.843 6.583 C 96.283 7.177 96.503 7.911 96.503 8.785 L 96.503 9.235 L 92.956 9.235 L 92.956 8.957 C 92.956 8.567 92.847 8.237 92.63 7.967 C 92.419 7.697 92.052 7.563 91.53 7.563 C 91.013 7.563 90.615 7.658 90.333 7.85 C 90.057 8.042 89.919 8.321 89.919 8.687 C 89.919 8.944 90.037 9.172 90.271 9.37 C 90.506 9.561 90.829 9.742 91.24 9.909 C 91.656 10.077 92.125 10.257 92.648 10.448 C 93.434 10.73 94.123 11.042 94.716 11.383 C 95.309 11.719 95.77 12.142 96.099 12.651 C 96.432 13.161 96.6 13.814 96.6 14.611 C 96.6 15.444 96.38 16.151 95.939 16.733 C 95.5 17.308 94.892 17.745 94.118 18.046 C 93.349 18.345 92.472 18.495 91.486 18.495 Z M 78.734 7.698 L 80.337 6.061 L 80.337 11.231 L 79.545 10.26 L 84.209 10.26 L 84.209 12.957 L 79.544 12.957 L 80.336 11.995 L 80.336 17.2 L 78.735 15.563 L 85.186 15.563 L 85.186 18.261 L 76.763 18.261 L 76.763 5 L 85.186 5 L 85.186 7.697 L 78.734 7.697 Z M 69.108 5 L 75.085 5 L 75.085 18.261 L 71.713 18.261 L 71.713 6.933 L 71.775 6.97 L 69.759 18.261 L 65.235 18.261 L 63.158 6.943 L 63.22 6.906 L 63.22 18.261 L 59.84 18.261 L 59.84 5 L 65.817 5 L 67.63 16.877 L 67.268 16.877 Z M 47.127 18.261 L 50.147 5 L 55.789 5 L 58.79 18.261 L 55.155 18.261 L 52.963 7.167 L 52.98 7.167 L 50.763 18.261 Z M 49.768 15.474 L 49.768 12.75 L 56.176 12.75 L 56.176 15.474 Z M 36.388 18.261 L 36.388 5 L 42.145 5 C 43.624 5 44.715 5.336 45.419 6.007 C 46.129 6.672 46.484 7.602 46.484 8.794 C 46.484 9.465 46.358 10.037 46.106 10.511 C 45.854 10.985 45.539 11.35 45.164 11.608 C 44.788 11.866 44.416 12.01 44.046 12.04 C 44.416 12.061 44.777 12.155 45.111 12.318 C 45.44 12.48 45.704 12.741 45.903 13.101 C 46.109 13.454 46.211 13.934 46.211 14.539 L 46.211 16.732 C 46.211 17.05 46.235 17.353 46.282 17.641 C 46.335 17.923 46.414 18.129 46.52 18.261 L 42.963 18.261 C 42.869 18.111 42.796 17.898 42.743 17.623 C 42.695 17.329 42.671 17.031 42.673 16.733 L 42.673 14.952 C 42.673 14.473 42.573 14.096 42.374 13.82 C 42.174 13.538 41.813 13.397 41.291 13.397 L 38.933 13.397 L 39.857 12.291 L 39.857 18.261 Z M 39.857 11.968 L 38.932 10.7 L 41.326 10.7 C 41.626 10.7 41.887 10.637 42.109 10.511 C 42.334 10.39 42.518 10.202 42.637 9.972 C 42.771 9.715 42.838 9.427 42.831 9.136 C 42.831 8.746 42.693 8.408 42.417 8.12 C 42.148 7.833 41.779 7.689 41.309 7.689 L 38.844 7.689 L 39.857 6.61 Z M 28.328 7.697 L 29.93 6.061 L 29.93 11.33 L 28.848 10.476 L 34.198 10.476 L 34.198 13.182 L 28.848 13.182 L 29.93 12.256 L 29.93 18.261 L 26.392 18.261 L 26.392 5 L 34.982 5 L 34.982 7.697 L 28.328 7.697 Z\" fill=\"rgb(64, 212, 26)\"></path><path d=\"M 0.005 5.77 C 0.005 5.569 0.083 5.376 0.223 5.234 C 0.362 5.091 0.551 5.011 0.748 5.011 L 4.761 5.011 L 9.667 0 L 14.573 5.012 L 18.589 5.012 C 18.687 5.012 18.784 5.032 18.874 5.07 C 19.152 5.188 19.333 5.464 19.333 5.771 L 19.333 15.184 C 19.334 16.392 18.864 17.551 18.027 18.406 C 17.19 19.261 16.056 19.741 14.872 19.741 L 4.465 19.741 C 3.282 19.74 2.148 19.26 1.312 18.406 C 0.475 17.551 0.005 16.393 0.005 15.185 L 0.005 9.877 C 2.567 12.493 6.044 13.963 9.669 13.963 C 13.295 13.962 16.771 12.491 19.333 9.875 L 19.333 9.873 L 14.574 5.012 L 4.761 5.011 L 0.005 9.868 Z M 0 9.873 L 0.005 9.87 L 0.005 9.877 Z\" fill=\"rgb(64, 212, 26)\"></path></svg>',svgContentId:11104939045,withExternalLayout:true})})}),/*#__PURE__*/_jsxs(motion.div,{className:\"framer-1dxyonn\",layoutDependency:layoutDependency,layoutId:\"Y9pi3xZ1f\",children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"SW50ZXItRXh0cmFCb2xk\",\"--framer-font-family\":'\"Inter\", \"Inter Placeholder\", sans-serif',\"--framer-font-weight\":\"800\",\"--framer-line-height\":\"1.1em\",\"--framer-text-alignment\":\"left\",\"--framer-text-transform\":\"uppercase\"},children:\"UPGRADE TO Unlock ECOMMERCE\"})}),className:\"framer-4zgcw4\",fonts:[\"Inter-ExtraBold\"],layoutDependency:layoutDependency,layoutId:\"KlPjgIRAY\",style:{\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"SW50ZXItTWVkaXVt\",\"--framer-font-family\":'\"Inter\", \"Inter Placeholder\", sans-serif',\"--framer-font-size\":\"12px\",\"--framer-font-weight\":\"500\",\"--framer-text-alignment\":\"left\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgba(0, 0, 0, 0.7))\"},children:\"Use Shopify on your website with Frameship.\"})}),className:\"framer-1yqk9il\",fonts:[\"Inter-Medium\"],layoutDependency:layoutDependency,layoutId:\"RNWsHiU5i\",style:{\"--extracted-r6o4lv\":\"rgba(0, 0, 0, 0.7)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},verticalAlignment:\"top\",withExternalLayout:true})]}),/*#__PURE__*/_jsx(Link,{href:drrB1JJ6M,motionChild:true,nodeId:\"LJcdgqplR\",openInNewTab:true,scopeId:\"LOQtD1uPa\",children:/*#__PURE__*/_jsx(motion.a,{className:\"framer-1rb48ds framer-12itpre\",layoutDependency:layoutDependency,layoutId:\"LJcdgqplR\",style:{backgroundColor:\"rgb(64, 212, 27)\",borderBottomLeftRadius:8,borderBottomRightRadius:8,borderTopLeftRadius:8,borderTopRightRadius:8},whileHover:animation2,children:/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"SW50ZXItRXh0cmFCb2xk\",\"--framer-font-family\":'\"Inter\", \"Inter Placeholder\", sans-serif',\"--framer-font-size\":\"15px\",\"--framer-font-weight\":\"800\",\"--framer-line-height\":\"1em\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\",\"--framer-text-transform\":\"uppercase\"},children:\"UPGRADE\"})}),className:\"framer-1ucnk5h\",fonts:[\"Inter-ExtraBold\"],layoutDependency:layoutDependency,layoutId:\"VLUiYG2YP\",style:{\"--extracted-r6o4lv\":\"rgb(255, 255, 255)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},verticalAlignment:\"top\",withExternalLayout:true})})})]})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-Rn0up.framer-12itpre, .framer-Rn0up .framer-12itpre { display: block; }\",\".framer-Rn0up.framer-okagad { align-content: flex-start; align-items: flex-start; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 0px; height: 60px; justify-content: flex-start; overflow: visible; padding: 0px; position: relative; width: 620px; }\",\".framer-Rn0up .framer-nm3c8g { align-content: center; align-items: center; display: flex; flex: 1 0 0px; flex-direction: row; flex-wrap: nowrap; gap: 15px; height: 1px; justify-content: center; overflow: hidden; padding: 0px 10px 0px 0px; position: relative; width: 100%; will-change: var(--framer-will-change-override, transform); }\",\".framer-Rn0up .framer-185g4gf { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 100%; justify-content: center; overflow: visible; padding: 0px 0px 3px 20px; position: relative; text-decoration: none; width: min-content; }\",\".framer-Rn0up .framer-3oxhc7 { flex: none; height: 20px; position: relative; width: 126px; }\",\".framer-Rn0up .framer-1dxyonn { align-content: flex-start; align-items: flex-start; display: flex; flex: 1 0 0px; flex-direction: column; flex-wrap: nowrap; gap: 5px; height: min-content; justify-content: center; overflow: visible; padding: 0px; position: relative; width: 1px; }\",\".framer-Rn0up .framer-4zgcw4, .framer-Rn0up .framer-1yqk9il { --framer-text-wrap: balance; flex: none; height: auto; position: relative; white-space: pre-wrap; width: 100%; word-break: break-word; word-wrap: break-word; }\",\".framer-Rn0up .framer-1rb48ds { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 40px; justify-content: center; overflow: visible; padding: 0px 20px 0px 20px; position: relative; text-decoration: none; width: min-content; will-change: var(--framer-will-change-effect-override, transform); }\",\".framer-Rn0up .framer-1ucnk5h { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-Rn0up.framer-okagad, .framer-Rn0up .framer-nm3c8g, .framer-Rn0up .framer-185g4gf, .framer-Rn0up .framer-1dxyonn, .framer-Rn0up .framer-1rb48ds { gap: 0px; } .framer-Rn0up.framer-okagad > * { margin: 0px; margin-bottom: calc(0px / 2); margin-top: calc(0px / 2); } .framer-Rn0up.framer-okagad > :first-child, .framer-Rn0up .framer-1dxyonn > :first-child { margin-top: 0px; } .framer-Rn0up.framer-okagad > :last-child, .framer-Rn0up .framer-1dxyonn > :last-child { margin-bottom: 0px; } .framer-Rn0up .framer-nm3c8g > * { margin: 0px; margin-left: calc(15px / 2); margin-right: calc(15px / 2); } .framer-Rn0up .framer-nm3c8g > :first-child, .framer-Rn0up .framer-185g4gf > :first-child, .framer-Rn0up .framer-1rb48ds > :first-child { margin-left: 0px; } .framer-Rn0up .framer-nm3c8g > :last-child, .framer-Rn0up .framer-185g4gf > :last-child, .framer-Rn0up .framer-1rb48ds > :last-child { margin-right: 0px; } .framer-Rn0up .framer-185g4gf > *, .framer-Rn0up .framer-1rb48ds > * { margin: 0px; margin-left: calc(10px / 2); margin-right: calc(10px / 2); } .framer-Rn0up .framer-1dxyonn > * { margin: 0px; margin-bottom: calc(5px / 2); margin-top: calc(5px / 2); } }\",'.framer-Rn0up[data-border=\"true\"]::after, .framer-Rn0up [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; pointer-events: none; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 60\n * @framerIntrinsicWidth 620\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"drrB1JJ6M\":\"link\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerLOQtD1uPa=withCSS(Component,css,\"framer-Rn0up\");export default FramerLOQtD1uPa;FramerLOQtD1uPa.displayName=\"Frameship Upgrade Banner\";FramerLOQtD1uPa.defaultProps={height:60,width:620};addPropertyControls(FramerLOQtD1uPa,{drrB1JJ6M:{title:\"Link\",type:ControlType.Link}});addFonts(FramerLOQtD1uPa,[{explicitInter:true,fonts:[{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/PONfPc6h4EPYwJliXQBmjVx7QxI.woff2\",weight:\"800\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/zsnJN7Z1wdzUvepJniD3rbvJIyU.woff2\",weight:\"800\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/UrzZBOy7RyJEWAZGduzOeHiHuY.woff2\",weight:\"800\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/996sR9SfSDuYELz8oHhDOcErkY.woff2\",weight:\"800\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/ftN1HpyPVJEoEb4q36SOrNdLXU.woff2\",weight:\"800\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/jN39PDxZWEwjG7Csryx3JN2r2Y.woff2\",weight:\"800\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/JAur4lGGSGRGyrFi59JSIKqVgU.woff2\",weight:\"800\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/5A3Ce6C9YYmCjpQx9M4inSaKU.woff2\",weight:\"500\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/Qx95Xyt0Ka3SGhinnbXIGpEIyP4.woff2\",weight:\"500\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/6mJuEAguuIuMog10gGvH5d3cl8.woff2\",weight:\"500\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/xYYWaj7wCU5zSQH0eXvSaS19wo.woff2\",weight:\"500\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/otTaNuNpVK4RbdlT7zDDdKvQBA.woff2\",weight:\"500\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/d3tHnaQIAeqiE5hGcRw4mmgWYU.woff2\",weight:\"500\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/DolVirEGb34pEXEp8t8FQBSK4.woff2\",weight:\"500\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerLOQtD1uPa\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerDisplayContentsDiv\":\"false\",\"framerComponentViewportWidth\":\"true\",\"framerImmutableVariables\":\"true\",\"framerColorSyntax\":\"true\",\"framerIntrinsicHeight\":\"60\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerIntrinsicWidth\":\"620\",\"framerVariables\":\"{\\\"drrB1JJ6M\\\":\\\"link\\\"}\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./LOQtD1uPa.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{createPortal}from\"react-dom\";import{useEffect,useState}from\"react\";import{hasFrameshipAccess,parseFrameshipData,useCartStore,useCartValidationOnReturn}from\"https://framerusercontent.com/modules/ibjYTPLnMMPhPLNCj4uG/FkITfeSZPOAgcIAyLyDi/Cart.js\";import{UPGRADE_LINK}from\"https://framerusercontent.com/modules/gd3dcT3w5rYoRy7ZcKte/sH6FZizM8jJ11j2dQOhQ/Shared.js\";import FrameshipUpgradeBanner from\"https://framerusercontent.com/modules/b6p2QQlcwhhLAA5Operm/erpgLSZm2BuxCMM1NCPK/LOQtD1uPa.js\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n * @framerDisableUnlink\n */export default function Frameship(props){const isCanvas=RenderTarget.current()===RenderTarget.canvas;const[portalContainer,setPortalContainer]=useState(null);const initializeCart=useCartStore(state=>state.initializeCart);useCartValidationOnReturn();useEffect(()=>{initializeCart?.();},[]);const attributes={};let stagingDomain=\"\";let productionDomain=\"\";if(props.frameshipData){attributes[\"data-frameship-id\"]=props.frameshipData;const frameshipData=parseFrameshipData(props.frameshipData);stagingDomain=frameshipData.stagingDomain;productionDomain=frameshipData.productionDomain;}else{attributes[\"data-frameship-component\"]=true;if(props.shopUrl){attributes[\"data-shop-url\"]=props.shopUrl;}if(props.shopifyAccessToken){attributes[\"data-shopify-access-token\"]=props.shopifyAccessToken;}if(props.productionDomain){attributes[\"data-production-domain\"]=props.productionDomain;}if(props.stagingDomain){attributes[\"data-staging-domain\"]=props.stagingDomain;}stagingDomain=props.stagingDomain;productionDomain=props.productionDomain;}const hasAccess=hasFrameshipAccess(stagingDomain,productionDomain);useEffect(()=>{if(!isCanvas){const container=document.createElement(\"div\");document.body.appendChild(container);setPortalContainer(container);return()=>{document.body.removeChild(container);};}},[]);return /*#__PURE__*/_jsx(\"div\",{...attributes,children:!isCanvas&&portalContainer&&!hasAccess&&/*#__PURE__*/createPortal(/*#__PURE__*/_jsx(\"div\",{style:{position:\"fixed\",left:20,bottom:20},children:/*#__PURE__*/_jsx(FrameshipUpgradeBanner,{link:UPGRADE_LINK})}),portalContainer)});}Frameship.displayName=\"Frameship (Shopify)\";addPropertyControls(Frameship,{frameshipData:{type:ControlType.String,defaultValue:\"\",preventLocalization:true,hidden:()=>true},shopUrl:{type:ControlType.String,defaultValue:\"\",title:\"Shop URL\",preventLocalization:true,hidden:()=>true},shopifyAccessToken:{type:ControlType.String,defaultValue:\"\",preventLocalization:true,hidden:()=>true},productionDomain:{type:ControlType.String,defaultValue:\"\",preventLocalization:true,hidden:()=>true},stagingDomain:{type:ControlType.String,defaultValue:\"\",preventLocalization:true,hidden:()=>true},note:{type:ControlType.Enum,options:[\"IMPORTANT\"],displaySegmentedControl:true,description:\"*Do not delete this component.*\\n\\nThis component is managed by the [Frameship plugin](https://framer.link/L3dGFQc)\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Frameship\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"auto\",\"framerDisableUnlink\":\"\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Frameship.map"],"mappings":"ygBACyD,IAA8K,IAAkE,IAA4B,CAAgC,EAAyC,EAA0B,GAAO,EAAO,IAAI,CAAC,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,CAA8L,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,SAAS,CAAuE,EAAU,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,WAA9H,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,GAAG,KAAK,SAAS,CAAwG,EAAE,EAAE,EAAE,EAAE,CAAO,EAAW,CAAC,QAAQ,KAAK,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,GAAG,CAAyE,EAAW,CAAC,QAAQ,IAAI,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,WAAnI,CAAC,OAAO,IAAI,MAAM,EAAE,SAAS,IAAI,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