UNPKG

bootstrap-italia

Version:

Bootstrap Italia è un tema Bootstrap 5 per la creazione di applicazioni web nel pieno rispetto delle linee guida di design per i siti internet e i servizi digitali della PA

7 lines 1.03 MB
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).bootstrap=t()}(this,(function(){"use strict";!function(){const e={NODE_ENV:"production"};try{if(process)return process.env=Object.assign({},process.env),void Object.assign(process.env,e)}catch(e){}globalThis.process={env:e}}();const e="data-focus-mouse";class t{constructor(){this._usingMouse=!1,this._bindEvents()}_bindEvents(){if("undefined"==typeof document)return;["keydown","mousedown"].forEach((e=>{document.addEventListener(e,(e=>{this._usingMouse="mousedown"===e.type}))})),document.addEventListener("focusin",(t=>{this._usingMouse&&t.target&&t.target.setAttribute(e,!0)})),document.addEventListener("focusout",(t=>{t.target&&t.target.setAttribute(e,!1)}))}}new t;const i=()=>{"undefined"==typeof window||window.BOOTSTRAP_ITALIA_VERSION||(new t,window.BOOTSTRAP_ITALIA_VERSION="2.14.0")};i();const n={ck3:{}},s={rememberChoice:(e,t)=>{n.ck3[e]=t,localStorage.setItem("bs-ck3",JSON.stringify(n.ck3))},isChoiceRemembered:e=>(n.ck3=JSON.parse(localStorage.getItem("bs-ck3")||"{}"),n.ck3[e]||!1),clearAllRememberedChoices:()=>{localStorage.removeItem("bs-ck3")}};function r(e,t,i){return t&&function(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e} /*! * Splide.js * Version : 4.1.4 * License : MIT * Copyright: 2022 Naotoshi Fujita */var a="(prefers-reduced-motion: reduce)",o={CREATED:1,MOUNTED:2,IDLE:3,MOVING:4,SCROLLING:5,DRAGGING:6,DESTROYED:7};function l(e){e.length=0}function u(e,t,i){return Array.prototype.slice.call(e,t,i)}function c(e){return e.bind.apply(e,[null].concat(u(arguments,1)))}var d=setTimeout,h=function(){};function p(e){return requestAnimationFrame(e)}function f(e,t){return typeof t===e}function m(e){return!b(e)&&f("object",e)}var g=Array.isArray,y=c(f,"function"),_=c(f,"string"),v=c(f,"undefined");function b(e){return null===e}function T(e){try{return e instanceof(e.ownerDocument.defaultView||window).HTMLElement}catch(e){return!1}}function w(e){return g(e)?e:[e]}function S(e,t){w(e).forEach(t)}function E(e,t){return e.indexOf(t)>-1}function C(e,t){return e.push.apply(e,w(t)),e}function k(e,t,i){e&&S(t,(function(t){t&&e.classList[i?"add":"remove"](t)}))}function x(e,t){k(e,_(t)?t.split(" "):t,!0)}function I(e,t){S(t,e.appendChild.bind(e))}function A(e,t){S(e,(function(e){var i=(t||e).parentNode;i&&i.insertBefore(e,t)}))}function L(e,t){return T(e)&&(e.msMatchesSelector||e.matches).call(e,t)}function O(e,t){var i=e?u(e.children):[];return t?i.filter((function(e){return L(e,t)})):i}function P(e,t){return t?O(e,t)[0]:e.firstElementChild}var D=Object.keys;function M(e,t,i){return e&&(i?D(e).reverse():D(e)).forEach((function(i){"__proto__"!==i&&t(e[i],i)})),e}function N(e){return u(arguments,1).forEach((function(t){M(t,(function(i,n){e[n]=t[n]}))})),e}function R(e){return u(arguments,1).forEach((function(t){M(t,(function(t,i){g(t)?e[i]=t.slice():m(t)?e[i]=R({},m(e[i])?e[i]:{},t):e[i]=t}))})),e}function U(e,t){S(t||D(e),(function(t){delete e[t]}))}function F(e,t){S(e,(function(e){S(t,(function(t){e&&e.removeAttribute(t)}))}))}function B(e,t,i){m(t)?M(t,(function(t,i){B(e,i,t)})):S(e,(function(e){b(i)||""===i?F(e,t):e.setAttribute(t,String(i))}))}function j(e,t,i){var n=document.createElement(e);return t&&(_(t)?x(n,t):B(n,t)),i&&I(i,n),n}function $(e,t,i){if(v(i))return getComputedStyle(e)[t];b(i)||(e.style[t]=""+i)}function q(e,t){$(e,"display",t)}function V(e){e.setActive&&e.setActive()||e.focus({preventScroll:!0})}function H(e,t){return e.getAttribute(t)}function z(e,t){return e&&e.classList.contains(t)}function W(e){return e.getBoundingClientRect()}function G(e){S(e,(function(e){e&&e.parentNode&&e.parentNode.removeChild(e)}))}function X(e){return P((new DOMParser).parseFromString(e,"text/html").body)}function K(e,t){e.preventDefault(),t&&(e.stopPropagation(),e.stopImmediatePropagation())}function Y(e,t){return e&&e.querySelector(t)}function Q(e,t){return t?u(e.querySelectorAll(t)):[]}function J(e,t){k(e,t,!1)}function Z(e){return e.timeStamp}function ee(e){return _(e)?e:e?e+"px":""}var te="splide",ie="data-"+te;function ne(e,t){if(!e)throw new Error("["+te+"] "+(t||""))}var se=Math.min,re=Math.max,ae=Math.floor,oe=Math.ceil,le=Math.abs;function ue(e,t,i){return le(e-t)<i}function ce(e,t,i,n){var s=se(t,i),r=re(t,i);return n?s<e&&e<r:s<=e&&e<=r}function de(e,t,i){var n=se(t,i),s=re(t,i);return se(re(n,e),s)}function he(e){return+(e>0)-+(e<0)}function pe(e,t){return S(t,(function(t){e=e.replace("%s",""+t)})),e}function fe(e){return e<10?"0"+e:""+e}var me={};function ge(){var e=[];function t(e,t,i){S(e,(function(e){e&&S(t,(function(t){t.split(" ").forEach((function(t){var n=t.split(".");i(e,n[0],n[1])}))}))}))}return{bind:function(i,n,s,r){t(i,n,(function(t,i,n){var a="addEventListener"in t,o=a?t.removeEventListener.bind(t,i,s,r):t.removeListener.bind(t,s);a?t.addEventListener(i,s,r):t.addListener(s),e.push([t,i,n,s,o])}))},unbind:function(i,n,s){t(i,n,(function(t,i,n){e=e.filter((function(e){return!!(e[0]!==t||e[1]!==i||e[2]!==n||s&&e[3]!==s)||(e[4](),!1)}))}))},dispatch:function(e,t,i){var n,s=!0;return"function"==typeof CustomEvent?n=new CustomEvent(t,{bubbles:s,detail:i}):(n=document.createEvent("CustomEvent")).initCustomEvent(t,s,!1,i),e.dispatchEvent(n),n},destroy:function(){e.forEach((function(e){e[4]()})),l(e)}}}var ye="mounted",_e="ready",ve="move",be="moved",Te="click",we="active",Se="inactive",Ee="visible",Ce="hidden",ke="refresh",xe="updated",Ie="resize",Ae="resized",Le="scroll",Oe="scrolled",Pe="destroy",De="arrows:mounted",Me="navigation:mounted",Ne="autoplay:play",Re="autoplay:pause",Ue="lazyload:loaded",Fe="sk",Be="sh",je="ei";function $e(e){var t=e?e.event.bus:document.createDocumentFragment(),i=ge();return e&&e.event.on(Pe,i.destroy),N(i,{bus:t,on:function(e,n){i.bind(t,w(e).join(" "),(function(e){n.apply(n,g(e.detail)?e.detail:[])}))},off:c(i.unbind,t),emit:function(e){i.dispatch(t,e,u(arguments,1))}})}function qe(e,t,i,n){var s,r,a=Date.now,o=0,l=!0,u=0;function c(){if(!l){if(o=e?se((a()-s)/e,1):1,i&&i(o),o>=1&&(t(),s=a(),n&&++u>=n))return d();r=p(c)}}function d(){l=!0}function h(){r&&cancelAnimationFrame(r),o=0,r=0,l=!0}return{start:function(t){t||h(),s=a()-(t?o*e:0),l=!1,r=p(c)},rewind:function(){s=a(),o=0,i&&i(o)},pause:d,cancel:h,set:function(t){e=t},isPaused:function(){return l}}}var Ve="Arrow",He=Ve+"Left",ze=Ve+"Right",We=Ve+"Up",Ge=Ve+"Down",Xe="ttb",Ke={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[We,ze],ArrowRight:[Ge,He]};var Ye="role",Qe="tabindex",Je="aria-",Ze=Je+"controls",et=Je+"current",tt=Je+"selected",it=Je+"label",nt=Je+"labelledby",st=Je+"hidden",rt=Je+"orientation",at=Je+"roledescription",ot=Je+"live",lt=Je+"busy",ut=Je+"atomic",ct=[Ye,Qe,"disabled",Ze,et,it,nt,st,rt,at],dt=te+"__",ht="is-",pt=te,ft=dt+"track",mt=dt+"list",gt=dt+"slide",yt=gt+"--clone",_t=gt+"__container",vt=dt+"arrows",bt=dt+"arrow",Tt=bt+"--prev",wt=bt+"--next",St=dt+"pagination",Et=St+"__page",Ct=dt+"progress"+"__bar",kt=dt+"toggle",xt=dt+"sr",It=ht+"initialized",At=ht+"active",Lt=ht+"prev",Ot=ht+"next",Pt=ht+"visible",Dt=ht+"loading",Mt=ht+"focus-in",Nt=ht+"overflow",Rt=[At,Pt,Lt,Ot,Dt,Mt,Nt],Ut={slide:gt,clone:yt,arrows:vt,arrow:bt,prev:Tt,next:wt,pagination:St,page:Et,spinner:dt+"spinner"};var Ft="touchstart mousedown",Bt="touchmove mousemove",jt="touchend touchcancel mouseup click";var $t="slide",qt="loop",Vt="fade";function Ht(e,t,i,n){var s,r=$e(e),a=r.on,o=r.emit,l=r.bind,u=e.Components,d=e.root,h=e.options,p=h.isNavigation,f=h.updateOnMove,m=h.i18n,g=h.pagination,y=h.slideFocus,_=u.Direction.resolve,v=H(n,"style"),b=H(n,it),T=i>-1,w=P(n,"."+_t);function S(){var s=e.splides.map((function(e){var i=e.splide.Components.Slides.getAt(t);return i?i.slide.id:""})).join(" ");B(n,it,pe(m.slideX,(T?i:t)+1)),B(n,Ze,s),B(n,Ye,y?"button":""),y&&F(n,at)}function E(){s||C()}function C(){if(!s){var i=e.index;(r=x())!==z(n,At)&&(k(n,At,r),B(n,et,p&&r||""),o(r?we:Se,I)),function(){var t=function(){if(e.is(Vt))return x();var t=W(u.Elements.track),i=W(n),s=_("left",!0),r=_("right",!0);return ae(t[s])<=oe(i[s])&&ae(i[r])<=oe(t[r])}(),i=!t&&(!x()||T);e.state.is([4,5])||B(n,st,i||"");B(Q(n,h.focusableNodes||""),Qe,i?-1:""),y&&B(n,Qe,i?-1:0);t!==z(n,Pt)&&(k(n,Pt,t),o(t?Ee:Ce,I));if(!t&&document.activeElement===n){var s=u.Slides.getAt(e.index);s&&V(s.slide)}}(),k(n,Lt,t===i-1),k(n,Ot,t===i+1)}var r}function x(){var n=e.index;return n===t||h.cloneStatus&&n===i}var I={index:t,slideIndex:i,slide:n,container:w,isClone:T,mount:function(){T||(n.id=d.id+"-slide"+fe(t+1),B(n,Ye,g?"tabpanel":"group"),B(n,at,m.slide),B(n,it,b||pe(m.slideLabel,[t+1,e.length]))),l(n,"click",c(o,Te,I)),l(n,"keydown",c(o,Fe,I)),a([be,Be,Oe],C),a(Me,S),f&&a(ve,E)},destroy:function(){s=!0,r.destroy(),J(n,Rt),F(n,ct),B(n,"style",v),B(n,it,b||"")},update:C,style:function(e,t,i){$(i&&w||n,e,t)},isWithin:function(i,n){var s=le(i-t);return T||!h.rewind&&!e.is(qt)||(s=se(s,e.length-s)),s<=n}};return I}var zt=ie+"-interval";var Wt={passive:!1,capture:!0};var Gt={Spacebar:" ",Right:ze,Left:He,Up:We,Down:Ge};function Xt(e){return e=_(e)?e:e.key,Gt[e]||e}var Kt="keydown";var Yt=ie+"-lazy",Qt=Yt+"-srcset",Jt="["+Yt+"], ["+Qt+"]";var Zt=[" ","Enter"];var ei=Object.freeze({__proto__:null,Media:function(e,t,i){var n=e.state,s=i.breakpoints||{},r=i.reducedMotion||{},o=ge(),l=[];function u(e){e&&o.destroy()}function c(e,t){var i=matchMedia(t);o.bind(i,"change",d),l.push([e,i])}function d(){var t=n.is(7),s=i.direction,r=l.reduce((function(e,t){return R(e,t[1].matches?t[0]:{})}),{});U(i),h(r),i.destroy?e.destroy("completely"===i.destroy):t?(u(!0),e.mount()):s!==i.direction&&e.refresh()}function h(t,s,r){R(i,t),s&&R(Object.getPrototypeOf(i),t),!r&&n.is(1)||e.emit(xe,i)}return{setup:function(){var e="min"===i.mediaQuery;D(s).sort((function(t,i){return e?+t-+i:+i-+t})).forEach((function(t){c(s[t],"("+(e?"min":"max")+"-width:"+t+"px)")})),c(r,a),d()},destroy:u,reduce:function(e){matchMedia(a).matches&&(e?R(i,r):U(i,D(r)))},set:h}},Direction:function(e,t,i){return{resolve:function(e,t,n){var s="rtl"!==(n=n||i.direction)||t?n===Xe?0:-1:1;return Ke[e]&&Ke[e][s]||e.replace(/width|left|right/i,(function(e,t){var i=Ke[e.toLowerCase()][s]||e;return t>0?i.charAt(0).toUpperCase()+i.slice(1):i}))},orient:function(e){return e*("rtl"===i.direction?1:-1)}}},Elements:function(e,t,i){var n,s,r,a=$e(e),o=a.on,u=a.bind,c=e.root,d=i.i18n,h={},p=[],f=[],m=[];function g(){n=b("."+ft),s=P(n,"."+mt),ne(n&&s,"A track/list element is missing."),C(p,O(s,"."+gt+":not(."+yt+")")),M({arrows:vt,pagination:St,prev:Tt,next:wt,bar:Ct,toggle:kt},(function(e,t){h[t]=b("."+e)})),N(h,{root:c,track:n,list:s,slides:p}),function(){var e=c.id||(r=te,""+r+fe(me[r]=(me[r]||0)+1)),t=i.role;var r;c.id=e,n.id=n.id||e+"-track",s.id=s.id||e+"-list",!H(c,Ye)&&"SECTION"!==c.tagName&&t&&B(c,Ye,t);B(c,at,d.carousel),B(s,Ye,"presentation")}(),v()}function _(e){var t=ct.concat("style");l(p),J(c,f),J(n,m),F([n,s],t),F(c,e?t:["style",at])}function v(){J(c,f),J(n,m),f=T(pt),m=T(ft),x(c,f),x(n,m),B(c,it,i.label),B(c,nt,i.labelledby)}function b(e){var t=Y(c,e);return t&&function(e,t){if(y(e.closest))return e.closest(t);for(var i=e;i&&1===i.nodeType&&!L(i,t);)i=i.parentElement;return i}(t,"."+pt)===c?t:void 0}function T(e){return[e+"--"+i.type,e+"--"+i.direction,i.drag&&e+"--draggable",i.isNavigation&&e+"--nav",e===pt&&At]}return N(h,{setup:g,mount:function(){o(ke,_),o(ke,g),o(xe,v),u(document,Ft+" keydown",(function(e){r="keydown"===e.type}),{capture:!0}),u(c,"focusin",(function(){k(c,Mt,!!r)}))},destroy:_})},Slides:function(e,t,i){var n=$e(e),s=n.on,r=n.emit,a=n.bind,o=t.Elements,u=o.slides,d=o.list,h=[];function p(){u.forEach((function(e,t){m(e,t,-1)}))}function f(){v((function(e){e.destroy()})),l(h)}function m(t,i,n){var s=Ht(e,i,n,t);s.mount(),h.push(s),h.sort((function(e,t){return e.index-t.index}))}function g(e){return e?b((function(e){return!e.isClone})):h}function v(e,t){g(t).forEach(e)}function b(e){return h.filter(y(e)?e:function(t){return _(e)?L(t.slide,e):E(w(e),t.index)})}return{mount:function(){p(),s(ke,f),s(ke,p)},destroy:f,update:function(){v((function(e){e.update()}))},register:m,get:g,getIn:function(e){var n=t.Controller,s=n.toIndex(e),r=n.hasFocus()?1:i.perPage;return b((function(e){return ce(e.index,s,s+r-1)}))},getAt:function(e){return b(e)[0]},add:function(e,t){S(e,(function(e){if(_(e)&&(e=X(e)),T(e)){var n=u[t];n?A(e,n):I(d,e),x(e,i.classes.slide),s=e,o=c(r,Ie),l=Q(s,"img"),(h=l.length)?l.forEach((function(e){a(e,"load error",(function(){--h||o()}))})):o()}var s,o,l,h})),r(ke)},remove:function(e){G(b(e).map((function(e){return e.slide}))),r(ke)},forEach:v,filter:b,style:function(e,t,i){v((function(n){n.style(e,t,i)}))},getLength:function(e){return e?u.length:h.length},isEnough:function(){return h.length>i.perPage}}},Layout:function(e,t,i){var n,s,r,a=$e(e),o=a.on,l=a.bind,u=a.emit,d=t.Slides,h=t.Direction.resolve,p=t.Elements,f=p.root,g=p.track,y=p.list,_=d.getAt,v=d.style;function b(){n=i.direction===Xe,$(f,"maxWidth",ee(i.width)),$(g,h("paddingLeft"),w(!1)),$(g,h("paddingRight"),w(!0)),T(!0)}function T(e){var t=W(f);(e||s.width!==t.width||s.height!==t.height)&&($(g,"height",function(){var e="";n&&(ne(e=S(),"height or heightRatio is missing."),e="calc("+e+" - "+w(!1)+" - "+w(!0)+")");return e}()),v(h("marginRight"),ee(i.gap)),v("width",i.autoWidth?null:ee(i.fixedWidth)||(n?"":E())),v("height",ee(i.fixedHeight)||(n?i.autoHeight?null:E():S()),!0),s=t,u(Ae),r!==(r=O())&&(k(f,Nt,r),u("overflow",r)))}function w(e){var t=i.padding,n=h(e?"right":"left");return t&&ee(t[n]||(m(t)?0:t))||"0px"}function S(){return ee(i.height||W(y).width*i.heightRatio)}function E(){var e=ee(i.gap);return"calc((100%"+(e&&" + "+e)+")/"+(i.perPage||1)+(e&&" - "+e)+")"}function C(){return W(y)[h("width")]}function x(e,t){var i=_(e||0);return i?W(i.slide)[h("width")]+(t?0:L()):0}function I(e,t){var i=_(e);if(i){var n=W(i.slide)[h("right")],s=W(y)[h("left")];return le(n-s)+(t?0:L())}return 0}function A(t){return I(e.length-1)-I(0)+x(0,t)}function L(){var e=_(0);return e&&parseFloat($(e.slide,h("marginRight")))||0}function O(){return e.is(Vt)||A(!0)>C()}return{mount:function(){var e,t;b(),l(window,"resize load",(e=c(u,Ie),t=qe(0,e,null,1),function(){t.isPaused()&&t.start()})),o([xe,ke],b),o(Ie,T)},resize:T,listSize:C,slideSize:x,sliderSize:A,totalSize:I,getPadding:function(e){return parseFloat($(g,h("padding"+(e?"Right":"Left"))))||0},isOverflow:O}},Clones:function(e,t,i){var n,s=$e(e),r=s.on,a=t.Elements,o=t.Slides,u=t.Direction.resolve,c=[];function d(){r(ke,h),r([xe,Ie],f),(n=m())&&(!function(t){var n=o.get().slice(),s=n.length;if(s){for(;n.length<t;)C(n,n);C(n.slice(-t),n.slice(0,t)).forEach((function(r,l){var u=l<t,d=function(t,n){var s=t.cloneNode(!0);return x(s,i.classes.clone),s.id=e.root.id+"-clone"+fe(n+1),s}(r.slide,l);u?A(d,n[0].slide):I(a.list,d),C(c,d),o.register(d,l-t+(u?0:s),r.index)}))}}(n),t.Layout.resize(!0))}function h(){p(),d()}function p(){G(c),l(c),s.destroy()}function f(){var e=m();n!==e&&(n<e||!e)&&s.emit(ke)}function m(){var n=i.clones;if(e.is(qt)){if(v(n)){var s=i[u("fixedWidth")]&&t.Layout.slideSize(0);n=s&&oe(W(a.track)[u("width")]/s)||i[u("autoWidth")]&&e.length||2*i.perPage}}else n=0;return n}return{mount:d,destroy:p}},Move:function(e,t,i){var n,s=$e(e),r=s.on,a=s.emit,o=e.state.set,l=t.Layout,u=l.slideSize,c=l.getPadding,d=l.totalSize,h=l.listSize,p=l.sliderSize,f=t.Direction,m=f.resolve,g=f.orient,y=t.Elements,_=y.list,b=y.track;function T(){t.Controller.isBusy()||(t.Scroll.cancel(),w(e.index),t.Slides.update())}function w(e){S(x(e,!0))}function S(i,n){if(!e.is(Vt)){var s=n?i:function(i){if(e.is(qt)){var n=k(i),s=n>t.Controller.getEnd();(n<0||s)&&(i=E(i,s))}return i}(i);$(_,"transform","translate"+m("X")+"("+s+"px)"),i!==s&&a(Be)}}function E(e,t){var i=e-A(t),n=p();return e-=g(n*(oe(le(i)/n)||1))*(t?1:-1)}function C(){S(I(),!0),n.cancel()}function k(e){for(var i=t.Slides.get(),n=0,s=1/0,r=0;r<i.length;r++){var a=i[r].index,o=le(x(a,!0)-e);if(!(o<=s))break;s=o,n=a}return n}function x(t,n){var s=g(d(t-1)-function(e){var t=i.focus;return"center"===t?(h()-u(e,!0))/2:+t*u(e)||0}(t));return n?function(t){i.trimSpace&&e.is($t)&&(t=de(t,0,g(p(!0)-h())));return t}(s):s}function I(){var e=m("left");return W(_)[e]-W(b)[e]+g(c(!1))}function A(e){return x(e?t.Controller.getEnd():0,!!i.trimSpace)}return{mount:function(){n=t.Transition,r([ye,Ae,xe,ke],T)},move:function(e,t,i,s){var r,l;e!==t&&(r=e>i,l=g(E(I(),r)),r?l>=0:l<=_[m("scrollWidth")]-W(b)[m("width")])&&(C(),S(E(I(),e>i),!0)),o(4),a(ve,t,i,e),n.start(t,(function(){o(3),a(be,t,i,e),s&&s()}))},jump:w,translate:S,shift:E,cancel:C,toIndex:k,toPosition:x,getPosition:I,getLimit:A,exceededLimit:function(e,t){t=v(t)?I():t;var i=!0!==e&&g(t)<g(A(!1)),n=!1!==e&&g(t)>g(A(!0));return i||n},reposition:T}},Controller:function(e,t,i){var n,s,r,a,o=$e(e),l=o.on,u=o.emit,d=t.Move,h=d.getPosition,p=d.getLimit,f=d.toPosition,m=t.Slides,g=m.isEnough,y=m.getLength,b=i.omitEnd,T=e.is(qt),w=e.is($t),S=c(A,!1),E=c(A,!0),C=i.start||0,k=C;function x(){s=y(!0),r=i.perMove,a=i.perPage,n=P();var e=de(C,0,b?n:s-1);e!==C&&(C=e,d.reposition())}function I(){n!==P()&&u(je)}function A(e,t){var i=r||(R()?1:a),s=L(C+i*(e?-1:1),C,!(r||R()));return-1===s&&w&&!ue(h(),p(!e),1)?e?0:n:t?s:O(s)}function L(t,o,l){if(g()||R()){var u=function(t){if(w&&"move"===i.trimSpace&&t!==C)for(var n=h();n===f(t,!0)&&ce(t,0,e.length-1,!i.rewind);)t<C?--t:++t;return t}(t);u!==t&&(o=t,t=u,l=!1),t<0||t>n?t=r||!ce(0,t,o,!0)&&!ce(n,o,t,!0)?T?l?t<0?-(s%a||a):s:t:i.rewind?t<0?n:0:-1:D(M(t)):l&&t!==o&&(t=D(M(o)+(t<o?-1:1)))}else t=-1;return t}function O(e){return T?(e+s)%s||0:e}function P(){for(var e=s-(R()||T&&r?1:a);b&&e-- >0;)if(f(s-1,!0)!==f(e,!0)){e++;break}return de(e,0,s-1)}function D(e){return de(R()?e:a*e,0,n)}function M(e){return R()?se(e,n):ae((e>=n?s-1:e)/a)}function N(e){e!==C&&(k=C,C=e)}function R(){return!v(i.focus)||i.isNavigation}function U(){return e.state.is([4,5])&&!!i.waitForTransition}return{mount:function(){x(),l([xe,ke,je],x),l(Ae,I)},go:function(e,t,i){if(!U()){var s=function(e){var t=C;if(_(e)){var i=e.match(/([+\-<>])(\d+)?/)||[],s=i[1],r=i[2];"+"===s||"-"===s?t=L(C+ +(""+s+(+r||1)),C):">"===s?t=r?D(+r):S(!0):"<"===s&&(t=E(!0))}else t=T?e:de(e,0,n);return t}(e),r=O(s);r>-1&&(t||r!==C)&&(N(r),d.move(s,r,k,i))}},scroll:function(e,i,s,r){t.Scroll.scroll(e,i,s,(function(){var e=O(d.toIndex(h()));N(b?se(e,n):e),r&&r()}))},getNext:S,getPrev:E,getAdjacent:A,getEnd:P,setIndex:N,getIndex:function(e){return e?k:C},toIndex:D,toPage:M,toDest:function(e){var t=d.toIndex(e);return w?de(t,0,n):t},hasFocus:R,isBusy:U}},Arrows:function(e,t,i){var n,s,r=$e(e),a=r.on,o=r.bind,l=r.emit,u=i.classes,d=i.i18n,h=t.Elements,p=t.Controller,f=h.arrows,m=h.track,g=f,y=h.prev,_=h.next,v={};function b(){!function(){var e=i.arrows;!e||y&&_||(g=f||j("div",u.arrows),y=E(!0),_=E(!1),n=!0,I(g,[y,_]),!f&&A(g,m));y&&_&&(N(v,{prev:y,next:_}),q(g,e?"":"none"),x(g,s=vt+"--"+i.direction),e&&(a([ye,be,ke,Oe,je],C),o(_,"click",c(S,">")),o(y,"click",c(S,"<")),C(),B([y,_],Ze,m.id),l(De,y,_)))}(),a(xe,T)}function T(){w(),b()}function w(){r.destroy(),J(g,s),n?(G(f?[y,_]:g),y=_=null):F([y,_],ct)}function S(e){p.go(e,!0)}function E(e){return X('<button class="'+u.arrow+" "+(e?u.prev:u.next)+'" type="button"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" width="40" height="40" focusable="false"><path d="'+(i.arrowPath||"m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z")+'" />')}function C(){if(y&&_){var t=e.index,i=p.getPrev(),n=p.getNext(),s=i>-1&&t<i?d.last:d.prev,r=n>-1&&t>n?d.first:d.next;y.disabled=i<0,_.disabled=n<0,B(y,it,s),B(_,it,r),l("arrows:updated",y,_,i,n)}}return{arrows:v,mount:b,destroy:w,update:C}},Autoplay:function(e,t,i){var n,s,r=$e(e),a=r.on,o=r.bind,l=r.emit,u=qe(i.interval,e.go.bind(e,">"),(function(e){var t=d.bar;t&&$(t,"width",100*e+"%"),l("autoplay:playing",e)})),c=u.isPaused,d=t.Elements,h=t.Elements,p=h.root,f=h.toggle,m=i.autoplay,g="pause"===m;function y(){c()&&t.Slides.isEnough()&&(u.start(!i.resetProgress),s=n=g=!1,b(),l(Ne))}function _(e){void 0===e&&(e=!0),g=!!e,b(),c()||(u.pause(),l(Re))}function v(){g||(n||s?_(!1):y())}function b(){f&&(k(f,At,!g),B(f,it,i.i18n[g?"play":"pause"]))}function T(e){var n=t.Slides.getAt(e);u.set(n&&+H(n.slide,zt)||i.interval)}return{mount:function(){m&&(!function(){i.pauseOnHover&&o(p,"mouseenter mouseleave",(function(e){n="mouseenter"===e.type,v()}));i.pauseOnFocus&&o(p,"focusin focusout",(function(e){s="focusin"===e.type,v()}));f&&o(f,"click",(function(){g?y():_(!0)}));a([ve,Le,ke],u.rewind),a(ve,T)}(),f&&B(f,Ze,d.track.id),g||y(),b())},destroy:u.cancel,play:y,pause:_,isPaused:c}},Cover:function(e,t,i){var n=$e(e).on;function s(e){t.Slides.forEach((function(t){var i=P(t.container||t.slide,"img");i&&i.src&&r(e,i,t)}))}function r(e,t,i){i.style("background",e?'center/cover no-repeat url("'+t.src+'")':"",!0),q(t,e?"none":"")}return{mount:function(){i.cover&&(n(Ue,c(r,!0)),n([ye,xe,ke],c(s,!0)))},destroy:c(s,!1)}},Scroll:function(e,t,i){var n,s,r=$e(e),a=r.on,o=r.emit,l=e.state.set,u=t.Move,d=u.getPosition,h=u.getLimit,p=u.exceededLimit,f=u.translate,m=e.is($t),g=1;function y(e,i,r,a,h){var f=d();if(b(),r&&(!m||!p())){var y=t.Layout.sliderSize(),T=he(e)*y*ae(le(e)/y)||0;e=u.toPosition(t.Controller.toDest(e%y))+T}var w=ue(f,e,1);g=1,i=w?0:i||re(le(e-f)/1.5,800),s=a,n=qe(i,_,c(v,f,e,h),1),l(5),o(Le),n.start()}function _(){l(3),s&&s(),o(Oe)}function v(e,t,n,r){var a,o,l=d(),u=(e+(t-e)*(a=r,(o=i.easingFunc)?o(a):1-Math.pow(1-a,4))-l)*g;f(l+u),m&&!n&&p()&&(g*=.6,le(u)<10&&y(h(p(!0)),600,!1,s,!0))}function b(){n&&n.cancel()}function T(){n&&!n.isPaused()&&(b(),_())}return{mount:function(){a(ve,b),a([xe,ke],T)},destroy:b,scroll:y,cancel:T}},Drag:function(e,t,i){var n,s,r,a,o,l,u,c,d=$e(e),p=d.on,f=d.emit,g=d.bind,y=d.unbind,_=e.state,v=t.Move,b=t.Scroll,T=t.Controller,w=t.Elements.track,S=t.Media.reduce,E=t.Direction,C=E.resolve,k=E.orient,x=v.getPosition,I=v.exceededLimit,A=!1;function O(){var e=i.drag;q(!e),a="free"===e}function P(e){if(l=!1,!u){var t=$(e);n=e.target,s=i.noDrag,L(n,"."+Et+", ."+bt)||s&&L(n,s)||!t&&e.button||(T.isBusy()?K(e,!0):(c=t?w:window,o=_.is([4,5]),r=null,g(c,Bt,D,Wt),g(c,jt,M,Wt),v.cancel(),b.cancel(),R(e)))}var n,s}function D(t){if(_.is(6)||(_.set(6),f("drag")),t.cancelable)if(o){v.translate(n+U(t)/(A&&e.is($t)?5:1));var s=F(t)>200,r=A!==(A=I());(s||r)&&R(t),l=!0,f("dragging"),K(t)}else(function(e){return le(U(e))>le(U(e,!0))})(t)&&(o=function(e){var t=i.dragMinThreshold,n=m(t),s=n&&t.mouse||0,r=(n?t.touch:+t)||10;return le(U(e))>($(e)?r:s)}(t),K(t))}function M(n){_.is(6)&&(_.set(3),f("dragged")),o&&(!function(n){var s=function(t){if(e.is(qt)||!A){var i=F(t);if(i&&i<200)return U(t)/i}return 0}(n),r=function(e){return x()+he(e)*se(le(e)*(i.flickPower||600),a?1/0:t.Layout.listSize()*(i.flickMaxPages||1))}(s),o=i.rewind&&i.rewindByDrag;S(!1),a?T.scroll(r,0,i.snap):e.is(Vt)?T.go(k(he(s))<0?o?"<":"-":o?">":"+"):e.is($t)&&A&&o?T.go(I(!0)?">":"<"):T.go(T.toDest(r),!0);S(!0)}(n),K(n)),y(c,Bt,D),y(c,jt,M),o=!1}function N(e){!u&&l&&K(e,!0)}function R(e){r=s,s=e,n=x()}function U(e,t){return j(e,t)-j(B(e),t)}function F(e){return Z(e)-Z(B(e))}function B(e){return s===e&&r||s}function j(e,t){return($(e)?e.changedTouches[0]:e)["page"+C(t?"Y":"X")]}function $(e){return"undefined"!=typeof TouchEvent&&e instanceof TouchEvent}function q(e){u=e}return{mount:function(){g(w,Bt,h,Wt),g(w,jt,h,Wt),g(w,Ft,P,Wt),g(w,"click",N,{capture:!0}),g(w,"dragstart",K),p([ye,xe],O)},disable:q,isDragging:function(){return o}}},Keyboard:function(e,t,i){var n,s,r=$e(e),a=r.on,o=r.bind,l=r.unbind,u=e.root,c=t.Direction.resolve;function h(){var e=i.keyboard;e&&(n="global"===e?window:u,o(n,Kt,m))}function p(){l(n,Kt)}function f(){var e=s;s=!0,d((function(){s=e}))}function m(t){if(!s){var i=Xt(t);i===c(He)?e.go("<"):i===c(ze)&&e.go(">")}}return{mount:function(){h(),a(xe,p),a(xe,h),a(ve,f)},destroy:p,disable:function(e){s=e}}},LazyLoad:function(e,t,i){var n=$e(e),s=n.on,r=n.off,a=n.bind,o=n.emit,u="sequential"===i.lazyLoad,d=[be,Oe],h=[];function p(){l(h),t.Slides.forEach((function(e){Q(e.slide,Jt).forEach((function(t){var n=H(t,Yt),s=H(t,Qt);if(n!==t.src||s!==t.srcset){var r=i.classes.spinner,a=t.parentElement,o=P(a,"."+r)||j("span",r,a);h.push([t,e,o]),t.src||q(t,"none")}}))})),u?y():(r(d),s(d,f),f())}function f(){(h=h.filter((function(t){var n=i.perPage*((i.preloadPages||1)+1)-1;return!t[1].isWithin(e.index,n)||m(t)}))).length||r(d)}function m(e){var t=e[0];x(e[1].slide,Dt),a(t,"load error",c(g,e)),B(t,"src",H(t,Yt)),B(t,"srcset",H(t,Qt)),F(t,Yt),F(t,Qt)}function g(e,t){var i=e[0],n=e[1];J(n.slide,Dt),"error"!==t.type&&(G(e[2]),q(i,""),o(Ue,i,n),o(Ie)),u&&y()}function y(){h.length&&m(h.shift())}return{mount:function(){i.lazyLoad&&(p(),s(ke,p))},destroy:c(l,h),check:f}},Pagination:function(e,t,i){var n,s,r=$e(e),a=r.on,o=r.emit,d=r.bind,h=t.Slides,p=t.Elements,f=t.Controller,m=f.hasFocus,g=f.getIndex,y=f.go,_=t.Direction.resolve,v=p.pagination,b=[];function T(){n&&(G(v?u(n.children):n),J(n,s),l(b),n=null),r.destroy()}function w(e){y(">"+e,!0)}function S(e,t){var i=b.length,n=Xt(t),s=E(),r=-1;n===_(ze,!1,s)?r=++e%i:n===_(He,!1,s)?r=(--e+i)%i:"Home"===n?r=0:"End"===n&&(r=i-1);var a=b[r];a&&(V(a.button),y(">"+r),K(t,!0))}function E(){return i.paginationDirection||i.direction}function C(e){return b[f.toPage(e)]}function k(){var e=C(g(!0)),t=C(g());if(e){var i=e.button;J(i,At),F(i,tt),B(i,Qe,-1)}if(t){var s=t.button;x(s,At),B(s,tt,!0),B(s,Qe,"")}o("pagination:updated",{list:n,items:b},e,t)}return{items:b,mount:function t(){T(),a([xe,ke,je],t);var r=i.pagination;v&&q(v,r?"":"none"),r&&(a([ve,Le,Oe],k),function(){var t=e.length,r=i.classes,a=i.i18n,o=i.perPage,l=m()?f.getEnd()+1:oe(t/o);x(n=v||j("ul",r.pagination,p.track.parentElement),s=St+"--"+E()),B(n,Ye,"tablist"),B(n,it,a.select),B(n,rt,E()===Xe?"vertical":"");for(var u=0;u<l;u++){var g=j("li",null,n),y=j("button",{class:r.page,type:"button"},g),_=h.getIn(u).map((function(e){return e.slide.id})),T=!m()&&o>1?a.pageX:a.slideX;d(y,"click",c(w,u)),i.paginationKeyboard&&d(y,"keydown",c(S,u)),B(g,Ye,"presentation"),B(y,Ye,"tab"),B(y,Ze,_.join(" ")),B(y,it,pe(T,u+1)),B(y,Qe,-1),b.push({li:g,button:y,page:u})}}(),k(),o("pagination:mounted",{list:n,items:b},C(e.index)))},destroy:T,getAt:C,update:k}},Sync:function(e,t,i){var n=i.isNavigation,s=i.slideFocus,r=[];function a(){e.splides.forEach((function(t){t.isParent||(u(e,t.splide),u(t.splide,e))})),n&&function(){var t=$e(e),i=t.on;i(Te,h),i(Fe,p),i([ye,xe],d),r.push(t),t.emit(Me,e.splides)}()}function o(){r.forEach((function(e){e.destroy()})),l(r)}function u(e,t){var i=$e(e);i.on(ve,(function(e,i,n){t.go(t.is(qt)?n:e)})),r.push(i)}function d(){B(t.Elements.list,rt,i.direction===Xe?"vertical":"")}function h(t){e.go(t.index)}function p(e,t){E(Zt,Xt(t))&&(h(e),K(t))}return{setup:c(t.Media.set,{slideFocus:v(s)?n:s},!0),mount:a,destroy:o,remount:function(){o(),a()}}},Wheel:function(e,t,i){var n=$e(e).bind,s=0;function r(n){if(n.cancelable){var r=n.deltaY,a=r<0,o=Z(n),l=i.wheelMinThreshold||0,u=i.wheelSleep||0;le(r)>l&&o-s>u&&(e.go(a?"<":">"),s=o),function(n){return!i.releaseWheel||e.state.is(4)||-1!==t.Controller.getAdjacent(n)}(a)&&K(n)}}return{mount:function(){i.wheel&&n(t.Elements.track,"wheel",r,Wt)}}},Live:function(e,t,i){var n=$e(e).on,s=t.Elements.track,r=i.live&&!i.isNavigation,a=j("span",xt),o=qe(90,c(l,!1));function l(e){B(s,lt,e),e?(I(s,a),o.start()):(G(a),o.cancel())}function u(e){r&&B(s,ot,e?"off":"polite")}return{mount:function(){r&&(u(!t.Autoplay.isPaused()),B(s,ut,!0),a.textContent="…",n(Ne,c(u,!0)),n(Re,c(u,!1)),n([be,Oe],c(l,!0)))},disable:u,destroy:function(){F(s,[ot,ut,lt]),G(a)}}}}),ti={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:Ut,i18n:{prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function ii(e,t,i){var n=t.Slides;function s(){n.forEach((function(e){e.style("transform","translateX(-"+100*e.index+"%)")}))}return{mount:function(){$e(e).on([ye,ke],s)},start:function(e,t){n.style("transition","opacity "+i.speed+"ms "+i.easing),d(t)},cancel:h}}function ni(e,t,i){var n,s=t.Move,r=t.Controller,a=t.Scroll,o=t.Elements.list,l=c($,o,"transition");function u(){l(""),a.cancel()}return{mount:function(){$e(e).bind(o,"transitionend",(function(e){e.target===o&&n&&(u(),n())}))},start:function(t,o){var u=s.toPosition(t,!0),c=s.getPosition(),d=function(t){var n=i.rewindSpeed;if(e.is($t)&&n){var s=r.getIndex(!0),a=r.getEnd();if(0===s&&t>=a||s>=a&&0===t)return n}return i.speed}(t);le(u-c)>=1&&d>=1?i.useScroll?a.scroll(u,d,!1,o):(l("transform "+d+"ms "+i.easing),s.translate(u,!0),n=o):(s.jump(t),o())},cancel:u}}var si=function(){function e(t,i){var n;this.event=$e(),this.Components={},this.state=(n=1,{set:function(e){n=e},is:function(e){return E(w(e),n)}}),this.splides=[],this._o={},this._E={};var s=_(t)?Y(document,t):t;ne(s,s+" is invalid."),this.root=s,i=R({label:H(s,it)||"",labelledby:H(s,nt)||""},ti,e.defaults,i||{});try{R(i,JSON.parse(H(s,ie)))}catch(e){ne(!1,"Invalid JSON")}this._o=Object.create(R({},i))}var t=e.prototype;return t.mount=function(e,t){var i=this,n=this.state,s=this.Components;return ne(n.is([1,7]),"Already mounted!"),n.set(1),this._C=s,this._T=t||this._T||(this.is(Vt)?ii:ni),this._E=e||this._E,M(N({},ei,this._E,{Transition:this._T}),(function(e,t){var n=e(i,s,i._o);s[t]=n,n.setup&&n.setup()})),M(s,(function(e){e.mount&&e.mount()})),this.emit(ye),x(this.root,It),n.set(3),this.emit(_e),this},t.sync=function(e){return this.splides.push({splide:e}),e.splides.push({splide:this,isParent:!0}),this.state.is(3)&&(this._C.Sync.remount(),e.Components.Sync.remount()),this},t.go=function(e){return this._C.Controller.go(e),this},t.on=function(e,t){return this.event.on(e,t),this},t.off=function(e){return this.event.off(e),this},t.emit=function(e){var t;return(t=this.event).emit.apply(t,[e].concat(u(arguments,1))),this},t.add=function(e,t){return this._C.Slides.add(e,t),this},t.remove=function(e){return this._C.Slides.remove(e),this},t.is=function(e){return this._o.type===e},t.refresh=function(){return this.emit(ke),this},t.destroy=function(e){void 0===e&&(e=!0);var t=this.event,i=this.state;return i.is(1)?$e(this).on(_e,this.destroy.bind(this,e)):(M(this._C,(function(t){t.destroy&&t.destroy(e)}),!0),t.emit(Pe),t.destroy(),e&&l(this.splides),i.set(7)),this},r(e,[{key:"options",get:function(){return this._o},set:function(e){this._C.Media.set(e,!0,!0)}},{key:"length",get:function(){return this._C.Slides.getLength(!0)}},{key:"index",get:function(){return this._C.Controller.getIndex()}}]),e}(),ri=si;ri.defaults={},ri.STATES=o;const ai=new Map,oi={set(e,t,i){ai.has(e)||ai.set(e,new Map);const n=ai.get(e);n.has(t)||0===n.size?n.set(t,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`)},get:(e,t)=>ai.has(e)&&ai.get(e).get(t)||null,remove(e,t){if(!ai.has(e))return;const i=ai.get(e);i.delete(t),0===i.size&&ai.delete(e)}},li="transitionend",ui=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let i=e.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i=`#${i.split("#")[1]}`),t=i&&"#"!==i?i.trim():null}return t},ci=e=>{const t=ui(e);return t&&document.querySelector(t)?t:null},di=e=>{const t=ui(e);return t?document.querySelector(t):null},hi=e=>!(!e||"object"!=typeof e)&&void 0!==e.nodeType,pi=e=>hi(e)?e:"string"==typeof e&&e.length>0?document.querySelector(e):null,fi=e=>{if(!hi(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),i=e.closest("details:not([open])");if(!i)return t;if(i!==e){const t=e.closest("summary");if(t&&t.parentNode!==i)return!1;if(null===t)return!1}return t},mi=e=>!e||e.nodeType!==Node.ELEMENT_NODE||(!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled"))),gi=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?gi(e.parentNode):null},yi=()=>{},_i=e=>{e.offsetHeight},vi=()=>"undefined"!=typeof window&&"undefined"!=typeof document&&"rtl"===document.documentElement.dir,bi=e=>{"function"==typeof e&&e()},Ti=(e,t,i=!0)=>{if(!i)return void bi(e);const n=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:i}=window.getComputedStyle(e);const n=Number.parseFloat(t),s=Number.parseFloat(i);return n||s?(t=t.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(i))):0})(t)+5;let s=!1;const r=({target:i})=>{i===t&&(s=!0,t.removeEventListener(li,r),bi(e))};t.addEventListener(li,r),setTimeout((()=>{s||t.dispatchEvent(new Event(li))}),n)},wi=(e,t,i,n)=>{const s=e.length;let r=e.indexOf(t);return-1===r?!i&&n?e[s-1]:e[0]:(r+=i?1:-1,n&&(r=(r+s)%s),e[Math.max(0,Math.min(r,s-1))])},Si=/[^.]*(?=\..*)\.|.*/,Ei=/\..*/,Ci=/::\d+$/,ki={};let xi=1;const Ii={mouseenter:"mouseover",mouseleave:"mouseout"},Ai=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function Li(e,t){return t&&`${t}::${xi++}`||e.uidEvent||xi++}function Oi(e){const t=Li(e);return e.uidEvent=t,ki[t]=ki[t]||{},ki[t]}function Pi(e,t,i=null){return Object.values(e).find((e=>e.callable===t&&e.delegationSelector===i))}function Di(e,t,i){const n="string"==typeof t,s=n?i:t||i;let r=function(e){return e=e.replace(Ei,""),Ii[e]||e}(e);return Ai.has(r)||(r=e),[n,s,r]}function Mi(e,t,i,n,s){if("string"!=typeof t||!e)return;let[r,a,o]=Di(t,i,n);if(t in Ii){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};a=e(a)}const l=Oi(e),u=l[o]||(l[o]={}),c=Pi(u,a,r?i:null);if(c)return void(c.oneOff=c.oneOff&&s);const d=Li(a,t.replace(Si,"")),h=r?function(e,t,i){return function n(s){const r=e.querySelectorAll(t);for(let{target:a}=s;a&&a!==this;a=a.parentNode)for(const o of r)if(o===a)return Fi(s,{delegateTarget:a}),n.oneOff&&Ui.off(e,s.type,t,i),i.apply(a,[s])}}(e,i,a):function(e,t){return function i(n){return Fi(n,{delegateTarget:e}),i.oneOff&&Ui.off(e,n.type,t),t.apply(e,[n])}}(e,a);h.delegationSelector=r?i:null,h.callable=a,h.oneOff=s,h.uidEvent=d,u[d]=h,e.addEventListener(o,h,r)}function Ni(e,t,i,n,s){const r=Pi(t[i],n,s);r&&(e.removeEventListener(i,r,Boolean(s)),delete t[i][r.uidEvent])}function Ri(e,t,i,n){const s=t[i]||{};for(const r of Object.keys(s))if(r.includes(n)){const n=s[r];Ni(e,t,i,n.callable,n.delegationSelector)}}const Ui={on(e,t,i,n){Mi(e,t,i,n,!1)},one(e,t,i,n){Mi(e,t,i,n,!0)},off(e,t,i,n){if("string"!=typeof t||!e)return;const[s,r,a]=Di(t,i,n),o=a!==t,l=Oi(e),u=l[a]||{},c=t.startsWith(".");if(void 0===r){if(c)for(const i of Object.keys(l))Ri(e,l,i,t.slice(1));for(const i of Object.keys(u)){const n=i.replace(Ci,"");if(!o||t.includes(n)){const t=u[i];Ni(e,l,a,t.callable,t.delegationSelector)}}}else{if(!Object.keys(u).length)return;Ni(e,l,a,r,s?i:null)}},trigger(e,t,i){if("string"!=typeof t||!e)return null;let n=new Event(t,{bubbles:!0,cancelable:!0});return n=Fi(n,i),e.dispatchEvent(n),n}};function Fi(e,t){for(const[i,n]of Object.entries(t||{}))try{e[i]=n}catch{Object.defineProperty(e,i,{configurable:!0,get:()=>n})}return e}function Bi(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch{return e}}function ji(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}const $i={setDataAttribute(e,t,i){e.setAttribute(`data-bs-${ji(t)}`,i)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${ji(t)}`)},getDataAttributes(e){if(!e)return{};const t={},i=Object.keys(e.dataset).filter((e=>e.startsWith("bs")&&!e.startsWith("bsConfig")));for(const n of i){let i=n.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length),t[i]=Bi(e.dataset[n])}return t},getDataAttribute:(e,t)=>Bi(e.getAttribute(`data-bs-${ji(t)}`))};let qi=class{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const i=hi(t)?$i.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof i?i:{},...hi(t)?$i.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const n of Object.keys(t)){const s=t[n],r=e[n],a=hi(r)?"element":null==(i=r)?`${i}`:Object.prototype.toString.call(i).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(s).test(a))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${a}" but expected type "${s}".`)}var i}};class Vi extends qi{constructor(e,t){super(),(e=pi(e))&&(this._element=e,this._config=this._getConfig(t),oi.set(this._element,this.constructor.DATA_KEY,this))}dispose(){oi.remove(this._element,this.constructor.DATA_KEY),Ui.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,i=!0){Ti(e,t,i)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return oi.get(pi(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.2.3"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const Hi={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter((e=>e.matches(t))),parents(e,t){const i=[];let n=e.parentNode.closest(t);for(;n;)i.push(n),n=n.parentNode.closest(t);return i},prev(e,t){let i=e.previousElementSibling;for(;i;){if(i.matches(t))return[i];i=i.previousElementSibling}return[]},next(e,t){let i=e.nextElementSibling;for(;i;){if(i.matches(t))return[i];i=i.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((e=>`${e}:not([tabindex^="-"])`)).join(",");return this.find(t,e).filter((e=>!mi(e)&&fi(e)))}},zi={slideFocus:!1,rewind:!0,perMove:1,i18n:{prev:"Slide precedente",next:"Slide successiva",first:"Vai alla prima slide",last:"Vai all’ultima slide",slideX:"Vai alla slide %s",pageX:"Vai a pagina %s",play:"Attiva autoplay",pause:"Pausa autoplay",carousel:"Carosello",select:"Seleziona una slide da mostrare",slide:"slide",slideLabel:"%s di %s"}},Wi={"it-carousel-landscape-abstract-three-cols":{type:"slide",perPage:3,gap:24,padding:{left:0,right:0},arrows:!1,breakpoints:{768:{perPage:1,gap:24,padding:{left:0,right:0},arrows:!1},992:{perPage:2,gap:24,padding:{left:40,right:40},arrows:!1}}},"it-carousel-landscape-abstract-three-cols-arrow-visible":{type:"slide",perPage:3,gap:24,padding:{left:0,right:0},arrows:!0,breakpoints:{768:{perPage:1,gap:24,padding:{left:40,right:40},arrows:!0},992:{perPage:2,gap:24,padding:{left:40,right:40},arrows:!0}}},"it-big-img":{type:"loop",perPage:1,gap:48,padding:{left:320,right:320},arrows:!1,breakpoints:{768:{perPage:1,gap:0,padding:{left:0,right:0},arrows:!1},992:{perPage:1,gap:24,padding:{left:160,right:160},arrows:!1}}},"it-standard-image":{type:"loop",perPage:3,gap:24,padding:{left:48,right:48},arrows:!1,breakpoints:{768:{perPage:1,gap:24,padding:{left:40,right:40},arrows:!1},992:{perPage:2,gap:24,padding:{left:48,right:48},arrows:!1}}},"it-carousel-landscape-abstract":{type:"slide",perPage:1,gap:24,padding:{left:0,right:0},arrows:!1,breakpoints:{768:{perPage:1,gap:24,padding:{left:0,right:0},arrows:!1},992:{perPage:1,gap:24,padding:{left:24,right:24},arrows:!1}}},"it-calendar-wrapper":{type:"slide",perPage:4,gap:0,padding:{left:0,right:0},arrows:!1,breakpoints:{560:{perPage:1,gap:0,padding:{left:24,right:24},arrows:!1},768:{perPage:2,gap:0,padding:{left:0,right:0},arrows:!1},992:{perPage:3,gap:0,padding:{left:0,right:0},arrows:!1}}}};class Gi extends Vi{constructor(e){super(e),this._config=this._getConfig(),this._splide=new ri(this._element,this._config),this._init()}dispose(){this._splide.destroy(),super.dispose()}static get NAME(){return"carousel"}_init(){this._splide.mount()}_getConfig(){let e=Object.assign({},zi);return Object.keys(Wi).forEach((t=>{this._element.classList.contains(t)&&(e=Object.assign({},e,Wi[t]))})),e}}"undefined"!=typeof window&&"undefined"!=typeof document&&Ui.on(window,"load.bs.carousel.data-api",(()=>{Hi.find("[data-bs-carousel-splide]").forEach((e=>{Gi.getOrCreateInstance(e)}))}));const Xi=".bs.inputlabel",Ki=`focus${Xi}`,Yi=`blur${Xi}`,Qi=`change${Xi}`,Ji="active";class Zi{constructor(e){this._element=e,this._init()}static get NAME(){return"inputlabel"}static getInputFromLabel=e=>{if("undefined"!=typeof window&&"undefined"!=typeof document)return document.querySelector("#"+CSS.escape(e.getAttribute("for")))};_init(){const e=this._getLabel();e&&!e.classList.contains(Ji)&&(this._labelOut(),this._labelOver()),e&&null===e.getAttribute("it-bs-static")&&this._bindEvents()}_bindEvents(){["date","time"].includes(this._element.getAttribute("type"))||("file"===this._element.getAttribute("type")?Ui.on(this._element,Yi,(()=>{this._labelOut()})):(Ui.on(this._element,Ki,(()=>{this._labelOut()})),Ui.on(this._element,Yi,(()=>{this._labelOver()})),Ui.on(this._element,Qi,(()=>{this._labelToggle()}))))}_getLabel(){return Hi.findOne('label[for="'+this._element.getAttribute("id")+'"]')}_isEmpty(){return"number"===this._element.getAttribute("type")?!this._element.value&&!this._element.getAttribute("placeholder")&&!this._element.validity.badInput:!this._element.value&&!this._element.getAttribute("placeholder")}_labelOut(){const e=this._getLabel();e&&e.classList.add(Ji)}_labelOver(){if(this._isEmpty()){const e=this._getLabel();e&&e.classList.remove(Ji)}}_labelToggle(){this._isEmpty()?this._labelOver():this._labelOut()}}const en=".bs.inputnumber",tn=`click${en}`,nn=`change${en}`,sn=`click${en}.data-api`,rn=".input-number",an='input[data-bs-input][type="number"]',on='button[class^="input-number-"]';class ln extends Vi{constructor(e){super(e),this._wrapperElement=this._element.closest(rn),this._label=new Zi(e),this._init(),this._bindEvents()}static get NAME(){return"inputnumber"}_init(){this._wrapperElement&&this._inputResize()}_bindEvents(){this._wrapperElement&&(Hi.find(on,this._wrapperElement).forEach((e=>{Ui.on(e,tn,(t=>{t.preventDefault(),this._incrDecr(e.classList.contains("input-number-sub")),this._label._labelOut()}))})),Ui.on(this._element,nn,(()=>this._checkLimit())))}_inputResize(){if(this._wrapperElement.classList.contains("input-number-adaptive")){let e=null;e="calc(70px + "+this._element.value.length+"ch)",e&&(this._element.style.width=e)}}_incrDecr(e){let t=0;if(!this._element.disabled&&!this._element.readonly&&(""!==this._element.value&&(t=parseFloat(this._element.value)),!isNaN(t))){let i=parseFloat(this._element.getAttribute("step"));i||(i=1),this._element.value=t+i*(e?-1:1),Ui.trigger(this._element,nn),Ui.trigger(this._element,"input")}}_checkLimit(){const e=parseFloat(this._element.value);if(!isNaN(e)){let t=e;const i=parseFloat(this._element.getAttribute("max")),n=parseFloat(this._element.getAttribute("min"));n&&e<n&&(t=n),i&&e>i&&(t=i),this._element.value=t}this._inputResize()}}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(an+", label").forEach((function(e){const t=Zi.getInputFromLabel(e)||e;var i;(i=t)&&i.matches(an)&&i.parentNode.querySelector(on)&&ln.getOrCreateInstance(i)}))})),Ui.on(document,sn,on,(function(){const e=this.closest(rn);if(e){const t=Hi.findOne(an,e);t&&ln.getOrCreateInstance(t)}})));const un="show";class cn extends Vi{constructor(e){super(e),this._isShown=!e.matches("[aria-hidden=true]"),this._isTransitioning=!1}static get NAME(){return"dimmer"}show(){this._isShown||this._isTransitioning||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._showElement())}hide(){if(!this._isShown||this._isTransitioning)return;this._isShown=!1;const e=this._isAnimated();e&&(this._isTransitioning=!0),this._element.classList.remove(un),this._queueCallback((()=>this._hideElement()),this._element,e)}_isAnimated(){return this._element.classList.contains("fade")}_showElement(){const e=this._isAnimated();this._element.removeAttribute("aria-hidden"),e&&_i(this._element),this._element.classList.add(un);this._queueCallback((()=>{this._isTransitioning=!1}),this._element,e)}_hideElement(){this._element.setAttribute("aria-hidden",!0),this._isTransitioning=!1}}"undefined"!=typeof window&&"undefined"!=typeof document&&Ui.on(document,"click.bs.dimmer.data-api",'[data-bs-toggle="dimmer"]',(function(){const e=di(this),t=cn.getOrCreateInstance(e);this.checked?t.show():t.hide()}));const dn=(e,t="hide")=>{const i=`click.dismiss${e.EVENT_KEY}`,n=e.NAME;Ui.on(document,i,`[data-bs-dismiss="${n}"]`,(function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),mi(this))return;const s=di(this)||this.closest(`.${n}`);e.getOrCreateInstance(s)[t]()}))},hn=".bs.notification",pn=`click${hn}.data-api`,fn=`hidden${hn}`,mn=`show${hn}`,gn={timeout:0},yn="show";class _n extends Vi{constructor(e,t){super(e),this._config=this._getConfig(t),this._isShown=this._element.classList.contains(yn),this._isTransitioning=!1,this._toId=null}static get NAME(){return"notification"}show(e,t){if(this._isShown||this._isTransitioning)return;const i=e||this._getElementTimeout(t);this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._showElement(i)}hide(){if(!this._isShown||this._isTransitioning)return;this._isShown=!1;const e=this._isAnimated();e&&(this._isTransitioning=!0),this._element.classList.remove(yn),this._queueCallback((()=>this._hideElement()),this._element,e)}toggle(e){this._isShown?this.hide():this.show(null,e)}_isAnimated(){return this._element.classList.contains("fade")}_showElement(e){const t=this._isAnimated();this._element.style.display="block",this._element.removeAttribute("aria-hidden"),t&&_i(this._element),this._element.classList.add(yn);this._queueCallback((()=>{this._isTransitioning=!1,e&&this._setTimeout(e,(()=>this.hide()))}),this._element,t)}_hideElement(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._isTransitioning=!1}_getConfig(e){return e={...gn,...$i.getDataAttributes(this._element),..."object"==typeof e?e:{}}}_getElementTimeout(e){const t=e?parseInt(e.getAttribute("data-bs-timeout")):null;return t>0?t:this._config.timeout}_setTimeout(e,t){this._clearTimeout(),setTimeout(t,e)}_clearTimeout(){this._toId&&(clearTimeout(this._toId),this._toId=null)}}"undefined"!=typeof window&&"undefined"!=typeof document&&(Ui.on(document,pn,'[data-bs-toggle="notification"]',(function(e){const t=di(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),Ui.one(t,mn,(e=>{e.defaultPrevented||Ui.one(t,fn,(()=>{fi(this)&&this.focus()}))}));_n.getOrCreateInstance(t).toggle(this)})),dn(_n));const vn="cookiebar",bn=".bs.cookiebar",Tn=".data-api",wn="cookies_consent",Sn=`close${bn}`,En=`closed${bn}`,Cn=`load${bn}${Tn}`,kn=`click${bn}${Tn}`,xn="show";class In extends Vi{constructor(e){super(e),this._isShown=this._element.classList.contains(xn),this._isTransitioning=!1}static get NAME(){return vn}static get VERSION(){return"5.0.0"}show(){this._isShown||this._isTransitioning||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._showElement())}hide(){if(!this._isShown||this._isTransitioning)return;this._isShown=!1;const e=this._isAnimated();e&&(this._isTransitioning=!0),this._element.classList.remove(xn),this._queueCallback((()=>this._hideElement()),this._element,e)}accept(e){e=e||this._element;const t=this._getRootElement(e);this._triggerCloseEvent(t).defaultPrevented||(this._setCookieEU(),this.hide())}static clearCookie(){"undefined"!=typeof document&&(document.cookie=wn+"=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;")}_isAnimated(){return this._element.classList.contains("fade")}_showElement(){const e=this._isAnimated();this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-live","polite"),e&&_i(this._element),this._element.classList.add(xn);this._queueCallback((()=>{this._isTra