PageSourceSearch

https://bushride.com/_next/static/chunks/pages/book/[rideid]-8b86c0fdb9b88815.js

js bushride.com collected 2026-10-02 00:28:58 UTC 28,763 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9827],{52996:function(e,s,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/book/[rideid]",function(){return a(73801)}])},72685:function(e,s,a){"use strict";var t=a(85893),i=a(9191);s.Z=e=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[(0,t.jsx)("circle",{className:"opacity-25",cx:12,cy:12,r:10,stroke:i.Z["bushride-primary-300"],strokeWidth:4}),(0,t.jsx)("path",{className:"opacity-75",fill:i.Z["bushride-primary-500"],d:"M4 12a8 8 0 0 1 8-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 0 1 4 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})},64711:function(e,s,a){"use strict";a.d(s,{Z:function(){return m}});var t=a(85893),i=a(11163),l=a(67294),r=a(9008),n=a.n(r),c=a(75063),d=a(82210),o=a(42429),h=a(65820);let u={hidden:{opacity:0,x:0,y:0},enter:{opacity:1,x:0,y:0},exit:{opacity:0,x:0,y:0}};function m(e){let{children:s}=e,a=(0,i.useRouter)(),[r,m]=(0,l.useState)(0),[x,f]=(0,l.useState)(0),[p,y]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{a.isReady&&(m(0),f(0),y(!1),("/publish/departure"==a.pathname||"/publish/departure/precise"==a.pathname)&&(m(0),f(11.11111111111111),y(!0)),("/publish/arrival"==a.pathname||"/publish/arrival/precise"==a.pathname)&&(m(11.11111111111111),f(22.22222222222222),y(!0)),"/publish/departure/date"==a.pathname&&(m(22.22222222222222),f(33.33333333333333),y(!0)),"/publish/departure/time"==a.pathname&&(m(33.33333333333333),f(44.44444444444444),y(!0)),"/publish/car"==a.pathname&&(m(44.44444444444444),f(50),y(!0)),"/publish/comfort"==a.pathname&&(m(44.44444444444444),f(55.55555555555556),y(!0)),"/publish/seats"==a.pathname&&(m(55.55555555555556),f(66.66666666666666),y(!0)),"/publish/price"==a.pathname&&(m(66.66666666666666),f(77.77777777777779),y(!0)),"/publish/pets"==a.pathname&&(m(77.77777777777779),f(88.88888888888889),y(!0)),"/publish/description"==a.pathname&&(m(88.88888888888889),f(100),y(!0)))},[a.isReady,a.query]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(n(),{children:[(0,t.jsx)("meta",{property:"og:image",content:"https://".concat("ea.cdn.bushride.com","/bushride-og.png")}),(0,t.jsx)("meta",{name:"apple-itunes-app",content:"app-id=6459408637"})]}),(0,t.jsx)(c.Z,{isFocusMode:!0}),p?(0,t.jsx)("div",{className:"w-full overflow-hidden bg-gray-200",children:(0,t.jsx)(o.E.div,{initial:{width:"".concat(r,"%")},animate:{width:"".concat(x,"%")},transition:{duration:.5},className:"h-1 rounded-r-full bg-bushride-primary-50"})}):"",(0,t.jsx)(h.M,{mode:"wait",initial:!1,onExitComplete:()=>window.scrollTo(0,0),children:(0,t.jsx)(o.E.main,{variants:u,initial:"hidden",animate:"enter",exit:"exit",transition:{type:"linear",opacity:{duration:.1}},children:s},a.asPath)}),(0,t.jsx)(d.Z,{isFocusMode:!0})]})}},50327:function(e,s,a){"use strict";var t=a(85893),i=a(67294),l=a(61076),r=a(84282),n=a(72685);let c=(0,i.forwardRef)((e,s)=>(0,t.jsxs)("button",{id:e.id,ref:s,type:e.type,hidden:e.hidden,disabled:e.disabled,className:(0,l.Z)(e.hidden?"":"flex ","w-full justify-center items-center rounded-md border border-transparent bg-bushride-primary-500 py-2 px-4 text-sm font-medium text-white shadow-sm transition-colors hover:bg-bushride-primary-600 disabled:bg-bushride-primary-300 focus:outline-none focus:ring-2 focus:ring-bushride-primary-400 focus:ring-offset-2",e.extendClassName),onClick:e.onClick,children:[(0,t.jsx)(n.Z,{className:(0,l.Z)("pointer-events-none animate-spin h-5 w-5",e.loading?"absolute":"hidden"),"aria-hidden":"true"}),(0,t.jsx)("span",{className:e.loading?"flex pointer-events-none shrink-0 invisible":"flex visible",children:e.children}),e.showChevron?(0,t.jsx)(r.Z,{className:(0,l.Z)("h-4 w-4 mt-0.5 ml-2 text-white stroke-white stroke-1",e.loading?"flex pointer-events-none shrink-0 invisible":"flex visible")}):""]}));c.displayName="BaseButton",s.Z=c},98789:function(e,s,a){"use strict";a.d(s,{Z:function(){return l}});var t=a(85893),i=a(61076);function l(e){let{maxWidthSize:s,children:a}=e;return(0,t.jsx)("div",{className:"bg-slate-100 min-h-[calc(100vh-192px)] sm:min-h-[calc(100vh-200px)] md:min-
1h-[calc(100vh-11rem-4px)]",children:(0,t.jsx)("div",{className:(0,i.Z)(s,"mx-auto px-4 sm:px-6 lg:px-8"),children:a})})}},74690:function(e,s,a){"use strict";a.d(s,{Z:function(){return n}});var t=a(85893),i=a(11163),l=a(67294),r=a(61076);function n(e){let{pageHeading:s,children:a}=e,n=(0,i.useRouter)(),[c,d]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{n.isReady&&(n.query,"/book/"==n.pathname.substring(0,6)&&"/book/pending/"!=n.pathname.substring(0,14)&&d(!0))},[n.isReady]),(0,t.jsx)("div",{className:(0,r.Z)("bg-slate-100 ",c?"min-h-[calc(100vh-5rem)] sm:min-h-[calc(100vh-5.5rem)]":"min-h-[calc(100vh-5.25rem)] sm:min-h-[calc(100vh-5.75rem)]"),children:(0,t.jsx)("div",{className:"max-w-xl mx-auto px-4 sm:px-6 lg:px-8",children:(0,t.jsxs)("div",{className:"flex flex-col justify-center items-center py-12",children:[(0,t.jsx)("h1",{className:"w-full text-3xl mb-6 mx-auto font-bold tracking-tight md:text-center md:text-4xl text-gray-600",children:s}),a]})})})}},20870:function(e,s,a){"use strict";a.d(s,{Z:function(){return r}});var t=a(85893),i=a(98789),l=a(72685);function r(){return(0,t.jsx)(i.Z,{maxWidthSize:"max-w-xl",children:(0,t.jsx)("div",{className:"flex flex-col pt-24 items-center justify-items-center",children:(0,t.jsx)(l.Z,{className:"animate-spin h-12 w-12","aria-hidden":"true"})})})}},74139:function(e,s,a){"use strict";a.d(s,{Z:function(){return d}});var t=a(85893),i=a(67294),l=a(61076),r=a(84282);a(9191);var n=e=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...e,children:[(0,t.jsx)("circle",{className:"opacity-25",cx:12,cy:12,r:10,stroke:"#d1d5db",strokeWidth:4}),(0,t.jsx)("path",{className:"opacity-75",fill:"#6b7280",d:"M4 12a8 8 0 0 1 8-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 0 1 4 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]});let c=(0,i.forwardRef)((e,s)=>(0,t.jsxs)("button",{ref:s,type:e.type,disabled:e.disabled,onClick:e.onClick,className:(0,l.Z)("group flex w-full justify-center items-center rounded-md border border-transparent bg-white py-2 px-4 text-sm font-medium text-gray-500 hover:text-gray-400 disabled:text-gray-400 transition-colors focus:outline-none focus:ring-2 focus:ring-bushride-primary-500",e.extendClassName),children:[(0,t.jsx)(n,{className:(0,l.Z)("pointer-events-none animate-spin h-5 w-5",e.loading?"absolute":"hidden"),"aria-hidden":"true"}),(0,t.jsx)("span",{className:e.loading?"flex pointer-events-none shrink-0 invisible":"flex visible",children:e.children}),e.showChevron?(0,t.jsx)(r.Z,{className:(0,l.Z)("h-4 w-4 mt-0.5 ml-2 text-gray-500 stroke-gray-500 stroke-1",e.loading?"flex pointer-events-none shrink-0 invisible":"flex visible")}):""]}));c.displayName="BaseButton";var d=c},73801:function(e,s,a){"use strict";a.r(s),a.d(s,{default:function(){return R}});var t=a(85893),i=a(9008),l=a.n(i),r=a(64711),n=a(41664),c=a.n(n),d=a(11163),o=a(67294),h=a(51522),u=a(84163),m=a(40383),x=a(47235),f=a(61076),p=a(82799),y=a(30749),j=a(74690),b=a(50327),v=a(30120),g=a(77426),w=a(54763),N=a(20870),Z=a(45696),F=a(74139),k=a(9191),M=e=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",width:670.713,height:675.702,viewBox:"0 0 670.713 675.702",...e,children:[(0,t.jsx)("path",{d:"M169.19 648.41a3.613 3.613 0 0 1-2.619-6.262l.248-.985a9.707 9.707 0 0 0-17.997-.17c-4.282 10.024-9.824 20.4-7.068 31.44-18.206-38.585-12.015-86.581 14.891-119.579 7.437-4.097 13.465-11.375 15.035-19.827-3.681 1.247-8.27-1.747-5.503-5.624 1.2-1.482 2.411-2.952 3.61-4.434-13.981-14.89-30.64 8.512-15.25 28.61a115.847 115.847 0 0 0-13.012 20.352 48.71 48.71 0 0 0-2.908-22.625c-2.783-6.715-8-12.37-12.595-18.175-5.586-7.073-17.083-3.81-17.834 5.166 5.155 1.695 5.825 9.141-.072 10.16 1.544 16.699 12.453 32.044 27.478 39.367a116.299 116.299 0 0 0-6.355 48.611c-2.652-19.25-23.316-23.921-37.759-31.572a5.626 5.626 0 0 0-8.58 5.698 32.495 32.495 0 0 1 5.696 3.005 4.911 4.911 0 0 1-2.282 8.966c7.28 18.018 26.102 30.117 45.434 30.049a119.563 119.563 0 0 0 8.031 23.447h28.692c.103-.319.196-.648.288-.967a32.6 32.6 0 0 1-7.939-.473c7.026-8.319 12.46-12.563 8.371-24.177ZM424.983 648.41a3.613 3.613 0 0 0 2.618-6.262l-.247-.985a9.707 9.707 0 0 1 17.997-.17c4.282 10.024 9.824 20.4 7.068 31.44 18.206-38.585 12.014-86.581-14.892-119.579-7.437-4.097-13.465-11.375-15.034-19.827 3.68 1.247 8.27-1.747 5.502-5.624-1.2-1.482-2.41-2.952-3.61-4.434 13.982-14.89 30.64 8.512 15.251 28.61a115.846 115.846 0 0 1 13.011 20.352 48.71 48.71 0 0 1 2.908-22.625c2.784-6.715 8.001-12.37 12.595-18.175 5.586-7.073 17.083-3.81 17.835 5.166-5.155 1.695-5.825 9.141.072 10.16-1.544 16.699-12.453 32.044-27.478 39.367a116.299 116.299 0 0 1 6.355 48.611c2.652-19.25 23.316-23.921 37.759-31.572a5.626 5.626 0 0 1 8.58 5.698 32.495 32.495 0 0 0-5.696 3.005 4.911 4.911 0 0 0 2.282 8.966c-7.28 18.018-26.103 30.117-45.434 30.049a119.562 119.562 0 0 1-8.032 23.447h-28.691c-.103-.319-.196-.648-.288-.967a32.6 32.6 0 0 0 7.939-.473c-7.027-8.319-12.46-12.563-8.371-24.177Z",fill:"#f2f2f2"}),(0,t.jsx)("path",{fill:"#ffb6b6",d:"m435.621 652.671-12.356 2.81-16.724-46.322 18.237-4.149 10.843 47.661z"}),(0,t.jsx)("path",{d:"m438.99 665.461-37.997 8.646-.11-.48a15.168 15.168 0 0 1 11.424-18.156h.001l5.742-6.845 14.148 2.32 3.317-.755Z",fill:"#2f2e41"}),(0,t.jsx)("path",{fill:"#ffb6b6",d:"m634.947 426.88 6.792 10.697-38.028 31.294-10.026-15.789 41.262-26.202z"}),(0,t.jsx)("path",{d:"m645.866 419.416 20.89 32.895-.415.264a15.168 15.168 0 0 1-20.935-4.672l-8.375-3.114-2.561-14.106-1.824-2.872Z",fill:"#2f2e41"}),(0,t.jsx)("path",{d:"m241.075 312.512-3.052-17.689 46.397-20.95 10.02-17.741a8.626 8.626 0 1 1 12.74 5.725l-16.483 25.483Z",fill:"#a0616a"}),(0,t.jsx)("path",{fill:k.Z["bushride-secondary-500"],d:"m226.971 298.052 20.894-10.673 5.531 20.768-14.513 10.758-11.912-20.853z"}),(0,t.jsx)("path",{fill:"#a0616a",d:"m180.086 651.062 12.633-.001 6.01-48.729-18.646.001.003 48.729z"}),(0,t.jsx)("path",{d:"M196.923 652.2v-8.566l-3.321.203-13.52.801-3.129.192-2.392 28.684
1-.128 1.538h8.97l.289-1.527 1.302-6.941 3.364 6.941.737 1.527h23.783a5.374 5.374 0 0 0 5.339-5.35c1.004-4.688-18.774-14.822-21.294-17.503Z",fill:"#2f2e41"}),(0,t.jsx)("path",{fill:"#a0616a",d:"m30.123 457.676-2.945 12.286 45.985 17.206 4.346-18.132-47.386-11.36z"}),(0,t.jsx)("path",{d:"m26.091 473.784 8.329 1.997.577-3.277 2.373-13.333.543-3.088-27.336-9.014-1.465-.483-2.092 8.723 1.418.636 6.446 2.886-7.534 1.652-1.657.361-5.545 23.127a5.374 5.374 0 0 0 3.958 6.44c4.325 2.069 18.791-14.8 21.985-16.627Z",fill:"#2f2e41"}),(0,t.jsx)("path",{d:"m199.62 335.69-16.262-7.602-32.428 39.244-19.752 4.996a8.626 8.626 0 1 0 2.169 13.797l28.924-9.192Z",fill:"#a0616a"}),(0,t.jsx)("path",{d:"M430.159 190.415a17.428 17.428 0 1 1 17.427-17.428 17.447 17.447 0 0 1-17.427 17.428Zm0-32.856a15.428 15.428 0 1 0 15.427 15.428 15.445 15.445 0 0 0-15.427-15.428Z",fill:"#e6e6e6"}),(0,t.jsx)("path",{d:"M428.929 179.552c-.035 0-.07 0-.105-.002a2.148 2.148 0 0 1-1.593-.828l-2.745-3.53a2.15 2.15 0 0 1 .377-3.016l.098-.077a2.149 2.149 0 0 1 3.017.377 1.568 1.568 0 0 0 2.374.116l5.575-5.885a2.152 2.152 0 0 1 3.038-.082l.092.087a2.149 2.149 0 0 1 .082 3.038l-8.65 9.131a2.147 2.147 0 0 1-1.56.671ZM343.159 401.415a17.428 17.428 0 1 1 17.427-17.428 17.447 17.447 0 0 1-17.427 17.428Zm0-32.856a15.428 15.428 0 1 0 15.427 15.428 15.445 15.445 0 0 0-15.427-15.428Z",fill:"#e6e6e6"}),(0,t.jsx)("path",{d:"M341.929 390.552c-.035 0-.07 0-.105-.002a2.148 2.148 0 0 1-1.593-.828l-2.745-3.53a2.15 2.15 0 0 1 .377-3.016l.098-.077a2.149 2.149 0 0 1 3.017.377 1.568 1.568 0 0 0 2.374.116l5.575-5.885a2.152 2.152 0 0 1 3.038-.082l.092.087a2.149 2.149 0 0 1 .082 3.038l-8.65 9.131a2.147 2.147 0 0 1-1.56.671ZM152.159 166.415a17.428 17.428 0 1 1 17.427-17.428 17.447 17.447 0 0 1-17.427 17.428Zm0-32.856a15.428 15.428 0 1 0 15.427 15.428 15.445 15.445 0 0 0-15.427-15.428Z",fill:"#e6e6e6"}),(0,t.jsx)("path",{d:"M150.929 155.552c-.035 0-.07 0-.105-.002a2.148 2.148 0 0 1-1.593-.828l-2.745-3.53a2.15 2.15 0 0 1 .377-3.016l.098-.077a2.149 2.149 0 0 1 3.017.377 1.568 1.568 0 0 0 2.374.116l5.575-5.885a2.152 2.152 0 0 1 3.038-.082l.092.087a2.149 2.149 0 0 1 .082 3.038l-8.65 9.131a2.147 2.147 0 0 1-1.56.671Z",fill:"#e6e6e6"}),(0,t.jsx)("path",{d:"M291.685 466.213c-40.413 0-86.857-44.846-127.949-23.539-124.415 64.514-107.289-43.44-143.032-83.589l1.174-2.353c39.438 35.363 88.679 64.135 142.398 83.204 48.546 17.235 97.455 25.22 141.424 23.113l.076 2.83q-6.965.335-14.091.334Z",fill:"#f2f2f2"}),(0,t.jsx)("ellipse",{cx:236.249,cy:151.676,rx:8.447,ry:11.327,fill:"#e6e6e6"}),(0,t.jsx)("path",{d:"M333.816 339.713c-3.862 2.574-7.815-3.55-3.879-6.01 3.862-2.573 7.815 3.552 3.879 6.01Z",fill:"#e6e6e6"}),(0,t.jsx)("circle",{cx:311.586,cy:122.53,r:11,fill:"#ff6584"}),(0,t.jsx)("path",{d:"m614.704 294.958 62.593-182.809-68.731 180.62a3.442 3.442 0 1 0 6.138 2.19Z",transform:"translate(-264.644 -112.15)",fill:"#f0f0f0",opacity:.3,style:{isolation:"isolate"}}),(0,t.jsx)("circle",{cx:286.88,cy:394.821,r:10.702,fill:"#f2f2f2"}),(0,t.jsx)("path",{d:"M183.225 398.904s-26.68 17.373-19.625 28.918c.243.398-31.87 42.81-31.87 42.81l-60.622-3.848-2.136 20.29 53.97 15.631s13.203 9.7 23.403-.987 44.174-43.415 44.174-43.415l1.639 66.076-17.055 91.563 25.465-1.614 24.785-91.86 9.15-104.055Z",fill:"#2f2e41"}),(0,t.jsx)("path",{d:"m202.23 294.635-11.22 8.503-12.788 27.293 12.297 16.701s10.344 17.927-6.213 35.288-29.27 35.903-16.018 35.24 66.925 26.638 67.278 4.272 1.068-39.512 1.068-39.512l14.072-35.691s8.383-21.292 2.497-27.665-13.767-14.518-13.767-14.518l-14.332-14.332h-12.941Z",fill:k.Z["bushride-secondary-500"]}),(0,t.jsx)("path",{d:"M223.174 242.194c25.17 14.323 4.507 52.114-21.132 38.657-25.17-14.323-4.506-52.114 21.132-38.657Z",fill:"#a0616a"}),(0,t.jsx)("path",{d:"M236.634 250.135c-1.764 2.294-5.449 1.218-12.665 2.855a30.08 30.08 0 0 0-.841-7.262 20.441 20.441 0 0 1-3.447 8.173c-6.265.695 1.416 19.73-1.793 33.725-4.133-29.525-12.827-21.79-8.435-15.934 2.812 3.75.937 14.996-7.498 9.373-13.918 6.614-33.741-26.244-11.771-41.653-.393-8.33 8.876-9.646 14.583-7.085 13.85-10.318 29.675 2.903 31.867 17.808Z",fill:"#2f2e41"}),(0,t.jsx)("path",{d:"M172.052 228.591c-5.604 34.455-35.64-6.336-49.763 27.57-4.44 12.28 3.178 21.063 7.997 31.255 1.1 8.377-9.797 12.626-10.938 20.336-.318 17.677 28.2 16.595 36.172 5.443 8.192-11.675-1.59-27.338 3.334-39.869 6.92-17.397 35.063-17.526 37.515-37.767-4.748-6.762-17.516-14.506-24.317-6.968Z",fill:"#2f2e41"}),(0,t.jsx)("path",{d:"M194.753 231.958c-.183.077-.366.154-.53.241h-.01c-.155.077-.309.155-.463.241-.02.01-.03.02-.049.03-.202-.194-.405-.387-.617-.58a2.231 2.231 0 0 0 .039.946l.029.116c.193.202.395.395.607.598.193-.145.377-.3.57-.444.115-.096.231-.193.357-.29.019-.25.048-.54.077-.858Zm5.809-10.73c-4.304-.984-5.693 4.642-6.108 7.353-1.563-9.842-8.066-6.745-5.818-.03a15.036 15.036 0 0 0 3.31 5.327c.202.232.424.463.655.695-.26 1.35 1.052 1.003 2.828-.241a23.646 23.646 0 0 0 3.618-3.175c3.541-3.715 6.3-8.684 1.515-9.929Zm.135 5.539a33.72 33.72 0 0 1-4.448 4.718q-.767.695-1.563 1.332c-.01.087-.01.164-.02.231a1.767 1.767 0 0 1-.135.27c-.54.975-1.148.444-1.38-.366-.019-.03-.048-.058-.067-.087a13.596 13.596 0 0 1-1.997-2.644c-3.985-6.908 2.431-11.607 2.113 1.293a1.222 1.222 0 0 0-.116.376 2.231 2.231 0 0 0 .039.946l.029.116c.193.202.395.395.607.598.193-.145.377-.3.57-.444.115-.096.231-.193.357-.29.019-.25.048-.54.077-.858v-.01c.25-2.586.936-7.236 2.2-8.5 2.779-2.133 6.378.173 3.734 3.319Zm-5.944 5.191c-.183.077-.366.154-.53.241h-.01c-.155.077-.309.155-.463.241-.02.01-.03.02-.049.03-.202-.194-.405-.387-.617-.58a2.231 2.231 0 0 0 .039.946l.029.116c.193.202.395.395.607.598.193-.145.377-.3.57-.444.115-.096.231-.193.357-.29.019-.25.048-.54.077-.858ZM427.397 421.918 418.1 446.16l-43.608 86.02 38.318 100.067 19.776-5.22-16.3-94.847 46.764-56.82 55.536 37.667s24.63 19.228 34 1 70-57 70-57l-15-16-69.819 32.674-48.189-67.828Z",fill:"#2f2e41"}),(0,t.jsx)("path",{d:"M474.303 307.563 459 291.123l-26.25-3.612-32.164 22.517.324 24.923 15.9 58.73s-6.056 42.193 10.86 41.77 26.137-8.857 33.027-7.14 36.177 9.023 38.033 1.37 11.722-2.173 11.29-9.413-26.71-59.427-26.71-59.427l6.533-52.192Z",fill:k.Z["bushride-secondary-500"]}),(0,t.jsx)("path",{d:"M571.194 231.883a9.373 9.373 0 0 1-10.042 
110.282l-35.19 66.927-9.449-14.504 35.97-63.164a9.424 9.424 0 0 1 18.711.459Z",fill:"#ffb6b6"}),(0,t.jsx)("path",{d:"M460.41 320.007s-1.396 11.905 12.006 14.852 50.533-18.269 56.62-21.51c1.906-1.014 4.492-5.988 7.146-12.341 1.192-2.853 2.397-5.984 3.56-9.16.673-1.837 3.896-2.338 4.53-4.16.63-1.813-1.327-4.947-.756-6.655a523.122 523.122 0 0 0 4.633-14.54l-8.883-16.685c-12.423 6.568-18.795 21.034-23.481 37.701Z",fill:k.Z["bushride-secondary-500"]}),(0,t.jsx)("path",{d:"M303.89 247.252a9.373 9.373 0 0 0 12.296 7.442l50.82 55.99 5.517-16.406-50.632-52.153a9.424 9.424 0 0 0-18.001 5.127Z",fill:"#ffb6b6"}),(0,t.jsx)("path",{d:"M433.203 304.848s4.33 11.176-7.908 17.384-53.496-5.042-60.2-6.656c-2.1-.505-5.849-4.673-10.008-10.16-1.868-2.464-3.818-5.194-5.739-7.977-1.111-1.611-4.357-1.29-5.427-2.896-1.064-1.597.047-5.12-.934-6.631-4.654-7.171-8.123-12.918-8.123-12.918l4.424-18.378c13.671 3.25 23.46 15.662 32.17 30.626Z",fill:k.Z["bushride-secondary-500"]}),(0,t.jsx)("circle",{cx:446.399,cy:258.353,r:24.976,fill:"#ffb6b6"}),(0,t.jsx)("path",{d:"M474.91 244.052c-2.628-4.065-7.558-6.773-12.337-6.012a16.847 16.847 0 0 0-28.228-9.827 5.239 5.239 0 0 0-5.124-.512 10.802 10.802 0 0 0-4.162 3.34 24.243 24.243 0 0 0-3.392 24.664c-.584-2.124 1.544-4.122 3.694-4.598 2.15-.477 4.405-.026 6.586-.336 2.794-.398 5.307-2.019 8.105-2.384a18.453 18.453 0 0 1 7.012.901 19.012 19.012 0 0 0 7.01.941c2.355-.28 5.39 8.648 5.349 14.936-.008 1.192.238 2.722 1.402 2.975 1.434.311 2.265-1.668 3.63-2.208a2.525 2.525 0 0 1 3.098 1.648 4.117 4.117 0 0 1-.786 3.687 12.167 12.167 0 0 1-2.95 2.558l.562.468a3.345 3.345 0 0 0 4.223.525 9.114 9.114 0 0 0 3.032-3.453 40.623 40.623 0 0 0 5.56-13.325c.881-4.76.342-9.924-2.285-13.988Z",fill:"#2f2e41"}),(0,t.jsx)("path",{d:"M659.682 342.559c-32.216 24.4-96.316 16.691-116.208 58.487-60.228 126.545-111.754 30.148-164.488 19.723l-.485-2.584c52.79 4.378 109.414-2.415 163.75-19.648 49.105-15.571 92.915-38.735 126.693-66.962l1.769 2.21q-5.35 4.473-11.031 8.774Z",fill:"#f2f2f2"}),(0,t.jsx)("path",{d:"M523.476 673.996c-.767 2.273-438.841 2.273-439.669.006.766-2.278 438.84-2.278 439.669-.006Z",fill:"#ccc"})]}),C=a(41970);function E(e){let{pageHeading:s}=e,a=(0,d.useRouter)(),{selectedRide:i,setSelectedRide:l}=(0,o.useContext)(h.b),[r,n]=(0,o.useState)(null),[k,E]=(0,o.useState)(!0),[R,B]=(0,o.useState)(null),[S,P]=(0,o.useState)(null),[D,z]=(0,o.useState)(null),[q,_]=(0,o.useState)(null),A=(0,o.useRef)(null),[T,H]=(0,o.useState)(!1);async function O(e){e.preventDefault();try{await w.g.currentAuthenticatedUser({bypassCache:!1})}catch(e){console.error(e),a.push({pathname:"/login",query:{redirect:a.asPath}});return}a.push({pathname:"/book/payment/".concat(r.rideid),query:{...null!=r.seats&&{seats:r.seats}}})}return((0,o.useEffect)(()=>{let e;if(!a.isReady)return;let s=a.query;n(s),(async()=>{if(0==Object.keys(i).length||i.id!=s.rideid)try{if(e=await g.b.graphql({variables:{id:s.rideid},query:x.U8,authMode:"API_KEY"}),null!=e.data.getRide.confirmedPassengers&&0!=e.data.getRide.confirmedPassengers.length){let a;let t={rideId:s.rideid,status:{eq:"CONFIRMED"},filter:{userIsDriver:{eq:!1}}};a=await g.b.graphql({variables:t,query:x.$m,authMode:"API_KEY"}),l({...e.data.getRide,confirmedPassengersDetails:a.data.rideUsersByRideIdSortStatus.items,isRideFull:(0,C.Z)(e.data.getRide)})}else l({...e.data.getRide,isRideFull:(0,C.Z)(e.data.getRide)})}catch(e){E(!1),console.error(e)}E(!1)})()},[a.isReady]),(0,o.useEffect)(()=>{let e=v.ou.fromISO(i.departureDateTime).setZone(i.departureTimezone);B(e);let s=(0,Z.Z)(i.estimatedJourneyDuration),a=v.ou.fromISO(i.departureDateTime).setZone(i.arrivalTimezone).plus(s);if(P(s),z(a),!1==e.hasSame(a,"day")){let s=v.Xp.fromDateTimes(e,a).length("days");_(s=Math.ceil(s))}else _(0)},[i]),!0==k||0==Object.keys(i).length)?(0,t.jsx)(N.Z,{}):(0,t.jsxs)(j.Z,{pageHeading:s,children:[(0,t.jsx)(u.u.Root,{show:T,as:o.Fragment,children:(0,t.jsxs)(m.V,{as:"div",className:"relative z-50",onClose:H,children:[(0,t.jsx)(u.u.Child,{as:o.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,t.jsx)("div",{className:"fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity"})}),(0,t.jsx)("div",{className:"fixed inset-0 z-10 overflow-y-auto",children:(0,t.jsx)("div",{className:"flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0",children:(0,t.jsx)(u.u.Child,{as:o.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",children:(0,t.jsxs)(m.V.Panel,{className:"relative transform overflow-hidden rounded-lg bg-white px-4 pt-5 pb-4 text-left shadow-xl transition-all sm:my-8 sm:w-full sm:max-w-sm sm:p-6",children:[(0,t.jsxs)("div",{className:"flex flex-col items-center text-center",children:[(0,t.jsx)(m.V.Title,{as:"h1",className:"text-xl sm:text-2xl sm:-mt-2 font-bold text-gray-600",children:"Cancellation & refund policy"}),(0,t.jsx)("h3",{className:"mt-2 text-gray-500",children:"Should the driver cancel or the ride is incomplete, you will receive a full refund."}),(0,t.jsx)(M,{className:"-mt-2 mb-4 h-64 w-full"})]}),(0,t.jsx)("div",{className:"mt-8",children:(0,t.jsx)(b.Z,{onClick:()=>H(!1),children:"OK"})})]})})})})]})}),(0,t.jsxs)("div",{className:"flex flex-col w-full justify-center items-center pt-6 pb-12",children:[(0,t.jsx)("h1",{className:"w-full text-xl mb-2 mx-auto font-bold tracking-tight text-gray-600",children:R.toFormat("EEE, d MMMM")}),(0,t.jsxs)("ul",{role:"list",className:"w-full relative mt-2 mb-2 space-y-2",children:[(0,t.jsx)("div",{children:(0,t.jsx)("li",{className:(0,f.Z)("relative bg-white pl-3 pr-3 pb-2 roun
1ded-xl"),children:(0,t.jsx)("div",{className:"relative",children:(0,t.jsxs)("div",{className:"relative flex",children:[(0,t.jsx)("div",{className:"flex min-w-0 w-10 justify-between space-x-4 pt-1.5",children:(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-sm font-medium text-gray-900",children:null!=R?R.toFormat("HH")+":"+R.toFormat("mm"):""}),null!=S?(0,t.jsx)("p",{className:"text-xs font-medium text-gray-400",children:S.hours.toString()+"h"+S.minutes.toString().padStart(2,"0")}):""]})}),(0,t.jsx)("div",{className:"px-1 pt-3",children:(0,t.jsxs)("span",{children:[(0,t.jsx)("div",{className:"relative border-2 rounded-full border-gray-600 w-2.5 h-2.5"}),(0,t.jsx)("div",{className:"flex -mt-0.5 justify-center items-center h-full w-2.5","aria-hidden":"true",children:(0,t.jsx)("div",{className:"h-full w-1 bg-gray-600"})})]})}),(0,t.jsx)("div",{className:"flex min-w-0 flex-1 justify-between space-x-4 pt-1.5 pl-1",children:(0,t.jsx)("div",{children:(0,t.jsx)("p",{className:"text-sm font-medium text-gray-900",children:i.departurePlaceName})})})]})})})}),(0,t.jsx)("div",{children:(0,t.jsx)("li",{className:(0,f.Z)("relative bg-white pl-3 pr-3 pb-2 rounded-xl"),children:(0,t.jsx)("div",{className:"relative",children:(0,t.jsxs)("div",{className:"relative flex",children:[(0,t.jsx)("div",{className:"flex min-w-0 w-10 justify-between space-x-4 pt-1.5",children:(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-sm font-medium text-gray-900",children:null!=D?D.toFormat("HH")+":"+D.toFormat("mm"):""}),null!=S?(0,t.jsx)("p",{className:"text-xs font-medium text-gray-400",children:0!=q?"+"+q:""}):""]})}),(0,t.jsx)("div",{className:"px-1 pt-3",children:(0,t.jsxs)("span",{children:[(0,t.jsx)("div",{className:"relative z-10 border-2 rounded-full border-gray-600 w-2.5 h-2.5"}),(0,t.jsx)("div",{className:"flex -mt-[2.55rem] justify-center items-center h-8 w-2.5","aria-hidden":"true",children:(0,t.jsx)("div",{className:"h-full w-1 bg-gray-600"})})]})}),(0,t.jsx)("div",{className:"flex min-w-0 flex-1 justify-between space-x-4 pt-1.5 pl-1",children:(0,t.jsx)("div",{children:(0,t.jsx)("p",{className:"text-sm font-medium text-gray-900",children:i.arrivalPlaceName})})})]})})})})]}),(0,t.jsx)("div",{className:"w-full mt-1 mb-2",children:(0,t.jsx)(c(),{className:"flex w-fit",href:"/cancellation-refund-policy",target:"_blank",passHref:!0,children:(0,t.jsxs)(F.Z,{ref:A,extendClassName:"w-fit rounded-full bg-slate-200 hover:bg-opacity-80",children:[(0,t.jsx)(p.Z,{className:"h-5 w-5 mr-2"}),"Cancellation & refund policy"]})})}),(0,t.jsxs)(c(),{href:{pathname:"/book/price-details/".concat(r.rideid),query:{...null!=r.seats&&{seats:r.seats}}},passHref:!0,className:"relative w-full pl-3 py-3 pr-8 bg-slate-200 mt-1 rounded-xl hover:bg-slate-300 text-gray-400 hover:text-gray-500",children:[(0,t.jsxs)("div",{className:"flex flex-row",children:[(0,t.jsx)("div",{className:"flex flex-grow items-center",children:(0,t.jsx)("h2",{className:"text-base align middle font-medium text-gray-900 pr-4",children:"Price for ".concat(null!=r.seats?r.seats+" passenger"+(r.seats>1?"s":""):"1 passenger")})}),(0,t.jsx)("div",{className:"",children:(0,t.jsxs)("h2",{className:"text-lg font-medium text-gray-900",children:["$",i.totalPrice?(i.totalPrice*(null!=r.seats?Number(r.seats):1)).toFixed(2):""]})})]}),(0,t.jsx)("div",{className:"absolute flex justify-center h-full top-0 right-1.5",children:(0,t.jsx)("div",{className:"flex justify-center items-center",children:(0,t.jsx)(y.Z,{className:"h-5 w-5"})})})]}),(0,t.jsx)(c(),{href:{pathname:"/book/payment/".concat(r.rideid),query:{...null!=r.seats&&{seats:r.seats}}},passHref:!0,className:"width-full mt-5",children:(0,t.jsxs)(b.Z,{onClick:e=>O(e),showChevron:!1,children:["Pay $",i.totalPrice?(i.totalPrice*(null!=r.seats?Number(r.seats):1)).toFixed(2):""]})})]})]})}function R(){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(l(),{children:[(0,t.jsx)("title",{children:"Book | Bushride"}),(0,t.jsx)("meta",{name:"robots",content:"noindex"})]}),(0,t.jsx)(E,{pageHeading:"Check details and book!"})]})}R.getLayout=function(e){return(0,t.jsx)(r.Z,{children:e})}},9191:function(e,s){"use strict";s.Z={"bushride-primary-negative-200":"#F2FAF6","bushride-primary-negative-100":"#D4F0E0","bushride-primary-negative-50":"#C5EAD4","bushride-primary-0":"#B6E5C9","bushride-primary-50":"#A7E0BE","bushride-primary-100":"#98DB
1B3","bushride-primary-200":"#7AD09D","bushride-primary-300":"#5BC587","bushride-primary-400":"#41B772","bushride-primary-500":"#36995F","bushride-primary-600":"#2A774A","bushride-primary-700":"#1E5535","bushride-primary-800":"#123320","bushride-primary-900":"#06110B","bushride-secondary-50":"#FFF3F5","bushride-secondary-100":"#FFEBEF","bushride-secondary-200":"#FFDCE2","bushride-secondary-300":"#FFCDD6","bushride-secondary-400":"#FFBDC9","bushride-secondary-500":"#FFAEBD","bushride-secondary-600":"#FF95A8","bushride-secondary-700":"#FF7B93","bushride-secondary-800":"#FF627F","bushride-secondary-900":"#FF486A"}},41970:function(e,s,a){"use strict";function t(e){return null!=e.confirmedPassengers&&e.seatCapacity==e.confirmedPassengers.length}a.d(s,{Z:function(){return t}})},45696:function(e,s,a){"use strict";function t(e){var s=Math.floor((e=Number(e))/3600),a=10*Math.round(Math.floor(e%3600/60)/10);return 60==a&&(s+=1,a=0),{hours:s,minutes:a}}a.d(s,{Z:function(){return t}})},30749:function(e,s,a){"use strict";var t=a(67294);let i=t.forwardRef(function(e,s){let{title:a,titleId:i,...l}=e;return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:s,"aria-labelledby":i},l),a?t.createElement("title",{id:i},a):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"}))});s.Z=i},82799:function(e,s,a){"use strict";var t=a(67294);let i=t.forwardRef(function(e,s){let{title:a,titleId:i,...l}=e;return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:s,"aria-labelledby":i},l),a?t.createElement("title",{id:i},a):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9 5.25h.008v.008H12v-.008z"}))});s.Z=i}},function(e){e.O(0,[4883,120,9970,383,8574,2888,9774,179],function(){return e(e.s=52996)}),_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.