{"id":4004,"date":"2026-10-14T11:02:16","date_gmt":"2026-10-14T11:02:16","guid":{"rendered":"https:\/\/barrettshospitalitysupplies.com\/reliant\/?page_id=4004"},"modified":"2026-11-20T13:14:29","modified_gmt":"2026-11-20T13:14:29","slug":"equipment-guide","status":"publish","type":"page","link":"https:\/\/barrettshospitalitysupplies.com\/","title":{"rendered":"Equipment guide"},"content":{"rendered":"\n<style>\nbody:has(#bhs-guide){background:#faf9f6!important}body:has(#bhs-guide) #masthead,body:has(#bhs-guide) #colophon,body:has(#bhs-guide) .entry-header,body:has(#bhs-guide) #secondary,body:has(#bhs-guide) .metaslider,body:has(#bhs-guide) .entry-meta,body:has(#bhs-guide) .entry-footer{display:none!important}body:has(#bhs-guide) #page,body:has(#bhs-guide) #main,body:has(#bhs-guide) #primary,body:has(#bhs-guide) #content,body:has(#bhs-guide) article,body:has(#bhs-guide) .entry-content{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:transparent!important;box-shadow:none!important;border:0!important}body:has(#bhs-guide) #scroll-to-top{display:none!important}\n#bhs-guide{--ink:#292b29;--muted:#74766e;--line:#e5e5dd;--red:#f84c01;--paper:#faf9f6;color:var(--ink);font:15px\/1.6 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;min-height:calc(100svh - 32px);display:flex;flex-direction:column;text-align:left}#bhs-guide *{box-sizing:border-box}#bhs-guide [hidden]{display:none!important}#bhs-guide button,#bhs-guide input,#bhs-guide textarea{font:inherit;box-shadow:none;text-shadow:none}#bhs-guide button{cursor:pointer;border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:999px;padding:11px 20px;line-height:1.3;font-weight:500;transition:background .2s,border-color .2s,transform .2s}#bhs-guide button:hover{background:#f0efe9;border-color:#c5c7bc}#bhs-guide button:active{transform:translateY(1px)}#bhs-guide button:disabled{opacity:.5;cursor:wait}#bhs-guide :focus-visible{outline:3px solid var(--red);outline-offset:4px}#bhs-guide .bg-workspace:focus-visible{outline-width:1.5px}#bhs-guide a{color:inherit;text-decoration:none}#bhs-guide a:hover{text-decoration:underline}#bhs-guide h1,#bhs-guide h2,#bhs-guide h3,#bhs-guide p{font-family:inherit;color:inherit;margin:0;font-weight:400;line-height:inherit}#bhs-guide .bg-header{display:flex;align-items:center;justify-content:space-between;padding:26px 4vw;gap:20px}#bhs-guide .bg-brand{display:flex;align-items:center;gap:12px;line-height:1.2}#bhs-guide .bg-brand img{width:43px;height:43px;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}#bhs-guide .bg-brand strong{display:block;font-size:17px;font-weight:600;letter-spacing:-.4px}#bhs-guide .bg-brand small{display:block;color:var(--muted);font-size:10px;letter-spacing:1.7px;text-transform:uppercase;margin-top:5px}#bhs-guide .bg-quote-btn{font-size:13px;padding:10px 16px}#bhs-guide .bg-count{display:inline-flex;align-items:center;justify-content:center;background:#efeee7;color:var(--red);min-width:23px;height:23px;border-radius:50%;font-size:12px;margin-left:9px}#bhs-guide .bg-main{flex:1;width:min(100% - 40px,1080px);margin:0 auto;padding:60px 0 60px}#bhs-guide .bg-hero{text-align:center;max-width:680px;margin:0 auto}#bhs-guide .bg-eyebrow{font-size:10px;letter-spacing:2px;color:var(--muted);font-weight:600;margin-bottom:19px}#bhs-guide h1{font-size:clamp(34px,4.3vw,53px);line-height:1.14;letter-spacing:-2px;font-weight:450}#bhs-guide .bg-search{display:flex;gap:10px;align-items:center;background:white;border:1px solid #d9dbd1;border-radius:999px;padding:7px 8px 7px 23px;max-width:605px;margin:0 auto;box-shadow:0 5px 18px #282c2010}#bhs-guide .bg-search:focus-within{border-color:#9b9e8e;box-shadow:0 5px 24px #282c2018}#bhs-guide .bg-search svg{width:18px;flex:none;color:#9b9c94}#bhs-guide .bg-search input{width:100%;min-width:0;background:transparent;border:0;padding:9px 0;color:var(--ink);outline:0;font-size:14px}#bhs-guide .bg-search button{background:#555555;color:#fff;border-color:#555555;padding:12px 20px;font-size:13px}#bhs-guide .bg-actions{display:flex;justify-content:center;gap:10px;margin:19px 0 13px;flex-wrap:wrap}#bhs-guide .bg-actions button{font-size:13px;background:transparent;padding:10px 18px}#bhs-guide .bg-hint{font-size:11px;color:var(--muted)}#bhs-guide .bg-status{min-height:26px;margin:18px auto 0;text-align:center;font-size:12px;color:var(--muted)}#bhs-guide .bg-shimmer{background:linear-gradient(100deg,#909387 15%,#c6c8bc 35%,#373c30 50%,#c6c8bc 65%,#909387 85%);background-size:220% 100%;background-clip:text;-webkit-background-clip:text;color:transparent;animation:bg-shimmer 1.5s linear infinite}#bhs-guide .bg-workspace{border-radius:20px;border-top:1px solid var(--line);margin:27px auto 0;padding:clamp(18px,3vw,32px);animation:bg-enter .35s ease both}#bhs-guide .bg-breadcrumb{display:flex;gap:9px;align-items:center;flex-wrap:wrap;color:var(--muted);font-size:12px;margin-bottom:20px}#bhs-guide .bg-breadcrumb button{padding:0;border:0;background:transparent;font-size:12px;color:var(--muted);border-radius:3px}#bhs-guide .bg-breadcrumb button:hover{text-decoration:underline}#bhs-guide .bg-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:20px}#bhs-guide h2{font-size:25px;letter-spacing:-.65px;line-height:1.25}#bhs-guide .bg-section-copy{color:var(--muted);font-size:13px;margin-top:7px;max-width:620px}#bhs-guide .bg-category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}#bhs-guide .bg-category{display:flex;align-items:center;gap:16px;text-align:left;border-radius:16px;padding:23px;background:#fff;min-height:97px}#bhs-guide .bg-category svg{width:27px;height:27px;flex:none;stroke-width:1.3;color:#7c8070}#bhs-guide .bg-category strong{display:block;font-weight:500;font-size:15px}#bhs-guide .bg-category small{display:block;font-size:11px;color:var(--muted);margin-top:5px}#bhs-guide .bg-category .bg-arrow{margin-left:auto;color:#8d9182}#bhs-guide .bg-product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}#bhs-guide .bg-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;display:flex;flex-direction:column}#bhs-guide .bg-product-photo{height:180px;background:#fff;padding:22px;width:100%;object-fit:contain}#bhs-guide .bg-card-body{padding:18px 20px;display:flex;flex-direction:column;flex:1}#bhs-guide .bg-card small{font-size:10px;color:var(--muted);letter-spacing:.5px}#bhs-guide .bg-card h3{font-size:15px;font-weight:500;line-height:1.5;margin:8px 0 17px}#bhs-guide .bg-price{font-size:20px;letter-spacing:-.5px;margin-top:auto}#bhs-guide .bg-price small{font-size:11px;letter-spacing:0;margin-left:5px}#bhs-guide .bg-card-actions{display:flex;gap:8px;align-items:center;margin-top:16px}#bhs-guide .bg-card-actions button{font-size:12px;padding:10px 13px}#bhs-guide .bg-card-actions .bg-add{background:#f5f1e9;border-color:#e3dbcd}#bhs-guide .bg-source{display:block;font-size:11px;margin-top:13px;text-decoration:underline;color:var(--muted)}#bhs-guide .bg-empty{padding:26px;border:1px solid var(--line);border-radius:18px;background:#fff}#bhs-guide .bg-empty p{font-size:14px;color:var(--muted);margin:9px 0 20px}#bhs-guide .bg-empty button{font-size:13px}#bhs-guide .bg-bottom-note{font-size:11px;color:var(--muted);margin-top:18px}#bhs-guide .bg-footer{border-top:1px solid var(--line);padding:20px 4vw;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;color:var(--muted);font-size:11px}#bhs-guide .bg-footer div{display:flex;gap:20px;flex-wrap:wrap}#bhs-guide dialog{border:1px solid var(--line);border-radius:22px;padding:0;color:var(--ink);background:var(--paper);width:min(680px,calc(100vw - 30px));max-height:88svh;box-shadow:0 25px 100px #1113;font:inherit}#bhs-guide dialog::backdrop{background:#2429225c;backdrop-filter:blur(4px)}#bhs-guide .bg-dialog-body{padding:30px}#bhs-guide .bg-dialog-top{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:24px}#bhs-guide .bg-dialog-top button{padding:9px 15px;font-size:12px}#bhs-guide .bg-dialog-body>p{color:var(--muted);font-size:13px;margin:12px 0 20px}#bhs-guide .bg-quote-line{display:grid;grid-template-columns:1fr auto;gap:15px;padding:17px 0;border-bottom:1px solid var(--line)}#bhs-guide .bg-quote-line strong{font-weight:500;font-size:14px;display:block}#bhs-guide .bg-quote-line small{color:var(--muted);font-size:11px}#bhs-guide .bg-qty{display:flex;gap:7px;align-items:center;margin-top:9px}#bhs-guide .bg-qty button{padding:4px 10px;font-size:12px}#bhs-guide .bg-qty span{font-size:12px;min-width:15px;text-align:center}#bhs-guide .bg-quote-value{text-align:right;font-size:14px}#bhs-guide .bg-summary{display:flex;justify-content:space-between;padding:20px 0;font-size:16px}#bhs-guide .bg-quote-note{font-size:11px;color:var(--muted);padding-bottom:20px}#bhs-guide .bg-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}#bhs-guide label{display:block;font-size:12px;color:#64685b}#bhs-guide label input,#bhs-guide label textarea{display:block;border:1px solid #d8dace;background:#fff;border-radius:9px;padding:12px;width:100%;margin-top:6px;color:var(--ink);font-size:14px}#bhs-guide label textarea{resize:vertical;min-height:90px}#bhs-guide .bg-span{grid-column:1\/-1}#bhs-guide .bg-primary{background:var(--ink)!important;border-color:var(--ink)!important;color:#fff!important}#bhs-guide .bg-quote-end{display:flex;gap:10px;margin-top:22px;flex-wrap:wrap}#bhs-guide .bg-details-list{color:var(--muted);font-size:14px;line-height:1.8}#bhs-guide .bg-detail-img{display:block;height:210px;max-width:100%;object-fit:contain;margin:10px auto 25px}#bhs-guide .bg-mail-copy{white-space:pre-wrap;font:12px\/1.7 inherit;background:#fff;border:1px solid var(--line);padding:16px;border-radius:12px;max-height:240px;overflow:auto}#bhs-guide .bg-preview{font-size:10px;letter-spacing:.3px;color:#8c8e83}\n@keyframes bg-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes bg-shimmer{to{background-position:-220% 0}}@media(min-width:1000px){#bhs-guide .bg-main{padding-top:65px}}@media(max-width:700px){#bhs-guide .bg-header{padding:20px}#bhs-guide .bg-brand strong{font-size:15px}#bhs-guide .bg-brand small{font-size:8px;letter-spacing:1px}#bhs-guide .bg-main{padding-top:38px}#bhs-guide h1{letter-spacing:-1.3px}#bhs-guide .bg-search{padding-left:16px;gap:7px}#bhs-guide .bg-search input{font-size:13px}#bhs-guide .bg-search button{padding:12px 15px}#bhs-guide .bg-category-grid{grid-template-columns:repeat(2,1fr)}#bhs-guide .bg-category{padding:17px;gap:10px;min-height:103px}#bhs-guide .bg-category svg{width:22px}#bhs-guide .bg-category strong{font-size:13px}#bhs-guide .bg-category small{font-size:10px}#bhs-guide .bg-product-grid{grid-template-columns:repeat(2,1fr)}#bhs-guide .bg-card-body{padding:15px}#bhs-guide .bg-card-actions{flex-wrap:wrap}#bhs-guide .bg-footer{padding:20px}#bhs-guide .bg-dialog-body{padding:22px}#bhs-guide .bg-section-head{display:block}#bhs-guide .bg-section-head>button{margin-top:15px}}@media(max-width:420px){#bhs-guide .bg-product-grid{grid-template-columns:1fr}#bhs-guide .bg-category{gap:9px;padding:14px}#bhs-guide .bg-category .bg-arrow{display:none}#bhs-guide .bg-form-grid{grid-template-columns:1fr}#bhs-guide .bg-brand img{width:34px;height:34px}#bhs-guide .bg-brand{gap:8px}#bhs-guide .bg-quote-btn{padding:9px 12px}#bhs-guide .bg-count{margin-left:4px}#bhs-guide .bg-search input{font-size:12px}}@media(prefers-reduced-motion:reduce){#bhs-guide *,#bhs-guide *::before{animation:none!important;transition:none!important}#bhs-guide .bg-shimmer{background:none;color:var(--muted)}}\nbody:has(#bhs-guide) #main .full-container{max-width:none!important;width:100%!important;padding:0!important}#bhs-guide .bg-footer{width:100%!important;float:none!important;clear:both;flex-shrink:0}#bhs-guide .bg-footer>span,#bhs-guide .bg-footer>div{width:auto!important;float:none!important}#bhs-guide .bg-search input{flex:1}#bhs-guide .bg-search button{flex:none;white-space:nowrap}\n#bhs-guide .bg-header{position:sticky;top:0;z-index:20;background:rgba(250,249,246,.96);backdrop-filter:blur(10px)}body.admin-bar #bhs-guide .bg-header{top:32px}#bhs-guide .bg-workspace{scroll-margin-top:140px}@media(max-width:782px){body.admin-bar #bhs-guide .bg-header{top:46px}}\nbody:has(#bhs-guide) #page-wrapper{overflow:visible!important}\n#bhs-guide .bg-header{justify-content:flex-end;padding:18px 4vw}#bhs-guide .bg-main{padding-top:20px}#bhs-guide .bg-centered-logo{display:flex;justify-content:center;width:260px;height:260px;margin:0 auto 26px}#bhs-guide .bg-centered-logo img{width:260px;height:260px;max-width:none}@media(max-width:700px){#bhs-guide .bg-header{padding:16px 20px}#bhs-guide .bg-main{padding-top:10px}#bhs-guide .bg-centered-logo,#bhs-guide .bg-centered-logo img{width:210px;height:210px}#bhs-guide .bg-centered-logo{margin-bottom:23px}}\n#bhs-guide label select{display:block;width:100%;border:1px solid #d8dace;background:#fff;border-radius:9px;padding:12px;margin-top:6px;color:var(--ink);font-family:inherit;font-size:14px;line-height:1.4}#bhs-guide .bg-optional{font-size:11px;color:var(--muted)}#bhs-guide .bg-support-help{font-size:12px;color:var(--muted);line-height:1.6;margin-top:15px}#bhs-guide .bg-support-summary{background:white;border:1px solid var(--line);border-radius:14px;padding:18px 20px}#bhs-guide .bg-support-summary>span{color:var(--red);font-size:11px;text-transform:uppercase;letter-spacing:.7px}#bhs-guide .bg-support-summary dl{display:grid;grid-template-columns:110px 1fr;gap:8px 14px;margin:17px 0 0;font-size:13px}#bhs-guide .bg-support-summary dt{font-weight:400;color:var(--muted)}#bhs-guide .bg-support-summary dd{margin:0;overflow-wrap:anywhere}#bhs-guide .bg-support-primary{display:inline-block;background:var(--ink);color:#fff;border-radius:999px;padding:12px 19px;font-size:13px}#bhs-guide .bg-support-contact{border-top:1px solid var(--line);margin-top:22px;padding-top:18px;display:flex;gap:15px;align-items:center;flex-wrap:wrap;font-size:12px}#bhs-guide .bg-support-contact a{text-decoration:underline}#bhs-guide .bg-support-contact button{font-size:12px;padding:8px 12px}\n#bhs-guide .bg-centered-logo img{mix-blend-mode:normal}\n#bhs-guide .bg-catalogue-controls{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap;margin:20px 0}#bhs-guide .bg-catalogue-controls label{min-width:190px;font-size:11px}#bhs-guide .bg-catalogue-controls select{font-size:13px;padding:9px 12px;margin-top:5px}#bhs-guide .bg-catalogue-controls>span{font-size:12px;color:var(--muted);padding-bottom:10px}#bhs-guide .bg-catalogue-pagination{display:flex;justify-content:center;align-items:center;gap:20px;margin:30px 0 0}#bhs-guide .bg-catalogue-pagination button,#bhs-guide .bg-catalogue-pagination span{font-size:12px}\n#bhs-guide .bg-search button:hover{background:#474747;border-color:#474747}\n#bhs-guide .bg-intro{max-width:560px;margin:28px auto 34px;text-align:center;animation:bg-enter .7s ease both}\n#bhs-guide .bg-intro p{font-size:14px;line-height:1.65;color:#74766e}\n#bhs-guide .bg-intro p+p{margin-top:10px}\n#bhs-guide .bg-intro .bg-company-intro{font-weight:500;color:#66695f}\n#bhs-guide .bg-hero>.bg-support-link{display:inline-block;border:0;border-radius:3px;padding:4px 0;margin:8px 0 0;background:transparent;color:var(--red);font-size:12px;font-weight:400}\n#bhs-guide .bg-hero>.bg-support-link:hover{background:transparent;text-decoration:underline}\n@media(max-width:700px){#bhs-guide .bg-intro{max-width:440px;margin:24px auto 28px;padding:0 5px}#bhs-guide .bg-intro p{font-size:13px}}\n#bhs-guide .bg-dialog-body .bg-secondary-price{font-size:12px;color:var(--muted);margin:5px 0 0}\n#bhs-guide .bg-centered-logo{margin-bottom:14px}\n#bhs-guide .bg-hero>.bg-company-intro{font-size:13px;line-height:1.6;font-weight:500;color:#74766e;max-width:560px;margin:0 auto 30px}\n#bhs-guide .bg-intro{margin-top:22px}\n@media(max-width:700px){#bhs-guide .bg-hero>.bg-company-intro{font-size:12px;max-width:440px;margin-bottom:26px}}\n#bhs-guide .bg-centered-logo{width:360px;max-width:100%;height:auto;margin-bottom:14px}#bhs-guide .bg-centered-logo img{display:block;width:100%;max-width:100%;height:auto;clip-path:none;object-fit:contain;mix-blend-mode:normal}@media(max-width:700px){#bhs-guide .bg-centered-logo{width:300px;height:auto}#bhs-guide .bg-centered-logo img{width:100%;height:auto}}\n#bhs-guide .bg-clearance-badge{align-self:flex-start;color:var(--red);background:#fff0e8;border-radius:999px;padding:4px 9px;font-size:11px;line-height:1.5;margin:0 0 10px}#bhs-guide .bg-reference-price{font-size:11px;color:var(--muted);line-height:1.7;margin:0 0 5px}#bhs-guide .bg-reference-price del{text-decoration-thickness:1px}\n#bhs-guide .bg-gallery{margin:8px 0 25px}#bhs-guide .bg-gallery figure{margin:0}#bhs-guide .bg-gallery-image{display:block;width:100%;height:240px;object-fit:contain;background:#fff;border-radius:12px}#bhs-guide .bg-gallery figcaption{font-size:11px;color:var(--muted);line-height:1.6;text-align:center;margin:10px 0}#bhs-guide .bg-gallery-controls{display:flex;align-items:center;justify-content:center;gap:16px}#bhs-guide .bg-gallery-controls button{font-size:12px;padding:7px 13px}#bhs-guide .bg-gallery-controls span{font-size:11px;color:var(--muted)}#bhs-guide .bg-gallery-source{display:block;font-size:11px;text-align:center;text-decoration:underline;margin-top:10px;color:var(--muted)}\n#bhs-guide .bg-finance-link{display:block;align-self:flex-start;color:var(--red);font-size:11px;line-height:1.5;margin-top:10px;text-decoration:none}#bhs-guide .bg-finance-link:hover{text-decoration:underline}#bhs-guide .bg-quote-line .bg-finance-link{font-size:11px;margin-top:6px}\n.bg-sc-estimate{margin-top:12px;font-size:11px;line-height:1.5}.bg-sc-label,.bg-sc-weekly,.bg-sc-note{display:block}.bg-sc-label,.bg-sc-note{color:#74766e}.bg-sc-weekly{font-size:13px;font-weight:500;color:#555555;margin:3px 0}.bg-sc-note{font-size:10px}.bg-sc-estimate[data-sc-state=\"loading\"] .bg-sc-weekly{color:#74766e}.bg-sc-estimate[data-sc-state=\"error\"] .bg-sc-weekly{font-size:11px}\n.bg-sc-weekly-inc{display:block;font-size:11px;line-height:1.5;font-weight:400;color:#74766e;margin:0 0 4px}#bhs-finance .bg-sc-weekly-inc{font-size:13px;margin-top:-3px}\n@media(max-width:700px){#bhs-guide .bg-qty{flex-wrap:wrap}#bhs-guide .bg-qty button{min-width:44px;min-height:44px}#bhs-guide .bg-qty span{align-self:center}#bhs-guide .bg-quote-line>div:first-child{min-width:0}#bhs-guide .bg-card-actions button{min-height:44px}}\n#bhs-guide .bg-guided{background:#f5f4ef;border:1px solid var(--line);border-radius:16px;padding:22px;margin:0 0 22px;animation:bg-enter .3s ease both}\n#bhs-guide .bg-guide-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}\n#bhs-guide .bg-guide-heading h3{font-size:18px;letter-spacing:-.3px;font-weight:500}\n#bhs-guide .bg-guide-heading p{font-size:12px;color:var(--muted);margin-top:5px;max-width:620px}\n#bhs-guide .bg-guide-heading>button{font-size:11px;white-space:nowrap;padding:8px 12px;background:transparent}\n#bhs-guide .bg-guide-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:18px}\n#bhs-guide .bg-guide-fields label{font-size:11px;min-width:0}\n#bhs-guide .bg-guide-fields select{display:block;width:100%;min-width:0;max-width:100%;margin-top:5px;border:1px solid #d8dace;border-radius:9px;background:#fff;color:var(--ink);padding:10px 24px 10px 10px;font:inherit;font-size:12px;min-height:44px;text-overflow:ellipsis}\n#bhs-guide .bg-guide-kinds,#bhs-guide .bg-guide-selected{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}\n#bhs-guide .bg-guide-kinds button,#bhs-guide .bg-guide-selected button{font-size:11px;padding:9px 13px;min-height:38px}\n#bhs-guide .bg-guide-kinds [aria-pressed=true]{background:#fff2e9;color:#b43900;border-color:var(--red)}\n#bhs-guide .bg-guide-selected button{background:white;color:#b43900;border-color:#f5c9b3}\n#bhs-guide .bg-guide-more{margin-top:15px;font-size:12px;color:var(--muted)}\n#bhs-guide .bg-guide-more summary{cursor:pointer;width:fit-content;padding:5px 0}\n#bhs-guide .bg-guide-more .bg-guide-fields{margin-top:10px}\n#bhs-guide .bg-guide-foot{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-top:17px}\n#bhs-guide .bg-guide-foot span{font-size:10px;color:var(--muted);max-width:560px}\n#bhs-guide .bg-guide-foot button{font-size:12px;border:0;background:transparent;padding:4px 0;color:#b43900;border-radius:3px}\n#bhs-guide #bg-guide-heading:focus{outline:none}\n@media(max-width:800px){#bhs-guide .bg-guide-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}\n@media(max-width:420px){#bhs-guide .bg-guided{padding:17px}#bhs-guide .bg-guide-fields{grid-template-columns:1fr;gap:11px}#bhs-guide .bg-guide-heading{flex-wrap:wrap;gap:10px}#bhs-guide .bg-guide-kinds button,#bhs-guide .bg-guide-selected button{min-height:44px}#bhs-guide .bg-guide-foot button{min-height:44px}}\n\n#bhs-guide .bg-budget{flex:1 1 420px;max-width:620px;min-width:0;margin:0}\n#bhs-guide .bg-budget fieldset{border:0;padding:0;margin:0;min-width:0}\n#bhs-guide .bg-budget legend{font-size:11px;color:#64685b;padding:0;margin-bottom:7px}\n#bhs-guide .bg-budget-fields{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}\n#bhs-guide .bg-budget-fields label{min-width:0;flex:1 1 110px;max-width:150px;font-size:11px}\n#bhs-guide .bg-budget-fields input{font-size:13px;line-height:1.3;min-height:44px;padding:10px;margin-top:5px;border:1px solid #d8dace;border-radius:9px;max-width:100%}\n#bhs-guide .bg-budget-fields button{font-size:12px;padding:11px 15px;min-height:44px}\n#bhs-guide .bg-budget #bg-budget-error{font-size:12px;color:#a43217;margin-top:7px}\n#bhs-guide .bg-budget .bg-budget-note{font-size:11px;color:var(--muted);margin-top:7px;max-width:560px}\n#bhs-guide .bg-catalogue-controls{align-items:flex-start}\n@media(max-width:700px){#bhs-guide .bg-budget{flex-basis:100%;max-width:100%}#bhs-guide .bg-budget-fields label{max-width:none}#bhs-guide .bg-catalogue-controls>span{width:100%;padding-bottom:0}}\n\n#bhs-guide .bg-catalogue-controls .bg-sort{min-width:220px}\n#bhs-guide .bg-sort select{display:block;width:100%;min-height:44px}\n#bhs-guide .bg-sort small{display:block;font-size:10px;color:var(--muted);margin-top:5px}\n#bhs-guide .bg-catalogue-controls{row-gap:18px}\n#bhs-guide .bg-catalogue-controls .bg-budget{order:4;flex-basis:100%;max-width:none}\n#bhs-guide .bg-catalogue-controls>span{order:3;margin-left:auto}\n@media(max-width:700px){#bhs-guide .bg-catalogue-controls .bg-sort{width:100%;min-width:0}#bhs-guide .bg-catalogue-controls>span{order:5}}\n\n#bhs-guide .bg-card-actions{flex-wrap:wrap}\n#bhs-guide button.bg-compare-pick[aria-pressed=true]{color:#b43900;background:#fff2e9;border-color:var(--red)}\n#bhs-guide .bg-compare-tray{position:fixed;z-index:35;bottom:16px;left:50%;transform:translateX(-50%);width:min(850px,calc(100% - 32px));background:#fff;border:1px solid #e0dfd5;border-radius:18px;padding:14px 18px;box-shadow:0 8px 35px #24292224;display:flex;align-items:center;gap:16px;flex-wrap:wrap}\n#bhs-guide .bg-compare-tray-copy{flex:1;min-width:0}\n#bhs-guide .bg-compare-tray strong{font-size:13px;font-weight:600}\n#bhs-guide .bg-compare-picks{display:flex;gap:6px;flex-wrap:wrap;margin-top:5px}\n#bhs-guide .bg-compare-picks button{font-size:11px;padding:5px 9px;min-height:32px}\n#bhs-guide .bg-compare-tray-actions{display:flex;gap:8px;align-items:center}\n#bhs-guide .bg-compare-tray-actions button{font-size:12px;min-height:44px;padding:10px 14px}\n#bhs-guide #bg-compare-open{background:#555;color:white;border-color:#555}\n#bhs-guide #bg-compare-open:disabled{cursor:default}\n#bhs-guide #bg-compare-tray-status{flex-basis:100%;font-size:11px;color:var(--muted)}\n#bhs-guide #bg-compare-tray-status:empty{display:none}\n#bhs-guide:has(#bg-compare-tray:not([hidden])) .bg-footer{padding-bottom:150px}\n#bhs-guide dialog.bg-compare-dialog{width:min(1120px,calc(100vw - 28px));max-height:90svh}\n#bhs-guide .bg-compare-dialog .bg-dialog-body{padding:24px}\n#bhs-guide .bg-compare-dialog .bg-dialog-top{margin-bottom:12px}\n#bhs-guide .bg-compare-intro,#bhs-guide .bg-compare-note{font-size:12px;color:var(--muted);margin:0 0 15px}\n#bhs-guide .bg-compare-note{font-size:11px;margin:14px 0 0}\n#bhs-guide .bg-compare-scroll{overflow:auto;max-height:64svh;border:1px solid var(--line);border-radius:13px;overscroll-behavior:contain}\n#bhs-guide .bg-compare-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%;min-width:calc(145px + var(--compare-count)*230px);margin:0;font:inherit;line-height:1.5}\n#bhs-guide .bg-compare-label{width:145px}\n#bhs-guide .bg-compare-item{width:230px}\n#bhs-guide .bg-compare-table th,#bhs-guide .bg-compare-table td{border:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px;text-align:left;vertical-align:top;font-size:12px;font-weight:400;color:var(--ink);background:#fff;overflow-wrap:anywhere}\n#bhs-guide .bg-compare-table th:last-child,#bhs-guide .bg-compare-table td:last-child{border-right:0}\n#bhs-guide .bg-compare-table tbody th{position:sticky;left:0;z-index:1;background:#f5f4ef;font-size:11px;font-weight:500}\n#bhs-guide .bg-compare-table thead th{position:sticky;top:0;z-index:2;background:#faf9f6}\n#bhs-guide .bg-compare-table thead th:first-child{left:0;z-index:3;background:#f5f4ef;font-weight:500}\n#bhs-guide .bg-compare-photo{display:block;width:100%;height:100px;object-fit:contain;background:#fff;margin:0 auto 10px}\n#bhs-guide .bg-compare-table h3{font-size:13px;font-weight:500;line-height:1.5;margin:0 0 8px}\n#bhs-guide .bg-compare-table thead small{display:block;font-size:9px;color:var(--muted);margin:4px 0}\n#bhs-guide .bg-compare-table thead button{font-size:11px;padding:7px 11px;min-height:36px;margin-top:6px}\n#bhs-guide .bg-compare-price{font-size:20px;letter-spacing:-.4px}\n#bhs-guide .bg-compare-price small{font-size:10px;letter-spacing:0;white-space:nowrap}\n#bhs-guide .bg-compare-tax{display:block;font-size:10px;color:var(--muted);margin-top:3px}\n#bhs-guide .bg-compare-price-row button{margin-top:12px;font-size:12px;min-height:44px;padding:10px 12px}\n#bhs-guide .bg-compare-table ul{margin:0;padding-left:15px;font-size:12px}\n#bhs-guide .bg-compare-table li+li{margin-top:7px}\n#bhs-guide .bg-compare-table a{text-decoration:underline;color:#b43900}\n#bhs-guide #bg-compare-status{font-size:12px;color:var(--muted);margin-top:10px}\n#bhs-guide .bg-compare-swipe{display:none}\n#bhs-guide .bg-compare-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}\n#bhs-guide .bg-compare-dialog .bg-dialog-top{position:sticky;top:0;z-index:5;background:var(--paper);padding-bottom:8px}\n@media(max-width:700px){#bhs-guide .bg-compare-tray{bottom:10px;padding:12px;gap:9px;width:calc(100% - 20px)}#bhs-guide .bg-compare-picks button{min-height:40px}#bhs-guide .bg-compare-tray-actions{width:100%}#bhs-guide .bg-compare-tray-actions button:first-child{flex:1}#bhs-guide .bg-compare-dialog .bg-dialog-body{padding:16px}#bhs-guide .bg-compare-scroll{max-height:61svh}#bhs-guide .bg-compare-table{min-width:calc(100px + var(--compare-count)*190px)}#bhs-guide .bg-compare-label{width:100px}#bhs-guide .bg-compare-item{width:190px}#bhs-guide .bg-compare-table th,#bhs-guide .bg-compare-table td{padding:11px}#bhs-guide .bg-compare-photo{height:80px}#bhs-guide .bg-compare-table thead button{min-height:44px}#bhs-guide .bg-compare-swipe{display:block;font-size:11px;color:var(--muted);margin:0 0 10px}}\n@media(max-width:700px){#bhs-guide .bg-compare-scroll{max-height:44svh}#bhs-guide .bg-compare-table{min-width:calc(80px + var(--compare-count)*160px)}#bhs-guide .bg-compare-label{width:80px}#bhs-guide .bg-compare-item{width:160px}#bhs-guide .bg-compare-photo{height:56px}#bhs-guide .bg-compare-table h3{font-size:12px}#bhs-guide:has(#bg-compare-tray:not([hidden])) .bg-footer{padding-bottom:200px}}\n\n#bhs-guide .bg-basket-tools{margin:-4px 0 20px;padding-bottom:12px;border-bottom:1px solid var(--line)}\n#bhs-guide .bg-basket-buttons{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px}\n#bhs-guide .bg-basket-buttons button{padding:9px 16px;font-size:13px;min-height:40px}\n#bhs-guide .bg-basket-buttons .bg-basket-restore{color:var(--red);border-color:var(--red)}\n#bhs-guide .bg-basket-tools small{display:block;color:var(--muted);margin-top:9px;font-size:12px}\n#bhs-guide #bg-basket-status{font-size:13px;margin:10px 0 0;color:var(--ink)}\n#bhs-guide #bg-basket-status:empty{display:none}\n#bhs-guide .bg-basket-tools:has(.bg-basket-buttons:empty):not(:has(small)){margin:0;padding:0;border:0}\n@media(max-width:520px){#bhs-guide .bg-basket-buttons{justify-content:flex-start}}\n\n\n#bhs-guide .bg-supplier-photo{margin:0 0 18px}#bhs-guide .bg-supplier-photo figcaption{font-size:11px;line-height:1.5;color:#747871;margin-top:6px}#bhs-guide .bg-photo-note{display:block;text-align:center;font-size:11px;line-height:1.5;color:#747871;padding:0 12px 8px}\n<\/style>\n<div id=\"bhs-guide\">\n <header class=\"bg-header\"><a class=\"bhs-service-open\" href=\"https:\/\/barrettshospitalitysupplies.com\/?page_id=22985\" aria-haspopup=\"dialog\">Book a service<\/a><button class=\"bg-quote-btn\" id=\"bg-open-quote\">Your quote <span class=\"bg-count\" id=\"bg-count\">0<\/span><\/button><\/header>\n <div class=\"bg-main\">\n  <section class=\"bg-hero\" aria-labelledby=\"bg-title\"><a class=\"bg-brand bg-centered-logo\" href=\"https:\/\/barrettshospitalitysupplies.com\/\" aria-label=\"Barrett\u2019s Hospitality Supplies home\"><img decoding=\"async\" src=\"https:\/\/barrettshospitalitysupplies.com\/wp-content\/uploads\/2026\/10\/BHS-New-Diamond-transparent-768x512.png\" alt=\"Barrett\u2019s Hospitality Supplies\"><\/a><p class=\"bg-company-intro\">Equipment sales and service for the Blayney Wholesale Foods network.<\/p><h1 id=\"bg-title\">What can we help<br><span class=\"bg-title-accent\">you find today?<\/span><\/h1>\n   <div class=\"bg-intro\"><p>Tell us what you need, and we\u2019ll help you build a quote.<\/p><\/div>\n   <form id=\"bg-search-form\" class=\"bg-search\" role=\"search\"><svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" aria-hidden=\"true\"><circle cx=\"10.5\" cy=\"10.5\" r=\"6.5\"\/><path d=\"m16 16 5 5\"\/><\/svg><input id=\"bg-search\" aria-label=\"Search equipment, brands or model numbers\" placeholder=\"Try \u2018display fridge\u2019 or a model number\u2026\" autocomplete=\"off\"><button type=\"submit\">Find it <span aria-hidden=\"true\">\u2197<\/span><\/button><\/form>\n   <div class=\"bg-actions\"><button id=\"bg-explore\">Explore our range <span aria-hidden=\"true\">\u2193<\/span><\/button><button id=\"bg-unsure\"><span class=\"bg-help-spark\" aria-hidden=\"true\">\u2727<\/span>Help me choose<\/button><button type=\"button\" id=\"bg-clearance\">Clearance<\/button><\/div><button type=\"button\" class=\"bg-support-link\" id=\"bg-support\">Service, warranty &amp; registration \u2197<\/button>\n  <\/section>\n  <div class=\"bg-status\" id=\"bg-status\" role=\"status\" aria-live=\"polite\"><\/div><section id=\"bg-workspace\" class=\"bg-workspace\" hidden aria-label=\"Equipment explorer\"><\/section>\n <\/div>\n <footer class=\"bg-footer\"><div><a href=\"tel:+61263689400\">(02) 6368 9400<\/a><span class=\"bg-preview\">Supplier catalogue<\/span><\/div><\/footer>\n <aside id=\"bg-compare-tray\" class=\"bg-compare-tray\" aria-label=\"Product comparison\" hidden><\/aside>\n <dialog id=\"bg-dialog\" aria-labelledby=\"bg-dialog-title\"><div class=\"bg-dialog-body\" id=\"bg-dialog-body\"><\/div><\/dialog>\n <noscript><p>Please enable JavaScript to use the equipment guide, or call <a href=\"tel:+61263689400\">(02) 6368 9400<\/a> for help with a quote.<\/p><\/noscript>\n<\/div>\n<script>\n(function(){'use strict';\nconst root=document.getElementById('bhs-guide');if(!root||root.dataset.ready)return;root.dataset.ready='1';\nconst $=s=>root.querySelector(s),esc=s=>String(s).replace(\/[&<>\"']\/g,c=>({'&':'&amp;','<':'&lt;','>':'&gt;','\"':'&quot;',\"'\":'&#39;'}[c])),money=n=>new Intl.NumberFormat('en-AU',{style:'currency',currency:'AUD',maximumFractionDigits:2}).format(n),normalize=s=>s.toLowerCase().replace(\/[^a-z0-9]+\/g,' ').trim();\nconst tree=[\n {name:'Cooking',hint:'Ovens, cooktops & fryers',icon:'oven',tags:'cook hot kitchen cooker grill restaurant',children:[{name:'Ovens',children:[{name:'Convection Ovens'},{name:'Combi-Steamer Ovens'},{name:'Pizza Deck Ovens'}]},{name:'Cooktops'},{name:'Fryers',children:[{name:'Deep Fryers'},{name:'Chip Scuttles'}]},{name:'Griddles'},{name:'Chargrills \/ Barbecues'}]},\n {name:'Refrigeration',hint:'Fridges, freezers & display',icon:'fridge',tags:'cold fridge refrigerator fridges freezer chill drinks beverage upright display underbench',children:[{name:'Commercial Fridges',children:[{name:'Upright Fridges',key:'upright'},{name:'Underbench Fridges'}]},{name:'Commercial Freezers'},{name:'Blast Chiller \/ Blast Freezer'},{name:'Refrigerated Displays'}]},\n {name:'Baking',hint:'Mixing, dividing & proving',icon:'baking',tags:'bake baker bakery bread dough roll rolls pastry divider rounder mixer pizza',children:[{name:'Divider \/ Rounders',key:'divider'},{name:'Mixers',children:[{name:'Planetary Mixers'},{name:'Spiral Mixers'},{name:'Fork Mixers'}]},{name:'Pastry Sheeters'},{name:'Prover \/ Retarder Provers'}]},\n {name:'Warewashing',hint:'Dishwashers & glasswashers',icon:'wash',tags:'wash washing dishwasher dishwashers dishes glasswasher glasswashers clean washtech',children:[{name:'Dishwashers',children:[{name:'Undercounter Dishwashers'},{name:'Pass Through Dishwashers'},{name:'Conveyor Dishwashers'}]},{name:'Glasswashers'},{name:'Utensil Washers'}]},\n {name:'Coffee',hint:'Machines & grinders',icon:'coffee',tags:'coffee cafe espresso cappuccino grinder barista',children:[{name:'Coffee Machines',children:[{name:'Espresso Machines'},{name:'Automatic Coffee Machines'}]},{name:'Coffee Grinders'}]},\n {name:'Ice',hint:'Ice makers & storage',icon:'ice',tags:'ice icemaker ice machine ice machines cube flake',children:[{name:'Ice Machines',children:[{name:'Self Contained Ice Makers'},{name:'Modular Ice Makers'},{name:'Ice Storage Bins'},{name:'Ice & Water Dispensers'}]}]}\n];\nconst icons={oven:'<rect x=\"4\" y=\"3\" width=\"20\" height=\"25\" rx=\"2\"\/><path d=\"M4 9h20M9 6h1m4 0h1m4 0h1M8 13h12v10H8z\"\/>',fridge:'<rect x=\"7\" y=\"2\" width=\"18\" height=\"28\" rx=\"2\"\/><path d=\"M7 12h18M11 7v2m0 7v5\"\/>',baking:'<path d=\"M5 17h22l-3 11H8L5 17Zm1 0c-4-5 0-10 4-8-1-7 11-9 12-1 5-1 10 6 4 9M11 18v7m5-7v7m5-7v7\"\/>',wash:'<rect x=\"4\" y=\"3\" width=\"24\" height=\"26\" rx=\"2\"\/><path d=\"M4 10h24M9 6h1m4 0h1M9 15h14M9 20h14M9 25h14\"\/>',coffee:'<path d=\"M5 12h18v10a7 7 0 0 1-7 7h-4a7 7 0 0 1-7-7V12Zm18 2h2a5 5 0 0 1 0 10h-3M10 2v6m6-6v6M3 29h25\"\/>',ice:'<path d=\"M16 2v28M4 9l24 14M4 23 28 9M11 5l5 4 5-4M11 27l5-4 5 4M4 15l6-2-1-6m19 10-6 2 1 6M4 17l6 2-1 6m19-10-6-2 1-6\"\/>'};\nconst fed=[{\"image\":\"https:\/\/www.foodequipment.com.au\/media\/catalog\/product\/cache\/e0fd5ad2034a33c51d4cdcdd9c3d48f7\/s\/f\/sfwcg1000_1.png\",\"name\":\"THERMASTER 1000L Full-Width Double Glass Door Upright Display Fridge \u2014 SFWCG1000\",\"prices\":[{\"cls\":\"price-wrapper price-including-tax\",\"container\":\"\",\"value\":\"$5,159.00\"},{\"cls\":\"price-wrapper price-excluding-tax\",\"container\":\"\",\"value\":\"$4,690.00\"}],\"url\":\"https:\/\/www.foodequipment.com.au\/thermaster-1000l-full-width-double-glass-door-upright-display-fridge-sfwcg1000.html\"},{\"image\":\"https:\/\/www.foodequipment.com.au\/media\/catalog\/product\/cache\/e0fd5ad2034a33c51d4cdcdd9c3d48f7\/s\/f\/sfwcg500b.jpg\",\"name\":\"THERMASTER 500L Full-Width Single Black Glass Door Upright Display Fridge \u2014 SFWCG500B\",\"prices\":[{\"cls\":\"price-wrapper price-including-tax\",\"container\":\"\",\"value\":\"$4,279.00\"},{\"cls\":\"price-wrapper price-excluding-tax\",\"container\":\"\",\"value\":\"$3,890.00\"}],\"url\":\"https:\/\/www.foodequipment.com.au\/thermaster-500l-full-width-single-glass-door-upright-display-fridge-sfwcg500-1.html\"},{\"image\":\"https:\/\/www.foodequipment.com.au\/media\/catalog\/product\/cache\/e0fd5ad2034a33c51d4cdcdd9c3d48f7\/l\/s\/lsc235_2.jpg\",\"name\":\"LSC235 Four-sided Upright Beverage Display Fridge Ivory-white\",\"prices\":[{\"cls\":\"price-wrapper price-including-tax\",\"container\":\"\",\"value\":\"$2,519.00\"},{\"cls\":\"price-wrapper price-excluding-tax\",\"container\":\"\",\"value\":\"$2,290.00\"}],\"url\":\"https:\/\/www.foodequipment.com.au\/thermaster-four-sided-upright-beverage-display-fridge-ivory-white-lsc235.html\"},{\"image\":\"https:\/\/www.foodequipment.com.au\/media\/catalog\/product\/cache\/e0fd5ad2034a33c51d4cdcdd9c3d48f7\/l\/g\/lg-370p-1.jpg\",\"name\":\"Thermaster Single Glass Door Colourbond Upright Drink Fridge - LG-370P\\r\\n\",\"prices\":[{\"cls\":\"price-wrapper price-including-tax\",\"container\":\"\",\"value\":\"$1,749.00\"},{\"cls\":\"price-wrapper price-excluding-tax\",\"container\":\"\",\"value\":\"$1,590.00\"}],\"url\":\"https:\/\/www.foodequipment.com.au\/thermaster-single-glass-door-colourbond-upright-drink-fridge-lg-370p.html\"},{\"image\":\"https:\/\/www.foodequipment.com.au\/media\/catalog\/product\/cache\/e0fd5ad2034a33c51d4cdcdd9c3d48f7\/l\/g\/lg-540bp-1.jpg\",\"name\":\"Thermaster 540L Single Glass Door Black Colourbond Upright Drink Fridge LG-540BP\",\"prices\":[{\"cls\":\"price-wrapper price-including-tax\",\"container\":\"\",\"value\":\"$1,969.00\"},{\"cls\":\"price-wrapper price-excluding-tax\",\"container\":\"\",\"value\":\"$1,790.00\"}],\"url\":\"https:\/\/www.foodequipment.com.au\/thermaster-single-glass-door-black-colourbond-upright-drink-fridge-lg-540bp.html\"},{\"image\":\"https:\/\/www.foodequipment.com.au\/media\/catalog\/product\/cache\/e0fd5ad2034a33c51d4cdcdd9c3d48f7\/l\/g\/lg-540p-1.jpg\",\"name\":\"Thermaster 540L Single Glass Door Colourbond Upright Drink Fridge White LG-540P\",\"prices\":[{\"cls\":\"price-wrapper price-including-tax\",\"container\":\"\",\"value\":\"$1,969.00\"},{\"cls\":\"price-wrapper price-excluding-tax\",\"container\":\"\",\"value\":\"$1,790.00\"}],\"url\":\"https:\/\/www.foodequipment.com.au\/thermaster-single-glass-door-colourbond-upright-drink-fridge-white-lg-540p.html\"}];\nconst products=fed.map((p,i)=>({id:['SFWCG1000','SFWCG500B','LSC235','LG-370P','LG-540BP','LG-540P'][i],name:p.name.trim().replace(\/\u2014| - \/g,' \u00b7 '),image:p.image,url:p.url,price:Number(p.prices.find(x=>x.cls.includes('excluding')).value.replace(\/[^\\d.]\/g,'')),key:'upright',supplier:'FED',tags:'refrigeration fridge refrigerator upright display drink beverage glass door thermaster',description:'Glass-door upright refrigeration. Open the supplier details to confirm specifications and dimensions for your space.'}));\nproducts.push({id:'SYNCRO160',name:'Artezen SYNCRO160 Roll Divider Rounder',key:'divider',supplier:'Moffat',url:'https:\/\/www.moffat.com.au\/products\/artezen-syncro160-roll-divider-rounder',image:'',price:null,tags:'baking bakery bread dough roll divider rounder artezen syncro 160',description:'For rolls of 60\u2013160 g. Dimensions: 2000 W \u00d7 780 D \u00d7 1940 H mm. Confirm capacity, services and installation with our team.'});\nlet quote=[];try{quote=JSON.parse(localStorage.getItem('bhs-guide-quote-v1')||'[]').filter(x=>x&&typeof x.id==='string'&&Number.isInteger(x.qty)&&x.qty>0&&99>=x.qty&&(products.some(p=>p.id===x.id)||x.custom||(x.product&&x.product.id===x.id&&typeof x.product.name==='string')));}catch(e){quote=[];}let path=[],view='categories',lastQuery='',searchTimer,details={},lastFocus;\nfunction save(){try{localStorage.setItem('bhs-guide-quote-v1',JSON.stringify(quote));}catch(e){}$('#bg-count').textContent=quote.reduce((s,x)=>s+x.qty,0);}\nfunction say(text){$('#bg-status').classList.remove('bg-shimmer');$('#bg-status').textContent=text;}\nfunction reveal(html,options={}){const w=$('#bg-workspace');w.hidden=false;w.innerHTML=html;refreshComparisonTray();w.setAttribute('tabindex','-1');if(options.focus!==false)w.focus({preventScroll:true});if(options.scroll!==false)w.scrollIntoView({behavior:matchMedia('(prefers-reduced-motion: reduce)').matches?'instant':'smooth',block:'start'});}\nfunction crumbs(){return '<nav class=\"bg-breadcrumb\" aria-label=\"Category path\"><button data-home>Our range<\/button>'+path.map((x,i)=>'<span aria-hidden=\"true\">\/<\/span><button data-crumb=\"'+i+'\">'+esc(x.name)+'<\/button>').join('')+'<\/nav>';}\nfunction tile(n,i){return '<button class=\"bg-category\" data-category=\"'+i+'\">'+(n.icon?'<svg viewBox=\"0 0 32 32\" fill=\"none\" stroke=\"currentColor\" aria-hidden=\"true\">'+icons[n.icon]+'<\/svg>':'')+'<span><strong>'+esc(n.name)+'<\/strong><small>'+esc(n.hint||(n.children?'Explore options':'Find equipment'))+'<\/small><\/span><span class=\"bg-arrow\" aria-hidden=\"true\">\u2197<\/span><\/button>';}\nfunction categories(){view='categories';const n=path[path.length-1],list=n?n.children:tree;if(!list){showLeaf(n);return;}reveal(crumbs()+'<div class=\"bg-section-head\"><div><h2>'+esc(n?n.name:'Let\u2019s start with a category.')+'<\/h2><p class=\"bg-section-copy\">'+(n?'Choose the type of equipment you have in mind.':'Take a look around. We\u2019ll narrow it down together.')+'<\/p><\/div><\/div><div class=\"bg-category-grid\">'+list.map(tile).join('')+'<\/div>');say('');}\nfunction productGallery(p,index=0){const catalogue=Array.isArray(p.catalogueImages)?p.catalogueImages.filter(x=>\/^https:\\\/\\\/\/.test(x.src||'')):[];if(!p.clearance||!catalogue.length)return p.image?'<figure class=\"bg-supplier-photo\"><img decoding=\"async\" class=\"bg-detail-img\" src=\"'+esc(p.image)+'\" alt=\"'+esc(p.name)+'\">'+(p.imageBasis?'<figcaption>'+esc(p.imageBasis)+'<\/figcaption>':'')+'<\/figure>':'';const photos=[...catalogue,...(p.image?[{src:p.image,caption:'Warehouse photo \u2014 actual clearance item\u2019s packaging.'}]:[])],active=((index%photos.length)+photos.length)%photos.length,photo=photos[active];return '<div id=\"bg-product-gallery\" class=\"bg-gallery\" role=\"region\" aria-label=\"Product photos\"><figure><img decoding=\"async\" class=\"bg-gallery-image\" src=\"'+esc(photo.src)+'\" alt=\"'+esc(p.name)+' \u2014 '+(catalogue.length>active?'catalogue photo':'warehouse photo')+'\"><figcaption>'+esc(photo.caption||'Catalogue photo \u2014 for illustration only. Not the actual clearance item.')+'<\/figcaption><\/figure><div class=\"bg-gallery-controls\"><button type=\"button\" data-gallery-product=\"'+esc(p.id)+'\" data-gallery-index=\"'+(active-1)+'\" aria-label=\"Previous product photo\">\u2190 Previous<\/button><span role=\"status\" aria-live=\"polite\">Photo '+(active+1)+' of '+photos.length+'<\/span><button type=\"button\" data-gallery-product=\"'+esc(p.id)+'\" data-gallery-index=\"'+(active+1)+'\" aria-label=\"Next product photo\">Next \u2192<\/button><\/div>'+(photo.source&&\/^https:\\\/\\\/\/.test(photo.source)?'<a class=\"bg-gallery-source\" href=\"'+esc(photo.source)+'\" target=\"_blank\" rel=\"noopener noreferrer\">View supplier photo source \u2197<\/a>':'')+'<\/div>';}\n\/\/ SilverChef's documented public calculator API. Amounts below are in AUD cents.\nconst scEstimateCache=new Map();\nconst scRequestQueue=[];\nlet scActiveRequests=0;\nfunction scCalculatorUrl(cents){\n if(!Number.isSafeInteger(cents)||!(cents>0)||cents>25000000)throw Error('A confirmed equipment value is required');\n return 'https:\/\/www.silverchef.finance\/api\/finance\/en_AU\/calculator\/'+Math.floor(cents\/100)+'\/'+String(cents%100).padStart(2,'0')+'\/';\n}\nfunction scReadMoney(value){\n if(typeof value!=='string'||!\/^\\$[\\d,]+\\.\\d{2}$\/.test(value))throw Error('Unexpected calculator amount');\n return Math.round(Number(value.replace(\/[$,]\/g,''))*100);\n}\nfunction scDrainRequests(){\n while(scRequestQueue.length&&3>scActiveRequests){\n  const job=scRequestQueue.shift();scActiveRequests++;\n  Promise.resolve().then(job.run).then(job.resolve,job.reject).finally(()=>{scActiveRequests--;scDrainRequests();});\n }\n}\nfunction scFetchEstimate(cents){\n const cached=scEstimateCache.get(cents);\n if(cached&&1800000>Date.now()-cached.created)return cached.promise;\n const promise=new Promise((resolve,reject)=>{\n  scRequestQueue.push({resolve,reject,run:async()=>{\n   const controller=new AbortController(),timer=setTimeout(()=>controller.abort(),10000);\n   try{\n    const response=await fetch(scCalculatorUrl(cents),{credentials:'omit',signal:controller.signal,headers:{Accept:'application\/json'}});\n    if(!response.ok)throw Error('SilverChef calculator unavailable');\n    const data=await response.json();\n    if(scReadMoney(data.finance_amount)!==cents)throw Error('Calculator returned a different equipment value');\n    const weeklyCents=scReadMoney(data.weekly_amount);\n    if(!(weeklyCents>0))throw Error('Weekly estimate unavailable');\n    return {amountCents:cents,weeklyCents,checked:Date.now()};\n   }finally{clearTimeout(timer);}\n  }});scDrainRequests();\n }).catch(error=>{scEstimateCache.delete(cents);throw error;});\n scEstimateCache.set(cents,{created:Date.now(),promise});\n return promise;\n}\nfunction scEstimateMarkup(cents){\n if(!Number.isSafeInteger(cents)||!(cents>0))return '';\n if(cents>25000000)return '<div class=\"bg-sc-estimate\"><span>SilverChef: request a custom finance quote.<\/span><\/div>';\n return '<div class=\"bg-sc-estimate\" data-sc-cents=\"'+cents+'\"><span class=\"bg-sc-label\">Rent-Try-Buy estimate<\/span><strong class=\"bg-sc-weekly\">Checking weekly rental\u2026<\/strong><span class=\"bg-sc-weekly-inc\" hidden><\/span><span class=\"bg-sc-note\">'+(100000>cents?'Package illustration \u00b7 funding from $1,000':'Indicative \u00b7 deposits and fees extra')+'<\/span><\/div>';\n}\nfunction scHydrateEstimates(container){\n for(const node of container.querySelectorAll('[data-sc-cents]:not([data-sc-state])')){\n  node.dataset.scState='loading';const cents=Number(node.dataset.scCents);\n  scFetchEstimate(cents).then(result=>{\n   if(!node.isConnected)return;\n   node.querySelector('.bg-sc-weekly').textContent=new Intl.NumberFormat('en-AU',{style:'currency',currency:'AUD'}).format(result.weeklyCents\/100)+' \/ week ex GST';\n   const gross=node.querySelector('.bg-sc-weekly-inc');gross.textContent=new Intl.NumberFormat('en-AU',{style:'currency',currency:'AUD'}).format(Math.round(result.weeklyCents*110\/100)\/100)+' \/ week incl. GST';gross.hidden=false;\n   node.dataset.scState='ready';\n  }).catch(()=>{\n   if(!node.isConnected)return;\n   node.querySelector('.bg-sc-weekly').textContent='Weekly estimate unavailable';\n   node.dataset.scState='error';\n  });\n }\n}\n\nfunction financeLink(p,qty=1){if(p.rentalOnly)return coffeeRentalMarkup(p);const url=new URL('https:\/\/barrettshospitalitysupplies.com\/?page_id=8563');url.searchParams.set('equipment',p.name||p.model||'Equipment');url.searchParams.set('quantity',String(qty));if(p.price!==null&&Number.isFinite(p.price)&&p.price>0)url.searchParams.set('price_ex',(p.price*qty).toFixed(2));return scEstimateMarkup(p.price!==null?Math.round(p.price*qty*100):0)+'<a class=\"bg-finance-link\" href=\"'+esc(url.href)+'\" target=\"_blank\" rel=\"noopener noreferrer\" aria-label=\"SilverChef finance options for '+esc(p.name||'this equipment')+'\">SilverChef finance options \u2197<\/a>';}\nfunction clearancePriceReference(p){const badge=p.packageDeal?'<div class=\"bg-coffee-package\">PACKAGE DEAL<\/div>':p.clearance&&p.price!==null&&p.regularPrice>p.price?'<div class=\"bg-clearance-badge\">Clearance \u00b7 '+Math.round((1-p.price\/p.regularPrice)*100)+'% off<\/div>':p.regularPrice>p.price&&p.price!==null?'<div class=\"bg-coffee-promo\">PROMOTIONAL PRICE<\/div>':'';return badge+(p.price!==null&&p.regularPrice>p.price?'<p class=\"bg-reference-price bg-coffee-previous\"><del>'+money(p.regularPrice)+' ex. GST<\/del><span>'+esc(p.referenceLabel||'Previous supplied price')+'<\/span><\/p>':'');}\nfunction coffeeRentalMarkup(p){if(!p.rentalOnly&&!p.rentalMonthly)return '';if(p.rentalOnly)return (p.rentalWeekly?'<small class=\"bg-secondary-price\">'+money(p.rentalWeekly*1.1)+' incl GST \/ week<\/small>':'<p>Included with an eligible machine rental.<\/p>')+'<p class=\"bg-coffee-rental-note\">Rental enquiry only. Terms and servicing conditions to be confirmed. Recurring charges are excluded from the purchase total.<\/p>';return '<details class=\"bg-coffee-rental\"><summary>Optional rental \u00b7 '+money(p.rentalMonthly)+' ex GST \/ month<\/summary><small>'+money(p.rentalMonthly*1.1)+' incl GST \/ month<\/small><p>'+esc((\/2 years\/.test(p.offerTerms||'')?'Minimum 2-year rental term. ':'')+'Servicing and full rental conditions to be confirmed.')+'<\/p><button type=\"button\" data-coffee-rental=\"'+esc(p.id)+'\">Ask about this rental<\/button><\/details>';}\nfunction productSaleUnit(p){return (!p.rentalOnly&&p.rentalMonthly?coffeeRentalMarkup(p):'')+(p.saleUnit?'<small class=\"bg-sale-unit\" style=\"display:block;font-size:11px;color:var(--muted);margin-top:5px\">Price per '+esc(p.saleUnit.toLowerCase())+'<\/small>':'');}\nfunction productCard(p){const photo=p.image?'<img decoding=\"async\" class=\"bg-product-photo\" src=\"'+esc(p.image)+'\" alt=\"'+esc(p.name)+'\" loading=\"lazy\">'+(\/range illustration\/i.test(p.imageBasis||'')?'<small class=\"bg-photo-note\">Range illustration \u00b7 configuration varies<\/small>':''):'<div class=\"bg-product-photo bg-photo-pending\" role=\"img\" aria-label=\"Product photo not yet available\">Photo to follow<\/div>';const primary=p.price===null?(p.rentalOnly?(p.rentalWeekly?money(p.rentalWeekly)+'<small>ex GST \/ week<\/small>':'Included with machine rental'):'Price on enquiry'):money(p.price)+'<small>ex. GST<\/small>';const secondary=p.price!==null?money(p.price*1.1)+' incl. GST':p.rentalWeekly?money(p.rentalWeekly*1.1)+' incl. GST \/ week':'';const options=p.rentalOnly?'<p class=\"bg-coffee-rental-note\">Rental enquiry only. Terms and servicing conditions to be confirmed. Recurring charges are excluded from the purchase total.<\/p>':productSaleUnit(p)+financeLink(p);return '<article class=\"bg-card\"><div class=\"bg-card-media\">'+photo+'<\/div><div class=\"bg-card-body\"><div class=\"bg-card-heading\"><small>'+esc(p.supplier)+' \u00b7 '+esc(p.model||p.sourceId||p.id)+'<\/small><h3>'+esc(p.name)+'<\/h3><\/div><div class=\"bg-card-promo\">'+clearancePriceReference(p)+'<\/div><div class=\"bg-card-pricing\"><div class=\"bg-price\">'+primary+'<\/div>'+(secondary?'<small class=\"bg-card-inc\">'+secondary+'<\/small>':'')+'<\/div><div class=\"bg-card-options\">'+options+'<\/div><div class=\"bg-card-actions\"><button class=\"bg-add\" data-add=\"'+esc(p.id)+'\">'+(p.rentalOnly?'Add rental enquiry':'Add to quote +')+'<\/button><button data-detail=\"'+esc(p.id)+'\">Details<\/button>'+comparisonButton(p)+'<\/div><\/div><\/article>';}\nfunction listProducts(list,title,copy){view='products';reveal(crumbs()+'<div class=\"bg-section-head\"><div><h2>'+esc(title)+'<\/h2><p class=\"bg-section-copy\">'+esc(copy)+'<\/p><\/div><button data-custom=\"'+esc(title)+'\">Ask us to help choose<\/button><\/div><div class=\"bg-product-grid\">'+list.map(productCard).join('')+'<\/div><p class=\"bg-bottom-note\">Selected products from our catalogue. FED website prices checked 14 October 2026. Freight and installation are confirmed with your quote.<\/p>');say('');}\nfunction showLeaf(n){const list=products.filter(p=>p.key===n.key&&n.key);if(list.length){listProducts(list,n.name,'Add anything you like to your quote. We\u2019ll help check the details.');}else{view='leaf';reveal(crumbs()+'<h2>'+esc(n.name)+'<\/h2><div class=\"bg-empty\" style=\"margin-top:20px\"><h3>Let\u2019s find the right fit.<\/h3><p>Tell us about your space, the job it needs to do and any model you have in mind. Our team can recommend suitable options for your quote.<\/p><button class=\"bg-primary\" data-custom=\"'+esc(path.map(x=>x.name).join(' \u2192 '))+'\">Help me choose '+esc(n.name.toLowerCase())+'<\/button><\/div>');say('');}}\nfunction search(q){q=q.trim();if(supportIntent(q)){clearTimeout(searchTimer);say('');supportForm(q);return;}if(!q){$('#bg-search').focus();say('Try a product, brand or model number.');return;}lastQuery=q;clearTimeout(searchTimer);$('#bg-status').textContent='Looking through the range\u2026';$('#bg-status').classList.add('bg-shimmer');$('#bg-workspace').setAttribute('aria-busy','true');searchTimer=setTimeout(()=>{const query=normalize(q),tokens=query.split(' ').filter(w=>!['i','a','an','the','need','want','looking','for','please','me','some','after'].includes(w));const matches=products.filter(p=>{const hay=normalize(p.id+' '+p.name+' '+p.tags);return tokens.length&&tokens.every(t=>hay.includes(t));});path=[];if(matches.length){listProducts(matches,'A few options to explore.','Results for \u201c'+q+'\u201d. You can review details or add an item to your quote.');}else{const relevant=tree.filter(n=>tokens.some(t=>normalize(n.tags+' '+n.name).split(' ').some(w=>w===t||w.startsWith(t)&&t.length>3)));view='search';reveal('<h2>Let\u2019s narrow that down.<\/h2><p class=\"bg-section-copy\" style=\"margin-bottom:20px\">'+(relevant.length?'These categories may help with \u201c'+esc(q)+'\u201d.':'We haven\u2019t found a matching product in this preview. You can browse the range or tell us what you need.')+'<\/p><div class=\"bg-category-grid\">'+relevant.map((n)=>tile(n,tree.indexOf(n))).join('')+'<\/div><div class=\"bg-actions\" style=\"justify-content:flex-start\"><button data-custom=\"'+esc(q)+'\">Ask the team about \u201c'+esc(q)+'\u201d<\/button><button data-home>Explore all categories<\/button><\/div>');say('');}$('#bg-workspace').removeAttribute('aria-busy');},450);}\nfunction openDialog(html){const dialog=$('#bg-dialog');if(!dialog.open)lastFocus=document.activeElement;dialog.classList.remove('bg-compare-dialog');$('#bg-dialog-body').innerHTML=html;if(!dialog.open)dialog.showModal();}\nfunction top(title){return '<div class=\"bg-dialog-top\"><h2 id=\"bg-dialog-title\">'+esc(title)+'<\/h2><button data-close aria-label=\"Close dialog\">Close \u00d7<\/button><\/div>';}\nfunction add(id){ const existing=quote.find(x=>x.id===id); if(existing&&existing.qty>=99){say('You already have 99 of this item in your quote.');return false;} if(!existing&&quote.length>=100){say('Your quote can contain up to 100 different items. Please contact our team for a larger equipment list.');return false;} if(existing)existing.qty++;else quote.push({id,qty:1}); save();say('Added to your quote. Keep exploring, or open Your quote when you\u2019re ready.');return true; }\nfunction custom(label){openDialog(top('Tell us a little more.')+'<p>We can help choose suitable equipment. Add a few details to your quote request.<\/p><form id=\"bg-custom-form\"><label>Equipment or category<input name=\"equipment\" required maxlength=\"180\" value=\"'+esc(label||'')+'\"><\/label><label style=\"margin-top:15px\">What does it need to do?<textarea name=\"requirements\" required maxlength=\"1500\" placeholder=\"e.g. A compact dishwasher for a 40-seat caf\u00e9. We have single-phase power.\"><\/textarea><\/label><div class=\"bg-quote-end\"><button type=\"submit\" class=\"bg-primary\">Add request to quote<\/button><\/div><p id=\"bg-custom-status\" role=\"alert\" class=\"bg-support-help\"><\/p><\/form>');}\nfunction item(x){return x.custom?{name:x.name,id:x.id,price:null,supplier:'Equipment request',description:x.notes}:products.find(p=>p.id===x.id);}\nconst supportProviders={\n fed:{name:'FED \/ Federal Hospitality Equipment',home:'https:\/\/www.foodequipment.com.au\/service-support',service:'https:\/\/www.foodequipment.com.au\/fed-service-request',warranty:'https:\/\/www.foodequipment.com.au\/fed-service-request',registration:'https:\/\/www.foodequipment.com.au\/product-registration-au'},\n moffat:{name:'Moffat',home:'https:\/\/www.moffat.com.au\/service-and-support',service:'https:\/\/www.moffat.com.au\/lodge-service-booking-form',warranty:'https:\/\/www.moffat.com.au\/moffat-warranty',registration:null},\n stoddart:{name:'Stoddart',home:'https:\/\/customerservice.stoddart.com.au\/s\/',service:'https:\/\/customerservice.stoddart.com.au\/s\/',warranty:'https:\/\/customerservice.stoddart.com.au\/s\/',registration:'https:\/\/customerservice.stoddart.com.au\/s\/'},\n middleby:{name:'Middleby Australia',home:'https:\/\/middleby.com.au\/service\/',service:'https:\/\/booking.mendrhub.com\/?tenantid=13101219-4e99-4aa1-9184-7560dd1bc280',warranty:'https:\/\/booking.mendrhub.com\/?tenantid=13101219-4e99-4aa1-9184-7560dd1bc280',registration:'https:\/\/registration.mendrhub.com\/?tid=middlebyau'}\n};\nlet supportDetails={kind:'service',brand:'',model:'',serial:'',supplier:''};\nconst supportKindLabels={service:'Service request',warranty:'Warranty request',registration:'Product registration'};\nfunction supportIntent(q){if(\/\\b(registration|register|registering)\\b\/i.test(q))return 'registration';if(\/\\b(warranty|warrantee)\\b\/i.test(q))return 'warranty';if(\/\\b(service|servicing|repair|repairs|broken|faulty)\\b\/i.test(q))return 'service';return '';}\nfunction knownSupportSupplier(brand,model){const b=normalize(brand),m=normalize(model).replace(\/ \/g,'');const p=products.find(p=>normalize(p.id).replace(\/ \/g,'')===m);if(p&&(normalize(p.name).includes(b)||normalize(p.supplier)===b)&&b)return p.supplier==='FED'?'fed':p.supplier==='Moffat'?'moffat':'';return '';}\nfunction supportForm(seed){if(seed){supportDetails={kind:supportIntent(seed)||'service',brand:'',model:'',serial:'',supplier:''};const found=products.find(p=>normalize(seed).replace(\/ \/g,'').includes(normalize(p.id).replace(\/ \/g,'')));if(found){supportDetails.model=found.id;supportDetails.brand=found.supplier==='FED'?'Thermaster':found.id==='SYNCRO160'?'Artezen':'';supportDetails.supplier=found.supplier==='FED'?'fed':'moffat';}if(\/\\bfed\\b|federal hospitality\/i.test(seed))supportDetails.supplier='fed';if(\/\\bmoffat\\b\/i.test(seed))supportDetails.supplier='moffat';if(\/\\bstoddart\\b\/i.test(seed))supportDetails.supplier='stoddart';if(\/\\bmiddleby\\b\/i.test(seed))supportDetails.supplier='middleby';}\nconst s=supportDetails;openDialog(top('Let\u2019s get you the right support.')+'<p>Tell us which equipment you have. We\u2019ll point you to the supplier\u2019s service, warranty or registration page.<\/p><form id=\"bg-support-form\"><div class=\"bg-form-grid\"><label class=\"bg-span\">What can we help with?<select name=\"kind\" id=\"bg-support-kind\">'+Object.entries(supportKindLabels).map(([v,l])=>'<option value=\"'+v+'\"'+(s.kind===v?' selected':'')+'>'+l+'<\/option>').join('')+'<\/select><\/label><label>Brand<input name=\"brand\" required maxlength=\"100\" autocomplete=\"off\" placeholder=\"e.g. Thermaster, Washtech, Goldstein\" value=\"'+esc(s.brand)+'\"><\/label><label>Model number<input name=\"model\" required maxlength=\"100\" autocomplete=\"off\" placeholder=\"As shown on the equipment label\" value=\"'+esc(s.model)+'\"><\/label><label class=\"bg-span\">Serial number <span class=\"bg-optional\">(optional)<\/span><input name=\"serial\" maxlength=\"120\" autocomplete=\"off\" placeholder=\"If you have it handy\" value=\"'+esc(s.serial)+'\"><\/label><label class=\"bg-span\">Supplier, if you know it<select name=\"supplier\" id=\"bg-support-supplier\"><option value=\"\">Not sure \u2014 help me find it<\/option>'+Object.entries(supportProviders).map(([v,p])=>'<option value=\"'+v+'\"'+(s.supplier===v?' selected':'')+'>'+esc(p.name)+'<\/option>').join('')+'<\/select><\/label><\/div><p class=\"bg-support-help\" id=\"bg-support-serial-hint\">'+supportSerialHint(s.supplier,s.kind)+'<\/p><div class=\"bg-quote-end\"><button type=\"submit\" class=\"bg-primary\">Find my support options \u2192<\/button><\/div><p class=\"bg-support-help\">Nothing is submitted to a supplier here. You can review your details before opening its website.<\/p><\/form>');}\nfunction supportSerialHint(supplier,kind){if(supplier==='stoddart')return 'Stoddart needs a serial number to access its service and warranty registration forms. If you can\u2019t find it, our team can help.';if(supplier==='middleby'&&kind==='registration')return 'Middleby\u2019s registration portal starts with a serial-number search. Have your serial number ready if possible.';return 'The model and serial number are usually on the manufacturer\u2019s identification label.';}\nfunction supportSummaryText(){const s=supportDetails;return supportKindLabels[s.kind]+'\\nBrand: '+s.brand+'\\nModel: '+s.model+'\\nSerial: '+(s.serial||'Not available')+'\\nSupplier: '+(supportProviders[s.supplier]?.name||'Please help identify the supplier');}\nfunction supportResult(){const s=supportDetails;s.supplier=s.supplier||knownSupportSupplier(s.brand,s.model);const p=supportProviders[s.supplier];let intro='',primary='',extra='';\nif(p){if(s.kind==='registration'&&!p.registration){intro='Moffat\u2019s support team can confirm the registration steps for your model.';primary=supportLink(p.home,'Contact Moffat about registration');}else{const url=p[s.kind],label=s.kind==='registration'?(s.supplier==='stoddart'?'Open Stoddart warranty registration':'Open '+(s.supplier==='fed'?'FED':s.supplier==='middleby'?'Middleby':'Moffat')+' product registration'):s.supplier==='moffat'&&s.kind==='warranty'?'View Moffat warranty and claim contacts':s.supplier==='fed'?'Open FED service request':s.supplier==='middleby'?'Open Middleby service booking':'Open Stoddart customer service';intro='Here\u2019s the '+p.name+' contact for your equipment. Keep these details handy when you open the supplier\u2019s page.';primary=supportLink(url,label);}\nif(s.supplier==='moffat'&&s.kind==='warranty')extra=supportLink(p.service,'Moffat service booking',true);else extra=supportLink(p.home,'Supplier support information',true);\n}else{intro='Let\u2019s confirm who supplied this equipment so you reach the right support team. Our team can help identify the supplier from the brand, model and serial number.';}\nconst subject=supportKindLabels[s.kind]+' \u2014 '+s.brand+' '+s.model,body='Hi Barrett\u2019s team,\\n\\nPlease help me with this equipment:\\n\\n'+supportSummaryText()+'\\n\\nThank you.';\nconst email='mailto:blayney.service@outlook.com?subject='+encodeURIComponent(subject)+'&amp;body='+encodeURIComponent(body);\nopenDialog(top(p?'Your equipment support options.':'We can help find the right contact.')+'<p>'+esc(intro)+'<\/p><div class=\"bg-support-summary\"><span>'+esc(supportKindLabels[s.kind])+'<\/span><dl><dt>Brand<\/dt><dd>'+esc(s.brand)+'<\/dd><dt>Model<\/dt><dd>'+esc(s.model)+'<\/dd><dt>Serial number<\/dt><dd>'+esc(s.serial||'Not available')+'<\/dd><dt>Supplier<\/dt><dd>'+esc(p?p.name:'To confirm')+'<\/dd><\/dl><\/div>'+(p?'<p class=\"bg-support-help\">'+esc(supportSerialHint(s.supplier,s.kind))+'<\/p>':'')+'<div class=\"bg-quote-end\">'+primary+'<button data-support-copy>Copy equipment details<\/button><\/div>'+extra+'<div class=\"bg-support-contact\"><a href=\"'+email+'\">'+(p?'Need a hand? Email Barrett\u2019s':'Ask Barrett\u2019s to help identify the supplier')+' \u2197<\/a><button data-support-edit>Edit equipment details<\/button><\/div><p class=\"bg-support-help\" id=\"bg-support-copy-status\" role=\"status\">'+(p?'The supplier\u2019s website opens in a new tab. Details are not transferred automatically.':'Opens an email draft for you to review and send.')+'<\/p>'+(s.kind==='warranty'?'<p class=\"bg-support-help\">The supplier will assess warranty coverage and confirm any applicable charges.<\/p>':''));}\nfunction supportLink(url,label,quiet){return '<a class=\"'+(quiet?'bg-source':'bg-support-primary')+'\" href=\"'+esc(url)+'\" target=\"_blank\" rel=\"noopener noreferrer\">'+esc(label)+' \u2197<\/a>';}\n$('#bg-support').addEventListener('click',()=>supportForm(''));\nroot.addEventListener('change',e=>{if(e.target.id==='bg-support-supplier'||e.target.id==='bg-support-kind'){const f=$('#bg-support-form');$('#bg-support-serial-hint').textContent=supportSerialHint(f.elements.supplier.value,f.elements.kind.value);}});\nroot.addEventListener('submit',e=>{if(e.target.id!=='bg-support-form')return;e.preventDefault();const f=new FormData(e.target);supportDetails={kind:String(f.get('kind')),brand:String(f.get('brand')).trim(),model:String(f.get('model')).trim(),serial:String(f.get('serial')).trim(),supplier:String(f.get('supplier'))};$('#bg-dialog').close();supportResult();});\nroot.addEventListener('click',e=>{const b=e.target.closest('button');if(!b)return;if(b.hasAttribute('data-support-edit')){$('#bg-dialog').close();supportForm('');}else if(b.hasAttribute('data-support-copy')){navigator.clipboard.writeText(supportSummaryText()).then(()=>{$('#bg-support-copy-status').textContent='Equipment details copied. Paste them into the supplier\u2019s form where appropriate.';}).catch(()=>{$('#bg-support-copy-status').textContent='Please select and copy your equipment details above.';});}});\n\n\n\/\/ BEGIN CLEAR AND RESTORE BASKET\nconst clearedBasketKey='bhs-guide-cleared-quote-v1',basketKey='bhs-guide-quote-v1';\nlet clearedQuote=readClearedBasket(),basketNotice='';\nfunction readClearedBasket(){try{const saved=JSON.parse(localStorage.getItem(clearedBasketKey)||'null');if(!saved||saved.version!==1||!Array.isArray(saved.items)||saved.items.length>100)return [];const valid=saved.items.every(x=>x&&typeof x.id==='string'&&Number.isInteger(x.qty)&&x.qty>0&&99>=x.qty&&(products.some(p=>p.id===x.id)||x.custom||(x.product&&x.product.id===x.id&&typeof x.product.name==='string')));if(!valid||new Set(saved.items.map(x=>x.id)).size!==saved.items.length)return [];return saved.items;}catch(error){return [];}}\nfunction basketControls(){const notice=basketNotice;basketNotice='';return '<div class=\"bg-basket-tools\"><div class=\"bg-basket-buttons\" role=\"group\" aria-label=\"Basket actions\">'+(quote.length?'<button type=\"button\" data-clear-basket>Clear basket<\/button>':'')+(clearedQuote.length?'<button type=\"button\" class=\"bg-basket-restore\" data-restore-basket>Restore basket<\/button>':'')+'<\/div>'+(clearedQuote.length?'<small>'+(quote.length?'Restore adds your cleared items to this basket.':'You can restore your last cleared basket, even after closing this window.')+'<\/small>':'')+'<p id=\"bg-basket-status\" role=\"status\" aria-live=\"polite\">'+esc(notice)+'<\/p><\/div>';}\nfunction commitBasketChange(next,backup){let previousBasket,previousBackup;try{previousBasket=localStorage.getItem(basketKey);previousBackup=localStorage.getItem(clearedBasketKey);if(backup.length)localStorage.setItem(clearedBasketKey,JSON.stringify({version:1,items:backup}));else localStorage.removeItem(clearedBasketKey);localStorage.setItem(basketKey,JSON.stringify(next));}catch(error){try{if(previousBasket!==undefined){if(previousBasket===null)localStorage.removeItem(basketKey);else localStorage.setItem(basketKey,previousBasket);}if(previousBackup!==undefined){if(previousBackup===null)localStorage.removeItem(clearedBasketKey);else localStorage.setItem(clearedBasketKey,previousBackup);}}catch(rollbackError){}return false;}quote=next;clearedQuote=backup;save();return true;}\nfunction refreshBasket(message,focusSelector){basketNotice=message;const opener=lastFocus;originalQuoteDialog();lastFocus=opener;const target=$(focusSelector);if(target)target.focus({preventScroll:true});}\nfunction clearBasket(){if(!quote.length)return false;let snapshot;try{snapshot=JSON.parse(JSON.stringify(quote));}catch(error){refreshBasket('We could not save a restore copy. Your basket has not been cleared.','[data-clear-basket]');return false;}if(!commitBasketChange([],snapshot)){refreshBasket('We could not save a restore copy. Your basket has not been cleared.','[data-clear-basket]');return false;}refreshBasket('Basket cleared. Use Restore basket to bring your selection back.','[data-restore-basket]');return true;}\nfunction restoreBasket(){if(!clearedQuote.length)return false;const merged=JSON.parse(JSON.stringify(quote));for(const old of clearedQuote){const current=merged.find(x=>x.id===old.id);if(current){if(current.qty+old.qty>99){refreshBasket('Restoring would exceed 99 of an item. Reduce its current quantity, then restore again. Your cleared basket is still saved.','[data-restore-basket]');return false;}current.qty+=old.qty;}else merged.push(JSON.parse(JSON.stringify(old)));}if(merged.length>100){refreshBasket('Restoring would exceed 100 different items. Remove some current selections, then restore again. Your cleared basket is still saved.','[data-restore-basket]');return false;}if(!commitBasketChange(merged,[])){refreshBasket('We could not restore the basket just now. Your cleared selection is still saved.','[data-restore-basket]');return false;}refreshBasket('Your cleared selection has been restored.','[data-clear-basket]');return true;}\nroot.addEventListener('click',event=>{const button=event.target.closest('button');if(!button)return;if(button.hasAttribute('data-clear-basket'))clearBasket();else if(button.hasAttribute('data-restore-basket'))restoreBasket();});\n\/\/ END CLEAR AND RESTORE BASKET\n\nfunction quoteDialog(){const rows=quote.map((x,i)=>{const p=item(x);return '<div class=\"bg-quote-line\"><div><strong>'+esc(p.name)+'<\/strong><small>'+esc(x.custom?x.notes:p.id)+'<\/small>'+(p.rentalOnly&&p.rentalWeekly?'<strong class=\"bg-coffee-basket-rate\">'+money(p.rentalWeekly)+' ex GST \/ week per package<\/strong>':'')+(!x.custom?productSaleUnit(p)+financeLink(p,x.qty):'')+'<div class=\"bg-qty\"><button data-qty=\"'+i+'\" data-delta=\"-1\"'+(x.qty===1?' disabled':'')+' aria-label=\"Decrease quantity of '+esc(p.name)+'\">\u2212<\/button><span>'+x.qty+'<\/span><button data-qty=\"'+i+'\" data-delta=\"1\"'+(x.qty===99?' disabled':'')+' aria-label=\"Increase quantity of '+esc(p.name)+'\">+<\/button><button data-remove=\"'+i+'\">Remove<\/button><\/div><\/div><div class=\"bg-quote-value\">'+(p.price===null?'To confirm':'<strong>'+money(p.price*x.qty)+' <small>ex GST<\/small><\/strong><small class=\"bg-basket-inc\">'+money(p.price*1.1*x.qty)+' incl. GST<\/small>')+'<\/div><\/div>';}).join('');const subtotal=quote.reduce((s,x)=>s+(item(x).price||0)*x.qty,0);openDialog(top('Your quote, taking shape.')+basketControls()+(quote.length?'<p>Review your equipment, then tell us a little about where it\u2019s going.<\/p>'+rows+'<div class=\"bg-summary\"><span>Priced items subtotal<\/span><strong>'+(quote.some(x=>item(x).price!==null)?money(subtotal)+' <small style=\"font-size:11px;font-weight:400\">ex GST<\/small><small class=\"bg-basket-inc\">'+money(subtotal*1.1)+' incl. GST<\/small>':'To confirm')+'<\/strong><\/div><div class=\"bg-quote-note\">'+(quote.some(x=>item(x).price===null)?'Items marked \u201cTo confirm\u201d are additional to this subtotal. ':'')+'Freight, installation, availability and final pricing will be confirmed by our team. SilverChef estimates show GST separately, exclude deposits and fees, and are subject to eligibility.<\/div><button class=\"bg-primary\" data-brief>Continue to your details \u2192<\/button>':'<p>Your quote list is empty. Add a product, or tell us what you\u2019re looking for.<\/p><div class=\"bg-quote-end\"><button data-close>Keep exploring<\/button><button class=\"bg-primary\" data-custom=\"\">Help me choose<\/button><\/div>'));}\nfunction detailsForm(){openDialog(top('A few finishing details.')+'<p>Enough for our team to help you with the next step.<\/p><form id=\"bg-brief-form\"><div class=\"bg-form-grid\"><label>Your name<input name=\"name\" required maxlength=\"100\" autocomplete=\"name\" value=\"'+esc(details.name||'')+'\"><\/label><label>Email address<input type=\"email\" name=\"email\" required maxlength=\"180\" autocomplete=\"email\" value=\"'+esc(details.email||'')+'\"><\/label><label>Phone number <span class=\"bg-optional\">(optional)<\/span><input type=\"tel\" name=\"phone\" maxlength=\"50\" autocomplete=\"tel\" value=\"'+esc(details.phone||'')+'\"><\/label><label>Business or venue<input name=\"venue\" maxlength=\"150\" autocomplete=\"organization\" value=\"'+esc(details.venue||'')+'\"><\/label><label>Delivery postcode<input name=\"postcode\" required pattern=\"[0-9]{4}\" inputmode=\"numeric\" maxlength=\"4\" autocomplete=\"postal-code\" title=\"Enter a four-digit Australian postcode\" value=\"'+esc(details.postcode||'')+'\"><\/label><label class=\"bg-span\">Timing, access or anything else?<textarea name=\"notes\" maxlength=\"2000\" placeholder=\"Your ideal timing, delivery access, power supply, or questions\u2026\">'+esc(details.notes||'')+'<\/textarea><\/label><\/div><div class=\"bg-quote-end\"><button type=\"submit\" class=\"bg-primary\">Review request \u2192<\/button><button type=\"button\" data-quote>Back to quote<\/button><\/div><\/form>');}\nfunction emailText(){return 'Hi Barrett\u2019s team,\\n\\nPlease help me with a quote for:\\n\\n'+quote.map(x=>{const p=item(x);return x.qty+' \u00d7 '+p.name+(x.custom?'\\n  Requirements: '+x.notes:'\\n  Model: '+(p.model||p.id)+'\\n  Supplier reference: '+p.url+(p.rentalOnly?'\\n  Rental terms: '+p.offerTerms:'')+(p.saleUnit?'\\n  Sold as: '+p.saleUnit+'; quote quantity counts packs.':''))+(p.rentalOnly?(p.rentalWeekly?'\\n  Weekly rental per package: '+money(p.rentalWeekly)+' ex. GST \/ '+money(p.rentalWeekly*1.1)+' incl. GST\\n  Weekly rental for '+x.qty+' package(s): '+money(p.rentalWeekly*x.qty)+' ex. GST \/ '+money(p.rentalWeekly*x.qty*1.1)+' incl. GST\\n  Recurring rental is separate from the purchase subtotal.':'\\n  Included with an eligible machine rental; conditions to confirm.'):p.price!==null?'\\n  Reference unit price: '+money(p.price)+' ex. GST \/ '+money(p.price*1.1)+' incl. GST':'\\n  Price: please confirm');}).join('\\n\\n')+'\\n\\nName: '+details.name+'\\nEmail: '+details.email+'\\nPhone: '+(details.phone||'Not specified')+'\\nBusiness \/ venue: '+(details.venue||'Not specified')+'\\nDelivery postcode: '+details.postcode+'\\nTiming \/ notes: '+(details.notes||'Not specified')+'\\n\\nPlease confirm final pricing, availability, freight, installation requirements and warranty.\\n\\nThank you.';}\nfunction quoteRequestHtml(){\n  const navy='#17334c',orange='#f84c01',muted='#65717b',line='#e6e9ed';\n  const field=(label,value)=>'<tr><td style=\"width:34%;padding:4px 12px 4px 0;color:'+muted+';vertical-align:top\">'+esc(label)+'<\/td><td style=\"padding:4px 0;vertical-align:top;overflow-wrap:anywhere\">'+esc(value||'Not specified')+'<\/td><\/tr>';\n  const customer=field('Name',details.name)+field('Business \/ venue',details.venue)+field('Email',details.email)+field('Phone',details.phone)+field('Delivery postcode',details.postcode);\n  let subtotal=0,unpriced=0,pricedCount=0,rentalWeeklyTotal=0,rentalCount=0;\n  const rows=quote.map(x=>{const p=item(x),priced=!p.rentalOnly&&p.price!==null&&Number.isFinite(p.price),code=p.model||p.id;\n    if(priced){subtotal+=p.price*x.qty;pricedCount++;}else if(!p.rentalOnly)unpriced++;if(p.rentalOnly){rentalCount++;if(p.rentalWeekly)rentalWeeklyTotal+=p.rentalWeekly*x.qty;}\n    const url=String(p.url||''),supplierLink=\/^https:\\\/\\\/\/i.test(url)?'<a href=\"'+esc(url)+'\" style=\"color:'+navy+';text-decoration:underline\">Supplier specifications<\/a>':'';\n    const notes=[x.custom?x.notes:'',p.rentalOnly?p.offerTerms:'',p.saleUnit?'Sold as: '+p.saleUnit+'; quantity counts packs.':'',p.condition?'Condition: '+p.condition:''].filter(Boolean);\n    return '<tr><td style=\"padding:18px 12px 18px 0;border-bottom:1px solid '+line+';vertical-align:top;overflow-wrap:anywhere\"><div style=\"font-size:15px;font-weight:600;color:'+navy+'\">'+esc(x.qty+' \u00d7 '+p.name)+'<\/div><div style=\"font-size:12px;color:'+muted+';margin-top:6px\">'+esc([!x.custom?code:'Equipment request',p.supplier].filter(Boolean).join(' \u00b7 '))+'<\/div>'+(notes.length?'<div style=\"font-size:13px;margin-top:7px;white-space:pre-wrap\">'+esc(notes.join('\\n'))+'<\/div>':'')+(supplierLink?'<div style=\"font-size:12px;margin-top:7px\">'+supplierLink+'<\/div>':'')+'<\/td><td style=\"width:30%;padding:18px 0 18px 8px;border-bottom:1px solid '+line+';vertical-align:top;text-align:right\">'+(p.rentalOnly?(p.rentalWeekly?'<div style=\"font-size:15px;font-weight:600;color:'+navy+'\">'+money(p.rentalWeekly*x.qty)+' ex GST \/ week<\/div><div style=\"font-size:11px;color:'+muted+';margin-top:4px\">'+money(p.rentalWeekly*x.qty*1.1)+' incl. GST \/ week<\/div><div style=\"font-size:11px;color:'+muted+';margin-top:6px\">'+money(p.rentalWeekly)+' ex GST \/ week per package<\/div>':'<div style=\"font-size:13px;color:'+muted+'\">Included with eligible machine rental<\/div>'):priced?'<div style=\"font-size:15px;font-weight:600;color:'+navy+';white-space:nowrap\">'+money(p.price*x.qty)+'<\/div><div style=\"font-size:11px;color:'+muted+'\">ex GST \u00b7 line total<\/div><div style=\"font-size:11px;color:'+muted+';margin-top:4px\">'+money(p.price*x.qty*1.1)+' incl. GST<\/div><div style=\"font-size:11px;color:'+muted+';margin-top:6px\">'+money(p.price)+' ex GST each<\/div>':'<div style=\"font-size:13px;color:'+muted+'\">Price to confirm<\/div>')+'<\/td><\/tr>';\n  }).join('');\n  return '<div style=\"background:#ffffff;color:#263744;font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.65;padding:24px;border-radius:16px\"><table role=\"presentation\" style=\"width:100%;border-collapse:collapse\"><tr><td style=\"width:50%;padding:0 16px 18px 0;vertical-align:middle\"><img decoding=\"async\" src=\"https:\/\/barrettshospitalitysupplies.com\/wp-content\/uploads\/2026\/10\/BHS-New-Diamond-transparent-768x512.png\" width=\"128\" alt=\"Barrett\u2019s Hospitality Supplies\" style=\"display:block;width:128px;max-width:100%;height:auto\"><\/td><td style=\"width:50%;padding:0 0 18px 16px;text-align:right;vertical-align:middle\"><img decoding=\"async\" src=\"https:\/\/barrettshospitalitysupplies.com\/wp-content\/uploads\/2026\/10\/blayney-logo.png\" width=\"170\" alt=\"Blayney Wholesale Foods\" style=\"display:inline-block;width:170px;max-width:100%;height:auto\"><\/td><\/tr><\/table><div style=\"height:3px;background:'+orange+';margin-bottom:22px\"><\/div><div style=\"font-size:10px;letter-spacing:1.5px;font-weight:600;color:'+muted+'\">STAGING \u00b7 EQUIPMENT ENQUIRY<\/div><h3 style=\"font-family:Arial,Helvetica,sans-serif;color:'+navy+';font-size:24px;line-height:1.25;font-weight:600;margin:8px 0 22px\">Quote request<\/h3><h4 style=\"font-family:Arial,Helvetica,sans-serif;font-size:12px;letter-spacing:.6px;color:'+navy+';margin:0 0 8px;font-weight:600\">CUSTOMER DETAILS<\/h4><table role=\"presentation\" style=\"width:100%;border-collapse:collapse;font-size:14px;line-height:1.6\">'+customer+'<\/table>'+(details.notes?'<div style=\"margin-top:16px;padding:14px 16px;background:#f5f7f9;border-radius:10px\"><strong style=\"font-size:12px;color:'+navy+'\">Timing & notes<\/strong><div style=\"margin-top:5px;white-space:pre-wrap;overflow-wrap:anywhere\">'+esc(details.notes)+'<\/div><\/div>':'')+'<h4 style=\"font-family:Arial,Helvetica,sans-serif;font-size:12px;letter-spacing:.6px;color:'+navy+';margin:26px 0 0;font-weight:600\">REQUESTED EQUIPMENT \u00b7 '+quote.length+' '+(quote.length===1?'LINE':'LINES')+'<\/h4><table role=\"presentation\" style=\"width:100%;border-collapse:collapse;font-size:14px;line-height:1.6\">'+rows+'<\/table><table role=\"presentation\" style=\"width:100%;border-collapse:collapse;margin-top:16px\"><tr><td style=\"padding:12px 12px 12px 0;color:'+navy+';vertical-align:top\">Priced items subtotal<\/td><td style=\"padding:12px 0;text-align:right\"><strong style=\"font-size:20px;color:'+navy+'\">'+(pricedCount?money(subtotal):rentalCount&&!unpriced?'No purchase items':'To confirm')+'<\/strong><span style=\"display:block;white-space:nowrap;font-size:11px;color:'+muted+'\">ex GST<\/span><div style=\"font-size:12px;color:'+muted+'\">'+(pricedCount?money(subtotal*1.1)+' incl. GST':rentalCount&&!unpriced?'Recurring rental shown separately':'Pricing required')+'<\/div><\/td><\/tr><\/table>'+(rentalCount?'<div style=\"margin:14px 0;padding:14px 16px;background:#f5f7f9;border-radius:10px;color:'+navy+'\"><strong>Recurring rental<\/strong>'+(rentalWeeklyTotal?'<div style=\"font-size:18px;margin-top:5px\">'+money(rentalWeeklyTotal)+' ex GST \/ week<\/div><div style=\"font-size:12px;color:'+muted+'\">'+money(rentalWeeklyTotal*1.1)+' incl. GST \/ week<\/div>':'')+'<div style=\"font-size:12px;margin-top:6px\">Separate from the purchase subtotal. Rental term, eligibility and servicing conditions to be confirmed.<\/div><\/div>':'')+(unpriced?'<p style=\"font-size:12px;margin:0 0 12px;color:'+muted+'\">'+unpriced+' '+(unpriced===1?'item requires':'items require')+' pricing and '+(unpriced===1?'is':'are')+' not included in this subtotal.<\/p>':'')+'<p style=\"font-size:12px;line-height:1.7;color:'+muted+';margin:14px 0 0;padding-top:16px;border-top:1px solid '+line+'\">An equipment enquiry for our team to review. Final pricing, availability, freight, installation and warranty will be confirmed before a quote is issued. No payment or finance application is made.<\/p><\/div>';\n}\nasync function copyQuoteRequest(){\n  const status=$('#bg-copy-status'),plain=emailText();let rich=false;\n  try{\n    if(typeof ClipboardItem!=='undefined'&&navigator.clipboard?.write){try{await navigator.clipboard.write([new ClipboardItem({'text\/html':new Blob([quoteRequestHtml()],{type:'text\/html'}),'text\/plain':new Blob([plain],{type:'text\/plain'})})]);rich=true;}catch{await navigator.clipboard.writeText(plain);}}\n    else await navigator.clipboard.writeText(plain);\n    if(status?.isConnected)status.textContent=rich?'Copied with formatting. Paste into your email to keep the branded layout.':'Copied as plain text. You can paste this request into an email.';\n  }catch{if(status?.isConnected)status.textContent='Copy is unavailable here. Open Plain text version below the preview, then select and copy the request.';}\n}\nlet submittingWebsiteRequest=false;\nfunction websiteRequestPayload(){\n  return {customer:{name:details.name||'',email:details.email||'',phone:details.phone||'',venue:details.venue||'',postcode:details.postcode||'',notes:details.notes||''},lines:quote.map(x=>{const p=item(x);return {productId:x.custom?0:(p.wcId||0),name:p.name,quantity:x.qty,displayedUnitPriceExCents:p.price===null?null:Math.round(p.price*100),requirements:x.custom?x.notes:[p.offerTerms?'Coffee offer: '+p.offerTerms:'',p.saleUnit?'Sold as: '+p.saleUnit+'; quote quantity counts packs.':'',!p.wcId?'Model\/reference: '+(p.model||p.id)+'; '+(p.url||''):''].filter(Boolean).join('\\n')};})};\n}\nfunction review(){\n  const body=emailText();\n  openDialog(top('Review your quote request.')+'<p>We\u2019ll receive your equipment list and contact details in our quote portal, then confirm pricing, availability and delivery. This creates an enquiry, with no payment or finance application.<\/p><div class=\"bg-request-preview\" tabindex=\"0\" role=\"region\" aria-label=\"Formatted quote request preview\">'+quoteRequestHtml()+'<\/div><details class=\"bg-request-plain\"><summary>Plain text version<\/summary><pre class=\"bg-mail-copy\">'+esc(body)+'<\/pre><\/details><p class=\"bg-support-help\">Your details are shared privately with our equipment team to prepare your quote.<\/p><div class=\"bg-quote-end\"><button class=\"bg-primary\" data-submit-request>Submit quote request \u2192<\/button><button data-copy>Copy request<\/button><button data-brief>Edit details<\/button><\/div><p id=\"bg-copy-status\" role=\"status\" style=\"margin:10px 0;font-size:12px\"><\/p><p id=\"bg-submit-status\" role=\"status\" style=\"margin:15px 0 0;font-size:12px\">Your request has not been submitted yet.<\/p>');\n}\nasync function postWebsiteQuoteRequest(config,payload,submissionId,signal){\n  let recaptchaToken='';\n  if(config.requiresCaptcha){\n    if(!window.grecaptcha||!config.recaptchaSiteKey)throw Error('The security check is still loading. Please try again in a moment.');\n    recaptchaToken=await new Promise((resolve,reject)=>{\n      const aborted=()=>reject(new Error('The security check took too long. Please try again.'));\n      signal.addEventListener('abort',aborted,{once:true});\n      window.grecaptcha.ready(()=>Promise.resolve(window.grecaptcha.execute(config.recaptchaSiteKey,{action:'bhs_quote_request'})).then(resolve,reject).finally(()=>signal.removeEventListener('abort',aborted)));\n    });\n  }\n  const body=JSON.stringify({...payload,submissionId,recaptchaToken});\n  const send=()=>fetch(config.endpoint,{method:'POST',credentials:'same-origin',headers:{'Content-Type':'application\/json',...(config.nonce?{'X-WP-Nonce':config.nonce}:{})},body,signal});\n  let response=await send(),receipt=await response.json();\n  if(!response.ok&&receipt.code==='rest_cookie_invalid_nonce'){\n    const refreshed=await fetch('https:\/\/barrettshospitalitysupplies.com\/wp-admin\/admin-ajax.php?action=rest-nonce',{credentials:'same-origin',cache:'no-store',signal});\n    const nonce=(await refreshed.text()).trim();\n    if(!refreshed.ok||!\/^[a-zA-Z0-9]{10}$\/.test(nonce))throw Error('Your website session could not be refreshed. Reload this page and sign in again before retrying.');\n    config.nonce=nonce;\n    response=await send();receipt=await response.json();\n    if(!response.ok&&receipt.code==='rest_cookie_invalid_nonce')throw Error('Your website session could not be refreshed. Reload this page and sign in again before retrying.');\n  }\n  return {response,receipt};\n}\nfunction websiteReviewIsCurrent(status){return Boolean(status?.isConnected&&$('#bg-dialog')?.open&&$('#bg-submit-status')===status);}\nasync function submitWebsiteRequest(button){\n  if(submittingWebsiteRequest)return;\n  const config=window.BHSQuoteRequestConfig,status=$('#bg-submit-status');\n  if(!config||config.environment!=='production'){status.textContent='The website connection is unavailable. Refresh this page and try again. Your equipment list is still saved.';return;}\n  submittingWebsiteRequest=true;button.disabled=true;status.textContent='Saving your quote request\u2026';\n  const controller=new AbortController(),timer=setTimeout(()=>controller.abort(),20000);\n  try{\n    const payload=websiteRequestPayload();\n    const digest=Array.from(new Uint8Array(await crypto.subtle.digest('SHA-256',new TextEncoder().encode(JSON.stringify(payload))))).map(x=>x.toString(16).padStart(2,'0')).join('');\n    let previous;try{previous=JSON.parse(sessionStorage.getItem('bhs-production-request')||'null');}catch{}\n    const submissionId=previous?.digest===digest?previous.submissionId:crypto.randomUUID();\n    sessionStorage.setItem('bhs-production-request',JSON.stringify({digest,submissionId}));\n    const {response,receipt}=await postWebsiteQuoteRequest(config,payload,submissionId,controller.signal);\n    if(!response.ok)throw Error(receipt.message||'Your request could not be saved. Please try again.');\n    if(!\/^BHS-\\d{8}-\\d+$\/.test(receipt.reference||''))throw Error('We could not confirm the saved request. Please retry; we\u2019ll prevent a duplicate.');\n    if(websiteReviewIsCurrent(status)){\n    openDialog(top('Your request is saved.')+'<p>Thank you. Your quote request is ready for our team to review in the Hospitality Quote Portal.<\/p><div class=\"bg-support-summary\"><span>Request reference<\/span><h3 style=\"margin-top:10px\">'+esc(receipt.reference)+'<\/h3><\/div><p>We\u2019ll confirm availability, freight, installation and final pricing before issuing a quote. Your equipment list has been kept here.<\/p><div class=\"bg-quote-end\"><button data-quote>Back to your equipment<\/button><\/div>');\n    }else say('Your quote request '+receipt.reference+' is saved for our team. Your equipment list has been kept.');\n  }catch(error){const message=(error.name==='AbortError'?'The connection took too long. Please retry; we\u2019ll prevent a duplicate.':error.message)+' Your equipment list is still saved.';if(websiteReviewIsCurrent(status))status.textContent=message;else say(message);button.disabled=false;}\n  finally{clearTimeout(timer);submittingWebsiteRequest=false;}\n}\nroot.addEventListener('click',event=>{const button=event.target.closest('[data-submit-request]');if(button){event.preventDefault();void submitWebsiteRequest(button);}});\nroot.addEventListener('click',e=>{const b=e.target.closest('button');if(!b)return;if(b.dataset.coffeeRental){const p=products.find(p=>p.id===b.dataset.coffeeRental);if(!p)return;const id='rental-'+p.id,existing=quote.find(x=>x.id===id);if(existing){if(existing.qty<99)existing.qty++;}else{if(quote.length>=100){say('Your quote already has 100 items.');return;}quote.push({id,qty:1,custom:true,name:p.name+' \u2014 monthly rental enquiry',notes:p.offerTerms});}save();say('Rental enquiry added. We\u2019ll confirm the agreement and recurring charges separately.');return;}if(b.dataset.galleryProduct){const p=products.find(x=>x.id===b.dataset.galleryProduct);if(p){const gallery=$('#bg-product-gallery');gallery.outerHTML=productGallery(p,Number(b.dataset.galleryIndex)||0);$('#bg-product-gallery').querySelector('[aria-label=\"'+(Number(b.dataset.galleryIndex)>0?'Next product photo':'Previous product photo')+'\"]').focus({preventScroll:true});}return;}if(b.hasAttribute('data-close')){$('#bg-dialog').close();return;}if(b.hasAttribute('data-home')){path=[];categories();}else if(b.dataset.crumb!==undefined){path=path.slice(0,Number(b.dataset.crumb)+1);categories();}else if(b.dataset.category!==undefined){const list=view==='search'?tree:(path.length?path[path.length-1].children:tree);path.push(list[Number(b.dataset.category)]);categories();}else if(b.dataset.add){add(b.dataset.add);}else if(b.dataset.detail){const p=products.find(x=>x.id===b.dataset.detail);openDialog(top(p.model||'Product details')+productGallery(p)+'<h3 style=\"font-size:19px\">'+esc(p.name)+'<\/h3><p>'+esc(p.description)+'<\/p>'+(p.checked?'<p class=\"bg-support-help\">Reference price checked '+esc(p.checked)+'.<\/p>':'')+clearancePriceReference(p)+'<div class=\"bg-price\">'+(p.price===null?(p.rentalOnly?(p.rentalWeekly?money(p.rentalWeekly)+'<small>ex GST \/ week<\/small>':'Included with machine rental'):'Price on enquiry'):money(p.price)+' <small>ex. GST<\/small>')+'<\/div>'+(p.price!==null?'<p class=\"bg-secondary-price\">'+money(p.price*1.1)+' incl. GST<\/p>':'')+productSaleUnit(p)+financeLink(p)+(p.clearance&&\/^https:\\\/\\\/\/.test(p.referenceUrl||'')?'<a class=\"bg-source\" href=\"'+esc(p.referenceUrl)+'\" target=\"_blank\" rel=\"noopener noreferrer\">'+esc(p.referenceLabel||'Reference price')+' source \u2197<\/a>':'')+'<a class=\"bg-source\" href=\"'+esc(p.url)+'\" target=\"_blank\" rel=\"noopener noreferrer\">View '+esc(p.supplier)+' '+(p.sourceScope?.includes('supplier range')?'range':p.sourceScope==='product family'?'product family':p.sourceScope==='supplied offer'?'supplied offer':'product specifications')+' \u2197<\/a><div class=\"bg-quote-end\"><button class=\"bg-primary\" data-dialog-add=\"'+p.id+'\">'+(p.rentalOnly?'Add rental enquiry':'Add to quote +')+'<\/button><\/div>');}else if(b.dataset.dialogAdd){add(b.dataset.dialogAdd);$('#bg-dialog').close();}else if(b.hasAttribute('data-custom')){if($('#bg-dialog').open)$('#bg-dialog').close();custom(b.dataset.custom);}else if(b.dataset.qty!==undefined){const x=quote[Number(b.dataset.qty)];x.qty=Math.max(1,Math.min(99,x.qty+Number(b.dataset.delta)));save();$('#bg-dialog').close();quoteDialog();}else if(b.dataset.remove!==undefined){quote.splice(Number(b.dataset.remove),1);save();$('#bg-dialog').close();quoteDialog();}else if(b.hasAttribute('data-brief')){$('#bg-dialog').close();detailsForm();}else if(b.hasAttribute('data-quote')){$('#bg-dialog').close();quoteDialog();}else if(b.hasAttribute('data-copy')){void copyQuoteRequest();}});\n$('#bg-search-form').addEventListener('submit',e=>{e.preventDefault();search($('#bg-search').value);});$('#bg-explore').addEventListener('click',()=>{path=[];categories();});$('#bg-unsure').addEventListener('click',openEquipmentFinder);$('#bg-open-quote').addEventListener('click',()=>quoteDialog());\nroot.addEventListener('submit',e=>{if(e.target.id==='bg-custom-form'){e.preventDefault();const f=new FormData(e.target);const name=String(f.get('equipment')).trim(),notes=String(f.get('requirements')).trim();if(!name||!notes){$('#bg-custom-status').textContent='Please describe the equipment and what you need it to do.';return;}if(quote.length>=100){$('#bg-custom-status').textContent='Your quote already has 100 different items. Please contact our team for a larger equipment list.';return;}quote.push({id:'request-'+Date.now(),qty:1,custom:true,name,notes});save();$('#bg-dialog').close();say('Your equipment request is in the quote list. We\u2019ll help you find suitable options.');}else if(e.target.id==='bg-brief-form'){e.preventDefault();details=Object.fromEntries([...new FormData(e.target)].map(([k,v])=>[k,String(v).trim()]));if(!details.name){const field=e.target.elements.name;field.setCustomValidity('Please enter your name.');field.reportValidity();field.addEventListener('input',()=>field.setCustomValidity(''),{once:true});return;}$('#bg-dialog').close();review();}});$('#bg-dialog').addEventListener('close',()=>{if(lastFocus&&document.contains(lastFocus))lastFocus.focus({preventScroll:true});});save();\nconst supplierTagIds={\"fed\":99,\"moffat\":100,\"stoddart\":101,\"middleby\":102,\"uropa\":196,\"bwf-coffee\":206};\nconst clearanceCategoryId=195;\nconst catalogueApi='https:\/\/barrettshospitalitysupplies.com\/index.php';\nlet catalogueReady=false,catalogueCategories=[],cataloguePage=1,cataloguePageCount=1,catalogueTotal=0,catalogueQuery='',catalogueCategory=0,catalogueSupplier='',catalogueRequestVersion=0;\nconst originalCategories=categories,originalQuoteDialog=quoteDialog;\nconst textFromHtml=s=>new DOMParser().parseFromString(String(s||''),'text\/html').body.textContent||'';\nconst catalogueSearchDataUrl='https:\/\/barrettshospitalitysupplies.com\/index.php?rest_route=\/wp\/v2\/pages\/5831&_fields=content&v=20261016-4478';\nlet catalogueSearchPromise;\nconst catalogueSearchRecordsById=new Map();\nconst searchStopWords=new Set(['i','we','a','an','the','need','want','looking','look','for','please','me','us','some','after','can','you','help','find','with','equipment','commercial']);\nfunction searchWord(word){const aliases={refrigerator:'fridge',refrigerators:'fridge',refridgerator:'fridge',refridgerators:'fridge',fridges:'fridge',fryers:'fryer',freezers:'freezer',ovens:'oven'};if(aliases[word])return aliases[word];if(word.length>4&&word.endsWith('ies'))return word.slice(0,-3)+'y';if(word.length>4&&word.endsWith('s')&&!word.endsWith('ss')&&!word.endsWith('us')&&!word.endsWith('is'))return word.slice(0,-1);return word;}\nfunction searchTerms(s){ const capacities=String(s||'').replace(\/(\\d+(?:[.,]\\d+)?)\\s*(?:litres?|liters?|ltrs?|l)\\b\/gi,'$1l').replace(\/(\\d+)\\s*[x\u00d7]\\s*(\\d+(?:[.,]\\d+)?l)\\b\/gi,'$1x$2 $2'); return normalize(capacities).split(' ').filter(Boolean).filter(w=>!searchStopWords.has(w)).map(searchWord); }\n\/\/ Public search-index cache only. Product prices and customer details are never stored here.\nconst publicSearchCacheName='bhs-public-search-v1',publicSearchCacheKey=new URL('.\/__bhs-public-search-index__',catalogueSearchDataUrl).href,publicSearchCacheTtl=21600000;\nasync function publicCacheAccess(task){\n let timer;\n try{return await Promise.race([task,new Promise(resolve=>{timer=setTimeout(()=>resolve(null),750);})]);}\n catch{return null;}finally{clearTimeout(timer);}\n}\nfunction publicSearchCacheRecords(records){return records.map(r=>({id:r.id,provider:r.provider,categories:r.categories,model:r.model,text:r.text,name:r.name,...(r.sku?{sku:r.sku}:{})}));}\nasync function readPublicSearchCache(manifest){\n if(typeof caches==='undefined'||!manifest.version||!Number.isInteger(manifest.total)||manifest.total<1)return null;\n return publicCacheAccess((async()=>{\n  const cache=await caches.open(publicSearchCacheName),response=await cache.match(publicSearchCacheKey);\n  if(!response)return null;\n  const entry=await response.json(),age=Date.now()-entry.savedAt;\n  if(entry.version!==manifest.version||entry.total!==manifest.total||!Number.isFinite(age)||age<0||age>=publicSearchCacheTtl||!Array.isArray(entry.records)||entry.records.length!==manifest.total)return null;\n  if(!entry.records.every(r=>r&&['string','number'].includes(typeof r.id)&&typeof r.name==='string'&&typeof r.text==='string'&&Array.isArray(r.categories)))return null;\n  return entry.records;\n })());\n}\nasync function writePublicSearchCache(manifest,records){\n if(typeof caches==='undefined'||!manifest.version||!Number.isInteger(manifest.total)||records.length!==manifest.total)return;\n try{\n  const payload=JSON.stringify({version:manifest.version,total:manifest.total,savedAt:Date.now(),records:publicSearchCacheRecords(records)});\n  if(payload.length>12000000)return;\n  await publicCacheAccess((async()=>{const cache=await caches.open(publicSearchCacheName);await cache.put(publicSearchCacheKey,new Response(payload,{headers:{'Content-Type':'application\/json'}}));return true;})());\n }catch{\/* Storage is optional; normal catalogue loading remains available. *\/}\n}\n\nasync function fetchCatalogueSearchPage(url){\n const controller=new AbortController(),timer=setTimeout(()=>controller.abort(),20000);\n try{\n  const response=await fetch(url,{credentials:'same-origin',cache:'no-store',signal:controller.signal,headers:{Accept:'application\/json'}});\n  if(!response.ok)throw Error('Search data unavailable');\n  const page=await response.json();\n  const doc=new DOMParser().parseFromString(page.content?.rendered||'','text\/html');\n  const data=JSON.parse(doc.querySelector('#bhs-catalogue-data')?.textContent||'null');\n  if(!data)throw Error('Search data invalid');\n  return data;\n }finally{clearTimeout(timer);}\n}\nasync function loadCatalogueSearchData(){\n if(!catalogueSearchPromise){\n  catalogueSearchPromise=(async()=>{\n   const manifest=await fetchCatalogueSearchPage(catalogueSearchDataUrl);\n   let records=await readPublicSearchCache(manifest);\n   if(!records){\n   if(Array.isArray(manifest.records))records=manifest.records;\n   else if(Array.isArray(manifest.shards)){\n    records=[];\n    for(let offset=0;manifest.shards.length>offset;offset+=3){\n     const chunk=await Promise.all(manifest.shards.slice(offset,offset+3).map(async id=>{\n      if(!Number.isInteger(id))throw Error('Search data reference invalid');\n      const url=new URL(catalogueSearchDataUrl);\n      url.searchParams.set('rest_route','\/wp\/v2\/pages\/'+id);\n      url.searchParams.set('v',manifest.version||manifest.checked||'current');\n      const data=await fetchCatalogueSearchPage(url.href);\n      if(!Array.isArray(data.records))throw Error('Search data incomplete');\n      return data.records;\n     }));\n     records.push(...chunk.flat());\n    }\n    if(manifest.total&&records.length!==Number(manifest.total))throw Error('Search data incomplete');\n   }else throw Error('Search data invalid');\n   void writePublicSearchCache(manifest,records);\n   }\n   for(const record of records){\n    record.terms=searchTerms(record.text).join(' ');\n    record.termSet=new Set(record.terms.split(' '));\n    catalogueSearchRecordsById.set(record.id,record);\n   }\n   return records;\n  })().catch(error=>{catalogueSearchPromise=undefined;throw error;});\n }\n return catalogueSearchPromise;\n}\n\n\/\/ BEGIN GUIDED SEARCH\n\/\/ Guided search: catalogue facts only; no external AI requests or private pricing.\nvar guidedFilters={},guidedData=null,catalogueSupplierCounts=null;\nconst guidedUnknown='__not_stated';\nconst guidedLabels={kind:'Show',power:'Power',tanks:'Tank layout',capacity:'Capacity',volume:'Capacity',format:'Format',doors:'Doors',material:'Material',diameter:'Diameter',brand:'Brand',category:'Product category'};\nfunction resetGuidedSearch(){guidedFilters={};guidedData=null;resetBudget();}\nfunction guidedFacts(record){\n if(record.guidedFacts)return record.guidedFacts;\n const title=String(record.name||''),n=title.toLowerCase(),cats=(record.categories||[]).join(' \/ ');\n const parts=\/\\b(?:spares?|accessories|replacement parts)\\b\/i.test(cats)||\/\\b(?:replacement|spare|to suit|element|thermostat|castors?|compressor|door gasket|control knob|switch|microswitch|fryer oil pan|fryer basket)\\b\/i.test(title);\n const f={kind:parts?'Parts & accessories':'Products',category:(record.categories||[]).at(-1)||'',power:'',tanks:'',capacity:'',volume:'',format:'',doors:'',material:'',diameter:'',brand:''};\n const brand=title.match(\/^(Polar|Apuro|Vogue|Woodson|Waldorf|Cobra|Blue Seal|Benchstar|Thermaster|FED-X|Blizzard|Anvil|Bonn|Culinaire|Roband|Turbofan|Middleby Marshall|CookTek|Goldstein|Eswood|SanRemo|Mazzer|Mahlk\u00f6nig|Mahlkonig|Consistency)\\b\/i);\n if(brand)f.brand=brand[1].toLowerCase().replace(\/\\b\\w\/g,c=>c.toUpperCase()).replace('Fed-X','FED-X').replace('Mahlk\u00f6Nig','Mahlk\u00f6nig').replace('Sanremo','SanRemo').replace('Consistency','SanRemo \/ Mahlk\u00f6nig \/ PuqPress');\n if(!parts){\n  const electric=\/\\b(?:electric|electrical|induction)\\b\/i.test(title),gas=\/\\b(?:gas|lpg)\\b\/i.test(title);\n  f.power=electric&&gas?'Gas + electric':gas?'Gas':\/\\binduction\\b\/i.test(title)?'Electric \u2014 induction':electric?'Electric':'';\n  if(\/\\bfryers?\\b\/i.test(title)){if(\/\\b(?:twin|double|dual)\\b\/i.test(title)||\/\\b2\\s*[x\u00d7]\\s*\\d\/i.test(title))f.tanks='Twin tank';else if(\/\\bsingle\\b\/i.test(title))f.tanks='Single tank';}\n  const cap=title.match(\/\\b(?:(\\d+)\\s*[x\u00d7]\\s*)?(\\d+(?:\\.\\d+)?)\\s*(?:litres?|liters?|ltrs?|l)\\b\/i);\n  if(cap){f.capacity=(cap[1]?Number(cap[1])+' \u00d7 ':'')+Number(cap[2])+' L';if(!cap[1]){const litres=Number(cap[2]);f.volume=litres<=100?'Up to 100 L':litres<=300?'Over 100 to 300 L':litres<=600?'Over 300 to 600 L':litres<=1000?'Over 600 to 1,000 L':'Over 1,000 L';}}\n  if(\/\\b(?:free[ -]?standing|floor[ -]?standing)\\b\/i.test(title+' '+cats))f.format='Freestanding';\n  else if(\/\\b(?:bench[ -]?top|counter[ -]?top)\\b\/i.test(title+' '+cats))f.format='Benchtop \/ countertop';\n  else if(\/\\b(?:under[ -]?counter|under[ -]?bench)\\b\/i.test(title))f.format='Undercounter';\n  else if(\/\\bupright\\b\/i.test(title))f.format='Upright';\n  else if(\/\\b(?:back[ -]?bar|bar fridge)\\b\/i.test(title))f.format='Bar fridge';\n  else if(\/\\bdisplay\\b\/i.test(title))f.format='Display';\n  const door=title.match(\/\\b(\\d|single|double|triple|one|two|three|four)\\s*[- ]?doors?\\b\/i);\n  if(door){const d={single:1,double:2,triple:3,one:1,two:2,three:3,four:4}[door[1].toLowerCase()]||Number(door[1]);f.doors=d+' door'+(d===1?'':'s');}\n  if(\/\\bstainless steel\\b\/i.test(title))f.material='Stainless steel';else if(\/\\bcarbon steel\\b\/i.test(title))f.material='Carbon steel';else if(\/\\bcast iron\\b\/i.test(title))f.material='Cast iron';else if(\/\\balumini?um\\b\/i.test(title))f.material='Aluminium';else if(\/\\bcast aluminium\\b\/i.test(title))f.material='Aluminium';\n  if(\/\\b(?:frying pans?|frypans?|saucepans?|stockpots?|woks?)\\b\/i.test(title)){\n   const diameter=title.match(\/\\b(\\d+(?:\\.\\d+)?)\\s*(mm|cm)\\b\/i);\n   if(diameter)f.diameter=Number(diameter[1])*(diameter[2].toLowerCase()==='cm'?10:1)+' mm';\n  }\n }\n record.guidedFacts=f;return f;\n}\nfunction guidedFamily(q){const s=searchTerms(q).join(' ');return \/\\bfryer\\b\/.test(s)?'fryer':\/\\b(?:fridge|freezer|refrigeration|refrigerated|cooler|polar)\\b\/.test(s)?'fridge':\/\\b(?:oven|combi)\\b\/.test(s)?'oven':\/\\b(?:pan|frypan|wok|stockpot|saucepan)\\b\/.test(s)?'cookware':'';}\nfunction guidedDefinitions(q){const family=guidedFamily(q),keys=family==='fryer'?['power','tanks','capacity','format']:family==='fridge'?['format','doors','volume','category']:family==='oven'?['power','format','capacity','category']:family==='cookware'?['material','diameter','category']:['category','brand'];return [...new Set(['kind',...keys,'brand','category'])];}\nfunction guidedMatches(record,filters,skip){const facts=guidedFacts(record);return Object.entries(filters).every(([key,value])=>!value||key===skip||(facts[key]||guidedUnknown)===value);}\nfunction guidedOptions(rows,key,filters){const counts=new Map();for(const r of rows){const value=guidedFacts(r)[key]||guidedUnknown;if(!counts.has(value))counts.set(value,0);if(guidedMatches(r,filters,key))counts.set(value,counts.get(value)+1);}return [...counts].filter(([,count])=>count>0).map(([value,count])=>({value,count,label:value===guidedUnknown?'Not stated':value})).sort((a,b)=>a.value===guidedUnknown?1:b.value===guidedUnknown?-1:a.label.localeCompare(b.label,undefined,{numeric:true}));}\nfunction buildGuidedData(rows,q,filters){return {query:q,total:rows.length,filters:{...filters},fields:guidedDefinitions(q).map(key=>({key,label:guidedLabels[key],options:guidedOptions(rows,key,filters)})).filter(f=>f.options.some(o=>o.value!==guidedUnknown)&&(f.options.length>1||filters[f.key]))};}\nfunction guidedRequirements(){const selected=Object.entries(guidedFilters).filter(([,v])=>v).map(([k,v])=>guidedLabels[k]+': '+(v===guidedUnknown?'Not stated in catalogue':v));return (catalogueQuery?'Search: '+catalogueQuery:'')+(catalogueSupplier?'\\nSupplier: '+(catalogueSupplier==='uropa'?'Uropa \/ Nisbets':catalogueSupplier):'')+(selected.length?'\\nPreferences: '+selected.join('; '):'')+(budgetActive()?'\\nBudget (ex GST): '+budgetText():'');}\nfunction guidedHelp(){custom(catalogueQuery||'Help choosing equipment');const input=$('#bg-custom-form [name=\"requirements\"]');input.value=guidedRequirements()+'\\n\\nWhat we need it to do: ';input.placeholder='Tell us what you will use it for, how much you need to prepare, available space and any power requirements. We can help with anything you are unsure about.';input.focus();}\nfunction guidedPanel(){\n if(!catalogueQuery||!guidedData)return '';\n const d=guidedData,active=Object.entries(d.filters).filter(([,v])=>v),fields=d.fields.filter(f=>f.key!=='kind');\n const select=f=>'<label for=\"bg-guide-'+f.key+'\">'+esc(f.label)+'<select id=\"bg-guide-'+f.key+'\" data-guide-filter=\"'+f.key+'\"><option value=\"\">Any<\/option>'+f.options.map(o=>'<option value=\"'+esc(o.value)+'\"'+(d.filters[f.key]===o.value?' selected':'')+(!o.count?(d.filters[f.key]!==o.value?' disabled':''):'')+'>'+esc(o.label)+' ('+o.count+')<\/option>').join('')+'<\/select><\/label>';\n const kind=d.fields.find(f=>f.key==='kind'),tip=guidedFamily(catalogueQuery)==='fryer'?'Single or twin tanks? What capacity do you need? Choose any preferences below.':guidedFamily(catalogueQuery)==='fridge'?'Let\u2019s start with the format, number of doors or capacity you need.':guidedFamily(catalogueQuery)==='cookware'?'Choose a material or size to find a closer fit.':'Choose a category or brand to focus your search.';\n return '<section class=\"bg-guided\" aria-labelledby=\"bg-guide-heading\"><div class=\"bg-guide-heading\"><div><h3 id=\"bg-guide-heading\">Let\u2019s narrow it down.<\/h3><p>'+esc(d.total?tip:budgetActive()?'No products match this price range. Widen or clear your budget to see more options.':'We haven\u2019t found that phrase. Try a product type, brand or model code, or tell us what it needs to do.')+'<\/p><\/div>'+(active.length?'<button data-guide-reset>Clear filters<\/button>':'')+'<\/div>'+(kind?'<div class=\"bg-guide-kinds\" role=\"group\" aria-label=\"Product or parts\"><button data-guide-kind=\"\" aria-pressed=\"'+(!d.filters.kind)+'\">All matches<\/button>'+kind.options.map(o=>'<button data-guide-kind=\"'+esc(o.value)+'\" aria-pressed=\"'+(d.filters.kind===o.value)+'\"'+(!o.count?(d.filters.kind!==o.value?' disabled':''):'')+'>'+esc(o.label)+' \u00b7 '+o.count+'<\/button>').join('')+'<\/div>':'')+(fields.length?'<div class=\"bg-guide-fields\">'+fields.slice(0,4).map(select).join('')+'<\/div>':'')+(fields.length>4?'<details class=\"bg-guide-more\"'+(fields.slice(4).some(f=>d.filters[f.key])?' open':'')+'><summary>More filters<\/summary><div class=\"bg-guide-fields\">'+fields.slice(4).map(select).join('')+'<\/div><\/details>':'')+(active.length?'<div class=\"bg-guide-selected\" aria-label=\"Selected preferences\">'+active.map(([key,value])=>'<button data-guide-remove=\"'+key+'\" aria-label=\"Remove '+esc(guidedLabels[key]+': '+(value===guidedUnknown?'Not stated':value))+'\">'+esc(guidedLabels[key]+': '+(value===guidedUnknown?'Not stated':value))+' <span aria-hidden=\"true\">\u00d7<\/span><\/button>').join('')+'<\/div>':'')+'<div class=\"bg-guide-foot\"><span>Filters use catalogue names and categories. Confirm specifications in Details.<\/span><button data-guide-help>Not sure? We can help \u2192<\/button><\/div><\/section>';\n}\nroot.addEventListener('change',e=>{const key=e.target.dataset?.guideFilter;if(!key||!guidedData?.fields.some(f=>f.key===key))return;guidedFilters[key]=e.target.value;void showCatalogueProducts(catalogueCategory,catalogueQuery,1,e.target.id);});\nroot.addEventListener('click',e=>{const b=e.target.closest('button');if(!b)return;if(b.hasAttribute('data-guide-help')){guidedHelp();return;}if(b.hasAttribute('data-guide-reset')){guidedFilters={};resetBudget();}else if(b.hasAttribute('data-guide-remove'))delete guidedFilters[b.dataset.guideRemove];else if(b.hasAttribute('data-guide-kind'))guidedFilters.kind=b.dataset.guideKind;else return;void showCatalogueProducts(catalogueCategory,catalogueQuery,1,'bg-guide-heading');});\n\nfunction matchingSupplierCounts(rows,filters){const counts={};for(const record of rows)if(record.provider&&guidedMatches(record,filters))counts[record.provider]=(counts[record.provider]||0)+1;return counts;}\nconst categorySupplierCountsCache=new Map();\nasync function categorySupplierCounts(category){const budget={min:budgetMinCents,max:budgetMaxCents},key=JSON.stringify([Number(category)||0,budget.min,budget.max]),cached=categorySupplierCountsCache.get(key);if(cached&&Date.now()-cached.created<300000)return cached.promise;const promise=Promise.all(Object.entries(supplierTagIds).map(async([supplier,tag])=>{const r=await getCatalogue('products',{per_page:1,page:1,category:Number(category)||'',tag,...budgetParameters(budget)});return [supplier,r.total];})).then(Object.fromEntries).catch(error=>{categorySupplierCountsCache.delete(key);throw error;});categorySupplierCountsCache.set(key,{created:Date.now(),promise});return promise;}\nvar budgetMinCents=null,budgetMaxCents=null;\nconst budgetPriceCache=new Map(),budgetPriceTtl=300000;\nfunction budgetActive(budget){const b=budget||{min:budgetMinCents,max:budgetMaxCents};return b.min!==null||b.max!==null;}\nfunction resetBudget(){budgetMinCents=null;budgetMaxCents=null;}\nfunction budgetParameters(budget){const b=budget||{min:budgetMinCents,max:budgetMaxCents};if(!budgetActive(b))return {};const p={min_price:Math.max(1,b.min??1)};if(b.max!==null)p.max_price=b.max;return p;}\nfunction parseBudgetAmount(value){const s=String(value).trim();if(!s)return null;const n=Number(s),cents=Math.round(n*100);if(!Number.isFinite(n)||n<0||n>10000000||Math.abs(n*100-cents)>0.00001)throw Error('Enter a price from $0 to $10,000,000 with up to two decimal places.');return cents;}\nfunction budgetText(){return budgetMinCents!==null&&budgetMaxCents!==null?money(budgetMinCents\/100)+' \u2013 '+money(budgetMaxCents\/100):budgetMinCents!==null?'From '+money(budgetMinCents\/100):budgetMaxCents!==null?'Up to '+money(budgetMaxCents\/100):'Any price';}\nfunction budgetRecordKey(record){return record.sku?'sku:'+record.sku:'id:'+record.id;}\nfunction publicPriceCents(product){const p=product.prices,amount=Number(p?.price),minor=Number(p?.currency_minor_unit??2);return p?.currency_code==='AUD'&&p?.price!==''&&Number.isFinite(amount)&&amount>0&&Number.isInteger(minor)&&minor>=0&&minor<=4?Math.round(amount*100\/Math.pow(10,minor)):null;}\nfunction rememberBudgetPrice(product){const entry={cents:publicPriceCents(product),checked:Date.now()};if(product.id)budgetPriceCache.set('id:'+product.id,entry);if(product.sku)budgetPriceCache.set('sku:'+product.sku,entry);}\nfunction budgetRecordMatches(record,budget){if(!budgetActive(budget))return true;const cents=budgetPriceCache.get(budgetRecordKey(record))?.cents;if(!Number.isInteger(cents))return false;if(budget.min!==null)if(budget.min>cents)return false;if(budget.max!==null)if(cents>budget.max)return false;return true;}\nasync function loadBudgetPrices(records){\n const missing=records.filter(r=>{const e=budgetPriceCache.get(budgetRecordKey(r));return !e||Date.now()-e.checked>=budgetPriceTtl;}),batches=[];\n const native=missing.filter(r=>Number.isInteger(r.id)),skus=missing.filter(r=>r.sku);\n for(let i=0;native.length>i;i+=100)batches.push({rows:native.slice(i,i+100),kind:'include'});\n for(let i=0;skus.length>i;i+=50)batches.push({rows:skus.slice(i,i+50),kind:'sku'});\n for(let i=0;batches.length>i;i+=3)await Promise.all(batches.slice(i,i+3).map(async batch=>{\n  const values=batch.rows.map(r=>batch.kind==='sku'?r.sku:r.id).join(','),result=await getCatalogue('products',{per_page:batch.rows.length,[batch.kind]:values,_fields:'id,sku,prices'});\n  if(!Array.isArray(result.body))throw Error('Product prices could not load');\n  result.body.forEach(rememberBudgetPrice);\n  for(const record of batch.rows){if(!result.body.some(p=>record.sku?p.sku===record.sku:p.id===record.id))budgetPriceCache.set(budgetRecordKey(record),{cents:null,checked:Date.now()});}\n }));\n}\nfunction budgetControl(){return '<details class=\"bg-budget-disclosure\"'+(budgetActive()?' open':'')+'><summary>Budget <span>'+esc(budgetActive()?budgetText()+' ex GST':'Set a price range \u00b7 ex GST')+'<\/span><\/summary><form id=\"bg-budget-form\" class=\"bg-budget\" aria-label=\"Price range, ex GST\"><fieldset><legend>Price range \u00b7 ex GST<\/legend><div class=\"bg-budget-fields\"><label for=\"bg-budget-min\">Minimum $<input id=\"bg-budget-min\" name=\"minimum\" type=\"number\" min=\"0\" max=\"10000000\" step=\"0.01\" inputmode=\"decimal\" aria-label=\"Minimum price ex GST\" placeholder=\"No minimum\" value=\"'+(budgetMinCents===null?'':(budgetMinCents\/100).toFixed(2))+'\"><\/label><label for=\"bg-budget-max\">Maximum $<input id=\"bg-budget-max\" name=\"maximum\" type=\"number\" min=\"0\" max=\"10000000\" step=\"0.01\" inputmode=\"decimal\" aria-label=\"Maximum price ex GST\" placeholder=\"No maximum\" value=\"'+(budgetMaxCents===null?'':(budgetMaxCents\/100).toFixed(2))+'\"><\/label><button type=\"submit\">Apply budget<\/button>'+(budgetActive()?'<button type=\"button\" data-budget-clear>Clear budget<\/button>':'')+'<\/div><\/fieldset><p id=\"bg-budget-error\" role=\"alert\"><\/p>'+(budgetActive()?'<p class=\"bg-budget-note\">'+esc(budgetText())+' ex GST. Prices on enquiry are hidden while a budget is applied.<\/p>':'')+'<\/form><\/details>';}\nroot.addEventListener('submit',event=>{if(event.target.id!=='bg-budget-form')return;event.preventDefault();const form=event.target,status=$('#bg-budget-error');try{const minimum=parseBudgetAmount(form.elements.minimum.value),maximum=parseBudgetAmount(form.elements.maximum.value);if(minimum!==null&&maximum!==null&&minimum>maximum){status.textContent='The minimum price must be less than or equal to the maximum price.';form.elements.maximum.focus();return;}budgetMinCents=minimum;budgetMaxCents=maximum;status.textContent='';void showCatalogueProducts(catalogueCategory,catalogueQuery,1,'bg-budget-max');}catch(error){status.textContent=error.message;}});\nroot.addEventListener('click',event=>{const button=event.target.closest('[data-budget-clear]');if(!button)return;resetBudget();void showCatalogueProducts(catalogueCategory,catalogueQuery,1,'bg-budget-max');});\n\nvar catalogueSort='default';\nfunction priceSortActive(sort){return sort==='price-asc'||sort==='price-desc';}\nfunction compareCataloguePrices(a,b,sort){const av=budgetPriceCache.get(budgetRecordKey(a.record))?.cents,bv=budgetPriceCache.get(budgetRecordKey(b.record))?.cents,ap=Number.isInteger(av)?av:null,bp=Number.isInteger(bv)?bv:null;if(ap===null){if(bp!==null)return 1;}else if(bp===null)return -1;else if(ap!==bp)return sort==='price-desc'?bp-ap:ap-bp;return a.record.name.localeCompare(b.record.name)||String(a.record.id).localeCompare(String(b.record.id));}\nfunction priceSortControl(){return '<label class=\"bg-sort\" for=\"bg-catalogue-sort\">Sort by \u00b7 ex GST<select id=\"bg-catalogue-sort\"><option value=\"default\"'+(catalogueSort==='default'?' selected':'')+'>Default order<\/option><option value=\"price-asc\"'+(catalogueSort==='price-asc'?' selected':'')+'>Price: low to high<\/option><option value=\"price-desc\"'+(catalogueSort==='price-desc'?' selected':'')+'>Price: high to low<\/option><\/select>'+(priceSortActive(catalogueSort)&&!budgetActive()?'<small>Price-on-enquiry items appear last.<\/small>':'')+'<\/label>';}\nasync function sortedCategoryProducts(params,sort){\n const scope={...params};delete scope.bhs_price_sort;\n if(sort==='price-desc'||Number(scope.min_price)>0)return getCatalogue('products',{...scope,orderby:'price',order:sort==='price-desc'?'desc':'asc'});\n const limit=Math.max(1,Number(scope.per_page)||24),requested=Math.max(1,Number(scope.page)||1);delete scope.per_page;delete scope.page;delete scope.offset;\n const [all,priced]=await Promise.all([getCatalogue('products',{...scope,per_page:1,page:1,orderby:'price',order:'desc',_fields:'id'}),getCatalogue('products',{...scope,per_page:1,page:1,min_price:1,orderby:'price',order:'asc',_fields:'id'})]);\n const total=all.total,pages=Math.max(1,Math.ceil(total\/limit)),page=Math.min(requested,pages),start=(page-1)*limit,pricedTake=Math.min(limit,Math.max(0,priced.total-start)),unpricedTake=Math.min(limit-pricedTake,Math.max(0,total-start-pricedTake));\n const lists=await Promise.all([pricedTake?getCatalogue('products',{...scope,per_page:pricedTake,offset:start,min_price:1,orderby:'price',order:'asc'}):Promise.resolve({body:[]}),unpricedTake?getCatalogue('products',{...scope,per_page:unpricedTake,offset:priced.total+Math.max(0,start-priced.total),orderby:'price',order:'desc'}):Promise.resolve({body:[]})]);\n return {body:lists.flatMap(r=>r.body),total,pages,page};\n}\nroot.addEventListener('change',event=>{if(event.target.id!=='bg-catalogue-sort')return;const value=event.target.value;if(value!=='default'&&!priceSortActive(value))return;catalogueSort=value;void showCatalogueProducts(catalogueCategory,catalogueQuery,1,'bg-catalogue-sort');});\n\n\/\/ BEGIN PRODUCT COMPARISON\nconst compareStorageKey='bhs-guide-compare-v1';\nvar compareSelection=[],compareRendered=[],compareVersion=0;\nfunction restoreComparison(){try{const saved=JSON.parse(localStorage.getItem(compareStorageKey)||'[]');if(Array.isArray(saved))for(const x of saved){if(!x||typeof x.id!=='string'||!x.id||x.id.length>160||!Number.isInteger(x.wcId)||!(x.wcId>0)||compareSelection.some(p=>p.wcId===x.wcId))continue;compareSelection.push({id:x.id,wcId:x.wcId,name:typeof x.name==='string'?x.name.slice(0,200):x.id,model:typeof x.model==='string'?x.model.slice(0,100):x.id});if(compareSelection.length===3)break;}}catch(error){compareSelection=[];}refreshComparisonTray();}\nfunction saveComparison(){try{localStorage.setItem(compareStorageKey,JSON.stringify(compareSelection.map(({id,wcId,name,model})=>({id,wcId,name,model}))));}catch(error){}refreshComparisonTray();}\nfunction comparisonSelected(id){return compareSelection.some(x=>x.id===id);}\nfunction comparisonButton(p){return '<button type=\"button\" class=\"bg-compare-pick\" data-compare-pick=\"'+esc(p.id)+'\" aria-pressed=\"'+comparisonSelected(p.id)+'\" aria-label=\"Compare '+esc(p.name)+'\">'+(comparisonSelected(p.id)?'Selected \u2713':'Compare')+'<\/button>';}\nfunction refreshComparisonTray(){const tray=$('#bg-compare-tray');if(!tray)return;tray.hidden=!compareSelection.length;tray.innerHTML=compareSelection.length?'<div class=\"bg-compare-tray-copy\"><strong>Compare '+compareSelection.length+' of 3<\/strong><div class=\"bg-compare-picks\">'+compareSelection.map(p=>'<button type=\"button\" data-compare-remove=\"'+esc(p.id)+'\" aria-label=\"Remove '+esc(p.name)+' from comparison\">'+esc(p.model||p.id)+' <span aria-hidden=\"true\">\u00d7<\/span><\/button>').join('')+'<\/div><\/div><div class=\"bg-compare-tray-actions\"><button id=\"bg-compare-open\" type=\"button\" data-compare-open'+(compareSelection.length===1?' disabled':'')+'>Compare selected<\/button><button type=\"button\" data-compare-clear>Clear<\/button><\/div><p id=\"bg-compare-tray-status\" role=\"status\" aria-live=\"polite\">'+(compareSelection.length===1?'Choose one more product to compare.':'')+'<\/p>':'';for(const button of root.querySelectorAll('[data-compare-pick]')){const selected=comparisonSelected(button.dataset.comparePick);button.setAttribute('aria-pressed',String(selected));button.textContent=selected?'Selected \u2713':'Compare';}}\nfunction toggleComparison(id){const index=compareSelection.findIndex(p=>p.id===id);if(index>=0){compareSelection.splice(index,1);saveComparison();return true;}const p=products.find(x=>x.id===id);if(!p||!Number.isInteger(p.wcId)||!(p.wcId>0)){say('This product cannot be compared just now. Please refresh the range.');return false;}if(compareSelection.length>=3){const status=$('#bg-compare-tray-status');if(status)status.textContent='Compare up to three products. Remove one to choose another.';say('Compare up to three products. Remove one to choose another.');return false;}compareSelection.push({id:p.id,wcId:p.wcId,name:p.name,model:p.model||p.id});saveComparison();say(p.name+' selected for comparison.');return true;}\nconst comparisonAttributeNames={dimensions:'Dimensions',width:'Width',depth:'Depth',height:'Height',capacity:'Capacity',volume:'Capacity',power:'Power input',powerinput:'Power input',voltage:'Voltage',weight:'Weight',netweight:'Net weight',material:'Material',temperature:'Temperature',temperaturerange:'Temperature range',gastype:'Gas type',fueltype:'Fuel type',warranty:'Warranty',warrantyperiod:'Warranty',condition:'Condition'};\nfunction readComparisonSpecs(wc){const doc=new DOMParser().parseFromString(String(wc.description||''),'text\/html');for(const el of doc.querySelectorAll('script,style'))el.remove();const fields={};const addField=(name,value)=>{const key=normalize(String(name)).replace(\/ \/g,''),label=comparisonAttributeNames[key],text=String(value||'').trim();if(label&&text)fields[label]=text.slice(0,600);};for(const a of wc.attributes||[])addField(a.name,(a.terms||[]).map(t=>textFromHtml(t.name||'')).join(', '));for(const tr of doc.querySelectorAll('tr')){const cells=tr.querySelectorAll('th,td');if(cells.length>=2)addField(cells[0].textContent,cells[1].textContent);}let paragraphs=[...doc.querySelectorAll('p,li')].filter(n=>!n.closest('table')&&!(n.tagName==='P'&&n.closest('li'))).map(n=>n.textContent.trim()).filter(Boolean);if(!paragraphs.length&&doc.body.textContent.trim())paragraphs=[doc.body.textContent.trim()];const footer=\/^(?:nisbets advertised retail price|supplier (?:list|reference|retail) price|reference price|advertised (?:retail|rrp)|availability and final quote|price checked|public catalogue|review the supplier[\u2019']s product specifications)\/i;const seen=new Set();const summary=paragraphs.filter(t=>!footer.test(t)).filter(t=>{if(seen.has(t))return false;seen.add(t);return true;}).slice(0,10).map(t=>t.slice(0,800));return {fields,summary};}\nfunction comparisonFacts(p){if(p.available===false)return {fields:{},summary:p.compareSpecs?.summary||[]};const specs=p.compareSpecs||{fields:{},summary:[]},fields={...specs.fields},facts=guidedFacts({name:p.name,categories:p.categoryLabels||[]});for(const [key,label] of [['capacity','Capacity'],['tanks','Tank layout'],['power','Power type'],['format','Format'],['doors','Doors'],['material','Material'],['diameter','Diameter']])if(facts[key]&&!fields[label])fields[label]=facts[key];if(facts.kind!=='Parts & accessories'&&!fields['Power input']){const source=[...specs.summary,p.name].join(' '),power=source.match(\/\\b\\d+(?:\\.\\d+)?(?:\\s*[x\u00d7]\\s*\\d+(?:\\.\\d+)?)?\\s*kW\\b\/i);if(power)fields['Power input']=power[0];}if(p.condition)fields.Condition=p.condition;if(p.clearance)fields['Warranty \/ guarantee']=\"No manufacturer's warranty. 30-day distributor guarantee.\";return {fields,summary:specs.summary};}\nfunction comparisonPriceCell(p){if(p.available===false)return '<strong>Unavailable<\/strong>';const price=p.price===null?(p.rentalOnly?(p.rentalWeekly?money(p.rentalWeekly)+'<small>ex GST \/ week<\/small>':'Included with machine rental'):'Price on enquiry'):money(p.price)+' <small>ex. GST<\/small>';return '<div class=\"bg-compare-price\">'+price+'<\/div>'+(p.price!==null?'<small class=\"bg-compare-tax\">'+money(p.price*1.1)+' incl. GST<\/small>':'')+productSaleUnit(p)+'<button type=\"button\" class=\"bg-add\" data-compare-add=\"'+esc(p.id)+'\">Add to quote +<\/button>';}\nfunction comparisonTable(list){const facts=list.map(comparisonFacts),labels=[...new Set(facts.flatMap(f=>Object.keys(f.fields)))],preferred=['Capacity','Tank layout','Power type','Power input','Voltage','Dimensions','Width','Depth','Height','Format','Doors','Material','Diameter','Weight','Net weight','Temperature','Temperature range','Gas type','Fuel type','Condition','Warranty','Warranty \/ guarantee'];labels.sort((a,b)=>(preferred.indexOf(a)<0?999:preferred.indexOf(a))-(preferred.indexOf(b)<0?999:preferred.indexOf(b))||a.localeCompare(b));const row=(label,cells,cls='')=>'<tr'+(cls?' class=\"'+cls+'\"':'')+'><th scope=\"row\">'+esc(label)+'<\/th>'+cells.map(cell=>'<td>'+cell+'<\/td>').join('')+'<\/tr>';return '<p class=\"bg-compare-intro\">Compare current catalogue details. Missing specifications are marked \u201cNot stated\u201d.<\/p><p class=\"bg-compare-swipe\">Swipe sideways to compare products \u2192<\/p><div class=\"bg-compare-scroll\" tabindex=\"0\" role=\"region\" aria-label=\"Side-by-side product comparison\"><table class=\"bg-compare-table\" style=\"--compare-count:'+list.length+'\"><caption class=\"bg-compare-sr\">Product specifications and ex-GST selling prices<\/caption><colgroup><col class=\"bg-compare-label\">'+list.map(()=>'<col class=\"bg-compare-item\">').join('')+'<\/colgroup><thead><tr><th scope=\"col\">Product<\/th>'+list.map(p=>'<th scope=\"col\">'+(\/^https?:\\\/\\\/\/.test(p.image||'')?'<img decoding=\"async\" src=\"'+esc(p.image)+'\" alt=\"\" class=\"bg-compare-photo\">':'')+'<h3>'+esc(p.name)+'<\/h3>'+(p.imageBasis?'<small>'+esc(p.imageBasis)+'<\/small>':'')+'<button type=\"button\" data-compare-remove=\"'+esc(p.id)+'\" aria-label=\"Remove '+esc(p.name)+' from comparison\">Remove<\/button><\/th>').join('')+'<\/tr><\/thead><tbody>'+row('Price',list.map(comparisonPriceCell),'bg-compare-price-row')+row('Model',list.map(p=>esc(p.model||p.id)))+row('Supplier',list.map(p=>esc(p.supplier||'Not stated')))+row('Brand',list.map(p=>esc(p.brand||'Not stated')))+labels.map(label=>row(label,facts.map(f=>esc(f.fields[label]||'Not stated')))).join('')+row('Catalogue details',facts.map(f=>f.summary.length?'<ul>'+f.summary.map(s=>'<li>'+esc(s)+'<\/li>').join('')+'<\/ul>':'Not stated'))+row('Supplier specifications',list.map(p=>p.available!==false&&\/^https:\\\/\\\/\/.test(p.url||'')?'<a href=\"'+esc(p.url)+'\" target=\"_blank\" rel=\"noopener noreferrer\">View supplier specs \u2197<\/a>':'Unavailable'))+'<\/tbody><\/table><\/div><p id=\"bg-compare-status\" role=\"status\" aria-live=\"polite\"><\/p><p class=\"bg-compare-note\">Ex-GST prices are shown first, with GST-inclusive amounts underneath. Confirm dimensions, installation requirements, availability and final pricing with our team.<\/p>';}\nfunction showComparisonView(html){const dialog=$('#bg-dialog');if(dialog.open)$('#bg-dialog-body').innerHTML=html;else openDialog(html);dialog.classList.add('bg-compare-dialog');}\nasync function openComparison(){if(compareSelection.length<2){say('Choose at least two products to compare.');return;}const version=++compareVersion,selected=compareSelection.map(p=>({...p}));showComparisonView(top('Compare products')+'<p role=\"status\" class=\"bg-shimmer\">Loading current prices and specifications\u2026<\/p>');try{const response=await getCatalogue('products',{include:selected.map(p=>p.wcId).join(','),per_page:selected.length,orderby:'include'});if(version!==compareVersion||!$('#bg-dialog').open||!$('#bg-dialog').classList.contains('bg-compare-dialog'))return;const current=response.body.map(readCatalogueProduct).filter(Boolean);compareRendered=selected.map(entry=>{const p=current.find(p=>p.wcId===entry.wcId);return p?{...p,available:true}:{...entry,available:false,price:null,supplier:'Unavailable',brand:'',compareSpecs:{fields:{},summary:['This product is no longer in the current catalogue. Remove it and choose another product.']}};});$('#bg-dialog-body').innerHTML=top('Compare products')+comparisonTable(compareRendered);}catch(error){if(version!==compareVersion||!$('#bg-dialog').open||!$('#bg-dialog').classList.contains('bg-compare-dialog'))return;$('#bg-dialog-body').innerHTML=top('Compare products')+'<p>We couldn\u2019t load the latest product details. Your comparison choices are still saved.<\/p><button type=\"button\" data-compare-retry>Try again<\/button>';}}\nfunction removeComparison(id){compareSelection=compareSelection.filter(p=>p.id!==id);saveComparison();if($('#bg-dialog').open&&$('#bg-dialog').classList.contains('bg-compare-dialog')){if(compareSelection.length>=2)void openComparison();else{$('#bg-dialog').close();say(compareSelection.length?'Choose one more product to compare.':'Your comparison is cleared.');}}}\nfunction addComparisonToQuote(id){const p=compareRendered.find(p=>p.id===id);if(!p||p.available===false)return false;const before=quote.filter(x=>x.id===id).reduce((sum,x)=>sum+x.qty,0);add(id);const after=quote.filter(x=>x.id===id).reduce((sum,x)=>sum+x.qty,0),added=after>before,status=$('#bg-compare-status');if(status)status.textContent=added?p.name+' added to your quote.':$('#bg-status').textContent;return added;}\nroot.addEventListener('click',event=>{const b=event.target.closest('button');if(!b)return;if(b.hasAttribute('data-compare-pick'))toggleComparison(b.dataset.comparePick);else if(b.hasAttribute('data-compare-open')||b.hasAttribute('data-compare-retry'))void openComparison();else if(b.hasAttribute('data-compare-remove'))removeComparison(b.dataset.compareRemove);else if(b.hasAttribute('data-compare-clear')){compareSelection=[];saveComparison();}else if(b.hasAttribute('data-compare-add'))addComparisonToQuote(b.dataset.compareAdd);});\n$('#bg-dialog')?.addEventListener('close',()=>{const dialog=$('#bg-dialog');if(!dialog.classList.contains('bg-compare-dialog'))return;dialog.classList.remove('bg-compare-dialog');compareVersion++;const target=compareSelection.length>=2?$('#bg-compare-open'):$('#bg-search');if(target)target.focus({preventScroll:true});});\nrestoreComparison();\n\n\/\/ END PRODUCT COMPARISON\n\/\/ END GUIDED SEARCH\nasync function getIndexedCatalogueProducts(params){const sort=catalogueSort,budget={min:budgetMinCents,max:budgetMaxCents},filters={...guidedFilters},supplier=catalogueSupplier,all=await loadCatalogueSearchData(),words=searchTerms(params.search),compact=normalize(params.search).replace(\/ \/g,'');let searchMatches=all.map(record=>{const model=normalize(record.model).replace(\/ \/g,''),name=normalize(record.name),nameCompact=name.replace(\/ \/g,'');const modelMatch=compact.length>2&&(model===compact||\/\\d\/.test(compact)&&nameCompact.includes(compact));const matched=modelMatch||words.length&&words.every(word=>record.termSet.has(word));const categoryMatch=(record.categories||[]).some(c=>searchTerms(c).join(' ')===words.join(' '));return {record,score:modelMatch?1000:(categoryMatch?50:0)+(record.provider==='uropa'&&(\/-A$\/.test(record.model)||\/^JB834-[NP]$\/.test(record.model))&&\/polar|apuro\/i.test(record.name)?5:0)+words.reduce((sum,word)=>sum+(name.includes(word)?10:1),0),matched};}).filter(x=>x.matched).sort((a,b)=>b.score-a.score||a.record.name.localeCompare(b.record.name));if(budgetActive(budget)||priceSortActive(sort))await loadBudgetPrices(searchMatches.map(x=>x.record));if(budgetActive(budget))searchMatches=searchMatches.filter(x=>budgetRecordMatches(x.record,budget));const suppliers=matchingSupplierCounts(searchMatches.map(x=>x.record),filters),matches=searchMatches.filter(x=>!supplier||x.record.provider===supplier),guide=buildGuidedData(matches.map(x=>x.record),params.search,filters),filtered=matches.filter(x=>guidedMatches(x.record,filters)).sort((a,b)=>priceSortActive(sort)?compareCataloguePrices(a,b,sort):0),perPage=Number(params.per_page)||24,pages=Math.max(1,Math.ceil(filtered.length\/perPage)),page=Math.max(1,Math.min(pages,Number(params.page)||1)),start=(page-1)*perPage,selected=filtered.slice(start,start+perPage).map(x=>x.record),ids=selected.filter(r=>Number.isInteger(r.id)).map(r=>r.id),skus=selected.filter(r=>r.sku).map(r=>r.sku);if(!selected.length)return {body:[],pages,total:filtered.length,page,guide,suppliers};const responses=await Promise.all([ids.length?getCatalogue('products',{per_page:ids.length,include:ids.join(','),orderby:'include'}):Promise.resolve({body:[]}),skus.length?getCatalogue('products',{per_page:skus.length,sku:skus.join(',')}):Promise.resolve({body:[]})]);const found=responses.flatMap(r=>r.body),ordered=selected.map(r=>found.find(p=>r.sku?p.sku===r.sku:p.id===r.id)).filter(Boolean);return {body:ordered,pages,total:filtered.length,page,guide,suppliers};}\n\nasync function getCatalogue(route,params){if(route==='products'&&params?.search)return await getIndexedCatalogueProducts(params);if(route==='products'&&priceSortActive(params?.bhs_price_sort))return sortedCategoryProducts(params,params.bhs_price_sort);if(route==='products'&&params?.max_price!==undefined&&Number(params.min_price)>Number(params.max_price))return {body:[],pages:1,total:0};const url=new URL(catalogueApi);url.searchParams.set('rest_route','\/wc\/store\/v1\/'+route);for(const [k,v] of Object.entries(params||{}))if(k!=='bhs_price_sort'&&v!==undefined&&v!==null&&v!=='')url.searchParams.set(k,v);const controller=new AbortController(),timer=setTimeout(()=>controller.abort(),20000);try{const response=await fetch(url,{credentials:'same-origin',signal:controller.signal,headers:{Accept:'application\/json'}});if(!response.ok)throw new Error('Catalogue request failed ('+response.status+')');const body=await response.json();if(!Array.isArray(body))throw new Error('Catalogue response was not a list');return {body,pages:Number(response.headers.get('X-WP-TotalPages')||1),total:Number(response.headers.get('X-WP-Total')||body.length)};}finally{clearTimeout(timer);}}\nfunction readCatalogueProduct(wc){rememberBudgetPrice(wc);const doc=new DOMParser().parseFromString(wc.short_description||'','text\/html');const node=doc.querySelector('[data-bhs-product]');if(!node)return null;let m;try{m=JSON.parse(node.getAttribute('data-bhs-product'));}catch(e){return null;}if(!m.supplier||!\/^https:\\\/\\\/\/.test(m.url||''))return null;const amount=wc.prices?.price,currency=wc.prices?.currency_code,price=amount&&currency==='AUD'&&Number(amount)>0?Number(amount)\/Math.pow(10,wc.prices.currency_minor_unit||2):null;const p={id:wc.sku||'CAT-'+wc.id,wcId:wc.id,name:textFromHtml(wc.name),image:m.image||wc.images?.[0]?.src||'',supplier:m.supplier,provider:m.provider,model:m.model||'',sourceId:m.sourceId||'',url:m.url,price,checked:m.checked||'',brand:m.brand||'',sourceScope:m.sourceScope||'product',imageBasis:m.imageBasis||'',saleUnit:m.saleUnit||'',catalogueImages:Array.isArray(m.catalogueImages)?m.catalogueImages:[],clearance:m.clearance===true,packageDeal:m.packageDeal===true,rentalOnly:m.rentalOnly===true,rentalWeekly:Number(m.rentalWeekly)||null,rentalMonthly:Number(m.rentalMonthly)||null,offerTerms:m.offerTerms||'',referenceLabel:m.referenceLabel||'',referenceUrl:m.referenceUrl||'',regularPrice:wc.on_sale&&wc.prices?.regular_price?Number(wc.prices.regular_price)\/Math.pow(10,wc.prices.currency_minor_unit||2):null,compareSpecs:readComparisonSpecs(wc),categoryLabels:(wc.categories||[]).map(c=>textFromHtml(c.name||'')),condition:typeof m.condition==='string'?m.condition:'',description:textFromHtml(wc.description)||'Review the supplier\u2019s product specifications for dimensions, capacity and installation requirements. Our team will confirm availability, freight and the final quote.'};const existing=products.findIndex(x=>x.id===p.id);if(existing===-1)products.push(p);else products[existing]=p;return p;}\nfunction normalizeSupplierSelection(counts){if(catalogueSupplier&&!(Number(counts?.[catalogueSupplier])>0)){catalogueSupplier='';return true;}return false;}\nfunction catalogueControls(){return '<div class=\"bg-catalogue-controls\"><label>Supplier<select id=\"bg-catalogue-supplier\"><option value=\"\">All suppliers<\/option>'+Object.keys(supplierTagIds).filter(k=>Number(catalogueSupplierCounts?.[k])>0).map(k=>'<option value=\"'+k+'\"'+(catalogueSupplier===k?' selected':'')+'>'+esc(k==='fed'?'FED':k==='middleby'?'Middleby':k==='bwf-coffee'?'BWF Coffee':k==='uropa'?'Uropa \/ Nisbets':k[0].toUpperCase()+k.slice(1))+'<\/option>').join('')+'<\/select><\/label>'+priceSortControl()+budgetControl()+'<span>'+catalogueTotal.toLocaleString('en-AU')+' product'+(catalogueTotal===1?'':'s')+(cataloguePageCount>1?' \u00b7 Page '+cataloguePage+' of '+cataloguePageCount:'')+'<\/span><\/div>';}\nfunction cataloguePagination(){return cataloguePageCount>1?'<nav class=\"bg-catalogue-pagination\" aria-label=\"Product pages\"><button data-catalogue-page=\"'+(cataloguePage-1)+'\"'+(cataloguePage===1?' disabled':'')+'>\u2190 Previous<\/button><span>Page '+cataloguePage+' of '+cataloguePageCount+'<\/span><button data-catalogue-page=\"'+(cataloguePage+1)+'\"'+(cataloguePage===cataloguePageCount?' disabled':'')+'>Next \u2192<\/button><\/nav>':'';}\nasync function showCatalogueProducts(categoryId,q,page,focusId){const active=document.activeElement,restoreFocus=focusId||(active&&$('#bg-workspace').contains(active)?active.id:'');const pageChanged=(page||1)!==cataloguePage;const scopeChanged=(q||'')!==catalogueQuery||(Number(categoryId)||0)!==catalogueCategory;const moveToResults=scopeChanged||pageChanged||view!==\"products\";if(scopeChanged)resetGuidedSearch();const request=++catalogueRequestVersion;catalogueCategory=Number(categoryId)||0;catalogueQuery=q||'';cataloguePage=page||1;view='products';$('#bg-status').textContent='Finding your equipment\u2026';$('#bg-status').classList.add('bg-shimmer');$('#bg-workspace').setAttribute('aria-busy','true');showCatalogueLoading(scopeChanged||pageChanged);try{const [result,categoryCounts]=await Promise.all([getCatalogue('products',{per_page:24,page:cataloguePage,category:catalogueCategory||'',search:catalogueQuery,tag:catalogueSupplier?supplierTagIds[catalogueSupplier]:'',orderby:'title',order:'asc',...budgetParameters(),bhs_price_sort:catalogueSort}),catalogueQuery?Promise.resolve(null):categorySupplierCounts(catalogueCategory)]);if(request!==catalogueRequestVersion)return;cataloguePageCount=result.pages;cataloguePage=result.page||cataloguePage;catalogueTotal=result.total;guidedData=result.guide||null;catalogueSupplierCounts=result.suppliers||categoryCounts||{};if(normalizeSupplierSelection(catalogueSupplierCounts))return await showCatalogueProducts(categoryId,q,1,focusId);const list=result.body.map(readCatalogueProduct).filter(Boolean),node=path[path.length-1],title=catalogueCategory===clearanceCategoryId?'Clearance':catalogueQuery?'Results for \u201c'+catalogueQuery+'\u201d':node?.name||'Explore the equipment range';reveal(crumbs()+'<div class=\"bg-section-head\"><div><h2>'+esc(title)+'<\/h2><p class=\"bg-section-copy\">'+(catalogueCategory===clearanceCategoryId?'Browse our selected clearance equipment and add what you need to your quote.':'Review the options and add what you need to your quote.')+'<\/p><\/div><button '+(catalogueQuery?'data-guide-help':'data-custom=\"'+esc(path.map(x=>x.name).join(' \u2192 ')||'Help choosing equipment')+'\"')+'>Ask us to help choose<\/button><\/div>'+guidedPanel()+catalogueControls()+(list.length?'<div class=\"bg-product-grid\">'+list.map(productCard).join('')+'<\/div>':(catalogueCategory===clearanceCategoryId&&!budgetActive()?'<div class=\"bg-empty\"><h3>Clearance equipment<\/h3><p>Our clearance list is being prepared. Please check back soon or ask our team about available equipment.<\/p><button data-custom=\"Clearance equipment enquiry\">Ask about clearance<\/button><\/div>':'<div class=\"bg-empty\"><h3>Let\u2019s find the right fit.<\/h3><p>'+ (Object.values(guidedFilters).some(Boolean)||budgetActive()?'No products match this combination. Clear a filter or widen the price range to see more options.':'No matching products were found'+(catalogueSupplier?' for this supplier':'')+'. Try another search or supplier, or tell our team what you need.')+'<\/p>'+(Object.values(guidedFilters).some(Boolean)?'<button data-guide-reset>Clear filters<\/button>':'')+'<button data-custom=\"'+esc(catalogueQuery||title)+'\">Help me find equipment<\/button><\/div>'))+cataloguePagination()+'<p class=\"bg-bottom-note\">Ex-GST prices are shown first, with GST-inclusive prices underneath. Supplier prices are references for your quote; availability, freight, installation and final pricing are confirmed by our team. Use product Details to see the supplier source and price-check date. SilverChef weekly estimates show GST separately and exclude deposits and fees; terms, eligibility and final amounts are confirmed by SilverChef.<\/p>',{scroll:moveToResults,focus:!restoreFocus});if(restoreFocus){const target=$('#'+restoreFocus);if(target){if(restoreFocus==='bg-guide-heading')target.setAttribute('tabindex','-1');target.focus({preventScroll:true});}}say(guidedData?catalogueTotal.toLocaleString('en-AU')+(catalogueTotal===1?' matching product':' matching products')+(Object.values(guidedFilters).some(Boolean)?' with your preferences.':'.'):'');}catch(error){if(request!==catalogueRequestVersion)return;say('We couldn\u2019t load the product range just now. Please try again or contact our team.');reveal('<div class=\"bg-empty\"><h2>The range is taking a moment.<\/h2><p>You can retry, or let us know what you\u2019re looking for and we\u2019ll help.<\/p><button data-catalogue-retry>Try again<\/button><button data-custom=\"'+esc(catalogueQuery||'Help finding equipment')+'\">Ask our team<\/button><\/div>');}finally{if(request===catalogueRequestVersion)$('#bg-workspace').removeAttribute('aria-busy');}}\nasync function loadCatalogueCategories(){const all=[];let page=1,pages=1;do{const result=await getCatalogue('products\/categories',{per_page:100,page,hide_empty:true,orderby:'name',order:'asc'});all.push(...result.body);pages=result.pages;page++;}while(pages>=page&&15>=page);catalogueCategories=all.filter(c=>c.slug?.startsWith('bhs-'));const nodes=new Map(catalogueCategories.map(c=>[c.id,{name:textFromHtml(c.name),id:c.id,count:c.count,hint:c.count.toLocaleString('en-AU')+' products',children:[]} ]));const roots=[];for(const c of catalogueCategories){const n=nodes.get(c.id);if(nodes.has(c.parent))nodes.get(c.parent).children.push(n);else roots.push(n);}for(const n of nodes.values())if(!n.children.length)delete n.children;const iconMap={Cooking:'oven',Refrigeration:'fridge','Baking & Pizza':'baking',Warewashing:'wash','Beverage & Coffee':'coffee',Ice:'ice'};for(const r of roots)r.icon=iconMap[r.name];if(roots.length){tree.splice(0,tree.length,...roots);catalogueReady=true;}return roots;}\ncategories=function(){resetGuidedSearch();catalogueRequestVersion++;$('#bg-workspace').removeAttribute('aria-busy');if(!catalogueReady){const request=catalogueRequestVersion;say('Preparing the product categories\u2026');loadCatalogueCategories().then(()=>{if(request!==catalogueRequestVersion)return;if(catalogueReady)categories();else originalCategories();}).catch(()=>{if(request!==catalogueRequestVersion)return;say('The categories couldn\u2019t load. You can still ask our team for help.');originalCategories();});return;}view='categories';const node=path[path.length-1],list=node?node.children:tree;if(!list){showCatalogueProducts(node.id,'',1);return;}catalogueQuery='';catalogueSupplier='';reveal(crumbs()+'<div class=\"bg-section-head\"><div><h2>'+esc(node?node.name:'Let\u2019s start with a category.')+'<\/h2><p class=\"bg-section-copy\">'+(node?'Choose a type of equipment or view everything in this category.':'Take a look around. We\u2019ll narrow it down together.')+'<\/p><\/div>'+(node?'<button data-all-category=\"'+node.id+'\">View all '+node.count.toLocaleString('en-AU')+' products \u2192<\/button>':'<button data-all-category=\"0\">Browse all products \u2192<\/button>')+'<\/div><div class=\"bg-category-grid\">'+list.map(tile).join('')+'<\/div>');say('');};\nsearch=function(q){q=q.trim();resetGuidedSearch();if(supportIntent(q)){clearTimeout(searchTimer);say('');supportForm(q);return;}if(!q){$('#bg-search').focus();say('Try a product, brand or model number.');return;}clearTimeout(searchTimer);lastQuery=q;path=[];catalogueSupplier='';showCatalogueProducts(0,q,1);};\nitem=function(x){return x.custom?{name:x.name,id:x.id,price:null,supplier:'Equipment request',description:x.notes}:products.find(p=>p.id===x.id)||x.product||{name:'Equipment reference '+x.id,id:x.id,price:null,supplier:'To confirm',url:'',description:'Our team will confirm this product.'};};\nconst originalAdd=add;add=function(id){if(originalAdd(id)===false)return;const p=products.find(p=>p.id===id),q=quote.find(x=>x.id===id);if(p&&q){q.product={...p};save();}};\nvar quoteRefreshVersion=0;\nquoteDialog=async function(){\n const request=++quoteRefreshVersion,ids=[...new Set(quote.filter(x=>!x.custom&&x.product?.wcId).map(x=>x.product.wcId))];\n if(!ids.length){originalQuoteDialog();return;}\n openDialog(top('Your quote, taking shape.')+'<p id=\"bg-quote-refresh\" role=\"status\" class=\"bg-quote-refresh\">Checking current catalogue prices\u2026<\/p><p>Your equipment list is saved. You can close this window while we check.<\/p>');\n const dialog=$('#bg-dialog'),current=()=>request===quoteRefreshVersion&&dialog.open&&Boolean($('#bg-quote-refresh'));\n try{\n  const refreshed=[];\n  for(let i=0;i<ids.length;i+=100){const result=await getCatalogue('products',{include:ids.slice(i,i+100).join(','),per_page:100});if(!current())return;refreshed.push(...result.body);}\n  if(!current())return;\n  refreshed.forEach(readCatalogueProduct);\n  for(const q of quote)if(!q.custom){const p=products.find(x=>x.id===q.id);if(p)q.product={...p};}\n  save();originalQuoteDialog();\n }catch(error){\n  if(!current())return;\n  originalQuoteDialog();\n  const note=document.createElement('p');note.className='bg-quote-note';note.setAttribute('role','status');note.textContent='Current prices could not be refreshed. Saved reference prices are shown; our team will confirm them with your quote.';$('#bg-dialog-body').querySelector('.bg-dialog-top').after(note);\n }\n};\nconst originalSupportSupplier=knownSupportSupplier;knownSupportSupplier=function(brand,model){const found=products.find(p=>p.model&&normalize(p.model).replace(\/ \/g,'')===normalize(model).replace(\/ \/g,'')&&normalize(p.brand||p.name).includes(normalize(brand)));return found?.provider||originalSupportSupplier(brand,model);};\nroot.addEventListener('click',e=>{const b=e.target.closest('button');if(!b)return;if(b.dataset.allCategory!==undefined)showCatalogueProducts(Number(b.dataset.allCategory),'',1);else if(b.dataset.cataloguePage!==undefined)showCatalogueProducts(catalogueCategory,catalogueQuery,Number(b.dataset.cataloguePage));else if(b.hasAttribute('data-catalogue-retry'))showCatalogueProducts(catalogueCategory,catalogueQuery,cataloguePage);});\nroot.addEventListener('change',e=>{if(e.target.id==='bg-catalogue-supplier'){catalogueSupplier=e.target.value;showCatalogueProducts(catalogueCategory,catalogueQuery,1);}});\n$('#bg-clearance').addEventListener('click',()=>{resetGuidedSearch();path=[];catalogueSupplier='';showCatalogueProducts(clearanceCategoryId,'',1);});\nfunction openCatalogueHash(){ const hash=location.hash,queries={'#polar':'Polar','#apuro':'Apuro','#apuro-fryers':'Apuro fryers','#vogue':'Vogue','#coffee-offers':'BWF Coffee','#consistency':'Consistency','#uropa':''}; if(hash!=='#clearance'&&!Object.prototype.hasOwnProperty.call(queries,hash))return false; resetGuidedSearch();path=[];catalogueSupplier=hash==='#clearance'?'':hash==='#coffee-offers'||hash==='#consistency'?'bwf-coffee':'uropa';const q=queries[hash]||'';$('#bg-search').value=q;lastQuery=q;showCatalogueProducts(hash==='#clearance'?clearanceCategoryId:0,q,1);return true; }\nwindow.addEventListener('hashchange',openCatalogueHash);\nopenCatalogueHash();\n\/\/ Guided finder: explicit preferences applied to public catalogue facts.\n\/\/ This is a local helper, not a generative AI or a supplier recommendation.\nconst finderFamilies={\n fridge:{label:'Fridges & freezers',hint:'Keep it cold',icon:'fridge',types:[['fridge','Fridges \u2014 all types'],['display fridge','Display fridges'],['upright fridge','Upright fridges'],['underbench fridge','Underbench fridges'],['freezer','Freezers']],power:false},\n fryer:{label:'Fryers & cooking',hint:'For your hot kitchen',icon:'oven',types:[['fryer','Fryers'],['griddle','Griddles'],['chargrill','Chargrills'],['cooktop','Cooktops']],power:true},\n oven:{label:'Ovens & baking',hint:'Bake, roast & prepare',icon:'baking',types:[['oven','Ovens \u2014 all types'],['convection oven','Convection ovens'],['pizza oven','Pizza ovens'],['mixer','Mixers']],power:true},\n wash:{label:'Dish & glasswashing',hint:'A cleaner workflow',icon:'wash',types:[['dishwasher','Dishwashers'],['glasswasher','Glasswashers']],power:false},\n kitchen:{label:'Kitchen essentials',hint:'Cookware & preparation',icon:'coffee',types:[['Vogue frying pan','Frying pans'],['Vogue saucepan','Saucepans'],['Vogue gastronorm','Gastronorm pans'],['Vogue knife','Knives']],power:false}\n};\nlet finderFamily='';\nfunction finderContent(html){const dialog=$('#bg-dialog');dialog.classList.remove('bg-compare-dialog');if(dialog.open)$('#bg-dialog-body').innerHTML=html;else openDialog(html);}\nfunction openEquipmentFinder(){finderFamily='';finderContent(top('Let\u2019s find your fit.')+'<p class=\"bg-finder-kicker\">Your equipment guide \u00b7 1 of 2<\/p><p class=\"bg-finder-copy\">Start with what you need. We\u2019ll help narrow the range, then you can compare the details.<\/p><div class=\"bg-finder-grid\">'+Object.entries(finderFamilies).map(([key,f])=>'<button type=\"button\" data-finder-family=\"'+key+'\"><svg viewBox=\"0 0 32 32\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.3\" aria-hidden=\"true\">'+icons[f.icon]+'<\/svg><span><strong>'+esc(f.label)+'<\/strong><small>'+esc(f.hint)+'<\/small><\/span><span class=\"bg-arrow\" aria-hidden=\"true\">\u2197<\/span><\/button>').join('')+'<button type=\"button\" data-finder-other><span><strong>Something else<\/strong><small>Tell us what you have in mind<\/small><\/span><span class=\"bg-arrow\" aria-hidden=\"true\">\u2197<\/span><\/button><\/div><div class=\"bg-finder-bottom\"><span>Already know a model or brand?<\/span><button type=\"button\" data-finder-search>Search instead \u2197<\/button><\/div>');}\nfunction showFinderPreferences(key){const f=finderFamilies[key];if(!f)return;finderFamily=key;finderContent(top('A little more direction.')+'<p class=\"bg-finder-kicker\">Your equipment guide \u00b7 2 of 2<\/p><p class=\"bg-finder-copy\">Choose what matters to you. Leave anything you\u2019re unsure about and explore the options.<\/p><form id=\"bg-finder-form\"><div class=\"bg-finder-fields\"><label for=\"bg-finder-type\">Equipment type<select id=\"bg-finder-type\" name=\"equipment\">'+f.types.map(([q,label])=>'<option value=\"'+esc(q)+'\">'+esc(label)+'<\/option>').join('')+'<\/select><\/label><label for=\"bg-finder-budget\">Maximum budget \u00b7 ex GST<input id=\"bg-finder-budget\" name=\"budget\" type=\"number\" min=\"0\" max=\"10000000\" step=\"0.01\" inputmode=\"decimal\" placeholder=\"Optional \u2014 e.g. 1500\"><small>Leave blank to see every price.<\/small><\/label>'+(f.power?'<label for=\"bg-finder-power\">Power preference<select id=\"bg-finder-power\" name=\"power\"><option value=\"\">Any \/ not sure<\/option><option value=\"Electric\">Electric<\/option><option value=\"Gas\">Gas<\/option><\/select><small>Only products with this stated power type are shown.<\/small><\/label>':'')+'<\/div><p class=\"bg-finder-error\" id=\"bg-finder-error\" role=\"alert\"><\/p><div class=\"bg-finder-submit\"><button type=\"button\" data-finder-back>\u2190 Back<\/button><button type=\"submit\">See matching products <span aria-hidden=\"true\">\u2197<\/span><\/button><\/div><\/form>');$('#bg-finder-type').focus();}\nfunction finderSearchRequest(family,type,budget,power){const f=finderFamilies[family];if(!f||!f.types.some(([q])=>q===type))throw Error('Please choose one of the equipment types.');if(power&&!['Electric','Gas'].includes(power))throw Error('Please choose one of the power options.');if(power&&!f.power)throw Error('That equipment type does not have a power preference.');return {query:type,max:parseBudgetAmount(budget),filters:{kind:'Products',...(power?{power}:{})}};}\nfunction applyFinderRequest(request){resetGuidedSearch();catalogueCategory=0;catalogueQuery=request.query;catalogueSupplier='';path=[];lastQuery=request.query;guidedFilters={...request.filters};budgetMaxCents=request.max;$('#bg-search').value=request.query;$('#bg-dialog').close();void showCatalogueProducts(0,request.query,1);}\nroot.addEventListener('click',event=>{const button=event.target.closest('button');if(!button)return;if(button.hasAttribute('data-search-example')){const q=button.dataset.searchExample;$('#bg-search').value=q;search(q);}else if(button.hasAttribute('data-finder-family'))showFinderPreferences(button.dataset.finderFamily);else if(button.hasAttribute('data-finder-back'))openEquipmentFinder();else if(button.hasAttribute('data-finder-other')){$('#bg-dialog').close();custom('Help choosing equipment');}else if(button.hasAttribute('data-finder-search')){$('#bg-dialog').close();$('#bg-search').focus();}});\nroot.addEventListener('submit',event=>{if(event.target.id!=='bg-finder-form')return;event.preventDefault();const form=event.target;try{applyFinderRequest(finderSearchRequest(finderFamily,form.elements.equipment.value,form.elements.budget.value,form.elements.power?.value||''));}catch(error){$('#bg-finder-error').textContent=error.message;}});\n\nfunction catalogueLoadingMarkup(){\n const caption=budgetActive()||priceSortActive(catalogueSort)?'Checking products and ex-GST prices\u2026':'Loading product details and prices\u2026';\n const card='<div class=\"bg-loading-card\"><span class=\"bg-loading-shape bg-loading-photo\"><\/span><span class=\"bg-loading-shape bg-loading-model\"><\/span><span class=\"bg-loading-shape bg-loading-title\"><\/span><span class=\"bg-loading-shape bg-loading-title bg-loading-title-short\"><\/span><span class=\"bg-loading-shape bg-loading-price\"><\/span><span class=\"bg-loading-shape bg-loading-tax\"><\/span><span class=\"bg-loading-shape bg-loading-weekly\"><\/span><span class=\"bg-loading-shape bg-loading-tax\"><\/span><span class=\"bg-loading-shape bg-loading-action\"><\/span><\/div>';\n return '<div class=\"bg-catalogue-loading\"><p class=\"bg-loading-caption\">'+caption+'<\/p><div class=\"bg-loading-grid\" aria-hidden=\"true\">'+card.repeat(3)+'<\/div><\/div>';\n}\nfunction showCatalogueLoading(scopeChanged){\n const area=$('#bg-workspace'),grid=area.querySelector('.bg-product-grid'),loading=area.querySelector('.bg-catalogue-loading'),markup=catalogueLoadingMarkup();\n if(scopeChanged||area.hidden||!grid&&!loading){reveal(crumbs()+markup,{scroll:false,focus:false});return;}\n if(grid){const stableHeight=grid.getBoundingClientRect().height;grid.outerHTML=markup;const skeleton=area.querySelector('.bg-catalogue-loading');if(skeleton)skeleton.style.minHeight=stableHeight+'px';area.querySelector('.bg-catalogue-pagination')?.remove();}\n else loading.outerHTML=markup;\n}\n\nconst scObserver=new MutationObserver(()=>scHydrateEstimates(root));scObserver.observe(root,{childList:true,subtree:true});scHydrateEstimates(root);\nloadCatalogueCategories().catch(()=>{});\n\n\n})();\n<\/script>\n\n<style>#bhs-guide .bhs-service-open{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:11px 16px;border:1px solid #fa641c;border-radius:9px;background:#fa641c;color:#fff;text-decoration:none;font:600 13px Arial,sans-serif}#bhs-guide .bg-header{gap:12px}#bhs-service-popup{width:min(800px,calc(100vw - 24px));max-width:800px;height:min(900px,92svh);max-height:92svh;border:1px solid #deded3;border-radius:16px;padding:0;background:#faf9f6;box-shadow:0 20px 90px #0003}#bhs-service-popup::backdrop{background:#25281f70;backdrop-filter:blur(3px)}#bhs-service-popup .bhs-popup-top{display:flex;justify-content:space-between;align-items:center;padding:12px 18px;border-bottom:1px solid #e5e5dd;gap:10px;font:14px Arial,sans-serif}#bhs-service-popup .bhs-popup-top a{font-size:12px;color:#555}#bhs-service-popup .bhs-popup-top button{background:#fff;border:1px solid #ddd;border-radius:8px;min-height:40px;min-width:40px;font-size:19px;cursor:pointer}#bhs-service-popup iframe{width:100%;height:calc(100% - 65px);border:0;display:block}#bhs-service-popup :focus-visible{outline:3px solid #ffb58f;outline-offset:2px}<\/style><dialog id=\"bhs-service-popup\" aria-label=\"Book a service\"><div class=\"bhs-popup-top\"><strong>Service request<\/strong><a href=\"https:\/\/barrettshospitalitysupplies.com\/?page_id=22985\" target=\"_blank\" rel=\"noopener\">Open full form \u2197<\/a><button type=\"button\" aria-label=\"Close service booking\">\u2715<\/button><\/div><iframe title=\"Service booking form\"><\/iframe><\/dialog><script>(function(){const links=document.querySelectorAll('.bhs-service-open'),dialog=document.querySelector('#bhs-service-popup');if(!dialog||!dialog.showModal)return;let opener;links.forEach(link=>link.addEventListener('click',event=>{if(event.ctrlKey||event.metaKey||event.shiftKey||event.altKey)return;event.preventDefault();opener=link;const iframe=dialog.querySelector('iframe');if(!iframe.src)iframe.src=link.href;dialog.showModal();}));dialog.querySelector('button').addEventListener('click',()=>dialog.close());dialog.addEventListener('close',()=>opener?.focus());})();\n\n<\/script>\n\n\n\n<style id=\"bhs-slick-upgrade\">\n\/* Quiet, warm surfaces; orange remains the brand accent. *\/\n#bhs-guide{--ink:#233346;--muted:#72766f;--line:#e6e5df;--red:#f84c01;--paper:#faf9f6;isolation:isolate;position:relative;background:radial-gradient(ellipse 440px 300px at 50% 220px,#f84c0106,transparent 80%)}\n#bhs-guide .bg-header{padding:16px clamp(20px,4vw,56px);gap:12px;background:#faf9f6e8;backdrop-filter:blur(16px)}\n#bhs-guide .bg-header .bhs-service-open{min-height:42px;border:0;border-radius:999px;background:transparent;color:#5e645f;font-family:inherit;font-size:12px;line-height:1.4;font-weight:500;padding:10px 14px}\n#bhs-guide .bg-header .bhs-service-open:hover{background:#f0eee8;text-decoration:none;color:var(--ink)}\n#bhs-guide .bg-header .bg-quote-btn{background:#fff;border-color:#e4e3dc;box-shadow:0 2px 5px #23334604;padding:10px 16px;font-size:12px;min-height:44px}\n#bhs-guide .bg-count{background:#fff1e9;color:#c83d00;font-weight:600}\n#bhs-guide .bg-main{width:min(100% - 48px,1160px);padding:12px 0 76px}\n#bhs-guide .bg-hero{max-width:730px;position:relative}\n#bhs-guide .bg-centered-logo{width:330px;margin:0 auto 6px;animation:bg-soft-arrival .65s ease both}\n#bhs-guide .bg-hero>.bg-company-intro{max-width:450px;font-size:12px;line-height:1.7;font-weight:400;letter-spacing:.03px;color:#7c7e78;margin:0 auto 34px;text-wrap:balance}\n#bhs-guide h1{font-size:clamp(40px,4.7vw,62px);line-height:1.08;letter-spacing:-2.7px;font-weight:450;text-wrap:balance;color:#283a4b}\n#bhs-guide h1 .bg-title-accent{position:relative;white-space:nowrap}\n#bhs-guide h1 .bg-title-accent::after{content:'';position:absolute;left:16%;right:16%;bottom:-9px;height:2px;background:linear-gradient(90deg,transparent,#f84c0170,transparent);transform-origin:center;animation:bg-line-arrival .9s ease both}\n#bhs-guide .bg-intro{margin:25px auto 25px;max-width:570px;animation:bg-soft-arrival .7s ease .05s both}\n#bhs-guide .bg-intro p{font-size:14px;color:#787c77;line-height:1.7}\n#bhs-guide .bg-search{position:relative;max-width:660px;min-height:68px;padding:8px 9px 8px 24px;border:1px solid #dedfd6;background:#fff;border-radius:999px;box-shadow:0 8px 28px #23334608,0 1px 3px #23334604;transition:box-shadow .25s,border-color .25s}\n#bhs-guide .bg-search:focus-within{border-color:#f84c0170;box-shadow:0 0 0 4px #f84c0108,0 10px 32px #23334609}\n#bhs-guide .bg-search svg{color:#f84c01;width:19px;height:19px}\n#bhs-guide .bg-search input{font-size:15px;line-height:1.5;padding:12px 0}\n#bhs-guide .bg-search input::placeholder{color:#92978f;opacity:1}\n#bhs-guide .bg-search button{background:#565c60;border-color:#565c60;min-height:48px;padding:13px 23px;font-size:13px;box-shadow:0 2px 4px #2333460b}\n#bhs-guide .bg-search button:hover{background:#444b50;border-color:#444b50}\n#bhs-guide .bg-search-examples{display:flex;justify-content:center;align-items:center;gap:14px;flex-wrap:wrap;margin:13px auto 0;font-size:11px;color:#8c908a}\n#bhs-guide .bg-search-examples button{font-size:11px;font-weight:400;border:0;border-radius:4px;padding:4px 0;background:transparent;color:#717971;min-height:30px}\n#bhs-guide .bg-search-examples button:hover{color:#cd4000;background:transparent;text-decoration:underline;text-underline-offset:4px}\n#bhs-guide .bg-actions{gap:9px;margin:24px 0 13px}\n#bhs-guide .bg-actions button{background:#fff9;border-color:#e2e3db;padding:11px 19px;font-size:12px;min-height:43px;box-shadow:0 1px 2px #23334603}\n#bhs-guide .bg-actions button:hover{background:#fff;border-color:#ccd1c8;transform:translateY(-2px);box-shadow:0 5px 13px #23334607}\n#bhs-guide .bg-actions #bg-unsure{border-color:#f84c0140;background:#fff7f1;color:#c23c00}\n#bhs-guide .bg-help-spark{display:inline-block;color:var(--red);margin-right:5px;font-size:14px;vertical-align:-1px}\n#bhs-guide .bg-hero>.bg-support-link{font-size:11px;color:#c94209;margin-top:0;min-height:34px;padding:6px 0}\n#bhs-guide .bg-status{margin-top:16px;font-size:12px;min-height:24px}\n#bhs-guide .bg-status:empty{margin:0;min-height:0}\n#bhs-guide .bg-shimmer{background-image:linear-gradient(100deg,#868b82 20%,#f84c01 48%,#868b82 76%);animation-duration:2.4s}\n#bhs-guide .bg-workspace{margin-top:38px;border:1px solid #f84c01;border-radius:26px;padding:clamp(24px,3.3vw,42px);background:#fdfcf9;box-shadow:0 12px 45px #23334604;scroll-margin-top:115px}\n#bhs-guide .bg-breadcrumb{font-size:11px;gap:10px;margin-bottom:24px}\n#bhs-guide h2{font-size:clamp(24px,2.6vw,30px);font-weight:450;letter-spacing:-.8px}\n#bhs-guide .bg-section-head{margin-bottom:25px;align-items:center}\n#bhs-guide .bg-section-head>button{font-size:11px;background:transparent;white-space:nowrap;padding:10px 15px}\n#bhs-guide .bg-section-copy{font-size:12px;line-height:1.7;max-width:580px}\n#bhs-guide .bg-category-grid{gap:12px}\n#bhs-guide .bg-category{padding:23px 20px;min-height:105px;border-radius:17px;border-color:#e7e7df;transition:transform .2s,box-shadow .2s,border-color .2s}\n#bhs-guide .bg-category:hover{transform:translateY(-3px);background:#fff;border-color:#f84c0150;box-shadow:0 9px 18px #23334606}\n#bhs-guide .bg-category svg{color:#de5b24;width:25px;height:25px}\n#bhs-guide .bg-category strong{font-size:14px;color:var(--ink)}\n#bhs-guide .bg-category .bg-arrow{font-size:17px;color:#a9aea5}\n#bhs-guide .bg-guided{background:#f4f4ee;border:0;border-radius:18px;padding:23px 24px;margin-bottom:24px}\n#bhs-guide .bg-guide-heading h3{font-size:18px;letter-spacing:-.4px;color:#344738}\n#bhs-guide .bg-guide-heading p{font-size:12px;line-height:1.7}\n#bhs-guide .bg-guide-fields select,#bhs-guide .bg-catalogue-controls select{border-color:#e1e3d9;border-radius:10px;min-height:44px;background:#fff}\n#bhs-guide .bg-guide-foot{border-top:1px solid #e2e5d9;padding-top:13px;margin-top:18px}\n#bhs-guide .bg-guide-foot button{color:#c64007}\n#bhs-guide .bg-catalogue-controls{gap:14px;margin:24px 0;align-items:flex-end}\n#bhs-guide .bg-catalogue-controls>label{flex:1;min-width:160px;max-width:300px}\n#bhs-guide .bg-catalogue-controls .bg-sort{min-width:180px}\n#bhs-guide .bg-catalogue-controls>span{flex:1;text-align:right;min-width:90px;padding-bottom:12px;color:#7c8378}\n#bhs-guide .bg-budget-disclosure{order:4;flex-basis:100%;font-size:12px;border:1px solid #e6e7de;border-radius:12px;background:#fff;padding:0 16px}\n#bhs-guide .bg-budget-disclosure>summary{cursor:pointer;color:#566150;min-height:44px;padding:12px 0;list-style-position:inside}\n#bhs-guide .bg-budget-disclosure>summary span{margin-left:8px;font-size:11px;color:#858b7f}\n#bhs-guide .bg-budget-disclosure[open]{padding-bottom:16px}\n#bhs-guide .bg-budget-disclosure .bg-budget{padding-top:6px}\n#bhs-guide .bg-budget-disclosure .bg-budget legend{display:none}\n#bhs-guide .bg-product-grid{gap:18px}\n#bhs-guide .bg-card{border-color:#e7e8e0;border-radius:20px;transition:transform .22s,box-shadow .22s,border-color .22s}\n#bhs-guide .bg-card:hover{transform:translateY(-3px);border-color:#d9ded0;box-shadow:0 12px 25px #23334607}\n#bhs-guide .bg-product-photo{height:195px;padding:25px 25px 14px}\n#bhs-guide .bg-card-body{padding:18px 22px 22px}\n#bhs-guide .bg-card h3{font-size:14px;line-height:1.65;margin:8px 0 21px;color:#354251}\n#bhs-guide .bg-card small{font-size:10px;color:#81867c}\n#bhs-guide .bg-price{font-size:24px;letter-spacing:-.6px;font-weight:500;color:#283a4b}\n#bhs-guide .bg-price small{font-size:10px;font-weight:400}\n#bhs-guide .bg-card .bg-card-actions{flex-wrap:wrap;gap:7px;margin-top:21px}\n#bhs-guide .bg-card-actions button{font-size:11px;min-height:39px;padding:9px 12px}\n#bhs-guide .bg-card-actions .bg-add{background:#fff3e9;border-color:#f3d6c3;color:#b33c08;flex:1;white-space:nowrap}\n#bhs-guide .bg-card-actions .bg-add:hover{background:#ffe8d7;border-color:#efb997}\n#bhs-guide .bg-card-actions .bg-compare-pick{font-size:10px;border-color:transparent;padding-left:2px;padding-right:2px;margin-left:auto}\n#bhs-guide .bg-sc-estimate{border-top:1px solid #f0f0ea;padding-top:12px;margin-top:15px}\n#bhs-guide .bg-sc-label{font-size:10px;color:#788270}\n#bhs-guide .bg-sc-weekly{font-size:13px;color:#53674e}\n#bhs-guide .bg-finance-link{font-size:10px;color:#c94209}\n#bhs-guide .bg-footer{padding:23px 4vw;font-size:10px;border-color:#e9e8e1}\n#bhs-guide dialog{border-radius:24px;border-color:#e6e6de;box-shadow:0 30px 100px #23334624}\n#bhs-guide dialog::backdrop{background:#2634444d;backdrop-filter:blur(7px)}\n#bhs-guide .bg-dialog-body{padding:30px 32px}\n#bhs-guide .bg-dialog-top h2{font-size:25px}\n#bhs-guide .bg-dialog-top button{font-size:11px;background:transparent;min-height:40px}\n#bhs-guide .bg-finder-kicker{font-size:10px;letter-spacing:1.4px;text-transform:uppercase;color:#b83e0b;margin-bottom:11px}\n#bhs-guide .bg-finder-copy{font-size:13px;color:#788071;margin:10px 0 22px;line-height:1.8}\n#bhs-guide .bg-finder-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:22px 0 18px}\n#bhs-guide .bg-finder-grid button{display:flex;align-items:center;gap:13px;text-align:left;background:#fff;border:1px solid #e3e6dc;border-radius:15px;padding:18px;min-height:82px}\n#bhs-guide .bg-finder-grid button:hover{border-color:#efb493;background:#fffaf6}\n#bhs-guide .bg-finder-grid svg{width:24px;height:24px;color:#e16630;flex:none}\n#bhs-guide .bg-finder-grid strong{display:block;font-size:13px;font-weight:500}\n#bhs-guide .bg-finder-grid small{display:block;font-size:10px;color:#818b78;margin-top:3px}\n#bhs-guide .bg-finder-grid .bg-arrow{margin-left:auto;color:#a3ac9a;font-size:14px}\n#bhs-guide .bg-finder-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:18px;border-top:1px solid #e4e6dc;font-size:11px;color:#82897b}\n#bhs-guide .bg-finder-bottom button{font-size:11px;padding:8px 12px;background:transparent;min-height:40px}\n#bhs-guide .bg-finder-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:23px 0}\n#bhs-guide .bg-finder-fields label{font-size:12px;color:#626f59}\n#bhs-guide .bg-finder-fields input,#bhs-guide .bg-finder-fields select{font-size:14px;min-height:48px;background:white;border-color:#dfe4d7}\n#bhs-guide .bg-finder-fields small{display:block;font-size:10px;color:#8a9282;margin-top:7px}\n#bhs-guide .bg-finder-submit{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:28px}\n#bhs-guide .bg-finder-submit button{font-size:12px;min-height:46px}\n#bhs-guide .bg-finder-submit button[type=submit]{background:#56604f;color:white;border-color:#56604f}\n#bhs-guide .bg-finder-error{font-size:12px;color:#b03909}\n@keyframes bg-soft-arrival{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}\n@keyframes bg-line-arrival{from{opacity:0;transform:scaleX(.4)}to{opacity:1;transform:scaleX(1)}}\n@media(min-width:1500px){#bhs-guide .bg-main{padding-top:30px}#bhs-guide .bg-centered-logo{width:350px}}\n@media(max-width:800px){#bhs-guide .bg-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#bhs-guide .bg-guide-fields{grid-template-columns:repeat(2,minmax(0,1fr))}#bhs-guide .bg-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#bhs-guide .bg-card-body{padding:16px}#bhs-guide .bg-card-actions{gap:6px}#bhs-guide .bg-section-head>button{white-space:normal}}\n@media(max-width:600px){#bhs-guide .bg-main{width:calc(100% - 32px);padding-top:6px;padding-bottom:42px}#bhs-guide .bg-header{padding:12px 16px}#bhs-guide .bg-centered-logo{width:270px}#bhs-guide .bg-hero>.bg-company-intro{font-size:11px;max-width:300px;line-height:1.8;margin-bottom:27px}#bhs-guide h1{font-size:41px;letter-spacing:-1.9px;line-height:1.11}#bhs-guide .bg-intro{margin:23px auto 23px;max-width:310px}#bhs-guide .bg-intro p{font-size:12px}#bhs-guide .bg-search{padding:6px 7px 6px 16px;min-height:59px;gap:9px}#bhs-guide .bg-search input{font-size:13px;padding:10px 0}#bhs-guide .bg-search button{min-height:44px;padding:11px 16px;font-size:12px}#bhs-guide .bg-search-examples{gap:12px;font-size:10px;margin-top:9px}#bhs-guide .bg-search-examples button{font-size:10px;min-height:34px}#bhs-guide .bg-actions{margin-top:19px;gap:7px}#bhs-guide .bg-actions button{font-size:11px;padding:10px 13px;min-height:43px}#bhs-guide .bg-workspace{padding:22px 17px;border-radius:21px;margin-top:25px}#bhs-guide .bg-section-head>button{margin-top:14px}#bhs-guide .bg-category{padding:17px 13px;gap:10px;min-height:99px}#bhs-guide .bg-category strong{font-size:12px}#bhs-guide .bg-category small{font-size:10px}#bhs-guide .bg-guided{padding:20px 16px}#bhs-guide .bg-guide-heading h3{font-size:17px}#bhs-guide .bg-catalogue-controls>label,#bhs-guide .bg-catalogue-controls .bg-sort{min-width:0;width:auto;max-width:none;flex:1 1 40%}#bhs-guide .bg-catalogue-controls>span{text-align:left;order:5;flex-basis:100%;padding:0;font-size:11px}#bhs-guide .bg-budget-disclosure{padding-left:12px;padding-right:12px}#bhs-guide .bg-product-grid{gap:14px;grid-template-columns:1fr}#bhs-guide .bg-card-body{padding:19px 22px 22px}#bhs-guide .bg-product-photo{height:200px;padding:24px}#bhs-guide .bg-card-actions button{min-height:44px}#bhs-guide .bg-card-actions .bg-compare-pick{min-width:62px}#bhs-guide .bg-card h3{font-size:15px}#bhs-guide .bg-dialog-body{padding:23px 20px}#bhs-guide .bg-finder-grid{gap:9px}#bhs-guide .bg-finder-grid button{padding:14px 11px;gap:9px;min-height:86px}#bhs-guide .bg-finder-grid svg{width:21px;height:21px}#bhs-guide .bg-finder-grid strong{font-size:12px}#bhs-guide .bg-finder-grid small{font-size:10px}#bhs-guide .bg-finder-grid .bg-arrow{display:none}#bhs-guide .bg-finder-fields{grid-template-columns:1fr;gap:17px}#bhs-guide .bg-finder-bottom{font-size:10px}#bhs-guide .bg-footer{padding:20px;font-size:10px;justify-content:center;text-align:center}#bhs-guide .bg-footer div{justify-content:center;gap:8px 16px}}\n@media(prefers-reduced-motion:reduce){#bhs-guide *,#bhs-guide *::before,#bhs-guide *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}#bhs-guide .bg-shimmer{background:none;color:var(--muted)}}\n\n<\/style>\n\n\n<style id=\"bhs-soft-edge-surfaces\">\n\/* BHS soft-edge surfaces \u2014 21 October 2026 *\/\n#bhs-guide{--surface-edge:linear-gradient(135deg,#f4b18f 0%,#e7d6c7 20%,#e2e5dc 55%,#eac3ab 100%);--surface-fill:linear-gradient(155deg,#fffefa 0%,#fdfcf9 65%,#faf9f5 100%);--surface-shadow:0 2px 3px #23334603,0 14px 42px -22px #23334624}\n#bhs-guide .bg-workspace{border:1px solid transparent;border-radius:30px;background:var(--surface-fill) padding-box,var(--surface-edge) border-box;box-shadow:inset 0 1px 0 #fff, var(--surface-shadow);padding:clamp(24px,3.3vw,42px)}\n#bhs-guide .bg-card{border:1px solid transparent;border-radius:22px;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(145deg,#e2e5dc,#f0f0e9 45%,#e3dfd4) border-box;box-shadow:0 2px 3px #23334602,0 8px 24px -20px #23334620;transition:transform .22s ease,box-shadow .22s ease}\n#bhs-guide .bg-card:hover{transform:none;border-color:transparent;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(145deg,#e2e5dc,#f0f0e9 45%,#e3dfd4) border-box;box-shadow:0 2px 3px #23334602,0 8px 24px -20px #23334620}\n#bhs-guide .bg-card:focus-within{background:linear-gradient(#fff,#fff) padding-box,linear-gradient(145deg,#efae8b,#e5d3c2,#eed8c6) border-box;box-shadow:0 6px 24px -16px #bb704330}\n#bhs-guide .bg-category,#bhs-guide .bg-finder-grid button{border:1px solid transparent;border-radius:18px;background:linear-gradient(#ffffff,#ffffff) padding-box,linear-gradient(145deg,#e1e5da,#efefe6 50%,#e4e3d9) border-box;box-shadow:0 2px 2px #23334602,0 6px 16px -18px #23334620}\n#bhs-guide .bg-guided{border:1px solid transparent;border-radius:21px;background:linear-gradient(145deg,#f4f5ef,#f7f7f1) padding-box,linear-gradient(145deg,#dfe5d4,#f3f4eb,#e4e8dc) border-box;box-shadow:inset 0 1px 0 #ffffffc0}\n#bhs-guide .bg-empty,#bhs-guide .bg-support-summary{border:1px solid transparent;border-radius:21px;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(135deg,#e6dccf,#e2e7dc,#eae5da) border-box;box-shadow:var(--surface-shadow)}\n#bhs-guide .bg-budget-disclosure{border:1px solid transparent;border-radius:15px;background:linear-gradient(#ffffffb8,#ffffffb8) padding-box,linear-gradient(135deg,#e3e6db,#edeee5,#e0e4d7) border-box;box-shadow:inset 0 1px 0 #fff}\n#bhs-guide dialog,#bhs-service-popup{border:1px solid transparent;border-radius:28px;background:linear-gradient(#fdfcf9,#faf9f6) padding-box,linear-gradient(135deg,#f3c4a9,#ffffff,#dce1d5 75%,#eac9b4) border-box;box-shadow:inset 0 1px 0 #fff,0 8px 22px #2333460b,0 35px 100px #23334628}\n#bhs-guide .bg-compare-tray{border:1px solid transparent;border-radius:22px;background:linear-gradient(#fffffff5,#fffffff5) padding-box,var(--surface-edge) border-box;box-shadow:0 5px 12px #23334606,0 15px 44px -18px #23334630;backdrop-filter:blur(14px)}\n#bhs-guide .bg-compare-scroll{border-color:#e3e7dc;border-radius:16px}\n#bhs-guide .bg-gallery-image,#bhs-guide .bg-mail-copy{border-radius:16px}\n@media(hover:hover) and (pointer:fine){#bhs-guide .bg-card:hover{transform:translateY(-3px);background:linear-gradient(#fff,#fff) padding-box,linear-gradient(145deg,#efb38e,#e9e8de 45%,#ead0bb) border-box;box-shadow:0 3px 5px #23334603,0 17px 36px -23px #23334638}#bhs-guide .bg-category:hover,#bhs-guide .bg-finder-grid button:hover{background:linear-gradient(#fffdf9,#fffdf9) padding-box,linear-gradient(145deg,#efb18b,#e8e6d8,#ecd2bb) border-box;box-shadow:0 9px 24px -18px #23334628}}\n@media(max-width:600px){#bhs-guide .bg-workspace{border-radius:24px;padding:24px 18px}#bhs-guide .bg-card{border-radius:21px}#bhs-guide dialog,#bhs-service-popup{border-radius:24px}#bhs-guide .bg-guided{border-radius:18px}#bhs-guide .bg-finder-grid button{border-radius:16px}}\n@media(prefers-reduced-motion:reduce){#bhs-guide .bg-card,#bhs-guide .bg-category,#bhs-guide .bg-finder-grid button{transition:none!important;transform:none!important}}\n<\/style>\n\n\n<style id=\"bhs-mobile-recaptcha-layout\">\n\/* Staging mobile layout only: keep the visible reCAPTCHA badge in document flow. *\/\n@media(max-width:700px){\n body:has(#bhs-guide) .grecaptcha-badge{\n  position:relative!important;\n  inset:auto!important;\n  margin:16px 16px calc(20px + env(safe-area-inset-bottom,0px)) auto!important;\n  box-shadow:0 1px 5px #23334612!important;\n }\n body:has(#bhs-guide #bg-compare-tray:not([hidden])) .grecaptcha-badge{\n  margin-bottom:calc(220px + env(safe-area-inset-bottom,0px))!important;\n }\n}\n<\/style>\n\n\n<style id=\"bhs-subtle-motion\">\n\/* The default card stays visible. Only observer-managed cards get an entrance. *\/\n#bhs-guide .bg-card.bg-motion-card{transition:opacity .4s cubic-bezier(.2,.7,.2,1),translate .4s cubic-bezier(.2,.7,.2,1),transform .22s ease,box-shadow .22s ease}\n#bhs-guide .bg-card.bg-motion-pending{opacity:0;translate:0 8px}\n#bhs-guide .bg-count{transform-origin:50% 50%}\n@media(prefers-reduced-motion:reduce){#bhs-guide .bg-card.bg-motion-card,#bhs-guide .bg-card.bg-motion-pending{opacity:1!important;translate:none!important;transition:none!important}#bhs-guide .bg-count{animation:none!important;transform:none!important}}\n<\/style>\n<script>\n(function(){'use strict';\nconst root=document.getElementById('bhs-guide'),workspace=root?.querySelector('#bg-workspace'),count=root?.querySelector('#bg-count');\nif(!root||!workspace||root.dataset.subtleMotion)return;\nroot.dataset.subtleMotion='1';\nconst preference=window.matchMedia('(prefers-reduced-motion: reduce)'),seen=new Set(),prepared=new WeakSet(),pending=new Set();\nlet entranceObserver=null,pulse=null;\nfunction keyFor(card){return card.querySelector('[data-add]')?.getAttribute('data-add')||null;}\nfunction showCard(card,animate){\n const key=keyFor(card);if(key)seen.add(key);\n pending.delete(card);entranceObserver?.unobserve(card);\n if(!animate||preference.matches)card.classList.remove('bg-motion-card');\n card.classList.remove('bg-motion-pending');\n if(animate&&!preference.matches)setTimeout(()=>card.classList.remove('bg-motion-card'),450);\n}\nif(typeof window.IntersectionObserver==='function'){\n try{entranceObserver=new window.IntersectionObserver(entries=>{for(const entry of entries)if(entry.isIntersecting)showCard(entry.target,true);},{threshold:.06,rootMargin:'0px 0px -20px 0px'});}catch{entranceObserver=null;}\n}\nfunction prepareCard(card){\n if(prepared.has(card))return;prepared.add(card);\n const key=keyFor(card);\n if(preference.matches||!entranceObserver||key&&seen.has(key)){if(key)seen.add(key);return;}\n card.classList.add('bg-motion-card','bg-motion-pending');pending.add(card);\n try{entranceObserver.observe(card);}catch{showCard(card,false);}\n}\nfunction scan(node){if(node.nodeType!==1)return;if(node.matches('.bg-card'))prepareCard(node);for(const card of node.querySelectorAll('.bg-card'))prepareCard(card);}\nscan(workspace);\nconst cardsObserver=new MutationObserver(records=>{\n for(const record of records)for(const node of record.addedNodes)scan(node);\n for(const card of pending)if(!root.contains(card)){entranceObserver?.unobserve(card);pending.delete(card);}\n});\ncardsObserver.observe(workspace,{childList:true,subtree:true});\n\/\/ A keyboard user must never focus an invisible button.\nworkspace.addEventListener('focusin',event=>{const card=event.target.closest('.bg-card');if(card&&pending.has(card))showCard(card,false);});\nif(count){\n let previous=Number(count.textContent)||0;\n const countObserver=new MutationObserver(()=>{\n  const current=Number(count.textContent);if(!Number.isFinite(current))return;\n  const increased=current>previous;previous=current;\n  if(!increased||preference.matches||typeof count.animate!=='function')return;\n  try{pulse?.cancel();pulse=count.animate([{transform:'scale(1)'},{transform:'scale(1.16)',offset:.42},{transform:'scale(1)'}],{duration:340,easing:'cubic-bezier(.2,.7,.2,1)'});}catch{\/* A decorative effect must not affect the basket. *\/}\n });\n countObserver.observe(count,{childList:true,characterData:true,subtree:true});\n}\nconst onPreferenceChange=()=>{if(!preference.matches)return;pulse?.cancel();for(const card of pending)showCard(card,false);entranceObserver?.disconnect();};\nif(preference.addEventListener)preference.addEventListener('change',onPreferenceChange);else if(preference.addListener)preference.addListener(onPreferenceChange);\n})();\n<\/script>\n\n\n<style id=\"bhs-compact-header\">\n#bhs-guide .bg-header,body.admin-bar #bhs-guide .bg-header{top:var(--bhs-toolbar-offset,0px);transition:padding .2s ease,background-color .2s ease,box-shadow .2s ease;border-bottom:1px solid transparent}\n#bhs-guide .bg-header.bg-header-compact{padding-top:5px;padding-bottom:5px;background:#faf9f6f5;border-bottom-color:#e8e8df;box-shadow:0 4px 16px -12px #23334628}\n#bhs-guide .bg-header.bg-header-compact .bg-quote-btn{min-height:44px;padding:8px 14px;font-size:12px}\n#bhs-guide .bg-header.bg-header-compact .bhs-service-open{min-height:42px;padding-top:8px;padding-bottom:8px}\n@media(prefers-reduced-motion:reduce){#bhs-guide .bg-header{transition:none!important}}\n<\/style>\n<script>\n(function(){'use strict';\nconst root=document.getElementById('bhs-guide'),header=root?.querySelector('.bg-header');\nif(!header||header.dataset.compactReady)return;\nheader.dataset.compactReady='1';\nconst toolbar=document.getElementById('wpadminbar');\nlet compact=false,frame=null,lastOffset=null;\nfunction update(){\n const y=Math.max(0,window.scrollY||0),next=compact?y>48:y>128;\n if(next!==compact){compact=next;header.classList.toggle('bg-header-compact',compact);}\n \/\/ WordPress's mobile admin toolbar scrolls away; public visitors have no toolbar.\n const bounds=toolbar?.getBoundingClientRect(),offset=bounds?Math.max(0,Math.min(bounds.height,bounds.bottom)):0;\n if(offset!==lastOffset){header.style.setProperty('--bhs-toolbar-offset',offset+'px');lastOffset=offset;}\n}\nfunction schedule(){if(frame!==null)return;frame=window.requestAnimationFrame(()=>{frame=null;update();});}\nwindow.addEventListener('scroll',schedule,{passive:true});\nwindow.addEventListener('resize',schedule,{passive:true});\nupdate();\n})();\n<\/script>\n\n\n\n<style id=\"bhs-catalogue-loading\">\n#bhs-guide .bg-centered-logo{width:420px;max-width:100%}\n@media(min-width:1500px){#bhs-guide .bg-centered-logo{width:440px}}\n@media(max-width:600px){#bhs-guide .bg-centered-logo{width:min(320px,100%)}}\n#bhs-guide .bg-catalogue-loading{margin:0;animation:bg-enter .25s ease both}\n#bhs-guide .bg-loading-caption{font-size:13px;color:#7b8276;line-height:1.7;margin:0 0 22px}\n#bhs-guide .bg-loading-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}\n#bhs-guide .bg-loading-card{border:1px solid #e8e9e1;border-radius:22px;background:#ffffffc9;padding:22px;min-height:465px;overflow:hidden}\n#bhs-guide .bg-loading-shape{display:block;background:linear-gradient(100deg,#ebeee6 20%,#f5f6f1 42%,#ebeee6 65%);background-size:220% 100%;border-radius:6px;animation:bg-loading-sheen 2.4s ease-in-out infinite}\n#bhs-guide .bg-loading-photo{height:175px;width:100%;border-radius:13px;margin-bottom:26px;opacity:.65}\n#bhs-guide .bg-loading-model{height:7px;width:42%;margin-bottom:17px}\n#bhs-guide .bg-loading-title{height:11px;width:92%;margin-bottom:9px}\n#bhs-guide .bg-loading-title-short{width:67%;margin-bottom:27px}\n#bhs-guide .bg-loading-price{height:20px;width:48%;margin-bottom:9px}\n#bhs-guide .bg-loading-tax{height:7px;width:33%;margin-bottom:27px}\n#bhs-guide .bg-loading-weekly{height:10px;width:61%;margin-bottom:8px}\n#bhs-guide .bg-loading-action{height:36px;width:67%;border-radius:999px;margin-top:27px}\n#bhs-guide .bg-sc-estimate[data-sc-state=\"loading\"] .bg-sc-weekly{color:transparent;background:linear-gradient(100deg,#ebeee6 20%,#f5f6f1 42%,#ebeee6 65%);background-size:220% 100%;border-radius:5px;width:min(170px,100%);min-height:19px;animation:bg-loading-sheen 2.4s ease-in-out infinite}\n@keyframes bg-loading-sheen{from{background-position:180% 0}to{background-position:-120% 0}}\n@media(max-width:800px){#bhs-guide .bg-loading-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#bhs-guide .bg-loading-card:last-child{display:none}}\n@media(max-width:600px){#bhs-guide .bg-loading-grid{grid-template-columns:1fr;gap:14px}#bhs-guide .bg-loading-card{padding:22px;min-height:455px}#bhs-guide .bg-loading-caption{font-size:12px}}\n@media(prefers-reduced-motion:reduce){#bhs-guide .bg-catalogue-loading,#bhs-guide .bg-loading-shape,#bhs-guide .bg-sc-estimate[data-sc-state=\"loading\"] .bg-sc-weekly{animation:none!important}}\n<\/style>\n\n\n<style id=\"bhs-logo-entrance\">\n#bhs-guide .bg-centered-logo{transform-origin:50% 50%;animation:bhs-logo-settle 1200ms cubic-bezier(.2,.7,.2,1) both}\n@keyframes bhs-logo-settle{from{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}\n@media(prefers-reduced-motion:reduce){#bhs-guide .bg-centered-logo{animation:none!important;opacity:1;transform:none}}\n<\/style>\n\n\n\n<style id=\"bhs-message-us-style\">\n#bhs-guide .bg-footer .bg-message-open{border:0;background:transparent;padding:0;color:inherit;font:inherit;min-height:24px;border-radius:3px}\n#bhs-guide .bg-footer .bg-message-open:hover{color:var(--red);text-decoration:underline}\n#bhs-guide .bg-message-intro{font-size:13px;line-height:1.8;color:var(--muted);margin-bottom:18px}\n#bhs-guide .bg-message-intro button{border:0;background:transparent;color:var(--red);padding:2px 0;font:inherit;border-radius:3px;text-decoration:underline;text-underline-offset:3px}\n#bhs-guide .bg-message-form{margin-top:22px}\n#bhs-guide .bg-message-form .bg-form-grid{gap:17px}\n#bhs-guide .bg-message-privacy{font-size:11px;color:var(--muted);margin:15px 0}\n#bhs-guide .bg-message-pending{font-size:12px;color:var(--muted);margin:0 0 18px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#fff}\n#bhs-guide .bg-message-form button:disabled{cursor:not-allowed}\n@media(max-width:600px){#bhs-guide .bg-message-form .bg-form-grid{grid-template-columns:1fr}#bhs-guide .bg-message-form input,#bhs-guide .bg-message-form textarea{font-size:16px}}\n<\/style>\n<script id=\"bhs-message-us-script\">\n(function(){\n'use strict';\nconst root=document.querySelector('#bhs-guide'),dialog=root?.querySelector('#bg-dialog'),body=root?.querySelector('#bg-dialog-body'),footer=root?.querySelector('.bg-footer>div');\nif(!root||!dialog||!body||!footer)return;\nconst trigger=document.createElement('button');trigger.type='button';trigger.className='bg-message-open';trigger.textContent='Message us';trigger.setAttribute('aria-haspopup','dialog');footer.insertBefore(trigger,footer.querySelector('.bg-preview'));\ntrigger.addEventListener('click',()=>{\n dialog.classList.remove('bg-compare-dialog');\n body.innerHTML='<div class=\"bg-dialog-top\"><h2 id=\"bg-dialog-title\">Get in touch.<\/h2><button type=\"button\" data-close aria-label=\"Close dialog\">Close \u00d7<\/button><\/div><div class=\"bg-message-intro\">Looking for equipment? Try <button type=\"button\" data-message-choose>Help me choose<\/button> to explore products and build your quote. For repairs or equipment support, <button type=\"button\" data-message-service>Book a service<\/button>.<\/div><form class=\"bg-message-form\"><div class=\"bg-form-grid\"><label>Name *<input name=\"message-name\" autocomplete=\"name\" maxlength=\"120\" required><\/label><label>Business (if applicable)<input name=\"message-business\" autocomplete=\"organization\" maxlength=\"160\"><\/label><label class=\"bg-span\">Phone number *<input name=\"message-phone\" type=\"tel\" autocomplete=\"tel\" maxlength=\"40\" required><\/label><label class=\"bg-span\">Email *<input name=\"message-email\" type=\"email\" autocomplete=\"email\" maxlength=\"254\" required><span style=\"display:block;margin-top:5px;font-size:11px;color:var(--muted)\">For your message confirmation.<\/span><\/label><label class=\"bg-span\">Message *<textarea name=\"message-body\" rows=\"4\" maxlength=\"4000\" required><\/textarea><\/label><\/div><p class=\"bg-message-privacy\">We\u2019ll use these details to respond to your enquiry.<\/p><button type=\"submit\" class=\"bg-primary\">Send message<\/button><p role=\"status\" class=\"bg-message-pending\" style=\"margin-top:16px\">Your message has not been sent yet.<\/p><\/form>';\n body.querySelector('form').addEventListener('submit',async event=>{\n event.preventDefault();\n const form=event.currentTarget,button=form.querySelector('button[type=submit]'),status=form.querySelector('[role=status]'),config=window.BHSQuoteRequestConfig;\n if(button.disabled)return;\n if(!config||config.environment!=='production'||!config.messageEndpoint){status.textContent='The message connection is unavailable. Please refresh and try again.';return;}\n button.disabled=true;status.textContent='Sending your message\u2026';\n const controller=new AbortController(),timer=setTimeout(()=>controller.abort(),30000);\n try{\n  let recaptchaToken='';\n  if(config.requiresCaptcha){\n   if(!window.grecaptcha||!config.recaptchaSiteKey)throw Error('The security check is still loading. Please try again in a moment.');\n   recaptchaToken=await new Promise((resolve,reject)=>{\n    const aborted=()=>reject(Error('The security check took too long. Please try again.'));\n    controller.signal.addEventListener('abort',aborted,{once:true});\n    window.grecaptcha.ready(()=>Promise.resolve(window.grecaptcha.execute(config.recaptchaSiteKey,{action:'bhs_message_request'})).then(resolve,reject).finally(()=>controller.signal.removeEventListener('abort',aborted)));\n   });\n  }\n  const fields=new FormData(form),get=k=>String(fields.get('message-'+k)||'').trim();\n  const response=await fetch(config.messageEndpoint,{method:'POST',credentials:'same-origin',headers:{'Content-Type':'application\/json',...(config.nonce?{'X-WP-Nonce':config.nonce}:{})},signal:controller.signal,body:JSON.stringify({submissionId:form.dataset.submissionId||(form.dataset.submissionId=crypto.randomUUID()),website:'',recaptchaToken,customer:{name:get('name'),business:get('business'),phone:get('phone'),email:get('email')},message:get('body')})});\n  const receipt=await response.json();if(!response.ok)throw Error(receipt.message||'Your message could not be saved. Please try again.');\n  if(!receipt.saved||!\/^BHS-M-\\d{8}-\\d+$\/.test(receipt.reference||''))throw Error('We could not confirm your message. Please retry; we\u2019ll prevent a duplicate.');\n  status.textContent='Your message is saved. Reference '+receipt.reference+'. Our team will review it and get back to you.';button.textContent='Message sent';\n }catch(error){status.textContent=error.name==='AbortError'?'The connection took too long. Please try again; we\u2019ll prevent a duplicate.':error.message;button.disabled=false;}\n finally{clearTimeout(timer);}\n});\n body.querySelector('[data-message-choose]').addEventListener('click',()=>{dialog.close();root.querySelector('#bg-unsure').click();});\n body.querySelector('[data-message-service]').addEventListener('click',()=>{dialog.close();root.querySelector('.bhs-service-open').click();});\n dialog.addEventListener('close',()=>trigger.focus({preventScroll:true}),{once:true});\n dialog.showModal();\n});\n})();\n<\/script>\n\n\n\n<style id=\"bhs-presentation-touch-targets\">\n@media(max-width:600px){#bhs-guide .bg-actions button,#bhs-guide .bg-dialog-top button,#bhs-guide .bg-catalogue-pagination button{min-height:44px}#bhs-guide .bg-footer a,#bhs-guide .bg-footer .bg-message-open{display:inline-flex;align-items:center;justify-content:center;min-height:44px}#bhs-service-popup .bhs-popup-top button{min-height:44px;min-width:44px}}\n<\/style>\n\n<style id=\"bhs-basket-gst-clarity\">#bhs-guide .bg-basket-inc{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:3px;white-space:nowrap}#bhs-guide .bg-quote-value{min-width:116px}#bhs-guide .bg-quote-value strong{font-size:14px;white-space:nowrap}#bhs-guide .bg-quote-value strong small{font-weight:400}#bhs-guide .bg-summary{gap:16px}#bhs-guide .bg-summary>strong{text-align:right}@media(max-width:600px){#bhs-guide .bg-quote-line{grid-template-columns:minmax(0,1fr) auto;gap:10px}#bhs-guide .bg-quote-value{min-width:106px}#bhs-guide .bg-quote-value strong{font-size:13px}}<\/style>\n<style id=\"bhs-request-preview-layout\">#bhs-guide .bg-request-preview{max-height:40svh;overflow:auto;overscroll-behavior:contain;border:1px solid #e6e9ed;border-radius:17px;background:white;margin-top:18px;text-align:left}#bhs-guide .bg-request-preview h3,#bhs-guide .bg-request-preview h4{font-family:Arial,Helvetica,sans-serif}#bhs-guide .bg-request-plain{margin:14px 0 0;color:var(--muted);font-size:12px}#bhs-guide .bg-request-plain summary{cursor:pointer;padding:6px 0}#bhs-guide .bg-request-plain .bg-mail-copy{font-size:12px;line-height:1.8;margin-top:10px;white-space:pre-wrap;overflow-wrap:anywhere}#bhs-guide .bg-dialog-body>.bg-request-preview~.bg-support-help{font-size:12px;line-height:1.65}@media(max-width:600px){#bhs-guide .bg-request-preview{max-height:36svh}#bhs-guide .bg-request-preview>div{padding:18px!important}#bhs-guide .bg-request-preview h3{font-size:21px!important}}<\/style>\n\n<style>#bhs-guide .bg-coffee-package,#bhs-guide .bg-coffee-promo{display:inline-block;color:#c74408;background:#fff1e9;border:1px solid #f7d8c5;border-radius:999px;padding:4px 9px;margin:0 0 10px;font-size:10px;letter-spacing:.08em;font-weight:650}#bhs-guide .bg-coffee-previous{margin:0 0 8px;color:#8c918e;font-size:12px;line-height:1.5}#bhs-guide .bg-coffee-previous span{display:block;font-size:10px;color:#949994}#bhs-guide .bg-coffee-rental{margin:14px 0;padding-top:12px;border-top:1px solid #e8e8e0}#bhs-guide .bg-coffee-rental strong{display:block;color:#273c4d;font-size:20px;font-weight:550}#bhs-guide .bg-coffee-rental small{display:block;font-size:11px;color:#747b80;font-weight:400}#bhs-guide .bg-coffee-rental strong small{display:inline}#bhs-guide .bg-coffee-rental p{font-size:11px;line-height:1.55;color:#747b80;margin:6px 0 0}<\/style>\n<style>#bhs-guide .bg-coffee-rental summary{cursor:pointer;font-size:12px;color:#455a6c}#bhs-guide .bg-coffee-rental-note{font-size:11px;color:#737b80;line-height:1.6;margin:7px 0}<\/style>\n\n\n<style id=\"bhs-card-spacing-refinement\">\n#bhs-guide #bg-workspace{scroll-margin-top:112px}\n#bhs-guide .bg-product-grid{align-items:stretch;column-gap:18px;row-gap:22px}\n#bhs-guide .bg-card{min-width:0;display:flex;flex-direction:column;background:#fff!important}\n#bhs-guide .bg-card-media{min-width:0;background:#fff;overflow:hidden}\n#bhs-guide .bg-card .bg-product-photo{display:block;height:208px;width:100%;padding:24px;object-fit:contain;margin:0}\n#bhs-guide .bg-photo-pending{display:grid!important;place-items:center;background:#f3f2ec;font-size:12px;color:#747871}\n#bhs-guide .bg-card-body{padding:0!important;min-width:0;gap:0;display:flex;flex-direction:column}\n#bhs-guide .bg-card-heading{padding:18px 22px 12px;min-width:0}\n#bhs-guide .bg-card-heading>small{display:block;line-height:1.6;overflow-wrap:anywhere;letter-spacing:.3px}\n#bhs-guide .bg-card-heading h3{font-size:15px;line-height:1.55;margin:8px 0 0;overflow-wrap:anywhere}\n#bhs-guide .bg-card-promo{padding:0 22px 10px;min-width:0}\n#bhs-guide .bg-card-promo:empty{padding-bottom:0}\n#bhs-guide .bg-card-promo .bg-reference-price{margin:7px 0 0}\n#bhs-guide .bg-card-promo .bg-coffee-package,#bhs-guide .bg-card-promo .bg-coffee-promo{margin:0}\n#bhs-guide .bg-card-pricing{padding:0 22px 14px;min-width:0}\n#bhs-guide .bg-card .bg-price{margin:0!important;line-height:1.25;font-size:24px;font-weight:500}\n#bhs-guide .bg-card .bg-price small{display:inline-block;margin-left:6px;font-size:10px;line-height:1.5;letter-spacing:0;font-weight:400}\n#bhs-guide .bg-card .bg-card-inc{display:block;margin-top:6px;font-size:11px;line-height:1.5;letter-spacing:0}\n#bhs-guide .bg-card-options{padding:0 22px 16px;min-width:0;overflow-wrap:anywhere}\n#bhs-guide .bg-card-options .bg-coffee-rental{margin:0 0 12px;padding-top:11px}\n#bhs-guide .bg-card-options .bg-coffee-rental-note{margin:0;line-height:1.7}\n#bhs-guide .bg-card-options .bg-sale-unit{margin:0 0 9px!important}\n#bhs-guide .bg-card .bg-card-actions{padding:2px 22px 22px;margin-top:auto;gap:7px;align-items:center;min-width:0}\n#bhs-guide .bg-card-actions button{transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease}\n@supports(grid-template-rows:subgrid){#bhs-guide .bg-card{display:grid;grid-template-rows:subgrid;grid-row:span 6;row-gap:0}#bhs-guide .bg-card-body{display:contents}#bhs-guide .bg-card .bg-card-actions{margin-top:0;align-self:end}}\n#bhs-guide .bg-guide-fields label,#bhs-guide .bg-catalogue-controls>label{line-height:1.5;min-width:0}\n#bhs-guide .bg-guide-fields select,#bhs-guide .bg-catalogue-controls select,#bhs-guide .bg-finder-fields select{width:100%;min-height:46px;padding:11px 38px 11px 14px;line-height:1.5;font-size:13px;border:1px solid #dfe3e5;border-radius:11px;color:#33434b;background-color:#fff;appearance:none;background-image:linear-gradient(45deg,transparent 50%,#75818a 50%),linear-gradient(135deg,#75818a 50%,transparent 50%);background-position:calc(100% - 18px) 50%,calc(100% - 13px) 50%;background-size:5px 5px;background-repeat:no-repeat;transition:border-color .15s ease,box-shadow .15s ease,background-color .15s ease;cursor:pointer;text-overflow:ellipsis}\n#bhs-guide .bg-guide-fields select:hover,#bhs-guide .bg-catalogue-controls select:hover,#bhs-guide .bg-finder-fields select:hover{border-color:#b5c0c6;background-color:#fffefa}\n#bhs-guide select:focus-visible{outline:2px solid #f84c01;outline-offset:2px;box-shadow:0 0 0 4px #f84c0114}\n#bhs-guide select option{background:#fff;color:#33434b}\n#bhs-guide .bg-catalogue-controls{row-gap:15px}\n#bhs-guide .bg-guide-fields{align-items:end;gap:14px}\n@media(max-width:600px){#bhs-guide .bg-card{display:flex;grid-row:auto}#bhs-guide .bg-card-body{display:flex}#bhs-guide .bg-card .bg-product-photo{height:200px;padding:22px}#bhs-guide .bg-card-heading{padding:17px 20px 12px}#bhs-guide .bg-card-promo{padding:0 20px 10px}#bhs-guide .bg-card-pricing{padding:0 20px 14px}#bhs-guide .bg-card-options{padding:0 20px 15px}#bhs-guide .bg-card .bg-card-actions{padding:2px 20px 20px;margin-top:0}#bhs-guide .bg-guide-fields select,#bhs-guide .bg-catalogue-controls select,#bhs-guide .bg-finder-fields select{font-size:16px}#bhs-guide #bg-workspace{scroll-margin-top:100px}}\n@media(prefers-reduced-motion:reduce){#bhs-guide select,#bhs-guide .bg-card-actions button{transition:none!important}}\n<\/style>\n\n<style id=\"bhs-package-yellow\">#bhs-guide .bg-coffee-package{color:#755000;background:#fff5cc;border-color:#ebd27b}<\/style>","protected":false},"excerpt":{"rendered":"<p>Book a serviceYour quote 0 Equipment sales and service for the Blayney Wholesale Foods network. What can we helpyou find today? Tell us what you need, and we\u2019ll help you build a quote. Find it \u2197 Explore our range \u2193\u2727Help me chooseClearance Service, warranty &amp; registration \u2197 (02) 6368 9400Supplier catalogue Please enable JavaScript to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"templates\/template-full-notitle.php","meta":{"footnotes":""},"class_list":["post-4004","page","type-page","status-publish","hentry","post"],"_links":{"self":[{"href":"https:\/\/barrettshospitalitysupplies.com\/index.php?rest_route=\/wp\/v2\/pages\/4004","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/barrettshospitalitysupplies.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/barrettshospitalitysupplies.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/barrettshospitalitysupplies.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/barrettshospitalitysupplies.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4004"}],"version-history":[{"count":90,"href":"https:\/\/barrettshospitalitysupplies.com\/index.php?rest_route=\/wp\/v2\/pages\/4004\/revisions"}],"predecessor-version":[{"id":23995,"href":"https:\/\/barrettshospitalitysupplies.com\/index.php?rest_route=\/wp\/v2\/pages\/4004\/revisions\/23995"}],"wp:attachment":[{"href":"https:\/\/barrettshospitalitysupplies.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4004"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}