"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7661],{84966:function(t,e,r){r.d(e,{D:function(){return L}});var n=r(8015),o=r.n(n),i=r(66095),a=r(21110),c=r(793),l=r(53175),u=r(71244),s=r(28586),f=r(8689),h=r(27807),p=r(95254),d=r(2700),y=r(75414),g=r.n(y),v=r(43856),m=r(19207);function b(t){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function w(){w=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function s(e,r,n,i){var a,c,l=Object.create((r&&r.prototype instanceof g?r:g).prototype);return o(l,"_invoke",{value:(a=new P(i||[]),c=h,function(r,o){if(c===p)throw Error("Generator is already running");if(c===d){if("throw"===r)throw o;return{value:t,done:!0}}for(a.method=r,a.arg=o;;){var i=a.delegate;if(i){var l=function e(r,n){var o=n.method,i=r.iterator[o];if(i===t)return n.delegate=null,"throw"===o&&r.iterator.return&&(n.method="return",n.arg=t,e(r,n),"throw"===n.method)||"return"!==o&&(n.method="throw",n.arg=TypeError("The iterator does not provide a '"+o+"' method")),y;var a=f(i,r.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,y;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=t),n.delegate=null,y):c:(n.method="throw",n.arg=TypeError("iterator result is not an object"),n.delegate=null,y)}(i,a);if(l){if(l===y)continue;return l}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(c===h)throw c=d,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);c=p;var u=f(e,n,a);if("normal"===u.type){if(c=a.done?d:"suspendedYield",u.arg===y)continue;return{value:u.arg,done:a.done}}"throw"===u.type&&(c=d,a.method="throw",a.arg=u.arg)}})}),l}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var h="suspendedStart",p="executing",d="completed",y={};function g(){}function v(){}function m(){}var x={};u(x,a,function(){return this});var j=Object.getPrototypeOf,k=j&&j(j(C([])));k&&k!==r&&n.call(k,a)&&(x=k);var O=m.prototype=g.prototype=Object.create(x);function _(t){["next","throw","return"].forEach(function(e){u(t,e,function(t){return this._invoke(e,t)})})}function E(t,e){var r;o(this,"_invoke",{value:function(o,i){function a(){return new e(function(r,a){!function r(o,i,a,c){var l=f(t[o],t,i);if("throw"!==l.type){var u=l.arg,s=u.value;return s&&"object"==b(s)&&n.call(s,"__await")?e.resolve(s.__await).then(function(t){r("next",t,a,c)},function(t){r("throw",t,a,c)}):e.resolve(s).then(function(t){u.value=t,a(u)},function(t){return r("throw",t,a,c)})}c(l.arg)}(o,i,r,a)})}return r=r?r.then(a,a):a()}})}function L(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function C(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw TypeError(b(e)+" is not iterable")}return v.prototype=m,o(O,"constructor",{value:m,configurable:!0}),o(m,"constructor",{value:v,configurable:!0}),v.displayName=u(m,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,u(t,l,"GeneratorFunction")),t.prototype=Object.create(O),t},e.awrap=function(t){return{__await:t}},_(E.prototype),u(E.prototype,c,function(){return this}),e.AsyncIterator=E,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new E(s(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next()})},_(O),u(O,l,"Generator"),u(O,a,function(){return this}),u(O,"toString",function(){return"[object Generator]"}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=C,P.prototype={constructor:P,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(S),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!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"),u=n.call(a,"finallyLoc");if(l&&u){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(!u)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){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"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),S(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:C(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function x(t,e,r,n,o,i,a){try{var c=t[i](a),l=c.value}catch(t){r(t);return}c.done?e(l):Promise.resolve(l).then(n,o)}function j(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function k(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?j(Object(r),!0).forEach(function(e){O(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):j(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function O(t,e,r){var n;return(n=function(t,e){if("object"!==b(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==b(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"===b(n)?n:String(n))in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function _(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var E=(0,i.ZP)(o()).withConfig({componentId:"sc-1pvl992-0"})(["display:inline-flex;align-items:center;gap:10px;border:1px solid #dadce0;border-radius:8px;padding:8px 16px;background:#fff;text-decoration:none;color:#202124;font-size:14px;font-weight:500;white-space:nowrap;line-height:1;@media ","{gap:7px;padding:6px 12px;font-size:12px;}"],a.t.maxWidth.sm),L=function(t){var e,r,n,i,a=t.postLink,y=t.postTitle,g=function(t){if(Array.isArray(t))return t}(e=(0,d.useState)({clickTooltipEx:!1}))||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],l=!0,u=!1;try{for(i=(r=r.call(t)).next;!(l=(n=i.call(r)).done)&&(c.push(n.value),2!==c.length);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(e,2)||function(t,e){if(t){if("string"==typeof t)return _(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _(t,2)}}(e,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.")}(),b=g[0],j=g[1],L=(r=w().mark(function t(e){return w().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e.preventDefault(),t.prev=1,t.next=4,navigator.clipboard.writeText("".concat(a.endsWith("/")?a.slice(0,-1):a,"?cid=soc_shares_article_CP"));case 4:t.next=9;break;case 6:t.prev=6,t.t0=t.catch(1);case 9:case"end":return t.stop()}},t,null,[[1,6]])}),n=function(){var t=this,e=arguments;return new Promise(function(n,o){var i=r.apply(t,e);function a(t){x(i,n,o,a,c,"next",t)}function c(t){x(i,n,o,a,c,"throw",t)}a(void 0)})},function(t){return n.apply(this,arguments)}),S=(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(c.u,{body:"Copied to clipboard",disableListeners:!0,onClose:(i="clickTooltipEx",function(){var t=b[i];j(k(k({},b),{},O({},i,!t)))}),open:b.clickTooltipEx,zIndex:2e3,children:(0,m.jsx)(l.z,{onClick:L,style:{all:"unset",cursor:"pointer"},children:(0,m.jsx)(u.J,{size:2.5,onClick:function(){j(k(k({},b),{},{clickTooltipEx:!0})),setTimeout(function(){j(k(k({},b),{},{clickTooltipEx:!1}))},2e3)},icon:"share","aria-label":"Copy to clipboard"})})}),(0,m.jsx)(o(),{href:"https://twitter.com/intent/tweet?text=".concat(encodeURI(y),"&url=").concat(encodeURI(a)).concat(a.includes("?")?"&":"?","cid=soc_shares_article_X"),target:"_blank",rel:"noopener noreferrer",children:(0,m.jsx)(s.s,{size:2.5,icon:"share","aria-label":"Share on X"})}),(0,m.jsx)(o(),{href:"https://www.facebook.com/sharer/sharer.php?u=".concat(encodeURI(a)).concat(a.includes("?")?"&":"?","cid=soc_shares_article_FB"),target:"_blank",rel:"noopener noreferrer",children:(0,m.jsx)(f.Y,{size:2.5,icon:"share","aria-label":"Share on Facebook"})}),(0,m.jsx)(o(),{href:"https://www.linkedin.com/shareArticle?mini=true&url=".concat(encodeURI(a),"&cid=soc_shares_article_LI"),target:"_blank",rel:"noopener noreferrer",children:(0,m.jsx)(h.S,{size:2.5,icon:"share","aria-label":"Share on LinkedIn"})})]}),P=(0,m.jsxs)(E,{href:"https://google.com/preferences/source?q=realtor.com",target:"_blank",rel:"noopener noreferrer",onClick:function(){(0,v.uH)("preferred_source","google")},"aria-label":"Add Realtor.com News as a preferred source on Google","data-google-badge":!0,children:[(0,m.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",width:20,height:20,"aria-hidden":"true",children:[(0,m.jsx)("path",{fill:"#EA4335",d:"M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z"}),(0,m.jsx)("path",{fill:"#4285F4",d:"M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z"}),(0,m.jsx)("path",{fill:"#FBBC05",d:"M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z"}),(0,m.jsx)("path",{fill:"#34A853",d:"M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.18 1.48-4.97 2.31-8.16 2.31-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z"}),(0,m.jsx)("path",{fill:"none",d:"M0 0h48v48H0z"})]}),"Follow Us On Google"]});return(0,m.jsxs)(p.k,{flexDirection:"row",alignItems:"center",gap:2,justifyContent:"end",xs:{flexDirection:"column",alignItems:"flex-end",gap:1},children:[(0,m.jsx)(p.k,{gap:2,justifyContent:"end",alignItems:"center",children:S}),P]})};L.propTypes={postLink:g().string.isRequired,postTitle:g().string.isRequired},e.Z=L},46906:function(t,e,r){r.d(e,{D:function(){return n.Z}});var n=r(84966)},65695:function(t,e,r){r(38432)},63956:function(t,e,r){r(26661),r(40197)},81451:function(t,e,r){r(24064).commonLogger}}]);
//# sourceMappingURL=7661-1bd303dd050d443e.js.map