PageSourceSearch

https://www.burgerking.nl/static/js/9011.925d3f2e.chunk.js

js burgerking.nl collected 2026-10-02 06:21:08 UTC 8,250 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[9011],{4228:(t,e,n)=>{n.r(e),n.d(e,{AccountRequestInfo:()=>T});var i=n(58168),o=(n(59284),n(41657)),s=n(96290),a=n(84159),d=n(60776),c=n(59279),r=n(56770),l=n(63563),u=n(77696),g=n(57124),m=n(20147),f=n(53683),x=n(22638),h=n(67544),p=n(84662),q=n(68605).P;const C={messageColor:q.color.black,messageHeadingFontFamily:q.fontFamily.brand,messageHeadingFontWeight:q.fontWeight.normal,messageHeadingTextTransform:q.textTransform.headlines};var j=n(60712),A=n(68605).P;const I=m.Ay.div.withConfig({componentId:"sc-jrc8mn-0"})(["display:flex;flex-direction:column;align-items:center;margin:"," auto;width:90%;","{width:320px;}"],p.M.$spacing7,A.desktop),w=m.Ay.div.withConfig({componentId:"sc-jrc8mn-1"})(["margin-block-start:",";text-align:center;& p{display:inline;color:",";}& p:first-child{font-family:",";font-weight:",";text-transform:",";}","{width:332px;}"],p.M.$spacing7,C.messageColor,C.messageHeadingFontFamily,C.messageHeadingFontWeight,C.messageHeadingTextTransform,A.desktop),k=m.Ay.p.withConfig({componentId:"sc-jrc8mn-2"})(["color:",";"],(t=>t.theme.token("text-error"))),v=t=>{var e;let n=t.headerText,i=t.content,o=t.confirmButtonText,a=t.errorText,d=t.email,c=t.onConfirm,r=t.requestMyInfoResult;const l=(0,s.A)().formatMessage,u=l({id:"willSendYourRequestedInfoTo"},{email:d});return(0,j.jsxs)(h.g,{"data-testid":"account-request-info-account-request-info-AccountLayout",header:n,children:[(0,j.jsx)(x.j,{"data-testid":"account-request-info-account-request-info-SanityBlockRenderer",content:i}),(0,j.jsxs)(I,{"data-testid":"account-request-info-account-request-info-ButtonContainer",children:[(0,j.jsx)(f.rA,{"data-testid":"confirm-request-info-button",onClick:c,children:o}),(null==(e=r.data)?void 0:e.requestMyInfo)&&(0,j.jsxs)(w,{"data-testid":"confirmation-message",children:[(0,j.jsx)("p",{"data-testid":"account-request-info-account-request-info-p",children:l({id:"thankYou"})}),(0,j.jsx)("br",{"data-testid":"account-request-info-account-request-info-br"}),(0,j.jsx)("p",{"data-testid":"account-request-info-account-request-info-p-1",children:u})]}),r.error&&(0,j.jsx)(k,{"data-testid":"request-my-info-error-message",children:a})]})]})};var b=n(77119),y=n(38285);const T=()=>{var t,e,n,m,f,x;const h=(0,s.A)().formatMessage,p=(()=>{var t;const e=(0,y._F)(),n=e.featureAccountRequestInfoPageId,i=void 0===n?"":n,o=e.featureIdsLoading,s=(0,b.L01)({variables:{featureAccountRequestInfoPageId:i},skip:!i}),a=s.data,d=s.loading;return{featureAccountRequestInfoPageLoading:o||d,featureAccountRequestInfoPage:null!=(t=null==a?void 0:a.FeatureAccountRequestInfoPage)?t:null}})(),q=p.featureAccountRequestInfoPageLoading,C=p.featureAccountRequestInfoPage,A=(0,c.A)().user,I=(0,l.q)(),w=null!=(t=(0,g.Z)(null==A||null==(e=A.details)?void 0:e.email))?t:"",k=(0,d.SKh)(),T=k[0],L=k[1],M={headerText:null==C||null==(n=C.headerText)?void 0:n.locale,content:null==C||null==(m=C.content)?void 0:m.locale,confirmButtonText:null==C||null==(f=C.confirmButtonText)?void 0:f.locale,errorText:null==C||null==(x=C.errorText)?void 0:x.locale,email:w,onConfirm:async()=>{I.trackEvent({name:u.og.BUTTON_CLICK_EMAIL_PROFILE_INFO,type:u.wf.UserContent,attributes:{Status:"Success"}}),await T()},requestMyInfoResult:L};return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(o.mg,{"data-testid":"account-request-info-account-request-info-Helmet",title:h({id:"requestMyInfo"})}),(0,j.jsxs)(r.k,{"data-testid":"account-request-info-account-request-info-AuthRequired",children:[(0,j.jsx)(a.l,{"data-testid":"account-request-info-account-request-info-BackArrowHistory"}),!q&&(0,j.jsx)(v,(0,i.A)({"data-testid":"account-request-info-account-request-info-AccountRequestInfoView"},M))]})]})}},36108:(t,e,n)=>{n.r(e),n.d(e,{AccountSettings:()=>M});var i=n(59284),o=n(89336),s=n(41657),a=n(96290),d=n(67820),c=n(93439),r=n(18684),l=n(93145),u=n(96868),g=n(60712);const m=(0,l.we)(),f=t=>{let e=t.isOpen,n=t.dismissModal;const i=(0,a.A)().formatMessage;return(0,g.jsx)(u.k,{"data-testid":"geolocation-granted-modal-geolocation-granted-modal-GeolocationPermissionModalView",flowTestId:"granted",isOpen:e,dismissModal:n,modalBodyText:i({id:"disableBrowserLocationSettings"},{brand:m}),modalHeadingText:i({id:"disableLocationServices"}),openSettingsButtonText:i({id:"browserSettings"})})},x=t=>{let e=t.isOpen,n=t.dismissModal;return(0,c.mJ)().isPermissionDenied?(0,g.jsx)(r.n,{"data-testid":"geolocation-permission-modal-geolocation-permission-modal-GeolocationDeniedModal",isOpen:e,dismissModal:n}):(0,g.jsx)(f,{"data-testid":"geolocation-permission-modal-geolocation-permission-modal-GeolocationGrantedModal",isOpen:e,dismissModal:n})};var h=n(24553),p=n(84159),q=n(67544),C=n(56770),j=n(63563),A=n(77696),I=n(90536),w=n(90563),k=n(20147),v=n(84662);const b=k.Ay.div.withConfig({componentId:"sc-1wxviwd-0"})(["label{font-size:inherit;}"]),y=k.Ay.div.withConfig({componentId:"sc-1wxviwd-1"})(["a{border-block-end:none;padding:0;}"]),T=k.Ay.div.withConfig({componentId:"sc-1wxviwd-2"})(["display:flex;justify-content:space-between;width:100%;padding-inline-end:",";align-items:center;color:",";"],v.M.$spacing1,(t=>t.theme.token("text-default"))),L=k.Ay.div.withConfig({componentId:"sc-1wxviwd-3"})(["align-items:center;color:",";display:flex;margin-block:0;margin-inline-start:0;margin-inline-end:",";"],(t=>t.theme.token("text-default")),v.M.$spacing2),M=()=>{const t=(0,j.q)(),e=t.trackEvent,n=t.logNavigationClick,r=(0,w.wB)(),u=r.restaurantGroup,m=r.resetRestaurantGroup,f=(0,a.A)().formatMessage,k=(0,i.useState)(!1),v=k[0],M=k[1],S=(0,i.useState)(A.og.PAGE_VIEW),P=S[0],E=S[1],R=(0,I._P)(I.N$.ENABLE_SETTINGS_GEOLOCATION),O=(0,c.mJ)(),B=O.isPermissionGranted,F=O.isPermissionPrompt,G=O.isPermissionDenied,N=O.setPermissionChecking,_=O.loadCurrentPosition,H=(0,i.useCallback)(((t,n,i)=>{e({name:i,type:A.wf.Navigation,attributes:{component:t,text:""+n}})}),[e]),K=(0,i.useCallback)((()=>
1{if(E(A.og.CLICK_EVENT),B)return M(!0),void m();G?M(!0):F&&(N(),_())}),[G,B,F,_,m,N]),V=(0,i.useCallback)((()=>{M(!1),l.HZ&&N()}),[N]),$=(0,i.useCallback)((()=>{n(A.og.CLICK_EVENT)}),[n]);return(0,i.useEffect)((()=>{B&&m(),H(A.wB.ACCOUNT_SETTINGS_GEOLOCATION,B,P)}),[B]),(0,i.useEffect)((()=>{v&&M(!1)}),[G]),(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(s.mg,{"data-testid":"account-settings-index-Helmet",title:f({id:"accountSettings"})}),(0,g.jsxs)(C.k,{"data-testid":"account-settings-index-AuthRequired",children:[(0,g.jsx)(p.l,{"data-testid":"account-settings-index-BackArrowHistory"}),(0,g.jsx)(q.g,{header:f({id:"accountSettings"}),"data-testid":"account-settings-account-layout",children:(0,g.jsx)(b,{"data-testid":"account-settings-index-ListContainer",children:(0,g.jsx)(h.B8,{"data-testid":"account-settings-index-List",children:R&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(h.ck,{"data-testid":"account-settings-index-ListItem",children:(0,g.jsx)(h.be,{"data-testid":"account-settings-index-ListItemContent",children:(0,g.jsx)(o.d,{id:"geolocation",label:f({id:"geolocationLabelSwitch"}),onClick:K,checked:B,"data-testid":"account-settings-switch-geolocation"})})}),!B&&(0,g.jsx)(h.ck,{"data-testid":"account-settings-index-ListItem-1",children:(0,g.jsx)(h.be,{"data-testid":"account-settings-index-ListItemContent-1",children:(0,g.jsx)(y,{"data-testid":"account-settings-index-SubListGeo",children:(0,g.jsx)(d.YK,{"data-testid":"account-settings-option-geolocation",to:f({id:"routes.settingsLocation"}),onClick:$,children:(0,g.jsxs)(T,{"data-testid":"account-settings-index-LinkContainer",children:[f({id:"offerAccountSettings"}),(0,g.jsx)(L,{"data-testid":"account-settings-index-LocationContainer",children:u?u.name:f({id:"selectLabel"})})]})})})})})]})})})}),(0,g.jsx)(x,{"data-testid":"account-settings-index-GeolocationPermissionModalContainer",isOpen:v,dismissModal:V})]})]})}},56770:(t,e,n)=>{n.d(e,{k:()=>c,o:()=>r});var i=n(58168),o=(n(59284),n(59279)),s=n(12577),a=n(99533),d=n(60712);const c=t=>{let e=t.children;const n=(0,o.A)(),i=n.isAuthenticated,d=n.refreshCurrentUser,c=i();return(0,s.d)(),(0,a.S)((()=>{c&&d()})),c&&e},r=t=>e=>(0,d.jsx)(c,{"data-testid":"auth-required-index-AuthRequired",children:(0,d.jsx)(t,(0,i.A)({"data-testid":"auth-required-index-Component"},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.