PageSourceSearch

https://www.benjaminmoore.com/_next/static/chunks/8871.e9561ffdf75c4f7a.js

js benjaminmoore.com collected 2026-09-24 08:48:15 UTC 9,154 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8871,7481,5095],{58988:function(t,e){e.E=function(t,e){return t.split(",").map(function(t){var e=(t=t.trim()).match(n),o=e[1],s=e[2],a=e[3]||"",u={};return u.inverse=!!o&&"not"===o.toLowerCase(),u.type=s?s.toLowerCase():"all",a=a.match(/\([^\)]+\)/g)||[],u.expressions=a.map(function(t){var e=t.match(r),n=e[1].toLowerCase().match(i);return{modifier:n[1],feature:n[2],value:e[2]}}),u}).some(function(t){var n=t.inverse,r="all"===t.type||e.type===t.type;if(r&&n||!(r||n))return!1;var i=t.expressions.every(function(t){var n=t.feature,r=t.modifier,i=t.value,o=e[n];if(!o)return!1;switch(n){case"orientation":case"scan":return o.toLowerCase()===i.toLowerCase();case"width":case"height":case"device-width":case"device-height":i=c(i),o=c(o);break;case"resolution":i=u(i),o=u(o);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":i=a(i),o=a(o);break;case"grid":case"color":case"color-index":case"monochrome":i=parseInt(i,10)||1,o=parseInt(o,10)||0}switch(r){case"min":return o>=i;case"max":return o<=i;default:return o===i}});return i&&!n||!i&&n})};var n=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,r=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,i=/^(?:(min|max)-)?(.+)/,o=/(em|rem|px|cm|mm|in|pt|pc)?$/,s=/(dpi|dpcm|dppx)?$/;function a(t){var e,n=Number(t);return n||(n=(e=t.match(/^(\d+)\s*\/\s*(\d+)$/))[1]/e[2]),n}function u(t){var e=parseFloat(t);switch(String(t).match(s)[1]){case"dpcm":return e/2.54;case"dppx":return 96*e;default:return e}}function c(t){var e=parseFloat(t);switch(String(t).match(o)[1]){case"em":case"rem":return 16*e;case"cm":return 96*e/2.54;case"mm":return 96*e/2.54/10;case"in":return 96*e;case"pt":return 72*e;case"pc":return 72*e/12;default:return e}}},49180:function(t,e,n){var r=n(58988).E,i="undefined"!=typeof window?window.matchMedia:null;function o(t,e,n){var o,s=this;function a(t){s.matches=t.matches,s.media=t.media}i&&!n&&(o=i.call(window,t)),o?(this.matches=o.matches,this.media=o.media,o.addListener(a)):(this.matches=r(t,e),this.media=t),this.addListener=function(t){o&&o.addListener(t)},this.removeListener=function(t){o&&o.removeListener(t)},this.dispose=function(){o&&o.removeListener(a)}}t.exports=function(t,e,n){return new o(t,e,n)}},47:function(t,e,n){n.d(e,{ac:function(){return D}});var r=n(67294),i=n(49180),o=n.n(i),s=/[A-Z]/g,a=/^ms-/,u={};function c(t){return"-"+t.toLowerCase()}var l=function(t){if(u.hasOwnProperty(t))return u[t];var e=t.replace(s,c);return u[t]=a.test(e)?"-"+e:e},p=n(45697),d=n.n(p);let f=d().oneOfType([d().string,d().number]),h={all:d().bool,grid:d().bool,aural:d().bool,braille:d().bool,handheld:d().bool,print:d().bool,projection:d().bool,screen:d().bool,tty:d().bool,tv:d().bool,embossed:d().bool},{type:m,...x}={orientation:d().oneOf(["portrait","landscape"]),scan:d().oneOf(["progressive","interlace"]),aspectRatio:d().string,deviceAspectRatio:d().string,height:f,deviceHeight:f,width:f,deviceWidth:f,color:d().bool,colorIndex:d().bool,monochrome:d().bool,resolution:f,type:Object.keys(h)},E={minAspectRatio:d().string,maxAspectRatio:d().string,minDeviceAspectRatio:d().string,maxDeviceAspectRatio:d().string,minHeight:f,maxHeight:f,minDeviceHeight:f,maxDeviceHeight:f,minWidth:f,maxWidth:f,minDeviceWidth:f,maxDeviceWidth:f,minColor:d().number,maxColor:d().number,minColorIndex:d().number,maxColorIndex:d().number,minMonochrome:d().number,maxMonochrome:d().number,minResolution:f,maxResolution:f,...x};var v={...h,...E};let b=t=>`not ${t}`,g=(t,e)=>{let n=l(t);return("number"==typeof e&&(e=`${e}px`),!0===e)?n:!1===e?b(n):`(${n}: ${e})`},C=t=>t.join(" and "),y=t=>{let e=[];return Object.keys(v).forEach(n=>{let r=t[n];null!=r&&e.push(g(n,r))}),C(e)},k=(0,r.createContext)(void 0),O=t=>t.query||y(t),S=t=>{if(t)return Object.keys(t).reduce((e,n)=>(e[l(n)]=t[n],e),{})},w=()=>{let t=(0,r.useRef)(!1);return(0,r.useEffect)(()=>{t.current=!0},[]),t.current},L=t=>{let e=(0,r.useContext)(k),n=()=>S(t)||S(e),[i,o]=(0,r.useState)(n);return(0,r.useEffect)(()=>{let t=n();!function(t,e){if(t===e)return!0;if(!t||!e)return!1;let n=Object.keys(t),r=Object.keys(e),i=n.length;if(r.length!==i)return!1;for(let r=0;r<i;r++){let i=n[r];if(t[i]!==e[i]||!Object.prototype.hasOwnProperty.call(e,i))return!1}return!0}(i,t)&&o(t)},[t,e]),i},N=t=>{let e=()=>O(t),[n,i]=(0,r.useState)(e);return(0,r.useEffect)(()=>{let t=e();n!==t&&i(t)},[t]),n},R=(t,e)=>{let n=()=>o()(t,e||{},!!e),[i,s]=(0,r.useState)(n),a=w();return(0,r.useEffect)(()=>
1{if(a){let t=n();return s(t),()=>{t&&t.dispose()}}},[t,e]),i},T=t=>{let[e,n]=(0,r.useState)(t.matches);return(0,r.useEffect)(()=>{let e=t=>{n(t.matches)};return t.addListener(e),n(t.matches),()=>{t.removeListener(e)}},[t]),e},D=(t,e,n)=>{let i=L(e),o=N(t);if(!o)throw Error("Invalid or missing MediaQuery!");let s=R(o,i),a=T(s),u=w();return(0,r.useEffect)(()=>{u&&n&&n(a)},[a]),(0,r.useEffect)(()=>()=>{s&&s.dispose()},[]),a}},98885:function(t,e,n){n.d(e,{ZP:function(){return x}});var r=n(63366),i=n(75068),o=n(67294),s=n(73935),a={disabled:!1},u=n(220),c="unmounted",l="exited",p="entering",d="entered",f="exiting",h=function(t){function e(e,n){r=t.call(this,e,n)||this;var r,i,o=n&&!n.isMounting?e.enter:e.appear;return r.appearStatus=null,e.in?o?(i=l,r.appearStatus=p):i=d:i=e.unmountOnExit||e.mountOnEnter?c:l,r.state={status:i},r.nextCallback=null,r}(0,i.Z)(e,t),e.getDerivedStateFromProps=function(t,e){return t.in&&e.status===c?{status:l}:null};var n=e.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(t){var e=null;if(t!==this.props){var n=this.state.status;this.props.in?n!==p&&n!==d&&(e=p):(n===p||n===d)&&(e=f)}this.updateStatus(!1,e)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var t,e,n,r=this.props.timeout;return t=e=n=r,null!=r&&"number"!=typeof r&&(t=r.exit,e=r.enter,n=void 0!==r.appear?r.appear:e),{exit:t,enter:e,appear:n}},n.updateStatus=function(t,e){void 0===t&&(t=!1),null!==e?(this.cancelNextCallback(),e===p?this.performEnter(t):this.performExit()):this.props.unmountOnExit&&this.state.status===l&&this.setState({status:c})},n.performEnter=function(t){var e=this,n=this.props.enter,r=this.context?this.context.isMounting:t,i=this.props.nodeRef?[r]:[s.findDOMNode(this),r],o=i[0],u=i[1],c=this.getTimeouts(),l=r?c.appear:c.enter;if(!t&&!n||a.disabled){this.safeSetState({status:d},function(){e.props.onEntered(o)});return}this.props.onEnter(o,u),this.safeSetState({status:p},function(){e.props.onEntering(o,u),e.onTransitionEnd(l,function(){e.safeSetState({status:d},function(){e.props.onEntered(o,u)})})})},n.performExit=function(){var t=this,e=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:s.findDOMNode(this);if(!e||a.disabled){this.safeSetState({status:l},function(){t.props.onExited(r)});return}this.props.onExit(r),this.safeSetState({status:f},function(){t.props.onExiting(r),t.onTransitionEnd(n.exit,function(){t.safeSetState({status:l},function(){t.props.onExited(r)})})})},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(t,e){e=this.setNextCallback(e),this.setState(t,e)},n.setNextCallback=function(t){var e=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,e.nextCallback=null,t(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(t,e){this.setNextCallback(e);var n=this.props.nodeRef?this.props.nodeRef.current:s.findDOMNode(this),r=null==t&&!this.props.addEndListener;if(!n||r){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=i[0],a=i[1];this.props.addEndListener(o,a)}null!=t&&setTimeout(this.nextCallback,t)},n.render=function(){var t=this.state.status;if(t===c)return null;var e=this.props,n=e.children,i=(e.in,e.mountOnEnter,e.unmountOnExit,e.appear,e.enter,e.exit,e.timeout,e.addEndListener,e.onEnter,e.onEntering,e.onEntered,e.onExit,e.onExiting,e.onExited,e.nodeRef,(0,r.Z)(e,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return o.createElement(u.Z.Provider,{value:null},"function"==typeof n?n(t,i):o.cloneElement(o.Children.only(n),i))},e}(o.Component);function m(){}h.contextType=u.Z,h.propTypes={},h.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:m,onEntering:m,onEntered:m,onExit:m,onExiting:m,onExited:m},h.UNMOUNTED=c,h.EXITED=l,h.ENTERING=p,h.ENTERED=d,h.EXITING=f;var x=h},220:function(t,e,n){var r=n(67294);e.Z=r.createContext(null)},75068:function(t,e,n){function r(t,e){return(r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function i(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,r(t,e)}n.d(e,{Z:function(){return i}})},63366:function(t,e,n){n.d(e,{Z:function(){return r}});function r(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.