PageSourceSearch

https://www.connecthearing.ca/_next/static/chunks/2535-58c49886954a0e3a.js

js connecthearing.ca collected 2026-10-09 23:07:21 UTC 12,515 bytes, 1 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="3745d732-005d-4380-9db3-d0564b3062be",e._sentryDebugIdIdentifier="sentry-dbid-3745d732-005d-4380-9db3-d0564b3062be")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2535],{5010:function(e,t,n){"use strict";n.d(t,{J:function(){return o}});var i=n(85893),r=n(73035),l=n(68029);let o=e=>{let{variant:t,...n}=e||{},o=(0,r.m)("Col",{variant:t});return(0,i.jsx)(l.x,{"data-component":"Col",__css:o,...n})}},69869:function(e,t,n){"use strict";n.d(t,{_:function(){return _}});var i=n(85893),r=n(49381),l=n(73035),o=n(2821),a=n(64993),s=n(34926),d=n(41664),u=n.n(d),c=n(11163),h=n(67294),g=n(37821),b=n(22505),p=n(70908),m=n(98209),f=n(66211),x=n(64375),v=n(99250);let w=()=>{let{state:e}=(0,h.useContext)(x.Il),{navbarHeight:t}=e,i=(0,v.h)(),r=(0,h.useCallback)(async e=>{e.preventDefault();let r=e.target,l=r.hasAttribute("href")?r:r.closest("a"),o=null==l?void 0:l.getAttribute("href");if(l&&(null==o?void 0:o.startsWith("#"))&&(null==o?void 0:o.length)>1)try{var a,s,d,u;let e=null===(a=n.g.window.document)||void 0===a?void 0:a.querySelector(o);if(e){let r=null===(s=n.g.window.document)||void 0===s?void 0:s.getElementById(m.h8),a=null===(d=n.g.window.document)||void 0===d?void 0:d.getElementById(f.Lt),c=null===(u=n.g.window.document)||void 0===u?void 0:u.querySelector("header"),h=c?c.getBoundingClientRect().height:0,g=window.scrollY+l.getBoundingClientRect().top,b=window.scrollY+e.getBoundingClientRect().top,p=g>b?h:t,x=0;if(x=(null==r?void 0:r.hasChildNodes())?r.offsetHeight+p:p,a){let e=i-h;x=b-p>=e?a.offsetHeight+p:p}n.g.window.history.pushState({},"",o);let v=window.scrollY+e.getBoundingClientRect().top;n.g.window.scrollTo({behavior:"smooth",top:v-x})}}catch(e){e instanceof Error&&(0,p.Tb)(e,{extra:{baseURI:null==l?void 0:l.baseURI,href:null==l?void 0:l.href,outerHTML:null==l?void 0:l.outerHTML,textContent:null==l?void 0:l.textContent}})}},[t,i]);return(0,h.useMemo)(()=>({scrollToAnchor:r}),[r])},y=e=>{let[t,n]=e?e.split("#"):[];return[t,n]},k=(e,t,n,i,r)=>{let[l,o]=y(e),[a]=y(n);if(!l&&a&&o&&r)return"".concat(a,"#").concat(o);if(j(e,t,r))return"#".concat(o);let s=i||(0,g.j)(e)?e:null,d=!s&&(null==e?void 0:e.startsWith("/"))?e:"/".concat(e);return null!=s?s:d},j=(e,t,n)=>{let i=(0,g.j)(e),[r,l]=y(e);return!i&&!n&&(!r||t&&!!(null==r?void 0:r.match(t)))&&"string"==typeof l},_=(0,r.G)((e,t)=>{let{__css:n,children:r,className:d,colorScheme:p,leftIcon:m,rightIcon:f,isDisabled:x,isLoading:v=!1,enableAnim:_=!0,isOverlay:S=!1,isDataLink:C=!1,size:H,url:z,value:L,loadingStateValue:W,variant:T,isExternal:M,onClick:N,...I}=e,{query:E,asPath:F}=(0,c.useRouter)(),R=(0,g.j)(z),[,B]=y(z),D=(0,h.useMemo)(()=>R&&"string"==typeof B,[B,R]),X=j(z,E.slug,M),A=(0,h.useMemo)(()=>k(z,E.slug,F,C,M),[z,E.slug,F,C,M]),{scrollToAnchor:G}=w(),J=(0,l.m)("Cta",{colorScheme:p,size:H,variant:T}),q=(0,s.cx)("chakra-cta",d),O={gap:4,fontSize:"16px",cursor:"pointer",lineHeight:"24px",alignItems:"center",position:"relative",display:"inline-flex",verticalAlign:"middle",justifyContent:"center",_hover:{cursor:"pointer"},...n,...J},P=_?{_groupHover:{transform:"translateX(".concat(m?-8:8,"px)")},transition:"0.25s ease-out"}:{},Y=S?o.A:h.Fragment,Q=!!r||!!L||!!m||!!f;return(0,i.jsx)(Y,{...S&&z&&{href:A,as:u()},...S&&M&&{target:"_blank",rel:"noopener"},...S&&{style:{WebkitTapHighlightColor:"transparent"}},...S&&{cursor:"pointer"},children:Q&&(0,i.jsxs)(a.m.button,{"data-component":"cta",...M&&{target:"_blank",rel:"noopener"},...x&&{disabled:x},...v&&{pointerEvents:"none"},...!z||S||N?{as:"button"}:{href:A,as:D||X||R||!A?"a":u()},ref:t,className:q,__css:O,role:"link",...I,onClick:X?G:N,role:"group",maxW:I.maxW||I.maxWidth||"inherit",children:[!!m&&!v&&(0,i.jsx)(b.J,{...m,...P,className:"icon"}),L&&!v&&(0,i.jsx)(a.m.span,{maxW:"inherit",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",display:"block",children:L}),!L&&!v&&r,v&&(W||"Loading..."),!!f&&!v&&(0,i.jsx)(b.J,{...f,...P,className:"icon"})]})})});_.displayName="Cta"},22505:function(e,t,n){"use strict";n.d(t,{J:function(){return g}});var i=n(85893),r=n(49381),l=n(73035),o=n(64993),a=n(34926),s=n(5152),d=n.n(s),u=n(67294);let c=d()(()=>Promise.all([n.e(260),n.e(2013),n.e(5567)]).then(n.bind(n,4289)),{loadableGenerated:{webpack:()=>[4289]}}),h=(0,r.G)((e,t)=>{let{colorScheme:n,size:r,variant:s,name:d="",className:u,...h}=e,g={ref:t,__css:(0,l.m)("Icon",{colorScheme:n,size:r,variant:s}),className:(0,a.cx)("chakra-cta-icon",u),...h};return(0,i.jsx)(o.m.div,{sx:{WebkitAlignItems:"unset",alignItems:"center"},...g,children:(0,i.jsx)(c,{name:d,w:"inherit",h:"inherit",fontSize:"unset"})})});h.displayName="Cta";let g=u.memo(h)},27567:function(e,t,n){"use strict";n.d(t,{X:function(){return o}});var i=n(85893),r=n(73035),l=n(68029);let o=e=>{let{variant:t,...n}=e||{},o=(0,r.m)("Row",{variant:t});return(0,i.jsx)(l.x,{"data-component":"Row",__css:o,...n})}},52535:function(e,t,n){"use strict";n.d(t,{F:function(){return q}});var i=n(85893),r=n(47311),l=n(29238),o=n.n(l),a=n(99250),s=n(50232),d=n(90092),u=n(52867),c=n(74703),h=n(57167),g=n(43416),b=n(4476),p=n(21901),m=n(6007),f=n(46094),x=n(68029),v=n(82492),w=n.n(v),y=n(69869),k=n(88329);n(87968);var j=n(69168);let _={justifyContent:"center",pt:{base:25,lg:45}},S={flexShrink:0,w:{base:40,lg:84},h:{base:40,lg:84},justifyContent:"flex-end",display:{base:"none",lg:"inline-flex"}},C={display:{base:"inline-flex",lg:"none"},mr:{base:5,lg:0}
1,pr:{base:5,lg:0}},H={w:"full",as:"span",fontSize:200,lineHeight:"60%",color:"alpha.dark.100",fontFamily:"Myriad, sans-serif"},z=e=>{let{phrase:t,hasIcon:n,forBlog:r=!1}=e;return(0,i.jsx)(j.G,{"data-component":"Quote",forBlog:r,children:(0,i.jsxs)(k.k,{..._,children:[n&&(0,i.jsx)(x.x,{...S,children:(0,i.jsx)(d.x,{...H,variant:"bold",children:"“"})}),n&&(0,i.jsx)(x.x,{as:"span",...S,...C,children:(0,i.jsx)(d.x,{...H,fontSize:96,variant:"bold",fontStyle:"normal",children:"“"})}),(0,i.jsx)(s.X,{as:"blockquote",size:"h4",fontStyle:"italic",variant:"light",px:{base:22,lg:0},ml:{base:-40,lg:20},textAlign:{base:"center",lg:"start"},whiteSpace:"pre-wrap",color:"neutral.lightBlack",fontFamily:"Myriad, sans-serif",fontWeight:"300",wordBreak:"break-word",children:t})]})})},L=new Map([["h1",s.X],["h2",s.X],["h3",s.X],["h4",s.X],["h5",s.X],["h6",s.X]]),W=new Map([["p",d.x],["span",d.x],["strong",d.x],["b",d.x],["em",d.x],["i",d.x],["u",d.x]]),T=new Map([["ul",u.QI],["ol",u.GS]]),M=new Map([["a",y._],["button",y._]]),N=new Map([["q",z],["blockquote",z]]),I=new Map([["table",c.i],["tr",h.Tr],["td",g.Td],["th",b.Th],["thead",p.h],["tbody",m.p],["tfoot",f.$]]),E={8:{mobileFontSize:8,mobileLineHeight:12,desktopLineHeight:12},14:{mobileFontSize:12,mobileLineHeight:18,desktopLineHeight:21},18:{mobileFontSize:16,mobileLineHeight:24,desktopLineHeight:32},20:{mobileFontSize:18,mobileLineHeight:27,desktopLineHeight:30},28:{mobileFontSize:22,mobileLineHeight:33,desktopLineHeight:40},30:{mobileFontSize:24,mobileLineHeight:34,desktopLineHeight:38},32:{mobileFontSize:26,mobileLineHeight:35,desktopLineHeight:40},34:{mobileFontSize:28,mobileLineHeight:36,desktopLineHeight:44},40:{mobileFontSize:32,mobileLineHeight:40,desktopLineHeight:52}},F=new Map([...L,...W,...T,...M,...N,...I]),R=(e,t)=>{if("table"===e)return(0,i.jsx)(x.x,{borderRadius:"lg",overflow:"hidden",borderColor:"#DEDEDD",borderWidth:"1px",children:(0,i.jsx)(c.i,{...t})});let n=F.get(e);return!!n&&(0,i.jsx)(n,{...t})},B=e=>{switch(e){case"h2":case"h3":return{mb:[16,null,null,24],mt:20};case"h4":case"h5":return{mb:[24,null,null,32],mt:20};case"h6":return{size:"subtitle",variant:"regular",mt:20};default:return{}}},D=(e,t)=>{var n;let i=null===(n=t.style)||void 0===n?void 0:n.match(/font-size:(\d+)/),r=i?parseInt(i[1]):"inherit",{mobileFontSize:l,mobileLineHeight:o,desktopLineHeight:a}="inherit"===r?{mobileFontSize:"inherit",mobileLineHeight:"inherit",desktopLineHeight:"inherit"}:E[r]||{mobileFontSize:r,mobileLineHeight:21,desktopLineHeight:24};switch(e){case"p":return{mt:16};case"span":return{sx:{fontSize:[l,null,null,r],lineHeight:[o,null,null,a]}};case"strong":case"b":case"u":case"em":case"i":return{fontSize:"inherit",lineHeight:"inherit"};default:return{}}},X=(e,t,n,i)=>{switch(!0){case L.has(e.tagName):return{as:e.tagName,size:e.tagName,variant:"bold",...n&&B(e.tagName)};case W.has(e.tagName):return{as:e.tagName,variant:e.tagName,scrollMarginTop:i,...n&&D(e.tagName,e.attribs)};case T.has(e.tagName):return{size:t.size,ml:"35px"};case N.has(e.tagName):return{phrase:(0,r.du)(e.children,{replace:e=>G(e,{size:t.size,scrollMarginTop:i},n,i)}),hasIcon:!0};case"button"===e.name:return{size:"buttonSmall",variant:"primary"};case!!e.attribs.href:var l;return{url:e.attribs.href,title:null===(l=e.children[0])||void 0===l?void 0:l.data,variant:"wysiwygLink",target:"true"===e.attribs["data-sys-asset-isnewtab"]?"_blank":e.attribs.target,isExternal:"true"===e.attribs["data-sys-asset-isnewtab"]||"_blank"===e.attribs.target};case"tr"===e.name:return{sx:{borderBottomWidth:"1px",borderBottomColor:"background.lighter",_last:{borderBottomWidth:0},_first:{borderTopWidth:0}}};case"th"===e.name:return{sx:{verticalAlign:"top",borderStyle:"solid",borderColor:"neutral.grey",backgroundColor:"background.lighter",borderBottomWidth:"1px",borderRightWidth:"1px",textTransform:"none",px:20,pb:16,_last:{borderRightWidth:"0"},p:{color:"neutral.black",fontSize:18}}};case"td"===e.name:return{sx:{verticalAlign:"top",border:"1px solid",borderColor:"background.lighter",px:20,pb:16,borderTopWidth:0,borderBottomWidth:0,_last:{borderRightWidth:0},_first:{borderLeftWidth:0},p:{fontSize:16}}};case"table"===e.name:return{sx:{width:"100%",borderCollapse:"collapse",borderSpacing:0,tableLayout:"fixed"}};default:return{}}},A=e=>("href"in e&&delete e.href,e),G=(e,t,n,l)=>{if(e instanceof r.W_&&e.attribs){var o;let{style:i,...a}=null!==(o=(0,r.e_)(e.attribs))&&void 0!==o?o:{},s={sx:i,...a},d=X(e,t,n,l),u=A(s),c={...w()(u,t,d),children:(0,r.du)(e.children,{replace:e=>G(e,{size:t.size,scrollMarginTop:l},n,l)})};return R(e.tagName,c)}return e instanceof r.xv&&!e.parent?(0,i.jsx)(d.x,{as:"span",...t,children:(0,r.du)([e])}):e},{sanitize:J}=o(),q=e=>{let{children:t,content:n,isJsonRTE:l=!1,size:o="bodyM",renderEmptyLines:s=!1,...d}=e,u=(0,a.h)();if(t)throw Error("Try using the `content` prop instead of children to pass some text...");return(0,i.jsx)(i.Fragment,{children:(0,r.ZP)(J(n,{ADD_ATTR:["target"]}),{replace:e=>s&&"tag"===e.type&&"p"===e.name&&!e.children.length?(0,i.jsx)("p",{style:{lineHeight:"32px"},children:"\xa0"}):G(e,{size:o,...d},l,u)})})};q.displayName="Wysiwyg"},69168:function(e,t,n){"use strict";n.d(t,{G:function(){return u}});var i=n(85893),r=n(68029),l=n(96254),o=n(5010),a=n(27567),s=n(15416),d=n(3685);let u=e=>{var t,n;let{forBlog:u=!1,children:c,withBg:h=!0,contained:g=!0,...b}=e,{isDesktop:p}=(0,s.k)();return u?(0,i.jsx)(r.x,{"data-component":"BlogSectionWrapper",id:u?d.E:"",...!p&&{...b},...h&&{bg:null!==(t=b.bg)&&void 0!==t?t:{base:"white",lg:"transparent"}},children:(0,i.jsx)(l.W,{children:(0,i.jsx)(a.X,{children:(0,i.jsx)(o.J,{display:"block",...h&&{bg:null!==(n=b.bg)&&void 0!==n?n:"white"},gridColumn:{base:"span 12"},...g&&{gridColumn:{base:"span 12",lg:"2/span 10"}},...p&&{...b},children:(0,i.jsx)(a.X,{gridColumn:"span 12",children:(0,i.jsx)(o.J,{gridColumn:{base:"span 12",lg:"2/span 10"},display:"block",children:c})})})})})}):(0,i.jsx)(i.Fragment,{children:c})}},15416:function(e,t,n){"use strict";n.d(t,{k:function(){return o}});var i=n(76e3),r=n(67294),l=n(64375);let o=()=>{let{state:e}=(0,r.useContext)(l.Il),t="desktop"===e.deviceType?"lg":"base",n=(0,i.G)({ssr:!0,fallback:t}),o=["base","sm"].includes(n),a=["md"].includes(n),s=["lg","xl","2xl"].includes(n);return(0,r.useMemo)(()=>({isMobile:o,isTablet:a,isDesktop:s,currentBreakpoint:n}),[n,s,o,a])}},99250:function(e,t,n){"use strict";n.d(t,{h:function(){return l}});var i=n(67294),r=n(83071);let l=()=>{let e=(0,i.useContext)(r.V);if(!e)throw Error("useScrollMarginTopOffset must be used inside ScrollMarginTopProvider");return e.scrollMarginTopOffset}},37821:function(e,t,n){"use strict";n.d(t,{j:function(){return r}});var i=n(3685);let r=e=>!!e&&(new RegExp(i.ud).test(e)||new RegExp(/^https?:\/\//).test(e)||e.startsWith("tel:")||new RegExp(i._D).test(e))},87968:function(){}}]);

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.