PageSourceSearch

https://www.blindstogo.ca/static/zig-zag-banner-L_oOv4Bz.js

js blindstogo.ca collected 2026-10-08 09:17:25 UTC 29,885 bytes, 1 lines download raw bytes

1import{u as e,j as l}from"./main-BmYsSTrY.js";import{j as t,p as n,v as o,k as i,l as a,u as r,m as d,f as u,q as s,d as c,E as p,h as m,e as v}from"./index-9Yy5i9pU.js";import{r as g,e as x,C as _}from"./vendor-DI-zMLkP.js";const h=e=>{var l,u,s,c,p,m,v,h,y,b,f,T,w,k,E,L,j,C,D,I,N,H,$,S,R,U,B,F,z,G,K,V,W,M;const{primaryButtonText:A,primaryButtonLink:O,headingText:Z,tagLineText:P,descriptionText:J,dataSource:Y,contentModel:q,modelInternalName:Q,imageData:X,headingColor:ee,descriptionColor:le,tagLineColor:te,backgroundColor:ne="#EFEBE2",id:oe,sectionHeading:ie="",sectionDescription:ae=""}=x.propsParser(e),re="zig-zag-ssr",{setComponentDataDispatcher:de,componentDataDispatcher:ue,isComponentLoaded:se,hasExperiments:ce}=t({id:oe,modelInternalName:Q,modelKeyForSSR:re});let pe={headingText:_.parseVariableValue(Z),tagLine:_.parseVariableValue(P),description:_.parseVariableValue(J),primaryButtonText:_.parseVariableValue(A),bannerImageLink:X,primaryButtonLink:O,sectionHeading:_.parseVariableValue(ie),sectionDescription:_.parseVariableValue(ae)};const me=e=>{var l;const t=(()=>{var e;const l=window.location.href;return null==(e=d(l))?void 0:e.join(" ")})();if(!e||0===Object.keys(e).length)return;if(!t||!(null==e?void 0:e.utm_zigzag_data))return e;const n=null==(l=null==e?void 0:e.utm_zigzag_data)?void 0:l.find((e=>{var l,n,o;return t&&(null==e?void 0:e.utm_content)&&(null==(o=null==t?void 0:t.toLowerCase())?void 0:o.includes(null==(n=null==(l=null==e?void 0:e.utm_content)?void 0:l.toLowerCase())?void 0:n.trim()))}));return n||e};let ve,ge;Y===(null==(l=n)?void 0:l.CONTENT_LIBRARY)&&ue&&(ve={headingText:_.parseVariableValue(null==(u=me(null==ue?void 0:ue.componentData))?void 0:u.heading),imageLink:_.parseVariableValue(null==(s=me(null==ue?void 0:ue.componentData))?void 0:s.layout_image_link),tagLine:_.parseVariableValue(null==(c=me(null==ue?void 0:ue.componentData))?void 0:c.tag_line),description:_.parseVariableValue(null==(p=me(null==ue?void 0:ue.componentData))?void 0:p.description),primaryButtonText:_.parseVariableValue((null==(m=me(null==ue?void 0:ue.componentData))?void 0:m.primary_button_text)?null==(v=me(null==ue?void 0:ue.componentData))?void 0:v.primary_button_text:(null==(y=null==(h=me(null==ue?void 0:ue.componentData))?void 0:h.layout_button)?void 0:y.length)&&(null==(b=me(null==ue?void 0:ue.componentData))?void 0:b.layout_button[0].button_text)),primaryButtonLink:(null==(f=me(null==ue?void 0:ue.componentData))?void 0:f.primary_button_link)?null==(T=me(null==ue?void 0:ue.componentData))?void 0:T.primary_button_link:(null==(k=me(null==(w=null==ue?void 0:ue.componentData)?void 0:w.layout_button))?void 0:k.length)&&(null==(E=me(null==ue?void 0:ue.componentData))?void 0:E.layout_button[0].button_link),bannerImageLink:(null==(j=null==(L=me(null==ue?void 0:ue.componentData))?void 0:L.layout_image)?void 0:j.length)?null==(C=me(null==ue?void 0:ue.componentData))?void 0:C.layout_image[0]:"",bannerVideoLink:(null==(I=null==(D=me(null==ue?void 0:ue.componentData))?void 0:D.layout_image)?void 0:I[0])&&o.includes(JSON.parse(null==(H=null==(N=me(null==ue?void 0:ue.componentData))?void 0:N.layout_image)?void 0:H[0]).type)&&JSON.parse(null==(S=null==($=me(null==ue?void 0:ue.componentData))?void 0:$.layout_image)?void 0:S[0]).publicUrl,videoUrl:null==(R=me(null==ue?void 0:ue.componentData))?void 0:R.video_url,sectionHeading:(null==(U=me(null==ue?void 0:ue.componentData))?void 0:U.section_header)?null==(F=null==(B=me(null==ue?void 0:ue.componentData))?void 0:B.section_header[0])?void 0:F.section_heading:"",sectionDescription:(null==(z=me(null==ue?void 0:ue.componentData))?void 0:z.section_header)?null==(K=null==(G=me(null==ue?void 0:ue.componentData))?void 0:G.section_header[0])?void 0:K.section_description:"",layout_button:(null==(W=null==(V=me(null==ue?void 0:ue.componentData))?void 0:V.layout_button)?void 0:W.length)?null==(M=me(null==ue?void 0:ue.componentData))?void 0:M.layout_button:[]}),Y===n.CONTENT_LIBRARY&&(pe=Object.assign(pe,ve)),(null==q?void 0:q.trim().length)&&(ge=JSON.parse(q)),g.useEffect((()=>{var e,l,t;(se||ce)&&(Y===(null==(e=n)?void 0:e.FREE_FORM)?de({type:null==(l=i)?void 0:l.initializingFreeForm}):(de({type:i.fetchingData}),(null==(t=null==q?void 0:q.trim())?void 0:t.length)&&(async()=>{de({type:i.dataFetched,data:await a(ge,Q,re,oe,ce)})})()))}),[q,Y,ce]),r({componentData:null==ue?void 0:ue.componentData});const xe={color:ee},_e={color:te},he={color:le},ye={backgroundColor:ne},{modalData:be,modalIsOpen:fe,modalToShow:Te,setIsOpen:we}=(({componentDataDispatcher:e})=>{const[l,t]=g.useState(!1),[n,o]=g.useState({});return{modalIsOpen:l,modalData:n,modalToShow:l=>{var n,i,a,r,d,u,s,c,p;(null==(n=null==e?void 0:e.componentData)?void 0:n.popup)&&(null==(a=null==(i=null==e?void 0:e.componentData)?void 0:i.popup)?void 0:a.length)?o({heading:(null==(d=null==(r=null==e?void 0:e.componentData)?void 0:r.popup[parseInt(l.split("-")[1])-1])?void 0:d.heading)?null==(s=null==(u=null==e?void 0:e.componentData)?void 0:u.popup[parseInt(l.split("-")[1])-1])?void 0:s.heading:"",description:(null==(p=null==(c=null==e?void 0:e.componentData)?void 0:c.popup[parseInt(l.split("-")[1])-1])?void 0:p.description)||""}):o({}),t(!0)},setIsOpen:t}})({componentDataDispatcher:ue});return{tagLineStyle:_e,descriptionStyle:he,mappingObj:pe,dataSource:Y,imageData:X,contentModel:q,titleStyle:xe,componentDataDispatcher:ue,modalToShow:Te,modalIsOpen:fe,modalData:be,setIsOpen:we,backgroundStyle:ye}},y=t=>{var o,i,a,r,d,g,_,y,b,f,T,w,k,E,L,j,C,D,I,N,H,$,S,R,U,B,F,z,G,K,V,W,M,A,O,Z,P,J,Y;const{id:q,buttonColor:Q,buttonHoverColor:X,buttonTextHoverColor:ee,buttonTextColor:le,bannerReverse:te,background:ne,headingSize:oe,selectLayout:ie,contentPosition:ae,sectioncontentPosition:re,showsectionheading:de,preLoadImage:ue,headingTag:se,secondaryButton:ce,loadImageLazy:pe=u.WIDGET_CHECK_TRUE,margin:me="mb-12 lg:mb-24",sectionHeadingSize:ve="text-3xl",sectionHeadingTag:ge="h2",hideOrText:xe=u.WIDGET_CHECK_FALSE}=x.propsParser(t),{componentDataDispatcher:_e,contentModel:he,titleStyle:ye,tagLineStyle:be,descriptionStyle:fe,mappingObj:Te,dataSource:we,backgroundStyle:ke}=h(t),Ee={backgroundColor:Q,borderColor:le,color:le},Le={borderColor:le,color:le},je=[{width:1200},{width:960},{width:768},{width:540},{width:450}],{t:Ce}=e(),De=(null==ae?void 0:ae.includes("center"))?"md:justify-center":(null==ae?void 0:ae.includes("right"))?"md:justify-end":"md:justify-start",Ie=`${se}`,Ne=`${ge}`,He="consultation-layout"===ie,$e=(e,l)=>e&&"#1F1F1F"!==e.toUpperCase()&&"#000000"!==e&&"#000"!==e&&""!==e&&"#404040"!==e?e:l,Se=He?{...ye,color:$e(null==ye?void 0:ye.color,"#FFFFFF")}:ye,Re=He?{...be,color:$e(null==be?void 0:be.color,"#FFFFFF")}:be,Ue=He?{...fe,color:$e(null==fe?void 0:fe.color,"#FFFFFF")}:fe,Be=He?$e(le,"#FFFFFF"):le,Fe=x.getGlobalSettings(),ze=null==(o=null==Fe?void 0:Fe.record)?void 0:o.discount_badge;let Ge=null==Te?void 0:Te.tagLine;const Ke="string"==typeof Ge&&Ge.replace(/<[^>]*>/g,"").replace(/&nbsp;/g,"").trim().length>0;if("product-category"===ie&&!Ke&&ze&&Array.isArray(ze)){let e=t.pageData||{};Object.keys(e).length||"undefined"==typeof window||(e=window.__pageData__||{});const l=(null==_e?void 0:_e.componentData)||{},n=[...Array.isArray(null==e?void 0:e.cust_exp_producttype)?e.cust_exp_producttype:[null==e?void 0:e.cust_exp_producttype],...Array.isArray(null==e?void 0:e.categories)?e.categories:[null==e?void 0:e.categories],null==e?void 0:e.product_type,null==e?void 0:e.product_type,null==e?void 0:e.name,null==e?void 0:e.name,null==e?void 0:e.title,null==e?void 0:e.title,null==e?void 0:e.title,null==e?void 0:e.title,null==l?void 0:l.product_type,null==l?void 0:l.product_type,...Array.isArray(null==l?void 0:l.cust_exp_producttype)?l.cust_exp_producttype:[null==l?void 0:l.cust_exp_producttype]].filter((e=>"string"==typeof e)).map((e=>e.toLowerCase().trim()));if("undefined"!=typeof window&&(null==(i=window.location)?void 0:i.pathname)){window.location.pathname.split("/").filter(
1Boolean).forEach((e=>{n.push(decodeURIComponent(e).replace(/-/g," ").toLowerCase().trim())}))}const o=ze.find((e=>{var l;return Boolean(null==e?void 0:e.discount_text)&&(null==(l=null==e?void 0:e.product_types)?void 0:l.some((e=>s(e,n))))})),a=ze.find((e=>{var l;return(null==(l=null==e?void 0:e.product_types)?void 0:l.includes("All Styles"))&&((null==e?void 0:e.discount_text)||(null==e?void 0:e.discount_text))}));o?Ge=(null==o?void 0:o.discount_text)||(null==o?void 0:o.discount_text):a&&(Ge=(null==a?void 0:a.discount_text)||(null==a?void 0:a.discount_text))}return l.jsxs(l.Fragment,{children:[l.jsxs("style",{children:[`#${q} .button-style:hover {\n          background-color: ${X} !important;\n          color: ${ee} !important;\n          border-color: ${X} !important;\n        }`,`#${q} .button-secondary-style:hover {\n          color: ${ee} !important;\n          border-color: ${ee} !important;\n        }`,`#${q} .product-category-discount {\n          font-size: 11px !important;\n          letter-spacing: 2px !important;\n          font-weight: 500 !important;\n          color: #c20015 !important;\n        }`,`#${q} .product-category-discount * {\n          font-weight: 500 !important;\n          color: #c20015 !important;\n        }`,`@media (max-width: 1023px) {\n          #${q} .product-category-mobile-container {\n            max-width: 100% !important;\n            padding-left: 0 !important;\n            padding-right: 0 !important;\n          }\n        }`,`#${q} .product-category-description p {\n          margin-bottom: 1rem;\n        }\n        #${q} .product-category-description p:last-child {\n          margin-bottom: 0;\n        }\n        #${q} .product-category-description ul {\n          display: flex;\n          flex-direction: column;\n          gap: 0.75rem;\n          margin-top: 1.5rem;\n        }\n        #${q} .product-category-description ul li {\n          position: relative;\n          padding-left: 2rem;\n          line-height: 1.5rem;\n          font-size: 0.875rem;\n          color: inherit;\n        }\n        #${q} .product-category-description ul li::before {\n          content: '';\n          background-color: #faeae8;\n          border-radius: 9999px;\n          width: 20px;\n          height: 20px;\n          position: absolute;\n          left: 0;\n          top: 2px;\n        }\n        #${q} .product-category-description ul li::after {\n          content: '';\n          background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.33333 2.5L3.75 7.08333L1.66667 5' stroke='%23C20015' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");\n          background-repeat: no-repeat;\n          background-position: center;\n          width: 10px;\n          height: 10px;\n          position: absolute;\n          left: 5px;\n          top: 7px;\n        }`,(null==ae?void 0:ae.includes("center"))?`\n        #${q} .product-category-description ul {\n          align-items: center;\n        }\n        #${q} .product-category-description ul li {\n          text-align: left;\n        }\n        `:(null==ae?void 0:ae.includes("right"))?`\n        #${q} .product-category-description ul {\n          align-items: flex-end;\n        }\n        #${q} .product-category-description ul li {\n          text-align: right;\n          padding-left: 0;\n          padding-right: 2rem;\n        }\n        #${q} .product-category-description ul li::before {\n          left: auto;\n          right: 0;\n        }\n        #${q} .product-category-description ul li::after {\n          left: auto;\n          right: 5px;\n        }\n        `:""]}),we===n.CONTENT_LIBRARY&&l.jsx(c,{loaderClassName:"section-gap two-column-banner-section",contentModel:he,isLoading:null==_e?void 0:_e.isLoading,componentData:null==(a=null==_e?void 0:_e.componentData)?void 0:a.id}),(we===n.FREE_FORM||(null==(r=null==_e?void 0:_e.componentData)?void 0:r.id)&&!(null==_e?void 0:_e.isLoading))&&l.jsx("section",{id:"scrollableArea",className:`${me||""} zig-zag-section-main ${ne===(null==(d=u)?void 0:d.WIDGET_CHECK_TRUE)&&"container full-width"===ie?"py-16":""}`,style:ne===(null==(g=u)?void 0:g.WIDGET_CHECK_TRUE)&&"container full-width"===ie?ke:{},children:l.jsx("div",{className:"consultation-layout"===ie?"w-full":ie,children:l.jsxs(l.Fragment,{children:[de===u.WIDGET_CHECK_TRUE&&((null==Te?void 0:Te.sectionHeading)||(null==Te?void 0:Te.sectionDescription))&&l.jsxs("div",{className:`mb-4 lg:mb-8 last:mb-0 ${re}`,children:[(null==Te?void 0:Te.sectionHeading)&&l.jsx(Ne,{className:`text-3xl lg:${ve} mb-2 last:mb-0 font-secondary text-balance`,dangerouslySetInnerHTML:{__html:(null==Te?void 0:Te.sectionHeading)?null==Te?void 0:Te.sectionHeading:""}}),(null==Te?void 0:Te.sectionDescription)&&l.jsx("p",{className:"text-sm font-normal text-neutral-700",dangerouslySetInnerHTML:{__html:(null==Te?void 0:Te.sectionDescription)?null==Te?void 0:Te.sectionDescription:""}})]}),"consultation-layout"===ie?l.jsxs("div",{id:q,className:"zigzag-wrapper flex flex-wrap items-stretch w-full lg:min-h-[600px] bg-secondary-warmGreyNew",children:[l.jsx("div",{className:`content-block flex flex-col justify-center order-2 px-6 py-10 lg:px-[100px] lg:py-0 w-full md:w-6/12 ${te===u.WIDGET_CHECK_TRUE?"lg:order-2":"lg:order-1"} ${ae}`,style:{...ke,backgroundColor:ne===(null==(_=u)?void 0:_.WIDGET_CHECK_TRUE)&&(null==ke?void 0:ke.backgroundColor)?ke.backgroundColor:"#947039"},children:l.jsxs("div",{className:"content-stretch flex flex-col gap-3 md:gap-6 justify-center text-white "+((null==ae?void 0:ae.includes("center"))?"items-center text-center":(null==ae?void 0:ae.includes("right"))?"items-end text-right":"items-start text-left"),children:[l.jsxs("div",{className:"flex flex-col gap-3 md:gap-6 "+((null==ae?void 0:ae.includes("center"))?"items-center":(null==ae?void 0:ae.includes("right"))?"items-end":"items-start"),children:[(null==Te?void 0:Te.tagLine)&&l.jsx("div",{className:"font-secondary italic leading-none text-2xl lg:text-[24px] [&_*]:!m-0 [&_*]:!text-inherit",style:Re,dangerouslySetInnerHTML:{__html:null==Te?void 0:Te.tagLine}}),(null==Te?void 0:Te.headingText)&&l.jsx(Ie,{className:"font-secondary leading-[1.2] text-3xl lg:text-[36px] [&_*]:!m-0 [&_*]:!text-inherit",style:Se,dangerouslySetInnerHTML:{__html:null==Te?void 0:Te.headingText}})]}),(null==Te?void 0:Te.description)&&l.jsx("div",{className:"font-primary font-normal leading-[24px] text-base lg:text-[16
1px] whitespace-pre-wrap w-full max-w-[492px] [&_*]:!m-0 [&_*]:!text-inherit",style:Ue,dangerouslySetInnerHTML:{__html:null==Te?void 0:Te.description}}),Array.isArray(null==Te?void 0:Te.layout_button)&&(null==Te?void 0:Te.layout_button.length)>0?l.jsx("div",{className:"flex flex-col gap-[6px] w-full "+((null==ae?void 0:ae.includes("center"))?"items-center":(null==ae?void 0:ae.includes("right"))?"items-end":"items-start"),children:Te.layout_button.map(((e,t)=>{var n;if(!(null==(n=null==e?void 0:e.button_text)?void 0:n.trim()))return null;return t>0?(null==e?void 0:e.button_text)&&l.jsxs("div",{className:"flex items-center gap-1 py-[10px] lg:ml-[22px]",children:[xe!==u.WIDGET_CHECK_TRUE&&l.jsx("span",{style:{color:Be},className:"text-[12px] font-normal tracking-[0.64px] uppercase",children:Ce("components.cms_library.zig_zag_banner.or")}),l.jsx(p,{style:{color:Be},className:"button-secondary-style text-[12px] font-normal tracking-[0.64px] uppercase hover:underline text-center inline-block",dangerouslySetInnerHTML:{__html:e.button_text},to:(null==e?void 0:e.button_link)||"/",target:(null==e?void 0:e.open_link_in_new_tab)?"_blank":"_self"},`btn-${t}`)]},`btn-wrapper-${t}`):(null==e?void 0:e.button_text)&&l.jsx(p,{style:{color:Be,borderColor:Be},className:"button-style border px-[33px] py-[14px] text-[12px] font-medium tracking-[0.48px] uppercase hover:bg-white hover:text-black transition-colors text-center inline-block",dangerouslySetInnerHTML:{__html:e.button_text},to:(null==e?void 0:e.button_link)||"/",target:(null==e?void 0:e.open_link_in_new_tab)?"_blank":"_self"},`btn-${t}`)}))}):(null==(y=null==Te?void 0:Te.primaryButtonText)?void 0:y.trim())&&l.jsx("div",{className:"flex flex-col gap-[6px] w-full "+((null==ae?void 0:ae.includes("center"))?"items-center":(null==ae?void 0:ae.includes("right"))?"items-end":"items-start"),children:ce===(null==(b=u)?void 0:b.WIDGET_CHECK_TRUE)?l.jsx(p,{style:{color:Be},className:"button-secondary-style py-[10px] text-[12px] font-medium tracking-[0.64px] uppercase hover:underline text-center inline-block",dangerouslySetInnerHTML:{__html:(null==(f=null==Te?void 0:Te.primaryButtonText)?void 0:f.trim())?null==Te?void 0:Te.primaryButtonText:""},to:(null==Te?void 0:Te.primaryButtonLink)||"/"}):l.jsx(p,{style:{color:Be,borderColor:Be},className:"button-style border px-[33px] py-[14px] text-[12px] font-medium tracking-[0.48px] uppercase hover:bg-white hover:text-black transition-colors text-center inline-block",dangerouslySetInnerHTML:{__html:(null==(T=null==Te?void 0:Te.primaryButtonText)?void 0:T.trim())?null==Te?void 0:Te.primaryButtonText:""},to:(null==Te?void 0:Te.primaryButtonLink)||"/"})})]})}),l.jsx("div",{className:"image-block relative h-[300px] md:h-auto md:min-h-[300px] w-full order-1 md:w-6/12 "+(te===u.WIDGET_CHECK_TRUE?"lg:order-1":"lg:order-2"),children:Te.bannerVideoLink&&Te.bannerVideoLink.length?l.jsx("div",{className:"video-wrapper relative h-full w-full",children:l.jsx(m,{autoplay:!0,url:null==Te?void 0:Te.bannerVideoLink,height:600,lazyLoad:!0})}):(null==Te?void 0:Te.videoUrl)&&(null==Te?void 0:Te.videoUrl.length)?l.jsx("div",{className:"video-wrapper relative h-full w-full",children:l.jsx(m,{autoplay:!0,url:null==Te?void 0:Te.videoUrl,height:600,lazyLoad:!0})}):(null==Te?void 0:Te.bannerImageLink)&&l.jsx(l.Fragment,{children:(null==Te?void 0:Te.imageLink)?l.jsx(p,{to:null==Te?void 0:Te.imageLink,className:"block w-full h-full md:absolute md:inset-0",children:l.jsx(v,{className:"object-cover h-full w-full md:absolute md:inset-0",options:je,src:null==Te?void 0:Te.bannerImageLink,height:(null==(w=null==Te?void 0:Te.bannerImageLink)?void 0:w.image_height)||"740",width:(null==(k=null==Te?void 0:Te.bannerImageLink)?void 0:k.image_width)||"740",name:`ExpZigZagBanner${q}`,lazyLoad:pe===u.WIDGET_CHECK_TRUE,preLoad:ue===(null==(E=u)?void 0:E.WIDGET_CHECK_TRUE),retina:!0,alt:null==Te?void 0:Te.headingText,title:null==Te?void 0:Te.headingText})}):l.jsx(v,{className:"object-cover h-full w-full md:absolute md:inset-0",options:je,src:null==Te?void 0:Te.bannerImageLink,height:(null==(L=null==Te?void 0:Te.bannerImageLink)?void 0:L.image_height)||"740",width:(null==(j=null==Te?void 0:Te.bannerImageLink)?void 0:j.image_width)||"740",name:`ExpZigZagBanner${q}`,lazyLoad:pe===u.WIDGET_CHECK_TRUE,preLoad:ue===(null==(C=u)?void 0:C.WIDGET_CHECK_TRUE),retina:!0,alt:null==Te?void 0:Te.headingText,title:null==Te?void 0:Te.headingText})})})]}):"product-category"===ie?l.jsx("div",{id:q,className:"zigzag-wrapper w-full",style:ke,children:l.jsxs("div",{className:"container product-category-mobile-container mx-auto flex flex-wrap items-center w-full",children:[l.jsx("div",{className:`content-block flex flex-col justify-center order-2 px-6 py-10 lg:py-16 lg:pl-16 lg:pr-16 w-full lg:w-5/12 ${te===u.WIDGET_CHECK_TRUE?"lg:order-2":"lg:order-1"} ${ae}`,children:l.jsxs("div",{className:"content-stretch flex flex-col gap-4 w-full "+((null==ae?void 0:ae.includes("center"))?"items-center text-center":(null==ae?void 0:ae.includes("right"))?"items-end text-right":"items-start text-left"),children:[l.jsxs("div",{className:"flex flex-col gap-2 "+((null==ae?void 0:ae.includes("center"))?"items-center":(null==ae?void 0:ae.includes("right"))?"items-end":"items-start"),children:[Ge&&l.jsx("div",{className:"font-primary font-medium text-xs text-primary-default tracking-widest uppercase leading-none whitespace-nowrap product-category-discount [&_*]:!m-0",dangerouslySetInnerHTML:{__html:Ge}}),(null==Te?void 0:Te.headingText)&&l.jsx(Ie,{className:`font-secondary leading-tight text-3xl lg:${oe} text-black [&_*]:!m-0 [&_*]:!text-inherit`,style:{...Se,lineHeight:"1.2"},dangerouslySetInnerHTML:{__html:null==Te?void 0:Te.headingText}})]}),(null==Te?void 0:Te.description)&&l.jsx("div",{className:"product-category-description font-primary font-normal leading-relaxed text-neutral-600 text-sm [&_*]:!text-inherit w-full max-w-md "+((null==ae?void 0:ae.includes("center"))?"mx-auto text-center":(null==ae?void 0:ae.includes("right"))?"ml-auto text-right":"text-left"),style:Ue,dangerouslySetInnerHTML:{__html:null==Te?void 0:Te.description}}),Array.isArray(null==Te?void 0:Te.layout_button)&&Te.layout_button.some((e=>{var l;return null==(l=null==e?void 0:e.button_text)?void 0:l.trim()}))?l.jsx("div",{className:`flex flex-row flex-wrap gap-4 w-full mt-4 ${(null==ae?void 0:ae.includes("center"))?"justify-center":(null==ae?void 0:ae.includes("right"))?"justify-end":"justify-start"} items-center`,children:Te.layout_button.map(((e,t)=>{var n;if(!(null==(n=null==e?void 0:e.button_text)?void 0:n.trim()))return null;const o=t>0;return l.jsx(p,{style:o?{color:Be}:{color:Be,borderColor:Be},className:o?"button-secondary-style py-2 text-xs font-medium tracking-wide uppercase hover:underline text-center inline-block":"button-style border px-8 py-3 text-xs font-medium tracking-wide uppercase hover:bg-white hover:text-black transition-colors text-center inline-block",dangerouslySetInnerHTML:{__html:e.button_text},to:(null==e?void 0:e.button_link)||"/",target:(null==e?void 0:e.open_link_
1in_new_tab)?"_blank":"_self"},`btn-${t}`)}))}):(null==(D=null==Te?void 0:Te.primaryButtonText)?void 0:D.trim())&&l.jsx("div",{className:`flex flex-row flex-wrap gap-4 w-full mt-4 ${(null==ae?void 0:ae.includes("center"))?"justify-center":(null==ae?void 0:ae.includes("right"))?"justify-end":"justify-start"} items-center`,children:ce===(null==(I=u)?void 0:I.WIDGET_CHECK_TRUE)?l.jsx(p,{style:{color:Be},className:"button-secondary-style py-2 text-xs font-medium tracking-wide uppercase hover:underline text-center inline-block",dangerouslySetInnerHTML:{__html:(null==(N=null==Te?void 0:Te.primaryButtonText)?void 0:N.trim())?null==Te?void 0:Te.primaryButtonText:""},to:(null==Te?void 0:Te.primaryButtonLink)||"/"}):l.jsx(p,{style:{color:Be,borderColor:Be},className:"button-style border px-8 py-3 text-xs font-medium tracking-wide uppercase hover:bg-white hover:text-black transition-colors text-center inline-block",dangerouslySetInnerHTML:{__html:(null==(H=null==Te?void 0:Te.primaryButtonText)?void 0:H.trim())?null==Te?void 0:Te.primaryButtonText:""},to:(null==Te?void 0:Te.primaryButtonLink)||"/"})})]})}),l.jsx("div",{className:"image-block relative p-0 lg:py-12 w-full order-1 lg:w-7/12 "+(te===u.WIDGET_CHECK_TRUE?"lg:order-1":"lg:order-2"),children:Te.bannerVideoLink&&Te.bannerVideoLink.length?l.jsx("div",{className:"video-wrapper relative w-full overflow-hidden",style:{height:"325px"},children:l.jsx(m,{autoplay:!0,url:null==Te?void 0:Te.bannerVideoLink,height:325,lazyLoad:!0})}):(null==Te?void 0:Te.videoUrl)&&(null==Te?void 0:Te.videoUrl.length)?l.jsx("div",{className:"video-wrapper relative w-full overflow-hidden",style:{height:"325px"},children:l.jsx(m,{autoplay:!0,url:null==Te?void 0:Te.videoUrl,height:325,lazyLoad:!0})}):(null==Te?void 0:Te.bannerImageLink)&&l.jsx(l.Fragment,{children:(null==Te?void 0:Te.imageLink)?l.jsx(p,{to:null==Te?void 0:Te.imageLink,className:"block w-full overflow-hidden",style:{height:"325px"},children:l.jsx(v,{className:"object-cover w-full h-full",options:je,src:null==Te?void 0:Te.bannerImageLink,height:(null==($=null==Te?void 0:Te.bannerImageLink)?void 0:$.image_height)||"740",width:(null==(S=null==Te?void 0:Te.bannerImageLink)?void 0:S.image_width)||"740",name:`ExpZigZagBanner${q}`,lazyLoad:pe===u.WIDGET_CHECK_TRUE,preLoad:ue===(null==(R=u)?void 0:R.WIDGET_CHECK_TRUE),retina:!0,alt:null==Te?void 0:Te.headingText,title:null==Te?void 0:Te.headingText})}):l.jsx("div",{className:"block w-full overflow-hidden",style:{height:"325px"},children:l.jsx(v,{className:"object-cover w-full h-full",options:je,src:null==Te?void 0:Te.bannerImageLink,height:(null==(U=null==Te?void 0:Te.bannerImageLink)?void 0:U.image_height)||"740",width:(null==(B=null==Te?void 0:Te.bannerImageLink)?void 0:B.image_width)||"740",name:`ExpZigZagBanner${q}`,lazyLoad:pe===u.WIDGET_CHECK_TRUE,preLoad:ue===(null==(F=u)?void 0:F.WIDGET_CHECK_TRUE),retina:!0,alt:null==Te?void 0:Te.headingText,title:null==Te?void 0:Te.headingText})})})})]})}):l.jsx("div",{className:"zigzag-wrapper",style:ne===(null==(z=u)?void 0:z.WIDGET_CHECK_TRUE)&&"container full-width"!==ie?ke:{},children:l.jsxs("div",{className:"flex flex-wrap items-stretch lg:-mx-4",children:[l.jsx("div",{className:`content-block flex flex-col justify-center order-2 px-4 pb-6 md:pb-0 ${te===u.WIDGET_CHECK_TRUE?"lg:order-2 lg:-ml-6":"lg:order-1 "} md:w-6/12 ${ae}`,children:l.jsxs("div",{className:`content-block-wrap md:py-8 lg:px-16 ${ne===(null==(G=u)?void 0:G.WIDGET_CHECK_TRUE)?"p-4 pt-0":""}\n                      `,children:[(null==Te?void 0:Te.headingText)&&l.jsx(Ie,{className:`heading mb-2 font-secondary text-2xl lg:${oe}`,style:ye,dangerouslySetInnerHTML:{__html:(null==Te?void 0:Te.headingText)?null==Te?void 0:Te.headingText:""}}),(null==Te?void 0:Te.tagLine)&&l.jsx("p",{className:"tagLineColor mb-6 text-sm text-neutral-700",style:be,dangerouslySetInnerHTML:{__html:(null==Te?void 0:Te.tagLine)?null==Te?void 0:Te.tagLine:""}}),l.jsx("div",{className:"description space-y-4 text-sm text-neutral-700 [&_ol]:[counter-reset:section] [&_ol_li]:[counter-increment:section] [&_ol_li]:before:![content:'0'counters(section,'.')] [&_ol_li]:relative [&_ol_li]:before:h-[calc(100%-2rem)] [&_ol_li]:before:absolute [&_ol_li]:before:left-0 [&_ol_li]:before:top-4 [&_ol_li]:before:text-sm [&_ol_li]:before:text-neutral-400 [&_ol_li]:pl-11 lg:[&_ol_li]:pl-16 [&_ol_li]:py-4 [&_ol_li]:before:pr-3 lg:[&_ol_li]:before:pr-6 [&_ol_li]:before:border-r [&_ol_li]:before:border-neutral-200 [&_ol_li]:text-neutral-900 [&_ol_li]:text-sm [&_ul_li]:pl-4 [&_ul_li]:before:absolute [&_ul_li]:relative [&_ul_li]:before:left-0 [&_ul_li]:before:top-2 [&_ul_li]:before:bg-neutral-700 [&_ul_li]:before:w-1.5 [&_ul_li]:before:h-1.5 [&_ul_li]:before:rounded-full [&_ul_li]:text-neutral-700",style:fe,dangerouslySetInnerHTML:{__html:(null==Te?void 0:Te.description)?null==Te?void 0:Te.description:""}}),Array.isArray(null==Te?void 0:Te.layout_button)&&Te.layout_button.some((e=>{var l;return null==(l=null==e?void 0:e.button_text)?void 0:l.trim()}))?l.jsx("div",{className:`flex items-center flex-wrap gap-4 mt-6 lg:mt-8 first:mt-0 justify-center ${De}`,children:Te.layout_button.map(((e,t)=>{var n,o,i;if(!(null==(n=null==e?void 0:e.button_text)?void 0:n.trim()))return null;const a=e.button_style,r="Secondary Button"===a,d="Primary Red Button"===a;return l.jsx(p,{style:ce===(null==(o=u)?void 0:o.WIDGET_CHECK_TRUE)?Le:d?void 0:r?Le:Ee,className:ce===(null==(i=u)?void 0:i.WIDGET_CHECK_TRUE)?"button-secondary button-large button-secondary-style":d?"button-primary-red":r?"button-secondary button-large button-secondary-style":"button-primary button-large button-style",dangerouslySetInnerHTML:{__html:null==e?void 0:e.button_text},to:(null==e?void 0:e.button_link)||"/",target:(null==e?void 0:e.open_link_
1in_new_tab)?"_blank":"_self"},`button-${t}`)}))}):(null==(K=null==Te?void 0:Te.primaryButtonText)?void 0:K.trim())&&l.jsx("div",{className:`flex justify-center ${De} mt-6 lg:mt-8`,children:ce===(null==(V=u)?void 0:V.WIDGET_CHECK_TRUE)?l.jsx(p,{style:Le,className:"button-secondary button-large button-secondary-style",dangerouslySetInnerHTML:{__html:(null==(W=null==Te?void 0:Te.primaryButtonText)?void 0:W.trim())?null==Te?void 0:Te.primaryButtonText:""},to:null==Te?void 0:Te.primaryButtonLink}):l.jsx(p,{style:Ee,className:"button-primary button-large button-style",dangerouslySetInnerHTML:{__html:(null==(M=null==Te?void 0:Te.primaryButtonText)?void 0:M.trim())?null==Te?void 0:Te.primaryButtonText:""},to:null==Te?void 0:Te.primaryButtonLink})})]})}),l.jsx("div",{className:`image-block h-full order-1 mb-6 md:mb-0 px-0 lg:px-4 w-full ${te===u.WIDGET_CHECK_TRUE?"lg:order-1":"lg:order-2"} md:w-6/12`,children:Te.bannerVideoLink&&Te.bannerVideoLink.length?l.jsx("div",{className:"video-wrapper relative h-0 pb-[17.5rem]",children:l.jsx(m,{autoplay:!0,url:null==Te?void 0:Te.bannerVideoLink,height:280,lazyLoad:!0})}):(null==Te?void 0:Te.videoUrl)&&(null==Te?void 0:Te.videoUrl.length)?l.jsx("div",{className:"video-wrapper relative h-0 pb-[17.5rem]",children:l.jsx(m,{autoplay:!0,url:null==Te?void 0:Te.videoUrl,height:280,lazyLoad:!0})}):(null==Te?void 0:Te.bannerImageLink)&&l.jsx(l.Fragment,{children:(null==Te?void 0:Te.imageLink)?l.jsx(p,{to:null==Te?void 0:Te.imageLink,className:"h-full block",children:l.jsx(v,{className:"object-cover h-full w-full",options:je,src:null==Te?void 0:Te.bannerImageLink,height:(null==(A=null==Te?void 0:Te.bannerImageLink)?void 0:A.image_height)||"740",width:(null==(O=null==Te?void 0:Te.bannerImageLink)?void 0:O.image_width)||"740",name:`ExpZigZagBanner${q}`,lazyLoad:pe===u.WIDGET_CHECK_TRUE,preLoad:ue===(null==(Z=u)?void 0:Z.WIDGET_CHECK_TRUE),retina:!0,alt:null==Te?void 0:Te.headingText,title:null==Te?void 0:Te.headingText})}):l.jsx(v,{className:"object-cover h-full w-full",options:je,src:null==Te?void 0:Te.bannerImageLink,height:(null==(P=null==Te?void 0:Te.bannerImageLink)?void 0:P.image_height)||"740",width:(null==(J=null==Te?void 0:Te.bannerImageLink)?void 0:J.image_width)||"740",name:`ExpZigZagBanner${q}`,lazyLoad:pe===u.WIDGET_CHECK_TRUE,preLoad:ue===(null==(Y=u)?void 0:Y.WIDGET_CHECK_TRUE),retina:!0,alt:null==Te?void 0:Te.headingText,title:null==Te?void 0:Te.headingText})})})]})})]})})})]})};export{y as default};

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.