PageSourceSearch

https://coverstyl.com/_next/static/chunks/pages/tip/[uid]-a5f6a4a7e2696bdb.js

js coverstyl.com collected 2026-10-06 14:03:23 UTC 9,569 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4269],{7984:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/tip/[uid]",function(){return s(37279)}])},12732:function(e,t,s){"use strict";var n=s(85893);t.Z=e=>{let{blocks:t,components:s={},context:i}=e;return t.map((e,r)=>{let c="block"+r,l=e.__component,a=s[l];return a?(0,n.jsx)(a,{block:e,context:i,blocks:t},c):(0,n.jsxs)("section",{className:"wrapper center",children:["Component not found for block ",l]},c)})}},56359:function(e,t,s){"use strict";s.d(t,{P:function(){return getOrigin}});let getOrigin=e=>{try{return new URL(e),""}catch(e){return"https://cms.coverstyl.com"}}},33682:function(e,t,s){"use strict";s.d(t,{F:function(){return l}});var n=s(85893),i=s(67294),r=s(95631),c=s(56359);let l="static",a=[64,320,500,750,1e3,1220,1440,1920],o=/https?:\/\/ssi.s3.fr-par.scw.cloud/;t.Z=e=>{let{image:t={},className:s,sizes:d="100vw",alt:m,layout:u,title:h,loading:p="lazy",maxSize:x=1308,..._}=e,v=t.data||t||{},j=v.attributes||t||{},f=j.width,g=j.formats||{},N=parseInt(1e5*j.height/j.width)/1e3,b=j.url||"",w=(0,c.P)(b),P=o.test(b),T="https://cms.coverstyl.com",V=b.replace(o,""),y=i.useMemo(()=>a.filter(e=>e<j.width),[j.width]),C=i.useMemo(()=>{if(P){let e=y.map(e=>"".concat(T,"/img-optim").concat(V,"?w=").concat(e,"&q=").concat(80," ").concat(e,"w"));return(f>a[a.length-1]||0===e.length)&&e.push("".concat(T,"/img-optim").concat(V,"?w=").concat(f,"&q=").concat(80," ").concat(f,"w")),e.join(", ")}return Object.values(g).map(e=>"".concat(w+e.url," ").concat(e.width,"w")).join(", ")},[g,f,w,T,V]),A=u===l?j.width/2<x?j.width/2+"px":x+"px":d,R={};return u===l&&(R.width=j.width/2+"px"),(0,n.jsxs)("div",{className:"".concat(r.Component).concat(s?" "+s:""),style:R,..._,children:[b&&(0,n.jsx)("img",{src:P?"".concat(T,"/img-optim").concat(V):w+b,srcSet:C,sizes:A,alt:j.alternativeText||m||"",title:h,loading:p}),(0,n.jsx)("div",{style:{paddingBottom:N+"%"}})]})}},91735:function(e,t,s){"use strict";var n=s(85893),i=s(67294),r=s(48074);t.Z=e=>{let t=i.useMemo(()=>{try{let t=new URL(e.url);if(t.searchParams&&t.searchParams.size>0){let e=t.searchParams.get("v");return"https://www.youtube.com/embed/"+e}return e.url}catch(e){return""}},[e.url]);return(0,n.jsx)("div",{className:r.Component,children:(0,n.jsxs)("div",{className:r.Video,children:[(0,n.jsxs)("button",{className:r.Close,onClick:e.close,children:[(0,n.jsx)("span",{}),(0,n.jsx)("span",{})]}),(0,n.jsx)("iframe",{allowFullScreen:"",frameBorder:"0",src:t+"?autoplay=1"})]})})}},25673:function(e,t,s){"use strict";s.d(t,{An:function(){return o},K5:function(){return _},Kr:function(){return v},Kz:function(){return h},RL:function(){return x},Rt:function(){return p},Se:function(){return u},dq:function(){return f},lv:function(){return m},nP:function(){return d},qb:function(){return j}});var n=s(85893),i=s(67294),r=s(8217),c=s(4480),l=s(93210),a=s(78570);let o=c.P7.PARAGRAPH,d=c.P7.HEADING,m=c.P7.IMAGE,u=c.d9.BOLD;c.P7.QUOTE;let h=c.P7.TABLE,p=c.P7.TABLE_HEADER,x=c.P7.TABLE_ROW,_=c.P7.TABLE_CELL,v=c.P7.UL_LIST,j=c.P7.LIST_ITEM,f=c.P7.OL_LIST,wrapResolver=e=>(t,s)=>{let n="text"in t?t.text:t.children,i=t.attrs||{};return e(n||null,i,t,s)},buildResolvers=e=>Object.entries(e).reduce((e,t)=>{let[s,n]=t;return"function"==typeof n&&(e[s]=wrapResolver(n)),e},{}),g={[r.A.TH]:(e,t)=>({type:c.P7.TABLE_HEADER,attrs:{colspan:1,rowspan:1,colwidth:null},content:[{type:c.P7.PARAGRAPH,content:t||[]}]})};t.ZP=e=>{let{field:t,className:s,nodeResolvers:c={},markResolvers:o={}}=e,d=i.useMemo(()=>(0,l.eS)({renderFn:i.createElement,textFn:e=>e,resolvers:{...buildResolvers(c),...buildResolvers(o)},keyedResolvers:!0}),[c,o]),m=i.useMemo(()=>{if(!t)return null;let e="string"==typeof t?(0,r.O)(t,{resolvers:g}):t,s=d.render(e);return Array.isArray(s)?i.Children.toArray(s):s},[t,d]);return(0,n.jsx)("div",{className:"".concat(a.Component).concat(s?" "+s:""),children:m})}},4963:function(e,t,s){"use strict";var n=s(85893),i=s(67294),r=s(2372);t.Z=i.memo(()=>(0,n.jsxs)("svg",{className:r.Component,viewBox:"0 0 49 49",fill:"none",children:[(0,n.jsx)("rect",{x:".763",y:".571",width:"48",height:"48",rx:"24"}),(0,n.jsx)("path",{d:"M32.763 24.571l-12 8v-16l12 8z"})]}))},9977:function(e,t,s){"use strict";var n=s(85893),i=s(67294),r=s(80300),c=s(33682),l=s(4963),a=s(91735);t.Z=e=>{let{videos:t,className:s}=e,[l,a]=i.useState(0);return(0,n.jsxs)("div",{className:s,children:[(0,n.jsx)("div",{className:"mb4",children:t.map((e,t)=>(0,n.jsx)(Video,{video:e,active:l===t},e.id))}),(0,n.jsx)("div",{className:r.Thumbnails+" thumbnails",children:t.map((e,t)=>(0,n.jsx)("div",{className:"".concat(r.Thumbnail).concat(t===l?" "+r.active:""),onClick:()=>a(t),children:(0,n.jsx)(c.Z,{image:e.poster,alt:e.title||"",sizes:"80px",className:r.Thumbnail__Img})},"thumb"+e.id))})]})};let Video=e=>{let[t,s]=i.useState(!1),o=e.video||{};return(0,n.jsxs)("div",{className:"".concat(r.Video).concat(e.active?" "+r.active+" active":""),children:[(0,n.jsx)("button",{className:r.VideoIcon+" video-icon",onClick:()=>s(!0),children:(0,n.jsx)(l.Z,{})}),t&&(0,n.jsx)(a.Z,{close:()=>s(!1),url:o.videoUrl}),(0,n.jsx)(c.Z,{image:o.poster,alt:o.title||"",sizes:"(max-width: 768px) 100vw, (max-width: 1224px) 50vw, 612px",className:r.Poster+" mb2"})]})}},37279:function(e,t,s){"use strict";s.r(t),s.d(t,{__N_SSG:function(){return h},default:function(){return _uid_}});var n=s(85893),i=s(2145),r=s(33682),c=s(25673),l=s(12732),a=s(81097),o=s(94055),d=s(9977);let m={"tip.tip-section":e=>{let{block:t}=e,s=t.Reverse,i=t.Theme||"white";return(0,n.jsx)("section",{className:"theme-"+i,children:(0,n.jsx)("div",{className:"wrapper",children:(0,n.jsxs)("div",{className:"grid-flex".concat(s?" "+a.GridReverse:""),children:[(0,n.jsx)("div",{className:"grid-flex__item mb3 mbmd0 md5 lg5 "+a.GridLeft,children:(0,n.jsx)(c.ZP,{field:t.Content,className:"txt",nodeResolvers:{[c.nP]:e=>(0,n.jsx)("h2",{className:"t3 mb2",children:e}),[c.An]:e=>(0,n.jsx)("p",{className:"mb2",children:e})}})}),(0,n.jsx)("div",{className:"grid-flex__item "+(s?"md6 lg6 llg1 lmd1":"md6 lg6 hmd1 hlg1"),children:(0,n.jsx)(r.Z,{image:t.Image,className:a.Image,sizes:"(max-width: 768px) 100vw, (max-width: 1224px) 50vw, 612px"})})]})})})},"tip.tip-rich-text":e=>{let{block:t}=e;return(0,n.jsx)("section",{className:"theme-light",children:(0,n.jsx)("div",{className:"wrapper",children:(0,n.jsx)("div",{className:"md10 lg10 hmd1 hlg1",children:(0,n.jsx)(c.ZP,{field:t.Content,className:"txt",nodeResolvers:{[c.nP]:e=>(0,n.jsx)("h2",{className:"t3 mb2",children:e}),[c.An]:e=>(0,n.jsx)("p",{className:"mb2",children:e})}})})})})},"tip.tip-videos":e=>{let{block:t}=e,s=t.videos||[];return(0,n.jsx)("section",{className:"theme-light",children:(0,n.jsx)("div",{className:"wrapper "+o.Wrapper,children:(0,n.jsx)("div",{className:o.Block,children:(0,n.jsx)("div",{className:"wrapper",children:(0,n.jsxs)("div",{className:"grid-flex--center",children:[(0,n.jsx)("div",{className:"grid-flex__item md5 lg5 mb3 mbmd0",children:(0,n.jsx)(c.ZP,{field:t.Content,className:"txt",nodeResolvers:{[c.nP]:e=>(0,n.jsx)("h2",{className:"t3 mb2",children:e}),[c.An]:e=>(0,n.jsx)("p",{className:"mb2",children:e})}})}),(0,n.jsx)("div",{className:"grid-flex__item md6 lg6 hmd1 hlg1",children:(0,n.jsx)(d.Z,{className:o.Gallery,videos:s})})]})})})})})}};var u=s(92979),h=!0,_uid_=e=>{let{doc:t,navigation:s}=e,a=t.attributes||{},o=a.blocks||[];return(0,n.jsxs)(i.Z,{doc:t,navigation:s,children:[(0,n.jsxs)("header",{className:u.Header+" theme-light",children:[(0,n.jsx)(r.Z,{image:a.Image,className:u.Image+" mb4",sizes:"100vw"}),(0,n.jsx)("div",{className:"wrapper",children:(0,n.jsxs)("div",{className:"md10 lg10 hmd1 hlg1",children:[(0,n.jsx)("div",{className:"center mb2",children:(0,n.jsx)("span",{className:u.Tag,children:a.Type})}),(0,n.jsx)("h1",{className:"t4 center font-bold mb6 mbmd12",children:a.Title}
1),(0,n.jsx)(c.ZP,{field:a.Content,className:"txt",nodeResolvers:{[c.nP]:e=>(0,n.jsx)("h2",{className:"t3 mb2",children:e}),[c.An]:e=>(0,n.jsx)("p",{className:"mb2",children:e})}})]})})]}),(0,n.jsx)(l.Z,{blocks:o,components:m}),(0,n.jsx)("svg",{width:"0",height:"0",children:(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip-path-tip",transform:"scale(0.000694,0.002032520)",clipPathUnits:"objectBoundingBox",children:(0,n.jsx)("path",{d:"M0 453.655V1.27938C539.709 1.27942 867.11 0 1440 0V483.002C883.588 527.002 556.941 380.094 0 453.655Z",fill:"#000"})})})})]})}},81097:function(e){e.exports={Image:"TipSection_Image__KSSLo",GridReverse:"TipSection_GridReverse__Syezt",GridLeft:"TipSection_GridLeft__GFqAx"}},94055:function(e){e.exports={Block:"TipVideos_Block__y0zBG",Gallery:"TipVideos_Gallery__DV36V",Wrapper:"TipVideos_Wrapper__nWUiX"}},95631:function(e){e.exports={Component:"Image_Component__AeJzn"}},48074:function(e){e.exports={Component:"PopupVideo_Component__pY5Db",Video:"PopupVideo_Video__6GXCV",Close:"PopupVideo_Close__xdWM5"}},78570:function(e){e.exports={Component:"RichText_Component__kluP1"}},2372:function(e){e.exports={Component:"video-icon_Component__AwZh_"}},92979:function(e){e.exports={Header:"Tip_Header__vQbR9",Image:"Tip_Image__npwb7",Tag:"Tip_Tag__6uxil"}},80300:function(e){e.exports={Poster:"VideoGallery_Poster__mV_vB",Video:"VideoGallery_Video__7czuW",active:"VideoGallery_active__LVmO_",VideoIcon:"VideoGallery_VideoIcon__s7VKe",Thumbnails:"VideoGallery_Thumbnails__UWQY3",Thumbnail:"VideoGallery_Thumbnail__rQvZ1",Thumbnail__Img:"VideoGallery_Thumbnail__Img__jhjwx"}}},function(e){e.O(0,[1180,1821,2145,9774,2888,179],function(){return e(e.s=7984)}),_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.