PageSourceSearch

https://www.pyur.com/assets/PyurProductTiles-C1xSRHHz.js

js pyur.com collected 2026-09-24 10:11:18 UTC 158,231 bytes, 1 lines download raw bytes

1import{j as l,c as ft,C as Z,a as H}from"./types-D-2fNQ7G.js";import{f as qt,d as Xt,N as Yt,B as we,g as ee,C as pt,n as te,D as We,o as ae,v as jn,a8 as ge,bf as Me,F as A,aa as ue,bg as In,i as K,P as F,bh as Ln,bi as On,bj as _n,bk as Bn,L as zn,bl as at,bm as Be,T as _e,O as Et,S as Q,k as Ee,q as An,Q as $n,aq as Dn,ar as Fn,V as lt,bn as Hn,a as Gn,bo as Xe,bp as kt,bq as Kt,ae as Vn,br as Rn,H as se,ap as jt,bs as Nn,bt as Wn,bu as It,bv as Un,bw as qn,bx as Xn,by as Yn}from"./metadata-CoTp2lrO.js";import{R as ne,p as be,P as Lt,z as O,W as Kn,I as De,u as le,l as ht,B as Zt,E as Ot,c as X,F as Ye,G as Zn,H as Jn,J as Qn,A as ei,C as ti,K as ni,L as he,f as ii,M as si,N as ri,O as ai,Q as Jt,T as li}from"./PyurFlag-ywgEyepH.js";import{r as z,R as N,u as ke,a as oi,f as di,e as ci}from"./chunk-4N6VE7H7-BkdS-kab.js";import{u as Qt,a as ui,C as fi}from"./card-body-BOoZr7mT.js";import{P as ve}from"./PyurDivider-CtGv3t9O.js";import{P as en}from"./PyurToggle-CJiJoTDm.js";import{g as tn,d as pi,a as hi}from"./pib-CePNIo6M.js";import{C as mi}from"./ContentKeys-Bc_xi0Or.js";import{u as Ue,g as gi,f as xi,i as vi,d as bi}from"./cookie-DsF-8AjZ.js";import{S as Ci}from"./SupportIcon-B8NC-W8U.js";import{u as Si}from"./CashbackCheckboxWidget.store-BeC4qj9J.js";import{a as yi}from"./types-CseTv8rw.js";import{a as Ti}from"./FeatureFlags-DstkOUY7.js";import{u as wi}from"./abTestStore-DK80NSnV.js";import{F as Pi}from"./types-D0xLK9aF.js";const Mi=qt(function(n,t){const{className:i,justify:r,...s}=n,o=Qt();return l.jsx(Xt.div,{ref:t,className:Yt("chakra-card__footer",i),__css:{display:"flex",justifyContent:r,...o.footer},...s})}),_t=qt(function(n,t){const{className:i,...r}=n,s=Qt();return l.jsx(Xt.div,{ref:t,className:Yt("chakra-card__header",i),__css:s.header,...r})});function Bt(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function mt(e={},n={}){const t=["__proto__","constructor","prototype"];Object.keys(n).filter(i=>t.indexOf(i)<0).forEach(i=>{typeof e[i]>"u"?e[i]=n[i]:Bt(n[i])&&Bt(e[i])&&Object.keys(n[i]).length>0&&mt(e[i],n[i])})}const nn={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function fe(){const e=typeof document<"u"?document:{};return mt(e,nn),e}const Ei={document:nn,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(e){return typeof setTimeout>"u"?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){typeof setTimeout>"u"||clearTimeout(e)}};function q(){const e=typeof window<"u"?window:{};return mt(e,Ei),e}function ki(e=""){return e.trim().split(" ").filter(n=>!!n.trim())}function ji(e){const n=e;Object.keys(n).forEach(t=>{try{n[t]=null}catch{}try{delete n[t]}catch{}})}function Oe(e,n=0){return setTimeout(e,n)}function ce(){return Date.now()}function Ii(e){const n=q();let t;return n.getComputedStyle&&(t=n.getComputedStyle(e,null)),!t&&e.currentStyle&&(t=e.currentStyle),t||(t=e.style),t}function Li(e,n="x"){const t=q();let i,r,s;const o=Ii(e);return t.WebKitCSSMatrix?(r=o.transform||o.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map(c=>c.replace(",",".")).join(", ")),s=new t.WebKitCSSMatrix(r==="none"?"":r)):(s=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=s.toString().split(",")),n==="x"&&(t.WebKitCSSMatrix?r=s.m41:i.length===16?r=parseFloat(i[12]):r=parseFloat(i[4])),n==="y"&&(t.WebKitCSSMatrix?r=s.m42:i.length===16?r=parseFloat(i[13]):r=parseFloat(i[5])),r||0}function ze(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function Oi(e){return typeof window<"u"&&typeof window.HTMLElement<"u"?e instanceof HTMLElement:e&&(e.nodeType===1||e.nodeType===11)}function J(...e){const n=Object(e[0]);for(let t=1;t<e.length;t+=1){const i=e[t];if(i!=null&&!Oi(i)){const r=Object.keys(Object(i)).filter(s=>s!=="__proto__"&&s!=="constructor"&&s!=="prototype");for(let s=0,o=r.length;s<o;s+=1){const c=r[s],a=Object.getOwnPropertyDescriptor(i,c);a!==void 0&&a.enumerable&&(ze(n[c])&&ze(i[c])?i[c].__swiper__?n[c]=i[c]:J(n[c],i[c]):!ze(n[c])&&ze(i[c])?(n[c]={},i[c].__swiper__?n[c]=i[c]:J(n[c],i[c])):n[c]=i[c])}}}return n}function Te(e,n,t){e.style.setProperty(n,t)}function sn({swiper:e,targetPosition:n,side:t}){const i=q(),r=-e.translate;let s=null,o;const c=e.params.speed;e.wrapperEl.style.scrollSnapType="none",i.cancelAnimationFrame(e.cssModeFrameID);const a=n>r?"next":"prev",u=(d,x)=>a==="next"&&d>=x||a==="prev"&&d<=x,f=()=>{o=new Date().getTime(),s===null&&(s=o);const d=Math.max(Math.min((o-s)/c,1),0),x=.5-Math.cos(d*Math.PI)/2;let m=r+x*(n-r);if(u(m,n)&&(m=n),e.wrapperEl.scrollTo({[t]:m}),u(m,n)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[t]:m})}),i.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=i.requestAnimationFrame(f)};f()}function re(e,n=""){const t=q(),i=[...e.children];return t.HTMLSlotElement&&e instanceof HTMLSlotElement&&i.push(...e.assignedElements()),n?i.filter(r=>r.matches(n)):i}function _i(e,n){const t=[n];for(;t.length>0;){const i=t.shift();if(e===i)return!0;t.push(...i.children,...i.shadowRoot?i.shadowRoot.children:[],...i.assignedElements?i.assignedElements():[])}}function Bi(e,n){const t=q();let i=n.contains(e);return!i&&t.HTMLSlotElement&&n instanceof HTMLSlotElement&&(i=[...n.assignedElements()].includes(e),i||(i=_i(e,n))),i}function Fe(e){try{console.warn(e);return}catch{}}function He(e,n=[]){const t=document.createElement(e);return t.classList.add(...Array.isArray(n)?n:ki(n)),t}function zi(e){const n=q(),t=fe(),i=e.getBoundingClientRect(),r=t.body,s=e.clientTop||r.clientTop||0,o=e.clientLeft||r.clientLeft||0,c=e===n?n.scrollY:e.scrollTop,a=e===n?
1n.scrollX:e.scrollLeft;return{top:i.top+c-s,left:i.left+a-o}}function Ai(e,n){const t=[];for(;e.previousElementSibling;){const i=e.previousElementSibling;n?i.matches(n)&&t.push(i):t.push(i),e=i}return t}function $i(e,n){const t=[];for(;e.nextElementSibling;){const i=e.nextElementSibling;n?i.matches(n)&&t.push(i):t.push(i),e=i}return t}function me(e,n){return q().getComputedStyle(e,null).getPropertyValue(n)}function Ge(e){let n=e,t;if(n){for(t=0;(n=n.previousSibling)!==null;)n.nodeType===1&&(t+=1);return t}}function Ve(e,n){const t=[];let i=e.parentElement;for(;i;)n?i.matches(n)&&t.push(i):t.push(i),i=i.parentElement;return t}function Di(e,n){function t(i){i.target===e&&(n.call(e,i),e.removeEventListener("transitionend",t))}n&&e.addEventListener("transitionend",t)}function ot(e,n,t){const i=q();return e[n==="width"?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(e,null).getPropertyValue(n==="width"?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(e,null).getPropertyValue(n==="width"?"margin-left":"margin-bottom"))}function oe(e){return(Array.isArray(e)?e:[e]).filter(n=>!!n)}function Re(e,n=""){typeof trustedTypes<"u"?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:t=>t}).createHTML(n):e.innerHTML=n}let Ke;function Fi(){const e=q(),n=fe();return{smoothScroll:n.documentElement&&n.documentElement.style&&"scrollBehavior"in n.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&n instanceof e.DocumentTouch)}}function rn(){return Ke||(Ke=Fi()),Ke}let Ze;function Hi({userAgent:e}={}){const n=rn(),t=q(),i=t.navigator.platform,r=e||t.navigator.userAgent,s={ios:!1,android:!1},o=t.screen.width,c=t.screen.height,a=r.match(/(Android);?[\s\/]+([\d.]+)?/);let u=r.match(/(iPad)(?!\1).*OS\s([\d_]+)/);const f=r.match(/(iPod)(.*OS\s([\d_]+))?/),d=!u&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),x=i==="Win32";let m=i==="MacIntel";const b=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!u&&m&&n.touch&&b.indexOf(`${o}x${c}`)>=0&&(u=r.match(/(Version)\/([\d.]+)/),u||(u=[0,1,"13_0_0"]),m=!1),a&&!x&&(s.os="android",s.android=!0),(u||d||f)&&(s.os="ios",s.ios=!0),s}function an(e={}){return Ze||(Ze=Hi(e)),Ze}let Je;function Gi(){const e=q(),n=an();let t=!1;function i(){const c=e.navigator.userAgent.toLowerCase();return c.indexOf("safari")>=0&&c.indexOf("chrome")<0&&c.indexOf("android")<0}if(i()){const c=String(e.navigator.userAgent);if(c.includes("Version/")){const[a,u]=c.split("Version/")[1].split(" ")[0].split(".").map(f=>Number(f));t=a<16||a===16&&u<2}}const r=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),s=i(),o=s||r&&n.ios;return{isSafari:t||s,needPerspectiveFix:t,need3dFix:o,isWebView:r}}function ln(){return Je||(Je=Gi()),Je}function Vi({swiper:e,on:n,emit:t}){const i=q();let r=null,s=null;const o=()=>{!e||e.destroyed||!e.initialized||(t("beforeResize"),t("resize"))},c=()=>{!e||e.destroyed||!e.initialized||(r=new ResizeObserver(f=>{s=i.requestAnimationFrame(()=>{const{width:d,height:x}=e;let m=d,b=x;f.forEach(({contentBoxSize:C,contentRect:S,target:h})=>{h&&h!==e.el||(m=S?S.width:(C[0]||C).inlineSize,b=S?S.height:(C[0]||C).blockSize)}),(m!==d||b!==x)&&o()})}),r.observe(e.el))},a=()=>{s&&i.cancelAnimationFrame(s),r&&r.unobserve&&e.el&&(r.unobserve(e.el),r=null)},u=()=>{!e||e.destroyed||!e.initialized||t("orientationchange")};n("init",()=>{if(e.params.resizeObserver&&typeof i.ResizeObserver<"u"){c();return}i.addEventListener("resize",o),i.addEventListener("orientationchange",u)}),n("destroy",()=>{a(),i.removeEventListener("resize",o),i.removeEventListener("orientationchange",u)})}function Ri({swiper:e,extendParams:n,on:t,emit:i}){const r=[],s=q(),o=(u,f={})=>{const d=s.MutationObserver||s.WebkitMutationObserver,x=new d(m=>{if(e.__preventObserver__)return;if(m.length===1){i("observerUpdate",m[0]);return}const b=function(){i("observerUpdate",m[0])};s.requestAnimationFrame?s.requestAnimationFrame(b):s.setTimeout(b,0)});x.observe(u,{attributes:typeof f.attributes>"u"?!0:f.attributes,childList:e.isElement||(typeof f.childList>"u"?!0:f).childList,characterData:typeof f.characterData>"u"?!0:f.characterData}),r.push(x)},c=()=>
1{if(e.params.observer){if(e.params.observeParents){const u=Ve(e.hostEl);for(let f=0;f<u.length;f+=1)o(u[f])}o(e.hostEl,{childList:e.params.observeSlideChildren}),o(e.wrapperEl,{attributes:!1})}},a=()=>{r.forEach(u=>{u.disconnect()}),r.splice(0,r.length)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),t("init",c),t("destroy",a)}var Ni={on(e,n,t){const i=this;if(!i.eventsListeners||i.destroyed||typeof n!="function")return i;const r=t?"unshift":"push";return e.split(" ").forEach(s=>{i.eventsListeners[s]||(i.eventsListeners[s]=[]),i.eventsListeners[s][r](n)}),i},once(e,n,t){const i=this;if(!i.eventsListeners||i.destroyed||typeof n!="function")return i;function r(...s){i.off(e,r),r.__emitterProxy&&delete r.__emitterProxy,n.apply(i,s)}return r.__emitterProxy=n,i.on(e,r,t)},onAny(e,n){const t=this;if(!t.eventsListeners||t.destroyed||typeof e!="function")return t;const i=n?"unshift":"push";return t.eventsAnyListeners.indexOf(e)<0&&t.eventsAnyListeners[i](e),t},offAny(e){const n=this;if(!n.eventsListeners||n.destroyed||!n.eventsAnyListeners)return n;const t=n.eventsAnyListeners.indexOf(e);return t>=0&&n.eventsAnyListeners.splice(t,1),n},off(e,n){const t=this;return!t.eventsListeners||t.destroyed||!t.eventsListeners||e.split(" ").forEach(i=>{typeof n>"u"?t.eventsListeners[i]=[]:t.eventsListeners[i]&&t.eventsListeners[i].forEac
1h((r,s)=>{(r===n||r.__emitterProxy&&r.__emitterProxy===n)&&t.eventsListeners[i].splice(s,1)})}),t},emit(...e){const n=this;if(!n.eventsListeners||n.destroyed||!n.eventsListeners)return n;let t,i,r;return typeof e[0]=="string"||Array.isArray(e[0])?(t=e[0],i=e.slice(1,e.length),r=n):(t=e[0].events,i=e[0].data,r=e[0].context||n),i.unshift(r),(Array.isArray(t)?t:t.split(" ")).forEach(o=>{n.eventsAnyListeners&&n.eventsAnyListeners.length&&n.eventsAnyListeners.forEach(c=>{c.apply(r,[o,...i])}),n.eventsListeners&&n.eventsListeners[o]&&n.eventsListeners[o].forEach(c=>{c.apply(r,i)})}),n}};function Wi(){const e=this;let n,t;const i=e.el;typeof e.params.width<"u"&&e.params.width!==null?n=e.params.width:n=i.clientWidth,typeof e.params.height<"u"&&e.params.height!==null?t=e.params.height:t=i.clientHeight,!(n===0&&e.isHorizontal()||t===0&&e.isVertical())&&(n=n-parseInt(me(i,"padding-left")||0,10)-parseInt(me(i,"padding-right")||0,10),t=t-parseInt(me(i,"padding-top")||0,10)-parseInt(me(i,"padding-bottom")||0,10),Number.isNaN(n)&&(n=0),Number.isNaN(t)&&(t=0),Object.assign(e,{width:n,height:t,size:e.isHorizontal()?n:t}))}function Ui(){const e=this;function n(M,w){return parseFloat(M.getPropertyValue(e.getDirectionLabel(w))||0)}const t=e.params,{wrapperEl:i,slidesEl:r,rtlTranslate:s,wrongRTL:o}=e,c=e.virtual&&t.virtual.enabled,a=c?e.virtual.slides.length:e.slides.length,u=re(r,`.${e.params.slideClass}, swiper-slide`),f=c?e.virtual.slides.length:u.length;let d=[];const x=[],m=[];let b=t.slidesOffsetBefore;typeof b=="function"&&(b=t.slidesOffsetBefore.call(e));let C=t.slidesOffsetAfter;typeof C=="function"&&(C=t.slidesOffsetAfter.call(e));const S=e.snapGrid.length,h=e.slidesGrid.length,p=e.size-b-C;let g=t.spaceBetween,y=-b,T=0,k=0;if(typeof p>"u")return;typeof g=="string"&&g.indexOf("%")>=0?g=parseFloat(g.replace("%",""))/100*p:typeof g=="string"&&(g=parseFloat(g)),e.virtualSize=-g-b-C,u.forEach(M=>{s?M.style.marginLeft="":M.style.marginRight="",M.style.marginBottom="",M.style.marginTop=""}),t.centeredSlides&&t.cssMode&&(Te(i,"--swiper-centered-offset-before",""),Te(i,"--swiper-centered-offset-after","")),t.cssMode&&(Te(i,"--swiper-slides-offset-before",`${b}px`),Te(i,"--swiper-slides-offset-after",`${C}px`));const E=t.grid&&t.grid.rows>1&&e.grid;E?e.grid.initSlides(u):e.grid&&e.grid.unsetSlides();let v;const j=t.slidesPerView==="auto"&&t.breakpoints&&Object.keys(t.breakpoints).filter(M=>typeof t.breakpoints[M].slidesPerView<"u").length>0;for(let M=0;M<f;M+=1){v=0;const w=u[M];if(!(w&&(E&&e.grid.updateSlide(M,w,u),me(w,"display")==="none"))){if(c&&t.slidesPerView==="auto")t.virtual.slidesPerViewAutoSlideSize&&(v=t.virtual.slidesPerViewAutoSlideSize),v&&w&&(t.roundLengths&&(v=Math.floor(v)),w.style[e.getDirectionLabel("width")]=`${v}px`);else if(t.slidesPerView==="auto"){j&&(w.style[e.getDirectionLabel("width")]="");const P=getComputedStyle(w),_=w.style.transform,I=w.style.webkitTransform;if(_&&(w.style.transform="none"),I&&(w.style.webkitTransform="none"),t.roundLengths)v=e.isHorizontal()?ot(w,"width"):ot(w,"height");else{const D=n(P,"width"),Y=n(P,"padding-left"),V=n(P,"padding-right"),L=n(P,"margin-left"),$=n(P,"margin-right"),W=P.getPropertyValue("box-sizing");if(W&&W==="border-box")v=D+L+$;else{const{clientWidth:U,offsetWidth:R}=w;v=D+Y+V+L+$+(R-U)}}_&&(w.style.transform=_),I&&(w.style.webkitTransform=I),t.roundLengths&&(v=Math.floor(v))}else v=(p-(t.slidesPerView-1)*g)/t.slidesPerView,t.roundLengths&&(v=Math.floor(v)),w&&(w.style[e.getDirectionLabel("width")]=`${v}px`);w&&(w.swiperSlideSize=v),m.push(v),t.centeredSlides?(y=y+v/2+T/2+g,T===0&&M!==0&&(y=y-p/2-g),M===0&&(y=y-p/2-g),Math.abs(y)<1/1e3&&(y=0),t.roundLengths&&(y=Math.floor(y)),k%t.slidesPerGroup===0&&d.push(y),x.push(y)):(t.roundLengths&&(y=Math.floor(y)),(k-Math.min(e.params.slidesPerGroupSkip,k))%e.params.slidesPerGroup===0&&d.push(y),x.push(y),y=y+v+g),e.virtualSize+=v+g,T=v,k+=1}}if(e.virtualSize=Math.max(e.virtualSize,p)+C,s&&o&&(t.effect==="slide"||t.effect==="coverflow")&&(i.style.width=`${e.virtualSize+g}px`),t.setWrapperSize&&(i.style[e.getDirectionLabel("width")]=`${e.virtualSize+g}px`),E&&e.grid.updateWrapperSize(v,d),!t.centeredSlides){const M=t.slidesPerView!=="auto"&&t.slidesPerView%1!==0,w=t.snapToSlideEdge&&!t.loop&&(t.slidesPerView==="auto"||M);let P=d.length;if(w){let I;if(t.slidesPerView==="auto"){I=1;let D=0;for(let Y=m.length-1;Y>=0&&(D+=m[Y]+(Y<m.length-1?g:0),D<=p);Y-=1)I=m.length-Y}else I=Math.floor(t.slidesPerView);P=Math.max(f-I,0)}const _=[];for(let I=0;I<d.length;I+=1){let D=d[I];t.roundLengths&&(D=Math.floor(D)),w?I<=P&&_.push(D):d[I]<=e.virtualSize-p&&_.push(D)}d=_,Math.floor(e.virtualSize-p)-Math.floor(d[d.length-1])>1&&(w||d.push(e.virtualSize-p))}if(c&&t.loop){const M=m[0]+g;if(t.slidesPerGroup>1){const w=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/t.slidesPerGroup),P=M*t.slidesPerGroup;for(let _=0;_<w;_+=1)d.push(d[d.length-1]+P)}for(let w=0;w<e.virtual.slidesBefore+e.virtual.slidesAfter;w+=1)t.slidesPerGroup===1&&d.push(d[d.length-1]+M),x.push(x[x.length-1]+M),e.virtualSize+=M}
1if(d.length===0&&(d=[0]),g!==0){const M=e.isHorizontal()&&s?"marginLeft":e.getDirectionLabel("marginRight");u.filter((w,P)=>!t.cssMode||t.loop?!0:P!==u.length-1).forEach(w=>{w.style[M]=`${g}px`})}if(t.centeredSlides&&t.centeredSlidesBounds){let M=0;m.forEach(P=>{M+=P+(g||0)}),M-=g;const w=M>p?M-p:0;d=d.map(P=>P<=0?-b:P>w?w+C:P)}if(t.centerInsufficientSlides){let M=0;if(m.forEach(w=>{M+=w+(g||0)}),M-=g,M<p){const w=(p-M)/2;d.forEach((P,_)=>{d[_]=P-w}),x.forEach((P,_)=>{x[_]=P+w})}}if(Object.assign(e,{slides:u,snapGrid:d,slidesGrid:x,slidesSizesGrid:m}),t.centeredSlides&&t.cssMode&&!t.centeredSlidesBounds){Te(i,"--swiper-centered-offset-before",`${-d[0]}px`),Te(i,"--swiper-centered-offset-after",`${e.size/2-m[m.length-1]/2}px`);const M=-e.snapGrid[0],w=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(P=>P+M),e.slidesGrid=e.slidesGrid.map(P=>P+w)}if(f!==a&&e.emit("slidesLengthChange"),d.length!==S&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),x.length!==h&&e.emit("slidesGridLengthChange"),t.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!c&&!t.cssMode&&(t.effect==="slide"||t.effect==="fade")){const M=`${t.containerModifierClass}backface-hidden`,w=e.el.classList.contains(M);f<=t.maxBackfaceHiddenSlides?w||e.el.classList.add(M):w&&e.el.classList.remove(M)}}function qi(e){const n=this,t=[],i=n.virtual&&n.params.virtual.enabled;let r=0,s;typeof e=="number"?n.setTransition(e):e===!0&&n.setTransition(n.params.speed);const o=c=>i?n.slides[n.getSlideIndexByData(c)]:n.slides[c];if(n.params.slidesPerView!=="auto"&&n.params.slidesPerView>1)if(n.params.centeredSlides)(n.visibleSlides||[]).forEach(c=>{t.push(c)});else for(s=0;s<Math.ceil(n.params.slidesPerView);s+=1){const c=n.activeIndex+s;if(c>n.slides.length&&!i)break;t.push(o(c))}else t.push(o(n.activeIndex));for(s=0;s<t.length;s+=1)if(typeof t[s]<"u"){const c=t[s].offsetHeight;r=c>r?c:r}(r||r===0)&&(n.wrapperEl.style.height=`${r}px`)}function Xi(){const e=this,n=e.slides,t=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let i=0;i<n.length;i+=1)n[i].swiperSlideOffset=(e.isHorizontal()?n[i].offsetLeft:n[i].offsetTop)-t-e.cssOverflowAdjustment()}const zt=(e,n,t)=>{n&&!e.classList.contains(t)?e.classList.add(t):!n&&e.classList.contains(t)&&e.classList.remove(t)};function Yi(e=this&&this.translate||0){const n=this,t=n.params,{slides:i,rtlTranslate:r,snapGrid:s}=n;if(i.length===0)return;typeof i[0].swiperSlideOffset>"u"&&n.updateSlidesOffset();let o=-e;r&&(o=e),n.visibleSlidesIndexes=[],n.visibleSlides=[];let c=t.spaceBetween;typeof c=="string"&&c.indexOf("%")>=0?c=parseFloat(c.replace("%",""))/100*n.size:typeof c=="string"&&(c=parseFloat(c));for(let a=0;a<i.length;a+=1){const u=i[a];let f=u.swiperSlideOffset;t.cssMode&&t.centeredSlides&&(f-=i[0].swiperSlideOffset);const d=(o+(t.centeredSlides?n.minTranslate():0)-f)/(u.swiperSlideSize+c),x=(o-s[0]+(t.centeredSlides?n.minTranslate():0)-f)/(u.swiperSlideSize+c),m=-(o-f),b=m+n.slidesSizesGrid[a],C=m>=0&&m<=n.size-n.slidesSizesGrid[a],S=m>=0&&m<n.size-1||b>1&&b<=n.size||m<=0&&b>=n.size;S&&(n.visibleSlides.push(u),n.visibleSlidesIndexes.push(a)),zt(u,S,t.slideVisibleClass),zt(u,C,t.slideFullyVisibleClass),u.progress=r?-d:d,u.originalProgress=r?-x:x}}function Ki(e){const n=this;if(typeof e>"u"){const f=n.rtlTranslate?-1:1;e=n&&n.translate&&n.translate*f||0}const t=n.params,i=n.maxTranslate()-n.minTranslate();let{progress:r,isBeginning:s,isEnd:o,progressLoop:c}=n;const a=s,u=o;if(i===0)r=0,s=!0,o=!0;else{r=(e-n.minTranslate())/i;const f=Math.abs(e-n.minTranslate())<1,d=Math.abs(e-n.maxTranslate())<1;s=f||r<=0,o=d||r>=1,f&&(r=0),d&&(r=1)}if(t.loop){const f=n.getSlideIndexByData(0),d=n.getSlideIndexByData(n.slides.length-1),x=n.slidesGrid[f],m=n.slidesGrid[d],b=n.slidesGrid[n.slidesGrid.length-1],C=Math.abs(e);C>=x?c=(C-x)/b:c=(C+b-m)/b,c>1&&(c-=1)}Object.assign(n,{progress:r,progressLoop:c,isBeginning:s,isEnd:o}),(t.watchSlidesProgress||t.centeredSlides&&t.autoHeight)&&n.updateSlidesProgress(e),s&&!a&&n.emit("reachBeginning toEdge"),o&&!u&&n.emit("reachEnd toEdge"),(a&&!s||u&&!o)&&n.emit("fromEdge"),n.emit("progress",r)}const Qe=(e,n,t)=>{n&&!e.classList.contains(t)?e.classList.add(t):!n&&e.classList.contains(t)&&e.classList.remove(t)};function Zi(){const e=this,{slides:n,params:t,slidesEl:i,activeIndex:r}=e,s=e.virtual&&t.virtual.enabled,o=e.grid&&t.grid&&t.grid.rows>1,c=d=>re(i,`.${t.slideClass}${d}, swiper-slide${d}`)[0];let a,u,f;if(s)if(t.loop){let d=r-e.virtual.slidesBefore;d<0&&(d=e.virtual.slides.length+d),d>=e.virtual.slides.length&&(d-=e.virtual.slides.length),a=c(`[data-swiper-slide-index="${d}"]`)}else a=c(`[data-swiper-slide-index="${r}"]`);else o?(a=n.find(d=>d.column===r),f=n.find(d=>d.column===r+1),u=n.find(d=>d.column===r-1)):a=n[r];a&&(o||(f=$i(a,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!f&&(f=n[0]),u=Ai(a,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!u===0&&(u=n[n.length-1]))),n.forEac
1h(d=>{Qe(d,d===a,t.slideActiveClass),Qe(d,d===f,t.slideNextClass),Qe(d,d===u,t.slidePrevClass)}),e.emitSlidesClasses()}const Ae=(e,n)=>{if(!e||e.destroyed||!e.params)return;const t=()=>e.isElement?"swiper-slide":`.${e.params.slideClass}`,i=n.closest(t());if(i){let r=i.querySelector(`.${e.params.lazyPreloaderClass}`);!r&&e.isElement&&(i.shadowRoot?r=i.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{i.shadowRoot&&(r=i.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),r&&!r.lazyPreloaderManaged&&r.remove())})),r&&!r.lazyPreloaderManaged&&r.remove()}},et=(e,n)=>{if(!e.slides[n])return;const t=e.slides[n].querySelector('[loading="lazy"]');t&&t.removeAttribute("loading")},dt=e=>{if(!e||e.destroyed||!e.params)return;let n=e.params.lazyPreloadPrevNext;const t=e.slides.length;if(!t||!n||n<0)return;n=Math.min(n,t);const i=e.params.slidesPerView==="auto"?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),r=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const o=r,c=[o-n];c.push(...Array.from({length:n}).map((a,u)=>o+i+u)),e.slides.forEach((a,u)=>{c.includes(a.column)&&et(e,u)});return}const s=r+i-1;if(e.params.rewind||e.params.loop)for(let o=r-n;o<=s+n;o+=1){const c=(o%t+t)%t;(c<r||c>s)&&et(e,c)}else for(let o=Math.max(r-n,0);o<=Math.min(s+n,t-1);o+=1)o!==r&&(o>s||o<r)&&et(e,o)};function Ji(e){const{slidesGrid:n,params:t}=e,i=e.rtlTranslate?e.translate:-e.translate;let r;for(let s=0;s<n.length;s+=1)typeof n[s+1]<"u"?i>=n[s]&&i<n[s+1]-(n[s+1]-n[s])/2?r=s:i>=n[s]&&i<n[s+1]&&(r=s+1):i>=n[s]&&(r=s);return t.normalizeSlideIndex&&(r<0||typeof r>"u")&&(r=0),r}function Qi(e){const n=this,t=n.rtlTranslate?n.translate:-n.translate,{snapGrid:i,params:r,activeIndex:s,realIndex:o,snapIndex:c}=n;let a=e,u;const f=m=>{let b=m-n.virtual.slidesBefore;return b<0&&(b=n.virtual.slides.length+b),b>=n.virtual.slides.length&&(b-=n.virtual.slides.length),b};if(typeof a>"u"&&(a=Ji(n)),i.indexOf(t)>=0)u=i.indexOf(t);else{const m=Math.min(r.slidesPerGroupSkip,a);u=m+Math.floor((a-m)/r.slidesPerGroup)}if(u>=i.length&&(u=i.length-1),a===s&&!n.params.loop){u!==c&&(n.snapIndex=u,n.emit("snapIndexChange"));return}if(a===s&&n.params.loop&&n.virtual&&n.params.virtual.enabled){n.realIndex=f(a);return}const d=n.grid&&r.grid&&r.grid.rows>1;let x;if(n.virtual&&r.virtual.enabled)r.loop?x=f(a):x=a;else if(d){const m=n.slides.find(C=>C.column===a);let b=parseInt(m.getAttribute("data-swiper-slide-index"),10);Number.isNaN(b)&&(b=Math.max(n.slides.indexOf(m),0)),x=Math.floor(b/r.grid.rows)}else if(n.slides[a]){const m=n.slides[a].getAttribute("data-swiper-slide-index");m?x=parseInt(m,10):x=a}else x=a;Object.assign(n,{previousSnapIndex:c,snapIndex:u,previousRealIndex:o,realIndex:x,previousIndex:s,activeIndex:a}),n.initialized&&dt(n),n.emit("activeIndexChange"),n.emit("snapIndexChange"),(n.initialized||n.params.runCallbacksOnInit)&&(o!==x&&n.emit("realIndexChange"),n.emit("slideChange"))}function es(e,n){const t=this,i=t.params;let r=e.closest(`.${i.slideClass}, swiper-slide`);!r&&t.isElement&&n&&n.length>
11&&n.includes(e)&&[...n.slice(n.indexOf(e)+1,n.length)].forEach(c=>{!r&&c.matches&&c.matches(`.${i.slideClass}, swiper-slide`)&&(r=c)});let s=!1,o;if(r){for(let c=0;c<t.slides.length;c+=1)if(t.slides[c]===r){s=!0,o=c;break}}if(r&&s)t.clickedSlide=r,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(r.getAttribute("data-swiper-slide-index"),10):t.clickedIndex=o;else{t.clickedSlide=void 0,t.clickedIndex=void 0;return}i.slideToClickedSlide&&t.clickedIndex!==void 0&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}var ts={updateSize:Wi,updateSlides:Ui,updateAutoHeight:qi,updateSlidesOffset:Xi,updateSlidesProgress:Yi,updateProgress:Ki,updateSlidesClasses:Zi,updateActiveIndex:Qi,updateClickedSlide:es};function ns(e=this.isHorizontal()?"x":"y"){const n=this,{params:t,rtlTranslate:i,translate:r,wrapperEl:s}=n;if(t.virtualTranslate)return i?-r:r;if(t.cssMode)return r;let o=Li(s,e);return o+=n.cssOverflowAdjustment(),i&&(o=-o),o||0}function is(e,n){const t=this,{rtlTranslate:i,params:r,wrapperEl:s,progress:o}=t;let c=0,a=0;const u=0;t.isHorizontal()?c=i?-e:e:a=e,r.roundLengths&&(c=Math.floor(c),a=Math.floor(a)),t.previousTranslate=t.translate,t.translate=t.isHorizontal()?c:a,r.cssMode?s[t.isHorizontal()?"scrollLeft":"scrollTop"]=t.isHorizontal()?-c:-a:r.virtualTranslate||(t.isHorizontal()?c-=t.cssOverflowAdjustment():a-=t.cssOverflowAdjustment(),s.style.transform=`translate3d(${c}px, ${a}px, ${u}px)`);let f;const d=t.maxTranslate()-t.minTranslate();d===0?f=0:f=(e-t.minTranslate())/d,f!==o&&t.updateProgress(e),t.emit("setTranslate",t.translate,n)}function ss(){return-this.snapGrid[0]}function rs(){return-this.snapGrid[this.snapGrid.length-1]}function as(e=0,n=this.params.speed,t=!0,i=!0,r){const s=this,{params:o,wrapperEl:c}=s;if(s.animating&&o.preventInteractionOnTransition)return!1;const a=s.minTranslate(),u=s.maxTranslate();let f;if(i&&e>a?f=a:i&&e<u?f=u:f=e,s.updateProgress(f),o.cssMode){const d=s.isHorizontal();if(n===0)c[d?"scrollLeft":"scrollTop"]=-f;else{if(!s.support.smoothScroll)return sn({swiper:s,targetPosition:-f,side:d?"left":"top"}),!0;c.scrollTo({[d?"left":"top"]:-f,behavior:"smooth"})}return!0}return n===0?(s.setTransition(0),s.setTranslate(f),t&&(s.emit("beforeTransitionStart",n,r),s.emit("transitionEnd"))):(s.setTransition(n),s.setTranslate(f),t&&(s.emit("beforeTransitionStart",n,r),s.emit("transitionStart")),s.animating||(s.animating=!0,s.onTranslateToWrapperTransitionEnd||(s.onTranslateToWrapperTransitionEnd=function(x){!s||s.destroyed||x.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onTranslateToWrapperTransitionEnd),s.onTranslateToWrapperTransitionEnd=null,delete s.onTranslateToWrapperTransitionEnd,s.animating=!1,t&&s.emit("transitionEnd"))}),s.wrapperEl.addEventListener("transitionend",s.onTranslateToWrapperTransitionEnd))),!0}var ls={getTranslate:ns,setTranslate:is,minTranslate:ss,maxTranslate:rs,translateTo:as};function os(e,n){const t=this;t.params.cssMode||(t.wrapperEl.style.transitionDuration=`${e}ms`,t.wrapperEl.style.transitionDelay=e===0?"0ms":""),t.emit("setTransition",e,n)}function on({swiper:e,runCallbacks:n,direction:t,step:i}){const{activeIndex:r,previousIndex:s}=e;let o=t;o||(r>
1s?o="next":r<s?o="prev":o="reset"),e.emit(`transition${i}`),n&&o==="reset"?e.emit(`slideResetTransition${i}`):n&&r!==s&&(e.emit(`slideChangeTransition${i}`),o==="next"?e.emit(`slideNextTransition${i}`):e.emit(`slidePrevTransition${i}`))}function ds(e=!0,n){const t=this,{params:i}=t;i.cssMode||(i.autoHeight&&t.updateAutoHeight(),on({swiper:t,runCallbacks:e,direction:n,step:"Start"}))}function cs(e=!0,n){const t=this,{params:i}=t;t.animating=!1,!i.cssMode&&(t.setTransition(0),on({swiper:t,runCallbacks:e,direction:n,step:"End"}))}var us={setTransition:os,transitionStart:ds,transitionEnd:cs};function fs(e=0,n,t=!0,i,r){typeof e=="string"&&(e=parseInt(e,10));const s=this;let o=e;o<0&&(o=0);const{params:c,snapGrid:a,slidesGrid:u,previousIndex:f,activeIndex:d,rtlTranslate:x,wrapperEl:m,enabled:b}=s;if(!b&&!i&&!r||s.destroyed||s.animating&&c.preventInteractionOnTransition)return!1;typeof n>"u"&&(n=s.params.speed);const C=Math.min(s.params.slidesPerGroupSkip,o);let S=C+Math.floor((o-C)/s.params.slidesPerGroup);S>=a.length&&(S=a.length-1);const h=-a[S];if(c.normalizeSlideIndex)for(let E=0;E<u.length;E+=1){const v=-Math.floor(h*100),j=Math.floor(u[E]*100),M=Math.floor(u[E+1]*100);typeof u[E+1]<"u"?v>=j&&v<M-(M-j)/2?o=E:v>=j&&v<M&&(o=E+1):v>=j&&(o=E)}if(s.initialized&&o!==d&&(!s.allowSlideNext&&(x?h>s.translate&&h>s.minTranslate():h<s.translate&&h<s.minTranslate())||!s.allowSlidePrev&&h>s.translate&&h>s.maxTranslate()&&(d||0)!==o))return!1;o!==(f||0)&&t&&s.emit("beforeSlideChangeStart"),s.updateProgress(h);let p;o>d?p="next":o<d?p="prev":p="reset";const g=s.virtual&&s.params.virtual.enabled;if(!(g&&r)&&(x&&-h===s.translate||!x&&h===s.translate))return s.updateActiveIndex(o),c.autoHeight&&s.updateAutoHeight(),s.updateSlidesClasses(),c.effect!=="slide"&&s.setTranslate(h),p!=="reset"&&(s.transitionStart(t,p),s.transitionEnd(t,p)),!1;if(c.cssMode){const E=s.isHorizontal(),v=x?h:-h;if(n===0)g&&(s.wrapperEl.style.scrollSnapType="none",s._immediateVirtual=!0),g&&!s._cssModeVirtualInitialSet&&s.params.initialSlide>0?(s._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{m[E?"scrollLeft":"scrollTop"]=v})):m[E?"scrollLeft":"scrollTop"]=v,g&&requestAnimationFrame(()=>{s.wrapperEl.style.scrollSnapType="",s._immediateVirtual=!1});else{if(!s.support.smoothScroll)return sn({swiper:s,targetPosition:v,side:E?"left":"top"}),!0;m.scrollTo({[E?"left":"top"]:v,behavior:"smooth"})}return!0}const k=ln().isSafari;return g&&!r&&k&&s.isElement&&s.virtual.update(!1,!1,o),s.setTransition(n),s.setTranslate(h),s.updateActiveIndex(o),s.updateSlidesClasses(),s.emit("beforeTransitionStart",n,i),s.transitionStart(t,p),n===0?s.transitionEnd(t,p):s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(v){!s||s.destroyed||v.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(t,p))}),s.wrapperEl.addEventListener("transitionend",s.onSlideToWrapperTransitionEnd)),!0}function ps(e=0,n,t=!0,i){typeof e=="string"&&(e=parseInt(e,10));const r=this;if(r.destroyed)return;typeof n>"u"&&(n=r.params.speed);const s=r.grid&&r.params.grid&&r.params.grid.rows>1;let o=e;if(r.params.loop)if(r.virtual&&r.params.virtual.enabled)o=o+r.virtual.slidesBefore;else{let c;if(s){const C=o*r.params.grid.rows;c=r.slides.find(S=>S.getAttribute("data-swiper-slide-index")*1===C).column}else c=r.getSlideIndexByData(o);const a=s?Math.ceil(r.slides.length/r.params.grid.rows):r.slides.length,{centeredSlides:u,slidesOffsetBefore:f,slidesOffsetAfter:d}=r.params,x=u||!!f||!!d;let m=r.params.slidesPerView;m==="auto"?m=r.slidesPerViewDynamic():(m=Math.ceil(parseFloat(r.params.slidesPerView,10)),x&&m%2===0&&(m=m+1));let b=a-c<m;if(x&&(b=b||c<Math.ceil(m/2)),i&&x&&r.params.slidesPerView!=="auto"&&!s&&(b=!1),b){const C=x?c<r.activeIndex?"prev":"next":c-r.activeIndex-1<r.params.slidesPerView?"next":"prev";r.loopFix({direction:C,slideTo:!0,activeSlideIndex:C==="next"?c+1:c-a+1,slideRealIndex:C==="next"?r.realIndex:void 0})}if(s){const C=o*r.params.grid.rows;o=r.slides.find(S=>
1S.getAttribute("data-swiper-slide-index")*1===C).column}else o=r.getSlideIndexByData(o)}return requestAnimationFrame(()=>{r.slideTo(o,n,t,i)}),r}function hs(e,n=!0,t){const i=this,{enabled:r,params:s,animating:o}=i;if(!r||i.destroyed)return i;typeof e>"u"&&(e=i.params.speed);let c=s.slidesPerGroup;s.slidesPerView==="auto"&&s.slidesPerGroup===1&&s.slidesPerGroupAuto&&(c=Math.max(i.slidesPerViewDynamic("current",!0),1));const a=i.activeIndex<s.slidesPerGroupSkip?1:c,u=i.virtual&&s.virtual.enabled;if(s.loop){if(o&&!u&&s.loopPreventsSliding)return!1;if(i.loopFix({direction:"next"}),i._clientLeft=i.wrapperEl.clientLeft,i.activeIndex===i.slides.length-1&&s.cssMode)return requestAnimationFrame(()=>{i.slideTo(i.activeIndex+a,e,n,t)}),!0}return s.rewind&&i.isEnd?i.slideTo(0,e,n,t):i.slideTo(i.activeIndex+a,e,n,t)}function ms(e,n=!0,t){const i=this,{params:r,snapGrid:s,slidesGrid:o,rtlTranslate:c,enabled:a,animating:u}=i;if(!a||i.destroyed)return i;typeof e>"u"&&(e=i.params.speed);const f=i.virtual&&r.virtual.enabled;if(r.loop){if(u&&!f&&r.loopPreventsSliding)return!1;i.loopFix({direction:"prev"}),i._clientLeft=i.wrapperEl.clientLeft}const d=c?i.translate:-i.translate;function x(p){return p<0?-Math.floor(Math.abs(p)):Math.floor(p)}const m=x(d),b=s.map(p=>x(p)),C=r.freeMode&&r.freeMode.enabled;let S=s[b.indexOf(m)-1];if(typeof S>"u"&&(r.cssMode||C)){let p;s.forEach((g,y)=>{m>=g&&(p=y)}),typeof p<"u"&&(S=C?s[p]:s[p>0?p-1:p])}let h=0;if(typeof S<"u"&&(h=o.indexOf(S),h<0&&(h=i.activeIndex-1),r.slidesPerView==="auto"&&r.slidesPerGroup===1&&r.slidesPerGroupAuto&&(h=h-i.slidesPerViewDynamic("previous",!0)+1,h=Math.max(h,0))),r.rewind&&i.isBeginning){const p=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(p,e,n,t)}else if(r.loop&&i.activeIndex===0&&r.cssMode)return requestAnimationFrame(()=>{i.slideTo(h,e,n,t)}),!0;return i.slideTo(h,e,n,t)}function gs(e,n=!0,t){const i=this;if(!i.destroyed)return typeof e>"u"&&(e=i.params.speed),i.slideTo(i.activeIndex,e,n,t)}function xs(e,n=!0,t,i=.5){const r=this;if(r.destroyed)return;typeof e>"u"&&(e=r.params.speed);let s=r.activeIndex;const o=Math.min(r.params.slidesPerGroupSkip,s),c=o+Math.floor((s-o)/r.params.slidesPerGroup),a=r.rtlTranslate?r.translate:-r.translate;if(a>=r.snapGrid[c]){const u=r.snapGrid[c],f=r.snapGrid[c+1];a-u>(f-u)*i&&(s+=r.params.slidesPerGroup)}else{const u=r.snapGrid[c-1],f=r.snapGrid[c];a-u<=(f-u)*i&&(s-=r.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,r.slidesGrid.length-1),r.slideTo(s,e,n,t)}function vs(){const e=this;if(e.destroyed)return;const{params:n,slidesEl:t}=e,i=n.slidesPerView==="auto"?e.slidesPerViewDynamic():n.slidesPerView;let r=e.getSlideIndexWhenGrid(e.clickedIndex),s;const o=e.isElement?"swiper-slide":`.${n.slideClass}`,c=e.grid&&e.params.grid&&e.params.grid.rows>1;if(n.loop){if(e.animating)return;s=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),n.centeredSlides?e.slideToLoop(s):r>(c?(e.slides.length-i)/2-(e.params.grid.rows-1):e.slides.length-i)?(e.loopFix(),r=e.getSlideIndex(re(t,`${o}[data-swiper-slide-index="${s}"]`)[0]),Oe(()=>{e.slideTo(r)})):e.slideTo(r)}else e.slideTo(r)}var bs={slideTo:fs,slideToLoop:ps,slideNext:hs,slidePrev:ms,slideReset:gs,slideToClosest:xs,slideToClickedSlide:vs};function Cs(e,n){const t=this,{params:i,slidesEl:r}=t;if(!i.loop||t.virtual&&t.params.virtual.enabled)return;const s=()=>{re(r,`.${i.slideClass}, swiper-slide`).forEach((b,C)=>{b.setAttribute("data-swiper-slide-index",C)})},o=()=>{const m=re(r,`.${i.slideBlankClass}`);m.forEach(b=>{b.remove()}),m.length>0&&(t.recalcSlides(),t.updateSlides())},c=t.grid&&i.grid&&i.grid.rows>1;i.loopAddBlankSlides&&(i.slidesPerGroup>1||c)&&o();const a=i.slidesPerGroup*(c?i.grid.rows:1),u=t.slides.length%a!==0,f=c&&t.slides.length%i.grid.rows!==0,d=m=>{for(let b=0;b<m;b+=1){const C=t.isElement?He("swiper-slide",[i.slideBlankClass]):He("div",[i.slideClass,i.slideBlankClass]);t.slidesEl.append(C)}};if(u){if(i.loopAddBlankSlides){const m=a-t.slides.length%a;d(m),t.recalcSlides(),t.updateSlides()}else Fe("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may 
1not function properly. You need to add more slides (or make duplicates, or empty slides)");s()}else if(f){if(i.loopAddBlankSlides){const m=i.grid.rows-t.slides.length%i.grid.rows;d(m),t.recalcSlides(),t.updateSlides()}else Fe("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");s()}else s();const x=i.centeredSlides||!!i.slidesOffsetBefore||!!i.slidesOffsetAfter;t.loopFix({slideRealIndex:e,direction:x?void 0:"next",initial:n})}function Ss({slideRealIndex:e,slideTo:n=!0,direction:t,setTranslate:i,activeSlideIndex:r,initial:s,byController:o,byMousewheel:c}={}){const a=this;if(!a.params.loop)return;a.emit("beforeLoopFix");const{slides:u,allowSlidePrev:f,allowSlideNext:d,slidesEl:x,params:m}=a,{centeredSlides:b,slidesOffsetBefore:C,slidesOffsetAfter:S,initialSlide:h}=m,p=b||!!C||!!S;if(a.allowSlidePrev=!0,a.allowSlideNext=!0,a.virtual&&m.virtual.enabled){n&&(!p&&a.snapIndex===0?a.slideTo(a.virtual.slides.length,0,!1,!0):p&&a.snapIndex<m.slidesPerView?a.slideTo(a.virtual.slides.length+a.snapIndex,0,!1,!0):a.snapIndex===a.snapGrid.length-1&&a.slideTo(a.virtual.slidesBefore,0,!1,!0)),a.allowSlidePrev=f,a.allowSlideNext=d,a.emit("loopFix");return}let g=m.slidesPerView;g==="auto"?g=a.slidesPerViewDynamic():(g=Math.ceil(parseFloat(m.slidesPerView,10)),p&&g%2===0&&(g=g+1));const y=m.slidesPerGroupAuto?g:m.slidesPerGroup;let T=p?Math.max(y,Math.ceil(g/2)):y;T%y!==0&&(T+=y-T%y),T+=m.loopAdditionalSlides,a.loopedSlides=T;const k=a.grid&&m.grid&&m.grid.rows>1;u.length<g+T||a.params.effect==="cards"&&u.length<g+T*2?Fe("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):k&&m.grid.fill==="row"&&Fe("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const E=[],v=[],j=k?Math.ceil(u.length/m.grid.rows):u.length,M=s&&j-h<g&&!p;let w=M?h:a.activeIndex;typeof r>"u"?r=a.getSlideIndex(u.find(L=>L.classList.contains(m.slideActiveClass))):w=r;const P=t==="next"||!t,_=t==="prev"||!t;let I=0,D=0;const V=(k?u[r].column:r)+(p&&typeof i>"u"?-g/2+.5:0);if(V<T){I=Math.max(T-V,y);for(let L=0;L<T-V;L+=1){const $=L-Math.floor(L/j)*j;if(k){const W=j-$-1;for(let U=u.length-1;U>=0;U-=1)u[U].column===W&&E.push(U)}else E.push(j-$-1)}}else if(V+g>j-T){D=Math.max(V-(j-T*2),y),M&&(D=Math.max(D,g-j+h+1));for(let L=0;L<D;L+=1){const $=L-Math.floor(L/j)*j;k?u.forEach((W,U)=>{W.column===$&&v.push(U)}):v.push($)}}if(a.__preventObserver__=!0,requestAnimationFrame(()=>{a.__preventObserver__=!1}),a.params.effect==="cards"&&u.length<g+T*2&&(v.includes(r)&&v.splice(v.indexOf(r),1),E.includes(r)&&E.splice(E.indexOf(r),1)),_&&E.forEac
1h(L=>{u[L].swiperLoopMoveDOM=!0,x.prepend(u[L]),u[L].swiperLoopMoveDOM=!1}),P&&v.forEach(L=>{u[L].swiperLoopMoveDOM=!0,x.append(u[L]),u[L].swiperLoopMoveDOM=!1}),a.recalcSlides(),m.slidesPerView==="auto"?a.updateSlides():k&&(E.length>0&&_||v.length>0&&P)&&a.slides.forEach((L,$)=>{a.grid.updateSlide($,L,a.slides)}),m.watchSlidesProgress&&a.updateSlidesOffset(),n){if(E.length>0&&_){if(typeof e>"u"){const L=a.slidesGrid[w],W=a.slidesGrid[w+I]-L;c?a.setTranslate(a.translate-W):(a.slideTo(w+Math.ceil(I),0,!1,!0),i&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-W,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-W))}else if(i){const L=k?E.length/m.grid.rows:E.length;a.slideTo(a.activeIndex+L,0,!1,!0),a.touchEventsData.currentTranslate=a.translate}}else if(v.length>0&&P)if(typeof e>"u"){const L=a.slidesGrid[w],W=a.slidesGrid[w-D]-L;c?a.setTranslate(a.translate-W):(a.slideTo(w-D,0,!1,!0),i&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-W,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-W))}else{const L=k?v.length/m.grid.rows:v.length;a.slideTo(a.activeIndex-L,0,!1,!0)}}if(a.allowSlidePrev=f,a.allowSlideNext=d,a.controller&&a.controller.control&&!o){const L={slideRealIndex:e,direction:t,setTranslate:i,activeSlideIndex:r,byController:!0};Array.isArray(a.controller.control)?a.controller.control.forEach($=>{!$.destroyed&&$.params.loop&&$.loopFix({...L,slideTo:$.params.slidesPerView===m.slidesPerView?n:!1})}):a.controller.control instanceof a.constructor&&a.controller.control.params.loop&&a.controller.control.loopFix({...L,slideTo:a.controller.control.params.slidesPerView===m.slidesPerView?n:!1})}a.emit("loopFix")}function ys(){const e=this,{params:n,slidesEl:t}=e;if(!n.loop||!t||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const i=[];e.slides.forEach(r=>{const s=typeof r.swiperSlideIndex>"u"?r.getAttribute("data-swiper-slide-index")*1:r.swiperSlideIndex;i[s]=r}),e.slides.forEach(r=>{r.removeAttribute("data-swiper-slide-index")}),i.forEach(r=>{t.append(r)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}var Ts={loopCreate:Cs,loopFix:Ss,loopDestroy:ys};function ws(e){const n=this;if(!n.params.simulateTouch||n.params.watchOverflow&&n.isLocked||n.params.cssMode)return;const t=n.params.touchEventsTarget==="container"?n.el:n.wrapperEl;n.isElement&&(n.__preventObserver__=!0),t.style.cursor="move",t.style.cursor=e?"grabbing":"grab",n.isElement&&requestAnimationFrame(()=>{n.__preventObserver__=!1})}function Ps(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e[e.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}var Ms={setGrabCursor:ws,unsetGrabCursor:Ps};function Es(e,n=this){function t(i){if(!i||i===fe()||i===q())return null;i.assignedSlot&&(i=i.assignedSlot);const r=i.closest(e);return!r&&!i.getRootNode?null:r||t(i.getRootNode().host)}return t(n)}function At(e,n,t){const i=q(),{params:r}=e,s=r.edgeSwipeDetection,o=r.edgeSwipeThreshold;return s&&(t<=o||t>=i.innerWidth-o)?s==="prevent"?(n.preventDefault(),!0):!1:!0}function ks(e){const n=this;if(n.destroyed)return;const t=fe();let i=e;i.originalEvent&&(i=i.originalEvent);const r=n.touchEventsData;if(i.type==="pointerdown"){if(r.pointerId!==null&&r.pointerId!==i.pointerId)return;r.pointerId=i.pointerId}else i.type==="touchstart"&&i.targetTouches.length===1&&(r.touchId=i.targetTouches[0].identifier);if(i.type==="touchstart"){At(n,i,i.targetTouches[0].pageX);return}const{params:s,touches:o,enabled:c}=n;if(!c||!s.simulateTouch&&i.pointerType==="mouse"||n.animating&&s.preventInteractionOnTransition)return;!n.animating&&s.cssMode&&s.loop&&n.loopFix();let a=i.target;if(s.touchEventsTarget==="wrapper"&&!Bi(a,n.wrapperEl)||"which"in i&&i.which===3||"button"in i&&i.button>0||r.isTouched&&r.isMoved)return;const u=!!s.noSwipingClass&&s.noSwipingClass!=="",f=i.composedPath?i.composedPath():i.path;u&&i.target&&i.target.shadowRoot&&f&&(a=f[0]);const d=s.noSwipingSelector?s.noSwipingSelector:`.${s.noSwipingClass}`,x=!!(i.target&&i.target.shadowRoot);if(s.noSwiping&&(x?Es(d,a):a.closest(d))){n.allowClick=!0;return}if(s.swipeHandler&&!a.closest(s.swipeHandler))return;o.currentX=i.pageX,o.currentY=i.pageY;const m=o.currentX,b=o.currentY;if(!At(n,i,m))return;Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=m,o.startY=b,r.touchStartTime=ce(),n.allowClick=!0,n.updateSize(),n.swipeDirection=void 0,s.threshold>0&&(r.allowThresholdMove=!1);let C=!0;a.matches(r.focusableElements)&&(C=!1,a.nodeName==="SELECT"&&(r.isTouched=!1)),t.activeElement&&t.activeElement.matches(r.focusableElements)&&t.activeElement!==a&&(i.pointerType==="mouse"||i.pointerType!=="mouse"&&!a.matches(r.focusableElements))&&t.activeElement.blur();const S=C&&n.allowTouchMove&&s.touchStartPreventDefault;(s.touchStartForcePreventDefault||S)&&!a.isContentEditable&&i.preventDefault(),s.freeMode&&s.freeMode.enabled&&n.freeMode&&n.animating&&!s.cssMode&&n.freeMode.onTouchStart(),n.emit("touchStart",i)}function js(e){const n=fe(),t=this;if(t.destroyed)return;const i=t.touchEventsData,{params:r,touches:s,rtlTranslate:o,enabled:c}=t;if(!c||!r.simulateTouch&&e.pointerType==="mouse")return;let a=e;if(a.originalEvent&&(a=a.originalEvent),a.type==="pointermove"&&(i.touchId!==null||a.pointerId!==i.pointerId))return;let u;if(a.type==="touchmove"){if(u=[...a.changedTouches].find(T=>T.identifier===i.touchId),!u||u.identifier!==i.touchId)return}else u=a;if(!i.isTouched){i.startMoving&&i.isScrolling&&t.emit("touchMoveOpposite",a);return}const f=u.pageX,d=u.pageY;if(a.preventedByNestedSwiper){s.startX=f,s.startY=d;return}if(!t.allowTouchMove){a.target.matches(i.focusableElements)||(t.allowClick=!1),i.isTouched&&(Object.assign(s,{startX:f,startY:d,currentX:f,currentY:d}
vendor: 6,097 bytes, line 1
1),i.touchStartTime=ce());return}if(r.touchReleaseOnEdges&&!r.loop)if(t.isVertical()){if(d<s.startY&&t.translate<=t.maxTranslate()||d>s.startY&&t.translate>=t.minTranslate()){i.isTouched=!1,i.isMoved=!1;return}}else{if(o&&(f>s.startX&&-t.translate<=t.maxTranslate()||f<s.startX&&-t.translate>=t.minTranslate()))return;if(!o&&(f<s.startX&&t.translate<=t.maxTranslate()||f>s.startX&&t.translate>=t.minTranslate()))return}if(n.activeElement&&n.activeElement.matches(i.focusableElements)&&n.activeElement!==a.target&&a.pointerType!=="mouse"&&n.activeElement.blur(),n.activeElement&&a.target===n.activeElement&&a.target.matches(i.focusableElements)){i.isMoved=!0,t.allowClick=!1;return}i.allowTouchCallbacks&&t.emit("touchMove",a),s.previousX=s.currentX,s.previousY=s.currentY,s.currentX=f,s.currentY=d;const x=s.currentX-s.startX,m=s.currentY-s.startY;if(t.params.threshold&&Math.sqrt(x**2+m**2)<t.params.threshold)return;if(typeof i.isScrolling>"u"){let T;t.isHorizontal()&&s.currentY===s.startY||t.isVertical()&&s.currentX===s.startX?i.isScrolling=!1:x*x+m*m>=25&&(T=Math.atan2(Math.abs(m),Math.abs(x))*180/Math.PI,i.isScrolling=t.isHorizontal()?T>r.touchAngle:90-T>r.touchAngle)}if(i.isScrolling&&t.emit("touchMoveOpposite",a),typeof i.startMoving>"u"&&(s.currentX!==s.startX||s.currentY!==s.startY)&&(i.startMoving=!0),i.isScrolling||a.type==="touchmove"&&i.preventTouchMoveFromPointerMove){i.isTouched=!1;return}if(!i.startMoving)return;t.allowClick=!1,!r.cssMode&&a.cancelable&&a.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&a.stopPropagation();let b=t.isHorizontal()?x:m,C=t.isHorizontal()?s.currentX-s.previousX:s.currentY-s.previousY;r.oneWayMovement&&(b=Math.abs(b)*(o?1:-1),C=Math.abs(C)*(o?1:-1)),s.diff=b,b*=r.touchRatio,o&&(b=-b,C=-C);const S=t.touchesDirection;t.swipeDirection=b>0?"prev":"next",t.touchesDirection=C>0?"prev":"next";const h=t.params.loop&&!r.cssMode,p=t.touchesDirection==="next"&&t.allowSlideNext||t.touchesDirection==="prev"&&t.allowSlidePrev;if(!i.isMoved){if(h&&p&&t.loopFix({direction:t.swipeDirection}),i.startTranslate=t.getTranslate(),t.setTransition(0),t.animating){const T=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});t.wrapperEl.dispatchEvent(T)}i.allowMomentumBounce=!1,r.grabCursor&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!0),t.emit("sliderFirstMove",a)}if(new Date().getTime(),r._loopSwapReset!==!1&&i.isMoved&&i.allowThresholdMove&&S!==t.touchesDirection&&h&&p&&Math.abs(b)>=1){Object.assign(s,{startX:f,startY:d,currentX:f,currentY:d,startTranslate:i.currentTranslate}),i.loopSwapReset=!0,i.startTranslate=i.currentTranslate;return}t.emit("sliderMove",a),i.isMoved=!0,i.currentTranslate=b+i.startTranslate;let g=!0,y=r.resistanceRatio;if(r.touchReleaseOnEdges&&(y=0),b>0?(h&&p&&i.allowThresholdMove&&i.currentTranslate>(r.centeredSlides?t.minTranslate()-t.slidesSizesGrid[t.activeIndex+1]-(r.slidesPerView!=="auto"&&t.slides.length-r.slidesPerView>=2?t.slidesSizesGrid[t.activeIndex+1]+t.params.spaceBetween:0)-t.params.spaceBetween:t.minTranslate())&&t.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>t.minTranslate()&&(g=!1,r.resistance&&(i.currentTranslate=t.minTranslate()-1+(-t.minTranslate()+i.startTranslate+b)**y))):b<0&&(h&&p&&i.allowThresholdMove&&i.currentTranslate<(r.centeredSlides?t.maxTranslate()+t.slidesSizesGrid[t.slidesSizesGrid.length-1]+t.params.spaceBetween+(r.slidesPerView!=="auto"&&t.slides.length-r.slidesPerView>=2?t.slidesSizesGrid[t.slidesSizesGrid.length-1]+t.params.spaceBetween:0):t.maxTranslate())&&t.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:t.slides.length-(r.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(parseFloat(r.slidesPerView,10)))}),i.currentTranslate<t.maxTranslate()&&(g=!1,r.resistance&&(i.currentTranslate=t.maxTranslate()+1-(t.maxTranslate()-i.startTranslate-b)**y))),g&&(a.preventedByNestedSwiper=!0),!t.allowSlideNext&&t.swipeDirection==="next"&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!t.allowSlidePrev&&t.swipeDirection==="prev"&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),!t.allowSlidePrev&&!t.allowSlideNext&&(i.currentTranslate=i.startTranslate),r.threshold>0)if(Math.abs(b)>r.threshold||i.allowThresholdMove){if(!i.allowThresholdMove){i.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,i.currentTranslate=i.startTranslate,s.diff=t.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY;return}}else{i.currentTranslate=i.startTranslate;return}!r.followFinger||r.cssMode||((r.freeMode&&r.freeMode.enabled&&t.freeMode||r.watchSlidesProgress)&&(t.updateActiveIndex(),t.updateSlidesClasses()),r.freeMode&&r.freeMode.enabled&&t.freeMode&&t.freeMode.onTouchMove(),t.updateProgress(i.currentTranslate),t.setTranslate(i.currentTranslate))}function Is(e){const n=this;if(n.destroyed)return;const t=n.touchEventsData;let i=e;i.originalEvent&&(i=i.originalEvent);let r;if(i.type==="touchend"||i.type==="touchcancel"){if(r=[...i.changedTouches].find(T=>T.identifier===t.touchId),!r||r.identifier!==t.touchId)return}else{if(t.touchId!==null||i.pointerId!==t.pointerId)return;r=i}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(i.type)&&!(["pointercancel","contextmenu"].includes(i.type)&&(n.browser.isSafari||n.browser.isWebView)))return;t.pointerId=null,t.touchId=null;const{params:o,touches:c,rtlTranslate:a,slidesGrid:u,enabled:f}=n;if(!f||!o.simulateTouch&&i.pointerType==="mouse")return;if(t.allowTouchCallbacks&&n.emit("touchEnd",i),t.allowTouchCallbacks=!1,!t.isTouched){t.isMoved&&o.grabCursor&&n.setGrabCursor(!1),t.isMoved=!1,t.startMoving=!1;return}o.grabCursor&&t.isMoved&&t.isTouched&&(n.allowSlideNext===!0||n.allowSlidePrev===!0)&&n.setGrabCursor(!1);const d=ce(),x=d-t.touchStartTime;if(n.allowClick){const T=i.path||i.composedPath&&i.composedPath();n.updateClickedSlide(T&&T[0]||i.target,T),n.emit("tap click",i),x<300&&d-t.lastClickTime<300&&n.emit("doubleTap doubleClick",i)}if(t.lastClickTime=ce(),Oe(()=>{n.destroyed||(n.allowClick=!0)}
1),!t.isTouched||!t.isMoved||!n.swipeDirection||c.diff===0&&!t.loopSwapReset||t.currentTranslate===t.startTranslate&&!t.loopSwapReset){t.isTouched=!1,t.isMoved=!1,t.startMoving=!1;return}t.isTouched=!1,t.isMoved=!1,t.startMoving=!1;let m;if(o.followFinger?m=a?n.translate:-n.translate:m=-t.currentTranslate,o.cssMode)return;if(o.freeMode&&o.freeMode.enabled){n.freeMode.onTouchEnd({currentPos:m});return}const b=m>=-n.maxTranslate()&&!n.params.loop;let C=0,S=n.slidesSizesGrid[0];for(let T=0;T<u.length;T+=T<o.slidesPerGroupSkip?1:o.slidesPerGroup){const k=T<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;typeof u[T+k]<"u"?(b||m>=u[T]&&m<u[T+k])&&(C=T,S=u[T+k]-u[T]):(b||m>=u[T])&&(C=T,S=u[u.length-1]-u[u.length-2])}let h=null,p=null;o.rewind&&(n.isBeginning?p=o.virtual&&o.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1:n.isEnd&&(h=0));const g=(m-u[C])/S,y=C<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;if(x>o.longSwipesMs){if(!o.longSwipes){n.slideTo(n.activeIndex);return}n.swipeDirection==="next"&&(g>=o.longSwipesRatio?n.slideTo(o.rewind&&n.isEnd?h:C+y):n.slideTo(C)),n.swipeDirection==="prev"&&(g>1-o.longSwipesRatio?n.slideTo(C+y):p!==null&&g<0&&Math.abs(g)>o.longSwipesRatio?n.slideTo(p):n.slideTo(C))}else{if(!o.shortSwipes){n.slideTo(n.activeIndex);return}n.navigation&&(i.target===n.navigation.nextEl||i.target===n.navigation.prevEl)?i.target===n.navigation.nextEl?n.slideTo(C+y):n.slideTo(C):(n.swipeDirection==="next"&&n.slideTo(h!==null?h:C+y),n.swipeDirection==="prev"&&n.slideTo(p!==null?p:C))}}function $t(){const e=this,{params:n,el:t}=e;if(t&&t.offsetWidth===0)return;n.breakpoints&&e.setBreakpoint();const{allowSlideNext:i,allowSlidePrev:r,snapGrid:s}=e,o=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const c=o&&n.loop;if((n.slidesPerView==="auto"||n.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides&&!c){const a=o?e.virtual.slides:e.slides;e.slideTo(a.length-1,0,!1,!0)}else e.params.loop&&!o?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0);e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=r,e.allowSlideNext=i,e.params.watchOverflow&&s!==e.snapGrid&&e.checkOverflow()}function Ls(e){const n=this;n.destroyed||n.enabled&&(n.allowClick||(n.params.preventClicks&&e.preventDefault(),n.params.preventClicksPropagation&&n.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function Os(){const e=this;if(e.destroyed)return;const{wrapperEl:n,rtlTranslate:t,enabled:i}=e;if(!i)return;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-n.scrollLeft:e.translate=-n.scrollTop,e.translate===0&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();let r;const s=e.maxTranslate()-e.minTranslate();s===0?r=0:r=(e.translate-e.minTranslate())/s,r!==e.progress&&e.updateProgress(t?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function _s(e){const n=this;n.destroyed||(Ae(n,e.target),!(n.params.cssMode||n.params.slidesPerView!=="auto"&&!n.params.autoHeight)&&n.update())}function Bs(){const e=this;e.destroyed||e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const dn=(e,n)=>{const t=fe(),{params:i,el:r,wrapperEl:s,device:o}=e,c=!!i.nested,a=n==="on"?"addEventListener":"removeEventListener",u=n;!r||typeof r=="string"||(t[a]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:c}),r[a]("touchstart",e.onTouchStart,{passive:!1}),r[a]("pointerdown",e.onTouchStart,{passive:!1}),t[a]("touchmove",e.onTouchMove,{passive:!1,capture:c}),t[a]("pointermove",e.onTouchMove,{passive:!1,capture:c}),t[a]("touchend",e.onTouchEnd,{passive:!0}),t[a]("pointerup",e.onTouchEnd,{passive:!0}),t[a]("pointercancel",e.onTouchEnd,{passive:!0}),t[a]("touchcancel",e.onTouchEnd,{passive:!0}),t[a]("pointerout",e.onTouchEnd,{passive:!0}),t[a]("pointerleave",e.onTouchEnd,{passive:!0}),t[a]("contextmenu",e.onTouchEnd,{passive:!0}),(i.preventClicks||i.preventClicksPropagation)&&r[a]("click",e.onClick,!0),i.cssMode&&s[a]("scroll",e.onScroll),i.updateOnWindowResize?e[u](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",$t,!0):e[u]("observerUpdate",$t,!0),r[a]("load",e.onLoad,{capture:!0}))};function zs(){const e=this,{params:n}=e;e.onTouchStart=ks.bind(e),e.onTouchMove=js.bind(e),e.onTouchEnd=Is.bind(e),e.onDocumentTouchStart=Bs.bind(e),n.cssMode&&(e.onScroll=Os.bind(e)),e.onClick=Ls.bind(e),e.onLoad=_s.bind(e),dn(e,"on")}function As(){dn(this,"off")}var $s={attachEvents:zs,detachEvents:As};const Dt=(e,n)=>e.grid&&n.grid&&n.grid.rows>1;function Ds(){const e=this,{realIndex:n,initialized:t,params:i,el:r}=e,s=i.breakpoints;if(!s||s&&Object.keys(s).length===0)return;const o=fe(),c=i.breakpointsBase==="window"||!i.breakpointsBase?i.breakpointsBase:"container",a=["window","container"].includes(i.breakpointsBase)||!i.breakpointsBase?e.el:o.querySelector(i.breakpointsBase),u=e.getBreakp
1oint(s,c,a);if(!u||e.currentBreakpoint===u)return;const d=(u in s?s[u]:void 0)||e.originalParams,x=Dt(e,i),m=Dt(e,d),b=e.params.grabCursor,C=d.grabCursor,S=i.enabled;x&&!m?(r.classList.remove(`${i.containerModifierClass}grid`,`${i.containerModifierClass}grid-column`),e.emitContainerClasses()):!x&&m&&(r.classList.add(`${i.containerModifierClass}grid`),(d.grid.fill&&d.grid.fill==="column"||!d.grid.fill&&i.grid.fill==="column")&&r.classList.add(`${i.containerModifierClass}grid-column`),e.emitContainerClasses()),b&&!C?e.unsetGrabCursor():!b&&C&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(k=>{if(typeof d[k]>"u")return;const E=i[k]&&i[k].enabled,v=d[k]&&d[k].enabled;E&&!v&&e[k].disable(),!E&&v&&e[k].enable()});const h=d.direction&&d.direction!==i.direction,p=i.loop&&(d.slidesPerView!==i.slidesPerView||h),g=i.loop;h&&t&&e.changeDirection(),J(e.params,d);const y=e.params.enabled,T=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),S&&!y?e.disable():!S&&y&&e.enable(),e.currentBreakpoint=u,e.emit("_beforeBreakpoint",d),t&&(p?(e.loopDestroy(),e.loopCreate(n),e.updateSlides()):!g&&T?(e.loopCreate(n),e.updateSlides()):g&&!T&&e.loopDestroy()),e.emit("breakpoint",d)}function Fs(e,n="window",t){if(!e||n==="container"&&!t)return;let i=!1;const r=q(),s=n==="window"?r.innerHeight:t.clientHeight,o=Object.keys(e).map(c=>{if(typeof c=="string"&&c.indexOf("@")===0){const a=parseFloat(c.substr(1));return{value:s*a,point:c}}return{value:c,point:c}});o.sort((c,a)=>
1parseInt(c.value,10)-parseInt(a.value,10));for(let c=0;c<o.length;c+=1){const{point:a,value:u}=o[c];n==="window"?r.matchMedia(`(min-width: ${u}px)`).matches&&(i=a):u<=t.clientWidth&&(i=a)}return i||"max"}var Hs={setBreakpoint:Ds,getBreakpoint:Fs};function Gs(e,n){const t=[];return e.forEach(i=>{typeof i=="object"?Object.keys(i).forEach(r=>{i[r]&&t.push(n+r)}):typeof i=="string"&&t.push(n+i)}),t}function Vs(){const e=this,{classNames:n,params:t,rtl:i,el:r,device:s}=e,o=Gs(["initialized",t.direction,{"free-mode":e.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:i},{grid:t.grid&&t.grid.rows>1},{"grid-column":t.grid&&t.grid.rows>1&&t.grid.fill==="column"},{android:s.android},{ios:s.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);n.push(...o),r.classList.add(...n),e.emitContainerClasses()}function Rs(){const e=this,{el:n,classNames:t}=e;!n||typeof n=="string"||(n.classList.remove(...t),e.emitContainerClasses())}var Ns={addClasses:Vs,removeClasses:Rs};function Ws(){const e=this,{isLocked:n,params:t}=e,{slidesOffsetBefore:i}=t;if(i){const r=e.slides.length-1,s=e.slidesGrid[r]+e.slidesSizesGrid[r]+i*2;e.isLocked=e.size>s}else e.isLocked=e.snapGrid.length===1;t.allowSlideNext===!0&&(e.allowSlideNext=!e.isLocked),t.allowSlidePrev===!0&&(e.allowSlidePrev=!e.isLocked),n&&n!==e.isLocked&&(e.isEnd=!1),n!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}var Us={checkOverflow:Ws},ct={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,snapToSlideEdge:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function qs(e,n){return function(i={}){const r=Object.keys(i)[0],s=i[r];if(typeof s!="object"||s===null){J(n,i);return}if(e[r]===!0&&(e[r]={enabled:!0}),r==="navigation"&&e[r]&&e[r].enabled&&!e[r].prevEl&&!e[r].nextEl&&(e[r].auto=!0),["pagination","scrollbar"].indexOf(r)>=0&&e[r]&&e[r].enabled&&!e[r].el&&(e[r].auto=!0),!(r in e&&"enabled"in s)){J(n,i);return}typeof e[r]=="object"&&!("enabled"in e[r])&&(e[r].enabled=!0),e[r]||(e[r]={enabled:!1}),J(n,i)}}const tt={eventsEmitter:Ni,update:ts,translate:ls,transition:us,slide:bs,loop:Ts,grabCursor:Ms,events:$s,breakpoints:Hs,checkOverflow:Us,classes:Ns},nt={};let gt=class de{constructor(...n){let t,i;n.length===1&&n[0].constructor&&Object.prototype.toString.call(n[0]).slice(8,-1)==="Object"?i=n[0]:[t,i]=n,i||(i={}),i=J({},i),t&&!i.el&&(i.el=t);const r=fe();if(i.el&&typeof i.el=="string"&&r.querySelectorAll(i.el).length>1){const a=[];return r.querySelectorAll(i.el).forEach(u=>{const f=J({},i,{el:u});a.push(new de(f))}),a}const s=this;s.__swiper__=!0,s.support=rn(),s.device=an({userAgent:i.userAgent}),s.browser=ln(),s.eventsListeners={},s.eventsAnyListeners=[],s.modules=[...s.__modules__],i.modules&&Array.isArray(i.modules)&&i.modules.forEac
1h(a=>{typeof a=="function"&&s.modules.indexOf(a)<0&&s.modules.push(a)});const o={};s.modules.forEach(a=>{a({params:i,swiper:s,extendParams:qs(i,o),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})});const c=J({},ct,o);return s.params=J({},c,nt,i),s.originalParams=J({},s.params),s.passedParams=J({},i),s.params&&s.params.on&&Object.keys(s.params.on).forEach(a=>{s.on(a,s.params.on[a])}),s.params&&s.params.onAny&&s.onAny(s.params.onAny),Object.assign(s,{enabled:s.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return s.params.direction==="horizontal"},isVertical(){return s.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:s.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.emit("_swiper"),s.params.init&&s.init(),s}getDirectionLabel(n){return this.isHorizontal()?n:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[n]}getSlideIndex(n){const{slidesEl:t,params:i}=this,r=re(t,`.${i.slideClass}, swiper-slide`),s=Ge(r[0]);return Ge(n)-s}getSlideIndexByData(n){return this.getSlideIndex(this.slides.find(t=>t.getAttribute("data-swiper-slide-index")*1===n))}getSlideIndexWhenGrid(n){return this.grid&&this.params.grid&&this.params.grid.rows>1&&(this.params.grid.fill==="column"?n=Math.floor(n/this.params.grid.rows):this.params.grid.fill==="row"&&(n=n%Math.ceil(this.slides.length/this.params.grid.rows))),n}recalcSlides(){const n=this,{slidesEl:t,params:i}=n;n.slides=re(t,`.${i.slideClass}, swiper-slide`)}enable(){const n=this;n.enabled||(n.enabled=!0,n.params.grabCursor&&n.setGrabCursor(),n.emit("enable"))}disable(){const n=this;n.enabled&&(n.enabled=!1,n.params.grabCursor&&n.unsetGrabCursor(),n.emit("disable"))}setProgress(n,t){const i=this;n=Math.min(Math.max(n,0),1);const r=i.minTranslate(),o=(i.maxTranslate()-r)*n+r;i.translateTo(o,typeof t>"u"?0:t),i.updateActiveIndex(),i.updateSlidesClasses()}emitContainerClasses(){const n=this;if(!n.params._emitClasses||!n.el)return;const t=n.el.className.split(" ").filter(i=>i.indexOf("swiper")===0||i.indexOf(n.params.containerModifierClass)===0);n.emit("_containerClasses",t.join(" "))}getSlideClasses(n){const t=this;return t.destroyed?"":n.className.split(" ").filter(i=>i.indexOf("swiper-slide")===0||i.indexOf(t.params.slideClass)===0).join(" ")}emitSlidesClasses(){const n=this;if(!n.params._emitClasses||!n.el)return;const t=[];n.slides.forEach(i=>{const r=n.getSlideClasses(i);t.push({slideEl:i,classNames:r}),n.emit("_slideClass",i,r)}),n.emit("_slideClasses",t)}slidesPerViewDynamic(n="current",t=!1){const i=this,{params:r,slides:s,slidesGrid:o,slidesSizesGrid:c,size:a,activeIndex:u}=i;let f=1;if(typeof r.slidesPerView=="number")return r.slidesPerView;if(r.centeredSlides){let d=s[u]?Math.ceil(s[u].swiperSlideSize):0,x;for(let m=u+1;m<s.length;m+=1)s[m]&&!x&&(d+=Math.ceil(s[m].swiperSlideSize),f+=1,d>a&&(x=!0));for(let m=u-1;m>=0;m-=1)s[m]&&!x&&(d+=s[m].swiperSlideSize,f+=1,d>a&&(x=!0))}else if(n==="current")for(let d=u+1;d<s.length;d+=1)(t?o[d]+c[d]-o[u]<a:o[d]-o[u]<a)&&(f+=1);else for(let d=u-1;d>=0;d-=1)o[u]-o[d]<a&&(f+=1);return f}update(){const n=this;if(!n||n.destroyed)return;const{snapGrid:t,params:i}=n;i.breakpoints&&n.setBreakpoint(),[...n.el.querySelectorAll('[loading="lazy"]')].forEac
vendor: 4,237 bytes, line 1
1h(o=>{o.complete&&Ae(n,o)}),n.updateSize(),n.updateSlides(),n.updateProgress(),n.updateSlidesClasses();function r(){const o=n.rtlTranslate?n.translate*-1:n.translate,c=Math.min(Math.max(o,n.maxTranslate()),n.minTranslate());n.setTranslate(c),n.updateActiveIndex(),n.updateSlidesClasses()}let s;if(i.freeMode&&i.freeMode.enabled&&!i.cssMode)r(),i.autoHeight&&n.updateAutoHeight();else{if((i.slidesPerView==="auto"||i.slidesPerView>1)&&n.isEnd&&!i.centeredSlides){const o=n.virtual&&i.virtual.enabled?n.virtual.slides:n.slides;s=n.slideTo(o.length-1,0,!1,!0)}else s=n.slideTo(n.activeIndex,0,!1,!0);s||r()}i.watchOverflow&&t!==n.snapGrid&&n.checkOverflow(),n.emit("update")}changeDirection(n,t=!0){const i=this,r=i.params.direction;return n||(n=r==="horizontal"?"vertical":"horizontal"),n===r||n!=="horizontal"&&n!=="vertical"||(i.el.classList.remove(`${i.params.containerModifierClass}${r}`),i.el.classList.add(`${i.params.containerModifierClass}${n}`),i.emitContainerClasses(),i.params.direction=n,i.slides.forEach(s=>{n==="vertical"?s.style.width="":s.style.height=""}),i.emit("changeDirection"),t&&i.update()),i}changeLanguageDirection(n){const t=this;t.rtl&&n==="rtl"||!t.rtl&&n==="ltr"||(t.rtl=n==="rtl",t.rtlTranslate=t.params.direction==="horizontal"&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(n){const t=this;if(t.mounted)return!0;let i=n||t.params.el;if(typeof i=="string"&&(i=document.querySelector(i)),!i)return!1;i.swiper=t,i.parentNode&&i.parentNode.host&&i.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const r=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let o=i&&i.shadowRoot&&i.shadowRoot.querySelector?i.shadowRoot.querySelector(r()):re(i,r())[0];return!o&&t.params.createElements&&(o=He("div",t.params.wrapperClass),i.append(o),re(i,`.${t.params.slideClass}`).forEach(c=>{o.append(c)})),Object.assign(t,{el:i,wrapperEl:o,slidesEl:t.isElement&&!i.parentNode.host.slideSlots?i.parentNode.host:o,hostEl:t.isElement?i.parentNode.host:i,mounted:!0,rtl:i.dir.toLowerCase()==="rtl"||me(i,"direction")==="rtl",rtlTranslate:t.params.direction==="horizontal"&&(i.dir.toLowerCase()==="rtl"||me(i,"direction")==="rtl"),wrongRTL:me(o,"display")==="-webkit-box"}),!0}init(n){const t=this;if(t.initialized||t.mount(n)===!1)return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(void 0,!0),t.attachEvents();const r=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&r.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),r.forEach(s=>{s.complete?Ae(t,s):s.addEventListener("load",o=>{Ae(t,o.target)})}),dt(t),t.initialized=!0,dt(t),t.emit("init"),t.emit("afterInit"),t}destroy(n=!0,t=!0){const i=this,{params:r,el:s,wrapperEl:o,slides:c}=i;return typeof i.params>"u"||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),r.loop&&i.loopDestroy(),t&&(i.removeClasses(),s&&typeof s!="string"&&s.removeAttribute("style"),o&&o.removeAttribute("style"),c&&c.length&&c.forEach(a=>{a.classList.remove(r.slideVisibleClass,r.slideFullyVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass),a.removeAttribute("style"),a.removeAttribute("data-swiper-slide-index")})),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(a=>{i.off(a)}),n!==!1&&(i.el&&typeof i.el!="string"&&(i.el.swiper=null),ji(i)),i.destroyed=!0),null}static extendDefaults(n){J(nt,n)}static get extendedDefaults(){return nt}static get defaults(){return ct}static installModule(n){de.prototype.__modules__||(de.prototype.__modules__=[]);const t=de.prototype.__modules__;typeof n=="function"&&t.indexOf(n)<0&&t.push(n)}static use(n){return Array.isArray(n)?(n.forEach(t=>de.installModule(t)),de):(de.installModule(n),de)}};
1Object.keys(tt).forEach(e=>{Object.keys(tt[e]).forEach(n=>{gt.prototype[n]=tt[e][n]})});gt.use([Vi,Ri]);const cn=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_snapToSlideEdge","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function Ce(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"&&!e.__swiper__}function Pe(e,n){const t=["__proto__","constructor","prototype"];Object.keys(n).filter(i=>t.indexOf(i)<0).forEach(i=>{typeof e[i]>"u"?e[i]=n[i]:Ce(n[i])&&Ce(e[i])&&Object.keys(n[i]).length>0?n[i].__swiper__?e[i]=n[i]:Pe(e[i],n[i]):e[i]=n[i]})}function un(e={}){return e.navigation&&typeof e.navigation.nextEl>"u"&&typeof e.navigation.prevEl>"u"}function fn(e={}){return e.pagination&&typeof e.pagination.el>"u"}function pn(e={}){return e.scrollbar&&typeof e.scrollbar.el>"u"}function hn(e=""){const n=e.split(" ").map(i=>i.trim()).filter(i=>!!i),t=[];return n.forEach(i=>{t.indexOf(i)<0&&t.push(i)}),t.join(" ")}function Xs(e=""){return e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}function Ys({swiper:e,slides:n,passedParams:t,changedParams:i,nextEl:r,prevEl:s,scrollbarEl:o,paginationEl:c}){const a=i.filter(v=>v!=="children"&&v!=="direction"&&v!=="wrapperClass"),{params:u,pagination:f,navigation:d,scrollbar:x,virtual:m,thumbs:b}=e;let C,S,h,p,g,y,T,k;i.includes("thumbs")&&t.thumbs&&t.thumbs.swiper&&!t.thumbs.swiper.destroyed&&u.thumbs&&(!u.thumbs.swiper||u.thumbs.swiper.destroyed)&&(C=!0),i.includes("controller")&&t.controller&&t.controller.control&&u.controller&&!u.controller.control&&(S=!0),i.includes("pagination")&&t.pagination&&(t.pagination.el||c)&&(u.pagination||u.pagination===!1)&&f&&!f.el&&(h=!0),i.includes("scrollbar")&&t.scrollbar&&(t.scrollbar.el||o)&&(u.scrollbar||u.scrollbar===!1)&&x&&!x.el&&(p=!0),i.includes("navigation")&&t.navigation&&(t.navigation.prevEl||s)&&(t.navigation.nextEl||r)&&(u.navigation||u.navigation===!1)&&d&&!d.prevEl&&!d.nextEl&&(g=!0);const E=v=>{e[v]&&(e[v].destroy(),v==="navigation"?(e.isElement&&(e[v].prevEl.remove(),e[v].nextEl.remove()),u[v].prevEl=void 0,u[v].nextEl=void 0,e[v].prevEl=void 0,e[v].nextEl=void 0):(e.isElement&&e[v].el.remove(),u[v].el=void 0,e[v].el=void 0))};i.includes("loop")&&e.isElement&&(u.loop&&!t.loop?y=!0:!u.loop&&t.loop?T=!0:k=!0),a.forEach(v=>{if(Ce(u[v])&&Ce(t[v]))Object.assign(u[v],t[v]),(v==="navigation"||v==="pagination"||v==="scrollbar")&&"enabled"in t[v]&&!t[v].enabled&&E(v);else{const j=t[v];(j===!0||j===!1)&&(v==="navigation"||v==="pagination"||v==="scrollbar")?j===!1&&E(v):u[v]=t[v]}}),a.includes("controller")&&!S&&e.controller&&e.controller.control&&u.controller&&u.controller.control&&(e.controller.control=u.controller.control),i.includes("children")&&n&&m&&u.virtual.enabled?(m.slides=n,m.update(!0)):i.includes("virtual")&&m&&u.virtual.enabled&&(n&&(m.slides=n),m.update(!0)),i.includes("children")&&n&&u.loop&&(k=!0),C&&b.init()&&b.update(!0),S&&(e.controller.control=u.controller.control),h&&(e.isElement&&(!c||typeof c=="string")&&(c=document.createElement("div"),c.classList.add("swiper-pagination"),c.part.add("pagination"),e.el.appendChild(c)),c&&(u.pagination.el=c),f.init(),f.render(),f.update(
1)),p&&(e.isElement&&(!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-scrollbar"),o.part.add("scrollbar"),e.el.appendChild(o)),o&&(u.scrollbar.el=o),x.init(),x.updateSize(),x.setTranslate()),g&&(e.isElement&&((!r||typeof r=="string")&&(r=document.createElement("div"),r.classList.add("swiper-button-next"),Re(r,e.navigation.arrowSvg),r.part.add("button-next"),e.el.appendChild(r)),(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-button-prev"),Re(s,e.navigation.arrowSvg),s.part.add("button-prev"),e.el.appendChild(s))),r&&(u.navigation.nextEl=r),s&&(u.navigation.prevEl=s),d.init(),d.update()),i.includes("allowSlideNext")&&(e.allowSlideNext=t.allowSlideNext),i.includes("allowSlidePrev")&&(e.allowSlidePrev=t.allowSlidePrev),i.includes("direction")&&e.changeDirection(t.direction,!1),(y||k)&&e.loopDestroy(),(T||k)&&e.loopCreate(),e.update()}function Ks(e={},n=!0){const t={on:{}},i={},r={};Pe(t,ct),t._emitClasses=!0,t.init=!1;const s={},o=cn.map(a=>a.replace(/_/,"")),c=Object.assign({},e);return Object.keys(c).forEach(a=>{typeof e[a]>"u"||(o.indexOf(a)>=0?Ce(e[a])?(t[a]={},r[a]={},Pe(t[a],e[a]),Pe(r[a],e[a])):(t[a]=e[a],r[a]=e[a]):a.search(/on[A-Z]/)===0&&typeof e[a]=="function"?n?i[`${a[2].toLowerCase()}${a.substr(3)}`]=e[a]:t.on[`${a[2].toLowerCase()}${a.substr(3)}`]=e[a]:s[a]=e[a])}),["navigation","pagination","scrollbar"].forEach(a=>{t[a]===!0&&(t[a]={}),t[a]===!1&&delete t[a]}),{params:t,passedParams:r,rest:s,events:i}}function Zs({el:e,nextEl:n,prevEl:t,paginationEl:i,scrollbarEl:r,swiper:s},o){un(o)&&n&&t&&(s.params.navigation.nextEl=n,s.originalParams.navigation.nextEl=n,s.params.navigation.prevEl=t,s.originalParams.navigation.prevEl=t),fn(o)&&i&&(s.params.pagination.el=i,s.originalParams.pagination.el=i),pn(o)&&r&&(s.params.scrollbar.el=r,s.originalParams.scrollbar.el=r),s.init(e)}function Js(e,n,t,i,r){const s=[];if(!n)return s;const o=a=>{s.indexOf(a)<0&&s.push(a)};if(t&&i){const a=i.map(r),u=t.map(r);a.join("")!==u.join("")&&o("children"),i.length!==t.length&&o("children")}return cn.filter(a=>a[0]==="_").map(a=>a.replace(/_/,"")).forEach(a=>{if(a in e&&a in n)if(Ce(e[a])&&Ce(n[a])){const u=Object.keys(e[a]),f=Object.keys(n[a]);u.length!==f.length?o(a):(u.forEach(d=>{e[a][d]!==n[a][d]&&o(a)}),f.forEach(d=>{e[a][d]!==n[a][d]&&o(a)}))}else e[a]!==n[a]&&o(a)}),s}const Qs=e=>{!e||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.emit("_virtualUpdated"),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())};function Ne(){return Ne=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Ne.apply(this,arguments)}function mn(e){return e.type&&e.type.displayName&&e.type.displayName.includes("SwiperSlide")}function gn(e){const n=[];return N.Children.toArray(e).forEach(t=>{mn(t)?n.push(t):t.props&&t.props.children&&gn(t.props.children).forEach(i=>n.push(i))}),n}function er(e){const n=[],t={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return N.Children.toArray(e).forEach(i=>{if(mn(i))n.push(i);else if(i.props&&i.props.slot&&t[i.props.slot])t[i.props.slot].push(i);else if(i.props&&i.props.children){const r=gn(i.props.children);r.length>0?r.forEach(s=>n.push(s)):t["container-end"].push(i)}else t["container-end"].push(i)}),{slides:n,slots:t}}function tr(e,n,t){if(!t)return null;const i=f=>{let d=f;return f<0?d=n.length+f:d>=n.length&&(d=d-n.length),d},r=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${t.offset}px`}:{top:`${t.offset}px`},{from:s,to:o}=t,c=e.params.loop?-n.length:0,a=e.params.loop?n.length*2:n.length,u=[];for(let f=c;f<a;f+=1)f>=s&&f<=o&&u.push(n[i(f)]);return u.map((f,d)=>N.cloneElement(f,{swiper:e,style:r,key:f.props.virtualIndex||f.key||`slide-${d}`}))}function Le(e,n){return typeof window>"u"?z.useEffect(e,n):z.useLayoutEffect(e,n)}const Ft=z.createContext(null),xn=z.createContext(null),nr=()=>z.useContext(xn),vn=z.forwardRef(({className:e,tag:n="div",wrapperTag:t="div",children:i,onSwiper:r,...s}={},o)=>{let c=!1;const[a,u]=z.useState("swiper"),[f,d]=z.useState(null),[x,m]=z.useState(!1),b=z.useRef(!1),C=z.useRef(null),S=z.useRef(null),h=z.useRef(null),p=z.useRef(null),g=z.useRef(null),y=z.useRef(null),T=z.useRef(null),k=z.useRef(null),{params:E,passedParams:v,rest:j,events:M}=Ks(s),{slides:w,slots:P}=er(i),_=()=>{m(!x)};Object.assign(E.on,{_containerClasses(L,$){u($)}});const I=()=>{Object.assign(E.on,M),c=!0;const L={...E};
1if(delete L.wrapperClass,S.current=new gt(L),S.current.virtual&&S.current.params.virtual.enabled){S.current.virtual.slides=w;const $={cache:!1,slides:w,renderExternal:d,renderExternalUpdate:!1};Pe(S.current.params.virtual,$),Pe(S.current.originalParams.virtual,$)}};C.current||I(),S.current&&S.current.on("_beforeBreakpoint",_);const D=()=>{c||!M||!S.current||Object.keys(M).forEach(L=>{S.current.on(L,M[L])})},Y=()=>{!M||!S.current||Object.keys(M).forEach(L=>{S.current.off(L,M[L])})};z.useEffect(()=>()=>{S.current&&S.current.off("_beforeBreakpoint",_)}),z.useEffect(()=>{!b.current&&S.current&&(S.current.emitSlidesClasses(),b.current=!0)}),Le(()=>{if(o&&(o.current=C.current),!!C.current)return S.current.destroyed&&I(),Zs({el:C.current,nextEl:g.current,prevEl:y.current,paginationEl:T.current,scrollbarEl:k.current,swiper:S.current},E),r&&!S.current.destroyed&&r(S.current),()=>{S.current&&!S.current.destroyed&&S.current.destroy(!0,!1)}},[]),Le(()=>{D();const L=Js(v,h.current,w,p.current,$=>$.key);return h.current=v,p.current=w,L.length&&S.current&&!S.current.destroyed&&Ys({swiper:S.current,slides:w,passedParams:v,changedParams:L,nextEl:g.current,prevEl:y.current,scrollbarEl:k.current,paginationEl:T.current}),()=>{Y()}}),Le(()=>{Qs(S.current)},[f]);function V(){return E.virtual?tr(S.current,w,f):w.map((L,$)=>N.cloneElement(L,{swiper:S.current,swiperSlideIndex:$}))}return N.createElement(n,Ne({ref:C,className:hn(`${a}${e?` ${e}`:""}`)},j),N.createElement(xn.Provider,{value:S.current},P["container-start"],N.createElement(t,{className:Xs(E.wrapperClass)},P["wrapper-start"],V(),P["wrapper-end"]),un(E)&&N.createElement(N.Fragment,null,N.createElement("div",{ref:y,className:"swiper-button-prev"}),N.createElement("div",{ref:g,className:"swiper-button-next"})),pn(E)&&N.createElement("div",{ref:k,className:"swiper-scrollbar"}),fn(E)&&N.createElement("div",{ref:T,className:"swiper-pagination"}),P["container-end"]))});vn.displayName="Swiper";const bn=z.forwardRef(({tag:e="div",children:n,className:t="",swiper:i,zoom:r,lazy:s,virtualIndex:o,swiperSlideIndex:c,...a}={},u)=>{const f=z.useRef(null),[d,x]=z.useState("swiper-slide"),[m,b]=z.useState(!1);function C(g,y,T){y===f.current&&x(T)}Le(()=>{if(typeof c<"u"&&(f.current.swiperSlideIndex=c),u&&(u.current=f.current),!(!f.current||!i)){if(i.destroyed){d!=="swiper-slide"&&x("swiper-slide");return}return i.on("_slideClass",C),()=>{i&&i.off("_slideClass",C)}}}),Le(()=>{i&&f.current&&!i.destroyed&&x(i.getSlideClasses(f.current))},[i]);const S={isActive:d.indexOf("swiper-slide-active")>=0,isVisible:d.indexOf("swiper-slide-visible")>=0,isFullyVisible:d.indexOf("swiper-slide-fully-visible")>=0,isPrev:d.indexOf("swiper-slide-prev")>=0,isNext:d.indexOf("swiper-slide-next")>=0},h=()=>typeof n=="function"?n(S):n,p=()=>{b(!0)};return N.createElement(e,Ne({ref:f,className:hn(`${d}${t?` ${t}`:""}`),"data-swiper-slide-index":o,onLoad:p},a),r&&N.createElement(Ft.Provider,{value:S},N.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof r=="number"?r:void 0},h(),s&&!m&&N.createElement("div",{className:"swiper-lazy-preloader",ref:g=>{g&&(g.lazyPreloaderManaged=!0)}}))),!r&&N.createElement(Ft.Provider,{value:S},h(),s&&!m&&N.createElement("div",{className:"swiper-lazy-preloader",ref:g=>{g&&(g.lazyPreloaderManaged=!0)}})))});bn.displayName="SwiperSlide";function ir({swiper:e,extendParams:n,on:t,emit:i}){const r=fe(),s=q();e.keyboard={enabled:!1},n({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0,speed:void 0}});function o(u){if(!e.enabled)return;const{rtlTranslate:f}=e;let d=u;d.originalEvent&&(d=d.originalEvent);const x=d.keyCode||d.charCode,m=e.params.keyboard.pageUpDown,b=m&&x===33,C=m&&x===34,S=x===37,h=x===39,p=x===38,g=x===40;if(!e.allowSlideNext&&(e.isHorizontal()&&h||e.isVertical()&&g||C)||!e.allowSlidePrev&&(e.isHorizontal()&&S||e.isVertical()&&p||b))return!1;if(d.shiftKey||d.altKey||d.ctrlKey||d.metaKey||r.activeElement&&(r.activeElement.isContentEditable||r.activeElement.nodeName&&(r.activeElement.nodeName.toLowerCase()==="input"||r.activeElement.nodeName.toLowerCase()==="textarea")))return;if(e.params.keyboard.onlyInViewport&&(b||C||S||h||p||g)){let T=!1;if(Ve(e.el,`.${e.params.slideClass}, swiper-slide`).length>0&&Ve(e.el,`.${e.params.slideActiveClass}`).length===0)return;const k=e.el,E=k.clientWidth,v=k.clientHeight,j=s.innerWidth,M=s.innerHeight,w=zi(k);f&&(w.left-=k.scrollLeft);const P=[[w.left,w.top],[w.left+E,w.top],[w.left,w.top+v],[w.left+E,w.top+v]];for(let _=0;_<P.length;_+=1){const I=P[_];if(I[0]>=0&&I[0]<=j&&I[1]>=0&&I[1]<=M){if(I[0]===0&&I[1]===0)continue;T=!0}}if(!T)return}const y=e.params.keyboard.speed;
vendor: 5,429 bytes, line 1
1e.isHorizontal()?((b||C||S||h)&&(d.preventDefault?d.preventDefault():d.returnValue=!1),((C||h)&&!f||(b||S)&&f)&&e.slideNext(y),((b||S)&&!f||(C||h)&&f)&&e.slidePrev(y)):((b||C||p||g)&&(d.preventDefault?d.preventDefault():d.returnValue=!1),(C||g)&&e.slideNext(y),(b||p)&&e.slidePrev(y)),i("keyPress",x)}function c(){e.keyboard.enabled||(r.addEventListener("keydown",o),e.keyboard.enabled=!0)}function a(){e.keyboard.enabled&&(r.removeEventListener("keydown",o),e.keyboard.enabled=!1)}t("init",()=>{e.params.keyboard.enabled&&c()}),t("destroy",()=>{e.keyboard.enabled&&a()}),Object.assign(e.keyboard,{enable:c,disable:a})}function sr({swiper:e,extendParams:n,on:t,emit:i}){const r=q();n({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let s,o=ce(),c;const a=[];function u(p){let k=0,E=0,v=0,j=0;return"detail"in p&&(E=p.detail),"wheelDelta"in p&&(E=-p.wheelDelta/120),"wheelDeltaY"in p&&(E=-p.wheelDeltaY/120),"wheelDeltaX"in p&&(k=-p.wheelDeltaX/120),"axis"in p&&p.axis===p.HORIZONTAL_AXIS&&(k=E,E=0),v=k*10,j=E*10,"deltaY"in p&&(j=p.deltaY),"deltaX"in p&&(v=p.deltaX),p.shiftKey&&!v&&(v=j,j=0),(v||j)&&p.deltaMode&&(p.deltaMode===1?(v*=40,j*=40):(v*=800,j*=800)),v&&!k&&(k=v<1?-1:1),j&&!E&&(E=j<1?-1:1),{spinX:k,spinY:E,pixelX:v,pixelY:j}}function f(){e.enabled&&(e.mouseEntered=!0)}function d(){e.enabled&&(e.mouseEntered=!1)}function x(p){return e.params.mousewheel.thresholdDelta&&p.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&ce()-o<e.params.mousewheel.thresholdTime?!1:p.delta>=6&&ce()-o<60?!0:(p.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),i("scroll",p.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),i("scroll",p.raw)),o=new r.Date().getTime(),!1)}function m(p){const g=e.params.mousewheel;if(p.direction<0){if(e.isEnd&&!e.params.loop&&g.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&g.releaseOnEdges)return!0;return!1}function b(p){let g=p,y=!0;if(!e.enabled||p.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const T=e.params.mousewheel;e.params.cssMode&&g.preventDefault();let k=e.el;e.params.mousewheel.eventsTarget!=="container"&&(k=document.querySelector(e.params.mousewheel.eventsTarget));const E=k&&k.contains(g.target);if(!e.mouseEntered&&!E&&!T.releaseOnEdges)return!0;g.originalEvent&&(g=g.originalEvent);let v=0;const j=e.rtlTranslate?-1:1,M=u(g);if(T.forceToAxis)if(e.isHorizontal())if(Math.abs(M.pixelX)>Math.abs(M.pixelY))v=-M.pixelX*j;else return!0;else if(Math.abs(M.pixelY)>Math.abs(M.pixelX))v=-M.pixelY;else return!0;else v=Math.abs(M.pixelX)>Math.abs(M.pixelY)?-M.pixelX*j:-M.pixelY;if(v===0)return!0;T.invert&&(v=-v);let w=e.getTranslate()+v*T.sensitivity;if(w>=e.minTranslate()&&(w=e.minTranslate()),w<=e.maxTranslate()&&(w=e.maxTranslate()),y=e.params.loop?!0:!(w===e.minTranslate()||w===e.maxTranslate()),y&&e.params.nested&&g.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const P={time:ce(),delta:Math.abs(v),direction:Math.sign(v),raw:p};a.length>=2&&a.shift();const _=a.length?a[a.length-1]:void 0;if(a.push(P),_?(P.direction!==_.direction||P.delta>_.delta||P.time>_.time+150)&&x(P):x(P),m(P))return!0}else{const P={time:ce(),delta:Math.abs(v),direction:Math.sign(v)},_=c&&P.time<c.time+500&&P.delta<=c.delta&&P.direction===c.direction;if(!_){c=void 0;let I=e.getTranslate()+v*T.sensitivity;const D=e.isBeginning,Y=e.isEnd;if(I>=e.minTranslate()&&(I=e.minTranslate()),I<=e.maxTranslate()&&(I=e.maxTranslate()),e.setTransition(0),e.setTranslate(I),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!D&&e.isBeginning||!Y&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:P.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(s),s=void 0,a.length>=15&&a.shift();const V=a.length?a[a.length-1]:void 0,L=a[0];if(a.push(P),V&&(P.delta>V.delta||P.direction!==V.direction))a.splice(0);else if(a.length>=15&&P.time-L.time<500&&L.delta-P.delta>=1&&P.delta<=6){const $=v>0?.8:.2;c=P,a.splice(0),s=Oe(()=>{e.destroyed||!e.params||e.slideToClosest(e.params.speed,!0,void 0,$)},0)}s||(s=Oe(()=>{if(e.destroyed||!e.params)return;const $=.5;c=P,a.splice(0),e.slideToClosest(e.params.speed,!0,void 0,$)},500))}if(_||i("scroll",g),e.params.autoplay&&e.params.autoplay.disableOnInteraction&&e.autoplay.stop(),T.releaseOnEdges&&(I===e.minTranslate()||I===e.maxTranslate()))return!0}}return g.preventDefault?g.preventDefault():g.returnValue=!1,!1}function C(p){let g=e.el;e.params.mousewheel.eventsTarget!=="container"&&(g=document.querySelector(e.params.mousewheel.eventsTarget)),g[p]("mouseenter",f),g[p]("mouseleave",d),g[p]("wheel",b)}function S(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",b),!0):e.mousewheel.enabled?!1:(C("addEventListener"),e.mousewheel.enabled=!0,!0)}function h(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,b),!0):e.mousewheel.enabled?(C("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}t("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&h(),e.params.mousewheel.enabled&&S()}),t("destroy",()=>{e.params.cssMode&&S(),e.mousewheel.enabled&&h()}),Object.assign(e.mousewheel,{enable:S,disable:h})}function rr(e,n,t,i){return e.params.createElements&&Object.keys(i).forEac
1h(r=>{if(!t[r]&&t.auto===!0){let s=re(e.el,`.${i[r]}`)[0];s||(s=He("div",i[r]),s.className=i[r],e.el.append(s)),t[r]=s,n[r]=s}}),t}function Ie(e=""){return`.${e.trim().replace(/([\.:!+\/()[\]#>~*^$|=,'"@{}\\])/g,"\\$1").replace(/ /g,".")}`}function ar({swiper:e,extendParams:n,on:t,emit:i}){const r="swiper-pagination";n({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:h=>h,formatFractionTotal:h=>h,bulletClass:`${r}-bullet`,bulletActiveClass:`${r}-bullet-active`,modifierClass:`${r}-`,currentClass:`${r}-current`,totalClass:`${r}-total`,hiddenClass:`${r}-hidden`,progressbarFillClass:`${r}-progressbar-fill`,progressbarOppositeClass:`${r}-progressbar-opposite`,clickableClass:`${r}-clickable`,lockClass:`${r}-lock`,horizontalClass:`${r}-horizontal`,verticalClass:`${r}-vertical`,paginationDisabledClass:`${r}-disabled`}}),e.pagination={el:null,bullets:[]};let s,o=0;function c(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function a(h,p){const{bulletActiveClass:g}=e.params.pagination;h&&(h=h[`${p==="prev"?"previous":"next"}ElementSibling`],h&&(h.classList.add(`${g}-${p}`),h=h[`${p==="prev"?"previous":"next"}ElementSibling`],h&&h.classList.add(`${g}-${p}-${p}`)))}function u(h,p,g){if(h=h%g,p=p%g,p===h+1)return"next";if(p===h-1)return"previous"}function f(h){const p=h.target.closest(Ie(e.params.pagination.bulletClass));if(!p)return;h.preventDefault();const g=Ge(p)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===g)return;const y=u(e.realIndex,g,e.slides.length);y==="next"?e.slideNext():y==="previous"?e.slidePrev():e.slideToLoop(g)}else e.slideTo(g)}function d(){const h=e.rtl,p=e.params.pagination;if(c())return;let g=e.pagination.el;g=oe(g);let y,T;const k=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,E=e.params.loop?Math.ceil(k/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(T=e.previousRealIndex||0,y=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(y=e.snapIndex,T=e.previousSnapIndex):(T=e.previousIndex||0,y=e.activeIndex||0),p.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const v=e.pagination.bullets;let j,M,w;if(p.dynamicBullets&&(s=ot(v[0],e.isHorizontal()?"width":"height"),g.forEach(P=>{P.style[e.isHorizontal()?"width":"height"]=`${s*(p.dynamicMainBullets+4)}px`}),p.dynamicMainBullets>1&&T!==void 0&&(o+=y-(T||0),o>p.dynamicMainBullets-1?o=p.dynamicMainBullets-1:o<0&&(o=0)),j=Math.max(y-o,0),M=j+(Math.min(v.length,p.dynamicMainBullets)-1),w=(M+j)/2),v.forEach(P=>{const _=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(I=>`${p.bulletActiveClass}${I}`)].map(I=>typeof I=="string"&&I.includes(" ")?I.split(" "):I).flat();P.classList.remove(..._)}),g.length>1)v.forEach(P=>{const _=Ge(P);_===y?P.classList.add(...p.bulletActiveClass.split(" ")):e.isElement&&P.setAttribute("part","bullet"),p.dynamicBullets&&(_>=j&&_<=M&&P.classList.add(...`${p.bulletActiveClass}-main`.split(" ")),_===j&&a(P,"prev"),_===M&&a(P,"next"))});else{const P=v[y];if(P&&P.classList.add(...p.bulletActiveClass.split(" ")),e.isElement&&v.forEach((_,I)=>{_.setAttribute("part",I===y?"bullet-active":"bullet")}),p.dynamicBullets){const _=v[j],I=v[M];for(let D=j;D<=M;D+=1)v[D]&&v[D].classList.add(...`${p.bulletActiveClass}-main`.split(" "));a(_,"prev"),a(I,"next")}}if(p.dynamicBullets){const P=Math.min(v.length,p.dynamicMainBullets+4),_=(s*P-s)/2-w*s,I=h?"right":"left";v.forEach(D=>{D.style[e.isHorizontal()?I:"top"]=`${_}px`})}}g.forEach((v,j)=>{if(p.type==="fraction"&&(v.querySelectorAll(Ie(p.currentClass)).forEach(M=>{M.textContent=p.formatFractionCurrent(y+1)}),v.querySelectorAll(Ie(p.totalClass)).forEach(M=>{M.textContent=p.formatFractionTotal(E)})),p.type==="progressbar"){let M;p.progressbarOpposite?M=e.isHorizontal()?"vertical":"horizontal":M=e.isHorizontal()?"horizontal":"vertical";const w=(y+1)/E;let P=1,_=1;M==="horizontal"?P=w:_=w,v.querySelectorAll(Ie(p.progressbarFillClass)).forEac
1h(I=>{I.style.transform=`translate3d(0,0,0) scaleX(${P}) scaleY(${_})`,I.style.transitionDuration=`${e.params.speed}ms`})}p.type==="custom"&&p.renderCustom?(Re(v,p.renderCustom(e,y+1,E)),j===0&&i("paginationRender",v)):(j===0&&i("paginationRender",v),i("paginationUpdate",v)),e.params.watchOverflow&&e.enabled&&v.classList[e.isLocked?"add":"remove"](p.lockClass)})}function x(){const h=e.params.pagination;if(c())return;const p=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let g=e.pagination.el;g=oe(g);let y="";if(h.type==="bullets"){let T=e.params.loop?Math.ceil(p/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&T>p&&(T=p);for(let k=0;k<T;k+=1)h.renderBullet?y+=h.renderBullet.call(e,k,h.bulletClass):y+=`<${h.bulletElement} ${e.isElement?'part="bullet"':""} class="${h.bulletClass}"></${h.bulletElement}>`}h.type==="fraction"&&(h.renderFraction?y=h.renderFraction.call(e,h.currentClass,h.totalClass):y=`<span class="${h.currentClass}"></span> / <span class="${h.totalClass}"></span>`),h.type==="progressbar"&&(h.renderProgressbar?y=h.renderProgressbar.call(e,h.progressbarFillClass):y=`<span class="${h.progressbarFillClass}"></span>`),e.pagination.bullets=[],g.forEach(T=>{h.type!=="custom"&&Re(T,y||""),h.type==="bullets"&&e.pagination.bullets.push(...T.querySelectorAll(Ie(h.bulletClass)))}),h.type!=="custom"&&i("paginationRender",g[0])}function m(){e.params.pagination=rr(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const h=e.params.pagination;if(!h.el)return;let p;typeof h.el=="string"&&e.isElement&&(p=e.el.querySelector(h.el)),!p&&typeof h.el=="string"&&(p=[...document.querySelectorAll(h.el)]),p||(p=h.el),!(!p||p.length===0)&&(e.params.uniqueNavElements&&typeof h.el=="string"&&Array.isArray(p)&&p.length>1&&(p=[...e.el.querySelectorAll(h.el)],p.length>1&&(p=p.find(g=>Ve(g,".swiper")[0]===e.el))),Array.isArray(p)&&p.length===1&&(p=p[0]),Object.assign(e.pagination,{el:p}),p=oe(p),p.forEach(g=>{h.type==="bullets"&&h.clickable&&g.classList.add(...(h.clickableClass||"").split(" ")),g.classList.add(h.modifierClass+h.type),g.classList.add(e.isHorizontal()?h.horizontalClass:h.verticalClass),h.type==="bullets"&&h.dynamicBullets&&(g.classList.add(`${h.modifierClass}${h.type}-dynamic`),o=0,h.dynamicMainBullets<1&&(h.dynamicMainBullets=1)),h.type==="progressbar"&&h.progressbarOpposite&&g.classList.add(h.progressbarOppositeClass),h.clickable&&g.addEventListener("click",f),e.enabled||g.classList.add(h.lockClass)}))}function b(){const h=e.params.pagination;if(c())return;let p=e.pagination.el;p&&(p=oe(p),p.forEach(g=>{g.classList.remove(h.hiddenClass),g.classList.remove(h.modifierClass+h.type),g.classList.remove(e.isHorizontal()?h.horizontalClass:h.verticalClass),h.clickable&&(g.classList.remove(...(h.clickableClass||"").split(" ")),g.removeEventListener("click",f))})),e.pagination.bullets&&e.pagination.bullets.forEach(g=>g.classList.remove(...h.bulletActiveClass.split(" ")))}t("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const h=e.params.pagination;let{el:p}=e.pagination;p=oe(p),p.forEach(g=>{g.classList.remove(h.horizontalClass,h.verticalClass),g.classList.add(e.isHorizontal()?h.horizontalClass:h.verticalClass)})}),t("init",()=>{e.params.pagination.enabled===!1?S():(m(),x(),d())}),t("activeIndexChange",()=>{typeof e.snapIndex>"u"&&d()}),t("snapIndexChange",()=>{d()}),t("snapGridLengthChange",()=>{x(),d()}),t("destroy",()=>{b()}),t("enable disable",()=>{let{el:h}=e.pagination;h&&(h=oe(h),h.forEach(p=>p.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),t("lock unlock",()=>{d()}),t("click",(h,p)=>{const g=p.target,y=oe(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&y&&y.length>0&&!g.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&g===e.navigation.nextEl||e.navigation.prevEl&&g===e.navigation.prevEl))return;const T=y[0].classList.contains(e.params.pagination.hiddenClass);
1i(T===!0?"paginationShow":"paginationHide"),y.forEach(k=>k.classList.toggle(e.params.pagination.hiddenClass))}});const C=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:h}=e.pagination;h&&(h=oe(h),h.forEach(p=>p.classList.remove(e.params.pagination.paginationDisabledClass))),m(),x(),d()},S=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:h}=e.pagination;h&&(h=oe(h),h.forEach(p=>p.classList.add(e.params.pagination.paginationDisabledClass))),b()};Object.assign(e.pagination,{enable:C,disable:S,render:x,update:d,init:m,destroy:b})}function lr({swiper:e,extendParams:n,on:t}){n({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0};function i(a,u){const f=(function(){let b,C,S;return(h,p)=>{for(C=-1,b=h.length;b-C>1;)S=b+C>>1,h[S]<=p?C=S:b=S;return b}})();this.x=a,this.y=u,this.lastIndex=a.length-1;let d,x;return this.interpolate=function(b){return b?(x=f(this.x,b),d=x-1,(b-this.x[d])*(this.y[x]-this.y[d])/(this.x[x]-this.x[d])+this.y[d]):0},this}function r(a){e.controller.spline=e.params.loop?new i(e.slidesGrid,a.slidesGrid):new i(e.snapGrid,a.snapGrid)}function s(a,u){const f=e.controller.control;let d,x;const m=e.constructor;function b(C){if(C.destroyed)return;const S=e.rtlTranslate?-e.translate:e.translate;e.params.controller.by==="slide"&&(r(C),x=-e.controller.spline.interpolate(-S)),(!x||e.params.controller.by==="container")&&(d=(C.maxTranslate()-C.minTranslate())/(e.maxTranslate()-e.minTranslate()),(Number.isNaN(d)||!Number.isFinite(d))&&(d=1),x=(S-e.minTranslate())*d+C.minTranslate()),e.params.controller.inverse&&(x=C.maxTranslate()-x),C.updateProgress(x),C.setTranslate(x,e),C.updateActiveIndex(),C.updateSlidesClasses()}if(Array.isArray(f))for(let C=0;C<f.length;C+=1)f[C]!==u&&f[C]instanceof m&&b(f[C]);else f instanceof m&&u!==f&&b(f)}function o(a,u){const f=e.constructor,d=e.controller.control;let x;function m(b){b.destroyed||(b.setTransition(a,e),a!==0&&(b.transitionStart(),b.params.autoHeight&&Oe(()=>{b.updateAutoHeight()}),Di(b.wrapperEl,()=>{d&&b.transitionEnd()})))}if(Array.isArray(d))for(x=0;x<d.length;x+=1)d[x]!==u&&d[x]instanceof f&&m(d[x]);else d instanceof f&&u!==d&&m(d)}function c(){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)}t("beforeInit",()=>{if(typeof window<"u"&&(typeof e.params.controller.control=="string"||e.params.controller.control instanceof HTMLElement)){(typeof e.params.controller.control=="string"?[...document.querySelectorAll(e.params.controller.control)]:[e.params.controller.control]).forEach(u=>{if(e.controller.control||(e.controller.control=[]),u&&u.swiper)e.controller.control.push(u.swiper);else if(u){const f=`${e.params.eventsPrefix}init`,d=x=>{e.controller.control.push(x.detail[0]),e.update(),u.removeEventListener(f,d)};u.addEventListener(f,d)}});return}e.controller.control=e.params.controller.control}),t("update",()=>{c()}),t("resize",()=>{c()}),t("observerUpdate",()=>{c()}),t("setTranslate",(a,u,f)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTranslate(u,f)}),t("setTransition",(a,u,f)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTransition(u,f)}),Object.assign(e.controller,{setTranslate:s,setTransition:o})}function Ht({swiper:e,variant:n,buttonPosition:t,showDesktopButtons:i,showMobileButtons:r}){if(!e||!e.slides||e.slides.length<=1)return;const s=0,o=e.slides.length-1,c={left:{base:0,md:i?"-22.5px":0},ml:2,onClick:()=>{e.slideTo(e.activeIndex===s?o:e.activeIndex-1)}},a={right:{base:0,md:i?"-22.5px":0},mr:2,onClick:()=>{e.slideTo(e.activeIndex===o?s:e.activeIndex+1)}},u=n==="left";return l.jsx(ee,{position:"absolute",display:{base:r?"block":"none",md:i?"block":"none"},bottom:t||"50%",padding:1,variant:"datePicker",_focus:{outline:"none"},backgroundColor:"#D9D9D980",size:"lg",width:"3.125rem",height:"3.125rem",zIndex:1,...u?c:a,qaLocator:`carousel_${u?"prevButton":"nextButton"}`,"aria-label":`carousel_${u?"prevButton":"nextButton"}`,children:l.jsx(pt,{direction:n,stroke:"blue.700",strokeWidth:1.5,iconSize:"2.5rem"})})}function or({children:e,showDesktopButtons:n=!1,showMobileButtons:t=!0,tileTabIndex:i,buttonPosition:r,onSlideChange:s,...o}){const c=nr(),[a,u]=z.useState(!1),[f,d]=z.useState(c),[x,m]=z.useState(n);z.useEffect(()=>{u(!0)},[]),z.useEffect(()=>{f&&i!==void 0&&f.slideTo(i)},[f,i]);function b(C){var g;const S=C.isLocked,h=((g=C.slides)==null?void 0:g.length)>1,p=C.isBeginning&&C.isEnd;m(h&&!S&&!p)}return l.jsxs(we,{position:"relative",width:"full",visibility:a?"visible":"hidden",children:[l.jsx(vn,{slidesPerView:1,pagination:{clickable:!0},mousewheel:!1,keyboard:!0,modules:[ar,sr,ir,lr],onSwiper:d,initialSlide:i,onSlideChange:C=>s==null?void 0:s(C.realIndex),onResize:b,onUpdate:b,allowTouchMove:!0,...o,children:z.Children.map(e,(C,S)=>l.jsx(bn,{children:C},S))}),x&&l.jsxs(l.Fragment,{children:[l.jsx(Ht,{swiper:f,variant:"left",buttonPosition:r,showDesktopButtons:n,showMobileButtons:t}),l.jsx(Ht,{swiper:f,variant:"right",buttonPosition:r,showDesktopButtons:n,showMobileButtons:t})]})]})}function Gt({width:e="115px",height:n="36px",...t}){return l.jsxs(te,{xmlns:"http://www.w3.org/2000/svg",width:e,height:n,viewBox:"0 0 115 36",fill:"none",...t,children:[l.jsx("title",{children:"PŸUR TV Icon"}),l.jsx("path",{d:"M51.5444 9.48419C50.3127 9.48419 49.3153 10.4702 49.3153 11.6879V23.5206C49.3153 25.7574 47.4744 27.5839 45.2051 27.5839C42.9358 27.5839 41.095 25.764 41.095 23.5206V11.6945C41.095 10.4769 40.0909 9.49081 38.8658 9.49081C37.6408 9.49081 36.6367 10.4769 36.6367 11.6945V23.5272C36.6367 28.1994 40.4858 31.998 45.2118 31.998C49.9378 31.998 53.7802 28.1994 53.7802 23.5272V11.6945C53.7802 10.4769 52.7828 9.49081 51.5511 9.49081",fill:"#FF1A4B"}),l.jsx("path",{d:"M21.93 8.61729C23.2219 8.61729 24.2662 7.58491 24.2662 6.30767C24.2662 5.03043 23.2219 3.99805 21.93 3.99805C20.638 3.99805 19.5938 5.03704 19.5938 6.30767C19.5938 7.57829 20.6447 8.61729 21.93 8.61729Z",fill:"#5FCC0A"}),l.jsx("path",{d:"M30.5182 8.61727C31.9708 8.61727 33.1155 7.30694 32.8009 5.81793C32.6202 4.94438 31.9106 4.23628 31.027 4.05098C29.5141 3.7267 28.1753 4.86497 28.1753 6.30765C28.1753 7.58489 29.2263 8.61727 30.5115 8.61727",fill:"#5FCC0A"}),l.jsx("path",{d:"M34.7087 11.1651C34.5347 10.5695 34.133 10.0798 33.5841 9.78199C33.2427 9.59669 32.8545 9.49743 32.4595 9.49743C31.6027 9.49743 30.8128 9.96068 30.4044 10.7019L28.4297 14.2623L26.234 18.233L22.0502 10.6886C21.6352 9.94744 20.852 9.48419 19.9952 9.48419C19.6069 9.48419 19.212 9.58346 18.8706 9.76876C18.3216 10.0666 17.92 10.5563 17.746 11.1519C17.5719 11.7475 17.6389 12.3696 17.9401 12.9122L23.1481 22.3161L23.8844 23.6397V29.6752C23.8844 30.9524 24.9354 31.9914 26.2273 31.9914C27.5193 31.9914 28.5703 30.9524 28.5703 29.6752V23.6529L34.5146 12.9255C34.8158 12.3828 34.8828 11.7541 34.7087 11.1585",fill:"#5FCC0A"}),l.jsx("path",{d:"M65.5015 20.6088H60.6349V13.8785H65.5015C67.3759 13.8785 68.9088 15.3873 68.9088 17.2403C68.9088 19.0933 67.3826 20.6088 65.5015 20.6088ZM70.6426 24.5332L70.0736 23.5405C70.1539 23.4809 70.1941 23.4412 70.1941 23.4412C72.1019 22.025 73.3403 19.7749 73.3403 17.2403C73.3403 12.9652 69.8259 9.49084 65.5015 9.49084H58.4192C57.1942 9.49084 56.1968 10.4703 56.1968 11.6813V29.8076C56.1968 31.0186 57.1942 32.0047 58.4192 32.0047C59.6442 32.0047 60.6349 31.0186 60.6349 29.8076V24.9898H65.7024C65.7358 24.9898 65.776 24.9898 65.8095 24.9898L66.6797 26.5185L69.1766 30.8863C69.779 31.9385 71.1312 32.3091 72.1956 31.7135C73.26 31.1179 73.6348 29.7811 73.0324 28.7288L70.6359 24.5332H70.6426Z",fill:"#38A0F9"}),l.jsx("path",{d:"M9.33823 20.6021H4.43817V13.8718H9.20435C11.0787 13.8718 12.6116 15.3807 12.6116 17.2403C12.6116 19.0999 11.0854 20.6087 9.34492 20.6087M9.29806 9.48419H2.21574C0.990722 9.48419 0 10.4702 0 11.6747V29.8009C0 31.012 0.997416 31.9914 2.21574 31.99
114C3.43406 31.9914 4.43147 31.0053 4.43147 29.8009V24.9831H9.29806C13.6224 24.9831 17.1368 21.5088 17.1368 17.2337C17.1368 12.9585 13.6224 9.48419 9.29806 9.48419Z",fill:"#5FCC0A"}),l.jsx("path",{d:"M88.6831 13.349C88.6831 11.7872 89.4127 10.3975 90.5507 9.48419H78.8361C76.6806 9.48419 74.9268 11.2114 74.9268 13.349C74.9268 15.4866 76.6739 17.2138 78.8361 17.2138H82.7454V28.1332C82.7454 30.2708 84.4926 31.998 86.6548 31.998C88.8169 31.998 90.5641 30.2708 90.5641 28.1332V17.2204C89.4194 16.3072 88.6831 14.9108 88.6831 13.349Z",fill:"white"}),l.jsx("path",{d:"M111.972 9.96066C110.077 8.9349 107.701 9.62315 106.67 11.496L101.91 20.0925L98.6638 14.2358C98.2421 16.5586 96.187 18.3256 93.7169 18.3256C93.0408 18.3256 92.3982 18.1932 91.8091 17.9484L98.4764 29.9862C98.9182 30.7869 99.601 31.3627 100.391 31.6936C100.498 31.7399 100.605 31.7796 100.719 31.8127C100.732 31.8127 100.752 31.8259 100.766 31.8326C100.859 31.859 100.953 31.8789 101.047 31.9054C101.08 31.912 101.114 31.9252 101.147 31.9318C101.221 31.9451 101.301 31.9583 101.382 31.9649C101.428 31.9649 101.482 31.9781 101.529 31.9848C101.596 31.9848 101.663 31.9914 101.73 31.998C101.79 31.998 101.85 32.0046 101.91 32.0046C101.971 32.0046 102.031 32.0046 102.091 31.998C102.158 31.998 102.225 31.998 102.292 31.9848C102.339 31.9848 102.392 31.9715 102.439 31.9649C102.52 31.9517 102.593 31.9451 102.674 31.9318C102.707 31.9318 102.74 31.9186 102.774 31.9054C102.868 31.8855 102.961 31.8656 103.055 31.8326C103.069 31.8326 103.089 31.8193 103.102 31.8193C103.216 31.7862 103.323 31.7465 103.43 31.7002C104.22 31.3759 104.903 30.7936 105.344 29.9928L113.531 15.2086C114.569 13.3357 113.873 10.9864 111.978 9.96728L111.972 9.96066Z",fill:"white"}),l.jsx("path",{d:"M93.7101 17.2138C95.8692 17.2138 97.6195 15.4835 97.6195 13.349C97.6195 11.2145 95.8692 9.48419 93.7101 9.48419C91.5511 9.48419 89.8008 11.2145 89.8008 13.349C89.8008 15.4835 91.5511 17.2138 93.7101 17.2138Z",fill:"#5FCC0A"})]})}function Vt({width:e="116px",height:n="36px",...t}){return l.jsxs(te,{xmlns:"http://www.w3.org/2000/svg",width:e,height:n,viewBox:"0 0 116 36",fill:"currentColor",...t,children:[l.jsx("title",{children:"Basis TV Icon"}),l.jsx("path",{d:"M14.64 17.11C16.32 18.07 17.4 19.72 17.4 21.91C17.4 25.51 14.49 28 10.86 28H1.95V7H10.23C13.77 7 16.62 9.4 16.62 12.91C16.62 14.71 15.87 16.12 14.64 17.11ZM10.23 10.87H6.09V15.49H10.23C11.52 15.49 12.48 14.5 12.48 13.18C12.48 11.86 11.55 10.87 10.23 10.87ZM10.86 24.13C12.27 24.13 13.29 23.08 13.29 21.64C13.29 20.23 12.27 19.18 10.86 19.18H6.09V24.13H10.86ZM31.5684 13H35.4384V28H31.5684V26.23C30.4884 27.58 28.8684 28.42 26.6784 28.42C22.6884 28.42 19.3884 24.97 19.3884 20.5C19.3884 16.03 22.6884 12.58 26.6784 12.58C28.8684 12.58 30.4884 13.42 31.5684 14.77V13ZM27.3984 24.73C29.7984 24.73 31.5684 23.02 31.5684 20.5C31.5684 17.98 29.7984 16.27 27.3984 16.27C25.0284 16.27 23.2584 17.98 23.2584 20.5C23.2584 23.02 25.0284 24.73 27.3984 24.73ZM42.4005 17.26C42.4005 19.48 50.1405 18.1 50.1405 23.62C50.1405 26.86 47.3205 28.42 44.1105 28.42C41.1105 28.42 38.8905 27.16 37.8105 24.85L41.1705 22.96C41.5905 24.19 42.6105 24.91 44.1105 24.91C45.3405 24.91 46.1805 24.49 46.1805 23.62C46.1805 21.43 38.4405 22.63 38.4405 17.35C38.4405 14.29 41.0505 12.58 44.1405 12.58C46.5705 12.58 48.6705 13.69 49.8405 15.76L46.5405 17.56C46.0905 16.6 45.2505 16.03 44.1405 16.03C43.1805 16.03 42.4005 16.45 42.4005 17.26ZM54.5494 11.2C53.2594 11.2 52.1794 10.12 52.1794 8.83C52.1794 7.54 53.2594 6.43 54.5494 6.43C55.8694 6.43 56.9494 7.54 56.9494 8.83C56.9494 10.12 55.8694 11.2 54.5494 11.2ZM52.6294 28V13H56.4994V28H52.6294ZM63.4943 17.26C63.4943 19.48 71.2343 18.1 71.2343 23.62C71.2343 26.86 68.4143 28.42 65.2043 28.42C62.2043 28.42 59.9843 27.16 58.9043 24.85L62.2643 22.96C62.6843 24.19 63.7043 24.91 65.2043 24.91C66.4343 24.91 67.2743 24.49 67.2743 23.62C67.2743 21.43 59.5343 22.63 59.5343 17.35C59.5343 14.29 62.1443 12.58 65.2343 12.58C67.6643 12.58 69.7643 13.69 70.9343 15.76L67.6343 17.56C67.1843 16.6 66.3443 16.03 65.2343 16.03C64.2743 16.03 63.4943 16.45 63.4943 17.26ZM95.4396 7V10.96H89.7696V28H85.6296V10.96H79.9896V7H95.4396ZM102.941 28L95.8908 7H100.391L105.521 23.14L110.621 7H115.151L108.071 28H102.941Z"})]})}function dr({iconSize:e=ae,stroke:n=We,...t}){return l.jsxs(te,{width:e,height:e,stroke:n,fill:"none",viewBox:"0 0 19 19",xmlns:"http://www.w3.org/2000/svg",...t,children:[l.jsx("path",{d:"M16.0502 9.25V17.75H2.4502V9.25",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),l.jsx("path",{d:"M17.75 5H0.75V9.25H17.75V5Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),l.jsx("path",{d:"M9.25 17.75V5",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),l.jsx("path",{d:"M9.2498 5H5.4248C4.86122 5 4.32072 4.77612 3.9222 4.3776C3.52369 3.97909 3.2998 3.43859 3.2998 2.875C3.2998 2.31141 3.52369 1.77091 3.9222 1.3724C4.32072 0.973883 4.86122 0.75 5.4248 0.75C8.3998 0.75 9.2498 5 9.2498 5Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),l.jsx("path",{d:"M9.25 5H13.075C13.6386 5 14.1791 4.77612 14.5776 4.3776C14.9761 3.97909 15.2 3.43859 15.2 2.875C15.2 2.3114
11 14.9761 1.77091 14.5776 1.3724C14.1791 0.973883 13.6386 0.75 13.075 0.75C10.1 0.75 9.25 5 9.25 5Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function cr({product:e,theme:n,productTilesSimplificationAbTestVariant:t}){var m;const{colorMode:i}=jn(),r=i==="dark",{isOpen:s,onOpen:o,onClose:c}=ge(),a=ke(),u=t===O.C,f=e.name==="PŸUR TV HD"||e.name==="BasisTV",d=!(a!=null&&a.isCashbackDisabled)&&e.isCashbackEligible?(m=e.usps)==null?void 0:m.find(b=>b.category===Me.Cashback):void 0,x=b=>{const{color:C,backgroundColor:S,fontSize:h}=b;return u?l.jsx(_t,{backgroundColor:"neutral.300",borderTopRadius:"24px",mx:"10px",mt:"10px",pl:"14px",pr:"10px",pt:"12px",pb:"0",children:l.jsxs(A,{alignItems:"center",justifyContent:"space-between",gap:2,children:[l.jsxs(A,{alignItems:"center",gap:2,children:[f?e.name==="PŸUR TV HD"?l.jsx(Gt,{}):l.jsx(Vt,{}):l.jsx(Kn,{iconSize:"21px",fill:"#4BAC04",boxShadow:"0 0 0 2px white, 0 1px 3px rgba(0, 0, 0, 0.2)",borderRadius:"full"}),l.jsx(K,{size:h,color:"",variant:"subtitle-2",fontSize:"20px",children:f?e.name:`${e.download} Mbit|s`})]}),e.productTileFlag&&l.jsx(Lt,{variant:"black",borderRadius:"full",textTransform:"none",fontSize:"12px",fontFamily:"gilroy",px:"10px",modal:e.productTileFlag.modal,flexShrink:0,children:e.productTileFlag.text})]})}):l.jsxs(_t,{backgroundColor:S,borderTopRadius:"20px",children:[e.subheadline&&l.jsx(F,{fontSize:"xs",color:C,textAlign:t===O.B?"center":"left",mb:"4px",children:l.jsx(ne,{content:e.subheadline})}),l.jsx(K,{size:h,color:C,variant:"subtitle-2",textAlign:t===O.B?"center":"left",children:e.name==="PŸUR TV HD"?l.jsx(Gt,{}):e.name==="BasisTV"?l.jsx(Vt,{}):t===O.B?`${e.download} Mbit/s`:e.name})]})};return l.jsxs(l.Fragment,{children:[u?(d==null?void 0:d.content)&&l.jsxs(A,{position:"absolute",height:"37px",top:"-27px",left:0,zIndex:1,alignItems:"center",gap:2,backgroundColor:"fontWhite",borderRadius:"full",borderTopLeftRadius:"20px",borderTopRightRadius:"20px",borderBottomLeftRadius:0,borderBottomRightRadius:0,pt:"0.5rem",pb:"0.5rem",pl:"24px",pr:"16px",children:[l.jsx(A,{alignItems:"center",justifyContent:"center",backgroundColor:"neutral.900",borderRadius:"full",boxShadow:"0 0 0 2px white, 0 2px 6px rgba(0, 0, 0, 0.6)",width:"21px",height:"21px",flexShrink:0,children:l.jsx(dr,{iconSize:"0.75rem",stroke:"fontWhite"})}),l.jsx(ne,{textStyle:{variant:"body3-medium",color:"neutral.900",fontWeight:700,fontFamily:"gilroy"},content:"json"in d.content?d.content.json:d.content}),d.modal&&l.jsxs(l.Fragment,{children:[l.jsx(ee,{variant:"blank",minWidth:"1.25rem",minHeight:"1.25rem",width:"1.25rem",height:"1.25rem",onClick:o,"aria-label":"Mehr Informationen",qaLocator:`cashbackUsp_infoModalOpen_${d.__id}`,children:l.jsx(be,{iconSize:"1.25rem",stroke:"neutral.600"})}),l.jsx(ue,{id:`cashbackUsp_infoModalOpen_${d.__id}`,isOpen:s,onClose:c,hideCloseButton:d.modal.hideCloseButton,children:l.jsx(ne,{content:"json"in d.modal.content?d.modal.content.json:d.modal.content})})]})]}):e.productTileFlag&&l.jsx(Lt,{variant:e.productTileFlag.backgroundColor,position:"absolute",top:"-15px",left:"20px",textTransform:"none",modal:e.productTileFlag.modal,children:e.productTileFlag.text}),x(In(e.internetTechnology,n,r))]})}function ur(e){return e.category===Me.Promo||e.category===Me.Cashback}function $e({children:e,...n}){return l.jsx(Ln,{...n,children:e})}function fr({asset:e,color:n,...t}){return(e==null?void 0:e.contentType)==="image/svg+xml"&&n?l.jsx(we,{minW:"fit-content",minH:"fit-content",style:{maskImage:`url("${t.src}")`},backgroundColor:n,children:l.jsx(De,{...t,style:{opacity:0}})}):l.jsx(De,{...t})}const pr={height:"24px",minHeight:"24px","& .chakra-switch__track":{width:"34px",height:"20px",minHeight:"20px"},"& .chakra-switch__thumb":{height:"20px",width:"20px",top:"2px"}};function hr({usp:{content:e,icon:n,modal:t,upsellOption:i},isOptionSelected:r,toggleUpsellOption:s}){const{isOpen:o,onOpen:c,onClose:a}=ge(),{fontCopy:u}=le(),f={variant:"body3-medium",color:u};function d(){s(i)}return l.jsxs(A,{gap:8,alignItems:"center",justifyContent:"space-between",w:"full",children:[e&&l.jsxs(A,{gap:8,alignItems:"center",w:"full",children:[l.jsxs(A,{flexDirection:"column",flexShrink:0,alignItems:"center",children:[n&&l.jsx(De,{src:ht(n.url),alt:n.description||"",loading:"lazy",mb:"4px",maxH:"26px"}),l.jsx(en,{id:"upsellToggle",size:"md",isChecked:r,onChange:d,sx:pr})]}),l.jsx(ne,{content:e,textStyle:f})]}),t&&l.jsxs(l.Fragment,{children:[l.jsx(ee,{variant:"blank",minWidth:"1.25rem",minHeight:"1.25rem",width:"1.25rem",height:"1.25rem",onClick:c,"aria-label":"Mehr Informationen",qaLocator:`productOptionUpsell_infoModalOpen_${i.__id}`,children:l.jsx(be,{iconSize:"1.25rem",stroke:"fontCopy"})}),l.jsx(ue,{id:`productOptionUpsell_infoModalOpen_${i.__id}`,isOpen:o,onClose:a,hideCloseButton:t.hideCloseButton,children:l.jsx(ne,{content:t.content})})]})]})}function mr({upsell:e,isCashbackEligible:n,selectedOptions:t,toggleUpsellOption:i}){const r=z.useMemo(()=>On(e),[e]),s=z.useMemo(()=>_n(e),[e]),{darkMode:o}=le(),c=z.useMemo(()=>Bn(e),[e]);return l.jsxs(l.Fragment,{children:[r.length>0&&l.jsxs(l.Fragment,{children:[l.jsx(ve,{variant:"lightGrey",my:"1rem",...o&&{borderColor:"neutral.800"}}),l.jsx($e,{spacing:"1rem",children:r.map(a=>l.jsx(ut,{usp:a,isCashbackEligible:n},a.__id))})]}),s.length>0&&l.jsxs(l.Fragment,{children:[l.jsx(ve,{variant:"lightGrey",my:"1rem",...o&&{borderColor:"neutral.800"}}),l.jsx($e,{spacing:"1rem",children:s.map(a=>l.jsx(ut,{usp:a,isCashbackEligible:n},a.__id))})]}),c.length>0&&l.jsxs(l.Fragment,{children:[l.jsx(ve,{variant:"lightGrey",my:"1rem",...o&&{borderColor:"neutral.800"}}),l.jsx($e,{spacing:"1rem",children:c.map(a=>l.jsx(hr,{usp:a,isOptionSelected:t.some(u=>u.__id===a.upsellOption.__id),toggleUpsellOption:i},a.__id))})]})]})}function ut({usp:e,isCashbackEligible:n}){const{isOpen:t,onOpen:i,onClose:r}=ge(),s=ke(),{fontCopy:o,fontHeading:c}=le();if(e.category===Me.Cashback&&(s!=null&&s.isCashbackDisabled||!n))return null;const a=ur(e),u={variant:a?"textM":"body3-medium",color:a?c:o};return l.jsx(zn,{children:l.jsxs(A,{gap:8,alignItems:"center",justifyContent:"space-between",w:"full",children:[e.content&&l.jsxs(A,{gap:8,alignItems:"center",w:"full",children:[e.icon&&l.jsx(fr,{asset:e.icon,color:e.iconColor,width:"1.5rem",maxHeight:"1.5rem",src:ht(e.icon.url),alt:e.icon.description||"",loading:"lazy"}),l.jsx(ne,{content:e.content,textStyle:u})]}),e.modal&&l.jsxs(l.Fragment,{children:[l.jsx(ee,{variant:"blank",minWidth:"1.25rem",minHeight:"1.25rem",width:"1.25rem",height:"1.25rem",onClick:i,"aria-label":"Mehr Informationen",qaLocator:`usp_infoModalOpen_${e.__id}`,children:l.jsx(be,{iconSize:"1.25rem",stroke:o})}),l.jsx(ue,{id:`usp_infoModalOpen_${e.__id}`,isOpen:t,onClose:r,hideCloseButton:e.modal.hideCloseButton,children:l.jsx(ne,{content:e.modal.content})})]})]})})}const gr={height:"24px",minHeight:"24px","& .chakra-switch__track":{width:"34px",height:"20px",minHeight:"20px"},"& .chakra-switch__thumb":{height:"20px",width:"20px",top:"2px"}};function xr({upsell:e}){var m;const{isOpen:n,onOpen:t,onClose:i}=ge(),{isUpsellChecked:r,onUpsellToggle:s,upsellProduct:o,sourceProduct:c}=e,{fontCopy:a,darkMode:u}=le(),f={variant:"body3-medium",color:a}
1,d=at(c,o),x=b=>{s&&s(b.target.checked)};return d?l.jsxs(l.Fragment,{children:[l.jsx(ve,{variant:"lightGrey",my:"1rem",...u&&{borderColor:"neutral.800"}}),l.jsxs(A,{gap:8,alignItems:"center",justifyContent:"space-between",w:"full",children:[l.jsxs(A,{gap:8,alignItems:"center",w:"full",children:[l.jsxs(A,{flexDirection:"column",flexShrink:0,alignItems:"center",children:[d.icon&&l.jsx(De,{src:ht(d.icon.url),alt:d.icon.description||"",loading:"lazy",mb:"4px",maxH:"26px"}),l.jsx(en,{id:"upsellToggle",size:"md",isChecked:r,onChange:x,sx:gr})]}),l.jsx(ne,{content:d.content,textStyle:f})]}),((m=d.modal)==null?void 0:m.content)&&l.jsxs(l.Fragment,{children:[l.jsx(ee,{variant:"blank",minWidth:"1.25rem",minHeight:"1.25rem",width:"1.25rem",height:"1.25rem",onClick:t,"aria-label":"Mehr Informationen",qaLocator:`upsellProduct_infoModalOpen_${d.__id}`,children:l.jsx(be,{iconSize:"1.25rem",stroke:"fontCopy"})}),l.jsx(ue,{id:`upsellProduct_infoModalOpen_${d.__id}`,isOpen:n,onClose:i,hideCloseButton:d.modal.hideCloseButton,children:l.jsx(ne,{content:d.modal.content})})]})]})]}):null}function vr({product:e,isAfterVp:n,upsell:t,selectedOptions:i,toggleUpsellOption:r,productTilesSimplificationAbTestVariant:s}){const{showUpsellToggle:o}=t,{darkMode:c}=le(),a=s===O.C;return l.jsxs(ui,{p:0,pl:a?{base:"14px",xl:"17px"}:"1.25rem",pr:a?"10px":"1.25rem",mx:a?"10px":void 0,borderBottomLeftRadius:a?"12px":void 0,borderBottomRightRadius:a?{base:"0",xl:"8px"}:void 0,pt:a?{base:"14px",xl:"33px"}:s===O.B?"1rem":"2rem",pb:a?{base:"10px",xl:"20px"}:void 0,backgroundColor:a?c?"sectionBackgroundBlack":"neutral.300":void 0,children:[l.jsx(br,{product:e,isAfterVp:n,selectedOptions:i,productTilesSimplificationAbTestVariant:s}),s!==O.B&&!a&&l.jsxs(l.Fragment,{children:[l.jsx(mr,{upsell:t,isCashbackEligible:e.isCashbackEligible,toggleUpsellOption:r,selectedOptions:i}),o&&l.jsx(xr,{upsell:t})]})]})}function br({product:e,isAfterVp:n,selectedOptions:t,productTilesSimplificationAbTestVariant:i}){var C,S;const{isOpen:r,onOpen:s,onClose:o}=ge(),c=ke(),{fontHeading:a,fontCopy:u,darkMode:f}=le(),d=i===O.C,x=!n&&!!((C=e.groups)!=null&&C.includes(ft.HideMarketingPrice)),m=Zt(e),b=!(c!=null&&c.isCashbackDisabled)&&e.isCashbackEligible?(S=e.usps)==null?void 0:S.find(h=>h.category===Me.Cashback):void 0;return l.jsxs(A,{width:"full",flexDirection:"column",alignItems:"flex-start",children:[i===O.B&&e.modal&&e.modal.length>0&&l.jsx(A,{width:"full",justifySelf:"flex-end",justifyContent:"end",children:e.modal.map(h=>h.content&&l.jsxs(z.Fragment,{children:[l.jsx(ee,{variant:"blank",alignSelf:"flex-end",minWidth:"1.25rem",minHeight:"1.25rem",width:"1.25rem",height:"1.25rem",onClick:s,"aria-label":"Mehr Informationen",qaLocator:`${Be.ConnectionFee}_infoModalOpen_${e.__id}`,children:l.jsx(be,{iconSize:"1.25rem",stroke:u})}),l.jsx(ue,{id:`${Be.ConnectionFee}_infoModalOpen_${e.__id}`,isOpen:r,onClose:o,hideCloseButton:h.hideCloseButton,children:l.jsx(ne,{content:h.content})})]},h.__id))}),x?l.jsxs(we,{position:"relative",width:"full",children:[l.jsx(we,{visibility:"hidden","aria-hidden":!0,children:l.jsx(Ot,{product:e,selectedOptions:t,isAfterVp:n,productTilesSimplificationAbTestVariant:i})}),l.jsx(F,{position:"absolute",top:0,left:0,variant:"textM",color:f?a:"red.600",mb:"5px",children:"Preisangabe nach Prüfung der Verfügbarkeit"})]}):l.jsx(Ot,{product:e,selectedOptions:t,isAfterVp:n,productTilesSimplificationAbTestVariant:i}),i===O.B&&l.jsx(ve,{variant:"lightGrey",my:"1rem",...f&&{borderColor:"neutral.800"}}),l.jsxs(A,{justifyContent:!d&&!e.minimumContractDuration?"flex-end":"space-between",alignItems:"flex-end",w:"full",gap:8,mt:i===O.B?0:d?4:8,children:[(!d&&e.minimumContractDuration!=null||m)&&l.jsxs(we,{width:"full",textAlign:i===O.B?"center":"left",children:[!d&&e.minimumContractDuration!=null&&l.jsx(F,{variant:"body3-medium",color:u,children:`Mindestvertragslaufzeit ${e.minimumContractDuration} ${e.minimumContractDuration>1?"Monate":"Monat"}`}),m&&l.jsx(F,{variant:"body3-medium",color:u,children:`+ einmalig Anschluss: ${X(m.price)}`})]}),i!==O.B&&!d&&e.modal&&e.modal.length>0&&l.jsx(A,{justifySelf:"flex-end",children:e.modal.map(h=>l.jsxs(z.Fragment,{children:[l.jsx(ee,{variant:"blank",alignSelf:"flex-end",minWidth:"1.25rem",minHeight:"1.25rem",width:"1.25rem",height:"1.25rem",onClick:s,"aria-label":"Mehr Informationen",qaLocator:`${Be.ConnectionFee}_infoModalOpen_${e.__id}`,children:l.jsx(be,{iconSize:"1.25rem",stroke:u})}),l.jsx(ue,{id:`${Be.ConnectionFee}_infoModalOpen_${e.__id}`,isOpen:r,onClose:o,hideCloseButton:h.hideCloseButton,children:l.jsx(ne,{content:h.content})})]},h.__id))})]}),i===O.B&&b&&l.jsxs(l.Fragment,{children:[l.jsx(ve,{variant:"lightGrey",my:"1rem",...f&&{borderColor:"neutral.800"}}),l.jsx(A,{width:"full",alignItems:"center",justifyContent:"center",children:l.jsx($e,{spacing:"1rem",children:l.jsx(ut,{usp:b,isCashbackEligible:e.isCashbackEligible},b.__id)})}),l.jsx(ve,{variant:"lightGrey",mt:"1rem",...f&&{borderColor:"neutral.800"}})]})]})}function Rt({iconSize:e=ae,stroke:n=We,...t}){return l.jsxs(te,{...t,width:e,height:e,stroke:n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l.jsx("path",{d:"M8 10L12 14M16 10L12 14M12 14V4",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),l.jsx("path",{d:"M5 13V18C5 19.1046 5.89543 20 7 20H17C18.1046 20 19 19.1046 19 18V13",strokeWidth:"1.5",strokeLinecap:"round"})]})}function Nt({iconSize:e=ae,stroke:n=_e,...t}){return l.jsxs(te,{...t,width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:n,xmlns:"http://www.w3.org/2000/svg",children:[l.jsx("circle",{cx:"12",cy:"12",r:"8",strokeWidth:"1.5"}),l.jsx("path",{d:"M9 12H15M12 9V15",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function it({iconSize:e=ae,stroke:n=_e,...t}){return l.jsxs(te,{...t,width:e,height:e,stroke:n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l.jsx("rect",{x:"4",y:"7",width:"16",height:"13",rx:"2",strokeWidth:"1.5"}),l.jsx("path",{d:"M4 11H20",strokeWidth:"1.5"}),l.jsx("path",{d:"M9 4V7",strokeWidth:"1.5",strokeLinecap:"round"}),l.jsx("path",{d:"M15 4V7",strokeWidth:"1.5",strokeLinecap:"round"})]})}function Cr({iconSize:e=ae,stroke:n=We,...t}){return l.jsxs(te,{...t,width:e,height:e,stroke:n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l.jsx("path",{d:"M5 12V18C5 19.1046 5.89543 20 7 20H17C18.1046 20 19 19.1046 19 18V12",strokeWidth:"1.5",strokeLinecap:"round"}),l.jsx("path",{d:"M8 8L12 4M16 8L12 4M12 4V14",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function st({iconSize:e=ae,stroke:n=_e,...t}){return l.jsxs(te,{...t,width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:n,xmlns:"http://www.w3.org/2000/svg",children:[l.jsx("path",{d:"M21.0399 14.2984L14.3081 21.0303C14.1337 21.2049 13.9266 21.3434 13.6986 21.4379C13.4706 21.5324 13.2263 21.581 12.9795 21.581C12.7328 21.581 12.4884 21.5324 12.2604 21.4379C12.0325 21.3434 11.8254 21.2049 11.651 21.0303L3.58594 12.9746V3.58569H12.9748L21.0399 11.6508C21.3896 12.0026 21.5859 12.4785 21.5859 12.9746C21.5859 13.4707 21.3896 13.9466 21.0399 14.2984Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),l.jsx("path",{d:"M8.2793 8.28003H8.2893",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}function Sr({iconSize:e=ae,stroke:n=_e,...t}){return l.jsx(te,{...t,width:e,height:e,stroke:n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:l.jsx("path",{d:"M13.585 6.57857C13.4115 6.75562 13.3143 6.99365 13.3143 7.24156C13.3143 7.48947 13.4115 7.7275 13.585 7.90454L15.1004 9.41994C15.2774 9.59347 15.5155 9.69068 15.7634 9.69068C16.0113 9.69068 16.2493 9.59347 16.4264 9.41994L19.997 5.84929C20.4733 6.90172 20.6175 8.0743 20.4104 9.21076C20.2033 10.3472 19.6548 11.3936 18.838 12.2104C18.0212 13.0272 16.9748 13.5757 15.8383 13.7828C14.7019 13.9899 13.5293 13.8457 12.4769 13.3694L5.93227 19.914C5.55548 20.2908 5.04445 20.5025 4.51159 20.5025C3.97873 20.5025 3.4677 20.2908 3.09091 19.914C2.71412 19.5372 2.50244 19.0262 2.50244 18.4934C2.50244 17.9605 2.71412 17.4495 3.09091 17.0727L9.63551 10.5281C9.15927 9.47564 9.01507 8.30306 9.22213 7.1666C9.4292 6.03014 9.9777 4.98377 10.7945 4.16694C11.6114 3.35011 12.6577 2.80161 13.7942 2.59455C14.9306 2.38748 16.1032 2.53168 17.1557 3.00793L13.5945 6.5691L13.585 6.57857Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}function yr({iconSize:e=ae,stroke:n=_e,...t}){return l.jsxs(te,{...t,width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:n,xmlns:"http://www.w3.org/2000/svg",children:[l.jsx("path",{d:"M19 5L5 19",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),l.jsx("path",{d:"M7.5 10C8.88071 10 10 8.88071 10 7.5C10 6.11929 8.88071 5 7.5 5C6.11929 5 5 6.11929 5 7.5C5 8.88071 6.11929 10 7.5 10Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),l.jsx("path",{d:"M16.5 19C17.8807 19 19 17.8807 19 16.5C19 15.1193 17.8807 14 16.5 14C15.1193 14 14 15.1193 14 16.5C14 17.8807 15.1193 19 16.5 19Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function Tr({iconSize:e=ae,stroke:n="green.600",...t}){return l.jsxs(te,{width:e,height:e,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:n,...t,children:[l.jsx("path",{d:"M16.0918 3L19.3645 6.27273L16.0918 9.54545",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),l.jsx("path",{d:"M4.63672 11.1818V9.54543C4.63672 8.67745 4.98152 7.84502 5.59528 7.23126C6.20903 6.61751 7.04146 6.27271 7.90945 6.27271H19.364",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),l.jsx("path",{d:"M7.90945 21L4.63672 17.7273L7.90945 14.4546",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),l.jsx("path",{d:"M19.364 12.8181V14.4545C19.364 15.3225 19.0192 16.1549 18.4054 16.7686C17.7917 17.3824 16.9592 17.7272 16.0913 17.7272H4.63672",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}const wr={[Z.DOCSIS]:["Leistungsstarkes Kabel-Internet – nahezu auf Glasfaser-Niveau.","Stabil, schnell, zuverlässig. Kabel-Internet macht’s möglich.","Perfekt für morgen – Bereit für Homeoffice, Streaming und smarte Technologien."],[Z.GPON]:["Glasfaser – Stabil und zukunftssicher mit Gigabit-Geschwindigkeit.","Maximale Stabilität – Keine Schwankungen, auch bei hoher Auslastung.","Perfekt für morgen – Bereit für Homeoffice, Streaming und smarte Technologien."],[Z.DSL]:["DSL – seit Jahren etabliert und gut erprobt.","Stabile Grundversorgung – Zuverlässiges Surfen, Streamen und Arbeiten.","Einfache Installation – Schneller Anschluss ohne große Bauarbeiten oder Umrüstung."]};function Pr({isOpen:e,onClose:n,product:t,productTilesSimplificationAbTestVariant:i}
1){const r=Zt(t),s=Et(t.minimumContractDuration),{addressDetails:o,availabilityResponse:c}=Ue(),a=tn(t.id,c?o==null?void 0:o.tenantId:void 0);z.useEffect(()=>{e&&(async()=>{const b=await fetch(a,{method:"HEAD"});b.ok||Dn(Fn.MissingPib,{statusCode:b.status,message:`Missing PIB for product ID: ${t.id}`,pibUrl:a,siteId:c==null?void 0:c.siteId})})()},[e,t,o,c,a]);const u=t.price.strikePrice?t.price.strikePrice-t.price.price:void 0,f=t.price.strikePrice?Math.round((t.price.strikePrice-t.price.price)/t.price.strikePrice*100):void 0,x=!!c&&Math.round(t.price.price*100)/100===0?t.price.endPrice??t.price.price:t.price.price;return l.jsx(ue,{id:`pibModalOpen_${t.id}`,isOpen:e,onClose:n,children:l.jsxs(Q,{spacing:i===O.B||i===O.C?"1.25rem":"2rem",children:[l.jsxs(Q,{spacing:i===O.B||i===O.C?"0.5rem":"1.25rem",children:[(i===O.B||i===O.C)&&l.jsx(F,{children:"Internet für Zuhause"}),l.jsx(K,{as:"h3",variant:"h3",children:i===O.B||i===O.C?`${t.download} Mbit/s`:"Produktinformationsblatt."}),i!==O.B&&i!==O.C&&l.jsx(F,{children:"Finden Sie hier alles Wichtige in Kürze."})]}),l.jsxs(Q,{spacing:"1.5rem",children:[l.jsxs(Q,{spacing:"0.75rem",children:[i!==O.B&&i!==O.C&&l.jsx(K,{as:"h5",variant:"h5",fontSize:"lg",children:"Dokument"}),l.jsx(Ee,{href:a,target:"_blank",variant:"textLink",display:"inline",color:"blue.700",fontSize:"lg",qaLocator:"pibModal_downloadLink",children:l.jsxs(A,{alignItems:"center",gap:2,children:[l.jsx(Rt,{iconSize:6}),l.jsxs(A,{alignItems:"center",children:["Download Produktinformationsblatt (PDF)",l.jsx(pt,{direction:"right",iconSize:"1.275rem"})]})]})})]}),(i===O.B||i===O.C)&&l.jsxs(Q,{spacing:"0.75rem",children:[l.jsx(K,{as:"h5",variant:"h5",fontSize:"lg",children:"Aktionspreis"}),l.jsxs(A,{gap:2,children:[l.jsx(A,{backgroundColor:"red.500",borderRadius:"full",p:"4px",width:"32px",height:"32px",alignItems:"center",justifyContent:"center",shrink:0,children:l.jsx(yr,{iconSize:5,stroke:"white"})}),u&&f&&l.jsxs(F,{mt:"0.25rem",children:[l.jsx("strong",{children:"Rabatt:"})," ",Ye(t.price)?l.jsxs(l.Fragment,{children:[X(u)," ","monatlich auf den Preis (",X(t.price.price)," ","statt"," ",X(t.price.strikePrice),"), Ersparnis rund"," ",f,"%. ¹"]}):l.jsxs(l.Fragment,{children:["-",X(u)," ","monatlich in den ersten"," ",t.price.duration," Monaten auf den Preis (",X(x)," statt"," ",X(t.price.strikePrice),"), ab dem"," ",(t.price.duration??0)+1,". Monat"," ",X(t.price.strikePrice)]})]})]}),u&&Ye(t.price)&&l.jsxs(A,{gap:2,children:[l.jsx(A,{backgroundColor:"red.500",borderRadius:"full",p:"4px",width:"32px",height:"32px",alignItems:"center",justifyContent:"center",shrink:0,children:l.jsx(st,{iconSize:5,stroke:"white"})}),l.jsxs(F,{mt:"0.25rem",children:[l.jsx("strong",{children:"Dauerhaft günstig:"})," ","Auch ab dem"," ",t.minimumContractDuration+1,". Monat nur"," ",X(t.price.price)," ","mtl. ¹"]})]})]}),l.jsxs(Q,{spacing:"0.75rem",children:[l.jsx(K,{as:"h5",variant:"h5",fontSize:"lg",children:"Bandbreite"}),l.jsxs(A,{gap:2,children:[l.jsx(Rt,{iconSize:6,stroke:"green.700"}),l.jsxs(F,{children:["Download: max. ",t.download," Mbit/s"]})]}),l.jsxs(A,{gap:2,children:[l.jsx(Cr,{iconSize:6,stroke:"green.700"}),l.jsxs(F,{children:["Upload: max. ",t.upload," Mbit/s"]})]})]}),(t.internetTechnology===Z.DOCSIS||t.internetTechnology===Z.GPON||t.internetTechnology===Z.DSL)&&l.jsxs(Q,{spacing:"0.75rem",children:[l.jsx(K,{as:"h5",variant:"h5",fontSize:"lg",children:"Technologie"}),wr[t.internetTechnology].map((m,b)=>l.jsxs(A,{gap:2,children:[l.jsx(mi,{iconSize:6,stroke:"green.700"}),(i===O.B||i===O.C)&&t.internetTechnology===Z.DOCSIS&&b===1?l.jsx(F,{children:"Hohe Stabilität – Keine Schwankungen, auch bei hoher Auslastung."}):l.jsx(F,{children:m})]},m))]}),l.jsxs(Q,{spacing:"0.75rem",children:[l.jsx(K,{as:"h5",variant:"h5",fontSize:"lg",children:"Laufzeiten"}),l.jsxs(A,{gap:2,children:[l.jsx(it,{iconSize:6,stroke:"green.700"}),l.jsxs(F,{children:["Mindestvertragslaufzeit:"," ",s]})]}),l.jsxs(A,{gap:2,children:[l.jsx(Nt,{iconSize:6,stroke:"green.700"}),l.jsxs(F,{children:["Verlängerungslaufzeit:"," ",Et(pi)]})]}),l.jsxs(A,{gap:2,children:[l.jsx(An,{iconSize:6,stroke:"green.700"}),l.jsxs(F,{children:["Kündigungsfrist:"," ",$n(hi)]})]})]}),(i===O.B||i===O.C)&&l.jsxs(Q,{spacing:"0.75rem",children:[l.jsx(K,{as:"h5",variant:"h5",fontSize:"lg",children:"Anschluss"}),l.jsxs(A,{gap:2,children:[l.jsx(it,{iconSize:6,stroke:"green.700"}),l.jsx(F,{children:"Anschlussdatum: frei wählbar innerhalb der nächsten 90 Tage."})]}),r&&l.jsxs(A,{gap:2,children:[l.jsx(Nt,{iconSize:6,stroke:"green.700"}),l.jsxs(F,{children:["Anschlusspreis: einmalig"," ",X(r.price)]})]})]}),(i===O.B||i===O.C)&&l.jsxs(Q,{spacing:"0.75rem",children:[l.jsx(K,{as:"h5",variant:"h5",fontSize:"lg",children:"Unsere Services für Sie"}),l.jsxs(A,{gap:2,children:[l.jsx(Tr,{iconSize:6,stroke:"green.700"}),l.jsxs(F,{children:[l.jsx("strong",{children:"Wechsel Service:"})," PŸUR übernimmt beim Anbieterwechsel kostenlos die Kündigung Ihres alten Vertrags und ermöglicht eine einfache Rufnummermitnahme über App oder Kundenportal."]})]}),l.jsxs(A,{gap:2,children:[l.jsx(Ci,{iconSize:6,stroke:"green.700"}),l.jsxs(F,{children:[l.jsx("strong",{children:"Premium Support:"}
1)," PŸUR bietet ausgezeichneten Support, optionalen Einrichtungsservice und ein Kundenportal mit 24/7-Selfservice für Verträge, Hilfe und Tarifwechsel."]})]})]}),(i===O.B||i===O.C)&&Ye(t.price)&&l.jsxs(Q,{spacing:"0.75rem",children:[l.jsx(K,{as:"h5",variant:"h5",fontSize:"lg",children:"Weitere Informationen"}),l.jsxs(F,{children:["1. Rabatt bleibt gleich auch nach den 24 Monaten Mindestvertragslaufzeit. Keine Preisanpassung während der Mindestvertragslaufzeit. Nach Ablauf der Mindestvertragslaufzeit Änderungen gemäß Ziffer 5.10 der AGB im gesetzlich zulässigen Rahmen möglich. Weitere Informationen finden Sie in unseren AGB unter"," ",l.jsx(Ee,{href:"https://www.pyur.com/agb",target:"_blank",variant:"textLinkBaseUnderline",qaLocator:"pibModal_agbLink",children:"pyur.com/agb"}),"."]})]}),i!==O.B&&i!==O.C&&l.jsxs(Q,{spacing:"0.75rem",children:[l.jsx(K,{as:"h5",variant:"h5",fontSize:"lg",children:"Kosten"}),t.price.duration&&t.price.duration>0?l.jsxs(A,{gap:2,children:[l.jsx(st,{iconSize:6,stroke:"green.700"}),l.jsxs(F,{children:["Rabatt: Die ersten"," ",t.price.duration," Monate nur"," ",t.price.freeTrial?X(0):X(x)," ",t.price.strikePrice&&t.price.strikePrice!==x&&`(ab dem ${t.price.duration+1}. Monat ${X(t.price.strikePrice)})`]})]}):l.jsxs(l.Fragment,{children:[l.jsxs(A,{gap:2,children:[l.jsx(it,{iconSize:6,stroke:"green.700"}),l.jsxs(F,{children:["Monatlich: Nur"," ",X(t.price.price)," ",t.price.strikePrice&&t.price.strikePrice!==t.price.price&&`(statt ${X(t.price.strikePrice)})`]})]}),l.jsxs(A,{gap:2,children:[l.jsx(st,{iconSize:6,stroke:"green.700"}),l.jsxs(F,{children:["Rabatt: bleibt gleich auch nach den ",s," ","Mindestvertragslaufzeit."]})]})]}),r&&l.jsxs(A,{gap:2,children:[l.jsx(Sr,{iconSize:6,stroke:"green.700"}),l.jsxs(F,{children:["Anschlusspreis: einmalig"," ",X(r.price)]})]})]})]})]})})}function Mr({product:e,productTilesSimplificationAbTestVariant:n,children:t}){const{isOpen:i,onOpen:r,onClose:s}=ge(),{fontCopy:o}=le(),c=n===O.C,a=e.category!==H.TVOnly&&l.jsxs(l.Fragment,{children:[l.jsxs(ee,{onClick:r,variant:"textLink",ml:c?"10.5px":0,mt:c?0:"1rem",gap:c?"0.375rem":0,px:0,py:0,height:"auto",color:c?"blue.700":o,qaLocator:"productTileFooter_pibButton",children:[c&&l.jsx(be,{iconSize:"1.25rem",stroke:"blue.700"}),n===O.B||c?"Produktinformationen":"Produktinformationsblatt",!c&&l.jsx(pt,{direction:"right",iconSize:"1.275rem",stroke:o})]}),l.jsx(Pr,{isOpen:i,onClose:s,product:e,productTilesSimplificationAbTestVariant:n})]});return l.jsx(Mi,{flexDirection:c?"row":"column",alignItems:"center",justifyContent:c?"space-between":"center",w:"full",pl:c?"14px":"1.25rem",pr:c?"8px":"1.25rem",pt:c?"8px":n===O.B?"1.25rem":"2rem",pb:c?"8px":"2rem",children:c?l.jsxs(l.Fragment,{children:[a,t]}):l.jsxs(l.Fragment,{children:[t,a]})})}function rt({iconSize:e=ae,stroke:n=We,...t}){return l.jsx(te,{width:e,height:e,stroke:n,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:l.jsx("path",{d:"M13 7L18 12M13 17L18 12M18 12H6",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}function Wt({product:e,preVpProducts:n,isAvailable:t,siteId:i,theme:r,onClick:s,upsell:o,selectedOptions:c,toggleUpsellOption:a,enableBandwidthUpsell:u,productTilesSimplificationAbTestVariant:f}){var E;const d=Si(v=>v.checked),x=ke(),{isOpen:m,onOpen:b,onClose:C}=ge(),{availabilityResponse:S}=Ue(),h=S==null?void 0:S.availableProducts.find(v=>v.id===e.id);h&&(e.price={...h.price,__id:"",__typename:yi.Price,__publishedAt:null,strikePrice:h.price.strikePrice??void 0,endPrice:h.price.endPrice??void 0,duration:h.price.duration??void 0});const{showBandwidthUpsell:p}=Zn({vpType:lt.ProductSpecific,siteId:i,selectedProduct:e,preVpProducts:n,availableProducts:S==null?void 0:S.availableProducts}),g=f===O.C,y=g?{borderRadius:"full",minWidth:"3rem",minHeight:"3rem",width:"3rem",height:"3rem",padding:0,boxShadow:"0 0 0 8px white",mt:{base:"-16px",xl:"0"}}:{},T=v=>v===Xe.None?null:v===Xe.Hotline?l.jsx(Ee,{href:`tel:${kt(e)}`,variant:"buttonLinkBlue",size:"medium",qaLocator:`productTile_hotlineLink_${e.id}`,children:kt(e)}):v===Xe.BuyNow&&i&&h?S&&n&&u&&p?l.jsxs(l.Fragment,{children:[l.jsx(ee,{variant:"blue",onClick:b,"aria-label":g?"Jetzt bestellen":void 0,qaLocator:`productTile_orderButton_${e.id}`,...y,children:g?l.jsx(rt,{direction:"right",iconSize:"1.5rem",stroke:"fontWhite"}):"Jetzt bestellen"}),l.jsx(ue,{id:`bandwidthUpsellModalOpen_${h.id}`,isOpen:m,onClose:C,hideCloseButton:!0,children:l.jsx(Jn,{product:h,preVpProducts:n,availableProducts:S.availableProducts,siteId:i})})]}):l.jsx(Ee,{href:gi({product:h,siteId:i,cashbackCheckboxChecked:!e.isCashbackEligible||x!=null&&x.isCashbackDisabled?!1:d,selectedOptionIds:c.map(j=>j.__id)}),variant:"buttonLinkBlue",size:"medium","aria-label":g?"Jetzt bestellen":void 0,qaLocator:`productTile_orderLink_${e.id}`,...y,children:g?l.jsx(rt,{direction:"right",iconSize:"1.5rem",stroke:"fontWhite"}):"Jetzt bestellen"}):l.jsx(ee,{variant:"blue",onClick:()=>s(e),"aria-label":g?"Verfügbarkeit prüfen":void 0,qaLocator:`productTile_availabilityButton_${e.id}`,...y,children:g?l.jsx(rt,{direction:"right",iconSize:"1.5rem",stroke:"fontWhite"}):"Verfügbarkeit prüfen"}),k=!(x!=null&&x.isCashbackDisabled)&&e.isCashbackEligible?(E=e.usps)==null?void 0:E.find(v=>v.category===Me.Cashback):void 0;return l.jsxs(fi,{borderRadius:g?"32px":"20px",borderTopLeftRadius:g?
1k?0:"32px":"20px",border:"none",p:0,mt:g?k?"30px":"4px":f===O.B?"0px":"18px",mb:0,w:{base:"100%",xl:"288px"},flexShrink:0,boxShadow:g?"0px 8px 16px 0px rgba(8, 16, 40, 0.1), 0px 0px 1px 0px rgba(14, 27, 65, 0.1)":"S",...Gn(`product_tile_${e.id}`),children:[l.jsx(cr,{theme:r,product:e,productTilesSimplificationAbTestVariant:f}),l.jsx(vr,{product:e,isAfterVp:h!=null,upsell:o,selectedOptions:c,toggleUpsellOption:a,productTilesSimplificationAbTestVariant:f}),l.jsx(Mr,{product:e,productTilesSimplificationAbTestVariant:f,children:T(Hn({isAvailable:t,siteId:i,product:e}))})]})}function Er({items:e,activeIndex:n,onActiveIndexChange:t,display:i,hasProductTileFlag:r}){const s=e.length>0&&n>e.length-1?e.length-1:n;return l.jsx(A,{gap:10,justifyContent:"center",alignItems:"center",marginBottom:r?"1.5rem":"2rem",display:i,children:e.map((o,c)=>l.jsx(kr,{...o,index:c,onClick:()=>t(c),active:c===s},o.id))})}function kr({id:e,label:n,sublabel:t,index:i,onClick:r,active:s}){const{fontHeading:o,neutralBackgroundColorCardBox:c}=le();return l.jsx(ee,{variant:"blank",borderRadius:0,padding:0,minWidth:0,height:"auto",onClick:()=>r(i),qaLocator:`tileTab_${e}_button`,children:l.jsxs(A,{direction:"column",alignItems:"center",justifyContent:"center",boxShadow:"S",backgroundColor:c,w:"4.875rem",h:"4.75rem",position:"relative",borderRadius:4,children:[l.jsx(F,{variant:{base:"textNavigation"},color:o,fontSize:"1.25rem",children:n}),l.jsx(F,{variant:{base:"body4-medium"},color:o,children:t}),s&&l.jsx(we,{position:"absolute",w:"100%",h:"0.5rem",backgroundColor:"blue.700",bottom:0,borderBottomRadius:4})]})},e)}function jr(e){let n=X(e.price.price);const t=Qn(e.price.price);return t&&t.minor==="00"&&(n=`${t.major} €`),{id:e.id,label:n,sublabel:`${e.download} Mbit/s`}}function Ir(e){return{id:e.id,label:String(e.download),sublabel:"Mbit/s"}}function Lr(e){const n=e.products.map(e.type===Kt.PRICE?jr:Ir),t=e.products.some(i=>i.productTileFlag);return l.jsx(Er,{...e,items:n,hasProductTileFlag:t})}function Or({id:e,vpType:n,product:t,preVpProducts:i,productList:r,allTilesProducts:s,upsellOptions:o,isOpen:c,onClose:a,enableBandwidthUpsell:u}){const f=oi();z.useEffect(()=>{f.state==="idle"&&a()},[f.state]);const x=di().pathname;z.useEffect(()=>{a()},[x]);const[m,b]=z.useState();function C(){b(void 0)}return l.jsx(ue,{id:e,isOpen:c,onClose:a,variant:Vn.Overlay,hideCloseButton:!0,allowContentOverflow:!0,alternativeContent:{onBack:C,content:m},children:l.jsx(ei,{vpType:n,product:t,preVpProducts:i,productList:r,allTilesProducts:s,onClose:a,containerColor:ti.Transparent,headline:"Verfügbare Tarife an Ihrer Adresse.",mtcaptchaId:"mtcaptcha-2",mtcaptchaHeadline:"Verfügbare Tarife an Ihrer Adresse.",setProductModalContent:b,upsellOptions:o,enableBandwidthUpsell:u})})}function _r({tileCategory:e,tileTechnology:n,availabilityResponse:t}){const{setAddress:i,setAddressDetails:r,setAvailabilityResponse:s}=Ue(),{fontCopy:o,fontHeading:c}=le(),{specialTariffPage:a}=ke(),u=ni(a);function f(){i(void 0),r(void 0),s(void 0)}const d=t.preferredTechnology,x=xi(t.availableProducts,a),m=!d||vi(x),b=x.some(g=>g.category===H.TriplePlay),C=`bis zu ${Rn(x)} Mbit/s`;let S;(d==null?void 0:d.technology)===Z.GPON?S="Glasfaser":(d==null?void 0:d.technology)===Z.DSL?S="DSL":S="Kabel";const h=!m&&(d.hotlineExclusiveInternet||d.hotlineExclusiveTv);let p;return!n||!e?p={headline:"Leider ist ein technischer Fehler aufgetreten.",text:"Bitte versuchen Sie es später noc
1h einmal. Alternativ können Sie Ihre Bestellung auch kostenlos telefonisch aufgeben."}:m||h?p=Br(d,h):u?p={headline:"Bei Ihnen sind andere Tarife verfügbar.",text:"Aufgrund der bei Ihnen verfügbaren Technologie können wir leider keinen Sondertarif anbieten. Nutzen Sie unser Standard-Angebot.",linkButton:{cta:"Jetzt entdecken",url:he({category:e,internetTechnology:d.technology})}}:bi(x)?p={headline:"An Ihrer Adresse ist ausschließlich Kabelfernsehen verfügbar.",text:"Internet ist an Ihrer Adresse leider nicht verfügbar. Nutzen Sie dennoch die Chance, Kabelfernsehen von PŸUR zu empfangen.",linkButton:{cta:"Zu den Fernseh-Tarifen",url:he({category:H.TVOnly,internetTechnology:Z.NonIP})}}:[H.InternetAndPhone,H.TriplePlay].includes(e)&&!b?p={headline:"Bei Ihnen sind noch keine Kombi-Tarife verfügbar.",linkButton:{cta:"Verfügbare Tarife anzeigen",url:he({category:H.InternetOnly,internetTechnology:d.technology})}}:n===Z.GPON?p={headline:"Bei Ihnen ist noch kein Glasfaser-Internet verfügbar.",text:`Alles kein Problem. Wir haben ${S}-Internet ${C} an Ihrer Adresse verfügbar. Buchen Sie einfach einen anderen leistungsstarken Tarif.`,linkButton:{cta:"Verfügbare Tarife anzeigen",url:he({category:e,internetTechnology:d.technology})}}:[H.InternetAndPhone,H.TriplePlay].includes(e)&&n===(d==null?void 0:d.technology)?p={headline:`Glückwunsch! Bei Ihnen ist ${S}-Internet verfügbar.`,text:`Wir haben ${S}-Internet ${C} an Ihrer Adresse verfügbar. Buchen Sie einfach einen Tarif über unsere ${S}-Tarifseite.`,linkButton:{cta:"Zu den Kombi-Tarifen",url:he({category:H.TriplePlay,internetTechnology:d.technology})}}:p={headline:`Glückwunsch! Bei Ihnen ist ${S}-Internet verfügbar.`,text:`Wir haben ${S}-Internet ${C} an Ihrer Adresse verfügbar. Buchen Sie einfach einen Tarif über unsere ${S}-Tarifseite.`,linkButton:{cta:`Zu den ${S}-Tarifen`,url:he({category:H.InternetOnly,internetTechnology:d.technology})}},l.jsxs(A,{gap:40,flexDir:"column",justifyContent:"center",alignItems:"center",textAlign:"center",px:{base:"1.25rem",lg:"19rem"},children:[l.jsx(ii,{onAddressChange:f}),l.jsxs(A,{gap:24,flexDir:"column",justifyContent:"center",alignItems:"center",textAlign:"center",children:[l.jsx(K,{variant:{base:"subtitle-1",lg:"h2"},color:c,children:p.headline}),(d==null?void 0:d.presales)&&l.jsx(si,{presales:d.presales}),(d==null?void 0:d.priceGroupInfo)&&l.jsx(ri,{priceGroupInfo:d.priceGroupInfo}),p.text&&l.jsx(F,{variant:"body2-medium",color:o,children:p.text})]}),l.jsxs(A,{gap:8,flexDir:{base:"column",lg:"row"},alignItems:"center",justifyContent:"center",children:[p.linkButton&&l.jsx(Ee,{href:p.linkButton.url,qaLocator:`productTileFallback_${p.linkButton.url.replace(/\//g,"_").replace(/^_/,"")}_link`,variant:"blue",children:p.linkButton.cta}),p.hotlineButton&&l.jsx(Ee,{href:p.hotlineButton.url,qaLocator:`productTileFallback_${p.hotlineButton.url.replace(/\//g,"_").replace(/^_/,"")}_link`,variant:"blue",children:p.hotlineButton.cta}),!p.linkButton&&!p.hotlineButton&&l.jsx(ee,{variant:"blue",size:"large",onClick:f,qaLocator:"productTileFallback_retryButton",children:"Nochmal versuchen"})]})]})}function Br(e,n){let t;return(e==null?void 0:e.technology)===Z.GPON?t="Glasfaser":(e==null?void 0:e.technology)===Z.DSL?t="DSL":t="Kabel",e!=null&&e.hotlineExclusiveInternet&&e.hotlineExclusiveTv?{headline:"Wir sind bei Ihnen verfügbar.",text:`Wir haben ${t}-Internet und Kabelfernsehen an Ihrer Adresse verfügbar. Tarife können Sie aktuell nur über unsere Bestellhotline buchen. Sichern Sie sich Ihr persönliches Angebot.`,hotlineButton:{cta:se.Ecom1,url:`tel:${se.Ecom1}`}}:e!=null&&e.hotlineExclusiveInternet?n?{headline:"Verfügbar.",text:`Wir haben ${t}-Internet und Kabelfernsehen an Ihrer Adresse verfügbar. Internet-Tarife können Sie aktuell nur über unsere Bestellhotline buchen.`,hotlineButton:{cta:se.Ecom1,url:`tel:${se.Ecom1}`},linkButton:{cta:"Zu den Fernseh-Tarifen",url:he({category:H.TVOnly,internetTechnology:Z.NonIP})}}:{headline:`Bei Ihnen ist ${t}-Internet verfügbar.`,text:`Wir haben ${t}-Internet an Ihrer Adresse verfügbar. Tarife können Sie aktuell nur über unsere Bestellhotline buchen. Sichern Sie sich Ihr persönliches Angebot.`,hotlineButton:{cta:se.Ecom1,url:`tel:${se.Ecom1}`}}:e!=null&&e.hotlineExclusiveTv?n?{headline:"Verfügbar.",text:`Wir haben ${t}-Internet und Kabelfernsehen an Ihrer Adresse verfügbar. TV-Tarife können Sie aktuell nur über unsere Bestellhotline buchen.`,hotlineButton:{cta:se.Ecom1,url:`tel:${se.Ecom1}`},linkButton:{cta:`Zu den ${t}-Tarifen`,url:he({category:H.InternetOnly,internetTechnology:e.technology})}}:{headline:"Bei Ihnen ist Kabelfernsehen verfügbar.",text:"Wir haben Kabelfernsehen an Ihrer Adresse verfügbar. Tarife können Sie aktuell nur über unsere Bestellhotline buchen. Sichern Sie sich Ihr persönliches Angebot.",hotlineButton:{cta:se.Ecom1,url:`tel:${se.Ecom1}`}}
1:{headline:"Bei Ihnen sind PŸUR Tarife derzeit leider noch nicht verfügbar.",text:"PŸUR Tarife sind an Ihrer Adresse leider nicht verfügbar. Wir leiten Sie gerne an einen unserer Partner weiter.",linkButton:{cta:"Zu Sparhandy",url:ai}}}function xt(e,n){return e===H.InternetAndPhone&&(n!=null&&n.includes(ft.KombiLight))?H.TriplePlay:e}function Ut(e,n){switch(xt(e,n)){case H.InternetOnly:return"Internet";case H.TVOnly:return"Fernsehen";case H.InternetAndPhone:return"Internet & Festnetz";case H.TriplePlay:return"Internet, Fernsehen & Festnetz";default:return"Internet"}}function zr(e,n){switch(xt(e,n)){case H.InternetOnly:return"internet";case H.TVOnly:return"fernsehen";case H.InternetAndPhone:return"internet-festnetz";case H.TriplePlay:return"internet-fernsehen-festnetz";default:return"internet"}}function Ar(e){if(e.length===0)return"Tarife";const n=e[0];if(!n)return"Tarife";switch(xt(n.category,n.groups)){case H.InternetOnly:return"Internet-Tarife";case H.TVOnly:return"TV-Tarife";case H.InternetAndPhone:return"Internet & Festnetz-Tarife";case H.TriplePlay:return"Internet, Fernsehen & Festnetz-Tarife";default:return"Tarife"}}function $r(e,n,t,i){const r=jt(n),s=`${r}#offercatalog`,o=jt()+"#organization",c=`${r}#webpage`,a=t?e.map(f=>f.upsellProduct??f):e,u=a.map(f=>{var T,k;const d=zr(f.category,f.groups),x=f.id.replace(/[_ ]/g,"-"),m=`${r}#offer-${x}-${d}-${f.download}`,b=`${r}#service`,C=[];if(!!!((T=f.groups)!=null&&T.includes(ft.HideMarketingPrice))){if(f.price.endPrice&&f.price.duration){C.push({"@type":"UnitPriceSpecification",name:`Aktionspreis (erste ${f.price.duration} Monate)`,price:f.price.price,priceCurrency:"EUR",billingIncrement:1,unitText:"je Monat",description:`Gilt für die ersten ${f.price.duration} Monate`});const E=(f.price.duration??0)+1;C.push({"@type":"UnitPriceSpecification",name:`Regulärer Preis (ab Monat ${E})`,price:f.price.endPrice,priceCurrency:"EUR",billingIncrement:1,unitText:"je Monat",description:`Gilt ab dem ${E}. Monat`})}else f.price.price&&!f.price.duration&&!f.price.endPrice&&C.push({"@type":"UnitPriceSpecification",name:"Monatlicher Preis",price:f.price.price,priceCurrency:"EUR",billingIncrement:1,unitText:"je Monat"});if(f.connectionFees&&f.connectionFees.length>0){const E=f.connectionFees[0];(k=E==null?void 0:E.price)!=null&&k.price&&C.push({"@type":"UnitPriceSpecification",name:E.name,price:E.price.price,priceCurrency:"EUR",unitText:"einmalig",description:"Wird einmalig bei Vertragsbeginn berechnet"})}}const h=[];f.download>0&&h.push({"@type":"PropertyValue",name:"Download",value:f.download,unitText:"Mbit/s"}),f.upload>0&&h.push({"@type":"PropertyValue",name:"Upload",value:f.upload,unitText:"Mbit/s"}),f.minimumContractDuration&&h.push({"@type":"PropertyValue",name:"Mindestvertragslaufzeit",value:f.minimumContractDuration,unitText:"Monate"});const p={"@type":"Offer","@id":m,name:f.name,category:Ut(f.category,f.groups),offeredBy:{"@id":o},itemOffered:{"@type":"Service","@id":b},priceCurrency:"EUR",priceSpecification:C,additionalProperty:h,availability:"https://schema.org/InStock"},g=Ut(f.category,f.groups),y=tn(f.id,i);return p.subjectOf={"@type":"DigitalDocument","@id":`${r}#pib-${x}-${d}-${f.download}`,name:`Produktinformationsblatt ${g} ${f.internetTechnology} ${f.download} Mbit/s`,inLanguage:"de-DE",encodingFormat:"application/pdf",url:y},p});return{"@context":"https://schema.org","@type":"OfferCatalog","@id":s,name:Ar(a),url:r,offeredBy:{"@id":o},mainEntityOfPage:{"@id":c},itemListElement:u}}const Dr={[Jt.ProductTilesSimplification]:Pi.ProductTilesSimplification};function Fr(e){const n=Dr[e],t=Ti(n),i=wi(),[r,s]=z.useState(O.A);return z.useEffect(()=>{t&&s(i.get(e))},[i.get(e)]),r}function ia({__id:e,id:n,headline:t,theme:i,tileTabType:r,initialTile:s,upsellEnabled:o,upsellChecked:c,preVpProducts:a,productsColumn1:u,productsColumn2:f,productsColumn3:d,productsColumn4:x,disablePadding:m,enableBandwidthUpsell:b,isInsideTabs:C}){const{fontHeading:S,neutralBackgroundColor:h}=le(),p=ke(),g=p&&"jsonLdComponentId"in p?p.jsonLdComponentId===e:!1,{isOpen:y,onOpen:T,onClose:k}
1=ge(),{address:E,addressDetails:v,availabilityResponse:j}=Ue(),[M,w]=z.useState(void 0),[P,_]=z.useState(c??!1),[I,D]=z.useState([]);function Y(B){if(I.some(pe=>pe.__id===B.__id)){const pe=I.filter(xe=>xe.__id!==B.__id);D(pe)}else D([...I,B])}const V=!!j,L=z.useMemo(()=>o??!0,[o]),$=[u,f,d,x].filter(B=>!!B),W=$.flatMap(B=>B).filter(B=>!!B),U=z.useMemo(()=>a==null?void 0:a.map(B=>W.find(G=>G.id===B.id)).filter(B=>!!B),[a]),R=z.useMemo(()=>!V&&U&&U.length>0?U:$.map(G=>Nn(G,j)).filter(G=>!!G),[u,f,d,x,j]),[je,Cn]=z.useState(R),vt=z.useMemo(()=>V?R.map(B=>!!B.upsellProduct&&j.availableProductIds.includes(B.id)&&j.availableProductIds.includes(B.upsellProduct.id)):R.map(B=>{const G=at(B,B.upsellProduct);return!!(B.upsellProduct&&G)}),[R,V,j]);function bt(B){return R[B]}function Ct(B){var G;return(G=R[B])==null?void 0:G.upsellProduct}function Sn(B,G,pe,xe,Se){Cn(B.map(ye=>pe?yn(ye,G,xe,Se):ye).filter(ye=>!!ye))}z.useEffect(()=>{Sn(R,P,L,V,j)},[R,P,j,V,L]);function yn(B,G,pe,xe){const Se=B.upsellProduct,ye=at(B,B.upsellProduct);return Se&&ye&&(!pe&&G||pe&&(xe!=null&&xe.availableProductIds.includes(Se.id))&&G)?Se:B}const{tileCategory:St,tileTechnology:Tn}=Wn(U&&U.length>0?U:W);function yt(B){w(B),T()}function wn(){w(void 0),k()}const[Pn]=ci(),Tt=Pn.get("prc");function Mn(){if(Tt){const B=qn(Tt,R);if(B&&B!==-1)return B}return s?Xn({products1:u,products2:f,products3:d,products4:x},R,Yn(s)):0}const[wt,Pt]=z.useState(Mn()),En=z.useMemo(()=>{const B=({children:G})=>C?G:l.jsx(li,{sys_id:e,id:n,px:{base:0,lg:"1.25rem"},disablePadding:m,backgroundColor:h,children:G});return B.displayName="TilesWrapper",B},[C,e,n,m,h]),kn=R.some(B=>B.category===H.TVOnly),Mt=z.useMemo(()=>R.length===0||!(p!=null&&p.canonical)||!g?null:$r(R,p.canonical,P,j?v==null?void 0:v.tenantId:void 0),[R,p==null?void 0:p.canonical,g,P,j,v==null?void 0:v.tenantId]),qe=Fr(Jt.ProductTilesSimplification),ie=St===H.InternetOnly&&(e==="47T15l2RUgYp8ED6HOFMK4"||e==="61mKuoTQ3QjYrG1khvps7R")&&(qe===O.B||qe===O.C)?qe:void 0;return l.jsxs(En,{children:[Mt&&l.jsx("script",{type:"application/ld+json",suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:JSON.stringify(Mt,null,2)}}),V&&R.length===0?l.jsx(_r,{tileCategory:St,tileTechnology:Tn,availabilityResponse:j}):l.jsxs(l.Fragment,{children:[t&&l.jsx(K,{as:"h2",variant:{base:"h3",lg:"h2"},justifySelf:"center",marginBottom:ie===O.C?{base:"4px",xl:"calc(4.125rem - 6px)"}:"calc(2rem - 6px)",textAlign:"center",color:S,children:t}),R.length>0&&ie===O.C&&l.jsx(F,{display:{base:"block",lg:"none"},fontSize:"14px",px:"20px",textAlign:"center",mb:t?"20px":"0px",color:"fontCopy",children:"Alle Tarife: 24 Monate Mindestvertragslaufzeit"}),ie!==O.B&&ie!==O.C&&!kn&&je.length>1&&l.jsx(Lr,{type:r||Kt.PRICE,display:{base:"flex",xl:"none"},products:je,onActiveIndexChange:Pt,activeIndex:wt}),ie===O.B||ie===O.C?l.jsx(A,{direction:{base:"column",xl:"row"},gap:{base:ie===O.C?"12px":"24px",xl:"24px"},justifyContent:"center",px:{base:"20px",xl:"24px"},children:je.map((B,G)=>l.jsx(Wt,{product:B,preVpProducts:U,isAvailable:V,siteId:E==null?void 0:E.siteId,theme:i,onClick:yt,upsell:{showUpsellToggle:L&&!!vt[G],sourceProduct:bt(G),upsellProduct:Ct(G),isUpsellChecked:P,onUpsellToggle:_},selectedOptions:It(I,B),toggleUpsellOption:Y,enableBandwidthUpsell:b,productTilesSimplificationAbTestVariant:ie},B.id))}):l.jsx(or,{tileTabIndex:wt,onSlideChange:Pt,buttonPosition:"72.5%",breakpoints:{0:{loop:!1,slidesPerView:1.15,spaceBetween:12,centeredSlides:!0},480:{loop:!1,slidesPerView:1.15,spaceBetween:12,centeredSlides:!0},768:{loop:!1,slidesPerView:2.15,spaceBetween:12,centeredSlides:!0},992:{loop:!1,slidesPerView:4,spaceBetween:24,centeredSlides:!1,centeredSlidesBounds:!0,centerInsufficientSlides:!0}},children:je.map((B,G)=>l.jsx(Wt,{product:B,preVpProducts:U,isAvailable:V,siteId:E==null?void 0:E.siteId,theme:i,onClick:yt,upsell:{showUpsellToggle:L&&!!vt[G],sourceProduct:bt(G),upsellProduct:Ct(G),isUpsellChecked:P,onUpsellToggle:_},selectedOptions:It(I,B),toggleUpsellOption:Y,enableBandwidthUpsell:b,productTilesSimplificationAbTestVariant:ie},B.id))})]}),l.jsx(Un,{children:l.jsx(Or,{id:`availabilityCheckModalOpen_${lt.ProductSpecific}`,vpType:lt.ProductSpecific,product:M,preVpProducts:U,productList:je,allTilesProducts:W,upsellOptions:I,isOpen:y,onClose:wn,enableBandwidthUpsell:b})}),R.length>0&&ie===O.C&&l.jsx(F,{display:{base:"none",lg:"block"},fontSize:"14px",px:"20px",textAlign:"center",mt:"3.75rem",color:"fontCopy",children:"Alle Tarife: 24 Monate Mindestvertragslaufzeit"})]})}
1export{Or as A,ia as P,or as a,$e as b};

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.