PageSourceSearch

https://deli-picks.com/_next/static/chunks/pages/signup/personalize-loading-03f4e98896ecfb09.js

js deli-picks.com collected 2026-09-26 02:57:11 UTC 12,329 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:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9b7a9c0a-e834-4c68-9f3d-cd846d0832e2",e._sentryDebugIdIdentifier="sentry-dbid-9b7a9c0a-e834-4c68-9f3d-cd846d0832e2")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5152,9324],{5286:(e,n,r)=>{"use strict";r.d(n,{ly:()=>p,Nm:()=>u,OS:()=>s,AF:()=>d});var t=r(21556),i=r(15727),a=r(32938),o=r(34145),c=(0,r(30254).A)(),s=function(e,n){var r,t="".concat(location.pathname).concat(location.search),i=a.j2.currentUser,c=Object.assign({userId:null!=(r=null==i?void 0:i.uid)?r:"",browserId:(0,o.U3)(),createdAt:new Date().toISOString(),action:e,page:encodeURIComponent(t)},n),s=Object.keys(c).filter(function(e){return!!e}).map(function(e){return"".concat(e,"=").concat(c[e])}).join("&");fetch("".concat("https://storage.googleapis.com/tkshk-prod.appspot.com/beacon/spacer.gif","?").concat(s),{mode:"no-cors"}).catch(function(){})},u=function(e){if(window.dataLayer){var n=e.email,r=e.postalCode,t=e.phoneNumber,i=e.isSubscription,a=e.price,o=e.registerId;window.dataLayer.push({event:"cv",cv:i?"subscription":"spot",email_address:n,postal_code:r,phone_number:t,country:"JP",currency:"JPY",amount:a,registerId:o})}},l=function(){window.fbq&&window.fbq("track","PageView")},d=function(e){s("view"),(0,t.l)("view",e),l(),window.dataLayer.push({event:"pageview",path:"".concat(location.pathname).concat(location.search)})},p=function(e){var n=e.action,r=e.experiments,t=e.userId,a=e.params,s=(0,o.U3)(),u=location.pathname,l=Object.fromEntries(new URLSearchParams(location.search)),d=Object.keys(i.V).find(function(e){return i.V[e]===u});return{action:n,path:u,query:JSON.stringify(l),page_id:d,user_id:t,browse_id:s,session_id:c,experiments:JSON.stringify(r),params:a&&JSON.stringify(a)}}},21556:(e,n,r)=>{"use strict";r.d(n,{l:()=>u});var t=r(29935),i=r(82643),a=r(32938),o=r(2626),c=r(41041),s=r(5286),u=function(e,n,r){return(0,t._)(function(){var t,u,l;return(0,i.YH)(this,function(i){switch(i.label){case 0:return[4,a.kG];case 1:return i.sent(),l=(0,s.ly)({action:e,experiments:n,userId:null!=(t=null==(u=a.j2.currentUser)?void 0:u.uid)?t:"",params:r}),c.A.debug(l),o.Sn.get("/p/log",{params:l}).catch(function(e){return c.A.debug(e)}),[2]}})})()}},28869:(e,n,r)=>{"use strict";r.r(n),r.d(n,{__N_SSG:()=>I,default:()=>w});var t=r(15383),i=r(79744),a=r(12694),o=r(86105),c=r(94111),s=r(14343),u=r(78717),l=r(79324),d=r(66602),p=r(48782);let f=r.p+"static/media/loading.e5dc96ae.mp4";var g=r(73659),v=r.n(g),h={1:"LITTLE_SPICY",2:"SPICY"},_={1:"ETHNIC",2:"ETHNIC"},y={UnusualMenu:"SPECIAL",DeliciousMenu:"DELICIOUS",ChefRecommendedMenu:"CHEF_RECOMMEND",HealthyMenu:"BALANCED",DietMenu:"DIET"},b={VegetableIntake:"VEGETABLE",Proteins:"HIGH_PROTEIN",Lipids:"LOW_FAT",Calories:"LOW_CALORIE",Carbohydrates:"LOW_SUGAR",Sodium:"LOW_SODIUM"},m=function(){var e,n=(0,c.useRouter)(),r=(0,d.W)().personalizeData,i=(0,u.bH)(r).data,g=(0,u.Yn)().data,m=(0,u.cU)(null!=(e=null==i?void 0:i.initialBoxList)?e:[]).data,S=s.useRef(!1),I=s.useRef(!1),w=s.useRef(0),x=(0,a._)(s.useState([]),2),E=x[0],L=x[1],N=s.useMemo(function(){return function(e){var n=[],r=null==(c=e.TASTE_SPICY)?void 0:c[0];r&&h[r]&&n.push(h[r]);var t=null==(s=e.TASTE_ETHNIC)?void 0:s[0];t&&_[t]&&n.push(_[t]);var i=!0,a=!1,o=void 0;try{for(var c,s,u,l=(e.DESIRED_MENU||[])[Symbol.iterator]();!(i=(u=l.next()).done);i=!0){var d=u.value;y[d]&&n.push(y[d])}}catch(e){a=!0,o=e}finally{try{i||null==l.return||l.return()}finally{if(a)throw o}}var p=!0,f=!1,g=void 0;try{for(var v,m=(e.NUTRIENTS_TO_CARE_FOR||[])[Symbol.iterator]();!(p=(v=m.next()).done);p=!0){var S=v.value;b[S]&&n.push(b[S])}}catch(e){f=!0,g=e}finally{try{p||null==m.return||m.return()}finally{if(f)throw g}}return n.filter(function(e,r){return n.indexOf(e)===r})}(r)},[r]),C=s.useCallback(function(){S.current&&I.current&&n.push("/signup/personalize-complete")},[n]);s.useEffect(function(){i&&g&&m&&(S.current=!0,C())},[i,g,m,C]);var O=s.useCallback(function(){I.current=!0,C()},[C]);s.useEffect(function(){if(0!==N.length){var e=performance.now(),n=2*Math.PI/N.length,r=function(t){var i=t-e,a=i/1e3*.4;L(N.map(function(e,r){var t,o,c=a+r*n,s=130*Math.cos(c),u=160*Math.sin(c),l=4*Math.sin(i/2500+r),d=i-500*r,p=d>0?d%6e3/6e3:0;if(p<.12){var f=p/.12,g=1-(1-f)*(1-f)*(1-f);t=g,o=.7+.3*g}else if(p<.72)t=1,o=1;else if(p<.88){var v=(p-.72)/.16,h=v*v;t=1-h,o=1-.08*h}else t=0,o=.92;return{x:s,y:u+l,opacity:t,scale:o}})),w.current=requestAnimationFrame(r)};return w.current=requestAnimationFrame(r),function(){return cancelAnimationFrame(w.current)}}},[N]);var P=(0,o._)(r.INGREDIENTS_VEGETABLE||[]).concat((0,o._)(r.INGREDIENTS_FISH||[]),(0,o._)(r.INGREDIENTS_MEAT||[]));return(0,t.jsxs)("div",{className:v().container,children:[(0,t.jsx)(l.J,{moduleId:"question_loading",categoryId:JSON.stringify(r),children:(0,t.jsx)("div",{})}),(0,t.jsxs)("div",{className:v().imageArea,children:[(0,t.jsx)("video",{className:v().bgVideo,src:f,autoPlay:!0,muted:!0,playsInl
1ine:!0,onEnded:O}),(0,t.jsx)("div",{className:v().imageFade}),(0,t.jsx)("div",{className:v().spoonAnchor,children:(0,t.jsx)("div",{className:v().spoonSpinner,children:(0,t.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 36 36",fill:"none",children:[(0,t.jsx)("ellipse",{cx:"18",cy:"10",rx:"6",ry:"8",fill:"#C4922A"}),(0,t.jsx)("rect",{x:"16",y:"16",width:"4",height:"16",rx:"2",fill:"#C4922A"})]})})}),(0,t.jsx)("div",{className:v().tagsLayer,children:N.map(function(e,n){return(0,t.jsx)("div",{className:v().tagWrap,style:E[n]?{opacity:E[n].opacity,transform:"translate(calc(-50% + ".concat(E[n].x,"px), ").concat(E[n].y,"px) scale(").concat(E[n].scale,")")}:{opacity:0},children:(0,t.jsx)(p.bK,{id:e})},"".concat(e,"-").concat(n))})})]}),(0,t.jsxs)("div",{className:v().bottomContent,children:[(0,t.jsxs)("p",{className:v().loadingText,children:["お料理を選んでいます",(0,t.jsx)("span",{className:v().dots})]}),P.length>0&&(0,t.jsxs)("div",{className:v().excludeSection,children:[(0,t.jsx)("p",{className:v().excludeLabel,children:"以下を除く"}),(0,t.jsx)("div",{className:v().excludeChips,children:P.map(function(e){return(0,t.jsx)(p.Lo,{name:e},e)})})]})]})]})},S=r(51120),I=!0;function w(){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.p,{title:"サインアップ | ".concat(S.O),description:"DELIPICKSサブスクリプション(旧:シェフボックス)のサインアップ画面です。初めてサービスをご利用の方はこちら。DELIPICKSサブスクリプション(旧:シェフボックス)でレンジでチンするだけの健康的でおいしい食生活を始めてみませんか?"}),(0,t.jsx)(m,{})]})}},66461:(e,n,r)=>{"use strict";r.d(n,{W:()=>o});var t=r(14343);function i(){return(i=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t])}return e}).apply(this,arguments)}var a=function(e){var n=(0,t.useRef)(e);return n.current=e,n},o=function(e){var n=void 0===e?{}:e,r=n.root,o=n.rootMargin,c=n.threshold,s=void 0===c?0:c,u=n.trackVisibility,l=n.delay,d=n.unobserveOnEnter,p=n.onChange,f=n.onEnter,g=n.onLeave,v=(0,t.useState)({inView:!1,scrollDirection:{}}),h=v[0],_=v[1],y=(0,t.useRef)(!1),b=(0,t.useRef)({}),m=(0,t.useRef)(),S=(0,t.useRef)(!1),I=a(p),w=a(f),x=a(g),E=(0,t.useRef)(),L=(0,t.useCallback)(function(){m.current&&(m.current.disconnect(),b.current={})},[]),N=(0,t.useCallback)(function(e){e&&e!==E.current&&(L(),E.current=e),m.current&&E.current&&m.current.observe(E.current)},[L]),C=(0,t.useCallback)(function(){if(E.current){var e=E.current.getBoundingClientRect();b.current={x:e.x,y:e.y}}},[E]);return(0,t.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 m.current=new IntersectionObserver(function(n){var r=n[0],t=r.intersectionRatio,a=r.isIntersecting,o=r.boundingClientRect,c=o.x,l=o.y,p=r.isVisible,f={},g=Array.isArray(s)?Math.min.apply(Math,s):s,v=void 0!==a?a:t>0;v=g>0?t>=g:v,c<b.current.x&&(f.horizontal="left"),c>b.current.x&&(f.horizontal="right"),b.current.x=c,l<b.current.y&&(f.vertical="up"),l>b.current.y&&(f.vertical="down"),b.current.y=l;var h={entry:r,scrollDirection:f,observe:N,unobserve:L};u&&(void 0!==p||S.current||(console.warn("\uD83D\uDCA1 react-cool-inview: the browser doesn't support Intersection Observer v2, fallback to v1 behavior"),S.current=!0),void 0!==p&&(v=p)),v&&!y.current&&(d&&L(),w.current&&w.current(h)),!v&&y.current&&x.current&&x.current(h),I.current&&I.current(i({},h,{inView:v})),e&&_({inView:v,scrollDirection:f,entry:r}),y.current=v},{root:r,rootMargin:o,threshold:s,trackVisibility:u,delay:l}),N(),function(){e=!1,L()}},[d,r,o,JSON.stringify(s),u,l,N,L]),i({},h,{observe:N,unobserve:L,updatePosition:C})}},73659:e=>{e.exports={container:"SignupPersonalizeLoading_container__L43_9",imageArea:"SignupPersonalizeLoading_imageArea__BEv61",bgVideo:"SignupPersonalizeLoading_bgVideo__sAQpU",imageFade:"SignupPersonalizeLoading_imageFade__wLyXg",tagsLayer:"SignupPersonalizeLoading_tagsLayer__pJaJH",tagWrap:"SignupPersonalizeLoading_tagWrap__dtxMK",bottomContent:"SignupPersonalizeLoading_bottomContent__XRNVM",spoonAnchor:"SignupPersonalizeLoading_spoonAnchor__sCceR",spoonSpinner:"SignupPersonalizeLoading_spoonSpinner__NLRUX",spoonSpin:"SignupPersonalizeLoading_spoonSpin__xU4Js",loadingText:"SignupPersonalizeLoading_loadingText__H4BKj",dots:"SignupPersonalizeLoading_dots__kdyEr",dotAnimation:"SignupPersonalizeLoading_dotAnimation__TrB1j",excludeSection:"SignupPersonalizeLoading_excludeSection__caEUU",excludeLabel:"SignupPersonalizeLoading_excludeLabel__Jt7UZ",excludeChips:"SignupPersonalizeLoading_excludeChips__2YYfj"}},78717:(e,n,r)=>{"use strict";r.d(n,{cc:()=>g,rN:()=>p,Yn:()=>f,bH:()=>s,cU:()=>d,UG:()=>u,TU:()=>l});var t=r(29935),i=r(82643),a=r(40334),o=function(e){return e.flatMap(function(e){return Array(e.count).fill(e.id)})},c=r(2626),s=function(e){var n=new URLSearchParams;return n.append("personalize",JSON.stringify(e)),(0,a.Ay)("/p/v2/selectableStock?".concat(n.toString()),c.GO)},u=function(e){var n=!!e,r=new URLSearchParams;return r.append("userMenuId",e),(0,a.Ay)(n?"/v2/selectableStock?".concat(r.toString()):null,c.GO,{})},l=function(e,n,r){var t=new URLSearchParams,i=o(e);return t.append("boxIdList",i.length>0?i.join(","):"[]"),null!=n&&t.append("weekId",String(n)),r&&t.append("userMenuId",r),(0,a.Ay)("/selectableStockPrice?".concat(t.toString()),c.GO)},d=function(e,n,r,t){var i=new URLSearchParams;n&&i.append("address",n),r&&i.append("useMiraiPay",r.toString()),t&&i.append("couponCode",t);var s=o(e);return i.append("boxIdList",s.length>0?s.join(","):"[]"),(0,a.Ay)("/p/selectableStockPrice?".concat(i.toString()),c.GO)},p=function(){return(0,a.Ay)("/buyInBulkDiscountCondition",c.GO)},f=function(){return(0,a.Ay)("/p/buyInBulkDiscountCondition",c.GO)},g=function(e,n){return(0,t._)(function(){var r;return(0,i.YH)(this,function(t){switch(t.label){case 0:return r=o(n).join(","),[4,c.Sn.post("/v2/changeUserMenuSets",{userMenuId:e,newSetIds:r})];case 1:return[2,t.sent()]}})})()}},79324:(e,n,r)=>{"use strict";r.d(n,{J:()=>u});var t=r(12694),i=r(14343),a=r(66461),o=r(21556),c=r(28876),s=r(59775),u=function(e){var n=(0,c.W)().state,r=(0,s.EU)(n.segmentMap),u=e.activate,l=void 0===u?["tap","view"]:u,d=e.children,p=e.moduleId,f=e.categoryId,g=e.orderId,v=(0,t._)(i.useState(!1),2),h=v[0],_=v[1],y=(0,a.W)({threshold:.5}),b=y.observe,m=y.inView,S={moduleId:p,categoryId:f,orderId:g};if(!d)return null;m&&!h&&(_(!0),(0,o.l)("in_view",r,S));var I=d;return l.includes("tap")&&(I=i.cloneElement(I,{onClick:function(e){var n=i.Children.only(d).props.onClick;n&&n(e),(0,o.l)("tap",r,S)}}
1)),l.includes("view")&&(I=i.cloneElement(I,{ref:b})),I}},98620:(e,n,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/signup/personalize-loading",function(){return r(28869)}])}},e=>{e.O(0,[1907,7060,8825,6117,5568,636,6593,8792],()=>e(e.s=98620)),_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.