1"use strict";(self.webpackChunkcox_cms_react=self.webpackChunkcox_cms_react||[]).push([[3520],{1600:function(e,t,i){i.d(t,{Lg:function(){return r},ZB:function(){return n},sw:function(){return o}});const n=(e,t)=>{window.localStorage.setItem(e,String(t))},r=e=>window.localStorage.getItem(e),o=e=>{window.localStorage.removeItem(e)}},2368:function(e,t,i){i.d(t,{e:function(){return a},u:function(){return o}});var n=i(70692),r=i(37557);const o=(e,t,i)=>{let o="20px";return e>=r.NU.XL?o="60px":e>=r.NU.MD&&e<r.NU.XL&&(o="40px"),{width:o,height:o,src:(0,n.A)(i)}},a=(e,t="maxresdefault.jpg")=>`https://i.ytimg.com/vi/${e}/${t}`},2642:function(e,t,i){i.r(t),i.d(t,{ReactTextDesignTokens:function(){return n},default:function(){return f}});let n=function(e){return e.EYEBROW1="cox-text-eyebrow1",e.EYEBROW2="cox-text-eyebrow2",e.EYEBROW3="cox-text-eyebrow3",e.INTERACTIVE1="cox-text-interactive1",e.INTERACTIVE2="cox-text-interactive2",e.INTERACTIVE3="cox-text-interactive3",e}({});var r=i(21239),o=i(49489),a=i(36914),s=i(46306),l=i(67099),u=i(54559),c=i(56646),d=i(67973),v=i(2479);const p=(0,l.A)(a.s);var f=e=>{const{udo:t}=(0,s.V6)(),{text:i="",isParsed:n=!1,tokenProperties:a=""}=e,l=(0,u.$)(),f=(0,r.useMemo)(()=>l,[l]),{appData:m}=(0,o.QS)(),h=/\[\[(?!token|offer)[^\]]+\]\]/g,g=n?i:(0,d.aX)((()=>{var e;if(null!==m&&void 0!==m&&null!==(e=m.page)&&void 0!==e&&e.isLocal&&h.test(i)){const e=null===i||void 0===i?void 0:i.match(h);let t=i;return t=null===e||void 0===e?void 0:e.reduce((e,t)=>e.replace(t,(e,i)=>{var n;return null!==(n=(0,c.BH)(t,f))&&void 0!==n?n:""}),i),t}return i})(),a,null===t||void 0===t?void 0:t.localeName),x={...e,localeName:null===t||void 0===t?void 0:t.localeName,text:g,isParsed:!0,funnel:"upperFunnel"},E=(0,r.useRef)(null);return(0,r.useEffect)(()=>{((e,t="Click for more details")=>{var i;null===e||void 0===e||null===(i=e.querySelectorAll("a"))||void 0===i||i.forEach(function(e){var i,n,r;if("\xd8"!==(null===(i=e.textContent)||void 0===i?void 0:i.trim()))return;if(e.getAttribute("aria-label"))return;const o=(null!==(n=null===(r=e.getAttribute("title"))||void 0===r?void 0:r.trim())&&void 0!==n?n:"").replace(/([a-z0-9])([A-Z])/g,"$1 $2").replace(/([A-Z]+)([A-Z][a-z])/g,"$1 $2").replace(/([a-zA-Z])(\d)/g,"$1 $2").replace(/(\d)([a-zA-Z])/g,"$1 $2").replace(/[_-]+/g," ").replace(/\s+/g," ").trim().toLowerCase();e.setAttribute("aria-label",o?`More details about ${o}`:t)})})(E.current)},[g]),(0,v.jsx)("div",{ref:E,style:{display:"contents"},children:(0,v.jsx)(p,{...x,compName:"RichText","data-rte-editelement":!0,atomSpacing:!0})})}},2885:function(e,t,i){i.d(t,{Gd:function(){return a},Yk:function(){return s},iu:function(){return o}});var n=i(70692),r=i(81192);const o=(e,t,i)=>(null===e||void 0===e?void 0:e.includes(".svg"))||(0,r.mJ)()?(0,n.A)(e,t):i&&r.n?r.n+i+t:void 0,a=(e,t)=>{const i=function(e){if(e){const t=e.lastIndexOf("/");return e.slice(t+1)}return""}(e),n="string"===typeof i?i.replace(/\.[^.]+$/,""):"";return o(e,t,n)};let s=function(e){return e.ARTICLE_CARD="",e.CAROUSEL_ARTICLE="?$carousel-article$",e.CAROUSEL_IMAGERY="?$carousel-imagery$",e.CAROUSEL_PRODUCT="?$carousel-product$",e.CAROUSEL_PSU="?$carousel-psu$",e.TEASER="?$teaser$",e.TEASER_IMAGE_TWO_UP="?$teaser-image-two-up$",e.TEASER_IMAGE_THREE_UP="?$teaser-image-three-up$",e.TEASER_IMAGE_FOUR_UP="?$teaser-image-four-up$",e.PRODUCT_TEASER_FEATURED="?$product-teaser-featured$",e.COMMERCE_TEASER="?$commerce-teaser$",e.MODAL_BASIC="?$modal-basic$",e.BANNER="",e.TRANSPARENT_BG="?$transparent-bg$",e.PSU_TEASER="?$psu-teaser$",e}({})},12134:function(e,t,i){i.d(t,{G:function(){return o},h:function(){return r}});var n=i(81192);const r=(e="")=>n.rJ?e.replace(/\bcox-(resi|busi)\b/g,"spectrum-nova"):e,o=(e,t,i,n,r)=>{const o=[];return n&&t?o.push("container"):(t&&o.push("right-spacing"),n&&o.push("left-spacing")),r?(e&&o.push("atom-top-spacing"),i&&o.push("atom-bottom-spacing")):(e&&o.push("top-spacing"),i&&o.push("bottom-spacing")),o.join(" ")}},37948:function(e,t,i){var n=i(21239),r=i(49489),o=i(34651),a=i(46306),s=i(16923),l=i(67099),u=i(54559),c=i(56646),d=i(67973),v=i(2479);const p=(0,l.A)(o.X);t.A=e=>{var t;const{eyebrow:i,description:o,title:l,hideMCP:f=!1,isInEditor:m=!1,tokenProperties:h="",funnel:g="upperFunnel"}=e,x=(0,u.$)(),{appData:E}=(0,r.QS)(),y=null===E||void 0===E||null===(t=E.page)||void 0===t?void 0:t.isLocal,A=/\[\[(?!token|offer)[^\]]+\]\]/g,b=(0,n.useMemo)(()=>x,[x]),{udo:$}=(0,a.V6)(),S=e=>{const t=(e=>e&&"string"===typeof e?e:null===e||void 0===e?void 0:e.value)(e);if(y){let e;if(("string"==typeof t||"object"==typeof t&&"string"==typeof t.value)&&(e=t),e&&A.test(e)){const t=e.match(A);let i=e;return i=null===t||void 0===t?void 0:t.reduce((e,t)=>
1e.replace(t,()=>{var e;return null!==(e=(0,c.BH)(t,b))&&void 0!==e?e:""}),e),{value:(0,s.Ay)(i)}}}return{value:(0,d.aX)(t,h,null===$||void 0===$?void 0:$.localeName,!0),isRTE:!0,...e}};return(0,v.jsx)(p,{...e,eyebrow:S(i),title:S(l),description:S(o),hideMCP:f,isInEditor:m,funnel:g,compName:"Section Header"})}},44408:function(e,t,i){i.d(t,{A:function(){return r}});var n=i(2479),r=(e,t,i,r)=>e?i?(0,n.jsxs)("div",{className:"editor-error-text",children:[t," ",i]}):r?(0,n.jsx)("div",{className:"editor-text",children:t}):(0,n.jsxs)("div",{className:"editor-text",children:["Edit ",t," Component"]}):null},60659:function(e,t,i){i.d(t,{A:function(){return r}});var n=i(2479),r=({onClick:e=()=>!0,additionalClass:t="",children:i,overlay:r,alt:o="Play",ariaLabel:a="",containerWidth:s="",hoverOverlay:l})=>{const u=t=>{9!==t.keyCode&&(t.preventDefault(),e())};return(0,n.jsxs)("div",{style:{width:s},className:`overlay-container ${t}`,onClick:e=>u(e),onKeyDown:e=>u(e),children:[l&&(0,n.jsxs)("div",{className:"image-hover-overlay-container",children:[i,(0,n.jsx)("div",{className:"hover-overlay",style:{background:null===l||void 0===l?void 0:l.color}})]}),!l&&i,(0,n.jsx)("div",{className:"overlay-image",children:(0,n.jsx)("img",{src:r.src,width:r.width,height:r.height,alt:o,"aria-label":a,tabIndex:0})})]})}},60666:function(e,t,i){i.r(t),i.d(t,{default:function(){return n.A}});var n=i(84510)},67099:function(e,t,i){var n=i(21239),r=i(36773),o=i(29065),a=i(86303),s=i(44408),l=i(12134),u=i(2479);t.A=(e,t)=>i=>{const{isInEditor:c=!1,top:d=!1,left:v=!1,right:p=!1,bottom:f=!1,lob:m="",...h}=i,g=(null===i||void 0===i?void 0:i.compName)||(null===t||void 0===t?void 0:t.compName),x=(null===i||void 0===i?void 0:i.atomSpacing)||(null===t||void 0===t?void 0:t.atomSpacing),E=(null===i||void 0===i?void 0:i.showErrorBanner)||(null===t||void 0===t?void 0:t.showErrorBanner);return(0,u.jsxs)(u.Fragment,{children:[(0,s.A)(c,g),E?(0,u.jsx)(n.Suspense,{fallback:(0,u.jsx)(a.A,{}),children:(0,u.jsx)(r.A,{fallback:(0,u.jsx)(o.A,{isBanner:!0}),children:(0,u.jsx)(e,{className:`${(0,l.G)(d,p,f,v,x)} ${(0,l.h)(m)}`,isInEditor:c,...t,...h})})}):(0,u.jsx)(e,{className:`${(0,l.G)(d,p,f,v,x)} ${(0,l.h)(m)}`,isInEditor:c,...t,...h})]})}},81483:function(e,t,i){i.r(t),i.d(t,{default:function(){return n.A}});var n=i(37948)},82402:function(e,t,i){i.d(t,{M:function(){return l}});var n=i(21239),r=i(49489),o=i(81192),a=i(54559),s=i(31257);const l=()=>{var e,t;const i=(0,s.qt)(),{appData:l}=(0,r.QS)(),{storeList:u={items:[]},communitiesList:c={items:[]},cityServicesResidentialList:d={items:[]},cityServicesBusinessList:v={items:[]}}=i||{},p="true"===(null===l||void 0===l||null===(e=l.page)||void 0===e?void 0:e.isLocal),f=(null===l||void 0===l||null===(t=l.page)||void 0===t?void 0:t.pageType)||"";return{inversionProperties:(0,n.useMemo)(()=>{const[e]=u.items||[],[t]=c.items||[],[i]=d.items||[],[n]=v.items||[];if(f.includes(o.eL.stores))return e;if(f.includes(o.eL.communities)){if(f===o.eL.communities_address){const e=(0,a.y)(c.items||[]);return null===e||void 0===e?void 0:e[0]}return t}return[o.eL.services,o.eL.services_city,o.eL.services_state,o.eL.services_offers,o.eL.services_offers_int].includes(f)?i:[o.eL.cb_services,o.eL.cb_services_city,o.eL.cb_services_state,o.eL.cb_services_offers,o.eL.cb_services_offers_ind].includes(f)?n:[]},[f,u,c,d,v]),isLocal:p}}},84510:function(e,t,i){i.d(t,{A:function(){return f}});var n=i(21239),r=i(24651),o=i(80171),a=i(92939),s=i(19781),l=i(12134),u=i(2368),c=i(84636),d=i(44408),v=i(60659),p=i(2479),f=e=>{const{isInEditor:t=!1,id:i,layout:f,accessibilityLabel:m="",youtubeHeight:h="315",youtubeWidth:g="560",youtubeVideoId:x,youtubeAspectRatio:E="0.5625",autoplay:y=!1,youtubeMute:A,videoIcon:b=s.qH,videoAltTxt:$="",youtubeLoop:S=!1,youtubePlaysInline:j=!1,youtubeRel:R=!1,left:_=!1,right:L=!1,top:N=!1,bottom:w=!1}=e,[C,I]=(0,n.useState)(y),[T,k]=(0,n.useState)(!!y||!1!==A),P=(0,r.l)(),O=`https://www.youtube.com/embed/${x}?autoplay=${C?1:0}&mute=${T?1:0}&rel=${R?1:0}&playsinline=${j?1:0}&loop=${S}&playsinline=${j?1:0}&loop=${S?1:0}${S?`&playlist=${x}`:""}`;let U;f===a.p.RESPONSIVE&&C&&(U=`${(100*parseFloat(E)).toFixed(2)}%`);const D=()=>{I(!0),k(!1!==A)}
1,[M,B]=(0,n.useState)("mqdefault.jpg");return(0,n.useEffect)(()=>{o.A.get((0,u.e)(x,"maxresdefault.jpg"),{validateStatus:e=>e>=200}).then(e=>{200==e.status?B("maxresdefault.jpg"):o.A.get((0,u.e)(x,"hqdefault.jpg"),{validateStatus:e=>e>=200}).then(e=>{200==e.status?B("hqdefault.jpg"):o.A.get((0,u.e)(x,"sddefault.jpg"),{validateStatus:e=>e>=200}).then(e=>{200==e.status?B("sddefault.jpg"):B("mqdefault.jpg")})})})},[x]),(0,p.jsxs)(p.Fragment,{children:[(0,d.A)(t,"React Video"),(0,p.jsxs)("div",{id:i,className:`react-video-container ${(0,l.G)(N,L,w,_)}`,onClick:()=>{C||D()},children:[f===a.p.FIXED&&(0,p.jsxs)("div",{className:"yt-fixed-video",style:{display:"flex"},children:[!C&&(0,p.jsx)("a",{href:"#",role:"button",onClick:e=>e.preventDefault(),children:(0,p.jsx)(v.A,{overlay:(0,u.u)(P.width,P.height,b),onClick:D,alt:m,ariaLabel:$,children:(0,p.jsx)(c.default,{src:(0,u.e)(x,M),alt:$,imageHeight:Number(h),imageWidth:Number(g),ariaLabel:m})})}),C&&(0,p.jsx)("iframe",{width:g,height:h,src:O,"aria-label":m,allow:"autoplay",title:i})]}),f===a.p.RESPONSIVE&&(0,p.jsxs)("div",{className:"yt-responsive-video",style:{position:"relative",paddingBottom:U},children:[!C&&(0,p.jsx)("a",{href:"#",role:"button",onClick:e=>e.preventDefault(),children:(0,p.jsx)(v.A,{overlay:(0,u.u)(P.width,P.height,b),onClick:D,alt:m,ariaLabel:$,children:(0,p.jsx)(c.default,{src:(0,u.e)(x,M),alt:$,imageHeight:100,imageWidth:100,imageUnit:"%",ariaLabel:m})})}),C&&(0,p.jsx)("iframe",{style:{position:"absolute",top:"0",left:"0"},width:"100%",height:"100%",src:O,allowFullScreen:!0,allow:"autoplay",title:i,"aria-label":m})]})]})]})}},92939:function(e,t,i){i.d(t,{p:function(){return n}});let n=function(e){return e.FIXED="fixed",e.RESPONSIVE="responsive",e}({})}}]);
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.