PageSourceSearch

https://www.barakasheabutter.com/_next/static/chunks/pages/%5B%5B.…?dpl=dpl_7qxgW4Md6Ehh2CR3sxUBrgC5cPkd

js barakasheabutter.com collected 2026-09-25 18:42:49 UTC 14,171 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6120],{19335:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[[...slug]]",function(){return l(98647)}])},98647:function(e,t,l){"use strict";l.r(t),l.d(t,{__N_SSG:function(){return z},default:function(){return el},getPageStaticPaths:function(){return et},getPageStaticProps:function(){return ee}});var i=l(85655),n=l(71655),o=l(78467),a=l(88848),s=l.n(a),r=l(24304),u=l(36049),d=l(2194),c=l(97773),v=l(19624),p=l(4538),m=l(52322),g=l(2784),h=l(55351),f=l(37984),x=l(96884),j=l(50877);function b(e){let{pageMeta:t,section:l}=e,i=(0,j.j)(),n=(0,x.h2)(null==i?void 0:i.asPath),o=(0,x.Yc)(t,l,n);return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(h.gR,{itemListElements:o}),(0,m.jsx)(f.Z,{...e})]})}var P=e=>{let t=(0,j.j)(),l=(0,x.h2)(null==t?void 0:t.asPath),i=(0,x.Tr)("/",l),n="".concat((0,x.Tr)("/search",l),"?q");return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(f.Z,{...e}),(0,m.jsx)(h.iu,{url:i,potentialActions:[{target:n,queryInput:"search_term_string"}]})]})},y=l(73208),S=l(37539),_=l(34719),L=l(64591),C=l(38289),w=e=>{var t,l;let{...n}=e,o=(0,j.X)();if(!n.plasmicPrefetchedData||0===n.plasmicPrefetchedData.entryCompMetas.length)return null==o||o.replace("/404"),null;let a=n.plasmicPrefetchedData.entryCompMetas[0];return i.pS?(0,m.jsxs)(m.Fragment,{children:[(null==n?void 0:n.metafieldJsonMarkup)?(0,m.jsx)(C._,{markupString:n.metafieldJsonMarkup,url:s()(void 0).SITE_URL+"/".concat(null!==(t=n.pageData.pageMeta.key)&&void 0!==t?t:"")}):(0,m.jsx)(m.Fragment,{}),(0,m.jsxs)(L.Z.Provider,{value:{blogSource:"shopify"},children:[(0,m.jsx)(S.i9,{component:a.displayName}),(0,m.jsx)(_.Z,{seo:{...n.blogSEO,canonicalUrl:s()(void 0).SITE_URL+"/".concat(null!==(l=n.pageData.pageMeta.key)&&void 0!==l?l:"")}})]})]}):null},E=l(49091),T=e=>(0,m.jsx)(E.u1,{component:e.componentPath}),N=l(2265),I=l(59105);function U(e){let t=(0,j.X)(),[l,i]=(0,g.useState)(""),n=(l?e.blogPosts.filter(e=>e.categories.data.find(e=>e.attributes.slug===l)):e.blogPosts).sort((e,t)=>new Date(t.date).getTime()-new Date(e.date).getTime());for(let e of n)e.path="/blog/".concat(e.slug);(0,g.useEffect)(()=>{e.blogPosts||null==t||t.replace("/404")},[e.blogPosts,t]);let o=(0,x.h2)(null==t?void 0:t.asPath),a=[...(0,x.v7)(o),{"@type":"ListItem",position:2,name:"Blog",item:(0,x.Tr)("/blog",o)}],s={blogPosts:n.map(N.rE),activeBlogCategory:l,setActiveBlogCategory:i,blogCategories:e.blogCategories};return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(h.gR,{itemListElements:a}),(0,m.jsx)(L.Z.Provider,{value:{...s,blogSource:"strapi"},children:(0,m.jsx)("div",{className:"w-screen",children:(0,m.jsx)(S.FW,{name:I.Or.BLOG,data:{...s},children:(0,m.jsx)(E.u1,{component:I.AF.BLOG})})})})]})}var k=l(85286),R=l(12524),F=l.n(R),M=l(86870);function A(e){let t=(0,j.j)(),{collectionSEO:l,productsForSEO:i,collectionMetafields:n}=e,o=(0,g.useMemo)(()=>{if(!(null==t?void 0:t.asPath))return s()(void 0).SITE_URL;let e=(0,M.pi)(null==t?void 0:t.asPath),l=new URL(s()(void 0).SITE_URL+("/"===e?"":e));l.search="";let i=(0,u.sk)()?void 0:new URL(window.location.href),n=null==i?void 0:i.searchParams.get("page");return n&&"1"!==n&&l.searchParams.set("page",n),l.toString()},[null==t?void 0:t.asPath]),a=(0,u.Sd)(n);return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(C._,{markupString:a,url:o}),(0,m.jsxs)("div",{className:F()("relative"),children:[(0,m.jsx)(k.W.Provider,{value:{},children:(0,m.jsx)(f.Z,{...e})}),(0,m.jsx)(_.Z,{seo:{...l,canonicalUrl:o}}),(0,m.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify((()=>{let e=(0,x.h2)(null==t?void 0:t.asPath),i=[{"@type":"ListItem",position:1,name:"Home",item:(0,x.Tr)("/",e)},{"@type":"ListItem",position:2,name:"Collections",item:(0,x.Tr)("/collections",e)}];l.seoTitle&&i.push({"@type":"ListItem",position:3,name:l.seoTitle,item:o});let a=[{"@type":"BreadcrumbList",itemListElement:i}];if((0,u.WQ)(n)||a.push({"@type":"CollectionPage","@id":o,name:l.seoTitle,url:o,description:l.seoDescription}),n&&(0,u.OS)(void 0,"DOGS_NATURALLY")){let e=n.find(e=>"additional_schema"===e.key);if(null==e?void 0:e.value)try{let t=JSON.parse(e.value);t&&"object"==typeof t&&a.push(t)}catch(e){console.error("Invalid JSON in additional_schema metafield:",e)}}return{"@context":"https://schema.org","@graph":a}})())}})]})]})}var D=l(12053);l(54895);var O=l(7046),Z=l(848),B=l(6804),q=l(37739);let X=e=>{var t;let{bundle:l}=e,i=(0,j.X)();return(null==i?void 0:i.isFallback)?(0,m.jsx)("h1",{children:"Loading..."}):(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(V,{...e}),(null==l?void 0:null===(t=l.attributes)||void 0===t?void 0:t.seo)?(0,m.jsx)(_.Z,{seo:l.attributes.seo}):(0,m.jsx)(m.Fragment,{})]})},V=e=>{var t,l;(0,q.lO)();let i=(0,j.X)(),{productTemplates:n,templateProducts:o,bundle:a,relatedProducts:r,initialProductOne:u,initialProductTwo:d,productForCustomProductOptions:c,plasmicComponentPath:v}=e,h=(0,O.Co)(),{currencyCode:x}=(0,Z.bp)(),[b,P]=(0,g.useState)(u),[y,_]=(0,g.useState)(d),[L,C]=(0,g.useState)(!1),[w,E]=(0,g.useState)(1);if((0,g.useEffect)(()=>{b&&y||null==i||i.push("/")},[]),!b||!y)return null;let[T,N]=(0,g.useState)(()=>{let e={};for(let t of b.options)e[t.displayName]=t.values[0];return e}),[U,k]=(0,g.useState)(()=>{let e={};for(let t of y.options)e[t.displayName]=t.values[0];return e}),R=b.variants[0],F=y.variants[0],M=[null==b?void 0:b.images[0],null==y?void 0:y.images[0],null==b?void 0:b.images[1],null==y?void 0:y.images[1]],A=null==b?void 0:null===(t=b.metafields)||void 0===t?void 0:t.find(e=>"bundlepng"===e.key),X=null==y?void 0:null===(l=y.metafields)||void 0===l?void 0:l.find(e=>"bundlepng"===e.key);return(0,g.useEffect)(()=>{var e,t,l,i,n,o,r,u,d,c;null==h||null===(e=h.helpers)||void 0===e||e.ttq.event("ViewContent",{content_name:a.attributes.name,content_type:"bundle",description:a.attributes.description,value:a.attributes.price,currency:x}),null==h||null===(t=h.helpers)||void 0===t||t.fbq.event("bundle-deprecated","Vie
1wContent",{content_name:a.attributes.name,content_type:"bundle",content_ids:[R,F].map(e=>String(e.id).split("ProductVariant/")[1]),value:a.attributes.price,currency:x});let v=null===(l=window)||void 0===l?void 0:l.klaviyo,m={ProductName:a.attributes.name,ImageURL:"".concat(s()(void 0).BLINK_CMS_URL).concat(null===(r=a.attributes)||void 0===r?void 0:null===(o=r.image)||void 0===o?void 0:null===(n=o.data)||void 0===n?void 0:null===(i=n.attributes)||void 0===i?void 0:i.url),URL:(0,p.Z)(void 0).getBundleUrl(a.attributes),Price:a.attributes.price,CompareAtPrice:a.attributes.compareAtPrice},g=(0,B.Z)().slice(0,5);null==v||null===(u=v.track)||void 0===u||u.call(v,"Viewed Product",{...m,unique_id:g}),(null==h?void 0:null===(d=h.integrations)||void 0===d?void 0:d["integrations.squaredance"])&&h.helpers.squaredance.event("ViewContent"),null==v||null===(c=v.trackViewedItem)||void 0===c||c.call(v,{Title:m.ProductName,ImageUrl:m.ImageURL,Url:m.URL,Metadata:{Price:m.Price,CompareAtPrice:m.CompareAtPrice}})},[]),(0,m.jsx)(S.FW,{name:I.Or.PRODUCT,data:{product:b,productTemplate:n[0],secondaryProduct:y,secondaryTemplate:n[1]},children:(0,m.jsx)(D.OB.Provider,{value:{quantity:w,setQuantity:E,type:"bundle",product:b,productTemplate:n[0],bundle:a,relatedProducts:r,images:M,videoUrl:a.attributes.videoUrl,productForCustomProductOptions:c,secondaryProduct:y,secondaryTemplate:n[1],setPrimaryProduct:P,setSecondaryProduct:_,metafieldBundlePNGOne:A,metafieldBundlePNGTwo:X,templateProducts:o,currentPrimaryProductOptions:T,currentSecondaryProductOptions:U,handleProductOptionClick:(e,t,l)=>{},currentVariantPrimary:R,currentVariantSecondary:F,customProductOptionsOpened:L,setCustomProductOptionsOpened:C},children:(0,m.jsx)(f.Z,{...e})})})};function G(e){var t,l;let{bundle:i}=e,n=(0,j.j)(),o=(0,x.h2)(null==n?void 0:n.asPath),a=[...(0,x.v7)(o),{"@type":"ListItem",position:2,name:"Sets",item:(0,x.Tr)("/sets",o)},{"@type":"ListItem",position:3,name:(null==i?void 0:null===(t=i.attributes)||void 0===t?void 0:t.name)||"Bundle",item:(0,x.Tr)("/sets/".concat(null==i?void 0:null===(l=i.attributes)||void 0===l?void 0:l.slug),o)}];return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(h.gR,{itemListElements:a}),(0,m.jsx)(X,{...e})]})}function W(e){var t,l,i,n,o,a;let{productMeta:s}=e;if(!(null==s?void 0:s.id)||!(null==s?void 0:s.name)||!(null==s?void 0:s.slug))throw Error("PDP build failed: missing required productMeta fields — id: ".concat(null==s?void 0:s.id,", name: ").concat(null==s?void 0:s.name,", slug: ").concat(null==s?void 0:s.slug));let r=(0,x.g4)(null==s?void 0:s.fullLocale),d=(0,x.SY)(null==s?void 0:s.name,null==s?void 0:s.slug,r);return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(_.Z,{seo:{seoDescription:(null==e?void 0:null===(l=e.productMeta)||void 0===l?void 0:null===(t=l.seo)||void 0===t?void 0:t.description)||((null==e?void 0:null===(i=e.productMeta)||void 0===i?void 0:i.description)?e.productMeta.description.substring(0,140):(null==e?void 0:null===(n=e.productMeta)||void 0===n?void 0:n.shopDescription)||""),seoTitle:(0,u.G5)(null==e?void 0:null===(a=e.productMeta)||void 0===a?void 0:null===(o=a.seo)||void 0===o?void 0:o.title,(null==s?void 0:s.name)||"")}}),(0,m.jsx)(h.gR,{itemListElements:d}),(0,m.jsx)(S.FW,{name:"Product Meta",data:{ID:null==s?void 0:s.id,Name:null==s?void 0:s.name,Slug:null==s?void 0:s.slug,Tags:null==s?void 0:s.tags,Seo:null==s?void 0:s.seo},children:(0,m.jsx)(f.Z,{...e})})]})}function H(e){let{pageMeta:t,slugs:l}=e,i=(0,j.j)(),n=(0,x.h2)(null==i?void 0:i.asPath),o=(0,x.uN)(t,l,n);return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(h.gR,{itemListElements:o}),(0,m.jsx)(f.Z,{...e})]})}l(26415);var J=l(22479);function Y(){let e=(0,j.j)();return(0,g.useEffect)(()=>{var t;if(!e.isReady)return;let l="https://".concat(s()(void 0).SHOPIFY_STORE_DOMAIN,"/pages/manage-my-subscriptions?").concat(null==e?void 0:null===(t=e.asPath)||void 0===t?void 0:t.split("?")[1]);window.location.href=l},[e]),(0,m.jsx)(J.xg,{})}function Q(e){let{pageMeta:t,slug:l}=e,i=(0,j.j)(),n=(0,x.h2)(null==i?void 0:i.asPath),o=(0,x.Qc)(t,l,n);return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(h.gR,{itemListElements:o}),(0,m.jsx)(f.Z,{...e})]})}var K=l(2014),$=l(34406),z=!0;let ee=async(e,t,l,a,s,d)=>{var c;let m="/"===e.charAt(0)?e:"/".concat(e);a&&(m="/".concat(a).concat(m));let g=i.pS?await (0,K.E1)("plasmicPath",async()=>i.pS.maybeFetchComponentData([m])):null,h=o.mu.includes(m);
1if(!g&&!h){if($.env.NEXT_PHASE===r.PHASE_PRODUCTION_BUILD)return{notFound:!0};let e=v.E7.find(e=>{var t;return null!==(t=e.source)&&void 0!==t&&!!t.includes("/pages/")&&e.source.replace("/pages","")===m});return e?(0,u.wu)(e.destination,e.permanent):(0,u.UR)()}let f=await (0,n.v)({key:e||"error-no-page-to-fetch"},t,l,[m],{countryCode:s},void 0,void 0,d);return(0,u.qo)({...f,pageMeta:{path:m,title:(null==g?void 0:null===(c=g.entryCompMetas)||void 0===c?void 0:c[0].pageMetadata.title)||e,slug:e}},(0,p.Z)(void 0).GENERIC_REVALIDATE)},et=async e=>{let t=await (0,c.vU)(void 0),l=(await (null===i.pS||void 0===i.pS?void 0:i.pS.fetchPages())||[]).map(e=>e.path),n=await (0,d.NX)(l.filter(t=>e?t.startsWith("/".concat(e,"/")):"/collections"===t||"/"!==t&&!t.includes("/404")&&!t.includes("/products")&&!t.includes("/sets")&&!t.includes("/collections")&&!t.includes("/collection-templates")&&!t.includes("/product-templates")&&!t.includes("/blog")&&!t.includes("/collabs/")&&!t.includes("/plant-care/")&&!t.includes("/retailerprogram/")&&!t.includes("/locations")&&!t.includes("/diy")&&!t.includes("/pages/")).map(e=>{let t=e.replace("/","");return""===t?"/":t}),void 0,t.attributes.defaultCountryCode,t.attributes.extendedLocales);return"true"===s()(void 0).FAST_BUILD?n=n.slice(0,25):(0,u.U$)()&&(n=n.slice(0,1)),{paths:n,fallback:!0}};var el=function(e){let{pageType:t}=e;return"homepage"===t?(0,m.jsx)(P,{...e}):"404"===t?(0,m.jsx)(y.Z,{...e}):"manage-my-subscriptions"===t?(0,m.jsx)(Y,{...e}):"blog"===t?(0,m.jsx)(U,{...e}):"shopify-blog"===t?(0,m.jsx)(w,{...e}):"cart"===t?(0,m.jsx)(T,{...e}):"collabs"===t?(0,m.jsx)(b,{...e,section:"collabs"}):"collection"===t?(0,m.jsx)(A,{...e}):"diy"===t?(0,m.jsx)(b,{...e,section:"diy"}):"locations"===t?(0,m.jsx)(b,{...e,section:"locations"}):"nested-page"===t?(0,m.jsx)(H,{...e}):"plant-care"===t?(0,m.jsx)(b,{...e,section:"plant-care"}):"product"===t?(0,m.jsx)(W,{...e}):"retailer-program"===t?(0,m.jsx)(b,{...e,section:"retailer-program"}):"bundle"===t?(0,m.jsx)(G,{...e}):(0,m.jsx)(Q,{...e})}},37984:function(e,t,l){"use strict";var i=l(52322),n=l(49091);t.Z=e=>{var t;return e.plasmicPrefetchedData?(0,i.jsx)(n.u1,{component:null===(t=e.plasmicPrefetchedData.entryCompMetas[0])||void 0===t?void 0:t.name}):null}},73208:function(e,t,l){"use strict";l.d(t,{Z:function(){return o}});var i=l(52322),n=l(37984);function o(e){return e.firstBuild?(0,i.jsx)("div",{children:"First build"}):(0,i.jsx)(n.Z,{...e})}},64591:function(e,t,l){"use strict";l.d(t,{Z:function(){return r},F:function(){return u}});var i=l(2784),n=l(52322),o=l(12524),a=l.n(o),s=e=>{let{text:t,isActive:l,setActive:i}=e;return(0,n.jsx)("div",{className:a()("flex cursor-pointer my-2 md:my-0 border-2 rounded-full border-black","bg-".concat(l?"black":"white"),"text-".concat(l?"white":"black")),onClick:()=>i(),role:"button",children:(0,n.jsxs)("div",{className:"px-2",children:[(0,n.jsx)("span",{children:t||""})," "]})})};(0,l(85655).QM)(e=>{var t;let{className:l}=e,i=u();return i?(0,n.jsxs)("div",{className:a()("flex justify-start md:justify-between md:w-1/3 flex-col md:flex-row",l),children:[(0,n.jsx)(s,{text:"All Posts",isActive:!i.activeBlogCategory,setActive:()=>{var e;return null===(e=i.setActiveBlogCategory)||void 0===e?void 0:e.call(i,"")}}),null===(t=i.blogCategories)||void 0===t?void 0:t.map((e,t)=>(0,n.jsx)(s,{text:e.title,isActive:i.activeBlogCategory===e.slug,setActive:()=>{var t;return null===(t=i.setActiveBlogCategory)||void 0===t?void 0:t.call(i,e.slug)}},t))]}):null},{name:"BlogCategoryButtons",props:{}});let r=(0,i.createContext)(null),u=()=>{let e=(0,i.useContext)(r);return void 0===e?(console.error("useBlogContext must be used within a Provider"),null):e}}},function(e){e.O(0,[9774,2888,179],function(){return e(e.s=19335)}),_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.