PageSourceSearch

https://swap.ca/_next/static/chunks/pages/[brandName]/[locale]-d36f37657ab7e5a1.js

js swap.ca collected 2026-09-25 20:50:55 UTC 7,763 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[591],{62633:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[brandName]/[locale]",function(){return a(27993)}])},27993:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSG:function(){return d},default:function(){return u}});var l=a(52322),o=a(55438),i=a(85973),n=a(28932),r=a(76214),s=a(37366),c=a(58373),d=!0;function u(e){var t,a;let{brand:d,staticPage:u,availableLocales:h,...p}=e;return(0,l.jsxs)(r.ZP,{brand:d,children:[(0,l.jsxs)(i.Z,{seoSiteDetails:d.seoSiteDetails,seoDetails:(null==u?void 0:u.seoDetails)||null,image:null==u?void 0:null===(t=u.hero)||void 0===t?void 0:t.bannerImage,availableLocales:h,children:[(0,l.jsx)(c.Z,{organizationData:d.seoSiteDetails.organizationData,brandDomain:d.seoSiteDetails.domain,logoUrl:d.header.logo.url,socialMediaLinks:d.footer.socialMediaLinks}),(null==u?void 0:u.dropdown)&&(0,l.jsx)(s.Z,{faq:u.dropdown})]}),(0,l.jsx)(n.Z,{hasSideTab:(null===(a=u.customTypeForm)||void 0===a?void 0:a.mode)==="popup",children:(0,l.jsx)(o.Z,{brand:d,staticPage:u,...p})})]})}},44392:function(e,t,a){"use strict";var l=a(71600);t.Z=void 0;var o=l(a(94834)),i=a(52322);t.Z=(0,o.default)((0,i.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-2 10h-4v4h-2v-4H7v-2h4V7h2v4h4z"}),"AddBox")},43902:function(e,t,a){"use strict";var l=a(71600);t.Z=void 0;var o=l(a(94834)),i=a(52322);t.Z=(0,o.default)((0,i.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-5 14H7v-2h7zm3-4H7v-2h10zm0-4H7V7h10z"}),"Article")},27008:function(e,t,a){"use strict";var l=a(71600);t.Z=void 0;var o=l(a(94834)),i=a(52322);t.Z=(0,o.default)((0,i.jsx)("path",{d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 16H5V10h14zM9 14H7v-2h2zm4 0h-2v-2h2zm4 0h-2v-2h2zm-8 4H7v-2h2zm4 0h-2v-2h2zm4 0h-2v-2h2z"}),"CalendarMonth")},70753:function(e,t,a){"use strict";var l=a(71600);t.Z=void 0;var o=l(a(94834)),i=a(52322);t.Z=(0,o.default)((0,i.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m3.79 9.71-3.08 3.08c-.39.39-1.02.39-1.42 0l-3.08-3.08c-.39-.39-.39-1.03 0-1.42.39-.39 1.02-.39 1.41 0L12 12.67l2.38-2.38c.39-.39 1.02-.39 1.41 0 .39.39.39 1.03 0 1.42"}),"ExpandCircleDownRounded")},44313:function(e,t,a){"use strict";var l=a(71600);t.Z=void 0;var o=l(a(94834)),i=a(52322);t.Z=(0,o.default)((0,i.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-2 10H7v-2h10z"}),"IndeterminateCheckBox")},97489:function(e,t,a){"use strict";var l=a(71600);t.Z=void 0;var o=l(a(94834)),i=a(52322);t.Z=(0,o.default)((0,i.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-6h2zm0-8h-2V7h2z"}),"Info")},55768:function(e,t,a){"use strict";var l=a(71600);t.Z=void 0;var o=l(a(94834)),i=a(52322);t.Z=(0,o.default)((0,i.jsx)("path",{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7m0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5"}),"Place")},44393:function(e,t,a){"use strict";var l=a(71600);t.Z=void 0;var o=l(a(94834)),i=a(52322);t.Z=(0,o.default)((0,i.jsx)("path",{d:"m12 17.27 4.15 2.51c.76.46 1.69-.22 1.49-1.08l-1.1-4.72 3.67-3.18c.67-.58.31-1.68-.57-1.75l-4.83-.41-1.89-4.46c-.34-.81-1.5-.81-1.84 0L9.19 8.63l-4.83.41c-.88.07-1.24 1.17-.57 1.75l3.67 3.18-1.1 4.72c-.2.86.73 1.54 1.49 1.08z"}),"StarRounded")},67678:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});var l=a(52322),o=a(2784);let i={default:120,mqdefault:320,hqdefault:480,sddefault:640,maxresdefault:1280},n=(e,t,a,l="maxresdefault")=>{let[n,r]=(0,o.useState)("");return(0,o.useEffect)(()=>{let o=`https://img.youtube.com/${t}/${e}/${l}.${a}`,n=`https://img.youtube.com/${t}/${e}/hqdefault.${a}`,s=i[l],c=new Image;c.onload=()=>{c.width<s?r(n):r(o)},c.onerror=()=>r(n),c.src=o},[e,t,a,l]),n},r=o.forwardRef(function(e,t){var a,i;let[r,s]=o.useState(!1),[c,d]=o.useState(e.alwaysLoadIframe||!1),u=encodeURIComponent(e.id),h="string"==typeof e.playlistCoverId?encodeURIComponent(e.playlistCoverId):null,p=e.title,m=e.poster||"hqdefault",v=e.announce||"Watch",f=!e.alwaysLoadIframe||e.autoplay&&e.muted,b=o.useMemo(()=>{let t=new URLSearchParams({...e.muted?{mute:"1"}:{},...f?{autoplay:"1"}:{},...e.enableJsApi?{enablejsapi:"1"}:{},...e.playlist?{list:u}:{}});return e.params&&new URLSearchParams(e.params.startsWith("&")?e.params.slice(1):e.params).forEac
1h((e,a)=>{t.append(a,e)}),t},[e.muted,f,e.enableJsApi,e.playlist,u,e.params]),y=o.useMemo(()=>e.cookie?"https://www.youtube.com":"https://www.youtube-nocookie.com",[e.cookie]),w=o.useMemo(()=>e.playlist?`${y}/embed/videoseries?${b.toString()}`:`${y}/embed/${u}?${b.toString()}`,[e.playlist,y,u,b]),x=!e.thumbnail&&!e.playlist&&"maxresdefault"===m,g=e.webp?"webp":"jpg",j=e.webp?"vi_webp":"vi",$=x?n(e.id,j,g,m):null,Z=o.useMemo(()=>e.thumbnail||$||`https://i.ytimg.com/${j}/${e.playlist?h:u}/${m}.${g}`,[e.thumbnail,$,j,e.playlist,h,u,m,g]),k=e.activatedClass||"lyt-activated",z=e.adNetwork||!1,S=e.aspectHeight||9,C=e.aspectWidth||16,_=e.iframeClass||"",H=e.playerClass||"lty-playbtn",L=e.wrapperClass||"yt-lite",M=o.useCallback(e.onIframeAdded||function(){},[e.onIframeAdded]),I=e.rel?"prefetch":"preload",N=e.containerElement||"article",D=!1!==e.noscriptFallback;return o.useEffect(()=>{c&&(M(),e.focusOnLoad&&"object"==typeof t&&null!=t&&t.current&&t.current.focus())},[c,M,e.focusOnLoad,t]),(0,l.jsxs)(l.Fragment,{children:[!e.lazyLoad&&(0,l.jsx)("link",{rel:I,href:Z,as:"image"}),(0,l.jsx)(l.Fragment,{children:r&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("link",{rel:"preconnect",href:y}),(0,l.jsx)("link",{rel:"preconnect",href:"https://www.google.com"}),z&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("link",{rel:"preconnect",href:"https://static.doubleclick.net"}),(0,l.jsx)("link",{rel:"preconnect",href:"https://googleads.g.doubleclick.net"})]})]})}),e.seo&&!e.playlist&&(0,l.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:(a=e.id,JSON.stringify({"@context":"https://schema.org","@type":"VideoObject",name:(null==(i=e.seo)?void 0:i.name)||p,thumbnailUrl:[(null==i?void 0:i.thumbnailUrl)||Z],embedUrl:(null==i?void 0:i.embedUrl)||`${y}/embed/${a}`,contentUrl:(null==i?void 0:i.contentUrl)||`https://www.youtube.com/watch?v=${a}`,...(null==i?void 0:i.description)&&{description:i.description},...(null==i?void 0:i.uploadDate)&&{uploadDate:i.uploadDate},...(null==i?void 0:i.duration)&&{duration:i.duration}}))}}),D&&!e.playlist&&(0,l.jsx)("noscript",{children:(0,l.jsxs)("a",{href:`https://www.youtube.com/watch?v=${e.id}`,"aria-label":`Watch ${p} on YouTube`,children:['Watch "',p,'" on YouTube']})}),(0,l.jsxs)(N,{onPointerOver:()=>{r||s(!0)},onClick:()=>{c||d(!0)},className:`${L} ${c?k:""}`,"data-title":p,role:c?void 0:"img","aria-label":c?void 0:`${p} - YouTube video preview`,style:{...!e.lazyLoad&&{backgroundImage:`url(${Z})`},"--aspect-ratio":`${S/C*100}%`,...e.style||{}},children:[e.lazyLoad&&!c&&(0,l.jsx)("img",{src:Z,alt:`${p} - YouTube thumbnail`,className:"lty-thumbnail",loading:"lazy"}),(0,l.jsx)("button",{type:"button",className:H,"aria-label":`${v} ${p}`,"aria-hidden":c||void 0,tabIndex:c?-1:0,children:(0,l.jsx)("span",{className:"lty-visually-hidden",children:v})}),c&&(0,l.jsx)("iframe",{ref:t,className:_,title:p,width:"560",height:"315",style:{border:0},allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,src:w,referrerPolicy:e.referrerPolicy||"strict-origin-when-cross-origin"})]})]})})}},function(e){e.O(0,[5854,8454,874,782,1177,4389,7813,2313,8932,6962,7874,9144,5105,2900,3488,2526,2888,9774,179],function(){return e(e.s=62633)}),_N_E=e.O()}]);

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.