PageSourceSearch

https://deli-picks.com/_next/static/chunks/230-90831a4209e6fbe8.js

js deli-picks.com collected 2026-09-26 02:57:56 UTC 26,796 bytes, 1 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="49a540ff-b528-4e73-9263-b335d72a38d8",e._sentryDebugIdIdentifier="sentry-dbid-49a540ff-b528-4e73-9263-b335d72a38d8")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[230,9324],{1776:(e,r,t)=>{"use strict";t.d(r,{A:()=>c});var n=t(12694),s=t(74466),a=t(26650),o=t(30254),i=(0,s.eU)({movetoConfirm:!1,movetoMenuChange:!1,registerId:(0,o.A)(),requestedQuery:"",changeTarget:void 0}),c=function(){var e=(0,n._)((0,a.fp)(i),2);return{signupFlow:e[0],setSignupFlow:e[1]}}},2626:(e,r,t)=>{"use strict";t.d(r,{GO:()=>v,Sn:()=>f});var n=t(29935),s=t(78024),a=t(37743),o=t(1833),i=t(53847),c=t(12694),l=t(22531),u=t(89264),d=t(82643),h=t(32938),p=function(e){function r(e,t){var n;return(0,a._)(this,r),(n=(0,s._)(this,r,[e])).name="HttpError",n.response=t,n}return(0,o._)(r,e),r}((0,u._)(Error)),g=function(e,r){var t="https://deli-picks.com/api/".replace(/\/$/,""),n=/^https?:\/\//.test(e)?e:"".concat(t).concat(e.startsWith("/")?e:"/".concat(e));if(!r||0===Object.keys(r).length)return n;var s=new URLSearchParams,a=!0,o=!1,i=void 0;try{for(var u,d=Object.entries(r)[Symbol.iterator]();!(a=(u=d.next()).done);a=!0){var h=(0,c._)(u.value,2),p=h[0],g=h[1];null!=g&&s.append(p,(void 0===g?"undefined":(0,l._)(g))==="object"?JSON.stringify(g):String(g))}}catch(e){o=!0,i=e}finally{try{a||null==d.return||d.return()}finally{if(o)throw i}}var m=n.includes("?")?"&":"?";return"".concat(n).concat(m).concat(s.toString())},m=function(e,r,t,s){return(0,n._)(function(){var a,o,c,l,u,m,f,v;return(0,d.YH)(this,function(b){switch(b.label){case 0:return a={"Content-Type":"application/json; charset=utf-8","Access-Control-Allow-Origin":"*"},[4,h.kG];case 1:if(b.sent(),!(o=h.j2.currentUser))return[3,3];return[4,o.getIdToken()];case 2:c=b.sent(),a.Authorization="Bearer ".concat(c),b.label=3;case 3:l=new AbortController,u=setTimeout(function(){return l.abort()},6e4),b.label=4;case 4:return b.trys.push([4,6,,7]),[4,fetch(g(r,null==s?void 0:s.params),{method:e,headers:a,body:void 0===t?void 0:JSON.stringify(t),signal:l.signal})];case 5:return m=b.sent(),[3,7];case 6:if(f=b.sent(),clearTimeout(u),"AbortError"===f.name)throw new p("timeout of ".concat(6e4,"ms exceeded"));throw new p((0,i._)(f,Error)?f.message:"Network error");case 7:var _;return clearTimeout(u),[4,(_=m,(0,n._)(function(){var e,r;return(0,d.YH)(this,function(t){switch(t.label){case 0:if(204===_.status||"0"===_.headers.get("content-length"))return[2,void 0];if(!(null!=(e=_.headers.get("content-type"))?e:"").includes("application/json"))return[3,4];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,_.json()];case 2:return[2,t.sent()];case 3:case 6:return t.sent(),[2,void 0];case 4:return t.trys.push([4,6,,7]),[4,_.text()];case 5:return[2,0===(r=t.sent()).length?void 0:r];case 7:return[2]}})})())];case 8:if(v={data:b.sent(),status:m.status,headers:m.headers},!m.ok)throw new p("Request failed with status code ".concat(m.status),v);return[2,v]}})})()},f={get:function(e,r){return m("GET",e,void 0,r)},post:function(e,r,t){return m("POST",e,r,t)},put:function(e,r,t){return m("PUT",e,r,t)},delete:function(e,r,t){return m("DELETE",e,r,t)}},v=function(e){return m("GET",e).then(function(e){return e.data})}},5286:(e,r,t)=>{"use strict";t.d(r,{ly:()=>h,Nm:()=>l,OS:()=>c,AF:()=>d});var n=t(21556),s=t(15727),a=t(32938),o=t(34145),i=(0,t(30254).A)(),c=function(e,r){var t,n="".concat(location.pathname).concat(location.search),s=a.j2.currentUser,i=Object.assign({userId:null!=(t=null==s?void 0:s.uid)?t:"",browserId:(0,o.U3)(),createdAt:new Date().toISOString(),action:e,page:encodeURIComponent(n)},r),c=Object.keys(i).filter(function(e){return!!e}).map(function(e){return"".concat(e,"=").concat(i[e])}).join("&");fetch("".concat("https://storage.googleapis.com/tkshk-prod.appspot.com/beacon/spacer.gif","?").concat(c),{mode:"no-cors"}).catch(function(){})},l=function(e){if(window.dataLayer){var r=e.email,t=e.postalCode,n=e.phoneNumber,s=e.isSubscription,a=e.price,o=e.registerId;window.dataLayer.push({event:"cv",cv:s?"subscription":"spot",email_address:r,postal_code:t,phone_number:n,country:"JP",currency:"JPY",amount:a,registerId:o})}},u=function(){window.fbq&&window.fbq("track","PageView")},d=function(e){c("view"),(0,n.l)("view",e),u(),window.dataLayer.push({event:"pageview",path:"".concat(location.pathname).concat(location.search)})},h=function(e){var r=e.action,t=e.experiments,n=e.userId,a=e.params,c=(0,o.U3)(),l=location.pathname,u=Object.fromEntries(new URLSearchParams(location.search)),d=Object.keys(s.V).find(function(e){return s.V[e]===l});return{action:r,path:l,query:JSON.stringify(u),page_id:d,user_id:n,browse_id:c,session_id:i,experiments:JSON.stringify(t),params:a&&JSON.stringify(a)}}},21556:(e,r,t)=>{"use strict";t.d(r,{l:()=>l});var n=t(29935),s=t(82643),a=t(32938),o=t(2626),i=t(41041),c=t(5286),l=function(e,r,t){return(0,n._)(function(){var n,l,u;return(0,s.YH)(this,function(s){switch(s.label){case 0:return[4,a.kG];case 1:return s.sent(),u=(0,c.ly)({action:e,experiments:r,userId:null!=(n=null==(l=a.j2.currentUser)?void 0:l.uid)?n:"",params:t}),i.A.debug(u),o.Sn.get("/p/log",{params:u}).catch(function(e){return i.A.debug(e)}),[2]}})})()}},32938:(e,r,t)=>{"use strict";t.d(r,{j2:()=>a,kA:()=>o,kG:()=>c});var n=t(78698),s=t(55530);t(15184),t(97422),0===s.A.apps.length&&s.A.initializeApp({apiKey:"AIzaSyD7Y895xwlYJXJAG0ctZ6zZA4mjIDR-jIU",authDomain:"tkshk-prod.firebaseapp.com",databaseURL:"https://tkshk-prod.firebaseio.com",projectId:"tkshk-prod",storageBucket:"tkshk-prod.appspot.com",messagingSenderId:"522236258793"});var a=s.A.auth(),o=s.A.firestore(),i=function(){},c=new Promise(function(e){i=e,setTimeout(e,5e3)});a.onAuthStateChanged(function(e){n.gV(e?{id:e.uid}:null),i()})},35648:e=>{e.exports={group:"SignupAddressForm_group__9wiEW",label:"SignupAddressForm_label__ykMFM",required:"SignupAddressForm_required__MOf2C",error:"SignupAddressForm_error__SylFf",addressSectionTitle:"SignupAddressForm_addressSectionTitle__Aqkqi",addressGroup:"SignupAddressForm_addressGroup__SkM_d",labelCaption:"SignupAddressForm_labelCaption__k559Q",labelCaution:"SignupAddressForm_labelCaution__
16ZnQs"}},41396:e=>{e.exports={container:"SmartAddressSearch_container__gu6Q0",label:"SmartAddressSearch_label__XkmlH",wrapper:"SmartAddressSearch_wrapper__ty1RV",inputWrapper:"SmartAddressSearch_inputWrapper__wF0dx",icon:"SmartAddressSearch_icon__T5CSw",input:"SmartAddressSearch_input__fFMTm",searchingIndicator:"SmartAddressSearch_searchingIndicator__CXeVU",searchingSpinner:"SmartAddressSearch_searchingSpinner__ByTEj",spin:"SmartAddressSearch_spin__JWPGd",suggestionList:"SmartAddressSearch_suggestionList__xM06z",suggestionItem:"SmartAddressSearch_suggestionItem__lCqK5",suggestionIcon:"SmartAddressSearch_suggestionIcon__vJBI2",suggestionItemSelected:"SmartAddressSearch_suggestionItemSelected__9LYjE",suggestionText:"SmartAddressSearch_suggestionText__d9bJF",suggestionAddress:"SmartAddressSearch_suggestionAddress__uLF8N",noResults:"SmartAddressSearch_noResults__M9bup",noResultsIcon:"SmartAddressSearch_noResultsIcon__p4xKF"}},51120:(e,r,t)=>{"use strict";t.d(r,{O:()=>n});var n="【DELIPICKS(デリピックス)定期便】フレンチシェフの冷凍宅配弁当"},54796:(e,r,t)=>{"use strict";t.d(r,{Au:()=>n,O0:()=>c,OK:()=>i,b8:()=>u,h2:()=>o});var n=function(e){return e.replace(/[A-Za-z0-9]/g,function(e){return String.fromCharCode(e.charCodeAt(0)-65248)})},s=/[-‐‑‒–—―−ー-()()\s]/g,a=/^\d{9,14}$/,o=function(e){return n(e).replace(s,"")},i=function(e){return a.test(e)},c="電話番号は9〜14桁の半角数字で入力してください",l=/^\d{7}$/,u=function(e){return l.test(e)}},63603:(e,r,t)=>{"use strict";t.d(r,{$:()=>i});var n=t(17844),s=t(93629),a=t(17459),o=t(15383),i=function(e){var r=e.variant,t=(0,a._)(e,["variant"]);return"filled"===(void 0===r?"outline":r)?(0,o.jsxs)("svg",(0,s._)((0,n._)({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},t),{children:[(0,o.jsx)("circle",{cx:"12",cy:"12",r:"10",fill:"currentColor"}),(0,o.jsx)("path",{d:"M11 7H13V9H11V7ZM11 11H13V17H11V11Z",fill:"white"})]})):(0,o.jsxs)("svg",(0,s._)((0,n._)({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor"},t),{children:[(0,o.jsx)("g",{clipPath:"url(#clip0_35333_63126)",children:(0,o.jsx)("path",{d:"M11 7H13V9H11V7ZM11 11H13V17H11V11ZM12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20Z",fill:"currentColor"})}),(0,o.jsx)("defs",{children:(0,o.jsx)("clipPath",{id:"clip0_35333_63126",children:(0,o.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]}))}},66461:(e,r,t)=>{"use strict";t.d(r,{W:()=>o});var n=t(14343);function s(){return(s=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}var a=function(e){var r=(0,n.useRef)(e);return r.current=e,r},o=function(e){var r=void 0===e?{}:e,t=r.root,o=r.rootMargin,i=r.threshold,c=void 0===i?0:i,l=r.trackVisibility,u=r.delay,d=r.unobserveOnEnter,h=r.onChange,p=r.onEnter,g=r.onLeave,m=(0,n.useState)({inView:!1,scrollDirection:{}}),f=m[0],v=m[1],b=(0,n.useRef)(!1),_=(0,n.useRef)({}),x=(0,n.useRef)(),w=(0,n.useRef)(!1),j=a(h),y=a(p),S=a(g),C=(0,n.useRef)(),A=(0,n.useCallback)(function(){x.current&&(x.current.disconnect(),_.current={})},[]),I=(0,n.useCallback)(function(e){e&&e!==C.current&&(A(),C.current=e),x.current&&C.current&&x.current.observe(C.current)},[A]),k=(0,n.useCallback)(function(){if(C.current){var e=C.current.getBoundingClientRect();_.current={x:e.x,y:e.y}}},[C]);return(0,n.useEffect)(function(){if(!("IntersectionObserver"in window)||!("IntersectionObserverEntry"in window))return console.error("\uD83D\uDCA1 react-cool-inview: the browser doesn't support Intersection Observer, please install polyfill: https://github.com/wellyshen/react-cool-inview#intersection-observer-polyfill"),function(){return null};var e=!0;return x.current=new IntersectionObserver(function(r){var t=r[0],n=t.intersectionRatio,a=t.isIntersecting,o=t.boundingClientRect,i=o.x,u=o.y,h=t.isVisible,p={},g=Array.isArray(c)?Math.min.apply(Math,c):c,m=void 0!==a?a:n>0;m=g>0?n>=g:m,i<_.current.x&&(p.horizontal="left"),i>_.current.x&&(p.horizontal="right"),_.current.x=i,u<_.current.y&&(p.vertical="up"),u>_.current.y&&(p.vertical="down"),_.current.y=u;var f={entry:t,scrollDirection:p,observe:I,unobserve:A};l&&(void 0!==h||w.current||(console.warn("\uD83D\uDCA1 react-cool-inview: the browser doesn't support Intersection Observer v2, fallback to v1 behavior"),w.current=!0),void 0!==h&&(m=h)),m&&!b.current&&(d&&A(),y.current&&y.current(f)),!m&&b.current&&S.current&&S.current(f),j.current&&j.current(s({},f,{inView:m})),e&&v({inView:m,scrollDirection:p,entry:t}),b.current=m},{root:t,rootMargin:o,threshold:c,trackVisibility:l,delay:u}),I(),function(){e=!1,A()}},[d,t,o,JSON.stringify(c),l,u,I,A]),s({},f,{observe:I,unobserve:A,updatePosition:k})}},78189:e=>{e.exports={input:"Input_input__IDKTn"}},79324:(e,r,t)=>{"use strict";t.d(r,{J:()=>l});var n=t(12694),s=t(14343),a=t(66461),o=t(21556),i=t(28876),c=t(59775),l=function(e){var r=(0,i.W)().state,t=(0,c.EU)(r.segmentMap),l=e.activate,u=void 0===l?["tap","view"]:l,d=e.children,h=e.moduleId,p=e.categoryId,g=e.orderId,m=(0,n._)(s.useState(!1),2),f=m[0],v=m[1],b=(0,a.W)({threshold:.5}),_=b.observe,x=b.inView,w={moduleId:h,categoryId:p,orderId:g};if(!d)return null;x&&!f&&(v(!0),(0,o.l)("in_view",t,w));var j=d;return u.includes("tap")&&(j=s.cloneElement(j,{onClick:function(e){var r=s.Children.only(d).props.onClick;r&&r(e),(0,o.l)("tap",t,w)}})),u.includes("view")&&(j=s.cloneElement(j,{ref:_})),j}},79393:(e,r,t)=>{"use strict";t.d(r,{J:()=>s});var n=t(2626),s=function(e){return n.Sn.post("/p/addressByPostalCode/",{postalCode:e})}},79744:(e,r,t)=>{"use strict";t.d(r,{p:()=>c});var n=t(15383),s=t(7604),a=t.n(s),o=t(94111),i=t(43028),c=function(e){var r=e.title,t=e.description,s=e.ogpPath,c=e.noIndex,l=(0,o.useRouter)().asPath.split("?")[0].split("#")[0],u="/"!==l.slice(-1)?"".concat(l,"/"):l,d="https://deli-picks.com",h="".concat(d).concat(l),p=i.F.service,g="".concat(d).concat(void 0===s?"/ogp.png":s);return(0,n.jsxs)(a(),{children:[(0,n.jsx)("title",{children:r}),(0,n.jsx)("meta",{content:t,name:"description"}),(0,n.jsx)("meta",{name:"google-site-verification",content:"_gtF3FuLI7WOlpZL1FzTfvmfsEYCz8flOminPMv7Y_M"}),(0,n.jsx)("meta",{property:"og:description",content:t}),(0,n.jsx)("meta",{property:"og:type",content:"website"}),(0,n.jsx)("meta",{property:"og:url",content:h}),(0,n.jsx)("meta",{property:"og:image",content:g}),(0,n.jsx)("meta",{property:"og:site_name",content:p}),(0,n.jsx)("meta",{name:"twitter:title",content:r}),(0,n.jsx)("meta",{name:"twitter:description",content:t}),(0,n.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,n.jsx)("meta",{name:"twitter:site",content:"@chefbox_jp"}),(0,n.jsx)("meta",{name:"twitter:image",content:g}),(0,n.jsx)("meta",{name:"twitter:url",content:h}),void 0!==c&&c&&(0,n.jsx)("meta",{name:"robots",content:"noindex"}),(0,n.jsx)("link",{rel:"canonical",href:"".concat(d).concat(u)})]})}},81584:(e,r,t)=>{"use strict";t.d(r,{p:()=>l});var n=t(17844),s=t(93629),a=t(17459),o=t(15383),i=t(78189),c=t.n(i),l=function(e){var r=e.hasError,t=(0,a._)(e,["hasError"]);return(0,o.jsx)("input",(0,s._)((0,n._)({className:c().input},t),{"data-error":void 0!==r&&r}))}},94848:(e,r,t)=>{"use strict";t.d(r,{D:()=>N});var n=t(29935),s=t(12694),a=t(82643),o=t(15383),i=t(14343),c=t(79393),l=t(41041),u=t(54796),d=t(81584),h=t(79324),p=t(63603),g=t(17844),m=t(93629),f=function(e){return(0,o.jsxs)("svg",(0,m._)((0,g._)({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{children:[(0,o.jsx)("path",{d:"M10.875 18.75C15.2242 18.75 18.75 15.2242 18.75 10.875C18.75 6.52576 15.2242 3 10.875 3C6.52576 3 3 6.52576 3 10.875C3 15.2242 6.52576 18.75 10.875 18.75Z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M16.4434 16.4438L20.9996 21.0001",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}))},v=function(e){return(0,o.jsx)("svg",(0,m._)((0,g._)({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{children:(0,o.jsx)("path",{d:"M20 8H17V4H3C1.9 4 1 4.9 1 6V17H3C3 18.66 4.34 20 6 20C7.66 20 9 18.66 9 17H15C1
15 18.66 16.34 20 18 20C19.66 20 21 18.66 21 17H23V12L20 8ZM6 18.5C5.17 18.5 4.5 17.83 4.5 17C4.5 16.17 5.17 15.5 6 15.5C6.83 15.5 7.5 16.17 7.5 17C7.5 17.83 6.83 18.5 6 18.5ZM19.5 9.5L21.46 12H17V9.5H19.5ZM18 18.5C17.17 18.5 16.5 17.83 16.5 17C16.5 16.17 17.17 15.5 18 15.5C18.83 15.5 19.5 16.17 19.5 17C19.5 17.83 18.83 18.5 18 18.5Z",fill:"currentColor"})}))},b="https://places.googleapis.com/v1/places",_=["street_address","postal_code","premise","sublocality","subpremise"],x=function(e,r){var t="",n="",s="",a="",o="",i="",c="",l="";e.forEach(function(e){switch(e.types[0]){case"postal_code":t=e.longText.replace("-","");break;case"administrative_area_level_1":n=e.longText;break;case"locality":s=e.longText;break;case"sublocality_level_1":a=e.longText;break;case"sublocality_level_2":o=e.longText;break;case"sublocality_level_3":i=e.longText;break;case"sublocality_level_4":c=e.longText;break;case"premise":l=e.longText}});var d="".concat(n).concat(s).concat(a).concat(o).concat(i),h=j(l,r,n,s,a,o,i,c),p=""!==l&&l===r&&""!==h,g=(0,u.Au)(p?c:[c,l].filter(Boolean).join("-"));return{postalCode:t,addressLevel:d,addressLine:g,buildingName:h}},w=function(e){return!!e&&!!(e.startsWith("〒")||/^[0-90-9\-ー−-‐]+$/.test(e)||/^([0-90-9\-ー−-‐]*(番地|丁目|番|号))+[0-90-9\-ー−-‐]*$/.test(e))},j=function(e,r,t,n,s,a,o,i){if(w(r))return"";if(e&&e===r)return e;var c=[t,n,s,a,o,i].filter(Boolean).some(function(e){if(!r.startsWith(e))return!1;var t=r.slice(e.length);return""===t||w(t)});return r&&!c?r:""},y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.onSelect,t=(0,s._)((0,i.useState)(""),2),o=t[0],c=t[1],d=(0,s._)((0,i.useState)([]),2),h=d[0],p=d[1],g=(0,s._)((0,i.useState)(!1),2),m=g[0],f=g[1],v=(0,s._)((0,i.useState)(!1),2),w=v[0],j=v[1],y=(0,s._)((0,i.useState)(!1),2),S=y[0],C=y[1],A=(0,s._)((0,i.useState)(!1),2),I=A[0],k=A[1],N=(0,s._)((0,i.useState)(-1),2),T=N[0],E=N[1],O=(0,i.useRef)(null),L=(0,i.useRef)(null);(0,i.useEffect)(function(){var e=function(e){L.current&&!L.current.contains(e.target)&&j(!1)};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}},[]),(0,i.useEffect)(function(){return function(){O.current&&clearTimeout(O.current)}},[]);var P=(0,i.useCallback)(function(e){return(0,n._)(function(){var r;return(0,a.YH)(this,function(t){switch(t.label){case 0:if(!e||e.length<2)return p([]),C(!1),[2];f(!0),C(!1),k(!1),t.label=1;case 1:return t.trys.push([1,3,4,5]),[4,(0,n._)(function(){var r;return(0,a.YH)(this,function(t){switch(t.label){case 0:return[4,fetch("".concat(b,":autocomplete"),{method:"POST",headers:{"Content-Type":"application/json","X-Goog-Api-Key":"AIzaSyDxcIagbqrt13hic9QrhvnfxbLrWiCtOPE"},body:JSON.stringify({input:e,languageCode:"ja",includedRegionCodes:["jp"],includedPrimaryTypes:_})})];case 1:if(!(r=t.sent()).ok)throw Error("Places Autocomplete API error: ".concat(r.status));return[2,r.json()]}})})()];case 2:return p((t.sent().suggestions||[]).filter(function(e){return!!e.placePrediction}).map(function(e){var r,t,n,s,a;return{placeId:e.placePrediction.placeId,fullText:(0,u.Au)((null==(r=e.placePrediction.text)?void 0:r.text)||""),mainText:(0,u.Au)((null==(n=e.placePrediction.structuredFormat)||null==(t=n.mainText)?void 0:t.text)||""),secondaryText:(0,u.Au)((null==(a=e.placePrediction.structuredFormat)||null==(s=a.secondaryText)?void 0:s.text)||"")}})),j(!0),[3,5];case 3:return r=t.sent(),l.A.error(r),k(!0),[3,5];case 4:return f(!1),C(!0),[7];case 5:return[2]}})})()},[]),R=(0,i.useCallback)(function(e){var r=e.target.value;c(r),E(-1),O.current&&clearTimeout(O.current),O.current=setTimeout(function(){P(r)},300)},[P]),F=(0,i.useCallback)(function(e){return(0,n._)(function(){var t,s,o,i;return(0,a.YH)(this,function(u){switch(u.label){case 0:j(!1),E(-1),c(e.mainText),u.label=1;case 1:var d;return u.trys.push([1,3,,4]),[4,(d=e.placeId,(0,n._)(function(){var e;return(0,a.YH)(this,function(r){switch(r.label){case 0:return[4,fetch("".concat(b,"/").concat(d,"?languageCode=ja"),{headers:{"X-Goog-Api-Key":"AIzaSyDxcIagbqrt13hic9QrhvnfxbLrWiCtOPE","X-Goog-FieldMask":"id,displayName,formattedAddress,addressComponents"}})];case 1:if(!(e=r.sent()).ok)throw Error("Place Details API error: ".concat(e.status));return[2,e.json()]}})})())];case 2:return o=x((s=u.sent()).addressComponents||[],(null==(t=s.displayName)?void 0:t.text)||""),null==r||r(o),[3,4];case 3:return i=u.sent(),l.A.error(i),[3,4];case 4:return[2]}})})()},[r]),M=(0,i.useCallback)(function(e){if(w&&0!==h.length)switch(e.key){case"ArrowDown":e.preventDefault(),E(function(e){return e<h.length-1?e+1:e});break;case"ArrowUp":e.preventDefault(),E(function(e){return e>0?e-1:-1});break;case"Enter":e.preventDefault(),T>=0&&F(h[T]);break;case"Escape":j(!1),E(-1)}},[w,h,T,F]),D=(0,i.useCallback)(function(){h.length>0&&j(!0)},[h.length]);return{smartSearchQuery:o,suggestions:h,isSearching:m,showSuggestions:w,hasSearched:S,searchError:I,selectedIndex:T,wrapperRef:L,listboxId:"smart-search-listbox",handleSmartSearchChange:R,handleKeyDown:M,handleSelectSuggestion:F,handleFocus:D}},S=t(41396),C=t.n(S),A=function(e){var r,t=y({onSelect:e.onSelect}),n=t.smartSearchQuery,s=t.suggestions,a=t.isSearching,i=t.showSuggestions,c=t.hasSearched,l=t.searchError,u=t.selectedIndex,d=t.wrapperRef,h=t.listboxId,g=t.handleSmartSearchChange,m=t.handleKeyDown,b=t.handleSelectSuggestion,_=t.handleFocus;return(0,o.jsxs)("div",{className:C().container,children:[(0,o.jsx)("label",{id:"smart-search-label",className:C().label,children:"スマートæ¤
1œç´¢ã§ä½æ‰€ã‚’簡単入力"}),(0,o.jsxs)("div",{className:C().wrapper,ref:d,children:[(0,o.jsxs)("div",{className:C().inputWrapper,children:[(0,o.jsx)(f,{className:C().icon,"aria-hidden":"true"}),(0,o.jsx)("input",{type:"text",role:"combobox","aria-labelledby":"smart-search-label","aria-expanded":i&&s.length>0,"aria-controls":h,"aria-activedescendant":u>=0?"suggestion-".concat(null==(r=s[u])?void 0:r.placeId):void 0,"aria-autocomplete":"list",className:C().input,value:n,onChange:g,onKeyDown:m,onFocus:_,placeholder:"郵便番号、住所、または建物名を入力"})]}),a&&(0,o.jsxs)("div",{className:C().searchingIndicator,role:"status","aria-live":"polite",children:[(0,o.jsx)("span",{className:C().searchingSpinner,"aria-hidden":"true"}),"検索中..."]}),i&&s.length>0&&(0,o.jsx)("ul",{id:h,"aria-label":"住所候補",className:C().suggestionList,children:s.map(function(e,r){return(0,o.jsxs)("li",{id:"suggestion-".concat(e.placeId),"aria-selected":r===u,className:"".concat(C().suggestionItem," ").concat(r===u?C().suggestionItemSelected:""),onClick:function(){return b(e)},children:[(0,o.jsx)(v,{className:C().suggestionIcon,"aria-hidden":"true"}),(0,o.jsxs)("span",{className:C().suggestionText,children:[e.mainText,(0,o.jsx)("span",{className:C().suggestionAddress,children:e.mainText.startsWith("〒")?" ".concat(e.secondaryText.replace(/^日本[、,\s]*/,"")):" (".concat(e.secondaryText.replace(/^日本[、,\s]*/,""),")")})]})]},e.placeId)})}),i&&c&&!a&&0===s.length&&(0,o.jsxs)("div",{className:C().noResults,children:[(0,o.jsx)(p.$,{variant:"filled",className:C().noResultsIcon}),(0,o.jsx)("span",{children:l?"検索中にエラーが発生しました":"該当する住所は見つかりませんでした"})]})]})]})},I=t(35648),k=t.n(I),N=function(e){var r=e.name,t=e.setName,p=e.nameKana,g=e.setNameKana,m=e.postalCode,f=e.handlePostalCodeChange,v=e.addressLevel,b=e.handleAddressLevelChange,_=e.addressLine,x=e.handleAddressLineChange,w=e.roomNumber,j=e.setRoomNumber,y=e.phoneNumber,S=e.setPhoneNumber,C=e.onValidityChange,I=(0,s._)(i.useState(""),2),N=I[0],T=I[1],E=(0,s._)(i.useState(""),2),O=E[0],L=E[1],P=(0,s._)(i.useState(!1),2),R=P[0],F=P[1],M=R||""===y||(0,u.OK)(y)?"":u.O0,D=i.useRef(C);D.current=C;var V=!N&&!O&&(""===y||(0,u.OK)(y));return i.useEffect(function(){var e;null==(e=D.current)||e.call(D,V)},[V]),(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{className:k().group,children:[(0,o.jsxs)("label",{className:k().label,children:["氏名",(0,o.jsx)("span",{className:k().required,children:"【必須】"})]}),(0,o.jsx)(d.p,{value:r,required:!0,onChange:function(e){return t(e.target.value)},placeholder:"山田太郎"})]}),(0,o.jsxs)("div",{className:k().group,children:[(0,o.jsxs)("label",{className:k().label,children:["フリガナ(全角)",(0,o.jsx)("span",{className:k().required,children:"【必須】"})]}),(0,o.jsx)(d.p,{pattern:"^[ぁ-んァ-ヴー]+$",value:p,required:!0,onChange:function(e){e.target.validity.patternMismatch?T("全角フリガナで記入してください"):T(""),g(e.target.value)},hasError:""!==N,placeholder:"ヤマダタロウ"}),N&&(0,o.jsx)("div",{className:k().error,children:N})]}),(0,o.jsx)("div",{className:k().group,children:(0,o.jsx)(A,{onSelect:function(e){f(e.postalCode),b(e.addressLevel),x(e.addressLine),j(e.buildingName),L("")}})}),(0,o.jsx)("div",{className:k().addressSectionTitle,children:"お届け先の住所"}),(0,o.jsxs)("div",{className:k().addressGroup,children:[(0,o.jsxs)("div",{className:k().group,children:[(0,o.jsxs)("label",{className:k().label,children:["郵便番号(ハイフン不要)",(0,o.jsx)("span",{className:k().required,children:"【必須】"})]}),(0,o.jsx)(d.p,{pattern:"^\\d{7}$",autoComplete:"postal-code",required:!0,onChange:function(e){return(0,n._)(function(){var r,t,n,s,o,i;return(0,a.YH)(this,function(a){switch(a.label){case 0:if(f(r=(0,u.Au)(e.target.value)),L(""),!r)return[2];if(!(0,u.b8)(r))return L("郵便番号が不正です"),[2];a.label=1;case 1:return a.trys.push([1,3,,4]),[4,(0,c.J)(r)];case 2:if(n=(t=a.sent().data).message,s=t.results,null!==n&&""!==n)return L(n),[2];if(null===s)return L("該当する郵便番号が見つかりません"),[2];return o=s[0],b("".concat(o.address1).concat(o.address2).concat(o.address3)),L(""),[3,4];case 3:return i=a.sent(),l.A.error(i),L("通信に失敗しました。時間をおいて再度お試しください"),[3,4];case 4:return[2]}})})()},value:m,hasError:""!==O,placeholder:"1234567"}),O&&(0,o.jsx)(h.J,{moduleId:"address-error",categoryId:m,children:(0,o.jsx)("div",{className:k().error,children:O})})]}),(0,o.jsxs)("div",{className:k().group,children:[(0,o.jsxs)("label",{className:k().label,children:["都道府県・市区町村",(0,o.jsx)("span",{className:k().required,
1children:"【必須】"})]}),(0,o.jsx)(d.p,{value:v,required:!0,onChange:function(e){return b(e.target.value)},placeholder:"東京都渋谷区渋谷"})]}),(0,o.jsxs)("div",{className:k().group,children:[(0,o.jsxs)("label",{className:k().label,children:["番地",(0,o.jsx)("span",{className:k().required,children:"【必須】"})]}),(0,o.jsx)(d.p,{value:_,required:!0,onChange:function(e){return x(e.target.value)},placeholder:"1-2-3"})]}),(0,o.jsxs)("div",{className:k().group,children:[(0,o.jsxs)("label",{className:k().label,children:["建物名・部屋番号"," ",(0,o.jsx)("span",{className:k().labelCaution,children:"※部屋番号をお忘れなく"})]}),(0,o.jsx)(d.p,{value:w,onChange:function(e){return j(e.target.value)},placeholder:"DELIPICKSビル 101"})]})]}),(0,o.jsxs)("div",{className:k().group,children:[(0,o.jsxs)("label",{className:k().label,children:["電話番号",(0,o.jsx)("span",{className:k().required,children:"【必須】"}),(0,o.jsxs)("span",{className:k().labelCaption,children:[" ","お届けの際に使用いたします。"]})]}),(0,o.jsx)(d.p,{autoComplete:"tel",type:"tel",value:y,required:!0,onChange:function(e){S((0,u.h2)(e.target.value))},onFocus:function(){return F(!0)},onBlur:function(){return F(!1)},hasError:""!==M,placeholder:"08012345678"}),M&&(0,o.jsx)("div",{className:k().error,children:M})]})]})}},99916:(e,r,t)=>{"use strict";t.d(r,{E:()=>i});var n=t(12694),s=t(74466),a=t(26650),o=(0,s.eU)({name:"",nameKana:"",postalCode:"",addressLevel:"",addressLine:"",roomNumber:"",phoneNumber:""}),i=function(){var e=(0,n._)((0,a.fp)(o),2);return{addressData:e[0],setAddressData:e[1]}}}}]);

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.