PageSourceSearch

https://www.tunescript.ai/main-QKU7JCEZ.js

js tunescript.ai collected 2026-10-05 13:08:21 UTC 282,320 bytes, 27 lines download raw bytes

1import{a as gn}from"./chunk-YWSQGFQK.js";import{a as Lr,f as Dr}from"./chunk-XCOZZHA5.js";import{A as Sn,E as Jr,F as ea,J as ta,K as ia,a as Er,b as Rr,c as $r,d as Fr,e as Br,f as Vr,j as Gr,p as Ti,q as Hr,r as jr,s as Wr,t as qr,u as Yr,v as Ur,w as Xr,x as Kr,y as Qr,z as Zr}from"./chunk-CFM7MJTE.js";import{a as xr}from"./chunk-EMCIQIEK.js";import{g as kr,i as Ir}from"./chunk-IJ2IKZC2.js";import{B as Ar,C as Or,k as hn,m as Sr,o as yn,p as bn,q as nt,s as Et,u as _r,x as Pr}from"./chunk-EGIYAIS2.js";import{c as na}from"./chunk-FBLKRX3O.js";import{a as Re,b as Tt,c as Ne,d as Nr}from"./chunk-PCLLSJUX.js";import{a as zr}from"./chunk-MWNXFQO5.js";import{$ as it,Q as br,R as yi,W as Tr,X as Y,Y as Ce,Z as wr,_ as vn,aa as bi,ba as Ft,da as Mr,ea as Si,ja as me,ka as Ei,la as Cr,na as Bt}from"./chunk-XGNBHL4I.js";import{$ as zt,$a as Os,$c as js,$d as mn,A as je,B as ce,Bc as Ls,Bd as lr,Ca as qe,Cb as ks,D as nn,Da as sn,Dd as cr,Ed as dr,F as ht,Fa as Cs,Hd as dn,Ic as Ds,J as Ss,Ja as _s,Ka as de,Kd as ur,La as Ps,M as Es,Mc as Rt,Na as Ye,Nc as ci,Nd as un,Oc as zs,Pc as Rs,Pd as fr,Qc as Ns,Ra as As,Rc as $s,Sb as X,Tc as Fs,Ub as yt,Uc as Nt,Ud as pr,Vc as Bs,W as ze,Wc as Vs,Wd as fn,Xa as vt,Xc as Gs,Ya as oi,Yc as Hs,Yd as mr,Z as et,Zd as hr,_d as pn,aa as q,ad as Ws,ae as St,b as ii,ba as Ts,bd as on,be as gr,cd as qs,d as ni,da as re,db as li,dd as Ys,de as vr,ea as ri,eb as rn,ed as di,ee as yr,fa as We,fd as Us,fe as mi,ga as oe,gd as Xs,ge as hi,ha as V,hc as Is,he as gi,ia as ai,id as Ks,jd as Qs,k as gs,ka as ws,kd as Zs,l as mt,ld as Js,m as tn,md as er,nd as ui,ne as $t,o as vs,ob as xe,od as tr,oe as vi,p as le,pb as j,pc as bt,pd as ir,q as si,qa as Ms,qb as H,qd as nr,r as Dt,ra as gt,rb as pe,rd as sr,sd as ln,t as ys,tc as an,td as rr,u as bs,ud as tt,vd as cn,wd as fi,xd as pi,ya as xs,yd as ar,zd as or}from"./chunk-NTL77WZP.js";import{a as ee,b as He,c as hs,h as pt}from"./chunk-MG3ERZGY.js";var sa=(()=>{let i=class i{constructor(){this.step=bt.required(),this.title=bt.required(),this.message=bt.required(),this.icon=bt.required()}};i.\u0275fac=function(s){return new(s||i)},i.\u0275cmp=vt({type:i,selectors:[["app-step-tile"]],inputs:{step:[1,"step"],title:[1,"title"],message:[1,"message"],icon:[1,"icon"]},decls:9,vars:4,consts:[[1,"step"],[1,"icon"],[3,"icon"],[1,"number"],[1,"title"],[1,"message"]],template:function(s,r){s&1&&(j(0,"app-card",0)(1,"div",1),pe(2,"app-icon",2),H(),j(3,"div",3),X(4),H(),j(5,"div",4),X(6),H(),j(7,"div",5),X(8),H()()),s&2&&(de(2),xe("icon",r.icon()),de(2),yt(" ",r.step()," "),de(2),yt(" ",r.title()," "),de(2),yt(" ",r.message()," "))},dependencies:[Sr,yi],styles:["[_nghost-%COMP%]{display:flex;flex-grow:1}.step[_ngcontent-%COMP%]{display:flex;flex-grow:1}.number[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;font-weight:700;width:2rem;height:2rem;border-radius:2rem;background-color:var(--primary-color);color:var(--on-primary-color)}.title[_ngcontent-%COMP%]{font-weight:700;font-size:18px;line-height:normal}.icon[_ngcontent-%COMP%]{position:absolute;opacity:.1;font-size:5rem;top:10px;right:10px}"]});let e=i;return e})();var ra=(()=>{let i=class i{constructor(){this.mySongsRoute=hn.getMySongsPage().getPath(),this.roomsRoute=hn.getRoomsPage().getPath(),this.privacyPolicyRoute=gn.getPrivacyPolicyPage().getPath(),this.termsRoute=gn.getTermsPage().getPath(),this.year=new Date().getFullYear()}};i.\u0275fac=function(s){return new(s||i)},i.\u0275cmp=vt({type:i,selectors:[["app-landing"]],decls:95,vars:9,consts:[[1,"page-header","theme-dark"],[1,"inline-logo"],["alt","TuneScript","src","assets/logo-dark-inline.svg"],[1,"buttons"],["mat-flat-button","","color","primary",1,"login-button",3,"routerLink"],[1,"section","top"],[1,"section-tag"],[1,"section-content"],[1,"info"],[1,"info-title"],[1,"primary-color"],[1,"accent-color"],[1,"message"],[1,"instructions"],[1,"part"],[1,"icon"],["icon","mobilePhone"],[1,"text"],[1,"title"],["icon","room"],["mat-flat-button","","color","primary",3,"routerLink"],["mat-stroked-button","",3,"routerLink"],[1,"screenshot-container"],["src","assets/screenshots/screenshot3_1080p.png"],[1,"section","experience"],[1,"content-title"],[1,"images"],[1,"ph
1one-image-container"],["src","assets/screenshots/iphone1.png",1,"phone-image"],[1,"tv-mockups"],["src","assets/screenshots/tv-mockup2.png",1,"tv-mockup"],[1,"section","how-it-works"],[1,"tiles"],["title","Host a Room","message","Start by creating a room from your phone. This is where every song made during your event will live. Once your room is ready, you\u2019ll be set to link it to the big screen and bring the music to life.","icon","party",3,"step"],["title","Connect Your Screen","message","Open TuneScript on your Smart TV (or computer) and grab the 4-digit code that appears. Enter it on your phone to connect your screen to your room. Now every song you and your friends create will appear live on the big screen for everyone to enjoy.","icon","room",3,"step"],["title","Scan & Play","message","Anybody can now scan the QR code to submit a short music prompt and instantly create their own personalized track. Watch as each new song hits the screen, building your party\u2019s soundtrack in real time.","icon","qrCode",3,"step"],[1,"section","footer"],[1,"left"],[1,"logo"],["src","assets/logo-dark-inline.svg","alt","TuneScript Logo"],[1,"middle"],[1,"links"],[3,"routerLink"],["href","mailto:[email protected]"],[1,"right"],[1,"copyright"]],template:function(s,r){s&1&&(j(0,"div",0)(1,"div",1),pe(2,"img",2),H(),j(3,"div",3)(4,"button",4),X(5,"Log in"),H()()(),j(6,"div",5)(7,"div",6),X(8," The Soundtrack to Your Imagination "),H(),j(9,"div",7)(10,"div",8)(11,"div",9),X(12," Your Party."),j(13,"span",10),X(14,"Your Friends."),H(),j(15,"span",11),X(16,"Your Soundtrack."),H(),X(17," Instantly. "),H(),j(18,"div",12),X(19,"TuneScript.ai instantly crafts personalized music, making every social gathering a one-of-a-kind musical experience. Your party becomes the soundtrack! "),H(),j(20,"div",13)(21,"div",14)(22,"div")(23,"div",15),pe(24,"app-icon",16),H()(),j(25,"div",17)(26,"div",18),X(27," Create on any Phone "),H(),j(28,"div",12),X(29," Generate songs, vote on tracks, and shape the vibe right from your phone. "),H()()(),j(30,"div",14)(31,"div")(32,"div",15),pe(33,"app-icon",19),H()(),j(34,"div",17)(35,"div",18),X(36," Play on any TV "),H(),j(37,"div",12),X(38," A shared stage for lyrics, beats, and vibes. TuneScript turns your TV into a live music experience that everyone can enjoy together. "),H()()()(),j(39,"div",3)(40,"button",20),X(41,"Create a Room"),H(),j(42,"button",21),X(43,"Log in"),H()()(),j(44,"div",22),pe(45,"img",23),H()()(),j(46,"div",24)(47,"div",6),X(48," The Experience "),H(),j(49,"div",7)(50,"div",25),X(51," Unified Experience "),H(),j(52,"div",12),X(53," The TV acts as the stage for the event while the smartphone becomes the gateway for everyone to become a creator. "),H(),j(54,"div",26)(55,"div",27),pe(56,"img",28),H(),j(57,"div",29),pe(58,"img",30),H()()()(),j(59,"div",31)(60,"div",6),X(61," How It Works "),H(),j(62,"div",7)(63,"div",25),X(64," How It Works "),H(),j(65,"div",12),X(66," Start your collaborative music experience in under 60 seconds. "),H(),j(67,"div",32),pe(68,"app-step-tile",33)(69,"app-step-tile",34)(70,"app-step-tile",35),H()()(),j(71,"div",36)(72,"div",7)(73,"div",37)(74,"div",38),pe(75,"img",39),H(),j(76,"div",17),X(77," Transform your next event into a live soundtrack with TuneScript.ai and let everyone create personalized music together in real-time. "),H()(),j(78,"div",40)(79,"div",41)(80,"div",18),X(81,"Support"),H(),j(82,"a",42),X(83,"Privacy Policy"),H(),j(84,"a",42),X(85,"Terms of Service"),H(),j(86,"a",43),X(87,"Contact Us"),H()()(),j(88,"div",44)(89,"div",41)(90,"div",18),X(91,"TV Apps"),H(),pe(92,"app-tv-app-store-buttons"),H()()(),j(93,"div",45),X(94),H()()),s&2&&(de(4),xe("routerLink",r.mySongsRoute),de(36),xe("routerLink",r.roomsRoute),de(2),xe("routerLink",r.mySongsRoute),de(26),xe("step",1),de(),xe("step",2),de(),xe("step",3),de(12),xe("routerLink",r.privacyPolicyRoute),de(2),xe("routerLink",r.termsRoute),de(10),yt(" \xA9 ",r.year," TuneScript.ai. All rights reserved. "))},dependencies:[br,yi,Us,sa,Er],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;flex-grow:1;overflow:auto}.page-header[_ngcontent-%COMP%]{position:relative;align-items:center;justify-content:space-between;display:flex;line-height:normal;color:var(--text-color);background:var(--background-color);padding:20px 50px;
1border-bottom:1px solid var(--divider-color)}.page-header[_ngcontent-%COMP%]   .inline-logo[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.page-header[_ngcontent-%COMP%]   .inline-logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:40px}@media (max-width: 600px){.page-header[_ngcontent-%COMP%]   .inline-logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:30px}}.page-header[_ngcontent-%COMP%]   .buttons[_ngcontent-%COMP%]{display:flex;gap:var(--default-gap)}.section[_ngcontent-%COMP%]{padding:50px}.section[_ngcontent-%COMP%]   .section-tag[_ngcontent-%COMP%]{display:inline-flex;padding:3px 30px;font-size:12px;border-radius:20px;border:1px solid;margin-bottom:var(--default-gap)}.section.top[_ngcontent-%COMP%]{background:var(--background-color-accent-gradient)}.section.top[_ngcontent-%COMP%]   .section-tag[_ngcontent-%COMP%]{border-color:var(--primary-color);color:var(--primary-color);background-color:var(--primary-hover-color)}.section.top[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;gap:50px}@media (max-width: 992px){.section.top[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]{grid-template-columns:1fr}}.section.top[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:30px}.section.top[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   .info-title[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;column-gap:10px;font-size:40px;font-weight:700;line-height:normal}.section.top[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   .instructions[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;gap:var(--default-gap)}@media (max-width: 600px){.section.top[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   .instructions[_ngcontent-%COMP%]{grid-template-columns:1fr}}.section.top[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   .instructions[_ngcontent-%COMP%]   .part[_ngcontent-%COMP%]{display:flex;gap:var(--default-gap)}.section.top[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   .instructions[_ngcontent-%COMP%]   .part[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{display:flex;background-color:var(--card-color);border-radius:var(--element-border-radius);padding:10px;color:var(--primary-color);font-size:20px;line-height:normal}.section.top[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   .instructions[_ngcontent-%COMP%]   .part[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:5px}.section.top[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   .instructions[_ngcontent-%COMP%]   .part[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-weight:700}.section.top[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   .buttons[_ngcontent-%COMP%]{display:flex;gap:var(--default-gap)}.section.top[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   .buttons[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{min-width:150px}@media (max-width: 600px){.section.top[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   .buttons[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr}.section.top[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]   .buttons[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{min-width:130px}}.section.top[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .screenshot-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:var(--page-padding);border-radius:var(--card-border-radius)}.section.top[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .screenshot-container[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:100%;max-height:100%;object-fit:contain;border-radius:var(--card-border-radius);border:2px solid var(--accent-color);box-shadow:0 0 50px var(--accent-color)}.section.experience[_ngcontent-%COMP%]{background-color:var(--mask-overlay);display:flex;flex-direction:column;align-items:center}.section.experience[_ngcontent-%COMP%]   .section-tag[_ngcontent-%COMP%]{border-color:var(--accent-color);color:var(--accent-color);background-color:var(--accent-hover-color)}.section.experience[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]{text-align:center}.section.experience[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .content-title[_ngcontent-%COMP%]{font-size:30px;font-weight:700;line-height:normal}.section.experience[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .images[_ngcontent-%COMP%]{display:flex;position:relative;justify-content:center;max-height:500px;gap:var(--default-gap);margin-top:var(--default-gap)}.section.experience[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .images[_ngcontent-%COMP%]   .phone-image-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center}.section.experience[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .images[_ngcontent-%COMP%]   .phone-image-container[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:100%;max-height:100%}.section.experience[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .images[_ngcontent-%COMP%]   .tv-mockups[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:var(--page-padding)}.section.experience[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .images[_ngcontent-%COMP%]   .tv-mockups[_ngcontent-%COMP%]   .tv-mockup[_ngcontent-%COMP%]{max-width:100%;max-height:100%;object-fit:contain;border-radius:var(--card-border-radius);border:2px solid var(--primary-color);box-shadow:0 0 50px var(--primary-color)}@media (max-width: 992px){.section.experience[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .images[_ngcontent-%COMP%]   .phone-image[_ngcontent-%COMP%]{position:absolute;
1left:20px}}.section.how-it-works[_ngcontent-%COMP%]{background:var(--background-color-accent-gradient)}.section.how-it-works[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .content-title[_ngcontent-%COMP%]{font-size:30px;font-weight:700;line-height:normal}.section.how-it-works[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .tiles[_ngcontent-%COMP%]{margin-top:var(--default-gap);display:grid;grid-template-columns:1fr 1fr 1fr;gap:var(--default-gap)}@media (max-width: 992px){.section.how-it-works[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .tiles[_ngcontent-%COMP%]{grid-template-columns:1fr}}.section.footer[_ngcontent-%COMP%]{background-color:var(--mask-overlay);padding:50px 50px 20px}.section.footer[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr 1fr;gap:var(--default-gap)}.section.footer[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:10px}.section.footer[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:25px}.section.footer[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{font-size:13px}.section.footer[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .middle[_ngcontent-%COMP%], .section.footer[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]{display:flex;justify-content:center}.section.footer[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:10px}.section.footer[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-weight:700}@media (max-width: 768px){.section.footer[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]{grid-template-columns:1fr}.section.footer[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .middle[_ngcontent-%COMP%], .section.footer[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]{justify-content:flex-start}}.section.footer[_ngcontent-%COMP%]   .copyright[_ngcontent-%COMP%]{margin-top:var(--default-gap);font-size:12px;color:var(--disabled-text-color)}"]});let e=i;return e})();var aa=[{path:"",component:ra,data:{[vi]:"dark"}},{path:"auth",loadChildren:()=>import("./chunk-IGOLY3MH.js").then(e=>e.authRoutes)},{path:"admin",loadChildren:()=>import("./chunk-HB4BZUF2.js").then(e=>e.adminRoutes)},{path:"app",loadChildren:()=>import("./chunk-FU2M2E5K.js").then(e=>e.mainRoutes)},{path:"legal",loadChildren:()=>import("./chunk-UT4K4J62.js").then(e=>e.legalRoutes)},{path:"song",loadChildren:()=>import("./chunk-6X56F6DB.js").then(e=>e.songRoutes)},{path:"**",redirectTo:""}];var gl={updateAvailable:!1},En=cr({name:"page",initialState:gl,reducers:{setAudioAllowed:(e,i)=>He(ee({},e),{audioAllowed:i.payload}),setPageUpdateAvailable:(e,i)=>He(ee({},e),{updateAvailable:i.payload})}}),{setAudioAllowed:du,setPageUpdateAvailable:oa}=En.actions,la=Ei(e=>e.page,e=>e),uu=Ei(la,e=>e.audioAllowed),ca=Ei(la,e=>e.updateAvailable);var da={audioPlayer:dr.reducer,filters:Lr.reducer,page:En.reducer,preferences:kr.reducer,room:Qr.reducer,roomSession:pr.reducer,song:Fr.reducer,time:gr.reducer,user:vr.reducer};var ua=(()=>{let i=class i{constructor(){this.authService=V(nt),this.store=V(me)}intercept(n,s){return s.handle(n).pipe(nn(r=>r.status===401&&n.url!==Ks?gs(this.authService.getOrRefreshAuthenticationToken()).pipe(ze(a=>{let l=n.clone({setHeaders:{Authorization:`Bearer ${a.token}`}});return s.handle(l)}),nn(a=>(this.store.dispatch(gi({preserveUrl:!0})),tn(()=>bn(a))))):tn(()=>bn(r))))}};i.\u0275fac=function(s){return new(s||i)},i.\u0275prov=re({token:i,factory:i.\u0275fac,providedIn:"root"});let e=i;return e})();var Vt=new We("JWT_OPTIONS"),pa=(()=>{class e{constructor(t=null){this.tokenGetter=t&&t.tokenGetter||function(){}}urlBase64Decode(t){let n=t.replace(/-/g,"+").replace(/_/g,"/");switch(n.length%4){case 0:break;case 2:{n+="==";break}case 3:{n+="=";break}default:throw new Error("Illegal base64url string!")}return this.b64DecodeUnicode(n)}b64decode(t){let n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/=",s="";if(t=String(t).replace(/=+$/,""),t.length%4===1)throw new Error("'atob' failed: The string to be decoded is not correctly encoded.");for(let r=0,a,l,o=0;l=t.charAt(o++);~l&&(a=r%4?a*64+l:l,r++%4)?s+=String.fromCharCode(255&a>>(-2*r&6)):0)l=n.indexOf(l);return s}b64DecodeUnicode(t){return decodeURIComponent(Array.prototype.map.call(this.b64decode(t),n=>"%"+("00"+n.charCodeAt(0).toString(16)).slice(-2)).join(""))}decodeToken(t=this.tokenGetter()){return t instanceof Promise?t.then(n=>this._decodeToken(n)):this._decodeToken(t)}_decodeToken(t){if(!t||t==="")return null;let n=t.split(".");if(n.length!==3)throw new Error("The inspected token doesn't appear to be a JWT. Check to make sure it has three parts and see https://jwt.io for more.");let s=this.urlBase64Decode(n[1]);if(!s)throw new Error("Cannot decode the token.");return JSON.parse(s)}getTokenExpirationDate(t=this.tokenGetter()){return t instanceof Promise?t.then(n=>this._getTokenExpirationDate(n)):this._getTokenExpirationDate(t)}_getTokenExpirationDate(t){let n;if(n=this.decodeToken(t),!n||!n.hasOwnProperty("exp"))return null;let s=new Date(0);return s.setUTCSeconds(n.exp),s}isTokenExpired(t=this.tokenGetter(),n){return t instanceof Promise?t.then(s=>this._isTokenExpired(s,n)):this._isTokenExpired(t,n)}_isTokenExpired(t,n){if(!t||t==="")return!0;let s=this.getTokenExpirationDate(t);return n=n||0,s===null?!1:!(s.valueOf()>new Date().valueOf()+n*1e3)}getAuthScheme(t,n){return typeof t=="function"?t(n):t}}return e.\u0275fac=function(t){return new(t||e)(oe(Vt))},e.\u0275prov=re({token:e,factory:e.\u0275fac}),e})(),fa=e=>e instanceof Promise?ys(()=>e):mt(e),vl=(()=>{class e{constructor(t,n,s){this.jwtHelper=n,this.document=s,this.standardPorts=["80","443"],this.tokenGetter=t.tokenGetter,this.headerName=t.headerName||"Authorization",this.authScheme=t.authScheme||t.authScheme===""?t.authScheme:"Bearer ",this.allowedDomains=t.allowedDomains||[],this.disallowedRoutes=t.disallowedRoutes||[],this.throwNoTokenError=t.throwNoTokenError||!1,this.skipWhenExpired=t.skipWhenExpired}isAllowedDomain(t){let n=new URL(t.url,this.document.location.origin);if(n.host===this.document.location.host)return!0;let s=`${n.hostname}${n.port&&!this.standardPorts.includes(n.port)?":"+n.port:""}`;return this.allowedDomains.findIndex(r=>typeof r=="string"?r===s:r instanceof RegExp?r.test(s):!1)>-1}isDisallowedRoute(t){let n=new URL(t.url,this.document.location.origin);return this.disallowedRoutes.findIndex(s=>{if(typeof s=="string"){let r=new URL(s,this.document.location.origin);return r.hostname===n.hostname&&r.pathname===n.pathname}return s instanceof RegExp?s.test(t.url):!1})>-1}handleInterception(t,n,s){let r=this.jwtHelper.getAuthScheme(this.authScheme,n);if(!t&&this.throwNoTokenError)throw new Error("Could not get token from tokenGetter function.");let a=mt(!1);return this.skipWhenExpired&&(a=t?fa(this.jwtHelper.isTokenExpired(t)):mt(!0)),t?a.pipe(le(l=>l&&this.skipWhenExpired?n.clone():n.clone({setHeaders:{[this.headerName]:`${r}${t}`}})),Dt(l=>s.handle(l))):s.handle(n)}intercept(t,n){if(!this.isAllowedDomain(t)||this.isDisallowedRoute(t))return n.handle(t);let s=this.tokenGetter(t);return fa(s).pipe(Dt(r=>this.handleInterception(r,t,n)))}}return e.\u0275fac=function(t){return new(t||e)(oe(Vt),oe(pa),oe(gt))},e.\u0275prov=re({token:e,factory:e.\u0275fac}),e})(),ma=(()=>{class e{constructor(t){if(t)throw new Error("JwtModule is already loaded. It should only be imported in your application's main module.")}static forRoot(t){return{ngModule:e,providers:[{provide:Nt,useClass:vl,multi:!0},t.jwtOptionsProvider||{provide:Vt,useValue:t.config},pa]}}}return e.\u0275fac=function(t){return new(t||e)(oe(e,12))},e.\u0275mod=oi({type:e}),e.\u0275inj=ri({}),e})();var wi=class{constructor(){this.roomApiService=V(tt),this.creditsApiService=V(ui),this.songApiService=V(fi),this.actions$=V(Tt),this.location=V(Ls),this.router=V(di),this.store=V(me),this.setToken$=Re(()=>this.actions$.pipe(Ne(mi),et(t=>{yn?.setToken(t.payload)})),{dispatch:!1}),this.logout$=Re(()=>this.actions$.pipe(Ne(gi),et(n=>pt(this,[n],function*({payload:t}){yn?.clearToken(),requestAnimationFrame(()=>{this.store.dispatch(Gr()),this.store.dispatch(ur()),this.store.dispatch(ea()),this.store.dispatch(Dr())});let s=Ar.getLoginPage();if(t?.preserveUrl){let r=this.location.path(!0);r?s.withQueryParams({[Or]:r}).navigate(this.router):s.navigate(this.router)}else s.navigate(this.router)}))),{dispatch:!1});let i=this.store.select(Et).pipe(le(t=>t?.userId),ce(t=>!!t),Ss());i.subscribe(()=>{this.songApiService.getFavoriteSongIds().subscribe(t=>this.store.dispatch(Br(t))),this.songApiService.getRatedSongs().subscribe(t=>{let n=t.reduce((s,r)=>(s[r.songId]=r.rating,s),{});this.store.dispatch(Vr(n))})}),si([this.store.select(Pr("CREATE_ROOM")),i]).pipe(ce(([t])=>t===!0),ze(()=>bs([this.roomApiService.getMyRooms(!0),this.creditsApiService.getBalance()]))).subscribe(([t,n])=>{this.store.dispatch(Zr(t)),this.store.dispatch(hi(n.value))})}};function ha(e){return new q(3e3,!1)}function yl(){return new q(3100,!1)}function bl(){return new q(3101,!1)}function Sl(e){return new q(3001,!1)}function El(e){return new q(3003,!1)}function Tl(e){return new q(3004,!1)}function va(e,i){return new q(3005,!1)}function ya(){return new q(3006,!1)}function ba(){return new q(3007,!1)}function Sa(e,i){return new q(3008,!1)}function Ea(e){return new q(3002,!1)}function Ta(e,i,t,n,s){return new q(3010,!1)}function wa(){return new q(3011,!1)}function Ma(){return new q(3012,!1)}function xa(){return new q(3200,!1)}function Ca(){return new q(3202,!1)}function _a(){return new q(3013,!1)}function Pa(e){return new q(3014,!1)}function Aa(e){return new q(3015,!1)}function Oa(e){return new q(3016,!1)}function ka(e,i){return new q(3404,!1)}function wl(e){return new q(3502,!1)}function Ia(e){return new q(3503,!1)}function La(){return new q(3300,!1)}function Da(e){return new q(3504,!1)}function za(e){return new q(3301,!1)}function Ra(e,i){return new q(3302,!1)}function Na(e){return new q(3303,!1)}function $a(e,i){return new q(3400,!1)}function Fa(e){return new q(3401,!1)}function Ba(e){return new q(3402,!1)}function Va(e,i){return new q(3505,!1)}function $e(e){switch(e.length){case 0:return new it;case 1:return e[0];default:return new bi(e)}}function xn(e,i,t=new Map,n=new Map){let s=[],r=[],a=-1,l=null;if(i.forEach(o=>{let u=o.get("offset"),p=u==a,f=p&&l||new Map;o.forEach((g,c)=>{let d=c,m=g;if(c!=="offset")switch(d=e.normalizePropertyName(d,s),m){case Ft:m=t.get(c);break;case Ce:m=n.get(c);break;default:m=e.normalizeStyleValue(c,d,m,s);break}f.set(d,m)}),p||r.push(f),l=f,a=u}),s.length)throw wl(s);return r}function Mi(e,i,t,n){switch(i){case"start":e.onStart(()=>n(t&&Tn(t,"start",e)));break;case"done":e.onDone(()=>n(t&&Tn(t,"done",e)));break;
vendor: 56,897 bytes, line 1
1case"destroy":e.onDestroy(()=>n(t&&Tn(t,"destroy",e)));break}}function Tn(e,i,t){let n=t.totalTime,s=!!t.disabled,r=xi(e.element,e.triggerName,e.fromState,e.toState,i||e.phaseName,n??e.totalTime,s),a=e._data;return a!=null&&(r._data=a),r}function xi(e,i,t,n,s="",r=0,a){return{element:e,triggerName:i,fromState:t,toState:n,phaseName:s,totalTime:r,disabled:!!a}}function he(e,i,t){let n=e.get(i);return n||e.set(i,n=t),n}function Cn(e){let i=e.indexOf(":"),t=e.substring(1,i),n=e.slice(i+1);return[t,n]}var Ml=typeof document>"u"?null:document.documentElement;function Ci(e){let i=e.parentNode||e.host||null;return i===Ml?null:i}function xl(e){return e.substring(1,6)=="ebkit"}var st=null,ga=!1;function Ga(e){st||(st=Cl()||{},ga=st.style?"WebkitAppearance"in st.style:!1);let i=!0;return st.style&&!xl(e)&&(i=e in st.style,!i&&ga&&(i="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in st.style)),i}function Cl(){return typeof document<"u"?document.body:null}function _n(e,i){for(;i;){if(i===e)return!0;i=Ci(i)}return!1}function Pn(e,i,t){if(t)return Array.from(e.querySelectorAll(i));let n=e.querySelector(i);return n?[n]:[]}var _l=1e3,An="{{",Pl="}}",On="ng-enter",_i="ng-leave",Gt="ng-trigger",Ht=".ng-trigger",kn="ng-animating",Pi=".ng-animating";function ke(e){if(typeof e=="number")return e;let i=e.match(/^(-?[\.\d]+)(m?s)/);return!i||i.length<2?0:wn(parseFloat(i[1]),i[2])}function wn(e,i){switch(i){case"s":return e*_l;default:return e}}function jt(e,i,t){return e.hasOwnProperty("duration")?e:Ol(e,i,t)}var Al=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function Ol(e,i,t){let n,s=0,r="";if(typeof e=="string"){let a=e.match(Al);if(a===null)return i.push(ha(e)),{duration:0,delay:0,easing:""};n=wn(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(s=wn(parseFloat(l),a[4]));let o=a[5];o&&(r=o)}else n=e;if(!t){let a=!1,l=i.length;n<0&&(i.push(yl()),a=!0),s<0&&(i.push(bl()),a=!0),a&&i.splice(l,0,ha(e))}return{duration:n,delay:s,easing:r}}function Ha(e){return e.length?e[0]instanceof Map?e:e.map(i=>new Map(Object.entries(i))):[]}function _e(e,i,t){i.forEach((n,s)=>{let r=Ai(s);t&&!t.has(s)&&t.set(s,e.style[r]),e.style[r]=n})}function Ue(e,i){i.forEach((t,n)=>{let s=Ai(n);e.style[s]=""})}function wt(e){return Array.isArray(e)?e.length==1?e[0]:wr(e):e}function ja(e,i,t){let n=i.params||{},s=In(e);s.length&&s.forEach(r=>{n.hasOwnProperty(r)||t.push(Sl(r))})}var Mn=new RegExp(`${An}\\s*(.+?)\\s*${Pl}`,"g");function In(e){let i=[];if(typeof e=="string"){let t;for(;t=Mn.exec(e);)i.push(t[1]);Mn.lastIndex=0}return i}function Mt(e,i,t){let n=`${e}`,s=n.replace(Mn,(r,a)=>{let l=i[a];return l==null&&(t.push(El(a)),l=""),l.toString()});return s==n?e:s}var kl=/-+([a-z0-9])/g;function Ai(e){return e.replace(kl,(...i)=>i[1].toUpperCase())}function Wa(e,i){return e===0||i===0}function qa(e,i,t){if(t.size&&i.length){let n=i[0],s=[];if(t.forEach((r,a)=>{n.has(a)||s.push(a),n.set(a,r)}),s.length)for(let r=1;r<i.length;r++){let a=i[r];s.forEach(l=>a.set(l,Oi(e,l)))}}return i}function ge(e,i,t){switch(i.type){case Y.Trigger:return e.visitTrigger(i,t);case Y.State:return e.visitState(i,t);case Y.Transition:return e.visitTransition(i,t);case Y.Sequence:return e.visitSequence(i,t);case Y.Group:return e.visitGroup(i,t);case Y.Animate:return e.visitAnimate(i,t);case Y.Keyframes:return e.visitKeyframes(i,t);case Y.Style:return e.visitStyle(i,t);case Y.Reference:return e.visitReference(i,t);case Y.AnimateChild:return e.visitAnimateChild(i,t);case Y.AnimateRef:return e.visitAnimateRef(i,t);case Y.Query:return e.visitQuery(i,t);case Y.Stagger:return e.visitStagger(i,t);default:throw Tl(i.type)}}function Oi(e,i){return window.getComputedStyle(e)[i]}var Xn=(()=>{class e{validateStyleProperty(t){return Ga(t)}containsElement(t,n){return _n(t,n)}getParentElement(t){return Ci(t)}query(t,n,s){return Pn(t,n,s)}computeStyle(t,n,s){return s||""}animate(t,n,s,r,a,l=[],o){return new it(s,r)}static \u0275fac=function(n){return new(n||e)};static \u0275prov=re({token:e,factory:e.\u0275fac})}return e})(),at=class{static NOOP=new Xn},ot=class{};var Il=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),zi=class extends ot{normalizePropertyName(i,t){return Ai(i)}normalizeStyleValue(i,t,n,s){let r="",a=n.toString().trim();if(Il.has(t)&&n!==0&&n!=="0")if(typeof n=="number")r="px";else{let l=n.match(/^[+-]?[\d\.]+([a-z]*)$/);l&&l[1].length==0&&s.push(va(i,n))}return a+r}};var Ri="*";function Ll(e,i){let t=[];return typeof e=="string"?e.split(/\s*,\s*/).forEach(n=>Dl(n,t,i)):t.push(e),t}function Dl(e,i,t){if(e[0]==":"){let o=zl(e,t);if(typeof o=="function"){i.push(o);return}e=o}let n=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(n==null||n.length<4)return t.push(Aa(e)),i;let s=n[1],r=n[2],a=n[3];i.push(Ya(s,a));let l=s==Ri&&a==Ri;r[0]=="<"&&!l&&i.push(Ya(a,s))}function zl(e,i){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,n)=>parseFloat(n)>parseFloat(t);case":decrement":return(t,n)=>parseFloat(n)<parseFloat(t);default:return i.push(Oa(e)),"* => *"}}var ki=new Set(["true","1"]),Ii=new Set(["false","0"]);function Ya(e,i){let t=ki.has(e)||Ii.has(e),n=ki.has(i)||Ii.has(i);return(s,r)=>{let a=e==Ri||e==s,l=i==Ri||i==r;return!a&&t&&typeof s=="boolean"&&(a=s?ki.has(e):Ii.has(e)),!l&&n&&typeof r=="boolean"&&(l=r?ki.has(i):Ii.has(i)),a&&l}}var no=":self",Rl=new RegExp(`s*${no}s*,?`,"g");function so(e,i,t,n){return new $n(e).build(i,t,n)}var Ua="",$n=class{_driver;constructor(i){this._driver=i}build(i,t,n){let s=new Fn(t);return this._resetContextStyleTimingState(s),ge(this,wt(i),s)}_resetContextStyleTimingState(i){i.currentQuerySelector=Ua,i.collectedStyles=new Map,i.collectedStyles.set(Ua,new Map),i.currentTime=0}visitTrigger(i,t){let n=t.queryCount=0,s=t.depCount=0,r=[],a=[];return i.name.charAt(0)=="@"&&t.errors.push(ya()),i.definitions.forEach(l=>{if(this._resetContextStyleTimingState(t),l.type==Y.State){let o=l,u=o.name;u.toString().split(/\s*,\s*/).forEach(p=>{o.name=p,r.push(this.visitState(o,t))}),o.name=u}else if(l.type==Y.Transition){let o=this.visitTransition(l,t);n+=o.queryCount,s+=o.depCount,a.push(o)}else t.errors.push(ba())}),{type:Y.Trigger,name:i.name,states:r,transitions:a,queryCount:n,depCount:s,options:null}}visitState(i,t){let n=this.visitStyle(i.styles,t),s=i.options&&i.options.params||null;if(n.containsDynamicStyles){let r=new Set,a=s||{};n.styles.forEach(l=>{l instanceof Map&&l.forEach(o=>{In(o).forEach(u=>{a.hasOwnProperty(u)||r.add(u)})})}),r.size&&t.errors.push(Sa(i.name,[...r.values()]))}return{type:Y.State,name:i.name,style:n,options:s?{params:s}:null}}visitTransition(i,t){t.queryCount=0,t.depCount=0;let n=ge(this,wt(i.animation),t),s=Ll(i.expr,t.errors);return{type:Y.Transition,matchers:s,animation:n,queryCount:t.queryCount,depCount:t.depCount,options:rt(i.options)}}visitSequence(i,t){return{type:Y.Sequence,steps:i.steps.map(n=>ge(this,n,t)),options:rt(i.options)}}visitGroup(i,t){let n=t.currentTime,s=0,r=i.steps.map(a=>{t.currentTime=n;let l=ge(this,a,t);return s=Math.max(s,t.currentTime),l});return t.currentTime=s,{type:Y.Group,steps:r,options:rt(i.options)}}visitAnimate(i,t){let n=Bl(i.timings,t.errors);t.currentAnimateTimings=n;let s,r=i.styles?i.styles:vn({});if(r.type==Y.Keyframes)s=this.visitKeyframes(r,t);else{let a=i.styles,l=!1;if(!a){l=!0;let u={};n.easing&&(u.easing=n.easing),a=vn(u)}t.currentTime+=n.duration+n.delay;let o=this.visitStyle(a,t);o.isEmptyStep=l,s=o}return t.currentAnimateTimings=null,{type:Y.Animate,timings:n,style:s,options:null}}visitStyle(i,t){let n=this._makeStyleAst(i,t);return this._validateStyleAst(n,t),n}_makeStyleAst(i,t){let n=[],s=Array.isArray(i.styles)?i.styles:[i.styles];for(let l of s)typeof l=="string"?l===Ce?n.push(l):t.errors.push(Ea(l)):n.push(new Map(Object.entries(l)));let r=!1,a=null;return n.forEach(l=>{if(l instanceof Map&&(l.has("easing")&&(a=l.get("easing"),l.delete("easing")),!r)){for(let o of l.values())if(o.toString().indexOf(An)>=0){r=!0;break}}}),{type:Y.Style,styles:n,easing:a,offset:i.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(i,t){let n=t.currentAnimateTimings,s=t.currentTime,r=t.currentTime;n&&r>0&&(r-=n.duration+n.delay),i.styles.forEach(a=>{typeof a!="string"&&a.forEach((l,o)=>{let u=t.collectedStyles.get(t.currentQuerySelector),p=u.get(o),f=!0;p&&(r!=s&&r>=p.startTime&&s<=p.endTime&&(t.errors.push(Ta(o,p.startTime,p.endTime,r,s)),f=!1),r=p.startTime),f&&u.set(o,{startTime:r,endTime:s}),t.options&&ja(l,t.options,t.errors)})})}visitKeyframes(i,t){let n={type:Y.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(wa()),n;let s=1,r=0,a=[],l=!1,o=!1,u=0,p=i.steps.map(h=>{let v=this._makeStyleAst(h,t),y=v.offset!=null?v.offset:Fl(v.styles),M=0;return y!=null&&(r++,M=v.offset=y),o=o||M<0||M>1,l=l||M<u,u=M,a.push(M),v});o&&t.errors.push(Ma()),l&&t.errors.push(xa());let f=i.steps.length,g=0;r>0&&r<f?t.errors.push(Ca()):r==0&&(g=s/(f-1));let c=f-1,d=t.currentTime,m=t.currentAnimateTimings,b=m.duration;return p.forEach((h,v)=>{let y=g>0?v==c?1:g*v:a[v],M=y*b;t.currentTime=d+m.delay+M,m.duration=M,this._validateStyleAst(h,t),h.offset=y,n.styles.push(h)}),n}visitReference(i,t){return{type:Y.Reference,animation:ge(this,wt(i.animation),t),options:rt(i.options)}}visitAnimateChild(i,t){return t.depCount++,{type:Y.AnimateChild,options:rt(i.options)}}visitAnimateRef(i,t){return{type:Y.AnimateRef,animation:this.visitReference(i.animation,t),options:rt(i.options)}}visitQuery(i,t){let n=t.currentQuerySelector,s=i.options||{};t.queryCount++,t.currentQuery=i;let[r,a]=Nl(i.selector);t.currentQuerySelector=n.length?n+" "+r:r,he(t.collectedStyles,t.currentQuerySelector,new Map);let l=ge(this,wt(i.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:Y.Query,selector:r,limit:s.limit||0,optional:!!s.optional,includeSelf:a,animation:l,originalSelector:i.selector,options:rt(i.options)}}visitStagger(i,t){t.currentQuery||t.errors.push(_a());let n=i.timings==="full"?{duration:0,delay:0,easing:"full"}:jt(i.timings,t.errors,!0);return{type:Y.Stagger,animation:ge(this,wt(i.animation),t),timings:n,options:null}}};function Nl(e){let i=!!e.split(/\s*,\s*/).find(t=>t==no);return i&&(e=e.replace(Rl,"")),e=e.replace(/@\*/g,Ht).replace(/@\w+/g,t=>Ht+"-"+t.slice(1)).replace(/:animating/g,Pi),[e,i]}function $l(e){return e?ee({},e):null}var Fn=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(i){this.errors=i}};function Fl(e){if(typeof e=="string")return null;let i=null;if(Array.isArray(e))e.forEach(t=>{if(t instanceof Map&&t.has("offset")){let n=t;i=parseFloat(n.get("offset")),n.delete("offset")}});else if(e instanceof Map&&e.has("offset")){let t=e;i=parseFloat(t.get("offset")),t.delete("offset")}return i}function Bl(e,i){if(e.hasOwnProperty("duration"))return e;if(typeof e=="number"){let r=jt(e,i).duration;return Ln(r,0,"")}let t=e;if(t.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=Ln(0,0,"");return r.dynamic=!0,r.strValue=t,r}let s=jt(t,i);return Ln(s.duration,s.delay,s.easing)}function rt(e){return e?(e=ee({},e),e.params&&(e.params=$l(e.params))):e={},e}function Ln(e,i,t){return{duration:e,delay:i,easing:t}}function Kn(e,i,t,n,s,r,a=null,l=!1){return{type:1,element:e,keyframes:i,preStyleProps:t,postStyleProps:n,duration:s,delay:r,totalTime:s+r,easing:a,subTimeline:l}}var qt=class{_map=new Map;get(i){return this._map.get(i)||[]}append(i,t){let n=this._map.get(i);n||this._map.set(i,n=[]),n.push(...t)}has(i){return this._map.has(i)}clear(){this._map.clear()}},Vl=1,Gl=":enter",Hl=new RegExp(Gl,"g"),jl=":leave",Wl=new RegExp(jl,"g");function ro(e,i,t,n,s,r=new Map,a=new Map,l,o,u=[]){return new Bn().buildKeyframes(e,i,t,n,s,r,a,l,o,u)}var Bn=class{buildKeyframes(i,t,n,s,r,a,l,o,u,p=[]){u=u||new qt;let f=new Vn(i,t,u,s,r,p,[]);f.options=o;let g=o.delay?ke(o.delay):0;f.currentTimeline.delayNextStep(g),f.currentTimeline.setStyles([a],null,f.errors,o),ge(this,n,f);let c=f.timelines.filter(d=>d.containsAnimation());if(c.length&&l.size){let d;for(let m=c.length-1;m>=0;m--){let b=c[m];if(b.element===t){d=b;break}}d&&!d.allowOnlyTimelineStyles()&&d.setStyles([l],null,f.errors,o)}return c.length?c.map(d=>d.buildKeyframes()):[Kn(t,[],[],[],0,g,"",!1)]}visitTrigger(i,t){}visitState(i,t){}visitTransition(i,t){}visitAnimateChild(i,t){let n=t.subInstructions.get(t.element);if(n){let s=t.createSubContext(i.options),r=t.currentTimeline.currentTime,a=this._visitSubInstructions(n,s,s.options);r!=a&&t.transformIntoNewTimeline(a)}t.previousNode=i}visitAnimateRef(i,t){let n=t.createSubContext(i.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([i.options,i.animation.options],t,n),this.visitReference(i.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=i}_applyAnimationRefDelays(i,t,n){for(let s of i){let r=s?.delay;if(r){let a=typeof r=="number"?r:ke(Mt(r,s?.params??{},t.errors));n.delayNextStep(a)}}}_visitSubInstructions(i,t,n){let r=t.currentTimeline.currentTime,a=n.duration!=null?ke(n.duration):null,l=n.delay!=null?ke(n.delay):null;return a!==0&&i.forEach(o=>{let u=t.appendInstructionToTimeline(o,a,l);r=Math.max(r,u.duration+u.delay)}),r}visitReference(i,t){t.updateOptions(i.options,!0),ge(this,i.animation,t),t.previousNode=i}visitSequence(i,t){let n=t.subContextCount,s=t,r=i.options;if(r&&(r.params||r.delay)&&(s=t.createSubContext(r),s.transformIntoNewTimeline(),r.delay!=null)){s.previousNode.type==Y.Style&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=Ni);let a=ke(r.delay);s.delayNextStep(a)}i.steps.length&&(i.steps.forEach(a=>ge(this,a,s)),s.currentTimeline.applyStylesToKeyframe(),s.subContextCount>n&&s.transformIntoNewTimeline()),t.previousNode=i}visitGroup(i,t){let n=[],s=t.currentTimeline.currentTime,r=i.options&&i.options.delay?ke(i.options.delay):0;i.steps.forEach(a=>{let l=t.createSubContext(i.options);r&&l.delayNextStep(r),ge(this,a,l),s=Math.max(s,l.currentTimeline.currentTime),n.push(l.currentTimeline)}),n.forEach(a=>t.currentTimeline.mergeTimelineCollectedStyles(a)),t.transformIntoNewTimeline(s),t.previousNode=i}_visitTiming(i,t){if(i.dynamic){let n=i.strValue,s=t.params?Mt(n,t.params,t.errors):n;return jt(s,t.errors)}else return{duration:i.duration,delay:i.delay,easing:i.easing}}visitAnimate(i,t){let n=t.currentAnimateTimings=this._visitTiming(i.timings,t),s=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),s.snapshotCurrentStyles());let r=i.style;r.type==Y.Keyframes?this.visitKeyframes(r,t):(t.incrementTime(n.duration),this.visitStyle(r,t),s.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=i}visitStyle(i,t){let n=t.currentTimeline,s=t.currentAnimateTimings;!s&&n.hasCurrentStyleProperties()&&n.forwardFrame();let r=s&&s.easing||i.easing;i.isEmptyStep?n.applyEmptyStep(r):n.setStyles(i.styles,r,t.errors,t.options),t.previousNode=i}visitKeyframes(i,t){let n=t.currentAnimateTimings,s=t.currentTimeline.duration,r=n.duration,l=t.createSubContext().currentTimeline;l.easing=n.easing,i.styles.forEach(o=>{let u=o.offset||0;l.forwardTime(u*r),l.setStyles(o.styles,o.easing,t.errors,t.options),l.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(l),t.transformIntoNewTimeline(s+r),t.previousNode=i}visitQuery(i,t){let n=t.currentTimeline.currentTime,s=i.options||{},r=s.delay?ke(s.delay):0;r&&(t.previousNode.type===Y.Style||n==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Ni);let a=n,l=t.invokeQuery(i.selector,i.originalSelector,i.limit,i.includeSelf,!!s.optional,t.errors);t.currentQueryTotal=l.length;let o=null;l.forEach((u,p)=>{t.currentQueryIndex=p;let f=t.createSubContext(i.options,u);r&&f.delayNextStep(r),u===t.element&&(o=f.currentTimeline),ge(this,i.animation,f),f.currentTimeline.applyStylesToKeyframe();let g=f.currentTimeline.currentTime;a=Math.max(a,g)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),o&&(t.currentTimeline.mergeTimelineCollectedStyles(o),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=i}visitStagger(i,t){let n=t.parentContext,s=t.currentTimeline,r=i.timings,a=Math.abs(r.duration),l=a*(t.currentQueryTotal-1),o=a*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":o=l-o;break;case"full":o=n.currentStaggerTime;break}let p=t.currentTimeline;o&&p.delayNextStep(o);let f=p.currentTime;ge(this,i.animation,t),t.previousNode=i,n.currentStaggerTime=s.currentTime-f+(s.startTime-n.currentTimeline.startTime)}},Ni={},Vn=class e{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Ni;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(i,t,n,s,r,a,l,o){this._driver=i,this.element=t,this.subInstructions=n,this._enterClassName=s,this._leaveClassName=r,this.errors=a,this.timelines=l,this.currentTimeline=o||new $i(this._driver,t,0),l.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(i,t){if(!i)return;let n=i,s=this.options;n.duration!=null&&(s.duration=ke(n.duration)),n.delay!=null&&(s.delay=ke(n.delay));let r=n.params;if(r){let a=s.params;a||(a=this.options.params={}),Object.keys(r).forEach(l=>{(!t||!a.hasOwnProperty(l))&&(a[l]=Mt(r[l],a,this.errors))})}}_copyOptions(){let i={};if(this.options){let t=this.options.params;if(t){let n=i.params={};Object.keys(t).forEach(s=>{n[s]=t[s]})}}return i}createSubContext(i=null,t,n){let s=t||this.element,r=new e(this._driver,s,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(s,n||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(i),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(i){return this.previousNode=Ni,this.currentTimeline=this.currentTimeline.fork(this.element,i),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(i,t,n){let s={duration:t??i.duration,delay:this.currentTimeline.currentTime+(n??0)+i.delay,easing:""},r=new Gn(this._driver,i.element,i.keyframes,i.preStyleProps,i.postStyleProps,s,i.stretchStartingKeyframe);return this.timelines.push(r),s}incrementTime(i){this.currentTimeline.forwardTime(this.currentTimeline.duration+i)}delayNextStep(i){i>0&&this.currentTimeline.delayNextStep(i)}invokeQuery(i,t,n,s,r,a){let l=[];if(s&&l.push(this.element),i.length>0){i=i.replace(Hl,"."+this._enterClassName),i=i.replace(Wl,"."+this._leaveClassName);let o=n!=1,u=this._driver.query(this.element,i,o);n!==0&&(u=n<0?u.slice(u.length+n,u.length):u.slice(0,n)),l.push(...u)}return!r&&l.length==0&&a.push(Pa(t)),l}},$i=class e{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(i,t,n,s){this._driver=i,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=s,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(i){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+i),t&&this.snapshotCurrentStyles()):this.startTime+=i}fork(i,t){return this.applyStylesToKeyframe(),new e(this._driver,i,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=Vl,this._loadKeyframe()}forwardTime(i){this.applyStylesToKeyframe(),this.duration=i,this._loadKeyframe()}_updateStyle(i,t){this._localTimelineStyles.set(i,t),this._globalTimelineStyles.set(i,t),this._styleSummary.set(i,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(i){i&&this._previousKeyframe.set("easing",i);for(let[t,n]of this._globalTimelineStyles)this._backFill.set(t,n||Ce),this._currentKeyframe.set(t,Ce);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(i,t,n,s){t&&this._previousKeyframe.set("easing",t);let r=s&&s.params||{},a=ql(i,this._globalTimelineStyles);for(let[l,o]of a){let u=Mt(o,r,n);this._pendingStyles.set(l,u),this._localTimelineStyles.has(l)||this._backFill.set(l,this._globalTimelineStyles.get(l)??Ce),this._updateStyle(l,u)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((i,t)=>{this._currentKeyframe.set(t,i)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((i,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,i)}))}snapshotCurrentStyles(){for(let[i,t]of this._localTimelineStyles)this._pendingStyles.set(i,t),this._updateStyle(i,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let i=[];for(let t in this._currentKeyframe)i.push(t);return i}mergeTimelineCollectedStyles(i){i._styleSummary.forEach((t,n)=>{let s=this._styleSummary.get(n);(!s||t.time>s.time)&&this._updateStyle(n,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let i=new Set,t=new Set,n=this._keyframes.size===1&&this.duration===0,s=[];this._keyframes.forEach((l,o)=>{let u=new Map([...this._backFill,...l]);u.forEach((p,f)=>{p===Ft?i.add(f):p===Ce&&t.add(f)}),n||u.set("offset",o/this.duration),s.push(u)});let r=[...i.values()],a=[...t.values()];if(n){let l=s[0],o=new Map(l);l.set("offset",0),o.set("offset",1),s=[l,o]}return Kn(this.element,s,r,a,this.duration,this.startTime,this.easing,!1)}},Gn=class extends $i{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(i,t,n,s,r,a,l=!1){super(i,t,a.delay),this.keyframes=n,this.preStyleProps=s,this.postStyleProps=r,this._stretchStartingKeyframe=l,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let i=this.keyframes,{delay:t,duration:n,easing:s}=this.timings;if(this._stretchStartingKeyframe&&t){let r=[],a=n+t,l=t/a,o=new Map(i[0]);o.set("offset",0),r.push(o);let u=new Map(i[0]);u.set("offset",Xa(l)),r.push(u);let p=i.length-1;for(let f=1;f<=p;f++){let g=new Map(i[f]),c=g.get("offset"),d=t+c*n;g.set("offset",Xa(d/a)),r.push(g)}n=a,t=0,s="",i=r}return Kn(this.element,i,this.preStyleProps,this.postStyleProps,n,t,s,!0)}};function Xa(e,i=3){let t=Math.pow(10,i-1);return Math.round(e*t)/t}function ql(e,i){let t=new Map,n;return e.forEach(s=>{if(s==="*"){n??=i.keys();for(let r of n)t.set(r,Ce)}else for(let[r,a]of s)t.set(r,a)}),t}function Ka(e,i,t,n,s,r,a,l,o,u,p,f,g){return{type:0,element:e,triggerName:i,isRemovalTransition:s,fromState:t,fromStyles:r,toState:n,toStyles:a,timelines:l,queriedElements:o,preStyleProps:u,postStyleProps:p,totalTime:f,errors:g}}var Dn={},Fi=class{_triggerName;ast;_stateStyles;constructor(i,t,n){this._triggerName=i,this.ast=t,this._stateStyles=n}match(i,t,n,s){return Yl(this.ast.matchers,i,t,n,s)}buildStyles(i,t,n){let s=this._stateStyles.get("*");return i!==void 0&&(s=this._stateStyles.get(i?.toString())||s),s?s.buildStyles(t,n):new Map}build(i,t,n,s,r,a,l,o,u,p){let f=[],g=this.ast.options&&this.ast.options.params||Dn,c=l&&l.params||Dn,d=this.buildStyles(n,c,f),m=o&&o.params||Dn,b=this.buildStyles(s,m,f),h=new Set,v=new Map,y=new Map,M=s==="void",P={params:ao(m,g),delay:this.ast.options?.delay},C=p?[]:ro(i,t,this.ast.animation,r,a,d,b,P,u,f),O=0;return C.forEach(S=>{O=Math.max(S.duration+S.delay,O)}),f.length?Ka(t,this._triggerName,n,s,M,d,b,[],[],v,y,O,f):(C.forEach(S=>{let D=S.element,k=he(v,D,new Set);S.preStyleProps.forEach(_=>k.add(_));let x=he(y,D,new Set);S.postStyleProps.forEach(_=>x.add(_)),D!==t&&h.add(D)}),Ka(t,this._triggerName,n,s,M,d,b,C,[...h.values()],v,y,O))}};function Yl(e,i,t,n,s){return e.some(r=>r(i,t,n,s))}function ao(e,i){let t=ee({},i);return Object.entries(e).forEach(([n,s])=>{s!=null&&(t[n]=s)}),t}var Hn=class{styles;defaultParams;normalizer;constructor(i,t,n){this.styles=i,this.defaultParams=t,this.normalizer=n}buildStyles(i,t){let n=new Map,s=ao(i,this.defaultParams);return this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((a,l)=>{a&&(a=Mt(a,s,t));let o=this.normalizer.normalizePropertyName(l,t);a=this.normalizer.normalizeStyleValue(l,o,a,t),n.set(l,a)})}),n}};function Ul(e,i,t){return new jn(e,i,t)}var jn=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(i,t,n){this.name=i,this.ast=t,this._normalizer=n,t.states.forEach(s=>{let r=s.options&&s.options.params||{};this.states.set(s.name,new Hn(s.style,r,n))}),Qa(this.states,"true","1"),Qa(this.states,"false","0"),t.transitions.forEach(s=>{this.transitionFactories.push(new Fi(i,s,this.states))}),this.fallbackTransition=Xl(i,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(i,t,n,s){return this.transitionFactories.find(a=>a.match(i,t,n,s))||null}matchStyles(i,t,n){return this.fallbackTransition.buildStyles(i,t,n)}};function Xl(e,i,t){let n=[(a,l)=>!0],s={type:Y.Sequence,steps:[],options:null},r={type:Y.Transition,animation:s,matchers:n,options:null,queryCount:0,depCount:0};return new Fi(e,r,i)}function Qa(e,i,t){e.has(i)?e.has(t)||e.set(t,e.get(i)):e.has(t)&&e.set(i,e.get(t))}var Kl=new qt,Wn=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(i,t,n){this.bodyNode=i,this._driver=t,this._normalizer=n}register(i,t){let n=[],s=[],r=so(this._driver,t,n,s);if(n.length)throw Ia(n);this._animations.set(i,r)}_buildPlayer(i,t,n){let s=i.element,r=xn(this._normalizer,i.keyframes,t,n);return this._driver.animate(s,r,i.duration,i.delay,i.easing,[],!0)}create(i,t,n={}){let s=[],r=this._animations.get(i),a,l=new Map;if(r?(a=ro(this._driver,t,r,On,_i,new Map,new Map,n,Kl,s),a.forEach(p=>{let f=he(l,p.element,new Map);p.postStyleProps.forEach(g=>f.set(g,null))})):(s.push(La()),a=[]),s.length)throw Da(s);l.forEach((p,f)=>{p.forEach((g,c)=>{p.set(c,this._driver.computeStyle(f,c,Ce))})});let o=a.map(p=>{let f=l.get(p.element);return this._buildPlayer(p,new Map,f)}),u=$e(o);return this._playersById.set(i,u),u.onDestroy(()=>this.destroy(i)),this.players.push(u),u}destroy(i){let t=this._getPlayer(i);t.destroy(),this._playersById.delete(i);let n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}_getPlayer(i){let t=this._playersById.get(i);if(!t)throw za(i);return t}listen(i,t,n,s){let r=xi(t,"","","");return Mi(this._getPlayer(i),n,r,s),()=>{}}command(i,t,n,s){if(n=="register"){this.register(i,s[0]);return}if(n=="create"){let a=s[0]||{};this.create(i,t,a);return}let r=this._getPlayer(i);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(s[0]));break;case"destroy":this.destroy(i);break}}},Za="ng-animate-queued",Ql=".ng-animate-queued",zn="ng-animate-disabled",Zl=".ng-animate-disabled",Jl="ng-star-inserted",ec=".ng-star-inserted",tc=[],oo={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ic={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Pe="__ng_removed",Yt=class{namespaceId;value;options;get params(){return this.options.params}constructor(i,t=""){this.namespaceId=t;let n=i&&i.hasOwnProperty("value"),s=n?i.value:i;if(this.value=sc(s),n){let r=i,{value:a}=r,l=hs(r,["value"]);this.options=l}else this.options={};this.options.params||(this.options.params={})}absorbOptions(i){let t=i.params;if(t){let n=this.options.params;Object.keys(t).forEach(s=>{n[s]==null&&(n[s]=t[s])})}}},Wt="void",Rn=new Yt(Wt),qn=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(i,t,n){this.id=i,this.hostElement=t,this._engine=n,this._hostClassName="ng-tns-"+i,Ee(t,this._hostClassName)}listen(i,t,n,s){if(!this._triggers.has(t))throw Ra(n,t);if(n==null||n.length==0)throw Na(t);if(!rc(n))throw $a(n,t);let r=he(this._elementListeners,i,[]),a={name:t,phase:n,callback:s};r.push(a);let l=he(this._engine.statesByElement,i,new Map);return l.has(t)||(Ee(i,Gt),Ee(i,Gt+"-"+t),l.set(t,Rn)),()=>{this._engine.afterFlush(()=>{let o=r.indexOf(a);o>=0&&r.splice(o,1),this._triggers.has(t)||l.delete(t)})}}register(i,t){return this._triggers.has(i)?!1:(this._triggers.set(i,t),!0)}_getTrigger(i){let t=this._triggers.get(i);if(!t)throw Fa(i);return t}trigger(i,t,n,s=!0){let r=this._getTrigger(t),a=new Ut(this.id,t,i),l=this._engine.statesByElement.get(i);l||(Ee(i,Gt),Ee(i,Gt+"-"+t),this._engine.statesByElement.set(i,l=new Map));let o=l.get(t),u=new Yt(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&o&&u.absorbOptions(o.options),l.set(t,u),o||(o=Rn),!(u.value===Wt)&&o.value===u.value){if(!lc(o.params,u.params)){let m=[],b=r.matchStyles(o.value,o.params,m),h=r.matchStyles(u.value,u.params,m);m.length?this._engine.reportError(m):this._engine.afterFlush(()=>{Ue(i,b),_e(i,h)})}return}let g=he(this._engine.playersByElement,i,[]);g.forEach(m=>{m.namespaceId==this.id&&m.triggerName==t&&m.queued&&m.destroy()});let c=r.matchTransition(o.value,u.value,i,u.params),d=!1;if(!c){if(!s)return;c=r.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:i,triggerName:t,transition:c,fromState:o,toState:u,player:a,isFallbackTransition:d}),d||(Ee(i,Za),a.onStart(()=>{xt(i,Za)})),a.onDone(()=>{let m=this.players.indexOf(a);m>=0&&this.players.splice(m,1);let b=this._engine.playersByElement.get(i);if(b){let h=b.indexOf(a);h>=0&&b.splice(h,1)}}),this.players.push(a),g.push(a),a}deregister(i){this._triggers.delete(i),this._engine.statesByElement.forEach(t=>t.delete(i)),this._elementListeners.forEach((t,n)=>{this._elementListeners.set(n,t.filter(s=>s.name!=i))})}clearElementCache(i){this._engine.statesByElement.delete(i),this._elementListeners.delete(i);let t=this._engine.playersByElement.get(i);t&&(t.forEach(n=>n.destroy()),this._engine.playersByElement.delete(i))}_signalRemovalForInnerTriggers(i,t){let n=this._engine.driver.query(i,Ht,!0);n.forEach(s=>{if(s[Pe])return;let r=this._engine.fetchNamespacesByElement(s);r.size?r.forEach(a=>a.triggerLeaveAnimation(s,t,!1,!0)):this.clearElementCache(s)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(s=>this.clearElementCache(s)))}triggerLeaveAnimation(i,t,n,s){let r=this._engine.statesByElement.get(i),a=new Map;if(r){let l=[];if(r.forEach((o,u)=>{if(a.set(u,o.value),this._triggers.has(u)){let p=this.trigger(i,u,Wt,s);p&&l.push(p)}}),l.length)return this._engine.markElementAsRemoved(this.id,i,!0,t,a),n&&$e(l).onDone(()=>this._engine.processLeaveNode(i)),!0}return!1}prepareLeaveAnimationListeners(i){let t=this._elementListeners.get(i),n=this._engine.statesByElement.get(i);if(t&&n){let s=new Set;t.forEach(r=>{let a=r.name;if(s.has(a))return;s.add(a);let o=this._triggers.get(a).fallbackTransition,u=n.get(a)||Rn,p=new Yt(Wt),f=new Ut(this.id,a,i);this._engine.totalQueuedPlayers++,this._queue.push({element:i,triggerName:a,transition:o,fromState:u,toState:p,player:f,isFallbackTransition:!0})})}}removeNode(i,t){let n=this._engine;if(i.childElementCount&&this._signalRemovalForInnerTriggers(i,t),this.triggerLeaveAnimation(i,t,!0))return;let s=!1;if(n.totalAnimations){let r=n.players.length?n.playersByQueriedElement.get(i):[];if(r&&r.length)s=!0;else{let a=i;for(;a=a.parentNode;)if(n.statesByElement.get(a)){s=!0;break}}}if(this.prepareLeaveAnimationListeners(i),s)n.markElementAsRemoved(this.id,i,!1,t);else{let r=i[Pe];(!r||r===oo)&&(n.afterFlush(()=>this.clearElementCache(i)),n.destroyInnerAnimations(i),n._onRemovalComplete(i,t))}}insertNode(i,t){Ee(i,this._hostClassName)}drainQueuedTransitions(i){let t=[];return this._queue.forEach(n=>{let s=n.player;if(s.destroyed)return;let r=n.element,a=this._elementListeners.get(r);a&&a.forEach(l=>{if(l.name==n.triggerName){let o=xi(r,n.triggerName,n.fromState.value,n.toState.value);o._data=i,Mi(n.player,l.phase,o,l.callback)}}),s.markedForDestroy?this._engine.afterFlush(()=>{s.destroy()}):t.push(n)}),this._queue=[],t.sort((n,s)=>{let r=n.transition.ast.depCount,a=s.transition.ast.depCount;return r==0||a==0?r-a:this._engine.driver.containsElement(n.element,s.element)?1:-1})}destroy(i){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,i)}},Yn=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(i,t)=>{};_onRemovalComplete(i,t){this.onRemovalComplete(i,t)}constructor(i,t,n){this.bodyNode=i,this.driver=t,this._normalizer=n}get queuedPlayers(){let i=[];return this._namespaceList.forEach(t=>{t.players.forEach(n=>{n.queued&&i.push(n)})}),i}createNamespace(i,t){let n=new qn(i,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[i]=n}_balanceNamespaceList(i,t){let n=this._namespaceList,s=this.namespacesByHostElement;if(n.length-1>=0){let a=!1,l=this.driver.getParentElement(t);for(;l;){let o=s.get(l);if(o){let u=n.indexOf(o);n.splice(u+1,0,i),a=!0;break}l=this.driver.getParentElement(l)}a||n.unshift(i)}else n.push(i);return s.set(t,i),i}register(i,t){let n=this._namespaceLookup[i];return n||(n=this.createNamespace(i,t)),n}registerTrigger(i,t,n){let s=this._namespaceLookup[i];s&&s.register(t,n)&&this.totalAnimations++}destroy(i,t){i&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let n=this._fetchNamespace(i);this.namespacesByHostElement.delete(n.hostElement);let s=this._namespaceList.indexOf(n);s>=0&&this._namespaceList.splice(s,1),n.destroy(t),delete this._namespaceLookup[i]}))}_fetchNamespace(i){return this._namespaceLookup[i]}fetchNamespacesByElement(i){let t=new Set,n=this.statesByElement.get(i);if(n){for(let s of n.values())if(s.namespaceId){let r=this._fetchNamespace(s.namespaceId);r&&t.add(r)}}return t}trigger(i,t,n,s){if(Li(t)){let r=this._fetchNamespace(i);if(r)return r.trigger(t,n,s),!0}return!1}insertNode(i,t,n,s){if(!Li(t))return;let r=t[Pe];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;let a=this.collectedLeaveElements.indexOf(t);a>=0&&this.collectedLeaveElements.splice(a,1)}if(i){let a=this._fetchNamespace(i);a&&a.insertNode(t,n)}s&&this.collectEnterElement(t)}collectEnterElement(i){this.collectedEnterElements.push(i)}markElementAsDisabled(i,t){t?this.disabledNodes.has(i)||(this.disabledNodes.add(i),Ee(i,zn)):this.disabledNodes.has(i)&&(this.disabledNodes.delete(i),xt(i,zn))}removeNode(i,t,n){if(Li(t)){let s=i?this._fetchNamespace(i):null;s?s.removeNode(t,n):this.markElementAsRemoved(i,t,!1,n);let r=this.namespacesByHostElement.get(t);r&&r.id!==i&&r.removeNode(t,n)}else this._onRemovalComplete(t,n)}markElementAsRemoved(i,t,n,s,r){this.collectedLeaveElements.push(t),t[Pe]={namespaceId:i,setForRemoval:s,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:r}}listen(i,t,n,s,r){return Li(t)?this._fetchNamespace(i).listen(t,n,s,r):()=>{}}_buildInstruction(i,t,n,s,r){return i.transition.build(this.driver,i.element,i.fromState.value,i.toState.value,n,s,i.fromState.options,i.toState.options,t,r)}destroyInnerAnimations(i){let t=this.driver.query(i,Ht,!0);t.forEach(n=>this.destroyActiveAnimationsForElement(n)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(i,Pi,!0),t.forEach(n=>this.finishActiveQueriedAnimationOnElement(n)))}destroyActiveAnimationsForElement(i){let t=this.playersByElement.get(i);t&&t.forEach(n=>{n.queued?n.markedForDestroy=!0:n.destroy()})}finishActiveQueriedAnimationOnElement(i){let t=this.playersByQueriedElement.get(i);t&&t.forEach(n=>n.finish())}whenRenderingDone(){return new Promise(i=>{if(this.players.length)return $e(this.players).onDone(()=>i());i()})}processLeaveNode(i){let t=i[Pe];if(t&&t.setForRemoval){if(i[Pe]=oo,t.namespaceId){this.destroyInnerAnimations(i);let n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(i)}this._onRemovalComplete(i,t.setForRemoval)}i.classList?.contains(zn)&&this.markElementAsDisabled(i,!1),this.driver.query(i,Zl,!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(i=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((n,s)=>this._balanceNamespaceList(n,s)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++){let s=this.collectedEnterElements[n];Ee(s,Jl)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let n=[];try{t=this._flushAnimations(n,i)}finally{for(let s=0;s<n.length;s++)n[s]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++){let s=this.collectedLeaveElements[n];this.processLeaveNode(s)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(n=>n()),this._flushFns=[],this._whenQuietFns.length){let n=this._whenQuietFns;this._whenQuietFns=[],t.length?$e(t).onDone(()=>{n.forEach(s=>s())}):n.forEach(s=>s())}}reportError(i){throw Ba(i)}_flushAnimations(i,t){let n=new qt,s=[],r=new Map,a=[],l=new Map,o=new Map,u=new Map,p=new Set;this.disabledNodes.forEach(E=>{p.add(E);let T=this.driver.query(E,Ql,!0);for(let w=0;w<T.length;w++)p.add(T[w])});let f=this.bodyNode,g=Array.from(this.statesByElement.keys()),c=to(g,this.collectedEnterElements),d=new Map,m=0;c.forEach((E,T)=>{let w=On+m++;d.set(T,w),E.forEach(z=>Ee(z,w))});let b=[],h=new Set,v=new Set;for(let E=0;E<this.collectedLeaveElements.length;E++){let T=this.collectedLeaveElements[E],w=T[Pe];w&&w.setForRemoval&&(b.push(T),h.add(T),w.hasAnimation?this.driver.query(T,ec,!0).forEach(z=>h.add(z)):v.add(T))}let y=new Map,M=to(g,Array.from(h));M.forEach((E,T)=>{let w=_i+m++;y.set(T,w),E.forEach(z=>Ee(z,w))}),i.push(()=>{c.forEach((E,T)=>{let w=d.get(T);E.forEach(z=>xt(z,w))}),M.forEach((E,T)=>{let w=y.get(T);E.forEach(z=>xt(z,w))}),b.forEach(E=>{this.processLeaveNode(E)})});let P=[],C=[];for(let E=this._namespaceList.length-1;E>=0;E--)this._namespaceList[E].drainQueuedTransitions(t).forEach(w=>{let z=w.player,B=w.element;if(P.push(z),this.collectedEnterElements.length){let R=B[Pe];if(R&&R.setForMove){if(R.previousTriggersValues&&R.previousTriggersValues.has(w.triggerName)){let G=R.previousTriggersValues.get(w.triggerName),Q=this.statesByElement.get(w.element);if(Q&&Q.has(w.triggerName)){let be=Q.get(w.triggerName);be.value=G,Q.set(w.triggerName,be)}}z.destroy();return}}let U=!f||!this.driver.containsElement(f,B),J=y.get(B),ie=d.get(B),L=this._buildInstruction(w,n,ie,J,U);if(L.errors&&L.errors.length){C.push(L);return}if(U){z.onStart(()=>Ue(B,L.fromStyles)),z.onDestroy(()=>_e(B,L.toStyles)),s.push(z);return}if(w.isFallbackTransition){z.onStart(()=>Ue(B,L.fromStyles)),z.onDestroy(()=>_e(B,L.toStyles)),s.push(z);return}let F=[];L.timelines.forEach(R=>{R.stretchStartingKeyframe=!0,this.disabledNodes.has(R.element)||F.push(R)}),L.timelines=F,n.append(B,L.timelines);let $={instruction:L,player:z,element:B};a.push($),L.queriedElements.forEach(R=>he(l,R,[]).push(z)),L.preStyleProps.forEach((R,G)=>{if(R.size){let Q=o.get(G);Q||o.set(G,Q=new Set),R.forEach((be,Se)=>Q.add(Se))}}),L.postStyleProps.forEach((R,G)=>{let Q=u.get(G);Q||u.set(G,Q=new Set),R.forEach((be,Se)=>Q.add(Se))})});if(C.length){let E=[];C.forEach(T=>{E.push(Va(T.triggerName,T.errors))}),P.forEach(T=>T.destroy()),this.reportError(E)}let O=new Map,S=new Map;a.forEach(E=>{let T=E.element;n.has(T)&&(S.set(T,T),this._beforeAnimationBuild(E.player.namespaceId,E.instruction,O))}),s.forEach(E=>{let T=E.element;this._getPreviousPlayers(T,!1,E.namespaceId,E.triggerName,null).forEach(z=>{he(O,T,[]).push(z),z.destroy()})});let D=b.filter(E=>io(E,o,u)),k=new Map;eo(k,this.driver,v,u,Ce).forEach(E=>{io(E,o,u)&&D.push(E)});let _=new Map;c.forEach((E,T)=>{eo(_,this.driver,new Set(E),o,Ft)}),D.forEach(E=>{let T=k.get(E),w=_.get(E);k.set(E,new Map([...T?.entries()??[],...w?.entries()??[]]))});let A=[],I=[],N={};a.forEach(E=>{let{element:T,player:w,instruction:z}=E;if(n.has(T)){if(p.has(T)){w.onDestroy(()=>_e(T,z.toStyles)),w.disabled=!0,w.overrideTotalTime(z.totalTime),s.push(w);return}let B=N;if(S.size>1){let J=T,ie=[];for(;J=J.parentNode;){let L=S.get(J);if(L){B=L;break}ie.push(J)}ie.forEach(L=>S.set(L,B))}let U=this._buildAnimation(w.namespaceId,z,O,r,_,k);if(w.setRealPlayer(U),B===N)A.push(w);else{let J=this.playersByElement.get(B);J&&J.length&&(w.parentPlayer=$e(J)),s.push(w)}}else Ue(T,z.fromStyles),w.onDestroy(()=>_e(T,z.toStyles)),I.push(w),p.has(T)&&s.push(w)}),I.forEach(E=>{let T=r.get(E.element);if(T&&T.length){let w=$e(T);E.setRealPlayer(w)}}),s.forEach(E=>{E.parentPlayer?E.syncPlayerEvents(E.parentPlayer):E.destroy()});for(let E=0;E<b.length;E++){let T=b[E],w=T[Pe];if(xt(T,_i),w&&w.hasAnimation)continue;let z=[];if(l.size){let U=l.get(T);U&&U.length&&z.push(...U);let J=this.driver.query(T,Pi,!0);for(let ie=0;ie<J.length;ie++){let L=l.get(J[ie]);L&&L.length&&z.push(...L)}}let B=z.filter(U=>!U.destroyed);B.length?ac(this,T,B):this.processLeaveNode(T)}return b.length=0,A.forEach(E=>{this.players.push(E),E.onDone(()=>{E.destroy();let T=this.players.indexOf(E);this.players.splice(T,1)}),E.play()}),A}afterFlush(i){this._flushFns.push(i)}afterFlushAnimationsDone(i){this._whenQuietFns.push(i)}_getPreviousPlayers(i,t,n,s,r){let a=[];if(t){let l=this.playersByQueriedElement.get(i);l&&(a=l)}else{let l=this.playersByElement.get(i);if(l){let o=!r||r==Wt;l.forEach(u=>{u.queued||!o&&u.triggerName!=s||a.push(u)})}}return(n||s)&&(a=a.filter(l=>!(n&&n!=l.namespaceId||s&&s!=l.triggerName))),a}_beforeAnimationBuild(i,t,n){let s=t.triggerName,r=t.element,a=t.isRemovalTransition?void 0:i,l=t.isRemovalTransition?void 0:s;for(let o of t.timelines){let u=o.element,p=u!==r,f=he(n,u,[]);this._getPreviousPlayers(u,p,a,l,t.toState).forEach(c=>{let d=c.getRealPlayer();d.beforeDestroy&&d.beforeDestroy(),c.destroy(),f.push(c)})}Ue(r,t.fromStyles)}_buildAnimation(i,t,n,s,r,a){let l=t.triggerName,o=t.element,u=[],p=new Set,f=new Set,g=t.timelines.map(d=>{let m=d.element;p.add(m);let b=m[Pe];if(b&&b.removedBeforeQueried)return new it(d.duration,d.delay);let h=m!==o,v=oc((n.get(m)||tc).map(O=>O.getRealPlayer())).filter(O=>{let S=O;return S.element?S.element===m:!1}),y=r.get(m),M=a.get(m),P=xn(this._normalizer,d.keyframes,y,M),C=this._buildPlayer(d,P,v);if(d.subTimeline&&s&&f.add(m),h){let O=new Ut(i,l,m);O.setRealPlayer(C),u.push(O)}return C});u.forEach(d=>{he(this.playersByQueriedElement,d.element,[]).push(d),d.onDone(()=>nc(this.playersByQueriedElement,d.element,d))}),p.forEach(d=>Ee(d,kn));let c=$e(g);return c.onDestroy(()=>{p.forEach(d=>xt(d,kn)),_e(o,t.toStyles)}),f.forEach(d=>{he(s,d,[]).push(c)}),c}_buildPlayer(i,t,n){return t.length>0?this.driver.animate(i.element,t,i.duration,i.delay,i.easing,n):new it(i.duration,i.delay)}},Ut=class{namespaceId;triggerName;element;_player=new it;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(i,t,n){this.namespaceId=i,this.triggerName=t,this.element=n}setRealPlayer(i){this._containsRealPlayer||(this._player=i,this._queuedCallbacks.forEach((t,n)=>{t.forEach(s=>Mi(i,n,void 0,s))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(i.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(i){this.totalTime=i}syncPlayerEvents(i){let t=this._player;t.triggerCallback&&i.onStart(()=>t.triggerCallback("start")),i.onDone(()=>this.finish()),i.onDestroy(()=>this.destroy())}_queueEvent(i,t){he(this._queuedCallbacks,i,[]).push(t)}onDone(i){this.queued&&this._queueEvent("done",i),this._player.onDone(i)}onStart(i){this.queued&&this._queueEvent("start",i),this._player.onStart(i)}onDestroy(i){this.queued&&this._queueEvent("destroy",i),this._player.onDestroy(i)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(i){this.queued||this._player.setPosition(i)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(i){let t=this._player;t.triggerCallback&&t.triggerCallback(i)}};function nc(e,i,t){let n=e.get(i);if(n){if(n.length){let s=n.indexOf(t);n.splice(s,1)}n.length==0&&e.delete(i)}return n}function sc(e){return e??null}function Li(e){return e&&e.nodeType===1}function rc(e){return e=="start"||e=="done"}function Ja(e,i){let t=e.style.display;return e.style.display=i??"none",t}function eo(e,i,t,n,s){let r=[];t.forEach(o=>r.push(Ja(o)));let a=[];n.forEach((o,u)=>{let p=new Map;o.forEach(f=>{let g=i.computeStyle(u,f,s);p.set(f,g),(!g||g.length==0)&&(u[Pe]=ic,a.push(u))}),e.set(u,p)});let l=0;return t.forEach(o=>Ja(o,r[l++])),a}function to(e,i){let t=new Map;if(e.forEach(l=>t.set(l,[])),i.length==0)return t;let n=1,s=new Set(i),r=new Map;function a(l){if(!l)return n;let o=r.get(l);if(o)return o;let u=l.parentNode;return t.has(u)?o=u:s.has(u)?o=n:o=a(u),r.set(l,o),o}return i.forEach(l=>{let o=a(l);o!==n&&t.get(o).push(l)}),t}function Ee(e,i){e.classList?.add(i)}function xt(e,i){e.classList?.remove(i)}function ac(e,i,t){$e(t).onDone(()=>e.processLeaveNode(i))}function oc(e){let i=[];return lo(e,i),i}function lo(e,i){for(let t=0;t<e.length;t++){let n=e[t];n instanceof bi?lo(n.players,i):i.push(n)}}function lc(e,i){let t=Object.keys(e),n=Object.keys(i);if(t.length!=n.length)return!1;for(let s=0;s<t.length;s++){let r=t[s];if(!i.hasOwnProperty(r)||e[r]!==i[r])return!1}return!0}function io(e,i,t){let n=t.get(e);if(!n)return!1;let s=i.get(e);return s?n.forEach(r=>s.add(r)):i.set(e,n),t.delete(e),!0}var Ct=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(i,t)=>{};constructor(i,t,n){this._driver=t,this._normalizer=n,this._transitionEngine=new Yn(i.body,t,n),this._timelineEngine=new Wn(i.body,t,n),this._transitionEngine.onRemovalComplete=(s,r)=>this.onRemovalComplete(s,r)}registerTrigger(i,t,n,s,r){let a=i+"-"+s,l=this._triggerCache[a];if(!l){let o=[],u=[],p=so(this._driver,r,o,u);if(o.length)throw ka(s,o);l=Ul(s,p,this._normalizer),this._triggerCache[a]=l}this._transitionEngine.registerTrigger(t,s,l)}register(i,t){this._transitionEngine.register(i,t)}destroy(i,t){this._transitionEngine.destroy(i,t)}onInsert(i,t,n,s){this._transitionEngine.insertNode(i,t,n,s)}onRemove(i,t,n){this._transitionEngine.removeNode(i,t,n)}disableAnimations(i,t){this._transitionEngine.markElementAsDisabled(i,t)}process(i,t,n,s){if(n.charAt(0)=="@"){let[r,a]=Cn(n),l=s;this._timelineEngine.command(r,t,a,l)}else this._transitionEngine.trigger(i,t,n,s)}listen(i,t,n,s,r){if(n.charAt(0)=="@"){let[a,l]=Cn(n);return this._timelineEngine.listen(a,t,l,r)}return this._transitionEngine.listen(i,t,n,s,r)}flush(i=-1){this._transitionEngine.flush(i)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(i){this._transitionEngine.afterFlushAnimationsDone(i)}};function cc(e,i){let t=null,n=null;return Array.isArray(i)&&i.length?(t=Nn(i[0]),i.length>1&&(n=Nn(i[i.length-1]))):i instanceof Map&&(t=Nn(i)),t||n?new dc(e,t,n):null}var dc=(()=>{class e{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(t,n,s){this._element=t,this._startStyles=n,this._endStyles=s;let r=e.initialStylesByElement.get(t);r||e.initialStylesByElement.set(t,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&_e(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(_e(this._element,this._initialStyles),this._endStyles&&(_e(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(Ue(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ue(this._element,this._endStyles),this._endStyles=null),_e(this._element,this._initialStyles),this._state=3)}}return e})();function Nn(e){let i=null;return e.forEach((t,n)=>{uc(n)&&(i=i||new Map,i.set(n,t))}),i}function uc(e){return e==="display"||e==="position"}var Bi=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer=null;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(i,t,n,s){this.element=i,this.keyframes=t,this.options=n,this._specialStyles=s,this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(i=>i()),this._onDoneFns=[])}init(){this._buildPlayer()&&this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return this.domPlayer;this._initialized=!0;let i=this.keyframes,t=this._triggerWebAnimation(this.element,i,this.options);if(!t)return this._onFinish(),null;this.domPlayer=t,this._finalKeyframe=i.length?i[i.length-1]:new Map;let n=()=>this._onFinish();return t.addEventListener("finish",n),this.onDestroy(()=>{t.removeEventListener("finish",n)}),t}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(i){let t=[];return i.forEach(n=>{t.push(Object.fromEntries(n))}),t}_triggerWebAnimation(i,t,n){let s=this._convertKeyframesToObject(t);try{return i.animate(s,n)}catch{return null}}onStart(i){this._originalOnStartFns.push(i),this._onStartFns.push(i)}onDone(i){this._originalOnDoneFns.push(i),this._onDoneFns.push(i)}onDestroy(i){this._onDestroyFns.push(i)}play(){let i=this._buildPlayer();i&&(this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),i.play())}pause(){this.init(),this.domPlayer?.pause()}finish(){this.init(),this.domPlayer&&(this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish())}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer?.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(i=>i()),this._onDestroyFns=[])}setPosition(i){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=i*this.time)}getPosition(){return this.domPlayer?+(this.domPlayer.currentTime??0)/this.time:this._initialized?1:0}get totalTime(){return this._delay+this._duration}beforeDestroy(){let i=new Map;this.hasStarted()&&this._finalKeyframe.forEach((n,s)=>{s!=="offset"&&i.set(s,this._finished?n:Oi(this.element,s))}),this.currentSnapshot=i}triggerCallback(i){let t=i==="start"?this._onStartFns:this._onDoneFns;t.forEach(n=>n()),t.length=0}},Vi=class{validateStyleProperty(i){return!0}validateAnimatableStyleProperty(i){return!0}containsElement(i,t){return _n(i,t)}getParentElement(i){return Ci(i)}query(i,t,n){return Pn(i,t,n)}computeStyle(i,t,n){return Oi(i,t)}animate(i,t,n,s,r,a=[]){let l=s==0?"both":"forwards",o={duration:n,delay:s,fill:l};r&&(o.easing=r);let u=new Map,p=a.filter(c=>c instanceof Bi);Wa(n,s)&&p.forEach(c=>{c.currentSnapshot.forEach((d,m)=>u.set(m,d))});let f=Ha(t).map(c=>new Map(c));f=qa(i,f,u);let g=cc(i,f);return new Bi(i,f,o,g)}};var Di="@",co="@.disabled",Gi=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(i,t,n,s){this.namespaceId=i,this.delegate=t,this.engine=n,this._onDestroy=s}get data(){return this.delegate.data}destroyNode(i){this.delegate.destroyNode?.(i)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(i,t){return this.delegate.createElement(i,t)}createComment(i){return this.delegate.createComment(i)}createText(i){return this.delegate.createText(i)}appendChild(i,t){this.delegate.appendChild(i,t),this.engine.onInsert(this.namespaceId,t,i,!1)}insertBefore(i,t,n,s=!0){this.delegate.insertBefore(i,t,n),this.engine.onInsert(this.namespaceId,t,i,s)}removeChild(i,t,n,s){if(s){this.delegate.removeChild(i,t,n,s);return}this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(i,t){return this.delegate.selectRootElement(i,t)}parentNode(i){return this.delegate.parentNode(i)}nextSibling(i){return this.delegate.nextSibling(i)}setAttribute(i,t,n,s){this.delegate.setAttribute(i,t,n,s)}removeAttribute(i,t,n){this.delegate.removeAttribute(i,t,n)}addClass(i,t){this.delegate.addClass(i,t)}removeClass(i,t){this.delegate.removeClass(i,t)}setStyle(i,t,n,s){this.delegate.setStyle(i,t,n,s)}removeStyle(i,t,n){this.delegate.removeStyle(i,t,n)}setProperty(i,t,n){t.charAt(0)==Di&&t==co?this.disableAnimations(i,!!n):this.delegate.setProperty(i,t,n)}setValue(i,t){this.delegate.setValue(i,t)}listen(i,t,n,s){return this.delegate.listen(i,t,n,s)}disableAnimations(i,t){this.engine.disableAnimations(i,t)}},Un=class extends Gi{factory;constructor(i,t,n,s,r){super(t,n,s,r),this.factory=i,this.namespaceId=t}setProperty(i,t,n){t.charAt(0)==Di?t.charAt(1)=="."&&t==co?(n=n===void 0?!0:!!n,this.disableAnimations(i,n)):this.engine.process(this.namespaceId,i,t.slice(1),n):this.delegate.setProperty(i,t,n)}listen(i,t,n,s){if(t.charAt(0)==Di){let r=fc(i),a=t.slice(1),l="";return a.charAt(0)!=Di&&([a,l]=pc(a)),this.engine.listen(this.namespaceId,r,a,l,o=>{let u=o._data||-1;this.factory.scheduleListenerCallback(u,n,o)})}return this.delegate.listen(i,t,n,s)}};function fc(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}function pc(e){let i=e.indexOf("."),t=e.substring(0,i),n=e.slice(i+1);return[t,n]}var Hi=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(i,t,n){this.delegate=i,this.engine=t,this._zone=n,t.onRemovalComplete=(s,r)=>{r?.removeChild(null,s)}}createRenderer(i,t){let s=this.delegate.createRenderer(i,t);if(!i||!t?.data?.animation){let u=this._rendererCache,p=u.get(s);if(!p){let f=()=>u.delete(s);p=new Gi("",s,this.engine,f),u.set(s,p)}return p}let r=t.id,a=t.id+"-"+this._currentId;this._currentId++,this.engine.register(a,i);let l=u=>{Array.isArray(u)?u.forEach(l):this.engine.registerTrigger(r,a,i,u.name,u)};return t.data.animation.forEach(l),new Un(this,a,s,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(i,t,n){if(i>=0&&i<this._microtaskId){this._zone.run(()=>t(n));return}let s=this._animationCallbacksBuffer;s.length==0&&queueMicrotask(()=>{this._zone.run(()=>
1{s.forEach(r=>{let[a,l]=r;a(l)}),this._animationCallbacksBuffer=[]})}),s.push([t,n])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(i){this.engine.flush(),this.delegate.componentReplaced?.(i)}};var hc=(()=>{class e extends Ct{constructor(t,n,s){super(t,n,s)}ngOnDestroy(){this.flush()}static \u0275fac=function(n){return new(n||e)(oe(gt),oe(at),oe(ot))};static \u0275prov=re({token:e,factory:e.\u0275fac})}return e})();function gc(){return new zi}function vc(e,i,t){return new Hi(e,i,t)}var uo=[{provide:ot,useFactory:gc},{provide:Ct,useClass:hc},{provide:As,useFactory:vc,deps:[zs,Ct,Ye]}],Tf=[{provide:at,useClass:Xn},{provide:sn,useValue:"NoopAnimations"},...uo],yc=[{provide:at,useFactory:()=>new Vi},{provide:sn,useFactory:()=>"BrowserAnimations"},...uo];function fo(){return Ps("NgEagerAnimations"),[...yc]}var Qn=new We("API_BASE_URL"),po=(()=>{let i=class i{constructor(){this.platformId=V(qe),this.baseUrl=V(Qn)}intercept(n,s){if(ci(this.platformId)&&n.url.startsWith("/")){let r=n.clone({url:`${this.baseUrl}${n.url}`});return s.handle(r)}return s.handle(n)}};i.\u0275fac=function(s){return new(s||i)},i.\u0275prov=re({token:i,factory:i.\u0275fac});let e=i;return e})();var Zn="Service workers are disabled or not supported by this browser",_t=class{serviceWorker;worker;registration;events;constructor(i,t){if(this.serviceWorker=i,!i)this.worker=this.events=this.registration=new ii(n=>n.error(new q(5601,!1)));else{let n=null,s=new ni;this.worker=new ii(u=>(n!==null&&u.next(n),s.subscribe(p=>u.next(p))));let r=()=>{let{controller:u}=i;u!==null&&(n=u,s.next(n))};i.addEventListener("controllerchange",r),r(),this.registration=this.worker.pipe(ze(()=>i.getRegistration().then(u=>{if(!u)throw new q(5601,!1);return u})));let a=new ni;this.events=a.asObservable();let l=u=>{let{data:p}=u;p?.type&&a.next(p)};i.addEventListener("message",l),t?.get(rn,null,{optional:!0})?.onDestroy(()=>{i.removeEventListener("controllerchange",r),i.removeEventListener("message",l)})}}postMessage(i,t){return new Promise(n=>{this.worker.pipe(ht(1)).subscribe(s=>{s.postMessage(ee({action:i},t)),n()})})}postMessageWithOperation(i,t,n){let s=this.waitForOperationCompleted(n),r=this.postMessage(i,t);return Promise.all([r,s]).then(([,a])=>a)}generateNonce(){return Math.round(Math.random()*1e7)}eventsOfType(i){let t;return typeof i=="string"?t=n=>n.type===i:t=n=>i.includes(n.type),this.events.pipe(ce(t))}nextEventOfType(i){return this.eventsOfType(i).pipe(ht(1))}waitForOperationCompleted(i){return new Promise((t,n)=>{this.eventsOfType("OPERATION_COMPLETED").pipe(ce(s=>s.nonce===i),ht(1),le(s=>{if(s.result!==void 0)return s.result;throw new Error(s.error)})).subscribe({next:t,error:n})})}get isEnabled(){return!!this.serviceWorker}},bc=(()=>{class e{sw;messages;notificationClicks;notificationCloses;pushSubscriptionChanges;subscription;get isEnabled(){return this.sw.isEnabled}pushManager=null;subscriptionChanges=new ni;constructor(t){if(this.sw=t,!t.isEnabled){this.messages=je,this.notificationClicks=je,this.notificationCloses=je,this.pushSubscriptionChanges=je,this.subscription=je;return}this.messages=this.sw.eventsOfType("PUSH").pipe(le(s=>s.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe(le(s=>s.data)),this.notificationCloses=this.sw.eventsOfType("NOTIFICATION_CLOSE").pipe(le(s=>s.data)),this.pushSubscriptionChanges=this.sw.eventsOfType("PUSH_SUBSCRIPTION_CHANGE").pipe(le(s=>s.data)),this.pushManager=this.sw.registration.pipe(le(s=>s.pushManager));let n=this.pushManager.pipe(ze(s=>s.getSubscription()));this.subscription=new ii(s=>{let r=n.subscribe(s),a=this.subscriptionChanges.subscribe(s);return()=>{r.unsubscribe(),a.unsubscribe()}})}requestSubscription(t){if(!this.sw.isEnabled||this.pushManager===null)return Promise.reject(new Error(Zn));let n={userVisibleOnly:!0},s=this.decodeBase64(t.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),r=new 
1Uint8Array(new ArrayBuffer(s.length));for(let a=0;a<s.length;a++)r[a]=s.charCodeAt(a);return n.applicationServerKey=r,new Promise((a,l)=>{this.pushManager.pipe(ze(o=>o.subscribe(n)),ht(1)).subscribe({next:o=>{this.subscriptionChanges.next(o),a(o)},error:l})})}unsubscribe(){if(!this.sw.isEnabled)return Promise.reject(new Error(Zn));let t=n=>{if(n===null)throw new q(5602,!1);return n.unsubscribe().then(s=>{if(!s)throw new q(5603,!1);this.subscriptionChanges.next(null)})};return new Promise((n,s)=>{this.subscription.pipe(ht(1),ze(t)).subscribe({next:n,error:s})})}decodeBase64(t){return atob(t)}static \u0275fac=function(n){return new(n||e)(oe(_t))};static \u0275prov=re({token:e,factory:e.\u0275fac})}return e})(),Jn=(()=>{class e{sw;versionUpdates;unrecoverable;get isEnabled(){return this.sw.isEnabled}ongoingCheckForUpdate=null;constructor(t){if(this.sw=t,!t.isEnabled){this.versionUpdates=je,this.unrecoverable=je;return}this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Zn));if(this.ongoingCheckForUpdate)return this.ongoingCheckForUpdate;let t=this.sw.generateNonce();return this.ongoingCheckForUpdate=this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:t},t).finally(()=>{this.ongoingCheckForUpdate=null}),this.ongoingCheckForUpdate}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new q(5601,!1));let t=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:t},t)}static \u0275fac=function(n){return new(n||e)(oe(_t))};static \u0275prov=re({token:e,factory:e.\u0275fac})}return e})();var ho=new We("");function Sc(){let e=V(Xt);if(!("serviceWorker"in navigator&&e.enabled!==!1))return;let i=V(ho),t=V(Ye),n=V(rn);t.runOutsideAngular(()=>{let s=navigator.serviceWorker,r=()=>s.controller?.postMessage({action:"INITIALIZE"});s.addEventListener("controllerchange",r),n.onDestroy(()=>{s.removeEventListener("controllerchange",r)})}),t.runOutsideAngular(()=>{let s,{registrationStrategy:r}=e;if(typeof r=="function")s=new Promise(a=>r().subscribe(()=>a()));else{let[a,...l]=(r||"registerWhenStable:30000").split(":");switch(a){case"registerImmediately":s=Promise.resolve();break;case"registerWithDelay":s=mo(+l[0]||0);break;case"registerWhenStable":s=Promise.race([n.whenStable(),mo(+l[0])]);break;default:throw new q(5600,!1)}}s.then(()=>{n.destroyed||navigator.serviceWorker.register(i,{scope:e.scope,updateViaCache:e.updateViaCache,type:e.type}).catch(a=>console.error(Ts(5604,!1)))})})}function mo(e){return new Promise(i=>setTimeout(i,e))}function Ec(e,i){return new _t(e.enabled!==!1?navigator.serviceWorker:void 0,i)}var Xt=class{enabled;updateViaCache;type;scope;registrationStrategy};function go(e,i={}){return ai([bc,Jn,{provide:ho,useValue:e},{provide:Xt,useValue:i},{provide:_t,useFactory:Ec,deps:[Xt,Ms]},li(Sc)])}var ji=class{constructor(){this.actions$=V(Tt),this.store=V(me),this.songRatingChanged$=Re(()=>this.actions$.pipe(Ne(fr),zt(this.store.select(Bt("local")),this.store.select(Bt("remote"))),et(([i,t,n])=>{t?.songId===i.payload.songId&&this.store.dispatch(dn({instance:"local",songId:i.payload.songId,averageRating:i.payload.averageRating,ratingCount:i.payload.ratingCount})),n?.songId===i.payload.songId&&this.store.dispatch(dn({instance:"remote",songId:i.payload.songId,averageRating:i.payload.averageRating,ratingCount:i.payload.ratingCount}))})),{dispatch:!1})}};var Tc=new We("ngx-skeleton-loader.config");function vo(e){return ai([{provide:Tc,useValue:e}])}var yo=(()=>{let i=class i{constructor(){this.httpClient=V(Fs),this.transferState=V(Cs),this.platformId=V(qe)}get(n,s){if(s?.stateKey){let r=s.stateKey;if(this.transferState.hasKey(r)){let a=this.transferState.get(r,null);return this.transferState.remove(r),mt(a)}else return this.httpClient.get(n).pipe(et(a=>{ci(this.platformId)&&this.transferState.set(r,a)}))}else return this.httpClient.get(n,{params:this.toHttpParams(s?.params)})}getResponse(n,s){return this.httpClient.get(n,{observe:"response",responseType:"blob"}).pipe(Dt(r=>pt(this,null,function*(){let a=r.headers.keys(),l=new Map;for(let p of a)l.set(p,r.headers.get(p));let o=yield r.body.arrayBuffer(),u=new Uint8Array(o);return{headers:new Zs(l),body:u}})))}post(n,s){return this.httpClient.post(n,s)}put(n,s){return this.httpClient.put(n,s)}delete(n,s){return this.httpClient.delete(n,{body:s?.data,params:this.toHttpParams(s?.params)})}toHttpHeaders(n){if(n){let s=new Ns;for(let r of Object.keys(n)){let a=n[r];typeof a=="number"?s=s.set(r,`${a}`):typeof a=="boolean"?s=s.set(r,a?"true":"false"):s=s.set(r,a)}return s}else return}toHttpParams(n){if(n){let s=new $s;for(let r of Object.keys(n))s=s.set(r,n[r]);return s}else return}};i.\u0275fac=function(s){return new(s||i)},i.\u0275prov=re({token:i,factory:i.\u0275fac,providedIn:"root"});let e=i;return e})();var ue=class{constructor(i,t){this.store=i,this.selector=t}asGetter(){return Is(()=>this.store.selectSignal(this.selector))}asObservable(){return this.store.select(this.selector)}getValue(){return this.asGetter()()}};var es=(()=>{let i=class i{constructor(n,s){this.store=n,this.zone=s}
1dispatch(n){Ye.isInAngularZone()?this.store.dispatch(n):this.zone.run(()=>this.store.dispatch(n))}selectMe(){return new ue(this.store,Et)}selectAuthenticationToken(){return new ue(this.store,_r)}selectCurrentSong(n){return new ue(this.store,Bt(n))}selectRoomSessionRoomId(){return new ue(this.store,Ti)}selectRoomSessionRoom(){return new ue(this.store,Hr)}selectRoomSessionUsers(){return new ue(this.store,jr)}selectRoomSessionSongSubmissions(){return new ue(this.store,Wr)}selectRoomSessionSortedSongSubmissions(){return new ue(this.store,Ur)}selectRoomSessionNotFailedOrRejectedSubmissions(){return new ue(this.store,Xr)}selectRoomSessionUnplayedAndCompletedAndApprovedSongSubmissions(){return new ue(this.store,Kr)}selectRoomSessionPlayerInstances(){return new ue(this.store,qr)}selectRoomSessionPlayerInstanceCount(){return new ue(this.store,Yr)}};i.\u0275fac=function(s){return new(s||i)(oe(me),oe(Ye))},i.\u0275prov=re({token:i,factory:i.\u0275fac,providedIn:"root"});let e=i;return e})();function bo(){return[...wc([Js,er,ui,tr,ir,nr,sr,ln,rr,tt,cn,fi,pi]),{provide:St,useFactory:(i,t)=>new St(Si.origin.application,i,t),deps:[nt,es]},{provide:mn,useFactory:i=>new mn(i),deps:[ln]},{provide:pn,useFactory:(i,t,n,s)=>new pn(i,t,n,s),deps:[es,tt,cn,St]}]}function wc(e){return e.map(i=>({provide:i,useClass:i,deps:[yo]}))}var Wi=class{constructor(){this.roomApiService=V(tt),this.actions$=V(Tt),this.store=V(me),this.removeJoinedRoom$=Re(()=>this.actions$.pipe(Ne(Jr),zt(this.store.select(Ti)),ce(([i,t])=>t===i.payload),le(()=>hr()))),this.setRoomSessionStateConnectedEffect$=Re(()=>this.actions$.pipe(Ne(fn),zt(this.store.select(Et)),ce(([i])=>i.payload.status==="connected"),le(([{payload:i},t])=>{let{room:n}=i;return this.roomApiService.joinRoom(n.roomId).subscribe(()=>this.store.dispatch(Sn(n))),mr(t)}))),this.setRoomSessionStateFailedEffect$=Re(()=>this.actions$.pipe(Ne(fn),ce(i=>i.payload.status==="failed"),le(({payload:i})=>Sn(null))))}};function Mc(e,i,t,n){return()=>pt(null,null,function*(){Rt(n)&&(yield e.getOrRefreshAuthenticationToken().then(s=>(t.dispatch(mi(s)),vs(i.getMe()))).then(s=>t.dispatch(yr(s))).catch(()=>{}))})}var So={providers:[{provide:Qn,useValue:Si.origin.application},Bs(Vs(),Gs()),Xs(aa),Cr(da),Nr(ji,wi,Wi),{provide:Nt,useClass:po,multi:!0},{provide:Nt,useClass:ua,multi:!0},vo(),Mr({positionClass:"toast-bottom-right"}),fo(),ws(ma.forRoot({jwtOptionsProvider:{provide:Vt,useFactory:e=>({tokenGetter:()=>e.getOrRefreshAuthenticationToken().then(i=>i?.token).catch(()=>{}),disallowedRoutes:Qs}),deps:[nt]}})),li(()=>Mc(V(nt),V(pi),V(me),V(qe))()),na(),bo(),$r,Ds,Ws(js()),go("ngsw-worker.js",{enabled:!an(),registrationStrategy:"registerWhenStable:30000"})]};var Eo=(()=>{let i=class i extends Tr(){constructor(){super(...arguments),this.webSocketService=V(St),this.store=V(me),this.router=V(di),this.route=V(qs),this.snackBar=V(ta),this.analytics=V(ia),this.updates=V(Jn),this.meta=V(Hs),this.googleScriptLoaderService=V(xr),this.platformId=V(qe),this.document=V(gt)}ngOnInit(){let n=this.router.events.pipe(this.takeUntilDestroyed(),ce(s=>s instanceof on));si([this.store.select(Ir),n]).pipe(this.takeUntilDestroyed()).subscribe(([s])=>{let r=Rr.getRouteDataItem(this.route,vi);this.updateTheme(r||s)}),this.store.select(ca).pipe(this.takeUntilDestroyed(),Es(s=>s===!0)).subscribe({complete:()=>this.showUpdateSnackbar(),error:()=>{}}),this.webSocketService.getUserMessagesSubscription().pipe(this.takeUntilDestroyed()).subscribe(s=>{or(s)?this.store.dispatch(un(s.data)):lr(s)?this.store.dispatch(un(s.data.song)):ar(s)&&this.store.dispatch(hi(s.data.value))}),this.router.events.pipe(ce(s=>s instanceof on)).subscribe(s=>{this.analytics.trackPageView(s.urlAfterRedirects)}),this.updates.isEnabled&&this.updates.versionUpdates.pipe(ce(s=>s.type==="VERSION_READY"),ce(s=>s.currentVersion.hash!==s.latestVersion.hash)).subscribe(()=>this.store.dispatch(oa(!0))),Rt(this.platformId)&&this.googleScriptLoaderService.load()}onResume(){document.wasDiscarded&&window.location.reload()}updateTheme(n){n==="dark"?this.document.body.classList.contains($t)||this.document.body.classList.add($t):this.document.body.classList.contains($t)&&this.document.body.classList.remove($t),this.updateThemeColor()}updateThemeColor(){if(Rt(this.platformId)){let n=zr.getCSSColorVariable("--app-bar-background-color");this.meta.updateTag({name:"theme-color",content:n})}}showUpdateSnackbar(){this.snackBar.open($localize`Update Available`,$localize`Reload`,{horizontalPosition:"left"}).onAction().subscribe(()=>{document.location.reload()})}};i.\u0275fac=(()=>{let n;return function(r){return(n||(n=xs(i)))(r||i)}})(),i.\u0275cmp=vt({type:i,selectors:[["app-root"]],hostBindings:function(s,r){s&1&&ks("resume",function(){return r.onResume()},_s)},features:[Os],decls:2,vars:0,consts:[[1,"body-container"]],template:function(s,r){s&1&&(j(0,"div",0),pe(1,"router-outlet"),H())},dependencies:[Ys],styles:[".body-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}"]});let e=i;return e})();function To(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function ts(e={},i={}){let t=["__proto__","constructor","prototype"];Object.keys(i).filter(n=>
vendor: 33,949 bytes, line 1
1t.indexOf(n)<0).forEach(n=>{typeof e[n]>"u"?e[n]=i[n]:To(i[n])&&To(e[n])&&Object.keys(i[n]).length>0&&ts(e[n],i[n])})}var wo={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 Z(){let e=typeof document<"u"?document:{};return ts(e,wo),e}var xc={document:wo,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 K(){let e=typeof window<"u"?window:{};return ts(e,xc),e}function Fe(e=""){return e.trim().split(" ").filter(i=>!!i.trim())}function Mo(e){let i=e;Object.keys(i).forEach(t=>{try{i[t]=null}catch{}try{delete i[t]}catch{}})}function Ie(e,i=0){return setTimeout(e,i)}function fe(){return Date.now()}function Cc(e){let i=K(),t;return i.getComputedStyle&&(t=i.getComputedStyle(e,null)),!t&&e.currentStyle&&(t=e.currentStyle),t||(t=e.style),t}function Kt(e,i="x"){let t=K(),n,s,r,a=Cc(e);return t.WebKitCSSMatrix?(s=a.transform||a.webkitTransform,s.split(",").length>6&&(s=s.split(", ").map(l=>l.replace(",",".")).join(", ")),r=new t.WebKitCSSMatrix(s==="none"?"":s)):(r=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=r.toString().split(",")),i==="x"&&(t.WebKitCSSMatrix?s=r.m41:n.length===16?s=parseFloat(n[12]):s=parseFloat(n[4])),i==="y"&&(t.WebKitCSSMatrix?s=r.m42:n.length===16?s=parseFloat(n[13]):s=parseFloat(n[5])),s||0}function Pt(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function _c(e){return typeof window<"u"&&typeof window.HTMLElement<"u"?e instanceof HTMLElement:e&&(e.nodeType===1||e.nodeType===11)}function ve(...e){let i=Object(e[0]);for(let t=1;t<e.length;t+=1){let n=e[t];if(n!=null&&!_c(n)){let s=Object.keys(Object(n)).filter(r=>r!=="__proto__"&&r!=="constructor"&&r!=="prototype");for(let r=0,a=s.length;r<a;r+=1){let l=s[r],o=Object.getOwnPropertyDescriptor(n,l);o!==void 0&&o.enumerable&&(Pt(i[l])&&Pt(n[l])?n[l].__swiper__?i[l]=n[l]:ve(i[l],n[l]):!Pt(i[l])&&Pt(n[l])?(i[l]={},n[l].__swiper__?i[l]=n[l]:ve(i[l],n[l])):i[l]=n[l])}}}return i}function Be(e,i,t){e.style.setProperty(i,t)}function is({swiper:e,targetPosition:i,side:t}){let n=K(),s=-e.translate,r=null,a,l=e.params.speed;e.wrapperEl.style.scrollSnapType="none",n.cancelAnimationFrame(e.cssModeFrameID);let o=i>s?"next":"prev",u=(f,g)=>o==="next"&&f>=g||o==="prev"&&f<=g,p=()=>{a=new Date().getTime(),r===null&&(r=a);let f=Math.max(Math.min((a-r)/l,1),0),g=.5-Math.cos(f*Math.PI)/2,c=s+g*(i-s);if(u(c,i)&&(c=i),e.wrapperEl.scrollTo({[t]:c}),u(c,i)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[t]:c})}),n.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=n.requestAnimationFrame(p)};p()}function ye(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function te(e,i=""){let t=K(),n=[...e.children];return t.HTMLSlotElement&&e instanceof HTMLSlotElement&&n.push(...e.assignedElements()),i?n.filter(s=>s.matches(i)):n}function Pc(e,i){let t=[i];for(;t.length>0;){let n=t.shift();if(e===n)return!0;t.push(...n.children,...n.shadowRoot?n.shadowRoot.children:[],...n.assignedElements?n.assignedElements():[])}}function xo(e,i){let t=K(),n=i.contains(e);return!n&&t.HTMLSlotElement&&i instanceof HTMLSlotElement&&(n=[...i.assignedElements()].includes(e),n||(n=Pc(e,i))),n}function Qt(e){try{console.warn(e);return}catch{}}function ne(e,i=[]){let t=document.createElement(e);return t.classList.add(...Array.isArray(i)?i:Fe(i)),t}function lt(e){let i=K(),t=Z(),n=e.getBoundingClientRect(),s=t.body,r=e.clientTop||s.clientTop||0,a=e.clientLeft||s.clientLeft||0,l=e===i?i.scrollY:e.scrollTop,o=e===i?i.scrollX:e.scrollLeft;return{top:n.top+l-r,left:n.left+o-a}}function Co(e,i){let t=[];for(;e.previousElementSibling;){let n=e.previousElementSibling;i?n.matches(i)&&t.push(n):t.push(n),e=n}return t}function _o(e,i){let t=[];for(;e.nextElementSibling;){let n=e.nextElementSibling;i?n.matches(i)&&t.push(n):t.push(n),e=n}return t}function Ve(e,i){return K().getComputedStyle(e,null).getPropertyValue(i)}function Xe(e){let i=e,t;if(i){for(t=0;(i=i.previousSibling)!==null;)i.nodeType===1&&(t+=1);return t}}function Ae(e,i){let t=[],n=e.parentElement;for(;n;)i?n.matches(i)&&t.push(n):t.push(n),n=n.parentElement;return t}function Ke(e,i){function t(n){n.target===e&&(i.call(e,n),e.removeEventListener("transitionend",t))}i&&e.addEventListener("transitionend",t)}function Zt(e,i,t){let n=K();return t?e[i==="width"?"offsetWidth":"offsetHeight"]+parseFloat(n.getComputedStyle(e,null).getPropertyValue(i==="width"?"margin-right":"margin-top"))+parseFloat(n.getComputedStyle(e,null).getPropertyValue(i==="width"?"margin-left":"margin-bottom")):e.offsetWidth}function W(e){return(Array.isArray(e)?e:[e]).filter(i=>!!i)}function Qe(e){return i=>Math.abs(i)>0&&e.browser&&e.browser.need3dFix&&Math.abs(i)%90===0?i+.001:i}function se(e,i=""){typeof trustedTypes<"u"?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:t=>t}).createHTML(i):e.innerHTML=i}var ns;function Ac(){let e=K(),i=Z();return{smoothScroll:i.documentElement&&i.documentElement.style&&"scrollBehavior"in i.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&i instanceof e.DocumentTouch)}}function Io(){return ns||(ns=Ac()),ns}var ss;function Oc({userAgent:e}={}){let i=Io(),t=K(),n=t.navigator.platform,s=e||t.navigator.userAgent,r={ios:!1,android:!1},a=t.screen.width,l=t.screen.height,o=s.match(/(Android);?[\s\/]+([\d.]+)?/),u=s.match(/(iPad)(?!\1).*OS\s([\d_]+)/),p=s.match(/(iPod)(.*OS\s([\d_]+))?/),f=!u&&s.match(/(iPhone\sOS|iOS)\s([\d_]+)/),g=n==="Win32",c=n==="MacIntel",d=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!u&&c&&i.touch&&d.indexOf(`${a}x${l}`)>=0&&(u=s.match(/(Version)\/([\d.]+)/),u||(u=[0,1,"13_0_0"]),c=!1),o&&!g&&(r.os="android",r.android=!0),(u||f||p)&&(r.os="ios",r.ios=!0),r}function Lo(e={}){return ss||(ss=Oc(e)),ss}var rs;function kc(){let e=K(),i=Lo(),t=!1;function n(){let l=e.navigator.userAgent.toLowerCase();return l.indexOf("safari")>=0&&l.indexOf("chrome")<0&&l.indexOf("android")<0}if(n()){let l=String(e.navigator.userAgent);if(l.includes("Version/")){let[o,u]=l.split("Version/")[1].split(" ")[0].split(".").map(p=>Number(p));t=o<16||o===16&&u<2}}let s=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),r=n(),a=r||s&&i.ios;return{isSafari:t||r,needPerspectiveFix:t,need3dFix:a,isWebView:s}}function Do(){return rs||(rs=kc()),rs}function Ic({swiper:e,on:i,emit:t}){let n=K(),s=null,r=null,a=()=>{!e||e.destroyed||!e.initialized||(t("beforeResize"),t("resize"))},l=()=>{!e||e.destroyed||!e.initialized||(s=new ResizeObserver(p=>{r=n.requestAnimationFrame(()=>{let{width:f,height:g}=e,c=f,d=g;p.forEach(({contentBoxSize:m,contentRect:b,target:h})=>{h&&h!==e.el||(c=b?b.width:(m[0]||m).inlineSize,d=b?b.height:(m[0]||m).blockSize)}),(c!==f||d!==g)&&a()})}),s.observe(e.el))},o=()=>{r&&n.cancelAnimationFrame(r),s&&s.unobserve&&e.el&&(s.unobserve(e.el),s=null)},u=()=>{!e||e.destroyed||!e.initialized||t("orientationchange")};i("init",()=>{if(e.params.resizeObserver&&typeof n.ResizeObserver<"u"){l();return}n.addEventListener("resize",a),n.addEventListener("orientationchange",u)}),i("destroy",()=>{o(),n.removeEventListener("resize",a),n.removeEventListener("orientationchange",u)})}function Lc({swiper:e,extendParams:i,on:t,emit:n}){let s=[],r=K(),a=(u,p={})=>{let f=r.MutationObserver||r.WebkitMutationObserver,g=new f(c=>{if(e.__preventObserver__)return;if(c.length===1){n("observerUpdate",c[0]);return}let d=function(){n("observerUpdate",c[0])};r.requestAnimationFrame?r.requestAnimationFrame(d):r.setTimeout(d,0)});g.observe(u,{attributes:typeof p.attributes>"u"?!0:p.attributes,childList:e.isElement||(typeof p.childList>"u"?!0:p).childList,characterData:typeof p.characterData>"u"?!0:p.characterData}),s.push(g)},l=()=>{if(e.params.observer){if(e.params.observeParents){let u=Ae(e.hostEl);for(let p=0;p<u.length;p+=1)a(u[p])}a(e.hostEl,{childList:e.params.observeSlideChildren}),a(e.wrapperEl,{attributes:!1})}},o=()=>{s.forEach(u=>{u.disconnect()}),s.splice(0,s.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),t("init",l),t("destroy",o)}var Dc={on(e,i,t){let n=this;if(!n.eventsListeners||n.destroyed||typeof i!="function")return n;let s=t?"unshift":"push";return e.split(" ").forEach(r=>{n.eventsListeners[r]||(n.eventsListeners[r]=[]),n.eventsListeners[r][s](i)}),n},once(e,i,t){let n=this;if(!n.eventsListeners||n.destroyed||typeof i!="function")return n;function s(...r){n.off(e,s),s.__emitterProxy&&delete s.__emitterProxy,i.apply(n,r)}return s.__emitterProxy=i,n.on(e,s,t)},onAny(e,i){let t=this;if(!t.eventsListeners||t.destroyed||typeof e!="function")return t;let n=i?"unshift":"push";return t.eventsAnyListeners.indexOf(e)<0&&t.eventsAnyListeners[n](e),t},offAny(e){let i=this;if(!i.eventsListeners||i.destroyed||!i.eventsAnyListeners)return i;let t=i.eventsAnyListeners.indexOf(e);return t>=0&&i.eventsAnyListeners.splice(t,1),i},off(e,i){let t=this;return!t.eventsListeners||t.destroyed||!t.eventsListeners||e.split(" ").forEach(n=>{typeof i>"u"?t.eventsListeners[n]=[]:t.eventsListeners[n]&&t.eventsListeners[n].forEach((s,r)=>{(s===i||s.__emitterProxy&&s.__emitterProxy===i)&&t.eventsListeners[n].splice(r,1)})}),t},emit(...e){let i=this;if(!i.eventsListeners||i.destroyed||!i.eventsListeners)return i;let t,n,s;return typeof e[0]=="string"||Array.isArray(e[0])?(t=e[0],n=e.slice(1,e.length),s=i):(t=e[0].events,n=e[0].data,s=e[0].context||i),n.unshift(s),(Array.isArray(t)?t:t.split(" ")).forEach(a=>{i.eventsAnyListeners&&i.eventsAnyListeners.length&&i.eventsAnyListeners.forEach(l=>{l.apply(s,[a,...n])}),i.eventsListeners&&i.eventsListeners[a]&&i.eventsListeners[a].forEach(l=>{l.apply(s,n)})}),i}};function zc(){let e=this,i,t,n=e.el;typeof e.params.width<"u"&&e.params.width!==null?i=e.params.width:i=n.clientWidth,typeof e.params.height<"u"&&e.params.height!==null?t=e.params.height:t=n.clientHeight,!(i===0&&e.isHorizontal()||t===0&&e.isVertical())&&(i=i-parseInt(Ve(n,"padding-left")||0,10)-parseInt(Ve(n,"padding-right")||0,10),t=t-parseInt(Ve(n,"padding-top")||0,10)-parseInt(Ve(n,"padding-bottom")||0,10),Number.isNaN(i)&&(i=0),Number.isNaN(t)&&(t=0),Object.assign(e,{width:i,height:t,size:e.isHorizontal()?i:t}))}function Rc(){let e=this;function i(k,x){return parseFloat(k.getPropertyValue(e.getDirectionLabel(x))||0)}let t=e.params,{wrapperEl:n,slidesEl:s,rtlTranslate:r,wrongRTL:a}=e,l=e.virtual&&t.virtual.enabled,o=l?e.virtual.slides.length:e.slides.length,u=te(s,`.${e.params.slideClass}, swiper-slide`),p=l?e.virtual.slides.length:u.length,f=[],g=[],c=[],d=t.slidesOffsetBefore;typeof d=="function"&&(d=t.slidesOffsetBefore.call(e));let m=t.slidesOffsetAfter;typeof m=="function"&&(m=t.slidesOffsetAfter.call(e));let b=e.snapGrid.length,h=e.slidesGrid.length,v=e.size-d-m,y=t.spaceBetween,M=-d,P=0,C=0;if(typeof v>"u")return;typeof y=="string"&&y.indexOf("%")>=0?y=parseFloat(y.replace("%",""))/100*v:typeof y=="string"&&(y=parseFloat(y)),e.virtualSize=-y-d-m,u.forEach(k=>{r?k.style.marginLeft="":k.style.marginRight="",k.style.marginBottom="",k.style.marginTop=""}),t.centeredSlides&&t.cssMode&&(Be(n,"--swiper-centered-offset-before",""),Be(n,"--swiper-centered-offset-after","")),t.cssMode&&(Be(n,"--swiper-slides-offset-before",`${d}px`),Be(n,"--swiper-slides-offset-after",`${m}px`));let O=t.grid&&t.grid.rows>1&&e.grid;O?e.grid.initSlides(u):e.grid&&e.grid.unsetSlides();let S,D=t.slidesPerView==="auto"&&t.breakpoints&&Object.keys(t.breakpoints).filter(k=>typeof t.breakpoints[k].slidesPerView<"u").length>0;for(let k=0;k<p;k+=1){S=0;let x=u[k];if(!(x&&(O&&e.grid.updateSlide(k,x,u),Ve(x,"display")==="none"))){if(l&&t.slidesPerView==="auto")t.virtual.slidesPerViewAutoSlideSize&&(S=t.virtual.slidesPerViewAutoSlideSize),S&&x&&(t.roundLengths&&(S=Math.floor(S)),x.style[e.getDirectionLabel("width")]=`${S}px`);else if(t.slidesPerView==="auto"){D&&(x.style[e.getDirectionLabel("width")]="");let _=getComputedStyle(x),A=x.style.transform,I=x.style.webkitTransform;if(A&&(x.style.transform="none"),I&&(x.style.webkitTransform="none"),t.roundLengths)S=e.isHorizontal()?Zt(x,"width",!0):Zt(x,"height",!0);else{let N=i(_,"width"),E=i(_,"padding-left"),T=i(_,"padding-right"),w=i(_,"margin-left"),z=i(_,"margin-right"),B=_.getPropertyValue("box-sizing");if(B&&B==="border-box")S=N+w+z;else{let{clientWidth:U,offsetWidth:J}=x;S=N+E+T+w+z+(J-U)}}A&&(x.style.transform=A),I&&(x.style.webkitTransform=I),t.roundLengths&&(S=Math.floor(S))}else S=(v-(t.slidesPerView-1)*y)/t.slidesPerView,t.roundLengths&&(S=Math.floor(S)),x&&(x.style[e.getDirectionLabel("width")]=`${S}px`);x&&(x.swiperSlideSize=S),c.push(S),t.centeredSlides?(M=M+S/2+P/2+y,P===0&&k!==0&&(M=M-v/2-y),k===0&&(M=M-v/2-y),Math.abs(M)<1/1e3&&(M=0),t.roundLengths&&(M=Math.floor(M)),C%t.slidesPerGroup===0&&f.push(M),g.push(M)):(t.roundLengths&&(M=Math.floor(M)),(C-Math.min(e.params.slidesPerGroupSkip,C))%e.params.slidesPerGroup===0&&f.push(M),g.push(M),M=M+S+y),e.virtualSize+=S+y,P=S,C+=1}}if(e.virtualSize=Math.max(e.virtualSize,v)+m,r&&a&&(t.effect==="slide"||t.effect==="coverflow")&&(n.style.width=`${e.virtualSize+y}px`),t.setWrapperSize&&(n.style[e.getDirectionLabel("width")]=`${e.virtualSize+y}px`),O&&e.grid.updateWrapperSize(S,f),!t.centeredSlides){let k=t.slidesPerView!=="auto"&&t.slidesPerView%1!==0,x=t.snapToSlideEdge&&!t.loop&&(t.slidesPerView==="auto"||k),_=f.length;if(x){let I;if(t.slidesPerView==="auto"){I=1;let N=0;for(let E=c.length-1;E>=0&&(N+=c[E]+(E<c.length-1?y:0),N<=v);E-=1)I=c.length-E}else I=Math.floor(t.slidesPerView);_=Math.max(p-I,0)}let A=[];for(let I=0;I<f.length;I+=1){let N=f[I];t.roundLengths&&(N=Math.floor(N)),x?I<=_&&A.push(N):f[I]<=e.virtualSize-v&&A.push(N)}f=A,Math.floor(e.virtualSize-v)-Math.floor(f[f.length-1])>1&&(x||f.push(e.virtualSize-v))}if(l&&t.loop){let k=c[0]+y;if(t.slidesPerGroup>1){let x=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/t.slidesPerGroup),_=k*t.slidesPerGroup;for(let A=0;A<x;A+=1)f.push(f[f.length-1]+_)}for(let x=0;x<e.virtual.slidesBefore+e.virtual.slidesAfter;x+=1)t.slidesPerGroup===1&&f.push(f[f.length-1]+k),g.push(g[g.length-1]+k),e.virtualSize+=k}if(f.length===0&&(f=[0]),y!==0){let k=e.isHorizontal()&&r?"marginLeft":e.getDirectionLabel("marginRight");u.filter((x,_)=>!t.cssMode||t.loop?!0:_!==u.length-1).forEach(x=>{x.style[k]=`${y}px`})}if(t.centeredSlides&&t.centeredSlidesBounds){let k=0;c.forEach(_=>{k+=_+(y||0)}),k-=y;let x=k>v?k-v:0;f=f.map(_=>_<=0?-d:_>x?x+m:_)}if(t.centerInsufficientSlides){let k=0;if(c.forEach(x=>{k+=x+(y||0)}),k-=y,k<v){let x=(v-k)/2;f.forEach((_,A)=>{f[A]=_-x}),g.forEach((_,A)=>{g[A]=_+x})}}if(Object.assign(e,{slides:u,snapGrid:f,slidesGrid:g,slidesSizesGrid:c}),t.centeredSlides&&t.cssMode&&!t.centeredSlidesBounds){Be(n,"--swiper-centered-offset-before",`${-f[0]}px`),Be(n,"--swiper-centered-offset-after",`${e.size/2-c[c.length-1]/2}px`);let k=-e.snapGrid[0],x=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(_=>_+k),e.slidesGrid=e.slidesGrid.map(_=>_+x)}if(p!==o&&e.emit("slidesLengthChange"),f.length!==b&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),g.length!==h&&e.emit("slidesGridLengthChange"),t.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!l&&!t.cssMode&&(t.effect==="slide"||t.effect==="fade")){let k=`${t.containerModifierClass}backface-hidden`,x=e.el.classList.contains(k);p<=t.maxBackfaceHiddenSlides?x||e.el.classList.add(k):x&&e.el.classList.remove(k)}}function Nc(e){let i=this,t=[],n=i.virtual&&i.params.virtual.enabled,s=0,r;typeof e=="number"?i.setTransition(e):e===!0&&i.setTransition(i.params.speed);let a=l=>n?i.slides[i.getSlideIndexByData(l)]:i.slides[l];if(i.params.slidesPerView!=="auto"&&i.params.slidesPerView>1)if(i.params.centeredSlides)(i.visibleSlides||[]).forEach(l=>{t.push(l)});else for(r=0;r<Math.ceil(i.params.slidesPerView);r+=1){let l=i.activeIndex+r;if(l>i.slides.length&&!n)break;t.push(a(l))}else t.push(a(i.activeIndex));for(r=0;r<t.length;r+=1)if(typeof t[r]<"u"){let l=t[r].offsetHeight;s=l>s?l:s}(s||s===0)&&(i.wrapperEl.style.height=`${s}px`)}function $c(){let e=this,i=e.slides,t=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let n=0;n<i.length;n+=1)i[n].swiperSlideOffset=(e.isHorizontal()?i[n].offsetLeft:i[n].offsetTop)-t-e.cssOverflowAdjustment()}var Po=(e,i,t)=>{i&&!e.classList.contains(t)?e.classList.add(t):!i&&e.classList.contains(t)&&e.classList.remove(t)};function Fc(e=this&&this.translate||0){let i=this,t=i.params,{slides:n,rtlTranslate:s,snapGrid:r}=i;if(n.length===0)return;typeof n[0].swiperSlideOffset>"u"&&i.updateSlidesOffset();let a=-e;s&&(a=e),i.visibleSlidesIndexes=[],i.visibleSlides=[];let l=t.spaceBetween;typeof l=="string"&&l.indexOf("%")>=0?l=parseFloat(l.replace("%",""))/100*i.size:typeof l=="string"&&(l=parseFloat(l));for(let o=0;o<n.length;o+=1){let u=n[o],p=u.swiperSlideOffset;t.cssMode&&t.centeredSlides&&(p-=n[0].swiperSlideOffset);let f=(a+(t.centeredSlides?i.minTranslate():0)-p)/(u.swiperSlideSize+l),g=(a-r[0]+(t.centeredSlides?i.minTranslate():0)-p)/(u.swiperSlideSize+l),c=-(a-p),d=c+i.slidesSizesGrid[o],m=c>=0&&c<=i.size-i.slidesSizesGrid[o],b=c>=0&&c<i.size-1||d>1&&d<=i.size||c<=0&&d>=i.size;b&&(i.visibleSlides.push(u),i.visibleSlidesIndexes.push(o)),Po(u,b,t.slideVisibleClass),Po(u,m,t.slideFullyVisibleClass),u.progress=s?-f:f,u.originalProgress=s?-g:g}}function Bc(e){let i=this;if(typeof e>"u"){let p=i.rtlTranslate?-1:1;e=i&&i.translate&&i.translate*p||0}let t=i.params,n=i.maxTranslate()-i.minTranslate(),{progress:s,isBeginning:r,isEnd:a,progressLoop:l}=i,o=r,u=a;if(n===0)s=0,r=!0,a=!0;else{s=(e-i.minTranslate())/n;let p=Math.abs(e-i.minTranslate())<1,f=Math.abs(e-i.maxTranslate())<1;r=p||s<=0,a=f||s>=1,p&&(s=0),f&&(s=1)}if(t.loop){let p=i.getSlideIndexByData(0),f=i.getSlideIndexByData(i.slides.length-1),g=i.slidesGrid[p],c=i.slidesGrid[f],d=i.slidesGrid[i.slidesGrid.length-1],m=Math.abs(e);m>=g?l=(m-g)/d:l=(m+d-c)/d,l>1&&(l-=1)}Object.assign(i,{progress:s,progressLoop:l,isBeginning:r,isEnd:a}),(t.watchSlidesProgress||t.centeredSlides&&t.autoHeight)&&i.updateSlidesProgress(e),r&&!o&&i.emit("reachBeginning toEdge"),a&&!u&&i.emit("reachEnd toEdge"),(o&&!r||u&&!a)&&i.emit("fromEdge"),i.emit("progress",s)}var as=(e,i,t)=>{i&&!e.classList.contains(t)?e.classList.add(t):!i&&e.classList.contains(t)&&e.classList.remove(t)};function Vc(){let e=this,{slides:i,params:t,slidesEl:n,activeIndex:s}=e,r=e.virtual&&t.virtual.enabled,a=e.grid&&t.grid&&t.grid.rows>1,l=f=>te(n,`.${t.slideClass}${f}, swiper-slide${f}`)[0],o,u,p;if(r)if(t.loop){let f=s-e.virtual.slidesBefore;f<0&&(f=e.virtual.slides.length+f),f>=e.virtual.slides.length&&(f-=e.virtual.slides.length),o=l(`[data-swiper-slide-index="${f}"]`)}else o=l(`[data-swiper-slide-index="${s}"]`);else a?(o=i.find(f=>f.column===s),p=i.find(f=>f.column===s+1),u=i.find(f=>f.column===s-1)):o=i[s];o&&(a||(p=_o(o,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!p&&(p=i[0]),u=Co(o,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!u===0&&(u=i[i.length-1]))),i.forEach(f=>{as(f,f===o,t.slideActiveClass),as(f,f===p,t.slideNextClass),as(f,f===u,t.slidePrevClass)}),e.emitSlidesClasses()}var qi=(e,i)=>{if(!e||e.destroyed||!e.params)return;let t=()=>e.isElement?"swiper-slide":`.${e.params.slideClass}`,n=i.closest(t());if(n){let s=n.querySelector(`.${e.params.lazyPreloaderClass}`);!s&&e.isElement&&(n.shadowRoot?s=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(s=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),s&&!s.lazyPreloaderManaged&&s.remove())})),s&&!s.lazyPreloaderManaged&&s.remove()}},os=(e,i)=>{if(!e.slides[i])return;let t=e.slides[i].querySelector('[loading="lazy"]');t&&t.removeAttribute("loading")},ds=e=>{if(!e||e.destroyed||!e.params)return;let i=e.params.lazyPreloadPrevNext,t=e.slides.length;if(!t||!i||i<0)return;i=Math.min(i,t);let n=e.params.slidesPerView==="auto"?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),s=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){let a=s,l=[a-i];l.push(...Array.from({length:i}).map((o,u)=>a+n+u)),e.slides.forEach((o,u)=>{l.includes(o.column)&&os(e,u)});return}let r=s+n-1;if(e.params.rewind||e.params.loop)for(let a=s-i;a<=r+i;a+=1){let l=(a%t+t)%t;(l<s||l>r)&&os(e,l)}else for(let a=Math.max(s-i,0);a<=Math.min(r+i,t-1);a+=1)a!==s&&(a>r||a<s)&&os(e,a)};function Gc(e){let{slidesGrid:i,params:t}=e,n=e.rtlTranslate?e.translate:-e.translate,s;for(let r=0;r<i.length;r+=1)typeof i[r+1]<"u"?n>=i[r]&&n<i[r+1]-(i[r+1]-i[r])/2?s=r:n>=i[r]&&n<i[r+1]&&(s=r+1):n>=i[r]&&(s=r);return t.normalizeSlideIndex&&(s<0||typeof s>"u")&&(s=0),s}function Hc(e){let i=this,t=i.rtlTranslate?i.translate:-i.translate,{snapGrid:n,params:s,activeIndex:r,realIndex:a,snapIndex:l}=i,o=e,u,p=c=>{let d=c-i.virtual.slidesBefore;return d<0&&(d=i.virtual.slides.length+d),d>=i.virtual.slides.length&&(d-=i.virtual.slides.length),d};if(typeof o>"u"&&(o=Gc(i)),n.indexOf(t)>=0)u=n.indexOf(t);else{let c=Math.min(s.slidesPerGroupSkip,o);u=c+Math.floor((o-c)/s.slidesPerGroup)}if(u>=n.length&&(u=n.length-1),o===r&&!i.params.loop){u!==l&&(i.snapIndex=u,i.emit("snapIndexChange"));return}if(o===r&&i.params.loop&&i.virtual&&i.params.virtual.enabled){i.realIndex=p(o);return}let f=i.grid&&s.grid&&s.grid.rows>1,g;if(i.virtual&&s.virtual.enabled)s.loop?g=p(o):g=o;else if(f){let c=i.slides.find(m=>m.column===o),d=parseInt(c.getAttribute("data-swiper-slide-index"),10);Number.isNaN(d)&&(d=Math.max(i.slides.indexOf(c),0)),g=Math.floor(d/s.grid.rows)}else if(i.slides[o]){let c=i.slides[o].getAttribute("data-swiper-slide-index");c?g=parseInt(c,10):g=o}else g=o;Object.assign(i,{previousSnapIndex:l,snapIndex:u,previousRealIndex:a,realIndex:g,previousIndex:r,activeIndex:o}),i.initialized&&ds(i),i.emit("activeIndexChange"),i.emit("snapIndexChange"),(i.initialized||i.params.runCallbacksOnInit)&&(a!==g&&i.emit("realIndexChange"),i.emit("slideChange"))}function jc(e,i){let t=this,n=t.params,s=e.closest(`.${n.slideClass}, swiper-slide`);!s&&t.isElement&&i&&i.length>1&&i.includes(e)&&[...i.slice(i.indexOf(e)+1,i.length)].forEach(l=>{!s&&l.matches&&l.matches(`.${n.slideClass}, swiper-slide`)&&(s=l)});let r=!1,a;if(s){for(let l=0;l<t.slides.length;l+=1)if(t.slides[l]===s){r=!0,a=l;break}}if(s&&r)t.clickedSlide=s,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(s.getAttribute("data-swiper-slide-index"),10):t.clickedIndex=a;else{t.clickedSlide=void 0,t.clickedIndex=void 0;return}n.slideToClickedSlide&&t.clickedIndex!==void 0&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}var Wc={updateSize:zc,updateSlides:Rc,updateAutoHeight:Nc,updateSlidesOffset:$c,updateSlidesProgress:Fc,updateProgress:Bc,updateSlidesClasses:Vc,updateActiveIndex:Hc,updateClickedSlide:jc};function qc(e=this.isHorizontal()?"x":"y"){let i=this,{params:t,rtlTranslate:n,translate:s,wrapperEl:r}=i;if(t.virtualTranslate)return n?-s:s;if(t.cssMode)return s;let a=Kt(r,e);return a+=i.cssOverflowAdjustment(),n&&(a=-a),a||0}function Yc(e,i){let t=this,{rtlTranslate:n,params:s,wrapperEl:r,progress:a}=t,l=0,o=0,u=0;t.isHorizontal()?l=n?-e:e:o=e,s.roundLengths&&(l=Math.floor(l),o=Math.floor(o)),t.previousTranslate=t.translate,t.translate=t.isHorizontal()?l:o,s.cssMode?r[t.isHorizontal()?"scrollLeft":"scrollTop"]=t.isHorizontal()?-l:-o:s.virtualTranslate||(t.isHorizontal()?l-=t.cssOverflowAdjustment():o-=t.cssOverflowAdjustment(),r.style.transform=`translate3d(${l}px, ${o}px, ${u}px)`);let p,f=t.maxTranslate()-t.minTranslate();f===0?p=0:p=(e-t.minTranslate())/f,p!==a&&t.updateProgress(e),t.emit("setTranslate",t.translate,i)}function Uc(){return-this.snapGrid[0]}function Xc(){return-this.snapGrid[this.snapGrid.length-1]}function Kc(e=0,i=this.params.speed,t=!0,n=!0,s){let r=this,{params:a,wrapperEl:l}=r;if(r.animating&&a.preventInteractionOnTransition)return!1;let o=r.minTranslate(),u=r.maxTranslate(),p;if(n&&e>o?p=o:n&&e<u?p=u:p=e,r.updateProgress(p),a.cssMode){let f=r.isHorizontal();if(i===0)l[f?"scrollLeft":"scrollTop"]=-p;else{if(!r.support.smoothScroll)return is({swiper:r,targetPosition:-p,side:f?"left":"top"}),!0;l.scrollTo({[f?"left":"top"]:-p,behavior:"smooth"})}return!0}return i===0?(r.setTransition(0),r.setTranslate(p),t&&(r.emit("beforeTransitionStart",i,s),r.emit("transitionEnd"))):(r.setTransition(i),r.setTranslate(p),t&&(r.emit("beforeTransitionStart",i,s),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(g){!r||r.destroyed||g.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,r.animating=!1,t&&r.emit("transitionEnd"))}),r.wrapperEl.addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd))),!0}var Qc={getTranslate:qc,setTranslate:Yc,minTranslate:Uc,maxTranslate:Xc,translateTo:Kc};function Zc(e,i){let t=this;t.params.cssMode||(t.wrapperEl.style.transitionDuration=`${e}ms`,t.wrapperEl.style.transitionDelay=e===0?"0ms":""),t.emit("setTransition",e,i)}function zo({swiper:e,runCallbacks:i,direction:t,step:n}){let{activeIndex:s,previousIndex:r}=e,a=t;a||(s>r?a="next":s<r?a="prev":a="reset"),e.emit(`transition${n}`),i&&a==="reset"?e.emit(`slideResetTransition${n}`):i&&s!==r&&(e.emit(`slideChangeTransition${n}`),a==="next"?e.emit(`slideNextTransition${n}`):e.emit(`slidePrevTransition${n}`))}function Jc(e=!0,i){let t=this,{params:n}=t;n.cssMode||(n.autoHeight&&t.updateAutoHeight(),zo({swiper:t,runCallbacks:e,direction:i,step:"Start"}))}function ed(e=!0,i){let t=this,{params:n}=t;t.animating=!1,!n.cssMode&&(t.setTransition(0),zo({swiper:t,runCallbacks:e,direction:i,step:"End"}))}var td={setTransition:Zc,transitionStart:Jc,transitionEnd:ed};function id(e=0,i,t=!0,n,s){typeof e=="string"&&(e=parseInt(e,10));let r=this,a=e;a<0&&(a=0);let{params:l,snapGrid:o,slidesGrid:u,previousIndex:p,activeIndex:f,rtlTranslate:g,wrapperEl:c,enabled:d}=r;if(!d&&!n&&!s||r.destroyed||r.animating&&l.preventInteractionOnTransition)return!1;typeof i>"u"&&(i=r.params.speed);let m=Math.min(r.params.slidesPerGroupSkip,a),b=m+Math.floor((a-m)/r.params.slidesPerGroup);b>=o.length&&(b=o.length-1);let h=-o[b];if(l.normalizeSlideIndex)for(let O=0;O<u.length;O+=1){let S=-Math.floor(h*100),D=Math.floor(u[O]*100),k=Math.floor(u[O+1]*100);typeof u[O+1]<"u"?S>=D&&S<k-(k-D)/2?a=O:S>=D&&S<k&&(a=O+1):S>=D&&(a=O)}if(r.initialized&&a!==f&&(!r.allowSlideNext&&(g?h>r.translate&&h>r.minTranslate():h<r.translate&&h<r.minTranslate())||!r.allowSlidePrev&&h>r.translate&&h>r.maxTranslate()&&(f||0)!==a))return!1;a!==(p||0)&&t&&r.emit("beforeSlideChangeStart"),r.updateProgress(h);let v;a>f?v="next":a<f?v="prev":v="reset";let y=r.virtual&&r.params.virtual.enabled;if(!(y&&s)&&(g&&-h===r.translate||!g&&h===r.translate))return r.updateActiveIndex(a),l.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),l.effect!=="slide"&&r.setTranslate(h),v!=="reset"&&(r.transitionStart(t,v),r.transitionEnd(t,v)),!1;if(l.cssMode){let O=r.isHorizontal(),S=g?h:-h;if(i===0)y&&(r.wrapperEl.style.scrollSnapType="none",r._immediateVirtual=!0),y&&!r._cssModeVirtualInitialSet&&r.params.initialSlide>0?(r._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{c[O?"scrollLeft":"scrollTop"]=S})):c[O?"scrollLeft":"scrollTop"]=S,y&&requestAnimationFrame(()=>{r.wrapperEl.style.scrollSnapType="",r._immediateVirtual=!1});else{if(!r.support.smoothScroll)return is({swiper:r,targetPosition:S,side:O?"left":"top"}),!0;c.scrollTo({[O?"left":"top"]:S,behavior:"smooth"})}return!0}let C=Do().isSafari;return y&&!s&&C&&r.isElement&&r.virtual.update(!1,!1,a),r.setTransition(i),r.setTranslate(h),r.updateActiveIndex(a),r.updateSlidesClasses(),r.emit("beforeTransitionStart",i,n),r.transitionStart(t,v),i===0?r.transitionEnd(t,v):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(S){!r||r.destroyed||S.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(t,v))}),r.wrapperEl.addEventListener("transitionend",r.onSlideToWrapperTransitionEnd)),!0}function nd(e=0,i,t=!0,n){typeof e=="string"&&(e=parseInt(e,10));let s=this;if(s.destroyed)return;typeof i>"u"&&(i=s.params.speed);let r=s.grid&&s.params.grid&&s.params.grid.rows>1,a=e;if(s.params.loop)if(s.virtual&&s.params.virtual.enabled)a=a+s.virtual.slidesBefore;else{let l;if(r){let m=a*s.params.grid.rows;l=s.slides.find(b=>b.getAttribute("data-swiper-slide-index")*1===m).column}else l=s.getSlideIndexByData(a);let o=r?Math.ceil(s.slides.length/s.params.grid.rows):s.slides.length,{centeredSlides:u,slidesOffsetBefore:p,slidesOffsetAfter:f}=s.params,g=u||!!p||!!f,c=s.params.slidesPerView;c==="auto"?c=s.slidesPerViewDynamic():(c=Math.ceil(parseFloat(s.params.slidesPerView,10)),g&&c%2===0&&(c=c+1));let d=o-l<c;if(g&&(d=d||l<Math.ceil(c/2)),n&&g&&s.params.slidesPerView!=="auto"&&!r&&(d=!1),d){let m=g?l<s.activeIndex?"prev":"next":l-s.activeIndex-1<s.params.slidesPerView?"next":"prev";s.loopFix({direction:m,slideTo:!0,activeSlideIndex:m==="next"?l+1:l-o+1,slideRealIndex:m==="next"?s.realIndex:void 0})}if(r){let m=a*s.params.grid.rows;a=s.slides.find(b=>b.getAttribute("data-swiper-slide-index")*1===m).column}else a=s.getSlideIndexByData(a)}return requestAnimationFrame(()=>{s.slideTo(a,i,t,n)}),s}function sd(e,i=!0,t){let n=this,{enabled:s,params:r,animating:a}=n;if(!s||n.destroyed)return n;typeof e>"u"&&(e=n.params.speed);let l=r.slidesPerGroup;r.slidesPerView==="auto"&&r.slidesPerGroup===1&&r.slidesPerGroupAuto&&(l=Math.max(n.slidesPerViewDynamic("current",!0),1));let o=n.activeIndex<r.slidesPerGroupSkip?1:l,u=n.virtual&&r.virtual.enabled;if(r.loop){if(a&&!u&&r.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&r.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+o,e,i,t)}),!0}return r.rewind&&n.isEnd?n.slideTo(0,e,i,t):n.slideTo(n.activeIndex+o,e,i,t)}function rd(e,i=!0,t){let n=this,{params:s,snapGrid:r,slidesGrid:a,rtlTranslate:l,enabled:o,animating:u}=n;if(!o||n.destroyed)return n;typeof e>"u"&&(e=n.params.speed);let p=n.virtual&&s.virtual.enabled;if(s.loop){if(u&&!p&&s.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}let f=l?n.translate:-n.translate;function g(v){return v<0?-Math.floor(Math.abs(v)):Math.floor(v)}let c=g(f),d=r.map(v=>g(v)),m=s.freeMode&&s.freeMode.enabled,b=r[d.indexOf(c)-1];if(typeof b>"u"&&(s.cssMode||m)){let v;r.forEach((y,M)=>{c>=y&&(v=M)}),typeof v<"u"&&(b=m?r[v]:r[v>0?v-1:v])}let h=0;if(typeof b<"u"&&(h=a.indexOf(b),h<0&&(h=n.activeIndex-1),s.slidesPerView==="auto"&&s.slidesPerGroup===1&&s.slidesPerGroupAuto&&(h=h-n.slidesPerViewDynamic("previous",!0)+1,h=Math.max(h,0))),s.rewind&&n.isBeginning){let v=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(v,e,i,t)}else if(s.loop&&n.activeIndex===0&&s.cssMode)return requestAnimationFrame(()=>{n.slideTo(h,e,i,t)}),!0;return n.slideTo(h,e,i,t)}function ad(e,i=!0,t){let n=this;if(!n.destroyed)return typeof e>"u"&&(e=n.params.speed),n.slideTo(n.activeIndex,e,i,t)}function od(e,i=!0,t,n=.5){let s=this;if(s.destroyed)return;typeof e>"u"&&(e=s.params.speed);let r=s.activeIndex,a=Math.min(s.params.slidesPerGroupSkip,r),l=a+Math.floor((r-a)/s.params.slidesPerGroup),o=s.rtlTranslate?s.translate:-s.translate;if(o>=s.snapGrid[l]){let u=s.snapGrid[l],p=s.snapGrid[l+1];o-u>(p-u)*n&&(r+=s.params.slidesPerGroup)}else{let u=s.snapGrid[l-1],p=s.snapGrid[l];o-u<=(p-u)*n&&(r-=s.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,s.slidesGrid.length-1),s.slideTo(r,e,i,t)}function ld(){let e=this;if(e.destroyed)return;let{params:i,slidesEl:t}=e,n=i.slidesPerView==="auto"?e.slidesPerViewDynamic():i.slidesPerView,s=e.getSlideIndexWhenGrid(e.clickedIndex),r,a=e.isElement?"swiper-slide":`.${i.slideClass}`,l=e.grid&&e.params.grid&&e.params.grid.rows>1;if(i.loop){if(e.animating)return;r=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),i.centeredSlides?e.slideToLoop(r):s>(l?(e.slides.length-n)/2-(e.params.grid.rows-1):e.slides.length-n)?(e.loopFix(),s=e.getSlideIndex(te(t,`${a}[data-swiper-slide-index="${r}"]`)[0]),Ie(()=>{e.slideTo(s)})):e.slideTo(s)}else e.slideTo(s)}var cd={slideTo:id,slideToLoop:nd,slideNext:sd,slidePrev:rd,slideReset:ad,slideToClosest:od,slideToClickedSlide:ld};function dd(e,i){let t=this,{params:n,slidesEl:s}=t;if(!n.loop||t.virtual&&t.params.virtual.enabled)return;let r=()=>{te(s,`.${n.slideClass}, swiper-slide`).forEach((d,m)=>{d.setAttribute("data-swiper-slide-index",m)})},a=()=>{let c=te(s,`.${n.slideBlankClass}`);
vendor: 5,265 bytes, line 1
1c.forEach(d=>{d.remove()}),c.length>0&&(t.recalcSlides(),t.updateSlides())},l=t.grid&&n.grid&&n.grid.rows>1;n.loopAddBlankSlides&&(n.slidesPerGroup>1||l)&&a();let o=n.slidesPerGroup*(l?n.grid.rows:1),u=t.slides.length%o!==0,p=l&&t.slides.length%n.grid.rows!==0,f=c=>{for(let d=0;d<c;d+=1){let m=t.isElement?ne("swiper-slide",[n.slideBlankClass]):ne("div",[n.slideClass,n.slideBlankClass]);t.slidesEl.append(m)}};if(u){if(n.loopAddBlankSlides){let c=o-t.slides.length%o;f(c),t.recalcSlides(),t.updateSlides()}else Qt("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");r()}else if(p){if(n.loopAddBlankSlides){let c=n.grid.rows-t.slides.length%n.grid.rows;f(c),t.recalcSlides(),t.updateSlides()}else Qt("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)");r()}else r();let g=n.centeredSlides||!!n.slidesOffsetBefore||!!n.slidesOffsetAfter;t.loopFix({slideRealIndex:e,direction:g?void 0:"next",initial:i})}function ud({slideRealIndex:e,slideTo:i=!0,direction:t,setTranslate:n,activeSlideIndex:s,initial:r,byController:a,byMousewheel:l}={}){let o=this;if(!o.params.loop)return;o.emit("beforeLoopFix");let{slides:u,allowSlidePrev:p,allowSlideNext:f,slidesEl:g,params:c}=o,{centeredSlides:d,slidesOffsetBefore:m,slidesOffsetAfter:b,initialSlide:h}=c,v=d||!!m||!!b;if(o.allowSlidePrev=!0,o.allowSlideNext=!0,o.virtual&&c.virtual.enabled){i&&(!v&&o.snapIndex===0?o.slideTo(o.virtual.slides.length,0,!1,!0):v&&o.snapIndex<c.slidesPerView?o.slideTo(o.virtual.slides.length+o.snapIndex,0,!1,!0):o.snapIndex===o.snapGrid.length-1&&o.slideTo(o.virtual.slidesBefore,0,!1,!0)),o.allowSlidePrev=p,o.allowSlideNext=f,o.emit("loopFix");return}let y=c.slidesPerView;y==="auto"?y=o.slidesPerViewDynamic():(y=Math.ceil(parseFloat(c.slidesPerView,10)),v&&y%2===0&&(y=y+1));let M=c.slidesPerGroupAuto?y:c.slidesPerGroup,P=v?Math.max(M,Math.ceil(y/2)):M;P%M!==0&&(P+=M-P%M),P+=c.loopAdditionalSlides,o.loopedSlides=P;let C=o.grid&&c.grid&&c.grid.rows>1;u.length<y+P||o.params.effect==="cards"&&u.length<y+P*2?Qt("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"):C&&c.grid.fill==="row"&&Qt("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");let O=[],S=[],D=C?Math.ceil(u.length/c.grid.rows):u.length,k=r&&D-h<y&&!v,x=k?h:o.activeIndex;typeof s>"u"?s=o.getSlideIndex(u.find(w=>w.classList.contains(c.slideActiveClass))):x=s;let _=t==="next"||!t,A=t==="prev"||!t,I=0,N=0,T=(C?u[s].column:s)+(v&&typeof n>"u"?-y/2+.5:0);if(T<P){I=Math.max(P-T,M);for(let w=0;w<P-T;w+=1){let z=w-Math.floor(w/D)*D;if(C){let B=D-z-1;for(let U=u.length-1;U>=0;U-=1)u[U].column===B&&O.push(U)}else O.push(D-z-1)}}else if(T+y>D-P){N=Math.max(T-(D-P*2),M),k&&(N=Math.max(N,y-D+h+1));for(let w=0;w<N;w+=1){let z=w-Math.floor(w/D)*D;C?u.forEach((B,U)=>{B.column===z&&S.push(U)}):S.push(z)}}if(o.__preventObserver__=!0,requestAnimationFrame(()=>{o.__preventObserver__=!1}),o.params.effect==="cards"&&u.length<y+P*2&&(S.includes(s)&&S.splice(S.indexOf(s),1),O.includes(s)&&O.splice(O.indexOf(s),1)),A&&O.forEach(w=>{u[w].swiperLoopMoveDOM=!0,g.prepend(u[w]),u[w].swiperLoopMoveDOM=!1}),_&&S.forEach(w=>{u[w].swiperLoopMoveDOM=!0,g.append(u[w]),u[w].swiperLoopMoveDOM=!1}),o.recalcSlides(),c.slidesPerView==="auto"?o.updateSlides():C&&(O.length>0&&A||S.length>0&&_)&&o.slides.forEach((w,z)=>{o.grid.updateSlide(z,w,o.slides)}),c.watchSlidesProgress&&o.updateSlidesOffset(),i){if(O.length>0&&A){if(typeof e>"u"){let w=o.slidesGrid[x],B=o.slidesGrid[x+I]-w;l?o.setTranslate(o.translate-B):(o.slideTo(x+Math.ceil(I),0,!1,!0),n&&(o.touchEventsData.startTranslate=o.touchEventsData.startTranslate-B,o.touchEventsData.currentTranslate=o.touchEventsData.currentTranslate-B))}else if(n){let w=C?O.length/c.grid.rows:O.length;o.slideTo(o.activeIndex+w,0,!1,!0),o.touchEventsData.currentTranslate=o.translate}}else if(S.length>0&&_)if(typeof e>"u"){let w=o.slidesGrid[x],B=o.slidesGrid[x-N]-w;l?o.setTranslate(o.translate-B):(o.slideTo(x-N,0,!1,!0),n&&(o.touchEventsData.startTranslate=o.touchEventsData.startTranslate-B,o.touchEventsData.currentTranslate=o.touchEventsData.currentTranslate-B))}else{let w=C?S.length/c.grid.rows:S.length;o.slideTo(o.activeIndex-w,0,!1,!0)}}if(o.allowSlidePrev=p,o.allowSlideNext=f,o.controller&&o.controller.control&&!a){let w={slideRealIndex:e,direction:t,setTranslate:n,activeSlideIndex:s,byController:!0};Array.isArray(o.controller.control)?o.controller.control.forEach(z=>{!z.destroyed&&z.params.loop&&z.loopFix(He(ee({},w),{slideTo:z.params.slidesPerView===c.slidesPerView?i:!1}))}):o.controller.control instanceof o.constructor&&o.controller.control.params.loop&&o.controller.control.loopFix(He(ee({},w),{slideTo:o.controller.control.params.slidesPerView===c.slidesPerView?i:!1}))}o.emit("loopFix")}function fd(){let e=this,{params:i,slidesEl:t}=e;if(!i.loop||!t||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();let n=[];
vendor: 26,095 bytes, line 1
1e.slides.forEach(s=>{let r=typeof s.swiperSlideIndex>"u"?s.getAttribute("data-swiper-slide-index")*1:s.swiperSlideIndex;n[r]=s}),e.slides.forEach(s=>{s.removeAttribute("data-swiper-slide-index")}),n.forEach(s=>{t.append(s)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}var pd={loopCreate:dd,loopFix:ud,loopDestroy:fd};function md(e){let i=this;if(!i.params.simulateTouch||i.params.watchOverflow&&i.isLocked||i.params.cssMode)return;let t=i.params.touchEventsTarget==="container"?i.el:i.wrapperEl;i.isElement&&(i.__preventObserver__=!0),t.style.cursor="move",t.style.cursor=e?"grabbing":"grab",i.isElement&&requestAnimationFrame(()=>{i.__preventObserver__=!1})}function hd(){let 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 gd={setGrabCursor:md,unsetGrabCursor:hd};function vd(e,i=this){function t(n){if(!n||n===Z()||n===K())return null;n.assignedSlot&&(n=n.assignedSlot);let s=n.closest(e);return!s&&!n.getRootNode?null:s||t(n.getRootNode().host)}return t(i)}function Ao(e,i,t){let n=K(),{params:s}=e,r=s.edgeSwipeDetection,a=s.edgeSwipeThreshold;return r&&(t<=a||t>=n.innerWidth-a)?r==="prevent"?(i.preventDefault(),!0):!1:!0}function yd(e){let i=this,t=Z(),n=e;n.originalEvent&&(n=n.originalEvent);let s=i.touchEventsData;if(n.type==="pointerdown"){if(s.pointerId!==null&&s.pointerId!==n.pointerId)return;s.pointerId=n.pointerId}else n.type==="touchstart"&&n.targetTouches.length===1&&(s.touchId=n.targetTouches[0].identifier);if(n.type==="touchstart"){Ao(i,n,n.targetTouches[0].pageX);return}let{params:r,touches:a,enabled:l}=i;if(!l||!r.simulateTouch&&n.pointerType==="mouse"||i.animating&&r.preventInteractionOnTransition)return;!i.animating&&r.cssMode&&r.loop&&i.loopFix();let o=n.target;if(r.touchEventsTarget==="wrapper"&&!xo(o,i.wrapperEl)||"which"in n&&n.which===3||"button"in n&&n.button>0||s.isTouched&&s.isMoved)return;let u=!!r.noSwipingClass&&r.noSwipingClass!=="",p=n.composedPath?n.composedPath():n.path;u&&n.target&&n.target.shadowRoot&&p&&(o=p[0]);let f=r.noSwipingSelector?r.noSwipingSelector:`.${r.noSwipingClass}`,g=!!(n.target&&n.target.shadowRoot);if(r.noSwiping&&(g?vd(f,o):o.closest(f))){i.allowClick=!0;return}if(r.swipeHandler&&!o.closest(r.swipeHandler))return;a.currentX=n.pageX,a.currentY=n.pageY;let c=a.currentX,d=a.currentY;if(!Ao(i,n,c))return;Object.assign(s,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=c,a.startY=d,s.touchStartTime=fe(),i.allowClick=!0,i.updateSize(),i.swipeDirection=void 0,r.threshold>0&&(s.allowThresholdMove=!1);let m=!0;o.matches(s.focusableElements)&&(m=!1,o.nodeName==="SELECT"&&(s.isTouched=!1)),t.activeElement&&t.activeElement.matches(s.focusableElements)&&t.activeElement!==o&&(n.pointerType==="mouse"||n.pointerType!=="mouse"&&!o.matches(s.focusableElements))&&t.activeElement.blur();let b=m&&i.allowTouchMove&&r.touchStartPreventDefault;(r.touchStartForcePreventDefault||b)&&!o.isContentEditable&&n.preventDefault(),r.freeMode&&r.freeMode.enabled&&i.freeMode&&i.animating&&!r.cssMode&&i.freeMode.onTouchStart(),i.emit("touchStart",n)}function bd(e){let i=Z(),t=this,n=t.touchEventsData,{params:s,touches:r,rtlTranslate:a,enabled:l}=t;if(!l||!s.simulateTouch&&e.pointerType==="mouse")return;let o=e;if(o.originalEvent&&(o=o.originalEvent),o.type==="pointermove"&&(n.touchId!==null||o.pointerId!==n.pointerId))return;let u;if(o.type==="touchmove"){if(u=[...o.changedTouches].find(C=>C.identifier===n.touchId),!u||u.identifier!==n.touchId)return}else u=o;if(!n.isTouched){n.startMoving&&n.isScrolling&&t.emit("touchMoveOpposite",o);return}let p=u.pageX,f=u.pageY;if(o.preventedByNestedSwiper){r.startX=p,r.startY=f;return}if(!t.allowTouchMove){o.target.matches(n.focusableElements)||(t.allowClick=!1),n.isTouched&&(Object.assign(r,{startX:p,startY:f,currentX:p,currentY:f}),n.touchStartTime=fe());return}if(s.touchReleaseOnEdges&&!s.loop)if(t.isVertical()){if(f<r.startY&&t.translate<=t.maxTranslate()||f>r.startY&&t.translate>=t.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else{if(a&&(p>r.startX&&-t.translate<=t.maxTranslate()||p<r.startX&&-t.translate>=t.minTranslate()))return;if(!a&&(p<r.startX&&t.translate<=t.maxTranslate()||p>r.startX&&t.translate>=t.minTranslate()))return}if(i.activeElement&&i.activeElement.matches(n.focusableElements)&&i.activeElement!==o.target&&o.pointerType!=="mouse"&&i.activeElement.blur(),i.activeElement&&o.target===i.activeElement&&o.target.matches(n.focusableElements)){n.isMoved=!0,t.allowClick=!1;return}n.allowTouchCallbacks&&t.emit("touchMove",o),r.previousX=r.currentX,r.previousY=r.currentY,r.currentX=p,r.currentY=f;let g=r.currentX-r.startX,c=r.currentY-r.startY;if(t.params.threshold&&Math.sqrt(g**2+c**2)<t.params.threshold)return;if(typeof n.isScrolling>"u"){let C;t.isHorizontal()&&r.currentY===r.startY||t.isVertical()&&r.currentX===r.startX?n.isScrolling=!1:g*g+c*c>=25&&(C=Math.atan2(Math.abs(c),Math.abs(g))*180/Math.PI,n.isScrolling=t.isHorizontal()?C>s.touchAngle:90-C>s.touchAngle)}if(n.isScrolling&&t.emit("touchMoveOpposite",o),typeof n.startMoving>"u"&&(r.currentX!==r.startX||r.currentY!==r.startY)&&(n.startMoving=!0),n.isScrolling||o.type==="touchmove"&&n.preventTouchMoveFromPointerMove){n.isTouched=!1;return}if(!n.startMoving)return;t.allowClick=!1,!s.cssMode&&o.cancelable&&o.preventDefault(),s.touchMoveStopPropagation&&!s.nested&&o.stopPropagation();let d=t.isHorizontal()?g:c,m=t.isHorizontal()?r.currentX-r.previousX:r.currentY-r.previousY;s.oneWayMovement&&(d=Math.abs(d)*(a?1:-1),m=Math.abs(m)*(a?1:-1)),r.diff=d,d*=s.touchRatio,a&&(d=-d,m=-m);let b=t.touchesDirection;t.swipeDirection=d>0?"prev":"next",t.touchesDirection=m>0?"prev":"next";let h=t.params.loop&&!s.cssMode,v=t.touchesDirection==="next"&&t.allowSlideNext||t.touchesDirection==="prev"&&t.allowSlidePrev;if(!n.isMoved){if(h&&v&&t.loopFix({direction:t.swipeDirection}),n.startTranslate=t.getTranslate(),t.setTransition(0),t.animating){let C=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});t.wrapperEl.dispatchEvent(C)}n.allowMomentumBounce=!1,s.grabCursor&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!0),t.emit("sliderFirstMove",o)}let y;if(new Date().getTime(),s._loopSwapReset!==!1&&n.isMoved&&n.allowThresholdMove&&b!==t.touchesDirection&&h&&v&&Math.abs(d)>=1){Object.assign(r,{startX:p,startY:f,currentX:p,currentY:f,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,n.startTranslate=n.currentTranslate;return}t.emit("sliderMove",o),n.isMoved=!0,n.currentTranslate=d+n.startTranslate;let M=!0,P=s.resistanceRatio;if(s.touchReleaseOnEdges&&(P=0),d>0?(h&&v&&!y&&n.allowThresholdMove&&n.currentTranslate>(s.centeredSlides?t.minTranslate()-t.slidesSizesGrid[t.activeIndex+1]-(s.slidesPerView!=="auto"&&t.slides.length-s.slidesPerView>=2?t.slidesSizesGrid[t.activeIndex+1]+t.params.spaceBetween:0)-t.params.spaceBetween:t.minTranslate())&&t.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>t.minTranslate()&&(M=!1,s.resistance&&(n.currentTranslate=t.minTranslate()-1+(-t.minTranslate()+n.startTranslate+d)**P))):d<0&&(h&&v&&!y&&n.allowThresholdMove&&n.currentTranslate<(s.centeredSlides?t.maxTranslate()+t.slidesSizesGrid[t.slidesSizesGrid.length-1]+t.params.spaceBetween+(s.slidesPerView!=="auto"&&t.slides.length-s.slidesPerView>=2?t.slidesSizesGrid[t.slidesSizesGrid.length-1]+t.params.spaceBetween:0):t.maxTranslate())&&t.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:t.slides.length-(s.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(parseFloat(s.slidesPerView,10)))}),n.currentTranslate<t.maxTranslate()&&(M=!1,s.resistance&&(n.currentTranslate=t.maxTranslate()+1-(t.maxTranslate()-n.startTranslate-d)**P))),M&&(o.preventedByNestedSwiper=!0),!t.allowSlideNext&&t.swipeDirection==="next"&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!t.allowSlidePrev&&t.swipeDirection==="prev"&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),!t.allowSlidePrev&&!t.allowSlideNext&&(n.currentTranslate=n.startTranslate),s.threshold>0)if(Math.abs(d)>s.threshold||n.allowThresholdMove){if(!n.allowThresholdMove){n.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,n.currentTranslate=n.startTranslate,r.diff=t.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY;return}}else{n.currentTranslate=n.startTranslate;return}!s.followFinger||s.cssMode||((s.freeMode&&s.freeMode.enabled&&t.freeMode||s.watchSlidesProgress)&&(t.updateActiveIndex(),t.updateSlidesClasses()),s.freeMode&&s.freeMode.enabled&&t.freeMode&&t.freeMode.onTouchMove(),t.updateProgress(n.currentTranslate),t.setTranslate(n.currentTranslate))}function Sd(e){let i=this,t=i.touchEventsData,n=e;n.originalEvent&&(n=n.originalEvent);let s;if(n.type==="touchend"||n.type==="touchcancel"){if(s=[...n.changedTouches].find(P=>P.identifier===t.touchId),!s||s.identifier!==t.touchId)return}else{if(t.touchId!==null||n.pointerId!==t.pointerId)return;s=n}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(n.type)&&!(["pointercancel","contextmenu"].includes(n.type)&&(i.browser.isSafari||i.browser.isWebView)))return;t.pointerId=null,t.touchId=null;let{params:a,touches:l,rtlTranslate:o,slidesGrid:u,enabled:p}=i;if(!p||!a.simulateTouch&&n.pointerType==="mouse")return;if(t.allowTouchCallbacks&&i.emit("touchEnd",n),t.allowTouchCallbacks=!1,!t.isTouched){t.isMoved&&a.grabCursor&&i.setGrabCursor(!1),t.isMoved=!1,t.startMoving=!1;return}a.grabCursor&&t.isMoved&&t.isTouched&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!1);let f=fe(),g=f-t.touchStartTime;if(i.allowClick){let P=n.path||n.composedPath&&n.composedPath();i.updateClickedSlide(P&&P[0]||n.target,P),i.emit("tap click",n),g<300&&f-t.lastClickTime<300&&i.emit("doubleTap doubleClick",n)}if(t.lastClickTime=fe(),Ie(()=>{i.destroyed||(i.allowClick=!0)}),!t.isTouched||!t.isMoved||!i.swipeDirection||l.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 c;if(a.followFinger?c=o?i.translate:-i.translate:c=-t.currentTranslate,a.cssMode)return;if(a.freeMode&&a.freeMode.enabled){i.freeMode.onTouchEnd({currentPos:c});return}let d=c>=-i.maxTranslate()&&!i.params.loop,m=0,b=i.slidesSizesGrid[0];for(let P=0;P<u.length;P+=P<a.slidesPerGroupSkip?1:a.slidesPerGroup){let C=P<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;typeof u[P+C]<"u"?(d||c>=u[P]&&c<u[P+C])&&(m=P,b=u[P+C]-u[P]):(d||c>=u[P])&&(m=P,b=u[u.length-1]-u[u.length-2])}let h=null,v=null;a.rewind&&(i.isBeginning?v=a.virtual&&a.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1:i.isEnd&&(h=0));let y=(c-u[m])/b,M=m<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(g>a.longSwipesMs){if(!a.longSwipes){i.slideTo(i.activeIndex);return}i.swipeDirection==="next"&&(y>=a.longSwipesRatio?i.slideTo(a.rewind&&i.isEnd?h:m+M):i.slideTo(m)),i.swipeDirection==="prev"&&(y>1-a.longSwipesRatio?i.slideTo(m+M):v!==null&&y<0&&Math.abs(y)>a.longSwipesRatio?i.slideTo(v):i.slideTo(m))}else{if(!a.shortSwipes){i.slideTo(i.activeIndex);return}i.navigation&&(n.target===i.navigation.nextEl||n.target===i.navigation.prevEl)?n.target===i.navigation.nextEl?i.slideTo(m+M):i.slideTo(m):(i.swipeDirection==="next"&&i.slideTo(h!==null?h:m+M),i.swipeDirection==="prev"&&i.slideTo(v!==null?v:m))}}function Oo(){let e=this,{params:i,el:t}=e;if(t&&t.offsetWidth===0)return;i.breakpoints&&e.setBreakpoint();let{allowSlideNext:n,allowSlidePrev:s,snapGrid:r}=e,a=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();let l=a&&i.loop;(i.slidesPerView==="auto"||i.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides&&!l?e.slideTo(e.slides.length-1,0,!1,!0):e.params.loop&&!a?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=s,e.allowSlideNext=n,e.params.watchOverflow&&r!==e.snapGrid&&e.checkOverflow()}function Ed(e){let i=this;i.enabled&&(i.allowClick||(i.params.preventClicks&&e.preventDefault(),i.params.preventClicksPropagation&&i.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function Td(){let e=this,{wrapperEl:i,rtlTranslate:t,enabled:n}=e;if(!n)return;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-i.scrollLeft:e.translate=-i.scrollTop,e.translate===0&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();let s,r=e.maxTranslate()-e.minTranslate();r===0?s=0:s=(e.translate-e.minTranslate())/r,s!==e.progress&&e.updateProgress(t?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function wd(e){let i=this;qi(i,e.target),!(i.params.cssMode||i.params.slidesPerView!=="auto"&&!i.params.autoHeight)&&i.update()}function Md(){let e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}var Ro=(e,i)=>{let t=Z(),{params:n,el:s,wrapperEl:r,device:a}=e,l=!!n.nested,o=i==="on"?"addEventListener":"removeEventListener",u=i;!s||typeof s=="string"||(t[o]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:l}),s[o]("touchstart",e.onTouchStart,{passive:!1}),s[o]("pointerdown",e.onTouchStart,{passive:!1}),t[o]("touchmove",e.onTouchMove,{passive:!1,capture:l}),t[o]("pointermove",e.onTouchMove,{passive:!1,capture:l}),t[o]("touchend",e.onTouchEnd,{passive:!0}),t[o]("pointerup",e.onTouchEnd,{passive:!0}),t[o]("pointercancel",e.onTouchEnd,{passive:!0}),t[o]("touchcancel",e.onTouchEnd,{passive:!0}),t[o]("pointerout",e.onTouchEnd,{passive:!0}),t[o]("pointerleave",e.onTouchEnd,{passive:!0}),t[o]("contextmenu",e.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&s[o]("click",e.onClick,!0),n.cssMode&&r[o]("scroll",e.onScroll),n.updateOnWindowResize?e[u](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",Oo,!0):e[u]("observerUpdate",Oo,!0),s[o]("load",e.onLoad,{capture:!0}))};function xd(){let e=this,{params:i}=e;e.onTouchStart=yd.bind(e),e.onTouchMove=bd.bind(e),e.onTouchEnd=Sd.bind(e),e.onDocumentTouchStart=Md.bind(e),i.cssMode&&(e.onScroll=Td.bind(e)),e.onClick=Ed.bind(e),e.onLoad=wd.bind(e),Ro(e,"on")}function Cd(){Ro(this,"off")}var _d={attachEvents:xd,detachEvents:Cd},ko=(e,i)=>e.grid&&i.grid&&i.grid.rows>1;function Pd(){let e=this,{realIndex:i,initialized:t,params:n,el:s}=e,r=n.breakpoints;if(!r||r&&Object.keys(r).length===0)return;let a=Z(),l=n.breakpointsBase==="window"||!n.breakpointsBase?n.breakpointsBase:"container",o=["window","container"].includes(n.breakpointsBase)||!n.breakpointsBase?e.el:a.querySelector(n.breakpointsBase),u=e.getBreakpoint(r,l,o);if(!u||e.currentBreakpoint===u)return;let f=(u in r?r[u]:void 0)||e.originalParams,g=ko(e,n),c=ko(e,f),d=e.params.grabCursor,m=f.grabCursor,b=n.enabled;g&&!c?(s.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),e.emitContainerClasses()):!g&&c&&(s.classList.add(`${n.containerModifierClass}grid`),(f.grid.fill&&f.grid.fill==="column"||!f.grid.fill&&n.grid.fill==="column")&&s.classList.add(`${n.containerModifierClass}grid-column`),e.emitContainerClasses()),d&&!m?e.unsetGrabCursor():!d&&m&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(C=>{if(typeof f[C]>"u")return;let O=n[C]&&n[C].enabled,S=f[C]&&f[C].enabled;O&&!S&&e[C].disable(),!O&&S&&e[C].enable()});let h=f.direction&&f.direction!==n.direction,v=n.loop&&(f.slidesPerView!==n.slidesPerView||h),y=n.loop;h&&t&&e.changeDirection(),ve(e.params,f);let M=e.params.enabled,P=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),b&&!M?e.disable():!b&&M&&e.enable(),e.currentBreakpoint=u,e.emit("_beforeBreakpoint",f),t&&(v?(e.loopDestroy(),e.loopCreate(i),e.updateSlides()):!y&&P?(e.loopCreate(i),e.updateSlides()):y&&!P&&e.loopDestroy()),e.emit("breakpoint",f)}function Ad(e,i="window",t){if(!e||i==="container"&&!t)return;let n=!1,s=K(),r=i==="window"?s.innerHeight:t.clientHeight,a=Object.keys(e).map(l=>{if(typeof l=="string"&&l.indexOf("@")===0){let o=parseFloat(l.substr(1));return{value:r*o,point:l}}return{value:l,point:l}});a.sort((l,o)=>parseInt(l.value,10)-parseInt(o.value,10));for(let l=0;l<a.length;l+=1){let{point:o,value:u}=a[l];i==="window"?s.matchMedia(`(min-width: ${u}px)`).matches&&(n=o):u<=t.clientWidth&&(n=o)}return n||"max"}var Od={setBreakpoint:Pd,getBreakpoint:Ad};function kd(e,i){let t=[];return e.forEach(n=>{typeof n=="object"?Object.keys(n).forEach(s=>{n[s]&&t.push(i+s)}):typeof n=="string"&&t.push(i+n)}),t}function Id(){let e=this,{classNames:i,params:t,rtl:n,el:s,device:r}=e,a=kd(["initialized",t.direction,{"free-mode":e.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:n},{grid:t.grid&&t.grid.rows>1},{"grid-column":t.grid&&t.grid.rows>1&&t.grid.fill==="column"},{android:r.android},{ios:r.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);i.push(...a),s.classList.add(...i),e.emitContainerClasses()}function Ld(){let e=this,{el:i,classNames:t}=e;!i||typeof i=="string"||(i.classList.remove(...t),e.emitContainerClasses())}var Dd={addClasses:Id,removeClasses:Ld};function zd(){let e=this,{isLocked:i,params:t}=e,{slidesOffsetBefore:n}=t;if(n){let s=e.slides.length-1,r=e.slidesGrid[s]+e.slidesSizesGrid[s]+n*2;e.isLocked=e.size>r}else e.isLocked=e.snapGrid.length===1;t.allowSlideNext===!0&&(e.allowSlideNext=!e.isLocked),t.allowSlidePrev===!0&&(e.allowSlidePrev=!e.isLocked),i&&i!==e.isLocked&&(e.isEnd=!1),i!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}var Rd={checkOverflow:zd},Yi={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 Nd(e,i){return function(n={}){let s=Object.keys(n)[0],r=n[s];if(typeof r!="object"||r===null){ve(i,n);return}if(e[s]===!0&&(e[s]={enabled:!0}),s==="navigation"&&e[s]&&e[s].enabled&&!e[s].prevEl&&!e[s].nextEl&&(e[s].auto=!0),["pagination","scrollbar"].indexOf(s)>=0&&e[s]&&e[s].enabled&&!e[s].el&&(e[s].auto=!0),!(s in e&&"enabled"in r)){ve(i,n);return}typeof e[s]=="object"&&!("enabled"in e[s])&&(e[s].enabled=!0),e[s]||(e[s]={enabled:!1}),ve(i,n)}}var ls={eventsEmitter:Dc,update:Wc,translate:Qc,transition:td,slide:cd,loop:pd,grabCursor:gd,events:_d,breakpoints:Od,checkOverflow:Rd,classes:Dd},cs={},Ze=class e{constructor(...i){let t,n;i.length===1&&i[0].constructor&&Object.prototype.toString.call(i[0]).slice(8,-1)==="Object"?n=i[0]:[t,n]=i,n||(n={}),n=ve({},n),t&&!n.el&&(n.el=t);let s=Z();if(n.el&&typeof n.el=="string"&&s.querySelectorAll(n.el).length>1){let o=[];return s.querySelectorAll(n.el).forEach(u=>{let p=ve({},n,{el:u});o.push(new e(p))}),o}let r=this;r.__swiper__=!0,r.support=Io(),r.device=Lo({userAgent:n.userAgent}),r.browser=Do(),r.eventsListeners={},r.eventsAnyListeners=[],r.modules=[...r.__modules__],n.modules&&Array.isArray(n.modules)&&n.modules.forEach(o=>{typeof o=="function"&&r.modules.indexOf(o)<0&&r.modules.push(o)});let a={};r.modules.forEach(o=>{o({params:n,swiper:r,extendParams:Nd(n,a),on:r.on.bind(r),once:r.once.bind(r),off:r.off.bind(r),emit:r.emit.bind(r)})});let l=ve({},Yi,a);return r.params=ve({},l,cs,n),r.originalParams=ve({},r.params),r.passedParams=ve({},n),r.params&&r.params.on&&Object.keys(r.params.on).forEach(o=>{r.on(o,r.params.on[o])}),r.params&&r.params.onAny&&r.onAny(r.params.onAny),Object.assign(r,{enabled:r.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return r.params.direction==="horizontal"},isVertical(){return r.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:r.params.allowSlideNext,allowSlidePrev:r.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:r.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:r.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),r.emit("_swiper"),r.params.init&&r.init(),r}getDirectionLabel(i){return this.isHorizontal()?i:{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"}[i]}getSlideIndex(i){let{slidesEl:t,params:n}=this,s=te(t,`.${n.slideClass}, swiper-slide`),r=Xe(s[0]);return Xe(i)-r}getSlideIndexByData(i){return this.getSlideIndex(this.slides.find(t=>t.getAttribute("data-swiper-slide-index")*1===i))}getSlideIndexWhenGrid(i){return this.grid&&this.params.grid&&this.params.grid.rows>1&&(this.params.grid.fill==="column"?i=Math.floor(i/this.params.grid.rows):this.params.grid.fill==="row"&&(i=i%Math.ceil(this.slides.length/this.params.grid.rows))),i}recalcSlides(){let i=this,{slidesEl:t,params:n}=i;i.slides=te(t,`.${n.slideClass}, swiper-slide`)}enable(){let i=this;i.enabled||(i.enabled=!0,i.params.grabCursor&&i.setGrabCursor(),i.emit("enable"))}disable(){let i=this;i.enabled&&(i.enabled=!1,i.params.grabCursor&&i.unsetGrabCursor(),i.emit("disable"))}setProgress(i,t){let n=this;i=Math.min(Math.max(i,0),1);let s=n.minTranslate(),a=(n.maxTranslate()-s)*i+s;n.translateTo(a,typeof t>"u"?0:t),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){let i=this;if(!i.params._emitClasses||!i.el)return;let t=i.el.className.split(" ").filter(n=>n.indexOf("swiper")===0||n.indexOf(i.params.containerModifierClass)===0);i.emit("_containerClasses",t.join(" "))}getSlideClasses(i){let t=this;return t.destroyed?"":i.className.split(" ").filter(n=>n.indexOf("swiper-slide")===0||n.indexOf(t.params.slideClass)===0).join(" ")}emitSlidesClasses(){let i=this;if(!i.params._emitClasses||!i.el)return;let t=[];i.slides.forEach(n=>{let s=i.getSlideClasses(n);t.push({slideEl:n,classNames:s}),i.emit("_slideClass",n,s)}),i.emit("_slideClasses",t)}slidesPerViewDynamic(i="current",t=!1){let n=this,{params:s,slides:r,slidesGrid:a,slidesSizesGrid:l,size:o,activeIndex:u}=n,p=1;if(typeof s.slidesPerView=="number")return s.slidesPerView;if(s.centeredSlides){let f=r[u]?Math.ceil(r[u].swiperSlideSize):0,g;for(let c=u+1;c<r.length;c+=1)r[c]&&!g&&(f+=Math.ceil(r[c].swiperSlideSize),p+=1,f>o&&(g=!0));for(let c=u-1;c>=0;c-=1)r[c]&&!g&&(f+=r[c].swiperSlideSize,p+=1,f>o&&(g=!0))}else if(i==="current")for(let f=u+1;f<r.length;f+=1)(t?a[f]+l[f]-a[u]<o:a[f]-a[u]<o)&&(p+=1);else for(let f=u-1;f>=0;f-=1)a[u]-a[f]<o&&(p+=1);return p}update(){let i=this;if(!i||i.destroyed)return;let{snapGrid:t,params:n}=i;n.breakpoints&&i.setBreakpoint(),[...i.el.querySelectorAll('[loading="lazy"]')].forEach(a=>{a.complete&&qi(i,a)}),i.updateSize(),i.updateSlides(),i.updateProgress(),i.updateSlidesClasses();function s(){let a=i.rtlTranslate?i.translate*-1:i.translate,l=Math.min(Math.max(a,i.maxTranslate()),i.minTranslate());i.setTranslate(l),i.updateActiveIndex(),i.updateSlidesClasses()}let r;if(n.freeMode&&n.freeMode.enabled&&!n.cssMode)s(),n.autoHeight&&i.updateAutoHeight();else{if((n.slidesPerView==="auto"||n.slidesPerView>1)&&i.isEnd&&!n.centeredSlides){let a=i.virtual&&n.virtual.enabled?i.virtual.slides:i.slides;r=i.slideTo(a.length-1,0,!1,!0)}else r=i.slideTo(i.activeIndex,0,!1,!0);r||s()}n.watchOverflow&&t!==i.snapGrid&&i.checkOverflow(),i.emit("update")}changeDirection(i,t=!0){let n=this,s=n.params.direction;
vendor: 9,959 bytes, line 1
1return i||(i=s==="horizontal"?"vertical":"horizontal"),i===s||i!=="horizontal"&&i!=="vertical"||(n.el.classList.remove(`${n.params.containerModifierClass}${s}`),n.el.classList.add(`${n.params.containerModifierClass}${i}`),n.emitContainerClasses(),n.params.direction=i,n.slides.forEach(r=>{i==="vertical"?r.style.width="":r.style.height=""}),n.emit("changeDirection"),t&&n.update()),n}changeLanguageDirection(i){let t=this;t.rtl&&i==="rtl"||!t.rtl&&i==="ltr"||(t.rtl=i==="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(i){let t=this;if(t.mounted)return!0;let n=i||t.params.el;if(typeof n=="string"&&(n=document.querySelector(n)),!n)return!1;n.swiper=t,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);let s=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`,a=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(s()):te(n,s())[0];return!a&&t.params.createElements&&(a=ne("div",t.params.wrapperClass),n.append(a),te(n,`.${t.params.slideClass}`).forEach(l=>{a.append(l)})),Object.assign(t,{el:n,wrapperEl:a,slidesEl:t.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:a,hostEl:t.isElement?n.parentNode.host:n,mounted:!0,rtl:n.dir.toLowerCase()==="rtl"||Ve(n,"direction")==="rtl",rtlTranslate:t.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||Ve(n,"direction")==="rtl"),wrongRTL:Ve(a,"display")==="-webkit-box"}),!0}init(i){let t=this;if(t.initialized||t.mount(i)===!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();let s=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&s.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),s.forEach(r=>{r.complete?qi(t,r):r.addEventListener("load",a=>{qi(t,a.target)})}),ds(t),t.initialized=!0,ds(t),t.emit("init"),t.emit("afterInit"),t}destroy(i=!0,t=!0){let n=this,{params:s,el:r,wrapperEl:a,slides:l}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),s.loop&&n.loopDestroy(),t&&(n.removeClasses(),r&&typeof r!="string"&&r.removeAttribute("style"),a&&a.removeAttribute("style"),l&&l.length&&l.forEach(o=>{o.classList.remove(s.slideVisibleClass,s.slideFullyVisibleClass,s.slideActiveClass,s.slideNextClass,s.slidePrevClass),o.removeAttribute("style"),o.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(o=>{n.off(o)}),i!==!1&&(n.el&&typeof n.el!="string"&&(n.el.swiper=null),Mo(n)),n.destroyed=!0),null}static extendDefaults(i){ve(cs,i)}static get extendedDefaults(){return cs}static get defaults(){return Yi}static installModule(i){e.prototype.__modules__||(e.prototype.__modules__=[]);let t=e.prototype.__modules__;typeof i=="function"&&t.indexOf(i)<0&&t.push(i)}static use(i){return Array.isArray(i)?(i.forEach(t=>e.installModule(t)),e):(e.installModule(i),e)}};Object.keys(ls).forEach(e=>{Object.keys(ls[e]).forEach(i=>{Ze.prototype[i]=ls[e][i]})});Ze.use([Ic,Lc]);function No({swiper:e,extendParams:i,on:t,emit:n}){i({virtual:{enabled:!1,slides:[],cache:!0,slidesPerViewAutoSlideSize:320,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});let s,r=Z();e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};let a=r.createElement("div");function l(c,d){let m=e.params.virtual;if(m.cache&&e.virtual.cache[d])return e.virtual.cache[d];let b;return m.renderSlide?(b=m.renderSlide.call(e,c,d),typeof b=="string"&&(se(a,b),b=a.children[0])):e.isElement?b=ne("swiper-slide"):b=ne("div",e.params.slideClass),b.setAttribute("data-swiper-slide-index",d),m.renderSlide||se(b,c),m.cache&&(e.virtual.cache[d]=b),b}function o(c,d,m){let{slidesPerGroup:b,centeredSlides:h,slidesPerView:v,loop:y,initialSlide:M}=e.params;if(d&&!y&&M>0)return;let{addSlidesBefore:P,addSlidesAfter:C,slidesPerViewAutoSlideSize:O}=e.params.virtual,{from:S,to:D,slides:k,slidesGrid:x,offset:_}=e.virtual;e.params.cssMode||e.updateActiveIndex();let A=typeof m>"u"?e.activeIndex||0:m,I;e.rtlTranslate?I="right":I=e.isHorizontal()?"left":"top";let N;if(v==="auto")if(O){let R=e.size;R||(R=e.isHorizontal()?e.el.getBoundingClientRect().width:e.el.getBoundingClientRect().height),N=Math.max(1,Math.ceil(R/O))}else N=1;else N=v;let E,T;h?(E=Math.floor(N/2)+b+C,T=Math.floor(N/2)+b+P):(E=N+(b-1)+C,T=(y?N:b)+P);let w=A-T,z=A+E;y||(w=Math.max(w,0),z=Math.min(z,k.length-1));let B=(e.slidesGrid[w]||0)-(e.slidesGrid[0]||0);y&&A>=T?(w-=T,h||(B+=e.slidesGrid[0])):y&&A<T&&(w=-T,h&&(B+=e.slidesGrid[0])),Object.assign(e.virtual,{from:w,to:z,offset:B,slidesGrid:e.slidesGrid,slidesBefore:T,slidesAfter:E});function U(){e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),n("virtualUpdate")}if(S===w&&D===z&&!c){e.slidesGrid!==x&&B!==_&&e.slides.forEach(R=>{R.style[I]=`${B-Math.abs(e.cssOverflowAdjustment())}px`}),e.updateProgress(),n("virtualUpdate");return}if(e.params.virtual.renderExternal){e.params.virtual.renderExternal.call(e,{offset:B,from:w,to:z,slides:(function(){let G=[];for(let Q=w;Q<=z;Q+=1)G.push(k[Q]);return G})()}),e.params.virtual.renderExternalUpdate?U():n("virtualUpdate");return}let J=[],ie=[],L=R=>{let G=R;return R<0?G=k.length+R:G>=k.length&&(G=G-k.length),G};if(c)e.slides.filter(R=>R.matches(`.${e.params.slideClass}, swiper-slide`)).forEach(R=>{R.remove()});else for(let R=S;R<=D;R+=1)if(R<w||R>z){let G=L(R);e.slides.filter(Q=>Q.matches(`.${e.params.slideClass}[data-swiper-slide-index="${G}"], swiper-slide[data-swiper-slide-index="${G}"]`)).forEach(Q=>{Q.remove()})}let F=y?-k.length:0,$=y?k.length*2:k.length;for(let R=F;R<$;R+=1)if(R>=w&&R<=z){let G=L(R);typeof D>"u"||c?ie.push(G):(R>D&&ie.push(G),R<S&&J.push(G))}if(ie.forEach(R=>{e.slidesEl.append(l(k[R],R))}),y)for(let R=J.length-1;R>=0;R-=1){let G=J[R];e.slidesEl.prepend(l(k[G],G))}else J.sort((R,G)=>G-R),J.forEach(R=>{e.slidesEl.prepend(l(k[R],R))});te(e.slidesEl,".swiper-slide, swiper-slide").forEach(R=>{R.style[I]=`${B-Math.abs(e.cssOverflowAdjustment())}px`}),U()}function u(c){if(typeof c=="object"&&"length"in c)for(let d=0;d<c.length;d+=1)c[d]&&e.virtual.slides.push(c[d]);else e.virtual.slides.push(c);o(!0)}function p(c){let d=e.activeIndex,m=d+1,b=1;if(Array.isArray(c)){for(let h=0;h<c.length;h+=1)c[h]&&e.virtual.slides.unshift(c[h]);m=d+c.length,b=c.length}else e.virtual.slides.unshift(c);if(e.params.virtual.cache){let h=e.virtual.cache,v={};Object.keys(h).forEach(y=>{let M=h[y],P=M.getAttribute("data-swiper-slide-index");P&&M.setAttribute("data-swiper-slide-index",parseInt(P,10)+b),v[parseInt(y,10)+b]=M}),e.virtual.cache=v}o(!0),e.slideTo(m,0)}function f(c){if(typeof c>"u"||c===null)return;let d=e.activeIndex;if(Array.isArray(c))for(let m=c.length-1;m>=0;m-=1)e.params.virtual.cache&&(delete e.virtual.cache[c[m]],Object.keys(e.virtual.cache).forEach(b=>{b>c&&(e.virtual.cache[b-1]=e.virtual.cache[b],e.virtual.cache[b-1].setAttribute("data-swiper-slide-index",b-1),delete e.virtual.cache[b])})),e.virtual.slides.splice(c[m],1),c[m]<d&&(d-=1),d=Math.max(d,0);else e.params.virtual.cache&&(delete e.virtual.cache[c],Object.keys(e.virtual.cache).forEach(m=>{m>c&&(e.virtual.cache[m-1]=e.virtual.cache[m],e.virtual.cache[m-1].setAttribute("data-swiper-slide-index",m-1),delete e.virtual.cache[m])})),e.virtual.slides.splice(c,1),c<d&&(d-=1),d=Math.max(d,0);o(!0),e.slideTo(d,0)}function g(){e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),o(!0),e.slideTo(0,0)}t("beforeInit",()=>{if(!e.params.virtual.enabled)return;let c;if(typeof e.passedParams.virtual.slides>"u"){let d=[...e.slidesEl.children].filter(m=>m.matches(`.${e.params.slideClass}, swiper-slide`));d&&d.length&&(e.virtual.slides=[...d],c=!0,d.forEach((m,b)=>{m.setAttribute("data-swiper-slide-index",b),e.virtual.cache[b]=m,m.remove()}))}c||(e.virtual.slides=e.params.virtual.slides),e.classNames.push(`${e.params.containerModifierClass}virtual`),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0,o(!1,!0)}),t("setTranslate",()=>{e.params.virtual.enabled&&(e.params.cssMode&&!e._immediateVirtual?(clearTimeout(s),s=setTimeout(()=>{o()},100)):o())}),t("init update resize",()=>{e.params.virtual.enabled&&e.params.cssMode&&Be(e.wrapperEl,"--swiper-virtual-size",`${e.virtualSize}px`)}),Object.assign(e.virtual,{appendSlide:u,prependSlide:p,removeSlide:f,removeAllSlides:g,update:o})}function $o({swiper:e,extendParams:i,on:t,emit:n}){let s=Z(),r=K();e.keyboard={enabled:!1},i({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0,speed:void 0}});function a(u){if(!e.enabled)return;let{rtlTranslate:p}=e,f=u;f.originalEvent&&(f=f.originalEvent);let g=f.keyCode||f.charCode,c=e.params.keyboard.pageUpDown,d=c&&g===33,m=c&&g===34,b=g===37,h=g===39,v=g===38,y=g===40;if(!e.allowSlideNext&&(e.isHorizontal()&&h||e.isVertical()&&y||m)||!e.allowSlidePrev&&(e.isHorizontal()&&b||e.isVertical()&&v||d))return!1;if(f.shiftKey||f.altKey||f.ctrlKey||f.metaKey||s.activeElement&&(s.activeElement.isContentEditable||s.activeElement.nodeName&&(s.activeElement.nodeName.toLowerCase()==="input"||s.activeElement.nodeName.toLowerCase()==="textarea")))return;if(e.params.keyboard.onlyInViewport&&(d||m||b||h||v||y)){let P=!1;if(Ae(e.el,`.${e.params.slideClass}, swiper-slide`).length>0&&Ae(e.el,`.${e.params.slideActiveClass}`).length===0)return;let C=e.el,O=C.clientWidth,S=C.clientHeight,D=r.innerWidth,k=r.innerHe
vendor: 11,675 bytes, line 1
1ight,x=lt(C);p&&(x.left-=C.scrollLeft);let _=[[x.left,x.top],[x.left+O,x.top],[x.left,x.top+S],[x.left+O,x.top+S]];for(let A=0;A<_.length;A+=1){let I=_[A];if(I[0]>=0&&I[0]<=D&&I[1]>=0&&I[1]<=k){if(I[0]===0&&I[1]===0)continue;P=!0}}if(!P)return}let M=e.params.keyboard.speed;e.isHorizontal()?((d||m||b||h)&&(f.preventDefault?f.preventDefault():f.returnValue=!1),((m||h)&&!p||(d||b)&&p)&&e.slideNext(M),((d||b)&&!p||(m||h)&&p)&&e.slidePrev(M)):((d||m||v||y)&&(f.preventDefault?f.preventDefault():f.returnValue=!1),(m||y)&&e.slideNext(M),(d||v)&&e.slidePrev(M)),n("keyPress",g)}function l(){e.keyboard.enabled||(s.addEventListener("keydown",a),e.keyboard.enabled=!0)}function o(){e.keyboard.enabled&&(s.removeEventListener("keydown",a),e.keyboard.enabled=!1)}t("init",()=>{e.params.keyboard.enabled&&l()}),t("destroy",()=>{e.keyboard.enabled&&o()}),Object.assign(e.keyboard,{enable:l,disable:o})}function Fo({swiper:e,extendParams:i,on:t,emit:n}){let s=K();i({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 r,a=fe(),l,o=[];function u(v){let C=0,O=0,S=0,D=0;return"detail"in v&&(O=v.detail),"wheelDelta"in v&&(O=-v.wheelDelta/120),"wheelDeltaY"in v&&(O=-v.wheelDeltaY/120),"wheelDeltaX"in v&&(C=-v.wheelDeltaX/120),"axis"in v&&v.axis===v.HORIZONTAL_AXIS&&(C=O,O=0),S=C*10,D=O*10,"deltaY"in v&&(D=v.deltaY),"deltaX"in v&&(S=v.deltaX),v.shiftKey&&!S&&(S=D,D=0),(S||D)&&v.deltaMode&&(v.deltaMode===1?(S*=40,D*=40):(S*=800,D*=800)),S&&!C&&(C=S<1?-1:1),D&&!O&&(O=D<1?-1:1),{spinX:C,spinY:O,pixelX:S,pixelY:D}}function p(){e.enabled&&(e.mouseEntered=!0)}function f(){e.enabled&&(e.mouseEntered=!1)}function g(v){return e.params.mousewheel.thresholdDelta&&v.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&fe()-a<e.params.mousewheel.thresholdTime?!1:v.delta>=6&&fe()-a<60?!0:(v.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),n("scroll",v.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),n("scroll",v.raw)),a=new s.Date().getTime(),!1)}function c(v){let y=e.params.mousewheel;if(v.direction<0){if(e.isEnd&&!e.params.loop&&y.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&y.releaseOnEdges)return!0;return!1}function d(v){let y=v,M=!0;if(!e.enabled||v.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;let P=e.params.mousewheel;e.params.cssMode&&y.preventDefault();let C=e.el;e.params.mousewheel.eventsTarget!=="container"&&(C=document.querySelector(e.params.mousewheel.eventsTarget));let O=C&&C.contains(y.target);if(!e.mouseEntered&&!O&&!P.releaseOnEdges)return!0;y.originalEvent&&(y=y.originalEvent);let S=0,D=e.rtlTranslate?-1:1,k=u(y);if(P.forceToAxis)if(e.isHorizontal())if(Math.abs(k.pixelX)>Math.abs(k.pixelY))S=-k.pixelX*D;else return!0;else if(Math.abs(k.pixelY)>Math.abs(k.pixelX))S=-k.pixelY;else return!0;else S=Math.abs(k.pixelX)>Math.abs(k.pixelY)?-k.pixelX*D:-k.pixelY;if(S===0)return!0;P.invert&&(S=-S);let x=e.getTranslate()+S*P.sensitivity;if(x>=e.minTranslate()&&(x=e.minTranslate()),x<=e.maxTranslate()&&(x=e.maxTranslate()),M=e.params.loop?!0:!(x===e.minTranslate()||x===e.maxTranslate()),M&&e.params.nested&&y.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){let _={time:fe(),delta:Math.abs(S),direction:Math.sign(S),raw:v};o.length>=2&&o.shift();let A=o.length?o[o.length-1]:void 0;if(o.push(_),A?(_.direction!==A.direction||_.delta>A.delta||_.time>A.time+150)&&g(_):g(_),c(_))return!0}else{let _={time:fe(),delta:Math.abs(S),direction:Math.sign(S)},A=l&&_.time<l.time+500&&_.delta<=l.delta&&_.direction===l.direction;if(!A){l=void 0;let I=e.getTranslate()+S*P.sensitivity,N=e.isBeginning,E=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(),(!N&&e.isBeginning||!E&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:_.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(r),r=void 0,o.length>=15&&o.shift();let T=o.length?o[o.length-1]:void 0,w=o[0];if(o.push(_),T&&(_.delta>T.delta||_.direction!==T.direction))o.splice(0);else if(o.length>=15&&_.time-w.time<500&&w.delta-_.delta>=1&&_.delta<=6){let z=S>0?.8:.2;l=_,o.splice(0),r=Ie(()=>{e.destroyed||!e.params||e.slideToClosest(e.params.speed,!0,void 0,z)},0)}r||(r=Ie(()=>{if(e.destroyed||!e.params)return;let z=.5;l=_,o.splice(0),e.slideToClosest(e.params.speed,!0,void 0,z)},500))}if(A||n("scroll",y),e.params.autoplay&&e.params.autoplay.disableOnInteraction&&e.autoplay.stop(),P.releaseOnEdges&&(I===e.minTranslate()||I===e.maxTranslate()))return!0}}return y.preventDefault?y.preventDefault():y.returnValue=!1,!1}function m(v){let y=e.el;e.params.mousewheel.eventsTarget!=="container"&&(y=document.querySelector(e.params.mousewheel.eventsTarget)),y[v]("mouseenter",p),y[v]("mouseleave",f),y[v]("wheel",d)}function b(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",d),!0):e.mousewheel.enabled?!1:(m("addEventListener"),e.mousewheel.enabled=!0,!0)}function h(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,d),!0):e.mousewheel.enabled?(m("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}t("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&h(),e.params.mousewheel.enabled&&b()}),t("destroy",()=>{e.params.cssMode&&b(),e.mousewheel.enabled&&h()}),Object.assign(e.mousewheel,{enable:b,disable:h})}function At(e,i,t,n){return e.params.createElements&&Object.keys(n).forEach(s=>{if(!t[s]&&t.auto===!0){let r=te(e.el,`.${n[s]}`)[0];r||(r=ne("div",n[s]),r.className=n[s],e.el.append(r)),t[s]=r,i[s]=r}}),t}var Bo='<svg class="swiper-navigation-icon" width="11" height="20" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z" fill="currentColor"/></svg>';function Vo({swiper:e,extendParams:i,on:t,emit:n}){i({navigation:{nextEl:null,prevEl:null,addIcons:!0,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null,arrowSvg:Bo};function s(c){let d;return c&&typeof c=="string"&&e.isElement&&(d=e.el.querySelector(c)||e.hostEl.querySelector(c),d)?d:(c&&(typeof c=="string"&&(d=[...document.querySelectorAll(c)]),e.params.uniqueNavElements&&typeof c=="string"&&d&&d.length>1&&e.el.querySelectorAll(c).length===1?d=e.el.querySelector(c):d&&d.length===1&&(d=d[0])),c&&!d?c:d)}function r(c,d){let m=e.params.navigation;c=W(c),c.forEach(b=>{b&&(b.classList[d?"add":"remove"](...m.disabledClass.split(" ")),b.tagName==="BUTTON"&&(b.disabled=d),e.params.watchOverflow&&e.enabled&&b.classList[e.isLocked?"add":"remove"](m.lockClass))})}function a(){let{nextEl:c,prevEl:d}=e.navigation;if(e.params.loop){r(d,!1),r(c,!1);return}r(d,e.isBeginning&&!e.params.rewind),r(c,e.isEnd&&!e.params.rewind)}function l(c){c.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),n("navigationPrev"))}function o(c){c.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),n("navigationNext"))}function u(){let c=e.params.navigation;if(e.params.navigation=At(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(c.nextEl||c.prevEl))return;let d=s(c.nextEl),m=s(c.prevEl);Object.assign(e.navigation,{nextEl:d,prevEl:m}),d=W(d),m=W(m);let b=(h,v)=>{if(h){if(c.addIcons&&h.matches(".swiper-button-next,.swiper-button-prev")&&!h.querySelector("svg")){let y=document.createElement("div");se(y,Bo),h.appendChild(y.querySelector("svg")),y.remove()}h.addEventListener("click",v==="next"?o:l)}!e.enabled&&h&&h.classList.add(...c.lockClass.split(" "))};d.forEach(h=>b(h,"next")),m.forEach(h=>b(h,"prev"))}function p(){let{nextEl:c,prevEl:d}=e.navigation;c=W(c),d=W(d);let m=(b,h)=>{b.removeEventListener("click",h==="next"?o:l),b.classList.remove(...e.params.navigation.disabledClass.split(" "))};c.forEach(b=>m(b,"next")),d.forEach(b=>m(b,"prev"))}t("init",()=>{e.params.navigation.enabled===!1?g():(u(),a())}),t("toEdge fromEdge lock unlock",()=>{a()}),t("destroy",()=>{p()}),t("enable disable",()=>{let{nextEl:c,prevEl:d}=e.navigation;if(c=W(c),d=W(d),e.enabled){a();return}[...c,...d].filter(m=>!!m).forEach(m=>m.classList.add(e.params.navigation.lockClass))}),t("click",(c,d)=>{let{nextEl:m,prevEl:b}=e.navigation;m=W(m),b=W(b);let h=d.target,v=b.includes(h)||m.includes(h);if(e.isElement&&!v){let y=d.path||d.composedPath&&d.composedPath();y&&(v=y.find(M=>m.includes(M)||b.includes(M)))}if(e.params.navigation.hideOnClick&&!v){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===h||e.pagination.el.contains(h)))return;let y;m.length?y=m[0].classList.contains(e.params.navigation.hiddenClass):b.length&&(y=b[0].classList.contains(e.params.navigation.hiddenClass)),n(y===!0?"navigationShow":"navigationHide"),[...m,...b].filter(M=>!!M).forEach(M=>M.classList.toggle(e.params.navigation.hiddenClass))}});let f=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),u(),a()},g=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),p()};Object.assign(e.navigation,{enable:f,disable:g,update:a,init:u,destroy:p})}function Te(e=""){return`.${e.trim().replace(/([\.:!+\/()[\]#>~*^$|=,'"@{}\\])/g,"\\$1").replace(/ /g,".")}`}function Go({swiper:e,extendParams:i,on:t,emit:n}){let s="swiper-pagination";i({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:`${s}-bullet`,bulletActiveClass:`${s}-bullet-active`,modifierClass:`${s}-`,currentClass:`${s}-current`,totalClass:`${s}-total`,hiddenClass:`${s}-hidden`,progressbarFillClass:`${s}-progressbar-fill`,progressbarOppositeClass:`${s}-progressbar-opposite`,clickableClass:`${s}-clickable`,lockClass:`${s}-lock`,horizontalClass:`${s}-horizontal`,verticalClass:`${s}-vertical`,paginationDisabledClass:`${s}-disabled`}}),e.pagination={el:null,bullets:[]};let r,a=0;function l(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function o(h,v){let{bulletActiveClass:y}=e.params.pagination;h&&(h=h[`${v==="prev"?"previous":"next"}ElementSibling`],h&&(h.classList.add(`${y}-${v}`),h=h[`${v==="prev"?"previous":"next"}ElementSibling`],h&&h.classList.add(`${y}-${v}-${v}`)))}function u(h,v,y){if(h=h%y,v=v%y,v===h+1)return"next";if(v===h-1)return"previous"}function p(h){let v=h.target.closest(Te(e.params.pagination.bulletClass));if(!v)return;h.preventDefault();let y=Xe(v)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===y)return;let M=u(e.realIndex,y,e.slides.length);M==="next"?e.slideNext():M==="previous"?e.slidePrev():e.slideToLoop(y)}else e.slideTo(y)}function f(){let h=e.rtl,v=e.params.pagination;if(l())return;let y=e.pagination.el;y=W(y);let M,P,C=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,O=e.params.loop?Math.
vendor: 5,120 bytes, line 1
1ceil(C/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(P=e.previousRealIndex||0,M=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(M=e.snapIndex,P=e.previousSnapIndex):(P=e.previousIndex||0,M=e.activeIndex||0),v.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){let S=e.pagination.bullets,D,k,x;if(v.dynamicBullets&&(r=Zt(S[0],e.isHorizontal()?"width":"height",!0),y.forEach(_=>{_.style[e.isHorizontal()?"width":"height"]=`${r*(v.dynamicMainBullets+4)}px`}),v.dynamicMainBullets>1&&P!==void 0&&(a+=M-(P||0),a>v.dynamicMainBullets-1?a=v.dynamicMainBullets-1:a<0&&(a=0)),D=Math.max(M-a,0),k=D+(Math.min(S.length,v.dynamicMainBullets)-1),x=(k+D)/2),S.forEach(_=>{let A=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(I=>`${v.bulletActiveClass}${I}`)].map(I=>typeof I=="string"&&I.includes(" ")?I.split(" "):I).flat();_.classList.remove(...A)}),y.length>1)S.forEach(_=>{let A=Xe(_);A===M?_.classList.add(...v.bulletActiveClass.split(" ")):e.isElement&&_.setAttribute("part","bullet"),v.dynamicBullets&&(A>=D&&A<=k&&_.classList.add(...`${v.bulletActiveClass}-main`.split(" ")),A===D&&o(_,"prev"),A===k&&o(_,"next"))});else{let _=S[M];if(_&&_.classList.add(...v.bulletActiveClass.split(" ")),e.isElement&&S.forEach((A,I)=>{A.setAttribute("part",I===M?"bullet-active":"bullet")}),v.dynamicBullets){let A=S[D],I=S[k];for(let N=D;N<=k;N+=1)S[N]&&S[N].classList.add(...`${v.bulletActiveClass}-main`.split(" "));o(A,"prev"),o(I,"next")}}if(v.dynamicBullets){let _=Math.min(S.length,v.dynamicMainBullets+4),A=(r*_-r)/2-x*r,I=h?"right":"left";S.forEach(N=>{N.style[e.isHorizontal()?I:"top"]=`${A}px`})}}y.forEach((S,D)=>{if(v.type==="fraction"&&(S.querySelectorAll(Te(v.currentClass)).forEach(k=>{k.textContent=v.formatFractionCurrent(M+1)}),S.querySelectorAll(Te(v.totalClass)).forEach(k=>{k.textContent=v.formatFractionTotal(O)})),v.type==="progressbar"){let k;v.progressbarOpposite?k=e.isHorizontal()?"vertical":"horizontal":k=e.isHorizontal()?"horizontal":"vertical";let x=(M+1)/O,_=1,A=1;k==="horizontal"?_=x:A=x,S.querySelectorAll(Te(v.progressbarFillClass)).forEach(I=>{I.style.transform=`translate3d(0,0,0) scaleX(${_}) scaleY(${A})`,I.style.transitionDuration=`${e.params.speed}ms`})}v.type==="custom"&&v.renderCustom?(se(S,v.renderCustom(e,M+1,O)),D===0&&n("paginationRender",S)):(D===0&&n("paginationRender",S),n("paginationUpdate",S)),e.params.watchOverflow&&e.enabled&&S.classList[e.isLocked?"add":"remove"](v.lockClass)})}function g(){let h=e.params.pagination;if(l())return;let v=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,y=e.pagination.el;y=W(y);let M="";if(h.type==="bullets"){let P=e.params.loop?Math.ceil(v/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&P>v&&(P=v);for(let C=0;C<P;C+=1)h.renderBullet?M+=h.renderBullet.call(e,C,h.bulletClass):M+=`<${h.bulletElement} ${e.isElement?'part="bullet"':""} class="${h.bulletClass}"></${h.bulletElement}>`}h.type==="fraction"&&(h.renderFraction?M=h.renderFraction.call(e,h.currentClass,h.totalClass):M=`<span class="${h.currentClass}"></span> / <span class="${h.totalClass}"></span>`),h.type==="progressbar"&&(h.renderProgressbar?M=h.renderProgressbar.call(e,h.progressbarFillClass):M=`<span class="${h.progressbarFillClass}"></span>`),e.pagination.bullets=[],y.forEach(P=>{h.type!=="custom"&&se(P,M||""),h.type==="bullets"&&e.pagination.bullets.push(...P.querySelectorAll(Te(h.bulletClass)))}),h.type!=="custom"&&n("paginationRender",y[0])}function c(){e.params.pagination=At(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});let h=e.params.pagination;if(!h.el)return;let v;typeof h.el=="string"&&e.isElement&&(v=e.el.querySelector(h.el)),!v&&typeof h.el=="string"&&(v=[...document.querySelectorAll(h.el)]),v||(v=h.el),!(!v||v.length===0)&&(e.params.uniqueNavElements&&typeof h.el=="string"&&Array.isArray(v)&&v.length>1&&(v=[...e.el.querySelectorAll(h.el)],v.length>1&&(v=v.find(y=>Ae(y,".swiper")[0]===e.el))),Array.isArray(v)&&v.length===1&&(v=v[0]),Object.assign(e.pagination,{el:v}),v=W(v),v.forEach(y=>{h.type==="bullets"&&h.clickable&&y.classList.add(...(h.clickableClass||"").split(" ")),y.classList.add(h.modifierClass+h.type),y.classList.add(e.isHorizontal()?h.horizontalClass:h.verticalClass),h.type==="bullets"&&h.dynamicBullets&&(y.classList.add(`${h.modifierClass}${h.type}-dynamic`),a=0,h.dynamicMainBullets<1&&(h.dynamicMainBullets=1)),h.type==="progressbar"&&h.progressbarOpposite&&y.classList.add(h.progressbarOppositeClass),h.clickable&&y.addEventListener("click",p),e.enabled||y.classList.add(h.lockClass)}))}function d(){let h=e.params.pagination;if(l())return;let v=e.pagination.el;v&&(v=W(v),v.forEach(y=>{y.classList.remove(h.hiddenClass),y.classList.remove(h.modifierClass+h.type),y.classList.remove(e.isHorizontal()?h.horizontalClass:h.verticalClass),h.clickable&&(y.classList.remove(...(h.clickableClass||"").split(" ")),y.removeEventListener("click",p))}
vendor: 19,207 bytes, line 1
1)),e.pagination.bullets&&e.pagination.bullets.forEach(y=>y.classList.remove(...h.bulletActiveClass.split(" ")))}t("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;let h=e.params.pagination,{el:v}=e.pagination;v=W(v),v.forEach(y=>{y.classList.remove(h.horizontalClass,h.verticalClass),y.classList.add(e.isHorizontal()?h.horizontalClass:h.verticalClass)})}),t("init",()=>{e.params.pagination.enabled===!1?b():(c(),g(),f())}),t("activeIndexChange",()=>{typeof e.snapIndex>"u"&&f()}),t("snapIndexChange",()=>{f()}),t("snapGridLengthChange",()=>{g(),f()}),t("destroy",()=>{d()}),t("enable disable",()=>{let{el:h}=e.pagination;h&&(h=W(h),h.forEach(v=>v.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),t("lock unlock",()=>{f()}),t("click",(h,v)=>{let y=v.target,M=W(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&M&&M.length>0&&!y.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&y===e.navigation.nextEl||e.navigation.prevEl&&y===e.navigation.prevEl))return;let P=M[0].classList.contains(e.params.pagination.hiddenClass);n(P===!0?"paginationShow":"paginationHide"),M.forEach(C=>C.classList.toggle(e.params.pagination.hiddenClass))}});let m=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:h}=e.pagination;h&&(h=W(h),h.forEach(v=>v.classList.remove(e.params.pagination.paginationDisabledClass))),c(),g(),f()},b=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:h}=e.pagination;h&&(h=W(h),h.forEach(v=>v.classList.add(e.params.pagination.paginationDisabledClass))),d()};Object.assign(e.pagination,{enable:m,disable:b,render:g,update:f,init:c,destroy:d})}function Ho({swiper:e,extendParams:i,on:t,emit:n}){let s=Z(),r=!1,a=null,l=null,o,u,p,f;i({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function g(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;let{scrollbar:x,rtlTranslate:_}=e,{dragEl:A,el:I}=x,N=e.params.scrollbar,E=e.params.loop?e.progressLoop:e.progress,T=u,w=(p-u)*E;_?(w=-w,w>0?(T=u-w,w=0):-w+u>p&&(T=p+w)):w<0?(T=u+w,w=0):w+u>p&&(T=p-w),e.isHorizontal()?(A.style.transform=`translate3d(${w}px, 0, 0)`,A.style.width=`${T}px`):(A.style.transform=`translate3d(0px, ${w}px, 0)`,A.style.height=`${T}px`),N.hide&&(clearTimeout(a),I.style.opacity=1,a=setTimeout(()=>{I.style.opacity=0,I.style.transitionDuration="400ms"},1e3))}function c(x){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${x}ms`)}function d(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;let{scrollbar:x}=e,{dragEl:_,el:A}=x;_.style.width="",_.style.height="",p=e.isHorizontal()?A.offsetWidth:A.offsetHeight,f=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?u=p*f:u=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?_.style.width=`${u}px`:_.style.height=`${u}px`,f>=1?A.style.display="none":A.style.display="",e.params.scrollbar.hide&&(A.style.opacity=0),e.params.watchOverflow&&e.enabled&&x.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function m(x){return e.isHorizontal()?x.clientX:x.clientY}function b(x){let{scrollbar:_,rtlTranslate:A}=e,{el:I}=_,N;N=(m(x)-lt(I)[e.isHorizontal()?"left":"top"]-(o!==null?o:u/2))/(p-u),N=Math.max(Math.min(N,1),0),A&&(N=1-N);let E=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*N;e.updateProgress(E),e.setTranslate(E),e.updateActiveIndex(),e.updateSlidesClasses()}function h(x){let _=e.params.scrollbar,{scrollbar:A,wrapperEl:I}=e,{el:N,dragEl:E}=A;r=!0,o=x.target===E?m(x)-x.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,x.preventDefault(),x.stopPropagation(),I.style.transitionDuration="100ms",E.style.transitionDuration="100ms",b(x),clearTimeout(l),N.style.transitionDuration="0ms",_.hide&&(N.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),n("scrollbarDragStart",x)}function v(x){let{scrollbar:_,wrapperEl:A}=e,{el:I,dragEl:N}=_;r&&(x.preventDefault&&x.cancelable?x.preventDefault():x.returnValue=!1,b(x),A.style.transitionDuration="0ms",I.style.transitionDuration="0ms",N.style.transitionDuration="0ms",n("scrollbarDragMove",x))}function y(x){let _=e.params.scrollbar,{scrollbar:A,wrapperEl:I}=e,{el:N}=A;r&&(r=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",I.style.transitionDuration=""),_.hide&&(clearTimeout(l),l=Ie(()=>{N.style.opacity=0,N.style.transitionDuration="400ms"},1e3)),n("scrollbarDragEnd",x),_.snapOnRelease&&e.slideToClosest())}function M(x){let{scrollbar:_,params:A}=e,I=_.el;if(!I)return;let N=I,E=A.passiveListeners?{passive:!1,capture:!1}:!1,T=A.passiveListeners?{passive:!0,capture:!1}:!1;if(!N)return;let w=x==="on"?"addEventListener":"removeEventListener";N[w]("pointerdown",h,E),s[w]("pointermove",v,E),s[w]("pointerup",y,T)}function P(){!e.params.scrollbar.el||!e.scrollbar.el||M("on")}function C(){!e.params.scrollbar.el||!e.scrollbar.el||M("off")}function O(){let{scrollbar:x,el:_}=e;e.params.scrollbar=At(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});let A=e.params.scrollbar;if(!A.el)return;let I;if(typeof A.el=="string"&&e.isElement&&(I=e.el.querySelector(A.el)),!I&&typeof A.el=="string"){if(I=s.querySelectorAll(A.el),!I.length)return}else I||(I=A.el);e.params.uniqueNavElements&&typeof A.el=="string"&&I.length>1&&_.querySelectorAll(A.el).length===1&&(I=_.querySelector(A.el)),I.length>0&&(I=I[0]),I.classList.add(e.isHorizontal()?A.horizontalClass:A.verticalClass);let N;I&&(N=I.querySelector(Te(e.params.scrollbar.dragClass)),N||(N=ne("div",e.params.scrollbar.dragClass),I.append(N))),Object.assign(x,{el:I,dragEl:N}),A.draggable&&P(),I&&I.classList[e.enabled?"remove":"add"](...Fe(e.params.scrollbar.lockClass))}function S(){let x=e.params.scrollbar,_=e.scrollbar.el;_&&_.classList.remove(...Fe(e.isHorizontal()?x.horizontalClass:x.verticalClass)),C()}t("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;let x=e.params.scrollbar,{el:_}=e.scrollbar;_=W(_),_.forEach(A=>{A.classList.remove(x.horizontalClass,x.verticalClass),A.classList.add(e.isHorizontal()?x.horizontalClass:x.verticalClass)})}),t("init",()=>{e.params.scrollbar.enabled===!1?k():(O(),d(),g())}),t("update resize observerUpdate lock unlock changeDirection",()=>{d()}),t("setTranslate",()=>{g()}),t("setTransition",(x,_)=>{c(_)}),t("enable disable",()=>{let{el:x}=e.scrollbar;x&&x.classList[e.enabled?"remove":"add"](...Fe(e.params.scrollbar.lockClass))}),t("destroy",()=>{S()});let D=()=>{e.el.classList.remove(...Fe(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...Fe(e.params.scrollbar.scrollbarDisabledClass)),O(),d(),g()},k=()=>{e.el.classList.add(...Fe(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...Fe(e.params.scrollbar.scrollbarDisabledClass)),S()};Object.assign(e.scrollbar,{enable:D,disable:k,updateSize:d,setTranslate:g,init:O,destroy:S})}function jo({swiper:e,extendParams:i,on:t}){i({parallax:{enabled:!1}});let n="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",s=(l,o)=>{let{rtl:u}=e,p=u?-1:1,f=l.getAttribute("data-swiper-parallax")||"0",g=l.getAttribute("data-swiper-parallax-x"),c=l.getAttribute("data-swiper-parallax-y"),d=l.getAttribute("data-swiper-parallax-scale"),m=l.getAttribute("data-swiper-parallax-opacity"),b=l.getAttribute("data-swiper-parallax-rotate");if(g||c?(g=g||"0",c=c||"0"):e.isHorizontal()?(g=f,c="0"):(c=f,g="0"),g.indexOf("%")>=0?g=`${parseInt(g,10)*o*p}%`:g=`${g*o*p}px`,c.indexOf("%")>=0?c=`${parseInt(c,10)*o}%`:c=`${c*o}px`,typeof m<"u"&&m!==null){let v=m-(m-1)*(1-Math.abs(o));l.style.opacity=v}let h=`translate3d(${g}, ${c}, 0px)`;if(typeof d<"u"&&d!==null){let v=d-(d-1)*(1-Math.abs(o));h+=` scale(${v})`}if(b&&typeof b<"u"&&b!==null){let v=b*o*-1;h+=` rotate(${v}deg)`}l.style.transform=h},r=()=>{let{el:l,slides:o,progress:u,snapGrid:p,isElement:f}=e,g=te(l,n);e.isElement&&g.push(...te(e.hostEl,n)),g.forEach(c=>{s(c,u)}),o.forEach((c,d)=>{let m=c.progress;e.params.slidesPerGroup>1&&e.params.slidesPerView!=="auto"&&(m+=Math.ceil(d/2)-u*(p.length-1)),m=Math.min(Math.max(m,-1),1),c.querySelectorAll(`${n}, [data-swiper-parallax-rotate]`).forEach(b=>{s(b,m)})})},a=(l=e.params.speed)=>{let{el:o,hostEl:u}=e,p=[...o.querySelectorAll(n)];e.isElement&&p.push(...u.querySelectorAll(n)),p.forEach(f=>{let g=parseInt(f.getAttribute("data-swiper-parallax-duration"),10)||l;l===0&&(g=0),f.style.transitionDuration=`${g}ms`})};t("beforeInit",()=>{e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)}),t("init",()=>{e.params.parallax.enabled&&r()}),t("setTranslate",()=>{e.params.parallax.enabled&&r()}),t("setTransition",(l,o)=>{e.params.parallax.enabled&&a(o)})}function Wo({swiper:e,extendParams:i,on:t,emit:n}){let s=K();i({zoom:{enabled:!1,limitToOriginalSize:!1,maxRatio:3,minRatio:1,panOnMouseMove:!1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let r=1,a=!1,l=!1,o={x:0,y:0},u=-3,p,f,g=[],c={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},d={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},m={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0},b=1;Object.defineProperty(e.zoom,"scale",{get(){return b},set(L){if(b!==L){let F=c.imageEl,$=c.slideEl;n("zoomChange",L,F,$)}b=L}});function h(){if(g.length<2)return 1;let L=g[0].pageX,F=g[0].pageY,$=g[1].pageX,R=g[1].pageY;return Math.sqrt(($-L)**2+(R-F)**2)}function v(){let L=e.params.zoom,F=c.imageWrapEl.getAttribute("data-swiper-zoom")||L.maxRatio;if(L.limitToOriginalSize&&c.imageEl&&c.imageEl.naturalWidth){let $=c.imageEl.naturalWidth/c.imageEl.offsetWidth;return Math.min($,F)}return F}function y(){if(g.length<2)return{x:null,y:null};let L=c.imageEl.getBoundingClientRect();return[(g[0].pageX+(g[1].pageX-g[0].pageX)/2-L.x-s.scrollX)/r,(g[0].pageY+(g[1].pageY-g[0].pageY)/2-L.y-s.scrollY)/r]}function M(){return e.isElement?"swiper-slide":`.${e.params.slideClass}`}function P(L){let F=M();return!!(L.target.matches(F)||e.slides.filter($=>$.contains(L.target)).length>0)}function C(L){let F=`.${e.params.zoom.containerClass}`;return!!(L.target.matches(F)||[...e.hostEl.querySelectorAll(F)].filter($=>$.contains(L.target)).length>0)}function O(L){if(L.pointerType==="mouse"&&g.splice(0,g.length),!P(L))return;let F=e.params.zoom;if(p=!1,f=!1,g.push(L),!(g.length<2)){if(p=!0,c.scaleStart=h(),!c.slideEl){c.slideEl=L.target.closest(`.${e.params.slideClass}, swiper-slide`),c.slideEl||(c.slideEl=e.slides[e.activeIndex]);let $=c.slideEl.querySelector(`.${F.containerClass}`);if($&&($=$.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),c.imageEl=$,$?c.imageWrapEl=Ae(c.imageEl,`.${F.containerClass}`)[0]:c.imageWrapEl=void 0,!c.imageWrapEl){c.imageEl=void 0;return}c.maxRatio=v()}if(c.imageEl){let[$,R]=y();c.originX=$,c.originY=R,c.imageEl.style.transitionDuration="0ms"}a=!0}}function S(L){if(!P(L))return;let F=e.params.zoom,$=e.zoom,R=g.findIndex(G=>G.pointerId===L.pointerId);R>=0&&(g[R]=L),!(g.length<2)&&(f=!0,c.scaleMove=h(),c.imageEl&&($.scale=c.scaleMove/c.scaleStart*r,$.scale>c.maxRatio&&($.scale=c.maxRatio-1+($.scale-c.maxRatio+1)**.5),$.scale<F.minRatio&&($.scale=F.minRatio+1-(F.minRatio-$.scale+1)**.5),c.imageEl.style.transform=`translate3d(0,0,0) scale(${$.scale})`))}function D(L){if(!P(L)||L.pointerType==="mouse"&&L.type==="pointerout")return;let F=e.params.zoom,$=e.zoom,R=g.findIndex(G=>G.pointerId===L.pointerId);R>=0&&g.splice(R,1),!(!p||!f)&&(p=!1,f=!1,c.imageEl&&($.scale=Math.max(Math.min($.scale,c.maxRatio),F.minRatio),c.imageEl.style.transitionDuration=`${e.params.speed}ms`,c.imageEl.style.transform=`translate3d(0,0,0) scale(${$.scale})`,r=$.scale,a=!1,$.scale>1&&c.slideEl?c.slideEl.classList.add(`${F.zoomedSlideClass}`):$.scale<=1&&c.slideEl&&c.slideEl.classList.remove(`${F.zoomedSlideClass}`),$.scale===1&&(c.originX=0,c.originY=0,c.slideEl=void 0)))}let k;function x(){e.touchEventsData.preventTouchMoveFromPointerMove=!1}function _(){clearTimeout(k),e.touchEventsData.preventTouchMoveFromPointerMove=!0,k=setTimeout(()=>{e.destroyed||x()})}function A(L){let F=e.device;if(!c.imageEl||d.isTouched)return;F.android&&L.cancelable&&L.preventDefault(),d.isTouched=!0;let $=g.length>0?g[0]:L;d.touchesStart.x=$.pageX,d.touchesStart.y=$.pageY}function I(L){let $=L.pointerType==="mouse"&&e.params.zoom.panOnMouseMove;if(!P(L)||!C(L))return;let R=e.zoom;if(!c.imageEl)return;if(!d.isTouched||!c.slideEl){$&&T(L);return}if($){T(L);return}d.isMoved||(d.width=c.imageEl.offsetWidth||c.imageEl.clientWidth,d.height=c.imageEl.offsetHeight||c.imageEl.clientHeight,d.startX=Kt(c.imageWrapEl,"x")||0,d.startY=Kt(c.imageWrapEl,"y")||0,c.slideWidth=c.slideEl.offsetWidth,c.slideHeight=c.slideEl.offsetHeight,c.imageWrapEl.style.transitionDuration="0ms");let G=d.width*R.scale,Q=d.height*R.scale;if(d.minX=Math.min(c.slideWidth/2-G/2,0),d.maxX=-d.minX,d.minY=Math.min(c.slideHeight/2-Q/2,0),d.maxY=-d.minY,d.touchesCurrent.x=g.length>0?g[0].pageX:L.pageX,d.touchesCurrent.y=g.length>0?g[0].pageY:L.pageY,Math.max(Math.abs(d.touchesCurrent.x-d.touchesStart.x),Math.abs(d.touchesCurrent.y-d.touchesStart.y))>5&&(e.allowClick=!1),!d.isMoved&&!a){if(e.isHorizontal()&&(Math.floor(d.minX)===Math.floor(d.startX)&&d.touchesCurrent.x<d.touchesStart.x||Math.floor(d.maxX)===Math.floor(d.startX)&&d.touchesCurrent.x>d.touchesStart.x)){d.isTouched=!1,x();return}if(!e.isHorizontal()&&(Math.floor(d.minY)===Math.floor(d.startY)&&d.touchesCurrent.y<d.touchesStart.y||Math.floor(d.maxY)===Math.floor(d.startY)&&d.touchesCurrent.y>d.touchesStart.y)){d.isTouched=!1,x();return}}L.cancelable&&L.preventDefault(),L.stopPropagation(),_(),d.isMoved=!0;let Se=(R.scale-r)/(c.maxRatio-e.params.zoom.minRatio),{originX:Ge,originY:ae}=c;d.currentX=d.touchesCurrent.x-d.touchesStart.x+d.startX+Se*(d.width-Ge*2),d.currentY=d.touchesCurrent.y-d.touchesStart.y+d.startY+Se*(d.height-ae*2),d.currentX<d.minX&&(d.currentX=d.minX+1-(d.minX-d.currentX+1)**.8),d.currentX>d.maxX&&(d.currentX=d.maxX-1+(d.currentX-d.maxX+1)**.8),d.currentY<d.minY&&(d.currentY=d.minY+1-(d.minY-d.currentY+1)**.8),d.currentY>d.maxY&&(d.currentY=d.maxY-1+(d.currentY-d.maxY+1)**.8),m.prevPositionX||(m.prevPositionX=d.touchesCurrent.x),m.prevPositionY||(m.prevPositionY=d.touchesCurrent.y),m.prevTime||(m.prevTime=Date.now()),m.x=(d.touchesCurrent.x-m.prevPositionX)/(Date.now()-m.prevTime)/2,m.y=(d.touchesCurrent.y-m.prevPositionY)/(Date.now()-m.prevTime)/2,Math.abs(d.touchesCurrent.x-m.prevPositionX)<2&&(m.x=0),Math.abs(d.touchesCurrent.y-m.prevPositionY)<2&&(m.y=0),m.prevPositionX=d.touchesCurrent.x,m.prevPositionY=d.touchesCurrent.y,m.prevTime=Date.now(),c.imageWrapEl.style.transform=`translate3d(${d.currentX}px, ${d.currentY}px,0)`}function N(){let L=e.zoom;if(g.length=0,!c.imageEl)return;if(!d.isTouched||!d.isMoved){d.isTouched=!1,d.isMoved=!1;return}d.isTouched=!1,d.isMoved=!1;let F=300,$=300,R=m.x*F,G=d.currentX+R,Q=m.y*$,be=d.currentY+Q;m.x!==0&&(F=Math.abs((G-d.currentX)/m.x)),m.y!==0&&($=Math.abs((be-d.currentY)/m.y));let Se=Math.max(F,$);d.currentX=G,d.currentY=be;let Ge=d.width*L.scale,ae=d.height*L.scale;d.minX=Math.min(c.slideWidth/2-Ge/2,0),d.maxX=-d.minX,d.minY=Math.min(c.slideHeight/2-ae/2,0),d.maxY=-d.minY,d.currentX=Math.max(Math.min(d.currentX,d.maxX),d.minX),d.currentY=Math.max(Math.min(d.currentY,d.maxY),d.minY),c.imageWrapEl.style.transitionDuration=`${Se}ms`,c.imageWrapEl.style.transform=`translate3d(${d.currentX}px, ${d.currentY}px,0)`}function E(){let L=e.zoom;c.slideEl&&e.activeIndex!==e.slides.indexOf(c.slideEl)&&(c.imageEl&&(c.imageEl.style.transform="translate3d(0,0,0) scale(1)"),c.imageWrapEl&&(c.imageWrapEl.style.transform="translate3d(0,0,0)"),c.slideEl.classList.remove(`${e.params.zoom.zoomedSlideClass}`),L.scale=1,r=1,c.slideEl=void 0,c.imageEl=void 0,c.imageWrapEl=void 0,c.originX=0,c.originY=0)}function T(L){if(r<=1||!c.imageWrapEl||!P(L)||!C(L))return;let F=s.getComputedStyle(c.imageWrapEl).transform,$=new s.DOMMatrix(F);if(!l){l=!0,o.x=L.clientX,o.y=L.clientY,d.startX=$.e,d.startY=$.f,d.width=c.imageEl.offsetWidth||c.imageEl.clientWidth,d.height=c.imageEl.offsetHeight||c.imageEl.clientHeight,c.slideWidth=c.slideEl.offsetWidth,c.slideHeight=c.slideEl.offsetHeight;return}let R=(L.clientX-o.x)*u,G=(L.clientY-o.y)*u,Q=d.width*r,be=d.height*r,Se=c.slideWidth,Ge=c.slideHeight,ae=Math.min(Se/2-Q/2,0),Me=-ae,It=Math.min(Ge/2-be/2,0),Jt=-It,dt=Math.max(Math.min(d.startX+R,Me),ae),ut=Math.max(Math.min(d.startY+G,Jt),It);c.imageWrapEl.style.transitionDuration="0ms",c.imageWrapEl.style.transform=`translate3d(${dt}px, ${ut}px, 0)`,o.x=L.clientX,o.y=L.clientY,d.startX=dt,d.startY=ut,d.currentX=dt,d.currentY=ut}function w(L){let F=e.zoom,$=e.params.zoom;if(!c.slideEl){L&&L.target&&(c.slideEl=L.target.closest(`.${e.params.slideClass}, swiper-slide`)),c.slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?c.slideEl=te(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:c.slideEl=e.slides[e.activeIndex]);let Lt=c.slideEl.querySelector(`.${$.containerClass}`);Lt&&(Lt=Lt.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),c.imageEl=Lt,Lt?c.imageWrapEl=Ae(c.imageEl,`.${$.containerClass}`)[0]:c.imageWrapEl=void 0}if(!c.imageEl||!c.imageWrapEl)return;c.maxRatio=v(),e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),c.slideEl.classList.add(`${$.zoomedSlideClass}`);let R,G,Q,be,Se,Ge,ae,Me,It,Jt,dt,ut,ei,ti,Ki,Qi,Zi,Ji;typeof d.touchesStart.x>"u"&&L?(R=L.pageX,G=L.pageY):(R=d.touchesStart.x,G=d.touchesStart.y);let en=r,ft=typeof L=="number"?L:null;r===1&&ft&&(R=void 0,G=void 0,d.touchesStart.x=void 0,d.touchesStart.y=void 0);let ms=v();F.scale=ft||ms,r=ft||ms,L&&!(r===1&&ft)?(Zi=c.slideEl.offsetWidth,Ji=c.slideEl.offsetHeight,Q=lt(c.slideEl).left+s.scrollX,be=lt(c.slideEl).top+s.scrollY,Se=Q+Zi/2-R,Ge=be+Ji/2-G,It=c.imageEl.offsetWidth||c.imageEl.clientWidth,Jt=c.imageEl.offsetHeight||c.imageEl.clientHeight,dt=It*F.scale,ut=Jt*F.scale,ei=Math.min(Zi/2-dt/2,0),ti=Math.min(Ji/2-ut/2,0),Ki=-ei,Qi=-ti,en>0&&ft&&typeof d.currentX=="number"&&typeof d.currentY=="number"?(ae=d.currentX*F.scale/en,Me=d.currentY*F.scale/en):(ae=Se*F.scale,Me=Ge*F.scale),ae<ei&&(ae=ei),ae>Ki&&(ae=Ki),Me<ti&&(Me=ti),Me>Qi&&(Me=Qi)):(ae=0,Me=0),ft&&F.scale===1&&(c.originX=0,c.originY=0),d.currentX=ae,d.currentY=Me,c.imageWrapEl.style.transitionDuration="300ms",c.imageWrapEl.style.transform=`translate3d(${ae}px, ${Me}px,0)`,c.imageEl.style.transitionDuration="300ms",c.imageEl.style.transform=`translate3d(0,
10,0) scale(${F.scale})`}function z(){let L=e.zoom,F=e.params.zoom;if(!c.slideEl){e.params.virtual&&e.params.virtual.enabled&&e.virtual?c.slideEl=te(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:c.slideEl=e.slides[e.activeIndex];let $=c.slideEl.querySelector(`.${F.containerClass}`);$&&($=$.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),c.imageEl=$,$?c.imageWrapEl=Ae(c.imageEl,`.${F.containerClass}`)[0]:c.imageWrapEl=void 0}!c.imageEl||!c.imageWrapEl||(c.maxRatio=v(),e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),L.scale=1,r=1,d.currentX=void 0,d.currentY=void 0,d.touchesStart.x=void 0,d.touchesStart.y=void 0,c.imageWrapEl.style.transitionDuration="300ms",c.imageWrapEl.style.transform="translate3d(0,0,0)",c.imageEl.style.transitionDuration="300ms",c.imageEl.style.transform="translate3d(0,0,0) scale(1)",c.slideEl.classList.remove(`${F.zoomedSlideClass}`),c.slideEl=void 0,c.originX=0,c.originY=0,e.params.zoom.panOnMouseMove&&(o={x:0,y:0},l&&(l=!1,d.startX=0,d.startY=0)))}function B(L){let F=e.zoom;F.scale&&F.scale!==1?z():w(L)}function U(){let L=e.params.passiveListeners?{passive:!0,capture:!1}:!1,F=e.params.passiveListeners?{passive:!1,capture:!0}:!0;return{passiveListener:L,activeListenerWithCapture:F}}function J(){let L=e.zoom;if(L.enabled)return;L.enabled=!0;let{passiveListener:F,activeListenerWithCapture:$}=U();e.wrapperEl.addEventListener("pointerdown",O,F),e.wrapperEl.addEventListener("pointermove",S,$),["pointerup","pointercancel","pointerout"].forEach(R=>{e.wrapperEl.addEventListener(R,D,F)}),e.wrapperEl.addEventListener("pointermove",I,$)}function ie(){let L=e.zoom;if(!L.enabled)return;L.enabled=!1;let{passiveListener:F,activeListenerWithCapture:$}=U();e.wrapperEl.removeEventListener("pointerdown",O,F),e.wrapperEl.removeEventListener("pointermove",S,$),["pointerup","pointercancel","pointerout"].forEach(R=>{e.wrapperEl.removeEventListener(R,D,F)}),e.wrapperEl.removeEventListener("pointermove",I,$)}t("init",()=>{e.params.zoom.enabled&&J()}),t("destroy",()=>{ie()}),t("touchStart",(L,F)=>{e.zoom.enabled&&A(F)}),t("touchEnd",(L,F)=>{e.zoom.enabled&&N()}),t("doubleTap",(L,F)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&B(F)}),t("transitionEnd",()=>{e.zoom.enabled&&e.params.zoom.enabled&&E()}),t("slideChange",()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&E()}),Object.assign(e.zoom,{enable:J,disable:ie,in:w,out:z,toggle:B})}function qo({swiper:e,extendParams:i,on:t}){i({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0};function n(o,u){let p=(function(){let d,m,b;return(h,v)=>{for(m=-1,d=h.length;d-m>1;)b=d+m>>1,h[b]<=v?m=b:d=b;return d}})();this.x=o,this.y=u,this.lastIndex=o.length-1;let f,g;return this.interpolate=function(d){return d?(g=p(this.x,d),f=g-1,(d-this.x[f])*(this.y[g]-this.y[f])/(this.x[g]-this.x[f])+this.y[f]):0},this}function s(o){e.controller.spline=e.params.loop?new n(e.slidesGrid,o.slidesGrid):new n(e.snapGrid,o.snapGrid)}function r(o,u){let p=e.controller.control,f,g,c=e.constructor;function d(m){if(m.destroyed)return;let b=e.rtlTranslate?-e.translate:e.translate;e.params.controller.by==="slide"&&(s(m),g=-e.controller.spline.interpolate(-b)),(!g||e.params.controller.by==="container")&&(f=(m.maxTranslate()-m.minTranslate())/(e.maxTranslate()-e.minTranslate()),(Number.isNaN(f)||!Number.isFinite(f))&&(f=1),g=(b-e.minTranslate())*f+m.minTranslate()),e.params.controller.inverse&&(g=m.maxTranslate()-g),m.updateProgress(g),m.setTranslate(g,e),m.updateActiveIndex(),m.updateSlidesClasses()}if(Array.isArray(p))for(let m=0;m<p.length;m+=1)p[m]!==u&&p[m]instanceof c&&d(p[m]);else p instanceof c&&u!==p&&d(p)}function a(o,u){let p=e.constructor,f=e.controller.control,g;function c(d){d.destroyed||(d.setTransition(o,e),o!==0&&(d.transitionStart(),d.params.autoHeight&&Ie(()=>{d.updateAutoHeight()}),Ke(d.wrapperEl,()=>{f&&d.transitionEnd()})))}if(Array.isArray(f))for(g=0;g<f.length;g+=1)f[g]!==u&&f[g]instanceof p&&c(f[g]);else f instanceof p&&u!==f&&c(f)}function l(){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]).forEac
vendor: 4,313 bytes, line 1
1h(u=>{if(e.controller.control||(e.controller.control=[]),u&&u.swiper)e.controller.control.push(u.swiper);else if(u){let p=`${e.params.eventsPrefix}init`,f=g=>{e.controller.control.push(g.detail[0]),e.update(),u.removeEventListener(p,f)};u.addEventListener(p,f)}});return}e.controller.control=e.params.controller.control}),t("update",()=>{l()}),t("resize",()=>{l()}),t("observerUpdate",()=>{l()}),t("setTranslate",(o,u,p)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTranslate(u,p)}),t("setTransition",(o,u,p)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTransition(u,p)}),Object.assign(e.controller,{setTranslate:r,setTransition:a})}function Yo({swiper:e,extendParams:i,on:t}){i({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0,wrapperLiveRegion:!0}}),e.a11y={clicked:!1};let n=null,s,r,a=new Date().getTime();function l(E){let T=n;T.length!==0&&se(T,E)}function o(E=16){let T=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(E).replace(/x/g,T)}function u(E){E=W(E),E.forEach(T=>{T.setAttribute("tabIndex","0")})}function p(E){E=W(E),E.forEach(T=>{T.setAttribute("tabIndex","-1")})}function f(E,T){E=W(E),E.forEach(w=>{w.setAttribute("role",T)})}function g(E,T){E=W(E),E.forEach(w=>{w.setAttribute("aria-roledescription",T)})}function c(E,T){E=W(E),E.forEach(w=>{w.setAttribute("aria-controls",T)})}function d(E,T){E=W(E),E.forEach(w=>{w.setAttribute("aria-label",T)})}function m(E,T){E=W(E),E.forEach(w=>{w.setAttribute("id",T)})}function b(E,T){E=W(E),E.forEach(w=>{w.setAttribute("aria-live",T)})}function h(E){E=W(E),E.forEach(T=>{T.setAttribute("aria-disabled",!0)})}function v(E){E=W(E),E.forEach(T=>{T.setAttribute("aria-disabled",!1)})}function y(E){if(E.keyCode!==13&&E.keyCode!==32)return;let T=e.params.a11y,w=E.target;if(!(e.pagination&&e.pagination.el&&(w===e.pagination.el||e.pagination.el.contains(E.target))&&!E.target.matches(Te(e.params.pagination.bulletClass)))){if(e.navigation&&e.navigation.prevEl&&e.navigation.nextEl){let z=W(e.navigation.prevEl);W(e.navigation.nextEl).includes(w)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?l(T.lastSlideMessage):l(T.nextSlideMessage)),z.includes(w)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?l(T.firstSlideMessage):l(T.prevSlideMessage))}e.pagination&&w.matches(Te(e.params.pagination.bulletClass))&&w.click()}}function M(){if(e.params.loop||e.params.rewind||!e.navigation)return;let{nextEl:E,prevEl:T}=e.navigation;T&&(e.isBeginning?(h(T),p(T)):(v(T),u(T))),E&&(e.isEnd?(h(E),p(E)):(v(E),u(E)))}function P(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function C(){return P()&&e.params.pagination.clickable}function O(){let E=e.params.a11y;P()&&e.pagination.bullets.forEach(T=>{e.params.pagination.clickable&&(u(T),e.params.pagination.renderBullet||(f(T,"button"),d(T,E.paginationBulletMessage.replace(/\{\{index\}\}/,Xe(T)+1)))),T.matches(Te(e.params.pagination.bulletActiveClass))?T.setAttribute("aria-current","true"):T.removeAttribute("aria-current")})}let S=(E,T,w)=>{u(E),E.tagName!=="BUTTON"&&(f(E,"button"),E.addEventListener("keydown",y)),d(E,w),c(E,T)},D=E=>{r&&r!==E.target&&!r.contains(E.target)&&(s=!0),e.a11y.clicked=!0},k=()=>{s=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{e.destroyed||(e.a11y.clicked=!1)})})},x=E=>{a=new Date().getTime()},_=E=>{if(e.a11y.clicked||!e.params.a11y.scrollOnFocus||new Date().getTime()-a<100)return;let T=E.target.closest(`.${e.params.slideClass}, swiper-slide`);if(!T||!e.slides.includes(T))return;r=T;let w=e.virtual&&e.params.virtual.enabled,z=(w?parseInt(T.getAttribute("data-swiper-slide-index"),10):e.slides.indexOf(T))===e.activeIndex,B=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(T);z||B||E.sourceCapabilities&&E.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,requestAnimationFrame(()=>
1{s||(e.params.loop?e.slideToLoop(e.getSlideIndexWhenGrid(parseInt(T.getAttribute("data-swiper-slide-index"))),0):w?e.slideTo(e.getSlideIndexWhenGrid(parseInt(T.getAttribute("data-swiper-slide-index"),10)),0):e.slideTo(e.getSlideIndexWhenGrid(e.slides.indexOf(T)),0),s=!1)}))},A=()=>{let E=e.params.a11y;E.itemRoleDescriptionMessage&&g(e.slides,E.itemRoleDescriptionMessage),E.slideRole&&f(e.slides,E.slideRole);let T=e.slides.length;E.slideLabelMessage&&e.slides.forEach((w,z)=>{let B=e.params.loop?parseInt(w.getAttribute("data-swiper-slide-index"),10):z,U=E.slideLabelMessage.replace(/\{\{index\}\}/,B+1).replace(/\{\{slidesLength\}\}/,T);d(w,U)})},I=()=>{let E=e.params.a11y;e.el.append(n);let T=e.el;E.containerRoleDescriptionMessage&&g(T,E.containerRoleDescriptionMessage),E.containerMessage&&d(T,E.containerMessage),E.containerRole&&f(T,E.containerRole);let w=e.wrapperEl,z=E.id||w.getAttribute("id")||`swiper-wrapper-${o(16)}`;if(m(w,z),E.wrapperLiveRegion){let ie=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";b(w,ie)}A();let{nextEl:B,prevEl:U}=e.navigation?e.navigation:{};B=W(B),U=W(U),B&&B.forEach(ie=>
vendor: 41,677 bytes, lines 1-5
1S(ie,z,E.nextSlideMessage)),U&&U.forEach(ie=>S(ie,z,E.prevSlideMessage)),C()&&W(e.pagination.el).forEach(L=>{L.addEventListener("keydown",y)}),Z().addEventListener("visibilitychange",x),e.el.addEventListener("focus",_,!0),e.el.addEventListener("pointerdown",D,!0),e.el.addEventListener("pointerup",k,!0)};function N(){n&&n.remove();let{nextEl:E,prevEl:T}=e.navigation?e.navigation:{};E=W(E),T=W(T),E&&E.forEach(z=>z.removeEventListener("keydown",y)),T&&T.forEach(z=>z.removeEventListener("keydown",y)),C()&&W(e.pagination.el).forEach(B=>{B.removeEventListener("keydown",y)}),Z().removeEventListener("visibilitychange",x),e.el&&typeof e.el!="string"&&(e.el.removeEventListener("focus",_,!0),e.el.removeEventListener("pointerdown",D,!0),e.el.removeEventListener("pointerup",k,!0))}t("beforeInit",()=>{n=ne("span",e.params.a11y.notificationClass),n.setAttribute("aria-live","assertive"),n.setAttribute("aria-atomic","true")}),t("afterInit",()=>{e.params.a11y.enabled&&I()}),t("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{e.params.a11y.enabled&&A()}),t("fromEdge toEdge afterInit lock unlock",()=>{e.params.a11y.enabled&&M()}),t("paginationUpdate",()=>{e.params.a11y.enabled&&O()}),t("destroy",()=>{e.params.a11y.enabled&&N()})}function Uo({swiper:e,extendParams:i,on:t}){i({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let n=!1,s={},r=g=>g.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),a=g=>{let c=K(),d;g?d=new URL(g):d=c.location;let m=d.pathname.slice(1).split("/").filter(y=>y!==""),b=m.length,h=m[b-2],v=m[b-1];return{key:h,value:v}},l=(g,c)=>{let d=K();if(!n||!e.params.history.enabled)return;let m;e.params.url?m=new URL(e.params.url):m=d.location;let b=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${c}"]`):e.slides[c],h=r(b.getAttribute("data-history"));if(e.params.history.root.length>0){let y=e.params.history.root;y[y.length-1]==="/"&&(y=y.slice(0,y.length-1)),h=`${y}/${g?`${g}/`:""}${h}`}else m.pathname.includes(g)||(h=`${g?`${g}/`:""}${h}`);e.params.history.keepQuery&&(h+=m.search);let v=d.history.state;v&&v.value===h||(e.params.history.replaceState?d.history.replaceState({value:h},null,h):d.history.pushState({value:h},null,h))},o=(g,c,d)=>{if(c)for(let m=0,b=e.slides.length;m<b;m+=1){let h=e.slides[m];if(r(h.getAttribute("data-history"))===c){let y=e.getSlideIndex(h);e.slideTo(y,g,d)}}else e.slideTo(0,g,d)},u=()=>{s=a(e.params.url),o(e.params.speed,s.value,!1)},p=()=>{let g=K();if(e.params.history){if(!g.history||!g.history.pushState){e.params.history.enabled=!1,e.params.hashNavigation.enabled=!0;return}if(n=!0,s=a(e.params.url),!s.key&&!s.value){e.params.history.replaceState||g.addEventListener("popstate",u);return}o(0,s.value,e.params.runCallbacksOnInit),e.params.history.replaceState||g.addEventListener("popstate",u)}},f=()=>{let g=K();e.params.history.replaceState||g.removeEventListener("popstate",u)};t("init",()=>{e.params.history.enabled&&p()}),t("destroy",()=>{e.params.history.enabled&&f()}),t("transitionEnd _freeModeNoMomentumRelease",()=>{n&&l(e.params.history.key,e.activeIndex)}),t("slideChange",()=>{n&&e.params.cssMode&&l(e.params.history.key,e.activeIndex)})}function Xo({swiper:e,extendParams:i,emit:t,on:n}){let s=!1,r=Z(),a=K();i({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(f,g){if(e.virtual&&e.params.virtual.enabled){let c=e.slides.find(m=>m.getAttribute("data-hash")===g);return c?parseInt(c.getAttribute("data-swiper-slide-index"),10):0}return e.getSlideIndex(te(e.slidesEl,`.${e.params.slideClass}[data-hash="${g}"], swiper-slide[data-hash="${g}"]`)[0])}}});let l=()=>{t("hashChange");let f=r.location.hash.replace("#",""),g=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex],c=g?g.getAttribute("data-hash"):"";if(f!==c){let d=e.params.hashNavigation.getSlideIndex(e,f);if(typeof d>"u"||Number.isNaN(d))return;e.slideTo(d)}},o=()=>{if(!s||!e.params.hashNavigation.enabled)return;let f=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex],g=f?f.getAttribute("data-hash")||f.getAttribute("data-history"):"";e.params.hashNavigation.replaceState&&a.history&&a.history.replaceState?(a.history.replaceState(null,null,`#${g}`||""),t("hashSet")):(r.location.hash=g||"",t("hashSet"))},u=()=>{if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;s=!0;let f=r.location.hash.replace("#","");if(f){let c=e.params.hashNavigation.getSlideIndex(e,f);e.slideTo(c||0,0,e.params.runCallbacksOnInit,!0)}e.params.hashNavigation.watchState&&a.addEventListener("hashchange",l)},p=()=>{e.params.hashNavigation.watchState&&a.removeEventListener("hashchange",l)};n("init",()=>{e.params.hashNavigation.enabled&&u()}),n("destroy",()=>{e.params.hashNavigation.enabled&&p()}),n("transitionEnd _freeModeNoMomentumRelease",()=>{s&&o()}),n("slideChange",()=>{s&&e.params.cssMode&&o()})}function Ko({swiper:e,extendParams:i,on:t,emit:n,params:s}){e.autoplay={running:!1,paused:!1,timeLeft:0},i({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let r,a,l=s&&s.autoplay?s.autoplay.delay:3e3,o=s&&s.autoplay?s.autoplay.delay:3e3,u,p=new Date().getTime(),f,g,c,d,m,b;function h(T){!e||e.destroyed||!e.wrapperEl||T.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",h),!(b||T.detail&&T.detail.bySwiperTouchMove)&&D())}let v=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?f=!0:f&&(o=u,f=!1);let T=e.autoplay.paused?u:p+o-new Date().getTime();e.autoplay.timeLeft=T,n("autoplayTimeLeft",T,T/l),a=requestAnimationFrame(()=>{v()})},y=()=>{let T;return e.virtual&&e.params.virtual.enabled?T=e.slides.find(z=>z.classList.contains("swiper-slide-active")):T=e.slides[e.activeIndex],T?parseInt(T.getAttribute("data-swiper-autoplay"),10):void 0},M=()=>{let T=e.params.autoplay.delay,w=y();return!Number.isNaN(w)&&w>0&&(T=w),T},P=T=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(a),v();let w=T;typeof w>"u"&&(w=M(),l=w,o=w),u=w;let z=e.params.speed,B=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(z,!0,!0),n("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,z,!0,!0),n("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(z,!0,!0),n("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,z,!0,!0),n("autoplay")),e.params.cssMode&&(p=new Date().getTime(),requestAnimationFrame(()=>{P()})))};return w>0?(clearTimeout(r),r=setTimeout(()=>{B()},w)):requestAnimationFrame(()=>{B()}),w},C=()=>{p=new Date().getTime(),e.autoplay.running=!0,P(),n("autoplayStart")},O=()=>{e.autoplay.running=!1,clearTimeout(r),cancelAnimationFrame(a),n("autoplayStop")},S=(T,w)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(r),T||(m=!0);let z=()=>{n("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",h):D()};if(e.autoplay.paused=!0,w){z();return}u=(u||e.params.autoplay.delay)-(new Date().getTime()-p),!(e.isEnd&&u<0&&!e.params.loop)&&(u<0&&(u=0),z())},D=()=>{e.isEnd&&u<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(p=new Date().getTime(),m?(m=!1,P(u)):P(),e.autoplay.paused=!1,n("autoplayResume"))},k=()=>{if(e.destroyed||!e.autoplay.running)return;let T=Z();T.visibilityState==="hidden"&&(m=!0,S(!0)),T.visibilityState==="visible"&&D()},x=T=>{T.pointerType==="mouse"&&(m=!0,b=!0,!(e.animating||e.autoplay.paused)&&S(!0))},_=T=>{T.pointerType==="mouse"&&(b=!1,e.autoplay.paused&&D())},A=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",x),e.el.addEventListener("pointerleave",_))},I=()=>{e.el&&typeof e.el!="string"&&(e.el.removeEventListener("pointerenter",x),e.el.removeEventListener("pointerleave",_))},N=()=>{Z().addEventListener("visibilitychange",k)},E=()=>{Z().removeEventListener("visibilitychange",k)};t("init",()=>{e.params.autoplay.enabled&&(A(),N(),C())}),t("destroy",()=>{I(),E(),e.autoplay.running&&O()}),t("_freeModeStaticRelease",()=>{(c||m)&&D()}),t("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?O():S(!0,!0)}),t("beforeTransitionStart",(T,w,z)=>{e.destroyed||!e.autoplay.running||(z||!e.params.autoplay.disableOnInteraction?S(!0,!0):O())}),t("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){O();return}g=!0,c=!1,m=!1,d=setTimeout(()=>{m=!0,c=!0,S(!0)},200)}}),t("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!g)){if(clearTimeout(d),clearTimeout(r),e.params.autoplay.disableOnInteraction){c=!1,g=!1;return}c&&e.params.cssMode&&D(),c=!1,g=!1}}),t("slideChange",()=>{e.destroyed||!e.autoplay.running||e.autoplay.paused&&(u=M(),l=M())}),Object.assign(e.autoplay,{start:C,stop:O,pause:S,resume:D})}function Qo({swiper:e,extendParams:i,on:t}){i({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let n=!1,s=!1;e.thumbs={swiper:null};function r(){let p=e.thumbs.swiper;return!p||p.destroyed?!1:p.params.virtual&&p.params.virtual.enabled}function a(){let p=e.thumbs.swiper;if(!p||p.destroyed)return;let f=p.clickedIndex,g=p.clickedSlide;if(g&&g.classList.contains(e.params.thumbs.slideThumbActiveClass)||typeof f>"u"||f===null)return;let c;p.params.loop?c=parseInt(p.clickedSlide.getAttribute("data-swiper-slide-index"),10):c=f,e.params.loop?e.slideToLoop(c):e.slideTo(c)}function l(){let{thumbs:p}=e.params;if(n)return!1;n=!0;let f=e.constructor;if(p.swiper instanceof f){if(p.swiper.destroyed)return n=!1,!1;e.thumbs.swiper=p.swiper,Object.assign(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper.update()}else if(Pt(p.swiper)){let g=Object.assign({},p.swiper);Object.assign(g,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper=new f(g),s=!0}return e.thumbs.swiper.el.classList.add(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",a),r()&&e.thumbs.swiper.on("virtualUpdate",()=>{o(!1,{autoScroll:!1})}),!0}function o(p,f){let g=e.thumbs.swiper;if(!g||g.destroyed)return;let c=1,d=e.params.thumbs.slideThumbActiveClass;if(e.params.slidesPerView>1&&!e.params.centeredSlides&&(c=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(c=1),c=Math.floor(c),g.slides.forEach(m=>m.classList.remove(d)),g.params.loop||r())for(let m=0;m<c;m+=1)te(g.slidesEl,`[data-swiper-slide-index="${e.realIndex+m}"]`).forEach(b=>{b.classList.add(d)});else for(let m=0;m<c;m+=1)g.slides[e.realIndex+m]&&g.slides[e.realIndex+m].classList.add(d);(f?.autoScroll??!0)&&u(p?0:void 0)}function u(p){let f=e.thumbs.swiper;if(!f||f.destroyed)return;let g=f.params.slidesPerView==="auto"?f.slidesPerViewDynamic():f.params.slidesPerView,c=e.params.thumbs.autoScrollOffset,d=c&&!f.params.loop;if(e.realIndex!==f.realIndex||d){let m=f.activeIndex,b,h;if(f.params.loop){let v=f.slides.find(y=>y.getAttribute("data-swiper-slide-index")===`${e.realIndex}`);b=f.slides.indexOf(v),h=e.activeIndex>e.previousIndex?"next":"prev"}else b=e.realIndex,h=b>e.previousIndex?"next":"prev";d&&(b+=h==="next"?c:-1*c),f.visibleSlidesIndexes&&f.visibleSlidesIndexes.indexOf(b)<0&&(f.params.centeredSlides?b>m?b=b-Math.floor(g/2)+1:b=b+Math.floor(g/2)-1:b>m&&f.params.slidesPerGroup,f.slideTo(b,p))}}t("beforeInit",()=>{let{thumbs:p}=e.params;if(!(!p||!p.swiper))if(typeof p.swiper=="string"||p.swiper instanceof HTMLElement){let f=Z(),g=()=>{let d=typeof p.swiper=="string"?f.querySelector(p.swiper):p.swiper;if(d&&d.swiper)p.swiper=d.swiper,l(),o(!0);else if(d){let m=`${e.params.eventsPrefix}init`,b=h=>{p.swiper=h.detail[0],d.removeEventListener(m,b),l(),o(!0),p.swiper.update(),e.update()};d.addEventListener(m,b)}return d},c=()=>{if(e.destroyed)return;g()||requestAnimationFrame(c)};requestAnimationFrame(c)}else l(),o(!0)}),t("slideChange update resize observerUpdate",()=>{o()}),t("setTransition",(p,f)=>{let g=e.thumbs.swiper;!g||g.destroyed||g.setTransition(f)}),t("beforeDestroy",()=>{let p=e.thumbs.swiper;!p||p.destroyed||s&&p.destroy()}),Object.assign(e.thumbs,{init:l,update:o})}function Zo({swiper:e,extendParams:i,emit:t,once:n}){i({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function s(){if(e.params.cssMode)return;let l=e.getTranslate();e.setTranslate(l),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function r(){if(e.params.cssMode)return;let{touchEventsData:l,touches:o}=e;l.velocities.length===0&&l.velocities.push({position:o[e.isHorizontal()?"startX":"startY"],time:l.touchStartTime}),l.velocities.push({position:o[e.isHorizontal()?"currentX":"currentY"],time:fe()})}function a({currentPos:l}){if(e.params.cssMode)return;let{params:o,wrapperEl:u,rtlTranslate:p,snapGrid:f,touchEventsData:g}=e,d=fe()-g.touchStartTime;if(l<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(l>-e.maxTranslate()){e.slides.length<f.length?e.slideTo(f.length-1):e.slideTo(e.slides.length-1);return}if(o.freeMode.momentum){if(g.velocities.length>1){let C=g.velocities.pop(),O=g.velocities.pop(),S=C.position-O.position,D=C.time-O.time;e.velocity=S/D,e.velocity/=2,Math.abs(e.velocity)<o.freeMode.minimumVelocity&&(e.velocity=0),(D>150||fe()-C.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=o.freeMode.momentumVelocityRatio,g.velocities.length=0;let m=1e3*o.freeMode.momentumRatio,b=e.velocity*m,h=e.translate+b;p&&(h=-h);let v=!1,y,M=Math.abs(e.velocity)*20*o.freeMode.momentumBounceRatio,P;if(h<e.maxTranslate())o.freeMode.momentumBounce?(h+e.maxTranslate()<-M&&(h=e.maxTranslate()-M),y=e.maxTranslate(),v=!0,g.allowMomentumBounce=!0):h=e.maxTranslate(),o.loop&&o.centeredSlides&&(P=!0);else if(h>e.minTranslate())o.freeMode.momentumBounce?(h-e.minTranslate()>M&&(h=e.minTranslate()+M),y=e.minTranslate(),v=!0,g.allowMomentumBounce=!0):h=e.minTranslate(),o.loop&&o.centeredSlides&&(P=!0);else if(o.freeMode.sticky){let C;for(let O=0;O<f.length;O+=1)if(f[O]>-h){C=O;break}Math.abs(f[C]-h)<Math.abs(f[C-1]-h)||e.swipeDirection==="next"?h=f[C]:h=f[C-1],h=-h}if(P&&n("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(p?m=Math.abs((-h-e.translate)/e.velocity):m=Math.abs((h-e.translate)/e.velocity),o.freeMode.sticky){let C=Math.abs((p?-h:h)-e.translate),O=e.slidesSizesGrid[e.activeIndex];C<O?m=o.speed:C<2*O?m=o.speed*1.5:m=o.speed*2.5}}else if(o.freeMode.sticky){e.slideToClosest();return}o.freeMode.momentumBounce&&v?(e.updateProgress(y),e.setTransition(m),e.setTranslate(h),e.transitionStart(!0,e.swipeDirection),e.animating=!0,Ke(u,()=>{!e||e.destroyed||!g.allowMomentumBounce||(t("momentumBounce"),e.setTransition(o.speed),setTimeout(()=>{e.setTranslate(y),Ke(u,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(t("_freeModeNoMomentumRelease"),e.updateProgress(h),e.setTransition(m),e.setTranslate(h),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,Ke(u,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(h),e.updateActiveIndex(),e.updateSlidesClasses()}else if(o.freeMode.sticky){e.slideToClosest();return}else o.freeMode&&t("_freeModeNoMomentumRelease");(!o.freeMode.momentum||d>=o.longSwipesMs)&&(t("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:s,onTouchMove:r,onTouchEnd:a}})}function Jo({swiper:e,extendParams:i,on:t}){i({grid:{rows:1,fill:"column"}});let n,s,r,a,l=()=>{let d=e.params.spaceBetween;return typeof d=="string"&&d.indexOf("%")>=0?d=parseFloat(d.replace("%",""))/100*e.size:typeof d=="string"&&(d=parseFloat(d)),d},o=d=>{let{slidesPerView:m}=e.params,{rows:b,fill:h}=e.params.grid,v=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:d.length;r=Math.floor(v/b),Math.floor(v/b)===v/b?n=v:n=Math.ceil(v/b)*b,m!=="auto"&&h==="row"&&(n=Math.max(n,m*b)),s=n/b},u=()=>{e.slides&&e.slides.forEach(d=>{d.swiperSlideGridSet&&(d.style.height="",d.style[e.getDirectionLabel("margin-top")]="")})},p=(d,m,b)=>{let{slidesPerGroup:h}=e.params,v=l(),{rows:y,fill:M}=e.params.grid,P=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:b.length,C,O,S;if(M==="row"&&h>1){let D=Math.floor(d/(h*y)),k=d-y*h*D,x=D===0?h:Math.min(Math.ceil((P-D*y*h)/y),h);S=Math.floor(k/x),O=k-S*x+D*h,C=O+S*n/y,m.style.order=C}else M==="column"?(O=Math.floor(d/y),S=d-O*y,(O>r||O===r&&S===y-1)&&(S+=1,S>=y&&(S=0,O+=1))):(S=Math.floor(d/s),O=d-S*s);m.row=S,m.column=O,m.style.height=`calc((100% - ${(y-1)*v}px) / ${y})`,m.style[e.getDirectionLabel("margin-top")]=S!==0?v&&`${v}px`:"",m.swiperSlideGridSet=!0},f=(d,m)=>{let{centeredSlides:b,roundLengths:h}=e.params,v=l(),{rows:y}=e.params.grid;if(e.virtualSize=(d+v)*n,e.virtualSize=Math.ceil(e.virtualSize/y)-v,e.params.cssMode||(e.wrapperEl.style[e.getDirectionLabel("width")]=`${e.virtualSize+v}px`),b){let M=[];for(let P=0;P<m.length;P+=1){let C=m[P];h&&(C=Math.floor(C)),m[P]<e.virtualSize+m[0]&&M.push(C)}m.splice(0,m.length),m.push(...M)}},g=()=>{a=e.params.grid&&e.params.grid.rows>1},c=()=>{let{params:d,el:m}=e,b=d.grid&&d.grid.rows>1;a&&!b?(m.classList.remove(`${d.containerModifierClass}grid`,`${d.containerModifierClass}grid-column`),r=1,e.emitContainerClasses()):!a&&b&&(m.classList.add(`${d.containerModifierClass}grid`),d.grid.fill==="column"&&m.classList.add(`${d.containerModifierClass}grid-column`),e.emitContainerClasses()),a=b};t("init",g),t("update",c),e.grid={initSlides:o,unsetSlides:u,updateSlide:p,updateWrapperSize:f}}function $d(e){let i=this,{params:t,slidesEl:n}=i;t.loop&&i.loopDestroy();let s=r=>{if(typeof r=="string"){let a=document.createElement("div");se(a,r),n.append(a.children[0]),se(a,"")}else n.append(r)};if(typeof e=="object"&&"length"in e)for(let r=0;r<e.length;r+=1)e[r]&&s(e[r]);else s(e);i.recalcSlides(),t.loop&&i.loopCreate(),(!t.observer||i.isElement)&&i.update()}function Fd(e){let i=this,{params:t,activeIndex:n,slidesEl:s}=i;t.loop&&i.loopDestroy();let r=n+1,a=l=>{if(typeof l=="string"){let o=document.createElement("div");se(o,l),s.prepend(o.children[0]),se(o,"")}else s.prepend(l)};if(typeof e=="object"&&"length"in e){for(let l=0;l<e.length;l+=1)e[l]&&a(e[l]);r=n+e.length}else a(e);i.recalcSlides(),t.loop&&i.loopCreate(),(!t.observer||i.isElement)&&i.update(),i.slideTo(r,0,!1)}function Bd(e,i){let t=this,{params:n,activeIndex:s,slidesEl:r}=t,a=s;n.loop&&(a-=t.loopedSlides,t.loopDestroy(),t.recalcSlides());let l=t.slides.length;if(e<=0){t.prependSlide(i);return}if(e>=l){t.appendSlide(i);return}let o=a>e?a+1:a,u=[];for(let p=l-1;p>=e;p-=1){let f=t.slides[p];f.remove(),u.unshift(f)}if(typeof i=="object"&&"length"in i){for(let p=0;p<i.length;p+=1)i[p]&&r.append(i[p]);o=a>e?a+i.length:a}else r.append(i);for(let p=0;p<u.length;p+=1)r.append(u[p]);t.recalcSlides(),n.loop&&t.loopCreate(),(!n.observer||t.isElement)&&t.update(),n.loop?t.slideTo(o+t.loopedSlides,0,!1):t.slideTo(o,0,!1)}function Vd(e){let i=this,{params:t,activeIndex:n}=i,s=n;t.loop&&(s-=i.loopedSlides,i.loopDestroy());let r=s,a;if(typeof e=="object"&&"length"in e){for(let l=0;l<e.length;l+=1)a=e[l],i.slides[a]&&i.slides[a].remove(),a<r&&(r-=1);r=Math.max(r,0)}else a=e,i.slides[a]&&i.slides[a].remove(),a<r&&(r-=1),r=Math.max(r,0);i.recalcSlides(),t.loop&&i.loopCreate(),(!t.observer||i.isElement)&&i.update(),t.loop?i.slideTo(r+i.loopedSlides,0,!1):i.slideTo(r,0,!1)}function Gd(){let e=this,i=[];for(let t=0;t<e.slides.length;t+=1)i.push(t);e.removeSlide(i)}function el({swiper:e}){Object.assign(e,{appendSlide:$d.bind(e),prependSlide:Fd.bind(e),addSlide:Bd.bind(e),removeSlide:Vd.bind(e),removeAllSlides:Gd.bind(e)})}function we(e){let{effect:i,swiper:t,on:n,setTranslate:s,setTransition:r,overwriteParams:a,perspective:l,recreateShadows:o,getEffectParams:u}=e;n("beforeInit",()=>{if(t.params.effect!==i)return;t.classNames.push(`${t.params.containerModifierClass}${i}`),l&&l()&&t.classNames.push(`${t.params.containerModifierClass}3d`);let f=a?a():{};Object.assign(t.params,f),Object.assign(t.originalParams,f)}),n("setTranslate _virtualUpdated",()=>{t.params.effect===i&&s()}),n("setTransition",(f,g)=>{t.params.effect===i&&r(g)}),n("transitionEnd",()=>{if(t.params.effect===i&&o){if(!u||!u().slideShadows)return;t.slides.forEach(f=>{f.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(g=>g.remove())}),o()}});let p;n("virtualUpdate",()=>{t.params.effect===i&&(t.slides.length||(p=!0),requestAnimationFrame(()=>{p&&t.slides&&t.slides.length&&(s(),p=!1)}))})}function Le(e,i){let t=ye(i);return t!==i&&(t.style.backfaceVisibility="hidden",t.style["-webkit-backface-visibility"]="hidden"),t}function Je({swiper:e,duration:i,transformElements:t,allSlides:n}){let{activeIndex:s}=e,r=a=>a.parentElement?a.parentElement:e.slides.find(o=>o.shadowRoot&&o.shadowRoot===a.parentNode);if(e.params.virtualTranslate&&i!==0){let a=!1,l;n?l=t:l=t.filter(o=>{let u=o.classList.contains("swiper-slide-transform")?r(o):o;return e.getSlideIndex(u)===s}),l.forEach(o=>{Ke(o,()=>{if(a||!e||e.destroyed)return;a=!0,e.animating=!1;let u=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});e.wrapperEl.dispatchEvent(u)})})}}function tl({swiper:e,extendParams:i,on:t}){i({fadeEffect:{crossFade:!1}}),we({effect:"fade",swiper:e,on:t,setTranslate:()=>{let{slides:r}=e,a=e.params.fadeEffect;for(let l=0;l<r.length;l+=1){let o=e.slides[l],p=-o.swiperSlideOffset;e.params.virtualTranslate||(p-=e.translate);let f=0;e.isHorizontal()||(f=p,p=0);let g=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(o.progress),0):1+Math.min(Math.max(o.progress,-1),0),c=Le(a,o);c.style.opacity=g,c.style.transform=`translate3d(${p}px, ${f}px, 0px)`}},setTransition:r=>{let a=e.slides.map(l=>ye(l));a.forEach(l=>{l.style.transitionDuration=`${r}ms`}),Je({swiper:e,duration:r,transformElements:a,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function il({swiper:e,extendParams:i,on:t}){i({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});let n=(l,o,u)=>{let p=u?l.querySelector(".swiper-slide-shadow-left"):l.querySelector(".swiper-slide-shadow-top"),f=u?l.querySelector(".swiper-slide-shadow-right"):l.querySelector(".swiper-slide-shadow-bottom");p||(p=ne("div",`swiper-slide-shadow-cube swiper-slide-shadow-${u?"left":"top"}`.split(" ")),l.append(p)),f||(f=ne("div",`swiper-slide-shadow-cube swiper-slide-shadow-${u?"right":"bottom"}`.split(" ")),l.append(f)),p&&(p.style.opacity=Math.max(-o,0)),f&&(f.style.opacity=Math.max(o,0))};we({effect:"cube",swiper:e,on:t,setTranslate:()=>{let{el:l,wrapperEl:o,slides:u,width:p,height:f,rtlTranslate:g,size:c,browser:d}=e,m=Qe(e),b=e.params.cubeEffect,h=e.isHorizontal(),v=e.virtual&&e.params.virtual.enabled,y=0,M;b.shadow&&(h?(M=e.wrapperEl.querySelector(".swiper-cube-shadow"),M||(M=ne("div","swiper-cube-shadow"),e.wrapperEl.append(M)),M.style.height=`${p}px`):(M=l.querySelector(".swiper-cube-shadow"),M||(M=ne("div","swiper-cube-shadow"),l.append(M))));for(let C=0;C<u.length;C+=1){let O=u[C],S=C;v&&(S=parseInt(O.getAttribute("data-swiper-slide-index"),10));let D=S*90,k=Math.floor(D/360);g&&(D=-D,k=Math.floor(-D/360));let x=Math.max(Math.min(O.progress,1),-1),_=0,A=0,I=0;S%4===0?(_=-k*4*c,I=0):(S-1)%4===0?(_=0,I=-k*4*c):(S-2)%4===0?(_=c+k*4*c,I=c):(S-3)%4===0&&(_=-c,I=3*c+c*4*k),g&&(_=-_),h||(A=_,_=0);let N=`rotateX(${m(h?0:-D)}deg) rotateY(${m(h?D:0)}deg) translate3d(${_}px, ${A}px, ${I}px)`;x<=1&&x>-1&&(y=S*90+x*90,g&&(y=-S*90-x*90)),O.style.transform=N,b.slideShadows&&n(O,x,h)}if(o.style.transformOrigin=`50% 50% -${c/2}px`,o.style["-webkit-transform-origin"]=`50% 50% -${c/2}px`,b.shadow)if(h)M.style.transform=`translate3d(0px, ${p/2+b.shadowOffset}px, ${-p/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${b.shadowScale})`;else{let C=Math.abs(y)-Math.floor(Math.abs(y)/90)*90,O=1.5-(Math.sin(C*2*Math.PI/360)/2+Math.cos(C*2*Math.PI/360)/2),S=b.shadowScale,D=b.shadowScale/O,k=b.shadowOffset;M.style.transform=`scale3d(${S}, 1, ${D}) translate3d(0px, ${f/2+k}px, ${-f/2/D}px) rotateX(-89.99deg)`}let P=(d.isSafari||d.isWebView)&&d.needPerspectiveFix?-c/2:0;o.style.transform=`translate3d(0px,0,${P}px) rotateX(${m(e.isHorizontal()?0:y)}deg) rotateY(${m(e.isHorizontal()?-y:0)}deg)`,o.style.setProperty("--swiper-cube-translate-z",`${P}px`)},setTransition:l=>{let{el:o,slides:u}=e;if(u.forEach(p=>{p.style.transitionDuration=`${l}ms`,p.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(f=>{f.style.transitionDuration=`${l}ms`})}),e.params.cubeEffect.shadow&&!e.isHorizontal()){let p=o.querySelector(".swiper-cube-shadow");p&&(p.style.transitionDuration=`${l}ms`)}},recreateShadows:()=>{let l=e.isHorizontal();e.slides.forEach(o=>{let u=Math.max(Math.min(o.progress,1),-1);n(o,u,l)})},getEffectParams:()=>e.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}function De(e,i,t){let n=`swiper-slide-shadow${t?`-${t}`:""}${e?` swiper-slide-shadow-${e}`:""}`,s=ye(i),r=s.querySelector(`.${n.split(" ").join(".")}`);return r||(r=ne("div",n.split(" ")),s.append(r)),r}function nl({swiper:e,extendParams:i,on:t}){i({flipEffect:{slideShadows:!0,limitRotation:!0}});let n=(l,o)=>{let u=e.isHorizontal()?l.querySelector(".swiper-slide-shadow-left"):l.querySelector(".swiper-slide-shadow-top"),p=e.isHorizontal()?l.querySelector(".swiper-slide-shadow-right"):l.querySelector(".swiper-slide-shadow-bottom");u||(u=De("flip",l,e.isHorizontal()?"left":"top")),p||(p=De("flip",l,e.isHorizontal()?"right":"bottom")),u&&(u.style.opacity=Math.max(-o,0)),p&&(p.style.opacity=Math.max(o,0))};we({effect:"flip",swiper:e,on:t,setTranslate:()=>{let{slides:l,rtlTranslate:o}=e,u=e.params.flipEffect,p=Qe(e);for(let f=0;f<l.length;f+=1){let g=l[f],c=g.progress;e.params.flipEffect.limitRotation&&(c=Math.max(Math.min(g.progress,1),-1));let d=g.swiperSlideOffset,b=-180*c,h=0,v=e.params.cssMode?-d-e.translate:-d,y=0;e.isHorizontal()?o&&(b=-b):(y=v,v=0,h=-b,b=0),g.style.zIndex=-Math.abs(Math.round(c))+l.length,u.slideShadows&&n(g,c);let M=`translate3d(${v}px, ${y}px, 0px) rotateX(${p(h)}deg) rotateY(${p(b)}deg)`,P=Le(u,g);P.style.transform=M}},setTransition:l=>{let o=e.slides.map(u=>ye(u));o.forEach(u=>{u.style.transitionDuration=`${l}ms`,u.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(p=>{p.style.transitionDuration=`${l}ms`})}),Je({swiper:e,duration:l,transformElements:o})},recreateShadows:()=>{e.params.flipEffect,e.slides.forEach(l=>{let o=l.progress;e.params.flipEffect.limitRotation&&(o=Math.max(Math.min(l.progress,1),-1)),n(l,o)})},getEffectParams:()=>e.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function sl({swiper:e,extendParams:i,on:t}){i({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),we({effect:"coverflow",swiper:e,on:t,setTranslate:()=>{let{width:r,height:a,slides:l,slidesSizesGrid:o}=e,u=e.params.coverflowEffect,p=e.isHorizontal(),f=e.translate,g=p?-f+r/2:-f+a/2,c=p?u.rotate:-u.rotate,d=u.depth,m=Qe(e);for(let b=0,h=l.length;b<h;b+=1){let v=l[b],y=o[b],M=v.swiperSlideOffset,P=(g-M-y/2)/y,C=typeof u.modifier=="function"?u.modifier(P):P*u.modifier,O=p?c*C:0,S=p?0:c*C,D=-d*Math.abs(C),k=u.stretch;typeof k=="string"&&k.indexOf("%")!==-1&&(k=parseFloat(u.stretch)/100*y);let x=p?0:k*C,_=p?k*C:0,A=1-(1-u.scale)*Math.abs(C);Math.abs(_)<.001&&(_=0),Math.abs(x)<.001&&(x=0),Math.abs(D)<.001&&(D=0),Math.abs(O)<.001&&(O=0),Math.abs(S)<.001&&(S=0),Math.abs(A)<.001&&(A=0);let I=`translate3d(${_}px,${x}px,${D}px)  rotateX(${m(S)}deg) rotateY(${m(O)}deg) scale(${A})`,N=Le(u,v);if(N.style.transform=I,v.style.zIndex=-Math.abs(Math.round(C))+1,u.slideShadows){let E=p?v.querySelector(".swiper-slide-shadow-left"):v.querySelector(".swiper-slide-shadow-top"),T=p?v.querySelector(".swiper-slide-shadow-right"):v.querySelector(".swiper-slide-shadow-bottom");E||(E=De("coverflow",v,p?"left":"top")),T||(T=De("coverflow",v,p?"right":"bottom")),E&&(E.style.opacity=C>0?C:0),T&&(T.style.opacity=-C>0?-C:0)}}},setTransition:r=>{e.slides.map(l=>ye(l)).forEach(l=>{l.style.transitionDuration=`${r}ms`,l.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(o=>{o.style.transitionDuration=`${r}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}function rl({swiper:e,extendParams:i,on:t}){i({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});let n=a=>typeof a=="string"?a:`${a}px`;we({effect:"creative",swiper:e,on:t,setTranslate:()=>{let{slides:a,wrapperEl:l,slidesSizesGrid:o}=e,u=e.params.creativeEffect,{progressMultiplier:p}=u,f=e.params.centeredSlides,g=Qe(e);if(f){let c=o[0]/2-e.params.slidesOffsetBefore||0;l.style.transform=`translateX(calc(50% - ${c}px))`}for(let c=0;c<a.length;c+=1){let d=a[c],m=d.progress,b=Math.min(Math.max(d.progress,-u.limitProgress),u.limitProgress),h=b;f||(h=Math.min(Math.max(d.originalProgress,-u.limitProgress),u.limitProgress));let v=d.swiperSlideOffset,y=[e.params.cssMode?-v-e.translate:-v,0,0],M=[0,0,0],P=!1;e.isHorizontal()||(y[1]=y[0],y[0]=0);let C={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};b<0?(C=u.next,P=!0):b>0&&(C=u.prev,P=!0),y.forEach((A,I)=>{y[I]=`calc(${A}px + (${n(C.translate[I])} * ${Math.abs(b*p)}))`}),M.forEach((A,I)=>{let N=C.rotate[I]*Math.abs(b*p);M[I]=N}),d.style.zIndex=-Math.abs(Math.round(m))+a.length;let O=y.join(", "),S=`rotateX(${g(M[0])}deg) rotateY(${g(M[1])}deg) rotateZ(${g(M[2])}deg)`,D=h<0?`scale(${1+(1-C.scale)*h*p})`:`scale(${1-(1-C.scale)*h*p})`,k=h<0?1+(1-C.opacity)*h*p:1-(1-C.opacity)*h*p,x=`translate3d(${O}) ${S} ${D}`;if(P&&C.shadow||!P){let A=d.querySelector(".swiper-slide-shadow");if(!A&&C.shadow&&(A=De("creative",d)),A){let I=u.shadowPerProgress?b*(1/u.limitProgress):b;A.style.opacity=Math.min(Math.max(Math.abs(I),0),1)}}let _=Le(u,d);_.style.transform=x,_.style.opacity=k,C.origin&&(_.style.transformOrigin=C.origin)}},setTransition:a=>{let l=e.slides.map(o=>ye(o));l.forEach(o=>{o.style.transitionDuration=`${a}ms`,o.querySelectorAll(".swiper-slide-shadow").forEach(u=>{u.style.transitionDuration=`${a}ms`})}),Je({swiper:e,duration:a,transformElements:l,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}function al({swiper:e,extendParams:i,on:t}){i({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),we({effect:"cards",swiper:e,on:t,setTranslate:()=>{let{slides:r,activeIndex:a,rtlTranslate:l}=e,o=e.params.cardsEffect,{startTranslate:u,isTouched:p}=e.touchEventsData,f=l?-e.translate:e.translate;for(let g=0;g<r.length;g+=1){let c=r[g],d=c.progress,m=Math.min(Math.max(d,-4),4),b=c.swiperSlideOffset;e.params.centeredSlides&&!e.params.cssMode&&(e.wrapperEl.style.transform=`translateX(${e.minTranslate()}px)`),e.params.centeredSlides&&e.params.cssMode&&(b-=r[0].swiperSlideOffset);let h=e.params.cssMode?-b-e.translate:-b,v=0,y=-100*Math.abs(m),M=1,P=-o.perSlideRotate*m,C=o.perSlideOffset-Math.abs(m)*.75,O=e.virtual&&e.params.virtual.enabled?e.virtual.from+g:g,S=(O===a||O===a-1)&&m>0&&m<1&&(p||e.params.cssMode)&&f<u,D=(O===a||O===a+1)&&m<0&&m>-1&&(p||e.params.cssMode)&&f>u;if(S||D){let A=(1-Math.abs((Math.abs(m)-.5)/.5))**.5;P+=-28*m*A,M+=-.5*A,C+=96*A,v=`${(o.rotate||e.isHorizontal()?-25:0)*A*Math.abs(m)}%`}if(m<0?h=`calc(${h}px ${l?"-":"+"} (${C*Math.abs(m)}%))`:m>0?h=`calc(${h}px ${l?"-":"+"} (-${C*Math.abs(m)}%))`:h=`${h}px`,!e.isHorizontal()){let A=v;v=h,h=A}let k=m<0?`${1+(1-M)*m}`:`${1-(1-M)*m}`,x=`
2        translate3d(${h}, ${v}, ${y}px)
3        rotateZ(${o.rotate?l?-P:P:0}deg)
4        scale(${k})
5      `;if(o.slideShadows){let A=c.querySelector(".swiper-slide-shadow");A||(A=De("cards",c)),A&&(A.style.opacity=Math.min(Math.max((Math.abs(m)-.5)/.5,0),1))}c.style.zIndex=-Math.abs(Math.round(d))+r.length;let _=Le(o,c);_.style.transform=x}},setTransition:r=>{let a=e.slides.map(l=>ye(l));a.forEach(l=>{l.style.transitionDuration=`${r}ms`,l.querySelectorAll(".swiper-slide-shadow").forEach(o=>{o.style.transitionDuration=`${r}ms`})}),Je({swiper:e,duration:r,transformElements:a})},perspective:()=>!0,overwriteParams:()=>({_loopSwapReset:!1,watchSlidesProgress:!0,loopAdditionalSlides:e.params.cardsEffect.rotate?3:2,centeredSlides:!0,virtualTranslate:!e.params.cssMode})})}var Hd=[No,$o,Fo,Vo,Go,Ho,jo,Wo,qo,Yo,Uo,Xo,Ko,Qo,Zo,Jo,el,tl,il,nl,sl,rl,al];Ze.use(Hd);var Ot=["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 ct(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"&&!e.__swiper__}function Ui(e,i){let t=["__proto__","constructor","prototype"];Object.keys(i).filter(n=>t.indexOf(n)<0).forEach(n=>{typeof e[n]>"u"?e[n]=i[n]:ct(i[n])&&ct(e[n])&&Object.keys(i[n]).length>0?i[n].__swiper__?e[n]=i[n]:Ui(e[n],i[n]):e[n]=i[n]})}function ol(e={}){return e.navigation&&typeof e.navigation.nextEl>"u"&&typeof e.navigation.prevEl>"u"}function ll(e={}){return e.pagination&&typeof e.pagination.el>"u"}function cl(e={}){return e.scrollbar&&typeof e.scrollbar.el>"u"}function kt(e=""){return e.replace(/-[a-z]/g,i=>i.toUpperCase().replace("-",""))}function dl({swiper:e,slides:i,passedParams:t,changedParams:n,nextEl:s,prevEl:r,scrollbarEl:a,paginationEl:l}){let o=n.filter(S=>S!=="children"&&S!=="direction"&&S!=="wrapperClass"),{params:u,pagination:p,navigation:f,scrollbar:g,virtual:c,thumbs:d}=e,m,b,h,v,y,M,P,C;n.includes("thumbs")&&t.thumbs&&t.thumbs.swiper&&!t.thumbs.swiper.destroyed&&u.thumbs&&(!u.thumbs.swiper||u.thumbs.swiper.destroyed)&&(m=!0),n.includes("controller")&&t.controller&&t.controller.control&&u.controller&&!u.controller.control&&(b=!0),n.includes("pagination")&&t.pagination&&(t.pagination.el||l)&&(u.pagination||u.pagination===!1)&&p&&!p.el&&(h=!0),n.includes("scrollbar")&&t.scrollbar&&(t.scrollbar.el||a)&&(u.scrollbar||u.scrollbar===!1)&&g&&!g.el&&(v=!0),n.includes("navigation")&&t.navigation&&(t.navigation.prevEl||r)&&(t.navigation.nextEl||s)&&(u.navigation||u.navigation===!1)&&f&&!f.prevEl&&!f.nextEl&&(y=!0);let O=S=>{e[S]&&(e[S].destroy(),S==="navigation"?(e.isElement&&(e[S].prevEl.remove(),e[S].nextEl.remove()),u[S].prevEl=void 0,u[S].nextEl=void 0,e[S].prevEl=void 0,e[S].nextEl=void 0):(e.isElement&&e[S].el.remove(),u[S].el=void 0,e[S].el=void 0))};n.includes("loop")&&e.isElement&&(u.loop&&!t.loop?M=!0:!u.loop&&t.loop?P=!0:C=!0),o.forEach(S=>{if(ct(u[S])&&ct(t[S]))Object.assign(u[S],t[S]),(S==="navigation"||S==="pagination"||S==="scrollbar")&&"enabled"in t[S]&&!t[S].enabled&&O(S);else{let D=t[S];(D===!0||D===!1)&&(S==="navigation"||S==="pagination"||S==="scrollbar")?D===!1&&O(S):u[S]=t[S]}}),o.includes("controller")&&!b&&e.controller&&e.controller.control&&u.controller&&u.controller.control&&(e.controller.control=u.controller.control),n.includes("children")&&i&&c&&u.virtual.enabled?(c.slides=i,c.update(!0)):n.includes("virtual")&&c&&u.virtual.enabled&&(i&&(c.slides=i),c.update(!0)),n.includes("children")&&i&&u.loop&&(C=!0),m&&d.init()&&d.update(!0),b&&(e.controller.control=u.controller.control),h&&(e.isElement&&(!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-pagination"),l.part.add("pagination"),e.el.appendChild(l)),l&&(u.pagination.el=l),p.init(),p.render(),p.update()),v&&(e.isElement&&(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-scrollbar"),a.part.add("scrollbar"),e.el.appendChild(a)),a&&(u.scrollbar.el=a),g.init(),g.updateSize(),g.setTranslate()),y&&(e.isElement&&((!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-button-next"),se(s,e.navigation.arrowSvg),s.part.add("button-next"),e.el.appendChild(s)),(!r||typeof r=="string")&&(r=document.createElement("div"),r.classList.add("swiper-button-prev"),se(r,e.navigation.arrowSvg),r.part.add("button-prev"),e.el.appendChild(r))),s&&(u.navigation.nextEl=s),r&&(u.navigation.prevEl=r),f.init(),f.update()),n.includes("allowSlideNext")&&(e.allowSlideNext=t.allowSlideNext),n.includes("allowSlidePrev")&&(e.allowSlidePrev=t.allowSlidePrev),n.includes("direction")&&e.changeDirection(t.direction,!1),(M||C)&&e.loopDestroy(),(P||C)&&e.loopCreate(),e.update()}var ul=e=>{if(parseFloat(e)===Number(e))return Number(e);if(e==="true"||e==="")return!0;if(e==="false")return!1;if(e==="null")return null;if(e!=="undefined"){if(typeof e=="string"&&e.includes("{")&&e.includes("}")&&e.includes('"')){let i;try{i=JSON.parse(e)}catch{i=e}return i}return e}},fl=["a11y","autoplay","controller","cards-effect","coverflow-effect","creative-effect","cube-effect","fade-effect","flip-effect","free-mode","grid","hash-navigation","history","keyboard","mousewheel","navigation","pagination","parallax","scrollbar","thumbs","virtual","zoom"];function us(e,i,t){let n={},s={};Ui(n,Yi);let r=[...Ot,"on"],a=r.map(o=>o.replace(/_/,""));r.forEach(o=>{o=o.replace("_",""),typeof e[o]<"u"&&(s[o]=e[o])});let l=[...e.attributes];return typeof i=="string"&&typeof t<"u"&&l.push({name:i,value:ct(t)?ee({},t):t}),l.forEach(o=>{let u=fl.find(p=>o.name.startsWith(`${p}-`));if(u){let p=kt(u),f=kt(o.name.split(`${u}-`)[1]);typeof s[p]>"u"&&(s[p]={}),s[p]===!0&&(s[p]={enabled:!0}),s[p]===!1&&(s[p]={enabled:!1}),s[p][f]=ul(o.value)}else{let p=kt(o.name);if(!a.includes(p))return;let f=ul(o.value);s[p]&&fl.includes(o.name)&&!ct(f)?(s[p].constructor!==Object&&(s[p]={}),s[p].enabled=!!f):s[p]=f}}),Ui(n,s),n.navigation?n.navigation=ee({prevEl:".swiper-button-prev",nextEl:".swiper-button-next"},n.navigation!==!0?n.navigation:{}):n.navigation===!1&&delete n.navigation,n.scrollbar?n.scrollbar=ee({el:".swiper-scrollbar"},n.scrollbar!==!0?n.scrollbar:{}):n.scrollbar===!1&&delete n.scrollbar,n.pagination?n.pagination=ee({el:".swiper-pagination"},n.pagination!==!0?n.pagination:{}):n.pagination===!1&&delete n.pagination,{params:n,passedParams:s}}var jd=':host{--swiper-theme-color:#007aff}:host{display:block;margin-left:auto;margin-right:auto;position:relative;z-index:1}.swiper{display:block;height:100%;list-style:none;margin-left:auto;margin-right:auto;overflow:hidden;padding:0;position:relative;width:100%;z-index:1}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{box-sizing:initial;display:flex;height:100%;position:relative;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);width:100%;z-index:1}.swiper-android ::slotted(swiper-slide),.swiper-ios ::slotted(swiper-slide),.swiper-wrapper{transform:translateZ(0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}::slotted(swiper-slide){display:block;flex-shrink:0;height:100%;position:relative;transition-property:transform;width:100%}::slotted(.swiper-slide-invisible-blank){visibility:hidden}.swiper-autoheight,.swiper-autoheight ::slotted(swiper-slide){he
5ight:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden ::slotted(swiper-slide){backface-visibility:hidden;transform:translateZ(0)}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d ::slotted(swiper-slide){transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode ::slotted(swiper-slide){scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-horizontal ::slotted(swiper-slide):first-child{margin-inline-start:var(--swiper-slides-offset-before);scroll-margin-inline-start:var(--swiper-slides-offset-before)}.swiper-css-mode.swiper-horizontal ::slotted(swiper-slide):last-child{margin-inline-end:var(--swiper-slides-offset-after)}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-vertical ::slotted(swiper-slide):first-child{margin-block-start:var(--swiper-slides-offset-before);scroll-margin-block-start:var(--swiper-slides-offset-before)}.swiper-css-mode.swiper-vertical ::slotted(swiper-slide):last-child{margin-block-end:var(--swiper-slides-offset-after)}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode ::slotted(swiper-slide){scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered ::slotted(swiper-slide){scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal ::slotted(swiper-slide):first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical ::slotted(swiper-slide):first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper:before{height:var(--swiper-centered-offset-after);min-width:1px;width:100%}.swiper-virtual ::slotted(swiper-slide){-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper:after{content:"";left:0;pointer-events:none;position:absolute;top:0}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper:after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper:after{height:var(--swiper-virtual-size);width:1px}:host{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{align-items:center;color:var(--swiper-navigation-color,var(--swiper-theme-color));cursor:pointer;display:flex;height:var(--swiper-navigation-size);justify-content:center;position:absolute;width:var(--swiper-navigation-size);z-index:10}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{cursor:auto;opacity:.35;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{cursor:auto;opacity:0;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next svg,.swiper-button-prev svg{height:100%;object-fit:contain;transform-origin:center;width:100%;fill:currentColor;pointer-events:none}.swiper-button-lock{display:none}.swiper-button-next,.swiper-button-prev{margin-top:calc(0px - var(--swiper-navigation-size)/2);top:var(--swiper-navigation-top-offset,50%)}.swiper-button-prev{left:var(--swiper-navigation-sides-offset,4px);right:auto}.swiper-button-prev .swiper-navigation-icon{transform:rotate(180deg)}.swiper-button-next{left:auto;right:var(--swiper-navigation-sides-offset,4px)}.swiper-horizontal .swiper-button-next,.swiper-horizontal .swiper-button-prev,.swiper-horizontal~.swiper-button-next,.swiper-horizontal~.swiper-button-prev{margin-left:0;margin-top:calc(0px - var(--swiper-navigation-size)/2);top:var(--swiper-navigation-top-offset,50%)}.swiper-horizontal .swiper-button-prev,.swiper-horizontal.swiper-rtl .swiper-button-next,.swiper-horizontal.swiper-rtl~.swiper-button-next,.swiper-horizontal~.swiper-button-prev{left:var(--swiper-navigation-sides-offset,4px);right:auto}.swiper-horizontal .swiper-button-next,.swiper-horizontal.swiper-rtl .swiper-button-prev,.swiper-horizontal.swiper-rtl~.swiper-button-prev,.swiper-horizontal~.swiper-button-next{left:auto;right:var(--swiper-navigation-sides-offset,4px)}.swiper-horizontal .swiper-button-prev .swiper-navigation-icon,.swiper-horizontal.swiper-rtl .swiper-button-next .swiper-navigation-icon,.swiper-horizontal.swiper-rtl~.swiper-button-next .swiper-navigation-icon,.swiper-horizontal~.swiper-button-prev .swiper-navigation-icon{transform:rotate(180deg)}.swiper-horizontal.swiper-rtl .swiper-button-prev .swiper-navigation-icon,.swiper-horizontal.swiper-rtl~.swiper-button-prev .swiper-navigation-icon{transform:rotate(0deg)}.swiper-vertical .swiper-button-next,.swiper-vertical .swiper-button-prev,.swiper-vertical~.swiper-button-next,.swiper-vertical~.swiper-button-prev{left:var(--swiper-navigation-top-offset,50%);margin-left:calc(0px - var(--swiper-navigation-size)/2);margin-top:0;right:auto}.swiper-vertical .swiper-button-prev,.swiper-vertical~.swiper-button-prev{bottom:auto;top:var(--swiper-navigation-sides-offset,4px)}.swiper-vertical .swiper-button-prev .swiper-navigation-icon,.swiper-vertical~.swiper-button-prev .swiper-navigation-icon{transform:rotate(-90deg)}.swiper-vertical .swiper-button-next,.swiper-vertical~.swiper-button-next{bottom:var(--swiper-navigation-sides-offset,4px);top:auto}.swiper-vertical .swiper-button-next .swiper-navigation-icon,.swiper-vertical~.swiper-button-next .swiper-navigation-icon
vendor: 8,763 bytes, line 5
5{transform:rotate(90deg)}.swiper-pagination{position:absolute;text-align:center;transform:translateZ(0);transition:opacity .3s;z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);left:0;top:var(--swiper-pagination-top,auto);width:100%}.swiper-pagination-bullets-dynamic{font-size:0;overflow:hidden}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{position:relative;transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active,.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{background:var(--swiper-pagination-bullet-inactive-color,#000);border-radius:var(--swiper-pagination-bullet-border-radius,50%);display:inline-block;height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));opacity:var(--swiper-pagination-bullet-inactive-opacity,.2);width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px))}button.swiper-pagination-bullet{appearance:none;border:none;box-shadow:none;margin:0;padding:0}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{background:var(--swiper-pagination-color,var(--swiper-theme-color));opacity:var(--swiper-pagination-bullet-opacity,1)}.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{left:var(--swiper-pagination-left,auto);right:var(--swiper-pagination-right,8px);top:50%;transform:translate3d(0,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{display:block;margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:transform .2s,top .2s}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,left .2s}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,right .2s}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,#00000040);position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));height:100%;left:0;position:absolute;top:0;transform:scale(0);transform-origin:left top;width:100%}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{height:var(--swiper-pagination-progressbar-size,4px);left:0;top:0;width:100%}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{height:100%;left:0;top:0;width:var(--swiper-pagination-progressbar-size,4px)}.swiper-pagination-lock{display:none}.swiper-scrollbar{background:var(--swiper-scrollbar-bg-color,#0000001a);border-radius:var(--swiper-scrollbar-border-radius,10px);position:relative;touch-action:none}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{bottom:var(--swiper-scrollbar-bottom,4px);height:var(--swiper-scrollbar-size,4px);left:var(--swiper-scrollbar-sides-offset,1%);position:absolute;top:var(--swiper-scrollbar-top,auto);width:calc(100% - var(--swiper-scrollbar-sides-offset, 1%)*2);z-index:50}.swiper-scrollbar.swiper-scrollbar-vertical,.swiper-vertical>.swiper-scrollbar{height:calc(100% - var(--swiper-scrollbar-sides-offset, 1%)*2);left:var(--swiper-scrollbar-left,auto);position:absolute;right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);width:var(--swiper-scrollbar-size,4px);z-index:50}.swiper-scrollbar-drag{background:var(--swiper-scrollbar-drag-bg-color,#00000080);border-radius:var(--swiper-scrollbar-border-radius,10px);height:100%;left:0;position:relative;top:0;width:100%}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}::slotted(.swiper-slide-zoomed){cursor:move;touch-action:none}.swiper .swiper-notification{left:0;opacity:0;pointer-events:none;position:absolute;top:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{margin:0 auto;transition-timing-function:ease-out}.swiper-grid>.swiper-wrapper{flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{flex-direction:column;flex-wrap:wrap}.swiper-fade.swiper-free-mode ::slotted(swiper-slide){transition-timing-function:ease-out}.swiper-fade ::slotted(swiper-slide){pointer-events:none;transition-property:opacity}.swiper-fade ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-fade ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-fade ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper.swiper-cube{overflow:visible}.swiper-cube ::slotted(swiper-slide){backface-visibility:hidden;height:100%;pointer-events:none;transform-origin:0 0;visibility:hidden;width:100%;z-index:1}.swiper-cube ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-cube.swiper-rtl ::slotted(swiper-slide){transform-origin:100% 0}.swiper-cube ::slotted(.swiper-slide-active),.swiper-cube ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-cube ::slotted(.swiper-slide-active),.swiper-cube ::slotted(.swiper-slide-next),.swiper-cube ::slotted(.swiper-slide-prev){pointer-events:auto;visibility:visible}.swiper-cube .swiper-cube-shadow{bottom:0;height:100%;left:0;opacity:.6;position:absolute;width:100%;z-index:0}.swiper-cube .swiper-cube-shadow:before{background:#000;bottom:0;content:"";filter:blur(50px);left:0;position:absolute;right:0;top:0}.swiper-cube ::slotted(.swiper-slide-next)+::slotted(swiper-slide){pointer-events:auto;visibility:visible}.swiper.swiper-flip{overflow:visible}.swiper-flip ::slotted(swiper-slide){backface-visibility:hidden;pointer-events:none;z-index:1}.swiper-flip ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-flip ::slotted(.swiper-slide-active),.swiper-flip ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-creative ::slotted(swiper-slide){backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper.swiper-cards{overflow:visible}.swiper-cards ::slotted(swiper-slide){backface-visibility:hidden;overflow:hidden;transform-origin:center bottom}',
vendor: 7,203 bytes, lines 5-27
5Wd="::slotted(.swiper-slide-shadow),::slotted(.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-top){height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%;z-index:10}::slotted(.swiper-slide-shadow){background:#00000026}::slotted(.swiper-slide-shadow-left){background-image:linear-gradient(270deg,#00000080,#0000)}::slotted(.swiper-slide-shadow-right){background-image:linear-gradient(90deg,#00000080,#0000)}::slotted(.swiper-slide-shadow-top){background-image:linear-gradient(0deg,#00000080,#0000)}::slotted(.swiper-slide-shadow-bottom){background-image:linear-gradient(180deg,#00000080,#0000)}.swiper-lazy-preloader{animation:swiper-preloader-spin 1s linear infinite;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top:4px solid #0000;box-sizing:border-box;height:42px;left:50%;margin-left:-21px;margin-top:-21px;position:absolute;top:50%;transform-origin:50%;width:42px;z-index:10}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-top){backface-visibility:hidden;z-index:0}::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-top){backface-visibility:hidden;z-index:0}::slotted(.swiper-zoom-container){align-items:center;display:flex;height:100%;justify-content:center;text-align:center;width:100%}::slotted(.swiper-zoom-container)>canvas,::slotted(.swiper-zoom-container)>img,::slotted(.swiper-zoom-container)>svg{max-height:100%;max-width:100%;object-fit:contain}",fs=class{},pl=typeof window>"u"||typeof HTMLElement>"u"?fs:HTMLElement,ml=(e,i)=>{if(typeof CSSStyleSheet<"u"&&e.adoptedStyleSheets){let t=new CSSStyleSheet;t.replaceSync(i),e.adoptedStyleSheets=[t]}else{let t=document.createElement("style");t.rel="stylesheet",t.textContent=i,e.appendChild(t)}},Xi=class extends pl{constructor(){super(),this.attachShadow({mode:"open"})}cssStyles(){return[jd,...this.injectStyles&&Array.isArray(this.injectStyles)?this.injectStyles:[]].join(`
6`)}cssLinks(){return this.injectStylesUrls||[]}calcSlideSlots(){let i=this.slideSlots||0,t=[...this.querySelectorAll("[slot^=slide-]")].map(n=>parseInt(n.getAttribute("slot").split("slide-")[1],10));if(this.slideSlots=t.length?Math.max(...t)+1:0,!!this.rendered){if(this.slideSlots>i)for(let n=i;n<this.slideSlots;n+=1){let s=document.createElement("swiper-slide");s.setAttribute("part",`slide slide-${n+1}`);let r=document.createElement("slot");r.setAttribute("name",`slide-${n+1}`),s.appendChild(r),this.shadowRoot.querySelector(".swiper-wrapper").appendChild(s)}else if(this.slideSlots<i){let n=this.swiper.slides;for(let s=n.length-1;s>=0;s-=1)s>this.slideSlots&&n[s].remove()}}}render(){if(this.rendered)return;this.calcSlideSlots();let i=this.cssStyles();this.slideSlots>0&&(i=i.replace(/::slotted\(([a-z-0-9.]*)\)/g,"$1")),i.length&&ml(this.shadowRoot,i),this.cssLinks().forEach(n=>{if(this.shadowRoot.querySelector(`link[href="${n}"]`))return;let r=document.createElement("link");r.rel="stylesheet",r.href=n,this.shadowRoot.appendChild(r)});let t=document.createElement("div");t.classList.add("swiper"),t.part="container",se(t,`
7      <slot name="container-start"></slot>
8      <div class="swiper-wrapper" part="wrapper">
9        <slot></slot>
10        ${Array.from({length:this.slideSlots}).map((n,s)=>`
11        <swiper-slide part="slide slide-${s}">
12          <slot name="slide-${s}"></slot>
13        </swiper-slide>
14        `).join("")}
15      </div>
16      <slot name="container-end"></slot>
17      ${ol(this.passedParams)?`
18        <div part="button-prev" class="swiper-button-prev"></div>
19        <div part="button-next" class="swiper-button-next"></div>
20      `:""}
21      ${ll(this.passedParams)?`
22        <div part="pagination" class="swiper-pagination"></div>
23      `:""}
24      ${cl(this.passedParams)?`
25        <div part="scrollbar" class="swiper-scrollbar"></div>
26      `:""}
27    `),this.shadowRoot.appendChild(t),this.rendered=!0}initialize(){if(this.swiper&&this.swiper.initialized)return;let{params:i,passedParams:t}=us(this);this.swiperParams=i,this.passedParams=t,delete this.swiperParams.init,this.render(),this.swiper=new Ze(this.shadowRoot.querySelector(".swiper"),He(ee(ee({},i.virtual?{}:{observer:!0}),i),{touchEventsTarget:"container",onAny:(n,...s)=>{n==="observerUpdate"&&this.calcSlideSlots();let r=i.eventsPrefix?`${i.eventsPrefix}${n.toLowerCase()}`:n.toLowerCase(),a=new CustomEvent(r,{detail:s,bubbles:n!=="hashChange",cancelable:!0});this.dispatchEvent(a)}}))}connectedCallback(){this.swiper&&this.swiper.initialized&&this.nested&&this.closest("swiper-slide")&&this.closest("swiper-slide").swiperLoopMoveDOM||this.init===!1||this.getAttribute("init")==="false"||this.initialize()}disconnectedCallback(){this.nested&&this.closest("swiper-slide")&&this.closest("swiper-slide").swiperLoopMoveDOM||this.swiper&&this.swiper.destroy&&this.swiper.destroy()}updateSwiperOnPropChange(i,t){let{params:n,passedParams:s}=us(this,i,t);this.passedParams=s,this.swiperParams=n,!(this.swiper&&this.swiper.params[i]===t)&&dl(ee(ee(ee({swiper:this.swiper,passedParams:this.passedParams,changedParams:[kt(i)]},i==="navigation"&&s[i]?{prevEl:".swiper-button-prev",nextEl:".swiper-button-next"}:{}),i==="pagination"&&s[i]?{paginationEl:".swiper-pagination"}:{}),i==="scrollbar"&&s[i]?{scrollbarEl:".swiper-scrollbar"}:{}))}attributeChangedCallback(i,t,n){this.swiper&&this.swiper.initialized&&(t==="true"&&n===null&&(n=!1),this.updateSwiperOnPropChange(i,n))}static get observedAttributes(){return Ot.filter(t=>t.includes("_")).map(t=>t.replace(/[A-Z]/g,n=>`-${n}`).replace("_","").toLowerCase())}};Ot.forEach(e=>{e!=="init"&&(e=e.replace("_",""),Object.defineProperty(Xi.prototype,e,{configurable:!0,get(){return(this.passedParams||{})[e]},set(i){this.passedParams||(this.passedParams={}),this.passedParams[e]=i,this.swiper&&this.swiper.initialized&&this.updateSwiperOnPropChange(e,i)}}))});var ps=class extends pl{constructor(){super(),this.attachShadow({mode:"open"})}render(){let i=this.lazy||this.getAttribute("lazy")===""||this.getAttribute("lazy")==="true";if(ml(this.shadowRoot,Wd),this.shadowRoot.appendChild(document.createElement("slot")),i){let t=document.createElement("div");t.classList.add("swiper-lazy-preloader"),t.part.add("preloader"),this.shadowRoot.appendChild(t)}}initialize(){this.render()}connectedCallback(){this.swiperLoopMoveDOM||this.initialize()}},hl=()=>{typeof window>"u"||(window.customElements.get("swiper-container")||window.customElements.define("swiper-container",Xi),window.customElements.get("swiper-slide")||window.customElements.define("swiper-slide",ps))};typeof window<"u"&&(window.SwiperElementRegisterParams=e=>{Ot.push(...e)});hl();Rs(Eo,So).catch(e=>console.error(e));

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.