{"version":3,"file":"InfoBoxController.Bc7cUeq9.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","sharedStyle.className","className","RichText","sharedStyle.css","sharedStyle.fonts","initialState","useStore","useState","useCallback","InfoBox","useState","useEnrollmentsState","useVipOfferState"],"sources":["https:/framerusercontent.com/modules/ccPTfVt235KUYrxWbqs2/LwQU5Gz2eJaiXtGCX0P0/FeGpS3w1y.js","https:/framer.com/m/InfoBox-fcgd4b.js","https:/framerusercontent.com/modules/2rkmW1lxlzoMFa51ZtZ2/GJOKfRkJJtHriwsCKfr8/sharedState.js","https:/framerusercontent.com/modules/1kmmXd9UZnl5Xk4rJ0VH/OJU7zRcMoJNBGbJtj46q/calendarDate.js","https:/framerusercontent.com/modules/tqqFT5j9V8bQ1zDUp7VC/TIPNjVFFpZkFViMCXLaa/polishMonthInPhrase.js","https:/framerusercontent.com/modules/jydSiKnczvTX3P3bwLdN/kdbWqH8eBz5anFJAcFxI/polishWeekdayInPhrase.js","https:/framerusercontent.com/modules/kf0PhSfeHdPDI9J8wAlC/uNktqgEnGUtbPv9t4wcT/InfoBoxController.js"],"sourcesContent":["// Generated by Framer (1067533)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getFontsFromSharedStyle,Link,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import*as sharedStyle from\"https://framerusercontent.com/modules/CeW4TNeuFI9JDwIAUBwa/w8VZNi4IkyUrh187ozZ6/UrHXUzF0f.js\";const cycleOrder=[\"FIUSEfaNX\",\"Sc7uH1yp8\",\"ob9r8uj5B\",\"JJOpq6dBj\",\"Q2BAvLeOU\",\"hDVj0Ys0Y\",\"O2kxG3mj4\",\"cYjw7GH7S\",\"cDb_2J4Qn\"];const serializationHash=\"framer-LITc0\";const variantClassNames={cDb_2J4Qn:\"framer-v-5wikrx\",cYjw7GH7S:\"framer-v-zwdm4a\",FIUSEfaNX:\"framer-v-pbwhak\",hDVj0Ys0Y:\"framer-v-ityxz5\",JJOpq6dBj:\"framer-v-1hzzatv\",O2kxG3mj4:\"framer-v-12lxt90\",ob9r8uj5B:\"framer-v-1p5gr55\",Q2BAvLeOU:\"framer-v-14v8xy3\",Sc7uH1yp8:\"framer-v-nhwx3d\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const t3Vq5ZYf4=undefined;const ETPMqSvdF=undefined;const MTMjfJDbp=undefined;const wAFIzuXs6=undefined;const Up6tHCg2R=undefined;const transition1={delay:0,duration:.55,ease:[.4,0,.2,1],type:\"tween\"};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 humanReadableVariantMap={\"Desktop Closed\":\"Q2BAvLeOU\",\"Desktop Offset\":\"hDVj0Ys0Y\",\"Phone Offset\":\"cDb_2J4Qn\",\"Tablet lg Offset\":\"O2kxG3mj4\",\"Tablet lg\":\"Sc7uH1yp8\",\"Tablet Offset\":\"cYjw7GH7S\",Desktop:\"FIUSEfaNX\",Phone:\"JJOpq6dBj\",Tablet:\"ob9r8uj5B\"};const Variants=motion.create(React.Fragment);const getProps=({backgroundColor,height,id,link,showInfoBox,text,textColor,width,...props})=>{return{...props,ETPMqSvdF:backgroundColor??props.ETPMqSvdF??\"var(--token-54b4f252-fbe7-4d63-99e6-09b471712201, rgb(14, 16, 19))\",MTMjfJDbp:link??props.MTMjfJDbp,t3Vq5ZYf4:showInfoBox??props.t3Vq5ZYf4,Up6tHCg2R:text??props.Up6tHCg2R??\"Zapisy zakończone! Dziękujemy za udział.\",variant:humanReadableVariantMap[props.variant]??props.variant??\"FIUSEfaNX\",wAFIzuXs6:textColor??props.wAFIzuXs6??\"var(--token-1d1cace8-9468-4e9d-a42d-f65745c94f6e, rgb(255, 255, 255))\"};};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,t3Vq5ZYf4,MTMjfJDbp,Up6tHCg2R,wAFIzuXs6,ETPMqSvdF,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"FIUSEfaNX\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[sharedStyle.className];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const isDisplayed=()=>{if([\"hDVj0Ys0Y\",\"O2kxG3mj4\",\"cYjw7GH7S\",\"cDb_2J4Qn\"].includes(baseVariant))return false;return true;};return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:t3Vq5ZYf4!==false&&/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(Link,{href:MTMjfJDbp,motionChild:true,nodeId:\"FIUSEfaNX\",openInNewTab:false,scopeId:\"FeGpS3w1y\",...addPropertyOverrides({cDb_2J4Qn:{href:undefined},cYjw7GH7S:{href:undefined},hDVj0Ys0Y:{href:undefined},O2kxG3mj4:{href:undefined}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(motion.a,{...restProps,...gestureHandlers,className:`${cx(scopingClassNames,\"framer-pbwhak\",className,classNames)} framer-ru4qq8`,\"data-framer-name\":\"Desktop\",layoutDependency:layoutDependency,layoutId:\"FIUSEfaNX\",ref:refBinding,style:{backgroundColor:ETPMqSvdF,opacity:1,...style},variants:{cDb_2J4Qn:{backgroundColor:\"rgba(0, 0, 0, 0)\",opacity:1},cYjw7GH7S:{backgroundColor:\"rgba(0, 0, 0, 0)\",opacity:1},hDVj0Ys0Y:{backgroundColor:\"rgba(0, 0, 0, 0)\",opacity:1},O2kxG3mj4:{backgroundColor:\"rgba(0, 0, 0, 0)\",opacity:1},Q2BAvLeOU:{opacity:0}},...addPropertyOverrides({cDb_2J4Qn:{\"data-framer-name\":\"Phone Offset\"},cYjw7GH7S:{\"data-framer-name\":\"Tablet Offset\"},hDVj0Ys0Y:{\"data-framer-name\":\"Desktop Offset\"},JJOpq6dBj:{\"data-framer-name\":\"Phone\"},O2kxG3mj4:{\"data-framer-name\":\"Tablet lg Offset\"},ob9r8uj5B:{\"data-framer-name\":\"Tablet\"},Q2BAvLeOU:{\"data-framer-name\":\"Desktop Closed\"},Sc7uH1yp8:{\"data-framer-name\":\"Tablet lg\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-8see5v\",layoutDependency:layoutDependency,layoutId:\"TbrnAAla4\",children:isDisplayed()&&/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-i24mj3\",\"data-styles-preset\":\"UrHXUzF0f\",dir:\"auto\",style:{\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--variable-reference-wAFIzuXs6-FeGpS3w1y))\"},children:\"Zapisy zakończone. Dziękujemy za udział.\"})}),className:\"framer-p5ily5\",\"data-framer-name\":\"Text\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"J_B5NyDej\",style:{\"--extracted-r6o4lv\":\"var(--variable-reference-wAFIzuXs6-FeGpS3w1y)\",\"--framer-paragraph-spacing\":\"0px\",\"--variable-reference-wAFIzuXs6-FeGpS3w1y\":wAFIzuXs6},text:Up6tHCg2R,verticalAlignment:\"top\",withExternalLayout:true})})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-LITc0.framer-ru4qq8, .framer-LITc0 .framer-ru4qq8 { display: block; }\",\".framer-LITc0.framer-pbwhak { align-content: center; align-items: center; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 0px; height: 32px; justify-content: center; overflow: hidden; padding: 0px; position: relative; text-decoration: none; width: 1280px; }\",\".framer-LITc0 .framer-8see5v { align-content: center; align-items: center; display: flex; flex: 1 0 0px; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 1px; justify-content: center; overflow: visible; padding: 0px 16px 0px 16px; position: relative; width: 100%; }\",\".framer-LITc0 .framer-p5ily5 { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\".framer-LITc0.framer-v-nhwx3d.framer-pbwhak, .framer-LITc0.framer-v-12lxt90.framer-pbwhak { width: 850px; }\",\".framer-LITc0.framer-v-1p5gr55.framer-pbwhak, .framer-LITc0.framer-v-zwdm4a.framer-pbwhak { width: 640px; }\",\".framer-LITc0.framer-v-1hzzatv.framer-pbwhak, .framer-LITc0.framer-v-5wikrx.framer-pbwhak { width: 360px; }\",\".framer-LITc0.framer-v-14v8xy3.framer-pbwhak { height: 1px; }\",\".framer-LITc0.framer-v-14v8xy3 .framer-p5ily5 { z-index: 1; }\",...sharedStyle.css];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 32\n * @framerIntrinsicWidth 1280\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"Sc7uH1yp8\":{\"layout\":[\"fixed\",\"fixed\"]},\"ob9r8uj5B\":{\"layout\":[\"fixed\",\"fixed\"]},\"JJOpq6dBj\":{\"layout\":[\"fixed\",\"fixed\"]},\"Q2BAvLeOU\":{\"layout\":[\"fixed\",\"fixed\"]},\"hDVj0Ys0Y\":{\"layout\":[\"fixed\",\"fixed\"]},\"O2kxG3mj4\":{\"layout\":[\"fixed\",\"fixed\"]},\"cYjw7GH7S\":{\"layout\":[\"fixed\",\"fixed\"]},\"cDb_2J4Qn\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"t3Vq5ZYf4\":\"showInfoBox\",\"MTMjfJDbp\":\"link\",\"Up6tHCg2R\":\"text\",\"wAFIzuXs6\":\"textColor\",\"ETPMqSvdF\":\"backgroundColor\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerFeGpS3w1y=withCSS(Component,css,\"framer-LITc0\");export default FramerFeGpS3w1y;FramerFeGpS3w1y.displayName=\"InfoBox\";FramerFeGpS3w1y.defaultProps={height:32,width:1280};addPropertyControls(FramerFeGpS3w1y,{variant:{options:[\"FIUSEfaNX\",\"Sc7uH1yp8\",\"ob9r8uj5B\",\"JJOpq6dBj\",\"Q2BAvLeOU\",\"hDVj0Ys0Y\",\"O2kxG3mj4\",\"cYjw7GH7S\",\"cDb_2J4Qn\"],optionTitles:[\"Desktop\",\"Tablet lg\",\"Tablet\",\"Phone\",\"Desktop Closed\",\"Desktop Offset\",\"Tablet lg Offset\",\"Tablet Offset\",\"Phone Offset\"],title:\"Variant\",type:ControlType.Enum},t3Vq5ZYf4:{defaultValue:false,title:\"Show Info Box\",type:ControlType.Boolean},ont3Vq5ZYf4Change:{changes:\"t3Vq5ZYf4\",type:ControlType.ChangeHandler},MTMjfJDbp:{title:\"Link\",type:ControlType.Link},Up6tHCg2R:{defaultValue:\"Zapisy zakończone! Dziękujemy za udział.\",description:\"Max 30 letters\",displayTextArea:true,title:\"Text\",type:ControlType.String},onUp6tHCg2RChange:{changes:\"Up6tHCg2R\",type:ControlType.ChangeHandler},wAFIzuXs6:{defaultValue:\"var(--token-1d1cace8-9468-4e9d-a42d-f65745c94f6e, rgb(255, 255, 255))\",title:\"Text Color\",type:ControlType.Color},ETPMqSvdF:{defaultValue:'var(--token-54b4f252-fbe7-4d63-99e6-09b471712201, rgb(14, 16, 19)) /* {\"name\":\"958 Gray\"} */',title:\"Background Color\",type:ControlType.Color}});addFonts(FramerFeGpS3w1y,[{explicitInter:true,fonts:[{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/5vvr9Vy74if2I6bQbJvbw7SY1pQ.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/Y9k9QrlZAqio88Klkmbd8VoMQc.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/OYrD2tBIBPvoJXiIHnLoOXnY9M.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",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/JeYwfuaPfZHQhEG8U5gtPDZ7WQ.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/GrgcKwrN6d3Uz8EwcLHZxwEfC4.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",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/b6Y37FthZeALduNqHicBT6FutY.woff2\",weight:\"400\"}]},...getFontsFromSharedStyle(sharedStyle.fonts)],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerFeGpS3w1y\",\"slots\":[],\"annotations\":{\"framerVariables\":\"{\\\"t3Vq5ZYf4\\\":\\\"showInfoBox\\\",\\\"MTMjfJDbp\\\":\\\"link\\\",\\\"Up6tHCg2R\\\":\\\"text\\\",\\\"wAFIzuXs6\\\":\\\"textColor\\\",\\\"ETPMqSvdF\\\":\\\"backgroundColor\\\"}\",\"framerImmutableVariables\":\"true\",\"framerColorSyntax\":\"true\",\"framerContractVersion\":\"1\",\"framerDisplayContentsDiv\":\"false\",\"framerAutoSizeImages\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"Sc7uH1yp8\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"ob9r8uj5B\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"JJOpq6dBj\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"Q2BAvLeOU\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"hDVj0Ys0Y\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"O2kxG3mj4\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"cYjw7GH7S\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"cDb_2J4Qn\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerIntrinsicWidth\":\"1280\",\"framerIntrinsicHeight\":\"32\",\"framerComponentViewportWidth\":\"true\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FeGpS3w1y.map","/*\n * InfoBox\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/ccPTfVt235KUYrxWbqs2/LwQU5Gz2eJaiXtGCX0P0/FeGpS3w1y.js\"\nexport { default } from \"https://framerusercontent.com/modules/ccPTfVt235KUYrxWbqs2/LwQU5Gz2eJaiXtGCX0P0/FeGpS3w1y.js\"\n","import{useState,useEffect,useCallback}from\"react\";const STORE_KEY=\"__vip-offer_shared_state__\";function buildStaticStore(initialState){let state={...initialState};const listeners=new Map;return{get(key){return state[key];},getState(){return{...state};},setState(patch){const changedKeys=Object.keys(patch).filter(key=>!Object.is(state[key],patch[key]));if(changedKeys.length===0)return;state={...state,...patch};changedKeys.forEach(key=>{listeners.get(key)?.forEach(listener=>listener(state[key]));});},subscribe(key,callback){const set=listeners.get(key)??new Set;set.add(callback);listeners.set(key,set);return()=>{set.delete(callback);if(set.size===0)listeners.delete(key);};}};}function getOrCreateStaticStore(initialState){if(typeof window!==\"undefined\"&&window[STORE_KEY]){return window[STORE_KEY];}const store=buildStaticStore(initialState);if(typeof window!==\"undefined\"){window[STORE_KEY]=store;}return store;}export const initialState={ready:false,preview:\"Production\",phase:\"AWAIT\",openDate:{date:\"2025-01-01\",hour:0,minute:0,second:0}};export const staticState=getOrCreateStaticStore(initialState);export function useStore(){const[state,setState]=useState(staticState.getState());useEffect(()=>{const unsubs=Object.keys(initialState).map(key=>staticState.subscribe(key,()=>setState(staticState.getState())));setState(staticState.getState());return()=>unsubs.forEach(u=>u());},[]);const setStore=useCallback(patch=>staticState.setState(patch),[]);return[state,setStore];}\nexport const __FramerMetadata__ = {\"exports\":{\"initialState\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"staticState\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useStore\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./sharedState.map","/**\n * Parse Y-M-D from an ISO-like string as a local calendar date (avoids UTC midnight shifts).\n */export function parseLocalCalendarDate(input){const datePart=input.split(\"T\")[0];const[y,m,day]=datePart.split(\"-\").map(Number);if(!y||!m||!day){return new Date(NaN);}return new Date(y,m-1,day);}\nexport const __FramerMetadata__ = {\"exports\":{\"parseLocalCalendarDate\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./calendarDate.map","import{parseLocalCalendarDate}from\"https://framerusercontent.com/modules/1kmmXd9UZnl5Xk4rJ0VH/OJU7zRcMoJNBGbJtj46q/calendarDate.js\";/**\n * Nominative vs genitive used in date phrases (e.g. \"9 kwietnia\"). Month order 1–12.\n */const MONTH_FORMS=[{nominative:\"styczeń\",inPhrase:\"stycznia\"},{nominative:\"luty\",inPhrase:\"lutego\"},{nominative:\"marzec\",inPhrase:\"marca\"},{nominative:\"kwiecień\",inPhrase:\"kwietnia\"},{nominative:\"maj\",inPhrase:\"maja\"},{nominative:\"czerwiec\",inPhrase:\"czerwca\"},{nominative:\"lipiec\",inPhrase:\"lipca\"},{nominative:\"sierpień\",inPhrase:\"sierpnia\"},{nominative:\"wrzesień\",inPhrase:\"września\"},{nominative:\"październik\",inPhrase:\"października\"},{nominative:\"listopad\",inPhrase:\"listopada\"},{nominative:\"grudzień\",inPhrase:\"grudnia\"}];function resolveMonthForms(month1to12){const idx=month1to12-1;if(idx<0||idx>11)return undefined;return MONTH_FORMS[idx];}function month1to12FromInput(input){if(typeof input===\"number\")return input;const date=typeof input===\"string\"?parseLocalCalendarDate(input):input;if(Number.isNaN(date.getTime()))return NaN;return date.getMonth()+1;}/** Nominative: \"kwiecień\", \"maj\", … */export function getPolishMonthNominative(input){return resolveMonthForms(month1to12FromInput(input))?.nominative??\"\";}/** Genitive for calendar phrases: \"kwietnia\", \"maja\", … */export function getPolishMonthInPhrase(input){return resolveMonthForms(month1to12FromInput(input))?.inPhrase??\"\";}\nexport const __FramerMetadata__ = {\"exports\":{\"getPolishMonthInPhrase\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getPolishMonthNominative\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{parseLocalCalendarDate}from\"https://framerusercontent.com/modules/1kmmXd9UZnl5Xk4rJ0VH/OJU7zRcMoJNBGbJtj46q/calendarDate.js\";/**\n * JS Date.getDay(): 0 = Sunday, 1 = Monday, … 6 = Saturday.\n * Single source for nominative labels and accusative \"w/we …\" phrases.\n */const WEEKDAY_FORMS=[{nominative:\"niedziela\",inPhrase:\"w niedzielę\"},{nominative:\"poniedziałek\",inPhrase:\"w poniedziałek\"},{nominative:\"wtorek\",inPhrase:\"we wtorek\"},{nominative:\"środa\",inPhrase:\"w środę\"},{nominative:\"czwartek\",inPhrase:\"w czwartek\"},{nominative:\"piątek\",inPhrase:\"w piątek\"},{nominative:\"sobota\",inPhrase:\"w sobotę\"}];function resolveWeekdayForms(input){const date=typeof input===\"string\"?parseLocalCalendarDate(input):input;return WEEKDAY_FORMS[date.getDay()];}/**\n * Nominative weekday: \"poniedziałek\", \"wtorek\", …\n */export function getPolishWeekdayNominative(input){return resolveWeekdayForms(input)?.nominative??\"\";}/**\n * Accusative with \"w\"/\"we\": \"w poniedziałek\", \"we wtorek\", \"w środę\", …\n */export function getPolishWeekdayInPhrase(input){return resolveWeekdayForms(input)?.inPhrase??\"\";}\nexport const __FramerMetadata__ = {\"exports\":{\"getPolishWeekdayNominative\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getPolishWeekdayInPhrase\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx}from\"react/jsx-runtime\";import{useState,useEffect}from\"react\";import{addPropertyControls,ControlType}from\"framer\";import InfoBox from\"https://framer.com/m/InfoBox-fcgd4b.js\";import{useScrollDirection}from\"https://framerusercontent.com/modules/yaG3EDg1ksehG8hcEqMW/SRm2rSBcUKXzISW2MPGa/useScrollDirection.js\";import{useStore as useEnrollmentsState}from\"https://framerusercontent.com/modules/FkmJ1kHoxAImD2Giaytq/Besl8iM9TSw8tYhNHcR3/sharedState.js\";import{useStore as useVipOfferState}from\"https://framerusercontent.com/modules/2rkmW1lxlzoMFa51ZtZ2/GJOKfRkJJtHriwsCKfr8/sharedState.js\";import{getPolishMonthInPhrase}from\"https://framerusercontent.com/modules/tqqFT5j9V8bQ1zDUp7VC/TIPNjVFFpZkFViMCXLaa/polishMonthInPhrase.js\";import{getPolishWeekdayNominative}from\"https://framerusercontent.com/modules/jydSiKnczvTX3P3bwLdN/kdbWqH8eBz5anFJAcFxI/polishWeekdayInPhrase.js\";import{color}from\"https://framerusercontent.com/modules/Xmo2Tlgm0wzWTIX2YULD/1WkZ4AXScLZDBoplRxcs/Color.js\";import{responsiveValues}from\"https://framerusercontent.com/modules/sYoafiJLUPQ4aJjq2GfN/qMTjnBtOaltWW3IYk10d/Responsive.js\";// -------------------------------------------------------------\n// Consts\n// -------------------------------------------------------------\nconst ENROLLMENTS_SHOW_INFO_BOX=true;const VIP_OFFER_SHOW_INFO_BOX=true;const DEFAULT_TEXT_COLOR=color.pureWhite;const DEFAULT_BACKGROUND_COLOR=color.gray[\"958\"];const ENROLLMENTS_OPEN_TEXT=\"Zapisy otwarte. Liczba miejsc jest ograniczona.\";const ENROLLMENTS_CLOSED_TEXT=\"Zapisy zakończone - wszystkie miejsca zostały zajęte.\";/** Same enrollment-ended meaning as CLOSED; shown when phase is CLOSED */const ENROLLMENTS_CLOSED_VIP_TEXT=ENROLLMENTS_CLOSED_TEXT;// -------------------------------------------------------------\n// Utility Functions\n// -------------------------------------------------------------\nfunction resolveEnrollmentsText(state){const{phase,openDate,closedVariant}=state;if(phase===\"AWAIT\"){if(!openDate)return\"\";return getComposedAwaitText(openDate.date,openDate.hour,openDate.minute);}if(phase===\"OPEN\")return ENROLLMENTS_OPEN_TEXT;if(phase===\"CLOSED\"){return closedVariant===\"WITH_VIP\"?ENROLLMENTS_CLOSED_VIP_TEXT:ENROLLMENTS_CLOSED_TEXT;}return\"\";}function resolveVipOfferText(state){const{phase}=state;if(phase===\"AWAIT\"||phase===\"CLOSED\")return\"Wszystkie miejsca VIP zostały zajęte\";if(phase===\"OPEN\")return\"Miejsca VIP dostępne. Liczba miejsc jest ograniczona.\";return\"\";}function getComposedAwaitText(openDate,openHour,openMinute){const[,,day]=openDate.split(\"T\")[0].split(\"-\");const openDay=Number(day);const weekday=getPolishWeekdayNominative(openDate);const monthName=getPolishMonthInPhrase(openDate);return`Start Zapis\\xf3w: ${weekday}, ${openDay} ${monthName} o ${openHour}:${String(openMinute).padStart(2,\"0\")}`;}// -------------------------------------------------------------\n// Types\n// -------------------------------------------------------------\nexport const values={type:[\"Animated\",\"Fixed\",\"Offset\"],config:[\"GLOBAL\",\"CUSTOM\",\"ENROLLMENTS\",\"VIP_OFFER\"]};// -------------------------------------------------------------\n// Component\n// -------------------------------------------------------------\n/**\n * These annotations control how your component sizes\n * Learn more: https://www.framer.com/developers/components/auto-sizing\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function InfoBoxController({type,responsive,config,showInfoBox:showInfoBoxProp,text:textProp,textColor:textColorProp=DEFAULT_TEXT_COLOR,backgroundColor:backgroundColorProp=DEFAULT_BACKGROUND_COLOR,...props}){const showInfoBox=config===\"CUSTOM\"&&showInfoBoxProp||config===\"ENROLLMENTS\"&&ENROLLMENTS_SHOW_INFO_BOX||config===\"VIP_OFFER\"&&VIP_OFFER_SHOW_INFO_BOX;if(type===\"Offset\")return /*#__PURE__*/_jsx(InfoBox,{...props,variant:`${responsive} Offset`,...config!==\"GLOBAL\"&&{showInfoBox}});const scrollDirection=useScrollDirection();const[variant,setVariant]=useState(responsive);const[enrollmentsState,setEnrollmentsState]=useEnrollmentsState();const[vipOfferState,setVipOfferState]=useVipOfferState();console.log(vipOfferState);const text=config===\"CUSTOM\"&&textProp||config===\"ENROLLMENTS\"&&resolveEnrollmentsText(enrollmentsState)||config===\"VIP_OFFER\"&&resolveVipOfferText(vipOfferState);const textColor=config===\"CUSTOM\"&&textColorProp||DEFAULT_TEXT_COLOR;const backgroundColor=config===\"CUSTOM\"&&backgroundColorProp||config===\"VIP_OFFER\"&&color.strawberry[\"400\"]||DEFAULT_BACKGROUND_COLOR;function updateVariant(){let _variant=responsive;if(scrollDirection===\"down\"){if(responsive===\"Desktop\"&&type===\"Animated\")_variant=\"Desktop Closed\";}setVariant(_variant);}useEffect(()=>{updateVariant();},[]);useEffect(()=>{updateVariant();},[scrollDirection,responsive,type]);return /*#__PURE__*/_jsx(\"div\",{style:{...props.style},children:/*#__PURE__*/_jsx(InfoBox,{...props,variant:variant,...config!==\"GLOBAL\"&&{text,showInfoBox,textColor,backgroundColor}})});}const InfoBoxControllerPropertyControls={type:{type:ControlType.Enum,options:[...values.type]},responsive:{type:ControlType.Enum,options:[...responsiveValues.Full]},config:{type:ControlType.Enum,options:[...values.config]},showInfoBox:{type:ControlType.Boolean,hidden:({config,type})=>config!==\"CUSTOM\"},link:{type:ControlType.Link,hidden:({config,type})=>type===\"Offset\"},text:{type:ControlType.String,hidden:({config,type})=>config===\"GLOBAL\"||type===\"Offset\"},textColor:{type:ControlType.Color,defaultValue:DEFAULT_TEXT_COLOR,hidden:({config,type})=>config===\"GLOBAL\"||type===\"Offset\"},backgroundColor:{type:ControlType.Color,defaultValue:DEFAULT_BACKGROUND_COLOR,hidden:({config,type})=>config===\"GLOBAL\"||type===\"Offset\"}};addPropertyControls(InfoBoxController,InfoBoxControllerPropertyControls);\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"InfoBoxController\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\"}},\"InfoBoxControllerProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"values\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./InfoBoxController.map"],"mappings":"6mBAC63B,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,yCAA1/B,IAAiK,IAAkE,IAA4B,KAAmJ,CAAM,EAAW,CAAC,YAAY,YAAY,YAAY,YAAY,YAAY,YAAY,YAAY,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,UAAU,kBAAkB,UAAU,kBAAkB,UAAU,kBAAkB,UAAU,mBAAmB,UAAU,mBAAmB,UAAU,mBAAmB,UAAU,mBAAmB,UAAU,kBAAkB,CAAgU,EAAY,CAAC,MAAM,EAAE,SAAS,IAAI,KAAK,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC,KAAK,QAAQ,CAAO,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOA,EAAiB,EAAoB,CAAO,EAAW,GAAO,EAAO,WAAiB,EAAaC,OAAmB,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