PageSourceSearch

https://www.dekitabi.com/_next/static/chunks/pages/index-64911b908637b954.js

js dekitabi.com collected 2026-10-01 13:02:37 UTC 31,461 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5405,6462,7184,8875,7484],{27484:function(e){var t;t=function(){"use strict";var e="millisecond",t="second",r="minute",n="hour",i="week",a="month",o="quarter",s="year",u="date",l="Invalid Date",c=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,d=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,p=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},h="en",m={};m[h]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||"th")+"]"}};var f="$isDayjsObject",g=function(e){return e instanceof y||!(!e||!e[f])},x=function e(t,r,n){var i;if(!t)return h;if("string"==typeof t){var a=t.toLowerCase();m[a]&&(i=a),r&&(m[a]=r,i=a);var o=t.split("-");if(!i&&o.length>1)return e(o[0])}else{var s=t.name;m[s]=t,i=s}return!n&&i&&(h=i),i||!n&&h},w=function(e,t){if(g(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new y(r)},v={s:p,z:function(e){var t=-e.utcOffset(),r=Math.abs(t);return(t<=0?"+":"-")+p(Math.floor(r/60),2,"0")+":"+p(r%60,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),i=t.clone().add(n,a),o=r-i<0,s=t.clone().add(n+(o?-1:1),a);return+(-(n+(r-i)/(o?i-s:s-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(l){return({M:a,y:s,w:i,d:"day",D:u,h:n,m:r,s:t,ms:e,Q:o})[l]||String(l||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};v.l=x,v.i=g,v.w=function(e,t){return w(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var y=function(){function p(e){this.$L=x(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[f]=!0}var h=p.prototype;return h.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(v.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(c);if(n){var i=n[2]-1||0,a=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,a)):new Date(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,a)}}return new Date(t)}(e),this.init()},h.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},h.$utils=function(){return v},h.isValid=function(){return this.$d.toString()!==l},h.isSame=function(e,t){var r=w(e);return this.startOf(t)<=r&&r<=this.endOf(t)},h.isAfter=function(e,t){return w(e)<this.startOf(t)},h.isBefore=function(e,t){return this.endOf(t)<w(e)},h.$g=function(e,t,r){return v.u(e)?this[t]:this.set(r,e)},h.unix=function(){return Math.floor(this.valueOf()/1e3)},h.valueOf=function(){return this.$d.getTime()},h.startOf=function(e,o){var l=this,c=!!v.u(o)||o,d=v.p(e),p=function(e,t){var r=v.w(l.$u?Date.UTC(l.$y,t,e):new Date(l.$y,t,e),l);return c?r:r.endOf("day")},h=function(e,t){return v.w(l.toDate()[e].apply(l.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(t)),l)},m=this.$W,f=this.$M,g=this.$D,x="set"+(this.$u?"UTC":"");switch(d){case s:return c?p(1,0):p(31,11);case a:return c?p(1,f):p(0,f+1);case i:var w=this.$locale().weekStart||0,y=(m<w?m+7:m)-w;return p(c?g-y:g+(6-y),f);case"day":case u:return h(x+"Hours",0);case n:return h(x+"Minutes",1);case r:return h(x+"Seconds",2);case t:return h(x+"Milliseconds",3);default:return this.clone()}},h.endOf=function(e){return this.startOf(e,!1)},h.$set=function(i,o){var l,c=v.p(i),d="set"+(this.$u?"UTC":""),p=((l={}).day=d+"Date",l[u]=d+"Date",l[a]=d+"Month",l[s]=d+"FullYear",l[n]=d+"Hours",l[r]=d+"Minutes",l[t]=d+"Seconds",l[e]=d+"Milliseconds",l)[c],h="day"===c?this.$D+(o-this.$W):o;if(c===a||c===s){var m=this.clone().set(u,1);m.$d[p](h),m.init(),this.$d=m.set(u,Math.min(this.$D,m.daysInMonth())).$d}
1else p&&this.$d[p](h);return this.init(),this},h.set=function(e,t){return this.clone().$set(e,t)},h.get=function(e){return this[v.p(e)]()},h.add=function(e,o){var u,l=this;e=Number(e);var c=v.p(o),d=function(t){var r=w(l);return v.w(r.date(r.date()+Math.round(t*e)),l)};if(c===a)return this.set(a,this.$M+e);if(c===s)return this.set(s,this.$y+e);if("day"===c)return d(1);if(c===i)return d(7);var p=((u={})[r]=6e4,u[n]=36e5,u[t]=1e3,u)[c]||1,h=this.$d.getTime()+e*p;return v.w(h,this)},h.subtract=function(e,t){return this.add(-1*e,t)},h.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||l;var n=e||"YYYY-MM-DDTHH:mm:ssZ",i=v.z(this),a=this.$H,o=this.$m,s=this.$M,u=r.weekdays,c=r.months,p=r.meridiem,h=function(e,r,i,a){return e&&(e[r]||e(t,n))||i[r].slice(0,a)},m=function(e){return v.s(a%12||12,e,"0")},f=p||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(d,function(e,n){return n||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return v.s(t.$y,4,"0");case"M":return s+1;case"MM":return v.s(s+1,2,"0");case"MMM":return h(r.monthsShort,s,c,3);case"MMMM":return h(c,s);case"D":return t.$D;case"DD":return v.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return h(r.weekdaysMin,t.$W,u,2);case"ddd":return h(r.weekdaysShort,t.$W,u,3);case"dddd":return u[t.$W];case"H":return String(a);case"HH":return v.s(a,2,"0");case"h":return m(1);case"hh":return m(2);case"a":return f(a,o,!0);case"A":return f(a,o,!1);case"m":return String(o);case"mm":return v.s(o,2,"0");case"s":return String(t.$s);case"ss":return v.s(t.$s,2,"0");case"SSS":return v.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")})},h.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},h.diff=function(e,u,l){var c,d=this,p=v.p(u),h=w(e),m=(h.utcOffset()-this.utcOffset())*6e4,f=this-h,g=function(){return v.m(d,h)};switch(p){case s:c=g()/12;break;case a:c=g();break;case o:c=g()/3;break;case i:c=(f-m)/6048e5;break;case"day":c=(f-m)/864e5;break;case n:c=f/36e5;break;case r:c=f/6e4;break;case t:c=f/1e3;break;default:c=f}return l?c:v.a(c)},h.daysInMonth=function(){return this.endOf(a).$D},h.$locale=function(){return m[this.$L]},h.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),n=x(e,t,!0);return n&&(r.$L=n),r},h.clone=function(){return v.w(this.$d,this)},h.toDate=function(){return new Date(this.valueOf())},h.toJSON=function(){return this.isValid()?this.toISOString():null},h.toISOString=function(){return this.$d.toISOString()},h.toString=function(){return this.$d.toUTCString()},p}(),b=y.prototype;return w.prototype=b,[["$ms",e],["$s",t],["$m",r],["$H",n],["$W","day"],["$M",a],["$y",s],["$D",u]].forEach(function(e){b[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),w.extend=function(e,t){return e.$i||(e(t,y,w),e.$i=!0),w},w.locale=x,w.isDayjs=g,w.unix=function(e){return w(1e3*e)},w.en=m[h],w.Ls=m,w.p={},w},e.exports=t()},5631:function(e,t){var r;!function(n){var i=Object.prototype.hasOwnProperty,a=function(e){for(var t=Array(e.length),r=e.length,n=r-1;r--;)t[n-r]=e[r];return t},o=function(){var e=Array.prototype.slice.call(arguments);return 2==e.length?o.find.apply(this,e):o.transform.apply(this,e)};o.find=function(e,t){return o.get(t,e)},o.memoizePath=!0;var s={};(o.get=function(e,t,r){var i;if(null==e||null==t)return r;for("string"==typeof t?o.memoizePath?s[t]?i=s[t].slice(0):(i=t.split(".").reverse(),s[t]=i.slice(0)):i=t.split(".").reverse():Array.isArray(t)&&(i=a(t));i.length&&n!==(e=e[i.pop()])&&null!==e;);return null===e&&i.length&&(e=n),n===e?r:e},o.exists=function(e,t){return n!==o.get(e,t)},o.set=function(e,t,r,a){var o,s=Array.isArray(t)?t:t.split("."),u=e,l=s.length,c=["__proto__","constructor","prototype"];if(!s.some(function(e){return -1!==c.indexOf(e)})){if("object"!=typeof u)throw Error("Parent is not an object.");for(var d=0;d<l;d++)if(o=s[d],(!i.call(u,o)||n===u[o]||("object"!=typeof u[o]||null===u[o])&&a&&!0===a.force)&&(u[o]={}),d==l-1)u[o]=r;else{if("object"!=typeof u[o]||null===u[o])throw Error('Target key "'+o+'" is not suitable for a nested value. (It is in use as non-object. Set `force` to `true` to override.)');u=u[o]}u[o]=r}},o.default=function(e,t,r){n===o.get(e,t)&&o.set(e,t,r)},o.transform=function(e,t){if(Array.isArray(e))return e.map(function(e){return o.transform(e,t)});(t=t||{}).delimiter=t.delimiter||".";var r,n,i,a,s,u,l={},c=Object.keys(e),d=c.length;for(u=0;
1u<d;u++)if(-1!==(s=c[u]).indexOf(t.delimiter)){r=s.split(t.delimiter);var p=["__proto__","constructor","prototype"];if(r.some(function(e){return -1!==p.indexOf(e)}))break;n=r.length,a=l;for(var h=0;h<n&&(i=r[h],h==n-1||a.hasOwnProperty(i)||(a[i]={}),h==n-1&&(a[i]=e[s]),null!==(a=a[i]));h++);}else l[s]=e[s];return l},o.flatten=function(e,t){void 0===t&&(t=".");var r,n,a={};for(var s in e)if(i.call(e,s)){if(r=e[s],"[object Object]"===Object.prototype.toString.call(r))for(var u in n=o.flatten(r,t))a[s+t+u]=n[u];else a[s]=r}return a},o.paths=function(e,t){var r,n,i=[];if(t=t||[],"object"==typeof e)for(n in e)"object"==typeof(r=e[n])&&null!==r?i=i.concat(o.paths(r,t.concat([n]))):i.push(t.concat(n).join("."));else throw Error("Paths was called with non-object argument.");return i},e.exports)?t=e.exports=o:(this.Dottie=o,this.Dot=o,n!==(r=(function(){return o}).apply(t,[]))&&(e.exports=r))}()},48312:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return r(8561)}])},21090:function(e,t,r){"use strict";var n=r(85893),i=r(34648),a=r(64347);t.Z=()=>(0,n.jsx)(i._,{children:(0,n.jsx)("div",{className:"scroll-container",style:{overflow:"hidden"},children:Array.from({length:4}).map((e,t)=>(0,n.jsx)("div",{className:"itinerary-wrapper",children:(0,n.jsx)(a.Z,{className:"tour-skeleton",variant:"rounded",height:350,width:280})},t))})})},34648:function(e,t,r){"use strict";r.d(t,{_:function(){return n}});let n=r(50066).ZP.div.withConfig({componentId:"sc-ba6ba519-0"})(["max-width:1200px;position:relative;width:100%;margin:0 auto 30px auto;.itineraries{@media (min-width:500px){margin-bottom:12px !important;}}.right-arrow,.left-arrow{top:-30px;@media (max-width:500px){top:-30px !important;}}.scroll-container{position:relative;display:flex;gap:10px;cursor:grab;.itinerary-wrapper{position:relative;width:280px;.tour,.tour-skeleton{margin-bottom:0px;min-width:280px;}&.from-itinerary{width:220px;.tour,.tour-skeleton{margin-bottom:0px;min-width:220px;}}}.show-more{display:flex;align-self:center;justify-content:center;min-width:50px;height:284px;background-color:#ebedef;border-top-right-radius:15px;border-bottom-right-radius:15px;transition:background-color 0.8s ease-in-out;&:hover{background-color:lightgray;}a{display:flex;align-items:center;justify-content:center;width:100%;height:284px;}}}"])},82976:function(e,t,r){"use strict";r.d(t,{X:function(){return n}});let n=r(50066).ZP.div.withConfig({componentId:"sc-e1824fb4-0"})(["max-width:1200px;width:100%;margin:0 auto;position:relative;.scroll-container{position:relative;display:flex;gap:10px;cursor:grab;.drag-info{z-index:1;}.guide-wrapper{max-width:280px;min-width:280px;.guide{max-width:280px;min-width:280px;}}}"])},74352:function(e,t,r){"use strict";var n=r(61798);t.Z=()=>{let e="";for(;e.length<20;)n(40).forEach(t=>{e.length<20&&t<=247&&(e+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(t%62))});return e}},8561:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSP:function(){return B},default:function(){return U}});var n=r(85893),i=r(67294),a=r(68856),o=r(41248),s=r(5152),u=r.n(s),l=r(41664),c=r.n(l),d=r(29238),p=r.n(d),h=r(50066);let m=h.ZP.div.withConfig({componentId:"sc-4a506539-0"})(["opacity:0;visibility:hidden;transition:0.5s opacity ease-in-out;margin-bottom:30px;overflow:hidden;&.show{opacity:1;visibility:visible;}margin-top:60px;.welcome-scene{padding:0 20px;@media (max-width:600px){padding:0 10px;}position:relative;display:grid;gap:20px;grid-auto-rows:1fr;align-items:center;grid-template-columns:460px 1fr;@media (max-width:1250px){grid-template-columns:1fr;grid-auto-rows:auto;gap:0;justify-content:center;}.welcome-scene-wrapper{position:relative;padding:20px 20px 0 20px;@media (min-width:600px) and (max-width:1250px){padding:20px 0 10px 0;}.subtitle{color:var(--darkBlue);font-weight:700;font-size:4em;line-height:1.2em;overflow-wrap:break-word;@media (min-width:550px) and (max-width:1250px){text-align:center;margin:0 auto;max-width:700px;}}@media (max-width:600px){padding:0;}.home-search-responsive{border-radius:10px;margin-top:10px;button{background:var(--lightGray);width:calc(100% - 20px);height:55px;color:gray;text-align:left;padding:0 20px;border-radius:10px;font-size:1.1em;cursor:text;}}}.video-wrapper{@media (max-width:1250px){margin-bottom:26px;}width:100%;position:relative;border-radius:10px;video{max-width:100%;border-radius:10px;}}}.home-social-media{padding-top:40px;width:calc(100% - 20px);max-width:1000px;margin:0 auto;}.home-items-wrapper{max-width:1200px;margin:0 auto;@media (max-width:1200px){margin:0 10px;}.see-more{color:var(--blue);text-decoration:underline;font-size:15px;font-weight:400;@media (hover:hover) and (pointer:fine){&:hover{color:var(--darkBlue);}}}}.home-title{color:var(--darkBlue);font-size:2.5em;font-weight:700;line-height:1em;margin:40px 70px 40px 0;@media (max-width:500px){margin:30px 70px 55px 0;font-size:6vw;&.travelers-title{margin:30px auto 30px auto;}}&.new-guides-title{span{color:var(--pink);}}}@media (max-width:790px){margin:0 !important;.welcome-scene{grid-template-columns:1fr;grid-auto-rows:auto;}.home-search-responsive{margin-top:20px !important;}.home-step1 a{min-height:320px;}}@media (max-width:350px){.welcome-scene{.subtitle{font-size:3em !important;}}}.powered-by-stripe{padding:0;h2{font-size:2.5em;@media (max-width:500px){font-size:6vw;}}border:none;background:none;}"]),f=h.ZP.div.withConfig({componentId:"sc-6173f563-0"})([".home-search-responsive{position:relative;width:100%;.submit-button{position:absolute;top:2px;right:2px;
1height:51px;border-top-right-radius:5px;border-bottom-right-radius:5px;padding:0 15px;display:flex;align-items:center;background-color:var(--pink);border-radius:10px;img{filter:var(--whiteFilter);}}}.step2-wrapper{@media (max-width:840px){ul{grid-template-columns:1fr !important;}}}"]);var g=r(11163),x=e=>{let{isMobile:t}=e,r=(0,g.useRouter)(),a=(0,i.useRef)(null);(0,i.useEffect)(()=>{var e,t;let r=null==a?void 0:null===(t=a.current)||void 0===t?void 0:null===(e=t.play)||void 0===e?void 0:e.call(t);(null==r?void 0:r.catch)&&r.catch(()=>{})},[]);let o=(null==r?void 0:r.locale)==="ja"||(null==r?void 0:r.locale)==="th"||(null==r?void 0:r.locale)==="vi"||(null==r?void 0:r.locale)==="ko"||(null==r?void 0:r.locale)==="zh-CN"||(null==r?void 0:r.locale)==="zh-TW"||(null==r?void 0:r.locale)==="zh-HK"||(null==r?void 0:r.locale)==="fil"?"ja":"en";return(0,n.jsx)("div",{className:"video-wrapper",children:(0,n.jsx)("video",{preload:"metadata",src:"/video/home-itinerary-".concat(t&&"ja"===o?"ja-mobile":t&&"en"===o?"en-mobile":t||"ja"!==o?"en-desktop":"ja-desktop",".mp4#t=0.1"),autoPlay:!0,loop:!0,muted:!0,playsInline:!0,controls:!1,ref:a})})};let w=h.ZP.ul.withConfig({componentId:"sc-e98a0085-0"})(["max-width:1200px;margin:50px auto 0 auto;padding:0 10px;display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;@media (max-width:750px){margin-top:10px;grid-template-columns:1fr;}.review{position:relative;background:var(--lightGray);padding:15px;border-radius:15px;.translate{position:absolute;top:10px;right:10px;img{filter:var(--blueFilter);}&:hover{img{filter:var(--darkBlueFilter);}}}.review-name{font-weight:bold;color:var(--darkBlue);font-size:1.2em;display:flex;gap:10px;align-items:center;line-height:1em;span{font-size:0.7em;font-weight:400;color:gray;}img{margin-top:4px;}}.review-message{display:flex;gap:10px;margin-top:10px;font-size:1.12em;color:var(--darkBlue);img{filter:brightness(0) saturate(100%) invert(93%) sepia(0%) saturate(4036%) hue-rotate(349deg) brightness(129%) contrast(65%);}}.review-rating{margin:10px 0 0 40px;display:flex;align-items:center;gap:5px;img{filter:brightness(0) saturate(100%) invert(98%) sepia(100%) saturate(7498%) hue-rotate(331deg) brightness(101%) contrast(96%);}}}"]);var v=r(25675),y=r.n(v),b=e=>{let{t,review:r,showTranslate:a}=e,[o,s]=(0,i.useState)(!!a);return(0,i.useEffect)(()=>{s(!!a)},[a]),(0,n.jsxs)("div",{className:"review",children:[(0,n.jsxs)("div",{className:"review-name",children:[a&&(0,n.jsx)("button",{className:"translate",onClick:()=>{s(!o)},children:(0,n.jsx)(y(),{src:"/img/icon-translate.svg",alt:"translate",width:25,height:25})}),(null==r?void 0:r.store)==="playstore"&&(0,n.jsx)(y(),{src:"/img/icon-play2.svg",alt:"play-store-icon",width:30,height:30}),(null==r?void 0:r.store)==="appstore"&&(0,n.jsx)(y(),{src:"/img/icon-appstore2.svg",alt:"app-store-icon",width:30,height:30}),(null==r?void 0:r.store)==="google"&&(0,n.jsx)(y(),{src:"/img/icon-google.svg",alt:"google-icon",width:30,height:30}),(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:p().sanitize(t("postedOn",{platform:null==r?void 0:r.platform}),{USE_PROFILES:{html:!0}})}})]}),(0,n.jsx)("div",{className:"review-rating",children:Array.from({length:5}).map((e,t)=>(0,n.jsx)(y(),{src:"/img/icon-star.svg",alt:"star",width:25,height:25},t))}),(0,n.jsxs)("div",{className:"review-message",children:[(0,n.jsx)(y(),{src:"/img/icon-quotes.svg",alt:"quotation-marks",width:30,height:30}),o?null==r?void 0:r.translation:null==r?void 0:r.message]})]})},j=e=>{let{t,language:r}=e,a=(0,i.useMemo)(()=>[{platform:"App Store Mexico",message:"If you prefer to make better use of your time it suggests you hire guides by location. You carry the itinerary on your mobile device, you don't need anything else.",translation:t("homeReview1"),store:"appstore",lang:"en"},{platform:"Play Store",message:"Very handy and easy to use. The app is nice & colorful and creating itineraries is quite straightforward.",translation:t("homeReview2"),store:"playstore",lang:"en"},{platform:"Google",message:"Buen precio. Los precios pueden cambiar de un gu\xeda para otro pero los precios son muy buenos para 2 o m\xe1s personas.",translation:t("homeReview3"),store:"google",lang:"es"}],[t]);return(null==r?void 0:r.code)?(0,n.jsx)(w,{children:a.map(e=>(0,n.jsx)(b,{t:t,review:e,showTranslate:(null==r?void 0:r.code)!==(null==e?void 0:e.lang)},e.platform))}):null};let k=h.ZP.div.withConfig({componentId:"sc-7abbd50e-0"})(["margin-top:30px;@media (max-width:1250px){margin:26px 0;}width:100%;display:flex;align-items:center;img{filter:var(--whiteFilter);}.guide-wrapper{width:100%;display:grid;align-items:center;grid-template-columns:1fr;gap:10px;position:relative;@media (max-width:450px){display:flex;flex-wrap:wrap;}a,button{color:white;background:var(--blue);border-radius:20px;padding:5px 5px;height:65px;text-align:center;font-size:1.2em;display:flex;flex-wrap:wrap;gap:5px;justify-content:center;align-items:center;width:100%;@media (hover:hover) and (pointer:fine){&:hover{background:var(--pink);}}}}"]);var $=r(24108),S=e=>{let{t,stepsRef:r,language:i}=e,{newItinerary:a}=(0,$.Z)(),o=(0,g.useRouter)();return(0,n.jsx)(k,{children:(0,n.jsx)("div",{className:"guide-wrapper",children:(0,n.jsxs)("button",{className:"new-itinerary-button",onClick:()=>{a().then(e=>{e&&o.push("/itinerary/"+e)}).catch(e=>{console.error("Failed to create itinerary:",e),alert(t("errorCreatingItinerary")||"Failed to create itinerary. Please try again.")})},children:[(0,n.jsx)(y(),{src:"/img/icon-itinerary2.svg",alt:"new-itinerary",height:30,width:30,priority:!0}),String(t("startTrip2"))]})})})};let _=h.ZP.div.withConfig({componentId:"sc-c0473d0e-0"})(['position:relative;width:100%;background-color:var(--darkBlue);padding:30px 30px;margin-top:30px;.steps-wrapper{max-width:1050px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr 1fr;gap:70px;.step{width:100%;display:flex;justify-content:center;position:relative;flex-wrap:wrap;.step-screenshot{width:100%;height:auto;object-fit:contain;max-width:300px !important;opacity:0.9;z-index:0;margin:0 auto;}.text{width:100%;display:flex;gap:9px;background:var(--darkBlue);color:white;padding:5px;margin-bottom:17px;border-bottom:4px dotted white;padding-bottom:15px;.title{font-weight:bold;font-size:2em;line-height:1.1em;margin-bottom:5px;width:100%;}.message{width:100%;font-size:1.1em;}img{filter:var(--whiteFilter);}}}}
1@media (max-width:895px){padding:20px 10px;margin-top:30px;.steps-wrapper{grid-template-columns:1fr;gap:15px;.step-screenshot{max-width:280px !important;}.text{justify-content:center;.title{text-align:center;}.message{font-size:1.2em !important;}img{display:none;}}}}@media (hover:none){.steps-wrapper{overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;display:flex;flex-wrap:nowrap;gap:15px;padding:15px 30px;&::after{content:"";position:absolute;top:0;right:0;width:40px;height:100%;pointer-events:none;background:linear-gradient(to right,transparent,var(--darkBlue));z-index:1;}}.step{min-width:80%;flex-shrink:0;scroll-snap-align:start;border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,0.1);.title{font-size:1.9em !important;}}.step-screenshot{width:100%;height:auto;}.steps-wrapper::-webkit-scrollbar{height:6px;}.steps-wrapper::-webkit-scrollbar-thumb{background:rgba(0,0,0,0.2);border-radius:3px;}}']);var M=e=>{let{t}=e;return(0,n.jsx)(_,{children:(0,n.jsxs)("div",{className:"steps-wrapper",children:[(0,n.jsxs)("div",{className:"step",children:[(0,n.jsxs)("div",{className:"text",children:[(0,n.jsx)(y(),{src:"/img/icon-itinerary.svg",alt:"marker",width:28,height:28}),(0,n.jsxs)("div",{className:"text-wrapper",children:[(0,n.jsx)("p",{className:"title",children:String(t("createYourItinerary"))}),(0,n.jsx)("p",{className:"message",children:String(t("createYourItineraryMsg"))})]})]}),(0,n.jsx)(y(),{src:"/img/home/steps/1.webp",alt:"home-step-1",width:288.5,height:380.5,className:"step-screenshot"})]}),(0,n.jsxs)("div",{className:"step",children:[(0,n.jsxs)("div",{className:"text",children:[(0,n.jsx)(y(),{src:"/img/icon-chat2.svg",alt:"marker",width:28,height:28}),(0,n.jsxs)("div",{className:"text-wrapper",children:[(0,n.jsx)("p",{className:"title",children:String(t("chatWithTourGuides"))}),(0,n.jsx)("p",{className:"message",children:String(t("chatWithTourGuidesMsg"))})]})]}),(0,n.jsx)(y(),{src:"/img/home/steps/2.webp",alt:"home-step-2",width:259.5,height:382.5,className:"step-screenshot"})]}),(0,n.jsxs)("div",{className:"step",children:[(0,n.jsxs)("div",{className:"text",children:[(0,n.jsx)(y(),{src:"/img/icon-check.svg",alt:"marker",width:28,height:28}),(0,n.jsxs)("div",{className:"text-wrapper",children:[(0,n.jsx)("p",{className:"title",children:String(t("completeYourBooking"))}),(0,n.jsx)("p",{className:"message",children:String(t("completeYourBookingMsg"))})]})]}),(0,n.jsx)(y(),{src:"/img/home/steps/3.webp",alt:"home-step-3",width:259.5,height:382.5,className:"step-screenshot"})]})]})})},D=r(82976),N=r(64347),T=()=>(0,n.jsx)(D.X,{children:(0,n.jsx)("div",{className:"scroll-container",style:{overflow:"hidden"},children:Array.from({length:4}).map((e,t)=>(0,n.jsx)(N.Z,{className:"guide",variant:"rounded",height:350},t))})}),A=r(21090);class E extends i.Component{static getDerivedStateFromError(e){return{hasError:!0}}componentDidCatch(e,t){console.error("Uncaught error in component:",e,t)}render(){return this.state.hasError?this.props.fallback?this.props.fallback:(0,n.jsxs)("div",{style:{padding:"20px",textAlign:"center",color:"#666"},children:[(0,n.jsx)("h2",{children:"Something went wrong."}),(0,n.jsx)("p",{children:"We could not load this section. Please try refreshing the page."})]}):this.props.children}constructor(...e){super(...e),this.state={hasError:!1}}}var O=r(96624);let z=u()(()=>Promise.all([r.e(713),r.e(545)]).then(r.bind(r,60545)),{loadableGenerated:{webpack:()=>[60545]},loading:()=>(0,n.jsx)(T,{})}),C=u()(()=>Promise.all([r.e(713),r.e(1487)]).then(r.bind(r,91487)),{loadableGenerated:{webpack:()=>[91487]},loading:()=>(0,n.jsx)(A.Z,{})}),F=u()(()=>r.e(1208).then(r.bind(r,51208)),{loadableGenerated:{webpack:()=>[51208]}});var I=e=>{let{newGuides:t,itineraries:r,isMobile:s,lessVisited:u,lang:l}=e,p=(0,i.useMemo)(()=>"default"===l?{code:"en"}:{code:l},[l]),h=(0,i.useRef)(null),g=(0,o.v9)(e=>e.app.currency,o.wU),{t:w}=(0,a.$G)(),[v,y]=(0,i.useState)(!1);(0,i.useEffect)(()=>{y((0,O.Z)())},[]);let b=(0,i.useMemo)(()=>d.sanitize(w("topDekitabiGuides"),{USE_PROFILES:{html:!0}}),[w]);return(0,n.jsx)(f,{children:(0,n.jsxs)(m,{className:"show",children:[(0,n.jsxs)("div",{className:"welcome-scene",children:[(0,n.jsxs)("div",{className:"welcome-scene-wrapper",children:[(0,n.jsx)("h1",{className:"subtitle",children:w("homeTitle")}),(0,n.jsx)(S,{t:w,stepsRef:h,language:p})]}),!v&&(0,n.jsx)(x,{isMobile:s})]}),(0,n.jsx)(j,{t:w,language:p}),(0,n.jsx)(M,{t:w}),(0,n.jsxs)("section",{className:"home-items-wrapper",children:[(0,n.jsxs)("h2",{className:"home-title new-guides-title",children:[(0,n.jsx)("b",{dangerouslySetInnerHTML:{__html:b}})," ",(0,n.jsx)(c(),{className:"see-more",prefetch:!1,href:"/guides",children:w("showMore")})]}),(0,n.jsx)(E,{children:(0,n.jsx)(z,{t:w,language:p,currency:g,guides:t})})]}),(0,n.jsx)(F,{t:w,lessVisited:u}),(0,n.jsx)("section",{className:"home-items-wrapper",children:(0,n.jsx)(E,{children:(0,n.jsx)(C,{t:w,language:p,itineraries:r})})})]})})},L=r(9008),P=r.n(L),B=!0,U=e=>{var t,r,i;let o=["en","ja","zh_cn","zh_tw","ko","tl","id","th","vi","ms","fr","es","it","pt"],{t:s}=(0,a.$G)();return(null==e?void 0:null===(t=e._nextI18Next)||void 0===t?void 0:t.initialLocale)?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(P(),{children:[(0,n.jsx)("title",{children:s("homeTitle")}),(0,n.jsx)("link",{rel:"canonical",href:"https://www.dekitabi.com".concat((null==e?void 0:null===(r=e._nextI18Next)||void 0===r?void 0:r.initialLocale)!=="default"?"/".concat(null==e?void 0:null===(i=e._nextI18Next)||void 0===i?void 0:i.initialLocale):"")}),(0,n.jsx)("link",{rel:"alternate",hrefLang:"x-default",href:"https://www.dekitabi.com"}),null==o?void 0:o.map((e,t)=>(0,n.jsx)("link",{rel:"alternate",hrefLang:"zh_cn"===e?"zh":"zh_tw"===e?"zh-TW":e,href:"https://www.dekitabi.com/".concat(e)},t)),(0,n.jsx)("meta",{name:"twitter:title",content:s("dekitabi")}),(0,n.jsx)("meta",{name:"twitter:description",content:"".concat(s("homeTitle")," ").concat(s("whyDekitabiMsg5"))}),(0,n.jsx)("meta",{name:"title",content:s("dekitabi")}),(0,n.jsx)("meta",{name:"description",content:"".concat(s("homeTitle")," ").concat(s("whyDekitabiMsg5"))}),(0,n.jsx)("meta",{property:"og:url",content:"https://www.dekitabi.com"}),(0,n.jsx)("meta",{property:"og:title",content:s("dekitabi")}),(0,n.jsx)("meta",{property:"og:description",content:"".concat(s("homeTitle")," ").concat(s("whyDekitabiMsg5"))})]}),(0,n.jsx)(I,{...e}),(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:'{\n  "@context": "https://schema.org/",\n  "@type": "WebSite",\n  "name": "dekitabi",\n  "url": "https://www.dekitabi.com",\n  "potentialAction": {\n    "@type": "SearchAction",\n    "target": "https://www.dekitabi.com/s/{search_term_string}",\n    "query-input": "required name=search_term_string"\n  }\n}'}})]}):(0,n.jsx)(n.Fragment,{})}},61798:function(e,t,r){"use strict";var n=r(83454),i=r(89509).Buffer,a=r.g.crypto||r.g.msCrypto;a&&a.getRandomValues?e.exports=function(e,t){if(e>4294967295)throw RangeError("requested too many random bytes");var r=i.allocUnsafe(e);if(e>0){if(e>65536)for(var o=0;o<e;o+=65536)a.getRandomValues(r.slice(o,o+65536));else a.getRandomValues(r)}return"function"==typeof t?n.nextTick(function(){t(null,r)}
1):r}:e.exports=function(){throw Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}},89509:function(e,t,r){var n=r(21876),i=n.Buffer;function a(e,t){for(var r in e)t[r]=e[r]}function o(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(a(n,t),t.Buffer=o),o.prototype=Object.create(i.prototype),a(i,o),o.from=function(e,t,r){if("number"==typeof e)throw TypeError("Argument must not be a number");return i(e,t,r)},o.alloc=function(e,t,r){if("number"!=typeof e)throw TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},o.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return i(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return n.SlowBuffer(e)}},83977:function(e,t,r){"use strict";r.d(t,{C6:function(){return n.C6},ZF:function(){return n.ZF}});var n=r(25816);(0,n.KN)("firebase","9.23.0","app")},26462:function(e,t,r){"use strict";r.r(t),r.d(t,{AggregateField:function(){return n.WS},AggregateQuerySnapshot:function(){return n.Up},Bytes:function(){return n.Jj},CollectionReference:function(){return n.hx},DocumentReference:function(){return n.my},DocumentSnapshot:function(){return n.xU},FieldPath:function(){return n.Lz},FieldValue:function(){return n.GH},Firestore:function(){return n.gg},FirestoreError:function(){return n.WA},GeoPoint:function(){return n.F8},Query:function(){return n.AE},QueryCompositeFilterConstraint:function(){return n.dL},QueryConstraint:function(){return n.O$},QueryDocumentSnapshot:function(){return n.$q},QueryEndAtConstraint:function(){return n.zf},QueryFieldFilterConstraint:function(){return n.o},QueryLimitConstraint:function(){return n.p4},QueryOrderByConstraint:function(){return n.YF},QuerySnapshot:function(){return n.W},QueryStartAtConstraint:function(){return n.en},Timestamp:function(){return n.EK},Transaction:function(){return n.YW},WriteBatch:function(){return n.PU},addDoc:function(){return n.ET},aggregateFieldEqual:function(){return n.dX},aggregateQuerySnapshotEqual:function(){return n.yf},and:function(){return n.xD},arrayRemove:function(){return n.Ab},arrayUnion:function(){return n.vr},average:function(){return n.Y8},collection:function(){return n.hJ},collectionGroup:function(){return n.B$},connectFirestoreEmulator:function(){return n.at},count:function(){return n.QX},deleteDoc:function(){return n.oe},deleteField:function(){return n.AK},doc:function(){return n.JU},documentId:function(){return n.Jm},endAt:function(){return n.Wu},endBefore:function(){return n.Lx},getAggregate:function(){return n._L},getCount:function(){return n.sA},getDoc:function(){return n.QT},getDocs:function(){return n.PL},getFirestore:function(){return n.ad},increment:function(){return n.nP},initializeFirestore:function(){return n.LV},limit:function(){return n.b9},limitToLast:function(){return n.vh},or:function(){return n.or},orderBy:function(){return n.Xo},query:function(){return n.IO},queryEqual:function(){return n.iE},refEqual:function(){return n.Eo},runTransaction:function(){return n.i3},serverTimestamp:function(){return n.Bt},setDoc:function(){return n.pl},setLogLevel:function(){return n.Ub},snapshotEqual:function(){return n.qK},startAfter:function(){return n.TQ},startAt:function(){return n.e0},sum:function(){return n.Sm},terminate:function(){return n.RA},updateDoc:function(){return n.r7},where:function(){return n.ar},writeBatch:function(){return n.qs}});var n=r(3069)}},function(e){e.O(0,[4243,5816,6650,1876,9238,4108,2888,9774,179],function(){return e(e.s=48312)}),_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.