PageSourceSearch

https://www.dunkindonuts.com/_next/static/chunks/39.2255d57bc4704e51.js

js dunkindonuts.com collected 2026-09-24 08:28:46 UTC 10,540 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39],{5828:function(e,r,t){t.d(r,{c:function(){return i}});function i(){for(var e,r,t=0,i="",n=arguments.length;t<n;t++)(e=arguments[t])&&(r=function e(r){var t,i,n="";if("string"==typeof r||"number"==typeof r)n+=r;else if("object"==typeof r){if(Array.isArray(r)){var a=r.length;for(t=0;t<a;t++)r[t]&&(i=e(r[t]))&&(n&&(n+=" "),n+=i)}else for(i in r)r[i]&&(n&&(n+=" "),n+=i)}return n}(e))&&(i&&(i+=" "),i+=r);return i}},62580:function(e,r,t){t.d(r,{C:function(){return o},I:function(){return a},N:function(){return s},a:function(){return l},b:function(){return c}});var i,n=t(59499),a={DEFAULT:"default",COLORFUL:"colorful",BLACK:"black",WHITE:"white",DISABLED:"disabled"},c=(i={},(0,n.Z)(i,a.DEFAULT,"variation-default"),(0,n.Z)(i,a.BLACK,"variation-black"),(0,n.Z)(i,a.WHITE,"variation-white"),(0,n.Z)(i,a.COLORFUL,""),(0,n.Z)(i,a.DISABLED,"variation-disabled"),i),o={backgroundSize:"contain",backgroundRepeat:"no-repeat",backgroundPosition:"center"},s={maskSize:"contain",maskRepeat:"no-repeat",maskPosition:"center"},l={XXXS:"xxxs",XXS:"xxs",XS:"xs",XSM:"xsm",S:"s",SM:"sm",SMX:"smx",M:"m",ML:"ml",L:"l",LM:"lm",XL:"xl",XXL:"xxl"}},43338:function(e,r,t){t.d(r,{E:function(){return h},I:function(){return l},L:function(){return o},R:function(){return u},a:function(){return s},b:function(){return d}});var i,n,a=t(59499),c=t(62580),o={PRIMARY:"primary",PRIMARY_BLOCK:"primary-block",SECONDARY:"secondary",SECONDARY_BLOCK:"secondary-block",FOOTER_UTILITY:"footer",LOCATION_LINK:"location-link",TOOLTIP:"tooltip",SMALL_HINT:"small-hint",BODY:"body",RESET:"reset"},s=(i={},(0,a.Z)(i,o.PRIMARY,"ty-link-primary"),(0,a.Z)(i,o.PRIMARY_BLOCK,"ty-link-primary"),(0,a.Z)(i,o.SECONDARY,"ty-link-secondary"),(0,a.Z)(i,o.SECONDARY_BLOCK,"ty-link-secondary"),(0,a.Z)(i,o.FOOTER_UTILITY,"ty-link-footer-utility"),(0,a.Z)(i,o.LOCATION_LINK,"ty-link-location-title"),(0,a.Z)(i,o.TOOLTIP,"ty-body-2"),(0,a.Z)(i,o.SMALL_HINT,"ty-body-universal-hint-small"),(0,a.Z)(i,o.BODY,"ty-body-universal-2-link"),(0,a.Z)(i,o.RESET,""),i),l={LEADING:"leading",TRAILING:"trailing"},d=(n={},(0,a.Z)(n,o.PRIMARY,c.a.S),(0,a.Z)(n,o.PRIMARY_BLOCK,c.a.S),(0,a.Z)(n,o.SECONDARY,c.a.XS),(0,a.Z)(n,o.SECONDARY_BLOCK,c.a.XXS),(0,a.Z)(n,o.FOOTER_UTILITY,c.a.XXS),(0,a.Z)(n,o.LOCATION_LINK,c.a.SMX),(0,a.Z)(n,o.SMALL_HINT,c.a.XXXS),(0,a.Z)(n,o.TOOLTIP,c.a.XXS),(0,a.Z)(n,o.BODY,c.a.S),(0,a.Z)(n,o.RESET,c.a.S),n),h="Edit",u="Resend"},10039:function(e,r,t){t.r(r),t.d(r,{recent_orders:function(){return f}});var i=t(92777),n=t(82262),a=t(48625),c=t(52100),o=t(11128),s=t(43338),l=t(62580),d=t(30720),h=t(5828),u="Top Label",f=function(){function e(r){var t=this;(0,i.Z)(this,e),(0,a.r)(this,r),this.viewAllLinkClicked=(0,a.c)(this,"viewAllLinkClicked",7),this.recentOrderActionTriggered=(0,a.c)(this,"recentOrderActionTriggered",7),this.recentOrderFavoriteTriggered=(0,a.c)(this,"recentOrderFavoriteTriggered",7),this.handleRecentOrderControlsClicked=function(e){t.recentOrderActionTriggered.emit(e)},this.handleRecentOrderFavoriteClicked=function(e){t.recentOrderFavoriteTriggered.emit(e)},this.handleViewAllLinkClicked=function(){t.viewAllLinkClicked.emit({actionType:"viewAll",label:"View All (Recent Orders)"})},this.label="Recent Orders",this.subTitle=void 0,this.imageUrl=void 0,this.imageSrcset=void 0,this.viewAllText=void 0,this.showFavoriteToggle=void 0,this.showChevron=void 0,this.variantType=u,this.maxRecentOrdersCards=7,this.recentOrdersArray=[],this.isMobileWeb=!1}return(0,n.Z)(e,[{key:"connectedCallback",value:function(){var e=this;this.removeViewportListener=(0,o.o)({maxWidth:d.a},function(r){e.isMobileWeb=r})}},{key:"disconnectedCallback",value:function(){var e;null===(e=this.removeViewportListener)||void 0===e||e.call(this)}},{key:"componentDidLoad",value:function(){(0,c.a)({element:this.el})}},{key:"renderRecentOrderCard",value:function(e){var r=this;return(0,a.h)("recent-orders-card",{orderDate:e.orderDate,orderMethod:e.orderMethod,orderId:e.orderId,orderStatus:e.orderStatus.toLowerCase(),orderLabel:e.orderLabel,items:e.items,imageUrl:e.imageUrl,imageAlt:e.imageAlt,imageSrcset:e.imageSrcset,showReorder:e.showReorder,reorderText:e.reorderText,viewDetailsText:e.viewDetailsText,showCancelOrder:e.showCancelOrder,cancelOrderText:e.cancelOrderText,showCheckIn:e.showCheckIn,checkInText:e.checkInText,isFavorite:e.isFavorite,showFavoriteToggle:this.show
1FavoriteToggle,isRecentOrderUnavailable:e.isRecentOrderUnavailable,unavailableText:e.unavailableText,onRecentCardLinkClicked:function(e){return r.handleRecentOrderControlsClicked(e.detail)},onRecentOrderFavoriteToggled:function(e){return r.handleRecentOrderFavoriteClicked(e.detail)}})}},{key:"render",value:function(){var e=this,r=this.variantType===u||this.isMobileWeb;this.maxRecentOrdersCards=this.isMobileWeb?5:7;var t=this.recentOrdersArray.slice(0,this.maxRecentOrdersCards),i=this.recentOrdersArray.length,n=r?"top-label":"side-label",o="".concat(this.subTitle," ").concat(this.label);return(0,a.h)("div",{key:"105f58e16f47450f68700886481c741fc8e614a1",class:"recent-orders-wrapper ".concat(n)},(0,a.h)("div",{key:"3456d39f125f3f9ba6c8b045b744a44b4af842f8",class:"text-link-img-container ".concat(n)},(0,a.h)("div",{key:"860189b6122723115aea6642708612dd3f0f0c28",class:(0,h.c)("text-container ".concat(n),{"text-container-with-image":(0,c.i)(this.imageUrl)})},(0,a.h)("div",{key:"6b5422b9b8523d8cea56f7c44f6361f5d3b24440",class:"".concat(r?"top-label":"mobile-header"),"aria-label":o,tabIndex:0},(0,c.i)(this.subTitle)&&(0,a.h)("typography-text",{key:"d42cc7900d4dd10d2bd43b37f0612e187d5c58d1",class:"ty-heading-subhead-2-stylized sub-text","aria-hidden":"true",tag:"h2",text:this.subTitle}),(0,c.i)(this.label)&&(0,a.h)("typography-text",{key:"dd6ac2a21163528dd130896c2d25356f5f88a86e",class:"ty-heading-h2 side-text",tag:"h2","aria-hidden":"true",text:this.label}
1)),(0,a.h)("div",{key:"bbb776d20eff379c6acde1e1efeab67cbd5310b8",class:"mobile-link"},(0,a.h)("action-link",{key:"1e22bb1443688a0122089f65a42055dad26ecad4",text:this.viewAllText+" (".concat(i,")"),type:s.L.SECONDARY,linkClass:"link-text",onLinkClicked:this.handleViewAllLinkClicked}))),(0,c.i)(this.imageUrl)&&(0,a.h)("image-element",{key:"25c6db158149a28ac16ef134b93ea86ece94f622",imageAlt:this.label,imageUrl:this.imageUrl,imageSrcset:this.imageSrcset,imageWidth:"60",imageHeight:"60",imageClass:"placeholder ".concat(n)})),(0,a.h)("div",{key:"5510978f96c9f528641d4d4431b467d2a4558650",class:"recent-orders-carousel-container ".concat(n)},t.length>0&&(0,a.h)("carousel-slider",{key:"bab6541875ab111beac9684a19c242822e7c9dd2",class:"override-padding",directionalIconSize:l.a.SMX,showFadingEffect:!0,showChevron:this.showChevron},null==t?void 0:t.map(function(r){return e.renderRecentOrderCard(r)}),i>this.maxRecentOrdersCards&&(0,a.h)("div",{key:"38091c89bdeb521a227fca95444bb65c729fcc21",class:"view-all-card"},(0,a.h)("action-link",{key:"a1a4199eb73f09c8ec602dbe0d2460b43f89399b",class:(0,h.c)("view-all-text","ty-link-secondary"),newTab:!1,title:this.viewAllText,text:this.viewAllText+" (".concat(i,")"),type:s.L.SECONDARY,onLinkClicked:this.handleViewAllLinkClicked})))))}},{key:"el",get:function(){return(0,a.g)(this)}}]),e}();f.style=".recent-orders-wrapper.sc-recent-orders{display:flex;gap:1.25rem;padding:1.25rem 0 1.25rem 1.25rem;background-color:var(--inspire-components-array-background-weak)}.recent-orders-wrapper.side-label.sc-recent-orders{padding:1.875rem 0 1.875rem 2.5rem;flex-direction:row;align-items:center}.recent-orders-wrapper.top-label.sc-recent-orders{flex-direction:column}.text-link-img-container.sc-recent-orders{display:flex;align-items:center;gap:1.625rem;padding-right:1.25rem;flex-shrink:0;justify-content:flex-end}.text-link-img-container.side-label.sc-recent-orders{flex-direction:row-reverse}.text-container.sc-recent-orders{display:flex;gap:0.625rem;flex:1 0 0}.recent-orders-carousel-container.sc-recent-orders{width:100%}.recent-orders-carousel-container.side-label.sc-recent-orders{width:calc(100% - var(--inspire-recent-order-side-width-margin))}.carousel-content.sc-recent-orders{padding:0}.text-container-with-image.sc-recent-orders{align-self:end}.text-container.side-label.sc-recent-orders{flex-direction:column;align-items:flex-start}.text-container.top-label.sc-recent-orders{flex-direction:row;justify-content:space-between;align-items:flex-end}.side-text.sc-recent-orders,.link-text.sc-recent-orders{white-space:nowrap;color:var(--inspire-text-default-default)}.sub-text.sc-recent-orders{color:var(--inspire-components-promo-subhead-default)}.placeholder.side-label.sc-recent-orders{flex-shrink:0}.placeholder.top-label.sc-recent-orders{display:none}.mobile-link.sc-recent-orders{display:block;white-space:nowrap}.scroll-arrow.filled.sc-recent-orders{background:var(--inspire-components-action-primary-bg-default)}.mobile-header.sc-recent-orders{display:block}.view-all-card.sc-recent-orders{display:flex;width:9.875rem;flex-direction:column;justify-content:center;align-items:center;align-self:stretch;border-radius:var(--inspire-corner-card);border:1px solid var(--inspire-border-default-default);background:var(--inspire-bg-default-default);margin-right:0.75rem}.view-all-text.sc-recent-orders{white-space:nowrap}@media screen and (max-width: 768px){.recent-orders-wrapper.top-label.sc-recent-orders{flex-direction:column;gap:0rem;align-items:unset;margin:0 -20px}.recent-orders-carousel-container.top-label.sc-recent-orders{width:100%}.carousel-content.sc-recent-orders{padding:0rem}.text-link-img-container.top-label.sc-recent-orders{flex-direction:row;align-self:stretch;padding-right:1.25rem;gap:initial}.text-container.top-label.sc-recent-orders{flex-direction:row;align-items:flex-end;padding-bottom:1.25rem;display:flex;justify-content:space-between;width:100%}.placeholder.sc-recent-orders{display:none}.hide-mobile-scroll.sc-recent-orders{display:block}.mobile-header.sc-recent-orders{flex:1}.carousel-container.sc-recent-orders{margin-left:-20px}.view-all-card.sc-recent-orders{margin-right:0}}"},11128:function(e,r,t){t.d(r,{o:function(){return i}});function i(e,r){var t=function(e){var r=e.minWidth,t=e.maxWidth,i=e.customQuery;if(i)return i;var n=[];return void 0!==r&&n.push("(min-width: ".concat(r,"px)")),void 0!==t&&n.push("(max-width: ".concat(t,"px)")),n.join(" and ")}(e),i=window.matchMedia(t),n=function(e){r(e.matches)};return i.addEventListener("change",n),r(i.matches),function(){return i.removeEventListener("change",n)}}}}]);
2//# sourceMappingURL=39.2255d57bc4704e51.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.