PageSourceSearch

https://swap.ca/_next/static/chunks/8097-fca70009fb648efd.js

js swap.ca collected 2026-10-04 00:30:25 UTC 8,313 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8097],{80788:function(t,e,n){n.d(e,{Z:function(){return x}});var i=n(52322),o=n(29921),r=n(94342),a=n(24240),s=n(61470),l=n(91560),c=n(62384),d=n(87571),m=n(42925),u=t=>{let{author:e,brand:n}=t;return(0,i.jsxs)(s.ZP,{item:!0,alignItems:"center",justifyItems:"center",children:[(0,i.jsx)(a.Z,{sx:{width:{xs:"90%"},height:{xs:"90vw",sm:"20vw"},position:"relative",marginBottom:{xs:"-10%"}},children:(0,i.jsx)(m.d,{sizes:{xs:"calc(100vw - var(--breathing-room-left) - var(--breathing-room-right))",md:"calc(".concat(4/12*100,"vw - var(--breathing-room-left) - var(--breathing-room-right))")},image:e.blogPhoto,style:{paddingBottom:"2rem"}})}),(0,i.jsxs)(a.Z,{sx:{backgroundColor:(0,c.Mw)(n.colors.C6,.5),width:{xs:"80%",sm:"70%"},borderRadius:l.Z.border.radius.sm,textAlign:"left",justifyContent:"center",paddingTop:{xs:"5%"},marginLeft:{xs:"5%",sm:"10%"},paddingLeft:"5%"},children:[(0,i.jsx)(d.Z,{variant:"caption",sx:{fontWeight:400,fontSize:{xs:"1rem",sm:"0.8rem"}},children:"ABOUT THE AUTHOR"}),(0,i.jsx)(d.Z,{variant:"banner",sx:{fontWeight:800},children:e.fullName}),(0,i.jsx)(d.Z,{variant:"tagLine",sx:{fontSize:{xs:"1rem",md:"0.9rem"},marginBottom:"3%"},children:e.tagLine}),(0,i.jsx)(d.Z,{variant:"body",richText:!0,sx:{marginBottom:"5%",paddingBottom:"5%"},children:e.information})]})]})};let g=t=>{let{image:e,i:n,blogPost:o}=t,r=0===n;return(0,i.jsxs)(s.ZP,{item:!0,xs:12,sm:4,sx:{display:{xs:r?"grid":"none",sm:"grid"}},children:[(0,i.jsx)(a.Z,{sx:{position:"relative",aspectRatio:"4/4",marginBottom:"2rem"},children:(0,i.jsx)(m.d,{url:0===n?o.image1Link:1===n?o.image2Link:2===n?o.image3Link:void 0,"data-testid":"blogImage",image:e,style:{objectFit:"scale-down"}})}),(0,i.jsx)(a.Z,{children:(0,i.jsx)(d.Z,{sx:{textAlign:"center"},variant:"body",children:e.caption})})]},n)};var h=t=>{let{sections:e,brand:n,author:o,quote:r}=t;return(0,i.jsxs)(s.ZP,{container:!0,display:"row",children:[(0,i.jsx)(s.ZP,{item:!0,xs:12,sm:8,"data-testid":"content",children:e.map((t,e)=>(0,i.jsxs)(s.ZP,{container:!0,children:[(0,i.jsx)(d.Z,{variant:"body",richText:!0,children:t.content}),(0,i.jsx)(s.ZP,{item:!0,container:!0,children:t.images.map((e,n)=>(0,i.jsx)(g,{blogPost:t,image:e,i:n},n))})]},e))}),(0,i.jsxs)(s.ZP,{item:!0,xs:12,sm:4,children:[(0,i.jsx)(a.Z,{sx:{paddingBottom:"5%"},children:(0,i.jsx)(u,{author:o,brand:n})}),(0,i.jsx)(d.Z,{component:"blockquote",variant:"caption",sx:{textAlign:"right",overflowWrap:"break-word",fontSize:{xs:"2.1rem",sm:"2.6rem"},lineHeight:{xs:"2.2rem",sm:"2.7rem"},marginLeft:"10%",marginRight:"10%",paddingBottom:"3%"},children:r})]})]})},f=n(60115),v=n(30231),x=t=>{var e,n,a,s;let{blogPost:l,brand:c,offer:d}=t;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(h,{sections:l.section,brand:c,author:l.author,quote:l.quote}),(0,i.jsx)(o.ZP,{titleLeft:"Related Blogs",items:null==l?void 0:l.linkedBlogs}),d&&(0,i.jsx)(r.Z,{offer:d}),(0,i.jsx)(f.Z,{}),(null==c?void 0:null===(n=c.typeform)||void 0===n?void 0:null===(e=n.standardEmbed)||void 0===e?void 0:e.dataTfLive)&&(0,i.jsx)(v.T,{id:null==c?void 0:null===(s=c.typeform)||void 0===s?void 0:null===(a=s.standardEmbed)||void 0===a?void 0:a.dataTfLive})]})}},94902:function(t,e,n){var i=n(52322);n(2784);var o=n(20782);e.Z=t=>{let{items:e}=t;return!e||e.length<=1?null:(0,i.jsx)(o.gR,{items:e})}},68912:function(t,e,n){n.d(e,{Wh:function(){return s},Zd:function(){return d},gD:function(){return m},i1:function(){return c},iW:function(){return l}});var i=n(97668),o=n(7095),r=n(33150);let a=(t,e,n,i)=>{let a=t.startsWith("http")?t:"https://".concat(t),s=e.replace(/^\/+|\/+$/g,""),l=i&&i!==o.ZW?s?"".concat(i,"/").concat(s):i:s,c=(0,r.T)(n)?"/":"";return""===l||"/"===l?c?"".concat(a,"/"):a:"".concat(a,"/").concat(l).concat(c)},s=function(t,e,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=arguments.length>4?arguments[4]:void 0,r=[{name:"Home",item:a(e,"",n,o)}];return i.forEach(t=>{let{path:i,name:s}=t;r.push({name:s,item:a(e,i,n,o)})}),r.push({name:t}),r},l=function(t,e,n,o){let r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=arguments.length>5?arguments[5]:void 0,l=(0,i.y)(e),c=(0,i.y)(t);return"BUNAC"===o?s(c,n,o,[],a):r?s(c,n,o,[{path:"infohub",name:"InfoHub"}],a):s(c,n,o,[{path:"experiences",name:"Experiences"},{path:"experiences/".concat(e),name:l}],a)},c=(t,e,n,o)=>s((0,i.y)(t),e,n,[{path:"experiences",name:"Experiences"}],o),d=(t,e,n,i)=>s(t,e,n,[{path:"destinations",name:"Destinations"}],i),m=function(t,e,n){let i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4?arguments[4]:void 0;return i?s(t,e,n,[{path:"infohub",name:"InfoHub"},{path:"infohub/infoblog",name:"InfoBlog"}],o):s(t,e,n,[{path:"blog",name:"Blog"}],o)}},62384:function(t,e,n){n.d(e,{Mw:function(){return i}});function i(t,e){return -1==t.indexOf("a")?t.replace(")",", ".concat(e,")")).replace("rgb","rgba"):t}},87367:function(t,e,n){var i=n(31461),o=n(7896),r=n(69075),a=n(40489),s=n(2784),l=n(44781),c=n(75596),d=n(54779),m=n(3462),u=n(52322);let g=["children","className","cols","component","rowHeight","gap","style","variant"],h=t=>{let{classes:e,variant:n}=t;return(0,r.Z)({root:["root",n]},d.Q,e)},f=(0,l.ZP)("ul",{name:"MuiImageList",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:n}=t;return[e.root,e[n.variant]]}})(t=>{let{ownerState:e}=t;return(0,o.Z)({display:"grid",overflowY:"auto",listStyle:"none",padding:0,WebkitOverflowScrolling:"touch"},"masonry"===e.variant&&{display:"block"})}),v=s.forwardRef(function(t,e){let n=(0,c.i)({props:t,name:"MuiImageList"}),{children:r,className:l,cols:d=2,component:v="ul",rowHeight:x="auto",gap:p=4,style:Z,variant:b="standard"}=n,j=(0,i.Z)(n,g),y=s.useMemo(()=>({rowHeight:x,gap:p,variant:b}),[x,p,b]);s.useEffect(()=>{},[]);let w="masonry"===b?(0,o.Z)({columnCount:d,columnGap:p},Z):(0,o.Z)({gridTemplateColumns:"repeat(".concat(d,", 1fr)"),gap:p},Z),I=(0,o.Z)({},n,{component:v,gap:p,rowHeight:x,variant:b}),L=h(I);return(0,u.jsx)(f,(0,o.Z)({as:v,className:(0,a.Z)(L.root,L[b],l),ref:e,style:w,ownerState:I},j,{children:(0,u.jsx)(m.Z.Provider,{value:y,children:r})}))});e.Z=v},3462:function(t,e,n){let i=n(2784).createContext({});e.Z=i},54779:function(t,e,n){n.d(e,{Q:function(){return r}});var i=n(69222),o=n(15672);function r(t){return(0,o.ZP)("MuiImageList",t)}
1let a=(0,i.Z)("MuiImageList",["root","masonry","quilted","standard","woven"]);e.Z=a},28374:function(t,e,n){var i=n(31461),o=n(7896),r=n(69075),a=n(40489),s=n(2784),l=n(3462),c=n(44781),d=n(75596),m=n(51090),u=n(68508),g=n(52322);let h=["children","className","cols","component","rows","style"],f=t=>{let{classes:e,variant:n}=t;return(0,r.Z)({root:["root",n],img:["img"]},u.w,e)},v=(0,c.ZP)("li",{name:"MuiImageListItem",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:n}=t;return[{["& .".concat(u.Z.img)]:e.img},e.root,e[n.variant]]}})(t=>{let{ownerState:e}=t;return(0,o.Z)({display:"block",position:"relative"},"standard"===e.variant&&{display:"flex",flexDirection:"column"},"woven"===e.variant&&{height:"100%",alignSelf:"center","&:nth-of-type(even)":{height:"70%"}},{["& .".concat(u.Z.img)]:(0,o.Z)({objectFit:"cover",width:"100%",height:"100%",display:"block"},"standard"===e.variant&&{height:"auto",flexGrow:1})})}),x=s.forwardRef(function(t,e){let n=(0,d.i)({props:t,name:"MuiImageListItem"}),{children:r,className:c,cols:u=1,component:x="li",rows:p=1,style:Z}=n,b=(0,i.Z)(n,h),{rowHeight:j="auto",gap:y,variant:w}=s.useContext(l.Z),I="auto";"woven"===w?I=void 0:"auto"!==j&&(I=j*p+y*(p-1));let L=(0,o.Z)({},n,{cols:u,component:x,gap:y,rowHeight:j,rows:p,variant:w}),k=f(L);return(0,g.jsx)(v,(0,o.Z)({as:x,className:(0,a.Z)(k.root,k[w],c),ref:e,style:(0,o.Z)({height:I,gridColumnEnd:"masonry"!==w?"span ".concat(u):void 0,gridRowEnd:"masonry"!==w?"span ".concat(p):void 0,marginBottom:"masonry"===w?y:void 0,breakInside:"masonry"===w?"avoid":void 0},Z),ownerState:L},b,{children:s.Children.map(r,t=>s.isValidElement(t)?"img"===t.type||(0,m.Z)(t,["Image"])?s.cloneElement(t,{className:(0,a.Z)(k.img,t.props.className)}):t:null)}))});e.Z=x},68508:function(t,e,n){n.d(e,{w:function(){return r}});var i=n(69222),o=n(15672);function r(t){return(0,o.ZP)("MuiImageListItem",t)}let a=(0,i.Z)("MuiImageListItem",["root","img","standard","woven","masonry","quilted"]);e.Z=a}}]);

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.