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EAAE,yBACFC,OAAO,UACP,eAAa,IACb,oBAAkB,KAClB,kBAAgB,WAEjB,iBACCD,EAAE,iBACFC,OAAO,UACP,eAAa,IACb,oBAAkB,KAClB,kBAAgB,WAEjB,iBACCD,EAAE,mCACFC,OAAO,UACP,eAAa,IACb,oBAAkB,KAClB,iBAAe,WAEhB,iBACCD,EAAE,mCACFC,OAAO,UACP,eAAa,IACb,oBAAkB,KAClB,iBAAe,cAGjB,iBAAMnD,UAAWR,EAAIwC,MAArB,SAAsC,OAATG,EAAgB,aAAe","sources":["components/bookmark/index.jsx","components/treatments/bookmark.jsx","components/voucherButton/index.jsx"],"sourcesContent":["import React, { lazy, Suspense, useState } from \"react\";\nimport clsx from \"clsx\";\nimport makeStyles from \"@material-ui/styles/makeStyles\";\n\nconst ReactSVGIcon = lazy(() =>\n\timport(/* webpackChunkName: \"reactSVGIcon\" */ \"@micado-digital/react-svg-icon/ReactSVGIcon\")\n);\nconst BookmarkCount = lazy(() =>\n\timport(\n\t\t/* webpackChunkName: \"bookmarkCount\" */ \"@micado-digital/react-bookmark/ReactBookmark/bookmarkCount\"\n\t)\n);\nconst ReactLink = lazy(() =>\n\timport(/* webpackChunkName: \"reactLink\" */ \"@micado-digital/react-link/ReactLink\")\n);\n\nconst useStyles = makeStyles(theme => ({\n\tbookmark: {\n\t\talignItems: \"center\",\n\t\tbackground: \"#E87A74\",\n\t\tborderBottomLeftRadius: 4,\n\t\tborderTopLeftRadius: 4,\n\t\tcolor: \"#FFFFFF\",\n\t\tcursor: \"pointer\",\n\t\tdisplay: \"flex\",\n\t\theight: 48,\n\t\tjustifyContent: \"center\",\n\t\tpadding: theme?.spacing(1),\n\t\tposition: \"fixed\",\n\t\ttop: \"50%\",\n\t\ttransform: \"translate(100%, -50%)\",\n\t\ttransition: theme.transitions.create([\"transform\"], {\n\t\t\tduration: theme.transitions.duration.complex\n\t\t}),\n\t\tright: 0,\n\t\twidth: 48,\n\t\tzIndex: 1000,\n\t\t\"&:hover .mco-bookmark-icon\": {\n\t\t\ttransform: \"scale(1.1)\"\n\t\t}\n\t},\n\tbookmarkIsVisible: {\n\t\ttransform: \"translate(0, -50%)\"\n\t},\n\ticon: {\n\t\tmarginLeft: theme?.spacing(-0.5),\n\t\tmarginTop: theme?.spacing(0.5),\n\t\ttransition: theme.transitions.create([\"transform\"], {\n\t\t\tduration: theme.transitions.duration.complex\n\t\t})\n\t},\n\tcounter: {\n\t\talignItems: \"center\",\n\t\tbackground: \"#20303D\",\n\t\tborderRadius: \"50%\",\n\t\tcolor: \"#FFFFFF\",\n\t\tdisplay: \"flex\",\n\t\theight: 18,\n\t\tjustifyContent: \"center\",\n\t\tposition: \"absolute\",\n\t\tright: theme?.spacing(0.5),\n\t\ttop: theme?.spacing(1),\n\t\twidth: 18,\n\t\t...theme?.customTypography?.counter\n\t}\n}));\n\nconst Bookmark = () => {\n\tconst css = useStyles();\n\tconst { REACT_APP_KAISERLODGE_BOOKMARKPAGE } = process.env;\n\tconst [visible, setVisible] = useState(false);\n\n\tconst handleState = state => {\n\t\tsetVisible(state);\n\t};\n\n\treturn (\n\t\t}>\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t}>\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t}>\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t);\n};\n\nexport default Bookmark;\n","import React, { lazy, Suspense } from \"react\";\nimport PropTypes from \"prop-types\";\nimport clsx from \"clsx\";\nimport makeStyles from \"@material-ui/styles/makeStyles\";\n\nconst ReactSVGIcon = lazy(() =>\n\timport(/* webpackChunkName: \"reactSVGIcon\" */ \"@micado-digital/react-svg-icon/ReactSVGIcon\")\n);\nconst ToggleBookmark = lazy(() =>\n\timport(\n\t\t/* webpackChunkName: \"toggleBookmark\" */ \"@micado-digital/react-bookmark/ReactBookmark/toggleBookmark\"\n\t)\n);\n\nconst useStyles = makeStyles(theme => ({\n\tbookmark: {\n\t\talignItems: \"center\",\n\t\tcolor: theme?.palette?.secondary?.main,\n\t\tdisplay: \"flex\",\n\t\theight: 32,\n\t\tjustifyContent: \"center\",\n\t\tposition: \"relative\",\n\t\ttransition: theme.transitions.create([\"color\"], {\n\t\t\tduration: theme.transitions.duration.enteringScreen\n\t\t}),\n\t\twidth: 32\n\t},\n\tbookmarkActive: {\n\t\tcolor: theme?.palette?.primary?.main\n\t},\n\ticonActive: {\n\t\tbottom: 0,\n\t\tcolor: theme?.palette?.success?.main,\n\t\tposition: \"absolute\",\n\t\tright: 0\n\t}\n}));\n\nconst Bookmark = ({ data }) => {\n\tconst css = useStyles();\n\n\treturn (\n\t\t}>\n\t\t\t\n\t\t\t\t\t\t}>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tcomponentHover={\n\t\t\t\t\t\n\t\t\t\t\t\t}>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tcomponentBookmarked={\n\t\t\t\t\t\n\t\t\t\t\t\t}>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t}>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tcomponentBookmarkedHover={\n\t\t\t\t\t\n\t\t\t\t\t\t}>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t}>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t>\n\t\t\n\t);\n};\n\nBookmark.propTypes = {\n\tdata: PropTypes.object.isRequired\n};\n\nexport default Bookmark;\n","import React, { useContext } from \"react\";\nimport makeStyles from \"@material-ui/styles/makeStyles\";\nimport WebProfileContext from \"@WebProfileContext\";\nimport useTheme from \"@material-ui/styles/useTheme\";\n\nconst useStyles = makeStyles(theme => ({\n\troot: {\n\t\talignItems: \"center\",\n\t\tbackground: theme.palette.secondary.main,\n\t\tborderRadius: \"8px 0 0 8px\",\n\t\tboxShadow: \"0px 0px 12px rgba(0, 0, 0, 0.3)\",\n\t\tdisplay: \"flex\",\n\t\tposition: \"fixed\",\n\t\tpadding: theme.spacing(1),\n\t\tbottom: 80,\n\t\tright: 0,\n\t\tzIndex: theme?.zIndex?.appBar - 1,\n\t\ttransition: \"all 500ms ease\",\n\t\t[theme.breakpoints.up(\"md\")]: {\n\t\t\tbottom: \"auto\",\n\t\t\ttop: \"50%\"\n\t\t},\n\t\t[theme.breakpoints.down(\"sm\")]: {\n\t\t\t\"& svg\": {\n\t\t\t\twidth: 32,\n\t\t\t\theight: 32\n\t\t\t}\n\t\t},\n\t\t\"&:hover\": {\n\t\t\tbackground: theme.palette.secondary.dark\n\t\t},\n\t\t\"&:hover span\": {\n\t\t\tmaxWidth: 200,\n\t\t\tpaddingLeft: 8,\n\t\t\topacity: 1,\n\t\t\ttransition: \"opacity 500ms ease, max-width 500ms ease, padding-left 200ms ease\"\n\t\t}\n\t},\n\tlabel: {\n\t\tcolor: \"#FFFFFF\",\n\t\tfontWeight: 700,\n\t\tfontSize: 16,\n\t\tmaxWidth: 0,\n\t\topacity: 0,\n\t\ttransition: \"opacity 500ms ease, max-width 500ms ease, padding-left 500ms ease\"\n\t}\n}));\n\nconst VoucherButton = ({ lang }) => {\n\tconst [profileData] = useContext(WebProfileContext);\n\tconst css = useStyles();\n\n\tconst voucherLink = profileData?.customLinks?.find(\n\t\titem => item?.identifier === \"voucher\"\n\t)?.url;\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t{lang === \"de\" ? \"Gutscheine\" : \"Vouchers\"}\n\t\t\n\t);\n};\n\nexport default VoucherButton;\n"],"names":["ReactSVGIcon","lazy","BookmarkCount","ReactLink","useStyles","makeStyles","theme","bookmark","alignItems","background","borderBottomLeftRadius","borderTopLeftRadius","color","cursor","display","height","justifyContent","padding","spacing","position","top","transform","transition","transitions","create","duration","complex","right","width","zIndex","bookmarkIsVisible","icon","marginLeft","marginTop","counter","borderRadius","customTypography","css","useState","visible","setVisible","Suspense","fallback","to","process","className","clsx","size","src","hideZero","state","ToggleBookmark","palette","secondary","main","enteringScreen","bookmarkActive","primary","iconActive","bottom","success","data","validationFields","componentDefault","componentHover","componentBookmarked","componentBookmarkedHover","root","boxShadow","appBar","breakpoints","up","down","dark","maxWidth","paddingLeft","opacity","label","fontWeight","fontSize","lang","useContext","WebProfileContext","profileData","voucherLink","customLinks","find","item","identifier","url","href","title","viewBox","fill","xmlns","d","stroke"],"sourceRoot":""}