PageSourceSearch

https://muenzer.com/dist/assets/slider-C_cwrpND.js

js muenzer.com collected 2026-10-06 04:19:32 UTC 30,666 bytes, 10 lines download raw bytes

1/*!
2 * OverlayScrollbars
3 * Version: 2.4.7
4 *
5 * Copyright (c) Rene Haas | KingSora.
6 * https://github.com/KingSora
7 *
8 * Released under the MIT license.
9 */const Ot=(t,e)=>{const{o:n,u:s,_:o}=t;let c=n,r;const l=(i,f)=>{const d=c,H=i,v=f||(s?!s(d,H):d!==H);return(v||o)&&(c=H,r=d),[c,v,r]};return[e?i=>l(e(c,r),i):l,i=>[c,!!i,r]]},bn=typeof window<"u",Xn=bn&&Node.ELEMENT_NODE,{toString:Is,hasOwnProperty:Ke}=Object.prototype,Ms=/^\[object (.+)\]$/,Kt=t=>t===void 0,Ae=t=>t===null,zs=t=>Kt(t)||Ae(t)?"".concat(t):Is.call(t).replace(Ms,"$1").toLowerCase(),Tt=t=>typeof t=="number",Pe=t=>typeof t=="string",Yn=t=>typeof t=="boolean",At=t=>typeof t=="function",Pt=t=>Array.isArray(t),ue=t=>typeof t=="object"&&!Pt(t)&&!Ae(t),ke=t=>{const e=!!t&&t.length,n=Tt(e)&&e>-1&&e%1==0;return Pt(t)||!At(t)&&n?e>0&&ue(t)?e-1 in t:!0:!1},xe=t=>{if(!t||!ue(t)||zs(t)!=="object")return!1;let e;const n="constructor",s=t[n],o=s&&s.prototype,c=Ke.call(t,n),r=o&&Ke.call(o,"isPrototypeOf");if(s&&!c&&!r)return!1;for(e in t);return Kt(e)||Ke.call(t,e)},ie=t=>{const e=HTMLElement;return t?e?t instanceof e:t.nodeType===Xn:!1},He=t=>{const e=Element;return t?e?t instanceof e:t.nodeType===Xn:!1};function q(t,e){if(ke(t))for(let n=0;n<t.length&&e(t[n],n,t)!==!1;n++);else t&&q(Object.keys(t),n=>e(t[n],n,t));return t}const Re=(t,e)=>t.indexOf(e)>=0,Ht=(t,e)=>t.concat(e),J=(t,e,n)=>(!Pe(e)&&ke(e)?Array.prototype.push.apply(t,e):t.push(e),t),Wt=t=>{const e=Array.from,n=[];return e&&t?e(t):(t instanceof Set?t.forEach(s=>{J(n,s)}):q(t,s=>{J(n,s)}),n)},Jn=t=>Pt(t)?t:[t],$e=t=>!!t&&!t.length,Ln=t=>Wt(new Set(t)),wt=(t,e,n)=>{q(t,o=>o&&o.apply(void 0,e||[])),!n&&(t.length=0)},De=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),Dt=t=>t?Object.keys(t):[],X=(t,e,n,s,o,c,r)=>{const l=[e,n,s,o,c,r];return(typeof t!="object"||Ae(t))&&!At(t)&&(t={}),q(l,a=>{q(a,(u,i)=>{const f=a[i];if(t===f)return!0;const d=Pt(f);if(f&&xe(f)){const H=t[i];let v=H;d&&!Pt(H)?v=[]:!d&&!xe(H)&&(v={}),t[i]=X(v,f)}else t[i]=d?f.slice():f})}),t},Zn=(t,e)=>q(X({},t),(n,s,o)=>{n===void 0?delete o[s]:n&&xe(n)&&(o[s]=Zn(n))}),gn=t=>{for(const e in t)return!1;return!0},vt=bn?window:{},Se=Math.max,_s=Math.min,fe=Math.round,Qn=vt.cancelAnimationFrame,ts=vt.requestAnimationFrame,Oe=vt.setTimeout,tn=vt.clearTimeout,es="paddingTop",ns="paddingRight",ss="paddingLeft",os="paddingBottom",cs="marginLeft",rs="marginRight",ls="marginBottom",Ie="overflowX",Me="overflowY",Xt="width",It="height",ne="hidden",is="visible",ze=(t,e,n,s)=>{if(t&&e){let o=!0;return q(n,c=>{const r=s?s(t[c]):t[c],l=s?s(e[c]):e[c];r!==l&&(o=!1)}),o}return!1},as=(t,e)=>ze(t,e,["w","h"]),us=(t,e)=>ze(t,e,["x","y"]),Ns=(t,e)=>ze(t,e,["t","r","b","l"]),Tn=(t,e,n)=>ze(t,e,[Xt,It],s=>fe(s)),Ct=()=>{},k=(t,...e)=>t.bind(0,...e),Nt=t=>{let e;const n=t?Oe:ts,s=t?tn:Qn;return[o=>{s(e),e=n(o,At(t)?t():t)},()=>s(e)]},fs=(t,e)=>{let n,s,o,c=Ct;const{v:r,p:l,S:a}=e||{},u=function(v){c(),tn(n),n=s=void 0,c=Ct,t.apply(this,v)},i=H=>a&&s?a(s,H):H,f=()=>{c!==Ct&&u(i(o)||o)},d=function(){const v=Wt(arguments),x=At(r)?r():r;if(Tt(x)&&x>
9=0){const R=At(l)?l():l,m=Tt(R)&&R>=0,D=x>0?Oe:ts,C=x>0?tn:Qn,z=i(v)||v,I=u.bind(0,z);c();const F=D(I,x);c=()=>C(F),m&&!n&&(n=Oe(f,R)),s=o=z}else u(v)};return d.m=f,d},pt=(t,e,n)=>{if(Kt(n))return t?t.getAttribute(e):null;t&&t.setAttribute(e,n)},dt=(t,e)=>{t&&t.removeAttribute(e)},_e=(t,e)=>{const n=k(pt,t,e),s=r=>new Set((r||"").split(" ").filter(l=>!!l)),o=(r,l,a)=>{const u=new Set(r);return s(l).forEach(i=>{u[a](i)}),Wt(u).join(" ")},c=s(n());return{O:r=>n(o(c,r,"delete")),$:r=>n(o(c,r,"add")),C:r=>{const l=s(r);return Wt(l).reduce((a,u)=>a&&c.has(u),l.size>0)}}},ds=(t,e,n)=>{_e(t,e).O(n)},de=(t,e,n)=>(_e(t,e).$(n),k(ds,t,e,n)),we=(t,e,n,s)=>{(s?de:ds)(t,e,n)},Vs=(t,e,n)=>_e(t,e).C(n),en=bn&&Element.prototype,ps=(t,e)=>{const n=[],s=e?He(e)&&e:document;return s?J(n,s.querySelectorAll(t)):n},Fs=(t,e)=>{const n=e?He(e)&&e:document;return n?n.querySelector(t):null},Ce=(t,e)=>He(t)?(en.matches||en.msMatchesSelector).call(t,e):!1,nn=t=>t?Wt(t.childNodes):[],jt=t=>t&&t.parentElement,Qt=(t,e)=>{if(He(t)){const n=en.closest;if(n)return n.call(t,e);do{if(Ce(t,e))return t;t=jt(t)}while(t)}},js=(t,e,n)=>{const s=Qt(t,e),o=t&&Fs(n,s),c=Qt(o,e)===s;return s&&o?s===t||o===t||c&&Qt(Qt(t,n),e)!==s:!1},Rt=t=>{if(ke(t))q(Wt(t),e=>Rt(e));else if(t){const e=jt(t);e&&e.removeChild(t)}},vn=(t,e,n)=>{if(n&&t){let s=e,o;return ke(n)?(o=document.createDocumentFragment(),q(n,c=>{c===s&&(s=c.previousSibling),o.appendChild(c)})):o=n,e&&(s?s!==e&&(s=s.nextSibling):s=t.firstChild),t.insertBefore(o,s||null),()=>Rt(n)}return Ct},St=(t,e)=>vn(t,null,e),Bs=(t,e)=>vn(jt(t),t,e),An=(t,e)=>vn(jt(t),t&&t.nextSibling,e),Gt=t=>{const e=document.createElement("div");return pt(e,"class",t),e},hs=t=>{const e=Gt();return e.innerHTML=t.trim(),q(nn(e),n=>Rt(n))},sn=t=>t.charAt(0).toUpperCase()+t.slice(1),Us=()=>Gt().style,Gs=["-webkit-","-moz-","-o-","-ms-"],Ws=["WebKit","Moz","O","MS","webkit","moz","o","ms"],Xe={},Ye={},qs=t=>{let e=Ye[t];if(De(Ye,t))return e;const n=sn(t),s=Us();return q(Gs,o=>{const c=o.replace(/-/g,"");return!(e=[t,o+t,c+n,sn(c)+n].find(l=>s[l]!==void 0))}),Ye[t]=e||""},Ne=t=>{let e=Xe[t]||vt[t];return De(Xe,t)||(q(Ws,n=>(e=e||vt[n+sn(t)],!e)),Xe[t]=e),e},Ks=Ne("MutationObserver"),Pn=Ne("IntersectionObserver"),Ee=Ne("ResizeObserver"),on=Ne("ScrollTimeline"),bs=t=>_e(t,"class"),mn=(t,e)=>{bs(t).O(e)},qt=(t,e)=>(bs(t).$(e),k(mn,t,e)),Xs=/^--/,kn=(t,e)=>t.getPropertyValue(e)||t[e]||"",yn=t=>{const e=t||0;return isFinite(e)?e:0},ve=t=>yn(parseFloat(t||"")),me=t=>"".concat((yn(t)*100).toFixed(3),"%"),le=t=>"".concat(yn(t),"px");function Ft(t,e){t&&q(e,(n,s)=>{try{const o=t.style,c=Tt(n)?le(n):(n||"")+"";Xs.test(s)?o.setProperty(s,c):o[s]=c}catch(o){}})}function Mt(t,e,n){const s=Pe(e);let o=s?"":{};if(t){const c=vt.getComputedStyle(t,n)||t.style;o=s?kn(c,e):e.reduce((r,l)=>(r[l]=kn(c,l),r),o)}return o}const te=t=>Mt(t,"direction")==="rtl",Hn=(t,e,n)=>{const s=e?"".concat(e,"-"):"",o=n?"-".concat(n):"",c="".concat(s,"top").concat(o),r="".concat(s,"right").concat(o),l="".concat(s,"bottom").concat(o),a="".concat(s,"left").concat(o),u=Mt(t,[c,r,l,a]);return{t:ve(u[c]),r:ve(u[r]),b:ve(u[l]),l:ve(u[a])}},Zt=(t,e)=>"translate".concat(ue(t)?"(".concat(t.x,",").concat(t.y,")"):"".concat(e?"X":"Y","(").concat(t,")")),Ys={w:0,h:0},Ve=(t,e)=>e?{w:e["".concat(t,"Width")],h:e["".concat(t,"Height")]}:Ys,Js=t=>Ve("inner",t||vt),ae=k(Ve,"offset"),cn=k(Ve,"client"),rn=k(Ve,"scroll"),Le=t=>{const e=parseFloat(Mt(t,Xt))||0,n=parseFloat(Mt(t,It))||0;return{w:e-fe(e),h:n-fe(n)}},Lt=t=>t.getBoundingClientRect(),ln=t=>!!(t&&(t[It]||t[Xt])),gs=(t,e)=>{const n=ln(t);return!ln(e)&&n};let ye;const Rn="passive",Zs=()=>{if(Kt(ye)){ye=!1;try{vt.addEventListener(Rn,Ct,Object.defineProperty({},Rn,{get(){ye=!0}}))}catch(t){}}return ye},vs=t=>t.split(" "),Dn=(t,e,n,s)=>{q(vs(e),o=>{t.removeEventListener(o,n,s)})},ot=(t,e,n,s)=>{var o;const c=Zs(),r=(o=c&&s&&s.H)!=null?o:c,l=s&&s.I||!1,a=s&&s.A||!1,u=c?{passive:r,capture:l}:l;return k(wt,vs(e).map(i=>{const f=a?d=>{Dn(t,i,f,l),n(d)}:n;return t.addEventListener(i,f,u),k(Dn,t,i,f,l)}))},ms=t=>t.stopPropagation(),In=t=>t.preventDefault(),Qs={x:0,y:0},Je=t=>{const e=t&&Lt(t);return e?{x:e.left+vt.pageYOffset,y:e.top+vt.pageXOffset}:Qs},ys=(t,e,n)=>n?n.n?-t:n.i?e-t:t:t,to=(t,e)=>[e&&e.i?t:0,ys(t,t,e)],Bt=(t,e)=>{const{x:n,y:s}=Tt(e)?{x:e,y:e}:e||{};Tt(n)&&(t.scrollLeft=n),Tt(s)&&(t.scrollTop=s)},se=t=>({x:t.scrollLeft,y:t.scrollTop}),Mn=(t,e)=>{q(Jn(e),t)},an=t=>{const e=new Map,n=(c,r)=>{if(c){const l=e.get(c);Mn(a=>{l&&l[a?"delete":"clear"](a)},r)}else e.forEach(l=>{l.clear()}),e.clear()},s=(c,r)=>{if(Pe(c)){const u=e.get(c)||new Set;return e.set(c,u),Mn(i=>{At(i)&&u.add(i)},r),k(n,c,r)}Yn(r)&&r&&n();const l=Dt(c),a=[];return q(l,u=>{const i=c[u];i&&J(a,s(u,i))}),k(wt,a)},o=(c,r)=>{q(Wt(e.get(c)),l=>{r&&!$e(r)?l.apply(0,r):l()})};return s(t||{}),[s,n,o]},zn=t=>JSON.stringify(t,(e,n)=>{if(At(n))throw 0;return n}),_n=(t,e)=>t?"".concat(e).split(".").reduce((n,s)=>n&&De(n,s)?n[s]:void 0,t):void 0,eo={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,autoHideSuspend:!1,dragScroll:!0,
9clickScroll:!1,pointers:["mouse","touch","pen"]}},Ss=(t,e)=>{const n={},s=Ht(Dt(e),Dt(t));return q(s,o=>{const c=t[o],r=e[o];if(ue(c)&&ue(r))X(n[o]={},Ss(c,r)),gn(n[o])&&delete n[o];else if(De(e,o)&&r!==c){let l=!0;if(Pt(c)||Pt(r))try{zn(c)===zn(r)&&(l=!1)}catch(a){}l&&(n[o]=r)}}),n},Nn=(t,e,n)=>s=>[_n(t,s),n||_n(e,s)!==void 0],pe="data-overlayscrollbars",Sn="os-environment",no="".concat(Sn,"-scrollbar-hidden"),ws="".concat(Sn,"-flexbox-glue"),so="".concat(ws,"-max"),Ze="".concat(pe,"-initialize"),yt=pe,xs="".concat(yt,"-overflow-x"),$s="".concat(yt,"-overflow-y"),Os="overflowVisible",oo="scrollbarPressed",un="updating",co="body",Vt="".concat(pe,"-viewport"),ro="arrange",Cs="scrollbarHidden",ee=Os,fn="".concat(pe,"-padding"),lo=ee,Vn="".concat(pe,"-content"),wn="os-size-observer",io="".concat(wn,"-appear"),ao="".concat(wn,"-listener"),uo="os-trinsic-observer",fo="os-no-css-vars",po="os-theme-none",bt="os-scrollbar",ho="".concat(bt,"-rtl"),bo="".concat(bt,"-horizontal"),go="".concat(bt,"-vertical"),Es="".concat(bt,"-track"),xn="".concat(bt,"-handle"),vo="".concat(bt,"-visible"),mo="".concat(bt,"-cornerless"),Fn="".concat(bt,"-transitionless"),jn="".concat(bt,"-interaction"),Bn="".concat(bt,"-unusable"),dn="".concat(bt,"-auto-hide"),Un="".concat(dn,"-hidden"),Gn="".concat(bt,"-wheel"),yo="".concat(Es,"-interactive"),So="".concat(xn,"-interactive"),Ls={},Ts={},wo=t=>{q(t,e=>q(e,(n,s)=>{Ls[s]=e[s]}))},As=(t,e,n)=>Dt(t).map(s=>{const{static:o,instance:c}=t[s],[r,l,a]=n||[],u=n?c:o;if(u){const i=n?u(r,l,e):u(e);return(a||Ts)[s]=i}}),Yt=t=>Ts[t],xo="__osOptionsValidationPlugin",$o="__osSizeObserverPlugin",Oo=(t,e)=>{const{T:n}=e,[s,o]=t("showNativeOverlaidScrollbars");return[s&&n.x&&n.y,o]},Te=t=>t.indexOf(is)===0,pn=(t,e)=>{const{D:n}=t,s=a=>{const u=Mt(n,a),f=(e?e[a]:u)==="scroll";return[u,f]},[o,c]=s(Ie),[r,l]=s(Me);return{k:{x:o,y:r},M:{x:c,y:l}}},Co=(t,e,n,s)=>{const o=e.x||e.y,c=(i,f)=>{const d=Te(i),H=d&&o?"hidden":"",v=f&&d&&i.replace("".concat(is,"-"),"")||H;return[f&&!d?i:"",Te(v)?"hidden":v]},[r,l]=c(n.x,e.x),[a,u]=c(n.y,e.y);return s[Ie]=l&&a?l:r,s[Me]=u&&r?u:a,pn(t,s)},Fe="__osScrollbarsHidingPlugin",Eo="__osClickScrollPlugin";let Qe;const Wn=(t,e,n,s)=>{St(t,e);const o=cn(e),c=ae(e),r=Le(n);return s&&Rt(e),{x:c.h-o.h+r.h,y:c.w-o.w+r.w}},Lo=t=>{let e=!1;const n=qt(t,no);try{e=Mt(t,qs("scrollbar-width"))==="none"||Mt(t,"display","::-webkit-scrollbar")==="none"}catch(s){}return n(),e},To=(t,e)=>{Ft(t,{[Ie]:ne,[Me]:ne,direction:"rtl"}),Bt(t,{x:0});const n=Je(t),s=Je(e);Bt(t,{x:-999});const o=Je(e);return{i:n.x===s.x,n:s.x!==o.x}},Ao=(t,e)=>{const n=qt(t,ws),s=Lt(t),o=Lt(e),c=Tn(o,s),r=qt(t,so),l=Lt(t),a=Lt(e),u=Tn(a,l);return n(),r(),c&&u},Po=()=>{const{body:t}=document,n=hs('<div class="'.concat(Sn,'"><div></div></div>'))[0],s=n.firstChild,[o,,c]=an(),[r,l]=Ot({o:Wn(t,n,s),u:us},k(Wn,t,n,s,!0)),[a]=l(),u=Lo(n),i={x:a.x===0,y:a.y===0},f={elements:{host:null,padding:!u,viewport:L=>u&&L===L.ownerDocument.body&&L,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},d=X({},eo),H=k(X,{},d),v=k(X,{},f),x={j:a,T:i,V:u,P:Mt(n,"zIndex")==="-1",tt:!!on,nt:To(n,s),N:Ao(n,s),ot:k(o,"r"),st:v,et:L=>X(f,L)&&v(),ct:H,rt:L=>X(d,L)&&H(),lt:X({},f),it:X({},d)};return dt(n,"style"),Rt(n),vt.addEventListener("resize",()=>{let L;if(!u&&(!i.x||!i.y)){const R=Yt(Fe);L=!!(R?R.Z():Ct)(x,r)}c("r",[L])}),x},ht=()=>(Qe||(Qe=Po()),Qe),$n=(t,e)=>At(e)?e.apply(0,t):e,ko=(t,e,n,s)=>{const o=Kt(s)?n:s;return $n(t,o)||e.apply(0,t)},Ps=(t,e,n,s)=>{const o=Kt(s)?n:s,c=$n(t,o);return!!c&&(ie(c)?c:e.apply(0,t))},Ho=(t,e)=>{const{nativeScrollbarsOverlaid:n,body:s}=e||{},{T:o,V:c,st:r}=ht(),{nativeScrollbarsOverlaid:l,body:a}=r().cancel,u=n!=null?n:l,i=Kt(s)?a:s,f=(o.x||o.y)&&u,d=t&&(Ae(i)?!c:i);return!!f||!!d},On=new WeakMap,Ro=(t,e)=>{On.set(t,e)},Do=t=>{On.delete(t)},ks=t=>On.get(t),Io=(t,e,n)=>{let s=!1;const o=n?new WeakMap:!1,c=()=>{s=!0},r=l=>{if(o&&n){const a=n.map(u=>{const[i,f]=u||[];return[f&&i?(l||ps)(i,t):[],f]});q(a,u=>q(u[0],i=>{const f=u[1],d=o.get(i)||[];if(t.contains(i)&&f){const v=ot(i,f.trim(),x=>{s?(v(),o.delete(i)):e(x)});o.set(i,J(d,v))}else wt(d),o.delete(i)}))}};return r(),[c,r]},qn=(t,e,n,s)=>{let o=!1;const{ut:c,ft:r,_t:l,dt:a,vt:u,ht:i}=s||{},f=fs(()=>o&&n(!0),{v:33,p:99}),[d,H]=Io(t,f,l),v=c||[],x=r||[],L=Ht(v,x),R=(D,C)=>{if(!$e(C)){const N=u||Ct,z=i||Ct,I=[],F=[];let _=!1,O=!1;if(q(C,b=>{const{attributeName:S,target:T,type:y,oldValue:$,addedNodes:Y,removedNodes:U}=b,V=y==="attributes",K=y==="childList",tt=t===T,et=V&&S,nt=et?pt(T,S||""):null,A=et&&$!==nt,Z=Re(x,S)&&A;if(e&&(K||!tt)){const P=V&&A,M=P&&a&&Ce(T,a),h=(M?!N(T,S,$,nt):!V||P)&&!z(b,!!M,t,s);q(Y,g=>J(I,g)),q(U,g=>J(I,g)),O=O||h}!e&&tt&&A&&!N(T,S,$,nt)&&(J(F,S),_=_||Z)}),H(b=>Ln(I).reduce((S,T)=>(J(S,ps(b,T)),Ce(T,b)?J(S,T):S),[])),e)return!D&&O&&n(!1),[!1];if(!$e(F)||_){const b=[Ln(F),_];return!D&&n.apply(0,b),b}}},m=new Ks(k(R,!1));return[()=>(m.observe(t,{attributes:!0,attributeOldValue:!0,attributeFilter:L,subtree:e,childList:e,characterData:e}),o=!0,()=>{o&&(d(),m.disconnect(),o=!1)}),()=>{if(o)return f.m(),R(!0,m.takeRecords())}]},Hs=(t,e,n)=>{const{gt:o,bt:c}=n||{},r=Yt($o),{nt:l}=ht(),a=k(te,t),[u]=Ot({o:!1,_:!0});return()=>{const i=[],d=hs('<div class="'.concat(wn,'"><div class="').concat(ao,'"></div></div>'))[0],H=d.firstChild,v=x=>{const L=x instanceof ResizeObserverEntry,R=!L&&Pt(x);let m=!1,D=!1,C=!0;if(L){const[N,,z]=u(x.contentRect),I=ln(N),F=gs(N,z);D=!z||F,m=!D&&!I,C=!m}else R?[,C]=x:D=x===!0;if(o&&C){const N=R?x[0]:te(d);Bt(d,{x:ys(3333333,3333333,N&&l),y:3333333})}m||e({wt:R?x:void 0,St:!R,bt:D})};if(Ee){const x=new Ee(L=>v(L.pop()));x.observe(H),J(i,()=>{x.disconnect()})}else if(r){const[x,L]=r(H,v,c);J(i,Ht([qt(d,io),ot(d,"animationstart",x)],L))}else return Ct;if(o){const[x]=Ot({o:void 0},a);J(i,ot(d,"scroll",L=>{const R=x(),[m,D,C]=R;D&&(mn(H,"ltr rtl"),qt(H,m?"rtl":"ltr"),v([!!m,D,C])),ms(L)}))}return k(wt,J(i,St(t,d)))}},Mo=(t,e)=>{let n;const s=a=>a.h===0||a.isIntersecting||a.intersectionRatio>0,o=Gt(uo),[c]=Ot({o:!1}
9),r=(a,u)=>{if(a){const i=c(s(a)),[,f]=i;return f&&!u&&e(i)&&[i]}},l=(a,u)=>r(u.pop(),a);return[()=>{const a=[];if(Pn)n=new Pn(k(l,!1),{root:t}),n.observe(o),J(a,()=>{n.disconnect()});else{const u=()=>{const i=ae(o);r(i)};J(a,Hs(o,u)()),u()}return k(wt,J(a,St(t,o)))},()=>n&&l(!0,n.takeRecords())]},zo=(t,e,n,s)=>{let o,c,r,l,a;const{V:u}=ht(),i="[".concat(yt,"]"),f="[".concat(Vt,"]"),d=["tabindex"],H=["wrap","cols","rows"],v=["id","class","style","open"],x={yt:!1,F:te(t.Ot)},{Ot:L,D:R,$t:m,xt:D,U:C,Ct:N,Ht:z}=t,I=ht(),F=Yt(Fe),[_]=Ot({u:as,o:{w:0,h:0}},()=>{const P=F&&F.L(t,e,x,I,n).K,M=N(ee),p=!C&&N(ro),h=p&&se(R);z(ee),C&&z(un,!0);const g=p&&P&&P()[0],w=rn(m),E=rn(R),j=Le(R);return z(ee,M),C&&z(un),g&&g(),Bt(R,h),{w:E.w+w.w+j.w,h:E.h+w.h+j.h}}),O=D?H:Ht(v,H),b=fs(s,{v:()=>o,p:()=>c,S(P,M){const[p]=P,[h]=M;return[Ht(Dt(p),Dt(h)).reduce((g,w)=>(g[w]=p[w]||h[w],g),{})]}}),S=P=>{q(P||d,M=>{if(Re(d,M)){const p=pt(L,M);Pe(p)?pt(R,M,p):dt(R,M)}})},T=(P,M)=>{const[p,h]=P,g={zt:h};return X(x,{yt:p}),!M&&s(g),g},y=({St:P,wt:M,bt:p})=>{const g=!(P&&!p&&!M)&&u?b:s,[w,E]=M||[];M&&X(x,{F:w}),g({St:P||p,bt:p,It:E})},$=(P,M)=>{const[,p]=_(),h={At:p};return p&&!M&&(P?s:b)(h),h},Y=(P,M,p)=>{const h={Et:M};return M&&!p?b(h):C||S(P),h},{N:U,ot:V}=I,[K,tt]=m||!U?Mo(L,T):[],et=!C&&Hs(L,y,{bt:!0,gt:!0}),[nt,A]=qn(L,!1,Y,{ft:v,ut:Ht(v,d)}),Z=C&&Ee&&new Ee(P=>{const M=P[P.length-1].contentRect;y({St:!0,bt:gs(M,a)}),a=M});return[()=>{S(),Z&&Z.observe(L);const P=et&&et(),M=K&&K(),p=nt(),h=V(g=>{const[,w]=_();b({Tt:g,At:w})});return()=>{Z&&Z.disconnect(),P&&P(),M&&M(),l&&l(),p(),h()}},({Dt:P,kt:M,Mt:p})=>{const h={},[g]=P("update.ignoreMutation"),[w,E]=P("update.attributes"),[j,B]=P("update.elementEvents"),[G,W]=P("update.debounce"),rt=B||E,it=M||p,Q=st=>At(g)&&g(st);if(rt){r&&r(),l&&l();const[st,at]=qn(m||R,!0,$,{ut:Ht(O,w||[]),_t:j,dt:i,ht:(gt,kt)=>{const{target:xt,attributeName:ct}=gt;return(!kt&&ct&&!C?js(xt,i,f):!1)||!!Qt(xt,".".concat(bt))||!!Q(gt)}});l=st(),r=at}if(W)if(b.m(),Pt(G)){const st=G[0],at=G[1];o=Tt(st)&&st,c=Tt(at)&&at}else Tt(G)?(o=G,c=!1):(o=!1,c=!1);if(it){const st=A(),at=tt&&tt(),gt=r&&r();st&&X(h,Y(st[0],st[1],it)),at&&X(h,T(at[0],it)),gt&&X(h,$(gt[0],it))}return h},x]},hn=(t,e,n)=>Se(t,_s(e,n)),_o=(t,e,n)=>{const s=fe(e),[o,c]=to(s,n),r=(c-t)/c,l=t/o,a=t/c,u=n?n.n?r:n.i?l:a:a;return hn(0,1,u)},Rs=(t,e,n)=>{if(n){const a=e?Xt:It,{Rt:u,Vt:i}=n,f=Lt(i)[a],d=Lt(u)[a];return hn(0,1,f/d)}const s=e?"x":"y",{Pt:o,Lt:c}=t,r=c[s],l=o[s];return hn(0,1,r/(r+l))},Kn=(t,e,n,s)=>{const o=Rs(t,s,e);return 1/o*(1-o)*n},No=(t,e,n,s)=>{const{st:o,P:c}=ht(),{scrollbars:r}=o(),{slot:l}=r,{Ut:a,Ot:u,D:i,Bt:f,Nt:d,jt:H,U:v}=e,{scrollbars:x}=f?{}:t,{slot:L}=x||{},R=new Map,m=p=>on&&new on({source:d,axis:p}),D=m("x"),C=m("y"),N=Ps([a,u,i],()=>v&&H?a:u,l,L),z=p=>v&&!H&&jt(p)===i,I=(p,h,g)=>{const w=.5*(g?1:-1),E=h&&g?-1:1;return{transform:[Zt(le(0+w),h),Zt(le(p*E+w),h)]}},F=(p,h)=>X(p,h?{clear:["left"]}:{}),_=p=>{R.forEach((h,g)=>{(p?Re(Jn(p),g):!0)&&(q(h||[],E=>{E&&E.cancel()}),R.delete(g))})},O=(p,h,g,w)=>{const E=R.get(p)||[],j=E.find(B=>B&&B.timeline===h);j?j.effect=new KeyframeEffect(p,g,{composite:w}):R.set(p,Ht(E,[p.animate(g,{timeline:h,composite:w})]))},b=(p,h,g)=>{const w=g?qt:mn;q(p,E=>{w(E.Gt,h)})},S=(p,h)=>{q(p,g=>{const[w,E]=h(g);Ft(w,E)})},T=(p,h)=>{S(p,g=>{const{Vt:w}=g;return[w,{[h?Xt:It]:me(Rs(n,h))}]})},y=(p,h)=>{D&&C?q(p,g=>{const{Gt:w,Vt:E}=g,j=k(Kn,n,g),B=h&&te(w),G=j(B?1:0,h),W=j(B?0:1,h);O(E,h?D:C,F({transform:[Zt(me(G),h),Zt(me(W),h)]},B))}):S(p,g=>{const{Vt:w,Gt:E}=g,{nt:j}=ht(),B=h?"x":"y",{Pt:G}=n,W=te(E),rt=Kn(n,g,_o(se(d)[B],G[B],h&&W&&j),h);return[w,{transform:Zt(me(rt),h)}]})},$=p=>{const{Gt:h}=p,g=z(h)&&h,{x:w,y:E}=se(d);return[g,{transform:g?Zt({x:le(w),y:le(E)}):""}]},Y=[],U=[],V=[],K=(p,h,g)=>{const w=Yn(g),E=w?g:!0,j=w?!g:!0;E&&b(U,p,h),j&&b(V,p,h)},tt=()=>{T(U,!0),T(V)},et=()=>{y(U,!0),y(V)},nt=()=>{if(v)if(D&&C){const{Pt:p}=n,h=!!U.find(({Gt:w})=>te(w)),g=(w,E,j,B,G)=>O(w,E,F(I(j,B,G),h),"add");q(Ht(V,U),({Gt:w})=>{z(w)?(g(w,D,p.x,!0,h),g(w,C,p.y)):_(w)})}else S(U,$),S(V,$)},A=p=>{const h=p?bo:go,g=p?U:V,w=$e(g)?Fn:"",E=Gt("".concat(bt," ").concat(h," ").concat(w)),j=Gt(Es),B=Gt(xn),G={Gt:E,Rt:j,Vt:B};return c||qt(E,fo),J(g,G),J(Y,[St(E,j),St(j,B),k(Rt,E),_,s(G,K,y,p)]),G},Z=k(A,!0),P=k(A,!1),M=()=>(St(N,U[0].Gt),St(N,V[0].Gt),Oe(()=>{K(Fn)},300),k(wt,Y));return Z(),P(),[{qt:tt,Ft:et,Wt:nt,Xt:K,Yt:{tt:D,Kt:U,Jt:Z,Zt:k(S,U)},Qt:{tt:C,Kt:V,Jt:P,Zt:k(S,V)}},M]},Vo=(t,e,n)=>{const{Ot:s,Nt:o,tn:c}=e;return(r,l,a,u)=>{const{Gt:i,Rt:f,Vt:d}=r,[H,v]=Nt(333),[x,L]=Nt(),R=k(a,[r],u),m=!!o.scrollBy,D="client".concat(u?"X":"Y"),C=u?Xt:It,N=u?"left"
9:"top",z=u?"w":"h",I=u?"x":"y",F=b=>b.propertyName.indexOf(C)>-1,_=()=>{const b="pointerup pointerleave pointercancel lostpointercapture",S=(T,y)=>$=>{const{Pt:Y}=n,U=ae(f)[z]-ae(d)[z],K=y*$/U*Y[I];Bt(o,{[I]:T+K})};return ot(f,"pointerdown",T=>{const y=Qt(T.target,".".concat(xn))===d,$=y?d:f,Y=t.scrollbars,{button:U,isPrimary:V,pointerType:K}=T,{pointers:tt}=Y;if(U===0&&V&&Y[y?"dragScroll":"clickScroll"]&&(tt||[]).includes(K)){const nt=!y&&T.shiftKey,A=k(Lt,d),Z=k(Lt,f),P=(Q,st)=>(Q||A())[N]-(st||Z())[N],M=fe(Lt(o)[C])/ae(o)[z]||1,p=S(se(o)[I]||0,1/M),h=T[D],g=A(),w=Z(),E=g[C],j=P(g,w)+E/2,B=h-w[N],G=y?0:B-j,W=Q=>{wt(it),$.releasePointerCapture(Q.pointerId)},it=[de(s,yt,oo),ot(c,b,W),ot(c,"selectstart",Q=>In(Q),{H:!1}),ot(f,b,W),ot(f,"pointermove",Q=>{const st=Q[D]-h;(y||nt)&&p(G+st)})];if($.setPointerCapture(T.pointerId),nt)p(G);else if(!y){const Q=Yt(Eo);Q&&J(it,Q(p,P,G,E,B))}}})};let O=!0;return k(wt,[ot(i,"pointerenter",()=>{l(jn,!0)}),ot(i,"pointerleave pointercancel",()=>{l(jn,!1)}),ot(i,"wheel",b=>{const{deltaX:S,deltaY:T,deltaMode:y}=b;m&&O&&y===0&&jt(i)===s&&o.scrollBy({left:S,top:T,behavior:"smooth"}),O=!1,l(Gn,!0),H(()=>{O=!0,l(Gn)}),In(b)},{H:!1,I:!0}),ot(d,"transitionstart",b=>{if(F(b)){const S=()=>{R(),x(S)};S()}}),ot(d,"transitionend transitioncancel",b=>{F(b)&&(L(),R())}),ot(i,"mousedown",k(ot,c,"click",ms,{A:!0,I:!0}),{I:!0}),_(),v,L])}},Fo=(t,e,n,s,o,c)=>{let r,l,a,u,i,f=Ct,d=0;const[H,v]=Nt(),[x,L]=Nt(),[R,m]=Nt(100),[D,C]=Nt(100),[N,z]=Nt(100),[I,F]=Nt(()=>d),[_,O]=No(t,o,s,Vo(e,o,s)),{Ot:b,nn:S,jt:T}=o,{Xt:y,qt:$,Ft:Y,Wt:U}=_,V=A=>{y(dn,A,!0),y(dn,A,!1)},K=(A,Z)=>{if(F(),A)y(Un);else{const P=k(y,Un,!0);d>0&&!Z?I(P):P()}},tt=A=>A.pointerType==="mouse",et=A=>{tt(A)&&(u=l,u&&K(!0))},nt=[m,F,C,z,L,v,()=>f(),ot(b,"pointerover",et,{A:!0}),ot(b,"pointerenter",et),ot(b,"pointerleave",A=>{tt(A)&&(u=!1,l&&K(!1))}),ot(b,"pointermove",A=>{tt(A)&&r&&H(()=>{m(),K(!0),D(()=>{r&&K(!1)})})}),ot(S,"scroll",A=>{x(()=>{Y(),a&&K(!0),R(()=>{a&&!u&&K(!1)})}),c(A),U()})];return[()=>k(wt,J(nt,O())),({Dt:A,Mt:Z,sn:P,en:M})=>{const{cn:p,rn:h,ln:g}=M||{},{It:w,bt:E}=P||{},{F:j}=n,{T:B}=ht(),{Pt:G,k:W,an:rt}=s,[it,Q]=A("showNativeOverlaidScrollbars"),[st,at]=A("scrollbars.theme"),[gt,kt]=A("scrollbars.visibility"),[xt,ct]=A("scrollbars.autoHide"),[lt,ut]=A("scrollbars.autoHideSuspend"),[Ut]=A("scrollbars.autoHideDelay"),[Jt,je]=A("scrollbars.dragScroll"),[Be,Ue]=A("scrollbars.clickScroll"),Et=E&&!Z,he=rt.x||rt.y,Cn=p||h||w||Z,Ge=g||kt,We=it&&B.x&&B.y,ft=(mt,$t)=>{const zt=gt==="visible"||gt==="auto"&&mt==="scroll";return y(vo,zt,$t),zt};if(d=Ut,Et&&(lt&&he?(V(!1),f(),N(()=>{f=ot(S,"scroll",k(V,!0),{A:!0})})):V(!0)),Q&&y(po,We),at&&(y(i),y(st,!0),i=st),ut&&!lt&&V(!0),ct&&(r=xt==="move",l=xt==="leave",a=xt!=="never",K(!a,!0)),je&&y(So,Jt),Ue&&y(yo,Be),Ge){const mt=ft(W.x,!0),$t=ft(W.y,!1);y(mo,!(mt&&$t))}Cn&&($(),Y(),U(),y(Bn,!G.x,!0),y(Bn,!G.y,!1),y(ho,j&&!T))},{},_]},jo=t=>{const e=ht(),{st:n,V:s}=e,o=Yt(Fe),c=o&&o.R,{elements:r}=n(),{host:l,padding:a,viewport:u,content:i}=r,f=ie(t),d=f?{}:t,{elements:H}=d,{host:v,padding:x,viewport:L,content:R}=H||{},m=f?t:d.target,D=Ce(m,"textarea"),C=m.ownerDocument,N=C.documentElement,z=m===C.body,I=C.defaultView,F=k(ko,[m]),_=k(Ps,[m]),O=k($n,[m]),b=k(Gt,""),S=k(F,b,u),T=k(_,b,i),y=S(L),$=y===m,Y=$&&z,U=!$&&T(R),V=!$&&ie(y)&&y===U,K=V&&!!O(i),tt=K?S():y,et=K?U:T(),A=Y?N:V?tt:y,Z=D?F(b,l,v):m,P=Y?A:Z,M=V?et:U,p=C.activeElement,h=!$&&I.top===I&&p===m,g={Ut:m,Ot:P,D:A,un:!$&&_(b,a,x),$t:M,B:!$&&!s&&c&&c(e),Nt:Y?N:A,nn:Y?C:A,fn:z?N:m,_n:I,tn:C,xt:D,jt:z,Bt:f,U:$,dn:V,Ct:ct=>Vs(A,$?yt:Vt,ct),Ht:(ct,lt)=>we(A,$?yt:Vt,ct,lt)},w=Dt(g).reduce((ct,lt)=>{const ut=g[lt];return J(ct,ut&&ie(ut)&&!jt(ut)?ut:!1)},[]),E=ct=>ct?Re(w,ct):null,{Ut:j,Ot:B,un:G,D:W,$t:rt,B:it}=g,Q=[()=>{dt(B,yt),dt(B,Ze),dt(j,Ze),z&&(dt(N,yt),dt(N,Ze))}],st=D&&E(B);let at=D?j:nn([rt,W,G,B,j].find(ct=>E(ct)===!1));const gt=Y?j:rt||W,kt=k(wt,Q);return[g,()=>{pt(B,yt,$?"viewport":"host"),pt(G,fn,""),pt(rt,Vn,""),$||(pt(W,Vt,""),z&&de(N,yt,co));const ct=lt=>{St(jt(lt),nn(lt)),Rt(lt)};if(st&&(An(j,B),J(Q,()=>{An(B,j),Rt(B)}
9)),St(gt,at),St(B,G),St(G||B,!$&&W),St(W,rt),J(Q,()=>{dt(G,fn),dt(rt,Vn),dt(W,xs),dt(W,$s),dt(W,Vt),E(rt)&&ct(rt),E(W)&&ct(W),E(G)&&ct(G)}),s&&!$&&(de(W,Vt,Cs),J(Q,k(dt,W,Vt))),it&&(Bs(W,it),J(Q,k(Rt,it))),h){const lt="tabindex",ut=pt(W,lt);pt(W,lt,"-1"),W.focus();const Ut=()=>ut?pt(W,lt,ut):dt(W,lt),Jt=ot(C,"pointerdown keydown",()=>{Ut(),Jt()});J(Q,[Ut,Jt])}else p&&p.focus&&p.focus();return at=0,kt},kt]},Bo=({$t:t})=>({sn:e,vn:n,Mt:s})=>{const{N:o}=ht(),{zt:c}=e||{},{yt:r}=n;(t||!o)&&(c||s)&&Ft(t,{[It]:r&&"100%"})},Uo=({Ot:t,un:e,D:n,U:s},o)=>{const[c,r]=Ot({u:Ns,o:Hn()},k(Hn,t,"padding",""));return({Dt:l,sn:a,vn:u,Mt:i})=>{let[f,d]=r(i);const{V:H,N:v}=ht(),{St:x,At:L,It:R}=a||{},{F:m}=u,[D,C]=l("paddingAbsolute");(x||d||(i||!v&&L))&&([f,d]=c(i));const z=!s&&(C||R||d);if(z){const I=!D||!e&&!H,F=f.r+f.l,_=f.t+f.b,O={[rs]:I&&!m?-F:0,[ls]:I?-_:0,[cs]:I&&m?-F:0,top:I?-f.t:0,right:I?m?-f.r:"auto":0,left:I?m?"auto":-f.l:0,[Xt]:I&&"calc(100% + ".concat(F,"px)")},b={[es]:I?f.t:0,[ns]:I?f.r:0,[os]:I?f.b:0,[ss]:I?f.l:0};Ft(e||n,O),Ft(n,b),X(o,{un:f,hn:!I,W:e?b:X({},O,b)})}return{pn:z}}},Go=(t,e)=>{const n=ht(),{Ot:s,un:o,D:c,U:r,Ht:l,jt:a,_n:u}=t,{N:i,V:f,T:d}=n,H=a&&r,v=k(Se,0),x={u:as,o:{w:0,h:0}},L={u:us,o:{x:ne,y:ne}},R=(S,T)=>{const y=vt.devicePixelRatio%1!==0?1:0,$={w:v(S.w-T.w),h:v(S.h-T.h)};return{w:$.w>y?$.w:0,h:$.h>y?$.h:0}},[m,D]=Ot(x,k(Le,c)),[C,N]=Ot(x,k(rn,c)),[z,I]=Ot(x),[F,_]=Ot(x),[O]=Ot(L),b=Yt(Fe);return({Dt:S,sn:T,vn:y,Mt:$},{pn:Y})=>{const{St:U,Et:V,At:K,zt:tt,It:et,Tt:nt}=T||{},{yt:A}=y,Z=b&&b.L(t,e,y,n,S),{Y:P,K:M,J:p,X:h}=Z||{},g=(ft,mt)=>{if(Ft(c,{[It]:""}),mt){const{hn:$t,un:zt}=e,{M:_t}=ft,qe=Le(s),ce=cn(s),re=Mt(c,"boxSizing")==="content-box",be=$t||re?zt.b+zt.t:0,ge=!(d.x&&re);Ft(c,{[It]:ce.h+qe.h+(_t.x&&ge&&h?h(ft).G.x:0)-be})}},[w,E]=Oo(S,n),[j,B]=S("overflow"),G=!r&&!i&&(U||K||V||E||tt),W=U||Y||K||et||nt||E,rt=Te(j.x),it=Te(j.y),Q=rt||it;let st=D($),at=N($),gt=I($),kt=_($),xt;if(E&&f&&l(Cs,!w),G&&(xt=pn(t),g(xt,A)),W){Q&&l(ee,!1);const[ft,mt]=M?M(xt):[],[$t,zt]=st=m($),[_t,qe]=at=C($),ce=cn(c),re=_t,be=ce;ft&&ft(),(qe||zt||E)&&mt&&!w&&P&&P(mt,_t,$t);const ge=Js(u),Ds={w:v(Se(_t.w,re.w)+$t.w),h:v(Se(_t.h,re.h)+$t.h)},En={w:v((H?ge.w:be.w+v(ce.w-_t.w))+$t.w),h:v((H?ge.h:be.h+v(ce.h-_t.h))+$t.h)};kt=F(En),gt=z(R(Ds,En),$)}const[ct,lt]=kt,[ut,Ut]=gt,[Jt,je]=at,[Be,Ue]=st,Et={x:ut.w>0,y:ut.h>0},he=rt&&it&&(Et.x||Et.y)||rt&&Et.x&&!Et.y||it&&Et.y&&!Et.x;if(Y||et||nt||Ue||je||lt||Ut||B||E||G||W){const ft={},mt=Co(t,Et,j,ft);p&&p(mt,y,!!P&&P(mt,Jt,Be),ft),G&&g(mt,A),r?(pt(s,xs,ft[Ie]),pt(s,$s,ft[Me])):Ft(c,ft)}we(s,yt,Os,he),we(o,fn,lo,he),r||we(c,Vt,ee,Q);const[Ge,We]=O(pn(t).k);return X(e,{k:Ge,Lt:{x:ct.w,y:ct.h},Pt:{x:ut.w,y:ut.h},an:Et}),{ln:We,cn:lt,rn:Ut}}},Wo=t=>{const[e,n,s]=jo(t),o={un:{t:0,r:0,b:0,l:0},hn:!1,W:{[rs]:0,[ls]:0,[cs]:0,[es]:0,[ns]:0,[os]:0,[ss]:0},Lt:{x:0,y:0},Pt:{x:0,y:0},k:{x:ne,y:ne},an:{x:!1,y:!1}},{Ut:c,D:r,U:l}=e,{V:a,T:u,N:i}=ht(),f=!a&&(u.x||u.y),d=[Bo(e),Uo(e,o),Go(e,o)];return[n,H=>{const v={},L=(f||!i)&&se(r),R=l?de(r,yt,un):Ct;return q(d,m=>{X(v,m(H,v)||{})}),R(),Bt(r,L),!l&&Bt(c,0),v},o,e,s]},qo=(t,e,n,s)=>{const o=Nn(e,{}),[c,r,l,a,u]=Wo(t),[i,f,d]=zo(a,l,o,m=>{R({},m)}),[H,v,,x]=Fo(t,e,d,l,a,s),L=m=>Dt(m).some(D=>!!m[D]),R=(m,D)=>{const{gn:C,Mt:N,kt:z,bn:I}=m,F=C||{},_=!!N,O={Dt:Nn(e,F,_),gn:F,Mt:_};if(I)return v(O),!1;const b=D||f(X({},O,{kt:z})),S=r(X({},O,{vn:d,sn:b}));v(X({},O,{sn:b,en:S}));const T=L(b),y=L(S),$=T||y||!gn(F)||_;return $&&n(m,{sn:b,en:S}),$};return[()=>{const{fn:m,D}=a,C=se(m),N=[i(),c(),H()];return Bt(D,C),k(wt,N)},R,()=>({wn:d,Sn:l}),{yn:a,mn:x},u]},oe=(t,e,n)=>{const{ct:s}=ht(),o=ie(t),c=o?t:t.target,r=ks(c);if(e&&!r){let l=!1;const a=[],u={},i=O=>{const b=Zn(O),S=Yt(xo);return S?S(b,!0):b},f=X({},s(),i(e)),[d,H,v]=an(),[x,L,R]=an(n),m=(O,b)=>{R(O,b),v(O,b)},[D,C,N,z,I]=qo(t,f,({gn:O,Mt:b},{sn:S,en:T})=>{const{St:y,It:$,zt:Y,At:U,Et:V,bt:K}=S,{cn:tt,rn:et,ln:nt}=T;m("updated",[_,{updateHints:{sizeChanged:!!y,directionChanged:!!$,heightIntrinsicChanged:!!Y,overflowEdgeChanged:!!tt,overflowAmountChanged:!!et,overflowStyleChanged:!!nt,contentMutation:!!U,hostMutation:!!V,appear:!!K},changedOptions:O||{},force:!!b}])},O=>m("scroll",[_,O])),F=O=>{Do(c),wt(a),l=!0,m("destroyed",[_,O]),H(),L()},_={options(O,b){if(O){const S=b?s():{},T=Ss(f,X(S,i(O)));gn(T)||(X(f,T),C({gn:T}))}return X({},f)},on:x,off:(O,b)=>{O&&b&&L(O,b)},state(){const{wn:O,Sn:b}=N(),{F:S}=O,{Lt:T,Pt:y,k:$,an:Y,un:U,hn:V}=b;return X({},{overflowEdge:T,overflowAmount:y,overflowStyle:$,hasOverflow:Y,padding:U,paddingAbsolute:V,directionRTL:S,destroyed:l})},elements(){const{Ut:O,Ot:b,un:S,D:T,$t:y,Nt:$,nn:Y}=z.yn,{Yt:U,Qt:V}=z.mn,K=et=>{const{Vt:nt,Rt:A,Gt:Z}=et;return{scrollbar:Z,track:A,handle:nt}},tt=et=>{const{Kt:nt,Jt:A}=et,Z=K(nt[0]);return X({},Z,{clone:()=>{const P=K(A());return C({bn:!0}),P}})};return X({},{target:O,host:b,padding:S||T,viewport:T,content:y||T,scrollOffsetElement:$,scrollEventElement:Y,scrollbarHorizontal:tt(U),scrollbarVertical:tt(V)})},update:O=>C({Mt:O,kt:!0}),destroy:k(F,!1),plugin:O=>u[Dt(O)[0]]};return J(a,[I]),Ro(c,_),As(Ls,oe,[_,d,u]),Ho(z.yn.jt,!o&&t.cancel)?(F(!0),_):(J(a,D()),m("initialized",[_]),_.update(!0),_)}return r};oe.plugin=t=>{const e=Pt(t),n=e?t:[t],s=n.map(o=>As(o,oe)[0]);return wo(n),e?s:s[0]};oe.valid=t=>
9{const e=t&&t.elements,n=At(e)&&e();return xe(n)&&!!ks(n.target)};oe.env=()=>{const{j:t,T:e,V:n,nt:s,N:o,P:c,tt:r,lt:l,it:a,st:u,et:i,ct:f,rt:d}=ht();return X({},{scrollbarsSize:t,scrollbarsOverlaid:e,scrollbarsHiding:n,rtlScrollBehavior:s,flexboxGlue:o,cssCustomProperties:c,scrollTimeline:r,staticDefaultInitialization:l,staticDefaultOptions:a,getDefaultInitialization:u,setDefaultInitialization:i,getDefaultOptions:f,setDefaultOptions:d})};const Ko=()=>({cfg:{name:"e-slider",selectors:{slider:".js-slider",track:".js-track",buttonLeft:".js-buttonLeft",buttonRight:".js-buttonRight"},classes:{show:"!opacity-100 !pointer-events-auto"},el:{$slider:null,$track:null,$buttonLeft:null,$buttonRight:null}},osInstance:null,setElements(t){this.cfg.el.$slider=t,this.cfg.el.$track=t.querySelector(this.cfg.selectors.track),this.cfg.el.$buttonLeft=t.querySelector(this.cfg.selectors.buttonLeft),this.cfg.el.$buttonRight=t.querySelector(this.cfg.selectors.buttonRight)},setupSlider(){const t={scrollbars:{theme:"os-theme-muenzer"}};this.osInstance=oe(this.cfg.el.$track,t,{scroll:()=>{this.updateButtonVisibility()}}),this.cfg.el.$buttonLeft.addEventListener("click",()=>this.scroll("left")),this.cfg.el.$buttonRight.addEventListener("click",()=>this.scroll("right"))},updateButtonVisibility(){const{viewport:t}=this.osInstance.elements(),{scrollLeft:e}=t,n=e===0,s=t.scrollLeft>=t.scrollWidth-t.clientWidth;n?(this.cfg.el.$buttonLeft.classList.remove(...this.cfg.classes.show.split(" ")),setTimeout(()=>{this.cfg.el.$buttonLeft.style.display="none"},300)):(this.cfg.el.$buttonLeft.classList.add(...this.cfg.classes.show.split(" ")),this.cfg.el.$buttonLeft.style.display="block"),s?(this.cfg.el.$buttonRight.classList.remove(...this.cfg.classes.show.split(" ")),setTimeout(()=>{this.cfg.el.$buttonRight.style.display="none"},300)):(this.cfg.el.$buttonRight.classList.add(...this.cfg.classes.show.split(" ")),this.cfg.el.$buttonRight.style.display="block")},scroll(t){const{viewport:e}=this.osInstance.elements(),n=t==="left"?-1*e.clientWidth:e.clientWidth;e.scrollTo({left:e.scrollLeft+n,behavior:"smooth"})},init(t){var e;(e=this.setElements)==null||e.call(this,t),this.setupSlider(),this.updateButtonVisibility()}}),Xo={init(t){Ko().init(t)}};export{Xo as default};
10//# sourceMappingURL=slider-C_cwrpND.js.map

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.