PageSourceSearch

https://www.wolfermans.com/static/js/GraphqlRecipeCategoryLanderPage.c35b3373.chunk.js

js wolfermans.com collected 2026-09-26 02:21:14 UTC 10,525 bytes, 2 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[1607],{11713:function(e,t,n){n.d(t,{s:function(){return r}});n(42772),n(15466);var r=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=(t.includes("https://")||t.includes("http://"))&&"undefined"!==typeof window;e.nativeEvent.stopImmediatePropagation(),e.preventDefault(),e.stopPropagation(),a?window.open(t,r?"_self":null):(n.push(t),e.persist())}},89881:function(e,t,n){n.r(t),n.d(t,{default:function(){return P}});n(42772),n(1075),n(32195),n(23e3),n(20334),n(15466),n(82336);var r,a=n(41594),i=n.n(a),o=n(17191),c=n(72),l=n(44199),p=n(83320),d=n(14733),s=n(25212),m=n(74511),u=n(35113),g=(n(47012),n(34204),n(35978),n(81621),n(22369),n(51343),n(90937),n(1623),n(75755),n(43041),n(48691),n(28835),n(40464),n(16481),n(97021),n(87291)),f=n(608),v=n(3495),y=n(52697),h=n(36615),b=n(93554),x=n.n(b),E=n(96894),A=n(50804),C=n(86668),_=n(26306),w=n(6373),N=n(81239),S=n(25655),R=n(82892),q=n(80998);var D=function(e,t){var n,a,i,o,l=(0,c.J1)(r||(i=['{findContent(brand: "','", environment: "','", contentType: "recipe_category_list"){ content }}'],o||(o=i.slice(0)),r=Object.freeze(Object.defineProperties(i,{raw:{value:Object.freeze(o)}}))),e,t),p=(0,q.IT)(l),d=p.error,s=p.data;if(d)return null;var m=null===s||void 0===s||null===(n=s.findContent)||void 0===n||null===(n=n.content)||void 0===n||null===(n=n.entries)||void 0===n||null===(n=n[0])||void 0===n?void 0:n.group;if(null===s||void 0===s||null===(a=s.findContent)||void 0===a||null===(a=a.content)||void 0===a||!a.entries)return null;var u=[];return m.map(function(e){var t={name:e.category_name,link:e.category_url};return u.push(t),null}),u};n.dn(D);var L=n(11713);function k(e){return k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},k(e)}function T(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=k(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=k(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==k(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var W=function(e){var t=e.classes,n=e.page,r=e.recipes,a=e.recipeName,o=e.brandLogo,c=e.seo,l=e.brand,d=(0,f.n)(),m=(0,E.useHistory)(),u=[{title:"Home",href:"/"}],g=D(l,s.S)||[];return g||p.A.logWarning({appName:"mbp-pwa-ui",query:"",component:"RecipeCategoryPage.js",message:"Warning: There are no recipes currently\n  associated with this category - ".concat(null===n||void 0===n?void 0:n.path,'. \n  \n Make sure the category spelling on each \n  recipe matches "').concat(null===n||void 0===n?void 0:n.path.charAt(0).toUpperCase(),'"')}),g.forEach(function(e){if(e.name===a&&e.link===(null===n||void 0===n?void 0:n.path)){var t={title:"Gourmet ".concat(e.name," Recipes | Harry & David"),href:e.link};u.push(t)}}),i().createElement(i().Fragment,null,i().createElement(S.default,{seoData:c}),i().createElement("div",{className:t.breadCrumb},i().createElement(w.default,{breadCrumbArray:u})),i().createElement(v.A,{container:!0},i().createElement(v.A,{item:!0,md:4,lg:4},i().createElement("h1",{className:t.categoryHeaderTitle},a," Recipes")),i().createElement(v.A,{item:!0,md:8,lg:8,className:t.categoryDiscriptionWrap},i().createElement(y.A,{className:t.categoryDescription},"Create an exceptional gourmet meal with these mouthwatering recipes."))),i().createElement("div",{className:t.recipeCatListRoot},i().createElement(v.A,{container:!0,className:t.recipeCatListWrap},g.map(function(e,n){return i().createElement(A.N_,{to:e.link,alt:"".concat(e.name,"_").concat(n),className:t.recipeCat,key:d(e,n)},e.name)}))),i().createElement(v.A,{container:!0},r&&r.map(function(e,n){var r,a;return i().createElement("div",{role:"presentation",onClick:function(t){(0,L.s)(t,null===e||void 0===e?void 0:e.url,m)},className:t.recipeCatCont,key:d(e,n)},i().createElement(v.A,{container:!0,key:d(e,n),item:!0,md:12,lg:12,className:t.recipeContentWrapper},i().createElement(v.A,{item:!0,md:4,lg:3},i().createElement(v.A,{item:!0,lg:12},null!==e&&void 0!==e&&null!==(r=e.image_thumb)&&void 0!==r&&r.url?i().createElement(R.A,{path:null===e||void 0===e||null===(a=e.image_thumb)||void 0===a?void 0:a.url,alt:e.title||"",className:t.recipeImg,params:{}}):i().createElement(R.A,{path:o,alt:e.title||"",className:t.recipeImg,params:{}}))),i().createElement(v.A,{item:!0,md:5,lg:6},i().createElement(v.A,{item:!0,md:12,lg:12,className:t.recipeName},e.title||""),i().createElement(v.A,{item:!0,md:12,lg:12,className:t.recipeShortDe
1scription},i().createElement(x(),{source:e.short_description||""}))),i().createElement(v.A,{item:!0,md:3,lg:3,className:t.viewBtnWrapper},i().createElement(h.A,{variant:"contained",className:t.viewBtn,"aria-label":" View ".concat(null===e||void 0===e?void 0:e.title),alt:"".concat(null===e||void 0===e?void 0:e.title,"_").concat(n),href:e.url||""},"View ",i().createElement(C.A,{className:t.arrowRightIcon})))))}),!r.length&&i().createElement("h3",{className:t.error},i().createElement("em",null,"There does not appear to be any recipes currently associated with this category."))))};W.propTypes={classes:o.object.isRequired,page:o.object.isRequired,recipes:(0,o.arrayOf)((0,o.shape)({name:o.string,short_description:o.string})).isRequired,recipeName:o.string.isRequired,brandLogo:o.string,seo:(0,o.shape)({page_title:o.string,meta_description:o.string,keywords:o.string,canonicalUrl:o.string}).isRequired,brand:o.string.isRequired},W.defaultProps={brandLogo:""};var j,z=(0,g.A)(function(e){var t,n,r=e.palette,a=e.typography,i=e.breakpoints;return{recipeContentWrapper:{borderBottom:"1px solid ".concat(r.common.grey||"#aeaeae"),padding:"35px",maxWidth:"85%",margin:"0 auto"},recipeImg:{width:"230px",display:"block"},recipeName:{fontSize:"24px",fontWeight:"400",marginTop:"10px",color:r.primary.main||"#2f2f2f"},recipeShortDescription:{"& em":{fontStyle:"normal",lineHeight:"23px",color:r.primary[600]||"#828282",fontSize:"18px",paddingTop:"10px","& a":{color:r.primary[600]||"#828282"}}},viewBtnWrapper:{alignSelf:"center",textAlign:"center"},viewBtn:{fontSize:"18px",fontWeight:"700",background:(null===(t=r.cms)||void 0===t?void 0:t.recipeViewBtnBg)||"#50627B",color:r.common.white||"#fff",padding:"6px 50px","&:hover":{background:(null===(n=r.cms)||void 0===n?void 0:n.recipeViewBtnBg)||"#50627B"}},arrowRightIcon:{fontSize:"26px"},categoryHeaderTitle:{textAlign:"center",fontFamily:(a.getFontFamily||function(){})("Crimson")||"crimson_textregular",fontSize:"26px",letterSpacing:"1.2px",color:r.primary.main||"#2f2f2f",fontWeight:"700",margin:"25px 40px"},categoryDiscriptionWrap:{alignSelf:"center",borderLeft:"1px solid ".concat(r.common.black||"#000"),padding:"0 80px"},categoryDescription:{padding:"10px 0"},recipeCatListWrap:{margin:"0 auto",padding:"15px",fontSize:"16px",textAlign:"center",justifyContent:"center"},recipeCatList:{display:"inline-flex",alignItems:"center"},recipeCat:T(T(T({borderRight:"1px solid ".concat(r.common.black||"#000"),padding:"2px 17px 0px 17px",cursor:"pointer",color:r.primary.main||"#2f2f2f",textDecoration:"underline",textDecorationColor:"#bababa",height:"fit-content"},i.down("sm"),{padding:"2px 12px 0px 12px"}),"&:last-child",{border:"none"}),"&:hover",{textDecoration:"underline"}),recipeCatListRoot:T({background:r.colorNeutral20||"#f5f5f5",borderTop:"1px solid ".concat(r.colorDisabled||"#ccc"),borderBottom:"1px solid ".concat(r.colorDisabled||"#ccc"),maxWidth:"85%",margin:"0 auto"},i.down("sm"),{maxWidth:"100%"}),recipeCatListTitle:{fontWeight:"600",fontSize:"1em"},breadCrumb:{padding:"10px"},recipeCatCont:{margin:"0 auto",textDecoration:"none",display:"block",width:"100%",cursor:"pointer",color:r.primary[600]||"#828282",fontSize:"18px","&:last-child":{border:"none"},"& p a":{color:r.primary[600]||"#828282"}},error:{display:"block",margin:"50px auto",textAlign:"center"}}})((0,_.Ng)(function(e){return{brandLogo:(0,N.getLogo)(e)}})(W));var B=function(e){var t=e.page,n=e.brand,r=e.currRecipePath,a=r.includes("/h/recipes/")?r.split("/h/recipes/")[1]:r,o="";a&&(o=a.charAt(0).toUpperCase()+a.slice(1));var d,m,u=(0,c.J1)(j||(d=['{\n        lander: findContent(brand: "','", environment: "','", contentType: "recipe_category_lander", query:"{\\"title\\" : \\"','\\"}")\n        {content}\n        findContent(brand: "','", environment: "','", contentType: "recipe_entry", query:"{\\"recipe_category\\" : \\"','\\"}")\n        {content}\n    }'],(m=['{\n        lander: findContent(brand: "','", environment: "','", contentType: "recipe_category_lander", query:"{\\\\"title\\\\" : \\\\"','\\\\"}")\n        {content}\n        findContent(brand: "','", environment: "','", contentType: "recipe_entry", query:"{\\\\"recipe_category\\\\" : \\\\"','\\\\"}")\n        {content}\n    }'])||(m=d.slice(0)),j=Object.freeze(Object.defineProperties(d,{raw:{value:Object.freeze(m)}}))),n.domain,s.S,o,n.domain,s.S,o);return i().createElement(l.X,{query:u,"data-component":"graphqlRecipeCategoryLanderPage"},function(e){var r,a,c=e.loading,l=e.error,d=e.data;if(c)return null;if(l)return p.A.logError({appName:"mbp-pwa-ui",query:u,component:"GraphqlRecipeCategoryLanderPage.js",message:"Error loading data from Graphql",env:s.S,error:l}),null;if(!d)return p.A.logWarning({appName:"mbp-pwa-ui",query:u,component:"GraphqlRecipeCategoryLanderPage.js",message:"No data returned for query",env:s.S}),null;var m=d.findContent.content.entries,g=null!==(r=d.lander)&&void 0!==r&&null!==(r=r.content)&&void 0!==r&&null!==(r=r.entries)&&void 0!==r&&r.length?null===(a=d.lander.content.entries[0])||void 0===a?void 0:a.seo:{};return i().createElement(i().Fragment,null,o&&i().createElement(z,{page:t,recipes:m,recipeName:o,seo:g,brand:n.domain}))})};B.propTypes={page:o.object.isRequired,brand:o.object.isRequired,currRecipePath:o.string.isRequired};var P=(0,d.Zz)((0,u.A)({pageViewSuccessTest:m.ED}))(B)},86668:function(e,t,n){var r=n(24994);t.A=void 0;var a=r(n(41594)),i=(0,r(n(51696)).default)(a.default.createElement(a.default.Fragment,null,a.default.createElement("path",{d:"M10 17l5-5-5-5v10z"}),a.default.createElement("path",{fill:"none",d:"M0 24V0h24v24H0z"})),"ArrowRight");t.A=i}}]);
2//# sourceMappingURL=GraphqlRecipeCategoryLanderPage.c35b3373.chunk.js.map

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.