PageSourceSearch

https://www.hellofresh.it/_next/static/chunks/login-app-install.0a7ea868f562f007.js

js hellofresh.it collected 2026-09-25 15:24:57 UTC 7,007 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[59817],{524996:function(e,t,n){n.r(t),n.d(t,{default:function(){return w}});var r=n(687800),a=n(827378),i=n(581340),l=n(164528),o=n(277425),p=n(318066),s=n(140224),c=n(768587),d=n(200770),u={title:"funnel.app-install-login.general-app.title",description:"funnel.app-install-login.general-app.description"},g={appStoreLink:"https://app.adjust.com/y7iuisy",playStoreLink:"https://app.adjust.com/zh4gthk"},f={appStoreLink:"https://app.adjust.com/7kiwd4y",playStoreLink:"https://app.adjust.com/dzhl2db"},b="https://app.adjust.com/kym16hl?deep_link=hellofresh%3A%2F%2F&campaign=JP_HF_PRO_AppSt_0_Login_0729",y=n(919245),h=n(26730),m=function(e,t){var n=!1;return"former"===e&&t!==h.Z.US&&(n=!0),n},S=function(e,t){var n=t.label;e({name:"gaEventTrigger",event_name:"Navigation_AppInstallMessagingDisplay",brand:"HelloFresh",tribe:"Conversions Journey",displayed_device:n,screen:"Login Screen",gaEventCategory:"login",gaEventAction:"appInstallMessagingDisplay",gaEventLabel:n,gaEventNonInteraction:!0})},v=function(e,t){var n=t.label,r=t.store;e({name:"gaEventTrigger",event_name:"iOS"===r?"Navigation_AppleAppInstallClick":"Navigation_GooglePlayAppInstallClick",brand:"HelloFresh",tribe:"Conversions Journey",screen:"Login",displayed_device:n,gaEventCategory:"login",gaEventAction:"iOS"===r?"appleAppInstallClick":"googlePlayAppInstallClick",gaEventLabel:n,gaEventNonInteraction:!1})},k=function(e){var t,n,a=e.id,i=e.label,l=e.onClick,s=e.storeBadge,d=e.storeLink,u=e.isMobile;return(0,r.tZ)(c.xu,(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({as:"a",role:"button","aria-label":i,href:d,onClick:l},u?null:{target:"_blank",rel:"noopener noreferrer"}),n=n={"data-test-id":"".concat(a,"-store-link"),minHeight:"2.8125rem",minWidth:"8.5rem",display:"inline-flex",alignItems:"center",justifyContent:"center",children:(0,r.tZ)(p.ZP,{width:"136",src:(0,o.Z)("https://img.hellofresh.com/hellofresh_website/".concat(s)),alt:a,height:"45"})},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t))};function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var O=function(e){var t,n=e.badges,i=e.labels,l=e.onClick,o=e.locale,p=function(e){if(Array.isArray(e))return e}(t=(0,a.useState)(!1))||function(e,t){var n,r,a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var i=[],l=!0,o=!1;try{for(a=a.call(e);!(l=(n=a.next()).done)&&(i.push(n.value),2!==i.length);l=!0);}catch(e){o=!0,r=e}finally{try{l||null==a.return||a.return()}finally{if(o)throw r}}return i}}(t,2)||function(e,t){if(e){if("string"==typeof e)return x(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return x(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),s=p[0],d=p[1],u=s&&navigator&&/iPad|iPhone|iPod/.test(navigator.userAgent)?"iOS":"Android",g="Android"===u,y={iOSStoreLink:"ja"===o?b:f.appStoreLink,androidStoreLink:"ja"===o?b:f.playStoreLink},h=y.iOSStoreLink,m=y.androidStoreLink;(0,a.useEffect)(function(){d(!0)},[]);var S=n.appStoreBadge,v=n.playStoreBadge,O=i.appStoreLabel,j=i.playStoreLabel;return(0,r.tZ)(c.xu,{display:s?["flex","none"]:"none",justifyContent:"center",pb:"md-1",children:(0,r.tZ)(k,{id:u,label:g?j:O,storeBadge:g?v:S,storeLink:g?m:h,onClick:l(u,!0),isMobile:!0})})},j=n(273593),L=n(887824),w=function(){var e=(0,l.ZP)("funnel"),t=e.translate,n=e.translateRaw,f=(0,s.O)().locale,h=(0,d.Z)(),x=(0,i.t)().query.aud,w=m(void 0===x?"":x,h),_=(0,L.Z)().push,Z=function(e){return"appInstallLoginScreen".concat(e?"Mobile":"")},C=f.split("-")[0]||"en",P={iOSStoreLink:"ja"===C?b:g.appStoreLink,androidStoreLink:"ja"===C?b:g.playStoreLink},A=P.iOSStoreLink,E=P.androidStoreLink,B={appStoreBadge:"us/cms/ER/badges/appstore-badge-".concat(C,".png"),playStoreBadge:"us/cms/ER/badges/playstore-badge-".concat(C,".png")},I=B.appStoreBadge,z=B.playStoreBadge,R=n("funnel.app-install-login.app-store.label"),D=n("funnel.app-install-login.play-store.label");(0,a.useEffect)(function(){var e=window.innerWidth<768,t=window.innerWidth>=1024;(e||t)&&S(_,{label:Z(e)})},[_]);var M=function(e,t){return function(){v(_,{label:Z(t),store:e})}},N=(0,o.Z)("https://media.hellofresh.com/w_161,q_auto,f_auto,dpr_2/hellofresh_website/us/cms/ER/app-install-login/app-start-screen.png");return(0,r.BX)(c.xu,{display:"flex",justifyContent:"center",px:["zero","xs"],"data-test-id":"app-install-wrapper",children:[(0,r.tZ)(c.xu,{display:"flex",justifyContent:"center",children:(0,r.tZ)(y.Z,{isModularLoginBannerVisible:w,renderBadge:function(){return!w&&(0,r.tZ)(O,{badges:{appStoreBadge:I,playStoreBadge:z},labels:{appStoreLabel:R,playStoreLabel:D},onClick:M,locale:C})}})}),(0,r.tZ)(c.xu,{alignItems:"center",backgroundImage:"url('https://cdn.hellofresh.com/us/cms/ER/app-install-login.png')",backgroundRepeat:"no-repeat",backgroundPosition:"right center",backgroundSize:"319px 366px",display:["none","none","flex"],ml:"xl-1",position:"relative",width:"700px",children:w?(0,r.tZ)(j.T,{}):(0,r.BX)(c.xu,{display:"flex",bg:"neutral.100",borderRadius:"border-radius-sm",boxShadow:"shadow-lg",maxWidth:"560px",height:"195px",zIndex:2,position:"relative",children:[(0,r.tZ)(c.xu,{margin:"sm-1",height:"233px",width:"161px",display:"flex",position:"relative",top:"-55px",children:N&&(0,r.tZ)(p.ZP,{"data-test-id":"app-install-push-image",alt:"",quality:"60",fill:!0,src:N})}),(0,r.BX)(c.xu,{display:"flex",maxWidth:"383px",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",p:"md-2",pl:"md-3",children:[(0,r.tZ)(c.xv,{as:"h3",margin:"zero","data-test-id":"app-install-push-title",m:"zero",mt:"xs",color:"neutral.800",children:t(u.title)}),(0,r.tZ)(c.xv,{"data-test-id":"app-install-push-description",type:"body-md-regular",mt:"xs",m:"zero",color:"neutral.800",children:t(u.description)}),(0,r.BX)(c.xu,{mt:"xs",display:"flex",gap:"sm-1",children:[(0,r.tZ)(k,{id:"iOS",label:R,onClick:M("iOS",!1),storeBadge:I,storeLink:A}),(0,r.tZ)(k,{id:"Android",label:D,onClick:M("Android",!1),storeBadge:z,storeLink:E})]})]})]})})]})}}}]);

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.