1/*! For license information please see app.js.LICENSE.txt */ 2(()=>{var e,t,n,i={88:function(e,t,n){e.exports=function(e){"use strict";const t=/[^.]*(?=\..*)\.|.*/,n=/\..*/,i=/::\d+$/,r={};let o=1;const s={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"]);function l(e,t){return t&&`${t}::${o++}`||e.uidEvent||o++}function c(e){const t=l(e);return e.uidEvent=t,r[t]=r[t]||{},r[t]}function d(e,t){return function n(i){return b(i,{delegateTarget:e}),n.oneOff&&y.off(e,i.type,t),t.apply(e,[i])}}function u(e,t,n){return function i(r){const o=e.querySelectorAll(t);for(let{target:s}=r;s&&s!==this;s=s.parentNode)for(const a of o)if(a===s)return b(r,{delegateTarget:s}),i.oneOff&&y.off(e,r.type,t,n),n.apply(s,[r])}}function h(e,t,n=null){return Object.values(e).find(e=>e.callable===t&&e.delegationSelector===n)}function f(e,t,n){const i="string"==typeof t,r=i?n:t||n;let o=v(e);return a.has(o)||(o=e),[i,r,o]}function p(e,n,i,r,o){if("string"!=typeof n||!e)return;let[a,p,g]=f(n,i,r);if(n in s){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};p=e(p)}const m=c(e),v=m[g]||(m[g]={}),y=h(v,p,a?i:null);if(y)return void(y.oneOff=y.oneOff&&o);const b=l(p,n.replace(t,"")),w=a?u(e,i,p):d(e,p);w.delegationSelector=a?i:null,w.callable=p,w.oneOff=o,w.uidEvent=b,v[b]=w,e.addEventListener(g,w,a)}function g(e,t,n,i,r){const o=h(t[n],i,r);o&&(e.removeEventListener(n,o,Boolean(r)),delete t[n][o.uidEvent])}function m(e,t,n,i){const r=t[n]||{};for(const[o,s]of Object.entries(r))o.includes(i)&&g(e,t,n,s.callable,s.delegationSelector)}function v(e){return e=e.replace(n,""),s[e]||e}const y={on(e,t,n,i){p(e,t,n,i,!1)},one(e,t,n,i){p(e,t,n,i,!0)},off(e,t,n,r){if("string"!=typeof t||!e)return;const[o,s,a]=f(t,n,r),l=a!==t,d=c(e),u=d[a]||{},h=t.startsWith(".");if(void 0===s){if(h)for(const n of Object.keys(d))m(e,d,n,t.slice(1));for(const[n,r]of Object.entries(u)){const o=n.replace(i,"");l&&!t.includes(o)||g(e,d,a,r.callable,r.delegationSelector)}}else{if(!Object.keys(u).length)return;g(e,d,a,s,o?n:null)}},trigger(t,n,i){if("string"!=typeof n||!t)return null;const r=e.getjQuery();let o=null,s=!0,a=!0,l=!1;n!==v(n)&&r&&(o=r.Event(n,i),r(t).trigger(o),s=!o.isPropagationStopped(),a=!o.isImmediatePropagationStopped(),l=o.isDefaultPrevented());const c=b(new Event(n,{bubbles:s,cancelable:!0}),i);return l&&c.preventDefault(),a&&t.dispatchEvent(c),c.defaultPrevented&&o&&o.preventDefault(),c}};function b(e,t={}){for(const[n,i]of Object.entries(t))try{e[n]=i}catch(t){Object.defineProperty(e,n,{configurable:!0,get:()=>i})}return e}return y}(n(5815))},438:(e,t,n)=>{"use strict";var i=n(6412),r=Object.prototype.hasOwnProperty,o=Array.isArray,s={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:i.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},a=function(e){return e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},l=function(e,t,n){if(e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1)return e.split(",");if(t.throwOnLimitExceeded&&n>=t.arrayLimit)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");return e},c=function(e,t,n,o){if(e){var s=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,c=n.depth>0&&/(\[[^[\]]*])/.exec(s),d=c?s.slice(0,c.index):s,u=[];
vendor: 4,752 bytes, line 2
2if(d){if(!n.plainObjects&&r.call(Object.prototype,d)&&!n.allowPrototypes)return;u.push(d)}for(var h=0;n.depth>0&&null!==(c=a.exec(s))&&h<n.depth;){if(h+=1,!n.plainObjects&&r.call(Object.prototype,c[1].slice(1,-1))&&!n.allowPrototypes)return;u.push(c[1])}if(c){if(!0===n.strictDepth)throw new RangeError("Input depth exceeded depth option of "+n.depth+" and strictDepth is true");u.push("["+s.slice(c.index)+"]")}return function(e,t,n,r){var o=0;if(e.length>0&&"[]"===e[e.length-1]){var s=e.slice(0,-1).join("");o=Array.isArray(t)&&t[s]?t[s].length:0}for(var a=r?t:l(t,n,o),c=e.length-1;c>=0;--c){var d,u=e[c];if("[]"===u&&n.parseArrays)d=n.allowEmptyArrays&&(""===a||n.strictNullHandling&&null===a)?[]:i.combine([],a);else{d=n.plainObjects?{__proto__:null}:{};var h="["===u.charAt(0)&&"]"===u.charAt(u.length-1)?u.slice(1,-1):u,f=n.decodeDotInKeys?h.replace(/%2E/g,"."):h,p=parseInt(f,10);n.parseArrays||""!==f?!isNaN(p)&&u!==f&&String(p)===f&&p>=0&&n.parseArrays&&p<=n.arrayLimit?(d=[])[p]=a:"__proto__"!==f&&(d[f]=a):d={0:a}}a=d}return a}(u,t,n,o)}};e.exports=function(e,t){var n=function(e){if(!e)return s;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(void 0!==e.throwOnLimitExceeded&&"boolean"!=typeof e.throwOnLimitExceeded)throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var t=void 0===e.charset?s.charset:e.charset,n=void 0===e.duplicates?s.duplicates:e.duplicates;if("combine"!==n&&"first"!==n&&"last"!==n)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||s.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:s.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:s.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:s.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:s.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:s.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:s.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:s.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:s.decoder,delimiter:"string"==typeof e.delimiter||i.isRegExp(e.delimiter)?e.delimiter:s.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:s.depth,duplicates:n,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:s.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:s.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:s.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:s.strictDepth,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:s.strictNullHandling,throwOnLimitExceeded:"boolean"==typeof e.throwOnLimitExceeded&&e.throwOnLimitExceeded}}(t);if(""===e||null==e)return n.plainObjects?{__proto__:null}:{};for(var d="string"==typeof e?function(e,t){var n={__proto__:null},c=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;c=c.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var d=t.parameterLimit===1/0?void 0:t.parameterLimit,u=c.split(t.delimiter,t.throwOnLimitExceeded?d+1:d);if(t.throwOnLimitExceeded&&u.length>d)throw new RangeError("Parameter limit exceeded. Only "+d+" parameter"+(1===d?"":"s")+" allowed.");var h,f=-1,p=t.charset;if(t.charsetSentinel)for(h=0;h<u.length;++h)0===u[h].indexOf("utf8=")&&("utf8=%E2%9C%93"===u[h]?p="utf-8":"utf8=%26%2310003%3B"===u[h]&&(p="iso-8859-1"),f=h,h=u.length);for(h=0;h<u.length;++h)if(h!==f){var g,m,v=u[h],y=v.indexOf("]="),b=-1===y?v.indexOf("="):y+1;-1===b?(g=t.decoder(v,s.decoder,p,"key"),m=t.strictNullHandling?null:""):(g=t.decoder(v.slice(0,b),s.decoder,p,"key"),m=i.maybeMap(l(v.slice(b+1),t,o(n[g])?n[g].length:0),function(e){return t.decoder(e,s.decoder,p,"value")})),m&&t.interpretNumericEntities&&"iso-8859-1"===p&&(m=a(String(m))),v.indexOf("[]=")>-1&&(m=o(m)?[m]:m);var w=r.call(n,g);w&&"combine"===t.duplicates?n[g]=i.combine(n[g],m):w&&"last"!==t.duplicates||(n[g]=m)}return n}
2(e,n):e,u=n.plainObjects?{__proto__:null}:{},h=Object.keys(d),f=0;f<h.length;++f){var p=h[f],g=c(p,d[p],n,"string"==typeof e);u=i.merge(u,g,n)}return!0===n.allowSparse?u:i.compact(u)}},734:e=>{"use strict";e.exports=Math.abs},1433:function(e,t,n){e.exports=function(e,t,n,i){"use strict";const r="toast",o=".bs.toast",s=`mouseover${o}`,a=`mouseout${o}`,l=`focusin${o}`,c=`focusout${o}`,d=`hide${o}`,u=`hidden${o}`,h=`show${o}`,f=`shown${o}`,p="fade",g="hide",m="show",v="showing",y={animation:"boolean",autohide:"boolean",delay:"number"},b={animation:!0,autohide:!0,delay:5e3};class w extends e{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return b}static get DefaultType(){return y}static get NAME(){return r}show(){if(t.trigger(this._element,h).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(p);const e=()=>{this._element.classList.remove(v),t.trigger(this._element,f),this._maybeScheduleHide()};this._element.classList.remove(g),i.reflow(this._element),this._element.classList.add(m,v),this._queueCallback(e,this._element,this._config.animation)}hide(){if(!this.isShown())return;if(t.trigger(this._element,d).defaultPrevented)return;const e=()=>{this._element.classList.add(g),this._element.classList.remove(v,m),t.trigger(this._element,u)};this._element.classList.add(v),this._queueCallback(e,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(m),super.dispose()}isShown(){return this._element.classList.contains(m)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){t.on(this._element,s,e=>this._onInteraction(e,!0)),t.on(this._element,a,e=>this._onInteraction(e,!1)),t.on(this._element,l,e=>this._onInteraction(e,!0)),t.on(this._element,c,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=w.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}})}}return n.enableDismissTrigger(w),i.defineJQueryPlugin(w),w}(n(6695),n(88),n(5252),n(5815))},1604:(e,t,n)=>{"use strict";var i=n(7623),r=n(3655),o=n(5167),s=n(8439),a=n(2731)||s||o;e.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new i("Side channel does not contain "+r(e))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,n){e||(e=a()),e.set(t,n)}};return t}},1622:e=>{"use strict";e.exports=ReferenceError},1650:()=>{class e extends HTMLElement{connectedCallback(){this.videoId=this.getAttribute("videoid");let t=this.querySelector(".lty-playbtn");if(this.playLabel=t&&t.textContent.trim()||this.getAttribute("playlabel")||"Play",this.style.backgroundImage||(this.posterUrl=`https://i.ytimg.com/vi/${this.videoId}/hqdefault.jpg`,e.addPrefetch("preload",this.posterUrl,"image"),this.style.backgroundImage=`url("${this.posterUrl}")`),t||(t=document.createElement("button"),t.type="button",t.classList.add("lty-playbtn"),this.append(t)),!t.textContent){const e=document.createElement("span");e.className="lyt-visually-hidden",e.textContent=this.playLabel,t.append(e)}this.addEventListener("pointerover",e.warmConnections,{once:!0}),this.addEventListener("click",e=>this.addIframe())}static addPrefetch(e,t,n){const i=document.createElement("link");i.rel=e,i.href=t,n&&(i.as=n),document.head.append(i)}static warmConnections(){e.preconnected||(e.addPrefetch("preconnect","https://www.youtube-nocookie.com"),e.addPrefetch("preconnect","https://www.google.com"),e.addPrefetch("preconnect","https://googleads.g.doubleclick.net"),e.addPrefetch("preconnect","https://static.doubleclick.net"),e.preconnected=!0)}addIframe(){const e=new URLSearchParams(this.getAttribute("params")||[]);e.append("autoplay","1");const t=document.createElement("iframe");t.width=560,t.height=315,t.title=this.playLabel,t.allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",t.allowFullscreen=!0,t.src=`https://www.youtube-nocookie.com/embed/${encodeURIComponent(this.videoId)}?${e.toString()}`,this.append(t),this.classList.add("lyt-activated"),this.querySelector("iframe").focus()}}customElements.define("lite-youtube",e)}
2,1780:(e,t,n)=>{"use strict";var i,r=n(7866),o=n(6335);try{i=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var s=!!i&&o&&o(Object.prototype,"__proto__"),a=Object,l=a.getPrototypeOf;e.exports=s&&"function"==typeof s.get?r([s.get]):"function"==typeof l&&function(e){return l(null==e?e:a(e))}},1851:e=>{"use strict";var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch(e){t=!1}e.exports=t},1885:e=>{"use strict";e.exports=URIError},2227:e=>{!function(t){var n=function(e,t,n){"use strict";var i,r;if(function(){var t,n={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(t in r=e.lazySizesConfig||e.lazysizesConfig||{},n)t in r||(r[t]=n[t])}(),!t||!t.getElementsByClassName)return{init:function(){},cfg:r,noSupport:!0};var o=t.documentElement,s=e.HTMLPictureElement,a="addEventListener",l="getAttribute",c=e[a].bind(e),d=e.setTimeout,u=e.requestAnimationFrame||d,h=e.requestIdleCallback,f=/^picture$/i,p=["load","error","lazyincluded","_lazyloaded"],g={},m=Array.prototype.forEach,v=function(e,t){return g[t]||(g[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")),g[t].test(e[l]("class")||"")&&g[t]},y=function(e,t){v(e,t)||e.setAttribute("class",(e[l]("class")||"").trim()+" "+t)},b=function(e,t){var n;(n=v(e,t))&&e.setAttribute("class",(e[l]("class")||"").replace(n," "))},w=function(e,t,n){var i=n?a:"removeEventListener";n&&w(e,t),p.forEach(function(n){e[i](n,t)})},S=function(e,n,r,o,s){var a=t.createEvent("Event");return r||(r={}),r.instance=i,a.initEvent(n,!o,!s),a.detail=r,e.dispatchEvent(a),a},C=function(t,n){var i;!s&&(i=e.picturefill||r.pf)?(n&&n.src&&!t[l]("srcset")&&t.setAttribute("srcset",n.src),i({reevaluate:!0,elements:[t]})):n&&n.src&&(t.src=n.src)},E=function(e,t){return(getComputedStyle(e,null)||{})[t]},A=function(e,t,n){for(n=n||e.offsetWidth;n<r.minSize&&t&&!e._lazysizesWidth;)n=t.offsetWidth,t=t.parentNode;return n},x=(ye=[],be=[],we=ye,Se=function(){var e=we;for(we=ye.length?be:ye,me=!0,ve=!1;e.length;)e.shift()();me=!1},Ce=function(e,n){me&&!n?e.apply(this,arguments):(we.push(e),ve||(ve=!0,(t.hidden?d:u)(Se)))},Ce._lsFlush=Se,Ce),D=function(e,t){return t?function(){x(e)}:function(){var t=this,n=arguments;x(function(){e.apply(t,n)})}},T=function(e){var t,i=0,o=r.throttleDelay,s=r.ricTimeout,a=function(){t=!1,i=n.now(),e()},l=h&&s>49?function(){h(a,{timeout:s}),s!==r.ricTimeout&&(s=r.ricTimeout)}:D(function(){d(a)},!0);return function(e){var r;(e=!0===e)&&(s=33),t||(t=!0,(r=o-(n.now()-i))<0&&(r=0),e||r<9?l():d(l,r))}},k=function(e){var t,i,r=99,o=function(){t=null,e()},s=function(){var e=n.now()-i;e<r?d(s,r-e):(h||o)(o)};return function(){i=n.now(),t||(t=d(s,r))}},_=(Y=/^img$/i,Q=/^iframe$/i,X="onscroll"in e&&!/(gle|ing)bot/.test(navigator.userAgent),Z=0,J=0,K=0,ee=-1,te=function(e){K--,(!e||K<0||!e.target)&&(K=0)},ne=function(e){return null==V&&(V="hidden"==E(t.body,"visibility")),V||!("hidden"==E(e.parentNode,"visibility")&&"hidden"==E(e,"visibility"))},ie=function(e,n){var i,r=e,s=ne(e);for($-=n,G+=n,q-=n,U+=n;s&&(r=r.offsetParent)&&r!=t.body&&r!=o;)(s=(E(r,"opacity")||1)>0)&&"visible"!=E(r,"overflow")&&(i=r.getBoundingClientRect(),s=U>i.left&&q<i.right&&G>i.top-1&&$<i.bottom+1);return s},re=function(){var e,n,s,a,c,d,u,h,f,p,g,m,v=i.elements;if((z=r.loadMode)&&K<8&&(e=v.length)){for(n=0,ee++;n<e;n++)if(v[n]&&!v[n]._lazyRace)if(!X||i.prematureUnveil&&i.prematureUnveil(v[n]))he(v[n]);else if((h=v[n][l]("data-expand"))&&(d=1*h)||(d=J),p||(p=!r.expand||r.expand<1?o.clientHeight>500&&o.clientWidth>500?500:370:r.expand,i._defEx=p,g=p*r.expFactor,m=r.hFac,V=null,J<g&&K<1&&ee>2&&z>2&&!t.hidden?(J=g,ee=0):J=z>1&&ee>1&&K<6?p:Z),f!==d&&(B=innerWidth+d*m,W=innerHeight+d,u=-1*d,f=d),s=v[n].getBoundingClientRect(),(G=s.bottom)>=u&&($=s.top)<=W&&(U=s.right)>=u*m&&(q=s.left)<=B&&(G||U||q||$)&&(r.loadHidden||ne(v[n]))&&(j&&K<3&&!h&&(z<3||ee<4)||ie(v[n],d))){if(he(v[n]),c=!0,K>9)break}
2else!c&&j&&!a&&K<4&&ee<4&&z>2&&(L[0]||r.preloadAfterLoad)&&(L[0]||!h&&(G||U||q||$||"auto"!=v[n][l](r.sizesAttr)))&&(a=L[0]||v[n]);a&&!c&&he(a)}},oe=T(re),se=function(e){var t=e.target;t._lazyCache?delete t._lazyCache:(te(e),y(t,r.loadedClass),b(t,r.loadingClass),w(t,le),S(t,"lazyloaded"))},ae=D(se),le=function(e){ae({target:e.target})},ce=function(e,t){var n=e.getAttribute("data-load-mode")||r.iframeLoadMode;0==n?e.contentWindow.location.replace(t):1==n&&(e.src=t)},de=function(e){var t,n=e[l](r.srcsetAttr);(t=r.customMedia[e[l]("data-media")||e[l]("media")])&&e.setAttribute("media",t),n&&e.setAttribute("srcset",n)},ue=D(function(e,t,n,i,o){var s,a,c,u,h,p;(h=S(e,"lazybeforeunveil",t)).defaultPrevented||(i&&(n?y(e,r.autosizesClass):e.setAttribute("sizes",i)),a=e[l](r.srcsetAttr),s=e[l](r.srcAttr),o&&(u=(c=e.parentNode)&&f.test(c.nodeName||"")),p=t.firesLoad||"src"in e&&(a||s||u),h={target:e},y(e,r.loadingClass),p&&(clearTimeout(H),H=d(te,2500),w(e,le,!0)),u&&m.call(c.getElementsByTagName("source"),de),a?e.setAttribute("srcset",a):s&&!u&&(Q.test(e.nodeName)?ce(e,s):e.src=s),o&&(a||u)&&C(e,{src:s})),e._lazyRace&&delete e._lazyRace,b(e,r.lazyClass),x(function(){var t=e.complete&&e.naturalWidth>1;p&&!t||(t&&y(e,r.fastLoadedClass),se(h),e._lazyCache=!0,d(function(){"_lazyCache"in e&&delete e._lazyCache},9)),"lazy"==e.loading&&K--},!0)}),he=function(e){if(!e._lazyRace){var t,n=Y.test(e.nodeName),i=n&&(e[l](r.sizesAttr)||e[l]("sizes")),o="auto"==i;(!o&&j||!n||!e[l]("src")&&!e.srcset||e.complete||v(e,r.errorClass)||!v(e,r.lazyClass))&&(t=S(e,"lazyunveilread").detail,o&&M.updateElem(e,!0,e.offsetWidth),e._lazyRace=!0,K++,ue(e,t,o,i,n))}},fe=k(function(){r.loadMode=3,oe()}),pe=function(){3==r.loadMode&&(r.loadMode=2),fe()},ge=function(){j||(n.now()-F<999?d(ge,999):(j=!0,r.loadMode=3,oe(),c("scroll",pe,!0)))},{_:function(){F=n.now(),i.elements=t.getElementsByClassName(r.lazyClass),L=t.getElementsByClassName(r.lazyClass+" "+r.preloadClass),c("scroll",oe,!0),c("resize",oe,!0),c("pageshow",function(e){if(e.persisted){var n=t.querySelectorAll("."+r.loadingClass);n.length&&n.forEach&&u(function(){n.forEach(function(e){e.complete&&he(e)})})}}),e.MutationObserver?new MutationObserver(oe).observe(o,{childList:!0,subtree:!0,attributes:!0}):(o[a]("DOMNodeInserted",oe,!0),o[a]("DOMAttrModified",oe,!0),setInterval(oe,999)),c("hashchange",oe,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach(function(e){t[a](e,oe,!0)}),/d$|^c/.test(t.readyState)?ge():(c("load",ge),t[a]("DOMContentLoaded",oe),d(ge,2e4)),i.elements.length?(re(),x._lsFlush()):oe()},checkElems:oe,unveil:he,_aLSL:pe}),M=(R=D(function(e,t,n,i){var r,o,s;if(e._lazysizesWidth=i,i+="px",e.setAttribute("sizes",i),f.test(t.nodeName||""))for(o=0,s=(r=t.getElementsByTagName("source")).length;o<s;o++)r[o].setAttribute("sizes",i);n.detail.dataAttr||C(e,n.detail)}),N=function(e,t,n){var i,r=e.parentNode;r&&(n=A(e,r,n),(i=S(e,"lazybeforesizes",{width:n,dataAttr:!!t})).defaultPrevented||(n=i.detail.width)&&n!==e._lazysizesWidth&&R(e,r,i,n))},P=k(function(){var e,t=O.length;if(t)for(e=0;e<t;e++)N(O[e])}),{_:function(){O=t.getElementsByClassName(r.autosizesClass),c("resize",P)},checkElems:P,updateElem:N}),I=function(){!I.i&&t.getElementsByClassName&&(I.i=!0,M._(),_._())};var O,R,N,P;var L,j,H,z,F,B,W,$,q,U,G,V,Y,Q,X,Z,J,K,ee,te,ne,ie,re,oe,se,ae,le,ce,de,ue,he,fe,pe,ge;var me,ve,ye,be,we,Se,Ce;return d(function(){r.init&&I()}),i={cfg:r,autoSizer:M,loader:_,init:I,uP:C,aC:y,rC:b,hC:v,fire:S,gW:A,rAF:x}}(t,t.document,Date);t.lazySizes=n,e.exports&&(e.exports=n)}("undefined"!=typeof window?window:{})},2424:function(e,t){var n,i,r;i="undefined"!=typeof window?window:this,r=function(i,r){var o=[],s=i.document,a=o.slice,l=o.concat,c=o.push,d=o.indexOf,u={},h=u.toString,f=u.hasOwnProperty,p={},g="1.12.4",m=function(e,t){return new m.fn.init(e,t)},v=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,y=/^-ms-/,b=/-([\da-z])/gi,w=function(e,t){return t.toUpperCase()};function S(e){var t=!!e&&"length"in e&&e.length,n=m.type(e);return"function"!==n&&!m.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}m.fn=m.prototype={jquery:g,constructor:m,selector:"",length:0,toArray:function(){return a.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:a.call(this)},pushStack:function(e){var t=m.merge(this.constructor(),e);
vendor: 5,644 bytes, line 2
2return t.prevObject=this,t.context=this.context,t},each:function(e){return m.each(this,e)},map:function(e){return this.pushStack(m.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:o.sort,splice:o.splice},m.extend=m.fn.extend=function(){var e,t,n,i,r,o,s=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[a]||{},a++),"object"==typeof s||m.isFunction(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(r=arguments[a]))for(i in r)e=s[i],s!==(n=r[i])&&(c&&n&&(m.isPlainObject(n)||(t=m.isArray(n)))?(t?(t=!1,o=e&&m.isArray(e)?e:[]):o=e&&m.isPlainObject(e)?e:{},s[i]=m.extend(c,o,n)):void 0!==n&&(s[i]=n));return s},m.extend({expando:"jQuery"+(g+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===m.type(e)},isArray:Array.isArray||function(e){return"array"===m.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){var t=e&&e.toString();return!m.isArray(e)&&t-parseFloat(t)+1>=0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},isPlainObject:function(e){var t;if(!e||"object"!==m.type(e)||e.nodeType||m.isWindow(e))return!1;try{if(e.constructor&&!f.call(e,"constructor")&&!f.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}if(!p.ownFirst)for(t in e)return f.call(e,t);for(t in e);return void 0===t||f.call(e,t)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?u[h.call(e)]||"object":typeof e},globalEval:function(e){e&&m.trim(e)&&(i.execScript||function(e){i.eval.call(i,e)})(e)},camelCase:function(e){return e.replace(y,"ms-").replace(b,w)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var n,i=0;if(S(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},trim:function(e){return null==e?"":(e+"").replace(v,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(S(Object(e))?m.merge(n,"string"==typeof e?[e]:e):c.call(n,e)),n},inArray:function(e,t,n){var i;if(t){if(d)return d.call(t,e,n);for(i=t.length,n=n?n<0?Math.max(0,i+n):n:0;n<i;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,t){for(var n=+t.length,i=0,r=e.length;i<n;)e[r++]=t[i++];if(n!=n)for(;void 0!==t[i];)e[r++]=t[i++];return e.length=r,e},grep:function(e,t,n){for(var i=[],r=0,o=e.length,s=!n;r<o;r++)!t(e[r],r)!==s&&i.push(e[r]);return i},map:function(e,t,n){var i,r,o=0,s=[];if(S(e))for(i=e.length;o<i;o++)null!=(r=t(e[o],o,n))&&s.push(r);else for(o in e)null!=(r=t(e[o],o,n))&&s.push(r);return l.apply([],s)},guid:1,proxy:function(e,t){var n,i,r;if("string"==typeof t&&(r=e[t],t=e,e=r),m.isFunction(e))return n=a.call(arguments,2),i=function(){return e.apply(t||this,n.concat(a.call(arguments)))},i.guid=e.guid=e.guid||m.guid++,i},now:function(){return+new Date},support:p}),"function"==typeof Symbol&&(m.fn[Symbol.iterator]=o[Symbol.iterator]),m.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){u["[object "+t+"]"]=t.toLowerCase()});var C=function(e){var t,n,i,r,o,s,a,l,c,d,u,h,f,p,g,m,v,y,b,w="sizzle"+1*new Date,S=e.document,C=0,E=0,A=oe(),x=oe(),D=oe(),T=function(e,t){return e===t&&(u=!0),0},k=1<<31,_={}.hasOwnProperty,M=[],I=M.pop,O=M.push,R=M.push,N=M.slice,P=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",j="[\\x20\\t\\r\\n\\f]",H="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",z="\\["+j+"*("+H+")(?:"+j+"*([*^$|!~]?=)"+j+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+H+"))|)"+j+"*\\]",F=":("+H+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+z+")*)|.*)\\)|)",B=new RegExp(j+"+","g"),W=new RegExp("^"+j+"+|((?:^|[^\\\\])(?:\\\\.)*)"+j+"+$","g"),$=new RegExp("^"+j+"*,"+j+"*"),q=new RegExp("^"+j+"*([>+~]|"+j+")"+j+"*"),U=new RegExp("="+j+"*([^\\]'\"]*?)"+j+"*\\]","g"),G=new RegExp(F),V=new RegExp("^"+H+"$"),Y={ID:new RegExp("^#("+H+")"),CLASS:new RegExp("^\\.("+H+")"),TAG:new RegExp("^("+H+"|[*])"),ATTR:new RegExp("^"+z),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+j+"*(even|odd|(([+-]|)(\\d*)n|)"+j+"*(?:([+-]|)"+j+"*(\\d+)|))"+j+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+j+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+j+"*((?:-\\d)?\\d*)"+j+"*\\)|)(?=[^-]|$)","i")},Q=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,K=/[+~]/,ee=/'|\\/g,te=new RegExp("\\\\([\\da-f]{1,6}"+j+"?|("+j+")|.)","ig"),ne=function(e,t,n){var i="0x"+t-65536;return i!=i||n?t:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},ie=function(){h()};try{R.apply(M=N.call(S.childNodes),S.childNodes),M[S.childNodes.length].nodeType}catch(e){R={apply:M.length?function(e,t){O.apply(e,N.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function re(e,t,i,r){var o,a,c,d,u,p,v,y,C=t&&t.ownerDocument,E=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==E&&9!==E&&11!==E)return i;if(!r&&((t?t.ownerDocument||t:S)!==f&&h(t),t=t||f,g)){if(11!==E&&(p=J.exec(e)))if(o=p[1]){if
2(9===E){if(!(c=t.getElementById(o)))return i;if(c.id===o)return i.push(c),i}else if(C&&(c=C.getElementById(o))&&b(t,c)&&c.id===o)return i.push(c),i}else{if(p[2])return R.apply(i,t.getElementsByTagName(e)),i;if((o=p[3])&&n.getElementsByClassName&&t.getElementsByClassName)return R.apply(i,t.getElementsByClassName(o)),i}if(n.qsa&&!D[e+" "]&&(!m||!m.test(e))){if(1!==E)C=t,y=e;else if("object"!==t.nodeName.toLowerCase()){for((d=t.getAttribute("id"))?d=d.replace(ee,"\\$&"):t.setAttribute("id",d=w),a=(v=s(e)).length,u=V.test(d)?"#"+d:"[id='"+d+"']";a--;)v[a]=u+" "+ge(v[a]);y=v.join(","),C=K.test(e)&&fe(t.parentNode)||t}if(y)try{return R.apply(i,C.querySelectorAll(y)),i}catch(e){}finally{d===w&&t.removeAttribute("id")}}}return l(e.replace(W,"$1"),t,i,r)}function oe(){var e=[];return function t(n,r){return e.push(n+" ")>i.cacheLength&&delete t[e.shift()],t[n+" "]=r}}function se(e){return e[w]=!0,e}function ae(e){var t=f.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function le(e,t){for(var n=e.split("|"),r=n.length;r--;)i.attrHandle[n[r]]=t}function ce(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||k)-(~e.sourceIndex||k);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function de(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function ue(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function he(e){return se(function(t){return t=+t,se(function(n,i){for(var r,o=e([],n.length,t),s=o.length;s--;)n[r=o[s]]&&(n[r]=!(i[r]=n[r]))})})}function fe(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=re.support={},o=re.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},h=re.setDocument=function(e){var t,r,s=e?e.ownerDocument||e:S;return s!==f&&9===s.nodeType&&s.documentElement?(p=(f=s).documentElement,g=!o(f),(r=f.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",ie,!1):r.attachEvent&&r.attachEvent("onunload",ie)),n.attributes=ae(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ae(function(e){return e.appendChild(f.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Z.test(f.getElementsByClassName),n.getById=ae(function(e){return p.appendChild(e).id=w,!f.getElementsByName||!f.getElementsByName(w).length}),n.getById?(i.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}},i.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}}):(delete i.find.ID,i.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),i.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],r=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},i.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&g)return t.getElementsByClassName(e)},v=[],m=[],(n.qsa=Z.test(f.querySelectorAll))&&(ae(function(e){p.appendChild(e).innerHTML="<a id='"+w+"'></a><select id='"+w+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+j+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+j+"*(?:value|"+L+")"),e.querySelectorAll("[id~="+w+"-]").length||m.push("~="),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+w+"+*").length||m.push(".#.+[+~]")}),ae(function(e){var t=f.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+j+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")})),(n.matchesSelector=Z.test(y=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&ae(function(e){n.disconnectedMatch=y.call(e,"div"),y.call(e,"[s!='']:x"),v.push("!=",F)}),m=m.length&&new RegExp(m.join("|")),v=v.length&&new RegExp(v.j
vendor: 12,331 bytes, line 2
2oin("|")),t=Z.test(p.compareDocumentPosition),b=t||Z.test(p.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},T=t?function(e,t){if(e===t)return u=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===i?e===f||e.ownerDocument===S&&b(S,e)?-1:t===f||t.ownerDocument===S&&b(S,t)?1:d?P(d,e)-P(d,t):0:4&i?-1:1)}:function(e,t){if(e===t)return u=!0,0;var n,i=0,r=e.parentNode,o=t.parentNode,s=[e],a=[t];if(!r||!o)return e===f?-1:t===f?1:r?-1:o?1:d?P(d,e)-P(d,t):0;if(r===o)return ce(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;s[i]===a[i];)i++;return i?ce(s[i],a[i]):s[i]===S?-1:a[i]===S?1:0},f):f},re.matches=function(e,t){return re(e,null,null,t)},re.matchesSelector=function(e,t){if((e.ownerDocument||e)!==f&&h(e),t=t.replace(U,"='$1']"),n.matchesSelector&&g&&!D[t+" "]&&(!v||!v.test(t))&&(!m||!m.test(t)))try{var i=y.call(e,t);if(i||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){}return re(t,f,null,[e]).length>0},re.contains=function(e,t){return(e.ownerDocument||e)!==f&&h(e),b(e,t)},re.attr=function(e,t){(e.ownerDocument||e)!==f&&h(e);var r=i.attrHandle[t.toLowerCase()],o=r&&_.call(i.attrHandle,t.toLowerCase())?r(e,t,!g):void 0;return void 0!==o?o:n.attributes||!g?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},re.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},re.uniqueSort=function(e){var t,i=[],r=0,o=0;if(u=!n.detectDuplicates,d=!n.sortStable&&e.slice(0),e.sort(T),u){for(;t=e[o++];)t===e[o]&&(r=i.push(o));for(;r--;)e.splice(i[r],1)}return d=null,e},r=re.getText=function(e){var t,n="",i=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=r(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[i++];)n+=r(t);return n},i=re.selectors={cacheLength:50,createPseudo:se,match:Y,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||re.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&re.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Y.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&G.test(n)&&(t=s(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=A[e+" "];return t||(t=new RegExp("(^|"+j+")"+e+"("+j+"|$)"))&&A(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(i){var r=re.attr(i,e);return null==r?"!="===t:!t||(r+="","="===t?r===n:"!="===t?r!==n:"^="===t?n&&0===r.indexOf(n):"*="===t?n&&r.indexOf(n)>-1:"$="===t?n&&r.slice(-n.length)===n:"~="===t?(" "+r.replace(B," ")+" ").indexOf(n)>-1:"|="===t&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,i,r){var o="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===i&&0===r?function(e){return!!e.parentNode}:function(t,n,l){var c,d,u,h,f,p,g=o!==s?"nextSibling":"previousSibling",m=t.parentNode,v=a&&t.nodeName.toLowerCase(),y=!l&&!a,b=!1;if(m){if(o){for(;g;){for(h=t;h=h[g];)if(a?h.nodeName.toLowerCase()===v:1===h.nodeType)return!1;p=g="only"===e&&!p&&"nextSibling"}return!0}if(p=[s?m.firstChild:m.lastChild],s&&y){for(b=(f=(c=(d=(u=(h=m)[w]||(h[w]={}))[h.uniqueID]||(u[h.uniqueID]={}))[e]||[])[0]===C&&c[1])&&c[2],h=f&&m.childNodes[f];h=++f&&h&&h[g]||(b=f=0)||p.pop();)if(1===h.nodeType&&++b&&h===t){d[e]=[C,f,b];break}}else if(y&&(b=f=(c=(d=(u=(h=t)[w]||(h[w]={}))[h.uniqueID]||(u[h.uniqueID]={}))[e]||[])[0]===C&&c[1]),!1===b)for(;(h=++f&&h&&h[g]||(b=f=0)||p.pop())&&((a?h.nodeName.toLowerCase()!==v:1!==h.nodeType)||!++b||(y&&((d=(u=h[w]||(h[w]={}))[h.uniqueID]||(u[h.uniqueID]={}))[e]=[C,b]),h!==t)););return(b-=r)===i||b%i===0&&b/i>=0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||re.error("unsupported pseudo: "+e);return r[w]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?se(function(e,n){for(var i,o=r(e,t),s=o.length;s--;)e[i=P(e,o[s])]=!(n[i]=o[s])}):function(e){return r(e,0,n)}):r}},pseudos:{not:se(function(e){var t=[],n=[],i=a(e.replace(W,"$1"));return i[w]?se(function(e,t,n,r){for(var o,s=i(e,null,r,[]),a=e.length;a--;)(o=s[a])&&(e[a]=!(t[a]=o))}):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop()}}),has:se(function(e){return function(t){return re(e,t).length>0}}),contains:se(function(e){return e=e.replace(te,ne),function(t){return(t.textContent||t.innerText||r(t)).indexOf(e)>-1}}),lang:se(function(e){return V.test(e||"")||re.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===p},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!i.pseudos.empty(e)},header:function(e){return X.test(e.nodeName)},input:function(e){return Q.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:he(function(){return[0]}),last:he(function(e,t){return[t-1]}),eq:he(function(e,t,n){return[n<0?n+t:n]}),even:he(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:he(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:he(function(e,t,n){for(var i=n<0?n+t:n;--i>=0;)e.push(i);return e}),gt:he(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}},i.pseudos.nth=i.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[t]=de(t);for(t in{submit:!0,reset:!0})i.pseudos[t]=ue(t);function pe(){}function ge(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function me(e,t,n){var i=t.dir,r=n&&"parentNode"===i,o=E++;return t.first?function(t,n,o){for(;t=t[i];)if(1===t.nodeType||r)return e(t,n,o)}:function(t,n,s){var a,l,c,d=[C,o];if(s){for(;t=t[i];)if((1===t.nodeType||r)&&e(t,n,s))return!0}else for(;t=t[i];)if(1===t.nodeType||r){if((a=(l=(c=t[w]||(t[w]={}))[t.uniqueID]||(c[t.uniqueID]={}))[i])&&a[0]===C&&a[1]===o)return d[2]=a[2];if(l[i]=d,d[2]=e(t,n,s))return!0}}}function ve(e){return e.length>1?function(t,n,i){for(var r=e.length;r--;)if(!e[r](t,n,i))return!1;return!0}:e[0]}function ye(e,t,n,i,r){for(var o,s=[],a=0,l=e.length,c=null!=t;a<l;a++)(o=e[a])&&(n&&!n(o,i,r)||(s.push(o),c&&t.push(a)));return s}function be(e,t,n,i,r,o){return i&&!i[w]&&(i=be(i)),r&&!r[w]&&(r=be(r,o)),se(function(o,s,a,l){var c,d,u,h=[],f=[],p=s.length,g=o||function(e,t,n){for(var i=0,r=t.length;i<r;i++)re(e,t[i],n);return n}(t||"*",a.nodeType?[a]:a,[]),m=!e||!o&&t?g:ye(g,h,e,a,l),v=n?r||(o?e:p||i)?[]:s:m;if(n&&n(m,v,a,l),i)for(c=ye(v,f),i(c,[],a,l),d=c.length;d--;)(u=c[d])&&(v[f[d]]=!(m[f[d]]=u));if(o){if(r||e){if(r){for(c=[],d=v.length;d--;)(u=v[d])&&c.push(m[d]=u);r(null,v=[],c,l)}for(d=v.length;d--;)(u=v[d])&&(c=r?P(o,u):h[d])>-1&&(o[c]=!(s[c]=u))}}else v=ye(v===s?v.splice(p,v.length):v),r?r(null,s,v,l):R.apply(s,v)})}function we(e){for(var t,n,r,o=e.length,s=i.relative[e[0].type],a=s||i.relative[" "],l=s?1:0,d=me(function(e){return e===t},a,!0),u=me(function(e){return P(t,e)>-1},a,!0),h=[function(e,n,i){var r=!s&&(i||n!==c)||((t=n).nodeType?d(e,n,i):u(e,n,i));return t=null,r}];l<o;l++)if(n=i.relative[e[l].type])h=[me(ve(h),n)];else{if((n=i.filter[e[l].type].apply(null,e[l].matches))[w]){for(r=++l;r<o&&!i.relative[e[r].type];r++);return be(l>1&&ve(h),l>1&&ge(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(W,"$1"),n,l<r&&we(e.slice(l,r)),r<o&&we(e=e.slice(r)),r<o&&ge(e))}h.push(n)}return ve(h)}return pe.prototype=i.filters=i.pseudos,i.setFilters=new pe,s=re.tokenize=function(e,t){var n,r,o,s,a,l,c,d=x[e+" "];if(d)return t?0:d.slice(0);for(a=e,l=[],c=i.preFilter;a;){for(s in n&&!(r=$.exec(a))||(r&&(a=a.slice(r[0].length)||a),l.push(o=[])),n=!1,(r=q.exec(a))&&(n=r.shift(),o.push({value:n,type:r[0].replace(W," ")}),a=a.slice(n.length)),i.filter)!(r=Y[s].exec(a))||c[s]&&!(r=c[s](r))||(n=r.shift(),o.push({value:n,type:s,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?re.error(e):x(e,l).slice(0)},a=re.compile=function(e,t){var n,r=[],o=[],a=D[e+" "];if(!a){for(t||(t=s(e)),n=t.length;n--;)(a=we(t[n]))[w]?r.push(a):o.push(a);a=D(e,function(e,t){var n=t.length>0,r=e.length>0,o=function(o,s,a,l,d){var u,p,m,v=0,y="0",b=o&&[],w=[],S=c,E=o||r&&i.find.TAG("*",d),A=C+=null==S?1:Math.random()||.1,x=E.length;for(d&&(c=s===f||s||d);y!==x&&null!=(u=E[y]);y++){if(r&&u){for(p=0,s||u.ownerDocument===f||(h(u),a=!g);m=e[p++];)if(m(u,s||f,a)){l.push(u);break}d&&(C=A)}n&&((u=!m&&u)&&v--,o&&b.push(u))}if(v+=y,n&&y!==v){for(p=0;m=t[p++];)m(b,w,s,a);if(o){if(v>0)for(;y--;)b[y]||w[y]||(w[y]=I.call(l));w=ye(w)}R.apply(l,w),d&&!o&&w.length>0&&v+t.length>1&&re.uniqueSort(l)}return d&&(C=A,c=S),b};return n?se(o):o}(o,r)),a.selector=e}return a},l=re.select=function(e,t,r,o){var l,c,d,u,h,f="function"==typeof e&&e,p=!o&&s(e=f.selector||e);if(r=r||[],1===p.length){if((c=p[0]=p[0].slice(0)).length>2&&"ID"===(d=c[0]).type&&n.getById&&9===t.nodeType&&g&&i.relative[c[1].type]){if(!(t=(i.find.ID(d.matches[0].replace(te,ne),t)||[])[0]))return r;f&&(t=t.parentNode),e=e.slice(c.shift().value.length)}for(l=Y.needsContext.test(e)?0:c.length;l--&&(d=c[l],!i.relative[u=d.type]);)if((h=i.find[u])&&(o=h(d.matches[0].replace(te,ne),K.test(c[0].type)&&fe(t.parentNode)||t))){if(c.splice(l,1),!(e=o.length&&ge(c)))return R.apply(r,o),r;break}}return(f||a(e,p))(o,t,!g,r,!t||K.test(e)&&fe(t.parentNode)||t),r},n.sortStable=w.split("").sort(T).join("")===w,n.detectDuplicates=!!u,h(),n.sortDetached=ae(function(e){return 1&e.compareDocumentPosition(f.createElement("div"))}),ae(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||le("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ae(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||le("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ae(function(e){return null==e.getAttribute("disabled")})||le(L,function(e,t,n){var i;if(!n)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),re}(i);m.find=C,m.expr=C.selectors,m.expr[":"]=m.expr.pseudos,m.uniqueSort=m.unique=C.uniqueSort,m.text=C.getText,m.isXMLDoc=C.isXML,m.contains=C.contains;var E=function(e,t,n){for(var i=[],r=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&m(e).is(n))break;i.push(e)}return i},A=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},x=m.expr.match.needsContext,D=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,T=/^.[^:#\[\.,]*$/;
2function k(e,t,n){if(m.isFunction(t))return m.grep(e,function(e,i){return!!t.call(e,i,e)!==n});if(t.nodeType)return m.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(T.test(t))return m.filter(t,e,n);t=m.filter(t,e)}return m.grep(e,function(e){return m.inArray(e,t)>-1!==n})}m.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?m.find.matchesSelector(i,e)?[i]:[]:m.find.matches(e,m.grep(t,function(e){return 1===e.nodeType}))},m.fn.extend({find:function(e){var t,n=[],i=this,r=i.length;if("string"!=typeof e)return this.pushStack(m(e).filter(function(){for(t=0;t<r;t++)if(m.contains(i[t],this))return!0}));for(t=0;t<r;t++)m.find(e,i[t],n);return(n=this.pushStack(r>1?m.unique(n):n)).selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(k(this,e||[],!1))},not:function(e){return this.pushStack(k(this,e||[],!0))},is:function(e){return!!k(this,"string"==typeof e&&x.test(e)?m(e):e||[],!1).length}});var _,M=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(m.fn.init=function(e,t,n){var i,r;if(!e)return this;if(n=n||_,"string"==typeof e){if(!(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:M.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof m?t[0]:t,m.merge(this,m.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:s,!0)),D.test(i[1])&&m.isPlainObject(t))for(i in t)m.isFunction(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}if((r=s.getElementById(i[2]))&&r.parentNode){if(r.id!==i[2])return _.find(e);this.length=1,this[0]=r}return this.context=s,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):m.isFunction(e)?void 0!==n.ready?n.ready(e):e(m):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),m.makeArray(e,this))}).prototype=m.fn,_=m(s);var I=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function R(e,t){do{e=e[t]}while(e&&1!==e.nodeType);return e}m.fn.extend({has:function(e){var t,n=m(e,this),i=n.length;return this.filter(function(){for(t=0;t<i;t++)if(m.contains(this,n[t]))return!0})},closest:function(e,t){for(var n,i=0,r=this.length,o=[],s=x.test(e)||"string"!=typeof e?m(e,t||this.context):0;i<r;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&m.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?m.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?m.inArray(this[0],m(e)):m.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(m.uniqueSort(m.merge(this.get(),m(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),m.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return E(e,"parentNode")},parentsUntil:function(e,t,n){return E(e,"parentNode",n)},next:function(e){return R(e,"nextSibling")},prev:function(e){return R(e,"previousSibling")},nextAll:function(e){return E(e,"nextSibling")},prevAll:function(e){return E(e,"previousSibling")},nextUntil:function(e,t,n){return E(e,"nextSibling",n)},prevUntil:function(e,t,n){return E(e,"previousSibling",n)},siblings:function(e){return A((e.parentNode||{}).firstChild,e)},children:function(e){return A(e.firstChild)},contents:function(e){return m.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:m.merge([],e.childNodes)}},function(e,t){m.fn[e]=function(n,i){var r=m.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=m.filter(i,r)),this.length>1&&(O[e]||(r=m.uniqueSort(r)),I.test(e)&&(r=r.reverse())),this.pushStack(r)}});var N,P,L=/\S+/g;function j(){s.addEventListener?(s.removeEventListener("DOMContentLoaded",H),i.removeEventListener("load",H)):(s.detachEvent("onreadystatechange",H),i.detachEvent("onload",H))}function H(){(s.addEventListener||"load"===i.event.type||"complete"===s.readyState)&&(j(),m.ready())}for(P in m.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return m.each(e.match(L)||[],function(e,n){t[n]=!0}),t}(e):m.extend({},e);var t,n,i,r,o=[],s=[],a=-1,l=function(){for(r=e.once,i=t=!0;s.length;a=-1)for(n=s.shift();++a<o.length;)!1===o[a].apply(n[0],n[1])&&e.stopOnFalse&&(a=o.length,n=!1);e.memory||(n=!1),t=!1,r&&(o=n?[]:"")},c={add:function(){return o&&(n&&!t&&(a=o.length-1,s.push(n)),function t(n){m.each(n,function(n,i){m.isFunction(i)?e.unique&&c.has(i)||o.push(i):i&&i.length&&"string"!==m.type(i)&&t(i)})}(arguments),n&&!t&&l()),this},remove:function(){return m.each(arguments,function(e,t){for(var n;(n=m.inArray(t,o,n))>-1;)o.splice(n,1),n<=a&&a--}),this},has:function(e){return e?m.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return r=s=[],o=n="",this},disabled:function(){return!o},lock:function(){return r=!0,n||c.disable(),this},locked:function(){return!!r},fireWith:function(e,n){return r||(n=[e,(n=n||[]).slice?n.slice():n],s.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!i}};return c},m.extend({Deferred:function(e){var t=[["resolve","done",m.Callbacks("once memory"),"resolved"],["reject","fail",m.Callbacks("once memory"),"rejected"],["notify","progress",m.Callbacks("memory")]],n="pe
2nding",i={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var e=arguments;return m.Deferred(function(n){m.each(t,function(t,o){var s=m.isFunction(e[t])&&e[t];r[o[1]](function(){var e=s&&s.apply(this,arguments);e&&m.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[o[0]+"With"](this===i?n.promise():this,s?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?m.extend(e,i):i}},r={};return i.pipe=i.then,m.each(t,function(e,o){var s=o[2],a=o[3];i[o[1]]=s.add,a&&s.add(function(){n=a},t[1^e][2].disable,t[2][2].lock),r[o[0]]=function(){return r[o[0]+"With"](this===r?i:this,arguments),this},r[o[0]+"With"]=s.fireWith}),i.promise(r),e&&e.call(r,r),r},when:function(e){var t,n,i,r=0,o=a.call(arguments),s=o.length,l=1!==s||e&&m.isFunction(e.promise)?s:0,c=1===l?e:m.Deferred(),d=function(e,n,i){return function(r){n[e]=this,i[e]=arguments.length>1?a.call(arguments):r,i===t?c.notifyWith(n,i):--l||c.resolveWith(n,i)}};if(s>1)for(t=new Array(s),n=new Array(s),i=new Array(s);r<s;r++)o[r]&&m.isFunction(o[r].promise)?o[r].promise().progress(d(r,n,t)).done(d(r,i,o)).fail(c.reject):--l;return l||c.resolveWith(i,o),c.promise()}}),m.fn.ready=function(e){return m.ready.promise().done(e),this},m.extend({isReady:!1,readyWait:1,holdReady:function(e){e?m.readyWait++:m.ready(!0)},ready:function(e){(!0===e?--m.readyWait:m.isReady)||(m.isReady=!0,!0!==e&&--m.readyWait>0||(N.resolveWith(s,[m]),m.fn.triggerHandler&&(m(s).triggerHandler("ready"),m(s).off("ready"))))}}),m.ready.promise=function(e){if(!N)if(N=m.Deferred(),"complete"===s.readyState||"loading"!==s.readyState&&!s.documentElement.doScroll)i.setTimeout(m.ready);else if(s.addEventListener)s.addEventListener("DOMContentLoaded",H),i.addEventListener("load",H);else{s.attachEvent("onreadystatechange",H),i.attachEvent("onload",H);var t=!1;try{t=null==i.frameElement&&s.documentElement}catch(e){}t&&t.doScroll&&function e(){if(!m.isReady){try{t.doScroll("left")}catch(t){return i.setTimeout(e,50)}j(),m.ready()}}()}return N.promise(e)},m.ready.promise(),m(p))break;p.ownFirst="0"===P,p.inlineBlockNeedsLayout=!1,m(function(){var e,t,n,i;(n=s.getElementsByTagName("body")[0])&&n.style&&(t=s.createElement("div"),(i=s.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(t),void 0!==t.style.zoom&&(t.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",p.inlineBlockNeedsLayout=e=3===t.offsetWidth,e&&(n.style.zoom=1)),n.removeChild(i))}),function(){var e=s.createElement("div");p.deleteExpando=!0;try{delete e.test}catch(e){p.deleteExpando=!1}e=null}();var z,F=function(e){var t=m.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return(1===n||9===n)&&(!t||!0!==t&&e.getAttribute("classid")===t)},B=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,W=/([A-Z])/g;function $(e,t,n){if(void 0===n&&1===e.nodeType){var i="data-"+t.replace(W,"-$1").toLowerCase();if("string"==typeof(n=e.getAttribute(i))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:B.test(n)?m.parseJSON(n):n)}catch(e){}m.data(e,t,n)}else n=void 0}return n}function q(e){var t;for(t in e)if(("data"!==t||!m.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function U(e,t,n,i){if(F(e)){var r,s,a=m.expando,l=e.nodeType,c=l?m.cache:e,d=l?e[a]:e[a]&&a;if(d&&c[d]&&(i||c[d].data)||void 0!==n||"string"!=typeof t)return d||(d=l?e[a]=o.pop()||m.guid++:a),c[d]||(c[d]=l?{}:{toJSON:m.noop}),"object"!=typeof t&&"function"!=typeof t||(i?c[d]=m.extend(c[d],t):c[d].data=m.extend(c[d].data,t)),s=c[d],i||(s.data||(s.data={}),s=s.data),void 0!==n&&(s[m.camelCase(t)]=n),"string"==typeof t?null==(r=s[t])&&(r=s[m.camelCase(t)]):r=s,r}}function G(e,t,n){if(F(e)){var i,r,o=e.nodeType,s=o?m.cache:e,a=o?e[m.expando]:m.expando;if(s[a]){if(t&&(i=n?s[a]:s[a].data)){r=(t=m.isArray(t)?t.concat(m.map(t,m.camelCase)):t in i||(t=m.camelCase(t))in i?[t]:t.split(" ")).length;for(;r--;)delete i[t[r]];if(n?!q(i):!m.isEmptyObject(i))return}(n||(delete s[a].data,q(s[a])))&&(o?m.cleanData([e],!0):p.deleteExpando||s!=s.window?delete s[a]:s[a]=void 0)}}}m.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return!!(e=e.nodeType?m.cache[e[m.expando]]:e[m.expando])&&!q(e)},data:function(e,t,n){return U(e,t,n)},removeData:function(e,t){return G(e,t)},_data:function(e,t,n){return U(e,t,n,!0)},_removeData:function(e,t){return G(e,t,!0)}}),m.fn.extend({data:function(e,t){var n,i,r,o=this[0],s=o&&o.attributes;if(void 0===e){if(this.length&&(r=m.data(o),1===o.nodeType&&!m._data(o,"parsedAttrs"))){for(n=s.length;n--;)s[n]&&0===(i=s[n].name).indexOf("data-")&&$(o,i=m.camelCase(i.slice(5)),r[i]);m._data(o,"parsedAttrs",!0)}return r}return"object"==typeof e?this.each(function(){m.data(this,e)}):arguments.length>1?this.each(function(){m.data(this,e,t)}):o?$(o,e,m.data(o,e)):void 0},removeData:function(e){return this.each(function(){m.removeData(this,e)})}}),m.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=m._data(e,t),n&&(!i||m.isArray(n)?i=m._data(e,t,m.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=m.queue(e,t),i=n.length,r=n.shift(),o=m._queueHooks(e,t);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete o.stop,r.call(e,function(){m.dequeue(e,t)},o)),!i&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return m._data(e,n)||m._data(e,n,{empty:m.Callbacks("once memory").add(function(){m._removeData(e,t+"queue"),m._removeData(e,n)})})}}),m.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?m.queue(this[0],e):void 0===t?this:this.each(function(){var n=m.queue(this,e,t);m._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&m.dequeue(this,e)})},dequeue:function(e){return this.each(function(){m.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,r=m.Deferred(),o=this,s=this.length,a=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)(n=m._data(o[s],e+"queueHooks"))&&n.empty&&(i++,n.empty.add(a));return a(),r.promise(t)}}),p.shrinkWrapBlocks=function(){return null!=z?z:(z=!1,(t=s.getElementsByTagName("body")[0])&&t.style?(e=s.createElement("div"),(n=s.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",t.appendChild(n).appendChild(e),void 0!==e.style.zoom&&(e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",e.appendChild(s.createElement("div")).style.width="5px",z=3!==e.offsetWidth),t.removeChild(n),z):void 0);var e,t,n};var V=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Y=new RegExp("^(?:([+-])=|)("+V+")([a-z%]*)$","i"),Q=["Top","Right","Bottom","Left"],X=function(e,t){return e=t||e,"none"===m.css(e,"display")||!m.contains(e.ownerDocument,e)};function Z(e,t,n,i){var r,o=1,s=20,a=i?function(){return i.cur()}:function(){return m.css(e,t,"")},l=a(),c=n&&n[3]||(m.cssNumber[t]?"":"px"),d=(m.cssNumber[t]||"px"!==c&&+l)&&Y.exec(m.css(e,t));if(d&&d[3]!==c){c=c||d[3],n=n||[],d=+l||1;do{d/=o=o||".5",m.style(e,t,d+c)}while(o!==(o=a()/l)&&1!==o&&--s)}return n&&(d=+d||+l||0,r=n[1]?d+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=d,i.end=r)),r}var J,K,ee,te=function(e,t,n,i,r,o,s){var a=0,l=e.length,c=null==n;
2if("object"===m.type(n))for(a in r=!0,n)te(e,t,a,n[a],!0,o,s);else if(void 0!==i&&(r=!0,m.isFunction(i)||(s=!0),c&&(s?(t.call(e,i),t=null):(c=t,t=function(e,t,n){return c.call(m(e),n)})),t))for(;a<l;a++)t(e[a],n,s?i:i.call(e[a],a,t(e[a],n)));return r?e:c?t.call(e):l?t(e[0],n):o},ne=/^(?:checkbox|radio)$/i,ie=/<([\w:-]+)/,re=/^$|\/(?:java|ecma)script/i,oe=/^\s+/,se="abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video";function ae(e){var t=se.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}J=s.createElement("div"),K=s.createDocumentFragment(),ee=s.createElement("input"),J.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",p.leadingWhitespace=3===J.firstChild.nodeType,p.tbody=!J.getElementsByTagName("tbody").length,p.htmlSerialize=!!J.getElementsByTagName("link").length,p.html5Clone="<:nav></:nav>"!==s.createElement("nav").cloneNode(!0).outerHTML,ee.type="checkbox",ee.checked=!0,K.appendChild(ee),p.appendChecked=ee.checked,J.innerHTML="<textarea>x</textarea>",p.noCloneChecked=!!J.cloneNode(!0).lastChild.defaultValue,K.appendChild(J),(ee=s.createElement("input")).setAttribute("type","radio"),ee.setAttribute("checked","checked"),ee.setAttribute("name","t"),J.appendChild(ee),p.checkClone=J.cloneNode(!0).cloneNode(!0).lastChild.checked,p.noCloneEvent=!!J.addEventListener,J[m.expando]=1,p.attributes=!J.getAttribute(m.expando);var le={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:p.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]};function ce(e,t){var n,i,r=0,o=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):void 0;if(!o)for(o=[],n=e.childNodes||e;null!=(i=n[r]);r++)!t||m.nodeName(i,t)?o.push(i):m.merge(o,ce(i,t));return void 0===t||t&&m.nodeName(e,t)?m.merge([e],o):o}function de(e,t){for(var n,i=0;null!=(n=e[i]);i++)m._data(n,"globalEval",!t||m._data(t[i],"globalEval"))}le.optgroup=le.option,le.tbody=le.tfoot=le.colgroup=le.caption=le.thead,le.th=le.td;var ue=/<|&#?\w+;/,he=/<tbody/i;function fe(e){ne.test(e.type)&&(e.defaultChecked=e.checked)}function pe(e,t,n,i,r){for(var o,s,a,l,c,d,u,h=e.length,f=ae(t),g=[],v=0;v<h;v++)if((s=e[v])||0===s)if("object"===m.type(s))m.merge(g,s.nodeType?[s]:s);else if(ue.test(s)){for(l=l||f.appendChild(t.createElement("div")),c=(ie.exec(s)||["",""])[1].toLowerCase(),u=le[c]||le._default,l.innerHTML=u[1]+m.htmlPrefilter(s)+u[2],o=u[0];o--;)l=l.lastChild;if(!p.leadingWhitespace&&oe.test(s)&&g.push(t.createTextNode(oe.exec(s)[0])),!p.tbody)for(o=(s="table"!==c||he.test(s)?"<table>"!==u[1]||he.test(s)?0:l:l.firstChild)&&s.childNodes.length;o--;
2)m.nodeName(d=s.childNodes[o],"tbody")&&!d.childNodes.length&&s.removeChild(d);for(m.merge(g,l.childNodes),l.textContent="";l.firstChild;)l.removeChild(l.firstChild);l=f.lastChild}else g.push(t.createTextNode(s));for(l&&f.removeChild(l),p.appendChecked||m.grep(ce(g,"input"),fe),v=0;s=g[v++];)if(i&&m.inArray(s,i)>-1)r&&r.push(s);else if(a=m.contains(s.ownerDocument,s),l=ce(f.appendChild(s),"script"),a&&de(l),n)for(o=0;s=l[o++];)re.test(s.type||"")&&n.push(s);return l=null,f}!function(){var e,t,n=s.createElement("div");for(e in{submit:!0,change:!0,focusin:!0})t="on"+e,(p[e]=t in i)||(n.setAttribute(t,"t"),p[e]=!1===n.attributes[t].expando);n=null}();var ge=/^(?:input|select|textarea)$/i,me=/^key/,ve=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ye=/^(?:focusinfocus|focusoutblur)$/,be=/^([^.]*)(?:\.(.+)|)/;function we(){return!0}function Se(){return!1}function Ce(){try{return s.activeElement}catch(e){}}function Ee(e,t,n,i,r,o){var s,a;if("object"==typeof t){for(a in"string"!=typeof n&&(i=i||n,n=void 0),t)Ee(e,a,n,i,t[a],o);return e}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=Se;else if(!r)return e;return 1===o&&(s=r,r=function(e){return m().off(e),s.apply(this,arguments)},r.guid=s.guid||(s.guid=m.guid++)),e.each(function(){m.event.add(this,t,r,i,n)})}m.event={global:{},add:function(e,t,n,i,r){var o,s,a,l,c,d,u,h,f,p,g,v=m._data(e);if(v){for(n.handler&&(n=(l=n).handler,r=l.selector),n.guid||(n.guid=m.guid++),(s=v.events)||(s=v.events={}),(d=v.handle)||(d=v.handle=function(e){return void 0===m||e&&m.event.triggered===e.type?void 0:m.event.dispatch.apply(d.elem,arguments)},d.elem=e),a=(t=(t||"").match(L)||[""]).length;a--;)f=g=(o=be.exec(t[a])||[])[1],p=(o[2]||"").split(".").sort(),f&&(c=m.event.special[f]||{},f=(r?c.delegateType:c.bindType)||f,c=m.event.special[f]||{},u=m.extend({type:f,origType:g,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&m.expr.match.needsContext.test(r),namespace:p.join(".")},l),(h=s[f])||((h=s[f]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(e,i,p,d)||(e.addEventListener?e.addEventListener(f,d,!1):e.attachEvent&&e.attachEvent("on"+f,d))),c.add&&(c.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),r?h.splice(h.delegateCount++,0,u):h.push(u),m.event.global[f]=!0);e=null}},remove:function(e,t,n,i,r){var o,s,a,l,c,d,u,h,f,p,g,v=m.hasData(e)&&m._data(e);if(v&&(d=v.events)){for(c=(t=(t||"").match(L)||[""]).length;c--;)if(f=g=(a=be.exec(t[c])||[])[1],p=(a[2]||"").split(".").sort(),f){for(u=m.event.special[f]||{},h=d[f=(i?u.delegateType:u.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=h.length;o--;)s=h[o],!r&&g!==s.origType||n&&n.guid!==s.guid||a&&!a.test(s.namespace)||i&&i!==s.selector&&("**"!==i||!s.selector)||(h.splice(o,1),s.selector&&h.delegateCount--,u.remove&&u.remove.call(e,s));l&&!h.length&&(u.teardown&&!1!==u.teardown.call(e,p,v.handle)||m.removeEvent(e,f,v.handle),delete d[f])}else for(f in d)m.event.remove(e,f+t[c],n,i,!0);m.isEmptyObject(d)&&(delete v.handle,m._removeData(e,"events"))}},trigger:function(e,t,n,r){var o,a,l,c,d,u,h,p=[n||s],g=f.call(e,"type")?e.type:e,v=f.call(e,"namespace")?e.namespace.split("."):[];if(l=u=n=n||s,3!==n.nodeType&&8!==n.nodeType&&!ye.test(g+m.event.triggered)&&(g.indexOf(".")>-1&&(v=g.split("."),g=v.shift(),v.sort()),a=g.indexOf(":")<0&&"on"+g,(e=e[m.expando]?e:new m.Event(g,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=v.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:m.makeArray(t,[e]),d=m.event.special[g]||{},r||!d.trigger||!1!==d.trigger.apply(n,t))){if(!r&&!d.noBubble&&!m.isWindow(n)){for(c=d.delegateType||g,ye.test(c+g)||(l=l.parentNode);l;l=l.parentNode)p.push(l),u=l;u===(n.ownerDocument||s)&&p.push(u.defaultView||u.parentWindow||i)}for(h=0;(l=p[h++])&&!e.isPropagationStopped();)e.type=h>1?c:d.bindType||g,(o=(m._data(l,"events")||{})[e.type]&&m._data(l,"handle"))&&o.apply(l,t),(o=a&&l[a])&&o.apply&&F(l)&&(e.result=o.apply(l,t),!1===e.result&&e.preventDefault());if(e.type=g,!r&&!e.isDefaultPrevented()&&(!d._default||!1===d._default.apply(p.pop(),t))&&F(n)&&a&&n[g]&&!m.isWindow(n)){(u=n[a])&&(n[a]=null),m.event.triggered=g;try{n[g]()}catch(e){}m.event.triggered=void 0,u&&(n[a]=u)}return e.result}},dispatch:function(e){e=m.event.fix(e);var t,n,i,r,o,s,l=a.call(arguments),c=(m._data(this,"events")||{})[e.type]||[],d=m.event.special[e.type]||{};if(l[0]=e,e.delegateTarget=this,!d.preDispatch||!1!==d.preDispatch.call(this,e)){for(s=m.event.handlers.call(this,e,c),t=0;(r=s[t++])&&!e.isPropagationStopped();
2)for(e.currentTarget=r.elem,n=0;(o=r.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(o.namespace)||(e.handleObj=o,e.data=o.data,void 0!==(i=((m.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,l))&&!1===(e.result=i)&&(e.preventDefault(),e.stopPropagation()));return d.postDispatch&&d.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,i,r,o,s=[],a=t.delegateCount,l=e.target;if(a&&l.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==e.type)){for(i=[],n=0;n<a;n++)void 0===i[r=(o=t[n]).selector+" "]&&(i[r]=o.needsContext?m(r,this).index(l)>-1:m.find(r,this,null,[l]).length),i[r]&&i.push(o);i.length&&s.push({elem:l,handlers:i})}return a<t.length&&s.push({elem:this,handlers:t.slice(a)}),s},fix:function(e){if(e[m.expando])return e;var t,n,i,r=e.type,o=e,a=this.fixHooks[r];for(a||(this.fixHooks[r]=a=ve.test(r)?this.mouseHooks:me.test(r)?this.keyHooks:{}),i=a.props?this.props.concat(a.props):this.props,e=new m.Event(o),t=i.length;t--;)e[n=i[t]]=o[n];return e.target||(e.target=o.srcElement||s),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,a.filter?a.filter(e,o):e},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,i,r,o=t.button,a=t.fromElement;return null==e.pageX&&null!=t.clientX&&(r=(i=e.target.ownerDocument||s).documentElement,n=i.body,e.pageX=t.clientX+(r&&r.scrollLeft||n&&n.scrollLeft||0)-(r&&r.clientLeft||n&&n.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||n&&n.scrollTop||0)-(r&&r.clientTop||n&&n.clientTop||0)),!e.relatedTarget&&a&&(e.relatedTarget=a===e.target?t.toElement:a),e.which||void 0===o||(e.which=1&o?1:2&o?3:4&o?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==Ce()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){if(this===Ce()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(m.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(e){return m.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n){var i=m.extend(new m.Event,n,{type:e,isSimulated:!0});m.event.trigger(i,null,t),i.isDefaultPrevented()&&n.preventDefault()}},m.removeEvent=s.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)}:function(e,t,n){var i="on"+t;e.detachEvent&&(void 0===e[i]&&(e[i]=null),e.detachEvent(i,n))},m.Event=function(e,t){if(!(this instanceof m.Event))return new m.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?we:Se):this.type=e,t&&m.extend(this,t),this.timeStamp=e&&e.timeStamp||m.now(),this[m.expando]=!0},m.Event.prototype={constructor:m.Event,isDefaultPrevented:Se,isPropagationStopped:Se,isImmediatePropagationStopped:Se,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=we,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=we,e&&!this.isSimulated&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=we,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation()}}
2,m.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){m.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=e.relatedTarget,r=e.handleObj;return i&&(i===this||m.contains(this,i))||(e.type=r.origType,n=r.handler.apply(this,arguments),e.type=t),n}}}),p.submit||(m.event.special.submit={setup:function(){if(m.nodeName(this,"form"))return!1;m.event.add(this,"click._submit keypress._submit",function(e){var t=e.target,n=m.nodeName(t,"input")||m.nodeName(t,"button")?m.prop(t,"form"):void 0;n&&!m._data(n,"submit")&&(m.event.add(n,"submit._submit",function(e){e._submitBubble=!0}),m._data(n,"submit",!0))})},postDispatch:function(e){e._submitBubble&&(delete e._submitBubble,this.parentNode&&!e.isTrigger&&m.event.simulate("submit",this.parentNode,e))},teardown:function(){if(m.nodeName(this,"form"))return!1;m.event.remove(this,"._submit")}}),p.change||(m.event.special.change={setup:function(){if(ge.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(m.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._justChanged=!0)}),m.event.add(this,"click._change",function(e){this._justChanged&&!e.isTrigger&&(this._justChanged=!1),m.event.simulate("change",this,e)})),!1;m.event.add(this,"beforeactivate._change",function(e){var t=e.target;ge.test(t.nodeName)&&!m._data(t,"change")&&(m.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||m.event.simulate("change",this.parentNode,e)}),m._data(t,"change",!0))})},handle:function(e){var t=e.target;if(this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type)return e.handleObj.handler.apply(this,arguments)},teardown:function(){return m.event.remove(this,"._change"),!ge.test(this.nodeName)}}),p.focusin||m.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){m.event.simulate(t,e.target,m.event.fix(e))};m.event.special[t]={setup:function(){var i=this.ownerDocument||this,r=m._data(i,t);r||i.addEventListener(e,n,!0),m._data(i,t,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this,r=m._data(i,t)-1;r?m._data(i,t,r):(i.removeEventListener(e,n,!0),m._removeData(i,t))}}}),m.fn.extend({on:function(e,t,n,i){return Ee(this,e,t,n,i)},one:function(e,t,n,i){return Ee(this,e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,m(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(r in e)this.off(r,t,e[r]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Se),this.each(function(){m.event.remove(this,e,n,t)})},trigger:function(e,t){return this.each(function(){m.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return m.event.trigger(e,t,n,!0)}});var Ae=/ jQuery\d+="(?:null|\d+)"/g,xe=new RegExp("<(?:"+se+")[\\s/>]","i"),De=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Te=/<script|<style|<link/i,ke=/checked\s*(?:[^=]|=\s*.checked.)/i,_e=/^true\/(.*)/,Me=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Ie=ae(s).appendChild(s.createElement("div"));function Oe(e,t){return m.nodeName(e,"table")&&m.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function Re(e){return e.type=(null!==m.find.attr(e,"type"))+"/"+e.type,e}function Ne(e){var t=_e.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function Pe(e,t){if(1===t.nodeType&&m.hasData(e)){var n,i,r,o=m._data(e),s=m._data(t,o),a=o.events;if(a)for(n in delete s.handle,s.events={},a)for(i=0,r=a[n].length;i<r;i++)m.event.add(t,n,a[n][i]);s.data&&(s.data=m.extend({},s.data))}}function Le(e,t){var n,i,r;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!p.noCloneEvent&&t[m.expando]){for(i in(r=m._data(t)).events)m.removeEvent(t,i,r.handle);t.removeAttribute(m.expando)}"script"===n&&t.text!==e.text?(Re(t).text=e.text,Ne(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),p.html5Clone&&e.innerHTML&&!m.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&ne.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}}function je(e,t,n,i){t=l.apply([],t);var r,o,s,a,c,d,u=0,h=e.length,f=h-1,g=t[0],v=m.isFunction(g);if(v||h>
21&&"string"==typeof g&&!p.checkClone&&ke.test(g))return e.each(function(r){var o=e.eq(r);v&&(t[0]=g.call(this,r,o.html())),je(o,t,n,i)});if(h&&(r=(d=pe(t,e[0].ownerDocument,!1,e,i)).firstChild,1===d.childNodes.length&&(d=r),r||i)){for(s=(a=m.map(ce(d,"script"),Re)).length;u<h;u++)o=d,u!==f&&(o=m.clone(o,!0,!0),s&&m.merge(a,ce(o,"script"))),n.call(e[u],o,u);if(s)for(c=a[a.length-1].ownerDocument,m.map(a,Ne),u=0;u<s;u++)o=a[u],re.test(o.type||"")&&!m._data(o,"globalEval")&&m.contains(c,o)&&(o.src?m._evalUrl&&m._evalUrl(o.src):m.globalEval((o.text||o.textContent||o.innerHTML||"").replace(Me,"")));d=r=null}return e}function He(e,t,n){for(var i,r=t?m.filter(t,e):e,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||m.cleanData(ce(i)),i.parentNode&&(n&&m.contains(i.ownerDocument,i)&&de(ce(i,"script")),i.parentNode.removeChild(i));return e}m.extend({htmlPrefilter:function(e){return e.replace(De,"<$1></$2>")},clone:function(e,t,n){var i,r,o,s,a,l=m.contains(e.ownerDocument,e);if(p.html5Clone||m.isXMLDoc(e)||!xe.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(Ie.innerHTML=e.outerHTML,Ie.removeChild(o=Ie.firstChild)),!(p.noCloneEvent&&p.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||m.isXMLDoc(e)))for(i=ce(o),a=ce(e),s=0;null!=(r=a[s]);++s)i[s]&&Le(r,i[s]);if(t)if(n)for(a=a||ce(e),i=i||ce(o),s=0;null!=(r=a[s]);s++)Pe(r,i[s]);else Pe(e,o);return(i=ce(o,"script")).length>0&&de(i,!l&&ce(e,"script")),i=a=r=null,o},cleanData:function(e,t){for(var n,i,r,s,a=0,l=m.expando,c=m.cache,d=p.attributes,u=m.event.special;null!=(n=e[a]);
2a++)if((t||F(n))&&(s=(r=n[l])&&c[r])){if(s.events)for(i in s.events)u[i]?m.event.remove(n,i):m.removeEvent(n,i,s.handle);c[r]&&(delete c[r],d||void 0===n.removeAttribute?n[l]=void 0:n.removeAttribute(l),o.push(r))}}}),m.fn.extend({domManip:je,detach:function(e){return He(this,e,!0)},remove:function(e){return He(this,e)},text:function(e){return te(this,function(e){return void 0===e?m.text(this):this.empty().append((this[0]&&this[0].ownerDocument||s).createTextNode(e))},null,e,arguments.length)},append:function(){return je(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Oe(this,e).appendChild(e)})},prepend:function(){return je(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Oe(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return je(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return je(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&m.cleanData(ce(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&m.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return m.clone(this,e,t)})},html:function(e){return te(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e)return 1===t.nodeType?t.innerHTML.replace(Ae,""):void 0;if("string"==typeof e&&!Te.test(e)&&(p.htmlSerialize||!xe.test(e))&&(p.leadingWhitespace||!oe.test(e))&&!le[(ie.exec(e)||["",""])[1].toLowerCase()]){e=m.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(m.cleanData(ce(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return je(this,arguments,function(t){var n=this.parentNode;m.inArray(this,e)<0&&(m.cleanData(ce(this)),n&&n.replaceChild(t,this))},e)}}),m.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){m.fn[e]=function(e){for(var n,i=0,r=[],o=m(e),s=o.length-1;i<=s;i++)n=i===s?this:this.clone(!0),m(o[i])[t](n),c.apply(r,n.get());return this.pushStack(r)}});var ze,Fe={HTML:"block",BODY:"block"};function Be(e,t){var n=m(t.createElement(e)).appendTo(t.body),i=m.css(n[0],"display");return n.detach(),i}function We(e){var t=s,n=Fe[e];return n||("none"!==(n=Be(e,t))&&n||((t=((ze=(ze||m("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement))[0].contentWindow||ze[0].contentDocument).document).write(),t.close(),n=Be(e,t),ze.detach()),Fe[e]=n),n}var $e=/^margin/,qe=new RegExp("^("+V+")(?!px)[a-z%]+$","i"),Ue=function(e,t,n,i){var r,o,s={};for(o in t)s[o]=e.style[o],e.style[o]=t[o];for(o in r=n.apply(e,i||[]),t)e.style[o]=s[o];return r},Ge=s.documentElement;!function(){var e,t,n,r,o,a,l=s.createElement("div"),c=s.createElement("div");function d(){var d,u,h=s.documentElement;h.appendChild(l),c.style.cssText="-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",e=n=a=!1,t=o=!0,i.getComputedStyle&&(u=i.getComputedStyle(c),e="1%"!==(u||{}).top,a="2px"===(u||{}).marginLeft,n="4px"===(u||{width:"4px"}).width,c.style.marginRight="50%",t="4px"===(u||{marginRight:"4px"}).marginRight,(d=c.appendChild(s.createElement("div"))).style.cssText=c.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",d.style.marginRight=d.style.width="0",c.style.width="1px",o=!parseFloat((i.getComputedStyle(d)||{}).marginRight),c.removeChild(d)),c.style.display="none",(r=0===c.getClientRects().length)&&(c.style.display="",c.innerHTML="<table><tr><td></td><td>t</td></tr></table>",c.childNodes[0].style.borderCollapse="separate",(d=c.getElementsByTagName("td"))[0].style.cssText="margin:0;border:0;padding:0;display:none",(r=0===d[0].offsetHeight)&&(d[0].style.display="",d[1].style.display="none",r=0===d[0].offsetHeight)),h.removeChild(l)}c.style&&(c.style.cssText="float:left;opacity:.5",p.opacity="0.5"===c.style.opacity,p.cssFloat=!!c.style.cssFloat,c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",p.clearCloneStyle="content-box"===c.style.backgroundClip,(l=s.createElement("div")).style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",c.innerHTML="",l.appendChild(c),p.boxSizing=""===c.style.boxSizing||""===c.style.MozBoxSizing||""===c.style.WebkitBoxSizing,m.extend(p,{reliableHiddenOffsets:function(){return null==e&&d(),r},boxSizingReliable:function(){return null==e&&d(),n},pixelMarginRight:function(){return null==e&&d(),t},pixelPosition:function(){return null==e&&d(),e},reliableMarginRight:function(){return null==e&&d(),o},reliableMarginLeft:function(){return null==e&&d(),a}}
2))}();var Ve,Ye,Qe=/^(top|right|bottom|left)$/;function Xe(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}i.getComputedStyle?(Ve=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=i),t.getComputedStyle(e)},Ye=function(e,t,n){var i,r,o,s,a=e.style;return""!==(s=(n=n||Ve(e))?n.getPropertyValue(t)||n[t]:void 0)&&void 0!==s||m.contains(e.ownerDocument,e)||(s=m.style(e,t)),n&&!p.pixelMarginRight()&&qe.test(s)&&$e.test(t)&&(i=a.width,r=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=i,a.minWidth=r,a.maxWidth=o),void 0===s?s:s+""}):Ge.currentStyle&&(Ve=function(e){return e.currentStyle},Ye=function(e,t,n){var i,r,o,s,a=e.style;return null==(s=(n=n||Ve(e))?n[t]:void 0)&&a&&a[t]&&(s=a[t]),qe.test(s)&&!Qe.test(t)&&(i=a.left,(o=(r=e.runtimeStyle)&&r.left)&&(r.left=e.currentStyle.left),a.left="fontSize"===t?"1em":s,s=a.pixelLeft+"px",a.left=i,o&&(r.left=o)),void 0===s?s:s+""||"auto"});var Ze=/alpha\([^)]*\)/i,Je=/opacity\s*=\s*([^)]*)/i,Ke=/^(none|table(?!-c[ea]).+)/,et=new RegExp("^("+V+")(.*)$","i"),tt={position:"absolute",visibility:"hidden",display:"block"},nt={letterSpacing:"0",fontWeight:"400"},it=["Webkit","O","Moz","ms"],rt=s.createElement("div").style;function ot(e){if(e in rt)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=it.length;n--;)if((e=it[n]+t)in rt)return e}function st(e,t){for(var n,i,r,o=[],s=0,a=e.length;s<a;s++)(i=e[s]).style&&(o[s]=m._data(i,"olddisplay"),n=i.style.display,t?(o[s]||"none"!==n||(i.style.display=""),""===i.style.display&&X(i)&&(o[s]=m._data(i,"olddisplay",We(i.nodeName)))):(r=X(i),(n&&"none"!==n||!r)&&m._data(i,"olddisplay",r?n:m.css(i,"display"))));for(s=0;s<a;s++)(i=e[s]).style&&(t&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=t?o[s]||"":"none"));return e}function at(e,t,n){var i=et.exec(t);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):t}function lt(e,t,n,i,r){for(var o=n===(i?"border":"content")?4:"width"===t?1:0,s=0;o<4;o+=2)"margin"===n&&(s+=m.css(e,n+Q[o],!0,r)),i?("content"===n&&(s-=m.css(e,"padding"+Q[o],!0,r)),"margin"!==n&&(s-=m.css(e,"border"+Q[o]+"Width",!0,r))):(s+=m.css(e,"padding"+Q[o],!0,r),"padding"!==n&&(s+=m.css(e,"border"+Q[o]+"Width",!0,r)));return s}function ct(e,t,n){var i=!0,r="width"===t?e.offsetWidth:e.offsetHeight,o=Ve(e),s=p.boxSizing&&"border-box"===m.css(e,"boxSizing",!1,o);if(r<=0||null==r){if(((r=Ye(e,t,o))<0||null==r)&&(r=e.style[t]),qe.test(r))return r;i=s&&(p.boxSizingReliable()||r===e.style[t]),r=parseFloat(r)||0}return r+lt(e,t,n||(s?"border":"content"),i,o)+"px"}function dt(e,t,n,i,r){return new dt.prototype.init(e,t,n,i,r)}m.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ye(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:p.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,o,s,a=m.camelCase(t),l=e.style;if(t=m.cssProps[a]||(m.cssProps[a]=ot(a)||a),s=m.cssHooks[t]||m.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(r=s.get(e,!1,i))?r:l[t];if("string"==(o=typeof n)&&(r=Y.exec(n))&&r[1]&&(n=Z(e,t,r),o="number"),null!=n&&n==n&&("number"===o&&(n+=r&&r[3]||(m.cssNumber[a]?"":"px")),p.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),!s||!("set"in s)||void 0!==(n=s.set(e,n,i))))try{l[t]=n}catch(e){}}},css:function(e,t,n,i){var r,o,s,a=m.camelCase(t);return t=m.cssProps[a]||(m.cssProps[a]=ot(a)||a),(s=m.cssHooks[t]||m.cssHooks[a])&&"get"in s&&(o=s.get(e,!0,n)),void 0===o&&(o=Ye(e,t,i)),"normal"===o&&t in nt&&(o=nt[t]),""===n||n?(r=parseFloat(o),!0===n||isFinite(r)?r||0:o):o}}),m.each(["height","width"],function(e,t){m.cssHooks[t]={get:function(e,n,i){if(n)return Ke.test(m.css(e,"display"))&&0===e.offsetWidth?Ue(e,tt,function(){return ct(e,t,i)}):ct(e,t,i)},set:function(e,n,i){var r=i&&Ve(e);return at(0,n,i?lt(e,t,i,p.boxSizing&&"border-box"===m.css(e,"boxSizing",!1,r),r):0)}}}),p.opacity||(m.cssHooks.opacity={get:function(e,t){return Je.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,i=e.currentStyle,r=m.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=i&&i.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===m.trim(o.replace(Ze,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||i&&!i.filter)||(n.filter=Ze.test(o)?o.replace(Ze,r):o+" "+r)}}),m.cssHooks.marginRight=Xe(p.reliableMarginRight,function(e,t){if(t)return Ue(e,{display:"inline-block"},Ye,[e,"marginRight"])}),m.cssHooks.marginLeft=Xe(p.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ye(e,"marginLeft"))||(m.contains(e.ownerDocument,e)?e.getBoundingClientRect().left-Ue(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}):0))+"px"}),m.each({margin:"",padding:"",border:"Width"},function(e,t){m.cssHooks[e+t]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];i<4;i++)r[e+Q[i]+t]=o[i]||o[i-2]||o[0];return r}},$e.test(e)||(m.cssHooks[e+t].set=at)}),m.fn.extend({css:function(e,t){return te(this,function(e,t,n){var i,r,o={},s=0;if(m.isArray(t)){for(i=Ve(e),r=t.length;s<r;s++)o[t[s]]=m.css(e,t[s],!1,i);return o}return void 0!==n?m.style(e,t,n):m.css(e,t)},e,t,arguments.length>1)},show:function(){return st(this,!0)},hide:function(){return st(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){X(this)?m(this).show():m(this).hide()})}}),m.Tween=dt,dt.prototype={constructor:dt,init:function(e,t,n,i,r,o){this.elem=e,this.prop=n,this.easing=r||m.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=o||(m.cssNumber[n]?"":"px")},cur:function(){var e=dt.propHooks[this.prop];return e&&e.get?e.get(this):dt.propHooks._default.get(this)},run:function(e){var t,n=dt.propHooks[this.prop];return this.options.duration?this.pos=t=m.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):dt.propHooks._default.set(this),this}},dt.prototype.init.prototype=dt.prototype,dt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=m.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){m.fx.step[e.prop]?m.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[m.cssProps[e.prop]]&&!m.cssHooks[e.prop]?e.elem[e.prop]=e.now:m.style(e.elem,e.prop,e.now+e.unit)}}},dt.propHooks.scrollTop=dt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},m.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},m.fx=dt.prototype.init,m.fx.step={};var ut,ht,ft=/^(?:toggle|show|hide)$/,pt=/queueHooks$/;function gt(){return i.setTimeout(function(){ut=void 0}),ut=m.now()}function mt(e,t){var n,i={height:e},r=0;for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=Q[r])]=i["padding"+n]=e;
vendor: 4,910 bytes, line 2
2return t&&(i.opacity=i.width=e),i}function vt(e,t,n){for(var i,r=(yt.tweeners[t]||[]).concat(yt.tweeners["*"]),o=0,s=r.length;o<s;o++)if(i=r[o].call(n,t,e))return i}function yt(e,t,n){var i,r,o=0,s=yt.prefilters.length,a=m.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var t=ut||gt(),n=Math.max(0,c.startTime+c.duration-t),i=1-(n/c.duration||0),o=0,s=c.tweens.length;o<s;o++)c.tweens[o].run(i);return a.notifyWith(e,[c,i,n]),i<1&&s?n:(a.resolveWith(e,[c]),!1)},c=a.promise({elem:e,props:m.extend({},t),opts:m.extend(!0,{specialEasing:{},easing:m.easing._default},n),originalProperties:t,originalOptions:n,startTime:ut||gt(),duration:n.duration,tweens:[],createTween:function(t,n){var i=m.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(i),i},stop:function(t){var n=0,i=t?c.tweens.length:0;if(r)return this;for(r=!0;n<i;n++)c.tweens[n].run(1);return t?(a.notifyWith(e,[c,1,0]),a.resolveWith(e,[c,t])):a.rejectWith(e,[c,t]),this}}),d=c.props;for(function(e,t){var n,i,r,o,s;for(n in e)if(r=t[i=m.camelCase(n)],o=e[n],m.isArray(o)&&(r=o[1],o=e[n]=o[0]),n!==i&&(e[i]=o,delete e[n]),(s=m.cssHooks[i])&&"expand"in s)for(n in o=s.expand(o),delete e[i],o)n in e||(e[n]=o[n],t[n]=r);else t[i]=r}(d,c.opts.specialEasing);o<s;o++)if(i=yt.prefilters[o].call(c,e,d,c.opts))return m.isFunction(i.stop)&&(m._queueHooks(c.elem,c.opts.queue).stop=m.proxy(i.stop,i)),i;return m.map(d,vt,c),m.isFunction(c.opts.start)&&c.opts.start.call(e,c),m.fx.timer(m.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always)}m.Animation=m.extend(yt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return Z(n.elem,e,Y.exec(t),n),n}]},tweener:function(e,t){m.isFunction(e)?(t=e,e=["*"]):e=e.match(L);for(var n,i=0,r=e.length;i<r;i++)n=e[i],yt.tweeners[n]=yt.tweeners[n]||[],yt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var i,r,o,s,a,l,c,d=this,u={},h=e.style,f=e.nodeType&&X(e),g=m._data(e,"fxshow");for(i in n.queue||(null==(a=m._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,l=a.empty.fire,a.empty.fire=function(){a.unqueued||l()}),a.unqueued++,d.always(function(){d.always(function(){a.unqueued--,m.queue(e,"fx").length||a.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],"inline"===("none"===(c=m.css(e,"display"))?m._data(e,"olddisplay")||We(e.nodeName):c)&&"none"===m.css(e,"float")&&(p.inlineBlockNeedsLayout&&"inline"!==We(e.nodeName)?h.zoom=1:h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.shrinkWrapBlocks()||d.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),t)if(r=t[i],ft.exec(r)){if(delete t[i],o=o||"toggle"===r,r===(f?"hide":"show")){if("show"!==r||!g||void 0===g[i])continue;f=!0}u[i]=g&&g[i]||m.style(e,i)}else c=void 0;if(m.isEmptyObject(u))"inline"===("none"===c?We(e.nodeName):c)&&(h.display=c);else for(i in g?"hidden"in g&&(f=g.hidden):g=m._data(e,"fxshow",{}),o&&(g.hidden=!f),f?m(e).show():d.done(function(){m(e).hide()}),d.done(function(){var t;for(t in m._removeData(e,"fxshow"),u)m.style(e,t,u[t])}),u)s=vt(f?g[i]:0,i,d),i in g||(g[i]=s.start,f&&(s.end=s.start,s.start="width"===i||"height"===i?1:0))}],prefilter:function(e,t){t?yt.prefilters.unshift(e):yt.prefilters.push(e)}}),m.speed=function(e,t,n){var i=e&&"object"==typeof e?m.extend({},e):{complete:n||!n&&t||m.isFunction(e)&&e,duration:e,easing:n&&t||t&&!m.isFunction(t)&&t};return i.duration=m.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in m.fx.speeds?m.fx.speeds[i.duration]:m.fx.speeds._default,null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){m.isFunction(i.old)&&i.old.call(this),i.queue&&m.dequeue(this,i.queue)},i},m.fn.extend({fadeTo:function(e,t,n,i){return this.filter(X).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var r=m.isEmptyObject(e),o=m.speed(t,n,i),s=function(){var t=yt(this,m.extend({},e),o);(r||m._data(this,"finish"))&&t.stop(!0)};return s.finish=s,r||!1===o.queue?this.each(s):this.queue(o.queue,s)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,r=null!=e&&e+"queueHooks",o=m.timers,s=m._data(this);if(r)s[r]&&s[r].stop&&i(s[r]);else for(r in s)s[r]&&s[r].stop&&pt.test(r)&&i(s[r]);for(r=o.length;r--;)o[r].elem!==this||null!=e&&o[r].queue!==e||(o[r].anim.stop(n),t=!1,o.splice(r,1));!t&&n||m.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=m._data(this),i=n[e+"queue"],r=n[e+"queueHooks"],o=m.timers,s=i?i.length:0;for(n.finish=!0,m.queue(this,e,[]),r&&r.stop&&r.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1)
2);for(t=0;t<s;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish})}}),m.each(["toggle","show","hide"],function(e,t){var n=m.fn[t];m.fn[t]=function(e,i,r){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(mt(t,!0),e,i,r)}}),m.each({slideDown:mt("show"),slideUp:mt("hide"),slideToggle:mt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){m.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}}),m.timers=[],m.fx.tick=function(){var e,t=m.timers,n=0;for(ut=m.now();n<t.length;n++)(e=t[n])()||t[n]!==e||t.splice(n--,1);t.length||m.fx.stop(),ut=void 0},m.fx.timer=function(e){m.timers.push(e),e()?m.fx.start():m.timers.pop()},m.fx.interval=13,m.fx.start=function(){ht||(ht=i.setInterval(m.fx.tick,m.fx.interval))},m.fx.stop=function(){i.clearInterval(ht),ht=null},m.fx.speeds={slow:600,fast:200,_default:400},m.fn.delay=function(e,t){return e=m.fx&&m.fx.speeds[e]||e,t=t||"fx",this.queue(t,function(t,n){var r=i.setTimeout(t,e);n.stop=function(){i.clearTimeout(r)}})},function(){var e,t=s.createElement("input"),n=s.createElement("div"),i=s.createElement("select"),r=i.appendChild(s.createElement("option"));(n=s.createElement("div")).setAttribute("className","t"),n.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",e=n.getElementsByTagName("a")[0],t.setAttribute("type","checkbox"),n.appendChild(t),(e=n.getElementsByTagName("a")[0]).style.cssText="top:1px",p.getSetAttribute="t"!==n.className,p.style=/top/.test(e.getAttribute("style")),p.hrefNormalized="/a"===e.getAttribute("href"),p.checkOn=!!t.value,p.optSelected=r.selected,p.enctype=!!s.createElement("form").enctype,i.disabled=!0,p.optDisabled=!r.disabled,(t=s.createElement("input")).setAttribute("value",""),p.input=""===t.getAttribute("value"),t.value="t",t.setAttribute("type","radio"),p.radioValue="t"===t.value}();var bt=/\r/g,wt=/[\x20\t\r\n\f]+/g;m.fn.extend({val:function(e){var t,n,i,r=this[0];return arguments.length?(i=m.isFunction(e),this.each(function(n){var r;1===this.nodeType&&(null==(r=i?e.call(this,n,m(this).val()):e)?r="":"number"==typeof r?r+="":m.isArray(r)&&(r=m.map(r,function(e){return null==e?"":e+""})),(t=m.valHooks[this.type]||m.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))})):r?(t=m.valHooks[r.type]||m.valHooks[r.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(r,"value"))?n:"string"==typeof(n=r.value)?n.replace(bt,""):null==n?"":n:void 0}}),m.extend({valHooks:{option:{get:function(e){var t=m.find.attr(e,"value");return null!=t?t:m.trim(m.text(e)).replace(wt," ")}},select:{get:function(e){for(var t,n,i=e.options,r=e.selectedIndex,o="select-one"===e.type||r<0,s=o?null:[],a=o?r+1:i.length,l=r<0?a:o?r:0;l<a;l++)if(((n=i[l]).selected||l===r)&&(p.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!m.nodeName(n.parentNode,"optgroup"))){if(t=m(n).val(),o)return t;s.push(t)}return s},set:function(e,t){for(var n,i,r=e.options,o=m.makeArray(t),s=r.length;s--;)if(i=r[s],m.inArray(m.valHooks.option.get(i),o)>-1)try{i.selected=n=!0}catch(e){i.scrollHeight}else i.selected=!1;return n||(e.selectedIndex=-1),r}}}}),m.each(["radio","checkbox"],function(){m.valHooks[this]={set:function(e,t){if(m.isArray(t))return e.checked=m.inArray(m(e).val(),t)>-1}},p.checkOn||(m.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var St,Ct,Et=m.expr.attrHandle,At=/^(?:checked|selected)$/i,xt=p.getSetAttribute,Dt=p.input;m.fn.extend({attr:function(e,t){return te(this,m.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){m.removeAttr(this,e)})}}),m.extend({attr:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?m.prop(e,t,n):(1===o&&m.isXMLDoc(e)||(t=t.toLowerCase(),r=m.attrHooks[t]||(m.expr.match.bool.test(t)?Ct:St)),void 0!==n?null===n?void m.removeAttr(e,t):r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):r&&"get"in r&&null!==(i=r.get(e,t))?i:null==(i=m.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!p.radioValue&&"radio"===t&&m.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i,r=0,o=t&&t.match(L);if(o&&1===e.nodeType)for(;n=o[r++];)i=m.propFix[n]||n,m.expr.match.bool.test(n)?Dt&&xt||!At.test(n)?e[i]=!1:e[m.camelCase("default-"+n)]=e[i]=!1:m.attr(e,n,""),e.removeAttribute(xt?n:i)}}),Ct={set:function(e,t,n){return!1===t?m.removeAttr(e,n):Dt&&xt||!At.test(n)?e.setAttribute(!xt&&m.propFix[n]||n,n):e[m.camelCase("default-"+n)]=e[n]=!0,n}},m.each(m.expr.match.bool.source.match(/\w+/g),function(e,t){var n=Et[t]||m.find.attr;Dt&&xt||!At.test(t)?Et[t]=function(e,t,i){var r,o;
2return i||(o=Et[t],Et[t]=r,r=null!=n(e,t,i)?t.toLowerCase():null,Et[t]=o),r}:Et[t]=function(e,t,n){if(!n)return e[m.camelCase("default-"+t)]?t.toLowerCase():null}}),Dt&&xt||(m.attrHooks.value={set:function(e,t,n){if(!m.nodeName(e,"input"))return St&&St.set(e,t,n);e.defaultValue=t}}),xt||(St={set:function(e,t,n){var i=e.getAttributeNode(n);if(i||e.setAttributeNode(i=e.ownerDocument.createAttribute(n)),i.value=t+="","value"===n||t===e.getAttribute(n))return t}},Et.id=Et.name=Et.coords=function(e,t,n){var i;if(!n)return(i=e.getAttributeNode(t))&&""!==i.value?i.value:null},m.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);if(n&&n.specified)return n.value},set:St.set},m.attrHooks.contenteditable={set:function(e,t,n){St.set(e,""!==t&&t,n)}},m.each(["width","height"],function(e,t){m.attrHooks[t]={set:function(e,n){if(""===n)return e.setAttribute(t,"auto"),n}}})),p.style||(m.attrHooks.style={get:function(e){return e.style.cssText||void 0},set:function(e,t){return e.style.cssText=t+""}});var Tt=/^(?:input|select|textarea|button|object)$/i,kt=/^(?:a|area)$/i;m.fn.extend({prop:function(e,t){return te(this,m.prop,e,t,arguments.length>1)},removeProp:function(e){return e=m.propFix[e]||e,this.each(function(){try{this[e]=void 0,delete this[e]}catch(e){}})}}),m.extend({prop:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&m.isXMLDoc(e)||(t=m.propFix[t]||t,r=m.propHooks[t]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:e[t]=n:r&&"get"in r&&null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=m.find.attr(e,"tabindex");return t?parseInt(t,10):Tt.test(e.nodeName)||kt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),p.hrefNormalized||m.each(["href","src"],function(e,t){m.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),p.optSelected||(m.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),m.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){m.propFix[this.toLowerCase()]=this}),p.enctype||(m.propFix.enctype="encoding");var _t=/[\t\r\n\f]/g;function Mt(e){return m.attr(e,"class")||""}m.fn.extend({addClass:function(e){var t,n,i,r,o,s,a,l=0;if(m.isFunction(e))return this.each(function(t){m(this).addClass(e.call(this,t,Mt(this)))});if("string"==typeof e&&e)for(t=e.match(L)||[];n=this[l++];)if(r=Mt(n),i=1===n.nodeType&&(" "+r+" ").replace(_t," ")){for(s=0;o=t[s++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");r!==(a=m.trim(i))&&m.attr(n,"class",a)}return this},removeClass:function(e){var t,n,i,r,o,s,a,l=0;if(m.isFunction(e))return this.each(function(t){m(this).removeClass(e.call(this,t,Mt(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(L)||[];n=this[l++];)if(r=Mt(n),i=1===n.nodeType&&(" "+r+" ").replace(_t," ")){for(s=0;o=t[s++];)for(;i.indexOf(" "+o+" ")>-1;)i=i.replace(" "+o+" "," ");r!==(a=m.trim(i))&&m.attr(n,"class",a)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):m.isFunction(e)?this.each(function(n){m(this).toggleClass(e.call(this,n,Mt(this),t),t)}):this.each(function(){var t,i,r,o;if("string"===n)for(i=0,r=m(this),o=e.match(L)||[];t=o[i++];)r.hasClass(t)?r.removeClass(t):r.addClass(t);else void 0!==e&&"boolean"!==n||((t=Mt(this))&&m._data(this,"__className__",t),m.attr(this,"class",t||!1===e?"":m._data(this,"__className__")||""))})},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&(" "+Mt(n)+" ").replace(_t," ").indexOf(t)>-1)return!0;return!1}}),m.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){m.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),m.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}});var It=i.location,Ot=m.now(),Rt=/\?/,Nt=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;m.parseJSON=function(e){if(i.JSON&&i.JSON.parse)return i.JSON.parse(e+"");var t,n=null,r=m.trim(e+"");return r&&!m.trim(r.replace(Nt,function(e,i,r,o){return t&&i&&(n=0),0===n?e:(t=r||i,n+=!o-!r,"")}))?Function("return "+r)():m.error("Invalid JSON: "+e)},m.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{i.DOMParser?t=(new i.DOMParser).parseFromString(e,"text/xml"):((t=new i.ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e))}catch(e){t=void 0}return t&&t.documentElement&&!t.getElementsByTagName("parsererror").length||m.error("Invalid XML: "+e),t};var Pt=/#.*$/,Lt=/([?&])_=[^&]*/,jt=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Ht=/^(?:GET|HEAD)$/,zt=/^\/\//,Ft=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Bt={},Wt={},$t="*/".concat("*"),qt=It.href,Ut=Ft.exec(qt.toLowerCase())||[];function Gt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,r=0,o=t.toLowerCase().match(L)||[];if(m.isFunction(n))for(;i=o[r++];)"+"===i.charAt(0)?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function Vt(e,t,n,i){var r={},o=e===Wt;function s(a){var l;return r[a]=!0,m.each(e[a]||[],function(e,a){var c=a(t,n,i);return"string"!=typeof c||o||r[c]?o?!(l=c):void 0:(t.dataTypes.unshift(c),s(c),!1)}),l}return s(t.dataTypes[0])||!r["*"]&&s("*")}function Yt(e,t){var n,i,r=m.ajaxSettings.flatOptions||{};for(i in t)void 0!==t[i]&&((r[i]?e:n||(n={}))[i]=t[i]);return n&&m.extend(!0,e,n),e}function Qt(e){return e.style&&e.style.display||m.css(e,"display")}m.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:qt,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ut[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":$t,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":m.parseJSON,"text xml":m.parseXML}
2,flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Yt(Yt(e,m.ajaxSettings),t):Yt(m.ajaxSettings,e)},ajaxPrefilter:Gt(Bt),ajaxTransport:Gt(Wt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,r,o,s,a,l,c,d,u=m.ajaxSetup({},t),h=u.context||u,f=u.context&&(h.nodeType||h.jquery)?m(h):m.event,p=m.Deferred(),g=m.Callbacks("once memory"),v=u.statusCode||{},y={},b={},w=0,S="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(2===w){if(!d)for(d={};t=jt.exec(s);)d[t[1].toLowerCase()]=t[2];t=d[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===w?s:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return w||(e=b[n]=b[n]||e,y[e]=t),this},overrideMimeType:function(e){return w||(u.mimeType=e),this},statusCode:function(e){var t;if(e)if(w<2)for(t in e)v[t]=[v[t],e[t]];else C.always(e[C.status]);return this},abort:function(e){var t=e||S;return c&&c.abort(t),E(0,t),this}};if(p.promise(C).complete=g.add,C.success=C.done,C.error=C.fail,u.url=((e||u.url||qt)+"").replace(Pt,"").replace(zt,Ut[1]+"//"),u.type=t.method||t.type||u.method||u.type,u.dataTypes=m.trim(u.dataType||"*").toLowerCase().match(L)||[""],null==u.crossDomain&&(n=Ft.exec(u.url.toLowerCase()),u.crossDomain=!(!n||n[1]===Ut[1]&&n[2]===Ut[2]&&(n[3]||("http:"===n[1]?"80":"443"))===(Ut[3]||("http:"===Ut[1]?"80":"443")))),u.data&&u.processData&&"string"!=typeof u.data&&(u.data=m.param(u.data,u.traditional)),Vt(Bt,u,t,C),2===w)return C;for(r in(l=m.event&&u.global)&&0===m.active++&&m.event.trigger("ajaxStart"),u.type=u.type.toUpperCase(),u.hasContent=!Ht.test(u.type),o=u.url,u.hasContent||(u.data&&(o=u.url+=(Rt.test(o)?"&":"?")+u.data,delete u.data),!1===u.cache&&(u.url=Lt.test(o)?o.replace(Lt,"$1_="+Ot++):o+(Rt.test(o)?"&":"?")+"_="+Ot++)),u.ifModified&&(m.lastModified[o]&&C.setRequestHeader("If-Modified-Since",m.lastModified[o]),m.etag[o]&&C.setRequestHeader("If-None-Match",m.etag[o])),(u.data&&u.hasContent&&!1!==u.contentType||t.contentType)&&C.setRequestHeader("Content-Type",u.contentType),C.setRequestHeader("Accept",u.dataTypes[0]&&u.accepts[u.dataTypes[0]]?u.accepts[u.dataTypes[0]]+("*"!==u.dataTypes[0]?", "+$t+"; q=0.01":""):u.accepts["*"]),u.headers)C.setRequestHeader(r,u.headers[r]);if(u.beforeSend&&(!1===u.beforeSend.call(h,C,u)||2===w))return C.abort();for(r in S="abort",{success:1,error:1,complete:1})C[r](u[r]);if(c=Vt(Wt,u,t,C)){if(C.readyState=1,l&&f.trigger("ajaxSend",[C,u]),2===w)return C;u.async&&u.timeout>0&&(a=i.setTimeout(function(){C.abort("timeout")},u.timeout));try{w=1,c.send(y,E)}catch(e){if(!(w<2))throw e;E(-1,e)}}else E(-1,"No Transport");function E(e,t,n,r){var d,y,b,S,E,A=t;2!==w&&(w=2,a&&i.clearTimeout(a),c=void 0,s=r||"",C.readyState=e>0?4:0,d=e>=200&&e<300||304===e,n&&(S=function(e,t,n){for(var i,r,o,s,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(s in a)if(a[s]&&a[s].test(r)){l.unshift(s);break}if(l[0]in n)o=l[0];else{for(s in n){if(!l[0]||e.converters[s+" "+l[0]]){o=s;break}i||(i=s)}o=o||i}if(o)return o!==l[0]&&l.unshift(o),n[o]}(u,C,n)),S=function(e,t,n,i){var r,o,s,a,l,c={},d=e.dataTypes.slice();if(d[1])for(s in e.converters)c[s.toLowerCase()]=e.converters[s];for(o=d.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=d.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(s=c[l+" "+o]||c["* "+o]))for(r in c)if((a=r.split(" "))[1]===o&&(s=c[l+" "+a[0]]||c["* "+a[0]])){!0===s?s=c[r]:!0!==c[r]&&(o=a[0],d.unshift(a[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}(u,S,C,d),d?(u.ifModified&&((E=C.getResponseHeader("Last-Modified"))&&(m.lastModified[o]=E),(E=C.getResponseHeader("etag"))&&(m.etag[o]=E)),204===e||"HEAD"===u.type?A="nocontent":304===e?A="notmodified":(A=S.state,y=S.data,d=!(b=S.error))):(b=A,!e&&A||(A="error",e<0&&(e=0))),C.status=e,C.statusText=(t||A)+"",d?p.resolveWith(h,[y,A,C]):p.rejectWith(h,[C,A,b]),C.statusCode(v),v=void 0,l&&f.trigger(d?"ajaxSuccess":"ajaxError",[C,u,d?y:b]),g.fireWith(h,[C,A]),l&&(f.trigger("ajaxComplete",[C,u]),--m.active||m.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return m.get(e,t,n,"json")},getScript:function(e,t){return m.get(e,void 0,t,"script")}}),m.each(["get","post"],function(e,t){m[t]=function(e,n,i,r){return m.isFunction(n)&&(r=r||i,i=n,n=void 0),m.ajax(m.extend({url:e,type:t,dataType:r,data:n,success:i},m.isPlainObject(e)&&e))}}),m._evalUrl=function(e){return m.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},m.fn.extend({wrapAll:function(e){if(m.isFunction(e))return this.each(function(t){m(this).wrapAll(e.call(this,t))});if(this[0]){var t=m(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return m.isFunction(e)?this.each(function(t){m(this).wrapInner(e.call(this,t))}):this.each(function(){var t=m(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=m.isFunction(e);return this.each(function(n){m(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){m.nodeName(this,"body")||m(this).replaceWith(this.childNodes)}).end()}}),m.expr.filters.hidden=function(e){return p.reliableHiddenOffsets()?e.offsetWidth<=0&&e.offsetHeight<=0&&!e.getClientRects().length:function(e){if(!m.contains(e.ownerDocument||s,e))return!0;for(;e&&1===e.nodeType;){if("none"===Qt(e)||"hidden"===e.type)return!0;e=e.parentNode}return!1}(e)},m.expr.filters.visible=function(e){return!m.expr.filters.hidden(e)};var Xt=/%20/g,Zt=/\[\]$/,Jt=/\r?\n/g,Kt=/^(?:submit|button|image|reset|file)$/i,en=/^(?:input|select|textarea|keygen)/i;function tn(e,t,n,i){var r;if(m.isArray(t))m.each(t,function(t,r){n||Zt.test(e)?i(e,r):tn(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,n,i)});else if(n||"object"!==m.type(t))i(e,t);else for(r in t)tn(e+"["+r+"]",t[r],n,i)}m.param=function(e,t){var n,i=[],r=function(e,t){t=m.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=m.ajaxSettings&&m.ajaxSettings.traditional),m.isArray(e)||e.jquery&&!m.isPlainObject(e))m.each(e,function(){r(this.name,this.value)});else for(n in e)tn(n,e[n],t,r);return i.join("&").replace(Xt,"+")},m.fn.extend({serialize:function(){return m.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=m.prop(this,"elements");return e?m.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!m(this).is(":disabled")&&en.test(this.nodeName)&&!Kt.test(e)&&(this.checked||!ne.test(e))}).map(function(e,t){var n=m(this).val();return null==n?null:m.isArray(n)?m.map(n,function(e){return{name:t.name,value:e.replace(Jt,"\r\n")}}):{name:t.name,value:n.replace(Jt,"\r\n")}}).get()}}),m.ajaxSettings.xhr=void 0!==i.ActiveXObject?function(){return this.isLocal?an():s.documentMode>
28?sn():/^(get|post|head|put|delete|options)$/i.test(this.type)&&sn()||an()}:sn;var nn=0,rn={},on=m.ajaxSettings.xhr();function sn(){try{return new i.XMLHttpRequest}catch(e){}}function an(){try{return new i.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}i.attachEvent&&i.attachEvent("onunload",function(){for(var e in rn)rn[e](void 0,!0)}),p.cors=!!on&&"withCredentials"in on,(on=p.ajax=!!on)&&m.ajaxTransport(function(e){var t;if(!e.crossDomain||p.cors)return{send:function(n,r){var o,s=e.xhr(),a=++nn;if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)s[o]=e.xhrFields[o];for(o in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest"),n)void 0!==n[o]&&s.setRequestHeader(o,n[o]+"");s.send(e.hasContent&&e.data||null),t=function(n,i){var o,l,c;if(t&&(i||4===s.readyState))if(delete rn[a],t=void 0,s.onreadystatechange=m.noop,i)4!==s.readyState&&s.abort();else{c={},o=s.status,"string"==typeof s.responseText&&(c.text=s.responseText);try{l=s.statusText}catch(e){l=""}o||!e.isLocal||e.crossDomain?1223===o&&(o=204):o=c.text?200:404}c&&r(o,l,c,s.getAllResponseHeaders())},e.async?4===s.readyState?i.setTimeout(t):s.onreadystatechange=rn[a]=t:t()},abort:function(){t&&t(void 0,!0)}}}),m.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return m.globalEval(e),e}}}),m.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),m.ajaxTransport("script",function(e){if(e.crossDomain){var t,n=s.head||m("head")[0]||s.documentElement;return{send:function(i,r){(t=s.createElement("script")).async=!0,e.scriptCharset&&(t.charset=e.scriptCharset),t.src=e.url,t.onload=t.onreadystatechange=function(e,n){(n||!t.readyState||/loaded|complete/.test(t.readyState))&&(t.onload=t.onreadystatechange=null,t.parentNode&&t.parentNode.removeChild(t),t=null,n||r(200,"success"))},n.insertBefore(t,n.firstChild)},abort:function(){t&&t.onload(void 0,!0)}}}});var ln=[],cn=/(=)\?(?=&|$)|\?\?/;m.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=ln.pop()||m.expando+"_"+Ot++;return this[e]=!0,e}}),m.ajaxPrefilter("json jsonp",function(e,t,n){var r,o,s,a=!1!==e.jsonp&&(cn.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&cn.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(cn,"$1"+r):!1!==e.jsonp&&(e.url+=(Rt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return s||m.error(r+" was not called"),s[0]},e.dataTypes[0]="json",o=i[r],i[r]=function(){s=arguments},n.always(function(){void 0===o?m(i).removeProp(r):i[r]=o,e[r]&&(e.jsonpCallback=t.jsonpCallback,ln.push(r)),s&&m.isFunction(o)&&o(s[0]),s=o=void 0}),"script"}),m.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||s;var i=D.exec(e),r=!n&&[];return i?[t.createElement(i[1])]:(i=pe([e],t,r),r&&r.length&&m(r).remove(),m.merge([],i.childNodes))};var dn=m.fn.load;function un(e){return m.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}m.fn.load=function(e,t,n){if("string"!=typeof e&&dn)return dn.apply(this,arguments);var i,r,o,s=this,a=e.indexOf(" ");return a>-1&&(i=m.trim(e.slice(a,e.length)),e=e.slice(0,a)),m.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(r="POST"),s.length>0&&m.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done(function(e){o=arguments,s.html(i?m("<div>").append(m.parseHTML(e)).find(i):e)}).always(n&&function(e,t){s.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},m.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){m.fn[t]=function(e){return this.on(t,e)}}),m.expr.filters.animated=function(e){return m.grep(m.timers,function(t){return e===t.elem}).length},m.offset={setOffset:function(e,t,n){var i,r,o,s,a,l,c=m.css(e,"position"),d=m(e),u={};"static"===c&&(e.style.position="relative"),a=d.offset(),o=m.css(e,"to
2p"),l=m.css(e,"left"),("absolute"===c||"fixed"===c)&&m.inArray("auto",[o,l])>-1?(s=(i=d.position()).top,r=i.left):(s=parseFloat(o)||0,r=parseFloat(l)||0),m.isFunction(t)&&(t=t.call(e,n,m.extend({},a))),null!=t.top&&(u.top=t.top-a.top+s),null!=t.left&&(u.left=t.left-a.left+r),"using"in t?t.using.call(e,u):d.css(u)}},m.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){m.offset.setOffset(this,e,t)});var t,n,i={top:0,left:0},r=this[0],o=r&&r.ownerDocument;return o?(t=o.documentElement,m.contains(t,r)?(void 0!==r.getBoundingClientRect&&(i=r.getBoundingClientRect()),n=un(o),{top:i.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:i.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):i):void 0},position:function(){if(this[0]){var e,t,n={top:0,left:0},i=this[0];return"fixed"===m.css(i,"position")?t=i.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),m.nodeName(e[0],"html")||(n=e.offset()),n.top+=m.css(e[0],"borderTopWidth",!0),n.left+=m.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-m.css(i,"marginTop",!0),left:t.left-n.left-m.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&!m.nodeName(e,"html")&&"static"===m.css(e,"position");)e=e.offsetParent;return e||Ge})}}),m.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=/Y/.test(t);m.fn[e]=function(i){return te(this,function(e,i,r){var o=un(e);if(void 0===r)return o?t in o?o[t]:o.document.documentElement[i]:e[i];o?o.scrollTo(n?m(o).scrollLeft():r,n?r:m(o).scrollTop()):e[i]=r},e,i,arguments.length,null)}}),m.each(["top","left"],function(e,t){m.cssHooks[t]=Xe(p.pixelPosition,function(e,n){if(n)return n=Ye(e,t),qe.test(n)?m(e).position()[t]+"px":n})}),m.each({Height:"height",Width:"width"},function(e,t){m.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,i){m.fn[i]=function(i,r){var o=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===r?"margin":"border");return te(this,function(t,n,i){var r;return m.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(r=t.documentElement,Math.max(t.body["scroll"+e],r["scroll"+e],t.body["offset"+e],r["offset"+e],r["client"+e])):void 0===i?m.css(t,n,s):m.style(t,n,i,s)},t,o?i:void 0,o,null)}})}),m.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),m.fn.size=function(){return this.length},m.fn.andSelf=m.fn.addBack,void 0===(n=function(){return m}.apply(t,[]))||(e.exports=n);var hn=i.jQuery,fn=i.$;return m.noConflict=function(e){return i.$===m&&(i.$=fn),e&&i.jQuery===m&&(i.jQuery=hn),m},r||(i.jQuery=i.$=m),m},"object"==typeof e.exports?e.exports=i.document?r(i,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return r(e)}:r(i)},2537:e=>{"use strict";e.exports=Object.getOwnPropertyDescriptor},2574:e=>{"use strict";e.exports=Function.prototype.apply},2634:()=>{},2665:e=>{"use strict";e.exports=EvalError},2731:(e,t,n)=>{"use strict";var i=n(7305),r=n(6808),o=n(3655),s=n(8439),a=n(7623),l=i("%WeakMap%",!0),c=r("WeakMap.prototype.get",!0),d=r("WeakMap.prototype.set",!0),u=r("WeakMap.prototype.has",!0),h=r("WeakMap.prototype.delete",!0);e.exports=l?function(){var e,t,n={assert:function(e){if(!n.has(e))throw new a("Side channel does not contain "+o(e))},delete:function(n){if(l&&n&&("object"==typeof n||"function"==typeof n)){if(e)return h(e,n)}else if(s&&t)return t.delete(n);return!1},get:function(n){return l&&n&&("object"==typeof n||"function"==typeof n)&&e?c(e,n):t&&t.get(n)},has:function(n){return l&&n&&("object"==typeof n||"function"==typeof n)&&e?u(e,n):!!t&&t.has(n)},set:function(n,i){l&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new l),d(e,n,i)):s&&(t||(t=s()),t.set(n,i))}};return n}:s},2795:(e,t,n)=>{"use strict";var i=n(6525);e.exports=Function.prototype.bind||i},2851:e=>{"use strict";e.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply},2946:e=>{"use strict";e.exports=Math.round},3276:e=>{"use strict";e.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null},3655:(e,t,n)=>{var i="function"==typeof Map&&Map.prototype,r=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=i&&r&&"function"==typeof r.get?r.get:null,s=i&&Map.prototype.forEach,a="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&a?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=a&&l&&"function"==typeof l.get?l.get:null,d=a&&Set.prototype.forEach,u="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,f="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,p=Boolean.prototype.valueOf,g=Object.prototype.toString,m=Function.prototype.toString,v=String.prototype.match,y=String.prototype.slice,b=String.prototype.replace,w=String.prototype.toUpperCase,S=String.prototype.toLowerCase,C=RegExp.prototype.test,E=Array.prototype.concat,A=Array.prototype.join,x=Array.prototype.slice,D=Math.floor,T="function"==typeof BigInt?BigInt.prototype.valueOf:null,k=Object.getOwnPropertySymbols,_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,M="function"==typeof Symbol&&"object"==typeof Symbol.iterator,I="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===M||"symbol")?Symbol.toStringTag:null,O=Object.prototype.propertyIsEnumerable,R=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function N(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||C.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var i=e<0?-D(-e):D(e);if(i!==e){var r=String(i),o=y.call(t,r.length+1);return b.call(r,n,"$&_")+"."+b.call(b.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(t,n,"$&_")}var P=n(2634),L=P.custom,j=U(L)?L:null,H={__proto__:null,double:'"',single:"'"},z={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function F(e,t,n){var i=n.quoteStyle||t,r=H[i];return r+e+r}function B(e){return b.call(String(e),/"/g,""")}function W(e){return!I||!("object"==typeof e&&(I in e||void 0!==e[I]))}function $(e){return"[object Array]"===Y(e)&&W(e)}function q(e){return"[object RegExp]"===Y(e)&&W(e)}function U(e){if(M)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;
vendor: 6,573 bytes, line 2
2if(!e||"object"!=typeof e||!_)return!1;try{return _.call(e),!0}catch(e){}return!1}e.exports=function e(t,i,r,a){var l=i||{};if(V(l,"quoteStyle")&&!V(H,l.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(V(l,"maxStringLength")&&("number"==typeof l.maxStringLength?l.maxStringLength<0&&l.maxStringLength!==1/0:null!==l.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var g=!V(l,"customInspect")||l.customInspect;if("boolean"!=typeof g&&"symbol"!==g)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(V(l,"indent")&&null!==l.indent&&"\t"!==l.indent&&!(parseInt(l.indent,10)===l.indent&&l.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(V(l,"numericSeparator")&&"boolean"!=typeof l.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var w=l.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return X(t,l);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var C=String(t);return w?N(t,C):C}if("bigint"==typeof t){var D=String(t)+"n";return w?N(t,D):D}var k=void 0===l.depth?5:l.depth;if(void 0===r&&(r=0),r>=k&&k>0&&"object"==typeof t)return $(t)?"[Array]":"[Object]";var L=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=A.call(Array(e.indent+1)," ")}return{base:n,prev:A.call(Array(t+1),n)}}(l,r);if(void 0===a)a=[];else if(Q(a,t)>=0)return"[Circular]";function z(t,n,i){if(n&&(a=x.call(a)).push(n),i){var o={depth:l.depth};return V(l,"quoteStyle")&&(o.quoteStyle=l.quoteStyle),e(t,o,r+1,a)}return e(t,l,r+1,a)}if("function"==typeof t&&!q(t)){var G=function(e){if(e.name)return e.name;var t=v.call(m.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),Z=ne(t,z);return"[Function"+(G?": "+G:" (anonymous)")+"]"+(Z.length>0?" { "+A.call(Z,", ")+" }":"")}if(U(t)){var ie=M?b.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):_.call(t);return"object"!=typeof t||M?ie:J(ie)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var re="<"+S.call(String(t.nodeName)),oe=t.attributes||[],se=0;se<oe.length;se++)re+=" "+oe[se].name+"="+F(B(oe[se].value),"double",l);return re+=">",t.childNodes&&t.childNodes.length&&(re+="..."),re+="</"+S.call(String(t.nodeName))+">"}if($(t)){if(0===t.length)return"[]";var ae=ne(t,z);return L&&!function(e){for(var t=0;t<e.length;t++)if(Q(e[t],"\n")>=0)return!1;return!0}(ae)?"["+te(ae,L)+"]":"[ "+A.call(ae,", ")+" ]"}if(function(e){return"[object Error]"===Y(e)&&W(e)}(t)){var le=ne(t,z);return"cause"in Error.prototype||!("cause"in t)||O.call(t,"cause")?0===le.length?"["+String(t)+"]":"{ ["+String(t)+"] "+A.call(le,", ")+" }":"{ ["+String(t)+"] "+A.call(E.call("[cause]: "+z(t.cause),le),", ")+" }"}if("object"==typeof t&&g){if(j&&"function"==typeof t[j]&&P)return P(t,{depth:k-r});if("symbol"!==g&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!o||!e||"object"!=typeof e)return!1;try{o.call(e);try{c.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var ce=[];return s&&s.call(t,function(e,n){ce.push(z(n,t,!0)+" => "+z(e,t))}),ee("Map",o.call(t),ce,L)}if(function(e){if(!c||!e||"object"!=typeof e)return!1;try{c.call(e);try{o.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var de=[];return d&&d.call(t,function(e){de.push(z(e,t))}),ee("Set",c.call(t),de,L)}if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e,u);try{h.call(e,h)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return K("WeakMap");if(function(e){if(!h||!e||"object"!=typeof e)return!1;try{h.call(e,h);try{u.call(e,u)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return K("WeakSet");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{return f.call(e),!0}catch(e){}return!1}(t))return K("WeakRef");if(function(e){return"[object Number]"===Y(e)&&W(e)}(t))return J(z(Number(t)));if(function(e){if(!e||"object"!=typeof e||!T)return!1;try{return T.call(e),!0}catch(e){}return!1}(t))return J(z(T.call(t)));if(function(e){return"[object Boolean]"===Y(e)&&W(e)}(t))return J(p.call(t));if(function(e){return"[object String]"===Y(e)&&W(e)}(t))return J(z(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||void 0!==n.g&&t===n.g)return"{ [object globalThis] }";if(!function(e){return"[object Date]"===Y(e)&&W(e)}(t)&&!q(t)){var ue=ne(t,z),he=R?R(t)===Object.prototype:t instanceof Object||t.constructor===Object,fe=t instanceof Object?"":"null prototype",pe=!he&&I&&Object(t)===t&&I in t?y.call(Y(t),8,-1):fe?"Object":"",ge=(he||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(pe||fe?"["+A.call(E.call([],pe||[],fe||[]),": ")+"] ":"");return 0===ue.length?ge+"{}":L?ge+"{"+te(ue,L)+"}":ge+"{ "+A.call(ue,", ")+" }"}return String(t)};var G=Object.prototype.hasOwnProperty||function(e){return e in this};function V(e,t){return G.call(e,t)}function Y(e){return g.call(e)}function Q(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1}function X(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,i="... "+n+" more character"+(n>1?"s":"");return X(y.call(e,0,t.maxStringLength),t)+i}var r=z[t.quoteStyle||"single"];return r.lastIndex=0,F(b.call(b.call(e,r,"\\$1"),/[\x00-\x1f]/g,Z),"single",t)}function Z(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+w.call(t.toString(16))}function J(e){return"Object("+e+")"}function K(e){return e+" { ? }"}function ee(e,t,n,i){return e+" ("+t+") {"+(i?te(n,i):A.call(n,", "))+"}"}function te(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+A.call(e,","+n)+"\n"+t.prev}function ne(e,t){var n=$(e),i=[];if(n){i.length=e.length;for(var r=0;r<e.length;r++)i[r]=V(e,r)?t(e[r],e):""}var o,s="function"==typeof k?k(e):[];if(M){o={};for(var a=0;a<s.length;a++)o["$"+s[a]]=s[a]}for(var l in e)V(e,l)&&(n&&String(Number(l))===l&&l<e.length||M&&o["$"+l]instanceof Symbol||(C.call(/[^\w$]/,l)?i.push(t(l,e)+": "+t(e[l],e)):i.push(l+": "+t(e[l],e))));if("function"==typeof k)for(var c=0;c<s.length;
2c++)O.call(e,s[c])&&i.push("["+t(s[c])+"]: "+t(e[s[c]],e));return i}},3741:function(e,t,n){e.exports=function(e,t){"use strict";class n{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(n,i){const r=t.isElement(i)?e.getDataAttribute(i,"config"):{};return{...this.constructor.Default,..."object"==typeof r?r:{},...t.isElement(i)?e.getDataAttributes(i):{},..."object"==typeof n?n:{}}}_typeCheckConfig(e,n=this.constructor.DefaultType){for(const[i,r]of Object.entries(n)){const n=e[i],o=t.isElement(n)?"element":t.toType(n);if(!new RegExp(r).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${o}" but expected type "${r}".`)}}}return n}(n(8353),n(5815))},3809:(e,t,n)=>{"use strict";var i=n(3999);e.exports=function(e){return i(e)||0===e?e:e<0?-1:1}},3841:function(e){e.exports=function(){"use strict";const e=new Map;return{set(t,n,i){e.has(t)||e.set(t,new Map);const r=e.get(t);r.has(n)||0===r.size?r.set(n,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(r.keys())[0]}.`)},get:(t,n)=>e.has(t)&&e.get(t).get(n)||null,remove(t,n){if(!e.has(t))return;const i=e.get(t);i.delete(n),0===i.size&&e.delete(t)}}}()},3999:e=>{"use strict";e.exports=Number.isNaN||function(e){return e!=e}},4081:(e,t,n)=>{"use strict";var i=n(9944),r=n(438),o=n(4537);e.exports={formats:o,parse:r,stringify:i}},4300:e=>{"use strict";e.exports=Math.floor},4418:()=>{"use strict";"function"!=typeof Object.assign&&(Object.assign=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(!e)throw TypeError("Cannot convert undefined or null to object");for(var i=function(t){t&&Object.keys(t).forEach(function(n){return e[n]=t[n]})},r=0,o=t;r<o.length;r++){i(o[r])}return e})},4452:(e,t,n)=>{"use strict";var i=n(7472);e.exports=i.getPrototypeOf||null},4473:function(e){e.exports=function(){"use strict";function e(){return"undefined"!=typeof window}function t(){var e=!1;try{var t={get passive(){e=!0}};window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){e=!1}return e}function n(){return!!(e()&&function(){}.bind&&"classList"in document.documentElement&&Object.assign&&Object.keys&&requestAnimationFrame)}function i(e){return 9===e.nodeType}function r(e){return e&&e.document&&i(e.document)}function o(e){var t=e.document,n=t.body,i=t.documentElement;return{scrollHeight:function(){return Math.max(n.scrollHeight,i.scrollHeight,n.offsetHeight,i.offsetHeight,n.clientHeight,i.clientHeight)},height:function(){return e.innerHeight||i.clientHeight||n.clientHeight},scrollY:function(){return void 0!==e.pageYOffset?e.pageYOffset:(i||n.parentNode||n).scrollTop}}}function s(e){return{scrollHeight:function(){return Math.max(e.scrollHeight,e.offsetHeight,e.clientHeight)},height:function(){return Math.max(e.offsetHeight,e.clientHeight)},scrollY:function(){return e.scrollTop}}}function a(e){return r(e)?o(e):s(e)}function l(e,n,i){var r,o=t(),s=!1,l=a(e),c=l.scrollY(),d={};function u(){var e=Math.round(l.scrollY()),t=l.height(),r=l.scrollHeight();d.scrollY=e,d.lastScrollY=c,d.direction=e>c?"down":"up",d.distance=Math.abs(e-c),d.isOutOfBounds=e<0||e+t>r,d.top=e<=n.offset[d.direction],d.bottom=e+t>=r,d.toleranceExceeded=d.distance>n.tolerance[d.direction],i(d),c=e,s=!1}function h(){s||(s=!0,r=requestAnimationFrame(u))}var f=!!o&&{passive:!0,capture:!1};return e.addEventListener("scroll",h,f),u(),{destroy:function(){cancelAnimationFrame(r),e.removeEventListener("scroll",h,f)}}}function c(e){return e===Object(e)?e:{down:e,up:e}}function d(e,t){t=t||{},Object.assign(this,d.options,t),this.classes=Object.assign({},d.options.classes,t.classes),this.elem=e,this.tolerance=c(this.tolerance),this.offset=c(this.offset),this.initialised=!1,this.frozen=!1}return d.prototype={constructor:d,init:function(){return d.cutsTheMustard&&!this.initialised&&(this.addClass("initial"),this.initialised=!0,setTimeout(function(e){e.scrollTracker=l(e.scroller,{offset:e.offset,tolerance:e.tolerance},e.update.bind(e))},100,this)),this},destroy:function(){this.initialised=!1,Object.keys(this.classes).forEac
2h(this.removeClass,this),this.scrollTracker.destroy()},unpin:function(){!this.hasClass("pinned")&&this.hasClass("unpinned")||(this.addClass("unpinned"),this.removeClass("pinned"),this.onUnpin&&this.onUnpin.call(this))},pin:function(){this.hasClass("unpinned")&&(this.addClass("pinned"),this.removeClass("unpinned"),this.onPin&&this.onPin.call(this))},freeze:function(){this.frozen=!0,this.addClass("frozen")},unfreeze:function(){this.frozen=!1,this.removeClass("frozen")},top:function(){this.hasClass("top")||(this.addClass("top"),this.removeClass("notTop"),this.onTop&&this.onTop.call(this))},notTop:function(){this.hasClass("notTop")||(this.addClass("notTop"),this.removeClass("top"),this.onNotTop&&this.onNotTop.call(this))},bottom:function(){this.hasClass("bottom")||(this.addClass("bottom"),this.removeClass("notBottom"),this.onBottom&&this.onBottom.call(this))},notBottom:function(){this.hasClass("notBottom")||(this.addClass("notBottom"),this.removeClass("bottom"),this.onNotBottom&&this.onNotBottom.call(this))},shouldUnpin:function(e){return"down"===e.direction&&!e.top&&e.toleranceExceeded},shouldPin:function(e){return"up"===e.direction&&e.toleranceExceeded||e.top},addClass:function(e){this.elem.classList.add.apply(this.elem.classList,this.classes[e].split(" "))},removeClass:function(e){this.elem.classList.remove.apply(this.elem.classList,this.classes[e].split(" "))},hasClass:function(e){return this.classes[e].split(" ").every(function(e){return this.classList.contains(e)},this.elem)},update:function(e){e.isOutOfBounds||!0!==this.frozen&&(e.top?this.top():this.notTop(),e.bottom?this.bottom():this.notBottom(),this.shouldUnpin(e)?this.unpin():this.shouldPin(e)&&this.pin())}},d.options={tolerance:{up:0,down:0},offset:0,scroller:e()?window:null,classes:{frozen:"headroom--frozen",pinned:"headroom--pinned",unpinned:"headroom--unpinned",top:"headroom--top",notTop:"headroom--not-top",bottom:"headroom--bottom",notBottom:"headroom--not-bottom",initial:"headroom"}},d.cutsTheMustard=n(),d}()},4537:e=>{"use strict";var t=String.prototype.replace,n=/%20/g,i="RFC1738",r="RFC3986";e.exports={default:r,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:i,RFC3986:r}},4575:function(e,t,n){e.exports=function(e){"use strict";const t=t=>{let n=t.getAttribute("data-bs-target");if(!n||"#"===n){let e=t.getAttribute("href");if(!e||!e.includes("#")&&!e.startsWith("."))return null;e.includes("#")&&!e.startsWith("#")&&(e=`#${e.split("#")[1]}`),n=e&&"#"!==e?e.trim():null}return n?n.split(",").map(t=>e.parseSelector(t)).join(","):null},n={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter(e=>e.matches(t)),parents(e,t){const n=[];let i=e.parentNode.closest(t);for(;i;)n.push(i),i=i.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(t){const n=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(e=>`${e}:not([tabindex^="-"])`).join(",");return this.find(n,t).filter(t=>!e.isDisabled(t)&&e.isVisible(t))},getSelectorFromElement(e){const i=t(e);return i&&n.findOne(i)?i:null},getElementFromSelector(e){const i=t(e);return i?n.findOne(i):null},getMultipleElementsFromSelector(e){const i=t(e);return i?n.find(i):[]}};return n}(n(5815))},4598:()=>{},4664:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});const i=function(){function e(e){var t=this;this.listener=function(e){(e.matches?t.matchFns:t.unmatchFns).forEac
2h(function(e){e()})},this.toggler=window.matchMedia(e),this.toggler.addListener(this.listener),this.matchFns=[],this.unmatchFns=[]}return e.prototype.add=function(e,t){this.matchFns.push(e),this.unmatchFns.push(t),(this.toggler.matches?e:t)()},e}();var r=function(e){return Array.prototype.slice.call(e)},o=function(e,t){return r((t||document).querySelectorAll(e))},s="mm-spn";const a=function(){function e(e,t,n,i,r){this.node=e,this.title=t,this.slidingSubmenus=i,this.selectedClass=n,this.node.classList.add(s),this.node.classList.add(s+"--"+r),this.node.classList.add(s+"--"+(this.slidingSubmenus?"navbar":"vertical")),this._setSelectedl(),this._initAnchors()}return Object.defineProperty(e.prototype,"prefix",{get:function(){return s},enumerable:!1,configurable:!0}),e.prototype.openPanel=function(e){var t=e.parentElement;if(this.slidingSubmenus){var n=e.dataset.mmSpnTitle;t===this.node?this.node.classList.add(s+"--main"):(this.node.classList.remove(s+"--main"),n||r(t.children).forEach(function(e){e.matches("a, span")&&(n=e.textContent)})),n||(n=this.title),this.node.dataset.mmSpnTitle=n,o("."+s+"--open",this.node).forEach(function(e){e.classList.remove(s+"--open"),e.classList.remove(s+"--parent")}),e.classList.add(s+"--open"),e.classList.remove(s+"--parent");for(var i=e.parentElement.closest("ul");i;)i.classList.add(s+"--open"),i.classList.add(s+"--parent"),i=i.parentElement.closest("ul")}else{var a=e.matches("."+s+"--open");o("."+s+"--open",this.node).forEach(function(e){e.classList.remove(s+"--open")}),e.classList[a?"remove":"add"](s+"--open");for(var l=e.parentElement.closest("ul");l;)l.classList.add(s+"--open"),l=l.parentElement.closest("ul")}},e.prototype._setSelectedl=function(){var e=o("."+this.selectedClass,this.node),t=e[e.length-1],n=null;t&&(n=t.closest("ul")),n||(n=this.node.querySelector("ul")),this.openPanel(n)},e.prototype._initAnchors=function(){var e=this;this.node.addEventListener("click",function(t){var n=t.target,i=!1;i=i||function(e){return!!e.matches("a")}(n),i=i||function(t){var n;return!!(n=t.closest("span")?t.parentElement:!!t.closest("li")&&t)&&(r(n.children).forEach(function(t){t.matches("ul")&&e.openPanel(t)}),!0)}(n),i=i||function(t){var n=o("."+s+"--open",t),i=n[n.length-1];if(i){var r=i.parentElement.closest("ul");if(r)return e.openPanel(r),!0}return!1}(n),i&&t.stopImmediatePropagation()})},e}();var l="mm-ocd";const c=function(){function e(e,t){var n=this;void 0===e&&(e=null),this.wrapper=document.createElement("div"),this.wrapper.classList.add(""+l),this.wrapper.classList.add(l+"--"+t),this.content=document.createElement("div"),this.content.classList.add(l+"__content"),this.wrapper.append(this.content),this.backdrop=document.createElement("div"),this.backdrop.classList.add(l+"__backdrop"),this.wrapper.append(this.backdrop),document.body.append(this.wrapper),e&&this.content.append(e);var i=function(e){n.close(),e.stopImmediatePropagation()};this.backdrop.addEventListener("touchstart",i,{passive:!0}),this.backdrop.addEventListener("mousedown",i,{passive:!0})}return Object.defineProperty(e.prototype,"prefix",{get:function(){return l},enumerable:!1,configurable:!0}),e.prototype.open=function(){this.wrapper.classList.add(l+"--open"),document.body.classList.add(l+"-opened")},e.prototype.close=function(){this.wrapper.classList.remove(l+"--open"),document.body.classList.remove(l+"-opened")},e}();const d=function(){function e(e,t){void 0===t&&(t="all"),this.menu=e,this.toggler=new i(t)}return e.prototype.navigation=function(e){var t=this;if(!this.navigator){var n=(e=e||{}).title,i=void 0===n?"Menu":n,r=e.selectedClass,o=void 0===r?"Selected":r,s=e.slidingSubmenus,l=void 0===s||s,c=e.theme,d=void 0===c?"light":c;this.navigator=new a(this.menu,i,o,l,d),this.toggler.add(function(){return t.menu.classList.add(t.navigator.prefix)},function(){return t.menu.classList.remove(t.navigator.prefix)})}return this.navigator},e.prototype.offcanvas=function(e){var t=this;if(!this.drawer){var n=(e=e||{}).position,i=void 0===n?"left":n;this.drawer=new c(null,i);var r=document.createComment("original menu location");this.menu.after(r),this.toggler.add(function(){t.drawer.content.append(t.menu)},function(){t.drawer.close(),r.after(t.menu)})}return this.drawer},e}(),u=d;window.MmenuLight=d},4938:function(e,t,n){var i;e=n.nmd(e),function(){t&&t.nodeType,e&&e.nodeType;var r="object"==typeof n.g&&n.g;r.global!==r&&r.window!==r&&r.self;var o,s=2147483647,a=36,l=/^xn--/,c=/[^\x20-\x7E]/,d=/[\x2E\u3002\uFF0E\uFF61]/g,u={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >
2= 0x80 (not a basic code point)","invalid-input":"Invalid input"},h=Math.floor,f=String.fromCharCode;function p(e){throw new RangeError(u[e])}function g(e,t){for(var n=e.length,i=[];n--;)i[n]=t(e[n]);return i}function m(e,t){var n=e.split("@"),i="";return n.length>1&&(i=n[0]+"@",e=n[1]),i+g((e=e.replace(d,".")).split("."),t).join(".")}function v(e){for(var t,n,i=[],r=0,o=e.length;r<o;)(t=e.charCodeAt(r++))>=55296&&t<=56319&&r<o?56320==(64512&(n=e.charCodeAt(r++)))?i.push(((1023&t)<<10)+(1023&n)+65536):(i.push(t),r--):i.push(t);return i}function y(e){return g(e,function(e){var t="";return e>65535&&(t+=f((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=f(e)}).join("")}function b(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:a}function w(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function S(e,t,n){var i=0;for(e=n?h(e/700):e>>1,e+=h(e/t);e>455;i+=a)e=h(e/35);return h(i+36*e/(e+38))}function C(e){var t,n,i,r,o,l,c,d,u,f,g=[],m=e.length,v=0,w=128,C=72;for((n=e.lastIndexOf("-"))<0&&(n=0),i=0;i<n;++i)e.charCodeAt(i)>=128&&p("not-basic"),g.push(e.charCodeAt(i));for(r=n>0?n+1:0;r<m;){for(o=v,l=1,c=a;r>=m&&p("invalid-input"),((d=b(e.charCodeAt(r++)))>=a||d>h((s-v)/l))&&p("overflow"),v+=d*l,!(d<(u=c<=C?1:c>=C+26?26:c-C));c+=a)l>h(s/(f=a-u))&&p("overflow"),l*=f;C=S(v-o,t=g.length+1,0==o),h(v/t)>s-w&&p("overflow"),w+=h(v/t),v%=t,g.splice(v++,0,w)}return y(g)}function E(e){var t,n,i,r,o,l,c,d,u,g,m,y,b,C,E,A=[];for(y=(e=v(e)).length,t=128,n=0,o=72,l=0;l<y;++l)(m=e[l])<128&&A.push(f(m));for(i=r=A.length,r&&A.push("-");i<y;){for(c=s,l=0;l<y;++l)(m=e[l])>=t&&m<c&&(c=m);for(c-t>h((s-n)/(b=i+1))&&p("overflow"),n+=(c-t)*b,t=c,l=0;l<y;++l)if((m=e[l])<t&&++n>s&&p("overflow"),m==t){for(d=n,u=a;!(d<(g=u<=o?1:u>=o+26?26:u-o));u+=a)E=d-g,C=a-g,A.push(f(w(g+E%C,0))),d=h(E/C);A.push(f(w(d,0))),o=S(n,b,i==r),n=0,++i}++n,++t}return A.join("")}o={version:"1.4.1",ucs2:{decode:v,encode:y},decode:C,encode:E,toASCII:function(e){return m(e,function(e){return c.test(e)?"xn--"+E(e):e})},toUnicode:function(e){return m(e,function(e){return l.test(e)?C(e.slice(4).toLowerCase()):e})}},void 0===(i=function(){return o}.call(t,n,t,e))||(e.exports=i)}()},5107:(e,t,n)=>{var i,r,o;!function(){"use strict";r=[n(2424)],i=function(e){var t=window.Slick||{};(t=function(){var t=0;function n(n,i){var r,o=this;o.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:e(n),appendDots:e(n),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,n){return e('<button type="button" />').text(n+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},o.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},e.extend(o,o.initials),o.activeBreakpoint=null,o.animType=null,o.animProp=null,o.breakpoints=[],o.breakpointSettings=[],o.cssTransitions=!1,o.focussed=!1,o.interrupted=!1,o.hidden="hidden",o.paused=!0,o.positionProp=null,o.respondTo=null,o.rowCount=1,o.shouldClick=!0,o.$slider=e(n),o.$slidesCache=null,o.transformType=null,o.transitionType=null,o.visibilityChange="visibilitychange",o.windowWidth=0,o.windowTimer=null,r=e(n).data("slick")||{},o.options=e.extend({},o.defaults,i,r),o.currentSlide=o.options.initialSlide,o.originalSettings=o.options,void 0!==document.mozHidden?(o.hidden="mozHidden",o.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(o.hidden="webkitHidden",o.visibilityChange="webkitvisibilitychange"),o.autoPlay=e.proxy(o.autoPlay,o),o.autoPlayClear=e.proxy(o.autoPlayClear,o),o.autoPlayIterator=e.proxy(o.autoPlayIterator,o),o.changeSlide=e.proxy(o.changeSlide,o),o.clickHandler=e.proxy(o.clickHandler,o),o.selectHandler=e.proxy(o.selectHandler,o),o.setPosition=e.proxy(o.setPosition,o),o.swipeHandler=e.proxy(o.swipeHandler,o),o.dragHandler=e.proxy(o.dragHandler,o),o.keyHandler=e.proxy(o.keyHandler,o),o.instanceUid=t++,o.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,o.registerBreakpoints(),o.init(!0)}return n}()).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},t.prototype.addSlide=t.prototype.slickAdd=function(t,n,i){var r=this;if("boolean"==typeof n)i=n,n=null;else if(n<0||n>=r.slideCount)return!1;r.unload(),"number"==typeof n?0===n&&0===r.$slides.length?e(t).appendTo(r.$slideTrack):i?e(t).insertBefore(r.$slides.eq(n)):e(t).insertAfter(r.$slides.eq(n)):!0===i?e(t).prependTo(r.$slideTrack):e(t).appendTo(r.$slideTrack),r.$slides=r.$slideTrack.children(this.options.slide),r.$slideTrack.children(this.options.slide).detach(),r.$slideTrack.append(r.$slides),r.$slides.each(function(t,n){e(n).attr("data-slick-index",t)}),r.$slidesCache=r.$slides,r.reinit()},t.prototype.animateHeight=function(){var e=this;if(1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical){var t=e.$slides.eq(e.currentSlide).outerHeight(!0);e.$list.animate({height:t},e.options.speed)}},t.prototype.animateSlide=function(t,n){var i={},r=this;r.animateHeight(),!0===r.options.rtl&&!1===r.options.vertical&&(t=-t),!1===r.transformsEnabled?!1===r.options.vertical?r.$slideTrack.animate({left:t},r.options.speed,r.options.easing,n):r.$slideTrack.animate({top:t},r.options.speed,r.options.easing,n):!1===r.cssTransitions?(!0===r.options.rtl&&(r.currentLeft=-r.currentLeft),e({animStart:r.currentLeft}).animate({animStart:t},{duration:r.options.speed,easing:r.options.easing,step:function(e){e=Math.ceil(e),!1===r.options.vertical?(i[r.animType]="translate("+e+"px, 0px)",r.$slideTrack.css(i)):(i[r.animType]="translate(0px,"+e+"px)",r.$slideTrack.css(i))},complete:function(){n&&n.call()}})):(r.applyTransition(),t=Math.ceil(t),!1===r.options.vertical?i[r.animType]="translate3d("+t+"px, 0px, 0px)":i[r.animType]="translate3d(0px,"+t+"px, 0px)",r.$slideTrack.css(i),n&&setTimeout(function(){r.disableTransition(),n.call()},r.options.speed))},t.prototype.getNavTarget=function(){var t=this,n=t.options.asNavFor;return n&&null!==n&&(n=e(n).not(t.$slider)),n},t.prototype.asNavFor=function(t){var n=this.getNavTarget();null!==n&&"object"==typeof n&&n.each(function(){var n=e(this).slick("getSlick");n.unslicked||n.slideHandler(t,!0)})},t.prototype.applyTransition=function(e){var t=this,n={};!1===t.options.fade?n[t.transitionType]=t.transformType+" "+t.options.speed+"ms "+t.options.cssEase:n[t.transitionType]="opacity "+t.options.speed+"ms "+t.options.cssEase,!1===t.options.fade?t.$slideTrack.css(n):t.$slides.eq(e).css(n)},t.prototype.autoPlay=function(){var e=this;e.autoPlayClear(),e.slideCount>e.options.slidesToShow&&(e.autoPlayTimer=setInterval(e.autoPlayIterator,e.options.autoplaySpeed))},t.prototype.autoPlayClear=function(){var e=this;e.autoPlayTimer&&clearInterval(e.autoPlayTimer)},t.prototype.autoPlayIterator=function(){var e=this,t=e.currentSlide+e.options.slidesToScroll;e.paused||e.interrupted||e.focussed||(!1===e.options.infinite&&(1===e.direction&&e.currentSlide+1===e.slideCount-1?e.direction=0:0===e.direction&&(t=e.currentSlide-e.options.slidesToScroll,e.currentSlide-1==0&&(e.direction=1))),e.slideHandler(t))},t.prototype.buildArrows=function(){var t=this;!0===t.options.arrows&&(t.$prevArrow=e(t.options.prevArrow).addClass("slick-arrow"),t.$nextArrow=e(t.options.nextArrow).addClass("slick-arrow"),t.slideCount>t.options.slidesToShow?(t.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.prependTo(t.options.appendArrows),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.appendTo(t.options.appendArrows),!0!==t.options.infinite&&t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):t.$prevArrow.add(t.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},t.prototype.buildDots=function(){var t,n,i=this;if(!0===i.options.dots&&i.slideCount>i.options.slidesToShow){for(i.$slider.addClass("slick-dotted"),n=e("<ul />").addClass(i.options.dotsClass),t=0;t<=i.getDotCount();t+=1)n.append(e("<li />").append(i.options.customPaging.call(this,i,t)));i.$dots=n.appendTo(i.options.appendDots),i.$dots.find("li").first().addClass("slick-active")}},t.prototype.buildOut=function(){var t=this;t.$slides=t.$slider.children(t.options.slide+":not(.slick-cloned)").addClass("slick-slide"),t.slideCount=t.$slides.length,t.$slides.each(function(t,n){e(n).attr("data-slick-index",t).data("originalStyling",e(n).attr("style")||"")}),t.$slider.addClass("slick-slider"),t.$slideTrack=0===t.slideCount?e('<div class="slick-track"/>').appendTo(t.$slider):t.$slides.wrapAll('<div class="slick-track"/>').parent(),t.$list=t.$slideTrack.wrap('<div class="slick-list"/>').parent(),t.$slideTrack.css("opacity",0),!0!==t.options.centerMode&&!0!==t.options.swipeToSlide||(t.options.slidesToScroll=1),e("img[data-lazy]",t.$slider).not("[src]").addClass("slick-loading"),t.setupInfinite(),t.buildArrows(),t.buildDots(),t.updateDots(),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),!0===t.options.draggable&&t.$list.addClass("draggable")},t.prototype.buildRows=function(){var e,t,n,i,r,o,s,a=this;if(i=document.createDocumentFragment(),o=a.$slider.children(),a.options.rows>0){for(s=a.options.slidesPerRow*a.options.rows,r=Math.ceil(o.length/s),e=0;e<r;e++){var l=document.createElement("div");for(t=0;t<a.options.rows;t++){var c=document.createElement("div");for(n=0;n<a.options.slidesPerRow;n++){var d=e*s+(t*a.options.slidesPerRow+n);o.get(d)&&c.appendChild(o.get(d))}l.appendChild(c)}i.appendChild(l)}a.$slider.empty().append(i),a.$slider.children().children().children().css({width:100/a.options.slidesPerRow+"%",display:"inline-block"})}},t.prototype.checkResponsive=function(t,n){var i,r,o,s=this,a=!1,l=s.$slider.width(),c=window.innerWidth||e(window).width();if("window"===s.respondTo?o=c:"slider"===s.respondTo?o=l:"min"===s.respondTo&&(o=Math.min(c,l)),s.options.responsive&&s.options.responsive.length&&null!==s.options.responsive){for(i in r=null,s.breakpoints)s.breakpoints.hasOwnProperty(i)&&(!1===s.originalSettings.mobileFirst?o<s.breakpoints[i]&&(r=s.breakpoints[i]):o>s.breakpoints[i]&&(r=s.breakpoints[i]));null!==r?null!==s.activeBreakpoint?(r!==s.activeBreakpoint||n)&&(s.activeBreakpoint=r,"unslick"===s.breakpointSettings[r]?s.unslick(r):(s.options=e.extend({},s.originalSettings,s.breakpointSettings[r]),!0===t&&(s.currentSlide=s.options.initialSlide),s.refresh(t)),a=r):(s.activeBreakpoint=r,"unslick"===s.breakpointSettings[r]?s.unslick(r):(s.options=e.extend({},s.originalSettings,s.breakpointSettings[r]),!0===t&&(s.currentSlide=s.options.initialSlide),s.refresh(t)),a=r):null!==s.activeBreakpoint&&(s.activeBreakpoint=null,s.options=s.originalSettings,!0===t&&(s.currentSlide=s.options.initialSlide),s.refresh(t),a=r),t||!1===a||s.$slider.trigger("breakpoint",[s,a])}},t.prototype.changeSlide=function(t,n){var i,r,o=this,s=e(t.currentTarget);switch(s.is("a")&&t.preventDefault(),s.is("li")||(s=s.closest("li")),i=o.slideCount%o.options.slidesToScroll!==0?0:(o.slideCount-o.currentSlide)%o.options.slidesToScroll,t.data.message){case"previous":r=0===i?o.options.slidesToScroll:o.options.slidesToShow-i,o.slideCount>o.options.slidesToShow&&o.slideHandler(o.currentSlide-r,!1,n);break;case"next":r=0===i?o.options.slidesToScroll:i,o.slideCount>o.options.slidesToShow&&o.slideHandler(o.currentSlide+r,!1,n);break;case"index":var a=0===t.data.index?0:t.data.index||s.index()*o.options.slidesToScroll;o.slideHandler(o.checkNavigable(a),!1,n),s.children().trigger("focus");break;default:return}},t.prototype.checkNavigable=function(e){var t,n;if(n=0,e>(t=this.getNavigableIndexes())[t.length-1])e=t[t.length-1];else for(var i in t){if(e<t[i]){e=n;break}n=t[i]}return e},t.prototype.cleanUpEvents=function(){var t=this;t.options.dots&&null!==t.$dots&&(e("li",t.$dots).off("click.slick",t.changeSlide).off("mouseenter.slick",e.proxy(t.
2interrupt,t,!0)).off("mouseleave.slick",e.proxy(t.interrupt,t,!1)),!0===t.options.accessibility&&t.$dots.off("keydown.slick",t.keyHandler)),t.$slider.off("focus.slick blur.slick"),!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow&&t.$prevArrow.off("click.slick",t.changeSlide),t.$nextArrow&&t.$nextArrow.off("click.slick",t.changeSlide),!0===t.options.accessibility&&(t.$prevArrow&&t.$prevArrow.off("keydown.slick",t.keyHandler),t.$nextArrow&&t.$nextArrow.off("keydown.slick",t.keyHandler))),t.$list.off("touchstart.slick mousedown.slick",t.swipeHandler),t.$list.off("touchmove.slick mousemove.slick",t.swipeHandler),t.$list.off("touchend.slick mouseup.slick",t.swipeHandler),t.$list.off("touchcancel.slick mouseleave.slick",t.swipeHandler),t.$list.off("click.slick",t.clickHandler),e(document).off(t.visibilityChange,t.visibility),t.cleanUpSlideEvents(),!0===t.options.accessibility&&t.$list.off("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().off("click.slick",t.selectHandler),e(window).off("orientationchange.slick.slick-"+t.instanceUid,t.orientationChange),e(window).off("resize.slick.slick-"+t.instanceUid,t.resize),e("[draggable!=true]",t.$slideTrack).off("dragstart",t.preventDefault),e(window).off("load.slick.slick-"+t.instanceUid,t.setPosition)},t.prototype.cleanUpSlideEvents=function(){var t=this;t.$list.off("mouseenter.slick",e.proxy(t.interrupt,t,!0)),t.$list.off("mouseleave.slick",e.proxy(t.interrupt,t,!1))},t.prototype.cleanUpRows=function(){var e,t=this;t.options.rows>0&&((e=t.$slides.children().children()).removeAttr("style"),t.$slider.empty().append(e))},t.prototype.clickHandler=function(e){!1===this.shouldClick&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault())},t.prototype.destroy=function(t){var n=this;n.autoPlayClear(),n.touchObject={},n.cleanUpEvents(),e(".slick-cloned",n.$slider).detach(),n.$dots&&n.$dots.remove(),n.$prevArrow&&n.$prevArrow.length&&(n.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),n.htmlExpr.test(n.options.prevArrow)&&n.$prevArrow.remove()),n.$nextArrow&&n.$nextArrow.length&&(n.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),n.htmlExpr.test(n.options.nextArrow)&&n.$nextArrow.remove()),n.$slides&&(n.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){e(this).attr("style",e(this).data("originalStyling"))}),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.detach(),n.$list.detach(),n.$slider.append(n.$slides)),n.cleanUpRows(),n.$slider.removeClass("slick-slider"),n.$slider.removeClass("slick-initialized"),n.$slider.removeClass("slick-dotted"),n.unslicked=!0,t||n.$slider.trigger("destroy",[n])},t.prototype.disableTransition=function(e){var t=this,n={};n[t.transitionType]="",!1===t.options.fade?t.$slideTrack.css(n):t.$slides.eq(e).css(n)},t.prototype.fadeSlide=function(e,t){var n=this;!1===n.cssTransitions?(n.$slides.eq(e).css({zIndex:n.options.zIndex}),n.$slides.eq(e).animate({opacity:1},n.options.speed,n.options.easing,t)):(n.applyTransition(e),n.$slides.eq(e).css({opacity:1,zIndex:n.options.zIndex}),t&&setTimeout(function(){n.disableTransition(e),t.call()},n.options.speed))},t.prototype.fadeSlideOut=function(e){var t=this;!1===t.cssTransitions?t.$slides.eq(e).animate({opacity:0,zIndex:t.options.zIndex-2},t.options.speed,t.options.easing):(t.applyTransition(e),t.$slides.eq(e).css({opacity:0,zIndex:t.options.zIndex-2}))},t.prototype.filterSlides=t.prototype.slickFilter=function(e){var t=this;null!==e&&(t.$slidesCache=t.$slides,t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.filter(e).appendTo(t.$slideTrack),t.reinit())},t.prototype.focusHandler=function(){var t=this;t.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",function(n){n.stopImmediatePropagation();var i=e(this);setTimeout(function(){t.options.pauseOnFocus&&(t.focussed=i.is(":focus"),t.autoPlay())}
2,0)})},t.prototype.getCurrent=t.prototype.slickCurrentSlide=function(){return this.currentSlide},t.prototype.getDotCount=function(){var e=this,t=0,n=0,i=0;if(!0===e.options.infinite)if(e.slideCount<=e.options.slidesToShow)++i;else for(;t<e.slideCount;)++i,t=n+e.options.slidesToScroll,n+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else if(!0===e.options.centerMode)i=e.slideCount;else if(e.options.asNavFor)for(;t<e.slideCount;)++i,t=n+e.options.slidesToScroll,n+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else i=1+Math.ceil((e.slideCount-e.options.slidesToShow)/e.options.slidesToScroll);return i-1},t.prototype.getLeft=function(e){var t,n,i,r,o=this,s=0;return o.slideOffset=0,n=o.$slides.first().outerHeight(!0),!0===o.options.infinite?(o.slideCount>o.options.slidesToShow&&(o.slideOffset=o.slideWidth*o.options.slidesToShow*-1,r=-1,!0===o.options.vertical&&!0===o.options.centerMode&&(2===o.options.slidesToShow?r=-1.5:1===o.options.slidesToShow&&(r=-2)),s=n*o.options.slidesToShow*r),o.slideCount%o.options.slidesToScroll!==0&&e+o.options.slidesToScroll>o.slideCount&&o.slideCount>o.options.slidesToShow&&(e>o.slideCount?(o.slideOffset=(o.options.slidesToShow-(e-o.slideCount))*o.slideWidth*-1,s=(o.options.slidesToShow-(e-o.slideCount))*n*-1):(o.slideOffset=o.slideCount%o.options.slidesToScroll*o.slideWidth*-1,s=o.slideCount%o.options.slidesToScroll*n*-1))):e+o.options.slidesToShow>o.slideCount&&(o.slideOffset=(e+o.options.slidesToShow-o.slideCount)*o.slideWidth,s=(e+o.options.slidesToShow-o.slideCount)*n),o.slideCount<=o.options.slidesToShow&&(o.slideOffset=0,s=0),!0===o.options.centerMode&&o.slideCount<=o.options.slidesToShow?o.slideOffset=o.slideWidth*Math.floor(o.options.slidesToShow)/2-o.slideWidth*o.slideCount/2:!0===o.options.centerMode&&!0===o.options.infinite?o.slideOffset+=o.slideWidth*Math.floor(o.options.slidesToShow/2)-o.slideWidth:!0===o.options.centerMode&&(o.slideOffset=0,o.slideOffset+=o.slideWidth*Math.floor(o.options.slidesToShow/2)),t=!1===o.options.vertical?e*o.slideWidth*-1+o.slideOffset:e*n*-1+s,!0===o.options.variableWidth&&(i=o.slideCount<=o.options.slidesToShow||!1===o.options.infinite?o.$slideTrack.children(".slick-slide").eq(e):o.$slideTrack.children(".slick-slide").eq(e+o.options.slidesToShow),t=!0===o.options.rtl?i[0]?-1*(o.$slideTrack.width()-i[0].offsetLeft-i.width()):0:i[0]?-1*i[0].offsetLeft:0,!0===o.options.centerMode&&(i=o.slideCount<=o.options.slidesToShow||!1===o.options.infinite?o.$slideTrack.children(".slick-slide").eq(e):o.$slideTrack.children(".slick-slide").eq(e+o.options.slidesToShow+1),t=!0===o.options.rtl?i[0]?-1*(o.$slideTrack.width()-i[0].offsetLeft-i.width()):0:i[0]?-1*i[0].offsetLeft:0,t+=(o.$list.width()-i.outerWidth())/2)),t},t.prototype.getOption=t.prototype.slickGetOption=function(e){return this.options[e]},t.prototype.getNavigableIndexes=function(){var e,t=this,n=0,i=0,r=[];for(!1===t.options.infinite?e=t.slideCount:(n=-1*t.options.slidesToScroll,i=-1*t.options.slidesToScroll,e=2*t.slideCount);n<e;)r.push(n),n=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;return r},t.prototype.getSlick=function(){return this},t.prototype.getSlideCount=function(){var t,n,i=this;return n=!0===i.options.centerMode?i.slideWidth*Math.floor(i.options.slidesToShow/2):0,!0===i.options.swipeToSlide?(i.$slideTrack.find(".slick-slide").each(function(r,o){if(o.offsetLeft-n+e(o).outerWidth()/2>-1*i.swipeLeft)return t=o,!1}),Math.abs(e(t).attr("data-slick-index")-i.currentSlide)||1):i.options.slidesToScroll},t.prototype.goTo=t.prototype.slickGoTo=function(e,t){this.changeSlide({data:{message:"index",index:parseInt(e)}},t)},t.prototype.init=function(t){var n=this;e(n.$slider).hasClass("slick-initialized")||(e(n.$slider).addClass("slick-initialized"),n.buildRows(),n.buildOut(),n.setProps(),n.startLoad(),n.loadSlider(),n.initializeEvents(),n.updateArrows(),n.updateDots(),n.checkResponsive(!0),n.focusHandler()),t&&n.$slider.trigger("init",[n]),!0===n.options.accessibility&&n.initADA(),n.options.autoplay&&(n.paused=!1,n.autoPlay())},t.prototype.initADA=function(){var t=this,n=Math.ceil(t.slideCount/t.options.slidesToShow),i=t.getNavigableIndexes().filter(function(e){return e>=0&&e<t.slideCount});t.$slides.add(t.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==t.$dots&&(t.$slides.not(t.$slideTrack.find(".slick-cloned")).each(function(n){var r=i.indexOf(n);if(e(this).attr({role:"tabpanel",id:"slick-slide"+t.instanceUid+n,tabindex:-1}),-1!==r){var o="slick-slide-control"+t.instanceUid+r;e("#"+o).length&&e(this).attr({"aria-describedby":o})}}),t.$dots.attr("role","tablist").find("li").each(function(r){var o=i[r];e(this).attr({role:"presentation"}),e(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+t.instanceUid+r,"aria-controls":"slick-slide"+t.instanceUid+o,"aria-label":r+1+" of "+n,"aria-selected":null,tabindex:"-1"})}).eq(t.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var r=t.currentSlide,o=r+t.options.slidesToShow;r<o;r++)t.options.focusOnChange?t.$slides.eq(r).attr({tabindex:"0"}):t.$slides.eq(r).removeAttr("tabindex");t.activateADA()},t.prototype.initArrowEvents=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},e.changeSlide),e.$nextArrow.off("click.slick").on("click.slick",{message:"next"},e.changeSlide),!0===e.options.accessibility&&(e.$prevArrow.on("keydown.slick",e.keyHandler),e.$nextArrow.on("keydown.slick",e.keyHandler)))},t.prototype.initDotEvents=function(){var t=this;!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&(e("li",t.$dots).on("click.slick",{message:"index"},t.changeSlide),!0===t.options.accessibility&&t.$dots.on("keydown.slick",t.keyHandler)),!0===t.options.dots&&!0===t.options.pauseOnDotsHover&&t.slideCount>t.options.slidesToShow&&e("li",t.$dots).on("mouseenter.slick",e.proxy(t.
2interrupt,t,!0)).on("mouseleave.slick",e.proxy(t.interrupt,t,!1))},t.prototype.initSlideEvents=function(){var t=this;t.options.pauseOnHover&&(t.$list.on("mouseenter.slick",e.proxy(t.interrupt,t,!0)),t.$list.on("mouseleave.slick",e.proxy(t.interrupt,t,!1)))},t.prototype.initializeEvents=function(){var t=this;t.initArrowEvents(),t.initDotEvents(),t.initSlideEvents(),t.$list.on("touchstart.slick mousedown.slick",{action:"start"},t.swipeHandler),t.$list.on("touchmove.slick mousemove.slick",{action:"move"},t.swipeHandler),t.$list.on("touchend.slick mouseup.slick",{action:"end"},t.swipeHandler),t.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},t.swipeHandler),t.$list.on("click.slick",t.clickHandler),e(document).on(t.visibilityChange,e.proxy(t.visibility,t)),!0===t.options.accessibility&&t.$list.on("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().on("click.slick",t.selectHandler),e(window).on("orientationchange.slick.slick-"+t.instanceUid,e.proxy(t.orientationChange,t)),e(window).on("resize.slick.slick-"+t.instanceUid,e.proxy(t.resize,t)),e("[draggable!=true]",t.$slideTrack).on("dragstart",t.preventDefault),e(window).on("load.slick.slick-"+t.instanceUid,t.setPosition),e(t.setPosition)},t.prototype.initUI=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.show(),e.$nextArrow.show()),!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&e.$dots.show()},t.prototype.keyHandler=function(e){var t=this;e.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===e.keyCode&&!0===t.options.accessibility?t.changeSlide({data:{message:!0===t.options.rtl?"next":"previous"}}):39===e.keyCode&&!0===t.options.accessibility&&t.changeSlide({data:{message:!0===t.options.rtl?"previous":"next"}}))},t.prototype.lazyLoad=function(){var t,n,i,r=this;function o(t){e("img[data-lazy]",t).each(function(){var t=e(this),n=e(this).attr("data-lazy"),i=e(this).attr("data-srcset"),o=e(this).attr("data-sizes")||r.$slider.attr("data-sizes"),s=document.createElement("img");s.onload=function(){t.animate({opacity:0}
vendor: 4,781 bytes, line 2
2,100,function(){i&&(t.attr("srcset",i),o&&t.attr("sizes",o)),t.attr("src",n).animate({opacity:1},200,function(){t.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")}),r.$slider.trigger("lazyLoaded",[r,t,n])})},s.onerror=function(){t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),r.$slider.trigger("lazyLoadError",[r,t,n])},s.src=n})}if(!0===r.options.centerMode?!0===r.options.infinite?i=(n=r.currentSlide+(r.options.slidesToShow/2+1))+r.options.slidesToShow+2:(n=Math.max(0,r.currentSlide-(r.options.slidesToShow/2+1)),i=r.options.slidesToShow/2+1+2+r.currentSlide):(n=r.options.infinite?r.options.slidesToShow+r.currentSlide:r.currentSlide,i=Math.ceil(n+r.options.slidesToShow),!0===r.options.fade&&(n>0&&n--,i<=r.slideCount&&i++)),t=r.$slider.find(".slick-slide").slice(n,i),"anticipated"===r.options.lazyLoad)for(var s=n-1,a=i,l=r.$slider.find(".slick-slide"),c=0;c<r.options.slidesToScroll;c++)s<0&&(s=r.slideCount-1),t=(t=t.add(l.eq(s))).add(l.eq(a)),s--,a++;o(t),r.slideCount<=r.options.slidesToShow?o(r.$slider.find(".slick-slide")):r.currentSlide>=r.slideCount-r.options.slidesToShow?o(r.$slider.find(".slick-cloned").slice(0,r.options.slidesToShow)):0===r.currentSlide&&o(r.$slider.find(".slick-cloned").slice(-1*r.options.slidesToShow))},t.prototype.loadSlider=function(){var e=this;e.setPosition(),e.$slideTrack.css({opacity:1}),e.$slider.removeClass("slick-loading"),e.initUI(),"progressive"===e.options.lazyLoad&&e.progressiveLazyLoad()},t.prototype.next=t.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},t.prototype.orientationChange=function(){var e=this;e.checkResponsive(),e.setPosition()},t.prototype.pause=t.prototype.slickPause=function(){var e=this;e.autoPlayClear(),e.paused=!0},t.prototype.play=t.prototype.slickPlay=function(){var e=this;e.autoPlay(),e.options.autoplay=!0,e.paused=!1,e.focussed=!1,e.interrupted=!1},t.prototype.postSlide=function(t){var n=this;n.unslicked||(n.$slider.trigger("afterChange",[n,t]),n.animating=!1,n.slideCount>n.options.slidesToShow&&n.setPosition(),n.swipeLeft=null,n.options.autoplay&&n.autoPlay(),!0===n.options.accessibility&&(n.initADA(),n.options.focusOnChange&&e(n.$slides.get(n.currentSlide)).attr("tabindex",0).focus()))},t.prototype.prev=t.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},t.prototype.preventDefault=function(e){e.preventDefault()},t.prototype.progressiveLazyLoad=function(t){t=t||1;var n,i,r,o,s,a=this,l=e("img[data-lazy]",a.$slider);l.length?(n=l.first(),i=n.attr("data-lazy"),r=n.attr("data-srcset"),o=n.attr("data-sizes")||a.$slider.attr("data-sizes"),(s=document.createElement("img")).onload=function(){r&&(n.attr("srcset",r),o&&n.attr("sizes",o)),n.attr("src",i).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===a.options.adaptiveHeight&&a.setPosition(),a.$slider.trigger("lazyLoaded",[a,n,i]),a.progressiveLazyLoad()},s.onerror=function(){t<3?setTimeout(function(){a.progressiveLazyLoad(t+1)},500):(n.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),a.$slider.trigger("lazyLoadError",[a,n,i]),a.progressiveLazyLoad())},s.src=i):a.$slider.trigger("allImagesLoaded",[a])},t.prototype.refresh=function(t){var n,i,r=this;i=r.slideCount-r.options.slidesToShow,!r.options.infinite&&r.currentSlide>i&&(r.currentSlide=i),r.slideCount<=r.options.slidesToShow&&(r.currentSlide=0),n=r.currentSlide,r.destroy(!0),e.extend(r,r.initials,{currentSlide:n}),r.init(),t||r.changeSlide({data:{message:"index",index:n}},!1)},t.prototype.registerBreakpoints=function(){var t,n,i,r=this,o=r.options.responsive||null;if("array"===e.type(o)&&o.length){for(t in r.respondTo=r.options.respondTo||"window",o)if(i=r.breakpoints.length-1,o.hasOwnProperty(t)){for(n=o[t].breakpoint;i>=0;)r.breakpoints[i]&&r.breakpoints[i]===n&&r.breakpoints.splice(i,1),i--;r.breakpoints.push(n),r.breakpointSettings[n]=o[t].settings}r.breakpoints.sort(function(e,t){return r.options.mobileFirst?e-t:t-e})}},t.prototype.reinit=function(){var t=this;t.$slides=t.$slideTrack.children(t.options.slide).addClass("slick-slide"),t.slideCount=t.$slides.length,t.currentSlide>=t.slideCount&&0!==t.currentSlide&&(t.currentSlide=t.currentSlide-t.options.slidesToScroll),t.slideCount<=t.options.slidesToShow&&(t.currentSlide=0),t.registerBreakpoints(),t.setProps(),t.setupInfinite(),t.buildArrows(),t.updateArrows(),t.initArrowEvents(),t.buildDots(),t.updateDots(),t.initDotEvents(),t.cleanUpSlideEvents(),t.initSlideEvents(),t.checkResponsive(!1,!0),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().on("click.slick",t.selectHandler),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),t.setPosition(),t.focusHandler(),t.paused=!t.o
2ptions.autoplay,t.autoPlay(),t.$slider.trigger("reInit",[t])},t.prototype.resize=function(){var t=this;e(window).width()!==t.windowWidth&&(clearTimeout(t.windowDelay),t.windowDelay=window.setTimeout(function(){t.windowWidth=e(window).width(),t.checkResponsive(),t.unslicked||t.setPosition()},50))},t.prototype.removeSlide=t.prototype.slickRemove=function(e,t,n){var i=this;if(e="boolean"==typeof e?!0===(t=e)?0:i.slideCount-1:!0===t?--e:e,i.slideCount<1||e<0||e>i.slideCount-1)return!1;i.unload(),!0===n?i.$slideTrack.children().remove():i.$slideTrack.children(this.options.slide).eq(e).remove(),i.$slides=i.$slideTrack.children(this.options.slide),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.append(i.$slides),i.$slidesCache=i.$slides,i.reinit()},t.prototype.setCSS=function(e){var t,n,i=this,r={};!0===i.options.rtl&&(e=-e),t="left"==i.positionProp?Math.ceil(e)+"px":"0px",n="top"==i.positionProp?Math.ceil(e)+"px":"0px",r[i.positionProp]=e,!1===i.transformsEnabled?i.$slideTrack.css(r):(r={},!1===i.cssTransitions?(r[i.animType]="translate("+t+", "+n+")",i.$slideTrack.css(r)):(r[i.animType]="translate3d("+t+", "+n+", 0px)",i.$slideTrack.css(r)))},t.prototype.setDimensions=function(){var e=this;!1===e.options.vertical?!0===e.options.centerMode&&e.$list.css({padding:"0px "+e.options.centerPadding}):(e.$list.height(e.$slides.first().outerHeight(!0)*e.options.slidesToShow),!0===e.options.centerMode&&e.$list.css({padding:e.options.centerPadding+" 0px"})),e.listWidth=e.$list.width(),e.listHeight=e.$list.height(),!1===e.options.vertical&&!1===e.options.variableWidth?(e.slideWidth=Math.ceil(e.listWidth/e.options.slidesToShow),e.$slideTrack.width(Math.ceil(e.slideWidth*e.$slideTrack.children(".slick-slide").length))):!0===e.options.variableWidth?e.$slideTrack.width(5e3*e.slideCount):(e.slideWidth=Math.ceil(e.listWidth),e.$slideTrack.height(Math.ceil(e.$slides.first().outerHeight(!0)*e.$slideTrack.children(".slick-slide").length)));var t=e.$slides.first().outerWidth(!0)-e.$slides.first().width();!1===e.options.variableWidth&&e.$slideTrack.children(".slick-slide").width(e.slideWidth-t)},t.prototype.setFade=function(){var t,n=this;n.$slides.each(function(i,r){t=n.slideWidth*i*-1,!0===n.options.rtl?e(r).css({position:"relative",right:t,top:0,zIndex:n.options.zIndex-2,opacity:0}
2):e(r).css({position:"relative",left:t,top:0,zIndex:n.options.zIndex-2,opacity:0})}),n.$slides.eq(n.currentSlide).css({zIndex:n.options.zIndex-1,opacity:1})},t.prototype.setHeight=function(){var e=this;if(1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical){var t=e.$slides.eq(e.currentSlide).outerHeight(!0);e.$list.css("height",t)}},t.prototype.setOption=t.prototype.slickSetOption=function(){var t,n,i,r,o,s=this,a=!1;if("object"===e.type(arguments[0])?(i=arguments[0],a=arguments[1],o="multiple"):"string"===e.type(arguments[0])&&(i=arguments[0],r=arguments[1],a=arguments[2],"responsive"===arguments[0]&&"array"===e.type(arguments[1])?o="responsive":void 0!==arguments[1]&&(o="single")),"single"===o)s.options[i]=r;else if("multiple"===o)e.each(i,function(e,t){s.options[e]=t});else if("responsive"===o)for(n in r)if("array"!==e.type(s.options.responsive))s.options.responsive=[r[n]];else{for(t=s.options.responsive.length-1;t>=0;)s.options.responsive[t].breakpoint===r[n].breakpoint&&s.options.responsive.splice(t,1),t--;s.options.responsive.push(r[n])}a&&(s.unload(),s.reinit())},t.prototype.setPosition=function(){var e=this;e.setDimensions(),e.setHeight(),!1===e.options.fade?e.setCSS(e.getLeft(e.currentSlide)):e.setFade(),e.$slider.trigger("setPosition",[e])},t.prototype.setProps=function(){var e=this,t=document.body.style;e.positionProp=!0===e.options.vertical?"top":"left","top"===e.positionProp?e.$slider.addClass("slick-vertical"):e.$slider.removeClass("slick-vertical"),void 0===t.WebkitTransition&&void 0===t.MozTransition&&void 0===t.msTransition||!0===e.options.useCSS&&(e.cssTransitions=!0),e.options.fade&&("number"==typeof e.options.zIndex?e.options.zIndex<3&&(e.options.zIndex=3):e.options.zIndex=e.defaults.zIndex),void 0!==t.OTransform&&(e.animType="OTransform",e.transformType="-o-transform",e.transitionType="OTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(e.animType=!1)),void 0!==t.MozTransform&&(e.animType="MozTransform",e.transformType="-moz-transform",e.transitionType="MozTransition",void 0===t.perspectiveProperty&&void 0===t.MozPerspective&&(e.animType=!1)),void 0!==t.webkitTransform&&(e.animType="webkitTransform",e.transformType="-webkit-transform",e.transitionType="webkitTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(e.animType=!1)),void 0!==t.msTransform&&(e.animType="msTransform",e.transformType="-ms-transform",e.transitionType="msTransition",void 0===t.msTransform&&(e.animType=!1)),void 0!==t.transform&&!1!==e.animType&&(e.animType="transform",e.transformType="transform",e.transitionType="transition"),e.transformsEnabled=e.options.useTransform&&null!==e.animType&&!1!==e.animType},t.prototype.setSlideClasses=function(e){var t,n,i,r,o=this;if(n=o.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),o.$slides.eq(e).addClass("slick-current"),!0===o.options.centerMode){var s=o.options.slidesToShow%2==0?1:0;t=Math.floor(o.options.slidesToShow/2),!0===o.options.infinite&&(e>=t&&e<=o.slideCount-1-t?o.$slides.slice(e-t+s,e+t+1).addClass("slick-active").attr("aria-hidden","false"):(i=o.options.slidesToShow+e,n.slice(i-t+1+s,i+t+2).addClass("slick-active").attr("aria-hidden","false")),0===e?n.eq(n.length-1-o.options.slidesToShow).addClass("slick-center"):e===o.slideCount-1&&n.eq(o.options.slidesToShow).addClass("slick-center")),o.$slides.eq(e).addClass("slick-center")}else e>=0&&e<=o.slideCount-o.options.slidesToShow?o.$slides.slice(e,e+o.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):n.length<=o.options.slidesToShow?n.addClass("slick-active").attr("aria-hidden","false"):(r=o.slideCount%o.options.slidesToShow,i=!0===o.options.infinite?o.options.slidesToShow+e:e,o.options.slidesToShow==o.options.slidesToScroll&&o.slideCount-e<o.options.slidesToShow?n.slice(i-(o.options.slidesToShow-r),i+r).addClass("slick-active").attr("aria-hidden","false"):n.slice(i,i+o.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));"ondemand"!==o.options.lazyLoad&&"anticipated"!==o.options.lazyLoad||o.lazyLoad()},t.prototype.setupInfinite=function(){var t,n,i,r=this;if(!0===r.options.fade&&(r.options.centerMode=!1),!0===r.options.infinite&&!1===r.options.fade&&(n=null,r.slideCount>r.options.slidesToShow)){for(i=!0===r.options.centerMode?r.options.slidesToShow+1:r.options.slidesToShow,t=r.slideCount;t>r.slideCount-i;t-=1)n=t-1,e(r.$slides[n]).clone(!0).attr("id","").attr("data-slick-index",n-r.slideCount).prependTo(r.$slideTrack).addClass("slick-cloned");for(t=0;t<i+r.slideCount;t+=1)n=t,e(r.$slides[n]).clone(!0).attr("id","").attr("data-slick-index",n+r.slideCount).appendTo(r.$slideTrack).addClass("slick-cloned");r.$slideTrack.find(".slick-cloned").find("[id]").each(function(){e(this).attr("id","")})}},t.prototype.interrupt=function(e){var t=this;e||t.autoPlay(),t.interrupted=e},t.prototype.selectHandler=function(t){var n=this,i=e(t.target).is(".slick-slide")?e(t.target):e(t.target).parents(".slick-slide"),r=parseInt(i.attr("data-slick-index"));r||(r=0),n.slideCount<=n.options.slidesToShow?n.slideHandler(r,!1,!0):n.slideHandler(r)},t.prototype.slideHandler=function(e,t,n){var i,r,o,s,a,l=null,c=this;if(t=t||!1,!(!0===c.animating&&!0===c.options.waitForAnimate||!0===c.options.fade&&c.currentSlide===e))if(!1===t&&c.asNavFor(e),i=e,l=c.getLeft(i),s=c.getLeft(c.
2currentSlide),c.currentLeft=null===c.swipeLeft?s:c.swipeLeft,!1===c.options.infinite&&!1===c.options.centerMode&&(e<0||e>c.getDotCount()*c.options.slidesToScroll))!1===c.options.fade&&(i=c.currentSlide,!0!==n&&c.slideCount>c.options.slidesToShow?c.animateSlide(s,function(){c.postSlide(i)}):c.postSlide(i));else if(!1===c.options.infinite&&!0===c.options.centerMode&&(e<0||e>c.slideCount-c.options.slidesToScroll))!1===c.options.fade&&(i=c.currentSlide,!0!==n&&c.slideCount>c.options.slidesToShow?c.animateSlide(s,function(){c.postSlide(i)}):c.postSlide(i));else{if(c.options.autoplay&&clearInterval(c.autoPlayTimer),r=i<0?c.slideCount%c.options.slidesToScroll!==0?c.slideCount-c.slideCount%c.options.slidesToScroll:c.slideCount+i:i>=c.slideCount?c.slideCount%c.options.slidesToScroll!==0?0:i-c.slideCount:i,c.animating=!0,c.$slider.trigger("beforeChange",[c,c.currentSlide,r]),o=c.currentSlide,c.currentSlide=r,c.setSlideClasses(c.currentSlide),c.options.asNavFor&&(a=(a=c.getNavTarget()).slick("getSlick")).slideCount<=a.options.slidesToShow&&a.setSlideClasses(c.currentSlide),c.updateDots(),c.updateArrows(),!0===c.options.fade)return!0!==n?(c.fadeSlideOut(o),c.fadeSlide(r,function(){c.postSlide(r)})):c.postSlide(r),void c.animateHeight();!0!==n&&c.slideCount>c.options.slidesToShow?c.animateSlide(l,function(){c.postSlide(r)}):c.postSlide(r)}},t.prototype.startLoad=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.hide(),e.$nextArrow.hide()),!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&e.$dots.hide(),e.$slider.addClass("slick-loading")},t.prototype.swipeDirection=function(){var e,t,n,i,r=this;return e=r.touchObject.startX-r.touchObject.curX,t=r.touchObject.startY-r.touchObject.curY,n=Math.atan2(t,e),(i=Math.round(180*n/Math.PI))<0&&(i=360-Math.abs(i)),i<=45&&i>=0||i<=360&&i>=315?!1===r.options.rtl?"left":"right":i>=135&&i<=225?!1===r.options.rtl?"right":"left":!0===r.options.verticalSwiping?i>=35&&i<=135?"down":"up":"vertical"},t.prototype.swipeEnd=function(e){var t,n,i=this;if(i.dragging=!1,i.swiping=!1,i.scrolling)return i.scrolling=!1,!1;if(i.interrupted=!1,i.shouldClick=!(i.touchObject.swipeLength>10),void 0===i.touchObject.curX)return!1;if(!0===i.touchObject.edgeHit&&i.$slider.trigger("edge",[i,i.swipeDirection()]),i.touchObject.swipeLength>=i.touchObject.minSwipe){switch(n=i.swipeDirection()){case"left":case"down":t=i.options.swipeToSlide?i.checkNavigable(i.currentSlide+i.getSlideCount()):i.currentSlide+i.getSlideCount(),i.currentDirection=0;break;case"right":case"up":t=i.options.swipeToSlide?i.checkNavigable(i.currentSlide-i.getSlideCount()):i.currentSlide-i.getSlideCount(),i.currentDirection=1}"vertical"!=n&&(i.slideHandler(t),i.touchObject={},i.$slider.trigger("swipe",[i,n]))}else i.touchObject.startX!==i.touchObject.curX&&(i.slideHandler(i.currentSlide),i.touchObject={})},t.prototype.swipeHandler=function(e){var t=this;if(!(!1===t.options.swipe||"ontouchend"in document&&!1===t.options.swipe||!1===t.options.draggable&&-1!==e.type.indexOf("mouse")))switch(t.touchObject.fingerCount=e.originalEvent&&void 0!==e.originalEvent.touches?e.originalEvent.touches.length:1,t.touchObject.minSwipe=t.listWidth/t.options.touchThreshold,!0===t.options.verticalSwiping&&(t.touchObject.minSwipe=t.listHeight/t.options.touchThreshold),e.data.action){case"start":t.swipeStart(e);break;case"move":t.swipeMove(e);break;case"end":t.swipeEnd(e)}},t.prototype.swipeMove=function(e){var t,n,i,r,o,s,a=this;return o=void 0!==e.originalEvent?e.originalEvent.touches:null,!(!a.dragging||a.scrolling||o&&1!==o.length)&&(t=a.getLeft(a.currentSlide),a.touchObject.curX=void 0!==o?o[0].pageX:e.clientX,a.touchObject.curY=void 0!==o?o[0].pageY:e.clientY,a.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(a.touchObject.curX-a.touchObject.startX,2))),s=Math.round(Math.sqrt(Math.pow(a.touchObject.curY-a.touchObject.startY,2))),!a.options.verticalSwiping&&!a.swiping&&s>4?(a.scrolling=!0,!1):(!0===a.options.verticalSwiping&&(a.touchObject.swipeLength=s),n=a.swipeDirection(),void 0!==e.originalEvent&&a.touchObject.swipeLength>4&&(a.swiping=!0,e.preventDefault()),r=(!1===a.options.rtl?1:-1)*(a.touchObject.curX>a.touchObject.startX?1:-1),!0===a.options.verticalSwiping&&(r=a.touchObject.curY>a.touchObject.startY?1:-1),i=a.touchObject.swipeLength,a.touchObject.edgeHit=!1,!1===a.options.infinite&&(0===a.currentSlide&&"right"===n||a.currentSlide>=a.getDotCount()&&"left"===n)&&(i=a.touchObject.swipeLength*a.options.edgeFriction,a.touchObject.edgeHit=!0),!1===a.options.vertical?a.swipeLeft=t+i*r:a.swipeLeft=t+i*(a.$list.height()/a.listWidth)*r,!0===a.options.verticalSwiping&&(a.swipeLeft=t+i*r),!0!==a.options.fade&&!1!==a.options.touchMove&&(!0===a.animating?(a.swipeLeft=null,!1):void a.setCSS(a.swipeLeft))))},t.prototype.swipeStart=function(e){var t,n=this;if(n.interrupted=!0,1!==n.touchObject.fingerCount||n.slideCount<=n.options.slidesToShow)return n.touchObject={},!1;void 0!==e.originalEvent&&void 0!==e.originalEvent.touches&&(t=e.originalEvent.touches[0]),n.touchObject.startX=n.touchObject.curX=void 0!==t?t.pageX:e.clientX,n.touchObject.startY=n.touchObject.curY=void 0!==t?t.pageY:e.clientY,n.dragging=!0},t.prototype.unfilterSlides=t.prototype.slickUnfilter=function(){var e=this;null!==e.$slidesCache&&(e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.appendTo(e.$slideTrack),e.reinit())},t.prototype.unload=function(){var t=this;e(".slick-cloned",t.$slider).remove(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove(),t.$nextArrow&&t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove(),t.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")}
2,t.prototype.unslick=function(e){var t=this;t.$slider.trigger("unslick",[t,e]),t.destroy()},t.prototype.updateArrows=function(){var e=this;Math.floor(e.options.slidesToShow/2),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&!e.options.infinite&&(e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===e.currentSlide?(e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):(e.currentSlide>=e.slideCount-e.options.slidesToShow&&!1===e.options.centerMode||e.currentSlide>=e.slideCount-1&&!0===e.options.centerMode)&&(e.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},t.prototype.updateDots=function(){var e=this;null!==e.$dots&&(e.$dots.find("li").removeClass("slick-active").end(),e.$dots.find("li").eq(Math.floor(e.currentSlide/e.options.slidesToScroll)).addClass("slick-active"))},t.prototype.visibility=function(){var e=this;e.options.autoplay&&(document[e.hidden]?e.interrupted=!0:e.interrupted=!1)},e.fn.slick=function(){var e,n,i=this,r=arguments[0],o=Array.prototype.slice.call(arguments,1),s=i.length;for(e=0;e<s;e++)if("object"==typeof r||void 0===r?i[e].slick=new t(i[e],r):n=i[e].slick[r].apply(i[e].slick,o),void 0!==n)return n;return i}},void 0===(o="function"==typeof i?i.apply(t,r):i)||(e.exports=o)}()},5137:(e,t,n)=>{"use strict";var i=Function.prototype.call,r=Object.prototype.hasOwnProperty,o=n(2795);e.exports=o.call(i,r)},5167:(e,t,n)=>{"use strict";var i=n(3655),r=n(7623),o=function(e,t,n){for(var i,r=e;null!=(i=r.next);r=i)if(i.key===t)return r.next=i.next,n||(i.next=e.next,e.next=i),i};e.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new r("Side channel does not contain "+i(e))},delete:function(t){var n=e&&e.next,i=function(e,t){if(e)return o(e,t,!0)}(e,t);return i&&n&&n===i&&(e=void 0),!!i},get:function(t){return function(e,t){if(e){var n=o(e,t);return n&&n.value}}(e,t)},has:function(t){return function(e,t){return!!e&&!!o(e,t)}(e,t)},set:function(t,n){e||(e={next:void 0}),function(e,t,n){var i=o(e,t);i?i.value=n:e.next={key:t,next:e.next,value:n}}(e,t,n)}};return t}},5252:function(e,t,n){!function(e,t,n,i){"use strict";const r=(e,r="hide")=>{const o=`click.dismiss${e.EVENT_KEY}`,s=e.NAME;t.on(document,o,`[data-bs-dismiss="${s}"]`,function(t){if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),i.isDisabled(this))return;const o=n.getElementFromSelector(this)||this.closest(`.${s}`);e.getOrCreateInstance(o)[r]()})};e.enableDismissTrigger=r,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}(t,n(88),n(4575),n(5815))},5269:function(e,t,n){var i,r,o;function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}o=function(){"use strict";var e=function(){return e=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},e.apply(this,arguments)},t={autoplayFirstVideo:!0,youTubePlayerParams:!1,vimeoPlayerParams:!1,wistiaPlayerParams:!1,gotoNextSlideOnVideoEnd:!0,autoplayVideoOnSlide:!1,videojs:!1,videojsOptions:{}},n="lgHasVideo",i="lgSlideItemLoad",r="lgBeforeSlide",o="lgAfterSlide",s="lgPosterClick",a=function(e){return Object.keys(e).map(function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])}).join("&")};return function(){function l(n){return this.core=n,this.settings=e(e({},t),this.core.settings),this}return l.prototype.init=function(){var e=this;this.core.LGel.on(n+".video",this.onHasVideo.bind(this)),this.core.LGel.on(s+".video",function(){var t=e.core.getSlideItem(e.core.index);e.loadVideoOnPosterClick(t)}),this.core.LGel.on(i+".video",this.onSlideItemLoad.bind(this)),this.core.LGel.on(r+".video",this.onBeforeSlide.bind(this)),this.core.LGel.on(o+".video",this.onAfterSlide.bind(this))},l.prototype.onSlideItemLoad=function(e){var t=this,n=e.detail,i=n.isFirstSlide,r=n.index;this.settings.autoplayFirstVideo&&i&&r===this.core.index&&setTimeout(function(){t.loadAndPlayVideo(r)},200),!i&&this.settings.autoplayVideoOnSlide&&r===this.core.index&&this.loadAndPlayVideo(r)},l.prototype.onHasVideo=function(e){var t=e.detail,n=t.index,i=t.src,r
2=t.html5Video;t.hasPoster||(this.appendVideos(this.core.getSlideItem(n),{src:i,addClass:"lg-object",index:n,html5Video:r}),this.gotoNextSlideOnVideoEnd(i,n))},l.prototype.onBeforeSlide=function(e){if(this.core.lGalleryOn){var t=e.detail.prevIndex;this.pauseVideo(t)}},l.prototype.onAfterSlide=function(e){var t=this,n=e.detail,i=n.index,r=n.prevIndex,o=this.core.getSlideItem(i);this.settings.autoplayVideoOnSlide&&i!==r&&o.hasClass("lg-complete")&&setTimeout(function(){t.loadAndPlayVideo(i)},100)},l.prototype.loadAndPlayVideo=function(e){var t=this.core.getSlideItem(e);this.core.galleryItems[e].poster?this.loadVideoOnPosterClick(t,!0):this.playVideo(e)},l.prototype.playVideo=function(e){this.controlVideo(e,"play")},l.prototype.pauseVideo=function(e){this.controlVideo(e,"pause")},l.prototype.getVideoHtml=function(e,t,n,i){var r="",o=this.core.galleryItems[n].__slideVideoInfo||{},s=this.core.galleryItems[n],l=s.title||s.alt;l=l?'title="'+l+'"':"";var c='allowtransparency="true"\n frameborder="0"\n scrolling="no"\n allowfullscreen\n mozallowfullscreen\n webkitallowfullscreen\n oallowfullscreen\n msallowfullscreen';if(o.youtube){var d="lg-youtube"+n,u="?"+(o.youtube[2]?o.youtube[2]+"&":"")+"wmode=opaque&autoplay=0&mute=1&enablejsapi=1"+(this.settings.youTubePlayerParams?"&"+a(this.settings.youTubePlayerParams):"");r='<iframe allow="autoplay" id='+d+' class="lg-video-object lg-youtube '+t+'" '+l+' src="//www.youtube.com/embed/'+(o.youtube[1]+u)+'" '+c+"></iframe>"}else if(o.vimeo)d="lg-vimeo"+n,u=function(e,t){if(!t||!t.vimeo)return"";var n=t.vimeo[2]||"";return n="?"==n[0]?"&"+n.slice(1):n||"","?autoplay=0&muted=1"+(e?"&"+a(e):"")+n}(this.settings.vimeoPlayerParams,o),r='<iframe allow="autoplay" id='+d+' class="lg-video-object lg-vimeo '+t+'" '+l+' src="//player.vimeo.com/video/'+(o.vimeo[1]+u)+'" '+c+"></iframe>";else if(o.wistia){var h="lg-wistia"+n;u=(u=a(this.settings.wistiaPlayerParams))?"?"+u:"",r='<iframe allow="autoplay" id="'+h+'" src="//fast.wistia.net/embed/iframe/'+(o.wistia[4]+u)+'" '+l+' class="wistia_embed lg-video-object lg-wistia '+t+'" name="wistia_embed" '+c+"></iframe>"}else if(o.html5){for(var f="",p=0;p<i.source.length;p++)f+='<source src="'+i.source[p].src+'" type="'+i.source[p].type+'">';if(i.tracks){var g=function(e){var t="",n=i.tracks[e];Object.keys(n||{}).forEach(function(e){t+=e+'="'+n[e]+'" '}),f+="<track "+t+">"};for(p=0;p<i.tracks.length;p++)g(p)}var m="",v=i.attributes||{};Object.keys(v||{}).forEach(function(e){m+=e+'="'+v[e]+'" '}),r='<video class="lg-video-object lg-html5 '+(this.settings.videojs?"video-js":"")+'" '+m+">\n "+f+"\n Your browser does not support HTML5 video.\n </video>"}return r},l.prototype.appendVideos=function(e,t){var n,i=this.getVideoHtml(t.src,t.addClass,t.index,t.html5Video);e.find(".lg-video-cont").append(i);var r=e.find(".lg-video-object").first();if(t.html5Video&&r.on("mousedown.lg.video",function(e){e.stopPropagation()}),this.settings.videojs&&(null===(n=this.core.galleryItems[t.index].__slideVideoInfo)||void 0===n?void 0:n.html5))try{return videojs(r.get(),this.settings.videojsOptions)}catch(e){console.error("lightGallery:- Make sure you have included videojs")}},l.prototype.gotoNextSlideOnVideoEnd=function(e,t){var n=this,i=this.core.getSlideItem(t).find(".lg-video-object").first(),r=this.core.galleryItems[t].__slideVideoInfo||{};if(this.settings.gotoNextSlideOnVideoEnd)if(r.html5)i.on("ended",function(){n.core.goToNextSlide()});else if(r.vimeo)try{new Vimeo.Player(i.get()).on("ended",function(){n.core.goToNextSlide()})}catch(e){console.error("lightGallery:- Make sure you have included //github.com/vimeo/player.js")}else if(r.wistia)try{window._wq=window._wq||[],window._wq.push({id:i.attr("id"),onReady:function(e){e.bind("end",function(){n.core.goToNextSlide()})}})}catch(e){console.error("lightGallery:- Make sure you have included //fast.wistia.com/assets/external/E-v1.js")}},l.prototype.controlVideo=function(e,t){var n=this.core.getSlideItem(e).find(".lg-video-object").first(),i=this.core.galleryItems[e].__slideVideoInfo||{};if(n.get())if(i.youtube)try{n.get().contentWindow.postMessage('{"event":"command","func":"'+t+'Video","args":""}',"*")}catch(e){console.error("lightGallery:- "+e)}else if(i.vimeo)try{new Vimeo.Player(n.get())[t]()}catch(e){console.error("lightGallery:- Make sure you have included //github.com/vimeo/player.js")}else if(i.html5)if(this.settings.videojs)try{videojs(n.get())[t]()}catch(e){console.error("lightGallery:- Make sure you have included videojs")}else n.get()[t]();else if(i.wistia)try{window._wq=window._wq||[],window._wq.push({id:n.attr("id"),onReady:function(e){e[t]()}})}catch(e){console.error("lightGallery:- Make sure you have included //fast.wistia.com/assets/external/E-v1.js")}},l.prototype.loadVideoOnPosterClick=function(e,t){var n=this;if(e.hasClass("lg-video-loaded"))t&&this.playVideo(this.core.index);
2else if(e.hasClass("lg-has-video"))this.playVideo(this.core.index);else{e.addClass("lg-has-video");var i=void 0,r=this.core.galleryItems[this.core.index].src,o=this.core.galleryItems[this.core.index].video;o&&(i="string"==typeof o?JSON.parse(o):o);var s=this.appendVideos(e,{src:r,addClass:"",index:this.core.index,html5Video:i});this.gotoNextSlideOnVideoEnd(r,this.core.index);var a=e.find(".lg-object").first().get();e.find(".lg-video-cont").first().append(a),e.addClass("lg-video-loading"),s&&s.ready(function(){s.on("loadedmetadata",function(){n.onVideoLoadAfterPosterClick(e,n.core.index)})}),e.find(".lg-video-object").first().on("load.lg error.lg loadedmetadata.lg",function(){setTimeout(function(){n.onVideoLoadAfterPosterClick(e,n.core.index)},50)})}},l.prototype.onVideoLoadAfterPosterClick=function(e,t){e.addClass("lg-video-loaded"),this.playVideo(t)},l.prototype.destroy=function(){this.core.LGel.off(".lg.video"),this.core.LGel.off(".video")},l}()},"object"===s(t)?e.exports=o():void 0===(r="function"==typeof(i=o)?i.call(t,n,t,e):i)||(e.exports=r)},5411:(e,t,n)=>{var i,r;!function(o){if(void 0===(r="function"==typeof(i=o)?i.call(t,n,t,e):i)||(e.exports=r),e.exports=o(),!!0){var s=window.Cookies,a=window.Cookies=o();a.noConflict=function(){return window.Cookies=s,a}}}(function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var i in n)t[i]=n[i]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2}
2)+/g,decodeURIComponent)}return function n(i){function r(){}function o(t,n,o){if("undefined"!=typeof document){"number"==typeof(o=e({path:"/"},r.defaults,o)).expires&&(o.expires=new Date(1*new Date+864e5*o.expires)),o.expires=o.expires?o.expires.toUTCString():"";try{var s=JSON.stringify(n);/^[\{\[]/.test(s)&&(n=s)}catch(e){}n=i.write?i.write(n,t):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var a="";for(var l in o)o[l]&&(a+="; "+l,!0!==o[l]&&(a+="="+o[l].split(";")[0]));return document.cookie=t+"="+n+a}}function s(e,n){if("undefined"!=typeof document){for(var r={},o=document.cookie?document.cookie.split("; "):[],s=0;s<o.length;s++){var a=o[s].split("="),l=a.slice(1).join("=");n||'"'!==l.charAt(0)||(l=l.slice(1,-1));try{var c=t(a[0]);if(l=(i.read||i)(l,c)||t(l),n)try{l=JSON.parse(l)}catch(e){}if(r[c]=l,e===c)break}catch(e){}}return e?r[e]:r}}return r.set=o,r.get=function(e){return s(e,!1)},r.getJSON=function(e){return s(e,!0)},r.remove=function(t,n){o(t,"",e(n,{expires:-1}))},r.defaults={},r.withConverter=n,r}(function(){})})},5511:(e,t,n)=>{"use strict";var i=n(4938);function r(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var o=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,l=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),c=["'"].concat(l),d=["%","/","?",";","#"].concat(c),u=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,f=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},m={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=n(4081);function y(e,t,n){if(e&&"object"==typeof e&&e instanceof r)return e;var i=new r;return i.parse(e,t,n),i}r.prototype.parse=function(e,t,n){if("string"!=typeof e)throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var r=e.indexOf("?"),s=-1!==r&&r<e.indexOf("#")?"?":"#",l=e.split(s);l[0]=l[0].replace(/\\/g,"/");var y=e=l.join(s);if(y=y.trim(),!n&&1===e.split("#").length){var b=a.exec(y);if(b)return this.path=y,this.href=y,this.pathname=b[1],b[2]?(this.search=b[2],this.query=t?v.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var w=o.exec(y);if(w){var S=(w=w[0]).toLowerCase();this.protocol=S,y=y.substr(w.length)}if(n||w||y.match(/^\/\/[^@/]+@[^@/]+/)){var C="//"===y.substr(0,2);!C||w&&g[w]||(y=y.substr(2),this.slashes=!0)}if(!g[w]&&(C||w&&!m[w])){for(var E,A,x=-1,D=0;D<u.length;D++){-1!==(T=y.indexOf(u[D]))&&(-1===x||T<x)&&(x=T)}-1!==(A=-1===x?y.lastIndexOf("@"):y.lastIndexOf("@",x))&&(E=y.slice(0,A),y=y.slice(A+1),this.auth=decodeURIComponent(E)),x=-1;for(D=0;D<d.length;D++){var T;-1!==(T=y.indexOf(d[D]))&&(-1===x||T<x)&&(x=T)}-1===x&&(x=y.length),this.host=y.slice(0,x),y=y.slice(x),this.parseHost(),this.hostname=this.hostname||"";var k="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!k)for(var _=this.hostname.split(/\./),M=(D=0,_.length);D<M;D++){var I=_[D];if(I&&!I.match(h)){for(var O="",R=0,N=I.length;R<N;R++)I.charCodeAt(R)>127?O+="x":O+=I[R];if(!O.match(h)){var P=_.slice(0,D),L=_.slice(D+1),j=I.match(f);
vendor: 5,707 bytes, line 2
2j&&(P.push(j[1]),L.unshift(j[2])),L.length&&(y="/"+L.join(".")+y),this.hostname=P.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),k||(this.hostname=i.toASCII(this.hostname));var H=this.port?":"+this.port:"",z=this.hostname||"";this.host=z+H,this.href+=this.host,k&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==y[0]&&(y="/"+y))}if(!p[S])for(D=0,M=c.length;D<M;D++){var F=c[D];if(-1!==y.indexOf(F)){var B=encodeURIComponent(F);B===F&&(B=escape(F)),y=y.split(F).join(B)}}var W=y.indexOf("#");-1!==W&&(this.hash=y.substr(W),y=y.slice(0,W));var $=y.indexOf("?");if(-1!==$?(this.search=y.substr($),this.query=y.substr($+1),t&&(this.query=v.parse(this.query)),y=y.slice(0,$)):t&&(this.search="",this.query={}),y&&(this.pathname=y),m[S]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){H=this.pathname||"";var q=this.search||"";this.path=H+q}return this.href=this.format(),this},r.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",i=this.hash||"",r=!1,o="";this.host?r=e+this.host:this.hostname&&(r=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(r+=":"+this.port)),this.query&&"object"==typeof this.query&&Object.keys(this.query).length&&(o=v.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var s=this.search||o&&"?"+o||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||m[t])&&!1!==r?(r="//"+(r||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):r||(r=""),i&&"#"!==i.charAt(0)&&(i="#"+i),s&&"?"!==s.charAt(0)&&(s="?"+s),t+r+(n=n.replace(/[?#]/g,function(e){return encodeURIComponent(e)}))+(s=s.replace("#","%23"))+i},r.prototype.resolve=function(e){return this.resolveObject(y(e,!1,!0)).format()},r.prototype.resolveObject=function(e){if("string"==typeof e){var t=new r;t.parse(e,!1,!0),e=t}for(var n=new r,i=Object.keys(this),o=0;o<i.length;o++){var s=i[o];n[s]=this[s]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var a=Object.keys(e),l=0;l<a.length;l++){var c=a[l];"protocol"!==c&&(n[c]=e[c])}return m[n.protocol]&&n.hostname&&!n.pathname&&(n.pathname="/",n.path=n.pathname),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!m[e.protocol]){for(var d=Object.keys(e),u=0;u<d.length;u++){var h=d[u];n[h]=e[h]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||g[e.protocol])n.pathname=e.pathname;else{for(var f=(e.pathname||"").split("/");f.length&&!(e.host=f.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==f[0]&&f.unshift(""),f.length<2&&f.unshift(""),n.pathname=f.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var p=n.pathname||"",v=n.search||"";n.path=p+v}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var y=n.pathname&&"/"===n.pathname.charAt(0),b=e.host||e.pathname&&"/"===e.pathname.charAt(0),w=b||y||n.host&&e.pathname,S=w,C=n.pathname&&n.pathname.split("/")||[],E=(f=e.pathname&&e.pathname.split("/")||[],n.protocol&&!m[n.protocol]);if(E&&(n.hostname="",n.port=null,n.host&&(""===C[0]?C[0]=n.host:C.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===f[0]?f[0]=e.host:f.unshift(e.host)),e.host=null),w=w&&(""===f[0]||""===C[0])),b)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,C=f;else if(f.length)C||(C=[]),C.pop(),C=C.concat(f),n.search=e.search,n.query=e.query;else if(null!=e.search){if(E)n.host=C.shift(),n.hostname=n.host,(k=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=k.shift(),n.hostname=k.shift(),n.host=n.hostname);return n.search=e.search,n.query=e.query,null===n.pathname&&null===n.search||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!C.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var A=C.slice(-1)[0],x=(n.host||e.host||C.length>1)&&("."===A||".."===A)||""===A,D=0,T=C.length;T>=0;T--)"."===(A=C[T])?C.splice(T,1):".."===A?(C.splice(T,1),D++):D&&(C.splice(T,1),D--);if(!w&&!S)for(;D--;D)C.unshift("..");!w||""===C[0]||C[0]&&"/"===C[0].charAt(0)||C.unshift(""),x&&"/"!==C.join("/").substr(-1)&&C.push("");var k,_=""===C[0]||C[0]&&"/"===C[0].charAt(0);E&&(n.hostname=_?"":C.length?C.shift():"",n.host=n.hostname,(k=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=k.shift(),n.hostname=k.shift(),n.host=n.hostname));return(w=w||n.host&&C.length)&&!_&&C.unshift(""),C.length>0?n.pathname=C.join("/"):(n.pathname=null,n.path=null),null===n.pathname&&null===n.search||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},r.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},5624:e=>{"use strict";e.exports=Math.max},5815:function(e,t){!function(e){"use strict";const t=1e6,n=1e3,i="transitionend",r=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),e),o=e=>null==e?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),s=e=>{do{e+=Math.floor(Math.random()*t)}while(document.getElementById(e));return e},a=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:i}=window.getComputedStyle(e);const r=Number.parseFloat(t),o=Number.parseFloat(i);return r||o?(t=t.split(",")[0],i=i.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(i))*n):0}
2,l=e=>{e.dispatchEvent(new Event(i))},c=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),d=e=>c(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(r(e)):null,u=e=>{if(!c(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const t=e.closest("summary");if(t&&t.parentNode!==n)return!1;if(null===t)return!1}return t},h=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),f=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?f(e.parentNode):null},p=()=>{},g=e=>{e.offsetHeight},m=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,v=[],y=e=>{"loading"===document.readyState?(v.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of v)e()}),v.push(e)):e()},b=()=>"rtl"===document.documentElement.dir,w=e=>{y(()=>{const t=m();if(t){const n=e.NAME,i=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=i,e.jQueryInterface)}})},S=(e,t=[],n=e)=>"function"==typeof e?e.call(...t):n,C=(e,t,n=!0)=>{if(!n)return void S(e);const r=5,o=a(t)+r;let s=!1;const c=({target:n})=>{n===t&&(s=!0,t.removeEventListener(i,c),S(e))};t.addEventListener(i,c),setTimeout(()=>{s||l(t)},o)},E=(e,t,n,i)=>{const r=e.length;let o=e.indexOf(t);return-1===o?!n&&i?e[r-1]:e[0]:(o+=n?1:-1,i&&(o=(o+r)%r),e[Math.max(0,Math.min(o,r-1))])};e.defineJQueryPlugin=w,e.execute=S,e.executeAfterTransition=C,e.findShadowRoot=f,e.getElement=d,e.getNextActiveElement=E,e.getTransitionDurationFromElement=a,e.getUID=s,e.getjQuery=m,e.isDisabled=h,e.isElement=c,e.isRTL=b,e.isVisible=u,e.noop=p,e.onDOMContentLoaded=y,e.parseSelector=r,e.reflow=g,e.toType=o,e.triggerTransitionEnd=l,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}(t)},5888:e=>{"use strict";e.exports=Function.prototype.call},5950:(e,t,n)=>{"use strict";var i,r,o,s,a,l,c,d,u,h=n(2424),f=n.n(h),p=n(8360),g=n.n(p),m=n(5269),v=n.n(m),y=n(9798),b=n.n(y),w=n(5411),S=n.n(w),C={},E=[],A=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function x(e,t){for(var n in t)e[n]=t[n];return e}function D(e){var t=e.parentNode;t&&t.removeChild(e)}function T(e,t,n){var r,o,s,a={};for(s in t)"key"==s?r=t[s]:"ref"==s?o=t[s]:a[s]=t[s];if(arguments.length>2&&(a.children=arguments.length>3?i.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(s in e.defaultProps)void 0===a[s]&&(a[s]=e.defaultProps[s]);return k(e,a,r,o,null)}function k(e,t,n,i,s){var a={type:e,props:t,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==s?++o:s};return null==s&&null!=r.vnode&&r.vnode(a),a}function _(e){return e.children}function M(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||A.test(t)?n:n+"px"}function I(e,t,n,i,r){var o;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof i&&(e.style.cssText=i=""),i)for(t in i)n&&t in n||M(e.style,t,"");if(n)for(t in n)i&&n[t]===i[t]||M(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?i||e.addEventListener(t,o?R:O,o):e.removeEventListener(t,o?R:O,o);else if("dangerouslySetInnerHTML"!==t){if(r)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&-1==t.indexOf("-")?e.removeAttribute(t):e.setAttribute(t,n))}}function O(e){a=!0;try{return this.l[e.type+!1](r.event?r.event(e):e)}finally{a=!1}
vendor: 6,445 bytes, line 2
2}function R(e){a=!0;try{return this.l[e.type+!0](r.event?r.event(e):e)}finally{a=!1}}function N(e,t){this.props=e,this.context=t}function P(e,t){if(null==t)return e.__?P(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?P(e):null}function j(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return j(e)}}function H(e){a?setTimeout(e):d(e)}function z(e){(!e.__d&&(e.__d=!0)&&l.push(e)&&!F.__r++||c!==r.debounceRendering)&&((c=r.debounceRendering)||H)(F)}function F(){var e,t,n,i,r,o,s,a;for(l.sort(function(e,t){return e.__v.__b-t.__v.__b});e=l.shift();)e.__d&&(t=l.length,i=void 0,r=void 0,s=(o=(n=e).__v).__e,(a=n.__P)&&(i=[],(r=x({},o)).__v=o.__v+1,V(a,o,r,n.__n,void 0!==a.ownerSVGElement,null!=o.__h?[s]:null,i,null==s?P(o):s,o.__h),Y(i,o),o.__e!=s&&j(o)),l.length>t&&l.sort(function(e,t){return e.__v.__b-t.__v.__b}));F.__r=0}function B(e,t,n,i,r,o,s,a,l,c){var d,u,h,f,p,g,m,v=i&&i.__k||E,y=v.length;for(n.__k=[],d=0;d<t.length;d++)if(null!=(f=n.__k[d]=null==(f=t[d])||"boolean"==typeof f?null:"string"==typeof f||"number"==typeof f||"bigint"==typeof f?k(null,f,null,null,f):Array.isArray(f)?k(_,{children:f},null,null,null):f.__b>0?k(f.type,f.props,f.key,f.ref?f.ref:null,f.__v):f)){if(f.__=n,f.__b=n.__b+1,null===(h=v[d])||h&&f.key==h.key&&f.type===h.type)v[d]=void 0;else for(u=0;u<y;u++){if((h=v[u])&&f.key==h.key&&f.type===h.type){v[u]=void 0;break}h=null}V(e,f,h=h||C,r,o,s,a,l,c),p=f.__e,(u=f.ref)&&h.ref!=u&&(m||(m=[]),h.ref&&m.push(h.ref,null,f),m.push(u,f.__c||p,f)),null!=p?(null==g&&(g=p),"function"==typeof f.type&&f.__k===h.__k?f.__d=l=W(f,l,e):l=U(e,f,h,v,p,l),"function"==typeof n.type&&(n.__d=l)):l&&h.__e==l&&l.parentNode!=e&&(l=P(h))}for(n.__e=g,d=y;d--;)null!=v[d]&&("function"==typeof n.type&&null!=v[d].__e&&v[d].__e==n.__d&&(n.__d=G(i).nextSibling),Z(v[d],v[d]));if(m)for(d=0;d<m.length;d++)X(m[d],m[++d],m[++d])}function W(e,t,n){for(var i,r=e.__k,o=0;r&&o<r.length;o++)(i=r[o])&&(i.__=e,t="function"==typeof i.type?W(i,t,n):U(n,i,i,r,i.__e,t));return t}function q(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some(function(e){q(e,t)}):t.push(e)),t}function U(e,t,n,i,r,o){var s,a,l;if(void 0!==t.__d)s=t.__d,t.__d=void 0;else if(null==n||r!=o||null==r.parentNode)e:if(null==o||o.parentNode!==e)e.appendChild(r),s=null;else{for(a=o,l=0;(a=a.nextSibling)&&l<i.length;l+=1)if(a==r)break e;e.insertBefore(r,o),s=o}return void 0!==s?s:r.nextSibling}function G(e){var t,n,i;if(null==e.type||"string"==typeof e.type)return e.__e;if(e.__k)for(t=e.__k.length-1;t>=0;t--)if((n=e.__k[t])&&(i=G(n)))return i;return null}function V(e,t,n,i,o,s,a,l,c){var d,u,h,f,p,g,m,v,y,b,w,S,C,E,A,D=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(c=n.__h,l=t.__e=n.__e,t.__h=null,s=[l]),(d=r.__b)&&d(t);try{e:if("function"==typeof D){if(v=t.props,y=(d=D.contextType)&&i[d.__c],b=d?y?y.props.value:d.__:i,n.__c?m=(u=t.__c=n.__c).__=u.__E:("prototype"in D&&D.prototype.render?t.__c=u=new D(v,b):(t.__c=u=new N(v,b),u.constructor=D,u.render=J),y&&y.sub(u),u.props=v,u.state||(u.state={}),u.context=b,u.__n=i,h=u.__d=!0,u.__h=[],u._sb=[]),null==u.__s&&(u.__s=u.state),null!=D.getDerivedStateFromProps&&(u.__s==u.state&&(u.__s=x({},u.__s)),x(u.__s,D.getDerivedStateFromProps(v,u.__s))),f=u.props,p=u.state,u.__v=t,h)null==D.getDerivedStateFromProps&&null!=u.componentWillMount&&u.componentWillMount(),null!=u.componentDidMount&&u.__h.push(u.componentDidMount);else{if(null==D.getDerivedStateFromProps&&v!==f&&null!=u.componentWillReceiveProps&&u.componentWillReceiveProps(v,b),!u.__e&&null!=u.shouldComponentUpdate&&!1===u.shouldComponentUpdate(v,u.__s,b)||t.__v===n.__v){for(t.__v!==n.__v&&(u.props=v,u.state=u.__s,u.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(e){e&&(e.__=t)}),w=0;w<u._sb.length;w++)u.__h.push(u._sb[w]);u._sb=[],u.__h.length&&a.push(u);break e}null!=u.componentWillUpdate&&u.componentWillUpdate(v,u.__s,b),null!=u.componentDidUpdate&&u.__h.push(function(){u.componentDidUpdate(f,p,g)})}if(u.context=b,u.props=v,u.__P=e,S=r.__r,C=0,"prototype"in D&&D.prototype.render){for(u.state=u.__s,u.__d=!1,S&&S(t),d=u.render(u.props,u.state,u.context),E=0;E<u._sb.length;E++)u.__h.push(u._sb[E]);u._sb=[]}else do{u.__d=!1,S&&S(t),d=u.render(u.props,u.state,u.context),u.state=u.__s}while(u.__d&&++C<25);u.state=u.__s,null!=u.getChildContext&&(i=x(x({},i),u.getChildContext())),h||null==u.getSnapshotBeforeUpdate||(g=u.getSnapshotBeforeUpdate(f,p)),A=null!=d&&d.type===_&&null==d.key?d.props.children:d,B(e,Array.isArray(A)?A:[A],t,n,i,o,s,a,l,c),u.base=t.__e,t.__h=null,u.__h.length&&a.push(u),m&&(u.__E=u.__=null),u.__e=!1}else null==s&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=Q(n.__e,t,n,i,o,s,a,c);(d=r.diffed)&&d(t)}catch(e){t.__v=null,(c||null!=s)&&(t.__e=l,t.__h=!!c,s[s.indexOf(l)]=null),r.__e(e,t,n)}}function Y(e,t){r.__c&&r.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){r.__e(e,t.__v)}})}function Q(e,t,n,r,o,s,a,l){var c,d,u,h=n.props,f=t.props,p=t.type,g=0;if("svg"===p&&(o=!0),null!=s)for(;g<s.length;g++)if((c=s[g])&&"setAttribute"in c==!!p&&(p?c.localName===p:3===c.nodeType)){e=c,s[g]=null;break}if(null==e){if(null===p)return document.createTextNode(f);e=o?document.createElementNS("http://www.w3.org/2000/svg",p):document.createElement(p,f.is&&f),s=null,l=!1}if(null===p)h===f||l&&e.data===f||(e.data=f);else{if(s=s&&i.call(e.childNodes),d=(h=n.props||C).dangerouslySetInnerHTML,u=f.dangerouslySetInnerHTML,!l){if(null!=s)for(h={},g=0;g<e.attributes.length;g++)h[e.attributes[g].name]=e.attributes[g].value;(u||d)&&(u&&(d&&u.__html==d.__html||u.__html===e.innerHTML)||(e.innerHTML=u&&u.__html||""))}if(function(e,t,n,i,r){var o;for(o in n)"children"===o||"key"===o||o in t||I(e,o,null,n[o],i);for(o in t)r&&"function"!=typeof t[o]||"children"===o||"key"===o||"value"===o||"checked"===o||n[o]===t[o]||I(e,o,t[o],n[o],i)}(e,f,h,o,l),u)t.__k=[];else if(g=t.props.children,B(e,Array.isArray(g)?g:[g],t,n,r,o&&"foreignObject"!==p,s,a,s?s[0]:n.__k&&P(n,0),l),null!=s)for(g=s.length;g--;)null!=s[g]&&D(s[g]);l||("value"in f&&void 0!==(g=f.value)&&(g!==e.value||"progress"===p&&!g||"option"===p&&g!==h.value)&&I(e,"value",g,h.value,!1),"checked"in f&&void 0!==(g=f.checked)&&g!==e.checked&&I(e,"checked",g,h.checked,!1))}return e}
vendor: 2,017 bytes, line 2
2function X(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){r.__e(e,n)}}function Z(e,t,n){var i,o;if(r.unmount&&r.unmount(e),(i=e.ref)&&(i.current&&i.current!==e.__e||X(i,null,t)),null!=(i=e.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(e){r.__e(e,t)}i.base=i.__P=null,e.__c=void 0}if(i=e.__k)for(o=0;o<i.length;o++)i[o]&&Z(i[o],t,n||"function"!=typeof e.type);n||null==e.__e||D(e.__e),e.__=e.__e=e.__d=void 0}function J(e,t,n){return this.constructor(e,n)}function K(e,t,n){var o,s,a;r.__&&r.__(e,t),s=(o="function"==typeof n)?null:n&&n.__k||t.__k,a=[],V(t,e=(!o&&n||t).__k=T(_,null,[e]),s||C,C,void 0!==t.ownerSVGElement,!o&&n?[n]:s?null:t.firstChild?i.call(t.childNodes):null,a,!o&&n?n:s?s.__e:t.firstChild,o),Y(a,e)}function ee(e,t){var n={__c:t="__cC"+u++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,i;return this.getChildContext||(n=[],(i={})[t]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(function(e){e.__e=!0,z(e)})},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}i=E.slice,r={__e:function(e,t,n,i){for(var r,o,s;t=t.__;)if((r=t.__c)&&!r.__)try{if((o=r.constructor)&&null!=o.getDerivedStateFromError&&(r.setState(o.getDerivedStateFromError(e)),s=r.__d),null!=r.componentDidCatch&&(r.componentDidCatch(e,i||{}),s=r.__d),s)return r.__E=r}catch(t){e=t}throw e}},o=0,s=function(e){return null!=e&&void 0===e.constructor},a=!1,N.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=x({},this.state),"function"==typeof e&&(e=e(x({},n),this.props)),e&&x(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),z(this))},N.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),z(this))},N.prototype.render=_,l=[],d="function"==typeof Promise?Promise.prototype.then.bind(Prom
vendor: 3,402 bytes, line 2
2ise.resolve()):setTimeout,F.__r=0,u=0;var te,ne,ie,re=[],oe=[],se=r.__b,ae=r.__r,le=r.diffed,ce=r.__c,de=r.unmount;function ue(){for(var e;e=re.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(pe),e.__H.__h.forEach(ge),e.__H.__h=[]}catch(t){e.__H.__h=[],r.__e(t,e.__v)}}r.__b=function(e){te=null,se&&se(e)},r.__r=function(e){ae&&ae(e);var t=(te=e.__c).__H;t&&(ne===te?(t.__h=[],te.__h=[],t.__.forEach(function(e){e.__N&&(e.__=e.__N),e.__V=oe,e.__N=e.i=void 0})):(t.__h.forEach(pe),t.__h.forEach(ge),t.__h=[])),ne=te},r.diffed=function(e){le&&le(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==re.push(t)&&ie===r.requestAnimationFrame||((ie=r.requestAnimationFrame)||fe)(ue)),t.__H.__.forEach(function(e){e.i&&(e.__H=e.i),e.__V!==oe&&(e.__=e.__V),e.i=void 0,e.__V=oe})),ne=te=null},r.__c=function(e,t){t.some(function(e){try{e.__h.forEach(pe),e.__h=e.__h.filter(function(e){return!e.__||ge(e)})}catch(n){t.some(function(e){e.__h&&(e.__h=[])}),t=[],r.__e(n,e.__v)}}),ce&&ce(e,t)},r.unmount=function(e){de&&de(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(e){try{pe(e)}catch(e){t=e}}),n.__H=void 0,t&&r.__e(t,n.__v))};var he="function"==typeof requestAnimationFrame;function fe(e){var t,n=function(){clearTimeout(i),he&&cancelAnimationFrame(t),setTimeout(e)},i=setTimeout(n,100);he&&(t=requestAnimationFrame(n))}function pe(e){var t=te,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),te=t}function ge(e){var t=te;e.__c=e.__(),te=t}function me(e,t){for(var n in t)e[n]=t[n];return e}function ve(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var i in t)if("__source"!==i&&e[i]!==t[i])return!0;return!1}function ye(e){this.props=e}(ye.prototype=new N).isPureReactComponent=!0,ye.prototype.shouldComponentUpdate=function(e,t){return ve(this.props,e)||ve(this.state,t)};var be=r.__b;r.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),be&&be(e)};"undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref");var we=r.__e;r.__e=function(e,t,n,i){if(e.then)for(var r,o=t;o=o.__;)if((r=o.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t);we(e,t,n,i)};var Se=r.unmount;function Ce(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(e){"function"==typeof e.__c&&e.__c()}),e.__c.__H=null),null!=(e=me({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(e){return Ce(e,t,n)})),e}function Ee(e,t,n){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(e){return Ee(e,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=n)),e}function Ae(){this.__u=0,this.t=null,this.__b=null}function xe(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function De(){this.u=null,this.o=null}r.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),Se&&Se(e)},(Ae.prototype=new N).__c=function(e,t){var n=t.__c,i=this;null==i.t&&(i.t=[]),i.t.push(n);var r=xe(i.__v),o=!1,s=function(){o||(o=!0,n.__R=null,r?r(a):a())};n.__R=s;var a=function(){if(! --i.__u){if(i.state.__a){var e=i.state.__a;i.__v.__k[0]=Ee(e,e.__c.__P,e.__c.__O)}var t;for(i.setState({__a:i.__b=null});t=i.t.pop();)t.forceUpdate()}},l=!0===t.__h;i.__u++||l||i.setState({__a:i.__b=i.__v.__k[0]}),e.then(s,s)},Ae.prototype.componentWillUnmount=function(){this.t=[]},Ae.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),i=this.__v.__k[0].__c;
vendor: 8,637 bytes, line 2
2this.__v.__k[0]=Ce(this.__b,n,i.__O=i.__P)}this.__b=null}var r=t.__a&&T(_,null,e.fallback);return r&&(r.__h=null),[T(_,null,t.__a?null:e.children),r]};var Te=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function ke(e){return this.getChildContext=function(){return e.context},e.children}function _e(e){var t=this,n=e.i;t.componentWillUnmount=function(){K(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),K(T(ke,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function Me(e,t){var n=T(_e,{__v:e,i:t});return n.containerInfo=t,n}(De.prototype=new N).__a=function(e){var t=this,n=xe(t.__v),i=t.o.get(e);return i[0]++,function(r){var o=function(){t.props.revealOrder?(i.push(r),Te(t,e,i)):r()};n?n(o):o()}},De.prototype.render=function(e){this.u=null,this.o=new Map;var t=q(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},De.prototype.componentDidUpdate=De.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){Te(e,n,t)})};var Ie="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Oe=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Re="undefined"!=typeof document,Ne=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};N.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(N.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Pe=r.event;function Le(){}function je(){return this.cancelBubble}function He(){return this.defaultPrevented}r.event=function(e){return Pe&&(e=Pe(e)),e.persist=Le,e.isPropagationStopped=je,e.isDefaultPrevented=He,e.nativeEvent=e};var ze={configurable:!0,get:function(){return this.class}},Fe=r.vnode;r.vnode=function(e){var t=e.type,n=e.props,i=n;if("string"==typeof t){var r=-1===t.indexOf("-");for(var o in i={},n){var s=n[o];Re&&"children"===o&&"noscript"===t||"value"===o&&"defaultValue"in n&&null==s||("defaultValue"===o&&"value"in n&&null==n.value?o="value":"download"===o&&!0===s?s="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+t)&&!Ne(n.type)?o="oninput":/^onfocus$/i.test(o)?o="onfocusin":/^onblur$/i.test(o)?o="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(o)?o=o.toLowerCase():r&&Oe.test(o)?o=o.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===s&&(s=void 0),/^oninput$/i.test(o)&&(o=o.toLowerCase(),i[o]&&(o="oninputCapture")),i[o]=s)}"select"==t&&i.multiple&&Array.isArray(i.value)&&(i.value=q(n.children).forEach(function(e){e.props.selected=-1!=i.value.indexOf(e.props.value)})),"select"==t&&null!=i.defaultValue&&(i.value=q(n.children).forEach(function(e){e.props.selected=i.multiple?-1!=i.defaultValue.indexOf(e.props.value):i.defaultValue==e.props.value})),e.props=i,n.class!=n.className&&(ze.enumerable="className"in n,null!=n.className&&(i.class=n.className),Object.defineProperty(i,"className",ze))}e.$$typeof=Ie,Fe&&Fe(e)};var Be=r.__r;r.__r=function(e){Be&&Be(e),e.__c};const We=[],$e=new Map;function qe(e){We.push(e),$e.forEach(t=>{Ge(t,e)})}function Ue(e){let t=$e.get(e);if(!t||!t.isConnected){if(t=e.querySelector("style[data-fullcalendar]"),!t){t=document.createElement("style"),t.setAttribute("data-fullcalendar","");const n=function(){void 0===Ve&&(Ve=function(){const e=document.querySelector('meta[name="csp-nonce"]');if(e&&e.hasAttribute("content"))return e.getAttribute("content");const t=document.querySelector("script[nonce]");if(t)return t.nonce||"";return""}());return Ve}();n&&(t.nonce=n);const i=e===document?document.head:e,r=e===document?i.querySelector("script,link[rel=stylesheet],link[as=style],style"):i.firstChild;i.insertBefore(t,r)}$e.set(e,t),function(e){for(const t of We)Ge(e,t)}(t)}}function Ge(e,t){const{sheet:n}=e,i=n.cssRules.length;t.split("}").forEach((e,t)=>{(e=e.trim())&&n.insertRule(e+"}",i+t)})}let Ve;"undefined"!=typeof document&&Ue(document);qe(':root{--fc-small-font-size:.85em;--fc-page-bg-color:#fff;--fc-neutral-bg-color:hsla(0,0%,82%,.3);--fc-neutral-text-color:grey;--fc-border-color:#ddd;--fc-button-text-color:#fff;--fc-button-bg-color:#2c3e50;--fc-button-border-color:#2c3e50;--fc-button-hover-bg-color:#1e2b37;--fc-button-hover-border-color:#1a252f;--fc-button-active-bg-color:#1a252f;--fc-button-active-border-color:#151e27;--fc-event-bg-color:#3788d8;--fc-event-border-color:#3788d8;--fc-event-text-color:#fff;--fc-event-selected-overlay-color:rgba(0,0,0,.25);--fc-more-link-bg-color:#d0d0d0;--fc-more-link-text-color:inherit;--fc-event-resizer-thickness:8px;--fc-event-resizer-dot-total-width:8px;--fc-event-resizer-dot-border-width:1px;--fc-non-business-color:hsla(0,0%,84%,.3);--fc-bg-event-color:#8fdf82;--fc-bg-event-opacity:0.3;--fc-highlight-color:rgba(188,232,241,.3);--fc-today-bg-color:rgba(255,220,40,.15);--fc-now-indicator-color:red}.fc-not-allowed,.fc-not-allowed .fc-event{cursor:not-allowed}.fc{display:flex;flex-direction:column;font-size:1em}.fc,.fc *,.fc :after,.fc :before{box-sizing:border-box}.fc table{border-collapse:collapse;border-spacing:0;font-size:1em}.fc th{text-align:center}.fc td,.fc th{padding:0;vertical-align:top}.fc a[data-navlink]{cursor:pointer}.fc a[data-navlink]:hover{text-decoration:underline}.fc-direction-ltr{direction:ltr;text-align:left}.fc-direction-rtl{direction:rtl;text-align:right}.fc-theme-standard td,.fc-theme-standard th{border:1px solid var(--fc-border-color)}.fc-liquid-hack td,.fc-liquid-hack th{position:relative}@font-face{font-family:fcicons;font-style:normal;font-weight:400;src:url("data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBfAAAAC8AAAAYGNtYXAXVtKNAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZgYydxIAAAF4AAAFNGhlYWQUJ7cIAAAGrAAAADZoaGVhB20DzAAABuQAAAAkaG10eCIABhQAAAcIAAAALGxvY2ED4AU6AAAHNAAAABhtYXhwAA8AjAAAB0wAAAAgbmFtZXsr690AAAdsAAABhnBvc3QAAwAAAAAI9AAAACAAAwPAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpBgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6Qb//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAWIAjQKeAskAEwAAJSc3NjQnJiIHAQYUFwEWMjc2NCcCnuLiDQ0MJAz/AA0NAQAMJAwNDcni4gwjDQwM/wANIwz/AA0NDCMNAAAAAQFiAI0CngLJABMAACUBNjQnASYiBwYUHwEHBhQXFjI3AZ4BAA0N/wAMJAwNDeLiDQ0MJAyNAQAMIw0BAAwMDSMM4uINIwwNDQAAAAIA4gC3Ax4CngATACcAACUnNzY0JyYiDwEGFB8BFjI3NjQnISc3NjQnJiIPAQYUHwEWMjc2NCcB87e3DQ0MIw3VDQ3VDSMMDQ0BK7e3DQ0MJAzVDQ3VDCQMDQ3zuLcMJAwNDdUNIwzWDAwNIwy4twwkDA0N1Q0jDNYMDA0jDAAAAgDiALcDHgKeABMAJwAAJTc2NC8BJiIHBhQfAQcGFBcWMjchNzY0LwEmIgcGFB8BBwYUFxYyNwJJ1Q0N1Q0jDA0Nt7cNDQwjDf7V1Q0N1QwkDA0Nt7cNDQwkDLfWDCMN1Q0NDCQMt7gMIw0MDNYMIw3VDQ0MJAy3uAwjDQwMAAADAFUAAAOrA1UAMwBoAHcAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMhMjY1NCYjISIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAAVYRGRkR/qoRGRkRA1UFBAUOCQkVDAsZDf2rDRkLDBUJCA4FBQUFBQUOCQgVDAsZDQJVDRkLDBUJCQ4FBAVVAgECBQMCBwQECAX9qwQJAwQHAwMFAQICAgIBBQMDBwQDCQQCVQUIBAQHAgMFAgEC/oAZEhEZGRESGQAAAAADAFUAAAOrA1UAMwBoAIkAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMzFRQWMzI2PQEzMjY1NCYrATU0JiMiBh0BIyIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAgBkSEhmAERkZEYAZEhIZgBEZGREDVQUEBQ4JCRUMCxkN/asNGQsMFQkIDgUFBQUFBQ4JCBUMCxkNAlUNGQsMFQkJDgUEBVUCAQIFAwIHBAQIBf2rBAkDBAcDAwUBAgICAgEFAwMHBAMJBAJVBQgEBAcCAwUCAQL+gIASGRkSgBkSERmAEhkZEoAZERIZAAABAOIAjQMeAskAIAAAExcHBhQXFjI/ARcWMjc2NC8BNzY0JyY
2iDwEnJiIHBhQX4uLiDQ0MJAzi4gwkDA0N4uINDQwkDOLiDCQMDQ0CjeLiDSMMDQ3h4Q0NDCMN4uIMIw0MDOLiDAwNIwwAAAABAAAAAQAAa5n0y18PPPUACwQAAAAAANivOVsAAAAA2K85WwAAAAADqwNVAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAOrAAEAAAAAAAAAAAAAAAAAAAALBAAAAAAAAAAAAAAAAgAAAAQAAWIEAAFiBAAA4gQAAOIEAABVBAAAVQQAAOIAAAAAAAoAFAAeAEQAagCqAOoBngJkApoAAQAAAAsAigADAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGZjaWNvbnMAZgBjAGkAYwBvAG4Ac1ZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGZjaWNvbnMAZgBjAGkAYwBvAG4Ac2ZjaWNvbnMAZgBjAGkAYwBvAG4Ac1JlZ3VsYXIAUgBlAGcAdQBsAGEAcmZjaWNvbnMAZgBjAGkAYwBvAG4Ac0ZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=") format("truetype")}.fc-icon{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font-family:fcicons!important;font-style:normal;font-variant:normal;font-weight:400;height:1em;line-height:1;text-align:center;text-transform:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:1em}.fc-icon-chevron-left:before{content:"\\e900"}.fc-icon-chevron-right:before{content:"\\e901"}.fc-icon-chevrons-left:before{content:"\\e902"}.fc-icon-chevrons-right:before{content:"\\e903"}.fc-icon-minus-square:before{content:"\\e904"}.fc-icon-plus-square:before{content:"\\e905"}.fc-icon-x:before{content:"\\e906"}.fc .fc-button{border-radius:0;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;overflow:visible;text-transform:none}.fc .fc-button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}.fc .fc-button{-webkit-appearance:button}.fc .fc-button:not(:disabled){cursor:pointer}.fc .fc-button{background-color:transparent;border:1px solid transparent;border-radius:.25em;display:inline-block;font-size:1em;font-weight:400;line-height:1.5;padding:.4em .65em;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle}.fc .fc-button:hover{text-decoration:none}.fc .fc-button:focus{box-shadow:0 0 0 .2rem rgba(44,62,80,.25);outline:0}.fc .fc-button:disabled{opacity:.65}.fc .fc-button-primary{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:hover{background-color:var(--fc-button-hover-bg-color);border-color:var(--fc-button-hover-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:disabled{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button-primary:not(:disabled).fc-button-active,.fc .fc-button-primary:not(:disabled):active{background-color:var(--fc-button-active-bg-color);border-color:var(--fc-button-active-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:not(:disabled).fc-button-active:focus,.fc .fc-button-primary:not(:disabled):active:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button .fc-icon{font-size:1.5em;vertical-align:middle}.fc .fc-button-group{display:inline-flex;position:relative;vertical-align:middle}.fc .fc-button-group>.fc-button{flex:1 1 auto;position:relative}.fc .fc-button-group>.fc-button.fc-button-active,.fc .fc-button-group>.fc-button:active,.fc .fc-button-group>.fc-button:focus,.fc .fc-button-group>.fc-button:hover{z-index:1}.fc-direction-ltr .fc-button-group>.fc-button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0;margin-left:-1px}.fc-direction-ltr .fc-button-group>.fc-button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.fc-direction-rtl .fc-button-group>.fc-button:not(:first-child){border-bottom-right-radius:0;border-top-right-radius:0;margin-right:-1px}.fc-direction-rtl .fc-button-group>.fc-button:not(:last-child){border-bottom-left-radius:0;border-top-left-radius:0}.fc .fc-toolbar{align-items:center;display:flex;justify-content:space-between}.fc .fc-toolbar.fc-header-toolbar{margin-bottom:1.5em}.fc .fc-toolbar.fc-footer-toolbar{margin-top:1.5em}.fc .fc-toolbar-title{font-size:1.75em;margin:0}.fc-direction-ltr .fc-toolbar>*>:not(:first-child){margin-left:.75em}.fc-direction-rtl .fc-toolbar>*>:not(:first-child){margin-right:.75em}.fc-direction-rtl .fc-toolbar-ltr{flex-direction:row-reverse}.fc .fc-scroller{-webkit-overflow-scrolling:touch;position:relative}.fc .fc-scroller-liquid{height:100%}.fc .fc-scroller-liquid-absolute{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-scroller-harness{direction:ltr;overflow:hidden;position:relative}.fc .fc-scroller-harness-liquid{height:100%}.fc-direction-rtl .fc-scroller-harness>.fc-scroller{direction:rtl}.fc-theme-standard .fc-scrollgrid{border:1px solid var(--fc-border-color)}.fc .fc-scrollgrid,.fc .fc-scrollgrid table{table-layout:fixed;width:100%}.fc .fc-scrollgrid table{border-left-style:hidden;border-right-style:hidden;border-top-style:hidden}.fc .fc-scrollgrid{border-bottom-width:0;border-collapse:separate;border-right-width:0}.fc .fc-scrollgrid-liquid{height:100%}.fc .fc-scrollgrid-section,.fc .fc-scrollgrid-section table,.fc .fc-scrollgrid-section>td{height:1px}.fc .fc-scrollgrid-section-liquid>td{height:100%}.fc .fc-scrollgrid-section>*{border-left-width:0;border-top-width:0}.fc .fc-scrollgrid-section-footer>*,.fc .fc-scrollgrid-section-header>*{border-bottom-width:0}.fc .fc-scrollgrid-section-body table,.fc .fc-scrollgrid-section-footer table{border-bottom-style:hidden}.fc .fc-scrollgrid-section-sticky>*{background:var(--fc-page-bg-color);position:sticky;z-index:3}.fc .fc-scrollgrid-section-header.fc-scrollgrid-section-sticky>*{top:0}.fc .fc-scrollgrid-section-footer.fc-scrollgrid-section-sticky>*{bottom:0}.fc .fc-scrollgrid-sticky-shim{height:1px;margin-bottom:-1px}.fc-sticky{position:sticky}.fc .fc-view-harness{flex-grow:1;position:relative}.fc .fc-view-harness-active>.fc-view{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-col-header-cell-cushion{display:inline-block;padding:2px 4px}.fc .fc-bg-event,.fc .fc-highlight,.fc .fc-non-business{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-non-business{background:var(--fc-non-business-color)}.fc .fc-bg-event{background:var(--fc-bg-event-color);opacity:var(--fc-bg-event-opacity)}.fc .fc-bg-event .fc-event-title{font-size:var(--fc-small-font-size);font-style:italic;margin:.5em}.fc .fc-highlight{background:var(--fc-highlight-color)}.fc .fc-cell-shaded,.fc .fc-day-disabled{background:var(--fc-neutral-bg-color)}a.fc-event,a.fc-event:hover{text-decoration:none}.fc-event.fc-event-draggable,.fc-event[href]{cursor:pointer}.fc-event .fc-event-main{position:relative;z-index:2}.fc-event-dragging:not(.fc-event-selected){opacity:.75}.fc-event-dragging.fc-event-selected{box-shadow:0 2px 7px rgba(0,0,0,.3)}.fc-event .fc-event-resizer{display:none;position:absolute;z-index:4}.fc-event-selected .fc-event-resizer,.fc-event:hover .fc-event-resizer{display:block}.fc-event-selected .fc-event-resizer{background:var(--fc-page-bg-color);border-color:inherit;border-radius:calc(var(--fc-event-resizer-dot-total-width)/2);border-style:solid;border-width:var(--fc-event-resizer-dot-border-width);height:var(--fc-event-resizer-dot-total-width);width:var(--fc-event-resizer-dot-total-width)}.fc-event-selected .fc-event-resizer:before{bottom:-20px;content:"";left:-20px;position:absolute;right:-20px;top:-20px}.fc-event-selected,.fc-event:focus{box-shadow:0 2px 5px rgba(0,0,0,.2)}.fc-event-selected:before,.fc-event:focus:before{bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:3}.fc-event-selected:after,.fc-event:focus:after{background:var(--fc-event-selected-overlay-color);bottom:-1px;content:"";left:-1px;position:absolute;right:-1px;top:-1px;z-index:1}.fc-h-event{background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);display:block}.fc-h-event .fc-event-main{color:var(--fc-event-text-color)}.fc-h-event .fc-event-main-frame{display:flex}.fc-h-event .fc-event-time{max-width:100%;overflow:hidden}.fc-h-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-width:0}.fc-h-event .fc-event-title{display:inline-block;left:0;max-width:100%;overflow:hidden;right:0;vertical-align:top}.fc-h-event.fc-event-selected:before{bottom:-10px;top:-10px}
2.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-start),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-end){border-bottom-left-radius:0;border-left-width:0;border-top-left-radius:0}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-end),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-start){border-bottom-right-radius:0;border-right-width:0;border-top-right-radius:0}.fc-h-event:not(.fc-event-selected) .fc-event-resizer{bottom:0;top:0;width:var(--fc-event-resizer-thickness)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end{cursor:w-resize;left:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start{cursor:e-resize;right:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-h-event.fc-event-selected .fc-event-resizer{margin-top:calc(var(--fc-event-resizer-dot-total-width)*-.5);top:50%}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-start,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-end{left:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-end,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-start{right:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc .fc-popover{box-shadow:0 2px 6px rgba(0,0,0,.15);position:absolute;z-index:9999}.fc .fc-popover-header{align-items:center;display:flex;flex-direction:row;justify-content:space-between;padding:3px 4px}.fc .fc-popover-title{margin:0 2px}.fc .fc-popover-close{cursor:pointer;font-size:1.1em;opacity:.65}.fc-theme-standard .fc-popover{background:var(--fc-page-bg-color);border:1px solid var(--fc-border-color)}.fc-theme-standard .fc-popover-header{background:var(--fc-neutral-bg-color)}');class Ye{constructor(e){this.drainedOption=e,this.isRunning=!1,this.isDirty=!1,this.pauseDepths={},this.timeoutId=0}request(e){this.isDirty=!0,this.isPaused()||(this.clearTimeout(),null==e?this.tryDrain():this.timeoutId=setTimeout(this.tryDrain.bind(this),e))}pause(e=""){let{pauseDepths:t}=this;t[e]=(t[e]||0)+1,this.clearTimeout()}resume(e="",t){let{pauseDepths:n}=this;if(e in n){if(t)delete n[e];else{n[e]-=1,n[e]<=0&&delete n[e]}this.tryDrain()}}isPaused(){return Object.keys(this.pauseDepths).length}tryDrain(){if(!this.isRunning&&!this.isPaused()){for(this.isRunning=!0;this.isDirty;)this.isDirty=!1,this.drained();this.isRunning=!1}}clear(){this.clearTimeout(),this.isDirty=!1,this.pauseDepths={}}clearTimeout(){this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=0)}drained(){this.drainedOption&&this.drainedOption()}}function Qe(e){e.parentNode&&e.parentNode.removeChild(e)}function Xe(e,t){if(e.closest)return e.closest(t);if(!document.documentElement.contains(e))return null;do{if(Ze(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}function Ze(e,t){return(e.matches||e.matchesSelector||e.msMatchesSelector).call(e,t)}const Je=/(top|left|right|bottom|width|height)$/i;function Ke(e,t){for(let n in t)et(e,n,t[n])}function et(e,t,n){null==n?e.style[t]="":"number"==typeof n&&Je.test(t)?e.style[t]=`${n}px`:e.style[t]=n}function tt(e){var t,n;return null!==(n=null===(t=e.composedPath)||void 0===t?void 0:t.call(e)[0])&&void 0!==n?n:e.target}let nt=0;function it(){return nt+=1,"fc-dom-"+nt}function rt(e){e.preventDefault()}function ot(e,t,n,i){let r=function(e,t){return n=>{let i=Xe(n.target,e);i&&t.call(i,n,i)}}(n,i);return e.addEventListener(t,r),()=>{e.removeEventListener(t,r)}}const st=["webkitTransitionEnd","otransitionend","oTransitionEnd","msTransitionEnd","transitionend"];function at(e){return Object.assign({onClick:e},lt(e))}function lt(e){return{tabIndex:0,onKeyDown(t){"Enter"!==t.key&&" "!==t.key||(e(t),t.preventDefault())}}}let ct=0;function dt(){return ct+=1,String(ct)}function ut(){document.body.classList.add("fc-not-allowed")}function ht(){document.body.classList.remove("fc-not-allowed")}function ft(e,t,n){return n.func?n.func(e,t):function(e,t){if(!e&&!t)return 0;if(null==t)return-1;if(null==e)return 1;if("string"==typeof e||"string"==typeof t)return String(e).localeCompare(String(t));return e-t}(e[n.field],t[n.field])*(n.order||1)}function pt(e,t){let n=String(e);return"000".substr(0,t-n.length)+n}function gt(e,t,n){return"function"==typeof e?e(...t):"string"==typeof e?t.reduce((e,t,n
vendor: 172,966 bytes, line 2
2)=>e.replace("$"+n,t||""),e):n}function mt(e,t){return e-t}function vt(e){return e%1==0}function yt(e){let t=e.querySelector(".fc-scrollgrid-shrink-frame"),n=e.querySelector(".fc-scrollgrid-shrink-cushion");if(!t)throw new Error("needs fc-scrollgrid-shrink-frame className");if(!n)throw new Error("needs fc-scrollgrid-shrink-cushion className");return e.getBoundingClientRect().width-t.getBoundingClientRect().width+n.getBoundingClientRect().width}const bt=["years","months","days","milliseconds"],wt=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;function St(e,t){return"string"==typeof e?function(e){let t=wt.exec(e);if(t){let e=t[1]?-1:1;return{years:0,months:0,days:e*(t[2]?parseInt(t[2],10):0),milliseconds:e*(60*(t[3]?parseInt(t[3],10):0)*60*1e3+60*(t[4]?parseInt(t[4],10):0)*1e3+1e3*(t[5]?parseInt(t[5],10):0)+(t[6]?parseInt(t[6],10):0))}}return null}(e):"object"==typeof e&&e?Ct(e):"number"==typeof e?Ct({[t||"milliseconds"]:e}):null}function Ct(e){let t={years:e.years||e.year||0,months:e.months||e.month||0,days:e.days||e.day||0,milliseconds:60*(e.hours||e.hour||0)*60*1e3+60*(e.minutes||e.minute||0)*1e3+1e3*(e.seconds||e.second||0)+(e.milliseconds||e.millisecond||e.ms||0)},n=e.weeks||e.week;return n&&(t.days+=7*n,t.specifiedWeeks=!0),t}function Et(e,t){return{years:e.years+t.years,months:e.months+t.months,days:e.days+t.days,milliseconds:e.milliseconds+t.milliseconds}}function At(e){return xt(e)/864e5}function xt(e){return 31536e6*e.years+2592e6*e.months+864e5*e.days+e.milliseconds}function Dt(e,t){let n=null;for(let i=0;i<bt.length;i+=1){let r=bt[i];if(t[r]){let i=e[r]/t[r];if(!vt(i)||null!==n&&n!==i)return null;n=i}else if(e[r])return null}return n}function Tt(e){let t=e.milliseconds;if(t){if(t%1e3!=0)return{unit:"millisecond",value:t};if(t%6e4!=0)return{unit:"second",value:t/1e3};if(t%36e5!=0)return{unit:"minute",value:t/6e4};if(t)return{unit:"hour",value:t/36e5}}return e.days?e.specifiedWeeks&&e.days%7==0?{unit:"week",value:e.days/7}:{unit:"day",value:e.days}:e.months?{unit:"month",value:e.months}:e.years?{unit:"year",value:e.years}:{unit:"millisecond",value:0}}function kt(e,t,n){if(e===t)return!0;let i,r=e.length;if(r!==t.length)return!1;for(i=0;i<r;i+=1)if(!(n?n(e[i],t[i]):e[i]===t[i]))return!1;return!0}const _t=["sun","mon","tue","wed","thu","fri","sat"];function Mt(e,t){let n=Ft(e);return n[2]+=7*t,Bt(n)}function It(e,t){let n=Ft(e);return n[2]+=t,Bt(n)}function Ot(e,t){let n=Ft(e);return n[6]+=t,Bt(n)}function Rt(e,t){return(t.valueOf()-e.valueOf())/864e5}function Nt(e,t){return $t(e)===$t(t)?Math.round(Rt(e,t)):null}function Pt(e){return Bt([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()])}function Lt(e,t,n,i){let r=Bt([t,0,1+jt(t,n,i)]),o=Pt(e),s=Math.round(Rt(r,o));return Math.floor(s/7)+1}function jt(e,t,n){let i=7+t-n;return-((7+Bt([e,0,i]).getUTCDay()-t)%7)+i-1}function Ht(e){return[e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()]}function zt(e){return new Date(e[0],e[1]||0,null==e[2]?1:e[2],e[3]||0,e[4]||0,e[5]||0)}function Ft(e){return[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()]}function Bt(e){return 1===e.length&&(e=e.concat([0])),new Date(Date.UTC(...e))}function Wt(e){return!isNaN(e.valueOf())}function $t(e){return 1e3*e.getUTCHours()*60*60+1e3*e.getUTCMinutes()*60+1e3*e.getUTCSeconds()+e.getUTCMilliseconds()}function qt(e,t,n=!1){let i=e.toISOString();return i=i.replace(".000",""),n&&(i=i.replace("T00:00:00Z","")),i.length>10&&(null==t?i=i.replace("Z",""):0!==t&&(i=i.replace("Z",Vt(t,!0)))),i}function Ut(e){return e.toISOString().replace(/T.*$/,"")}function Gt(e){return pt(e.getUTCHours(),2)+":"+pt(e.getUTCMinutes(),2)+":"+pt(e.getUTCSeconds(),2)}function Vt(e,t=!1){let n=e<0?"-":"+",i=Math.abs(e),r=Math.floor(i/60),o=Math.round(i%60);return t?`${n+pt(r,2)}:${pt(o,2)}`:`GMT${n}${r}${o?`:${pt(o,2)}`:""}`}function Yt(e,t,n){let i,r;return function(...o){if(i){if(!kt(i,o)){n&&n(r);let i=e.apply(this,o);t&&t(i,r)||(r=i)}}else r=e.apply(this,o);return i=o,r}}function Qt(e,t,n){let i,r;return o=>{if(i){if(!kn(i,o)){n&&n(r);let i=e.call(this,o);t&&t(i,r)||(r=i)}}else r=e.call(this,o);return i=o,r}}const Xt={week:3,separator:9,omitZeroMinute:9,meridiem:9,omitCommas:9},Zt={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},Jt=/\s*([ap])\.?m\.?/i,Kt=/,/g,en=/\s+/g,tn=/\u200e/g,nn=/UTC|GMT/;class rn{constructor(e){let t={},n={},i=9;for(let r in e)if(r in Xt){n[r]=e[r];Xt[r]<9&&(i=Math.min(Xt[r],i))}else t[r]=e[r],r in Zt&&(i=Math.min(Zt[r],i));this.standardDateProps=t,this.extendedSettings=n,this.smallestUnitNum=i,this.buildFormattingFunc=Yt(on)}format(e,t){return this.buildFormattingFunc(this.standardDateProps,this.extendedSettings,t)(e)}formatRange(e,t,n,i){let{standardDateProps:r,extendedSettings:o}=this,s=function(e,t,n){if(n.getMarkerYear(e)!==n.getMarkerYear(t))return 5;if(n.getMarkerMonth(e)!==n.getMarkerMonth(t))return 4;if(n.getMarkerDay(e)!==n.getMarkerDay(t))return 2;if($t(e)!==$t(t))return 1;return 0}(e.marker,t.marker,n.calendarSystem);if(!s)return this.format(e,n);let a=s;!(a>1)||"numeric"!==r.year&&"2-digit"!==r.year||"numeric"!==r.month&&"2-digit"!==r.month||"numeric"!==r.day&&"2-digit"!==r.day||(a=1);let l=this.format(e,n),c=this.format(t,n);if(l===c)return l;let d=on(function(e,t){let n={};for(let i in e)(!(i in Zt)||Zt[i]<=t)&&(n[i]=e[i]);return n}(r,a),o,n),u=d(e),h=d(t),f=function(e,t,n,i){let r=0;for(;r<e.length;){let o=e.indexOf(t,r);if(-1===o)break;let s=e.substr(0,o);r=o+t.length;let a=e.substr(r),l=0;for(;l<n.length;){let e=n.indexOf(i,l);if(-1===e)break;let t=n.substr(0,e);l=e+i.length;let r=n.substr(l);if(s===t&&a===r)return{before:s,after:a}}}return null}(l,u,c,h),p=o.separator||i||n.defaultSeparator||"";return f?f.before+u+p+h+f.after:l+p+c}getSmallestUnit(){switch(this.smallestUnitNum){case 7:case 6:case 5:return"year";case 4:return"month";case 3:return"week";case 2:return"day";default:return"time"}}}function on(e,t,n){let i=Object.keys(e).length;return 1===i&&"short"===e.timeZoneName?e=>Vt(e.timeZoneOffset):0===i&&t.week?e=>function(e,t,n,i,r){let o=[];"long"===r?o.push(n):"short"!==r&&"narrow"!==r||o.push(t);"long"!==r&&"short"!==r||o.push(" ");o.push(i.simpleNumberFormat.format(e)),"rtl"===i.options.direction&&o.reverse();return o.join("")}(n.computeWeekNumber(e.marker),n.weekText,n.weekTextLong,n.locale,t.week):function(e,t,n){e=Object.assign({},e),t=Object.assign({},t),function(e,t){e.timeZoneName&&(e.hour||(e.hour="2-digit"),e.minute||(e.minute="2-digit"));"long"===e.timeZoneName&&(e.timeZoneName="short");t.omitZeroMinute&&(e.second||e.millisecond)&&delete t.omitZeroMinute}(e,t),e.timeZone="UTC";let i,r=new Intl.DateTimeFormat(n.locale.codes,e);if(t.omitZeroMinute){let t=Object.assign({},e);delete t.minute,i=new Intl.DateTimeFormat(n.locale.codes,t)}return o=>{let s,{marker:a}=o;return s=i&&!a.getUTCMinutes()?i:r,function(e,t,n,i,r){e=e.replace(tn,""),"short"===n.timeZoneName&&(e=function(e,t){let n=!1;e=e.replace(nn,()=>(n=!0,t)),n||(e+=` ${t}`);return e}(e,"UTC"===r.timeZone||null==t.timeZoneOffset?"UTC":Vt(t.timeZoneOffset)));i.omitCommas&&(e=e.replace(Kt,"").trim());i.omitZeroMinute&&(e=e.replace(":00",""));!1===i.meridiem?e=e.replace(Jt,"").trim():"narrow"===i.meridiem?e=e.replace(Jt,(e,t)=>t.toLocaleLowerCase()):"short"===i.meridiem?e=e.replace(Jt,(e,t)=>`${t.toLocaleLowerCase()}m`):"lowercase"===i.meridiem&&(e=e.replace(Jt,e=>e.toLocaleLowerCase()));return e=e.replace(en," "),e=e.trim(),e}(s.format(a),o,e,t,n)}}(e,t,n)}function sn(e,t){let n=t.markerToArray(e.marker);return{marker:e.marker,timeZoneOffset:e.timeZoneOffset,array:n,year:n[0],month:n[1],day:n[2],hour:n[3],minute:n[4],second:n[5],millisecond:n[6]}}function an(e,t,n,i){let r=sn(e,n.calendarSystem);return{date:r,start:r,end:t?sn(t,n.calendarSystem):null,timeZone:n.timeZone,localeCodes:n.locale.codes,defaultSeparator:i||n.defaultSeparator}}class ln{constructor(e){this.cmdStr=e}format(e,t,n){return t.cmdFormatter(this.cmdStr,an(e,null,t,n))}formatRange(e,t,n,i){return n.cmdFormatter(this.cmdStr,an(e,t,n,i))}}class cn{constructor(e){this.func=e}format(e,t,n){return this.func(an(e,null,t,n))}formatRange(e,t,n,i){return this.func(an(e,t,n,i))}}function dn(e){return"object"==typeof e&&e?new rn(e):"string"==typeof e?new ln(e):"function"==typeof e?new cn(e):null}const un={navLinkDayClick:Sn,navLinkWeekClick:Sn,duration:St,bootstrapFontAwesome:Sn,buttonIcons:Sn,customButtons:Sn,defaultAllDayEventDuration:St,defaultTimedEventDuration:St,nextDayThreshold:St,scrollTime:St,scrollTimeReset:Boolean,slotMinTime:St,slotMaxTime:St,dayPopoverFormat:dn,slotDuration:St,snapDuration:St,headerToolbar:Sn,footerToolbar:Sn,defaultRangeSeparator:String,titleRangeSeparator:String,forceEventDuration:Boolean,dayHeaders:Boolean,dayHeaderFormat:dn,dayHeaderClassNames:Sn,dayHeaderContent:Sn,dayHeaderDidMount:Sn,dayHeaderWillUnmount:Sn,dayCellClassNames:Sn,dayCellContent:Sn,dayCellDidMount:Sn,dayCellWillUnmount:Sn,initialView:String,aspectRatio:Number,weekends:Boolean,weekNumberCalculation:Sn,weekNumbers:Boolean,weekNumberClassNames:Sn,weekNumberContent:Sn,weekNumberDidMount:Sn,weekNumberWillUnmount:Sn,editable:Boolean,viewClassNames:Sn,viewDidMount:Sn,viewWillUnmount:Sn,nowIndicator:Boolean,nowIndicatorSnap:Sn,nowIndicatorClassNames:Sn,nowIndicatorContent:Sn,nowIndicatorDidMount:Sn,nowIndicatorWillUnmount:Sn,showNonCurrentDates:Boolean,lazyFetching:Boolean,startParam:String,endParam:String,timeZoneParam:String,timeZone:String,locales:Sn,locale:Sn,themeSystem:String,dragRevertDuration:Number,dragScroll:Boolean,allDayMaintainDuration:Boolean,unselectAuto:Boolean,dropAccept:Sn,eventOrder:function(e){let t,n,i=[],r=[];for("string"==typeof e?r=e.split(/\s*,\s*/):"function"==typeof e?r=[e]:Array.isArray(e)&&(r=e),t=0;t<r.length;t+=1)n=r[t],"string"==typeof n?i.push("-"===n.charAt(0)?{field:n.substring(1),order:-1}:{field:n,order:1}):"function"==typeof n&&i.push({func:n});return i},eventOrderStrict:Boolean,handleWindowResize:Boolean,windowResizeDelay:Number,longPressDelay:Number,eventDragMinDistance:Number,expandRows:Boolean,height:Sn,contentHeight:Sn,direction:String,weekNumberFormat:dn,eventResizableFromStart:Boolean,displayEventTime:Boolean,displayEventEnd:Boolean,weekText:String,weekTextLong:String,progressiveEventRendering:Boolean,businessHours:Sn,initialDate:Sn,now:Sn,eventDataTransform:Sn,stickyHeaderDates:Sn,stickyFooterScrollbar:Sn,viewHeight:Sn,defaultAllDay:Boolean,eventSourceFailure:Sn,eventSourceSuccess:Sn,eventDisplay:String,eventStartEditable:Boolean,eventDurationEditable:Boolean,eventOverlap:Sn,eventConstraint:Sn,eventAllow:Sn,eventBackgroundColor:String,eventBorderColor:String,eventTextColor:String,eventColor:String,eventClassNames:Sn,eventContent:Sn,eventDidMount:Sn,eventWillUnmount:Sn,selectConstraint:Sn,selectOverlap:Sn,selectAllow:Sn,droppable:Boolean,unselectCancel:String,slotLabelFormat:Sn,slotLaneClassNames:Sn,slotLaneContent:Sn,slotLaneDidMount:Sn,slotLaneWillUnmount:Sn,slotLabelClassNames:Sn,slotLabelContent:Sn,slotLabelDidMount:Sn,slotLabelWillUnmount:Sn,dayMaxEvents:Sn,dayMaxEventRows:Sn,dayMinWidth:Number,slotLabelInterval:St,allDayText:String,allDayClassNames:Sn,allDayContent:Sn,allDayDidMount:Sn,allDayWillUnmount:Sn,slotMinWidth:Number,navLinks:Boolean,eventTimeFormat:dn,rerenderDelay:Number,moreLinkText:Sn,moreLinkHint:Sn,selectMinDistance:Number,selectable:Boolean,selectLongPressDelay:Number,eventLongPressDelay:Number,selectMirror:Boolean,eventMaxStack:Number,eventMinHeight:Number,eventMinWidth:Number,eventShortHeight:Number,slotEventOverlap:Boolean,plugins:Sn,firstDay:Number,dayCount:Number,dateAlignment:String,dateIncrement:St,hiddenDays:Sn,fixedWeekCount:Boolean,validRange:Sn,visibleRange:Sn,titleFormat:Sn,eventInteractive:Boolean,noEventsText:String,viewHint:Sn,navLinkHint:Sn,closeHint:String,timeHint:String,eventHint:String,moreLinkClick:Sn,moreLinkClassNames:Sn,moreLinkContent:Sn,moreLinkDidMount:Sn,moreLinkWillUnmount:Sn,monthStartFormat:dn,handleCustomRendering:Sn,customRenderingMetaMap:Sn,customRenderingReplaces:Boolean},hn={eventDisplay:"auto",defaultRangeSeparator:" - ",titleRangeSeparator:" â ",defaultTimedEventDuration:"01:00:00",defaultAllDayEventDuration:{day:1},forceEventDuration:!1,nextDayThreshold:"00:00:00",dayHeaders:!0,initialView:"",aspectRatio:1.35,headerToolbar:{start:"title",center:"",end:"today prev,next"},weekends:!0,weekNumbers:!1,weekNumberCalculation:"local",editable:!1,nowIndicator:!1,scrollTime:"06:00:00",scrollTimeReset:!0,slotMinTime:"00:00:00",slotMaxTime:"24:00:00",showNonCurrentDates:!0,lazyFetching:!0,startParam:"start",endParam:"end",timeZoneParam:"timeZone",timeZone:"local",locales:[],locale:"",themeSystem:"standard",dragRevertDuration:500,dragScroll:!0,allDayMaintainDuration:!1,unselectAuto:!0,dropAccept:"*",eventOrder:"start,-duration,allDay,title",dayPopoverFormat:{month:"long",day:"numeric",year:"numeric"},handleWindowResize:!0,windowResizeDelay:100,longPressDelay:1e3,eventDragMinDistance:5,expandRows:!1,navLinks:!1,selectable:!1,eventMinHeight:15,eventMinWidth:30,eventShortHeight:30,monthStartFormat:{month:"long",day:"numeric"},nowIndicatorSnap:"auto"},fn={datesSet:Sn,eventsSet:Sn,eventAdd:Sn,eventChange:Sn,eventRemove:Sn,windowResize:Sn,eventClick:Sn,eventMouseEnter:Sn,eventMouseLeave:Sn,select:Sn,unselect:Sn,loading:Sn,_unmount:Sn,_beforeprint:Sn,_afterprint:Sn,_noEventDrop:Sn,_noEventResize:Sn,_resize:Sn,_scrollRequest:Sn},pn={buttonText:Sn,buttonHints:Sn,views:Sn,plugins:Sn,initialEvents:Sn,events:Sn,eventSources:Sn},gn={headerToolbar:mn,footerToolbar:mn,buttonText:mn,buttonHints:mn,buttonIcons:mn,dateIncrement:mn,plugins:vn,events:vn,eventSources:vn,resources:vn};function mn(e,t){return"object"==typeof e&&"object"==typeof t&&e&&t?kn(e,t):e===t}function vn(e,t){return Array.isArray(e)&&Array.isArray(t)?kt(e,t):e===t}const yn={type:String,component:Sn,buttonText:String,buttonTextKey:String,dateProfileGeneratorClass:Sn,usesMinMaxTime:Boolean,classNames:Sn,content:Sn,didMount:Sn,willUnmount:Sn};function bn(e){return En(e,gn)}function wn(e,t){let n={},i={};for(let i in t)i in e&&(n[i]=t[i](e[i]));for(let n in e)n in t||(i[n]=e[n]);return{refined:n,extra:i}}function Sn(e){return e}const{hasOwnProperty:Cn}=Object.prototype;function En(e,t){let n={};if(t)for(let i in t)if(t[i]===mn){let t=[];for(let r=e.length-1;r>=0;r-=1){let o=e[r][i];if("object"==typeof o&&o)t.unshift(o);else if(void 0!==o){n[i]=o;break}}t.length&&(n[i]=En(t))}for(let t=e.length-1;t>=0;t-=1){let i=e[t];for(let e in i)e in n||(n[e]=i[e])}return n}function An(e,t){let n={};for(let i in e)t(e[i],i)&&(n[i]=e[i]);return n}function xn(e,t){let n={};for(let i in e)n[i]=t(e[i],i);return n}function Dn(e){let t={};for(let n of e)t[n]=!0;return t}function Tn(e){let t=[];for(let n in e)t.push(e[n]);return t}function kn(e,t){if(e===t)return!0;for(let n in e)if(Cn.call(e,n)&&!(n in t))return!1;for(let n in t)if(Cn.call(t,n)&&e[n]!==t[n])return!1;return!0}const _n=/^on[A-Z]/;function Mn(e,t,n={}){if(e===t)return!0;for(let i in t)if(!(i in e)||!In(e[i],t[i],n[i]))return!1;for(let n in e)if(!(n in t))return!1;return!0}function In(e,t,n){return e===t||!0===n||!!n&&n(e,t)}let On={};var Rn,Nn;Rn="gregory",Nn=class{getMarkerYear(e){return e.getUTCFullYear()}getMarkerMonth(e){return e.getUTCMonth()}getMarkerDay(e){return e.getUTCDate()}arrayToMarker(e){return Bt(e)}markerToArray(e){return Ft(e)}},On[Rn]=Nn;const Pn=/^\s*(\d{4})(-?(\d{2})(-?(\d{2})([T ](\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;class Ln{constructor(e){let t=this.timeZone=e.timeZone,n="local"!==t&&"UTC"!==t;e.namedTimeZoneImpl&&n&&(this.namedTimeZoneImpl=new e.namedTimeZoneImpl(t)),this.canComputeOffset=Boolean(!n||this.namedTimeZoneImpl),this.calendarSystem=function(e){return new On[e]}(e.calendarSystem),this.locale=e.locale,this.weekDow=e.locale.week.dow,this.weekDoy=e.locale.week.doy,"ISO"===e.weekNumberCalculation&&(this.weekDow=1,this.weekDoy=4),"number"==typeof e.firstDay&&(this.weekDow=e.firstDay),"function"==typeof e.weekNumberCalculation&&(this.weekNumberFunc=e.weekNumberCalculation),this.weekText=null!=e.weekText?e.weekText:e.locale.options.weekText,this.weekTextLong=(null!=e.weekTextLong?e.weekTextLong:e.locale.options.weekTextLong)||this.weekText,this.cmdFormatter=e.cmdFormatter,this.defaultSeparator=e.defaultSeparator}createMarker(e){let t=this.createMarkerMeta(e);return null===t?null:t.marker}createNowMarker(){return this.canComputeOffset?this.timestampToMarker((new Date).valueOf()):Bt(Ht(new Date))}createMarkerMeta(e){if("string"==typeof e)return this.parse(e);let t=null;return"number"==typeof e?t=this.timestampToMarker(e):e instanceof Date?(e=e.valueOf(),isNaN(e)||(t=this.timestampToMarker(e))):Array.isArray(e)&&(t=Bt(e)),null!==t&&Wt(t)?{marker:t,isTimeUnspecified:!1,forcedTzo:null}:null}parse(e){let t=function(e){let t=Pn.exec(e);if(t){let e=new Date(Date.UTC(Number(t[1]),t[3]?Number(t[3])-1:0,Number(t[5]||1),Number(t[7]||0),Number(t[8]||0),Number(t[10]||0),t[12]?1e3*Number(`0.${t[12]}`):0));if(Wt(e)){let n=null;return t[13]&&(n=("-"===t[15]?-1:1)*(60*Number(t[16]||0)+Number(t[18]||0))),{marker:e,isTimeUnspecified:!t[6],timeZoneOffset:n}}}return null}(e);if(null===t)return null;let{marker:n}=t,i=null;return null!==t.timeZoneOffset&&(this.canComputeOffset?n=this.timestampToMarker(n.valueOf()-60*t.timeZoneOffset*1e3):i=t.timeZoneOffset),{marker:n,isTimeUnspecified:t.isTimeUnspecified,forcedTzo:i}}getYear(e){return this.calendarSystem.getMarkerYear(e)}getMonth(e){return this.calendarSystem.getMarkerMonth(e)}getDay(e){return this.calendarSystem.getMarkerDay(e)}add(e,t){let n=this.calendarSystem.markerToArray(e);return n[0]+=t.years,n[1]+=t.months,n[2]+=t.days,n[6]+=t.milliseconds,this.calendarSystem.arrayToMarker(n)}subtract(e,t){let n=this.calendarSystem.markerToArray(e);return n[0]-=t.years,n[1]-=t.months,n[2]-=t.days,n[6]-=t.milliseconds,this.calendarSystem.arrayToMarker(n)}addYears(e,t){let n=this.calendarSystem.markerToArray(e);return n[0]+=t,this.calendarSystem.arrayToMarker(n)}addMonths(e,t){let n=this.calendarSystem.markerToArray(e);return n[1]+=t,this.calendarSystem.arrayToMarker(n)}diffWholeYears(e,t){let{calendarSystem:n}=this;return $t(e)===$t(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)&&n.getMarkerMonth(e)===n.getMarkerMonth(t)?n.getMarkerYear(t)-n.getMarkerYear(e):null}diffWholeMonths(e,t){let{calendarSystem:n}=this;return $t(e)===$t(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)?n.getMarkerMonth(t)-n.getMarkerMonth(e)+12*(n.getMarkerYear(t)-n.getMarkerYear(e)):null}greatestWholeUnit(e,t){let n=this.diffWholeYears(e,t);return null!==n?{unit:"year",value:n}:(n=this.diffWholeMonths(e,t),null!==n?{unit:"month",value:n}:(n=function(e,t){let n=Nt(e,t);return null!==n&&n%7==0?n/7:null}(e,t),null!==n?{unit:"week",value:n}:(n=Nt(e,t),null!==n?{unit:"day",value:n}:(n=function(e,t){return(t.valueOf()-e.valueOf())/36e5}(e,t),vt(n)?{unit:"hour",value:n}:(n=function(e,t){return(t.valueOf()-e.valueOf())/6e4}(e,t),vt(n)?{unit:"minute",value:n}:(n=function(e,t){return(t.valueOf()-e.valueOf())/1e3}(e,t),vt(n)?{unit:"second",value:n}:{unit:"millisecond",value:t.valueOf()-e.valueOf()}))))))}countDurationsBetween(e,t,n){let i;return n.years&&(i=this.diffWholeYears(e,t),null!==i)?i/(At(n)/365):n.months&&(i=this.diffWholeMonths(e,t),null!==i)?i/function(e){return At(e)/30}(n):n.days&&(i=Nt(e,t),null!==i)?i/At(n):(t.valueOf()-e.valueOf())/xt(n)}startOf(e,t){return"year"===t?this.startOfYear(e):"month"===t?this.startOfMonth(e):"week"===t?this.startOfWeek(e):"day"===t?Pt(e):"hour"===t?function(e){return Bt([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours()])}(e):"minute"===t?function(e){return Bt([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes()])}(e):"second"===t?function(e){return Bt([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds()])}(e):null}startOfYear(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e)])}startOfMonth(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e)])}startOfWeek(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e),e.getUTCDate()-(e.getUTCDay()-this.weekDow+7)%7])}computeWeekNumber(e){return this.weekNumberFunc?this.weekNumberFunc(this.toDate(e)):function(e,t,n){let i=e.getUTCFullYear(),r=Lt(e,i,t,n);if(r<1)return Lt(e,i-1,t,n);let o=Lt(e,i+1,t,n);return o>=1?Math.min(r,o):r}(e,this.weekDow,this.weekDoy)}format(e,t,n={}){return t.format({marker:e,timeZoneOffset:null!=n.forcedTzo?n.forcedTzo:this.offsetForMarker(e)},this)}formatRange(e,t,n,i={}){return i.isEndExclusive&&(t=Ot(t,-1)),n.formatRange({marker:e,timeZoneOffset:null!=i.forcedStartTzo?i.forcedStartTzo:this.offsetForMarker(e)},{marker:t,timeZoneOffset:null!=i.forcedEndTzo?i.forcedEndTzo:this.offsetForMarker(t)},this,i.defaultSeparator)}formatIso(e,t={}){let n=null;return t.omitTimeZoneOffset||(n=null!=t.forcedTzo?t.forcedTzo:this.offsetForMarker(e)),qt(e,n,t.omitTime)}timestampToMarker(e){return"local"===this.timeZone?Bt(Ht(new Date(e))):"UTC"!==this.timeZone&&this.namedTimeZoneImpl?Bt(this.namedTimeZoneImpl.timestampToArray(e)):new Date(e)}offsetForMarker(e){return"local"===this.timeZone?-zt(Ft(e)).getTimezoneOffset():"UTC"===this.timeZone?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(Ft(e)):null}toDate(e,t){return"local"===this.timeZone?zt(Ft(e)):"UTC"===this.timeZone?new Date(e.valueOf()):this.namedTimeZoneImpl?new Date(e.valueOf()-1e3*this.namedTimeZoneImpl.offsetForArray(Ft(e))*60):new Date(e.valueOf()-(t||0))}}class jn{constructor(e){this.iconOverrideOption&&this.setIconOverride(e[this.iconOverrideOption])}setIconOverride(e){let t,n;if("object"==typeof e&&e){for(n in t=Object.assign({},this.iconClasses),e)t[n]=this.applyIconOverridePrefix(e[n]);this.iconClasses=t}else!1===e&&(this.iconClasses={})}applyIconOverridePrefix(e){let t=this.iconOverridePrefix;return t&&0!==e.indexOf(t)&&(e=t+e),e}getClass(e){return this.classes[e]||""}getIconClass(e,t){let n;return n=t&&this.rtlIconClasses&&this.rtlIconClasses[e]||this.iconClasses[e],n?`${this.baseIconClass} ${n}`:""}getCustomButtonIconClass(e){let t;return this.iconOverrideCustomButtonOption&&(t=e[this.iconOverrideCustomButtonOption],t)?`${this.baseIconClass} ${this.applyIconOverridePrefix(t)}`:""}}function Hn(e){e();let t=r.debounceRendering,n=[];for(r.debounceRendering=function(e){n.push(e)},K(T(zn,{}),document.createElement("div"));n.length;)n.shift()();r.debounceRendering=t}jn.prototype.classes={},jn.prototype.iconClasses={},jn.prototype.baseIconClass="",jn.prototype.iconOverridePrefix="";class zn extends N{render(){return T("div",{})}componentDidMount(){this.setState({})}}function Fn(e){let t=ee(e),n=t.Provider;return t.Provider=function(){let e=!this.getChildContext,t=n.apply(this,arguments);if(e){let e=[];this.shouldComponentUpdate=t=>{this.props.value!==t.value&&e.forEach(e=>{e.context=t.value,e.forceUpdate()})},this.sub=t=>{e.push(t);let n=t.componentWillUnmount;t.componentWillUnmount=()=>{e.splice(e.indexOf(t),1),n&&n.call(t)}}}return t},t}class Bn{constructor(e,t,n,i){this.execFunc=e,this.emitter=t,this.scrollTime=n,this.scrollTimeReset=i,this.handleScrollRequest=e=>{this.queuedRequest=Object.assign({},this.queuedRequest||{},e),this.drain()},t.on("_scrollRequest",this.handleScrollRequest),this.fireInitialScroll()}detach(){this.emitter.off("_scrollRequest",this.handleScrollRequest)}update(e){e&&this.scrollTimeReset?this.fireInitialScroll():this.drain()}fireInitialScroll(){this.handleScrollRequest({time:this.scrollTime})}drain(){this.queuedRequest&&this.execFunc(this.queuedRequest)&&(this.queuedRequest=null)}}const Wn=Fn({});function $n(e,t,n,i,r,o,s,a,l,c,d,u,h,f){return{dateEnv:r,nowManager:o,options:n,pluginHooks:a,emitter:d,dispatch:l,getCurrentData:c,calendarApi:u,viewSpec:e,viewApi:t,dateProfileGenerator:i,theme:s,isRtl:"rtl"===n.direction,addResizeHandler(e){d.on("_resize",e)},removeResizeHandler(e){d.off("_resize",e)},createScrollResponder:e=>new Bn(e,d,St(n.scrollTime),n.scrollTimeReset),registerInteractiveComponent:h,unregisterInteractiveComponent:f}}class qn extends N{shouldComponentUpdate(e,t){return!Mn(this.props,e,this.propEquality)||!Mn(this.state,t,this.stateEquality)}safeSetState(e){Mn(this.state,Object.assign(Object.assign({},this.state),e),this.stateEquality)||this.setState(e)}}qn.addPropsEquality=function(e){let t=Object.create(this.prototype.propEquality);Object.assign(t,e),this.prototype.propEquality=t},qn.addStateEquality=function(e){let t=Object.create(this.prototype.stateEquality);Object.assign(t,e),this.prototype.stateEquality=t},qn.contextType=Wn,qn.prototype.propEquality={},qn.prototype.stateEquality={};class Un extends qn{}function Gn(e,t){"function"==typeof e?e(t):e&&(e.current=t)}Un.contextType=Wn;class Vn extends Un{constructor(){super(...arguments),this.id=dt(),this.queuedDomNodes=[],this.currentDomNodes=[],this.handleEl=e=>{const{options:t}=this.context,{generatorName:n}=this.props;t.customRenderingReplaces&&Yn(n,t)||this.updateElRef(e)},this.updateElRef=e=>{this.props.elRef&&Gn(this.props.elRef,e)}}render(){const{props:e,context:t}=this,{options:n}=t,{customGenerator:i,defaultGenerator:r,renderProps:o}=e,a=Qn(e,[],this.handleEl);let l,c,d=!1,u=[];if(null!=i){const e="function"==typeof i?i(o,T):i;if(!0===e)d=!0;else{const t=e&&"object"==typeof e;t&&"html"in e?a.dangerouslySetInnerHTML={__html:e.html}:t&&"domNodes"in e?u=Array.prototype.slice.call(e.domNodes):(t?s(e):"function"!=typeof e)?l=e:c=e}}else d=!Yn(e.generatorName,n);return d&&r&&(l=r(o)),this.queuedDomNodes=u,this.currentGeneratorMeta=c,T(e.elTag,a,l)}componentDidMount(){this.applyQueueudDomNodes(),this.triggerCustomRendering(!0)}componentDidUpdate(){this.applyQueueudDomNodes(),this.triggerCustomRendering(!0)}componentWillUnmount(){this.triggerCustomRendering(!1)}triggerCustomRendering(e){var t;const{props:n,context:i}=this,{handleCustomRendering:r,customRenderingMetaMap:o}=i.options;if(r){const i=null!==(t=this.currentGeneratorMeta)&&void 0!==t?t:null==o?void 0:o[n.generatorName];i&&r(Object.assign(Object.assign({id:this.id,isActive:e,containerEl:this.base,reportNewContainerEl:this.updateElRef,generatorMeta:i},n),{elClasses:(n.elClasses||[]).filter(Xn)}))}}applyQueueudDomNodes(){const{queuedDomNodes:e,currentDomNodes:t}=this,n=this.base;if(!kt(e,t)){t.forEach(Qe);for(let t of e)n.appendChild(t);this.currentDomNodes=e}}}function Yn(e,t){var n;return Boolean(t.handleCustomRendering&&e&&(null===(n=t.customRenderingMetaMap)||void 0===n?void 0:n[e]))}function Qn(e,t,n){const i=Object.assign(Object.assign({},e.elAttrs),{ref:n});return(e.elClasses||t)&&(i.className=(e.elClasses||[]).concat(t||[]).concat(i.className||[]).filter(Boolean).join(" ")),e.elStyle&&(i.style=e.elStyle),i}function Xn(e){return Boolean(e)}Vn.addPropsEquality({elClasses:kt,elStyle:kn,elAttrs:function(e,t){const n=function(e,t){let n=[];for(let i in e)Cn.call(e,i)&&(i in t||n.push(i));for(let i in t)Cn.call(t,i)&&e[i]!==t[i]&&n.push(i);return n}(e,t);for(let e of n)if(!_n.test(e))return!1;return!0},renderProps:kn});const Zn=Fn(0);class Jn extends N{constructor(){super(...arguments),this.InnerContent=Kn.bind(void 0,this),this.handleEl=e=>{this.el=e,this.props.elRef&&(Gn(this.props.elRef,e),e&&this.didMountMisfire&&this.componentDidMount())}}render(){const{props:e}=this,t=function(e,t){const n="function"==typeof e?e(t):e||[];return"string"==typeof n?[n]:n}(e.classNameGenerator,e.renderProps);if(e.children){const n=Qn(e,t,this.handleEl),i=e.children(this.InnerContent,e.renderProps,n);return e.elTag?T(e.elTag,n,i):i}return T(Vn,Object.assign(Object.assign({},e),{elRef:this.handleEl,elTag:e.elTag||"div",elClasses:(e.elClasses||[]).concat(t),renderId:this.context}))}componentDidMount(){var e,t;this.el?null===(t=(e=this.props).didMount)||void 0===t||t.call(e,Object.assign(Object.assign({},this.props.renderProps),{el:this.el})):this.didMountMisfire=!0}componentWillUnmount(){var e,t;null===(t=(e=this.props).willUnmount)||void 0===t||t.call(e,Object.assign(Object.assign({},this.props.renderProps),{el:this.el}))}}function Kn(e,t){const n=e.props;return T(Vn,Object.assign({renderProps:n.renderProps,generatorName:n.generatorName,customGenerator:n.customGenerator,defaultGenerator:n.defaultGenerator,renderId:e.context},t))}Jn.contextType=Zn;class ei extends Un{render(){let{props:e,context:t}=this,{options:n}=t,i={view:t.viewApi};return T(Jn,{elRef:e.elRef,elTag:e.elTag||"div",elAttrs:e.elAttrs,elClasses:[...ti(e.viewSpec),...e.elClasses||[]],elStyle:e.elStyle,renderProps:i,classNameGenerator:n.viewClassNames,generatorName:void 0,didMount:n.viewDidMount,willUnmount:n.viewWillUnmount},()=>e.children)}}function ti(e){return[`fc-${e.type}-view`,"fc-view"]}function ni(e,t){let n,i,r=[],{start:o}=t;for(e.sort(ii),n=0;n<e.length;n+=1)i=e[n],i.start>o&&r.push({start:o,end:i.start}),i.end>o&&(o=i.end);return o<t.end&&r.push({start:o,end:t.end}),r}function ii(e,t){return e.start.valueOf()-t.start.valueOf()}function ri(e,t){let{start:n,end:i}=e,r=null;return null!==t.start&&(n=null===n?t.start:new Date(Math.max(n.valueOf(),t.start.valueOf()))),null!=t.end&&(i=null===i?t.end:new Date(Math.min(i.valueOf(),t.end.valueOf()))),(null===n||null===i||n<i)&&(r={start:n,end:i}),r}function oi(e,t){return(null===e.end||null===t.start||e.end>t.start)&&(null===e.start||null===t.end||e.start<t.end)}function si(e,t){return(null===e.start||null!==t.start&&t.start>=e.start)&&(null===e.end||null!==t.end&&t.end<=e.end)}function ai(e,t){return(null===e.start||t>=e.start)&&(null===e.end||t<e.end)}function li(e){let t=Math.floor(Rt(e.start,e.end))||1,n=Pt(e.start);return{start:n,end:It(n,t)}}function ci(e,t=St(0)){let n=null,i=null;if(e.end){i=Pt(e.end);let n=e.end.valueOf()-i.valueOf();n&&n>=xt(t)&&(i=It(i,1))}return e.start&&(n=Pt(e.start),i&&i<=n&&(i=It(n,1))),{start:n,end:i}}function di(e,t,n,i){return"year"===i?St(n.diffWholeYears(e,t),"year"):"month"===i?St(n.diffWholeMonths(e,t),"month"):function(e,t){let n=Pt(e),i=Pt(t);return{years:0,months:0,days:Math.round(Rt(n,i)),milliseconds:t.valueOf()-i.valueOf()-(e.valueOf()-n.valueOf())}}(e,t)}class ui{constructor(e){this.props=e,this.initHiddenDays()}buildPrev(e,t,n){let{dateEnv:i}=this.props,r=i.subtract(i.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(r,-1,n)}buildNext(e,t,n){let{dateEnv:i}=this.props,r=i.add(i.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(r,1,n)}build(e,t,n=!0){let i,r,o,s,a,l,{props:c}=this;var d,u;return i=this.buildValidRange(),i=this.trimHiddenDays(i),n&&(d=e,e=null!=(u=i).start&&d<u.start?u.start:null!=u.end&&d>=u.end?new Date(u.end.valueOf()-1):d),r=this.buildCurrentRangeInfo(e,t),o=/^(year|month|week|day)$/.test(r.unit),s=this.buildRenderRange(this.trimHiddenDays(r.range),r.unit,o),s=this.trimHiddenDays(s),a=s,c.showNonCurrentDates||(a=ri(a,r.range)),a=this.adjustActiveRange(a),a=ri(a,i),l=oi(r.range,i),ai(s,e)||(e=s.start),{currentDate:e,validRange:i,currentRange:r.range,currentRangeUnit:r.unit,isRangeAllDay:o,activeRange:a,renderRange:s,slotMinTime:c.slotMinTime,slotMaxTime:c.slotMaxTime,isValid:l,dateIncrement:this.buildDateIncrement(r.duration)}}buildValidRange(){let e=this.props.validRangeInput,t="function"==typeof e?e.call(this.props.calendarApi,this.props.dateEnv.toDate(this.props.nowManager.getDateMarker())):e;return this.refineRange(t)||{start:null,end:null}}buildCurrentRangeInfo(e,t){let n,{props:i}=this,r=null,o=null,s=null;return i.duration?(r=i.duration,o=i.durationUnit,s=this.buildRangeFromDuration(e,t,r,o)):(n=this.props.dayCount)?(o="day",s=this.buildRangeFromDayCount(e,t,n)):(s=this.buildCustomVisibleRange(e))?o=i.dateEnv.greatestWholeUnit(s.start,s.end).unit:(r=this.getFallbackDuration(),o=Tt(r).unit,s=this.buildRangeFromDuration(e,t,r,o)),{duration:r,unit:o,range:s}}getFallbackDuration(){return St({day:1})}adjustActiveRange(e){let{dateEnv:t,usesMinMaxTime:n,slotMinTime:i,slotMaxTime:r}=this.props,{start:o,end:s}=e;return n&&(At(i)<0&&(o=Pt(o),o=t.add(o,i)),At(r)>1&&(s=Pt(s),s=It(s,-1),s=t.add(s,r))),{start:o,end:s}}buildRangeFromDuration(e,t,n,i){let r,o,s,{dateEnv:a,dateAlignment:l}=this.props;if(!l){let{dateIncrement:e}=this.props;l=e&&xt(e)<xt(n)?Tt(e).unit:i}function c(){r=a.startOf(e,l),o=a.add(r,n),s={start:r,end:o}}return At(n)<=1&&this.isHiddenDay(r)&&(r=this.skipHiddenDays(r,t),r=Pt(r)),c(),this.trimHiddenDays(s)||(e=this.skipHiddenDays(e,t),c()),s}buildRangeFromDayCount(e,t,n){let i,{dateEnv:r,dateAlignment:o}=this.props,s=0,a=e;o&&(a=r.startOf(a,o)),a=Pt(a),a=this.skipHiddenDays(a,t),i=a;do{i=It(i,1),this.isHiddenDay(i)||(s+=1)}while(s<n);return{start:a,end:i}}buildCustomVisibleRange(e){let{props:t}=this,n=t.visibleRangeInput,i="function"==typeof n?n.call(t.calendarApi,t.dateEnv.toDate(e)):n,r=this.refineRange(i);return!r||null!=r.start&&null!=r.end?r:null}buildRenderRange(e,t,n){return e}buildDateIncrement(e){let t,{dateIncrement:n}=this.props;return n||((t=this.props.dateAlignment)?St(1,t):e||St({days:1}))}refineRange(e){if(e){let t=function(e,t){let n=null,i=null;return e.start&&(n=t.createMarker(e.start)),e.end&&(i=t.createMarker(e.end)),n||i?n&&i&&i<n?null:{start:n,end:i}:null}(e,this.props.dateEnv);return t&&(t=ci(t)),t}return null}initHiddenDays(){let e,t=this.props.hiddenDays||[],n=[],i=0;for(!1===this.props.weekends&&t.push(0,6),e=0;e<7;e+=1)(n[e]=-1!==t.indexOf(e))||(i+=1);if(!i)throw new Error("invalid hiddenDays");this.isHiddenDayHash=n}trimHiddenDays(e){let{start:t,end:n}=e;return t&&(t=this.skipHiddenDays(t)),n&&(n=this.skipHiddenDays(n,-1,!0)),null==t||null==n||t<n?{start:t,end:n}:null}isHiddenDay(e){return e instanceof Date&&(e=e.getUTCDay()),this.isHiddenDayHash[e]}skipHiddenDays(e,t=1,n=!1){for(;this.isHiddenDayHash[(e.getUTCDay()+(n?t:0)+7)%7];)e=It(e,t);return e}}function hi(e,t,n,i){return{instanceId:dt(),defId:e,range:t,forcedStartTzo:null==n?null:n,forcedEndTzo:null==i?null:i}}function fi(e,t,n){let{dateEnv:i,pluginHooks:r,options:o}=n,{defs:s,instances:a}=e;a=An(a,e=>!s[e.defId].recurringDef);for(let e in s){let n=s[e];if(n.recurringDef){let{duration:s}=n.recurringDef;s||(s=n.allDay?o.defaultAllDayEventDuration:o.defaultTimedEventDuration);let l=pi(n,s,t,i,r.recurringTypes);for(let t of l){let n=hi(e,{start:t,end:i.add(t,s)});a[n.instanceId]=n}}}return{defs:s,instances:a}}function pi(e,t,n,i,r){let o=r[e.recurringDef.typeId].expand(e.recurringDef.typeData,{start:i.subtract(n.start,t),end:n.end},i);return e.allDay&&(o=o.map(Pt)),o}const gi={id:String,groupId:String,title:String,url:String,interactive:Boolean},mi={start:Sn,end:Sn,date:Sn,allDay:Boolean},vi=Object.assign(Object.assign(Object.assign({},gi),mi),{extendedProps:Sn});function yi(e,t,n,i,r=wi(n),o,s){let{refined:a,extra:l}=bi(e,n,r),c=function(e,t){let n=null;e&&(n=e.defaultAllDay);null==n&&(n=t.options.defaultAllDay);return n}(t,n),d=function(e,t,n,i){for(let r=0;r<i.length;r+=1){let o=i[r].parse(e,n);if(o){let{allDay:n}=e;return null==n&&(n=t,null==n&&(n=o.allDayGuess,null==n&&(n=!1))),{allDay:n,duration:o.duration,typeData:o.typeData,typeId:r}}}return null}(a,c,n.dateEnv,n.pluginHooks.recurringTypes);if(d){let e=Si(a,l,t?t.sourceId:"",d.allDay,Boolean(d.duration),n,o);return e.recurringDef={typeId:d.typeId,typeData:d.typeData,duration:d.duration},{def:e,instance:null}}let u=function(e,t,n,i){let r,o,{allDay:s}=e,a=null,l=!1,c=null,d=null!=e.start?e.start:e.date;if(r=n.dateEnv.createMarkerMeta(d),r)a=r.marker;else if(!i)return null;null!=e.end&&(o=n.dateEnv.createMarkerMeta(e.end));null==s&&(s=null!=t?t:(!r||r.isTimeUnspecified)&&(!o||o.isTimeUnspecified));s&&a&&(a=Pt(a));o&&(c=o.marker,s&&(c=Pt(c)),a&&c<=a&&(c=null));c?l=!0:i||(l=n.options.forceEventDuration||!1,c=n.dateEnv.add(a,s?n.options.defaultAllDayEventDuration:n.options.defaultTimedEventDuration));return{allDay:s,hasEnd:l,range:{start:a,end:c},forcedStartTzo:r?r.forcedTzo:null,forcedEndTzo:o?o.forcedTzo:null}}(a,c,n,i);if(u){let e=Si(a,l,t?t.sourceId:"",u.allDay,u.hasEnd,n,o),i=hi(e.defId,u.range,u.forcedStartTzo,u.forcedEndTzo);return s&&e.publicId&&s[e.publicId]&&(i.instanceId=s[e.publicId]),{def:e,instance:i}}return null}function bi(e,t,n=wi(t)){return wn(e,n)}function wi(e){return Object.assign(Object.assign(Object.assign({},_i),vi),e.pluginHooks.eventRefiners)}function Si(e,t,n,i,r,o,s){let a={title:e.title||"",groupId:e.groupId||"",publicId:e.id||"",url:e.url||"",recurringDef:null,defId:(s&&e.id?s[e.id]:"")||dt(),sourceId:n,allDay:i,hasEnd:r,interactive:e.interactive,ui:Ii(e,o),extendedProps:Object.assign(Object.assign({},e.extendedProps||{}),t)};for(let t of o.pluginHooks.eventDefMemberAdders)Object.assign(a,t(e));return Object.freeze(a.ui.classNames),Object.freeze(a.extendedProps),a}function Ci(e,t,n,i,r,o){let s={defs:{},instances:{}},a=wi(n);for(let l of e){let e=yi(l,t,n,i,a,r,o);e&&Ei(e,s)}return s}function Ei(e,t={defs:{},instances:{}}){return t.defs[e.def.defId]=e.def,e.instance&&(t.instances[e.instance.instanceId]=e.instance),t}function Ai(e,t){let n=e.instances[t];if(n){let t=e.defs[n.defId],i=Ti(e,e=>{return n=t,i=e,Boolean(n.groupId&&n.groupId===i.groupId);var n,i});return i.defs[t.defId]=t,i.instances[n.instanceId]=n,i}return{defs:{},instances:{}}}function xi(){return{defs:{},instances:{}}}function Di(e,t){return{defs:Object.assign(Object.assign({},e.defs),t.defs),instances:Object.assign(Object.assign({},e.instances),t.instances)}}function Ti(e,t){let n=An(e.defs,t),i=An(e.instances,e=>n[e.defId]);return{defs:n,instances:i}}function ki(e){return Array.isArray(e)?e:"string"==typeof e?e.split(/\s+/):[]}const _i={display:String,editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:Sn,overlap:Sn,allow:Sn,className:ki,classNames:ki,color:String,backgroundColor:String,borderColor:String,textColor:String},Mi={display:null,startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]};function Ii(e,t){let n=function(e,t){return Array.isArray(e)?Ci(e,null,t,!0):"object"==typeof e&&e?Ci([e],null,t,!0):null!=e?String(e):null}(e.constraint,t);return{display:e.display||null,startEditable:null!=e.startEditable?e.startEditable:e.editable,durationEditable:null!=e.durationEditable?e.durationEditable:e.editable,constraints:null!=n?[n]:[],overlap:null!=e.overlap?e.overlap:null,allows:null!=e.allow?[e.allow]:[],backgroundColor:e.backgroundColor||e.color||"",borderColor:e.borderColor||e.color||"",textColor:e.textColor||"",classNames:(e.className||[]).concat(e.classNames||[])}}function Oi(e){return e.reduce(Ri,Mi)}function Ri(e,t){return{display:null!=t.display?t.display:e.display,startEditable:null!=t.startEditable?t.startEditable:e.startEditable,durationEditable:null!=t.durationEditable?t.durationEditable:e.durationEditable,constraints:e.constraints.concat(t.constraints),overlap:"boolean"==typeof t.overlap?t.overlap:e.overlap,allows:e.allows.concat(t.allows),backgroundColor:t.backgroundColor||e.backgroundColor,borderColor:t.borderColor||e.borderColor,textColor:t.textColor||e.textColor,classNames:e.classNames.concat(t.classNames)}}const Ni={id:String,defaultAllDay:Boolean,url:String,format:String,events:Sn,eventDataTransform:Sn,success:Sn,failure:Sn};function Pi(e,t,n=Li(t)){let i;if("string"==typeof e?i={url:e}:"function"==typeof e||Array.isArray(e)?i={events:e}:"object"==typeof e&&e&&(i=e),i){let{refined:r,extra:o}=wn(i,n),s=function(e,t){let n=t.pluginHooks.eventSourceDefs;for(let t=n.length-1;t>=0;t-=1){let i=n[t].parseMeta(e);if(i)return{sourceDefId:t,meta:i}}return null}(r,t);if(s)return{_raw:e,isFetching:!1,latestFetchId:"",fetchRange:null,defaultAllDay:r.defaultAllDay,eventDataTransform:r.eventDataTransform,success:r.success,failure:r.failure,publicId:r.id||"",sourceId:dt(),sourceDefId:s.sourceDefId,meta:s.meta,ui:Ii(r,t),extendedProps:o}}return null}function Li(e){return Object.assign(Object.assign(Object.assign({},_i),Ni),e.pluginHooks.eventSourceRefiners)}function ji(e,t,n,i,r){switch(t.type){case"RECEIVE_EVENTS":return function(e,t,n,i,r,o){if(t&&n===t.latestFetchId){let n=Ci(Hi(r,t,o),t,o);return i&&(n=fi(n,i,o)),Di(Bi(e,t.sourceId),n)}return e}(e,n[t.sourceId],t.fetchId,t.fetchRange,t.rawEvents,r);case"RESET_RAW_EVENTS":return function(e,t,n,i,r){const{defIdMap:o,instanceIdMap:s}=function(e){const{defs:t,instances:n}=e,i={},r={};for(let e in t){const n=t[e],{publicId:r}=n;r&&(i[r]=e)}for(let e in n){const i=t[n[e].defId],{publicId:o}=i;o&&(r[o]=e)}return{defIdMap:i,instanceIdMap:r}}(e);let a=Ci(Hi(n,t,r),t,r,!1,o,s);return fi(a,i,r)}(e,n[t.sourceId],t.rawEvents,i.activeRange,r);case"ADD_EVENTS":return function(e,t,n,i){n&&(t=fi(t,n,i));return Di(e,t)}(e,t.eventStore,i?i.activeRange:null,r);case"RESET_EVENTS":return t.eventStore;case"MERGE_EVENTS":return Di(e,t.eventStore);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return i?fi(e,i.activeRange,r):e;case"REMOVE_EVENTS":return function(e,t){let{defs:n,instances:i}=e,r={},o={};for(let e in n)t.defs[e]||(r[e]=n[e]);for(let e in i)!t.instances[e]&&r[i[e].defId]&&(o[e]=i[e]);return{defs:r,instances:o}}(e,t.eventStore);case"REMOVE_EVENT_SOURCE":return Bi(e,t.sourceId);case"REMOVE_ALL_EVENT_SOURCES":return Ti(e,e=>!e.sourceId);case"REMOVE_ALL_EVENTS":return{defs:{},instances:{}};default:return e}}function Hi(e,t,n){let i=n.options.eventDataTransform,r=t?t.eventDataTransform:null;return r&&(e=zi(e,r)),i&&(e=zi(e,i)),e}function zi(e,t){let n;if(t){n=[];for(let i of e){let e=t(i);e?n.push(e):null==e&&n.push(i)}}else n=e;return n}function Fi(e,t,n){let{defs:i}=e,r=xn(e.instances,e=>i[e.defId].allDay?e:Object.assign(Object.assign({},e),{range:{start:n.createMarker(t.toDate(e.range.start,e.forcedStartTzo)),end:n.createMarker(t.toDate(e.range.end,e.forcedEndTzo))},forcedStartTzo:n.canComputeOffset?null:e.forcedStartTzo,forcedEndTzo:n.canComputeOffset?null:e.forcedEndTzo}));return{defs:i,instances:r}}function Bi(e,t){return Ti(e,e=>e.sourceId!==t)}class Wi{constructor(){this.handlers={},this.thisContext=null}setThisContext(e){this.thisContext=e}setOptions(e){this.options=e}on(e,t){!function(e,t,n){(e[t]||(e[t]=[])).push(n)}(this.handlers,e,t)}off(e,t){!function(e,t,n){n?e[t]&&(e[t]=e[t].filter(e=>e!==n)):delete e[t]}(this.handlers,e,t)}trigger(e,...t){let n=this.handlers[e]||[],i=this.options&&this.options[e],r=[].concat(i||[],n);for(let e of r)e.apply(this.thisContext,t)}hasHandlers(e){return Boolean(this.handlers[e]&&this.handlers[e].length||this.options&&this.options[e])}}const $i={startTime:"09:00",endTime:"17:00",daysOfWeek:[1,2,3,4,5],display:"inverse-background",classNames:"fc-non-business",groupId:"_businessHours"};function qi(e,t){return Ci(function(e){let t;t=!0===e?[{}]:Array.isArray(e)?e.filter(e=>e.daysOfWeek):"object"==typeof e&&e?[e]:[];return t=t.map(e=>Object.assign(Object.assign({},$i),e)),t}(e),null,t)}function Ui(e,t,n){n.emitter.trigger("select",Object.assign(Object.assign({},Gi(e,n)),{jsEvent:t?t.origEvent:null,view:n.viewApi||n.calendarApi.view}))}function Gi(e,t){let n={};for(let i of t.pluginHooks.dateSpanTransforms)Object.assign(n,i(e,t));var i,r;return Object.assign(n,(i=e,r=t.dateEnv,Object.assign(Object.assign({},br(i.range,r,i.allDay)),{allDay:i.allDay}))),n}function Vi(e,t,n){let{dateEnv:i,options:r}=n,o=t;return e?(o=Pt(o),o=i.add(o,r.defaultAllDayEventDuration)):o=i.add(o,r.defaultTimedEventDuration),o}function Yi(e,t,n,i){let r=rr(e.defs,t),o={defs:{},instances:{}};for(let t in e.defs){let s=e.defs[t];o.defs[t]=Qi(s,r[t],n,i)}for(let t in e.instances){let s=e.instances[t],a=o.defs[s.defId];o.instances[t]=Xi(s,a,r[s.defId],n,i)}return o}function Qi(e,t,n,i){let r=n.standardProps||{};null==r.hasEnd&&t.durationEditable&&(n.startDelta||n.endDelta)&&(r.hasEnd=!0);let o=Object.assign(Object.assign(Object.assign({},e),r),{ui:Object.assign(Object.assign({},e.ui),r.ui)});n.extendedProps&&(o.extendedProps=Object.assign(Object.assign({},o.extendedProps),n.extendedProps));for(let e of i.pluginHooks.eventDefMutationAppliers)e(o,n,i);return!o.hasEnd&&i.options.forceEventDuration&&(o.hasEnd=!0),o}function Xi(e,t,n,i,r){let{dateEnv:o}=r,s=i.standardProps&&!0===i.standardProps.allDay,a=i.standardProps&&!1===i.standardProps.hasEnd,l=Object.assign({},e);return s&&(l.range=li(l.range)),i.datesDelta&&n.startEditable&&(l.range={start:o.add(l.range.start,i.datesDelta),end:o.add(l.range.end,i.datesDelta)}),i.startDelta&&n.durationEditable&&(l.range={start:o.add(l.range.start,i.startDelta),end:l.range.end}),i.endDelta&&n.durationEditable&&(l.range={start:l.range.start,end:o.add(l.range.end,i.endDelta)}),a&&(l.range={start:l.range.start,end:Vi(t.allDay,l.range.start,r)}),t.allDay&&(l.range={start:Pt(l.range.start),end:Pt(l.range.end)}),l.range.end<l.range.start&&(l.range.end=Vi(t.allDay,l.range.start,r)),l}class Zi{constructor(e,t){this.context=e,this.internalEventSource=t}remove(){this.context.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:this.internalEventSource.sourceId})}refetch(){this.context.dispatch({type:"FETCH_EVENT_SOURCES",sourceIds:[this.internalEventSource.sourceId],isRefetch:!0})}get id(){return this.internalEventSource.publicId}get url(){return this.internalEventSource.meta.url}get format(){return this.internalEventSource.meta.format}}class Ji{constructor(e,t,n){this._context=e,this._def=t,this._instance=n||null}setProp(e,t){if(e in mi)console.warn("Could not set date-related prop 'name'. Use one of the date-related methods instead.");else if("id"===e)t=gi[e](t),this.mutate({standardProps:{publicId:t}});else if(e in gi)t=gi[e](t),this.mutate({standardProps:{[e]:t}});else if(e in _i){let n=_i[e](t);n="color"===e?{backgroundColor:t,borderColor:t}:"editable"===e?{startEditable:t,durationEditable:t}:{[e]:t},this.mutate({standardProps:{ui:n}})}else console.warn(`Could not set prop '${e}'. Use setExtendedProp instead.`)}setExtendedProp(e,t){this.mutate({extendedProps:{[e]:t}})}setStart(e,t={}){let{dateEnv:n}=this._context,i=n.createMarker(e);if(i&&this._instance){let e=di(this._instance.range.start,i,n,t.granularity);t.maintainDuration?this.mutate({datesDelta:e}):this.mutate({startDelta:e})}}setEnd(e,t={}){let n,{dateEnv:i}=this._context;if((null==e||(n=i.createMarker(e),n))&&this._instance)if(n){let e=di(this._instance.range.end,n,i,t.granularity);this.mutate({endDelta:e})}else this.mutate({standardProps:{hasEnd:!1}})}setDates(e,t,n={}){let i,{dateEnv:r}=this._context,o={allDay:n.allDay},s=r.createMarker(e);var a,l;if(s&&((null==t||(i=r.createMarker(t),i))&&this._instance)){let e=this._instance.range;!0===n.allDay&&(e=li(e));let t=di(e.start,s,r,n.granularity);if(i){let s=di(e.end,i,r,n.granularity);l=s,(a=t).years===l.years&&a.months===l.months&&a.days===l.days&&a.milliseconds===l.milliseconds?this.mutate({datesDelta:t,standardProps:o}):this.mutate({startDelta:t,endDelta:s,standardProps:o})}else o.hasEnd=!1,this.mutate({datesDelta:t,standardProps:o})}}moveStart(e){let t=St(e);t&&this.mutate({startDelta:t})}moveEnd(e){let t=St(e);t&&this.mutate({endDelta:t})}moveDates(e){let t=St(e);t&&this.mutate({datesDelta:t})}setAllDay(e,t={}){let n={allDay:e},{maintainDuration:i}=t;null==i&&(i=this._context.options.allDayMaintainDuration),this._def.allDay!==e&&(n.hasEnd=i),this.mutate({standardProps:n})}formatRange(e){let{dateEnv:t}=this._context,n=this._instance,i=dn(e);return this._def.hasEnd?t.formatRange(n.range.start,n.range.end,i,{forcedStartTzo:n.forcedStartTzo,forcedEndTzo:n.forcedEndTzo}):t.format(n.range.start,i,{forcedTzo:n.forcedStartTzo})}mutate(e){let t=this._instance;if(t){let n=this._def,i=this._context,{eventStore:r}=i.getCurrentData(),o=Ai(r,t.instanceId);o=Yi(o,{"":{display:"",startEditable:!0,durationEditable:!0,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]}},e,i);let s=new Ji(i,n,t);this._def=o.defs[n.defId],this._instance=o.instances[t.instanceId],i.dispatch({type:"MERGE_EVENTS",eventStore:o}),i.emitter.trigger("eventChange",{oldEvent:s,event:this,relatedEvents:er(o,i,t),revert(){i.dispatch({type:"RESET_EVENTS",eventStore:r})}})}}remove(){let e=this._context,t=Ki(this);e.dispatch({type:"REMOVE_EVENTS",eventStore:t}),e.emitter.trigger("eventRemove",{event:this,relatedEvents:[],revert(){e.dispatch({type:"MERGE_EVENTS",eventStore:t})}})}get source(){let{sourceId:e}=this._def;return e?new Zi(this._context,this._context.getCurrentData().eventSources[e]):null}get start(){return this._instance?this._context.dateEnv.toDate(this._instance.range.start):null}get end(){return this._instance&&this._def.hasEnd?this._context.dateEnv.toDate(this._instance.range.end):null}get startStr(){let e=this._instance;return e?this._context.dateEnv.formatIso(e.range.start,{omitTime:this._def.allDay,forcedTzo:e.forcedStartTzo}):""}get endStr(){let e=this._instance;return e&&this._def.hasEnd?this._context.dateEnv.formatIso(e.range.end,{omitTime:this._def.allDay,forcedTzo:e.forcedEndTzo}):""}get id(){return this._def.publicId}get groupId(){return this._def.groupId}get allDay(){return this._def.allDay}get title(){return this._def.title}get url(){return this._def.url}get display(){return this._def.ui.display||"auto"}get startEditable(){return this._def.ui.startEditable}get durationEditable(){return this._def.ui.durationEditable}get constraint(){return this._def.ui.constraints[0]||null}get overlap(){return this._def.ui.overlap}get allow(){return this._def.ui.allows[0]||null}get backgroundColor(){return this._def.ui.backgroundColor}get borderColor(){return this._def.ui.borderColor}get textColor(){return this._def.ui.textColor}get classNames(){return this._def.ui.classNames}get extendedProps(){return this._def.extendedProps}toPlainObject(e={}){let t=this._def,{ui:n}=t,{startStr:i,endStr:r}=this,o={allDay:t.allDay};return t.title&&(o.title=t.title),i&&(o.start=i),r&&(o.end=r),t.publicId&&(o.id=t.publicId),t.groupId&&(o.groupId=t.groupId),t.url&&(o.url=t.url),n.display&&"auto"!==n.display&&(o.display=n.display),e.collapseColor&&n.backgroundColor&&n.backgroundColor===n.borderColor?o.color=n.backgroundColor:(n.backgroundColor&&(o.backgroundColor=n.backgroundColor),n.borderColor&&(o.borderColor=n.borderColor)),n.textColor&&(o.textColor=n.textColor),n.classNames.length&&(o.classNames=n.classNames),Object.keys(t.extendedProps).length&&(e.collapseExtendedProps?Object.assign(o,t.extendedProps):o.extendedProps=t.extendedProps),o}toJSON(){return this.toPlainObject()}}function Ki(e){let t=e._def,n=e._instance;return{defs:{[t.defId]:t},instances:n?{[n.instanceId]:n}:{}}}function er(e,t,n){let{defs:i,instances:r}=e,o=[],s=n?n.instanceId:"";for(let e in r){let n=r[e],a=i[n.defId];n.instanceId!==s&&o.push(new Ji(t,a,n))}return o}function tr(e,t,n,i){let r={},o={},s={},a=[],l=[],c=rr(e.defs,t);for(let t in e.defs){let n=e.defs[t];"inverse-background"===c[n.defId].display&&(n.groupId?(r[n.groupId]=[],s[n.groupId]||(s[n.groupId]=n)):o[t]=[])}for(let t in e.instances){let s=e.instances[t],d=e.defs[s.defId],u=c[d.defId],h=s.range,f=!d.allDay&&i?ci(h,i):h,p=ri(f,n);p&&("inverse-background"===u.display?d.groupId?r[d.groupId].push(p):o[s.defId].push(p):"none"!==u.display&&("background"===u.display?a:l).push({def:d,ui:u,instance:s,range:p,isStart:f.start&&f.start.valueOf()===p.start.valueOf(),isEnd:f.end&&f.end.valueOf()===p.end.valueOf()}))}for(let e in r){let t=ni(r[e],n);for(let n of t){let t=s[e],i=c[t.defId];a.push({def:t,ui:i,instance:null,range:n,isStart:!1,isEnd:!1})}}for(let t in o){let i=ni(o[t],n);for(let n of i)a.push({def:e.defs[t],ui:c[t],instance:null,range:n,isStart:!1,isEnd:!1})}return{bg:a,fg:l}}function nr(e,t){e.fcSeg=t}function ir(e){return e.fcSeg||e.parentNode.fcSeg||null}function rr(e,t){return xn(e,e=>or(e,t))}function or(e,t){let n=[];return t[""]&&n.push(t[""]),t[e.defId]&&n.push(t[e.defId]),n.push(e.ui),Oi(n)}function sr(e,t){let n=e.map(ar);return n.sort((e,n)=>function(e,t,n){let i,r;for(i=0;i<n.length;i+=1)if(r=ft(e,t,n[i]),r)return r;return 0}(e,n,t)),n.map(e=>e._seg)}function ar(e){let{eventRange:t}=e,n=t.def,i=t.instance?t.instance.range:t.range,r=i.start?i.start.valueOf():0,o=i.end?i.end.valueOf():0;return Object.assign(Object.assign(Object.assign({},n.extendedProps),n),{id:n.publicId,start:r,end:o,duration:o-r,allDay:Number(n.allDay),_seg:e})}function lr(e,t){let{pluginHooks:n}=t,i=n.isDraggableTransformers,{def:r,ui:o}=e.eventRange,s=o.startEditable;for(let e of i)s=e(s,r,o,t);return s}function cr(e,t){return e.isStart&&e.eventRange.ui.durationEditable&&t.options.eventResizableFromStart}function dr(e,t){return e.isEnd&&e.eventRange.ui.durationEditable}function ur(e,t,n,i,r,o,s){let{dateEnv:a,options:l}=n,{displayEventTime:c,displayEventEnd:d}=l,u=e.eventRange.def,h=e.eventRange.instance;null==c&&(c=!1!==i),null==d&&(d=!1!==r);let f=h.range.start,p=h.range.end,g=o||e.start||e.eventRange.range.start,m=s||e.end||e.eventRange.range.end,v=Pt(f).valueOf()===Pt(g).valueOf(),y=Pt(Ot(p,-1)).valueOf()===Pt(Ot(m,-1)).valueOf();return c&&!u.allDay&&(v||y)?(g=v?f:g,m=y?p:m,d&&u.hasEnd?a.formatRange(g,m,t,{forcedStartTzo:o?null:h.forcedStartTzo,forcedEndTzo:s?null:h.forcedEndTzo}):a.format(g,t,{forcedTzo:o?null:h.forcedStartTzo})):""}function hr(e,t,n){let i=e.eventRange.range;return{isPast:i.end<=(n||t.start),isFuture:i.start>=(n||t.end),isToday:t&&ai(t,i.start)}}function fr(e){let t=["fc-event"];return e.isMirror&&t.push("fc-event-mirror"),e.isDraggable&&t.push("fc-event-draggable"),(e.isStartResizable||e.isEndResizable)&&t.push("fc-event-resizable"),e.isDragging&&t.push("fc-event-dragging"),e.isResizing&&t.push("fc-event-resizing"),e.isSelected&&t.push("fc-event-selected"),e.isStart&&t.push("fc-event-start"),e.isEnd&&t.push("fc-event-end"),e.isPast&&t.push("fc-event-past"),e.isToday&&t.push("fc-event-today"),e.isFuture&&t.push("fc-event-future"),t}function pr(e){return e.instance?e.instance.instanceId:`${e.def.defId}:${e.range.start.toISOString()}`}function gr(e,t){let{def:n,instance:i}=e.eventRange,{url:r}=n;if(r)return{href:r};let{emitter:o,options:s}=t,{eventInteractive:a}=s;return null==a&&(a=n.interactive,null==a&&(a=Boolean(o.hasHandlers("eventClick")))),a?lt(e=>{o.trigger("eventClick",{el:e.target,event:new Ji(t,n,i),jsEvent:e,view:t.viewApi})}):{}}const mr={start:Sn,end:Sn,allDay:Boolean};function vr(e,t,n){let i=function(e,t){let{refined:n,extra:i}=wn(e,mr),r=n.start?t.createMarkerMeta(n.start):null,o=n.end?t.createMarkerMeta(n.end):null,{allDay:s}=n;null==s&&(s=r&&r.isTimeUnspecified&&(!o||o.isTimeUnspecified));return Object.assign({range:{start:r?r.marker:null,end:o?o.marker:null},allDay:s},i)}(e,t),{range:r}=i;if(!r.start)return null;if(!r.end){if(null==n)return null;r.end=t.add(r.start,n)}return i}function yr(e,t,n){return Object.assign(Object.assign({},br(e,t,n)),{timeZone:t.timeZone})}function br(e,t,n){return{start:t.toDate(e.start),end:t.toDate(e.end),startStr:t.formatIso(e.start,{omitTime:n}),endStr:t.formatIso(e.end,{omitTime:n})}}class wr extends Error{constructor(e,t){super(e),this.response=t}}let Sr;function Cr(){return null==Sr&&(Sr=function(){if("undefined"==typeof document)return!0;let e=document.createElement("div");e.style.position="absolute",e.style.top="0px",e.style.left="0px",e.innerHTML="<table><tr><td><div></div></td></tr></table>",e.querySelector("table").style.height="100px",e.querySelector("div").style.height="100%",document.body.appendChild(e);let t=e.querySelector("div").offsetHeight>0;return document.body.removeChild(e),t}()),Sr}class Er extends Un{constructor(){super(...arguments),this.state={forPrint:!1},this.handleBeforePrint=()=>{Hn(()=>{this.setState({forPrint:!0})})},this.handleAfterPrint=()=>{Hn(()=>{this.setState({forPrint:!1})})}}render(){let{props:e}=this,{options:t}=e,{forPrint:n}=this.state,i=n||"auto"===t.height||"auto"===t.contentHeight,r=i||null==t.height?"":t.height,o=["fc",n?"fc-media-print":"fc-media-screen",`fc-direction-${t.direction}`,e.theme.getClass("root")];return Cr()||o.push("fc-liquid-hack"),e.children(o,r,i,n)}componentDidMount(){let{emitter:e}=this.props;e.on("_beforeprint",this.handleBeforePrint),e.on("_afterprint",this.handleAfterPrint)}componentWillUnmount(){let{emitter:e}=this.props;e.off("_beforeprint",this.handleBeforePrint),e.off("_afterprint",this.handleAfterPrint)}}class Ar{constructor(e){this.component=e.component,this.isHitComboAllowed=e.isHitComboAllowed||null}destroy(){}}function xr(e){return{[e.component.uid]:e}}const Dr={};class Tr extends N{constructor(e,t){super(e,t),this.handleRefresh=()=>{let e=this.computeTiming();e.state.nowDate.valueOf()!==this.state.nowDate.valueOf()&&this.setState(e.state),this.clearTimeout(),this.setTimeout(e.waitMs)},this.handleVisibilityChange=()=>{document.hidden||this.handleRefresh()},this.state=this.computeTiming().state}render(){let{props:e,state:t}=this;return e.children(t.nowDate,t.todayRange)}componentDidMount(){this.setTimeout(),this.context.nowManager.addResetListener(this.handleRefresh),document.addEventListener("visibilitychange",this.handleVisibilityChange)}componentDidUpdate(e){e.unit!==this.props.unit&&(this.clearTimeout(),this.setTimeout())}componentWillUnmount(){this.clearTimeout(),this.context.nowManager.removeResetListener(this.handleRefresh),document.removeEventListener("visibilitychange",this.handleVisibilityChange)}computeTiming(){let e,t,{props:n,context:i}=this,r=i.nowManager.getDateMarker(),{nowIndicatorSnap:o}=i.options;if("auto"===o&&(o=/year|month|week|day/.test(n.unit)||1===(n.unitValue||1)),o){e=i.dateEnv.startOf(r,n.unit),t=i.dateEnv.add(e,St(1,n.unit)).valueOf()-r.valueOf()}else e=r,t=6e4;return t=Math.min(864e5,t),{state:{nowDate:e,todayRange:kr(e)},waitMs:t}}setTimeout(e=this.computeTiming().waitMs){this.timeoutId=setTimeout(()=>{const e=this.computeTiming();this.setState(e.state,()=>{this.setTimeout(e.waitMs)})},e)}clearTimeout(){this.timeoutId&&clearTimeout(this.timeoutId)}}function kr(e){let t=Pt(e);return{start:t,end:It(t,1)}}Tr.contextType=Wn;class _r{getCurrentData(){return this.currentDataManager.getCurrentData()}dispatch(e){this.currentDataManager.dispatch(e)}get view(){return this.getCurrentData().viewApi}batchRendering(e){e()}updateSize(){this.trigger("_resize",!0)}setOption(e,t){this.dispatch({type:"SET_OPTION",optionName:e,rawOptionValue:t})}getOption(e){return this.currentDataManager.currentCalendarOptionsInput[e]}getAvailableLocaleCodes(){return Object.keys(this.getCurrentData().availableRawLocales)}on(e,t){let{currentDataManager:n}=this;n.currentCalendarOptionsRefiners[e]?n.emitter.on(e,t):console.warn(`Unknown listener name '${e}'`)}off(e,t){this.currentDataManager.emitter.off(e,t)}trigger(e,...t){this.currentDataManager.emitter.trigger(e,...t)}changeView(e,t){this.batchRendering(()=>{if(this.unselect(),t)if(t.start&&t.end)this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e}),this.dispatch({type:"SET_OPTION",optionName:"visibleRange",rawOptionValue:t});else{let{dateEnv:n}=this.getCurrentData();this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e,dateMarker:n.createMarker(t)})}else this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e})})}zoomTo(e,t){let n;t=t||"day",n=this.getCurrentData().viewSpecs[t]||this.getUnitViewSpec(t),this.unselect(),n?this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:n.type,dateMarker:e}):this.dispatch({type:"CHANGE_DATE",dateMarker:e})}getUnitViewSpec(e){let t,n,{viewSpecs:i,toolbarConfig:r}=this.getCurrentData(),o=[].concat(r.header?r.header.viewsWithButtons:[],r.footer?r.footer.viewsWithButtons:[]);for(let e in i)o.push(e);for(t=0;t<o.length;t+=1)if(n=i[o[t]],n&&n.singleUnit===e)return n;return null}prev(){this.unselect(),this.dispatch({type:"PREV"})}next(){this.unselect(),this.dispatch({type:"NEXT"})}prevYear(){let e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,-1)})}nextYear(){let e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,1)})}today(){let e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.nowManager.getDateMarker()})}gotoDate(e){let t=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.createMarker(e)})}incrementDate(e){let t=this.getCurrentData(),n=St(e);n&&(this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.add(t.currentDate,n)}))}getDate(){let e=this.getCurrentData();return e.dateEnv.toDate(e.currentDate)}formatDate(e,t){let{dateEnv:n}=this.getCurrentData();return n.format(n.createMarker(e),dn(t))}formatRange(e,t,n){let{dateEnv:i}=this.getCurrentData();return i.formatRange(i.createMarker(e),i.createMarker(t),dn(n),n)}formatIso(e,t){let{dateEnv:n}=this.getCurrentData();return n.formatIso(n.createMarker(e),{omitTime:t})}select(e,t){let n;n=null==t?null!=e.start?e:{start:e,end:null}:{start:e,end:t};let i=this.getCurrentData(),r=vr(n,i.dateEnv,St({days:1}));r&&(this.dispatch({type:"SELECT_DATES",selection:r}),Ui(r,null,i))}unselect(e){let t=this.getCurrentData();t.dateSelection&&(this.dispatch({type:"UNSELECT_DATES"}),function(e,t){t.emitter.trigger("unselect",{jsEvent:e?e.origEvent:null,view:t.viewApi||t.calendarApi.view})}(e,t))}addEvent(e,t){if(e instanceof Ji){let t=e._def,n=e._instance;return this.getCurrentData().eventStore.defs[t.defId]||(this.dispatch({type:"ADD_EVENTS",eventStore:Ei({def:t,instance:n})}),this.triggerEventAdd(e)),e}let n,i=this.getCurrentData();if(t instanceof Zi)n=t.internalEventSource;else if("boolean"==typeof t)t&&([n]=Tn(i.eventSources));else if(null!=t){let e=this.getEventSourceById(t);if(!e)return console.warn(`Could not find an event source with ID "${t}"`),null;n=e.internalEventSource}let r=yi(e,n,i,!1);if(r){let e=new Ji(i,r.def,r.def.recurringDef?null:r.instance);return this.dispatch({type:"ADD_EVENTS",eventStore:Ei(r)}),this.triggerEventAdd(e),e}return null}triggerEventAdd(e){let{emitter:t}=this.getCurrentData();t.trigger("eventAdd",{event:e,relatedEvents:[],revert:()=>{this.dispatch({type:"REMOVE_EVENTS",eventStore:Ki(e)})}})}getEventById(e){let t=this.getCurrentData(),{defs:n,instances:i}=t.eventStore;e=String(e);for(let r in n){let o=n[r];if(o.publicId===e){if(o.recurringDef)return new Ji(t,o,null);for(let e in i){let n=i[e];if(n.defId===o.defId)return new Ji(t,o,n)}}}return null}getEvents(){let e=this.getCurrentData();return er(e.eventStore,e)}removeAllEvents(){this.dispatch({type:"REMOVE_ALL_EVENTS"})}getEventSources(){let e=this.getCurrentData(),t=e.eventSources,n=[];for(let i in t)n.push(new Zi(e,t[i]));return n}getEventSourceById(e){let t=this.getCurrentData(),n=t.eventSources;e=String(e);for(let i in n)if(n[i].publicId===e)return new Zi(t,n[i]);return null}addEventSource(e){let t=this.getCurrentData();if(e instanceof Zi)return t.eventSources[e.internalEventSource.sourceId]||this.dispatch({type:"ADD_EVENT_SOURCES",sources:[e.internalEventSource]}),e;let n=Pi(e,t);return n?(this.dispatch({type:"ADD_EVENT_SOURCES",sources:[n]}),new Zi(t,n)):null}removeAllEventSources(){this.dispatch({type:"REMOVE_ALL_EVENT_SOURCES"})}refetchEvents(){this.dispatch({type:"FETCH_EVENT_SOURCES",isRefetch:!0})}scrollToTime(e){let t=St(e);t&&this.trigger("_scrollRequest",{time:t})}}function Mr(e,t){return e.left>=t.left&&e.left<t.right&&e.top>=t.top&&e.top<t.bottom}function Ir(e,t){let n={left:Math.max(e.left,t.left),right:Math.min(e.right,t.right),top:Math.max(e.top,t.top),bottom:Math.min(e.bottom,t.bottom)};return n.left<n.right&&n.top<n.bottom&&n}const Or={defs:{},instances:{}};class Rr{constructor(){this.getKeysForEventDefs=Yt(this._getKeysForEventDefs),this.splitDateSelection=Yt(this._splitDateSpan),this.splitEventStore=Yt(this._splitEventStore),this.splitIndividualUi=Yt(this._splitIndividualUi),this.splitEventDrag=Yt(this._splitInteraction),this.splitEventResize=Yt(this._splitInteraction),this.eventUiBuilders={}}splitProps(e){let t=this.getKeyInfo(e),n=this.getKeysForEventDefs(e.eventStore),i=this.splitDateSelection(e.dateSelection),r=this.splitIndividualUi(e.eventUiBases,n),o=this.splitEventStore(e.eventStore,n),s=this.splitEventDrag(e.eventDrag),a=this.splitEventResize(e.eventResize),l={};this.eventUiBuilders=xn(t,(e,t)=>this.eventUiBuilders[t]||Yt(Nr));for(let n in t){let c=t[n],d=o[n]||Or,u=this.eventUiBuilders[n];l[n]={businessHours:c.businessHours||e.businessHours,dateSelection:i[n]||null,eventStore:d,eventUiBases:u(e.eventUiBases[""],c.ui,r[n]),eventSelection:d.instances[e.eventSelection]?e.eventSelection:"",eventDrag:s[n]||null,eventResize:a[n]||null}}return l}_splitDateSpan(e){let t={};if(e){let n=this.getKeysForDateSpan(e);for(let i of n)t[i]=e}return t}_getKeysForEventDefs(e){return xn(e.defs,e=>this.getKeysForEventDef(e))}_splitEventStore(e,t){let{defs:n,instances:i}=e,r={};for(let e in n)for(let i of t[e])r[i]||(r[i]=xi()),r[i].defs[e]=n[e];for(let e in i){let n=i[e];for(let i of t[n.defId])r[i]&&(r[i].instances[e]=n)}return r}_splitIndividualUi(e,t){let n={};for(let i in e)if(i)for(let r of t[i])n[r]||(n[r]={}),n[r][i]=e[i];return n}_splitInteraction(e){let t={};if(e){let n=this._splitEventStore(e.affectedEvents,this._getKeysForEventDefs(e.affectedEvents)),i=this._getKeysForEventDefs(e.mutatedEvents),r=this._splitEventStore(e.mutatedEvents,i),o=i=>{t[i]||(t[i]={affectedEvents:n[i]||Or,mutatedEvents:r[i]||Or,isEvent:e.isEvent})};for(let e in n)o(e);for(let e in r)o(e)}return t}}function Nr(e,t,n){let i=[];e&&i.push(e),t&&i.push(t);let r={"":Oi(i)};return n&&Object.assign(r,n),r}function Pr(e,t,n,i){return{dow:e.getUTCDay(),isDisabled:Boolean(i&&(!i.activeRange||!ai(i.activeRange,e))),isOther:Boolean(i&&!ai(i.currentRange,e)),isToday:Boolean(t&&ai(t,e)),isPast:Boolean(n?e<n:!!t&&e<t.start),isFuture:Boolean(n?e>n:!!t&&e>=t.end)}}function Lr(e,t){let n=["fc-day",`fc-day-${_t[e.dow]}`];return e.isDisabled?n.push("fc-day-disabled"):(e.isToday&&(n.push("fc-day-today"),n.push(t.getClass("today"))),e.isPast&&n.push("fc-day-past"),e.isFuture&&n.push("fc-day-future"),e.isOther&&n.push("fc-day-other")),n}const jr=dn({year:"numeric",month:"long",day:"numeric"}),Hr=dn({week:"long"});function zr(e,t,n="day",i=!0){const{dateEnv:r,options:o,calendarApi:s}=e;let a=r.format(t,"week"===n?Hr:jr);if(o.navLinks){let e=r.toDate(t);const l=e=>{let i="day"===n?o.navLinkDayClick:"week"===n?o.navLinkWeekClick:null;"function"==typeof i?i.call(s,r.toDate(t),e):("string"==typeof i&&(n=i),s.zoomTo(t,n))};return Object.assign({title:gt(o.navLinkHint,[a,e],a),"data-navlink":""},i?at(l):{onClick:l})}return{"aria-label":a}}let Fr,Br=null;function Wr(){return null===Br&&(Br=function(){let e=document.createElement("div");Ke(e,{position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}),e.innerHTML="<div></div>",document.body.appendChild(e);let t=e.firstChild.getBoundingClientRect().left>e.getBoundingClientRect().left;return Qe(e),t}()),Br}function $r(){return Fr||(Fr=function(){let e=document.createElement("div");e.style.overflow="scroll",e.style.position="absolute",e.style.top="-9999px",e.style.left="-9999px",document.body.appendChild(e);let t=qr(e);return document.body.removeChild(e),t}()),Fr}function qr(e){return{x:e.offsetHeight-e.clientHeight,y:e.offsetWidth-e.clientWidth}}function Ur(e,t=!1,n){let i=n?e.getBoundingClientRect():Gr(e),r=function(e,t=!1){let n=window.getComputedStyle(e),i=parseInt(n.borderLeftWidth,10)||0,r=parseInt(n.borderRightWidth,10)||0,o=parseInt(n.borderTopWidth,10)||0,s=parseInt(n.borderBottomWidth,10)||0,a=qr(e),l=a.y-i-r,c={borderLeft:i,borderRight:r,borderTop:o,borderBottom:s,scrollbarBottom:a.x-o-s,scrollbarLeft:0,scrollbarRight:0};return Wr()&&"rtl"===n.direction?c.scrollbarLeft=l:c.scrollbarRight=l,t&&(c.paddingLeft=parseInt(n.paddingLeft,10)||0,c.paddingRight=parseInt(n.paddingRight,10)||0,c.paddingTop=parseInt(n.paddingTop,10)||0,c.paddingBottom=parseInt(n.paddingBottom,10)||0),c}(e,t),o={left:i.left+r.borderLeft+r.scrollbarLeft,right:i.right-r.borderRight-r.scrollbarRight,top:i.top+r.borderTop,bottom:i.bottom-r.borderBottom-r.scrollbarBottom};return t&&(o.left+=r.paddingLeft,o.right-=r.paddingRight,o.top+=r.paddingTop,o.bottom-=r.paddingBottom),o}function Gr(e){let t=e.getBoundingClientRect();return{left:t.left+window.scrollX,top:t.top+window.scrollY,right:t.right+window.scrollX,bottom:t.bottom+window.scrollY}}function Vr(e){let t=[];for(;e instanceof HTMLElement;){let n=window.getComputedStyle(e);if("fixed"===n.position)break;/(auto|scroll)/.test(n.overflow+n.overflowY+n.overflowX)&&t.push(e),e=e.parentNode}return t}class Yr{constructor(e,t,n,i){this.els=t;let r=this.originClientRect=e.getBoundingClientRect();n&&this.buildElHorizontals(r.left),i&&this.buildElVerticals(r.top)}buildElHorizontals(e){let t=[],n=[];for(let i of this.els){let r=i.getBoundingClientRect();t.push(r.left-e),n.push(r.right-e)}this.lefts=t,this.rights=n}buildElVerticals(e){let t=[],n=[];for(let i of this.els){let r=i.getBoundingClientRect();t.push(r.top-e),n.push(r.bottom-e)}this.tops=t,this.bottoms=n}leftToIndex(e){let t,{lefts:n,rights:i}=this,r=n.length;for(t=0;t<r;t+=1)if(e>=n[t]&&e<i[t])return t}topToIndex(e){let t,{tops:n,bottoms:i}=this,r=n.length;for(t=0;t<r;t+=1)if(e>=n[t]&&e<i[t])return t}getWidth(e){return this.rights[e]-this.lefts[e]}getHeight(e){return this.bottoms[e]-this.tops[e]}similarTo(e){return Qr(this.tops||[],e.tops||[])&&Qr(this.bottoms||[],e.bottoms||[])&&Qr(this.lefts||[],e.lefts||[])&&Qr(this.rights||[],e.rights||[])}}function Qr(e,t){const n=e.length;if(n!==t.length)return!1;for(let i=0;i<n;i++)if(Math.round(e[i])!==Math.round(t[i]))return!1;return!0}class Xr{getMaxScrollTop(){return this.getScrollHeight()-this.getClientHeight()}getMaxScrollLeft(){return this.getScrollWidth()-this.getClientWidth()}canScrollVertically(){return this.getMaxScrollTop()>0}canScrollHorizontally(){return this.getMaxScrollLeft()>0}canScrollUp(){return this.getScrollTop()>0}canScrollDown(){return this.getScrollTop()<this.getMaxScrollTop()}canScrollLeft(){return this.getScrollLeft()>0}canScrollRight(){return this.getScrollLeft()<this.getMaxScrollLeft()}}class Zr extends Xr{constructor(e){super(),this.el=e}getScrollTop(){return this.el.scrollTop}getScrollLeft(){return this.el.scrollLeft}setScrollTop(e){this.el.scrollTop=e}setScrollLeft(e){this.el.scrollLeft=e}getScrollWidth(){return this.el.scrollWidth}getScrollHeight(){return this.el.scrollHeight}getClientHeight(){return this.el.clientHeight}getClientWidth(){return this.el.clientWidth}}class Jr extends Xr{getScrollTop(){return window.scrollY}getScrollLeft(){return window.scrollX}setScrollTop(e){window.scroll(window.scrollX,e)}setScrollLeft(e){window.scroll(e,window.scrollY)}getScrollWidth(){return document.documentElement.scrollWidth}getScrollHeight(){return document.documentElement.scrollHeight}getClientHeight(){return document.documentElement.clientHeight}getClientWidth(){return document.documentElement.clientWidth}}class Kr extends Un{constructor(){super(...arguments),this.uid=dt()}prepareHits(){}queryHit(e,t,n,i){return null}isValidSegDownEl(e){return!this.props.eventDrag&&!this.props.eventResize&&!Xe(e,".fc-event-mirror")}isValidDateDownEl(e){return!(Xe(e,".fc-event:not(.fc-bg-event)")||Xe(e,".fc-more-link")||Xe(e,"a[data-navlink]")||Xe(e,".fc-popover"))}}class eo{constructor(e=e=>e.thickness||1){this.getEntryThickness=e,this.strictOrder=!1,this.allowReslicing=!1,this.maxCoord=-1,this.maxStackCnt=-1,this.levelCoords=[],this.entriesByLevel=[],this.stackCnts={}}addSegs(e){let t=[];for(let n of e)this.insertEntry(n,t);return t}insertEntry(e,t){let n=this.findInsertion(e);this.isInsertionValid(n,e)?this.insertEntryAt(e,n):this.handleInvalidInsertion(n,e,t)}isInsertionValid(e,t){return(-1===this.maxCoord||e.levelCoord+this.getEntryThickness(t)<=this.maxCoord)&&(-1===this.maxStackCnt||e.stackCnt<this.maxStackCnt)}handleInvalidInsertion(e,t,n){if(this.allowReslicing&&e.touchingEntry){const i=Object.assign(Object.assign({},t),{span:ro(t.span,e.touchingEntry.span)});n.push(i),this.splitEntry(t,e.touchingEntry,n)}else n.push(t)}splitEntry(e,t,n){let i=e.span,r=t.span;i.start<r.start&&this.insertEntry({index:e.index,thickness:e.thickness,span:{start:i.start,end:r.start}},n),i.end>r.end&&this.insertEntry({index:e.index,thickness:e.thickness,span:{start:r.end,end:i.end}},n)}insertEntryAt(e,t){let{entriesByLevel:n,levelCoords:i}=this;-1===t.lateral?(oo(i,t.level,t.levelCoord),oo(n,t.level,[e])):oo(n[t.level],t.lateral,e),this.stackCnts[no(e)]=t.stackCnt}findInsertion(e){let{levelCoords:t,entriesByLevel:n,strictOrder:i,stackCnts:r}=this,o=t.length,s=0,a=-1,l=-1,c=null,d=0;for(let u=0;u<o;u+=1){const o=t[u];if(!i&&o>=s+this.getEntryThickness(e))break;let h,f=n[u],p=so(f,e.span.start,to),g=p[0]+p[1];for(;(h=f[g])&&h.span.start<e.span.end;){let e=o+this.getEntryThickness(h);e>s&&(s=e,c=h,a=u,l=g),e===s&&(d=Math.max(d,r[no(h)]+1)),g+=1}}let u=0;if(c)for(u=a+1;u<o&&t[u]<s;)u+=1;let h=-1;return u<o&&t[u]===s&&(h=so(n[u],e.span.end,to)[0]),{touchingLevel:a,touchingLateral:l,touchingEntry:c,stackCnt:d,levelCoord:s,level:u,lateral:h}}toRects(){let{entriesByLevel:e,levelCoords:t}=this,n=e.length,i=[];for(let r=0;r<n;r+=1){let n=e[r],o=t[r];for(let e of n)i.push(Object.assign(Object.assign({},e),{thickness:this.getEntryThickness(e),levelCoord:o}))}return i}}function to(e){return e.span.end}function no(e){return e.index+":"+e.span.start}function io(e,t){return{start:Math.min(e.start,t.start),end:Math.max(e.end,t.end)}}function ro(e,t){let n=Math.max(e.start,t.start),i=Math.min(e.end,t.end);return n<i?{start:n,end:i}:null}function oo(e,t,n){e.splice(t,0,n)}function so(e,t,n){let i=0,r=e.length;if(!r||t<n(e[i]))return[0,0];if(t>n(e[r-1]))return[r,0];for(;i<r;){let o=Math.floor(i+(r-i)/2),s=n(e[o]);if(t<s)r=o;else{if(!(t>s))return[o,1];i=o+1}}return[i,0]}class ao{constructor(e,t){this.emitter=new Wi}destroy(){}setMirrorIsVisible(e){}setMirrorNeedsRevert(e){}setAutoScrollEnabled(e){}}const lo={};Boolean;const co="fc-col-header-cell";function uo(e){return e.text}class ho extends Un{render(){let{dateEnv:e,options:t,theme:n,viewApi:i}=this.context,{props:r}=this,{date:o,dateProfile:s}=r,a=Pr(o,r.todayRange,null,s),l=[co].concat(Lr(a,n)),c=e.format(o,r.dayHeaderFormat),d=!a.isDisabled&&r.colCnt>1?zr(this.context,o):{},u=e.toDate(o);e.namedTimeZoneImpl&&(u=Ot(u,36e5));let h=Object.assign(Object.assign(Object.assign({date:u,view:i},r.extraRenderProps),{text:c}),a);return T(Jn,{elTag:"th",elClasses:l,elAttrs:Object.assign({role:"columnheader",colSpan:r.colSpan,"data-date":a.isDisabled?void 0:Ut(o)},r.extraDataAttrs),renderProps:h,generatorName:"dayHeaderContent",customGenerator:t.dayHeaderContent,defaultGenerator:uo,classNameGenerator:t.dayHeaderClassNames,didMount:t.dayHeaderDidMount,willUnmount:t.dayHeaderWillUnmount},e=>T("div",{className:"fc-scrollgrid-sync-inner"},!a.isDisabled&&T(e,{elTag:"a",elAttrs:d,elClasses:["fc-col-header-cell-cushion",r.isSticky&&"fc-sticky"]})))}}const fo=dn({weekday:"long"});class po extends Un{render(){let{props:e}=this,{dateEnv:t,theme:n,viewApi:i,options:r}=this.context,o=It(new Date(2592e5),e.dow),s={dow:e.dow,isDisabled:!1,isFuture:!1,isPast:!1,isToday:!1,isOther:!1},a=t.format(o,e.dayHeaderFormat),l=Object.assign(Object.assign(Object.assign(Object.assign({date:o},s),{view:i}),e.extraRenderProps),{text:a});return T(Jn,{elTag:"th",elClasses:[co,...Lr(s,n),...e.extraClassNames||[]],elAttrs:Object.assign({role:"columnheader",colSpan:e.colSpan},e.extraDataAttrs),renderProps:l,generatorName:"dayHeaderContent",customGenerator:r.dayHeaderContent,defaultGenerator:uo,classNameGenerator:r.dayHeaderClassNames,didMount:r.dayHeaderDidMount,willUnmount:r.dayHeaderWillUnmount},n=>T("div",{className:"fc-scrollgrid-sync-inner"},T(n,{elTag:"a",elClasses:["fc-col-header-cell-cushion",e.isSticky&&"fc-sticky"],elAttrs:{"aria-label":t.format(o,fo)}})))}}class go extends Un{constructor(){super(...arguments),this.createDayHeaderFormatter=Yt(mo)}render(){let{context:e}=this,{dates:t,dateProfile:n,datesRepDistinctDays:i,renderIntro:r}=this.props,o=this.createDayHeaderFormatter(e.options.dayHeaderFormat,i,t.length);return T(Tr,{unit:"day"},(e,s)=>T("tr",{role:"row"},r&&r("day"),t.map(e=>i?T(ho,{key:e.toISOString(),date:e,dateProfile:n,todayRange:s,colCnt:t.length,dayHeaderFormat:o}):T(po,{key:e.getUTCDay(),dow:e.getUTCDay(),dayHeaderFormat:o}))))}}function mo(e,t,n){return e||function(e,t){return dn(!e||t>10?{weekday:"short"}:t>1?{weekday:"short",month:"numeric",day:"numeric",omitCommas:!0}:{weekday:"long"})}(t,n)}class vo{constructor(e,t){let n=e.start,{end:i}=e,r=[],o=[],s=-1;for(;n<i;)t.isHiddenDay(n)?r.push(s+.5):(s+=1,r.push(s),o.push(n)),n=It(n,1);this.dates=o,this.indices=r,this.cnt=o.length}sliceRange(e){let t=this.getDateDayIndex(e.start),n=this.getDateDayIndex(It(e.end,-1)),i=Math.max(0,t),r=Math.min(this.cnt-1,n);return i=Math.ceil(i),r=Math.floor(r),i<=r?{firstIndex:i,lastIndex:r,isStart:t===i,isEnd:n===r}:null}getDateDayIndex(e){let{indices:t}=this,n=Math.floor(Rt(this.dates[0],e));return n<0?t[0]-1:n>=t.length?t[t.length-1]+1:t[n]}}class yo{constructor(e,t){let n,i,r,{dates:o}=e;if(t){for(i=o[0].getUTCDay(),n=1;n<o.length&&o[n].getUTCDay()!==i;n+=1);r=Math.ceil(o.length/n)}else r=1,n=o.length;this.rowCnt=r,this.colCnt=n,this.daySeries=e,this.cells=this.buildCells(),this.headerDates=this.buildHeaderDates()}buildCells(){let e=[];for(let t=0;t<this.rowCnt;t+=1){let n=[];for(let e=0;e<this.colCnt;e+=1)n.push(this.buildCell(t,e));e.push(n)}return e}buildCell(e,t){let n=this.daySeries.dates[e*this.colCnt+t];return{key:n.toISOString(),date:n}}buildHeaderDates(){let e=[];for(let t=0;t<this.colCnt;t+=1)e.push(this.cells[0][t].date);return e}sliceRange(e){let{colCnt:t}=this,n=this.daySeries.sliceRange(e),i=[];if(n){let{firstIndex:e,lastIndex:r}=n,o=e;for(;o<=r;){let s=Math.floor(o/t),a=Math.min((s+1)*t,r+1);i.push({row:s,firstCol:o%t,lastCol:(a-1)%t,isStart:n.isStart&&o===e,isEnd:n.isEnd&&a-1===r}),o=a}}return i}}class bo{constructor(){this.sliceBusinessHours=Yt(this._sliceBusinessHours),this.sliceDateSelection=Yt(this._sliceDateSpan),this.sliceEventStore=Yt(this._sliceEventStore),this.sliceEventDrag=Yt(this._sliceInteraction),this.sliceEventResize=Yt(this._sliceInteraction),this.forceDayIfListItem=!1}sliceProps(e,t,n,i,...r){let{eventUiBases:o}=e,s=this.sliceEventStore(e.eventStore,o,t,n,...r);return{dateSelectionSegs:this.sliceDateSelection(e.dateSelection,t,n,o,i,...r),businessHourSegs:this.sliceBusinessHours(e.businessHours,t,n,i,...r),fgEventSegs:s.fg,bgEventSegs:s.bg,eventDrag:this.sliceEventDrag(e.eventDrag,o,t,n,...r),eventResize:this.sliceEventResize(e.eventResize,o,t,n,...r),eventSelection:e.eventSelection}}sliceNowDate(e,t,n,i,...r){return this._sliceDateSpan({range:{start:e,end:Ot(e,1)},allDay:!1},t,n,{},i,...r)}_sliceBusinessHours(e,t,n,i,...r){return e?this._sliceEventStore(fi(e,wo(t,Boolean(n)),i),{},t,n,...r).bg:[]}_sliceEventStore(e,t,n,i,...r){if(e){let o=tr(e,t,wo(n,Boolean(i)),i);return{bg:this.sliceEventRanges(o.bg,r),fg:this.sliceEventRanges(o.fg,r)}}return{bg:[],fg:[]}}_sliceInteraction(e,t,n,i,...r){if(!e)return null;let o=tr(e.mutatedEvents,t,wo(n,Boolean(i)),i);return{segs:this.sliceEventRanges(o.fg,r),affectedInstances:e.affectedEvents.instances,isEvent:e.isEvent}}_sliceDateSpan(e,t,n,i,r,...o){if(!e)return[];let s=wo(t,Boolean(n)),a=ri(e.range,s);if(a){let t=function(e,t,n){let i=bi({editable:!1},n),r=Si(i.refined,i.extra,"",e.allDay,!0,n);return{def:r,ui:or(r,t),instance:hi(r.defId,e.range),range:e.range,isStart:!0,isEnd:!0}}(e=Object.assign(Object.assign({},e),{range:a}),i,r),n=this.sliceRange(e.range,...o);for(let e of n)e.eventRange=t;return n}return[]}sliceEventRanges(e,t){let n=[];for(let i of e)n.push(...this.sliceEventRange(i,t));return n}sliceEventRange(e,t){let n=e.range;this.forceDayIfListItem&&"list-item"===e.ui.display&&(n={start:n.start,end:It(n.start,1)});let i=this.sliceRange(n,...t);for(let t of i)t.eventRange=e,t.isStart=e.isStart&&t.isStart,t.isEnd=e.isEnd&&t.isEnd;return i}}function wo(e,t){let n=e.activeRange;return t?n:{start:Ot(n.start,e.slotMinTime.milliseconds),end:Ot(n.end,e.slotMaxTime.milliseconds-864e5)}}function So(e,t,n){let{instances:i}=e.mutatedEvents;for(let e in i)if(!si(t.validRange,i[e].range))return!1;return Co({eventDrag:e},n)}function Co(e,t){let n=t.getCurrentData(),i=Object.assign({businessHours:n.businessHours,dateSelection:"",eventStore:n.eventStore,eventUiBases:n.eventUiBases,eventSelection:"",eventDrag:null,eventResize:null},e);return(t.pluginHooks.isPropsValid||Eo)(i,t)}function Eo(e,t,n={},i){return!(e.eventDrag&&!function(e,t,n,i){let r=t.getCurrentData(),o=e.eventDrag,s=o.mutatedEvents,a=s.defs,l=s.instances,c=rr(a,o.isEvent?e.eventUiBases:{"":r.selectionConfig});i&&(c=xn(c,i));let d=(p=e.eventStore,g=o.affectedEvents.instances,{defs:p.defs,instances:An(p.instances,e=>!g[e.instanceId])}),u=d.defs,h=d.instances,f=rr(u,e.eventUiBases);var p,g;for(let i in l){let s=l[i],p=s.range,g=c[s.defId],m=a[s.defId];if(!Ao(g.constraints,p,d,e.businessHours,t))return!1;let{eventOverlap:v}=t.options,y="function"==typeof v?v:null;for(let e in h){let n=h[e];if(oi(p,n.range)){if(!1===f[n.defId].overlap&&o.isEvent)return!1;if(!1===g.overlap)return!1;if(y&&!y(new Ji(t,u[n.defId],n),new Ji(t,m,s)))return!1}}let b=r.eventStore;for(let e of g.allows){let r,o=Object.assign(Object.assign({},n),{range:s.range,allDay:m.allDay}),a=b.defs[m.defId],l=b.instances[i];if(r=a?new Ji(t,a,l):new Ji(t,m),!e(Gi(o,t),r))return!1}}return!0}(e,t,n,i))&&!(e.dateSelection&&!function(e,t,n,i){let r=e.eventStore,o=r.defs,s=r.instances,a=e.dateSelection,l=a.range,{selectionConfig:c}=t.getCurrentData();i&&(c=i(c));if(!Ao(c.constraints,l,r,e.businessHours,t))return!1;let{selectOverlap:d}=t.options,u="function"==typeof d?d:null;for(let e in s){let n=s[e];if(oi(l,n.range)){if(!1===c.overlap)return!1;if(u&&!u(new Ji(t,o[n.defId],n),null))return!1}}for(let e of c.allows){if(!e(Gi(Object.assign(Object.assign({},n),a),t),null))return!1}return!0}(e,t,n,i))}function Ao(e,t,n,i,r){for(let o of e)if(!To(xo(o,t,n,i,r),t))return!1;return!0}function xo(e,t,n,i,r){return"businessHours"===e?Do(fi(i,t,r)):"string"==typeof e?Do(Ti(n,t=>t.groupId===e)):"object"==typeof e&&e?Do(fi(e,t,r)):[]}function Do(e){let{instances:t}=e,n=[];for(let e in t)n.push(t[e].range);return n}function To(e,t){for(let n of e)if(si(n,t))return!0;return!1}const ko=/^(visible|hidden)$/;class _o extends Un{constructor(){super(...arguments),this.handleEl=e=>{this.el=e,Gn(this.props.elRef,e)}}render(){let{props:e}=this,{liquid:t,liquidIsAbsolute:n}=e,i=t&&n,r=["fc-scroller"];return t&&(n?r.push("fc-scroller-liquid-absolute"):r.push("fc-scroller-liquid")),T("div",{ref:this.handleEl,className:r.join(" "),style:{overflowX:e.overflowX,overflowY:e.overflowY,left:i&&-(e.overcomeLeft||0)||"",right:i&&-(e.overcomeRight||0)||"",bottom:i&&-(e.overcomeBottom||0)||"",marginLeft:!i&&-(e.overcomeLeft||0)||"",marginRight:!i&&-(e.overcomeRight||0)||"",marginBottom:!i&&-(e.overcomeBottom||0)||"",maxHeight:e.maxHeight||""}},e.children)}needsXScrolling(){if(ko.test(this.props.overflowX))return!1;let{el:e}=this,t=this.el.getBoundingClientRect().width-this.getYScrollbarWidth(),{children:n}=e;for(let e=0;e<n.length;e+=1){if(n[e].getBoundingClientRect().width>t)return!0}return!1}needsYScrolling(){if(ko.test(this.props.overflowY))return!1;let{el:e}=this,t=this.el.getBoundingClientRect().height-this.getXScrollbarWidth(),{children:n}=e;for(let e=0;e<n.length;e+=1){if(n[e].getBoundingClientRect().height>t)return!0}return!1}getXScrollbarWidth(){return ko.test(this.props.overflowX)?0:this.el.offsetHeight-this.el.clientHeight}getYScrollbarWidth(){return ko.test(this.props.overflowY)?0:this.el.offsetWidth-this.el.clientWidth}}class Mo{constructor(e){this.masterCallback=e,this.currentMap={},this.depths={},this.callbackMap={},this.handleValue=(e,t)=>{let{depths:n,currentMap:i}=this,r=!1,o=!1;null!==e?(r=t in i,i[t]=e,n[t]=(n[t]||0)+1,o=!0):(n[t]-=1,n[t]||(delete i[t],delete this.callbackMap[t],r=!0)),this.masterCallback&&(r&&this.masterCallback(null,String(t)),o&&this.masterCallback(e,String(t)))}}createRef(e){let t=this.callbackMap[e];return t||(t=this.callbackMap[e]=t=>{this.handleValue(t,String(e))}),t}collect(e,t,n){return function(e,t=0,n,i=1){let r=[];null==n&&(n=Object.keys(e).length);for(let o=t;o<n;o+=i){let t=e[o];void 0!==t&&r.push(t)}return r}(this.currentMap,e,t,n)}getAll(){return Tn(this.currentMap)}}function Io(e){let t=function(e,t){let n=e instanceof HTMLElement?[e]:e,i=[];for(let e=0;e<n.length;e+=1){let r=n[e].querySelectorAll(t);for(let e=0;e<r.length;e+=1)i.push(r[e])}return i}(e,".fc-scrollgrid-shrink"),n=0;for(let e of t)n=Math.max(n,yt(e));return Math.ceil(n)}function Oo(e,t){return e.liquid&&t.liquid}function Ro(e,t){return kt(e,t,kn)}function No(e,t){let n=[];for(let i of e){let e=i.span||1;for(let r=0;r<e;r+=1)n.push(T("col",{style:{width:"shrink"===i.width?Po(t):i.width||"",minWidth:i.minWidth||""}}))}return T("colgroup",{},...n)}function Po(e){return null==e?4:e}function Lo(e,t){let n=["fc-scrollgrid-section",`fc-scrollgrid-section-${e.type}`,e.className];return t&&e.liquid&&null==e.maxHeight&&n.push("fc-scrollgrid-section-liquid"),e.isSticky&&n.push("fc-scrollgrid-section-sticky"),n}function jo(e){return T("div",{className:"fc-scrollgrid-sticky-shim",style:{width:e.clientWidth,minWidth:e.tableMinWidth}})}function Ho(e){let{stickyHeaderDates:t}=e;return null!=t&&"auto"!==t||(t="auto"===e.height||"auto"===e.viewHeight),t}function zo(e){let{stickyFooterScrollbar:t}=e;return null!=t&&"auto"!==t||(t="auto"===e.height||"auto"===e.viewHeight),t}class Fo extends Un{constructor(){super(...arguments),this.processCols=Yt(e=>e,Ro),this.renderMicroColGroup=Yt(No),this.scrollerRefs=new Mo,this.scrollerElRefs=new Mo(this._handleScrollerEl.bind(this)),this.state={shrinkWidth:null,forceYScrollbars:!1,scrollerClientWidths:{},scrollerClientHeights:{}},this.handleSizing=()=>{this.safeSetState(Object.assign({shrinkWidth:this.computeShrinkWidth()},this.computeScrollerDims()))}}render(){let{props:e,state:t,context:n}=this,i=e.sections||[],r=this.processCols(e.cols),o=this.renderMicroColGroup(r,t.shrinkWidth),s=function(e,t){let n=["fc-scrollgrid",t.theme.getClass("table")];return e&&n.push("fc-scrollgrid-liquid"),n}(e.liquid,n);e.collapsibleWidth&&s.push("fc-scrollgrid-collapsible");let a,l=i.length,c=0,d=[],u=[],h=[];for(;c<l&&"header"===(a=i[c]).type;)d.push(this.renderSection(a,o,!0)),c+=1;for(;c<l&&"body"===(a=i[c]).type;)u.push(this.renderSection(a,o,!1)),c+=1;for(;c<l&&"footer"===(a=i[c]).type;)h.push(this.renderSection(a,o,!0)),c+=1;let f=!Cr();const p={role:"rowgroup"};return T("table",{role:"grid",className:s.join(" "),style:{height:e.height}},Boolean(!f&&d.length)&&T("thead",p,...d),Boolean(!f&&u.length)&&T("tbody",p,...u),Boolean(!f&&h.length)&&T("tfoot",p,...h),f&&T("tbody",p,...d,...u,...h))}renderSection(e,t,n){return"outerContent"in e?T(_,{key:e.key},e.outerContent):T("tr",{key:e.key,role:"presentation",className:Lo(e,this.props.liquid).join(" ")},this.renderChunkTd(e,t,e.chunk,n))}renderChunkTd(e,t,n,i){if("outerContent"in n)return n.outerContent;let{props:r}=this,{forceYScrollbars:o,scrollerClientWidths:s,scrollerClientHeights:a}=this.state,l=function(e,t){return null!=t.maxHeight||Oo(e,t)}(r,e),c=Oo(r,e),d=r.liquid?o?"scroll":l?"auto":"hidden":"visible",u=e.key,h=function(e,t,n,i){let{expandRows:r}=n;return"function"==typeof t.content?t.content(n):T("table",{role:"presentation",className:[t.tableClassName,e.syncRowHeights?"fc-scrollgrid-sync-table":""].join(" "),style:{minWidth:n.tableMinWidth,width:n.clientWidth,height:r?n.clientHeight:""}},n.tableColGroupNode,T(i?"thead":"tbody",{role:"presentation"},"function"==typeof t.rowContent?t.rowContent(n):t.rowContent))}(e,n,{tableColGroupNode:t,tableMinWidth:"",clientWidth:r.collapsibleWidth||void 0===s[u]?null:s[u],clientHeight:void 0!==a[u]?a[u]:null,expandRows:e.expandRows,syncRowHeights:!1,rowSyncHeights:[],reportRowHeightChange:()=>{}},i);return T(i?"th":"td",{ref:n.elRef,role:"presentation"},T("div",{className:"fc-scroller-harness"+(c?" fc-scroller-harness-liquid":"")},T(_o,{ref:this.scrollerRefs.createRef(u),elRef:this.scrollerElRefs.createRef(u),overflowY:d,overflowX:r.liquid?"hidden":"visible",maxHeight:e.maxHeight,liquid:c,liquidIsAbsolute:!0},h)))}_handleScrollerEl(e,t){let n=function(e,t){for(let n of e)if(n.key===t)return n;return null}(this.props.sections,t);n&&Gn(n.chunk.scrollerElRef,e)}componentDidMount(){this.handleSizing(),this.context.addResizeHandler(this.handleSizing)}componentDidUpdate(){this.handleSizing()}componentWillUnmount(){this.context.removeResizeHandler(this.handleSizing)}computeShrinkWidth(){return function(e){for(let t of e)if("shrink"===t.width)return!0;return!1}(this.props.cols)?Io(this.scrollerElRefs.getAll()):0}computeScrollerDims(){let e=$r(),{scrollerRefs:t,scrollerElRefs:n}=this,i=!1,r={},o={};for(let e in t.currentMap){let n=t.currentMap[e];if(n&&n.needsYScrolling()){i=!0;break}}for(let t of this.props.sections){let s=t.key,a=n.currentMap[s];if(a){let t=a.parentNode;r[s]=Math.floor(t.getBoundingClientRect().width-(i?e.y:0)),o[s]=Math.floor(t.getBoundingClientRect().height)}}return{forceYScrollbars:i,scrollerClientWidths:r,scrollerClientHeights:o}}}Fo.addStateEquality({scrollerClientWidths:kn,scrollerClientHeights:kn});class Bo extends Un{constructor(){super(...arguments),this.buildPublicEvent=Yt((e,t,n)=>new Ji(e,t,n)),this.handleEl=e=>{this.el=e,Gn(this.props.elRef,e),e&&nr(e,this.props.seg)}}render(){const{props:e,context:t}=this,{options:n}=t,{seg:i}=e,{eventRange:r}=i,{ui:o}=r,s={event:this.buildPublicEvent(t,r.def,r.instance),view:t.viewApi,timeText:e.timeText,textColor:o.textColor,backgroundColor:o.backgroundColor,borderColor:o.borderColor,isDraggable:!e.disableDragging&&lr(i,t),isStartResizable:!e.disableResizing&&cr(i,t),isEndResizable:!e.disableResizing&&dr(i),isMirror:Boolean(e.isDragging||e.isResizing||e.isDateSelecting),isStart:Boolean(i.isStart),isEnd:Boolean(i.isEnd),isPast:Boolean(e.isPast),isFuture:Boolean(e.isFuture),isToday:Boolean(e.isToday),isSelected:Boolean(e.isSelected),isDragging:Boolean(e.isDragging),isResizing:Boolean(e.isResizing)};return T(Jn,{elRef:this.handleEl,elTag:e.elTag,elAttrs:e.elAttrs,elClasses:[...fr(s),...i.eventRange.ui.classNames,...e.elClasses||[]],elStyle:e.elStyle,renderProps:s,generatorName:"eventContent",customGenerator:n.eventContent,defaultGenerator:e.defaultGenerator,classNameGenerator:n.eventClassNames,didMount:n.eventDidMount,willUnmount:n.eventWillUnmount},e.children)}componentDidUpdate(e){this.el&&this.props.seg!==e.seg&&nr(this.el,this.props.seg)}}class Wo extends Un{render(){let{props:e,context:t}=this,{options:n}=t,{seg:i}=e,{ui:r}=i.eventRange,o=ur(i,n.eventTimeFormat||e.defaultTimeFormat,t,e.defaultDisplayEventTime,e.defaultDisplayEventEnd);return T(Bo,Object.assign({},e,{elTag:"a",elStyle:{borderColor:r.borderColor,backgroundColor:r.backgroundColor},elAttrs:gr(i,t),defaultGenerator:$o,timeText:o}),(e,t)=>T(_,null,T(e,{elTag:"div",elClasses:["fc-event-main"],elStyle:{color:t.textColor}}),Boolean(t.isStartResizable)&&T("div",{className:"fc-event-resizer fc-event-resizer-start"}),Boolean(t.isEndResizable)&&T("div",{className:"fc-event-resizer fc-event-resizer-end"})))}}function $o(e){return T("div",{className:"fc-event-main-frame"},e.timeText&&T("div",{className:"fc-event-time"},e.timeText),T("div",{className:"fc-event-title-container"},T("div",{className:"fc-event-title fc-sticky"},e.event.title||T(_,null,"Â "))))}Wo.addPropsEquality({seg:kn});const qo=e=>T(Wn.Consumer,null,t=>{let{options:n}=t,i={isAxis:e.isAxis,date:t.dateEnv.toDate(e.date),view:t.viewApi};return T(Jn,{elRef:e.elRef,elTag:e.elTag||"div",elAttrs:e.elAttrs,elClasses:e.elClasses,elStyle:e.elStyle,renderProps:i,generatorName:"nowIndicatorContent",customGenerator:n.nowIndicatorContent,classNameGenerator:n.nowIndicatorClassNames,didMount:n.nowIndicatorDidMount,willUnmount:n.nowIndicatorWillUnmount},e.children)}),Uo=dn({day:"numeric"});class Go extends Un{constructor(){super(...arguments),this.refineRenderProps=Qt(Yo)}render(){let{props:e,context:t}=this,{options:n}=t,i=this.refineRenderProps({date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,isMonthStart:e.isMonthStart||!1,showDayNumber:e.showDayNumber,extraRenderProps:e.extraRenderProps,viewApi:t.viewApi,dateEnv:t.dateEnv,monthStartFormat:n.monthStartFormat});return T(Jn,{elRef:e.elRef,elTag:e.elTag,elAttrs:Object.assign(Object.assign({},e.elAttrs),i.isDisabled?{}:{"data-date":Ut(e.date)}),elClasses:[...Lr(i,t.theme),...e.elClasses||[]],elStyle:e.elStyle,renderProps:i,generatorName:"dayCellContent",customGenerator:n.dayCellContent,defaultGenerator:e.defaultGenerator,classNameGenerator:i.isDisabled?void 0:n.dayCellClassNames,didMount:n.dayCellDidMount,willUnmount:n.dayCellWillUnmount},e.children)}}function Vo(e){return Boolean(e.dayCellContent||Yn("dayCellContent",e))}function Yo(e){let{date:t,dateEnv:n,dateProfile:i,isMonthStart:r}=e,o=Pr(t,e.todayRange,null,i),s=e.showDayNumber?n.format(t,r?e.monthStartFormat:Uo):"";return Object.assign(Object.assign(Object.assign({date:n.toDate(t),view:e.viewApi},o),{isMonthStart:r,dayNumberText:s}),e.extraRenderProps)}class Qo extends Un{render(){let{props:e}=this,{seg:t}=e;return T(Bo,{elTag:"div",elClasses:["fc-bg-event"],elStyle:{backgroundColor:t.eventRange.ui.backgroundColor},defaultGenerator:Xo,seg:t,timeText:"",isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday,disableDragging:!0,disableResizing:!0})}}function Xo(e){let{title:t}=e.event;return t&&T("div",{className:"fc-event-title"},e.event.title)}function Zo(e){return T("div",{className:`fc-${e}`})}const Jo=e=>T(Wn.Consumer,null,t=>{let{dateEnv:n,options:i}=t,{date:r}=e,o=i.weekNumberFormat||e.defaultFormat,s={num:n.computeWeekNumber(r),text:n.format(r,o),date:r};return T(Jn,{elRef:e.elRef,elTag:e.elTag,elAttrs:e.elAttrs,elClasses:e.elClasses,elStyle:e.elStyle,renderProps:s,generatorName:"weekNumberContent",customGenerator:i.weekNumberContent,defaultGenerator:Ko,classNameGenerator:i.weekNumberClassNames,didMount:i.weekNumberDidMount,willUnmount:i.weekNumberWillUnmount},e.children)});function Ko(e){return e.text}class es extends Un{constructor(){super(...arguments),this.state={titleId:it()},this.handleRootEl=e=>{this.rootEl=e,this.props.elRef&&Gn(this.props.elRef,e)},this.handleDocumentMouseDown=e=>{const t=tt(e);this.rootEl.contains(t)||this.handleCloseClick()},this.handleDocumentKeyDown=e=>{"Escape"===e.key&&this.handleCloseClick()},this.handleCloseClick=()=>{let{onClose:e}=this.props;e&&e()}}render(){let{theme:e,options:t}=this.context,{props:n,state:i}=this,r=["fc-popover",e.getClass("popover")].concat(n.extraClassNames||[]);return Me(T("div",Object.assign({},n.extraAttrs,{id:n.id,className:r.join(" "),"aria-labelledby":i.titleId,ref:this.handleRootEl}),T("div",{className:"fc-popover-header "+e.getClass("popoverHeader")},T("span",{className:"fc-popover-title",id:i.titleId},n.title),T("span",{className:"fc-popover-close "+e.getIconClass("close"),title:t.closeHint,onClick:this.handleCloseClick})),T("div",{className:"fc-popover-body "+e.getClass("popoverContent")},n.children)),n.parentEl)}componentDidMount(){document.addEventListener("mousedown",this.handleDocumentMouseDown),document.addEventListener("keydown",this.handleDocumentKeyDown),this.updateSize()}componentWillUnmount(){document.removeEventListener("mousedown",this.handleDocumentMouseDown),document.removeEventListener("keydown",this.handleDocumentKeyDown)}updateSize(){let{isRtl:e}=this.context,{alignmentEl:t,alignGridTop:n}=this.props,{rootEl:i}=this,r=function(e){let t=Vr(e),n=e.getBoundingClientRect();for(let e of t){let t=Ir(n,e.getBoundingClientRect());if(!t)return null;n=t}return n}(t);if(r){let o=i.getBoundingClientRect(),s=n?Xe(t,".fc-scrollgrid").getBoundingClientRect().top:r.top,a=e?r.right-o.width:r.left;s=Math.max(s,10),a=Math.min(a,document.documentElement.clientWidth-10-o.width),a=Math.max(a,10);let l=i.offsetParent.getBoundingClientRect();Ke(i,{top:s-l.top,left:a-l.left})}}}class ts extends Kr{constructor(){super(...arguments),this.handleRootEl=e=>{this.rootEl=e,e?this.context.registerInteractiveComponent(this,{el:e,useEventCenter:!1}):this.context.unregisterInteractiveComponent(this)}}render(){let{options:e,dateEnv:t}=this.context,{props:n}=this,{startDate:i,todayRange:r,dateProfile:o}=n,s=t.format(i,e.dayPopoverFormat);return T(Go,{elRef:this.handleRootEl,date:i,dateProfile:o,todayRange:r},(t,i,r)=>T(es,{elRef:r.ref,id:n.id,title:s,extraClassNames:["fc-more-popover"].concat(r.className||[]),extraAttrs:r,parentEl:n.parentEl,alignmentEl:n.alignmentEl,alignGridTop:n.alignGridTop,onClose:n.onClose},Vo(e)&&T(t,{elTag:"div",elClasses:["fc-more-popover-misc"]}),n.children))}queryHit(e,t,n,i){let{rootEl:r,props:o}=this;return e>=0&&e<n&&t>=0&&t<i?{dateProfile:o.dateProfile,dateSpan:Object.assign({allDay:!o.forceTimed,range:{start:o.startDate,end:o.endDate}},o.extraDateSpan),dayEl:r,rect:{left:0,top:0,right:n,bottom:i},layer:1}:null}}class ns extends Un{constructor(){super(...arguments),this.state={isPopoverOpen:!1,popoverId:it()},this.handleLinkEl=e=>{this.linkEl=e,this.props.elRef&&Gn(this.props.elRef,e)},this.handleClick=e=>{let{props:t,context:n}=this,{moreLinkClick:i}=n.options,r=rs(t).start;function o(e){let{def:t,instance:i,range:r}=e.eventRange;return{event:new Ji(n,t,i),start:n.dateEnv.toDate(r.start),end:n.dateEnv.toDate(r.end),isStart:e.isStart,isEnd:e.isEnd}}"function"==typeof i&&(i=i({date:r,allDay:Boolean(t.allDayDate),allSegs:t.allSegs.map(o),hiddenSegs:t.hiddenSegs.map(o),jsEvent:e,view:n.viewApi})),i&&"popover"!==i?"string"==typeof i&&n.calendarApi.zoomTo(r,i):this.setState({isPopoverOpen:!0})},this.handlePopoverClose=()=>{this.setState({isPopoverOpen:!1})}}render(){let{props:e,state:t}=this;return T(Wn.Consumer,null,n=>{let{viewApi:i,options:r,calendarApi:o}=n,{moreLinkText:s}=r,{moreCnt:a}=e,l=rs(e),c="function"==typeof s?s.call(o,a):`+${a} ${s}`,d=gt(r.moreLinkHint,[a],c),u={num:a,shortText:`+${a}`,text:c,view:i};return T(_,null,Boolean(e.moreCnt)&&T(Jn,{elTag:e.elTag||"a",elRef:this.handleLinkEl,elClasses:[...e.elClasses||[],"fc-more-link"],elStyle:e.elStyle,elAttrs:Object.assign(Object.assign(Object.assign({},e.elAttrs),at(this.handleClick)),{title:d,"aria-expanded":t.isPopoverOpen,"aria-controls":t.isPopoverOpen?t.popoverId:""}),renderProps:u,generatorName:"moreLinkContent",customGenerator:r.moreLinkContent,defaultGenerator:e.defaultGenerator||is,classNameGenerator:r.moreLinkClassNames,didMount:r.moreLinkDidMount,willUnmount:r.moreLinkWillUnmount},e.children),t.isPopoverOpen&&T(ts,{id:t.popoverId,startDate:l.start,endDate:l.end,dateProfile:e.dateProfile,todayRange:e.todayRange,extraDateSpan:e.extraDateSpan,parentEl:this.parentEl,alignmentEl:e.alignmentElRef?e.alignmentElRef.current:this.linkEl,alignGridTop:e.alignGridTop,forceTimed:e.forceTimed,onClose:this.handlePopoverClose},e.popoverContent()))})}componentDidMount(){this.updateParentEl()}componentDidUpdate(){this.updateParentEl()}updateParentEl(){this.linkEl&&(this.parentEl=Xe(this.linkEl,".fc-view-harness"))}}function is(e){return e.text}function rs(e){if(e.allDayDate)return{start:e.allDayDate,end:It(e.allDayDate,1)};let{hiddenSegs:t}=e;return{start:os(t),end:(n=t,n.reduce(as).eventRange.range.end)};var n}function os(e){return e.reduce(ss).eventRange.range.start}function ss(e,t){return e.eventRange.range.start<t.eventRange.range.start?e:t}function as(e,t){return e.eventRange.range.end>t.eventRange.range.end?e:t}const ls=[],cs={code:"en",week:{dow:0,doy:4},direction:"ltr",buttonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",year:"year",today:"today",month:"month",week:"week",day:"day",list:"list"},weekText:"W",weekTextLong:"Week",closeHint:"Close",timeHint:"Time",eventHint:"Event",allDayText:"all-day",moreLinkText:"more",noEventsText:"No events to display"},ds=Object.assign(Object.assign({},cs),{buttonHints:{prev:"Previous $0",next:"Next $0",today:(e,t)=>"day"===t?"Today":`This ${e}`},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint:e=>`Show ${e} more event${1===e?"":"s"}`});function us(e){let t=e.length>0?e[0].code:"en",n=ls.concat(e),i={en:ds};for(let e of n)i[e.code]=e;return{map:i,defaultCode:t}}function hs(e,t){return"object"!=typeof e||Array.isArray(e)?function(e,t){let n=[].concat(e||[]),i=function(e,t){for(let n=0;n<e.length;n+=1){let i=e[n].toLocaleLowerCase().split("-");for(let e=i.length;e>0;e-=1){let n=i.slice(0,e).join("-");if(t[n])return t[n]}}return null}(n,t)||ds;return fs(e,n,i)}(e,t):fs(e.code,[e.code],e)}function fs(e,t,n){let i=En([cs,n],["buttonText"]);delete i.code;let{week:r}=i;return delete i.week,{codeArg:e,codes:t,week:r,simpleNumberFormat:new Intl.NumberFormat(e),options:i}}function ps(e){return{id:dt(),name:e.name,premiumReleaseDate:e.premiumReleaseDate?new Date(e.premiumReleaseDate):void 0,deps:e.deps||[],reducers:e.reducers||[],isLoadingFuncs:e.isLoadingFuncs||[],contextInit:[].concat(e.contextInit||[]),eventRefiners:e.eventRefiners||{},eventDefMemberAdders:e.eventDefMemberAdders||[],eventSourceRefiners:e.eventSourceRefiners||{},isDraggableTransformers:e.isDraggableTransformers||[],eventDragMutationMassagers:e.eventDragMutationMassagers||[],eventDefMutationAppliers:e.eventDefMutationAppliers||[],dateSelectionTransformers:e.dateSelectionTransformers||[],datePointTransforms:e.datePointTransforms||[],dateSpanTransforms:e.dateSpanTransforms||[],views:e.views||{},viewPropsTransformers:e.viewPropsTransformers||[],isPropsValid:e.isPropsValid||null,externalDefTransforms:e.externalDefTransforms||[],viewContainerAppends:e.viewContainerAppends||[],eventDropTransformers:e.eventDropTransformers||[],componentInteractions:e.componentInteractions||[],calendarInteractions:e.calendarInteractions||[],themeClasses:e.themeClasses||{},eventSourceDefs:e.eventSourceDefs||[],cmdFormatter:e.cmdFormatter,recurringTypes:e.recurringTypes||[],namedTimeZonedImpl:e.namedTimeZonedImpl,initialView:e.initialView||"",elementDraggingImpl:e.elementDraggingImpl,optionChangeHandlers:e.optionChangeHandlers||{},scrollGridImpl:e.scrollGridImpl||null,listenerRefiners:e.listenerRefiners||{},optionRefiners:e.optionRefiners||{},propSetHandlers:e.propSetHandlers||{}}}function gs(){let e,t=[],n=[];return(i,r)=>(e&&kt(i,t)&&kt(r,n)||(e=function(e,t){let n={},i={premiumReleaseDate:void 0,reducers:[],isLoadingFuncs:[],contextInit:[],eventRefiners:{},eventDefMemberAdders:[],eventSourceRefiners:{},isDraggableTransformers:[],eventDragMutationMassagers:[],eventDefMutationAppliers:[],dateSelectionTransformers:[],datePointTransforms:[],dateSpanTransforms:[],views:{},viewPropsTransformers:[],isPropsValid:null,externalDefTransforms:[],viewContainerAppends:[],eventDropTransformers:[],componentInteractions:[],calendarInteractions:[],themeClasses:{},eventSourceDefs:[],cmdFormatter:null,recurringTypes:[],namedTimeZonedImpl:null,initialView:"",elementDraggingImpl:null,optionChangeHandlers:{},scrollGridImpl:null,listenerRefiners:{},optionRefiners:{},propSetHandlers:{}};function r(e){for(let t of e){const e=t.name,o=n[e];void 0===o?(n[e]=t.id,r(t.deps),i=ms(i,t)):o!==t.id&&console.warn(`Duplicate plugin '${e}'`)}}return e&&r(e),r(t),i}(i,r)),t=i,n=r,e)}function ms(e,t){return{premiumReleaseDate:vs(e.premiumReleaseDate,t.premiumReleaseDate),reducers:e.reducers.concat(t.reducers),isLoadingFuncs:e.isLoadingFuncs.concat(t.isLoadingFuncs),contextInit:e.contextInit.concat(t.contextInit),eventRefiners:Object.assign(Object.assign({},e.eventRefiners),t.eventRefiners),eventDefMemberAdders:e.eventDefMemberAdders.concat(t.eventDefMemberAdders),eventSourceRefiners:Object.assign(Object.assign({},e.eventSourceRefiners),t.eventSourceRefiners),isDraggableTransformers:e.isDraggableTransformers.concat(t.isDraggableTransformers),eventDragMutationMassagers:e.eventDragMutationMassagers.concat(t.eventDragMutationMassagers),eventDefMutationAppliers:e.eventDefMutationAppliers.concat(t.eventDefMutationAppliers),dateSelectionTransformers:e.dateSelectionTransformers.concat(t.dateSelectionTransformers),datePointTransforms:e.datePointTransforms.concat(t.datePointTransforms),dateSpanTransforms:e.dateSpanTransforms.concat(t.dateSpanTransforms),views:Object.assign(Object.assign({},e.views),t.views),viewPropsTransformers:e.viewPropsTransformers.concat(t.viewPropsTransformers),isPropsValid:t.isPropsValid||e.isPropsValid,externalDefTransforms:e.externalDefTransforms.concat(t.externalDefTransforms),viewContainerAppends:e.viewContainerAppends.concat(t.viewContainerAppends),eventDropTransformers:e.eventDropTransformers.concat(t.eventDropTransformers),calendarInteractions:e.calendarInteractions.concat(t.calendarInteractions),componentInteractions:e.componentInteractions.concat(t.componentInteractions),themeClasses:Object.assign(Object.assign({},e.themeClasses),t.themeClasses),eventSourceDefs:e.eventSourceDefs.concat(t.eventSourceDefs),cmdFormatter:t.cmdFormatter||e.cmdFormatter,recurringTypes:e.recurringTypes.concat(t.recurringTypes),namedTimeZonedImpl:t.namedTimeZonedImpl||e.namedTimeZonedImpl,initialView:e.initialView||t.initialView,elementDraggingImpl:e.elementDraggingImpl||t.elementDraggingImpl,optionChangeHandlers:Object.assign(Object.assign({},e.optionChangeHandlers),t.optionChangeHandlers),scrollGridImpl:t.scrollGridImpl||e.scrollGridImpl,listenerRefiners:Object.assign(Object.assign({},e.listenerRefiners),t.listenerRefiners),optionRefiners:Object.assign(Object.assign({},e.optionRefiners),t.optionRefiners),propSetHandlers:Object.assign(Object.assign({},e.propSetHandlers),t.propSetHandlers)}}function vs(e,t){return void 0===e?t:void 0===t?e:new Date(Math.max(e.valueOf(),t.valueOf()))}class ys extends jn{}function bs(e,t,n,i){if(t[e])return t[e];let r=function(e,t,n,i){let r=n[e],o=i[e],s=e=>r&&null!==r[e]?r[e]:o&&null!==o[e]?o[e]:null,a=s("component"),l=s("superType"),c=null;if(l){if(l===e)throw new Error("Can't have a custom view type that references itself");c=bs(l,t,n,i)}!a&&c&&(a=c.component);if(!a)return null;return{type:e,component:a,defaults:Object.assign(Object.assign({},c?c.defaults:{}),r?r.rawOptions:{}),overrides:Object.assign(Object.assign({},c?c.overrides:{}),o?o.rawOptions:{})}}(e,t,n,i);return r&&(t[e]=r),r}function ws(e){return xn(e,Ss)}function Ss(e){let t="function"==typeof e?{component:e}:e,{component:n}=t;return t.content?n=Cs(t):!n||n.prototype instanceof Un||(n=Cs(Object.assign(Object.assign({},t),{content:n}))),{superType:t.type,component:n,rawOptions:t}}function Cs(e){return t=>T(Wn.Consumer,null,n=>T(Jn,{elTag:"div",elClasses:ti(n.viewSpec),renderProps:Object.assign(Object.assign({},t),{nextDayThreshold:n.options.nextDayThreshold}),generatorName:void 0,customGenerator:e.content,classNameGenerator:e.classNames,didMount:e.didMount,willUnmount:e.willUnmount}))}function Es(e,t,n,i){let r=ws(e),o=ws(t.views),s=function(e,t){let n,i={};for(n in e)bs(n,i,e,t);for(n in t)bs(n,i,e,t);return i}(r,o);return xn(s,e=>function(e,t,n,i,r){let o=e.overrides.duration||e.defaults.duration||i.duration||n.duration,s=null,a="",l="",c={};if(o&&(s=function(e){let t=JSON.stringify(e),n=As[t];void 0===n&&(n=St(e),As[t]=n);return n}(o),s)){let e=Tt(s);a=e.unit,1===e.value&&(l=a,c=t[a]?t[a].rawOptions:{})}let d=t=>{let n=t.buttonText||{},i=e.defaults.buttonTextKey;return null!=i&&null!=n[i]?n[i]:null!=n[e.type]?n[e.type]:null!=n[l]?n[l]:null},u=t=>{let n=t.buttonHints||{},i=e.defaults.buttonTextKey;return null!=i&&null!=n[i]?n[i]:null!=n[e.type]?n[e.type]:null!=n[l]?n[l]:null};return{type:e.type,component:e.component,duration:s,durationUnit:a,singleUnit:l,optionDefaults:e.defaults,optionOverrides:Object.assign(Object.assign({},c),e.overrides),buttonTextOverride:d(i)||d(n)||e.overrides.buttonText,buttonTextDefault:d(r)||e.defaults.buttonText||d(hn)||e.type,buttonTitleOverride:u(i)||u(n)||e.overrides.buttonHint,buttonTitleDefault:u(r)||e.defaults.buttonHint||u(hn)}}(e,o,t,n,i))}ys.prototype.classes={root:"fc-theme-standard",tableCellShaded:"fc-cell-shaded",buttonGroup:"fc-button-group",button:"fc-button fc-button-primary",buttonActive:"fc-button-active"},ys.prototype.baseIconClass="fc-icon",ys.prototype.iconClasses={close:"fc-icon-x",prev:"fc-icon-chevron-left",next:"fc-icon-chevron-right",prevYear:"fc-icon-chevrons-left",nextYear:"fc-icon-chevrons-right"},ys.prototype.rtlIconClasses={prev:"fc-icon-chevron-right",next:"fc-icon-chevron-left",prevYear:"fc-icon-chevrons-right",nextYear:"fc-icon-chevrons-left"},ys.prototype.iconOverrideOption="buttonIcons",ys.prototype.iconOverrideCustomButtonOption="icon",ys.prototype.iconOverridePrefix="fc-icon-";let As={};function xs(e,t,n){let i=t?t.activeRange:null;return ks({},function(e,t){let n=Li(t),i=[].concat(e.eventSources||[]),r=[];e.initialEvents&&i.unshift(e.initialEvents);e.events&&i.unshift(e.events);for(let e of i){let i=Pi(e,t,n);i&&r.push(i)}return r}(e,n),i,n)}function Ds(e,t,n,i){let r=n?n.activeRange:null;switch(t.type){case"ADD_EVENT_SOURCES":return ks(e,t.sources,r,i);case"REMOVE_EVENT_SOURCE":return o=e,s=t.sourceId,An(o,e=>e.sourceId!==s);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return n?_s(e,r,i):e;case"FETCH_EVENT_SOURCES":return Ms(e,t.sourceIds?Dn(t.sourceIds):Os(e,i),r,t.isRefetch||!1,i);case"RECEIVE_EVENTS":case"RECEIVE_EVENT_ERROR":return function(e,t,n,i){let r=e[t];if(r&&n===r.latestFetchId)return Object.assign(Object.assign({},e),{[t]:Object.assign(Object.assign({},r),{isFetching:!1,fetchRange:i})});return e}(e,t.sourceId,t.fetchId,t.fetchRange);case"REMOVE_ALL_EVENT_SOURCES":return{};default:return e}var o,s}function Ts(e){for(let t in e)if(e[t].isFetching)return!0;return!1}function ks(e,t,n,i){let r={};for(let e of t)r[e.sourceId]=e;return n&&(r=_s(r,n,i)),Object.assign(Object.assign({},e),r)}function _s(e,t,n){return Ms(e,An(e,e=>function(e,t,n){if(!Rs(e,n))return!e.latestFetchId;return!n.options.lazyFetching||!e.fetchRange||e.isFetching||t.start<e.fetchRange.start||t.end>e.fetchRange.end}(e,t,n)),t,!1,n)}function Ms(e,t,n,i,r){let o={};for(let s in e){let a=e[s];t[s]?o[s]=Is(a,n,i,r):o[s]=a}return o}function Is(e,t,n,i){let{options:r,calendarApi:o}=i,s=i.pluginHooks.eventSourceDefs[e.sourceDefId],a=dt();return s.fetch({eventSource:e,range:t,isRefetch:n,context:i},n=>{let{rawEvents:s}=n;r.eventSourceSuccess&&(s=r.eventSourceSuccess.call(o,s,n.response)||s),e.success&&(s=e.success.call(o,s,n.response)||s),i.dispatch({type:"RECEIVE_EVENTS",sourceId:e.sourceId,fetchId:a,fetchRange:t,rawEvents:s})},n=>{let s=!1;r.eventSourceFailure&&(r.eventSourceFailure.call(o,n),s=!0),e.failure&&(e.failure(n),s=!0),s||console.warn(n.message,n),i.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:e.sourceId,fetchId:a,fetchRange:t,error:n})}),Object.assign(Object.assign({},e),{isFetching:!0,latestFetchId:a})}function Os(e,t){return An(e,e=>Rs(e,t))}function Rs(e,t){return!t.pluginHooks.eventSourceDefs[e.sourceDefId].ignoreRange}function Ns(e,t){switch(t.type){case"UNSELECT_DATES":return null;case"SELECT_DATES":return t.selection;default:return e}}function Ps(e,t){switch(t.type){case"UNSELECT_EVENT":return"";case"SELECT_EVENT":return t.eventInstanceId;default:return e}}function Ls(e,t){let n;switch(t.type){case"UNSET_EVENT_DRAG":return null;case"SET_EVENT_DRAG":return n=t.state,{affectedEvents:n.affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return e}}function js(e,t){let n;switch(t.type){case"UNSET_EVENT_RESIZE":return null;case"SET_EVENT_RESIZE":return n=t.state,{affectedEvents:n.affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return e}}function Hs(e,t,n,i,r){return{header:e.headerToolbar?zs(e.headerToolbar,e,t,n,i,r):null,footer:e.footerToolbar?zs(e.footerToolbar,e,t,n,i,r):null}}function zs(e,t,n,i,r,o){let s={},a=[],l=!1;for(let c in e){let d=Fs(e[c],t,n,i,r,o);s[c]=d.widgets,a.push(...d.viewsWithButtons),l=l||d.hasTitle}return{sectionWidgets:s,viewsWithButtons:a,hasTitle:l}}function Fs(e,t,n,i,r,o){let s="rtl"===t.direction,a=t.customButtons||{},l=n.buttonText||{},c=t.buttonText||{},d=n.buttonHints||{},u=t.buttonHints||{},h=e?e.split(" "):[],f=[],p=!1;return{widgets:h.map(e=>e.split(",").map(e=>{if("title"===e)return p=!0,{buttonName:e};let n,h,g,m,v,y;if(n=a[e])g=e=>{n.click&&n.click.call(e.target,e,e.target)},(m=i.getCustomButtonIconClass(n))||(m=i.getIconClass(e,s))||(v=n.text),y=n.hint||n.text;else if(h=r[e]){f.push(e),g=()=>{o.changeView(e)},(v=h.buttonTextOverride)||(m=i.getIconClass(e,s))||(v=h.buttonTextDefault);let n=h.buttonTextOverride||h.buttonTextDefault;y=gt(h.buttonTitleOverride||h.buttonTitleDefault||t.viewHint,[n,e],n)}else if(o[e])if(g=()=>{o[e]()},(v=l[e])||(m=i.getIconClass(e,s))||(v=c[e]),"prevYear"===e||"nextYear"===e){let t="prevYear"===e?"prev":"next";y=gt(d[t]||u[t],[c.year||"year","year"],c[e])}else y=t=>gt(d[e]||u[e],[c[t]||t,t],c[e]);return{buttonName:e,buttonClick:g,buttonIcon:m,buttonText:v,buttonHint:y}})),viewsWithButtons:f,hasTitle:p}}class Bs{constructor(e,t,n){this.type=e,this.getCurrentData=t,this.dateEnv=n}get calendar(){return this.getCurrentData().calendarApi}get title(){return this.getCurrentData().viewTitle}get activeStart(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.start)}get activeEnd(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.end)}get currentStart(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.start)}get currentEnd(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.end)}getOption(e){return this.getCurrentData().options[e]}}const Ws=ps({name:"array-event-source",eventSourceDefs:[{ignoreRange:!0,parseMeta:e=>Array.isArray(e.events)?e.events:null,fetch(e,t){t({rawEvents:e.eventSource.meta})}}]});const $s=ps({name:"func-event-source",eventSourceDefs:[{parseMeta:e=>"function"==typeof e.events?e.events:null,fetch(e,t,n){const{dateEnv:i}=e.context;!function(e,t,n){let i=!1,r=function(e){i||(i=!0,t(e))},o=function(e){i||(i=!0,n(e))},s=e(r,o);s&&"function"==typeof s.then&&s.then(r,o)}(e.eventSource.meta.bind(null,yr(e.range,i)),e=>t({rawEvents:e}),n)}}]}),qs={method:String,extraParams:Sn,startParam:String,endParam:String,timeZoneParam:String};let Us={parseMeta:e=>!e.url||"json"!==e.format&&e.format?null:{url:e.url,format:"json",method:(e.method||"GET").toUpperCase(),extraParams:e.extraParams,startParam:e.startParam,endParam:e.endParam,timeZoneParam:e.timeZoneParam},fetch(e,t,n){const{meta:i}=e.eventSource,r=function(e,t,n){let i,r,o,s,{dateEnv:a,options:l}=n,c={};i=e.startParam,null==i&&(i=l.startParam);r=e.endParam,null==r&&(r=l.endParam);o=e.timeZoneParam,null==o&&(o=l.timeZoneParam);s="function"==typeof e.extraParams?e.extraParams():e.extraParams||{};Object.assign(c,s),c[i]=a.formatIso(t.start),c[r]=a.formatIso(t.end),"local"!==a.timeZone&&(c[o]=a.timeZone);return c}(i,e.range,e.context);(function(e,t,n){const i={method:e=e.toUpperCase()};return"GET"===e?t+=(-1===t.indexOf("?")?"?":"&")+new URLSearchParams(n):(i.body=new URLSearchParams(n),i.headers={"Content-Type":"application/x-www-form-urlencoded"}),fetch(t,i).then(e=>{if(e.ok)return e.json().then(t=>[t,e],()=>{throw new wr("Failure parsing JSON",e)});throw new wr("Request failed",e)})})(i.method,i.url,r).then(([e,n])=>{t({rawEvents:e,response:n})},n)}};const Gs=ps({name:"json-event-source",eventSourceRefiners:qs,eventSourceDefs:[Us]});const Vs={daysOfWeek:Sn,startTime:St,endTime:St,duration:St,startRecur:Sn,endRecur:Sn};let Ys={parse(e,t){if(e.daysOfWeek||e.startTime||e.endTime||e.startRecur||e.endRecur){let r,o={daysOfWeek:e.daysOfWeek||null,startTime:e.startTime||null,endTime:e.endTime||null,startRecur:e.startRecur?t.createMarker(e.startRecur):null,endRecur:e.endRecur?t.createMarker(e.endRecur):null,dateEnv:t};return e.duration&&(r=e.duration),!r&&e.startTime&&e.endTime&&(n=e.endTime,i=e.startTime,r={years:n.years-i.years,months:n.months-i.months,days:n.days-i.days,milliseconds:n.milliseconds-i.milliseconds}),{allDayGuess:Boolean(!e.startTime&&!e.endTime),duration:r,typeData:o}}var n,i;return null},expand(e,t,n){let i=ri(t,{start:e.startRecur,end:e.endRecur});return i?function(e,t,n,i,r){let o=e?Dn(e):null,s=Pt(r.start),a=r.end,l=[];t&&(t.milliseconds<0?a=It(a,1):t.milliseconds>=864e5&&(s=It(s,-1)));for(;s<a;){let e;o&&!o[s.getUTCDay()]||(e=t?i.add(s,t):s,l.push(i.createMarker(n.toDate(e)))),s=It(s,1)}return l}(e.daysOfWeek,e.startTime,e.dateEnv,n,i):[]}};function Qs(e,t){let n=Tn(t.getCurrentData().eventSources);if(1===n.length&&1===e.length&&Array.isArray(n[0]._raw)&&Array.isArray(e[0]))return void t.dispatch({type:"RESET_RAW_EVENTS",sourceId:n[0].sourceId,rawEvents:e[0]});let i=[];for(let t of e){let e=!1;for(let i=0;i<n.length;i+=1)if(n[i]._raw===t){n.splice(i,1),e=!0;break}e||i.push(t)}for(let e of n)t.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:e.sourceId});for(let e of i)t.calendarApi.addEventSource(e)}const Xs=[Ws,$s,Gs,ps({name:"simple-recurring-event",recurringTypes:[Ys],eventRefiners:Vs}),ps({name:"change-handler",optionChangeHandlers:{events(e,t){Qs([e],t)},eventSources:Qs}}),ps({name:"misc",isLoadingFuncs:[e=>Ts(e.eventSources)],propSetHandlers:{dateProfile:function(e,t){t.emitter.trigger("datesSet",Object.assign(Object.assign({},yr(e.activeRange,t.dateEnv)),{view:t.viewApi}))},eventStore:function(e,t){let{emitter:n}=t;n.hasHandlers("eventsSet")&&n.trigger("eventsSet",er(e,t))}}})];class Zs{constructor(e,t){this.runTaskOption=e,this.drainedOption=t,this.queue=[],this.delayedRunner=new Ye(this.drain.bind(this))}request(e,t){this.queue.push(e),this.delayedRunner.request(t)}pause(e){this.delayedRunner.pause(e)}resume(e,t){this.delayedRunner.resume(e,t)}drain(){let{queue:e}=this;for(;e.length;){let t,n=[];for(;t=e.shift();)this.runTask(t),n.push(t);this.drained(n)}}runTask(e){this.runTaskOption&&this.runTaskOption(e)}drained(e){this.drainedOption&&this.drainedOption(e)}}function Js(e,t,n){let i;return i=/^(year|month)$/.test(e.currentRangeUnit)?e.currentRange:e.activeRange,n.formatRange(i.start,i.end,dn(t.titleFormat||function(e){let{currentRangeUnit:t}=e;if("year"===t)return{year:"numeric"};if("month"===t)return{year:"numeric",month:"long"};let n=Nt(e.currentRange.start,e.currentRange.end);if(null!==n&&n>1)return{year:"numeric",month:"short",day:"numeric"};return{year:"numeric",month:"long",day:"numeric"}}(e)),{isEndExclusive:e.isRangeAllDay,defaultSeparator:t.titleRangeSeparator})}class Ks{constructor(){this.resetListeners=new Set}handleInput(e,t){const n=this.dateEnv;if(e!==n&&("function"==typeof t?this.nowFn=t:n||(this.nowAnchorDate=e.toDate(t?e.createMarker(t):e.createNowMarker()),this.nowAnchorQueried=Date.now()),this.dateEnv=e,n))for(const e of this.resetListeners.values())e()}getDateMarker(){return this.nowAnchorDate?this.dateEnv.timestampToMarker(this.nowAnchorDate.valueOf()+(Date.now()-this.nowAnchorQueried)):this.dateEnv.createMarker(this.nowFn())}addResetListener(e){this.resetListeners.add(e)}removeResetListener(e){this.resetListeners.delete(e)}}class ea{constructor(e){this.computeCurrentViewData=Yt(this._computeCurrentViewData),this.organizeRawLocales=Yt(us),this.buildLocale=Yt(hs),this.buildPluginHooks=gs(),this.buildDateEnv=Yt(ta),this.buildTheme=Yt(na),this.parseToolbars=Yt(Hs),this.buildViewSpecs=Yt(Es),this.buildDateProfileGenerator=Qt(ia),this.buildViewApi=Yt(ra),this.buildViewUiProps=Qt(aa),this.buildEventUiBySource=Yt(oa,kn),this.buildEventUiBases=Yt(sa),this.parseContextBusinessHours=Qt(ca),this.buildTitle=Yt(Js),this.nowManager=new Ks,this.emitter=new Wi,this.actionRunner=new Zs(this._handleAction.bind(this),this.updateData.bind(this)),this.currentCalendarOptionsInput={},this.currentCalendarOptionsRefined={},this.currentViewOptionsInput={},this.currentViewOptionsRefined={},this.currentCalendarOptionsRefiners={},this.optionsForRefining=[],this.optionsForHandling=[],this.getCurrentData=()=>this.data,this.dispatch=e=>{this.actionRunner.request(e)},this.props=e,this.actionRunner.pause(),this.nowManager=new Ks;let t={},n=this.computeOptionsData(e.optionOverrides,t,e.calendarApi),i=n.calendarOptions.initialView||n.pluginHooks.initialView,r=this.computeCurrentViewData(i,n,e.optionOverrides,t);e.calendarApi.currentDataManager=this,this.emitter.setThisContext(e.calendarApi),this.emitter.setOptions(r.options);let o={nowManager:this.nowManager,dateEnv:n.dateEnv,options:n.calendarOptions,pluginHooks:n.pluginHooks,calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},s=function(e,t,n){let i=e.initialDate;return null!=i?t.createMarker(i):n.getDateMarker()}(n.calendarOptions,n.dateEnv,this.nowManager),a=r.dateProfileGenerator.build(s);ai(a.activeRange,s)||(s=a.currentRange.start);for(let e of n.pluginHooks.contextInit)e(o);let l=xs(n.calendarOptions,a,o),c={dynamicOptionOverrides:t,currentViewType:i,currentDate:s,dateProfile:a,businessHours:this.parseContextBusinessHours(o),eventSources:l,eventUiBases:{},eventStore:{defs:{},instances:{}},renderableEventStore:{defs:{},instances:{}},dateSelection:null,eventSelection:"",eventDrag:null,eventResize:null,selectionConfig:this.buildViewUiProps(o).selectionConfig},d=Object.assign(Object.assign({},o),c);for(let e of n.pluginHooks.reducers)Object.assign(c,e(null,null,d));la(c,o)&&this.emitter.trigger("loading",!0),this.state=c,this.updateData(),this.actionRunner.resume()}resetOptions(e,t){let{props:n}=this;void 0===t?n.optionOverrides=e:(n.optionOverrides=Object.assign(Object.assign({},n.optionOverrides||{}),e),this.optionsForRefining.push(...t)),(void 0===t||t.length)&&this.actionRunner.request({type:"NOTHING"})}_handleAction(e){let{props:t,state:n,emitter:i}=this,r=function(e,t){return"SET_OPTION"===t.type?Object.assign(Object.assign({},e),{[t.optionName]:t.rawOptionValue}):e}(n.dynamicOptionOverrides,e),o=this.computeOptionsData(t.optionOverrides,r,t.calendarApi),s=function(e,t){"CHANGE_VIEW_TYPE"===t.type&&(e=t.viewType);return e}(n.currentViewType,e),a=this.computeCurrentViewData(s,o,t.optionOverrides,r);t.calendarApi.currentDataManager=this,i.setThisContext(t.calendarApi),i.setOptions(a.options);let l={nowManager:this.nowManager,dateEnv:o.dateEnv,options:o.calendarOptions,pluginHooks:o.pluginHooks,calendarApi:t.calendarApi,dispatch:this.dispatch,emitter:i,getCurrentData:this.getCurrentData},{currentDate:c,dateProfile:d}=n;this.data&&this.data.dateProfileGenerator!==a.dateProfileGenerator&&(d=a.dateProfileGenerator.build(c)),c=function(e,t){return"CHANGE_DATE"===t.type?t.dateMarker:e}(c,e),d=function(e,t,n,i){let r;switch(t.type){case"CHANGE_VIEW_TYPE":return i.build(t.dateMarker||n);case"CHANGE_DATE":return i.build(t.dateMarker);case"PREV":if(r=i.buildPrev(e,n),r.isValid)return r;break;case"NEXT":if(r=i.buildNext(e,n),r.isValid)return r}return e}(d,e,c,a.dateProfileGenerator),"PREV"!==e.type&&"NEXT"!==e.type&&ai(d.currentRange,c)||(c=d.currentRange.start);let u=Ds(n.eventSources,e,d,l),h=ji(n.eventStore,e,u,d,l),f=Ts(u)&&!a.options.progressiveEventRendering&&n.renderableEventStore||h,{eventUiSingleBase:p,selectionConfig:g}=this.buildViewUiProps(l),m=this.buildEventUiBySource(u),v={dynamicOptionOverrides:r,currentViewType:s,currentDate:c,dateProfile:d,eventSources:u,eventStore:h,renderableEventStore:f,selectionConfig:g,eventUiBases:this.buildEventUiBases(f.defs,p,m),businessHours:this.parseContextBusinessHours(l),dateSelection:Ns(n.dateSelection,e),eventSelection:Ps(n.eventSelection,e),eventDrag:Ls(n.eventDrag,e),eventResize:js(n.eventResize,e)},y=Object.assign(Object.assign({},l),v);for(let t of o.pluginHooks.reducers)Object.assign(v,t(n,e,y));let b=la(n,l),w=la(v,l);!b&&w?i.trigger("loading",!0):b&&!w&&i.trigger("loading",!1),this.state=v,t.onAction&&t.onAction(e)}updateData(){let{props:e,state:t}=this,n=this.data,i=this.computeOptionsData(e.optionOverrides,t.dynamicOptionOverrides,e.calendarApi),r=this.computeCurrentViewData(t.currentViewType,i,e.optionOverrides,t.dynamicOptionOverrides),o=this.data=Object.assign(Object.assign(Object.assign({nowManager:this.nowManager,viewTitle:this.buildTitle(t.dateProfile,r.options,i.dateEnv),calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},i),r),t),s=i.pluginHooks.optionChangeHandlers,a=n&&n.calendarOptions,l=i.calendarOptions;if(a&&a!==l){a.timeZone!==l.timeZone&&(t.eventSources=o.eventSources=function(e,t,n){let i=t?t.activeRange:null;return Ms(e,Os(e,n),i,!0,n)}(o.eventSources,t.dateProfile,o),t.eventStore=o.eventStore=Fi(o.eventStore,n.dateEnv,o.dateEnv),t.renderableEventStore=o.renderableEventStore=Fi(o.renderableEventStore,n.dateEnv,o.dateEnv));for(let e in s)-1===this.optionsForHandling.indexOf(e)&&a[e]===l[e]||s[e](l[e],o)}this.optionsForHandling=[],e.onData&&e.onData(o)}computeOptionsData(e,t,n){if(!this.optionsForRefining.length&&e===this.stableOptionOverrides&&t===this.stableDynamicOptionOverrides)return this.stableCalendarOptionsData;let{refinedOptions:i,pluginHooks:r,localeDefaults:o,availableLocaleData:s,extra:a}=this.processRawCalendarOptions(e,t);da(a);let l=this.buildDateEnv(i.timeZone,i.locale,i.weekNumberCalculation,i.firstDay,i.weekText,r,s,i.defaultRangeSeparator),c=this.buildViewSpecs(r.views,this.stableOptionOverrides,this.stableDynamicOptionOverrides,o),d=this.buildTheme(i,r),u=this.parseToolbars(i,this.stableOptionOverrides,d,c,n);return this.stableCalendarOptionsData={calendarOptions:i,pluginHooks:r,dateEnv:l,viewSpecs:c,theme:d,toolbarConfig:u,localeDefaults:o,availableRawLocales:s.map}}processRawCalendarOptions(e,t){let{locales:n,locale:i}=bn([hn,e,t]),r=this.organizeRawLocales(n),o=r.map,s=this.buildLocale(i||r.defaultCode,o).options,a=this.buildPluginHooks(e.plugins||[],Xs),l=this.currentCalendarOptionsRefiners=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},un),fn),pn),a.listenerRefiners),a.optionRefiners),c={},d=bn([hn,s,e,t]),u={},h=this.currentCalendarOptionsInput,f=this.currentCalendarOptionsRefined,p=!1;for(let e in d)-1===this.optionsForRefining.indexOf(e)&&(d[e]===h[e]||gn[e]&&e in h&&gn[e](h[e],d[e]))?u[e]=f[e]:l[e]?(u[e]=l[e](d[e]),p=!0):c[e]=h[e];return p&&(this.currentCalendarOptionsInput=d,this.currentCalendarOptionsRefined=u,this.stableOptionOverrides=e,this.stableDynamicOptionOverrides=t),this.optionsForHandling.push(...this.optionsForRefining),this.optionsForRefining=[],{rawOptions:this.currentCalendarOptionsInput,refinedOptions:this.currentCalendarOptionsRefined,pluginHooks:a,availableLocaleData:r,localeDefaults:s,extra:c}}_computeCurrentViewData(e,t,n,i){let r=t.viewSpecs[e];if(!r)throw new Error(`viewType "${e}" is not available. Please make sure you've loaded all neccessary plugins`);let{refinedOptions:o,extra:s}=this.processRawViewOptions(r,t.pluginHooks,t.localeDefaults,n,i);return da(s),this.nowManager.handleInput(t.dateEnv,o.now),{viewSpec:r,options:o,dateProfileGenerator:this.buildDateProfileGenerator({dateProfileGeneratorClass:r.optionDefaults.dateProfileGeneratorClass,nowManager:this.nowManager,duration:r.duration,durationUnit:r.durationUnit,usesMinMaxTime:r.optionDefaults.usesMinMaxTime,dateEnv:t.dateEnv,calendarApi:this.props.calendarApi,slotMinTime:o.slotMinTime,slotMaxTime:o.slotMaxTime,showNonCurrentDates:o.showNonCurrentDates,dayCount:o.dayCount,dateAlignment:o.dateAlignment,dateIncrement:o.dateIncrement,hiddenDays:o.hiddenDays,weekends:o.weekends,validRangeInput:o.validRange,visibleRangeInput:o.visibleRange,fixedWeekCount:o.fixedWeekCount}),viewApi:this.buildViewApi(e,this.getCurrentData,t.dateEnv)}}processRawViewOptions(e,t,n,i,r){let o=bn([hn,e.optionDefaults,n,i,e.optionOverrides,r]),s=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},un),fn),pn),yn),t.listenerRefiners),t.optionRefiners),a={},l=this.currentViewOptionsInput,c=this.currentViewOptionsRefined,d=!1,u={};for(let e in o)o[e]===l[e]||gn[e]&&gn[e](o[e],l[e])?a[e]=c[e]:(o[e]===this.currentCalendarOptionsInput[e]||gn[e]&&gn[e](o[e],this.currentCalendarOptionsInput[e])?e in this.currentCalendarOptionsRefined&&(a[e]=this.currentCalendarOptionsRefined[e]):s[e]?a[e]=s[e](o[e]):u[e]=o[e],d=!0);return d&&(this.currentViewOptionsInput=o,this.currentViewOptionsRefined=a),{rawOptions:this.currentViewOptionsInput,refinedOptions:this.currentViewOptionsRefined,extra:u}}}function ta(e,t,n,i,r,o,s,a){let l=hs(t||s.defaultCode,s.map);return new Ln({calendarSystem:"gregory",timeZone:e,namedTimeZoneImpl:o.namedTimeZonedImpl,locale:l,weekNumberCalculation:n,firstDay:i,weekText:r,cmdFormatter:o.cmdFormatter,defaultSeparator:a})}function na(e,t){return new(t.themeClasses[e.themeSystem]||ys)(e)}function ia(e){return new(e.dateProfileGeneratorClass||ui)(e)}function ra(e,t,n){return new Bs(e,t,n)}function oa(e){return xn(e,e=>e.ui)}function sa(e,t,n){let i={"":t};for(let t in e){let r=e[t];r.sourceId&&n[r.sourceId]&&(i[t]=n[r.sourceId])}return i}function aa(e){let{options:t}=e;return{eventUiSingleBase:Ii({display:t.eventDisplay,editable:t.editable,startEditable:t.eventStartEditable,durationEditable:t.eventDurationEditable,constraint:t.eventConstraint,overlap:"boolean"==typeof t.eventOverlap?t.eventOverlap:void 0,allow:t.eventAllow,backgroundColor:t.eventBackgroundColor,borderColor:t.eventBorderColor,textColor:t.eventTextColor,color:t.eventColor},e),selectionConfig:Ii({constraint:t.selectConstraint,overlap:"boolean"==typeof t.selectOverlap?t.selectOverlap:void 0,allow:t.selectAllow},e)}}function la(e,t){for(let n of t.pluginHooks.isLoadingFuncs)if(n(e))return!0;return!1}function ca(e){return qi(e.options.businessHours,e)}function da(e,t){for(let n in e)console.warn(`Unknown option '${n}'`+(t?` for view '${t}'`:""))}class ua extends Un{render(){return T("div",{className:"fc-toolbar-chunk"},...this.props.widgetGroups.map(e=>this.renderWidgetGroup(e)))}renderWidgetGroup(e){let{props:t}=this,{theme:n}=this.context,i=[],r=!0;for(let o of e){let{buttonName:e,buttonClick:s,buttonText:a,buttonIcon:l,buttonHint:c}=o;if("title"===e)r=!1,i.push(T("h2",{className:"fc-toolbar-title",id:t.titleId},t.title));else{let r=e===t.activeButton,o=!t.isTodayEnabled&&"today"===e||!t.isPrevEnabled&&"prev"===e||!t.isNextEnabled&&"next"===e,d=[`fc-${e}-button`,n.getClass("button")];r&&d.push(n.getClass("buttonActive")),i.push(T("button",{type:"button",title:"function"==typeof c?c(t.navUnit):c,disabled:o,"aria-pressed":r,className:d.join(" "),onClick:s},a||(l?T("span",{className:l,role:"img"}):"")))}}if(i.length>1){return T("div",{className:r&&n.getClass("buttonGroup")||""},...i)}return i[0]}}class ha extends Un{render(){let e,t,{model:n,extraClassName:i}=this.props,r=!1,o=n.sectionWidgets,s=o.center;return o.left?(r=!0,e=o.left):e=o.start,o.right?(r=!0,t=o.right):t=o.end,T("div",{className:[i||"","fc-toolbar",r?"fc-toolbar-ltr":""].join(" ")},this.renderSection("start",e||[]),this.renderSection("center",s||[]),this.renderSection("end",t||[]))}renderSection(e,t){let{props:n}=this;return T(ua,{key:e,widgetGroups:t,title:n.title,navUnit:n.navUnit,activeButton:n.activeButton,isTodayEnabled:n.isTodayEnabled,isPrevEnabled:n.isPrevEnabled,isNextEnabled:n.isNextEnabled,titleId:n.titleId})}}class fa extends Un{constructor(){super(...arguments),this.state={availableWidth:null},this.handleEl=e=>{this.el=e,Gn(this.props.elRef,e),this.updateAvailableWidth()},this.handleResize=()=>{this.updateAvailableWidth()}}render(){let{props:e,state:t}=this,{aspectRatio:n}=e,i=["fc-view-harness",n||e.liquid||e.height?"fc-view-harness-active":"fc-view-harness-passive"],r="",o="";return n?null!==t.availableWidth?r=t.availableWidth/n:o=1/n*100+"%":r=e.height||"",T("div",{"aria-labelledby":e.labeledById,ref:this.handleEl,className:i.join(" "),style:{height:r,paddingBottom:o}},e.children)}componentDidMount(){this.context.addResizeHandler(this.handleResize)}componentWillUnmount(){this.context.removeResizeHandler(this.handleResize)}updateAvailableWidth(){this.el&&this.props.aspectRatio&&this.setState({availableWidth:this.el.offsetWidth})}}class pa extends Ar{constructor(e){super(e),this.handleSegClick=(e,t)=>{let{component:n}=this,{context:i}=n,r=ir(t);if(r&&n.isValidSegDownEl(e.target)){let o=Xe(e.target,".fc-event-forced-url"),s=o?o.querySelector("a[href]").href:"";i.emitter.trigger("eventClick",{el:t,event:new Ji(n.context,r.eventRange.def,r.eventRange.instance),jsEvent:e,view:i.viewApi}),s&&!e.defaultPrevented&&(window.location.href=s)}},this.destroy=ot(e.el,"click",".fc-event",this.handleSegClick)}}class ga extends Ar{constructor(e){super(e),this.handleEventElRemove=e=>{e===this.currentSegEl&&this.handleSegLeave(null,this.currentSegEl)},this.handleSegEnter=(e,t)=>{ir(t)&&(this.currentSegEl=t,this.triggerEvent("eventMouseEnter",e,t))},this.handleSegLeave=(e,t)=>{this.currentSegEl&&(this.currentSegEl=null,this.triggerEvent("eventMouseLeave",e,t))},this.removeHoverListeners=function(e,t,n,i){let r;return ot(e,"mouseover",t,(e,t)=>{if(t!==r){r=t,n(e,t);let o=e=>{r=null,i(e,t),t.removeEventListener("mouseleave",o)};t.addEventListener("mouseleave",o)}})}(e.el,".fc-event",this.handleSegEnter,this.handleSegLeave)}destroy(){this.removeHoverListeners()}triggerEvent(e,t,n){let{component:i}=this,{context:r}=i,o=ir(n);t&&!i.isValidSegDownEl(t.target)||r.emitter.trigger(e,{el:n,event:new Ji(r,o.eventRange.def,o.eventRange.instance),jsEvent:t,view:r.viewApi})}}class ma extends qn{constructor(){super(...arguments),this.buildViewContext=Yt($n),this.buildViewPropTransformers=Yt(ya),this.buildToolbarProps=Yt(va),this.headerRef={current:null},this.footerRef={current:null},this.interactionsStore={},this.state={viewLabelId:it()},this.registerInteractiveComponent=(e,t)=>{let n=function(e,t){return{component:e,el:t.el,useEventCenter:null==t.useEventCenter||t.useEventCenter,isHitComboAllowed:t.isHitComboAllowed||null}}(e,t),i=[pa,ga].concat(this.props.pluginHooks.componentInteractions).map(e=>new e(n));this.interactionsStore[e.uid]=i,Dr[e.uid]=n},this.unregisterInteractiveComponent=e=>{let t=this.interactionsStore[e.uid];if(t){for(let e of t)e.destroy();delete this.interactionsStore[e.uid]}delete Dr[e.uid]},this.resizeRunner=new Ye(()=>{this.props.emitter.trigger("_resize",!0),this.props.emitter.trigger("windowResize",{view:this.props.viewApi})}),this.handleWindowResize=e=>{let{options:t}=this.props;t.handleWindowResize&&e.target===window&&this.resizeRunner.request(t.windowResizeDelay)}}render(){let e,{props:t}=this,{toolbarConfig:n,options:i}=t,r=!1,o="";t.isHeightAuto||t.forPrint?o="":null!=i.height?r=!0:null!=i.contentHeight?o=i.contentHeight:e=Math.max(i.aspectRatio,.5);let s=this.buildViewContext(t.viewSpec,t.viewApi,t.options,t.dateProfileGenerator,t.dateEnv,t.nowManager,t.theme,t.pluginHooks,t.dispatch,t.getCurrentData,t.emitter,t.calendarApi,this.registerInteractiveComponent,this.unregisterInteractiveComponent),a=n.header&&n.header.hasTitle?this.state.viewLabelId:void 0;return T(Wn.Provider,{value:s},T(Tr,{unit:"day"},i=>{let s=this.buildToolbarProps(t.viewSpec,t.dateProfile,t.dateProfileGenerator,t.currentDate,i,t.viewTitle);return T(_,null,n.header&&T(ha,Object.assign({ref:this.headerRef,extraClassName:"fc-header-toolbar",model:n.header,titleId:a},s)),T(fa,{liquid:r,height:o,aspectRatio:e,labeledById:a},this.renderView(t),this.buildAppendContent()),n.footer&&T(ha,Object.assign({ref:this.footerRef,extraClassName:"fc-footer-toolbar",model:n.footer,titleId:""},s)))}))}componentDidMount(){let{props:e}=this;this.calendarInteractions=e.pluginHooks.calendarInteractions.map(t=>new t(e)),window.addEventListener("resize",this.handleWindowResize);let{propSetHandlers:t}=e.pluginHooks;for(let n in t)t[n](e[n],e)}componentDidUpdate(e){let{props:t}=this,{propSetHandlers:n}=t.pluginHooks;for(let i in n)t[i]!==e[i]&&n[i](t[i],t)}componentWillUnmount(){window.removeEventListener("resize",this.handleWindowResize),this.resizeRunner.clear();for(let e of this.calendarInteractions)e.destroy();this.props.emitter.trigger("_unmount")}buildAppendContent(){let{props:e}=this;return T(_,{},...e.pluginHooks.viewContainerAppends.map(t=>t(e)))}renderView(e){let{pluginHooks:t}=e,{viewSpec:n}=e,i={dateProfile:e.dateProfile,businessHours:e.businessHours,eventStore:e.renderableEventStore,eventUiBases:e.eventUiBases,dateSelection:e.dateSelection,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,isHeightAuto:e.isHeightAuto,forPrint:e.forPrint},r=this.buildViewPropTransformers(t.viewPropsTransformers);for(let t of r)Object.assign(i,t.transform(i,e));return T(n.component,Object.assign({},i))}}function va(e,t,n,i,r,o){let s=n.build(r,void 0,!1),a=n.buildPrev(t,i,!1),l=n.buildNext(t,i,!1);return{title:o,activeButton:e.type,navUnit:e.singleUnit,isTodayEnabled:s.isValid&&!ai(t.currentRange,r),isPrevEnabled:a.isValid,isNextEnabled:l.isValid}}function ya(e){return e.map(e=>new e)}class ba extends _r{constructor(e,t={}){super(),this.isRendering=!1,this.isRendered=!1,this.currentClassNames=[],this.customContentRenderId=0,this.handleAction=e=>{switch(e.type){case"SET_EVENT_DRAG":case"SET_EVENT_RESIZE":this.renderRunner.tryDrain()}},this.handleData=e=>{this.currentData=e,this.renderRunner.request(e.calendarOptions.rerenderDelay)},this.handleRenderRequest=()=>{if(this.isRendering){this.isRendered=!0;let{currentData:e}=this;Hn(()=>{K(T(Er,{options:e.calendarOptions,theme:e.theme,emitter:e.emitter},(t,n,i,r)=>(this.setClassNames(t),this.setHeight(n),T(Zn.Provider,{value:this.customContentRenderId},T(ma,Object.assign({isHeightAuto:i,forPrint:r},e))))),this.el)})}else this.isRendered&&(this.isRendered=!1,K(null,this.el),this.setClassNames([]),this.setHeight(""))},function(e){e.isConnected&&e.getRootNode&&Ue(e.getRootNode())}(e),this.el=e,this.renderRunner=new Ye(this.handleRenderRequest),new ea({optionOverrides:t,calendarApi:this,onAction:this.handleAction,onData:this.handleData})}render(){let e=this.isRendering;e?this.customContentRenderId+=1:this.isRendering=!0,this.renderRunner.request(),e&&this.updateSize()}destroy(){this.isRendering&&(this.isRendering=!1,this.renderRunner.request())}updateSize(){Hn(()=>{super.updateSize()})}batchRendering(e){this.renderRunner.pause("batchRendering"),e(),this.renderRunner.resume("batchRendering")}pauseRendering(){this.renderRunner.pause("pauseRendering")}resumeRendering(){this.renderRunner.resume("pauseRendering",!0)}resetOptions(e,t){this.currentDataManager.resetOptions(e,t)}setClassNames(e){if(!kt(e,this.currentClassNames)){let{classList:t}=this.el;for(let e of this.currentClassNames)t.remove(e);for(let n of e)t.add(n);this.currentClassNames=e}}setHeight(e){et(this.el,"height",e)}}lo.touchMouseIgnoreWait=500;let wa=0,Sa=0,Ca=!1;class Ea{constructor(e){this.subjectEl=null,this.selector="",this.handleSelector="",this.shouldIgnoreMove=!1,this.shouldWatchScroll=!0,this.isDragging=!1,this.isTouchDragging=!1,this.wasTouchScroll=!1,this.handleMouseDown=e=>{if(!this.shouldIgnoreMouse()&&function(e){return 0===e.button&&!e.ctrlKey}(e)&&this.tryStart(e)){let t=this.createEventFromMouse(e,!0);this.emitter.trigger("pointerdown",t),this.initScrollWatch(t),this.shouldIgnoreMove||document.addEventListener("mousemove",this.handleMouseMove),document.addEventListener("mouseup",this.handleMouseUp)}},this.handleMouseMove=e=>{let t=this.createEventFromMouse(e);this.recordCoords(t),this.emitter.trigger("pointermove",t)},this.handleMouseUp=e=>{document.removeEventListener("mousemove",this.handleMouseMove),document.removeEventListener("mouseup",this.handleMouseUp),this.emitter.trigger("pointerup",this.createEventFromMouse(e)),this.cleanup()},this.handleTouchStart=e=>{if(this.tryStart(e)){this.isTouchDragging=!0;let t=this.createEventFromTouch(e,!0);this.emitter.trigger("pointerdown",t),this.initScrollWatch(t);let n=e.target;this.shouldIgnoreMove||n.addEventListener("touchmove",this.handleTouchMove),n.addEventListener("touchend",this.handleTouchEnd),n.addEventListener("touchcancel",this.handleTouchEnd),window.addEventListener("scroll",this.handleTouchScroll,!0)}},this.handleTouchMove=e=>{let t=this.createEventFromTouch(e);this.recordCoords(t),this.emitter.trigger("pointermove",t)},this.handleTouchEnd=e=>{if(this.isDragging){let t=e.target;t.removeEventListener("touchmove",this.handleTouchMove),t.removeEventListener("touchend",this.handleTouchEnd),t.removeEventListener("touchcancel",this.handleTouchEnd),window.removeEventListener("scroll",this.handleTouchScroll,!0),this.emitter.trigger("pointerup",this.createEventFromTouch(e)),this.cleanup(),this.isTouchDragging=!1,wa+=1,setTimeout(()=>{wa-=1},lo.touchMouseIgnoreWait)}},this.handleTouchScroll=()=>{this.wasTouchScroll=!0},this.handleScroll=e=>{if(!this.shouldIgnoreMove){let t=window.scrollX-this.prevScrollX+this.prevPageX,n=window.scrollY-this.prevScrollY+this.prevPageY;this.emitter.trigger("pointermove",{origEvent:e,isTouch:this.isTouchDragging,subjectEl:this.subjectEl,pageX:t,pageY:n,deltaX:t-this.origPageX,deltaY:n-this.origPageY})}},this.containerEl=e,this.emitter=new Wi,e.addEventListener("mousedown",this.handleMouseDown),e.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),Sa+=1,1===Sa&&window.addEventListener("touchmove",Aa,{passive:!1})}destroy(){this.containerEl.removeEventListener("mousedown",this.handleMouseDown),this.containerEl.removeEventListener("touchstart",this.handleTouchStart,{passive:!0}),Sa-=1,Sa||window.removeEventListener("touchmove",Aa,{passive:!1})}tryStart(e){let t=this.querySubjectEl(e),n=e.target;return!(!t||this.handleSelector&&!Xe(n,this.handleSelector))&&(this.subjectEl=t,this.isDragging=!0,this.wasTouchScroll=!1,!0)}cleanup(){Ca=!1,this.isDragging=!1,this.subjectEl=null,this.destroyScrollWatch()}querySubjectEl(e){return this.selector?Xe(e.target,this.selector):this.containerEl}shouldIgnoreMouse(){return wa||this.isTouchDragging}cancelTouchScroll(){this.isDragging&&(Ca=!0)}initScrollWatch(e){this.shouldWatchScroll&&(this.recordCoords(e),window.addEventListener("scroll",this.handleScroll,!0))}recordCoords(e){this.shouldWatchScroll&&(this.prevPageX=e.pageX,this.prevPageY=e.pageY,this.prevScrollX=window.scrollX,this.prevScrollY=window.scrollY)}destroyScrollWatch(){this.shouldWatchScroll&&window.removeEventListener("scroll",this.handleScroll,!0)}createEventFromMouse(e,t){let n=0,i=0;return t?(this.origPageX=e.pageX,this.origPageY=e.pageY):(n=e.pageX-this.origPageX,i=e.pageY-this.origPageY),{origEvent:e,isTouch:!1,subjectEl:this.subjectEl,pageX:e.pageX,pageY:e.pageY,deltaX:n,deltaY:i}}createEventFromTouch(e,t){let n,i,r=e.touches,o=0,s=0;return r&&r.length?(n=r[0].pageX,i=r[0].pageY):(n=e.pageX,i=e.pageY),t?(this.origPageX=n,this.origPageY=i):(o=n-this.origPageX,s=i-this.origPageY),{origEvent:e,isTouch:!0,subjectEl:this.subjectEl,pageX:n,pageY:i,deltaX:o,deltaY:s}}}function Aa(e){Ca&&e.preventDefault()}class xa{constructor(){this.isVisible=!1,this.sourceEl=null,this.mirrorEl=null,this.sourceElRect=null,this.parentNode=document.body,this.zIndex=9999,this.revertDuration=0}start(e,t,n){this.sourceEl=e,this.sourceElRect=this.sourceEl.getBoundingClientRect(),this.origScreenX=t-window.scrollX,this.origScreenY=n-window.scrollY,this.deltaX=0,this.deltaY=0,this.updateElPosition()}handleMove(e,t){this.deltaX=e-window.scrollX-this.origScreenX,this.deltaY=t-window.scrollY-this.origScreenY,this.updateElPosition()}setIsVisible(e){e?this.isVisible||(this.mirrorEl&&(this.mirrorEl.style.display=""),this.isVisible=e,this.updateElPosition()):this.isVisible&&(this.mirrorEl&&(this.mirrorEl.style.display="none"),this.isVisible=e)}stop(e,t){let n=()=>{this.cleanup(),t()};e&&this.mirrorEl&&this.isVisible&&this.revertDuration&&(this.deltaX||this.deltaY)?this.doRevertAnimation(n,this.revertDuration):setTimeout(n,0)}doRevertAnimation(e,t){let n=this.mirrorEl,i=this.sourceEl.getBoundingClientRect();n.style.transition="top "+t+"ms,left "+t+"ms",Ke(n,{left:i.left,top:i.top}),function(e,t){let n=i=>{t(i),st.forEach(t=>{e.removeEventListener(t,n)})};st.forEach(t=>{e.addEventListener(t,n)})}(n,()=>{n.style.transition="",e()})}cleanup(){this.mirrorEl&&(Qe(this.mirrorEl),this.mirrorEl=null),this.sourceEl=null}updateElPosition(){this.sourceEl&&this.isVisible&&Ke(this.getMirrorEl(),{left:this.sourceElRect.left+this.deltaX,top:this.sourceElRect.top+this.deltaY})}getMirrorEl(){let e=this.sourceElRect,t=this.mirrorEl;return t||(t=this.mirrorEl=this.sourceEl.cloneNode(!0),t.style.userSelect="none",t.style.webkitUserSelect="none",t.style.pointerEvents="none",t.classList.add("fc-event-dragging"),Ke(t,{position:"fixed",zIndex:this.zIndex,visibility:"",boxSizing:"border-box",width:e.right-e.left,height:e.bottom-e.top,right:"auto",bottom:"auto",margin:0}),this.parentNode.appendChild(t)),t}}class Da extends Xr{constructor(e,t){super(),this.handleScroll=()=>{this.scrollTop=this.scrollController.getScrollTop(),this.scrollLeft=this.scrollController.getScrollLeft(),this.handleScrollChange()},this.scrollController=e,this.doesListening=t,this.scrollTop=this.origScrollTop=e.getScrollTop(),this.scrollLeft=this.origScrollLeft=e.getScrollLeft(),this.scrollWidth=e.getScrollWidth(),this.scrollHeight=e.getScrollHeight(),this.clientWidth=e.getClientWidth(),this.clientHeight=e.getClientHeight(),this.clientRect=this.computeClientRect(),this.doesListening&&this.getEventTarget().addEventListener("scroll",this.handleScroll)}destroy(){this.doesListening&&this.getEventTarget().removeEventListener("scroll",this.handleScroll)}getScrollTop(){return this.scrollTop}getScrollLeft(){return this.scrollLeft}setScrollTop(e){this.scrollController.setScrollTop(e),this.doesListening||(this.scrollTop=Math.max(Math.min(e,this.getMaxScrollTop()),0),this.handleScrollChange())}setScrollLeft(e){this.scrollController.setScrollLeft(e),this.doesListening||(this.scrollLeft=Math.max(Math.min(e,this.getMaxScrollLeft()),0),this.handleScrollChange())}getClientWidth(){return this.clientWidth}getClientHeight(){return this.clientHeight}getScrollWidth(){return this.scrollWidth}getScrollHeight(){return this.scrollHeight}handleScrollChange(){}}class Ta extends Da{constructor(e,t){super(new Zr(e),t)}getEventTarget(){return this.scrollController.el}computeClientRect(){return Ur(this.scrollController.el)}}class ka extends Da{constructor(e){super(new Jr,e)}getEventTarget(){return window}computeClientRect(){return{left:this.scrollLeft,right:this.scrollLeft+this.clientWidth,top:this.scrollTop,bottom:this.scrollTop+this.clientHeight}}handleScrollChange(){this.clientRect=this.computeClientRect()}}const _a="function"==typeof performance?performance.now:Date.now;class Ma{constructor(){this.isEnabled=!0,this.scrollQuery=[window,".fc-scroller"],this.edgeThreshold=50,this.maxVelocity=300,this.pointerScreenX=null,this.pointerScreenY=null,this.isAnimating=!1,this.scrollCaches=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.animate=()=>{if(this.isAnimating){let e=this.computeBestEdge(this.pointerScreenX+window.scrollX,this.pointerScreenY+window.scrollY);if(e){let t=_a();this.handleSide(e,(t-this.msSinceRequest)/1e3),this.requestAnimation(t)}else this.isAnimating=!1}}}start(e,t,n){this.isEnabled&&(this.scrollCaches=this.buildCaches(n),this.pointerScreenX=null,this.pointerScreenY=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.handleMove(e,t))}handleMove(e,t){if(this.isEnabled){let n=e-window.scrollX,i=t-window.scrollY,r=null===this.pointerScreenY?0:i-this.pointerScreenY,o=null===this.pointerScreenX?0:n-this.pointerScreenX;r<0?this.everMovedUp=!0:r>0&&(this.everMovedDown=!0),o<0?this.everMovedLeft=!0:o>0&&(this.everMovedRight=!0),this.pointerScreenX=n,this.pointerScreenY=i,this.isAnimating||(this.isAnimating=!0,this.requestAnimation(_a()))}}stop(){if(this.isEnabled){this.isAnimating=!1;for(let e of this.scrollCaches)e.destroy();this.scrollCaches=null}}requestAnimation(e){this.msSinceRequest=e,requestAnimationFrame(this.animate)}handleSide(e,t){let{scrollCache:n}=e,{edgeThreshold:i}=this,r=i-e.distance,o=r*r/(i*i)*this.maxVelocity*t,s=1;switch(e.name){case"left":s=-1;case"right":n.setScrollLeft(n.getScrollLeft()+o*s);break;case"top":s=-1;case"bottom":n.setScrollTop(n.getScrollTop()+o*s)}}computeBestEdge(e,t){let{edgeThreshold:n}=this,i=null,r=this.scrollCaches||[];for(let o of r){let r=o.clientRect,s=e-r.left,a=r.right-e,l=t-r.top,c=r.bottom-t;s>=0&&a>=0&&l>=0&&c>=0&&(l<=n&&this.everMovedUp&&o.canScrollUp()&&(!i||i.distance>l)&&(i={scrollCache:o,name:"top",distance:l}),c<=n&&this.everMovedDown&&o.canScrollDown()&&(!i||i.distance>c)&&(i={scrollCache:o,name:"bottom",distance:c}),s<=n&&this.everMovedLeft&&o.canScrollLeft()&&(!i||i.distance>s)&&(i={scrollCache:o,name:"left",distance:s}),a<=n&&this.everMovedRight&&o.canScrollRight()&&(!i||i.distance>a)&&(i={scrollCache:o,name:"right",distance:a}))}return i}buildCaches(e){return this.queryScrollEls(e).map(e=>e===window?new ka(!1):new Ta(e,!1))}queryScrollEls(e){let t=[];for(let n of this.scrollQuery)"object"==typeof n?t.push(n):t.push(...Array.prototype.slice.call(e.getRootNode().querySelectorAll(n)));return t}}class Ia extends ao{constructor(e,t){super(e),this.containerEl=e,this.delay=null,this.minDistance=0,this.touchScrollAllowed=!0,this.mirrorNeedsRevert=!1,this.isInteracting=!1,this.isDragging=!1,this.isDelayEnded=!1,this.isDistanceSurpassed=!1,this.delayTimeoutId=null,this.onPointerDown=e=>{var t;this.isDragging||(this.isInteracting=!0,this.isDelayEnded=!1,this.isDistanceSurpassed=!1,(t=document.body).style.userSelect="none",t.style.webkitUserSelect="none",t.addEventListener("selectstart",rt),function(e){e.addEventListener("contextmenu",rt)}(document.body),e.isTouch||e.origEvent.preventDefault(),this.emitter.trigger("pointerdown",e),this.isInteracting&&!this.pointer.shouldIgnoreMove&&(this.mirror.setIsVisible(!1),this.mirror.start(e.subjectEl,e.pageX,e.pageY),this.startDelay(e),this.minDistance||this.handleDistanceSurpassed(e)))},this.onPointerMove=e=>{if(this.isInteracting){if(this.emitter.trigger("pointermove",e),!this.isDistanceSurpassed){let t,n=this.minDistance,{deltaX:i,deltaY:r}=e;t=i*i+r*r,t>=n*n&&this.handleDistanceSurpassed(e)}this.isDragging&&("scroll"!==e.origEvent.type&&(this.mirror.handleMove(e.pageX,e.pageY),this.autoScroller.handleMove(e.pageX,e.pageY)),this.emitter.trigger("dragmove",e))}},this.onPointerUp=e=>{var t;this.isInteracting&&(this.isInteracting=!1,(t=document.body).style.userSelect="",t.style.webkitUserSelect="",t.removeEventListener("selectstart",rt),function(e){e.removeEventListener("contextmenu",rt)}(document.body),this.emitter.trigger("pointerup",e),this.isDragging&&(this.autoScroller.stop(),this.tryStopDrag(e)),this.delayTimeoutId&&(clearTimeout(this.delayTimeoutId),this.delayTimeoutId=null))};let n=this.pointer=new Ea(e);n.emitter.on("pointerdown",this.onPointerDown),n.emitter.on("pointermove",this.onPointerMove),n.emitter.on("pointerup",this.onPointerUp),t&&(n.selector=t),this.mirror=new xa,this.autoScroller=new Ma}destroy(){this.pointer.destroy(),this.onPointerUp({})}startDelay(e){"number"==typeof this.delay?this.delayTimeoutId=setTimeout(()=>{this.delayTimeoutId=null,this.handleDelayEnd(e)},this.delay):this.handleDelayEnd(e)}handleDelayEnd(e){this.isDelayEnded=!0,this.tryStartDrag(e)}handleDistanceSurpassed(e){this.isDistanceSurpassed=!0,this.tryStartDrag(e)}tryStartDrag(e){this.isDelayEnded&&this.isDistanceSurpassed&&(this.pointer.wasTouchScroll&&!this.touchScrollAllowed||(this.isDragging=!0,this.mirrorNeedsRevert=!1,this.autoScroller.start(e.pageX,e.pageY,this.containerEl),this.emitter.trigger("dragstart",e),!1===this.touchScrollAllowed&&this.pointer.cancelTouchScroll()))}tryStopDrag(e){this.mirror.stop(this.mirrorNeedsRevert,this.stopDrag.bind(this,e))}stopDrag(e){this.isDragging=!1,this.emitter.trigger("dragend",e)}setIgnoreMove(e){this.pointer.shouldIgnoreMove=e}setMirrorIsVisible(e){this.mirror.setIsVisible(e)}setMirrorNeedsRevert(e){this.mirrorNeedsRevert=e}setAutoScrollEnabled(e){this.autoScroller.isEnabled=e}}class Oa{constructor(e){this.el=e,this.origRect=Gr(e),this.scrollCaches=Vr(e).map(e=>new Ta(e,!0))}destroy(){for(let e of this.scrollCaches)e.destroy()}computeLeft(){let e=this.origRect.left;for(let t of this.scrollCaches)e+=t.origScrollLeft-t.getScrollLeft();return e}computeTop(){let e=this.origRect.top;for(let t of this.scrollCaches)e+=t.origScrollTop-t.getScrollTop();return e}isWithinClipping(e,t){let n={left:e,top:t};for(let e of this.scrollCaches)if(!Ra(e.getEventTarget())&&!Mr(n,e.clientRect))return!1;return!0}}function Ra(e){let t=e.tagName;return"HTML"===t||"BODY"===t}class Na{constructor(e,t){this.useSubjectCenter=!1,this.requireInitial=!0,this.disablePointCheck=!1,this.initialHit=null,this.movingHit=null,this.finalHit=null,this.handlePointerDown=e=>{let{dragging:t}=this;this.initialHit=null,this.movingHit=null,this.finalHit=null,this.prepareHits(),this.processFirstCoord(e),this.initialHit||!this.requireInitial?(t.setIgnoreMove(!1),this.emitter.trigger("pointerdown",e)):t.setIgnoreMove(!0)},this.handleDragStart=e=>{this.emitter.trigger("dragstart",e),this.handleMove(e,!0)},this.handleDragMove=e=>{this.emitter.trigger("dragmove",e),this.handleMove(e)},this.handlePointerUp=e=>{this.releaseHits(),this.emitter.trigger("pointerup",e)},this.handleDragEnd=e=>{this.movingHit&&this.emitter.trigger("hitupdate",null,!0,e),this.finalHit=this.movingHit,this.movingHit=null,this.emitter.trigger("dragend",e)},this.droppableStore=t,e.emitter.on("pointerdown",this.handlePointerDown),e.emitter.on("dragstart",this.handleDragStart),e.emitter.on("dragmove",this.handleDragMove),e.emitter.on("pointerup",this.handlePointerUp),e.emitter.on("dragend",this.handleDragEnd),this.dragging=e,this.emitter=new Wi}processFirstCoord(e){let t,n={left:e.pageX,top:e.pageY},i=n,r=e.subjectEl;var o,s;r instanceof HTMLElement&&(t=Gr(r),o=i,s=t,i={left:Math.min(Math.max(o.left,s.left),s.right),top:Math.min(Math.max(o.top,s.top),s.bottom)});let a=this.initialHit=this.queryHitForOffset(i.left,i.top);if(a){if(this.useSubjectCenter&&t){let e=Ir(t,a.rect);e&&(i=function(e){return{left:(e.left+e.right)/2,top:(e.top+e.bottom)/2}}(e))}this.coordAdjust=(c=n,{left:(l=i).left-c.left,top:l.top-c.top})}else this.coordAdjust={left:0,top:0};var l,c}handleMove(e,t){let n=this.queryHitForOffset(e.pageX+this.coordAdjust.left,e.pageY+this.coordAdjust.top);!t&&Pa(this.movingHit,n)||(this.movingHit=n,this.emitter.trigger("hitupdate",n,!1,e))}prepareHits(){this.offsetTrackers=xn(this.droppableStore,e=>(e.component.prepareHits(),new Oa(e.el)))}releaseHits(){let{offsetTrackers:e}=this;for(let t in e)e[t].destroy();this.offsetTrackers={}}queryHitForOffset(e,t){let{droppableStore:n,offsetTrackers:i}=this,r=null;for(let o in n){let s=n[o].component,a=i[o];if(a&&a.isWithinClipping(e,t)){let n=a.computeLeft(),i=a.computeTop(),l=e-n,c=t-i,{origRect:d}=a,u=d.right-d.left,h=d.bottom-d.top;if(l>=0&&l<u&&c>=0&&c<h){let e=s.queryHit(l,c,u,h);e&&si(e.dateProfile.activeRange,e.dateSpan.range)&&(this.disablePointCheck||a.el.contains(a.el.getRootNode().elementFromPoint(l+n-window.scrollX,c+i-window.scrollY)))&&(!r||e.layer>r.layer)&&(e.componentId=o,e.context=s.context,e.rect.left+=n,e.rect.right+=n,e.rect.top+=i,e.rect.bottom+=i,r=e)}}}return r}}function Pa(e,t){return!e&&!t||Boolean(e)===Boolean(t)&&(n=e.dateSpan,i=t.dateSpan,r=n.range,o=i.range,(null===r.start?null:r.start.valueOf())===(null===o.start?null:o.start.valueOf())&&(null===r.end?null:r.end.valueOf())===(null===o.end?null:o.end.valueOf())&&n.allDay===i.allDay&&function(e,t){for(let n in t)if("range"!==n&&"allDay"!==n&&e[n]!==t[n])return!1;for(let n in e)if(!(n in t))return!1;return!0}(n,i));var n,i,r,o}function La(e,t){let n={};for(let i of t.pluginHooks.datePointTransforms)Object.assign(n,i(e,t));var i,r;return Object.assign(n,(i=e,{date:(r=t.dateEnv).toDate(i.range.start),dateStr:r.formatIso(i.range.start,{omitTime:i.allDay}),allDay:i.allDay})),n}class ja extends Ar{constructor(e){super(e),this.subjectEl=null,this.subjectSeg=null,this.isDragging=!1,this.eventRange=null,this.relevantEvents=null,this.receivingContext=null,this.validMutation=null,this.mutatedRelevantEvents=null,this.handlePointerDown=e=>{let t=e.origEvent.target,{component:n,dragging:i}=this,{mirror:r}=i,{options:o}=n.context,s=n.context;this.subjectEl=e.subjectEl;let a=this.subjectSeg=ir(e.subjectEl),l=(this.eventRange=a.eventRange).instance.instanceId;this.relevantEvents=Ai(s.getCurrentData().eventStore,l),i.minDistance=e.isTouch?0:o.eventDragMinDistance,i.delay=e.isTouch&&l!==n.props.eventSelection?function(e){let{options:t}=e.context,n=t.eventLongPressDelay;null==n&&(n=t.longPressDelay);return n}(n):null,o.fixedMirrorParent?r.parentNode=o.fixedMirrorParent:r.parentNode=Xe(t,".fc"),r.revertDuration=o.dragRevertDuration;let c=n.isValidSegDownEl(t)&&!Xe(t,".fc-event-resizer");i.setIgnoreMove(!c),this.isDragging=c&&e.subjectEl.classList.contains("fc-event-draggable")},this.handleDragStart=e=>{let t=this.component.context,n=this.eventRange,i=n.instance.instanceId;e.isTouch?i!==this.component.props.eventSelection&&t.dispatch({type:"SELECT_EVENT",eventInstanceId:i}):t.dispatch({type:"UNSELECT_EVENT"}),this.isDragging&&(t.calendarApi.unselect(e),t.emitter.trigger("eventDragStart",{el:this.subjectEl,event:new Ji(t,n.def,n.instance),jsEvent:e.origEvent,view:t.viewApi}))},this.handleHitUpdate=(e,t)=>{if(!this.isDragging)return;let n=this.relevantEvents,i=this.hitDragging.initialHit,r=this.component.context,o=null,s=null,a=null,l=!1,c={affectedEvents:n,mutatedEvents:{defs:{},instances:{}},isEvent:!0};if(e){o=e.context;let t=o.options;r===o||t.editable&&t.droppable?(s=function(e,t,n,i){let r=e.dateSpan,o=t.dateSpan,s=r.range.start,a=o.range.start,l={};r.allDay!==o.allDay&&(l.allDay=o.allDay,l.hasEnd=t.context.options.allDayMaintainDuration,s=o.allDay?Pt(n):n);let c=di(s,a,e.context.dateEnv,e.componentId===t.componentId?e.largeUnit:null);c.milliseconds&&(l.allDay=!1);let d={datesDelta:c,standardProps:l};for(let n of i)n(d,e,t);return d}(i,e,this.eventRange.instance.range.start,o.getCurrentData().pluginHooks.eventDragMutationMassagers),s&&(a=Yi(n,o.getCurrentData().eventUiBases,s,o),c.mutatedEvents=a,So(c,e.dateProfile,o)||(l=!0,s=null,a=null,c.mutatedEvents={defs:{},instances:{}}))):o=null}this.displayDrag(o,c),l?ut():ht(),t||(r===o&&Pa(i,e)&&(s=null),this.dragging.setMirrorNeedsRevert(!s),this.dragging.setMirrorIsVisible(!e||!this.subjectEl.getRootNode().querySelector(".fc-event-mirror")),this.receivingContext=o,this.validMutation=s,this.mutatedRelevantEvents=a)},this.handlePointerUp=()=>{this.isDragging||this.cleanup()},this.handleDragEnd=e=>{if(this.isDragging){let t=this.component.context,n=t.viewApi,{receivingContext:i,validMutation:r}=this,o=this.eventRange.def,s=this.eventRange.instance,a=new Ji(t,o,s),l=this.relevantEvents,c=this.mutatedRelevantEvents,{finalHit:d}=this.hitDragging;if(this.clearDrag(),t.emitter.trigger("eventDragStop",{el:this.subjectEl,event:a,jsEvent:e.origEvent,view:n}),r){if(i===t){let i=new Ji(t,c.defs[o.defId],s?c.instances[s.instanceId]:null);t.dispatch({type:"MERGE_EVENTS",eventStore:c});let d={oldEvent:a,event:i,relatedEvents:er(c,t,s),revert(){t.dispatch({type:"MERGE_EVENTS",eventStore:l})}},u={};for(let e of t.getCurrentData().pluginHooks.eventDropTransformers)Object.assign(u,e(r,t));t.emitter.trigger("eventDrop",Object.assign(Object.assign(Object.assign({},d),u),{el:e.subjectEl,delta:r.datesDelta,jsEvent:e.origEvent,view:n})),t.emitter.trigger("eventChange",d)}else if(i){let r={event:a,relatedEvents:er(l,t,s),revert(){t.dispatch({type:"MERGE_EVENTS",eventStore:l})}};t.emitter.trigger("eventLeave",Object.assign(Object.assign({},r),{draggedEl:e.subjectEl,view:n})),t.dispatch({type:"REMOVE_EVENTS",eventStore:l}),t.emitter.trigger("eventRemove",r);let u=c.defs[o.defId],h=c.instances[s.instanceId],f=new Ji(i,u,h);i.dispatch({type:"MERGE_EVENTS",eventStore:c});let p={event:f,relatedEvents:er(c,i,h),revert(){i.dispatch({type:"REMOVE_EVENTS",eventStore:c})}};i.emitter.trigger("eventAdd",p),e.isTouch&&i.dispatch({type:"SELECT_EVENT",eventInstanceId:s.instanceId}),i.emitter.trigger("drop",Object.assign(Object.assign({},La(d.dateSpan,i)),{draggedEl:e.subjectEl,jsEvent:e.origEvent,view:d.context.viewApi})),i.emitter.trigger("eventReceive",Object.assign(Object.assign({},p),{draggedEl:e.subjectEl,view:d.context.viewApi}))}}else t.emitter.trigger("_noEventDrop")}this.cleanup()};let{component:t}=this,{options:n}=t.context,i=this.dragging=new Ia(e.el);i.pointer.selector=ja.SELECTOR,i.touchScrollAllowed=!1,i.autoScroller.isEnabled=n.dragScroll;let r=this.hitDragging=new Na(this.dragging,Dr);r.useSubjectCenter=e.useEventCenter,r.emitter.on("pointerdown",this.handlePointerDown),r.emitter.on("dragstart",this.handleDragStart),r.emitter.on("hitupdate",this.handleHitUpdate),r.emitter.on("pointerup",this.handlePointerUp),r.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}displayDrag(e,t){let n=this.component.context,i=this.receivingContext;i&&i!==e&&(i===n?i.dispatch({type:"SET_EVENT_DRAG",state:{affectedEvents:t.affectedEvents,mutatedEvents:{defs:{},instances:{}},isEvent:!0}}):i.dispatch({type:"UNSET_EVENT_DRAG"})),e&&e.dispatch({type:"SET_EVENT_DRAG",state:t})}clearDrag(){let e=this.component.context,{receivingContext:t}=this;t&&t.dispatch({type:"UNSET_EVENT_DRAG"}),e!==t&&e.dispatch({type:"UNSET_EVENT_DRAG"})}cleanup(){this.subjectSeg=null,this.isDragging=!1,this.eventRange=null,this.relevantEvents=null,this.receivingContext=null,this.validMutation=null,this.mutatedRelevantEvents=null}}ja.SELECTOR=".fc-event-draggable, .fc-event-resizable";const Ha={fixedMirrorParent:Sn},za={dateClick:Sn,eventDragStart:Sn,eventDragStop:Sn,eventDrop:Sn,eventResizeStart:Sn,eventResizeStop:Sn,eventResize:Sn,drop:Sn,eventReceive:Sn,eventLeave:Sn};lo.dataAttrPrefix="";var Fa=ps({name:"@fullcalendar/interaction",componentInteractions:[class extends Ar{constructor(e){super(e),this.handlePointerDown=e=>{let{dragging:t}=this,n=e.origEvent.target;t.setIgnoreMove(!this.component.isValidDateDownEl(n))},this.handleDragEnd=e=>{let{component:t}=this,{pointer:n}=this.dragging;if(!n.wasTouchScroll){let{initialHit:n,finalHit:i}=this.hitDragging;if(n&&i&&Pa(n,i)){let{context:i}=t,r=Object.assign(Object.assign({},La(n.dateSpan,i)),{dayEl:n.dayEl,jsEvent:e.origEvent,view:i.viewApi||i.calendarApi.view});i.emitter.trigger("dateClick",r)}}},this.dragging=new Ia(e.el),this.dragging.autoScroller.isEnabled=!1;let t=this.hitDragging=new Na(this.dragging,xr(e));t.emitter.on("pointerdown",this.handlePointerDown),t.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}},class extends Ar{constructor(e){super(e),this.dragSelection=null,this.handlePointerDown=e=>{let{component:t,dragging:n}=this,{options:i}=t.context,r=i.selectable&&t.isValidDateDownEl(e.origEvent.target);n.setIgnoreMove(!r),n.delay=e.isTouch?function(e){let{options:t}=e.context,n=t.selectLongPressDelay;null==n&&(n=t.longPressDelay);return n}(t):null},this.handleDragStart=e=>{this.component.context.calendarApi.unselect(e)},this.handleHitUpdate=(e,t)=>{let{context:n}=this.component,i=null,r=!1;if(e){let t=this.hitDragging.initialHit;e.componentId===t.componentId&&this.isHitComboAllowed&&!this.isHitComboAllowed(t,e)||(i=function(e,t,n){let i=e.dateSpan,r=t.dateSpan,o=[i.range.start,i.range.end,r.range.start,r.range.end];o.sort(mt);let s={};for(let i of n){let n=i(e,t);if(!1===n)return null;n&&Object.assign(s,n)}return s.range={start:o[0],end:o[3]},s.allDay=i.allDay,s}(t,e,n.pluginHooks.dateSelectionTransformers)),i&&function(e,t,n){return!!si(t.validRange,e.range)&&Co({dateSelection:e},n)}(i,e.dateProfile,n)||(r=!0,i=null)}i?n.dispatch({type:"SELECT_DATES",selection:i}):t||n.dispatch({type:"UNSELECT_DATES"}),r?ut():ht(),t||(this.dragSelection=i)},this.handlePointerUp=e=>{this.dragSelection&&(Ui(this.dragSelection,e,this.component.context),this.dragSelection=null)};let{component:t}=e,{options:n}=t.context,i=this.dragging=new Ia(e.el);i.touchScrollAllowed=!1,i.minDistance=n.selectMinDistance||0,i.autoScroller.isEnabled=n.dragScroll;let r=this.hitDragging=new Na(this.dragging,xr(e));r.emitter.on("pointerdown",this.handlePointerDown),r.emitter.on("dragstart",this.handleDragStart),r.emitter.on("hitupdate",this.handleHitUpdate),r.emitter.on("pointerup",this.handlePointerUp)}destroy(){this.dragging.destroy()}},ja,class extends Ar{constructor(e){super(e),this.draggingSegEl=null,this.draggingSeg=null,this.eventRange=null,this.relevantEvents=null,this.validMutation=null,this.mutatedRelevantEvents=null,this.handlePointerDown=e=>{let{component:t}=this,n=ir(this.querySegEl(e)),i=this.eventRange=n.eventRange;this.dragging.minDistance=t.context.options.eventDragMinDistance,this.dragging.setIgnoreMove(!this.component.isValidSegDownEl(e.origEvent.target)||e.isTouch&&this.component.props.eventSelection!==i.instance.instanceId)},this.handleDragStart=e=>{let{context:t}=this.component,n=this.eventRange;this.relevantEvents=Ai(t.getCurrentData().eventStore,this.eventRange.instance.instanceId);let i=this.querySegEl(e);this.draggingSegEl=i,this.draggingSeg=ir(i),t.calendarApi.unselect(),t.emitter.trigger("eventResizeStart",{el:i,event:new Ji(t,n.def,n.instance),jsEvent:e.origEvent,view:t.viewApi})},this.handleHitUpdate=(e,t,n)=>{let{context:i}=this.component,r=this.relevantEvents,o=this.hitDragging.initialHit,s=this.eventRange.instance,a=null,l=null,c=!1,d={affectedEvents:r,mutatedEvents:{defs:{},instances:{}},isEvent:!0};if(e){e.componentId===o.componentId&&this.isHitComboAllowed&&!this.isHitComboAllowed(o,e)||(a=function(e,t,n,i){let r=e.context.dateEnv,o=e.dateSpan.range.start,s=t.dateSpan.range.start,a=di(o,s,r,e.largeUnit);if(n){if(r.add(i.start,a)<i.end)return{startDelta:a}}else if(r.add(i.end,a)>i.start)return{endDelta:a};return null}(o,e,n.subjectEl.classList.contains("fc-event-resizer-start"),s.range))}a&&(l=Yi(r,i.getCurrentData().eventUiBases,a,i),d.mutatedEvents=l,So(d,e.dateProfile,i)||(c=!0,a=null,l=null,d.mutatedEvents=null)),l?i.dispatch({type:"SET_EVENT_RESIZE",state:d}):i.dispatch({type:"UNSET_EVENT_RESIZE"}),c?ut():ht(),t||(a&&Pa(o,e)&&(a=null),this.validMutation=a,this.mutatedRelevantEvents=l)},this.handleDragEnd=e=>{let{context:t}=this.component,n=this.eventRange.def,i=this.eventRange.instance,r=new Ji(t,n,i),o=this.relevantEvents,s=this.mutatedRelevantEvents;if(t.emitter.trigger("eventResizeStop",{el:this.draggingSegEl,event:r,jsEvent:e.origEvent,view:t.viewApi}),this.validMutation){let a=new Ji(t,s.defs[n.defId],i?s.instances[i.instanceId]:null);t.dispatch({type:"MERGE_EVENTS",eventStore:s});let l={oldEvent:r,event:a,relatedEvents:er(s,t,i),revert(){t.dispatch({type:"MERGE_EVENTS",eventStore:o})}};t.emitter.trigger("eventResize",Object.assign(Object.assign({},l),{el:this.draggingSegEl,startDelta:this.validMutation.startDelta||St(0),endDelta:this.validMutation.endDelta||St(0),jsEvent:e.origEvent,view:t.viewApi})),t.emitter.trigger("eventChange",l)}else t.emitter.trigger("_noEventResize");this.draggingSeg=null,this.relevantEvents=null,this.validMutation=null};let{component:t}=e,n=this.dragging=new Ia(e.el);n.pointer.selector=".fc-event-resizer",n.touchScrollAllowed=!1,n.autoScroller.isEnabled=t.context.options.dragScroll;let i=this.hitDragging=new Na(this.dragging,xr(e));i.emitter.on("pointerdown",this.handlePointerDown),i.emitter.on("dragstart",this.handleDragStart),i.emitter.on("hitupdate",this.handleHitUpdate),i.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}querySegEl(e){return Xe(e.subjectEl,".fc-event")}}],calendarInteractions:[class{constructor(e){this.context=e,this.isRecentPointerDateSelect=!1,this.matchesCancel=!1,this.matchesEvent=!1,this.onSelect=e=>{e.jsEvent&&(this.isRecentPointerDateSelect=!0)},this.onDocumentPointerDown=e=>{let t=this.context.options.unselectCancel,n=tt(e.origEvent);this.matchesCancel=!!Xe(n,t),this.matchesEvent=!!Xe(n,ja.SELECTOR)},this.onDocumentPointerUp=e=>{let{context:t}=this,{documentPointer:n}=this,i=t.getCurrentData();if(!n.wasTouchScroll){if(i.dateSelection&&!this.isRecentPointerDateSelect){let n=t.options.unselectAuto;!n||n&&this.matchesCancel||t.calendarApi.unselect(e)}i.eventSelection&&!this.matchesEvent&&t.dispatch({type:"UNSELECT_EVENT"})}this.isRecentPointerDateSelect=!1};let t=this.documentPointer=new Ea(document);t.shouldIgnoreMove=!0,t.shouldWatchScroll=!1,t.emitter.on("pointerdown",this.onDocumentPointerDown),t.emitter.on("pointerup",this.onDocumentPointerUp),e.emitter.on("select",this.onSelect)}destroy(){this.context.emitter.off("select",this.onSelect),this.documentPointer.destroy()}}],elementDraggingImpl:Ia,optionRefiners:Ha,listenerRefiners:za});class Ba extends Kr{constructor(){super(...arguments),this.headerElRef={current:null}}renderSimpleLayout(e,t){let{props:n,context:i}=this,r=[],o=Ho(i.options);return e&&r.push({type:"header",key:"header",isSticky:o,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),r.push({type:"body",key:"body",liquid:!0,chunk:{content:t}}),T(ei,{elClasses:["fc-daygrid"],viewSpec:i.viewSpec},T(Fo,{liquid:!n.isHeightAuto&&!n.forPrint,collapsibleWidth:n.forPrint,cols:[],sections:r}))}renderHScrollLayout(e,t,n,i){let r=this.context.pluginHooks.scrollGridImpl;if(!r)throw new Error("No ScrollGrid implementation");let{props:o,context:s}=this,a=!o.forPrint&&Ho(s.options),l=!o.forPrint&&zo(s.options),c=[];return e&&c.push({type:"header",key:"header",isSticky:a,chunks:[{key:"main",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),c.push({type:"body",key:"body",liquid:!0,chunks:[{key:"main",content:t}]}),l&&c.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"main",content:jo}]}),T(ei,{elClasses:["fc-daygrid"],viewSpec:s.viewSpec},T(r,{liquid:!o.isHeightAuto&&!o.forPrint,forPrint:o.forPrint,collapsibleWidth:o.forPrint,colGroups:[{cols:[{span:n,minWidth:i}]}],sections:c}))}}function Wa(e,t){let n=[];for(let e=0;e<t;e+=1)n[e]=[];for(let t of e)n[t.row].push(t);return n}function $a(e,t){let n=[];for(let e=0;e<t;e+=1)n[e]=[];for(let t of e)n[t.firstCol].push(t);return n}function qa(e,t){let n=[];if(e){for(let i=0;i<t;i+=1)n[i]={affectedInstances:e.affectedInstances,isEvent:e.isEvent,segs:[]};for(let t of e.segs)n[t.row].segs.push(t)}else for(let e=0;e<t;e+=1)n[e]=null;return n}const Ua=dn({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"narrow"});function Ga(e){let{display:t}=e.eventRange.ui;return"list-item"===t||"auto"===t&&!e.eventRange.def.allDay&&e.firstCol===e.lastCol&&e.isStart&&e.isEnd}class Va extends Un{render(){let{props:e}=this;return T(Wo,Object.assign({},e,{elClasses:["fc-daygrid-event","fc-daygrid-block-event","fc-h-event"],defaultTimeFormat:Ua,defaultDisplayEventEnd:e.defaultDisplayEventEnd,disableResizing:!e.seg.eventRange.def.allDay}))}}class Ya extends Un{render(){let{props:e,context:t}=this,{options:n}=t,{seg:i}=e,r=ur(i,n.eventTimeFormat||Ua,t,!0,e.defaultDisplayEventEnd);return T(Bo,Object.assign({},e,{elTag:"a",elClasses:["fc-daygrid-event","fc-daygrid-dot-event"],elAttrs:gr(e.seg,t),defaultGenerator:Qa,timeText:r,isResizing:!1,isDateSelecting:!1}))}}function Qa(e){return T(_,null,T("div",{className:"fc-daygrid-event-dot",style:{borderColor:e.borderColor||e.backgroundColor}}),e.timeText&&T("div",{className:"fc-event-time"},e.timeText),T("div",{className:"fc-event-title"},e.event.title||T(_,null,"Â ")))}class Xa extends Un{constructor(){super(...arguments),this.compileSegs=Yt(Za)}render(){let{props:e}=this,{allSegs:t,invisibleSegs:n}=this.compileSegs(e.singlePlacements);return T(ns,{elClasses:["fc-daygrid-more-link"],dateProfile:e.dateProfile,todayRange:e.todayRange,allDayDate:e.allDayDate,moreCnt:e.moreCnt,allSegs:t,hiddenSegs:n,alignmentElRef:e.alignmentElRef,alignGridTop:e.alignGridTop,extraDateSpan:e.extraDateSpan,popoverContent:()=>{let n=(e.eventDrag?e.eventDrag.affectedInstances:null)||(e.eventResize?e.eventResize.affectedInstances:null)||{};return T(_,null,t.map(t=>{let i=t.eventRange.instance.instanceId;return T("div",{className:"fc-daygrid-event-harness",key:i,style:{visibility:n[i]?"hidden":""}},Ga(t)?T(Ya,Object.assign({seg:t,isDragging:!1,isSelected:i===e.eventSelection,defaultDisplayEventEnd:!1},hr(t,e.todayRange))):T(Va,Object.assign({seg:t,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:i===e.eventSelection,defaultDisplayEventEnd:!1},hr(t,e.todayRange))))}))}})}}function Za(e){let t=[],n=[];for(let i of e)t.push(i.seg),i.isVisible||n.push(i.seg);return{allSegs:t,invisibleSegs:n}}const Ja=dn({week:"narrow"});class Ka extends Kr{constructor(){super(...arguments),this.rootElRef={current:null},this.state={dayNumberId:it()},this.handleRootEl=e=>{Gn(this.rootElRef,e),Gn(this.props.elRef,e)}}render(){let{context:e,props:t,state:n,rootElRef:i}=this,{options:r,dateEnv:o}=e,{date:s,dateProfile:a}=t;const l=t.showDayNumber&&function(e,t,n){const{start:i,end:r}=t,o=Ot(r,-1),s=n.getYear(i),a=n.getMonth(i),l=n.getYear(o),c=n.getMonth(o);return!(s===l&&a===c)&&Boolean(e.valueOf()===i.valueOf()||1===n.getDay(e)&&e.valueOf()<r.valueOf())}(s,a.currentRange,o);return T(Go,{elTag:"td",elRef:this.handleRootEl,elClasses:["fc-daygri
2d-day",...t.extraClassNames||[]],elAttrs:Object.assign(Object.assign(Object.assign({},t.extraDataAttrs),t.showDayNumber?{"aria-labelledby":n.dayNumberId}:{}),{role:"gridcell"}),defaultGenerator:el,date:s,dateProfile:a,todayRange:t.todayRange,showDayNumber:t.showDayNumber,isMonthStart:l,extraRenderProps:t.extraRenderProps},(o,a)=>T("div",{ref:t.innerElRef,className:"fc-daygrid-day-frame fc-scrollgrid-sync-inner",style:{minHeight:t.minHeight}},t.showWeekNumber&&T(Jo,{elTag:"a",elClasses:["fc-daygrid-week-number"],elAttrs:zr(e,s,"week"),date:s,defaultFormat:Ja}),!a.isDisabled&&(t.showDayNumber||Vo(r)||t.forceDayTop)?T("div",{className:"fc-daygrid-day-top"},T(o,{elTag:"a",elClasses:["fc-daygrid-day-number",l&&"fc-daygrid-month-start"],elAttrs:Object.assign(Object.assign({},zr(e,s)),{id:n.dayNumberId})})):t.showDayNumber?T("div",{className:"fc-daygrid-day-top",style:{visibility:"hidden"}},T("a",{className:"fc-daygrid-day-number"},"Â ")):void 0,T("div",{className:"fc-daygrid-day-events",ref:t.fgContentElRef},t.fgContent,T("div",{className:"fc-daygrid-day-bottom",style:{marginTop:t.moreMarginTop}},T(Xa,{allDayDate:s,singlePlacements:t.singlePlacements,moreCnt:t.moreCnt,alignmentElRef:i,alignGridTop:!t.showDayNumber,extraDateSpan:t.extraDateSpan,dateProfile:t.dateProfile,eventSelection:t.eventSelection,eventDrag:t.eventDrag,eventResize:t.eventResize,todayRange:t.todayRange}))),T("div",{className:"fc-daygrid-day-bg"},t.bgContent)))}}function el(e){return e.dayNumberText||T(_,null,"Â ")}function tl(e){return e.eventRange.instance.instanceId+":"+e.firstCol}function nl(e){return tl(e)+":"+e.lastCol}function il(e,t,n,i,r,o,s){let a=new ol(t=>{let n=e[t.index].eventRange.instance.instanceId+":"+t.span.start+":"+(t.span.end-1);return r[n]||1});a.allowReslicing=!0,a.strictOrder=i,!0===t||!0===n?(a.maxCoord=o,a.hiddenConsumes=!0):"number"==typeof t?a.maxStackCnt=t:"number"==typeof n&&(a.maxStackCnt=n,a.hiddenConsumes=!0);let l=[],c=[];for(let t=0;t<e.length;t+=1){let n=e[t],i=nl(n);null!=r[i]?l.push({index:t,span:{start:n.firstCol,end:n.lastCol+1}}):c.push(n)}let d=a.addSegs(l),u=a.toRects(),{singleColPlacements:h,multiColPlacements:f,leftoverMargins:p}=function(e,t,n){let i=function(e,t){let n=[];for(let e=0;e<t;e+=1)n.push([]);for(let t of e)for(let e=t.span.start;e<t.span.end;e+=1)n[e].push(t);return n}(e,n.length),r=[],o=[],s=[];for(let e=0;e<n.length;e+=1){let a=i[e],l=[],c=0,d=0;for(let i of a){let r=t[i.index];l.push({seg:rl(r,e,e+1,n),isVisible:!0,isAbsolute:!1,absoluteTop:i.levelCoord,marginTop:i.levelCoord-c}),c=i.levelCoord+i.thickness}let u=[];c=0,d=0;for(let i of a){let r=t[i.index],o=i.span.end-i.span.start>1,s=i.span.start===e;d+=i.levelCoord-c,c=i.levelCoord+i.thickness,o?(d+=i.thickness,s&&u.push({seg:rl(r,i.span.start,i.span.end,n),isVisible:!0,isAbsolute:!0,absoluteTop:i.levelCoord,marginTop:0})):s&&(u.push({seg:rl(r,i.span.start,i.span.end,n),isVisible:!0,isAbsolute:!1,absoluteTop:i.levelCoord,marginTop:d}),d=0)}r.push(l),o.push(u),s.push(d)}return{singleColPlacements:r,multiColPlacements:o,leftoverMargins:s}}(u,e,s),g=[],m=[];for(let e of c){f[e.firstCol].push({seg:e,isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(let t=e.firstCol;t<=e.lastCol;t+=1)h[t].push({seg:rl(e,t,t+1,s),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(let e=0;e<s.length;e+=1)g.push(0);for(let t of d){let n=e[t.index],i=t.span;f[i.start].push({seg:rl(n,i.start,i.end,s),isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(let e=i.start;e<i.end;e+=1)g[e]+=1,h[e].push({seg:rl(n,e,e+1,s),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(let e=0;e<s.length;e+=1)m.push(p[e]);return{singleColPlacements:h,multiColPlacements:f,moreCnts:g,moreMarginTops:m}}function rl(e,t,n,i){if(e.firstCol===t&&e.lastCol===n-1)return e;let r=e.eventRange,o=r.range,s=ri(o,{start:i[t].date,end:It(i[n-1].date,1)});return Object.assign(Object.assign({},e),{firstCol:t,lastCol:n-1,eventRange:{def:r.def,ui:Object.assign(Object.assign({},r.ui),{durationEditable:!1}),instance:r.instance,range:s},isStart:e.isStart&&s.start.valueOf()===o.start.valueOf(),isEnd:e.isEnd&&s.end.valueOf()===o.end.valueOf()})}class ol extends eo{constructor(){super(...arguments),this.hiddenConsumes=!1,this.forceHidden={}}addSegs(e){const t=super.addSegs(e),{entriesByLevel:n}=this,i=e=>!this.forceHidden[no(e)];for(let e=0;e<n.length;e+=1)n[e]=n[e].filter(i);return t}handleInvalidInsertion(e,t,n){const{entriesByLevel:i,forceHidden:r}=this,{touchingEntry:o,touchingLevel:s,touchingLateral:a}=e;if(this.hiddenConsumes&&o){const e=no(o);if(!r[e])if(this.allowReslicing){const e=Object.assign(Object.assign({},o),{span:ro(o.span,t.span)});r[no(e)]=!0,i[s][a]=e,n.push(e),this.splitEntry(o,t,n)}else r[e]=!0,n.push(o)}super.handleInvalidInsertion(e,t,n)}}class sl extends Kr{constructor(){super(...arguments),this.cellElRefs=new Mo,this.frameElRefs=new Mo,this.fgElRefs=new Mo,this.segHarnessRefs=new Mo,this.rootElRef={current:null},this.state={framePositions:null,maxContentHeight:null,segHeights:{}},this.handleResize=e=>{e&&this.updateSizing(!0)}}render(){let{props:e,state:t,context:n}=this,{options:i}=n,r=e.cells.length,o=$a(e.businessHourSegs,r),s=$a(e.bgEventSegs,r),a=$a(this.getHighlightSegs(),r),l=$a(this.getMirrorSegs(),r),{singleColPlacements:c,multiColPlacements:d,moreCnts:u,moreMarginTops:h}=il(sr(e.fgEventSegs,i.eventOrder),e.dayMaxEvents,e.dayMaxEventRows,i.eventOrderStrict,t.segHeights,t.maxContentHeight,e.cells),f=e.eventDrag&&e.eventDrag.affectedInstances||e.eventResize&&e.eventResize.affectedInstances||{};return T("tr",{ref:this.rootElRef,role:"row"},e.renderIntro&&e.renderIntro(),e.cells.map((t,n)=>{let i=this.renderFgSegs(n,e.forPrint?c[n]:d[n],e.todayRange,f),r=this.renderFgSegs(n,function(e,t){if(!e.length)return[];let n=function(e){let t={};for(let n of e)for(let e of n)t[e.seg.eventRange.instance.instanceId]=e.absoluteTop;return t}(t);return e.map(e=>({seg:e,isVisible:!0,isAbsolute:!0,absoluteTop:n[e.eventRange.instance.instanceId],marginTop:0}))}(l[n],d),e.todayRange,{},Boolean(e.eventDrag),Boolean(e.eventResize),!1);return T(Ka,{key:t.key,elRef:this.cellElRefs.createRef(t.key),innerElRef:this.frameElRefs.createRef(t.key),dateProfile:e.dateProfile,date:t.date,showDayNumber:e.showDayNumbers,showWeekNumber:e.showWeekNumbers&&0===n,forceDayTop:e.showWeekNumbers,todayRange:e.todayRange,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,extraRenderProps:t.extraRenderProps,extraDataAttrs:t.extraDataAttrs,extraClassNames:t.extraClassNames,extraDateSpan:t.extraDateSpan,moreCnt:u[n],moreMarginTop:h[n],singlePlacements:c[n],fgContentElRef:this.fgElRefs.createRef(t.key),fgContent:T(_,null,T(_,null,i),T(_,null,r)),bgContent:T(_,null,this.renderFillSegs(a[n],"highlight"),this.renderFillSegs(o[n],"non-business"),this.renderFillSegs(s[n],"bg-event")),minHeight:e.cellMinHeight})}))}componentDidMount(){this.updateSizing(!0),this.context.addResizeHandler(this.handleResize)}componentDidUpdate(e,t){let n=this.props;this.updateSizing(!kn(e,n))}componentWillUnmount(){this.context.removeResizeHandler(this.handleResize)}getHighlightSegs(){let{props:e}=this;return e.eventDrag&&e.eventDrag.segs.length?e.eventDrag.segs:e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:e.dateSelectionSegs}getMirrorSegs(){let{props:e}=this;return e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:[]}renderFgSegs(e,t,n,i,r,o,s){let{context:a}=this,{eventSelection:l}=this.props,{framePositions:c}=this.state,d=1===this.props.cells.length,u=r||o||s,h=[];if(c)for(let e of t){let{seg:t}=e,{instanceId:f}=t.eventRange.instance,p=e.isVisible&&!i[f],g=e.isAbsolute,m="",v="";
vendor: 7,247 bytes, line 2
2g&&(a.isRtl?(v=0,m=c.lefts[t.lastCol]-c.lefts[t.firstCol]):(m=0,v=c.rights[t.firstCol]-c.rights[t.lastCol])),h.push(T("div",{className:"fc-daygrid-event-harness"+(g?" fc-daygrid-event-harness-abs":""),key:tl(t),ref:u?null:this.segHarnessRefs.createRef(nl(t)),style:{visibility:p?"":"hidden",marginTop:g?"":e.marginTop,top:g?e.absoluteTop:"",left:m,right:v}},Ga(t)?T(Ya,Object.assign({seg:t,isDragging:r,isSelected:f===l,defaultDisplayEventEnd:d},hr(t,n))):T(Va,Object.assign({seg:t,isDragging:r,isResizing:o,isDateSelecting:s,isSelected:f===l,defaultDisplayEventEnd:d},hr(t,n)))))}return h}renderFillSegs(e,t){let{isRtl:n}=this.context,{todayRange:i}=this.props,{framePositions:r}=this.state,o=[];if(r)for(let s of e){let e=n?{right:0,left:r.lefts[s.lastCol]-r.lefts[s.firstCol]}:{left:0,right:r.rights[s.firstCol]-r.rights[s.lastCol]};o.push(T("div",{key:pr(s.eventRange),className:"fc-daygrid-bg-harness",style:e},"bg-event"===t?T(Qo,Object.assign({seg:s},hr(s,i))):Zo(t)))}return T(_,{},...o)}updateSizing(e){let{props:t,state:n,frameElRefs:i}=this;if(!t.forPrint&&null!==t.clientWidth){if(e){let e=t.cells.map(e=>i.currentMap[e.key]);if(e.length){let t=this.rootElRef.current,i=new Yr(t,e,!0,!1);n.framePositions&&n.framePositions.similarTo(i)||this.setState({framePositions:new Yr(t,e,!0,!1)})}}const r=this.state.segHeights,o=this.querySegHeights(),s=!0===t.dayMaxEvents||!0===t.dayMaxEventRows;this.safeSetState({segHeights:Object.assign(Object.assign({},r),o),maxContentHeight:s?this.computeMaxContentHeight():null})}}querySegHeights(){let e=this.segHarnessRefs.currentMap,t={};for(let n in e){let i=Math.round(e[n].getBoundingClientRect().height);t[n]=Math.max(t[n]||0,i)}return t}computeMaxContentHeight(){let e=this.props.cells[0].key,t=this.cellElRefs.currentMap[e],n=this.fgElRefs.currentMap[e];return t.getBoundingClientRect().bottom-n.getBoundingClientRect().top}getCellEls(){let e=this.cellElRefs.currentMap;return this.props.cells.map(t=>e[t.key])}}sl.addStateEquality({segHeights:kn});class al extends Kr{constructor(){super(...arguments),this.splitBusinessHourSegs=Yt(Wa),this.splitBgEventSegs=Yt(ll),this.splitFgEventSegs=Yt(Wa),this.splitDateSelectionSegs=Yt(Wa),this.splitEventDrag=Yt(qa),this.splitEventResize=Yt(qa),this.rowRefs=new Mo}render(){let{props:e,context:t}=this,n=e.cells.length,i=this.splitBusinessHourSegs(e.businessHourSegs,n),r=this.splitBgEventSegs(e.bgEventSegs,n),o=this.splitFgEventSegs(e.fgEventSegs,n),s=this.splitDateSelectionSegs(e.dateSelectionSegs,n),a=this.splitEventDrag(e.eventDrag,n),l=this.splitEventResize(e.eventResize,n),c=n>=7&&e.clientWidth?e.clientWidth/t.options.aspectRatio/6:null;return T(Tr,{unit:"day"},(t,d)=>T(_,null,e.cells.map((t,u)=>T(sl,{ref:this.rowRefs.createRef(u),key:t.length?t[0].date.toISOString():u,showDayNumbers:n>1,showWeekNumbers:e.showWeekNumbers,todayRange:d,dateProfile:e.dateProfile,cells:t,renderIntro:e.renderRowIntro,businessHourSegs:i[u],eventSelection:e.eventSelection,bgEventSegs:r[u],fgEventSegs:o[u],dateSelectionSegs:s[u],eventDrag:a[u],eventResize:l[u],dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,clientWidth:e.clientWidth,clientHeight:e.clientHeight,cellMinHeight:c,forPrint:e.forPrint}))))}componentDidMount(){this.registerInteractiveComponent()}componentDidUpdate(){this.registerInteractiveComponent()}registerInteractiveComponent(){if(!this.rootEl){const e=this.rowRefs.currentMap[0].getCellEls()[0],t=e?e.closest(".fc-daygrid-body"):null;t&&(this.rootEl=t,this.context.registerInteractiveComponent(this,{el:t,isHitComboAllowed:this.props.isHitComboAllowed}))}}componentWillUnmount(){this.rootEl&&(this.context.unregisterInteractiveComponent(this),this.rootEl=null)}prepareHits(){this.rowPositions=new Yr(this.rootEl,this.rowRefs.collect().map(e=>e.getCellEls()[0]),!1,!0),this.colPositions=new Yr(this.rootEl,this.rowRefs.currentMap[0].getCellEls(),!0,!1)}queryHit(e,t){let{colPositions:n,rowPositions:i}=this,r=n.leftToIndex(e),o=i.topToIndex(t);if(null!=o&&null!=r){let e=this.props.cells[o][r];return{dateProfile:this.props.dateProfile,dateSpan:Object.assign({range:this.getCellRange(o,r),allDay:!0},e.extraDateSpan),dayEl:this.getCellEl(o,r),rect:{left:n.lefts[r],right:n.rights[r],top:i.tops[o],bottom:i.bottoms[o]},layer:0}}return null}getCellEl(e,t){return this.rowRefs.currentMap[e].getCellEls()[t]}getCellRange(e,t){let n=this.props.cells[e][t].date;return{start:n,end:It(n,1)}}}function ll(e,t){return Wa(e.filter(cl),t)}function cl(e){return e.eventRange.def.allDay}class dl extends Kr{constructor(){super(...arguments),this.elRef={current:null},this.needsScrollReset=!1}render(){let{props:e}=this,{dayMaxEventRows:t,dayMaxEvents:n,expandRows:i}=e,r=!0===n||!0===t;r&&!i&&(r=!1,t=null,n=null);let o=["fc-daygrid-body",r?"fc-daygrid-body-balanced":"fc-daygrid-body-unbalanced",i?"":"fc-daygrid-body-natural"];return T("div",{ref:this.elRef,className:o.join(" "),style:{width:e.clientWidth,minWidth:e.tableMinWidth}},T("table",{role:"presentation",className:"fc-scrollgrid-sync-table",style:{width:e.clientWidth,minWidth:e.tableMinWidth,height:i?e.clientHeight:""}},e.colGroupNode,T("tbody",{role:"presentation"},T(al,{dateProfile:e.dateProfile,cells:e.cells,renderRowIntro:e.renderRowIntro,showWeekNumbers:e.showWeekNumbers,clientWidth:e.clientWidth,clientHeight:e.clientHeight,businessHourSegs:e.businessHourSegs,bgEventSegs:e.bgEventSegs,fgEventSegs:e.fgEventSegs,dateSelectionSegs:e.dateSelectionSegs,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,dayMaxEvents:n,dayMaxEventRows:t,forPrint:e.forPrint,isHitComboAllowed:e.isHitComboAllowed}))))}componentDidMount(){this.requestScrollReset()}componentDidUpdate(e){e.dateProfile!==this.props.dateProfile?this.requestScrollReset():this.flushScrollReset()}requestScrollReset(){this.needsScrollReset=!0,this.flushScrollReset()}flushScrollReset(){if(this.needsScrollReset&&this.props.clientWidth){const e=function(e,t){let n;t.currentRangeUnit.match(/year|month/)&&(n=e.querySelector(`[data-date="${i=t.currentDate,i.toISOString().match(/^\d{4}-\d{2}/)[0]}-01"]`));var i;n||(n=e.querySelector(`[data-date="${Ut(t.currentDate)}"]`));return n}(this.elRef.current,this.props.dateProfile);if(e){const t=e.closest(".fc-daygrid-body"),n=t.closest(".fc-scroller"),i=e.getBoundingClientRect().top-t.getBoundingClientRect().top;n.scrollTop=i?i+1:0}this.needsScrollReset=!1}}}class ul extends bo{constructor(){super(...arguments),this.forceDayIfListItem=!0}sliceRange(e,t){return t.sliceRange(e)}}class hl extends Kr{constructor(){super(...arguments),this.slicer=new ul,this.tableRef={current:null}}render(){let{props:e,context:t}=this;return T(dl,Object.assign({ref:this.tableRef},this.slicer.sliceProps(e,e.dateProfile,e.nextDayThreshold,t,e.dayTableModel),{dateProfile:e.dateProfile,cells:e.dayTableModel.cells,colGroupNode:e.colGroupNode,tableMinWidth:e.tableMinWidth,renderRowIntro:e.renderRowIntro,dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,showWeekNumbers:e.showWeekNumbers,expandRows:e.expandRows,headerAlignElRef:e.headerAlignElRef,clientWidth:e.clientWidth,clientHeight:e.clientHeight,forPrint:e.forPrint}))}}function fl(e,t){let n=new vo(e.renderRange,t);return new yo(n,/year|month|week/.test(e.currentRangeUnit))}qe(
vendor: 3,522 bytes, line 2
2':root{--fc-daygrid-event-dot-width:8px}.fc-daygrid-day-events:after,.fc-daygrid-day-events:before,.fc-daygrid-day-frame:after,.fc-daygrid-day-frame:before,.fc-daygrid-event-harness:after,.fc-daygrid-event-harness:before{clear:both;content:"";display:table}.fc .fc-daygrid-body{position:relative;z-index:1}.fc .fc-daygrid-day.fc-day-today{background-color:var(--fc-today-bg-color)}.fc .fc-daygrid-day-frame{min-height:100%;position:relative}.fc .fc-daygrid-day-top{display:flex;flex-direction:row-reverse}.fc .fc-day-other .fc-daygrid-day-top{opacity:.3}.fc .fc-daygrid-day-number{padding:4px;position:relative;z-index:4}.fc .fc-daygrid-month-start{font-size:1.1em;font-weight:700}.fc .fc-daygrid-day-events{margin-top:1px}.fc .fc-daygrid-body-balanced .fc-daygrid-day-events{left:0;position:absolute;right:0}.fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events{min-height:2em;position:relative}.fc .fc-daygrid-body-natural .fc-daygrid-day-events{margin-bottom:1em}.fc .fc-daygrid-event-harness{position:relative}.fc .fc-daygrid-event-harness-abs{left:0;position:absolute;right:0;top:0}.fc .fc-daygrid-bg-harness{bottom:0;position:absolute;top:0}.fc .fc-daygrid-day-bg .fc-non-business{z-index:1}.fc .fc-daygrid-day-bg .fc-bg-event{z-index:2}.fc .fc-daygrid-day-bg .fc-highlight{z-index:3}.fc .fc-daygrid-event{margin-top:1px;z-index:6}.fc .fc-daygrid-event.fc-event-mirror{z-index:7}.fc .fc-daygrid-day-bottom{font-size:.85em;margin:0 2px}.fc .fc-daygrid-day-bottom:after,.fc .fc-daygrid-day-bottom:before{clear:both;content:"";display:table}.fc .fc-daygrid-more-link{border-radius:3px;cursor:pointer;line-height:1;margin-top:1px;max-width:100%;overflow:hidden;padding:2px;position:relative;white-space:nowrap;z-index:4}.fc .fc-daygrid-more-link:hover{background-color:rgba(0,0,0,.1)}.fc .fc-daygrid-week-number{background-color:var(--fc-neutral-bg-color);color:var(--fc-neutral-text-color);min-width:1.5em;padding:2px;position:absolute;text-align:center;top:0;z-index:5}.fc .fc-more-popover .fc-popover-body{min-width:220px;padding:10px}.fc-direction-ltr .fc-daygrid-event.fc-event-start,.fc-direction-rtl .fc-daygrid-event.fc-event-end{margin-left:2px}.fc-direction-ltr .fc-daygrid-event.fc-event-end,.fc-direction-rtl .fc-daygrid-event.fc-event-start{margin-right:2px}.fc-direction-ltr .fc-daygrid-more-link{float:left}.fc-direction-ltr .fc-daygrid-week-number{border-radius:0 0 3px 0;left:0}.fc-direction-rtl .fc-daygrid-more-link{float:right}.fc-direction-rtl .fc-daygrid-week-number{border-radius:0 0 0 3px;right:0}.fc-liquid-hack .fc-daygrid-day-frame{position:static}.fc-daygrid-event{border-radius:3px;font-size:var(--fc-small-font-size);position:relative;white-space:nowrap}.fc-daygrid-block-event .fc-event-time{font-weight:700}.fc-daygrid-block-event .fc-event-time,.fc-daygrid-block-event .fc-event-title{padding:1px}.fc-daygrid-dot-event{align-items:center;display:flex;padding:2px 0}.fc-daygrid-dot-event .fc-event-title{flex-grow:1;flex-shrink:1;font-weight:700;min-width:0;overflow:hidden}.fc-daygrid-dot-event.fc-event-mirror,.fc-daygrid-dot-event:hover{background:rgba(0,0,0,.1)}.fc-daygrid-dot-event.fc-event-selected:before{bottom:-10px;top:-10px}.fc-daygrid-event-dot{border:calc(var(--fc-daygrid-event-dot-width)/2) solid var(--fc-event-border-color);border-radius:calc(var(--fc-daygrid-event-dot-width)/2);box-sizing:content-box;height:0;margin:0 4px;width:0}.fc-direction-ltr .fc-daygrid-event .fc-event-time{margin-right:3px}.fc-direction-rtl .fc-daygrid-event .fc-event-time{margin-left:3px}'
2);var pl=ps({name:"@fullcalendar/daygrid",initialView:"dayGridMonth",views:{dayGrid:{component:class extends Ba{constructor(){super(...arguments),this.buildDayTableModel=Yt(fl),this.headerRef={current:null},this.tableRef={current:null}}render(){let{options:e,dateProfileGenerator:t}=this.context,{props:n}=this,i=this.buildDayTableModel(n.dateProfile,t),r=e.dayHeaders&&T(go,{ref:this.headerRef,dateProfile:n.dateProfile,dates:i.headerDates,datesRepDistinctDays:1===i.rowCnt}),o=t=>T(hl,{ref:this.tableRef,dateProfile:n.dateProfile,dayTableModel:i,businessHours:n.businessHours,dateSelection:n.dateSelection,eventStore:n.eventStore,eventUiBases:n.eventUiBases,eventSelection:n.eventSelection,eventDrag:n.eventDrag,eventResize:n.eventResize,nextDayThreshold:e.nextDayThreshold,colGroupNode:t.tableColGroupNode,tableMinWidth:t.tableMinWidth,dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,showWeekNumbers:e.weekNumbers,expandRows:!n.isHeightAuto,headerAlignElRef:this.headerElRef,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:n.forPrint});return e.dayMinWidth?this.renderHScrollLayout(r,o,i.colCnt,e.dayMinWidth):this.renderSimpleLayout(r,o)}},dateProfileGeneratorClass:class extends ui{buildRenderRange(e,t,n){let i=super.buildRenderRange(e,t,n),{props:r}=this;return function(e){let t,{dateEnv:n,currentRange:i}=e,{start:r,end:o}=i;e.snapToWeek&&(r=n.startOfWeek(r),t=n.startOfWeek(o),t.valueOf()!==o.valueOf()&&(o=Mt(t,1)));if(e.fixedWeekCount){let e=n.startOfWeek(n.startOfMonth(It(i.end,-1)));o=Mt(o,6-Math.ceil(Rt(e,o)/7))}return{start:r,end:o}}({currentRange:i,snapToWeek:/^(year|month)$/.test(t),fixedWeekCount:r.fixedWeekCount,dateEnv:r.dateEnv})}}},dayGridDay:{type:"dayGrid",duration:{days:1}},dayGridWeek:{type:"dayGrid",duration:{weeks:1}},dayGridMonth:{type:"dayGrid",duration:{months:1},fixedWeekCount:!0},dayGridYear:{type:"dayGrid",duration:{years:1}}}});class gl extends Rr{getKeyInfo(){return{allDay:{},timed:{}}}getKeysForDateSpan(e){return e.allDay?["allDay"]:["timed"]}getKeysForEventDef(e){return e.allDay?"background"===(t=e).ui.display||"inverse-background"===t.ui.display?["timed","allDay"]:["allDay"]:["timed"];var t}}const ml=dn({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"short"});function vl(e){let t=["fc-timegrid-slot","fc-timegrid-slot-label",e.isLabeled?"fc-scrollgrid-shrink":"fc-timegrid-slot-minor"];return T(Wn.Consumer,null,n=>{if(!e.isLabeled)return T("td",{className:t.join(" "),"data-time":e.isoTimeStr});let{dateEnv:i,options:r,viewApi:o}=n,s=null==r.slotLabelFormat?ml:Array.isArray(r.slotLabelFormat)?dn(r.slotLabelFormat[0]):dn(r.slotLabelFormat),a={level:0,time:e.time,date:i.toDate(e.date),view:o,text:i.format(e.date,s)};return T(Jn,{elTag:"td",elClasses:t,elAttrs:{"data-time":e.isoTimeStr},renderProps:a,generatorName:"slotLabelContent",customGenerator:r.slotLabelContent,defaultGenerator:yl,classNameGenerator:r.slotLabelClassNames,didMount:r.slotLabelDidMount,willUnmount:r.slotLabelWillUnmount},e=>T("div",{className:"fc-timegrid-slot-label-frame fc-scrollgrid-shrink-frame"},T(e,{elTag:"div",elClasses:["fc-timegrid-slot-label-cushion","fc-scrollgrid-shrink-cushion"]})))})}function yl(e){return e.text}class bl extends Un{render(){return this.props.slatMetas.map(e=>T("tr",{key:e.key},T(vl,Object.assign({},e))))}}const wl=dn({week:"short"});class Sl extends Kr{constructor(){super(...arguments),this.allDaySplitter=new gl,this.headerElRef
vendor: 21,817 bytes, line 2
2={current:null},this.rootElRef={current:null},this.scrollerElRef={current:null},this.state={slatCoords:null},this.handleScrollTopRequest=e=>{let t=this.scrollerElRef.current;t&&(t.scrollTop=e)},this.renderHeadAxis=(e,t="")=>{let{options:n}=this.context,{dateProfile:i}=this.props,r=i.renderRange,o=1===Rt(r.start,r.end)?zr(this.context,r.start,"week"):{};return n.weekNumbers&&"day"===e?T(Jo,{elTag:"th",elClasses:["fc-timegrid-axis","fc-scrollgrid-shrink"],elAttrs:{"aria-hidden":!0},date:r.start,defaultFormat:wl},e=>T("div",{className:["fc-timegrid-axis-frame","fc-scrollgrid-shrink-frame","fc-timegrid-axis-frame-liquid"].join(" "),style:{height:t}},T(e,{elTag:"a",elClasses:["fc-timegrid-axis-cushion","fc-scrollgrid-shrink-cushion","fc-scrollgrid-sync-inner"],elAttrs:o}))):T("th",{"aria-hidden":!0,className:"fc-timegrid-axis"},T("div",{className:"fc-timegrid-axis-frame",style:{height:t}}))},this.renderTableRowAxis=e=>{let{options:t,viewApi:n}=this.context,i={text:t.allDayText,view:n};return T(Jn,{elTag:"td",elClasses:["fc-timegrid-axis","fc-scrollgrid-shrink"],elAttrs:{"aria-hidden":!0},renderProps:i,generatorName:"allDayContent",customGenerator:t.allDayContent,defaultGenerator:Cl,classNameGenerator:t.allDayClassNames,didMount:t.allDayDidMount,willUnmount:t.allDayWillUnmount},t=>T("div",{className:["fc-timegrid-axis-frame","fc-scrollgrid-shrink-frame",null==e?" fc-timegrid-axis-frame-liquid":""].join(" "),style:{height:e}},T(t,{elTag:"span",elClasses:["fc-timegrid-axis-cushion","fc-scrollgrid-shrink-cushion","fc-scrollgrid-sync-inner"]})))},this.handleSlatCoords=e=>{this.setState({slatCoords:e})}}renderSimpleLayout(e,t,n){let{context:i,props:r}=this,o=[],s=Ho(i.options);return e&&o.push({type:"header",key:"header",isSticky:s,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),t&&(o.push({type:"body",key:"all-day",chunk:{content:t}}),o.push({type:"body",key:"all-day-divider",outerContent:T("tr",{role:"presentation",className:"fc-scrollgrid-section"},T("td",{className:"fc-timegrid-divider "+i.theme.getClass("tableCellShaded")}))})),o.push({type:"body",key:"body",liquid:!0,expandRows:Boolean(i.options.expandRows),chunk:{scrollerElRef:this.scrollerElRef,content:n}}),T(ei,{elRef:this.rootElRef,elClasses:["fc-timegrid"],viewSpec:i.viewSpec},T(Fo,{liquid:!r.isHeightAuto&&!r.forPrint,collapsibleWidth:r.forPrint,cols:[{width:"shrink"}],sections:o}))}renderHScrollLayout(e,t,n,i,r,o,s){let a=this.context.pluginHooks.scrollGridImpl;if(!a)throw new Error("No ScrollGrid implementation");let{context:l,props:c}=this,d=!c.forPrint&&Ho(l.options),u=!c.forPrint&&zo(l.options),h=[];e&&h.push({type:"header",key:"header",isSticky:d,syncRowHeights:!0,chunks:[{key:"axis",rowContent:e=>T("tr",{role:"presentation"},this.renderHeadAxis("day",e.rowSyncHeights[0]))},{key:"cols",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),t&&(h.push({type:"body",key:"all-day",syncRowHeights:!0,chunks:[{key:"axis",rowContent:e=>T("tr",{role:"presentation"},this.renderTableRowAxis(e.rowSyncHeights[0]))},{key:"cols",content:t}]}),h.push({key:"all-day-divider",type:"body",outerContent:T("tr",{role:"presentation",className:"fc-scrollgrid-section"},T("td",{colSpan:2,className:"fc-timegrid-divider "+l.theme.getClass("tableCellShaded")}))}));let f=l.options.nowIndicator;return h.push({type:"body",key:"body",liquid:!0,expandRows:Boolean(l.options.expandRows),chunks:[{key:"axis",content:e=>T("div",{className:"fc-timegrid-axis-chunk"},T("table",{"aria-hidden":!0,style:{height:e.expandRows?e.clientHeight:""}},e.tableColGroupNode,T("tbody",null,T(bl,{slatMetas:o}))),T("div",{className:"fc-timegrid-now-indicator-container"},T(Tr,{unit:f?"minute":"day"},e=>{let t=f&&s&&s.safeComputeTop(e);return"number"==typeof t?T(qo,{elClasses:["fc-timegrid-now-indicator-arrow"],elStyle:{top:t},isAxis:!0,date:e}):null})))},{key:"cols",scrollerElRef:this.scrollerElRef,content:n}]}),u&&h.push({key:"footer",type:"footer",isSticky:!0,chunks:[{key:"axis",content:jo},{key:"cols",content:jo}]}),T(ei,{elRef:this.rootElRef,elClasses:["fc-timegrid"],viewSpec:l.viewSpec},T(a,{liquid:!c.isHeightAuto&&!c.forPrint,forPrint:c.forPrint,collapsibleWidth:!1,colGroups:[{width:"shrink",cols:[{width:"shrink"}]},{cols:[{span:i,minWidth:r}]}],sections:h}))}getAllDayMaxEventProps(){let{dayMaxEvents:e,dayMaxEventRows:t}=this.context.options;return!0!==e&&!0!==t||(e=void 0,t=5),{dayMaxEvents:e,dayMaxEventRows:t}}}function Cl(e){return e.text}class El{constructor(e,t,n){this.positions=e,this.dateProfile=t,this.slotDuration=n}safeComputeTop(e){let{dateProfile:t}=this;if(ai(t.currentRange,e)){let n=Pt(e),i=e.valueOf()-n.valueOf();if(i>=xt(t.slotMinTime)&&i<xt(t.slotMaxTime))return this.computeTimeTop(St(i))}return null}computeDateTop(e,t){return t||(t=Pt(e)),this.computeTimeTop(St(e.valueOf()-t.valueOf()))}computeTimeTop(e){let t,n,{positions:i,dateProfile:r}=this,o=i.els.length,s=(e.milliseconds-xt(r.slotMinTime))/xt(this.slotDuration);return s=Math.max(0,s),s=Math.min(o,s),t=Math.floor(s),t=Math.min(t,o-1),n=s-t,i.tops[t]+i.getHeight(t)*n}}class Al extends Un{render(){let{props:e,context:t}=this,{options:n}=t,{slatElRefs:i}=e;return T("tbody",null,e.slatMetas.map((r,o)=>{let s={time:r.time,date:t.dateEnv.toDate(r.date),view:t.viewApi};return T("tr",{key:r.key,ref:i.createRef(r.key)},e.axis&&T(vl,Object.assign({},r)),T(Jn,{elTag:"td",elClasses:["fc-timegrid-slot","fc-timegrid-slot-lane",!r.isLabeled&&"fc-timegrid-slot-minor"],elAttrs:{"data-time":r.isoTimeStr},renderProps:s,generatorName:"slotLaneContent",customGenerator:n.slotLaneContent,classNameGenerator:n.slotLaneClassNames,didMount:n.slotLaneDidMount,willUnmount:n.slotLaneWillUnmount}))}))}}class xl extends Un{constructor(){super(...arguments),this.rootElRef={current:null},this.slatElRefs=new Mo}render(){let{props:e,context:t}=this;return T("div",{ref:this.rootElRef,className:"fc-timegrid-slots"},T("table",{"aria-hidden":!0,className:t.theme.getClass("table"),style:{minWidth:e.tableMinWidth,width:e.clientWidth,height:e.minHeight}},e.tableColGroupNode,T(Al,{slatElRefs:this.slatElRefs,axis:e.axis,slatMetas:e.slatMetas})))}componentDidMount(){this.updateSizing()}componentDidUpdate(){this.updateSizing()}componentWillUnmount(){this.props.onCoords&&this.props.onCoords(null)}updateSizing(){let{context:e,props:t}=this;if(t.onCoords&&null!==t.clientWidth){this.rootElRef.current.offsetHeight&&t.onCoords(new El(new Yr(this.rootElRef.current,(n=this.slatElRefs.currentMap,t.slatMetas.map(e=>n[e.key])),!1,!0),this.props.dateProfile,e.options.slotDuration))}var n}}function Dl(e,t){let n,i=[];for(n=0;n<t;n+=1)i.push([]);if(e)for(n=0;n<e.length;n+=1)i[e[n].col].push(e[n]);return i}function Tl(e,t){let n=[];if(e){for(let i=0;i<t;i+=1)n[i]={affectedInstances:e.affectedInstances,isEvent:e.isEvent,segs:[]};for(let t of e.segs)n[t.col].segs.push(t)}else for(let e=0;e<t;e+=1)n[e]=null;return n}class kl extends Un{render(){let{props:e}=this;return T(ns,{elClasses:["fc-timegrid-more-link"],elStyle:{top:e.top,bottom:e.bottom},allDayDate:null,moreCnt:e.hiddenSegs.length,allSegs:e.hiddenSegs,hiddenSegs:e.hiddenSegs,extraDateSpan:e.extraDateSpan,dateProfile:e.dateProfile,todayRange:e.todayRange,popoverContent:()=>zl(e.hiddenSegs,e),defaultGenerator:_l,forceTimed:!0},e=>T(e,{elTag:"div",elClasses:["fc-timegrid-more-link-inner","fc-sticky"]}))}}function _l(e){return e.shortText}function Ml(e,t,n){let i=new eo;null!=t&&(i.strictOrder=t),null!=n&&(i.maxStackCnt=n);let r=function(e){let t=[];for(let n of e){let e=[],i={span:n.span,entries:[n]};for(let n of t)ro(n.span,i.span)?i={entries:n.entries.concat(i.entries),span:io(n.span,i.span)}:e.push(n);e.push(i),t=e}return t}(i.addSegs(e)),o=function(e){const{entriesByLevel:t}=e,n=Nl((e,t)=>e+":"+t,(i,r)=>{let o=function(e,t,n){let{levelCoords:i,entriesByLevel:r}=e,o=r[t][n],s=i[t]+o.thickness,a=i.length,l=t;for(;l<a&&i[l]<s;l+=1);for(;l<a;l+=1){let e,t=r[l],n=so(t,o.span.start,to),i=n[0]+n[1],s=i;for(;(e=t[s])&&e.span.start<o.span.end;)s+=1;if(i<s)return{level:l,lateralStart:i,lateralEnd:s}}return null}(e,i,r),s=Il(o,n),a=t[i][r];return[Object.assign(Object.assign({},a),{nextLevelNodes:s[0]}),a.thickness+s[1]]});return Il(t.length?{level:0,lateralStart:0,lateralEnd:t[0].length}:null,n)[0]}(i);return o=function(e,t){const n=Nl((e,t,n)=>no(e),(e,i,r)=>{let o,{nextLevelNodes:s,thickness:a}=e,l=a+r,c=a/l,d=[];if(s.length)for(let e of s)if(void 0===o){let t=n(e,i,l);o=t[0],d.push(t[1])}else{let t=n(e,o,0);d.push(t[1])}else o=t;let u=(o-i)*c;return[o-u,Object.assign(Object.assign({},e),{thickness:u,nextLevelNodes:d})]});return e.map(e=>n(e,0,0)[1])}(o,1),{segRects:function(e){let t=[];const n=Nl((e,t,n)=>no(e),(e,n,r)=>{let o=Object.assign(Object.assign({},e),{levelCoord:n,stackDepth:r,stackForward:0});return t.push(o),o.stackForward=i(e.nextLevelNodes,n+e.thickness,r+1)+1});function i(e,t,i){let r=0;for(let o of e)r=Math.max(n(o,t,i),r);return r}return i(e,0,0),t}(o),hiddenGroups:r}}function Il(e,t){if(!e)return[[],0];let{level:n,lateralStart:i,lateralEnd:r}=e,o=i,s=[];for(;o<r;)s.push(t(n,o)),o+=1;return s.sort(Ol),[s.map(Rl),s[0][1]]}function Ol(e,t){return t[1]-e[1]}function Rl(e){return e[0]}function Nl(e,t){const n={};return(...i)=>{let r=e(...i);return r in n?n[r]:n[r]=t(...i)}}function Pl(e,t,n=null,i=0){let r=[];if(n)for(let o=0;o<e.length;o+=1){let s=e[o],a=n.computeDateTop(s.start,t),l=Math.max(a+(i||0),n.computeDateTop(s.end,t));r.push({start:Math.round(a),end:Math.round(l)})}return r}const Ll=dn({hour:"numeric",minute:"2-digit",meridiem:!1});class jl extends Un{render(){return T(Wo,Object.assign({},this.props,{elClasses:["fc-timegrid-event","fc-v-event",this.props.isShort&&"fc-timegrid-event-short"],defaultTimeFormat:Ll}))}}class Hl extends Un{constructor(){super(...arguments),this.sortEventSegs=Yt(sr)}render(){let{props:e,context:t}=this,{options:n}=t,i=n.selectMirror,r=e.eventDrag&&e.eventDrag.segs||e.eventResize&&e.eventResize.segs||i&&e.dateSelectionSegs||[],o=e.eventDrag&&e.eventDrag.affectedInstances||e.eventResize&&e.eventResize.affectedInstances||{},s=this.sortEventSegs(e.fgEventSegs,n.eventOrder);return T(Go,{elTag:"td",elRef:e.elRef,elClasses:["fc-timegrid-col",...e.extraClassNames||[]],elAttrs:Object.assign({role:"gridcell"},e.extraDataAttrs),date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,extraRenderProps:e.extraRenderProps},t=>T("div",{className:"fc-timegrid-col-frame"},T("div",{className:"fc-timegrid-col-bg"},this.renderFillSegs(e.businessHourSegs,"non-business"),this.renderFillSegs(e.bgEventSegs,"bg-event"),this.renderFillSegs(e.dateSelectionSegs,"highlight")),T("div",{className:"fc-timegrid-col-events"},this.renderFgSegs(s,o,!1,!1,!1)),T("div",{className:"fc-timegrid-col-events"},this.renderFgSegs(r,{},Boolean(e.eventDrag),Boolean(e.eventResize),Boolean(i),"mirror")),T("div",{className:"fc-timegrid-now-indicator-container"},this.renderNowIndicator(e.nowIndicatorSegs)),Vo(n)&&T(t,{elTag:"div",elClasses:["fc-timegrid-col-misc"]})))}renderFgSegs(e,t,n,i,r,o){let{props:s}=this;return s.forPrint?zl(e,s):this.renderPositionedFgSegs(e,t,n,i,r,o)}renderPositionedFgSegs(e,t,n,i,r,o){let{eventMaxStack:s,eventShortHeight:a,eventOrderStrict:l,eventMinHeight:c}=this.context.options,{date:d,slatCoords:u,eventSelection:h,todayRange:f,nowDate:p}=this.props,g=n||i||r,m=Pl(e,d,u,c),{segPlacements:v,hiddenGroups:y}=function(e,t,n,i){let r=[],o=[];for(let n=0;n<e.length;n+=1){let i=t[n];i?r.push({index:n,thickness:1,span:i}):o.push(e[n])}let{segRects:s,hiddenGroups:a}=Ml(r,n,i),l=[];for(let t of s)l.push({seg:e[t.index],rect:t});for(let e of o)l.push({seg:e,rect:null});return{segPlacements:l,hiddenGroups:a}}(e,m,l,s);return T(_,null,this.renderHiddenGroups(y,e),v.map(e=>{let{seg:s,rect:l}=e,c=s.eventRange.instance.instanceId,d=g||Boolean(!t[c]&&l),u=Fl(l&&l.span),m=!g&&l?this.computeSegHStyle(l):{left:0,right:0},v=Boolean(l)&&l.stackForward>0,y=Boolean(l)&&l.span.end-l.span.start<a;return T("div",{className:"fc-timegrid-event-harness"+(v?" fc-timegrid-event-harness-inset":""),key:o||c,style:Object.assign(Object.assign({visibility:d?"":"hidden"},u),m)},T(jl,Object.assign({seg:s,isDragging:n,isResizing:i,isDateSelecting:r,isSelected:c===h,isShort:y},hr(s,f,p))))}))}renderHiddenGroups(e,t){let{extraDateSpan:n,dateProfile:i,todayRange:r,nowDate:o,eventSelection:s,eventDrag:a,eventResize:l}=this.props;return T(_,null,e.map(e=>{let c=Fl(e.span),d=(u=e.entries,h=t,u.map(e=>h[e.index]));var u,h;return T(kl,{key:qt(os(d)),hiddenSegs:d,top:c.top,bottom:c.bottom,extraDateSpan:n,dateProfile:i,todayRange:r,nowDate:o,eventSelection:s,eventDrag:a,eventResize:l})}))}renderFillSegs(e,t){let{props:n,context:i}=this,r=Pl(e,n.date,n.slatCoords,i.options.eventMinHeight).map((i,r)=>{let o=e[r];return T("div",{key:pr(o.eventRange),className:"fc-timegrid-bg-harness",style:Fl(i)},"bg-event"===t?T(Qo,Object.assign({seg:o},hr(o,n.todayRange,n.nowDate))):Zo(t))});return T(_,null,r)}renderNowIndicator(e){let{slatCoords:t,date:n}=this.props;return t?e.map((e,i)=>T(qo,{key:i,elClasses:["fc-timegrid-now-indicator-line"],elStyle:{top:t.computeDateTop(e.start,n)},isAxis:!1,date:n})):null}computeSegHStyle(e){let t,n,{isRtl:i,options:r}=this.context,o=r.slotEventOverlap,s=e.levelCoord,a=e.levelCoord+e.thickness;o&&(a=Math.min(1,s+2*(a-s))),i?(t=1-a,n=s):(t=s,n=1-a);let l={zIndex:e.stackDepth+1,left:100*t+"%",right:100*n+"%"};return o&&!e.stackForward&&(l[i?"marginLeft":"marginRight"]=20),l}}function zl(e,{todayRange:t,nowDate:n,eventSelection:i,eventDrag:r,eventResize:o}){let s=(r?r.affectedInstances:null)||(o?o.affectedInstances:null)||{};return T(_,null,e.map(e=>{let r=e.eventRange.instance.instanceId;return T("div",{key:r,style:{visibility:s[r]?"hidden":""}},T(jl,Object.assign({seg:e,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:r===i,isShort:!1},hr(e,t,n))))}))}function Fl(e){return e?{top:e.start,bottom:-e.end}:{top:"",bottom:""}}class Bl extends Un{constructor(){super(...arguments),this.splitFgEventSegs=Yt(Dl),this.splitBgEventSegs=Yt(Dl),this.splitBusinessHourSegs=Yt(Dl),this.splitNowIndicatorSegs=Yt(Dl),this.splitDateSelectionSegs=Yt(Dl),this.splitEventDrag=Yt(Tl),this.splitEventResize=Yt(Tl),this.rootElRef={current:null},this.cellElRefs=new Mo}render(){let{props:e,context:t}=this,n=t.options.nowIndicator&&e.slatCoords&&e.slatCoords.safeComputeTop(e.nowDate),i=e.cells.length,r=this.splitFgEventSegs(e.fgEventSegs,i),o=this.splitBgEventSegs(e.bgEventSegs,i),s=this.splitBusinessHourSegs(e.businessHourSegs,i),a=this.splitNowIndicatorSegs(e.nowIndicatorSegs,i),l=this.splitDateSelectionSegs(e.dateSelectionSegs,i),c=this.splitEventDrag(e.eventDrag,i),d=this.splitEventResize(e.eventResize,i);return T("div",{className:"fc-timegrid-cols",ref:this.rootElRef},T("table",{role:"presentation",style:{minWidth:e.tableMinWidth,width:e.clientWidth}},e.tableColGroupNode,T("tbody",{role:"presentation"},T("tr",{role:"row"},e.axis&&T("td",{"aria-hidden":!0,className:"fc-timegrid-col fc-timegrid-axis"},T("div",{className:"fc-timegrid-col-frame"},T("div",{className:"fc-timegrid-now-indicator-container"},"number"==typeof n&&T(qo,{elClasses:["fc-timegrid-now-indicator-arrow"],elStyle:{top:n},isAxis:!0,date:e.nowDate})))),e.cells.map((t,n)=>T(Hl,{key:t.key,elRef:this.cellElRefs.createRef(t.key),dateProfile:e.dateProfile,date:t.date,nowDate:e.nowDate,todayRange:e.todayRange,extraRenderProps:t.extraRenderProps,extraDataAttrs:t.extraDataAttrs,extraClassNames:t.extraClassNames,extraDateSpan:t.extraDateSpan,fgEventSegs:r[n],bgEventSegs:o[n],businessHourSegs:s[n],nowIndicatorSegs:a[n],dateSelectionSegs:l[n],eventDrag:c[n],eventResize:d[n],slatCoords:e.slatCoords,eventSelection:e.eventSelection,forPrint:e.forPrint}))))))}componentDidMount(){this.updateCoords()}componentDidUpdate(){this.updateCoords()}updateCoords(){let{props:e}=this;var t;e.onColCoords&&null!==e.clientWidth&&e.onColCoords(new Yr(this.rootElRef.current,(t=this.cellElRefs.currentMap,e.cells.map(e=>t[e.key])),!0,!1))}}class Wl extends Kr{constructor(){super(...arguments),this.processSlotOptions=Yt($l),this.state={slatCoords:null},this.handleRootEl=e=>{e?this.context.registerInteractiveComponent(this,{el:e,isHitComboAllowed:this.props.isHitComboAllowed}):this.context.unregisterInteractiveComponent(this)},this.handleScrollRequest=e=>{let{onScrollTopRequest:t}=this.props,{slatCoords:n}=this.state;if(t&&n){if(e.time){let i=n.computeTimeTop(e.time);i=Math.ceil(i),i&&(i+=1),t(i)}return!0}return!1},this.handleColCoords=e=>{this.colCoords=e},this.handleSlatCoords=e=>{this.setState({slatCoords:e}),this.props.onSlatCoords&&this.props.onSlatCoords(e)}}render(){let{props:e,state:t}=this;return T("div",{className:"fc-timegrid-body",ref:this.handleRootEl,style:{width:e.clientWidth,minWidth:e.tableMinWidth}},T(xl,{axis:e.axis,dateProfile:e.dateProfile,slatMetas:e.slatMetas,clientWidth:e.clientWidth,minHeight:e.expandRows?e.clientHeight:"",tableMinWidth:e.tableMinWidth,tableColGroupNode:e.axis?e.tableColGroupNode:null,onCoords:this.handleSlatCoords}),T(Bl,{cells:e.cells,axis:e.axis,dateProfile:e.dateProfile,businessHourSegs:e.businessHourSegs,bgEventSegs:e.bgEventSegs,fgEventSegs:e.fgEventSegs,dateSelectionSegs:e.dateSelectionSegs,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,todayRange:e.todayRange,nowDate:e.nowDate,nowIndicatorSegs:e.nowIndicatorSegs,clientWidth:e.clientWidth,tableMinWidth:e.tableMinWidth,tableColGroupNode:e.tableColGroupNode,slatCoords:t.slatCoords,onColCoords:this.handleColCoords,forPrint:e.forPrint}))}componentDidMount(){this.scrollResponder=this.context.createScrollResponder(this.handleScrollRequest)}componentDidUpdate(e){this.scrollResponder.update(e.dateProfile!==this.props.dateProfile)}componentWillUnmount(){this.scrollResponder.detach()}queryHit(e,t){let{dateEnv:n,options:i}=this.context,{colCoords:r}=this,{dateProfile:o}=this.props,{slatCoords:s}=this.state,{snapDuration:a,snapsPerSlot:l}=this.processSlotOptions(this.props.slotDuration,i.snapDuration),c=r.leftToIndex(e),d=s.positions.topToIndex(t);if(null!=c&&null!=d){let e=this.props.cells[c],i=s.positions.tops[d],u=s.positions.getHeight(d),h=(t-i)/u,f=d*l+Math.floor(h*l),p=this.props.cells[c].date,g=Et(o.slotMinTime,function(e,t){return{years:e.years*t,months:e.months*t,days:e.days*t,milliseconds:e.milliseconds*t}}(a,f)),m=n.add(p,g),v=n.add(m,a);return{dateProfile:o,dateSpan:Object.assign({range:{start:m,end:v},allDay:!1},e.extraDateSpan),dayEl:r.els[c],rect:{left:r.lefts[c],right:r.rights[c],top:i,bottom:i+u},layer:0}}return null}}function $l(e,t){let n=t||e,i=Dt(e,n);return null===i&&(n=e,i=1),{snapDuration:n,snapsPerSlot:i}}class ql extends bo{sliceRange(e,t){let n=[];for(let i=0;i<t.length;i+=1){let r=ri(e,t[i]);r&&n.push({start:r.start,end:r.end,isStart:r.start.valueOf()===e.start.valueOf(),isEnd:r.end.valueOf()===e.end.valueOf(),col:i})}return n}}class Ul extends Kr{constructor(){super(...arguments),this.buildDayRanges=Yt(Gl),this.slicer=new ql,this.timeColsRef={current:null}}render(){let{props:e,context:t}=this,{dateProfile:n,dayTableModel:i}=e,{nowIndicator:r,nextDayThreshold:o}=t.options,s=this.buildDayRanges(i,n,t.dateEnv);return T(Tr,{unit:r?"minute":"day"},(a,l)=>T(Wl,Object.assign({ref:this.timeColsRef},this.slicer.sliceProps(e,n,null,t,s),{forPrint:e.forPrint,axis:e.axis,dateProfile:n,slatMetas:e.slatMetas,slotDuration:e.slotDuration,cells:i.cells[0],tableColGroupNode:e.tableColGroupNode,tableMinWidth:e.tableMinWidth,clientWidth:e.clientWidth,clientHeight:e.clientHeight,expandRows:e.expandRows,nowDate:a,nowIndicatorSegs:r&&this.slicer.sliceNowDate(a,n,o,t,s),todayRange:l,onScrollTopRequest:e.onScrollTopRequest,onSlatCoords:e.onSlatCoords})))}}function Gl(e,t,n){let i=[];for(let r of e.headerDates)i.push({start:n.add(r,t.slotMinTime),end:n.add(r,t.slotMaxTime)});return i}const Vl=[{hours:1},{minutes:30},{minutes:15},{seconds:30},{seconds:15}];function Yl(e,t,n,i,r){let o=new Date(0),s=e,a=St(0),l=n||function(e){let t,n,i;for(t=Vl.length-1;t>=0;t-=1)if(n=St(Vl[t]),i=Dt(n,e),null!==i&&i>1)return n;return e}(i),c=[];for(;xt(s)<xt(t);){let e=r.add(o,s),t=null!==Dt(a,l);c.push({date:e,time:s,key:e.toISOString(),isoTimeStr:Gt(e),isLabeled:t}),s=Et(s,i),a=Et(a,i)}return c}function Ql(e,t){let n=new vo(e.renderRange,t);return new yo(n,!1)}qe('.fc-v-event{background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);display:block}.fc-v-event .fc-event-main{color:var(--fc-event-text-color);height:100%}.fc-v-event .fc-event-main-frame{display:flex;flex-direction:column;height:100%}.fc-v-event .fc-event-time{flex-grow:0;flex-shrink:0;max-height:100%;overflow:hidden}.fc-v-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-height:0}.fc-v-event .fc-event-title{bottom:0;max-height:100%;overflow:hidden;top:0}.fc-v-event:not(.fc-event-start){border-top-left-radius:0;border-top-right-radius:0;border-top-width:0}.fc-v-event:not(.fc-event-end){border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-width:0}.fc-v-event.fc-event-selected:before{left:-10px;right:-10px}.fc-v-event .fc-event-resizer-start{cursor:n-resize}.fc-v-event .fc-event-resizer-end{cursor:s-resize}.fc-v-event:not(.fc-event-selected) .fc-event-resizer{height:var(--fc-event-resizer-thickness);left:0;right:0}.fc-v-event:not(.fc-event-selected) .fc-event-resizer-start{top:calc(var(--fc-event-resizer-thickness)/-2)}.fc-v-event:not(.fc-event-selected) .fc-event-resizer-end{bottom:calc(var(--fc-event-resizer-thickness)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer{left:50%;margin-left:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer-start{top:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer-end{bottom:calc(var(--fc-event-resizer-dot-total-width)/-2)}
2.fc .fc-timegrid .fc-daygrid-body{z-index:2}.fc .fc-timegrid-divider{padding:0 0 2px}.fc .fc-timegrid-body{min-height:100%;position:relative;z-index:1}.fc .fc-timegrid-axis-chunk{position:relative}.fc .fc-timegrid-axis-chunk>table,.fc .fc-timegrid-slots{position:relative;z-index:1}.fc .fc-timegrid-slot{border-bottom:0;height:1.5em}.fc .fc-timegrid-slot:empty:before{content:"\\00a0"}.fc .fc-timegrid-slot-minor{border-top-style:dotted}.fc .fc-timegrid-slot-label-cushion{display:inline-block;white-space:nowrap}.fc .fc-timegrid-slot-label{vertical-align:middle}.fc .fc-timegrid-axis-cushion,.fc .fc-timegrid-slot-label-cushion{padding:0 4px}.fc .fc-timegrid-axis-frame-liquid{height:100%}.fc .fc-timegrid-axis-frame{align-items:center;display:flex;justify-content:flex-end;overflow:hidden}.fc .fc-timegrid-axis-cushion{flex-shrink:0;max-width:60px}.fc-direction-ltr .fc-timegrid-slot-label-frame{text-align:right}.fc-direction-rtl .fc-timegrid-slot-label-frame{text-align:left}.fc-liquid-hack .fc-timegrid-axis-frame-liquid{bottom:0;height:auto;left:0;position:absolute;right:0;top:0}.fc .fc-timegrid-col.fc-day-today{background-color:var(--fc-today-bg-color)}.fc .fc-timegrid-col-frame{min-height:100%;position:relative}.fc-media-screen.fc-liquid-hack .fc-timegrid-col-frame{bottom:0;height:auto;left:0;position:absolute;right:0;top:0}.fc-media-screen .fc-timegrid-cols{bottom:0;left:0;position:absolute;right:0;top:0}.fc-media-screen .fc-timegrid-cols>table{height:100%}.fc-media-screen .fc-timegrid-col-bg,.fc-media-screen .fc-timegrid-col-events,.fc-media-screen .fc-timegrid-now-indicator-container{left:0;position:absolute;right:0;top:0}.fc .fc-timegrid-col-bg{z-index:2}.fc .fc-timegrid-col-bg .fc-non-business{z-index:1}.fc .fc-timegrid-col-bg .fc-bg-event{z-index:2}.fc .fc-timegrid-col-bg .fc-highlight{z-index:3}.fc .fc-timegrid-bg-harness{left:0;position:absolute;right:0}.fc .fc-timegrid-col-events{z-index:3}.fc .fc-timegrid-now-indicator-container{bottom:0;overflow:hidden}.fc-direction-ltr .fc-timegrid-col-events{margin:0 2.5% 0 2px}.fc-direction-rtl .fc-timegrid-col-events{margin:0 2px 0 2.5%}.fc-timegrid-event-harness{position:absolute}.fc-timegrid-event-harness>.fc-timegrid-event{bottom:0;left:0;position:absolute;right:0;top:0}.fc-timegrid-event-harness-inset .fc-timegrid-event,.fc-timegrid-event.fc-event-mirror,.fc-timegrid-more-link{box-shadow:0 0 0 1px var(--fc-page-bg-color)}.fc-timegrid-event,.fc-timegrid-more-link{border-radius:3px;font-size:var(--fc-small-font-size)}.fc-timegrid-event{margin-bottom:1px}.fc-timegrid-event .fc-event-main{padding:1px 1px 0}.fc-timegrid-event .fc-event-time{font-size:var(--fc-small-font-size);margin-bottom:1px;white-space:nowrap}.fc-timegrid-event-short .fc-event-main-frame{flex-direction:row;overflow:hidden}.fc-timegrid-event-short .fc-event-time:after{content:"\\00a0-\\00a0"}.fc-timegrid-event-short .fc-event-title{font-size:var(--fc-small-font-size)}.fc-timegrid-more-link{background:var(--fc-more-link-bg-color);color:var(--fc-more-link-text-color);cursor:pointer;margin-bottom:1px;position:absolute;z-index:9999}.fc-timegrid-more-link-inner{padding:3px 2px;top:0}.fc-direction-ltr .fc-timegrid-more-link{right:0}.fc-direction-rtl .fc-timegrid-more-link{left:0}.fc .fc-timegrid-now-indicator-arrow,.fc .fc-timegrid-now-indicator-line{pointer-events:none}.fc .fc-timegrid-now-indicator-line{border-color:var(--fc-now-indicator-color);border-style:solid;border-width:1px 0 0;left:0;position:absolute;right:0;z-index:4}.fc .fc-timegrid-now-indicator-arrow{border-color:var(--fc-now-indicator-color);border-style:solid;margin-top:-5px;position:absolute;z-index:4}.fc-direction-ltr .fc-timegrid-now-indicator-arrow{border-bottom-color:transparent;border-top-color:transparent;border-width:5px 0 5px 6px;left:0}.fc-direction-rtl .fc-timegrid-now-indicator-arrow{border-bottom-color:transparent;border-top-color:transparent;border-width:5px 6px 5px 0;right:0}');var Xl=ps({name:"@fullcalendar/timegrid",initialView:"timeGridWeek",optionRefiners:{allDaySlot:Boolean},views:{timeGrid:{component:class extends Sl{constructor(){super(...arguments),this.buildTimeColsModel=Yt(Ql),this.buildSlatMetas=Yt(Yl)}render(){let{options:e,dateEnv:t,dateProfileGenerator:n}=this.context,{props:i}=this,{dateProfile:r}=i,o=this.buildTimeColsModel(r,n),s=this.allDaySplitter.splitProps(i),a=this.buildSlatMetas(r.slotMinTime,r.slotMaxTime,e.slotLabelInterval,e.slotDuration,t),{dayMinWidth:l}=e,c=!l,d=l,u=e.dayHeaders&&T(go,{dates:o.headerDates,dateProfile:r,datesRepDistinctDays:!0,renderIntro:c?this.renderHeadAxis:null}),h=!1!==e.allDaySlot&&(t=>T(hl,Object.assign({},s.allDay,{dateProfile:r,dayTableModel:o,nextDayThreshold:e.nextDayThreshold,tableMinWidth:t.tableMinWidth,colGroupNode:t.tableColGroupNode,renderRowIntro:c?this.renderTableRowAxis:null,showWeekNumbers:!1,expandRows:!1,headerAlignElRef:this.headerElRef,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:i.forPrint},this.getAllDayMaxEventProps()))),f=t=>T(Ul,Object.assign({},s.timed,{dayTableModel:o,dateProfile:r,axis:c,slotDuration:e.slotDuration,slatMetas:a,forPrint:i.forPrint,tableColGroupNode:t.tableColGroupNode,tableMinWidth:t.tableMinWidth,clientWidth:t.clientWidth,clientHeight:t.clientHeight,onSlatCoords:this.handleSlatCoords,expandRows:t.expandRows,onScrollTopRequest:this.handleScrollTopRequest}));return d?this.renderHScrollLayout(u,h,f,o.colCnt,l,a,this.state.slatCoords):this.renderSimpleLayout(u,h,f)}},usesMinMaxTime:!0,allDaySlot:!0,slotDuration:"00:30:00",slotEventOverlap:!0},timeGridDay:{type:"timeGrid",duration:{days:1}},timeGridWeek:{type:"timeGrid",duration:{weeks:1}}}});class Zl extends Un{constructor(){super(...arguments),this.state={textId:it()}}render(){let{theme:e,dateEnv:t,options:n,viewApi:i}=this.context,{cellId:r,dayDate:o,todayRange:s}=this.props,{textId:a}=this.state,l=Pr(o,s),c=n.listDayFormat?t.format(o,n.listDayFormat):"",d=n.listDaySideFormat?t.format(o,n.listDaySideFormat):"",u=Object.assign({date:t.toDate(o),view:i,textId:a,text:c,sideText:d,navLinkAttrs:zr(this.context,o),sideNavLinkAttrs:zr(this.context,o,"day",!1)},l);return T(Jn,{elTag:"tr",elClasses:["fc-list-day",...Lr(l,e)],elAttrs:{"data-date":Ut(
vendor: 4,465 bytes, line 2
2o)},renderProps:u,generatorName:"dayHeaderContent",customGenerator:n.dayHeaderContent,defaultGenerator:Jl,classNameGenerator:n.dayHeaderClassNames,didMount:n.dayHeaderDidMount,willUnmount:n.dayHeaderWillUnmount},t=>T("th",{scope:"colgroup",colSpan:3,id:r,"aria-labelledby":a},T(t,{elTag:"div",elClasses:["fc-list-day-cushion",e.getClass("tableCellShaded")]})))}}function Jl(e){return T(_,null,e.text&&T("a",Object.assign({id:e.textId,className:"fc-list-day-text"},e.navLinkAttrs),e.text),e.sideText&&T("a",Object.assign({"aria-hidden":!0,className:"fc-list-day-side-text"},e.sideNavLinkAttrs),e.sideText))}const Kl=dn({hour:"numeric",minute:"2-digit",meridiem:"short"});class ec extends Un{render(){let{props:e,context:t}=this,{options:n}=t,{seg:i,timeHeaderId:r,eventHeaderId:o,dateHeaderId:s}=e,a=n.eventTimeFormat||Kl;return T(Bo,Object.assign({},e,{elTag:"tr",elClasses:["fc-list-event",i.eventRange.def.url&&"fc-event-forced-url"],defaultGenerator:()=>function(e,t){let n=gr(e,t);return T("a",Object.assign({},n),e.eventRange.def.title)}(i,t),seg:i,timeText:"",disableDragging:!0,disableResizing:!0}),(e,n)=>T(_,null,function(e,t,n,i,r){let{options:o}=n;if(!1!==o.displayEventTime){let s,a=e.eventRange.def,l=e.eventRange.instance,c=!1;if(a.allDay?c=!0:!function(e){let t=ci(e);return Rt(t.start,t.end)>1}(e.eventRange.range)?s=ur(e,t,n):e.isStart?s=ur(e,t,n,null,null,l.range.start,e.end):e.isEnd?s=ur(e,t,n,null,null,e.start,l.range.end):c=!0,c){let e={text:n.options.allDayText,view:n.viewApi};return T(Jn,{elTag:"td",elClasses:["fc-list-event-time"],elAttrs:{headers:`${i} ${r}`},renderProps:e,generatorName:"allDayContent",customGenerator:o.allDayContent,defaultGenerator:tc,classNameGenerator:o.allDayClassNames,didMount:o.allDayDidMount,willUnmount:o.allDayWillUnmount})}return T("td",{className:"fc-list-event-time"},s)}return null}(i,a,t,r,s),T("td",{"aria-hidden":!0,className:"fc-list-event-graphic"},T("span",{className:"fc-list-event-dot",style:{borderColor:n.borderColor||n.backgroundColor}})),T(e,{elTag:"td",elClasses:["fc-list-event-title"],elAttrs:{headers:`${o} ${s}`}})))}}function tc(e){return e.text}function nc(e){return e.text}function ic(e){let t=Pt(e.renderRange.start),n=e.renderRange.end,i=[],r=[];for(;t<n;)i.push(t),r.push({start:t,end:It(t,1)}),t=It(t,1);return{dayDates:i,dayRanges:r}}qe(':root{--fc-list-event-dot-width:10px;--fc-list-event-hover-bg-color:#f5f5f5}.fc-theme-standard .fc-list{border:1px solid var(--fc-border-color)}.fc .fc-list-empty{align-items:center;background-color:var(--fc-neutral-bg-color);display:flex;height:100%;justify-content:center}.fc .fc-list-empty-cushion{margin:5em 0}.fc .fc-list-table{border-style:hidden;width:100%}.fc .fc-list-table tr>*{border-left:0;border-right:0}.fc .fc-list-sticky .fc-list-day>*{background:var(--fc-page-bg-color);position:sticky;top:0}.fc .fc-list-table thead{left:-10000px;position:absolute}.fc .fc-list-table tbody>tr:first-child th{border-top:0}.fc .fc-list-table th{padding:0}.fc .fc-list-day-cushion,.fc .fc-list-table td{padding:8px 14px}.fc .fc-list-day-cushion:after{clear:both;content:"";display:table}.fc-theme-standard .fc-list-day-cushion{background-color:var(--fc-neutral-bg-color)}.fc-direction-ltr .fc-list-day-text,.fc-direction-rtl .fc-list-day-side-text{float:left}.fc-direction-ltr .fc-list-day-side-text,.fc-direction-rtl .fc-list-day-text{float:right}.fc-direction-ltr .fc-list-table .fc-list-event-graphic{padding-right:0}.fc-direction-rtl .fc-list-table .fc-list-event-graphic{padding-left:0}.fc .fc-list-event.fc-event-forced-url{cursor:pointer}.fc .fc-list-event:hover td{background-color:var(--fc-list-event-hover-bg-color)}.fc .fc-list-event-graphic,.fc .fc-list-event-time{white-space:nowrap;width:1px}.fc .fc-list-event-dot{border:calc(var(--fc-list-event-dot-width)/2) solid var(--fc-event-border-color);border-radius:calc(var(--fc-list-event-dot-width)/2);box-sizing:content-box;display:inline-block;height:0;width:0}.fc .fc-list-event-title a{color:inherit;text-decoration:none}.fc .fc-list-event.fc-event-forced-url:hover a{text-decoration:underline}');function rc(e){return!1===e?null:dn(e)}var oc=ps({name:"@fullcalendar/list",optionRefiners:{listDayFormat:rc,listDaySideFormat:rc,noEventsClassNames:Sn,noEventsContent:Sn,noEventsDidMount:Sn,noEventsWillUnmount:Sn},views:{list:{component:class extends Kr{constructor(){super(...arguments),this.computeDateVars=Yt(ic),this.eventStoreToSegs=Yt(this._eventStoreToSegs),this.state={t
2imeHeaderId:it(),eventHeaderId:it(),dateHeaderIdRoot:it()},this.setRootEl=e=>{e?this.context.registerInteractiveComponent(this,{el:e}):this.context.unregisterInteractiveComponent(this)}}render(){let{props:e,context:t}=this,{dayDates:n,dayRanges:i}=this.computeDateVars(e.dateProfile),r=this.eventStoreToSegs(e.eventStore,e.eventUiBases,i);return T(ei,{elRef:this.setRootEl,elClasses:["fc-list",t.theme.getClass("table"),!1!==t.options.stickyHeaderDates?"fc-list-sticky":""],viewSpec:t.viewSpec},T(_o,{liquid:!e.isHeightAuto,overflowX:e.isHeightAuto?"visible":"hidden",overflowY:e.isHeightAuto?"visible":"auto"},r.length>0?this.renderSegList(r,n):this.renderEmptyMessage()))}renderEmptyMessage(){let{options:e,viewApi:t}=this.context,n={text:e.noEventsText,view:t};return T(Jn,{elTag:"div",elClasses:["fc-list-empty"],renderProps:n,generatorName:"noEventsContent",customGenerator:e.noEventsContent,defaultGenerator:nc,classNameGenerator:e.noEventsClassNames,didMount:e.noEventsDidMount,willUnmount:e.noEventsWillUnmount},e=>T(e,{elTag:"div",elClasses:["fc-list-empty-cushion"]}))}renderSegList(e,t){let{theme:n,options:i}=this.context,{timeHeaderId:r,eventHeaderId:o,dateHeaderIdRoot:s}=this.state,a=function(e){let t,n,i=[];for(t=0;t<e.length;t+=1)n=e[t],(i[n.dayIndex]||(i[n.dayIndex]=[])).push(n);return i}(e);return T(Tr,{unit:"day"},(e,l)=>{let c=[];for(let n=0;n<a.length;n+=1){let d=a[n];if(d){let a=Ut(t[n]),u=s+"-"+a;c.push(T(Zl,{key:a,cellId:u,dayDate:t[n],todayRange:l})),d=sr(d,i.eventOrder);for(let t of d)c.push(T(ec,Object.assign({key:a+":"+t.eventRange.instance.instanceId,seg:t,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,timeHeaderId:r,eventHeaderId:o,dateHeaderId:u},hr(t,l,e))))}}return T("table",{className:"fc-list-table "+n.getClass("table")},T("thead",null,T("tr",null,T("th",{scope:"col",id:r},i.timeHint),T("th",{scope:"col","aria-hidden":!0}),T("th",{scope:"col",id:o},i.eventHint))),T("tbody",null,c))})}_eventStoreToSegs(e,t,n){return this.eventRangesToSegs(tr(e,t,this.props.dateProfile.activeRange,this.context.options.nextDayThreshold).fg,n)}eventRangesToSegs(e,t){let n=[];for(let i of e)n.push(...this.eventRangeToSegs(i,t));return n}eventRangeToSegs(e,t){let n,i,r,{dateEnv:o}=this.context,{nextDayThreshold:s}=this.context.options,a=e.range,l=e.def.allDay,c=[];for(n=0;n<t.length;n+=1)if(i=ri(a,t[n]),i&&(r={component:this,eventRange:e,start:i.start,end:i.end,isStart:e.isStart&&i.start.valueOf()===a.start.valueOf(),isEnd:e.isEnd&&i.end.valueOf()===a.end.valueOf(),dayIndex:n},c.push(r),!r.isEnd&&!l&&n+1<t.length&&a.end<o.add(t[n+1].start,s))){r.end=a.end,r.isEnd=!0;break}return c}},buttonTextKey:"list",listDayFormat:{month:"long",day:"numeric",year:"numeric"}},listDay:{type:"list",duration:{days:1},listDayFormat:{weekday:"long"}},listWeek:{type:"list",duration:{weeks:1},listDayFormat:{weekday:"long"},listDaySideFormat:{month:"long",day:"numeric",year:"numeric"}},listMonth:{type:"list",duration:{month:1},listDaySideFormat:{weekday:"long"}},listYear:{type:"list",duration:{year:1},listDaySideFormat:{weekday:"long"}}}}),sc=(n(5107),["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"]),ac={_disable:[],allowInput:!1,allowInvalidPreload:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:"object"==typeof window&&-1===window.navigator.userAgent.indexOf("MSIE"),ariaDateFormat:"F j, Y",autoFillDefaultTime:!0,clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enableSeconds:!1,enableTime:!1,errorHandler:function(e){return"undefined"!=typeof console&&console.warn(e)},getWeek:function(e){var t=new Date(e.getTime());t.setHours(0,0,0,0),t.setDate(t.getDate()+3-(t.getDay()+6)%7);var n=new Date(t.getFullYear(),0,4);return 1+Math.round(((t.getTime()-n.getTime())/864e5-3+(n.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewB
2ox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1},lc={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:function(e){var t=e%100;if(t>3&&t<21)return"th";switch(t%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",monthAriaLabel:"Month",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1};const cc=lc;var dc=function(e,t){return void 0===t&&(t=2),("000"+e).slice(-1*t)},uc=function(e){return!0===e?1:0};function hc(e,t){var n;return function(){var i=this,r=arguments;clearTimeout(n),n=setTimeout(function(){return e.apply(i,r)},t)}}var fc=function(e){return e instanceof Array?e:[e]};function pc(e,t,n){if(!0===n)return e.classList.add(t);e.classList.remove(t)}function gc(e,t,n){var i=window.document.createElement(e);return t=t||"",n=n||"",i.className=t,void 0!==n&&(i.textContent=n),i}function mc(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function vc(e,t){return t(e)?e:e.parentNode?vc(e.parentNode,t):void 0}function yc(e,t){var n=gc("div","numInputWrapper"),i=gc("input","numInput "+e),r=gc("span","arrowUp"),o=gc("span","arrowDown");if(-1===navigator.userAgent.indexOf("MSIE 9.0")?i.type="number":(i.type="text",i.pattern="\\d*"),void 0!==t)for(var s in t)i.setAttribute(s,t[s]);return n.appendChild(i),n.appendChild(r),n.appendChild(o),n}function bc(e){try{return"function"==typeof e.composedPath?e.composedPath()[0]:e.target}catch(t){return e.target}}var wc=function(){},Sc=function(e,t,n){return n.months[t?"shorthand":"longhand"][e]},Cc={D:wc,F:function(e,t,n){e.setMonth(n.months.longhand.indexOf(t))},G:function(e,t){e.setHours((e.getHours()>=12?12:0)+parseFloat(t))},H:function(e,t){e.setHours(parseFloat(t))},J:function(e,t){e.setDate(parseFloat(t))},K:function(e,t,n){e.setHours(e.getHours()%12+12*uc(new RegExp(n.amPM[1],"i").test(t)))},M:function(e,t,n){e.setMonth(n.months.shorthand.indexOf(t))},S:function(e,t){e.setSeconds(parseFloat(t))},U:function(e,t){return new Date(1e3*parseFloat(t))},W:function(e,t,n){var i=parseInt(t),r=new Date(e.getFullYear(),0,2+7*(i-1),0,0,0,0);return r.setDate(r.getDate()-r.getDay()+n.firstDayOfWeek),r},Y:function(e,t){e.setFullYear(parseFloat(t))},Z:function(e,t){return new Date(t)},d:function(e,t){e.setDate(parseFloat(t))},h:function(e,t){e.setHours((e.getHours()>=12?12:0)+parseFloat(t))},i:function(e,t){e.setMinutes(parseFloat(t))},j:function(e,t){e.setDate(parseFloat(t))},l:wc,m:function(e,t){e.setMonth(parseFloat(t)-1)},n:function(e,t){e.setMonth(parseFloat(t)-1)},s:function(e,t){e.setSeconds(parseFloat(t))},u:function(e,t){return new Date(parseFloat(t))},w:wc,y:function(e,t){e.setFullYear(2e3+parseFloat(t))}},Ec={D:"",F:"",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"",S:"(\\d\\d|\\d)",U:"(.+)",W:"(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},Ac={Z:function(e){return e.toISOString()}
vendor: 19,001 bytes, line 2
2,D:function(e,t,n){return t.weekdays.shorthand[Ac.w(e,t,n)]},F:function(e,t,n){return Sc(Ac.n(e,t,n)-1,!1,t)},G:function(e,t,n){return dc(Ac.h(e,t,n))},H:function(e){return dc(e.getHours())},J:function(e,t){return void 0!==t.ordinal?e.getDate()+t.ordinal(e.getDate()):e.getDate()},K:function(e,t){return t.amPM[uc(e.getHours()>11)]},M:function(e,t){return Sc(e.getMonth(),!0,t)},S:function(e){return dc(e.getSeconds())},U:function(e){return e.getTime()/1e3},W:function(e,t,n){return n.getWeek(e)},Y:function(e){return dc(e.getFullYear(),4)},d:function(e){return dc(e.getDate())},h:function(e){return e.getHours()%12?e.getHours()%12:12},i:function(e){return dc(e.getMinutes())},j:function(e){return e.getDate()},l:function(e,t){return t.weekdays.longhand[e.getDay()]},m:function(e){return dc(e.getMonth()+1)},n:function(e){return e.getMonth()+1},s:function(e){return e.getSeconds()},u:function(e){return e.getTime()},w:function(e){return e.getDay()},y:function(e){return String(e.getFullYear()).substring(2)}},xc=function(e){var t=e.config,n=void 0===t?ac:t,i=e.l10n,r=void 0===i?lc:i,o=e.isMobile,s=void 0!==o&&o;return function(e,t,i){var o=i||r;return void 0===n.formatDate||s?t.split("").map(function(t,i,r){return Ac[t]&&"\\"!==r[i-1]?Ac[t](e,o,n):"\\"!==t?t:""}).join(""):n.formatDate(e,t,o)}},Dc=function(e){var t=e.config,n=void 0===t?ac:t,i=e.l10n,r=void 0===i?lc:i;return function(e,t,i,o){if(0===e||e){var s,a=o||r,l=e;if(e instanceof Date)s=new Date(e.getTime());else if("string"!=typeof e&&void 0!==e.toFixed)s=new Date(e);else if("string"==typeof e){var c=t||(n||ac).dateFormat,d=String(e).trim();if("today"===d)s=new Date,i=!0;else if(n&&n.parseDate)s=n.parseDate(e,c);else if(/Z$/.test(d)||/GMT$/.test(d))s=new Date(e);else{for(var u=void 0,h=[],f=0,p=0,g="";f<c.length;f++){var m=c[f],v="\\"===m,y="\\"===c[f-1]||v;if(Ec[m]&&!y){g+=Ec[m];var b=new RegExp(g).exec(e);b&&(u=!0)&&h["Y"!==m?"push":"unshift"]({fn:Cc[m],val:b[++p]})}else v||(g+=".")}s=n&&n.noCalendar?new Date((new Date).setHours(0,0,0,0)):new Date((new Date).getFullYear(),0,1,0,0,0,0),h.forEach(function(e){var t=e.fn,n=e.val;return s=t(s,n,a)||s}),s=u?s:void 0}}if(s instanceof Date&&!isNaN(s.getTime()))return!0===i&&s.setHours(0,0,0,0),s;n.errorHandler(new Error("Invalid date provided: "+l))}}};function Tc(e,t,n){return void 0===n&&(n=!0),!1!==n?new Date(e.getTime()).setHours(0,0,0,0)-new Date(t.getTime()).setHours(0,0,0,0):e.getTime()-t.getTime()}var kc=function(e,t,n){return 3600*e+60*t+n},_c=864e5;function Mc(e){var t=e.defaultHour,n=e.defaultMinute,i=e.defaultSeconds;if(void 0!==e.minDate){var r=e.minDate.getHours(),o=e.minDate.getMinutes(),s=e.minDate.getSeconds();t<r&&(t=r),t===r&&n<o&&(n=o),t===r&&n===o&&i<s&&(i=e.minDate.getSeconds())}if(void 0!==e.maxDate){var a=e.maxDate.getHours(),l=e.maxDate.getMinutes();(t=Math.min(t,a))===a&&(n=Math.min(l,n)),t===a&&n===l&&(i=e.maxDate.getSeconds())}return{hours:t,minutes:n,seconds:i}}n(4418);var Ic=function(){return Ic=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},Ic.apply(this,arguments)},Oc=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),r=0;for(t=0;t<n;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,r++)i[r]=o[s];return i};function Rc(e,t){var n={config:Ic(Ic({},ac),Pc.defaultConfig),l10n:cc};function i(){var e;return(null===(e=n.calendarContainer)||void 0===e?void 0:e.getRootNode()).activeElement||document.activeElement}function r(e){return e.bind(n)}function o(){var e=n.config;!1===e.weekNumbers&&1===e.showMonths||!0!==e.noCalendar&&window.requestAnimationFrame(function(){if(void 0!==n.calendarContainer&&(n.calendarContainer.style.visibility="hidden",n.calendarContainer.style.display="block"),void 0!==n.daysContainer){var t=(n.days.offsetWidth+1)*e.showMonths;n.daysContainer.style.width=t+"px",n.calendarContainer.style.width=t+(void 0!==n.weekWrapper?n.weekWrapper.offsetWidth:0)+"px",n.calendarContainer.style.removeProperty("visibility"),n.calendarContainer.style.removeProperty("display")}})}function s(e){if(0===n.selectedDates.length){var t=void 0===n.config.minDate||Tc(new Date,n.config.minDate)>=0?new Date:new Date(n.config.minDate.getTime()),i=Mc(n.config);t.setHours(i.hours,i.minutes,i.seconds,t.getMilliseconds()),n.selectedDates=[t],n.latestSelectedDateObj=t}void 0!==e&&"blur"!==e.type&&function(e){e.preventDefault();var t="keydown"===e.type,i=bc(e),r=i;void 0!==n.amPM&&i===n.amPM&&(n.amPM.textContent=n.l10n.amPM[uc(n.amPM.textContent===n.l10n.amPM[0])]);var o=parseFloat(r.getAttribute("min")),s=parseFloat(r.getAttribute("max")),a=parseFloat(r.getAttribute("step")),l=parseInt(r.value,10),c=e.delta||(t?38===e.which?1:-1:0),d=l+a*c;if(void 0!==r.value&&2===r.value.length){var u=r===n.hourElement,h=r===n.minuteElement;d<o?(d=s+d+uc(!u)+(uc(u)&&uc(!n.amPM)),h&&g(void 0,-1,n.hourElement)):d>s&&(d=r===n.hourElement?d-s-uc(!n.amPM):o,h&&g(void 0,1,n.hourElement)),n.amPM&&u&&(1===a?d+l===23:Math.abs(d-l)>a)&&(n.amPM.textContent=n.l10n.amPM[uc(n.amPM.textContent===n.l10n.amPM[0])]),r.value=dc(d)}}(e);var r=n._input.value;a(),K(),n._input.value!==r&&n._debouncedChange()}function a(){if(void 0!==n.hourElement&&void 0!==n.minuteElement){var e,t,i=(parseInt(n.hourElement.value.slice(-2),10)||0)%24,r=(parseInt(n.minuteElement.value,10)||0)%60,o=void 0!==n.secondElement?(parseInt(n.secondElement.value,10)||0)%60:0;void 0!==n.amPM&&(e=i,t=n.amPM.textContent,i=e%12+12*uc(t===n.l10n.amPM[1]));var s=void 0!==n.config.minTime||n.config.minDate&&n.minDateHasTime&&n.latestSelectedDateObj&&0===Tc(n.latestSelectedDateObj,n.config.minDate,!0),a=void 0!==n.config.maxTime||n.config.maxDate&&n.maxDateHasTime&&n.latestSelectedDateObj&&0===Tc(n.latestSelectedDateObj,n.config.maxDate,!0);if(void 0!==n.config.maxTime&&void 0!==n.config.minTime&&n.config.minTime>n.config.maxTime){var l=kc(n.config.minTime.getHours(),n.config.minTime.getMinutes(),n.config.minTime.getSeconds()),d=kc(n.config.maxTime.getHours(),n.config.maxTime.getMinutes(),n.config.maxTime.getSeconds()),u=kc(i,r,o);if(u>d&&u<l){var h=function(e){var t=Math.floor(e/3600),n=(e-3600*t)/60;return[t,n,e-3600*t-60*n]}(l);i=h[0],r=h[1],o=h[2]}}else{if(a){var f=void 0!==n.config.maxTime?n.config.maxTime:n.config.maxDate;(i=Math.min(i,f.getHours()))===f.getHours()&&(r=Math.min(r,f.getMinutes())),r===f.getMinutes()&&(o=Math.min(o,f.getSeconds()))}if(s){var p=void 0!==n.config.minTime?n.config.minTime:n.config.minDate;(i=Math.max(i,p.getHours()))===p.getHours()&&r<p.getMinutes()&&(r=p.getMinutes()),r===p.getMinutes()&&(o=Math.max(o,p.getSeconds()))}}c(i,r,o)}}function l(e){var t=e||n.latestSelectedDateObj;t&&t instanceof Date&&c(t.getHours(),t.getMinutes(),t.getSeconds())}function c(e,t,i){void 0!==n.latestSelectedDateObj&&n.latestSelectedDateObj.setHours(e%24,t,i||0,0),n.hourElement&&n.minuteElement&&!n.isMobile&&(n.hourElement.value=dc(n.config.time_24hr?e:(12+e)%12+12*uc(e%12==0)),n.minuteElement.value=dc(t),void 0!==n.amPM&&(n.amPM.textContent=n.l10n.amPM[uc(e>=12)]),void 0!==n.secondElement&&(n.secondElement.value=dc(i)))}function d(e){var t=bc(e),n=parseInt(t.value)+(e.delta||0);(n/1e3>1||"Enter"===e.key&&!/[^\d]/.test(n.toString()))&&M(n)}function u(e,t,i,r){return t instanceof Array?t.forEach(function(t){return u(e,t,i,r)}):e instanceof Array?e.forEach(function(e){return u(e,t,i,r)}):(e.addEventListener(t,i,r),void n._handlers.push({remove:function(){return e.removeEventListener(t,i,r)}}))}function h(){Y("onChange")}function f(e,t){var i=void 0!==e?n.parseDate(e):n.latestSelectedDateObj||(n.config.minDate&&n.config.minDate>n.now?n.config.minDate:n.config.maxDate&&n.config.maxDate<n.now?n.config.maxDate:n.now),r=n.currentYear,o=n.currentMonth;try{void 0!==i&&(n.currentYear=i.getFullYear(),n.currentMonth=i.getMonth())}catch(e){e.message="Invalid date supplied: "+i,n.config.errorHandler(e)}t&&n.currentYear!==r&&(Y("onYearChange"),C()),!t||n.currentYear===r&&n.currentMonth===o||Y("onMonthChange"),n.redraw()}function p(e){var t=bc(e);~t.className.indexOf("arrow")&&g(e,t.classList.contains("arrowUp")?1:-1)}function g(e,t,n){var i=e&&bc(e),r=n||i&&i.parentNode&&i.parentNode.firstChild,o=Q("increment");o.delta=t,r&&r.dispatchEvent(o)}function m(e,t,i,r){var o=I(t,!0),s=gc("span",e,t.getDate().toString());return s.dateObj=t,s.$i=r,s.setAttribute("aria-label",n.formatDate(t,n.config.ariaDateFormat)),-1===e.indexOf("hidden")&&0===Tc(t,n.now)&&(n.todayDateElem=s,s.classList.add("today"),s.setAttribute("aria-current","date")),o?(s.tabIndex=-1,X(t)&&(s.classList.add("selected"),n.selectedDateElem=s,"range"===n.config.mode&&(pc(s,"startRange",n.selectedDates[0]&&0===Tc(t,n.selectedDates[0],!0)),pc(s,"endRange",n.selectedDates[1]&&0===Tc(t,n.selectedDates[1],!0)),"nextMonthDay"===e&&s.classList.add("inRange")))):s.classList.add("flatpickr-disabled"),"range"===n.config.mode&&function(e){return!("range"!==n.config.mode||n.selectedDates.length<2)&&(Tc(e,n.selectedDates[0])>=0&&Tc(e,n.selectedDates[1])<=0)}(t)&&!X(t)&&s.classList.add("inRange"),n.weekNumbers&&1===n.config.showMonths&&"prevMonthDay"!==e&&r%7==6&&n.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+n.config.getWeek(t)+"</span>"),Y("onDayCreate",s),s}function v(e){e.focus(),"range"===n.config.mode&&P(e)}function y(e){for(var t=e>0?0:n.config.showMonths-1,i=e>0?n.config.showMonths:-1,r=t;r!=i;r+=e)for(var o=n.daysContainer.children[r],s=e>0?0:o.children.length-1,a=e>0?o.children.length:-1,l=s;l!=a;l+=e){var c=o.children[l];if(-1===c.className.indexOf("hidden")&&I(c.dateObj))return c}}function b(e,t){var r=i(),o=O(r||document.body),s=void 0!==e?e:o?r:void 0!==n.selectedDateElem&&O(n.selectedDateElem)?n.selectedDateElem:void 0!==n.todayDateElem&&O(n.todayDateElem)?n.todayDateElem:y(t>0?1:-1);void 0===s?n._input.focus():o?function(e,t){for(var i=-1===e.className.indexOf("Month")?e.dateObj.getMonth():n.currentMonth,r=t>0?n.config.showMonths:-1,o=t>0?1:-1,s=i-n.currentMonth;s!=r;s+=o)for(var a=n.daysContainer.children[s],l=i-n.currentMonth===s?e.$i+t:t<0?a.children.length-1:0,c=a.children.length,d=l;d>=0&&d<c&&d!=(t>0?c:-1);d+=o){var u=a.children[d];if(-1===u.className.indexOf("hidden")&&I(u.dateObj)&&Math.abs(e.$i-d)>=Math.abs(t))return v(u)}n.changeMonth(o),b(y(o),0)}(s,t):v(s)}function w(e,t){for(var i=(new Date(e,t,1).getDay()-n.l10n.firstDayOfWeek+7)%7,r=n.utils.getDaysInMonth((t-1+12)%12,e),o=n.utils.getDaysInMonth(t,e),s=window.document.createDocumentFragment(),a=n.config.showMonths>1,l=a?"prevMonthDay hidden":"prevMonthDay",c=a?"nextMonthDay hidden":"nextMonthDay",d=r+1-i,u=0;d<=r;d++,u++)s.appendChild(m("flatpickr-day "+l,new Date(e,t-1,d),0,u));for(d=1;d<=o;d++,u++)s.appendChild(m("flatpickr-day",new Date(e,t,d),0,u));for(var h=o+1;h<=42-i&&(1===n.config.showMonths||u%7!=0);h++,u++)s.appendChild(m("flatpickr-day "+c,new Date(e,t+1,h%o),0,u));var f=gc("div","dayContainer");return f.appendChild(s),f}function S(){if(void 0!==n.daysContainer){mc(n.daysContainer),n.weekNumbers&&mc(n.weekNumbers);for(var e=document.createDocumentFragment(),t=0;t<n.config.showMonths;t++){var i=new Date(n.currentYear,n.currentMonth,1);i.setMonth(n.currentMonth+t),e.appendChild(w(i.getFullYear(),i.getMonth()))}n.daysContainer.appendChild(e),n.days=n.daysContainer.firstChild,"range"===n.config.mode&&1===n.selectedDates.length&&P()}}function C(){if(!(n.config.showMonths>1||"dropdown"!==n.config.monthSelectorType)){var e=function(e){return!(void 0!==n.config.minDate&&n.currentYear===n.config.minDate.getFullYear()&&e<n.config.minDate.getMonth())&&!(void 0!==n.config.maxDate&&n.currentYear===n.config.maxDate.getFullYear()&&e>n.config.maxDate.getMonth())};n.monthsDropdownContainer.tabIndex=-1,n.monthsDropdownContainer.innerHTML="";for(var t=0;t<12;t++)if(e(t)){var i=gc("option","flatpickr-monthDropdown-month");i.value=new Date(n.currentYear,t).getMonth().toString(),i.textContent=Sc(t,n.config.shorthandCurrentMonth,n.l10n),i.tabIndex=-1,n.currentMonth===t&&(i.selected=!0),n.monthsDropdownContainer.appendChild(i)}}}function E(){var e,t=gc("div","flatpickr-month"),i=window.document.createDocumentFragment();n.config.showMonths>1||"static"===n.config.monthSelectorType?e=gc("span","cur-month"):(n.monthsDropdownContainer=gc("select","flatpickr-monthDropdown-months"),n.monthsDropdownContainer.setAttribute("aria-label",n.l10n.monthAriaLabel),u(n.monthsDropdownContainer,"change",function(e){var t=bc(e),i=parseInt(t.value,10);n.changeMonth(i-n.currentMonth),Y("onMonthChange")}),C(),e=n.monthsDropdownContainer);var r=yc("cur-year",{tabindex:"-1"}),o=r.getElementsByTagName("input")[0];o.setAttribute("aria-label",n.l10n.yearAriaLabel),n.config.minDate&&o.setAttribute("min",n.config.minDate.getFullYear().toString()),n.config.maxDate&&(o.setAttribute("max",n.config.maxDate.getFullYear().toString()),o.disabled=!!n.config.minDate&&n.config.minDate.getFullYear()===n.config.maxDate.getFullYear());var s=gc("div","flatpickr-current-month");return s.appendChild(e),s.appendChild(r),i.appendChild(s),t.appendChild(i),{container:t,yearElement:o,monthElement:e}}function A(){mc(n.monthNav),n.monthNav.appendChild(n.prevMonthNav),n.config.showMonths&&(n.yearElements=[],n.monthElements=[]);for(var e=n.config.showMonths;e--;){var t=E();n.yearElements.push(t.yearElement),n.monthElements.push(t.monthElement),n.monthNav.appendChild(t.container)}n.monthNav.appendChild(n.nextMonthNav)}function x(){n.weekdayContainer?mc(n.weekdayContainer):n.weekdayContainer=gc("div","flatpickr-weekdays");for(var e=n.config.showMonths;e--;){var t=gc("div","flatpickr-weekdaycontainer");n.weekdayContainer.appendChild(t)}return D(),n.weekdayContainer}function D(){if(n.weekdayContainer){var e=n.l10n.firstDayOfWeek,t=Oc(n.l10n.weekdays.shorthand);e>0&&e<t.length&&(t=Oc(t.splice(e,t.length),t.splice(0,e)));for(var i=n.config.showMonths;i--;)n.weekdayContainer.children[i].innerHTML="\n <span class='flatpickr-weekday'>\n "+t.join("</span><span class='flatpickr-weekday'>")+"\n </span>\n "}}function T(e,t){void 0===t&&(t=!0);var i=t?e:e-n.currentMonth;i<0&&!0===n._hidePrevMonthArrow||i>0&&!0===n._hideNextMonthArrow||(n.currentMonth+=i,(n.currentMonth<0||n.currentMonth>11)&&(n.currentYear+=n.currentMonth>11?1:-1,n.currentMonth=(n.currentMonth+12)%12,Y("onYearChange"),C()),S(),Y("onMonthChange"),Z())}function k(e){return n.calendarContainer.contains(e)}function _(e){if(n.isOpen&&!n.config.inline){var t=bc(e),i=k(t),r=!(t===n.input||t===n.altInput||n.element.contains(t)||e.path&&e.path.indexOf&&(~e.path.indexOf(n.input)||~e.path.indexOf(n.altInput)))&&!i&&!k(e.relatedTarget),o=!n.config.ignoredFocusElements.some(function(e){return e.contains(t)});r&&o&&(n.config.allowInput&&n.setDate(n._input.value,!1,n.config.altInput?n.config.altFormat:n.config.dateFormat),void 0!==n.timeContainer&&void 0!==n.minuteElement&&void 0!==n.hourElement&&""!==n.input.value&&void 0!==n.input.value&&s(),n.close(),n.config&&"range"===n.config.mode&&1===n.selectedDates.length&&n.clear(!1))}}function M(e){if(!(!e||n.config.minDate&&e<n.config.minDate.getFullYear()||n.config.maxDate&&e>n.config.maxDate.getFullYear())){var t=e,i=n.currentYear!==t;n.currentYear=t||n.currentYear,n.config.maxDate&&n.currentYear===n.config.maxDate.getFullYear()?n.currentMonth=Math.min(n.config.maxDate.getMonth(),n.currentMonth):n.config.minDate&&n.currentYear===n.config.minDate.getFullYear()&&(n.currentMonth=Math.max(n.config.minDate.getMonth(),n.currentMonth)),i&&(n.redraw(),Y("onYearChange"),C())}}function I(e,t){var i;void 0===t&&(t=!0);var r=n.parseDate(e,void 0,t);if(n.config.minDate&&r&&Tc(r,n.config.minDate,void 0!==t?t:!n.minDateHasTime)<0||n.config.maxDate&&r&&Tc(r,n.config.maxDate,void 0!==t?t:!n.maxDateHasTime)>0)return!1;if(!n.config.enable&&0===n.config.disable.length)return!0;if(void 0===r)return!1;for(var o=!!n.config.enable,s=null!==(i=n.config.enable)&&void 0!==i?i:n.config.disable,a=0,l=void 0;a<s.length;a++){if("function"==typeof(l=s[a])&&l(r))return o;if(l instanceof Date&&void 0!==r&&l.getTime()===r.getTime())return o;if("string"==typeof l){var c=n.parseDate(l,void 0,!0);return c&&c.getTime()===r.getTime()?o:!o}if("object"==typeof l&&void 0!==r&&l.from&&l.to&&r.getTime()>=l.from.getTime()&&r.getTime()<=l.to.getTime())return o}return!o}function O(e){return void 0!==n.daysContainer&&(-1===e.className.indexOf("hidden")&&-1===e.className.indexOf("flatpickr-disabled")&&n.daysContainer.contains(e))}function R(e){var t=e.target===n._input,i=n._input.value.trimEnd()!==J();!t||!i||e.relatedTarget&&k(e.relatedTarget)||n.setDate(n._input.value,!0,e.target===n.altInput?n.config.altFormat:n.config.dateFormat)}function N(t){var r=bc(t),o=n.config.wrap?e.contains(r):r===n._input,l=n.config.allowInput,c=n.isOpen&&(!l||!o),d=n.config.inline&&o&&!l;if(13===t.keyCode&&o){if(l)return n.setDate(n._input.value,!0,r===n.altInput?n.config.altFormat:n.config.dateFormat),n.close(),r.blur();n.open()}else if(k(r)||c||d){var u=!!n.timeContainer&&n.timeContainer.contains(r);switch(t.keyCode){case 13:u?(t.preventDefault(),s(),W()):$(t);break;case 27:t.preventDefault(),W();break;case 8:case 46:o&&!n.config.allowInput&&(t.preventDefault(),n.clear());break;case 37:case 39:if(u||o)n.hourElement&&n.hourElement.focus();else{t.preventDefault();var h=i();if(void 0!==n.daysContainer&&(!1===l||h&&O(h))){var f=39===t.keyCode?1:-1;t.ctrlKey?(t.stopPropagation(),T(f),b(y(1),0)):b(void 0,f)}}break;case 38:case 40:t.preventDefault();var p=40===t.keyCode?1:-1;n.daysContainer&&void 0!==r.$i||r===n.input||r===n.altInput?t.ctrlKey?(t.stopPropagation(),M(n.currentYear-p),b(y(1),0)):u||b(void 0,7*p):r===n.currentYearElement?M(n.currentYear-p):n.config.enableTime&&(!u&&n.hourElement&&n.hourElement.focus(),s(t),n._debouncedChange());break;case 9:if(u){var g=[n.hourElement,n.minuteElement,n.secondElement,n.amPM].concat(n.pluginElements).filter(function(e){return e}),m=g.indexOf(r);if(-1!==m){var v=g[m+(t.shiftKey?-1:1)];t.preventDefault(),(v||n._input).focus()}}else!n.config.noCalendar&&n.daysContainer&&n.daysContainer.contains(r)&&t.shiftKey&&(t.preventDefault(),n._input.focus())}}if(void 0!==n.amPM&&r===n.amPM)switch(t.key){case n.l10n.amPM[0].charAt(0):case n.l10n.amPM[0].charAt(0).toLowerCase():n.amPM.textContent=n.l10n.amPM[0],a(),K();break;case n.l10n.amPM[1].charAt(0):case n.l10n.amPM[1].charAt(0).toLowerCase():n.amPM.textContent=n.l10n.amPM[1],a(),K()}(o||k(r))&&Y("onKeyDown",t)}function P(e,t){if(void 0===t&&(t="flatpickr-day"),1===n.selectedDates.length&&(!e||e.classList.contains(t)&&!e.classList.contains("flatpickr-disabled"))){for(var i=e?e.dateObj.getTime():n.days.firstElementChild.dateObj.getTime(),r=n.parseDate(n.selectedDates[0],void 0,!0).getTime(),o=Math.min(i,n.selectedDates[0].getTime()),s=Math.max(i,n.selectedDates[0].getTime()),a=!1,l=0,c=0,d=o;d<s;d+=_c)I(new Date(d),!0)||(a=a||d>o&&d<s,d<r&&(!l||d>l)?l=d:d>r&&(!c||d<c)&&(c=d));Array.from(n.rContainer.querySelectorAll("*:nth-child(-n+"+n.config.showMonths+") >
2 ."+t)).forEach(function(t){var o,s,d,u=t.dateObj.getTime(),h=l>0&&u<l||c>0&&u>c;if(h)return t.classList.add("notAllowed"),void["inRange","startRange","endRange"].forEach(function(e){t.classList.remove(e)});a&&!h||(["startRange","inRange","endRange","notAllowed"].forEach(function(e){t.classList.remove(e)}),void 0!==e&&(e.classList.add(i<=n.selectedDates[0].getTime()?"startRange":"endRange"),r<i&&u===r?t.classList.add("startRange"):r>i&&u===r&&t.classList.add("endRange"),u>=l&&(0===c||u<=c)&&(s=r,d=i,(o=u)>Math.min(s,d)&&o<Math.max(s,d))&&t.classList.add("inRange")))})}}function L(){!n.isOpen||n.config.static||n.config.inline||F()}function j(e){return function(t){var i=n.config["_"+e+"Date"]=n.parseDate(t,n.config.dateFormat),r=n.config["_"+("min"===e?"max":"min")+"Date"];void 0!==i&&(n["min"===e?"minDateHasTime":"maxDateHasTime"]=i.getHours()>0||i.getMinutes()>0||i.getSeconds()>0),n.selectedDates&&(n.selectedDates=n.selectedDates.filter(function(e){return I(e)}),n.selectedDates.length||"min"!==e||l(i),K()),n.daysContainer&&(B(),void 0!==i?n.currentYearElement[e]=i.getFullYear().toString():n.currentYearElement.removeAttribute(e),n.currentYearElement.disabled=!!r&&void 0!==i&&r.getFullYear()===i.getFullYear())}}function H(){return n.config.wrap?e.querySelector("[data-input]"):e}function z(){"object"!=typeof n.config.locale&&void 0===Pc.l10ns[n.config.locale]&&n.config.errorHandler(new Error("flatpickr: invalid locale "+n.config.locale)),n.l10n=Ic(Ic({},Pc.l10ns.default),"object"==typeof n.config.locale?n.config.locale:"default"!==n.config.locale?Pc.l10ns[n.config.locale]:void 0),Ec.D="("+n.l10n.weekdays.shorthand.join("|")+")",Ec.l="("+n.l10n.weekdays.longhand.join("|")+")",Ec.M="("+n.l10n.months.shorthand.join("|")+")",Ec.F="("+n.l10n.months.longhand.join("|")+")",Ec.K="("+n.l10n.amPM[0]+"|"+n.l10n.amPM[1]+"|"+n.l10n.amPM[0].toLowerCase()+"|"+n.l10n.amPM[1].toLowerCase()+")",void 0===Ic(Ic({},t),JSON.parse(JSON.stringify(e.dataset||{}))).time_24hr&&void 0===Pc.defaultConfig.time_24hr&&(n.config.time_24hr=n.l10n.time_24hr),n.formatDate=xc(n),n.parseDate=Dc({config:n.config,l10n:n.l10n})}function F(e){if("function"!=typeof n.config.position){if(void 0!==n.calendarContainer){Y("onPreCalendarPosition");var t=e||n._positionElement,i=Array.prototype.reduce.call(n.calendarContainer.children,function(e,t){return e+t.offsetHeight},0),r=n.calendarContainer.offsetWidth,o=n.config.position.split(" "),s=o[0],a=o.length>1?o[1]:null,l=t.getBoundingClientRect(),c=window.innerHeight-l.bottom,d="above"===s||"below"!==s&&c<i&&l.top>i,u=window.pageYOffset+l.top+(d?-i-2:t.offsetHeight+2);if(pc(n.calendarContainer,"arrowTop",!d),pc(n.calendarContainer,"arrowBottom",d),!n.config.inline){var h=window.pageXOffset+l.left,f=!1,p=!1;"center"===a?(h-=(r-l.width)/2,f=!0):"right"===a&&(h-=r-l.width,p=!0),pc(n.calendarContainer,"arrowLeft",!f&&!p),pc(n.calendarContainer,"arrowCenter",f),pc(n.calendarContainer,"arrowRight",p);var g=window.document.body.offsetWidth-(window.pageXOffset+l.right),m=h+r>window.document.body.offsetWidth,v=g+r>window.document.body.offsetWidth;if(pc(n.calendarContainer,"rightMost",m),!n.config.static)if(n.calendarContainer.style.top=u+"px",m)if(v){var y=function(){for(var e=null,t=0;t<document.styleSheets.length;t++){var n=document.styleSheets[t];if(n.cssRules){try{n.cssRules}catch(e){continue}e=n;break}}return null!=e?e:(i=document.createElement("style"),document.head.appendChild(i),i.sheet);var i}();if(void 0===y)return;var b=window.document.body.offsetWidth,w=Math.max(0,b/2-r/2),S=y.cssRules.length,C="{left:"+l.left+"px;right:auto;}";pc(n.calendarContainer,"rightMost",!1),pc(n.calendarContainer,"centerMost",!0),y.insertRule(".flatpickr-calendar.centerMost:before,.flatpickr-calendar.centerMost:after"+C,S),n.calendarContainer.style.left=w+"px",n.calendarContainer.style.right="auto"}else n.calendarContainer.style.left="auto",n.calendarContainer.style.right=g+"px";else n.calendarContainer.style.left=h+"px",n.calendarContainer.style.right="auto"}}}else n.config.position(n,e)}function B(){n.config.noCalendar||n.isMobile||(C(),Z(),S())}function W(){n._input.focus(),-1!==window.navigator.userAgent.indexOf("MSIE")||void 0!==navigator.msMaxTouchPoints?setTimeout(n.close,0):n.close()}function $(e){e.preventDefault(),e.stopPropagation();var t=vc(bc(e),function(e){return e.classList&&e.classList.contains("flatpickr-day")&&!e.classList.contains("flatpickr-disabled")&&!e.classList.contains("notAllowed")});if(void 0!==t){var i=t,r=n.latestSelectedDateObj=new Date(i.dateObj.getTime()),o=(r.getMonth()<n.currentMonth||r.getMonth()>n.currentMonth+n.config.showMonths-1)&&"range"!==n.config.mode;if(n.selectedDateElem=i,"single"===n.config.mode)n.selectedDates=[r];else if("multiple"===n.config.mode){var s=X(r);s?n.selectedDates.splice(parseInt(s),1):n.selectedDates.push(r)}else"range"===n.config.mode&&(2===n.selectedDates.length&&n.clear(!1,!1),n.latestSelectedDateObj=r,n.selectedDates.push(r),
vendor: 2,913 bytes, line 2
20!==Tc(r,n.selectedDates[0],!0)&&n.selectedDates.sort(function(e,t){return e.getTime()-t.getTime()}));if(a(),o){var l=n.currentYear!==r.getFullYear();n.currentYear=r.getFullYear(),n.currentMonth=r.getMonth(),l&&(Y("onYearChange"),C()),Y("onMonthChange")}if(Z(),S(),K(),o||"range"===n.config.mode||1!==n.config.showMonths?void 0!==n.selectedDateElem&&void 0===n.hourElement&&n.selectedDateElem&&n.selectedDateElem.focus():v(i),void 0!==n.hourElement&&void 0!==n.hourElement&&n.hourElement.focus(),n.config.closeOnSelect){var c="single"===n.config.mode&&!n.config.enableTime,d="range"===n.config.mode&&2===n.selectedDates.length&&!n.config.enableTime;(c||d)&&W()}h()}}n.parseDate=Dc({config:n.config,l10n:n.l10n}),n._handlers=[],n.pluginElements=[],n.loadedPlugins=[],n._bind=u,n._setHoursFromDate=l,n._positionCalendar=F,n.changeMonth=T,n.changeYear=M,n.clear=function(e,t){void 0===e&&(e=!0);void 0===t&&(t=!0);n.input.value="",void 0!==n.altInput&&(n.altInput.value="");void 0!==n.mobileInput&&(n.mobileInput.value="");n.selectedDates=[],n.latestSelectedDateObj=void 0,!0===t&&(n.currentYear=n._initialDate.getFullYear(),n.currentMonth=n._initialDate.getMonth());if(!0===n.config.enableTime){var i=Mc(n.config);c(i.hours,i.minutes,i.seconds)}n.redraw(),e&&Y("onChange")},n.close=function(){n.isOpen=!1,n.isMobile||(void 0!==n.calendarContainer&&n.calendarContainer.classList.remove("open"),void 0!==n._input&&n._input.classList.remove("active"));Y("onClose")},n.onMouseOver=P,n._createElement=gc,n.createDay=m,n.destroy=function(){void 0!==n.config&&Y("onDestroy");for(var e=n._handlers.length;e--;)n._handlers[e].remove();if(n._handlers=[],n.mobileInput)n.mobileInput.parentNode&&n.mobileInput.parentNode.removeChild(n.mobileInput),n.mobileInput=void 0;else if(n.calendarContainer&&n.calendarContainer.parentNode)if(n.config.static&&n.calendarContainer.parentNode){var t=n.calendarContainer.parentNode;if(t.lastChild&&t.removeChild(t.lastChild),t.parentNode){for(;t.firstChild;)t.parentNode.insertBefore(t.firstChild,t);t.parentNode.removeChild(t)}}else n.calendarContainer.parentNode.removeChild(n.calendarContainer);n.altInput&&(n.input.type="text",n.altInput.parentNode&&n.altInput.parentNode.removeChild(n.altInput),delete n.altInput);n.input&&(n.input.type=n.input._type,n.input.classList.remove("flatpickr-input"),n.input.removeAttribute("readonly"));["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","monthsDropdownContainer","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach(function(e){try{delete n[e]}catch(e){}})}
2,n.isEnabled=I,n.jumpToDate=f,n.updateValue=K,n.open=function(e,t){void 0===t&&(t=n._positionElement);if(!0===n.isMobile){if(e){e.preventDefault();var i=bc(e);i&&i.blur()}return void 0!==n.mobileInput&&(n.mobileInput.focus(),n.mobileInput.click()),void Y("onOpen")}if(n._input.disabled||n.config.inline)return;var r=n.isOpen;n.isOpen=!0,r||(n.calendarContainer.classList.add("open"),n._input.classList.add("active"),Y("onOpen"),F(t));!0===n.config.enableTime&&!0===n.config.noCalendar&&(!1!==n.config.allowInput||void 0!==e&&n.timeContainer.contains(e.relatedTarget)||setTimeout(function(){return n.hourElement.select()},50))},n.redraw=B,n.set=function(e,t){if(null!==e&&"object"==typeof e)for(var i in Object.assign(n.config,e),e)void 0!==q[i]&&q[i].forEach(function(e){return e()});else n.config[e]=t,void 0!==q[e]?q[e].forEach(function(e){return e()}):sc.indexOf(e)>-1&&(n.config[e]=fc(t));n.redraw(),K(!0)},n.setDate=function(e,t,i){void 0===t&&(t=!1);void 0===i&&(i=n.config.dateFormat);if(0!==e&&!e||e instanceof Array&&0===e.length)return n.clear(t);U(e,i),n.latestSelectedDateObj=n.selectedDates[n.selectedDates.length-1],n.redraw(),f(void 0,t),l(),0===n.selectedDates.length&&n.clear(!1);K(t),t&&Y("onChange")},n.toggle=function(e){if(!0===n.isOpen)return n.close();n.open(e)};var q={locale:[z,D],showMonths:[A,o,x],minDate:[f],maxDate:[f],positionElement:[V],clickOpens:[function(){!0===n.config.clickOpens?(u(n._input,"focus",n.open),u(n._input,"click",n.open)):(n._input.removeEventListener("focus",n.open),n._input.removeEventListener("click",n.open))}]};function U(e,t){var i=[];if(e instanceof Array)i=e.map(function(e){return n.parseDate(e,t)});else if(e instanceof Date||"number"==typeof e)i=[n.parseDate(e,t)];else if("string"==typeof e)switch(n.config.mode){case"single":case"time":i=[n.parseDate(e,t)];break;case"multiple":i=e.split(n.config.conjunction).map(function(e){return n.parseDate(e,t)});break;case"range":i=e.split(n.l10n.rangeSeparator).map(function(e){return n.parseDate(e,t)})}else n.config.errorHandler(new Error("Invalid date supplied: "+JSON.stringify(e)));n.selectedDates=n.config.allowInvalidPreload?i:i.filter(function(e){return e instanceof Date&&I(e,!1)}),"range"===n.config.mode&&n.selectedDates.sort(function(e,t){return e.getTime()-t.getTime()})}function G(e){return e.slice().map(function(e){return"string"==typeof e||"number"==typeof e||e instanceof Date?n.parseDate(e,void 0,!0):e&&"object"==typeof e&&e.from&&e.to?{from:n.parseDate(e.from,void 0),to:n.parseDate(e.to,void 0)}:e}).filter(function(e){return e})}function V(){n._positionElement=n.config.positionElement||n._input}function Y(e,t){if(void 0!==n.config){var i=n.config[e];if(void 0!==i&&i.length>0)for(var r=0;i[r]&&r<i.length;r++)i[r](n.selectedDates,n.input.value,n,t);"onChange"===e&&(n.input.dispatchEvent(Q("change")),n.input.dispatchEvent(Q("input")))}}function Q(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!0),t}function X(e){for(var t=0;t<n.selectedDates.length;t++){var i=n.selectedDates[t];if(i instanceof Date&&0===Tc(i,e))return""+t}return!1}function Z(){n.config.noCalendar||n.isMobile||!n.monthNav||(n.yearElements.forEach(function(e,t){var i=new Date(n.currentYear,n.currentMonth,1);i.setMonth(n.currentMonth+t),n.config.showMonths>1||"static"===n.config.monthSelectorType?n.monthElements[t].textContent=Sc(i.getMonth(),n.config.shorthandCurrentMonth,n.l10n)+" ":n.monthsDropdownContainer.value=i.getMonth().toString(),e.value=i.getFullYear().toString()}),n._hidePrevMonthArrow=void 0!==n.config.minDate&&(n.currentYear===n.config.minDate.getFullYear()?n.currentMonth<=n.config.minDate.getMonth():n.currentYear<n.config.minDate.getFullYear()),n._hideNextMonthArrow=void 0!==n.config.maxDate&&(n.currentYear===n.config.maxDate.getFullYear()?n.currentMonth+1>n.config.maxDate.getMonth():n.currentYear>n.config.maxDate.getFullYear()))}function J(e){var t=e||(n.config.altInput?n.config.altFormat:n.config.dateFormat);return n.selectedDates.map(function(e){return n.formatDate(e,t)}).filter(function(e,t,i){return"range"!==n.config.mode||n.config.enableTime||i.indexOf(e)===t}).join("range"!==n.config.mode?n.config.conjunction:n.l10n.rangeSeparator)}function K(e){void 0===e&&(e=!0),void 0!==n.mobileInput&&n.mobileFormatStr&&(n.mobileInput.value=void 0!==n.latestSelectedDateObj?n.formatDate(n.latestSelectedDateObj,n.mobileFormatStr):""),n.input.value=J(n.config.dateFormat),void 0!==n.altInput&&(n.altInput.value=J(n.config.altFormat)),!1!==e&&Y("onValueUpdate")}function ee(e){var t=bc(e),i=n.prevMonthNav.contains(t),r=n.nextMonthNav.contains(t);i||r?T(i?-1:1):n.yearElements.indexOf(t)>=0?t.select():t.classList.contains("arrowUp")?n.changeYear(n.currentYear+1):t.classList.contains("arrowDown")&&n.changeYear(n.currentYear-1)}return function(){n.element=n.input=e,n.isOpen=!1,function(){var i=["wrap","weekNumbers","allowInput","allowInvalidPreload","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],o=Ic(Ic({},JSON.parse(JSON.stringify(e.dataset||{}))),t),s={};n.config.parseDate=o.parseDate,n.config.formatDate=o.formatDate,Object.defineProperty(n.config,"enable",{get:function(){return n.config._enable},set:function(e){n.config._enable=G(e)}}),Object.defineProperty(n.config,"disable",{get:function(){return n.config._disable}
vendor: 11,031 bytes, line 2
2,set:function(e){n.config._disable=G(e)}});var a="time"===o.mode;if(!o.dateFormat&&(o.enableTime||a)){var l=Pc.defaultConfig.dateFormat||ac.dateFormat;s.dateFormat=o.noCalendar||a?"H:i"+(o.enableSeconds?":S":""):l+" H:i"+(o.enableSeconds?":S":"")}if(o.altInput&&(o.enableTime||a)&&!o.altFormat){var c=Pc.defaultConfig.altFormat||ac.altFormat;s.altFormat=o.noCalendar||a?"h:i"+(o.enableSeconds?":S K":" K"):c+" h:i"+(o.enableSeconds?":S":"")+" K"}Object.defineProperty(n.config,"minDate",{get:function(){return n.config._minDate},set:j("min")}),Object.defineProperty(n.config,"maxDate",{get:function(){return n.config._maxDate},set:j("max")});var d=function(e){return function(t){n.config["min"===e?"_minTime":"_maxTime"]=n.parseDate(t,"H:i:S")}};Object.defineProperty(n.config,"minTime",{get:function(){return n.config._minTime},set:d("min")}),Object.defineProperty(n.config,"maxTime",{get:function(){return n.config._maxTime},set:d("max")}),"time"===o.mode&&(n.config.noCalendar=!0,n.config.enableTime=!0);Object.assign(n.config,s,o);for(var u=0;u<i.length;u++)n.config[i[u]]=!0===n.config[i[u]]||"true"===n.config[i[u]];sc.filter(function(e){return void 0!==n.config[e]}).forEach(function(e){n.config[e]=fc(n.config[e]||[]).map(r)}),n.isMobile=!n.config.disableMobile&&!n.config.inline&&"single"===n.config.mode&&!n.config.disable.length&&!n.config.enable&&!n.config.weekNumbers&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);for(u=0;u<n.config.plugins.length;u++){var h=n.config.plugins[u](n)||{};for(var f in h)sc.indexOf(f)>-1?n.config[f]=fc(h[f]).map(r).concat(n.config[f]):void 0===o[f]&&(n.config[f]=h[f])}o.altInputClass||(n.config.altInputClass=H().className+" "+n.config.altInputClass);Y("onParseConfig")}(),z(),function(){if(n.input=H(),!n.input)return void n.config.errorHandler(new Error("Invalid input element specified"));n.input._type=n.input.type,n.input.type="text",n.input.classList.add("flatpickr-input"),n._input=n.input,n.config.altInput&&(n.altInput=gc(n.input.nodeName,n.config.altInputClass),n._input=n.altInput,n.altInput.placeholder=n.input.placeholder,n.altInput.disabled=n.input.disabled,n.altInput.required=n.input.required,n.altInput.tabIndex=n.input.tabIndex,n.altInput.type="text",n.input.setAttribute("type","hidden"),!n.config.static&&n.input.parentNode&&n.input.parentNode.insertBefore(n.altInput,n.input.nextSibling));n.config.allowInput||n._input.setAttribute("readonly","readonly");V()}(),function(){n.selectedDates=[],n.now=n.parseDate(n.config.now)||new Date;var e=n.config.defaultDate||("INPUT"!==n.input.nodeName&&"TEXTAREA"!==n.input.nodeName||!n.input.placeholder||n.input.value!==n.input.placeholder?n.input.value:null);e&&U(e,n.config.dateFormat);n._initialDate=n.selectedDates.length>0?n.selectedDates[0]:n.config.minDate&&n.config.minDate.getTime()>n.now.getTime()?n.config.minDate:n.config.maxDate&&n.config.maxDate.getTime()<n.now.getTime()?n.config.maxDate:n.now,n.currentYear=n._initialDate.getFullYear(),n.currentMonth=n._initialDate.getMonth(),n.selectedDates.length>0&&(n.latestSelectedDateObj=n.selectedDates[0]);void 0!==n.config.minTime&&(n.config.minTime=n.parseDate(n.config.minTime,"H:i"));void 0!==n.config.maxTime&&(n.config.maxTime=n.parseDate(n.config.maxTime,"H:i"));n.minDateHasTime=!!n.config.minDate&&(n.config.minDate.getHours()>0||n.config.minDate.getMinutes()>0||n.config.minDate.getSeconds()>0),n.maxDateHasTime=!!n.config.maxDate&&(n.config.maxDate.getHours()>0||n.config.maxDate.getMinutes()>0||n.config.maxDate.getSeconds()>0)}(),n.utils={getDaysInMonth:function(e,t){return void 0===e&&(e=n.currentMonth),void 0===t&&(t=n.currentYear),1===e&&(t%4==0&&t%100!=0||t%400==0)?29:n.l10n.daysInMonth[e]}},n.isMobile||function(){var e=window.document.createDocumentFragment();if(n.calendarContainer=gc("div","flatpickr-calendar"),n.calendarContainer.tabIndex=-1,!n.config.noCalendar){if(e.appendChild((n.monthNav=gc("div","flatpickr-months"),n.yearElements=[],n.monthElements=[],n.prevMonthNav=gc("span","flatpickr-prev-month"),n.prevMonthNav.innerHTML=n.config.prevArrow,n.nextMonthNav=gc("span","flatpickr-next-month"),n.nextMonthNav.innerHTML=n.config.nextArrow,A(),Object.defineProperty(n,"_hidePrevMonthArrow",{get:function(){return n.__hidePrevMonthArrow},set:function(e){n.__hidePrevMonthArrow!==e&&(pc(n.prevMonthNav,"flatpickr-disabled",e),n.__hidePrevMonthArrow=e)}}),Object.defineProperty(n,"_hideNextMonthArrow",{get:function(){return n.__hideNextMonthArrow},set:function(e){n.__hideNextMonthArrow!==e&&(pc(n.nextMonthNav,"flatpickr-disabled",e),n.__hideNextMonthArrow=e)}}),n.currentYearElement=n.yearElements[0],Z(),n.monthNav)),n.innerContainer=gc("div","flatpickr-innerContainer"),n.config.weekNumbers){var t=function(){n.calendarContainer.classList.add("hasWeeks");var e=gc("div","flatpickr-weekwrapper");e.appendChild(gc("span","flatpickr-weekday",n.l10n.weekAbbreviation));var t=gc("div","flatpickr-weeks");return e.appendChild(t),{weekWrapper:e,weekNumbers:t}}(),i=t.weekWrapper,r=t.weekNumbers;n.innerContainer.appendChild(i),n.weekNumbers=r,n.weekWrapper=i}n.rContainer=gc("div","flatpickr-rContainer"),n.rContainer.appendChild(x()),n.daysContainer||(n.daysContainer=gc("div","flatpickr-days"),n.daysContainer.tabIndex=-1),S(),n.rContainer.appendChild(n.daysContainer),n.innerContainer.appendChild(n.rContainer),e.appendChild(n.innerContainer)}n.config.enableTime&&e.appendChild(function(){n.calendarContainer.classList.add("hasTime"),n.config.noCalendar&&n.calendarContainer.classList.add("noCalendar");var e=Mc(n.config);n.timeContainer=gc("div","flatpickr-time"),n.timeContainer.tabIndex=-1;var t=gc("span","flatpickr-time-separator",":"),i=yc("flatpickr-hour",{"aria-label":n.l10n.hourAriaLabel});n.hourElement=i.getElementsByTagName("input")[0];var r=yc("flatpickr-minute",{"aria-label":n.l10n.minuteAriaLabel});n.minuteElement=r.getElementsByTagName("input")[0],n.hourElement.tabIndex=n.minuteElement.tabIndex=-1,n.hourElement.value=dc(n.latestSelectedDateObj?n.latestSelectedDateObj.getHours():n.config.time_24hr?e.hours:function(e){switch(e%24){case 0:case 12:return 12;default:return e%12}}(e.hours)),n.minuteElement.value=dc(n.latestSelectedDateObj?n.latestSelectedDateObj.getMinutes():e.minutes),n.hourElement.setAttribute("step",n.config.hourIncrement.toString()),n.minuteElement.setAttribute("step",n.config.minuteIncrement.toString()),n.hourElement.setAttribute("min",n.config.time_24hr?"0":"1"),n.hourElement.setAttribute("max",n.config.time_24hr?"23":"12"),n.hourElement.setAttribute("maxlength","2"),n.minuteElement.setAttribute("min","0"),n.minuteElement.setAttribute("max","59"),n.minuteElement.setAttribute("maxlength","2"),n.timeContainer.appendChild(i),n.timeContainer.appendChild(t),n.timeContainer.appendChild(r),n.config.time_24hr&&n.timeContainer.classList.add("time24hr");if(n.config.enableSeconds){n.timeContainer.classList.add("hasSeconds");var o=yc("flatpickr-second");n.secondElement=o.getElementsByTagName("input")[0],n.secondElement.value=dc(n.latestSelectedDateObj?n.latestSelectedDateObj.getSeconds():e.seconds),n.secondElement.setAttribute("step",n.minuteElement.getAttribute("step")),n.secondElement.setAttribute("min","0"),n.secondElement.setAttribute("max","59"),n.secondElement.setAttribute("maxlength","2"),n.timeContainer.appendChild(gc("span","flatpickr-time-separator",":")),n.timeContainer.appendChild(o)}n.config.time_24hr||(n.amPM=gc("span","flatpickr-am-pm",n.l10n.amPM[uc((n.latestSelectedDateObj?n.hourElement.value:n.config.defaultHour)>11)]),n.amPM.title=n.l10n.toggleTitle,n.amPM.tabIndex=-1,n.timeContainer.appendChild(n.amPM));return n.timeContainer}());pc(n.calendarContainer,"rangeMode","range"===n.config.mode),pc(n.calendarContainer,"animate",!0===n.config.animate),pc(n.calendarContainer,"multiMonth",n.config.showMonths>1),n.calendarContainer.appendChild(e);var o=void 0!==n.config.appendTo&&void 0!==n.config.appendTo.nodeType;if((n.config.inline||n.config.static)&&(n.calendarContainer.classList.add(n.config.inline?"inline":"static"),n.config.inline&&(!o&&n.element.parentNode?n.element.parentNode.insertBefore(n.calendarContainer,n._input.nextSibling):void 0!==n.config.appendTo&&n.config.appendTo.appendChild(n.calendarContainer)),n.config.static)){var s=gc("div","flatpickr-wrapper");n.element.parentNode&&n.element.parentNode.insertBefore(s,n.element),s.appendChild(n.element),n.altInput&&s.appendChild(n.altInput),s.appendChild(n.calendarContainer)}n.config.static||n.config.inline||(void 0!==n.config.appendTo?n.config.appendTo:window.document.body).appendChild(n.calendarContainer)}(),function(){n.config.wrap&&["open","close","toggle","clear"].forEach(function(e){Array.prototype.forEach.call(n.element.querySelectorAll("[data-"+e+"]"),function(t){return u(t,"click",n[e])})});if(n.isMobile)return void function(){var e=n.config.enableTime?n.config.noCalendar?"time":"datetime-local":"date";n.mobileInput=gc("input",n.input.className+" flatpickr-mobile"),n.mobileInput.tabIndex=1,n.mobileInput.type=e,n.mobileInput.disabled=n.input.disabled,n.mobileInput.required=n.input.required,n.mobileInput.placeholder=n.input.placeholder,n.mobileFormatStr="datetime-local"===e?"Y-m-d\\TH:i:S":"date"===e?"Y-m-d":"H:i:S",n.selectedDates.length>0&&(n.mobileInput.defaultValue=n.mobileInput.value=n.formatDate(n.selectedDates[0],n.mobileFormatStr));n.config.minDate&&(n.mobileInput.min=n.formatDate(n.config.minDate,"Y-m-d"));n.config.maxDate&&(n.mobileInput.max=n.formatDate(n.config.maxDate,"Y-m-d"));n.input.getAttribute("step")&&(n.mobileInput.step=String(n.input.getAttribute("step")));n.input.type="hidden",void 0!==n.altInput&&(n.altInput.type="hidden");try{n.input.parentNode&&n.input.parentNode.insertBefore(n.mobileInput,n.input.nextSibling)}catch(e){}u(n.mobileInput,"change",function(e){n.setDate(bc(e).value,!1,n.mobileFormatStr),Y("onChange"),Y("onClose")})}();var e=hc(L,50);n._debouncedChange=hc(h,300),n.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&u(n.daysContainer,"mouseover",function(e){"range"===n.config.mode&&P(bc(e))});u(n._input,"keydown",N),void 0!==n.calendarContainer&&u(n.calendarContainer,"keydown",N);n.config.inline||n.config.static||u(window,"resize",e);void 0!==window.ontouchstart?u(window.document,"touchstart",_):u(window.document,"mousedown",_);u(window.document,"focus",_,{capture:!0}),!0===n.config.clickOpens&&(u(n._input,"focus",n.open),u(n._input,"click",n.open));void 0!==n.daysContainer&&(u(n.monthNav,"click",ee),u(n.monthNav,["keyup","increment"],d),u(n.daysContainer,"click",$));if(void 0!==n.timeContainer&&void 0!==n.minuteElement&&void 0!==n.hourElement){var t=function(e){return bc(e).select()};u(n.timeContainer,["increment"],s),u(n.timeContainer,"blur",s,{capture:!0}),u(n.timeContainer,"click",p),u([n.hourElement,n.minuteElement],["focus","click"],t),void 0!==n.secondElement&&u(n.secondElement,"focus",function(){return n.secondElement&&n.secondElement.select()}),void 0!==n.amPM&&u(n.amPM,"click",function(e){s(e)})}n.config.allowInput&&u(n._input,"blur",R)}
2(),(n.selectedDates.length||n.config.noCalendar)&&(n.config.enableTime&&l(n.config.noCalendar?n.latestSelectedDateObj:void 0),K(!1)),o();var i=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!n.isMobile&&i&&F(),Y("onReady")}(),n}function Nc(e,t){for(var n=Array.prototype.slice.call(e).filter(function(e){return e instanceof HTMLElement}),i=[],r=0;r<n.length;r++){var o=n[r];try{if(null!==o.getAttribute("data-fp-omit"))continue;void 0!==o._flatpickr&&(o._flatpickr.destroy(),o._flatpickr=void 0),o._flatpickr=Rc(o,t||{}),i.push(o._flatpickr)}catch(e){console.error(e)}}return 1===i.length?i[0]:i}"undefined"!=typeof HTMLElement&&"undefined"!=typeof HTMLCollection&&"undefined"!=typeof NodeList&&(HTMLCollection.prototype.flatpickr=NodeList.prototype.flatpickr=function(e){return Nc(this,e)},HTMLElement.prototype.flatpickr=function(e){return Nc([this],e)});var Pc=function(e,t){return"string"==typeof e?Nc(window.document.querySelectorAll(e),t):e instanceof Node?Nc([e],t):Nc(e,t)};Pc.defaultConfig={},Pc.l10ns={en:Ic({},cc),default:Ic({},cc)},Pc.localize=function(e){Pc.l10ns.default=Ic(Ic({},Pc.l10ns.default),e)},Pc.setDefaults=function(e){Pc.defaultConfig=Ic(Ic({},Pc.defaultConfig),e)},Pc.parseDate=Dc({}),Pc.formatDate=xc({}),Pc.compareDates=Tc,"undefined"!=typeof jQuery&&void 0!==jQuery.fn&&(jQuery.fn.flatpickr=function(e){return Nc(this,e)}),Date.prototype.fp_incr=function(e){return new Date(this.getFullYear(),this.getMonth(),this.getDate()+("string"==typeof e?parseInt(e,10):e))},"undefined"!=typeof window&&(window.flatpickr=Pc);const Lc=Pc;n(9502),n(5511);function jc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||zc(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Hc(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=zc(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){a=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw o}}}}function zc(e,t){if(e){if("string"==typeof e)return Fc(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Fc(e,t):void 0}}function Fc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}document.body.clientWidth,document.body.clientHeight;var Bc,Wc=[],$c=[],qc=[];function Uc(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=document.querySelector('input[name="rentStartDate"]').value,n=document.querySelector('input[name="rentEndDate"]').value;e&&(Wc.eventStartDate.clear(),Wc.eventEndDate.clear()),Wc.eventStartDate.set("enable",[{from:t,to:n}]),Wc.eventEndDate.set("minDate",t),Wc.eventEndDate.set("maxDate",n),Wc.eventStartDate.set("minDate",t),Wc.eventStartDate.set("maxDate",n),Wc.eventEndDate.set("enable",[{from:t,to:n}])}if(document.querySelectorAll(".valid-date").length>0){var Gc,Vc=Hc(document.querySelectorAll(".valid-date"));try{var Yc=function(){var e=Gc.value;e.addEventListener("change",function(t){var n=e.value.split("-"),i=new Date(n[2]+"-"+n[1]+"-"+n[0]);i.setMonth(i.getMonth()-2),new Date>i?e.dataset.linkerror&&document.querySelector(e.dataset.linkerror).classList.remove("d-none"):e.dataset.linkerror&&document.querySelector(e.dataset.linkerror).classList.add("d-none")})};for(Vc.s();!(Gc=Vc.n()).done;)Yc()}catch(e){Vc.e(e)}finally{Vc.f()}}if(document.querySelectorAll(".valid-date-one").length>0){var Qc,Xc=Hc(document.querySelectorAll(".valid-date-one"));try{var Zc=function(){var e=Qc.value;e.addEventListener("change",function(t){var n=e.value.split("-"),i=new Date(n[2]+"-"+n[1]+"-"+n[0]);i.setMonth(i.getMonth()-1),new Date>i?e.dataset.linkerror&&document.querySelector(e.dataset.linkerror).classList.remove("d-none"):e.dataset.linkerror&&document.querySelector(e.dataset.linkerror).classList.add("d-none")})};for(Xc.s();!(Qc=Xc.n()).done;)Zc()}catch(e){Xc.e(e)}finally{Xc.f()}}if(document.querySelectorAll("#fullCalendar").length>0){var Jc=document.getElementById("fullCalendar"),Kc=new Date,ed=Kc.getFullYear().toString()+"-01-01",td=(Kc.getFullYear()+1).toString()+"-12-31",nd=Kc.getFullYear().toString(),id=(Kc.getMonth()+1).toLocaleStr
2ing("en-US",{minimumIntegerDigits:2,useGrouping:!1}),rd=Kc.getDate().toLocaleString("en-US",{minimumIntegerDigits:2,useGrouping:!1}),od=nd+"-"+id+"-"+(parseInt(rd)+2),sd=Jc.dataset.idcommune;(Bc=new ba(Jc,{plugins:[Fa,pl,Xl,oc],headerToolbar:{left:"today",center:"prev title next",right:"timeGridWeek,dayGridMonth"},selectable:!0,selectConstraint:{start:od,end:"3000-12-31"},selectOverlap:!1,eventDurationEditable:!1,eventStartEditable:!1,navLinks:!0,editable:!0,dayMaxEvents:!0,eventDisplay:"block",slotMinTime:"08:00",slotMaxTime:"24:00",allDaySlot:!1,locale:"fr",initialView:"dayGridMonth",buttonText:{month:"Mois",week:"Semaine",today:"Aujourd'hui"},firstDay:1,events:{url:"/api-rentable?rentable="+sd+"&altstart="+ed+"&altend="+td,method:"GET",failure:function(){console.log("there was an error while fetching events!")}},select:function(e){!function(e,t,n){var i;if(Bc.getEvents().forEach(function(e){e.title||e.remove()}),void 0===n||!1===n){var r=new Date(e),o=new Date(t),s=r.getFullYear().toString(),a=(r.getMonth()+1).toLocaleString("en-US",{minimumIntegerDigits:2,useGrouping:!1}),l=r.getDate().toLocaleString("en-US",{minimumIntegerDigits:2,useGrouping:!1}),c=r.getHours().toLocaleString("en-US",{minimumIntegerDigits:2,useGrouping:!1}),d=r.getMinutes().toLocaleString("en-US",{minimumIntegerDigits:2,useGrouping:!1}),u=o.getFullYear().toString(),h=(o.getMonth()+1).toLocaleString("en-US",{minimumIntegerDigits:2,useGrouping:!1}),f=o.getDate().toLocaleString("en-US",{minimumIntegerDigits:2,useGrouping:!1}),p=o.getHours().toLocaleString("en-US",{minimumIntegerDigits:2,useGrouping:!1}),g=o.getMinutes().toLocaleString("en-US",{minimumIntegerDigits:2,useGrouping:!1});document.querySelector('input[name="rentStartDate"]').value=l+"-"+a+"-"+s,Wc.rentStartDate.setDate(l+"-"+a+"-"+s),document.querySelector('input[name="rentStartTime"]').value=c+":"+d,$c.rentStartTime.setDate(c+":"+d),document.querySelector('input[name="rentEndDate"]').value=f+"-"+h+"-"+u,Wc.rentEndDate.setDate(f+"-"+h+"-"+u),document.querySelector('input[name="rentEndTime"]').value=p+":"+g,$c.rentEndTime.setDate(p+":"+g),document.querySelector('input[name="rentStartDate"]').value&&document.querySelector('input[name="rentEndDate"]').value&&Uc(!0),window.scrollTo(0,document.querySelector("#formContact").getBoundingClientRect().top+window.scrollY)}i={start:e,end:t,backgroundColor:"#323232"},Bc.gotoDate(i.start),Bc.addEvent(i)}(e.start,e.end)},eventClick:function(e){e.event.title||(e.event.remove(),document.querySelector('input[name="eventStartDate"]').value="",Wc.eventStartDate.setDate(""),document.querySelector('input[name="eventEndDate"]').value="",Wc.eventEndDate.setDate(""),document.querySelector('input[name="eventStartTime"]').value="",document.querySelector('input[name="eventEndTime"]').value="",document.querySelector('input[name="rentStartDate"]').value="",Wc.rentStartDate.setDate(""),document.querySelector('input[name="rentEndDate"]').value="",Wc.rentEndDate.setDate(""),document.querySelector('input[name="rentStartTime"]').value="",document.querySelector('input[name="rentEndTime"]').value="",document.querySelector("#alert-info-date-rentStartDate").classList.add("d-none"))}})).render()}function ad(e,t,n,i){return{id:t,events:function(n,i,r){var o=e+"?rentable="+encodeURIComponent(t)+"&altstart="+n.startStr.substring(0,10)+"&altend="+n.endStr.substring(0,10);fetch(o,{headers:{Accept:"application/json"}}).then(function(e){return e.json()}).then(function(e){var t=new Set;i((Array.isArray(e)?e:[]).filter(function(e){var n=e.id+"|"+e.start+"|"+e.end;return!t.has(n)&&(t.add(n),!0)}))}).catch(r)},eventDataTransform:function(e){return n&&(e.title=n),i&&(e.backgroundColor=i),e.borderColor=e.backgroundColor,e}}}var ld,cd=Hc(document.querySelectorAll(".rent-calendar"));try{var dd=function(){var e=ld.value,t=e.querySelector(".js-rent-calendar"),n=e.querySelector(".js-rent-calendar-select");if(!t||!n)return 1;var i=t.dataset.feed,r=e.querySelector(".rent-calendar-legend"),o=window.matchMedia("(max-width: 767.98px)"),s=function(e){return{left:"today",center:"prev title next",right:e?"":"timeGridWeek,dayGridMonth"}},a=new ba(t,{plugins:[pl,Xl,oc],headerToolbar:s(o.matches),initialView:o.matches?"listMonth":"dayGridMonth",height:"auto",eventDisplay:"block",displayEventEnd:!0,eventTimeFormat:{hour:"2-digit",minute:"2-digit",meridiem:!1},validRange:function(e){var t=new Date(e);return t.setFullYear(t.getFullYear()+1),{start:new Date(e.getFullYear(),e.getMonth(),1),end:t}},locale:"fr",firstDay:1,dayMaxEvents:!0,slotMinTime:"08:00",slotMaxTime:"24:00",allDaySlot:!1,noEventsText:"Aucune réservation sur cette période",allDayText:"Toute la journée",buttonText:{month:"Mois",week:"Semaine",today:"Aujourd'hui"}}
2),l=function(){a.getEventSources().forEach(function(e){return e.remove()});var e=Array.from(n.options).filter(function(e){return"all"!==e.value});"all"===n.value?e.forEach(function(e){return a.addEventSource(ad(i,e.value,e.text,e.dataset.color))}):a.addEventSource(ad(i,n.value)),r&&r.classList.toggle("d-none","all"!==n.value)};n.addEventListener("change",l),o.addEventListener("change",function(e){a.setOption("headerToolbar",s(e.matches)),a.changeView(e.matches?"listMonth":"dayGridMonth")}),a.render(),l()};for(cd.s();!(ld=cd.n()).done;)dd()}catch(e){cd.e(e)}finally{cd.f()}if(document.querySelectorAll(".input-date").length>0){var ud,hd=Hc(document.querySelectorAll(".input-date"));try{var fd=function(){var e=ud.value,t="rentStartDate"===e.getAttribute("name")||"rentEndDate"===e.getAttribute("name"),n="rentStartDate"===e.getAttribute("name"),i="eventStartDate"===e.getAttribute("name"),r={allowInput:!0,altInput:!0,altFormat:"d-m-Y",disableMobile:"true",dateFormat:e.dataset.format?e.dataset.format:"d-m-Y",locale:document.querySelector("body").dataset.lang,minDate:"today",onChange:function(e,r,o){t&&document.querySelector('input[name="rentStartDate"]').value&&document.querySelector('input[name="rentEndDate"]').value&&Uc(),!t||document.querySelector('input[name="rentStartDate"]').value||document.querySelector('input[name="rentEndDate"]').value||(Wc.eventStartDate.clear(),Wc.eventEndDate.clear()),n&&document.querySelector('input[name="rentEndDate"]')&&document.querySelector('input[name="rentStartDate"]').value&&Wc.rentEndDate.set("minDate",document.querySelector('input[name="rentStartDate"]').value),i&&document.querySelector('input[name="eventEndDate"]')&&document.querySelector('input[name="eventStartDate"]').value&&Wc.eventEndDate.set("minDate",document.querySelector('input[name="eventStartDate"]').value)}};e.dataset.disableDates&&(r.disable=e.dataset.disableDates.split(",").map(function(e){return new Date(e.trim())})),Wc[e.getAttribute("name")]=Lc(e,r)};for(hd.s();!(ud=hd.n()).done;)fd()}catch(e){hd.e(e)}finally{hd.f()}}if(document.querySelectorAll(".input-hour").length>0){var pd,gd=Hc(document.querySelectorAll(".input-hour"));try{for(gd.s();!(pd=gd.n()).done;){var md=pd.value;$c[md.getAttribute("name")]=Lc(md,{enableTime:!0,noCalendar:!0,dateFormat:"H:i",disableMobile:"true",minuteIncrement:30,allowInput:!1,locale:document.querySelector("body").dataset.lang})}}catch(e){gd.e(e)}finally{gd.f()}}function vd(e){var t=e.getBoundingClientRect(),n=window.pageXOffset||document.documentElement.scrollLeft,i=window.pageYOffset||document.documentElement.scrollTop;return{top:t.top+i,left:t.left+n}}function yd(e,t){var n=e.getAttribute("action"),i=Object.fromEntries(new FormData(e).entries()),r="?",o=0;for(var s in document.querySelector(".loader-overlay").classList.add("d-block"),i)0===o&&null!==i[s]&&""!==i[s]?(r=r+s+"="+i[s],o++):null!==i[s]&&""!==i[s]&&(r=r+"&"+s+"="+i[s]);n+=r,fetch(n).then(function(e){return e.text()}).then(function(e){var n=(new DOMParser).parseFromString(e,"text/html");document.querySelector(t).replaceWith(n.querySelector(t)),document.querySelector(".loader-overlay").classList.remove("d-block"),document.querySelectorAll(".wrapper-pagination").length>0&&(n.querySelectorAll(".wrapper-pagination").length>0?document.querySelector(".wrapper-pagination").replaceWith(n.querySelector(".wrapper-pagination")):document.querySelector(".wrapper-pagination").remove()),document.querySelectorAll(".js-load-more-news").length>0&&(document.querySelector(".js-load-more-news").replaceWith(n.querySelector(".js-load-more-news")),bd(document.querySelector(".js-load-more-news")))}).catch(function(e){console.log(e)})}function bd(e){e.addEventListener("click",function(t){t.preventDefault();var n=e.getAttribute("href"),i=e.getAttribute("href").split("?");document.querySelector(".loader-overlay").classList.add("d-block"),e.setAttribute("href",i[0]+"?page="+(parseInt(e.dataset.page)+1)+e.dataset.extra),fetch(n).then(function(e){return e.text()}).then(function(e){var t=(new DOMParser).parseFromString(e,"text/html");console.log(t.querySelector(".wrapper-blogs").children),document.querySelector(".wrapper-blogs").innerHTML+=t.querySelector(".wrapper-blogs").innerHTML,document.querySelector(".loader-overlay").classList.remove("d-block")}
2).catch(function(e){console.log(e)})})}document.addEventListener("DOMContentLoaded",function(){var e=document.body.clientWidth;document.querySelectorAll("#fullCalendar").length>0&&(Bc.getEvents().forEach(function(e){qc.push({start:new Date(e.start),end:new Date(e.end)})}),console.log("Booked slots:",qc));document.querySelectorAll(".slider-glide,.slider-glide-alert,.slider-glide-responsive").length>0&&n.e(374).then(n.bind(n,3076)),document.querySelectorAll("#g-recaptcha-response").length>0&&setTimeout(function(){document.querySelector("#g-recaptcha-response").setAttribute("title","Google recaptcha")},5e3);var t,i=Hc(document.querySelectorAll("h1"));try{for(i.s();!(t=i.n()).done;){t.value.setAttribute("tabindex",0)}}catch(e){i.e(e)}finally{i.f()}var r,o=Hc(document.querySelectorAll("h2"));try{for(o.s();!(r=o.n()).done;){r.value.setAttribute("tabindex",0)}}catch(e){o.e(e)}finally{o.f()}if(document.querySelectorAll("#triggerPush").length>0&&sessionStorage.getItem("subject")?(dataLayer.push({event:"conversion",eventCategory:"Contact",eventAction:sessionStorage.getItem("action")?sessionStorage.getItem("action"):"empty",eventLabel:sessionStorage.getItem("subject")?sessionStorage.getItem("subject"):"empty"}),sessionStorage.setItem("subject",""),sessionStorage.setItem("action","")):!document.querySelectorAll(".setStorage").length>0&&(sessionStorage.setItem("subject",""),sessionStorage.setItem("action","")),document.querySelectorAll(".setSessionSubmit").length>0){var s=!1,a=document.querySelector(".setSessionSubmit .js-form-push");a.addEventListener("submit",function(e){s||(e.preventDefault(),a.dataset.subject&&sessionStorage.setItem("subject",a.dataset.subject),a.dataset.action&&sessionStorage.setItem("action",a.dataset.action),s=!0,!1!==a.checkValidity()&&a.submit())})}document.querySelectorAll(".js-gototop").length>0&&document.querySelector(".js-gototop").addEventListener("click",function(e){e.preventDefault(),window.scrollTo(0,0)});document.querySelectorAll(".js-header-main").length>0&&e<1401&&setTimeout(function(){var e=document.querySelector(".js-header-main");new Headroom(e,{offset:0,tolerance:0,classes:{initial:"slide",pinned:"slide--reset",unpinned:"slide--up"}}).init()},200),document.querySelectorAll(".headroom-menu-left").length>0&&e>=992&&document.querySelector(".wrapper-headroom-menu-left").offsetHeight>1500?setTimeout(function(){var e=document.querySelector(".headroom-menu-left"),t=vd(e),n=e.offsetWidth;e.style.width=n+"px";new Headroom(e,{offset:t.top,tolerance:0,classes:{initial:"slide",pinned:"slide--reset",unpinned:"slide--up"}}).init()},200):document.querySelectorAll(".headroom-menu-left").length>0&&e<992&&setTimeout(function(){var e=document.querySelector(".headroom-menu-left"),t=vd(e);new Headroom(e,{offset:t.top,tolerance:0,classes:{initial:"slide",pinned:"slide--reset",unpinned:"slide--attached"}}).init()},200);var l=document.querySelectorAll(".lightgallery-carousel");if(l.length>0){var c,d=Hc(l);try{var u=function(){var e=c.value;g()(e,{counter:!0,download:!1,mode:"lg-slide",cssEasing:"cubic-bezier(.45, .06, .15, 1)",subHtmlSelectorRelative:!0,getCaptionFromTitleOrAlt:"hideCaption"!=e.dataset.class});document.querySelectorAll(e.dataset.trigger).length>0&&document.querySelector(e.dataset.trigger).addEventListener("click",function(t){t.preventDefault(),e.firstElementChild.click()})};for(d.s();!(c=d.n()).done;)u()}catch(e){d.e(e)}finally{d.f()}}var h=document.querySelectorAll(".lightgallery");if(h.length>0){var f,p=Hc(h);try{var m=function(){var e=f.value;g()(e,{plugins:[v(),b()],counter:!0,download:!1,mode:"lg-slide",cssEasing:"cubic-bezier(.45, .06, .15, 1)",subHtmlSelectorRelative:!0,preload:1,thumbnail:"show"===e.dataset.thumbnail,getCaptionFromTitleOrAlt:"hideCaption"!==e.dataset.class,youTubePlayerParams:{modestbranding:1,showinfo:0,controls:1,rel:0}});if(document.querySelectorAll(e.dataset.trigger).length>0){var t,n=Hc(document.querySelectorAll(e.dataset.trigger));try{var i=function(){var n=t.value;n.addEventListener("click",function(t){t.preventDefault(),n.dataset.imgcount?e.getElementsByTagName("a")[n.dataset.imgcount].click():e.firstElementChild.click()})};for(n.s();!(t=n.n()).done;)i()}catch(e){n.e(e)}finally{n.f()}}};for(p.s();!(f=p.n()).done;)m()}catch(e){p.e(e)}finally{p.f()}}if(document.querySelectorAll("table").length>0){var y,w=Hc(document.querySelectorAll("table"));try{for(w.s();!(y=w.n()).done;){var C=y.value,E=C.parentNode,A=document.createElement("div");A.style.overflowX="auto",A.classList.add("wrapper-table"),E.insertBefore(A,C),A.appendChild(C)}}catch(e){w.e(e)}finally{w.f()}}if(document.querySelectorAll(".button-accordion").length>0){var x,D=Hc(document.querySelectorAll(".button-accordion"));try{var T=function(){var e=x.value;e.addEventListener("click",function(t){setTimeout(function(t){e.classList.contains("no-anim")||window.scrollTo(0,e.getBoundingClientRect().top+window.scrollY)},350)})};for(D.s();!(x=D.n()).done;)T()}catch(e){D.e(e)}finally{D.f()}}if(document.querySelectorAll("#js-responsive-menu").length>0){var k=document.getElementById("js-responsive-menu"),_=document.querySelector(".js-burger-nav-button"),M=document.querySelector(".nav-search"),I=document.querySelector("body"),O=k.getAttribute("data-title"),R=k.getAttribute("data-title-responsive"),N=new MmenuLight(k),P=(N.navigation({title:e>=992?O:R}),N.offcanvas({position:"right"})),j=document.querySelector(".mm-ocd");j.setAttribute("aria-hidden","true");var H,z=document.querySelectorAll(".mm-ocd li a"),F=Hc(z);try{for(F.s();!(H=F.n()).done;){H.value.setAttribute("tabindex","-1")}}catch(e){F.e(e)}finally{F.f()}if(_.addEventListener("click",function(e){e.preventDefault(),console.log("clicked"),j.setAttribute("aria-hidden","false");var t,n=Hc(z);try{for(n.s();!(t=n.n()).done;){t.value.setAttribute("tabindex","0")}}catch(e){n.e(e)}finally{n.f()}I.classList.contains("mm-ocd-opened")?(P.close(),_.classList.remove("js-is-active"),document.querySelector("header").classList.remove("menu-open")):(P.open(),_.classList.add("js-is-active"),document.querySelectorAll(".nav-search").length>0&&(M.classList.remove("js-is-active"),M.querySelector(".fa-times").classList.add("d-none"),M.querySelector(".fa-search").classList.remove("d-none"),document.querySelector(M.dataset.input).classList.add("d-none")),document.querySelector("header").classList.add("menu-open"))}),document.querySelectorAll(".mm-ocd").length>0&&setTimeout(function(){var e=document.querySelector(".mm-ocd"),t=document.querySelector("#js-main-content");t.parentNode.insertBefore(e,t)},200),document.querySelectorAll("#js-responsive-menu > ul > li:last-child > a").length>0)document.querySelector("#js-responsive-menu > ul > li:last-child > a").addEventListener("blur",function(e){e.preventDefault(),P.close();var t,n=Hc(z);try{for(n.s();!(t=n.n()).done;){t.value.setAttribute("tabindex","-1")}}catch(e){n.e(e)}finally{n.f()}});if(document.querySelectorAll(".js-open-search").length>0){var B,W=document.querySelectorAll(".js-open-search"),$=Hc(W);try{var q=function(){var t=B.value;t.addEventListener("click",function(n){if(n.preventDefault(),e+15<1400)if(t.classList.contains("js-is-active")){document.querySelector(t.dataset.input).classList.add("d-none"),document.querySelector("header").classList.remove("menu-open");var i,r=Hc(W);try{for(r.s();!(i=r.n()).done;){i.value.classList.remove("js-is-active")}}catch(e){r.e(e)}finally{r.f()}}else{document.querySelector(t.dataset.input).classList.remove("d-none"),document.querySelector("#inputSearch").focus(),document.querySelector("header").classList.add("menu-open"),P.close(),_.classList.remove("js-is-active");var o,s=Hc(W);try{for(s.s();!(o=s.n()).done;){o.value.classList.add("js-is-active")}}catch(e){s.e(e)}finally{s.f()}}else if(t.classList.contains("js-is-active")){var a,l=Hc(W);try{for(l.s();!(a=l.n()).done;){a.value.classList.remove("js-is-active")}}catch(e){l.e(e)}finally{l.f()}document.querySelector(t.dataset.input).classList.add("d-none")}else{var c,d=Hc(W);try{for(d.s();!(c=d.n()).done;){c.value.classList.add("js-is-active")}}catch(e){d.e(e)}finally{d.f()}P.close(),_.classList.remove("js-is-active"),document.querySelector(t.dataset.input).classList.remove("d-none"),document.querySelector("#inputSearch").focus()}})};for($.s();!(B=$.n()).done;)q()}catch(e){$.e(e)}finally{$.f()}}}if(document.querySelectorAll("#filterBlog").length>0){var U=document.querySelectorAll("select.js-filter-blog"),G=document.querySelector("#filterBlog");document.querySelector(".js-reset-filter-blog").addEventListener("click",function(e){var t,n=Hc(U);try{for(n.s();!(t=n.n()).done;){t.value.value=""}}catch(e){n.e(e)}finally{n.f()}setTimeout(function(){yd(G,".wrapper-blogs")},250)});var V,Y=Hc(U);try{for(Y.s();!(V=Y.n()).done;){V.value.addEventListener("change",function(e){yd(G,".wrapper-blogs")})}}catch(e){Y.e(e)}finally{Y.f()}G.addEventListener("submit",function(e){e.preventDefault(),yd(G,".wrapper-blogs")})}document.querySelectorAll(".js-load-more-news").length>0&&bd(document.querySelector(".js-load-more-news"));if(document.addEventListener("click",function(e){if(e.target.classList.contains("js-pagination")){e.preventDefault(),document.querySelector(".loader-overlay").classList.add("d-block");var t,n=document.querySelectorAll(".js-pagination"),i=e.target,r=Hc(n);try{for(r.s();!(t=r.n()).done;){t.value.classList.remove("active")}}catch(e){r.e(e)}finally{r.f()}i.classList.add("active");var o=i.getAttribute("href");fetch(o).then(function(e){return e.text()}).then(function(e){var t=(new DOMParser).parseFromString(e,"text/html");document.querySelector(".wrapper-medias").replaceWith(t.querySelector(".wrapper-medias")),document.querySelector(".loader-overlay").classList.remove("d-block")}
2).catch(function(e){console.log(e)})}}),document.querySelectorAll("#filterMedia").length>0){var Q=document.querySelectorAll(".js-filter-media"),X=document.querySelector("#filterMedia");document.querySelector(".js-reset-filter-media").addEventListener("click",function(e){var t,n=Hc(Q);try{for(n.s();!(t=n.n()).done;){var i=t.value;i.value="","RADIO"===i.tagName&&"all"===i.getAttribute("id")&&(i.checked=!0)}}catch(e){n.e(e)}finally{n.f()}setTimeout(function(){yd(X,".wrapper-medias")},250)});var Z,J=Hc(Q);try{for(J.s();!(Z=J.n()).done;){Z.value.addEventListener("change",function(e){yd(X,".wrapper-medias")})}}catch(e){J.e(e)}finally{J.f()}X.addEventListener("submit",function(e){e.preventDefault(),yd(X,".wrapper-medias")})}if(document.querySelectorAll(".js-open-button").length>0){var K=document.querySelector(".js-open-button");K.addEventListener("click",function(e){e.preventDefault(),this.classList.contains("active")?this.classList.remove("active"):this.classList.add("active")}),document.querySelector(".js-close-button").addEventListener("click",function(e){e.preventDefault(),K.classList.contains("active")?K.classList.remove("active"):K.classList.add("active")})}if(document.querySelectorAll("[data-linkedto]").length>0){var ee,te=Hc(document.querySelectorAll("[data-linkedto]"));try{var ne=function(){var e=ee.value;e.addEventListener("change",function(t){document.querySelector("[name='"+e.dataset.linkedto+"']").value=function(e){e=(e=e.replace(/^\s+|\s+$/g,"")).toLowerCase();for(var t="à áäâèéëêìÃïîòóöôùúüûñç·/_,:;",n=0;n<28;n++)e=e.replace(new RegExp(t.charAt(n),"g"),"aaaaeeeeiiiioooouuuunc------".charAt(n));return e.replace(/[^a-z0-9 -]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-")}(e.value)})};for(te.s();!(ee=te.n()).done;)ne()}catch(e){te.e(e)}finally{te.f()}}if(document.querySelectorAll(".inputfile").length>0){var ie=document.querySelectorAll(".inputfile");Array.prototype.forEach.call(ie,function(e){var t=e.nextElementSibling,n=t.innerHTML;e.addEventListener("change",function(e){var i="";(i=this.files&&this.files.length>1?(this.getAttribute("data-multiple-caption")||"").replace("--count--",this.files.length):e.target.value.split("\\").pop())?t.querySelector("span").innerHTML=i:t.innerHTML=n})})}if(e<992&&document.querySelectorAll(".filter-event").length>0){var re=document.querySelector("#btnCollapseFilter");re.classList.remove("show"),re.setAttribute("aria-expanded",!1),document.querySelector(re.getAttribute(["data-bs-target"])).classList.remove("show")}if(document.querySelectorAll("#mapCanvas").length>0&&function(){var e=document.querySelector("#mapCanvas").dataset.lat,t=document.querySelector("#mapCanvas").dataset.lng,n=L.map("mapCanvas",{center:[e,t],minZoom:10,zoom:16,resizerControl:!1,attributionControl:!1,zoomControl:!1,fullscreenControlOptions:{position:"topright"}});L.tileLayer("https://{s}.tile.openstreetmap.de/tiles/osmde/{z}/{x}/{y}.png",{attribution:'© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'}).addTo(n);var i=L.icon({iconUrl:"/images/icons/marker.png",iconSize:[27,40],iconAnchor:[30,50],popupAnchor:[-3,-55]});L.marker([e,t],{icon:i}).addTo(n)}(),document.querySelectorAll(".contrast-activator").length>0){var oe=document.querySelector(".contrast-activator");oe.addEventListener("click",function(e){e.preventDefault(),e.stopPropagation(),document.querySelector("body").classList.contains("contrasted")?(S().set("contrast_accessibility",!1,{expires:7,path:"/"}),oe.classList.remove("active"),document.querySelector("body").classList.remove("contrasted"),oe.setAttribute("title",oe.dataset.titleactivate)):(S().set("contrast_accessibility",!0,{expires:7,path:"/"}),oe.classList.add("active"),document.querySelector("body").classList.add("contrasted"),oe.setAttribute("title",oe.dataset.inactivedisable))}),"true"==S().get("contrast_accessibility")&&(document.querySelector("body").classList.add("contrasted"),oe.classList.add("active"),oe.setAttribute("title",oe.dataset.inactivedisable))}}),document.addEventListener("DOMContentLoaded",function(){var e=document.getElementById("formContact");if(e){var t=e.querySelector('button[type="submit"]');e.querySelectorAll('[name="rentStartDate"], [name="rentStartTime"], [name="rentEndDate"], [name="rentEndTime"]').forEach(function(e){e.addEventListener("change",r)}),r()}function n(e,t){var n={day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit"};
2return"".concat(e.toLocaleString("fr-FR",n)," au ").concat(t.toLocaleString("fr-FR",n))}function i(e,t){if(!e||!t)return null;var n=jc(e.split("-"),3),i=n[0],r=n[1],o=n[2],s=jc(t.split(":"),2),a=s[0],l=s[1];return new Date(o,r-1,i,a,l)}function r(){var r=e.querySelector('[name="rentStartDate"]').value,o=e.querySelector('[name="rentStartTime"]').value,s=e.querySelector('[name="rentEndDate"]').value,a=e.querySelector('[name="rentEndTime"]').value,l=document.getElementById("dateError");l&&l.remove();try{var c=i(r,o),d=i(s,a);if(!c||!d||isNaN(c.getTime())||isNaN(d.getTime()))return void(t.disabled=!0);var u=qc.filter(function(e){return c<e.end&&d>e.start});if(u.length>0){t.disabled=!0;var h=document.createElement("div");h.id="dateError",h.className="alert alert-danger mt-4";var f="<p><strong>La période sélectionnée n'est pas disponible</strong></p>";f+="<p>Votre demande : ".concat(n(c,d),"</p>"),f+="<p>Créneaux déjà réservés :</p>",f+='<ul class="mb-0">',u.forEach(function(e){f+="<li>du ".concat(n(e.start,e.end),"</li>")}),f+="</ul>",h.innerHTML=f,t.closest(".form-group").after(h)}else t.disabled=!1}catch(e){console.error("Erreur lors de la vérification:",e),t.disabled=!0}}}),window.addEventListener("load",function(){$(".slick-slider").slick({dots:!1,infinite:!0,speed:500,fade:!0,cssEase:"linear",autoplay:!0}),$(".js-ticker-carousel").length>0&&$(".js-ticker-carousel").slick({dots:!1,arrows:!1,draggable:!0,speed:300,slidesToShow:1,vertical:!0,autoplay:!0,autoplaySpeed:5e3})}),document.addEventListener("DOMContentLoaded",function(){window.addEventListener("scroll",function(){document.querySelector(".shortcuts-container")&&(window.scrollY>800?(document.querySelector(".shortcuts-container").classList.add("fixed-top"),document.querySelector(".shortcuts-container").classList.add("shadow")):(document.querySelector(".shortcuts-container").classList.remove("fixed-top"),document.querySelector(".shortcuts-container").classList.remove("shadow"),document.body.style.paddingTop="0"))})}),window.$=window.jQuery=f(),window.Headroom=n(4473),n(7721),n(7651),n(1433),n(2227),n(4664),n(5411),n(8858),n(1650)},6198:e=>{"use strict";e.exports=RangeError},6335:(e,t,n)=>{"use strict";var i=n(2537);if(i)try{i([],"length")}catch(e){i=null}e.exports=i},6412:(e,t,n)=>{"use strict";var i=n(4537),r=Object.prototype.hasOwnProperty,o=Array.isArray,s=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),a=function(e,t){for(var n=t&&t.plainObjects?{__proto__:null}:{},i=0;i<e.length;++i)void 0!==e[i]&&(n[i]=e[i]);return n},l=1024;e.exports={arrayToObject:a,assign:function(e,t){return Object.keys(t).reduce(function(e,n){return e[n]=t[n],e},e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],i=0;i<t.length;++i)for(var r=t[i],s=r.obj[r.prop],a=Object.keys(s),l=0;l<a.length;++l){var c=a[l],d=s[c];"object"==typeof d&&null!==d&&-1===n.indexOf(d)&&(t.push({obj:s,prop:c}),n.push(d))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var i=[],r=0;r<n.length;++r)void 0!==n[r]&&i.push(n[r]);t.obj[t.prop]=i}}}(t),e},decode:function(e,t,n){var i=e.replace(/\+/g," ");if("iso-8859-1"===n)return i.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(i)}catch(e){return i}},encode:function(e,t,n,r,o){if(0===e.length)return e;var a=e;if("symbol"==typeof e?a=Symbol.prototype.toString.call(e):"string"!=typeof e&&(a=String(e)),"iso-8859-1"===n)return escape(a).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var c="",d=0;d<a.length;d+=l){for(var u=a.length>=l?a.slice(d,d+l):a,h=[],f=0;f<u.length;++f){var p=u.charCodeAt(f);45===p||46===p||95===p||126===p||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||o===i.RFC1738&&(40===p||41===p)?h[h.length]=u.charAt(f):p<128?h[h.length]=s[p]:p<2048?h[h.length]=s[192|p>>6]+s[128|63&p]:p<55296||p>=57344?h[h.length]=s[224|p>>12]+s[128|p>>6&63]+s[128|63&p]:(f+=1,p=65536+((1023&p)<<10|1023&u.charCodeAt(f)),h[h.length]=s[240|p>>18]+s[128|p>>12&63]+s[128|p>>6&63]+s[128|63&p])}c+=h.join("")}return c},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(o(e)){for(var n=[],i=0;i<e.length;i+=1)n.push(t(e[i]));return n}return t(e)},merge:function e(t,n,i){if(!n)return t;if("object"!=typeof n&&"function"!=typeof n){if(o(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(i&&(i.plainObjects||i.allowPrototypes)||!r.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var s=t;return o(t)&&!o(n)&&(s=a(t,i)),o(t)&&o(n)?(n.forEach(function(n,o){if(r.call(t,o)){var s=t[o];s&&"object"==typeof s&&n&&"object"==typeof n?t[o]=e(s,n,i):t.push(n)}else t[o]=n}),t):Object.keys(n).reduce(function(t,o){var s=n[o];
2return r.call(t,o)?t[o]=e(t[o],s,i):t[o]=s,t},s)}}},6525:e=>{"use strict";var t=Object.prototype.toString,n=Math.max,i=function(e,t){for(var n=[],i=0;i<e.length;i+=1)n[i]=e[i];for(var r=0;r<t.length;r+=1)n[r+e.length]=t[r];return n};e.exports=function(e){var r=this;if("function"!=typeof r||"[object Function]"!==t.apply(r))throw new TypeError("Function.prototype.bind called on incompatible "+r);for(var o,s=function(e,t){for(var n=[],i=t||0,r=0;i<e.length;i+=1,r+=1)n[r]=e[i];return n}(arguments,1),a=n(0,r.length-s.length),l=[],c=0;c<a;c++)l[c]="$"+c;if(o=Function("binder","return function ("+function(e,t){for(var n="",i=0;i<e.length;i+=1)n+=e[i],i+1<e.length&&(n+=t);return n}(l,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof o){var t=r.apply(this,i(s,arguments));return Object(t)===t?t:this}return r.apply(e,i(s,arguments))}),r.prototype){var d=function(){};d.prototype=r.prototype,o.prototype=new d,d.prototype=null}return o}},6695:function(e,t,n){e.exports=function(e,t,n,i){"use strict";const r="5.3.7";class o extends n{constructor(t,n){super(),(t=i.getElement(t))&&(this._element=t,this._config=this._getConfig(n),e.set(this._element,this.constructor.DATA_KEY,this))}dispose(){e.remove(this._element,this.constructor.DATA_KEY),t.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,n=!0){i.executeAfterTransition(e,t,n)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(t){return e.get(i.getElement(t),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return r}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}return o}(n(3841),n(88),n(3741),n(5815))},6808:(e,t,n)=>{"use strict";var i=n(7305),r=n(7866),o=r([i("%String.prototype.indexOf%")]);e.exports=function(e,t){var n=i(e,!!t);return"function"==typeof n&&o(e,".prototype.")>-1?r([n]):n}},7136:(e,t,n)=>{"use strict";var i=n(3276),r=n(4452),o=n(1780);e.exports=i?function(e){return i(e)}:r?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return r(e)}:o?function(e){return o(e)}:null},7235:e=>{"use strict";e.exports=Error},7305:(e,t,n)=>{"use strict";var i,r=n(7472),o=n(7235),s=n(2665),a=n(6198),l=n(1622),c=n(8240),d=n(7623),u=n(1885),h=n(734),f=n(4300),p=n(5624),g=n(9574),m=n(9340),v=n(2946),y=n(3809),b=Function,w=function(e){try{return b('"use strict"; return ('+e+").constructor;")()}catch(e){}},S=n(6335),C=n(1851),E=function(){throw new d},A=S?function(){try{return E}catch(e){try{return S(arguments,"callee").get}catch(e){return E}}}():E,x=n(9603)(),D=n(7136),T=n(4452),k=n(3276),_=n(2574),M=n(5888),I={},O="undefined"!=typeof Uint8Array&&D?D(Uint8Array):i,R={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?i:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?i:ArrayBuffer,"%ArrayIteratorPrototype%":x&&D?D([][Symbol.iterator]()):i,"%AsyncFromSyncIteratorPrototype%":i,"%AsyncFunction%":I,"%AsyncGenerator%":I,"%AsyncGeneratorFunction%":I,"%AsyncIteratorPrototype%":I,"%Atomics%":"undefined"==typeof Atomics?i:Atomics,"%BigInt%":"undefined"==typeof BigInt?i:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?i:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?i:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?i:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":s,"%Float16Array%":"undefined"==typeof Float16Array?i:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?i:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?i:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?i:FinalizationRegistry,"%Function%":b,"%GeneratorFunction%":I,"%Int8Array%":"undefined"==typeof Int8Array?i:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?i:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?i:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
2IteratorPrototype%":x&&D?D(D([][Symbol.iterator]())):i,"%JSON%":"object"==typeof JSON?JSON:i,"%Map%":"undefined"==typeof Map?i:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&x&&D?D((new Map)[Symbol.iterator]()):i,"%Math%":Math,"%Number%":Number,"%Object%":r,"%Object.getOwnPropertyDescriptor%":S,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?i:Promise,"%Proxy%":"undefined"==typeof Proxy?i:Proxy,"%RangeError%":a,"%ReferenceError%":l,"%Reflect%":"undefined"==typeof Reflect?i:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?i:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&x&&D?D((new Set)[Symbol.iterator]()):i,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?i:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":x&&D?D(""[Symbol.iterator]()):i,"%Symbol%":x?Symbol:i,"%SyntaxError%":c,"%ThrowTypeError%":A,"%TypedArray%":O,"%TypeError%":d,"%Uint8Array%":"undefined"==typeof Uint8Array?i:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?i:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?i:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?i:Uint32Array,"%URIError%":u,"%WeakMap%":"undefined"==typeof WeakMap?i:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?i:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?i:WeakSet,"%Function.prototype.call%":M,"%Function.prototype.apply%":_,"%Object.defineProperty%":C,"%Object.getPrototypeOf%":T,"%Math.abs%":h,"%Math.floor%":f,"%Math.max%":p,"%Math.min%":g,"%Math.pow%":m,"%Math.round%":v,"%Math.sign%":y,"%Reflect.getPrototypeOf%":k};if(D)try{null.error}catch(e){var N=D(D(e));R["%Error.prototype%"]=N}var P=function e(t){var n;if("%AsyncFunction%"===t)n=w("async function () {}");else if("%GeneratorFunction%"===t)n=w("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=w("async function* () {}");else if("%AsyncGenerator%"===t){var i=e("%AsyncGeneratorFunction%");i&&(n=i.prototype)}else if("%AsyncIteratorPrototype%"===t){var r=e("%AsyncGenerator%");r&&D&&(n=D(r.prototype))}return R[t]=n,n},L={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},j=n(2795),H=n(5137),z=j.call(M,Array.prototype.concat),F=j.call(_,Array.prototype.splice),B=j.call(M,String.prototype.replace),W=j.call(M,String.prototype.slice),$=j.call(M,RegExp.prototype.exec),q=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,U=/\\(\\)?/g,G=function(e,t){var n,i=e;if(H(L,i)&&(i="%"+(n=L[i])[0]+"%"),H(R,i)){var r=R[i];if(r===I&&(r=P(i)),void 0===r&&!t)throw new d("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:i,value:r}}throw new c("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new d("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new d('"allowMissing" argument must be a boolean');if(null===$(/^%?[^%]*%?$/,e))throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=W(e,0,1),n=W(e,-1);if("%"===t&&"%"!==n)throw new c("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new c("invalid intrinsic syntax, expected opening `%`");var i=[];return B(e,q,function(e,t,n,r){i[i.length]=n?B(r,U,"$1"):t||e}),i}(e),i=n.length>0?n[0]:"",r=G("%"+i+"%",t),o=r.name,s=r.value,a=!1,l=r.alias;l&&(i=l[0],F(n,z([0,1],l)));for(var u=1,h=!0;u<n.length;u+=1){var f=n[u],p=W(f,0,1),g=W(f,-1);if(('"'===p||"'"===p||"`"===p||'"'===g||"'"===g||"`"===g)&&p!==g)throw new c("property names with quotes must have matching quotes");if("constructor"!==f&&h||(a=!0),H(R,o="%"+(i+="."+f)+"%"))s=R[o];else if(null!=s){if(!(f in s)){if(!t)throw new d("base intrinsic for "+e+" exists, but the property is not available.");return}if(S&&u+1>=n.length){var m=S(s,f);s=(h=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:s[f]}else h=H(s,f),s=s[f];h&&!a&&(R[o]=s)}}return s}},7472:e=>{"use strict";e.exports=Object},7623:e=>{"use strict";e.exports=TypeError},7651:function(e,t,n){e.exports=function(e,t,n,i){"use strict";const r="collapse",o=".bs.collapse",s=`show${o}`,a=`shown${o}
2`,l=`hide${o}`,c=`hidden${o}`,d=`click${o}.data-api`,u="show",h="collapse",f="collapsing",p="collapsed",g=`:scope .${h} .${h}`,m="collapse-horizontal",v="width",y="height",b=".collapse.show, .collapse.collapsing",w='[data-bs-toggle="collapse"]',S={parent:null,toggle:!0},C={parent:"(null|element)",toggle:"boolean"};class E extends e{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const i=n.find(w);for(const e of i){const t=n.getSelectorFromElement(e),i=n.find(t).filter(e=>e===this._element);null!==t&&i.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return S}static get DefaultType(){return C}static get NAME(){return r}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(b).filter(e=>e!==this._element).map(e=>E.getOrCreateInstance(e,{toggle:!1}))),e.length&&e[0]._isTransitioning)return;if(t.trigger(this._element,s).defaultPrevented)return;for(const t of e)t.hide();const n=this._getDimension();this._element.classList.remove(h),this._element.classList.add(f),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const i=()=>{this._isTransitioning=!1,this._element.classList.remove(f),this._element.classList.add(h,u),this._element.style[n]="",t.trigger(this._element,a)},r=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback(i,this._element,!0),this._element.style[n]=`${this._element[r]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(t.trigger(this._element,l).defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,i.reflow(this._element),this._element.classList.add(f),this._element.classList.remove(h,u);for(const e of this._triggerArray){const t=n.getElementFromSelector(e);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(f),this._element.classList.add(h),t.trigger(this._element,c)};this._element.style[e]="",this._queueCallback(r,this._element,!0)}_isShown(e=this._element){return e.classList.contains(u)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=i.getElement(e.parent),e}_getDimension(){return this._element.classList.contains(m)?v:y}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(w);for(const t of e){const e=n.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){const t=n.find(g,this._config.parent);return n.find(e,this._config.parent).filter(e=>!t.includes(e))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const n of e)n.classList.toggle(p,!t),n.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1),this.each(function(){const n=E.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}})}}return t.on(document,d,w,function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();for(const e of n.getMultipleElementsFromSelector(this))E.getOrCreateInstance(e,{toggle:!1}).toggle()}),i.defineJQueryPlugin(E),E}(n(6695),n(88),n(4575),n(5815))},7721:function(e,t,n){e.exports=function(e,t,n,i){"use strict";const r="tab",o=".bs.tab",s=`hide${o}`,a=`hidden${o}`,l=`show${o}`,c=`shown${o}`,d=`click${o}`,u=`keydown${o}`,h=`load${o}`,f="ArrowLeft",p="ArrowRight",g="ArrowUp",m="ArrowDown",v="Home",y="End",b="active",w="fade",S="show",C="dropdown",E=".dropdown-toggle",A=".dropdown-menu",x=`:not(${E})`,D='.list-group, .nav, [role="tablist"]',T=".nav-item, .list-group-item",k='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',_=`.nav-link${x}, .list-group-item${x}, [role="tab"]${x}, ${k}`,M=`.${b}[data-bs-toggle="tab"], .${b}[data-bs-toggle="pill"], .${b}[data-bs-toggle="list"]`;class I extends e{constructor(e){super(e),this._parent=this._element.closest(D),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),t.on(this._element,u,e=>
2this._keydown(e)))}static get NAME(){return r}show(){const e=this._element;if(this._elemIsActive(e))return;const n=this._getActiveElem(),i=n?t.trigger(n,s,{relatedTarget:e}):null;t.trigger(e,l,{relatedTarget:n}).defaultPrevented||i&&i.defaultPrevented||(this._deactivate(n,e),this._activate(e,n))}_activate(e,i){if(!e)return;e.classList.add(b),this._activate(n.getElementFromSelector(e));const r=()=>{"tab"===e.getAttribute("role")?(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),t.trigger(e,c,{relatedTarget:i})):e.classList.add(S)};this._queueCallback(r,e,e.classList.contains(w))}_deactivate(e,i){if(!e)return;e.classList.remove(b),e.blur(),this._deactivate(n.getElementFromSelector(e));const r=()=>{"tab"===e.getAttribute("role")?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),t.trigger(e,a,{relatedTarget:i})):e.classList.remove(S)};this._queueCallback(r,e,e.classList.contains(w))}_keydown(e){if(![f,p,g,m,v,y].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=this._getChildren().filter(e=>!i.isDisabled(e));let n;if([v,y].includes(e.key))n=t[e.key===v?0:t.length-1];else{const r=[p,m].includes(e.key);n=i.getNextActiveElement(t,e.target,r,!0)}n&&(n.focus({preventScroll:!0}),I.getOrCreateInstance(n).show())}_getChildren(){return n.find(_,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const e of t)this._setInitialAttributesOnChild(e)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),n=this._getOuterElement(e);e.setAttribute("aria-selected",t),n!==e&&this._setAttributeIfNotExists(n,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=n.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,t){const i=this._getOuterElement(e);if(!i.classList.contains(C))return;const r=(e,r)=>{const o=n.findOne(e,i);o&&o.classList.toggle(r,t)};r(E,b),r(A,S),i.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,n){e.hasAttribute(t)||e.setAttribute(t,n)}_elemIsActive(e){return e.classList.contains(b)}_getInnerElement(e){return e.matches(_)?e:n.findOne(_,e)}_getOuterElement(e){return e.closest(T)||e}static jQueryInterface(e){return this.each(function(){const t=I.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}})}}return t.on(document,d,k,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),i.isDisabled(this)||I.getOrCreateInstance(this).show()}),t.on(window,h,()=>{for(const e of n.find(M))I.getOrCreateInstance(e)}),i.defineJQueryPlugin(I),I}(n(6695),n(88),n(4575),n(5815))},7844:(e,t,n)=>{"use strict";var i=n(2795),r=n(2574),o=n(5888),s=n(2851);e.exports=s||i.call(o,r)},7866:(e,t,n)=>{"use strict";var i=n(2795),r=n(7623),o=n(5888),s=n(7844);e.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new r("a function is required");return s(i,o,e)}},8240:e=>{"use strict";e.exports=SyntaxError},8353:function(e){e.exports=function(){"use strict";function e(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch(t){return e}}function t(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}return{setDataAttribute(e,n,i){e.setAttribute(`data-bs-${t(n)}`,i)},removeDataAttribute(e,n){e.removeAttribute(`data-bs-${t(n)}`)},getDataAttributes(t){if(!t)return{};const n={},i=Object.keys(t.dataset).filter(e=>e.startsWith("bs")&&!e.startsWith("bsConfig"));for(const r of i){let i=r.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1),n[i]=e(t.dataset[r])}return n},getDataAttribute:(n,i)=>e(n.getAttribute(`data-bs-${t(i)}`))}}()},8360:function(e,t,n){var i,r,o;function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}o=function(){"use strict";var e=function(){return e=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},e.apply(this,arguments)},t=function(){function e(e){return this.cssVenderPrefixes=["TransitionDuration","TransitionTimingFunction","Transform","Transition"],this.selector=this._getSelector(e),this.firstElement=this._getFirstEl(),this}return e.generateUUID=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})},e.prototype._getSelector=function(e,t){return void 0===t&&(t=document),"string"!=typeof e?e:(t=t||document,"#"===e.substring(0,1)?t.querySelector(e):t.querySelectorAll(e))},e.prototype._each=function(e){return this.selector?(void 0!==this.selector.length?[].forEach.call(this.selector,e):e(this.selector,0),this):this},e.prototype._setCssVendorPrefix=function(e,t,n){var i=t.replace(/-([a-z])/gi,function(e,t){return t.toUpperCase()});-1!==this.cssVenderPrefixes.indexOf(i)?(e.style[i.charAt(0).toLowerCase()+i.slice(1)]=n,e.style["webkit"+i]=n,e.style["moz"+i]=n,e.style["ms"+i]=n,e.style["o"+i]=n):e.style[i]=n},e.prototype._getFirstEl=function(){return this.selector&&void 0!==this.selector.length?this.selector[0]:this.selector},e.prototype.isEventMatched=function(e,t){var n=t.split(".");return e.split(".").filter(function(e){return e}).every(function(e){return-1!==n.indexOf(e)})},e.prototype.attr=function(e,t){return void 0===t?this.firstElement?this.firstElement.getAttribute(e):"":(this._each(function(n){n.setAttribute(e,t)}),this)},e.prototype.find=function(e){return n(this._getSelector(e,this.selector))},e.prototype.first=function(){return this.selector&&void 0!==this.selector.length?n(this.selector[0]):n(this.selector)},e.prototype.eq=function(e){return n(this.selector[e])},e.prototype.parent=function(){return n(this.selector.parentElement)},e.prototype.get=function(){return this._getFirstEl()},e.prototype.removeAttr=function(e){var t=e.split(" ");return this._each(function(e){t.forEach(function(t){return e.removeAttribute(t)})}),this},e.prototype.wrap=function(e){if(!this.firstElement)return this;var t=document.createElement("div");return t.className=e,this.firstElement.parentNode.insertBefore(t,this.firstElement),this.firstElement.parentNode.removeChild(this.firstElement),t.appendChild(this.firstElement),this},e.prototype.addClass=function(e){return void 0===e&&(e=""),this._each(function(t){e.split(" ").forEach(function(e){e&&t.classList.add(e)})}),this},e.prototype.removeClass=function(e){return this._each(function(t){e.split(" ").forEach(function(e){e&&t.classList.remove(e)})}),this},e.prototype.hasClass=function(e){return!!this.firstElement&&this.firstElement.classList.contains(e)},e.prototype.hasAttribute=function(e){return!!this.firstElement&&this.firstElement.hasAttribute(e)},e.prototype.toggleClass=function(e){return this.firstElement?(this.hasClass(e)?this.removeClass(e):this.addClass(e),this):this},e.prototype.css=function(e,t){var n=this;return this._each(function(i){n._setCssVendorPrefix(i,e,t)}),this},e.prototype.on=function(t,n){var i=this;return this.selector?(t.split(" ").forEach(function(t){Array.isArray(e.eventListeners[t])||(e.eventListeners[t]=[]),e.eventListeners[t].push(n),i.selector.addEventListener(t.
2split(".")[0],n)}),this):this},e.prototype.once=function(e,t){var n=this;return this.on(e,function(){n.off(e),t(e)}),this},e.prototype.off=function(t){var n=this;return this.selector?(Object.keys(e.eventListeners).forEach(function(i){n.isEventMatched(t,i)&&(e.eventListeners[i].forEach(function(e){n.selector.removeEventListener(i.split(".")[0],e)}),e.eventListeners[i]=[])}),this):this},e.prototype.trigger=function(e,t){if(!this.firstElement)return this;var n=new CustomEvent(e.split(".")[0],{detail:t||null});return this.firstElement.dispatchEvent(n),this},e.prototype.load=function(e){var t=this;return fetch(e).then(function(e){t.selector.innerHTML=e}),this},e.prototype.html=function(e){return void 0===e?this.firstElement?this.firstElement.innerHTML:"":(this._each(function(t){t.innerHTML=e}),this)},e.prototype.append=function(e){return this._each(function(t){"string"==typeof e?t.insertAdjacentHTML("beforeend",e):t.appendChild(e)}),this},e.prototype.prepend=function(e){return this._each(function(t){t.insertAdjacentHTML("afterbegin",e)}),this},e.prototype.remove=function(){return this._each(function(e){e.parentNode.removeChild(e)}),this},e.prototype.empty=function(){return this._each(function(e){e.innerHTML=""}),this},e.prototype.scrollTop=function(e){return void 0!==e?(document.body.scrollTop=e,document.documentElement.scrollTop=e,this):window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0},e.prototype.scrollLeft=function(e){return void 0!==e?(document.body.scrollLeft=e,document.documentElement.scrollLeft=e,this):window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0},e.prototype.offset=function(){if(!this.firstElement)return{left:0,top:0};var e=this.firstElement.getBoundingClientRect(),t=n("body").style().marginLeft;return{left:e.left-parseFloat(t)+this.scrollLeft(),top:e.top+this.scrollTop()}},e.prototype.style=function(){return this.firstElement?this.firstElement.currentStyle||window.getComputedStyle(this.firstElement):{}},e.prototype.width=function(){var e=this.style();return this.firstElement.clientWidth-parseFloat(e.paddingLeft)-parseFloat(e.paddingRight)},e.prototype.height=function(){var e=this.style();return this.firstElement.clientHeight-parseFloat(e.paddingTop)-parseFloat(e.paddingBottom)},e.eventListeners={},e}();function n(e){return function(){if("function"==typeof window.CustomEvent)return!1;window.CustomEvent=function(e,t){t=t||{bubbles:!1,cancelable:!1,detail:null};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}}(),Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),new t(e)}var i=["src","sources","subHtml","subHtmlUrl","html","video","poster","slideName","responsive","srcset","sizes","iframe","downloadUrl","download","width","facebookShareUrl","tweetText","iframeTitle","twitterShareUrl","pinterestShareUrl","pinterestText","fbHtml","disqusIdentifier","disqusUrl"];function r(e){return"href"===e?"src":e=(e=(e=e.replace("data-","")).charAt(0).toLowerCase()+e.slice(1)).replace(/-([a-z])/g,function(e){return e[1].toUpperCase()})}var o=function(e,t,i,r){void 0===i&&(i=0);var o=n(e).attr("data-lg-size")||r;if(o){var s=o.split(",");if(s[1])for(var a=window.innerWidth,l=0;l<s.length;l++){var c=s[l];if(parseInt(c.split("-")[2],10)>a){o=c;break}l===s.length-1&&(o=c)}var d=o.split("-"),u=parseInt(d[0],10),h=parseInt(d[1],10),f=t.width(),p=t.height()-i,g=Math.min(f,u),m=Math.min(p,h),v=Math.min(g/u,m/h);return{width:u*v,height:h*v}}},s=function(e,t,i,r,o){if(o){var s=n(e).find("img").first();if(s.get()){var a=t.get().getBoundingClientRect(),l=a.width,c=t.height()-(i+r),d=s.width(),u=s.height(),h=s.style(),f=(l-d)/2-s.offset().left+(parseFloat(h.paddingLeft)||0)+(parseFloat(h.borderLeft)||0)+n(window).scrollLeft()+a.left,p=(c-u)/2-s.offset().top+(parseFloat(h.paddingTop)||0)+(parseFloat(h.borderTop)||0)+n(window).scrollTop()+i;return"translate3d("+(f*=-1)+"px, "+(p*=-1)+"px, 0) scale3d("+d/o.width+", "+u/o.height+", 1)"}}},a=function(e,t,n,i,r,o){return'<div class="lg-video-cont lg-has-iframe" style="width:'+e+"; max-width:"+n+"; height: "+t+"; max-height:"+i+'">\n <iframe class="lg-object" frameborder="0" '+(o?'title="'+o+'"':"")+' src="'+r+'" allowfullscreen="true"></iframe>\n </div>'},l=function(e,t,n,i,r,o){var s="<img "+n+" "+(i?'srcset="'+i+'"':"")+" "+(r?'sizes="'+r+'"':"")+' class="lg-object lg-image" data-index="'+e+'" src="'+t+'" />',a="";return o&&(a=("string"==typeof o?JSON.parse(o):o).map(function(e){var t="";return Object.keys(e).forEach(function(n){t+=" "+n+'="'+e[n]+'"'}),"<source "+t+"></source>"})),""+a+s},c=function(e){for(var t=[],n=[],i="",r=0;r<e.length;r++){var o=e[r].split(" ");""===o[0]&&o.splice(0,1),n.push(o[0]),t.push(o[1])}for(var s=window.innerWidth,a=0;a<t.length;a++)if(parseInt(t[a],10)>s){i=n[a];break}return i}
2,d=function(e){return!!e&&!!e.complete&&0!==e.naturalWidth},u=function(e,t,n,i){return'<div class="lg-video-cont '+(i&&i.youtube?"lg-has-youtube":i&&i.vimeo?"lg-has-vimeo":"lg-has-html5")+'" style="'+n+'">\n <div class="lg-video-play-button">\n <svg\n viewBox="0 0 20 20"\n preserveAspectRatio="xMidYMid"\n focusable="false"\n aria-labelledby="Play video"\n role="img"\n class="lg-video-play-icon"\n >\n <title>Play video</title>\n <polygon class="lg-video-play-icon-inner" points="1,0 20,10 1,20"></polygon>\n </svg>\n <svg class="lg-video-play-icon-bg" viewBox="0 0 50 50" focusable="false">\n <circle cx="50%" cy="50%" r="20"></circle></svg>\n <svg class="lg-video-play-icon-circle" viewBox="0 0 50 50" focusable="false">\n <circle cx="50%" cy="50%" r="20"></circle>\n </svg>\n </div>\n '+(t||"")+'\n <img class="lg-object lg-video-poster" src="'+e+'" />\n </div>'},h=function(e,t,o,s){var a=[],l=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),r=0;for(t=0;t<n;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,r++)i[r]=o[s];return i}(i,t);return[].forEach.call(e,function(e){for(var t={},i=0;i<e.attributes.length;i++){var c=e.attributes[i];if(c.specified){var d=r(c.name),u="";l.indexOf(d)>-1&&(u=d),u&&(t[u]=c.value)}}var h=n(e),f=h.find("img").first().attr("alt"),p=h.attr("title"),g=s?h.attr(s):h.find("img").first().attr("src");t.thumb=g,o&&!t.subHtml&&(t.subHtml=p||f||""),t.alt=f||p||"",a.push(t)}),a},f=function(){return/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)},p=function(e,t,n){if(!e)return t?{html5:!0}:void console.error("lightGallery :- data-src is not provided on slide item "+(n+1)+". Please make sure the selector property is properly configured. More info - https://www.lightgalleryjs.com/demos/html-markup/");var i=e.match(/\/\/(?:www\.)?youtu(?:\.be|be\.com|be-nocookie\.com)\/(?:watch\?v=|embed\/)?([a-z0-9\-\_\%]+)([\&|?][\S]*)*/i),r=e.match(/\/\/(?:www\.)?(?:player\.)?vimeo.com\/(?:video\/)?([0-9a-z\-_]+)(.*)?/i),o=e.match(/https?:\/\/(.+)?(wistia\.com|wi\.st)\/(medias|embed)\/([0-9a-z\-_]+)(.*)/);return i?{youtube:i}:r?{vimeo:r}:o?{wistia:o}:void 0},g={mode:"lg-slide",easing:"ease",speed:400,licenseKey:"0000-0000-000-0000",height:"100%",width:"100%",addClass:"",startClass:"lg-start-zoom",backdropDuration:300,container:"",startAnimationDuration:400,zoomFromOrigin:!0,hideBarsDelay:0,showBarsAfter:1e4,slideDelay:0,supportLegacyBrowser:!0,allowMediaOverlap:!1,videoMaxSize:"1280-720",loadYouTubePoster:!0,defaultCaptionHeight:0,ariaLabelledby:"",ariaDescribedby:"",closable:!0,swipeToClose:!0,closeOnTap:!0,showCloseIcon:!0,showMaximizeIcon:!1,loop:!0,escKey:!0,keyPress:!0,controls:!0,slideEndAnimation:!0,hideControlOnEnd:!1,mousewheel:!1,getCaptionFromTitleOrAlt:!0,appendSubHtmlTo:".lg-sub-html",subHtmlSelectorRelative:!1,preload:2,numberOfSlideItemsInDom:10,selector:"",selectWithin:"",nextHtml:"",prevHtml:"",index:0,iframeWidth:"100%",iframeHeight:"100%",iframeMaxWidth:"100%",iframeMaxHeight:"100%",download:!0,counter:!0,appendCounterTo:".lg-toolbar",swipeThreshold:50,enableSwipe:!0,enableDrag:!0,dynamic:!1,dynamicEl:[],extraProps:[],exThumbImage:"",isMobile:void 0,mobileSettings:{controls:!1,showCloseIcon:!1,download:!1},plugins:[]},m="lgAfterAppendSlide",v="lgInit",y="lgHasVideo",b="lgContainerResize",w="lgUpdateSlides",S="lgAfterAppendSubHtml",C="lgBeforeOpen",E="lgAfterOpen",A="lgSlideItemLoad",x="lgBeforeSlide",D="lgAfterSlide",T="lgPosterClick",k="lgDragStart",_="lgDragMove",M="lgDragEnd",I="lgBeforeNextSlide",O="lgBeforePrevSlide",R="lgBeforeClose",N="lgAfterClose",P=0,L=function(){function i(e,t){if(this.lgOpened=!1,this.index=0,this.plugins=[],this.lGalleryOn=!1,this.lgBusy=!1,this.currentItemsInDom=[],this.prevScrollTop=0,this.isDummyImageRemoved=!1,this.dragOrSwipeEnabled=!1,this.mediaContainerPosition={top:0,bottom:0},!e)return this;if(P++,this.lgId=P,this.el=e,this.LGel=n(e),this.generateSettings(t),this.buildModules(),this.settings.dynamic&&void 0!==this.settings.dynamicEl&&!Array.isArray(this.settings.dynamicEl))throw"When using dynamic mode, you must also define dynamicEl as an Array.";return this.galleryItems=this.getItems(),this.normalizeSettings(),this.init(),this.validateLicense(),this}return i.prototype.generateSettings=function(t){if(this.settings=e(e({},g),t),this.settings.isMobile&&"function"==typeof this.settings.isMobile?this.settings.isMobile():f()){var n=e(e({},this.settings.mobileSettings),this.settings.mobileSettings);this.settings=e(e({},this.settings),n)}},i.prototype.normalizeSettings=function(){this.settings.slideEndAnimation&&(this.settings.hideControlOnEnd=!1),this.settings.closable||(this.settings.swipeToClose
2=!1),this.zoomFromOrigin=this.settings.zoomFromOrigin,this.settings.dynamic&&(this.zoomFromOrigin=!1),this.settings.container||(this.settings.container=document.body),this.settings.preload=Math.min(this.settings.preload,this.galleryItems.length)},i.prototype.init=function(){var e=this;this.addSlideVideoInfo(this.galleryItems),this.buildStructure(),this.LGel.trigger(v,{instance:this}),this.settings.keyPress&&this.keyPress(),setTimeout(function(){e.enableDrag(),e.enableSwipe(),e.triggerPosterClick()},50),this.arrow(),this.settings.mousewheel&&this.mousewheel(),this.settings.dynamic||this.openGalleryOnItemClick()},i.prototype.openGalleryOnItemClick=function(){for(var e=this,i=function(i){var o=r.items[i],s=n(o),a=t.generateUUID();s.attr("data-lg-id",a).on("click.lgcustom-item-"+a,function(t){t.preventDefault();var n=e.settings.index||i;e.openGallery(n,o)})},r=this,o=0;o<this.items.length;o++)i(o)},i.prototype.buildModules=function(){var e=this;this.settings.plugins.forEach(function(t){e.plugins.push(new t(e,n))})},i.prototype.validateLicense=function(){this.settings.licenseKey?"0000-0000-000-0000"===this.settings.licenseKey&&console.warn("lightGallery: "+this.settings.licenseKey+" license key is not valid for production use"):console.error("Please provide a valid license key")},i.prototype.getSlideItem=function(e){return n(this.getSlideItemId(e))},i.prototype.getSlideItemId=function(e){return"#lg-item-"+this.lgId+"-"+e},i.prototype.getIdName=function(e){return e+"-"+this.lgId},i.prototype.getElementById=function(e){return n("#"+this.getIdName(e))},i.prototype.manageSingleSlideClassName=function(){this.galleryItems.length<2?this.outer.addClass("lg-single-item"):this.outer.removeClass("lg-single-item")},i.prototype.buildStructure=function(){var e=this;if(!this.$container||!this.$container.get()){var t="",i="";this.settings.controls&&(t='<button type="button" id="'+this.getIdName("lg-prev")+'" aria-label="Previous slide" class="lg-prev lg-icon"> '+this.settings.prevHtml+' </button>\n <button type="button" id="'+this.getIdName("lg-next")+'" aria-label="Next slide" class="lg-next lg-icon"> '+this.settings.nextHtml+" </button>"),".lg-item"!==this.settings.appendSubHtmlTo&&(i='<div class="lg-sub-html" role="status" aria-live="polite"></div>');var r="";this.settings.allowMediaOverlap&&(r+="lg-media-overlap ");var o=this.settings.ariaLabelledby?'aria-labelledby="'+this.settings.ariaLabelledby+'"':"",s=this.settings.ariaDescribedby?'aria-describedby="'+this.settings.ariaDescribedby+'"':"",a="lg-container "+this.settings.addClass+" "+(document.body!==this.settings.container?"lg-inline":""),l=this.settings.closable&&this.settings.showCloseIcon?'<button type="button" aria-label="Close gallery" id="'+this.getIdName("lg-close")+'" class="lg-close lg-icon"></button>':"",c=this.settings.showMaximizeIcon?'<button type="button" aria-label="Toggle maximize" id="'+this.getIdName("lg-maximize")+'" class="lg-maximize lg-icon"></button>':"",d='\n <div class="'+a+'" id="'+this.getIdName("lg-container")+'" tabindex="-1" aria-modal="true" '+o+" "+s+' role="dialog"\n >\n <div id="'+this.getIdName("lg-backdrop")+'" class="lg-backdrop"></div>\n\n <div id="'+this.getIdName("lg-outer")+'" class="lg-outer lg-use-css3 lg-css3 lg-hide-items '+r+' ">\n\n <div id="'+this.getIdName("lg-content")+'" class="lg-content">\n <div id="'+this.getIdName("lg-inner")+'" class="lg-inner">\n </div>\n '+t+'\n </div>\n <div id="'+this.getIdName("lg-toolbar")+'" class="lg-toolbar lg-group">\n '+c+"\n "+l+"\n </div>\n "+(".lg-outer"===this.settings.appendSubHtmlTo?i:"")+'\n <div id="'+this.getIdName("lg-components")+'" class="lg-components">\n '+(".lg-sub-html"===this.settings.appendSubHtmlTo?i:"")+"\n </div>\n </div>\n </div>\n ";n(this.settings.container).css("position","relative").append(d),this.outer=this.getElementById("lg-outer"),this.$lgComponents=this.getElementById("lg-components"),this.$backdrop=this.getElementById("lg-backdrop"),this.$container=this.getElementById("lg-container"),this.$inner=this.getElementById("lg-inner"),this.$content=this.getElementById("lg-content"),this.$toolbar=this.getElementById("lg-toolbar"),this.$backdrop.css("transition-duration",this.settings.backdropDuration+"ms");var u=this.settings.mode+" ";this.manageSingleSlideClassName(),this.settings.enableDrag&&(u+="lg-grab "),this.outer.addClass(u),this.$inner.css("transition-timing-function",this.settings.easing),this.$inner.css("transition-duration",this.settings.speed+"ms"),this.settings.download&&this.$toolbar.append('<a id="'+this.getIdName("lg-download")+'" target="_blank" rel="noopener" aria-label="Download" download class="lg-download lg-icon"></a>'),this.counter(),n(window).on("resize.lg.global"+this.lgId+" orientationchange.lg.global"+this.lgId,function(){e.refreshOnResize()}),this.hideBars(),this.manageCloseGallery(),this.toggleMaximize(),this.initModules()}},i.prototype.refreshOnResize=function(){if(this.lgOpened){var e=this.galleryItems[this.index].__slideVideoInfo;this.mediaContainerPosition=this.getMediaContainerPosition();var t=this.mediaContainerPosition,n=t.top,i=t.bottom;if(this.currentImageSize=o(this.items[this.index],this.outer,n+i,e&&this.settings.videoMaxSize),e&&this.resizeVideoSlide(this.index,this.currentImageSize),this.zoomFromOrigin&&!this.isDummyImageRemoved){var r=this.getDummyImgStyles(this.currentImageSize);this.outer.find(".lg-current .lg-dummy-img").first().attr("style",r)}this.LGel.trigger(b)}
2},i.prototype.resizeVideoSlide=function(e,t){var n=this.getVideoContStyle(t);this.getSlideItem(e).find(".lg-video-cont").attr("style",n)},i.prototype.updateSlides=function(e,t){if(this.index>e.length-1&&(this.index=e.length-1),1===e.length&&(this.index=0),e.length){var n=this.galleryItems[t].src;this.galleryItems=e,this.updateControls(),this.$inner.empty(),this.currentItemsInDom=[];var i=0;this.galleryItems.some(function(e,t){return e.src===n&&(i=t,!0)}),this.currentItemsInDom=this.organizeSlideItems(i,-1),this.loadContent(i,!0),this.getSlideItem(i).addClass("lg-current"),this.index=i,this.updateCurrentCounter(i),this.LGel.trigger(w)}else this.closeGallery()},i.prototype.getItems=function(){if(this.items=[],this.settings.dynamic)return this.settings.dynamicEl||[];if("this"===this.settings.selector)this.items.push(this.el);else if(this.settings.selector)if("string"==typeof this.settings.selector)if(this.settings.selectWithin){var e=n(this.settings.selectWithin);this.items=e.find(this.settings.selector).get()}else this.items=this.el.querySelectorAll(this.settings.selector);else this.items=this.settings.selector;else this.items=this.el.children;return h(this.items,this.settings.extraProps,this.settings.getCaptionFromTitleOrAlt,this.settings.exThumbImage)},i.prototype.openGallery=function(e,t){var i=this;if(void 0===e&&(e=this.settings.index),!this.lgOpened){this.lgOpened=!0,this.outer.get().focus(),this.outer.removeClass("lg-hide-items"),this.$container.addClass("lg-show");var r=this.getItemsToBeInsertedToDom(e,e);this.currentItemsInDom=r;var a="";r.forEach(function(e){a=a+'<div id="'+e+'" class="lg-item"></div>'}),this.$inner.append(a),this.addHtml(e);var l="";this.mediaContainerPosition=this.getMediaContainerPosition();var c=this.mediaContainerPosition,d=c.top,u=c.bottom;this.settings.allowMediaOverlap||this.setMediaContainerPosition(d,u);var h=this.galleryItems[e].__slideVideoInfo;this.zoomFromOrigin&&t&&(this.currentImageSize=o(t,this.outer,d+u,h&&this.settings.videoMaxSize),l=s(t,this.outer,d,u,this.currentImageSize)),this.zoomFromOrigin&&l||(this.outer.addClass(this.settings.startClass),this.getSlideItem(e).removeClass("lg-complete"));var f=this.settings.zoomFromOrigin?100:this.settings.backdropDuration;setTimeout(function(){i.outer.addClass("lg-components-open")},f),this.index=e,this.LGel.trigger(C),this.getSlideItem(e).addClass("lg-current"),this.lGalleryOn=!1,this.prevScrollTop=n(window).scrollTop(),setTimeout(function(){if(i.zoomFromOrigin&&l){var t=i.getSlideItem(e);t.css("transform",l),setTimeout(function(){t.addClass("lg-start-progress lg-start-end-progress").css("transition-duration",i.settings.startAnimationDuration+"ms"),i.outer.addClass("lg-zoom-from-image")}),setTimeout(function(){t.css("transform","translate3d(0, 0, 0)")},100)}setTimeout(function(){i.$backdrop.addClass("in"),i.$container.addClass("lg-show-in")},10),i.zoomFromOrigin&&l||setTimeout(function(){i.outer.addClass("lg-visible")},i.settings.backdropDuration),i.slide(e,!1,!1,!1),i.LGel.trigger(E)}),document.body===this.settings.container&&n("html").addClass("lg-on")}},i.prototype.getMediaContainerPosition=function(){if(this.settings.allowMediaOverlap)return{top:0,bottom:0};var e=this.$toolbar.get().clientHeight||0,t=this.outer.find(".lg-components .lg-sub-html").get(),n=this.settings.defaultCaptionHeight||t&&t.clientHeight||0,i=this.outer.find(".lg-thumb-outer").get();return{top:e,bottom:(i?i.clientHeight:0)+n}},i.prototype.setMediaContainerPosition=function(e,t){void 0===e&&(e=0),void 0===t&&(t=0),this.$content.css("top",e+"px").css("bottom",t+"px")},i.prototype.hideBars=function(){var e=this;setTimeout(function(){e.outer.removeClass("lg-hide-items"),e.settings.hideBarsDelay>0&&(e.outer.on("mousemove.lg click.lg touchstart.lg",function(){e.outer.removeClass("lg-hide-items"),clearTimeout(e.hideBarTimeout),e.hideBarTimeout=setTimeout(function(){e.outer.addClass("lg-hide-items")},e.settings.hideBarsDelay)}),e.outer.trigger("mousemove.lg"))},this.settings.showBarsAfter)},i.prototype.initPictureFill=function(e){if(this.settings.supportLegacyBrowser)try{picturefill({elements:[e.get()]})}catch(e){console.warn("lightGallery :- If you want srcset or picture tag to be supported for older browser please include picturefil javascript library in your document.")}},i.prototype.counter=function(){if(this.settings.counter){var e='<div class="lg-counter" role="status" aria-l
2ive="polite">\n <span id="'+this.getIdName("lg-counter-current")+'" class="lg-counter-current">'+(this.index+1)+' </span> /\n <span id="'+this.getIdName("lg-counter-all")+'" class="lg-counter-all">'+this.galleryItems.length+" </span></div>";this.outer.find(this.settings.appendCounterTo).append(e)}},i.prototype.addHtml=function(e){var t,i;if(this.galleryItems[e].subHtmlUrl?i=this.galleryItems[e].subHtmlUrl:t=this.galleryItems[e].subHtml,!i)if(t){var r=t.substring(0,1);"."!==r&&"#"!==r||(t=this.settings.subHtmlSelectorRelative&&!this.settings.dynamic?n(this.items).eq(e).find(t).first().html():n(t).first().html())}else t="";if(".lg-item"!==this.settings.appendSubHtmlTo)i?this.outer.find(".lg-sub-html").load(i):this.outer.find(".lg-sub-html").html(t);else{var o=n(this.getSlideItemId(e));i?o.load(i):o.append('<div class="lg-sub-html">'+t+"</div>")}null!=t&&(""===t?this.outer.find(this.settings.appendSubHtmlTo).addClass("lg-empty-html"):this.outer.find(this.settings.appendSubHtmlTo).removeClass("lg-empty-html")),this.LGel.trigger(S,{index:e})},i.prototype.preload=function(e){for(var t=1;t<=this.settings.preload&&!(t>=this.galleryItems.length-e);t++)this.loadContent(e+t,!1);for(var n=1;n<=this.settings.preload&&!(e-n<0);n++)this.loadContent(e-n,!1)},i.prototype.getDummyImgStyles=function(e){return e?"width:"+e.width+"px;\n margin-left: -"+e.width/2+"px;\n margin-top: -"+e.height/2+"px;\n height:"+e.height+"px":""},i.prototype.getVideoContStyle=function(e){return e?"width:"+e.width+"px;\n height:"+e.height+"px":""},i.prototype.getDummyImageContent=function(e,t,i){var r;if(this.settings.dynamic||(r=n(this.items).eq(t)),r){var o=void 0;if(!(o=this.settings.exThumbImage?r.attr(this.settings.exThumbImage):r.find("img").first().attr("src")))return"";var s="<img "+i+' style="'+this.getDummyImgStyles(this.currentImageSize)+'" class="lg-dummy-img" src="'+o+'" />';return e.addClass("lg-first-slide"),this.outer.addClass("lg-first-slide-loading"),s}return""},i.prototype.setImgMarkup=function(e,t,n){var i=this.galleryItems[n],r=i.alt,o=i.srcset,s=i.sizes,a=i.sources,c=r?'alt="'+r+'"':"",d='<picture class="lg-img-wrap"> '+(this.isFirstSlideWithZoomAnimation()?this.getDummyImageContent(t,n,c):l(n,e,c,o,s,a))+"</picture>";t.prepend(d)},i.prototype.onSlideObjectLoad=function(e,t,n,i){var r=e.find(".lg-object").first();d(r.get())||t?n():(r.on("load.lg error.lg",function(){n&&n()}),r.on("error.lg",function(){i&&i()}))},i.prototype.onLgObjectLoad=function(e,t,n,i,r,o){var s=this;this.onSlideObjectLoad(e,o,function(){s.triggerSlideItemLoad(e,t,n,i,r)},function(){e.addClass("lg-complete lg-complete_"),e.html('<span class="lg-error-msg">Oops... Failed to load content...</span>')})},i.prototype.triggerSlideItemLoad=function(e,t,n,i,r){var o=this,s=this.galleryItems[t],a=r&&"video"===this.getSlideType(s)&&!s.poster?i:0;setTimeout(function(){e.addClass("lg-complete lg-complete_"),o.LGel.trigger(A,{index:t,delay:n||0,isFirstSlide:r})},a)},i.prototype.isFirstSlideWithZoomAnimation=function(){return!(this.lGalleryOn||!this.zoomFromOrigin||!this.currentImageSize)},i.prototype.addSlideVideoInfo=function(e){var t=this;e.forEach(function(e,n){e.__slideVideoInfo=p(e.src,!!e.video,n),e.__slideVideoInfo&&t.settings.loadYouTubePoster&&!e.poster&&e.__slideVideoInfo.youtube&&(e.poster="//img.youtube.com/vi/"+e.__slideVideoInfo.youtube[1]+"/maxresdefault.jpg")})},i.prototype.loadContent=function(e,t){var i=this,r=this.galleryItems[e],s=n(this.getSlideItemId(e)),d=r.poster,h=r.srcset,f=r.sizes,p=r.sources,g=r.src,v=r.video,b=v&&"string"==typeof v?JSON.parse(v):v;if(r.responsive){var w=r.responsive.split(",");g=c(w)||g}var S=r.__slideVideoInfo,C="",E=!!r.iframe,A=!this.lGalleryOn,x=0;if(A&&(x=this.zoomFromOrigin&&this.currentImageSize?this.settings.startAnimationDuration+10:this.settings.backdropDuration+10),!s.hasClass("lg-loaded")){if(S){var D=this.mediaContainerPosition,T=D.top,k=D.bottom,_=o(this.items[e],this.outer,T+k,S&&this.settings.videoMaxSize);C=this.getVideoContStyle(_)}if(E){var M=a(this.settings.iframeWidth,this.settings.iframeHeight,this.settings.iframeMaxWidth,this.settings.iframeMaxHeight,g,r.iframeTitle);s.prepend(M)}else if(d){var I="";A&&this.zoomFromOrigin&&this.currentImageSize&&(I=this.getDummyImageContent(s,e,"")),M=u(d,I||"",C,S),s.prepend(M)}else if(S)M='<div class="lg-video-cont " style="'+C+'"></div>',s.prepend(M);else if(this.setImgMarkup(g,s,e),h||p){var O=s.find(".lg-object");this.initPictureFill(O)}(d||S)&&this.LGel.trigger(y,{index:e,src:g,html5Video:b,hasPoster:!!d}),this.LGel.trigger(m,{index:e}),this.lGalleryOn&&".lg-item"===this.settings.appendSubHtmlTo&&this.addHtml(e)}var R=0;
2x&&!n(document.body).hasClass("lg-from-hash")&&(R=x),this.isFirstSlideWithZoomAnimation()&&(setTimeout(function(){s.removeClass("lg-start-end-progress lg-start-progress").removeAttr("style")},this.settings.startAnimationDuration+100),s.hasClass("lg-loaded")||setTimeout(function(){if("image"===i.getSlideType(r)&&(s.find(".lg-img-wrap").append(l(e,g,"",h,f,r.sources)),h||p)){var t=s.find(".lg-object");i.initPictureFill(t)}("image"===i.getSlideType(r)||"video"===i.getSlideType(r)&&d)&&(i.onLgObjectLoad(s,e,x,R,!0,!1),i.onSlideObjectLoad(s,!(!S||!S.html5||d),function(){i.loadContentOnFirstSlideLoad(e,s,R)},function(){i.loadContentOnFirstSlideLoad(e,s,R)}))},this.settings.startAnimationDuration+100)),s.addClass("lg-loaded"),this.isFirstSlideWithZoomAnimation()&&("video"!==this.getSlideType(r)||d)||this.onLgObjectLoad(s,e,x,R,A,!(!S||!S.html5||d)),this.zoomFromOrigin&&this.currentImageSize||!s.hasClass("lg-complete_")||this.lGalleryOn||setTimeout(function(){s.addClass("lg-complete")},this.settings.backdropDuration),this.lGalleryOn=!0,!0===t&&(s.hasClass("lg-complete_")?this.preload(e):s.find(".lg-object").first().on("load.lg error.lg",function(){i.preload(e)}))},i.prototype.loadContentOnFirstSlideLoad=function(e,t,n){var i=this;setTimeout(function(){t.find(".lg-dummy-img").remove(),t.removeClass("lg-first-slide"),i.outer.removeClass("lg-first-slide-loading"),i.isDummyImageRemoved=!0,i.preload(e)},n+300)},i.prototype.getItemsToBeInsertedToDom=function(e,t,n){var i=this;void 0===n&&(n=0);var r=[],o=Math.max(n,3);o=Math.min(o,this.galleryItems.length);var s="lg-item-"+this.lgId+"-"+t;if(this.galleryItems.length<=3)return this.galleryItems.forEach(function(e,t){r.push("lg-item-"+i.lgId+"-"+t)}
vendor: 5,367 bytes, line 2
2),r;if(e<(this.galleryItems.length-1)/2){for(var a=e;a>e-o/2&&a>=0;a--)r.push("lg-item-"+this.lgId+"-"+a);var l=r.length;for(a=0;a<o-l;a++)r.push("lg-item-"+this.lgId+"-"+(e+a+1))}else{for(a=e;a<=this.galleryItems.length-1&&a<e+o/2;a++)r.push("lg-item-"+this.lgId+"-"+a);for(l=r.length,a=0;a<o-l;a++)r.push("lg-item-"+this.lgId+"-"+(e-a-1))}return this.settings.loop&&(e===this.galleryItems.length-1?r.push("lg-item-"+this.lgId+"-0"):0===e&&r.push("lg-item-"+this.lgId+"-"+(this.galleryItems.length-1))),-1===r.indexOf(s)&&r.push("lg-item-"+this.lgId+"-"+t),r},i.prototype.organizeSlideItems=function(e,t){var i=this,r=this.getItemsToBeInsertedToDom(e,t,this.settings.numberOfSlideItemsInDom);return r.forEach(function(e){-1===i.currentItemsInDom.indexOf(e)&&i.$inner.append('<div id="'+e+'" class="lg-item"></div>')}),this.currentItemsInDom.forEach(function(e){-1===r.indexOf(e)&&n("#"+e).remove()}),r},i.prototype.getPreviousSlideIndex=function(){var e=0;try{var t=this.outer.find(".lg-current").first().attr("id");e=parseInt(t.split("-")[3])||0}catch(t){e=0}return e},i.prototype.setDownloadValue=function(e){if(this.settings.download){var t=this.galleryItems[e];if(!1===t.downloadUrl||"false"===t.downloadUrl)this.outer.addClass("lg-hide-download");else{var n=this.getElementById("lg-download");this.outer.removeClass("lg-hide-download"),n.attr("href",t.downloadUrl||t.src),t.download&&n.attr("download",t.download)}}},i.prototype.makeSlideAnimation=function(e,t,n){var i=this;this.lGalleryOn&&n.addClass("lg-slide-progress"),setTimeout(function(){i.outer.addClass("lg-no-trans"),i.outer.find(".lg-item").removeClass("lg-prev-slide lg-next-slide"),"prev"===e?(t.addClass("lg-prev-slide"),n.addClass("lg-next-slide")):(t.addClass("lg-next-slide"),n.addClass("lg-prev-slide")),setTimeout(function(){i.outer.find(".lg-item").removeClass("lg-current"),t.addClass("lg-current"),i.outer.removeClass("lg-no-trans")},50)},this.lGalleryOn?this.settings.slideDelay:0)},i.prototype.slide=function(e,t,n,i){var r=this,s=this.getPreviousSlideIndex();if(this.currentItemsInDom=this.organizeSlideItems(e,s),!this.lGalleryOn||s!==e){var a=this.galleryItems.length;if(!this.lgBusy){this.settings.counter&&this.updateCurrentCounter(e);var l=this.getSlideItem(e),c=this.getSlideItem(s),d=this.galleryItems[e],u=d.__slideVideoInfo;if(this.outer.attr("data-lg-slide-type",this.getSlideType(d)),this.setDownloadValue(e),u){var h=this.mediaContainerPosition,f=h.top,p=h.bottom,g=o(this.items[e],this.outer,f+p,u&&this.settings.videoMaxSize);this.resizeVideoSlide(e,g)}if(this.LGel.trigger(x,{prevIndex:s,index:e,fromTouch:!!t,fromThumb:!!n}),this.lgBusy=!0,clearTimeout(this.hideBarTimeout),this.arrowDisable(e),i||(e<s?i="prev":e>s&&(i="next")),t){this.outer.find(".lg-item").removeClass("lg-prev-slide lg-current lg-next-slide");var m=void 0,v=void 0;a>2?(m=e-1,v=e+1,(0===e&&s===a-1||e===a-1&&0===s)&&(v=0,m=a-1)):(m=0,v=1),"prev"===i?this.getSlideItem(v).addClass("lg-next-slide"):this.getSlideItem(m).addClass("lg-prev-slide"),l.addClass("lg-current")}else this.makeSlideAnimation(i,l,c);this.lGalleryOn?setTimeout(function(){r.loadContent(e,!0),".lg-item"!==r.settings.appendSubHtmlTo&&r.addHtml(e)},this.settings.speed+50+(t?0:this.settings.slideDelay)):this.loadContent(e,!0),setTimeout(function(){r.lgBusy=!1,c.removeClass("lg-slide-progress"),r.LGel.trigger(D,{prevIndex:s,index:e,fromTouch:t,fromThumb:n})},(this.lGalleryOn?this.settings.speed+100:100)+(t?0:this.settings.slideDelay))}this.index=e}},i.prototype.updateCurrentCounter=function(e){this.getElementById("lg-counter-current").html(e+1+"")},i.prototype.updateCounterTotal=function(){this.getElementById("lg-counter-all").html(this.galleryItems.length+"")},i.prototype.getSlideType=function(e){return e.__slideVideoInfo?"video":e.iframe?"iframe":"image"},i.prototype.touchMove=function(e,t,n){var i=t.pageX-e.pageX,r=t.pageY-e.pageY,o=!1;if(this.swipeDirection?o=!0:Math.abs(i)>15?(this.swipeDirection="horizontal",o=!0):Math.abs(r)>15&&(this.swipeDirection="vertical",o=!0),o){var s=this.getSlideItem(this.index);if("horizontal"===this.swipeDirection){null==n||n.preventDefault(),this.outer.addClass("lg-dragging"),this.setTranslate(s,i,0);var a=s.get().offsetWidth,l=15*a/100-Math.abs(10*i/100);this.setTranslate(this.outer.find(".lg-prev-slide").first(),-a+i-l,0),this.setTranslate(this.outer.find(".lg-next-slide").first(),a+i+l,0)}else if("vertical"===this.swipeDirection&&this.settings.swipeToClose){null==n||n.preventDefault(),this.$container.addClass("lg-dragging-vertical");var c=1-Math.abs(r)/window.innerHeight;this.$backdrop.css("opacity",c);var d=1-Math.abs(r)/(2*window.innerWidth);this.setTranslate(s,0,r,d,d),Math.abs(r)>100&&this.outer.addClass("lg-hide-items").removeClass("lg-components-open")}}},i.prototype.touchEnd=function(e,t,i){var r,o=this;"lg-slide"!==this.settings.mode&&this.outer.addClass("lg-slide"),setTimeout(function(){o.$container.removeClass("lg-dragging-vertical"),o.outer.removeClass("lg-dragging lg-hide-items").addClass("lg-components-open");var s=!0;if("horizontal"===o.swipeDirection){r=e.pageX-t.pageX;var a=Math.abs(e.pageX-t.pageX);r<0&&a>o.settings.swipeThreshold?(o.goToNextSlide(!0),s=!1):r>0&&a>o.settings.swipeThreshold&&(o.goToPrevSlide(!0),s=!1)}else if("vertical"===o.swipeDirection){if(r=Math.abs(e.pageY-t.pageY),o.settings.closable&&o.settings.swipeToClose&&r>
2100)return void o.closeGallery();o.$backdrop.css("opacity",1)}if(o.outer.find(".lg-item").removeAttr("style"),s&&Math.abs(e.pageX-t.pageX)<5){var l=n(i.target);o.isPosterElement(l)&&o.LGel.trigger(T)}o.swipeDirection=void 0}),setTimeout(function(){o.outer.hasClass("lg-dragging")||"lg-slide"===o.settings.mode||o.outer.removeClass("lg-slide")},this.settings.speed+100)},i.prototype.enableSwipe=function(){var e=this,t={},i={},r=!1,o=!1;this.settings.enableSwipe&&(this.$inner.on("touchstart.lg",function(i){e.dragOrSwipeEnabled=!0;var r=e.getSlideItem(e.index);!n(i.target).hasClass("lg-item")&&!r.get().contains(i.target)||e.outer.hasClass("lg-zoomed")||e.lgBusy||1!==i.targetTouches.length||(o=!0,e.touchAction="swipe",e.manageSwipeClass(),t={pageX:i.targetTouches[0].pageX,pageY:i.targetTouches[0].pageY})}),this.$inner.on("touchmove.lg",function(n){o&&"swipe"===e.touchAction&&1===n.targetTouches.length&&(i={pageX:n.targetTouches[0].pageX,pageY:n.targetTouches[0].pageY},e.touchMove(t,i,n),r=!0)}),this.$inner.on("touchend.lg",function(s){if("swipe"===e.touchAction){if(r)r=!1,e.touchEnd(i,t,s);else if(o){var a=n(s.target);e.isPosterElement(a)&&e.LGel.trigger(T)}e.touchAction=void 0,o=!1}}))},i.prototype.enableDrag=function(){var e=this,t={},i={},r=!1,o=!1;this.settings.enableDrag&&(this.outer.on("mousedown.lg",function(i){e.dragOrSwipeEnabled=!0;var o=e.getSlideItem(e.index);(n(i.target).hasClass("lg-item")||o.get().contains(i.target))&&(e.outer.hasClass("lg-zoomed")||e.lgBusy||(i.preventDefault(),e.lgBusy||(e.manageSwipeClass(),t={pageX:i.pageX,pageY:i.pageY},r=!0,e.outer.get().scrollLeft+=1,e.outer.get().scrollLeft-=1,e.outer.removeClass("lg-grab").addClass("lg-grabbing"),e.LGel.trigger(k))))}),n(window).on("mousemove.lg.global"+this.lgId,function(n){r&&e.lgOpened&&(o=!0,i={pageX:n.pageX,pageY:n.pageY},e.touchMove(t,i),e.LGel.trigger(_))}),n(window).on("mouseup.lg.global"+this.lgId,function(s){if(e.lgOpened){var a=n(s.target);o?(o=!1,e.touchEnd(i,t,s),e.LGel.trigger(M)):e.isPosterElement(a)&&e.LGel.trigger(T),r&&(r=!1,e.outer.removeClass("lg-grabbing").addClass("lg-grab"))}}))},i.prototype.triggerPosterClick=function(){var e=this;this.$inner.on("click.lg",function(t){!e.dragOrSwipeEnabled&&e.isPosterElement(n(t.target))&&e.LGel.trigger(T)})},i.prototype.manageSwipeClass=function(){var e=this.index+1,t=this.index-1;this.settings.loop&&this.galleryItems.length>2&&(0===this.index?t=this.galleryItems.length-1:this.index===this.galleryItems.length-1&&(e=0)),this.outer.find(".lg-item").removeClass("lg-next-slide lg-prev-slide"),t>-1&&this.getSlideItem(t).addClass("lg-prev-slide"),this.getSlideItem(e).addClass("lg-next-slide")},i.prototype.goToNextSlide=function(e){var t=this,n=this.settings.loop;e&&this.galleryItems.length<3&&(n=!1),this.lgBusy||(this.index+1<this.galleryItems.length?(this.index++,this.LGel.trigger(I,{index:this.index}),this.slide(this.index,!!e,!1,"next")):n?(this.index=0,this.LGel.trigger(I,{index:this.index}),this.slide(this.index,!!e,!1,"next")):this.settings.slideEndAnimation&&!e&&(this.outer.addClass("lg-right-end"),setTimeout(function(){t.outer.removeClass("lg-right-end")},400)))},i.prototype.goToPrevSlide=function(e){var t=this,n=this.settings.loop;e&&this.galleryItems.length<3&&(n=!1),this.lgBusy||(this.index>0?(this.index--,this.LGel.trigger(O,{index:this.index,fromTouch:e}),this.slide(this.index,!!e,!1,"prev")):n?(this.index=this.galleryItems.length-1,this.LGel.trigger(O,{index:this.index,fromTouch:e}),this.slide(this.index,!!e,!1,"prev")):this.settings.slideEndAnimation&&!e&&(this.outer.addClass("lg-left-end"),setTimeout(function(){t.outer.removeClass("lg-left-end")},400)))},i.prototype.keyPress=function(){var e=this;n(window).on("keydown.lg.global"+this.lgId,function(t){e.lgOpened&&!0===e.settings.escKey&&27===t.keyCode&&(t.preventDefault(),e.settings.allowMediaOverlap&&e.outer.hasClass("lg-can-toggle")&&e.outer.hasClass("lg-components-open")?e.outer.removeClass("lg-components-open"):e.closeGallery()),e.lgOpened&&e.galleryItems.length>1&&(37===t.keyCode&&(t.preventDefault(),e.goToPrevSlide()),39===t.keyCode&&(t.preventDefault(),e.goToNextSlide()))})},i.prototype.arrow=function(){var e=this;this.getElementById("lg-prev").on("click.lg",function(){e.goToPrevSlide()}),this.getElementById("lg-next").on("click.lg",function(){e.goToNextSlide()})},i.prototype.arrowDisable=function(e){if(!this.settings.loop&&this.settings.hideControlOnEnd){var t=this.getElementById("lg-prev"),n=this.getElementById("lg-next");e+1===this.galleryItems.length?n.attr("disabled","disabled").addClass("disabled"):n.removeAttr("disabled").removeClass("disabled"),0===e?t.attr("disabled","disabled").addClass("disabled"):t.removeAttr("disabled").removeClass("disabled")}},i.prototype.setTranslate=function(e,t,n,i,r){void 0===i&&(i=1),void 0===r&&(r=1),e.css("transform","translate3d("+t+"px, "+n+"px, 0px) scale3d("+i+", "+r+", 1)")},i.prototype.mousewheel=function(){var e=this,t=0;this.outer.on("wheel.lg",function(n){if(n.deltaY&&!(e.galleryItems.length<2)){n.preventDefault();var i=(new Date).getTime();i-t<1e3||(t=i,n.deltaY>0?e.goToNextSlide():n.deltaY<0&&e.goToPrevSlide())}})},i.prototype.isSlideElement=function(e){return e.hasClass("lg-outer")||e.hasClass("lg-item")||e.hasClass("lg-img-wrap")},i.prototype.isPosterElement=function(e){var t=this.getSlideItem(this.index).find(".lg-video-play-button").get();return e.hasClass("lg-video-poster")||e.hasClass("lg-video-play-button")||t&&t.contains(e.get())},i.prototype.toggleMaximize=function(){var e=this;this.getElementById("lg-maximize").on("click.lg",function(){e.$container.toggleClass("lg-inline"),e.refreshOnResize()})},i.prototype.invalidateItems=function(){for(var e=0;e<this.items.length;e++){var t=n(this.items[e]);t.off("click.lgcustom-item-"+t.attr("data-lg-id"))}},i.prototype.manageCloseGallery=function(){var e=this;if(this.settings.closable){var t=!1;this.getElementById("lg-close").on("click.lg",function(){e.closeGallery()}),this.settings.closeOnTap&&(this.outer.on("mousedown.lg",function(i){var r=n(i.target);t=!!e.isSlideElement(r)}),this.outer.on("mousemove.lg",function(){t=!1}),this.outer.on("mouseup.lg",function(i){var r=n(i.target);e.isSlideElement(r)&&t&&(e.outer.hasClass("lg-dragging")||e.closeGallery())}))}},i.prototype.closeGallery=function(e){var t=this;if(!this.lgOpened||!this.settings.closable&&!e)return 0;this.LGel.trigger(R),n(window).scrollTop(this.prevScrollTop);var i,r=this.items[this.index];if(this.zoomFromOrigin&&r){var a=this.mediaContainerPosition,l=a.top,c=a.bottom,d=this.galleryItems[this.index],u=d.__slideVideoInfo,h=d.poster,f=o(r,this.outer,l+c,u&&h&&this.settings.videoMaxSize);i=s(r,this.outer,l,c,f)}this.zoomFromOrigin&&i?(this.outer.addClass("lg-closing lg-zoom-from-image"),this.get
2SlideItem(this.index).addClass("lg-start-end-progress").css("transition-duration",this.settings.startAnimationDuration+"ms").css("transform",i)):(this.outer.addClass("lg-hide-items"),this.outer.removeClass("lg-zoom-from-image")),this.destroyModules(),this.lGalleryOn=!1,this.isDummyImageRemoved=!1,this.zoomFromOrigin=this.settings.zoomFromOrigin,clearTimeout(this.hideBarTimeout),this.hideBarTimeout=!1,n("html").removeClass("lg-on"),this.outer.removeClass("lg-visible lg-components-open"),this.$backdrop.removeClass("in").css("opacity",0);var p=this.zoomFromOrigin&&i?Math.max(this.settings.startAnimationDuration,this.settings.backdropDuration):this.settings.backdropDuration;return this.$container.removeClass("lg-show-in"),setTimeout(function(){t.zoomFromOrigin&&i&&t.outer.removeClass("lg-zoom-from-image"),t.$container.removeClass("lg-show"),t.$backdrop.removeAttr("style").css("transition-duration",t.settings.backdropDuration+"ms"),t.outer.removeClass("lg-closing "+t.settings.startClass),t.getSlideItem(t.index).removeClass("lg-start-end-progress"),t.$inner.empty(),t.lgOpened&&t.LGel.trigger(N,{instance:t}),t.outer.get()&&t.outer.get().blur(),t.lgOpened=!1},p+100),p+100},i.prototype.initModules=function(){this.plugins.forEach(function(e){try{e.init()}catch(e){console.warn("lightGallery:- make sure lightGallery module is properly initiated")}})},i.prototype.destroyModules=function(e){this.plugins.forEach(function(t){try{e?t.destroy():t.closeGallery&&t.closeGallery()}catch(e){console.warn("lightGallery:- make sure lightGallery module is properly destroyed")}})},i.prototype.refresh=function(e){this.settings.dynamic||this.invalidateItems(),this.galleryItems=e||this.getItems(),this.updateControls(),this.openGalleryOnItemClick(),this.LGel.trigger(w)},i.prototype.updateControls=function(){this.addSlideVideoInfo(this.galleryItems),this.updateCounterTotal(),this.manageSingleSlideClassName()},i.prototype.destroy=function(){var e=this,t=this.closeGallery(!0);return setTimeout(function(){e.destroyModules(!0),e.settings.dynamic||e.invalidateItems(),n(window).off(".lg.global"+e.lgId),e.LGel.off(".lg"),e.$container.remove()},t),t},i}();return function(e,t){return new L(e,t)}},"object"===s(t)?e.exports=o():void 0===(r="function"==typeof(i=o)?i.call(t,n,t,e):i)||(e.exports=r)},8439:(e,t,n)=>{"use strict";var i=n(7305),r=n(6808),o=n(3655),s=n(7623),a=i("%Map%",!0),l=r("Map.prototype.get",!0),c=r("Map.prototype.set",!0),d=r("Map.prototype.has",!0),u=r("Map.prototype.delete",!0),h=r("Map.prototype.size",!0);e.exports=!!a&&function(){var e,t={assert:function(e){if(!t.has(e))throw new s("Side channel does not contain "+o(e))},delete:function(t){if(e){var n=u(e,t);return 0===h(e)&&(e=void 0),n}return!1},get:function(t){if(e)return l(e,t)},has:function(t){return!!e&&d(e,t)},set:function(t,n){e||(e=new a),c(e,t,n)}};return t}},8858:(e,t,n)=>{var i;!function(e){var t,n,i,r,o,s,a,l=navigator.userAgent;e.HTMLPictureElement&&/ecko/.test(l)&&l.match(/rv\:(\d+)/)&&RegExp.$1<45&&addEventListener("resize",(n=document.createElement("source"),i=function(e){var t,i,r=e.parentNode;"PICTURE"===r.nodeName.toUpperCase()?(t=n.cloneNode(),r.insertBefore(t,r.firstElementChild),setTimeout(function(){r.removeChild(t)})):(!e._pfLastSize||e.offsetWidth>e._pfLastSize)&&(e._pfLastSize=e.offsetWidth,i=e.sizes,e.sizes+=",100vw",setTimeout(function(){e.sizes=i}))},r=function(){var e,t=document.querySelectorAll("picture > img, img[srcset][sizes]");for(e=0;e<t.length;e++)i(t[e])},o=function(){clearTimeout(t),t=setTimeout(r,99)},s=e.matchMedia&&matchMedia("(orientation: landscape)"),a=function(){o(),s&&s.addListener&&s.addListener(o)},n.srcset="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",/^[c|i]|d$/.test(document.readyState||"")?a():document.addEventListener("DOMContentLoaded",a),o))}(window),function(r,o,s){"use strict";var a,l,c;o.createElement("picture");var d={},u=!1,h=function(){},f=o.createElement("img"),p=f.getAttribute,g=f.setAttribute,m=f.removeAttribute,v=o.documentElement,y={},b={algorithm:""},w="data-pfsrc",S=w+"set",C=navigator.userAgent,E=/rident/.test(C)||/ecko/.test(C)&&C.match(/rv\:(\d+)/)&&RegExp.$1>35,A="currentSrc",x=/\s+\+?\d+(e\d+)?w/,D=/(\([^)]+\))?\s*(.+)/,T=r.picturefillCFG,k="font-size:100%!important;",_=!0,M={},I={},O=r.devicePixelRatio,R={px:1,in:96},N=o.createElement("a"),P=!1,L=/^[ \t\n\r\u000c]+/,j=/^[, \t\n\r\u000c]+/,H=/^[^ \t\n\r\u000c]+/,z=/[,]+$/,F=/^\d+$/,B=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,W=function(e,t,n,i){e.addEventListener?e.addEventListener(t,n,i||!1):e.attachEvent&&e.attachEvent("on"+t,n)},$=function(e){var t={};return function(n){return n in t||(t[n]=e(n)),t[n]}};function q(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}var U,G,V,Y,Q,X,Z,J,K,ee,te,ne,ie,re,oe,se,ae=(U=/^([\d\.]+)(em|vw|px)$/,G=$(function(e){return"return "+function(){for(var e=arguments,t=0,n=e[0];++t in e;)n=n.replace(e[t],e[++t]);return n}((e||"").toLowerCase(),/\band\b/g,"&&",/,/g,"||",/min-([a-z-\s]+):/g,"e.$1>=",/max-([a-z-\s]+):/g,"e.$1<=",/calc([^)]+)/g,"($1)",/(\d+[\.]*[\d]*)([a-z]+)/g,"($1 * e.$2)",/^(?!(e.[a-z]|[0-9\.&=|><\+\-\*\(\)\/])).*/gi,"")+";"}),function(e,t){var n;if(!(e in M))if(M[e]=!1,t&&(n=e.match(U)))M[e]=n[1]*R[n[2]];else try{M[e]=new Function("e",G(e))(R)}catch(e){}return M[e]}),le=function(e,t){return e.w?(e.cWidth=d.calcListLength(t||"100vw"),e.res=e.w/e.cWidth):e.res=e.d,e},ce=function(e){if(u){var t,n,i,r=e||{};if(r.elements&&1===r.elements.nodeType&&("IMG"===r.elements.nodeName.toUpperCase()?r.elements=[r.elements]:(r.context=r.elements,r.elements=null)),i=(t=r.elements||d.qsa(r.context||o,r.reevaluate||r.reselect?d.sel:d.selShort)).length){for(d.setupRun(r),P=!0,n=0;n<i;n++)d.fillImg(t[n],r);d.teardownRun(r)}}};function de(e,t,n,i){var r,o,s;return"saveData"===b.algorithm?e>2.7?s=n+1:(o=(t-n)*(r=Math.pow(e-.6,1.5)),i&&(o+=.1*r),s=e+o):s=n>1?Math.sqrt(e*t):e,s>n}function ue(e,t){return e.res-t.res}function he(e,t){var n,i,r;if(e&&t)for(r=d.parseSet(t),e=d.makeUrl(e),n=0;n<r.length;n++)if(e===d.makeUrl(r[n].url)){i=r[n];break}return i}r.console&&console.warn,A in f||(A="src"),y["image/jpeg"]=!0,y["image/gif"]=!0,y["image/png"]=!0,y["image/svg+xml"]=o.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1"),d.ns=("pf"+(new Date).getTime()).substr(0,9),d.supSrcset="srcset"in f,d.supSizes="sizes"in f,d.supPicture=!!r.HTMLPictureElement,d.supSrcset&&d.supPicture&&!d.supSizes&&(V=o.createElement("img"),f.srcset="data:,a",V.src="data:,a",d.supSrcset=f.complete===V.complete,d.supPicture=d.supSrcset&&d.supPicture),d.supSrcset&&!d.supSizes?(Y="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",Q=o.createElement("img"),X=function(){2===Q.width&&(d.supSizes=!0),l=d.supSrcset&&!d.supSizes,u=!0,setTimeout(ce)},Q.onload=X,Q.onerror=X,Q.setAttribute("sizes","9px"),Q.srcset=Y+" 1w,data:image/gif;base64,R0lGODlhAgABAPAAAP///wAAACH5BAAAAAAALAAAAAACAAEAAAICBAoAOw== 9w",Q.src=Y):u=!0,d.selShort="picture>img,img[srcset]",d.sel=d.selShort,d.cfg=b,d.DPR=O||1,d.u=R,d.types=y,d.setSize=h,d.makeUrl=$
2(function(e){return N.href=e,N.href}),d.qsa=function(e,t){return"querySelector"in e?e.querySelectorAll(t):[]},d.matchesMedia=function(){return r.matchMedia&&(matchMedia("(min-width: 0.1em)")||{}).matches?d.matchesMedia=function(e){return!e||matchMedia(e).matches}:d.matchesMedia=d.mMQ,d.matchesMedia.apply(this,arguments)},d.mMQ=function(e){return!e||ae(e)},d.calcLength=function(e){var t=ae(e,!0)||!1;return t<0&&(t=!1),t},d.supportsType=function(e){return!e||y[e]},d.parseSize=$(function(e){var t=(e||"").match(D);return{media:t&&t[1],length:t&&t[2]}}),d.parseSet=function(e){return e.cands||(e.cands=function(e,t){function n(t){var n,i=t.exec(e.substring(c));if(i)return n=i[0],c+=n.length,n}var i,r,o,s,a,l=e.length,c=0,d=[];function u(){var e,n,o,s,a,l,c,u,h,f=!1,p={};for(s=0;s<r.length;s++)l=(a=r[s])[a.length-1],c=a.substring(0,a.length-1),u=parseInt(c,10),h=parseFloat(c),F.test(c)&&"w"===l?((e||n)&&(f=!0),0===u?f=!0:e=u):B.test(c)&&"x"===l?((e||n||o)&&(f=!0),h<0?f=!0:n=h):F.test(c)&&"h"===l?((o||n)&&(f=!0),0===u?f=!0:o=u):f=!0;f||(p.url=i,e&&(p.w=e),n&&(p.d=n),o&&(p.h=o),o||n||e||(p.d=1),1===p.d&&(t.has1x=!0),p.set=t,d.push(p))}function h(){for(n(L),o="",s="in descriptor";;
2){if(a=e.charAt(c),"in descriptor"===s)if(q(a))o&&(r.push(o),o="",s="after descriptor");else{if(","===a)return c+=1,o&&r.push(o),void u();if("("===a)o+=a,s="in parens";else{if(""===a)return o&&r.push(o),void u();o+=a}}else if("in parens"===s)if(")"===a)o+=a,s="in descriptor";else{if(""===a)return r.push(o),void u();o+=a}else if("after descriptor"===s)if(q(a));else{if(""===a)return void u();s="in descriptor",c-=1}c+=1}}for(;;){if(n(j),c>=l)return d;i=n(H),r=[],","===i.slice(-1)?(i=i.replace(z,""),u()):h()}}(e.srcset,e)),e.cands},d.getEmValue=function(){var e;if(!a&&(e=o.body)){var t=o.createElement("div"),n=v.style.cssText,i=e.style.cssText;t.style.cssText="position:absolute;left:0;visibility:hidden;display:block;padding:0;border:none;font-size:1em;width:1em;overflow:hidden;clip:rect(0px, 0px, 0px, 0px)",v.style.cssText=k,e.style.cssText=k,e.appendChild(t),a=t.offsetWidth,e.removeChild(t),a=parseFloat(a,10),v.style.cssText=n,e.style.cssText=i}return a||16},d.calcListLength=function(e){if(!(e in I)||b.uT){var t=d.calcLength(function(e){var t,n,i,r,o,s,a=/^(?:[+-]?[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?(?:ch|cm|em|ex|in|mm|pc|pt|px|rem|vh|vmin|vmax|vw)$/i,l=/^calc\((?:[0-9a-z \.\+\-\*\/\(\)]+)\)$/i;function c(e){return!!(a.test(e)&&parseFloat(e)>=0)||!!l.test(e)||"0"===e||"-0"===e||"+0"===e}for(i=(n=function(e){var t,n="",i=[],r=[],o=0,s=0,a=!1;function l(){n&&(i.push(n),n="")}function c(){i[0]&&(r.push(i),i=[])}for(;;){if(""===(t=e.charAt(s)))return l(),c(),r;if(a){if("*"===t&&"/"===e[s+1]){a=!1,s+=2,l();continue}s+=1}else{if(q(t)){if(e.charAt(s-1)&&q(e.charAt(s-1))||!n){s+=1;continue}if(0===o){l(),s+=1;continue}t=" "}else if("("===t)o+=1;else if(")"===t)o-=1;else{if(","===t){l(),c(),s+=1;continue}if("/"===t&&"*"===e.charAt(s+1)){a=!0,s+=2;continue}}n+=t,s+=1}}}(e)).length,t=0;t<i;t++)if(c(o=(r=n[t])[r.length-1])){if(s=o,r.pop(),0===r.length)return s;if(r=r.join(" "),d.matchesMedia(r))return s}return"100vw"}(e));I[e]=t||R.width}return I[e]},d.setRes=function(e){var t;if(e)for(var n=0,i=(t=d.parseSet(e)).length;n<i;n++)le(t[n],e.sizes);return t},d.setRes.res=le,d.applySetCandidate=function(e,t){if(e.length){var n,i,r,o,s,a,l,c,u,h=t[d.ns],f=d.DPR;if(a=h.curSrc||t[A],l=h.curCan||function(e,t,n){var i;return!n&&t&&(n=(n=e[d.ns].sets)&&n[n.length-1]),(i=he(t,n))&&(t=d.makeUrl(t),e[d.ns].curSrc=t,e[d.ns].curCan=i,i.res||le(i,i.set.sizes)),i}(t,a,e[0].set),l&&l.set===e[0].set&&((u=E&&!t.complete&&l.res-.1>f)||(l.cached=!0,l.res>=f&&(s=l))),!s)for(e.sort(ue),s=e[(o=e.length)-1],i=0;i<o;i++)if((n=e[i]).res>=f){s=e[r=i-1]&&(u||a!==d.makeUrl(n.url))&&de(e[r].res,n.res,f,e[r].cached)?e[r]:n;break}s&&(c=d.makeUrl(s.url),h.curSrc=c,h.curCan=s,c!==a&&d.setSrc(t,s),d.setSize(t))}},d.setSrc=function(e,t){var n;e.src=t.url,"image/svg+xml"===t.set.type&&(n=e.style.width,e.style.width=e.offsetWidth+1+"px",e.offsetWidth+1&&(e.style.width=n))},d.getSet=function(e){var t,n,i,r=!1,o=e[d.ns].sets;for(t=0;t<o.length&&!r;t++)if((n=o[t]).srcset&&d.matchesMedia(n.media)&&(i=d.supportsType(n.type))){"pending"===i&&(n=i),r=n;break}return r},d.parseSets=function(e,t,n){var i,r,o,a,c=t&&"PICTURE"===t.nodeName.toUpperCase(),u=e[d.ns];(u.src===s||n.src)&&(u.src=p.call(e,"src"),u.src?g.call(e,w,u.src):m.call(e,w)),(u.srcset===s||n.srcset||!d.supSrcset||e.srcset)&&(i=p.call(e,"srcset"),u.srcset=i,a=!0),u.sets=[],c&&(u.pic=!0,function(e,t){var n,i,r,o,s=e.getElementsByTagName("source");for(n=0,i=s.length;n<i;n++)(r=s[n])[d.ns]=!0,(o=r.getAttribute("srcset"))&&t.push({srcset:o,media:r.getAttribute("media"),type:r.getAttribute("type"),sizes:r.getAttribute("sizes")})}(t,u.sets)),u.srcset?(r={srcset:u.srcset,sizes:p.call(e,"sizes")},u.sets.push(r),(o=(l||u.src)&&x.test(u.srcset||""))||!u.src||he(u.src,r)||r.has1x||(r.srcset+=", "+u.src,r.cands.push({url:u.src,d:1,set:r}))):u.src&&u.sets.push({srcset:u.src,sizes:null}),u.curCan=null,u.curSrc=s,u.supported=!(c||r&&!d.supSrcset||o&&!d.supSizes),a&&d.supSrcset&&!u.supported&&(i?(g.call(e,S,i),e.srcset=""):m.call(e,S)),u.supported&&!u.srcset&&(!u.src&&e.src||e.src!==d.makeUrl(u.src))&&(null===u.src?e.removeAttribute("src"):e.src=u.src),u.parsed=!0},d.fillImg=function(e,t){var n,i=t.reselect||t.reevaluate;e[d.ns]||(e[d.ns]={}),n=e[d.ns],(i||n.evaled!==c)&&(n.parsed&&!t.reevaluate||d.parseSets(e,e.parentNode,t),n.supported?n.evaled=c:function(e){var t,n=d.getSet(e),i=!1;
2"pending"!==n&&(i=c,n&&(t=d.setRes(n),d.applySetCandidate(t,e))),e[d.ns].evaled=i}(e))},d.setupRun=function(){P&&!_&&O===r.devicePixelRatio||(_=!1,O=r.devicePixelRatio,M={},I={},d.DPR=O||1,R.width=Math.max(r.innerWidth||0,v.clientWidth),R.height=Math.max(r.innerHeight||0,v.clientHeight),R.vw=R.width/100,R.vh=R.height/100,c=[R.height,R.width,O].join("-"),R.em=d.getEmValue(),R.rem=R.em)},d.supPicture?(ce=h,d.fillImg=h):(ie=r.attachEvent?/d$|^c/:/d$|^c|^i/,re=function(){var e=o.readyState||"";oe=setTimeout(re,"loading"===e?200:999),o.body&&(d.fillImgs(),(Z=Z||ie.test(e))&&clearTimeout(oe))},oe=setTimeout(re,o.body?9:99),se=v.clientHeight,W(r,"resize",(J=function(){_=Math.max(r.innerWidth||0,v.clientWidth)!==R.width||v.clientHeight!==se,se=v.clientHeight,_&&d.fillImgs()},K=99,ne=function(){var e=new Date-te;e<K?ee=setTimeout(ne,K-e):(ee=null,J())},function(){te=new Date,ee||(ee=setTimeout(ne,K))})),W(o,"readystatechange",re)),d.picturefill=ce,d.fillImgs=ce,d.teardownRun=h,ce._=d,r.picturefillCFG={pf:d,push:function(e){var t=e.shift();"function"==typeof d[t]?d[t].apply(d,e):(b[t]=e[0],P&&d.fillImgs({reselect:!0}))}};for(;T&&T.length;)r.picturefillCFG.push(T.shift());r.picturefill=ce,"object"==typeof e.exports?e.exports=ce:(i=function(){return ce}.call(t,n,t,e))===s||(e.exports=i),d.supPicture||(y["image/webp"]=function(e,t){var n=new r.Image;return n.onerror=function(){y[e]=!1,ce()},n.onload=function(){y[e]=1===n.width,ce()},n.src=t,"pending"}("image/webp","data:image/webp;base64,UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAABBxAR/Q9ERP8DAABWUDggGAAAADABAJ0BKgEAAQADADQlpAADcAD++/1QAA=="))}(window,document)},9340:e=>{"use strict";e.exports=Math.pow},9502:function(e,t){!function(e){"use strict";var t="undefined"!=typeof window&&void 0!==window.flatpickr?window.flatpickr:{l10ns:{}},n={firstDayOfWeek:1,weekdays:{shorthand:["dim","lun","mar","mer","jeu","ven","sam"],longhand:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},months:{shorthand:["janv","févr","mars","avr","mai","juin","juil","août","sept","oct","nov","déc"],longhand:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},ordinal:function(e){return e>1?"":"er"},rangeSeparator:" au ",weekAbbreviation:"Sem",scrollTitle:"Défiler pour augmenter la valeur",toggleTitle:"Cliquer pour basculer",time_24hr:!0};t.l10ns.fr=n;var i=t.l10ns;e.French=n,e.default=i,Object.defineProperty(e,"__esModule",{value:!0})}(t)},9569:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(var i in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},9574:e=>{"use strict";e.exports=Math.min},9603:(e,t,n)=>{"use strict";var i="undefined"!=typeof Symbol&&Symbol,r=n(9569);e.exports=function(){return"function"==typeof i&&("function"==typeof Symbol&&("symbol"==typeof i("foo")&&("symbol"==typeof Symbol("bar")&&r())))}},9798:function(e,t,n){var i,r,o;function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}o=function(){"use strict";var e=function(){return e=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},e.apply(this,arguments)},t={thumbnail:!0,animateThumb:!0,currentPagerPosition:"middle",alignThumbnails:"middle",thumbWidth:100,thumbHe
2ight:"80px",thumbMargin:5,appendThumbnailsTo:".lg-components",toggleThumb:!1,enableThumbDrag:!0,enableThumbSwipe:!0,thumbnailSwipeThreshold:10,loadYouTubeThumbnail:!0,youTubeThumbSize:1},n="lgContainerResize",i="lgUpdateSlides",r="lgBeforeOpen",o="lgBeforeSlide";return function(){function s(e,t){return this.thumbOuterWidth=0,this.thumbTotalWidth=0,this.translateX=0,this.thumbClickable=!1,this.core=e,this.$LG=t,this}return s.prototype.init=function(){this.settings=e(e({},t),this.core.settings),this.thumbOuterWidth=0,this.thumbTotalWidth=this.core.galleryItems.length*(this.settings.thumbWidth+this.settings.thumbMargin),this.translateX=0,this.setAnimateThumbStyles(),this.core.settings.allowMediaOverlap||(this.settings.toggleThumb=!1),this.settings.thumbnail&&(this.build(),this.settings.animateThumb?(this.settings.enableThumbDrag&&this.enableThumbDrag(),this.settings.enableThumbSwipe&&this.enableThumbSwipe(),this.thumbClickable=!1):this.thumbClickable=!0,this.toggleThumbBar(),this.thumbKeyPress())},s.prototype.build=function(){var e=this;this.setThumbMarkup(),this.manageActiveClassOnSlideChange(),this.$lgThumb.first().on("click.lg touchend.lg",function(t){var n=e.$LG(t.target);n.hasAttribute("data-lg-item-id")&&setTimeout(function(){if(e.thumbClickable&&!e.core.lgBusy){var t=parseInt(n.attr("data-lg-item-id"));e.core.slide(t,!1,!0,!1)}},50)}),this.core.LGel.on(o+".thumb",function(t){var n=t.detail.index;e.animateThumb(n)}),this.core.LGel.on(r+".thumb",function(){e.thumbOuterWidth=e.core.outer.get().offsetWidth}),this.core.LGel.on(i+".thumb",function(){e.rebuildThumbnails()}),this.core.LGel.on(n+".thumb",function(){e.core.lgOpened&&setTimeout(function(){e.thumbOuterWidth=e.core.outer.get().offsetWidth,e.animateThumb(e.core.index),e.thumbOuterWidth=e.core.outer.get().offsetWidth},50)})},s.prototype.setThumbMarkup=function(){var e="lg-thumb-outer ";this.settings.alignThumbnails&&(e+="lg-thumb-align-"+this.settings.alignThumbnails);var t='<div class="'+e+'">\n <div class="lg-thumb lg-group">\n </div>\n </div>';this.core.outer.addClass("lg-has-thumb"),".lg-components"===this.settings.appendThumbnailsTo?this.core.$lgComponents.append(t):this.core.outer.append(t),this.$thumbOuter=this.core.outer.find(".lg-thumb-outer").first(),this.$lgThumb=this.core.outer.find(".lg-thumb").first(),this.settings.animateThumb&&this.core.outer.find(".lg-thumb").css("transition-duration",this.core.settings.speed+"ms").css("width",this.thumbTotalWidth+"px").css("position","relative"),this.setThumbItemHtml(this.core.galleryItems)},s.prototype.enableThumbDrag=function(){var e=this,t={cords:{startX:0,endX:0},isMoved:!1,newTranslateX:0,startTime:new Date,endTime:new Date,touchMoveTime:0},n=!1;this.$thumbOuter.addClass("lg-grab"),this.core.outer.find(".lg-thumb").first().on("mousedown.lg.thumb",function(i){e.thumbTotalWidth>e.thumbOuterWidth&&(i.preventDefault(),t.cords.startX=i.pageX,t.startTime=new Date,e.thumbClickable=!1,n=!0,e.core.outer.get().scrollLeft+=1,e.core.outer.get().scrollLeft-=1,e.$thumbOuter.removeClass("lg-grab").addClass("lg-grabbing"))}),this.$LG(window).on("mousemove.lg.thumb.global"+this.core.lgId,function(i){e.core.lgOpened&&n&&(t.cords.endX=i.pageX,t=e.onThumbTouchMove(t))}),this.$LG(window).on("mouseup.lg.thumb.global"+this.core.lgId,function(){e.core.lgOpened&&(t.isMoved?t=e.onThumbTouchEnd(t):e.thumbClickable=!0,n&&(n=!1,e.$thumbOuter.removeClass("lg-grabbing").addClass("lg-grab")))})},s.prototype.enableThumbSwipe=function(){var e=this,t={cords:{startX:0,endX:0},isMoved:!1,newTranslateX:0,startTime:new Date,endTime:new Date,touchMoveTime:0};this.$lgThumb.on("touchstart.lg",function(n){e.thumbTotalWidth>e.thumbOuterWidth&&(n.preventDefault(),t.cords.startX=n.targetTouches[0].pageX,e.thumbClickable=!1,t.startTime=new Date)}),this.$lgThumb.on("touchmove.lg",function(n){e.thumbTotalWidth>e.thumbOuterWidth&&(n.preventDefault(),t.cords.endX=n.targetTouches[0].pageX,t=e.onThumbTouchMove(t))}),this.$lgThumb.on("touchend.lg",function(){t.isMoved?t=e.onThumbTouchEnd(t):e.thumbClickable=!0})},s.prototype.rebuildThumbnails=function(){var e=this;this.$thumbOuter.addClass("lg-rebuilding-thumbnails"),setTimeout(function(){e.thumbTotalWidth=e.core.galleryItems.length*(e.settings.thumbWidth+e.settings.thumbMargin),e.$lgThumb.css("width",e.thumbTotalWidth+"px"),e.$lgThumb.empty(),e.setThumbItemHtml(e.core.galleryItems),e.animateThumb(e.core.index)},50),setTimeout(function(){e.$thumbOuter.removeClass("lg-rebuilding-thumbnails")},200)},s.prototype.setTranslate=function(e){this.$lgThumb.css("transform","translate3d(-"+e+"px, 0px, 0px)")},s.prototype.getPossibleTransformX=function(e){return e>this.thumbTotalWidth-this.thumbOuterWidth&&(e=this.thumbTotalWidth-this.thumbOuterWidth),e<0&&(e=0),e},s.prototype.animateThumb=function(e){if(this.$lgThumb.css("transition-duration",this.core.settings.speed+"ms"),this.settings.animateThumb){var t=0;switch(this.settings.currentPagerPosition){case"left":t=0;break;case"middle":t=this.thumbOuterWidth/2-this.settings.thumbWidth/2;break;case"right":t=this.thumbOuterWidth-this.settings.thumbWidth}this.translateX=(this.settings.thumbWidth+this.settings.thumbMargin)*e-1-t,this.translateX>this.thumbTotalWidth-this.thumbOuterWidth&&(this.translateX=this.thumbTotalWidth-this.thumbOuterWidth),this.translateX<0&&(this.translateX=0),this.setTranslate(this.translateX)}},s.prototype.onThumbTouchMove=function(e){return e.newTranslateX=this.translateX,e.
2isMoved=!0,e.touchMoveTime=(new Date).valueOf(),e.newTranslateX-=e.cords.endX-e.cords.startX,e.newTranslateX=this.getPossibleTransformX(e.newTranslateX),this.setTranslate(e.newTranslateX),this.$thumbOuter.addClass("lg-dragging"),e},s.prototype.onThumbTouchEnd=function(e){e.isMoved=!1,e.endTime=new Date,this.$thumbOuter.removeClass("lg-dragging");var t=e.endTime.valueOf()-e.startTime.valueOf(),n=e.cords.endX-e.cords.startX,i=Math.abs(n)/t;return i>.15&&e.endTime.valueOf()-e.touchMoveTime<30?((i+=1)>2&&(i+=1),i+=i*(Math.abs(n)/this.thumbOuterWidth),this.$lgThumb.css("transition-duration",Math.min(i-1,2)+"settings"),n*=i,this.translateX=this.getPossibleTransformX(this.translateX-n),this.setTranslate(this.translateX)):this.translateX=e.newTranslateX,Math.abs(e.cords.endX-e.cords.startX)<this.settings.thumbnailSwipeThreshold&&(this.thumbClickable=!0),e},s.prototype.getThumbHtml=function(e,t){var n,i=this.core.galleryItems[t].__slideVideoInfo||{};n=i.youtube&&this.settings.loadYouTubeThumbnail?"//img.youtube.com/vi/"+i.youtube[1]+"/"+this.settings.youTubeThumbSize+".jpg":e;var r=document.querySelector(".js-image-lightgallery[data-indexlight='"+t+"']").getAttribute("alt");return'<div data-lg-item-id="'+t+'" class="lg-thumb-item '+(t===this.core.index?" active":"")+'" \n style="width:'+this.settings.thumbWidth+"px; height: "+this.settings.thumbHeight+";\n margin-right: "+this.settings.thumbMargin+'px;">\n <img data-lg-item-id="'+t+'" src="'+n+'" alt="'+r+'" />\n </div>'},s.prototype.getThumbItemHtml=function(e){for(var t="",n=0;n<e.length;n++)t+=this.getThumbHtml(e[n].thumb,n);return t},s.prototype.setThumbItemHtml=function(e){var t=this.getThumbItemHtml(e);this.$lgThumb.html(t)},s.prototype.setAnimateThumbStyles=function(){this.settings.animateThumb&&this.core.outer.addClass("lg-animate-thumb")},s.prototype.manageActiveClassOnSlideChange=function(){var e=this;this.core.LGel.on(o+".thumb",function(t){var n=e.core.outer.find(".lg-thumb-item"),i=t.detail.index;n.removeClass("active"),n.eq(i).addClass("active")})},s.prototype.toggleThumbBar=function(){var e=this;this.settings.toggleThumb&&(this.core.outer.addClass("lg-can-toggle"),this.core.$toolbar.append('<button type="button" aria-label="Toggle thumbnails" class="lg-toggle-thumb lg-icon"></button>'),this.core.outer.find(".lg-toggle-thumb").first().on("click.lg",function(){e.core.outer.toggleClass("lg-components-open")}))},s.prototype.thumbKeyPress=function(){var e=this;this.$LG(window).on("keydown.lg.thumb.global"+this.core.lgId,function(t){e.core.lgOpened&&e.settings.toggleThumb&&(38===t.keyCode?(t.preventDefault(),e.core.outer.addClass("lg-components-open")):40===t.keyCode&&(t.preventDefault(),e.core.outer.removeClass("lg-components-open")))})},s.prototype.destroy=function(){this.settings.thumbnail&&(this.$LG(window).off(".lg.thumb.global"+this.core.lgId),this.core.LGel.off(".lg.thumb"),this.core.LGel.off(".thumb"),this.$thumbOuter.remove(),this.core.outer.removeClass("lg-has-thumb"))},s}()},"object"===s(t)?e.exports=o():void 0===(r="function"==typeof(i=o)?i.call(t,n,t,e):i)||(e.exports=r)},9944:(e,t,n)=>{"use strict";var i=n(1604),r=n(6412),o=n(4537),s=Object.prototype.hasOwnProperty,a={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,c=Array.prototype.push,d=function(e,t){c.apply(e,l(t)?t:[t])},u=Date.prototype.toISOString,h=o.default,f={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:r.encode,encodeValuesOnly:!1,filter:void 0,format:h,formatter:o.formatters[h],indices:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},p={},g=function e(t,n,o,s,a,c,u,h,g,m,v,y,b,w,S,C,E,A){for(var x,D=t,T=A,k=0,_=!1;void 0!==(T=T.get(p))&&!_;){var M=T.get(t);if(k+=1,void 0!==M){if(M===k)throw new RangeError("Cyclic object value");_=!0}void 0===T.get(p)&&(k=0)}if("function"==typeof m?D=m(n,D):D instanceof Date?D=b(D):"comma"===o&&l(D)&&(D=r.maybeMap(D,function(e){return e instanceof Date?b(e):e})),null===D){if(c)return g&&!C?g(n,f.encoder,E,"key",w):n;D=""}if("string"==typeof(x=D)||"number"==typeof x||"boolean"==typeof x||"symbol"==typeof x||"bigint"==typeof x||r.isBuffer(D))return g?[S(C?n:g(n,f.encoder,E,"key",w))+"="+S(g(D,f.encoder,E,"value",w))]:[S(n)+"="+S(String(D))];var I,O=[];if(void 0===D)return O;if("comma"===o&&l(D))C&&g&&(D=r.maybeMap(D,g)),I=[{value:D.length>0?D.join(",")||null:void 0}];else if(l(m))I=m;else{var R=Object.keys(D);I=v?R.sort(v):R}var N=h?String(n).replace(/\./g,"%2E"):String(n),P=s&&l(D)&&1===D.length?N+"[]":N;
2if(a&&l(D)&&0===D.length)return P+"[]";for(var L=0;L<I.length;++L){var j=I[L],H="object"==typeof j&&j&&void 0!==j.value?j.value:D[j];if(!u||null!==H){var z=y&&h?String(j).replace(/\./g,"%2E"):String(j),F=l(D)?"function"==typeof o?o(P,z):P:P+(y?"."+z:"["+z+"]");A.set(t,k);var B=i();B.set(p,A),d(O,e(H,F,o,s,a,c,u,h,"comma"===o&&C&&l(D)?null:g,m,v,y,b,w,S,C,E,B))}}return O};e.exports=function(e,t){var n,r=e,c=function(e){if(!e)return f;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||f.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o.default;if(void 0!==e.format){if(!s.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var i,r=o.formatters[n],c=f.filter;if(("function"==typeof e.filter||l(e.filter))&&(c=e.filter),i=e.arrayFormat in a?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":f.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var d=void 0===e.allowDots?!0===e.encodeDotInKeys||f.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:f.addQueryPrefix,allowDots:d,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:f.allowEmptyArrays,arrayFormat:i,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:f.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:void 0===e.delimiter?f.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:f.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:f.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:f.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:f.encodeValuesOnly,filter:c,format:n,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:f.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:f.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:f.strictNullHandling}}(t);"function"==typeof c.filter?r=(0,c.filter)("",r):l(c.filter)&&(n=c.filter);var u=[];if("object"!=typeof r||null===r)return"";var h=a[c.arrayFormat],p="comma"===h&&c.commaRoundTrip;n||(n=Object.keys(r)),c.sort&&n.sort(c.sort);for(var m=i(),v=0;v<n.length;++v){var y=n[v],b=r[y];c.skipNulls&&null===b||d(u,g(b,y,h,p,c.allowEmptyArrays,c.strictNullHandling,c.skipNulls,c.encodeDotInKeys,c.encode?c.encoder:null,c.filter,c.sort,c.allowDots,c.serializeDate,c.format,c.formatter,c.encodeValuesOnly,c.charset,m))}var w=u.join(c.delimiter),S=!0===c.addQueryPrefix?"?":"";return c.charsetSentinel&&("iso-8859-1"===c.charset?S+="utf8=%26%2310003%3B&":S+="utf8=%E2%9C%93&"),w.length>0?S+w:""}}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var n=r[e]={id:e,loaded:!1,exports:{}};return i[e].call(n.exports,n,n.exports,o),n.loaded=!0,n.exports}o.m=i,e=[],o.O=(t,n,i,r)=>{if(!n){var s=1/0;for(d=0;d<e.length;d++){for(var[n,i,r]=e[d],a=!0,l=0;l<n.length;l++)(!1&r||s>=r)&&Object.keys(o.O).every(e=>o.O[e](n[l]))?n.splice(l--,1):(a=!1,r<s&&(s=r));if(a){e.splice(d--,1);var c=i();void 0!==c&&(t=c)}}return t}r=r||0;for(var d=e.length;d>0&&e[d-1][2]>r;d--)e[d]=e[d-1];e[d]=[n,i,r]},o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((t,n)=>(o.f[n](e,t),t),[])),o.u=e=>"js/chunks/glide.js",o.miniCssF=e=>"css/app.css",o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}
2}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),t={},n="berdorf:",o.l=(e,i,r,s)=>{if(t[e])t[e].push(i);else{var a,l;if(void 0!==r)for(var c=document.getElementsByTagName("script"),d=0;d<c.length;d++){var u=c[d];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==n+r){a=u;break}}a||(l=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,o.nc&&a.setAttribute("nonce",o.nc),a.setAttribute("data-webpack",n+r),a.src=e),t[e]=[i];var h=(n,i)=>{a.onerror=a.onload=null,clearTimeout(f);var r=t[e];if(delete t[e],a.parentNode&&a.parentNode.removeChild(a),r&&r.forEach(e=>e(i)),n)return n(i)},f=setTimeout(h.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=h.bind(null,a.onerror),a.onload=h.bind(null,a.onload),l&&document.head.appendChild(a)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),o.p="/",(()=>{var e={847:0,252:0};o.f.j=(t,n)=>{var i=o.o(e,t)?e[t]:void 0;if(0!==i)if(i)n.push(i[2]);else if(252!=t){var r=new Promise((n,r)=>i=e[t]=[n,r]);n.push(i[2]=r);var s=o.p+o.u(t),a=new Error;o.l(s,n=>{if(o.o(e,t)&&(0!==(i=e[t])&&(e[t]=void 0),i)){var r=n&&("load"===n.type?"missing":n.type),s=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+r+": "+s+")",a.name="ChunkLoadError",a.type=r,a.request=s,i[1](a)}},"chunk-"+t,t)}else e[t]=0},o.O.j=t=>0===e[t];var t=(t,n)=>{var i,r,[s,a,l]=n,c=0;if(s.some(t=>0!==e[t])){for(i in a)o.o(a,i)&&(o.m[i]=a[i]);if(l)var d=l(o)}for(t&&t(n);c<s.length;c++)r=s[c],o.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return o.O(d)},n=self.webpackChunkberdorf=self.webpackChunkberdorf||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),o.O(void 0,[252],()=>o(5950));var s=o.O(void 0,[252],()=>o(4598));s=o.O(s)})();
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.