"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6132],{41287:function(e,t,r){r.d(t,{T:function(){return s}});var n=r(55821),o=r(75414),i=r.n(o),a=r(1662),c=r(19207),l=function(e){var t=e.excerpt,r=e.gutter;return(0,c.jsx)(a.D,{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:(0,n.sanitize)(t)},gutter:void 0===r?{}:r})},s=l;l.propTypes={excerpt:i().string.isRequired,gutter:i().any}},66132:function(e,t,r){r.d(t,{c:function(){return eH}});var n=r(2700),o=r(75414),i=r.n(o),a=r(55821),c=r(42247),l=r(1662),s=r(53105),u=r(95254),d=r(50978),p=[{name:"Relevance",value:[]},{name:"Date - Newest First",value:[{field:"published_date",direction:"desc"}]},{name:"Date - Oldest First",value:[{field:"published_date",direction:"asc"}]}],f=r(18633),h=r(76538),m=r(53478),g=r(64322),b=r(80293),y=r(6727),v=r(91895),x=r(96574),j=r(45459),w=r(19129),_=r(3607),S=r(32670),k=r(29305),C=r(53175),O=r(19207);function T(e){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function I(e){return(I=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function L(e,t){return(L=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function P(e,t,r){return(t=E(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function E(e){var t=function(e,t){if("object"!==T(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==T(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===T(t)?t:String(t)}var A=function(e){var t;function r(e){var t,n,o;return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,r),n=r,o=[e],n=I(n),P(t=function(e,t){if(t&&("object"===T(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,!function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){return!1}}()?n.apply(this,o):Reflect.construct(n,o||[],I(this).constructor)),"toggleSidebar",function(){t.setState(function(e){return{isSidebarToggled:!e.isSidebarToggled}})}),P(t,"renderToggleButton",function(e){return t.props.children?(0,O.jsx)(C.z,{onClick:t.toggleSidebar,fullWidth:["xs","sm"],children:e}):null}),t.state={isSidebarToggled:!1},t}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&L(e,t)}(r,e),t=[{key:"render",value:function(){var e=this.props,t=e.className,r=e.children,n=this.state.isSidebarToggled,o=k.Z(t,n?"".concat(t,"--toggled"):void 0);return(0,O.jsx)(O.Fragment,{children:(0,O.jsx)("div",{className:o,children:r})})}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,E(n.key),n)}}(r.prototype,t),Object.defineProperty(r,"prototype",{writable:!1}),r}(n.Component),N=r(37278),F=r(21110),D=r(52738),q=r(1030),R=r(59425),H=r(66095);function K(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var G=(0,H.ZP)(N.J).withConfig({componentId:"sc-1vxdj7u-0"})(["@media ","{display:none;}"],F.t.maxWidth.sm),V=(0,H.ZP)(C.z).withConfig({componentId:"sc-1vxdj7u-1"})(["@media ","{display:none;}"],F.t.minWidth.md),Z=(0,H.ZP)(C.z).withConfig({componentId:"sc-1vxdj7u-2"})(["border-radius:0;border-width:0;"]),U=H.ZP.div.withConfig({componentId:"sc-1vxdj7u-3"})(["display:flex;padding:0 1rem 0 1rem;.customer-header-close-toggle{margin-left:auto;}"]),M=function(e){var t,r=e.isSearchPage,o=e.children,i=e.header,a=e.bodyContent,l=e.bodyFooter,s=e.bodyHeader,u=e.sideContent,d=function(e){if(Array.isArray(e))return e}(t=(0,n.useState)(!1))||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,c=[],l=!0,s=!1;try{for(i=(r=r.call(e)).next;!(l=(n=i.call(r)).done)&&(c.push(n.value),2!==c.length);l=!0);}catch(e){s=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(t,2)||function(e,t){if(e){if("string"==typeof e)return K(e,2);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return K(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),p=d[0],f=d[1],h=(0,n.useCallback)(function(){f(!0)},[]),m=(0,n.useCallback)(function(){f(!1)},[]),g=(0,n.useCallback)(function(){return(0,O.jsx)(U,{children:(0,O.jsx)(D.P,{onClick:m,className:"customer-header-close-toggle"})})},[m]),b=(0,O.jsx)(Z,{fullWidth:!0,onClick:m,children:"Save filters"});return(0,O.jsxs)(c.x,{minHeight:"500px",margin:{top:7},children:[(0,O.jsx)(V,{gutter:{bottom:"1rem"},fullWidth:!0,onClick:h,children:"Show filters"}),(0,O.jsxs)(q.X,{children:[(0,O.jsx)(G,{md:3,lg:3,children:(0,O.jsx)(A,{className:"sui-layout-sidebar",children:u})}),(0,O.jsxs)(N.J,{sm:12,md:9,lg:9,children:[void 0!==r&&r&&i,s,o||a,l]})]}),(0,O.jsx)(R.u,{size:"sm",show:p,stickyFooter:b,customHeader:g,onClose:m,children:(0,O.jsx)(A,{className:"sui-layout-sidebar",children:u})})]})},W=function(e){var t=e.start,r=e.end,n=e.totalResults,o=e.searchTerm;return(0,O.jsxs)(l.D,{styleType:"body200",gutter:{bottom:3},children:["Showing"," ",(0,O.jsxs)("strong",{children:[t,"-",r]})," ","out of ",(0,O.jsx)("strong",{children:n})," articles",o&&o.length>0&&(0,O.jsxs)(O.Fragment,{children:[" ","for: ",(0,O.jsx)("em",{children:o})]})]})},B=r(89523),z=r(12994),Y=(0,B.Z)(function(e){return{resultsPerPage:e.resultsPerPage,setResultsPerPage:e.setResultsPerPage}})(function(e){var t=e.setResultsPerPage,r=e.resultsPerPage;return(0,O.jsx)(z.l,{options:[{text:"10",value:10},{text:"20",value:20},{text:"50",value:50},{text:"100",value:100}],onChange:function(e){return t(Number(e.target.value))},value:r,label:"Per page",labelDisplayType:"infield",forceShrink:!0,id:"results-per-page"})}),J=r(75630),Q=(0,B.Z)(function(e){return{filters:e.filters,removeFilter:e.removeFilter}})(function(e){var t=e.filters,r=e.removeFilter;t=t.filter(function(e){return!0!==e.isNotDismissible});var n=function(e,t){r(e,t),"location"===e&&(document.getElementById("zip_code").value="",document.getElementById("miles").value="")};return t.length?(0,O.jsxs)(u.k,{flexWrap:"wrap",gap:2,alignContent:"center","data-testid":"selected-filters",children:[(0,O.jsx)(c.x,{alignContent:"center",children:(0,O.jsx)(l.D,{styleType:"body200",children:"Selected filters:"})}),t.map(function(e,t){return e.values.map(function(t,r){return(0,O.jsx)(c.x,{children:(0,O.jsx)(J.A,{"data-testid":"selected-btn",name:t,onClick:function(){n(e.field,t)},showDismiss:!0,children:t.to?"Within ".concat(t.to," miles of ").concat(document.getElementById("zip_code").value):"published_date"===t.name?"Titles only":t.toString()})})})})]}):(0,O.jsx)(O.Fragment,{children:(0,O.jsx)(l.D,{styleType:"body200",children:"No filters selected"})})}),$=r(16405),X=function(e){var t=e.onChange,r=e.totalPages,o=e.current,i=e.scrollTargetRef,a=(0,n.useCallback)(function(e){return 1===e?"":"?current=n_".concat(e,"_n")},[]);return(0,O.jsx)(u.k,{margin:{y:10},justifyContent:"center",children:(0,O.jsx)($.t,{page:o,pageCount:r,onPageClick:function(e){var r;null==i||null===(r=i.current)||void 0===r||r.scrollIntoView({behavior:"smooth",block:"start"}),t(e)},getHref:a,"data-testid":"rdc-pagination"})})},ee=r(33770),et=function(e){var t=e.label,r=e.onRemove,n=e.onSelect,o=e.options,i=o.filter(function(e){return e.selected}).map(function(e){return e.value})[0];return(0,O.jsx)(c.x,{margin:{bottom:5},children:(0,O.jsxs)("div",{children:[(0,O.jsx)(l.D,{weight:"bold","data-testid":"filter-heading",children:t}),i&&(0,O.jsxs)(u.k,{children:[(0,O.jsxs)(c.x,{width:"75%",children:[" ",ee.Z(i)]}),(0,O.jsx)(c.x,{width:"25%",textAlign:"right",children:(0,O.jsx)("a",{onClick:function(e){e.preventDefault(),r(i)},href:"/",children:"Remove"})})]}),!i&&o.map(function(e){return(0,O.jsxs)(u.k,{children:[(0,O.jsx)(c.x,{width:"90%",children:(0,O.jsx)("a",{"data-transaction-name":"facet-".concat(t),href:"/",onClick:function(t){t.preventDefault(),n(e.value)},children:ee.Z(e.value)})}),(0,O.jsx)(c.x,{width:"10%",textAlign:"right",children:e.count})]},ee.Z(e.value))})]})})},er=r(99431),en=r(92736),eo=r(59621),ei=function(e){var t=e.label,r=e.onMoreClick,n=e.onRemove,o=e.onSelect,i=e.options,a=e.showMore,s=e.showSearch,d=e.onSearch,p=e.searchPlaceholder;return(0,O.jsxs)(c.x,{margin:{bottom:5},"data-testid":"elasticSearch_checkBox_box",children:[(0,O.jsx)(l.D,{weight:"bold","data-testid":"elasticSearch_checkbox_heading",children:t}),s&&(0,O.jsx)(c.x,{margin:{top:2,bottom:3},children:(0,O.jsx)(er.o,{placeholder:p||"Filter Tag",type:"text",onChange:function(e){d(e.target.value)},inputProps:{"aria-label":p||"Filter Tag","data-testid":"elasticSearch_checkBox_searchbox"}})}),(0,O.jsxs)(c.x,{children:[i.length<1&&(0,O.jsx)(l.D,{children:"No matching options"}),i.map(function(e){var t=e.selected,r=e.value;return(0,O.jsxs)(u.k,{children:[(0,O.jsx)(c.x,{width:"90%",margin:{bottom:1},"data-testid":"elasticSearch_checkbox_label",children:(0,O.jsx)(en.J,{name:"checkbox1",checked:t,onChange:function(){return t?n(r):o(r)},control:(0,O.jsx)(eo.X,{}),children:(0,O.jsx)(l.D,{styleType:"body200",children:ee.Z(e.value)})})}),(0,O.jsx)(c.x,{width:"10%",textAlign:"right",margin:{bottom:1},"data-testid":"elasticSearch_checkBox_count",children:e.count.toLocaleString("en")})]},"_check-".concat(e.value))})]}),a&&(0,O.jsxs)(C.z,{size:"sm",styleType:"Link",onClick:r,"aria-label":"Show more options","data-testid":"elasticSearch_checkBox_showmore",children:["+ More ",t.toLowerCase()," filters"]})]})},ea=(0,B.Z)(function(e){return{filters:e.filters,clearFilters:e.clearFilters}})(function(e){var t=e.filters,r=e.clearFilters,n=t.filter(function(e){return e.isNotDismissible}).map(function(e){return e.field}),o=function(){r(n),document.getElementById("zip_code").value="",document.getElementById("miles").value=""};return(0,O.jsx)(C.z,{size:"sm","data-testid":"reset-button",onClick:function(){return o()},disabled:t.length===n.length,children:"Reset all filters"})}),ec=function(e){var t=e.label,r=e.onChange,n=e.options,o=e.value;return(0,O.jsxs)(c.x,{margin:{bottom:5},children:[(0,O.jsx)(l.D,{weight:"bold",children:t}),(0,O.jsx)(z.l,{value:o,onChange:function(e){return r(e.target.value)},options:n,"data-testid":"sorting-dropdown"})]})},el=r(7737),es=r(74093);function eu(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var ed=(0,B.Z)(function(e){return{addFilter:e.addFilter,removeFilter:e.removeFilter,filters:e.filters}})(function(e){var t,r=e.addFilter,o=e.removeFilter,i=e.filters,a=function(e){if(Array.isArray(e))return e}(t=(0,n.useState)(!0))||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,c=[],l=!0,s=!1;try{for(i=(r=r.call(e)).next;!(l=(n=i.call(r)).done)&&(c.push(n.value),2!==c.length);l=!0);}catch(e){s=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(t,2)||function(e,t){if(e){if("string"==typeof e)return eu(e,2);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return eu(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),s=a[0],u=a[1];return(0,O.jsx)(c.x,{margin:{top:1},textAlign:"right",children:(0,O.jsx)(en.J,{id:"titleOnly",checked:null==i?void 0:i.some(function(e){return"published_date"===e.field}),name:"titles-only",onChange:function(){u(!s),s?r("published_date",{name:"published_date",from:"2000-01-01T10:00:00-05:00"}):o("published_date")},control:(0,O.jsx)(eo.X,{}),children:(0,O.jsx)(l.D,{styleType:"body200",children:"Search titles only"})})})});function ep(e){return(ep="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ef(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function eh(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ef(Object(r),!0).forEach(function(t){var n,o;n=t,o=r[t],(n=function(e){var t=function(e,t){if("object"!==ep(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==ep(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===ep(t)?t:String(t)}(n))in e?Object.defineProperty(e,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ef(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function em(e){var t=e.getAutocomplete,r=e.getInputProps;return(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)(er.o,eh(eh({},r({placeholder:"Search"})),{},{endAddon:(0,O.jsx)(el.I,{position:"end",children:(0,O.jsx)(es.F,{})})})),t(),(0,O.jsx)(ed,{})]})}var eg=r(42329),eb=r(61353),ey=r(30699);function ev(e){return(ev="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ex(){ex=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function u(t,r,n,i){var a,c,l=Object.create((r&&r.prototype instanceof g?r:g).prototype);return o(l,"_invoke",{value:(a=new O(i||[]),c=p,function(r,o){if(c===f)throw Error("Generator is already running");if(c===h){if("throw"===r)throw o;return{value:e,done:!0}}for(a.method=r,a.arg=o;;){var i=a.delegate;if(i){var l=function t(r,n){var o=n.method,i=r.iterator[o];if(i===e)return n.delegate=null,"throw"===o&&r.iterator.return&&(n.method="return",n.arg=e,t(r,n),"throw"===n.method)||"return"!==o&&(n.method="throw",n.arg=TypeError("The iterator does not provide a '"+o+"' method")),m;var a=d(i,r.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,m;var c=a.arg;return c?c.done?(n[r.resultName]=c.value,n.next=r.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,m):c:(n.method="throw",n.arg=TypeError("iterator result is not an object"),n.delegate=null,m)}(i,a);if(l){if(l===m)continue;return l}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(c===p)throw c=h,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);c=f;var s=d(t,n,a);if("normal"===s.type){if(c=a.done?h:"suspendedYield",s.arg===m)continue;return{value:s.arg,done:a.done}}"throw"===s.type&&(c=h,a.method="throw",a.arg=s.arg)}})}),l}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var p="suspendedStart",f="executing",h="completed",m={};function g(){}function b(){}function y(){}var v={};s(v,a,function(){return this});var x=Object.getPrototypeOf,j=x&&x(x(T([])));j&&j!==r&&n.call(j,a)&&(v=j);var w=y.prototype=g.prototype=Object.create(v);function _(e){["next","throw","return"].forEach(function(t){s(e,t,function(e){return this._invoke(t,e)})})}function S(e,t){var r;o(this,"_invoke",{value:function(o,i){function a(){return new t(function(r,a){!function r(o,i,a,c){var l=d(e[o],e,i);if("throw"!==l.type){var s=l.arg,u=s.value;return u&&"object"==ev(u)&&n.call(u,"__await")?t.resolve(u.__await).then(function(e){r("next",e,a,c)},function(e){r("throw",e,a,c)}):t.resolve(u).then(function(e){s.value=e,a(s)},function(e){return r("throw",e,a,c)})}c(l.arg)}(o,i,r,a)})}return r=r?r.then(a,a):a()}})}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function T(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw TypeError(ev(t)+" is not iterable")}return b.prototype=y,o(w,"constructor",{value:y,configurable:!0}),o(y,"constructor",{value:b,configurable:!0}),b.displayName=s(y,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,s(e,l,"GeneratorFunction")),e.prototype=Object.create(w),e},t.awrap=function(e){return{__await:e}},_(S.prototype),s(S.prototype,c,function(){return this}),t.AsyncIterator=S,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new S(u(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then(function(e){return e.done?e.value:a.next()})},_(w),s(w,l,"Generator"),s(w,a,function(){return this}),s(w,"toString",function(){return"[object Generator]"}),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=T,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(C),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return c.type="throw",c.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(l&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),C(r),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:T(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),m}},t}function ej(e,t,r,n,o,i,a){try{var c=e[i](a),l=c.value}catch(e){r(e);return}c.done?t(l):Promise.resolve(l).then(n,o)}function ew(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function a(e){ej(i,n,o,a,c,"next",e)}function c(e){ej(i,n,o,a,c,"throw",e)}a(void 0)})}}function e_(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var eS=(0,B.Z)(function(e){return{filters:e.filters,setFilter:e.setFilter}})(function(e){e.className;var t,r=e.label,o=(e.onRemove,e.onSelect,e.options,e.setFilter),i=(0,n.useRef)(null),a=(0,n.useRef)(null),s=function(e){if(Array.isArray(e))return e}(t=n.useState(""))||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,c=[],l=!0,s=!1;try{for(i=(r=r.call(e)).next;!(l=(n=i.call(r)).done)&&(c.push(n.value),2!==c.length);l=!0);}catch(e){s=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(t,2)||function(e,t){if(e){if("string"==typeof e)return e_(e,2);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return e_(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),u=s[0],d=s[1];function p(){return(p=ew(ex().mark(function e(t){var r,n;return ex().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch("https://api.frontdoor.realtor.com/parser/search?client_id=NEWS_INSIGHTS_ELASTIC&area_types=postal_code&limit=1&input=".concat(t));case 3:return r=e.sent,e.next=6,r.json();case 6:if(!((n=e.sent).hits.length>0)){e.next=11;break}return e.abrupt("return",n.hits[0]);case 11:return d("Please enter a valid US zip code."),e.abrupt("return",null);case 13:e.next=19;break;case 15:return e.prev=15,e.t0=e.catch(0),d("Unable to look up zip code. Please try again."),e.abrupt("return",null);case 19:case"end":return e.stop()}},e,null,[[0,15]])}))).apply(this,arguments)}function f(){return(f=ew(ex().mark(function e(){var t;return ex().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(d(""),e.prev=1,!(i.current&&a.current&&i.current.value&&a.current.value&&5===i.current.value.length)){e.next=11;break}return e.next=5,function(e){return p.apply(this,arguments)}(i.current.value);case 5:if(t=e.sent){e.next=8;break}return e.abrupt("return");case 8:o("location",{to:parseInt(a.current.value),from:0,unit:"mi",center:"".concat(t.centroid.lat,",").concat(t.centroid.lon)},"any"),e.next=12;break;case 11:d("Please enter a distance and valid US zip code.");case 12:e.next=17;break;case 14:e.prev=14,e.t0=e.catch(1),d("Something went wrong. Please try again.");case 17:case"end":return e.stop()}},e,null,[[1,14]])}))).apply(this,arguments)}return(0,O.jsxs)(c.x,{margin:{bottom:5},children:[(0,O.jsx)(l.D,{weight:"bold",children:r}),(0,O.jsx)(eg.p,{id:"distance-facet",error:""!==u,errorText:u,children:(0,O.jsxs)(eb.B,{gridColumns:"0.69fr 1fr",children:[(0,O.jsx)(er.o,{placeholder:"Miles",ref:a,type:"number",min:"0",max:"2500",step:25,id:"miles",name:"miles"}),(0,O.jsx)(er.o,{placeholder:"Zip code",ref:i,type:"text",id:"zip_code",name:"zip_code",endAddon:(0,O.jsx)(el.I,{position:"end",button:!0,onClick:function(){return f.apply(this,arguments)},children:(0,O.jsx)(ey.V,{})})})]})})]})}),ek=(0,B.Z)(function(e){return{totalResults:e.totalResults}})(function(e){var t=e.totalResults;return(0,O.jsx)(O.Fragment,{children:0===t&&(0,O.jsx)("h2",{className:"no-results",children:"No results found. Please adjust your search query or filters."})})}),eC=r(40197),eO=r(94582),eT=["children","className"],eI=function(e){var t=e.index,r=e.resultList,n=Math.floor(t/5),o="INLINE".concat(n+1);return n>=3?null:(0,O.jsx)(u.k,{justifyContent:"center",children:(0,O.jsx)(c.x,{margin:{y:5},minHeight:"250px",minSm:{minHeight:"90px"},children:(0,O.jsx)(eO.Z,{unit:o,className:"".concat(o,"-ad"),resultList:r,adIndex:n})})},"resultsAdsDiv".concat(t))},eL=function(e){var t=e.children;e.className,function(e,t){if(null!=e){var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}}}(e,eT);var r=Array.isArray(t)?t:[],n=r.flatMap(function(e,t){var n=[e];return 1===t&&n.push((0,O.jsx)(eO.Z,{unit:"TRAFFIC1",className:"TRAFFIC1-ad",resultList:r})),t%eC._j==4&&n.push((0,O.jsx)(eI,{index:t,resultList:r})),n});return(0,O.jsx)(O.Fragment,{children:n})},eP=r(64874),eE=["className","result","onClickLink","titleField","urlField","thumbnailField","searchTerm"];function eA(e){return e.startsWith("/advice/reality-tv/")?e.replace(/^\/advice\/reality-tv\//,"/news/reality-tv/"):e}var eN=(0,B.Z)(function(e){return{searchTerm:e.searchTerm}})(function(e){e.className;var t,r,n,o,i,a,c,l=e.result,s=(e.onClickLink,e.titleField,e.urlField,e.thumbnailField,e.searchTerm);!function(e,t){if(null!=e){var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}}}(e,eE);var u=Array.isArray(null===(t=l.category)||void 0===t?void 0:t.raw)?l.category.raw[0]:null===(r=l.category)||void 0===r?void 0:r.raw,d=eA(null!==(n=null===(o=l.url)||void 0===o||null===(o=o.raw)||void 0===o?void 0:o.replace("https://www.realtor.com",""))&&void 0!==n?n:""),p=eA(null!==(i=null===(a=l.category_url)||void 0===a||null===(a=a.raw)||void 0===a?void 0:a.replace("https://www.realtor.com",""))&&void 0!==i?i:""),f=s&&l.title.snippet||l.title.raw;return(0,O.jsx)(eP.A,{title:f,featuredImage:{imageUrl:null===(c=l.featured_image)||void 0===c?void 0:c.raw,altText:"".concat(f,"-image"),source:"image source"},excerpt:l.excerpt.snippet?l.excerpt.snippet:l.content.snippet?"".concat(l.content.snippet,"..."):l.excerpt.raw,articleLink:d,cardMediaWidth:"300px",category:u,categoryLink:p,tags:l.tags.raw})}),eF=r(66515);function eD(e){return(eD="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function eq(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function eR(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?eq(Object(r),!0).forEach(function(t){var n,o;n=t,o=r[t],(n=function(e){var t=function(e,t){if("object"!==eD(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==eD(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===eD(t)?t:String(t)}(n))in e?Object.defineProperty(e,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eq(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function eH(e){var t,r=e.heading,o=e.headingType,i=e.filters,k=e.isSearchPage,C=void 0!==k&&k,T=e.trackUrlState,I=(0,n.useRef)(null),L={initialState:{resultsPerPage:10,filters:i},trackUrlState:void 0!==T&&T,debug:!1,alwaysSearchOnInitialLoad:!0,apiConnector:d.b,hasA11yNotifications:!0,onSearch:h.H,searchQuery:f.w,autocompleteQuery:m.x},P=null===(t=i[0])||void 0===t?void 0:t.field,E=i.map(function(e){var t;return"".concat(e.field,":").concat(null===(t=e.values)||void 0===t?void 0:t.join(","))}).join("|");return(0,O.jsx)(c.x,{minHeight:"5000px",minSm:{minHeight:"2300px"},children:(0,O.jsx)(g.Z,{config:L,children:(0,O.jsx)(b.Z,{mapContextToProps:function(e){return{wasSearched:e.wasSearched,setSearchTerm:e.setSearchTerm,isLoading:e.isLoading}},children:function(e){var t=e.wasSearched,i=e.setSearchTerm,d=e.isLoading;return(0,O.jsx)("div",{ref:I,children:(0,O.jsx)(y.Z,{children:(0,O.jsx)(M,{isSearchPage:C,header:(0,O.jsx)(v.Z,{autocompleteMinimumCharacters:3,autocompleteResults:{linkTarget:"_self",sectionTitle:"Top Results",titleField:"title",urlField:"url",shouldTrackClickThrough:!0,clickThroughTags:C?["srp"]:["header"]},autocompleteSuggestions:{sectionTitle:"Suggested Queries",documents:{queryType:"results",displayField:"query"}},onSubmit:function(e){C||""===e?i(e):window.location.href="".concat((0,a.sanitize)(window.location.origin),"/news/search/?q=").concat(e)},onSelectAutocomplete:function(e,t,r){!function(e){if(null==e)throw TypeError("Cannot destructure "+e)}(t),!C&&e.suggestion?window.location.href="".concat((0,a.sanitize)(window.location.origin),"/news/search/?q=").concat(e.suggestion):r(e)},inputView:eF.Z}),sideContent:(0,O.jsxs)(O.Fragment,{children:[(0,O.jsxs)(l.D,{styleType:"display500",gutter:{bottom:2},as:"p",children:[(0,O.jsx)(s.w,{})," Article Filters"]}),t&&(0,O.jsx)(c.x,{margin:{bottom:3},minHeight:"80px",children:(0,O.jsx)(x.Z,{label:"Sort by",sortOptions:p,view:ec})}),!C&&(0,O.jsxs)(c.x,{margin:{bottom:3},children:[(0,O.jsxs)(l.D,{weight:"bold",children:["Search ",r.replace("All ","")]}),(0,O.jsx)(v.Z,{shouldClearFilters:!1,searchAsYouType:!0,inputView:em})]}),(0,O.jsx)(j.Z,{field:"content_type",label:"Content type",view:et,show:10}),"category"!==P&&(0,O.jsx)(j.Z,{field:"category",label:"Category",view:et,show:10}),"tags"!==P&&(0,O.jsx)(j.Z,{field:"tags",label:"Tag",filterType:"any",isFilterable:!0,view:ei}),(0,O.jsx)(j.Z,{field:"year",label:"Year",view:ei}),(0,O.jsx)(j.Z,{field:"states",label:"State",filterType:"any",isFilterable:!0,view:ei}),(0,O.jsx)(j.Z,{field:"location",label:"Within zip code radius",view:eS}),t&&(0,O.jsx)(c.x,{margin:{y:4},textAlign:"right",children:(0,O.jsx)(ea,{})})]}),bodyContent:(0,O.jsxs)(n.Fragment,{children:[d&&(0,O.jsx)("div",{className:"loading-overlay"}),(0,O.jsx)(w.Z,{resultView:eN,view:eL}),t&&(0,O.jsx)(ek,{})]}),bodyHeader:(0,O.jsxs)(n.Fragment,{children:[(0,O.jsx)(l.D,{styleType:"display600",as:o,gutter:{bottom:2},children:r}),t&&(0,O.jsxs)(u.k,{gap:4,alignItems:"flex-end",children:[(0,O.jsxs)(c.x,{flex:1,margin:{bottom:5},children:[(0,O.jsx)(_.Z,{view:W}),(0,O.jsx)(Q,{})]}),(0,O.jsx)(c.x,{width:"90px",margin:{bottom:5},children:(0,O.jsx)(Y,{})})]})]}),bodyFooter:(0,O.jsx)(S.Z,{view:function(e){var t;return(0,O.jsx)(X,eR(eR({},e),{},{scrollTargetRef:I,current:null!==(t=e.current)&&void 0!==t?t:1}))}})})})})}})},E)})}eH.propTypes={heading:i().string,headingType:i().string,filters:i().array,trackUrlState:i().bool}},64874:function(e,t,r){r.d(t,{A:function(){return k}});var n=r(75414),o=r.n(n),i=r(35653),a=r(2692),c=r(75357),l=r(42247),s=r(5957),u=r(77153),d=r(98180),p=r(66095),f=r(8015),h=r.n(f),m=r(92929),g=r(41287),b=r(78676),y=r(40197),v=r(36953),x=r(19207);function j(e){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function w(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var _=p.ZP.article.withConfig({componentId:"sc-1ri3r0p-0"})(["margin-bottom:1rem;a{text-decoration:none;}a:hover{text-decoration:underline;}.card-media img{width:100%;height:100%;}"]),S=function(e){var t=e.cardStyle,r=e.featuredImage,n=e.title,o=e.excerpt,p=e.onCardClick,f=e.cardMediaWidth,S=e.categoryLink,k=void 0===S?"":S,C=e.articleLink,O=e.authorLink,T=e.author,I=e.category,L=e.reverse,P=e.tags,E=(0,b.S)(void 0===P?[]:P);return(0,x.jsx)(_,{children:(0,x.jsxs)(i.Z,{responsiveOptions:{min:"sm",mediaWidth:f},styleType:"flat",margin:{y:4},reverseLayout:void 0!==L&&L,onClick:p,style:t,children:[(0,x.jsx)(a.Z,{ratio:[16,9],children:(0,x.jsx)(h(),{href:C,"aria-label":"link to ".concat(n," article"),children:(0,x.jsx)(d.Q,{"data-eventitem":"card-featured-image",imageUrl:(null==r?void 0:r.imageUrl)||y.t,altText:null==r?void 0:r.altText,isVideo:C.includes("/video")})})}),(0,x.jsxs)(c.a,{children:[I&&k&&(0,x.jsx)(m.M,{"aria-label":"Post Category","data-eventitem":"card-category",categoryName:I,categoryLink:k}),(0,x.jsx)(h(),{href:C,children:(0,x.jsx)(s.D,{"data-eventitem":"card-title",title:n,type:"cardTitle"})}),o&&(0,x.jsx)(g.T,{"data-eventitem":"card-excerpt",excerpt:o,gutter:{top:"1em"}}),T&&(0,x.jsx)(l.x,{margin:{top:"0.5em"},children:(0,x.jsx)(u.U,{name:T,link:void 0===O?"":O,"data-eventitem":"card-author"})}),E&&(0,x.jsx)(v.T,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?w(Object(r),!0).forEach(function(t){var n,o;n=t,o=r[t],(n=function(e){var t=function(e,t){if("object"!==j(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==j(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===j(t)?t:String(t)}(n))in e?Object.defineProperty(e,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},E))]})]})})};S.propTypes={onCardClick:o().func,featuredImage:o().shape({imageUrl:o().string.isRequired,altText:o().string.isRequired,forceLoad:o().bool,isLcp:o().bool,imageCredit:o().string,onImageError:o().func,onImageLoadSuccess:o().func,isVideo:o().bool,source:o().string}).isRequired,postDate:o().string,responsiveOptions:o().object,cardStyle:o().object,excerpt:o().string,title:o().string.isRequired,author:o().string,cardMediaWidth:o().string.isRequired,categoryLink:o().string,articleLink:o().string.isRequired,authorLink:o().string,category:o().string,reverse:o().bool,tags:o().arrayOf(o().string)};var k=S},78676:function(e,t,r){r.d(t,{S:function(){return o}});var n={"REA Group":{name:"REA Group",type:"rdc_partner",url:"https://www.realestate.com.au/news",logo:"https://na.rdcpix.com/694090341fb115c2f968e0be64c8d2d9w-c212935625srd_q80.jpg"},"3Z":{name:"3Z",type:"rdc_sponsor",url:null,logo:"https://na.rdcpix.com/d241b4f24f2fb1a6f30407db4eea4856w-c910856902srd_q80.jpg"},"Indiana Economic Development Corp":{name:"Indiana Economic Development Corp",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=6752001271&#038;iu=/8058/CLICK",logo:"https://na.rdcpix.com/d9bd71308e894f4747bd5cbdda4293e3w-c2819492465srd_q80.jpg"},"Small Business - Real Estate Agent":{name:"State Farm – Real Estate Agent",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=6725885756&#038;iu=/8058/CLICK",logo:"https://na.rdcpix.com/454c846e882ccf5da919ef224d267525w-c2935032030srd_q80.jpg"},"State Farm - Home Bakery":{name:"State Farm – Home Bakery",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=6724775191&#038;iu=/8058/CLICK",logo:"https://na.rdcpix.com/454c846e882ccf5da919ef224d267525w-c2935032030srd_q80.jpg"},"State Farm - Interior Designer":{name:"State Farm – Interior Designer",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=6722800251&#038;iu=/8058/CLICK",logo:"https://na.rdcpix.com/454c846e882ccf5da919ef224d267525w-c2935032030srd_q80.jpg"},"State Farm - Homebuying Tips":{name:"State Farm – Homebuying Tips",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=6710879725&#038;iu=/8058/CLICK",logo:"https://na.rdcpix.com/1cfd4e61732f00781e6a1c73d4cd3882w-c2402275685srd_q80.jpg"},"T-Mobile - Homebuyer Projects":{name:"T-Mobile – Homebuyer Projects",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=6786476625&#038;iu=/8058/CLICK",logo:"https://na.rdcpix.com/d2f9877aef12cb3a1a41cba952a7addfw-c4243022191srd_q80.jpg"},"T-Mobile - Renter Projects":{name:"T-Mobile – Renter Projects",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=6789870662&#038;iu=/8058/CLICK",logo:"https://na.rdcpix.com/d2f9877aef12cb3a1a41cba952a7addfw-c4243022191srd_q80.jpg"},"State Farm - House Tour":{name:"State Farm – Jake’s House Tour",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=6902379264&#038;iu=/8058/CLICK",logo:"https://na.rdcpix.com/1cfd4e61732f00781e6a1c73d4cd3882w-c2402275685srd_q80.jpg"},"Realtors Information Network":{name:"Realtors Information Network",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=6464012399&#038;iu=/8058/CLICK",logo:"https://na.rdcpix.com/2e42ff9d3dca7d9b4a70fe83d062ed26w-c1867517252srd_q80.jpg"},"#missionzero":{name:"VU missionzero",type:"rdc_sponsor",url:null,logo:"https://na.rdcpix.com/a8bf5597cf2bd83eb7bbfcb9db5bf3f6w-c651140706srd_q80.jpg"},Frontdoor:{name:"Frontdoor",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=6287530297&#038;iu=/8058/CLICK",logo:"https://na.rdcpix.com/d689578cdca88e461e70eab82fdecd71w-c3300079885srd_q80.jpg"},"SpotOn GPS Fence":{name:"SpotOn GPS Fence",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=6280404376&#038;iu=/8058/CLICK",logo:"https://na.rdcpix.com/fd786a5bfe36ff6cef7c8be146a0b606w-c1374035499srd_q80.jpg"},SimpliSafe:{name:"SimpliSafe",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=6237619130&#038;iu=/8058/CLICK",logo:"https://na.rdcpix.com/544bc801df4e88e77cd942a8e2050b32w-c2648726503srd_q80.jpg"},"GAF Energy":{name:"GAF Energy",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=6802579661&#038;iu=/8058/CLICK",logo:"https://na.rdcpix.com/cf204f1368170f2d5324c8440d8c1f18w-c2614534409srd_q80.jpg"},Optimum:{name:"Optimum",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=6124215779&#038;iu=/8058/CLICK",logo:"https://na.rdcpix.com/4194efcad37e8de9c9133584a96f3106w-c3194849361srd_q80.jpg"},"Crate & Barrel":{name:"Crate & Barrel | KH",type:"rdc_sponsor",url:"https://www.crateandbarrel.com/whats-new",logo:"https://na.rdcpix.com/5b133f32ff9e5da41cb05b7fdca86a5ew-c899674302xd-w640_h480_q80.jpg"},Allstate:{name:"Allstate",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=5870765498&#038;iu=/8058/CLICK",logo:"https://na.rdcpix.com/e0165fa088ba7cb8679c64d3e01ab895w-c790146667xd-w640_h480_q80.jpg"},"The Home Depot Living Space Trends":{name:"The Home Depot",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=5672579978&#038;iu=/8058/CLICK",logo:"https://na.rdcpix.com/1d6ff06337731dfdddbd696cb3749c8fw-c3907395428xd-w640_h480_q80.jpg"},"The Home Depot Bathroom Trends":{name:"The Home Depot – Bathroom Trends",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=5671001511&#038;iu=/8058/CLICK",logo:"https://na.rdcpix.com/1d6ff06337731dfdddbd696cb3749c8fw-c3907395428xd-w640_h480_q80.jpg"},"The Home Depot Kitchen Trends":{name:"The Home Depot – Kitchen Trends",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=5672612528&#038;iu=/8058/CLICK",logo:"https://na.rdcpix.com/1d6ff06337731dfdddbd696cb3749c8fw-c3907395428xd-w640_h480_q80.jpg"},"The Home Depot Flooring Forecaster":{name:"The Home Depot – Flooring Forecaster",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=5672612396&#038;iu=/8058/CLICK",logo:"https://na.rdcpix.com/1d6ff06337731dfdddbd696cb3749c8fw-c3907395428xd-w640_h480_q80.jpg"},"The Home Depot Flooring Project":{name:"The Home Depot – Flooring Project",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=5672579975&#038;iu=/8058/CLICK",logo:"https://na.rdcpix.com/1d6ff06337731dfdddbd696cb3749c8fw-c3907395428xd-w640_h480_q80.jpg"},"Benjamin Moore":{name:"Benjamin Moore Sponsored Logo | KH",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=5641483335&#038;iu=/8058/CLICK",logo:"https://na.rdcpix.com/e96530af4eeb115ca249fb061efa0c65w-c904153165xd-w640_h480_q80.jpg"},"The Home Depot Flooring Trends":{name:"The Home Depot sponsored logo Custom Article 1 | KH",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=5671001469&#038;iu=/8058/CLICK",logo:"https://na.rdcpix.com/f5419085a827062aaf158251f55851ebw-c3907395428xd-w640_h480_q80.jpg"},Penske:{name:"Penske Sponsored Logo | KH",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=6432240893&#038;iu=/8058/CLICK",logo:"https://na.rdcpix.com/8884bb5c341135af23ceef87e0d5c17dw-c2564443949srd_q80.jpg"},"New Home For The Holidays Sweepstakes":{name:"VU Holiday Sweeps Sponsor Logo | KH",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=5554760289&#038;iu=/8058/CLICK",logo:"https://na.rdcpix.com/1e13ab3321d7a4047b7a1402073c36b1w-c651140706srd_q80.jpg"},Verizon:{name:"Verizon SPONSORED LOGO",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=5767521322&#038;iu=/8058/CLICK",logo:"https://na.rdcpix.com/e8eed4ad0bc3f346beb4b7c672357630w-c1708176779xd-w640_h480_q80.jpg"},"Chase First-Time Home Buyer":{name:"Chase First-Time Home Buyer",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=5220712686&#038;iu=/8058/CLICK",logo:"https://na.rdcpix.com/874897612/6f54da75c3470835ed3f7391054a4fdfw-c0xd-w640_h480_q80.jpg"},"CHASE_FIRST-TIME_HOME_BUYER":{name:"Chase First-Time Home Buyer",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=5220712686&#038;iu=/8058/CLICK",logo:"https://na.rdcpix.com/874897612/6f54da75c3470835ed3f7391054a4fdfw-c0xd-w640_h480_q80.jpg"},"Chase Newlywed":{name:"Chase Newlywed",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=5221106098&#038;iu=/8058/CLICK",logo:"https://na.rdcpix.com/874897612/6f54da75c3470835ed3f7391054a4fdfw-c0xd-w640_h480_q80.jpg"},Chase_newlywed:{name:"Chase Newlywed",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=5221106098&#038;iu=/8058/CLICK",logo:"https://na.rdcpix.com/874897612/6f54da75c3470835ed3f7391054a4fdfw-c0xd-w640_h480_q80.jpg"},"Chase Empty Nester":{name:"Chase Empty Nester",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=5221504253&#038;iu=/8058/CLICK",logo:"https://na.rdcpix.com/874897612/6f54da75c3470835ed3f7391054a4fdfw-c0xd-w640_h480_q80.jpg"},CHASE_EMPTY_NESTER:{name:"Chase Empty Nester",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=5221504253&#038;iu=/8058/CLICK",logo:"https://na.rdcpix.com/874897612/6f54da75c3470835ed3f7391054a4fdfw-c0xd-w640_h480_q80.jpg"},Moving:{name:"Moving.com",type:"rdc_sponsor",url:"https://www.moving.com/?leadsource=rdc-custom2",logo:"https://na.rdcpix.com/7b90e71dc6b506e26301912bee32a597w-c2428649857srd_q80.jpg"},Geico:{name:"Geico",type:"rdc_sponsor",url:"https://www.realtor.com/",logo:"https://na.rdcpix.com/1807337082/691c9ee42b7dfcd6fd7119f9900a3b29w-c0xd-w640_h480_q80.jpg"},"Stress-Free Guide To Getting A Mortgage":{name:"Realtor.com",type:"rdc_sponsor",url:"https://www.realtor.com",logo:"https://na.rdcpix.com/1575342472/d4f03bd9fc6b0896686a7d3cf7ab27e4w-c0xd-w640_h480_q80.jpg"},"Mansion Global":{name:"Mansion Global",type:"rdc_partner",url:"http://www.mansionglobal.com/",logo:"https://na.rdcpix.com/1759913938/05b481b868eafc636837697ddd8eee8ew-c0xd-w640_h480_q80.jpg"},"California Association Of Realtors":{name:"California Association of Realtors | KH",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=5689665578&#038;iu=/8058/CLICK",logo:"https://na.rdcpix.com/7002d37cfd515255a5481f3cbd0c284cw-c3010229768xd-w640_h480_q80.jpg"},Barrons:{name:"Barrons",type:"rdc_partner",url:"http://online.barrons.com/home-page",logo:"https://na.rdcpix.com/1909026018/d705f919b28002dd5c9fee232c439b0aw-c0xd-w640_h480_q80.jpg"},MarketWatch:{name:"MarketWatch",type:"rdc_partner",url:"http://www.MarketWatch.com/",logo:"https://na.rdcpix.com/408514003/e7bba932736bf0d495603a3e2b604438w-c0xd-w640_h480_q80.jpg"},"VA Loan Guide":{name:"Veterans United",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=4879478348&#038;iu=/8058/CLICK/VU/NEWS_AND_INSIGHTS_ARTICLE_LOGO",logo:"https://na.rdcpix.com/aa0e1e014bb9d69aa38b74ff81fecca5w-c2562413824srd_q80.jpg"},"VA Loans":{name:"Veterans United",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=4879478348&#038;iu=/8058/CLICK/VU/NEWS_AND_INSIGHTS_ARTICLE_LOGO",logo:"https://na.rdcpix.com/aa0e1e014bb9d69aa38b74ff81fecca5w-c2562413824srd_q80.jpg"},VALoanGuide:{name:"Veterans United",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=4879478348&#038;iu=/8058/CLICK/VU/NEWS_AND_INSIGHTS_ARTICLE_LOGO",logo:"https://na.rdcpix.com/aa0e1e014bb9d69aa38b74ff81fecca5w-c2562413824srd_q80.jpg"},Va_loan:{name:"Veterans United",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=4879478348&#038;iu=/8058/CLICK/VU/NEWS_AND_INSIGHTS_ARTICLE_LOGO",logo:"https://na.rdcpix.com/aa0e1e014bb9d69aa38b74ff81fecca5w-c2562413824srd_q80.jpg"},Va_loans:{name:"Veterans United",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=4879478348&#038;iu=/8058/CLICK/VU/NEWS_AND_INSIGHTS_ARTICLE_LOGO",logo:"https://na.rdcpix.com/aa0e1e014bb9d69aa38b74ff81fecca5w-c2562413824srd_q80.jpg"},VA_Loan_Guide:{name:"Veterans United",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=4879478348&#038;iu=/8058/CLICK/VU/NEWS_AND_INSIGHTS_ARTICLE_LOGO",logo:"https://na.rdcpix.com/aa0e1e014bb9d69aa38b74ff81fecca5w-c2562413824srd_q80.jpg"},Veteran:{name:"Veterans United",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=4879478348&#038;iu=/8058/CLICK/VU/NEWS_AND_INSIGHTS_ARTICLE_LOGO",logo:"https://na.rdcpix.com/aa0e1e014bb9d69aa38b74ff81fecca5w-c2562413824srd_q80.jpg"},Veterans:{name:"Veterans United",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=4879478348&#038;iu=/8058/CLICK/VU/NEWS_AND_INSIGHTS_ARTICLE_LOGO",logo:"https://na.rdcpix.com/aa0e1e014bb9d69aa38b74ff81fecca5w-c2562413824srd_q80.jpg"},"Veterans United":{name:"Veterans United",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=4879478348&#038;iu=/8058/CLICK/VU/NEWS_AND_INSIGHTS_ARTICLE_LOGO",logo:"https://na.rdcpix.com/aa0e1e014bb9d69aa38b74ff81fecca5w-c2562413824srd_q80.jpg"},Veteransunited:{name:"Veterans United",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=4879478348&#038;iu=/8058/CLICK/VU/NEWS_AND_INSIGHTS_ARTICLE_LOGO",logo:"https://na.rdcpix.com/aa0e1e014bb9d69aa38b74ff81fecca5w-c2562413824srd_q80.jpg"},Veterans_united:{name:"Veterans United",type:"rdc_sponsor",url:"http://pubads.g.doubleclick.net/gampad/clk?id=4879478348&#038;iu=/8058/CLICK/VU/NEWS_AND_INSIGHTS_ARTICLE_LOGO",logo:"https://na.rdcpix.com/aa0e1e014bb9d69aa38b74ff81fecca5w-c2562413824srd_q80.jpg"},"New York Post":{name:"New York Post",type:"rdc_partner",url:"http://nypost.com",logo:"https://na.rdcpix.com/2024754892/54bfe5e6311909d6671bb8eb3313e064w-c0xd-w640_h480_q80.jpg"},"The Wall Street Journal":{name:"The Wall Street Journal",type:"rdc_partner",url:"http://www.wsj.com",logo:"https://na.rdcpix.com/1029783890/9f416ca7bbf493976265c7a1225697c6w-c0xd-w640_h480_q80.jpg"}};function o(e){if(!e)return!1;var t=e.find(function(e){return e in n});return t?n[t]:null}},66515:function(e,t,r){r.d(t,{Z:function(){return m}});var n=r(99431),o=r(21110),i=r(7737),a=r(66095),c=r(2700),l=r(19207);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach(function(t){var n,o;n=t,o=r[t],(n=function(e){var t=function(e,t){if("object"!==s(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==s(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===s(t)?t:String(t)}(n))in e?Object.defineProperty(e,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[n]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,c=[],l=!0,s=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){s=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var h=(0,a.ZP)(n.o).withConfig({componentId:"sc-16v9qb6-0"})([".search-button{background-color:",";border:none;border-left:1px solid ",";height:44px;:hover{background-color:",";}}div.outline{outline:none;border:",";outline-offset:0px;}.label-wrapper{display:none;}[data-name='input-group']{border-radius:8px;border:none;input{width:350px;:focus{outline:none;}::placeholder{color:",";}@media (max-width:768px){::placeholder{font-size:14px;}}@media (max-width:480px){::placeholder{font-size:12px;}}}}"],o.t.color.bg.secondary,o.t.color.border.accent,o.t.color.interactive.primary.reverse.hover,function(e){return e.error?"1px solid ".concat(o.t.color.status.error):"none"},function(e){return e.error?o.t.color.status.error:o.t.color.text.secondary});function m(e){var t=e.getAutocomplete,r=e.getInputProps,n=e.getButtonProps;e.error;var o=p((0,c.useState)(""),2),a=o[0],s=o[1],u=p((0,c.useState)(!1),2),f=u[0],m=u[1],g=r({placeholder:f?"Please enter a search term":"Search News & Insights articles",id:"elastic-search-box",onChange:function(e){var t=e.target.value;s(t),""!==t.trim()&&m(!1);var n=r();null!=n&&n.onChange&&n.onChange(e)}}),b=n({type:"submit","aria-hidden":"false","aria-label":"Search",id:"searchsubmit",title:"Search",onClick:function(e){""===a.trim()&&(e.preventDefault(),s(""),m(!0))}});return(0,l.jsxs)("div",{className:"sui-search-box__wrapper",children:[(0,l.jsx)(h,d(d({},g),{},{error:f,value:a,endAddon:(0,l.jsx)(i.I,d(d({},b),{},{button:!0,position:"end",size:"sm",styleType:"PrimaryDefault",className:"search-button",children:"Search"}))})),"function"==typeof t?t():null]})}}}]);
//# sourceMappingURL=6132-45af15ae7f2e19dc.js.map