PageSourceSearch

https://www.sportchek.ca/etc.clientlibs/ctcweb-core/clientlibs/cli…/SomethingWentWrongModal.DbSpkFKS.chunk.js

js sportchek.ca collected 2026-09-24 09:16:16 UTC 1,804 bytes, 2 lines download raw bytes

1import{r as n,j as e}from"./vendors.BAJps33Q.chunk.js";import{o as y,dC as j,hi as v,n as C,Rg as M,R as I,P as l,gH as N,gw as d,gs as u,gI as R,sy as i,I as S,gu as _,gv as $}from"./main.BhSogTmc.js";const k=({isOpen:o,onClose:c})=>{const{commonContentAvailable:p}=y(j),{backInStock:m={}}=p,t=`${l}-something-went-wrong-modal`,a=n.useRef(null),[h]=v(),{flyoutErrorStateMessageTitle:f,flyoutErrorStateMessageBody:g,flyoutContinueCTA:x}=m,r=C(),s=n.useCallback(()=>{c(),r(M())},[r,c]);return n.useEffect(()=>{o&&a.current&&a.current.focus()},[o]),e.jsx(I,{closeHandler:()=>i.handleNotifyMeBtnClose(s),isOpen:o,closeModalOnOutsideClick:!0,notScroll:!0,role:"dialog",ariaModal:!0,type:h?"bottom-sheet":"","aria-labelledby":`${t}-title`,children:e.jsxs("div",{ref:a,className:`${t}`,role:"presentation",tabIndex:0,"aria-label":"Something Went Wrong Modal",onClick:b=>b.stopPropagation(),children:[e.jsx("div",{className:`${l}-row ${l}-xs-justify-flex-end`,children:e.jsx(N,{icon:{size:R.Large,type:"ct-close"},"aria-label":"Close",variant:u.PRIMARY,color:d.LIGHT,onClick:()=>i.handleNotifyMeBtnClose(s)})}),e.jsx("div",{className:`${t}__container`,children:e.jsxs("div",{className:`${t}__content`,children:[e.jsx("div",{className:`${t}__iconBroke`,children:e.jsx(S,{type:"ct-traffic-cone",size:"large"})}),e.jsx("div",{className:`${t}__subtitle`,tabIndex:0,"aria-live":"polite",children:f}),e.jsx("p",{className:`${t}__description`,tabIndex:0,"aria-live":"polite",children:g}),e.jsx("div",{className:`${t}__continueButton`,children:e.jsx(_,{id:"continue-shopping-btn","data-testid":"continue-shopping-btn",variant:u.PRIMARY,color:d.DARK,type:$.DEFAULT,onClick:()=>i.handleNotifyMeBtnClose(s),children:x})})]})})]})})};export{k as default};
2//# sourceMappingURL=SomethingWentWrongModal.DbSpkFKS.chunk.js.map

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.