PageSourceSearch

https://www.ruuby.com/_next/static/chunks/4132-c10293f66dd44704.js?dpl=dpl_9ne3X6PTMAjF9HsPjBmGPdW4VomS

js ruuby.com collected 2026-10-02 14:33:37 UTC 10,271 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4132],{50481:function(t,e,o){o.d(e,{P:function(){return r}});var n=o(57437);o(2265);let r=t=>{let{width:e,height:o}=t;return(0,n.jsx)("svg",{enableBackground:"new 0 0 29 14",height:null!=o?o:"14",id:"Layer_1",version:"1.1",viewBox:"0 0 29 14",width:null!=e?e:"29",children:(0,n.jsx)("polygon",{fill:"#151614",points:"0.15,0 14.5,14.35 28.85,0 "})})}},85244:function(t,e,o){o.d(e,{k:function(){return d}});var n=o(57437);o(2265);var r=o(89183),i={src:"/_next/static/media/ios.9b8cc5fb.svg"},s={src:"/_next/static/media/android.a8932ca1.svg"};let c=r.ZP.img.withConfig({componentId:"sc-2c991245-0"})(["display:block;width:100%;height:auto;"]),a=r.ZP.img.withConfig({componentId:"sc-2c991245-1"})(["display:block;width:100%;height:auto;"]),d=t=>{let{type:e,className:o}=t;return"ios"===e?(0,n.jsx)(a,{src:i.src,className:o,alt:"Download on the App Store"}):(0,n.jsx)(c,{src:s.src,className:o,alt:"Get it on Google Play"})}},76539:function(t,e,o){o.d(e,{k:function(){return r}});var n=o(57437);o(2265);let r=()=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:[(0,n.jsx)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),(0,n.jsx)("path",{d:"M0 0h24v24H0z",fill:"none"})]})},91626:function(t,e,o){o.d(e,{h4:function(){return i},nv:function(){return s},xv:function(){return c.x}});var n=o(89183),r=o(73197);let i=n.ZP.div.withConfig({componentId:"sc-840189c2-0"})(["font-family:",";font-size:",";color:",";"],r.r.fontName.heading,r.r.fontSize.header,r.r.color.ruubyGrey),s=n.ZP.p.withConfig({componentId:"sc-11bfe096-0"})(["font-size:",";color:",";margin:1rem 0;"],r.r.fontSize.paragraph,r.r.color.ruubyGrey);var c=o(82828)},82828:function(t,e,o){o.d(e,{x:function(){return i}});var n=o(89183),r=o(73197);let i=n.ZP.div.withConfig({componentId:"sc-a4ab7db-0"})(["font-family:",";",";",";",";",";",";",";",";@media screen and (max-width:992px){",";}"],r.r.fontName.main,t=>(function(t){switch(t){case"blue":return"color: ".concat(r.r.color.ruubyBlue,";");case"grey":return"color: ".concat(r.r.color.ruubyGrey,";");case"greyer":return"color: ".concat(r.r.color.borderColor,";");case"white":return"color: white;";case"newGreyLight":return"color: ".concat(r.r.color.ruubyNewGreyLight,";");case"ruubyNewBlueGrey":return"color: ".concat(r.r.color.ruubyNewBlueGrey,";");default:return"color: ".concat(r.r.color.ruubyBlack,";")}})(t.color),t=>(function(t){switch(t){case"bold":return"font-weight: 700";case"semibold":return"font-weight: 600";default:return"font-weight: 400"}})(t.weight),t=>s(t.size),t=>t.align?"text-align: ".concat(t.align):void 0,t=>t.transform?"text-transform: ".concat(t.transform):void 0,t=>t.lineHeight?"line-height: ".concat(t.lineHeight):void 0,t=>t.textDecoration?"text-decoration: ".concat(t.textDecoration):void 0,t=>t.mobileSize&&s(t.mobileSize));function s(t){switch(t){case"8":return"font-size: ".concat(r.r.fontSize.tiny);case"10":return"font-size: ".concat(r.r.fontSize.small);case"12":return"font-size: ".concat(r.r.fontSize.smaller);case"14":return"font-size: ".concat(r.r.fontSize.main);case"16":return"font-size: ".concat(r.r.fontSize.bigger);case"18":return"font-size: ".concat(r.r.fontSize.paragraph);case"20":return"font-size: ".concat(r.r.fontSize.big);case"22":return"font-size: ".concat(r.r.fontSize.headingNew);case"24":return"font-size: ".concat(r.r.fontSize.heading);default:return"font-size: ".concat(r.r.fontSize.main,";")}}},65775:function(t,e,o){o.d(e,{u:function(){return g}});var n=o(57437),r=o(2265),i=o(46783),s=o(89183),c=o(76539),a=o(91626),d=o(73197);let l={enter:300,exit:300},u={transition:"all ".concat(l.enter,"ms")},h={entered:{opacity:1},entering:{opacity:0},exited:{opacity:0},exiting:{opacity:1}},p=s.ZP.div.withConfig({componentId:"sc-951e98f9-0"})(["position:absolute;top:2px;right:5px;svg{width:14px;height:14px;fill:",";cursor:pointer;transition:fill ",";&:hover{fill:",";}}"],d.r.color.borderColor,d.r.transition.linear03,d.r.color.ruubyGrey),f=s.ZP.div.withConfig({componentId:"sc-951e98f9-1"})(["position:absolute;top:auto;left:50%;transform:translate(-50%,0);padding:20px;border-radius:3px;background:",';z-index:100;&:after{content:" ";left:50%;height:0;width:0;position:absolute;pointer-events:none;border:solid transparent;border-width:6px;margin-left:-6px;',";}"],d.r.color.tooltip,t=>"top"===t.position?"\n      top: 100%;\n      border-top-color: ".concat(d.r.color.tooltip,";\n    "):"\n      bottom: 100%;\n      border-bottom-color: ".concat(d.r.color.tooltip,";\n    ")),g=t=>(0,n.jsx)(i.ZP,{in:t.isShow,timeout:l,children:e=>(0,n.jsx)(r.Fragment,{children:t.isShow&&(0,n.jsxs)(f,{className:t.className,style:{...u,...h[e]},position:t.position,children:[t.onClose&&(0,n.jsx)(p,{onClick:t.onClose,children:(0,n.jsx)(c.k,{})}),(0,n.jsx)(a.xv,{weight:"semibold",color:"white",children:t.text})]})})})},44942:function(t,e,o){o.d(e,{Z:function(){return n}});let n=o(89183).ZP.div.withConfig({componentId:"sc-1fb4cab8-0"})(["display:flex;flex-direction:column;position:relative;box-shadow:",";border-radius:11px;"],t=>{let{theme:e}=t;return e.shadows.panel})},20336:function(t,e,o){o.d(e,{u:function(){return m}});var n=o(57437),r=o(2265),i=o(46783),s=o(89183),c=o(54887),a=o(76539),d=o(91626);let l=s.ZP.div.withConfig({componentId:"sc-da1fda5f-0"})(["position:fixed;width:100%;height:100%;top:0;left:0;background-color:rgba(21,22,20,0.5);z-index:1000;"]),u=s.ZP.div.withConfig({componentId:"sc-da1fda5f-1"})(["display:flex;justify-content:space-between;"]),h=(0,s.ZP)(d.xv).withConfig({componentId:"sc-da1fda5f-2"})(["padding-bottom:20px;"]),p=s.ZP.div.withConfig({componentId:"sc-da1fda5f-3"})(["margin-left:auto;padding-bottom:20px;svg{width:24px;height:24px;fill:",";cursor:pointer;transition:",";&:hover{fill:",";}}"],t=>{let{theme:e}=t;return e.colours.ruubyLightGrey},t=>{let{theme:e}=t;return"fill ".concat(e.transition.linear03)},t=>{let{theme:e}=t;return e.colours.ruubyBlack}),f=s.ZP.div.withConfig({componentId:"sc-da1fda5f-4"})(["position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);padding:40px;background:white;border-radius:8px;z-index:1001;@media screen and (max-width:992px){width:90vw;padding:20px;}"]),g={enter:0,exit:0},w={transition:"opacity 300ms"},x={[i.cn]:{opacity:1},[i.d0]:{opacity:0}
1,[i.Wj]:{opacity:0},[i.Ix]:{opacity:1}},m=t=>{let{title:e,children:o,className:s,isOverlayClose:m,isCloseIconShown:b=!0,isShow:y,modalText:v,onClose:S,usePortal:C=!1}=t,z=(0,r.useCallback)(t=>{"entering"!==t&&m&&S()},[m,S]);y?setTimeout(()=>{window.document.body.style.overflow="hidden"}):window.document.body.style.overflow="";let k=(0,n.jsx)(i.ZP,{in:y,timeout:g,mountOnEnter:!0,unmountOnExit:!0,children:t=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(l,{style:{...w,...x[t]},onClick:()=>z(t)}),(0,n.jsxs)(f,{className:s,style:{...w,...x[t]},children:[(0,n.jsxs)(u,{children:[e&&(0,n.jsx)(h,{size:"18",weight:"semibold",children:e}),b&&(0,n.jsx)(p,{children:(0,n.jsx)("div",{onClick:S,children:(0,n.jsx)(a.k,{})})})]}),o||(0,n.jsx)(d.xv,{size:"18",weight:"semibold",children:v})]})]})});return C?(0,c.createPortal)(k,document.body):k}},45119:function(t,e,o){var n,r;o.d(e,{z:function(){return u},p:function(){return n}});class i{getIdentifierUrlFragment(){return"".concat(this.getIdentifierKey(),"=").concat(this.getIdentifierValue())}}class s extends i{canCheckoutWithThisAddress(){return!1}getTitle(){return this.description}getLabel(t){return t?this.postcodeOutwardCode:"Your area"}getIdentifierKey(){return"outcode"}getIdentifierValue(){return this.postcodeOutwardCode}getPostCodeOutwardCode(){return this.postcodeOutwardCode}getShortAddress(){return this.getPostCodeOutwardCode()}getCheckoutAddress(){return{address1:"unknown",address2:"unknown",postcode:this.postcodeOutwardCode}}getSummaryAddress(){return this.getTitle()}constructor(t){super(),Object.assign(this,t)}}function c(t){return t[0].toUpperCase()+t.slice(1).toLowerCase()}class a extends i{canCheckoutWithThisAddress(){return!0}getTitle(){return this.line_1}getShortAddress(){return"".concat(this.line_1,", ").concat(this.postcode)}getCheckoutAddress(){return{address1:this.line_1,address2:this.line_2,postcode:this.postcode}}getPostCodeOutwardCode(){return this.postcode.replace(RegExp(" [0-9A-Z]{3}$"),"")}}class d extends a{getLabel(t){return t?this.postcode:"".concat(c(this.post_town)," ").concat(this.postcode)}getIdentifierKey(){return"udprn"}getIdentifierValue(){return this.udprn}getSummaryAddress(){return"".concat(this.line_1," ").concat(c(this.post_town)," ").concat(this.postcode)}constructor(t){super(),Object.assign(this,t)}}class l extends a{getLabel(){return this.postcode}getIdentifierKey(){return"postcode"}getIdentifierValue(){return this.postcode}getSummaryAddress(){return"".concat(this.line_1," ").concat(this.postcode)}constructor(t){super(),Object.assign(this,t)}}function u(t){if(void 0!==t)switch(t.type){case"ADDRESS":return new d(t.value);case"AREA":return new s(t.value);case"UNRESOLVED_ADDRESS":return new l(t.value);default:throw Error("Unhandled address type: ".concat(t.type))}}(r=n||(n={})).address="ADDRESS",r.area="AREA",r.unresolvedAddress="UNRESOLVED_ADDRESS"},82152:function(t,e,o){o.d(e,{DF:function(){return l},DL:function(){return r},RH:function(){return a},Uu:function(){return h},nk:function(){return d}});var n,r,i=o(31116),s=o(45119);(n=r||(r={})).BOOKING_ADDRESS="booking",n.BILLING_ADDRESS="billing";let c=(0,i.oM)({name:"postcodesState",initialState:{bookingLocation:void 0,billingLocation:void 0,selectedSuggestedAddress:void 0},reducers:{clearAddress:t=>{t.bookingLocation=void 0,t.selectedSuggestedAddress=void 0},setAddressManually:(t,e)=>{var o;t.bookingLocation={type:null!==(o=e.payload.type)&&void 0!==o?o:s.p.unresolvedAddress,value:e.payload.data}},setBillingAddressManually:(t,e)=>{var o;t.billingLocation={type:null!==(o=e.payload.type)&&void 0!==o?o:s.p.unresolvedAddress,value:e.payload.data}},setSelectedPostcode:(t,e)=>{t.bookingLocation={type:s.p.area,value:{description:"".concat(e.payload," postcode"),postcodeOutwardCode:e.payload}}}}}),{clearAddress:a,setAddressManually:d,setBillingAddressManually:l,setSelectedPostcode:u}=c.actions,h=c.reducer}}]);

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.