PageSourceSearch

https://www.breville.com/account/_next/static/chunks/794.cddfd163d1943fa4.js

js breville.com collected 2026-09-24 09:22:38 UTC 12,337 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[794],{20794:(r,a,t)=>{t.r(a),t.d(a,{Warranty:()=>_});var e=t(37876),s=t(14232),n=t(89099),o=t(7135),l=t(54405),u=t(59874),i=t(33882),c=t(48187),d=t(68425),p=t(1002),h=t(75141),y=t(22322),w=t(68036);let m={status:"idle",warrantyInMonths:null};var b=t(75380);let x=r=>{let{product:a,warrantyInMonths:t,onClose:s}=r,{t:u}=(0,o.Bd)(),{locale:i=""}=(0,n.useRouter)();if(!a||null===t)return null;let c=function(r,a){if(r>0&&r%12==0){let t=r/12;return 1===t?a("sh-warranty-duration-year",{defaultValue:"{{count}} year",count:t}):a("sh-warranty-duration-years",{defaultValue:"{{count}} years",count:t})}return a("sh-warranty-duration-months",{defaultValue:"{{count}} months",count:r})}(t,u),d=u("sh-warranty-modal-title","Warranty Information"),p=[u("sh-warranty-coverage-parts-labour","Parts and labour"),u("sh-warranty-coverage-manufacturing-defects","Manufacturing defects"),u("sh-warranty-coverage-mechanical-failures","Mechanical failures")];return(0,e.jsx)(l.Modal,{isOpen:!0,onClose:s,onRequestClose:s,title:d,contentLabel:"".concat(d," ").concat(a.name),className:"support-hub-warranty__modal",children:(0,e.jsxs)("div",{className:"support-hub-warranty__modal-body","data-testid":"support-hub-warranty-info-modal",children:[(0,e.jsxs)("div",{className:"support-hub-warranty__modal-product",children:[(0,e.jsx)("span",{className:"support-hub-warranty__modal-product-icon","aria-hidden":"true",children:(0,e.jsx)(l.Icon,{iconName:"shield-check",iconPrefix:"fak",iconSize:"3x"})}),(0,e.jsxs)("div",{children:[(0,e.jsx)(l.Text,{tag:"h3",type:"p1-bold",children:a.name}),(0,e.jsx)(l.Text,{tag:"p",type:"p2","data-testid":"support-hub-warranty-duration",children:u("sh-warranty-duration-label",{defaultValue:"{{duration}} Warranty",duration:c})})]})]}),(0,e.jsxs)("div",{className:"support-hub-warranty__modal-coverage",children:[(0,e.jsx)(l.Text,{tag:"h4",type:"p2-bold",children:u("sh-warranty-coverage-heading","Coverage Includes")}),(0,e.jsx)("ul",{className:"support-hub-warranty__coverage-list",children:p.map(r=>(0,e.jsxs)("li",{className:"support-hub-warranty__coverage-item",children:[(0,e.jsx)("span",{"aria-hidden":"true",children:(0,e.jsx)(l.Icon,{iconName:"
1circle-check",iconPrefix:"fak",iconSize:"2x"})}),(0,e.jsx)(l.Text,{tag:"span",type:"p2",children:r})]},r))})]}),(0,e.jsx)(l.Text,{tag:"p",type:"p3",className:"support-hub-warranty__modal-blurb",children:u("sh-warranty-coverage-blurb",{defaultValue:"Your {{productName}} is covered under Breville's Limited Product Warranty for {{duration}} from the date of purchase.",productName:a.name,duration:c})}),(0,e.jsxs)("div",{className:"support-hub-warranty__modal-actions",children:[(0,e.jsx)(l.ButtonV2,{variant:"primary",fill:"outlined",size:"sm",shape:"pill",text:u("sh-warranty-modal-close","Close"),onClick:s,"data-testid":"support-hub-warranty-modal-close"}),(0,e.jsx)(l.ButtonV2,{variant:"primary",size:"sm",shape:"pill",text:u("sh-warranty-modal-report-issue","Report an Issue"),href:(0,b.On)(a.id,i),"data-testid":"support-hub-warranty-report-issue"})]})]})})},g=r=>{let{products:a}=r,{t}=(0,o.Bd)(),{trackEvent:n}=(0,y.b)(),{status:i,warrantyInMonths:d,lookup:h,reset:b}=(()=>{let{globalConfig:r}=(0,u.h5)(),{brand:a="",sfCountryCode:t="",locale:e=""}=r,[n,o]=(0,s.useState)(m),l=(0,s.useRef)(0),i=(0,s.useCallback)(async r=>{l.current+=1;let s=l.current;if(!a||!t||!e)return void o({status:"error",warrantyInMonths:null});o({status:"loading",warrantyInMonths:null});let n=await c.K3.lookupWarranty({brand:a,locale:e,country:t,productcode:r});if(s===l.current){if(n.success&&n.data)return void o({status:"success",warrantyInMonths:n.data.warrantyInMonths});o({status:n.notFound?"not-found":"error",warrantyInMonths:null})}},[a,t,e]),d=(0,s.useCallback)(()=>{l.current+=1,o(m)},[]);return{...n,lookup:i,reset:d}})(),[g,f]=(0,s.useState)(""),[j,_]=(0,s.useState)(null),[k,N]=(0,s.useState)(!1),[v,C]=(0,s.useState)(null),T=(0,s.useRef)(null),I=g.trim().length>0,S=(0,s.useMemo)(()=>!I||j?[]:a.filter(r=>(0,w.T)(r,g)).slice(0,6),[a,g,I,j]),P=k&&S.length>0;(0,s.useEffect)(()=>{if(!P)return;let r=r=>{let a=r.target;T.current&&!T.current.contains(a)&&N(!1)};return document.addEventListener("mousedown",r),()=>document.removeEventListener("mousedown",r)},[P]);let W=null!=j?j:1===S.length?S[0]:null,z=(0,s.useCallback)(r=>{f(r.target.value),_(null),N(!0),b()},[b]),B=(0,s.useCallback)(()=>{N(!0)},[]),V=(0,s.useCallback)(()=>{f(""),_(null),N(!1),b()},[b]),R=(0,s.useCallback)(r=>{_(r),f(r.name),N(!1)},[]),M=(0,s.useCallback)(()=>{W&&(C(W),n({action:"warranty_lookup_submitted",label:W.id}),h(W.id))},[W,n,h]),L=(0,s.useCallback)(()=>{b()},[b]);return(0,s.useEffect)(()=>{"not-found"===i&&v&&n({action:"warranty_lookup_not_found",label:v.id})},[i,v,n]),(0,e.jsxs)("section",{className:"support-hub-warranty__card support-hub-warranty__lookup","data-testid":"support-hub-warranty-lookup",children:[(0,e.jsx)(l.CardTileV2,{className:"mb-15",mediaType:l.MediaType.Default,contentAlignment:l.ContentAlignmentCT.left,title:{richText:t("sh-warranty-lookup-heading","Look Up Product Warranty"),type:"h5"},description:{richText:t("sh-warranty-lookup-blurb","Find product warranty information by product name or model number."),type:"p2"}}),(0,e.jsx)("label",{className:"support-hub-warranty__search-label",htmlFor:"support-hub-warranty-product-search-input",children:(0,e.jsx)(l.Text,{tag:"span",type:"p2-bold",children:t("sh-warranty-search-label","Search by Product Name")})}),(0,e.jsxs)("div",{className:"support-hub-warranty__search",ref:T,children:[(0,e.jsx)(l.TextField,{id:"support-hub-warranty-product-search-input",placeholder:t("sh-warranty-search-placeholder","e.g., the Oracle Jet, the Barista Express"),value:g,onChange:z,onFocus:B,trailingIcon:I?{iconName:"close",iconPrefix:"fak"}:void 0,trailingIconAriaLabel:t("sh-warranty-search-clear-label","Clear search"),onTrailingIconClick:V,"data-testid":"support-hub-warranty-product-search"}),P&&(0,e.jsx)("ul",{className:"support-hub-warranty__suggestions","data-testid":"support-hub-warranty-suggestions",children:S.map(r=>(0,e.jsx)("li",{children:(0,e.jsxs)("button",{type:"button",className:"support-hub-warranty__suggestion",onClick:()=>R(r),"data-testid":"support-hub-warranty-suggestion-".concat(r.id),children:[(0,e.jsx)(l.Text,{tag:"span",type:"p2",children:r.name}),(0,e.jsx)(l.Text,{tag:"span",type:"p3",className:"support-hub-warranty__suggestion-sku",children:r.id})]})},r.id))})]}),I&&!j&&0===S.length&&(0,e.jsx)(p.pp,{testId:"support-hub-warranty-no-matches",message:t("sh-warranty-no-matches",{defaultValue:'No products match "{{query}}". Try a different name or model number.',query:g.trim()})}),(0,e.jsx)(l.ButtonV2,{variant:"primary",size:"sm",shape:"pill",text:t("sh-warranty-lookup-cta","Look Up Warranty"),onClick:M,disabled:!W||"loading"===i,icon:{iconName:"search",iconPrefix:"fak",iconSize:"3x"},"data-testid":"support-hub-warranty-lookup-cta"}),"not-found"===i&&v&&(0,e.jsx)(p.pp,{testId:"support-hub-warranty-not-found",message:t("sh-warranty-not-found",{defaultValue:"We couldn't find w
1arranty information for {{productName}}. Contact support for help with this product.",productName:v.name})}),"error"===i&&(0,e.jsx)(p.W5,{testId:"support-hub-warranty-lookup-error",message:t("sh-warranty-lookup-error","We couldn't look up the warranty right now. Please try again.")}),"success"===i&&(0,e.jsx)(x,{product:v,warrantyInMonths:d,onClose:L})]})},f=()=>{let{t:r}=(0,o.Bd)(),a=(0,n.useRouter)();return(0,e.jsxs)("section",{className:"support-hub-warranty__card support-hub-warranty__troubleshoot","data-testid":"support-hub-warranty-troubleshoot",children:[(0,e.jsxs)("div",{className:"support-hub-warranty__card-row",children:[(0,e.jsx)("div",{className:"support-hub-warranty__card-icon","aria-hidden":"true",children:(0,e.jsx)(l.Icon,{iconName:"wrench",iconPrefix:"fak",iconSize:"4x"})}),(0,e.jsx)(l.Text,{tag:"h2",type:"h5",children:r("sh-warranty-help-heading","Need Help with Your Product?")})]}),(0,e.jsx)(l.Text,{tag:"p",type:"p2",className:"support-hub-warranty__card-blurb",children:r("sh-warranty-help-blurb","Try our self-serve troubleshooting flow to diagnose and resolve common issues with your product.")}),(0,e.jsx)(l.ButtonV2,{variant:"primary",size:"sm",shape:"pill",text:r("sh-warranty-help-cta","Start Troubleshooting"),href:(0,d.g2)("/support/product-select?next=troubleshooting",a.locale),icon:{iconName:"arrow-right",iconPrefix:"fak",iconSize:"3x"},"data-testid":"support-hub-warranty-start-troubleshooting"})]})},j=()=>{let{t:r}=(0,o.Bd)();return(0,e.jsxs)("section",{className:"support-hub-warranty__limited-panel","data-testid":"support-hub-warranty-limited-panel",children:[(0,e.jsxs)("div",{className:"support-hub-warranty__card-row",children:[(0,e.jsx)("div",{className:"support-hub-warranty__limited-icon","aria-hidden":"true",children:(0,e.jsx)(l.Icon,{iconName:"shield-check",iconPrefix:"fak",iconSize:"4x"})}),(0,e.jsx)(l.Text,{tag:"h2",type:"h5",children:r("sh-warranty-limited-heading","Breville's Limited Product Warranty")})]}),(0,e.jsx)(l.Text,{tag:"p",type:"p2",className:"support-hub-warranty__card-blurb",children:r("sh-warranty-limited-blurb","We stand behind our products with a comprehensive limited warranty covering defects in materials, workmanship, and function.")}),(0,e.jsx)(l.ButtonV2,{variant:"primary",size:"sm",shape:"pill",text:r("sh-warranty-full-details-link","View Full Warranty Details"),href:r("sh-warranty-full-details-href","https://www.breville.com/us/en/support/warranty.html"),openInNewTab:!0,rel:"noopener noreferrer",icon:{iconName:"arrow-right",iconPrefix:"fak",iconSize:"3x"},"data-testid":"support-hub-warranty-full-details"})]})},_=r=>{let{categories:a,products:t}=r,{t:y}=(0,o.Bd)(),w=(0,n.useRouter)(),{globalConfig:m}=(0,u.h5)(),{brand:b="",sfCountryCode:x="",aemLocale:_="",locale:k=""}
1=m,N=!!a&&!!t,[v,C]=(0,s.useState)([]),[T,I]=(0,s.useState)(!N),[S,P]=(0,s.useState)(null);return(0,s.useEffect)(()=>{if(N||!b||!x)return;let r=!1;return I(!0),P(null),(0,c.vB)({brand:b,country:x,locale:_,currentLocale:k}).then(a=>{r||C(a.products)}).catch(()=>{r||P(y("sh-warranty-catalog-load-error","Failed to load products. Please try again."))}).finally(()=>{r||I(!1)}),()=>{r=!0}},[N,b,x,_,k,y]),(0,e.jsxs)("div",{className:"support-hub-warranty","data-testid":"support-hub-warranty",children:[(0,e.jsx)(p.DQ,{items:[{label:y("sh-categories-breadcrumb-back","Support"),href:(0,d.g2)("/support",w.locale)},{label:y("sh-warranty-breadcrumb-current","Warranty & Repairs")}],testId:"support-hub-warranty-breadcrumbs"}),(0,e.jsx)(p.zY,{testId:"support-hub-warranty-banner",title:y("sh-warranty-heading","Warranty & Repairs"),subtitle:y("sh-warranty-subtitle","Check warranty entitlements and initiate repairs through guided troubleshooting."),centered:!0}),(0,e.jsxs)("div",{className:"support-hub-warranty__content",children:[(0,e.jsx)(l.Grid,{children:(0,e.jsx)(l.Col,{lg:8,lgOffset:2,children:(0,e.jsx)(i.i,{returnPath:"/support/warranty-lookup",className:"support-hub-warranty__login-prompt pb-45 pt-25",description:y("sh-warranty-login-prompt-description","Sign in to view your registered products and warranty status.")})})}),(0,e.jsx)(h.p,{}),(0,e.jsx)(l.Grid,{children:(0,e.jsxs)(l.Col,{lg:12,children:[S&&(0,e.jsx)(l.Row,{children:(0,e.jsx)(l.Col,{xs:12,children:(0,e.jsx)(p.W5,{message:S,testId:"support-hub-warranty-catalog-error"})})}),T&&!S&&(0,e.jsx)(l.Row,{children:(0,e.jsx)(l.Col,{xs:12,children:(0,e.jsx)(p.Gu,{message:y("sh-warranty-catalog-loading","Loading products…"),testId:"support-hub-warranty-catalog-loading"})})}),!T&&!S&&(0,e.jsxs)(l.Row,{noGutters:!0,children:[(0,e.jsx)(l.Col,{xs:12,lg:6,className:"support-hub-warranty__col support-hub-warranty__col--lookup",children:(0,e.jsx)(g,{products:null!=t?t:v})}),(0,e.jsx)(l.Col,{xs:12,lg:6,className:"support-hub-warranty__col support-hub-warranty__col--troubleshoot",children:(0,e.jsx)(f,{})})]})]})})]}),(0,e.jsx)(l.Grid,{className:"support-hub-warranty__limited-warranty py-25 mt-25",fluid:!0,children:(0,e.jsx)(l.Row,{children:(0,e.jsx)(l.Col,{xs:12,lg:6,lgOffset:3,children:(0,e.jsx)(j,{})})})})]})}},68036:(r,a,t)=>{function e(r){return r.toLowerCase().replaceAll(/[^a-z0-9]/g,"")}function s(r,a){let t=e(a);return!t||e(r.name).includes(t)||e(r.id).includes(t)}t.d(a,{T:()=>s})}}]);

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.