{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/hUGYFacPiwjKj6pF8zcm/aQNWsCmmTrFGaN6Y9m71/da3FN2WCv.js", "ssg:https://framerusercontent.com/modules/3ojPh2zgFzLSE9zY1Rbt/P7xQWbkmxWtyqMKtr8LE/ShowLanguageVariant.js"],
  "sourcesContent": ["// Generated by Framer (722666c)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,SmartComponentScopedContainer,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import Embed from\"https://framerusercontent.com/modules/o1PI5S8YtkA5bP5g4dFz/Xr8CO3Ul8Gb7lVfgMKTh/Embed.js\";const EmbedFonts=getFonts(Embed);const cycleOrder=[\"FM55Y51Yd\",\"OvcSlm0Wo\",\"DEOypryxF\"];const serializationHash=\"framer-CMlCb\";const variantClassNames={DEOypryxF:\"framer-v-fmmcsg\",FM55Y51Yd:\"framer-v-lt9wua\",OvcSlm0Wo:\"framer-v-d72hfn\"};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 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 humanReadableVariantMap={English:\"FM55Y51Yd\",French:\"DEOypryxF\",German:\"OvcSlm0Wo\"};const getProps=({height,id,width,...props})=>{return{...props,variant:humanReadableVariantMap[props.variant]??props.variant??\"FM55Y51Yd\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{activeLocale,setLocale}=useLocaleInfo();const{style,className,layoutId,variant,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"FM55Y51Yd\",variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const ref1=React.useRef(null);const defaultLayoutId=React.useId();const componentViewport=useComponentViewport();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-lt9wua\",className,classNames),\"data-framer-name\":\"English\",layoutDependency:layoutDependency,layoutId:\"FM55Y51Yd\",ref:ref??ref1,style:{...style},...addPropertyOverrides({DEOypryxF:{\"data-framer-name\":\"French\"},OvcSlm0Wo:{\"data-framer-name\":\"German\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1ipcbvs-container\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"bFOlvKDgF-container\",nodeId:\"bFOlvKDgF\",rendersWithMotion:true,scopeId:\"da3FN2WCv\",children:/*#__PURE__*/_jsx(Embed,{height:\"100%\",html:'<script src=\"https://wisdomofhappiness.mein-kino.ch/en/iframe.js?type=minimal\"></script>',id:\"bFOlvKDgF\",layoutId:\"bFOlvKDgF\",style:{width:\"100%\"},type:\"html\",url:\"\",width:\"100%\",...addPropertyOverrides({DEOypryxF:{html:'<script src=\"https://wisdomofhappiness.mein-kino.ch/fr/iframe.js?type=minimal\"></script>'},OvcSlm0Wo:{html:'<script src=\"https://wisdomofhappiness.mein-kino.ch/de/iframe.js?type=minimal\"></script>'}},baseVariant,gestureVariant)})})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-CMlCb.framer-1xqyibb, .framer-CMlCb .framer-1xqyibb { display: block; }\",\".framer-CMlCb.framer-lt9wua { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: 864px; }\",\".framer-CMlCb .framer-1ipcbvs-container { flex: 1 0 0px; height: auto; position: relative; width: 1px; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-CMlCb.framer-lt9wua { gap: 0px; } .framer-CMlCb.framer-lt9wua > * { margin: 0px; margin-left: calc(10px / 2); margin-right: calc(10px / 2); } .framer-CMlCb.framer-lt9wua > :first-child { margin-left: 0px; } .framer-CMlCb.framer-lt9wua > :last-child { margin-right: 0px; } }\",\".framer-CMlCb.framer-v-d72hfn .framer-1ipcbvs-container, .framer-CMlCb.framer-v-fmmcsg .framer-1ipcbvs-container { order: 0; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 303\n * @framerIntrinsicWidth 864\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"OvcSlm0Wo\":{\"layout\":[\"fixed\",\"auto\"]},\"DEOypryxF\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const Framerda3FN2WCv=withCSS(Component,css,\"framer-CMlCb\");export default Framerda3FN2WCv;Framerda3FN2WCv.displayName=\"CinemaFinder\";Framerda3FN2WCv.defaultProps={height:303,width:864};addPropertyControls(Framerda3FN2WCv,{variant:{options:[\"FM55Y51Yd\",\"OvcSlm0Wo\",\"DEOypryxF\"],optionTitles:[\"English\",\"German\",\"French\"],title:\"Variant\",type:ControlType.Enum}});addFonts(Framerda3FN2WCv,[{explicitInter:true,fonts:[]},...EmbedFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"Framerda3FN2WCv\",\"slots\":[],\"annotations\":{\"framerImmutableVariables\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"OvcSlm0Wo\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"DEOypryxF\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\",\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicHeight\":\"303\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"864\",\"framerDisplayContentsDiv\":\"false\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./da3FN2WCv.map", "import{jsx as _jsx}from\"react/jsx-runtime\";import{useState,useEffect}from\"react\";export function ShowLinguanaVariant(){// State to store the current language\nconst[lang,setLang]=useState(\"en\");useEffect(()=>{// Function to read the <html lang> attribute\nconst readLang=()=>{if(typeof document!==\"undefined\"){return document.documentElement.lang||\"en\";}return\"en\";};// 1) Initialize lang state\nsetLang(readLang());// 2) Observe changes to <html lang> attribute\nconst observer=new MutationObserver(()=>{setLang(readLang());});// Start observing <html> for attribute changes\nobserver.observe(document.documentElement,{attributes:true,attributeFilter:[\"lang\"]});// Cleanup: disconnect observer when component unmounts\nreturn()=>{observer.disconnect();};},[]);// Decide which variant to show\nlet variantName=\"English\";if(lang.startsWith(\"de\")){variantName=\"German\";}else if(lang.startsWith(\"fr\")){variantName=\"French\";}else if(lang.startsWith(\"es\")){variantName=\"English\";}else if(lang.startsWith(\"de-ch\")){variantName=\"German\";}else if(lang.startsWith(\"it\")){variantName=\"English\";}return{variant:variantName};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withShowLinguanaVariant(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...ShowLinguanaVariant(props)});};}withShowLinguanaVariant.displayName=\"ShowLinguanaVariant\";\nexport const __FramerMetadata__ = {\"exports\":{\"ShowLinguanaVariant\":{\"type\":\"override\",\"name\":\"ShowLinguanaVariant\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withShowLinguanaVariant\":{\"type\":\"reactHoc\",\"name\":\"withShowLinguanaVariant\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ShowLanguageVariant.map"],
  "mappings": "iUAAA,IAAAA,GAAA,GAAAC,EAAAD,GAAA,wBAAAE,GAAA,YAAAC,KACib,IAAMC,EAAWC,EAASC,CAAK,EAAQC,EAAW,CAAC,YAAY,YAAY,WAAW,EAAQC,EAAkB,eAAqBC,EAAkB,CAAC,UAAU,kBAAkB,UAAU,kBAAkB,UAAU,iBAAiB,EAAE,SAASC,EAAqBC,KAAaC,EAAS,CAAC,IAAMC,EAAc,CAAC,EAAE,OAAAD,GAAU,QAAQE,GAASA,GAAS,OAAO,OAAOD,EAAcF,EAAUG,CAAO,CAAC,CAAC,EAASD,CAAc,CAAC,IAAME,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,QAAQ,EAAQC,GAAW,CAAC,CAAC,MAAAC,EAAM,SAAAC,CAAQ,IAAI,CAAC,IAAMC,EAAaC,EAAWC,CAAmB,EAAQC,EAAWL,GAAOE,EAAO,WAAiBI,EAAmBC,EAAQ,KAAK,CAAC,GAAGL,EAAO,WAAAG,CAAU,GAAG,CAAC,KAAK,UAAUA,CAAU,CAAC,CAAC,EAAE,OAAoBG,EAAKJ,EAAoB,SAAS,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etadata__", "da3FN2WCv_default", "EmbedFonts", "getFonts", "Embed", "cycleOrder", "serializationHash", "variantClassNames", "addPropertyOverrides", "overrides", "variants", "nextOverrides", "variant", "transition1", "Transition", "value", "children", "config", "re", "MotionConfigContext", "transition", "contextValue", "se", "p", "Variants", "motion", "x", "humanReadableVariantMap", "getProps", "height", "id", "width", "props", "createLayoutDependency", "Component", "Y", "ref", "activeLocale", "setLocale", "useLocaleInfo", "style", "className", "layoutId", "restProps", "baseVariant", "classNames", "clearLoadingGesture", "gestureHandlers", "gestureVariant", "isLoading", "setGestureState", "setVariant", "useVariantState", "layoutDependency", "scopingClassNames", "cx", "ref1", "pe", "defaultLayoutId", "ae", "componentViewport", "useComponentViewport", "LayoutGroup", "ComponentViewportProvider", "SmartComponentScopedContainer", "css", "Framerda3FN2WCv", "withCSS", "da3FN2WCv_default", "addPropertyControls", "ControlType", "addFonts", "__FramerMetadata__", "ShowLinguanaVariant", "lang", "setLang", "ye", "ue", "readLang", "observer", "variantName", "withShowLinguanaVariant", "C", "props", "re", "DataObserverContext", "p"]
}
