function e(){document.querySelectorAll('img[src="https://eu.evocdn.io/supplier/brands/canon.jpg"]').forEach(e=>{e.src="https://eu.evocdn.io/dealer/1939/content/media/Manufacturer/canon-cropped.png"})}function t(e,t,n){return t&&function(e,t){for(var n=0;n{const t=new IntersectionObserver(e=>{e.forEach(e=>{if(e.isIntersecting){t.unobserve(e.target);const n=Number(e.target.dataset.count),o=2500,r=performance.now(),i=e=>e<.5?2*e*e:(4-2*e)*e-1,s=t=>{const a=t-r,c=Math.min(a/o,1),l=i(c),u=Math.floor(l*n);e.target.textContent=u,c<1?requestAnimationFrame(s):e.target.textContent=n};requestAnimationFrame(s)}})},{rootMargin:"0px 0px -75px 0px"});t.observe(e)}),(()=>{const e=document.querySelectorAll(".category-boxes-wrapper");e.length&&e.forEach(e=>{const t=e.querySelectorAll(".category-box");if(!t.length)return;t.forEach((e,t)=>{e.style.opacity="0",e.style.transform="translateY(30px)",e.style.transition=`opacity 0.6s ease-out ${.1*t}s, transform 0.6s ease-out ${.1*t}s`});const n=new IntersectionObserver(e=>{e.forEach(e=>{if(e.isIntersecting){e.target.querySelectorAll(".category-box").forEach(e=>{e.style.opacity="1",e.style.transform="translateY(0)"}),n.unobserve(e.target)}})},{threshold:.1,rootMargin:"0px 0px -50px 0px"});n.observe(e)})})(),(()=>{const e=document.querySelectorAll(".category-cards-wrapper");e.length&&e.forEach(e=>{const t=e.querySelectorAll(".category-card");if(!t.length)return;t.forEach((e,t)=>{e.style.opacity="0",e.style.transform="translateY(20px)",e.style.transition=`opacity 0.5s ease-out ${.12*t}s, transform 0.5s ease-out ${.12*t}s`;const n=e.querySelector(".category-card-image");if(n){n.style.transform="scale(0)",n.style.transition=`transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) ${.12*t+.15}s`;const e=n;e&&(e.style.setProperty("--square-scale","0"),e.style.setProperty("--square-rotate","-45deg"));const o=n.querySelector("img");o&&(o.style.opacity="0",o.style.transform="scale(0.5)",o.style.transition=`opacity 0.5s ease-out ${.12*t+.3}s, transform 0.5s ease-out ${.12*t+.3}s`)}});const n=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(t.forEach(e=>{e.style.opacity="1",e.style.transform="translateY(0)";const t=e.querySelector(".category-card-image");if(t){t.style.transform="scale(1)",t.style.setProperty("--square-scale","1"),t.style.setProperty("--square-rotate","45deg");const e=t.querySelector("img");e&&(e.style.opacity="1",e.style.transform="scale(1)")}}),n.unobserve(e.target))})},{threshold:.1,rootMargin:"0px 0px -50px 0px"});n.observe(e)})})(),(()=>{const e=document.querySelectorAll(".c2a-fullwidth");e.length&&e.forEach(e=>{const t=e.querySelectorAll(".bg-square"),n=e.querySelector(".c2a-fullwidth-inner-content"),o=e.querySelector(".theme-button"),r=e.querySelector(":scope > img");t.forEach((e,t)=>{e.style.opacity="0",e.style.transform=e.style.transform?`${e.style.transform} scale(0) rotate(${90*t-180}deg)`:`scale(0) rotate(${90*t-180}deg)`,e.style.transition=`all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) ${.15*t}s`}),r&&(r.style.opacity="0",r.style.transform="translateX(50px)",r.style.transition="opacity 0.8s ease-out 0.3s, transform 0.8s ease-out 0.3s"),n&&(n.style.opacity="0",n.style.transform="translateX(-30px)",n.style.transition="opacity 0.6s ease-out 0.5s, transform 0.6s ease-out 0.5s"),o&&(o.style.opacity="0",o.style.transform="translateY(20px)",o.style.transition="opacity 0.6s ease-out 0.7s, transform 0.6s ease-out 0.7s");const i=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(t.forEach(e=>{let t="";e.style.transform.includes("rotate(45deg)")?t="rotate(45deg)":e.style.transform.includes("translateY(-50%)")&&(t="translateY(-50%)"),e.style.opacity="0.14",e.style.transform=t?`${t} scale(1)`:"scale(1)"}),r&&(r.style.opacity="1",r.style.transform="translateX(0)"),n&&(n.style.opacity="1",n.style.transform="translateX(0)"),o&&(o.style.opacity="1",o.style.transform="translateY(0)"),setTimeout(()=>{t.forEach(e=>{e.style.removeProperty("opacity"),e.style.removeProperty("transform")})},1e3),i.unobserve(e.target))})},{threshold:.2,rootMargin:"0px 0px -50px 0px"});i.observe(e)})})(),(()=>{const e=document.querySelectorAll(".shop-by-room");e.length&&e.forEach(e=>{const t=e.querySelector(".shop-by-room-title"),n=e.querySelectorAll(".shop-by-room-entry");if(t){const e=t.querySelector("h2"),n=t.querySelector("p");e&&(e.style.opacity="0",e.style.transform="translateY(-20px)",e.style.transition="opacity 0.6s ease-out 0.1s, transform 0.6s ease-out 0.1s"),n&&(n.style.opacity="0",n.style.transform="translateY(-20px)",n.style.transition="opacity 0.6s ease-out 0.2s, transform 0.6s ease-out 0.2s")}n.forEach((e,t)=>{const n=e.querySelector(".shop-by-room-image"),o=e.querySelector(".shop-by-room-content"),r=null==o?void 0:o.querySelector("h3"),i=null==o?void 0:o.querySelector("p"),s=null==o?void 0:o.querySelectorAll("li"),a=.4+.15*t;if(n){const e=n.querySelector("img");e&&(e.style.opacity="0",e.style.transform="scale(0.9)",e.style.transition=`opacity 0.6s ease-out ${a}s, transform 0.6s ease-out ${a}s`)}r&&(r.style.opacity="0",r.style.transform="translateX(-20px)",r.style.transition=`opacity 0.5s ease-out ${a+.1}s, transform 0.5s ease-out ${a+.1}s`),i&&(i.style.opacity="0",i.style.transform="translateX(-20px)",i.style.transition=`opacity 0.5s ease-out ${a+.2}s, transform 0.5s ease-out ${a+.2}s`),s&&s.forEach((e,t)=>{e.style.opacity="0",e.style.transform="translateX(-15px)",e.style.transition=`opacity 0.4s ease-out ${a+.3+.05*t}s, transform 0.4s ease-out ${a+.3+.05*t}s`})});const o=new IntersectionObserver(e=>{e.forEach(e=>{if(e.isIntersecting){if(t){const e=t.querySelector("h2"),n=t.querySelector("p");e&&(e.style.opacity="1",e.style.transform="translateY(0)"),n&&(n.style.opacity="1",n.style.transform="translateY(0)")}n.forEach(e=>{const t=e.querySelector(".shop-by-room-image"),n=e.querySelector(".shop-by-room-content"),o=null==n?void 0:n.querySelector("h3"),r=null==n?void 0:n.querySelector("p"),i=null==n?void 0:n.querySelectorAll("li");if(t){const e=t.querySelector("img");e&&(e.style.opacity="1",e.style.transform="scale(1)")}o&&(o.style.opacity="1",o.style.transform="translateX(0)"),r&&(r.style.opacity="1",r.style.transform="translateX(0)"),i&&i.forEach(e=>{e.style.opacity="1",e.style.transform="translateX(0)"})}),o.unobserve(e.target)}})},{threshold:.15,rootMargin:"0px 0px -50px 0px"});o.observe(e)})})(),document.querySelectorAll(".custom-megamenu .submenucontainer > .has-submenu").forEach(e=>{const t=e.querySelector(".megamenu-image"),n=e.querySelector(":scope > a");if(!t||!n)return;const o=n.textContent,r=t.querySelector("img");r&&(n.innerHTML=`\n \n ${r.outerHTML}\n \n \n ${o}\n \n `,n.classList.add("megamenu-t2link"),t.remove())}),document.querySelectorAll(".custom-megamenu .submenucontainer").forEach(e=>{const t=document.querySelector(".megamenu-footer");t&&e.appendChild(t.cloneNode(!0))}),(()=>{const e=document.querySelector(".custom-brands");if(!e)return;const t=document.querySelector(".header-full .search-form"),n=e.querySelector(".catalog-single > h3");if(t&&n){const e=document.createElement("div");e.className="custom-brands-title";const o=document.createElement("div");o.className="eyebrow",o.textContent="Shop by brand";const r=document.createElement("p");r.textContent="Find dependable products from trusted manufacturers, all in one place.";const i=t.cloneNode(!0);n.parentNode.insertBefore(e,n),e.appendChild(o),e.appendChild(n),e.appendChild(r),e.appendChild(i)}const o=document.querySelectorAll(".custom-brands");o.length&&o.forEach(e=>{const t=e.querySelector(".custom-brands-title"),n=e.querySelectorAll(".tile");if(t){const e=t.querySelector(".eyebrow"),n=t.querySelector("h3"),o=t.querySelector("p"),r=t.querySelector(".search-form");e&&(e.style.opacity="0",e.style.transform="translateX(-30px)",e.style.transition="opacity 0.6s ease-out 0.1s, transform 0.6s ease-out 0.1s"),n&&(n.style.opacity="0",n.style.transform="translateX(-30px)",n.style.transition="opacity 0.6s ease-out 0.2s, transform 0.6s ease-out 0.2s"),o&&(o.style.opacity="0",o.style.transform="translateX(-30px)",o.style.transition="opacity 0.6s ease-out 0.3s, transform 0.6s ease-out 0.3s"),r&&(r.style.opacity="0",r.style.transform="translateX(-30px)",r.style.transition="opacity 0.6s ease-out 0.4s, transform 0.6s ease-out 0.4s")}n.forEach((e,t)=>{e.style.opacity="0",e.style.transform="scale(0.8) translateY(20px)",e.style.transition=`opacity 0.5s ease-out ${.5+.08*t}s, transform 0.5s ease-out ${.5+.08*t}s`});const o=new IntersectionObserver(e=>{e.forEach(e=>{if(e.isIntersecting){if(t){const e=t.querySelector(".eyebrow"),n=t.querySelector("h3"),o=t.querySelector("p"),r=t.querySelector(".search-form");e&&(e.style.opacity="1",e.style.transform="translateX(0)"),n&&(n.style.opacity="1",n.style.transform="translateX(0)"),o&&(o.style.opacity="1",o.style.transform="translateX(0)"),r&&(r.style.opacity="1",r.style.transform="translateX(0)")}n.forEach(e=>{e.style.opacity="1",e.style.transform="scale(1) translateY(0)"}),o.unobserve(e.target)}})},{threshold:.15,rootMargin:"0px 0px -50px 0px"});o.observe(e)})})(),"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e,{once:!0}):e();var n="(prefers-reduced-motion: reduce)",o={CREATED:1,MOUNTED:2,IDLE:3,MOVING:4,SCROLLING:5,DRAGGING:6,DESTROYED:7};function r(e){e.length=0}function i(e,t,n){return Array.prototype.slice.call(e,t,n)}function s(e){return e.bind.apply(e,[null].concat(i(arguments,1)))}var a=setTimeout,c=function(){};function l(e){return requestAnimationFrame(e)}function u(e,t){return typeof t===e}function d(e){return!h(e)&&u("object",e)}var p=Array.isArray,f=s(u,"function"),m=s(u,"string"),y=s(u,"undefined");function h(e){return null===e}function g(e){try{return e instanceof(e.ownerDocument.defaultView||window).HTMLElement}catch(t){return!1}}function v(e){return p(e)?e:[e]}function b(e,t){v(e).forEach(t)}function S(e,t){return e.indexOf(t)>-1}function w(e,t){return e.push.apply(e,v(t)),e}function E(e,t,n){e&&b(t,function(t){t&&e.classList[n?"add":"remove"](t)})}function q(e,t){E(e,m(t)?t.split(" "):t,!0)}function x(e,t){b(t,e.appendChild.bind(e))}function _(e,t){b(e,function(e){var n=(t||e).parentNode;n&&n.insertBefore(e,t)})}function L(e,t){return g(e)&&(e.msMatchesSelector||e.matches).call(e,t)}function k(e,t){var n=e?i(e.children):[];return t?n.filter(function(e){return L(e,t)}):n}function A(e,t){return t?k(e,t)[0]:e.firstElementChild}var C=Object.keys;function M(e,t,n){return e&&(n?C(e).reverse():C(e)).forEach(function(n){"__proto__"!==n&&t(e[n],n)}),e}function P(e){return i(arguments,1).forEach(function(t){M(t,function(n,o){e[o]=t[o]})}),e}function N(e){return i(arguments,1).forEach(function(t){M(t,function(t,n){p(t)?e[n]=t.slice():d(t)?e[n]=N({},d(e[n])?e[n]:{},t):e[n]=t})}),e}function T(e,t){b(t||C(e),function(t){delete e[t]})}function I(e,t){b(e,function(e){b(t,function(t){e&&e.removeAttribute(t)})})}function O(e,t,n){d(t)?M(t,function(t,n){O(e,n,t)}):b(e,function(e){h(n)||""===n?I(e,t):e.setAttribute(t,String(n))})}function D(e,t,n){var o=document.createElement(e);return t&&(m(t)?q(o,t):O(o,t)),n&&x(n,o),o}function F(e,t,n){if(y(n))return getComputedStyle(e)[t];h(n)||(e.style[t]=""+n)}function X(e,t){F(e,"display",t)}function z(e){e.setActive&&e.setActive()||e.focus({preventScroll:!0})}function j(e,t){return e.getAttribute(t)}function Y(e,t){return e&&e.classList.contains(t)}function H(e){return e.getBoundingClientRect()}function B(e){b(e,function(e){e&&e.parentNode&&e.parentNode.removeChild(e)})}function R(e){return A((new DOMParser).parseFromString(e,"text/html").body)}function W(e,t){e.preventDefault(),t&&(e.stopPropagation(),e.stopImmediatePropagation())}function G(e,t){return e&&e.querySelector(t)}function V(e,t){return t?i(e.querySelectorAll(t)):[]}function U(e,t){E(e,t,!1)}function J(e){return e.timeStamp}function K(e){return m(e)?e:e?e+"px":""}var Q="splide",Z="data-"+Q;function ee(e,t){if(!e)throw new Error("["+Q+"] "+(t||""))}var te=Math.min,ne=Math.max,oe=Math.floor,re=Math.ceil,ie=Math.abs;function se(e,t,n){return ie(e-t)0)-+(e<0)}function ue(e,t){return b(t,function(t){e=e.replace("%s",""+t)}),e}function de(e){return e<10?"0"+e:""+e}var pe={};function fe(){var e=[];function t(e,t,n){b(e,function(e){e&&b(t,function(t){t.split(" ").forEach(function(t){var o=t.split(".");n(e,o[0],o[1])})})})}return{bind:function(n,o,r,i){t(n,o,function(t,n,o){var s="addEventListener"in t,a=s?t.removeEventListener.bind(t,n,r,i):t.removeListener.bind(t,r);s?t.addEventListener(n,r,i):t.addListener(r),e.push([t,n,o,r,a])})},unbind:function(n,o,r){t(n,o,function(t,n,o){e=e.filter(function(e){return!!(e[0]!==t||e[1]!==n||e[2]!==o||r&&e[3]!==r)||(e[4](),!1)})})},dispatch:function(e,t,n){var o,r=!0;return"function"==typeof CustomEvent?o=new CustomEvent(t,{bubbles:r,detail:n}):(o=document.createEvent("CustomEvent")).initCustomEvent(t,r,!1,n),e.dispatchEvent(o),o},destroy:function(){e.forEach(function(e){e[4]()}),r(e)}}}var me="mounted",ye="ready",he="move",ge="moved",ve="click",be="active",Se="inactive",we="visible",Ee="hidden",qe="refresh",xe="updated",_e="resize",Le="resized",ke="scroll",Ae="scrolled",Ce="destroy",Me="arrows:mounted",Pe="navigation:mounted",Ne="autoplay:play",$e="autoplay:pause",Te="lazyload:loaded",Ie="sk",Oe="sh",De="ei";function Fe(e){var t=e?e.event.bus:document.createDocumentFragment(),n=fe();return e&&e.event.on(Ce,n.destroy),P(n,{bus:t,on:function(e,o){n.bind(t,v(e).join(" "),function(e){o.apply(o,p(e.detail)?e.detail:[])})},off:s(n.unbind,t),emit:function(e){n.dispatch(t,e,i(arguments,1))}})}function Xe(e,t,n,o){var r,i,s=Date.now,a=0,c=!0,u=0;function d(){if(!c){if(a=e?te((s()-r)/e,1):1,n&&n(a),a>=1&&(t(),r=s(),o&&++u>=o))return p();i=l(d)}}function p(){c=!0}function f(){i&&cancelAnimationFrame(i),a=0,i=0,c=!0}return{start:function(t){t||f(),r=s()-(t?a*e:0),c=!1,i=l(d)},rewind:function(){r=s(),a=0,n&&n(a)},pause:p,cancel:f,set:function(t){e=t},isPaused:function(){return c}}}var ze="Arrow",je=ze+"Left",Ye=ze+"Right",He=ze+"Up",Be=ze+"Down",Re="ttb",We={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[He,Ye],ArrowRight:[Be,je]};var Ge="role",Ve="tabindex",Ue="aria-",Je=Ue+"controls",Ke=Ue+"current",Qe=Ue+"selected",Ze=Ue+"label",et=Ue+"labelledby",tt=Ue+"hidden",nt=Ue+"orientation",ot=Ue+"roledescription",rt=Ue+"live",it=Ue+"busy",st=Ue+"atomic",at=[Ge,Ve,"disabled",Je,Ke,Ze,et,tt,nt,ot],ct=Q+"__",lt="is-",ut=Q,dt=ct+"track",pt=ct+"list",ft=ct+"slide",mt=ft+"--clone",yt=ft+"__container",ht=ct+"arrows",gt=ct+"arrow",vt=gt+"--prev",bt=gt+"--next",St=ct+"pagination",wt=St+"__page",Et=ct+"progress"+"__bar",qt=ct+"toggle",xt=ct+"sr",_t=lt+"initialized",Lt=lt+"active",kt=lt+"prev",At=lt+"next",Ct=lt+"visible",Mt=lt+"loading",Pt=lt+"focus-in",Nt=lt+"overflow",$t=[Lt,Ct,kt,At,Mt,Pt,Nt],Tt={slide:ft,clone:mt,arrows:ht,arrow:gt,prev:vt,next:bt,pagination:St,page:wt,spinner:ct+"spinner"};var It="touchstart mousedown",Ot="touchmove mousemove",Dt="touchend touchcancel mouseup click";var Ft="slide",Xt="loop",zt="fade";function jt(e,t,n,o){var r,i=Fe(e),a=i.on,c=i.emit,l=i.bind,u=e.Components,d=e.root,p=e.options,f=p.isNavigation,m=p.updateOnMove,y=p.i18n,h=p.pagination,g=p.slideFocus,v=u.Direction.resolve,b=j(o,"style"),S=j(o,Ze),w=n>-1,q=A(o,"."+yt);function x(){var r=e.splides.map(function(e){var n=e.splide.Components.Slides.getAt(t);return n?n.slide.id:""}).join(" ");O(o,Ze,ue(y.slideX,(w?n:t)+1)),O(o,Je,r),O(o,Ge,g?"button":""),g&&I(o,ot)}function _(){r||L()}function L(){if(!r){var n=e.index;(i=k())!==Y(o,Lt)&&(E(o,Lt,i),O(o,Ke,f&&i||""),c(i?be:Se,C)),function(){var t=function(){if(e.is(zt))return k();var t=H(u.Elements.track),n=H(o),r=v("left",!0),i=v("right",!0);return oe(t[r])<=re(n[r])&&oe(n[i])<=re(t[i])}(),n=!t&&(!k()||w);e.state.is([4,5])||O(o,tt,n||"");O(V(o,p.focusableNodes||""),Ve,n?-1:""),g&&O(o,Ve,n?-1:0);t!==Y(o,Ct)&&(E(o,Ct,t),c(t?we:Ee,C));if(!t&&document.activeElement===o){var r=u.Slides.getAt(e.index);r&&z(r.slide)}}(),E(o,kt,t===n-1),E(o,At,t===n+1)}var i}function k(){var o=e.index;return o===t||p.cloneStatus&&o===n}var C={index:t,slideIndex:n,slide:o,container:q,isClone:w,mount:function(){w||(o.id=d.id+"-slide"+de(t+1),O(o,Ge,h?"tabpanel":"group"),O(o,ot,y.slide),O(o,Ze,S||ue(y.slideLabel,[t+1,e.length]))),l(o,"click",s(c,ve,C)),l(o,"keydown",s(c,Ie,C)),a([ge,Oe,Ae],L),a(Pe,x),m&&a(he,_)},destroy:function(){r=!0,i.destroy(),U(o,$t),I(o,at),O(o,"style",b),O(o,Ze,S||"")},update:L,style:function(e,t,n){F(n&&q||o,e,t)},isWithin:function(n,o){var r=ie(n-t);return w||!p.rewind&&!e.is(Xt)||(r=te(r,e.length-r)),r<=o}};return C}var Yt=Z+"-interval";var Ht={passive:!1,capture:!0};var Bt={Spacebar:" ",Right:Ye,Left:je,Up:He,Down:Be};function Rt(e){return e=m(e)?e:e.key,Bt[e]||e}var Wt="keydown";var Gt=Z+"-lazy",Vt=Gt+"-srcset",Ut="["+Gt+"], ["+Vt+"]";var Jt=[" ","Enter"];var Kt=Object.freeze({__proto__:null,Media:function(e,t,o){var r=e.state,i=o.breakpoints||{},s=o.reducedMotion||{},a=fe(),c=[];function l(e){e&&a.destroy()}function u(e,t){var n=matchMedia(t);a.bind(n,"change",d),c.push([e,n])}function d(){var t=r.is(7),n=o.direction,i=c.reduce(function(e,t){return N(e,t[1].matches?t[0]:{})},{});T(o),p(i),o.destroy?e.destroy("completely"===o.destroy):t?(l(!0),e.mount()):n!==o.direction&&e.refresh()}function p(t,n,i){N(o,t),n&&N(Object.getPrototypeOf(o),t),!i&&r.is(1)||e.emit(xe,o)}return{setup:function(){var e="min"===o.mediaQuery;C(i).sort(function(t,n){return e?+t-+n:+n-+t}).forEach(function(t){u(i[t],"("+(e?"min":"max")+"-width:"+t+"px)")}),u(s,n),d()},destroy:l,reduce:function(e){matchMedia(n).matches&&(e?N(o,s):T(o,C(s)))},set:p}},Direction:function(e,t,n){return{resolve:function(e,t,o){var r="rtl"!==(o=o||n.direction)||t?o===Re?0:-1:1;return We[e]&&We[e][r]||e.replace(/width|left|right/i,function(e,t){var n=We[e.toLowerCase()][r]||e;return t>0?n.charAt(0).toUpperCase()+n.slice(1):n})},orient:function(e){return e*("rtl"===n.direction?1:-1)}}},Elements:function(e,t,n){var o,i,s,a=Fe(e),c=a.on,l=a.bind,u=e.root,d=n.i18n,p={},m=[],y=[],h=[];function g(){o=S("."+dt),i=A(o,"."+pt),ee(o&&i,"A track/list element is missing."),w(m,k(i,"."+ft+":not(."+mt+")")),M({arrows:ht,pagination:St,prev:vt,next:bt,bar:Et,toggle:qt},function(e,t){p[t]=S("."+e)}),P(p,{root:u,track:o,list:i,slides:m}),function(){var e=u.id||(r=Q,""+r+de(pe[r]=(pe[r]||0)+1)),t=n.role;var r;u.id=e,o.id=o.id||e+"-track",i.id=i.id||e+"-list",!j(u,Ge)&&"SECTION"!==u.tagName&&t&&O(u,Ge,t);O(u,ot,d.carousel),O(i,Ge,"presentation")}(),b()}function v(e){var t=at.concat("style");r(m),U(u,y),U(o,h),I([o,i],t),I(u,e?t:["style",ot])}function b(){U(u,y),U(o,h),y=x(ut),h=x(dt),q(u,y),q(o,h),O(u,Ze,n.label),O(u,et,n.labelledby)}function S(e){var t=G(u,e);return t&&function(e,t){if(f(e.closest))return e.closest(t);for(var n=e;n&&1===n.nodeType&&!L(n,t);)n=n.parentElement;return n}(t,"."+ut)===u?t:void 0}function x(e){return[e+"--"+n.type,e+"--"+n.direction,n.drag&&e+"--draggable",n.isNavigation&&e+"--nav",e===ut&&Lt]}return P(p,{setup:g,mount:function(){c(qe,v),c(qe,g),c(xe,b),l(document,It+" keydown",function(e){s="keydown"===e.type},{capture:!0}),l(u,"focusin",function(){E(u,Pt,!!s)})},destroy:v})},Slides:function(e,t,n){var o=Fe(e),i=o.on,a=o.emit,c=o.bind,l=t.Elements,u=l.slides,d=l.list,p=[];function y(){u.forEach(function(e,t){w(e,t,-1)})}function h(){k(function(e){e.destroy()}),r(p)}function w(t,n,o){var r=jt(e,n,o,t);r.mount(),p.push(r),p.sort(function(e,t){return e.index-t.index})}function E(e){return e?A(function(e){return!e.isClone}):p}function k(e,t){E(t).forEach(e)}function A(e){return p.filter(f(e)?e:function(t){return m(e)?L(t.slide,e):S(v(e),t.index)})}return{mount:function(){y(),i(qe,h),i(qe,y)},destroy:h,update:function(){k(function(e){e.update()})},register:w,get:E,getIn:function(e){var o=t.Controller,r=o.toIndex(e),i=o.hasFocus()?1:n.perPage;return A(function(e){return ae(e.index,r,r+i-1)})},getAt:function(e){return A(e)[0]},add:function(e,t){b(e,function(e){if(m(e)&&(e=R(e)),g(e)){var o=u[t];o?_(e,o):x(d,e),q(e,n.classes.slide),r=e,i=s(a,_e),l=V(r,"img"),(p=l.length)?l.forEach(function(e){c(e,"load error",function(){--p||i()})}):i()}var r,i,l,p}),a(qe)},remove:function(e){B(A(e).map(function(e){return e.slide})),a(qe)},forEach:k,filter:A,style:function(e,t,n){k(function(o){o.style(e,t,n)})},getLength:function(e){return e?u.length:p.length},isEnough:function(){return p.length>n.perPage}}},Layout:function(e,t,n){var o,r,i,a=Fe(e),c=a.on,l=a.bind,u=a.emit,p=t.Slides,f=t.Direction.resolve,m=t.Elements,y=m.root,h=m.track,g=m.list,v=p.getAt,b=p.style;function S(){o=n.direction===Re,F(y,"maxWidth",K(n.width)),F(h,f("paddingLeft"),q(!1)),F(h,f("paddingRight"),q(!0)),w(!0)}function w(e){var t=H(y);(e||r.width!==t.width||r.height!==t.height)&&(F(h,"height",function(){var e="";o&&(ee(e=x(),"height or heightRatio is missing."),e="calc("+e+" - "+q(!1)+" - "+q(!0)+")");return e}()),b(f("marginRight"),K(n.gap)),b("width",n.autoWidth?null:K(n.fixedWidth)||(o?"":_())),b("height",K(n.fixedHeight)||(o?n.autoHeight?null:_():x()),!0),r=t,u(Le),i!==(i=P())&&(E(y,Nt,i),u("overflow",i)))}function q(e){var t=n.padding,o=f(e?"right":"left");return t&&K(t[o]||(d(t)?0:t))||"0px"}function x(){return K(n.height||H(g).width*n.heightRatio)}function _(){var e=K(n.gap);return"calc((100%"+(e&&" + "+e)+")/"+(n.perPage||1)+(e&&" - "+e)+")"}function L(){return H(g)[f("width")]}function k(e,t){var n=v(e||0);return n?H(n.slide)[f("width")]+(t?0:M()):0}function A(e,t){var n=v(e);if(n){var o=H(n.slide)[f("right")],r=H(g)[f("left")];return ie(o-r)+(t?0:M())}return 0}function C(t){return A(e.length-1)-A(0)+k(0,t)}function M(){var e=v(0);return e&&parseFloat(F(e.slide,f("marginRight")))||0}function P(){return e.is(zt)||C(!0)>L()}return{mount:function(){var e,t;S(),l(window,"resize load",(e=s(u,_e),t=Xe(0,e,null,1),function(){t.isPaused()&&t.start()})),c([xe,qe],S),c(_e,w)},resize:w,listSize:L,slideSize:k,sliderSize:C,totalSize:A,getPadding:function(e){return parseFloat(F(h,f("padding"+(e?"Right":"Left"))))||0},isOverflow:P}},Clones:function(e,t,n){var o,i=Fe(e),s=i.on,a=t.Elements,c=t.Slides,l=t.Direction.resolve,u=[];function d(){s(qe,p),s([xe,_e],m),(o=h())&&(!function(t){var o=c.get().slice(),r=o.length;if(r){for(;o.lengtht.Controller.getEnd();(o<0||r)&&(n=x(n,r))}return n}(n);F(b,"transform","translate"+h("X")+"("+r+"px)"),n!==r&&s(Oe)}}function x(e,t){var n=e-C(t),o=f();return e-=g(o*(re(ie(n)/o)||1))*(t?1:-1)}function _(){q(A(),!0),o.cancel()}function L(e){for(var n=t.Slides.get(),o=0,r=1/0,i=0;in,c=g(x(A(),i)),i?c>=0:c<=b[h("scrollWidth")]-H(S)[h("width")])&&(_(),q(x(A(),e>n),!0)),a(4),s(he,t,n,e),o.start(t,function(){a(3),s(ge,t,n,e),r&&r()})},jump:E,translate:q,shift:x,cancel:_,toIndex:L,toPosition:k,getPosition:A,getLimit:C,exceededLimit:function(e,t){t=y(t)?A():t;var n=!0!==e&&g(t)g(C(!0));return n||o},reposition:w}},Controller:function(e,t,n){var o,r,i,a,c=Fe(e),l=c.on,u=c.emit,d=t.Move,p=d.getPosition,f=d.getLimit,h=d.toPosition,g=t.Slides,v=g.isEnough,b=g.getLength,S=n.omitEnd,w=e.is(Xt),E=e.is(Ft),q=s(C,!1),x=s(C,!0),_=n.start||0,L=_;function k(){r=b(!0),i=n.perMove,a=n.perPage,o=N();var e=ce(_,0,S?o:r-1);e!==_&&(_=e,d.reposition())}function A(){o!==N()&&u(De)}function C(e,t){var n=i||(D()?1:a),r=M(_+n*(e?-1:1),_,!(i||D()));return-1===r&&E&&!se(p(),f(!e),1)?e?0:o:t?r:P(r)}function M(t,s,c){if(v()||D()){var l=function(t){if(E&&"move"===n.trimSpace&&t!==_)for(var o=p();o===h(t,!0)&&ae(t,0,e.length-1,!n.rewind);)t<_?--t:++t;return t}(t);l!==t&&(s=t,t=l,c=!1),t<0||t>o?t=i||!ae(0,t,s,!0)&&!ae(o,s,t,!0)?w?c?t<0?-(r%a||a):r:t:n.rewind?t<0?o:0:-1:T(I(t)):c&&t!==s&&(t=T(I(s)+(t0;)if(h(r-1,!0)!==h(e,!0)){e++;break}return ce(e,0,r-1)}function T(e){return ce(D()?e:a*e,0,o)}function I(e){return D()?te(e,o):oe((e>=o?r-1:e)/a)}function O(e){e!==_&&(L=_,_=e)}function D(){return!y(n.focus)||n.isNavigation}function F(){return e.state.is([4,5])&&!!n.waitForTransition}return{mount:function(){k(),l([xe,qe,De],k),l(Le,A)},go:function(e,t,n){if(!F()){var r=function(e){var t=_;if(m(e)){var n=e.match(/([+\-<>])(\d+)?/)||[],r=n[1],i=n[2];"+"===r||"-"===r?t=M(_+ +(""+r+(+i||1)),_):">"===r?t=i?T(+i):q(!0):"<"===r&&(t=x(!0))}else t=w?e:ce(e,0,o);return t}(e),i=P(r);i>-1&&(t||i!==_)&&(O(i),d.move(r,i,L,n))}},scroll:function(e,n,r,i){t.Scroll.scroll(e,n,r,function(){var e=P(d.toIndex(p()));O(S?te(e,o):e),i&&i()})},getNext:q,getPrev:x,getAdjacent:C,getEnd:N,setIndex:O,getIndex:function(e){return e?L:_},toIndex:T,toPage:I,toDest:function(e){var t=d.toIndex(e);return E?ce(t,0,o):t},hasFocus:D,isBusy:F}},Arrows:function(e,t,n){var o,r,i=Fe(e),a=i.on,c=i.bind,l=i.emit,u=n.classes,d=n.i18n,p=t.Elements,f=t.Controller,m=p.arrows,y=p.track,h=m,g=p.prev,v=p.next,b={};function S(){!function(){var e=n.arrows;!e||g&&v||(h=m||D("div",u.arrows),g=k(!0),v=k(!1),o=!0,x(h,[g,v]),!m&&_(h,y));g&&v&&(P(b,{prev:g,next:v}),X(h,e?"":"none"),q(h,r=ht+"--"+n.direction),e&&(a([me,ge,qe,Ae,De],A),c(v,"click",s(L,">")),c(g,"click",s(L,"<")),A(),O([g,v],Je,y.id),l(Me,g,v)))}(),a(xe,w)}function w(){E(),S()}function E(){i.destroy(),U(h,r),o?(B(m?[g,v]:h),g=v=null):I([g,v],at)}function L(e){f.go(e,!0)}function k(e){return R('\n \n \n ';const u=l.querySelector(".quote-modal__action--primary"),d=l.querySelector(".quote-modal__action--secondary"),p=document.createElement("button");p.type="button",p.className="quote-modal__back",p.textContent="← Back to products",r.after(l,p);let f=!1,m=n.classList.contains("in")||n.classList.contains("show");const y=(e,t=!1)=>{if(f=e,c.forEach(t=>{t.hidden=!e}),l.hidden=e,p.hidden=!e,u.setAttribute("aria-expanded",String(e)),t){const t=e?i.querySelector('input:not([type="hidden"]):not(:disabled), select:not(:disabled), textarea:not(:disabled)'):u.disabled?d:u;null==t||t.focus({preventScroll:!0}),(e?i:l).scrollIntoView({block:"nearest"})}},h=()=>{const e=!!n.querySelector('#quote-product-list tbody tr td[name="desc"]');u.disabled=!e,!e&&f&&y(!1,!0)};return u.addEventListener("click",()=>{u.disabled||y(!0,!0)}),p.addEventListener("click",()=>y(!1,!0)),new MutationObserver(()=>{const e=n.classList.contains("in")||n.classList.contains("show");e!==m&&(m=e,y(!1)),h()}).observe(n,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["class"]}),n.classList.add("quote-modal--enhanced"),y(!1),h(),!0},t=()=>{if(e())return;const t=new MutationObserver(()=>{e()&&t.disconnect()});t.observe(document.body,{childList:!0,subtree:!0})};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",t):t()})();(()=>{const e=5e3,t="#quote-product-list-button";let n,o,r,i,s,a,c,l=e,u=0,d=0,p=!1,f=!1,m=0,y=0,h=[];const g=(e,t)=>{const n=document.createElement("img");return n.src=e,n.width=t,n.height=t,n.alt="",n.draggable=!1,n},v=()=>{var e,t,n;let o;try{o=null==(e=globalThis.getSessionStorage)?void 0:e.call(globalThis,"quote_product_list_")}catch{}return Array.isArray(o)||(o=null==(n=null==(t=globalThis.quoteproducts)?void 0:t.quote)?void 0:n.items),Array.isArray(o)?o.map(e=>({key:JSON.stringify([e.item_id,e.catalog_id,e.supplier_id,e.sku]),name:e.name||e.sku||"Product",sku:e.sku||"",image:e.image||"",qty:Number(e.quantity)||0})):[]},b=()=>{if(!n||n.hidden||n.classList.contains("is-leaving"))return;p=!1,f=!1,d&&(cancelAnimationFrame(d),d=0);const e=++y;if(window.matchMedia("(prefers-reduced-motion: reduce)").matches)return n.hidden=!0,void n.classList.remove("is-visible","is-leaving");n.classList.remove("is-visible"),n.classList.add("is-leaving");const t=()=>{e===y&&(n.hidden=!0,n.classList.remove("is-leaving"))},o=e=>{e.target===n&&"opacity"===e.propertyName&&(n.removeEventListener("transitionend",o),t())};n.addEventListener("transitionend",o),window.setTimeout(()=>{n.removeEventListener("transitionend",o),t()},320)},S=()=>{const t=Math.max(1,Math.ceil(l/1e3));c.style.transform=`scaleX(${l/e})`,a.textContent=`Closes in ${t}s`},w=e=>{p?!u||f||(l=Math.max(0,l-(e-u)),0!==l)?(u=e,S(),d=requestAnimationFrame(w)):b():d=0},E=()=>{f=n.matches(":hover")||n.contains(document.activeElement)},q=()=>{const e=document.querySelector(t);b(),null==e||e.click()},x=t=>{n||(()=>{n=document.createElement("div"),n.className="quote-toast",n.hidden=!0,n.setAttribute("role","status"),n.setAttribute("aria-live","polite"),n.setAttribute("aria-atomic","true");const e=document.createElement("div");e.className="quote-toast__content";const t=document.createElement("div");t.className="quote-toast__header";const l=document.createElement("span");l.className="quote-toast__success",l.append(g("data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Check'%3e%3cpath%20id='Vector'%20d='M3.75%209L6.75%2012L14.25%204.5'%20stroke='%23E8861E'%20stroke-width='1.35'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/svg%3e",18));const u=document.createElement("p");u.className="quote-toast__title",u.textContent="Added to your quote";const d=document.createElement("button");d.type="button",d.className="quote-toast__close",d.setAttribute("aria-label","Close"),d.append(g("data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Close'%3e%3cpath%20id='Vector'%20d='M4.5%204.5L13.5%2013.5M4.5%2013.5L13.5%204.5'%20stroke='%236A6864'%20stroke-width='1.35'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/svg%3e",18)),d.addEventListener("click",b),t.append(l,u,d);const p=document.createElement("div");p.className="quote-toast__product",i=document.createElement("div"),i.className="quote-toast__thumb",s=document.createElement("img"),s.className="quote-toast__image",s.alt="",s.addEventListener("error",()=>{s.dataset.token===String(m)&&(i.hidden=!0)}),i.append(s);const y=document.createElement("div");y.className="quote-toast__details",o=document.createElement("p"),o.className="quote-toast__name",r=document.createElement("p"),r.className="quote-toast__meta",y.append(o,r),p.append(i,y);const h=document.createElement("div");h.className="quote-toast__actions";const v=document.createElement("button");v.type="button",v.className="quote-toast__button quote-toast__button--primary";const S=document.createElement("span");S.textContent="View quote",v.append(S,g("data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Arrow%20right'%3e%3cpath%20id='Vector'%20d='M3.33333%208H12.6667M8.66667%2012L12.6667%208L8.66667%204'%20stroke='%23373737'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/svg%3e",16)),v.addEventListener("click",q);const w=document.createElement("button");w.type="button",w.className="quote-toast__button quote-toast__button--secondary",w.textContent="Add more products",w.addEventListener("click",b),h.append(v,w),a=document.createElement("p"),a.className="quote-toast__timer",a.textContent="Closes in 5s",e.append(t,p,h,a);const x=document.createElement("div");x.className="quote-toast__bar",x.setAttribute("aria-hidden","true"),c=document.createElement("div"),c.className="quote-toast__bar-fill",x.append(c),n.append(e,x),n.addEventListener("pointerenter",E),n.addEventListener("pointerleave",E),n.addEventListener("focusin",E),n.addEventListener("focusout",e=>{const t=e.relatedTarget;f=n.matches(":hover")||t instanceof Node&&n.contains(t)}),document.addEventListener("keydown",e=>{"Escape"!==e.key||n.hidden||b()}),document.body.append(n)})(),o.textContent=t.name,r.textContent=t.sku?`Qty ${t.qty} · ${t.sku}`:`Qty ${t.qty}`,t.image?(m+=1,i.hidden=!1,s.alt=t.name,s.dataset.token=String(m),s.src=t.image):(m+=1,i.hidden=!0,s.alt="",s.removeAttribute("src")),y+=1,n.classList.remove("is-leaving"),n.hidden=!1,n.classList.contains("is-visible")||(n.getBoundingClientRect(),n.classList.add("is-visible")),l=e,u=0,E(),S(),p||(p=!0,d=requestAnimationFrame(w))},_=e=>{new MutationObserver(()=>{if(!e.classList.contains("new-added"))return;const t=(()=>{const e=v(),t=new Map(h.map(e=>[e.key,e.qty])),n=e.map(e=>({...e,qty:e.qty-(t.get(e.key)||0)})).filter(e=>e.qty>0);return h=e,1===n.length?n[0]:n.length>1?{name:`${n.length} products`,sku:"",image:"",qty:n.reduce((e,t)=>e+t.qty,0)}:null})();t&&x(t)}).observe(e,{attributes:!0,attributeFilter:["class"]})},L=()=>{h=v(),document.addEventListener("click",()=>{h=v()},!0),(()=>{const e=document.querySelector(t);if(e)return void _(e);const n=new MutationObserver(()=>{const e=document.querySelector(t);e&&(n.disconnect(),_(e))});n.observe(document.documentElement,{childList:!0,subtree:!0})})()};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",L):L()})();const nn=new WeakMap,on=new WeakMap,rn={controlPanel:195317,wirelessLan:207244,airPrint:192589,mopria:200671,securePrinting:121476,integratedFinisher:6899627,fax:197214,maximumPaperInput:6899631,tonerSupplied:6899648,remoteMonitoring:6899639,paperSize:6899628,printOutput:202845,ratedMonoPrintSpeed:6899637,availablePrintSpeeds:6899624,speedConfiguration:6899643};let sn=!1,an=0;const cn=e=>String(e??"").replace(/\s+/g," ").trim(),ln=e=>/^(yes|y|true)$/i.test(e||""),un=e=>/^(no|n|false|not available)$/i.test(e||"");function dn(e,t){const n=rn[t];if(null==n||!/^\d+$/.test(String(n)))return"";const o=e.querySelector(`.tech-specs .attr_${n} > .row > [class*="col-"]:last-child`);return cn(null==o?void 0:o.textContent)}const pn=(e,t)=>{e.textContent!==t&&(e.textContent=t)};function fn(e,t,n){e.querySelectorAll(`[data-canon-slot="${t}"]`).forEach(o=>{nn.has(o)||nn.set(o,o.innerHTML);const r=e.querySelector(`.canon-pdp-data [data-canon-fragment="${t}"]`);if(r&&cn(r.textContent)){const e=r.innerHTML;o.dataset.canonFragmentContent===e&&"fragment"===o.dataset.canonContentMode||(o.replaceChildren(...[...r.childNodes].map(e=>e.cloneNode(!0))),o.querySelectorAll("[id]").forEach(e=>e.removeAttribute("id")),o.dataset.canonFragmentContent=e,o.dataset.canonContentMode="fragment")}else if(n)pn(o,n),o.dataset.canonContentMode="attribute";else{const e=nn.get(o);o.innerHTML!==e&&(o.innerHTML=e),o.dataset.canonContentMode="fallback"}})}const mn=()=>{sn||(sn=!0,requestAnimationFrame(()=>{sn=!1,yn()}))};function yn(){let e=0;return document.querySelectorAll(".ex-product").forEach(t=>{if(!t.querySelector("[data-canon-pdp]"))return;e++;const n=on.get(t)||new MutationObserver(mn);n.disconnect(),t.classList.add("canon-pdp"),function(e){var t,n,o,r;null==(n=null==(t=e.querySelector(".canon-pdp-faqs"))?void 0:t.closest(".row"))||n.classList.add("canon-pdp-faq-row"),null==(r=null==(o=e.querySelector(".productdescription_container:has(.ch-product-overview)"))?void 0:o.closest(".row"))||r.classList.add("canon-pdp-description-row");const i=e.querySelector(".productspecs_container");i&&!i.id&&(i.id="canon-specifications-panel-"+ ++an),e.querySelectorAll(".productsummary_container .product-summary").forEach(e=>{let t=e.querySelector(".canon-pdp-key-facts");t||(t=document.createElement("section"),t.className="canon-pdp-key-facts",t.setAttribute("aria-label","Product at a glance"),t.innerHTML="\n \n \n View details & specifications\n \n \"\"\n \n \n ");let n=e.querySelector(".canon-pdp-key-facts-column");n||(n=document.createElement("div"),n.className="col-xs-12 col-sm-12 col-md-12 col-lg-12 canon-pdp-key-facts-column"),t.parentElement!==n&&n.append(t);const o=e.querySelector(".product-points"),r=null==o?void 0:o.closest(".row");if(r&&e.contains(r)){let e=o;for(;e.parentElement!==r;)e=e.parentElement;e.nextElementSibling!==n&&e.after(n)}else{let t=e.querySelector(".canon-pdp-key-facts-row");t||(t=document.createElement("div"),t.className="row canon-pdp-key-facts-row"),n.parentElement!==t&&t.append(n),o&&o.nextElementSibling!==t?o.after(t):o||t.parentElement===e||e.append(t)}const s=t.querySelector(".canon-pdp-specs-link");i?s.setAttribute("href",`#${i.id}`):s.removeAttribute("href")});const s=e.querySelector(".productaddtocart_container .product-shopping-actions");if(s&&!s.querySelector(".canon-pdp-buying-intro")){const e=document.createElement("header");e.className="canon-pdp-buying-intro",e.innerHTML='\n

Your machine. Your service agreement.

\n

Contact us for machine pricing, service agreements and copy costs.

\n How service agreements work ↓',s.prepend(e)}}(t),function(e){e.querySelectorAll(".productspecs_container").forEach(e=>{const t=e.querySelector(".tech-specs");if(!t)return;e.querySelectorAll(".panel-heading").forEach(e=>{var t;e.removeAttribute("data-toggle"),e.removeAttribute("data-target"),null==(t=e.querySelector("h3"))||t.setAttribute("aria-label","The practical details.")}),e.querySelectorAll(".panel-collapse").forEach(e=>{e.classList.remove("collapse","collapsing"),e.classList.add("in"),e.setAttribute("aria-expanded","true"),e.style.removeProperty("height")});const n=[...t.querySelectorAll(".item")];n.forEach(e=>e.classList.remove("canon-pdp-spec-extra"));const o=n.filter(e=>!e.hidden&&"none"!==getComputedStyle(e).display);o.slice(7).forEach(e=>e.classList.add("canon-pdp-spec-extra"));let r=e.querySelector(".canon-pdp-specs-toggle");r||(r=document.createElement("button"),r.type="button",r.className="canon-pdp-specs-toggle"),t.id||(t.id="canon-specifications-"+ ++an),r.setAttribute("aria-controls",t.id),t.nextElementSibling!==r&&t.after(r),r.hidden=o.length<=7,r.hidden&&e.classList.remove("canon-pdp-specs-expanded");const i=e.classList.contains("canon-pdp-specs-expanded");r.setAttribute("aria-expanded",String(i)),pn(r,i?"See less":"See more")})}(t),function(e){const t=t=>dn(e,t),n=t("printOutput"),o=/^mono$/i.test(n)?"mono":/^colou?r$/i.test(n)?"colour":n,r=[t("paperSize"),o].filter(Boolean).join(" "),i=Number(t("ratedMonoPrintSpeed")),s=t("availablePrintSpeeds"),a=s?s.split(/\s*(?:\/|,|;)\s*/).map(Number).filter(e=>Number.isFinite(e)&&e>0):[],c=/^licen[cs]e-selectable$/i.test(t("speedConfiguration"));let l="";!c&&Number.isFinite(i)&&i>0?l=`${i.toLocaleString("en-GB")} ppm`:a.length&&(l=`${a.map(e=>e.toLocaleString("en-GB")).join(" / ")} ppm${a.length>1?" options":""}`),e.querySelectorAll(".canon-pdp-key-facts").forEach(e=>{const t=e.querySelector(".canon-pdp-key-facts-value");pn(t,[r,l].filter(Boolean).join(" · ")),t.hidden=!r&&!l,e.querySelector(".canon-pdp-key-facts-note").hidden=!c||!l})}(t),function(e){var t;const n=t=>dn(e,t),o=n("controlPanel");fn(e,"controls",o&&!un(o)?`Controls use a ${o}. Check the product specifications for the functions and configuration fitted to this model.`:"");const r=n("wirelessLan"),i=[ln(n("airPrint"))&&"AirPrint",ln(n("mopria"))&&"Mopria"].filter(Boolean),s=[];/^standard$/i.test(r)?s.push("Wireless LAN is standard."):/^optional$/i.test(r)?s.push("Wireless LAN is an optional addition."):un(r)&&s.push("Use the wired connections listed in the product specifications."),i.length&&s.push(`${i.join(" and ")} support mobile printing.`),s.length&&s.push("Cloud and print-management services depend on software, subscriptions and setup."),fn(e,"connectivity",s.join(" ")),fn(e,"security",ln(n("securePrinting"))?"Secure printing helps control document release. Ask us about the authentication, device-management and energy-saving features available for this model.":"");const a=[];ln(n("integratedFinisher"))&&a.push("This model includes an integrated stapling finisher.");const c=n("fax");/^standard$/i.test(c)?a.push("Fax is standard."):/^optional$/i.test(c)&&a.push("Optional fax can be discussed as part of your quotation.");const l=n("maximumPaperInput").replace(/[\s,]/g,"");/^\d+$/.test(l)&&a.push(`Paper input supports up to ${Number(l).toLocaleString("en-GB")} sheets with the appropriate optional feeding units.`),a.length&&a.push("We’ll confirm compatible accessories, software and costs."),fn(e,"options",a.join(" "));const u=n("tonerSupplied");fn(e,"toner",un(u)?"Toner is not included with this hardware. We’ll confirm toner cover, replenishment and any exclusions in your service-agreement quotation.":ln(u)?"Toner is supplied with this hardware. We’ll confirm ongoing toner cover, replenishment and any exclusions in your service-agreement quotation.":"");const d=n("remoteMonitoring");e.querySelectorAll('[data-canon-service="emaintenance"]').forEach(e=>{e.hidden=un(d)});const p=cn(null==(t=e.querySelector(".productsummary_container .product-name, .product-title .product-name, h1.product-name"))?void 0:t.textContent);e.querySelectorAll("[data-canon-product-name]").forEach(e=>{nn.has(e)||nn.set(e,e.innerHTML),p?pn(e,p):e.innerHTML!==nn.get(e)&&(e.innerHTML=nn.get(e))})}(t),t.querySelectorAll(".productspecs_container, .productsummary_container, .productdescription_container").forEach(e=>{n.observe(e,{childList:!0,subtree:!0,characterData:!0})}),on.set(t,n)}),e}if("undefined"!=typeof document){"loading"===document.readyState?document.addEventListener("DOMContentLoaded",yn,{once:!0}):yn();const e=window.evoXProductChangeCallback;window.evoXProductChangeCallback=function(...t){try{return null==e?void 0:e.apply(this,t)}finally{mn()}},window.chCanonPdp={refresh:yn,configureAttributes:function(e){return Object.entries(e).forEach(([e,t])=>{if(!(e in rn))throw new TypeError(`Unknown Canon attribute key: ${e}`);const n=null==t?null:String(t).replace(/^\.?attr_/,"");if(null!==n&&!/^\d+$/.test(n))throw new TypeError(`Expected an EvolutionX numeric attribute ID for ${e}`);rn[e]=n}),yn()}},document.addEventListener("click",e=>{var t,n;const o=e.target.closest(".canon-pdp-specs-link"),r=null==o?void 0:o.closest(".ex-product.canon-pdp");if(r&&o.hash){const t=document.getElementById(o.hash.slice(1));if(!t||!r.contains(t))return;return e.preventDefault(),t.scrollIntoView({behavior:window.matchMedia("(prefers-reduced-motion: reduce)").matches?"auto":"smooth",block:"start"}),t.hasAttribute("tabindex")||(t.tabIndex=-1),void t.focus({preventScroll:!0})}const i=e.target.closest(".canon-pdp-specs-toggle"),s=null==i?void 0:i.closest(".ex-product.canon-pdp .productspecs_container");if(s){const e=!s.classList.contains("canon-pdp-specs-expanded");return s.classList.toggle("canon-pdp-specs-expanded",e),i.setAttribute("aria-expanded",String(e)),void pn(i,e?"See less":"See more")}const a=e.target.closest(".canon-pdp-faq-trigger");if(null==a?void 0:a.closest(".ex-product.canon-pdp")){const e=null==(t=a.closest(".canon-pdp-faq"))?void 0:t.querySelector(".canon-pdp-faq-answer");if(!e)return;const n="true"!==a.getAttribute("aria-expanded");return a.setAttribute("aria-expanded",String(n)),e.setAttribute("aria-hidden",String(!n)),void(e.inert=!n)}const c=e.target.closest("[data-canon-enquire]"),l=null==c?void 0:c.closest(".ex-product.canon-pdp"),u=null==l?void 0:l.querySelector(".productaddtocart_container");u&&(e.preventDefault(),u.scrollIntoView({behavior:window.matchMedia("(prefers-reduced-motion: reduce)").matches?"auto":"smooth",block:"center"}),null==(n=u.querySelector('button:not(:disabled), input:not([type="hidden"]):not(:disabled), a[href]'))||n.focus({preventScroll:!0}))})}