PageSourceSearch

https://tambouille.vercel.app/_next/static/chunks/pages/recettes-d8e5c84d50f7644ffdc8.js

js tambouille.vercel.app collected 2026-10-03 07:50:35 UTC 3,867 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[719],{3274:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var n=r(7146),a=r(6156),i=r(8902),s=(r(164),r(9748));function o(e){var t=e.totalPages,r=e.currentPage,a=parseInt(r)-1>0,s=parseInt(r)+1<=parseInt(t);return(0,n.tZ)("div",{className:"pt-6 pb-8 space-y-2 md:space-y-5",children:(0,n.BX)("nav",{className:"flex justify-between",children:[!a&&(0,n.tZ)("button",{rel:"previous",className:"cursor-auto disabled:opacity-50",disabled:!a,children:"Previous"}),a&&(0,n.tZ)(i.Z,{href:r-1===1?"/recettes/":"/recettes/page/".concat(r-1),children:(0,n.tZ)("button",{rel:"previous",children:"Previous"})}),(0,n.BX)("span",{children:[r," of ",t]}),!s&&(0,n.tZ)("button",{rel:"next",className:"cursor-auto disabled:opacity-50",disabled:!s,children:"Next"}),s&&(0,n.tZ)(i.Z,{href:"/recettes/page/".concat(r+1),children:(0,n.tZ)("button",{rel:"next",children:"Next"})})]})})}r(5675);var c=r(6813);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){(0,a.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function d(e){var t=e.posts,r=e.title,a=e.initialDisplayPosts,i=void 0===a?[]:a,l=e.pagination,d=(0,s.useState)(""),p=d[0],g=d[1],f=t.filter((function(e){return(e.title+e.summary+e.tags.join(" ")).toLowerCase().includes(p.toLowerCase())})),h=i.length>0&&!p?i:f;return(0,n.BX)(n.HY,{children:[(0,n.BX)("div",{className:"divide-y",children:[(0,n.BX)("div",{className:"pt-6 pb-8 space-y-2 md:space-y-5",children:[(0,n.tZ)("h1",{className:"text-3xl font-extrabold leading-9 tracking-tight text-gray-900 dark:text-gray-100 sm:text-4xl sm:leading-10 md:text-6xl md:leading-14",children:r}),(0,n.BX)("div",{className:"relative max-w-lg",children:[(0,n.tZ)("input",{"aria-label":"Search articles",type:"text",onChange:function(e){return g(e.target.value)},placeholder:"Search articles",className:"block w-full px-4 py-2 text-gray-900 bg-white border border-gray-300 rounded-md dark:border-gray-900 focus:ring-blue-500 focus:border-blue-500 dark:focus:ring-orange-500 dark:focus:border-orange-500 dark:bg-gray-800 dark:text-gray-100"}),(0,n.tZ)("svg",{className:"absolute w-5 h-5 text-gray-400 right-3 top-3 dark:text-gray-300",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,n.tZ)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})})]})]}),(0,n.BX)("ul",{children:[!f.length&&"No posts found.",h.map((function(e){return(0,n.tZ)("li",{className:"py-4",children:(0,n.tZ)(c.Z,u(u({},e),{},{image:e.images[0],hasExtraLink:!1,isH2:!1}))},e.slug)}))]})]}),l&&l.totalPages>1&&!p&&(0,n.tZ)(o,{currentPage:l.currentPage,totalPages:l.totalPages})]})}},7926:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSG:function(){return o},POSTS_PER_PAGE:function(){return c},default:function(){return l}});var n=r(7146),a=r(7300),i=r(3274),s=r(2496),o=!0,c=10;function l(e){var t=e.posts,r=e.initialDisplayPosts,o=e.pagination;return(0,n.BX)(n.HY,{children:[(0,n.tZ)(s.Is,{title:"Recettes",description:a.WL,url:"".concat(a.or,"/recettes")}),(0,n.tZ)(i.Z,{posts:t,initialDisplayPosts:r,pagination:o,title:"Toutes les recettes"})]})}},8804:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/recettes",function(){return r(7926)}])}},function(e){e.O(0,[813,888,179],(function(){return t=8804,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.