@slidejs/runner-swiper 0.1.3 → 0.1.4

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,33 +1,19 @@
1
1
 
2
- > @slidejs/runner-swiper@0.1.3 build /Volumes/ORICO/ws/prj/slidejs/slidejs/packages/@slidejs/runner-swiper
2
+ > @slidejs/runner-swiper@0.1.4 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
- 37 modules transformed.
7
+ 39 modules transformed.
8
8
  rendering chunks...
9
9
 
10
10
  [vite:dts] Start generate declaration files...
11
11
  computing gzip size...
12
- src/adapter.ts:9:15 - error TS2614: Module '"swiper"' has no exported member 'SwiperOptions'. Did you mean to use 'import SwiperOptions from "swiper"' instead?
13
-
14
- 9 import type { SwiperOptions } from 'swiper';
15
-    ~~~~~~~~~~~~~
16
- src/adapter.ts:359:10 - error TS2352: Conversion of type 'HTMLElement' to type 'Record<string, unknown>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
17
- Index signature for type 'string' is missing in type 'HTMLElement'.
18
-
19
- 359 (element as Record<string, unknown>)[key] = value;
20
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
21
- src/types.ts:7:15 - error TS2614: Module '"swiper"' has no exported member 'SwiperOptions'. Did you mean to use 'import SwiperOptions from "swiper"' instead?
22
-
23
- 7 import type { SwiperOptions } from 'swiper';
24
-    ~~~~~~~~~~~~~
25
-
26
- dist/index.mjs 40.72 kB │ gzip: 12.40 kB │ map: 95.75 kB
12
+ dist/index.mjs 47.91 kB gzip: 13.44 kB map: 97.17 kB
27
13
  [vite:dts] Start rollup declaration files...
28
14
  Analysis will use the bundled TypeScript version 5.8.2
29
15
  *** The target project appears to use TypeScript 5.9.3 which is newer than the bundled compiler engine; consider upgrading API Extractor.
30
- [vite:dts] Declaration files built in 7244ms.
16
+ [vite:dts] Declaration files built in 7159ms.
31
17
 
