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.02 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.18.1")};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 h=setTimeout,d=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 P(e,t){var i=e?u(e.children):[];return t?i.filter(function(e){return L(e,t)}):i}function O(e,t){return t?P(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 F(e,t){S(t||D(e),function(t){delete e[t]})}function B(e,t){S(e,function(e){S(t,function(t){e&&e.removeAttribute(t)})})}function U(e,t,i){m(t)?M(t,function(t,i){U(e,i,t)}):S(e,function(e){b(i)||""===i?B(e,t):e.setAttribute(t,String(i))})}function j(e,t,i){var n=document.createElement(e);return t&&(_(t)?x(n,t):U(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 O((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 he(e,t,i){var n=se(t,i),s=re(t,i);return se(re(n,e),s)}function de(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",Pe="scrolled",Oe="destroy",De="arrows:mounted",Me="navigation:mounted",Ne="autoplay:play",Re="autoplay:pause",Fe="lazyload:loaded",Be="sk",Ue="sh",je="ei";function $e(e){var t=e?e.event.bus:document.createDocumentFragment(),i=ge();return e&&e.event.on(Oe,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 h();r=p(c)}}function h(){l=!0}function d(){r&&cancelAnimationFrame(r),o=0,r=0,l=!0}return{start:function(t){t||d(),s=a()-(t?o*e:0),l=!1,r=p(c)},rewind:function(){s=a(),o=0,i&&i(o)},pause:h,cancel:d,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],ht=te+"__",dt="is-",pt=te,ft=ht+"track",mt=ht+"list",gt=ht+"slide",yt=gt+"--clone",_t=gt+"__container",vt=ht+"arrows",bt=ht+"arrow",Tt=bt+"--prev",wt=bt+"--next",St=ht+"pagination",Et=St+"__page",Ct=ht+"progress"+"__bar",kt=ht+"toggle",xt=ht+"sr",It=dt+"initialized",At=dt+"active",Lt=dt+"prev",Pt=dt+"next",Ot=dt+"visible",Dt=dt+"loading",Mt=dt+"focus-in",Nt=dt+"overflow",Rt=[At,Ot,Lt,Pt,Dt,Mt,Nt],Ft={slide:gt,clone:yt,arrows:vt,arrow:bt,prev:Tt,next:wt,pagination:St,page:Et,spinner:ht+"spinner"};var Bt="touchstart mousedown",Ut="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,h=e.root,d=e.options,p=d.isNavigation,f=d.updateOnMove,m=d.i18n,g=d.pagination,y=d.slideFocus,_=u.Direction.resolve,v=H(n,"style"),b=H(n,it),T=i>-1,w=O(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(" ");U(n,it,pe(m.slideX,(T?i:t)+1)),U(n,Ze,s),U(n,Ye,y?"button":""),y&&B(n,at)}function E(){s||C()}function C(){if(!s){var i=e.index;(r=x())!==z(n,At)&&(k(n,At,r),U(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])||U(n,st,i||"");U(Q(n,d.focusableNodes||""),Qe,i?-1:""),y&&U(n,Qe,i?-1:0);t!==z(n,Ot)&&(k(n,Ot,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,Pt,t===i+1)}var r}function x(){var n=e.index;return n===t||d.cloneStatus&&n===i}var I={index:t,slideIndex:i,slide:n,container:w,isClone:T,mount:function(){T||(n.id=h.id+"-slide"+fe(t+1),U(n,Ye,g?"tabpanel":"group"),U(n,at,m.slide),U(n,it,b||pe(m.slideLabel,[t+1,e.length]))),l(n,"click",c(o,Te,I)),l(n,"keydown",c(o,Be,I)),a([be,Ue,Pe],C),a(Me,S),f&&a(ve,E)},destroy:function(){s=!0,r.destroy(),J(n,Rt),B(n,ct),U(n,"style",v),U(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||!d.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",h),l.push([e,i])}function h(){var t=n.is(7),s=i.direction,r=l.reduce(function(e,t){return R(e,t[1].matches?t[0]:{})},{});F(i),d(r),i.destroy?e.destroy("completely"===i.destroy):t?(u(!0),e.mount()):s!==i.direction&&e.refresh()}function d(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),h()},destroy:u,reduce:function(e){matchMedia(a).matches&&(e?R(i,r):F(i,D(r)))},set:d}},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,h=i.i18n,d={},p=[],f=[],m=[];function g(){n=b("."+ft),s=O(n,"."+mt),ne(n&&s,"A track/list element is missing."),C(p,P(s,"."+gt+":not(."+yt+")")),M({arrows:vt,pagination:St,prev:Tt,next:wt,bar:Ct,toggle:kt},function(e,t){d[t]=b("."+e)}),N(d,{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&&U(c,Ye,t);U(c,at,h.carousel),U(s,Ye,"presentation")}(),v()}function _(e){var t=ct.concat("style");l(p),J(c,f),J(n,m),B([n,s],t),B(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),U(c,it,i.label),U(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(d,{setup:g,mount:function(){o(ke,_),o(ke,g),o(xe,v),u(document,Bt+" 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,h=o.list,d=[];function p(){u.forEach(function(e,t){m(e,t,-1)})}function f(){v(function(e){e.destroy()}),l(d)}function m(t,i,n){var s=Ht(e,i,n,t);s.mount(),d.push(s),d.sort(function(e,t){return e.index-t.index})}function g(e){return e?b(function(e){return!e.isClone}):d}function v(e,t){g(t).forEach(e)}function b(e){return d.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(h,e),x(e,i.classes.slide),s=e,o=c(r,Ie),l=Q(s,"img"),(d=l.length)?l.forEach(function(e){a(e,"load error",function(){--d||o()})}):o()}var s,o,l,d}),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:d.length},isEnough:function(){return d.length>i.perPage}}},Layout:function(e,t,i){var n,s,r,a=$e(e),o=a.on,l=a.bind,u=a.emit,h=t.Slides,d=t.Direction.resolve,p=t.Elements,f=p.root,g=p.track,y=p.list,_=h.getAt,v=h.style;function b(){n=i.direction===Xe,$(f,"maxWidth",ee(i.width)),$(g,d("paddingLeft"),w(!1)),$(g,d("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(d("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=P())&&(k(f,Nt,r),u("overflow",r)))}function w(e){var t=i.padding,n=d(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)[d("width")]}function x(e,t){var i=_(e||0);return i?W(i.slide)[d("width")]+(t?0:L()):0}function I(e,t){var i=_(e);if(i){var n=W(i.slide)[d("right")],s=W(y)[d("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,d("marginRight")))||0}function P(){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,d("padding"+(e?"Right":"Left"))))||0},isOverflow:P}},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 h(){r(ke,d),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,h=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(h,n[0].slide):I(a.list,h),C(c,h),o.register(h,l-t+(u?0:s),r.index)})}}(n),t.Layout.resize(!0))}function d(){p(),h()}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:h,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,h=l.totalSize,d=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(Ue)}}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(h(t-1)-function(e){var t=i.focus;return"center"===t?(d()-u(e,!0))/2:+t*u(e)||0}(t));return n?function(t){i.trimSpace&&e.is($t)&&(t=he(t,0,g(p(!0)-d())));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,h=t.Move,d=h.getPosition,p=h.getLimit,f=h.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=O();var e=he(C,0,b?n:s-1);e!==C&&(C=e,h.reposition())}function I(){n!==O()&&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(d(),p(!e),1)?e?0:n:t?s:P(s)}function L(t,o,l){if(g()||R()){var u=function(t){if(w&&"move"===i.trimSpace&&t!==C)for(var n=d();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 P(e){return T?(e+s)%s||0:e}function O(){for(var e=s-(R()||T&&r?1:a);b&&e-- >0;)if(f(s-1,!0)!==f(e,!0)){e++;break}return he(e,0,s-1)}function D(e){return he(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 F(){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(!F()){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:he(e,0,n);return t}(e),r=P(s);r>-1&&(t||r!==C)&&(N(r),h.move(s,r,k,i))}},scroll:function(e,i,s,r){t.Scroll.scroll(e,i,s,function(){var e=P(h.toIndex(d()));N(b?se(e,n):e),r&&r()})},getNext:S,getPrev:E,getAdjacent:A,getEnd:O,setIndex:N,getIndex:function(e){return e?k:C},toIndex:D,toPage:M,toDest:function(e){var t=h.toIndex(e);return w?he(t,0,n):t},hasFocus:R,isBusy:F}},Arrows:function(e,t,i){var n,s,r=$e(e),a=r.on,o=r.bind,l=r.emit,u=i.classes,h=i.i18n,d=t.Elements,p=t.Controller,f=d.arrows,m=d.track,g=f,y=d.prev,_=d.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,Pe,je],C),o(_,"click",c(S,">")),o(y,"click",c(S,"<")),C(),U([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):B([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?h.last:h.prev,r=n>-1&&t>n?h.first:h.next;y.disabled=i<0,_.disabled=n<0,U(y,it,s),U(_,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=h.bar;t&&$(t,"width",100*e+"%"),l("autoplay:playing",e)}),c=u.isPaused,h=t.Elements,d=t.Elements,p=d.root,f=d.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),U(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&&U(f,Ze,h.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=O(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(Fe,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,h=u.getPosition,d=u.getLimit,p=u.exceededLimit,f=u.translate,m=e.is($t),g=1;function y(e,i,r,a,d){var f=h();if(b(),r&&(!m||!p())){var y=t.Layout.sliderSize(),T=de(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,d),1),l(5),o(Le),n.start()}function _(){l(3),s&&s(),o(Pe)}function v(e,t,n,r){var a,o,l=h(),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(d(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,h=$e(e),p=h.on,f=h.emit,g=h.bind,y=h.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 P(){var e=i.drag;q(!e),a="free"===e}function O(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,Ut,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+F(t)/(A&&e.is($t)?5:1));var s=B(t)>200,r=A!==(A=I());(s||r)&&R(t),l=!0,f("dragging"),K(t)}else(function(e){return le(F(e))>le(F(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(F(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=B(t);if(i&&i<200)return F(t)/i}return 0}(n),r=function(e){return x()+de(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(de(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,Ut,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 F(e,t){return j(e,t)-j(U(e),t)}function B(e){return Z(e)-Z(U(e))}function U(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,Ut,d,Wt),g(w,jt,d,Wt),g(w,Bt,O,Wt),g(w,"click",N,{capture:!0}),g(w,"dragstart",K),p([ye,xe],P)},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 d(){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,h(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(){d(),a(xe,p),a(xe,d),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,h=[be,Pe],d=[];function p(){l(d),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=O(a,"."+r)||j("span",r,a);d.push([t,e,o]),t.src||q(t,"none")}})}),u?y():(r(h),s(h,f),f())}function f(){(d=d.filter(function(t){var n=i.perPage*((i.preloadPages||1)+1)-1;return!t[1].isWithin(e.index,n)||m(t)})).length||r(h)}function m(e){var t=e[0];x(e[1].slide,Dt),a(t,"load error",c(g,e)),U(t,"src",H(t,Yt)),U(t,"srcset",H(t,Qt)),B(t,Yt),B(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(Fe,i,n),o(Ie)),u&&y()}function y(){d.length&&m(d.shift())}return{mount:function(){i.lazyLoad&&(p(),s(ke,p))},destroy:c(l,d),check:f}},Pagination:function(e,t,i){var n,s,r=$e(e),a=r.on,o=r.emit,h=r.bind,d=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),B(i,tt),U(i,Qe,-1)}if(t){var s=t.button;x(s,At),U(s,tt,!0),U(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,Pe],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()),U(n,Ye,"tablist"),U(n,it,a.select),U(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),_=d.getIn(u).map(function(e){return e.slide.id}),T=!m()&&o>1?a.pageX:a.slideX;h(y,"click",c(w,u)),i.paginationKeyboard&&h(y,"keydown",c(S,u)),U(g,Ye,"presentation"),U(y,Ye,"tab"),U(y,Ze,_.join(" ")),U(y,it,pe(T,u+1)),U(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,d),i(Be,p),i([ye,xe],h),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 h(){U(t.Elements.list,rt,i.direction===Xe?"vertical":"")}function d(t){e.go(t.index)}function p(e,t){E(Zt,Xt(t))&&(d(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){U(s,lt,e),e?(I(s,a),o.start()):(G(a),o.cancel())}function u(e){r&&U(s,ot,e?"off":"polite")}return{mount:function(){r&&(u(!t.Autoplay.isPaused()),U(s,ut,!0),a.textContent="…",n(Ne,c(u,!0)),n(Re,c(u,!1)),n([be,Pe],c(l,!0)))},disable:u,destroy:function(){B(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:Ft,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),h(t)},cancel:d}}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(),h=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&&h>=1?i.useScroll?a.scroll(u,h,!1,o):(l("transform "+h+"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(Oe),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=>null==e?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),ci=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},hi=e=>{const t=ci(e);return t&&document.querySelector(t)?t:null},di=e=>{const t=ci(e);return t?document.querySelector(t):null},pi=e=>!(!e||"object"!=typeof e)&&void 0!==e.nodeType,fi=e=>pi(e)?e:"string"==typeof e&&e.length>0?document.querySelector(e):null,mi=e=>{if(!pi(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},gi=e=>!e||e.nodeType!==Node.ELEMENT_NODE||(!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled"))),yi=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?yi(e.parentNode):null},_i=()=>{},vi=e=>{e.offsetHeight},bi=()=>"undefined"!=typeof window&&"undefined"!=typeof document&&"rtl"===document.documentElement.dir,Ti=e=>{"function"==typeof e&&e()},wi=(e,t,i=!0)=>{if(!i)return void Ti(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),Ti(e))};t.addEventListener(li,r),setTimeout(()=>{s||t.dispatchEvent(new Event(li))},n)},Si=(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))])},Ei=/[^.]*(?=\..*)\.|.*/,Ci=/\..*/,ki=/::\d+$/,xi={};let Ii=1;const Ai={mouseenter:"mouseover",mouseleave:"mouseout"},Li=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 Pi(e,t){return t&&`${t}::${Ii++}`||e.uidEvent||Ii++}function Oi(e){const t=Pi(e);return e.uidEvent=t,xi[t]=xi[t]||{},xi[t]}function Di(e,t,i=null){return Object.values(e).find(e=>e.callable===t&&e.delegationSelector===i)}function Mi(e,t,i){const n="string"==typeof t,s=n?i:t||i;let r=function(e){return e=e.replace(Ci,""),Ai[e]||e}(e);return Li.has(r)||(r=e),[n,s,r]}function Ni(e,t,i,n,s){if("string"!=typeof t||!e)return;let[r,a,o]=Mi(t,i,n);if(t in Ai){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=Di(u,a,r?i:null);if(c)return void(c.oneOff=c.oneOff&&s);const h=Pi(a,t.replace(Ei,"")),d=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 Ui(s,{delegateTarget:a}),n.oneOff&&Bi.off(e,s.type,t,i),i.apply(a,[s])}}(e,i,a):function(e,t){return function i(n){return Ui(n,{delegateTarget:e}),i.oneOff&&Bi.off(e,n.type,t),t.apply(e,[n])}}(e,a);d.delegationSelector=r?i:null,d.callable=a,d.oneOff=s,d.uidEvent=h,u[h]=d,e.addEventListener(o,d,r)}function Ri(e,t,i,n,s){const r=Di(t[i],n,s);r&&(e.removeEventListener(i,r,Boolean(s)),delete t[i][r.uidEvent])}function Fi(e,t,i,n){const s=t[i]||{};for(const r of Object.keys(s))if(r.includes(n)){const n=s[r];Ri(e,t,i,n.callable,n.delegationSelector)}}const Bi={on(e,t,i,n){Ni(e,t,i,n,!1)},one(e,t,i,n){Ni(e,t,i,n,!0)},off(e,t,i,n){if("string"!=typeof t||!e)return;const[s,r,a]=Mi(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))Fi(e,l,i,t.slice(1));for(const i of Object.keys(u)){const n=i.replace(ki,"");if(!o||t.includes(n)){const t=u[i];Ri(e,l,a,t.callable,t.delegationSelector)}}}else{if(!Object.keys(u).length)return;Ri(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=Ui(n,i),e.dispatchEvent(n),n}};function Ui(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 ji(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 $i(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const qi={setDataAttribute(e,t,i){e.setAttribute(`data-bs-${$i(t)}`,i)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${$i(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]=ji(e.dataset[n])}return t},getDataAttribute:(e,t)=>ji(e.getAttribute(`data-bs-${$i(t)}`))};let Vi=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=pi(t)?qi.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof i?i:{},...pi(t)?qi.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const i of Object.keys(t)){const n=t[i],s=e[i],r=pi(s)?"element":ui(s);if(!new RegExp(n).test(r))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${r}" but expected type "${n}".`)}}};class Hi extends Vi{constructor(e,t){super(),(e=fi(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),Bi.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,i=!0){wi(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(fi(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 zi={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=>!gi(e)&&mi(e))}},Wi={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"}},Gi={"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 Xi extends Hi{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({},Wi);return Object.keys(Gi).forEach(t=>{this._element.classList.contains(t)&&(e=Object.assign({},e,Gi[t]))}),e}}"undefined"!=typeof window&&"undefined"!=typeof document&&Bi.on(window,"load.bs.carousel.data-api",()=>{zi.find("[data-bs-carousel-splide]").forEach(e=>{Xi.getOrCreateInstance(e)})});const Ki=".bs.inputlabel",Yi=`focus${Ki}`,Qi=`blur${Ki}`,Ji=`change${Ki}`,Zi="active";class en{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(Zi)&&(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")?Bi.on(this._element,Qi,()=>{this._labelOut()}):(Bi.on(this._element,Yi,()=>{this._labelOut()}),Bi.on(this._element,Qi,()=>{this._labelOver()}),Bi.on(this._element,Ji,()=>{this._labelToggle()})))}_getLabel(){return zi.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(Zi)}_labelOver(){if(this._isEmpty()){const e=this._getLabel();e&&e.classList.remove(Zi)}}_labelToggle(){this._isEmpty()?this._labelOver():this._labelOut()}}const tn=".bs.inputnumber",nn=`click${tn}`,sn=`change${tn}`,rn=`click${tn}.data-api`,an=".input-number",on='input[data-bs-input][type="number"]',ln='button[class^="input-number-"]';class un extends Hi{constructor(e){super(e),this._wrapperElement=this._element.closest(an),this._label=new en(e),this._init(),this._bindEvents()}static get NAME(){return"inputnumber"}_init(){this._wrapperElement&&this._inputResize()}_bindEvents(){this._wrapperElement&&(zi.find(ln,this._wrapperElement).forEach(e=>{Bi.on(e,nn,t=>{t.preventDefault(),this._incrDecr(e.classList.contains("input-number-sub")),this._label._labelOut()})}),Bi.on(this._element,sn,()=>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),Bi.trigger(this._element,sn),Bi.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(on+", label").forEach(function(e){const t=en.getInputFromLabel(e)||e;var i;(i=t)&&i.matches(on)&&i.parentNode.querySelector(ln)&&un.getOrCreateInstance(i)})}),Bi.on(document,rn,ln,function(){const e=this.closest(an);if(e){const t=zi.findOne(on,e);t&&un.getOrCreateInstance(t)}}));const cn="show";class hn extends Hi{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(cn),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&&vi(this._element),this._element.classList.add(cn);this._queueCallback(()=>{this._isTransitioning=!1},this._element,e)}_hideElement(){this._element.setAttribute("aria-hidden",!0),this._isTransitioning=!1}}"undefined"!=typeof window&&"undefined"!=typeof document&&Bi.on(document,"click.bs.dimmer.data-api",'[data-bs-toggle="dimmer"]',function(){const e=di(this),t=hn.getOrCreateInstance(e);this.checked?t.show():t.hide()});const dn=(e,t="hide")=>{const i=`click.dismiss${e.EVENT_KEY}`,n=e.NAME;Bi.on(document,i,`[data-bs-dismiss="${n}"]`,function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),gi(this))return;const s=di(this)||this.closest(`.${n}`);e.getOrCreateInstance(s)[t]()})},pn=".bs.notification",fn=`click${pn}.data-api`,mn=`hidden${pn}`,gn=`show${pn}`,yn={timeout:0},_n="show";class vn extends Hi{constructor(e,t){super(e),this._config=this._getConfig(t),this._isShown=this._element.classList.contains(_n),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(_n),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&&vi(this._element),this._element.classList.add(_n);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={...yn,...qi.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&&(Bi.on(document,fn,'[data-bs-toggle="notification"]',function(e){const t=di(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),Bi.one(t,gn,e=>{e.defaultPrevented||Bi.one(t,mn,()=>{mi(this)&&this.focus()})});vn.getOrCreateInstance(t).toggle(this)}),dn(vn));const bn="cookiebar",Tn=".bs.cookiebar",wn=".data-api",Sn="cookies_consent",En=`close${Tn}`,Cn=`closed${Tn}`,kn=`load${Tn}${wn}`,xn=`click${Tn}${wn}`,In="show";class An extends Hi{constructor(e){super(e),this._isShown=this._element.classList.contains(In),this._isTransitioning=!1}static get NAME(){return bn}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(In),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=Sn+"=; 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&&vi(this._element),this._element.classList.add(In);this._queueCallback(()=>{this._isTransitioning=!1},this._element,e)}_hideElement(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-live"),this._isTransitioning=!1}