PageSourceSearch

https://okinihome.com/_next/static/chunks/app/page-43b738011393510d.js

js okinihome.com collected 2026-10-05 01:54:25 UTC 22,815 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1931],{30615:function(e,t,n){Promise.resolve().then(n.bind(n,40532))},98107:function(e,t,n){"use strict";n.d(t,{k:function(){return i}});var o=n(2265);function i(e){let[t,n]=(0,o.useState)(!!e);return{value:t,onTrue:(0,o.useCallback)(()=>{n(!0)},[]),onFalse:(0,o.useCallback)(()=>{n(!1)},[]),onToggle:(0,o.useCallback)(()=>{n(e=>!e)},[]),setValue:n}}},40532:function(e,t,n){"use strict";n.d(t,{default:function(){return ey}});var o=n(57437),i=n(16210),r=n(57112),s=n(1899),a=n(19978),l=n(2265),d=()=>(0,o.jsx)(a.Z,{maxWidth:"xl",sx:{height:"100%"},children:(0,o.jsx)(s.Z,{sx:{justifyContent:"center",display:"flex",flexDirection:"column",height:"100%"}})}),c=n(66274),h=n(25719),p=n(27400),x=n(82617),u=n(43949);function g(){let e=(0,c.tv)(),{t}=(0,u.$G)();return(0,o.jsxs)(s.Z,{sx:{height:592,py:{xs:26,sm:16,md:5,lg:0,xl:0},position:"relative",backgroundColor:"transparent",backgroundSize:"cover",backgroundPosition:"50% 60px",backgroundImage:"url(/assets/images/home/homeLanding.webp)",boxShadow:"0px 4px 8.6px 0px rgba(0, 0, 0, 0.11)"},children:[(0,o.jsx)(d,{}),(0,o.jsx)(h.Z,{hideTitle:!1,onSearch:n=>{if(!(0,x.Q)(n)){alert(t("minimum_required"));return}let o=new URLSearchParams(Object.fromEntries(Object.entries(n).filter(e=>{let[t,n]=e;return""!==n&&null!=n})));e.push("".concat(p.H.property.root,"?").concat(o))},showInHome:!0})]})}var m=n(46387),b=()=>{let{t:e}=(0,u.$G)();return(0,o.jsx)(a.Z,{children:(0,o.jsx)(s.Z,{sx:{width:"100%",textAlign:"center",mt:"111px"},children:(0,o.jsxs)(s.Z,{sx:{position:"relative",display:"inline-block",width:"100%"},children:[(0,o.jsx)("img",{src:"/assets/images/home/img_store_banner.webp",alt:"store-banner",style:{display:"block",width:"100%",height:"auto"}}),(0,o.jsxs)(s.Z,{sx:{position:"absolute",top:{xs:"8%",sm:"10%",md:"12%",lg:"14%"},left:{xs:"3%",sm:"4%",md:"4%",lg:"4%"},width:{xs:"42%",sm:"40%",md:"38%",lg:"38%"},textAlign:"left"},children:[(0,o.jsx)(m.Z,{fontWeight:"700",sx:{fontSize:"clamp(10px, 2.4vw, 30px)",lineHeight:1.2,mb:"clamp(3px, 0.6vw, 8px)"},children:e("get_the_app")}),(0,o.jsxs)(m.Z,{sx:{fontSize:"clamp(7px, 1.2vw, 16px)",lineHeight:1.6,wordBreak:"break-word"},children:[(0,o.jsx)("strong",{children:"OKINI Home"})," ",e("discover_japan_hidden_gem")]})]}),(0,o.jsxs)(s.Z,{sx:{position:"absolute",bottom:{xs:"8%",sm:"10%",md:"10%",lg:"10%"},left:{xs:"3%",sm:"4%",md:"4%",lg:"4%"},display:"flex",alignItems:"center",width:{xs:"38%",sm:"34%",md:"28%",lg:"26%"}},children:[(0,o.jsx)("a",{href:"https://apps.apple.com/us/app/okini-home/id6499332459",target:"_blank",style:{display:"block",flex:1},children:(0,o.jsx)("img",{src:"/assets/images/home/appstore_dark.png",alt:"Download on App Store",style:{width:"80%",height:"auto",display:"block",objectFit:"contain"}})}),(0,o.jsx)("a",{href:"https://play.google.com/store/apps/details?id=com.okinihome&hl=en-HK",target:"_blank",style:{display:"block",flex:1},children:(0,o.jsx)("img",{src:"/assets/images/home/googleplay_dark.png",alt:"Get it on Google Play",style:{width:"80%",height:"auto",display:"block",objectFit:"contain"}})})]})]})})})},f=n(19902),v=n(47080),j=n(18188),w=n(6406),y=n(31691);function k(e){let t=(0,y.Z)(),n=(0,l.useRef)(null),[o,i]=(0,l.useState)((null==e?void 0:e.initialSlide)||0),[r,s]=(0,l.useState)(void 0),a="rtl"===t.direction,d={arrows:!1,dots:!!(null==e?void 0:e.customPaging),rtl:a,beforeChange:(e,t)=>
1i(t),...e,fade:!!((null==e?void 0:e.fade)&&!a)},c=(0,l.useCallback)(()=>{n.current&&s(n.current)},[]),h=(0,l.useCallback)(()=>{n.current&&n.current.slickPrev()},[]),p=(0,l.useCallback)(()=>{n.current&&n.current.slickNext()},[]),x=(0,l.useCallback)(e=>{n.current&&n.current.slickGoTo(e)},[]);return{nav:r,carouselRef:n,currentIndex:o,carouselSettings:d,onPrev:h,onNext:p,onTogo:x,onSetNav:c,setNav:s,setCurrentIndex:i}}(0,i.ZP)(s.Z,{shouldForwardProp:e=>"rounded"!==e})(e=>{let{rounded:t,theme:n}=e;return{zIndex:9,margin:0,padding:0,display:"flex",alignItems:"center",justifyContent:"center",color:n.palette.primary.main,"& li":{width:18,height:18,opacity:.32,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer","&.slick-active":{opacity:1,...t&&{"& span":{width:16,borderRadius:6}}}}}}),(0,i.ZP)("span")(e=>{let{theme:t}=e;return{width:8,height:8,borderRadius:"50%",transition:t.transitions.create(["width"],{easing:t.transitions.easing.sharp,duration:t.transitions.duration.short})}});var Z=n(19643),S=n(88064),C=n(95576),_=n(76975);function R(e){let{icon:t="weui:arrow-filled",isRTL:n}=e;return(0,o.jsx)(_.Z,{icon:t,sx:{color:"#000",transform:" scaleX(-1)",...n&&{transform:" scaleX(1)"}}})}function I(e){let{icon:t="weui:arrow-filled",isRTL:n}=e;return(0,o.jsx)(_.Z,{icon:t,sx:{color:"#000",...n&&{transform:" scaleX(-1)"}}})}let F=(0,i.ZP)(C.Z,{shouldForwardProp:e=>"filled"!==e&&"hasChild"!==e&&"shape"!==e})(e=>{let{filled:t,shape:n,hasChild:o,theme:i}=e;return{color:"inherit",cursor:"pointer",transition:i.transitions.create("all",{duration:i.transitions.duration.shorter}),..."rounded"===n&&{borderRadius:1.5*i.shape.borderRadius},...!t&&{opacity:.48,"&:hover":{opacity:1}},...t&&{color:(0,S.Fq)(i.palette.common.white,.8),backgroundColor:(0,S.Fq)(i.palette.grey[900],.48),"&:hover":{color:i.palette.common.white,backgroundColor:i.palette.grey[900]}},...o&&{zIndex:9,top:"50%",position:"absolute",marginTop:i.spacing(-2.5)}}});function T(e){let{shape:t="circular",filled:n=!1,icon:i,onNext:r,onPrev:s,children:a,leftButtonProps:l,rightButtonProps:d,sx:c,...h}=e,p="rtl"===(0,y.Z)().direction;return a?(0,o.jsxs)(Z.Z,{sx:c,...h,children:[r&&(0,o.jsx)(F,{filled:n,shape:t,hasChild:!!a,onClick:s,...l,sx:{background:"#fff",boxShadow:"0px 4px 6px 0px rgba(0, 0, 0, 0.25)",padding:"6px",left:"-1%","&:hover":{opacity:.8,bgcolor:"inherit"},"& svg":{height:"18px",width:"18px"},...null==l?void 0:l.sx},children:(0,o.jsx)(R,{icon:i,isRTL:p})}),a,s&&(0,o.jsx)(F,{filled:n,shape:t,hasChild:!!a,onClick:r,...d,sx:{background:"#fff",...null==d?void 0:d.sx,padding:"6px",right:"-1%",boxShadow:"0px 4px 6px 0px rgba(0, 0, 0, 0.25)","&:hover":{opacity:.9,bgcolor:"inherit"},"& svg":{height:"18px",width:"18px"}},children:(0,o.jsx)(I,{icon:i,isRTL:p})})]}):(0,o.jsxs)(Z.Z,{direction:"row",alignItems:"center",display:"inline-flex",sx:c,...h,children:[(0,o.jsx)(F,{filled:n,shape:t,onClick:s,...l,children:(0,o.jsx)(R,{icon:i,isRTL:p})}),(0,o.jsx)(F,{filled:n,shape:t,onClick:r,...d,children:(0,o.jsx)(I,{icon:i,isRTL:p})})]})}var P=n(76997);(0,i.ZP)(s.Z)(e=>{let{theme:t}=e;return{...(0,P.Ls)({opacity:.48,color:t.palette.grey[900]}),zIndex:9,display:"inline-flex",alignItems:"center",position:"absolute",bottom:t.spacing(2),right:t.spacing(2),padding:t.spacing(.25),color:t.palette.common.white,borderRadius:t.shape.borderRadius}}),(0,i.ZP)(C.Z)({width:28,height:28,padding:0,opacity:.48,"&:hover":{opacity:1}});var N=w.Z,E=n(79507),A=n(35791),H=n(77468),z=n(12258),D=n(9026),W=n(35809),M=n(81740);n(36296),M.Z.configure({languages:["javascript","sh","bash","html","scss","css","json"]}),window.hljs=M.Z;var L=n(95138),B=n(91305),O=n(26727),G=n(95717),X=n(97312),K=n(90495),$=n(79184);let q=(0,i.ZP)("div")(e=>{let{theme:t}=e,n="light"===t.palette.mode;return{h1:{margin:0,...t.typography.h1},h2:{margin:0,...t.typography.h2},h3:{margin:0,...t.typography.h3},h4:{margin:0,...t.typography.h4},h5:{margin:0,...t.typography.h5},h6:{margin:0,...t.typography.h6},p:{margin:0,...t.typography.body1},br:{display:"grid",content:'""',marginTop:"0.75em"},hr:{margin:0,flexShrink:0,borderWidth:0,msFlexNegative:0,WebkitFlexShrink:0,borderStyle:"solid",borderBottomWidth:"thin",borderColor:t.palette.divider},"& ul, & ol":{margin:0,"& li":{lineHeight:2}},"& blockquote":{lineHeight:1.5,fontSize:"1.5em",margin:"40px auto",position:"relative",fontFamily:"Georgia, serif",padding:t.spacing(3,3,3,8),color:t.palette.text.secondary,borderRadius:2*t.shape.borderRadius,backgroundColor:t.palette.background.neutral,[t.breakpoints.up("md")]:{width:"80%"},"& p, & span":{marginBottom:0,fontSize:"inherit",fontFamily:"inherit"},"&:before":{left:16,top:-8,display:"block",fontSize:"3em",content:'"\\201C"',position:"absolute",color:t.palette.text.disabled}},"& pre, & pre > code":{fontSize:16,overflowX:"auto",whiteSpace:"pre",padding:t.spacing(2),color:t.palette.common.white,borderRadius:t.shape.borderRadius,backgroundColor:n?t.palette.grey[900]:(0,S.Fq)(t.palette.grey[500],.16)},"& code":{fontSize:14,borderRadius:4,whiteSpace:"pre",padding:t.spacing(.2,.5),color:t.palette.warning[n?"dar
1ker":"lighter"],backgroundColor:t.palette.warning[n?"lighter":"darker"],"&.hljs":{padding:0,backgroundColor:"transparent"}},table:{width:"100%",borderCollapse:"collapse",border:"1px solid ".concat(t.palette.divider),"th, td":{padding:t.spacing(1),border:"1px solid ".concat(t.palette.divider)},"tbody tr:nth-of-type(odd)":{backgroundColor:t.palette.background.neutral}},input:{"&[type=checkbox]":{position:"relative",cursor:"pointer","&:before":{content:'""',top:-2,left:-2,width:17,height:17,borderRadius:3,position:"absolute",backgroundColor:t.palette.grey[n?300:700]},"&:checked":{"&:before":{backgroundColor:t.palette.primary.main},"&:after":{content:'""',top:1,left:5,width:4,height:9,position:"absolute",transform:"rotate(45deg)",msTransform:"rotate(45deg)",WebkitTransform:"rotate(45deg)",border:"solid ".concat(t.palette.common.white),borderWidth:"0 2px 2px 0"}}}}}});function J(e){let{sx:t,...n}=e;return(0,o.jsx)(q,{sx:t,children:(0,o.jsx)(O.U,{rehypePlugins:[L.Z,G.Z,[B.Z,{singleTilde:!1}]],urlTransform:e=>e.startsWith("data:")?e:(0,O.n)(e),components:U,...n})})}let U={img:e=>{let{...t}=e;return(0,o.jsx)($.Z,{alt:t.alt,ratio:"16/9",sx:{borderRadius:2},...t})},a:e=>{let{...t}=e;return t.href.includes("http")?(0,o.jsx)(X.Z,{target:"_blank",rel:"noopener",...t}):(0,o.jsx)(X.Z,{component:K.r,href:t.href,...t,children:t.children})}};var Q=n(20676);let V=e=>{let{children:t,onClose:n,sx:i,...r}=e;return(0,o.jsxs)(E.Z,{sx:{m:0,p:2,...i},...r,textAlign:"center",children:[(0,o.jsx)("div",{style:{paddingTop:"12px"},children:t}),n?(0,o.jsx)(C.Z,{"aria-label":"close",onClick:n,sx:{position:"absolute",right:10,top:10,color:e=>e.palette.grey[500],cursor:"pointer"},children:(0,o.jsx)(Q.Z,{src:"/assets/icons/profile/ic_close_circle.svg",sx:{width:22,height:22,borderRadius:"5px",color:"#13206C"}})}):null]})},Y=e=>{let{dialog:t,data:n}=e,i=()=>{null==t||t.onFalse()};return(0,o.jsx)(A.Z,{open:null==t?void 0:t.value,onClose:i,"aria-labelledby":"form-dialog-title",maxWidth:"xs",children:t.value&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(V,{id:"form-dialog-title",onClose:i,sx:{mb:1}}),(0,o.jsx)(H.Z,{children:(0,o.jsx)(Z.Z,{spacing:1,children:(0,o.jsxs)(z.Z,{component:"div",children:[(0,o.jsx)(f.Z,{sx:{borderRadius:2,overflow:"hidden",position:"relative",maxHeight:240,maxWidth:389,width:"100%",height:"100%",textAlign:"center",cursor:"pointer","& img":{width:"100%",height:240,maxHeight:240,maxWidth:389,borderRadius:"24px",boxShadow:"0px 4px 20px 0px rgba(0, 0, 0, 0.25)"}},onClick:()=>{t.onTrue()},children:(0,o.jsx)(W.O,{alt:"image",src:(null==n?void 0:n.coverImage)||"/assets/images/home/temp/promotion.png"})}),(0,o.jsx)(m.Z,{variant:"h5",sx:{my:3,color:"#181818"},children:null==n?void 0:n.title}),(0,o.jsx)(J,{children:null==n?void 0:n.content})]})})}),(0,o.jsx)(D.Z,{sx:{pr:2.5}})]})})};var ee=n(98107),et=n(53950);function en(){let[e,t]=(0,l.useState)(!1),[n,o]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{let n=0;function i(){t(!1)}function r(e){o((n+=Math.abs(e.movementX)+Math.abs(e.movementY))>10)}return e&&(document.addEventListener("mouseup",i),document.addEventListener("mousemove",r)),()=>{document.removeEventListener("mouseup",i),document.removeEventListener("mousemove",r)}},[e]),{handleMouseDown:function(){t(!0),o(!1)},dragging:n}}function eo(e){let{item:t}=e,n=(0,ee.k)(),{handleMouseDown:i,dragging:r}=en(),{coverImage:s,title:a}=t;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(f.Z,{sx:{borderRadius:2,overflow:"hidden",position:"relative",maxWidth:"389px",width:"100%",height:"100%",cursor:"pointer",aspectRatio:"762/453"},onMouseDown:i,onClick:e=>{r||n.onTrue()},children:(0,o.jsx)(W.O,{alt:a,src:s,sx:{height:"100%",objectFit:"cover",maxWidth:"389px"}})}),(0,o.jsx)(Y,{dialog:n,data:t})]})}function ei(e){let{count:t}=e,n=Array.from(Array(null!=t?t:3));return(0,o.jsx)(s.Z,{sx:{display:"flex",gap:2},children:n.map((e,t)=>(0,o.jsx)(v.Z,{variant:"rectangular",width:389,height:240,sx:{borderRadius:2}},t))})}function er(e){let{count:t}=e;return(0,o.jsx)(s.Z,{sx:{display:"flex",mt:2},children:(0,o.jsx)(v.Z,{variant:"rectangular",width:"100%",height:"218px",sx:{borderRadius:2}})})}var es=function(){var e;let{promotionData:t,promotionIsLoading:n}=(0,j.Nm)({language:(0,et.mp)()}),{t:i}
1=(0,u.$G)(),[r,d]=(0,l.useState)(!1),c=k({slidesToShow:Math.min(3,t.length||3),slidesToScroll:1,centerMode:!1,infinite:!1,swipe:!0,draggable:t.length>3,responsive:[{breakpoint:1024,settings:{slidesToShow:2}},{breakpoint:600,settings:{slidesToShow:2}},{breakpoint:480,settings:{slidesToShow:1,centerPadding:"20",centerMode:!0,dots:!0,arrows:!1}}]});return(0,o.jsx)(a.Z,{sx:{pt:{xs:16,sm:18,md:10}},children:(0,o.jsxs)(s.Z,{sx:{position:"relative"},children:[(0,o.jsx)(s.Z,{sx:{textAlign:"left",mb:1},children:(0,o.jsx)(m.Z,{sx:{fontWeight:"bold",fontSize:"28px"},children:i("hot_promotion")})}),(0,o.jsx)(T,{filled:!0,sx:{background:"#FFF"},onNext:c.onNext,onPrev:c.onPrev,onMouseEnter:()=>{d(!0)},onMouseLeave:()=>{d(!1)},leftButtonProps:{sx:{display:r&&c.currentIndex>0?void 0:"none"}},rightButtonProps:{sx:{display:r&&c.currentIndex+(null!==(e=c.carouselSettings.slidesToShow)&&void 0!==e?e:0)<t.length?void 0:"none"}},children:n?(0,o.jsx)(ei,{}):(0,o.jsx)(N,{ref:c.carouselRef,...c.carouselSettings,swipe:!0,children:[...t].map(e=>(0,o.jsx)(s.Z,{sx:{px:1},children:(0,o.jsx)(eo,{item:e})},e.id))},"promotions-".concat(t.length))})]})})},ea=n(99376),el=n(44811),ed=e=>{let{bannerSrc:t,title:n,subTitle:i,buttonText:r,onClickBanner:a}=e;return(0,c.tv)(),(0,o.jsx)(f.Z,{sx:{mt:"64px"},children:(0,o.jsxs)(s.Z,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",boxShadow:3,borderRadius:2,overflow:"hidden",flexDirection:{xs:"column",md:"row"}},children:[(0,o.jsx)(s.Z,{sx:{color:"white",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:{xs:"100%",md:"auto"}},children:t.includes("/assets/images")?(0,o.jsx)("img",{src:t}):(0,o.jsx)(W.O,{src:t,maxHeight:"220px"})}),(0,o.jsxs)(s.Z,{sx:{p:3,textAlign:"center",width:{xs:"100%",md:"40%"},display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"},children:[(0,o.jsx)(m.Z,{variant:"h6",fontWeight:"bold",children:n}),(0,o.jsx)(m.Z,{variant:"body2",sx:{mt:0,color:"text.secondary"},children:i}),(0,o.jsx)(el.Z,{variant:"contained",sx:{mt:2,backgroundColor:"#0A1D4D",color:"#FFFFFF"},onClick:a,children:r})]})]})})};function ec(e){var t;let{item:n}=e,i=(0,ea.useRouter)(),{handleMouseDown:r,dragging:a}=en(),l=()=>{var e,t,o,i;switch((0,et.mp)()){case"JAPANESE":return null!==(e=n.imageNameJa)&&void 0!==e?e:n.imageName;case"TRADITIONAL_CHINESE":return null!==(t=n.imageNameZh)&&void 0!==t?t:n.imageName;case"SIMPLIFIED_CHINESE":return null!==(o=n.imageNameZhHans)&&void 0!==o?o:n.imageName;case"KOREAN":return null!==(i=n.imageNameKr)&&void 0!==i?i:n.imageName;default:return n.imageName}};return(0,o.jsx)("div",{onClick:()=>{a||i.push("/location/".concat(Number(n.id)))},onMouseDown:r,style:{cursor:"pointer"},children:(0,o.jsxs)(f.Z,{sx:{borderRadius:2,overflow:"hidden",position:"relative",maxWidth:"100%",width:"100%",aspectRatio:"3072/4080"},children:[(0,o.jsx)(W.O,{alt:l(),src:null!==(t=l())&&void 0!==t?t:"/assets/images/home/temp/location.png",width:"100%",height:"100%",position:"absolute"}),(0,o.jsx)(s.Z,{sx:{position:"absolute",top:0,left:0,right:0,bottom:0,background:"linear-gradient(180.26deg, rgba(0, 0, 0, 0.2) 84.86%, rgba(0, 0, 0, 0.16) 91.3%)",zIndex:1}}),(0,o.jsx)(m.Z,{variant:"body1",sx:{mb:2,fontSize:"28px",color:"common.white",position:"absolute",bottom:"20px",left:"20px",zIndex:2},children:(()=>{var e,t,o,i;let r=(0,et.mp)();return"JAPANESE"===r?null!==(e=n.nameJa)&&void 0!==e?e:n.name:"TRADITIONAL_CHINESE"===r?null!==(t=n.nameZh)&&void 0!==t?t:n.name:"SIMPLIFIED_CHINESE"===r?null!==(o=n.nameZhHans)&&void 0!==o?o:n.name:"KOREAN"===r&&null!==(i=n.nameKr)&&void 0!==i?i:n.name})()})]})})}function eh(){let e=Array.from([,,,,]);return(0,o.jsx)(s.Z,{sx:{display:"flex",gap:2},children:e.map((e,t)=>(0,o.jsx)(v.Z,{variant:"rectangular",width:288,height:402,sx:{borderRadius:2}},t))})}var ep=function(){var e;let{hotLocationData:t,hotLocationIsLoading:n}=(0,j.kt)(),i=(0,ea.useRouter)(),{t:r}=(0,u.$G)(),[d,c]=(0,l.useState)(!1),h=k({slidesToShow:4,centerMode:!1,infinite:!1,initialSlide:0,responsive:[{breakpoint:1024,settings:{slidesToShow:3}},{breakpoint:600,settings:{slidesToShow:2}},{breakpoint:480,settings:{slidesToShow:1,centerPadding:"30",centerMode:!0,dots:!0,arrows:!1}
1}]});return(0,o.jsxs)(a.Z,{sx:{pt:6},children:[(0,o.jsx)(s.Z,{sx:{textAlign:"left",mb:1},children:(0,o.jsx)(m.Z,{sx:{fontWeight:"bold",fontSize:"28px"},children:r("hot_location")})}),(0,o.jsx)(s.Z,{sx:{position:"relative"},children:(0,o.jsx)(T,{filled:!0,sx:{background:"#FFF"},onNext:h.onNext,onPrev:h.onPrev,onMouseEnter:()=>{c(!0)},onMouseLeave:()=>{c(!1)},leftButtonProps:{sx:{display:d&&h.currentIndex>0?void 0:"none"}},rightButtonProps:{sx:{display:d&&h.currentIndex+(null!==(e=h.carouselSettings.slidesToShow)&&void 0!==e?e:0)<t.length?void 0:"none"}},children:n?(0,o.jsx)(eh,{}):(0,o.jsx)(N,{ref:h.carouselRef,...h.carouselSettings,children:null==t?void 0:t.map(e=>(0,o.jsx)(s.Z,{sx:{px:1},children:(0,o.jsx)(ec,{item:e})},e.id))})})}),(0,o.jsx)(ed,{bannerSrc:"/assets/images/transporter/".concat(r("car_rental_banner",{defaultValue:"car_rental_banner_en.webp"})),title:r("private_transport_services"),subTitle:r("private_transport_services_description"),buttonText:r("car_rental_book_now"),onClickBanner:()=>{i.push(p.H.carPickUp.root)}})]})},ex=n(30267);function eu(e){var t;let{item:n}=e,i=(0,c.tv)(),{handleMouseDown:r,dragging:s}=en();return(0,o.jsxs)(f.Z,{sx:{borderRadius:2,overflow:"hidden",position:"relative",width:"100%",aspectRatio:"59/79",cursor:"pointer"},onMouseDown:r,onClick:e=>{s||null==i||i.push("".concat(p.H.promoDetails.root,"?type=").concat(ex.s.bb,"&id=").concat(n.id))},children:[(0,o.jsx)(W.O,{src:null!==(t=n.coverImage)&&void 0!==t?t:"/assets/images/home/temp/location.png",width:"100%",height:"100%",position:"absolute"}),(0,o.jsx)(m.Z,{variant:"body1",sx:{mb:2,fontSize:"28px",color:"common.white",position:"absolute",bottom:"20px",left:"20px",zIndex:2},children:n.title})]})}function eg(){let e=Array.from([,,,,]);return(0,o.jsx)(s.Z,{sx:{display:"flex",gap:2},children:e.map((e,t)=>(0,o.jsx)(v.Z,{variant:"rectangular",width:288,height:402,sx:{borderRadius:2}},t))})}var em=()=>{var e,t;let{bAndBBannerData:n,bAndBBannerIsLoading:i}=(0,j.tp)({language:(0,et.mp)()}),{bAndBData:r,bAndBIsLoading:d}=(0,j.Xv)({language:(0,et.mp)()}),h=(0,c.tv)(),{t:x}=(0,u.$G)(),[g,b]=(0,l.useState)(!1),f=k({slidesToShow:(null==r?void 0:r.length)>=3?3:null==r?void 0:r.length,infinite:!1,swipe:!0,responsive:[{breakpoint:1024,settings:{slidesToShow:3}},{breakpoint:600,settings:{slidesToShow:2}},{breakpoint:480,settings:{slidesToShow:1,centerPadding:"30",centerMode:!0,dots:!0,arrows:!1}}]});return(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)(a.Z,{sx:{pt:9},children:[(0,o.jsx)(s.Z,{sx:{textAlign:"left",mb:1},children:(0,o.jsx)(m.Z,{sx:{fontWeight:"bold",fontSize:"28px"},children:x("own_your_B&B")})}),(0,o.jsx)(s.Z,{sx:{position:"relative"},children:(0,o.jsx)(T,{filled:!0,sx:{background:"#FFF"},onNext:f.onNext,onPrev:f.onPrev,onMouseEnter:()=>{b(!0)},onMouseLeave:()=>{b(!1)},leftButtonProps:{sx:{display:g&&f.currentIndex>0?void 0:"none"}},rightButtonProps:{sx:{display:g&&f.currentIndex+(null!==(e=f.carouselSettings.slidesToShow)&&void 0!==e?e:0)<r.length?void 0:"none"}},children:d?(0,o.jsx)(eg,{}):(0,o.jsx)(N,{ref:f.carouselRef,...f.carouselSettings,children:null==r?void 0:r.map(e=>(0,o.jsx)(s.Z,{sx:{px:1},children:(0,o.jsx)(eu,{item:e})},e.id))})})}),i?(0,o.jsx)(er,{}):(0,o.jsx)(ed,{bannerSrc:null!==(t=null==n?void 0:n.bannerImage)&&void 0!==t?t:"/assets/images/home/banners/home_owner_banner.svg",title:x("okini_home_owner_benefit"),subTitle:x("okini_home_owner_benefit_descriptions"),buttonText:x("learn_more"),onClickBanner:()=>{ex.k.bannerData=n,null==h||h.push("".concat(p.H.promoDetails.root,"?type=").concat(ex.s.bbBanner,"&id=").concat(null==n?void 0:n.id))}})]})})},eb=n(99868),ef=n(67208),ev=n(36137),ej=n(85752),ew=()=>{let e=(0,c.tv)(),{t}=(0,u.$G)(),{authenticated:n}=(0,ej.E)();return n?(0,o.jsx)(o.Fragment,{}):(0,o.jsx)(a.Z,{sx:{mt:6},children:(0,o.jsxs)(ef.Z,{sx:{display:"flex",alignItems:"center",boxShadow:"none",justifyContent:"space-between",backgroundColor:"#FFF7E6",borderRadius:2,padding:2,pl:4,flexDirection:{xs:"column",md:"row"}},children:[(0,o.jsxs)(s.Z,{display:"flex",alignItems:"center",sx:{width:{xs:"100%",md:"auto"},mb:{xs:2,md:0}},children:[(0,o.jsx)(Q.Z,{color:"#D13B2C",src:"/assets/icons/home/ic_star.svg",sx:{width:"36px",height:"36px",borderRadius:"5px",ml:1,mr:3}}),(0,o.jsxs)(ev.Z,{sx:{padding:"0px !important"},children:[(0,o.jsx)(m.Z,{fontWeight:"bold",sx:{fontSize:"24px",lineHeight:"24px"},children:t("member_discount")}
1),(0,o.jsx)(m.Z,{sx:{fontWeight:500,fontSize:"18px",lineHeight:"36px",color:"#3C3C3C"},children:t("member_discount_description")})]})]}),(0,o.jsx)(el.Z,{variant:"contained",onClick:()=>{let t=encodeURIComponent(window.location.pathname+(window.location.search?window.location.search:""));e.push("".concat(p.H.auth.jwt.login,"?returnTo=").concat(t))},sx:{backgroundColor:"#0A1D4D",color:"#FFFFFF",fontWeight:400,lineHeight:"24px",textTransform:"none",borderRadius:1,paddingX:2,mr:4},children:"".concat(t("login_btn_sign_in")," / ").concat(t("sign_up"))})]})})};(0,i.ZP)("div")(e=>{let{anchor:t="top",theme:n}=e;return{left:0,zIndex:9,height:80,width:"100%",position:"absolute",clipPath:"polygon(0% 0%, 100% 100%, 0% 100%)",backgroundColor:n.palette.background.default,display:"block",lineHeight:0,..."top"===t&&{top:-1,transform:"scale(-1, -1)"},..."bottom"===t&&{bottom:-1,backgroundColor:n.palette.grey[900]}}});var ey=async function(){return(0,o.jsxs)(r.Z,{children:[(0,o.jsx)(g,{}),(0,o.jsx)(es,{}),(0,o.jsx)(ew,{}),(0,o.jsx)(ep,{}),(0,o.jsx)(em,{}),(0,o.jsx)(b,{}),(0,o.jsx)(eb.ZP,{children:"This website uses cookies to enhance the user experience."})]})}}},function(e){e.O(0,[6605,5882,902,6265,8720,9643,7023,3949,3464,5327,4422,191,6870,6853,649,9576,2542,6635,9902,6436,8233,2816,1930,6329,7762,9812,4642,9697,6834,1183,1680,5158,2678,6525,5994,6071,7885,233,7112,7555,2971,2117,1744],function(){return e(e.s=30615)}),_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.