PageSourceSearch

https://fitshaker.sk/_next/static/chunks/pages/recipe-books-80e6029184ce2db0.js

js fitshaker.sk collected 2026-10-01 13:07:39 UTC 29,001 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3573],{91192:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/recipe-books",function(){return t(11426)}])},90573:function(e,n,t){"use strict";t.d(n,{Z:function(){return LoaderIndicator_LoaderIndicator}});var r=t(85893),i=t(94589),o=t(82729),a=t(38044);function _templateObject(){var e=(0,o._)(["\n			animation: "," ","s infinite linear;\n		"]);return _templateObject=function(){return e},e}function _templateObject1(){var e=(0,o._)(["\n		flex-shrink: 0;\n		width: ","px !important;\n		height: ","px !important;\n		color: ",";\n		font-size: 0 !important;\n		pointer-events: none;\n\n		","\n\n		> svg {\n			flex-shrink: 0;\n			width: ","px;\n			height: ","px;\n			stroke: ",";\n			fill: ",";\n			font-size: 0;\n\n			* {\n				stroke: ",";\n				fill: ",";\n			}\n		}\n	"]);return _templateObject1=function(){return e},e}function _templateObject2(){var e=(0,o._)(["\n	","\n"]);return _templateObject2=function(){return e},e}var c=i.ZP.div.withConfig({componentId:"sc-5411fe41-0"})(_templateObject2(),function(e){var n=e.$size,t=e.$color,r=e.$speed,o=e.$spin;return(0,i.iv)(_templateObject1(),n,n,t,o&&(0,i.iv)(_templateObject(),a.PE,r),n,n,t,t,t,t)}),s=t(70379),LoaderIndicator_LoaderIndicator=function(e){var n=(0,i.Fg)(),t=e.indicator,o=void 0===t?(0,r.jsx)(s.Z,{}):t,a=e.color,l=void 0===a?n["color-base-content-primary"]:a,u=e.size,d=e.speed,p=e.notSpin,f=e.className;return(0,r.jsx)(c,{$size:void 0===u?24:u,$color:l,$speed:void 0===d?1:d,$spin:!(void 0!==p&&p),className:f,children:o})}},83449:function(e,n,t){"use strict";t.d(n,{Z:function(){return OrderSelect_OrderDropdown}});var r=t(24043),i=t(85893),o=t(35161),a=t.n(o),c=t(67294),s=t(64749),l=t(37303),u=t(64871),d=t(67117),p=t(82729),f=t(94589),m=t(58654);function _templateObject(){var e=(0,p._)(["\n					background-color: ",";\n\n					.ant-select-selection-item,\n					.ant-select-selection-placeholder {\n						color: ",";\n					}\n				"]);return _templateObject=function(){return e},e}function _templateObject1(){var e=(0,p._)(["\n					padding: "," ",";\n				"]);return _templateObject1=function(){return e},e}function _templateObject2(){var e=(0,p._)(["\n					padding: "," ",";\n				"]);return _templateObject2=function(){return e},e}function _templateObject3(){var e=(0,p._)(["\n					padding: "," ",";\n				"]);return _templateObject3=function(){return e},e}function _templateObject4(){var e=(0,p._)(["\n					padding: ",";\n				"]);return _templateObject4=function(){return e},e}function _templateObject5(){var e=(0,p._)(["\n		/* stylelint-disable */\n		white-space: nowrap;\n\n		&:focus-visible {\n			.ant-select {\n				background: ",";\n				",";\n			}\n		}\n\n		.ant-select {\n			display: inline-flex;\n			transition: all 200ms ease-in-out;\n			border-radius: ",";\n			background-color: ",";\n			cursor: pointer;\n			overflow: hidden;\n			color: ",";\n\n			&:hover,\n			&:focus-visible,\n			&.ant-select-focused:not(.ant-select-disabled),\n			&.ant-select-open {\n				background-color: ",";\n\n				.ant-select-selection-item,\n				.ant-select-selection-placeholder {\n					color: ",";\n				}\n			}\n\n			.ant-select-selection-search {\n				display: none;\n			}\n\n			.ant-select-selector {\n				display: inline-flex;\n				align-items: center;\n				background-color: transparent;\n				padding: "," ",";\n				width: fit-content !important;\n\n				","\n\n				","\n        \n        ","\n        \n        ","\n        \n        ","\n			}\n\n			/* Remove the blue border when the select is open */\n			&.ant-select-focused:not(.ant-select-disabled).ant-select-open .ant-select-selector {\n				border-color: initial;\n				box-shadow: none;\n			}\n\n			.ant-select-selection {\n				&-placeholder,\n				&-item {\n					padding: 0;\n					",";\n					color: inherit;\n				}\n			}\n\n			.ant-select-selection-item {\n				transition: none;\n			}\n\n			.ant-select-arrow {\n				display: none;\n			}\n		}\n\n		.ant-select-dropdown {\n			z-index: 1;\n			border-radius: ",";\n			box-shadow: ",";\n			background-color: ",";\n			cursor: pointer;\n			padding: ",";\n			min-width: 216px !important;\n		}\n\n		.ant-select-item-option {\n			display: flex;\n			align-items: center;\n			transition: background 200ms;\n			border-radius: ",";\n\n			&-content {\n				transition: color 200ms ease-in-out;\n				",";\n				color: ",";\n			}\n\n			&.ant-select-item-option-active {\n				background: ",";\n\n				.ant-select-item-option-content {\n					color: ",";\n				}\n			}\n\n			&.ant-select-item-option-selected {\n				background: ",";\n\n				.ant-select-item-option-content {\n					color: ",";\n				}
1\n\n				.ant-select-item-option-state {\n					width: 20px;\n					height: 20px;\n\n					svg {\n						stroke: ",";\n						width: 100%;\n						height: 100%;\n					}\n				}\n			}\n		}\n	"]);return _templateObject5=function(){return e},e}function _templateObject6(){var e=(0,p._)(["\n	","\n"]);return _templateObject6=function(){return e},e}var v=f.ZP.div.withConfig({componentId:"sc-6e889d51-0"})(_templateObject6(),function(e){var n=e.theme,t=e.hasValue,r=e.size;return(0,f.iv)(_templateObject5(),n["color-base-action-secondary-hover"],t&&"box-shadow: ".concat(n["ring-primary-xs"]),n.borderRadius[999],n["color-base-surface-tertiary"],n["color-base-content-secondary"],!t&&n["color-base-surface-quaternary"],!t&&n["color-base-content-primary"],n.spacing[2],n.spacing[8],t&&(0,f.iv)(_templateObject(),n["color-base-action-primary-default"],n["color-inverse-content-secondary"]),r===u.NO.SM&&(0,f.iv)(_templateObject1(),n.spacing[2],n.spacing[8]),r===u.NO.MD&&(0,f.iv)(_templateObject2(),n.spacing[6],n.spacing[12]),r===u.NO.LG&&(0,f.iv)(_templateObject3(),n.spacing[10],n.spacing[16]),r===u.NO.XL&&(0,f.iv)(_templateObject4(),n.spacing[16]),m.pu,n.borderRadius[8],n["drop-shadow-md"],n["color-base-surface-primary"],n.spacing[8],n.borderRadius[4],m.lT,n["color-base-content-secondary"],n["color-base-action-secondary-bg10"],n["color-base-content-secondary"],n["color-base-action-primary-bg10"],n["color-base-content-primary"],n["color-base-content-primary"])}),b=t(83011),OrderSelect_OrderDropdown=function(e){var n=e.className,t=e.getPopupContainer,o=e.onChange,p=e.options,f=e.placement,m=e.placeholder,h=e.size,_=void 0===h?u.NO.MD:h,O=e.value,g=(0,l.$G)().t,j=(0,r._)((0,c.useState)(!1),2),y=j[0],x=j[1],R=(0,c.useRef)(null),toggleOpen=function(){return x(!y)};return(0,d.O8)([R],function(){return x(!1)}),(0,i.jsx)(v,{ref:R,className:n,hasValue:!!O,size:_,tabIndex:0,onClick:toggleOpen,onKeyDown:function(e){"Enter"===e.key&&toggleOpen()},children:(0,i.jsx)(s.default,{getPopupContainer:t,onChange:o,placement:void 0===f?"bottomRight":f,placeholder:m||g("Zoradiť podľa"),value:O,menuItemSelectedIcon:(0,i.jsx)(b.nQ,{}),open:y,children:a()(p,function(e){return(0,i.jsx)(s.default.Option,{value:e.value,tabIndex:0,children:null==e?void 0:e.label},null==e?void 0:e.key)})})})}},47254:function(e,n,t){"use strict";var r=t(24043),i=t(85893),o=t(67294),a=t(11163),c=t(14416),s=t(37303),l=t(73863),u=t(25910),d=t(5210);n.Z=function(e){var n=e.children,t=(0,s.$G)().t,p=(0,c.I0)(),f=(0,a.useRouter)(),m=(0,r._)((0,o.useState)((0,i.jsx)("div",{})),2),v=m[0],b=m[1],h=(0,i.jsx)("div",{children:(0,u.jl)()?n:(0,i.jsx)(d.Z,{})});return(0,o.useEffect)(function(){if(!(0,u.jl)()){f.push(t("paths:login|path"));return}p((0,l.et)()),b(h)},[f.asPath]),v}},5210:function(e,n,t){"use strict";t.d(n,{Z:function(){return LoadingSpinner_LoadingSpinner}});var r=t(85893),i=t(82729),o=t(94589),a=t(89552);function _templateObject(){var e=(0,i._)(["\n	position: absolute;\n	top: 50%;\n	left: 50%;\n	transform: translate(-50%, -50%);\n"]);return _templateObject=function(){return e},e}var c=(0,o.ZP)(a.Z).withConfig({componentId:"sc-313e084-0"})(_templateObject()),s=t(90573),LoadingSpinner_LoadingSpinner=function(){return(0,r.jsx)(c,{indicator:(0,r.jsx)(s.Z,{})})}},32708:function(e,n,t){"use strict";t.d(n,{l:function(){return CardRow},p:function(){return CardCol}});var r=t(85893),i=t(5789),o=t(55673),a={xs:0,sm:16,md:16,lg:20,xl:24,xxl:24},c={xs:16,sm:16,md:16,lg:16,xl:24,xxl:24},CardRow=function(e){var n=e.children,t=e.className,i=e.style,s=e.id;return(0,r.jsx)(o.Z,{className:t,gutter:[a,c],style:i,id:s,children:n})},CardCol=function(e){var n=e.children,t=e.className,o=e.style,a=e.xl,c=e.lg,s=e.sm,l=e.xs;return(0,r.jsx)(i.Z,{className:t,xs:l||24,sm:s||12,lg:c||8,xl:a||6,style:o,children:n})}},11426:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSG:function(){return Y},default:function(){return Q}});var r=t(72253),i=t(14932),o=t(85893),a=t(51698),c=t(50494),s=t(47254),l=t(24043),u=t(248),d=t(67294),p=t(14416),f=t(11163),m=t(37303),v=t(41609),b=t.n(v),h=t(93345),_=t(37368),O=t(64871),g=t(35470),j=t(70653),y=t(67117),x=t(35651),R=t(82729),k=t(94589),C=t(64136),S=t(8278),w=t(58654),E=t(38044);
1function _templateObject(){var e=(0,R._)(["\n		display: flex;\n		flex-direction: column;\n		gap: ",";\n		margin-bottom: ",";\n\n		@media (min-width: ","px) {\n			margin-top: ",";\n		}\n\n		@media (min-width: ","px) {\n			gap: ",";\n			margin-top: ",";\n		}\n	"]);return _templateObject=function(){return e},e}function _templateObject1(){var e=(0,R._)(["\n	","\n"]);return _templateObject1=function(){return e},e}function _templateObject2(){var e=(0,R._)(["\n		margin-inline: -",";\n\n		@media (min-width: ","px) {\n			margin-inline: auto;\n			width: 100%;\n		}\n	"]);return _templateObject2=function(){return e},e}function _templateObject3(){var e=(0,R._)(["\n	","\n"]);return _templateObject3=function(){return e},e}function _templateObject4(){var e=(0,R._)(["\n		display: inline-flex;\n		gap: ",";\n		align-items: center;\n		justify-content: space-between;\n		margin-bottom: ",";\n		width: 100%;\n	"]);return _templateObject4=function(){return e},e}function _templateObject5(){var e=(0,R._)(["\n	","\n"]);return _templateObject5=function(){return e},e}function _templateObject6(){var e=(0,R._)(["\n	display: flex;\n	flex-direction: column;\n	gap: 4px;\n"]);return _templateObject6=function(){return e},e}function _templateObject7(){var e=(0,R._)(["\n		margin: 0;\n		",";\n		color: ",";\n	"]);return _templateObject7=function(){return e},e}function _templateObject8(){var e=(0,R._)(["\n	","\n"]);return _templateObject8=function(){return e},e}function _templateObject9(){var e=(0,R._)(["\n		margin: 0;\n		",";\n		color: ",";\n	"]);return _templateObject9=function(){return e},e}function _templateObject10(){var e=(0,R._)(["\n	","\n"]);return _templateObject10=function(){return e},e}var Z=(0,k.ZP)(C.Z).withConfig({componentId:"sc-91c81e6f-0"})(_templateObject1(),function(e){var n=e.theme;return(0,k.iv)(_templateObject(),n.spacing[32],n.spacing[104],E.AV.sm,n.spacing[24],E.AV.md,n.spacing[48],n.spacing[32])}),I=(0,k.ZP)(S.Z).withConfig({componentId:"sc-91c81e6f-1"})(_templateObject3(),function(e){var n=e.theme;return(0,k.iv)(_templateObject2(),n.spacing[16],E.AV.sm)}),N=k.ZP.div.withConfig({componentId:"sc-91c81e6f-2"})(_templateObject5(),function(e){var n=e.theme;return(0,k.iv)(_templateObject4(),n.spacing[16],n.spacing[24])}),B=k.ZP.div.withConfig({componentId:"sc-91c81e6f-3"})(_templateObject6()),A=k.ZP.h2.withConfig({componentId:"sc-91c81e6f-4"})(_templateObject8(),function(e){var n=e.theme;return(0,k.iv)(_templateObject7(),w.PU,n["color-base-content-primary"])}),P=k.ZP.p.withConfig({componentId:"sc-91c81e6f-5"})(_templateObject10(),function(e){var n=e.theme;return(0,k.iv)(_templateObject9(),w.q6,n["color-base-content-secondary"])}),L=t(32708),D=t(27484),M=t.n(D),T=t(14841),z=t.n(T),V=t(49690);function RecipeBookCardStyles_templateObject(){var e=(0,R._)(["\n			filter: opacity(0.5);\n		"]);return RecipeBookCardStyles_templateObject=function(){return e},e}function RecipeBookCardStyles_templateObject1(){var e=(0,R._)(["\n			",";\n			animation: "," 0.3s forwards 0s;\n		"]);return RecipeBookCardStyles_templateObject1=function(){return e},e}function RecipeBookCardStyles_templateObject2(){var e=(0,R._)(["\n						transition: box-shadow 250ms ease-in-out;\n\n						&:hover,\n						&:focus-visible {\n							box-shadow: ",";\n						}\n					"]);return RecipeBookCardStyles_templateObject2=function(){return e},e}function RecipeBookCardStyles_templateObject3(){var e=(0,R._)(["\n						transition:\n							box-shadow 250ms ease-in-out,\n							transform 250ms ease-in-out;\n\n						&:hover,\n						&:focus-visible {\n							transform: translateY(-4px);\n							box-shadow: ",";\n						}\n					"]);return RecipeBookCardStyles_templateObject3=function(){return e},e}function RecipeBookCardStyles_templateObject4(){var e=(0,R._)(["\n		position: relative;\n		opacity: 0;\n		width: 100%;\n		height: 100%;\n\n		","\n\n		","\n\n		> * {\n			display: flex;\n			position: relative;\n			flex-direction: column;\n			transition: box-shadow 250ms ease-in-out;\n			border-radius: ",";\n			background-color: ",";\n			height: 100%;\n			overflow: hidden;\n\n			","\n\n			&:hover {\n				box-shadow: ",";\n				cursor: ",";\n			}\n		}\n	"]);
1return RecipeBookCardStyles_templateObject4=function(){return e},e}function RecipeBookCardStyles_templateObject5(){var e=(0,R._)(["\n	","\n"]);return RecipeBookCardStyles_templateObject5=function(){return e},e}function RecipeBookCardStyles_templateObject6(){var e=(0,R._)(["\n		border-radius: ",";\n		background-color: ",";\n	"]);return RecipeBookCardStyles_templateObject6=function(){return e},e}function RecipeBookCardStyles_templateObject7(){var e=(0,R._)(["\n	","\n"]);return RecipeBookCardStyles_templateObject7=function(){return e},e}function RecipeBookCardStyles_templateObject8(){var e=(0,R._)(["\n		display: flex;\n		flex-direction: column;\n		gap: ",";\n		justify-content: space-between;\n		padding: ",";\n		height: 100%;\n	"]);return RecipeBookCardStyles_templateObject8=function(){return e},e}function RecipeBookCardStyles_templateObject9(){var e=(0,R._)(["\n	","\n"]);return RecipeBookCardStyles_templateObject9=function(){return e},e}function RecipeBookCardStyles_templateObject10(){var e=(0,R._)(["\n		display: -webkit-box;\n		margin: 0;\n		overflow: hidden;\n		",";\n		text-overflow: ellipsis;\n		color: ",";\n		-webkit-line-clamp: 1;\n		-webkit-box-orient: vertical;\n	"]);return RecipeBookCardStyles_templateObject10=function(){return e},e}function _templateObject11(){var e=(0,R._)(["\n	","\n"]);return _templateObject11=function(){return e},e}function _templateObject12(){var e=(0,R._)(["\n		display: inline-flex;\n		gap: ",";\n		align-items: center;\n		height: 40px;\n\n		svg {\n			width: 24px;\n			height: 24px;\n\n			path {\n				stroke: ",";\n			}\n		}\n\n		span {\n			margin: 0;\n			",";\n			color: ",";\n		}\n	"]);return _templateObject12=function(){return e},e}function _templateObject13(){var e=(0,R._)(["\n	","\n"]);return _templateObject13=function(){return e},e}var $=k.ZP.div.withConfig({componentId:"sc-f25a4ed4-0"})(RecipeBookCardStyles_templateObject5(),function(e){var n=e.theme,t=e.$displayAnimationOff,r=e.$liftOnHoverOff,i=e.$disabled;return(0,k.iv)(RecipeBookCardStyles_templateObject4(),i&&(0,k.iv)(RecipeBookCardStyles_templateObject()),!t&&(0,k.iv)(RecipeBookCardStyles_templateObject1(),E.oH,E.kr),n.borderRadius[16],n["color-base-surface-primary"],r||i?(0,k.iv)(RecipeBookCardStyles_templateObject2(),n["drop-shadow-md"]):(0,k.iv)(RecipeBookCardStyles_templateObject3(),n["drop-shadow-md"]),i?"none":n["drop-shadow-md"],i?"not-allowed":"pointer")}),G=(0,k.ZP)(V.Z).withConfig({componentId:"sc-f25a4ed4-1"})(RecipeBookCardStyles_templateObject7(),function(e){var n=e.theme;return(0,k.iv)(RecipeBookCardStyles_templateObject6(),n.spacing[16],n["color-base-surface-violet"])}),W=k.ZP.div.withConfig({componentId:"sc-f25a4ed4-2"})(RecipeBookCardStyles_templateObject9(),function(e){var n=e.theme;return(0,k.iv)(RecipeBookCardStyles_templateObject8(),n.spacing[16],n.spacing[16])}),F=k.ZP.h4.withConfig({componentId:"sc-f25a4ed4-3"})(_templateObject11(),function(e){var n=e.theme;return(0,k.iv)(RecipeBookCardStyles_templateObject10(),w.DC,n["color-base-content-primary"])}),K=k.ZP.div.withConfig({componentId:"sc-f25a4ed4-4"})(_templateObject13(),function(e){var n=e.theme;return(0,k.iv)(_templateObject12(),n.spacing[8],n["color-base-content-tertiary"],w.lT,n["color-base-content-primary"])}),X=t(58745),H=t(32403),U=t(83011),RecipeBookCard_RecipeBookCard=function(e){var n,t=e.className,i=e.book,a=e.subscription,c=e.displayAnimationOff,s=e.liftOnHoverOff,l=(0,m.$G)().t,u=(0,p.I0)(),d=(0,X.XG)(),f=d.startLoading,v=d.finishLoading,orderBonusRecipeBook=function(){f();var e=(0,r._)({planIdentifier:i.planIdentifier},(null==i?void 0:i.initialPlanID)&&{initialPlanID:i.initialPlanID});u((0,_.ch)(e,function(){return u((0,_.RW)(v,v))},function(){return v}))};return(0,o.jsx)($,{className:t,$displayAnimationOff:c,$liftOnHoverOff:s,$disabled:i.state===O.M3.UNAVAILABLE||i.state===O.M3.AVAILABLE_FROM,children:(0,o.jsxs)("div",{children:[(0,o.jsx)(G,{src:(null==i?void 0:null===(n=i.imagePaths)||void 0===n?void 0:n.medium)||(null==i?void 0:i.image),alt:null==i?void 0:i.name,fit:O.gN.CONTAIN}),(0,o.jsxs)(W,{children:[(0,o.jsx)(F,{children:null==i?void 0:i.name}),(0,o.jsx)(K,{children:function(){switch(i.state){case O.M3.UNAVAILABLE:return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(U.Jc,{}),(0,o.jsx)("span",{children:l("Nedostupn\xfd")})]});case O.M3.REQUEST_STANDARD_ORDER:return(0,o.jsx)(H.Z,{asHTML:O.vf.ANCHOR,variant:O.RN.SECONDARY,label:l("Z\xedskať"),href:l("paths:recipeBooksOrder|path"),size:O.NO.LG,fullWidth:!0});case O.M3.REQUEST_VIP_PURCHASE:return(0,o.jsx)(H.Z,{asHTML:O.vf.ANCHOR,variant:O.RN.SECONDARY,label:l("Z\xedskať"),href:(null==a?void 0:a.tier)===O.hX.PREMIUM?l("paths:subscriptionUpgrade|path"):"".concat(l("paths:subscription|path"),"?tier=").concat(O.hX.VIP,"&type=").concat(O.I$.MONTH),size:O.NO.LG,fullWidth:!0});case O.M3.AVAILABLE_FROM:return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(U.mB,{}),(0,o.jsx)("span",{children:l("Dostupn\xfd {{date}}",{date:(0,j.iA)(z()(M()(i.availableFrom).format("M")))})})]});case O.M3.AVAILABLE:return(0,o.jsx)(H.Z,{variant:O.RN.SECONDARY,label:l("Z\xedskať"),onClick:orderBonusRecipeBook,size:O.NO.LG,fullWidth:!0});case O.M3.ORDERED:return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(U.T3,{}),(0,o.jsx)("span",{children:l("Jed\xe1lniček ti pripravujeme")})]});case O.M3.READY:return(0,o.jsx)(H.Z,{variant:O.RN.SECONDARY,label:l("Stiahnuť"),onClick:function(){return(null==i?void 0:i.id)!==null&&(0,j.VL)(null==i?void 0:i.id,i.name)},size:O.NO.LG,fullWidth:!0,disabled:(null==i?void 0:i.id)===null});default:return null}}()})]})]})})},J=t(83449),recipeBooks_RecipeBooks=function(e){var n,t=e.settingsData,r=(0,m.$G)().t,i=(0,p.I0)(),a=(0,f.useRouter)(),c=(0,y.XG)(),s=c.startLoading,v=c.finishLoading,R=(0,p.v9)(function(e){var n,t;return null===(t=e.user)||void 0===t?void 0:null===(n=t.profile)||void 0===n?void 0:n.subscription}),k=(0,p.v9)(function(e){var n;return null===(n=e.recipeBooks)||void 0===n?void 0:n.recipeBooks}),C=k.standardPlan,S=k.plans,w={url:(0,j.Kd)()===O.MV.CZ?"".concat(h.Z.publicSiteUrlCz).concat(a.asPath):"".concat(h.Z.publicSiteUrlSk).concat(a.asPath),visit_type:g.T.OTHER,attributes:[]},E=S&&S.length>0?Array.from(new Set(S.map(function(e){return e.order}))):[],D=(0,l._)((0,d.useState)(b()(E)?1:(n=Math).max.apply(n,(0,u._)(E))),2),M=D[0],T=D[1],z=E.map(function(e){return{key:r("{{order}} rok",{order:e}),value:e,label:r("{{order}} rok",{order:e})}}),V=S&&S.length>0?S.filter(function(e){return e.order===M}):[];return(0,x.u)(g.I.VISIT,w),(0,d.useEffect)(function(){s(),i((0,_.RW)(v,v))},[i]),(0,o.jsxs)(Z,{children:[(0,o.jsx)(I,{priceList:null==t?void 0:t.pricelist,standardPlan:C}),(null==S?void 0:S.length)&&S.length>0?(0,o.jsxs)("div",{children:[(0,o.jsxs)(N,{children:[(0,o.jsxs)(B,{children:[(0,o.jsx)(A,{children:r("Jed\xe1lničky")}),(0,o.jsx)(P,{children:r("\xdažasne chutn\xe9 a nutrične vyv\xe1žen\xe9 raňajky, obedy, večere a snacky")})]}),(null==S?void 0:S.length)&&S.length>0&&(0,o.jsx)(J.Z,{value:M,onChange:function(e){T(e)},getPopupContainer:function(e){return e.parentNode.parentNode},options:z})]}),(0,o.jsx)(L.l,{children:V.map(function(e,n){return(0,o.jsx)(L.p,{children:(0,o.jsx)(RecipeBookCard_RecipeBookCard,{subscription:R,book:e})},"recipe-book-".concat(n))})})]}):null]})},RecipeBooksPage=function(e){return(0,o.jsx)(recipeBooks_RecipeBooks,(0,r._)({},e))};RecipeBooksPage.getLayout=function(e,n){return(0,o.jsx)(s.Z,{children:(0,o.jsx)(c.Z,(0,i._)((0,r._)({},n),{pageID:a.$1.RECIPEBOOKS,children:e}))})};var Y=!0,Q=RecipeBooksPage},37368:function(e,n,t){"use strict";t.d(n,{RW:function(){return getRecipeBooks},ch:function(){return sendOrderRecipeBook},mV:function(){return getLastOrder},o9:function(){return sendOrderInitialRecipeBook}});var r=t(11010),i=t(97582),o=t(51698),a=t(87432),c=t(79948),getRecipeBooks=function(e,n){var t;return t=(0,r._)(function(t){var r,s,l;return(0,i.Jh)(this,function(i){switch(i.label){case 0:t({type:c.kN.START}),r={},i.label=1;case 1:return i.trys.push([1,3,,4]),[4,(0,a.ZL)(o.bV.GET_RECIPE_BOOKS)];case 2:return r={standardPlan:null==(s=i.sent().data)?void 0:s.standardPlan,plans:null==s?void 0:s.plans},t({type:c.kN.DONE,payload:r}),[2,e&&e(s)];case 3:return l=i.sent(),t({type:c.kN.FAILED}),[2,n&&n(l)];case 4:return[2]}})}),function(e){return t.apply(this,arguments)}},sendOrderInitialRecipeBook=function(e,n,t){var s;return s=(0,r._)(function(r){return(0,i.Jh)(this,function(i){switch(i.label){case 0:r({type:c.$Q.START}),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,(0,a.qu)(o.bV.ORDER_INITIAL_RECIPE_BOOK,void 0,e)];case 2:return i.sent(),r({type:c.$Q.DONE}),[2,n&&n()];case 3:return i.sent(),r({type:c.$Q.FAILED}),[2,t&&t()];case 4:return[2]}})}),function(e){return s.apply(this,arguments)}},sendOrderRecipeBook=function(e,n,t){var s;return s=(0,r._)(function(r){return(0,i.Jh)(this,function(i){switch(i.label){case 0:r({type:c.Xy.START}),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,(0,a.qu)(o.bV.ORDER_RECIPE_BOOK,void 0,e)];case 2:return i.sent(),r({type:c.Xy.DONE}),[2,n&&n()];case 3:return i.sent(),r({type:c.Xy.FAILED}),[2,t&&t()];case 4:return[2]}})}),function(e){return s.apply(this,arguments)}},getLastOrder=function(e,n){var t;return t=(0,r._)(function(t){var r,s;return(0,i.Jh)(this,function(i){switch(i.label){case 0:t({type:c.Az.START}),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,(0,a.ZL)(o.bV.GET_LAST_ORDER)];case 2:return r=i.sent().data,t({type:c.Az.DONE,payload:r.data}),[2,e&&e(r)];case 3:return s=i.sent(),t({type:c.Az.FAILED}),[2,n&&n(s)];case 4:return[2]}})}),function(e){return t.apply(this,arguments)}}},35651:function(e,n,t){"use strict";t.d(n,{u:function(){return usePushToSmartEmailing}});var r=t(67294),usePushToSmartEmailing=function(e,n){(0,r.useEffect)(function(){void 0!==window._se&&setTimeout(function(){window._se.push([e,n])},500)},[])}},39983:function(e,n,t){"use strict";t.d(n,{Z:function(){return S}});var r=t(87462),i=t(1413),o=t(97685),a=t(45987),c=t(67294),s=t(93967),l=t.n(s),u=t(9220),d=t(8410),p=["prefixCls","invali
1date","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],f=void 0,m=c.forwardRef(function(e,n){var t,o=e.prefixCls,s=e.invalidate,d=e.item,m=e.renderItem,v=e.responsive,b=e.responsiveDisabled,h=e.registerSize,_=e.itemKey,O=e.className,g=e.style,j=e.children,y=e.display,x=e.order,R=e.component,k=void 0===R?"div":R,C=(0,a.Z)(e,p),S=v&&!y;c.useEffect(function(){return function(){h(_,null)}},[]);var w=m&&d!==f?m(d,{index:x}):j;s||(t={opacity:S?0:1,height:S?0:f,overflowY:S?"hidden":f,order:v?x:f,pointerEvents:S?"none":f,position:S?"absolute":f});var E={};S&&(E["aria-hidden"]=!0);var Z=c.createElement(k,(0,r.Z)({className:l()(!s&&o,O),style:(0,i.Z)((0,i.Z)({},t),g)},E,C,{ref:n}),w);return v&&(Z=c.createElement(u.Z,{onResize:function(e){h(_,e.offsetWidth)},disabled:b},Z)),Z});m.displayName="Item";var v=t(66680),b=t(73935),h=t(75164);function useEffectState(e,n){var t=c.useState(n),r=(0,o.Z)(t,2),i=r[0],a=r[1];return[i,(0,v.Z)(function(n){e(function(){a(n)})})]}var _=c.createContext(null),O=["component"],g=["className"],j=["className"],y=c.forwardRef(function(e,n){var t=c.useContext(_);if(!t){var i=e.component,o=void 0===i?"div":i,s=(0,a.Z)(e,O);return c.createElement(o,(0,r.Z)({},s,{ref:n}))}var u=t.className,d=(0,a.Z)(t,g),p=e.className,f=(0,a.Z)(e,j);return c.createElement(_.Provider,{value:null},c.createElement(m,(0,r.Z)({ref:n,className:l()(u,p)},d,f)))});y.displayName="RawItem";var x=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","prefix","suffix","component","itemComponent","onVisibleChange"],R="responsive",k="invalidate";function defaultRenderRest(e){return"+ ".concat(e.length," ...")}var C=c.forwardRef(function(e,n){var t,s=e.prefixCls,p=void 0===s?"rc-overflow":s,f=e.data,v=void 0===f?[]:f,O=e.renderItem,g=e.renderRawItem,j=e.itemKey,y=e.itemWidth,C=void 0===y?10:y,S=e.ssr,w=e.style,E=e.className,Z=e.maxCount,I=e.renderRest,N=e.renderRawRest,B=e.prefix,A=e.suffix,P=e.component,L=void 0===P?"div":P,D=e.itemComponent,M=e.onVisibleChange,T=(0,a.Z)(e,x),z="full"===S,V=(t=c.useRef(null),function(e){t.current||(t.current=[],function(e){if("undefined"==typeof MessageChannel)(0,h.Z)(e);else{var n=new MessageChannel;n.port1.onmessage=function(){return e()},n.port2.postMessage(void 0)}}(function(){(0,b.unstable_batchedUpdates)(function(){t.current.forEach(function(e){e()}),t.current=null})})),t.current.push(e)}),$=useEffectState(V,null),G=(0,o.Z)($,2),W=G[0],F=G[1],K=W||0,X=useEffectState(V,new Map),H=(0,o.Z)(X,2),U=H[0],J=H[1],Y=useEffectState(V,0),Q=(0,o.Z)(Y,2),q=Q[0],ee=Q[1],en=useEffectState(V,0),et=(0,o.Z)(en,2),er=et[0],ei=et[1],eo=useEffectState(V,0),ea=(0,o.Z)(eo,2),ec=ea[0],es=ea[1],el=useEffectState(V,0),eu=(0,o.Z)(el,2),ed=eu[0],ep=eu[1],ef=(0,c.useState)(null),em=(0,o.Z)(ef,2),ev=em[0],eb=em[1],eh=(0,c.useState)(null),e_=(0,o.Z)(eh,2),eO=e_[0],eg=e_[1],ej=c.useMemo(function(){return null===eO&&z?Number.MAX_SAFE_INTEGER:eO||0},[eO,W]),ey=(0,c.useState)(!1),ex=(0,o.Z)(ey,2),eR=ex[0],ek=ex[1],eC="".concat(p,"-item"),eS=Math.max(q,er),ew=Z===R,eE=v.length&&ew,eZ=Z===k,eI=eE||"number"==typeof Z&&v.length>Z,eN=(0,c.useMemo)(function(){var e=v;return eE?e=null===W&&z?v:v.slice(0,Math.min(v.length,K/C)):"number"==typeof Z&&(e=v.slice(0,Z)),e},[v,C,W,Z,eE]),eB=(0,c.useMemo)(function(){return eE?v.slice(ej+1):v.slice(eN.length)},[v,eN,eE,ej]),eA=(0,c.useCallback)(function(e,n){var t;return"function"==typeof j?j(e):null!==(t=j&&(null==e?void 0:e[j]))&&void 0!==t?t:n},[j]),eP=(0,c.useCallback)(O||function(e){return e},[O]);function updateDisplayCount(e,n,t){(eO!==e||void 0!==n&&n!==ev)&&(eg(e),t||(ek(e<v.length-1),null==M||M(e)),void 0!==n&&eb(n))}function registerSize(e,n){J(function(t){var r=new Map(t);return null===n?r.delete(e):r.set(e,n),r})}function getItemWidth(e){return U.get(eA(eN[e],e))}(0,d.Z)(function(){if(K&&"number"==typeof eS&&eN){var e=ec+ed,n=eN.length,t=n-1;if(!n){updateDisplayCount(0,null);return}for(var r=0;r<n;r+=1){var i=getItemWidth(r);if(z&&(i=i||0),void 0===i){updateDisplayCount(r-1,void 0,!0);break}if(e+=i,0===t&&e<=K||r===t-1&&e+getItemWidth(t)<=K){updateDisplayCount(t,null);break}
1if(e+eS>K){updateDisplayCount(r-1,e-i-ed+er);break}}A&&getItemWidth(0)+ed>K&&eb(null)}},[K,U,er,ec,ed,eA,eN]);var eL=eR&&!!eB.length,eD={};null!==ev&&eE&&(eD={position:"absolute",left:ev,top:0});var eM={prefixCls:eC,responsive:eE,component:D,invalidate:eZ},eT=g?function(e,n){var t=eA(e,n);return c.createElement(_.Provider,{key:t,value:(0,i.Z)((0,i.Z)({},eM),{},{order:n,item:e,itemKey:t,registerSize:registerSize,display:n<=ej})},g(e,n))}:function(e,n){var t=eA(e,n);return c.createElement(m,(0,r.Z)({},eM,{order:n,key:t,item:e,renderItem:eP,itemKey:t,registerSize:registerSize,display:n<=ej}))},ez={order:eL?ej:Number.MAX_SAFE_INTEGER,className:"".concat(eC,"-rest"),registerSize:function(e,n){ei(n),ee(er)},display:eL},eV=I||defaultRenderRest,e$=N?c.createElement(_.Provider,{value:(0,i.Z)((0,i.Z)({},eM),ez)},N(eB)):c.createElement(m,(0,r.Z)({},eM,ez),"function"==typeof eV?eV(eB):eV),eG=c.createElement(L,(0,r.Z)({className:l()(!eZ&&p,E),style:w,ref:n},T),B&&c.createElement(m,(0,r.Z)({},eM,{responsive:ew,responsiveDisabled:!eE,order:-1,className:"".concat(eC,"-prefix"),registerSize:function(e,n){es(n)},display:!0}),B),eN.map(eT),eI?e$:null,A&&c.createElement(m,(0,r.Z)({},eM,{responsive:ew,responsiveDisabled:!eE,order:ej,className:"".concat(eC,"-suffix"),registerSize:function(e,n){ep(n)},display:!0,style:eD}),A));return ew?c.createElement(u.Z,{onResize:function(e,n){F(n.clientWidth)},disabled:!eE},eG):eG});C.displayName="Overflow",C.Item=y,C.RESPONSIVE=R,C.INVALIDATE=k;var S=C},98423:function(e,n,t){"use strict";function omit(e,n){var t=Object.assign({},e);return Array.isArray(n)&&n.forEach(function(e){delete t[e]}),t}t.d(n,{Z:function(){return omit}})}},function(e){e.O(0,[2655,7048,6845,5584,1035,4749,2879,8427,8672,7980,35,494,8278,9774,2888,179],function(){return e(e.s=91192)}),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.