@slidejs/runner-swiper 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,19 +1,19 @@
1
1
 
2
- > @slidejs/runner-swiper@0.1.4 build /Volumes/ORICO/ws/prj/slidejs/slidejs/packages/@slidejs/runner-swiper
2
+ > @slidejs/runner-swiper@0.1.5 build /Volumes/ORICO/ws/prj/slidejs/slidejs/packages/@slidejs/runner-swiper
3
3
  > vite build
4
4
 
5
5
  vite v7.3.1 building client environment for production...
6
6
  transforming...
7
- 39 modules transformed.
7
+ 37 modules transformed.
8
8
  rendering chunks...
9
9
 
10
10
  [vite:dts] Start generate declaration files...
11
11
  computing gzip size...
12
- dist/index.mjs 47.91 kB │ gzip: 13.44 kB │ map: 97.17 kB
12
+ dist/index.mjs 52.55 kB │ gzip: 14.21 kB │ map: 96.33 kB
13
13
  [vite:dts] Start rollup declaration files...
14
14
  Analysis will use the bundled TypeScript version 5.8.2
15
15
  *** The target project appears to use TypeScript 5.9.3 which is newer than the bundled compiler engine; consider upgrading API Extractor.
16
- [vite:dts] Declaration files built in 7159ms.
16
+ [vite:dts] Declaration files built in 5330ms.
17
17
 
