diff --git a/demo/assets/iuav-ui8.js b/demo/assets/iuav-ui8.js deleted file mode 100644 index 3f6c696..0000000 --- a/demo/assets/iuav-ui8.js +++ /dev/null @@ -1,2888 +0,0 @@ -(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const n of r)if(n.type==="childList")for(const o of n.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function t(r){const n={};return r.integrity&&(n.integrity=r.integrity),r.referrerPolicy&&(n.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?n.credentials="include":r.crossOrigin==="anonymous"?n.credentials="omit":n.credentials="same-origin",n}function s(r){if(r.ep)return;r.ep=!0;const n=t(r);fetch(r.href,n)}})();/** - * @license - * Copyright 2019 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */const ht=globalThis,ni=ht.ShadowRoot&&(ht.ShadyCSS===void 0||ht.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,oi=Symbol(),mi=new WeakMap;let zi=class{constructor(e,t,s){if(this._$cssResult$=!0,s!==oi)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o;const t=this.t;if(ni&&e===void 0){const s=t!==void 0&&t.length===1;s&&(e=mi.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),s&&mi.set(t,e))}return e}toString(){return this.cssText}};const C=i=>new zi(typeof i=="string"?i:i+"",void 0,oi),_=(i,...e)=>{const t=i.length===1?i[0]:e.reduce((s,r,n)=>s+(o=>{if(o._$cssResult$===!0)return o.cssText;if(typeof o=="number")return o;throw Error("Value passed to 'css' function must be a 'css' function result: "+o+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+i[n+1],i[0]);return new zi(t,i,oi)},rs=(i,e)=>{if(ni)i.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(const t of e){const s=document.createElement("style"),r=ht.litNonce;r!==void 0&&s.setAttribute("nonce",r),s.textContent=t.cssText,i.appendChild(s)}},vi=ni?i=>i:i=>i instanceof CSSStyleSheet?(e=>{let t="";for(const s of e.cssRules)t+=s.cssText;return C(t)})(i):i;/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */const{is:ns,defineProperty:os,getOwnPropertyDescriptor:as,getOwnPropertyNames:ls,getOwnPropertySymbols:ds,getPrototypeOf:cs}=Object,re=globalThis,wi=re.trustedTypes,ps=wi?wi.emptyScript:"",Ht=re.reactiveElementPolyfillSupport,We=(i,e)=>i,gt={toAttribute(i,e){switch(e){case Boolean:i=i?ps:null;break;case Object:case Array:i=i==null?i:JSON.stringify(i)}return i},fromAttribute(i,e){let t=i;switch(e){case Boolean:t=i!==null;break;case Number:t=i===null?null:Number(i);break;case Object:case Array:try{t=JSON.parse(i)}catch{t=null}}return t}},ai=(i,e)=>!ns(i,e),bi={attribute:!0,type:String,converter:gt,reflect:!1,hasChanged:ai};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),re.litPropertyMetadata??(re.litPropertyMetadata=new WeakMap);class _e extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??(this.l=[])).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=bi){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(e,t),!t.noAccessor){const s=Symbol(),r=this.getPropertyDescriptor(e,s,t);r!==void 0&&os(this.prototype,e,r)}}static getPropertyDescriptor(e,t,s){const{get:r,set:n}=as(this.prototype,e)??{get(){return this[t]},set(o){this[t]=o}};return{get(){return r==null?void 0:r.call(this)},set(o){const l=r==null?void 0:r.call(this);n.call(this,o),this.requestUpdate(e,l,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??bi}static _$Ei(){if(this.hasOwnProperty(We("elementProperties")))return;const e=cs(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(We("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(We("properties"))){const t=this.properties,s=[...ls(t),...ds(t)];for(const r of s)this.createProperty(r,t[r])}const e=this[Symbol.metadata];if(e!==null){const t=litPropertyMetadata.get(e);if(t!==void 0)for(const[s,r]of t)this.elementProperties.set(s,r)}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const r=this._$Eu(t,s);r!==void 0&&this._$Eh.set(r,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const s=new Set(e.flat(1/0).reverse());for(const r of s)t.unshift(vi(r))}else e!==void 0&&t.push(vi(e));return t}static _$Eu(e,t){const s=t.attribute;return s===!1?void 0:typeof s=="string"?s:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var e;this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),(e=this.constructor.l)==null||e.forEach(t=>t(this))}addController(e){var t;(this._$EO??(this._$EO=new Set)).add(e),this.renderRoot!==void 0&&this.isConnected&&((t=e.hostConnected)==null||t.call(e))}removeController(e){var t;(t=this._$EO)==null||t.delete(e)}_$E_(){const e=new Map,t=this.constructor.elementProperties;for(const s of t.keys())this.hasOwnProperty(s)&&(e.set(s,this[s]),delete this[s]);e.size>0&&(this._$Ep=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return rs(e,this.constructor.elementStyles),e}connectedCallback(){var e;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$EO)==null||e.forEach(t=>{var s;return(s=t.hostConnected)==null?void 0:s.call(t)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$EO)==null||e.forEach(t=>{var s;return(s=t.hostDisconnected)==null?void 0:s.call(t)})}attributeChangedCallback(e,t,s){this._$AK(e,s)}_$EC(e,t){var n;const s=this.constructor.elementProperties.get(e),r=this.constructor._$Eu(e,s);if(r!==void 0&&s.reflect===!0){const o=(((n=s.converter)==null?void 0:n.toAttribute)!==void 0?s.converter:gt).toAttribute(t,s.type);this._$Em=e,o==null?this.removeAttribute(r):this.setAttribute(r,o),this._$Em=null}}_$AK(e,t){var n;const s=this.constructor,r=s._$Eh.get(e);if(r!==void 0&&this._$Em!==r){const o=s.getPropertyOptions(r),l=typeof o.converter=="function"?{fromAttribute:o.converter}:((n=o.converter)==null?void 0:n.fromAttribute)!==void 0?o.converter:gt;this._$Em=r,this[r]=l.fromAttribute(t,o.type),this._$Em=null}}requestUpdate(e,t,s){if(e!==void 0){if(s??(s=this.constructor.getPropertyOptions(e)),!(s.hasChanged??ai)(this[e],t))return;this.P(e,t,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(e,t,s){this._$AL.has(e)||this._$AL.set(e,t),s.reflect===!0&&this._$Em!==e&&(this._$Ej??(this._$Ej=new Set)).add(e)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var s;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[n,o]of this._$Ep)this[n]=o;this._$Ep=void 0}const r=this.constructor.elementProperties;if(r.size>0)for(const[n,o]of r)o.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.P(n,this[n],o)}let e=!1;const t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),(s=this._$EO)==null||s.forEach(r=>{var n;return(n=r.hostUpdate)==null?void 0:n.call(r)}),this.update(t)):this._$EU()}catch(r){throw e=!1,this._$EU(),r}e&&this._$AE(t)}willUpdate(e){}_$AE(e){var t;(t=this._$EO)==null||t.forEach(s=>{var r;return(r=s.hostUpdated)==null?void 0:r.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Ej&&(this._$Ej=this._$Ej.forEach(t=>this._$EC(t,this[t]))),this._$EU()}updated(e){}firstUpdated(e){}}_e.elementStyles=[],_e.shadowRootOptions={mode:"open"},_e[We("elementProperties")]=new Map,_e[We("finalized")]=new Map,Ht==null||Ht({ReactiveElement:_e}),(re.reactiveElementVersions??(re.reactiveElementVersions=[])).push("2.0.4");/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */const Xe=globalThis,mt=Xe.trustedTypes,yi=mt?mt.createPolicy("lit-html",{createHTML:i=>i}):void 0,ki="$lit$",ie=`lit$${Math.random().toFixed(9).slice(2)}$`,Ii="?"+ie,us=`<${Ii}>`,ve=document,Qe=()=>ve.createComment(""),Ke=i=>i===null||typeof i!="object"&&typeof i!="function",li=Array.isArray,hs=i=>li(i)||typeof(i==null?void 0:i[Symbol.iterator])=="function",Nt=`[ -\f\r]`,qe=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,xi=/-->/g,Ai=/>/g,ge=RegExp(`>|${Nt}(?:([^\\s"'>=/]+)(${Nt}*=${Nt}*(?:[^ -\f\r"'\`<>=]|("|')|))|$)`,"g"),$i=/'/g,Si=/"/g,Di=/^(?:script|style|textarea|title)$/i,fs=i=>(e,...t)=>({_$litType$:i,strings:e,values:t}),w=fs(1),we=Symbol.for("lit-noChange"),N=Symbol.for("lit-nothing"),Ei=new WeakMap,me=ve.createTreeWalker(ve,129);function Bi(i,e){if(!li(i)||!i.hasOwnProperty("raw"))throw Error("invalid template strings array");return yi!==void 0?yi.createHTML(e):e}const gs=(i,e)=>{const t=i.length-1,s=[];let r,n=e===2?"":e===3?"":"",o=qe;for(let l=0;l"?(o=r??qe,c=-1):u[1]===void 0?c=-2:(c=o.lastIndex-u[2].length,d=u[1],o=u[3]===void 0?ge:u[3]==='"'?Si:$i):o===Si||o===$i?o=ge:o===xi||o===Ai?o=qe:(o=ge,r=void 0);const m=o===ge&&i[l+1].startsWith("/>")?" ":"";n+=o===qe?a+us:c>=0?(s.push(d),a.slice(0,c)+ki+a.slice(c)+ie+m):a+ie+(c===-2?l:m)}return[Bi(i,n+(i[t]||"")+(e===2?"":e===3?"":"")),s]};class Je{constructor({strings:e,_$litType$:t},s){let r;this.parts=[];let n=0,o=0;const l=e.length-1,a=this.parts,[d,u]=gs(e,t);if(this.el=Je.createElement(d,s),me.currentNode=this.el.content,t===2||t===3){const c=this.el.content.firstChild;c.replaceWith(...c.childNodes)}for(;(r=me.nextNode())!==null&&a.length0){r.textContent=mt?mt.emptyScript:"";for(let m=0;m2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=N}_$AI(e,t=this,s,r){const n=this.strings;let o=!1;if(n===void 0)e=Oe(this,e,t,0),o=!Ke(e)||e!==this._$AH&&e!==we,o&&(this._$AH=e);else{const l=e;let a,d;for(e=n[0],a=0;a{const s=(t==null?void 0:t.renderBefore)??e;let r=s._$litPart$;if(r===void 0){const n=(t==null?void 0:t.renderBefore)??null;s._$litPart$=r=new it(e.insertBefore(Qe(),n),n,void 0,t??{})}return r._$AI(i),r};/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */let T=class extends _e{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t;const e=super.createRenderRoot();return(t=this.renderOptions).renderBefore??(t.renderBefore=e.firstChild),e}update(e){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=xs(t,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),(e=this._$Do)==null||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this._$Do)==null||e.setConnected(!1)}render(){return we}};var Li;T._$litElement$=!0,T.finalized=!0,(Li=globalThis.litElementHydrateSupport)==null||Li.call(globalThis,{LitElement:T});const Gt=globalThis.litElementPolyfillSupport;Gt==null||Gt({LitElement:T});(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.1.1");/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */const M=i=>(e,t)=>{t!==void 0?t.addInitializer(()=>{customElements.define(i,e)}):customElements.define(i,e)};/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */const As={attribute:!0,type:String,converter:gt,reflect:!1,hasChanged:ai},$s=(i=As,e,t)=>{const{kind:s,metadata:r}=t;let n=globalThis.litPropertyMetadata.get(r);if(n===void 0&&globalThis.litPropertyMetadata.set(r,n=new Map),n.set(t.name,i),s==="accessor"){const{name:o}=t;return{set(l){const a=e.get.call(this);e.set.call(this,l),this.requestUpdate(o,a,i)},init(l){return l!==void 0&&this.P(o,void 0,i),l}}}if(s==="setter"){const{name:o}=t;return function(l){const a=this[o];e.call(this,l),this.requestUpdate(o,a,i)}}throw Error("Unsupported decorator location: "+s)};function f(i){return(e,t)=>typeof t=="object"?$s(i,e,t):((s,r,n)=>{const o=r.hasOwnProperty(n);return r.constructor.createProperty(n,o?{...s,wrapped:!0}:s),o?Object.getOwnPropertyDescriptor(r,n):void 0})(i,e,t)}/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */function Ss(i){return f({...i,state:!0,attribute:!1})}/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */const di=(i,e,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(i,e,t),t);/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */function st(i,e){return(t,s,r)=>{const n=o=>{var l;return((l=o.renderRoot)==null?void 0:l.querySelector(i))??null};return di(t,s,{get(){return n(this)}})}}/** - * @license - * Copyright 2021 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */function Hi(i){return(e,t)=>{const{slot:s,selector:r}=i??{},n="slot"+(s?`[name=${s}]`:":not([name])");return di(e,t,{get(){var a;const o=(a=this.renderRoot)==null?void 0:a.querySelector(n),l=(o==null?void 0:o.assignedElements(i))??[];return r===void 0?l:l.filter(d=>d.matches(r))}})}}/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */function rt(i){return(e,t)=>{const{slot:s}={},r="slot"+(s?`[name=${s}]`:":not([name])");return di(e,t,{get(){var o;const n=(o=this.renderRoot)==null?void 0:o.querySelector(r);return(n==null?void 0:n.assignedNodes(i))??[]}})}}const O={md:"(min-width: 48rem)",lg:"(min-width: 62rem)",xl:"(min-width: 80rem)",xxl:"(min-width: 120rem)"};var Es=Object.defineProperty,Ps=Object.getOwnPropertyDescriptor,pe=(i,e,t,s)=>{for(var r=s>1?void 0:s?Ps(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&Es(e,t,r),r};let q=class extends T{constructor(){super(...arguments),this.text="",this.index=0,this.columns=!1,this.isOpen=!1,this.controlled=!1,this.size=1}toggleAccordion(){this.controlled?this.dispatchEvent(new CustomEvent("iu-toggle-accordion",{detail:{index:this.index},bubbles:!0,composed:!0})):this.isOpen=!this.isOpen,this.classList.toggle("is-open")}updateSlottedElements(){this.slotElement.assignedElements({flatten:!0}).forEach(e=>{e instanceof HTMLElement&&e.setAttribute("nested","true")})}firstUpdated(){super.firstUpdated(),this.updateSlottedElements()}render(){return w` -
- -
- -
-
- `}};q.styles=_` - :host{ - --iu-comp-bg: transparent; - --iu-comp-color: var(--iu-color-black); - --iu-comp-bg-hover: var(--iu-color-black); - --iu-comp-color-hover: var(--iu-color-white); - --iu-comp-border-color: var(--iu-color-grey-200); - --iu-comp-border-color-hover: var(--iu-color-grey-500); - } - :host:has(.accordion.is-open){ - border-bottom: 1px solid var(--iu-comp-border-color-hover); - } - .accordion{ - border-top: 1px solid var(--iu-comp-border-color); - cursor: pointer; - color: var(--iu-comp-color); - background: var(--iu-comp-bg); - } - .accordion.is-open, - .accordion.is-open button, - :host(:hover), - :host(:hover) button{ - color: var(--iu-comp-color-hover); - background: var(--iu-comp-bg-hover); - } - .accordion.is-open svg{ - transform: rotate(45deg); - } - button{ - color: var(--iu-comp-color); - background: var(--iu-comp-bg); - cursor: pointer; - border: 0; - position: relative; - font: var(--iu-f-2); - text-align: left; - width: 100%; - padding: 4px 0; - display: flex; - align-items: center; - text-rendering: geometricPrecision; - } - .size-2 button{ - padding: 0; - font: var(--iu-f-lg); - } - svg{ - transition: transform .2s ease; - } - .size-1 svg{ - width: 36px; - height: 36px; - margin-right: .625rem; - margin-top: -2px; - } - .size-2 svg{ - width: 50px; - height: 50px; - margin-right: .9375rem; - margin-top: -2px; - } - @media ${C(O.xl)} { - button{ - } - } - .content{ - display: none; - color: var(--iu-comp-color); - padding-top: var(--iu-spacing-2); - padding-bottom: var(--iu-spacing-6); - padding-left: calc(3.125rem + .9375rem); - padding-right: var(--iu-grid-gutter); - } - .content.is-open{ - display: block; - } - .content.columns-2{ - columns: 2; - gap: var(--iu-grid-gutter); - } - ::slotted(*){ - --iu-comp-color: var(--iu-color-white); - --iu-comp-border-color: var(--iu-color-grey-500); - --iu-comp-bg-hover: var(--iu-color-white); - --iu-comp-color-hover: var(--iu-color-black); - margin-bottom: 0; - color: var(--iu-color-white) !important; - } - `;pe([f()],q.prototype,"text",2);pe([f()],q.prototype,"index",2);pe([f({type:Boolean,reflect:!0})],q.prototype,"columns",2);pe([f({type:Boolean,reflect:!0})],q.prototype,"isOpen",2);pe([f()],q.prototype,"controlled",2);pe([f({type:Number})],q.prototype,"size",2);pe([st("slot")],q.prototype,"slotElement",2);q=pe([M("iu-accordion")],q);var Ts=Object.defineProperty,Cs=Object.getOwnPropertyDescriptor,Ct=(i,e,t,s)=>{for(var r=s>1?void 0:s?Cs(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&Ts(e,t,r),r};let Me=class extends T{constructor(){super(...arguments),this.mode="single",this.columns=!1,this.openAccordions=[]}firstUpdated(){super.firstUpdated(),this.columns&&this.classList.add("columns-2"),this.querySelectorAll("iu-accordion").forEach((i,e)=>{i.index=e,i.controlled=!0})}handleAccordionToggle(i){const{index:e}=i.detail;this.mode==="single"?this.openAccordions=this.openAccordions.includes(e)?[]:[e]:this.mode==="multiple"&&(this.openAccordions.includes(e)?this.openAccordions=this.openAccordions.filter(t=>t!==e):this.openAccordions=[...this.openAccordions,e]),this.updateAccordionStates()}updateAccordionStates(){this.querySelectorAll("iu-accordion").forEach((i,e)=>{const t=this.openAccordions.includes(e);i.isOpen=t})}render(){return w` - -
- -
-
- `}};Me.styles=_` - ::slotted(*:last-child){ - --iu-accordion-border-color-b: var(--iu-color-grey-200); - } - :host(.columns-2) .inner{ - display: grid; - grid-template-columns: repeat(2,1fr); - column-gap: var(--iu-grid-gutter); - } - `;Ct([f({type:String})],Me.prototype,"mode",2);Ct([f({type:Boolean,reflect:!0})],Me.prototype,"columns",2);Ct([f({type:Array})],Me.prototype,"openAccordions",2);Me=Ct([M("iu-accordion-group")],Me);var _s=Object.defineProperty,Os=Object.getOwnPropertyDescriptor,_t=(i,e,t,s)=>{for(var r=s>1?void 0:s?Os(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&_s(e,t,r),r};let Le=class extends T{render(){return this.type=="current",this.href?w` - - `:w` -
  • ${this.text}

  • - `}};Le.styles=_` - :host h1{ - color: var(--iu-color-black); - margin: 0; - font-size: inherit; - font-weight: 400; - font: var(--iu-f-lg); - display: inline; - } - :host li{ - font: var(--iu-f-lg); - display: inline; - } - :host .link a{ - color: var(--iu-color-grey-300); - text-decoration: none; - } - :host .divider{ - color: var(--theme-color-black); - margin-left: var(--iu-spacing-0); - margin-right: var(--iu-spacing-0); - } - `;_t([f()],Le.prototype,"href",2);_t([f()],Le.prototype,"type",2);_t([f()],Le.prototype,"text",2);Le=_t([M("iu-breadcrumbs-item")],Le);var Ms=Object.getOwnPropertyDescriptor,Ls=(i,e,t,s)=>{for(var r=s>1?void 0:s?Ms(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=o(r)||r);return r};let Wt=class extends T{render(){return w` - - - - `}};Wt.styles=_` - :host{ - display: block; - margin-top: var(--iu-spacing-3); - } - @media ${C(O.md)} { - :host{ - margin-top: var(--iu-spacing-7); - } - } - @media ${C(O.xl)} { - :host{ - margin-top: var(--iu-spacing-10); - } - } - :host ul{ - margin: 0; - padding: 0; - list-style-type: none; - } - :host iu-container{ - margin-bottom: 0; - } - `;Wt=Ls([M("iu-breadcrumbs")],Wt);var zs=Object.defineProperty,ks=Object.getOwnPropertyDescriptor,nt=(i,e,t,s)=>{for(var r=s>1?void 0:s?ks(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&zs(e,t,r),r};let be=class extends T{constructor(){super(...arguments),this.tag="a",this.href="#",this.text="",this.icon="none"}render(){return this.tag==="a"?w` - ${this.text} - `:w` - - `}};be.styles=_` - a, button{ - position: relative; - display: inline-flex; - align-items: center; - background: var(--iu-color-grey-100); - padding: 0.375rem 0.75rem; - color: var(--iu-color-black); - text-decoration: none; - border: 0; - font: var(--iu-f-sm); - } - a:hover, button:hover{ - background: var(--iu-color-black); - color: var(--iu-color-white); - } - a:not(.icon-none), button:not(.icon-none){ - padding: 0.375rem 0.75rem 0.375rem 2.5rem; - } - .icon-download::before{ - content: ''; - background-image: url("data:image/svg+xml,%3Csvg fill='none' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 37 37'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='m24.852 19.834-6.354 6.353-6.354-6.353.708-.708 5.146 5.147V9.5h1v14.773l5.146-5.147.708.708ZM27 28H10v-1h17v1Z' fill='%23000'/%3E%3C/svg%3E"); - width: 2.25rem; - aspect-ratio: 1/1; - background-repat: no-repeat; - background-position: center center; - position: absolute; - top: 0; - left: 0; - } - .icon-download:hover::before{ - background-image: url("data:image/svg+xml,%3Csvg fill='none' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 37 37'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='m24.852 19.834-6.354 6.353-6.354-6.353.708-.708 5.146 5.147V9.5h1v14.773l5.146-5.147.708.708ZM27 28H10v-1h17v1Z' fill='%23fff'/%3E%3C/svg%3E"); - } - `;nt([f({type:String})],be.prototype,"tag",2);nt([f({type:String})],be.prototype,"href",2);nt([f({type:String})],be.prototype,"text",2);nt([f({type:String})],be.prototype,"icon",2);be=nt([M("iu-button")],be);var Is=Object.defineProperty,Ds=Object.getOwnPropertyDescriptor,ue=(i,e,t,s)=>{for(var r=s>1?void 0:s?Ds(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&Is(e,t,r),r};let Z=class extends T{constructor(){super(...arguments),this.setCardHeight=()=>{requestAnimationFrame(()=>{const i=this.clientHeight,e=this.cardContent.clientHeight,t=i-e;this.cardImg.style.height=`${t}px`,this.cardContent.style.marginTop=`${t}px`})},this.href="",this.category="Categoria",this.date="01.01.2024",this.name="Default",this.img=""}firstUpdated(){super.firstUpdated();const i=this.cardImg.querySelector("img");i&&i.addEventListener("load",this.setCardHeight),this.setCardHeight(),new ResizeObserver(()=>this.setCardHeight()).observe(this)}render(){return w` - -
    - ${this.img&&w``} -
    -
    -
    - ${this.category} - ${this.date} -
    -

    ${this.name}

    -
    -
    - `}};Z.styles=_` - :host{ - display: block; - } - .card{ - display: block; - text-decoration: none; - color: var(--iu-color-black); - position: relative; - aspect-ratio: 1/1; - overflow: hidden; - } - .card:hover .img{ - height: 100% !important; - } - .img{ - transition: height .2s ease; - position: absolute; - top: 0px; - left: 0px; - width: 100%; - overflow: hidden; - background-image: linear-gradient(to top, var(--iu-color-grey-400), var(--iu-color-grey-200)); - } - .img img{ - width: 100%; - height: 100%; - object-fit: cover; - } - .header{ - padding-top: 0.75rem; - padding-bottom: 0.75rem; - display: flex; - justify-content: space-between; - font: var(--iu-f-0); - color: var(--iu-color-grey-300); - } - .content p{ - font: var(--iu-f-2); - font-weight: bold; - margin-top: 0; - } - `;ue([st(".img")],Z.prototype,"cardImg",2);ue([st(".content")],Z.prototype,"cardContent",2);ue([f()],Z.prototype,"href",2);ue([f()],Z.prototype,"category",2);ue([f()],Z.prototype,"date",2);ue([f()],Z.prototype,"name",2);ue([f()],Z.prototype,"img",2);Z=ue([M("iu-card")],Z);function Pi(i){return i!==null&&typeof i=="object"&&"constructor"in i&&i.constructor===Object}function ci(i,e){i===void 0&&(i={}),e===void 0&&(e={});const t=["__proto__","constructor","prototype"];Object.keys(e).filter(s=>t.indexOf(s)<0).forEach(s=>{typeof i[s]>"u"?i[s]=e[s]:Pi(e[s])&&Pi(i[s])&&Object.keys(e[s]).length>0&&ci(i[s],e[s])})}const Ni={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 Se(){const i=typeof document<"u"?document:{};return ci(i,Ni),i}const Bs={document:Ni,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(i){return typeof setTimeout>"u"?(i(),null):setTimeout(i,0)},cancelAnimationFrame(i){typeof setTimeout>"u"||clearTimeout(i)}};function V(){const i=typeof window<"u"?window:{};return ci(i,Bs),i}function Hs(i){return i===void 0&&(i=""),i.trim().split(" ").filter(e=>!!e.trim())}function Ns(i){const e=i;Object.keys(e).forEach(t=>{try{e[t]=null}catch{}try{delete e[t]}catch{}})}function Xt(i,e){return e===void 0&&(e=0),setTimeout(i,e)}function vt(){return Date.now()}function js(i){const e=V();let t;return e.getComputedStyle&&(t=e.getComputedStyle(i,null)),!t&&i.currentStyle&&(t=i.currentStyle),t||(t=i.style),t}function Gs(i,e){e===void 0&&(e="x");const t=V();let s,r,n;const o=js(i);return t.WebKitCSSMatrix?(r=o.transform||o.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map(l=>l.replace(",",".")).join(", ")),n=new t.WebKitCSSMatrix(r==="none"?"":r)):(n=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),s=n.toString().split(",")),e==="x"&&(t.WebKitCSSMatrix?r=n.m41:s.length===16?r=parseFloat(s[12]):r=parseFloat(s[4])),e==="y"&&(t.WebKitCSSMatrix?r=n.m42:s.length===16?r=parseFloat(s[13]):r=parseFloat(s[5])),r||0}function pt(i){return typeof i=="object"&&i!==null&&i.constructor&&Object.prototype.toString.call(i).slice(8,-1)==="Object"}function Vs(i){return typeof window<"u"&&typeof window.HTMLElement<"u"?i instanceof HTMLElement:i&&(i.nodeType===1||i.nodeType===11)}function F(){const i=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let t=1;te.indexOf(n)<0);for(let n=0,o=r.length;nn?"next":"prev",u=(g,m)=>d==="next"&&g>=m||d==="prev"&&g<=m,c=()=>{l=new Date().getTime(),o===null&&(o=l);const g=Math.max(Math.min((l-o)/a,1),0),m=.5-Math.cos(g*Math.PI)/2;let v=n+m*(t-n);if(u(v,t)&&(v=t),e.wrapperEl.scrollTo({[s]:v}),u(v,t)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[s]:v})}),r.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=r.requestAnimationFrame(c)};c()}function Gi(i){return i.querySelector(".swiper-slide-transform")||i.shadowRoot&&i.shadowRoot.querySelector(".swiper-slide-transform")||i}function U(i,e){e===void 0&&(e="");const t=V(),s=[...i.children];return t.HTMLSlotElement&&i instanceof HTMLSlotElement&&s.push(...i.assignedElements()),e?s.filter(r=>r.matches(e)):s}function Fs(i,e){var s,r;const t=[e];for(;t.length>0;){const n=t.shift();if(i===n)return!0;t.push(...n.children,...((s=n.shadowRoot)==null?void 0:s.children)||[],...((r=n.assignedElements)==null?void 0:r.call(n))||[])}}function Rs(i,e){const t=V();let s=e.contains(i);return!s&&t.HTMLSlotElement&&e instanceof HTMLSlotElement&&(s=[...e.assignedElements()].includes(i),s||(s=Fs(i,e))),s}function wt(i){try{console.warn(i);return}catch{}}function bt(i,e){e===void 0&&(e=[]);const t=document.createElement(i);return t.classList.add(...Array.isArray(e)?e:Hs(e)),t}function Ys(i,e){const t=[];for(;i.previousElementSibling;){const s=i.previousElementSibling;e?s.matches(e)&&t.push(s):t.push(s),i=s}return t}function Us(i,e){const t=[];for(;i.nextElementSibling;){const s=i.nextElementSibling;e?s.matches(e)&&t.push(s):t.push(s),i=s}return t}function se(i,e){return V().getComputedStyle(i,null).getPropertyValue(e)}function yt(i){let e=i,t;if(e){for(t=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(t+=1);return t}}function Vi(i,e){const t=[];let s=i.parentElement;for(;s;)e?s.matches(e)&&t.push(s):t.push(s),s=s.parentElement;return t}function qs(i,e){function t(s){s.target===i&&(e.call(i,s),i.removeEventListener("transitionend",t))}e&&i.addEventListener("transitionend",t)}function Qt(i,e,t){const s=V();return i[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(s.getComputedStyle(i,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(s.getComputedStyle(i,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom"))}function j(i){return(Array.isArray(i)?i:[i]).filter(e=>!!e)}let Vt;function Zs(){const i=V(),e=Se();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in i||i.DocumentTouch&&e instanceof i.DocumentTouch)}}function Fi(){return Vt||(Vt=Zs()),Vt}let Ft;function Ws(i){let{userAgent:e}=i===void 0?{}:i;const t=Fi(),s=V(),r=s.navigator.platform,n=e||s.navigator.userAgent,o={ios:!1,android:!1},l=s.screen.width,a=s.screen.height,d=n.match(/(Android);?[\s\/]+([\d.]+)?/);let u=n.match(/(iPad).*OS\s([\d_]+)/);const c=n.match(/(iPod)(.*OS\s([\d_]+))?/),g=!u&&n.match(/(iPhone\sOS|iOS)\s([\d_]+)/),m=r==="Win32";let v=r==="MacIntel";const b=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!u&&v&&t.touch&&b.indexOf(`${l}x${a}`)>=0&&(u=n.match(/(Version)\/([\d.]+)/),u||(u=[0,1,"13_0_0"]),v=!1),d&&!m&&(o.os="android",o.android=!0),(u||g||c)&&(o.os="ios",o.ios=!0),o}function Ri(i){return i===void 0&&(i={}),Ft||(Ft=Ws(i)),Ft}let Rt;function Xs(){const i=V(),e=Ri();let t=!1;function s(){const l=i.navigator.userAgent.toLowerCase();return l.indexOf("safari")>=0&&l.indexOf("chrome")<0&&l.indexOf("android")<0}if(s()){const l=String(i.navigator.userAgent);if(l.includes("Version/")){const[a,d]=l.split("Version/")[1].split(" ")[0].split(".").map(u=>Number(u));t=a<16||a===16&&d<2}}const r=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(i.navigator.userAgent),n=s(),o=n||r&&e.ios;return{isSafari:t||n,needPerspectiveFix:t,need3dFix:o,isWebView:r}}function Yi(){return Rt||(Rt=Xs()),Rt}function Qs(i){let{swiper:e,on:t,emit:s}=i;const r=V();let n=null,o=null;const l=()=>{!e||e.destroyed||!e.initialized||(s("beforeResize"),s("resize"))},a=()=>{!e||e.destroyed||!e.initialized||(n=new ResizeObserver(c=>{o=r.requestAnimationFrame(()=>{const{width:g,height:m}=e;let v=g,b=m;c.forEach(S=>{let{contentBoxSize:x,contentRect:p,target:h}=S;h&&h!==e.el||(v=p?p.width:(x[0]||x).inlineSize,b=p?p.height:(x[0]||x).blockSize)}),(v!==g||b!==m)&&l()})}),n.observe(e.el))},d=()=>{o&&r.cancelAnimationFrame(o),n&&n.unobserve&&e.el&&(n.unobserve(e.el),n=null)},u=()=>{!e||e.destroyed||!e.initialized||s("orientationchange")};t("init",()=>{if(e.params.resizeObserver&&typeof r.ResizeObserver<"u"){a();return}r.addEventListener("resize",l),r.addEventListener("orientationchange",u)}),t("destroy",()=>{d(),r.removeEventListener("resize",l),r.removeEventListener("orientationchange",u)})}function Ks(i){let{swiper:e,extendParams:t,on:s,emit:r}=i;const n=[],o=V(),l=function(u,c){c===void 0&&(c={});const g=o.MutationObserver||o.WebkitMutationObserver,m=new g(v=>{if(e.__preventObserver__)return;if(v.length===1){r("observerUpdate",v[0]);return}const b=function(){r("observerUpdate",v[0])};o.requestAnimationFrame?o.requestAnimationFrame(b):o.setTimeout(b,0)});m.observe(u,{attributes:typeof c.attributes>"u"?!0:c.attributes,childList:e.isElement||(typeof c.childList>"u"?!0:c).childList,characterData:typeof c.characterData>"u"?!0:c.characterData}),n.push(m)},a=()=>{if(e.params.observer){if(e.params.observeParents){const u=Vi(e.hostEl);for(let c=0;c{n.forEach(u=>{u.disconnect()}),n.splice(0,n.length)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),s("init",a),s("destroy",d)}var Js={on(i,e,t){const s=this;if(!s.eventsListeners||s.destroyed||typeof e!="function")return s;const r=t?"unshift":"push";return i.split(" ").forEach(n=>{s.eventsListeners[n]||(s.eventsListeners[n]=[]),s.eventsListeners[n][r](e)}),s},once(i,e,t){const s=this;if(!s.eventsListeners||s.destroyed||typeof e!="function")return s;function r(){s.off(i,r),r.__emitterProxy&&delete r.__emitterProxy;for(var n=arguments.length,o=new Array(n),l=0;l=0&&e.eventsAnyListeners.splice(t,1),e},off(i,e){const t=this;return!t.eventsListeners||t.destroyed||!t.eventsListeners||i.split(" ").forEach(s=>{typeof e>"u"?t.eventsListeners[s]=[]:t.eventsListeners[s]&&t.eventsListeners[s].forEach((r,n)=>{(r===e||r.__emitterProxy&&r.__emitterProxy===e)&&t.eventsListeners[s].splice(n,1)})}),t},emit(){const i=this;if(!i.eventsListeners||i.destroyed||!i.eventsListeners)return i;let e,t,s;for(var r=arguments.length,n=new Array(r),o=0;o{i.eventsAnyListeners&&i.eventsAnyListeners.length&&i.eventsAnyListeners.forEach(d=>{d.apply(s,[a,...t])}),i.eventsListeners&&i.eventsListeners[a]&&i.eventsListeners[a].forEach(d=>{d.apply(s,t)})}),i}};function er(){const i=this;let e,t;const s=i.el;typeof i.params.width<"u"&&i.params.width!==null?e=i.params.width:e=s.clientWidth,typeof i.params.height<"u"&&i.params.height!==null?t=i.params.height:t=s.clientHeight,!(e===0&&i.isHorizontal()||t===0&&i.isVertical())&&(e=e-parseInt(se(s,"padding-left")||0,10)-parseInt(se(s,"padding-right")||0,10),t=t-parseInt(se(s,"padding-top")||0,10)-parseInt(se(s,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(i,{width:e,height:t,size:i.isHorizontal()?e:t}))}function tr(){const i=this;function e($,P){return parseFloat($.getPropertyValue(i.getDirectionLabel(P))||0)}const t=i.params,{wrapperEl:s,slidesEl:r,size:n,rtlTranslate:o,wrongRTL:l}=i,a=i.virtual&&t.virtual.enabled,d=a?i.virtual.slides.length:i.slides.length,u=U(r,`.${i.params.slideClass}, swiper-slide`),c=a?i.virtual.slides.length:u.length;let g=[];const m=[],v=[];let b=t.slidesOffsetBefore;typeof b=="function"&&(b=t.slidesOffsetBefore.call(i));let S=t.slidesOffsetAfter;typeof S=="function"&&(S=t.slidesOffsetAfter.call(i));const x=i.snapGrid.length,p=i.slidesGrid.length;let h=t.spaceBetween,y=-b,A=0,I=0;if(typeof n>"u")return;typeof h=="string"&&h.indexOf("%")>=0?h=parseFloat(h.replace("%",""))/100*n:typeof h=="string"&&(h=parseFloat(h)),i.virtualSize=-h,u.forEach($=>{o?$.style.marginLeft="":$.style.marginRight="",$.style.marginBottom="",$.style.marginTop=""}),t.centeredSlides&&t.cssMode&&(ut(s,"--swiper-centered-offset-before",""),ut(s,"--swiper-centered-offset-after",""));const D=t.grid&&t.grid.rows>1&&i.grid;D?i.grid.initSlides(u):i.grid&&i.grid.unsetSlides();let L;const B=t.slidesPerView==="auto"&&t.breakpoints&&Object.keys(t.breakpoints).filter($=>typeof t.breakpoints[$].slidesPerView<"u").length>0;for(let $=0;$1&&g.push(i.virtualSize-n)}if(a&&t.loop){const $=v[0]+h;if(t.slidesPerGroup>1){const P=Math.ceil((i.virtual.slidesBefore+i.virtual.slidesAfter)/t.slidesPerGroup),z=$*t.slidesPerGroup;for(let E=0;E!t.cssMode||t.loop?!0:z!==u.length-1).forEach(P=>{P.style[$]=`${h}px`})}if(t.centeredSlides&&t.centeredSlidesBounds){let $=0;v.forEach(z=>{$+=z+(h||0)}),$-=h;const P=$>n?$-n:0;g=g.map(z=>z<=0?-b:z>P?P+S:z)}if(t.centerInsufficientSlides){let $=0;v.forEach(z=>{$+=z+(h||0)}),$-=h;const P=(t.slidesOffsetBefore||0)+(t.slidesOffsetAfter||0);if($+P{g[k]=E-z}),m.forEach((E,k)=>{m[k]=E+z})}}if(Object.assign(i,{slides:u,snapGrid:g,slidesGrid:m,slidesSizesGrid:v}),t.centeredSlides&&t.cssMode&&!t.centeredSlidesBounds){ut(s,"--swiper-centered-offset-before",`${-g[0]}px`),ut(s,"--swiper-centered-offset-after",`${i.size/2-v[v.length-1]/2}px`);const $=-i.snapGrid[0],P=-i.slidesGrid[0];i.snapGrid=i.snapGrid.map(z=>z+$),i.slidesGrid=i.slidesGrid.map(z=>z+P)}if(c!==d&&i.emit("slidesLengthChange"),g.length!==x&&(i.params.watchOverflow&&i.checkOverflow(),i.emit("snapGridLengthChange")),m.length!==p&&i.emit("slidesGridLengthChange"),t.watchSlidesProgress&&i.updateSlidesOffset(),i.emit("slidesUpdated"),!a&&!t.cssMode&&(t.effect==="slide"||t.effect==="fade")){const $=`${t.containerModifierClass}backface-hidden`,P=i.el.classList.contains($);c<=t.maxBackfaceHiddenSlides?P||i.el.classList.add($):P&&i.el.classList.remove($)}}function ir(i){const e=this,t=[],s=e.virtual&&e.params.virtual.enabled;let r=0,n;typeof i=="number"?e.setTransition(i):i===!0&&e.setTransition(e.params.speed);const o=l=>s?e.slides[e.getSlideIndexByData(l)]:e.slides[l];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(l=>{t.push(l)});else for(n=0;ne.slides.length&&!s)break;t.push(o(l))}else t.push(o(e.activeIndex));for(n=0;nr?l:r}(r||r===0)&&(e.wrapperEl.style.height=`${r}px`)}function sr(){const i=this,e=i.slides,t=i.isElement?i.isHorizontal()?i.wrapperEl.offsetLeft:i.wrapperEl.offsetTop:0;for(let s=0;s{e&&!i.classList.contains(t)?i.classList.add(t):!e&&i.classList.contains(t)&&i.classList.remove(t)};function rr(i){i===void 0&&(i=this&&this.translate||0);const e=this,t=e.params,{slides:s,rtlTranslate:r,snapGrid:n}=e;if(s.length===0)return;typeof s[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let o=-i;r&&(o=i),e.visibleSlidesIndexes=[],e.visibleSlides=[];let l=t.spaceBetween;typeof l=="string"&&l.indexOf("%")>=0?l=parseFloat(l.replace("%",""))/100*e.size:typeof l=="string"&&(l=parseFloat(l));for(let a=0;a=0&&m<=e.size-e.slidesSizesGrid[a],S=m>=0&&m1&&v<=e.size||m<=0&&v>=e.size;S&&(e.visibleSlides.push(d),e.visibleSlidesIndexes.push(a)),Ti(d,S,t.slideVisibleClass),Ti(d,b,t.slideFullyVisibleClass),d.progress=r?-c:c,d.originalProgress=r?-g:g}}function nr(i){const e=this;if(typeof i>"u"){const u=e.rtlTranslate?-1:1;i=e&&e.translate&&e.translate*u||0}const t=e.params,s=e.maxTranslate()-e.minTranslate();let{progress:r,isBeginning:n,isEnd:o,progressLoop:l}=e;const a=n,d=o;if(s===0)r=0,n=!0,o=!0;else{r=(i-e.minTranslate())/s;const u=Math.abs(i-e.minTranslate())<1,c=Math.abs(i-e.maxTranslate())<1;n=u||r<=0,o=c||r>=1,u&&(r=0),c&&(r=1)}if(t.loop){const u=e.getSlideIndexByData(0),c=e.getSlideIndexByData(e.slides.length-1),g=e.slidesGrid[u],m=e.slidesGrid[c],v=e.slidesGrid[e.slidesGrid.length-1],b=Math.abs(i);b>=g?l=(b-g)/v:l=(b+v-m)/v,l>1&&(l-=1)}Object.assign(e,{progress:r,progressLoop:l,isBeginning:n,isEnd:o}),(t.watchSlidesProgress||t.centeredSlides&&t.autoHeight)&&e.updateSlidesProgress(i),n&&!a&&e.emit("reachBeginning toEdge"),o&&!d&&e.emit("reachEnd toEdge"),(a&&!n||d&&!o)&&e.emit("fromEdge"),e.emit("progress",r)}const Yt=(i,e,t)=>{e&&!i.classList.contains(t)?i.classList.add(t):!e&&i.classList.contains(t)&&i.classList.remove(t)};function or(){const i=this,{slides:e,params:t,slidesEl:s,activeIndex:r}=i,n=i.virtual&&t.virtual.enabled,o=i.grid&&t.grid&&t.grid.rows>1,l=c=>U(s,`.${t.slideClass}${c}, swiper-slide${c}`)[0];let a,d,u;if(n)if(t.loop){let c=r-i.virtual.slidesBefore;c<0&&(c=i.virtual.slides.length+c),c>=i.virtual.slides.length&&(c-=i.virtual.slides.length),a=l(`[data-swiper-slide-index="${c}"]`)}else a=l(`[data-swiper-slide-index="${r}"]`);else o?(a=e.find(c=>c.column===r),u=e.find(c=>c.column===r+1),d=e.find(c=>c.column===r-1)):a=e[r];a&&(o||(u=Us(a,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!u&&(u=e[0]),d=Ys(a,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!d===0&&(d=e[e.length-1]))),e.forEach(c=>{Yt(c,c===a,t.slideActiveClass),Yt(c,c===u,t.slideNextClass),Yt(c,c===d,t.slidePrevClass)}),i.emitSlidesClasses()}const ft=(i,e)=>{if(!i||i.destroyed||!i.params)return;const t=()=>i.isElement?"swiper-slide":`.${i.params.slideClass}`,s=e.closest(t());if(s){let r=s.querySelector(`.${i.params.lazyPreloaderClass}`);!r&&i.isElement&&(s.shadowRoot?r=s.shadowRoot.querySelector(`.${i.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{s.shadowRoot&&(r=s.shadowRoot.querySelector(`.${i.params.lazyPreloaderClass}`),r&&r.remove())})),r&&r.remove()}},Ut=(i,e)=>{if(!i.slides[e])return;const t=i.slides[e].querySelector('[loading="lazy"]');t&&t.removeAttribute("loading")},Kt=i=>{if(!i||i.destroyed||!i.params)return;let e=i.params.lazyPreloadPrevNext;const t=i.slides.length;if(!t||!e||e<0)return;e=Math.min(e,t);const s=i.params.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(i.params.slidesPerView),r=i.activeIndex;if(i.params.grid&&i.params.grid.rows>1){const o=r,l=[o-e];l.push(...Array.from({length:e}).map((a,d)=>o+s+d)),i.slides.forEach((a,d)=>{l.includes(a.column)&&Ut(i,d)});return}const n=r+s-1;if(i.params.rewind||i.params.loop)for(let o=r-e;o<=n+e;o+=1){const l=(o%t+t)%t;(ln)&&Ut(i,l)}else for(let o=Math.max(r-e,0);o<=Math.min(n+e,t-1);o+=1)o!==r&&(o>n||o=e[n]&&s=e[n]&&s=e[n]&&(r=n);return t.normalizeSlideIndex&&(r<0||typeof r>"u")&&(r=0),r}function lr(i){const e=this,t=e.rtlTranslate?e.translate:-e.translate,{snapGrid:s,params:r,activeIndex:n,realIndex:o,snapIndex:l}=e;let a=i,d;const u=m=>{let v=m-e.virtual.slidesBefore;return v<0&&(v=e.virtual.slides.length+v),v>=e.virtual.slides.length&&(v-=e.virtual.slides.length),v};if(typeof a>"u"&&(a=ar(e)),s.indexOf(t)>=0)d=s.indexOf(t);else{const m=Math.min(r.slidesPerGroupSkip,a);d=m+Math.floor((a-m)/r.slidesPerGroup)}if(d>=s.length&&(d=s.length-1),a===n&&!e.params.loop){d!==l&&(e.snapIndex=d,e.emit("snapIndexChange"));return}if(a===n&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=u(a);return}const c=e.grid&&r.grid&&r.grid.rows>1;let g;if(e.virtual&&r.virtual.enabled&&r.loop)g=u(a);else if(c){const m=e.slides.find(b=>b.column===a);let v=parseInt(m.getAttribute("data-swiper-slide-index"),10);Number.isNaN(v)&&(v=Math.max(e.slides.indexOf(m),0)),g=Math.floor(v/r.grid.rows)}else if(e.slides[a]){const m=e.slides[a].getAttribute("data-swiper-slide-index");m?g=parseInt(m,10):g=a}else g=a;Object.assign(e,{previousSnapIndex:l,snapIndex:d,previousRealIndex:o,realIndex:g,previousIndex:n,activeIndex:a}),e.initialized&&Kt(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(o!==g&&e.emit("realIndexChange"),e.emit("slideChange"))}function dr(i,e){const t=this,s=t.params;let r=i.closest(`.${s.slideClass}, swiper-slide`);!r&&t.isElement&&e&&e.length>1&&e.includes(i)&&[...e.slice(e.indexOf(i)+1,e.length)].forEach(l=>{!r&&l.matches&&l.matches(`.${s.slideClass}, swiper-slide`)&&(r=l)});let n=!1,o;if(r){for(let l=0;la?u=a:s&&io?l="next":n"u"&&(e=n.params.speed);const b=Math.min(n.params.slidesPerGroupSkip,o);let S=b+Math.floor((o-b)/n.params.slidesPerGroup);S>=a.length&&(S=a.length-1);const x=-a[S];if(l.normalizeSlideIndex)for(let D=0;D=B&&L<$-($-B)/2?o=D:L>=B&&L<$&&(o=D+1):L>=B&&(o=D)}if(n.initialized&&o!==c&&(!n.allowSlideNext&&(g?x>n.translate&&x>n.minTranslate():xn.translate&&x>n.maxTranslate()&&(c||0)!==o))return!1;o!==(u||0)&&t&&n.emit("beforeSlideChangeStart"),n.updateProgress(x);let p;o>c?p="next":o0?(n._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{m[D?"scrollLeft":"scrollTop"]=L})):m[D?"scrollLeft":"scrollTop"]=L,h&&requestAnimationFrame(()=>{n.wrapperEl.style.scrollSnapType="",n._immediateVirtual=!1});else{if(!n.support.smoothScroll)return ji({swiper:n,targetPosition:L,side:D?"left":"top"}),!0;m.scrollTo({[D?"left":"top"]:L,behavior:"smooth"})}return!0}const I=Yi().isSafari;return h&&!r&&I&&n.isElement&&n.virtual.update(!1,!1,o),n.setTransition(e),n.setTranslate(x),n.updateActiveIndex(o),n.updateSlidesClasses(),n.emit("beforeTransitionStart",e,s),n.transitionStart(t,p),e===0?n.transitionEnd(t,p):n.animating||(n.animating=!0,n.onSlideToWrapperTransitionEnd||(n.onSlideToWrapperTransitionEnd=function(L){!n||n.destroyed||L.target===this&&(n.wrapperEl.removeEventListener("transitionend",n.onSlideToWrapperTransitionEnd),n.onSlideToWrapperTransitionEnd=null,delete n.onSlideToWrapperTransitionEnd,n.transitionEnd(t,p))}),n.wrapperEl.addEventListener("transitionend",n.onSlideToWrapperTransitionEnd)),!0}function Ar(i,e,t,s){i===void 0&&(i=0),t===void 0&&(t=!0),typeof i=="string"&&(i=parseInt(i,10));const r=this;if(r.destroyed)return;typeof e>"u"&&(e=r.params.speed);const n=r.grid&&r.params.grid&&r.params.grid.rows>1;let o=i;if(r.params.loop)if(r.virtual&&r.params.virtual.enabled)o=o+r.virtual.slidesBefore;else{let l;if(n){const g=o*r.params.grid.rows;l=r.slides.find(m=>m.getAttribute("data-swiper-slide-index")*1===g).column}else l=r.getSlideIndexByData(o);const a=n?Math.ceil(r.slides.length/r.params.grid.rows):r.slides.length,{centeredSlides:d}=r.params;let u=r.params.slidesPerView;u==="auto"?u=r.slidesPerViewDynamic():(u=Math.ceil(parseFloat(r.params.slidesPerView,10)),d&&u%2===0&&(u=u+1));let c=a-lm.getAttribute("data-swiper-slide-index")*1===g).column}else o=r.getSlideIndexByData(o)}return requestAnimationFrame(()=>{r.slideTo(o,e,t,s)}),r}function $r(i,e,t){e===void 0&&(e=!0);const s=this,{enabled:r,params:n,animating:o}=s;if(!r||s.destroyed)return s;typeof i>"u"&&(i=s.params.speed);let l=n.slidesPerGroup;n.slidesPerView==="auto"&&n.slidesPerGroup===1&&n.slidesPerGroupAuto&&(l=Math.max(s.slidesPerViewDynamic("current",!0),1));const a=s.activeIndex{s.slideTo(s.activeIndex+a,i,e,t)}),!0}return n.rewind&&s.isEnd?s.slideTo(0,i,e,t):s.slideTo(s.activeIndex+a,i,e,t)}function Sr(i,e,t){e===void 0&&(e=!0);const s=this,{params:r,snapGrid:n,slidesGrid:o,rtlTranslate:l,enabled:a,animating:d}=s;if(!a||s.destroyed)return s;typeof i>"u"&&(i=s.params.speed);const u=s.virtual&&r.virtual.enabled;if(r.loop){if(d&&!u&&r.loopPreventsSliding)return!1;s.loopFix({direction:"prev"}),s._clientLeft=s.wrapperEl.clientLeft}const c=l?s.translate:-s.translate;function g(p){return p<0?-Math.floor(Math.abs(p)):Math.floor(p)}const m=g(c),v=n.map(p=>g(p)),b=r.freeMode&&r.freeMode.enabled;let S=n[v.indexOf(m)-1];if(typeof S>"u"&&(r.cssMode||b)){let p;n.forEach((h,y)=>{m>=h&&(p=y)}),typeof p<"u"&&(S=b?n[p]:n[p>0?p-1:p])}let x=0;if(typeof S<"u"&&(x=o.indexOf(S),x<0&&(x=s.activeIndex-1),r.slidesPerView==="auto"&&r.slidesPerGroup===1&&r.slidesPerGroupAuto&&(x=x-s.slidesPerViewDynamic("previous",!0)+1,x=Math.max(x,0))),r.rewind&&s.isBeginning){const p=s.params.virtual&&s.params.virtual.enabled&&s.virtual?s.virtual.slides.length-1:s.slides.length-1;return s.slideTo(p,i,e,t)}else if(r.loop&&s.activeIndex===0&&r.cssMode)return requestAnimationFrame(()=>{s.slideTo(x,i,e,t)}),!0;return s.slideTo(x,i,e,t)}function Er(i,e,t){e===void 0&&(e=!0);const s=this;if(!s.destroyed)return typeof i>"u"&&(i=s.params.speed),s.slideTo(s.activeIndex,i,e,t)}function Pr(i,e,t,s){e===void 0&&(e=!0),s===void 0&&(s=.5);const r=this;if(r.destroyed)return;typeof i>"u"&&(i=r.params.speed);let n=r.activeIndex;const o=Math.min(r.params.slidesPerGroupSkip,n),l=o+Math.floor((n-o)/r.params.slidesPerGroup),a=r.rtlTranslate?r.translate:-r.translate;if(a>=r.snapGrid[l]){const d=r.snapGrid[l],u=r.snapGrid[l+1];a-d>(u-d)*s&&(n+=r.params.slidesPerGroup)}else{const d=r.snapGrid[l-1],u=r.snapGrid[l];a-d<=(u-d)*s&&(n-=r.params.slidesPerGroup)}return n=Math.max(n,0),n=Math.min(n,r.slidesGrid.length-1),r.slideTo(n,i,e,t)}function Tr(){const i=this;if(i.destroyed)return;const{params:e,slidesEl:t}=i,s=e.slidesPerView==="auto"?i.slidesPerViewDynamic():e.slidesPerView;let r=i.clickedIndex,n;const o=i.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(i.animating)return;n=parseInt(i.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?ri.slides.length-i.loopedSlides+s/2?(i.loopFix(),r=i.getSlideIndex(U(t,`${o}[data-swiper-slide-index="${n}"]`)[0]),Xt(()=>{i.slideTo(r)})):i.slideTo(r):r>i.slides.length-s?(i.loopFix(),r=i.getSlideIndex(U(t,`${o}[data-swiper-slide-index="${n}"]`)[0]),Xt(()=>{i.slideTo(r)})):i.slideTo(r)}else i.slideTo(r)}var Cr={slideTo:xr,slideToLoop:Ar,slideNext:$r,slidePrev:Sr,slideReset:Er,slideToClosest:Pr,slideToClickedSlide:Tr};function _r(i){const e=this,{params:t,slidesEl:s}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;const r=()=>{U(s,`.${t.slideClass}, swiper-slide`).forEach((c,g)=>{c.setAttribute("data-swiper-slide-index",g)})},n=e.grid&&t.grid&&t.grid.rows>1,o=t.slidesPerGroup*(n?t.grid.rows:1),l=e.slides.length%o!==0,a=n&&e.slides.length%t.grid.rows!==0,d=u=>{for(let c=0;c1;d.length"u"?n=a.getSlideIndex(d.find(E=>E.classList.contains(m.slideActiveClass))):A=n;const I=s==="next"||!s,D=s==="prev"||!s;let L=0,B=0;const $=p?Math.ceil(d.length/m.grid.rows):d.length,z=(p?d[n].column:n)+(v&&typeof r>"u"?-b/2+.5:0);if(z=0;G-=1)d[G].column===H&&h.push(G)}else h.push($-k-1)}}else if(z+b>$-x){B=Math.max(z-($-x*2),S);for(let E=0;E{H.column===k&&y.push(G)}):y.push(k)}}if(a.__preventObserver__=!0,requestAnimationFrame(()=>{a.__preventObserver__=!1}),D&&h.forEach(E=>{d[E].swiperLoopMoveDOM=!0,g.prepend(d[E]),d[E].swiperLoopMoveDOM=!1}),I&&y.forEach(E=>{d[E].swiperLoopMoveDOM=!0,g.append(d[E]),d[E].swiperLoopMoveDOM=!1}),a.recalcSlides(),m.slidesPerView==="auto"?a.updateSlides():p&&(h.length>0&&D||y.length>0&&I)&&a.slides.forEach((E,k)=>{a.grid.updateSlide(k,E,a.slides)}),m.watchSlidesProgress&&a.updateSlidesOffset(),t){if(h.length>0&&D){if(typeof e>"u"){const E=a.slidesGrid[A],H=a.slidesGrid[A+L]-E;l?a.setTranslate(a.translate-H):(a.slideTo(A+Math.ceil(L),0,!1,!0),r&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-H,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-H))}else if(r){const E=p?h.length/m.grid.rows:h.length;a.slideTo(a.activeIndex+E,0,!1,!0),a.touchEventsData.currentTranslate=a.translate}}else if(y.length>0&&I)if(typeof e>"u"){const E=a.slidesGrid[A],H=a.slidesGrid[A-B]-E;l?a.setTranslate(a.translate-H):(a.slideTo(A-B,0,!1,!0),r&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-H,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-H))}else{const E=p?y.length/m.grid.rows:y.length;a.slideTo(a.activeIndex-E,0,!1,!0)}}if(a.allowSlidePrev=u,a.allowSlideNext=c,a.controller&&a.controller.control&&!o){const E={slideRealIndex:e,direction:s,setTranslate:r,activeSlideIndex:n,byController:!0};Array.isArray(a.controller.control)?a.controller.control.forEach(k=>{!k.destroyed&&k.params.loop&&k.loopFix({...E,slideTo:k.params.slidesPerView===m.slidesPerView?t:!1})}):a.controller.control instanceof a.constructor&&a.controller.control.params.loop&&a.controller.control.loopFix({...E,slideTo:a.controller.control.params.slidesPerView===m.slidesPerView?t:!1})}a.emit("loopFix")}function Mr(){const i=this,{params:e,slidesEl:t}=i;if(!e.loop||i.virtual&&i.params.virtual.enabled)return;i.recalcSlides();const s=[];i.slides.forEach(r=>{const n=typeof r.swiperSlideIndex>"u"?r.getAttribute("data-swiper-slide-index")*1:r.swiperSlideIndex;s[n]=r}),i.slides.forEach(r=>{r.removeAttribute("data-swiper-slide-index")}),s.forEach(r=>{t.append(r)}),i.recalcSlides(),i.slideTo(i.realIndex,0)}var Lr={loopCreate:_r,loopFix:Or,loopDestroy:Mr};function zr(i){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const t=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),t.style.cursor="move",t.style.cursor=i?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function kr(){const i=this;i.params.watchOverflow&&i.isLocked||i.params.cssMode||(i.isElement&&(i.__preventObserver__=!0),i[i.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",i.isElement&&requestAnimationFrame(()=>{i.__preventObserver__=!1}))}var Ir={setGrabCursor:zr,unsetGrabCursor:kr};function Dr(i,e){e===void 0&&(e=this);function t(s){if(!s||s===Se()||s===V())return null;s.assignedSlot&&(s=s.assignedSlot);const r=s.closest(i);return!r&&!s.getRootNode?null:r||t(s.getRootNode().host)}return t(e)}function Ci(i,e,t){const s=V(),{params:r}=i,n=r.edgeSwipeDetection,o=r.edgeSwipeThreshold;return n&&(t<=o||t>=s.innerWidth-o)?n==="prevent"?(e.preventDefault(),!0):!1:!0}function Br(i){const e=this,t=Se();let s=i;s.originalEvent&&(s=s.originalEvent);const r=e.touchEventsData;if(s.type==="pointerdown"){if(r.pointerId!==null&&r.pointerId!==s.pointerId)return;r.pointerId=s.pointerId}else s.type==="touchstart"&&s.targetTouches.length===1&&(r.touchId=s.targetTouches[0].identifier);if(s.type==="touchstart"){Ci(e,s,s.targetTouches[0].pageX);return}const{params:n,touches:o,enabled:l}=e;if(!l||!n.simulateTouch&&s.pointerType==="mouse"||e.animating&&n.preventInteractionOnTransition)return;!e.animating&&n.cssMode&&n.loop&&e.loopFix();let a=s.target;if(n.touchEventsTarget==="wrapper"&&!Rs(a,e.wrapperEl)||"which"in s&&s.which===3||"button"in s&&s.button>0||r.isTouched&&r.isMoved)return;const d=!!n.noSwipingClass&&n.noSwipingClass!=="",u=s.composedPath?s.composedPath():s.path;d&&s.target&&s.target.shadowRoot&&u&&(a=u[0]);const c=n.noSwipingSelector?n.noSwipingSelector:`.${n.noSwipingClass}`,g=!!(s.target&&s.target.shadowRoot);if(n.noSwiping&&(g?Dr(c,a):a.closest(c))){e.allowClick=!0;return}if(n.swipeHandler&&!a.closest(n.swipeHandler))return;o.currentX=s.pageX,o.currentY=s.pageY;const m=o.currentX,v=o.currentY;if(!Ci(e,s,m))return;Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=m,o.startY=v,r.touchStartTime=vt(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,n.threshold>0&&(r.allowThresholdMove=!1);let b=!0;a.matches(r.focusableElements)&&(b=!1,a.nodeName==="SELECT"&&(r.isTouched=!1)),t.activeElement&&t.activeElement.matches(r.focusableElements)&&t.activeElement!==a&&(s.pointerType==="mouse"||s.pointerType!=="mouse"&&!a.matches(r.focusableElements))&&t.activeElement.blur();const S=b&&e.allowTouchMove&&n.touchStartPreventDefault;(n.touchStartForcePreventDefault||S)&&!a.isContentEditable&&s.preventDefault(),n.freeMode&&n.freeMode.enabled&&e.freeMode&&e.animating&&!n.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",s)}function Hr(i){const e=Se(),t=this,s=t.touchEventsData,{params:r,touches:n,rtlTranslate:o,enabled:l}=t;if(!l||!r.simulateTouch&&i.pointerType==="mouse")return;let a=i;if(a.originalEvent&&(a=a.originalEvent),a.type==="pointermove"&&(s.touchId!==null||a.pointerId!==s.pointerId))return;let d;if(a.type==="touchmove"){if(d=[...a.changedTouches].find(A=>A.identifier===s.touchId),!d||d.identifier!==s.touchId)return}else d=a;if(!s.isTouched){s.startMoving&&s.isScrolling&&t.emit("touchMoveOpposite",a);return}const u=d.pageX,c=d.pageY;if(a.preventedByNestedSwiper){n.startX=u,n.startY=c;return}if(!t.allowTouchMove){a.target.matches(s.focusableElements)||(t.allowClick=!1),s.isTouched&&(Object.assign(n,{startX:u,startY:c,currentX:u,currentY:c}),s.touchStartTime=vt());return}if(r.touchReleaseOnEdges&&!r.loop){if(t.isVertical()){if(cn.startY&&t.translate>=t.minTranslate()){s.isTouched=!1,s.isMoved=!1;return}}else if(un.startX&&t.translate>=t.minTranslate())return}if(e.activeElement&&e.activeElement.matches(s.focusableElements)&&e.activeElement!==a.target&&a.pointerType!=="mouse"&&e.activeElement.blur(),e.activeElement&&a.target===e.activeElement&&a.target.matches(s.focusableElements)){s.isMoved=!0,t.allowClick=!1;return}s.allowTouchCallbacks&&t.emit("touchMove",a),n.previousX=n.currentX,n.previousY=n.currentY,n.currentX=u,n.currentY=c;const g=n.currentX-n.startX,m=n.currentY-n.startY;if(t.params.threshold&&Math.sqrt(g**2+m**2)"u"){let A;t.isHorizontal()&&n.currentY===n.startY||t.isVertical()&&n.currentX===n.startX?s.isScrolling=!1:g*g+m*m>=25&&(A=Math.atan2(Math.abs(m),Math.abs(g))*180/Math.PI,s.isScrolling=t.isHorizontal()?A>r.touchAngle:90-A>r.touchAngle)}if(s.isScrolling&&t.emit("touchMoveOpposite",a),typeof s.startMoving>"u"&&(n.currentX!==n.startX||n.currentY!==n.startY)&&(s.startMoving=!0),s.isScrolling||a.type==="touchmove"&&s.preventTouchMoveFromPointerMove){s.isTouched=!1;return}if(!s.startMoving)return;t.allowClick=!1,!r.cssMode&&a.cancelable&&a.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&a.stopPropagation();let v=t.isHorizontal()?g:m,b=t.isHorizontal()?n.currentX-n.previousX:n.currentY-n.previousY;r.oneWayMovement&&(v=Math.abs(v)*(o?1:-1),b=Math.abs(b)*(o?1:-1)),n.diff=v,v*=r.touchRatio,o&&(v=-v,b=-b);const S=t.touchesDirection;t.swipeDirection=v>0?"prev":"next",t.touchesDirection=b>0?"prev":"next";const x=t.params.loop&&!r.cssMode,p=t.touchesDirection==="next"&&t.allowSlideNext||t.touchesDirection==="prev"&&t.allowSlidePrev;if(!s.isMoved){if(x&&p&&t.loopFix({direction:t.swipeDirection}),s.startTranslate=t.getTranslate(),t.setTransition(0),t.animating){const A=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});t.wrapperEl.dispatchEvent(A)}s.allowMomentumBounce=!1,r.grabCursor&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!0),t.emit("sliderFirstMove",a)}if(new Date().getTime(),r._loopSwapReset!==!1&&s.isMoved&&s.allowThresholdMove&&S!==t.touchesDirection&&x&&p&&Math.abs(v)>=1){Object.assign(n,{startX:u,startY:c,currentX:u,currentY:c,startTranslate:s.currentTranslate}),s.loopSwapReset=!0,s.startTranslate=s.currentTranslate;return}t.emit("sliderMove",a),s.isMoved=!0,s.currentTranslate=v+s.startTranslate;let h=!0,y=r.resistanceRatio;if(r.touchReleaseOnEdges&&(y=0),v>0?(x&&p&&s.allowThresholdMove&&s.currentTranslate>(r.centeredSlides?t.minTranslate()-t.slidesSizesGrid[t.activeIndex+1]-(r.slidesPerView!=="auto"&&t.slides.length-r.slidesPerView>=2?t.slidesSizesGrid[t.activeIndex+1]+t.params.spaceBetween:0)-t.params.spaceBetween:t.minTranslate())&&t.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),s.currentTranslate>t.minTranslate()&&(h=!1,r.resistance&&(s.currentTranslate=t.minTranslate()-1+(-t.minTranslate()+s.startTranslate+v)**y))):v<0&&(x&&p&&s.allowThresholdMove&&s.currentTranslate<(r.centeredSlides?t.maxTranslate()+t.slidesSizesGrid[t.slidesSizesGrid.length-1]+t.params.spaceBetween+(r.slidesPerView!=="auto"&&t.slides.length-r.slidesPerView>=2?t.slidesSizesGrid[t.slidesSizesGrid.length-1]+t.params.spaceBetween:0):t.maxTranslate())&&t.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:t.slides.length-(r.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(parseFloat(r.slidesPerView,10)))}),s.currentTranslates.startTranslate&&(s.currentTranslate=s.startTranslate),!t.allowSlidePrev&&!t.allowSlideNext&&(s.currentTranslate=s.startTranslate),r.threshold>0)if(Math.abs(v)>r.threshold||s.allowThresholdMove){if(!s.allowThresholdMove){s.allowThresholdMove=!0,n.startX=n.currentX,n.startY=n.currentY,s.currentTranslate=s.startTranslate,n.diff=t.isHorizontal()?n.currentX-n.startX:n.currentY-n.startY;return}}else{s.currentTranslate=s.startTranslate;return}!r.followFinger||r.cssMode||((r.freeMode&&r.freeMode.enabled&&t.freeMode||r.watchSlidesProgress)&&(t.updateActiveIndex(),t.updateSlidesClasses()),r.freeMode&&r.freeMode.enabled&&t.freeMode&&t.freeMode.onTouchMove(),t.updateProgress(s.currentTranslate),t.setTranslate(s.currentTranslate))}function Nr(i){const e=this,t=e.touchEventsData;let s=i;s.originalEvent&&(s=s.originalEvent);let r;if(s.type==="touchend"||s.type==="touchcancel"){if(r=[...s.changedTouches].find(A=>A.identifier===t.touchId),!r||r.identifier!==t.touchId)return}else{if(t.touchId!==null||s.pointerId!==t.pointerId)return;r=s}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(s.type)&&!(["pointercancel","contextmenu"].includes(s.type)&&(e.browser.isSafari||e.browser.isWebView)))return;t.pointerId=null,t.touchId=null;const{params:o,touches:l,rtlTranslate:a,slidesGrid:d,enabled:u}=e;if(!u||!o.simulateTouch&&s.pointerType==="mouse")return;if(t.allowTouchCallbacks&&e.emit("touchEnd",s),t.allowTouchCallbacks=!1,!t.isTouched){t.isMoved&&o.grabCursor&&e.setGrabCursor(!1),t.isMoved=!1,t.startMoving=!1;return}o.grabCursor&&t.isMoved&&t.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const c=vt(),g=c-t.touchStartTime;if(e.allowClick){const A=s.path||s.composedPath&&s.composedPath();e.updateClickedSlide(A&&A[0]||s.target,A),e.emit("tap click",s),g<300&&c-t.lastClickTime<300&&e.emit("doubleTap doubleClick",s)}if(t.lastClickTime=vt(),Xt(()=>{e.destroyed||(e.allowClick=!0)}),!t.isTouched||!t.isMoved||!e.swipeDirection||l.diff===0&&!t.loopSwapReset||t.currentTranslate===t.startTranslate&&!t.loopSwapReset){t.isTouched=!1,t.isMoved=!1,t.startMoving=!1;return}t.isTouched=!1,t.isMoved=!1,t.startMoving=!1;let m;if(o.followFinger?m=a?e.translate:-e.translate:m=-t.currentTranslate,o.cssMode)return;if(o.freeMode&&o.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:m});return}const v=m>=-e.maxTranslate()&&!e.params.loop;let b=0,S=e.slidesSizesGrid[0];for(let A=0;A=d[A]&&m=d[A])&&(b=A,S=d[d.length-1]-d[d.length-2])}let x=null,p=null;o.rewind&&(e.isBeginning?p=o.virtual&&o.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(x=0));const h=(m-d[b])/S,y=bo.longSwipesMs){if(!o.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(h>=o.longSwipesRatio?e.slideTo(o.rewind&&e.isEnd?x:b+y):e.slideTo(b)),e.swipeDirection==="prev"&&(h>1-o.longSwipesRatio?e.slideTo(b+y):p!==null&&h<0&&Math.abs(h)>o.longSwipesRatio?e.slideTo(p):e.slideTo(b))}else{if(!o.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(s.target===e.navigation.nextEl||s.target===e.navigation.prevEl)?s.target===e.navigation.nextEl?e.slideTo(b+y):e.slideTo(b):(e.swipeDirection==="next"&&e.slideTo(x!==null?x:b+y),e.swipeDirection==="prev"&&e.slideTo(p!==null?p:b))}}function _i(){const i=this,{params:e,el:t}=i;if(t&&t.offsetWidth===0)return;e.breakpoints&&i.setBreakpoint();const{allowSlideNext:s,allowSlidePrev:r,snapGrid:n}=i,o=i.virtual&&i.params.virtual.enabled;i.allowSlideNext=!0,i.allowSlidePrev=!0,i.updateSize(),i.updateSlides(),i.updateSlidesClasses();const l=o&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&i.isEnd&&!i.isBeginning&&!i.params.centeredSlides&&!l?i.slideTo(i.slides.length-1,0,!1,!0):i.params.loop&&!o?i.slideToLoop(i.realIndex,0,!1,!0):i.slideTo(i.activeIndex,0,!1,!0),i.autoplay&&i.autoplay.running&&i.autoplay.paused&&(clearTimeout(i.autoplay.resizeTimeout),i.autoplay.resizeTimeout=setTimeout(()=>{i.autoplay&&i.autoplay.running&&i.autoplay.paused&&i.autoplay.resume()},500)),i.allowSlidePrev=r,i.allowSlideNext=s,i.params.watchOverflow&&n!==i.snapGrid&&i.checkOverflow()}function jr(i){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&i.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(i.stopPropagation(),i.stopImmediatePropagation())))}function Gr(){const i=this,{wrapperEl:e,rtlTranslate:t,enabled:s}=i;if(!s)return;i.previousTranslate=i.translate,i.isHorizontal()?i.translate=-e.scrollLeft:i.translate=-e.scrollTop,i.translate===0&&(i.translate=0),i.updateActiveIndex(),i.updateSlidesClasses();let r;const n=i.maxTranslate()-i.minTranslate();n===0?r=0:r=(i.translate-i.minTranslate())/n,r!==i.progress&&i.updateProgress(t?-i.translate:i.translate),i.emit("setTranslate",i.translate,!1)}function Vr(i){const e=this;ft(e,i.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function Fr(){const i=this;i.documentTouchHandlerProceeded||(i.documentTouchHandlerProceeded=!0,i.params.touchReleaseOnEdges&&(i.el.style.touchAction="auto"))}const qi=(i,e)=>{const t=Se(),{params:s,el:r,wrapperEl:n,device:o}=i,l=!!s.nested,a=e==="on"?"addEventListener":"removeEventListener",d=e;!r||typeof r=="string"||(t[a]("touchstart",i.onDocumentTouchStart,{passive:!1,capture:l}),r[a]("touchstart",i.onTouchStart,{passive:!1}),r[a]("pointerdown",i.onTouchStart,{passive:!1}),t[a]("touchmove",i.onTouchMove,{passive:!1,capture:l}),t[a]("pointermove",i.onTouchMove,{passive:!1,capture:l}),t[a]("touchend",i.onTouchEnd,{passive:!0}),t[a]("pointerup",i.onTouchEnd,{passive:!0}),t[a]("pointercancel",i.onTouchEnd,{passive:!0}),t[a]("touchcancel",i.onTouchEnd,{passive:!0}),t[a]("pointerout",i.onTouchEnd,{passive:!0}),t[a]("pointerleave",i.onTouchEnd,{passive:!0}),t[a]("contextmenu",i.onTouchEnd,{passive:!0}),(s.preventClicks||s.preventClicksPropagation)&&r[a]("click",i.onClick,!0),s.cssMode&&n[a]("scroll",i.onScroll),s.updateOnWindowResize?i[d](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",_i,!0):i[d]("observerUpdate",_i,!0),r[a]("load",i.onLoad,{capture:!0}))};function Rr(){const i=this,{params:e}=i;i.onTouchStart=Br.bind(i),i.onTouchMove=Hr.bind(i),i.onTouchEnd=Nr.bind(i),i.onDocumentTouchStart=Fr.bind(i),e.cssMode&&(i.onScroll=Gr.bind(i)),i.onClick=jr.bind(i),i.onLoad=Vr.bind(i),qi(i,"on")}function Yr(){qi(this,"off")}var Ur={attachEvents:Rr,detachEvents:Yr};const Oi=(i,e)=>i.grid&&e.grid&&e.grid.rows>1;function qr(){const i=this,{realIndex:e,initialized:t,params:s,el:r}=i,n=s.breakpoints;if(!n||n&&Object.keys(n).length===0)return;const o=Se(),l=s.breakpointsBase==="window"||!s.breakpointsBase?s.breakpointsBase:"container",a=["window","container"].includes(s.breakpointsBase)||!s.breakpointsBase?i.el:o.querySelector(s.breakpointsBase),d=i.getBreakpoint(n,l,a);if(!d||i.currentBreakpoint===d)return;const c=(d in n?n[d]:void 0)||i.originalParams,g=Oi(i,s),m=Oi(i,c),v=i.params.grabCursor,b=c.grabCursor,S=s.enabled;g&&!m?(r.classList.remove(`${s.containerModifierClass}grid`,`${s.containerModifierClass}grid-column`),i.emitContainerClasses()):!g&&m&&(r.classList.add(`${s.containerModifierClass}grid`),(c.grid.fill&&c.grid.fill==="column"||!c.grid.fill&&s.grid.fill==="column")&&r.classList.add(`${s.containerModifierClass}grid-column`),i.emitContainerClasses()),v&&!b?i.unsetGrabCursor():!v&&b&&i.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(I=>{if(typeof c[I]>"u")return;const D=s[I]&&s[I].enabled,L=c[I]&&c[I].enabled;D&&!L&&i[I].disable(),!D&&L&&i[I].enable()});const x=c.direction&&c.direction!==s.direction,p=s.loop&&(c.slidesPerView!==s.slidesPerView||x),h=s.loop;x&&t&&i.changeDirection(),F(i.params,c);const y=i.params.enabled,A=i.params.loop;Object.assign(i,{allowTouchMove:i.params.allowTouchMove,allowSlideNext:i.params.allowSlideNext,allowSlidePrev:i.params.allowSlidePrev}),S&&!y?i.disable():!S&&y&&i.enable(),i.currentBreakpoint=d,i.emit("_beforeBreakpoint",c),t&&(p?(i.loopDestroy(),i.loopCreate(e),i.updateSlides()):!h&&A?(i.loopCreate(e),i.updateSlides()):h&&!A&&i.loopDestroy()),i.emit("breakpoint",c)}function Zr(i,e,t){if(e===void 0&&(e="window"),!i||e==="container"&&!t)return;let s=!1;const r=V(),n=e==="window"?r.innerHeight:t.clientHeight,o=Object.keys(i).map(l=>{if(typeof l=="string"&&l.indexOf("@")===0){const a=parseFloat(l.substr(1));return{value:n*a,point:l}}return{value:l,point:l}});o.sort((l,a)=>parseInt(l.value,10)-parseInt(a.value,10));for(let l=0;l{typeof s=="object"?Object.keys(s).forEach(r=>{s[r]&&t.push(e+r)}):typeof s=="string"&&t.push(e+s)}),t}function Qr(){const i=this,{classNames:e,params:t,rtl:s,el:r,device:n}=i,o=Xr(["initialized",t.direction,{"free-mode":i.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:s},{grid:t.grid&&t.grid.rows>1},{"grid-column":t.grid&&t.grid.rows>1&&t.grid.fill==="column"},{android:n.android},{ios:n.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);e.push(...o),r.classList.add(...e),i.emitContainerClasses()}function Kr(){const i=this,{el:e,classNames:t}=i;!e||typeof e=="string"||(e.classList.remove(...t),i.emitContainerClasses())}var Jr={addClasses:Qr,removeClasses:Kr};function en(){const i=this,{isLocked:e,params:t}=i,{slidesOffsetBefore:s}=t;if(s){const r=i.slides.length-1,n=i.slidesGrid[r]+i.slidesSizesGrid[r]+s*2;i.isLocked=i.size>n}else i.isLocked=i.snapGrid.length===1;t.allowSlideNext===!0&&(i.allowSlideNext=!i.isLocked),t.allowSlidePrev===!0&&(i.allowSlidePrev=!i.isLocked),e&&e!==i.isLocked&&(i.isEnd=!1),e!==i.isLocked&&i.emit(i.isLocked?"lock":"unlock")}var tn={checkOverflow:en},Mi={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function sn(i,e){return function(s){s===void 0&&(s={});const r=Object.keys(s)[0],n=s[r];if(typeof n!="object"||n===null){F(e,s);return}if(i[r]===!0&&(i[r]={enabled:!0}),r==="navigation"&&i[r]&&i[r].enabled&&!i[r].prevEl&&!i[r].nextEl&&(i[r].auto=!0),["pagination","scrollbar"].indexOf(r)>=0&&i[r]&&i[r].enabled&&!i[r].el&&(i[r].auto=!0),!(r in i&&"enabled"in n)){F(e,s);return}typeof i[r]=="object"&&!("enabled"in i[r])&&(i[r].enabled=!0),i[r]||(i[r]={enabled:!1}),F(e,s)}}const qt={eventsEmitter:Js,update:cr,translate:mr,transition:yr,slide:Cr,loop:Lr,grabCursor:Ir,events:Ur,breakpoints:Wr,checkOverflow:tn,classes:Jr},Zt={};class R{constructor(){let e,t;for(var s=arguments.length,r=new Array(s),n=0;n1){const u=[];return o.querySelectorAll(t.el).forEach(c=>{const g=F({},t,{el:c});u.push(new R(g))}),u}const l=this;l.__swiper__=!0,l.support=Fi(),l.device=Ri({userAgent:t.userAgent}),l.browser=Yi(),l.eventsListeners={},l.eventsAnyListeners=[],l.modules=[...l.__modules__],t.modules&&Array.isArray(t.modules)&&l.modules.push(...t.modules);const a={};l.modules.forEach(u=>{u({params:t,swiper:l,extendParams:sn(t,a),on:l.on.bind(l),once:l.once.bind(l),off:l.off.bind(l),emit:l.emit.bind(l)})});const d=F({},Mi,a);return l.params=F({},d,Zt,t),l.originalParams=F({},l.params),l.passedParams=F({},t),l.params&&l.params.on&&Object.keys(l.params.on).forEach(u=>{l.on(u,l.params.on[u])}),l.params&&l.params.onAny&&l.onAny(l.params.onAny),Object.assign(l,{enabled:l.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return l.params.direction==="horizontal"},isVertical(){return l.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:l.params.allowSlideNext,allowSlidePrev:l.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:l.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.emit("_swiper"),l.params.init&&l.init(),l}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:t,params:s}=this,r=U(t,`.${s.slideClass}, swiper-slide`),n=yt(r[0]);return yt(e)-n}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(t=>t.getAttribute("data-swiper-slide-index")*1===e))}recalcSlides(){const e=this,{slidesEl:t,params:s}=e;e.slides=U(t,`.${s.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const s=this;e=Math.min(Math.max(e,0),1);const r=s.minTranslate(),o=(s.maxTranslate()-r)*e+r;s.translateTo(o,typeof t>"u"?0:t),s.updateActiveIndex(),s.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter(s=>s.indexOf("swiper")===0||s.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter(s=>s.indexOf("swiper-slide")===0||s.indexOf(t.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach(s=>{const r=e.getSlideClasses(s);t.push({slideEl:s,classNames:r}),e.emit("_slideClass",s,r)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){e===void 0&&(e="current"),t===void 0&&(t=!1);const s=this,{params:r,slides:n,slidesGrid:o,slidesSizesGrid:l,size:a,activeIndex:d}=s;let u=1;if(typeof r.slidesPerView=="number")return r.slidesPerView;if(r.centeredSlides){let c=n[d]?Math.ceil(n[d].swiperSlideSize):0,g;for(let m=d+1;ma&&(g=!0));for(let m=d-1;m>=0;m-=1)n[m]&&!g&&(c+=n[m].swiperSlideSize,u+=1,c>a&&(g=!0))}else if(e==="current")for(let c=d+1;c=0;c-=1)o[d]-o[c]{o.complete&&ft(e,o)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function r(){const o=e.rtlTranslate?e.translate*-1:e.translate,l=Math.min(Math.max(o,e.maxTranslate()),e.minTranslate());e.setTranslate(l),e.updateActiveIndex(),e.updateSlidesClasses()}let n;if(s.freeMode&&s.freeMode.enabled&&!s.cssMode)r(),s.autoHeight&&e.updateAutoHeight();else{if((s.slidesPerView==="auto"||s.slidesPerView>1)&&e.isEnd&&!s.centeredSlides){const o=e.virtual&&s.virtual.enabled?e.virtual.slides:e.slides;n=e.slideTo(o.length-1,0,!1,!0)}else n=e.slideTo(e.activeIndex,0,!1,!0);n||r()}s.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){t===void 0&&(t=!0);const s=this,r=s.params.direction;return e||(e=r==="horizontal"?"vertical":"horizontal"),e===r||e!=="horizontal"&&e!=="vertical"||(s.el.classList.remove(`${s.params.containerModifierClass}${r}`),s.el.classList.add(`${s.params.containerModifierClass}${e}`),s.emitContainerClasses(),s.params.direction=e,s.slides.forEach(n=>{e==="vertical"?n.style.width="":n.style.height=""}),s.emit("changeDirection"),t&&s.update()),s}changeLanguageDirection(e){const t=this;t.rtl&&e==="rtl"||!t.rtl&&e==="ltr"||(t.rtl=e==="rtl",t.rtlTranslate=t.params.direction==="horizontal"&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let s=e||t.params.el;if(typeof s=="string"&&(s=document.querySelector(s)),!s)return!1;s.swiper=t,s.parentNode&&s.parentNode.host&&s.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const r=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let o=s&&s.shadowRoot&&s.shadowRoot.querySelector?s.shadowRoot.querySelector(r()):U(s,r())[0];return!o&&t.params.createElements&&(o=bt("div",t.params.wrapperClass),s.append(o),U(s,`.${t.params.slideClass}`).forEach(l=>{o.append(l)})),Object.assign(t,{el:s,wrapperEl:o,slidesEl:t.isElement&&!s.parentNode.host.slideSlots?s.parentNode.host:o,hostEl:t.isElement?s.parentNode.host:s,mounted:!0,rtl:s.dir.toLowerCase()==="rtl"||se(s,"direction")==="rtl",rtlTranslate:t.params.direction==="horizontal"&&(s.dir.toLowerCase()==="rtl"||se(s,"direction")==="rtl"),wrongRTL:se(o,"display")==="-webkit-box"}),!0}init(e){const t=this;if(t.initialized||t.mount(e)===!1)return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents();const r=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&r.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),r.forEach(n=>{n.complete?ft(t,n):n.addEventListener("load",o=>{ft(t,o.target)})}),Kt(t),t.initialized=!0,Kt(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){e===void 0&&(e=!0),t===void 0&&(t=!0);const s=this,{params:r,el:n,wrapperEl:o,slides:l}=s;return typeof s.params>"u"||s.destroyed||(s.emit("beforeDestroy"),s.initialized=!1,s.detachEvents(),r.loop&&s.loopDestroy(),t&&(s.removeClasses(),n&&typeof n!="string"&&n.removeAttribute("style"),o&&o.removeAttribute("style"),l&&l.length&&l.forEach(a=>{a.classList.remove(r.slideVisibleClass,r.slideFullyVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass),a.removeAttribute("style"),a.removeAttribute("data-swiper-slide-index")})),s.emit("destroy"),Object.keys(s.eventsListeners).forEach(a=>{s.off(a)}),e!==!1&&(s.el&&typeof s.el!="string"&&(s.el.swiper=null),Ns(s)),s.destroyed=!0),null}static extendDefaults(e){F(Zt,e)}static get extendedDefaults(){return Zt}static get defaults(){return Mi}static installModule(e){R.prototype.__modules__||(R.prototype.__modules__=[]);const t=R.prototype.__modules__;typeof e=="function"&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach(t=>R.installModule(t)),R):(R.installModule(e),R)}}Object.keys(qt).forEach(i=>{Object.keys(qt[i]).forEach(e=>{R.prototype[e]=qt[i][e]})});R.use([Qs,Ks]);function Zi(i,e,t,s){return i.params.createElements&&Object.keys(s).forEach(r=>{if(!t[r]&&t.auto===!0){let n=U(i.el,`.${s[r]}`)[0];n||(n=bt("div",s[r]),n.className=s[r],i.el.append(n)),t[r]=n,e[r]=n}}),t}function rn(i){let{swiper:e,extendParams:t,on:s,emit:r}=i;t({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 n(v){let b;return v&&typeof v=="string"&&e.isElement&&(b=e.el.querySelector(v)||e.hostEl.querySelector(v),b)?b:(v&&(typeof v=="string"&&(b=[...document.querySelectorAll(v)]),e.params.uniqueNavElements&&typeof v=="string"&&b&&b.length>1&&e.el.querySelectorAll(v).length===1?b=e.el.querySelector(v):b&&b.length===1&&(b=b[0])),v&&!b?v:b)}function o(v,b){const S=e.params.navigation;v=j(v),v.forEach(x=>{x&&(x.classList[b?"add":"remove"](...S.disabledClass.split(" ")),x.tagName==="BUTTON"&&(x.disabled=b),e.params.watchOverflow&&e.enabled&&x.classList[e.isLocked?"add":"remove"](S.lockClass))})}function l(){const{nextEl:v,prevEl:b}=e.navigation;if(e.params.loop){o(b,!1),o(v,!1);return}o(b,e.isBeginning&&!e.params.rewind),o(v,e.isEnd&&!e.params.rewind)}function a(v){v.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),r("navigationPrev"))}function d(v){v.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),r("navigationNext"))}function u(){const v=e.params.navigation;if(e.params.navigation=Zi(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(v.nextEl||v.prevEl))return;let b=n(v.nextEl),S=n(v.prevEl);Object.assign(e.navigation,{nextEl:b,prevEl:S}),b=j(b),S=j(S);const x=(p,h)=>{p&&p.addEventListener("click",h==="next"?d:a),!e.enabled&&p&&p.classList.add(...v.lockClass.split(" "))};b.forEach(p=>x(p,"next")),S.forEach(p=>x(p,"prev"))}function c(){let{nextEl:v,prevEl:b}=e.navigation;v=j(v),b=j(b);const S=(x,p)=>{x.removeEventListener("click",p==="next"?d:a),x.classList.remove(...e.params.navigation.disabledClass.split(" "))};v.forEach(x=>S(x,"next")),b.forEach(x=>S(x,"prev"))}s("init",()=>{e.params.navigation.enabled===!1?m():(u(),l())}),s("toEdge fromEdge lock unlock",()=>{l()}),s("destroy",()=>{c()}),s("enable disable",()=>{let{nextEl:v,prevEl:b}=e.navigation;if(v=j(v),b=j(b),e.enabled){l();return}[...v,...b].filter(S=>!!S).forEach(S=>S.classList.add(e.params.navigation.lockClass))}),s("click",(v,b)=>{let{nextEl:S,prevEl:x}=e.navigation;S=j(S),x=j(x);const p=b.target;let h=x.includes(p)||S.includes(p);if(e.isElement&&!h){const y=b.path||b.composedPath&&b.composedPath();y&&(h=y.find(A=>S.includes(A)||x.includes(A)))}if(e.params.navigation.hideOnClick&&!h){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===p||e.pagination.el.contains(p)))return;let y;S.length?y=S[0].classList.contains(e.params.navigation.hiddenClass):x.length&&(y=x[0].classList.contains(e.params.navigation.hiddenClass)),r(y===!0?"navigationShow":"navigationHide"),[...S,...x].filter(A=>!!A).forEach(A=>A.classList.toggle(e.params.navigation.hiddenClass))}});const g=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),u(),l()},m=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),c()};Object.assign(e.navigation,{enable:g,disable:m,update:l,init:u,destroy:c})}function Ze(i){return i===void 0&&(i=""),`.${i.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function nn(i){let{swiper:e,extendParams:t,on:s,emit:r}=i;const n="swiper-pagination";t({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:p=>p,formatFractionTotal:p=>p,bulletClass:`${n}-bullet`,bulletActiveClass:`${n}-bullet-active`,modifierClass:`${n}-`,currentClass:`${n}-current`,totalClass:`${n}-total`,hiddenClass:`${n}-hidden`,progressbarFillClass:`${n}-progressbar-fill`,progressbarOppositeClass:`${n}-progressbar-opposite`,clickableClass:`${n}-clickable`,lockClass:`${n}-lock`,horizontalClass:`${n}-horizontal`,verticalClass:`${n}-vertical`,paginationDisabledClass:`${n}-disabled`}}),e.pagination={el:null,bullets:[]};let o,l=0;function a(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function d(p,h){const{bulletActiveClass:y}=e.params.pagination;p&&(p=p[`${h==="prev"?"previous":"next"}ElementSibling`],p&&(p.classList.add(`${y}-${h}`),p=p[`${h==="prev"?"previous":"next"}ElementSibling`],p&&p.classList.add(`${y}-${h}-${h}`)))}function u(p,h,y){if(p=p%y,h=h%y,h===p+1)return"next";if(h===p-1)return"previous"}function c(p){const h=p.target.closest(Ze(e.params.pagination.bulletClass));if(!h)return;p.preventDefault();const y=yt(h)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===y)return;const A=u(e.realIndex,y,e.slides.length);A==="next"?e.slideNext():A==="previous"?e.slidePrev():e.slideToLoop(y)}else e.slideTo(y)}function g(){const p=e.rtl,h=e.params.pagination;if(a())return;let y=e.pagination.el;y=j(y);let A,I;const D=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,L=e.params.loop?Math.ceil(D/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(I=e.previousRealIndex||0,A=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(A=e.snapIndex,I=e.previousSnapIndex):(I=e.previousIndex||0,A=e.activeIndex||0),h.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const B=e.pagination.bullets;let $,P,z;if(h.dynamicBullets&&(o=Qt(B[0],e.isHorizontal()?"width":"height"),y.forEach(E=>{E.style[e.isHorizontal()?"width":"height"]=`${o*(h.dynamicMainBullets+4)}px`}),h.dynamicMainBullets>1&&I!==void 0&&(l+=A-(I||0),l>h.dynamicMainBullets-1?l=h.dynamicMainBullets-1:l<0&&(l=0)),$=Math.max(A-l,0),P=$+(Math.min(B.length,h.dynamicMainBullets)-1),z=(P+$)/2),B.forEach(E=>{const k=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(H=>`${h.bulletActiveClass}${H}`)].map(H=>typeof H=="string"&&H.includes(" ")?H.split(" "):H).flat();E.classList.remove(...k)}),y.length>1)B.forEach(E=>{const k=yt(E);k===A?E.classList.add(...h.bulletActiveClass.split(" ")):e.isElement&&E.setAttribute("part","bullet"),h.dynamicBullets&&(k>=$&&k<=P&&E.classList.add(...`${h.bulletActiveClass}-main`.split(" ")),k===$&&d(E,"prev"),k===P&&d(E,"next"))});else{const E=B[A];if(E&&E.classList.add(...h.bulletActiveClass.split(" ")),e.isElement&&B.forEach((k,H)=>{k.setAttribute("part",H===A?"bullet-active":"bullet")}),h.dynamicBullets){const k=B[$],H=B[P];for(let G=$;G<=P;G+=1)B[G]&&B[G].classList.add(...`${h.bulletActiveClass}-main`.split(" "));d(k,"prev"),d(H,"next")}}if(h.dynamicBullets){const E=Math.min(B.length,h.dynamicMainBullets+4),k=(o*E-o)/2-z*o,H=p?"right":"left";B.forEach(G=>{G.style[e.isHorizontal()?H:"top"]=`${k}px`})}}y.forEach((B,$)=>{if(h.type==="fraction"&&(B.querySelectorAll(Ze(h.currentClass)).forEach(P=>{P.textContent=h.formatFractionCurrent(A+1)}),B.querySelectorAll(Ze(h.totalClass)).forEach(P=>{P.textContent=h.formatFractionTotal(L)})),h.type==="progressbar"){let P;h.progressbarOpposite?P=e.isHorizontal()?"vertical":"horizontal":P=e.isHorizontal()?"horizontal":"vertical";const z=(A+1)/L;let E=1,k=1;P==="horizontal"?E=z:k=z,B.querySelectorAll(Ze(h.progressbarFillClass)).forEach(H=>{H.style.transform=`translate3d(0,0,0) scaleX(${E}) scaleY(${k})`,H.style.transitionDuration=`${e.params.speed}ms`})}h.type==="custom"&&h.renderCustom?(B.innerHTML=h.renderCustom(e,A+1,L),$===0&&r("paginationRender",B)):($===0&&r("paginationRender",B),r("paginationUpdate",B)),e.params.watchOverflow&&e.enabled&&B.classList[e.isLocked?"add":"remove"](h.lockClass)})}function m(){const p=e.params.pagination;if(a())return;const h=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 y=e.pagination.el;y=j(y);let A="";if(p.type==="bullets"){let I=e.params.loop?Math.ceil(h/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&I>h&&(I=h);for(let D=0;D`}p.type==="fraction"&&(p.renderFraction?A=p.renderFraction.call(e,p.currentClass,p.totalClass):A=` / `),p.type==="progressbar"&&(p.renderProgressbar?A=p.renderProgressbar.call(e,p.progressbarFillClass):A=``),e.pagination.bullets=[],y.forEach(I=>{p.type!=="custom"&&(I.innerHTML=A||""),p.type==="bullets"&&e.pagination.bullets.push(...I.querySelectorAll(Ze(p.bulletClass)))}),p.type!=="custom"&&r("paginationRender",y[0])}function v(){e.params.pagination=Zi(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const p=e.params.pagination;if(!p.el)return;let h;typeof p.el=="string"&&e.isElement&&(h=e.el.querySelector(p.el)),!h&&typeof p.el=="string"&&(h=[...document.querySelectorAll(p.el)]),h||(h=p.el),!(!h||h.length===0)&&(e.params.uniqueNavElements&&typeof p.el=="string"&&Array.isArray(h)&&h.length>1&&(h=[...e.el.querySelectorAll(p.el)],h.length>1&&(h=h.find(y=>Vi(y,".swiper")[0]===e.el))),Array.isArray(h)&&h.length===1&&(h=h[0]),Object.assign(e.pagination,{el:h}),h=j(h),h.forEach(y=>{p.type==="bullets"&&p.clickable&&y.classList.add(...(p.clickableClass||"").split(" ")),y.classList.add(p.modifierClass+p.type),y.classList.add(e.isHorizontal()?p.horizontalClass:p.verticalClass),p.type==="bullets"&&p.dynamicBullets&&(y.classList.add(`${p.modifierClass}${p.type}-dynamic`),l=0,p.dynamicMainBullets<1&&(p.dynamicMainBullets=1)),p.type==="progressbar"&&p.progressbarOpposite&&y.classList.add(p.progressbarOppositeClass),p.clickable&&y.addEventListener("click",c),e.enabled||y.classList.add(p.lockClass)}))}function b(){const p=e.params.pagination;if(a())return;let h=e.pagination.el;h&&(h=j(h),h.forEach(y=>{y.classList.remove(p.hiddenClass),y.classList.remove(p.modifierClass+p.type),y.classList.remove(e.isHorizontal()?p.horizontalClass:p.verticalClass),p.clickable&&(y.classList.remove(...(p.clickableClass||"").split(" ")),y.removeEventListener("click",c))})),e.pagination.bullets&&e.pagination.bullets.forEach(y=>y.classList.remove(...p.bulletActiveClass.split(" ")))}s("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const p=e.params.pagination;let{el:h}=e.pagination;h=j(h),h.forEach(y=>{y.classList.remove(p.horizontalClass,p.verticalClass),y.classList.add(e.isHorizontal()?p.horizontalClass:p.verticalClass)})}),s("init",()=>{e.params.pagination.enabled===!1?x():(v(),m(),g())}),s("activeIndexChange",()=>{typeof e.snapIndex>"u"&&g()}),s("snapIndexChange",()=>{g()}),s("snapGridLengthChange",()=>{m(),g()}),s("destroy",()=>{b()}),s("enable disable",()=>{let{el:p}=e.pagination;p&&(p=j(p),p.forEach(h=>h.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),s("lock unlock",()=>{g()}),s("click",(p,h)=>{const y=h.target,A=j(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&A&&A.length>0&&!y.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&y===e.navigation.nextEl||e.navigation.prevEl&&y===e.navigation.prevEl))return;const I=A[0].classList.contains(e.params.pagination.hiddenClass);r(I===!0?"paginationShow":"paginationHide"),A.forEach(D=>D.classList.toggle(e.params.pagination.hiddenClass))}});const S=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=j(p),p.forEach(h=>h.classList.remove(e.params.pagination.paginationDisabledClass))),v(),m(),g()},x=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=j(p),p.forEach(h=>h.classList.add(e.params.pagination.paginationDisabledClass))),b()};Object.assign(e.pagination,{enable:S,disable:x,render:m,update:g,init:v,destroy:b})}function on(i){const{effect:e,swiper:t,on:s,setTranslate:r,setTransition:n,overwriteParams:o,perspective:l,recreateShadows:a,getEffectParams:d}=i;s("beforeInit",()=>{if(t.params.effect!==e)return;t.classNames.push(`${t.params.containerModifierClass}${e}`),l&&l()&&t.classNames.push(`${t.params.containerModifierClass}3d`);const c=o?o():{};Object.assign(t.params,c),Object.assign(t.originalParams,c)}),s("setTranslate",()=>{t.params.effect===e&&r()}),s("setTransition",(c,g)=>{t.params.effect===e&&n(g)}),s("transitionEnd",()=>{if(t.params.effect===e&&a){if(!d||!d().slideShadows)return;t.slides.forEach(c=>{c.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(g=>g.remove())}),a()}});let u;s("virtualUpdate",()=>{t.params.effect===e&&(t.slides.length||(u=!0),requestAnimationFrame(()=>{u&&t.slides&&t.slides.length&&(r(),u=!1)}))})}function an(i,e){const t=Gi(e);return t!==e&&(t.style.backfaceVisibility="hidden",t.style["-webkit-backface-visibility"]="hidden"),t}function ln(i){let{swiper:e,duration:t,transformElements:s}=i;const{activeIndex:r}=e;if(e.params.virtualTranslate&&t!==0){let n=!1,o;o=s,o.forEach(l=>{qs(l,()=>{if(n||!e||e.destroyed)return;n=!0,e.animating=!1;const a=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});e.wrapperEl.dispatchEvent(a)})})}}function dn(i){let{swiper:e,extendParams:t,on:s}=i;t({fadeEffect:{crossFade:!1}}),on({effect:"fade",swiper:e,on:s,setTranslate:()=>{const{slides:o}=e,l=e.params.fadeEffect;for(let a=0;a{const l=e.slides.map(a=>Gi(a));l.forEach(a=>{a.style.transitionDuration=`${o}ms`}),ln({swiper:e,duration:o,transformElements:l})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}const cn=`/** - * Swiper 11.2.3 - * Most modern mobile touch slider and framework with hardware accelerated transitions - * https://swiperjs.com - * - * Copyright 2014-2025 Vladimir Kharlampidi - * - * Released under the MIT License - * - * Released on: February 12, 2025 - */ - -/* FONT_START */ -@font-face { - font-family: 'swiper-icons'; - src: url('data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA'); - font-weight: 400; - font-style: normal; -} -/* FONT_END */ -:root { - --swiper-theme-color: #007aff; - /* - --swiper-preloader-color: var(--swiper-theme-color); - --swiper-wrapper-transition-timing-function: initial; - */ -} -: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; - /* Fix of Webkit flickering */ - 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: translate3d(0px, 0, 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; -} -/* Auto Height */ -.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; -} -/* 3D Effects */ -.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; -} -/* CSS Mode */ -.swiper-css-mode > .swiper-wrapper { - overflow: auto; - scrollbar-width: none; - /* For Firefox */ - -ms-overflow-style: none; - /* For Internet Explorer and Edge */ -} -.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); -} -/* Slide styles start */ -/* 3D Shadows */ -.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, -.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: rgba(0, 0, 0, 0.15); -} -.swiper-3d .swiper-slide-shadow-left { - background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)); -} -.swiper-3d .swiper-slide-shadow-right { - background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)); -} -.swiper-3d .swiper-slide-shadow-top { - background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)); -} -.swiper-3d .swiper-slide-shadow-bottom { - background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)); -} -.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(0deg); - } - 100% { - transform: rotate(360deg); - } -} -/* Slide styles end */ -.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-navigation-top-offset: 50%; - --swiper-navigation-sides-offset: 10px; - --swiper-navigation-color: var(--swiper-theme-color); - */ -} -.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: 0.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-next, -.swiper-rtl .swiper-button-prev { - right: var(--swiper-navigation-sides-offset, 10px); - left: auto; -} -.swiper-button-lock { - display: none; -} -/* Navigation font start */ -.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'; -} -/* Navigation font end */ -:root { - /* - --swiper-pagination-color: var(--swiper-theme-color); - --swiper-pagination-left: auto; - --swiper-pagination-right: 8px; - --swiper-pagination-bottom: 8px; - --swiper-pagination-top: auto; - --swiper-pagination-fraction-color: inherit; - --swiper-pagination-progressbar-bg-color: rgba(0,0,0,0.25); - --swiper-pagination-progressbar-size: 4px; - --swiper-pagination-bullet-size: 8px; - --swiper-pagination-bullet-width: 8px; - --swiper-pagination-bullet-height: 8px; - --swiper-pagination-bullet-border-radius: 50%; - --swiper-pagination-bullet-inactive-color: #000; - --swiper-pagination-bullet-inactive-opacity: 0.2; - --swiper-pagination-bullet-opacity: 1; - --swiper-pagination-bullet-horizontal-gap: 4px; - --swiper-pagination-bullet-vertical-gap: 6px; - */ -} -.swiper-pagination { - position: absolute; - text-align: center; - transition: 300ms opacity; - transform: translate3d(0, 0, 0); - z-index: 10; -} -.swiper-pagination.swiper-pagination-hidden { - opacity: 0; -} -.swiper-pagination-disabled > .swiper-pagination, -.swiper-pagination.swiper-pagination-disabled { - display: none !important; -} -/* Common Styles */ -.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%; -} -/* Bullets */ -.swiper-pagination-bullets-dynamic { - overflow: hidden; - font-size: 0; -} -.swiper-pagination-bullets-dynamic .swiper-pagination-bullet { - transform: scale(0.33); - position: relative; -} -.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active { - transform: scale(1); -} -.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main { - transform: scale(1); -} -.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev { - transform: scale(0.66); -} -.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev { - transform: scale(0.33); -} -.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next { - transform: scale(0.66); -} -.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next { - transform: scale(0.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, 0.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(0px, -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: 200ms transform, - 200ms 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: translateX(-50%); - white-space: nowrap; -} -.swiper-horizontal > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet, -.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet { - transition: 200ms transform, - 200ms left; -} -.swiper-horizontal.swiper-rtl > .swiper-pagination-bullets-dynamic .swiper-pagination-bullet { - transition: 200ms transform, - 200ms right; -} -/* Fraction */ -.swiper-pagination-fraction { - color: var(--swiper-pagination-fraction-color, inherit); -} -/* Progress */ -.swiper-pagination-progressbar { - background: var(--swiper-pagination-progressbar-bg-color, rgba(0, 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; -} -:root { - /* - --swiper-scrollbar-border-radius: 10px; - --swiper-scrollbar-top: auto; - --swiper-scrollbar-bottom: 4px; - --swiper-scrollbar-left: auto; - --swiper-scrollbar-right: 4px; - --swiper-scrollbar-sides-offset: 1%; - --swiper-scrollbar-bg-color: rgba(0, 0, 0, 0.1); - --swiper-scrollbar-drag-bg-color: rgba(0, 0, 0, 0.5); - --swiper-scrollbar-size: 4px; - */ -} -.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, 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, 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; -} -/* Zoom container styles start */ -.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; -} -/* Zoom container styles end */ -.swiper-slide-zoomed { - cursor: move; - touch-action: none; -} -/* a11y */ -.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 { - pointer-events: auto; -} -.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: 0px; - width: 100%; - height: 100%; - opacity: 0.6; - z-index: 0; -} -.swiper-cube .swiper-cube-shadow:before { - content: ''; - background: #000; - position: absolute; - left: 0; - top: 0; - bottom: 0; - right: 0; - filter: blur(50px); -} -.swiper-cube .swiper-slide-next + .swiper-slide { - pointer-events: auto; - visibility: visible; -} -/* Cube slide shadows start */ -.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; -} -/* Cube slide shadows end */ -.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; -} -/* Flip slide shadows start */ -.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; -} -/* Flip slide shadows end */ -.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; -} -`;/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */const pn={CHILD:2},un=i=>(...e)=>({_$litDirective$:i,values:e});class hn{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,s){this._$Ct=e,this._$AM=t,this._$Ci=s}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}}/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */class Jt extends hn{constructor(e){if(super(e),this.it=N,e.type!==pn.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===N||e==null)return this._t=void 0,this.it=e;if(e===we)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;const t=[e];return t.raw=t,this._t={_$litType$:this.constructor.resultType,strings:t,values:[]}}}Jt.directiveName="unsafeHTML",Jt.resultType=1;const ot=un(Jt);var fn=Object.defineProperty,gn=Object.getOwnPropertyDescriptor,Wi=(i,e,t,s)=>{for(var r=s>1?void 0:s?gn(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&fn(e,t,r),r};let xt=class extends T{constructor(){super(...arguments),this.items=[]}firstUpdated(){var r,n,o,l;const i=(r=this.shadowRoot)==null?void 0:r.querySelector(".swiper"),e=(n=this.shadowRoot)==null?void 0:n.querySelector(".swiper-pagination"),t=(o=this.shadowRoot)==null?void 0:o.querySelector(".swiper-button-next"),s=(l=this.shadowRoot)==null?void 0:l.querySelector(".swiper-button-prev");if(!i||!e||!t||!s){console.error("Required Swiper elements not found");return}this.swiper=new R(i,{modules:[dn,rn,nn],loop:!0,effect:"fade",pagination:{el:e,clickable:!0,renderBullet:(a,d)=>``},navigation:{nextEl:t,prevEl:s},on:{slideChange:()=>{e.querySelectorAll("button").forEach((d,u)=>{var c;d.setAttribute("aria-selected",u===((c=this.swiper)==null?void 0:c.realIndex)?"true":"false")})}}}),requestAnimationFrame(()=>{const a=Math.floor(this.clientWidth/1.5);this.style.setProperty("--carousel-img-height",`${a}px`)})}render(){return w` -
    - - -
    - -
    -
    - -
    - `}};xt.styles=[_`${C(cn)}`,_` - .img{ - aspect-ratio: 3/2; - height: auto; - } - .img img{ - width: 100%; - height: 100%; - object-fit: cover; - } - .caption p{ - font: var(--iu-f-0); - background: #fff; - margin-bottom: 0; - margin-top: 1.75rem; - height: 100%; - } - :host .swiper-button-prev, :host .swiper-button-next{ - width: 50%; - height: var(--carousel-img-height); - top: 0; - margin-top: 0; - } - :host .swiper-button-prev::after, :host .swiper-button-next::after{ - content: none; - } - :host .swiper-pagination{ - display: flex; - gap: 0.625rem; - position: absolute; - top: calc(var(--carousel-img-height) + 0.625rem); - } - :host .swiper-pagination .swiper-pagination-bullet{ - width:100%; - border-radius: 0; - height: 1px; - margin: 0; - background: var(--iu-color-grey-300); - opacity: 1; - } - :host .swiper-pagination .swiper-pagination-bullet-active{ - background: var(--iu-color-black); - height: 3px; - } - :host .swiper-slide{ - opacity: 0; - } - :host .swiper-slide-active, :host .swiper.slide-duplicate-active{ - opacity: 1; - } - `];Wi([f({type:Array})],xt.prototype,"items",2);xt=Wi([M("iu-carousel")],xt);var mn=Object.defineProperty,vn=Object.getOwnPropertyDescriptor,Ot=(i,e,t,s)=>{for(var r=s>1?void 0:s?vn(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&mn(e,t,r),r};let ze=class extends T{constructor(){super(...arguments),this.checked=!1,this.label="",this.name=""}toggleChecked(){this.checked=!this.checked,this.dispatchEvent(new CustomEvent("change",{detail:{checked:this.checked},bubbles:!0,composed:!0}))}handleKeyDown(i){(i.key===" "||i.key==="Enter")&&(i.preventDefault(),this.toggleChecked())}render(){return w` - - ${this.label?w`${ot(this.label)}`:""} - - `}};ze.styles=_` - :host { - display: inline-flex; - align-items: start; - cursor: pointer; - user-select: none; - margin-bottom: var(--iu-spacing-5); - } - - .checkbox { - width: 18px; - height: 18px; - border: 1px solid var(--iu-color-grey-300); - border-radius: 0; - display: flex; - align-items: center; - justify-content: center; - flex-shrink: 0; - position: relative; - } - - .checkbox::after{ - content: ''; - background-image: url("data:image/svg+xml,%3Csvg fill='none' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 9'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='m4.022 7.313-2.67-2.67-.703.711 3.375 3.375 7.328-7.374-.704-.71-6.626 6.668Z' fill='%23fff'/%3E%3C/svg%3E"); - position: absolute; - background-size: contain; - background-repeat: no-repeat; - top: 50%; - left: 50%; - transform: translateX(-50%) translateY(-50%); - width: 14px; - height: 11px; - } - - .checkbox[aria-checked="true"] { - background: var(--iu-color-black); - border-color: var(--iu-color-black); - } - - .checkbox[aria-checked="true"]::after { - } - - .label { - margin-left: 14px; - font: var(--iu-fs-1); - color: var(--iu-color-black); - a{ - color: var(--iu-color-black) - } - } - - /* Focus styles */ - :host(:focus-within) .checkbox { - outline: 0; - } - `;Ot([f({type:Boolean,reflect:!0})],ze.prototype,"checked",2);Ot([f({type:String})],ze.prototype,"label",2);Ot([f({type:String})],ze.prototype,"name",2);ze=Ot([M("iu-checkbox")],ze);var wn=Object.defineProperty,bn=Object.getOwnPropertyDescriptor,Ge=(i,e,t,s)=>{for(var r=s>1?void 0:s?bn(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&wn(e,t,r),r};let ne=class extends T{constructor(){super(...arguments),this.name="#",this.contacts=[]}isExternalLink(i){try{const t=new URL(i,window.location.href).hostname;return!(t==="iuav.it"||t==="www.iuav.it")}catch{return!1}}checkLinkType(){if(this.href){const i=this.isExternalLink(this.href);this.classList.toggle("external",i),this.classList.toggle("internal",!i)}}checkCardSpan(){this.description!=null&&this.classList.add("span-2")}firstUpdated(){super.firstUpdated(),this.checkCardSpan(),this.checkLinkType()}render(){return w` -
    -
    - ${this.href?w`${this.name}`:w`${this.name}`} - ${this.sub&&w`${this.sub}`} -
    -
    - ${this.contacts&&w` - - ${this.description&&w` -

    ${this.description}

    - `} - `} -
    -
    - `}};ne.styles=_` - :host{ - display: flex; - align-items: flex-end; - aspect-ratio: 1/1; - background: var(--iu-color-black); - color: var(--iu-color-yellow-100); - padding: var(--iu-grid-gutter); - } - :host(.external) a svg{ - transform: rotate(-45deg); - } - :host(.span-2){ - aspect-ratio: unset; - } - @media ${C(O.xl)} { - :host(.span-2){ - aspect-ratio: 2/0.975; - } - } - div{ - display: flex; - flex-direction: column; - width: 100%; - height: 100%; - } - header{ - flex-grow: 1; - } - header span{ - display: block; - } - .title{ - font: var(--iu-f-lg); - } - .sub{ - margin-top: 1rem; - } - header a{ - display: flex; - text-decoration: none; - color: var(--iu-color-yellow-100); - } - header a span{ - flex-grow: 1; - } - header a svg{ - width: 40px; - flex-shrink: 0; - margin-top: 10px; - } - @media ${C(O.lg)} { - :host(.span-2) footer{ - display: grid; - grid-template-columns: repeat(2,1fr); - } - } - footer ul{ - list-style-type: none; - margin: 0; - padding: 0; - } - footer ul li a{ - color: var(--iu-color-yellow-100); - } - footer ul li a:hover{ - text-decoration: none; - } - .description{ - margin-top: var(--iu-spacing-6); - } - @media ${C(O.xl)} { - .description{ - margin-top: 0; - } - } - .description p{ - margin: 0; - } - `;Ge([f()],ne.prototype,"href",2);Ge([f()],ne.prototype,"name",2);Ge([f()],ne.prototype,"sub",2);Ge([f({type:Array})],ne.prototype,"contacts",2);Ge([f()],ne.prototype,"description",2);ne=Ge([M("iu-contact-card")],ne);var yn=Object.defineProperty,xn=Object.getOwnPropertyDescriptor,Xi=(i,e,t,s)=>{for(var r=s>1?void 0:s?xn(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&yn(e,t,r),r};let At=class extends T{constructor(){super(...arguments),this.heading="Contatti"}render(){return w` - - - `}};At.styles=_` - :host{ - display: block; - background: var(--iu-color-yellow-100); - padding-top: var(--iu-spacing-block-sm); - padding-bottom: var(--iu-spacing-block-sm); - } - iu-heading{ - --iu-heading-link-color: var(--iu-color-yellow-400); - } - `;Xi([f()],At.prototype,"heading",2);At=Xi([M("iu-contacts")],At);var An=Object.defineProperty,$n=Object.getOwnPropertyDescriptor,Qi=(i,e,t,s)=>{for(var r=s>1?void 0:s?$n(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&An(e,t,r),r};let $t=class extends T{constructor(){super(...arguments),this.heading=""}render(){return w` - ${this.heading&&w`

    ${this.heading}

    `} - - - - `}};$t.styles=_` - :host{ - display: block; - margin-bottom: var(--iu-spacing-block-sm); - } - iu-paragraph{ - margin-bottom: var(--iu-spacing-1); - } - iu-paragraph p{ - font-weight: bold; - } - iu-container{ - display: grid; - grid-template-columns: repeat(12, minmax(0, 1fr)); - gap: var(--iu-grid-gutter); - } - ::slotted(iu-contact-card){ - grid-column: span 12 / span 12; - } - @media ${C(O.md)} { - ::slotted(iu-contact-card){ - grid-column: span 6 / span 6; - } - ::slotted(.span-2){ - grid-column: span 12 / span 12; - } - } - @media ${C(O.lg)} { - ::slotted(iu-contact-card){ - grid-column: span 4 / span 4; - } - ::slotted(.span-2){ - grid-column: span 6 / span 6; - } - } - @media ${C(O.xl)} { - ::slotted(iu-contact-card){ - grid-column: span 3 / span 3; - } - } - iu-heading{ - --iu-heading-link-color: var(--iu-color-yellow-400); - } - `;Qi([f()],$t.prototype,"heading",2);$t=Qi([M("iu-contacts-cards")],$t);var Sn=Object.defineProperty,En=Object.getOwnPropertyDescriptor,Q=(i,e,t,s)=>{for(var r=s>1?void 0:s?En(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&Sn(e,t,r),r};let Y=class extends T{constructor(){super(...arguments),this.weekday="",this.day="",this.time="",this.deadline="",this.place="",this.href="",this.name=""}render(){return w` - -
    -
    - ${this.weekday} - ${this.day} -
    -
    -
    - ${this.time==""?"Tutto il giorno":this.time} - ${this.deadline&&w`Fino al ${this.deadline}`} -
    - ${this.place} -
    -
    - ${this.name} - ${this.subtitle&&w`${this.subtitle}`} - ${this.excerpt&&w`${this.excerpt}`} -
    -
    -
    - `}};Y.styles=_` - :host{ - display: block; - --iu-spacing-block: 0; - } - .event{ - padding-top: var(--iu-spacing-2); - padding-bottom: var(--iu-spacing-2); - border-top: 1px solid var(--iu-color-grey-200); - border-bottom: 1px solid var(--iu-color-grey-200); - } - @media ${C(O.md)} { - .event{ - display: grid; - grid-template-columns: repeat(12, 1fr); - gap: var(--iu-grid-gutter); - } - } - .date{ - grid-column: span 2 / span 2; - font-weight: bold; - font: var(--iu-f-md); - } - @media ${C(O.lg)} { - .date span{ - display: block; - } - } - .day{ - margin-left: var(--iu-spacing-0); - } - @media ${C(O.lg)} { - .day{ - margin-left: 0; - } - } - .info{ - grid-column: span 4 / span 4; - display: flex; - flex-direction: column; - justify-content: space-between; - font: var(--iu-f-md); - } - .info span{ - display: block; - } - .deadline{ - color: var(--iu-color-grey-300); - } - .place{ - font: var(--iu-f-1); - } - .content{ - grid-column: span 6 / span 6; - } - .title{ - font-weight: bold; - font: var(--iu-f-md); - margin-bottom: 0; - text-decoration: none; - color: var(--iu-color-black); - } - .subtitle{ - font-weight: bold; - display: block; - margin-top: var(--iu-spacing-0); - } - .excerpt{ - display: block; - margin-top: var(--iu-spacing-2); - } - `;Q([f()],Y.prototype,"weekday",2);Q([f()],Y.prototype,"day",2);Q([f()],Y.prototype,"time",2);Q([f()],Y.prototype,"deadline",2);Q([f()],Y.prototype,"place",2);Q([f()],Y.prototype,"href",2);Q([f()],Y.prototype,"name",2);Q([f()],Y.prototype,"subtitle",2);Q([f()],Y.prototype,"excerpt",2);Y=Q([M("iu-event")],Y);var Pn=Object.defineProperty,Tn=Object.getOwnPropertyDescriptor,Ve=(i,e,t,s)=>{for(var r=s>1?void 0:s?Tn(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&Pn(e,t,r),r};let oe=class extends T{constructor(){super(...arguments),this.heading="",this.link="",this.href="",this.img="",this.text=""}render(){return w` - - -
    - ${this.text&&w`
    ${ot(this.text)}
    `} -
    - `}};oe.styles=_` - :host{ - display: block; - background: var(--iu-color-black); - color: #fff; - padding-top: 2.5rem /* 40px */; - padding-bottom: 2.5rem /* 40px */; - margin-bottom: 4.5rem; - } - :host iu-heading::part(title){ - color: #fff; - } - :host iu-heading::part(link){ - color: var(--iu-color-grey-400); - } - ::slotted(p){ - font-size: 1.625rem !important; - line-height: 2.1875rem !important; - color: #fff !important; - } - .img{ - aspect-ratio: 3/2; - margin-bottom: 2rem; - overflow: hidden; - } - @media ${C(O.md)} { - .img{ - aspect-ratio: 2/1; - } - } - @media ${C(O.xl)} { - .img{ - aspect-ratio: 21/9; - } - } - .img img{ - width: 100%; - } - .text *{ - font: var(--iu-f-md); - } - `;Ve([f()],oe.prototype,"heading",2);Ve([f()],oe.prototype,"link",2);Ve([f()],oe.prototype,"href",2);Ve([f()],oe.prototype,"img",2);Ve([f({type:String,converter:i=>{if(!i)return"";const t=new DOMParser().parseFromString(i,"text/html");return(r=>{const n=["p","b","i","em","strong","span","br"];return Array.from(r.body.getElementsByTagName("*")).forEach(o=>{n.includes(o.tagName.toLowerCase())||o.remove(),Array.from(o.attributes).forEach(l=>{l.name!=="class"&&o.removeAttribute(l.name)})}),r.body.innerHTML})(t)}})],oe.prototype,"text",2);oe=Ve([M("iu-featured-content")],oe);var Cn=Object.defineProperty,_n=Object.getOwnPropertyDescriptor,at=(i,e,t,s)=>{for(var r=s>1?void 0:s?_n(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&Cn(e,t,r),r};let ye=class extends T{constructor(){super(...arguments),this.label="Download",this.columns=1,this.nested=!1,this.items=[]}render(){return w` - -
    - ${this.label&&w`

    ${this.label}

    `} -
      - ${this.items.map(i=>w` -
    • - `)} -
    -
    -
    - `}};ye.styles=_` - :host{ - display: block; - margin-bottom: var(--iu-spacing-block-sm); - } - :host p{ - font-weight: bold; - } - ul{ - list-style-type: none; - padding: 0; - margin: 0; - display: flex; - flex-wrap: wrap; - gap: 0.9375rem - } - `;at([f()],ye.prototype,"label",2);at([f({type:Number})],ye.prototype,"columns",2);at([f({type:Boolean,reflect:!0})],ye.prototype,"nested",2);at([f({type:Array})],ye.prototype,"items",2);ye=at([M("iu-files-list")],ye);var On=Object.defineProperty,Mn=Object.getOwnPropertyDescriptor,pi=(i,e,t,s)=>{for(var r=s>1?void 0:s?Mn(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&On(e,t,r),r};let et=class extends T{constructor(){super(...arguments),this.text="",this.href=""}render(){return w` -
  • ${this.text}
  • - `}};et.styles=_` - :host{ - display:block; - } - li{ - width: 100%; - } - `;pi([f()],et.prototype,"text",2);pi([f()],et.prototype,"href",2);et=pi([M("iu-files-list-item")],et);var Ln=Object.getOwnPropertyDescriptor,zn=(i,e,t,s)=>{for(var r=s>1?void 0:s?Ln(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=o(r)||r);return r};let ei=class extends T{constructor(){super(...arguments),this.currentScrollPos=0,this.prevScrollPos=0,this.handleScroll=()=>{this.currentScrollPos=window.scrollY,this.prevScrollPos>0&&this.prevScrollPos=this.currentScrollPos&&this.classList.remove("is-visible"),this.prevScrollPos=this.currentScrollPos}}connectedCallback(){super.connectedCallback(),window.addEventListener("scroll",this.handleScroll)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("scroll",this.handleScroll)}render(){return w` - - - - `}};ei.styles=_` - :host{ - transition: all .2s ease; - transform: translateY(0) translateX(-2px); - position: fixed; - bottom: 2.5rem; - left: 2.5rem; - z-index: 20; - display: none; - mix-blend-mode: difference; - } - @media ${C(O.md)} { - :host{ - display: block; - } - } - :host(.is-visible){ - transform: translateY(0) translateX(-50%); - left: 0; - } - a svg{ - width: 40px; - display: block; - } - `;ei=zn([M("iu-floating-logo")],ei);var kn=Object.defineProperty,In=Object.getOwnPropertyDescriptor,Mt=(i,e,t,s)=>{for(var r=s>1?void 0:s?In(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&kn(e,t,r),r};let ke=class extends T{constructor(){super(),this.fields=[],this.formData={},this.fields.forEach(i=>{this.formData[i.name]=""})}handleInput(i){const e=i.target;this.formData={...this.formData,[e.name]:e.value}}handleSubmit(i){i.preventDefault(),console.log("Form Data:",this.formData),this.dispatchEvent(new CustomEvent("form-submit",{detail:this.formData,bubbles:!0,composed:!0}))}updateSlottedElements(){this.slottedElements&&this.slottedElements.forEach(i=>{i instanceof HTMLElement&&i.setAttribute("nested","true")})}firstUpdated(){super.firstUpdated(),this.updateSlottedElements()}render(){const i=this.slottedElements&&this.slottedElements.length>0;return w` - -
    - - ${!i&&this.fields.length>0?this.fields.map(e=>w` -
    - - -
    - `):""} - -
    -
    - `}};ke.styles=_` - input { - padding: 8px; - font-size: 1rem; - width: 100%; - box-sizing: border-box; - } - div{ - margin-bottom: 20px; - } - label{ - font-weight: bold; - margin-bottom: 4px; - display: block; - } - button { - position: relative; - display: inline-flex; - align-items: center; - background: var(--iu-color-grey-100); - padding: 0.375rem 0.75rem; - color: var(--iu-color-black); - text-decoration: none; - border: 0; - font: var(--iu-f-sm); - cursor: pointer; - margin-top: 20px; - &:hover{ - background: var(--iu-color-black); - color: var(--iu-color-white); - } - margin-top: var(--iu-spacing-4); - } - ::slotted(iu-heading){ - --iu-heading-margin-top: var(--iu-spacing-7); - } - `;Mt([f({type:Array})],ke.prototype,"fields",2);Mt([Ss()],ke.prototype,"formData",2);Mt([rt()],ke.prototype,"slottedElements",2);ke=Mt([M("iu-form")],ke);var Dn=Object.defineProperty,Bn=Object.getOwnPropertyDescriptor,Ki=(i,e,t,s)=>{for(var r=s>1?void 0:s?Bn(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&Dn(e,t,r),r};let St=class extends T{render(){return w` - - - - - ${this.colophon&&w` - - - - `} - `}};St.styles=_` - :host{ - display: block; - position: relative; - background: var(--iu-color-black); - color: #fff; - padding-bottom: var(--iu-spacing-6); - font: var(--iu-f-0); - } - @media ${C(O.md)} { - :host{ - font: var(--iu-f-1); - } - } - .logo{ - display: flex; - margin-bottom: var(--iu-spacing-7); - padding-top: var(--iu-spacing-5); - } - .logo p{ - font: var(--iu-f-2); - margin: 0; - transform: translateY(-0.5rem); - } - .logo p span{ - display: block; - } - .logo svg{ - width: 1.875rem; - margin-right: var(--iu-spacing-2); - } - @media ${C(O.md)} { - .logo{ - padding-top: var(--iu-spacing-3); - } - .logo svg{ - display: none; - } - .logo p{ - font: var(--iu-f-1); - font-weight: bold; - transform: translateY(0); - } - .logo p span{ - display: inline; - } - } - .nav{ - margin-bottom: 0; - } - .colophon{ - border-top: 1px solid #fff; - margin-top: var(--iu-spacing-7); - margin-bottom: 0; - padding-top: var(--iu-spacing-3); - } - `;Ki([f({type:Boolean})],St.prototype,"colophon",2);St=Ki([M("iu-footer")],St);var Hn=Object.defineProperty,Nn=Object.getOwnPropertyDescriptor,Ji=(i,e,t,s)=>{for(var r=s>1?void 0:s?Nn(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&Hn(e,t,r),r};let Et=class extends T{render(){return w` - ${this.heading&&w`

    ${this.heading}

    `} - - `}};Et.styles=_` - :host{ - display: block; - color: #fff; - } - p{ - font: var(--iu-f-0); - margin: 0; - } - @media ${C(O.md)} { - p{ - font: var(--iu-f-1); - } - } - ::slotted(ul){ - margin: 0; - list-style-type: none; - padding: 0; - } - `;Ji([f()],Et.prototype,"heading",2);Et=Ji([M("iu-footer-column")],Et);var jn=Object.defineProperty,Gn=Object.getOwnPropertyDescriptor,Fe=(i,e,t,s)=>{for(var r=s>1?void 0:s?Gn(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&jn(e,t,r),r};let ae=class extends T{constructor(){super(...arguments),this.columns=1,this.inline=!1}isNested(){let i=this.parentNode;for(;i;){if(i instanceof HTMLElement&&i.tagName==="IU-CONTAINER")return!0;i instanceof ShadowRoot?i=i.host:i=i.parentNode}return!1}hasColumns(){this.classList.add("columns"),this.style.setProperty("--iu-container-columns",this.columns.toString()),this.columnsMd&&(this.classList.add("columns"),this.style.setProperty("--iu-container-columns-md",this.columnsMd.toString())),this.columnsLg&&(this.classList.add("columns"),this.style.setProperty("--iu-container-columns-lg",this.columnsLg.toString())),this.columnsXl&&(this.classList.add("columns"),this.style.setProperty("--iu-container-columns-xl",this.columnsXl.toString()))}connectedCallback(){super.connectedCallback(),this.hasColumns()}render(){return w` - - `}};ae.styles=_` - :host{ - display: block; - padding-left: var(--iu-grid-gutter); - padding-right: var(--iu-grid-gutter); - margin-left: var(--iu-grid-offset); - } - :host(.columns){ - margin-bottom: var(--iu-spacing-block); - } - @media ${C(O.md)} { - :host{ - padding-left: 0; - padding-right: 0; - width: calc(100% - var(--iu-grid-offset) - var(--iu-grid-gutter)); - } - } - @media ${C(O.xxl)} { - :host{ - max-width: var(--iu-screens-2xl); - margin-left: max(var(--iu-grid-offset), calc((100vw - var(--iu-screens-2xl))/2)); - } - } - :host([nested]){ - margin-left: 0; - width: 100%; - } - :host(.columns){ - display: grid; - grid-template-columns: repeat(12, 1fr); - grid-column-gap: var(--iu-grid-gutter); - row-gap: var(--iu-spacing-7); - } - :host(.columns) ::slotted(*){ - // grid-column: span calc(12 / var(--iu-container-columns, 1)); - grid-column: span 12; - } - @media ${C(O.md)} { - :host(.columns) ::slotted(*){ - grid-column: span calc(12 / var(--iu-container-columns-md, var(--iu-container-columns, 1))); - } - } - @media ${C(O.lg)} { - :host(.columns) ::slotted(*){ - grid-column: span calc(12 / var(--iu-container-columns-lg, var(--iu-container-columns-md, var(--iu-container-columns, 1)))); - - } - } - @media ${C(O.xl)} { - :host(.columns) ::slotted(*){ - grid-column: span calc(12 / var(--iu-container-columns-xl, var(--iu-container-columns-lg, var(--iu-container-columns-md, var(--iu-container-columns, 1))))); - } - } - :host([inline]){ - display: block; - } - `;Fe([f({type:Number})],ae.prototype,"columns",2);Fe([f({type:Number,attribute:"columns-md"})],ae.prototype,"columnsMd",2);Fe([f({type:Number,attribute:"columns-lg"})],ae.prototype,"columnsLg",2);Fe([f({type:Number,attribute:"columns-xl"})],ae.prototype,"columnsXl",2);Fe([f({type:Boolean,reflect:!0})],ae.prototype,"inline",2);ae=Fe([M("iu-container")],ae);var Vn=Object.defineProperty,Fn=Object.getOwnPropertyDescriptor,he=(i,e,t,s)=>{for(var r=s>1?void 0:s?Fn(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&Vn(e,t,r),r};let W=class extends T{constructor(){super(...arguments),this.sm=12}updateSlottedElements(){this.slotElement.assignedElements({flatten:!0}).forEach(e=>{e instanceof HTMLElement&&(console.log("test"),e.setAttribute("nested","true"))})}firstUpdated(){super.firstUpdated(),this.updateSlottedElements()}updated(i){["sm","md","lg","xl"].forEach(t=>{if(i.has(t)){const s=this[t];this.style.setProperty(`--column-span-${t}`,(s==null?void 0:s.toString())||"")}}),this.sticky&&this.top&&this.style.setProperty("--column-sticky-top",`${Math.round(this.top/16)}rem`),this.sticky&&this.top}render(){return w` - - `}};W.styles=_` - :host{ - display: block; - grid-column: span var(--column-span-sm, 1); - } - @media ${C(O.md)} { - :host{ - grid-column: span var(--column-span-md, var(--column-span-sm, 1)); - } - } - @media ${C(O.lg)} { - :host{ - grid-column: span var(--column-span-lg, var(--column-span-md, var(--column-span-sm, 1))); - } - } - @media ${C(O.xl)} { - :host{ - grid-column: span var(--column-span-xl, var(--column-span-lg, var(--column-span-md, var(--column-span-sm, 1)))); - } - :host([sticky]){ - position: sticky; - top: var(--column-sticky-top, 0); - align-self: start; - } - } - `;he([f({type:Number})],W.prototype,"sm",2);he([f({type:Number})],W.prototype,"md",2);he([f({type:Number})],W.prototype,"lg",2);he([f({type:Number})],W.prototype,"xl",2);he([f({type:Boolean})],W.prototype,"sticky",2);he([f({type:Number})],W.prototype,"top",2);he([st("slot")],W.prototype,"slotElement",2);W=he([M("iu-column")],W);var Rn=Object.getOwnPropertyDescriptor,Yn=(i,e,t,s)=>{for(var r=s>1?void 0:s?Rn(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=o(r)||r);return r};let ti=class extends T{render(){return w` - - `}};ti.styles=_` - :host{ - display: block; - margin-bottom: var(--iu-spacing-block); - } - `;ti=Yn([M("iu-group")],ti);var Un=Object.defineProperty,qn=Object.getOwnPropertyDescriptor,Ee=(i,e,t,s)=>{for(var r=s>1?void 0:s?qn(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&Un(e,t,r),r};let K=class extends T{constructor(){super(...arguments),this.label="",this.type="text",this.name="",this.placeholder="",this.value=""}handleInput(i){const e=i.target;this.value=e.value,this.dispatchEvent(new CustomEvent("input-change",{detail:{name:this.name,value:this.value},bubbles:!0,composed:!0}))}render(){return w` -
    - -
    - -
    - ${this.helper&&w`${this.helper}`} -
    - `}};K.styles=_` - :host { - display: block; - } - .input-group{ - margin-bottom: var(--iu-spacing-4); - } - label { - font-weight: bold; - display: block; - margin-bottom: var(--iu-spacing-0); - } - .input{ - border-top: 1px solid var(--iu-color-grey-200); - border-bottom: 1px solid var(--iu-color-grey-200); - } - .input:has(+ .helper){ - margin-bottom: var(--iu-spacing-0); - } - .helper{ - font: var(--iu-f-0); - color: var(--iu-color-grey-500); - } - input { - width: 100%; - height: 2.25rem; - padding: 8px 0; - font-size: 1rem; - border: 0; - color: var(--iu-color-grey-300); - box-sizing: border-box; - } - input::placeholder{ - color: var(--iu-color-grey-300); - } - .input:has(input:focus) { - border-top: 1px solid var(--iu-color-black); - border-bottom: 1px solid var(--iu-color-black); - } - input:focus{ - outline: 0; - } - `;Ee([f({type:String})],K.prototype,"label",2);Ee([f({type:String})],K.prototype,"type",2);Ee([f({type:String})],K.prototype,"name",2);Ee([f({type:String})],K.prototype,"placeholder",2);Ee([f({type:String})],K.prototype,"value",2);Ee([f({type:String})],K.prototype,"helper",2);K=Ee([M("iu-input")],K);var Zn=Object.defineProperty,Wn=Object.getOwnPropertyDescriptor,lt=(i,e,t,s)=>{for(var r=s>1?void 0:s?Wn(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&Zn(e,t,r),r};let xe=class extends T{constructor(){super(...arguments),this.label="Menu principale",this.open=!1,this.secondaryNavItems=[],this.secondaryNavLabel="Menu secondario",this.handleMenuToggle=()=>{this.open=!this.open,this.requestUpdate()}}connectedCallback(){super.connectedCallback(),window.addEventListener("toggle-mobile-menu",this.handleMenuToggle)}disconnectedCallback(){window.removeEventListener("toggle-mobile-menu",this.handleMenuToggle),super.disconnectedCallback()}render(){return w` - ${this.secondaryNavItems.length>0?w` - - `:""} - - `}};xe.styles=_` - :host { - position: fixed; - display: none; - left: 0; - height: calc(100dvh - 50px); - width: 100%; - max-width: 48rem; - background: var(--iu-color-white); - top: 50px; - z-index: 50; - overflow: auto; - } - @media ${C(O.md)} { - :host{ - width: calc((100% - var(--iu-grid-offset)) - var(--iu-grid-gutter)); - } - } - :host([open]){ - display: block; - } - /* fallback if event listener doesn't work */ - @media ${C(O.xl)} { - :host([open]){ - display: none; - } - } - ul{ - list-style-type: none; - padding: 0; - margin: 0; - } - .secondary-nav{ - background: var(--iu-color-black); - ul{ - padding-top: var(--iu-spacing-1); - padding-bottom: var(--iu-spacing-2); - } - li:not(:last-child){ - margin-bottom: var(--iu-spacing-0); - } - a{ - color: var(--iu-color-white); - text-decoration: none; - padding: 0 var(--iu-grid-gutter); - } - } - `;lt([f({type:String})],xe.prototype,"label",2);lt([f({type:Boolean,reflect:!0})],xe.prototype,"open",2);lt([f({type:Array,attribute:"secondary-nav-items"})],xe.prototype,"secondaryNavItems",2);lt([f({type:String,attribute:"secondary-nav-label"})],xe.prototype,"secondaryNavLabel",2);xe=lt([M("iu-mobile-menu")],xe);var Xn=Object.defineProperty,Qn=Object.getOwnPropertyDescriptor,dt=(i,e,t,s)=>{for(var r=s>1?void 0:s?Qn(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&Xn(e,t,r),r};let Ae=class extends T{constructor(){super(...arguments),this.href="",this.text="",this.items=[],this.isToggled=!1,this.hasSlotted=!1}handleSlotChange(){this.hasSlotted=!!(this.slottedElements&&this.slottedElements.length>0),this.requestUpdate()}isNestedMenuItem(){const i=this.parentElement;return(i==null?void 0:i.tagName.toLowerCase())==="iu-mobile-menu-item"}isLastSlottedItem(){if(!this.assignedSlot)return!1;const i=this.assignedSlot.assignedNodes().filter(e=>e.nodeType===Node.ELEMENT_NODE);return i[i.length-1]===this}toggleSubmenu(i){i.stopPropagation(),this.isToggled=!this.isToggled,this.requestUpdate()}render(){return w` -
  • - ${this.items.length>0||this.hasSlotted?w` -
    - ${this.text} - -
    - `:w` - - `} - - - ${this.items.length>0||this.hasSlotted?w` -
      - ${this.items.map(i=>w` -
    • -
      - ${i.text} -
      -
    • - `)} - -
    - `:w``} - -
  • - `}};Ae.styles=_` - :host{ - display: block; - } - li{ - display: block; - width: 100%; - } - div{ - display: flex; - border-bottom: 1px solid var(--iu-color-black); - } - a{ - font-weight: bold; - width: calc(100% - 50px); - display: flex; - align-items: center; - padding: 0 var(--iu-grid-gutter); - border-right: 1px solid var(--iu-color-grey-200); - height: 3.125rem; - text-decoration: none; - color: var(--iu-color-black); - box-sizing: border-box; - } - button{ - width: 50px; - height: 50px; - padding: 0; - flex-shrink: 0; - background: transparent; - border: 0; - cursor: pointer; - & svg{ - width: 50px; - height: 50px; - } - } - ul{ - list-style-type: none; - padding: 0; - margin: 0; - display: none; - & li { - & a{ - padding-left: var(--iu-spacing-6); - font-weight: normal; - } - } - } - .is-toggled{ - & button{ - transform: rotate(180deg); - } - & ul{ - display: block; - } - } - .is-nested{ - & div{ - border-color: var(--iu-color-grey-200); - } - & a{ - padding-left: var(--iu-spacing-6); - } - } - .is-last{ - div{ - } - } - `;dt([f()],Ae.prototype,"href",2);dt([f()],Ae.prototype,"text",2);dt([f({type:Array})],Ae.prototype,"items",2);dt([rt()],Ae.prototype,"slottedElements",2);Ae=dt([M("iu-mobile-menu-item")],Ae);var Kn=Object.defineProperty,Jn=Object.getOwnPropertyDescriptor,es=(i,e,t,s)=>{for(var r=s>1?void 0:s?Jn(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&Kn(e,t,r),r};let Pt=class extends T{constructor(){super(...arguments),this.visible=!1}render(){return w`
    `}};Pt.styles=_` - :host { - transition: opacity .25s ease, visibility 1s linear; - pointer-events: none; - visibility: hidden; - opacity: 0; - position: fixed; - top: 0; - left: 0; - width: 100%; - height: 100%; - background-color: rgba(0, 0, 0, 0.5); - z-index: 40; - } - :host([visible]) { - transition: opacity .25s ease, visibility 1s linear; - visibility: visible; - opacity: 1; - } - `;es([f({type:Boolean,reflect:!0})],Pt.prototype,"visible",2);Pt=es([M("iu-overlay")],Pt);var eo=Object.defineProperty,to=Object.getOwnPropertyDescriptor,Pe=(i,e,t,s)=>{for(var r=s>1?void 0:s?to(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&eo(e,t,r),r};let J=class extends T{constructor(){super(...arguments),this.selected="",this.name="",this.options=[]}handleChange(i){var s;const e=i.target;this.selected=e.value;const t=(s=this.shadowRoot)==null?void 0:s.querySelector(".select");t&&t.classList.toggle("has-value",this.selected!==""),this.dispatchEvent(new CustomEvent("select-change",{detail:{value:this.selected},bubbles:!0,composed:!0}))}render(){return w` -
    - -
    - - -
    -
    - `}};J.styles=_` - :host { - display: block; - } - .select-group{ - margin-bottom: var(--iu-spacing-4); - } - label { - font-weight: bold; - display: block; - margin-bottom: var(--iu-spacing-0); - } - .select{ - width: 100%; - border-top: 1px solid var(--iu-color-grey-200); - border-bottom: 1px solid var(--iu-color-grey-200); - position: relative; - } - - .select.has-value select { - color: var(--iu-color-black); - } - - select { - width: 100%; - height: 2.25rem; - appearance: none; - border: 0; - background: transparent; - padding: 8px 0; - color: var(--iu-color-grey-300); - font-size: 1rem; - cursor: pointer; - } - - .select:has(select:focus){ - border-top: 1px solid var(--iu-color-black); - border-bottom: 1px solid var(--iu-color-black); - } - - select:focus { - outline: 0; - color: var(--iu-color-black); - } - svg{ - width: 36px; - height: 36px; - position: absolute; - right: 0; - top: 0; - pointer-events: none; - } - `;Pe([f({type:String})],J.prototype,"selected",2);Pe([f({type:String})],J.prototype,"name",2);Pe([f({type:String})],J.prototype,"label",2);Pe([f({type:String})],J.prototype,"placeholder",2);Pe([f({type:Array})],J.prototype,"options",2);Pe([rt()],J.prototype,"slottedOptions",2);J=Pe([M("iu-select")],J);var io=Object.defineProperty,so=Object.getOwnPropertyDescriptor,Re=(i,e,t,s)=>{for(var r=s>1?void 0:s?so(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&io(e,t,r),r};let le=class extends T{constructor(){super(...arguments),this.href="",this.text="",this.isActive=!1,this.submenu=!1}toggleSubmenu(){this.dispatchEvent(new CustomEvent("iu-header-toggle-submenu",{bubbles:!0,composed:!0,detail:{source:this,closing:this.isActive}})),this.isActive=!this.isActive,this.toggleOverlay(this.isActive),this.isActive?(document.body.dataset.scrollY=window.scrollY.toString(),document.body.style.top=`-${window.scrollY}px`,document.body.style.position="fixed",document.body.style.width="100%"):(document.body.style.top="",document.body.style.position="",window.scrollTo(0,Number(document.body.dataset.scrollY||"0"))),this.submenuElements.forEach(i=>{this.isActive&&i.classList.add("is-active")})}toggleOverlay(i){const e=document.querySelector("iu-overlay");e&&(e.visible=i)}render(){const i=this.isActive?"is-active":"",e=this.submenu?this.toggleSubmenu:null;return w` - - `}};le.styles=_` - :host a, :host span{ - color: var(--theme-color-black); - text-decoration: none; - cursor: pointer; - } - .is-active{ - text-decoration: underline; - } - `;Re([f()],le.prototype,"href",2);Re([f()],le.prototype,"text",2);Re([f({type:Boolean})],le.prototype,"isActive",2);Re([f({type:Boolean,reflect:!0})],le.prototype,"submenu",2);Re([Hi({slot:""})],le.prototype,"submenuElements",2);le=Re([M("iu-header-navbar-item")],le);var ro=Object.getOwnPropertyDescriptor,no=(i,e,t,s)=>{for(var r=s>1?void 0:s?ro(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=o(r)||r);return r};let ii=class extends T{get container(){var i;return(i=this.shadowRoot)==null?void 0:i.querySelector("div")}render(){return w` -
    -
      - -
    -
    - `}};ii.styles=_` - :host{ - display: block; - } - div{ - box-sizing: border-box; - pointer-events: none; - visibility: hidden; - opacity: 0; - position: absolute; - transform: translateZ(0) translateY(calc(100% - 2px)); - bottom: 0; - left: 0; - // width: 100%; - background: #fff; - } - :host > div > ul { - list-style-type: none; - margin: 0; - padding-top: var(--iu-spacing-6); - padding-bottom: var(--iu-spacing-7); - padding-left: var(--iu-grid-offset); - padding-right: var(--iu-grid-gutter); - orphans: 1; - columns: 3; - column-gap: var(--iu-grid-gutter); - } - :host(.is-active) div{ - pointer-events: auto; - visibility: visible; - opacity: 1; - } - :host(.is-closing) div{ - } - ::slotted(*){ - opacity: 1; - } - :host(.is-active.is-closing) ::slotted(*) { - transition: opacity .1s ease; - opacity: 0; - } - `;ii=no([M("iu-header-navbar-submenu")],ii);var oo=Object.defineProperty,ao=Object.getOwnPropertyDescriptor,Lt=(i,e,t,s)=>{for(var r=s>1?void 0:s?ao(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&oo(e,t,r),r};let Ie=class extends T{constructor(){super(...arguments),this.href="",this.text="",this.items=[]}render(){return w` -
  • - ${this.text} - ${this.items.length>0?w` -
      - ${this.items.map(i=>w` -
    • - ${i.text} -
    • - `)} -
    - `:""} -
  • - `}};Ie.styles=_` - :host{ - display: block; - line-height: 1; - } - :host > li{ - break-inside: avoid; - user-select: none; - display: block; - } - li{ - margin: 0; - padding: 0; - } - .section{ - padding-left: 0.125rem; - font-weight: 700; - border-bottom: 1px solid var(--iu-color-grey-200); - } - .section.no-submenu{ - } - a{ - display: inline-block; - width: 100%; - box-sizing: border-box; - text-decoration: none; - color: var(--iu-color-black); - padding-top: .5rem; - padding-bottom: .5rem; - font: var(--iu-f-0); - } - a:hover{ - background: var(--iu-color-black); - color: var(--iu-color-white); - border-color: var(--iu-color-black); - } - :host > li{ - margin-top: -1px; - } - :host > li > a { - border-top: 1px solid var(--iu-color-black); - } - ul{ - margin: 0; - padding: 0; - list-style-type: none; - width: 100%; - } - ul li { - display: inline-block; - width: 100%; - } - ul li:not(:last-child){ - } - ul li a{ - display: grid; - grid-template-columns: repeat(4, 1fr); - border-bottom: 1px solid var(--iu-color-grey-200); - } - ul li a span{ - grid-column: 2/5; - } - `;Lt([f()],Ie.prototype,"href",2);Lt([f()],Ie.prototype,"text",2);Lt([f({type:Array})],Ie.prototype,"items",2);Ie=Lt([M("iu-header-navbar-submenu-section")],Ie);var lo=Object.defineProperty,co=Object.getOwnPropertyDescriptor,zt=(i,e,t,s)=>{for(var r=s>1?void 0:s?co(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&lo(e,t,r),r};let De=class extends T{constructor(){super(...arguments),this.mobileMenuOpen=!1,this.i18n=!1,this.handleResize=()=>{if(window.innerWidth<1280&&(this.closeAllSubmenu(),this.requestUpdate()),window.innerWidth>1280&&this.mobileMenuOpen){this.mobileMenuOpen=!1,this.dispatchEvent(new CustomEvent("toggle-mobile-menu",{detail:!1,bubbles:!0,composed:!0})),document.body.style.top="",document.body.style.position="";const i=document.querySelector("iu-overlay");i&&(i.visible=!1),this.requestUpdate()}}}isAnySubmenuOpen(){return!this.navbarItems.some(i=>i.isActive)}updateActionsVisibility(){var e;const i=(e=this.shadowRoot)==null?void 0:e.querySelector(".actions button");i&&(this.isAnySubmenuOpen()?i.style.display="block":i.style.display="none")}handleSubmenuToggle(i){const{source:e}=i.detail;this.navbarItems.forEach(t=>{t!==e&&(t.isActive=!1,t.submenuElements.forEach(s=>s.classList.remove("is-active"))),i.detail.closing&&t===e&&t.submenuElements.forEach(s=>{s.classList.add("is-closing");const r=s.container,n=r.scrollHeight;r.animate([{height:`${n}px`},{height:0}],{duration:250,delay:250,easing:"ease-out"}).onfinish=()=>{s.classList.remove("is-closing"),s.classList.remove("is-active")}})}),this.updateActionsVisibility()}closeAllSubmenu(){var e;const i=(e=this.shadowRoot)==null?void 0:e.querySelector(".actions button");i&&(i.style.display="none"),this.navbarItems.forEach(t=>{t.isActive=!1,t.submenuElements.forEach(s=>{if(s.classList.contains("is-active")){const r=document.querySelector("iu-overlay");r.visible=!1,s.classList.add("is-closing");const n=s.container,o=n.scrollHeight;n.animate([{height:`${o}px`},{height:0}],{duration:250,delay:250,easing:"ease-out"}).onfinish=()=>{s.classList.remove("is-closing"),s.classList.remove("is-active")}}else s.classList.remove("is-active")})})}toggleMobileMenu(){const i=document.querySelector("iu-overlay");i.visible=!i.visible,this.mobileMenuOpen=!this.mobileMenuOpen,this.mobileMenuOpen?(document.body.dataset.scrollY=window.scrollY.toString(),document.body.style.top=`-${window.scrollY}px`,document.body.style.position="fixed"):(document.body.style.top="",document.body.style.position="",window.scrollTo(0,Number(document.body.dataset.scrollY||"0"))),this.dispatchEvent(new CustomEvent("toggle-mobile-menu",{bubbles:!0,composed:!0}))}connectedCallback(){super.connectedCallback(),this.addEventListener("iu-header-toggle-submenu",this.handleSubmenuToggle),this.updateActionsVisibility(),this.addEventListener("close-mobile-menu",()=>{this.mobileMenuOpen=!1,this.requestUpdate()}),window.addEventListener("resize",this.handleResize)}disconnectedCallback(){this.removeEventListener("iu-header-toggle-submenu",this.handleSubmenuToggle),window.removeEventListener("resize",this.handleResize),super.disconnectedCallback()}render(){return w` - - - - - - - -
    - ${this.i18n?w` - EN - `:""} - -
    - -
    - - `}};De.styles=_` - @media ${C(O.xxl)} { - :host{ - display: block; - } - } - :host a{ - color: var(--theme-color-black); - text-decoration: none; - } - :host iu-container{ - display: flex; - justify-content: space-between; - align-items: center; - height: 3.125rem; - background: var(--theme-color-white); - grid-template-columns: repeat(4, minmax(0, 1fr)); - margin-bottom: 0; - } - @media ${C(O.xl)} { - :host iu-container{ - display: grid; - height: 3.75rem; - } - } - .logo{ - font-weight: 700; - grid-column: span 1; - } - .nav{ - grid-column: 2 / 5; - display: none; - justify-content: space-between; - align-items: center; - } - @media ${C(O.xl)} { - .nav{ - display: flex; - } - } - .nav ul{ - margin: 0; - padding: 0; - list-style-type: none; - display: flex; - } - :host nav ul ::slotted(*:not(:last-child)){ - margin-right: var(--iu-spacing-4); - } - .actions button{ - width: 50px; - height: 50px; - background: transparent; - border: 0; - padding: 0; - cursor: pointer; - display: none; - margin-right: calc((50px - 16px) / 2 * -1) - } - .actions button svg{ - height: 16px; - width: 16px; - } - .mobile-actions{ - display: flex; - align-items: center; - transform: translateX(var(--iu-grid-gutter)); - & a{ - margin-right: var(--iu-spacing-0); - } - } - @media ${C(O.xl)} { - .mobile-actions{ - display: none; - } - } - .hamburger{ - background: transparent; - border: 0; - cursor: pointer; - width: 50px; - height: 50px; - padding: 0; - svg{ - width: 100%; - height: 100%; - } - } - `;zt([f({type:Boolean})],De.prototype,"mobileMenuOpen",2);zt([f({type:Boolean})],De.prototype,"i18n",2);zt([Hi({slot:""})],De.prototype,"navbarItems",2);De=zt([M("iu-header-navbar")],De);var po=Object.defineProperty,uo=Object.getOwnPropertyDescriptor,kt=(i,e,t,s)=>{for(var r=s>1?void 0:s?uo(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&po(e,t,r),r};let Be=class extends T{constructor(){super(...arguments),this.href="",this.text="",this.target="self"}render(){return w` -
  • ${this.text}
  • - `}};Be.styles=_` - :host a{ - color: #fff; - text-decoration: none; - } - `;kt([f()],Be.prototype,"href",2);kt([f()],Be.prototype,"text",2);kt([f()],Be.prototype,"target",2);Be=kt([M("iu-header-topbar-item")],Be);var ho=Object.defineProperty,fo=Object.getOwnPropertyDescriptor,It=(i,e,t,s)=>{for(var r=s>1?void 0:s?fo(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&ho(e,t,r),r};let He=class extends T{constructor(){super(...arguments),this.i18n=!1,this.searchable=!1}getLastElement(){if(!this.slottedElements)return;const i=Array.from(this.slottedElements).filter(e=>e instanceof HTMLElement);i.length>0&&i[i.length-1].classList.add("last")}firstUpdated(){this.getLastElement()}render(){return w` - - -
    - ${this.i18n&&w`EN`} - ${this.searchable?w``:""} -
    -
    - `}};He.styles=_` - :host{ - background: var(--iu-color-black); - height: 40px; - display: none; - align-items: center; - font-size: 0.8125rem; - } - @media ${C(O.xl)} { - :host{ - display: flex; - } - } - :host nav ul{ - margin: 0; - padding: 0; - display: flex; - list-style-type: none; - } - :host nav ul ::slotted(li:not(:last-child)){ - margin-right: 20px; - } - :host a{ - color: #fff; - text-decoration: none; - } - :host iu-container{ - display: flex; - align-items: center; - justify-content: space-between; - margin-bottom: 0; - } - :host div{ - display: flex; - align-items: center; - justify-content: space-between; - } - :host nav ul ::slotted(*){ - margin-right: 20px; - } - :host nav ul ::slotted(.last){ - margin-right: 0; - } - :host div svg{ - width: 1.375rem; - height: 2.25rem; - display: block; - } - :host div a{ - margin-left: 0.9375rem; - } - `;It([f({type:Boolean})],He.prototype,"i18n",2);It([f({type:Boolean})],He.prototype,"searchable",2);It([rt()],He.prototype,"slottedElements",2);He=It([M("iu-header-topbar")],He);var go=Object.getOwnPropertyDescriptor,mo=(i,e,t,s)=>{for(var r=s>1?void 0:s?go(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=o(r)||r);return r};let si=class extends T{constructor(){super(...arguments),this.currentScrollPos=0,this.prevScrollPos=0,this.headerHeight=0,this.menuIsOpen=!1,this.handleScroll=()=>{this.currentScrollPos=window.scrollY,this.currentScrollPos>this.headerHeight&&this.menuIsOpen==!1?document.body.classList.add("is-scrolled"):document.body.classList.remove("is-scrolled"),this.prevScrollPos>this.headerHeight&&this.prevScrollPos=this.currentScrollPos&&this.menuIsOpen==!1&&this.classList.remove("is-hidden"),this.prevScrollPos=this.currentScrollPos},this.getHeaderHeight=()=>(this.headerHeight=this.clientHeight,`${this.clientHeight}px`)}connectedCallback(){super.connectedCallback(),window.addEventListener("scroll",this.handleScroll)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("scroll",this.handleScroll)}firstUpdated(){document.documentElement.style.setProperty("--iu-header-height",this.getHeaderHeight())}render(){return w` - - `}};si.styles=_` - :host{ - position: sticky; - top: 0; - z-index: 50; - background: #fff; - display:block; - transform: translateY(0); - transition: transform .5s ease; - } - @media ${C(O.md)} { - :host(.is-hidden){ - transform: translateY(-100%); - } - } - `;si=mo([M("iu-header")],si);var vo=Object.defineProperty,wo=Object.getOwnPropertyDescriptor,fe=(i,e,t,s)=>{for(var r=s>1?void 0:s?wo(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&vo(e,t,r),r};let X=class extends T{constructor(){super(...arguments),this.text="",this.href="",this.link="",this.size=1,this.tag=2,this.noDivider=!1,this.nested=!1}render(){const i=this.href?w`${this.link}`:null,t=((s,r)=>{switch(s){case 1:return w`

    ${r}

    `;case 2:return w`

    ${r}

    `;case 3:return w`

    ${r}

    `;case 4:return w`

    ${r}

    `;case 5:return w`
    ${r}
    `;case 6:return w`
    ${r}
    `;default:return w`

    ${r}

    `}})(this.tag,this.text);return w` - -
    - ${t} - ${i} -
    -
    - `}};X.styles=_` - :host{ - display: block; - margin-top: var(--iu-heading-margin-top, 0); - margin-bottom: var(--iu-heading-margin-bottom, var(--iu-spacing-block-sm)); - --iu-heading-color: var(--iu-color-black); - --iu-heading-link-color: var(--iu-color-grey-300); - } - h1,h2,h3,h4,h5,h6{ - color: var(--iu-heading-color); - margin: 0; - font-weight: 400; - } - .size-1 h1, - .size-1 h2, - .size-1 h3, - .size-1 h4, - .size-1 h5, - .size-1 h5 - { - font: var(--iu-f-lg); - } - .size-2 h1, - .size-2 h2, - .size-2 h3, - .size-2 h4, - .size-2 h5, - .size-2 h5 - { - font: var(--iu-f-2xl); - } - .inner{ - // width: calc(100% / 12 * 11); - width: 100%; - border-top: 1px solid var(--iu-color-black); - padding-top: 0.75rem; - } - @media ${C(O.md)} { - .inner{ - display: flex; - justify-content: space-between; - align-items: baseline; - } - } - .inner.no-divider{ - border-top: 0; - padding-top: 0; - } - .inner.has-link{ - width: 100%; - } - a{ - font: var(--iu-f-lg); - text-decoration: none !important; - color: var(--iu-heading-link-color); - flex-shrink: 0; - } - iu-container{ - margin-bottom: 0; - } - `;fe([f()],X.prototype,"text",2);fe([f()],X.prototype,"href",2);fe([f()],X.prototype,"link",2);fe([f({type:Number})],X.prototype,"size",2);fe([f({type:Number})],X.prototype,"tag",2);fe([f({type:Boolean})],X.prototype,"noDivider",2);fe([f({type:Boolean,reflect:!0})],X.prototype,"nested",2);X=fe([M("iu-heading")],X);var bo=Object.defineProperty,yo=Object.getOwnPropertyDescriptor,Te=(i,e,t,s)=>{for(var r=s>1?void 0:s?yo(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&bo(e,t,r),r};let ee=class extends T{constructor(){super(...arguments),this.setHeroBannerHeight=()=>{if(window.matchMedia("(min-width: 62rem)").matches){const i=this.offsetTop;this.style.setProperty("--iu-hero-banner-height",`${window.innerHeight-i}px`)}},this.jpg="",this.webp="",this.alt="",this.mp4="",this.webm="",this.heading=""}connectedCallback(){super.connectedCallback(),window.addEventListener("resize",this.setHeroBannerHeight)}firstUpdated(){requestAnimationFrame(()=>{this.setHeroBannerHeight()})}render(){return w` -
    - - - ${this.jpg&&w` -
    - - ${this.webp?w``:""} - - ${this.alt} - -
    - `} - - ${(this.webm||this.mp4)&&w` -
    - -
    - `} - - ${this.heading&&w` -

    ${this.heading}

    - `} - -
    -
    - `}};ee.styles=_` - :host{ - display:block; - margin-bottom: var(--iu-spacing-block-lg); - } - .video, .img{ - aspect-ratio: 16/9; - position: relative; - overflow: hidden; - z-index: 20; - } - .video{ - margin-bottom: calc(var(--iu-grid-gutter)*2); - } - @media ${C(O.md)} { - .video, .img{ - aspect-ratio: auto; - } - } - @media ${C(O.lg)} { - .video, .img{ - height: calc(var(--iu-hero-banner-height) - var(--iu-grid-gutter)); - } - } - .video video, .img img{ - width: 100%; - height: 100%; - object-fit: cover; - } - h1{ - font-weight: 400; - font: var(--iu-f-4); - z-index: 10; - margin-bottom: 0; - margin-top: 0; - width: calc(100% / 12 * 11); - } - @media ${C(O.md)} { - h1{ - font: var(--iu-f-7); - } - } - @media ${C(O.lg)} { - h1{ - font: var(--iu-f-9); - position: sticky; - bottom: var(--iu-grid-gutter); - } - } - `;Te([f()],ee.prototype,"jpg",2);Te([f()],ee.prototype,"webp",2);Te([f()],ee.prototype,"alt",2);Te([f()],ee.prototype,"mp4",2);Te([f()],ee.prototype,"webm",2);Te([f()],ee.prototype,"heading",2);ee=Te([M("iu-hero-banner")],ee);var xo=Object.defineProperty,Ao=Object.getOwnPropertyDescriptor,Ce=(i,e,t,s)=>{for(var r=s>1?void 0:s?Ao(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&xo(e,t,r),r};let te=class extends T{constructor(){super(...arguments),this.target="_self",this.size=1,this.nested=!1}render(){let i=!1;try{const t=new URL(this.href??"",window.location.href).hostname;i=!(t==="iuav.it"||t==="www.iuav.it")}catch{i=!1}return w` - - - ${i?w` - `:w` - `} - - ${this.text} - ${this.label&&w`${this.label}`} - - - - `}};te.styles=_` - :host{ - display: block; - --iu-comp-bg: transparent; - --iu-comp-color: var(--iu-color-black); - --iu-comp-bg-hover: var(--iu-color-black); - --iu-comp-color-hover: var(--iu-color-white); - --iu-comp-border-color: var(--iu-color-grey-200); - --iu-comp-border-color-hover: var(--iu-color-grey-500); - // margin-bottom: var(--iu-spacing-3); - } - @media ${C(O.md)} { - :host{ - // margin-bottom: var(--iu-spacing-6); - } - } - a{ - background: var(--iu-comp-bg); - color: var(--iu-comp-color); - font: var(--iu-f-2); - text-decoration: none; - border-top: 1px solid var(--iu-comp-border-color); - position: relative; - display: flex; - } - a.size-2{ - font: var(--iu-f-lg); - } - a:hover{ - background: var(--iu-comp-bg-hover); - color: var(--iu-comp-color-hover); - } - svg{ - width: 2.25rem; - height: 2.25rem; - margin-right: var(--iu-spacing-0); - flex-shrink: 0; - } - .size-2 svg{ - width: 3.125rem; - height: 3.125rem; - margin-right: var(--iu-spacing-1); - } - a > span{ - padding-top: 0.375rem; - padding-bottom: 0.375rem; - // padding-right: 1.25rem; - } - a span span{ - display: inline-block; - font: var(--iu-f-0); - color: var(--iu-color-grey-300); - transform: translateY(-0.875rem); - } - iu-container{ - margin-bottom: 0; - } - `;Ce([f()],te.prototype,"href",2);Ce([f()],te.prototype,"text",2);Ce([f()],te.prototype,"label",2);Ce([f()],te.prototype,"target",2);Ce([f({type:Number})],te.prototype,"size",2);Ce([f({type:Boolean,reflect:!0})],te.prototype,"nested",2);te=Ce([M("iu-link")],te);var $o=Object.defineProperty,So=Object.getOwnPropertyDescriptor,Dt=(i,e,t,s)=>{for(var r=s>1?void 0:s?So(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&$o(e,t,r),r};let Ne=class extends T{constructor(){super(...arguments),this.label="Per approfondire",this.columns=2,this.items="[]"}get parsedItems(){try{return JSON.parse(this.items)}catch{return[]}}render(){return w` - -
    - ${this.label&&w`

    ${this.label}

    `} - ${this.parsedItems.map(i=>w``)} -
    -
    - `}};Ne.styles=_` - :host{ - display: block; - margin-bottom: var(--iu-spacing-block); - } - .columns-2{ - width: 50%; - } - p{ - font-weight: bold; - } - iu-link:last-child{ - border-bottom: 1px solid var(--iu-color-grey-200); - } - `;Dt([f()],Ne.prototype,"label",2);Dt([f({type:Number})],Ne.prototype,"columns",2);Dt([f({type:String})],Ne.prototype,"items",2);Ne=Dt([M("iu-links-list")],Ne);var Eo=Object.defineProperty,Po=Object.getOwnPropertyDescriptor,Ye=(i,e,t,s)=>{for(var r=s>1?void 0:s?Po(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&Eo(e,t,r),r};let de=class extends T{constructor(){super(...arguments),this.sm=2,this.nested=!1}render(){return w` - - - - `}};de.styles=_` - :host { - display: block; - margin-bottom: var(--iu-spacing-block); - } - `;Ye([f({type:Number})],de.prototype,"sm",2);Ye([f({type:Number})],de.prototype,"md",2);Ye([f({type:Number})],de.prototype,"lg",2);Ye([f({type:Number})],de.prototype,"xl",2);Ye([f({type:Boolean,reflect:!0})],de.prototype,"nested",2);de=Ye([M("iu-list")],de);var To=Object.defineProperty,Co=Object.getOwnPropertyDescriptor,ui=(i,e,t,s)=>{for(var r=s>1?void 0:s?Co(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&To(e,t,r),r};let tt=class extends T{constructor(){super(...arguments),this.label="",this.text=""}render(){return w` -
    -

    ${this.label}

    -

    ${ot(this.text)}

    -
    - `}};tt.styles=_` - :host{ - display:block; - } - div{ - border-top: 1px solid var(--iu-color-grey-200); - } - p{ - margin: 0; - } - .label{ - padding-top: var(--iu-spacing-0); - color: var(--iu-color-grey-300); - } - .text a{ - color: var(--iu-color-black); - } - @media ${C(O.md)} { - } - `;ui([f()],tt.prototype,"label",2);ui([f()],tt.prototype,"text",2);tt=ui([M("iu-list-item")],tt);var _o=Object.defineProperty,Oo=Object.getOwnPropertyDescriptor,Ue=(i,e,t,s)=>{for(var r=s>1?void 0:s?Oo(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&_o(e,t,r),r};let ce=class extends T{constructor(){super(...arguments),this.href="",this.text=""}isExternalLink(i){try{return new URL(i,window.location.href).hostname!==window.location.hostname}catch{return!1}}renderIntIcon(){return w` - `}renderExtIcon(){return w` - `}applyMultilineEllipsis(i){if(!this.titleElement)return;const t=parseFloat(getComputedStyle(this.titleElement).lineHeight)*i;if(this.titleElement.scrollHeight>t){let s=this.titleElement.textContent.split(" ");this.titleElement.textContent="";for(let r=0;rt){this.titleElement.textContent=this.titleElement.textContent.trim()+"...";break}}}firstUpdated(){}render(){const i=this.isExternalLink(this.href);return w` - - ${this.subtitle?w`${this.subtitle}`:""} - ${this.excerpt&&!this.subtitle?w`${this.excerpt}`:""} -
    -

    ${this.text}

    - ${i?this.renderExtIcon():this.renderIntIcon()} -
    -
    - `}};ce.styles=_` - :host{ - display: block; - } - .nav-card{ - background: var(--iu-color-grey-100); - display: block; - aspect-ratio: 1/1; - display: flex; - flex-direction: column; - justify-content: end; - padding: var(--iu-grid-gutter); - color: var(--iu-color-black); - text-decoration: none; - font-size: var(--iu-fs-lg); - &:hover{ - background: var(--iu-color-black); - color: var(--iu-color-white); - } - p{ - justify-self: end; - margin: 0; - } - } - .excerpt{ - font-size: var(--iu-fs-1); - margin-bottom: var(--iu-spacing-5); - flex-grow: 1; - } - .subtitle{ - font-size: var(--iu-fs-1); - color: var(--iu-color-grey-300); - margin-bottom: var(--iu-spacing-5); - flex-grow: 1; - } - .title{ - display: flex; - align-items: end; - overflow: hidden; - flex-shrink: 1; - } - svg{ - width: 27px; - height: 20px; - flex-shrink: 0; - margin-bottom: 10px; - margin-left: 20px; - } - `;Ue([st(".title p")],ce.prototype,"titleElement",2);Ue([f()],ce.prototype,"href",2);Ue([f()],ce.prototype,"text",2);Ue([f()],ce.prototype,"excerpt",2);Ue([f()],ce.prototype,"subtitle",2);ce=Ue([M("iu-nav-card")],ce);var Mo=Object.defineProperty,Lo=Object.getOwnPropertyDescriptor,ct=(i,e,t,s)=>{for(var r=s>1?void 0:s?Lo(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&Mo(e,t,r),r};let $e=class extends T{constructor(){super(...arguments),this.columns=1,this.size=1,this.nested=!1}updateLastElement(){const i=this.slottedElements?Array.from(this.slottedElements):[];if(i.length>0){const e=i[i.length-1];e instanceof HTMLElement&&e.classList.add("last")}}wrapListItems(){this.querySelectorAll("ul, ol").forEach(t=>{t.classList.add("list")}),this.querySelectorAll("li").forEach(t=>{const r=`${t.innerHTML}`;t.innerHTML=r})}firstUpdated(){this.updateLastElement(),this.wrapListItems()}render(){return w` - -
    - -
    -
    - `}};$e.styles=_` - :host{ - display: block; - margin-bottom: var(--iu-spacing-block-xs); - } - @media ${C(O.lg)} { - .column-1{ - grid-column: span 6; - // width: calc(50% - var(--iu-grid-gutter)); - } - } - iu-container{ - margin-bottom: 0; - } - .fs-1 { - --iu-p-f: var(--iu-f-1); - } - .fs-2 { - --iu-p-f: var(--iu-f-2); - } - @media ${C(O.md)} { - .fs-3{ - --iu-p-f: var(--iu-f-2); - max-width: 90% - } - } - @media ${C(O.xl)} { - .fs-3{ - --iu-p-f: var(--iu-f-4); - } - } - ::slotted(p){ - font: var(--iu-p-f) !important; - margin-bottom: var(--iu-spacing-2); - margin-top: 0; - } - ::slotted(.last){ - margin-bottom: 0 !important; - } - `;ct([f({type:Number})],$e.prototype,"columns",2);ct([f({type:Number})],$e.prototype,"size",2);ct([f({type:Boolean,reflect:!0})],$e.prototype,"nested",2);ct([rt()],$e.prototype,"slottedElements",2);$e=ct([M("iu-paragraph")],$e);var zo=Object.getOwnPropertyDescriptor,ko=(i,e,t,s)=>{for(var r=s>1?void 0:s?zo(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=o(r)||r);return r};let ri=class extends T{render(){return w` -
    -
      -
    • -
    • -
    • -
    • -
    • -
    • -
    -
    - `}};ri.styles=_` - :host{ - display: block; - } - ul{ - display: flex; - margin: 0; - padding: 0; - list-style-type: none; - margin-top: 0.25rem; - } - ul li{ - margin.bottom: 0.5rem; - } - ul li:not(:last-child){ - margin-right: 1.25rem; - } - ul li a svg{ - width: 1rem; - height: 1rem; - color: #fff; - } - `;ri=ko([M("iu-social-nav")],ri);var Io=Object.defineProperty,Do=Object.getOwnPropertyDescriptor,Bt=(i,e,t,s)=>{for(var r=s>1?void 0:s?Do(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&Io(e,t,r),r};let je=class extends T{constructor(){super(...arguments),this.href="",this.heading="",this.img=""}render(){return w` - -

    ${this.heading}

    -
    - ${this.img&&w``} -
    -
    - `}};je.styles=_` - :host{ - display: block; - } - a{ - text-decoration: none; - color: var(--iu-color-black); - } - p{ - padding-right: var(--iu-spacing-2); - font: var(--iu-f-xl); - margin-bottom: var(--iu-spacing-2); - margin-top: 0; - } - .img{ - position: relative; - margin-bottom: 1.125rem; - aspect-ratio: 3 / 2; - } - .img img{ - width: 100%; - height: 100%; - object-cover: cover; - } - `;Bt([f()],je.prototype,"href",2);Bt([f()],je.prototype,"heading",2);Bt([f()],je.prototype,"img",2);je=Bt([M("iu-page-card")],je); diff --git a/demo/assets/iuav-ui9.js b/demo/assets/iuav-ui9.js new file mode 100644 index 0000000..5da3440 --- /dev/null +++ b/demo/assets/iuav-ui9.js @@ -0,0 +1,3072 @@ +(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const n of r)if(n.type==="childList")for(const o of n.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function t(r){const n={};return r.integrity&&(n.integrity=r.integrity),r.referrerPolicy&&(n.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?n.credentials="include":r.crossOrigin==="anonymous"?n.credentials="omit":n.credentials="same-origin",n}function s(r){if(r.ep)return;r.ep=!0;const n=t(r);fetch(r.href,n)}})();/** + * @license + * Copyright 2019 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const ht=globalThis,ni=ht.ShadowRoot&&(ht.ShadyCSS===void 0||ht.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,oi=Symbol(),gi=new WeakMap;let ki=class{constructor(e,t,s){if(this._$cssResult$=!0,s!==oi)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o;const t=this.t;if(ni&&e===void 0){const s=t!==void 0&&t.length===1;s&&(e=gi.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),s&&gi.set(t,e))}return e}toString(){return this.cssText}};const C=i=>new ki(typeof i=="string"?i:i+"",void 0,oi),_=(i,...e)=>{const t=i.length===1?i[0]:e.reduce((s,r,n)=>s+(o=>{if(o._$cssResult$===!0)return o.cssText;if(typeof o=="number")return o;throw Error("Value passed to 'css' function must be a 'css' function result: "+o+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+i[n+1],i[0]);return new ki(t,i,oi)},ns=(i,e)=>{if(ni)i.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(const t of e){const s=document.createElement("style"),r=ht.litNonce;r!==void 0&&s.setAttribute("nonce",r),s.textContent=t.cssText,i.appendChild(s)}},vi=ni?i=>i:i=>i instanceof CSSStyleSheet?(e=>{let t="";for(const s of e.cssRules)t+=s.cssText;return C(t)})(i):i;/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const{is:os,defineProperty:as,getOwnPropertyDescriptor:ls,getOwnPropertyNames:ds,getOwnPropertySymbols:cs,getPrototypeOf:ps}=Object,re=globalThis,wi=re.trustedTypes,us=wi?wi.emptyScript:"",Ht=re.reactiveElementPolyfillSupport,We=(i,e)=>i,mt={toAttribute(i,e){switch(e){case Boolean:i=i?us:null;break;case Object:case Array:i=i==null?i:JSON.stringify(i)}return i},fromAttribute(i,e){let t=i;switch(e){case Boolean:t=i!==null;break;case Number:t=i===null?null:Number(i);break;case Object:case Array:try{t=JSON.parse(i)}catch{t=null}}return t}},ai=(i,e)=>!os(i,e),bi={attribute:!0,type:String,converter:mt,reflect:!1,hasChanged:ai};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),re.litPropertyMetadata??(re.litPropertyMetadata=new WeakMap);class _e extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??(this.l=[])).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=bi){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(e,t),!t.noAccessor){const s=Symbol(),r=this.getPropertyDescriptor(e,s,t);r!==void 0&&as(this.prototype,e,r)}}static getPropertyDescriptor(e,t,s){const{get:r,set:n}=ls(this.prototype,e)??{get(){return this[t]},set(o){this[t]=o}};return{get(){return r==null?void 0:r.call(this)},set(o){const l=r==null?void 0:r.call(this);n.call(this,o),this.requestUpdate(e,l,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??bi}static _$Ei(){if(this.hasOwnProperty(We("elementProperties")))return;const e=ps(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(We("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(We("properties"))){const t=this.properties,s=[...ds(t),...cs(t)];for(const r of s)this.createProperty(r,t[r])}const e=this[Symbol.metadata];if(e!==null){const t=litPropertyMetadata.get(e);if(t!==void 0)for(const[s,r]of t)this.elementProperties.set(s,r)}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const r=this._$Eu(t,s);r!==void 0&&this._$Eh.set(r,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const s=new Set(e.flat(1/0).reverse());for(const r of s)t.unshift(vi(r))}else e!==void 0&&t.push(vi(e));return t}static _$Eu(e,t){const s=t.attribute;return s===!1?void 0:typeof s=="string"?s:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var e;this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),(e=this.constructor.l)==null||e.forEach(t=>t(this))}addController(e){var t;(this._$EO??(this._$EO=new Set)).add(e),this.renderRoot!==void 0&&this.isConnected&&((t=e.hostConnected)==null||t.call(e))}removeController(e){var t;(t=this._$EO)==null||t.delete(e)}_$E_(){const e=new Map,t=this.constructor.elementProperties;for(const s of t.keys())this.hasOwnProperty(s)&&(e.set(s,this[s]),delete this[s]);e.size>0&&(this._$Ep=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return ns(e,this.constructor.elementStyles),e}connectedCallback(){var e;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$EO)==null||e.forEach(t=>{var s;return(s=t.hostConnected)==null?void 0:s.call(t)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$EO)==null||e.forEach(t=>{var s;return(s=t.hostDisconnected)==null?void 0:s.call(t)})}attributeChangedCallback(e,t,s){this._$AK(e,s)}_$EC(e,t){var n;const s=this.constructor.elementProperties.get(e),r=this.constructor._$Eu(e,s);if(r!==void 0&&s.reflect===!0){const o=(((n=s.converter)==null?void 0:n.toAttribute)!==void 0?s.converter:mt).toAttribute(t,s.type);this._$Em=e,o==null?this.removeAttribute(r):this.setAttribute(r,o),this._$Em=null}}_$AK(e,t){var n;const s=this.constructor,r=s._$Eh.get(e);if(r!==void 0&&this._$Em!==r){const o=s.getPropertyOptions(r),l=typeof o.converter=="function"?{fromAttribute:o.converter}:((n=o.converter)==null?void 0:n.fromAttribute)!==void 0?o.converter:mt;this._$Em=r,this[r]=l.fromAttribute(t,o.type),this._$Em=null}}requestUpdate(e,t,s){if(e!==void 0){if(s??(s=this.constructor.getPropertyOptions(e)),!(s.hasChanged??ai)(this[e],t))return;this.P(e,t,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(e,t,s){this._$AL.has(e)||this._$AL.set(e,t),s.reflect===!0&&this._$Em!==e&&(this._$Ej??(this._$Ej=new Set)).add(e)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var s;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[n,o]of this._$Ep)this[n]=o;this._$Ep=void 0}const r=this.constructor.elementProperties;if(r.size>0)for(const[n,o]of r)o.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.P(n,this[n],o)}let e=!1;const t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),(s=this._$EO)==null||s.forEach(r=>{var n;return(n=r.hostUpdate)==null?void 0:n.call(r)}),this.update(t)):this._$EU()}catch(r){throw e=!1,this._$EU(),r}e&&this._$AE(t)}willUpdate(e){}_$AE(e){var t;(t=this._$EO)==null||t.forEach(s=>{var r;return(r=s.hostUpdated)==null?void 0:r.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Ej&&(this._$Ej=this._$Ej.forEach(t=>this._$EC(t,this[t]))),this._$EU()}updated(e){}firstUpdated(e){}}_e.elementStyles=[],_e.shadowRootOptions={mode:"open"},_e[We("elementProperties")]=new Map,_e[We("finalized")]=new Map,Ht==null||Ht({ReactiveElement:_e}),(re.reactiveElementVersions??(re.reactiveElementVersions=[])).push("2.0.4");/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const Xe=globalThis,gt=Xe.trustedTypes,yi=gt?gt.createPolicy("lit-html",{createHTML:i=>i}):void 0,Ii="$lit$",ie=`lit$${Math.random().toFixed(9).slice(2)}$`,Di="?"+ie,hs=`<${Di}>`,ve=document,Qe=()=>ve.createComment(""),Ke=i=>i===null||typeof i!="object"&&typeof i!="function",li=Array.isArray,fs=i=>li(i)||typeof(i==null?void 0:i[Symbol.iterator])=="function",Nt=`[ +\f\r]`,qe=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,xi=/-->/g,Ai=/>/g,me=RegExp(`>|${Nt}(?:([^\\s"'>=/]+)(${Nt}*=${Nt}*(?:[^ +\f\r"'\`<>=]|("|')|))|$)`,"g"),Si=/'/g,$i=/"/g,Bi=/^(?:script|style|textarea|title)$/i,ms=i=>(e,...t)=>({_$litType$:i,strings:e,values:t}),w=ms(1),we=Symbol.for("lit-noChange"),N=Symbol.for("lit-nothing"),Ei=new WeakMap,ge=ve.createTreeWalker(ve,129);function Hi(i,e){if(!li(i)||!i.hasOwnProperty("raw"))throw Error("invalid template strings array");return yi!==void 0?yi.createHTML(e):e}const gs=(i,e)=>{const t=i.length-1,s=[];let r,n=e===2?"":e===3?"":"",o=qe;for(let l=0;l"?(o=r??qe,c=-1):u[1]===void 0?c=-2:(c=o.lastIndex-u[2].length,d=u[1],o=u[3]===void 0?me:u[3]==='"'?$i:Si):o===$i||o===Si?o=me:o===xi||o===Ai?o=qe:(o=me,r=void 0);const g=o===me&&i[l+1].startsWith("/>")?" ":"";n+=o===qe?a+hs:c>=0?(s.push(d),a.slice(0,c)+Ii+a.slice(c)+ie+g):a+ie+(c===-2?l:g)}return[Hi(i,n+(i[t]||"")+(e===2?"":e===3?"":"")),s]};class Je{constructor({strings:e,_$litType$:t},s){let r;this.parts=[];let n=0,o=0;const l=e.length-1,a=this.parts,[d,u]=gs(e,t);if(this.el=Je.createElement(d,s),ge.currentNode=this.el.content,t===2||t===3){const c=this.el.content.firstChild;c.replaceWith(...c.childNodes)}for(;(r=ge.nextNode())!==null&&a.length0){r.textContent=gt?gt.emptyScript:"";for(let g=0;g2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=N}_$AI(e,t=this,s,r){const n=this.strings;let o=!1;if(n===void 0)e=Oe(this,e,t,0),o=!Ke(e)||e!==this._$AH&&e!==we,o&&(this._$AH=e);else{const l=e;let a,d;for(e=n[0],a=0;a{const s=(t==null?void 0:t.renderBefore)??e;let r=s._$litPart$;if(r===void 0){const n=(t==null?void 0:t.renderBefore)??null;s._$litPart$=r=new it(e.insertBefore(Qe(),n),n,void 0,t??{})}return r._$AI(i),r};/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */let T=class extends _e{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t;const e=super.createRenderRoot();return(t=this.renderOptions).renderBefore??(t.renderBefore=e.firstChild),e}update(e){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=As(t,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),(e=this._$Do)==null||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this._$Do)==null||e.setConnected(!1)}render(){return we}};var Li;T._$litElement$=!0,T.finalized=!0,(Li=globalThis.litElementHydrateSupport)==null||Li.call(globalThis,{LitElement:T});const Gt=globalThis.litElementPolyfillSupport;Gt==null||Gt({LitElement:T});(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.1.1");/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const O=i=>(e,t)=>{t!==void 0?t.addInitializer(()=>{customElements.define(i,e)}):customElements.define(i,e)};/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const Ss={attribute:!0,type:String,converter:mt,reflect:!1,hasChanged:ai},$s=(i=Ss,e,t)=>{const{kind:s,metadata:r}=t;let n=globalThis.litPropertyMetadata.get(r);if(n===void 0&&globalThis.litPropertyMetadata.set(r,n=new Map),n.set(t.name,i),s==="accessor"){const{name:o}=t;return{set(l){const a=e.get.call(this);e.set.call(this,l),this.requestUpdate(o,a,i)},init(l){return l!==void 0&&this.P(o,void 0,i),l}}}if(s==="setter"){const{name:o}=t;return function(l){const a=this[o];e.call(this,l),this.requestUpdate(o,a,i)}}throw Error("Unsupported decorator location: "+s)};function f(i){return(e,t)=>typeof t=="object"?$s(i,e,t):((s,r,n)=>{const o=r.hasOwnProperty(n);return r.constructor.createProperty(n,o?{...s,wrapped:!0}:s),o?Object.getOwnPropertyDescriptor(r,n):void 0})(i,e,t)}/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */function Es(i){return f({...i,state:!0,attribute:!1})}/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const di=(i,e,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(i,e,t),t);/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */function st(i,e){return(t,s,r)=>{const n=o=>{var l;return((l=o.renderRoot)==null?void 0:l.querySelector(i))??null};return di(t,s,{get(){return n(this)}})}}/** + * @license + * Copyright 2021 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */function Ni(i){return(e,t)=>{const{slot:s,selector:r}=i??{},n="slot"+(s?`[name=${s}]`:":not([name])");return di(e,t,{get(){var a;const o=(a=this.renderRoot)==null?void 0:a.querySelector(n),l=(o==null?void 0:o.assignedElements(i))??[];return r===void 0?l:l.filter(d=>d.matches(r))}})}}/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */function rt(i){return(e,t)=>{const{slot:s}={},r="slot"+(s?`[name=${s}]`:":not([name])");return di(e,t,{get(){var o;const n=(o=this.renderRoot)==null?void 0:o.querySelector(r);return(n==null?void 0:n.assignedNodes(i))??[]}})}}const M={md:"(min-width: 48rem)",lg:"(min-width: 62rem)",xl:"(min-width: 80rem)",xxl:"(min-width: 120rem)"};var Ps=Object.defineProperty,Ts=Object.getOwnPropertyDescriptor,pe=(i,e,t,s)=>{for(var r=s>1?void 0:s?Ts(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&Ps(e,t,r),r};let q=class extends T{constructor(){super(...arguments),this.text="",this.index=0,this.columns=!1,this.isOpen=!1,this.controlled=!1,this.size=1}toggleAccordion(){this.controlled?this.dispatchEvent(new CustomEvent("iu-toggle-accordion",{detail:{index:this.index},bubbles:!0,composed:!0})):this.isOpen=!this.isOpen,this.classList.toggle("is-open")}updateSlottedElements(){this.slotElement.assignedElements({flatten:!0}).forEach(e=>{e instanceof HTMLElement&&e.setAttribute("nested","true")})}firstUpdated(){super.firstUpdated(),this.updateSlottedElements()}render(){return w` +
    + +
    + +
    +
    + `}};q.styles=_` + :host{ + --iu-comp-bg: transparent; + --iu-comp-color: var(--iu-color-black); + --iu-comp-bg-hover: var(--iu-color-black); + --iu-comp-color-hover: var(--iu-color-white); + --iu-comp-border-color: var(--iu-color-grey-200); + --iu-comp-border-color-hover: var(--iu-color-grey-500); + } + :host:has(.accordion.is-open){ + border-bottom: 1px solid var(--iu-comp-border-color-hover); + } + .accordion{ + border-top: 1px solid var(--iu-comp-border-color); + cursor: pointer; + color: var(--iu-comp-color); + background: var(--iu-comp-bg); + } + .accordion.is-open, + .accordion.is-open button, + :host(:hover), + :host(:hover) button{ + color: var(--iu-comp-color-hover); + background: var(--iu-comp-bg-hover); + } + .accordion.is-open svg{ + transform: rotate(45deg); + } + button{ + color: var(--iu-comp-color); + background: var(--iu-comp-bg); + cursor: pointer; + border: 0; + position: relative; + font: var(--iu-f-2); + text-align: left; + width: 100%; + padding: 4px 0; + display: flex; + align-items: center; + text-rendering: geometricPrecision; + } + .size-2 button{ + padding: 0; + font: var(--iu-f-lg); + } + svg{ + transition: transform .2s ease; + } + .size-1 svg{ + width: 36px; + height: 36px; + margin-right: .625rem; + margin-top: -2px; + } + .size-2 svg{ + width: 50px; + height: 50px; + margin-right: .9375rem; + margin-top: -2px; + } + @media ${C(M.xl)} { + button{ + } + } + .content{ + display: none; + color: var(--iu-comp-color); + padding-top: var(--iu-spacing-2); + padding-bottom: var(--iu-spacing-6); + padding-left: calc(3.125rem + .9375rem); + padding-right: var(--iu-grid-gutter); + } + .content.is-open{ + display: block; + } + .content.columns-2{ + columns: 2; + gap: var(--iu-grid-gutter); + } + ::slotted(*){ + --iu-comp-color: var(--iu-color-white); + --iu-comp-border-color: var(--iu-color-grey-500); + --iu-comp-bg-hover: var(--iu-color-white); + --iu-comp-color-hover: var(--iu-color-black); + margin-bottom: 0; + color: var(--iu-color-white) !important; + } + `;pe([f()],q.prototype,"text",2);pe([f()],q.prototype,"index",2);pe([f({type:Boolean,reflect:!0})],q.prototype,"columns",2);pe([f({type:Boolean,reflect:!0})],q.prototype,"isOpen",2);pe([f()],q.prototype,"controlled",2);pe([f({type:Number})],q.prototype,"size",2);pe([st("slot")],q.prototype,"slotElement",2);q=pe([O("iu-accordion")],q);var Cs=Object.defineProperty,_s=Object.getOwnPropertyDescriptor,Ct=(i,e,t,s)=>{for(var r=s>1?void 0:s?_s(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&Cs(e,t,r),r};let Me=class extends T{constructor(){super(...arguments),this.mode="single",this.columns=!1,this.openAccordions=[]}firstUpdated(){super.firstUpdated(),this.columns&&this.classList.add("columns-2"),this.querySelectorAll("iu-accordion").forEach((i,e)=>{i.index=e,i.controlled=!0})}handleAccordionToggle(i){const{index:e}=i.detail;this.mode==="single"?this.openAccordions=this.openAccordions.includes(e)?[]:[e]:this.mode==="multiple"&&(this.openAccordions.includes(e)?this.openAccordions=this.openAccordions.filter(t=>t!==e):this.openAccordions=[...this.openAccordions,e]),this.updateAccordionStates()}updateAccordionStates(){this.querySelectorAll("iu-accordion").forEach((i,e)=>{const t=this.openAccordions.includes(e);i.isOpen=t})}render(){return w` + +
    + +
    +
    + `}};Me.styles=_` + ::slotted(*:last-child){ + --iu-accordion-border-color-b: var(--iu-color-grey-200); + } + :host(.columns-2) .inner{ + display: grid; + grid-template-columns: repeat(2,1fr); + column-gap: var(--iu-grid-gutter); + } + `;Ct([f({type:String})],Me.prototype,"mode",2);Ct([f({type:Boolean,reflect:!0})],Me.prototype,"columns",2);Ct([f({type:Array})],Me.prototype,"openAccordions",2);Me=Ct([O("iu-accordion-group")],Me);var Os=Object.defineProperty,Ms=Object.getOwnPropertyDescriptor,_t=(i,e,t,s)=>{for(var r=s>1?void 0:s?Ms(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&Os(e,t,r),r};let ze=class extends T{render(){return this.type=="current",this.href?w` + + `:w` +
  • ${this.text}

  • + `}};ze.styles=_` + :host h1{ + color: var(--iu-color-black); + margin: 0; + font-size: inherit; + font-weight: 400; + font: var(--iu-f-lg); + display: inline; + } + :host li{ + font: var(--iu-f-lg); + display: inline; + } + :host .link a{ + color: var(--iu-color-grey-300); + text-decoration: none; + } + :host .divider{ + color: var(--theme-color-black); + margin-left: var(--iu-spacing-0); + margin-right: var(--iu-spacing-0); + } + `;_t([f()],ze.prototype,"href",2);_t([f()],ze.prototype,"type",2);_t([f()],ze.prototype,"text",2);ze=_t([O("iu-breadcrumbs-item")],ze);var zs=Object.getOwnPropertyDescriptor,Ls=(i,e,t,s)=>{for(var r=s>1?void 0:s?zs(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=o(r)||r);return r};let Wt=class extends T{render(){return w` + + + + `}};Wt.styles=_` + :host{ + display: block; + margin-top: var(--iu-spacing-3); + } + @media ${C(M.md)} { + :host{ + margin-top: var(--iu-spacing-7); + } + } + @media ${C(M.xl)} { + :host{ + margin-top: var(--iu-spacing-10); + } + } + :host ul{ + margin: 0; + padding: 0; + list-style-type: none; + } + :host iu-container{ + margin-bottom: 0; + } + `;Wt=Ls([O("iu-breadcrumbs")],Wt);var ks=Object.defineProperty,Is=Object.getOwnPropertyDescriptor,nt=(i,e,t,s)=>{for(var r=s>1?void 0:s?Is(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&ks(e,t,r),r};let be=class extends T{constructor(){super(...arguments),this.tag="a",this.href="#",this.text="",this.icon="none"}render(){return this.tag==="a"?w` + ${this.text} + `:w` + + `}};be.styles=_` + a, button{ + position: relative; + display: inline-flex; + align-items: center; + background: var(--iu-color-grey-100); + padding: 0.375rem 0.75rem; + color: var(--iu-color-black); + text-decoration: none; + border: 0; + font: var(--iu-f-sm); + } + a:hover, button:hover{ + background: var(--iu-color-black); + color: var(--iu-color-white); + } + a:not(.icon-none), button:not(.icon-none){ + padding: 0.375rem 0.75rem 0.375rem 2.5rem; + } + .icon-download::before{ + content: ''; + background-image: url("data:image/svg+xml,%3Csvg fill='none' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 37 37'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='m24.852 19.834-6.354 6.353-6.354-6.353.708-.708 5.146 5.147V9.5h1v14.773l5.146-5.147.708.708ZM27 28H10v-1h17v1Z' fill='%23000'/%3E%3C/svg%3E"); + width: 2.25rem; + aspect-ratio: 1/1; + background-repat: no-repeat; + background-position: center center; + position: absolute; + top: 0; + left: 0; + } + .icon-download:hover::before{ + background-image: url("data:image/svg+xml,%3Csvg fill='none' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 37 37'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='m24.852 19.834-6.354 6.353-6.354-6.353.708-.708 5.146 5.147V9.5h1v14.773l5.146-5.147.708.708ZM27 28H10v-1h17v1Z' fill='%23fff'/%3E%3C/svg%3E"); + } + `;nt([f({type:String})],be.prototype,"tag",2);nt([f({type:String})],be.prototype,"href",2);nt([f({type:String})],be.prototype,"text",2);nt([f({type:String})],be.prototype,"icon",2);be=nt([O("iu-button")],be);var Ds=Object.defineProperty,Bs=Object.getOwnPropertyDescriptor,ue=(i,e,t,s)=>{for(var r=s>1?void 0:s?Bs(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&Ds(e,t,r),r};let Z=class extends T{constructor(){super(...arguments),this.setCardHeight=()=>{requestAnimationFrame(()=>{const i=this.clientHeight,e=this.cardContent.clientHeight,t=i-e;this.cardImg.style.height=`${t}px`,this.cardContent.style.marginTop=`${t}px`})},this.href="",this.category="Categoria",this.date="01.01.2024",this.name="Default",this.img=""}firstUpdated(){super.firstUpdated();const i=this.cardImg.querySelector("img");i&&i.addEventListener("load",this.setCardHeight),this.setCardHeight(),new ResizeObserver(()=>this.setCardHeight()).observe(this)}render(){return w` + +
    + ${this.img&&w``} +
    +
    +
    + ${this.category} + ${this.date} +
    +

    ${this.name}

    +
    +
    + `}};Z.styles=_` + :host{ + display: block; + } + .card{ + display: block; + text-decoration: none; + color: var(--iu-color-black); + position: relative; + aspect-ratio: 1/1; + overflow: hidden; + } + .card:hover .img{ + height: 100% !important; + } + .img{ + transition: height .2s ease; + position: absolute; + top: 0px; + left: 0px; + width: 100%; + overflow: hidden; + background-image: linear-gradient(to top, var(--iu-color-grey-400), var(--iu-color-grey-200)); + } + .img img{ + width: 100%; + height: 100%; + object-fit: cover; + } + .header{ + padding-top: 0.75rem; + padding-bottom: 0.75rem; + display: flex; + justify-content: space-between; + font: var(--iu-f-0); + color: var(--iu-color-grey-300); + } + .content p{ + font: var(--iu-f-2); + font-weight: bold; + margin-top: 0; + } + `;ue([st(".img")],Z.prototype,"cardImg",2);ue([st(".content")],Z.prototype,"cardContent",2);ue([f()],Z.prototype,"href",2);ue([f()],Z.prototype,"category",2);ue([f()],Z.prototype,"date",2);ue([f()],Z.prototype,"name",2);ue([f()],Z.prototype,"img",2);Z=ue([O("iu-card")],Z);function Pi(i){return i!==null&&typeof i=="object"&&"constructor"in i&&i.constructor===Object}function ci(i,e){i===void 0&&(i={}),e===void 0&&(e={});const t=["__proto__","constructor","prototype"];Object.keys(e).filter(s=>t.indexOf(s)<0).forEach(s=>{typeof i[s]>"u"?i[s]=e[s]:Pi(e[s])&&Pi(i[s])&&Object.keys(e[s]).length>0&&ci(i[s],e[s])})}const ji={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 $e(){const i=typeof document<"u"?document:{};return ci(i,ji),i}const Hs={document:ji,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(i){return typeof setTimeout>"u"?(i(),null):setTimeout(i,0)},cancelAnimationFrame(i){typeof setTimeout>"u"||clearTimeout(i)}};function V(){const i=typeof window<"u"?window:{};return ci(i,Hs),i}function Ns(i){return i===void 0&&(i=""),i.trim().split(" ").filter(e=>!!e.trim())}function js(i){const e=i;Object.keys(e).forEach(t=>{try{e[t]=null}catch{}try{delete e[t]}catch{}})}function Xt(i,e){return e===void 0&&(e=0),setTimeout(i,e)}function vt(){return Date.now()}function Gs(i){const e=V();let t;return e.getComputedStyle&&(t=e.getComputedStyle(i,null)),!t&&i.currentStyle&&(t=i.currentStyle),t||(t=i.style),t}function Vs(i,e){e===void 0&&(e="x");const t=V();let s,r,n;const o=Gs(i);return t.WebKitCSSMatrix?(r=o.transform||o.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map(l=>l.replace(",",".")).join(", ")),n=new t.WebKitCSSMatrix(r==="none"?"":r)):(n=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),s=n.toString().split(",")),e==="x"&&(t.WebKitCSSMatrix?r=n.m41:s.length===16?r=parseFloat(s[12]):r=parseFloat(s[4])),e==="y"&&(t.WebKitCSSMatrix?r=n.m42:s.length===16?r=parseFloat(s[13]):r=parseFloat(s[5])),r||0}function pt(i){return typeof i=="object"&&i!==null&&i.constructor&&Object.prototype.toString.call(i).slice(8,-1)==="Object"}function Rs(i){return typeof window<"u"&&typeof window.HTMLElement<"u"?i instanceof HTMLElement:i&&(i.nodeType===1||i.nodeType===11)}function R(){const i=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let t=1;te.indexOf(n)<0);for(let n=0,o=r.length;nn?"next":"prev",u=(m,g)=>d==="next"&&m>=g||d==="prev"&&m<=g,c=()=>{l=new Date().getTime(),o===null&&(o=l);const m=Math.max(Math.min((l-o)/a,1),0),g=.5-Math.cos(m*Math.PI)/2;let v=n+g*(t-n);if(u(v,t)&&(v=t),e.wrapperEl.scrollTo({[s]:v}),u(v,t)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[s]:v})}),r.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=r.requestAnimationFrame(c)};c()}function Vi(i){return i.querySelector(".swiper-slide-transform")||i.shadowRoot&&i.shadowRoot.querySelector(".swiper-slide-transform")||i}function U(i,e){e===void 0&&(e="");const t=V(),s=[...i.children];return t.HTMLSlotElement&&i instanceof HTMLSlotElement&&s.push(...i.assignedElements()),e?s.filter(r=>r.matches(e)):s}function Fs(i,e){var s,r;const t=[e];for(;t.length>0;){const n=t.shift();if(i===n)return!0;t.push(...n.children,...((s=n.shadowRoot)==null?void 0:s.children)||[],...((r=n.assignedElements)==null?void 0:r.call(n))||[])}}function Ys(i,e){const t=V();let s=e.contains(i);return!s&&t.HTMLSlotElement&&e instanceof HTMLSlotElement&&(s=[...e.assignedElements()].includes(i),s||(s=Fs(i,e))),s}function wt(i){try{console.warn(i);return}catch{}}function bt(i,e){e===void 0&&(e=[]);const t=document.createElement(i);return t.classList.add(...Array.isArray(e)?e:Ns(e)),t}function Us(i,e){const t=[];for(;i.previousElementSibling;){const s=i.previousElementSibling;e?s.matches(e)&&t.push(s):t.push(s),i=s}return t}function qs(i,e){const t=[];for(;i.nextElementSibling;){const s=i.nextElementSibling;e?s.matches(e)&&t.push(s):t.push(s),i=s}return t}function se(i,e){return V().getComputedStyle(i,null).getPropertyValue(e)}function yt(i){let e=i,t;if(e){for(t=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(t+=1);return t}}function Ri(i,e){const t=[];let s=i.parentElement;for(;s;)e?s.matches(e)&&t.push(s):t.push(s),s=s.parentElement;return t}function Zs(i,e){function t(s){s.target===i&&(e.call(i,s),i.removeEventListener("transitionend",t))}e&&i.addEventListener("transitionend",t)}function Qt(i,e,t){const s=V();return i[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(s.getComputedStyle(i,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(s.getComputedStyle(i,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom"))}function j(i){return(Array.isArray(i)?i:[i]).filter(e=>!!e)}let Vt;function Ws(){const i=V(),e=$e();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in i||i.DocumentTouch&&e instanceof i.DocumentTouch)}}function Fi(){return Vt||(Vt=Ws()),Vt}let Rt;function Xs(i){let{userAgent:e}=i===void 0?{}:i;const t=Fi(),s=V(),r=s.navigator.platform,n=e||s.navigator.userAgent,o={ios:!1,android:!1},l=s.screen.width,a=s.screen.height,d=n.match(/(Android);?[\s\/]+([\d.]+)?/);let u=n.match(/(iPad).*OS\s([\d_]+)/);const c=n.match(/(iPod)(.*OS\s([\d_]+))?/),m=!u&&n.match(/(iPhone\sOS|iOS)\s([\d_]+)/),g=r==="Win32";let v=r==="MacIntel";const b=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!u&&v&&t.touch&&b.indexOf(`${l}x${a}`)>=0&&(u=n.match(/(Version)\/([\d.]+)/),u||(u=[0,1,"13_0_0"]),v=!1),d&&!g&&(o.os="android",o.android=!0),(u||m||c)&&(o.os="ios",o.ios=!0),o}function Yi(i){return i===void 0&&(i={}),Rt||(Rt=Xs(i)),Rt}let Ft;function Qs(){const i=V(),e=Yi();let t=!1;function s(){const l=i.navigator.userAgent.toLowerCase();return l.indexOf("safari")>=0&&l.indexOf("chrome")<0&&l.indexOf("android")<0}if(s()){const l=String(i.navigator.userAgent);if(l.includes("Version/")){const[a,d]=l.split("Version/")[1].split(" ")[0].split(".").map(u=>Number(u));t=a<16||a===16&&d<2}}const r=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(i.navigator.userAgent),n=s(),o=n||r&&e.ios;return{isSafari:t||n,needPerspectiveFix:t,need3dFix:o,isWebView:r}}function Ui(){return Ft||(Ft=Qs()),Ft}function Ks(i){let{swiper:e,on:t,emit:s}=i;const r=V();let n=null,o=null;const l=()=>{!e||e.destroyed||!e.initialized||(s("beforeResize"),s("resize"))},a=()=>{!e||e.destroyed||!e.initialized||(n=new ResizeObserver(c=>{o=r.requestAnimationFrame(()=>{const{width:m,height:g}=e;let v=m,b=g;c.forEach($=>{let{contentBoxSize:x,contentRect:p,target:h}=$;h&&h!==e.el||(v=p?p.width:(x[0]||x).inlineSize,b=p?p.height:(x[0]||x).blockSize)}),(v!==m||b!==g)&&l()})}),n.observe(e.el))},d=()=>{o&&r.cancelAnimationFrame(o),n&&n.unobserve&&e.el&&(n.unobserve(e.el),n=null)},u=()=>{!e||e.destroyed||!e.initialized||s("orientationchange")};t("init",()=>{if(e.params.resizeObserver&&typeof r.ResizeObserver<"u"){a();return}r.addEventListener("resize",l),r.addEventListener("orientationchange",u)}),t("destroy",()=>{d(),r.removeEventListener("resize",l),r.removeEventListener("orientationchange",u)})}function Js(i){let{swiper:e,extendParams:t,on:s,emit:r}=i;const n=[],o=V(),l=function(u,c){c===void 0&&(c={});const m=o.MutationObserver||o.WebkitMutationObserver,g=new m(v=>{if(e.__preventObserver__)return;if(v.length===1){r("observerUpdate",v[0]);return}const b=function(){r("observerUpdate",v[0])};o.requestAnimationFrame?o.requestAnimationFrame(b):o.setTimeout(b,0)});g.observe(u,{attributes:typeof c.attributes>"u"?!0:c.attributes,childList:e.isElement||(typeof c.childList>"u"?!0:c).childList,characterData:typeof c.characterData>"u"?!0:c.characterData}),n.push(g)},a=()=>{if(e.params.observer){if(e.params.observeParents){const u=Ri(e.hostEl);for(let c=0;c{n.forEach(u=>{u.disconnect()}),n.splice(0,n.length)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),s("init",a),s("destroy",d)}var er={on(i,e,t){const s=this;if(!s.eventsListeners||s.destroyed||typeof e!="function")return s;const r=t?"unshift":"push";return i.split(" ").forEach(n=>{s.eventsListeners[n]||(s.eventsListeners[n]=[]),s.eventsListeners[n][r](e)}),s},once(i,e,t){const s=this;if(!s.eventsListeners||s.destroyed||typeof e!="function")return s;function r(){s.off(i,r),r.__emitterProxy&&delete r.__emitterProxy;for(var n=arguments.length,o=new Array(n),l=0;l=0&&e.eventsAnyListeners.splice(t,1),e},off(i,e){const t=this;return!t.eventsListeners||t.destroyed||!t.eventsListeners||i.split(" ").forEach(s=>{typeof e>"u"?t.eventsListeners[s]=[]:t.eventsListeners[s]&&t.eventsListeners[s].forEach((r,n)=>{(r===e||r.__emitterProxy&&r.__emitterProxy===e)&&t.eventsListeners[s].splice(n,1)})}),t},emit(){const i=this;if(!i.eventsListeners||i.destroyed||!i.eventsListeners)return i;let e,t,s;for(var r=arguments.length,n=new Array(r),o=0;o{i.eventsAnyListeners&&i.eventsAnyListeners.length&&i.eventsAnyListeners.forEach(d=>{d.apply(s,[a,...t])}),i.eventsListeners&&i.eventsListeners[a]&&i.eventsListeners[a].forEach(d=>{d.apply(s,t)})}),i}};function tr(){const i=this;let e,t;const s=i.el;typeof i.params.width<"u"&&i.params.width!==null?e=i.params.width:e=s.clientWidth,typeof i.params.height<"u"&&i.params.height!==null?t=i.params.height:t=s.clientHeight,!(e===0&&i.isHorizontal()||t===0&&i.isVertical())&&(e=e-parseInt(se(s,"padding-left")||0,10)-parseInt(se(s,"padding-right")||0,10),t=t-parseInt(se(s,"padding-top")||0,10)-parseInt(se(s,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(i,{width:e,height:t,size:i.isHorizontal()?e:t}))}function ir(){const i=this;function e(S,P){return parseFloat(S.getPropertyValue(i.getDirectionLabel(P))||0)}const t=i.params,{wrapperEl:s,slidesEl:r,size:n,rtlTranslate:o,wrongRTL:l}=i,a=i.virtual&&t.virtual.enabled,d=a?i.virtual.slides.length:i.slides.length,u=U(r,`.${i.params.slideClass}, swiper-slide`),c=a?i.virtual.slides.length:u.length;let m=[];const g=[],v=[];let b=t.slidesOffsetBefore;typeof b=="function"&&(b=t.slidesOffsetBefore.call(i));let $=t.slidesOffsetAfter;typeof $=="function"&&($=t.slidesOffsetAfter.call(i));const x=i.snapGrid.length,p=i.slidesGrid.length;let h=t.spaceBetween,y=-b,A=0,I=0;if(typeof n>"u")return;typeof h=="string"&&h.indexOf("%")>=0?h=parseFloat(h.replace("%",""))/100*n:typeof h=="string"&&(h=parseFloat(h)),i.virtualSize=-h,u.forEach(S=>{o?S.style.marginLeft="":S.style.marginRight="",S.style.marginBottom="",S.style.marginTop=""}),t.centeredSlides&&t.cssMode&&(ut(s,"--swiper-centered-offset-before",""),ut(s,"--swiper-centered-offset-after",""));const D=t.grid&&t.grid.rows>1&&i.grid;D?i.grid.initSlides(u):i.grid&&i.grid.unsetSlides();let z;const B=t.slidesPerView==="auto"&&t.breakpoints&&Object.keys(t.breakpoints).filter(S=>typeof t.breakpoints[S].slidesPerView<"u").length>0;for(let S=0;S1&&m.push(i.virtualSize-n)}if(a&&t.loop){const S=v[0]+h;if(t.slidesPerGroup>1){const P=Math.ceil((i.virtual.slidesBefore+i.virtual.slidesAfter)/t.slidesPerGroup),L=S*t.slidesPerGroup;for(let E=0;E!t.cssMode||t.loop?!0:L!==u.length-1).forEach(P=>{P.style[S]=`${h}px`})}if(t.centeredSlides&&t.centeredSlidesBounds){let S=0;v.forEach(L=>{S+=L+(h||0)}),S-=h;const P=S>n?S-n:0;m=m.map(L=>L<=0?-b:L>P?P+$:L)}if(t.centerInsufficientSlides){let S=0;v.forEach(L=>{S+=L+(h||0)}),S-=h;const P=(t.slidesOffsetBefore||0)+(t.slidesOffsetAfter||0);if(S+P{m[k]=E-L}),g.forEach((E,k)=>{g[k]=E+L})}}if(Object.assign(i,{slides:u,snapGrid:m,slidesGrid:g,slidesSizesGrid:v}),t.centeredSlides&&t.cssMode&&!t.centeredSlidesBounds){ut(s,"--swiper-centered-offset-before",`${-m[0]}px`),ut(s,"--swiper-centered-offset-after",`${i.size/2-v[v.length-1]/2}px`);const S=-i.snapGrid[0],P=-i.slidesGrid[0];i.snapGrid=i.snapGrid.map(L=>L+S),i.slidesGrid=i.slidesGrid.map(L=>L+P)}if(c!==d&&i.emit("slidesLengthChange"),m.length!==x&&(i.params.watchOverflow&&i.checkOverflow(),i.emit("snapGridLengthChange")),g.length!==p&&i.emit("slidesGridLengthChange"),t.watchSlidesProgress&&i.updateSlidesOffset(),i.emit("slidesUpdated"),!a&&!t.cssMode&&(t.effect==="slide"||t.effect==="fade")){const S=`${t.containerModifierClass}backface-hidden`,P=i.el.classList.contains(S);c<=t.maxBackfaceHiddenSlides?P||i.el.classList.add(S):P&&i.el.classList.remove(S)}}function sr(i){const e=this,t=[],s=e.virtual&&e.params.virtual.enabled;let r=0,n;typeof i=="number"?e.setTransition(i):i===!0&&e.setTransition(e.params.speed);const o=l=>s?e.slides[e.getSlideIndexByData(l)]:e.slides[l];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(l=>{t.push(l)});else for(n=0;ne.slides.length&&!s)break;t.push(o(l))}else t.push(o(e.activeIndex));for(n=0;nr?l:r}(r||r===0)&&(e.wrapperEl.style.height=`${r}px`)}function rr(){const i=this,e=i.slides,t=i.isElement?i.isHorizontal()?i.wrapperEl.offsetLeft:i.wrapperEl.offsetTop:0;for(let s=0;s{e&&!i.classList.contains(t)?i.classList.add(t):!e&&i.classList.contains(t)&&i.classList.remove(t)};function nr(i){i===void 0&&(i=this&&this.translate||0);const e=this,t=e.params,{slides:s,rtlTranslate:r,snapGrid:n}=e;if(s.length===0)return;typeof s[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let o=-i;r&&(o=i),e.visibleSlidesIndexes=[],e.visibleSlides=[];let l=t.spaceBetween;typeof l=="string"&&l.indexOf("%")>=0?l=parseFloat(l.replace("%",""))/100*e.size:typeof l=="string"&&(l=parseFloat(l));for(let a=0;a=0&&g<=e.size-e.slidesSizesGrid[a],$=g>=0&&g1&&v<=e.size||g<=0&&v>=e.size;$&&(e.visibleSlides.push(d),e.visibleSlidesIndexes.push(a)),Ti(d,$,t.slideVisibleClass),Ti(d,b,t.slideFullyVisibleClass),d.progress=r?-c:c,d.originalProgress=r?-m:m}}function or(i){const e=this;if(typeof i>"u"){const u=e.rtlTranslate?-1:1;i=e&&e.translate&&e.translate*u||0}const t=e.params,s=e.maxTranslate()-e.minTranslate();let{progress:r,isBeginning:n,isEnd:o,progressLoop:l}=e;const a=n,d=o;if(s===0)r=0,n=!0,o=!0;else{r=(i-e.minTranslate())/s;const u=Math.abs(i-e.minTranslate())<1,c=Math.abs(i-e.maxTranslate())<1;n=u||r<=0,o=c||r>=1,u&&(r=0),c&&(r=1)}if(t.loop){const u=e.getSlideIndexByData(0),c=e.getSlideIndexByData(e.slides.length-1),m=e.slidesGrid[u],g=e.slidesGrid[c],v=e.slidesGrid[e.slidesGrid.length-1],b=Math.abs(i);b>=m?l=(b-m)/v:l=(b+v-g)/v,l>1&&(l-=1)}Object.assign(e,{progress:r,progressLoop:l,isBeginning:n,isEnd:o}),(t.watchSlidesProgress||t.centeredSlides&&t.autoHeight)&&e.updateSlidesProgress(i),n&&!a&&e.emit("reachBeginning toEdge"),o&&!d&&e.emit("reachEnd toEdge"),(a&&!n||d&&!o)&&e.emit("fromEdge"),e.emit("progress",r)}const Yt=(i,e,t)=>{e&&!i.classList.contains(t)?i.classList.add(t):!e&&i.classList.contains(t)&&i.classList.remove(t)};function ar(){const i=this,{slides:e,params:t,slidesEl:s,activeIndex:r}=i,n=i.virtual&&t.virtual.enabled,o=i.grid&&t.grid&&t.grid.rows>1,l=c=>U(s,`.${t.slideClass}${c}, swiper-slide${c}`)[0];let a,d,u;if(n)if(t.loop){let c=r-i.virtual.slidesBefore;c<0&&(c=i.virtual.slides.length+c),c>=i.virtual.slides.length&&(c-=i.virtual.slides.length),a=l(`[data-swiper-slide-index="${c}"]`)}else a=l(`[data-swiper-slide-index="${r}"]`);else o?(a=e.find(c=>c.column===r),u=e.find(c=>c.column===r+1),d=e.find(c=>c.column===r-1)):a=e[r];a&&(o||(u=qs(a,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!u&&(u=e[0]),d=Us(a,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!d===0&&(d=e[e.length-1]))),e.forEach(c=>{Yt(c,c===a,t.slideActiveClass),Yt(c,c===u,t.slideNextClass),Yt(c,c===d,t.slidePrevClass)}),i.emitSlidesClasses()}const ft=(i,e)=>{if(!i||i.destroyed||!i.params)return;const t=()=>i.isElement?"swiper-slide":`.${i.params.slideClass}`,s=e.closest(t());if(s){let r=s.querySelector(`.${i.params.lazyPreloaderClass}`);!r&&i.isElement&&(s.shadowRoot?r=s.shadowRoot.querySelector(`.${i.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{s.shadowRoot&&(r=s.shadowRoot.querySelector(`.${i.params.lazyPreloaderClass}`),r&&r.remove())})),r&&r.remove()}},Ut=(i,e)=>{if(!i.slides[e])return;const t=i.slides[e].querySelector('[loading="lazy"]');t&&t.removeAttribute("loading")},Kt=i=>{if(!i||i.destroyed||!i.params)return;let e=i.params.lazyPreloadPrevNext;const t=i.slides.length;if(!t||!e||e<0)return;e=Math.min(e,t);const s=i.params.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(i.params.slidesPerView),r=i.activeIndex;if(i.params.grid&&i.params.grid.rows>1){const o=r,l=[o-e];l.push(...Array.from({length:e}).map((a,d)=>o+s+d)),i.slides.forEach((a,d)=>{l.includes(a.column)&&Ut(i,d)});return}const n=r+s-1;if(i.params.rewind||i.params.loop)for(let o=r-e;o<=n+e;o+=1){const l=(o%t+t)%t;(ln)&&Ut(i,l)}else for(let o=Math.max(r-e,0);o<=Math.min(n+e,t-1);o+=1)o!==r&&(o>n||o=e[n]&&s=e[n]&&s=e[n]&&(r=n);return t.normalizeSlideIndex&&(r<0||typeof r>"u")&&(r=0),r}function dr(i){const e=this,t=e.rtlTranslate?e.translate:-e.translate,{snapGrid:s,params:r,activeIndex:n,realIndex:o,snapIndex:l}=e;let a=i,d;const u=g=>{let v=g-e.virtual.slidesBefore;return v<0&&(v=e.virtual.slides.length+v),v>=e.virtual.slides.length&&(v-=e.virtual.slides.length),v};if(typeof a>"u"&&(a=lr(e)),s.indexOf(t)>=0)d=s.indexOf(t);else{const g=Math.min(r.slidesPerGroupSkip,a);d=g+Math.floor((a-g)/r.slidesPerGroup)}if(d>=s.length&&(d=s.length-1),a===n&&!e.params.loop){d!==l&&(e.snapIndex=d,e.emit("snapIndexChange"));return}if(a===n&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=u(a);return}const c=e.grid&&r.grid&&r.grid.rows>1;let m;if(e.virtual&&r.virtual.enabled&&r.loop)m=u(a);else if(c){const g=e.slides.find(b=>b.column===a);let v=parseInt(g.getAttribute("data-swiper-slide-index"),10);Number.isNaN(v)&&(v=Math.max(e.slides.indexOf(g),0)),m=Math.floor(v/r.grid.rows)}else if(e.slides[a]){const g=e.slides[a].getAttribute("data-swiper-slide-index");g?m=parseInt(g,10):m=a}else m=a;Object.assign(e,{previousSnapIndex:l,snapIndex:d,previousRealIndex:o,realIndex:m,previousIndex:n,activeIndex:a}),e.initialized&&Kt(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(o!==m&&e.emit("realIndexChange"),e.emit("slideChange"))}function cr(i,e){const t=this,s=t.params;let r=i.closest(`.${s.slideClass}, swiper-slide`);!r&&t.isElement&&e&&e.length>1&&e.includes(i)&&[...e.slice(e.indexOf(i)+1,e.length)].forEach(l=>{!r&&l.matches&&l.matches(`.${s.slideClass}, swiper-slide`)&&(r=l)});let n=!1,o;if(r){for(let l=0;la?u=a:s&&io?l="next":n"u"&&(e=n.params.speed);const b=Math.min(n.params.slidesPerGroupSkip,o);let $=b+Math.floor((o-b)/n.params.slidesPerGroup);$>=a.length&&($=a.length-1);const x=-a[$];if(l.normalizeSlideIndex)for(let D=0;D=B&&z=B&&z=B&&(o=D)}if(n.initialized&&o!==c&&(!n.allowSlideNext&&(m?x>n.translate&&x>n.minTranslate():xn.translate&&x>n.maxTranslate()&&(c||0)!==o))return!1;o!==(u||0)&&t&&n.emit("beforeSlideChangeStart"),n.updateProgress(x);let p;o>c?p="next":o0?(n._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{g[D?"scrollLeft":"scrollTop"]=z})):g[D?"scrollLeft":"scrollTop"]=z,h&&requestAnimationFrame(()=>{n.wrapperEl.style.scrollSnapType="",n._immediateVirtual=!1});else{if(!n.support.smoothScroll)return Gi({swiper:n,targetPosition:z,side:D?"left":"top"}),!0;g.scrollTo({[D?"left":"top"]:z,behavior:"smooth"})}return!0}const I=Ui().isSafari;return h&&!r&&I&&n.isElement&&n.virtual.update(!1,!1,o),n.setTransition(e),n.setTranslate(x),n.updateActiveIndex(o),n.updateSlidesClasses(),n.emit("beforeTransitionStart",e,s),n.transitionStart(t,p),e===0?n.transitionEnd(t,p):n.animating||(n.animating=!0,n.onSlideToWrapperTransitionEnd||(n.onSlideToWrapperTransitionEnd=function(z){!n||n.destroyed||z.target===this&&(n.wrapperEl.removeEventListener("transitionend",n.onSlideToWrapperTransitionEnd),n.onSlideToWrapperTransitionEnd=null,delete n.onSlideToWrapperTransitionEnd,n.transitionEnd(t,p))}),n.wrapperEl.addEventListener("transitionend",n.onSlideToWrapperTransitionEnd)),!0}function Sr(i,e,t,s){i===void 0&&(i=0),t===void 0&&(t=!0),typeof i=="string"&&(i=parseInt(i,10));const r=this;if(r.destroyed)return;typeof e>"u"&&(e=r.params.speed);const n=r.grid&&r.params.grid&&r.params.grid.rows>1;let o=i;if(r.params.loop)if(r.virtual&&r.params.virtual.enabled)o=o+r.virtual.slidesBefore;else{let l;if(n){const m=o*r.params.grid.rows;l=r.slides.find(g=>g.getAttribute("data-swiper-slide-index")*1===m).column}else l=r.getSlideIndexByData(o);const a=n?Math.ceil(r.slides.length/r.params.grid.rows):r.slides.length,{centeredSlides:d}=r.params;let u=r.params.slidesPerView;u==="auto"?u=r.slidesPerViewDynamic():(u=Math.ceil(parseFloat(r.params.slidesPerView,10)),d&&u%2===0&&(u=u+1));let c=a-lg.getAttribute("data-swiper-slide-index")*1===m).column}else o=r.getSlideIndexByData(o)}return requestAnimationFrame(()=>{r.slideTo(o,e,t,s)}),r}function $r(i,e,t){e===void 0&&(e=!0);const s=this,{enabled:r,params:n,animating:o}=s;if(!r||s.destroyed)return s;typeof i>"u"&&(i=s.params.speed);let l=n.slidesPerGroup;n.slidesPerView==="auto"&&n.slidesPerGroup===1&&n.slidesPerGroupAuto&&(l=Math.max(s.slidesPerViewDynamic("current",!0),1));const a=s.activeIndex{s.slideTo(s.activeIndex+a,i,e,t)}),!0}return n.rewind&&s.isEnd?s.slideTo(0,i,e,t):s.slideTo(s.activeIndex+a,i,e,t)}function Er(i,e,t){e===void 0&&(e=!0);const s=this,{params:r,snapGrid:n,slidesGrid:o,rtlTranslate:l,enabled:a,animating:d}=s;if(!a||s.destroyed)return s;typeof i>"u"&&(i=s.params.speed);const u=s.virtual&&r.virtual.enabled;if(r.loop){if(d&&!u&&r.loopPreventsSliding)return!1;s.loopFix({direction:"prev"}),s._clientLeft=s.wrapperEl.clientLeft}const c=l?s.translate:-s.translate;function m(p){return p<0?-Math.floor(Math.abs(p)):Math.floor(p)}const g=m(c),v=n.map(p=>m(p)),b=r.freeMode&&r.freeMode.enabled;let $=n[v.indexOf(g)-1];if(typeof $>"u"&&(r.cssMode||b)){let p;n.forEach((h,y)=>{g>=h&&(p=y)}),typeof p<"u"&&($=b?n[p]:n[p>0?p-1:p])}let x=0;if(typeof $<"u"&&(x=o.indexOf($),x<0&&(x=s.activeIndex-1),r.slidesPerView==="auto"&&r.slidesPerGroup===1&&r.slidesPerGroupAuto&&(x=x-s.slidesPerViewDynamic("previous",!0)+1,x=Math.max(x,0))),r.rewind&&s.isBeginning){const p=s.params.virtual&&s.params.virtual.enabled&&s.virtual?s.virtual.slides.length-1:s.slides.length-1;return s.slideTo(p,i,e,t)}else if(r.loop&&s.activeIndex===0&&r.cssMode)return requestAnimationFrame(()=>{s.slideTo(x,i,e,t)}),!0;return s.slideTo(x,i,e,t)}function Pr(i,e,t){e===void 0&&(e=!0);const s=this;if(!s.destroyed)return typeof i>"u"&&(i=s.params.speed),s.slideTo(s.activeIndex,i,e,t)}function Tr(i,e,t,s){e===void 0&&(e=!0),s===void 0&&(s=.5);const r=this;if(r.destroyed)return;typeof i>"u"&&(i=r.params.speed);let n=r.activeIndex;const o=Math.min(r.params.slidesPerGroupSkip,n),l=o+Math.floor((n-o)/r.params.slidesPerGroup),a=r.rtlTranslate?r.translate:-r.translate;if(a>=r.snapGrid[l]){const d=r.snapGrid[l],u=r.snapGrid[l+1];a-d>(u-d)*s&&(n+=r.params.slidesPerGroup)}else{const d=r.snapGrid[l-1],u=r.snapGrid[l];a-d<=(u-d)*s&&(n-=r.params.slidesPerGroup)}return n=Math.max(n,0),n=Math.min(n,r.slidesGrid.length-1),r.slideTo(n,i,e,t)}function Cr(){const i=this;if(i.destroyed)return;const{params:e,slidesEl:t}=i,s=e.slidesPerView==="auto"?i.slidesPerViewDynamic():e.slidesPerView;let r=i.clickedIndex,n;const o=i.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(i.animating)return;n=parseInt(i.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?ri.slides.length-i.loopedSlides+s/2?(i.loopFix(),r=i.getSlideIndex(U(t,`${o}[data-swiper-slide-index="${n}"]`)[0]),Xt(()=>{i.slideTo(r)})):i.slideTo(r):r>i.slides.length-s?(i.loopFix(),r=i.getSlideIndex(U(t,`${o}[data-swiper-slide-index="${n}"]`)[0]),Xt(()=>{i.slideTo(r)})):i.slideTo(r)}else i.slideTo(r)}var _r={slideTo:Ar,slideToLoop:Sr,slideNext:$r,slidePrev:Er,slideReset:Pr,slideToClosest:Tr,slideToClickedSlide:Cr};function Or(i){const e=this,{params:t,slidesEl:s}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;const r=()=>{U(s,`.${t.slideClass}, swiper-slide`).forEach((c,m)=>{c.setAttribute("data-swiper-slide-index",m)})},n=e.grid&&t.grid&&t.grid.rows>1,o=t.slidesPerGroup*(n?t.grid.rows:1),l=e.slides.length%o!==0,a=n&&e.slides.length%t.grid.rows!==0,d=u=>{for(let c=0;c1;d.length"u"?n=a.getSlideIndex(d.find(E=>E.classList.contains(g.slideActiveClass))):A=n;const I=s==="next"||!s,D=s==="prev"||!s;let z=0,B=0;const S=p?Math.ceil(d.length/g.grid.rows):d.length,L=(p?d[n].column:n)+(v&&typeof r>"u"?-b/2+.5:0);if(L=0;G-=1)d[G].column===H&&h.push(G)}else h.push(S-k-1)}}else if(L+b>S-x){B=Math.max(L-(S-x*2),$);for(let E=0;E{H.column===k&&y.push(G)}):y.push(k)}}if(a.__preventObserver__=!0,requestAnimationFrame(()=>{a.__preventObserver__=!1}),D&&h.forEach(E=>{d[E].swiperLoopMoveDOM=!0,m.prepend(d[E]),d[E].swiperLoopMoveDOM=!1}),I&&y.forEach(E=>{d[E].swiperLoopMoveDOM=!0,m.append(d[E]),d[E].swiperLoopMoveDOM=!1}),a.recalcSlides(),g.slidesPerView==="auto"?a.updateSlides():p&&(h.length>0&&D||y.length>0&&I)&&a.slides.forEach((E,k)=>{a.grid.updateSlide(k,E,a.slides)}),g.watchSlidesProgress&&a.updateSlidesOffset(),t){if(h.length>0&&D){if(typeof e>"u"){const E=a.slidesGrid[A],H=a.slidesGrid[A+z]-E;l?a.setTranslate(a.translate-H):(a.slideTo(A+Math.ceil(z),0,!1,!0),r&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-H,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-H))}else if(r){const E=p?h.length/g.grid.rows:h.length;a.slideTo(a.activeIndex+E,0,!1,!0),a.touchEventsData.currentTranslate=a.translate}}else if(y.length>0&&I)if(typeof e>"u"){const E=a.slidesGrid[A],H=a.slidesGrid[A-B]-E;l?a.setTranslate(a.translate-H):(a.slideTo(A-B,0,!1,!0),r&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-H,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-H))}else{const E=p?y.length/g.grid.rows:y.length;a.slideTo(a.activeIndex-E,0,!1,!0)}}if(a.allowSlidePrev=u,a.allowSlideNext=c,a.controller&&a.controller.control&&!o){const E={slideRealIndex:e,direction:s,setTranslate:r,activeSlideIndex:n,byController:!0};Array.isArray(a.controller.control)?a.controller.control.forEach(k=>{!k.destroyed&&k.params.loop&&k.loopFix({...E,slideTo:k.params.slidesPerView===g.slidesPerView?t:!1})}):a.controller.control instanceof a.constructor&&a.controller.control.params.loop&&a.controller.control.loopFix({...E,slideTo:a.controller.control.params.slidesPerView===g.slidesPerView?t:!1})}a.emit("loopFix")}function zr(){const i=this,{params:e,slidesEl:t}=i;if(!e.loop||i.virtual&&i.params.virtual.enabled)return;i.recalcSlides();const s=[];i.slides.forEach(r=>{const n=typeof r.swiperSlideIndex>"u"?r.getAttribute("data-swiper-slide-index")*1:r.swiperSlideIndex;s[n]=r}),i.slides.forEach(r=>{r.removeAttribute("data-swiper-slide-index")}),s.forEach(r=>{t.append(r)}),i.recalcSlides(),i.slideTo(i.realIndex,0)}var Lr={loopCreate:Or,loopFix:Mr,loopDestroy:zr};function kr(i){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const t=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),t.style.cursor="move",t.style.cursor=i?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function Ir(){const i=this;i.params.watchOverflow&&i.isLocked||i.params.cssMode||(i.isElement&&(i.__preventObserver__=!0),i[i.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",i.isElement&&requestAnimationFrame(()=>{i.__preventObserver__=!1}))}var Dr={setGrabCursor:kr,unsetGrabCursor:Ir};function Br(i,e){e===void 0&&(e=this);function t(s){if(!s||s===$e()||s===V())return null;s.assignedSlot&&(s=s.assignedSlot);const r=s.closest(i);return!r&&!s.getRootNode?null:r||t(s.getRootNode().host)}return t(e)}function Ci(i,e,t){const s=V(),{params:r}=i,n=r.edgeSwipeDetection,o=r.edgeSwipeThreshold;return n&&(t<=o||t>=s.innerWidth-o)?n==="prevent"?(e.preventDefault(),!0):!1:!0}function Hr(i){const e=this,t=$e();let s=i;s.originalEvent&&(s=s.originalEvent);const r=e.touchEventsData;if(s.type==="pointerdown"){if(r.pointerId!==null&&r.pointerId!==s.pointerId)return;r.pointerId=s.pointerId}else s.type==="touchstart"&&s.targetTouches.length===1&&(r.touchId=s.targetTouches[0].identifier);if(s.type==="touchstart"){Ci(e,s,s.targetTouches[0].pageX);return}const{params:n,touches:o,enabled:l}=e;if(!l||!n.simulateTouch&&s.pointerType==="mouse"||e.animating&&n.preventInteractionOnTransition)return;!e.animating&&n.cssMode&&n.loop&&e.loopFix();let a=s.target;if(n.touchEventsTarget==="wrapper"&&!Ys(a,e.wrapperEl)||"which"in s&&s.which===3||"button"in s&&s.button>0||r.isTouched&&r.isMoved)return;const d=!!n.noSwipingClass&&n.noSwipingClass!=="",u=s.composedPath?s.composedPath():s.path;d&&s.target&&s.target.shadowRoot&&u&&(a=u[0]);const c=n.noSwipingSelector?n.noSwipingSelector:`.${n.noSwipingClass}`,m=!!(s.target&&s.target.shadowRoot);if(n.noSwiping&&(m?Br(c,a):a.closest(c))){e.allowClick=!0;return}if(n.swipeHandler&&!a.closest(n.swipeHandler))return;o.currentX=s.pageX,o.currentY=s.pageY;const g=o.currentX,v=o.currentY;if(!Ci(e,s,g))return;Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=g,o.startY=v,r.touchStartTime=vt(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,n.threshold>0&&(r.allowThresholdMove=!1);let b=!0;a.matches(r.focusableElements)&&(b=!1,a.nodeName==="SELECT"&&(r.isTouched=!1)),t.activeElement&&t.activeElement.matches(r.focusableElements)&&t.activeElement!==a&&(s.pointerType==="mouse"||s.pointerType!=="mouse"&&!a.matches(r.focusableElements))&&t.activeElement.blur();const $=b&&e.allowTouchMove&&n.touchStartPreventDefault;(n.touchStartForcePreventDefault||$)&&!a.isContentEditable&&s.preventDefault(),n.freeMode&&n.freeMode.enabled&&e.freeMode&&e.animating&&!n.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",s)}function Nr(i){const e=$e(),t=this,s=t.touchEventsData,{params:r,touches:n,rtlTranslate:o,enabled:l}=t;if(!l||!r.simulateTouch&&i.pointerType==="mouse")return;let a=i;if(a.originalEvent&&(a=a.originalEvent),a.type==="pointermove"&&(s.touchId!==null||a.pointerId!==s.pointerId))return;let d;if(a.type==="touchmove"){if(d=[...a.changedTouches].find(A=>A.identifier===s.touchId),!d||d.identifier!==s.touchId)return}else d=a;if(!s.isTouched){s.startMoving&&s.isScrolling&&t.emit("touchMoveOpposite",a);return}const u=d.pageX,c=d.pageY;if(a.preventedByNestedSwiper){n.startX=u,n.startY=c;return}if(!t.allowTouchMove){a.target.matches(s.focusableElements)||(t.allowClick=!1),s.isTouched&&(Object.assign(n,{startX:u,startY:c,currentX:u,currentY:c}),s.touchStartTime=vt());return}if(r.touchReleaseOnEdges&&!r.loop){if(t.isVertical()){if(cn.startY&&t.translate>=t.minTranslate()){s.isTouched=!1,s.isMoved=!1;return}}else if(un.startX&&t.translate>=t.minTranslate())return}if(e.activeElement&&e.activeElement.matches(s.focusableElements)&&e.activeElement!==a.target&&a.pointerType!=="mouse"&&e.activeElement.blur(),e.activeElement&&a.target===e.activeElement&&a.target.matches(s.focusableElements)){s.isMoved=!0,t.allowClick=!1;return}s.allowTouchCallbacks&&t.emit("touchMove",a),n.previousX=n.currentX,n.previousY=n.currentY,n.currentX=u,n.currentY=c;const m=n.currentX-n.startX,g=n.currentY-n.startY;if(t.params.threshold&&Math.sqrt(m**2+g**2)"u"){let A;t.isHorizontal()&&n.currentY===n.startY||t.isVertical()&&n.currentX===n.startX?s.isScrolling=!1:m*m+g*g>=25&&(A=Math.atan2(Math.abs(g),Math.abs(m))*180/Math.PI,s.isScrolling=t.isHorizontal()?A>r.touchAngle:90-A>r.touchAngle)}if(s.isScrolling&&t.emit("touchMoveOpposite",a),typeof s.startMoving>"u"&&(n.currentX!==n.startX||n.currentY!==n.startY)&&(s.startMoving=!0),s.isScrolling||a.type==="touchmove"&&s.preventTouchMoveFromPointerMove){s.isTouched=!1;return}if(!s.startMoving)return;t.allowClick=!1,!r.cssMode&&a.cancelable&&a.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&a.stopPropagation();let v=t.isHorizontal()?m:g,b=t.isHorizontal()?n.currentX-n.previousX:n.currentY-n.previousY;r.oneWayMovement&&(v=Math.abs(v)*(o?1:-1),b=Math.abs(b)*(o?1:-1)),n.diff=v,v*=r.touchRatio,o&&(v=-v,b=-b);const $=t.touchesDirection;t.swipeDirection=v>0?"prev":"next",t.touchesDirection=b>0?"prev":"next";const x=t.params.loop&&!r.cssMode,p=t.touchesDirection==="next"&&t.allowSlideNext||t.touchesDirection==="prev"&&t.allowSlidePrev;if(!s.isMoved){if(x&&p&&t.loopFix({direction:t.swipeDirection}),s.startTranslate=t.getTranslate(),t.setTransition(0),t.animating){const A=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});t.wrapperEl.dispatchEvent(A)}s.allowMomentumBounce=!1,r.grabCursor&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!0),t.emit("sliderFirstMove",a)}if(new Date().getTime(),r._loopSwapReset!==!1&&s.isMoved&&s.allowThresholdMove&&$!==t.touchesDirection&&x&&p&&Math.abs(v)>=1){Object.assign(n,{startX:u,startY:c,currentX:u,currentY:c,startTranslate:s.currentTranslate}),s.loopSwapReset=!0,s.startTranslate=s.currentTranslate;return}t.emit("sliderMove",a),s.isMoved=!0,s.currentTranslate=v+s.startTranslate;let h=!0,y=r.resistanceRatio;if(r.touchReleaseOnEdges&&(y=0),v>0?(x&&p&&s.allowThresholdMove&&s.currentTranslate>(r.centeredSlides?t.minTranslate()-t.slidesSizesGrid[t.activeIndex+1]-(r.slidesPerView!=="auto"&&t.slides.length-r.slidesPerView>=2?t.slidesSizesGrid[t.activeIndex+1]+t.params.spaceBetween:0)-t.params.spaceBetween:t.minTranslate())&&t.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),s.currentTranslate>t.minTranslate()&&(h=!1,r.resistance&&(s.currentTranslate=t.minTranslate()-1+(-t.minTranslate()+s.startTranslate+v)**y))):v<0&&(x&&p&&s.allowThresholdMove&&s.currentTranslate<(r.centeredSlides?t.maxTranslate()+t.slidesSizesGrid[t.slidesSizesGrid.length-1]+t.params.spaceBetween+(r.slidesPerView!=="auto"&&t.slides.length-r.slidesPerView>=2?t.slidesSizesGrid[t.slidesSizesGrid.length-1]+t.params.spaceBetween:0):t.maxTranslate())&&t.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:t.slides.length-(r.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(parseFloat(r.slidesPerView,10)))}),s.currentTranslates.startTranslate&&(s.currentTranslate=s.startTranslate),!t.allowSlidePrev&&!t.allowSlideNext&&(s.currentTranslate=s.startTranslate),r.threshold>0)if(Math.abs(v)>r.threshold||s.allowThresholdMove){if(!s.allowThresholdMove){s.allowThresholdMove=!0,n.startX=n.currentX,n.startY=n.currentY,s.currentTranslate=s.startTranslate,n.diff=t.isHorizontal()?n.currentX-n.startX:n.currentY-n.startY;return}}else{s.currentTranslate=s.startTranslate;return}!r.followFinger||r.cssMode||((r.freeMode&&r.freeMode.enabled&&t.freeMode||r.watchSlidesProgress)&&(t.updateActiveIndex(),t.updateSlidesClasses()),r.freeMode&&r.freeMode.enabled&&t.freeMode&&t.freeMode.onTouchMove(),t.updateProgress(s.currentTranslate),t.setTranslate(s.currentTranslate))}function jr(i){const e=this,t=e.touchEventsData;let s=i;s.originalEvent&&(s=s.originalEvent);let r;if(s.type==="touchend"||s.type==="touchcancel"){if(r=[...s.changedTouches].find(A=>A.identifier===t.touchId),!r||r.identifier!==t.touchId)return}else{if(t.touchId!==null||s.pointerId!==t.pointerId)return;r=s}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(s.type)&&!(["pointercancel","contextmenu"].includes(s.type)&&(e.browser.isSafari||e.browser.isWebView)))return;t.pointerId=null,t.touchId=null;const{params:o,touches:l,rtlTranslate:a,slidesGrid:d,enabled:u}=e;if(!u||!o.simulateTouch&&s.pointerType==="mouse")return;if(t.allowTouchCallbacks&&e.emit("touchEnd",s),t.allowTouchCallbacks=!1,!t.isTouched){t.isMoved&&o.grabCursor&&e.setGrabCursor(!1),t.isMoved=!1,t.startMoving=!1;return}o.grabCursor&&t.isMoved&&t.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const c=vt(),m=c-t.touchStartTime;if(e.allowClick){const A=s.path||s.composedPath&&s.composedPath();e.updateClickedSlide(A&&A[0]||s.target,A),e.emit("tap click",s),m<300&&c-t.lastClickTime<300&&e.emit("doubleTap doubleClick",s)}if(t.lastClickTime=vt(),Xt(()=>{e.destroyed||(e.allowClick=!0)}),!t.isTouched||!t.isMoved||!e.swipeDirection||l.diff===0&&!t.loopSwapReset||t.currentTranslate===t.startTranslate&&!t.loopSwapReset){t.isTouched=!1,t.isMoved=!1,t.startMoving=!1;return}t.isTouched=!1,t.isMoved=!1,t.startMoving=!1;let g;if(o.followFinger?g=a?e.translate:-e.translate:g=-t.currentTranslate,o.cssMode)return;if(o.freeMode&&o.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:g});return}const v=g>=-e.maxTranslate()&&!e.params.loop;let b=0,$=e.slidesSizesGrid[0];for(let A=0;A=d[A]&&g=d[A])&&(b=A,$=d[d.length-1]-d[d.length-2])}let x=null,p=null;o.rewind&&(e.isBeginning?p=o.virtual&&o.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(x=0));const h=(g-d[b])/$,y=bo.longSwipesMs){if(!o.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(h>=o.longSwipesRatio?e.slideTo(o.rewind&&e.isEnd?x:b+y):e.slideTo(b)),e.swipeDirection==="prev"&&(h>1-o.longSwipesRatio?e.slideTo(b+y):p!==null&&h<0&&Math.abs(h)>o.longSwipesRatio?e.slideTo(p):e.slideTo(b))}else{if(!o.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(s.target===e.navigation.nextEl||s.target===e.navigation.prevEl)?s.target===e.navigation.nextEl?e.slideTo(b+y):e.slideTo(b):(e.swipeDirection==="next"&&e.slideTo(x!==null?x:b+y),e.swipeDirection==="prev"&&e.slideTo(p!==null?p:b))}}function _i(){const i=this,{params:e,el:t}=i;if(t&&t.offsetWidth===0)return;e.breakpoints&&i.setBreakpoint();const{allowSlideNext:s,allowSlidePrev:r,snapGrid:n}=i,o=i.virtual&&i.params.virtual.enabled;i.allowSlideNext=!0,i.allowSlidePrev=!0,i.updateSize(),i.updateSlides(),i.updateSlidesClasses();const l=o&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&i.isEnd&&!i.isBeginning&&!i.params.centeredSlides&&!l?i.slideTo(i.slides.length-1,0,!1,!0):i.params.loop&&!o?i.slideToLoop(i.realIndex,0,!1,!0):i.slideTo(i.activeIndex,0,!1,!0),i.autoplay&&i.autoplay.running&&i.autoplay.paused&&(clearTimeout(i.autoplay.resizeTimeout),i.autoplay.resizeTimeout=setTimeout(()=>{i.autoplay&&i.autoplay.running&&i.autoplay.paused&&i.autoplay.resume()},500)),i.allowSlidePrev=r,i.allowSlideNext=s,i.params.watchOverflow&&n!==i.snapGrid&&i.checkOverflow()}function Gr(i){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&i.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(i.stopPropagation(),i.stopImmediatePropagation())))}function Vr(){const i=this,{wrapperEl:e,rtlTranslate:t,enabled:s}=i;if(!s)return;i.previousTranslate=i.translate,i.isHorizontal()?i.translate=-e.scrollLeft:i.translate=-e.scrollTop,i.translate===0&&(i.translate=0),i.updateActiveIndex(),i.updateSlidesClasses();let r;const n=i.maxTranslate()-i.minTranslate();n===0?r=0:r=(i.translate-i.minTranslate())/n,r!==i.progress&&i.updateProgress(t?-i.translate:i.translate),i.emit("setTranslate",i.translate,!1)}function Rr(i){const e=this;ft(e,i.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function Fr(){const i=this;i.documentTouchHandlerProceeded||(i.documentTouchHandlerProceeded=!0,i.params.touchReleaseOnEdges&&(i.el.style.touchAction="auto"))}const Zi=(i,e)=>{const t=$e(),{params:s,el:r,wrapperEl:n,device:o}=i,l=!!s.nested,a=e==="on"?"addEventListener":"removeEventListener",d=e;!r||typeof r=="string"||(t[a]("touchstart",i.onDocumentTouchStart,{passive:!1,capture:l}),r[a]("touchstart",i.onTouchStart,{passive:!1}),r[a]("pointerdown",i.onTouchStart,{passive:!1}),t[a]("touchmove",i.onTouchMove,{passive:!1,capture:l}),t[a]("pointermove",i.onTouchMove,{passive:!1,capture:l}),t[a]("touchend",i.onTouchEnd,{passive:!0}),t[a]("pointerup",i.onTouchEnd,{passive:!0}),t[a]("pointercancel",i.onTouchEnd,{passive:!0}),t[a]("touchcancel",i.onTouchEnd,{passive:!0}),t[a]("pointerout",i.onTouchEnd,{passive:!0}),t[a]("pointerleave",i.onTouchEnd,{passive:!0}),t[a]("contextmenu",i.onTouchEnd,{passive:!0}),(s.preventClicks||s.preventClicksPropagation)&&r[a]("click",i.onClick,!0),s.cssMode&&n[a]("scroll",i.onScroll),s.updateOnWindowResize?i[d](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",_i,!0):i[d]("observerUpdate",_i,!0),r[a]("load",i.onLoad,{capture:!0}))};function Yr(){const i=this,{params:e}=i;i.onTouchStart=Hr.bind(i),i.onTouchMove=Nr.bind(i),i.onTouchEnd=jr.bind(i),i.onDocumentTouchStart=Fr.bind(i),e.cssMode&&(i.onScroll=Vr.bind(i)),i.onClick=Gr.bind(i),i.onLoad=Rr.bind(i),Zi(i,"on")}function Ur(){Zi(this,"off")}var qr={attachEvents:Yr,detachEvents:Ur};const Oi=(i,e)=>i.grid&&e.grid&&e.grid.rows>1;function Zr(){const i=this,{realIndex:e,initialized:t,params:s,el:r}=i,n=s.breakpoints;if(!n||n&&Object.keys(n).length===0)return;const o=$e(),l=s.breakpointsBase==="window"||!s.breakpointsBase?s.breakpointsBase:"container",a=["window","container"].includes(s.breakpointsBase)||!s.breakpointsBase?i.el:o.querySelector(s.breakpointsBase),d=i.getBreakpoint(n,l,a);if(!d||i.currentBreakpoint===d)return;const c=(d in n?n[d]:void 0)||i.originalParams,m=Oi(i,s),g=Oi(i,c),v=i.params.grabCursor,b=c.grabCursor,$=s.enabled;m&&!g?(r.classList.remove(`${s.containerModifierClass}grid`,`${s.containerModifierClass}grid-column`),i.emitContainerClasses()):!m&&g&&(r.classList.add(`${s.containerModifierClass}grid`),(c.grid.fill&&c.grid.fill==="column"||!c.grid.fill&&s.grid.fill==="column")&&r.classList.add(`${s.containerModifierClass}grid-column`),i.emitContainerClasses()),v&&!b?i.unsetGrabCursor():!v&&b&&i.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(I=>{if(typeof c[I]>"u")return;const D=s[I]&&s[I].enabled,z=c[I]&&c[I].enabled;D&&!z&&i[I].disable(),!D&&z&&i[I].enable()});const x=c.direction&&c.direction!==s.direction,p=s.loop&&(c.slidesPerView!==s.slidesPerView||x),h=s.loop;x&&t&&i.changeDirection(),R(i.params,c);const y=i.params.enabled,A=i.params.loop;Object.assign(i,{allowTouchMove:i.params.allowTouchMove,allowSlideNext:i.params.allowSlideNext,allowSlidePrev:i.params.allowSlidePrev}),$&&!y?i.disable():!$&&y&&i.enable(),i.currentBreakpoint=d,i.emit("_beforeBreakpoint",c),t&&(p?(i.loopDestroy(),i.loopCreate(e),i.updateSlides()):!h&&A?(i.loopCreate(e),i.updateSlides()):h&&!A&&i.loopDestroy()),i.emit("breakpoint",c)}function Wr(i,e,t){if(e===void 0&&(e="window"),!i||e==="container"&&!t)return;let s=!1;const r=V(),n=e==="window"?r.innerHeight:t.clientHeight,o=Object.keys(i).map(l=>{if(typeof l=="string"&&l.indexOf("@")===0){const a=parseFloat(l.substr(1));return{value:n*a,point:l}}return{value:l,point:l}});o.sort((l,a)=>parseInt(l.value,10)-parseInt(a.value,10));for(let l=0;l{typeof s=="object"?Object.keys(s).forEach(r=>{s[r]&&t.push(e+r)}):typeof s=="string"&&t.push(e+s)}),t}function Kr(){const i=this,{classNames:e,params:t,rtl:s,el:r,device:n}=i,o=Qr(["initialized",t.direction,{"free-mode":i.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:s},{grid:t.grid&&t.grid.rows>1},{"grid-column":t.grid&&t.grid.rows>1&&t.grid.fill==="column"},{android:n.android},{ios:n.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);e.push(...o),r.classList.add(...e),i.emitContainerClasses()}function Jr(){const i=this,{el:e,classNames:t}=i;!e||typeof e=="string"||(e.classList.remove(...t),i.emitContainerClasses())}var en={addClasses:Kr,removeClasses:Jr};function tn(){const i=this,{isLocked:e,params:t}=i,{slidesOffsetBefore:s}=t;if(s){const r=i.slides.length-1,n=i.slidesGrid[r]+i.slidesSizesGrid[r]+s*2;i.isLocked=i.size>n}else i.isLocked=i.snapGrid.length===1;t.allowSlideNext===!0&&(i.allowSlideNext=!i.isLocked),t.allowSlidePrev===!0&&(i.allowSlidePrev=!i.isLocked),e&&e!==i.isLocked&&(i.isEnd=!1),e!==i.isLocked&&i.emit(i.isLocked?"lock":"unlock")}var sn={checkOverflow:tn},Mi={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function rn(i,e){return function(s){s===void 0&&(s={});const r=Object.keys(s)[0],n=s[r];if(typeof n!="object"||n===null){R(e,s);return}if(i[r]===!0&&(i[r]={enabled:!0}),r==="navigation"&&i[r]&&i[r].enabled&&!i[r].prevEl&&!i[r].nextEl&&(i[r].auto=!0),["pagination","scrollbar"].indexOf(r)>=0&&i[r]&&i[r].enabled&&!i[r].el&&(i[r].auto=!0),!(r in i&&"enabled"in n)){R(e,s);return}typeof i[r]=="object"&&!("enabled"in i[r])&&(i[r].enabled=!0),i[r]||(i[r]={enabled:!1}),R(e,s)}}const qt={eventsEmitter:er,update:pr,translate:vr,transition:xr,slide:_r,loop:Lr,grabCursor:Dr,events:qr,breakpoints:Xr,checkOverflow:sn,classes:en},Zt={};class F{constructor(){let e,t;for(var s=arguments.length,r=new Array(s),n=0;n1){const u=[];return o.querySelectorAll(t.el).forEach(c=>{const m=R({},t,{el:c});u.push(new F(m))}),u}const l=this;l.__swiper__=!0,l.support=Fi(),l.device=Yi({userAgent:t.userAgent}),l.browser=Ui(),l.eventsListeners={},l.eventsAnyListeners=[],l.modules=[...l.__modules__],t.modules&&Array.isArray(t.modules)&&l.modules.push(...t.modules);const a={};l.modules.forEach(u=>{u({params:t,swiper:l,extendParams:rn(t,a),on:l.on.bind(l),once:l.once.bind(l),off:l.off.bind(l),emit:l.emit.bind(l)})});const d=R({},Mi,a);return l.params=R({},d,Zt,t),l.originalParams=R({},l.params),l.passedParams=R({},t),l.params&&l.params.on&&Object.keys(l.params.on).forEach(u=>{l.on(u,l.params.on[u])}),l.params&&l.params.onAny&&l.onAny(l.params.onAny),Object.assign(l,{enabled:l.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return l.params.direction==="horizontal"},isVertical(){return l.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:l.params.allowSlideNext,allowSlidePrev:l.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:l.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.emit("_swiper"),l.params.init&&l.init(),l}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:t,params:s}=this,r=U(t,`.${s.slideClass}, swiper-slide`),n=yt(r[0]);return yt(e)-n}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(t=>t.getAttribute("data-swiper-slide-index")*1===e))}recalcSlides(){const e=this,{slidesEl:t,params:s}=e;e.slides=U(t,`.${s.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const s=this;e=Math.min(Math.max(e,0),1);const r=s.minTranslate(),o=(s.maxTranslate()-r)*e+r;s.translateTo(o,typeof t>"u"?0:t),s.updateActiveIndex(),s.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter(s=>s.indexOf("swiper")===0||s.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter(s=>s.indexOf("swiper-slide")===0||s.indexOf(t.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach(s=>{const r=e.getSlideClasses(s);t.push({slideEl:s,classNames:r}),e.emit("_slideClass",s,r)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){e===void 0&&(e="current"),t===void 0&&(t=!1);const s=this,{params:r,slides:n,slidesGrid:o,slidesSizesGrid:l,size:a,activeIndex:d}=s;let u=1;if(typeof r.slidesPerView=="number")return r.slidesPerView;if(r.centeredSlides){let c=n[d]?Math.ceil(n[d].swiperSlideSize):0,m;for(let g=d+1;ga&&(m=!0));for(let g=d-1;g>=0;g-=1)n[g]&&!m&&(c+=n[g].swiperSlideSize,u+=1,c>a&&(m=!0))}else if(e==="current")for(let c=d+1;c=0;c-=1)o[d]-o[c]{o.complete&&ft(e,o)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function r(){const o=e.rtlTranslate?e.translate*-1:e.translate,l=Math.min(Math.max(o,e.maxTranslate()),e.minTranslate());e.setTranslate(l),e.updateActiveIndex(),e.updateSlidesClasses()}let n;if(s.freeMode&&s.freeMode.enabled&&!s.cssMode)r(),s.autoHeight&&e.updateAutoHeight();else{if((s.slidesPerView==="auto"||s.slidesPerView>1)&&e.isEnd&&!s.centeredSlides){const o=e.virtual&&s.virtual.enabled?e.virtual.slides:e.slides;n=e.slideTo(o.length-1,0,!1,!0)}else n=e.slideTo(e.activeIndex,0,!1,!0);n||r()}s.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){t===void 0&&(t=!0);const s=this,r=s.params.direction;return e||(e=r==="horizontal"?"vertical":"horizontal"),e===r||e!=="horizontal"&&e!=="vertical"||(s.el.classList.remove(`${s.params.containerModifierClass}${r}`),s.el.classList.add(`${s.params.containerModifierClass}${e}`),s.emitContainerClasses(),s.params.direction=e,s.slides.forEach(n=>{e==="vertical"?n.style.width="":n.style.height=""}),s.emit("changeDirection"),t&&s.update()),s}changeLanguageDirection(e){const t=this;t.rtl&&e==="rtl"||!t.rtl&&e==="ltr"||(t.rtl=e==="rtl",t.rtlTranslate=t.params.direction==="horizontal"&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let s=e||t.params.el;if(typeof s=="string"&&(s=document.querySelector(s)),!s)return!1;s.swiper=t,s.parentNode&&s.parentNode.host&&s.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const r=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let o=s&&s.shadowRoot&&s.shadowRoot.querySelector?s.shadowRoot.querySelector(r()):U(s,r())[0];return!o&&t.params.createElements&&(o=bt("div",t.params.wrapperClass),s.append(o),U(s,`.${t.params.slideClass}`).forEach(l=>{o.append(l)})),Object.assign(t,{el:s,wrapperEl:o,slidesEl:t.isElement&&!s.parentNode.host.slideSlots?s.parentNode.host:o,hostEl:t.isElement?s.parentNode.host:s,mounted:!0,rtl:s.dir.toLowerCase()==="rtl"||se(s,"direction")==="rtl",rtlTranslate:t.params.direction==="horizontal"&&(s.dir.toLowerCase()==="rtl"||se(s,"direction")==="rtl"),wrongRTL:se(o,"display")==="-webkit-box"}),!0}init(e){const t=this;if(t.initialized||t.mount(e)===!1)return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents();const r=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&r.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),r.forEach(n=>{n.complete?ft(t,n):n.addEventListener("load",o=>{ft(t,o.target)})}),Kt(t),t.initialized=!0,Kt(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){e===void 0&&(e=!0),t===void 0&&(t=!0);const s=this,{params:r,el:n,wrapperEl:o,slides:l}=s;return typeof s.params>"u"||s.destroyed||(s.emit("beforeDestroy"),s.initialized=!1,s.detachEvents(),r.loop&&s.loopDestroy(),t&&(s.removeClasses(),n&&typeof n!="string"&&n.removeAttribute("style"),o&&o.removeAttribute("style"),l&&l.length&&l.forEach(a=>{a.classList.remove(r.slideVisibleClass,r.slideFullyVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass),a.removeAttribute("style"),a.removeAttribute("data-swiper-slide-index")})),s.emit("destroy"),Object.keys(s.eventsListeners).forEach(a=>{s.off(a)}),e!==!1&&(s.el&&typeof s.el!="string"&&(s.el.swiper=null),js(s)),s.destroyed=!0),null}static extendDefaults(e){R(Zt,e)}static get extendedDefaults(){return Zt}static get defaults(){return Mi}static installModule(e){F.prototype.__modules__||(F.prototype.__modules__=[]);const t=F.prototype.__modules__;typeof e=="function"&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach(t=>F.installModule(t)),F):(F.installModule(e),F)}}Object.keys(qt).forEach(i=>{Object.keys(qt[i]).forEach(e=>{F.prototype[e]=qt[i][e]})});F.use([Ks,Js]);function Wi(i,e,t,s){return i.params.createElements&&Object.keys(s).forEach(r=>{if(!t[r]&&t.auto===!0){let n=U(i.el,`.${s[r]}`)[0];n||(n=bt("div",s[r]),n.className=s[r],i.el.append(n)),t[r]=n,e[r]=n}}),t}function nn(i){let{swiper:e,extendParams:t,on:s,emit:r}=i;t({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 n(v){let b;return v&&typeof v=="string"&&e.isElement&&(b=e.el.querySelector(v)||e.hostEl.querySelector(v),b)?b:(v&&(typeof v=="string"&&(b=[...document.querySelectorAll(v)]),e.params.uniqueNavElements&&typeof v=="string"&&b&&b.length>1&&e.el.querySelectorAll(v).length===1?b=e.el.querySelector(v):b&&b.length===1&&(b=b[0])),v&&!b?v:b)}function o(v,b){const $=e.params.navigation;v=j(v),v.forEach(x=>{x&&(x.classList[b?"add":"remove"](...$.disabledClass.split(" ")),x.tagName==="BUTTON"&&(x.disabled=b),e.params.watchOverflow&&e.enabled&&x.classList[e.isLocked?"add":"remove"]($.lockClass))})}function l(){const{nextEl:v,prevEl:b}=e.navigation;if(e.params.loop){o(b,!1),o(v,!1);return}o(b,e.isBeginning&&!e.params.rewind),o(v,e.isEnd&&!e.params.rewind)}function a(v){v.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),r("navigationPrev"))}function d(v){v.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),r("navigationNext"))}function u(){const v=e.params.navigation;if(e.params.navigation=Wi(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(v.nextEl||v.prevEl))return;let b=n(v.nextEl),$=n(v.prevEl);Object.assign(e.navigation,{nextEl:b,prevEl:$}),b=j(b),$=j($);const x=(p,h)=>{p&&p.addEventListener("click",h==="next"?d:a),!e.enabled&&p&&p.classList.add(...v.lockClass.split(" "))};b.forEach(p=>x(p,"next")),$.forEach(p=>x(p,"prev"))}function c(){let{nextEl:v,prevEl:b}=e.navigation;v=j(v),b=j(b);const $=(x,p)=>{x.removeEventListener("click",p==="next"?d:a),x.classList.remove(...e.params.navigation.disabledClass.split(" "))};v.forEach(x=>$(x,"next")),b.forEach(x=>$(x,"prev"))}s("init",()=>{e.params.navigation.enabled===!1?g():(u(),l())}),s("toEdge fromEdge lock unlock",()=>{l()}),s("destroy",()=>{c()}),s("enable disable",()=>{let{nextEl:v,prevEl:b}=e.navigation;if(v=j(v),b=j(b),e.enabled){l();return}[...v,...b].filter($=>!!$).forEach($=>$.classList.add(e.params.navigation.lockClass))}),s("click",(v,b)=>{let{nextEl:$,prevEl:x}=e.navigation;$=j($),x=j(x);const p=b.target;let h=x.includes(p)||$.includes(p);if(e.isElement&&!h){const y=b.path||b.composedPath&&b.composedPath();y&&(h=y.find(A=>$.includes(A)||x.includes(A)))}if(e.params.navigation.hideOnClick&&!h){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===p||e.pagination.el.contains(p)))return;let y;$.length?y=$[0].classList.contains(e.params.navigation.hiddenClass):x.length&&(y=x[0].classList.contains(e.params.navigation.hiddenClass)),r(y===!0?"navigationShow":"navigationHide"),[...$,...x].filter(A=>!!A).forEach(A=>A.classList.toggle(e.params.navigation.hiddenClass))}});const m=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),u(),l()},g=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),c()};Object.assign(e.navigation,{enable:m,disable:g,update:l,init:u,destroy:c})}function Ze(i){return i===void 0&&(i=""),`.${i.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function on(i){let{swiper:e,extendParams:t,on:s,emit:r}=i;const n="swiper-pagination";t({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:p=>p,formatFractionTotal:p=>p,bulletClass:`${n}-bullet`,bulletActiveClass:`${n}-bullet-active`,modifierClass:`${n}-`,currentClass:`${n}-current`,totalClass:`${n}-total`,hiddenClass:`${n}-hidden`,progressbarFillClass:`${n}-progressbar-fill`,progressbarOppositeClass:`${n}-progressbar-opposite`,clickableClass:`${n}-clickable`,lockClass:`${n}-lock`,horizontalClass:`${n}-horizontal`,verticalClass:`${n}-vertical`,paginationDisabledClass:`${n}-disabled`}}),e.pagination={el:null,bullets:[]};let o,l=0;function a(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function d(p,h){const{bulletActiveClass:y}=e.params.pagination;p&&(p=p[`${h==="prev"?"previous":"next"}ElementSibling`],p&&(p.classList.add(`${y}-${h}`),p=p[`${h==="prev"?"previous":"next"}ElementSibling`],p&&p.classList.add(`${y}-${h}-${h}`)))}function u(p,h,y){if(p=p%y,h=h%y,h===p+1)return"next";if(h===p-1)return"previous"}function c(p){const h=p.target.closest(Ze(e.params.pagination.bulletClass));if(!h)return;p.preventDefault();const y=yt(h)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===y)return;const A=u(e.realIndex,y,e.slides.length);A==="next"?e.slideNext():A==="previous"?e.slidePrev():e.slideToLoop(y)}else e.slideTo(y)}function m(){const p=e.rtl,h=e.params.pagination;if(a())return;let y=e.pagination.el;y=j(y);let A,I;const D=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,z=e.params.loop?Math.ceil(D/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(I=e.previousRealIndex||0,A=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(A=e.snapIndex,I=e.previousSnapIndex):(I=e.previousIndex||0,A=e.activeIndex||0),h.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const B=e.pagination.bullets;let S,P,L;if(h.dynamicBullets&&(o=Qt(B[0],e.isHorizontal()?"width":"height"),y.forEach(E=>{E.style[e.isHorizontal()?"width":"height"]=`${o*(h.dynamicMainBullets+4)}px`}),h.dynamicMainBullets>1&&I!==void 0&&(l+=A-(I||0),l>h.dynamicMainBullets-1?l=h.dynamicMainBullets-1:l<0&&(l=0)),S=Math.max(A-l,0),P=S+(Math.min(B.length,h.dynamicMainBullets)-1),L=(P+S)/2),B.forEach(E=>{const k=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(H=>`${h.bulletActiveClass}${H}`)].map(H=>typeof H=="string"&&H.includes(" ")?H.split(" "):H).flat();E.classList.remove(...k)}),y.length>1)B.forEach(E=>{const k=yt(E);k===A?E.classList.add(...h.bulletActiveClass.split(" ")):e.isElement&&E.setAttribute("part","bullet"),h.dynamicBullets&&(k>=S&&k<=P&&E.classList.add(...`${h.bulletActiveClass}-main`.split(" ")),k===S&&d(E,"prev"),k===P&&d(E,"next"))});else{const E=B[A];if(E&&E.classList.add(...h.bulletActiveClass.split(" ")),e.isElement&&B.forEach((k,H)=>{k.setAttribute("part",H===A?"bullet-active":"bullet")}),h.dynamicBullets){const k=B[S],H=B[P];for(let G=S;G<=P;G+=1)B[G]&&B[G].classList.add(...`${h.bulletActiveClass}-main`.split(" "));d(k,"prev"),d(H,"next")}}if(h.dynamicBullets){const E=Math.min(B.length,h.dynamicMainBullets+4),k=(o*E-o)/2-L*o,H=p?"right":"left";B.forEach(G=>{G.style[e.isHorizontal()?H:"top"]=`${k}px`})}}y.forEach((B,S)=>{if(h.type==="fraction"&&(B.querySelectorAll(Ze(h.currentClass)).forEach(P=>{P.textContent=h.formatFractionCurrent(A+1)}),B.querySelectorAll(Ze(h.totalClass)).forEach(P=>{P.textContent=h.formatFractionTotal(z)})),h.type==="progressbar"){let P;h.progressbarOpposite?P=e.isHorizontal()?"vertical":"horizontal":P=e.isHorizontal()?"horizontal":"vertical";const L=(A+1)/z;let E=1,k=1;P==="horizontal"?E=L:k=L,B.querySelectorAll(Ze(h.progressbarFillClass)).forEach(H=>{H.style.transform=`translate3d(0,0,0) scaleX(${E}) scaleY(${k})`,H.style.transitionDuration=`${e.params.speed}ms`})}h.type==="custom"&&h.renderCustom?(B.innerHTML=h.renderCustom(e,A+1,z),S===0&&r("paginationRender",B)):(S===0&&r("paginationRender",B),r("paginationUpdate",B)),e.params.watchOverflow&&e.enabled&&B.classList[e.isLocked?"add":"remove"](h.lockClass)})}function g(){const p=e.params.pagination;if(a())return;const h=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 y=e.pagination.el;y=j(y);let A="";if(p.type==="bullets"){let I=e.params.loop?Math.ceil(h/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&I>h&&(I=h);for(let D=0;D`}p.type==="fraction"&&(p.renderFraction?A=p.renderFraction.call(e,p.currentClass,p.totalClass):A=` / `),p.type==="progressbar"&&(p.renderProgressbar?A=p.renderProgressbar.call(e,p.progressbarFillClass):A=``),e.pagination.bullets=[],y.forEach(I=>{p.type!=="custom"&&(I.innerHTML=A||""),p.type==="bullets"&&e.pagination.bullets.push(...I.querySelectorAll(Ze(p.bulletClass)))}),p.type!=="custom"&&r("paginationRender",y[0])}function v(){e.params.pagination=Wi(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const p=e.params.pagination;if(!p.el)return;let h;typeof p.el=="string"&&e.isElement&&(h=e.el.querySelector(p.el)),!h&&typeof p.el=="string"&&(h=[...document.querySelectorAll(p.el)]),h||(h=p.el),!(!h||h.length===0)&&(e.params.uniqueNavElements&&typeof p.el=="string"&&Array.isArray(h)&&h.length>1&&(h=[...e.el.querySelectorAll(p.el)],h.length>1&&(h=h.find(y=>Ri(y,".swiper")[0]===e.el))),Array.isArray(h)&&h.length===1&&(h=h[0]),Object.assign(e.pagination,{el:h}),h=j(h),h.forEach(y=>{p.type==="bullets"&&p.clickable&&y.classList.add(...(p.clickableClass||"").split(" ")),y.classList.add(p.modifierClass+p.type),y.classList.add(e.isHorizontal()?p.horizontalClass:p.verticalClass),p.type==="bullets"&&p.dynamicBullets&&(y.classList.add(`${p.modifierClass}${p.type}-dynamic`),l=0,p.dynamicMainBullets<1&&(p.dynamicMainBullets=1)),p.type==="progressbar"&&p.progressbarOpposite&&y.classList.add(p.progressbarOppositeClass),p.clickable&&y.addEventListener("click",c),e.enabled||y.classList.add(p.lockClass)}))}function b(){const p=e.params.pagination;if(a())return;let h=e.pagination.el;h&&(h=j(h),h.forEach(y=>{y.classList.remove(p.hiddenClass),y.classList.remove(p.modifierClass+p.type),y.classList.remove(e.isHorizontal()?p.horizontalClass:p.verticalClass),p.clickable&&(y.classList.remove(...(p.clickableClass||"").split(" ")),y.removeEventListener("click",c))})),e.pagination.bullets&&e.pagination.bullets.forEach(y=>y.classList.remove(...p.bulletActiveClass.split(" ")))}s("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const p=e.params.pagination;let{el:h}=e.pagination;h=j(h),h.forEach(y=>{y.classList.remove(p.horizontalClass,p.verticalClass),y.classList.add(e.isHorizontal()?p.horizontalClass:p.verticalClass)})}),s("init",()=>{e.params.pagination.enabled===!1?x():(v(),g(),m())}),s("activeIndexChange",()=>{typeof e.snapIndex>"u"&&m()}),s("snapIndexChange",()=>{m()}),s("snapGridLengthChange",()=>{g(),m()}),s("destroy",()=>{b()}),s("enable disable",()=>{let{el:p}=e.pagination;p&&(p=j(p),p.forEach(h=>h.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),s("lock unlock",()=>{m()}),s("click",(p,h)=>{const y=h.target,A=j(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&A&&A.length>0&&!y.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&y===e.navigation.nextEl||e.navigation.prevEl&&y===e.navigation.prevEl))return;const I=A[0].classList.contains(e.params.pagination.hiddenClass);r(I===!0?"paginationShow":"paginationHide"),A.forEach(D=>D.classList.toggle(e.params.pagination.hiddenClass))}});const $=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=j(p),p.forEach(h=>h.classList.remove(e.params.pagination.paginationDisabledClass))),v(),g(),m()},x=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=j(p),p.forEach(h=>h.classList.add(e.params.pagination.paginationDisabledClass))),b()};Object.assign(e.pagination,{enable:$,disable:x,render:g,update:m,init:v,destroy:b})}function an(i){const{effect:e,swiper:t,on:s,setTranslate:r,setTransition:n,overwriteParams:o,perspective:l,recreateShadows:a,getEffectParams:d}=i;s("beforeInit",()=>{if(t.params.effect!==e)return;t.classNames.push(`${t.params.containerModifierClass}${e}`),l&&l()&&t.classNames.push(`${t.params.containerModifierClass}3d`);const c=o?o():{};Object.assign(t.params,c),Object.assign(t.originalParams,c)}),s("setTranslate",()=>{t.params.effect===e&&r()}),s("setTransition",(c,m)=>{t.params.effect===e&&n(m)}),s("transitionEnd",()=>{if(t.params.effect===e&&a){if(!d||!d().slideShadows)return;t.slides.forEach(c=>{c.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(m=>m.remove())}),a()}});let u;s("virtualUpdate",()=>{t.params.effect===e&&(t.slides.length||(u=!0),requestAnimationFrame(()=>{u&&t.slides&&t.slides.length&&(r(),u=!1)}))})}function ln(i,e){const t=Vi(e);return t!==e&&(t.style.backfaceVisibility="hidden",t.style["-webkit-backface-visibility"]="hidden"),t}function dn(i){let{swiper:e,duration:t,transformElements:s}=i;const{activeIndex:r}=e;if(e.params.virtualTranslate&&t!==0){let n=!1,o;o=s,o.forEach(l=>{Zs(l,()=>{if(n||!e||e.destroyed)return;n=!0,e.animating=!1;const a=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});e.wrapperEl.dispatchEvent(a)})})}}function cn(i){let{swiper:e,extendParams:t,on:s}=i;t({fadeEffect:{crossFade:!1}}),an({effect:"fade",swiper:e,on:s,setTranslate:()=>{const{slides:o}=e,l=e.params.fadeEffect;for(let a=0;a{const l=e.slides.map(a=>Vi(a));l.forEach(a=>{a.style.transitionDuration=`${o}ms`}),dn({swiper:e,duration:o,transformElements:l})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}const pn=`/** + * Swiper 11.2.3 + * Most modern mobile touch slider and framework with hardware accelerated transitions + * https://swiperjs.com + * + * Copyright 2014-2025 Vladimir Kharlampidi + * + * Released under the MIT License + * + * Released on: February 12, 2025 + */ + +/* FONT_START */ +@font-face { + font-family: 'swiper-icons'; + src: url('data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA'); + font-weight: 400; + font-style: normal; +} +/* FONT_END */ +:root { + --swiper-theme-color: #007aff; + /* + --swiper-preloader-color: var(--swiper-theme-color); + --swiper-wrapper-transition-timing-function: initial; + */ +} +: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; + /* Fix of Webkit flickering */ + 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: translate3d(0px, 0, 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; +} +/* Auto Height */ +.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; +} +/* 3D Effects */ +.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; +} +/* CSS Mode */ +.swiper-css-mode > .swiper-wrapper { + overflow: auto; + scrollbar-width: none; + /* For Firefox */ + -ms-overflow-style: none; + /* For Internet Explorer and Edge */ +} +.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); +} +/* Slide styles start */ +/* 3D Shadows */ +.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, +.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: rgba(0, 0, 0, 0.15); +} +.swiper-3d .swiper-slide-shadow-left { + background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)); +} +.swiper-3d .swiper-slide-shadow-right { + background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)); +} +.swiper-3d .swiper-slide-shadow-top { + background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)); +} +.swiper-3d .swiper-slide-shadow-bottom { + background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)); +} +.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(0deg); + } + 100% { + transform: rotate(360deg); + } +} +/* Slide styles end */ +.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-navigation-top-offset: 50%; + --swiper-navigation-sides-offset: 10px; + --swiper-navigation-color: var(--swiper-theme-color); + */ +} +.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: 0.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-next, +.swiper-rtl .swiper-button-prev { + right: var(--swiper-navigation-sides-offset, 10px); + left: auto; +} +.swiper-button-lock { + display: none; +} +/* Navigation font start */ +.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'; +} +/* Navigation font end */ +:root { + /* + --swiper-pagination-color: var(--swiper-theme-color); + --swiper-pagination-left: auto; + --swiper-pagination-right: 8px; + --swiper-pagination-bottom: 8px; + --swiper-pagination-top: auto; + --swiper-pagination-fraction-color: inherit; + --swiper-pagination-progressbar-bg-color: rgba(0,0,0,0.25); + --swiper-pagination-progressbar-size: 4px; + --swiper-pagination-bullet-size: 8px; + --swiper-pagination-bullet-width: 8px; + --swiper-pagination-bullet-height: 8px; + --swiper-pagination-bullet-border-radius: 50%; + --swiper-pagination-bullet-inactive-color: #000; + --swiper-pagination-bullet-inactive-opacity: 0.2; + --swiper-pagination-bullet-opacity: 1; + --swiper-pagination-bullet-horizontal-gap: 4px; + --swiper-pagination-bullet-vertical-gap: 6px; + */ +} +.swiper-pagination { + position: absolute; + text-align: center; + transition: 300ms opacity; + transform: translate3d(0, 0, 0); + z-index: 10; +} +.swiper-pagination.swiper-pagination-hidden { + opacity: 0; +} +.swiper-pagination-disabled > .swiper-pagination, +.swiper-pagination.swiper-pagination-disabled { + display: none !important; +} +/* Common Styles */ +.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%; +} +/* Bullets */ +.swiper-pagination-bullets-dynamic { + overflow: hidden; + font-size: 0; +} +.swiper-pagination-bullets-dynamic .swiper-pagination-bullet { + transform: scale(0.33); + position: relative; +} +.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active { + transform: scale(1); +} +.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main { + transform: scale(1); +} +.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev { + transform: scale(0.66); +} +.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev { + transform: scale(0.33); +} +.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next { + transform: scale(0.66); +} +.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next { + transform: scale(0.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, 0.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(0px, -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: 200ms transform, + 200ms 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: translateX(-50%); + white-space: nowrap; +} +.swiper-horizontal > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet, +.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet { + transition: 200ms transform, + 200ms left; +} +.swiper-horizontal.swiper-rtl > .swiper-pagination-bullets-dynamic .swiper-pagination-bullet { + transition: 200ms transform, + 200ms right; +} +/* Fraction */ +.swiper-pagination-fraction { + color: var(--swiper-pagination-fraction-color, inherit); +} +/* Progress */ +.swiper-pagination-progressbar { + background: var(--swiper-pagination-progressbar-bg-color, rgba(0, 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; +} +:root { + /* + --swiper-scrollbar-border-radius: 10px; + --swiper-scrollbar-top: auto; + --swiper-scrollbar-bottom: 4px; + --swiper-scrollbar-left: auto; + --swiper-scrollbar-right: 4px; + --swiper-scrollbar-sides-offset: 1%; + --swiper-scrollbar-bg-color: rgba(0, 0, 0, 0.1); + --swiper-scrollbar-drag-bg-color: rgba(0, 0, 0, 0.5); + --swiper-scrollbar-size: 4px; + */ +} +.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, 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, 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; +} +/* Zoom container styles start */ +.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; +} +/* Zoom container styles end */ +.swiper-slide-zoomed { + cursor: move; + touch-action: none; +} +/* a11y */ +.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 { + pointer-events: auto; +} +.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: 0px; + width: 100%; + height: 100%; + opacity: 0.6; + z-index: 0; +} +.swiper-cube .swiper-cube-shadow:before { + content: ''; + background: #000; + position: absolute; + left: 0; + top: 0; + bottom: 0; + right: 0; + filter: blur(50px); +} +.swiper-cube .swiper-slide-next + .swiper-slide { + pointer-events: auto; + visibility: visible; +} +/* Cube slide shadows start */ +.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; +} +/* Cube slide shadows end */ +.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; +} +/* Flip slide shadows start */ +.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; +} +/* Flip slide shadows end */ +.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; +} +`;/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const un={CHILD:2},hn=i=>(...e)=>({_$litDirective$:i,values:e});class fn{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,s){this._$Ct=e,this._$AM=t,this._$Ci=s}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}}/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */class Jt extends fn{constructor(e){if(super(e),this.it=N,e.type!==un.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===N||e==null)return this._t=void 0,this.it=e;if(e===we)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;const t=[e];return t.raw=t,this._t={_$litType$:this.constructor.resultType,strings:t,values:[]}}}Jt.directiveName="unsafeHTML",Jt.resultType=1;const ot=hn(Jt);var mn=Object.defineProperty,gn=Object.getOwnPropertyDescriptor,Xi=(i,e,t,s)=>{for(var r=s>1?void 0:s?gn(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&mn(e,t,r),r};let xt=class extends T{constructor(){super(...arguments),this.items=[]}firstUpdated(){var r,n,o,l;const i=(r=this.shadowRoot)==null?void 0:r.querySelector(".swiper"),e=(n=this.shadowRoot)==null?void 0:n.querySelector(".swiper-pagination"),t=(o=this.shadowRoot)==null?void 0:o.querySelector(".swiper-button-next"),s=(l=this.shadowRoot)==null?void 0:l.querySelector(".swiper-button-prev");if(!i||!e||!t||!s){console.error("Required Swiper elements not found");return}this.swiper=new F(i,{modules:[cn,nn,on],loop:!0,effect:"fade",pagination:{el:e,clickable:!0,renderBullet:(a,d)=>``},navigation:{nextEl:t,prevEl:s},on:{slideChange:()=>{e.querySelectorAll("button").forEach((d,u)=>{var c;d.setAttribute("aria-selected",u===((c=this.swiper)==null?void 0:c.realIndex)?"true":"false")})}}}),requestAnimationFrame(()=>{const a=Math.floor(this.clientWidth/1.5);this.style.setProperty("--carousel-img-height",`${a}px`)})}render(){return w` +
    + + +
    + +
    +
    + +
    + `}};xt.styles=[_`${C(pn)}`,_` + .img{ + aspect-ratio: 3/2; + height: auto; + } + .img img{ + width: 100%; + height: 100%; + object-fit: cover; + } + .caption p{ + font: var(--iu-f-0); + background: #fff; + margin-bottom: 0; + margin-top: 1.75rem; + height: 100%; + } + :host .swiper-button-prev, :host .swiper-button-next{ + width: 50%; + height: var(--carousel-img-height); + top: 0; + margin-top: 0; + } + :host .swiper-button-prev::after, :host .swiper-button-next::after{ + content: none; + } + :host .swiper-pagination{ + display: flex; + gap: 0.625rem; + position: absolute; + top: calc(var(--carousel-img-height) + 0.625rem); + } + :host .swiper-pagination .swiper-pagination-bullet{ + width:100%; + border-radius: 0; + height: 1px; + margin: 0; + background: var(--iu-color-grey-300); + opacity: 1; + } + :host .swiper-pagination .swiper-pagination-bullet-active{ + background: var(--iu-color-black); + height: 3px; + } + :host .swiper-slide{ + opacity: 0; + } + :host .swiper-slide-active, :host .swiper.slide-duplicate-active{ + opacity: 1; + } + `];Xi([f({type:Array})],xt.prototype,"items",2);xt=Xi([O("iu-carousel")],xt);var vn=Object.defineProperty,wn=Object.getOwnPropertyDescriptor,Ot=(i,e,t,s)=>{for(var r=s>1?void 0:s?wn(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&vn(e,t,r),r};let Le=class extends T{constructor(){super(...arguments),this.checked=!1,this.label="",this.name=""}toggleChecked(){this.checked=!this.checked,this.dispatchEvent(new CustomEvent("change",{detail:{checked:this.checked},bubbles:!0,composed:!0}))}handleKeyDown(i){(i.key===" "||i.key==="Enter")&&(i.preventDefault(),this.toggleChecked())}render(){return w` + + ${this.label?w`${ot(this.label)}`:""} + + `}};Le.styles=_` + :host { + display: inline-flex; + align-items: start; + cursor: pointer; + user-select: none; + margin-bottom: var(--iu-spacing-5); + } + + .checkbox { + width: 18px; + height: 18px; + border: 1px solid var(--iu-color-grey-300); + border-radius: 0; + display: flex; + align-items: center; + justify-content: center; + flex-shrink: 0; + position: relative; + } + + .checkbox::after{ + content: ''; + background-image: url("data:image/svg+xml,%3Csvg fill='none' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 9'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='m4.022 7.313-2.67-2.67-.703.711 3.375 3.375 7.328-7.374-.704-.71-6.626 6.668Z' fill='%23fff'/%3E%3C/svg%3E"); + position: absolute; + background-size: contain; + background-repeat: no-repeat; + top: 50%; + left: 50%; + transform: translateX(-50%) translateY(-50%); + width: 14px; + height: 11px; + } + + .checkbox[aria-checked="true"] { + background: var(--iu-color-black); + border-color: var(--iu-color-black); + } + + .checkbox[aria-checked="true"]::after { + } + + .label { + margin-left: 14px; + font: var(--iu-fs-1); + color: var(--iu-color-black); + a{ + color: var(--iu-color-black) + } + } + + /* Focus styles */ + :host(:focus-within) .checkbox { + outline: 0; + } + `;Ot([f({type:Boolean,reflect:!0})],Le.prototype,"checked",2);Ot([f({type:String})],Le.prototype,"label",2);Ot([f({type:String})],Le.prototype,"name",2);Le=Ot([O("iu-checkbox")],Le);var bn=Object.defineProperty,yn=Object.getOwnPropertyDescriptor,Ge=(i,e,t,s)=>{for(var r=s>1?void 0:s?yn(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&bn(e,t,r),r};let ne=class extends T{constructor(){super(...arguments),this.name="#",this.contacts=[]}isExternalLink(i){try{const t=new URL(i,window.location.href).hostname;return!(t==="iuav.it"||t==="www.iuav.it")}catch{return!1}}checkLinkType(){if(this.href){const i=this.isExternalLink(this.href);this.classList.toggle("external",i),this.classList.toggle("internal",!i)}}checkCardSpan(){this.description!=null&&this.classList.add("span-2")}firstUpdated(){super.firstUpdated(),this.checkCardSpan(),this.checkLinkType()}render(){return w` +
    +
    + ${this.href?w`${this.name}`:w`${this.name}`} + ${this.sub&&w`${this.sub}`} +
    +
    + ${this.contacts&&w` + + ${this.description&&w` +

    ${this.description}

    + `} + `} +
    +
    + `}};ne.styles=_` + :host{ + display: flex; + align-items: flex-end; + aspect-ratio: 1/1; + background: var(--iu-color-black); + color: var(--iu-color-yellow-100); + padding: var(--iu-grid-gutter); + } + :host(.external) a svg{ + transform: rotate(-45deg); + } + :host(.span-2){ + aspect-ratio: unset; + } + @media ${C(M.xl)} { + :host(.span-2){ + aspect-ratio: 2/0.975; + } + } + div{ + display: flex; + flex-direction: column; + width: 100%; + height: 100%; + } + header{ + flex-grow: 1; + } + header span{ + display: block; + } + .title{ + font: var(--iu-f-lg); + } + .sub{ + margin-top: 1rem; + } + header a{ + display: flex; + text-decoration: none; + color: var(--iu-color-yellow-100); + } + header a span{ + flex-grow: 1; + } + header a svg{ + width: 40px; + flex-shrink: 0; + margin-top: 10px; + } + @media ${C(M.lg)} { + :host(.span-2) footer{ + display: grid; + grid-template-columns: repeat(2,1fr); + } + } + footer ul{ + list-style-type: none; + margin: 0; + padding: 0; + } + footer ul li a{ + color: var(--iu-color-yellow-100); + } + footer ul li a:hover{ + text-decoration: none; + } + .description{ + margin-top: var(--iu-spacing-6); + } + @media ${C(M.xl)} { + .description{ + margin-top: 0; + } + } + .description p{ + margin: 0; + } + `;Ge([f()],ne.prototype,"href",2);Ge([f()],ne.prototype,"name",2);Ge([f()],ne.prototype,"sub",2);Ge([f({type:Array})],ne.prototype,"contacts",2);Ge([f()],ne.prototype,"description",2);ne=Ge([O("iu-contact-card")],ne);var xn=Object.defineProperty,An=Object.getOwnPropertyDescriptor,Qi=(i,e,t,s)=>{for(var r=s>1?void 0:s?An(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&xn(e,t,r),r};let At=class extends T{constructor(){super(...arguments),this.heading="Contatti"}render(){return w` + + + `}};At.styles=_` + :host{ + display: block; + background: var(--iu-color-yellow-100); + padding-top: var(--iu-spacing-block-sm); + padding-bottom: var(--iu-spacing-block-sm); + } + iu-heading{ + --iu-heading-link-color: var(--iu-color-yellow-400); + } + `;Qi([f()],At.prototype,"heading",2);At=Qi([O("iu-contacts")],At);var Sn=Object.defineProperty,$n=Object.getOwnPropertyDescriptor,Ki=(i,e,t,s)=>{for(var r=s>1?void 0:s?$n(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&Sn(e,t,r),r};let St=class extends T{constructor(){super(...arguments),this.heading=""}render(){return w` + ${this.heading&&w`

    ${this.heading}

    `} + + + + `}};St.styles=_` + :host{ + display: block; + margin-bottom: var(--iu-spacing-block-sm); + } + iu-paragraph{ + margin-bottom: var(--iu-spacing-1); + } + iu-paragraph p{ + font-weight: bold; + } + iu-container{ + display: grid; + grid-template-columns: repeat(12, minmax(0, 1fr)); + gap: var(--iu-grid-gutter); + } + ::slotted(iu-contact-card){ + grid-column: span 12 / span 12; + } + @media ${C(M.md)} { + ::slotted(iu-contact-card){ + grid-column: span 6 / span 6; + } + ::slotted(.span-2){ + grid-column: span 12 / span 12; + } + } + @media ${C(M.lg)} { + ::slotted(iu-contact-card){ + grid-column: span 4 / span 4; + } + ::slotted(.span-2){ + grid-column: span 6 / span 6; + } + } + @media ${C(M.xl)} { + ::slotted(iu-contact-card){ + grid-column: span 3 / span 3; + } + } + iu-heading{ + --iu-heading-link-color: var(--iu-color-yellow-400); + } + `;Ki([f()],St.prototype,"heading",2);St=Ki([O("iu-contacts-cards")],St);var En=Object.defineProperty,Pn=Object.getOwnPropertyDescriptor,Q=(i,e,t,s)=>{for(var r=s>1?void 0:s?Pn(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&En(e,t,r),r};let Y=class extends T{constructor(){super(...arguments),this.weekday="",this.day="",this.time="",this.deadline="",this.place="",this.href="",this.name=""}render(){return w` + +
    +
    + ${this.weekday} + ${this.day} +
    +
    +
    + ${this.time==""?"Tutto il giorno":this.time} + ${this.deadline&&w`Fino al ${this.deadline}`} +
    + ${this.place} +
    +
    + ${this.name} + ${this.subtitle&&w`${this.subtitle}`} + ${this.excerpt&&w`${this.excerpt}`} +
    +
    +
    + `}};Y.styles=_` + :host{ + display: block; + --iu-spacing-block: 0; + } + .event{ + padding-top: var(--iu-spacing-2); + padding-bottom: var(--iu-spacing-2); + border-top: 1px solid var(--iu-color-grey-200); + border-bottom: 1px solid var(--iu-color-grey-200); + } + @media ${C(M.md)} { + .event{ + display: grid; + grid-template-columns: repeat(12, 1fr); + gap: var(--iu-grid-gutter); + } + } + .date{ + grid-column: span 2 / span 2; + font-weight: bold; + font: var(--iu-f-md); + } + @media ${C(M.lg)} { + .date span{ + display: block; + } + } + .day{ + margin-left: var(--iu-spacing-0); + } + @media ${C(M.lg)} { + .day{ + margin-left: 0; + } + } + .info{ + grid-column: span 4 / span 4; + display: flex; + flex-direction: column; + justify-content: space-between; + font: var(--iu-f-md); + } + .info span{ + display: block; + } + .deadline{ + color: var(--iu-color-grey-300); + } + .place{ + font: var(--iu-f-1); + } + .content{ + grid-column: span 6 / span 6; + } + .title{ + font-weight: bold; + font: var(--iu-f-md); + margin-bottom: 0; + text-decoration: none; + color: var(--iu-color-black); + } + .subtitle{ + font-weight: bold; + display: block; + margin-top: var(--iu-spacing-0); + } + .excerpt{ + display: block; + margin-top: var(--iu-spacing-2); + } + `;Q([f()],Y.prototype,"weekday",2);Q([f()],Y.prototype,"day",2);Q([f()],Y.prototype,"time",2);Q([f()],Y.prototype,"deadline",2);Q([f()],Y.prototype,"place",2);Q([f()],Y.prototype,"href",2);Q([f()],Y.prototype,"name",2);Q([f()],Y.prototype,"subtitle",2);Q([f()],Y.prototype,"excerpt",2);Y=Q([O("iu-event")],Y);var Tn=Object.defineProperty,Cn=Object.getOwnPropertyDescriptor,Ve=(i,e,t,s)=>{for(var r=s>1?void 0:s?Cn(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&Tn(e,t,r),r};let oe=class extends T{constructor(){super(...arguments),this.heading="",this.link="",this.href="",this.img="",this.text=""}render(){return w` + + +
    + ${this.text&&w`
    ${ot(this.text)}
    `} +
    + `}};oe.styles=_` + :host{ + display: block; + background: var(--iu-color-black); + color: #fff; + padding-top: 2.5rem /* 40px */; + padding-bottom: 2.5rem /* 40px */; + margin-bottom: 4.5rem; + } + :host iu-heading::part(title){ + color: #fff; + } + :host iu-heading::part(link){ + color: var(--iu-color-grey-400); + } + ::slotted(p){ + font-size: 1.625rem !important; + line-height: 2.1875rem !important; + color: #fff !important; + } + .img{ + aspect-ratio: 3/2; + margin-bottom: 2rem; + overflow: hidden; + } + @media ${C(M.md)} { + .img{ + aspect-ratio: 2/1; + } + } + @media ${C(M.xl)} { + .img{ + aspect-ratio: 21/9; + } + } + .img img{ + width: 100%; + } + .text *{ + font: var(--iu-f-md); + } + `;Ve([f()],oe.prototype,"heading",2);Ve([f()],oe.prototype,"link",2);Ve([f()],oe.prototype,"href",2);Ve([f()],oe.prototype,"img",2);Ve([f({type:String,converter:i=>{if(!i)return"";const t=new DOMParser().parseFromString(i,"text/html");return(r=>{const n=["p","b","i","em","strong","span","br"];return Array.from(r.body.getElementsByTagName("*")).forEach(o=>{n.includes(o.tagName.toLowerCase())||o.remove(),Array.from(o.attributes).forEach(l=>{l.name!=="class"&&o.removeAttribute(l.name)})}),r.body.innerHTML})(t)}})],oe.prototype,"text",2);oe=Ve([O("iu-featured-content")],oe);var _n=Object.defineProperty,On=Object.getOwnPropertyDescriptor,at=(i,e,t,s)=>{for(var r=s>1?void 0:s?On(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&_n(e,t,r),r};let ye=class extends T{constructor(){super(...arguments),this.label="Download",this.columns=1,this.nested=!1,this.items=[]}render(){return w` + +
    + ${this.label&&w`

    ${this.label}

    `} +
      + ${this.items.map(i=>w` +
    • + `)} +
    +
    +
    + `}};ye.styles=_` + :host{ + display: block; + margin-bottom: var(--iu-spacing-block-sm); + } + :host p{ + font-weight: bold; + } + ul{ + list-style-type: none; + padding: 0; + margin: 0; + display: flex; + flex-wrap: wrap; + gap: 0.9375rem + } + `;at([f()],ye.prototype,"label",2);at([f({type:Number})],ye.prototype,"columns",2);at([f({type:Boolean,reflect:!0})],ye.prototype,"nested",2);at([f({type:Array})],ye.prototype,"items",2);ye=at([O("iu-files-list")],ye);var Mn=Object.defineProperty,zn=Object.getOwnPropertyDescriptor,pi=(i,e,t,s)=>{for(var r=s>1?void 0:s?zn(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&Mn(e,t,r),r};let et=class extends T{constructor(){super(...arguments),this.text="",this.href=""}render(){return w` +
  • ${this.text}
  • + `}};et.styles=_` + :host{ + display:block; + } + li{ + width: 100%; + } + `;pi([f()],et.prototype,"text",2);pi([f()],et.prototype,"href",2);et=pi([O("iu-files-list-item")],et);var Ln=Object.getOwnPropertyDescriptor,kn=(i,e,t,s)=>{for(var r=s>1?void 0:s?Ln(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=o(r)||r);return r};let ei=class extends T{constructor(){super(...arguments),this.currentScrollPos=0,this.prevScrollPos=0,this.handleScroll=()=>{this.currentScrollPos=window.scrollY,this.prevScrollPos>0&&this.prevScrollPos=this.currentScrollPos&&this.classList.remove("is-visible"),this.prevScrollPos=this.currentScrollPos}}connectedCallback(){super.connectedCallback(),window.addEventListener("scroll",this.handleScroll)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("scroll",this.handleScroll)}render(){return w` + + + + `}};ei.styles=_` + :host{ + transition: all .2s ease; + transform: translateY(0) translateX(-2px); + position: fixed; + bottom: 2.5rem; + left: 2.5rem; + z-index: 20; + display: none; + mix-blend-mode: difference; + } + @media ${C(M.md)} { + :host{ + display: block; + } + } + :host(.is-visible){ + transform: translateY(0) translateX(-50%); + left: 0; + } + a svg{ + width: 40px; + display: block; + } + `;ei=kn([O("iu-floating-logo")],ei);var In=Object.defineProperty,Dn=Object.getOwnPropertyDescriptor,Mt=(i,e,t,s)=>{for(var r=s>1?void 0:s?Dn(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&In(e,t,r),r};let ke=class extends T{constructor(){super(),this.fields=[],this.formData={},this.fields.forEach(i=>{this.formData[i.name]=""})}handleInput(i){const e=i.target;this.formData={...this.formData,[e.name]:e.value}}handleSubmit(i){i.preventDefault(),console.log("Form Data:",this.formData),this.dispatchEvent(new CustomEvent("form-submit",{detail:this.formData,bubbles:!0,composed:!0}))}updateSlottedElements(){this.slottedElements&&this.slottedElements.forEach(i=>{i instanceof HTMLElement&&i.setAttribute("nested","true")})}firstUpdated(){super.firstUpdated(),this.updateSlottedElements()}render(){const i=this.slottedElements&&this.slottedElements.length>0;return w` + +
    + + ${!i&&this.fields.length>0?this.fields.map(e=>w` +
    + + +
    + `):""} + +
    +
    + `}};ke.styles=_` + input { + padding: 8px; + font-size: 1rem; + width: 100%; + box-sizing: border-box; + } + div{ + margin-bottom: 20px; + } + label{ + font-weight: bold; + margin-bottom: 4px; + display: block; + } + button { + position: relative; + display: inline-flex; + align-items: center; + background: var(--iu-color-grey-100); + padding: 0.375rem 0.75rem; + color: var(--iu-color-black); + text-decoration: none; + border: 0; + font: var(--iu-f-sm); + cursor: pointer; + margin-top: 20px; + &:hover{ + background: var(--iu-color-black); + color: var(--iu-color-white); + } + margin-top: var(--iu-spacing-4); + } + ::slotted(iu-heading){ + --iu-heading-margin-top: var(--iu-spacing-7); + } + `;Mt([f({type:Array})],ke.prototype,"fields",2);Mt([Es()],ke.prototype,"formData",2);Mt([rt()],ke.prototype,"slottedElements",2);ke=Mt([O("iu-form")],ke);var Bn=Object.defineProperty,Hn=Object.getOwnPropertyDescriptor,Ji=(i,e,t,s)=>{for(var r=s>1?void 0:s?Hn(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&Bn(e,t,r),r};let $t=class extends T{render(){return w` + + + + + ${this.colophon&&w` + + + + `} + `}};$t.styles=_` + :host{ + display: block; + position: relative; + background: var(--iu-color-black); + color: #fff; + padding-bottom: var(--iu-spacing-6); + font: var(--iu-f-0); + } + @media ${C(M.md)} { + :host{ + font: var(--iu-f-1); + } + } + .logo{ + display: flex; + margin-bottom: var(--iu-spacing-7); + padding-top: var(--iu-spacing-5); + } + .logo p{ + font: var(--iu-f-2); + margin: 0; + transform: translateY(-0.5rem); + } + .logo p span{ + display: block; + } + .logo svg{ + width: 1.875rem; + margin-right: var(--iu-spacing-2); + } + @media ${C(M.md)} { + .logo{ + padding-top: var(--iu-spacing-3); + } + .logo svg{ + display: none; + } + .logo p{ + font: var(--iu-f-1); + font-weight: bold; + transform: translateY(0); + } + .logo p span{ + display: inline; + } + } + .nav{ + margin-bottom: 0; + } + .colophon{ + border-top: 1px solid #fff; + margin-top: var(--iu-spacing-7); + margin-bottom: 0; + padding-top: var(--iu-spacing-3); + } + `;Ji([f({type:Boolean})],$t.prototype,"colophon",2);$t=Ji([O("iu-footer")],$t);var Nn=Object.defineProperty,jn=Object.getOwnPropertyDescriptor,es=(i,e,t,s)=>{for(var r=s>1?void 0:s?jn(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&Nn(e,t,r),r};let Et=class extends T{render(){return w` + ${this.heading&&w`

    ${this.heading}

    `} + + `}};Et.styles=_` + :host{ + display: block; + color: #fff; + } + p{ + font: var(--iu-f-0); + margin: 0; + } + @media ${C(M.md)} { + p{ + font: var(--iu-f-1); + } + } + ::slotted(ul){ + margin: 0; + list-style-type: none; + padding: 0; + } + `;es([f()],Et.prototype,"heading",2);Et=es([O("iu-footer-column")],Et);var Gn=Object.defineProperty,Vn=Object.getOwnPropertyDescriptor,Re=(i,e,t,s)=>{for(var r=s>1?void 0:s?Vn(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&Gn(e,t,r),r};let ae=class extends T{constructor(){super(...arguments),this.columns=1,this.inline=!1}isNested(){let i=this.parentNode;for(;i;){if(i instanceof HTMLElement&&i.tagName==="IU-CONTAINER")return!0;i instanceof ShadowRoot?i=i.host:i=i.parentNode}return!1}hasColumns(){this.classList.add("columns"),this.style.setProperty("--iu-container-columns",this.columns.toString()),this.columnsMd&&(this.classList.add("columns"),this.style.setProperty("--iu-container-columns-md",this.columnsMd.toString())),this.columnsLg&&(this.classList.add("columns"),this.style.setProperty("--iu-container-columns-lg",this.columnsLg.toString())),this.columnsXl&&(this.classList.add("columns"),this.style.setProperty("--iu-container-columns-xl",this.columnsXl.toString()))}connectedCallback(){super.connectedCallback(),this.hasColumns()}render(){return w` + + `}};ae.styles=_` + :host{ + display: block; + padding-left: var(--iu-grid-gutter); + padding-right: var(--iu-grid-gutter); + margin-left: var(--iu-grid-offset); + } + :host(.columns){ + margin-bottom: var(--iu-spacing-block); + } + @media ${C(M.md)} { + :host{ + padding-left: 0; + padding-right: 0; + width: calc(100% - var(--iu-grid-offset) - var(--iu-grid-gutter)); + } + } + @media ${C(M.xxl)} { + :host{ + max-width: var(--iu-screens-2xl); + margin-left: max(var(--iu-grid-offset), calc((100vw - var(--iu-screens-2xl))/2)); + } + } + :host([nested]){ + margin-left: 0; + width: 100%; + } + :host(.columns){ + display: grid; + grid-template-columns: repeat(12, 1fr); + grid-column-gap: var(--iu-grid-gutter); + row-gap: var(--iu-spacing-7); + } + :host(.columns) ::slotted(*){ + // grid-column: span calc(12 / var(--iu-container-columns, 1)); + grid-column: span 12; + } + @media ${C(M.md)} { + :host(.columns) ::slotted(*){ + grid-column: span calc(12 / var(--iu-container-columns-md, var(--iu-container-columns, 1))); + } + } + @media ${C(M.lg)} { + :host(.columns) ::slotted(*){ + grid-column: span calc(12 / var(--iu-container-columns-lg, var(--iu-container-columns-md, var(--iu-container-columns, 1)))); + + } + } + @media ${C(M.xl)} { + :host(.columns) ::slotted(*){ + grid-column: span calc(12 / var(--iu-container-columns-xl, var(--iu-container-columns-lg, var(--iu-container-columns-md, var(--iu-container-columns, 1))))); + } + } + :host([inline]){ + display: block; + } + `;Re([f({type:Number})],ae.prototype,"columns",2);Re([f({type:Number,attribute:"columns-md"})],ae.prototype,"columnsMd",2);Re([f({type:Number,attribute:"columns-lg"})],ae.prototype,"columnsLg",2);Re([f({type:Number,attribute:"columns-xl"})],ae.prototype,"columnsXl",2);Re([f({type:Boolean,reflect:!0})],ae.prototype,"inline",2);ae=Re([O("iu-container")],ae);var Rn=Object.defineProperty,Fn=Object.getOwnPropertyDescriptor,he=(i,e,t,s)=>{for(var r=s>1?void 0:s?Fn(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&Rn(e,t,r),r};let W=class extends T{constructor(){super(...arguments),this.sm=12}updateSlottedElements(){this.slotElement.assignedElements({flatten:!0}).forEach(e=>{e instanceof HTMLElement&&(console.log("test"),e.setAttribute("nested","true"))})}firstUpdated(){super.firstUpdated(),this.updateSlottedElements()}updated(i){["sm","md","lg","xl"].forEach(t=>{if(i.has(t)){const s=this[t];this.style.setProperty(`--column-span-${t}`,(s==null?void 0:s.toString())||"")}}),this.sticky&&this.top&&this.style.setProperty("--column-sticky-top",`${Math.round(this.top/16)}rem`),this.sticky&&this.top}render(){return w` + + `}};W.styles=_` + :host{ + display: block; + grid-column: span var(--column-span-sm, 1); + } + @media ${C(M.md)} { + :host{ + grid-column: span var(--column-span-md, var(--column-span-sm, 1)); + } + } + @media ${C(M.lg)} { + :host{ + grid-column: span var(--column-span-lg, var(--column-span-md, var(--column-span-sm, 1))); + } + } + @media ${C(M.xl)} { + :host{ + grid-column: span var(--column-span-xl, var(--column-span-lg, var(--column-span-md, var(--column-span-sm, 1)))); + } + :host([sticky]){ + position: sticky; + top: var(--column-sticky-top, 0); + align-self: start; + } + } + `;he([f({type:Number})],W.prototype,"sm",2);he([f({type:Number})],W.prototype,"md",2);he([f({type:Number})],W.prototype,"lg",2);he([f({type:Number})],W.prototype,"xl",2);he([f({type:Boolean})],W.prototype,"sticky",2);he([f({type:Number})],W.prototype,"top",2);he([st("slot")],W.prototype,"slotElement",2);W=he([O("iu-column")],W);var Yn=Object.getOwnPropertyDescriptor,Un=(i,e,t,s)=>{for(var r=s>1?void 0:s?Yn(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=o(r)||r);return r};let ti=class extends T{render(){return w` + + `}};ti.styles=_` + :host{ + display: block; + margin-bottom: var(--iu-spacing-block); + } + `;ti=Un([O("iu-group")],ti);var qn=Object.defineProperty,Zn=Object.getOwnPropertyDescriptor,Ee=(i,e,t,s)=>{for(var r=s>1?void 0:s?Zn(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&qn(e,t,r),r};let K=class extends T{constructor(){super(...arguments),this.label="",this.type="text",this.name="",this.placeholder="",this.value=""}handleInput(i){const e=i.target;this.value=e.value,this.dispatchEvent(new CustomEvent("input-change",{detail:{name:this.name,value:this.value},bubbles:!0,composed:!0}))}render(){return w` +
    + +
    + +
    + ${this.helper&&w`${this.helper}`} +
    + `}};K.styles=_` + :host { + display: block; + } + .input-group{ + margin-bottom: var(--iu-spacing-4); + } + label { + font-weight: bold; + display: block; + margin-bottom: var(--iu-spacing-0); + } + .input{ + border-top: 1px solid var(--iu-color-grey-200); + border-bottom: 1px solid var(--iu-color-grey-200); + } + .input:has(+ .helper){ + margin-bottom: var(--iu-spacing-0); + } + .helper{ + font: var(--iu-f-0); + color: var(--iu-color-grey-500); + } + input { + width: 100%; + height: 2.25rem; + padding: 8px 0; + font-size: 1rem; + border: 0; + color: var(--iu-color-grey-300); + box-sizing: border-box; + } + input::placeholder{ + color: var(--iu-color-grey-300); + } + .input:has(input:focus) { + border-top: 1px solid var(--iu-color-black); + border-bottom: 1px solid var(--iu-color-black); + } + input:focus{ + outline: 0; + } + `;Ee([f({type:String})],K.prototype,"label",2);Ee([f({type:String})],K.prototype,"type",2);Ee([f({type:String})],K.prototype,"name",2);Ee([f({type:String})],K.prototype,"placeholder",2);Ee([f({type:String})],K.prototype,"value",2);Ee([f({type:String})],K.prototype,"helper",2);K=Ee([O("iu-input")],K);var Wn=Object.defineProperty,Xn=Object.getOwnPropertyDescriptor,lt=(i,e,t,s)=>{for(var r=s>1?void 0:s?Xn(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&Wn(e,t,r),r};let xe=class extends T{constructor(){super(...arguments),this.label="Menu principale",this.open=!1,this.secondaryNavItems=[],this.secondaryNavLabel="Menu secondario",this.handleMenuToggle=()=>{this.open=!this.open,this.requestUpdate()}}connectedCallback(){super.connectedCallback(),window.addEventListener("toggle-mobile-menu",this.handleMenuToggle)}disconnectedCallback(){window.removeEventListener("toggle-mobile-menu",this.handleMenuToggle),super.disconnectedCallback()}render(){return w` + ${this.secondaryNavItems.length>0?w` + + `:""} + + `}};xe.styles=_` + :host { + position: fixed; + display: none; + left: 0; + height: calc(100dvh - 50px); + width: 100%; + max-width: 48rem; + background: var(--iu-color-white); + top: 50px; + z-index: 50; + overflow: auto; + } + @media ${C(M.md)} { + :host{ + width: calc((100% - var(--iu-grid-offset)) - var(--iu-grid-gutter)); + } + } + :host([open]){ + display: block; + } + /* fallback if event listener doesn't work */ + @media ${C(M.xl)} { + :host([open]){ + display: none; + } + } + ul{ + list-style-type: none; + padding: 0; + margin: 0; + } + .secondary-nav{ + background: var(--iu-color-black); + ul{ + padding-top: var(--iu-spacing-1); + padding-bottom: var(--iu-spacing-2); + } + li:not(:last-child){ + margin-bottom: var(--iu-spacing-0); + } + a{ + color: var(--iu-color-white); + text-decoration: none; + padding: 0 var(--iu-grid-gutter); + } + } + `;lt([f({type:String})],xe.prototype,"label",2);lt([f({type:Boolean,reflect:!0})],xe.prototype,"open",2);lt([f({type:Array,attribute:"secondary-nav-items"})],xe.prototype,"secondaryNavItems",2);lt([f({type:String,attribute:"secondary-nav-label"})],xe.prototype,"secondaryNavLabel",2);xe=lt([O("iu-mobile-menu")],xe);var Qn=Object.defineProperty,Kn=Object.getOwnPropertyDescriptor,dt=(i,e,t,s)=>{for(var r=s>1?void 0:s?Kn(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&Qn(e,t,r),r};let Ae=class extends T{constructor(){super(...arguments),this.href="",this.text="",this.items=[],this.isToggled=!1,this.hasSlotted=!1}handleSlotChange(){this.hasSlotted=!!(this.slottedElements&&this.slottedElements.length>0),this.requestUpdate()}isNestedMenuItem(){const i=this.parentElement;return(i==null?void 0:i.tagName.toLowerCase())==="iu-mobile-menu-item"}isLastSlottedItem(){if(!this.assignedSlot)return!1;const i=this.assignedSlot.assignedNodes().filter(e=>e.nodeType===Node.ELEMENT_NODE);return i[i.length-1]===this}toggleSubmenu(i){i.stopPropagation(),this.isToggled=!this.isToggled,this.requestUpdate()}render(){return w` +
  • + ${this.items.length>0||this.hasSlotted?w` +
    + ${this.text} + +
    + `:w` + + `} + + + ${this.items.length>0||this.hasSlotted?w` +
      + ${this.items.map(i=>w` +
    • +
      + ${i.text} +
      +
    • + `)} + +
    + `:w``} + +
  • + `}};Ae.styles=_` + :host{ + display: block; + } + li{ + display: block; + width: 100%; + } + div{ + display: flex; + border-bottom: 1px solid var(--iu-color-black); + } + a{ + font-weight: bold; + width: calc(100% - 50px); + display: flex; + align-items: center; + padding: 0 var(--iu-grid-gutter); + border-right: 1px solid var(--iu-color-grey-200); + height: 3.125rem; + text-decoration: none; + color: var(--iu-color-black); + box-sizing: border-box; + } + button{ + width: 50px; + height: 50px; + padding: 0; + flex-shrink: 0; + background: transparent; + border: 0; + cursor: pointer; + & svg{ + width: 50px; + height: 50px; + } + } + ul{ + list-style-type: none; + padding: 0; + margin: 0; + display: none; + & li { + & a{ + padding-left: var(--iu-spacing-6); + font-weight: normal; + } + } + } + .is-toggled{ + & button{ + transform: rotate(180deg); + } + & ul{ + display: block; + } + } + .is-nested{ + & div{ + border-color: var(--iu-color-grey-200); + } + & a{ + padding-left: var(--iu-spacing-6); + } + } + .is-last{ + div{ + } + } + `;dt([f()],Ae.prototype,"href",2);dt([f()],Ae.prototype,"text",2);dt([f({type:Array})],Ae.prototype,"items",2);dt([rt()],Ae.prototype,"slottedElements",2);Ae=dt([O("iu-mobile-menu-item")],Ae);var Jn=Object.defineProperty,eo=Object.getOwnPropertyDescriptor,ts=(i,e,t,s)=>{for(var r=s>1?void 0:s?eo(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&Jn(e,t,r),r};let Pt=class extends T{constructor(){super(...arguments),this.visible=!1}render(){return w`
    `}};Pt.styles=_` + :host { + transition: opacity .25s ease, visibility 1s linear; + pointer-events: none; + visibility: hidden; + opacity: 0; + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-color: rgba(0, 0, 0, 0.5); + z-index: 40; + } + :host([visible]) { + transition: opacity .25s ease, visibility 1s linear; + visibility: visible; + opacity: 1; + } + `;ts([f({type:Boolean,reflect:!0})],Pt.prototype,"visible",2);Pt=ts([O("iu-overlay")],Pt);var to=Object.defineProperty,io=Object.getOwnPropertyDescriptor,Pe=(i,e,t,s)=>{for(var r=s>1?void 0:s?io(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&to(e,t,r),r};let J=class extends T{constructor(){super(...arguments),this.selected="",this.name="",this.options=[]}handleChange(i){var s;const e=i.target;this.selected=e.value;const t=(s=this.shadowRoot)==null?void 0:s.querySelector(".select");t&&t.classList.toggle("has-value",this.selected!==""),this.dispatchEvent(new CustomEvent("select-change",{detail:{value:this.selected},bubbles:!0,composed:!0}))}render(){return w` +
    + +
    + + +
    +
    + `}};J.styles=_` + :host { + display: block; + } + .select-group{ + margin-bottom: var(--iu-spacing-4); + } + label { + font-weight: bold; + display: block; + margin-bottom: var(--iu-spacing-0); + } + .select{ + width: 100%; + border-top: 1px solid var(--iu-color-grey-200); + border-bottom: 1px solid var(--iu-color-grey-200); + position: relative; + } + + .select.has-value select { + color: var(--iu-color-black); + } + + select { + width: 100%; + height: 2.25rem; + appearance: none; + border: 0; + background: transparent; + padding: 8px 0; + color: var(--iu-color-grey-300); + font-size: 1rem; + cursor: pointer; + } + + .select:has(select:focus){ + border-top: 1px solid var(--iu-color-black); + border-bottom: 1px solid var(--iu-color-black); + } + + select:focus { + outline: 0; + color: var(--iu-color-black); + } + svg{ + width: 36px; + height: 36px; + position: absolute; + right: 0; + top: 0; + pointer-events: none; + } + `;Pe([f({type:String})],J.prototype,"selected",2);Pe([f({type:String})],J.prototype,"name",2);Pe([f({type:String})],J.prototype,"label",2);Pe([f({type:String})],J.prototype,"placeholder",2);Pe([f({type:Array})],J.prototype,"options",2);Pe([rt()],J.prototype,"slottedOptions",2);J=Pe([O("iu-select")],J);var so=Object.defineProperty,ro=Object.getOwnPropertyDescriptor,Fe=(i,e,t,s)=>{for(var r=s>1?void 0:s?ro(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&so(e,t,r),r};let le=class extends T{constructor(){super(...arguments),this.href="",this.text="",this.isActive=!1,this.submenu=!1}toggleSubmenu(){this.dispatchEvent(new CustomEvent("iu-header-toggle-submenu",{bubbles:!0,composed:!0,detail:{source:this,closing:this.isActive}})),this.isActive=!this.isActive,this.toggleOverlay(this.isActive),this.isActive?(document.body.dataset.scrollY=window.scrollY.toString(),document.body.style.top=`-${window.scrollY}px`,document.body.style.position="fixed",document.body.style.width="100%"):(document.body.style.top="",document.body.style.position="",window.scrollTo(0,Number(document.body.dataset.scrollY||"0"))),this.submenuElements.forEach(i=>{this.isActive&&i.classList.add("is-active")})}toggleOverlay(i){const e=document.querySelector("iu-overlay");e&&(e.visible=i)}render(){const i=this.isActive?"is-active":"",e=this.submenu?this.toggleSubmenu:null;return w` + + `}};le.styles=_` + :host a, :host span{ + color: var(--theme-color-black); + text-decoration: none; + cursor: pointer; + } + .is-active{ + text-decoration: underline; + } + `;Fe([f()],le.prototype,"href",2);Fe([f()],le.prototype,"text",2);Fe([f({type:Boolean})],le.prototype,"isActive",2);Fe([f({type:Boolean,reflect:!0})],le.prototype,"submenu",2);Fe([Ni({slot:""})],le.prototype,"submenuElements",2);le=Fe([O("iu-header-navbar-item")],le);var no=Object.getOwnPropertyDescriptor,oo=(i,e,t,s)=>{for(var r=s>1?void 0:s?no(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=o(r)||r);return r};let ii=class extends T{get container(){var i;return(i=this.shadowRoot)==null?void 0:i.querySelector("div")}render(){return w` +
    +
      + +
    +
    + `}};ii.styles=_` + :host{ + display: block; + } + div{ + box-sizing: border-box; + pointer-events: none; + visibility: hidden; + opacity: 0; + position: absolute; + transform: translateZ(0) translateY(calc(100% - 2px)); + bottom: 0; + left: 0; + // width: 100%; + background: #fff; + } + :host > div > ul { + list-style-type: none; + margin: 0; + padding-top: var(--iu-spacing-6); + padding-bottom: var(--iu-spacing-7); + padding-left: var(--iu-grid-offset); + padding-right: var(--iu-grid-gutter); + orphans: 1; + columns: 3; + column-gap: var(--iu-grid-gutter); + } + :host(.is-active) div{ + pointer-events: auto; + visibility: visible; + opacity: 1; + } + :host(.is-closing) div{ + } + ::slotted(*){ + opacity: 1; + } + :host(.is-active.is-closing) ::slotted(*) { + transition: opacity .1s ease; + opacity: 0; + } + `;ii=oo([O("iu-header-navbar-submenu")],ii);var ao=Object.defineProperty,lo=Object.getOwnPropertyDescriptor,zt=(i,e,t,s)=>{for(var r=s>1?void 0:s?lo(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&ao(e,t,r),r};let Ie=class extends T{constructor(){super(...arguments),this.href="",this.text="",this.items=[]}render(){return w` +
  • + ${this.text} + ${this.items.length>0?w` +
      + ${this.items.map(i=>w` +
    • + ${i.text} +
    • + `)} +
    + `:""} +
  • + `}};Ie.styles=_` + :host{ + display: block; + line-height: 1; + } + :host > li{ + break-inside: avoid; + user-select: none; + display: block; + } + li{ + margin: 0; + padding: 0; + } + .section{ + padding-left: 0.125rem; + font-weight: 700; + border-bottom: 1px solid var(--iu-color-grey-200); + } + .section.no-submenu{ + } + a{ + display: inline-block; + width: 100%; + box-sizing: border-box; + text-decoration: none; + color: var(--iu-color-black); + padding-top: .5rem; + padding-bottom: .5rem; + font: var(--iu-f-0); + } + a:hover{ + background: var(--iu-color-black); + color: var(--iu-color-white); + border-color: var(--iu-color-black); + } + :host > li{ + margin-top: -1px; + } + :host > li > a { + border-top: 1px solid var(--iu-color-black); + } + ul{ + margin: 0; + padding: 0; + list-style-type: none; + width: 100%; + } + ul li { + display: inline-block; + width: 100%; + } + ul li:not(:last-child){ + } + ul li a{ + display: grid; + grid-template-columns: repeat(4, 1fr); + border-bottom: 1px solid var(--iu-color-grey-200); + } + ul li a span{ + grid-column: 2/5; + } + `;zt([f()],Ie.prototype,"href",2);zt([f()],Ie.prototype,"text",2);zt([f({type:Array})],Ie.prototype,"items",2);Ie=zt([O("iu-header-navbar-submenu-section")],Ie);var co=Object.getOwnPropertyDescriptor,po=(i,e,t,s)=>{for(var r=s>1?void 0:s?co(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=o(r)||r);return r};let zi=class extends T{render(){return w` + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + `}};zi=po([O("iu-header-layout")],zi);var uo=Object.defineProperty,ho=Object.getOwnPropertyDescriptor,Lt=(i,e,t,s)=>{for(var r=s>1?void 0:s?ho(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&uo(e,t,r),r};let De=class extends T{constructor(){super(...arguments),this.mobileMenuOpen=!1,this.i18n=!1,this.handleResize=()=>{if(window.innerWidth<1280&&(this.closeAllSubmenu(),this.requestUpdate()),window.innerWidth>1280&&this.mobileMenuOpen){this.mobileMenuOpen=!1,this.dispatchEvent(new CustomEvent("toggle-mobile-menu",{detail:!1,bubbles:!0,composed:!0})),document.body.style.top="",document.body.style.position="";const i=document.querySelector("iu-overlay");i&&(i.visible=!1),this.requestUpdate()}}}isAnySubmenuOpen(){return!this.navbarItems.some(i=>i.isActive)}updateActionsVisibility(){var e;const i=(e=this.shadowRoot)==null?void 0:e.querySelector(".actions button");i&&(this.isAnySubmenuOpen()?i.style.display="block":i.style.display="none")}handleSubmenuToggle(i){const{source:e}=i.detail;this.navbarItems.forEach(t=>{t!==e&&(t.isActive=!1,t.submenuElements.forEach(s=>s.classList.remove("is-active"))),i.detail.closing&&t===e&&t.submenuElements.forEach(s=>{s.classList.add("is-closing");const r=s.container,n=r.scrollHeight;r.animate([{height:`${n}px`},{height:0}],{duration:250,delay:250,easing:"ease-out"}).onfinish=()=>{s.classList.remove("is-closing"),s.classList.remove("is-active")}})}),this.updateActionsVisibility()}closeAllSubmenu(){var e;const i=(e=this.shadowRoot)==null?void 0:e.querySelector(".actions button");i&&(i.style.display="none"),this.navbarItems.forEach(t=>{t.isActive=!1,t.submenuElements.forEach(s=>{if(s.classList.contains("is-active")){const r=document.querySelector("iu-overlay");r.visible=!1,s.classList.add("is-closing");const n=s.container,o=n.scrollHeight;n.animate([{height:`${o}px`},{height:0}],{duration:250,delay:250,easing:"ease-out"}).onfinish=()=>{s.classList.remove("is-closing"),s.classList.remove("is-active")}}else s.classList.remove("is-active")})})}toggleMobileMenu(){const i=document.querySelector("iu-overlay");i.visible=!i.visible,this.mobileMenuOpen=!this.mobileMenuOpen,this.mobileMenuOpen?(document.body.dataset.scrollY=window.scrollY.toString(),document.body.style.top=`-${window.scrollY}px`,document.body.style.position="fixed"):(document.body.style.top="",document.body.style.position="",window.scrollTo(0,Number(document.body.dataset.scrollY||"0"))),this.dispatchEvent(new CustomEvent("toggle-mobile-menu",{bubbles:!0,composed:!0}))}connectedCallback(){super.connectedCallback(),this.addEventListener("iu-header-toggle-submenu",this.handleSubmenuToggle),this.updateActionsVisibility(),this.addEventListener("close-mobile-menu",()=>{this.mobileMenuOpen=!1,this.requestUpdate()}),window.addEventListener("resize",this.handleResize)}disconnectedCallback(){this.removeEventListener("iu-header-toggle-submenu",this.handleSubmenuToggle),window.removeEventListener("resize",this.handleResize),super.disconnectedCallback()}render(){return w` + + + + + + + +
    + ${this.i18n?w` + EN + `:""} + +
    + +
    + + `}};De.styles=_` + @media ${C(M.xxl)} { + :host{ + display: block; + } + } + :host a{ + color: var(--theme-color-black); + text-decoration: none; + } + :host iu-container{ + display: flex; + justify-content: space-between; + align-items: center; + height: 3.125rem; + background: var(--theme-color-white); + grid-template-columns: repeat(4, minmax(0, 1fr)); + margin-bottom: 0; + } + @media ${C(M.xl)} { + :host iu-container{ + display: grid; + height: 3.75rem; + } + } + .logo{ + font-weight: 700; + grid-column: span 1; + } + .nav{ + grid-column: 2 / 5; + display: none; + justify-content: space-between; + align-items: center; + } + @media ${C(M.xl)} { + .nav{ + display: flex; + } + } + .nav ul{ + margin: 0; + padding: 0; + list-style-type: none; + display: flex; + } + :host nav ul ::slotted(*:not(:last-child)){ + margin-right: var(--iu-spacing-4); + } + .actions button{ + width: 50px; + height: 50px; + background: transparent; + border: 0; + padding: 0; + cursor: pointer; + display: none; + margin-right: calc((50px - 16px) / 2 * -1) + } + .actions button svg{ + height: 16px; + width: 16px; + } + .mobile-actions{ + display: flex; + align-items: center; + transform: translateX(var(--iu-grid-gutter)); + & a{ + margin-right: var(--iu-spacing-0); + } + } + @media ${C(M.xl)} { + .mobile-actions{ + display: none; + } + } + .hamburger{ + background: transparent; + border: 0; + cursor: pointer; + width: 50px; + height: 50px; + padding: 0; + svg{ + width: 100%; + height: 100%; + } + } + `;Lt([f({type:Boolean})],De.prototype,"mobileMenuOpen",2);Lt([f({type:Boolean})],De.prototype,"i18n",2);Lt([Ni({slot:""})],De.prototype,"navbarItems",2);De=Lt([O("iu-header-navbar")],De);var fo=Object.defineProperty,mo=Object.getOwnPropertyDescriptor,kt=(i,e,t,s)=>{for(var r=s>1?void 0:s?mo(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&fo(e,t,r),r};let Be=class extends T{constructor(){super(...arguments),this.href="",this.text="",this.target="self"}render(){return w` +
  • ${this.text}
  • + `}};Be.styles=_` + :host a{ + color: #fff; + text-decoration: none; + } + `;kt([f()],Be.prototype,"href",2);kt([f()],Be.prototype,"text",2);kt([f()],Be.prototype,"target",2);Be=kt([O("iu-header-topbar-item")],Be);var go=Object.defineProperty,vo=Object.getOwnPropertyDescriptor,It=(i,e,t,s)=>{for(var r=s>1?void 0:s?vo(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&go(e,t,r),r};let He=class extends T{constructor(){super(...arguments),this.i18n=!1,this.searchable=!1}getLastElement(){if(!this.slottedElements)return;const i=Array.from(this.slottedElements).filter(e=>e instanceof HTMLElement);i.length>0&&i[i.length-1].classList.add("last")}firstUpdated(){this.getLastElement()}render(){return w` + + +
    + ${this.i18n&&w`EN`} + ${this.searchable?w``:""} +
    +
    + `}};He.styles=_` + :host{ + background: var(--iu-color-black); + height: 40px; + display: none; + align-items: center; + font-size: 0.8125rem; + } + @media ${C(M.xl)} { + :host{ + display: flex; + } + } + :host nav ul{ + margin: 0; + padding: 0; + display: flex; + list-style-type: none; + } + :host nav ul ::slotted(li:not(:last-child)){ + margin-right: 20px; + } + :host a{ + color: #fff; + text-decoration: none; + } + :host iu-container{ + display: flex; + align-items: center; + justify-content: space-between; + margin-bottom: 0; + } + :host div{ + display: flex; + align-items: center; + justify-content: space-between; + } + :host nav ul ::slotted(*){ + margin-right: 20px; + } + :host nav ul ::slotted(.last){ + margin-right: 0; + } + :host div svg{ + width: 1.375rem; + height: 2.25rem; + display: block; + } + :host div a{ + margin-left: 0.9375rem; + } + `;It([f({type:Boolean})],He.prototype,"i18n",2);It([f({type:Boolean})],He.prototype,"searchable",2);It([rt()],He.prototype,"slottedElements",2);He=It([O("iu-header-topbar")],He);var wo=Object.getOwnPropertyDescriptor,bo=(i,e,t,s)=>{for(var r=s>1?void 0:s?wo(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=o(r)||r);return r};let si=class extends T{constructor(){super(...arguments),this.currentScrollPos=0,this.prevScrollPos=0,this.headerHeight=0,this.menuIsOpen=!1,this.handleScroll=()=>{this.currentScrollPos=window.scrollY,this.currentScrollPos>this.headerHeight&&this.menuIsOpen==!1?document.body.classList.add("is-scrolled"):document.body.classList.remove("is-scrolled"),this.prevScrollPos>this.headerHeight&&this.prevScrollPos=this.currentScrollPos&&this.menuIsOpen==!1&&this.classList.remove("is-hidden"),this.prevScrollPos=this.currentScrollPos},this.getHeaderHeight=()=>(this.headerHeight=this.clientHeight,`${this.clientHeight}px`)}connectedCallback(){super.connectedCallback(),window.addEventListener("scroll",this.handleScroll)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("scroll",this.handleScroll)}firstUpdated(){document.documentElement.style.setProperty("--iu-header-height",this.getHeaderHeight())}render(){return w` + + `}};si.styles=_` + :host{ + position: sticky; + top: 0; + z-index: 50; + background: #fff; + display:block; + transform: translateY(0); + transition: transform .5s ease; + } + @media ${C(M.md)} { + :host(.is-hidden){ + transform: translateY(-100%); + } + } + `;si=bo([O("iu-header")],si);var yo=Object.defineProperty,xo=Object.getOwnPropertyDescriptor,fe=(i,e,t,s)=>{for(var r=s>1?void 0:s?xo(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&yo(e,t,r),r};let X=class extends T{constructor(){super(...arguments),this.text="",this.href="",this.link="",this.size=1,this.tag=2,this.noDivider=!1,this.nested=!1}render(){const i=this.href?w`${this.link}`:null,t=((s,r)=>{switch(s){case 1:return w`

    ${r}

    `;case 2:return w`

    ${r}

    `;case 3:return w`

    ${r}

    `;case 4:return w`

    ${r}

    `;case 5:return w`
    ${r}
    `;case 6:return w`
    ${r}
    `;default:return w`

    ${r}

    `}})(this.tag,this.text);return w` + +
    + ${t} + ${i} +
    +
    + `}};X.styles=_` + :host{ + display: block; + margin-top: var(--iu-heading-margin-top, 0); + margin-bottom: var(--iu-heading-margin-bottom, var(--iu-spacing-block-sm)); + --iu-heading-color: var(--iu-color-black); + --iu-heading-link-color: var(--iu-color-grey-300); + } + h1,h2,h3,h4,h5,h6{ + color: var(--iu-heading-color); + margin: 0; + font-weight: 400; + } + .size-1 h1, + .size-1 h2, + .size-1 h3, + .size-1 h4, + .size-1 h5, + .size-1 h5 + { + font: var(--iu-f-lg); + } + .size-2 h1, + .size-2 h2, + .size-2 h3, + .size-2 h4, + .size-2 h5, + .size-2 h5 + { + font: var(--iu-f-2xl); + } + .inner{ + // width: calc(100% / 12 * 11); + width: 100%; + border-top: 1px solid var(--iu-color-black); + padding-top: 0.75rem; + } + @media ${C(M.md)} { + .inner{ + display: flex; + justify-content: space-between; + align-items: baseline; + } + } + .inner.no-divider{ + border-top: 0; + padding-top: 0; + } + .inner.has-link{ + width: 100%; + } + a{ + font: var(--iu-f-lg); + text-decoration: none !important; + color: var(--iu-heading-link-color); + flex-shrink: 0; + } + iu-container{ + margin-bottom: 0; + } + `;fe([f()],X.prototype,"text",2);fe([f()],X.prototype,"href",2);fe([f()],X.prototype,"link",2);fe([f({type:Number})],X.prototype,"size",2);fe([f({type:Number})],X.prototype,"tag",2);fe([f({type:Boolean})],X.prototype,"noDivider",2);fe([f({type:Boolean,reflect:!0})],X.prototype,"nested",2);X=fe([O("iu-heading")],X);var Ao=Object.defineProperty,So=Object.getOwnPropertyDescriptor,Te=(i,e,t,s)=>{for(var r=s>1?void 0:s?So(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&Ao(e,t,r),r};let ee=class extends T{constructor(){super(...arguments),this.setHeroBannerHeight=()=>{if(window.matchMedia("(min-width: 62rem)").matches){const i=this.offsetTop;this.style.setProperty("--iu-hero-banner-height",`${window.innerHeight-i}px`)}},this.jpg="",this.webp="",this.alt="",this.mp4="",this.webm="",this.heading=""}connectedCallback(){super.connectedCallback(),window.addEventListener("resize",this.setHeroBannerHeight)}firstUpdated(){requestAnimationFrame(()=>{this.setHeroBannerHeight()})}render(){return w` +
    + + + ${this.jpg&&w` +
    + + ${this.webp?w``:""} + + ${this.alt} + +
    + `} + + ${(this.webm||this.mp4)&&w` +
    + +
    + `} + + ${this.heading&&w` +

    ${this.heading}

    + `} + +
    +
    + `}};ee.styles=_` + :host{ + display:block; + margin-bottom: var(--iu-spacing-block-lg); + } + .video, .img{ + aspect-ratio: 16/9; + position: relative; + overflow: hidden; + z-index: 20; + } + .video{ + margin-bottom: calc(var(--iu-grid-gutter)*2); + } + @media ${C(M.md)} { + .video, .img{ + aspect-ratio: auto; + } + } + @media ${C(M.lg)} { + .video, .img{ + height: calc(var(--iu-hero-banner-height) - var(--iu-grid-gutter)); + } + } + .video video, .img img{ + width: 100%; + height: 100%; + object-fit: cover; + } + h1{ + font-weight: 400; + font: var(--iu-f-4); + z-index: 10; + margin-bottom: 0; + margin-top: 0; + width: calc(100% / 12 * 11); + } + @media ${C(M.md)} { + h1{ + font: var(--iu-f-7); + } + } + @media ${C(M.lg)} { + h1{ + font: var(--iu-f-9); + position: sticky; + bottom: var(--iu-grid-gutter); + } + } + `;Te([f()],ee.prototype,"jpg",2);Te([f()],ee.prototype,"webp",2);Te([f()],ee.prototype,"alt",2);Te([f()],ee.prototype,"mp4",2);Te([f()],ee.prototype,"webm",2);Te([f()],ee.prototype,"heading",2);ee=Te([O("iu-hero-banner")],ee);var $o=Object.defineProperty,Eo=Object.getOwnPropertyDescriptor,Ce=(i,e,t,s)=>{for(var r=s>1?void 0:s?Eo(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&$o(e,t,r),r};let te=class extends T{constructor(){super(...arguments),this.target="_self",this.size=1,this.nested=!1}render(){let i=!1;try{const t=new URL(this.href??"",window.location.href).hostname;i=!(t==="iuav.it"||t==="www.iuav.it")}catch{i=!1}return w` + + + ${i?w` + `:w` + `} + + ${this.text} + ${this.label&&w`${this.label}`} + + + + `}};te.styles=_` + :host{ + display: block; + --iu-comp-bg: transparent; + --iu-comp-color: var(--iu-color-black); + --iu-comp-bg-hover: var(--iu-color-black); + --iu-comp-color-hover: var(--iu-color-white); + --iu-comp-border-color: var(--iu-color-grey-200); + --iu-comp-border-color-hover: var(--iu-color-grey-500); + // margin-bottom: var(--iu-spacing-3); + } + @media ${C(M.md)} { + :host{ + // margin-bottom: var(--iu-spacing-6); + } + } + a{ + background: var(--iu-comp-bg); + color: var(--iu-comp-color); + font: var(--iu-f-2); + text-decoration: none; + border-top: 1px solid var(--iu-comp-border-color); + position: relative; + display: flex; + } + a.size-2{ + font: var(--iu-f-lg); + } + a:hover{ + background: var(--iu-comp-bg-hover); + color: var(--iu-comp-color-hover); + } + svg{ + width: 2.25rem; + height: 2.25rem; + margin-right: var(--iu-spacing-0); + flex-shrink: 0; + } + .size-2 svg{ + width: 3.125rem; + height: 3.125rem; + margin-right: var(--iu-spacing-1); + } + a > span{ + padding-top: 0.375rem; + padding-bottom: 0.375rem; + // padding-right: 1.25rem; + } + a span span{ + display: inline-block; + font: var(--iu-f-0); + color: var(--iu-color-grey-300); + transform: translateY(-0.875rem); + } + iu-container{ + margin-bottom: 0; + } + `;Ce([f()],te.prototype,"href",2);Ce([f()],te.prototype,"text",2);Ce([f()],te.prototype,"label",2);Ce([f()],te.prototype,"target",2);Ce([f({type:Number})],te.prototype,"size",2);Ce([f({type:Boolean,reflect:!0})],te.prototype,"nested",2);te=Ce([O("iu-link")],te);var Po=Object.defineProperty,To=Object.getOwnPropertyDescriptor,Dt=(i,e,t,s)=>{for(var r=s>1?void 0:s?To(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&Po(e,t,r),r};let Ne=class extends T{constructor(){super(...arguments),this.label="Per approfondire",this.columns=2,this.items="[]"}get parsedItems(){try{return JSON.parse(this.items)}catch{return[]}}render(){return w` + +
    + ${this.label&&w`

    ${this.label}

    `} + ${this.parsedItems.map(i=>w``)} +
    +
    + `}};Ne.styles=_` + :host{ + display: block; + margin-bottom: var(--iu-spacing-block); + } + .columns-2{ + width: 50%; + } + p{ + font-weight: bold; + } + iu-link:last-child{ + border-bottom: 1px solid var(--iu-color-grey-200); + } + `;Dt([f()],Ne.prototype,"label",2);Dt([f({type:Number})],Ne.prototype,"columns",2);Dt([f({type:String})],Ne.prototype,"items",2);Ne=Dt([O("iu-links-list")],Ne);var Co=Object.defineProperty,_o=Object.getOwnPropertyDescriptor,Ye=(i,e,t,s)=>{for(var r=s>1?void 0:s?_o(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&Co(e,t,r),r};let de=class extends T{constructor(){super(...arguments),this.sm=2,this.nested=!1}render(){return w` + + + + `}};de.styles=_` + :host { + display: block; + margin-bottom: var(--iu-spacing-block); + } + `;Ye([f({type:Number})],de.prototype,"sm",2);Ye([f({type:Number})],de.prototype,"md",2);Ye([f({type:Number})],de.prototype,"lg",2);Ye([f({type:Number})],de.prototype,"xl",2);Ye([f({type:Boolean,reflect:!0})],de.prototype,"nested",2);de=Ye([O("iu-list")],de);var Oo=Object.defineProperty,Mo=Object.getOwnPropertyDescriptor,ui=(i,e,t,s)=>{for(var r=s>1?void 0:s?Mo(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&Oo(e,t,r),r};let tt=class extends T{constructor(){super(...arguments),this.label="",this.text=""}render(){return w` +
    +

    ${this.label}

    +

    ${ot(this.text)}

    +
    + `}};tt.styles=_` + :host{ + display:block; + } + div{ + border-top: 1px solid var(--iu-color-grey-200); + } + p{ + margin: 0; + } + .label{ + padding-top: var(--iu-spacing-0); + color: var(--iu-color-grey-300); + } + .text a{ + color: var(--iu-color-black); + } + @media ${C(M.md)} { + } + `;ui([f()],tt.prototype,"label",2);ui([f()],tt.prototype,"text",2);tt=ui([O("iu-list-item")],tt);var zo=Object.defineProperty,Lo=Object.getOwnPropertyDescriptor,Ue=(i,e,t,s)=>{for(var r=s>1?void 0:s?Lo(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&zo(e,t,r),r};let ce=class extends T{constructor(){super(...arguments),this.href="",this.heading=""}isExternalLink(i){try{return new URL(i,window.location.href).hostname!==window.location.hostname}catch{return!1}}renderIntIcon(){return w` + `}renderExtIcon(){return w` + `}applyMultilineEllipsis(i){if(!this.titleElement)return;const t=parseFloat(getComputedStyle(this.titleElement).lineHeight)*i;if(this.titleElement.scrollHeight>t){let s=this.titleElement.textContent.split(" ");this.titleElement.textContent="";for(let r=0;rt){this.titleElement.textContent=this.titleElement.textContent.trim()+"...";break}}}firstUpdated(){}render(){const i=this.isExternalLink(this.href);return w` + + ${this.subtitle?w`${this.subtitle}`:""} + ${this.excerpt&&!this.subtitle?w`${this.excerpt}`:""} +
    +

    ${this.heading}

    + ${i?this.renderExtIcon():this.renderIntIcon()} +
    +
    + `}};ce.styles=_` + :host{ + display: block; + } + .nav-card{ + background: var(--iu-color-grey-100); + display: block; + aspect-ratio: 1/1; + display: flex; + flex-direction: column; + justify-content: end; + padding: var(--iu-grid-gutter); + color: var(--iu-color-black); + text-decoration: none; + font-size: var(--iu-fs-md); + &:hover{ + background: var(--iu-color-black); + color: var(--iu-color-white); + } + p{ + justify-self: end; + margin: 0; + } + } + .excerpt{ + font-size: var(--iu-fs-1); + margin-bottom: var(--iu-spacing-3); + flex-grow: 1; + } + .subtitle{ + font-size: var(--iu-fs-1); + color: var(--iu-color-grey-300); + margin-bottom: var(--iu-spacing-5); + flex-grow: 1; + } + .title{ + display: flex; + align-items: end; + overflow: hidden; + flex-shrink: 1; + } + svg{ + width: 27px; + height: 20px; + flex-shrink: 0; + margin-bottom: 10px; + margin-left: 20px; + } + `;Ue([st(".title p")],ce.prototype,"titleElement",2);Ue([f()],ce.prototype,"href",2);Ue([f()],ce.prototype,"heading",2);Ue([f()],ce.prototype,"excerpt",2);Ue([f()],ce.prototype,"subtitle",2);ce=Ue([O("iu-nav-card")],ce);var ko=Object.defineProperty,Io=Object.getOwnPropertyDescriptor,ct=(i,e,t,s)=>{for(var r=s>1?void 0:s?Io(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&ko(e,t,r),r};let Se=class extends T{constructor(){super(...arguments),this.columns=1,this.size=1,this.nested=!1}updateLastElement(){const i=this.slottedElements?Array.from(this.slottedElements):[];if(i.length>0){const e=i[i.length-1];e instanceof HTMLElement&&e.classList.add("last")}}wrapListItems(){this.querySelectorAll("ul, ol").forEach(t=>{t.classList.add("list")}),this.querySelectorAll("li").forEach(t=>{const r=`${t.innerHTML}`;t.innerHTML=r})}firstUpdated(){this.updateLastElement(),this.wrapListItems()}render(){return w` + +
    + +
    +
    + `}};Se.styles=_` + :host{ + display: block; + // margin-bottom: var(--iu-spacing-block-xs); + margin-bottom: var(--iu-spacing-block-sm); + } + @media ${C(M.lg)} { + .column-1{ + grid-column: span 6; + // width: calc(50% - var(--iu-grid-gutter)); + } + } + iu-container{ + margin-bottom: 0; + } + .fs-1 { + --iu-p-f: var(--iu-f-1); + } + .fs-2 { + --iu-p-f: var(--iu-f-2); + } + @media ${C(M.md)} { + .fs-3{ + --iu-p-f: var(--iu-f-2); + max-width: 90% + } + } + @media ${C(M.xl)} { + .fs-3{ + --iu-p-f: var(--iu-f-4); + } + } + ::slotted(p){ + font: var(--iu-p-f) !important; + margin-bottom: var(--iu-spacing-2); + margin-top: 0; + } + ::slotted(.last){ + margin-bottom: 0 !important; + } + `;ct([f({type:Number})],Se.prototype,"columns",2);ct([f({type:Number})],Se.prototype,"size",2);ct([f({type:Boolean,reflect:!0})],Se.prototype,"nested",2);ct([rt()],Se.prototype,"slottedElements",2);Se=ct([O("iu-paragraph")],Se);var Do=Object.getOwnPropertyDescriptor,Bo=(i,e,t,s)=>{for(var r=s>1?void 0:s?Do(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=o(r)||r);return r};let ri=class extends T{render(){return w` +
    +
      +
    • +
    • +
    • +
    • +
    • +
    • +
    +
    + `}};ri.styles=_` + :host{ + display: block; + } + ul{ + display: flex; + margin: 0; + padding: 0; + list-style-type: none; + margin-top: 0.25rem; + } + ul li{ + margin.bottom: 0.5rem; + } + ul li:not(:last-child){ + margin-right: 1.25rem; + } + ul li a svg{ + width: 1rem; + height: 1rem; + color: #fff; + } + `;ri=Bo([O("iu-social-nav")],ri);var Ho=Object.defineProperty,No=Object.getOwnPropertyDescriptor,Bt=(i,e,t,s)=>{for(var r=s>1?void 0:s?No(e,t):e,n=i.length-1,o;n>=0;n--)(o=i[n])&&(r=(s?o(e,t,r):o(r))||r);return s&&r&&Ho(e,t,r),r};let je=class extends T{constructor(){super(...arguments),this.href="",this.heading="",this.img=""}render(){return w` + +

    ${this.heading}

    +
    + ${this.img&&w``} +
    +
    + `}};je.styles=_` + :host{ + display: block; + } + a{ + text-decoration: none; + color: var(--iu-color-black); + } + p{ + padding-right: var(--iu-spacing-2); + font: var(--iu-f-xl); + margin-bottom: var(--iu-spacing-2); + margin-top: 0; + } + .img{ + position: relative; + margin-bottom: 1.125rem; + aspect-ratio: 3 / 2; + } + .img img{ + width: 100%; + height: 100%; + object-cover: cover; + } + `;Bt([f()],je.prototype,"href",2);Bt([f()],je.prototype,"heading",2);Bt([f()],je.prototype,"img",2);je=Bt([O("iu-page-card")],je); diff --git a/demo/ateneo.html b/demo/ateneo.html new file mode 100644 index 0000000..66a109e --- /dev/null +++ b/demo/ateneo.html @@ -0,0 +1,165 @@ + + + + + + Open Day + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    Iuav Open Day è l’evento con cui l’Università Iuav di Venezia ogni anno apre le porte alle future studentesse e ai futuri studenti dei corsi di laurea triennale e magistrale.

    +
    + + + + +

    È l'evento speciale che Iuav dedica alle future studentesse e ai futuri studenti dei corsi di laurea magistrale. Si svolge dal 3 al 20 giugno ed è organizzato in due momenti:

    Webinar dei corsi di laurea magistrale
    Una serie di incontri online per scoprire nel dettaglio i singoli percorsi magistrali, direttamente dalla voce di docenti e studentesse e studenti del corso:
    – 4 giugno, ore 14:30 | Architettura 
    – 4 giugno, ore 15:30 | Urbanistica e pianificazione del territorio
    5 giugno, ore 12 | MA Moda / Fashion
    –  6 giugno, ore 11 | Arti visive e cinema espanso
    10 giugno, ore 15 | Teatro e arti performative
    11 giugno, ore 16 | Design del prodotto, della comunicazione e degli interni
    18 giugno, ore 15 | Curating arts and heritage in intercultural perspectives

    +

    Per partecipare all'evento compila il modulo di registrazione. Il link per il collegamento ti verrà inviato 30 minuti prima dell’inizio. Le iscrizioni chiuderanno 40 minuti prima.

    +

    Evento in presenza il 20 giugno al Cotonificio
    L’edizione 2025 di Open Day lauree magistrali si conclude il 20 giugno dalle 10 alle 18.30 con un evento in presenza nella sede del Cotonificio Veneziano, uno dei più interessanti edifici industriali della città, non lontano dalla stazione ferroviaria e da piazzale Roma. 
    In questa occasione potrai visitare i desk dedicati ai corsi di laurea magistrale, confrontarti con i docenti, le studentesse e gli studenti presenti e scoprire tutte le novità e le specificità dei percorsi magistrali Iuav.
    Sia al mattino che al pomeriggio, in aula Gradoni, è previsto un ciclo di presentazioni dedicate ai corsi di laurea magistrale, trasmesse anche in streaming.
    Gli interventi copriranno le diverse aree disciplinari:
    – Architettura e Urbanistica e pianificazione del territorio
    – Corsi del Polo dell’Acqua / Water Lab Courses - Renewable energy engineering in coastal environment, Sustainable transportation and smart maritime mobility, Urban and spatial planning for transition
    – Design del prodotto, della comunicazione degli interni e MA Moda | Fashion
    – Arti visive e cinema espanso e Curating arts and heritage in intercultural perspective
    – Teatro e arti performative

    +

    A breve in questa pagina il programma completo di tutte le iniziative!

    +
    + + > +
    + + + + + > + + + + + + + + + + + +

    + Santa Croce 191, Tolentini
    + 30135 Venezia
    + C.F. 80009280274
    + P.Iva 00708670278 +

    +
    + + + + + + + + + + +
    + + + + \ No newline at end of file diff --git a/demo/index.html b/demo/index.html index 7e121df..ce9e70d 100644 --- a/demo/index.html +++ b/demo/index.html @@ -4,7 +4,8 @@ Iuav UI Library - + + @@ -20,7 +21,7 @@ - + @@ -45,7 +46,7 @@ + + + + + Open Day + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    + Santa Croce 191, Tolentini
    + 30135 Venezia
    + C.F. 80009280274
    + P.Iva 00708670278 +

    +
    + + + + + + + + + + +
    + + + + \ No newline at end of file diff --git a/demo/organizzazione.html b/demo/organizzazione.html new file mode 100644 index 0000000..b7dcc1c --- /dev/null +++ b/demo/organizzazione.html @@ -0,0 +1,164 @@ + + + + + + Open Day + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    L’amministrazione di Iuav è organizzata in cinque aree: didattica e servizi agli studenti; finanza e risorse umane; ricerca, sistema bibliotecario e documentale; tecnica e della direzione generale.

    +
    +
    + + + + +

    Il corpo docente di Iuav è formato sia da studiose e studiosi provenienti dal mondo accademico, sia da professioniste e professionisti che operano nel mondo delle culture del progetto, dal design alle arti visive, dall’architettura alla curatela, dal teatro alla performance.

    +
    +
    + + + + +

    Il governo e la gestione dell'ateneo è affidata agli organi di governo, di gestione, di controllo e valutazione, consultivi e di garanzia.

    +
    +
    + + + + +

    Composto interamente da studenti e studentesse, è un organo consultivo che esprime pareri, avanza proposte alla governance da parte della componente studentesca e progetta attività culturali rivolte alla comunità Iuav.

    +
    +
    + + + + + + + + + + +

    + Santa Croce 191, Tolentini
    + 30135 Venezia
    + C.F. 80009280274
    + P.Iva 00708670278 +

    +
    + + + + + + + + + + +
    + + + + \ No newline at end of file diff --git a/demo/orientamento.html b/demo/orientamento.html index 70797ff..66a109e 100644 --- a/demo/orientamento.html +++ b/demo/orientamento.html @@ -3,8 +3,8 @@ - Orientamento Iuav - + Open Day + @@ -62,74 +62,65 @@ - - - - - - - - - - - - - - - - - - - - - - + -
    - - - - - - - -

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce fermentum orci at sem convallis, sed pretium erat lobortis. Curabitur sit amet tincidunt sapien, eget fermentum nisi. Mauris ullamcorper ipsum odio, eget euismod metus convallis ac. Interdum et malesuada fames ac ante ipsum primis in faucibus. Nunc vehicula sem ut leo euismod, sollicitudin bibendum mi dapibus. Curabitur vulputate nibh a volutpat ultricies. Aliquam aliquam lobortis facilisis. In ullamcorper nunc at suscipit fermentum. Quisque convallis sed turpis semper finibus. Donec aliquam tellus quis ligula porttitor, id faucibus dui pulvinar. Donec condimentum mi in elit bibendum, nec cursus massa fermentum. Fusce non nulla posuere, mollis massa vitae, molestie elit. Praesent volutpat dapibus leo quis malesuada. Sed iaculis pellentesque tellus id volutpat.

    -
    -
    -
    + + + + + + + + + + + +

    Iuav Open Day è l’evento con cui l’Università Iuav di Venezia ogni anno apre le porte alle future studentesse e ai futuri studenti dei corsi di laurea triennale e magistrale.

    +
    + + + + +

    È l'evento speciale che Iuav dedica alle future studentesse e ai futuri studenti dei corsi di laurea magistrale. Si svolge dal 3 al 20 giugno ed è organizzato in due momenti:

    Webinar dei corsi di laurea magistrale
    Una serie di incontri online per scoprire nel dettaglio i singoli percorsi magistrali, direttamente dalla voce di docenti e studentesse e studenti del corso:
    – 4 giugno, ore 14:30 | Architettura 
    – 4 giugno, ore 15:30 | Urbanistica e pianificazione del territorio
    5 giugno, ore 12 | MA Moda / Fashion
    –  6 giugno, ore 11 | Arti visive e cinema espanso
    10 giugno, ore 15 | Teatro e arti performative
    11 giugno, ore 16 | Design del prodotto, della comunicazione e degli interni
    18 giugno, ore 15 | Curating arts and heritage in intercultural perspectives

    +

    Per partecipare all'evento compila il modulo di registrazione. Il link per il collegamento ti verrà inviato 30 minuti prima dell’inizio. Le iscrizioni chiuderanno 40 minuti prima.

    +

    Evento in presenza il 20 giugno al Cotonificio
    L’edizione 2025 di Open Day lauree magistrali si conclude il 20 giugno dalle 10 alle 18.30 con un evento in presenza nella sede del Cotonificio Veneziano, uno dei più interessanti edifici industriali della città, non lontano dalla stazione ferroviaria e da piazzale Roma. 
    In questa occasione potrai visitare i desk dedicati ai corsi di laurea magistrale, confrontarti con i docenti, le studentesse e gli studenti presenti e scoprire tutte le novità e le specificità dei percorsi magistrali Iuav.
    Sia al mattino che al pomeriggio, in aula Gradoni, è previsto un ciclo di presentazioni dedicate ai corsi di laurea magistrale, trasmesse anche in streaming.
    Gli interventi copriranno le diverse aree disciplinari:
    – Architettura e Urbanistica e pianificazione del territorio
    – Corsi del Polo dell’Acqua / Water Lab Courses - Renewable energy engineering in coastal environment, Sustainable transportation and smart maritime mobility, Urban and spatial planning for transition
    – Design del prodotto, della comunicazione degli interni e MA Moda | Fashion
    – Arti visive e cinema espanso e Curating arts and heritage in intercultural perspective
    – Teatro e arti performative

    +

    A breve in questa pagina il programma completo di tutte le iniziative!

    +
    + + > +
    + + + + + > + + + + + + + + diff --git a/demo/registrazione-studente.html b/demo/registrazione-studente.html index 67f2743..415cc48 100644 --- a/demo/registrazione-studente.html +++ b/demo/registrazione-studente.html @@ -4,7 +4,7 @@ Iuav UI Library - + diff --git a/demo/sample-page.html b/demo/sample-page.html index c5fd348..654cb06 100644 --- a/demo/sample-page.html +++ b/demo/sample-page.html @@ -4,7 +4,7 @@ Iuav UI Library - + diff --git a/demo/servizi.html b/demo/servizi.html new file mode 100644 index 0000000..3e49724 --- /dev/null +++ b/demo/servizi.html @@ -0,0 +1,245 @@ + + + + + + Open Day + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    Qui puoi trovare le informazioni e i servizi per diventare una studentessa e uno studente Iuav.

    + + > +
    + + + +

    Studentesse e studenti già iscritti qui possono trovare le informazioni e i servizi utili per la carriera e gli studi universitari.

    + + > +
    + + + +

    Se ti sei già laureata o laureato qui potrai trovare le informazioni utili per proseguire gli studi nel nostro Ateneo, trovare occasioni di lavoro, conseguire l'abilitazione professionale o all'insegnamento e tanto altro.

    + + > +
    + + + +

    Nella Guida al dottorato trovi tutte le informazioni e i servizi che ti possono essere utili durante il tuo periodo di studio e di ricerca nel nostro Ateneo.

    + + > +
    + + + +

    I nostri docenti e ricercatori qui potranno trovare informazioni e servizi utili per la didattica, la ricerca la carriera professionale e la vita nella nostra Università.

    + + > +
    + + + +

    Il personale tecnico amministrativo di Iuav qui può trovare tutti i servizi e le informazioni per la carriera e la vita lavorativa.

    + + > +
    + + + +

    + Santa Croce 191, Tolentini
    + 30135 Venezia
    + C.F. 80009280274
    + P.Iva 00708670278 +

    +
    + + + + + + + + + + +
    + + + + \ No newline at end of file diff --git a/dist/iuav-ui.es.js b/dist/iuav-ui.es.js index c9723b9..591f6de 100644 --- a/dist/iuav-ui.es.js +++ b/dist/iuav-ui.es.js @@ -4663,30 +4663,46 @@ super(...arguments), this.items = []; } firstUpdated() { - new R(this.shadowRoot.querySelector(".swiper"), { + const i = this.shadowRoot?.querySelector(".swiper"), e = this.shadowRoot?.querySelector(".swiper-pagination"), t = this.shadowRoot?.querySelector(".swiper-button-next"), s = this.shadowRoot?.querySelector(".swiper-button-prev"); + if (!i || !e || !t || !s) { + console.error("Required Swiper elements not found"); + return; + } + this.swiper = new R(i, { modules: [on, en, tn], loop: !0, effect: "fade", - crossFade: !0, pagination: { - el: this.shadowRoot.querySelector(".swiper-pagination") + el: e, + clickable: !0, + renderBullet: (r, n) => `` }, navigation: { - nextEl: this.shadowRoot.querySelector(".swiper-button-next"), - prevEl: this.shadowRoot.querySelector(".swiper-button-prev") + nextEl: t, + prevEl: s + }, + on: { + slideChange: () => { + e.querySelectorAll("button").forEach((n, o) => { + n.setAttribute( + "aria-selected", + o === this.swiper?.realIndex ? "true" : "false" + ); + }); + } } }), requestAnimationFrame(() => { - const i = Math.floor(this.clientWidth / 1.5); - this.style.setProperty("--carousel-img-height", `${i}px`); + const r = Math.floor(this.clientWidth / 1.5); + this.style.setProperty("--carousel-img-height", `${r}px`); }); } render() { return w` -
    -
    +
    +