PageSourceSearch

https://www.eufymake.com/_next/static/chunks/8426.0754a38fa50a142f.js

js eufymake.com collected 2026-10-02 06:04:32 UTC 70,544 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="186517a5-f017-4665-b08a-de3de2a3d785",e._sentryDebugIdIdentifier="sentry-dbid-186517a5-f017-4665-b08a-de3de2a3d785")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8426],{38518:function(e,t,l){l.r(t),l.d(t,{CldSection:function(){return eM},default:function(){return eP}});var a=l(85893),n=l(30579),i=l.n(n),o=l(37156),s=l(67294),r=l(15216),d=l(50361),c=l.n(d),u=l(13910),p=l(59081),x=l(93967),m=l.n(x),v=l(27441),h=l(31730),f=l(28367),b=l(76422),g=l(71524),y=l(15053),j=l.n(y),w=l(59626),N=l(28288),k=l(34526),_=l(87745);let C=e=>{let{fields:t=[],config:l,tooltip:n,onCalculate:i}=e,{title:o="Enter Your Item Details",description:r="",submitBtn:d="Calculate Fees",resetBtn:c="Reset"}=l||{},[u,x]=(0,s.useState)({}),[m,v]=(0,s.useState)({}),[h,f]=(0,s.useState)({}),[b,g]=(0,s.useState)({}),y=(e,t)=>{let l=Number(t);""!==t&&l<0||x(l=>({...l,[e]:t}))},j=(e,t)=>{let l=Number(t);""!==t&&l<0||v(l=>({...l,[e]:t}))},C=e=>{f(t=>({...t,[e]:!t[e]}))};return(0,a.jsxs)("section",{children:[(0,a.jsx)(p.xv,{as:"div",className:"mb-[24px] text-[24px] font-[700] leading-[1.2] text-[#1D1D1F] l1:text-[20px] xl1:mb-[16px] custom:text-[20px]",html:o}),(0,a.jsx)("div",{className:"space-y-[24px] l1:space-y-[16px] custom:space-y-[20px]",children:t.map(e=>{var t;return(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsxs)("div",{className:"mb-[14px] flex items-center justify-between gap-[8px] l1:mb-[8px] custom:mb-[12px]",children:[(0,a.jsxs)("div",{className:"flex flex-row items-center",children:[(0,a.jsx)(p.xv,{as:"label",className:"text-[24px] font-[700] text-[#1D1D1F] l1:text-[14px] custom:text-[20px]",html:e.label}),e.required&&(0,a.jsx)(p.xv,{as:"span",className:"text-red-700 text-[12px]",html:"*"}),e.tooltip&&(0,a.jsx)(w.Z,{title:e.tooltip,placement:"top",arrow:!0,children:(0,a.jsx)("div",{children:(0,a.jsx)(_.t,{url:n,className:"ml-[4px] inline-flex h-[16px] w-[16px] cursor-pointer items-center justify-center rounded-full"})})})]}),(0,a.jsx)("div",{children:(null==e?void 0:e.rightText)&&(0,a.jsxs)("div",{className:"flex flex-row items-center gap-[4px]",children:[h[e.id]?(0,a.jsx)(_.t,{url:null==e?void 0:e.rightMinus,className:"size-[24px] l1:size-[18px] custom:size-[20px]"}):(0,a.jsx)(_.t,{url:null==e?void 0:e.rightAdd,className:"size-[24px] l1:size-[18px] custom:size-[20px]"}),(0,a.jsx)(p.xv,{as:"span",onClick:()=>C(e.id),className:"cursor-pointer text-[24px]  font-bold leading-tight text-[#080A0F] underline l1:text-[14px] custom:text-[20px]",html:h[e.id]?null==e?void 0:e.rightMinusText:e.rightText})]})})]}),"select"===e.type?(0,a.jsxs)(N.Z,{value:u[e.id]||"",onChange:t=>y(e.id,t.target.value),displayEmpty:!0,placeholder:e.placeholder||"Please select",className:"rounded-[6px] border border-[#E5E7EB]  text-[24px] leading-[1.5] text-[#1D1D1F] l1:text-[14px] custom:text-[20px]",sx:{"& .MuiSelect-select":{padding:"12px 16px"},"& .MuiOutlinedInput-notchedOutline":{border:"none"},"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:"#E5E7EB"},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:"#22C55E"}},children:[(0,a.jsx)(k.Z,{value:"",disabled:!0,children:e.placeholder||"Please select"}),null===(t=e.options)||void 0===t?void 0:t.map(e=>(0,a.jsx)(k.Z,{value:e.id,children:e.txt},e.id))]}):"toggle"===e.type?(0,a.jsxs)("div",{className:"mt-[16px]",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between md:flex-col md:items-start md:gap-[6px]",children:[(0,a.jsxs)("label",{className:"flex cursor-pointer items-center gap-[16px]",children:[(0,a.jsx)(p.xv,{as:"span",className:"text-[24px] font-bold leading-tight text-[#080A0F] l1:text-[14px] custom:text-[20px]",html:e.toggleLabel||""}),(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("input",{type:"checkbox",className:"peer sr-only",checked:"true"===u[e.id],onChange:t=>y(e.id,t.target.checked?"true":"false")}),(0,a.jsx)("div",{className:"h-[24px] w-[44px] rounded-full bg-[#767880] transition-colors peer-checked:bg-brand-color"}),(0,a.jsx)("div",{className:"absolute left-[2px] top-[2px] h-[20px] w-[20px] rounded-full bg-white transition-transform peer-checked:translate-x-[20px]"})]})]}),"true"===u[e.id]&&e.feePercentageOptions&&(0,a.jsxs)("div",{className:"flex items-center gap-[16px]",children:[(0,a.jsx)(p.xv,{as:"span",className:"text-[16px] font-[500] text-[#6B7280]",html:"Fee percentage"}),(0,a.jsx)(N.Z,{value:b[e.id]||e.feePercentageDefault||"12%",onChange:t=>g(l=>({...l,[e.id]:t.target.value}
1)),className:"rounded-[6px] border border-[#E5E7EB] text-[16px] leading-[1.5] text-[#1D1D1F]",sx:{"& .MuiSelect-select":{padding:"8px 32px 8px 12px"},"& .MuiOutlinedInput-notchedOutline":{border:"none"},"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:"#E5E7EB"},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:"#22C55E"}},children:e.feePercentageOptions.map(e=>(0,a.jsx)(k.Z,{value:e.value,children:e.label},e.value))})]})]}),"true"===u[e.id]&&e.feeExplanation&&(0,a.jsx)("div",{className:"mt-[12px] space-y-[4px]",children:e.feeExplanation.map((e,t)=>(0,a.jsx)(p.xv,{as:"p",className:"text-[14px] leading-[1.5] text-[#6B7280]",html:"".concat(e.percentage," — ").concat(e.description)},t))})]}):e.showCheckout?(0,a.jsx)("div",{children:h[e.id]?(0,a.jsxs)("div",{className:"space-y-[16px]",children:[(0,a.jsx)("div",{className:"grid grid-cols-3 gap-[16px]",children:(e.checkoutFields||[]).map(e=>(0,a.jsxs)("div",{className:"flex flex-col md:justify-between",children:[(0,a.jsx)(p.xv,{as:"label",className:"mb-[8px] text-[16px] font-[700] text-[#000]",html:e.label}),(0,a.jsx)("input",{type:"number",className:"w-full rounded-[6px] border border-[#DADCE0] p-[12px] text-[16px] font-bold leading-[1.4] text-[#1D1D1F] placeholder:text-[#9CA3AF] focus:border-[#22C55E] focus:outline-none",placeholder:"0",value:m[e.id]||"",onChange:t=>j(e.id,t.target.value)})]},e.id))}),(0,a.jsxs)("div",{className:"flex items-center justify-between border-b border-[#DADCE0] pb-[16px]",children:[(0,a.jsx)(p.xv,{as:"span",className:"text-[24px] font-[700] text-[#080a0f] l1:text-[14px] custom:text-[20px]",html:null==e?void 0:e.totalLabel}),(0,a.jsx)(p.xv,{as:"span",className:"text-[24px] font-[700] text-[#080a0f] l1:text-[14px] custom:text-[20px]",html:"$ ".concat(((Number(m.material_cost)||0)+(Number(m.labour_cost)||0)+(Number(m.gift_wrap_cost)||0)).toFixed(2))})]})]}):(0,a.jsx)("input",{type:"number"===e.type?"number":"text",className:"w-full rounded-[6px] border border-[#DADCE0] p-[16px] text-[16px] font-bold leading-[1.4] text-[#1D1D1F] placeholder:text-[#9CA3AF] focus:border-[#22C55E] focus:outline-none",placeholder:e.placeholder||"0",value:u[e.id]||"",onChange:t=>y(e.id,t.target.value)})}):(0,a.jsx)("input",{type:"number"===e.type?"number":"text",className:"w-full rounded-[6px] border border-[#DADCE0] p-[16px] text-[16px] font-bold leading-[1.4] text-[#1D1D1F] placeholder:text-[#9CA3AF] focus:border-[#22C55E] focus:outline-none",placeholder:e.placeholder||"0",value:u[e.id]||"",onChange:t=>y(e.id,t.target.value)})]},e.id)})}),(0,a.jsx)("div",{className:"mt-[36px] flex l1:mt-[16px] custom:mt-[20px]",children:(0,a.jsx)(p.zx,{className:"flex-1 rounded-full bg-brand-color px-[24px] py-[12px] text-[24px]  font-[700] leading-tight text-[#080A0F] l1:text-[14px] custom:text-[20px]",onClick:()=>{var e,l,a;null==i||i({values:u,checkoutValues:m,showCheckout:!!h[(null===(e=t.find(e=>e.showCheckout))||void 0===e?void 0:e.id)||""],feePercentage:Number((null===(l=b[(null===(a=t.find(e=>e.showCheckout))||void 0===a?void 0:a.id)||""])||void 0===l?void 0:l.replace("%",""))||12)})},children:d})})]})},S=e=>{var t;let{data:l,size:n=228,strokeWidth:i=60}=e,o=(0,s.useMemo)(()=>l.reduce((e,t)=>e+t.value,0),[l]),r=(n-i)/2,d=2*Math.PI*r,c=n/2,[u,p]=(0,s.useState)(null),[x,m]=(0,s.useState)({x:0,y:0}),v=(0,s.useMemo)(()=>{let e=-90;return l.map(t=>{let l=o>0?t.value/o:0,a=e;return e+=360*l,{...t,percentage:l,startAngle:a}})},[l,o]),h=(0,s.useCallback)(e=>{let t=e.currentTarget.parentElement;if(!t)return;let l=t.getBoundingClientRect();m({x:e.clientX-l.left,y:e.clientY-l.top})},[]),f=null!==u?v[u]:null;return(0,a.jsxs)("div",{className:"relative inline-block",children:[(0,a.jsxs)("svg",{width:n,height:n,className:"custom:scale-[0.8]",onMouseLeave:()=>p(null),onMouseMove:h,children:[(0,a.jsx)("style",{children:"\n          .donut-segment { transition: opacity 0.3s; }\n          .donut-segment.dimmed { opacity: 1; }\n        "}),v.map((e,t)=>{let l=e.percentage*d;return(0,a.jsx)("circle",{cx:c,cy:c,r:r,fill:"transparent",stroke:e.color,strokeWidth:i,strokeDasharray:"".concat(l," ").concat(d-l),strokeDashoffset:d/4,transform:"rotate(".concat(e.startAngle," ").concat(c," ").concat(c,")"),className:"cursor-pointer donut-segment".concat(null!==u&&u!==t?" dimmed":""),style:{pointerEvents:"visibleStroke"},onMouseEnter:()=>p(t)},t)}
1)]}),f&&(0,a.jsxs)("div",{className:"pointer-events-none absolute z-10 whitespace-nowrap rounded-[6px] bg-[#000]/60 px-[10px] py-[6px] text-[12px] text-white shadow-lg",style:{left:x.x,top:x.y-40,transform:"translateX(-50%)"},children:[(0,a.jsx)("div",{className:"font-bold",children:f.label}),(0,a.jsx)("div",{className:"font-[700]",children:null!==(t=f.displayValue)&&void 0!==t?t:f.value}),(0,a.jsx)("div",{className:"absolute left-1/2 top-full h-0 w-0 -translate-x-1/2 border-x-[5px] border-t-[5px] border-x-transparent border-t-[#1D1D1F]"})]})]})},T=e=>{let{config:t,calculationResults:l,tooltipIcon:n="",formValues:i={},formatPrice:o=e=>"$".concat(e.toFixed(2))}=e,{title:r="Your Full Cost Breakdown",tooltip:d="",rightIcon:c="",rightText:u="",tip:x="",chartData:v=[],summaryCards:h=[],costList:f=[]}=t||{},[b,g]=(0,s.useState)(v),[y,j]=(0,s.useState)(h),[N,k]=(0,s.useState)(f),[C,T]=(0,s.useState)("0.00");return(0,s.useEffect)(()=>{if(!l){g(v),j(h),k(f),T("0.00");return}g(v.map(e=>{let t=e.value;e.resultKey&&(void 0!==l[e.resultKey]?t=l[e.resultKey]:void 0!==i[e.resultKey]&&(t=Number(i[e.resultKey])||0));let a="netProfit"===e.resultKey&&t<0?0:t;return{...e,value:a,rawValue:t}})),j(h.map(e=>{let t,a=e.value;return e.resultKey&&void 0!==l[e.resultKey]&&(t=l[e.resultKey],a="percent"===e.format||"profitMargin"===e.resultKey||"etsyFeesPercent"===e.resultKey||"etsyFees"===e.resultKey?"".concat(t.toFixed(1),"%"):o(t)),{...e,value:a,rawValue:t}})),k(f.map(e=>{let t,a=e.value;return e.resultKey&&(void 0!==l[e.resultKey]?a=o(t=l[e.resultKey]):void 0!==i[e.resultKey]&&(a=o(t=Number(i[e.resultKey])||0))),{...e,value:a,rawValue:t}})),T(void 0!==l.totalAllCosts?l.totalAllCosts.toFixed(2):"0.00")},[l,v,f,i,o,h]),(0,a.jsxs)("section",{children:[(0,a.jsxs)("div",{className:"xl1:mb-[16px mb-[24px] flex items-center gap-[8px]",children:[(0,a.jsx)(p.xv,{as:"div",className:"text-[24px] font-[700] leading-[1.2] text-[#1D1D1F] l:text-[20px] custom:text-[20px]",html:r}),d&&(0,a.jsx)(w.Z,{title:d,placement:"top",arrow:!0,children:(0,a.jsx)("div",{children:(0,a.jsx)(_.t,{url:n,className:"h-[16px] w-[16px] cursor-pointer"})})}),(0,a.jsx)("div",{className:"flex-1"}),c&&u&&(0,a.jsxs)("div",{className:"flex cursor-pointer items-center gap-[8px]",children:[(0,a.jsx)("img",{src:c,alt:u,className:"h-[24px] w-[24px]"}),(0,a.jsx)(p.xv,{as:"span",className:"text-[14px] font-[500] text-[#6B7280]",html:u})]})]}),y.length>0&&(0,a.jsx)("div",{className:"mb-[24px] grid grid-cols-3 gap-[16px] md:gap-[4px]",children:y.map(e=>{var t;let l="netProfit"===e.resultKey&&(null!==(t=e.rawValue)&&void 0!==t?t:0)<0;return(0,a.jsxs)("div",{className:"rounded-[8px] px-[16px] py-[12px]  text-center l:flex  l:flex-col l:justify-between xl1:px-[10px] xl1:py-[8px]",style:{backgroundColor:e.bgColor||"#F3F4F6"},children:[(0,a.jsx)(p.xv,{as:"div",className:"mb-[4px] text-[16px] font-bold leading-[1.2] text-[#6B7280] xl1:text-[14px]",html:e.label}),(0,a.jsx)(p.xv,{as:"div",className:m()("text-[18px] font-[700] xl1:text-[14px]",l?"text-[#ff4f4f]":"text-[#1D1D1F]"),html:e.value})]},e.id)})}),(0,a.jsx)("div",{className:"mb-[24px] rounded-[8px]",children:(0,a.jsxs)("div",{className:"flex items-center gap-[32px] l:flex-col l1:gap-[16px] custom:gap-[20px]",children:[l&&b.length>0&&(0,a.jsx)("div",{className:"relative flex-shrink-0",children:(0,a.jsx)(S,{data:b.map(e=>{var t;let l=null!==(t=e.rawValue)&&void 0!==t?t:e.value;return{...e,displayValue:"percent"===e.format?"".concat(l.toFixed(1),"%"):o(l)}}),size:228,strokeWidth:60})}),(0,a.jsx)("div",{className:"flex-1 space-y-[12px] l1:w-full xl1:space-y-[4px]",children:b.map((e,t)=>{var l,i;let s="netProfit"===e.resultKey&&(null!==(l=e.rawValue)&&void 0!==l?l:0)<0,r=null!==(i=e.rawValue)&&void 0!==i?i:e.value;return(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center gap-[8px]",children:[(0,a.jsx)("div",{className:"h-[12px] w-[12px] shrink-0 rounded-full",style:{backgroundColor:e.color}}),(0,a.jsx)(p.xv,{as:"span",className:"text-[16px] font-bold text-[#767880] l1:text-[14px] custom:text-[12px]",html:e.label}),e.tooltip&&(0,a.jsx)(w.Z,{title:e.tooltip,placement:"top",arrow:!0,children:(0,a.jsx)("div",{children:(0,a.jsx)(_.t,{url:n,className:"h-[14px] w-[14px] curs
1or-pointer"})})})]}),(0,a.jsx)(p.xv,{as:"span",className:m()("text-[16px] font-[700] leading-[1.4] l1:text-[14px] custom:text-[12px]",s?"text-[#ff4f4f]":"text-[#767880]"),html:"percent"===e.format?"".concat(r.toFixed(1),"%"):o(r)})]},t)})})]})}),N.length>0&&(0,a.jsx)("div",{className:"space-y-[8px]",children:N.map(e=>{var t;let l="netProfit"===e.resultKey&&(null!==(t=e.rawValue)&&void 0!==t?t:0)<0;return(0,a.jsxs)("div",{className:"flex items-center justify-between rounded-[8px] px-[16px] py-[8px] text-[24px] font-[700] l1:text-[14px] custom:text-[20px] ".concat(e.isTotal?"bg-[#F3F4F6]":""),children:[(0,a.jsx)(p.xv,{as:"span",html:e.label}),(0,a.jsx)(p.xv,{as:"span",html:e.value,className:m()(l?"text-[#ff4f4f]":"text-[#1D1D1F]")})]},e.id)})}),x&&(0,a.jsx)(p.xv,{as:"p",html:x,className:m()("mt-[16px] text-[12px] font-bold text-[#767880] [&_a]:underline")})]})};var F=l(4716);let E=e=>{let[t,l]=Math.abs(e).toFixed(2).split("."),a=t.replace(/\B(?=(\d{3})+(?!\d))/g,",");return"".concat(a,".").concat(l)},z=(e,t,l,a,n,i,o)=>{var s,r,d,c,u,p,x,m,v,h,f,b,g;let y=e=>void 0!==a[e]?Number(a[e])||0:Number(l[e])||0,j=e=>void 0!==o[e]?o[e]:y(e);switch(t.type){case"fixed":return null!==(s=t.value)&&void 0!==s?s:0;case"percentage":return(t.base||[]).reduce((e,t)=>e+y(t),0)*(null!==(r=t.rate)&&void 0!==r?r:0);case"percentage_plus_fixed":return(t.base||[]).reduce((e,t)=>e+y(t),0)*(null!==(d=t.rate)&&void 0!==d?d:0)+(null!==(c=t.fixed)&&void 0!==c?c:0);case"conditional_percentage":if("true"!==l[null!==(p=t.condition)&&void 0!==p?p:""])return 0;let w=null!==(m=null!==(x=null===(u=t.rates)||void 0===u?void 0:u["".concat(i,"%")])&&void 0!==x?x:t.defaultRate)&&void 0!==m?m:0;return(t.base||[]).reduce((e,t)=>e+y(t),0)*w;case"sum":return(t.items||[]).reduce((e,t)=>e+j(t),0);case"conditional_sum":if(n)return(t.breakdownFields||[]).reduce((e,t)=>e+y(t),0);return y(null!==(v=t.simpleField)&&void 0!==v?v:"");case"subtraction":return j(null!==(h=t.minuend)&&void 0!==h?h:"")-j(null!==(f=t.subtrahend)&&void 0!==f?f:"");case"percentage_of":{let e=j(null!==(b=t.denominator)&&void 0!==b?b:"");if(0===e)return 0;return j(null!==(g=t.numerator)&&void 0!==g?g:"")/e*100}default:return 0}},D=e=>{let{data:t}=e,{title:l="SMB Calculator",tooltip:n="",formFields:i=[],breakdownConfig:r={},calculationConfig:d}=t||{},{locale:c}
1=(0,o.useRouter)(),[u,x]=(0,s.useState)(null),[m,v]=(0,s.useState)({}),h=(0,s.useCallback)(e=>{let{values:t,checkoutValues:l,showCheckout:a,feePercentage:n}=e,i=(null==d?void 0:d.formulas)||{},o={};for(let e of["listingFee","transactionFee","paymentProcessingFee","offsiteAdsFee","totalEtsyFees","etsyFees","totalItemCost","totalAllCosts","netProfit","profitMargin","etsyFeesPercent"]){var s,r,c,u,p;if(i[e]){let s=i[e];o[e]=z(e,s,t,l,a,n,o)}else if("totalEtsyFees"===e)o[e]=(null!==(s=o.listingFee)&&void 0!==s?s:0)+(null!==(r=o.transactionFee)&&void 0!==r?r:0)+(null!==(c=o.paymentProcessingFee)&&void 0!==c?c:0)+(null!==(u=o.offsiteAdsFee)&&void 0!==u?u:0);else if("etsyFees"===e){let l=Number(t.sale_price)||0;o[e]=l>0?(null!==(p=o.totalEtsyFees)&&void 0!==p?p:0)/l*100:0}}x(o),v(t)},[d]);return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:"font-bold leading-[1.2] text-[#1D1D1F] l:leading-[1.4] l:text-[#333]",children:(0,a.jsxs)("div",{className:"",children:[(0,a.jsxs)("nav",{className:"my-[24px]",children:[(0,a.jsx)(p.xv,{as:"span",className:"text-[18px] text-[#6B7280] custom:text-[16px]",children:(0,a.jsx)("a",{href:"/",className:"hover:text-[#1D1D1F]",children:null==t?void 0:t.home})}),(0,a.jsx)(p.xv,{as:"span",className:"mx-[8px] text-[18px] text-[#6B7280]",html:"/"}),(0,a.jsx)(p.xv,{as:"span",className:"text-[18px] text-[#1D1D1F]",html:l})]}),(0,a.jsx)("div",{className:"rounded-[12px]  l:flex-col ",children:(0,a.jsxs)("div",{className:"flex gap-[16px] l1:flex-col",children:[(0,a.jsx)("div",{className:"min-l1:w-1/2 w-full rounded-[16px] bg-white p-[36px] l1:px-[16px] l1:py-[24px] custom:p-[20px]",children:(0,a.jsx)(C,{fields:i,config:t.formConfig,tooltip:n,onCalculate:h})}),(0,a.jsx)("div",{className:"min-l1:w-1/2 w-full rounded-[16px] bg-white p-[36px] l1:px-[16px] l1:py-[24px] custom:p-[20px]",children:(0,a.jsx)(T,{config:r,calculationResults:u,formValues:m,formatPrice:e=>(function(e,t){var l;let a=null!==(l=F.K5[t])&&void 0!==l?l:"$",n="";"ca"===t||"ca-fr"===t?n="CA":"au"===t&&(n="AU");let i=E(e),o=e<0?"-":"";return"".concat(o).concat(n).concat(a).concat(i)})(e,null!=c?c:"us"),tooltipIcon:n})})]})})]})})})};var I=l(48929);function L(e){let{data:t,seeBeforeText:l,seeAfterText:n,contrastIcon:i}=e,{afterImage:o,beforeImage:r,afterImageMobile:d,beforeImageMobile:c,title:u,beforeTitle:x}=t,[v,h]=(0,s.useState)(!1),f=v&&r||o,b=v?c||r||d||o:d||o,g=e=>null==e?void 0:e.toLowerCase().endsWith(".mp4"),y=g(f),j=g(b),w=!!(r&&o||c&&d),N=(0,s.useCallback)(()=>{h(e=>!e)},[]);return(0,a.jsx)("div",{className:"group flex flex-col",children:(0,a.jsxs)("div",{className:"relative overflow-hidden rounded-[16px] l:h-[360px] min-l:h-[312px] min-xl1:h-[420px] min-xxl:h-[520px] ",children:[f||b?(0,a.jsxs)(a.Fragment,{children:[f&&(0,a.jsx)("div",{className:"hidden size-full min-l:block",children:y?(0,a.jsx)("video",{className:"size-full object-cover",src:f,autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:"metadata"}):(0,a.jsx)(p.t,{className:"size-full",imgClassName:"size-full object-cover",source:f,alt:u||"",loading:"lazy"})}),b&&(0,a.jsx)("div",{className:"size-full min-l:hidden",children:j?(0,a.jsx)("video",{className:"size-full object-cover",src:b,autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:"metadata"}):(0,a.jsx)(p.t,{className:"size-full",imgClassName:"size-full object-cover",source:b,alt:u||"",loading:"lazy"})})]}):null,(x||u)&&(0,a.jsx)(p.xv,{html:v&&null!=x?x:u,className:"absolute bottom-[16px] left-[16px] right-[16px] z-10 text-[24px] font-bold leading-[1.2] text-[#080A0F] min-xl:bottom-[24px] min-xl:left-[24px] min-xl:right-[24px] min-xxl1:bottom-[32px] min-xxl1:left-[32px] min-xxl1:right-[32px] min-xxl1:text-[32px]"}),w&&(0,a.jsxs)("button",{type:"button",onClick:N,className:m()("absolute right-3 top-3 z-10 flex items-center gap-[6px] rounded-full bg-black/60 font-medium leading-[1.4] text-[#fff] backdrop-blur-sm transition-all ","px-[28px] py-[14px] text-[16px] l:px-[20px] l:py-[10px] l:text-[14px]"),children:[i&&(0,a.jsx)("img",{src:i,alt:"",className:"size-[18px]"}
1),v?n||"See After":l||"See Before"]})]})})}function P(e){var t;let{data:l}=e,{tabs:n,seeBeforeText:i,seeAfterText:o,contrastIcon:r}=l,[d,c]=(0,s.useState)((null===(t=n[0])||void 0===t?void 0:t.key)||""),u=(0,s.useCallback)(e=>{c(e)},[]),p=(e,t)=>(0,a.jsx)(L,{data:e,seeBeforeText:i,seeAfterText:o,contrastIcon:r},t);return(0,a.jsxs)("section",{className:"layer_max w-full overflow-hidden",children:[(0,a.jsx)("div",{className:"content mb-6 flex justify-center",children:(0,a.jsx)("div",{className:"inline-flex items-center rounded-[28px] bg-[#EAEAEC] p-1",children:n.map(e=>(0,a.jsx)("button",{type:"button",onClick:()=>u(e.key),className:m()("rounded-[24px] px-6 py-[10px] text-[16px] font-bold leading-[1.4] transition-all",e.key===d?"bg-white text-[#1A1A1A]":"text-[#6D6D6F] hover:text-[#3D3D3F]"),children:e.label},e.key))})}),n.map(e=>{var t,l;let n=null!==(t=e.topItems)&&void 0!==t?t:[],i=null!==(l=e.bottomItems)&&void 0!==l?l:[],o=[...n,...i],s=e.key===d;return(0,a.jsxs)("div",{className:m()(s?"":"hidden","content"),children:[(0,a.jsxs)("div",{className:m()(" min-l:flex-col min-l:gap-4",s?"hidden min-l:flex":"hidden"),children:[(0,a.jsx)("div",{className:"flex justify-center gap-4",children:n.map((e,t)=>(0,a.jsx)("div",{className:"1/2"===e.span?"w-1/2":"w-1/4",children:p(e,t)},t))}),(0,a.jsx)("div",{className:"flex justify-center gap-4",children:i.map((e,t)=>(0,a.jsx)("div",{className:"1/2"===e.span?"w-1/2":"w-1/4",children:p(e,t)},t))})]}),(0,a.jsx)("div",{className:m()("content min-l:hidden",s?"":"hidden"),children:(0,a.jsx)(I.tq,{slidesPerView:"auto",spaceBetween:16,className:"!overflow-visible",children:o.map((e,t)=>(0,a.jsx)(I.o5,{style:{width:296},children:p(e,t)},t))})})]},e.key)})]})}l(29578);let M="promotional_bar",A=e=>{if(!e)return;let{mobile:t,tablet:l,laptop:a,desktop:n,lgDesktop:i}=e,o=[],s=e=>null==e?void 0:e.url,r=s(i),d=s(n),c=s(a),u=s(l),p=s(t);return r?o.push(r):d?o.push(d):c?o.push(c):u?o.push(u):p&&o.push(p),d&&r&&o.push("".concat(d," 1920")),c&&(d||r)&&o.push("".concat(c," 1440")),u&&(c||d||r)&&o.push("".concat(u," 1024")),p&&(u||c||d||r)&&o.push("".concat(p," 768")),o.length>0?o.join(", "):void 0},B=s.forwardRef((e,t)=>{let{classNames:l,data:n,className:i,...o}=e,{locale:d="us",trackingData:c}=(0,r.useAiuiContext)(),u=(null==c?void 0:c.pageGroup)||"page",{backgroundImage:x,theme:m="dark",extra:v}=n,h=!!((null==v?void 0:v.calendarStartTime)&&(null==v?void 0:v.calendarEndTime)),[f,b]=s.useState(!1),[g,y]=s.useState(!1),j=s.useMemo(()=>{if(!h)return"";let e=new URLSearchParams({title:(null==v?void 0:v.calendarTitle)||n.contentTitle||"",description:(null==v?void 0:v.calendarDescription)||n.contentDesc||"",location:(null==v?void 0:v.calendarLocation)||"Online",startTime:v.calendarStartTime,endTime:v.calendarEndTime});return"/api/calendar/add-event?".concat(e.toString())},[h,v,n.contentTitle,n.contentDesc]),w=s.useMemo(()=>A(x),[x]),N=s.useRef(null);return(0,p.Hf)(N,{componentType:u,componentName:M,componentTitle:n.contentTitle||"",componentDescription:n.contentDesc||""}),(0,a.jsx)("div",{ref:N,...o,className:(0,p.cn)("h-[240px] text-[#080A0F] laptop:h-[192px] lg-desktop:h-[240px]",{"text-[#F5F6F7]":"dark"===m},null==l?void 0:l.root,i),children:(0,a.jsxs)("div",{className:"promotional-bar-content relative h-full overflow-hidden rounded-card",children:[(0,a.jsxs)("div",{className:(0,p.cn)("relative z-20 flex h-full flex-col p-4 tablet:px-8 laptop:max-w-[392px] laptop:justify-center laptop:px-8 laptop:py-0 laptop:pr-0 desktop:max-w-[584px] lg-desktop:max-w-[620px]",null==l?void 0:l.content),children:[n.contentTitle&&(0,a.jsx)(p.X6,{className:(0,p.cn)("line-clamp-2 ",null==l?void 0:l.title),html:n.contentTitle,size:3}),n.contentDesc&&(0,a.jsx)("p",{className:(0,p.cn)("mt-1 line-clamp-2 text-[14px] font-bold leading-[1.4] laptop:mt-2 laptop:text-[16px] lg-desktop:text-[18px] ",null==l?void 0:l.description),dangerouslySetInnerHTML:{__html:n.contentDesc}}),(0,a.jsx)("div",{className:"mt-2 laptop:mt-4",children:h&&(null==v?void 0:v.calendarButtonText)?(0,a.jsx)(p.zx,{variant:"primary",loading:f,onClick:e=>{var t,l,a,n;if(e.preventDefault(),f||g)return;b(!0),null===(l=window)||void 0===l||null===(t=l.dataLayer)||void 0===t||t.push({event_parameters:null}),null===(n=window)||void 0===n||null===(a=n.dataLayer)||void 0===a||a.push({event:"ga4Event",event_name:"lp_button",event_parameters:{page_group:"Activity Page_"+u,position:"promotional_bar",button_name:(null==v?void 0:v.calendarButtonText)||"Add to Calendar",info:"Add to Calendar"}});let i=document.createElement("a");i.href=j,i.download="eufymake-event.ics",document.body.appendChild(i),i.click(),document.body.removeChild(i),setTimeout(()=>{b(!1),y(!0)},1500)},className:(0,p.cn)("bg-white text-[#080A0F] disabled:bg-brand-0",null==l?void 0:l.button),children:v.calendarButtonText}):n.buttonText&&(0,a.jsx)(p.zx,{as:"a",variant:"primary",target:"_blank",rel:"noopener noreferrer",className:(0,p.cn)("bg-[#f5f6f7] text-[#1E2024] ",null==l?void 0:l.button),href:(0,p.N$)((0,p.yF)(n.buttonLink||"",d),"".concat((null==c?void 0:c.contextHandle)||"","_").concat(u,"_").concat(M)),iconClassName:"size-4","data-headless-type-name":"".concat(u,"#").concat(M),"data-headless-title-desc-button":"".concat(n.contentTitle||"","#").concat(n.contentDesc||"","#").concat(n.buttonText||""),children:n.buttonText})})]}),(0,a.jsx)(p.t,{source:w,className:"absolute inset-0 z-10 ",imgClassName:"h-full object-cover transition-transform duration-300 ease-in-out hover:scale-[1.05]"})]})})});B.displayName="PromotionalBar";var H=(0,r.withLayout)(B),W=l(61510);let R=e=>{let{label:t,isActive:l,onClick:n,buttonRef:i,pageHandle:o,position:s,memberActiveStatus:r}=e;return(0,a.jsx)("button",{ref:i,type:"button",onClick:()=>
1{if(window.dataLayer&&o&&t){let e=s?s.replace(/<[^>]*>/g,"").trim():"tab_navigation",l=o.split("#")[0];window.dataLayer.push({event_parameters:null}),window.dataLayer.push({event:"ga4Event",event_name:"lp_button",member_active_status:r||"not active",event_parameters:{page_group:"Activity Page_"+l,position:e,button_name:t}})}n()},className:"relative flex h-[38px] flex-shrink-0 cursor-pointer items-center justify-center rounded-full px-[20px] transition-all duration-300 lg-desktop:h-[48px] lg-desktop:px-[28px]",style:{backgroundColor:l?"#E0E2E5":"transparent",color:l?"#1E2024":"#fff"},children:(0,a.jsx)("span",{className:"relative z-10 text-center text-[14px] font-[700] leading-[1.2] tracking-[-0.04em] lg-desktop:text-[16px]",children:t})})};var K=e=>{let{list:t,activeIndex:l,onTabClick:n,tabRefs:i,className:o="",labelKey:r="tabName",position:d}=e,{profile:c}=(0,u.a)(),p=window.location.pathname,[x,m]=(0,s.useState)({x:0,y:0}),[v,h]=(0,s.useState)(0),f=(0,s.useRef)(null),b=(0,s.useRef)(null),g=(0,s.useMemo)(()=>{var e;return((null===(e=p.split("/").pop())||void 0===e?void 0:e.replace("storefront-",""))||"home").split("#")[0]},[p]),y=(0,s.useMemo)(()=>(null==c?void 0:c.activated)?"active":"not active",[null==c?void 0:c.activated]);return((0,s.useEffect)(()=>{let e=i.current[l],t=b.current;if(e&&t&&t.scrollWidth>t.clientWidth){let l=e.getBoundingClientRect(),a=t.getBoundingClientRect(),n=t.scrollLeft,i=l.left-a.left+n+l.width/2,o=a.width/2;t.scrollTo({left:i-o,behavior:"smooth"})}},[l,i]),t&&0!==t.length)?(0,a.jsx)("div",{ref:b,className:"mb-8 overflow-x-auto [-ms-overflow-style:none] [scrollbar-width:none] md-tablet:mr-[-16px] [&::-webkit-scrollbar]:hidden ".concat(o),children:(0,a.jsxs)("div",{ref:f,onMouseMove:e=>{if(!f.current)return;let t=f.current.getBoundingClientRect();m({x:e.clientX-t.left,y:e.clientY-t.top})},onMouseEnter:()=>{h(.6)},onMouseLeave:()=>{h(0)},className:"relative inline-flex h-[46px] w-fit overflow-hidden rounded-full bg-[#1E2024] md-tablet:mr-[16px] lg-desktop:h-[56px]",children:[(0,a.jsx)("div",{className:"pointer-events-none absolute inset-0 opacity-0 transition-opacity duration-500 ease-in-out",style:{opacity:v,background:"radial-gradient(circle at ".concat(x.x,"px ").concat(x.y,"px, rgba(255, 255, 255, 0.25), transparent 100px)")}}),(0,a.jsx)("div",{className:"relative z-10 flex h-[46px] items-center whitespace-nowrap lg-desktop:h-[56px]",children:t.map((e,t)=>(0,a.jsx)(R,{label:e[r],isActive:l===t,onClick:()=>n(t),buttonRef:e=>{i.current[t]=e},pageHandle:g,position:d,memberActiveStatus:y},t))})]})}):null};let O=[{key:"xl",media:"(min-width: 1440px)"},{key:"lg",media:"(min-width: 1024px)"},{key:"md",media:"(min-width: 768px)"},{key:"sm",media:"(min-width: 480px)"},{key:"xs",media:"(max-width: 479px)"}];function Z(e){var t,l,a,n,i,o,s,r,d,c,u,p,x,m,v,h,f,b,g,y,j,w,N,k,_;if(!e)return"";let C=window.innerWidth;return C<=479?(null===(t=e.xs)||void 0===t?void 0:t.url)||(null===(l=e.sm)||void 0===l?void 0:l.url)||(null===(a=e.md)||void 0===a?void 0:a.url)||(null===(n=e.lg)||void 0===n?void 0:n.url)||(null===(i=e.xl)||void 0===i?void 0:i.url)||"":C<=767?(null===(o=e.sm)||void 0===o?void 0:o.url)||(null===(s=e.md)||void 0===s?void 0:s.url)||(null===(r=e.lg)||void 0===r?void 0:r.url)||(null===(d=e.xl)||void 0===d?void 0:d.url)||(null===(c=e.xs)||void 0===c?void 0:c.url)||"":C<=1023?(null===(u=e.md)||void 0===u?void 0:u.url)||(null===(p=e.lg)||void 0===p?void 0:p.url)||(null===(x=e.xl)||void 0===x?void 0:x.url)||(null===(m=e.sm)||void 0===m?void 0:m.url)||(null===(v=e.xs)||void 0===v?void 0:v.url)||"":C<=1439?(null===(h=e.lg)||void 0===h?void 0:h.url)||(null===(f=e.xl)||void 0===f?void 0:f.url)||(null===(b=e.md)||void 0===b?void 0:b.url)||(null===(g=e.sm)||void 0===g?void 0:g.url)||(null===(y=e.xs)||void 0===y?void 0:y.url)||"":(null===(j=e.xl)||void 0===j?void 0:j.url)||(null===(w=e.lg)||void 0===w?void 0:w.url)||(null===(N=e.md)||void 0===N?void 0:N.url)||(null===(k=e.sm)||void 0===k?void 0:k.url)||(null===(_=e.xs)||void 0===_?void 0:_.url)||""}function V(e){let[t,l]=(0,s.useState)(()=>Z(e));return(0,s.useEffect)(()=>{let t=()=>l(Z(e));return t(),window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)},[e]),t}function q(e){if(!e)return"";if("undefined"!=typeof document){let t=document.createElement("div");return t.innerHTML=e,(t.textContent||t.innerText||"").trim()}return e.replace(/<[^>]*>/g,"").replace(/&nbsp;/g," ").replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"').trim()}function G(e){let{source:t,url:l,alt:n,className:i,imgClassName:o}=e;return(0,a.jsxs)("picture",{className:i,children:[t.map(e=>(0,a.jsx)("source",{media:e.media,srcSet:e.srcSet},"".concat(e.media,"-").concat(e.srcSet))),(0,a.jsx)("img",{src:l,alt:n,className:o,loading:"lazy"})]})}let Y=e=>{var t,l,n;let{item:i,isSingleItem:o,theme:s,imagePosition:r="left"}=e,d=(n=i.image)?O.map(e=>{let{key:t,media:l}=e,a=n[t];return(null==a?void 0:a.url)?{srcSet:a.url,media:l}:null}).filter(e=>null!==e):[],c=V(i.image),u=V(i.video),x="right"===r;return(0,a.jsxs)("div",{className:"flex w-full md-tablet:flex-col ".concat(x?"tablet:flex-row-reverse":""),children:[(0,a.jsxs)("div",{className:"w-full overflow-hidden rounded-tl-[12px] rounded-tr-[12px] tablet:aspect-[346/360] tablet:w-[calc(346/704)] laptop:aspect-[440/384] laptop:w-[calc(440/896)] desktop:aspect-[648/512] desktop:w-[calc(664/1312)] lg-desktop:aspect-[824/640] lg-desktop:w-[calc(824/1664)] ".concat(x?"tablet:rounded-b-[12px] tablet:rounded-br-[12px] tablet:rounded-tl-none laptop:rounded-br-[16px] laptop:rounded-tr-[16px]":"tablet:rounded-b-[12px] tablet:rounded-bl-[12px] tablet:rounded-tr-none laptop:rounded-bl-[16px] laptop:rounded-tl-[16
1px]"," ").concat(o?"aspect-[358/240]":"aspect-[327/240]"),children:[u&&(0,a.jsx)("video",{className:"h-full w-full object-cover",autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:u},u),!u&&c&&(0,a.jsx)(G,{source:d,url:c,alt:(null===(l=i.image)||void 0===l?void 0:null===(t=l.xl)||void 0===t?void 0:t.alt)||i.title||"Smart Adapt",className:"h-full w-full",imgClassName:"h-full w-full object-cover"})]}),i.title&&(0,a.jsxs)("div",{className:"smartadapt-text-content box-border flex w-full flex-col gap-[16px] rounded-bl-[12px] rounded-br-[12px] p-[16px] tablet:w-[calc(346/704)] tablet:justify-between laptop:w-[calc(456/896)] laptop:p-[32px] desktop:w-[calc(648/1312)] desktop:p-[48px] lg-desktop:w-[calc(840/1664)] lg-desktop:p-[64px] ".concat(x?"tablet:rounded-br-none tablet:rounded-tl-[12px] laptop:rounded-bl-[16px] laptop:rounded-tl-[16px]":"tablet:rounded-bl-none tablet:rounded-tr-[12px] laptop:rounded-br-[16px] laptop:rounded-tr-[16px]"," ").concat("dark"===s?"bg-[#1E2024]":"bg-[#F5F5F7]"),children:[(0,a.jsx)("div",{className:"text-[24px] font-[700] leading-[1.2] tracking-[-0.04em] desktop:text-[32px] ".concat("dark"===s?"text-[#EAEAEC]":"text-[#080A0F]"),dangerouslySetInnerHTML:{__html:i.title}}),i.textList&&i.textList.length>0&&(0,a.jsx)("div",{className:"flex flex-col gap-[2em]",children:i.textList.map((e,t)=>(0,a.jsx)(p.xv,{className:"text-[14px] font-[700] leading-[1.4] tracking-[-0.02em] desktop:text-[16px] lg-desktop:text-[18px] ".concat("dark"===s?"text-[#EAEAEC]":"text-[#080A0F]"),html:e},t))})]})]})},X={dark:{disabled:"https://cdn.shopify.com/s/files/1/0516/3761/6830/files/Frame_2147227298_1.png?v=1774604524",hover:"https://cdn.shopify.com/s/files/1/0516/3761/6830/files/df78ab0ef07b94990a3aae79bf6eeba3.png?v=1774604221",normal:"https://cdn.shopify.com/s/files/1/0516/3761/6830/files/9bd13e6240bb9c476a07a99777ecf1a1.png?v=1774604196"},light:{disabled:"https://cdn.shopify.com/s/files/1/0516/3761/6830/files/f2c41eeec48a92624c4012128e862ffa.png?v=1773837107",hover:"https://cdn.shopify.com/s/files/1/0516/3761/6830/files/90ec2929acf359bc3a4a45f0b07d5711.png?v=1773837190",normal:"https://cdn.shopify.com/s/files/1/0516/3761/6830/files/30ba36a07588ceac770febbff9e4ec5b.png?v=1773837097"}};function $(e,t){let l=document.querySelectorAll(e);0!==l.length&&(l.forEach(e=>{e.style.height="auto"}),t&&requestAnimationFrame(()=>{let e=0;l.forEach(t=>{let l=t.offsetHeight;l>e&&(e=l)}),e>0&&l.forEach(t=>{t.style.height="".concat(e,"px")})}))}let U=(0,r.withLayout)(e=>{let{data:t,style:l,blockName:n}=e,{profile:i}=(0,u.a)(),o=window.location.pathname,[d,c]=(0,s.useState)(0),p=(0,s.useRef)(null),x=(0,s.useRef)([]),[m,v]=(0,s.useState)(!0),[h,f]=(0,s.useState)(!1),[b,g]=(0,s.useState)(!1),[y,j]=(0,s.useState)(!1),w=(null==t?void 0:t.backgroundColor)==="light"?"light":"dark",N=(0,s.useMemo)(()=>{var e;return((null===(e=o.split("/").pop())||void 0===e?void 0:e.replace("storefront-",""))||"home").split("?")[0].split("#")[0]},[o]),k=(0,s.useMemo)(()=>(null==i?void 0:i.activated)?"active":"not active",[null==i?void 0:i.activated]),_=(0,s.useMemo)(()=>n||((null==t?void 0:t.title)?t.title.replace(/<[^>]*>/g,"").trim():""),[n,null==t?void 0:t.title]),C=(e,t)=>{let l=X[w];return e?l.disabled:t?l.hover:l.normal},S=e=>{window.dataLayer&&(window.dataLayer.push({event_parameters:null}),window.dataLayer.push({event:"ga4Event",event_name:"lp_button",member_active_status:k,event_parameters:{page_group:"Activity Page_"+N,position:_,button_name:e}}))},T=()=>{var e;m||(S("Previous"),null===(e=p.current)||void 0===e||e.swiper.slidePrev())},F=()=>{var e;h||(S("Next"),null===(e=p.current)||void 0===e||e.swiper.slideNext())};if((0,s.useEffect)(()=>{let e=()=>$(".smartadapt-title-box",window.innerWidth>=768);return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[null==t?void 0:t.list]),(0,s.useEffect)(()=>{let e=()=>$(".smartadapt-text-content",window.innerWidth<768);return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[null==t?void 0:t.list]),!t||!t.list||0===t.list.length)return null;let E=1===t.list.length;return(0,a.jsxs)("div",{className:"flex flex-col ".concat("dark"===w?"bg-[#000]":"bg-[#FFF]"," ").concat(n||""),children:[t.title&&""!==q(t.title)&&(0,a.jsx)(r.Title,{data:{title:t.title,...t.subTitle&&""!==q(t.
1subTitle)&&{subtitle:t.subTitle},theme:w},style:l,className:"pl-[16px] tablet:pl-[32px] laptop:pl-[64px] lg-desktop:pl-[calc(50%-832px)]"}),t.list.filter(e=>e.tabName).length>1&&(0,a.jsx)(K,{list:t.list,activeIndex:d,onTabClick:e=>{var t;c(e),null===(t=p.current)||void 0===t||t.swiper.slideTo(e)},tabRefs:x,className:"pl-[16px] tablet:pl-[32px] laptop:pl-[64px] lg-desktop:pl-[calc(50%-832px)]",position:_}),(0,a.jsx)("style",{children:".swiper-button-next-custom, .swiper-button-prev-custom {\n    background: transparent;\n  }"}),(0,a.jsxs)("div",{className:"relative mx-auto w-full laptop:!overflow-visible laptop:px-[64px] lg-desktop:px-[calc(50%-832px)]",children:[!E&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{onClick:T,onMouseEnter:()=>!m&&g(!0),onMouseLeave:()=>g(!1),onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),T())},role:"button",tabIndex:m?-1:0,"aria-label":"Previous slide","aria-disabled":m,className:"swiper-button-prev-custom absolute left-[48px] top-1/2 z-10 hidden h-[32px] w-[32px] -translate-y-1/2 items-center justify-center rounded-full shadow-md tablet:flex laptop:left-[80px] laptop:h-[40px] laptop:w-[40px] desktop:left-[88px] lg-desktop:left-[calc(50%-808px)] lg-desktop:h-[56px] lg-desktop:w-[56px] ".concat(m?"cursor-not-allowed opacity-50":"cursor-pointer"),children:(0,a.jsx)("img",{src:C(m,b),alt:"Previous",className:"h-full w-full -scale-x-100"})}),(0,a.jsx)("div",{onClick:F,onMouseEnter:()=>!h&&j(!0),onMouseLeave:()=>j(!1),onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),F())},role:"button",tabIndex:h?-1:0,"aria-label":"Next slide","aria-disabled":h,className:"swiper-button-next-custom absolute right-[48px] top-1/2 z-10 hidden h-[32px] w-[32px] -translate-y-1/2 items-center justify-center rounded-full shadow-md tablet:flex laptop:right-[80px] laptop:h-[40px] laptop:w-[40px] desktop:right-[88px] lg-desktop:right-[calc(50%-808px)] lg-desktop:h-[56px] lg-desktop:w-[56px] ".concat(h?"cursor-not-allowed opacity-50":"cursor-pointer"),children:(0,a.jsx)("img",{src:C(h,y),alt:"Next",className:"h-full w-full"})})]}),(0,a.jsx)(I.tq,{ref:p,slidesPerView:"auto",spaceBetween:12,onSlideChange:e=>{c(e.realIndex),v(e.isBeginning),f(e.isEnd)},onInit:e=>{v(e.isBeginning),f(e.isEnd)},className:"!ml-[0] !mr-0 w-full !pl-[16px] ".concat(E?"md-tablet:!pr-[16px]":""," md:!pr-[16px] tablet:!overflow-visible tablet:!pl-[32px] tablet:!pr-[32px] laptop:!w-full laptop:!pl-0 laptop:!pr-0"),breakpoints:{1024:{slidesPerView:1,spaceBetween:16}},children:t.list.map((e,l)=>(0,a.jsx)(I.o5,{className:E?"md-tablet:!w-full":"md-tablet:!w-[327px]",children:(0,a.jsx)(Y,{item:e,isSingleItem:E,theme:w,imagePosition:t.imagePosition})},l))})]})]})});function J(e){let{item:t}=e,{icon:l,value:n,description:i,valueColor:o="#046704"}=t;return(0,a.jsxs)("div",{className:"flex flex-col gap-1 min-md:flex-1",children:[(0,a.jsxs)("div",{className:"flex items-center justify-center gap-2",children:[l&&(0,a.jsx)(p.t,{source:l,alt:"",className:"size-[24px] min-xl:size-[32px] min-xxl:size-[40px]",imgClassName:"size-full object-contain"}),n&&(0,a.jsx)(p.xv,{as:"span",className:"text-[32px] font-bold leading-[1.2]",style:{color:o},html:n})]}),i&&(0,a.jsx)(p.xv,{as:"p",className:"text-center text-[14px] font-bold leading-[1.4] text-[#080A0F]",html:i})]})}function Q(e){let{data:t}=e,{items:l=[]}=t;return 0===l.length?null:(0,a.jsx)("section",{className:"mb-6 grid grid-cols-2 gap-6 min-md:flex min-md:flex-wrap min-md:items-start",children:l.map((e,t)=>(0,a.jsx)(J,{item:e},t))})}l(19648),l(64789),l(7362),l(24198);var ee=l(98685),et=l(2224),el=l(32355),ea=s.memo(e=>{let{pageData:{toptitle:t,list:l},isMobile:n=!1}=e,o=(0,s.useRef)(null),r=!!(t&&("string"!=typeof t||t.replace(/<[^>]*>/g,"").trim()));return(0,a.jsxs)("div",{suppressHydrationWarning:!0,className:"jsx-ba53a4a0f098e8f w-full bg-[#FFF]",children:[(0,a.jsx)(i(),{id:"ba53a4a0f098e8f",children:"#ninePageLight.jsx-ba53a4a0f098e8f .swiper-wrapper.jsx-ba53a4a0f098e8f{-webkit-box-align:stretch!important;-webkit-align-items:stretch!important;-moz-box-align:stretch!important;-ms-flex-align:stretch!important;align-items:stretch!important}#ninePageLight.jsx-ba53a4a0f098e8f .swiper-slide.jsx-ba53a4a0f098e8f{height:auto!important;display:-webkit-box!important;display:-webkit-flex!important;display:-moz-box!important;display:-ms-flexbox!important;display:flex!important}"}),(0,a.jsxs)("div",{id:"ninePageLight",suppressHydrationWarning:!0,className:"jsx-ba53a4a0f098e8f relative",children:[r&&(0,a.jsx)("h2",{className:"jsx-ba53a4a0f098e8f leading-[1.1] text-[#080A0F] media_fw-[800] media_mb-[80,60,60,40,48] media_pt-[200,160,140,120,100] media_text-[56,40,32,32,32]",children:(0,a.jsx)(p.xv,{html:t})}),(0,a.jsx)(ee.tq,{ref:o,wrapperClass:"swiper-wrapper !items-stretch",className:"!overflow-visible",spaceBetween:16,slidesPerView:"auto",modules:[et.Gk],mousewheel:{forceToAxis:!0,sensitivity:1,thresholdDelta:4},children:l.map((e,t)=>{var i,o;return(0,a.jsx)(ee.o5,{className:(0,el.A)("relative rounded-[12px]","!flex !h-auto flex-shrink-0","!w-[calc(313/390*100vw)] min-l:!w-[calc(433/1025*100vw)] min-xl:!w-[calc(524/1440*100vw)] min-xxl:!w-[632px] md-l:!w-[calc(455/768*100vw)]","overflow-hidden"),role:"group","aria-label":"Slide ".concat(t+1," of ").concat(l.length,": ").concat(e.title),children:(0,a.jsxs)("div",{className:"jsx-ba53a4a0f098e8f flex h-full w-full flex-col overflow-hidden rounded-[12px] bg-[#F5F5F7] transition-all duration-300",children:[(0,a.jsx)("div",{suppressHydrationWarning:!0,className:"jsx-ba53a4a0f098e8f relative flex-shrink-0 overflow-hidden rounded-t-[12px]",children:n&&(null===(i=e.mobileImg)||void 0===i?void 0:i.endsWith(".mp4"))||
1!n&&(null===(o=e.desktopImg)||void 0===o?void 0:o.endsWith(".mp4"))?(0,a.jsx)("video",{src:n?e.mobileImg:e.desktopImg,preload:"metadata",playsInline:!0,autoPlay:!0,loop:!0,muted:!0,"webkit-playsinline":"true",tabIndex:-1,"aria-label":"".concat(e.title," showcase video"),className:"jsx-ba53a4a0f098e8f h-full w-full object-cover"},n?e.mobileImg:e.desktopImg):(0,a.jsx)(p.t,{imgClassName:"w-full h-full object-cover [&>img]:[tabindex=-1]",className:"h-full w-full",source:n?e.mobileImg:e.desktopImg,alt:"".concat(e.title)})}),(0,a.jsxs)("div",{className:"jsx-ba53a4a0f098e8f box-border flex w-full flex-1 bg-[#F5F5F7] l:py-[12px] min-l:py-[16px] min-xxl:py-[24px]",children:[(0,a.jsx)("div",{className:"jsx-ba53a4a0f098e8f flex-shrink-0 media_ml-[32,32,32,32,24] media_mr-[24,24,24,24,16]",children:(0,a.jsx)("div",{className:"jsx-ba53a4a0f098e8f h-auto media_w-[80,68,55.7,60,48]",children:(0,a.jsx)(p.t,{imgClassName:"w-full h-full rounded-[6px] object-cover",className:"h-full w-full",source:n?e.mobilelogo:e.logo,alt:"Logo ".concat(t+1)})})}),(0,a.jsxs)("div",{className:"jsx-ba53a4a0f098e8f flex-1 text-left media_pr-[16,16,16,16,16]",children:[e.title&&(0,a.jsx)(p.xv,{as:"p",html:e.title,className:"text-[#080A0F] media_fw-[700] media_text-[18,18,18,18,18]"}),e.newtitle&&(0,a.jsx)(p.xv,{as:"p",html:e.newtitle,className:"mt-[8px] font-bold text-[#1d1d1f] media_text-[16,16,16,16,16]"}),e.newsubTitle&&(0,a.jsx)(p.xv,{as:"p",html:e.newsubTitle,className:"mt-[8px] font-extrabold text-[#1d1d1f] media_text-[16,16,16,16,16]"}),e.subTitle&&(0,a.jsx)(p.xv,{as:"p",html:e.subTitle,className:"mt-[12px] leading-[1.4] text-[#1d1d1f] media_fw-[700] media_text-[16,16,16,16,16]"})]})]})]})},t)})})]})]})}),en=l(29176),ei=l(35478);function eo(e){let[t,l]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{if("function"!=typeof window.matchMedia)return;let t=window.matchMedia(e),a=e=>l(e.matches);return l(t.matches),t.addEventListener("change",a),()=>t.removeEventListener("change",a)},[e]),t}let es=s.forwardRef((e,t)=>{var l,n,i,o,s,r,d,c,u,x,m,v,h,f,b;let{pcImage:g,desktopImage:y,laptopImage:j,padImage:w,mobileImage:N,className:k,videoClassName:_,imgClassName:C,muted:S=!0,loop:T=!0,playsInline:F=!0,autoPlay:E=!0,poster:z,videoRef:D,onVideoPlay:I,onVideoPause:L,onVideoEnded:P,...M}=e;eo("(max-width: 767px)");let A=eo("(min-width: 768px) and (max-width: 1024px)"),B=eo("(min-width: 1025px) and (max-width: 1439px)"),H=eo("(min-width: 1440px) and (max-width: 1919px)"),W=eo("(min-width: 1920px)"),R=[g,y,j,w,N].some(e=>(null==e?void 0:e.mimeType)==="video/mp4"),K=W?null!==(i=null!==(n=null!==(l=null!=g?g:y)&&void 0!==l?l:j)&&void 0!==n?n:w)&&void 0!==i?i:N:H?null!==(r=null!==(s=null!==(o=null!=y?y:g)&&void 0!==o?o:j)&&void 0!==s?s:w)&&void 0!==r?r:N:B?null!==(u=null!==(c=null!==(d=null!=j?j:y)&&void 0!==d?d:g)&&void 0!==c?c:w)&&void 0!==u?u:N:A?null!==(v=null!==(m=null!==(x=null!=w?w:j)&&void 0!==x?x:y)&&void 0!==m?m:g)&&void 0!==v?v:N:null!==(b=null!==(f=null!==(h=null!=N?N:w)&&void 0!==h?h:j)&&void 0!==f?f:y)&&void 0!==b?b:g,O=(null==K?void 0:K.mimeType)==="video/mp4"?K.url:void 0,Z=z||((null==K?void 0:K.mimeType)!=="video/mp4"?null==K?void 0:K.url:void 0),V=[(null==g?void 0:g.url)||(null==y?void 0:y.url)||(null==j?void 0:j.url)||(null==w?void 0:w.url)||(null==N?void 0:N.url),(null==N?void 0:N.url)&&"".concat(N.url," 767"),(null==w?void 0:w.url)&&"".concat(w.url," 1024"),(null==j?void 0:j.url)&&"".concat(j.url," 1439"),(null==y?void 0:y.url)&&"".concat(y.url," 1919")].filter(Boolean).join(" , ");return(0,a.jsx)("div",{ref:t,className:(0,p.cn)("media-wrapper",k),...M,children:R?(0,a.jsx)("video",{ref:D,src:O,poster:Z,className:(0,p.cn)("size-full object-cover",_),muted:S,loop:T,playsInline:F,autoPlay:E,"aria-label":(null==K?void 0:K.alt)||"",onPlay:I,onPause:L,onEnded:P}):(0,a.jsx)(p.t,{className:"size-full",imgClassName:(0,p.cn)("size-full object-cover",C),alt:(null==g?void 0:g.alt)||(null==y?void 0:y.alt)||(null==j?void 0:j.alt)||(null==w?void 0:w.alt)||(null==N?void 0:N.alt)||"",source:V})})});es.displayName="Media";var er=l(90193);l(25229),l(23680);let ed=()=>(0,a.jsxs)("svg",{className:"size-10 lg-desktop:size-14",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[(0,a.jsx)("circle",{cx:"20",cy:"20",r:"20",fill:"currentColor",fillOpacity:"0.2"}),(0,a.jsx)("path",{d:"M23 13L16 20L23 27",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),ec=()=>(0,a.jsxs)("svg",{className:"size-10 lg-desktop:size-14",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[(0,a.jsx)("circle",{cx:"20",cy:"20",r:"20",fill:"currentColor",fillOpacity:"0.2"}),(0,a.jsx)("path",{d:"M17 13L24 20L17 27",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),eu=s.forwardRef((e,t)=>
1{var l,n,i,o,r,d;let{data:c,className:u,classNames:x,jumpOptions:m,onPrimaryClick:v,...h}=e,f=c.items||[],b=c.carousel,g=null!==(n=c.size)&&void 0!==n?n:"base",y=(0,s.useRef)(null),[j,w]=(0,s.useState)(0),[N,k]=(0,s.useState)(null);(0,s.useEffect)(()=>{let e=y.current;e&&N&&e.pagination&&(e.pagination.el=N,e.pagination.init(),e.pagination.render(),e.pagination.update())},[N]);let _="dark"===(null!==(i=null===(l=f[j])||void 0===l?void 0:l.theme)&&void 0!==i?i:"light");(0,s.useEffect)(()=>{let e=()=>{var e,t,l;let a=y.current;if(a){if("hidden"===document.visibilityState)null===(e=a.autoplay)||void 0===e||e.stop();else{null===(t=a.autoplay)||void 0===t||t.start();let e=null!==(l=a.realIndex)&&void 0!==l?l:0;C.current.forEach((t,l)=>{t.current&&t.current.querySelectorAll("video").forEach(t=>{l!==e&&t.pause()})})}}};return document.addEventListener("visibilitychange",e),()=>document.removeEventListener("visibilitychange",e)},[]);let C=(0,s.useRef)(f.map(()=>s.createRef())),S=(null===(o=null==b?void 0:b.showArrows)||void 0===o||o)&&f.length>1,T=null===(r=null==b?void 0:b.showDots)||void 0===r||r,F=null!==(d=null==b?void 0:b.autoplaySeconds)&&void 0!==d?d:void 0,E=null!=F&&F>0?[er.W_,er.tl,er.pt]:[er.W_,er.tl],z=(0,s.useCallback)(e=>{let t=e.realIndex;C.current.forEach((e,l)=>{l!==t&&e.current&&e.current.querySelectorAll("video").forEach(e=>{e.pause(),e.currentTime=0})});let l=C.current[t];(null==l?void 0:l.current)&&l.current.querySelectorAll("video").forEach(e=>{if(e.paused){let t=e.play();null==t||t.catch(()=>{})}}),w(t)},[]);return(0,a.jsxs)("section",{ref:t,className:(0,p.cn)("secondary-banner-carousel group relative w-full overflow-hidden",ex({size:g}),{"aiui-dark":_},u),...h,children:[(0,a.jsx)(I.tq,{onSwiper:e=>y.current=e,onSlideChange:z,modules:E,slidesPerView:1,loop:!0,initialSlide:0,allowTouchMove:!0,autoplay:null!=F&&F>0&&{delay:Math.max(1e3*F,3e3),disableOnInteraction:!1},pagination:!!T&&{clickable:!0,el:N,renderBullet:(e,t)=>'<span class="'.concat(t,' banner-dot"></span>')},children:f.map((e,t)=>(0,a.jsx)(I.o5,{children:l=>{let{isActive:n}=l;return(0,a.jsx)("div",{ref:C.current[t],children:(0,a.jsx)(ev,{data:e,isActive:n,classNames:x,jumpOptions:m,onPrimaryClick:v})})}},t))}),S&&(0,a.jsxs)("div",{className:"pointer-events-none absolute inset-0 z-20 flex items-center justify-between px-4",children:[(0,a.jsx)("button",{type:"button",className:"pointer-events-auto hidden scale-95 items-center justify-center opacity-0 transition-all duration-300 ease-out hover:scale-105 focus-visible:scale-105 group-focus-within:scale-100 group-focus-within:opacity-100 group-hover:scale-100 group-hover:opacity-100 tablet:flex",onClick:()=>{var e;return null===(e=y.current)||void 0===e?void 0:e.slidePrev()},"aria-label":"Previous banner",children:(0,a.jsx)(ed,{})}),(0,a.jsx)("button",{type:"button",className:"pointer-events-auto hidden scale-95 items-center justify-center opacity-0 transition-all duration-300 ease-out hover:scale-105 focus-visible:scale-105 group-focus-within:scale-100 group-focus-within:opacity-100 group-hover:scale-100 group-hover:opacity-100 tablet:flex",onClick:()=>{var e;return null===(e=y.current)||void 0===e?void 0:e.slideNext()},"aria-label":"Next banner",children:(0,a.jsx)(ec,{})})]}),T&&(0,a.jsx)("div",{ref:k,style:{"--swiper-pagination-bottom":"0px"},className:(0,p.cn)("secondary-banner-pagination swiper-pagination absolute !bottom-4 !left-1/2 z-20 flex !w-auto !-translate-x-1/2 items-center justify-center gap-2 lg-desktop:!bottom-6 [&_.banner-dot.swiper-pagination-bullet-active]:h-2 [&_.banner-dot.swiper-pagination-bullet-active]:w-8 [&_.banner-dot.swiper-pagination-bullet-active]:rounded-full [&_.banner-dot.swiper-pagination-bullet-active]:bg-info-primary [&_.banner-dot]:size-2 [&_.banner-dot]:rounded-full [&_.banner-dot]:bg-info-quaternary [&_.banner-dot]:transition-all [&_.banner-dot]:duration-300 [&_.banner-dot]:ease-out [&_.swiper-pagination-bullet]:m-0 [&_.swiper-pagination-bullet]:shrink-0 [&_.swiper-pagination-bullet]:opacity-100",{"aiui-dark":_})})]})});eu.displayName="SecondaryBannerCarousel";let ep={sm:"tablet:aspect-[768/480] laptop:aspect-[1920/480] desktop:aspect-[1920/480] lg-desktop:aspect-[1920/480] aspect-[390/480]",base
1:"tablet:aspect-[768/660] laptop:aspect-[1920/720] desktop:aspect-[1920/720] lg-desktop:aspect-[1920/720] aspect-[390/660]",lg:"tablet:aspect-[768/660] laptop:aspect-[1920/930] desktop:aspect-[1920/930] lg-desktop:aspect-[1920/930] aspect-[390/660]",xlg:"tablet:aspect-[768/660] laptop:aspect-[1920/930] desktop:aspect-[1920/930] lg-desktop:aspect-[1920/930] aspect-[390/660] overflow-visible"},ex=e=>{var t;return(0,p.cn)("text-info-primary relative w-full",ep[null!==(t=null==e?void 0:e.size)&&void 0!==t?t:"base"])},em=s.forwardRef((e,t)=>{let{className:l,classNames:n={},data:i,jumpOptions:o={},isActive:d,onPrimaryClick:c,...u}=e,{pcImage:x,padImage:m,mobileImage:v,isVideoLoop:h,endDate:f,endDate_tz:b,dateFormat:g,size:y,iconArray:j,theme:w,primaryButton:N,secondaryButton:k,title:_,titleTag:C}=i,S=null!=y?y:"base",{locale:T="us",trackingData:F}=(0,r.useAiuiContext)(),E=(null==F?void 0:F.pageGroup)||"",z={duration:500,offset:0,...o},D=s.useId(),I=_?"".concat(D,"-title"):void 0,L=i.subtitle?"".concat(D,"-subtitle"):void 0,P=i.superTitle?"".concat(D,"-super-title"):void 0,M=[P,L].filter(Boolean).join(" ")||void 0;if("carousel"===i.mode&&i.items&&i.items.length>0)return(0,a.jsx)(eu,{data:i,className:l,classNames:n,jumpOptions:o,onPrimaryClick:c,ref:t,...u});let A="function"==typeof c;return(0,a.jsxs)("section",{ref:t,role:"banner","aria-labelledby":I,"aria-describedby":M,className:(0,p.cn)({"aiui-dark":"dark"===(null!=w?w:"light")},ex({size:S}),l,null==n?void 0:n.root),...u,children:[(0,a.jsx)("div",{className:(0,p.cn)("absolute inset-0",{"h-fit":"xlg"===S}),children:(0,a.jsx)(es,{pcImage:x,padImage:m,mobileImage:v,className:"size-full",imgClassName:"object-cover",videoClassName:"object-cover",muted:!0,loop:null==h||h,playsInline:!0,autoPlay:null==d||d})}),(0,a.jsxs)("div",{className:(0,p.cn)("banner-content absolute top-12 z-10 flex flex-col items-start justify-center px-[16px] text-left tablet:px-[32px] laptop:top-1/2 laptop:-translate-y-1/2  laptop:px-[64px] lg-desktop:px-[calc(50%-832px)]",null==n?void 0:n.content),children:[(0,a.jsxs)("div",{className:"banner-inner-title flex flex-col items-start gap-1 desktop:gap-2",children:[i.superTitle&&(0,a.jsx)(p.xv,{as:"p",size:2,id:P,className:(0,p.cn)("banner-super-title desktop:text-[16px] lg-desktop:text-[18px]",null==n?void 0:n.superTitle),html:i.superTitle}),i.title&&(0,a.jsx)(p.X6,{as:null!=C?C:"h1",size:["xlg","lg"].includes(S)?5:4,id:I,className:(0,p.cn)("banner-title ",null==n?void 0:n.title),html:i.title}),i.subtitle&&(0,a.jsx)(p.xv,{as:"p",size:3,id:L,className:(0,p.cn)("banner-subtitle desktop:text-[16px] lg-desktop:text-[18px]",null==n?void 0:n.subtitle),html:i.subtitle})]}),f&&(0,a.jsx)("div",{className:"banner-countdown",children:(0,a.jsx)(p.IT,{endDate:f,endDate_tz:b,dateFormat:g,variant:"spacious",className:"mt-6 lg-desktop:mt-8"})}),(0,a.jsxs)("div",{className:(0,p.cn)("banner-cta-group mt-6 flex gap-2 lg-desktop:mt-[32px] lg-desktop:gap-3",null==n?void 0:n.buttonGroup),children:[(null==N?void 0:N.text)&&(0,a.jsx)(p.zx,{"data-track":u.id?"".concat(u.id,"_primary_button_click"):"SecondaryBanner_primary_button_click",onClick:e=>{var t,l,a,n,i,o;if(null===(t=N.link)||void 0===t?void 0:t.startsWith("#")){e.preventDefault();let t=document.querySelector(N.link);t&&(0,ei.Z)(t,z)}null===(l=N.onClick)||void 0===l||l.call(N),"function"==typeof c&&(null===(n=window)||void 0===n||null===(a=n.dataLayer)||void 0===a||a.push({event_parameters:null}),null===(o=window)||void 0===o||null===(i=o.dataLayer)||void 0===i||i.push({event:"ga4Event",event_name:"lp_button",event_parameters:{page_group:"Activity Page_"+E,position:"secondary_banner",button_name:(null==N?void 0:N.text)||""}}),c())},className:(0,p.cn)("",null==n?void 0:n.primaryButton),"aria-describedby":I,...A||!N.link||N.link.startsWith("#")?{}:{as:"a",href:(0,p.yF)(N.link,T)},children:N.text}),(null==k?void 0:k.text)&&(0,a.jsx)(p.zx,{variant:"secondary","data-track":u.id?"".concat(u.id,"_secondary_button_click"):"SecondaryBanner_secondary_button_click",onClick:e=>{var t,l;if(null===(t=k.link)||void 0===t?void 0:t.startsWith("#")){e.preventDefault();let t=document.querySelector(k.link);t&&(0,ei.Z)(t,z)}null===(l=k.onClick)||void 0===l||l.call(k)},className:(0,p.cn)("",null==n?void 0:n.secondaryButton),"aria-describedby":I,...k.link&&!k.link.startsWith("#")?{as:"a",href:(0,p.yF)(k.link,T)+(E?k.link.includes("?")?"&ref=".concat(E):"?ref=".concat(E):"")}:{},children:k.text})]}),Array.isArray(j)&&j.length>0&&(0,a.jsx)("div",{className:"banner-icons mt-2 flex items-center gap-2 desktop:mt-3 lg-desktop:mt-4",role:"group","aria-label":"brand icons",children:j.map((e,t)=>e.pcImage?(0,a.jsx)(p.t,{source:e.pcImage.url,alt:e.pcImage.alt||"icon ".concat(t+1),role:"img",className:"h-[48px] max-w-none laptop:h-auto",imgClassName:"h-full"},t):null)})]})]})});em.displayName="SecondaryBanner";var ev=(0,r.withLayout)(em),eh=l(95635),ef=l(20578),eb=l(18498),eg=l(27490),ey=l(17478),ej=l(27215);let ew=j()(()=>l.e(8592).then(l.bind(l,17553)),{loadableGenerated:{webpack:()=>[17553]},loading:()=>null}),eN=j()(()=>Promise.all([l.e(4736),l.e(2604),l.e(8592)]).then(l.bind(l,31618)).then(e=>({default:e.ImageTextGrid})),{loadableGenerated:{webpack:()=>[31618]},loading:()=>null}),ek=j()(()=>l.e(4476).then(l.bind(l,96027)),{loadableGenerated:{webpack:()=>[96027]},ssr:!1}),e_=j()(()=>l.e(8592).then(l.bind(l,17950)),{loadableGenerated:{webpack:()=>[17950]},loading:()=>null}),eC=e=>{let{openSubscribeDialog:t}=(0,ej.d)();return(0,a.jsx)(ew,{...e,onSubscribeClick:t})},eS=e=>{let{openSubscribeDialog:t}=(0,ej.d)();return(0,a.jsx)(W.Z,{...e,openSubscribeDialog:t})},eT=e=>{let{openSubscribeDialog:t}=(0,ej.d)();return(0,a.jsx)(eh.Z,{...e,onSubscribeClick:t})};var eF=l(96650),eE=l(15680),ez=l(7684),eD=l(48642),eI=l(69687);let eL=e=>{var t,l,n;let{payload:o,pageHandle:r,extension:d,youTubeId:c,setYouTubeId:u,dealsType:x,shopMetafields:v,buildProps:h,shopCommon:f,setRelativeLink:y,locale:j,locales:w,openSignInPopup:N,isLogin:k,mediaPlayerStickyRef:_,track:C,getLocalizedPath:S,addToCart:T,buyNow:F,profile:E,relatedProducts:z}=e,{components:I=[]}=o||{},{subscribeDialogVisible:L,subscribePosition:M,openSubscribeDialog:A,closeSubscribeDialog:B}=(0,ej.d)();null==v||null===(t=v.common)||void 0===t||t.copywriting;let W={pageHandle:r,buildProps:h,shopMetafields:v,shopCommon:f,profile:E,relatedProducts:z,locale:j,locales:w,openSignInPopup:N,openSubscribeDialog:A,isLogin:k,mediaPlayerStickyRef:_,track:C,setRelativeLink:y,getL
1ocalizedPath:S,addToCart:T,buyNow:F,extension:d},R=(e,t)=>{let l=e.blockType||e.blockName,n=(null==e?void 0:e.componentKey)||l.split("_")[0];if(!e)return null;let i=function(e,t,l,n){var i,o,s,r,d,c,u,x,v,h,f,b,g,y,j,w,N,k,_,C,S,T,F;let E=null==t?void 0:t.style,z=(null==t?void 0:t.blockType)||(null==t?void 0:t.blockName)||e;switch(e){case"ipc-secondary-banner":{let e=!!(null===(i=n.extension)||void 0===i?void 0:i.subscribe);return(0,a.jsxs)("div",{className:m()((null==t?void 0:t.display)==="hidden"&&"!hidden"),children:[E&&(0,a.jsx)("style",{dangerouslySetInnerHTML:{__html:E}}),(0,a.jsx)(ev,{data:t,style:E,container:null==t?void 0:t.container,onPrimaryClick:e?n.openSubscribeDialog:void 0})]},"SecondaryBanner_".concat(l))}case"ProductNav":return(0,a.jsxs)(a.Fragment,{children:[E&&(0,a.jsx)("style",{dangerouslySetInnerHTML:{__html:E}}),(0,a.jsx)(eC,{data:{...t,pageHandle:n.pageHandle},style:E})]});case"calculatorCards":return(0,a.jsxs)(p.W2,{id:(null==t?void 0:null===(o=t.data)||void 0===o?void 0:o.id)||"smbCalculator_".concat(l),className:m()((null==t?void 0:t.display)==="hidden"&&"!hidden"),children:[E&&(0,a.jsx)("style",{dangerouslySetInnerHTML:{__html:E}}),(0,a.jsx)(D,{data:null==t?void 0:t.data})]},(null==t?void 0:null===(s=t.data)||void 0===s?void 0:s.id)||"smbCalculator_".concat(l));case"wowProject":return(0,a.jsxs)("div",{id:(null==t?void 0:null===(r=t.data)||void 0===r?void 0:r.id)||"wowProject_".concat(l),className:m()((null==t?void 0:t.display)==="hidden"&&"!hidden"),children:[E&&(0,a.jsx)("style",{dangerouslySetInnerHTML:{__html:E}}),(0,a.jsx)(P,{data:null==t?void 0:t.data})]},(null==t?void 0:null===(d=t.data)||void 0===d?void 0:d.id)||"wowProject_".concat(l));case"PromotionalBar":return(0,a.jsxs)(p.W2,{id:(null==t?void 0:null===(c=t.data)||void 0===c?void 0:c.id)||"promotionalBar_".concat(l),className:m()((null==t?void 0:t.display)==="hidden"&&"!hidden"),children:[E&&(0,a.jsx)("style",{dangerouslySetInnerHTML:{__html:E}}),(0,a.jsx)(H,{data:t,style:E,container:null==t?void 0:t.container})]},(null==t?void 0:null===(u=t.data)||void 0===u?void 0:u.id)||"promotionalBar_".concat(l));case"smbTitle":return(0,a.jsxs)(p.W2,{id:(null==t?void 0:null===(x=t.data)||void 0===x?void 0:x.id)||"smbTitle_".concat(l),className:m()((null==t?void 0:t.display)==="hidden"&&"!hidden"),children:[E&&(0,a.jsx)("style",{dangerouslySetInnerHTML:{__html:E}}),(0,a.jsx)(eS,{data:null==t?void 0:t.data})]},(null==t?void 0:null===(v=t.data)||void 0===v?void 0:v.id)||"smbTitle_".concat(l));case"ipc-image-with-text-2":return(0,a.jsxs)("div",{className:m()("max-w-full overflow-hidden",(null==t?void 0:t.display)==="hidden"&&"!hidden"),children:[E&&(0,a.jsx)("style",{dangerouslySetInnerHTML:{__html:E}}),(0,a.jsx)(U,{data:null==t?void 0:t.data,style:E,blockName:z})]},"ImageWidthText2_".concat(l));case"featureHighlights":return(0,a.jsxs)(p.W2,{id:(null==t?void 0:null===(h=t.data)||void 0===h?void 0:h.id)||"featureHighlights_".concat(l),className:m()((null==t?void 0:t.display)==="hidden"&&"!hidden"),children:[E&&(0,a.jsx)("style",{dangerouslySetInnerHTML:{__html:E}}),(0,a.jsx)(Q,{data:null==t?void 0:t.data})]},(null==t?void 0:null===(f=t.data)||void 0===f?void 0:f.id)||"featureHighlights_".concat(l));case"ninePage":return(0,a.jsxs)(p.W2,{className:m()("max-w-full overflow-hidden",(null==t?void 0:t.display)==="hidden"&&"!hidden"),children:[E&&(0,a.jsx)("style",{dangerouslySetInnerHTML:{__html:E}}),(0,a.jsx)(ea,{pageData:null==t?void 0:t.data})]},"NinePage_".concat(l));case"ninePageDark":return(0,a.jsxs)(p.W2,{className:m()("max-w-full overflow-hidden",(null==t?void 0:t.display)==="hidden"&&"!hidden"),children:[E&&(0,a.jsx)("style",{dangerouslySetInnerHTML:{__html:E}}),(0,a.jsx)(en.Z,{pageData:null==t?void 0:t.data})]},"NinePageDark_".concat(l));case"imageAndText":return(0,a.jsxs)(p.W2,{id:(null==t?void 0:null===(b=t.data)||void 0===b?void 0:b.id)||"Livestream_".concat(l),className:m()((null==t?void 0:t.display)==="hidden"&&"!hidden"),children:[E&&(0,a.jsx)("style",{dangerouslySetInnerHTML:{__html:E}}),(0,a.jsx)(eg.default,{id:z,config:null==t?void 0:t.data,isMobileAir:!0})]},(null==t?void 0:null===(g=t.data)||void 0===g?void 0:g.id)||"Livestream_".concat(l));case"imageTextGrid5":return(0,a.jsxs)("div",{id:(null==t?void 0:null===(y=t.data)||void 0===y?void 0:y.id)||"imageTextGrid5_".concat(l),className:m()((null==t?void 0:t.display)==="hidden"&&"!hidden"),children:[E&&(0,a.jsx)("style",{dangerouslySetInnerHTML:{__html:E}}),(0,a.jsx)(eN,{items:null!==(_=null==t?void 0:null===(j=t.data)||void 0===j?void 0:j.items)&&void 0!==_?_:[],borderRadius:null==t?void 0:null===(w=t.data)||void 0===w?void 0:w.borderRadius,carousel:null==t?void 0:null===(N=t.data)||void 0===N?void 0:N.carousel})]},(null==t?void 0:null===(k=t.data)||void 0===k?void 0:k.id)||"imageTextGrid5_".concat(l));case"ipc-scene-shelf":{let e=(0,ey.c)(n.buildProps);return(0,a.jsxs)(p.W2,{className:m()("overflow-hidden",(null==t?void 0:t.display)==="hidden"&&"!hidden"),children:[E&&(0,a.jsx)("style",{dangerouslySetInnerHTML:{__html:E}}),(0,a.jsx)(ek,{data:t,buildData:e.products,componentStyle:E,onTrack:e=>{var l;return null===(l=n.track)||void 0===l?void 0:l.call(n,{...e,title:null==t?void 0:t.t
1itle})}})]},"SceneShelf_".concat(l))}case"ipc-image-overlay-shelf":{let e=(0,ey.c)(n.buildProps);return(0,a.jsxs)(p.W2,{className:m()("overflow-hidden",(null==t?void 0:t.display)==="hidden"&&"!hidden"),children:[E&&(0,a.jsx)("style",{dangerouslySetInnerHTML:{__html:E}}),(0,a.jsx)(e_,{data:t,buildData:e.products,componentStyle:E,onTrack:e=>{var l;return null===(l=n.track)||void 0===l?void 0:l.call(n,{...e,title:null==t?void 0:t.title})}})]},"ImageOverlayShelf_".concat(l))}case"ipc-bogo-shelf":{let e=(0,ey.c)(n.buildProps);return(0,a.jsxs)(p.W2,{className:m()("overflow-hidden",(null==t?void 0:t.display)==="hidden"&&"!hidden"),children:[E&&(0,a.jsx)("style",{dangerouslySetInnerHTML:{__html:E}}),(0,a.jsx)(eb.Z,{data:t,buildData:e.products,componentStyle:E,pageHandle:n.pageHandle})]},"PDBogoShelf_".concat(l))}case"liveHeader":return(0,a.jsxs)(p.W2,{id:(null==t?void 0:null===(C=t.data)||void 0===C?void 0:C.id)||"liveHeader_".concat(l),className:m()((null==t?void 0:t.display)==="hidden"&&"!hidden"),children:[E&&(0,a.jsx)("style",{dangerouslySetInnerHTML:{__html:E}}),(0,a.jsx)(eT,{data:null==t?void 0:t.data})]},(null==t?void 0:null===(S=t.data)||void 0===S?void 0:S.id)||"liveHeader_".concat(l));case"pdLiveStream":return(0,a.jsxs)(p.W2,{id:(null==t?void 0:null===(T=t.data)||void 0===T?void 0:T.id)||"pdLiveStream_".concat(l),className:m()((null==t?void 0:t.display)==="hidden"&&"!hidden"),children:[E&&(0,a.jsx)("style",{dangerouslySetInnerHTML:{__html:E}}),(0,a.jsx)(ef.Z,{data:null==t?void 0:t.data})]},(null==t?void 0:null===(F=t.data)||void 0===F?void 0:F.id)||"pdLiveStream_".concat(l));default:return null}}(n,e,t,W);if(i)return i;let r=(0,g.H)({componentKey:n,componentData:e,index:t,componentStyle:e.style,container:null==e?void 0:e.container,buildProps:h,metafields:v,shopCommon:f,relatedProducts:z,profile:E,components:I,locale:j,locales:w,openSignInPopup:N,openSubscribeDialog:A,isLogin:k,mediaPlayerStickyRef:_,track:C,setRelativeLink:y,getLocalizedPath:S,addToCart:T,buyNow:F,payload:o});return r?(0,a.jsx)(s.Fragment,{children:r},"IPC_".concat(n,"_").concat(t)):(0,a.jsx)(p.W2,{children:(0,a.jsx)("div",{})},"Component_".concat(t))},K=(0,s.useMemo)(()=>I.map(R),[I,R]);return(0,a.jsxs)("div",{className:i().dynamic([["370be9a940efca68",[(null==o?void 0:o.pagebgColor)?".ipc_template, .ipc_container, .ipc_spacer {\n            background: ".concat(null==o?void 0:o.pagebgColor,";\n          }"):"",(null==d?void 0:d.background)?".ipc_template {\n            background: ".concat(null==d?void 0:d.background,";\n          }"):""]]])+" ipc_template",children:[(0,a.jsx)(i(),{id:"370be9a940efca68",dynamic:[(null==o?void 0:o.pagebgColor)?".ipc_template, .ipc_container, .ipc_spacer {\n            background: ".concat(null==o?void 0:o.pagebgColor,";\n          }"):"",(null==d?void 0:d.background)?".ipc_template {\n            background: ".concat(null==d?void 0:d.background,";\n          }"):""],children:"".concat((null==o?void 0:o.pagebgColor)?".ipc_template, .ipc_container, .ipc_spacer {\n            background: ".concat(null==o?void 0:o.pagebgColor,";\n          }"):""," ").concat((null==d?void 0:d.background)?".ipc_template {\n            background: ".concat(null==d?void 0:d.background,";\n          }"):"",' a[data-headless-type-name="image#category_banner"]{pointer-events:none!important;cursor:default!important;text-decoration:none!important;-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;transition:none!important;-webkit-transition-duration:0s!important;-moz-transition-duration:0s!important;-o-transition-duration:0s!important;transition-duration:0s!important;-webkit-transform:none!important;-moz-transform:none!important;-ms-transform:none!important;-o-transform:none!important;transform:none!important;-webkit-animation:none!important;-moz-animation:none!important;-o-animation:none!important;animation:none!important}a[data-headless-type-name="image#category_banner"]:hover,a[data-headless-type-name="image#category_banner"]:focus,a[data-headless-type-name="image#category_banner"]:active{pointer-events:none!important;cursor:default!important;-webkit-transform:none!important;-moz-transform:none!important;-ms-transform:none!important;-o-transform:none!important;transform:none!important;-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;transition:none!important}a[data-headless-type-name="image#category_banner"] *,a[data-headless-type-name="image#category_banner"] img{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;transition:none!important;-webkit-transition-duration:0s!important;-moz-transition-duration:0s!important;-o-transition-duration:0s!important;transition-duration:0s!important;-webkit-transform:none!important;-moz-transform:none!important;-ms-transform:none!important;-o-transform:none!important;transform:none!important;-webkit-animation:none!important;-moz-animation:none!important;-o-animation:none!important;animation:none!important}.ipc_template [class*="duration-"]:not(img):hover,.ipc_template [class*="hover:scale-"]:not(img):hover{-webkit-transform:none!important;-moz-transform:none!important;-ms-transform:none!important;-o-transform:none!important;transform:none!important;scale:1!important}.ipc_template .group:hover [class*="duration-"]:not(img),.ipc_template .group:hover [class*="hover:scale-"]:not(img){-webkit-transform:none!important;-moz-transform:none!important;-ms-transform:none!important;-o-transform:none!important;transform:none!important;scale:1!important}')}),K,c&&(0,a.jsx)(eA,{youTubeId:c,setYouTubeId:u}),(0,a.jsx)(b.Z,{data:{...null==v?void 0:null===(l=v.global)||void 0===l?void 0:l.subscribeCampaign,dealsType:x,...null==o?void 0:null===(n=o.extension)||void 0===n?void 0:n.subscribe},visible:L,position:M,onClose:B,isEmailSubscribed:!1})]})};var eP=e=>{var t,l,n,i,d,c,p,x,m,v,h;let{buildProps:b,payload:g,page:y,pageType:j,relatedProducts:w,...N}=e,{components:k=[],extension:_}=g||{},{common:C}=null==N?void 0:null===(t=N.shop)||void 0===t?void 0:t.metafields,{setRelativeLink:S}=(0,eE.D)(),T=null==y?void 0:y.handle,{locale:F,locales:E}=(0,o.useRouter)(),{openSignInPopup:z,openSignUpPopup:D,openModal:I,setRegistrationsDealsType:L}=(0,f.l)(),P=(0,s.useRef)(null),M=null==N?void 0:null===(i=N.shop)||void 0===i?void 0:null===(n=i.metafields)||void 0===n?void 0:null===(l=n.common)||void 0===l?void 0:l.copywriting,{profile:A,isLogin:B,activeToken:H}=(0,u.a)(),{track:W}=(0,eF.S)(),{getLocalizedPath:R}=(0,ez.j)(),K=(0,eD.t)(),O=(0,eI.t)(),Z=null!==(v=null==N?void 0:null===(x=N.shop)||void 0===x?void 0:null===(p=x.metafields)||void 0===p?void 0:null===(c=p.global)||void 0===c?void 0:null===(d=c.subscribeCampaign)||void 0===d?void 0:d.dealsType)&&void 0!==v?v:"",[V,q]=(0,s.use
1State)("");return(0,a.jsx)(r.AiuiProvider,{trackingData:{pageGroup:T},locale:F,copyWriting:{soldOutText:null!==(h=null==M?void 0:M.soldOut)&&void 0!==h?h:""},children:(0,a.jsx)(ej.u,{children:(0,a.jsx)(eL,{payload:g,pageHandle:T,extension:_,youTubeId:V,setYouTubeId:q,dealsType:Z,shopMetafields:null==N?void 0:null===(m=N.shop)||void 0===m?void 0:m.metafields,buildProps:b,shopCommon:C,setRelativeLink:S,locale:F,locales:E,openSignInPopup:z,isLogin:B,mediaPlayerStickyRef:P,track:W,getLocalizedPath:R,addToCart:K,buyNow:O,profile:A,relatedProducts:w})})})};let eM=e=>{var t,l,n;let{id:i,className:o="",data:s,isSticky:r=!1,...d}=e,u=c()(s);return(0,a.jsx)("section",{id:i,className:m()(" relative leading-[1.2] "+o,(null==u?void 0:null===(t=u.styles)||void 0===t?void 0:t.delPaddingBottomMob)&&"l:!pb-0",(null==u?void 0:null===(l=u.styles)||void 0===l?void 0:l.delPaddingTopMob)&&"l:!p-0"),style:{background:(null==u?void 0:null===(n=u.styles)||void 0===n?void 0:n.backgroundColor)||"transparent"},...d})},eA=e=>{let{youTubeId:t,setYouTubeId:l}=e,n=e=>{e.target,e.target.playVideo()},i=()=>{var e,l,a;(null===(e=window)||void 0===e?void 0:e.YT)&&(null===(a=window)||void 0===a?void 0:null===(l=a.YT)||void 0===l?void 0:l.Player)&&new window.YT.Player("x1Player",{height:"100%",width:"100%",videoId:t,host:(0,v.g9)()?"https://www.youtube.com":"https://www.youtube-nocookie.com",events:{onReady:n}})};return(0,s.useEffect)(()=>{try{i()}catch(e){}},[]),(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)(h.Z,{className:"",onClick:()=>{l("")}}),(0,a.jsx)("div",{id:"x1Player"})]})})}}}]);

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.