1!function(e){var t={};function i(n){if(t[n])return t[n].exports;var s=t[n]={i:n,l:!1,exports:{}};return e[n].call(s.exports,s,s.exports,i),s.l=!0,s.exports}i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="/wp-content/themes/reel/dist/",i(i.s=53)}([function(e,t,i){"use strict";i.d(t,"a",function(){return u}),i.d(t,"c",function(){return s}),i.d(t,"q",function(){return o}),i.d(t,"r",function(){return r}),i.d(t,"o",function(){return a}),i.d(t,"p",function(){return l}),i.d(t,"m",function(){return c}),i.d(t,"s",function(){return d}),i.d(t,"n",function(){return h}),i.d(t,"b",function(){return f}),i.d(t,"d",function(){return p}),i.d(t,"g",function(){return m}),i.d(t,"j",function(){return g}),i.d(t,"f",function(){return v}),i.d(t,"k",function(){return b}),i.d(t,"e",function(){return y}),i.d(t,"i",function(){return w}),i.d(t,"l",function(){return E}),i.d(t,"h",function(){return _});var n=i(1);function s(e){const t=e;Object.keys(t).forEach(e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}})}function o(e,t=0){return setTimeout(e,t)}function r(){return Date.now()}function a(e,t="x"){const i=Object(n.b)();let s,o,r;const a=function(e){const t=Object(n.b)();let i;return t.getComputedStyle&&(i=t.getComputedStyle(e,null)),!i&&e.currentStyle&&(i=e.currentStyle),i||(i=e.style),i}(e);return i.WebKitCSSMatrix?((o=a.transform||a.webkitTransform).split(",").length>6&&(o=o.split(", ").map(e=>e.replace(",",".")).join(", ")),r=new i.WebKitCSSMatrix("none"===o?"":o)):s=(r=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(o=i.WebKitCSSMatrix?r.m41:16===s.length?parseFloat(s[12]):parseFloat(s[4])),"y"===t&&(o=i.WebKitCSSMatrix?r.m42:16===s.length?parseFloat(s[13]):parseFloat(s[5])),o||0}function l(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function c(...e){const t=Object(e[0]),i=["__proto__","constructor","prototype"];for(let s=1;s<e.length;s+=1){const o=e[s];if(void 0!==o&&null!==o&&(n=o,!("undefined"!=typeof window&&void 0!==window.HTMLElement?n instanceof HTMLElement:n&&(1===n.nodeType||11===n.nodeType)))){const e=Object.keys(Object(o)).filter(e=>i.indexOf(e)<0);for(let i=0,n=e.length;i<n;i+=1){const n=e[i],s=Object.getOwnPropertyDescriptor(o,n);void 0!==s&&s.enumerable&&(l(t[n])&&l(o[n])?o[n].__swiper__?t[n]=o[n]:c(t[n],o[n]):!l(t[n])&&l(o[n])?(t[n]={},o[n].__swiper__?t[n]=o[n]:c(t[n],o[n])):t[n]=o[n])}}}var n;return t}function d(e,t,i){e.style.setProperty(t,i)}function u({swiper:e,targetPosition:t,side:i}){const s=Object(n.b)(),o=-e.translate;let r,a=null;const l=e.params.speed;e.wrapperEl.style.scrollSnapType="none",s.cancelAnimationFrame(e.cssModeFrameID);const c=t>o?"next":"prev",d=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,u=()=>{r=(new Date).getTime(),null===a&&(a=r);const n=Math.max(Math.min((r-a)/l,1),0),c=.5-Math.cos(n*Math.PI)/2;let h=o+c*(t-o);if(d(h,t)&&(h=t),e.wrapperEl.scrollTo({[i]:h}),d(h,t))return e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[i]:h})}),void s.cancelAnimationFrame(e.cssModeFrameID);e.cssModeFrameID=s.requestAnimationFrame(u)};u()}function h(e){return e.querySelector(".swiper-slide-transform")||e.shadowEl&&e.shadowEl.querySelector(".swiper-slide-transform")||e}function p(e,t=""){return[...e.children].filter(e=>e.matches(t))}function f(e,t=[]){const i=document.createElement(e);return i.classList.add(...Array.isArray(t)?t:[t]),i}function m(e){const t=Object(n.b)(),i=Object(n.a)(),s=e.getBoundingClientRect(),o=i.body,r=e.clientTop||o.clientTop||0,a=e.clientLeft||o.clientLeft||0,l=e===t?t.scrollY:e.scrollTop,c=e===t?t.scrollX:e.scrollLeft;return{top:s.top+l-r,left:s.left+c-a}}function g(e,t){const i=[];for(;e.previousElementSibling;){const n=e.previousElementSibling;t?n.matches(t)&&i.push(n):i.push(n),e=n}return i}function v(e,t){const i=[];for(;e.nextElementSibling;){const n=e.nextElementSibling;t?n.matches(t)&&i.push(n):i.push(n),e=n}return i}function b(e,t){return Object(n.b)().getComputedStyle(e,null).getPropertyValue(t)}function y(e){let t,i=e;if(i){for(t=0;null!==(i=i.previousSibling);)1===i.nodeType&&(t+=1);return t}}function w(e,t){const i=[];let n=e.parentElement;for(;n;)t?n.matches(t)&&i.push(n):i.push(n),n=n.parentElement;return i}function E(e,t){t&&e.addEventListener("transitionend",function i(n){n.target===e&&(t.call(e,n),e.removeEventListener("transitionend",i))})}function _(e,t,i){const s=Object(n.b)();return i?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(s.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(s.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}},function(e,t,i){"use strict";function n(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function s(e={},t={}){Object.keys(t).forEach(i=>
1{void 0===e[i]?e[i]=t[i]:n(t[i])&&n(e[i])&&Object.keys(t[i]).length>0&&s(e[i],t[i])})}i.d(t,"a",function(){return r}),i.d(t,"b",function(){return l});const o={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function r(){const e="undefined"!=typeof document?document:{};return s(e,o),e}const a={document:o,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function l(){const e="undefined"!=typeof window?window:{};return s(e,a),e}},function(e,t,i){"use strict";i.d(t,"u",function(){return n}),i.d(t,"i",function(){return s}),i.d(t,"s",function(){return o}),i.d(t,"l",function(){return r}),i.d(t,"d",function(){return a}),i.d(t,"e",function(){return l}),i.d(t,"t",function(){return c}),i.d(t,"k",function(){return d}),i.d(t,"j",function(){return u}),i.d(t,"w",function(){return h}),i.d(t,"p",function(){return p}),i.d(t,"r",function(){return f}),i.d(t,"v",function(){return m}),i.d(t,"o",function(){return g}),i.d(t,"g",function(){return v}),i.d(t,"q",function(){return b}),i.d(t,"b",function(){return y}),i.d(t,"f",function(){return w}),i.d(t,"m",function(){return E}),i.d(t,"a",function(){return _}),i.d(t,"h",function(){return O}),i.d(t,"x",function(){return T}),i.d(t,"c",function(){return x}),i.d(t,"n",function(){return S});var n="top",s="bottom",o="right",r="left",a="auto",l=[n,s,o,r],c="start",d="end",u="clippingParents",h="viewport",p="popper",f="reference",m=l.reduce(function(e,t){return e.concat([t+"-"+c,t+"-"+d])},[]),g=[].concat(l,[a]).reduce(function(e,t){return e.concat([t,t+"-"+c,t+"-"+d])},[]),v="beforeRead",b="read",y="afterRead",w="beforeMain",E="main",_="afterMain",O="beforeWrite",T="write",x="afterWrite",S=[v,b,y,w,E,_,O,T,x]},function(e,t,i){"use strict";i.d(t,"a",function(){return s}),i.d(t,"b",function(){return o}),i.d(t,"c",function(){return r});var n=i(4);function s(e){return e instanceof Object(n.a)(e).Element||e instanceof Element}function o(e){return e instanceof Object(n.a)(e).HTMLElement||e instanceof HTMLElement}function r(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Object(n.a)(e).ShadowRoot||e instanceof ShadowRoot)}},function(e,t,i){"use strict";t.a=function(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}},function(e,t,i){"use strict";t.a=function(e){return e.split("-")[0]};i(2)},function(e,t,i){"use strict";t.a=function(e){return((Object(n.a)(e)?e.ownerDocument:e.document)||window.document).documentElement};var n=i(3)},function(e,t,i){"use strict";t.a=function(e){return e?(e.nodeName||"").toLowerCase():null}},function(e,t){e.exports=jQuery},function(e,t,i){"use strict";t.a=function(e){return Object(n.a)(e).getComputedStyle(e)};var n=i(4)},function(e,t,i){"use strict";t.a=function(e){const{effect:t,swiper:i,on:n,setTranslate:s,setTransition:o,overwriteParams:r,perspective:a,recreateShadows:l,getEffectParams:c}=e;let d;n("beforeInit",()=>{if(i.params.effect!==t)return;i.classNames.push(`${i.params.containerModifierClass}${t}`),a&&a()&&i.classNames.push(`${i.params.containerModifierClass}3d`);const e=r?r():{};Object.assign(i.params,e),Object.assign(i.originalParams,e)}),n("setTranslate",()=>{i.params.effect===t&&s()}),n("setTransition",(e,n)=>{i.params.effect===t&&o(n)}),n("transitionEnd",()=>{if(i.params.effect===t&&l){if(!c||!c().slideShadows)return;
1i.slides.forEach(e=>{e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>e.remove())}),l()}}),n("virtualUpdate",()=>{i.params.effect===t&&(i.slides.length||(d=!0),requestAnimationFrame(()=>{d&&i.slides&&i.slides.length&&(s(),d=!1)}))})}},function(e,t,i){"use strict";t.a=function(e,t){void 0===t&&(t=!1);var i=e.getBoundingClientRect();return{width:i.width/1,height:i.height/1,top:i.top/1,right:i.right/1,bottom:i.bottom/1,left:i.left/1,x:i.left/1,y:i.top/1}}},function(e,t,i){"use strict";t.a=function(e){var t=Object(n.a)(e),i=c(e);for(;i&&Object(a.a)(i)&&"static"===Object(o.a)(i).position;)i=c(i);if(i&&("html"===Object(s.a)(i)||"body"===Object(s.a)(i)&&"static"===Object(o.a)(i).position))return t;return i||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&Object(r.b)(e)){var i=Object(o.a)(e);if("fixed"===i.position)return null}var n=Object(l.a)(e);for(;Object(r.b)(n)&&["html","body"].indexOf(Object(s.a)(n))<0;){var a=Object(o.a)(n);if("none"!==a.transform||"none"!==a.perspective||"paint"===a.contain||-1!==["transform","perspective"].indexOf(a.willChange)||t&&"filter"===a.willChange||t&&a.filter&&"none"!==a.filter)return n;n=n.parentNode}return null}(e)||t};var n=i(4),s=i(7),o=i(9),r=i(3),a=i(58),l=i(18);function c(e){return Object(r.b)(e)&&"fixed"!==Object(o.a)(e).position?e.offsetParent:null}},function(e,t,i){"use strict";i.d(t,"a",function(){return n}),i.d(t,"b",function(){return s}),i.d(t,"c",function(){return o});var n=Math.max,s=Math.min,o=Math.round},function(e,t,i){"use strict";t.a=function(e){return e.split("-")[1]}},function(e,t,i){"use strict";t.a=function(e,t){void 0===t&&(t={});var i=t,h=i.placement,p=void 0===h?e.placement:h,f=i.boundary,m=void 0===f?l.j:f,g=i.rootBoundary,v=void 0===g?l.w:g,b=i.elementContext,y=void 0===b?l.p:b,w=i.altBoundary,E=void 0!==w&&w,_=i.padding,O=void 0===_?0:_,T=Object(d.a)("number"!=typeof O?O:Object(u.a)(O,l.e)),x=y===l.p?l.r:l.p,S=e.rects.popper,C=e.elements[E?x:y],P=Object(n.a)(Object(c.a)(C)?C:C.contextElement||Object(s.a)(e.elements.popper),m,v),M=Object(o.a)(e.elements.reference),L=Object(r.a)({reference:M,element:S,strategy:"absolute",placement:p}),A=Object(a.a)(Object.assign({},S,L)),j=y===l.p?A:M,k={top:P.top-j.top+T.top,bottom:j.bottom-P.bottom+T.bottom,left:P.left-j.left+T.left,right:j.right-P.right+T.right},D=e.modifiersData.offset;if(y===l.p&&D){var I=D[p];Object.keys(k).forEach(function(e){var t=[l.s,l.i].indexOf(e)>=0?1:-1,i=[l.u,l.i].indexOf(e)>=0?"y":"x";k[e]+=I[i]*t})}return k};var n=i(61),s=i(6),o=i(11),r=i(44),a=i(43),l=i(2),c=i(3),d=i(38),u=i(40)},function(e,t,i){"use strict";t.a=function(e,t){const i=Object(n.n)(t);i!==t&&(i.style.backfaceVisibility="hidden",i.style["-webkit-backface-visibility"]="hidden");return i};var n=i(0)},function(e,t){var i,n,s=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function a(e){if(i===setTimeout)return setTimeout(e,0);if((i===o||!i)&&setTimeout)return i=setTimeout,setTimeout(e,0);try{return i(e,0)}catch(t){try{return i.call(null,e,0)}catch(t){return i.call(this,e,0)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:o}catch(e){i=o}try{n="function"==typeof clearTimeout?clearTimeout:r}catch(e){n=r}}();var l,c=[],d=!1,u=-1;function h(){d&&l&&(d=!1,l.length?c=l.concat(c):u=-1,c.length&&p())}function p(){if(!d){var e=a(h);d=!0;for(var t=c.length;t;){for(l=c,c=[];++u<t;)l&&l[u].run();u=-1,t=c.length}l=null,d=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===r||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function m(){}s.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)t[i-1]=arguments[i];c.push(new f(e,t)),1!==c.length||d||a(p)},f.prototype.run=function(){this.fun.apply(null,this.array)},s.title="browser",s.browser=!0,s.env={},s.argv=[],s.version="",s.versions={},s.on=m,s.addListener=m,s.once=m,s.off=m,s.removeListener=m,s.removeAllListeners=m,s.emit=m,s.prependListener=m,s.prependOnceListener=m,s.listeners=function(e){return[]},s.binding=function(e){throw new Error("process.binding is not supported")},s.cwd=function(){return"/"},s.chdir=function(e){throw new Error("process.chdir is not supported")},s.umask=function(){return 0}},function(e,t,i){"use strict";t.a=function(e){if("html"===Object(n.a)(e))return e;return e.assignedSlot||e.parentNode||(Object(o.c)(e)?e.host:null)||Object(s.a)(e)};var n=i(7),s=i(6),o=i(3)},function(e,t,i){"use strict";var n=i(85);i.d(t,"c",function(){return n.a});i(143),i(144),i(145);var s=i(146);i.d(t,"b",function(){return s.a});
1i(147),i(148),i(149),i(150),i(151),i(152),i(153),i(154);var o=i(155);i.d(t,"a",function(){return o.a});i(156),i(157),i(158),i(159),i(165),i(166),i(167),i(168),i(169),i(170)},function(e,t,i){"use strict";t.a=function({swiper:e,duration:t,transformElements:i,allSlides:s}){const{activeIndex:o}=e;if(e.params.virtualTranslate&&0!==t){let t,r=!1;(t=s?i:i.filter(t=>{const i=t.classList.contains("swiper-slide-transform")?(t=>{if(!t.parentElement){const i=e.slides.filter(e=>e.shadowEl&&e.shadowEl===t.parentNode)[0];return i}return t.parentElement})(t):t;return e.getSlideIndex(i)===o})).forEach(t=>{Object(n.l)(t,()=>{if(r)return;if(!e||e.destroyed)return;r=!0,e.animating=!1;const t=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});e.wrapperEl.dispatchEvent(t)})})}};var n=i(0)},function(e,t,i){"use strict";t.a=function(e,t,i){const s=`swiper-slide-shadow${i?`-${i}`:""}`,o=Object(n.n)(t);let r=o.querySelector(`.${s}`);r||(r=Object(n.b)("div",`swiper-slide-shadow${i?`-${i}`:""}`),o.append(r));return r};var n=i(0)},function(e,t,i){"use strict";var n=i(7),s=i(3);t.a={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var i=t.styles[e]||{},o=t.attributes[e]||{},r=t.elements[e];Object(s.b)(r)&&Object(n.a)(r)&&(Object.assign(r.style,i),Object.keys(o).forEach(function(e){var t=o[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,i={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,i.popper),t.styles=i,t.elements.arrow&&Object.assign(t.elements.arrow.style,i.arrow),function(){Object.keys(t.elements).forEach(function(e){var o=t.elements[e],r=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:i[e]).reduce(function(e,t){return e[t]="",e},{});Object(s.b)(o)&&Object(n.a)(o)&&(Object.assign(o.style,a),Object.keys(r).forEach(function(e){o.removeAttribute(e)}))})}},requires:["computeStyles"]}},function(e,t,i){"use strict";t.a=function(e){var t=Object(n.a)(e),i=e.offsetWidth,s=e.offsetHeight;Math.abs(t.width-i)<=1&&(i=t.width);Math.abs(t.height-s)<=1&&(s=t.height);return{x:e.offsetLeft,y:e.offsetTop,width:i,height:s}};var n=i(11)},function(e,t,i){"use strict";t.a=function(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}},function(e,t,i){"use strict";(function(e){var n=i(2),s=i(12),o=i(4),r=i(6),a=i(9),l=i(5),c=i(14),d=i(13),u={top:"auto",right:"auto",bottom:"auto",left:"auto"};function h(e){var t,i=e.popper,l=e.popperRect,c=e.placement,h=e.variation,p=e.offsets,f=e.position,m=e.gpuAcceleration,g=e.adaptive,v=e.roundOffsets,b=!0===v?function(e){var t=e.x,i=e.y,n=window.devicePixelRatio||1;return{x:Object(d.c)(Object(d.c)(t*n)/n)||0,y:Object(d.c)(Object(d.c)(i*n)/n)||0}}(p):"function"==typeof v?v(p):p,y=b.x,w=void 0===y?0:y,E=b.y,_=void 0===E?0:E,O=p.hasOwnProperty("x"),T=p.hasOwnProperty("y"),x=n.l,S=n.u,C=window;if(g){var P=Object(s.a)(i),M="clientHeight",L="clientWidth";P===Object(o.a)(i)&&(P=Object(r.a)(i),"static"!==Object(a.a)(P).position&&"absolute"===f&&(M="scrollHeight",L="scrollWidth")),P=P,c!==n.u&&(c!==n.l&&c!==n.s||h!==n.k)||(S=n.i,_-=P[M]-l.height,_*=m?1:-1),c!==n.l&&(c!==n.u&&c!==n.i||h!==n.k)||(x=n.s,w-=P[L]-l.width,w*=m?1:-1)}var A,j=Object.assign({position:f},g&&u);return m?Object.assign({},j,((A={})[S]=T?"0":"",A[x]=O?"0":"",A.transform=(C.devicePixelRatio||1)<=1?"translate("+w+"px, "+_+"px)":"translate3d("+w+"px, "+_+"px, 0)",A)):Object.assign({},j,((t={})[S]=T?_+"px":"",t[x]=O?w+"px":"",t.transform="",t))}t.a={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var i=t.state,n=t.options,s=n.gpuAcceleration,o=void 0===s||s,r=n.adaptive,d=void 0===r||r,u=n.roundOffsets,p=void 0===u||u;if("production"!==e.env.NODE_ENV){var f=Object(a.a)(i.elements.popper).transitionProperty||"";d&&["transform","top","right","bottom","left"].some(function(e){return f.indexOf(e)>=0})}var m={placement:Object(l.a)(i.placement),variation:Object(c.a)(i.placement),popper:i.elements.popper,popperRect:i.rects.popper,gpuAcceleration:o};null!=i.modifiersData.popperOffsets&&(i.styles.popper=Object.assign({},i.styles.popper,h(Object.assign({},m,{offsets:i.modifiersData.popperOffsets,position:i.options.strategy,adaptive:d,roun
1dOffsets:p})))),null!=i.modifiersData.arrow&&(i.styles.arrow=Object.assign({},i.styles.arrow,h(Object.assign({},m,{offsets:i.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:p})))),i.attributes.popper=Object.assign({},i.attributes.popper,{"data-popper-placement":i.placement})},data:{}}}).call(t,i(17))},function(e,t,i){"use strict";var n=i(4),s={passive:!0};t.a={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,i=e.instance,o=e.options,r=o.scroll,a=void 0===r||r,l=o.resize,c=void 0===l||l,d=Object(n.a)(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach(function(e){e.addEventListener("scroll",i.update,s)}),c&&d.addEventListener("resize",i.update,s),function(){a&&u.forEach(function(e){e.removeEventListener("scroll",i.update,s)}),c&&d.removeEventListener("resize",i.update,s)}},data:{}}},function(e,t,i){"use strict";t.a=function(e){return Object(n.a)(Object(s.a)(e)).left+Object(o.a)(e).scrollLeft};var n=i(11),s=i(6),o=i(28)},function(e,t,i){"use strict";t.a=function(e){var t=Object(n.a)(e),i=t.pageXOffset,s=t.pageYOffset;return{scrollLeft:i,scrollTop:s}};var n=i(4)},function(e,t,i){"use strict";t.a=function(e){var t=Object(n.a)(e),i=t.overflow,s=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(i+o+s)};var n=i(9)},function(e,t,i){"use strict";var n=i(44);t.a={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,i=e.name;t.modifiersData[i]=Object(n.a)({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}}},function(e,t,i){"use strict";(function(e){t.c=y,i.d(t,"a",function(){return w});var n=i(67),s=i(23),o=i(42),r=i(12),a=i(9),l=i(70),c=i(71),d=i(72),u=i(74),h=i(5),p=i(75),f=i(15),m=i(3),g=i(2);i.d(t,"b",function(){return f.a});var v={placement:"bottom",modifiers:[],strategy:"absolute"};function b(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function y(t){void 0===t&&(t={});var i=t,f=i.defaultModifiers,y=void 0===f?[]:f,w=i.defaultOptions,E=void 0===w?v:w;return function(t,i,f){void 0===f&&(f=E);var w={placement:"bottom",orderedModifiers:[],options:Object.assign({},v,E),modifiersData:{},elements:{reference:t,popper:i},attributes:{},styles:{}},_=[],O=!1,T={state:w,setOptions:function(n){var s="function"==typeof n?n(w.options):n;x(),w.options=Object.assign({},E,w.options,s),w.scrollParents={reference:Object(m.a)(t)?Object(o.a)(t):t.contextElement?Object(o.a)(t.contextElement):[],popper:Object(o.a)(i)};var r=Object(l.a)(Object(p.a)([].concat(y,w.options.modifiers)));if(w.orderedModifiers=r.filter(function(e){return e.enabled}),"production"!==e.env.NODE_ENV){var c=Object(u.a)([].concat(r,w.options.modifiers),function(e){return e.name});if(Object(d.a)(c),Object(h.a)(w.options.placement)===g.d)w.orderedModifiers.find(function(e){return"flip"===e.name});var f=Object(a.a)(i);[f.marginTop,f.marginRight,f.marginBottom,f.marginLeft].some(function(e){return parseFloat(e)})}return w.orderedModifiers.forEach(function(e){var t=e.name,i=e.options,n=void 0===i?{}:i,s=e.effect;if("function"==typeof s){var o=s({state:w,name:t,instance:T,options:n});_.push(o||function(){})}}),T.update()},forceUpdate:function(){if(!O){var t=w.elements,i=t.reference,o=t.popper;if(b(i,o)){w.rects={reference:Object(n.a)(i,Object(r.a)(o),"fixed"===w.options.strategy),popper:Object(s.a)(o)},w.reset=!1,w.placement=w.options.placement,w.orderedModifiers.forEach(function(e){return w.modifiersData[e.name]=Object.assign({},e.data)});for(var a=0,l=0;l<w.orderedModifiers.length&&!("production"!==e.env.NODE_ENV&&(a+=1)>100);l++)if(!0!==w.reset){var c=w.orderedModifiers[l],d=c.fn,u=c.options,h=void 0===u?{}:u,p=c.name;"function"==typeof d&&(w=d({state:w,options:h,name:p,instance:T})||w)}else w.reset=!1,l=-1}else e.env.NODE_ENV}},update:Object(c.a)(function(){return new Promise(function(e){T.forceUpdate(),e(w)})}),destroy:function(){x(),O=!0}};if(!b(t,i))return e.env.NODE_ENV,T;function x(){_.forEach(function(e){return e()}),_=[]}
1return T.setOptions(f).then(function(e){!O&&f.onFirstUpdate&&f.onFirstUpdate(e)}),T}}var w=y()}).call(t,i(17))},function(e,t,i){"use strict";t.b=((e,t)=>{if(!e||e.destroyed||!e.params)return;const i=t.closest((()=>e.isElement?"swiper-slide":`.${e.params.slideClass}`)());if(i){const t=i.querySelector(`.${e.params.lazyPreloaderClass}`);t&&t.remove()}});const n=(e,t)=>{if(!e.slides[t])return;const i=e.slides[t].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")};t.a=(e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const i=e.slides.length;if(!i||!t||t<0)return;t=Math.min(t,i);const s="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),o=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const i=o,r=[i-t];return r.push(...Array.from({length:t}).map((e,t)=>i+s+t)),void e.slides.forEach((t,i)=>{r.includes(t.column)&&n(e,i)})}const r=o+s-1;if(e.params.rewind||e.params.loop)for(let s=o-t;s<=r+t;s+=1){const t=(s%i+i)%i;(t<o||t>r)&&n(e,t)}else for(let s=Math.max(o-t,0);s<=Math.min(r+t,i-1);s+=1)s!==o&&(s>r||s<o)&&n(e,s)})},function(e,t,i){"use strict";t.a=function(e,t,i,s){e.params.createElements&&Object.keys(s).forEach(o=>{if(!i[o]&&!0===i.auto){let r=Object(n.d)(e.el,`.${s[o]}`)[0];r||((r=Object(n.b)("div",s[o])).className=s[o],e.el.append(r)),i[o]=r,t[o]=r}});return i};var n=i(0)},function(e,t,i){"use strict";var n=i(22);i.d(t,"a",function(){return n.a});var s=i(35);i.d(t,"b",function(){return s.a});var o=i(25);i.d(t,"c",function(){return o.a});var r=i(26);i.d(t,"d",function(){return r.a});var a=i(41);i.d(t,"e",function(){return a.a});var l=i(45);i.d(t,"f",function(){return l.a});var c=i(46);i.d(t,"g",function(){return c.a});var d=i(30);i.d(t,"h",function(){return d.a});var u=i(47);i.d(t,"i",function(){return u.a})},function(e,t,i){"use strict";(function(e){var n=i(5),s=i(23),o=i(36),r=i(12),a=i(24),l=i(37),c=i(38),d=i(40),u=i(2),h=i(3),p=function(e,t){return e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e,Object(c.a)("number"!=typeof e?e:Object(d.a)(e,u.e))};t.a={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,i=e.state,o=e.name,c=e.options,d=i.elements.arrow,h=i.modifiersData.popperOffsets,f=Object(n.a)(i.placement),m=Object(a.a)(f),g=[u.l,u.s].indexOf(f)>=0?"height":"width";if(d&&h){var v=p(c.padding,i),b=Object(s.a)(d),y="y"===m?u.u:u.l,w="y"===m?u.i:u.s,E=i.rects.reference[g]+i.rects.reference[m]-h[m]-i.rects.popper[g],_=h[m]-i.rects.reference[m],O=Object(r.a)(d),T=O?"y"===m?O.clientHeight||0:O.clientWidth||0:0,x=E/2-_/2,S=v[y],C=T-b[g]-v[w],P=T/2-b[g]/2+x,M=Object(l.a)(S,P,C),L=m;i.modifiersData[o]=((t={})[L]=M,t.centerOffset=M-P,t)}},effect:function(t){var i=t.state,n=t.options.element,s=void 0===n?"[data-popper-arrow]":n;null!=s&&("string"!=typeof s||(s=i.elements.popper.querySelector(s)))&&("production"!==e.env.NODE_ENV&&Object(h.b)(s),Object(o.a)(i.elements.popper,s)?i.elements.arrow=s:e.env.NODE_ENV)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}}).call(t,i(17))},function(e,t,i){"use strict";t.a=function(e,t){var i=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(i&&Object(n.c)(i)){var s=t;do{if(s&&e.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1};var n=i(3)},function(e,t,i){"use strict";t.a=function(e,t,i){return Object(n.a)(e,Object(n.b)(t,i))};var n=i(13)},function(e,t,i){"use strict";t.a=function(e){return Object.assign({},Object(n.a)(),e)};var n=i(39)},function(e,t,i){"use strict";t.a=function(){return{top:0,right:0,bottom:0,left:0}}},function(e,t,i){"use strict";t.a=function(e,t){return t.reduce(function(t,i){return t[i]=e,t},{})}},function(e,t,i){"use strict";var n=i(59),s=i(5),o=i(60),r=i(15),a=i(65),l=i(2),c=i(14);t.a={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,i=e.options,d=e.name;if(!t.modifiersData[d]._skip){for(var u=i.mainAxis,h=void 0===u||u,p=i.altAxis,f=void 0===p||p,m=i.fallbackPlacements,g=i.padding,v=i.boundary,b=i.rootBoundary,y=i.altBoundary,w=i.flipVariations,E=void 0===w||w,_=i.allowedAutoPlacements,O=t.options.placement,T=Object(s.a)(O),x=m||(T!==O&&E?function(e){if(Object(s.a)(e)===l.d)return[];var t=Object(n.a)(e);return[Object(o.a)(e),t,Object(o.a)(t)]}(O):[Object(n.a)(O)]),S=[O].concat(x).reduce(function(e,i){return e.concat(Object(s.a)(i)===l.d?Object(a.a)(t,{placement:i,boundary:v,rootBoundary:b,padding:g,flipVariations:E,allowedAutoPlacements:_}):i)},[]),C=t.rects.reference,P=t.rects.popper,M=new Map,L=!0,A=S[0],j=0;j<S.length;j++){var k=S[j],D=Object(s.a)(k),I=Object(c.a)(k)===l.t,z=[l.u,l.i].indexOf(D)>=0,R=z?"width":"height",N=Object(r.a)(t,{placement:k,boundary:v,rootBoundary:b,altBoundary:y,padding:g}),F=z?I?l.s:l.l:I?l.i:l.u;C[R]>P[R]&&(F=Object(n.a)(F));var B=Object(n.a)(F),H=[];if(h&&H.push(N[D]<=0),f&&H.push(N[F]<=0,N[B]<=0),H.every(function(e){return e})){A=k,L=!1;break}M.set(k,H)}if(L)for(var W=function(e){var t=S.find(function(t){var i=M.get(t);if(i)return i.slice(0,e).every(function(e){return e})});if(t)return A=t,"break"},q=E?3:1;q>0&&"break"!==W(q);q--);t.placement!==A&&(t.modifiersData[d]._skip=!0,t.placement=A,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}}},function(e,t,i){"use strict";t.a=function e(t,i){var a;void 0===i&&(i=[]);var l=Object(n.a)(t);var c=l===(null==(a=t.ownerDocument)?void 0:a.body);var d=Object(o.a)(l);
1var u=c?[d].concat(d.visualViewport||[],Object(r.a)(l)?l:[]):l;var h=i.concat(u);return c?h:h.concat(e(Object(s.a)(u)))};var n=i(64),s=i(18),o=i(4),r=i(29)},function(e,t,i){"use strict";t.a=function(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}},function(e,t,i){"use strict";t.a=function(e){var t,i=e.reference,a=e.element,l=e.placement,c=l?Object(n.a)(l):null,d=l?Object(s.a)(l):null,u=i.x+i.width/2-a.width/2,h=i.y+i.height/2-a.height/2;switch(c){case r.u:t={x:u,y:i.y-a.height};break;case r.i:t={x:u,y:i.y+i.height};break;case r.s:t={x:i.x+i.width,y:h};break;case r.l:t={x:i.x-a.width,y:h};break;default:t={x:i.x,y:i.y}}var p=c?Object(o.a)(c):null;if(null!=p){var f="y"===p?"height":"width";switch(d){case r.t:t[p]=t[p]-(i[f]/2-a[f]/2);break;case r.k:t[p]=t[p]+(i[f]/2-a[f]/2)}}return t};var n=i(5),s=i(14),o=i(24),r=i(2)},function(e,t,i){"use strict";var n=i(2),s=i(15);function o(e,t,i){return void 0===i&&(i={x:0,y:0}),{top:e.top-t.height-i.y,right:e.right-t.width+i.x,bottom:e.bottom-t.height+i.y,left:e.left-t.width-i.x}}function r(e){return[n.u,n.s,n.i,n.l].some(function(t){return e[t]>=0})}t.a={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,i=e.name,n=t.rects.reference,a=t.rects.popper,l=t.modifiersData.preventOverflow,c=Object(s.a)(t,{elementContext:"reference"}),d=Object(s.a)(t,{altBoundary:!0}),u=o(c,n),h=o(d,a,l),p=r(u),f=r(h);t.modifiersData[i]={referenceClippingOffsets:u,popperEscapeOffsets:h,isReferenceHidden:p,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":f})}}},function(e,t,i){"use strict";var n=i(5),s=i(2);t.a={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,i=e.options,o=e.name,r=i.offset,a=void 0===r?[0,0]:r,l=s.o.reduce(function(e,i){return e[i]=function(e,t,i){var o=Object(n.a)(e),r=[s.l,s.u].indexOf(o)>=0?-1:1,a="function"==typeof i?i(Object.assign({},t,{placement:e})):i,l=a[0],c=a[1];return l=l||0,c=(c||0)*r,[s.l,s.s].indexOf(o)>=0?{x:c,y:l}:{x:l,y:c}}(i,t.rects,a),e},{}),c=l[t.placement],d=c.x,u=c.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=d,t.modifiersData.popperOffsets.y+=u),t.modifiersData[o]=l}}},function(e,t,i){"use strict";var n=i(2),s=i(5),o=i(24),r=i(66),a=i(37),l=i(23),c=i(12),d=i(15),u=i(14),h=i(39),p=i(13);t.a={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,i=e.options,f=e.name,m=i.mainAxis,g=void 0===m||m,v=i.altAxis,b=void 0!==v&&v,y=i.boundary,w=i.rootBoundary,E=i.altBoundary,_=i.padding,O=i.tether,T=void 0===O||O,x=i.tetherOffset,S=void 0===x?0:x,C=Object(d.a)(t,{boundary:y,rootBoundary:w,padding:_,altBoundary:E}),P=Object(s.a)(t.placement),M=Object(u.a)(t.placement),L=!M,A=Object(o.a)(P),j=Object(r.a)(A),k=t.modifiersData.popperOffsets,D=t.rects.reference,I=t.rects.popper,z="function"==typeof S?S(Object.assign({},t.rects,{placement:t.placement})):S,R={x:0,y:0};if(k){if(g||b){var N="y"===A?n.u:n.l,F="y"===A?n.i:n.s,B="y"===A?"height":"width",H=k[A],W=k[A]+C[N],q=k[A]-C[F],$=T?-I[B]/2:0,V=M===n.t?D[B]:I[B],G=M===n.t?-I[B]:-D[B],Y=t.elements.arrow,X=T&&Y?Object(l.a)(Y):{width:0,height:0},U=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Object(h.a)(),K=U[N],Z=U[F],Q=Object(a.a)(0,D[B],X[B]),J=L?D[B]/2-$-Q-K-z:V-Q-K-z,ee=L?-D[B]/2+$+Q+Z+z:G+Q+Z+z,te=t.elements.arrow&&Object(c.a)(t.elements.arrow),ie=te?"y"===A?te.clientTop||0:te.clientLeft||0:0,ne=t.modifiersData.offset?t.modifiersData.offset[t.placement][A]:0,se=k[A]+J-ne-ie,oe=k[A]+ee-ne;if(g){var re=Object(a.a)(T?Object(p.b)(W,se):W,H,T?Object(p.a)(q,oe):q);k[A]=re,R[A]=re-H}if(b){var ae="x"===A?n.u:n.l,le="x"===A?n.i:n.s,ce=k[j],de=ce+C[ae],ue=ce-C[le],he=Object(a.a)(T?Object(p.b)(de,se):de,ce,T?Object(p.a)(ue,oe):ue);k[j]=he,R[j]=he-ce}}t.modifiersData[f]=R}},requiresIfExists:["offset"]}},function(e,t,i){"use strict";i.d(t,"a",function(){return c});var n=i(31),s=i(26),o=i(30),r=i(25),a=i(22),l=[s.a,o.a,r.a,a.a],c=Object(n.c)({defaultModifiers:l})},function(e,t,i){"use strict";i.d(t,"a",function(){return o}
1);var n=i(1);let s;function o(){return s||(s=function(){const e=Object(n.b)(),t=Object(n.a)();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),s}},function(e,t,i){"use strict";t.a=function({swiper:e,runCallbacks:t,direction:i,step:n}){const{activeIndex:s,previousIndex:o}=e;let r=i;r||(r=s>o?"next":s<o?"prev":"reset");if(e.emit(`transition${n}`),t&&s!==o){if("reset"===r)return void e.emit(`slideResetTransition${n}`);e.emit(`slideChangeTransition${n}`),"next"===r?e.emit(`slideNextTransition${n}`):e.emit(`slidePrevTransition${n}`)}}},function(e,t,i){"use strict";t.a=function(e=""){return`.${e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}},function(e,t,i){"use strict";var n=i(19);t.a={init:function(){document.querySelectorAll(".swiper-seance").forEach(function(e){var t=new n.c(e,{modules:[n.b,n.a],slidesPerView:1,loop:!0,speed:3e3,keyboard:{enabled:!0},autoplay:{delay:2e3,disableOnInteraction:!1,pauseOnMouseEnter:!1},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}}),i=e.querySelectorAll(".swiper-slide"),s=e.querySelector(".swiper-nav");i.length<=1&&(s.style.display="none");var o=e.querySelector(".swiper-button-pause"),r=o.querySelector(".pause"),a=o.querySelector(".play");o.addEventListener("click",function(){t.autoplay.running?(t.autoplay.stop(),o.setAttribute("aria-label","Lancer le diaporama"),r.classList.remove("show"),a.classList.add("show")):(t.autoplay.start(),o.setAttribute("aria-label","Mettre sur pause le diaporama"),r.classList.add("show"),a.classList.remove("show"))}),e.querySelectorAll(".swiper-slide").forEach(function(e,i){e.addEventListener("focusin",function(){t.autoplay.running&&t.autoplay.stop(),t.slideTo(i,500,!1)}),e.addEventListener("focusout",function(){t.autoplay.running||t.autoplay.start()})})})},finalize:function(){}}},function(e,t,i){i(54),e.exports=i(177)},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){var t=i(8),n=(i.n(t),i(55),i(77)),s=i(79),o=i(84),r=i(171),a=i(172),l=i(173),c=i(52),d=i(176),u=new n.a({common:s.a,home:o.a,singlePost:r.a,singleFilm:a.a,singleAlbum:l.a,calendrier:c.a,calendar:c.a,laProgrammation:d.a});e(document).ready(function(){return u.loadEvents()})}.call(t,i(8))},function(e,t,i){"use strict";i(56)},function(e,t,i){"use strict";(function(e){var t=i(57),n="transitionend",s=function(e){do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e},o=function(e){var t=e.getAttribute("data-bs-target");if(!t||"#"===t){var 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},r=function(e){var t=o(e);return t&&document.querySelector(t)?t:null},a=function(e){var t=o(e);return t?document.querySelector(t):null},l=function(e){if(!e)return 0;var t=window.getComputedStyle(e),i=t.transitionDuration,n=t.transitionDelay,s=Number.parseFloat(i),o=Number.parseFloat(n);return s||o?(i=i.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(i)+Number.parseFloat(n))):0},c=function(e){e.dispatchEvent(new Event(n))},d=function(e){return(e[0]||e).nodeType},u=function(e,t){var i=!1,s=t+5;e.addEventListener(n,function t(){i=!0,e.removeEventListener(n,t)}),setTimeout(function(){i||c(e)},s)}
1,h=function(e,t,i){Object.keys(i).forEach(function(n){var s,o=i[n],r=t[n],a=r&&d(r)?"element":null===(s=r)||void 0===s?""+s:{}.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(o).test(a))throw new TypeError(e.toUpperCase()+': Option "'+n+'" provided type "'+a+'" but expected type "'+o+'".')})},p=function(e){if(!e)return!1;if(e.style&&e.parentNode&&e.parentNode.style){var t=getComputedStyle(e),i=getComputedStyle(e.parentNode);return"none"!==t.display&&"none"!==i.display&&"hidden"!==t.visibility}return!1},f=function(e){return!e||e.nodeType!==Node.ELEMENT_NODE||(!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")))},m=function(e){if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){var t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?m(e.parentNode):null},g=function(){return function(){}},v=function(e){return e.offsetHeight},b=function(){var t=e;return t&&!document.body.hasAttribute("data-bs-no-jquery")?t:null},y=function(){return"rtl"===document.documentElement.dir},w=function(e,t){var i;i=function(){var i=b();if(i){var n=i.fn[e];i.fn[e]=t.jQueryInterface,i.fn[e].Constructor=t,i.fn[e].noConflict=function(){return i.fn[e]=n,t.jQueryInterface}}},"loading"===document.readyState?document.addEventListener("DOMContentLoaded",i):i()},E=new Map,_=function(e,t,i){E.has(e)||E.set(e,new Map);var n=E.get(e);(n.has(t)||0===n.size)&&n.set(t,i)},O=function(e,t){return E.has(e)&&E.get(e).get(t)||null},T=function(e,t){if(E.has(e)){var i=E.get(e);i.delete(t),0===i.size&&E.delete(e)}},x=/[^.]*(?=\..*)\.|.*/,S=/\..*/,C=/::\d+$/,P={}
1,M=1,L={mouseenter:"mouseover",mouseleave:"mouseout"},A=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"]); 2/*! 3 * Bootstrap v5.0.0-beta3 (https://getbootstrap.com/) 4 * Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 5 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 6 */function j(e,t){return t&&t+"::"+M++||e.uidEvent||M++}function k(e){var t=j(e);return e.uidEvent=t,P[t]=P[t]||{},P[t]}function D(e,t,i){void 0===i&&(i=null);for(var n=Object.keys(e),s=0,o=n.length;s<o;s++){var r=e[n[s]];if(r.originalHandler===t&&r.delegationSelector===i)return r}return null}function I(e,t,i){var n="string"==typeof t,s=n?i:t,o=e.replace(S,""),r=L[o];return r&&(o=r),A.has(o)||(o=e),[n,s,o]}function z(e,t,i,n,s){if("string"==typeof t&&e){i||(i=n,n=null);var o=I(t,i,n),r=o[0],a=o[1],l=o[2],c=k(e),d=c[l]||(c[l]={}),u=D(d,a,r?i:null);if(u)u.oneOff=u.oneOff&&s;else{var h=j(a,t.replace(x,"")),p=r?function(e,t,i){return function n(s){for(var o=e.querySelectorAll(t),r=s.target;r&&r!==this;r=r.parentNode)for(var a=o.length;a--;)if(o[a]===r)return s.delegateTarget=r,n.oneOff&&N.off(e,s.type,i),i.apply(r,[s]);return null}}(e,i,n):function(e,t){return function i(n){return n.delegateTarget=e,i.oneOff&&N.off(e,n.type,t),t.apply(e,[n])}}(e,i);p.delegationSelector=r?i:null,p.originalHandler=a,p.oneOff=s,p.uidEvent=h,d[h]=p,e.addEventListener(l,p,r)}}}function R(e,t,i,n,s){var o=D(t[i],n,s);o&&(e.removeEventListener(i,o,Boolean(s)),delete t[i][o.uidEvent])}var N={on:function(e,t,i,n){z(e,t,i,n,!1)},one:function(e,t,i,n){z(e,t,i,n,!0)},off:function(e,t,i,n){if("string"==typeof t&&e){var s=I(t,i,n),o=s[0],r=s[1],a=s[2],l=a!==t,c=k(e),d=t.startsWith(".");if(void 0===r){d&&Object.keys(c).forEach(function(i){!function(e,t,i,n){var s=t[i]||{};Object.keys(s).forEach(function(o){if(o.includes(n)){var r=s[o];R(e,t,i,r.originalHandler,r.delegationSelector)}})}(e,c,i,t.slice(1))});var u=c[a]||{};Object.keys(u).forEach(function(i){var n=i.replace(C,"");if(!l||t.includes(n)){var s=u[i];R(e,c,a,s.originalHandler,s.delegationSelector)}})}else{if(!c||!c[a])return;R(e,c,a,r,o?i:null)}}},trigger:function(e,t,i){if("string"!=typeof t||!e)return null;var n,s=b(),o=t.replace(S,""),r=t!==o,a=A.has(o),l=!0,c=!0,d=!1,u=null;return r&&s&&(n=s.Event(t,i),s(e).trigger(n),l=!n.isPropagationStopped(),c=!n.isImmediatePropagationStopped(),d=n.isDefaultPrevented()),a?(u=document.createEvent("HTMLEvents")).initEvent(o,l,!0):u=new CustomEvent(t,{bubbles:l,cancelable:!0}
6),void 0!==i&&Object.keys(i).forEach(function(e){Object.defineProperty(u,e,{get:function(){return i[e]}})}),d&&u.preventDefault(),c&&e.dispatchEvent(u),u.defaultPrevented&&void 0!==n&&n.preventDefault(),u}},F=function(e){(e="string"==typeof e?document.querySelector(e):e)&&(this._element=e,_(this._element,this.constructor.DATA_KEY,this))},B={VERSION:{}};F.prototype.dispose=function(){T(this._element,this.constructor.DATA_KEY),this._element=null},F.getInstance=function(e){return O(e,this.DATA_KEY)},B.VERSION.get=function(){return"5.0.0-beta3"},Object.defineProperties(F,B);var H=function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var i={DATA_KEY:{}};return i.DATA_KEY.get=function(){return"bs.alert"},t.prototype.close=function(e){var t=e?this._getRootElement(e):this._element,i=this._triggerCloseEvent(t);null===i||i.defaultPrevented||this._removeElement(t)},t.prototype._getRootElement=function(e){return a(e)||e.closest(".alert")},t.prototype._triggerCloseEvent=function(e){return N.trigger(e,"close.bs.alert")},t.prototype._removeElement=function(e){var t=this;if(e.classList.remove("show"),e.classList.contains("fade")){var i=l(e);N.one(e,"transitionend",function(){return t._destroyElement(e)}),u(e,i)}else this._destroyElement(e)},t.prototype._destroyElement=function(e){e.parentNode&&e.parentNode.removeChild(e),N.trigger(e,"closed.bs.alert")},t.jQueryInterface=function(e){return this.each(function(){var i=O(this,"bs.alert");i||(i=new t(this)),"close"===e&&i[e](this)})},t.handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},Object.defineProperties(t,i),t}(F);N.on(document,"click.bs.alert.data-api",'[data-bs-dismiss="alert"]',H.handleDismiss(new H)),w("alert",H);var W=function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var i={DATA_KEY:{}};return i.DATA_KEY.get=function(){return"bs.button"},t.prototype.toggle=function(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))},t.jQueryInterface=function(e){return this.each(function(){var i=O(this,"bs.button");i||(i=new t(this)),"toggle"===e&&i[e]()})},Object.defineProperties(t,i),t}(F);function q(e){return"true"===e||"false"!==e&&(e===Number(e).toString()?Number(e):""===e||"null"===e?null:e)}function $(e){return e.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()})}N.on(document,"click.bs.button.data-api",'[data-bs-toggle="button"]',function(e){e.preventDefault();var t=e.target.closest('[data-bs-toggle="button"]'),i=O(t,"bs.button");i||(i=new W(t)),i.toggle()}),w("button",W);var V={setDataAttribute:function(e,t,i){e.setAttribute("data-bs-"+$(t),i)},removeDataAttribute:function(e,t){e.removeAttribute("data-bs-"+$(t))},getDataAttributes:function(e){if(!e)return{};var t={};return Object.keys(e.dataset).filter(function(e){return e.startsWith("bs")}).forEach(function(i){var n=i.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),t[n]=q(e.dataset[i])}),t},getDataAttribute:function(e,t){return q(e.getAttribute("data-bs-"+$(t)))},offset:function(e){var t=e.getBoundingClientRect();return{top:t.top+document.body.scrollTop,left:t.left+document.body.scrollLeft}},position:function(e){return{top:e.offsetTop,left:e.offsetLeft}}},G={find:function(e,t){return void 0===t&&(t=document.documentElement),(i=[]).concat.apply(i,Element.prototype.querySelectorAll.call(t,e));var i},findOne:function(e,t){return void 0===t&&(t=document.documentElement),Element.prototype.querySelector.call(t,e)},children:function(e,t){return(i=[]).concat.apply(i,e.children).filter(function(e){return e.matches(t)});var i},parents:function(e,t){for(var i=[],n=e.parentNode;n&&n.nodeType===Node.ELEMENT_NODE&&3!==n.nodeType;)n.matches(t)&&i.push(n),n=n.parentNode;return i},prev:function(e,t){for(var i=e.previousElementSibling;i;){if(i.matches(t))return[i];i=i.previousElementSibling}return[]},next:function(e,t){for(var i=e.nextElementSibling;i;){if(i.matches(t))return[i];i=i.nextElementSibling}return[]}},Y=".bs.carousel",X={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},U={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},K="next",Z="prev",Q="left",J="right",ee=".carousel-indicators",te=function(e){function t(t,i){e.call(this,t),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(i),this._indicatorsElement=G.findOne(ee,this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent),this._addEventListeners()}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var i={Default:{},DATA_KEY:{}};return i.Default.get=function(){return X},i.DATA_KEY.get=function(){return"bs.carousel"},t.prototype.next=function(){this._isSliding||this._slide(K)},t.prototype.nextWhenVisible=function(){!document.hidden&&p(this._element)&&this.next()},t.prototype.prev=function(){this._isSliding||this._slide(Z)},t.prototype.pause=function(e){e||(this._isPaused=!0),G.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(c(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},t.prototype.cycle=function(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},t.prototype.to=function(e){var t=this;this._activeElement=G.findOne(".active.carousel-item",this._element);var i=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0))if(this._isSliding)N.one(this._element,"slid.bs.carousel",function(){return t.to(e)});else{if(i===e)return this.pause(),void this.cycle();var n=e>i?K:Z;this._slide(n,this._items[e])}},t.prototype.dispose=function(){N.off(this._element,Y),this._items=null,this._config=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null,e.prototype.dispose.call(this)},t.prototype._getConfig=function(e){return e=Object.assign({}
6,X,e),h("carousel",e,U),e},t.prototype._handleSwipe=function(){var e=Math.abs(this.touchDeltaX);if(!(e<=40)){var t=e/this.touchDeltaX;this.touchDeltaX=0,t&&this._slide(t>0?J:Q)}},t.prototype._addEventListeners=function(){var e=this;this._config.keyboard&&N.on(this._element,"keydown.bs.carousel",function(t){return e._keydown(t)}),"hover"===this._config.pause&&(N.on(this._element,"mouseenter.bs.carousel",function(t){return e.pause(t)}),N.on(this._element,"mouseleave.bs.carousel",function(t){return e.cycle(t)})),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()},t.prototype._addTouchEventListeners=function(){var e=this,t=function(t){!e._pointerEvent||"pen"!==t.pointerType&&"touch"!==t.pointerType?e._pointerEvent||(e.touchStartX=t.touches[0].clientX):e.touchStartX=t.clientX},i=function(t){!e._pointerEvent||"pen"!==t.pointerType&&"touch"!==t.pointerType||(e.touchDeltaX=t.clientX-e.touchStartX),e._handleSwipe(),"hover"===e._config.pause&&(e.pause(),e.touchTimeout&&clearTimeout(e.touchTimeout),e.touchTimeout=setTimeout(function(t){return e.cycle(t)},500+e._config.interval))};G.find(".carousel-item img",this._element).forEach(function(e){N.on(e,"dragstart.bs.carousel",function(e){return e.preventDefault()})}),this._pointerEvent?(N.on(this._element,"pointerdown.bs.carousel",function(e){return t(e)}),N.on(this._element,"pointerup.bs.carousel",function(e){return i(e)}),this._element.classList.add("pointer-event")):(N.on(this._element,"touchstart.bs.carousel",function(e){return t(e)}),N.on(this._element,"touchmove.bs.carousel",function(t){return function(t){e.touchDeltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-e.touchStartX}(t)}),N.on(this._element,"touchend.bs.carousel",function(e){return i(e)}))},t.prototype._keydown=function(e){/input|textarea/i.test(e.target.tagName)||("ArrowLeft"===e.key?(e.preventDefault(),this._slide(Q)):"ArrowRight"===e.key&&(e.preventDefault(),this._slide(J)))},t.prototype._getItemIndex=function(e){return this._items=e&&e.parentNode?G.find(".carousel-item",e.parentNode):[],this._items.indexOf(e)},t.prototype._getItemByOrder=function(e,t){var i=e===K,n=e===Z,s=this._getItemIndex(t),o=this._items.length-1;if((n&&0===s||i&&s===o)&&!this._config.wrap)return t;var r=(s+(n?-1:1))%this._items.length;return-1===r?this._items[this._items.length-1]:this._items[r]},t.prototype._triggerSlideEvent=function(e,t){var i=this._getItemIndex(e),n=this._getItemIndex(G.findOne(".active.carousel-item",this._element));return N.trigger(this._element,"slide.bs.carousel",{relatedTarget:e,direction:t,from:n,to:i})},t.prototype._setActiveIndicatorElement=function(e){if(this._indicatorsElement){var t=G.findOne(".active",this._indicatorsElement);t.classList.remove("active"),t.removeAttribute("aria-current");for(var i=G.find("[data-bs-target]",this._indicatorsElement),n=0;n<i.length;n++)if(Number.parseInt(i[n].getAttribute("data-bs-slide-to"),10)===this._getItemIndex(e)){i[n].classList.add("active"),i[n].setAttribute("aria-current","true");break}}},t.prototype._updateInterval=function(){var e=this._activeElement||G.findOne(".active.carousel-item",this._element);if(e){var t=Number.parseInt(e.getAttribute("data-bs-interval"),10);t?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=t):this._config.interval=this._config.defaultInterval||this._config.interval}},t.prototype._slide=function(e,t){var i=this,n=this._directionToOrder(e),s=G.findOne(".active.carousel-item",this._element),o=this._getItemIndex(s),r=t||this._getItemByOrder(n,s),a=this._getItemIndex(r),c=Boolean(this._interval),d=n===K,h=d?"carousel-item-start":"carousel-item-end",p=d?"carousel-item-next":"carousel-item-prev",f=this._orderToDirection(n);if(r&&r.classList.contains("active"))this._isSliding=!1;else if(!this._triggerSlideEvent(r,f).defaultPrevented&&s&&r){if(this._isSliding=!0,c&&this.pause(),this._setActiveIndicatorElement(r),this._activeElement=r,this._element.classList.contains("slide")){r.classList.add(p),v(r),s.classList.add(h),r.classList.add(h);var m=l(s);N.one(s,"transitionend",function(){r.classList.remove(h,p),r.classList.add("active"),s.classList.remove("active",p,h),i._isSli
6ding=!1,setTimeout(function(){N.trigger(i._element,"slid.bs.carousel",{relatedTarget:r,direction:f,from:o,to:a})},0)}),u(s,m)}else s.classList.remove("active"),r.classList.add("active"),this._isSliding=!1,N.trigger(this._element,"slid.bs.carousel",{relatedTarget:r,direction:f,from:o,to:a});c&&this.cycle()}},t.prototype._directionToOrder=function(e){return[J,Q].includes(e)?y()?e===J?Z:K:e===J?K:Z:e},t.prototype._orderToDirection=function(e){return[K,Z].includes(e)?y()?e===K?Q:J:e===K?J:Q:e},t.carouselInterface=function(e,i){var n=O(e,"bs.carousel"),s=Object.assign({},X,V.getDataAttributes(e));"object"==typeof i&&(s=Object.assign({},s,i));var o="string"==typeof i?i:s.slide;if(n||(n=new t(e,s)),"number"==typeof i)n.to(i);else if("string"==typeof o){if(void 0===n[o])throw new TypeError('No method named "'+o+'"');n[o]()}else s.interval&&s.ride&&(n.pause(),n.cycle())},t.jQueryInterface=function(e){return this.each(function(){t.carouselInterface(this,e)})},t.dataApiClickHandler=function(e){var i=a(this);if(i&&i.classList.contains("carousel")){var n=Object.assign({},V.getDataAttributes(i),V.getDataAttributes(this)),s=this.getAttribute("data-bs-slide-to");s&&(n.interval=!1),t.carouselInterface(i,n),s&&O(i,"bs.carousel").to(s),e.preventDefault()}},Object.defineProperties(t,i),t}(F);N.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",te.dataApiClickHandler),N.on(window,"load.bs.carousel.data-api",function(){for(var e=G.find('[data-bs-ride="carousel"]'),t=0,i=e.length;t<i;t++)te.carouselInterface(e[t],O(e[t],"bs.carousel"))}),w("carousel",te);var ie={toggle:!0,parent:""},ne={toggle:"boolean",parent:"(string|element)"},se='[data-bs-toggle="collapse"]',oe=function(e){function t(t,i){var n=this;e.call(this,t),this._isTransitioning=!1,this._config=this._getConfig(i),this._triggerArray=G.find(se+'[href="#'+this._element.id+'"],'+se+'[data-bs-target="#'+this._element.id+'"]');for(var s=G.find(se),o=0,a=s.length;o<a;o++){var l=s[o],c=r(l),d=G.find(c).filter(function(e){return e===n._element});null!==c&&d.length&&(n._selector=c,n._triggerArray.push(l))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var i={Default:{},DATA_KEY:{}};return i.Default.get=function(){return ie},i.DATA_KEY.get=function(){return"bs.collapse"},t.prototype.toggle=function(){this._element.classList.contains("show")?this.hide():this.show()},t.prototype.show=function(){var e=this;if(!this._isTransitioning&&!this._element.classList.contains("show")){var i,n;this._parent&&0===(i=G.find(".show, .collapsing",this._parent).filter(function(t){return"string"==typeof e._config.parent?t.getAttribute("data-bs-parent")===e._config.parent:t.classList.contains("collapse")})).length&&(i=null);var s=G.findOne(this._selector);if(i){var o=i.find(function(e){return s!==e});if((n=o?O(o,"bs.collapse"):null)&&n._isTransitioning)return}if(!N.trigger(this._element,"show.bs.collapse").defaultPrevented){i&&i.forEach(function(e){s!==e&&t.collapseInterface(e,"hide"),n||_(e,"bs.collapse",null)});var r=this._getDimension();this._element.classList.remove("collapse"),this._element.classList.add("collapsing"),this._element.style[r]=0,this._triggerArray.length&&this._triggerArray.forEach(function(e){e.classList.remove("collapsed"),e.setAttribute("aria-expanded",!0)}),this.setTransitioning(!0);var a="scroll"+(r[0].toUpperCase()+r.slice(1)),c=l(this._element);N.one(this._element,"transitionend",function(){e._element.classList.remove("collapsing"),e._element.classList.add("collapse","show"),e._element.style[r]="",e.setTransitioning(!1),N.trigger(e._element,"shown.bs.collapse")}),u(this._element,c),this._element.style[r]=this._element[a]+"px"}}},t.prototype.hide=function(){var e=this;if(!this._isTransitioning&&this._element.classList.contains("show")&&!N.trigger(this._element,"hide.bs.collapse").defaultPrevented){var t=this._getDimension();this._element.style[t]=this._element.getBoundingClientRect()[t]+"px",v(this._element),this._element.classList.add("collapsing"),this._element.classList.remove("collapse","show");var i=this._triggerArray.length;if(i>0)for(var n=0;n<i;n++){var s=e._triggerArray[n],o=a(s);o&&!o.classList.contains("show")&&(s.classList.add("collapsed"),s.setAttribute("aria-expanded",!1))}this.setTransitioning(!0);this._element.style[t]="";var r=l(this._element);N.one(this._element,"transitionend",function(){e.setTransitioning(!1),e._element.classList.remove("collapsing"),e._element.classList.add("collapse"),N.trigger(e._element,"hidden.bs.collapse")}),u(this._element,r)}},t.prototype.setTransitioning=function(e){this._isTransitioning=e},t.prototype.dispose=function(){e.prototype.dispose.call(this),this._config=null,this._parent=null,this._triggerArray=null,this._isTransitioning=null},t.prototype._getConfig=function(e){return(e=Object.assign({},ie,e)).toggle=Boolean(e.toggle),h("collapse",e,ne),e},t.prototype._getDimension=function(){return this._element.classList.contains("width")?"width":"height"},t.prototype._getParent=function(){var e=this,t=this._config.parent;d(t)?void 0===t.jquery&&void 0===t[0]||(t=t[0]):t=G.findOne(t);var i=se+'[data-bs-parent="'+t+'"]';return G.find(i,t).forEach(function(t){var i=a(t);e._addAriaAndCollapsedClass(i,[t])}),t},t.prototype._addAriaAndCollapsedClass=function(e,t){if(e&&t.length){var i=e.classList.contains("show");t.forEach(function(e){i?e.classList.remove("collapsed"):e.classList.add("collapsed"),e.setAttribute("aria-expanded",i)})}},t.collapseInterface=function(e,i){var n=O(e,"bs.collapse"),s=Object.assign({},ie,V.getDataAttributes(e),"object"==typeof i&&i?i:{});if(!n&&s.toggle&&"string"==typeof i&&/show|hide/.test(i)&&(s.toggle=!1),n||(n=new t(e,s)),"string"==typeof i){if(void 0===n[i])throw new TypeError('No method n
6amed "'+i+'"');n[i]()}},t.jQueryInterface=function(e){return this.each(function(){t.collapseInterface(this,e)})},Object.defineProperties(t,i),t}(F);N.on(document,"click.bs.collapse.data-api",se,function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();var t=V.getDataAttributes(this),i=r(this);G.find(i).forEach(function(e){var i,n=O(e,"bs.collapse");n?(null===n._parent&&"string"==typeof t.parent&&(n._config.parent=t.parent,n._parent=n._getParent()),i="toggle"):i=t,oe.collapseInterface(e,i)})}),w("collapse",oe);var re=new RegExp("ArrowUp|ArrowDown|Escape"),ae=y()?"top-end":"top-start",le=y()?"top-start":"top-end",ce=y()?"bottom-end":"bottom-start",de=y()?"bottom-start":"bottom-end",ue=y()?"left-start":"right-start",he=y()?"right-start":"left-start",pe={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null},fe={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)"},me=function(e){function i(t,i){e.call(this,t),this._popper=null,this._config=this._getConfig(i),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}e&&(i.__proto__=e),i.prototype=Object.create(e&&e.prototype),i.prototype.constructor=i;var n={Default:{},DefaultType:{},DATA_KEY:{}};return n.Default.get=function(){return pe},n.DefaultType.get=function(){return fe},n.DATA_KEY.get=function(){return"bs.dropdown"},i.prototype.toggle=function(){if(!this._element.disabled&&!this._element.classList.contains("disabled")){var e=this._element.classList.contains("show");i.clearMenus(),e||this.show()}},i.prototype.show=function(){if(!(this._element.disabled||this._element.classList.contains("disabled")||this._menu.classList.contains("show"))){var e=i.getParentFromElement(this._element),n={relatedTarget:this._element};if(!N.trigger(this._element,"show.bs.dropdown",n).defaultPrevented){if(this._inNavbar)V.setDataAttribute(this._menu,"popper","none");else{if(void 0===t)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");var s=this._element;"parent"===this._config.reference?s=e:d(this._config.reference)?(s=this._config.reference,void 0!==this._config.reference.jquery&&(s=this._config.reference[0])):"object"==typeof this._config.reference&&(s=this._config.reference);var o=this._getPopperConfig(),r=o.modifiers.find(function(e){return"applyStyles"===e.name&&!1===e.enabled});this._popper=t.createPopper(s,this._menu,o),r&&V.setDataAttribute(this._menu,"popper","static")}var a;"ontouchstart"in document.documentElement&&!e.closest(".navbar-nav")&&(a=[]).concat.apply(a,document.body.children).forEach(function(e){return N.on(e,"mouseover",null,function(){})}),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.toggle("show"),this._element.classList.toggle("show"),N.trigger(this._element,"shown.bs.dropdown",n)}}},i.prototype.hide=function(){if(!this._element.disabled&&!this._element.classList.contains("disabled")&&this._menu.classList.contains("show")){var e={relatedTarget:this._element};N.trigger(this._element,"hide.bs.dropdown",e).defaultPrevented||(this._popper&&this._popper.destroy(),this._menu.classList.toggle("show"),this._element.classList.toggle("show"),V.removeDataAttribute(this._menu,"popper"),N.trigger(this._element,"hidden.bs.dropdown",e))}},i.prototype.dispose=function(){N.off(this._element,".bs.dropdown"),this._menu=null,this._popper&&(this._popper.destroy(),this._popper=null),e.prototype.dispose.call(this)},i.prototype.update=function(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()},i.prototype._addEventListeners=function(){var e=this;N.on(this._element,"click.bs.dropdown",function(t){t.preventDefault(),e.toggle()})},i.prototype._getConfig=function(e){if(e=Object.assign({},this.constructor.Default,V.getDataAttributes(this._element),e),h("dropdown",e,this.constructor.DefaultType),"object"==typeof e.reference&&!d(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError("dropdown".toUpperCase()+': Option "reference" provided type "object" without a required "getBoundingClientRect" method.');return e},i.prototype._getMenuElement=function(){return G.next(this._element,".dropdown-menu")[0]},i.prototype._getPlacement=function(){var e=this._element.parentNode;if(e.classList.contains("dropend"))return ue;if(e.classList.contains("dropstart"))return he;var t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?le:ae:t?de:ce},i.prototype._detectNavbar=function(){return null!==this._element.closest(".
6navbar")},i.prototype._getOffset=function(){var e=this,t=this._config.offset;return"string"==typeof t?t.split(",").map(function(e){return Number.parseInt(e,10)}):"function"==typeof t?function(i){return t(i,e._element)}:t},i.prototype._getPopperConfig=function(){var e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return"static"===this._config.display&&(e.modifiers=[{name:"applyStyles",enabled:!1}]),Object.assign({},e,"function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig)},i.dropdownInterface=function(e,t){var n=O(e,"bs.dropdown");if(n||(n=new i(e,"object"==typeof t?t:null)),"string"==typeof t){if(void 0===n[t])throw new TypeError('No method named "'+t+'"');n[t]()}},i.jQueryInterface=function(e){return this.each(function(){i.dropdownInterface(this,e)})},i.clearMenus=function(e){if(e){if(2===e.button||"keyup"===e.type&&"Tab"!==e.key)return;if(/input|select|textarea|form/i.test(e.target.tagName))return}for(var t,i=G.find('[data-bs-toggle="dropdown"]'),n=0,s=i.length;n<s;n++){var o=O(i[n],"bs.dropdown"),r={relatedTarget:i[n]};if(e&&"click"===e.type&&(r.clickEvent=e),o){var a=o._menu;if(i[n].classList.contains("show")){if(e){if([o._element].some(function(t){return e.composedPath().includes(t)}))continue;if("keyup"===e.type&&"Tab"===e.key&&a.contains(e.target))continue}N.trigger(i[n],"hide.bs.dropdown",r).defaultPrevented||("ontouchstart"in document.documentElement&&(t=[]).concat.apply(t,document.body.children).forEach(function(e){return N.off(e,"mouseover",null,function(){})}),i[n].setAttribute("aria-expanded","false"),o._popper&&o._popper.destroy(),a.classList.remove("show"),i[n].classList.remove("show"),V.removeDataAttribute(a,"popper"),N.trigger(i[n],"hidden.bs.dropdown",r))}}}},i.getParentFromElement=function(e){return a(e)||e.parentNode},i.dataApiKeydownHandler=function(e){if((/input|textarea/i.test(e.target.tagName)?!("Space"===e.key||"Escape"!==e.key&&("ArrowDown"!==e.key&&"ArrowUp"!==e.key||e.target.closest(".dropdown-menu"))):re.test(e.key))&&(e.preventDefault(),e.stopPropagation(),!this.disabled&&!this.classList.contains("disabled"))){var t=i.getParentFromElement(this),n=this.classList.contains("show");if("Escape"===e.key)return(this.matches('[data-bs-toggle="dropdown"]')?this:G.prev(this,'[data-bs-toggle="dropdown"]')[0]).focus(),void i.clearMenus();if(n||"ArrowUp"!==e.key&&"ArrowDown"!==e.key)if(n&&"Space"!==e.key){var s=G.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",t).filter(p);if(s.length){var o=s.indexOf(e.target);"ArrowUp"===e.key&&o>0&&o--,"ArrowDown"===e.key&&o<s.length-1&&o++,s[o=-1===o?0:o].focus()}}else i.clearMenus();else(this.matches('[data-bs-toggle="dropdown"]')?this:G.prev(this,'[data-bs-toggle="dropdown"]')[0]).click()}},Object.defineProperties(i,n),i}(F);N.on(document,"keydown.bs.dropdown.data-api",'[data-bs-toggle="dropdown"]',me.dataApiKeydownHandler),N.on(document,"keydown.bs.dropdown.data-api",".dropdown-menu",me.dataApiKeydownHandler),N.on(document,"click.bs.dropdown.data-api",me.clearMenus),N.on(document,"keyup.bs.dropdown.data-api",me.clearMenus),N.on(document,"click.bs.dropdown.data-api",'[data-bs-toggle="dropdown"]',function(e){e.preventDefault(),me.dropdownInterface(this)}),w("dropdown",me);var ge={backdrop:!0,keyboard:!0,focus:!0},ve={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},be=".modal-dialog",ye=function(e){function t(t,i){e.call(this,t),this._config=this._getConfig(i),this._dialog=G.findOne(be,this._element),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var i={Default:{},DATA_KEY:{}};return i.Default.get=function(){return ge},i.DATA_KEY.get=function(){return"bs.modal"},t.prototype.toggle=function(e){return this._isShown?this.hide():this.show(e)},t.prototype.show=function(e){var t=this;if(!this._isShown&&!this._isTransitioning){this._isAnimated()&&(this._isTransitioning=!0);var i=N.trigger(this._element,"show.bs.modal",{relatedTarget:e});this._isShown||i.defaultPrevented||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),N.on(this._element,"click.dismiss.bs.modal",'[data-bs-dismiss="modal"]',function(e){return t.hide(e)}),N.on(this._dialog,"mousedown.dismiss.bs.modal",function(){N.one(t._element,"mouseup.dismiss.bs.modal",function(e){e.target===t._element&&(t._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return t._showElement(e)}))}},t.prototype.hide=function(e){var t=this;if((e&&e.preventDefault(),this._isShown&&!this._isTransitioning)&&!N.trigger(this._element,"hide.bs.modal").defaultPrevented){this._isShown=!1;var i=this._isAnimated();if(i&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),N.off(document,"focusin.bs.modal"),this._element.classList.remove("show"),N.off(this._element,"click.dismiss.bs.modal"),N.off(this._dialog,"mousedown.dismiss.bs.modal"),i){var n=l(this._element);N.one(this._element,"transitionend",function(e){return t._hideModal(e)}),u(this._element,n)}else this._hideModal()}},t.prototype.dispose=function(){[window,this._element,this._dialog].forEach(function(e){return N.off(e,".bs.modal")}),e.prototype.dispose.call(this),N.off(document,"focusin.bs.modal"),this._config=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},t.prototype.handleUpdate=function(){this._adjustDialog()},t.prototype._getConfig=function(e){return e=Object.assign({},ge,e),h("modal",e,ve),e},t.prototype._showElement=function(e){var t=this,i=this._isAnimated(),n=G.findOne(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0,n&&(n.scrollTop=0),i&&v(this._element),this._element.classList.add("show"),this._config.focus&&this._enforceFocus();var s=function(){t._config.focus&&t._element.focus(),t._isTransitioning=!1,N.trigger(t._element,"shown.bs.modal",{relatedTarget:e})};if(i){var o=l(this._dialog);N.one(this._dialog,"transitionend",s),u(this._dialog,o)}else s()},t.prototype._enforceFocus=function(){var e=this;N.off(document,"focusin.bs.modal"),N.on(document,"focusin.bs.modal",function(t){document===t.target||e._element===t.target||e._element.contains(t.target)||e._element.focus()})},t.prototype._setEscapeEvent=function(){var e=this;this._isShown?N.on(this._element,"keydown.dismiss.bs.modal",function(t){e._config.keyboard&&"Escape"===t.key?(t.preventDefault(),e.hide()):e._config.keyboard||"Escape"!==t.key||e._triggerBackdropTransition()}):N.off(this._element,"keydown.dismiss.bs.modal")},t.prototype._setResizeEvent=function(){var e=this;this._isShown?N.on(window,"resize.bs.modal",function(){return e._adjustDialog()}):N.off(window,"resize.bs.modal")},t.prototype._hideModal=function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop(function(){document.body.classList.remove("modal-open"),e._resetAdjustments(),e._resetScrollbar(),N.trigger(e._element,"hidden.bs.modal")})},t.prototype._removeBackdrop=function(){this._backdrop.parentNode.removeChild(this._backdrop),this._backdrop=null},t.prototype._showBackdrop=function(e){var t=this,i=this._isAnimated();if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",i&&this._backdrop.classList.add("fade"),document.body.appendChild(this._backdrop),N.on(this._element,"click.dismiss.bs.modal",function(e){t._ignoreBackdropClick?t._ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"===t._config.backdrop?t._triggerBackdropTransition():t.hide())}),i&&v(this._backdrop),this._backdrop.classList.add("show"),!i)return void e();var n=l(this._backdrop);N.one(this._backdrop,"transitionend",e),u(this._backdrop,n)}else if(!this._isShown&&this._backdrop){this._backdrop.classList.remove("show");var s=function(){t._removeBackdrop(),e()};if(i){var o=l(this._backdrop);N.one(this._backdrop,"transitionend",s),u(this._backdrop,o)}else s()}else e()},t.prototype._isAnimated=function(){return this._element.classList.contains("fade")},t.prototype._triggerBackdropTransition=function(){var e=this;if(!N.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented){var t=this._element.scrollHeight>document.documentElement.clientHeight;t||(this._element.style.overflowY="hidden"),this._element.classList.add("modal-static");var i=l(this._dialog);N.off(this._element,"transitionend"),N.one(this._element,"transitionend",function(){e._element.classList.remove("modal-static"),t||(N.one(e._element,"transitionend",function(){e._element.style.overflowY=""}),u(e._element,i))}),u(this._element,i),this._element.focus()}},t.prototype._adjustDialog=function(){var e=this._element.scrollHeight>document.documentElement.clientHeight;(!this._isBodyOverflowing&&e&&!y()||this._isBodyOverflowing&&!e&&y())&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),(this._isBodyOverflowing&&!e&&!y()||!this._isBodyOverflowing&&e&&y())&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},t.prototype._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},t.prototype._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(e.left+e.right)<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},t.prototype._setScrollbar=function(){var e=this;this._isBodyOverflowing&&(this._setElementAttributes(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top","paddingRight",function(t){return t+e._scrollbarWidth}
6),this._setElementAttributes(".sticky-top","marginRight",function(t){return t-e._scrollbarWidth}),this._setElementAttributes("body","paddingRight",function(t){return t+e._scrollbarWidth})),document.body.classList.add("modal-open")},t.prototype._setElementAttributes=function(e,t,i){var n=this;G.find(e).forEach(function(e){if(!(e!==document.body&&window.innerWidth>e.clientWidth+n._scrollbarWidth)){var s=e.style[t],o=window.getComputedStyle(e)[t];V.setDataAttribute(e,t,s),e.style[t]=i(Number.parseFloat(o))+"px"}})},t.prototype._resetScrollbar=function(){this._resetElementAttributes(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top","paddingRight"),this._resetElementAttributes(".sticky-top","marginRight"),this._resetElementAttributes("body","paddingRight")},t.prototype._resetElementAttributes=function(e,t){G.find(e).forEach(function(e){var i=V.getDataAttribute(e,t);void 0===i&&e===document.body?e.style[t]="":(V.removeDataAttribute(e,t),e.style[t]=i)})},t.prototype._getScrollbarWidth=function(){var e=document.createElement("div");e.className="modal-scrollbar-measure",document.body.appendChild(e);var t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t},t.jQueryInterface=function(e,i){return this.each(function(){var n=O(this,"bs.modal"),s=Object.assign({},ge,V.getDataAttributes(this),"object"==typeof e&&e?e:{});if(n||(n=new t(this,s)),"string"==typeof e){if(void 0===n[e])throw new TypeError('No method named "'+e+'"');n[e](i)}})},Object.defineProperties(t,i),t}(F);N.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',function(e){var t=this,i=a(this);"A"!==this.tagName&&"AREA"!==this.tagName||e.preventDefault(),N.one(i,"show.bs.modal",function(e){e.defaultPrevented||N.one(i,"hidden.bs.modal",function(){p(t)&&t.focus()})});var n=O(i,"bs.modal");if(!n){var s=Object.assign({},V.getDataAttributes(i),V.getDataAttributes(this));n=new ye(i,s)}n.toggle(this)}),w("modal",ye);var we=function(){var e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)},Ee=function(e,t,i){var n=we();G.find(e).forEach(function(e){if(!(e!==document.body&&window.innerWidth>e.clientWidth+n)){var s=e.style[t],o=window.getComputedStyle(e)[t];V.setDataAttribute(e,t,s),e.style[t]=i(Number.parseFloat(o))+"px"}})},_e=function(e,t){G.find(e).forEach(function(e){var i=V.getDataAttribute(e,t);void 0===i&&e===document.body?e.style.removeProperty(t):(V.removeDataAttribute(e,t),e.style[t]=i)})},Oe={backdrop:!0,keyboard:!0,scroll:!1},Te={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},xe=function(e){function t(t,i){e.call(this,t),this._config=this._getConfig(i),this._isShown=!1,this._addEventListeners()}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var i={Default:{},DATA_KEY:{}};return i.Default.get=function(){return Oe},i.DATA_KEY.get=function(){return"bs.offcanvas"},t.prototype.toggle=function(e){return this._isShown?this.hide():this.show(e)},t.prototype.show=function(e){var t=this;if(!this._isShown&&!N.trigger(this._element,"show.bs.offcanvas",{relatedTarget:e}).defaultPrevented){var i;this._isShown=!0,this._element.style.visibility="visible",this._config.backdrop&&document.body.classList.add("offcanvas-backdrop"),this._config.scroll||(void 0===i&&(i=we()),document.body.style.overflow="hidden",Ee(".fixed-top, .fixed-bottom, .is-fixed","paddingRight",function(e){return e+i}),Ee(".sticky-top","marginRight",function(e){return e-i}),Ee("body","paddingRight",function(e){return e+i})),this._element.classList.add("offcanvas-toggling"),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add("show");setTimeout(function(){t._element.classList.remove("offcanvas-toggling"),N.trigger(t._element,"shown.bs.offcanvas",{relatedTarget:e}),t._enforceFocusOnElement(t._element)},l(this._element))}},t.prototype.hide=function(){var e=this;if(this._isShown&&!N.trigger(this._element,"hide.bs.offcanvas").defaultPrevented){this._element.classList.add("offcanvas-toggling"),N.off(document,"focusin.bs.offcanvas"),this._element.blur(),this._isShown=!1,this._element.classList.remove("show");setTimeout(function(){e._element.setAttribute("aria-hidden",!0),e._element.removeAttribute("aria-modal"),e._element.removeAttribute("role"),e._element.style.visibility="hidden",e._config.backdrop&&document.body.classList.remove("offcanvas-backdrop"),e._config.scroll||(document.body.style.overflow="auto",_e(".fixed-top, .fixed-bottom, .is-fixed","paddingRight"),_e(".sticky-top","marginRight"),_e("body","paddingRight")),N.trigger(e._element,"hidden.bs.offcanvas"),e._element.classList.remove("offcanvas-toggling")},l(this._element))}},t.prototype._getConfig=function(e){return e=Object.assign({},Oe,V.getDataAttributes(this._element),"object"==typeof e?e:{}),h("offcanvas",e,Te),e},t.prototype._enforceFocusOnElement=function(e){N.off(document,"focusin.bs.offcanvas"),N.on(document,"focusin.bs.offcanvas",function(t){document===t.target||e===t.target||e.contains(t.target)||e.focus()}),e.focus()},t.prototype._addEventListeners=function(){var e=this;N.on(this._element,"click.dismiss.bs.offcanvas",'[data-bs-dismiss="offcanvas"]',function(){return e.hide()}),N.on(document,"keydown",function(t){e._config.keyboard&&"Escape"===t.key&&e.hide()}),N.on(document,"click.bs.offcanvas.data-api",function(t){var i=G.findOne(r(t.target));e._element.contains(t.target)||i===e._element||e.hide()})},t.jQueryInterface=function(e){return this.each(function(){var i=O(this,"bs.offcanvas")||new t(this,"object"==typeof e?e:{});if("string"==typeof e){if(void 0===i[e]||e.startsWith("_")||"constructor"===e)throw new TypeError('No method n
6amed "'+e+'"');i[e](this)}})},Object.defineProperties(t,i),t}(F);N.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(e){var t=this,i=a(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),!f(this)){N.one(i,"hidden.bs.offcanvas",function(){p(t)&&t.focus()});var n=G.findOne(".offcanvas.show, .offcanvas-toggling");if(!n||n===i)(O(i,"bs.offcanvas")||new xe(i)).toggle(this)}}),N.on(window,"load.bs.offcanvas.data-api",function(){G.find(".offcanvas.show").forEach(function(e){return(O(e,"bs.offcanvas")||new xe(e)).show()})}),w("offcanvas",xe);var Se=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Ce=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/i,Pe=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Me=function(e,t){var i=e.nodeName.toLowerCase();if(t.includes(i))return!Se.has(i)||Boolean(Ce.test(e.nodeValue)||Pe.test(e.nodeValue));for(var n=t.filter(function(e){return e instanceof RegExp}),s=0,o=n.length;s<o;s++)if(n[s].test(i))return!0;return!1},Le={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]};function Ae(e,t,i){if(!e.length)return e;if(i&&"function"==typeof i)return i(e);for(var n,s,o=(new window.DOMParser).parseFromString(e,"text/html"),r=Object.keys(t),a=(n=[]).concat.apply(n,o.body.querySelectorAll("*")),l=function(e,i){var n=a[e],o=n.nodeName.toLowerCase();if(r.includes(o)){var l=(s=[]).concat.apply(s,n.attributes),c=[].concat(t["*"]||[],t[o]||[]);l.forEach(function(e){Me(e,c)||n.removeAttribute(e.nodeName)})}else n.parentNode.removeChild(n)},c=0,d=a.length;c<d;c++)l(c);return o.body.innerHTML}var je=new RegExp("(^|\\s)bs-tooltip\\S+","g"),ke=new Set(["sanitize","allowList","sanitizeFn"]),De={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(array|string|function)",container:"(string|element|boolean)",fallbackPlacements:"array",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",allowList:"object",popperConfig:"(null|object|function)"},Ie={AUTO:"auto",TOP:"top",RIGHT:y()?"left":"right",BOTTOM:"bottom",LEFT:y()?"right":"left"},ze={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:Le,popperConfig:null},Re={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},Ne=function(e){function i(i,n){if(void 0===t)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");e.call(this,i),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.config=this._getConfig(n),this.tip=null,this._setListeners()}e&&(i.__proto__=e),i.prototype=Object.create(e&&e.prototype),i.prototype.constructor=i;var n={Default:{},NAME:{},DATA_KEY:{},Event:{},EVENT_KEY:{},DefaultType:{}};return n.Default.get=function(){return ze},n.NAME.get=function(){return"tooltip"},n.DATA_KEY.get=function(){return"bs.tooltip"},n.Event.get=function(){return Re},n.EVENT_KEY.get=function(){return".bs.tooltip"},n.DefaultType.get=function(){return De},i.prototype.enable=function(){this._isEnabled=!0},i.prototype.disable=function(){this._isEnabled=!1},i.prototype.toggleEnabled=function(){this._isEnabled=!this._isEnabled},i.prototype.toggle=function(e){if(this._isEnabled)if(e){var t=this._initializeOnDelegatedTarget(e);t._activeTrigger.click=!t._activeTrigger.click,t._isWithActiveTrigger()?t._enter(null,t):t._leave(null,t)}else{if(this.getTipElement().classList.contains("show"))return void this._leave(null,this);this._enter(null,this)}},i.prototype.dispose=function(){clearTimeout(this._timeout),N.off(this._element,this.constructor.EVENT_KEY),N.off(this._element.closest(".modal"),"hide.bs.modal",this._hideModalHandler),this.tip&&this.tip.parentNode&&this.tip.parentNode.removeChild(this.tip),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.config=null,this.tip=null,e.prototype.dispose.call(this)},i.prototype.show=function(){var e=this;if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(this.isWithContent()&&this._isEnabled){var i=N.trigger(this._element,this.constructor.Event.SHOW),n=m(this._element),o=null===n?this._element.ownerDocument.documentElement.contains(this._element):n.contains(this._element);if(!i.defaultPrevented&&o){var r=this.getTipElement(),a=s(this.constructor.NAME);r.setAttribute("id",a),this._element.setAttribute("aria-describedby",a),this.setContent(),this.config.animation&&r.classList.add("fade");var c="function"==typeof this.config.placement?this.config.placement.call(this,r,this._element):this.config.placement,d=this._getAttachment(c);this._addAttachmentClass(d);var h=this._getContainer();_(r,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(h.appendChild(r),N.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update(
6):this._popper=t.createPopper(this._element,r,this._getPopperConfig(d)),r.classList.add("show");var p="function"==typeof this.config.customClass?this.config.customClass():this.config.customClass;p&&(f=r.classList).add.apply(f,p.split(" ")),"ontouchstart"in document.documentElement&&(g=[]).concat.apply(g,document.body.children).forEach(function(e){N.on(e,"mouseover",function(){})});var f,g,v=function(){var t=e._hoverState;e._hoverState=null,N.trigger(e._element,e.constructor.Event.SHOWN),"out"===t&&e._leave(null,e)};if(this.tip.classList.contains("fade")){var b=l(this.tip);N.one(this.tip,"transitionend",v),u(this.tip,b)}else v()}}},i.prototype.hide=function(){var e=this;if(this._popper){var t=this.getTipElement(),i=function(){e._isWithActiveTrigger()||("show"!==e._hoverState&&t.parentNode&&t.parentNode.removeChild(t),e._cleanTipClass(),e._element.removeAttribute("aria-describedby"),N.trigger(e._element,e.constructor.Event.HIDDEN),e._popper&&(e._popper.destroy(),e._popper=null))};if(!N.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented){if(t.classList.remove("show"),"ontouchstart"in document.documentElement&&(s=[]).concat.apply(s,document.body.children).forEach(function(e){return N.off(e,"mouseover",g)}),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,this.tip.classList.contains("fade")){var n=l(t);N.one(t,"transitionend",i),u(t,n)}else i();var s;this._hoverState=""}}},i.prototype.update=function(){null!==this._popper&&this._popper.update()},i.prototype.isWithContent=function(){return Boolean(this.getTitle())},i.prototype.getTipElement=function(){if(this.tip)return this.tip;var e=document.createElement("div");return e.innerHTML=this.config.template,this.tip=e.children[0],this.tip},i.prototype.setContent=function(){var e=this.getTipElement();this.setElementContent(G.findOne(".tooltip-inner",e),this.getTitle()),e.classList.remove("fade","show")},i.prototype.setElementContent=function(e,t){if(null!==e)return"object"==typeof t&&d(t)?(t.jquery&&(t=t[0]),void(this.config.html?t.parentNode!==e&&(e.innerHTML="",e.appendChild(t)):e.textContent=t.textContent)):void(this.config.html?(this.config.sanitize&&(t=Ae(t,this.config.allowList,this.config.sanitizeFn)),e.innerHTML=t):e.textContent=t)},i.prototype.getTitle=function(){var e=this._element.getAttribute("data-bs-original-title");return e||(e="function"==typeof this.config.title?this.config.title.call(this._element):this.config.title),e},i.prototype.updateAttachment=function(e){return"right"===e?"end":"left"===e?"start":e},i.prototype._initializeOnDelegatedTarget=function(e,t){var i=this.constructor.DATA_KEY;return(t=t||O(e.delegateTarget,i))||(t=new this.constructor(e.delegateTarget,this._getDelegateConfig()),_(e.delegateTarget,i,t)),t},i.prototype._getOffset=function(){var e=this,t=this.config.offset;return"string"==typeof t?t.split(",").map(function(e){return Number.parseInt(e,10)}):"function"==typeof t?function(i){return t(i,e._element)}:t},i.prototype._getPopperConfig=function(e){var t=this,i={placement:e,modifiers:[{name:"flip",options:{altBoundary:!0,fallbackPlacements:this.config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this.config.boundary}},{name:"arrow",options:{element:"."+this.constructor.NAME+"-arrow"}},{name:"onChange",enabled:!0,phase:"afterWrite",fn:function(e){return t._handlePopperPlacementChange(e)}}],onFirstUpdate:function(e){e.options.placement!==e.placement&&t._handlePopperPlacementChange(e)}};return Object.assign({},i,"function"==typeof this.config.popperConfig?this.config.popperConfig(i):this.config.popperConfig)},i.prototype._addAttachmentClass=function(e){this.getTipElement().classList.add("bs-tooltip-"+this.updateAttachment(e))},i.prototype._getContainer=function(){return!1===this.config.container?document.body:d(this.config.container)?this.config.container:G.findOne(this.config.container)},i.prototype._getAttachment=function(e){return Ie[e.toUpperCase()]},i.prototype._setListeners=function(){var e=this;this.config.trigger.split(" ").forEach(function(t){if("click"===t)N.on(e._element,e.constructor.Event.CLICK,e.config.selector,function(t){return e.toggle(t)});else if("manual"!==t){var i="hover"===t?e.constructor.Event.MOUSEENTER:e.constructor.Event.FOCUSIN,n="hover"===t?e.constructor.Event.MOUSELEAVE:e.constructor.Event.FOCUSOUT;N.on(e._element,i,e.config.selector,function(t){return e._enter(t)}),N.on(e._element,n,e.config.selector,function(t){return e._leave(t)})}}),this._hideModalHandler=function(){e._element&&e.hide()},N.on(this._element.closest(".modal"),"hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=Object.assign({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},i.prototype._fixTitle=function(){var e=this._element.getAttribute("title"),t=typeof this._element.getAttribute("data-bs-original-title");(e||"string"!==t)&&(this._element.setAttribute("data-bs-original-title",e||""),!e||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",e),this._element.setAttribute("title",""))},i.prototype._enter=function(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusin"===e.type?"focu
6s":"hover"]=!0),t.getTipElement().classList.contains("show")||"show"===t._hoverState?t._hoverState="show":(clearTimeout(t._timeout),t._hoverState="show",t.config.delay&&t.config.delay.show?t._timeout=setTimeout(function(){"show"===t._hoverState&&t.show()},t.config.delay.show):t.show())},i.prototype._leave=function(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusout"===e.type?"focus":"hover"]=t._element.contains(e.relatedTarget)),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState="out",t.config.delay&&t.config.delay.hide?t._timeout=setTimeout(function(){"out"===t._hoverState&&t.hide()},t.config.delay.hide):t.hide())},i.prototype._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},i.prototype._getConfig=function(e){var t=V.getDataAttributes(this._element);return Object.keys(t).forEach(function(e){ke.has(e)&&delete t[e]}),e&&"object"==typeof e.container&&e.container.jquery&&(e.container=e.container[0]),"number"==typeof(e=Object.assign({},this.constructor.Default,t,"object"==typeof e&&e?e:{})).delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),h("tooltip",e,this.constructor.DefaultType),e.sanitize&&(e.template=Ae(e.template,e.allowList,e.sanitizeFn)),e},i.prototype._getDelegateConfig=function(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&&(e[t]=this.config[t]);return e},i.prototype._cleanTipClass=function(){var e=this.getTipElement(),t=e.getAttribute("class").match(je);null!==t&&t.length>0&&t.map(function(e){return e.trim()}).forEach(function(t){return e.classList.remove(t)})},i.prototype._handlePopperPlacementChange=function(e){var t=e.state;t&&(this.tip=t.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(t.placement)))},i.jQueryInterface=function(e){return this.each(function(){var t=O(this,"bs.tooltip"),n="object"==typeof e&&e;if((t||!/dispose|hide/.test(e))&&(t||(t=new i(this,n)),"string"==typeof e)){if(void 0===t[e])throw new TypeError('No method named "'+e+'"');t[e]()}})},Object.defineProperties(i,n),i}(F);w("tooltip",Ne);var Fe=new RegExp("(^|\\s)bs-popover\\S+","g"),Be=Object.assign({},Ne.Default,{placement:"right",offset:[0,8],trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),He=Object.assign({},Ne.DefaultType,{content:"(string|element|function)"}),We={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"};w("popover",function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var i={Default:{},NAME:{},DATA_KEY:{},Event:{},EVENT_KEY:{},DefaultType:{}};return i.Default.get=function(){return Be},i.NAME.get=function(){return"popover"},i.DATA_KEY.get=function(){return"bs.popover"},i.Event.get=function(){return We},i.EVENT_KEY.get=function(){return".bs.popover"},i.DefaultType.get=function(){return He},t.prototype.isWithContent=function(){return this.getTitle()||this._getContent()},t.prototype.setContent=function(){var e=this.getTipElement();this.setElementContent(G.findOne(".popover-header",e),this.getTitle());var t=this._getContent();"function"==typeof t&&(t=t.call(this._element)),this.setElementContent(G.findOne(".popover-body",e),t),e.classList.remove("fade","show")},t.prototype._addAttachmentClass=function(e){this.getTipElement().classList.add("bs-popover-"+this.updateAttachment(e))},t.prototype._getContent=function(){return this._element.getAttribute("data-bs-content")||this.config.content},t.prototype._cleanTipClass=function(){var e=this.getTipElement(),t=e.getAttribute("class").match(Fe);null!==t&&t.length>0&&t.map(function(e){return e.trim()}
6).forEach(function(t){return e.classList.remove(t)})},t.jQueryInterface=function(e){return this.each(function(){var i=O(this,"bs.popover"),n="object"==typeof e?e:null;if((i||!/dispose|hide/.test(e))&&(i||(i=new t(this,n),_(this,"bs.popover",i)),"string"==typeof e)){if(void 0===i[e])throw new TypeError('No method named "'+e+'"');i[e]()}})},Object.defineProperties(t,i),t}(Ne));var qe={offset:10,method:"auto",target:""},$e={offset:"number",method:"string",target:"(string|element)"},Ve="scroll.bs.scrollspy",Ge="dropdown-item",Ye=".nav-link",Xe=".list-group-item",Ue=function(e){function t(t,i){var n=this;e.call(this,t),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(i),this._selector=this._config.target+" "+Ye+", "+this._config.target+" "+Xe+", "+this._config.target+" ."+Ge,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,N.on(this._scrollElement,Ve,function(){return n._process()}),this.refresh(),this._process()}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var i={Default:{},DATA_KEY:{}};return i.Default.get=function(){return qe},i.DATA_KEY.get=function(){return"bs.scrollspy"},t.prototype.refresh=function(){var e=this,t=this._scrollElement===this._scrollElement.window?"offset":"position",i="auto"===this._config.method?t:this._config.method,n="position"===i?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),G.find(this._selector).map(function(e){var t=r(e),s=t?G.findOne(t):null;if(s){var o=s.getBoundingClientRect();if(o.width||o.height)return[V[i](s).top+n,t]}return null}).filter(function(e){return e}).sort(function(e,t){return e[0]-t[0]}).forEach(function(t){e._offsets.push(t[0]),e._targets.push(t[1])})},t.prototype.dispose=function(){e.prototype.dispose.call(this),N.off(this._scrollElement,".bs.scrollspy"),this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},t.prototype._getConfig=function(e){if("string"!=typeof(e=Object.assign({},qe,"object"==typeof e&&e?e:{})).target&&d(e.target)){var t=e.target.id;t||(t=s("scrollspy"),e.target.id=t),e.target="#"+t}return h("scrollspy",e,$e),e},t.prototype._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},t.prototype._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},t.prototype._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},t.prototype._process=function(){var e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),i=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),e>=i){var n=this._targets[this._targets.length-1];this._activeTarget!==n&&this._activate(n)}else{if(this._activeTarget&&e<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(var s=this._offsets.length;s--;){this._activeTarget!==this._targets[s]&&e>=this._offsets[s]&&(void 0===this._offsets[s+1]||e<this._offsets[s+1])&&this._activate(this._targets[s])}}},t.prototype._activate=function(e){this._activeTarget=e,this._clear();var t=this._selector.split(",").map(function(t){return t+'[data-bs-target="'+e+'"],'+t+'[href="'+e+'"]'}),i=G.findOne(t.join(","));i.classList.contains(Ge)?(G.findOne(".dropdown-toggle",i.closest(".dropdown")).classList.add("active"),i.classList.add("active")):(i.classList.add("active"),G.parents(i,".nav, .list-group").forEach(function(e){G.prev(e,Ye+", "+Xe).forEach(function(e){return e.classList.add("active")}),G.prev(e,".nav-item").forEach(function(e){G.children(e,Ye).forEach(function(e){return e.classList.add("active")})})})),N.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:e})},t.prototype._clear=function(){G.find(this._selector).filter(function(e){return e.classList.contains("active")}
6).forEach(function(e){return e.classList.remove("active")})},t.jQueryInterface=function(e){return this.each(function(){var i=O(this,"bs.scrollspy");if(i||(i=new t(this,"object"==typeof e&&e)),"string"==typeof e){if(void 0===i[e])throw new TypeError('No method named "'+e+'"');i[e]()}})},Object.defineProperties(t,i),t}(F);N.on(window,"load.bs.scrollspy.data-api",function(){G.find('[data-bs-spy="scroll"]').forEach(function(e){return new Ue(e,V.getDataAttributes(e))})}),w("scrollspy",Ue);var Ke=function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var i={DATA_KEY:{}};return i.DATA_KEY.get=function(){return"bs.tab"},t.prototype.show=function(){var e=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains("active")||f(this._element))){var t,i=a(this._element),n=this._element.closest(".nav, .list-group");if(n){var s="UL"===n.nodeName||"OL"===n.nodeName?":scope > li > .active":".active";t=(t=G.find(s,n))[t.length-1]}var o=t?N.trigger(t,"hide.bs.tab",{relatedTarget:this._element}):null;if(!(N.trigger(this._element,"show.bs.tab",{relatedTarget:t}).defaultPrevented||null!==o&&o.defaultPrevented)){this._activate(this._element,n);var r=function(){N.trigger(t,"hidden.bs.tab",{relatedTarget:e._element}),N.trigger(e._element,"shown.bs.tab",{relatedTarget:t})};i?this._activate(i,i.parentNode,r):r()}}},t.prototype._activate=function(e,t,i){var n=this,s=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?G.children(t,".active"):G.find(":scope > li > .active",t))[0],o=i&&s&&s.classList.contains("fade"),r=function(){return n._transitionComplete(e,s,i)};if(s&&o){var a=l(s);s.classList.remove("show"),N.one(s,"transitionend",r),u(s,a)}else r()},t.prototype._transitionComplete=function(e,t,i){if(t){t.classList.remove("active");var n=G.findOne(":scope > .dropdown-menu .active",t.parentNode);n&&n.classList.remove("active"),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}(e.classList.add("active"),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),v(e),e.classList.contains("fade")&&e.classList.add("show"),e.parentNode&&e.parentNode.classList.contains("dropdown-menu"))&&(e.closest(".dropdown")&&G.find(".dropdown-toggle").forEach(function(e){return e.classList.add("active")}),e.setAttribute("aria-expanded",!0));i&&i()},t.jQueryInterface=function(e){return this.each(function(){var i=O(this,"bs.tab")||new t(this);if("string"==typeof e){if(void 0===i[e])throw new TypeError('No method named "'+e+'"');i[e]()}})},Object.defineProperties(t,i),t}(F);N.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',function(e){e.preventDefault(),(O(this,"bs.tab")||new Ke(this)).show()}),w("tab",Ke);var Ze={animation:"boolean",autohide:"boolean",delay:"number"},Qe={animation:!0,autohide:!0,delay:5e3};w("toast",function(e){function t(t,i){e.call(this,t),this._config=this._getConfig(i),this._timeout=null,this._setListeners()}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var i={DefaultType:{},Default:{},DATA_KEY:{}};return i.DefaultType.get=function(){return Ze},i.Default.get=function(){return Qe},i.DATA_KEY.get=function(){return"bs.toast"},t.prototype.show=function(){var e=this;if(!N.trigger(this._element,"show.bs.toast").defaultPrevented){this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");var t=function(){e._element.classList.remove("showing"),e._element.classList.add("show"),N.trigger(e._element,"shown.bs.toast"),e._config.autohide&&(e._timeout=setTimeout(function(){e.hide()},e._config.delay))};if(this._element.classList.remove("hide"),v(this._element),this._element.classList.add("showing"),this._config.animation){var i=l(this._element);N.one(this._element,"transitionend",t),u(this._element,i)}else t()}},t.prototype.hide=function(){var e=this;if(this._element.classList.contains("show")&&!N.trigger(this._element,"hide.bs.toast").defaultPrevented){var t=function(){e._element.classList.add("hide"),N.trigger(e._element,"hidden.bs.toast")};if(this._element.classList.remove("show"),this._config.animation){var i=l(this._element);N.one(this._element,"transitionend",t),u(this._element,i)}else t()}},t.prototype.dispose=function(){this._clearTimeout(),this._element.classList.contains("show")&&this._element.classList.remove("show"),N.off(this._element,"click.dismiss.bs.toast"),e.prototype.dispose.call(this),this._config=null},t.prototype._getConfig=function(e){return e=Object.assign({},Qe,V.getDataAttributes(this._element),"object"==typeof e&&e?e:{}),h("toast",e,this.constructor.DefaultType),e},t.prototype._setListeners=function(){var e=this;N.on(this._element,"click.dismiss.bs.toast",'[data-bs-dismiss="toast"]',function(){return e.hide()})},t.prototype._clearTimeout=function(){clearTimeout(this._timeout),this._timeout=null},t.jQueryInterface=function(e){return this.each(function(){var i=O(this,"bs.toast");if(i||(i=new t(this,"object"==typeof e&&e)),"string"==typeof e){if(void 0===i[e])throw new TypeError('No method n
6amed "'+e+'"');i[e](this)}})},Object.defineProperties(t,i),t}(F))}).call(t,i(8))},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(2);i.d(t,"top",function(){return n.u}),i.d(t,"bottom",function(){return n.i}),i.d(t,"right",function(){return n.s}),i.d(t,"left",function(){return n.l}),i.d(t,"auto",function(){return n.d}),i.d(t,"basePlacements",function(){return n.e}),i.d(t,"start",function(){return n.t}),i.d(t,"end",function(){return n.k}),i.d(t,"clippingParents",function(){return n.j}),i.d(t,"viewport",function(){return n.w}),i.d(t,"popper",function(){return n.p}),i.d(t,"reference",function(){return n.r}),i.d(t,"variationPlacements",function(){return n.v}),i.d(t,"placements",function(){return n.o}),i.d(t,"beforeRead",function(){return n.g}),i.d(t,"read",function(){return n.q}),i.d(t,"afterRead",function(){return n.b}),i.d(t,"beforeMain",function(){return n.f}),i.d(t,"main",function(){return n.m}),i.d(t,"afterMain",function(){return n.a}),i.d(t,"beforeWrite",function(){return n.h}),i.d(t,"write",function(){return n.x}),i.d(t,"afterWrite",function(){return n.c}),i.d(t,"modifierPhases",function(){return n.n});var s=i(34);i.d(t,"applyStyles",function(){return s.a}),i.d(t,"arrow",function(){return s.b}),i.d(t,"computeStyles",function(){return s.c}),i.d(t,"eventListeners",function(){return s.d}),i.d(t,"flip",function(){return s.e}),i.d(t,"hide",function(){return s.f}),i.d(t,"offset",function(){return s.g}),i.d(t,"popperOffsets",function(){return s.h}),i.d(t,"preventOverflow",function(){return s.i});var o=i(31);i.d(t,"popperGenerator",function(){return o.c}),i.d(t,"detectOverflow",function(){return o.b}),i.d(t,"createPopperBase",function(){return o.a});var r=i(76);i.d(t,"createPopper",function(){return r.a});var a=i(48);i.d(t,"createPopperLite",function(){return a.a})},function(e,t,i){"use strict";t.a=function(e){return["table","td","th"].indexOf(Object(n.a)(e))>=0};var n=i(7)},function(e,t,i){"use strict";t.a=function(e){return e.replace(/left|right|bottom|top/g,function(e){return n[e]})};var n={left:"right",right:"left",bottom:"top",top:"bottom"}},function(e,t,i){"use strict";t.a=function(e){return e.replace(/start|end/g,function(e){return n[e]})};var n={start:"end",end:"start"}},function(e,t,i){"use strict";t.a=function(e,t,i){var n="clippingParents"===t?function(e){var t=Object(r.a)(Object(h.a)(e)),i=["absolute","fixed"].indexOf(Object(c.a)(e).position)>=0&&Object(d.b)(e)?Object(a.a)(e):e;if(!Object(d.a)(i))return[];return t.filter(function(e){return Object(d.a)(e)&&Object(p.a)(e,i)&&"body"!==Object(f.a)(e)})}(e):[].concat(t),s=[].concat(n,[i]),o=s[0],l=s.reduce(function(t,i){var n=v(e,i);return t.top=Object(g.a)(n.top,t.top),t.right=Object(g.b)(n.right,t.right),t.bottom=Object(g.b)(n.bottom,t.bottom),t.left=Object(g.a)(n.left,t.left),t},v(e,o));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l};var n=i(2),s=i(62),o=i(63),r=i(42),a=i(12),l=i(6),c=i(9),d=i(3),u=i(11),h=i(18),p=i(36),f=i(7),m=i(43),g=i(13);function v(e,t){return t===n.w?Object(m.a)(Object(s.a)(e)):Object(d.b)(t)?function(e){var t=Object(u.a)(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):Object(m.a)(Object(o.a)(Object(l.a)(e)))}},function(e,t,i){"use strict";t.a=function(e){var t=Object(n.a)(e),i=Object(s.a)(e),r=t.visualViewport,a=i.clientWidth,l=i.clientHeight,c=0,d=0;r&&(a=r.width,l=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(c=r.offsetLeft,d=r.offsetTop));return{width:a,height:l,x:c+Object(o.a)(e),y:d}};var n=i(4),s=i(6),o=i(27)},function(e,t,i){"use strict";t.a=function(e){var t,i=Object(n.a)(e),l=Object(r.a)(e),c=null==(t=e.ownerDocument)?void 0:t.body,d=Object(a.a)(i.scrollWidth,i.clientWidth,c?c.scrollWidth:0,c?c.clientWidth:0),u=Object(a.a)(i.scrollHeight,i.clientHeight,c?c.scrollHeight:0,c?c.clientHeight:0),h=-l.scrollLeft+Object(o.a)(e),p=-l.scrollTop;"rtl"===Object(s.a)(c||i).direction&&(h+=Object(a.a)(i.clientWidth,c?c.clientWidth:0)-d);return{width:d,height:u,x:h,y:p}};var n=i(6),s=i(9),o=i(27),r=i(28),a=i(13)},function(e,t,i){"use strict";t.a=function e(t){if(["html","body","#document"].indexOf(Object(o.a)(t))>=0)return t.ownerDocument.body;if(Object(r.b)(t)&&Object(s.a)(t))return t;return e(Object(n.a)(t))};var n=i(18),s=i(29),o=i(7),r=i(3)},function(e,t,i){"use strict";(function(e){t.a=function(t,i){void 0===i&&(i={});var a=i,l=a.placement,c=a.boundary,d=a.rootBoundary,u=a.padding,h=a.flipVariations,p=a.allowedAutoPlacements,f=void 0===p?s.o:p,m=Object(n.a)(l),g=m?h?s.v:s.v.filter(function(e){return Object(n.a)(e)===m}):s.e,v=g.filter(function(e){return f.indexOf(e)>=0});0===v.length&&(v=g,e.env.NODE_ENV);var b=v.reduce(function(e,i){return e[i]=Object(o.a)(t,{placement:i,boundary:c,rootBoundary:d,padding:u})[Object(r.a)(i)],e},{});return Object.keys(b).sort(function(e,t){return b[e]-b[t]})};var n=i(14),s=i(2),o=i(15),r=i(5)}).call(t,i(17))},function(e,t,i){"use strict";t.a=function(e){return"x"===e?"y":"x"}},function(e,t,i){"use strict";t.a=function(e,t,i){void 0===i&&(i=!1);var d=Object(r.b)(t),u=Object(r.b)(t)&&function(e){var t=e.getBoundingClientRect(),i=t.width/e.offsetWidth||1,n=t.height/e.offsetHeight||1;return 1!==i||1!==n}(t),h=Object(l.a)(t),p=Object(n.a)(e,u),f={scrollLeft:0,scrollTop:0},m={x:0,y:0};(d||!d&&!i)&&(("body"!==Object(o.a)(t)||Object(c.a)(h))&&(f=Object(s.a)(t)),Object(r.b)(t)?((m=Object(n.a)(t,!0)).x+=t.clientLeft,m.y+=t.clientTop):h&&(m.x=Object(a.a)(h)));return{x:p.left+f.scrollLeft-m.x,y:p.top+f.scrollTop-m.y,width:p.width,height:p.height}};var n=i(11),s=i(68),o=i(7),r=i(3),a=i(27),l=i(6),c=i(29)},function(e,t,i){"use strict";t.a=function(e){return e!==Object(s.a)(e)&&Object(o.b)(e)?Object(r.a)(e):Object(n.a)(e)};var n=i(28),s=i(4),o=i(3),r=i(69)},function(e,t,i){"use strict";t.a=function(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}},function(e,t,i){"use strict";t.a=function(e){var t=function(e){var t=new Map,i=new Set,n=[];return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){i.has(e.name)||function e(s){i.add(s.name);var o=[].concat(s.requires||[],s.requiresIfExists||[]);o.forEach(function(n){if(!i.has(n)){var s=t.get(n);s&&e(s)}}),n.push(s)}(e)}),n}(e);return n.n.reduce(function(e,i){return e.concat(t.filter(function(e){return e.phase===i}))},[])};var n=i(2)},function(e,t,i){"use strict";t.a=function(e){var t;return function(){return t||(t=new Promise(function(i){Promise.resolve().then(function(){t=void 0,i(e()
6)})})),t}}},function(e,t,i){"use strict";t.a=function(e){e.forEach(function(t){[].concat(Object.keys(t),s).filter(function(e,t,i){return i.indexOf(e)===t}).forEach(function(i){switch(i){case"name":t.name;break;case"enabled":t.enabled;break;case"phase":n.n.indexOf(t.phase);break;case"fn":t.fn;break;case"effect":null!=t.effect&&t.effect;break;case"requires":null!=t.requires&&Array.isArray(t.requires);break;case"requiresIfExists":Array.isArray(t.requiresIfExists)}t.requires&&t.requires.forEach(function(t){e.find(function(e){return e.name===t})})})})};i(73);var n=i(2),s=["name","enabled","phase","fn","effect","requires","options"]},function(e,t,i){"use strict";t.a=function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];return[].concat(i).reduce(function(e,t){return e.replace(/%s/,t)},e)}},function(e,t,i){"use strict";t.a=function(e,t){var i=new Set;return e.filter(function(e){var n=t(e);if(!i.has(n))return i.add(n),!0})}},function(e,t,i){"use strict";t.a=function(e){var t=e.reduce(function(e,t){var i=e[t.name];return e[t.name]=i?Object.assign({},i,t,{options:Object.assign({},i.options,t.options),data:Object.assign({},i.data,t.data)}):t,e},{});return Object.keys(t).map(function(e){return t[e]})}},function(e,t,i){"use strict";i.d(t,"a",function(){return f});var n=i(31),s=i(26),o=i(30),r=i(25),a=i(22),l=i(46),c=i(41),d=i(47),u=i(35),h=i(45),p=(i(48),i(34),[s.a,o.a,r.a,a.a,l.a,c.a,d.a,u.a,h.a]),f=Object(n.c)({defaultModifiers:p})},function(e,t,i){"use strict";var n=i(78),s=function(e){this.routes=e};s.prototype.fire=function(e,t,i){void 0===t&&(t="init"),document.dispatchEvent(new CustomEvent("routed",{bubbles:!0,detail:{route:e,fn:t}}));var n=""!==e&&this.routes[e]&&"function"==typeof this.routes[e][t];n&&this.routes[e][t](i)},s.prototype.loadEvents=function(){var e=this;this.fire("common"),document.body.className.toLowerCase().replace(/-/g,"_").split(/\s+/).map(n.a).forEach(function(t){e.fire(t),e.fire(t,"finalize")}),this.fire("common","finalize")},t.a=s},function(e,t,i){"use strict";t.a=function(e){return""+e.charAt(0).toLowerCase()+e.replace(/[\W_]/g,"|").split("|").map(function(e){return""+e.charAt(0).toUpperCase()+e.slice(1)}).join("").slice(1)}},function(e,t,i){"use strict";(function(e){var n=i(80),s=i.n(n),o=i(82),r=i.n(o),a=i(83);t.a={init:function(){function t(e){var t=document.getElementsByClassName("masonry")[0];if(t){var i=parseInt(window.getComputedStyle(t).getPropertyValue("grid-row-gap")),n=parseInt(window.getComputedStyle(t).getPropertyValue("grid-auto-rows")),s=e.querySelector(".masonry-content"),o=Math.ceil((e.querySelector(".masonry-content").getBoundingClientRect().height+i)/(n+i));e.style.gridRowEnd="span "+o,s&&(e.querySelector(".masonry-content").style.height=e.getBoundingClientRect().height+"px")}}function i(){var e=document.querySelectorAll(".masonry-item");if(e)for(var i=0;i>e.length;i++)t(e[i])}e(window).scroll(function(){e(window).width()>=1200&&(e(document).scrollTop()>50?(e(".header .navbar").addClass("shrink"),e(".header .calendar__collapse").fadeOut(100)):(e(".header .navbar").removeClass("shrink"),e(".header .calendar__collapse").fadeIn(100)))}),e(".header .dropdown-toggle").click(function(){e(this).next().is(":visible")&&(window.location=e(this).attr("href"))});["load","resize"].forEach(function(e){window.addEventListener(e,i)}),function(){var e=document.querySelectorAll(".masonry-item");if(e)for(var i=0;i<e.length;i++)s()(e[i],function(e){t(e.elements[0])})}(),e(document).click(function(t){var i=e(t.target).closest("header");!0!==e("#navContent").hasClass("show")||i.hasClass("website__header")||e("button.navbar-toggler").click()}),e(".more__seances .left").each(function(){e(this).click(function(){return e(this).parent().prev(".film__seances.more").stop().animate({scrollLeft:"-=80"},800),!1})}),e(".more__seances .right").each(function(){e(this).click(function(){return e(this).parent().prev(".film__seances.more").stop().animate({scrollLeft:"+=80"},800),!1})}),a.a.init({disableScroll:!0});var n=document.querySelector(".modal--home"),o=r.a.get("modalShown");
vendor: 4,238 bytes, lines 6-17
6n&&(o||(a.a.show("homeModal"),r.a.set("modalShown","true",{expires:1,path:""})))},finalize:function(){}}}).call(t,i(8))},function(e,t,i){var n,s; 7/*! 8 * imagesLoaded v4.1.4 9 * JavaScript is all like "You images are done yet or what?" 10 * MIT License 11 */ 12/*! 13 * imagesLoaded v4.1.4 14 * JavaScript is all like "You images are done yet or what?" 15 * MIT License 16 */ 17!function(o,r){"use strict";n=[i(81)],void 0===(s=function(e){return r(o,e)}.apply(t,n))||(e.exports=s)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var i=e.jQuery,n=e.console;function s(e,t){for(var i in t)e[i]=t[i];return e}var o=Array.prototype.slice;function r(e,t,a){if(!(this instanceof r))return new r(e,t,a);var l,c=e;("string"==typeof e&&(c=document.querySelectorAll(e)),c)?(this.elements=(l=c,Array.isArray(l)?l:"object"==typeof l&&"number"==typeof l.length?o.call(l):[l]),this.options=s({},this.options),"function"==typeof t?a=t:s(this.options,t),a&&this.on("always",a),this.getImages(),i&&(this.jqDeferred=new i.Deferred),setTimeout(this.check.bind(this))):n.error("Bad element for imagesLoaded "+(c||e))}r.prototype=Object.create(t.prototype),r.prototype.options={},r.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},r.prototype.addElementImages=function(e){"IMG"==e.nodeName&&this.addImage(e),!0===this.options.background&&this.addElementBackgroundImages(e);var t=e.nodeType;if(t&&a[t]){for(var i=e.querySelectorAll("img"),n=0;n<i.length;n++){var s=i[n];this.addImage(s)}if("string"==typeof this.options.background){var o=e.querySelectorAll(this.options.background);for(n=0;n<o.length;n++){var r=o[n];this.addElementBackgroundImages(r)}}}};var a={1:!0,9:!0,11:!0};function l(e){this.img=e}function c(e,t){this.url=e,this.element=t,this.img=new Image}return r.prototype.addElementBackgroundImages=function(e){var t=getComputedStyle(e);if(t)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(t.backgroundImage);null!==n;){var s=n&&n[2];s&&this.addBackground(s,e),n=i.exec(t.backgroundImage)}},r.prototype.addImage=function(e){var t=new l(e);this.images.push(t)},r.prototype.addBackground=function(e,t){var i=new c(e,t);this.images.push(i)},r.prototype.check=function(){var e=this;function t(t,i,n){setTimeout(function(){e.progress(t,i,n)})}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach(function(e){e.once("progress",t),e.check()}):this.complete()},r.prototype.progress=function(e,t,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&n&&n.log("progress: "+i,e,t)},r.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred){var t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},l.prototype=Object.create(t.prototype),l.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.src)},l.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},l.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.img,t])},l.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},l.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},l.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},l.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},c.prototype=Object.create(l.prototype),c.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWi
17dth,"naturalWidth"),this.unbindEvents())},c.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},c.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},r.makeJQueryPlugin=function(t){(t=t||e.jQuery)&&((i=t).fn.imagesLoaded=function(e,t){return new r(this,e,t).jqDeferred.promise(i(this))})},r.makeJQueryPlugin(),r})},function(e,t,i){var n,s;"undefined"!=typeof window&&window,void 0===(s="function"==typeof(n=function(){"use strict";function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var i=this._events=this._events||{},n=i[e]=i[e]||[];return-1==n.indexOf(t)&&n.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var i=this._onceEvents=this._onceEvents||{};return(i[e]=i[e]||{})[t]=!0,this}},t.off=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){var n=i.indexOf(t);return-1!=n&&i.splice(n,1),this}},t.emitEvent=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){i=i.slice(0),t=t||[];for(var n=this._onceEvents&&this._onceEvents[e],s=0;s<i.length;s++){var o=i[s];n&&n[o]&&(this.off(e,o),delete n[o]),o.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e})?n.call(t,i,t,e):n)||(e.exports=s)},function(e,t,i){var n;n=function(){"use strict";function e(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)e[n]=i[n]}return e}return function t(i,n){function s(t,s,o){if("undefined"!=typeof document){"number"==typeof(o=e({},n,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var r="";for(var a in o)o[a]&&(r+="; "+a,!0!==o[a]&&(r+="="+o[a].split(";")[0]));return document.cookie=t+"="+i.write(s,t)+r}}return Object.create({set:s,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],n={},s=0;s<t.length;s++){var o=t[s].split("="),r=o.slice(1).join("=");try{var a=decodeURIComponent(o[0]);if(n[a]=i.read(r,a),e===a)break}catch(e){}}return e?n[e]:n}},remove:function(t,i){s(t,"",e({},i,{expires:-1}))},withAttributes:function(i){return t(this.converter,e({},this.attributes,i))},withConverter:function(i){return t(e({},this.converter,i),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(i)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})},e.exports=n()},function(e,t,i){"use strict";function n(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)}}function s(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?o(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}var r,a,l,c,d,u=(r=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","[contenteditable]",'[tabindex]:not([tabindex^="-"])'],a=function(){function e(t){var i=t.targetModal,n=t.triggers,o=void 0===n?[]:n,r=t.onShow,a=void 0===r?function(){}:r,l=t.onClose,c=void 0===l?function(){}:l,d=t.openTrigger,u=void 0===d?"data-micromodal-trigger":d,h=t.closeTrigger,p=void 0===h?"data-micromodal-close":h,f=t.openClass,m=void 0===f?"is-open":f,g=t.disableScroll,v=void 0!==g&&g,b=t.disableFocus,y=void 0!==b&&b,w=t.awaitCloseAnimation,E=void 0!==w&&w,_=t.awaitOpenAnimation,O=void 0!==_&&_,T=t.debugMode,x=void 0!==T&&T;!function(t,i){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this),this.modal="string"==typeof i?document.getElementById(i):i,this.config={debugMode:x,disableScroll:v,openTrigger:u,closeTrigger:p,openClass:m,onShow:a,onClose:c,awaitCloseAnimation:E,awaitOpenAnimation:O,disableFocus:y},o.length>0&&this.registerTriggers.apply(this,s(o)),this.onClick=this.onClick.bind(this),this.onKeydown=this.onKeydown.bind(this)}var t,i;return t=e,(i=[{key:"registerTriggers",value:function(){for(var e=this,t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];
17i.filter(Boolean).forEach(function(t){t.addEventListener("click",function(t){return e.showModal(t)})})}},{key:"showModal",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(this.activeElement=document.activeElement,this.modal.setAttribute("aria-hidden","false"),this.modal.classList.add(this.config.openClass),this.scrollBehaviour("disable"),this.addEventListeners(),this.config.awaitOpenAnimation){this.modal.addEventListener("animationend",function t(){e.modal.removeEventListener("animationend",t,!1),e.setFocusToFirstNode()},!1)}else this.setFocusToFirstNode();this.config.onShow(this.modal,this.activeElement,t)}},{key:"closeModal",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.modal;if(this.modal.setAttribute("aria-hidden","true"),this.removeEventListeners(),this.scrollBehaviour("enable"),this.activeElement&&this.activeElement.focus&&this.activeElement.focus(),this.config.onClose(this.modal,this.activeElement,e),this.config.awaitCloseAnimation){var i=this.config.openClass;this.modal.addEventListener("animationend",function e(){t.classList.remove(i),t.removeEventListener("animationend",e,!1)},!1)}else t.classList.remove(this.config.openClass)}},{key:"closeModalByIdOrElement",value:function(e){this.modal="string"==typeof e?document.getElementById(e):e,this.modal&&this.closeModal()}},{key:"scrollBehaviour",value:function(e){if(this.config.disableScroll){var t=document.querySelector("body");switch(e){case"enable":Object.assign(t.style,{overflow:""});break;case"disable":Object.assign(t.style,{overflow:"hidden"})}}}},{key:"addEventListeners",value:function(){this.modal.addEventListener("touchstart",this.onClick),this.modal.addEventListener("click",this.onClick),document.addEventListener("keydown",this.onKeydown)}},{key:"removeEventListeners",value:function(){this.modal.removeEventListener("touchstart",this.onClick),this.modal.removeEventListener("click",this.onClick),document.removeEventListener("keydown",this.onKeydown)}},{key:"onClick",value:function(e){(e.target.hasAttribute(this.config.closeTrigger)||e.target.parentNode.hasAttribute(this.config.closeTrigger))&&(e.preventDefault(),e.stopPropagation(),this.closeModal(e))}},{key:"onKeydown",value:function(e){27===e.keyCode&&this.closeModal(e),9===e.keyCode&&this.retainFocus(e)}},{key:"getFocusableNodes",value:function(){var e=this.modal.querySelectorAll(r);return Array.apply(void 0,s(e))}},{key:"setFocusToFirstNode",value:function(){var e=this;if(!this.config.disableFocus){var t=this.getFocusableNodes();if(0!==t.length){var i=t.filter(function(t){return!t.hasAttribute(e.config.closeTrigger)});i.length>0&&i[0].focus(),0===i.length&&t[0].focus()}}}},{key:"retainFocus",value:function(e){var t=this.getFocusableNodes();if(0!==t.length)if(t=t.filter(function(e){return null!==e.offsetParent}),this.modal.contains(document.activeElement)){var i=t.indexOf(document.activeElement);e.shiftKey&&0===i&&(t[t.length-1].focus(),e.preventDefault()),!e.shiftKey&&t.length>0&&i===t.length-1&&(t[0].focus(),e.preventDefault())}else t[0].focus()}}])&&n(t.prototype,i),e}(),l=null,c=function(e){if("string"==typeof id?!document.getElementById(e):!e)return!1},d=function(e,t){if(function(e){e.length}(e),!t)return!0;for(var i in t)c(i);return!0},{init:function(e){var t=Object.assign({},{openTrigger:"data-micromodal-trigger"},e),i=s(document.querySelectorAll("[".concat(t.openTrigger,"]"))),n=function(e,t){var i=[];return e.forEach(function(e){var n=e.attributes[t].value;void 0===i[n]&&(i[n]=[]),i[n].push(e)}),i}(i,t.openTrigger);if(!0!==t.debugMode||!1!==d(i,n))for(var o in n){var r=n[o];t.targetModal=o,t.triggers=s(r),l=new a(t)}},show:function(e,t){var i=t||{};i.targetModal=e,!0===i.debugMode&&!1===c(e)||(l&&l.removeEventListeners(),(l=new a(i)).showModal())},close:function(e){e?l.closeModalByIdOrElement(e):l.closeModal()}});"undefined"!=typeof window&&(window.MicroModal=u),t.a=u},function(e,t,i){"use strict";var n=i(19);t.a={init:function(){new n.c(".swiper-home",{modules:[n.b],centeredSlides:!0,slidesPerView:1,spaceBetween:32,loop:!0,speed:3e3,keyboard:{enabled:!0},breakpoints:{768:{slidesPerView:2},1200:{slidesPerView:3,centeredSlides:!1}},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}})},finalize:function(){}}},function(e,t,i){"use strict";var n=i(1),s=i(0),o=i(49),r=i(86),a=i(87),l=i(88),c=i(89),d=i(90),u=i(91),h=i(101),p=i(107),f=i(111),m=i(119),g=i(123),v=i(126),b=i(134),y=i(137),w=i(140),E=i(141),_=i(142),O=i(32);const T={eventsEmitter:d.a,update:u.a,translate:h.a,transition:p.a,slide:f.a,loop:m.a,grabCursor:g.a,events:v.a,breakpoints:b.a,checkOverflow:w.a,classes:y.a},x={};class S{constructor(...e){let t,i;1===e.length&&e[0].constructor&&"Object"===Object.prototype.toString.call(e[0]).slice(8,-1)?i=e[0]:[t,i]=e,i||(i={}),i=Object(s.m)({},i),t&&!i.el&&(i.el=t);const l=Object(n.a)();if(i.el&&"string"==typeof i.el&&l.querySelectorAll(i.el).length>1){const e=[];return l.querySelectorAll(i.el).forEach(t=>{const n=Object(s.m)({},i,{el:t});e.push(new S(n))}),e}const c=this;c.__swiper__=!0,c.support=Object(o.a)(),c.device=Object(r.a)({userAgent:i.userAgent}),c.browser=Object(a.a)(),c.eventsListeners={},c.eventsAnyListeners=[],c.modules=[...c.__modules__],i.modules&&Array.isArray(i.modules)&&c.modules.push(...i.modules);const d={};
17c.modules.forEach(e=>{e({params:i,swiper:c,extendParams:Object(_.a)(i,d),on:c.on.bind(c),once:c.once.bind(c),off:c.off.bind(c),emit:c.emit.bind(c)})});const u=Object(s.m)({},E.a,d);return c.params=Object(s.m)({},u,x,i),c.originalParams=Object(s.m)({},c.params),c.passedParams=Object(s.m)({},i),c.params&&c.params.on&&Object.keys(c.params.on).forEach(e=>{c.on(e,c.params.on[e])}),c.params&&c.params.onAny&&c.onAny(c.params.onAny),Object.assign(c,{enabled:c.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===c.params.direction,isVertical:()=>"vertical"===c.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:c.params.allowSlideNext,allowSlidePrev:c.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:c.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,evCache:[]},allowClick:!0,allowTouchMove:c.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),c.emit("_swiper"),c.params.init&&c.init(),c}getSlideIndex(e){const{slidesEl:t,params:i}=this,n=Object(s.d)(t,`.${i.slideClass}, swiper-slide`),o=Object(s.e)(n[0]);return Object(s.e)(e)-o}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(t=>1*t.getAttribute("data-swiper-slide-index")===e)[0])}recalcSlides(){const{slidesEl:e,params:t}=this;this.slides=Object(s.d)(e,`.${t.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){e=Math.min(Math.max(e,0),1);const i=this.minTranslate(),n=(this.maxTranslate()-i)*e+i;this.translateTo(n,void 0===t?0:t),this.updateActiveIndex(),this.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter(t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach(i=>{const n=e.getSlideClasses(i);t.push({slideEl:i,classNames:n}),e.emit("_slideClass",i,n)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e="current",t=!1){const{params:i,slides:n,slidesGrid:s,slidesSizesGrid:o,size:r,activeIndex:a}=this;let l=1;if(i.centeredSlides){let e,t=n[a]?n[a].swiperSlideSize:0;for(let i=a+1;i<n.length;i+=1)n[i]&&!e&&(l+=1,(t+=n[i].swiperSlideSize)>r&&(e=!0));for(let i=a-1;i>=0;i-=1)n[i]&&!e&&(l+=1,(t+=n[i].swiperSlideSize)>r&&(e=!0))}else if("current"===e)for(let e=a+1;e<n.length;e+=1){(t?s[e]+o[e]-s[a]<r:s[e]-s[a]<r)&&(l+=1)}else for(let e=a-1;e>=0;e-=1){s[a]-s[e]<r&&(l+=1)}return l}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:i}=e;function n(){const t=e.rtlTranslate?-1*e.translate:e.translate,i=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(i),e.updateActiveIndex(),e.updateSlidesClasses()}let s;if(i.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(t=>{t.complete&&Object(O.b)(e,t)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),i.freeMode&&i.freeMode.enabled&&!i.cssMode)n(),i.autoHeight&&e.updateAutoHeight();else{if(("auto"===i.slidesPerView||i.slidesPerView>1)&&e.isEnd&&!i.centeredSlides){const t=e.virtual&&i.virtual.enabled?e.virtual.slides:e.slides;s=e.slideTo(t.length-1,0,!1,!0)}else s=e.slideTo(e.activeIndex,0,!1,!0);s||n()}i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t=!0){const i=this,n=i.params.direction;return e||(e="horizontal"===n?"vertical":"horizontal"),e===n||"horizontal"!==e&&"vertical"!==e?i:(i.el.classList.remove(`${i.params.containerModifierClass}${n}`),i.el.classList.add(`${i.params.containerModifierClass}${e}`),i.emitContainerClasses(),i.params.direction=e,i.slides.forEac
17h(t=>{"vertical"===e?t.style.width="":t.style.height=""}),i.emit("changeDirection"),t&&i.update(),i)}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let i=e||t.params.el;if("string"==typeof i&&(i=document.querySelector(i)),!i)return!1;i.swiper=t,i.shadowEl&&(t.isElement=!0);const n=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let o=(()=>{if(i&&i.shadowRoot&&i.shadowRoot.querySelector)return i.shadowRoot.querySelector(n());return Object(s.d)(i,n())[0]})();return!o&&t.params.createElements&&(o=Object(s.b)("div",t.params.wrapperClass),i.append(o),Object(s.d)(i,`.${t.params.slideClass}`).forEach(e=>{o.append(e)})),Object.assign(t,{el:i,wrapperEl:o,slidesEl:t.isElement?i:o,mounted:!0,rtl:"rtl"===i.dir.toLowerCase()||"rtl"===Object(s.k)(i,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===i.dir.toLowerCase()||"rtl"===Object(s.k)(i,"direction")),wrongRTL:"-webkit-box"===Object(s.k)(o,"display")}),!0}init(e){const t=this;return t.initialized?t:!1===t.mount(e)?t:(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(e=>{e.complete?Object(O.b)(t,e):e.addEventListener("load",e=>{Object(O.b)(t,e.target)})}),Object(O.a)(t),t.initialized=!0,Object(O.a)(t),t.emit("init"),t.emit("afterInit"),t)}destroy(e=!0,t=!0){const i=this,{params:n,el:o,wrapperEl:r,slides:a}=i;return void 0===i.params||i.destroyed?null:(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),n.loop&&i.loopDestroy(),t&&(i.removeClasses(),o.removeAttribute("style"),r.removeAttribute("style"),a&&a.length&&a.forEach(e=>{e.classList.remove(n.slideVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")})),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(e=>{i.off(e)}),!1!==e&&(i.el.swiper=null,Object(s.c)(i)),i.destroyed=!0,null)}static extendDefaults(e){Object(s.m)(x,e)}static get extendedDefaults(){return x}static get defaults(){return E.a}static installModule(e){S.prototype.__modules__||(S.prototype.__modules__=[]);const t=S.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach(e=>S.installModule(e)),S):(S.installModule(e),S)}}Object.keys(T).forEach(e=>
17{Object.keys(T[e]).forEach(t=>{S.prototype[t]=T[e][t]})}),S.use([l.a,c.a]),t.a=S},function(e,t,i){"use strict";i.d(t,"a",function(){return r});var n=i(1),s=i(49);let o;function r(e={}){return o||(o=function({userAgent:e}={}){const t=Object(s.a)(),i=Object(n.b)(),o=i.navigator.platform,r=e||i.navigator.userAgent,a={ios:!1,android:!1},l=i.screen.width,c=i.screen.height,d=r.match(/(Android);?[\s\/]+([\d.]+)?/);let u=r.match(/(iPad).*OS\s([\d_]+)/);const h=r.match(/(iPod)(.*OS\s([\d_]+))?/),p=!u&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f="Win32"===o;let m="MacIntel"===o;return!u&&m&&t.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${l}x${c}`)>=0&&((u=r.match(/(Version)\/([\d.]+)/))||(u=[0,1,"13_0_0"]),m=!1),d&&!f&&(a.os="android",a.android=!0),(u||p||h)&&(a.os="ios",a.ios=!0),a}(e)),o}},function(e,t,i){"use strict";i.d(t,"a",function(){return o});var n=i(1);let s;function o(){return s||(s=function(){const e=Object(n.b)();let t=!1;function i(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(i()){const i=String(e.navigator.userAgent);if(i.includes("Version/")){const[e,n]=i.split("Version/")[1].split(" ")[0].split(".").map(e=>Number(e));t=e<16||16===e&&n<2}}return{isSafari:t||i(),needPerspectiveFix:t,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),s}},function(e,t,i){"use strict";t.a=function({swiper:e,on:t,emit:i}){const s=Object(n.b)();let o=null,r=null;const a=()=>{e&&!e.destroyed&&e.initialized&&(i("beforeResize"),i("resize"))},l=()=>{e&&!e.destroyed&&e.initialized&&i("orientationchange")};t("init",()=>{e.params.resizeObserver&&void 0!==s.ResizeObserver?(()=>{if(!e||e.destroyed||!e.initialized)return;(o=new ResizeObserver(t=>{r=s.requestAnimationFrame(()=>{const{width:i,height:n}=e;let s=i,o=n;t.forEach(({contentBoxSize:t,contentRect:i,target:n})=>{n&&n!==e.el||(s=i?i.width:(t[0]||t).inlineSize,o=i?i.height:(t[0]||t).blockSize)}),s===i&&o===n||a()})})).observe(e.el)})():(s.addEventListener("resize",a),s.addEventListener("orientationchange",l))}),t("destroy",()=>{(()=>{r&&s.cancelAnimationFrame(r);o&&o.unobserve&&e.el&&(o.unobserve(e.el),o=null)})(),s.removeEventListener("resize",a),s.removeEventListener("orientationchange",l)})};var n=i(1)},function(e,t,i){"use strict";t.a=function({swiper:e,extendParams:t,on:i,emit:o}){const r=[],a=Object(n.b)(),l=(t,i={})=>{const n=a.MutationObserver||a.WebkitMutationObserver,s=new n(t=>{if(e.__preventObserver__)return;if(1===t.length)return void o("observerUpdate",t[0]);const i=function(){o("observerUpdate",t[0])};a.requestAnimationFrame?a.requestAnimationFrame(i):a.setTimeout(i,0)});s.observe(t,{attributes:void 0===i.attributes||i.attributes,childList:void 0===i.childList||i.childList,characterData:void 0===i.characterData||i.characterData}),r.push(s)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",()=>{if(!e.params.observer)return;if(e.params.observeParents){const t=Object(s.i)(e.el);for(let e=0;e<t.length;e+=1)l(t[e])}l(e.el,{childList:e.params.observeSlideChildren}),l(e.wrapperEl,{attributes:!1})}),i("destroy",()=>{r.forEach(e=>{e.disconnect()}),r.splice(0,r.length)})};var n=i(1),s=i(0)},function(e,t,i){"use strict";t.a={on(e,t,i){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof t)return n;const s=i?"unshift":"push";return e.split(" ").forEach(e=>{n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][s](t)}),n},once(e,t,i){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof t)return n;function s(...i){n.off(e,s),s.__emitterProxy&&delete s.__emitterProxy,t.apply(n,i)}return s.__emitterProxy=t,n.on(e,s,i)},onAny(e,t){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof e)return i;const n=t?"unshift":"push";return i.eventsAnyListeners.indexOf(e)<0&&i.eventsAnyListeners[n](e),i},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const i=t.eventsAnyListeners.indexOf(e);return i>=0&&t.eventsAnyListeners.splice(i,1),t},off(e,t){const i=this;return!i.eventsListeners||i.destroyed?i:i.eventsListeners?(e.split(" ").forEach(e
17=>{void 0===t?i.eventsListeners[e]=[]:i.eventsListeners[e]&&i.eventsListeners[e].forEach((n,s)=>{(n===t||n.__emitterProxy&&n.__emitterProxy===t)&&i.eventsListeners[e].splice(s,1)})}),i):i},emit(...e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsListeners)return t;let i,n,s;return"string"==typeof e[0]||Array.isArray(e[0])?(i=e[0],n=e.slice(1,e.length),s=t):(i=e[0].events,n=e[0].data,s=e[0].context||t),n.unshift(s),(Array.isArray(i)?i:i.split(" ")).forEach(e=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(t=>{t.apply(s,[e,...n])}),t.eventsListeners&&t.eventsListeners[e]&&t.eventsListeners[e].forEach(e=>{e.apply(s,n)})}),t}}},function(e,t,i){"use strict";var n=i(92),s=i(93),o=i(94),r=i(95),a=i(96),l=i(97),c=i(98),d=i(99),u=i(100);t.a={updateSize:n.a,updateSlides:s.a,updateAutoHeight:o.a,updateSlidesOffset:r.a,updateSlidesProgress:a.a,updateProgress:l.a,updateSlidesClasses:c.a,updateActiveIndex:d.a,updateClickedSlide:u.a}},function(e,t,i){"use strict";t.a=function(){const e=this;let t,i;const s=e.el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:s.clientWidth;i=void 0!==e.params.height&&null!==e.params.height?e.params.height:s.clientHeight;if(0===t&&e.isHorizontal()||0===i&&e.isVertical())return;t=t-parseInt(Object(n.k)(s,"padding-left")||0,10)-parseInt(Object(n.k)(s,"padding-right")||0,10),i=i-parseInt(Object(n.k)(s,"padding-top")||0,10)-parseInt(Object(n.k)(s,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0);Number.isNaN(i)&&(i=0);Object.assign(e,{width:t,height:i,size:e.isHorizontal()?t:i})};var n=i(0)},function(e,t,i){"use strict";t.a=function(){const e=this;function t(t){return e.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}function i(e,i){return parseFloat(e.getPropertyValue(t(i))||0)}const s=e.params,{wrapperEl:o,slidesEl:r,size:a,rtlTranslate:l,wrongRTL:c}=e,d=e.virtual&&s.virtual.enabled,u=d?e.virtual.slides.length:e.slides.length,h=Object(n.d)(r,`.${e.params.slideClass}, swiper-slide`),p=d?e.virtual.slides.length:h.length;let f=[];const m=[],g=[];let v=s.slidesOffsetBefore;"function"==typeof v&&(v=s.slidesOffsetBefore.call(e));let b=s.slidesOffsetAfter;"function"==typeof b&&(b=s.slidesOffsetAfter.call(e));const y=e.snapGrid.length,w=e.slidesGrid.length;let E=s.spaceBetween,_=-v,O=0,T=0;if(void 0===a)return;"string"==typeof E&&E.indexOf("%")>=0?E=parseFloat(E.replace("%",""))/100*a:"string"==typeof E&&(E=parseFloat(E));e.virtualSize=-E,h.forEach(e=>{l?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),s.centeredSlides&&s.cssMode&&(Object(n.s)(o,"--swiper-centered-offset-before",""),Object(n.s)(o,"--swiper-centered-offset-after",""));const x=s.grid&&s.grid.rows>1&&e.grid;x&&e.grid.initSlides(p);let S;const C="auto"===s.slidesPerView&&s.breakpoints&&Object.keys(s.breakpoints).filter(e=>void 0!==s.breakpoints[e].slidesPerView).length>0;for(let o=0;o<p;o+=1){let r;if(S=0,h[o]&&(r=h[o]),x&&e.grid.updateSlide(o,r,p,t),!h[o]||"none"!==Object(n.k)(r,"display")){if("auto"===s.slidesPerView){C&&(h[o].style[t("width")]="");const a=getComputedStyle(r),l=r.style.transform,c=r.style.webkitTransform;if(l&&(r.style.transform="none"),c&&(r.style.webkitTransform="none"),s.roun
17dLengths)S=e.isHorizontal()?Object(n.h)(r,"width",!0):Object(n.h)(r,"height",!0);else{const e=i(a,"width"),t=i(a,"padding-left"),n=i(a,"padding-right"),s=i(a,"margin-left"),o=i(a,"margin-right"),l=a.getPropertyValue("box-sizing");if(l&&"border-box"===l)S=e+s+o;else{const{clientWidth:i,offsetWidth:a}=r;S=e+t+n+s+o+(a-i)}}l&&(r.style.transform=l),c&&(r.style.webkitTransform=c),s.roundLengths&&(S=Math.floor(S))}else S=(a-(s.slidesPerView-1)*E)/s.slidesPerView,s.roundLengths&&(S=Math.floor(S)),h[o]&&(h[o].style[t("width")]=`${S}px`);h[o]&&(h[o].swiperSlideSize=S),g.push(S),s.centeredSlides?(_=_+S/2+O/2+E,0===O&&0!==o&&(_=_-a/2-E),0===o&&(_=_-a/2-E),Math.abs(_)<.001&&(_=0),s.roundLengths&&(_=Math.floor(_)),T%s.slidesPerGroup==0&&f.push(_),m.push(_)):(s.roundLengths&&(_=Math.floor(_)),(T-Math.min(e.params.slidesPerGroupSkip,T))%e.params.slidesPerGroup==0&&f.push(_),m.push(_),_=_+S+E),e.virtualSize+=S+E,O=S,T+=1}}e.virtualSize=Math.max(e.virtualSize,a)+b,l&&c&&("slide"===s.effect||"coverflow"===s.effect)&&(o.style.width=`${e.virtualSize+E}px`);s.setWrapperSize&&(o.style[t("width")]=`${e.virtualSize+E}px`);x&&e.grid.updateWrapperSize(S,f,t);if(!s.centeredSlides){const t=[];for(let i=0;i<f.length;i+=1){let n=f[i];s.roundLengths&&(n=Math.floor(n)),f[i]<=e.virtualSize-a&&t.push(n)}f=t,Math.floor(e.virtualSize-a)-Math.floor(f[f.length-1])>1&&f.push(e.virtualSize-a)}if(d&&s.loop){const t=g[0]+E;if(s.slidesPerGroup>1){const i=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/s.slidesPerGroup),n=t*s.slidesPerGroup;for(let e=0;e<i;e+=1)f.push(f[f.length-1]+n)}for(let i=0;i<e.virtual.slidesBefore+e.virtual.slidesAfter;i+=1)1===s.slidesPerGroup&&f.push(f[f.length-1]+t),m.push(m[m.length-1]+t),e.virtualSize+=t}0===f.length&&(f=[0]);if(0!==E){const i=e.isHorizontal()&&l?"marginLeft":t("marginRight");h.filter((e,t)=>!(s.cssMode&&!s.loop)||t!==h.length-1).forEach(e=>{e.style[i]=`${E}px`})}if(s.centeredSlides&&s.centeredSlidesBounds){let e=0;g.forEach(t=>{e+=t+(E||0)});const t=(e-=E)-a;f=f.map(e=>e<=0?-v:e>t?t+b:e)}if(s.centerInsufficientSlides){let e=0;if(g.forEach(t=>{e+=t+(E||0)}),(e-=E)<a){const t=(a-e)/2;f.forEach((e,i)=>{f[i]=e-t}),m.forEach((e,i)=>{m[i]=e+t})}}if(Object.assign(e,{slides:h,snapGrid:f,slidesGrid:m,slidesSizesGrid:g}),s.centeredSlides&&s.cssMode&&!s.centeredSlidesBounds){Object(n.s)(o,"--swiper-centered-offset-before",`${-f[0]}px`),Object(n.s)(o,"--swiper-centered-offset-after",`${e.size/2-g[g.length-1]/2}px`);const t=-e.snapGrid[0],i=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(e=>e+t),e.slidesGrid=e.slidesGrid.map(e=>e+i)}p!==u&&e.emit("slidesLengthChange");f.length!==y&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange"));m.length!==w&&e.emit("slidesGridLengthChange");s.watchSlidesProgress&&e.updateSlidesOffset();if(!(d||s.cssMode||"slide"!==s.effect&&"fade"!==s.effect)){const t=`${s.containerModifierClass}backface-hidden`,i=e.el.classList.contains(t);p<=s.maxBackfaceHiddenSlides?i||e.el.classList.add(t):i&&e.el.classList.remove(t)}};var n=i(0)},function(e,t,i){"use strict";t.a=function(e){const t=this,i=[],n=t.virtual&&t.params.virtual.enabled;let s,o=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const r=e=>n?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(e=>{i.push(e)});else for(s=0;s<Math.ceil(t.params.slidesPerView);s+=1){const e=t.activeIndex+s;if(e>t.slides.length&&!n)break;i.push(r(e))}else i.push(r(t.activeIndex));for(s=0;s<i.length;s+=1)if(void 0!==i[s]){const e=i[s].offsetHeight;o=e>o?e:o}(o||0===o)&&(t.wrapperEl.style.height=`${o}px`)}},function(e,t,i){"use strict";t.a=function(){const e=this,t=e.slides,i=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let n=0;n<t.length;n+=1)t[n].swiperSlideOffset=(e.isHorizontal()?t[n].offsetLeft:t[n].offsetTop)-i-e.cssOverflowAdjustment()}},function(e,t,i){"use strict";t.a=function(e=this&&this.translate||0){const t=this,i=t.params,{slides:n,rtlTranslate:s,snapGrid:o}=t;if(0===n.length)return;void 0===n[0].swiperSlideOffset&&t.updateSlidesOffset();let r=-e;s&&(r=e);
17n.forEach(e=>{e.classList.remove(i.slideVisibleClass)}),t.visibleSlidesIndexes=[],t.visibleSlides=[];let a=i.spaceBetween;"string"==typeof a&&a.indexOf("%")>=0?a=parseFloat(a.replace("%",""))/100*t.size:"string"==typeof a&&(a=parseFloat(a));for(let e=0;e<n.length;e+=1){const l=n[e];let c=l.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(c-=n[0].swiperSlideOffset);const d=(r+(i.centeredSlides?t.minTranslate():0)-c)/(l.swiperSlideSize+a),u=(r-o[0]+(i.centeredSlides?t.minTranslate():0)-c)/(l.swiperSlideSize+a),h=-(r-c),p=h+t.slidesSizesGrid[e],f=h>=0&&h<t.size-1||p>1&&p<=t.size||h<=0&&p>=t.size;f&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(e),n[e].classList.add(i.slideVisibleClass)),l.progress=s?-d:d,l.originalProgress=s?-u:u}}},function(e,t,i){"use strict";t.a=function(e){const t=this;if(void 0===e){const i=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*i||0}const i=t.params,n=t.maxTranslate()-t.minTranslate();let{progress:s,isBeginning:o,isEnd:r,progressLoop:a}=t;const l=o,c=r;if(0===n)s=0,o=!0,r=!0;else{s=(e-t.minTranslate())/n;const i=Math.abs(e-t.minTranslate())<1,a=Math.abs(e-t.maxTranslate())<1;o=i||s<=0,r=a||s>=1,i&&(s=0),a&&(s=1)}if(i.loop){const i=t.getSlideIndexByData(0),n=t.getSlideIndexByData(t.slides.length-1),s=t.slidesGrid[i],o=t.slidesGrid[n],r=t.slidesGrid[t.slidesGrid.length-1],l=Math.abs(e);(a=l>=s?(l-s)/r:(l+r-o)/r)>1&&(a-=1)}Object.assign(t,{progress:s,progressLoop:a,isBeginning:o,isEnd:r}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&t.updateSlidesProgress(e);o&&!l&&t.emit("reachBeginning toEdge");r&&!c&&t.emit("reachEnd toEdge");(l&&!o||c&&!r)&&t.emit("fromEdge");t.emit("progress",s)}},function(e,t,i){"use strict";t.a=function(){const e=this,{slides:t,params:i,slidesEl:s,activeIndex:o}=e,r=e.virtual&&i.virtual.enabled,a=e=>Object(n.d)(s,`.${i.slideClass}${e}, swiper-slide${e}`)[0];let l;if(t.forEach(e=>{e.classList.remove(i.slideActiveClass,i.slideNextClass,i.slidePrevClass)}),r)if(i.loop){let t=o-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),l=a(`[data-swiper-slide-index="${t}"]`)}else l=a(`[data-swiper-slide-index="${o}"]`);else l=t[o];if(l){l.classList.add(i.slideActiveClass);let e=Object(n.f)(l,`.${i.slideClass}, swiper-slide`)[0];i.loop&&!e&&(e=t[0]),e&&e.classList.add(i.slideNextClass);let s=Object(n.j)(l,`.${i.slideClass}, swiper-slide`)[0];i.loop&&0===!s&&(s=t[t.length-1]),s&&s.classList.add(i.slidePrevClass)}e.emitSlidesClasses()};var n=i(0)},function(e,t,i){"use strict";t.a=function(e){const t=this,i=t.rtlTranslate?t.translate:-t.translate,{snapGrid:s,params:o,activeIndex:r,realIndex:a,snapIndex:l}=t;let c,d=e;const u=e=>{let i=e-t.virtual.slidesBefore;return i<0&&(i=t.virtual.slides.length+i),i>=t.virtual.slides.length&&(i-=t.virtual.slides.length),i};void 0===d&&(d=function(e){const{slidesGrid:t,params:i}=e,n=e.rtlTranslate?e.translate:-e.translate;let s;for(let e=0;e<t.length;e+=1)void 0!==t[e+1]?n>=t[e]&&n<t[e+1]-(t[e+1]-t[e])/2?s=e:n>=t[e]&&n<t[e+1]&&(s=e+1):n>=t[e]&&(s=e);i.normalizeSlideIndex&&(s<0||void 0===s)&&(s=0);return s}(t));if(s.indexOf(i)>=0)c=s.indexOf(i);else{const e=Math.min(o.slidesPerGroupSkip,d);c=e+Math.floor((d-e)/o.slidesPerGroup)}c>=s.length&&(c=s.length-1);if(d===r)return c!==l&&(t.snapIndex=c,t.emit("snapIndexChange")),void(t.params.loop&&t.virtual&&t.params.virtual.enabled&&(t.realIndex=u(d)));let h;h=t.virtual&&o.virtual.enabled&&o.loop?u(d):t.slides[d]?parseInt(t.slides[d].getAttribute("data-swiper-slide-index")||d,10):d;Object.assign(t,{previousSnapIndex:l,snapIndex:c,previousRealIndex:a,realIndex:h,previousIndex:r,activeIndex:d}),t.initialized&&Object(n.a)(t);t.emit("activeIndexChange"),t.emit("snapIndexChange"),a!==h&&t.emit("realIndexChange");(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")};var n=i(32)},function(e,t,i){"use strict";t.a=function(e){const t=this,i=t.params,n=e.closest(`.${i.slideClass}, swiper-slide`);let s,o=!1;if(n)for(let e=0;e<t.slides.length;e+=1)if(t.slides[e]===n){o=!0,s=e;break}if(!n||!o)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=n,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(n.getAttribute("data-swiper-slide-index"),10):t.clickedIndex=s;i.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}},function(e,t,i){"use strict";var n=i(102),s=i(103),o=i(104),r=i(105),a=i(106);t.a={getTranslate:n.a,setTranslate:s.a,minTranslate:o.a,maxTranslate:r.a,translateTo:a.a}},function(e,t,i){"use strict";t.a=function(e=(this.isHorizontal()?"x":"y")){const{params:t,rtlTranslate:i,translate:s,wrapperEl:o}=this;if(t.virtualTranslate)return i?-s:s;if(t.cssMode)return s;let r=Object(n.o)(o,e);r+=this.cssOverflowAdjustment(),i&&(r=-r);return r||0};var n=i(0)},function(e,t,i){"use strict";t.a=function(e,t){const i=this,{rtlTranslate:n,params:s,wrapperEl:o,progress:r}=i;let a=0,l=0;i.isHorizontal()?a=n?-e:e:l=e;
17s.roundLengths&&(a=Math.floor(a),l=Math.floor(l));i.previousTranslate=i.translate,i.translate=i.isHorizontal()?a:l,s.cssMode?o[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-a:-l:s.virtualTranslate||(i.isHorizontal()?a-=i.cssOverflowAdjustment():l-=i.cssOverflowAdjustment(),o.style.transform=`translate3d(${a}px, ${l}px, 0px)`);let c;const d=i.maxTranslate()-i.minTranslate();c=0===d?0:(e-i.minTranslate())/d;c!==r&&i.updateProgress(e);i.emit("setTranslate",i.translate,t)}},function(e,t,i){"use strict";t.a=function(){return-this.snapGrid[0]}},function(e,t,i){"use strict";t.a=function(){return-this.snapGrid[this.snapGrid.length-1]}},function(e,t,i){"use strict";t.a=function(e=0,t=this.params.speed,i=!0,s=!0,o){const r=this,{params:a,wrapperEl:l}=r;if(r.animating&&a.preventInteractionOnTransition)return!1;const c=r.minTranslate(),d=r.maxTranslate();let u;u=s&&e>c?c:s&&e<d?d:e;if(r.updateProgress(u),a.cssMode){const e=r.isHorizontal();if(0===t)l[e?"scrollLeft":"scrollTop"]=-u;else{if(!r.support.smoothScroll)return Object(n.a)({swiper:r,targetPosition:-u,side:e?"left":"top"}),!0;l.scrollTo({[e?"left":"top"]:-u,behavior:"smooth"})}return!0}0===t?(r.setTransition(0),r.setTranslate(u),i&&(r.emit("beforeTransitionStart",t,o),r.emit("transitionEnd"))):(r.setTransition(t),r.setTranslate(u),i&&(r.emit("beforeTransitionStart",t,o),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,i&&r.emit("transitionEnd"))}),r.wrapperEl.addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd)));return!0};var n=i(0)},function(e,t,i){"use strict";var n=i(108),s=i(109),o=i(110);t.a={setTransition:n.a,transitionStart:s.a,transitionEnd:o.a}},function(e,t,i){"use strict";t.a=function(e,t){const i=this;i.params.cssMode||(i.wrapperEl.style.transitionDuration=`${e}ms`);i.emit("setTransition",e,t)}},function(e,t,i){"use strict";t.a=function(e=!0,t){const i=this,{params:s}=i;if(s.cssMode)return;s.autoHeight&&i.updateAutoHeight();Object(n.a)({swiper:i,runCallbacks:e,direction:t,step:"Start"})};var n=i(50)},function(e,t,i){"use strict";t.a=function(e=!0,t){const{params:i}=this;if(this.animating=!1,i.cssMode)return;this.setTransition(0),Object(n.a)({swiper:this,runCallbacks:e,direction:t,step:"End"})};var n=i(50)},function(e,t,i){"use strict";var n=i(112),s=i(113),o=i(114),r=i(115),a=i(116),l=i(117),c=i(118);t.a={slideTo:n.a,slideToLoop:s.a,slideNext:o.a,slidePrev:r.a,slideReset:a.a,slideToClosest:l.a,slideToClickedSlide:c.a}},function(e,t,i){"use strict";t.a=function(e=0,t=this.params.speed,i=!0,s,o){"string"==typeof e&&(e=parseInt(e,10));const r=this;let a=e;a<0&&(a=0);const{params:l,snapGrid:c,slidesGrid:d,previousIndex:u,activeIndex:h,rtlTranslate:p,wrapperEl:f,enabled:m}=r;if(r.animating&&l.preventInteractionOnTransition||!m&&!s&&!o)return!1;const g=Math.min(r.params.slidesPerGroupSkip,a);let v=g+Math.floor((a-g)/r.params.slidesPerGroup);v>=c.length&&(v=c.length-1);const b=-c[v];if(l.normalizeSlideIndex)for(let e=0;e<d.length;e+=1){const t=-Math.floor(100*b),i=Math.floor(100*d[e]),n=Math.floor(100*d[e+1]);void 0!==d[e+1]?t>=i&&t<n-(n-i)/2?a=e:t>=i&&t<n&&(a=e+1):t>=i&&(a=e)}if(r.initialized&&a!==h){if(!r.allowSlideNext&&(p?b>r.translate&&b>r.minTranslate():b<r.translate&&b<r.minTranslate()))return!1;if(!r.allowSlidePrev&&b>r.translate&&b>r.maxTranslate()&&(h||0)!==a)return!1}a!==(u||0)&&i&&r.emit("beforeSlideChangeStart");let y;r.updateProgress(b),y=a>h?"next":a<h?"prev":"reset";if(p&&-b===r.translate||!p&&b===r.translate)return r.updateActiveIndex(a),l.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),"slide"!==l.effect&&r.setTranslate(b),"reset"!==y&&(r.transitionStart(i,y),r.transitionEnd(i,y)),!1;if(l.cssMode){const e=r.isHorizontal(),i=p?b:-b;if(0===t){const t=r.virtual&&r.params.virtual.enabled;t&&(r.wrapperEl.style.scrollSnapType="none",r._immediateVirtual=!0),t&&!r._cssModeVirtualInitialSet&&r.params.initialSlide>0?(r._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{f[e?"scrollLeft":"scrollTop"]=i})):f[e?"scrollLeft":"scrollTop"]=i,t&&requestAnimationFrame(()=>{r.wrapperEl.style.scrollSnapType="",r._immediateVirtual=!1})}else{if(!r.support.smoothScroll)return Object(n.a)({swiper:r,targetPosition:i,side:e?"left"
17:"top"}),!0;f.scrollTo({[e?"left":"top"]:i,behavior:"smooth"})}return!0}r.setTransition(t),r.setTranslate(b),r.updateActiveIndex(a),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,s),r.transitionStart(i,y),0===t?r.transitionEnd(i,y):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(i,y))}),r.wrapperEl.addEventListener("transitionend",r.onSlideToWrapperTransitionEnd));return!0};var n=i(0)},function(e,t,i){"use strict";t.a=function(e=0,t=this.params.speed,i=!0,n){if("string"==typeof e){const t=parseInt(e,10);e=t}const s=this;let o=e;s.params.loop&&(s.virtual&&s.params.virtual.enabled?o+=s.virtual.slidesBefore:o=s.getSlideIndexByData(o));return s.slideTo(o,t,i,n)}},function(e,t,i){"use strict";t.a=function(e=this.params.speed,t=!0,i){const n=this,{enabled:s,params:o,animating:r}=n;if(!s)return n;let a=o.slidesPerGroup;"auto"===o.slidesPerView&&1===o.slidesPerGroup&&o.slidesPerGroupAuto&&(a=Math.max(n.slidesPerViewDynamic("current",!0),1));const l=n.activeIndex<o.slidesPerGroupSkip?1:a,c=n.virtual&&o.virtual.enabled;if(o.loop){if(r&&!c&&o.loopPreventsSliding)return!1;n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft}if(o.rewind&&n.isEnd)return n.slideTo(0,e,t,i);return n.slideTo(n.activeIndex+l,e,t,i)}},function(e,t,i){"use strict";t.a=function(e=this.params.speed,t=!0,i){const n=this,{params:s,snapGrid:o,slidesGrid:r,rtlTranslate:a,enabled:l,animating:c}=n;if(!l)return n;const d=n.virtual&&s.virtual.enabled;if(s.loop){if(c&&!d&&s.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}function u(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const h=u(a?n.translate:-n.translate),p=o.map(e=>u(e));let f=o[p.indexOf(h)-1];if(void 0===f&&s.cssMode){let e;o.forEach((t,i)=>{h>=t&&(e=i)}),void 0!==e&&(f=o[e>0?e-1:e])}let m=0;void 0!==f&&((m=r.indexOf(f))<0&&(m=n.activeIndex-1),"auto"===s.slidesPerView&&1===s.slidesPerGroup&&s.slidesPerGroupAuto&&(m=m-n.slidesPerViewDynamic("previous",!0)+1,m=Math.max(m,0)));if(s.rewind&&n.isBeginning){const s=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(s,e,t,i)}return n.slideTo(m,e,t,i)}},function(e,t,i){"use strict";t.a=function(e=this.params.speed,t=!0,i){return this.slideTo(this.activeIndex,e,t,i)}},function(e,t,i){"use strict";t.a=function(e=this.params.speed,t=!0,i,n=.5){const s=this;let o=s.activeIndex;const r=Math.min(s.params.slidesPerGroupSkip,o),a=r+Math.floor((o-r)/s.params.slidesPerGroup),l=s.rtlTranslate?s.translate:-s.translate;if(l>=s.snapGrid[a]){const e=s.snapGrid[a],t=s.snapGrid[a+1];l-e>(t-e)*n&&(o+=s.params.slidesPerGroup)}else{const e=s.snapGrid[a-1],t=s.snapGrid[a];l-e<=(t-e)*n&&(o-=s.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,s.slidesGrid.length-1),s.slideTo(o,e,t,i)}},function(e,t,i){"use strict";t.a=function(){const e=this,{params:t,slidesEl:i}=e,s="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let o,r=e.clickedIndex;const a=e.isElement?"swiper-slide":`.${t.slideClass}`;if(t.loop){if(e.animating)return;o=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?r<e.loopedSlides-s/2||r>e.slides.length-e.loopedSlides+s/2?(e.loopFix(),r=e.getSlideIndex(Object(n.d)(i,`${a}[data-swiper-slide-index="${o}"]`)[0]),Object(n.q)(()=>{e.slideTo(r)})):e.slideTo(r):r>e.slides.length-s?(e.loopFix(),r=e.getSlideIndex(Object(n.d)(i,`${a}[data-swiper-slide-index="${o}"]`)[0]),Object(n.q)(()=>{e.slideTo(r)})):e.slideTo(r)}else e.slideTo(r)};var n=i(0)},function(e,t,i){"use strict";var n=i(120),s=i(121),o=i(122);t.a={loopCreate:n.a,loopFix:s.a,loopDestroy:o.a}},function(e,t,i){"use strict";t.a=function(e){const{params:t,slidesEl:i}=this;if(!t.loop||this.virtual&&this.params.virtual.enabled)return;Object(n.d)(i,`.${t.slideClass}, swiper-slide`).forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t)}),this.loopFix({slideRealIndex:e,direction:t.centeredSlides?void 0:"next"})};var n=i(0)},function(e,t,i){"use strict";t.a=function({slideRealIndex:e,slideTo:t=!0,direction:i,setTranslate:n,activeSlideIndex:s,byController:o,byMousewheel:r}={}){const a=this;if(!a.params.loop)return;a.emit("beforeLoopFix");const{slides:l,allowSlidePrev:c,allowSlideNext:d,slidesEl:u,params:h}=a;if(a.allowSlidePrev=!0,a.allowSlideNext=!0,a.virtual&&h.virtual.enabled)return t&&(h.centeredSlides||0!==a.snapIndex?h.centeredSlides&&a.snapIndex<h.slidesPerView?a.slideTo(a.virtual.slides.length+a.snapIndex,0,!1,!0):a.snapIndex===a.snapGrid.length-1&&a.slideTo(a.virtual.slidesBefore,0,!1,!0):a.slideTo(a.virtual.slides.length,0,!1,!0)),a.allowSlidePrev=c,a.allowSlideNext=d,void a.emit("loopFix");const p="auto"===h.slidesPerView?a.slidesPerViewDynamic():Math.ceil(parseFloat(h.slidesPerView,10));let f=h.loopedSlides||p;f%h.slidesPerGroup!=0&&(f+=h.slidesPerGroup-f%h.slidesPerGroup);a.loopedSlides=f;const m=[],g=[];let v=a.activeIndex;void 0===s?s=a.getSlideIndex(a.slides.filter(e=>e.classList.contains(h.slideActiveClass))[0]):v=s;const b="next"===i||!i,y="prev"===i||!i;let w=0,E=0;if(s<f){w=Math.max(f-s,h.slidesPerGroup);for(let e=0;e<f-s;e+=1){const t=e-Math.floor(e/l.length)*l.length;m.push(l.length-t-1)}}else if(s>a.slides.length-2*f){E=Math.max(s-(a.slides.length-2*f),h.slidesPerGroup);for(let e=0;e<E;e+=1){const t=e-Math.floor(e/l.length)*l.length;g.push(t)}}
17y&&m.forEach(e=>{a.slides[e].swiperLoopMoveDOM=!0,u.prepend(a.slides[e]),a.slides[e].swiperLoopMoveDOM=!1});b&&g.forEach(e=>{a.slides[e].swiperLoopMoveDOM=!0,u.append(a.slides[e]),a.slides[e].swiperLoopMoveDOM=!1});a.recalcSlides(),"auto"===h.slidesPerView&&a.updateSlides();h.watchSlidesProgress&&a.updateSlidesOffset();if(t)if(m.length>0&&y)if(void 0===e){const e=a.slidesGrid[v],t=a.slidesGrid[v+w],i=t-e;r?a.setTranslate(a.translate-i):(a.slideTo(v+w,0,!1,!0),n&&(a.touches[a.isHorizontal()?"startX":"startY"]+=i))}else n&&a.slideToLoop(e,0,!1,!0);else if(g.length>0&&b)if(void 0===e){const e=a.slidesGrid[v],t=a.slidesGrid[v-E],i=t-e;r?a.setTranslate(a.translate-i):(a.slideTo(v-E,0,!1,!0),n&&(a.touches[a.isHorizontal()?"startX":"startY"]+=i))}else a.slideToLoop(e,0,!1,!0);if(a.allowSlidePrev=c,a.allowSlideNext=d,a.controller&&a.controller.control&&!o){const t={slideRealIndex:e,slideTo:!1,direction:i,setTranslate:n,activeSlideIndex:s,byController:!0};Array.isArray(a.controller.control)?a.controller.control.forEach(e=>{!e.destroyed&&e.params.loop&&e.loopFix(t)}):a.controller.control instanceof a.constructor&&a.controller.control.params.loop&&a.controller.control.loopFix(t)}a.emit("loopFix")}},function(e,t,i){"use strict";t.a=function(){const{params:e,slidesEl:t}=this;if(!e.loop||this.virtual&&this.params.virtual.enabled)return;this.recalcSlides();const i=[];this.slides.forEach(e=>{const t=void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;i[t]=e}),this.slides.forEach(e=>{e.removeAttribute("data-swiper-slide-index")}),i.forEach(e=>{t.append(e)}),this.recalcSlides(),this.slideTo(this.realIndex,0)}},function(e,t,i){"use strict";var n=i(124),s=i(125);t.a={setGrabCursor:n.a,unsetGrabCursor:s.a}},function(e,t,i){"use strict";t.a=function(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const i="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0);i.style.cursor="move",i.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})}},function(e,t,i){"use strict";t.a=function(){const e=this;if(e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;e.isElement&&(e.__preventObserver__=!0);e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}},function(e,t,i){"use strict";var n=i(1),s=i(127),o=i(128),r=i(129),a=i(130),l=i(131),c=i(132),d=i(133);let u=!1;function h(){}const p=(e,t)=>{const i=Object(n.a)(),{params:s,el:o,wrapperEl:r,device:l}=e,c=!!s.nested,d="on"===t?"addEventListener":"removeEventListener",u=t;o[d]("pointerdown",e.onTouchStart,{passive:!1}),i[d]("pointermove",e.onTouchMove,{passive:!1,capture:c}),i[d]("pointerup",e.onTouchEnd,{passive:!0}),i[d]("pointercancel",e.onTouchEnd,{passive:!0}),i[d]("pointerout",e.onTouchEnd,{passive:!0}),i[d]("pointerleave",e.onTouchEnd,{passive:!0}),(s.preventClicks||s.preventClicksPropagation)&&o[d]("click",e.onClick,!0),s.cssMode&&r[d]("scroll",e.onScroll),s.updateOnWindowResize?e[u](l.ios||l.android?"resize orientationchange observerUpdate":"resize observerUpdate",a.a,!0):e[u]("observerUpdate",a.a,!0),o[d]("load",e.onLoad,{capture:!0})};t.a={attachEvents:function(){const e=this,t=Object(n.a)(),{params:i}=e;e.onTouchStart=s.a.bind(e),e.onTouchMove=o.a.bind(e),e.onTouchEnd=r.a.bind(e),i.cssMode&&(e.onScroll=c.a.bind(e)),e.onClick=l.a.bind(e),e.onLoad=d.a.bind(e),u||(t.addEventListener("touchstart",h),u=!0),p(e,"on")},detachEvents:function(){p(this,"off")}}},function(e,t,i){"use strict";t.a=function(e){const t=this,i=Object(n.a)(),o=Object(n.b)(),r=t.touchEventsData;r.evCache.push(e);const{params:a,touches:l,enabled:c}=t;if(!c)return;if(!a.simulateTouch&&"mouse"===e.pointerType)return;if(t.animating&&a.preventInteractionOnTransition)return;!t.animating&&a.cssMode&&a.loop&&t.loopFix();let d=e;d.originalEvent&&(d=d.originalEvent);let u=d.target;if("wrapper"===a.touchEventsTarget&&!t.wrapperEl.contains(u))return;if("which"in d&&3===d.which)return;if("button"in d&&d.button>0)return;if(r.isTouched&&r.isMoved)return;const h=!!a.noSwipingClass&&""!==a.noSwipingClass,p=e.composedPath?e.composedPath():e.path;h&&d.target&&d.target.shadowRoot&&p&&(u=p[0]);const f=a.noSwipingSelector?a.noSwipingSelector:`.${a.noSwipingClass}`,m=!(!d.target||!d.target.shadowRoot);if(a.noSwiping&&(m?function(e,t=this){return function t(i){if(!i||i===Object(n.a)()||i===Object(n.b)())return null;i.assignedSlot&&(i=i.assignedSlot);
17const s=i.closest(e);if(!s&&!i.getRootNode)return null;return s||t(i.getRootNode().host)}(t)}(f,u):u.closest(f)))return void(t.allowClick=!0);if(a.swipeHandler&&!u.closest(a.swipeHandler))return;l.currentX=d.pageX,l.currentY=d.pageY;const g=l.currentX,v=l.currentY,b=a.edgeSwipeDetection||a.iOSEdgeSwipeDetection,y=a.edgeSwipeThreshold||a.iOSEdgeSwipeThreshold;if(b&&(g<=y||g>=o.innerWidth-y)){if("prevent"!==b)return;e.preventDefault()}Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=g,l.startY=v,r.touchStartTime=Object(s.r)(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,a.threshold>0&&(r.allowThresholdMove=!1);let w=!0;u.matches(r.focusableElements)&&(w=!1,"SELECT"===u.nodeName&&(r.isTouched=!1));i.activeElement&&i.activeElement.matches(r.focusableElements)&&i.activeElement!==u&&i.activeElement.blur();const E=w&&t.allowTouchMove&&a.touchStartPreventDefault;!a.touchStartForcePreventDefault&&!E||u.isContentEditable||d.preventDefault();a.freeMode&&a.freeMode.enabled&&t.freeMode&&t.animating&&!a.cssMode&&t.freeMode.onTouchStart();t.emit("touchStart",d)};var n=i(1),s=i(0)},function(e,t,i){"use strict";t.a=function(e){const t=Object(n.a)(),i=this,o=i.touchEventsData,{params:r,touches:a,rtlTranslate:l,enabled:c}=i;if(!c)return;if(!r.simulateTouch&&"mouse"===e.pointerType)return;let d=e;d.originalEvent&&(d=d.originalEvent);if(!o.isTouched)return void(o.startMoving&&o.isScrolling&&i.emit("touchMoveOpposite",d));const u=o.evCache.findIndex(e=>e.pointerId===d.pointerId);u>=0&&(o.evCache[u]=d);const h=o.evCache.length>1?o.evCache[0]:d,p=h.pageX,f=h.pageY;if(d.preventedByNestedSwiper)return a.startX=p,void(a.startY=f);if(!i.allowTouchMove)return d.target.matches(o.focusableElements)||(i.allowClick=!1),void(o.isTouched&&(Object.assign(a,{startX:p,startY:f,prevX:i.touches.currentX,prevY:i.touches.currentY,currentX:p,currentY:f}),o.touchStartTime=Object(s.r)()));if(r.touchReleaseOnEdges&&!r.loop)if(i.isVertical()){if(f<a.startY&&i.translate<=i.maxTranslate()||f>a.startY&&i.translate>=i.minTranslate())return o.isTouched=!1,void(o.isMoved=!1)}else if(p<a.startX&&i.translate<=i.maxTranslate()||p>a.startX&&i.translate>=i.minTranslate())return;if(t.activeElement&&d.target===t.activeElement&&d.target.matches(o.focusableElements))return o.isMoved=!0,void(i.allowClick=!1);o.allowTouchCallbacks&&i.emit("touchMove",d);if(d.targetTouches&&d.targetTouches.length>1)return;a.currentX=p,a.currentY=f;const m=a.currentX-a.startX,g=a.currentY-a.startY;if(i.params.threshold&&Math.sqrt(m**2+g**2)<i.params.threshold)return;if(void 0===o.isScrolling){let e;i.isHorizontal()&&a.currentY===a.startY||i.isVertical()&&a.currentX===a.startX?o.isScrolling=!1:m*m+g*g>=25&&(e=180*Math.atan2(Math.abs(g),Math.abs(m))/Math.PI,o.isScrolling=i.isHorizontal()?e>r.touchAngle:90-e>r.touchAngle)}o.isScrolling&&i.emit("touchMoveOpposite",d);void 0===o.startMoving&&(a.currentX===a.startX&&a.currentY===a.startY||(o.startMoving=!0));if(o.isScrolling||i.zoom&&i.params.zoom&&i.params.zoom.enabled&&o.evCache.length>1)return void(o.isTouched=!1);if(!o.startMoving)return;i.allowClick=!1,!r.cssMode&&d.cancelable&&d.preventDefault();r.touchMoveStopPropagation&&!r.nested&&d.stopPropagation();let v=i.isHorizontal()?m:g,b=i.isHorizontal()?a.currentX-a.previousX:a.currentY-a.previousY;r.oneWayMovement&&(v=Math.abs(v)*(l?1:-1),b=Math.abs(b)*(l?1:-1));a.diff=v,v*=r.touchRatio,l&&(v=-v,b=-b);const y=i.touchesDirection;i.swipeDirection=v>0?"prev":"next",i.touchesDirection=b>0?"prev":"next";const w=i.params.loop&&!r.cssMode;if(!o.isMoved){if(w&&i.loopFix({direction:i.swipeDirection}),o.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});i.wrapperEl.dispatchEvent(e)}o.allowMomentumBounce=!1,!r.grabCursor||!0!==i.allowSlideNext&&!0!==i.allowSlidePrev||i.setGrabCursor(!0),i.emit("sliderFirstMove",d)}let E;o.isMoved&&y!==i.touchesDirection&&w&&Math.abs(v)>=1&&(i.loopFix({direction:i.swipeDirection,setTranslate:!0}),E=!0);i.emit("sliderMove",d),o.isMoved=!0,o.currentTranslate=v+o.startTranslate;let _=!0,O=r.resistanceRatio;r.touchReleaseOnEdges&&(O=0);v>0?(w&&!E&&o.currentTranslate>(r.centeredSlides?i.minTranslate()-i.size/2:i.minTranslate())&&i.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),o.currentTranslate>i.minTranslate()&&(_=!1,r.resistance&&(o.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+o.startTranslate+v)**O))):v<0&&(w&&!E&&o.currentTranslate<(r.centeredSlides?i.maxTranslate()+i.size/2:i.maxTranslate())&&i.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:i.slides.length-("auto"===r.slidesPerView?i.slidesPerViewDynamic():Math.ceil(parseFloat(r.slidesPerView,10)))}),o.currentTranslate<i.maxTranslate()&&(_=!1,r.resistance&&(o.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-o.startTranslate-v)**O)));_&&(d.preventedByNestedSwiper=!0);!i.allowSlideNext&&"next"===i.swipeDirection&&o.currentTranslate<o.startTranslate&&(o.currentTranslate=o.startTranslate);!i.allowSlidePrev&&"prev"===i.swipeDirection&&o.currentTranslate>o.startTranslate&&(o.currentTranslate=o.startTranslate);
17i.allowSlidePrev||i.allowSlideNext||(o.currentTranslate=o.startTranslate);if(r.threshold>0){if(!(Math.abs(v)>r.threshold||o.allowThresholdMove))return void(o.currentTranslate=o.startTranslate);if(!o.allowThresholdMove)return o.allowThresholdMove=!0,a.startX=a.currentX,a.startY=a.currentY,o.currentTranslate=o.startTranslate,void(a.diff=i.isHorizontal()?a.currentX-a.startX:a.currentY-a.startY)}if(!r.followFinger||r.cssMode)return;(r.freeMode&&r.freeMode.enabled&&i.freeMode||r.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses());r.freeMode&&r.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove();i.updateProgress(o.currentTranslate),i.setTranslate(o.currentTranslate)};var n=i(1),s=i(0)},function(e,t,i){"use strict";t.a=function(e){const t=this,i=t.touchEventsData,s=i.evCache.findIndex(t=>t.pointerId===e.pointerId);s>=0&&i.evCache.splice(s,1);if(["pointercancel","pointerout","pointerleave"].includes(e.type)){const i="pointercancel"===e.type&&(t.browser.isSafari||t.browser.isWebView);if(!i)return}const{params:o,touches:r,rtlTranslate:a,slidesGrid:l,enabled:c}=t;if(!c)return;if(!o.simulateTouch&&"mouse"===e.pointerType)return;let d=e;d.originalEvent&&(d=d.originalEvent);i.allowTouchCallbacks&&t.emit("touchEnd",d);if(i.allowTouchCallbacks=!1,!i.isTouched)return i.isMoved&&o.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,void(i.startMoving=!1);o.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const u=Object(n.r)(),h=u-i.touchStartTime;if(t.allowClick){const e=d.path||d.composedPath&&d.composedPath();t.updateClickedSlide(e&&e[0]||d.target),t.emit("tap click",d),h<300&&u-i.lastClickTime<300&&t.emit("doubleTap doubleClick",d)}if(i.lastClickTime=Object(n.r)(),Object(n.q)(()=>{t.destroyed||(t.allowClick=!0)}),!i.isTouched||!i.isMoved||!t.swipeDirection||0===r.diff||i.currentTranslate===i.startTranslate)return i.isTouched=!1,i.isMoved=!1,void(i.startMoving=!1);let p;i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,p=o.followFinger?a?t.translate:-t.translate:-i.currentTranslate;if(o.cssMode)return;if(o.freeMode&&o.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:p});let f=0,m=t.slidesSizesGrid[0];for(let e=0;e<l.length;e+=e<o.slidesPerGroupSkip?1:o.slidesPerGroup){const t=e<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;void 0!==l[e+t]?p>=l[e]&&p<l[e+t]&&(f=e,m=l[e+t]-l[e]):p>=l[e]&&(f=e,m=l[l.length-1]-l[l.length-2])}let g=null,v=null;o.rewind&&(t.isBeginning?v=o.virtual&&o.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(g=0));const b=(p-l[f])/m,y=f<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;if(h>o.longSwipesMs){if(!o.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(b>=o.longSwipesRatio?t.slideTo(o.rewind&&t.isEnd?g:f+y):t.slideTo(f)),"prev"===t.swipeDirection&&(b>1-o.longSwipesRatio?t.slideTo(f+y):null!==v&&b<0&&Math.abs(b)>o.longSwipesRatio?t.slideTo(v):t.slideTo(f))}else{if(!o.shortSwipes)return void t.slideTo(t.activeIndex);const e=t.navigation&&(d.target===t.navigation.nextEl||d.target===t.navigation.prevEl);e?d.target===t.navigation.nextEl?t.slideTo(f+y):t.slideTo(f):("next"===t.swipeDirection&&t.slideTo(null!==g?g:f+y),"prev"===t.swipeDirection&&t.slideTo(null!==v?v:f))}};var n=i(0)},function(e,t,i){"use strict";t.a=function(){const e=this,{params:t,el:i}=e;if(i&&0===i.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:s,snapGrid:o}=e,r=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const a=r&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||a?e.params.loop&&!r?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0);e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500));e.allowSlidePrev=s,e.allowSlideNext=n,e.params.watchOverflow&&o!==e.snapGrid&&e.checkOverflow()}},function(e,t,i){"use strict";t.a=function(e){const t=this;if(!t.enabled)return;t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}},function(e,t,i){"use strict";t.a=function(){const e=this,{wrapperEl:t,rtlTranslate:i,enabled:n}=e;if(!n)return;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop;0===e.translate&&(e.translate=0);let s;e.updateActiveIndex(),e.updateSlidesClasses();const o=e.maxTranslate()-e.minTranslate();s=0===o?0:(e.translate-e.minTranslate())/o;s!==e.progress&&e.updateProgress(i?-e.translate:e.translate);e.emit("setTranslate",e.translate,!1)}},function(e,t,i){"use strict";t.a=function(e){if(Object(n.b)(this,e.target),this.params.cssMode||"auto"!==this.params.slidesPerView&&!this.params.autoHeight)return;this.update()};var n=i(32)},function(e,t,i){"use strict";var n=i(135),s=i(136);
17t.a={setBreakpoint:n.a,getBreakpoint:s.a}},function(e,t,i){"use strict";t.a=function(){const e=this,{realIndex:t,initialized:i,params:o,el:r}=e,a=o.breakpoints;if(!a||a&&0===Object.keys(a).length)return;const l=e.getBreakpoint(a,e.params.breakpointsBase,e.el);if(!l||e.currentBreakpoint===l)return;const c=(l in a?a[l]:void 0)||e.originalParams,d=s(e,o),u=s(e,c),h=o.enabled;d&&!u?(r.classList.remove(`${o.containerModifierClass}grid`,`${o.containerModifierClass}grid-column`),e.emitContainerClasses()):!d&&u&&(r.classList.add(`${o.containerModifierClass}grid`),(c.grid.fill&&"column"===c.grid.fill||!c.grid.fill&&"column"===o.grid.fill)&&r.classList.add(`${o.containerModifierClass}grid-column`),e.emitContainerClasses());["navigation","pagination","scrollbar"].forEach(t=>{if(void 0===c[t])return;const i=o[t]&&o[t].enabled,n=c[t]&&c[t].enabled;i&&!n&&e[t].disable(),!i&&n&&e[t].enable()});const p=c.direction&&c.direction!==o.direction,f=o.loop&&(c.slidesPerView!==o.slidesPerView||p);p&&i&&e.changeDirection();Object(n.m)(e.params,c);const m=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),h&&!m?e.disable():!h&&m&&e.enable();e.currentBreakpoint=l,e.emit("_beforeBreakpoint",c),f&&i&&(e.loopDestroy(),e.loopCreate(t),e.updateSlides());e.emit("breakpoint",c)};var n=i(0);const s=(e,t)=>e.grid&&t.grid&&t.grid.rows>1},function(e,t,i){"use strict";t.a=function(e,t="window",i){if(!e||"container"===t&&!i)return;let s=!1;const o=Object(n.b)(),r="window"===t?o.innerHeight:i.clientHeight,a=Object.keys(e).map(e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1)),i=r*t;return{value:i,point:e}}return{value:e,point:e}});a.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let e=0;e<a.length;e+=1){const{point:n,value:r}=a[e];"window"===t?o.matchMedia(`(min-width: ${r}px)`).matches&&(s=n):r<=i.clientWidth&&(s=n)}return s||"max"};var n=i(1)},function(e,t,i){"use strict";var n=i(138),s=i(139);t.a={addClasses:n.a,removeClasses:s.a}},function(e,t,i){"use strict";t.a=function(){const{classNames:e,params:t,rtl:i,el:n,device:s}=this,o=function(e,t){const i=[];return e.forEach(e=>{"object"==typeof e?Object.keys(e).forEach(n=>{e[n]&&i.push(t+n)}):"string"==typeof e&&i.push(t+e)}),i}(["initialized",t.direction,{"free-mode":this.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:i},{grid:t.grid&&t.grid.rows>1},{"grid-column":t.grid&&t.grid.rows>1&&"column"===t.grid.fill},{android:s.android},{ios:s.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);e.push(...o),n.classList.add(...e),this.emitContainerClasses()}},function(e,t,i){"use strict";t.a=function(){const{el:e,classNames:t}=this;e.classList.remove(...t),this.emitContainerClasses()}},function(e,t,i){"use strict";t.a={checkOverflow:function(){const e=this,{isLocked:t,params:i}=e,{slidesOffsetBefore:n}=i;if(n){const t=e.slides.length-1,i=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*n;e.isLocked=e.size>i}else e.isLocked=1===e.snapGrid.length;!0===i.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===i.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}}},function(e,t,i){"use strict";t.a={init:!0,direction:"horizontal",oneWayMovement:!1,touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopedSlides:null,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1}},function(e,t,i){"use strict";t.a=function(e,t){return function(i={}){const s=Object.keys(i)[0],o=i[s];"object"==typeof o&&null!==o?(["navigation","pagination","scrollbar"].indexOf(s)>=0&&!0===e[s]&&(e[s]={auto:!0}),s in e&&"enabled"in o?(!0===e[s]&&(e[s]={enabled:!0}),"object"!=typeof e[s]||"enabled"in e[s]||(e[s].enabled=!0),e[s]||(e[s]={enabled:!1}),Object(n.m)(t,i)):Object(n.m)(t,i)):Object(n.m)(t,i)}};var n=i(0)},function(e,t,i){"use strict";i(1),i(0)},function(e,t,i){"use strict";i(1),i(0)},function(e,t,i){"use strict";i(1),i(0)},function(e,t,i){"use strict";t.a=function({swiper:e,extendParams:t,on:i,emit:s}){t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null};const o=e=>(Array.isArray(e)||(e=[e].filter(e=>!!e)),e);function r(t){let i;return t&&"string"==typeof t&&e.isElement&&(i=e.el.shadowRoot.querySelector(t))?i:(t&&("string"==typeof t&&(i=[...document.querySelectorAll(t)]),e.params.uniqueNavElements&&"string"==typeof t&&i.length>1&&1===e.el.querySelectorAll(t).length&&(i=e.el.querySelector(t))),t&&!i?t:i)}function a(t,i){const n=e.params.navigation;
17(t=o(t)).forEach(t=>{t&&(t.classList[i?"add":"remove"](...n.disabledClass.split(" ")),"BUTTON"===t.tagName&&(t.disabled=i),e.params.watchOverflow&&e.enabled&&t.classList[e.isLocked?"add":"remove"](n.lockClass))})}function l(){const{nextEl:t,prevEl:i}=e.navigation;if(e.params.loop)return a(i,!1),void a(t,!1);a(i,e.isBeginning&&!e.params.rewind),a(t,e.isEnd&&!e.params.rewind)}function c(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),s("navigationPrev"))}function d(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),s("navigationNext"))}function u(){const t=e.params.navigation;if(e.params.navigation=Object(n.a)(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!t.nextEl&&!t.prevEl)return;let i=r(t.nextEl),s=r(t.prevEl);Object.assign(e.navigation,{nextEl:i,prevEl:s}),i=o(i),s=o(s);const a=(i,n)=>{i&&i.addEventListener("click","next"===n?d:c),!e.enabled&&i&&i.classList.add(...t.lockClass.split(" "))};i.forEach(e=>
17a(e,"next")),s.forEach(e=>a(e,"prev"))}function h(){let{nextEl:t,prevEl:i}=e.navigation;t=o(t),i=o(i);const n=(t,i)=>{t.removeEventListener("click","next"===i?d:c),t.classList.remove(...e.params.navigation.disabledClass.split(" "))};t.forEach(e=>n(e,"next")),i.forEach(e=>n(e,"prev"))}i("init",()=>{!1===e.params.navigation.enabled?p():(u(),l())}),i("toEdge fromEdge lock unlock",()=>{l()}),i("destroy",()=>{h()}),i("enable disable",()=>{let{nextEl:t,prevEl:i}=e.navigation;t=o(t),i=o(i),[...t,...i].filter(e=>!!e).forEach(t=>t.classList[e.enabled?"remove":"add"](e.params.navigation.lockClass))}),i("click",(t,i)=>{let{nextEl:n,prevEl:r}=e.navigation;n=o(n),r=o(r);const a=i.target;if(e.params.navigation.hideOnClick&&!r.includes(a)&&!n.includes(a)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===a||e.pagination.el.contains(a)))return;let t;n.length?t=n[0].classList.contains(e.params.navigation.hiddenClass):r.length&&(t=r[0].classList.contains(e.params.navigation.hiddenClass)),s(!0===t?"navigationShow":"navigationHide"),[...n,...r].filter(e=>!!e).forEach(t=>t.classList.toggle(e.params.navigation.hiddenClass))}});const p=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),h()};Object.assign(e.navigation,{enable:()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),u(),l()},disable:p,update:l,init:u,destroy:h})};var n=i(33)},function(e,t,i){"use strict";i(51),i(33),i(0)},function(e,t,i){"use strict";i(1),i(0),i(33)},function(e,t,i){"use strict";i(0)},function(e,t,i){"use strict";i(1),i(0)},function(e,t,i){"use strict";i(0)},function(e,t,i){"use strict";i(51),i(0)},function(e,t,i){"use strict";i(1)},function(e,t,i){"use strict";i(1),i(0)},function(e,t,i){"use strict";t.a=function({swiper:e,extendParams:t,on:i,emit:s,params:o}){let r,a;e.autoplay={running:!1,paused:!1,timeLeft:0},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let l,c,d,u,h,p,f,m=o&&o.autoplay?o.autoplay.delay:3e3,g=o&&o.autoplay?o.autoplay.delay:3e3,v=(new Date).getTime;function b(t){e&&!e.destroyed&&e.wrapperEl&&t.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",b),T())}const y=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?c=!0:c&&(g=l,c=!1);const t=e.autoplay.paused?l:v+g-(new Date).getTime();e.autoplay.timeLeft=t,s("autoplayTimeLeft",t,t/m),a=requestAnimationFrame(()=>{y()})},w=t=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(a),y();let i=void 0===t?e.params.autoplay.delay:t;m=e.params.autoplay.delay,g=e.params.autoplay.delay;const n=(()=>{let t;t=e.virtual&&e.params.virtual.enabled?e.slides.filter(e=>e.classList.contains("swiper-slide-active"))[0]:e.slides[e.activeIndex];if(!t)return;return parseInt(t.getAttribute("data-swiper-autoplay"),10)})();!Number.isNaN(n)&&n>0&&void 0===t&&(i=n,m=n,g=n),l=i;const o=e.params.speed,c=()=>{e&&!e.destroyed&&(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(o,!0,!0),s("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,o,!0,!0),s("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(o,!0,!0),s("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,o,!0,!0),s("autoplay")),e.params.cssMode&&(v=(new Date).getTime(),requestAnimationFrame(()=>{w()})))};return i>0?(clearTimeout(r),r=setTimeout(()=>{c()},i)):requestAnimationFrame(()=>{c()}),i},E=()=>{e.autoplay.running=!0,w(),s("autoplayStart")},_=()=>{e.autoplay.running=!1,clearTimeout(r),cancelAnimationFrame(a),s("autoplayStop")},O=(t,i)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(r),t||(f=!0);const n=()=>{s("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",b):T()};if(e.autoplay.paused=!0,i)return p&&(l=e.params.autoplay.delay),p=!1,void n();const o=l||e.params.autoplay.delay;l=o-((new Date).getTime()-v),e.isEnd&&l<0&&!e.params.loop||(l<0&&(l=0),n())},T=()=>{e.isEnd&&l<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(v=(new Date).getTime(),f?(f=!1,w(l)):w(),e.autoplay.paused=!1,s("autoplayResume"))},x=()=>
17{if(e.destroyed||!e.autoplay.running)return;const t=Object(n.a)();"hidden"===t.visibilityState&&(f=!0,O(!0)),"visible"===t.visibilityState&&T()},S=e=>{"mouse"===e.pointerType&&(f=!0,O(!0))},C=t=>{"mouse"===t.pointerType&&e.autoplay.paused&&T()};i("init",()=>{e.params.autoplay.enabled&&(e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",S),e.el.addEventListener("pointerleave",C)),Object(n.a)().addEventListener("visibilitychange",x),v=(new Date).getTime(),E())}),i("destroy",()=>{e.el.removeEventListener("pointerenter",S),e.el.removeEventListener("pointerleave",C),Object(n.a)().removeEventListener("visibilitychange",x),e.autoplay.running&&_()}),i("beforeTransitionStart",(t,i,n)=>{!e.destroyed&&e.autoplay.running&&(n||!e.params.autoplay.disableOnInteraction?O(!0,!0):_())}),i("sliderFirstMove",()=>{!e.destroyed&&e.autoplay.running&&(e.params.autoplay.disableOnInteraction?_():(d=!0,u=!1,f=!1,h=setTimeout(()=>{f=!0,u=!0,O(!0)},200)))}),i("touchEnd",()=>{if(!e.destroyed&&e.autoplay.running&&d){if(clearTimeout(h),clearTimeout(r),e.params.autoplay.disableOnInteraction)return u=!1,void(d=!1);u&&e.params.cssMode&&T(),u=!1,d=!1}}),i("slideChange",()=>{!e.destroyed&&e.autoplay.running&&(p=!0)}),Object.assign(e.autoplay,{start:E,stop:_,pause:O,resume:T})};var n=i(1)},function(e,t,i){"use strict";i(1),i(0)},function(e,t,i){"use strict";i(0)},function(e,t,i){"use strict"},function(e,t,i){"use strict";i(160),i(161),i(162),i(163),i(164)},function(e,t,i){"use strict";t.a=function(e){const t=this,{params:i,slidesEl:n}=t;i.loop&&t.loopDestroy();const s=e=>{if("string"==typeof e){const t=document.createElement("div");t.innerHTML=e,n.append(t.children[0]),t.innerHTML=""}else n.append(e)};if("object"==typeof e&&"length"in e)for(let t=0;t<e.length;t+=1)e[t]&&s(e[t]);else s(e);t.recalcSlides(),i.loop&&t.loopCreate();i.observer&&!t.isElement||t.update()}},function(e,t,i){"use strict";t.a=function(e){const t=this,{params:i,activeIndex:n,slidesEl:s}=t;i.loop&&t.loopDestroy();let o=n+1;const r=e=>{if("string"==typeof e){const t=document.createElement("div");t.innerHTML=e,s.prepend(t.children[0]),t.innerHTML=""}else s.prepend(e)};if("object"==typeof e&&"length"in e){for(let t=0;t<e.length;t+=1)e[t]&&r(e[t]);o=n+e.length}else r(e);t.recalcSlides(),i.loop&&t.loopCreate();i.observer&&!t.isElement||t.update();t.slideTo(o,0,!1)}},function(e,t,i){"use strict";t.a=function(e,t){const i=this,{params:n,activeIndex:s,slidesEl:o}=i;let r=s;n.loop&&(r-=i.loopedSlides,i.loopDestroy(),i.recalcSlides());const a=i.slides.length;if(e<=0)return void i.prependSlide(t);if(e>=a)return void i.appendSlide(t);let l=r>e?r+1:r;const c=[];for(let t=a-1;t>=e;t-=1){const e=i.slides[t];e.remove(),c.unshift(e)}if("object"==typeof t&&"length"in t){for(let e=0;e<t.length;e+=1)t[e]&&o.append(t[e]);l=r>e?r+t.length:r}else o.append(t);for(let e=0;e<c.length;e+=1)o.append(c[e]);i.recalcSlides(),n.loop&&i.loopCreate();n.observer&&!i.isElement||i.update();n.loop?i.slideTo(l+i.loopedSlides,0,!1):i.slideTo(l,0,!1)}},function(e,t,i){"use strict";t.a=function(e){const t=this,{params:i,activeIndex:n}=t;let s=n;i.loop&&(s-=t.loopedSlides,t.loopDestroy());let o,r=s;if("object"==typeof e&&"length"in e){for(let i=0;i<e.length;i+=1)o=e[i],t.slides[o]&&t.slides[o].remove(),o<r&&(r-=1);r=Math.max(r,0)}else o=e,t.slides[o]&&t.slides[o].remove(),o<r&&(r-=1),r=Math.max(r,0);t.recalcSlides(),i.loop&&t.loopCreate();i.observer&&!t.isElement||t.update();i.loop?t.slideTo(r+t.loopedSlides,0,!1):t.slideTo(r,0,!1)}},function(e,t,i){"use strict";t.a=function(){const e=this,t=[];for(let i=0;i<e.slides.length;i+=1)t.push(i);e.removeSlide(t)}},function(e,t,i){"use strict";i(10),i(16),i(20),i(0)},function(e,t,i){"use strict";i(10),i(0)},function(e,t,i){"use strict";i(21),i(10),i(16),i(20),i(0)},function(e,t,i){"use strict";i(21),i(10),i(16),i(0)},function(e,t,i){"use strict";i(21),i(10),i(16),i(20),i(0)},function(e,t,i){"use strict";i(21),i(10),i(16),i(20),i(0)},function(e,t,i){"use strict";var n=i(19);t.a={init:function(){new n.c(".swiper-actu",{modules:[n.b],slidesPerView:1,loop:!0,speed:3e3,keyboard:{enabled:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}})},finalize:function(){}}},function(e,t,i){"use strict";var n=i(19);t.a={init:function(){new n.c(".swiper-film",{modules:[n.b],slidesPerView:1,loop:!0,speed:3e3,keyboard:{enabled:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}});var e=new n.c(".swiper-section",{modules:[n.b],centeredSlides:!0,slidesPerView:1,spaceBetween:16,loop:!0,speed:3e3,breakpoints:{768:{slidesPerView:2}},keyboard:{enabled:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}});document.querySelectorAll(".swiper-section .swiper-slide").forEach(function(t,i){t.addEventListener("focusin",function(){e.slideTo(i,500,!1)})})},finalize:function(){}}},function(e,t,i){"use strict";var n=i(174),s=i(175);t.a={init:function(){n.a.bind('[data-fancybox="album"]',{l10n:s.a,dragToClose:!1,Toolbar:{items:{customCLose:{tpl:'<button class="f-button close" type="button" aria-label="{{CLOSE}}" data-fancybox-close><svg viewBox="0 0 32 32" height="32" xmlns="http://www.w3.org/2000/svg" fill="#fff" aria-hidden="true"><path d="M4 29a1 1 0 0 1-.71-.29 1 1 0 0 1 0-1.42l24-24a1 1 0 1 1 1.42 1.42l-24 24A1 1 0 0 1 4 29Z"/><path d="M28 29a1 1 0 0 1-.71-.29l-24-24a1 1 0 0 1 1.42-1.42l24 24a1 1 0 0 1 0 1.42A1 1 0 0 1 28 29Z"/><path fill="none" d="M0 0h32v32H0z"/></svg></button>'}},display:{left:[],middle:[""],right:["customCLose"]}},Images:{Panzoom:{zoom:!1}}
17,Thumbs:!1,Carousel:{Navigation:{prevTpl:'<svg xmlns="http://www.w3.org/2000/svg" width="15.85" height="27.47" viewBox="0 0 15.85 27.47" tabindex="-1"><path d="m13.73 0 2.12 2.12L2.12 15.85 0 13.73 13.73 0Z" /><path d="m15.85 25.34-2.12 2.12L0 13.73l2.12-2.12 13.73 13.73Z" /></svg>',nextTpl:'<svg xmlns="http://www.w3.org/2000/svg" width="15.85" height="27.47" viewBox="0 0 15.85 27.47" tabindex="-1"><path d="M2.12 27.47 0 25.35l13.73-13.74 2.12 2.12L2.12 27.47z" /><path d="M0 2.12 2.12 0l13.73 13.73-2.12 2.12L0 2.12Z" /></svg>'}}})},finalize:function(){}}},function(e,t,i){"use strict";i.d(t,"a",function(){return Ct});const n=(e,t=1e4)=>(e=parseFloat(e+"")||0,Math.round((e+Number.EPSILON)*t)/t),s=function(e){if(!(e&&e instanceof Element&&e.offsetParent))return!1;const t=e.scrollHeight>e.clientHeight,i=window.getComputedStyle(e).overflowY,n=-1!==i.indexOf("hidden"),s=-1!==i.indexOf("visible");return t&&!n&&!s},o=function(e,t){return!(!e||e===document.body||t&&e===t)&&(s(e)?e:o(e.parentElement,t))},r=function(e){var t=(new DOMParser).parseFromString(e,"text/html").body;if(t.childElementCount>1){for(var i=document.createElement("div");t.firstChild;)i.appendChild(t.firstChild);return i}return t.firstChild},a=e=>`${e||""}`.split(" ").filter(e=>!!e),l=(e,t,i)=>{e&&a(t).forEach(t=>{e.classList.toggle(t,i||!1)})};class c{constructor(e){Object.defineProperty(this,"pageX",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"pageY",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"clientX",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"clientY",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"id",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"time",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"nativePointer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.nativePointer=e,this.pageX=e.pageX,this.pageY=e.pageY,this.clientX=e.clientX,this.clientY=e.clientY,this.id=self.Touch&&e instanceof Touch?e.identifier:-1,this.time=Date.now()}}const d={passive:!1};class u{constructor(e,{start:t=(()=>!0),move:i=(()=>{}),end:n=(()=>{})}){Object.defineProperty(this,"element",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"startCallback",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"moveCallback",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"endCallback",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"currentPointers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"startPointers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),this.element=e,this.startCallback=t,this.moveCallback=i,this.endCallback=n;for(const e of["onPointerStart","onTouchStart","onMove","onTouchEnd","onPointerEnd","onWindowBlur"])this[e]=this[e].bind(this);this.element.addEventListener("mousedown",this.onPointerStart,d),this.element.addEventListener("touchstart",this.onTouchStart,d),this.element.addEventListener("touchmove",this.onMove,d),this.element.addEventListener("touchend",this.onTouchEnd),this.element.addEventListener("touchcancel",this.onTouchEnd)}onPointerStart(e){if(!e.buttons||0!==e.button)return;const t=new c(e);this.currentPointers.some(e=>e.id===t.id)||this.triggerPointerStart(t,e)&&(window.addEventListener("mousemove",this.onMove),window.addEventListener("mouseup",this.onPointerEnd),window.addEventListener("blur",this.onWindowBlur))}onTouchStart(e){for(const t of Array.from(e.changedTouches||[]))this.triggerPointerStart(new c(t),e);window.addEventListener("blur",this.onWindowBlur)}onMove(e){const t=this.currentPointers.slice(),i="changedTouches"in e?Array.from(e.changedTouches||[]).map(e=>new c(e)):[new c(e)],n=[];for(const e of i){const t=this.currentPointers.findIndex(t=>t.id===e.id);t<0||(n.push(e),this.currentPointers[t]=e)}n.length&&this.moveCallback(e,this.currentPointers.slice(),t)}onPointerEnd(e){e.buttons>0&&0!==e.button||(this.triggerPointerEnd(e,new c(e)),window.removeEventListener("mousemove",this.onMove),window.removeEventListener("mouseup",this.onPointerEnd),window.removeEventListener("blur",this.onWindowBlur))}onTouchEnd(e){for(const t of Array.from(e.changedTouches||[]))this.triggerPointerEnd(e,new c(t))}triggerPointerStart(e,t){return!!this.startCallback(t,e,this.currentPointers.slice())&&(this.currentPointers.push(e),this.startPointers.push(e),!0)}triggerPointerEnd(e,t){const i=this.currentPointers.findIndex(e=>e.id===t.id);i<0||(this.currentPointers.splice(i,1),this.startPointers.splice(i,1),this.endCallback(e,t,this.currentPointers.slice()))}onWindowBlur(){this.clear()}clear(){for(;this.currentPointers.length;){const e=this.currentPointers[this.currentPointers.length-1];this.currentPointers.splice(this.currentPointers.length-1,1),this.startPointers.splice(this.currentPointers.length-1,1),this.endCallback(new Event("touchend",{bubbles:!0,cancelable:!0,clientX:e.clientX,clientY:e.clientY}),e,this.currentPointers.slice())}}stop(){this.element.removeEventListener("mousedown",this.onPointerStart,d),this.element.removeEventListener("touchstart",this.onTouchStart,d),this.element.removeEventListener("touchmove",this.onMove,d),this.element.removeEventListener("touchend",this.onTouchEnd),this.element.removeEventListener("touchcancel",this.onTouchEnd),window.removeEventListener("mousemove",this.onMove),window.removeEventListener("mouseup",this.onPointerEnd),window.removeEventListener("blur",this.onWindowBlur)}}function h(e,t){return t?Math.sqrt(Math.pow(t.clientX-e.clientX,2)+Math.pow(t.clientY-e.clientY,2)):0}function p(e,t){return t?{clientX:(e.clientX+t.clientX)/2,clientY:(e.clientY+t.clientY)/2}:e}const f=e=>"object"==typeof e&&null!==e&&e.constructor===Object&&"[object Object]"===Object.prototype.toString.call(e),m=(e,...t)=>{const i=t.length;for(let n=0;n<i;n++){const i=t[n]||{};
17Object.entries(i).forEach(([t,i])=>{const n=Array.isArray(i)?[]:{};e[t]||Object.assign(e,{[t]:n}),f(i)?Object.assign(e[t],m(n,i)):Array.isArray(i)?Object.assign(e,{[t]:[...i]}):Object.assign(e,{[t]:i})})}return e},g=function(e,t){return e.split(".").reduce((e,t)=>"object"==typeof e?e[t]:void 0,t)};class v{constructor(e={}){Object.defineProperty(this,"options",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"events",{enumerable:!0,configurable:!0,writable:!0,value:new Map}),this.setOptions(e);for(const e of Object.getOwnPropertyNames(Object.getPrototypeOf(this)))e.startsWith("on")&&"function"==typeof this[e]&&(this[e]=this[e].bind(this))}setOptions(e){this.options=e?m({},this.constructor.defaults,e):{};for(const[e,t]of Object.entries(this.option("on")||{}))this.on(e,t)}option(e,...t){let i=g(e,this.options);return i&&"function"==typeof i&&(i=i.call(this,this,...t)),i}optionFor(e,t,i,...n){let s=g(t,e);var o;"string"!=typeof(o=s)||isNaN(o)||isNaN(parseFloat(o))||(s=parseFloat(s)),"true"===s&&(s=!0),"false"===s&&(s=!1),s&&"function"==typeof s&&(s=s.call(this,this,e,...n));let r=g(t,this.options);return r&&"function"==typeof r?s=r.call(this,this,e,...n,s):void 0===s&&(s=r),void 0===s?i:s}cn(e){const t=this.options.classes;return t&&t[e]||""}localize(e,t=[]){e=String(e).replace(/\{\{(\w+).?(\w+)?\}\}/g,(e,t,i)=>{let n="";return i?n=this.option(`${t[0]+t.toLowerCase().substring(1)}.l10n.${i}`):t&&(n=this.option(`l10n.${t}`)),n||(n=e),n});for(let i=0;i<t.length;i++)e=e.split(t[i][0]).join(t[i][1]);return e.replace(/\{\{(.*?)\}\}/g,(e,t)=>t)}on(e,t){let i=[];"string"==typeof e?i=e.split(" "):Array.isArray(e)&&(i=e),this.events||(this.events=new Map),i.forEac
17h(e=>{let i=this.events.get(e);i||(this.events.set(e,[]),i=[]),i.includes(t)||i.push(t),this.events.set(e,i)})}off(e,t){let i=[];"string"==typeof e?i=e.split(" "):Array.isArray(e)&&(i=e),i.forEach(e=>{const i=this.events.get(e);if(Array.isArray(i)){const e=i.indexOf(t);e>-1&&i.splice(e,1)}})}emit(e,...t){[...this.events.get(e)||[]].forEach(e=>e(this,...t)),"*"!==e&&this.emit("*",e,...t)}}Object.defineProperty(v,"version",{enumerable:!0,configurable:!0,writable:!0,value:"5.0.36"}),Object.defineProperty(v,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{}});class b extends v{constructor(e={}){super(e),Object.defineProperty(this,"plugins",{enumerable:!0,configurable:!0,writable:!0,value:{}})}attachPlugins(e={}){const t=new Map;for(const[i,n]of Object.entries(e)){const e=this.option(i),s=this.plugins[i];s||!1===e?s&&!1===e&&(s.detach(),delete this.plugins[i]):t.set(i,new n(this,e||{}))}for(const[e,i]of t)this.plugins[e]=i,i.attach()}detachPlugins(e){e=e||Object.keys(this.plugins);for(const t of e){const e=this.plugins[t];e&&e.detach(),delete this.plugins[t]}return this.emit("detachPlugins"),this}}var y;!function(e){e[e.Init=0]="Init",e[e.Error=1]="Error",e[e.Ready=2]="Ready",e[e.Panning=3]="Panning",e[e.Mousemove=4]="Mousemove",e[e.Destroy=5]="Destroy"}(y||(y={}));const w=["a","b","c","d","e","f"],E={PANUP:"Move up",PANDOWN:"Move down",PANLEFT:"Move left",PANRIGHT:"Move right",ZOOMIN:"Zoom in",ZOOMOUT:"Zoom out",TOGGLEZOOM:"Toggle zoom level",TOGGLE1TO1:"Toggle zoom level",ITERATEZOOM:"Toggle zoom level",ROTATECCW:"Rotate counterclockwise",ROTATECW:"Rotate clockwise",FLIPX:"Flip horizontally",FLIPY:"Flip vertically",FITX:"Fit horizontally",FITY:"Fit vertically",RESET:"Reset",TOGGLEFS:"Toggle fullscreen"},_={content:null,width:"auto",height:"auto",panMode:"drag",touch:!0,dragMinThreshold:3,lockAxis:!1,mouseMoveFactor:1,mouseMoveFriction:.12,zoom:!0,pinchToZoom:!0,panOnlyZoomed:"auto",minScale:1,maxScale:2,friction:.25,dragFriction:.35,decelFriction:.05,click:"toggleZoom",dblClick:!1,wheel:"zoom",wheelLimit:7,spinner:!0,bounds:"auto",infinite:!1,rubberband:!0,bounce:!0,maxVelocity:75,transformParent:!1,classes:{content:"f-panzoom__content",isLoading:"is-loading",canZoomIn:"can-zoom_in",canZoomOut:"can-zoom_out",isDraggable:"is-draggable",isDragging:"is-dragging",inFullscreen:"in-fullscreen",htmlHasFullscreen:"with-panzoom-in-fullscreen"},l10n:E},O='<circle cx="25" cy="25" r="20"></circle>',T='<div class="f-spinner"><svg viewBox="0 0 50 50">'+O+O+"</svg></div>",x=e=>e&&null!==e&&e instanceof Element&&"nodeType"in e,S=(e,t)=>{e&&a(t).forEach(t=>{e.classList.remove(t)})},C=(e,t)=>{e&&a(t).forEach(t=>{e.classList.add(t)})},P={a:1,b:0,c:0,d:1,e:0,f:0},M=1e5,L=1e4,A="mousemove",j="drag",k="content",D="auto";let I=null,z=null;class R extends b{get fits(){return this.contentRect.width-this.contentRect.fitWidth<1&&this.contentRect.height-this.contentRect.fitHeight<1}get isTouchDevice(){return null===z&&(z=window.matchMedia("(hover: none)").matches),z}get isMobile(){return null===I&&(I=/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)),I}get panMode(){return this.options.panMode!==A||this.isTouchDevice?j:A}get panOnlyZoomed(){const e=this.options.panOnlyZoomed;return e===D?this.isTouchDevice:e}get isInfinite(){return this.option("infinite")}get angle(){return 180*Math.atan2(this.current.b,this.current.a)/Math.PI||0}get targetAngle(){return 180*Math.atan2(this.target.b,this.target.a)/Math.PI||0}get scale(){const{a:e,b:t}=this.current;return Math.sqrt(e*e+t*t)||1}get targetScale(){const{a:e,b:t}=this.target;return Math.sqrt(e*e+t*t)||1}get minScale(){return this.option("minScale")||1}get fullScale(){const{contentRect:e}=this;return e.fullWidth/e.fitWidth||1}get maxScale(){return this.fullScale*(this.option("maxScale")||1)||1}get coverScale(){const{containerRect:e,contentRect:t}=this,i=Math.max(e.height/t.fitHeight,e.width/t.fitWidth)||1;return Math.min(this.fullScale,i)}get isScaling(){return Math.abs(this.targetScale-this.scale)>1e-5&&!this.isResting}get isContentLoading(){const e=this.content;return!!(e&&e instanceof HTMLImageElement)&&!e.complete}get isResting(){if(this.isBouncingX||this.isBouncingY)return!1;for(const e of w){const t="e"==e||"f"===e?1e-4:1e-5;
17if(Math.abs(this.target[e]-this.current[e])>t)return!1}return!(!this.ignoreBounds&&!this.checkBounds().inBounds)}constructor(e,t={},i={}){var n;if(super(t),Object.defineProperty(this,"pointerTracker",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"resizeObserver",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"updateTimer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"clickTimer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"rAF",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"isTicking",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"ignoreBounds",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"isBouncingX",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"isBouncingY",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"clicks",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"trackingPoints",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"pwt",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"cwd",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"pmme",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"friction",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:y.Init}),Object.defineProperty(this,"isDragging",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"content",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"spinner",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"containerRect",{enumerable:!0,configurable:!0,writable:!0,value:{width:0,height:0,innerWidth:0,innerHeight:0}}),Object.defineProperty(this,"contentRect",{enumerable:!0,configurable:!0,writable:!0,value:{top:0,right:0,bottom:0,left:0,fullWidth:0,fullHeight:0,fitWidth:0,fitHeight:0,width:0,height:0}}),Object.defineProperty(this,"dragStart",{enumerable:!0,configurable:!0,writable:!0,value:{x:0,y:0,top:0,left:0,time:0}}),Object.defineProperty(this,"dragOffset",{enumerable:!0,configurable:!0,writable:!0,value:{x:0,y:0,time:0}}),Object.defineProperty(this,"current",{enumerable:!0,configurable:!0,writable:!0,value:Object.assign({},P)}),Object.defineProperty(this,"target",{enumerable:!0,configurable:!0,writable:!0,value:Object.assign({},P)}),Object.defineProperty(this,"velocity",{enumerable:!0,configurable:!0,writable:!0,value:{a:0,b:0,c:0,d:0,e:0,f:0}}),Object.defineProperty(this,"lockedAxis",{enumerable:!0,configurable:!0,writable:!0,value:!1}),!e)throw new Error("Container Element Not Found");this.container=e,this.initContent(),this.attachPlugins(Object.assign(Object.assign({},R.Plugins),i)),this.emit("attachPlugins"),this.emit("init");const s=this.content;if(s.addEventListener("load",this.onLoad),s.addEventListener("error",this.onError),this.isContentLoading){if(this.option("spinner")){e.classList.add(this.cn("isLoading"));const t=r(T);!e.contains(s)||s.parentElement instanceof HTMLPictureElement?this.spinner=e.appendChild(t):this.spinner=(null===(n=s.parentElement)||void 0===n?void 0:n.insertBefore(t,s))||null}this.emit("beforeLoad")}else queueMicrotask(()=>{this.enable()})}initContent(){const{container:e}=this,t=this.cn(k);let i=this.option(k)||e.querySelector(`.${t}`);if(i||(i=e.querySelector("img,picture")||e.firstElementChild)&&C(i,t),i instanceof HTMLPictureElement&&(i=i.querySelector("img")),!i)throw new Error("No content found");this.content=i}onLoad(){const{spinner:e,container:t,state:i}=this;e&&(e.remove(),this.spinner=null),this.option("spinner")&&t.classList.remove(this.cn("isLoading")),this.emit
17("afterLoad"),i===y.Init?this.enable():this.updateMetrics()}onError(){this.state!==y.Destroy&&(this.spinner&&(this.spinner.remove(),this.spinner=null),this.stop(),this.detachEvents(),this.state=y.Error,this.emit("error"))}getNextScale(e){const{fullScale:t,targetScale:i,coverScale:n,maxScale:s,minScale:o}=this;let r=o;switch(e){case"toggleMax":r=i-o<.5*(s-o)?s:o;break;case"toggleCover":r=i-o<.5*(n-o)?n:o;break;case"toggleZoom":r=i-o<.5*(t-o)?t:o;break;case"iterateZoom":let e=[1,t,s].sort((e,t)=>e-t);r=e[e.findIndex(e=>e>i+1e-5)]||1}return r}attachObserver(){var e;const t=()=>{const{container:e,containerRect:t}=this;return Math.abs(t.width-e.getBoundingClientRect().width)>.1||Math.abs(t.height-e.getBoundingClientRect().height)>.1};this.resizeObserver||void 0===window.ResizeObserver||(this.resizeObserver=new ResizeObserver(()=>{this.updateTimer||(t()?(this.onResize(),this.isMobile&&(this.updateTimer=setTimeout(()=>{t()&&this.onResize(),this.updateTimer=null},500))):this.updateTimer&&(clearTimeout(this.updateTimer),this.updateTimer=null))})),null===(e=this.resizeObserver)||void 0===e||e.observe(this.container)}detachObserver(){var e;null===(e=this.resizeObserver)||void 0===e||e.disconnect()}attachEvents(){const{container:e}=this;e.addEventListener("click",this.onClick,{passive:!1,capture:!1}),e.addEventListener("wheel",this.onWheel,{passive:!1}),this.pointerTracker=new u(e,{start:this.onPointerDown,move:this.onPointerMove,end:this.onPointerUp}),document.addEventListener(A,this.onMouseMove)}detachEvents(){var e;const{container:t}=this;t.removeEventListener("click",this.onClick,{passive:!1,capture:!1}),t.removeEventListener("wheel",this.onWheel,{passive:!1}),null===(e=this.pointerTracker)||void 0===e||e.stop(),this.pointerTracker=null,document.removeEventListener(A,this.onMouseMove),document.removeEventListener("keydown",this.onKeydown,!0),this.clickTimer&&(clearTimeout(this.clickTimer),this.clickTimer=null),this.updateTimer&&(clearTimeout(this.updateTimer),this.updateTimer=null)}animate(){this.setTargetForce();const e=this.friction,t=this.option("maxVelocity");for(const i of w)e?(this.velocity[i]*=1-e,t&&!this.isScaling&&(this.velocity[i]=Math.max(Math.min(this.velocity[i],t),-1*t)),this.current[i]+=this.velocity[i]):this.current[i]=this.target[i];this.setTransform(),this.setEdgeForce(),!this.isResting||this.isDragging?this.rAF=requestAnimationFrame(()=>this.animate()):this.stop("current")}setTargetForce(){for(const e of w)"e"===e&&this.isBouncingX||"f"===e&&this.isBouncingY||(this.velocity[e]=(1/(1-this.friction)-1)*(this.target[e]-this.current[e]))}checkBounds(e=0,t=0){const{current:i}=this,n=i.e+e,s=i.f+t,o=this.getBounds(),{x:r,y:a}=o,l=r.min,c=r.max,d=a.min,u=a.max;let h=0,p=0;return l!==1/0&&n<l?h=l-n:c!==1/0&&n>c&&(h=c-n),d!==1/0&&s<d?p=d-s:u!==1/0&&s>u&&(p=u-s),Math.abs(h)<1e-4&&(h=0),Math.abs(p)<1e-4&&(p=0),Object.assign(Object.assign({},o),{xDiff:h,yDiff:p,inBounds:!h&&!p})}clampTargetBounds(){const{target:e}=this,{x:t,y:i}=this.getBounds();t.min!==1/0&&(e.e=Math.max(e.e,t.min)),t.max!==1/0&&(e.e=Math.min(e.e,t.max)),i.min!==1/0&&(e.f=Math.max(e.f,i.min)),i.max!==1/0&&(e.f=Math.min(e.f,i.max))}calculateContentDim(e=this.current){const{content:t,contentRect:i}=this,{fitWidth:n,fitHeight:s,fullWidth:o,fullHeight:r}=i;let a=o,l=r;if(this.option("zoom")||0!==this.angle){const i=!(t instanceof HTMLImageElement||"none"!==window.getComputedStyle(t).maxWidth&&"none"!==window.getComputedStyle(t).maxHeight),c=i?o:n,d=i?r:s,u=this.getMatrix(e),h=new DOMPoint(0,0).matrixTransform(u),p=new DOMPoint(0+c,0).matrixTransform(u),f=new DOMPoint(0+c,0+d).matrixTransform(u),m=new DOMPoint(0,0+d).matrixTransform(u),g=Math.abs(f.x-h.x),v=Math.abs(f.y-h.y),b=Math.abs(m.x-p.x),y=Math.abs(m.y-p.y);a=Math.max(g,b),l=Math.max(v,y)}return{contentWidth:a,contentHeight:l}}setEdgeForce(){if(this.ignoreBounds||this.isDragging||this.panMode===A||this.targetScale<this.scale)return this.isBouncingX=!1,void(this.isBouncingY=!1);const{target:e}=this,{x:t,y:i,xDiff:n,yDiff:s}=this.checkBounds(),o=this.option("maxVelocity");let r=this.velocity.e,a=this.velocity.f;0!==n?(this.isBouncingX=!0,n*r<=0?r+=.14*n:(r=.14*n,t.min!==1/0&&(this.target.e=Math.max(e.e,t.min)),t.max!==1/0&&(this.target.e=Math.min(e.e,t.max))),o&&(r=Math.max(Math.min(r,o),-1*o))):this.isBouncingX=!1,0!==s?(this.isBouncingY=!0,s*a<=0?a+=.14*s:(a=.14*s,i.min!==1/0&&(this.target.f=Math.max(e.f,i.min)),i.max!==1/0&&(this.target.f=Math.min(e.f,i.max))),o&&(a=Math.max(Math.min(a,o),-1*o))):this.isBouncingY=!1,this.isBouncingX&&(this.velocity.e=r),this.isBouncingY&&(this.velocity.f=a)}enable(){const{content:e}=this,t=new DOMMatrixReadOnly(window.getComputedStyle(e).transform);for(const e of w)this.current[e]=this.target[e]=t[e];this.updateMetrics(),this.attachObserver(),this.attachEvents(),this.state=y.Ready,this.emit
17("ready")}onClick(e){var t;"click"===e.type&&0===e.detail&&(this.dragOffset.x=0,this.dragOffset.y=0),this.isDragging&&(null===(t=this.pointerTracker)||void 0===t||t.clear(),this.trackingPoints=[],this.startDecelAnim());const i=e.target;if(!i||e.defaultPrevented)return;if(i.hasAttribute("disabled"))return e.preventDefault(),void e.stopPropagation();if((()=>{const e=window.getSelection();return e&&"Range"===e.type})()&&!i.closest("button"))return;const n=i.closest("[data-panzoom-action]"),s=i.closest("[data-panzoom-change]"),o=n||s,r=o&&x(o)?o.dataset:null;if(r){const t=r.panzoomChange,i=r.panzoomAction;if((t||i)&&e.preventDefault(),t){let i={};try{i=JSON.parse(t)}catch(e){console}return void this.applyChange(i)}if(i)return void(this[i]&&this[i]())}if(Math.abs(this.dragOffset.x)>3||Math.abs(this.dragOffset.y)>3)return e.preventDefault(),void e.stopPropagation();if(i.closest("[data-fancybox]"))return;const a=this.content.getBoundingClientRect(),l=this.dragStart;if(l.time&&!this.canZoomOut()&&(Math.abs(a.x-l.x)>2||Math.abs(a.y-l.y)>2))return;this.dragStart.time=0;const c=t=>{this.option("zoom",e)&&t&&"string"==typeof t&&/(iterateZoom)|(toggle(Zoom|Full|Cover|Max)|(zoomTo(Fit|Cover|Max)))/.test(t)&&"function"==typeof this[t]&&(e.preventDefault(),this[t]({event:e}))},d=this.option("click",e),u=this.option("dblClick",e);u?(this.clicks++,1==this.clicks&&(this.clickTimer=setTimeout(()=>{1===this.clicks?(this.emit("click",e),!e.defaultPrevented&&d&&c(d)):(this.emit("dblClick",e),e.defaultPrevented||c(u)),this.clicks=0,this.clickTimer=null},350))):(this.emit("click",e),!e.defaultPrevented&&d&&c(d))}addTrackingPoint(e){const t=this.trackingPoints.filter(e=>e.time>Date.now()-100);t.push(e),this.trackingPoints=t}onPointerDown(e,t,i){var n;if(!1===this.option("touch",e))return!1;this.pwt=0,this.dragOffset={x:0,y:0,time:0},this.trackingPoints=[];const s=this.content.getBoundingClientRect();if(this.dragStart={x:s.x,y:s.y,top:s.top,left:s.left,time:Date.now()},this.clickTimer)return!1;if(this.panMode===A&&this.targetScale>1)return e.preventDefault(),e.stopPropagation(),!1;const o=e.composedPath()[0];if(!i.length){if(["TEXTAREA","OPTION","INPUT","SELECT","VIDEO","IFRAME"].includes(o.nodeName)||o.closest("[contenteditable],[data-selectable],[data-draggable],[data-clickable],[data-panzoom-change],[data-panzoom-action]"))return!1;null===(n=window.getSelection())||void 0===n||n.removeAllRanges()}if("mousedown"===e.type)["A","BUTTON"].includes(o.nodeName)||e.preventDefault();else if(Math.abs(this.velocity.a)>.3)return!1;return this.target.e=this.current.e,this.target.f=this.current.f,this.stop(),this.isDragging||(this.isDragging=!0,this.addTrackingPoint(t),this.emit("touchStart",e)),!0}onPointerMove(e,t,i){if(!1===this.option("touch",e))return;if(!this.isDragging)return;if(t.length<2&&this.panOnlyZoomed&&n(this.targetScale)<=n(this.minScale))return;if(this.emit("touchMove",e),e.defaultPrevented)return;this.addTrackingPoint(t[0]);const{content:s}=this,r=p(i[0],i[1]),a=p(t[0],t[1]);let l=0,c=0;if(t.length>1){const e=s.getBoundingClientRect();l=r.clientX-e.left-.5*e.width,c=r.clientY-e.top-.5*e.height}const d=h(i[0],i[1]),u=h(t[0],t[1]);let f=d?u/d:1,m=a.clientX-r.clientX,g=a.clientY-r.clientY;this.dragOffset.x+=m,this.dragOffset.y+=g,this.dragOffset.time=Date.now()-this.dragStart.time;let v=n(this.targetScale)===n(this.minScale)&&this.option("lockAxis");if(v&&!this.lockedAxis)if("xy"===v||"y"===v||"touchmove"===e.type){if(Math.abs(this.dragOffset.x)<6&&Math.abs(this.dragOffset.y)<6)return void e.preventDefault();const t=Math.abs(180*Math.atan2(this.dragOffset.y,this.dragOffset.x)/Math.PI);this.lockedAxis=t>45&&t<135?"y":"x",this.dragOffset.x=0,this.dragOffset.y=0,m=0,g=0}else this.lockedAxis=v;if(o(e.target,this.content)&&(v="x",this.dragOffset.y=0),v&&"xy"!==v&&this.lockedAxis!==v&&n(this.targetScale)===n(this.minScale))return;e.cancelable&&e.preventDefault(),this.container.classList.add(this.cn("isDragging"));const b=this.checkBounds(m,g);this.option("rubberband")?("x"!==this.isInfinite&&(b.xDiff>0&&m<0||b.xDiff<0&&m>0)&&(m*=Math.max(0,.5-Math.abs(.75/this.contentRect.fitWidth*b.xDiff))),"y"!==this.isInfinite&&(b.yDiff>0&&g<0||b.yDiff<0&&g>0)&&(g*=Math.max(0,.5-Math.abs(.75/this.contentRect.fitHeight*b.yDiff)))):(b.xDiff&&(m=0),b.yDiff&&(g=0));const y=this.targetScale,w=this.minScale,E=this.maxScale;y<.5*w&&(f=Math.max(f,w)),y>1.5*E&&(f=Math.min(f,E)),"y"===this.lockedAxis&&n(y)===n(w)&&(m=0),"x"===this.lockedAxis&&n(y)===n(w)&&(g=0),this.applyChange({originX:l,originY:c,panX:m,panY:g,scale:f,friction:this.option("dragFriction"),ignoreBounds:!0})}onPointerUp(e,t,i){if(i.length)return this.dragOffset.x=0,this.dragOffset.y=0,void(this.trackingPoints=[]);this.container.classList.remove(this.cn("isDragging")),this.isDragging&&(this.addTrackingPoint(t),this.panOnlyZoomed&&this.contentRect.width-this.contentRect.fitWidth<1&&this.contentRect.height-this.contentRect.fitHeight<1&&(this.trackingPoints=[]),o(e.target,this.content)&&"y"===this.lockedAxis&&(this.trackingPoints=[]),this.emit
17("touchEnd",e),this.isDragging=!1,this.lockedAxis=!1,this.state!==y.Destroy&&(e.defaultPrevented||this.startDecelAnim()))}startDecelAnim(){var e;const t=this.isScaling;this.rAF&&(cancelAnimationFrame(this.rAF),this.rAF=null),this.isBouncingX=!1,this.isBouncingY=!1;for(const e of w)this.velocity[e]=0;this.target.e=this.current.e,this.target.f=this.current.f,S(this.container,"is-scaling"),S(this.container,"is-animating"),this.isTicking=!1;const{trackingPoints:i}=this,s=i[0],o=i[i.length-1];let r=0,a=0,l=0;o&&s&&(r=o.clientX-s.clientX,a=o.clientY-s.clientY,l=o.time-s.time);const c=(null===(e=window.visualViewport)||void 0===e?void 0:e.scale)||1;1!==c&&(r*=c,a*=c);let d=0,u=0,h=0,p=0,f=this.option("decelFriction");const m=this.targetScale;if(l>0){h=Math.abs(r)>3?r/(l/30):0,p=Math.abs(a)>3?a/(l/30):0;const e=this.option("maxVelocity");e&&(h=Math.max(Math.min(h,e),-1*e),p=Math.max(Math.min(p,e),-1*e))}h&&(d=h/(1/(1-f)-1)),p&&(u=p/(1/(1-f)-1)),("y"===this.option("lockAxis")||"xy"===this.option("lockAxis")&&"y"===this.lockedAxis&&n(m)===this.minScale)&&(d=h=0),("x"===this.option("lockAxis")||"xy"===this.option("lockAxis")&&"x"===this.lockedAxis&&n(m)===this.minScale)&&(u=p=0);const g=this.dragOffset.x,v=this.dragOffset.y,b=this.option("dragMinThreshold")||0;Math.abs(g)<b&&Math.abs(v)<b&&(d=u=0,h=p=0),(this.option("zoom")&&(m<this.minScale-1e-5||m>this.maxScale+1e-5)||t&&!d&&!u)&&(f=.35),this.applyChange({panX:d,panY:u,friction:f}),this.emit("decel",h,p,g,v)}onWheel(e){var t=[-e.deltaX||0,-e.deltaY||0,-e.detail||0].reduce(function(e,t){return Math.abs(t)>Math.abs(e)?t:e});const i=Math.max(-1,Math.min(1,t));if(this.emit("wheel",e,i),this.panMode===A)return;if(e.defaultPrevented)return;const n=this.option("wheel");"pan"===n?(e.preventDefault(),this.panOnlyZoomed&&!this.canZoomOut()||this.applyChange({panX:2*-e.deltaX,panY:2*-e.deltaY,bounce:!1})):"zoom"===n&&!1!==this.option("zoom")&&this.zoomWithWheel(e)}onMouseMove(e){this.panWithMouse(e)}onKeydown(e){"Escape"===e.key&&this.toggleFS()}onResize(){this.updateMetrics(),this.checkBounds().inBounds||this.requestTick()}setTransform(){this.emit("beforeTransform");const{current:e,target:t,content:i,contentRect:s}=this,o=Object.assign({},P);for(const i of w){const s="e"==i||"f"===i?L:M;o[i]=n(e[i],s),Math.abs(t[i]-e[i])<("e"==i||"f"===i?.51:.001)&&(e[i]=t[i])}let{a:r,b:a,c:l,d:c,e:d,f:u}=o,h=`matrix(${r}, ${a}, ${l}, ${c}, ${d}, ${u})`,p=i.parentElement instanceof HTMLPictureElement?i.parentElement:i;if(this.option("transformParent")&&(p=p.parentElement||p),p.style.transform===h)return;p.style.transform=h;const{contentWidth:f,contentHeight:m}=this.calculateContentDim();s.width=f,s.height=m,this.emit("afterTransform")}updateMetrics(e=!1){var t;if(!this||this.state===y.Destroy)return;if(this.isContentLoading)return;const i=Math.max(1,(null===(t=window.visualViewport)||void 0===t?void 0:t.scale)||1),{container:s,content:o}=this,r=o instanceof HTMLImageElement,a=s.getBoundingClientRect(),l=getComputedStyle(this.container);let c=a.width*i,d=a.height*i;const u=parseFloat(l.paddingTop)+parseFloat(l.paddingBottom),h=c-(parseFloat(l.paddingLeft)+parseFloat(l.paddingRight)),p=d-u;this.containerRect={width:c,height:d,innerWidth:h,innerHeight:p};const f=parseFloat(o.dataset.width||"")||(e=>{let t=0;return(t=e instanceof HTMLImageElement?e.naturalWidth:e instanceof SVGElement?e.width.baseVal.value:Math.max(e.offsetWidth,e.scrollWidth))||0})(o),m=parseFloat(o.dataset.height||"")||(e=>{let t=0;return(t=e instanceof HTMLImageElement?e.naturalHeight:e instanceof SVGElement?e.height.baseVal.value:Math.max(e.offsetHeight,e.scrollHeight))||0})(o);let g=this.option("width",f)||D,v=this.option("height",m)||D;const b=g===D,w=v===D;"number"!=typeof g&&(g=f),"number"!=typeof v&&(v=m),b&&(g=f*(v/m)),w&&(v=m/(f/g));let E=o.parentElement instanceof HTMLPictureElement?o.parentElement:o;this.option("transformParent")&&(E=E.parentElement||E);const _=E.getAttribute("style")||"";E.style.setProperty("transform","none","important"),r&&(E.style.width="",E.style.height=""),E.offsetHeight;const O=o.getBoundingClientRect();
17let T=O.width*i,x=O.height*i,S=T,C=x;T=Math.min(T,g),x=Math.min(x,v),r?({width:T,height:x}=((e,t,i,n)=>{const s=T/e,o=x/t,r=Math.min(s,o);return{width:e*=r,height:t*=r}})(g,v)):(T=Math.min(T,g),x=Math.min(x,v));let P=.5*(C-x),M=.5*(S-T);this.contentRect=Object.assign(Object.assign({},this.contentRect),{top:O.top-a.top+P,bottom:a.bottom-O.bottom+P,left:O.left-a.left+M,right:a.right-O.right+M,fitWidth:T,fitHeight:x,width:T,height:x,fullWidth:g,fullHeight:v}),E.style.cssText=_,r&&(E.style.width=`${T}px`,E.style.height=`${x}px`),this.setTransform(),!0!==e&&this.emit("refresh"),this.ignoreBounds||(n(this.targetScale)<n(this.minScale)?this.zoomTo(this.minScale,{friction:0}):this.targetScale>this.maxScale?this.zoomTo(this.maxScale,{friction:0}):this.state===y.Init||this.checkBounds().inBounds||this.requestTick()),this.updateControls()}calculateBounds(){const{contentWidth:e,contentHeight:t}=this.calculateContentDim(this.target),{targetScale:i,lockedAxis:s}=this,{fitWidth:o,fitHeight:r}=this.contentRect;let a=0,l=0,c=0,d=0;const u=this.option("infinite");if(!0===u||s&&u===s)a=-1/0,c=1/0,l=-1/0,d=1/0;else{let{containerRect:s,contentRect:u}=this,h=n(o*i,L),p=n(r*i,L),{innerWidth:f,innerHeight:m}=s;if(s.width===h&&(f=s.width),s.width===p&&(m=s.height),e>f){a=-1*(c=.5*(e-f));let t=.5*(u.right-u.left);a+=t,c+=t}if(o>f&&e<f&&(a-=.5*(o-f),c-=.5*(o-f)),t>m){l=-1*(d=.5*(t-m));let e=.5*(u.bottom-u.top);l+=e,d+=e}r>m&&t<m&&(a-=.5*(r-m),c-=.5*(r-m))}return{x:{min:a,max:c},y:{min:l,max:d}}}getBounds(){const e=this.option("bounds");return e!==D?e:this.calculateBounds()}updateControls(){const e=this,t=e.container,{panMode:i,contentRect:s,targetScale:o,minScale:r}=e;let a=r,c=e.option("click")||!1;c&&(a=e.getNextScale(c));let d=e.canZoomIn(),u=e.canZoomOut(),h=i===j&&!!this.option("touch"),p=u&&h;if(h&&(n(o)<n(r)&&!this.panOnlyZoomed&&(p=!0),(n(s.width,1)>n(s.fitWidth,1)||n(s.height,1)>n(s.fitHeight,1))&&(p=!0)),n(s.width*o,1)<n(s.fitWidth,1)&&(p=!1),i===A&&(p=!1),l(t,this.cn("isDraggable"),p),!this.option("zoom"))return;let f=d&&n(a)>n(o),m=!f&&!p&&u&&n(a)<n(o);l(t,this.cn("canZoomIn"),f),l(t,this.cn("canZoomOut"),m);for(const e of t.querySelectorAll("[data-panzoom-action]")){let t=!1,i=!1;switch(e.dataset.panzoomAction){case"zoomIn":d?t=!0:i=!0;break;case"zoomOut":u?t=!0:i=!0;break;case"toggleZoom":case"iterateZoom":d||u?t=!0:i=!0;const n=e.querySelector("g");n&&(n.style.display=d?"":"none")}t?(e.removeAttribute("disabled"),e.removeAttribute("tabindex")):i&&(e.setAttribute("disabled",""),e.setAttribute("tabindex","-1"))}}panTo({x:e=this.target.e,y:t=this.target.f,scale:i=this.targetScale,friction:n=this.option("friction"),angle:s=0,originX:o=0,originY:r=0,flipX:a=!1,flipY:l=!1,ignoreBounds:c=!1}){this.state!==y.Destroy&&this.applyChange({panX:e-this.target.e,panY:t-this.target.f,scale:i/this.targetScale,angle:s,originX:o,originY:r,friction:n,flipX:a,flipY:l,ignoreBounds:c})}applyChange({panX:e=0,panY:t=0,scale:i=1,angle:s=0,originX:o=-this.current.e,originY:r=-this.current.f,friction:a=this.option("friction"),flipX:l=!1,flipY:c=!1,ignoreBounds:d=!1,bounce:u=this.option("bounce")}){const h=this.state;if(h===y.Destroy)return;this.rAF&&(cancelAnimationFrame(this.rAF),this.rAF=null),this.friction=a||0,this.ignoreBounds=d;const{current:p}=this,f=p.e,m=p.f,g=this.getMatrix(this.target);let v=(new DOMMatrix).translate(f,m).translate(o,r).translate(e,t);if(this.option("zoom")){if(!d){const e=this.targetScale,t=this.minScale,n=this.maxScale;e*i<t&&(i=t/e),e*i>n&&(i=n/e)}v=v.scale(i)}v=v.translate(-o,-r).translate(-f,-m).multiply(g),s&&(v=v.rotate(s)),l&&(v=v.scale(-1,1)),c&&(v=v.scale(1,-1));for(const e of w)"e"!==e&&"f"!==e&&(v[e]>this.minScale+1e-5||v[e]<this.minScale-1e-5)?this.target[e]=v[e]:this.target[e]=n(v[e],L);(this.targetScale<this.scale||Math.abs(i-1)>.1||this.panMode===A||!1===u)&&!d&&this.clampTargetBounds(),h===y.Init?this.animate():this.isResting||(this.state=y.Panning,this.requestTick())}stop(e=!1){if(this.state===y.Init||this.state===y.Destroy)return;const t=this.isTicking;this.rAF&&(cancelAnimationFrame(this.rAF),this.rAF=null),this.isBouncingX=!1,this.isBouncingY=!1;for(const t of w)this.velocity[t]=0,"current"===e?this.current[t]=this.target[t]:"target"===e&&(this.target[t]=this.current[t]);this.setTransform(),S(this.container,"is-scaling"),S(this.container,"is-animating"),this.isTicking=!1,this.state=y.Ready,t&&(this.emit
17("endAnimation"),this.updateControls())}requestTick(){this.isTicking||(this.emit("startAnimation"),this.updateControls(),C(this.container,"is-animating"),this.isScaling&&C(this.container,"is-scaling")),this.isTicking=!0,this.rAF||(this.rAF=requestAnimationFrame(()=>this.animate()))}panWithMouse(e,t=this.option("mouseMoveFriction")){if(this.pmme=e,this.panMode!==A||!e)return;if(n(this.targetScale)<=n(this.minScale))return;this.emit("mouseMove",e);const{container:i,containerRect:s,contentRect:o}=this,r=s.width,a=s.height,l=i.getBoundingClientRect(),c=(e.clientX||0)-l.left,d=(e.clientY||0)-l.top;let{contentWidth:u,contentHeight:h}=this.calculateContentDim(this.target);const p=this.option("mouseMoveFactor");p>1&&(u!==r&&(u*=p),h!==a&&(h*=p));let f=.5*(u-r)-c/r*100/100*(u-r);f+=.5*(o.right-o.left);let m=.5*(h-a)-d/a*100/100*(h-a);m+=.5*(o.bottom-o.top),this.applyChange({panX:f-this.target.e,panY:m-this.target.f,friction:t})}zoomWithWheel(e){if(this.state===y.Destroy||this.state===y.Init)return;const t=Date.now();if(t-this.pwt<45)return void e.preventDefault();this.pwt=t;var i=[-e.deltaX||0,-e.deltaY||0,-e.detail||0].reduce(function(e,t){return Math.abs(t)>Math.abs(e)?t:e});const s=Math.max(-1,Math.min(1,i)),{targetScale:o,maxScale:r,minScale:a}=this;let l=o*(100+45*s)/100;n(l)<n(a)&&n(o)<=n(a)?(this.cwd+=Math.abs(s),l=a):n(l)>n(r)&&n(o)>=n(r)?(this.cwd+=Math.abs(s),l=r):(this.cwd=0,l=Math.max(Math.min(l,r),a)),this.cwd>this.option("wheelLimit")||(e.preventDefault(),n(l)!==n(o)&&this.zoomTo(l,{event:e}))}canZoomIn(){return this.option("zoom")&&(n(this.contentRect.width,1)<n(this.contentRect.fitWidth,1)||n(this.targetScale)<n(this.maxScale))}canZoomOut(){return this.option("zoom")&&n(this.targetScale)>n(this.minScale)}zoomIn(e=1.25,t){this.zoomTo(this.targetScale*e,t)}zoomOut(e=.8,t){this.zoomTo(this.targetScale*e,t)}zoomToFit(e){this.zoomTo("fit",e)}zoomToCover(e){this.zoomTo("cover",e)}zoomToFull(e){this.zoomTo("full",e)}zoomToMax(e){this.zoomTo("max",e)}toggleZoom(e){this.zoomTo(this.getNextScale("toggleZoom"),e)}toggleMax(e){this.zoomTo(this.getNextScale("toggleMax"),e)}toggleCover(e){this.zoomTo(this.getNextScale("toggleCover"),e)}iterateZoom(e){this.zoomTo("next",e)}zoomTo(e=1,{friction:t=D,originX:i=D,originY:n=D,event:s}={}){if(this.isContentLoading||this.state===y.Destroy)return;const{targetScale:o,fullScale:r,maxScale:a,coverScale:l}=this;if(this.stop(),this.panMode===A&&(s=this.pmme||s),s||i===D||n===D){const e=this.content.getBoundingClientRect(),t=this.container.getBoundingClientRect(),o=s?s.clientX:t.left+.5*t.width,r=s?s.clientY:t.top+.5*t.height;i=o-e.left-.5*e.width,n=r-e.top-.5*e.height}let c=1;"number"==typeof e?c=e:"full"===e?c=r:"cover"===e?c=l:"max"===e?c=a:"fit"===e?c=1:"next"===e&&(c=this.getNextScale("iterateZoom")),c=c/o||1,t=t===D?c>1?.15:.25:t,this.applyChange({scale:c,originX:i,originY:n,friction:t}),s&&this.panMode===A&&this.panWithMouse(s,t)}rotateCCW(){this.applyChange({angle:-90})}rotateCW(){this.applyChange({angle:90})}flipX(){this.applyChange({flipX:!0})}flipY(){this.applyChange({flipY:!0})}fitX(){this.stop("target");const{containerRect:e,contentRect:t,target:i}=this;this.applyChange({panX:.5*e.width-(t.left+.5*t.fitWidth)-i.e,panY:.5*e.height-(t.top+.5*t.fitHeight)-i.f,scale:e.width/t.fitWidth/this.targetScale,originX:0,originY:0,ignoreBounds:!0})}fitY(){this.stop("target");const{containerRect:e,contentRect:t,target:i}=this;this.applyChange({panX:.5*e.width-(t.left+.5*t.fitWidth)-i.e,panY:.5*e.innerHeight-(t.top+.5*t.fitHeight)-i.f,scale:e.height/t.fitHeight/this.targetScale,originX:0,originY:0,ignoreBounds:!0})}toggleFS(){const{container:e}=this,t=this.cn("inFullscreen"),i=this.cn("htmlHasFullscreen");e.classList.toggle(t);const n=e.classList.contains(t);n?(document.documentElement.classList.add(i),document.addEventListener("keydown",this.onKeydown,!0)):(document.documentElement.classList.remove(i),document.removeEventListener("keydown",this.onKeydown,!0)),this.updateMetrics(),this.emit(n?"enterFS":"exitFS")}getMatrix(e=this.current){const{a:t,b:i,c:n,d:s,e:o,f:r}=e;return new DOMMatrix([t,i,n,s,o,r])}reset(e){if(this.state!==y.Init&&this.state!==y.Destroy){this.stop("current");for(const e of w)this.target[e]=P[e];this.target.a=this.minScale,this.target.d=this.minScale,this.clampTargetBounds(),this.isResting||(this.friction=void 0===e?this.option("friction"):e,this.state=y.Panning,this.requestTick())}}destroy(){this.stop(),this.state=y.Destroy,this.detachEvents(),this.detachObserver();const{container:e,content:t}=this,i=this.option("classes")||{};for(const t of Object.values(i))e.classList.remove(t+"");t&&(t.removeEventListener("load",this.onLoad),t.removeEventListener("error",this.onError)),this.detachPlugins()}}Object.defineProperty(R,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:_}),Object.defineProperty(R,"Plugins",{enumerable:!0,configurable:!0,writable:!0,value:{}});const N=function(e,t){let i=!0;return(...n)=>{i&&(i=!1,e(...n),setTimeout(()=>{i=!0},t))}},F=(e,t)=>{let i=[];
17return e.childNodes.forEach(e=>{e.nodeType!==Node.ELEMENT_NODE||t&&!e.matches(t)||i.push(e)}),i};var B;!function(e){e[e.Init=0]="Init",e[e.Ready=1]="Ready",e[e.Destroy=2]="Destroy"}(B||(B={}));const H=e=>{if("string"==typeof e||e instanceof HTMLElement)e={html:e};else{const t=e.thumb;void 0!==t&&("string"==typeof t&&(e.thumbSrc=t),t instanceof HTMLImageElement&&(e.thumbEl=t,e.thumbElSrc=t.src,e.thumbSrc=t.src),delete e.thumb)}return Object.assign({html:"",el:null,isDom:!1,class:"",customClass:"",index:-1,dim:0,gap:0,pos:0,transition:!1},e)},W=(e={})=>Object.assign({index:-1,slides:[],dim:0,pos:-1},e);class q extends v{constructor(e,t){super(t),Object.defineProperty(this,"instance",{enumerable:!0,configurable:!0,writable:!0,value:e})}attach(){}detach(){}}class $ extends q{constructor(){super(...arguments),Object.defineProperty(this,"isDynamic",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"list",{enumerable:!0,configurable:!0,writable:!0,value:null})}onRefresh(){this.refresh()}build(){let e=this.list;if(!e){e=document.createElement("ul"),C(e,this.cn("list")),e.setAttribute("role","tablist");const t=this.instance.container;t.appendChild(e),C(t,this.cn("hasDots")),this.list=e}return e}refresh(){var e;const t=this.instance.pages.length,i=Math.min(2,this.option("minCount")),n=Math.max(2e3,this.option("maxCount")),s=this.option("dynamicFrom");if(t<i||t>n)return void this.cleanup();const o="number"==typeof s&&t>5&&t>=s,r=!this.list||this.isDynamic!==o||this.list.children.length!==t;r&&this.cleanup();const a=this.build();if(l(a,this.cn("isDynamic"),!!o),r)for(let e=0;e<t;e++)a.append(this.createItem(e));let c,d=0;for(const t of[...a.children]){const i=d===this.instance.page;i&&(c=t),l(t,this.cn("isCurrent"),i),null===(e=t.children[0])||void 0===e||e.setAttribute("aria-selected",i?"true":"false");for(const e of["isBeforePrev","isPrev","isNext","isAfterNext"])S(t,this.cn(e));d++}if(c=c||a.firstChild,o&&c){const e=c.previousElementSibling,t=e&&e.previousElementSibling;C(e,this.cn("isPrev")),C(t,this.cn("isBeforePrev"));const i=c.nextElementSibling,n=i&&i.nextElementSibling;C(i,this.cn("isNext")),C(n,this.cn("isAfterNext"))}this.isDynamic=o}createItem(e=0){var t;const i=document.createElement("li");i.setAttribute("role","presentation");const n=r(this.instance.localize(this.option("dotTpl"),[["%d",e+1]]).replace(/\%i/g,e+""));return i.appendChild(n),null===(t=i.children[0])||void 0===t||t.setAttribute("role","tab"),i}cleanup(){this.list&&(this.list.remove(),this.list=null),this.isDynamic=!1,S(this.instance.container,this.cn("hasDots"))}attach(){this.instance.on(["refresh","change"],this.onRefresh)}detach(){this.instance.off(["refresh","change"],this.onRefresh),this.cleanup()}}Object.defineProperty($,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{classes:{list:"f-carousel__dots",isDynamic:"is-dynamic",hasDots:"has-dots",dot:"f-carousel__dot",isBeforePrev:"is-before-prev",isPrev:"is-prev",isCurrent:"is-current",isNext:"is-next",isAfterNext:"is-after-next"},dotTpl:'<button type="button" data-carousel-page="%i" aria-label="{{GOTO}}"><span class="f-carousel__dot" aria-hidden="true"></span></button>',dynamicFrom:11,maxCount:1/0,minCount:2}});const V="disabled",G="next",Y="prev";class X extends q{constructor(){super(...arguments),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"prev",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"next",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"isDom",{enumerable:!0,configurable:!0,writable:!0,value:!1})}onRefresh(){const e=this.instance,t=e.pages.length,i=e.page;if(t<2)return void this.cleanup();this.build();let n=this.prev,s=this.next;n&&s&&(n.removeAttribute(V),s.removeAttribute(V),e.isInfinite||(i<=0&&n.setAttribute(V,""),i>=t-1&&s.setAttribute(V,"")))}addBtn(e){var t;const i=this.instance,n=document.createElement("button");n.setAttribute("tabindex","0"),n.setAttribute("title",i.localize(`{{${e.toUpperCase()}}}`)),C(n,this.cn("button")+" "+this.cn(e===G?"isNext":"isPrev"));const s=i.isRTL?e===G?Y:G:e;var o;return n.innerHTML=i.localize(this.option(`${s}Tpl`)),n.dataset[`carousel${o=e,o?o.match("^[a-z]")?o.charAt(0).toUpperCase()+o.substring(1):o:""}`]="true",null===(t=this.container)||void 0===t||t.appendChild(n),n}build(){const e=this.instance.container,t=this.cn("container");let{container:i,prev:n,next:s}=this;i||(i=e.querySelector("."+t),this.isDom=!!i),i||(i=document.createElement("div"),C(i,t),e.appendChild(i)),this.container=i,s||(s=i.querySelector("[data-carousel-next]")),s||(s=this.addBtn(G)),this.next=s,n||(n=i.querySelector("[data-carousel-prev]")),n||(n=this.addBtn(Y)),this.prev=n}cleanup(){this.isDom||(this.prev&&this.prev.remove(),this.next&&this.next.remove(),this.container&&this.container.remove()),this.prev=null,this.next=null,this.container=null,this.isDom=!1}attach(){this.instance.on(["refresh","change"],this.onRefresh)}detach(){this.instance.off(["refresh","change"],this.onRefresh),this.cleanup()}}Object.defineProperty(X,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{classes:{container:"f-carousel__nav",button:"f-button",isNext:"is-next",isPrev:"is-prev"},nextTpl:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" tabindex="-1"><path d="M9 3l9 9-9 9"/></svg>
17',prevTpl:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" tabindex="-1"><path d="M15 3l-9 9 9 9"/></svg>'}});class U extends q{constructor(){super(...arguments),Object.defineProperty(this,"selectedIndex",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"target",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"nav",{enumerable:!0,configurable:!0,writable:!0,value:null})}addAsTargetFor(e){this.target=this.instance,this.nav=e,this.attachEvents()}addAsNavFor(e){this.nav=this.instance,this.target=e,this.attachEvents()}attachEvents(){const{nav:e,target:t}=this;e&&t&&(e.options.initialSlide=t.options.initialPage,e.state===B.Ready?this.onNavReady(e):e.on("ready",this.onNavReady),t.state===B.Ready?this.onTargetReady(t):t.on("ready",this.onTargetReady))}onNavReady(e){e.on("createSlide",this.onNavCreateSlide),e.on("Panzoom.click",this.onNavClick),e.on("Panzoom.touchEnd",this.onNavTouch),this.onTargetChange()}onTargetReady(e){e.on("change",this.onTargetChange),e.on("Panzoom.refresh",this.onTargetChange),this.onTargetChange()}onNavClick(e,t,i){this.onNavTouch(e,e.panzoom,i)}onNavTouch(e,t,i){var n,s;if(Math.abs(t.dragOffset.x)>3||Math.abs(t.dragOffset.y)>3)return;const o=i.target,{nav:r,target:a}=this;if(!r||!a||!o)return;const l=o.closest("[data-index]");if(i.stopPropagation(),i.preventDefault(),!l)return;const c=parseInt(l.dataset.index||"",10)||0,d=a.getPageForSlide(c),u=r.getPageForSlide(c);r.slideTo(u),a.slideTo(d,{friction:(null===(s=null===(n=this.nav)||void 0===n?void 0:n.plugins)||void 0===s?void 0:s.Sync.option("friction"))||0}),this.markSelectedSlide(c)}onNavCreateSlide(e,t){t.index===this.selectedIndex&&this.markSelectedSlide(t.index)}onTargetChange(){var e,t;const{target:i,nav:n}=this;if(!i||!n)return;if(n.state!==B.Ready||i.state!==B.Ready)return;const s=null===(t=null===(e=i.pages[i.page])||void 0===e?void 0:e.slides[0])||void 0===t?void 0:t.index,o=n.getPageForSlide(s);this.markSelectedSlide(s),n.slideTo(o,null===n.prevPage&&null===i.prevPage?{friction:0}:void 0)}markSelectedSlide(e){const t=this.nav;t&&t.state===B.Ready&&(this.selectedIndex=e,[...t.slides].map(t=>{t.el&&t.el.classList[t.index===e?"add":"remove"]("is-nav-selected")}))}attach(){const e=this;let t=e.options.target,i=e.options.nav;t?e.addAsNavFor(t):i&&e.addAsTargetFor(i)}detach(){const e=this,t=e.nav,i=e.target;t&&(t.off("ready",e.onNavReady),t.off("createSlide",e.onNavCreateSlide),t.off("Panzoom.click",e.onNavClick),t.off("Panzoom.touchEnd",e.onNavTouch)),e.nav=null,i&&(i.off("ready",e.onTargetReady),i.off("refresh",e.onTargetChange),i.off("change",e.onTargetChange)),e.target=null}}Object.defineProperty(U,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{friction:.35}});const K={Navigation:X,Dots:$,Sync:U},Z="animationend",Q="isSelected",J="slide";class ee extends b{get axis(){return this.isHorizontal?"e":"f"}get isEnabled(){return this.state===B.Ready}get isInfinite(){let e=!1;const{contentDim:t,viewportDim:i,pages:n,slides:s}=this,o=s[0];return n.length>=2&&o&&t+o.dim>=i&&(e=this.option("infinite")),e}get isRTL(){return"rtl"===this.option("direction")}get isHorizontal(){return"x"===this.option("axis")}constructor(e,t={},i={}){if(super(),Object.defineProperty(this,"bp",{enumerable:!0,configurable:!0,writable:!0,value:""}),Object.defineProperty(this,"lp",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"userOptions",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"userPlugins",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:B.Init}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"prevPage",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"viewport",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"track",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"slides",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"pages",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"panzoom",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"inTransition",{enumerable:!0,configurable:!0,writable:!0,value:new Set}),Object.defineProperty(this,"contentDim",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"viewportDim",{enumerable:!0,configurable:!0,writable:!0,value:0}),"string"==typeof e&&(e=document.querySelector(e)),!e||!x(e))throw new Error("No Element found");this.container=e,this.slideNext=N(this.slideNext.bind(this),150),this.slidePrev=N(this.slidePrev.bind(this),150),this.userOptions=t,this.userPlugins=i,queueMicrotask(()=>{this.processOptions()})}processOptions(){var e,t;const i=m({},ee.defaults,this.userOptions);let n="";const s=i.breakpoints;if(s&&f(s))for(const[e,t]of Object.entries(s))window.matchMedia(e).matches&&f(t)&&(n+=e,m(i,t));n===this.bp&&this.state!==B.Init||(this.bp=n,this.state===B.Ready&&(i.initialSlide=(null===(t=null===(e=this.pages[this.page])||void 0===e?void 0:e.slides[0])||void 0===t?void 0:t.index)||0),this.state!==B.Init&&this.destroy(),super.setOptions(i),!1===this.option("enabled")?this.attachEvents():setTimeout(()=>{this.init()},0))}
17init(){this.state=B.Init,this.emit("init"),this.attachPlugins(Object.assign(Object.assign({},ee.Plugins),this.userPlugins)),this.emit("attachPlugins"),this.initLayout(),this.initSlides(),this.updateMetrics(),this.setInitialPosition(),this.initPanzoom(),this.attachEvents(),this.state=B.Ready,this.emit("ready")}initLayout(){const{container:e}=this,t=this.option("classes");C(e,this.cn("container")),l(e,t.isLTR,!this.isRTL),l(e,t.isRTL,this.isRTL),l(e,t.isVertical,!this.isHorizontal),l(e,t.isHorizontal,this.isHorizontal);let i=this.option("viewport")||e.querySelector(`.${t.viewport}`);i||(i=document.createElement("div"),C(i,t.viewport),i.append(...F(e,`.${t.slide}`)),e.prepend(i)),i.addEventListener("scroll",this.onScroll);let n=this.option("track")||e.querySelector(`.${t.track}`);n||(n=document.createElement("div"),C(n,t.track),n.append(...Array.from(i.childNodes))),n.setAttribute("aria-live","polite"),i.contains(n)||i.prepend(n),this.viewport=i,this.track=n,this.emit("initLayout")}initSlides(){const{track:e}=this;if(!e)return;const t=[...this.slides],i=[];[...F(e,`.${this.cn(J)}`)].forEach(e=>{if(x(e)){const t=H({el:e,isDom:!0,index:this.slides.length});i.push(t)}});for(let e of[...this.option("slides",[])||[],...t])i.push(H(e));this.slides=i;for(let e=0;e<this.slides.length;e++)this.slides[e].index=e;
17for(const e of i)this.emit("beforeInitSlide",e,e.index),this.emit("initSlide",e,e.index);this.emit("initSlides")}setInitialPage(){const e=this.option("initialSlide");this.page="number"==typeof e?this.getPageForSlide(e):parseInt(this.option("initialPage",0)+"",10)||0}setInitialPosition(){const{track:e,pages:t,isHorizontal:i}=this;if(!e||!t.length)return;let n=this.page;t[n]||(this.page=n=0);const s=(t[n].pos||0)*(this.isRTL&&i?1:-1),o=i?`${s}px`:"0",r=i?"0":`${s}px`;e.style.transform=`translate3d(${o}, ${r}, 0) scale(1)`,this.option("adaptiveHeight")&&this.setViewportHeight()}initPanzoom(){this.panzoom&&(this.panzoom.destroy(),this.panzoom=null);const e=this.option("Panzoom")||{};this.panzoom=new R(this.viewport,m({},{content:this.track,zoom:!1,panOnlyZoomed:!1,lockAxis:this.isHorizontal?"x":"y",infinite:this.isInfinite,click:!1,dblClick:!1,touch:e=>!(this.pages.length<2&&!e.options.infinite),bounds:()=>this.getBounds(),maxVelocity:e=>Math.abs(e.target[this.axis]-e.current[this.axis])<2*this.viewportDim?100:0},e)),this.panzoom.on("*",(e,t,...i)=>{this.emit(`Panzoom.${t}`,e,...i)}),this.panzoom.on("decel",this.onDecel),this.panzoom.on("refresh",this.onRefresh),this.panzoom.on("beforeTransform",this.onBeforeTransform),this.panzoom.on("endAnimation",this.onEndAnimation)}attachEvents(){const e=this.container;e&&(e.addEventListener("click",this.onClick,{passive:!1,capture:!1}),e.addEventListener("slideTo",this.onSlideTo)),window.addEventListener("resize",this.onResize)}createPages(){let e=[];const{contentDim:t,viewportDim:i}=this;let n=this.option("slidesPerPage");n=("auto"===n||t<=i)&&!1!==this.option("fill")?1/0:parseFloat(n+"");let s=0,o=0,r=0;for(const t of this.slides)(!e.length||o+t.dim-i>.05||r>=n)&&(e.push(W()),s=e.length-1,o=0,r=0),e[s].slides.push(t),o+=t.dim+t.gap,r++;return e}processPages(){const e=this.pages,{contentDim:t,viewportDim:i,isInfinite:s}=this,o=this.option("center"),r=this.option("fill"),a=r&&o&&t>i&&!s;if(e.forEach((e,n)=>{var s;e.index=n,e.pos=(null===(s=e.slides[0])||void 0===s?void 0:s.pos)||0,e.dim=0;for(const[t,i]of e.slides.entries())e.dim+=i.dim,t<e.slides.length-1&&(e.dim+=i.gap);a&&e.pos+.5*e.dim<.5*i?e.pos=0:a&&e.pos+.5*e.dim>=t-.5*i?e.pos=t-i:o&&(e.pos+=-.5*(i-e.dim))}),e.forEach(e=>{r&&!s&&t>i&&(e.pos=Math.max(e.pos,0),e.pos=Math.min(e.pos,t-i)),e.pos=n(e.pos,1e3),e.dim=n(e.dim,1e3),Math.abs(e.pos)<=.1&&(e.pos=0)}),s)return e;const l=[];let c;return e.forEach(e=>{const t=Object.assign({},e);c&&t.pos===c.pos?(c.dim+=t.dim,c.slides=[...c.slides,...t.slides]):(t.index=l.length,c=t,l.push(t))}),l}getPageFromIndex(e=0){const t=this.pages.length;let i;return e=parseInt((e||0).toString())||0,i=this.isInfinite?(e%t+t)%t:Math.max(Math.min(e,t-1),0)}getSlideMetrics(e){var t,i;const s=this.isHorizontal?"width":"height";let o=0,r=0,a=e.el;const l=!(!a||a.parentNode);if(a?o=parseFloat(a.dataset[s]||"")||0:((a=document.createElement("div")).style.visibility="hidden",(this.track||document.body).prepend(a)),C(a,this.cn(J)+" "+e.class+" "+e.customClass),o)a.style[s]=`${o}px`,a.style["width"===s?"height":"width"]="";else{l&&(this.track||document.body).prepend(a),o=a.getBoundingClientRect()[s]*Math.max(1,(null===(t=window.visualViewport)||void 0===t?void 0:t.scale)||1);let e=a[this.isHorizontal?"offsetWidth":"offsetHeight"];e-1>o&&(o=e)}const c=getComputedStyle(a);return"content-box"===c.boxSizing&&(this.isHorizontal?(o+=parseFloat(c.paddingLeft)||0,o+=parseFloat(c.paddingRight)||0):(o+=parseFloat(c.paddingTop)||0,o+=parseFloat(c.paddingBottom)||0)),r=parseFloat(c[this.isHorizontal?"marginRight":"marginBottom"])||0,l?null===(i=a.parentElement)||void 0===i||i.removeChild(a):e.el||a.remove(),{dim:n(o,1e3),gap:n(r,1e3)}}getBounds(){const{isInfinite:e,isRTL:t,isHorizontal:i,pages:n}=this;let s={min:0,max:0};if(e)s={min:-1/0,max:1/0};else if(n.length){const e=n[0].pos,o=n[n.length-1].pos;s=t&&i?{min:e,max:o}:{min:-1*o,max:-1*e}}return{x:i?s:{min:0,max:0},y:i?{min:0,max:0}:s}}repositionSlides(){let e,{isHorizontal:t,isRTL:i,isInfinite:s,viewport:o,viewportDim:r,contentDim:a,page:l,pages:c,slides:d,panzoom:u}=this,h=0,p=0,f=0,m=0;u?m=-1*u.current[this.axis]:c[l]&&(m=c[l].pos||0),e=t?i?"right":"left":"top",i&&t&&(m*=-1);for(const t of d){const i=t.el;i?("top"===e?(i.style.right="",i.style.left=""):i.style.top="",t.index!==h?i.style[e]=0===p?"":`${n(p,1e3)}px`:i.style[e]="",f+=t.dim+t.gap,h++):p+=t.dim+t.gap}if(s&&f&&o){let i=getComputedStyle(o),s="padding",l=t?"Right":"Bottom",c=parseFloat(i[s+(t?"Left":"Top")]);m-=c,r+=c,r+=parseFloat(i[s+l]);for(const t of d)t.el&&(n(t.pos)<n(r)&&n(t.pos+t.dim+t.gap)<n(m)&&n(m)>n(a-r)&&(t.el.style[e]=`${n(p+f,1e3)}px`),n(t.pos+t.gap)>=n(a-r)&&n(t.pos)>n(m+r)&&n(m)<n(r)&&(t.el.style[e]=`-${n(f,1e3)}px`))}let g,v,b=[...this.inTransition];if(b.length>1&&(g=c[b[0]],v=c[b[1]]),g&&v){let t=0;for(const i of d)i.el?this.inTransition.has(i.index)&&g.slides.indexOf(i)<0&&(i.el.style[e]=`${n(t+(g.pos-v.pos),1e3)}px`):t+=i.dim+i.gap}}createSlideEl(e){const{track:t,slides:i}=this;if(!t||!e)return;if(e.el&&e.el.parentNode)return;const n=e.el||document.createElement("div");C(n,this.cn(J)),C(n,e.class),C(n,e.customClass);const s=e.html;s&&(s instanceof HTMLElement?n.appendChild(s):n.innerHTML=e.html+"");const o=[];
17i.forEach((e,t)=>{e.el&&o.push(t)});const r=e.index;let a=null;o.length&&(a=i[o.reduce((e,t)=>Math.abs(t-r)<Math.abs(e-r)?t:e)]);const l=a&&a.el&&a.el.parentNode?a.index<e.index?a.el.nextSibling:a.el:null;t.insertBefore(n,t.contains(l)?l:null),e.el=n,this.emit("createSlide",e)}removeSlideEl(e,t=!1){const i=null==e?void 0:e.el;if(!i||!i.parentNode)return;const n=this.cn(Q);if(i.classList.contains(n)&&(S(i,n),this.emit("unselectSlide",e)),e.isDom&&!t)return i.removeAttribute("aria-hidden"),i.removeAttribute("data-index"),void(i.style.left="");this.emit("removeSlide",e);const s=new CustomEvent(Z);i.dispatchEvent(s),e.el&&(e.el.remove(),e.el=null)}transitionTo(e=0,t=this.option("transition")){var i,n,s,o;if(!t)return!1;const r=this.page,{pages:a,panzoom:l}=this;e=parseInt((e||0).toString())||0;const c=this.getPageFromIndex(e);if(!l||!a[c]||a.length<2||Math.abs(((null===(n=null===(i=a[r])||void 0===i?void 0:i.slides[0])||void 0===n?void 0:n.dim)||0)-this.viewportDim)>1)return!1;let d=e>r?1:-1;this.isInfinite&&(0===r&&e===a.length-1&&(d=-1),r===a.length-1&&0===e&&(d=1));const u=a[c].pos*(this.isRTL?1:-1);if(r===c&&Math.abs(u-l.target[this.axis])<1)return!1;this.clearTransitions();const h=l.isResting;C(this.container,this.cn("inTransition"));const p=(null===(s=a[r])||void 0===s?void 0:s.slides[0])||null,f=(null===(o=a[c])||void 0===o?void 0:o.slides[0])||null;this.inTransition.add(f.index),this.createSlideEl(f);let m=p.el,g=f.el;h||t===J||(t="fadeFast",m=null);const v=this.isRTL?"next":"prev",b=this.isRTL?"prev":"next";return m&&(this.inTransition.add(p.index),p.transition=t,m.addEventListener(Z,this.onAnimationEnd),m.classList.add(`f-${t}Out`,`to-${d>0?b:v}`)),g&&(f.transition=t,g.addEventListener(Z,this.onAnimationEnd),g.classList.add(`f-${t}In`,`from-${d>0?v:b}`)),l.current[this.axis]=u,l.target[this.axis]=u,l.requestTick(),this.onChange(c),!0}manageSlideVisiblity(){const e=new Set,t=new Set,i=this.getVisibleSlides(parseFloat(this.option("preload",0)+"")||0);for(const n of this.slides)i.has(n)?e.add(n):t.add(n);for(const t of this.inTransition)e.add(this.slides[t]);for(const t of e)this.createSlideEl(t),this.lazyLoadSlide(t);for(const i of t)e.has(i)||this.removeSlideEl(i);this.markSelectedSlides(),this.repositionSlides()}markSelectedSlides(){if(!this.pages[this.page]||!this.pages[this.page].slides)return;const e="aria-hidden";let t=this.cn(Q);if(t)for(const i of this.slides){const n=i.el;n&&(n.dataset.index=`${i.index}`,n.classList.contains("f-thumbs__slide")?this.getVisibleSlides(0).has(i)?n.removeAttribute(e):n.setAttribute(e,"true"):this.pages[this.page].slides.includes(i)?(n.classList.contains(t)||(C(n,t),this.emit("selectSlide",i)),n.removeAttribute(e)):(n.classList.contains(t)&&(S(n,t),this.emit("unselectSlide",i)),n.setAttribute(e,"true")))}}flipInfiniteTrack(){const{axis:e,isHorizontal:t,isInfinite:i,isRTL:n,viewportDim:s,contentDim:o}=this,r=this.panzoom;if(!r||!i)return;let a=r.current[e],l=r.target[e]-a,c=0,d=.5*s;n&&t?(a<-d&&(c=-1,a+=o),a>o-d&&(c=1,a-=o)):(a>d&&(c=1,a-=o),a<-o+d&&(c=-1,a+=o)),c&&(r.current[e]=a,r.target[e]=a+l)}lazyLoadImg(e,t){const i=this,n="f-fadeIn",s="is-preloading";let o=!1,a=null;const l=()=>{o||(o=!0,a&&(a.remove(),a=null),S(t,s),t.complete&&(C(t,n),setTimeout(()=>{S(t,n)},350)),this.option("adaptiveHeight")&&e.el&&this.pages[this.page].slides.indexOf(e)>-1&&(i.updateMetrics(),i.setViewportHeight()),this.emit("load",e))};C(t,s),t.src=t.dataset.lazySrcset||t.dataset.lazySrc||"",delete t.dataset.lazySrc,delete t.dataset.lazySrcset,t.addEventListener("error",()=>{l()}),t.addEventListener("load",()=>{l()}),setTimeout(()=>{const i=t.parentNode;i&&e.el&&(t.complete?l():o||(a=r(T),i.insertBefore(a,t)))},300)}lazyLoadSlide(e){const t=e&&e.el;if(!t)return;const i=new Set;let n=Array.from(t.querySelectorAll("[data-lazy-src],[data-lazy-srcset]"));t.dataset.lazySrc&&n.push(t),n.map(e=>{e instanceof HTMLImageElement?i.add(e):e instanceof HTMLElement&&e.dataset.lazySrc&&(e.style.backgroundImage=`url('${e.dataset.lazySrc}')`,delete e.dataset.lazySrc)});for(const t of i)this.lazyLoadImg(e,t)}onAnimationEnd(e){var t;const i=e.target,n=i?parseInt(i.dataset.index||"",10)||0:-1,s=this.slides[n],o=e.animationName;if(!i||!s||!o)return;const r=!!this.inTransition.has(n)&&s.transition;r&&o.substring(0,r.length+2)===`f-${r}`&&this.inTransition.delete(n),this.inTransition.size||this.clearTransitions(),n===this.page&&(null===(t=this.panzoom)||void 0===t?void 0:t.isResting)&&this.emit
17("settle")}onDecel(e,t=0,i=0,n=0,s=0){if(this.option("dragFree"))return void this.setPageFromPosition();const{isRTL:o,isHorizontal:r,axis:a,pages:l}=this,c=l.length,d=Math.abs(Math.atan2(i,t)/(Math.PI/180));let u=0;if(u=d>45&&d<135?r?0:i:r?t:0,!c)return;let h=this.page,p=o&&r?1:-1;const f=e.current[a]*p;let{pageIndex:m}=this.getPageFromPosition(f);Math.abs(u)>5?(l[h].dim<document.documentElement["client"+(this.isHorizontal?"Width":"Height")]-1&&(h=m),h=o&&r?u<0?h-1:h+1:u<0?h+1:h-1):h=0===n&&0===s?h:m,this.slideTo(h,{transition:!1,friction:e.option("decelFriction")})}onClick(e){const t=e.target,i=t&&x(t)?t.dataset:null;let n,s;i&&(void 0!==i.carouselPage?(s="slideTo",n=i.carouselPage):void 0!==i.carouselNext?s="slideNext":void 0!==i.carouselPrev&&(s="slidePrev")),s?(e.preventDefault(),e.stopPropagation(),t&&!t.hasAttribute("disabled")&&this[s](n)):this.emit("click",e)}onSlideTo(e){const t=e.detail||0;this.slideTo(this.getPageForSlide(t),{friction:0})}onChange(e,t=0){const i=this.page;this.prevPage=i,this.page=e,this.option("adaptiveHeight")&&this.setViewportHeight(),e!==i&&(this.markSelectedSlides(),this.emit("change",e,i,t))}onRefresh(){let e=this.contentDim,t=this.viewportDim;this.updateMetrics(),this.contentDim===e&&this.viewportDim===t||this.slideTo(this.page,{friction:0,transition:!1})}onScroll(){var e;null===(e=this.viewport)||void 0===e||e.scroll(0,0)}onResize(){this.option("breakpoints")&&this.processOptions()}onBeforeTransform(e){this.lp!==e.current[this.axis]&&(this.flipInfiniteTrack(),this.manageSlideVisiblity()),this.lp=e.current.e}onEndAnimation(){this.inTransition.size||this.emit("settle")}reInit(e=null,t=null){this.destroy(),this.state=B.Init,this.prevPage=null,this.userOptions=e||this.userOptions,this.userPlugins=t||this.userPlugins,this.processOptions()}slideTo(e=0,{friction:t=this.option("friction"),transition:i=this.option("transition")}={}){if(this.state===B.Destroy)return;e=parseInt((e||0).toString())||0;const n=this.getPageFromIndex(e),{axis:s,isHorizontal:o,isRTL:r,pages:a,panzoom:l}=this,c=a.length,d=r&&o?1:-1;if(!l||!c)return;if(this.page!==n){const t=new Event("beforeChange",{bubbles:!0,cancelable:!0});if(this.emit("beforeChange",t,e),t.defaultPrevented)return}if(this.transitionTo(e,i))return;let u=a[n].pos;if(this.isInfinite){const t=this.contentDim,i=l.target[s]*d;2===c?u+=t*Math.floor(parseFloat(e+"")/2):u=[u,u-t,u+t].reduce(function(e,t){return Math.abs(t-i)<Math.abs(e-i)?t:e})}u*=d,Math.abs(l.target[s]-u)<1||(l.panTo({x:o?u:0,y:o?0:u,friction:t}),this.onChange(n))}slideToClosest(e){if(this.panzoom){const{pageIndex:t}=this.getPageFromPosition();this.slideTo(t,e)}}slideNext(){this.slideTo(this.page+1)}slidePrev(){this.slideTo(this.page-1)}clearTransitions(){this.inTransition.clear(),S(this.container,this.cn("inTransition"));const e=["to-prev","to-next","from-prev","from-next"];for(const t of this.slides){const i=t.el;if(i){i.removeEventListener(Z,this.onAnimationEnd),i.classList.remove(...e);const n=t.transition;n&&i.classList.remove(`f-${n}Out`,`f-${n}In`)}}this.manageSlideVisiblity()}addSlide(e,t){var i,n,s,o;const r=this.panzoom,a=(null===(i=this.pages[this.page])||void 0===i?void 0:i.pos)||0,l=(null===(n=this.pages[this.page])||void 0===n?void 0:n.dim)||0,c=this.contentDim<this.viewportDim;let d=Array.isArray(t)?t:[t];const u=[];for(const e of d)u.push(H(e));this.slides.splice(e,0,...u);for(let e=0;e<this.slides.length;e++)this.slides[e].index=e;for(const e of u)this.emit("beforeInitSlide",e,e.index);if(this.page>=e&&(this.page+=u.length),this.updateMetrics(),r){const t=(null===(s=this.pages[this.page])||void 0===s?void 0:s.pos)||0,i=(null===(o=this.pages[this.page])||void 0===o?void 0:o.dim)||0,n=this.pages.length||1,d=this.isRTL?l-i:i-l,u=this.isRTL?a-t:t-a;c&&1===n?(e<=this.page&&(r.current[this.axis]-=d,r.target[this.axis]-=d),r.panTo({[this.isHorizontal?"x":"y"]:-1*t})):u&&e<=this.page&&(r.target[this.axis]-=u,r.current[this.axis]-=u,r.requestTick())}for(const e of u)this.emit("initSlide",e,e.index)}prependSlide(e){this.addSlide(0,e)}appendSlide(e){this.addSlide(this.slides.length,e)}removeSlide(e){const t=this.slides.length;e=(e%t+t)%t;const i=this.slides[e];if(i){this.removeSlideEl(i,!0),this.slides.splice(e,1);for(let e=0;e<this.slides.length;e++)this.slides[e].index=e;this.updateMetrics(),this.slideTo(this.page,{friction:0,transition:!1}
17),this.emit("destroySlide",i)}}updateMetrics(){const{panzoom:e,viewport:t,track:i,slides:s,isHorizontal:o,isInfinite:r}=this;if(!i)return;const a=o?"width":"height",l=o?"offsetWidth":"offsetHeight";if(t){let e=Math.max(t[l],n(t.getBoundingClientRect()[a],1e3)),i=getComputedStyle(t),s="padding",r=o?"Right":"Bottom";e-=parseFloat(i[s+(o?"Left":"Top")])+parseFloat(i[s+r]),this.viewportDim=e}let c,d=0;for(const[e,t]of s.entries()){let i=0,o=0;!t.el&&c?(i=c.dim,o=c.gap):(({dim:i,gap:o}=this.getSlideMetrics(t)),c=t),i=n(i,1e3),o=n(o,1e3),t.dim=i,t.gap=o,t.pos=d,d+=i,(r||e<s.length-1)&&(d+=o)}d=n(d,1e3),this.contentDim=d,e&&(e.contentRect[a]=d,e.contentRect[o?"fullWidth":"fullHeight"]=d),this.pages=this.createPages(),this.pages=this.processPages(),this.state===B.Init&&this.setInitialPage(),this.page=Math.max(0,Math.min(this.page,this.pages.length-1)),this.manageSlideVisiblity(),this.emit("refresh")}getProgress(e,t=!1,i=!1){void 0===e&&(e=this.page);const s=this,o=s.panzoom,r=s.contentDim,a=s.pages[e]||0;if(!a||!o)return e>this.page?-1:1;let l=-1*o.current.e,c=n((l-a.pos)/(1*a.dim),1e3),d=c,u=c;this.isInfinite&&!0!==i&&(d=n((l-a.pos+r)/(1*a.dim),1e3),u=n((l-a.pos-r)/(1*a.dim),1e3));let h=[c,d,u].reduce(function(e,t){return Math.abs(t)<Math.abs(e)?t:e});return t?h:h>1?1:h<-1?-1:h}setViewportHeight(){const{page:e,pages:t,viewport:i,isHorizontal:n}=this;if(!i||!t[e])return;let s=0;n&&this.track&&(this.track.style.height="auto",t[e].slides.forEach(e=>{e.el&&(s=Math.max(s,e.el.offsetHeight))})),i.style.height=s?`${s}px`:""}getPageForSlide(e){for(const t of this.pages)for(const i of t.slides)if(i.index===e)return t.index;return-1}getVisibleSlides(e=0){var t;const i=new Set;let{panzoom:n,contentDim:s,viewportDim:o,pages:r,page:a}=this;if(o){s=s+(null===(t=this.slides[this.slides.length-1])||void 0===t?void 0:t.gap)||0;let l=0;l=n&&n.state!==y.Init&&n.state!==y.Destroy?-1*n.current[this.axis]:r[a]&&r[a].pos||0,this.isInfinite&&(l-=Math.floor(l/s)*s),this.isRTL&&this.isHorizontal&&(l*=-1);const c=l-o*e,d=l+o*(e+1),u=this.isInfinite?[-1,0,1]:[0];for(const e of this.slides)for(const t of u){const n=e.pos+t*s,o=n+e.dim+e.gap;n<d&&o>c&&i.add(e)}}return i}getPageFromPosition(e){const{viewportDim:t,contentDim:i,slides:n,pages:s,panzoom:o}=this,r=s.length,a=n.length,l=n[0],c=n[a-1],d=this.option("center");let u=0,h=0,p=0,f=void 0===e?-1*((null==o?void 0:o.target[this.axis])||0):e;d&&(f+=.5*t),this.isInfinite?(f<l.pos-.5*c.gap&&(f-=i,p=-1),f>c.pos+c.dim+.5*c.gap&&(f-=i,p=1)):f=Math.max(l.pos||0,Math.min(f,c.pos));let m=c,g=n.find(e=>{const t=e.pos-.5*m.gap,i=e.pos+e.dim+.5*e.gap;return m=e,f>=t&&f<i});return g||(g=c),{page:u=(h=this.getPageForSlide(g.index))+p*r,pageIndex:h}}setPageFromPosition(){const{pageIndex:e}=this.getPageFromPosition();this.onChange(e)}destroy(){if([B.Destroy].includes(this.state))return;this.state=B.Destroy;const{container:e,viewport:t,track:i,slides:n,panzoom:s}=this,o=this.option("classes");e.removeEventListener("click",this.onClick,{passive:!1,capture:!1}),e.removeEventListener("slideTo",this.onSlideTo),window.removeEventListener("resize",this.onResize),s&&(s.destroy(),this.panzoom=null),n&&n.forEach(e=>{this.removeSlideEl(e)}),this.detachPlugins(),t&&(t.removeEventListener("scroll",this.onScroll),t.offsetParent&&i&&i.offsetParent&&t.replaceWith(...i.childNodes));for(const[t,i]of Object.entries(o))"container"!==t&&i&&e.classList.remove(i);this.track=null,this.viewport=null,this.page=0,this.slides=[];const r=this.events.get("ready");this.events=new Map,r&&this.events.set("ready",r)}}Object.defineProperty(ee,"Panzoom",{enumerable:!0,configurable:!0,writable:!0,value:R}),Object.defineProperty(ee,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{viewport:null,track:null,enabled:!0,slides:[],axis:"x",transition:"fade",preload:1,slidesPerPage:"auto",initialPage:0,friction:.12,Panzoom:{decelFriction:.12},center:!0,infinite:!0,fill:!0,dragFree:!1,adaptiveHeight:!1,direction:"ltr",classes:{container:"f-carousel",viewport:"f-carousel__viewport",track:"f-carousel__track",slide:"f-carousel__slide",isLTR:"is-ltr",isRTL:"is-rtl",isHorizontal:"is-horizontal",isVertical:"is-vertical",inTransition:"in-transition",isSelected:"is-selected"},l10n:{NEXT:"Next slide",PREV:"Previous slide",GOTO:"Go to slide #%d"}}}),Object.defineProperty(ee,"Plugins",{enumerable:!0,configurable:!0,writable:!0,value:K});const te=function(e){if(!x(e))return 0;const t=window.scrollY,i=window.innerHeight,n=t+i,s=e.getBoundingClientRect(),o=s.y+t,r=s.height,a=o+r;if(t>a||n<o)return 0;if(t<o&&n>a)return 100;if(o<t&&a>n)return 100;let l=r;o<t&&(l-=t-o),a>n&&(l-=a-n);const c=l/i*100;return Math.round(c)},ie=!("undefined"==typeof window||!window.document||!window.document.createElement);let ne;const se=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden]):not(.fancybox-focus-guard)","iframe","object","embed","video","audio","[contenteditable]",'[tabindex]:not
17([tabindex^="-"]):not([disabled]):not([aria-hidden])'].join(","),oe=e=>{if(e&&ie){void 0===ne&&document.createElement("div").focus({get preventScroll(){return ne=!0,!1}});try{if(ne)e.focus({preventScroll:!0});else{const t=window.scrollY||document.body.scrollTop,i=window.scrollX||document.body.scrollLeft;e.focus(),document.body.scrollTo({top:t,left:i,behavior:"auto"})}}catch(e){}}},re=()=>{const e=document;let t,i="",n="",s="";return e.fullscreenEnabled?(i="requestFullscreen",n="exitFullscreen",s="fullscreenElement"):e.webkitFullscreenEnabled&&(i="webkitRequestFullscreen",n="webkitExitFullscreen",s="webkitFullscreenElement"),i&&(t={request:function(t=e.documentElement){return"webkitRequestFullscreen"===i?t[i](Element.ALLOW_KEYBOARD_INPUT):t[i]()},exit:function(){return e[s]&&e[n]()},isFullscreen:function(){return e[s]}}),t},ae={animated:!0,autoFocus:!0,backdropClick:"close",Carousel:{classes:{container:"fancybox__carousel",viewport:"fancybox__viewport",track:"fancybox__track",slide:"fancybox__slide"}},closeButton:"auto",closeExisting:!1,commonCaption:!1,compact:()=>window.matchMedia("(max-width: 578px), (max-height: 578px)").matches,contentClick:"toggleZoom",contentDblClick:!1,defaultType:"image",defaultDisplay:"flex",dragToClose:!0,Fullscreen:{autoStart:!1},groupAll:!1,groupAttr:"data-fancybox",hideClass:"f-fadeOut",hideScrollbar:!0,idle:3500,keyboard:{Escape:"close",Delete:"close",Backspace:"close",PageUp:"next",PageDown:"prev",ArrowUp:"prev",ArrowDown:"next",ArrowRight:"next",ArrowLeft:"prev"},l10n:Object.assign(Object.assign({},E),{CLOSE:"Close",NEXT:"Next",PREV:"Previous",MODAL:"You can close this modal content with the ESC key",ERROR:"Something Went Wrong, Please Try Again Later",IMAGE_ERROR:"Image Not Found",ELEMENT_NOT_FOUND:"HTML Element Not Found",AJAX_NOT_FOUND:"Error Loading AJAX : Not Found",AJAX_FORBIDDEN:"Error Loading AJAX : Forbidden",IFRAME_ERROR:"Error Loading Page",TOGGLE_ZOOM:"Toggle zoom level",TOGGLE_THUMBS:"Toggle thumbnails",TOGGLE_SLIDESHOW:"Toggle slideshow",TOGGLE_FULLSCREEN:"Toggle full-screen mode",DOWNLOAD:"Download"}),parentEl:null,placeFocusBack:!0,showClass:"f-zoomInUp",startIndex:0,tpl:{closeButton:'<button data-fancybox-close class="f-button is-close-btn" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" tabindex="-1"><path d="M20 20L4 4m16 0L4 20"/></svg></button>',main:'<div class="fancybox__container" role="dialog" aria-modal="true" aria-label="{{MODAL}}" tabindex="-1">\n <div class="fancybox__backdrop"></div>\n <div class="fancybox__carousel"></div>\n <div class="fancybox__footer"></div>\n </div>'},trapFocus:!0,wheel:"zoom"};var le,ce;!function(e){e[e.Init=0]="Init",e[e.Ready=1]="Ready",e[e.Closing=2]="Closing",e[e.CustomClosing=3]="CustomClosing",e[e.Destroy=4]="Destroy"}(le||(le={})),function(e){e[e.Loading=0]="Loading",e[e.Opening=1]="Opening",e[e.Ready=2]="Ready",e[e.Closing=3]="Closing"}(ce||(ce={}));let de="",ue=!1,he=!1,pe=null;const fe=()=>{let e="",t="";const i=Ct.getInstance();if(i){const n=i.carousel,s=i.getSlide();if(n&&s){let o=s.slug||void 0,r=s.triggerEl||void 0;!(t=o||i.option("slug")||"")&&r&&r.dataset&&(t=r.dataset.fancybox||""),t&&"true"!==t&&(e="#"+t+(!o&&n.slides.length>1?"-"+(s.index+1):""))}}return{hash:e,slug:t,index:1}},me=()=>{const e=new URL(document.URL).hash,t=e.slice(1).split("-"),i=t[t.length-1],n=i&&/^\+?\d+$/.test(i)&&parseInt(t.pop()||"1",10)||1;return{hash:e,slug:t.join("-"),index:n}},ge=()=>{const{slug:e,index:t}=me();if(!e)return;let i=document.querySelector(`[data-slug="${e}"]`);if(i&&i.dispatchEvent(new CustomEvent("click",{bubbles:!0,cancelable:!0})),Ct.getInstance())return;const n=document.querySelectorAll(`[data-fancybox="${e}"]`);n.length&&((i=n[t-1])&&i.dispatchEvent(new CustomEvent("click",{bubbles:!0,cancelable:!0})))},ve=()=>{if(!1===Ct.defaults.Hash)return;const e=Ct.getInstance();if(!1===(null==e?void 0:e.options.Hash))return;const{slug:t,index:i}=me(),{slug:n}=fe();e&&(t===n?e.jumpTo(i-1):(ue=!0,e.close())),ge()},be=()=>{pe&&clearTimeout(pe),queueMicrotask(()=>{ve()})},ye=()=>{window.addEventListener("hashchange",be,!1),setTimeout(()=>{ve()},500)};ie&&(/complete|interactive|loaded/.test(document.readyState)?ye():document.addEventListener("DOMContentLoaded",ye));const we="is-zooming-in";class Ee extends q{onCreateSlide(e,t,i){const n=this.instance.optionFor(i,"src")||"";i.el&&"image"===i.type&&"string"==typeof n&&this.setImage(i,n)}onRemoveSlide(e,t,i){i.panzoom&&i.panzoom.destroy(),i.panzoom=void 0,i.imageEl=void 0}onChange(e,t,i,n){S(this.instance.container,we);for(const e of t.slides){const t=e.panzoom;t&&e.index!==i&&t.reset(.35)}}onClose(){var e;const t=this.instance,i=t.container,n=t.getSlide();if(!i||!i.parentElement||!n)return;const{el:s,contentEl:o,panzoom:r,thumbElSrc:a}=n;if(!s||!a||!o||!r||r.isContentLoading||r.state===y.Init||r.state===y.Destroy)return;r.updateMetrics();let l=this.getZoomInfo(n);if(!l)return;this.instance.state=le.CustomClosing,i.classList.remove(we),i.classList.add("is-zooming-out"),o.style.backgroundImage=`url('${a}')`;const c=i.getBoundingClientRect();
171===((null===(e=window.visualViewport)||void 0===e?void 0:e.scale)||1)&&Object.assign(i.style,{position:"absolute",top:`${i.offsetTop+window.scrollY}px`,left:`${i.offsetLeft+window.scrollX}px`,bottom:"auto",right:"auto",width:`${c.width}px`,height:`${c.height}px`,overflow:"hidden"});const{x:d,y:u,scale:h,opacity:p}=l;if(p){const e=((e,t,i,n)=>{const s=h-e;return t=>1+((t-e)/s*-1||0)})(r.scale);r.on("afterTransform",()=>{o.style.opacity=e(r.scale)+""})}r.on("endAnimation",()=>{t.destroy()}),r.target.a=h,r.target.b=0,r.target.c=0,r.target.d=h,r.panTo({x:d,y:u,scale:h,friction:p?.2:.33,ignoreBounds:!0}),r.isResting&&t.destroy()}setImage(e,t){const i=this.instance;e.src=t,this.process(e,t).then(t=>{const{contentEl:n,imageEl:s,thumbElSrc:o,el:r}=e;if(i.isClosing()||!n||!s)return;n.offsetHeight;const a=!!i.isOpeningSlide(e)&&this.getZoomInfo(e);if(this.option("protected")&&r){r.addEventListener("contextmenu",e=>{e.preventDefault()});const e=document.createElement("div");C(e,"fancybox-protected"),n.appendChild(e)}if(o&&a){const s=t.contentRect,r=Math.max(s.fullWidth,s.fullHeight);let c=null;!a.opacity&&r>1200&&(c=document.createElement("img"),C(c,"fancybox-ghost"),c.src=o,n.appendChild(c));const d=()=>{c&&(C(c,"f-fadeFastOut"),setTimeout(()=>{c&&(c.remove(),c=null)},200))};(l=o,new Promise((e,t)=>{const i=new Image;i.onload=e,i.onerror=t,i.src=l})).then(()=>{i.hideLoading(e),e.state=ce.Opening,this.instance.emit("reveal",e),this.zoomIn(e).then(()=>{d(),this.instance.done(e)},()=>{}),c&&setTimeout(()=>{d()},r>2500?800:200)},()=>{i.hideLoading(e),i.revealContent(e)})}else{const n=this.optionFor(e,"initialSize"),s=this.optionFor(e,"zoom"),o={event:i.prevMouseMoveEvent||i.options.event,friction:s?.12:0};let r=i.optionFor(e,"showClass")||void 0,a=!0;i.isOpeningSlide(e)&&("full"===n?t.zoomToFull(o):"cover"===n?t.zoomToCover(o):"max"===n?t.zoomToMax(o):a=!1,t.stop("current")),a&&r&&(r=t.isDragging?"f-fadeIn":""),i.hideLoading(e),i.revealContent(e,r)}var l},()=>{i.setError(e,"{{IMAGE_ERROR}}")})}process(e,t){return new Promise((i,n)=>{var s;const o=this.instance,a=e.el;o.clearContent(e),o.showLoading(e);let l=this.optionFor(e,"content");if("string"==typeof l&&(l=r(l)),!l||!x(l)){if((l=document.createElement("img"))instanceof HTMLImageElement){let i="",n=e.caption;i="string"==typeof n&&n?n.replace(/<[^>]+>/gi,"").substring(0,1e3):`Image ${e.index+1} of ${(null===(s=o.carousel)||void 0===s?void 0:s.pages.length)||1}`,l.src=t||"",l.alt=i,l.draggable=!1,e.srcset&&l.setAttribute("srcset",e.srcset),this.instance.isOpeningSlide(e)&&(l.fetchPriority="high")}e.sizes&&l.setAttribute("sizes",e.sizes)}C(l,"fancybox-image"),e.imageEl=l,o.setContent(e,l,!1),e.panzoom=new R(a,m({transformParent:!0},this.option("Panzoom")||{},{content:l,width:(t,i)=>o.optionFor(e,"width","auto",i)||"auto",height:(t,i)=>o.optionFor(e,"height","auto",i)||"auto",wheel:()=>{const e=o.option("wheel");return("zoom"===e||"pan"==e)&&e},click:(t,i)=>{var n,s;if(o.isCompact||o.isClosing())return!1;if(e.index!==(null===(n=o.getSlide())||void 0===n?void 0:n.index))return!1;if(i){const e=i.composedPath()[0];if(["A","BUTTON","TEXTAREA","OPTION","INPUT","SELECT","VIDEO"].includes(e.nodeName))return!1}let r=!i||i.target&&(null===(s=e.contentEl)||void 0===s?void 0:s.contains(i.target));return o.option(r?"contentClick":"backdropClick")||!1},dblClick:()=>o.isCompact?"toggleZoom":o.option("contentDblClick")||!1,spinner:!1,panOnlyZoomed:!0,wheelLimit:1/0,on:{ready:e=>{i(e)},error:()=>{n()},destroy:()=>{n()}}}))})}zoomIn(e){return new Promise((t,i)=>{const n=this.instance,s=n.container,{panzoom:o,contentEl:r,el:a}=e;o&&o.updateMetrics();const l=this.getZoomInfo(e);if(!(l&&a&&r&&o&&s))return void i();const{x:c,y:d,scale:u,opacity:h}=l,p=()=>{e.state!==ce.Closing&&(h&&(r.style.opacity=Math.max(Math.min(1,1-(1-o.scale)/(1-u)),0)+""),o.scale>=1&&o.scale>o.targetScale-.1&&t(o))},f=e=>{(e.scale<.99||e.scale>1.01)&&!e.isDragging||(S(s,we),r.style.opacity="",e.off("endAnimation",f),e.off("touchStart",f),e.off("afterTransform",p),t(e))};o.on("endAnimation",f),o.on("touchStart",f),o.on("afterTransform",p),o.on(["error","destroy"],()=>{i()}),o.panTo({x:c,y:d,scale:u,friction:0,ignoreBounds:!0}),o.stop("current");
17const m={event:"mousemove"===o.panMode?n.prevMouseMoveEvent||n.options.event:void 0},g=this.optionFor(e,"initialSize");C(s,we),n.hideLoading(e),"full"===g?o.zoomToFull(m):"cover"===g?o.zoomToCover(m):"max"===g?o.zoomToMax(m):o.reset(.172)})}getZoomInfo(e){const{el:t,imageEl:i,thumbEl:n,panzoom:s}=e,o=this.instance,r=o.container;if(!t||!i||!n||!s||te(n)<3||!this.optionFor(e,"zoom")||!r||o.state===le.Destroy)return!1;if("0"===getComputedStyle(r).getPropertyValue("--f-images-zoom"))return!1;const a=window.visualViewport||null;if(1!==(a?a.scale:1))return!1;let{top:l,left:c,width:d,height:u}=n.getBoundingClientRect(),{top:h,left:p,fitWidth:f,fitHeight:m}=s.contentRect;if(!(d&&u&&f&&m))return!1;const g=s.container.getBoundingClientRect(),v=-1*((p+=g.left)+.5*f-(c+.5*d)),b=-1*((h+=g.top)+.5*m-(l+.5*u)),y=d/f;let w=this.option("zoomOpacity")||!1;return"auto"===w&&(w=Math.abs(d/u-f/m)>.1),{x:v,y:b,scale:y,opacity:w}}attach(){const e=this,t=e.instance;t.on("Carousel.change",e.onChange),t.on("Carousel.createSlide",e.onCreateSlide),t.on("Carousel.removeSlide",e.onRemoveSlide),t.on("close",e.onClose)}detach(){const e=this,t=e.instance;t.off("Carousel.change",e.onChange),t.off("Carousel.createSlide",e.onCreateSlide),t.off("Carousel.removeSlide",e.onRemoveSlide),t.off("close",e.onClose)}}Object.defineProperty(Ee,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{initialSize:"fit",Panzoom:{maxScale:1},protected:!1,zoom:!0,zoomOpacity:"auto"}}),"function"==typeof SuppressedError&&SuppressedError;const _e="html",Oe="image",Te="map",xe="youtube",Se="vimeo",Ce="html5video",Pe=(e,t={})=>{const i=new URL(e),n=new URLSearchParams(i.search),s=new URLSearchParams;for(const[e,i]of[...n,...Object.entries(t)]){let t=i+"";if("t"===e){let e=t.match(/((\d*)m)?(\d*)s?/);e&&s.set("start",60*parseInt(e[2]||"0")+parseInt(e[3]||"0")+"")}else s.set(e,t)}let o=s+"",r=e.match(/#t=((.*)?\d+s)/);return r&&(o+=`#t=${r[1]}`),o},Me=["image","html","ajax","inline","clone","iframe","map","pdf","html5video","youtube","vimeo"];class Le extends q{onBeforeInitSlide(e,t,i){this.processType(i)}onCreateSlide(e,t,i){this.setContent(i)}onClearContent(e,t){t.xhr&&(t.xhr.abort(),t.xhr=null);const i=t.iframeEl;i&&(i.onload=i.onerror=null,i.src="//about:blank",t.iframeEl=null);const n=t.contentEl,s=t.placeholderEl;if("inline"===t.type&&n&&s)n.classList.remove("fancybox__content"),"none"!==getComputedStyle(n).getPropertyValue("display")&&(n.style.display="none"),setTimeout(()=>{s&&(n&&s.parentNode&&s.parentNode.insertBefore(n,s),s.remove())},0),t.contentEl=void 0,t.placeholderEl=void 0;else for(;t.el&&t.el.firstChild;)t.el.removeChild(t.el.firstChild)}onSelectSlide(e,t,i){i.state===ce.Ready&&this.playVideo()}onUnselectSlide(e,t,i){var n,s;if(i.type===Ce){try{null===(s=null===(n=i.el)||void 0===n?void 0:n.querySelector("video"))||void 0===s||s.pause()}catch(e){}return}let o;i.type===Se?o={method:"pause",value:"true"}:i.type===xe&&(o={event:"command",func:"pauseVideo"}),o&&i.iframeEl&&i.iframeEl.contentWindow&&i.iframeEl.contentWindow.postMessage(JSON.stringify(o),"*"),i.poller&&clearTimeout(i.poller)}onDone(e,t){e.isCurrentSlide(t)&&!e.isClosing()&&this.playVideo()}onRefresh(e,t){t.slides.forEach(e=>{e.el&&(this.resizeIframe(e),this.setAspectRatio(e))})}onMessage(e){try{let t=JSON.parse(e.data);if("https://player.vimeo.com"===e.origin){if("ready"===t.event)for(let t of Array.from(document.getElementsByClassName("fancybox__iframe")))t instanceof HTMLIFrameElement&&t.contentWindow===e.source&&(t.dataset.ready="true")}else if(e.origin.match(/^https:\/\/(www.)?youtube(-nocookie)?.com$/)&&"onReady"===t.event){const e=document.getElementById(t.id);e&&(e.dataset.ready="true")}}catch(e){}}loadAjaxContent(e){const t=this.instance.optionFor(e,"src")||"";this.instance.showLoading(e);const i=this.instance,n=new XMLHttpRequest;i.showLoading(e),n.onreadystatechange=function(){n.readyState===XMLHttpRequest.DONE&&i.state===le.Ready&&(i.hideLoading(e),200===n.status?i.setContent(e,n.responseText):i.setError(e,404===n.status?"{{AJAX_NOT_FOUND}}":"{{AJAX_FORBIDDEN}}"))};const s=e.ajax||null;n.open(s?"POST":"GET",t+""),n.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),n.setRequestHeader("X-Requested-With","XMLHttpRequest"),n.send(s),e.xhr=n}setInlineContent(e){let t=null;if(x(e.src))t=e.src;else if("string"==typeof e.src){const i=e.src.split("#",2).pop();t=i?document.getElementById(i):null}if(t){if("clone"===e.type||t.closest(".fancybox__slide")){const i=(t=t.cloneNode(!0)).dataset.animationName;i&&(t.classList.remove(i),delete t.dataset.animationName);let n=t.getAttribute("id");n=n?`${n}--clone`:`clone-${this.instance.id}-${e.index}`,t.setAttribute("id",n)}else if(t.parentNode){const i=document.createElement("div");i.classList.add("fancybox-placeholder"),t.parentNode.insertBefore(i,t),e.placeholderEl=i}this.instance.setContent(e,t)}else this.instance.setError(e,"{{ELEMENT_NOT_FOUND}}")}setIframeContent(e){const{src:t,el:i}=e;if(!t||"string"!=typeof t||!i)return;i.classList.add("is-loading");const n=this.instance,s=document.createElement("iframe");s.className="fancybox__iframe",s.setAttribute("id",`fancybox__iframe_${n.id}_${e.index}`);for(const[t,i]of Object.entries(this.optionFor(e,"iframeAttr")||{}))s.setAttribute(t,i);s.onerror=(()=>{n.setError(e,"{{IFRAME_ERROR}}")}),e.iframeEl=s;const o=this.optionFor(e,"preload");if("iframe"!==e.type||!1===o)return s.setAttribute("src",e.src+""),n.setContent(e,s,!1),this.resizeIframe(e),void n.revealContent(e);n.showLoading(e),s.onload=(()=>
17{if(!s.src.length)return;const t="true"!==s.dataset.ready;s.dataset.ready="true",this.resizeIframe(e),t?n.revealContent(e):n.hideLoading(e)}),s.setAttribute("src",t),n.setContent(e,s,!1)}resizeIframe(e){const{type:t,iframeEl:i}=e;if(t===xe||t===Se)return;const n=null==i?void 0:i.parentElement;if(!i||!n)return;let s=e.autoSize;void 0===s&&(s=this.optionFor(e,"autoSize"));let o=e.width||0,r=e.height||0;o&&r&&(s=!1);const a=n&&n.style;if(!1!==e.preload&&!1!==s&&a)try{const t=window.getComputedStyle(n),s=parseFloat(t.paddingLeft)+parseFloat(t.paddingRight),l=parseFloat(t.paddingTop)+parseFloat(t.paddingBottom),c=i.contentWindow;if(c){const e=c.document,t=e.getElementsByTagName(_e)[0],i=e.body;a.width="",i.style.overflow="hidden",o=o||t.scrollWidth+s,a.width=`${o}px`,i.style.overflow="",a.flex="0 0 auto",a.height=`${i.scrollHeight}px`,r=t.scrollHeight+l}}catch(e){}if(o||r){const e={flex:"0 1 auto",width:"",height:""};o&&"auto"!==o&&(e.width=`${o}px`),r&&"auto"!==r&&(e.height=`${r}px`),Object.assign(a,e)}}playVideo(){const e=this.instance.getSlide();if(!e)return;const{el:t}=e;if(!t||!t.offsetParent)return;if(!this.optionFor(e,"videoAutoplay"))return;if(e.type===Ce)try{const i=t.querySelector("video");if(i){const e=i.play();void 0!==e&&e.then(()=>{}).catch(e=>{i.muted=!0,i.play()})}}catch(e){}if(e.type!==xe&&e.type!==Se)return;const i=()=>{if(e.iframeEl&&e.iframeEl.contentWindow){let t;if("true"===e.iframeEl.dataset.ready)return(t=e.type===xe?{event:"command",func:"playVideo"}:{method:"play",value:"true"})&&e.iframeEl.contentWindow.postMessage(JSON.stringify(t),"*"),void(e.poller=void 0);e.type===xe&&(t={event:"listening",id:e.iframeEl.getAttribute("id")},e.iframeEl.contentWindow.postMessage(JSON.stringify(t),"*"))}e.poller=setTimeout(i,250)};i()}processType(e){if(e.html)return e.type=_e,e.src=e.html,void(e.html="");const t=this.instance.optionFor(e,"src","");if(!t||"string"!=typeof t)return;let i=e.type,n=null;if(n=t.match(/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(?:watch\?(?:.*&)?v=|v\/|u\/|shorts\/|embed\/?)?(videoseries\?list=(?:.*)|[\w-]{11}|\?listType=(?:.*)&list=(?:.*))(?:.*)/i)){const s=this.optionFor(e,xe),{nocookie:o}=s,r=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(n=Object.getOwnPropertySymbols(e);s<n.length;s++)t.indexOf(n[s])<0&&Object.prototype.propertyIsEnumerable.call(e,n[s])&&(i[n[s]]=e[n[s]])}return i}(s,["nocookie"]),a=`www.youtube${o?"-nocookie":""}.com`,l=Pe(t,r),c=encodeURIComponent(n[2]);e.videoId=c,e.src=`https://${a}/embed/${c}?${l}`,e.thumbSrc=e.thumbSrc||`https://i.ytimg.com/vi/${c}/mqdefault.jpg`,i=xe}else if(n=t.match(/^.+vimeo.com\/(?:\/)?([\d]+)((\/|\?h=)([a-z0-9]+))?(.*)?/)){const s=Pe(t,this.optionFor(e,Se)),o=encodeURIComponent(n[1]),r=n[4]||"";e.videoId=o,e.src=`https://player.vimeo.com/video/${o}?${r?`h=${r}${s?"&":""}`:""}${s}`,i=Se}if(!i&&e.triggerEl){const t=e.triggerEl.dataset.type;Me.includes(t)&&(i=t)}i||"string"==typeof t&&("#"===t.charAt(0)?i="inline":(n=t.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i))?(i=Ce,e.videoFormat=e.videoFormat||"video/"+("ogv"===n[1]?"ogg":n[1])):t.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?i=Oe:t.match(/\.(pdf)((\?|#).*)?$/i)&&(i="pdf")),(n=t.match(/(?:maps\.)?google\.([a-z]{2,3}(?:\.[a-z]{2})?)\/(?:(?:(?:maps\/(?:place\/(?:.*)\/)?\@(.*),(\d+.?\d+?)z))|(?:\?ll=))(.*)?/i))?(e.src=`https://maps.google.${n[1]}/?ll=${(n[2]?n[2]+"&z="+Math.floor(parseFloat(n[3]))+(n[4]?n[4].replace(/^\//,"&"):""):n[4]+"").replace(/\?/,"&")}&output=${n[4]&&n[4].indexOf("layer=c")>0?"svembed":"embed"}`,i=Te):(n=t.match(/(?:maps\.)?google\.([a-z]{2,3}(?:\.[a-z]{2})?)\/(?:maps\/search\/)(.*)/i))&&(e.src=`https://maps.google.${n[1]}/maps?q=${n[2].replace("query=","q=").replace("api=1","")}&output=embed`,i=Te),i=i||this.instance.option("defaultType"),e.type=i,i===Oe&&(e.thumbSrc=e.thumbSrc||e.src)}setContent(e){const t=this.instance.optionFor(e,"src")||"";if(e&&e.type&&t){switch(e.type){case _e:this.instance.setContent(e,t);break;case Ce:const i=this.option("videoTpl");i&&this.instance.setContent(e,i.replace(/\{\{src\}\}/gi,t+"").replace(/\{\{format\}\}/gi,this.optionFor(e,"videoFormat")||"").replace(/\{\{poster\}\}/gi,e.poster||e.thumbSrc||""));break;case"inline":case"clone":this.setInlineContent(e);break;case"ajax":this.loadAjaxContent(e);break;case"pdf":case Te:case xe:case Se:e.preload=!1;case"iframe":this.setIframeContent(e)}this.setAspectRatio(e)}}setAspectRatio(e){const t=e.contentEl;if(!(e.el&&t&&e.type&&[xe,Se,Ce].includes(e.type)))return;let i,n=e.width||"auto",s=e.height||"auto";if("auto"===n||"auto"===s){const t=((i=this.optionFor(e,"videoRatio"))+"").match(/(\d+)\s*\/\s?(\d+)/);i=t&&t.length>2?parseFloat(t[1])/parseFloat(t[2]):parseFloat(i+"")}else n&&s&&(i=n/s);if(!i)return;t.style.aspectRatio="",t.style.width="",t.style.height="",t.offsetHeight;const o=t.getBoundingClientRect(),r=o.width||1,a=o.height||1;t.style.aspectRatio=i+"",i<r/a?(s="auto"===s?a:Math.min(a,s),t.style.width="auto",t.style.height=`${s}px`):(n="auto"===n?r:Math.min(r,n),t.style.width=`${n}px`,t.style.height="auto")}attach(){const e=this,t=e.instance;t.on("Carousel.beforeInitSlide",e.onBeforeInitSlide),t.on("Carousel.createSlide",e.onCreateSlide),t.on("Carousel.selectSlide",e.onSelectSlide),t.on("Carousel.unselectSlide",e.onUnselectSlide),t.on("Carousel.Panzoom.refresh",e.onRefresh),t.on("done",e.onDone),t.on("clearContent",e.onClearContent),window.addEventListener("message",e.onMessage)}detach(){const e=this,t=e.instance;t.off("Carousel.beforeInitSlide",e.onBeforeInitSlide),t.off("Carousel.createSlide",e.onCreateSlide),t.off("Carousel.selectSlide",e.onSelectSlide),t.off("Carousel.unselectSlide",e.onUnselectSlide),t.off("Carousel.Panzoom.refresh",e.onRefresh),t.off("done",e.onDone),t.off("clearContent",e.onClearContent),window.removeEventListener("message",e.onMessage)}}Object.defineProperty(Le,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{ajax:null,autoSize:!0,iframeAttr:{allow:"autoplay; fullscreen",scrolling:"auto"},preload:!0,videoAutoplay:!0,videoRatio:16/9,videoTpl:'<video class="fancybox__html5video" playsinline controls controlsList="nodownload" poster="{{poster}}">\n <source src="{{src}}" type="{{format}}" />Sorry, your browser doesn\'t support embedded videos.</video>',videoFormat:"",vimeo:{byline:1,color:"00adef",controls:1,dnt:1,muted:0},youtube:{controls:1,enablejsapi:1,nocookie:1,rel:0,fs:1}}});const Ae="play",je="pause",ke="ready";class De extends q{constructor(){super(...arguments),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:ke}),Object.defineProperty(this,"inHover",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"timer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"progressBar",{enumerable:!0,configurable:!0,writable:!0,value:null})}get isActive(){return this.state!==ke}onReady(e){this.option("autoStart")&&(e.isInfinite||e.page<e.pages.length-1)&&this.start()}onChange(){this.removeProgressBar(),this.pause()}onSettle(){this.resume()}onVisibilityChange(){"visible"===document.visibilityState?this.resume():this.pause()}onMouseEnter(){this.inHover=!0,this.pause()}onMouseLeave(){var e;this.inHover=!1,(null===(e=this.instance.panzoom)||void 0===e?void 0:e.isResting)&&this.resume()}onTimerEnd(){const e=this.instance;"play"===this.state&&(e.isInfinite||e.page!==e.pages.length-1?e.
17slideNext():e.slideTo(0))}removeProgressBar(){this.progressBar&&(this.progressBar.remove(),this.progressBar=null)}createProgressBar(){var e;if(!this.option("showProgress"))return null;this.removeProgressBar();const t=this.instance,i=(null===(e=t.pages[t.page])||void 0===e?void 0:e.slides)||[];let n=this.option("progressParentEl");if(n||(n=(1===i.length?i[0].el:null)||t.viewport),!n)return null;const s=document.createElement("div");return C(s,"f-progress"),n.prepend(s),this.progressBar=s,s.offsetHeight,s}set(){const e=this,t=e.instance;if(t.pages.length<2)return;if(e.timer)return;const i=e.option("timeout");e.state=Ae,C(t.container,"has-autoplay");let n=e.createProgressBar();n&&(n.style.transitionDuration=`${i}ms`,n.style.transform="scaleX(1)"),e.timer=setTimeout(()=>{e.timer=null,e.inHover||e.onTimerEnd()},i),e.emit("set")}clear(){const e=this;e.timer&&(clearTimeout(e.timer),e.timer=null),e.removeProgressBar()}start(){const e=this;if(e.set(),e.state!==ke){if(e.option("pauseOnHover")){const t=e.instance.container;t.addEventListener("mouseenter",e.onMouseEnter,!1),t.addEventListener("mouseleave",e.onMouseLeave,!1)}document.addEventListener("visibilitychange",e.onVisibilityChange,!1),e.emit("start")}}stop(){const e=this,t=e.state,i=e.instance.container;e.clear(),e.state=ke,i.removeEventListener("mouseenter",e.onMouseEnter,!1),i.removeEventListener("mouseleave",e.onMouseLeave,!1),document.removeEventListener("visibilitychange",e.onVisibilityChange,!1),S(i,"has-autoplay"),t!==ke&&e.emit("stop")}pause(){const e=this;e.state===Ae&&(e.state=je,e.clear(),e.emit(je))}resume(){const e=this,t=e.instance;if(t.isInfinite||t.page!==t.pages.length-1)if(e.state!==Ae){if(e.state===je&&!e.inHover){const t=new Event("resume",{bubbles:!0,cancelable:!0});e.emit("resume",t),t.defaultPrevented||e.set()}}else e.set();else e.stop()}toggle(){this.state===Ae||this.state===je?this.stop():this.start()}attach(){const e=this,t=e.instance;t.on("ready",e.onReady),t.on("Panzoom.startAnimation",e.onChange),t.on("Panzoom.endAnimation",e.onSettle),t.on("Panzoom.touchMove",e.onChange)}detach(){const e=this,t=e.instance;t.off("ready",e.onReady),t.off("Panzoom.startAnimation",e.onChange),t.off("Panzoom.endAnimation",e.onSettle),t.off("Panzoom.touchMove",e.onChange),e.stop()}}Object.defineProperty(De,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{autoStart:!0,pauseOnHover:!0,progressParentEl:null,showProgress:!0,timeout:3e3}});class Ie extends q{constructor(){super(...arguments),Object.defineProperty(this,"ref",{enumerable:!0,configurable:!0,writable:!0,value:null})}onPrepare(e){const t=e.carousel;if(!t)return;const i=e.container;i&&(t.options.Autoplay=m({autoStart:!1},this.option("Autoplay")||{},{pauseOnHover:!1,timeout:this.option("timeout"),progressParentEl:()=>this.option("progressParentEl")||null,on:{start:()=>{e.emit("startSlideshow")},set:t=>{var n;i.classList.add("has-slideshow"),(null===(n=e.getSlide())||void 0===n?void 0:n.state)!==ce.Ready&&t.pause()},stop:()=>{i.classList.remove("has-slideshow"),e.isCompact||e.endIdle(),e.emit("endSlideshow")},resume:(t,i)=>{var n,s,o;!i||!i.cancelable||(null===(n=e.getSlide())||void 0===n?void 0:n.state)===ce.Ready&&(null===(o=null===(s=e.carousel)||void 0===s?void 0:s.panzoom)||void 0===o?void 0:o.isResting)||i.preventDefault()}}}),t.attachPlugins({Autoplay:De}),this.ref=t.plugins.Autoplay)}onReady(e){const t=e.carousel,i=this.ref;i&&t&&this.option("playOnStart")&&(t.isInfinite||t.page<t.pages.length-1)&&i.start()}onDone(e,t){const i=this.ref,n=e.carousel;if(!i||!n)return;const s=t.panzoom;s&&s.on("startAnimation",()=>{e.isCurrentSlide(t)&&i.stop()}),e.isCurrentSlide(t)&&i.resume()}onKeydown(e,t){var i;const n=this.ref;n&&t===this.option("key")&&"BUTTON"!==(null===(i=document.activeElement)||void 0===i?void 0:i.nodeName)&&n.toggle()}attach(){const e=this,t=e.instance;t.on("Carousel.init",e.onPrepare),t.on("Carousel.ready",e.onReady),t.on("done",e.onDone),t.on("keydown",e.onKeydown)}detach(){const e=this,t=e.instance;t.off("Carousel.init",e.onPrepare),t.off("Carousel.ready",e.onReady),t.off("done",e.onDone),t.off("keydown",e.onKeydown)}}Object.defineProperty(Ie,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{key:" ",playOnStart:!1,progressParentEl:e=>{var t;return(null===(t=e.instance.container)||void 0===t?void 0:t.querySelector(".fancybox__toolbar [data-fancybox-toggle-slideshow]"))||e.instance.container},timeout:3e3}});const ze={classes:{container:"f-thumbs f-carousel__thumbs",viewport:"f-thumbs__viewport",track:"f-thumbs__track",slide:"f-thumbs__slide",isResting:"is-resting",isSelected:"is-selected",isLoading:"is-loading",hasThumbs:"has-thumbs"},minCount:2,parentEl:null,thumbTpl:'<button class="f-thumbs__slide__button" tabindex="0" type="button" aria-label="{{GOTO}}" data-carousel-index="%i"><img class="f-thumbs__slide__img" data-lazy-src="{{%s}}" alt="" /></button>',type:"modern"};var Re;
17!function(e){e[e.Init=0]="Init",e[e.Ready=1]="Ready",e[e.Hidden=2]="Hidden"}(Re||(Re={}));const Ne="isResting",Fe="thumbWidth",Be="thumbHeight",He="thumbClipWidth";let We=class extends q{constructor(){super(...arguments),Object.defineProperty(this,"type",{enumerable:!0,configurable:!0,writable:!0,value:"modern"}),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"track",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"carousel",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"thumbWidth",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"thumbClipWidth",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"thumbHeight",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"thumbGap",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"thumbExtraGap",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:Re.Init})}get isModern(){return"modern"===this.type}onInitSlide(e,t){const i=t.el?t.el.dataset:void 0;i&&(t.thumbSrc=i.thumbSrc||t.thumbSrc||"",t[He]=parseFloat(i[He]||"")||t[He]||0,t[Be]=parseFloat(i.thumbHeight||"")||t[Be]||0),this.addSlide(t)}onInitSlides(){this.build()}onChange(){var e;if(!this.isModern)return;const t=this.container,i=this.instance,n=i.panzoom,s=this.carousel,o=s?s.panzoom:null,r=i.page;if(n&&s&&o){if(n.isDragging){S(t,this.cn(Ne));let n=(null===(e=s.pages[r])||void 0===e?void 0:e.pos)||0;n+=i.getProgress(r)*(this[He]+this.thumbGap);let a=o.getBounds();-1*n>a.x.min&&-1*n<a.x.max&&o.panTo({x:-1*n,friction:.12})}else l(t,this.cn(Ne),n.isResting);this.shiftModern()}}onRefresh(){this.updateProps();for(const e of this.instance.slides||[])this.resizeModernSlide(e);this.shiftModern()}isDisabled(){const e=this.option("minCount")||0;if(e){const t=this.instance;let i=0;for(const e of t.slides||[])e.thumbSrc&&i++;if(i<e)return!0}const t=this.option("type");return["modern","classic"].indexOf(t)<0}getThumb(e){const t=this.option("thumbTpl")||"";return{html:this.instance.localize(t,[["%i",e.index],["%d",e.index+1],["%s",e.thumbSrc||"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"]])}}addSlide(e){const t=this.carousel;t&&t.addSlide(e.index,this.getThumb(e))}getSlides(){const e=[];
17for(const t of this.instance.slides||[])e.push(this.getThumb(t));return e}resizeModernSlide(e){this.isModern&&(e[Fe]=e[He]&&e[Be]?Math.round(this[Be]*(e[He]/e[Be])):this[Fe])}updateProps(){const e=this.container;if(!e)return;const t=t=>parseFloat(getComputedStyle(e).getPropertyValue("--f-thumb-"+t))||0;this.thumbGap=t("gap"),this.thumbExtraGap=t("extra-gap"),this[Fe]=t("width")||40,this[He]=t("clip-width")||40,this[Be]=t("height")||40}build(){const e=this;if(e.state!==Re.Init)return;if(e.isDisabled())return void e.emit("disabled");const t=e.instance,i=t.container,n=e.getSlides(),s=e.option("type");e.type=s;const o=e.option("parentEl"),r=e.cn("container"),a=e.cn("track");let l=null==o?void 0:o.querySelector("."+r);l||(l=document.createElement("div"),C(l,r),o?o.appendChild(l):i.after(l)),C(l,`is-${s}`),C(i,e.cn("hasThumbs")),e.container=l,e.updateProps();let c=l.querySelector("."+a);c||(c=document.createElement("div"),C(c,e.cn("track")),l.appendChild(c)),e.track=c;const d=m({},{track:c,infinite:!1,center:!0,fill:"classic"===s,dragFree:!0,slidesPerPage:1,transition:!1,preload:.25,friction:.12,Panzoom:{maxVelocity:0},Dots:!1,Navigation:!1,classes:{container:"f-thumbs",viewport:"f-thumbs__viewport",track:"f-thumbs__track",slide:"f-thumbs__slide"}},e.option("Carousel")||{},{Sync:{target:t},slides:n}),u=new t.constructor(l,d);u.on("createSlide",(t,i)=>{e.setProps(i.index),e.emit("createSlide",i,i.el)}),u.on("ready",()=>{e.shiftModern(),e.emit("ready")}),u.on("refresh",()=>{e.shiftModern()}),u.on("Panzoom.click",(t,i,n)=>{e.onClick(n)}),e.carousel=u,e.state=Re.Ready}onClick(e){e.preventDefault(),e.stopPropagation();const t=this.instance,{pages:i,page:n}=t,s=e=>{if(e){const t=e.closest("[data-carousel-index]");if(t)return[parseInt(t.dataset.carouselIndex||"",10)||0,t]}return[-1,void 0]},o=(e,t)=>{const i=document.elementFromPoint(e,t);return i?s(i):[-1,void 0]};let[r,a]=s(e.target);if(r>-1)return;const l=this[He],c=e.clientX,d=e.clientY;let[u,h]=o(c-l,d),[p,f]=o(c+l,d);h&&f?(r=Math.abs(c-h.getBoundingClientRect().right)<Math.abs(c-f.getBoundingClientRect().left)?u:p)===n&&(r=r===u?p:u):h?r=u:f&&(r=p),r>-1&&i[r]&&t.slideTo(r)}getShift(e){var t;const i=this,{instance:n}=i,s=i.carousel;if(!n||!s)return 0;const o=i[Fe],r=i[He],a=i.thumbGap,l=i.thumbExtraGap;if(!(null===(t=s.slides[e])||void 0===t?void 0:t.el))return 0;const c=.5*(o-r),d=n.pages.length-1;let u=n.getProgress(0),h=n.getProgress(d),p=n.getProgress(e,!1,!0),f=0,m=c+l+a;const g=u<0&&u>-1,v=h>0&&h<1;return 0===e?(f=m*Math.abs(u),v&&1===u&&(f-=m*Math.abs(h))):e===d?(f=m*Math.abs(h)*-1,g&&-1===h&&(f+=m*Math.abs(u))):g||v?(f=-1*m,f+=m*Math.abs(u),f+=m*(1-Math.abs(h))):f=m*p,f}setProps(e){var t;const i=this;if(!i.isModern)return;const{instance:s}=i,o=i.carousel;if(s&&o){const r=null===(t=o.slides[e])||void 0===t?void 0:t.el;if(r&&r.childNodes.length){let t=n(1-Math.abs(s.getProgress(e))),o=n(i.getShift(e));r.style.setProperty("--progress",t?t+"":""),r.style.setProperty("--shift",o+"")}}}shiftModern(){const e=this;if(!e.isModern)return;const{instance:t,track:i}=e,n=t.panzoom,s=e.carousel;if(!(t&&i&&n&&s))return;if(n.state===y.Init||n.state===y.Destroy)return;for(const i of t.slides)e.setProps(i.index);let o=(e[He]+e.thumbGap)*(s.slides.length||0);i.style.setProperty("--width",o+"")}cleanup(){const e=this;e.carousel&&e.carousel.destroy(),e.carousel=null,e.container&&e.container.remove(),e.container=null,e.track&&e.track.remove(),e.track=null,e.state=Re.Init,S(e.instance.container,e.cn("hasThumbs"))}attach(){const e=this,t=e.instance;t.on("initSlide",e.onInitSlide),t.state===B.Init?t.on("initSlides",e.onInitSlides):e.onInitSlides(),t.on(["change","Panzoom.afterTransform"],e.onChange),t.on("Panzoom.refresh",e.onRefresh)}detach(){const e=this,t=e.instance;t.off("initSlide",e.onInitSlide),t.off("initSlides",e.onInitSlides),t.off(["change","Panzoom.afterTransform"],e.onChange),t.off("Panzoom.refresh",e.onRefresh),e.cleanup()}};Object.defineProperty(We,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:ze});const qe=Object.assign(Object.assign({},ze),{key:"t",showOnStart:!0,parentEl:null}),$e="is-masked",Ve="aria-hidden";class Ge extends q{constructor(){super(...arguments),Object.defineProperty(this,"ref",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"hidden",{enumerable:!0,configurable:!0,writable:!0,value:!1})}get isEnabled(){const e=this.ref;return e&&!e.isDisabled()}get isHidden(){return this.hidden}onClick(e,t){t.stopPropagation()}onCreateSlide(e,t){var i,n,s;const o=(null===(s=null===(n=null===(i=this.instance)||void 0===i?void 0:i.carousel)||void 0===n?void 0:n.slides[t.index])||void 0===s?void 0:s.type)||"",r=t.el;if(r&&o){let e=`for-${o}`;["video","youtube","vimeo","html5video"].includes(o)&&(e+=" for-video"),C(r,e)}}onInit(){var e;const t=this,i=t.instance,n=i.carousel;if(t.ref||!n)return;
17const s=t.option("parentEl")||i.footer||i.container;if(!s)return;const o=m({},t.options,{parentEl:s,classes:{container:"f-thumbs fancybox__thumbs"},Carousel:{Sync:{friction:i.option("Carousel.friction")||0}},on:{ready:e=>{const i=e.container;i&&this.hidden&&(t.refresh(),i.style.transition="none",t.hide(),i.offsetHeight,queueMicrotask(()=>{i.style.transition="",t.show()}))}}});o.Carousel=o.Carousel||{},o.Carousel.on=m((null===(e=t.options.Carousel)||void 0===e?void 0:e.on)||{},{click:this.onClick,createSlide:this.onCreateSlide}),n.options.Thumbs=o,n.attachPlugins({Thumbs:We}),t.ref=n.plugins.Thumbs,t.option("showOnStart")||(t.ref.state=Re.Hidden,t.hidden=!0)}onResize(){var e;const t=null===(e=this.ref)||void 0===e?void 0:e.container;t&&(t.style.maxHeight="")}onKeydown(e,t){const i=this.option("key");i&&i===t&&this.toggle()}toggle(){const e=this.ref;if(e&&!e.isDisabled())return e.state===Re.Hidden?(e.state=Re.Init,void e.build()):void(this.hidden?this.show():this.hide())}show(){const e=this.ref;if(!e||e.isDisabled())return;const t=e.container;t&&(this.refresh(),t.offsetHeight,t.removeAttribute(Ve),t.classList.remove($e),this.hidden=!1)}hide(){const e=this.ref,t=e&&e.container;t&&(this.refresh(),t.offsetHeight,t.classList.add($e),t.setAttribute(Ve,"true")),this.hidden=!0}refresh(){const e=this.ref;if(!e||!e.state)return;const t=e.container,i=(null==t?void 0:t.firstChild)||null;t&&i&&i.childNodes.length&&(t.style.maxHeight=`${i.getBoundingClientRect().height}px`)}attach(){const e=this,t=e.instance;t.state===le.Init?t.on("Carousel.init",e.onInit):e.onInit(),t.on("resize",e.onResize),t.on("keydown",e.onKeydown)}detach(){var e;const t=this,i=t.instance;i.off("Carousel.init",t.onInit),i.off("resize",t.onResize),i.off("keydown",t.onKeydown),null===(e=i.carousel)||void 0===e||e.detachPlugins(["Thumbs"]),t.ref=null}}Object.defineProperty(Ge,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:qe});const Ye={panLeft:{icon:'<svg><path d="M5 12h14M5 12l6 6M5 12l6-6"/></svg>',change:{panX:-100}},panRight:{icon:'<svg><path d="M5 12h14M13 18l6-6M13 6l6 6"/></svg>',change:{panX:100}},panUp:{icon:'<svg><path d="M12 5v14M18 11l-6-6M6 11l6-6"/></svg>',change:{panY:-100}},panDown:{icon:'<svg><path d="M12 5v14M18 13l-6 6M6 13l6 6"/></svg>',change:{panY:100}},zoomIn:{icon:'<svg><circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M11 8v6M8 11h6"/></svg>',action:"zoomIn"},zoomOut:{icon:'<svg><circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M8 11h6"/></svg>',action:"zoomOut"},toggle1to1:{icon:'<svg><path d="M3.51 3.07c5.74.02 11.48-.02 17.22.02 1.37.1 2.34 1.64 2.18 3.13 0 4.08.02 8.16 0 12.23-.1 1.54-1.47 2.64-2.79 2.46-5.61-.01-11.24.02-16.86-.01-1.36-.12-2.33-1.65-2.17-3.14 0-4.07-.02-8.16 0-12.23.1-1.36 1.22-2.48 2.42-2.46Z"/><path d="M5.65 8.54h1.49v6.92m8.94-6.92h1.49v6.92M11.5 9.4v.02m0 5.18v0"/></svg>',action:"toggleZoom"},toggleZoom:{icon:'<svg><g><line x1="11" y1="8" x2="11" y2="14"></line></g><circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M8 11h6"/></svg>',action:"toggleZoom"},iterateZoom:{icon:'<svg><g><line x1="11" y1="8" x2="11" y2="14"></line></g><circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M8 11h6"/></svg>',action:"iterateZoom"},rotateCCW:{icon:'<svg><path d="M15 4.55a8 8 0 0 0-6 14.9M9 15v5H4M18.37 7.16v.01M13 19.94v.01M16.84 18.37v.01M19.37 15.1v.01M19.94 11v.01"/></svg>',action:"rotateCCW"},rotateCW:{icon:'<svg><path d="M9 4.55a8 8 0 0 1 6 14.9M15 15v5h5M5.63 7.16v.01M4.06 11v.01M4.63 15.1v.01M7.16 18.37v.01M11 19.94v.01"/></svg>',action:"rotateCW"},flipX:{icon:'<svg style="stroke-width: 1.3"><path d="M12 3v18M16 7v10h5L16 7M8 7v10H3L8 7"/></svg>',action:"flipX"},flipY:{icon:'<svg style="stroke-width: 1.3"><path d="M3 12h18M7 16h10L7 21v-5M7 8h10L7 3v5"/></svg>',action:"flipY"},fitX:{icon:'<svg><path d="M4 12V6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v6M10 18H3M21 18h-7M6 15l-3 3 3 3M18 15l3 3-3 3"/></svg>',action:"fitX"},fitY:{icon:'<svg><path d="M12 20H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h6M18 14v7M18 3v7M15 18l3 3 3-3M15 6l3-3 3 3"/></svg>',action:"fitY"},reset:{icon:'<svg><path d="M20 11A8.1 8.1 0 0 0 4.5 9M4 5v4h4M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4"/></svg>',action:"reset"},toggleFS:{icon:'<svg><g><path d="M14.5 9.5 21 3m0 0h-6m6 0v6M3 21l6.5-6.5M3 21v-6m0 6h6"/></g><g><path d="m14 10 7-7m-7 7h6m-6 0V4M3 21l7-7m0 0v6m0-6H4"/></g></svg>',action:"toggleFS"}};var Xe;!function(e){e[e.Init=0]="Init",e[e.Ready=1]="Ready",e[e.Disabled=2]="Disabled"}(Xe||(Xe={}));const Ue={tabindex:"-1",width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Ke="has-toolbar",Ze="fancybox__toolbar";class Qe extends q{constructor(){super(...arguments),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:Xe.Init}),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:null})}onReady(e){var t;if(!e.carousel)return;let i=this.option("display"),n=this.option("absolute"),s=this.option("enabled");if("auto"===s){const e=this.instance.carousel;let t=0;if(e)for(const i of e.slides)(i.panzoom||"image"===i.type)&&t++;t||(s=!1)}s||(i=void 0);let o=0;const r={left:[],middle:[],right:[]};if(i)for(const e of["left","middle","right"])for(const n of i[e]){const i=this.createEl(n);i&&(null===(t=r[e])||void 0===t||t.push(i),o++)}let a=null;if(o&&(a=this.createContainer()),a){for(const[e,t]of Object.entries(r)){const i=document.createElement("div");C(i,Ze+"__column is-"+e);for(const e of t)i.appendChild(e);"auto"!==n||"middle"!==e||t.length||(n=!0),a.appendChild(i)}!0===n&&C(a,"is-absolute"),this.state=Xe.Ready,this.onRefresh()}else this.state=Xe.Disabled}onClick(e){var t,i;const n=this.instance,s=n.getSlide(),o=null==s?void 0:s.panzoom,r=e.target,a=r&&x(r)?r.dataset:null;if(!a)return;if(void 0!==a.fancyboxToggleThumbs)return e.preventDefault(),e.stopPropagation(),void(null===(t=n.plugins.Thumbs
17)||void 0===t||t.toggle());if(void 0!==a.fancyboxToggleFullscreen)return e.preventDefault(),e.stopPropagation(),void this.instance.toggleFullscreen();if(void 0!==a.fancyboxToggleSlideshow){e.preventDefault(),e.stopPropagation();const t=null===(i=n.carousel)||void 0===i?void 0:i.plugins.Autoplay;let s=t.isActive;return o&&"mousemove"===o.panMode&&!s&&o.reset(),void(s?t.stop():t.start())}const l=a.panzoomAction,c=a.panzoomChange;if((c||l)&&(e.preventDefault(),e.stopPropagation()),c){let t={};try{t=JSON.parse(c)}catch(e){}o&&o.applyChange(t)}else l&&o&&o[l]&&o[l]()}onChange(){this.onRefresh()}onRefresh(){if(this.instance.isClosing())return;const e=this.container;if(!e)return;const t=this.instance.getSlide();if(!t||t.state!==ce.Ready)return;const i=t&&!t.error&&t.panzoom;for(const t of e.querySelectorAll("[data-panzoom-action]"))i?(t.removeAttribute("disabled"),t.removeAttribute("tabindex")):(t.setAttribute("disabled",""),t.setAttribute("tabindex","-1"));let n=i&&i.canZoomIn(),s=i&&i.canZoomOut();for(const t of e.querySelectorAll('[data-panzoom-action="zoomIn"]'))n?(t.removeAttribute("disabled"),t.removeAttribute("tabindex")):(t.setAttribute("disabled",""),t.setAttribute("tabindex","-1"));for(const t of e.querySelectorAll('[data-panzoom-action="zoomOut"]'))s?(t.removeAttribute("disabled"),t.removeAttribute("tabindex")):(t.setAttribute("disabled",""),t.setAttribute("tabindex","-1"));for(const t of e.querySelectorAll('[data-panzoom-action="toggleZoom"],[data-panzoom-action="iterateZoom"]')){s||n?(t.removeAttribute("disabled"),t.removeAttribute("tabindex")):(t.setAttribute("disabled",""),t.setAttribute("tabindex","-1"));const e=t.querySelector("g");e&&(e.style.display=n?"":"none")}}onDone(e,t){var i;null===(i=t.panzoom)||void 0===i||i.on("afterTransform",()=>{this.instance.isCurrentSlide(t)&&this.onRefresh()}),this.instance.isCurrentSlide(t)&&this.onRefresh()}createContainer(){const e=this.instance.container;if(!e)return null;const t=this.option("parentEl")||e;let i=t.querySelector("."+Ze);return i||(i=document.createElement("div"),C(i,Ze),t.prepend(i)),i.addEventListener("click",this.onClick,{passive:!1,capture:!0}),e&&C(e,Ke),this.container=i,i}createEl(e){const t=this.instance,i=t.carousel;if(!i)return null;if("toggleFS"===e)return null;if("fullscreen"===e&&!re())return null;let n=null;const s=i.slides.length||0;let o=0,a=0;for(const e of i.slides)(e.panzoom||"image"===e.type)&&o++,("image"===e.type||e.downloadSrc)&&a++;if(s<2&&["infobar","prev","next"].includes(e))return n;if(void 0!==Ye[e]&&!o)return null;if("download"===e&&!a)return null;if("thumbs"===e){const e=t.plugins.Thumbs;if(!e||!e.isEnabled)return null}if("slideshow"===e&&(!i.plugins.Autoplay||s<2))return null;if(void 0!==Ye[e]){const t=Ye[e];(n=document.createElement("button")).setAttribute("title",this.instance.localize(`{{${e.toUpperCase()}}}`)),C(n,"f-button"),t.action&&(n.dataset.panzoomAction=t.action),t.change&&(n.dataset.panzoomChange=JSON.stringify(t.change)),n.appendChild(r(this.instance.localize(t.icon)))}else{const t=(this.option("items")||[])[e];t&&(n=r(this.instance.localize(t.tpl)),"function"==typeof t.click&&n.addEventListener("click",e=>{e.preventDefault(),e.stopPropagation(),"function"==typeof t.click&&t.click.call(this,this,e)}))}const l=null==n?void 0:n.querySelector("svg");if(l)for(const[e,t]of Object.entries(Ue))l.getAttribute(e)||l.setAttribute(e,String(t));return n}removeContainer(){const e=this.container;e&&e.remove(),this.container=null,this.state=Xe.Disabled;const t=this.instance.container;t&&S(t,Ke)}attach(){const e=this,t=e.instance;t.on("Carousel.initSlides",e.onReady),t.on("done",e.onDone),t.on(["reveal","Carousel.change"],e.onChange),e.onReady(e.instance)}detach(){const e=this,t=e.instance;t.off("Carousel.initSlides",e.onReady),t.off("done",e.onDone),t.off(["reveal","Carousel.change"],e.onChange),e.removeContainer()}}Object.defineProperty(Qe,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{absolute:"auto",display:{left:["infobar"],middle:[],right:["iterateZoom","slideshow","fullscreen","thumbs","close"]},enabled:"auto",items:{infobar:{tpl:'<div class="fancybox__infobar" tabindex="-1"><span data-fancybox-current-index></span>/<span data-fancybox-count></span></div>'},download:{tpl:'<a class="f-button" title="{{DOWNLOAD}}" data-fancybox-download href="javasript:;"><svg><path d="M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2M7 11l5 5 5-5M12 4v12"/></svg></a>'},prev:{tpl:'<button class="f-button" title="{{PREV}}" data-fancybox-prev><svg><path d="m15 6-6 6 6 6"/></svg></button>'},next:{tpl:'<button class="f-button" title="{{NEXT}}" data-fancybox-next><svg><path d="m9 6 6 6-6 6"/></svg></button>'},slideshow:{tpl:'<button class="f-button" title="{{TOGGLE_SLIDESHOW}}" data-fancybox-toggle-slideshow><svg><g><path d="M8 4v16l13 -8z"></path></g><g>
17<path d="M8 4v15M17 4v15"/></g></svg></button>'},fullscreen:{tpl:'<button class="f-button" title="{{TOGGLE_FULLSCREEN}}" data-fancybox-toggle-fullscreen><svg><g><path d="M4 8V6a2 2 0 0 1 2-2h2M4 16v2a2 2 0 0 0 2 2h2M16 4h2a2 2 0 0 1 2 2v2M16 20h2a2 2 0 0 0 2-2v-2"/></g><g><path d="M15 19v-2a2 2 0 0 1 2-2h2M15 5v2a2 2 0 0 0 2 2h2M5 15h2a2 2 0 0 1 2 2v2M5 9h2a2 2 0 0 0 2-2V5"/></g></svg></button>'},thumbs:{tpl:'<button class="f-button" title="{{TOGGLE_THUMBS}}" data-fancybox-toggle-thumbs><svg><circle cx="5.5" cy="5.5" r="1"/><circle cx="12" cy="5.5" r="1"/><circle cx="18.5" cy="5.5" r="1"/><circle cx="5.5" cy="12" r="1"/><circle cx="12" cy="12" r="1"/><circle cx="18.5" cy="12" r="1"/><circle cx="5.5" cy="18.5" r="1"/><circle cx="12" cy="18.5" r="1"/><circle cx="18.5" cy="18.5" r="1"/></svg></button>'},close:{tpl:'<button class="f-button" title="{{CLOSE}}" data-fancybox-close><svg><path d="m19.5 4.5-15 15M4.5 4.5l15 15"/></svg></button>'}},parentEl:null}});const Je={Hash:class extends q{onReady(){ue=!1}onChange(e){pe&&clearTimeout(pe);const{hash:t}=fe(),{hash:i}=me(),n=e.isOpeningSlide(e.getSlide());n&&(de=i===t?"":i),t&&t!==i&&(pe=setTimeout(()=>{try{if(e.state===le.Ready){let e="replaceState";n&&!he&&(e="pushState",he=!0),window.history[e]({},document.title,window.location.pathname+window.location.search+t)}}catch(e){}},300))}onClose(e){if(pe&&clearTimeout(pe),!ue&&he)return he=!1,ue=!1,void window.history.back();if(!ue)try{window.history.replaceState({},document.title,window.location.pathname+window.location.search+(de||""))}catch(e){}}attach(){const e=this.instance;e.on("ready",this.onReady),e.on(["Carousel.ready","Carousel.change"],this.onChange),e.on("close",this.onClose)}detach(){const e=this.instance;e.off("ready",this.onReady),e.off(["Carousel.ready","Carousel.change"],this.onChange),e.off("close",this.onClose)}static parseURL(){return me()}static startFromUrl(){ge()}static destroy(){window.removeEventListener("hashchange",be,!1)}},Html:Le,Images:Ee,Slideshow:Ie,Thumbs:Ge,Toolbar:Qe},et="with-fancybox",tt="hide-scrollbar",it="--fancybox-scrollbar-compensate",nt="--fancybox-body-margin",st="aria-hidden",ot="is-using-tab",rt="is-animated",at="is-compact",lt="is-loading",ct="is-opening",dt="has-caption",ut="disabled",ht="tabindex",pt="download",ft="href",mt="src",gt=e=>"string"==typeof e,vt=function(){var e=window.getSelection();return!!e&&"Range"===e.type};let bt,yt=null,wt=null,Et=0,_t=0,Ot=0,Tt=0;const xt=new Map;let St=0;class Ct extends b{get isIdle(){return this.idle}get isCompact(){return this.option("compact")}constructor(e=[],t={},i={}){super(t),Object.defineProperty(this,"userSlides",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"userPlugins",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"idle",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"idleTimer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"clickTimer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"pwt",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"ignoreFocusChange",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"startedFs",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"state",{enumerable:!0,configurable:!0,writable:!0,value:le.Init}),Object.defineProperty(this,"id",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"footer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"carousel",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"lastFocus",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"prevMouseMoveEvent",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),bt||(bt=re()),this.id=t.id||++St,xt.set(this.id,this),this.userSlides=e,this.userPlugins=i,queueMicrotask(()=>{this.init()})}init(){if(this.state===le.Destroy)return;this.state=le.Init,this.attachPlugins(Object.assign(Object.assign({}
17,Ct.Plugins),this.userPlugins)),this.emit("init"),this.emit("attachPlugins"),!0===this.option("hideScrollbar")&&(()=>{if(!ie)return;const e=document,t=e.body,i=e.documentElement;if(t.classList.contains(tt))return;let n=window.innerWidth-i.getBoundingClientRect().width;const s=parseFloat(window.getComputedStyle(t).marginRight);n<0&&(n=0),i.style.setProperty(it,`${n}px`),s&&t.style.setProperty(nt,`${s}px`),t.classList.add(tt)})(),this.initLayout(),this.scale();const e=()=>{this.initCarousel(this.userSlides),this.state=le.Ready,this.attachEvents(),this.emit("ready"),setTimeout(()=>{this.container&&this.container.setAttribute(st,"false")},16)};this.option("Fullscreen.autoStart")&&bt&&!bt.isFullscreen()?bt.request().then(()=>{this.startedFs=!0,e()}).catch(()=>e()):e()}initLayout(){var e,t;const i=this.option("parentEl")||document.body,n=r(this.localize(this.option("tpl.main")||""));if(n){if(n.setAttribute("id",`fancybox-${this.id}`),n.setAttribute("aria-label",this.localize("{{MODAL}}")),n.classList.toggle(at,this.isCompact),C(n,this.option("mainClass")||""),C(n,ct),this.container=n,this.footer=n.querySelector(".fancybox__footer"),i.appendChild(n),C(document.documentElement,et),yt&&wt||(yt=document.createElement("span"),C(yt,"fancybox-focus-guard"),yt.setAttribute(ht,"0"),yt.setAttribute(st,"true"),yt.setAttribute("aria-label","Focus guard"),wt=yt.cloneNode(),null===(e=n.parentElement)||void 0===e||e.insertBefore(yt,n),null===(t=n.parentElement)||void 0===t||t.append(wt)),n.addEventListener("mousedown",e=>{Et=e.pageX,_t=e.pageY,S(n,ot)}),this.option("closeExisting"))for(const e of xt.values())e.id!==this.id&&e.close();else this.option("animated")&&(C(n,rt),setTimeout(()=>{this.isClosing()||S(n,rt)},350));this.emit("initLayout")}}initCarousel(e){const t=this.container;if(!t)return;const i=t.querySelector(".fancybox__carousel");if(!i)return;const n=this.carousel=new ee(i,m({},{slides:e,transition:"fade",Panzoom:{lockAxis:this.option("dragToClose")?"xy":"x",infinite:!!this.option("dragToClose")&&"y"},Dots:!1,Navigation:{classes:{container:"fancybox__nav",button:"f-button",isNext:"is-next",isPrev:"is-prev"}},initialPage:this.option("startIndex"),l10n:this.option("l10n")},this.option("Carousel")||{}));n.on("*",(e,t,...i)=>{this.emit(`Carousel.${t}`,e,...i)}),n.on(["ready","change"],()=>{this.manageCaption()}),this.on("Carousel.removeSlide",(e,t,i)=>{this.clearContent(i),i.state=void 0}),n.on("Panzoom.touchStart",()=>{var e,t;this.isCompact||this.endIdle(),(null===(e=document.activeElement)||void 0===e?void 0:e.closest(".f-thumbs"))&&(null===(t=this.container)||void 0===t||t.focus())}),n.on("settle",()=>{this.idleTimer||this.isCompact||!this.option("idle")||this.setIdle(),this.option("autoFocus")&&!this.isClosing&&this.checkFocus()}),this.option("dragToClose")&&(n.on("Panzoom.afterTransform",(e,t)=>{const i=this.getSlide();if(i&&s(i.el))return;const n=this.container;if(n){const e=Math.abs(t.current.f),i=e<1?"":Math.max(.5,Math.min(1,1-e/t.contentRect.fitHeight*1.5));n.style.setProperty("--fancybox-ts",i?"0s":""),n.style.setProperty("--fancybox-opacity",i+"")}}),n.on("Panzoom.touchEnd",(e,t,i)=>{var n;const o=this.getSlide();if(o&&s(o.el))return;if(t.isMobile&&document.activeElement&&-1!==["TEXTAREA","INPUT"].indexOf(null===(n=document.activeElement)||void 0===n?void 0:n.nodeName))return;const r=Math.abs(t.dragOffset.y);"y"===t.lockedAxis&&(r>=200||r>=50&&t.dragOffset.time<300)&&(i&&i.cancelable&&i.preventDefault(),this.close(i,"f-throwOut"+(t.current.f<0?"Up":"Down")))})),n.on("change",e=>{var t;let i=null===(t=this.getSlide())||void 0===t?void 0:t.triggerEl;if(i){const t=new CustomEvent("slideTo",{bubbles:!0,cancelable:!0,detail:e.page});i.dispatchEvent(t)}}),n.on(["refresh","change"],e=>{const t=this.container;if(!t)return;for(const i of t.querySelectorAll("[data-fancybox-current-index]"))i.innerHTML=e.page+1;for(const i of t.querySelectorAll("[data-fancybox-count]"))i.innerHTML=e.pages.length;if(!e.isInfinite){for(const i of t.querySelectorAll("[data-fancybox-next]"))e.page<e.pages.length-1?(i.removeAttribute(ut),i.removeAttribute(ht)):(i.setAttribute(ut,""),i.setAttribute(ht,"-1"));for(const i of t.querySelectorAll("[data-fancybox-prev]"))e.page>0?(i.removeAttribute(ut),i.removeAttribute(ht)):(i.setAttribute(ut,""),i.setAttribute(ht,"-1"))}const i=this.getSlide();if(!i)return;let n=i.downloadSrc||"";n||"image"!==i.type||i.error||!gt(i[mt])||(n=i[mt]);for(const e of t.querySelectorAll("[data-fancybox-download]")){const t=i.downloadFilename;n?(e.removeAttribute(ut),e.removeAttribute(ht),e.setAttribute(ft,n),e.setAttribute(pt,t||n),e.setAttribute("target","_blank")):(e.setAttribute(ut,""),e.setAttribute(ht,"-1"),e.removeAttribute(ft),e.removeAttribute(pt))}}
17),this.emit("initCarousel")}attachEvents(){const e=this,t=e.container;if(!t)return;t.addEventListener("click",e.onClick,{passive:!1,capture:!1}),t.addEventListener("wheel",e.onWheel,{passive:!1,capture:!1}),document.addEventListener("keydown",e.onKeydown,{passive:!1,capture:!0}),document.addEventListener("visibilitychange",e.onVisibilityChange,!1),document.addEventListener("mousemove",e.onMousemove),e.option("trapFocus")&&document.addEventListener("focus",e.onFocus,!0),window.addEventListener("resize",e.onResize);const i=window.visualViewport;i&&(i.addEventListener("scroll",e.onResize),i.addEventListener("resize",e.onResize))}detachEvents(){const e=this,t=e.container;if(!t)return;document.removeEventListener("keydown",e.onKeydown,{passive:!1,capture:!0}),t.removeEventListener("wheel",e.onWheel,{passive:!1,capture:!1}),t.removeEventListener("click",e.onClick,{passive:!1,capture:!1}),document.removeEventListener("mousemove",e.onMousemove),window.removeEventListener("resize",e.onResize);const i=window.visualViewport;i&&(i.removeEventListener("resize",e.onResize),i.removeEventListener("scroll",e.onResize)),document.removeEventListener("visibilitychange",e.onVisibilityChange,!1),document.removeEventListener("focus",e.onFocus,!0)}scale(){const e=this.container;if(!e)return;const t=window.visualViewport,i=Math.max(1,(null==t?void 0:t.scale)||1);let n="",s="",o="";if(t&&i>1){let e=`${t.offsetLeft}px`,r=`${t.offsetTop}px`;n=t.width*i+"px",s=t.height*i+"px",o=`translate3d(${e}, ${r}, 0) scale(${1/i})`}e.style.transform=o,e.style.width=n,e.style.height=s}onClick(e){var t;const{container:i,isCompact:n}=this;if(!i||this.isClosing())return;!n&&this.option("idle")&&this.resetIdle();const s=e.composedPath()[0];if(s.closest(".fancybox-spinner")||s.closest("[data-fancybox-close]"))return e.preventDefault(),void this.close(e);if(s.closest("[data-fancybox-prev]"))return e.preventDefault(),void this.prev();if(s.closest("[data-fancybox-next]"))return e.preventDefault(),void this.next();if("click"===e.type&&0===e.detail)return;if(Math.abs(e.pageX-Et)>30||Math.abs(e.pageY-_t)>30)return;const o=document.activeElement;if(vt()&&o&&i.contains(o))return;if(n&&"image"===(null===(t=this.getSlide())||void 0===t?void 0:t.type))return void(this.clickTimer?(clearTimeout(this.clickTimer),this.clickTimer=null):this.clickTimer=setTimeout(()=>{this.toggleIdle(),this.clickTimer=null},350));if(this.emit("click",e),e.defaultPrevented)return;let r=!1;if(s.closest(".fancybox__content")){if(o){if(o.closest("[contenteditable]"))return;s.matches(se)||o.blur()}if(vt())return;r=this.option("contentClick")}else s.closest(".fancybox__carousel")&&!s.matches(se)&&(r=this.option("backdropClick"));"close"===r?(e.preventDefault(),this.close(e)):"next"===r?(e.preventDefault(),this.next()):"prev"===r&&(e.preventDefault(),this.prev())}onWheel(e){const t=e.target;let i=this.option("wheel",e);t.closest(".fancybox__thumbs")&&(i="slide");const n="slide"===i,s=[-e.deltaX||0,-e.deltaY||0,-e.detail||0].reduce(function(e,t){return Math.abs(t)>Math.abs(e)?t:e}),r=Math.max(-1,Math.min(1,s)),a=Date.now();this.pwt&&a-this.pwt<300?n&&e.preventDefault():(this.pwt=a,this.emit("wheel",e,r),e.defaultPrevented||("close"===i?(e.preventDefault(),this.close(e)):"slide"===i&&(o(t)||(e.preventDefault(),this[r>0?"prev":"next"]()))))}onScroll(){window.scrollTo(Ot,Tt)}onKeydown(e){if(!this.isTopmost())return;this.isCompact||!this.option("idle")||this.isClosing()||this.resetIdle();const t=e.key,i=this.option("keyboard");if(!i)return;const n=e.composedPath()[0],s=document.activeElement&&document.activeElement.classList,o=s&&s.contains("f-button")||n.dataset.carouselPage||n.dataset.carouselIndex;if("Escape"!==t&&!o&&x(n)&&(n.isContentEditable||-1!==["TEXTAREA","OPTION","INPUT","SELECT","VIDEO"].indexOf(n.nodeName)))return;if("Tab"===e.key?C(this.container,ot):S(this.container,ot),e.ctrlKey||e.altKey||e.shiftKey)return;this.emit("keydown",t,e);const r=i[t];r&&"function"==typeof this[r]&&(e.preventDefault(),this[r]())}onResize(){const e=this.container;if(!e)return;const t=this.isCompact;e.classList.toggle(at,t),this.manageCaption(this.getSlide()),this.isCompact?this.clearIdle():this.endIdle(),this.scale(),this.emit
17("resize")}onFocus(e){this.isTopmost()&&this.checkFocus(e)}onMousemove(e){this.prevMouseMoveEvent=e,!this.isCompact&&this.option("idle")&&this.resetIdle()}onVisibilityChange(){"visible"===document.visibilityState?this.checkFocus():this.endIdle()}manageCloseBtn(e){const t=this.optionFor(e,"closeButton")||!1;if("auto"===t){const e=this.plugins.Toolbar;if(e&&e.state===Xe.Ready)return}if(!t)return;if(!e.contentEl||e.closeBtnEl)return;const i=this.option("tpl.closeButton");if(i){const t=r(this.localize(i));e.closeBtnEl=e.contentEl.appendChild(t),e.el&&C(e.el,"has-close-btn")}}manageCaption(e){var t,i;const n="fancybox__caption",s=this.container;if(!s)return;S(s,dt);const o=this.isCompact||this.option("commonCaption"),r=!o;if(this.caption&&this.stop(this.caption),r&&this.caption&&(this.caption.remove(),this.caption=null),o&&!this.caption)for(const e of(null===(t=this.carousel)||void 0===t?void 0:t.slides)||[])e.captionEl&&(e.captionEl.remove(),e.captionEl=void 0,S(e.el,dt),null===(i=e.el)||void 0===i||i.removeAttribute("aria-labelledby"));if(e||(e=this.getSlide()),!e||o&&!this.isCurrentSlide(e))return;const a=e.el;let l=this.optionFor(e,"caption","");if(!l)return void(o&&this.caption&&this.animate(this.caption,"f-fadeOut",()=>{this.caption&&(this.caption.innerHTML="")}));let c=null;if(r){if(c=e.captionEl||null,a&&!c){const t=n+`_${this.id}_${e.index}`;c=document.createElement("div"),C(c,n),c.setAttribute("id",t),e.captionEl=a.appendChild(c),C(a,dt),a.setAttribute("aria-labelledby",t)}}else(c=this.caption)||(c=s.querySelector("."+n)),c||((c=document.createElement("div")).dataset.fancyboxCaption="",C(c,n),(this.footer||s).prepend(c)),C(s,dt),this.caption=c;c&&(c.innerHTML="",gt(l)||"number"==typeof l?c.innerHTML=l+"":l instanceof HTMLElement&&c.appendChild(l))}checkFocus(e){this.focus(e)}focus(e){var t;if(this.ignoreFocusChange)return;const i=document.activeElement||null,n=(null==e?void 0:e.target)||null,s=this.container,o=null===(t=this.carousel)||void 0===t?void 0:t.viewport;if(!s||!o)return;if(!e&&i&&s.contains(i))return;const r=this.getSlide(),a=r&&r.state===ce.Ready?r.el:null;if(!a||a.contains(i)||s===i)return;e&&e.cancelable&&e.preventDefault(),this.ignoreFocusChange=!0;const l=Array.from(s.querySelectorAll(se));let c=[],d=null;for(let e of l){const t=!e.offsetParent||!!e.closest('[aria-hidden="true"]'),i=a&&a.contains(e),n=!o.contains(e);if(e===s||(i||n)&&!t){c.push(e);const t=e.dataset.origTabindex;void 0!==t&&t&&(e.tabIndex=parseFloat(t)),e.removeAttribute("data-orig-tabindex"),!e.hasAttribute("autoFocus")&&d||(d=e)}else{const t=void 0===e.dataset.origTabindex?e.getAttribute("tabindex")||"":e.dataset.origTabindex;t&&(e.dataset.origTabindex=t),e.tabIndex=-1}}let u=null;e?(!n||c.indexOf(n)<0)&&(u=d||s,c.length&&(i===wt?u=c[0]:this.lastFocus!==s&&i!==yt||(u=c[c.length-1]))):u=r&&"image"===r.type?s:d||s,u&&oe(u),this.lastFocus=document.activeElement,this.ignoreFocusChange=!1}next(){const e=this.carousel;e&&e.pages.length>1&&e.slideNext()}prev(){const e=this.carousel;e&&e.pages.length>1&&e.slidePrev()}jumpTo(...e){this.carousel&&this.carousel.slideTo(...e)}isTopmost(){var e;return(null===(e=Ct.getInstance())||void 0===e?void 0:e.id)==this.id}animate(e=null,t="",i){if(!e||!t)return void(i&&i());this.stop(e);const n=s=>{s.target===e&&e.dataset.animationName&&(e.removeEventListener("animationend",n),delete e.dataset.animationName,i&&i(),S(e,t))};e.dataset.animationName=t,e.addEventListener("animationend",n),C(e,t)}stop(e){e&&e.dispatchEvent(new CustomEvent("animationend",{bubbles:!1,cancelable:!0,currentTarget:e}))}setContent(e,t="",i=!0){if(this.isClosing())return;const n=e.el;if(!n)return;let s=null;if(x(t)?s=t:(s=r(t+""),x(s)||((s=document.createElement("div")).innerHTML=t+"")),["img","picture","iframe","video","audio"].includes(s.nodeName.toLowerCase())){const e=document.createElement("div");e.appendChild(s),s=e}x(s)&&e.filter&&!e.error&&(s=s.querySelector(e.filter)),s&&x(s)?(C(s,"fancybox__content"),e.id&&s.setAttribute("id",e.id),n.classList.add(`has-${e.error?"error":e.type||"unknown"}`),n.prepend(s),"none"===s.style.display&&(s.style.display=""),"none"===getComputedStyle(s).getPropertyValue("display")&&(s.style.display=e.display||this.option("defaultDisplay")||"flex"),e.contentEl=s,i&&this.revealContent(e),this.manageCloseBtn(e),this.manageCaption(e)):this.setError(e,"{{ELEMENT_NOT_FOUND}}")}revealContent(e,t){const i=e.el,n=e.contentEl;
17i&&n&&(this.emit("reveal",e),this.hideLoading(e),e.state=ce.Opening,(t=this.isOpeningSlide(e)?void 0===t?this.optionFor(e,"showClass"):t:"f-fadeIn")?this.animate(n,t,()=>{this.done(e)}):this.done(e))}done(e){this.isClosing()||(e.state=ce.Ready,this.emit("done",e),C(e.el,"is-done"),this.isCurrentSlide(e)&&this.option("autoFocus")&&queueMicrotask(()=>{var t;null===(t=e.panzoom)||void 0===t||t.updateControls(),this.option("autoFocus")&&this.focus()}),this.isOpeningSlide(e)&&(S(this.container,ct),!this.isCompact&&this.option("idle")&&this.setIdle()))}isCurrentSlide(e){const t=this.getSlide();return!(!e||!t)&&t.index===e.index}isOpeningSlide(e){var t,i;return null===(null===(t=this.carousel)||void 0===t?void 0:t.prevPage)&&e&&e.index===(null===(i=this.getSlide())||void 0===i?void 0:i.index)}showLoading(e){e.state=ce.Loading;const t=e.el;t&&(C(t,lt),this.emit("loading",e),e.spinnerEl||setTimeout(()=>{if(!this.isClosing()&&!e.spinnerEl&&e.state===ce.Loading){let i=r(T);C(i,"fancybox-spinner"),e.spinnerEl=i,t.prepend(i),this.animate(i,"f-fadeIn")}},250))}hideLoading(e){const t=e.el;if(!t)return;const i=e.spinnerEl;this.isClosing()?null==i||i.remove():(S(t,lt),i&&this.animate(i,"f-fadeOut",()=>{i.remove()}
17),e.state===ce.Loading&&(this.emit("loaded",e),e.state=ce.Ready))}setError(e,t){if(this.isClosing())return;const i=new Event("error",{bubbles:!0,cancelable:!0});if(this.emit("error",i,e),i.defaultPrevented)return;e.error=t,this.hideLoading(e),this.clearContent(e);const n=document.createElement("div");n.classList.add("fancybox-error"),n.innerHTML=this.localize(t||"<p>{{ERROR}}</p>"),this.setContent(e,n)}clearContent(e){if(void 0===e.state)return;this.emit("clearContent",e),e.contentEl&&(e.contentEl.remove(),e.contentEl=void 0);const t=e.el;t&&(S(t,"has-error"),S(t,"has-unknown"),S(t,`has-${e.type||"unknown"}`)),e.closeBtnEl&&e.closeBtnEl.remove(),e.closeBtnEl=void 0,e.captionEl&&e.captionEl.remove(),e.captionEl=void 0,e.spinnerEl&&e.spinnerEl.remove(),e.spinnerEl=void 0}getSlide(){var e;const t=this.carousel;return(null===(e=null==t?void 0:t.pages[null==t?void 0:t.page])||void 0===e?void 0:e.slides[0])||void 0}close(e,t){if(this.isClosing())return;const i=new Event("shouldClose",{bubbles:!0,cancelable:!0});if(this.emit("shouldClose",i,e),i.defaultPrevented)return;e&&e.cancelable&&(e.preventDefault(),e.stopPropagation());const n=()=>{this.proceedClose(e,t)};this.startedFs&&bt&&bt.isFullscreen()?Promise.resolve(bt.exit()).then(()=>n()):n()}clearIdle(){this.idleTimer&&clearTimeout(this.idleTimer),this.idleTimer=null}setIdle(e=!1){const t=()=>{this.clearIdle(),this.idle=!0,C(this.container,"is-idle"),this.emit("setIdle")};if(this.clearIdle(),!this.isClosing())if(e)t();else{const e=this.option("idle");e&&(this.idleTimer=setTimeout(t,e))}}endIdle(){this.clearIdle(),this.idle&&!this.isClosing()&&(this.idle=!1,S(this.container,"is-idle"),this.emit("endIdle"))}resetIdle(){this.endIdle(),this.setIdle()}toggleIdle(){this.idle?this.endIdle():this.setIdle(!0)}toggleFullscreen(){bt&&(bt.isFullscreen()?bt.exit():bt.request().then(()=>{this.startedFs=!0}))}isClosing(){return[le.Closing,le.CustomClosing,le.Destroy].includes(this.state)}proceedClose(e,t){var i,n;this.state=le.Closing,this.clearIdle(),this.detachEvents();const s=this.container,o=this.carousel,r=this.getSlide(),a=r&&this.option("placeFocusBack")?r.triggerEl||this.option("triggerEl"):null;if(a&&(te(a)?oe(a):a.focus()),s&&(S(s,ct),C(s,"is-closing"),s.setAttribute(st,"true"),this.option("animated")&&C(s,rt),s.style.pointerEvents="none"),o){o.clearTransitions(),null===(i=o.panzoom)||void 0===i||i.destroy(),null===(n=o.plugins.Navigation)||void 0===n||n.detach();for(const e of o.slides){e.state=ce.Closing,this.hideLoading(e);const t=e.contentEl;t&&this.stop(t);const i=null==e?void 0:e.panzoom;i&&(i.stop(),i.detachEvents(),i.detachObserver()),this.isCurrentSlide(e)||o.emit("removeSlide",e)}}Ot=window.scrollX,Tt=window.scrollY,window.addEventListener("scroll",this.onScroll),this.emit("close",e),this.state!==le.CustomClosing?(void 0===t&&r&&(t=this.optionFor(r,"hideClass")),t&&r?(this.animate(r.contentEl,t,()=>{o&&o.emit("removeSlide",r)}),setTimeout(()=>{this.destroy()},500)):this.destroy()):setTimeout(()=>{this.destroy()},500)}destroy(){var e;if(this.state===le.Destroy)return;window.removeEventListener("scroll",this.onScroll),this.state=le.Destroy,null===(e=this.carousel)||void 0===e||e.destroy();const t=this.container;t&&t.remove(),xt.delete(this.id);const i=Ct.getInstance();i?i.focus():(yt&&(yt.remove(),yt=null),wt&&(wt.remove(),wt=null),S(document.documentElement,et),(()=>{if(!ie)return;const e=document,t=e.body;t.classList.remove(tt),t.style.setProperty(nt,""),e.documentElement.style.setProperty(it,"")})(),this.emit("destroy"))}static bind(e,t,i){if(!ie)return;let n,s="",o={};if(void 0===e?n=document.body:gt(e)?(n=document.body,s=e,"object"==typeof t&&(o=t||{})):(n=e,gt(t)&&(s=t),"object"==typeof i&&(o=i||{})),!n||!x(n))return;s=s||"[data-fancybox]";const r=Ct.openers.get(n)||new Map;r.set(s,o),Ct.openers.set(n,r),1===r.size&&n.addEventListener("click",Ct.fromEvent)}static unbind(e,t){let i,n="";if(gt(e)?(i=document.body,n=e):(i=e,gt(t)&&(n=t)),!i)return;const s=Ct.openers.get(i);s&&n&&s.delete(n),n&&s||(Ct.openers.delete(i),i.removeEventListener("click",Ct.fromEvent))}static destroy(){let e;for(;e=Ct.getInstance();)e.destroy();for(const e of Ct.openers.keys())e.removeEventListener("click",Ct.fromEvent);Ct.openers=new Map}static fromEvent(e){if(e.defaultPrevented)return;if(e.button&&0!==e.button)return;if(e.ctrlKey||e.metaKey||e.shiftKey)return;let t=e.composedPath()[0];const i=t.closest("[data-fancybox-trigger]");if(i){const e=i.dataset.fancyboxTrigger||"",n=document.querySelectorAll(`[data-fancybox="${e}"]`),s=parseInt(i.dataset.fancyboxIndex||"",10)||0;t=n[s]||t}if(!(t&&t instanceof Element))return;let n,s,o,r;if([...Ct.openers].reverse().find(([e,i])=>!(!e.contains(t)||![...i].reverse().find(([i,a])=>{let l=t.closest(i);return!!l&&(n=e,s=i,o=l,r=a,!0)}))),!n||!s||!o)return;r=r||{},e.preventDefault(),t=o;let a=[],l=m({},ae,r);l.event=e,l.triggerEl=t,l.delegate=i;const c=l.groupAll,d=l.groupAttr,u=d&&t?t.getAttribute(`${d}`):"";if((!t||u||c)&&(a=[].slice.call(n.querySelectorAll(s))),t&&!c&&(a=u?a.filter(e=>e.getAttribute(`${d}`)===u):[t]),!a.length)return;const h=Ct.getInstance();return h&&h.options.triggerEl&&a.indexOf(h.options.triggerEl)>-1?void 0:(t&&(l.startIndex=a.indexOf(t)),Ct.fromNodes(a,l))}static fromSelector(e,t,i){let n=null,s="",o={};if(gt(e)?(n=document.body,s=e,"object"==typeof t&&(o=t||{})):e instanceof HTMLElement&>(t)&&(n=e,s=t,"object"==typeof i&&(o=i||{})),!n||!s)return!1;const r=Ct.openers.get(n);return!!r&&(!!(o=m({},r.get(s)||{},o))&&Ct.fromNodes(Array.from(n.querySelectorAll(s)),o))}
17static fromNodes(e,t){t=m({},ae,t||{});const i=[];for(const n of e){const e=n.dataset||{},s=e[mt]||n.getAttribute(ft)||n.getAttribute("currentSrc")||n.getAttribute(mt)||void 0;let o;const r=t.delegate;let a;r&&i.length===t.startIndex&&(o=r instanceof HTMLImageElement?r:r.querySelector("img:not([aria-hidden])")),o||(o=n instanceof HTMLImageElement?n:n.querySelector("img:not([aria-hidden])")),o&&(!(a=o.currentSrc||o[mt]||void 0)&&o.dataset&&(a=o.dataset.lazySrc||o.dataset[mt]||void 0));const l={src:s,triggerEl:n,thumbEl:o,thumbElSrc:a,thumbSrc:a};for(const t in e){let i=e[t]+"";i="false"!==i&&("true"===i||i),l[t]=i}i.push(l)}return new Ct(i,t)}static getInstance(e){return e?xt.get(e):Array.from(xt.values()).reverse().find(e=>!e.isClosing()&&e)||null}static getSlide(){var e;return(null===(e=Ct.getInstance())||void 0===e?void 0:e.getSlide())||null}static show(e=[],t={}){return new Ct(e,t)}static next(){const e=Ct.getInstance();e&&e.next()}static prev(){const e=Ct.getInstance();e&&e.prev()}static close(e=!0,...t){if(e)for(const e of xt.values())e.close(...t);else{const e=Ct.getInstance();e&&e.close(...t)}}}Object.defineProperty(Ct,"version",{enumerable:!0,configurable:!0,writable:!0,value:"5.0.36"}),Object.defineProperty(Ct,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:ae}),Object.defineProperty(Ct,"Plugins",{enumerable:!0,configurable:!0,writable:!0,value:Je}),Object.defineProperty(Ct,"openers",{enumerable:!0,configurable:!0,writable:!0,value:new Map})},function(e,t,i){"use strict";i.d(t,"a",function(){return n});const n={PANUP:"Déplacer vers le haut",PANDOWN:"Déplacer vers le bas",PANLEFT:"Déplacer vers la gauche",PANRIGHT:"Déplacer vers la droite",ZOOMIN:"Zoom avant",ZOOMOUT:"Zoom arrière",TOGGLEZOOM:"Basculer le niveau de zoom",TOGGLE1TO1:"Basculer le niveau de zoom",ITERATEZOOM:"Basculer le niveau de zoom",ROTATECCW:"Tourner dans le sens antihoraire",ROTATECW:"Le sens des aiguilles d'une montre",FLIPX:"Retourner horizontalement",FLIPY:"Retourner verticalement",FITX:"Ajuster horizontalement",FITY:"Ajuster verticalement",RESET:"Réinitialiser",TOGGLEFS:"Basculer en plein écran",CLOSE:"Fermer",NEXT:"Suivant",PREV:"Précédent",MODAL:"Vous pouvez fermer ce contenu modal avec la touche ESC",ERROR:"Quelque chose s'est mal passé, veuillez réessayer plus tard",IMAGE_ERROR:"Image introuvable",ELEMENT_NOT_FOUND:"Ãlément HTML introuvable",AJAX_NOT_FOUND:"Erreur lors du chargement d'AJAX : introuvable",AJAX_FORBIDDEN:"Erreur lors du chargement d'AJAX : Interdit",IFRAME_ERROR:"Erreur lors du chargement de la page",TOGGLE_ZOOM:"Basculer le niveau de zoom",TOGGLE_THUMBS:"Basculer les vignettes",TOGGLE_SLIDESHOW:"Basculer le diaporama",TOGGLE_FULLSCREEN:"Basculer en mode plein écran",DOWNLOAD:"Télécharger"}},function(e,t,i){"use strict";t.a={init:function(){},finalize:function(){}}},function(e,t){}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.