PageSourceSearch

https://www.dunkindonuts.com/_next/static/chunks/pages/account/fav…/favorite-menu-items-7f0ee385b702123c.js

js dunkindonuts.com collected 2026-09-24 08:26:28 UTC 12,273 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2007,1404],{22309:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/account/favorites/favorite-menu-items",function(){return n(43044)}])},79328:function(e,t,n){"use strict";n.d(t,{E:function(){return r}});var i=n(64583);let r=()=>({toast:{show:i.f.show,hide:i.f.hide}})},29287:function(e,t,n){"use strict";var i=n(85893),r=n(94184),o=n.n(r),s=n(67294),a=n(66079),c=n.n(a);t.Z=(0,s.memo)(function(e){let{icon:t="",size:n="m",ariaLabel:r,variant:s,className:a="",onClick:u,role:l,paths:_,children:d,...h}=e;return(0,i.jsxs)("span",{className:o()("brand-icon",s,t,c().iconContainer,c()[n],{[c()[s]]:!!s},a),onClick:u,...r&&{"aria-label":r},role:l,...h,children:[_>0&&Array(_).fill(void 0).map((e,t)=>(0,i.jsx)("span",{className:"path".concat(t+1)},t)),d]})})},68362:function(e,t,n){"use strict";n.d(t,{_:function(){return g}});var i=n(85893),r=n(67294),o=n(94184),s=n.n(o),a=n(34216),c=n.n(a),u=n(79775),l=n(29287),_=n(13148),d=n(83814),h=n(6336),f=n(32395),p=n(15749),m=n(48322),v=n(69993);let S=(0,h.ZP)().brandId.toLowerCase(),y="/assets/icons/".concat(S,"-favicon.svg"),g=(0,r.memo)(e=>(0,i.jsxs)("div",{className:c().container,children:[(0,i.jsxs)("div",{className:c().contentWrapper,children:[(0,i.jsx)("span",{className:c().iconContainer,children:(0,i.jsx)(d.KnY,{imageUrl:y,imageAlt:"no-favorites"})}),(0,i.jsxs)("div",{className:c().content,children:[(0,i.jsx)("h2",{className:c().title,"cms-id":(0,u.l)(e.headerText),children:e.headerText}),(0,i.jsx)("p",{className:s()("t-paragraph-small",c().text),"cms-id":(0,u.l)(e.body),children:e.body})]})]}),(0,i.jsxs)("div",{className:c().addtext,children:[(0,i.jsx)(l.Z,{size:"xs",icon:"action-add"}),(0,i.jsx)("span",{className:c().addTextSpacing,children:(0,i.jsx)(_.e,{link:e.addLink||"",onClick:()=>{(0,f.Kz)(p.LOGGER_EVENTS.ACCOUNT_NO_FAVORITES_ADD_ITEMS_CLICK,{"context.pageName":p.PAGE_NAME.ACCOUNT_FAVORITES,action:p.ACTION_NAME.VIEW_ALL}),(0,v.oF)(m.o.ACCOUNT_NO_FAVORITES_ADD_ITEMS_CLICK_TOTAL,1,{"context.pageName":p.PAGE_NAME.ACCOUNT_FAVORITES})},children:e.addText})})]})]}))},71700:function(e,t,n){"use strict";var i=n(85893),r=n(32220),o=n(94619),s=n.n(o);t.Z=()=>(0,i.jsx)("div",{className:s().loadingSection,children:(0,i.jsx)(r.Z,{})})},15062:function(e,t,n){"use strict";n.d(t,{$G:function(){return o},Nl:function(){return i},xE:function(){return r}});let i="ACCOUNTPAGE",r="FAVORITEPAGE",o=3},7443:function(e,t,n){"use strict";var i=n(83454);n(91479);var r=n(67294),o=r&&"object"==typeof r&&"default"in r?r:{default:r},s=void 0!==i&&i.env&&!0,a=function(e){return"[object String]"===Object.prototype.toString.call(e)},c=function(){function e(e){var t=void 0===e?{}:e,n=t.name,i=void 0===n?"stylesheet":n,r=t.optimizeForSpeed,o=void 0===r?s:r;u(a(i),"`name` must be a string"),this._name=i,this._deletedRulePlaceholder="#"+i+"-deleted-rule____{}",u("boolean"==typeof o,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=o,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var c=document.querySelector('meta[property="csp-nonce"]');this._nonce=c?c.getAttribute("content"):null}var t=e.prototype;return t.setOptimizeForSpeed=function(e){u("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),u(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},t.isOptimizeForSpeed=function(){return this._optimizeForSpeed},t.inject=function(){var e=this;if(u(!this._injected,"sheet already injected"),this._injected=!0,this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(s||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,n){return"number"==typeof n?e._serverSheet.cssRules[n]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),n},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},t.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}
1,t.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},t.insertRule=function(e,t){if(u(a(e),"`insertRule` accepts only strings"),this._optimizeForSpeed){var n=this.getSheet();"number"!=typeof t&&(t=n.cssRules.length);try{n.insertRule(e,t)}catch(t){return s||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var i=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,i))}return this._rulesCount++},t.replaceRule=function(e,t){if(this._optimizeForSpeed){var n=this.getSheet();if(t.trim()||(t=this._deletedRulePlaceholder),!n.cssRules[e])return e;n.deleteRule(e);try{n.insertRule(t,e)}catch(i){s||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),n.insertRule(this._deletedRulePlaceholder,e)}}else{var i=this._tags[e];u(i,"old rule at index `"+e+"` not found"),i.textContent=t}return e},t.deleteRule=function(e){if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];u(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},t.flush=function(){this._injected=!1,this._rulesCount=0,this._tags.forEac
1h(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]},t.cssRules=function(){var e=this;return this._tags.reduce(function(t,n){return n?t=t.concat(Array.prototype.map.call(e.getSheetForTag(n).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},t.makeStyleTag=function(e,t,n){t&&u(a(t),"makeStyleTag accepts only strings as second parameter");var i=document.createElement("style");this._nonce&&i.setAttribute("nonce",this._nonce),i.type="text/css",i.setAttribute("data-"+e,""),t&&i.appendChild(document.createTextNode(t));var r=document.head||document.getElementsByTagName("head")[0];return n?r.insertBefore(i,n):r.appendChild(i),i},function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}(e.prototype,[{key:"length",get:function(){return this._rulesCount}}]),e}();function u(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var l=function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0},_={};function d(e,t){if(!t)return"jsx-"+e;var n=String(t),i=e+n;return _[i]||(_[i]="jsx-"+l(e+"-"+n)),_[i]}function h(e,t){var n=e+t;return _[n]||(_[n]=t.replace(/__jsx-style-dynamic-selector/g,e)),_[n]}var f=function(){function e(e){var t=void 0===e?{}:e,n=t.styleSheet,i=void 0===n?null:n,r=t.optimizeForSpeed,o=void 0!==r&&r;this._sheet=i||new c({name:"styled-jsx",optimizeForSpeed:o}),this._sheet.inject(),i&&"boolean"==typeof o&&(this._sheet.setOptimizeForSpeed(o),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var n=this.getIdAndRules(e),i=n.styleId,r=n.rules;if(i in this._instancesCounts){this._instancesCounts[i]+=1;return}var o=r.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[i]=o,this._instancesCounts[i]=1},t.remove=function(e){var t=this,n=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(n in this._instancesCounts,"styleId: `"+n+"` not found"),this._instancesCounts[n]-=1,this._instancesCounts[n]<1){var i=this._fromServer&&this._fromServer[n];i?(i.parentNode.removeChild(i),delete this._fromServer[n]):(this._indices[n].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[n]),delete this._instancesCounts[n]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],n=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return n[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,n;return t=this.cssRules(),void 0===(n=e)&&(n={}),t.map(function(e){var t=e[0],i=e[1];return o.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:n.nonce?n.nonce:void 0,dangerouslySetInnerHTML:{__html:i}})})},t.getIdAndRules=function(e){var t=e.children,n=e.dynamic,i=e.id;if(n){var r=d(i,n);return{styleId:r,rules:Array.isArray(t)?t.map(function(e){return h(r,e)}):[h(r,t)]}}return{styleId:d(i),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),p=r.createContext(null);p.displayName="StyleSheetContext";var m=o.default.useInsertionEffect||o.default.useLayoutEffect,v=new f;function S(e){var t=v||r.useContext(p);return t&&m(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)]),null}S.dynamic=function(e){return e.map(function(e){return d(e[0],e[1])}).join(" ")},t.style=S},40645:function(e,t,n){"use strict";e.exports=n(7443).style},43044:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return S}});var i=n(85893),r=n(11163),o=n(67294),s=n(20203),a=n(58602),c=n(65454),u=n(58503),l=n(15749),_=n(32395),d=n(69993),h=n(48322),f=n(88541),p=n(15062),m=n(57489),v=n(44280),S=!0;t.default=(0,a.u)(function(e){let t=performance.now(),n=(0,v.Z)(),{accountSections:a}=e,S=null==a?void 0:a.accountHeader,y=null==a?void 0:a.userAccountMenu,[g]=(0,u.Ym)(c.hy.ENABLE_ITEM_FAVORITING),C=(0,r.useRouter)();return(0,o.useEffect)(()=>{g||C.replace("/404")},[g,C]),(0,o.useEffect)(()=>{let e=Math.round(performance.now()-t);(0,_.Kz)(l.LOGGER_EVENTS.ACCOUNT_FAVORITE_MENU_ITEMS_PAGE_VIEW,{uiLoadTimeMs:e,"context.pageName":l.PAGE_
1NAME.ACCOUNT_FAVORITES}),(0,d.oF)(h.o.ACCOUNT_FAVORITE_MENU_ITEMS_UI_LOAD_TIME_MS,e,{appSection:l.SECTION_NAME.ACCOUNT}),(0,d.oF)(h.o.ACCOUNT_FAVORITE_MENU_ITEMS_PAGE_VIEWS_TOTAL,1,{appSection:l.SECTION_NAME.ACCOUNT})},[]),(0,i.jsx)(f.Z,{accountHeader:S,globalProps:n,fromPage:s.sb,accountDashboardMenu:y,children:(0,i.jsx)(m.Z,{sourcePage:p.Nl})})},{loginOptions:{authorizationParams:{isIDP:!0}}})},91479:function(){},66079:function(e){e.exports={iconContainer:"BrandIcon_iconContainer__eNf9a",huge:"BrandIcon_huge__ICaHn",xl:"BrandIcon_xl__JCHdP",l:"BrandIcon_l__nISmT",m:"BrandIcon_m__mLm7v",s:"BrandIcon_s__w0J_P",xs:"BrandIcon_xs__H65fy",tiny:"BrandIcon_tiny__YfjKj","brand-icon":"BrandIcon_brand-icon__KtpiK",light:"BrandIcon_light__7Hxtb",dark:"BrandIcon_dark__2es5n",gray6:"BrandIcon_gray6__zCVh2",colorful:"BrandIcon_colorful__Ts3i0",gray4:"BrandIcon_gray4__Ww4I_"}},34216:function(e){e.exports={logo:"noFavoritesContainer_logo__dFVaq",container:"noFavoritesContainer_container__lOlvE noFavoritesContainer_vars_noFavoritesContainer__nYAYd",content:"noFavoritesContainer_content__utiIv",contentWrapper:"noFavoritesContainer_contentWrapper__XQDa_",iconContainer:"noFavoritesContainer_iconContainer__jZGjf",title:"noFavoritesContainer_title__9yY2K",text:"noFavoritesContainer_text__IDmv6",addtext:"noFavoritesContainer_addtext__0csLt",addTextSpacing:"noFavoritesContainer_addTextSpacing__HheMV"}},94619:function(e){e.exports={loadingSection:"loadingScreen_loadingSection__YV8Ef loadingScreen_vars_loadingSection__1hoQx"}}},function(e){e.O(0,[1664,1038,3404,1629,97,3630,5941,4584,6214,280,5725,8576,3419,8931,2888,9774,179],function(){return e(e.s=22309)}),_N_E=e.O()}]);
2//# sourceMappingURL=favorite-menu-items-7f0ee385b702123c.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.