PageSourceSearch

https://www.piggy.eu/_next/static/chunks/975-af2c0598f56b00cd.js

js piggy.eu collected 2026-10-01 12:09:37 UTC 8,459 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[975],{2215:function(e,t,l){l.d(t,{Z:function(){return d}});var s=l(85893),r=l(74538),a=l(60316),n=l(94184),i=l.n(n),c=l(67294);function d(e){var t;let{placeholder:l,button:n}=e,[d,o]=(0,c.useState)(""),x=i()(null!==(t=e.className)&&void 0!==t?t:"");return(0,s.jsxs)("div",{className:x,children:[(0,s.jsx)("input",{type:"text",name:"text",placeholder:l,onChange:e=>o(e.target.value),className:"pl-6 w-full lg:w-auto h-12 rounded-lg flex-1 font-normal outline-none my-auto text-base text-center lg:text-left lg:text-lg",style:{border:"none"}}),n.map(t=>{var l;return(0,s.jsx)("div",{className:"hidden h-0 lg:inline-flex lg:flex-shrink-0 lg:h-full m-1.5",children:(0,s.jsx)(r.Z,{...null===(l=e.button[0])||void 0===l?void 0:l.link[0],params:{email:d},children:(0,s.jsx)(a.Z,{id:t.id,variant:t.variant,size:"large",color:t.color,textColor:t.textColor,icon:t.icon,className:"justify-between w-full lg:text-xl text-base",children:t.label})})},t.id+t.label)})]})}},9306:function(e,t,l){l.d(t,{Z:function(){return m}});var s=l(85893);l(67294);var r=l(79e3),a=l(94184),n=l.n(a),i=l(13993);function c(e){let{align:t,className:l,image:r}=e,a=n()("center"==t?"w-6/6 mx-auto":"",l);return(0,s.jsx)("div",{className:a,children:r.responsiveImage&&(0,s.jsx)(i.E,{data:r.responsiveImage,pictureClassName:"object-contain"})})}var d=l(85728),o=l(50713),x=l(69185);function m(e){let{image:t,theme:l,align:a,lessSpaceBottom:i,lessSpaceTop:m,animation:h}=e,u=null!=h,g=n()(m?o.vN:o.Rr,i?o.gL:o.xV),f=n()((()=>{switch(a){case"center":return"grid grid-cols-1 gap-y-6 ".concat(u?"h-1/2":"");case"left":return"grid grid-cols-1 ".concat(t||h?"lg:grid-cols-2":"");case"right":return"grid grid-cols-1 grid-rows-1 ".concat(t||h?"lg:grid-cols-2":"")}})()),j=n()(g,"grid","lg:hidden"),p=n()(g,"hidden","lg:grid"),v=()=>(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(r.Z,{className:p,theme:l,children:[(0,s.jsxs)("div",{className:f,children:["right"==a&&(0,s.jsxs)(s.Fragment,{children:[t&&(0,s.jsx)(c,{...e,className:"my-auto"}),u&&(0,s.jsx)(x.Z,{path:h.url,loop:!0,play:!0,style:{width:"auto",height:"auto"}}),(0,s.jsx)(d.Z,{...e,className:"my-auto pl-16"})]}),"left"==a&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(d.Z,{...e,className:"my-auto pr-16"}),t&&(0,s.jsx)(c,{...e,className:"my-auto"}),u&&(0,s.jsx)(x.Z,{path:h.url,loop:!0,play:!0,style:{width:"auto",height:"auto"},className:"my-auto "})]})]}),"center"==a&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(d.Z,{...e}),t&&(0,s.jsx)(c,{...e,className:"my-auto"}),u&&(0,s.jsx)("div",{className:"h-[40rem]",children:(0,s.jsx)(x.Z,{path:h.url,loop:!0,play:!0,style:{width:"100%",height:"100%"}})})]})]}),(0,s.jsx)(r.Z,{className:j,theme:l,children:(0,s.jsxs)("div",{className:f,children:[(0,s.jsx)(d.Z,{...e}),t&&(0,s.jsx)(c,{...e}),u&&(0,s.jsx)(x.Z,{path:h.url,loop:!0,play:!0,style:{width:"auto",height:"auto"}})]})})]});return(0,s.jsx)(v,{})}},85728:function(e,t,l){l.d(t,{Z:function(){return g}});var s=l(85893),r=l(67294),a=l(60316),n=l(94184),i=l.n(n),c=l(89130),d=l(54115),o=l(74538),x=l(92403),m=l(2215),h=l(70942),u=l.n(h);function g(e){let{title:t,description:l,preHeading:n,callToAction:h,align:g,theme:f,isHero:j,largeText:p,image:v,button:N}=e,y=!!h&&Object.keys(h).length>0,w=i()({"place-items-center text-center mx-auto":"center"==g},{"lg:w-2/4":"center"==g&&!p},{"lg:w-4/8 xl:w-3/4":"center"==g&&p}
1,{"flex flex-col my-auto":"left"==g},{"flex flex-col my-auto":"right"==g}),b=i()(v&&"justify-center",w,e.className,"z-10"),Z=i()("flex bg-white rounded-lg justify-between border border-purple-tint"),k=i()("flex flex-col-reverse lg:flex-row mb-12 gap-3",{"justify-center":"center"==g}),z=i()({"text-left":"left"==g},{"text-center":"center"==g},{"text-gray-500":"default"==e.theme},{"text-gray-500":"gray"==e.theme},{"text-gray-200":"dark"==e.theme}),_=i()("text-lg xl:text-xl",y?"mb-8 xl:mb-10":"flex flex-col gap-y-8 mb-12",{"lg:w-4/5 xl:w-3/4 2xl:w-3/4":p},{"mx-auto":"center"==g});return(0,s.jsx)("div",{className:"my-auto",children:(0,s.jsxs)("div",{className:b,children:[n&&(0,s.jsx)(c.Z,{size:j?"medium":"small",theme:f,children:n}),(0,s.jsx)(d.Z,{renderAs:j?p?"h1-large":"h1":"h2",theme:f,className:"overflow-ellipsis",children:u()(t)}),(0,s.jsx)("div",{className:_,children:(0,s.jsx)(x.Z,{renderAs:"structuredText",size:p?"extra-large":j?"large":"medium",theme:f,alignment:"right"==g?"left":g,fontWeight:"light",className:z,children:l})}),y&&(0,s.jsx)("div",{className:k,children:h&&h.map(e=>"FormRecord"==e.__typename?(0,r.createElement)(m.Z,{...e,key:e.id,className:Z}):(0,s.jsx)(o.Z,{...e.link[0],children:(0,s.jsx)(a.Z,{id:e.id,variant:e.variant,size:e.size,icon:e.icon,children:e.label})},e.id))}),N&&(0,s.jsx)("div",{className:k,children:N.map(e=>(0,s.jsx)("div",{children:e.link.map(t=>(0,r.createElement)(o.Z,{...t,key:t.id},(0,s.jsx)(a.Z,{id:e.id,variant:e.variant,size:e.size,icon:e.icon,children:e.label})))},e.id))})]})})}},99974:function(e,t,l){l.d(t,{Z:function(){return n}});var s=l(85893);l(67294);var r=l(94184),a=l.n(r);function n(e){let t=void 0!==e.hidden&&e.hidden,l=a()("border-b h-px relative",e.className);return(0,s.jsxs)("div",{className:l,hidden:t,children:["\xa0",(0,s.jsx)("div",{className:"absolute -top-[14px] text-center w-full",children:e.text&&(0,s.jsx)("span",{className:"bg-white px-2 font-extralight lowercase",children:e.text})})]})}},89130:function(e,t,l){var s=l(85893);l(67294);var r=l(50713),a=l(94184),n=l.n(a);function i(e){let{isHero:t}=e,l=n()(t?"text-sm":"text-base"),a=n()(l,(0,r.i_)(e.theme),"font-medium mb-3");return(0,s.jsx)("p",{className:a,children:e.children})}i.defaultProps={size:"sm",theme:"default",fontWeight:"large"},t.Z=i},21500:function(e,t,l){l.d(t,{_:function(){return i}});var s=l(85893),r=l(74538),a=l(60316),n=l(3654);function i(e){let{hit:t,label:l}=e,i=()=>(0,s.jsx)("div",{className:"flex h-8 w-8 items-center justify-center rounded-full bg-primary-600 text-white text-sm font-light select-none",children:(0,n.Zc)(t.name)});return(0,s.jsxs)("div",{className:"flex items-center space-x-4 border bg-primary-25 rounded-lg my-4 p-4",children:[(0,s.jsx)("div",{className:"flex-shrink-0",children:t.brandkit.logo_large?(0,s.jsx)("img",{className:"w-8 h-8 rounded-full",src:t.brandkit.logo_large,alt:"Neil image"}):(0,s.jsx)(i,{})}),(0,s.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,s.jsx)("p",{className:"text-sm font-medium text-gray-900 truncate",children:t.name}),(0,s.jsx)("p",{className:"text-sm text-gray-500 truncate ",children:(0,s.jsx)(r.Z,{to:t.url,children:t.website})})]}),(0,s.jsx)("div",{className:"inline-flex items-center text-base font-semibold text-gray-900 ",children:(0,s.jsx)(a.Z,{id:"check-balance-button",variant:"ghost",size:"medium",children:(0,s.jsxs)(r.Z,{to:t.url,className:"flex font-medium",isExternalLink:!0,children:[l,(0,s.jsx)("div",{className:"flex items-center ml-2",children:(0,s.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M1.16797 7.00008H12.8346M12.8346 7.00008L7.0013 1.16675M12.8346 7.00008L7.0013 12.8334",stroke:"#000000",strokeWidth:"1.67",strokeLinecap:"round",strokeLinejoin:"round"})})})]})})})]})}l(67294)},73680:function(e,t,l){l.d(t,{L:function(){return n}});var s=l(85893),r=l(67294),a=l(61621);function n(e){let{keyword:t,setKeyword:l}=e,{refine:n}=(0,a.l)(e);return(0,r.useEffect)(()=>{t.length>2&&n(t)},[t]),(0,s.jsxs)("form",{children:[(0,s.jsx)("label",{htmlFor:"default-search",className:"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white",children:"Search"}),(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("div",{className:"absolute inset-y-0 left-0 flex items-center pl-5 pointer-events-none",children:(0,s.jsx)("svg",{"aria-hidden":"true",className:"w-5 h-5 text-gray-500 dark:text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})})}),(0,s.jsx)("input",{type:"search",id:"default-search",className:"block w-full p-6 pl-14 text-lg font-normal text-gray-900 focus-within:ring-0 focus-visible:ring-0 focus:shadow-xl rounded-2xl bg-primary-25",placeholder:"Search shop name, website, address...",value:t,onChange:e=>l(e.target.value),required:!0,autoFocus:!0})]})]})}}}]);
2//# sourceMappingURL=975-af2c0598f56b00cd.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.