18
- dist/index.cjs 38.63 kB │ gzip: 11.65 kB │ map: 93.90 kB
19
- ✓ built in 8.62s
18
+ dist/index.cjs 43.24 kB │ gzip: 12.32 kB │ map: 93.09 kB
19
+ ✓ built in 6.15s
package/dist/index.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const F=require("swiper"),I=require("@slidejs/dsl"),K=require("@slidejs/runner");function T(a){return a!==null&&typeof a=="object"&&"constructor"in a&&a.constructor===Object}function G(a,e){a===void 0&&(a={}),e===void 0&&(e={});const r=["__proto__","constructor","prototype"];Object.keys(e).filter(t=>r.indexOf(t)<0).forEach(t=>{typeof a[t]>"u"?a[t]=e[t]:T(e[t])&&T(a[t])&&Object.keys(e[t]).length>0&&G(a[t],e[t])})}const q={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 W(){const a=typeof document<"u"?document:{};return G(a,q),a}const J={document:q,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(a){return typeof setTimeout>"u"?(a(),null):setTimeout(a,0)},cancelAnimationFrame(a){typeof setTimeout>"u"||clearTimeout(a)}};function H(){const a=typeof window<"u"?window:{};return G(a,J),a}function X(a){return a===void 0&&(a=""),a.trim().split(" ").filter(e=>!!e.trim())}function _(a,e){e===void 0&&(e="");const r=H(),t=[...a.children];return r.HTMLSlotElement&&a instanceof HTMLSlotElement&&t.push(...a.assignedElements()),e?t.filter(l=>l.matches(e)):t}function ee(a,e){e===void 0&&(e=[]);const r=document.createElement(a);return r.classList.add(...Array.isArray(e)?e:X(e)),r}function ie(a){const e=H(),r=W(),t=a.getBoundingClientRect(),l=r.body,s=a.clientTop||l.clientTop||0,y=a.clientLeft||l.clientLeft||0,h=a===e?e.scrollY:a.scrollTop,g=a===e?e.scrollX:a.scrollLeft;return{top:t.top+h-s,left:t.left+g-y}}function O(a){let e=a,r;if(e){for(r=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(r+=1);return r}}function N(a,e){const r=[];let t=a.parentElement;for(;t;)e?t.matches(e)&&r.push(t):r.push(t),t=t.parentElement;return r}function te(a,e,r){const t=H();return a[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(t.getComputedStyle(a,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(t.getComputedStyle(a,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom"))}function E(a){return(Array.isArray(a)?a:[a]).filter(e=>!!e)}function $(a,e){e===void 0&&(e=""),typeof trustedTypes<"u"?a.innerHTML=trustedTypes.createPolicy("html",{createHTML:r=>r}).createHTML(e):a.innerHTML=e}function Q(a){let{swiper:e,extendParams:r,on:t,emit:l}=a;const s=W(),y=H();e.keyboard={enabled:!1},r({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}});function h(z){if(!e.enabled)return;const{rtlTranslate:L}=e;let m=z;m.originalEvent&&(m=m.originalEvent);const w=m.keyCode||m.charCode,c=e.params.keyboard.pageUpDown,p=c&&w===33,u=c&&w===34,f=w===37,i=w===39,n=w===38,o=w===40;if(!e.allowSlideNext&&(e.isHorizontal()&&i||e.isVertical()&&o||u)||!e.allowSlidePrev&&(e.isHorizontal()&&f||e.isVertical()&&n||p))return!1;if(!(m.shiftKey||m.altKey||m.ctrlKey||m.metaKey)&&!(s.activeElement&&(s.activeElement.isContentEditable||s.activeElement.nodeName&&(s.activeElement.nodeName.toLowerCase()==="input"||s.activeElement.nodeName.toLowerCase()==="textarea")))){if(e.params.keyboard.onlyInViewport&&(p||u||f||i||n||o)){let d=!1;if(N(e.el,`.${e.params.slideClass}, swiper-slide`).length>0&&N(e.el,`.${e.params.slideActiveClass}`).length===0)return;const x=e.el,M=x.clientWidth,Y=x.clientHeight,b=y.innerWidth,S=y.innerHeight,A=ie(x);L&&(A.left-=x.scrollLeft);const D=[[A.left,A.top],[A.left+M,A.top],[A.left,A.top+Y],[A.left+M,A.top+Y]];for(let C=0;C<D.length;C+=1){const v=D[C];if(v[0]>=0&&v[0]<=b&&v[1]>=0&&v[1]<=S){if(v[0]===0&&v[1]===0)continue;d=!0}}if(!d)return}e.isHorizontal()?((p||u||f||i)&&(m.preventDefault?m.preventDefault():m.returnValue=!1),((u||i)&&!L||(p||f)&&L)&&e.slideNext(),((p||f)&&!L||(u||i)&&L)&&e.slidePrev()):((p||u||n||o)&&(m.preventDefault?m.preventDefault():m.returnValue=!1),(u||o)&&e.slideNext(),(p||n)&&e.slidePrev()),l("keyPress",w)}}function g(){e.keyboard.enabled||(s.addEventListener("keydown",h),e.keyboard.enabled=!0)}function k(){e.keyboard.enabled&&(s.removeEventListener("keydown",h),e.keyboard.enabled=!1)}t("init",()=>{e.params.keyboard.enabled&&g()}),t("destroy",()=>{e.keyboard.enabled&&k()}),Object.assign(e.keyboard,{enable:g,disable:k})}function R(a,e,r,t){return a.params.createElements&&Object.keys(t).forEach(l=>{if(!r[l]&&r.auto===!0){let s=_(a.el,`.${t[l]}`)[0];s||(s=ee("div",t[l]),s.className=t[l],a.el.append(s)),r[l]=s,e[l]=s}}),r}function Z(a){let{swiper:e,extendParams:r,on:t,emit:l}=a;r({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null};function s(c){let p;return c&&typeof c=="string"&&e.isElement&&(p=e.el.querySelector(c)||e.hostEl.querySelector(c),p)?p:(c&&(typeof c=="string"&&(p=[...document.querySelectorAll(c)]),e.params.uniqueNavElements&&typeof c=="string"&&p&&p.length>1&&e.el.querySelectorAll(c).length===1?p=e.el.querySelector(c):p&&p.length===1&&(p=p[0])),c&&!p?c:p)}function y(c,p){const u=e.params.navigation;c=E(c),c.forEach(f=>{f&&(f.classList[p?"add":"remove"](...u.disabledClass.split(" ")),f.tagName==="BUTTON"&&(f.disabled=p),e.params.watchOverflow&&e.enabled&&f.classList[e.isLocked?"add":"remove"](u.lockClass))})}function h(){const{nextEl:c,prevEl:p}=e.navigation;if(e.params.loop){y(p,!1),y(c,!1);return}y(p,e.isBeginning&&!e.params.rewind),y(c,e.isEnd&&!e.params.rewind)}function g(c){c.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),l("navigationPrev"))}function k(c){c.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),l("navigationNext"))}function z(){const c=e.params.navigation;if(e.params.navigation=R(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(c.nextEl||c.prevEl))return;let p=s(c.nextEl),u=s(c.prevEl);Object.assign(e.navigation,{nextEl:p,prevEl:u}),p=E(p),u=E(u);const f=(i,n)=>{i&&i.addEventListener("click",n==="next"?k:g),!e.enabled&&i&&i.classList.add(...c.lockClass.split(" "))};p.forEach(i=>f(i,"next")),u.forEach(i=>f(i,"prev"))}function L(){let{nextEl:c,prevEl:p}=e.navigation;c=E(c),p=E(p);const u=(f,i)=>{f.removeEventListener("click",i==="next"?k:g),f.classList.remove(...e.params.navigation.disabledClass.split(" "))};c.forEach(f=>u(f,"next")),p.forEach(f=>u(f,"prev"))}t("init",()=>{e.params.navigation.enabled===!1?w():(z(),h())}),t("toEdge fromEdge lock unlock",()=>{h()}),t("destroy",()=>{L()}),t("enable disable",()=>{let{nextEl:c,prevEl:p}=e.navigation;if(c=E(c),p=E(p),e.enabled){h();return}[...c,...p].filter(u=>!!u).forEach(u=>u.classList.add(e.params.navigation.lockClass))}),t("click",(c,p)=>{let{nextEl:u,prevEl:f}=e.navigation;u=E(u),f=E(f);const i=p.target;let n=f.includes(i)||u.includes(i);if(e.isElement&&!n){const o=p.path||p.composedPath&&p.composedPath();o&&(n=o.find(d=>u.includes(d)||f.includes(d)))}if(e.params.navigation.hideOnClick&&!n){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===i||e.pagination.el.contains(i)))return;let o;u.length?o=u[0].classList.contains(e.params.navigation.hiddenClass):f.length&&(o=f[0].classList.contains(e.params.navigation.hiddenClass)),l(o===!0?"navigationShow":"navigationHide"),[...u,...f].filter(d=>!!d).forEach(d=>d.classList.toggle(e.params.navigation.hiddenClass))}});const m=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),z(),h()},w=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),L()};Object.assign(e.navigation,{enable:m,disable:w,update:h,init:z,destroy:L})}function P(a){return a===void 0&&(a=""),`.${a.trim().replace(/([\.:!+\/()[\]])/g,"\\$1").replace(/ /g,".")}`}function U(a){let{swiper:e,extendParams:r,on:t,emit:l}=a;const s="swiper-pagination";r({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:i=>i,formatFractionTotal:i=>i,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 y,h=0;function g(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function k(i,n){const{bulletActiveClass:o}=e.params.pagination;i&&(i=i[`${n==="prev"?"previous":"next"}ElementSibling`],i&&(i.classList.add(`${o}-${n}`),i=i[`${n==="prev"?"previous":"next"}ElementSibling`],i&&i.classList.add(`${o}-${n}-${n}`)))}function z(i,n,o){if(i=i%o,n=n%o,n===i+1)return"next";if(n===i-1)return"previous"}function L(i){const n=i.target.closest(P(e.params.pagination.bulletClass));if(!n)return;i.preventDefault();const o=O(n)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===o)return;const d=z(e.realIndex,o,e.slides.length);d==="next"?e.slideNext():d==="previous"?e.slidePrev():e.slideToLoop(o)}else e.slideTo(o)}function m(){const i=e.rtl,n=e.params.pagination;if(g())return;let o=e.pagination.el;o=E(o);let d,x;const M=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,Y=e.params.loop?Math.ceil(M/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(x=e.previousRealIndex||0,d=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(d=e.snapIndex,x=e.previousSnapIndex):(x=e.previousIndex||0,d=e.activeIndex||0),n.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const b=e.pagination.bullets;let S,A,D;if(n.dynamicBullets&&(y=te(b[0],e.isHorizontal()?"width":"height"),o.forEach(C=>{C.style[e.isHorizontal()?"width":"height"]=`${y*(n.dynamicMainBullets+4)}px`}),n.dynamicMainBullets>1&&x!==void 0&&(h+=d-(x||0),h>n.dynamicMainBullets-1?h=n.dynamicMainBullets-1:h<0&&(h=0)),S=Math.max(d-h,0),A=S+(Math.min(b.length,n.dynamicMainBullets)-1),D=(A+S)/2),b.forEach(C=>{const v=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(B=>`${n.bulletActiveClass}${B}`)].map(B=>typeof B=="string"&&B.includes(" ")?B.split(" "):B).flat();C.classList.remove(...v)}),o.length>1)b.forEach(C=>{const v=O(C);v===d?C.classList.add(...n.bulletActiveClass.split(" ")):e.isElement&&C.setAttribute("part","bullet"),n.dynamicBullets&&(v>=S&&v<=A&&C.classList.add(...`${n.bulletActiveClass}-main`.split(" ")),v===S&&k(C,"prev"),v===A&&k(C,"next"))});else{const C=b[d];if(C&&C.classList.add(...n.bulletActiveClass.split(" ")),e.isElement&&b.forEach((v,B)=>{v.setAttribute("part",B===d?"bullet-active":"bullet")}),n.dynamicBullets){const v=b[S],B=b[A];for(let j=S;j<=A;j+=1)b[j]&&b[j].classList.add(...`${n.bulletActiveClass}-main`.split(" "));k(v,"prev"),k(B,"next")}}if(n.dynamicBullets){const C=Math.min(b.length,n.dynamicMainBullets+4),v=(y*C-y)/2-D*y,B=i?"right":"left";b.forEach(j=>{j.style[e.isHorizontal()?B:"top"]=`${v}px`})}}o.forEach((b,S)=>{if(n.type==="fraction"&&(b.querySelectorAll(P(n.currentClass)).forEach(A=>{A.textContent=n.formatFractionCurrent(d+1)}),b.querySelectorAll(P(n.totalClass)).forEach(A=>{A.textContent=n.formatFractionTotal(Y)})),n.type==="progressbar"){let A;n.progressbarOpposite?A=e.isHorizontal()?"vertical":"horizontal":A=e.isHorizontal()?"horizontal":"vertical";const D=(d+1)/Y;let C=1,v=1;A==="horizontal"?C=D:v=D,b.querySelectorAll(P(n.progressbarFillClass)).forEach(B=>{B.style.transform=`translate3d(0,0,0) scaleX(${C}) scaleY(${v})`,B.style.transitionDuration=`${e.params.speed}ms`})}n.type==="custom"&&n.renderCustom?($(b,n.renderCustom(e,d+1,Y)),S===0&&l("paginationRender",b)):(S===0&&l("paginationRender",b),l("paginationUpdate",b)),e.params.watchOverflow&&e.enabled&&b.classList[e.isLocked?"add":"remove"](n.lockClass)})}function w(){const i=e.params.pagination;if(g())return;const n=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let o=e.pagination.el;o=E(o);let d="";if(i.type==="bullets"){let x=e.params.loop?Math.ceil(n/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&x>n&&(x=n);for(let M=0;M<x;M+=1)i.renderBullet?d+=i.renderBullet.call(e,M,i.bulletClass):d+=`<${i.bulletElement} ${e.isElement?'part="bullet"':""} class="${i.bulletClass}"></${i.bulletElement}>`}i.type==="fraction"&&(i.renderFraction?d=i.renderFraction.call(e,i.currentClass,i.totalClass):d=`<span class="${i.currentClass}"></span> / <span class="${i.totalClass}"></span>`),i.type==="progressbar"&&(i.renderProgressbar?d=i.renderProgressbar.call(e,i.progressbarFillClass):d=`<span class="${i.progressbarFillClass}"></span>`),e.pagination.bullets=[],o.forEach(x=>{i.type!=="custom"&&$(x,d||""),i.type==="bullets"&&e.pagination.bullets.push(...x.querySelectorAll(P(i.bulletClass)))}),i.type!=="custom"&&l("paginationRender",o[0])}function c(){e.params.pagination=R(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const i=e.params.pagination;if(!i.el)return;let n;typeof i.el=="string"&&e.isElement&&(n=e.el.querySelector(i.el)),!n&&typeof i.el=="string"&&(n=[...document.querySelectorAll(i.el)]),n||(n=i.el),!(!n||n.length===0)&&(e.params.uniqueNavElements&&typeof i.el=="string"&&Array.isArray(n)&&n.length>1&&(n=[...e.el.querySelectorAll(i.el)],n.length>1&&(n=n.find(o=>N(o,".swiper")[0]===e.el))),Array.isArray(n)&&n.length===1&&(n=n[0]),Object.assign(e.pagination,{el:n}),n=E(n),n.forEach(o=>{i.type==="bullets"&&i.clickable&&o.classList.add(...(i.clickableClass||"").split(" ")),o.classList.add(i.modifierClass+i.type),o.classList.add(e.isHorizontal()?i.horizontalClass:i.verticalClass),i.type==="bullets"&&i.dynamicBullets&&(o.classList.add(`${i.modifierClass}${i.type}-dynamic`),h=0,i.dynamicMainBullets<1&&(i.dynamicMainBullets=1)),i.type==="progressbar"&&i.progressbarOpposite&&o.classList.add(i.progressbarOppositeClass),i.clickable&&o.addEventListener("click",L),e.enabled||o.classList.add(i.lockClass)}))}function p(){const i=e.params.pagination;if(g())return;let n=e.pagination.el;n&&(n=E(n),n.forEach(o=>{o.classList.remove(i.hiddenClass),o.classList.remove(i.modifierClass+i.type),o.classList.remove(e.isHorizontal()?i.horizontalClass:i.verticalClass),i.clickable&&(o.classList.remove(...(i.clickableClass||"").split(" ")),o.removeEventListener("click",L))})),e.pagination.bullets&&e.pagination.bullets.forEach(o=>o.classList.remove(...i.bulletActiveClass.split(" ")))}t("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const i=e.params.pagination;let{el:n}=e.pagination;n=E(n),n.forEach(o=>{o.classList.remove(i.horizontalClass,i.verticalClass),o.classList.add(e.isHorizontal()?i.horizontalClass:i.verticalClass)})}),t("init",()=>{e.params.pagination.enabled===!1?f():(c(),w(),m())}),t("activeIndexChange",()=>{typeof e.snapIndex>"u"&&m()}),t("snapIndexChange",()=>{m()}),t("snapGridLengthChange",()=>{w(),m()}),t("destroy",()=>{p()}),t("enable disable",()=>{let{el:i}=e.pagination;i&&(i=E(i),i.forEach(n=>n.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),t("lock unlock",()=>{m()}),t("click",(i,n)=>{const o=n.target,d=E(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&d&&d.length>0&&!o.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&o===e.navigation.nextEl||e.navigation.prevEl&&o===e.navigation.prevEl))return;const x=d[0].classList.contains(e.params.pagination.hiddenClass);l(x===!0?"paginationShow":"paginationHide"),d.forEach(M=>M.classList.toggle(e.params.pagination.hiddenClass))}});const u=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:i}=e.pagination;i&&(i=E(i),i.forEach(n=>n.classList.remove(e.params.pagination.paginationDisabledClass))),c(),w(),m()},f=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:i}=e.pagination;i&&(i=E(i),i.forEach(n=>n.classList.add(e.params.pagination.paginationDisabledClass))),p()};Object.assign(e.pagination,{enable:u,disable:f,render:w,update:m,init:c,destroy:p})}F.Swiper.use([Z,U,Q]);class V{constructor(){this.name="swiper",this.eventHandlers=new Map}async initialize(e,r){try{if(this.createSwiperStructure(e),!this.swiperContainer||!this.swiperWrapper)throw new Error("Swiper container not created");const t={direction:"horizontal",loop:!1,speed:300,spaceBetween:30,slidesPerView:1,modules:[Z,U,Q],navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{el:".swiper-pagination",clickable:!0},keyboard:{enabled:!0,onlyInViewport:!0},...r?.swiperConfig};this.swiper=new F.Swiper(this.swiperContainer,t),await new Promise(l=>{requestAnimationFrame(()=>{l()})}),this.setupEventListeners(),this.emit("ready")}catch(t){const l=t instanceof Error?t.message:String(t);throw this.emit("error",{message:l}),new Error(`Failed to initialize SwiperAdapter: ${l}`)}}async render(e){if(!this.swiperWrapper||!this.swiper)throw new Error("SwiperAdapter not initialized");try{this.swiperWrapper.innerHTML="";for(const r of e){const t=await this.renderSlide(r);this.swiperWrapper.appendChild(t)}this.swiper.update(),this.emit("slideRendered",{totalSlides:e.length})}catch(r){const t=r instanceof Error?r.message:String(r);throw this.emit("error",{message:t}),new Error(`Failed to render slides: ${t}`)}}async destroy(){this.swiper&&(this.swiper.destroy(!0,!0),this.swiper=void 0),this.swiperContainer&&(this.swiperContainer.innerHTML="",this.swiperContainer=void 0),this.swiperWrapper=void 0,this.eventHandlers.clear()}navigateTo(e){if(!this.swiper)throw new Error("SwiperAdapter not initialized");this.swiper.slideTo(e)}getCurrentIndex(){return this.swiper?this.swiper.activeIndex:0}getTotalSlides(){return this.swiper?this.swiper.slides.length:0}async updateSlide(e,r){if(!this.swiperWrapper||!this.swiper)throw new Error("SwiperAdapter not initialized");try{const l=this.swiperWrapper.querySelectorAll(".swiper-slide")[e];if(!l)throw new Error(`Slide at index ${e} not found`);const s=await this.renderSlide(r);l.replaceWith(s),this.swiper.update()}catch(t){const l=t instanceof Error?t.message:String(t);throw this.emit("error",{message:l}),new Error(`Failed to update slide: ${l}`)}}on(e,r){this.eventHandlers.has(e)||this.eventHandlers.set(e,new Set),this.eventHandlers.get(e).add(r)}off(e,r){const t=this.eventHandlers.get(e);t&&t.delete(r)}createSwiperStructure(e){e.className="swiper";const r=document.createElement("div");r.className="swiper-wrapper";const t=document.createElement("div");t.className="swiper-button-prev";const l=document.createElement("div");l.className="swiper-button-next";const s=document.createElement("div");s.className="swiper-pagination",e.appendChild(r),e.appendChild(t),e.appendChild(l),e.appendChild(s),this.swiperContainer=e,this.swiperWrapper=r}setupEventListeners(){this.swiper&&this.swiper.on("slideChange",()=>{const e=this.swiper.activeIndex,r=this.swiper.previousIndex;this.emit("slideChanged",{index:e,previousIndex:r,from:r,to:e})})}async renderSlide(e){const r=document.createElement("div");if(r.className="swiper-slide",e.behavior?.transition){const t=this.mapTransition(e.behavior.transition.type);t&&r.classList.add(`slide-transition-${t}`)}if(e.content.type==="dynamic"){const t=await this.renderDynamicContent(e.content.component,e.content.props);r.appendChild(t)}else{const t=this.renderTextContent(e.content.lines);r.appendChild(t)}return r}async renderDynamicContent(e,r){const t=document.createElement(e);for(const[l,s]of Object.entries(r))typeof s=="string"||typeof s=="number"?t.setAttribute(l,String(s)):typeof s=="boolean"?s&&t.setAttribute(l,""):t[l]=s;return t}renderTextContent(e){const r=document.createElement("div");r.className="slide-content";let t=null;for(const l of e){const s=l.trim();if(!s){t=null;continue}if(s.startsWith("# ")){t=null;const g=document.createElement("h1");g.textContent=s.substring(2),r.appendChild(g);continue}if(s.startsWith("## ")){t=null;const g=document.createElement("h2");g.textContent=s.substring(3),r.appendChild(g);continue}if(s.startsWith("### ")){t=null;const g=document.createElement("h3");g.textContent=s.substring(4),r.appendChild(g);continue}const y=s.match(/^!\[(.*?)\]\((.*?)\)$/);if(y){t=null;const g=document.createElement("img");g.alt=y[1],g.src=y[2],g.style.maxWidth="80%",g.style.maxHeight="500px",r.appendChild(g);continue}if(s.startsWith("- ")){t||(t=document.createElement("ul"),r.appendChild(t));const g=document.createElement("li");g.textContent=s.substring(2),t.appendChild(g);continue}t=null;const h=document.createElement("p");h.textContent=s,r.appendChild(h)}return r}mapTransition(e){return!e||e==="none"?null:e}emit(e,r){const t=this.eventHandlers.get(e);if(t)for(const l of t)try{l(r)}catch(s){console.error(`Error in ${e} handler:`,s)}}}const ne='@font-face{font-family:swiper-icons;src:url(data:application/font-woff;charset=utf-8;base64,\\ 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);font-weight:400;font-style:normal}:root{--swiper-theme-color: #007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function, initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-slide,.swiper-3d .swiper-cube-shadow{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>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.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>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.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>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper:before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:#00000026}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,#00000080,#0000)}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color, var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color: #fff}.swiper-lazy-preloader-black{--swiper-preloader-color: #000}@keyframes swiper-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}',re=':root{--swiper-navigation-size: 44px}.swiper-button-prev,.swiper-button-next{position:absolute;top:var(--swiper-navigation-top-offset, 50%);width:calc(var(--swiper-navigation-size) / 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size) / 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color, var(--swiper-theme-color))}.swiper-button-prev.swiper-button-disabled,.swiper-button-next.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-prev.swiper-button-hidden,.swiper-button-next.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-prev,.swiper-navigation-disabled .swiper-button-next{display:none!important}.swiper-button-prev svg,.swiper-button-next svg{width:100%;height:100%;object-fit:contain;transform-origin:center}.swiper-rtl .swiper-button-prev svg,.swiper-rtl .swiper-button-next svg{transform:rotate(180deg)}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset, 10px);right:auto}.swiper-button-lock{display:none}.swiper-button-prev:after,.swiper-button-next:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:"prev"}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset, 10px);left:auto}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:"next"}',ae=".swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translateZ(0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-pagination-fraction,.swiper-pagination-custom,.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal{bottom:var(--swiper-pagination-bottom, 8px);top:var(--swiper-pagination-top, auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.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{width:var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));height:var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius, 50%);background:var(--swiper-pagination-bullet-inactive-color, #000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color, var(--swiper-theme-color))}.swiper-vertical>.swiper-pagination-bullets,.swiper-pagination-vertical.swiper-pagination-bullets{right:var(--swiper-pagination-right, 8px);left:var(--swiper-pagination-left, auto);top:50%;transform:translate3d(0,-50%,0)}.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap, 6px) 0;display:block}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.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:translate(-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:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color, inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color, rgba(0, 0, 0, .25));position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color, var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.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-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size, 4px);left:0;top:0}.swiper-vertical>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite{width:var(--swiper-pagination-progressbar-size, 4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}",se=".swiper{width:100%;height:100%;--slidejs-swiper-navigation-color: var(--slidejs-navigation-color, #007aff);--slidejs-swiper-pagination-color: var(--slidejs-pagination-color, #007aff);--slidejs-swiper-pagination-bullet-active-color: var(--slidejs-pagination-active-color, #007aff);--slidejs-swiper-scrollbar-bg: var(--slidejs-scrollbar-bg, rgba(0, 0, 0, .1));--slidejs-swiper-scrollbar-drag-bg: var(--slidejs-scrollbar-drag-bg, rgba(0, 0, 0, .5));--swiper-navigation-color: var(--slidejs-navigation-color, #007aff);--swiper-pagination-color: var(--slidejs-pagination-color, #007aff);--swiper-pagination-bullet-active-color: var(--slidejs-pagination-active-color, #007aff);--swiper-theme-color: var(--slidejs-navigation-color, #007aff)}.swiper .swiper-button-next,.swiper .swiper-button-prev{color:var(--swiper-navigation-color, var(--slidejs-swiper-navigation-color, #007aff))!important}.swiper .swiper-pagination-bullet{background-color:var( --swiper-pagination-color, var(--slidejs-swiper-pagination-color, #007aff) )!important}.swiper .swiper-pagination-bullet-active{background-color:var( --swiper-pagination-bullet-active-color, var(--slidejs-swiper-pagination-bullet-active-color, #007aff) )!important}.swiper .swiper-scrollbar{background:var(--slidejs-swiper-scrollbar-bg, rgba(0, 0, 0, .1))!important}.swiper .swiper-scrollbar-drag{background:var(--slidejs-swiper-scrollbar-drag-bg, rgba(0, 0, 0, .5))!important}.swiper-slide{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:var(--slidejs-background-color, #fff);padding:2rem;box-sizing:border-box}.slide-content{width:100%;text-align:center}.slide-content h1{font-size:3rem;margin-bottom:1rem;color:var(--slidejs-heading-color, #333)}.slide-content h2{font-size:2rem;margin-bottom:1rem;color:var(--slidejs-heading-color, #666)}.slide-content h3{font-size:1.5rem;margin-bottom:.5rem;color:var(--slidejs-heading-color, #666)}.slide-content p{font-size:1.2rem;line-height:1.6;color:var(--slidejs-text-color, #555);margin-bottom:1rem}.slide-content ul{text-align:left;display:inline-block;font-size:1.2rem;line-height:1.8;color:var(--slidejs-text-color, #555)}.slide-content li{margin-bottom:.5rem}.slide-content img{border-radius:8px;box-shadow:0 4px 12px #0000001a}.swiper-button-next:after,.swiper-button-prev:after{font-size:24px}.swiper-pagination-bullet{opacity:.5}.swiper-pagination-bullet-active{opacity:1}";async function oe(a,e,r){const t=await I.parseSlideDSL(a),l=I.compile(t),s="swiper-styles";if(!document.head.querySelector(`#${s}`)){const w=document.createElement("style");w.id=s,w.textContent=ne,document.head.appendChild(w)}const y="swiper-navigation-styles";if(!document.head.querySelector(`#${y}`)){const w=document.createElement("style");w.id=y,w.textContent=re,document.head.appendChild(w)}const h="swiper-pagination-styles";if(!document.head.querySelector(`#${h}`)){const w=document.createElement("style");w.id=h,w.textContent=ae,document.head.appendChild(w)}let g;if(typeof r.container=="string"){const w=document.querySelector(r.container);if(!w)throw new Error(`Container not found: ${r.container}`);g=w}else g=r.container;const k="slidejs-runner-swiper-styles";if(!g.querySelector(`#${k}`)){const w=document.createElement("style");w.id=k,w.textContent=se,g.appendChild(w)}const z=document.createElement("div");g.appendChild(z);const L=new V,m=new K.SlideRunner({container:z,adapter:L,adapterOptions:{swiperConfig:r.swiperOptions}});return await m.run(l,e),m}exports.SwiperAdapter=V;exports.createSlideRunner=oe;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const F=require("swiper"),T=require("@slidejs/dsl"),K=require("@slidejs/runner");function I(n){return n!==null&&typeof n=="object"&&"constructor"in n&&n.constructor===Object}function G(n,e){n===void 0&&(n={}),e===void 0&&(e={});const s=["__proto__","constructor","prototype"];Object.keys(e).filter(t=>s.indexOf(t)<0).forEach(t=>{typeof n[t]>"u"?n[t]=e[t]:I(e[t])&&I(n[t])&&Object.keys(e[t]).length>0&&G(n[t],e[t])})}const q={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 W(){const n=typeof document<"u"?document:{};return G(n,q),n}const J={document:q,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(n){return typeof setTimeout>"u"?(n(),null):setTimeout(n,0)},cancelAnimationFrame(n){typeof setTimeout>"u"||clearTimeout(n)}};function H(){const n=typeof window<"u"?window:{};return G(n,J),n}function X(n){return n===void 0&&(n=""),n.trim().split(" ").filter(e=>!!e.trim())}function _(n,e){e===void 0&&(e="");const s=H(),t=[...n.children];return s.HTMLSlotElement&&n instanceof HTMLSlotElement&&t.push(...n.assignedElements()),e?t.filter(p=>p.matches(e)):t}function ee(n,e){e===void 0&&(e=[]);const s=document.createElement(n);return s.classList.add(...Array.isArray(e)?e:X(e)),s}function ie(n){const e=H(),s=W(),t=n.getBoundingClientRect(),p=s.body,a=n.clientTop||p.clientTop||0,f=n.clientLeft||p.clientLeft||0,m=n===e?e.scrollY:n.scrollTop,w=n===e?e.scrollX:n.scrollLeft;return{top:t.top+m-a,left:t.left+w-f}}function O(n){let e=n,s;if(e){for(s=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(s+=1);return s}}function N(n,e){const s=[];let t=n.parentElement;for(;t;)e?t.matches(e)&&s.push(t):s.push(t),t=t.parentElement;return s}function te(n,e,s){const t=H();return n[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(t.getComputedStyle(n,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(t.getComputedStyle(n,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom"))}function E(n){return(Array.isArray(n)?n:[n]).filter(e=>!!e)}function $(n,e){e===void 0&&(e=""),typeof trustedTypes<"u"?n.innerHTML=trustedTypes.createPolicy("html",{createHTML:s=>s}).createHTML(e):n.innerHTML=e}function Q(n){let{swiper:e,extendParams:s,on:t,emit:p}=n;const a=W(),f=H();e.keyboard={enabled:!1},s({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}});function m(S){if(!e.enabled)return;const{rtlTranslate:v}=e;let h=S;h.originalEvent&&(h=h.originalEvent);const k=h.keyCode||h.charCode,c=e.params.keyboard.pageUpDown,l=c&&k===33,g=c&&k===34,u=k===37,i=k===39,r=k===38,o=k===40;if(!e.allowSlideNext&&(e.isHorizontal()&&i||e.isVertical()&&o||g)||!e.allowSlidePrev&&(e.isHorizontal()&&u||e.isVertical()&&r||l))return!1;if(!(h.shiftKey||h.altKey||h.ctrlKey||h.metaKey)&&!(a.activeElement&&(a.activeElement.isContentEditable||a.activeElement.nodeName&&(a.activeElement.nodeName.toLowerCase()==="input"||a.activeElement.nodeName.toLowerCase()==="textarea")))){if(e.params.keyboard.onlyInViewport&&(l||g||u||i||r||o)){let d=!1;if(N(e.el,`.${e.params.slideClass}, swiper-slide`).length>0&&N(e.el,`.${e.params.slideActiveClass}`).length===0)return;const C=e.el,M=C.clientWidth,Y=C.clientHeight,A=f.innerWidth,L=f.innerHeight,b=ie(C);v&&(b.left-=C.scrollLeft);const D=[[b.left,b.top],[b.left+M,b.top],[b.left,b.top+Y],[b.left+M,b.top+Y]];for(let x=0;x<D.length;x+=1){const y=D[x];if(y[0]>=0&&y[0]<=A&&y[1]>=0&&y[1]<=L){if(y[0]===0&&y[1]===0)continue;d=!0}}if(!d)return}e.isHorizontal()?((l||g||u||i)&&(h.preventDefault?h.preventDefault():h.returnValue=!1),((g||i)&&!v||(l||u)&&v)&&e.slideNext(),((l||u)&&!v||(g||i)&&v)&&e.slidePrev()):((l||g||r||o)&&(h.preventDefault?h.preventDefault():h.returnValue=!1),(g||o)&&e.slideNext(),(l||r)&&e.slidePrev()),p("keyPress",k)}}function w(){e.keyboard.enabled||(a.addEventListener("keydown",m),e.keyboard.enabled=!0)}function B(){e.keyboard.enabled&&(a.removeEventListener("keydown",m),e.keyboard.enabled=!1)}t("init",()=>{e.params.keyboard.enabled&&w()}),t("destroy",()=>{e.keyboard.enabled&&B()}),Object.assign(e.keyboard,{enable:w,disable:B})}function R(n,e,s,t){return n.params.createElements&&Object.keys(t).forEach(p=>{if(!s[p]&&s.auto===!0){let a=_(n.el,`.${t[p]}`)[0];a||(a=ee("div",t[p]),a.className=t[p],n.el.append(a)),s[p]=a,e[p]=a}}),s}function Z(n){let{swiper:e,extendParams:s,on:t,emit:p}=n;s({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null};function a(c){let l;return c&&typeof c=="string"&&e.isElement&&(l=e.el.querySelector(c)||e.hostEl.querySelector(c),l)?l:(c&&(typeof c=="string"&&(l=[...document.querySelectorAll(c)]),e.params.uniqueNavElements&&typeof c=="string"&&l&&l.length>1&&e.el.querySelectorAll(c).length===1?l=e.el.querySelector(c):l&&l.length===1&&(l=l[0])),c&&!l?c:l)}function f(c,l){const g=e.params.navigation;c=E(c),c.forEach(u=>{u&&(u.classList[l?"add":"remove"](...g.disabledClass.split(" ")),u.tagName==="BUTTON"&&(u.disabled=l),e.params.watchOverflow&&e.enabled&&u.classList[e.isLocked?"add":"remove"](g.lockClass))})}function m(){const{nextEl:c,prevEl:l}=e.navigation;if(e.params.loop){f(l,!1),f(c,!1);return}f(l,e.isBeginning&&!e.params.rewind),f(c,e.isEnd&&!e.params.rewind)}function w(c){c.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),p("navigationPrev"))}function B(c){c.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),p("navigationNext"))}function S(){const c=e.params.navigation;if(e.params.navigation=R(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(c.nextEl||c.prevEl))return;let l=a(c.nextEl),g=a(c.prevEl);Object.assign(e.navigation,{nextEl:l,prevEl:g}),l=E(l),g=E(g);const u=(i,r)=>{i&&i.addEventListener("click",r==="next"?B:w),!e.enabled&&i&&i.classList.add(...c.lockClass.split(" "))};l.forEach(i=>u(i,"next")),g.forEach(i=>u(i,"prev"))}function v(){let{nextEl:c,prevEl:l}=e.navigation;c=E(c),l=E(l);const g=(u,i)=>{u.removeEventListener("click",i==="next"?B:w),u.classList.remove(...e.params.navigation.disabledClass.split(" "))};c.forEach(u=>g(u,"next")),l.forEach(u=>g(u,"prev"))}t("init",()=>{e.params.navigation.enabled===!1?k():(S(),m())}),t("toEdge fromEdge lock unlock",()=>{m()}),t("destroy",()=>{v()}),t("enable disable",()=>{let{nextEl:c,prevEl:l}=e.navigation;if(c=E(c),l=E(l),e.enabled){m();return}[...c,...l].filter(g=>!!g).forEach(g=>g.classList.add(e.params.navigation.lockClass))}),t("click",(c,l)=>{let{nextEl:g,prevEl:u}=e.navigation;g=E(g),u=E(u);const i=l.target;let r=u.includes(i)||g.includes(i);if(e.isElement&&!r){const o=l.path||l.composedPath&&l.composedPath();o&&(r=o.find(d=>g.includes(d)||u.includes(d)))}if(e.params.navigation.hideOnClick&&!r){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===i||e.pagination.el.contains(i)))return;let o;g.length?o=g[0].classList.contains(e.params.navigation.hiddenClass):u.length&&(o=u[0].classList.contains(e.params.navigation.hiddenClass)),p(o===!0?"navigationShow":"navigationHide"),[...g,...u].filter(d=>!!d).forEach(d=>d.classList.toggle(e.params.navigation.hiddenClass))}});const h=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),S(),m()},k=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),v()};Object.assign(e.navigation,{enable:h,disable:k,update:m,init:S,destroy:v})}function P(n){return n===void 0&&(n=""),`.${n.trim().replace(/([\.:!+\/()[\]])/g,"\\$1").replace(/ /g,".")}`}function U(n){let{swiper:e,extendParams:s,on:t,emit:p}=n;const a="swiper-pagination";s({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:i=>i,formatFractionTotal:i=>i,bulletClass:`${a}-bullet`,bulletActiveClass:`${a}-bullet-active`,modifierClass:`${a}-`,currentClass:`${a}-current`,totalClass:`${a}-total`,hiddenClass:`${a}-hidden`,progressbarFillClass:`${a}-progressbar-fill`,progressbarOppositeClass:`${a}-progressbar-opposite`,clickableClass:`${a}-clickable`,lockClass:`${a}-lock`,horizontalClass:`${a}-horizontal`,verticalClass:`${a}-vertical`,paginationDisabledClass:`${a}-disabled`}}),e.pagination={el:null,bullets:[]};let f,m=0;function w(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function B(i,r){const{bulletActiveClass:o}=e.params.pagination;i&&(i=i[`${r==="prev"?"previous":"next"}ElementSibling`],i&&(i.classList.add(`${o}-${r}`),i=i[`${r==="prev"?"previous":"next"}ElementSibling`],i&&i.classList.add(`${o}-${r}-${r}`)))}function S(i,r,o){if(i=i%o,r=r%o,r===i+1)return"next";if(r===i-1)return"previous"}function v(i){const r=i.target.closest(P(e.params.pagination.bulletClass));if(!r)return;i.preventDefault();const o=O(r)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===o)return;const d=S(e.realIndex,o,e.slides.length);d==="next"?e.slideNext():d==="previous"?e.slidePrev():e.slideToLoop(o)}else e.slideTo(o)}function h(){const i=e.rtl,r=e.params.pagination;if(w())return;let o=e.pagination.el;o=E(o);let d,C;const M=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,Y=e.params.loop?Math.ceil(M/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(C=e.previousRealIndex||0,d=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(d=e.snapIndex,C=e.previousSnapIndex):(C=e.previousIndex||0,d=e.activeIndex||0),r.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const A=e.pagination.bullets;let L,b,D;if(r.dynamicBullets&&(f=te(A[0],e.isHorizontal()?"width":"height"),o.forEach(x=>{x.style[e.isHorizontal()?"width":"height"]=`${f*(r.dynamicMainBullets+4)}px`}),r.dynamicMainBullets>1&&C!==void 0&&(m+=d-(C||0),m>r.dynamicMainBullets-1?m=r.dynamicMainBullets-1:m<0&&(m=0)),L=Math.max(d-m,0),b=L+(Math.min(A.length,r.dynamicMainBullets)-1),D=(b+L)/2),A.forEach(x=>{const y=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(z=>`${r.bulletActiveClass}${z}`)].map(z=>typeof z=="string"&&z.includes(" ")?z.split(" "):z).flat();x.classList.remove(...y)}),o.length>1)A.forEach(x=>{const y=O(x);y===d?x.classList.add(...r.bulletActiveClass.split(" ")):e.isElement&&x.setAttribute("part","bullet"),r.dynamicBullets&&(y>=L&&y<=b&&x.classList.add(...`${r.bulletActiveClass}-main`.split(" ")),y===L&&B(x,"prev"),y===b&&B(x,"next"))});else{const x=A[d];if(x&&x.classList.add(...r.bulletActiveClass.split(" ")),e.isElement&&A.forEach((y,z)=>{y.setAttribute("part",z===d?"bullet-active":"bullet")}),r.dynamicBullets){const y=A[L],z=A[b];for(let j=L;j<=b;j+=1)A[j]&&A[j].classList.add(...`${r.bulletActiveClass}-main`.split(" "));B(y,"prev"),B(z,"next")}}if(r.dynamicBullets){const x=Math.min(A.length,r.dynamicMainBullets+4),y=(f*x-f)/2-D*f,z=i?"right":"left";A.forEach(j=>{j.style[e.isHorizontal()?z:"top"]=`${y}px`})}}o.forEach((A,L)=>{if(r.type==="fraction"&&(A.querySelectorAll(P(r.currentClass)).forEach(b=>{b.textContent=r.formatFractionCurrent(d+1)}),A.querySelectorAll(P(r.totalClass)).forEach(b=>{b.textContent=r.formatFractionTotal(Y)})),r.type==="progressbar"){let b;r.progressbarOpposite?b=e.isHorizontal()?"vertical":"horizontal":b=e.isHorizontal()?"horizontal":"vertical";const D=(d+1)/Y;let x=1,y=1;b==="horizontal"?x=D:y=D,A.querySelectorAll(P(r.progressbarFillClass)).forEach(z=>{z.style.transform=`translate3d(0,0,0) scaleX(${x}) scaleY(${y})`,z.style.transitionDuration=`${e.params.speed}ms`})}r.type==="custom"&&r.renderCustom?($(A,r.renderCustom(e,d+1,Y)),L===0&&p("paginationRender",A)):(L===0&&p("paginationRender",A),p("paginationUpdate",A)),e.params.watchOverflow&&e.enabled&&A.classList[e.isLocked?"add":"remove"](r.lockClass)})}function k(){const i=e.params.pagination;if(w())return;const r=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let o=e.pagination.el;o=E(o);let d="";if(i.type==="bullets"){let C=e.params.loop?Math.ceil(r/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&C>r&&(C=r);for(let M=0;M<C;M+=1)i.renderBullet?d+=i.renderBullet.call(e,M,i.bulletClass):d+=`<${i.bulletElement} ${e.isElement?'part="bullet"':""} class="${i.bulletClass}"></${i.bulletElement}>`}i.type==="fraction"&&(i.renderFraction?d=i.renderFraction.call(e,i.currentClass,i.totalClass):d=`<span class="${i.currentClass}"></span> / <span class="${i.totalClass}"></span>`),i.type==="progressbar"&&(i.renderProgressbar?d=i.renderProgressbar.call(e,i.progressbarFillClass):d=`<span class="${i.progressbarFillClass}"></span>`),e.pagination.bullets=[],o.forEach(C=>{i.type!=="custom"&&$(C,d||""),i.type==="bullets"&&e.pagination.bullets.push(...C.querySelectorAll(P(i.bulletClass)))}),i.type!=="custom"&&p("paginationRender",o[0])}function c(){e.params.pagination=R(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const i=e.params.pagination;if(!i.el)return;let r;typeof i.el=="string"&&e.isElement&&(r=e.el.querySelector(i.el)),!r&&typeof i.el=="string"&&(r=[...document.querySelectorAll(i.el)]),r||(r=i.el),!(!r||r.length===0)&&(e.params.uniqueNavElements&&typeof i.el=="string"&&Array.isArray(r)&&r.length>1&&(r=[...e.el.querySelectorAll(i.el)],r.length>1&&(r=r.find(o=>N(o,".swiper")[0]===e.el))),Array.isArray(r)&&r.length===1&&(r=r[0]),Object.assign(e.pagination,{el:r}),r=E(r),r.forEach(o=>{i.type==="bullets"&&i.clickable&&o.classList.add(...(i.clickableClass||"").split(" ")),o.classList.add(i.modifierClass+i.type),o.classList.add(e.isHorizontal()?i.horizontalClass:i.verticalClass),i.type==="bullets"&&i.dynamicBullets&&(o.classList.add(`${i.modifierClass}${i.type}-dynamic`),m=0,i.dynamicMainBullets<1&&(i.dynamicMainBullets=1)),i.type==="progressbar"&&i.progressbarOpposite&&o.classList.add(i.progressbarOppositeClass),i.clickable&&o.addEventListener("click",v),e.enabled||o.classList.add(i.lockClass)}))}function l(){const i=e.params.pagination;if(w())return;let r=e.pagination.el;r&&(r=E(r),r.forEach(o=>{o.classList.remove(i.hiddenClass),o.classList.remove(i.modifierClass+i.type),o.classList.remove(e.isHorizontal()?i.horizontalClass:i.verticalClass),i.clickable&&(o.classList.remove(...(i.clickableClass||"").split(" ")),o.removeEventListener("click",v))})),e.pagination.bullets&&e.pagination.bullets.forEach(o=>o.classList.remove(...i.bulletActiveClass.split(" ")))}t("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const i=e.params.pagination;let{el:r}=e.pagination;r=E(r),r.forEach(o=>{o.classList.remove(i.horizontalClass,i.verticalClass),o.classList.add(e.isHorizontal()?i.horizontalClass:i.verticalClass)})}),t("init",()=>{e.params.pagination.enabled===!1?u():(c(),k(),h())}),t("activeIndexChange",()=>{typeof e.snapIndex>"u"&&h()}),t("snapIndexChange",()=>{h()}),t("snapGridLengthChange",()=>{k(),h()}),t("destroy",()=>{l()}),t("enable disable",()=>{let{el:i}=e.pagination;i&&(i=E(i),i.forEach(r=>r.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),t("lock unlock",()=>{h()}),t("click",(i,r)=>{const o=r.target,d=E(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&d&&d.length>0&&!o.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&o===e.navigation.nextEl||e.navigation.prevEl&&o===e.navigation.prevEl))return;const C=d[0].classList.contains(e.params.pagination.hiddenClass);p(C===!0?"paginationShow":"paginationHide"),d.forEach(M=>M.classList.toggle(e.params.pagination.hiddenClass))}});const g=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:i}=e.pagination;i&&(i=E(i),i.forEach(r=>r.classList.remove(e.params.pagination.paginationDisabledClass))),c(),k(),h()},u=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:i}=e.pagination;i&&(i=E(i),i.forEach(r=>r.classList.add(e.params.pagination.paginationDisabledClass))),l()};Object.assign(e.pagination,{enable:g,disable:u,render:k,update:h,init:c,destroy:l})}F.Swiper.use([Z,U,Q]);class V{constructor(){this.name="swiper",this.eventHandlers=new Map}async initialize(e,s){try{if(this.createSwiperStructure(e),!this.swiperContainer||!this.swiperWrapper)throw new Error("Swiper container not created");const t={direction:"horizontal",loop:!1,speed:300,spaceBetween:30,slidesPerView:1,modules:[Z,U,Q],navigation:{nextEl:this.nextButton||void 0,prevEl:this.prevButton||void 0},pagination:{el:this.paginationEl||void 0,clickable:!0},keyboard:{enabled:!0,onlyInViewport:!0},...s?.swiperConfig};this.swiper=new F.Swiper(this.swiperContainer,t),await new Promise(p=>{requestAnimationFrame(()=>{p()})}),this.setupEventListeners(),this.emit("ready")}catch(t){const p=t instanceof Error?t.message:String(t);throw this.emit("error",{message:p}),new Error(`Failed to initialize SwiperAdapter: ${p}`)}}async render(e){if(!this.swiperWrapper||!this.swiper)throw new Error("SwiperAdapter not initialized");try{this.swiperWrapper.innerHTML="";for(const s of e){const t=await this.renderSlide(s);this.swiperWrapper.appendChild(t)}this.swiper.update(),this.emit("slideRendered",{totalSlides:e.length})}catch(s){const t=s instanceof Error?s.message:String(s);throw this.emit("error",{message:t}),new Error(`Failed to render slides: ${t}`)}}async destroy(){this.swiper&&(this.swiper.destroy(!0,!0),this.swiper=void 0),this.swiperContainer&&(this.swiperContainer.innerHTML="",this.swiperContainer=void 0),this.swiperWrapper=void 0,this.eventHandlers.clear()}navigateTo(e){if(!this.swiper)throw new Error("SwiperAdapter not initialized");this.swiper.slideTo(e)}getCurrentIndex(){return this.swiper?this.swiper.activeIndex:0}getTotalSlides(){return this.swiper?this.swiper.slides.length:0}async updateSlide(e,s){if(!this.swiperWrapper||!this.swiper)throw new Error("SwiperAdapter not initialized");try{const p=this.swiperWrapper.querySelectorAll(".swiper-slide")[e];if(!p)throw new Error(`Slide at index ${e} not found`);const a=await this.renderSlide(s);p.replaceWith(a),this.swiper.update()}catch(t){const p=t instanceof Error?t.message:String(t);throw this.emit("error",{message:p}),new Error(`Failed to update slide: ${p}`)}}on(e,s){this.eventHandlers.has(e)||this.eventHandlers.set(e,new Set),this.eventHandlers.get(e).add(s)}off(e,s){const t=this.eventHandlers.get(e);t&&t.delete(s)}createSwiperStructure(e){e.className="swiper";const s=document.createElement("div");s.className="swiper-wrapper",this.prevButton=document.createElement("div"),this.prevButton.className="swiper-button-prev",this.nextButton=document.createElement("div"),this.nextButton.className="swiper-button-next",this.paginationEl=document.createElement("div"),this.paginationEl.className="swiper-pagination",e.appendChild(s),e.appendChild(this.prevButton),e.appendChild(this.nextButton),e.appendChild(this.paginationEl),this.swiperContainer=e,this.swiperWrapper=s}setupEventListeners(){this.swiper&&this.swiper.on("slideChange",()=>{const e=this.swiper.activeIndex,s=this.swiper.previousIndex;this.emit("slideChanged",{index:e,previousIndex:s,from:s,to:e})})}async renderSlide(e){const s=document.createElement("div");if(s.className="swiper-slide",e.behavior?.transition){const t=this.mapTransition(e.behavior.transition.type);t&&s.classList.add(`slide-transition-${t}`)}if(e.content.type==="dynamic"){const t=await this.renderDynamicContent(e.content.component,e.content.props);s.appendChild(t)}else{const t=this.renderTextContent(e.content.lines);s.appendChild(t)}return s}async renderDynamicContent(e,s){const t=document.createElement(e);for(const[p,a]of Object.entries(s))typeof a=="string"||typeof a=="number"?t.setAttribute(p,String(a)):typeof a=="boolean"?a&&t.setAttribute(p,""):t[p]=a;return t}renderTextContent(e){const s=document.createElement("div");s.className="slide-content";let t=null;for(const p of e){const a=p.trim();if(!a){t=null;continue}if(a.startsWith("# ")){t=null;const w=document.createElement("h1");w.textContent=a.substring(2),s.appendChild(w);continue}if(a.startsWith("## ")){t=null;const w=document.createElement("h2");w.textContent=a.substring(3),s.appendChild(w);continue}if(a.startsWith("### ")){t=null;const w=document.createElement("h3");w.textContent=a.substring(4),s.appendChild(w);continue}const f=a.match(/^!\[(.*?)\]\((.*?)\)$/);if(f){t=null;const w=document.createElement("img");w.alt=f[1],w.src=f[2],w.style.maxWidth="80%",w.style.maxHeight="500px",s.appendChild(w);continue}if(a.startsWith("- ")){t||(t=document.createElement("ul"),s.appendChild(t));const w=document.createElement("li");w.textContent=a.substring(2),t.appendChild(w);continue}t=null;const m=document.createElement("p");m.textContent=a,s.appendChild(m)}return s}mapTransition(e){return!e||e==="none"?null:e}emit(e,s){const t=this.eventHandlers.get(e);if(t)for(const p of t)try{p(s)}catch(a){console.error(`Error in ${e} handler:`,a)}}}const re='@font-face{font-family:swiper-icons;src:url(data:application/font-woff;charset=utf-8;base64,\\ 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);font-weight:400;font-style:normal}:root{--swiper-theme-color: #007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function, initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-slide,.swiper-3d .swiper-cube-shadow{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>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.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>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.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>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper:before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:#00000026}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,#00000080,#0000)}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color, var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color: #fff}.swiper-lazy-preloader-black{--swiper-preloader-color: #000}@keyframes swiper-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.swiper-virtual .swiper-slide{-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper:after{content:"";position:absolute;left:0;top:0;pointer-events:none}.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{width:1px;height:var(--swiper-virtual-size)}:root{--swiper-navigation-size: 44px}.swiper-button-prev,.swiper-button-next{position:absolute;top:var(--swiper-navigation-top-offset, 50%);width:calc(var(--swiper-navigation-size) / 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size) / 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color, var(--swiper-theme-color))}.swiper-button-prev.swiper-button-disabled,.swiper-button-next.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-prev.swiper-button-hidden,.swiper-button-next.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-prev,.swiper-navigation-disabled .swiper-button-next{display:none!important}.swiper-button-prev svg,.swiper-button-next svg{width:100%;height:100%;object-fit:contain;transform-origin:center}.swiper-rtl .swiper-button-prev svg,.swiper-rtl .swiper-button-next svg{transform:rotate(180deg)}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset, 10px);right:auto}.swiper-button-lock{display:none}.swiper-button-prev:after,.swiper-button-next:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:"prev"}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset, 10px);left:auto}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:"next"}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translateZ(0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-pagination-fraction,.swiper-pagination-custom,.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal{bottom:var(--swiper-pagination-bottom, 8px);top:var(--swiper-pagination-top, auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.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{width:var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));height:var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius, 50%);background:var(--swiper-pagination-bullet-inactive-color, #000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color, var(--swiper-theme-color))}.swiper-vertical>.swiper-pagination-bullets,.swiper-pagination-vertical.swiper-pagination-bullets{right:var(--swiper-pagination-right, 8px);left:var(--swiper-pagination-left, auto);top:50%;transform:translate3d(0,-50%,0)}.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap, 6px) 0;display:block}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.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:translate(-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:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color, inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color, rgba(0, 0, 0, .25));position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color, var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.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-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size, 4px);left:0;top:0}.swiper-vertical>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite{width:var(--swiper-pagination-progressbar-size, 4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:var(--swiper-scrollbar-border-radius, 10px);position:relative;touch-action:none;background:var(--swiper-scrollbar-bg-color, rgba(0, 0, 0, .1))}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{position:absolute;left:var(--swiper-scrollbar-sides-offset, 1%);bottom:var(--swiper-scrollbar-bottom, 4px);top:var(--swiper-scrollbar-top, auto);z-index:50;height:var(--swiper-scrollbar-size, 4px);width:calc(100% - 2 * var(--swiper-scrollbar-sides-offset, 1%))}.swiper-vertical>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-vertical{position:absolute;left:var(--swiper-scrollbar-left, auto);right:var(--swiper-scrollbar-right, 4px);top:var(--swiper-scrollbar-sides-offset, 1%);z-index:50;width:var(--swiper-scrollbar-size, 4px);height:calc(100% - 2 * var(--swiper-scrollbar-sides-offset, 1%))}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:var(--swiper-scrollbar-drag-bg-color, rgba(0, 0, 0, .5));border-radius:var(--swiper-scrollbar-border-radius, 10px);left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}.swiper-zoom-container>img,.swiper-zoom-container>svg,.swiper-zoom-container>canvas{max-width:100%;max-height:100%;object-fit:contain}.swiper-slide-zoomed{cursor:move;touch-action:none}.swiper .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-grid>.swiper-wrapper{flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-fade.swiper-free-mode .swiper-slide{transition-timing-function:ease-out}.swiper-fade .swiper-slide{pointer-events:none;transition-property:opacity}.swiper-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-fade .swiper-slide-active,.swiper-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper.swiper-cube{overflow:visible}.swiper-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-cube.swiper-rtl .swiper-slide{transform-origin:100% 0}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-next,.swiper-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0;width:100%;height:100%;opacity:.6;z-index:0}.swiper-cube .swiper-cube-shadow:before{content:"";background:#000;position:absolute;inset:0;filter:blur(50px)}.swiper-cube .swiper-slide-next+.swiper-slide{pointer-events:auto;visibility:visible}.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-top,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-bottom,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-left,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-right{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper.swiper-flip{overflow:visible}.swiper-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-flip .swiper-slide-active,.swiper-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-top,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-bottom,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-left,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-right{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-creative .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper.swiper-cards{overflow:visible}.swiper-cards .swiper-slide{transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}',se=".swiper{width:100%;height:100%;--slidejs-swiper-navigation-color: var(--slidejs-navigation-color, #007aff);--slidejs-swiper-pagination-color: var(--slidejs-pagination-color, #007aff);--slidejs-swiper-pagination-bullet-active-color: var(--slidejs-pagination-active-color, #007aff);--slidejs-swiper-scrollbar-bg: var(--slidejs-scrollbar-bg, rgba(0, 0, 0, .1));--slidejs-swiper-scrollbar-drag-bg: var(--slidejs-scrollbar-drag-bg, rgba(0, 0, 0, .5));--swiper-navigation-color: var(--slidejs-navigation-color, #007aff);--swiper-pagination-color: var(--slidejs-pagination-color, #007aff);--swiper-pagination-bullet-active-color: var(--slidejs-pagination-active-color, #007aff);--swiper-theme-color: var(--slidejs-navigation-color, #007aff)}.swiper .swiper-button-next,.swiper .swiper-button-prev{color:var(--swiper-navigation-color, var(--slidejs-swiper-navigation-color, #007aff))!important}.swiper .swiper-pagination-bullet{background-color:var( --swiper-pagination-color, var(--slidejs-swiper-pagination-color, #007aff) )!important}.swiper .swiper-pagination-bullet-active{background-color:var( --swiper-pagination-bullet-active-color, var(--slidejs-swiper-pagination-bullet-active-color, #007aff) )!important}.swiper .swiper-scrollbar{background:var(--slidejs-swiper-scrollbar-bg, rgba(0, 0, 0, .1))!important}.swiper .swiper-scrollbar-drag{background:var(--slidejs-swiper-scrollbar-drag-bg, rgba(0, 0, 0, .5))!important}.swiper-slide{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:var(--slidejs-background-color, #fff);padding:2rem;box-sizing:border-box}.slide-content{width:100%;text-align:center}.slide-content h1{font-size:3rem;margin-bottom:1rem;color:var(--slidejs-heading-color, #333)}.slide-content h2{font-size:2rem;margin-bottom:1rem;color:var(--slidejs-heading-color, #666)}.slide-content h3{font-size:1.5rem;margin-bottom:.5rem;color:var(--slidejs-heading-color, #666)}.slide-content p{font-size:1.2rem;line-height:1.6;color:var(--slidejs-text-color, #555);margin-bottom:1rem}.slide-content ul{text-align:left;display:inline-block;font-size:1.2rem;line-height:1.8;color:var(--slidejs-text-color, #555)}.slide-content li{margin-bottom:.5rem}.slide-content img{border-radius:8px;box-shadow:0 4px 12px #0000001a}.swiper-button-next:after,.swiper-button-prev:after{font-size:24px}.swiper-pagination-bullet{opacity:.5}.swiper-pagination-bullet-active{opacity:1}";async function ne(n,e,s){const t=await T.parseSlideDSL(n),p=T.compile(t),a="swiper-bundle-styles";if(!document.head.querySelector(`#${a}`)){const v=document.createElement("style");v.id=a,v.textContent=re,document.head.appendChild(v)}let f;if(typeof s.container=="string"){const v=document.querySelector(s.container);if(!v)throw new Error(`Container not found: ${s.container}`);f=v}else f=s.container;const m="slidejs-runner-swiper-styles";if(!f.querySelector(`#${m}`)){const v=document.createElement("style");v.id=m,v.textContent=se,f.appendChild(v)}const w=document.createElement("div");f.appendChild(w);const B=new V,S=new K.SlideRunner({container:w,adapter:B,adapterOptions:{swiperConfig:s.swiperOptions}});return await S.run(p,e),S}exports.SwiperAdapter=V;exports.createSlideRunner=ne;
2
2
  //# sourceMappingURL=index.cjs.map