1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1664],{49453:function(e,t,a){e.exports=a(58343)},25019:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile-app",function(){return a(43299)}])},43299:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSG:function(){return x},default:function(){return g}});var r,n,l,o,i,s=a(44037),c=a(73568),p=a(48054),h=a(49453),d=a.n(h);function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)({}).hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(null,arguments)}var f=function(e){return c.createElement("svg",u({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 234 204"},e),r||(r=c.createElement("path",{fill:"url(#rabbit-care-app-logo_svg__a)",d:"M85.455 196.352c-32.1-21.356-29.995-80.894 4.721-133.01 34.716-52.117 88.976-77.052 121.067-55.705 32.092 21.347 29.996 80.895-4.72 133.021S117.566 217.7 85.474 196.362"})),n||(n=c.createElement("path",{fill:"url(#rabbit-care-app-logo_svg__b)",d:"M139.12 195.257c26.37-20.846 20.233-72.378-13.662-115.138-33.894-42.76-82.754-60.5-109.095-39.7C-9.98 61.217-3.87 112.795 30.034 155.602s82.754 60.501 109.086 39.654"})),l||(l=c.createElement("path",{fill:"#fff",d:"M184.052 122.483H42.422v3.833h141.63zM73.606 88.683a14.484 14.484 0 0 0-14.728 14.539c0 7.922 6.108 14.361 13.605 14.361a9.44 9.44 0 0 0 6.269-2.059l1.888-1.321v2.605h7.506v-13c0-8.762-6.1-15.107-14.493-15.107zm-.056 21.375a6.94 6.94 0 0 1-6.42-4.28 6.938 6.938 0 0 1 9.07-9.069 6.94 6.94 0 0 1 4.28 6.419 6.95 6.95 0 0 1-6.93 6.93M107.369 88.683a11.08 11.08 0 0 0-6.213 1.888l-1.888 1.17v-14.36h-7.45v24.888c0 8.875 6.09 15.314 14.484 15.314a14.5 14.5 0 0 0 10.435-4.2 14.5 14.5 0 0 0 4.293-10.397c0-7.76-6.269-14.303-13.661-14.303m-.944 21.356a6.93 6.93 0 0 1-3.859-1.166 6.94 6.94 0 1 1 10.789-5.764 6.927 6.927 0 0 1-6.93 6.93M139.696 88.683a10.95 10.95 0 0 0-6.193 1.888l-1.889 1.17v-14.36h-7.439v24.888c0 8.875 6.08 15.314 14.473 15.314a14.5 14.5 0 0 0 10.432-4.2 14.5 14.5 0 0 0 4.287-10.397c0-7.76-6.24-14.303-13.661-14.303zm-.944 21.337a6.936 6.936 0 0 1-6.805-8.297 6.938 6.938 0 0 1 13.744 1.367 6.92 6.92 0 0 1-4.284 6.405 6.9 6.9 0 0 1-2.655.525M164.678 89.447h-7.695v27.371h7.695zM184.071 96.075v-6.514h-7.553V77.38h-7.44v28.74c0 4.607.869 6.901 3.323 8.752 2.134 1.548 3.881 1.935 8.498 1.935h3.172v-6.542h-2.313c-4.041 0-5.212-1.115-5.212-4.919v-9.272zM56.886 88.683c-8.403 0-14.493 6.363-14.493 15.106v13.001h7.553v-12.095c0-5.41 2.634-8.62 7.034-8.62h.46299999999999997v-7.42h-.51"})),o||(o=c.createElement("path",{fill:"#005098",d:"m87.768 153.045-6.609-3.777a6.86 6.86 0 0 1-7.71 3.199 6.85 6.85 0 0 1-5.083-6.622 6.85 6.85 0 0 1 5.083-6.621 6.86 6.86 0 0 1 7.71 3.199l6.61-3.777a14.46 14.46 0 0 0-16.26-6.735 14.46 14.46 0 0 0-10.714 13.963 14.453 14.453 0 0 0 19.987 13.354 14.45 14.45 0 0 0 6.986-6.127zM157.333 148.985h8.034a14.44 14.44 0 0 0-6.779-15.626 12.6 12.6 0 0 0-1.671-.84l-.878-.34a12 12 0 0 0-.944-.283 10 10 0 0 0-.944-.217h-.066q-.937-.177-1.888-.246h-1.058a14.464 14.464 0 0 0-14.275 12.907v2.369c0 .369.056.737.104 1.105a14.45 14.45 0 0 0 14.313 12.453h1.8309999999999997l.463-.075.434-.066.454-.104.424-.095.444-.122.416-.133.434-.141.406-.161.425-.17.368-.17.434-.207.293-.161.406-.217a14.7 14.7 0 0 0 4.362-3.89l-6.279-4.315a6.9 6.9 0 0 1-1.888 1.615 6.8 6.8 0 0 1-3.427.944h-1.105q-.396-.075-.765-.17l-.368-.123h-.141a7.4 7.4 0 0 1-1.171-.576 6.8 6.8 0 0 1-2.464-2.662h7.902zm-12.123-6.345a6.94 6.94 0 0 1 2.445-2.644h.057q.541-.329 1.133-.557h.151l.368-.122h.104c.227-.057.453-.114.68-.151h1.1139999999999999a6.84 6.84 0 0 1 3.191.793l.368.217.331.217h.066q.153.105.293.227l.075.056.255.236.085.076.236.236.085.094.217.236.085.114c.066.075.123.16.189.245l.085.113.17.265.075.122.199.35h-12.123zM103.677 131.367a14.5 14.5 0 0 0-10.42 4.174 14.5 14.5 0 0 0-4.308 10.366c0 7.921 6.099 14.36 13.605 14.36a9.44 9.44 0 0 0 6.259-2.058l1.889-1.321v2.605h7.553v-13.001c0-8.761-6.099-15.106-14.493-15.106zm-.028 21.376a6.94 6.94 0 1 1-.018-13.878 6.94 6.94 0 0 1 .018 13.878M135.334 131.367c-8.403 0-14.483 6.364-14.483 15.106v13.02h7.553V147.38c0-5.41 2.625-8.62 7.025-8.62h.472v-7.421h-.519"})),i||(i=c.createElement("defs",null,c.createElement("linearGradient",{id:"rabbit-care-app-logo_svg__a",x1:231.834,x2:82.469,y1:26.018,y2:196.172,gradientUnits:"userSpaceOnUse"},c.createElement("stop",{stopColor:"#F58124"}),c.createElement("stop",{offset:.26,stopColor:"#F7921E"}),c.createElement("stop",{offset:.29,stopColor:"#F7941D"}),c.createElement("stop",{offset:.71,stopColor:"#FBB040"})),c.createElement("linearGradient",{id:"rabbit-care-app-logo_svg__b",x1:-6.335,x2:134.406,y1:52.847,y2:189.12,gradientUnits:"userSpaceOnUse"},c.createElement("stop",{offset:.08,stopColor:"#FBB040"}),c.createElement("stop",{offset:.47,stopColor:"#F7941D"}),c.createElement("stop",{offset:.51,stopColor:"#F7921E"}),c.createElement("stop",{offset:.9,stopColor:"#F58124"})))))},m=a(11324);let v="https://apps.apple.com/th/app/rabbit-care/id6736928487",b="https://play.google.com/store/apps/details?id=com.rabbit_app",w={th:{title:"à¸à¸³à¸¥à¸±à¸à¹à¸à¸´à¸à¹à¸à¸ Rabbit Careâ¦",subtitle:"หาà¸à¹à¸à¸à¹à¸¡à¹à¹à¸à¸´à¸à¹à¸à¸¢à¸à¸±à¸à¹à¸à¸¡à¸±à¸à¸´ à¸
1รุà¸à¸²à¸à¸à¸à¸¸à¹à¸¡à¸à¹à¸²à¸à¸¥à¹à¸²à¸à¹à¸à¸·à¹à¸à¸à¸²à¸§à¸à¹à¹à¸«à¸¥à¸à¸«à¸£à¸·à¸à¸à¸±à¸à¹à¸à¸à¹à¸à¸",download:"à¸à¸²à¸§à¸à¹à¹à¸«à¸¥à¸à¸«à¸£à¸·à¸à¸à¸±à¸à¹à¸à¸à¹à¸à¸"},en:{title:"Opening the Rabbit Care appâ¦",subtitle:"If the app does not open automatically, please click the button below to download or update the app.",download:"Download or Update App"}};var x=!0,g=function(e){let{locale:t}=e,a=(0,p.useRouter)(),r=(0,c.useRef)(!1),n="th"===t?w.th:w.en,[l,o]=(0,c.useState)("android"),i=a.query.screen,h=(Array.isArray(i)?i[0]:i)||"wallet";return(0,c.useEffect)(()=>{if(!a.isReady)return;let e=navigator.userAgent,t=/iPhone|iPad|iPod/i.test(e),n=t?v:b;if(t&&o("ios"),r.current)return;r.current=!0;let l=!1,i=()=>{l=!0};document.addEventListener("visibilitychange",i),window.addEventListener("blur",i),window.location.href="rabbitcare://".concat(h);let s=setTimeout(()=>{!l&&n&&(window.location.href=n)},t?3e3:1e3);return()=>{clearTimeout(s),document.removeEventListener("visibilitychange",i),window.removeEventListener("blur",i)}},[a.isReady,h]),(0,s.jsxs)("div",{style:{fontFamily:m.fontFamilyMap[t]},className:"flex min-h-screen flex-col items-center justify-center gap-6 bg-white px-6 text-center",children:[(0,s.jsxs)(d(),{children:[(0,s.jsx)("title",{children:n.title}),(0,s.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1, maximum-scale=1.0, viewport-fit=cover"}),(0,s.jsx)("meta",{name:"robots",content:"noindex, nofollow"})]}),(0,s.jsx)("div",{className:"flex h-28 w-28 items-center justify-center rounded-[28px] bg-white shadow-[0_20px_40px_-12px_rgba(0,80,152,0.25)]",children:(0,s.jsx)(f,{className:"h-16 w-auto"})}),(0,s.jsx)("div",{className:"h-10 w-10 animate-spin rounded-full border-4 border-primary-light border-t-primary"}),(0,s.jsx)("h1",{className:"text-3xl font-extrabold text-primary-dark",children:n.title}),(0,s.jsx)("p",{className:"text-lg text-lightgray",children:n.subtitle}),(0,s.jsx)("a",{href:"ios"===l?v:b,className:"w-full max-w-xs rounded-full bg-primary px-10 py-4 text-lg font-semibold text-white",children:n.download})]})}}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=25019)}),_N_E=e.O()}]);
2//# sourceMappingURL=mobile-app-ff8367bcd05a80d7.js.map
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.