PageSourceSearch

https://www.splend.com/_next/static/chunks/2256.9ee98c22a17034d0.js

js splend.com collected 2026-10-02 15:12:36 UTC 6,619 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},i=Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="257a607f-a8de-4f54-8fb0-93475edf7146",e._sentryDebugIdIdentifier="sentry-dbid-257a607f-a8de-4f54-8fb0-93475edf7146")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2256],{82256:function(e,i,r){"use strict";r.r(i),r.d(i,{VehicleUSPV2:function(){return p}});var l=r(85893),c=r(3017),n=r(55969),s=r.n(n),o=r(35880),a=r(77722),t=r(81935),u=r(86010),d=r(87536),_=r(11163),b=r(36006),h=r(41664),m=r.n(h);let p=e=>{var i;let{title:r,role:n,cta:h}=e,p=(0,_.useRouter)(),v=p.locale,f="en-GB"===v,{flexiOwnDisplayPlans:x}=(0,o.GG)(),U=null===(i=x[0])||void 0===i?void 0:i.content;return n&&"price"!==n?(0,l.jsx)(c.C,{md:4,children:(0,l.jsx)({price:()=>(0,l.jsxs)("article",{className:(0,u.Z)(s().priceUSP),children:[(0,l.jsx)("h5",{children:r}),(0,l.jsx)("div",{className:s().priceComparisons,children:x.map(e=>{var i,r;return(0,l.jsxs)("div",{className:(0,u.Z)(s().priceComparison,s().priceComparison__flexi),children:[(0,l.jsxs)("h5",{className:s().priceHeading,children:[(0,t.a)((0,a.Zs)("flexi-own",null!==(r=null===(i=e.content.pricing)||void 0===i?void 0:i[0])&&void 0!==r?r:{}),v)," ",(0,l.jsx)("span",{children:" / week*"})]}),(0,l.jsxs)("p",{children:["Flexi Own Plan ",e.content.term_length," Year"]})]},e.id)})}),(0,l.jsx)("p",{className:s().priceComparison__flexi__disclaimer,children:f?(0,l.jsxs)(l.Fragment,{children:["Additional fees may apply. T&Cs apply. ",(0,l.jsx)(m(),{href:"/en-GB/contact-us/",children:"Contact us"})," for more information."]}):(0,l.jsxs)(l.Fragment,{children:["*Additional fees may apply. See ",(0,l.jsx)(m(),{href:"/additional-fees",children:"T&Cs"})]})}),(0,l.jsx)("div",{className:s().priceUSP__cta_container,children:h})]}),earning:()=>{let{register:e,watch:i}=(0,d.cI)({defaultValues:{hours:"45"}}),c={35:35*Number(null==U?void 0:U.uber_earnings_ph),45:45*Number(null==U?void 0:U.uber_earnings_ph),55:55*Number(null==U?void 0:U.uber_earnings_ph)},n=i("hours");return(0,l.jsxs)("article",{className:s().vehicleUSP,children:[(0,l.jsx)("h5",{children:r}),(0,l.jsx)("div",{className:s().earning,children:(0,l.jsx)("form",{children:(0,l.jsxs)("div",{children:["Earn up to",(0,l.jsx)("br",{}),(0,t.a)(c[n],v),"p/w*",(0,l.jsxs)("span",{children:["driving","",(0,l.jsxs)("label",{children:[(0,l.jsx)("span",{children:n}),(0,l.jsxs)("select",{...e("hours"),className:s().ghostSelect,children:[(0,l.jsx)("option",{value:"35",selected:"35"===n,children:"35"},"35"),(0,l.jsx)("option",{value:"45",selected:"45"===n,children:"45"},"45"),(0,l.jsx)("option",{value:"55",selected:"55"===n,children:"55"},"55")]})]})," ","hours p/w"]})]})})}),(0,l.jsx)("div",{className:s().vehicleUSP__cta,children:h})]})},uber:()=>{let e=(null==U?void 0:U.uber_eligibility)||[];return(0,l.jsxs)("article",{className:s().vehicleUSP,children:[(0,l.jsx)("h5",{children:r}),(0,l.jsx)("div",{className:s().uberListContainer,children:(0,l.jsx)("ul",{className:s().uberList,children:(0,b._)(p.locale,e).map(e=>{let{label:i,color:r,key:c}=e;return(0,l.jsx)("li",{className:s().uberList__item,style:{backgroundColor:r},children:i},c)})})}),(0,l.jsx)("p",{className:s().uberList__disclaimer,children:"Vehicle eligibility may change and is determined by Uber"})]})}}[n],{})}):null}},35880:function(e,i,r){"use strict";r.d(i,{Eb:function(){return b},GG:function(){return d}});var l=r(85893),c=r(44274),n=r(22998),s=r(67294),o=r(60221),a=r(92432),t=r(70280);let u=e=>/^(\/?[^\/]+\/vehicles\/[^\/]+\/?)$/.test(e),[d,_]=(0,c.Z)(),b=e=>{var i,r;let{children:c,vehicleUuid:d}=e,{closestCity:b,path:h}=(0,n.Z_)(),[m]=(0,a.aM)({query:o.R7,variables:{filter:{vehicle:{in:d}}},pause:!u(h)||!d,context:(0,s.useMemo)(()=>({requestPolicy:"cache-first",fetchOptions:t.Px}),[])}),p=(null==m?void 0:null===(r=m.data)||void 0===r?void 0:null===(i=r.VehicleplanItems)||void 0===i?void 0:i.items)||[],v=(0,s.useMemo)(()=>p.filter(e=>{var i,r;return null==e?void 0:null===(r=e.content)||void 0===r?void 0:null===(i=r.cities)||void 0===i?void 0:i.some(e=>(null==e?void 0:e.uuid)===(null==b?void 0:b.uuid))}),[p,null==b?void 0:b.uuid]),f=(0,s.useMemo)(()=>v.filter(e=>{var i,r;return(null==e?void 0:null===(i=e.content)||void 0===i?void 0:i.category)==="flexi-own"&&(null==e?void 0:null===(r=e.content)||void 0===r?void 0:r.show_plan_on_vehicle_page)===!0}).sort((e,i)=>{var r,l;return Number(null==e?void 0:null===(r=e.content)||void 0===r?void 0:r.term_length)-Number(null==i?void 0:null===(l=i.content)||void 0===l?void 0:l.term_length)}).slice(0,2),[v]);return(0,l.jsx)(_,{value:{flexiOwnDisplayPlans:f,plansForCity:v},children:c})}},36006:function(e,i,r){"use strict";r.d(i,{_:function(){return l}});let l=(e,i)=>{let r={"uber-black":{label:"Uber Black",color:"#03040B"},"uber-black-van":{label:"Uber Black Van",color:"#03040B"},"uber-max":{label:"Uber Max",color:"#44227B"},"uber-xl":{label:"Uber XL",color:"#5C6067"},"uber-comfort-electric":{label:"Uber Comfort Electric",color:"#006E91"},"uber-comfort":{label:"Uber Comfort",color:"#00ACE2"},"uber-electric":{label:"Uber Electric",color:"#00B855"},"uber-x":{label:"Uber X",color:"#43464B"},"uber-executive":{label:"Uber Exec",color:"#B89A00"},"uber-assist":{label:"Uber Assist",color:"#1784E9"},"uber-lux":{label:"Uber Lux",color:"#B5B5B5"},"uber-access":{label:"Uber Access",color:"#17D0E9"}},l={"en-AU":["uber-black","uber-black-van","uber-max","uber-xl","uber-comfort-electric","uber-comfort","uber-electric","uber-x"],"en-GB":["uber-executive","uber-black-van","uber-xl","uber-comfort","uber-electric","uber-x"]}[e];return i.filter(e=>r[e]).sort((e,i)=>l.indexOf(e)-l.indexOf(i)).map(e=>({...r[e],key:e}))}},55969:function(e){e.exports={vehicleUSP:"VehicleUSPV2_vehicleUSP__9dNn0",vehicleUSP__cta:"VehicleUSPV2_vehicleUSP__cta__FhO_L",priceUSP:"VehicleUSPV2_priceUSP__IVb7f",priceUSP__cta_container:"VehicleUSPV2_priceUSP__cta_container__F7fjk",uberListContainer:"VehicleUSPV2_uberListContainer__XgvWN",uberList:"VehicleUSPV2_uberList__jluLg",uberList__item:"VehicleUSPV2_uberList__item__8tZfz",uberList__disclaimer:"VehicleUSPV2_uberList__disclaimer__rOmPm",compare:"VehicleUSPV2_compare__fqJO6",earning:"VehicleUSPV2_earning__OBFsv",priceComparisons:"VehicleUSPV2_priceComparisons__6fYPh",priceHeading:"VehicleUSPV2_priceHeading__6EwgS",priceComparison:"VehicleUSPV2_priceComparison__k15p_",priceComparison__flexi:"VehicleUSPV2_priceComparison__flexi__SArDW",priceComparison__flexi__disclaimer:"VehicleUSPV2_priceComparison__flexi__disclaimer__Z9HiH"}}}]);

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.