32
- dist/index.cjs 31.51 kB │ gzip: 10.60 kB │ map: 92.50 kB
33
- ✓ built in 8.55s
18
+ dist/index.cjs 38.63 kB │ gzip: 11.65 kB │ map: 93.90 kB
19
+ ✓ built in 8.62s
package/dist/index.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const $=require("swiper"),T=require("@slidejs/dsl"),K=require("@slidejs/runner");function I(s){return s!==null&&typeof s=="object"&&"constructor"in s&&s.constructor===Object}function G(s,e){s===void 0&&(s={}),e===void 0&&(e={});const n=["__proto__","constructor","prototype"];Object.keys(e).filter(i=>n.indexOf(i)<0).forEach(i=>{typeof s[i]>"u"?s[i]=e[i]:I(e[i])&&I(s[i])&&Object.keys(e[i]).length>0&&G(s[i],e[i])})}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 s=typeof document<"u"?document:{};return G(s,q),s}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(s){return typeof setTimeout>"u"?(s(),null):setTimeout(s,0)},cancelAnimationFrame(s){typeof setTimeout>"u"||clearTimeout(s)}};function H(){const s=typeof window<"u"?window:{};return G(s,J),s}function X(s){return s===void 0&&(s=""),s.trim().split(" ").filter(e=>!!e.trim())}function _(s,e){e===void 0&&(e="");const n=H(),i=[...s.children];return n.HTMLSlotElement&&s instanceof HTMLSlotElement&&i.push(...s.assignedElements()),e?i.filter(l=>l.matches(e)):i}function ee(s,e){e===void 0&&(e=[]);const n=document.createElement(s);return n.classList.add(...Array.isArray(e)?e:X(e)),n}function te(s){const e=H(),n=W(),i=s.getBoundingClientRect(),l=n.body,a=s.clientTop||l.clientTop||0,m=s.clientLeft||l.clientLeft||0,A=s===e?e.scrollY:s.scrollTop,f=s===e?e.scrollX:s.scrollLeft;return{top:i.top+A-a,left:i.left+f-m}}function O(s){let e=s,n;if(e){for(n=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(n+=1);return n}}function N(s,e){const n=[];let i=s.parentElement;for(;i;)e?i.matches(e)&&n.push(i):n.push(i),i=i.parentElement;return n}function ie(s,e,n){const i=H();return s[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(s,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(s,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom"))}function x(s){return(Array.isArray(s)?s:[s]).filter(e=>!!e)}function F(s,e){e===void 0&&(e=""),typeof trustedTypes<"u"?s.innerHTML=trustedTypes.createPolicy("html",{createHTML:n=>n}).createHTML(e):s.innerHTML=e}function Q(s){let{swiper:e,extendParams:n,on:i,emit:l}=s;const a=W(),m=H();e.keyboard={enabled:!1},n({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}});function A(M){if(!e.enabled)return;const{rtlTranslate:v}=e;let w=M;w.originalEvent&&(w=w.originalEvent);const B=w.keyCode||w.charCode,d=e.params.keyboard.pageUpDown,p=d&&B===33,u=d&&B===34,g=B===37,t=B===39,r=B===38,o=B===40;if(!e.allowSlideNext&&(e.isHorizontal()&&t||e.isVertical()&&o||u)||!e.allowSlidePrev&&(e.isHorizontal()&&g||e.isVertical()&&r||p))return!1;if(!(w.shiftKey||w.altKey||w.ctrlKey||w.metaKey)&&!(a.activeElement&&(a.activeElement.isContentEditable||a.activeElement.nodeName&&(a.activeElement.nodeName.toLowerCase()==="input"||a.activeElement.nodeName.toLowerCase()==="textarea")))){if(e.params.keyboard.onlyInViewport&&(p||u||g||t||r||o)){let c=!1;if(N(e.el,`.${e.params.slideClass}, swiper-slide`).length>0&&N(e.el,`.${e.params.slideActiveClass}`).length===0)return;const E=e.el,z=E.clientWidth,Y=E.clientHeight,b=m.innerWidth,k=m.innerHeight,h=te(E);v&&(h.left-=E.scrollLeft);const D=[[h.left,h.top],[h.left+z,h.top],[h.left,h.top+Y],[h.left+z,h.top+Y]];for(let C=0;C<D.length;C+=1){const y=D[C];if(y[0]>=0&&y[0]<=b&&y[1]>=0&&y[1]<=k){if(y[0]===0&&y[1]===0)continue;c=!0}}if(!c)return}e.isHorizontal()?((p||u||g||t)&&(w.preventDefault?w.preventDefault():w.returnValue=!1),((u||t)&&!v||(p||g)&&v)&&e.slideNext(),((p||g)&&!v||(u||t)&&v)&&e.slidePrev()):((p||u||r||o)&&(w.preventDefault?w.preventDefault():w.returnValue=!1),(u||o)&&e.slideNext(),(p||r)&&e.slidePrev()),l("keyPress",B)}}function f(){e.keyboard.enabled||(a.addEventListener("keydown",A),e.keyboard.enabled=!0)}function S(){e.keyboard.enabled&&(a.removeEventListener("keydown",A),e.keyboard.enabled=!1)}i("init",()=>{e.params.keyboard.enabled&&f()}),i("destroy",()=>{e.keyboard.enabled&&S()}),Object.assign(e.keyboard,{enable:f,disable:S})}function R(s,e,n,i){return s.params.createElements&&Object.keys(i).forEach(l=>{if(!n[l]&&n.auto===!0){let a=_(s.el,`.${i[l]}`)[0];a||(a=ee("div",i[l]),a.className=i[l],s.el.append(a)),n[l]=a,e[l]=a}}),n}function Z(s){let{swiper:e,extendParams:n,on:i,emit:l}=s;n({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(d){let p;return d&&typeof d=="string"&&e.isElement&&(p=e.el.querySelector(d)||e.hostEl.querySelector(d),p)?p:(d&&(typeof d=="string"&&(p=[...document.querySelectorAll(d)]),e.params.uniqueNavElements&&typeof d=="string"&&p&&p.length>1&&e.el.querySelectorAll(d).length===1?p=e.el.querySelector(d):p&&p.length===1&&(p=p[0])),d&&!p?d:p)}function m(d,p){const u=e.params.navigation;d=x(d),d.forEach(g=>{g&&(g.classList[p?"add":"remove"](...u.disabledClass.split(" ")),g.tagName==="BUTTON"&&(g.disabled=p),e.params.watchOverflow&&e.enabled&&g.classList[e.isLocked?"add":"remove"](u.lockClass))})}function A(){const{nextEl:d,prevEl:p}=e.navigation;if(e.params.loop){m(p,!1),m(d,!1);return}m(p,e.isBeginning&&!e.params.rewind),m(d,e.isEnd&&!e.params.rewind)}function f(d){d.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),l("navigationPrev"))}function S(d){d.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),l("navigationNext"))}function M(){const d=e.params.navigation;if(e.params.navigation=R(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(d.nextEl||d.prevEl))return;let p=a(d.nextEl),u=a(d.prevEl);Object.assign(e.navigation,{nextEl:p,prevEl:u}),p=x(p),u=x(u);const g=(t,r)=>{t&&t.addEventListener("click",r==="next"?S:f),!e.enabled&&t&&t.classList.add(...d.lockClass.split(" "))};p.forEach(t=>g(t,"next")),u.forEach(t=>g(t,"prev"))}function v(){let{nextEl:d,prevEl:p}=e.navigation;d=x(d),p=x(p);const u=(g,t)=>{g.removeEventListener("click",t==="next"?S:f),g.classList.remove(...e.params.navigation.disabledClass.split(" "))};d.forEach(g=>u(g,"next")),p.forEach(g=>u(g,"prev"))}i("init",()=>{e.params.navigation.enabled===!1?B():(M(),A())}),i("toEdge fromEdge lock unlock",()=>{A()}),i("destroy",()=>{v()}),i("enable disable",()=>{let{nextEl:d,prevEl:p}=e.navigation;if(d=x(d),p=x(p),e.enabled){A();return}[...d,...p].filter(u=>!!u).forEach(u=>u.classList.add(e.params.navigation.lockClass))}),i("click",(d,p)=>{let{nextEl:u,prevEl:g}=e.navigation;u=x(u),g=x(g);const t=p.target;let r=g.includes(t)||u.includes(t);if(e.isElement&&!r){const o=p.path||p.composedPath&&p.composedPath();o&&(r=o.find(c=>u.includes(c)||g.includes(c)))}if(e.params.navigation.hideOnClick&&!r){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===t||e.pagination.el.contains(t)))return;let o;u.length?o=u[0].classList.contains(e.params.navigation.hiddenClass):g.length&&(o=g[0].classList.contains(e.params.navigation.hiddenClass)),l(o===!0?"navigationShow":"navigationHide"),[...u,...g].filter(c=>!!c).forEach(c=>c.classList.toggle(e.params.navigation.hiddenClass))}});const w=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),M(),A()},B=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),v()};Object.assign(e.navigation,{enable:w,disable:B,update:A,init:M,destroy:v})}function j(s){return s===void 0&&(s=""),`.${s.trim().replace(/([\.:!+\/()[\]])/g,"\\$1").replace(/ /g,".")}`}function U(s){let{swiper:e,extendParams:n,on:i,emit:l}=s;const a="swiper-pagination";n({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:t=>t,formatFractionTotal:t=>t,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 m,A=0;function f(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function S(t,r){const{bulletActiveClass:o}=e.params.pagination;t&&(t=t[`${r==="prev"?"previous":"next"}ElementSibling`],t&&(t.classList.add(`${o}-${r}`),t=t[`${r==="prev"?"previous":"next"}ElementSibling`],t&&t.classList.add(`${o}-${r}-${r}`)))}function M(t,r,o){if(t=t%o,r=r%o,r===t+1)return"next";if(r===t-1)return"previous"}function v(t){const r=t.target.closest(j(e.params.pagination.bulletClass));if(!r)return;t.preventDefault();const o=O(r)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===o)return;const c=M(e.realIndex,o,e.slides.length);c==="next"?e.slideNext():c==="previous"?e.slidePrev():e.slideToLoop(o)}else e.slideTo(o)}function w(){const t=e.rtl,r=e.params.pagination;if(f())return;let o=e.pagination.el;o=x(o);let c,E;const z=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,Y=e.params.loop?Math.ceil(z/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(E=e.previousRealIndex||0,c=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(c=e.snapIndex,E=e.previousSnapIndex):(E=e.previousIndex||0,c=e.activeIndex||0),r.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const b=e.pagination.bullets;let k,h,D;if(r.dynamicBullets&&(m=ie(b[0],e.isHorizontal()?"width":"height"),o.forEach(C=>{C.style[e.isHorizontal()?"width":"height"]=`${m*(r.dynamicMainBullets+4)}px`}),r.dynamicMainBullets>1&&E!==void 0&&(A+=c-(E||0),A>r.dynamicMainBullets-1?A=r.dynamicMainBullets-1:A<0&&(A=0)),k=Math.max(c-A,0),h=k+(Math.min(b.length,r.dynamicMainBullets)-1),D=(h+k)/2),b.forEach(C=>{const y=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(L=>`${r.bulletActiveClass}${L}`)].map(L=>typeof L=="string"&&L.includes(" ")?L.split(" "):L).flat();C.classList.remove(...y)}),o.length>1)b.forEach(C=>{const y=O(C);y===c?C.classList.add(...r.bulletActiveClass.split(" ")):e.isElement&&C.setAttribute("part","bullet"),r.dynamicBullets&&(y>=k&&y<=h&&C.classList.add(...`${r.bulletActiveClass}-main`.split(" ")),y===k&&S(C,"prev"),y===h&&S(C,"next"))});else{const C=b[c];if(C&&C.classList.add(...r.bulletActiveClass.split(" ")),e.isElement&&b.forEach((y,L)=>{y.setAttribute("part",L===c?"bullet-active":"bullet")}),r.dynamicBullets){const y=b[k],L=b[h];for(let P=k;P<=h;P+=1)b[P]&&b[P].classList.add(...`${r.bulletActiveClass}-main`.split(" "));S(y,"prev"),S(L,"next")}}if(r.dynamicBullets){const C=Math.min(b.length,r.dynamicMainBullets+4),y=(m*C-m)/2-D*m,L=t?"right":"left";b.forEach(P=>{P.style[e.isHorizontal()?L:"top"]=`${y}px`})}}o.forEach((b,k)=>{if(r.type==="fraction"&&(b.querySelectorAll(j(r.currentClass)).forEach(h=>{h.textContent=r.formatFractionCurrent(c+1)}),b.querySelectorAll(j(r.totalClass)).forEach(h=>{h.textContent=r.formatFractionTotal(Y)})),r.type==="progressbar"){let h;r.progressbarOpposite?h=e.isHorizontal()?"vertical":"horizontal":h=e.isHorizontal()?"horizontal":"vertical";const D=(c+1)/Y;let C=1,y=1;h==="horizontal"?C=D:y=D,b.querySelectorAll(j(r.progressbarFillClass)).forEach(L=>{L.style.transform=`translate3d(0,0,0) scaleX(${C}) scaleY(${y})`,L.style.transitionDuration=`${e.params.speed}ms`})}r.type==="custom"&&r.renderCustom?(F(b,r.renderCustom(e,c+1,Y)),k===0&&l("paginationRender",b)):(k===0&&l("paginationRender",b),l("paginationUpdate",b)),e.params.watchOverflow&&e.enabled&&b.classList[e.isLocked?"add":"remove"](r.lockClass)})}function B(){const t=e.params.pagination;if(f())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=x(o);let c="";if(t.type==="bullets"){let E=e.params.loop?Math.ceil(r/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&E>r&&(E=r);for(let z=0;z<E;z+=1)t.renderBullet?c+=t.renderBullet.call(e,z,t.bulletClass):c+=`<${t.bulletElement} ${e.isElement?'part="bullet"':""} class="${t.bulletClass}"></${t.bulletElement}>`}t.type==="fraction"&&(t.renderFraction?c=t.renderFraction.call(e,t.currentClass,t.totalClass):c=`<span class="${t.currentClass}"></span> / <span class="${t.totalClass}"></span>`),t.type==="progressbar"&&(t.renderProgressbar?c=t.renderProgressbar.call(e,t.progressbarFillClass):c=`<span class="${t.progressbarFillClass}"></span>`),e.pagination.bullets=[],o.forEach(E=>{t.type!=="custom"&&F(E,c||""),t.type==="bullets"&&e.pagination.bullets.push(...E.querySelectorAll(j(t.bulletClass)))}),t.type!=="custom"&&l("paginationRender",o[0])}function d(){e.params.pagination=R(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const t=e.params.pagination;if(!t.el)return;let r;typeof t.el=="string"&&e.isElement&&(r=e.el.querySelector(t.el)),!r&&typeof t.el=="string"&&(r=[...document.querySelectorAll(t.el)]),r||(r=t.el),!(!r||r.length===0)&&(e.params.uniqueNavElements&&typeof t.el=="string"&&Array.isArray(r)&&r.length>1&&(r=[...e.el.querySelectorAll(t.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=x(r),r.forEach(o=>{t.type==="bullets"&&t.clickable&&o.classList.add(...(t.clickableClass||"").split(" ")),o.classList.add(t.modifierClass+t.type),o.classList.add(e.isHorizontal()?t.horizontalClass:t.verticalClass),t.type==="bullets"&&t.dynamicBullets&&(o.classList.add(`${t.modifierClass}${t.type}-dynamic`),A=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),t.type==="progressbar"&&t.progressbarOpposite&&o.classList.add(t.progressbarOppositeClass),t.clickable&&o.addEventListener("click",v),e.enabled||o.classList.add(t.lockClass)}))}function p(){const t=e.params.pagination;if(f())return;let r=e.pagination.el;r&&(r=x(r),r.forEach(o=>{o.classList.remove(t.hiddenClass),o.classList.remove(t.modifierClass+t.type),o.classList.remove(e.isHorizontal()?t.horizontalClass:t.verticalClass),t.clickable&&(o.classList.remove(...(t.clickableClass||"").split(" ")),o.removeEventListener("click",v))})),e.pagination.bullets&&e.pagination.bullets.forEach(o=>o.classList.remove(...t.bulletActiveClass.split(" ")))}i("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const t=e.params.pagination;let{el:r}=e.pagination;r=x(r),r.forEach(o=>{o.classList.remove(t.horizontalClass,t.verticalClass),o.classList.add(e.isHorizontal()?t.horizontalClass:t.verticalClass)})}),i("init",()=>{e.params.pagination.enabled===!1?g():(d(),B(),w())}),i("activeIndexChange",()=>{typeof e.snapIndex>"u"&&w()}),i("snapIndexChange",()=>{w()}),i("snapGridLengthChange",()=>{B(),w()}),i("destroy",()=>{p()}),i("enable disable",()=>{let{el:t}=e.pagination;t&&(t=x(t),t.forEach(r=>r.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),i("lock unlock",()=>{w()}),i("click",(t,r)=>{const o=r.target,c=x(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&c&&c.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 E=c[0].classList.contains(e.params.pagination.hiddenClass);l(E===!0?"paginationShow":"paginationHide"),c.forEach(z=>z.classList.toggle(e.params.pagination.hiddenClass))}});const u=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:t}=e.pagination;t&&(t=x(t),t.forEach(r=>r.classList.remove(e.params.pagination.paginationDisabledClass))),d(),B(),w()},g=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:t}=e.pagination;t&&(t=x(t),t.forEach(r=>r.classList.add(e.params.pagination.paginationDisabledClass))),p()};Object.assign(e.pagination,{enable:u,disable:g,render:B,update:w,init:d,destroy:p})}$.Swiper.use([Z,U,Q]);class V{constructor(){this.name="swiper",this.eventHandlers=new Map}async initialize(e,n){try{if(this.createSwiperStructure(e),!this.swiperContainer||!this.swiperWrapper)throw new Error("Swiper container not created");const i={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},...n?.swiperConfig};this.swiper=new $.Swiper(this.swiperContainer,i),await new Promise(l=>{requestAnimationFrame(()=>{l()})}),this.setupEventListeners(),this.emit("ready")}catch(i){const l=i instanceof Error?i.message:String(i);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 n of e){const i=await this.renderSlide(n);this.swiperWrapper.appendChild(i)}this.swiper.update(),this.emit("slideRendered",{totalSlides:e.length})}catch(n){const i=n instanceof Error?n.message:String(n);throw this.emit("error",{message:i}),new Error(`Failed to render slides: ${i}`)}}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,n){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 a=await this.renderSlide(n);l.replaceWith(a),this.swiper.update()}catch(i){const l=i instanceof Error?i.message:String(i);throw this.emit("error",{message:l}),new Error(`Failed to update slide: ${l}`)}}on(e,n){this.eventHandlers.has(e)||this.eventHandlers.set(e,new Set),this.eventHandlers.get(e).add(n)}off(e,n){const i=this.eventHandlers.get(e);i&&i.delete(n)}createSwiperStructure(e){e.className="swiper";const n=document.createElement("div");n.className="swiper-wrapper";const i=document.createElement("div");i.className="swiper-button-prev";const l=document.createElement("div");l.className="swiper-button-next";const a=document.createElement("div");a.className="swiper-pagination",e.appendChild(n),e.appendChild(i),e.appendChild(l),e.appendChild(a),this.swiperContainer=e,this.swiperWrapper=n}setupEventListeners(){this.swiper&&this.swiper.on("slideChange",()=>{const e=this.swiper.activeIndex,n=this.swiper.previousIndex;this.emit("slideChanged",{index:e,previousIndex:n,from:n,to:e})})}async renderSlide(e){const n=document.createElement("div");if(n.className="swiper-slide",e.behavior?.transition){const i=this.mapTransition(e.behavior.transition.type);i&&n.classList.add(`slide-transition-${i}`)}if(e.content.type==="dynamic"){const i=await this.renderDynamicContent(e.content.component,e.content.props);n.appendChild(i)}else{const i=this.renderTextContent(e.content.lines);n.appendChild(i)}return n}async renderDynamicContent(e,n){const i=document.createElement(e);for(const[l,a]of Object.entries(n))typeof a=="string"||typeof a=="number"?i.setAttribute(l,String(a)):typeof a=="boolean"?a&&i.setAttribute(l,""):i[l]=a;return i}renderTextContent(e){const n=document.createElement("div");n.className="slide-content";let i=null;for(const l of e){const a=l.trim();if(!a){i=null;continue}if(a.startsWith("# ")){i=null;const f=document.createElement("h1");f.textContent=a.substring(2),n.appendChild(f);continue}if(a.startsWith("## ")){i=null;const f=document.createElement("h2");f.textContent=a.substring(3),n.appendChild(f);continue}if(a.startsWith("### ")){i=null;const f=document.createElement("h3");f.textContent=a.substring(4),n.appendChild(f);continue}const m=a.match(/^!\[(.*?)\]\((.*?)\)$/);if(m){i=null;const f=document.createElement("img");f.alt=m[1],f.src=m[2],f.style.maxWidth="80%",f.style.maxHeight="500px",n.appendChild(f);continue}if(a.startsWith("- ")){i||(i=document.createElement("ul"),n.appendChild(i));const f=document.createElement("li");f.textContent=a.substring(2),i.appendChild(f);continue}i=null;const A=document.createElement("p");A.textContent=a,n.appendChild(A)}return n}mapTransition(e){return!e||e==="none"?null:e}emit(e,n){const i=this.eventHandlers.get(e);if(i)for(const l of i)try{l(n)}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)}}',ne=".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 se(s,e,n){const i=await T.parseSlideDSL(s),l=T.compile(i);if(!document.head.querySelector("#swiper-styles")){const v=document.createElement("style");v.id="swiper-styles",v.textContent=re,document.head.appendChild(v)}let m;if(typeof n.container=="string"){const v=document.querySelector(n.container);if(!v)throw new Error(`Container not found: ${n.container}`);m=v}else m=n.container;const A="slidejs-runner-swiper-styles";if(!m.querySelector(`#${A}`)){const v=document.createElement("style");v.id=A,v.textContent=ne,m.appendChild(v)}const f=document.createElement("div");m.appendChild(f);const S=new V,M=new K.SlideRunner({container:f,adapter:S,adapterOptions:{swiperConfig:n.swiperOptions}});return await M.run(l,e),M}exports.SwiperAdapter=V;exports.createSlideRunner=se;
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;
2
2
  //# sourceMappingURL=index.cjs.map