(()=>{var t={539:()=>{
/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/AFL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https://devdocs.prestashop.com/ for more information.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
 */
!function(t){var e=0,i=function(e,i){this.options=i,this.$elementFilestyle=[],this.$element=t(e)};i.prototype={clear:function(){this.$element.val(""),this.$elementFilestyle.find(":text").val(""),this.$elementFilestyle.find(".badge").remove()},destroy:function(){this.$element.removeAttr("style").removeData("filestyle"),this.$elementFilestyle.remove()},disabled:function(t){if(!0===t)this.options.disabled||(this.$element.attr("disabled","true"),this.$elementFilestyle.find("label").attr("disabled","true"),this.options.disabled=!0);else{if(!1!==t)return this.options.disabled;this.options.disabled&&(this.$element.removeAttr("disabled"),this.$elementFilestyle.find("label").removeAttr("disabled"),this.options.disabled=!1)}},buttonBefore:function(t){if(!0===t)this.options.buttonBefore||(this.options.buttonBefore=!0,this.options.input&&(this.$elementFilestyle.remove(),this.constructor(),this.pushNameFiles()));else{if(!1!==t)return this.options.buttonBefore;this.options.buttonBefore&&(this.options.buttonBefore=!1,this.options.input&&(this.$elementFilestyle.remove(),this.constructor(),this.pushNameFiles()))}},icon:function(t){if(!0===t)this.options.icon||(this.options.icon=!0,this.$elementFilestyle.find("label").prepend(this.htmlIcon()));else{if(!1!==t)return this.options.icon;this.options.icon&&(this.options.icon=!1,this.$elementFilestyle.find(".icon-span-filestyle").remove())}},input:function(t){if(!0===t)this.options.input||(this.options.input=!0,this.options.buttonBefore?this.$elementFilestyle.append(this.htmlInput()):this.$elementFilestyle.prepend(this.htmlInput()),this.$elementFilestyle.find(".badge").remove(),this.pushNameFiles(),this.$elementFilestyle.find(".group-span-filestyle").addClass("input-group-btn"));else{if(!1!==t)return this.options.input;if(this.options.input){this.options.input=!1,this.$elementFilestyle.find(":text").remove();var e=this.pushNameFiles();e.length>0&&this.options.badge&&this.$elementFilestyle.find("label").append(' <span class="badge">'+e.length+"</span>"),this.$elementFilestyle.find(".group-span-filestyle").removeClass("input-group-btn")}}},size:function(t){if(void 0===t)return this.options.size;var e=this.$elementFilestyle.find("label"),i=this.$elementFilestyle.find("input");e.removeClass("btn-lg btn-sm"),i.removeClass("input-lg input-sm"),"nr"!=t&&(e.addClass("btn-"+t),i.addClass("input-"+t))},placeholder:function(t){if(void 0===t)return this.options.placeholder;this.options.placeholder=t,this.$elementFilestyle.find("input").attr("placeholder",t)},buttonText:function(t){if(void 0===t)return this.options.buttonText;this.options.buttonText=t,this.$elementFilestyle.find("label .buttonText").html(this.options.buttonText)},buttonName:function(t){if(void 0===t)return this.options.buttonName;this.options.buttonName=t,this.$elementFilestyle.find("label").attr({class:"btn "+this.options.buttonName})},iconName:function(t){if(void 0===t)return this.options.iconName;this.$elementFilestyle.find(".icon-span-filestyle").attr({class:"icon-span-filestyle "+this.options.iconName})},htmlIcon:function(){return this.options.icon?'<span class="icon-span-filestyle '+this.options.iconName+'"></span> ':""},htmlInput:function(){return this.options.input?'<input type="text" class="form-control '+("nr"==this.options.size?"":"input-"+this.options.size)+'" placeholder="'+this.options.placeholder+'" disabled> ':""},pushNameFiles:function(){var t="",e=[];void 0===this.$element[0].files?e[0]={name:this.$element[0]&&this.$element[0].value}:e=this.$element[0].files;for(var i=0;i<e.length;i++)t+=e[i].name.split("\\").pop()+", ";return""!==t?this.$elementFilestyle.find(":text").val(t.replace(/\, $/g,"")):this.$elementFilestyle.find(":text").val(""),e},constructor:function(){var i,n,o=this,r=o.$element.attr("id");""!==r&&r||(r="filestyle-"+e,o.$element.attr({id:r}),e++),n='<span class="group-span-filestyle '+(o.options.input?"input-group-btn":"")+'"><label for="'+r+'" class="btn '+o.options.buttonName+" "+("nr"==o.options.size?"":"btn-"+o.options.size)+'" '+(o.options.disabled?'disabled="true"':"")+">"+o.htmlIcon()+'<span class="buttonText">'+o.options.buttonText+"</span></label></span>",i=o.options.buttonBefore?n+o.htmlInput():o.htmlInput()+n,o.$elementFilestyle=t('<div class="bootstrap-filestyle input-group">'+i+"</div>"),o.$elementFilestyle.find(".group-span-filestyle").attr("tabindex","0").keypress((function(t){if(13===t.keyCode||32===t.charCode)return o.$elementFilestyle.find("label").click(),!1})),o.$element.css({position:"absolute",clip:"rect(0px 0px 0px 0px)"}).attr("tabindex","-1").after(o.$elementFilestyle),o.options.disabled&&o.$element.attr("disabled","true"),o.$element.change((function(){var t=o.pushNameFiles();0==o.options.input&&o.options.badge?0==o.$elementFilestyle.find(".badge").length?o.$elementFilestyle.find("label").append(' <span class="badge">'+t.length+"</span>"):0==t.length?o.$elementFilestyle.find(".badge").remove():o.$elementFilestyle.find(".badge").html(t.length):o.$elementFilestyle.find(".badge").remove()})),window.navigator.userAgent.search(/firefox/i)>-1&&o.$elementFilestyle.find("label").click((function(){return o.$element.click(),!1}))}};var n=t.fn.filestyle;t.fn.filestyle=function(e,n){var o="",r=this.each((function(){if("file"===t(this).attr("type")){var r=t(this),s=r.data("filestyle"),a=t.extend({},t.fn.filestyle.defaults,e,"object"==typeof e&&e);s||(r.data("filestyle",s=new i(this,a)),s.constructor()),"string"==typeof e&&(o=s[e](n))}}));return void 0!==typeof o?o:r},t.fn.filestyle.defaults={buttonText:"Choose file",iconName:"glyphicon glyphicon-folder-open",buttonName:"btn-default",size:"nr",input:!0,badge:!0,icon:!0,buttonBefore:!1,disabled:!1,placeholder:""},t.fn.filestyle.noConflict=function(){return t.fn.filestyle=n,this},t((function(){t(".filestyle").each((function(){var e=t(this),i={input:"false"!==e.attr("data-input"),icon:"false"!==e.attr("data-icon"),buttonBefore:"true"===e.attr("data-buttonBefore"),disabled:"true"===e.attr("data-disabled"),size:e.attr("data-size"),buttonText:e.attr("data-buttonText"),buttonName:e.attr("data-buttonName"),iconName:e.attr("data-iconName"),badge:"false"!==e.attr("data-badge"),placeholder:e.attr("data-placeholder")};e.filestyle(i)}))}))}(window.jQuery)},325:()=>{
/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/AFL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https://devdocs.prestashop.com/ for more information.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
 */
!function(t){t.fn.scrollbox=function(e){return(e=t.extend({linear:!1,startDelay:2,delay:3,step:5,speed:32,switchItems:1,direction:"vertical",distance:"auto",autoPlay:!0,onMouseOverPause:!0,paused:!1,queue:null,listElement:"ul",listItemElement:"li",infiniteLoop:!0,switchAmount:0,afterForward:null,afterBackward:null,triggerStackable:!1},e)).scrollOffset="vertical"===e.direction?"scrollTop":"scrollLeft",e.queue&&(e.queue=t("#"+e.queue)),this.each((function(){var i,n,o,r,s,a,l,c,u,h=t(this),d=null,p=null,f=!1,g=0,m=0;e.onMouseOverPause&&(h.bind("mouseover",(function(){f=!0})),h.bind("mouseout",(function(){f=!1}))),i=h.children(e.listElement+":first-child"),!1===e.infiniteLoop&&0===e.switchAmount&&(e.switchAmount=i.children().length),a=function(){var o,s,a,l,c;if(!f&&(o=i.children(e.listItemElement+":first-child"),l="auto"!==e.distance?e.distance:"vertical"===e.direction?o.outerHeight(!0):o.outerWidth(!0),e.linear?a=Math.min(h[0][e.scrollOffset]+e.step,l):(c=Math.max(3,parseInt(.3*(l-h[0][e.scrollOffset]),10)),a=Math.min(h[0][e.scrollOffset]+c,l)),h[0][e.scrollOffset]=a,a>=l)){for(s=0;s<e.switchItems;s++)e.queue&&e.queue.find(e.listItemElement).length>0?(i.append(e.queue.find(e.listItemElement)[0]),i.children(e.listItemElement+":first-child").remove()):i.append(i.children(e.listItemElement+":first-child")),++g;if(h[0][e.scrollOffset]=0,clearInterval(d),d=null,t.isFunction(e.afterForward)&&e.afterForward.call(h,{switchCount:g,currentFirstChild:i.children(e.listItemElement+":first-child")}),e.triggerStackable&&0!==m)return void n();if(!1===e.infiniteLoop&&g>=e.switchAmount)return;e.autoPlay&&(p=setTimeout(r,1e3*e.delay))}},l=function(){if(!f){var o,s,a,l,c;if(0===h[0][e.scrollOffset]){for(s=0;s<e.switchItems;s++)i.children(e.listItemElement+":last-child").insertBefore(i.children(e.listItemElement+":first-child"));o=i.children(e.listItemElement+":first-child"),l="auto"!==e.distance?e.distance:"vertical"===e.direction?o.height():o.width(),h[0][e.scrollOffset]=l}if(e.linear?a=Math.max(h[0][e.scrollOffset]-e.step,0):(c=Math.max(3,parseInt(.3*h[0][e.scrollOffset],10)),a=Math.max(h[0][e.scrollOffset]-c,0)),h[0][e.scrollOffset]=a,0===a){if(--g,clearInterval(d),d=null,t.isFunction(e.afterBackward)&&e.afterBackward.call(h,{switchCount:g,currentFirstChild:i.children(e.listItemElement+":first-child")}),e.triggerStackable&&0!==m)return void n();e.autoPlay&&(p=setTimeout(r,1e3*e.delay))}}},n=function(){0!==m&&(m>0?(m--,p=setTimeout(r,0)):(m++,p=setTimeout(o,0)))},r=function(){clearInterval(d),d=setInterval(a,e.speed)},o=function(){clearInterval(d),d=setInterval(l,e.speed)},c=function(){e.autoPlay=!0,f=!1,clearInterval(d),d=setInterval(a,e.speed)},u=function(){f=!0},s=function(t){e.delay=t||e.delay,clearTimeout(p),e.autoPlay&&(p=setTimeout(r,1e3*e.delay))},e.autoPlay&&(p=setTimeout(r,1e3*e.startDelay)),h.bind("resetClock",(function(t){s(t)})),h.bind("forward",(function(){e.triggerStackable?null!==d?m++:r():(clearTimeout(p),r())})),h.bind("backward",(function(){e.triggerStackable?null!==d?m--:o():(clearTimeout(p),o())})),h.bind("pauseHover",(function(){u()})),h.bind("forwardHover",(function(){c()})),h.bind("speedUp",(function(t,i){"undefined"===i&&(i=Math.max(1,parseInt(e.speed/2,10))),e.speed=i})),h.bind("speedDown",(function(t,i){"undefined"===i&&(i=2*e.speed),e.speed=i})),h.bind("updateConfig",(function(i,n){e=t.extend(e,n)}))}))}}(jQuery)},427:()=>{$(document).ready((function(){let t=$("#cookie-banner-accept");t.length>0&&t.on("click",(function(){let t=$("#cookie-banner");t.fadeOut(500,(function(){t.remove()}));let e=new Date;e.setTime(e.getTime()+31536e6),document.cookie="cookieBanner=1; expires="+e.toUTCString()+"; path=/"}))}))},745:()=>{$(document).ready((function(){function t(t,e="grid"){t.style.display=e}function e(t){t.style.display="none"}$('.top-menu[data-depth="1"]').each((function(){$(this).on("click","span.toggle-sub-menu",(function(i){let n=$(this).closest('.top-menu[data-depth="1"]')[0],o=$(this).next(".collapse");if(o.length>0){let i=function(){let t=document.createElement("div"),e=document.createElement("ul");return e.setAttribute("id","menu-sub-category"),t.style.display="none",t.appendChild(function(){let t=document.createElement("span");return t.setAttribute("class","return-button"),t.innerHTML+='<i class="material-icons">arrow_back</i>',t.innerHTML+="<span>Retour</span>",t}()),t.appendChild(e),t}(),r=function(t){let e=[],i=t.find("li");return i.each((function(){e.push($(this))})),e}(o);r.forEach((function(t){i.querySelector("ul").appendChild(t[0])})),e(n),$(this).closest(".sub-menu")[0].appendChild(i),t(i),i.querySelector("span.return-button").addEventListener("click",(function(){e(i),function(t,e){for(;t.firstChild;)e.append(t.firstChild);t.remove()}(i,o),t(n)}))}}))}))}))},8:()=>{document.addEventListener("DOMContentLoaded",(function(){function t(t,e){var i,n,o,r,s;function a(t){var o,a,l;t.preventDefault(),n.style.backgroundSize=i.width*e+"px "+i.height*e+"px",o=function(t){var e,n=0,o=0;return t=t||window.event,e=i.getBoundingClientRect(),n=t.pageX-e.left,o=t.pageY-e.top,n-=window.pageXOffset,o-=window.pageYOffset,{x:n,y:o}}(t),a=o.x,l=o.y,a>i.width-r/e&&(a=i.width-r/e),a<r/e&&(a=r/e),l>i.height-s/e&&(l=i.height-s/e),l<s/e&&(l=s/e),n.style.left=a-n.offsetWidth/2+"px",n.style.top=l-n.offsetHeight/2+"px",n.style.backgroundPosition="-"+(a*e-r+3-100)+"px -"+(l*e-s+3-120)+"px"}function l(t,e){var i,n;return function(){var o=this,r=arguments,s=(new Date).getTime();!i||s-i>=e?(i=s,t.apply(o,r)):(clearTimeout(n),n=setTimeout((function(){i=s,t.apply(o,r)}),e-(s-i)))}}i=document.querySelector(t),o=document.querySelector("#product-modal figure"),(n=document.createElement("div")).classList.add("magnifier-glass"),o.appendChild(n),o.style.position="relative",n.style.backgroundImage="url('"+i.src+"')",r=n.offsetWidth/2,s=n.offsetHeight/2,n.addEventListener("mousemove",l(a,50)),i.addEventListener("mousemove",l(a,50))}if(null!=document.querySelector("#product-modal figure")){document.querySelector("#product-modal figure").addEventListener("mouseenter",(function(){$(".magnifier-glass").show()})),document.querySelector("#product-modal figure").addEventListener("mouseleave",(function(){$(".magnifier-glass").hide()})),t("#product-modal figure img",2);var e=document.querySelector("#product-modal figure img");new MutationObserver((function(e){e.forEach((function(e){if("attributes"==e.type){var i=document.querySelector(".magnifier-glass");i.parentNode.removeChild(i),t("#product-modal figure img",2)}}))})).observe(e,{attributes:!0,childList:!1,characterData:!1})}}))},602:()=>{!function(t){"use strict";var e=0;function i(e,i){return t.map(e,(function(t){return function(t,e){return t+".touchspin_"+e}(t,i)}))}t.fn.TouchSpin=function(n){if("destroy"!==n){var o={min:0,max:100,initval:"",replacementval:"",step:1,decimals:0,stepinterval:100,forcestepdivisibility:"round",stepintervaldelay:500,verticalbuttons:!1,verticalupclass:"glyphicon glyphicon-chevron-up",verticaldownclass:"glyphicon glyphicon-chevron-down",prefix:"",postfix:"",prefix_extraclass:"",postfix_extraclass:"",booster:!0,boostat:10,maxboostedstep:!1,mousewheel:!0,buttondown_class:"btn btn-default",buttonup_class:"btn btn-default",buttondown_txt:"-",buttonup_txt:"+"},r={min:"min",max:"max",initval:"init-val",replacementval:"replacement-val",step:"step",decimals:"decimals",stepinterval:"step-interval",verticalbuttons:"vertical-buttons",verticalupclass:"vertical-up-class",verticaldownclass:"vertical-down-class",forcestepdivisibility:"force-step-divisibility",stepintervaldelay:"step-interval-delay",prefix:"prefix",postfix:"postfix",prefix_extraclass:"prefix-extra-class",postfix_extraclass:"postfix-extra-class",booster:"booster",boostat:"boostat",maxboostedstep:"max-boosted-step",mousewheel:"mouse-wheel",buttondown_class:"button-down-class",buttonup_class:"button-up-class",buttondown_txt:"button-down-txt",buttonup_txt:"button-up-txt"};return this.each((function(){var s,a,l,c,u,h,d,p,f=t(this),g=f.data(),m=0,v=!1;function y(){var t,e,i;""!==(t=f.val())?s.decimals>0&&"."===t||(e=parseFloat(t),isNaN(e)&&(e=""!==s.replacementval?s.replacementval:0),i=e,e.toString()!==t&&(i=e),e<s.min&&(i=s.min),e>s.max&&(i=s.max),i=function(t){switch(s.forcestepdivisibility){case"round":return(Math.round(t/s.step)*s.step).toFixed(s.decimals);case"floor":return(Math.floor(t/s.step)*s.step).toFixed(s.decimals);case"ceil":return(Math.ceil(t/s.step)*s.step).toFixed(s.decimals);default:return t}}(i),Number(t).toString()!==i.toString()&&(f.val(i),f.trigger("change"))):""!==s.replacementval&&(f.val(s.replacementval),f.trigger("change"))}function _(){if(s.booster){var t=Math.pow(2,Math.floor(m/s.boostat))*s.step;return s.maxboostedstep&&t>s.maxboostedstep&&(t=s.maxboostedstep,c=Math.round(c/t)*t),Math.max(s.step,t)}return s.step}function b(){y(),c=parseFloat(l.input.val()),isNaN(c)&&(c=0);var t=c,e=_();(c+=e)>s.max&&(c=s.max,f.trigger("touchspin.on.max"),C()),l.input.val(Number(c).toFixed(s.decimals)),t!==c&&f.trigger("change")}function w(){y(),c=parseFloat(l.input.val()),isNaN(c)&&(c=0);var t=c,e=_();(c-=e)<s.min&&(c=s.min,f.trigger("touchspin.on.min"),C()),l.input.val(c.toFixed(s.decimals)),t!==c&&f.trigger("change")}function x(){C(),m=0,v="down",f.trigger("touchspin.on.startspin"),f.trigger("touchspin.on.startdownspin"),d=setTimeout((function(){u=setInterval((function(){m++,w()}),s.stepinterval)}),s.stepintervaldelay)}function S(){C(),m=0,v="up",f.trigger("touchspin.on.startspin"),f.trigger("touchspin.on.startupspin"),p=setTimeout((function(){h=setInterval((function(){m++,b()}),s.stepinterval)}),s.stepintervaldelay)}function C(){switch(clearTimeout(d),clearTimeout(p),clearInterval(u),clearInterval(h),v){case"up":f.trigger("touchspin.on.stopupspin"),f.trigger("touchspin.on.stopspin");break;case"down":f.trigger("touchspin.on.stopdownspin"),f.trigger("touchspin.on.stopspin")}m=0,v=!1}!function(){if(f.data("alreadyinitialized"))return;if(f.data("alreadyinitialized",!0),e+=1,f.data("spinnerid",e),!f.is("input"))return void console.log("Must be an input.");s=t.extend({},o,g,(c={},t.each(r,(function(t,e){var i="bts-"+e;f.is("[data-"+i+"]")&&(c[t]=f.data(i))})),c),n),""!==s.initval&&""===f.val()&&f.val(s.initval),y(),function(){var e=f.val(),i=f.parent();""!==e&&(e=Number(e).toFixed(s.decimals));f.data("initvalue",e).val(e),f.addClass("form-control"),i.hasClass("input-group")?function(e){e.addClass("bootstrap-touchspin");var i,n,o=f.prev(),r=f.next(),l='<span class="input-group-addon bootstrap-touchspin-prefix">'+s.prefix+"</span>",c='<span class="input-group-addon bootstrap-touchspin-postfix">'+s.postfix+"</span>";o.hasClass("input-group-btn")?(i='<button class="'+s.buttondown_class+' bootstrap-touchspin-down" type="button">'+s.buttondown_txt+"</button>",o.append(i)):(i='<span class="input-group-btn"><button class="'+s.buttondown_class+' bootstrap-touchspin-down" type="button">'+s.buttondown_txt+"</button></span>",t(i).insertBefore(f));r.hasClass("input-group-btn")?(n='<button class="'+s.buttonup_class+' bootstrap-touchspin-up" type="button">'+s.buttonup_txt+"</button>",r.prepend(n)):(n='<span class="input-group-btn"><button class="'+s.buttonup_class+' bootstrap-touchspin-up" type="button">'+s.buttonup_txt+"</button></span>",t(n).insertAfter(f));t(l).insertBefore(f),t(c).insertAfter(f),a=e}(i):function(){var e;e=s.verticalbuttons?'<div class="input-group bootstrap-touchspin"><span class="input-group-addon bootstrap-touchspin-prefix">'+s.prefix+'</span><span class="input-group-addon bootstrap-touchspin-postfix">'+s.postfix+'</span><span class="input-group-btn-vertical"><button class="'+s.buttondown_class+' bootstrap-touchspin-up" type="button"><i class="'+s.verticalupclass+'"></i></button><button class="'+s.buttonup_class+' bootstrap-touchspin-down" type="button"><i class="'+s.verticaldownclass+'"></i></button></span></div>':'<div class="input-group bootstrap-touchspin"><span class="input-group-btn"><button class="'+s.buttondown_class+' bootstrap-touchspin-down" type="button">'+s.buttondown_txt+'</button></span><span class="input-group-addon bootstrap-touchspin-prefix">'+s.prefix+'</span><span class="input-group-addon bootstrap-touchspin-postfix">'+s.postfix+'</span><span class="input-group-btn"><button class="'+s.buttonup_class+' bootstrap-touchspin-up" type="button">'+s.buttonup_txt+"</button></span></div>";a=t(e).insertBefore(f),t(".bootstrap-touchspin-prefix",a).after(f),f.hasClass("input-sm")?a.addClass("input-group-sm"):f.hasClass("input-lg")&&a.addClass("input-group-lg")}()}(),l={down:t(".bootstrap-touchspin-down",a),up:t(".bootstrap-touchspin-up",a),input:t("input",a),prefix:t(".bootstrap-touchspin-prefix",a).addClass(s.prefix_extraclass),postfix:t(".bootstrap-touchspin-postfix",a).addClass(s.postfix_extraclass)},function(){""===s.prefix&&l.prefix.hide();""===s.postfix&&l.postfix.hide()}(),f.on("keydown",(function(t){var e=t.keyCode||t.which;38===e?("up"!==v&&(b(),S()),t.preventDefault()):40===e&&("down"!==v&&(w(),x()),t.preventDefault())})),f.on("keyup",(function(t){var e=t.keyCode||t.which;(38===e||40===e)&&C()})),f.on("blur",(function(){y()})),l.down.on("keydown",(function(t){var e=t.keyCode||t.which;32!==e&&13!==e||("down"!==v&&(w(),x()),t.preventDefault())})),l.down.on("keyup",(function(t){var e=t.keyCode||t.which;32!==e&&13!==e||C()})),l.up.on("keydown",(function(t){var e=t.keyCode||t.which;32!==e&&13!==e||("up"!==v&&(b(),S()),t.preventDefault())})),l.up.on("keyup",(function(t){var e=t.keyCode||t.which;32!==e&&13!==e||C()})),l.down.on("mousedown.touchspin",(function(t){l.down.off("touchstart.touchspin"),f.is(":disabled")||(w(),x(),t.preventDefault(),t.stopPropagation())})),l.down.on("touchstart.touchspin",(function(t){l.down.off("mousedown.touchspin"),f.is(":disabled")||(w(),x(),t.preventDefault(),t.stopPropagation())})),l.up.on("mousedown.touchspin",(function(t){l.up.off("touchstart.touchspin"),f.is(":disabled")||(b(),S(),t.preventDefault(),t.stopPropagation())})),l.up.on("touchstart.touchspin",(function(t){l.up.off("mousedown.touchspin"),f.is(":disabled")||(b(),S(),t.preventDefault(),t.stopPropagation())})),l.up.on("mouseout touchleave touchend touchcancel",(function(t){v&&(t.stopPropagation(),C())})),l.down.on("mouseout touchleave touchend touchcancel",(function(t){v&&(t.stopPropagation(),C())})),l.down.on("mousemove touchmove",(function(t){v&&(t.stopPropagation(),t.preventDefault())})),l.up.on("mousemove touchmove",(function(t){v&&(t.stopPropagation(),t.preventDefault())})),t(document).on(i(["mouseup","touchend","touchcancel"],e).join(" "),(function(t){v&&(t.preventDefault(),C())})),t(document).on(i(["mousemove","touchmove","scroll","scrollstart"],e).join(" "),(function(t){v&&(t.preventDefault(),C())})),f.on("mousewheel DOMMouseScroll",(function(t){if(s.mousewheel&&f.is(":focus")){var e=t.originalEvent.wheelDelta||-t.originalEvent.deltaY||-t.originalEvent.detail;t.stopPropagation(),t.preventDefault(),e<0?w():b()}})),f.on("touchspin.uponce",(function(){C(),b()})),f.on("touchspin.downonce",(function(){C(),w()})),f.on("touchspin.startupspin",(function(){S()})),f.on("touchspin.startdownspin",(function(){x()})),f.on("touchspin.stopspin",(function(){C()})),f.on("touchspin.updatesettings",(function(e,i){!function(e){(function(e){s=t.extend({},s,e)})(e),y();var i=l.input.val();""!==i&&(i=Number(l.input.val()),l.input.val(i.toFixed(s.decimals)))}(i)})),l.input.css("display","block");var c}()}))}this.each((function(){var e=t(this).data();t(document).off(i(["mouseup","touchend","touchcancel","mousemove","touchmove","scroll","scrollstart"],e.spinnerid).join(" "))}))}}(jQuery)},772:()=>{
/*!
 * Bootstrap v4.0.0-alpha.5 (https://getbootstrap.com)
 * Copyright 2011-2016 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */
if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!function(){var t=jQuery.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1==t[0]&&9==t[1]&&t[2]<1||t[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(),function(){function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var e,i,n,o,r,s,a,l,c,u,h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},d=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),p=function(t){function e(t){return{}.toString.call(t).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function i(t){return(t[0]||t).nodeType}function n(e){var i=this,n=!1;return t(this).one(s.TRANSITION_END,(function(){n=!0})),setTimeout((function(){n||s.triggerTransitionEnd(i)}),e),this}var o=!1,r={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},s={TRANSITION_END:"bsTransitionEnd",getUID:function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");return e||(e=t.getAttribute("href")||"",e=/^#[a-z]/i.test(e)?e:null),e},reflow:function(t){new Function("bs","return bs")(t.offsetHeight)},triggerTransitionEnd:function(e){t(e).trigger(o.end)},supportsTransitionEnd:function(){return Boolean(o)},typeCheckConfig:function(t,n,o){for(var r in o)if(o.hasOwnProperty(r)){var s,a=o[r],l=n[r];if(s=l&&i(l)?"element":e(l),!new RegExp(a).test(s))throw new Error(t.toUpperCase()+': Option "'+r+'" provided type "'+s+'" but expected type "'+a+'".')}}};return o=function(){if(window.QUnit)return!1;var t=document.createElement("bootstrap");for(var e in r)if(void 0!==t.style[e])return{end:r[e]};return!1}(),t.fn.emulateTransitionEnd=n,s.supportsTransitionEnd()&&(t.event.special[s.TRANSITION_END]={bindType:o.end,delegateType:o.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}}),s}(jQuery),f=(e=jQuery,i="alert",o="."+(n="bs.alert"),r=e.fn[i],s={CLOSE:"close"+o,CLOSED:"closed"+o,CLICK_DATA_API:"click"+o+".data-api"},a="alert",l="fade",c="in",u=function(){function i(e){t(this,i),this._element=e}return i.prototype.close=function(t){t=t||this._element;var e=this._getRootElement(t);this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},i.prototype.dispose=function(){e.removeData(this._element,n),this._element=null},i.prototype._getRootElement=function(t){var i=p.getSelectorFromElement(t),n=!1;return i&&(n=e(i)[0]),n||(n=e(t).closest("."+a)[0]),n},i.prototype._triggerCloseEvent=function(t){var i=e.Event(s.CLOSE);return e(t).trigger(i),i},i.prototype._removeElement=function(t){return e(t).removeClass(c),p.supportsTransitionEnd()&&e(t).hasClass(l)?void e(t).one(p.TRANSITION_END,e.proxy(this._destroyElement,this,t)).emulateTransitionEnd(150):void this._destroyElement(t)},i.prototype._destroyElement=function(t){e(t).detach().trigger(s.CLOSED).remove()},i._jQueryInterface=function(t){return this.each((function(){var o=e(this),r=o.data(n);r||(r=new i(this),o.data(n,r)),"close"===t&&r[t](this)}))},i._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},d(i,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}}]),i}(),e(document).on(s.CLICK_DATA_API,'[data-dismiss="alert"]',u._handleDismiss(new u)),e.fn[i]=u._jQueryInterface,e.fn[i].Constructor=u,e.fn[i].noConflict=function(){return e.fn[i]=r,u._jQueryInterface},function(e){var i="button",n="bs.button",o="."+n,r=".data-api",s=e.fn[i],a="active",l="btn",c="focus",u='[data-toggle^="button"]',h='[data-toggle="buttons"]',p="input",f=".active",g=".btn",m={CLICK_DATA_API:"click"+o+r,FOCUS_BLUR_DATA_API:"focus"+o+r+" blur"+o+r},v=function(){function i(e){t(this,i),this._element=e}return i.prototype.toggle=function(){var t=!0,i=e(this._element).closest(h)[0];if(i){var n=e(this._element).find(p)[0];if(n){if("radio"===n.type)if(n.checked&&e(this._element).hasClass(a))t=!1;else{var o=e(i).find(f)[0];o&&e(o).removeClass(a)}t&&(n.checked=!e(this._element).hasClass(a),e(this._element).trigger("change")),n.focus()}}else this._element.setAttribute("aria-pressed",!e(this._element).hasClass(a));t&&e(this._element).toggleClass(a)},i.prototype.dispose=function(){e.removeData(this._element,n),this._element=null},i._jQueryInterface=function(t){return this.each((function(){var o=e(this).data(n);o||(o=new i(this),e(this).data(n,o)),"toggle"===t&&o[t]()}))},d(i,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}}]),i}();e(document).on(m.CLICK_DATA_API,u,(function(t){t.preventDefault();var i=t.target;e(i).hasClass(l)||(i=e(i).closest(g)),v._jQueryInterface.call(e(i),"toggle")})).on(m.FOCUS_BLUR_DATA_API,u,(function(t){var i=e(t.target).closest(g)[0];e(i).toggleClass(c,/^focus(in)?$/.test(t.type))})),e.fn[i]=v._jQueryInterface,e.fn[i].Constructor=v,e.fn[i].noConflict=function(){return e.fn[i]=s,v._jQueryInterface}}(jQuery),function(e){var i="carousel",n="bs.carousel",o="."+n,r=".data-api",s=e.fn[i],a={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},l={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},c="next",u="prev",f={SLIDE:"slide"+o,SLID:"slid"+o,KEYDOWN:"keydown"+o,MOUSEENTER:"mouseenter"+o,MOUSELEAVE:"mouseleave"+o,LOAD_DATA_API:"load"+o+r,CLICK_DATA_API:"click"+o+r},g="carousel",m="active",v="slide",y="right",_="left",b=".active",w=".active.carousel-item",x=".carousel-item",S=".next, .prev",C=".carousel-indicators",E="[data-slide], [data-slide-to]",T='[data-ride="carousel"]',k=function(){function r(i,n){t(this,r),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this._config=this._getConfig(n),this._element=e(i)[0],this._indicatorsElement=e(this._element).find(C)[0],this._addEventListeners()}return r.prototype.next=function(){this._isSliding||this._slide(c)},r.prototype.nextWhenVisible=function(){document.hidden||this.next()},r.prototype.prev=function(){this._isSliding||this._slide(u)},r.prototype.pause=function(t){t||(this._isPaused=!0),e(this._element).find(S)[0]&&p.supportsTransitionEnd()&&(p.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},r.prototype.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval(e.proxy(document.visibilityState?this.nextWhenVisible:this.next,this),this._config.interval))},r.prototype.to=function(t){var i=this;this._activeElement=e(this._element).find(w)[0];var n=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0)){if(this._isSliding)return void e(this._element).one(f.SLID,(function(){return i.to(t)}));if(n===t)return this.pause(),void this.cycle();var o=t>n?c:u;this._slide(o,this._items[t])}},r.prototype.dispose=function(){e(this._element).off(o),e.removeData(this._element,n),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},r.prototype._getConfig=function(t){return t=e.extend({},a,t),p.typeCheckConfig(i,t,l),t},r.prototype._addEventListeners=function(){this._config.keyboard&&e(this._element).on(f.KEYDOWN,e.proxy(this._keydown,this)),"hover"!==this._config.pause||"ontouchstart"in document.documentElement||e(this._element).on(f.MOUSEENTER,e.proxy(this.pause,this)).on(f.MOUSELEAVE,e.proxy(this.cycle,this))},r.prototype._keydown=function(t){if(t.preventDefault(),!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}},r.prototype._getItemIndex=function(t){return this._items=e.makeArray(e(t).parent().find(x)),this._items.indexOf(t)},r.prototype._getItemByDirection=function(t,e){var i=t===c,n=t===u,o=this._getItemIndex(e),r=this._items.length-1;if((n&&0===o||i&&o===r)&&!this._config.wrap)return e;var s=(o+(t===u?-1:1))%this._items.length;return-1===s?this._items[this._items.length-1]:this._items[s]},r.prototype._triggerSlideEvent=function(t,i){var n=e.Event(f.SLIDE,{relatedTarget:t,direction:i});return e(this._element).trigger(n),n},r.prototype._setActiveIndicatorElement=function(t){if(this._indicatorsElement){e(this._indicatorsElement).find(b).removeClass(m);var i=this._indicatorsElement.children[this._getItemIndex(t)];i&&e(i).addClass(m)}},r.prototype._slide=function(t,i){var n=this,o=e(this._element).find(w)[0],r=i||o&&this._getItemByDirection(t,o),s=Boolean(this._interval),a=t===c?_:y;if(r&&e(r).hasClass(m))this._isSliding=!1;else if(!this._triggerSlideEvent(r,a).isDefaultPrevented()&&o&&r){this._isSliding=!0,s&&this.pause(),this._setActiveIndicatorElement(r);var l=e.Event(f.SLID,{relatedTarget:r,direction:a});p.supportsTransitionEnd()&&e(this._element).hasClass(v)?(e(r).addClass(t),p.reflow(r),e(o).addClass(a),e(r).addClass(a),e(o).one(p.TRANSITION_END,(function(){e(r).removeClass(a).removeClass(t),e(r).addClass(m),e(o).removeClass(m).removeClass(t).removeClass(a),n._isSliding=!1,setTimeout((function(){return e(n._element).trigger(l)}),0)})).emulateTransitionEnd(600)):(e(o).removeClass(m),e(r).addClass(m),this._isSliding=!1,e(this._element).trigger(l)),s&&this.cycle()}},r._jQueryInterface=function(t){return this.each((function(){var i=e(this).data(n),o=e.extend({},a,e(this).data());"object"===(void 0===t?"undefined":h(t))&&e.extend(o,t);var s="string"==typeof t?t:o.slide;if(i||(i=new r(this,o),e(this).data(n,i)),"number"==typeof t)i.to(t);else if("string"==typeof s){if(void 0===i[s])throw new Error('No method named "'+s+'"');i[s]()}else o.interval&&(i.pause(),i.cycle())}))},r._dataApiClickHandler=function(t){var i=p.getSelectorFromElement(this);if(i){var o=e(i)[0];if(o&&e(o).hasClass(g)){var s=e.extend({},e(o).data(),e(this).data()),a=this.getAttribute("data-slide-to");a&&(s.interval=!1),r._jQueryInterface.call(e(o),s),a&&e(o).data(n).to(a),t.preventDefault()}}},d(r,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}},{key:"Default",get:function(){return a}}]),r}();e(document).on(f.CLICK_DATA_API,E,k._dataApiClickHandler),e(window).on(f.LOAD_DATA_API,(function(){e(T).each((function(){var t=e(this);k._jQueryInterface.call(t,t.data())}))})),e.fn[i]=k._jQueryInterface,e.fn[i].Constructor=k,e.fn[i].noConflict=function(){return e.fn[i]=s,k._jQueryInterface}}(jQuery),function(e){var i="collapse",n="bs.collapse",o="."+n,r=e.fn[i],s={toggle:!0,parent:""},a={toggle:"boolean",parent:"string"},l={SHOW:"show"+o,SHOWN:"shown"+o,HIDE:"hide"+o,HIDDEN:"hidden"+o,CLICK_DATA_API:"click"+o+".data-api"},c="in",u="collapse",f="collapsing",g="collapsed",m="width",v="height",y=".card > .in, .card > .collapsing",_='[data-toggle="collapse"]',b=function(){function o(i,n){t(this,o),this._isTransitioning=!1,this._element=i,this._config=this._getConfig(n),this._triggerArray=e.makeArray(e('[data-toggle="collapse"][href="#'+i.id+'"],[data-toggle="collapse"][data-target="#'+i.id+'"]')),this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}return o.prototype.toggle=function(){e(this._element).hasClass(c)?this.hide():this.show()},o.prototype.show=function(){var t=this;if(!this._isTransitioning&&!e(this._element).hasClass(c)){var i=void 0,r=void 0;if(this._parent&&((i=e.makeArray(e(y))).length||(i=null)),!(i&&(r=e(i).data(n),r&&r._isTransitioning))){var s=e.Event(l.SHOW);if(e(this._element).trigger(s),!s.isDefaultPrevented()){i&&(o._jQueryInterface.call(e(i),"hide"),r||e(i).data(n,null));var a=this._getDimension();e(this._element).removeClass(u).addClass(f),this._element.style[a]=0,this._element.setAttribute("aria-expanded",!0),this._triggerArray.length&&e(this._triggerArray).removeClass(g).attr("aria-expanded",!0),this.setTransitioning(!0);var h=function(){e(t._element).removeClass(f).addClass(u).addClass(c),t._element.style[a]="",t.setTransitioning(!1),e(t._element).trigger(l.SHOWN)};if(!p.supportsTransitionEnd())return void h();var d="scroll"+(a[0].toUpperCase()+a.slice(1));e(this._element).one(p.TRANSITION_END,h).emulateTransitionEnd(600),this._element.style[a]=this._element[d]+"px"}}}},o.prototype.hide=function(){var t=this;if(!this._isTransitioning&&e(this._element).hasClass(c)){var i=e.Event(l.HIDE);if(e(this._element).trigger(i),!i.isDefaultPrevented()){var n=this._getDimension(),o=n===m?"offsetWidth":"offsetHeight";this._element.style[n]=this._element[o]+"px",p.reflow(this._element),e(this._element).addClass(f).removeClass(u).removeClass(c),this._element.setAttribute("aria-expanded",!1),this._triggerArray.length&&e(this._triggerArray).addClass(g).attr("aria-expanded",!1),this.setTransitioning(!0);var r=function(){t.setTransitioning(!1),e(t._element).removeClass(f).addClass(u).trigger(l.HIDDEN)};return this._element.style[n]="",p.supportsTransitionEnd()?void e(this._element).one(p.TRANSITION_END,r).emulateTransitionEnd(600):void r()}}},o.prototype.setTransitioning=function(t){this._isTransitioning=t},o.prototype.dispose=function(){e.removeData(this._element,n),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},o.prototype._getConfig=function(t){return(t=e.extend({},s,t)).toggle=Boolean(t.toggle),p.typeCheckConfig(i,t,a),t},o.prototype._getDimension=function(){return e(this._element).hasClass(m)?m:v},o.prototype._getParent=function(){var t=this,i=e(this._config.parent)[0],n='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]';return e(i).find(n).each((function(e,i){t._addAriaAndCollapsedClass(o._getTargetFromElement(i),[i])})),i},o.prototype._addAriaAndCollapsedClass=function(t,i){if(t){var n=e(t).hasClass(c);t.setAttribute("aria-expanded",n),i.length&&e(i).toggleClass(g,!n).attr("aria-expanded",n)}},o._getTargetFromElement=function(t){var i=p.getSelectorFromElement(t);return i?e(i)[0]:null},o._jQueryInterface=function(t){return this.each((function(){var i=e(this),r=i.data(n),a=e.extend({},s,i.data(),"object"===(void 0===t?"undefined":h(t))&&t);if(!r&&a.toggle&&/show|hide/.test(t)&&(a.toggle=!1),r||(r=new o(this,a),i.data(n,r)),"string"==typeof t){if(void 0===r[t])throw new Error('No method named "'+t+'"');r[t]()}}))},d(o,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}},{key:"Default",get:function(){return s}}]),o}();e(document).on(l.CLICK_DATA_API,_,(function(t){t.preventDefault();var i=b._getTargetFromElement(this),o=e(i).data(n)?"toggle":e(this).data();b._jQueryInterface.call(e(i),o)})),e.fn[i]=b._jQueryInterface,e.fn[i].Constructor=b,e.fn[i].noConflict=function(){return e.fn[i]=r,b._jQueryInterface}}(jQuery),function(e){var i="dropdown",n="bs.dropdown",o="."+n,r=".data-api",s=e.fn[i],a={HIDE:"hide"+o,HIDDEN:"hidden"+o,SHOW:"show"+o,SHOWN:"shown"+o,CLICK:"click"+o,CLICK_DATA_API:"click"+o+r,KEYDOWN_DATA_API:"keydown"+o+r},l="dropdown-backdrop",c="disabled",u="open",h=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=".dropdown form",m='[role="menu"]',v='[role="listbox"]',y=".navbar-nav",_='[role="menu"] li:not(.disabled) a, [role="listbox"] li:not(.disabled) a',b=function(){function i(e){t(this,i),this._element=e,this._addEventListeners()}return i.prototype.toggle=function(){if(this.disabled||e(this).hasClass(c))return!1;var t=i._getParentFromElement(this),n=e(t).hasClass(u);if(i._clearMenus(),n)return!1;if("ontouchstart"in document.documentElement&&!e(t).closest(y).length){var o=document.createElement("div");o.className=l,e(o).insertBefore(this),e(o).on("click",i._clearMenus)}var r={relatedTarget:this},s=e.Event(a.SHOW,r);return e(t).trigger(s),!s.isDefaultPrevented()&&(this.focus(),this.setAttribute("aria-expanded","true"),e(t).toggleClass(u),e(t).trigger(e.Event(a.SHOWN,r)),!1)},i.prototype.dispose=function(){e.removeData(this._element,n),e(this._element).off(o),this._element=null},i.prototype._addEventListeners=function(){e(this._element).on(a.CLICK,this.toggle)},i._jQueryInterface=function(t){return this.each((function(){var o=e(this).data(n);if(o||e(this).data(n,o=new i(this)),"string"==typeof t){if(void 0===o[t])throw new Error('No method named "'+t+'"');o[t].call(this)}}))},i._clearMenus=function(t){if(!t||3!==t.which){var n=e(h)[0];n&&n.parentNode.removeChild(n);for(var o=e.makeArray(e(f)),r=0;r<o.length;r++){var s=i._getParentFromElement(o[r]),l={relatedTarget:o[r]};if(e(s).hasClass(u)&&!(t&&"click"===t.type&&/input|textarea/i.test(t.target.tagName)&&e.contains(s,t.target))){var c=e.Event(a.HIDE,l);e(s).trigger(c),c.isDefaultPrevented()||(o[r].setAttribute("aria-expanded","false"),e(s).removeClass(u).trigger(e.Event(a.HIDDEN,l)))}}}},i._getParentFromElement=function(t){var i=void 0,n=p.getSelectorFromElement(t);return n&&(i=e(n)[0]),i||t.parentNode},i._dataApiKeydownHandler=function(t){if(/(38|40|27|32)/.test(t.which)&&!/input|textarea/i.test(t.target.tagName)&&(t.preventDefault(),t.stopPropagation(),!this.disabled&&!e(this).hasClass(c))){var n=i._getParentFromElement(this),o=e(n).hasClass(u);if(!o&&27!==t.which||o&&27===t.which){if(27===t.which){var r=e(n).find(f)[0];e(r).trigger("focus")}return void e(this).trigger("click")}var s=e.makeArray(e(_));if((s=s.filter((function(t){return t.offsetWidth||t.offsetHeight}))).length){var a=s.indexOf(t.target);38===t.which&&a>0&&a--,40===t.which&&a<s.length-1&&a++,a<0&&(a=0),s[a].focus()}}},d(i,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}}]),i}();e(document).on(a.KEYDOWN_DATA_API,f,b._dataApiKeydownHandler).on(a.KEYDOWN_DATA_API,m,b._dataApiKeydownHandler).on(a.KEYDOWN_DATA_API,v,b._dataApiKeydownHandler).on(a.CLICK_DATA_API,b._clearMenus).on(a.CLICK_DATA_API,f,b.prototype.toggle).on(a.CLICK_DATA_API,g,(function(t){t.stopPropagation()})),e.fn[i]=b._jQueryInterface,e.fn[i].Constructor=b,e.fn[i].noConflict=function(){return e.fn[i]=s,b._jQueryInterface}}(jQuery),function(e){var i="modal",n="bs.modal",o="."+n,r=e.fn[i],s={backdrop:!0,keyboard:!0,focus:!0,show:!0},a={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},l={HIDE:"hide"+o,HIDDEN:"hidden"+o,SHOW:"show"+o,SHOWN:"shown"+o,FOCUSIN:"focusin"+o,RESIZE:"resize"+o,CLICK_DISMISS:"click.dismiss"+o,KEYDOWN_DISMISS:"keydown.dismiss"+o,MOUSEUP_DISMISS:"mouseup.dismiss"+o,MOUSEDOWN_DISMISS:"mousedown.dismiss"+o,CLICK_DATA_API:"click"+o+".data-api"},c="modal-scrollbar-measure",u="modal-backdrop",f="modal-open",g="fade",m="in",v=".modal-dialog",y='[data-toggle="modal"]',_='[data-dismiss="modal"]',b=".navbar-fixed-top, .navbar-fixed-bottom, .is-fixed",w=function(){function r(i,n){t(this,r),this._config=this._getConfig(n),this._element=i,this._dialog=e(i).find(v)[0],this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._originalBodyPadding=0,this._scrollbarWidth=0}return r.prototype.toggle=function(t){return this._isShown?this.hide():this.show(t)},r.prototype.show=function(t){var i=this,n=e.Event(l.SHOW,{relatedTarget:t});e(this._element).trigger(n),this._isShown||n.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),e(document.body).addClass(f),this._setEscapeEvent(),this._setResizeEvent(),e(this._element).on(l.CLICK_DISMISS,_,e.proxy(this.hide,this)),e(this._dialog).on(l.MOUSEDOWN_DISMISS,(function(){e(i._element).one(l.MOUSEUP_DISMISS,(function(t){e(t.target).is(i._element)&&(i._ignoreBackdropClick=!0)}))})),this._showBackdrop(e.proxy(this._showElement,this,t)))},r.prototype.hide=function(t){t&&t.preventDefault();var i=e.Event(l.HIDE);e(this._element).trigger(i),this._isShown&&!i.isDefaultPrevented()&&(this._isShown=!1,this._setEscapeEvent(),this._setResizeEvent(),e(document).off(l.FOCUSIN),e(this._element).removeClass(m),e(this._element).off(l.CLICK_DISMISS),e(this._dialog).off(l.MOUSEDOWN_DISMISS),p.supportsTransitionEnd()&&e(this._element).hasClass(g)?e(this._element).one(p.TRANSITION_END,e.proxy(this._hideModal,this)).emulateTransitionEnd(300):this._hideModal())},r.prototype.dispose=function(){e.removeData(this._element,n),e(window).off(o),e(document).off(o),e(this._element).off(o),e(this._backdrop).off(o),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._originalBodyPadding=null,this._scrollbarWidth=null},r.prototype._getConfig=function(t){return t=e.extend({},s,t),p.typeCheckConfig(i,t,a),t},r.prototype._showElement=function(t){var i=this,n=p.supportsTransitionEnd()&&e(this._element).hasClass(g);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.scrollTop=0,n&&p.reflow(this._element),e(this._element).addClass(m),this._config.focus&&this._enforceFocus();var o=e.Event(l.SHOWN,{relatedTarget:t}),r=function(){i._config.focus&&i._element.focus(),e(i._element).trigger(o)};n?e(this._dialog).one(p.TRANSITION_END,r).emulateTransitionEnd(300):r()},r.prototype._enforceFocus=function(){var t=this;e(document).off(l.FOCUSIN).on(l.FOCUSIN,(function(i){document===i.target||t._element===i.target||e(t._element).has(i.target).length||t._element.focus()}))},r.prototype._setEscapeEvent=function(){var t=this;this._isShown&&this._config.keyboard?e(this._element).on(l.KEYDOWN_DISMISS,(function(e){27===e.which&&t.hide()})):this._isShown||e(this._element).off(l.KEYDOWN_DISMISS)},r.prototype._setResizeEvent=function(){this._isShown?e(window).on(l.RESIZE,e.proxy(this._handleUpdate,this)):e(window).off(l.RESIZE)},r.prototype._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden","true"),this._showBackdrop((function(){e(document.body).removeClass(f),t._resetAdjustments(),t._resetScrollbar(),e(t._element).trigger(l.HIDDEN)}))},r.prototype._removeBackdrop=function(){this._backdrop&&(e(this._backdrop).remove(),this._backdrop=null)},r.prototype._showBackdrop=function(t){var i=this,n=e(this._element).hasClass(g)?g:"";if(this._isShown&&this._config.backdrop){var o=p.supportsTransitionEnd()&&n;if(this._backdrop=document.createElement("div"),this._backdrop.className=u,n&&e(this._backdrop).addClass(n),e(this._backdrop).appendTo(document.body),e(this._element).on(l.CLICK_DISMISS,(function(t){return i._ignoreBackdropClick?void(i._ignoreBackdropClick=!1):void(t.target===t.currentTarget&&("static"===i._config.backdrop?i._element.focus():i.hide()))})),o&&p.reflow(this._backdrop),e(this._backdrop).addClass(m),!t)return;if(!o)return void t();e(this._backdrop).one(p.TRANSITION_END,t).emulateTransitionEnd(150)}else if(!this._isShown&&this._backdrop){e(this._backdrop).removeClass(m);var r=function(){i._removeBackdrop(),t&&t()};p.supportsTransitionEnd()&&e(this._element).hasClass(g)?e(this._backdrop).one(p.TRANSITION_END,r).emulateTransitionEnd(150):r()}else t&&t()},r.prototype._handleUpdate=function(){this._adjustDialog()},r.prototype._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},r.prototype._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},r.prototype._checkScrollbar=function(){this._isBodyOverflowing=document.body.clientWidth<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},r.prototype._setScrollbar=function(){var t=parseInt(e(b).css("padding-right")||0,10);this._originalBodyPadding=document.body.style.paddingRight||"",this._isBodyOverflowing&&(document.body.style.paddingRight=t+this._scrollbarWidth+"px")},r.prototype._resetScrollbar=function(){document.body.style.paddingRight=this._originalBodyPadding},r.prototype._getScrollbarWidth=function(){var t=document.createElement("div");t.className=c,document.body.appendChild(t);var e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),e},r._jQueryInterface=function(t,i){return this.each((function(){var o=e(this).data(n),s=e.extend({},r.Default,e(this).data(),"object"===(void 0===t?"undefined":h(t))&&t);if(o||(o=new r(this,s),e(this).data(n,o)),"string"==typeof t){if(void 0===o[t])throw new Error('No method named "'+t+'"');o[t](i)}else s.show&&o.show(i)}))},d(r,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}},{key:"Default",get:function(){return s}}]),r}();e(document).on(l.CLICK_DATA_API,y,(function(t){var i=this,o=void 0,r=p.getSelectorFromElement(this);r&&(o=e(r)[0]);var s=e(o).data(n)?"toggle":e.extend({},e(o).data(),e(this).data());"A"===this.tagName&&t.preventDefault();var a=e(o).one(l.SHOW,(function(t){t.isDefaultPrevented()||a.one(l.HIDDEN,(function(){e(i).is(":visible")&&i.focus()}))}));w._jQueryInterface.call(e(o),s,this)})),e.fn[i]=w._jQueryInterface,e.fn[i].Constructor=w,e.fn[i].noConflict=function(){return e.fn[i]=r,w._jQueryInterface}}(jQuery),function(e){var i="scrollspy",n="bs.scrollspy",o="."+n,r=e.fn[i],s={offset:10,method:"auto",target:""},a={offset:"number",method:"string",target:"(string|element)"},l={ACTIVATE:"activate"+o,SCROLL:"scroll"+o,LOAD_DATA_API:"load"+o+".data-api"},c="dropdown-item",u="active",f='[data-spy="scroll"]',g=".active",m="li",v=".nav-link",y=".dropdown",_=".dropdown-item",b=".dropdown-toggle",w="offset",x="position",S=function(){function r(i,n){t(this,r),this._element=i,this._scrollElement="BODY"===i.tagName?window:i,this._config=this._getConfig(n),this._selector=this._config.target+" "+v+","+this._config.target+" "+_,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,e(this._scrollElement).on(l.SCROLL,e.proxy(this._process,this)),this.refresh(),this._process()}return r.prototype.refresh=function(){var t=this,i=this._scrollElement!==this._scrollElement.window?x:w,n="auto"===this._config.method?i:this._config.method,o=n===x?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),e.makeArray(e(this._selector)).map((function(t){var i=void 0,r=p.getSelectorFromElement(t);return r&&(i=e(r)[0]),i&&(i.offsetWidth||i.offsetHeight)?[e(i)[n]().top+o,r]:null})).filter((function(t){return t})).sort((function(t,e){return t[0]-e[0]})).forEach((function(e){t._offsets.push(e[0]),t._targets.push(e[1])}))},r.prototype.dispose=function(){e.removeData(this._element,n),e(this._scrollElement).off(o),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},r.prototype._getConfig=function(t){if("string"!=typeof(t=e.extend({},s,t)).target){var n=e(t.target).attr("id");n||(n=p.getUID(i),e(t.target).attr("id",n)),t.target="#"+n}return p.typeCheckConfig(i,t,a),t},r.prototype._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.scrollY:this._scrollElement.scrollTop},r.prototype._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},r.prototype._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),i=this._config.offset+e-this._scrollElement.offsetHeight;if(this._scrollHeight!==e&&this.refresh(),t>=i){var n=this._targets[this._targets.length-1];this._activeTarget!==n&&this._activate(n)}if(this._activeTarget&&t<this._offsets[0])return this._activeTarget=null,void this._clear();for(var o=this._offsets.length;o--;){this._activeTarget!==this._targets[o]&&t>=this._offsets[o]&&(void 0===this._offsets[o+1]||t<this._offsets[o+1])&&this._activate(this._targets[o])}},r.prototype._activate=function(t){this._activeTarget=t,this._clear();var i=this._selector.split(",");i=i.map((function(e){return e+'[data-target="'+t+'"],'+e+'[href="'+t+'"]'}));var n=e(i.join(","));n.hasClass(c)?(n.closest(y).find(b).addClass(u),n.addClass(u)):n.parents(m).find(v).addClass(u),e(this._scrollElement).trigger(l.ACTIVATE,{relatedTarget:t})},r.prototype._clear=function(){e(this._selector).filter(g).removeClass(u)},r._jQueryInterface=function(t){return this.each((function(){var i=e(this).data(n),o="object"===(void 0===t?"undefined":h(t))&&t||null;if(i||(i=new r(this,o),e(this).data(n,i)),"string"==typeof t){if(void 0===i[t])throw new Error('No method named "'+t+'"');i[t]()}}))},d(r,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}},{key:"Default",get:function(){return s}}]),r}();e(window).on(l.LOAD_DATA_API,(function(){for(var t=e.makeArray(e(f)),i=t.length;i--;){var n=e(t[i]);S._jQueryInterface.call(n,n.data())}})),e.fn[i]=S._jQueryInterface,e.fn[i].Constructor=S,e.fn[i].noConflict=function(){return e.fn[i]=r,S._jQueryInterface}}(jQuery),function(e){var i="tab",n="bs.tab",o="."+n,r=e.fn[i],s={HIDE:"hide"+o,HIDDEN:"hidden"+o,SHOW:"show"+o,SHOWN:"shown"+o,CLICK_DATA_API:"click"+o+".data-api"},a="dropdown-menu",l="active",c="fade",u="in",h=".dropdown",f="ul:not(.dropdown-menu)",g="> .nav-item .fade, > .fade",m=".active",v="> .nav-item > .active, > .active",y='[data-toggle="tab"], [data-toggle="pill"]',_=".dropdown-toggle",b="> .dropdown-menu .active",w=function(){function i(e){t(this,i),this._element=e}return i.prototype.show=function(){var t=this;if(!this._element.parentNode||this._element.parentNode.nodeType!==Node.ELEMENT_NODE||!e(this._element).hasClass(l)){var i=void 0,n=void 0,o=e(this._element).closest(f)[0],r=p.getSelectorFromElement(this._element);o&&(n=(n=e.makeArray(e(o).find(m)))[n.length-1]);var a=e.Event(s.HIDE,{relatedTarget:this._element}),c=e.Event(s.SHOW,{relatedTarget:n});if(n&&e(n).trigger(a),e(this._element).trigger(c),!c.isDefaultPrevented()&&!a.isDefaultPrevented()){r&&(i=e(r)[0]),this._activate(this._element,o);var u=function(){var i=e.Event(s.HIDDEN,{relatedTarget:t._element}),o=e.Event(s.SHOWN,{relatedTarget:n});e(n).trigger(i),e(t._element).trigger(o)};i?this._activate(i,i.parentNode,u):u()}}},i.prototype.dispose=function(){e.removeClass(this._element,n),this._element=null},i.prototype._activate=function(t,i,n){var o=e(i).find(v)[0],r=n&&p.supportsTransitionEnd()&&(o&&e(o).hasClass(c)||Boolean(e(i).find(g)[0])),s=e.proxy(this._transitionComplete,this,t,o,r,n);o&&r?e(o).one(p.TRANSITION_END,s).emulateTransitionEnd(150):s(),o&&e(o).removeClass(u)},i.prototype._transitionComplete=function(t,i,n,o){if(i){e(i).removeClass(l);var r=e(i).find(b)[0];r&&e(r).removeClass(l),i.setAttribute("aria-expanded",!1)}if(e(t).addClass(l),t.setAttribute("aria-expanded",!0),n?(p.reflow(t),e(t).addClass(u)):e(t).removeClass(c),t.parentNode&&e(t.parentNode).hasClass(a)){var s=e(t).closest(h)[0];s&&e(s).find(_).addClass(l),t.setAttribute("aria-expanded",!0)}o&&o()},i._jQueryInterface=function(t){return this.each((function(){var o=e(this),r=o.data(n);if(r||(r=r=new i(this),o.data(n,r)),"string"==typeof t){if(void 0===r[t])throw new Error('No method named "'+t+'"');r[t]()}}))},d(i,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}}]),i}();e(document).on(s.CLICK_DATA_API,y,(function(t){t.preventDefault(),w._jQueryInterface.call(e(this),"show")})),e.fn[i]=w._jQueryInterface,e.fn[i].Constructor=w,e.fn[i].noConflict=function(){return e.fn[i]=r,w._jQueryInterface}}(jQuery),function(e){if(void 0===window.Tether)throw new Error("Bootstrap tooltips require Tether (http://tether.io/)");var i="tooltip",n="bs.tooltip",o="."+n,r=e.fn[i],s={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:"0 0",constraints:[]},a={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"string",constraints:"array"},l={TOP:"bottom center",RIGHT:"middle left",BOTTOM:"top center",LEFT:"middle right"},c="in",u="out",f={HIDE:"hide"+o,HIDDEN:"hidden"+o,SHOW:"show"+o,SHOWN:"shown"+o,INSERTED:"inserted"+o,CLICK:"click"+o,FOCUSIN:"focusin"+o,FOCUSOUT:"focusout"+o,MOUSEENTER:"mouseenter"+o,MOUSELEAVE:"mouseleave"+o},g="fade",m="in",v=".tooltip-inner",y={element:!1,enabled:!1},_="hover",b="focus",w="manual",x=function(){function r(e,i){t(this,r),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._tether=null,this.element=e,this.config=this._getConfig(i),this.tip=null,this._setListeners()}return r.prototype.enable=function(){this._isEnabled=!0},r.prototype.disable=function(){this._isEnabled=!1},r.prototype.toggleEnabled=function(){this._isEnabled=!this._isEnabled},r.prototype.toggle=function(t){if(t){var i=this.constructor.DATA_KEY,n=e(t.currentTarget).data(i);n||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(i,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(e(this.getTipElement()).hasClass(m))return void this._leave(null,this);this._enter(null,this)}},r.prototype.dispose=function(){clearTimeout(this._timeout),this.cleanupTether(),e.removeData(this.element,this.constructor.DATA_KEY),e(this.element).off(this.constructor.EVENT_KEY),this.tip&&e(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._tether=null,this.element=null,this.config=null,this.tip=null},r.prototype.show=function(){var t=this,i=e.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){e(this.element).trigger(i);var n=e.contains(this.element.ownerDocument.documentElement,this.element);if(i.isDefaultPrevented()||!n)return;var o=this.getTipElement(),s=p.getUID(this.constructor.NAME);o.setAttribute("id",s),this.element.setAttribute("aria-describedby",s),this.setContent(),this.config.animation&&e(o).addClass(g);var a="function"==typeof this.config.placement?this.config.placement.call(this,o,this.element):this.config.placement,l=this._getAttachment(a);e(o).data(this.constructor.DATA_KEY,this).appendTo(document.body),e(this.element).trigger(this.constructor.Event.INSERTED),this._tether=new Tether({attachment:l,element:o,target:this.element,classes:y,classPrefix:"bs-tether",offset:this.config.offset,constraints:this.config.constraints,addTargetClasses:!1}),p.reflow(o),this._tether.position(),e(o).addClass(m);var c=function(){var i=t._hoverState;t._hoverState=null,e(t.element).trigger(t.constructor.Event.SHOWN),i===u&&t._leave(null,t)};if(p.supportsTransitionEnd()&&e(this.tip).hasClass(g))return void e(this.tip).one(p.TRANSITION_END,c).emulateTransitionEnd(r._TRANSITION_DURATION);c()}},r.prototype.hide=function(t){var i=this,n=this.getTipElement(),o=e.Event(this.constructor.Event.HIDE),r=function(){i._hoverState!==c&&n.parentNode&&n.parentNode.removeChild(n),i.element.removeAttribute("aria-describedby"),e(i.element).trigger(i.constructor.Event.HIDDEN),i.cleanupTether(),t&&t()};e(this.element).trigger(o),o.isDefaultPrevented()||(e(n).removeClass(m),p.supportsTransitionEnd()&&e(this.tip).hasClass(g)?e(n).one(p.TRANSITION_END,r).emulateTransitionEnd(150):r(),this._hoverState="")},r.prototype.isWithContent=function(){return Boolean(this.getTitle())},r.prototype.getTipElement=function(){return this.tip=this.tip||e(this.config.template)[0]},r.prototype.setContent=function(){var t=e(this.getTipElement());this.setElementContent(t.find(v),this.getTitle()),t.removeClass(g).removeClass(m),this.cleanupTether()},r.prototype.setElementContent=function(t,i){var n=this.config.html;"object"===(void 0===i?"undefined":h(i))&&(i.nodeType||i.jquery)?n?e(i).parent().is(t)||t.empty().append(i):t.text(e(i).text()):t[n?"html":"text"](i)},r.prototype.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},r.prototype.cleanupTether=function(){this._tether&&this._tether.destroy()},r.prototype._getAttachment=function(t){return l[t.toUpperCase()]},r.prototype._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach((function(i){if("click"===i)e(t.element).on(t.constructor.Event.CLICK,t.config.selector,e.proxy(t.toggle,t));else if(i!==w){var n=i===_?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,o=i===_?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;e(t.element).on(n,t.config.selector,e.proxy(t._enter,t)).on(o,t.config.selector,e.proxy(t._leave,t))}})),this.config.selector?this.config=e.extend({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},r.prototype._fixTitle=function(){var t=h(this.element.getAttribute("data-original-title"));(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},r.prototype._enter=function(t,i){var n=this.constructor.DATA_KEY;return(i=i||e(t.currentTarget).data(n))||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(n,i)),t&&(i._activeTrigger["focusin"===t.type?b:_]=!0),e(i.getTipElement()).hasClass(m)||i._hoverState===c?void(i._hoverState=c):(clearTimeout(i._timeout),i._hoverState=c,i.config.delay&&i.config.delay.show?void(i._timeout=setTimeout((function(){i._hoverState===c&&i.show()}),i.config.delay.show)):void i.show())},r.prototype._leave=function(t,i){var n=this.constructor.DATA_KEY;if((i=i||e(t.currentTarget).data(n))||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(n,i)),t&&(i._activeTrigger["focusout"===t.type?b:_]=!1),!i._isWithActiveTrigger())return clearTimeout(i._timeout),i._hoverState=u,i.config.delay&&i.config.delay.hide?void(i._timeout=setTimeout((function(){i._hoverState===u&&i.hide()}),i.config.delay.hide)):void i.hide()},r.prototype._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},r.prototype._getConfig=function(t){return(t=e.extend({},this.constructor.Default,e(this.element).data(),t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),p.typeCheckConfig(i,t,this.constructor.DefaultType),t},r.prototype._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},r._jQueryInterface=function(t){return this.each((function(){var i=e(this).data(n),o="object"===(void 0===t?"undefined":h(t))?t:null;if((i||!/dispose|hide/.test(t))&&(i||(i=new r(this,o),e(this).data(n,i)),"string"==typeof t)){if(void 0===i[t])throw new Error('No method named "'+t+'"');i[t]()}}))},d(r,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}},{key:"Default",get:function(){return s}},{key:"NAME",get:function(){return i}},{key:"DATA_KEY",get:function(){return n}},{key:"Event",get:function(){return f}},{key:"EVENT_KEY",get:function(){return o}},{key:"DefaultType",get:function(){return a}}]),r}();return e.fn[i]=x._jQueryInterface,e.fn[i].Constructor=x,e.fn[i].noConflict=function(){return e.fn[i]=r,x._jQueryInterface},x}(jQuery));!function(e){var i="popover",n="bs.popover",o="."+n,r=e.fn[i],s=e.extend({},f.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),a=e.extend({},f.DefaultType,{content:"(string|element|function)"}),l="fade",c="in",u=".popover-title",p=".popover-content",g={HIDE:"hide"+o,HIDDEN:"hidden"+o,SHOW:"show"+o,SHOWN:"shown"+o,INSERTED:"inserted"+o,CLICK:"click"+o,FOCUSIN:"focusin"+o,FOCUSOUT:"focusout"+o,MOUSEENTER:"mouseenter"+o,MOUSELEAVE:"mouseleave"+o},m=function(r){function f(){return t(this,f),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,r.apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(f,r),f.prototype.isWithContent=function(){return this.getTitle()||this._getContent()},f.prototype.getTipElement=function(){return this.tip=this.tip||e(this.config.template)[0]},f.prototype.setContent=function(){var t=e(this.getTipElement());this.setElementContent(t.find(u),this.getTitle()),this.setElementContent(t.find(p),this._getContent()),t.removeClass(l).removeClass(c),this.cleanupTether()},f.prototype._getContent=function(){return this.element.getAttribute("data-content")||("function"==typeof this.config.content?this.config.content.call(this.element):this.config.content)},f._jQueryInterface=function(t){return this.each((function(){var i=e(this).data(n),o="object"===(void 0===t?"undefined":h(t))?t:null;if((i||!/destroy|hide/.test(t))&&(i||(i=new f(this,o),e(this).data(n,i)),"string"==typeof t)){if(void 0===i[t])throw new Error('No method named "'+t+'"');i[t]()}}))},d(f,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}},{key:"Default",get:function(){return s}},{key:"NAME",get:function(){return i}},{key:"DATA_KEY",get:function(){return n}},{key:"Event",get:function(){return g}},{key:"EVENT_KEY",get:function(){return o}},{key:"DefaultType",get:function(){return a}}]),f}(f);e.fn[i]=m._jQueryInterface,e.fn[i].Constructor=m,e.fn[i].noConflict=function(){return e.fn[i]=r,m._jQueryInterface}}(jQuery)}()},895:t=>{"use strict";var e,i="object"==typeof Reflect?Reflect:null,n=i&&"function"==typeof i.apply?i.apply:function(t,e,i){return Function.prototype.apply.call(t,e,i)};e=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var o=Number.isNaN||function(t){return t!=t};function r(){r.init.call(this)}t.exports=r,t.exports.once=function(t,e){return new Promise((function(i,n){function o(i){t.removeListener(e,r),n(i)}function r(){"function"==typeof t.removeListener&&t.removeListener("error",o),i([].slice.call(arguments))}g(t,e,r,{once:!0}),"error"!==e&&function(t,e,i){"function"==typeof t.on&&g(t,"error",e,i)}(t,o,{once:!0})}))},r.EventEmitter=r,r.prototype._events=void 0,r.prototype._eventsCount=0,r.prototype._maxListeners=void 0;var s=10;function a(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function l(t){return void 0===t._maxListeners?r.defaultMaxListeners:t._maxListeners}function c(t,e,i,n){var o,r,s,c;if(a(i),void 0===(r=t._events)?(r=t._events=Object.create(null),t._eventsCount=0):(void 0!==r.newListener&&(t.emit("newListener",e,i.listener?i.listener:i),r=t._events),s=r[e]),void 0===s)s=r[e]=i,++t._eventsCount;else if("function"==typeof s?s=r[e]=n?[i,s]:[s,i]:n?s.unshift(i):s.push(i),(o=l(t))>0&&s.length>o&&!s.warned){s.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=t,u.type=e,u.count=s.length,c=u,console&&console.warn&&console.warn(c)}return t}function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function h(t,e,i){var n={fired:!1,wrapFn:void 0,target:t,type:e,listener:i},o=u.bind(n);return o.listener=i,n.wrapFn=o,o}function d(t,e,i){var n=t._events;if(void 0===n)return[];var o=n[e];return void 0===o?[]:"function"==typeof o?i?[o.listener||o]:[o]:i?function(t){for(var e=new Array(t.length),i=0;i<e.length;++i)e[i]=t[i].listener||t[i];return e}(o):f(o,o.length)}function p(t){var e=this._events;if(void 0!==e){var i=e[t];if("function"==typeof i)return 1;if(void 0!==i)return i.length}return 0}function f(t,e){for(var i=new Array(e),n=0;n<e;++n)i[n]=t[n];return i}function g(t,e,i,n){if("function"==typeof t.on)n.once?t.once(e,i):t.on(e,i);else{if("function"!=typeof t.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t);t.addEventListener(e,(function o(r){n.once&&t.removeEventListener(e,o),i(r)}))}}Object.defineProperty(r,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(t){if("number"!=typeof t||t<0||o(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");s=t}}),r.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},r.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||o(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},r.prototype.getMaxListeners=function(){return l(this)},r.prototype.emit=function(t){for(var e=[],i=1;i<arguments.length;i++)e.push(arguments[i]);var o="error"===t,r=this._events;if(void 0!==r)o=o&&void 0===r.error;else if(!o)return!1;if(o){var s;if(e.length>0&&(s=e[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var l=r[t];if(void 0===l)return!1;if("function"==typeof l)n(l,this,e);else{var c=l.length,u=f(l,c);for(i=0;i<c;++i)n(u[i],this,e)}return!0},r.prototype.addListener=function(t,e){return c(this,t,e,!1)},r.prototype.on=r.prototype.addListener,r.prototype.prependListener=function(t,e){return c(this,t,e,!0)},r.prototype.once=function(t,e){return a(e),this.on(t,h(this,t,e)),this},r.prototype.prependOnceListener=function(t,e){return a(e),this.prependListener(t,h(this,t,e)),this},r.prototype.removeListener=function(t,e){var i,n,o,r,s;if(a(e),void 0===(n=this._events))return this;if(void 0===(i=n[t]))return this;if(i===e||i.listener===e)0==--this._eventsCount?this._events=Object.create(null):(delete n[t],n.removeListener&&this.emit("removeListener",t,i.listener||e));else if("function"!=typeof i){for(o=-1,r=i.length-1;r>=0;r--)if(i[r]===e||i[r].listener===e){s=i[r].listener,o=r;break}if(o<0)return this;0===o?i.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(i,o),1===i.length&&(n[t]=i[0]),void 0!==n.removeListener&&this.emit("removeListener",t,s||e)}return this},r.prototype.off=r.prototype.removeListener,r.prototype.removeAllListeners=function(t){var e,i,n;if(void 0===(i=this._events))return this;if(void 0===i.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==i[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete i[t]),this;if(0===arguments.length){var o,r=Object.keys(i);for(n=0;n<r.length;++n)"removeListener"!==(o=r[n])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(e=i[t]))this.removeListener(t,e);else if(void 0!==e)for(n=e.length-1;n>=0;n--)this.removeListener(t,e[n]);return this},r.prototype.listeners=function(t){return d(this,t,!0)},r.prototype.rawListeners=function(t){return d(this,t,!1)},r.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):p.call(t,e)},r.prototype.listenerCount=p,r.prototype.eventNames=function(){return this._eventsCount>0?e(this._events):[]}},632:(t,e,i)=>{"use strict";t.exports=function(){if("object"==typeof globalThis)return globalThis;var t;try{t=this||new Function("return this")()}catch(t){if("object"==typeof window)return window;if("object"==typeof self)return self;if(void 0!==i.g)return i.g}return t}()},479:t=>{t.exports=function t(e,i,n){function o(s,a){if(!i[s]){if(!e[s]){if(r)return r(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var c=i[s]={exports:{}};e[s][0].call(c.exports,(function(t){var i=e[s][1][t];return o(i||t)}),c,c.exports,t,e,i,n)}return i[s].exports}for(var r=void 0,s=0;s<n.length;s++)o(n[s]);return o}({1:[function(t,e,i){e.exports=function(t){var e,i,n,o=-1;if(t.lines.length>1&&"flex-start"===t.style.alignContent)for(e=0;n=t.lines[++o];)n.crossStart=e,e+=n.cross;else if(t.lines.length>1&&"flex-end"===t.style.alignContent)for(e=t.flexStyle.crossSpace;n=t.lines[++o];)n.crossStart=e,e+=n.cross;else if(t.lines.length>1&&"center"===t.style.alignContent)for(e=t.flexStyle.crossSpace/2;n=t.lines[++o];)n.crossStart=e,e+=n.cross;else if(t.lines.length>1&&"space-between"===t.style.alignContent)for(i=t.flexStyle.crossSpace/(t.lines.length-1),e=0;n=t.lines[++o];)n.crossStart=e,e+=n.cross+i;else if(t.lines.length>1&&"space-around"===t.style.alignContent)for(e=(i=2*t.flexStyle.crossSpace/(2*t.lines.length))/2;n=t.lines[++o];)n.crossStart=e,e+=n.cross+i;else for(i=t.flexStyle.crossSpace/t.lines.length,e=t.flexStyle.crossInnerBefore;n=t.lines[++o];)n.crossStart=e,n.cross+=i,e+=n.cross}},{}],2:[function(t,e,i){e.exports=function(t){for(var e,i=-1;line=t.lines[++i];)for(e=-1;child=line.children[++e];){var n=child.style.alignSelf;"auto"===n&&(n=t.style.alignItems),"flex-start"===n?child.flexStyle.crossStart=line.crossStart:"flex-end"===n?child.flexStyle.crossStart=line.crossStart+line.cross-child.flexStyle.crossOuter:"center"===n?child.flexStyle.crossStart=line.crossStart+(line.cross-child.flexStyle.crossOuter)/2:(child.flexStyle.crossStart=line.crossStart,child.flexStyle.crossOuter=line.cross,child.flexStyle.cross=child.flexStyle.crossOuter-child.flexStyle.crossBefore-child.flexStyle.crossAfter)}}},{}],3:[function(t,e,i){e.exports=function(t,e){var i="row"===e||"row-reverse"===e,n=t.mainAxis;n?i&&"inline"===n||!i&&"block"===n||(t.flexStyle={main:t.flexStyle.cross,cross:t.flexStyle.main,mainOffset:t.flexStyle.crossOffset,crossOffset:t.flexStyle.mainOffset,mainBefore:t.flexStyle.crossBefore,mainAfter:t.flexStyle.crossAfter,crossBefore:t.flexStyle.mainBefore,crossAfter:t.flexStyle.mainAfter,mainInnerBefore:t.flexStyle.crossInnerBefore,mainInnerAfter:t.flexStyle.crossInnerAfter,crossInnerBefore:t.flexStyle.mainInnerBefore,crossInnerAfter:t.flexStyle.mainInnerAfter,mainBorderBefore:t.flexStyle.crossBorderBefore,mainBorderAfter:t.flexStyle.crossBorderAfter,crossBorderBefore:t.flexStyle.mainBorderBefore,crossBorderAfter:t.flexStyle.mainBorderAfter}):(t.flexStyle=i?{main:t.style.width,cross:t.style.height,mainOffset:t.style.offsetWidth,crossOffset:t.style.offsetHeight,mainBefore:t.style.marginLeft,mainAfter:t.style.marginRight,crossBefore:t.style.marginTop,crossAfter:t.style.marginBottom,mainInnerBefore:t.style.paddingLeft,mainInnerAfter:t.style.paddingRight,crossInnerBefore:t.style.paddingTop,crossInnerAfter:t.style.paddingBottom,mainBorderBefore:t.style.borderLeftWidth,mainBorderAfter:t.style.borderRightWidth,crossBorderBefore:t.style.borderTopWidth,crossBorderAfter:t.style.borderBottomWidth}:{main:t.style.height,cross:t.style.width,mainOffset:t.style.offsetHeight,crossOffset:t.style.offsetWidth,mainBefore:t.style.marginTop,mainAfter:t.style.marginBottom,crossBefore:t.style.marginLeft,crossAfter:t.style.marginRight,mainInnerBefore:t.style.paddingTop,mainInnerAfter:t.style.paddingBottom,crossInnerBefore:t.style.paddingLeft,crossInnerAfter:t.style.paddingRight,mainBorderBefore:t.style.borderTopWidth,mainBorderAfter:t.style.borderBottomWidth,crossBorderBefore:t.style.borderLeftWidth,crossBorderAfter:t.style.borderRightWidth},"content-box"===t.style.boxSizing&&("number"==typeof t.flexStyle.main&&(t.flexStyle.main+=t.flexStyle.mainInnerBefore+t.flexStyle.mainInnerAfter+t.flexStyle.mainBorderBefore+t.flexStyle.mainBorderAfter),"number"==typeof t.flexStyle.cross&&(t.flexStyle.cross+=t.flexStyle.crossInnerBefore+t.flexStyle.crossInnerAfter+t.flexStyle.crossBorderBefore+t.flexStyle.crossBorderAfter))),t.mainAxis=i?"inline":"block",t.crossAxis=i?"block":"inline","number"==typeof t.style.flexBasis&&(t.flexStyle.main=t.style.flexBasis+t.flexStyle.mainInnerBefore+t.flexStyle.mainInnerAfter+t.flexStyle.mainBorderBefore+t.flexStyle.mainBorderAfter),t.flexStyle.mainOuter=t.flexStyle.main,t.flexStyle.crossOuter=t.flexStyle.cross,"auto"===t.flexStyle.mainOuter&&(t.flexStyle.mainOuter=t.flexStyle.mainOffset),"auto"===t.flexStyle.crossOuter&&(t.flexStyle.crossOuter=t.flexStyle.crossOffset),"number"==typeof t.flexStyle.mainBefore&&(t.flexStyle.mainOuter+=t.flexStyle.mainBefore),"number"==typeof t.flexStyle.mainAfter&&(t.flexStyle.mainOuter+=t.flexStyle.mainAfter),"number"==typeof t.flexStyle.crossBefore&&(t.flexStyle.crossOuter+=t.flexStyle.crossBefore),"number"==typeof t.flexStyle.crossAfter&&(t.flexStyle.crossOuter+=t.flexStyle.crossAfter)}},{}],4:[function(t,e,i){var n=t("../reduce");e.exports=function(t){if(t.mainSpace>0){var e=n(t.children,(function(t,e){return t+parseFloat(e.style.flexGrow)}),0);e>0&&(t.main=n(t.children,(function(i,n){return"auto"===n.flexStyle.main?n.flexStyle.main=n.flexStyle.mainOffset+parseFloat(n.style.flexGrow)/e*t.mainSpace:n.flexStyle.main+=parseFloat(n.style.flexGrow)/e*t.mainSpace,n.flexStyle.mainOuter=n.flexStyle.main+n.flexStyle.mainBefore+n.flexStyle.mainAfter,i+n.flexStyle.mainOuter}),0),t.mainSpace=0)}}},{"../reduce":12}],5:[function(t,e,i){var n=t("../reduce");e.exports=function(t){if(t.mainSpace<0){var e=n(t.children,(function(t,e){return t+parseFloat(e.style.flexShrink)}),0);e>0&&(t.main=n(t.children,(function(i,n){return n.flexStyle.main+=parseFloat(n.style.flexShrink)/e*t.mainSpace,n.flexStyle.mainOuter=n.flexStyle.main+n.flexStyle.mainBefore+n.flexStyle.mainAfter,i+n.flexStyle.mainOuter}),0),t.mainSpace=0)}}},{"../reduce":12}],6:[function(t,e,i){var n=t("../reduce");e.exports=function(t){var e;t.lines=[e={main:0,cross:0,children:[]}];for(var i,o=-1;i=t.children[++o];)"nowrap"===t.style.flexWrap||0===e.children.length||"auto"===t.flexStyle.main||t.flexStyle.main-t.flexStyle.mainInnerBefore-t.flexStyle.mainInnerAfter-t.flexStyle.mainBorderBefore-t.flexStyle.mainBorderAfter>=e.main+i.flexStyle.mainOuter?(e.main+=i.flexStyle.mainOuter,e.cross=Math.max(e.cross,i.flexStyle.crossOuter)):t.lines.push(e={main:i.flexStyle.mainOuter,cross:i.flexStyle.crossOuter,children:[]}),e.children.push(i);t.flexStyle.mainLines=n(t.lines,(function(t,e){return Math.max(t,e.main)}),0),t.flexStyle.crossLines=n(t.lines,(function(t,e){return t+e.cross}),0),"auto"===t.flexStyle.main&&(t.flexStyle.main=Math.max(t.flexStyle.mainOffset,t.flexStyle.mainLines+t.flexStyle.mainInnerBefore+t.flexStyle.mainInnerAfter+t.flexStyle.mainBorderBefore+t.flexStyle.mainBorderAfter)),"auto"===t.flexStyle.cross&&(t.flexStyle.cross=Math.max(t.flexStyle.crossOffset,t.flexStyle.crossLines+t.flexStyle.crossInnerBefore+t.flexStyle.crossInnerAfter+t.flexStyle.crossBorderBefore+t.flexStyle.crossBorderAfter)),t.flexStyle.crossSpace=t.flexStyle.cross-t.flexStyle.crossInnerBefore-t.flexStyle.crossInnerAfter-t.flexStyle.crossBorderBefore-t.flexStyle.crossBorderAfter-t.flexStyle.crossLines,t.flexStyle.mainOuter=t.flexStyle.main+t.flexStyle.mainBefore+t.flexStyle.mainAfter,t.flexStyle.crossOuter=t.flexStyle.cross+t.flexStyle.crossBefore+t.flexStyle.crossAfter}},{"../reduce":12}],7:[function(t,e,i){function n(e){for(var i,n=-1;i=e.children[++n];)t("./flex-direction")(i,e.style.flexDirection);t("./flex-direction")(e,e.style.flexDirection),t("./order")(e),t("./flexbox-lines")(e),t("./align-content")(e),n=-1;for(var o;o=e.lines[++n];)o.mainSpace=e.flexStyle.main-e.flexStyle.mainInnerBefore-e.flexStyle.mainInnerAfter-e.flexStyle.mainBorderBefore-e.flexStyle.mainBorderAfter-o.main,t("./flex-grow")(o),t("./flex-shrink")(o),t("./margin-main")(o),t("./margin-cross")(o),t("./justify-content")(o,e.style.justifyContent,e);t("./align-items")(e)}e.exports=n},{"./align-content":1,"./align-items":2,"./flex-direction":3,"./flex-grow":4,"./flex-shrink":5,"./flexbox-lines":6,"./justify-content":8,"./margin-cross":9,"./margin-main":10,"./order":11}],8:[function(t,e,i){e.exports=function(t,e,i){var n,o,r,s=i.flexStyle.mainInnerBefore,a=-1;if("flex-end"===e)for(n=t.mainSpace,n+=s;r=t.children[++a];)r.flexStyle.mainStart=n,n+=r.flexStyle.mainOuter;else if("center"===e)for(n=t.mainSpace/2,n+=s;r=t.children[++a];)r.flexStyle.mainStart=n,n+=r.flexStyle.mainOuter;else if("space-between"===e)for(o=t.mainSpace/(t.children.length-1),n=0,n+=s;r=t.children[++a];)r.flexStyle.mainStart=n,n+=r.flexStyle.mainOuter+o;else if("space-around"===e)for(n=(o=2*t.mainSpace/(2*t.children.length))/2,n+=s;r=t.children[++a];)r.flexStyle.mainStart=n,n+=r.flexStyle.mainOuter+o;else for(n=0,n+=s;r=t.children[++a];)r.flexStyle.mainStart=n,n+=r.flexStyle.mainOuter}},{}],9:[function(t,e,i){e.exports=function(t){for(var e,i=-1;e=t.children[++i];){var n=0;"auto"===e.flexStyle.crossBefore&&++n,"auto"===e.flexStyle.crossAfter&&++n;var o=t.cross-e.flexStyle.crossOuter;"auto"===e.flexStyle.crossBefore&&(e.flexStyle.crossBefore=o/n),"auto"===e.flexStyle.crossAfter&&(e.flexStyle.crossAfter=o/n),"auto"===e.flexStyle.cross?e.flexStyle.crossOuter=e.flexStyle.crossOffset+e.flexStyle.crossBefore+e.flexStyle.crossAfter:e.flexStyle.crossOuter=e.flexStyle.cross+e.flexStyle.crossBefore+e.flexStyle.crossAfter}}},{}],10:[function(t,e,i){e.exports=function(t){for(var e,i=0,n=-1;e=t.children[++n];)"auto"===e.flexStyle.mainBefore&&++i,"auto"===e.flexStyle.mainAfter&&++i;if(i>0){for(n=-1;e=t.children[++n];)"auto"===e.flexStyle.mainBefore&&(e.flexStyle.mainBefore=t.mainSpace/i),"auto"===e.flexStyle.mainAfter&&(e.flexStyle.mainAfter=t.mainSpace/i),"auto"===e.flexStyle.main?e.flexStyle.mainOuter=e.flexStyle.mainOffset+e.flexStyle.mainBefore+e.flexStyle.mainAfter:e.flexStyle.mainOuter=e.flexStyle.main+e.flexStyle.mainBefore+e.flexStyle.mainAfter;t.mainSpace=0}}},{}],11:[function(t,e,i){var n=/^(column|row)-reverse$/;e.exports=function(t){t.children.sort((function(t,e){return t.style.order-e.style.order||t.index-e.index})),n.test(t.style.flexDirection)&&t.children.reverse()}},{}],12:[function(t,e,i){function n(t,e,i){for(var n=t.length,o=-1;++o<n;)o in t&&(i=e(i,t[o],o));return i}e.exports=n},{}],13:[function(t,e,i){function n(t){a(s(t))}var o=t("./read"),r=t("./write"),s=t("./readAll"),a=t("./writeAll");e.exports=n,e.exports.read=o,e.exports.write=r,e.exports.readAll=s,e.exports.writeAll=a},{"./read":15,"./readAll":16,"./write":17,"./writeAll":18}],14:[function(t,e,i){function n(t,e){var i=String(t).match(r);if(!i)return t;var n=i[1],s=i[2];return"px"===s?1*n:"cm"===s?.3937*n*96:"in"===s?96*n:"mm"===s?.3937*n*96/10:"pc"===s?12*n*96/72:"pt"===s?96*n/72:"rem"===s?16*n:o(t,e)}function o(t,e){s.style.cssText="border:none!important;clip:rect(0 0 0 0)!important;display:block!important;font-size:1em!important;height:0!important;margin:0!important;padding:0!important;position:relative!important;width:"+t+"!important",e.parentNode.insertBefore(s,e.nextSibling);var i=s.offsetWidth;return e.parentNode.removeChild(s),i}e.exports=n;var r=/^([-+]?\d*\.?\d+)(%|[a-z]+)$/,s=document.createElement("div")},{}],15:[function(t,e,i){function n(t){var e={alignContent:"stretch",alignItems:"stretch",alignSelf:"auto",borderBottomWidth:0,borderLeftWidth:0,borderRightWidth:0,borderTopWidth:0,boxSizing:"content-box",display:"inline",flexBasis:"auto",flexDirection:"row",flexGrow:0,flexShrink:1,flexWrap:"nowrap",justifyContent:"flex-start",height:"auto",marginTop:0,marginRight:0,marginLeft:0,marginBottom:0,paddingTop:0,paddingRight:0,paddingLeft:0,paddingBottom:0,maxHeight:"none",maxWidth:"none",minHeight:0,minWidth:0,order:0,position:"static",width:"auto"};if(t instanceof Element){var i=t.hasAttribute("data-style"),n=i?t.getAttribute("data-style"):t.getAttribute("style")||"";i||t.setAttribute("data-style",n),s(e,window.getComputedStyle&&getComputedStyle(t)||{});var a=t.currentStyle||{};for(var c in o(e,a),r(e,n),e)e[c]=l(e[c],t);var u=t.getBoundingClientRect();e.offsetHeight=u.height||t.offsetHeight,e.offsetWidth=u.width||t.offsetWidth}return{element:t,style:e}}function o(t,e){for(var i in t)if(i in e)t[i]=e[i];else{var n=i.replace(/[A-Z]/g,"-$&").toLowerCase();n in e&&(t[i]=e[n])}"-js-display"in e&&(t.display=e["-js-display"])}function r(t,e){for(var i;i=a.exec(e);)t[i[1].toLowerCase().replace(/-[a-z]/g,(function(t){return t.slice(1).toUpperCase()}))]=i[2]}function s(t,e){for(var i in t)i in e&&!/^(alignSelf|height|width)$/.test(i)&&(t[i]=e[i])}e.exports=n;var a=/([^\s:;]+)\s*:\s*([^;]+?)\s*(;|$)/g,l=t("./getComputedLength")},{"./getComputedLength":14}],16:[function(t,e,i){function n(t){var e=[];return o(t,e),e}function o(t,e){for(var i,n=r(t),a=[],l=-1;i=t.childNodes[++l];){var c=3===i.nodeType&&!/^\s*$/.test(i.nodeValue);if(n&&c){var u=i;(i=t.insertBefore(document.createElement("flex-item"),u)).appendChild(u)}if(i instanceof Element){var h=o(i,e);if(n){var d=i.style;d.display="inline-block",d.position="absolute",h.style=s(i).style,a.push(h)}}}var p={element:t,children:a};return n&&(p.style=s(t).style,e.push(p)),p}function r(t){var e=t instanceof Element,i=e&&t.getAttribute("data-style"),n=e&&t.currentStyle&&t.currentStyle["-js-display"];return a.test(i)||l.test(n)}e.exports=n;var s=t("../read"),a=/(^|;)\s*display\s*:\s*(inline-)?flex\s*(;|$)/i,l=/^(inline-)?flex$/i},{"../read":15}],17:[function(t,e,i){function n(t){r(t);var e=t.element.style,i="inline"===t.mainAxis?["main","cross"]:["cross","main"];e.boxSizing="content-box",e.display="block",e.position="relative",e.width=o(t.flexStyle[i[0]]-t.flexStyle[i[0]+"InnerBefore"]-t.flexStyle[i[0]+"InnerAfter"]-t.flexStyle[i[0]+"BorderBefore"]-t.flexStyle[i[0]+"BorderAfter"]),e.height=o(t.flexStyle[i[1]]-t.flexStyle[i[1]+"InnerBefore"]-t.flexStyle[i[1]+"InnerAfter"]-t.flexStyle[i[1]+"BorderBefore"]-t.flexStyle[i[1]+"BorderAfter"]);for(var n,s=-1;n=t.children[++s];){var a=n.element.style,l="inline"===n.mainAxis?["main","cross"]:["cross","main"];a.boxSizing="content-box",a.display="block",a.position="absolute","auto"!==n.flexStyle[l[0]]&&(a.width=o(n.flexStyle[l[0]]-n.flexStyle[l[0]+"InnerBefore"]-n.flexStyle[l[0]+"InnerAfter"]-n.flexStyle[l[0]+"BorderBefore"]-n.flexStyle[l[0]+"BorderAfter"])),"auto"!==n.flexStyle[l[1]]&&(a.height=o(n.flexStyle[l[1]]-n.flexStyle[l[1]+"InnerBefore"]-n.flexStyle[l[1]+"InnerAfter"]-n.flexStyle[l[1]+"BorderBefore"]-n.flexStyle[l[1]+"BorderAfter"])),a.top=o(n.flexStyle[l[1]+"Start"]),a.left=o(n.flexStyle[l[0]+"Start"]),a.marginTop=o(n.flexStyle[l[1]+"Before"]),a.marginRight=o(n.flexStyle[l[0]+"After"]),a.marginBottom=o(n.flexStyle[l[1]+"After"]),a.marginLeft=o(n.flexStyle[l[0]+"Before"])}}function o(t){return"string"==typeof t?t:Math.max(t,0)+"px"}e.exports=n;var r=t("../flexbox")},{"../flexbox":7}],18:[function(t,e,i){function n(t){for(var e,i=-1;e=t[++i];)o(e)}e.exports=n;var o=t("../write")},{"../write":17}]},{},[13])(13)},240:(t,e,i)=>{var n,o,r,s;
/*!
 * @fileOverview TouchSwipe - jQuery Plugin
 * @version 1.6.18
 *
 * @author Matt Bryson http://www.github.com/mattbryson
 * @see https://github.com/mattbryson/TouchSwipe-Jquery-Plugin
 * @see http://labs.rampinteractive.co.uk/touchSwipe/
 * @see http://plugins.jquery.com/project/touchSwipe
 * @license
 * Copyright (c) 2010-2015 Matt Bryson
 * Dual licensed under the MIT or GPL Version 2 licenses.
 *
 */s=function(t){"use strict";function e(e){return!e||void 0!==e.allowPageScroll||void 0===e.swipe&&void 0===e.swipeStatus||(e.allowPageScroll=c),void 0!==e.click&&void 0===e.tap&&(e.tap=e.click),e||(e={}),e=t.extend({},t.fn.swipe.defaults,e),this.each((function(){var n=t(this),o=n.data(k);o||(o=new i(this,e),n.data(k,o))}))}function i(e,i){function A(e){if(!(!0===xt.data(k+"_intouch")||t(e.target).closest(i.excludedElements,xt).length>0)){var a=e.originalEvent?e.originalEvent:e;if(!a.pointerType||"mouse"!=a.pointerType||0!=i.fallbackToMouseEvents){var l,c=a.touches,u=c?c[0]:a;return St=b,c?Ct=c.length:!1!==i.preventDefaultEvents&&e.preventDefault(),dt=0,pt=null,ft=null,bt=null,gt=0,mt=0,vt=0,yt=1,_t=0,(h={})[n]=et(n),h[o]=et(o),h[r]=et(r),h[s]=et(s),wt=h,K(),Z(0,u),!c||Ct===i.fingers||i.fingers===y||H()?(Tt=rt(),2==Ct&&(Z(1,c[1]),mt=vt=nt(Et[0].start,Et[1].start)),(i.swipeStatus||i.pinchStatus)&&(l=L(a,St))):l=!1,!1===l?(L(a,St=S),l):(i.hold&&(Dt=setTimeout(t.proxy((function(){xt.trigger("hold",[a.target]),i.hold&&(l=i.hold.call(xt,a,a.target))}),this),i.longTapThreshold)),G(!0),null)}}var h}function O(e){var h,d,p,f,g=e.originalEvent?e.originalEvent:e;if(St!==x&&St!==S&&!X()){var _,b=g.touches,C=J(b?b[0]:g);if(kt=rt(),b&&(Ct=b.length),i.hold&&clearTimeout(Dt),St=w,2==Ct&&(0==mt?(Z(1,b[1]),mt=vt=nt(Et[0].start,Et[1].start)):(J(b[1]),vt=nt(Et[0].end,Et[1].end),Et[0].end,Et[1].end,bt=1>yt?l:a),yt=(vt/mt*1).toFixed(2),_t=Math.abs(mt-vt)),Ct===i.fingers||i.fingers===y||!b||H()){if(pt=ot(C.start,C.end),function(t,e){if(!1!==i.preventDefaultEvents)if(i.allowPageScroll===c)t.preventDefault();else{var a=i.allowPageScroll===u;switch(e){case n:(i.swipeLeft&&a||!a&&i.allowPageScroll!=m)&&t.preventDefault();break;case o:(i.swipeRight&&a||!a&&i.allowPageScroll!=m)&&t.preventDefault();break;case r:(i.swipeUp&&a||!a&&i.allowPageScroll!=v)&&t.preventDefault();break;case s:(i.swipeDown&&a||!a&&i.allowPageScroll!=v)&&t.preventDefault()}}}(e,ft=ot(C.last,C.end)),p=C.start,f=C.end,dt=Math.round(Math.sqrt(Math.pow(f.x-p.x,2)+Math.pow(f.y-p.y,2))),gt=it(),d=dt,(h=pt)!=c&&(d=Math.max(d,tt(h)),wt[h].distance=d),_=L(g,St),!i.triggerOnTouchEnd||i.triggerOnTouchLeave){var E=!0;if(i.triggerOnTouchLeave){var T=function(e){var i=(e=t(e)).offset(),n={left:i.left,right:i.left+e.outerWidth(),top:i.top,bottom:i.top+e.outerHeight()};return n}(this);E=function(t,e){return t.x>e.left&&t.x<e.right&&t.y>e.top&&t.y<e.bottom}(C.end,T)}!i.triggerOnTouchEnd&&E?St=N(w):i.triggerOnTouchLeave&&!E&&(St=N(x)),St!=S&&St!=x||L(g,St)}}else L(g,St=S);!1===_&&L(g,St=S)}}function I(t){var e=t.originalEvent?t.originalEvent:t,n=e.touches;if(n){if(n.length&&!X())return function(t){At=rt(),Ot=t.touches.length+1}(e),!0;if(n.length&&X())return!0}return X()&&(Ct=Ot),kt=rt(),gt=it(),$()||!F()?L(e,St=S):i.triggerOnTouchEnd||!1===i.triggerOnTouchEnd&&St===w?(!1!==i.preventDefaultEvents&&!1!==t.cancelable&&t.preventDefault(),L(e,St=x)):!i.triggerOnTouchEnd&&U()?B(e,St=x,p):St===w&&L(e,St=S),G(!1),null}function P(){Ct=0,kt=0,Tt=0,mt=0,vt=0,yt=1,K(),G(!1)}function D(t){var e=t.originalEvent?t.originalEvent:t;i.triggerOnTouchLeave&&L(e,St=N(x))}function j(){xt.off(at,A),xt.off(ht,P),xt.off(lt,O),xt.off(ct,I),ut&&xt.off(ut,D),G(!1)}function N(t){var e=t,n=M(),o=F(),r=$();return!n||r?e=S:!o||t!=w||i.triggerOnTouchEnd&&!i.triggerOnTouchLeave?!o&&t==x&&i.triggerOnTouchLeave&&(e=S):e=x,e}function L(t,e){var n,o=t.touches;return(!(!W()||!V())||V())&&(n=B(t,e,h)),(!(!z()||!H())||H())&&!1!==n&&(n=B(t,e,d)),Y()&&Q()&&!1!==n?n=B(t,e,f):gt>i.longTapThreshold&&_>dt&&i.longTap&&!1!==n?n=B(t,e,g):!(1!==Ct&&C||!(isNaN(dt)||dt<i.threshold)||!U())&&!1!==n&&(n=B(t,e,p)),e===S&&P(),e===x&&(o&&o.length||P()),n}function B(e,c,u){var m;if(u==h){if(xt.trigger("swipeStatus",[c,pt||null,dt||0,gt||0,Ct,Et,ft]),i.swipeStatus&&!1===(m=i.swipeStatus.call(xt,e,c,pt||null,dt||0,gt||0,Ct,Et,ft)))return!1;if(c==x&&W()){if(clearTimeout(Pt),clearTimeout(Dt),xt.trigger("swipe",[pt,dt,gt,Ct,Et,ft]),i.swipe&&!1===(m=i.swipe.call(xt,e,pt,dt,gt,Ct,Et,ft)))return!1;switch(pt){case n:xt.trigger("swipeLeft",[pt,dt,gt,Ct,Et,ft]),i.swipeLeft&&(m=i.swipeLeft.call(xt,e,pt,dt,gt,Ct,Et,ft));break;case o:xt.trigger("swipeRight",[pt,dt,gt,Ct,Et,ft]),i.swipeRight&&(m=i.swipeRight.call(xt,e,pt,dt,gt,Ct,Et,ft));break;case r:xt.trigger("swipeUp",[pt,dt,gt,Ct,Et,ft]),i.swipeUp&&(m=i.swipeUp.call(xt,e,pt,dt,gt,Ct,Et,ft));break;case s:xt.trigger("swipeDown",[pt,dt,gt,Ct,Et,ft]),i.swipeDown&&(m=i.swipeDown.call(xt,e,pt,dt,gt,Ct,Et,ft))}}}if(u==d){if(xt.trigger("pinchStatus",[c,bt||null,_t||0,gt||0,Ct,yt,Et]),i.pinchStatus&&!1===(m=i.pinchStatus.call(xt,e,c,bt||null,_t||0,gt||0,Ct,yt,Et)))return!1;if(c==x&&z())switch(bt){case a:xt.trigger("pinchIn",[bt||null,_t||0,gt||0,Ct,yt,Et]),i.pinchIn&&(m=i.pinchIn.call(xt,e,bt||null,_t||0,gt||0,Ct,yt,Et));break;case l:xt.trigger("pinchOut",[bt||null,_t||0,gt||0,Ct,yt,Et]),i.pinchOut&&(m=i.pinchOut.call(xt,e,bt||null,_t||0,gt||0,Ct,yt,Et))}}return u==p?c!==S&&c!==x||(clearTimeout(Pt),clearTimeout(Dt),Q()&&!Y()?(It=rt(),Pt=setTimeout(t.proxy((function(){It=null,xt.trigger("tap",[e.target]),i.tap&&(m=i.tap.call(xt,e,e.target))}),this),i.doubleTapThreshold)):(It=null,xt.trigger("tap",[e.target]),i.tap&&(m=i.tap.call(xt,e,e.target)))):u==f?c!==S&&c!==x||(clearTimeout(Pt),clearTimeout(Dt),It=null,xt.trigger("doubletap",[e.target]),i.doubleTap&&(m=i.doubleTap.call(xt,e,e.target))):u==g&&(c!==S&&c!==x||(clearTimeout(Pt),It=null,xt.trigger("longtap",[e.target]),i.longTap&&(m=i.longTap.call(xt,e,e.target)))),m}function F(){var t=!0;return null!==i.threshold&&(t=dt>=i.threshold),t}function $(){var t=!1;return null!==i.cancelThreshold&&null!==pt&&(t=tt(pt)-dt>=i.cancelThreshold),t}function M(){return!(i.maxTimeThreshold&&gt>=i.maxTimeThreshold)}function z(){var t=R(),e=q(),n=null===i.pinchThreshold||_t>=i.pinchThreshold;return t&&e&&n}function H(){return!!(i.pinchStatus||i.pinchIn||i.pinchOut)}function W(){var t=M(),e=F(),i=R(),n=q();return!$()&&n&&i&&e&&t}function V(){return!!(i.swipe||i.swipeStatus||i.swipeLeft||i.swipeRight||i.swipeUp||i.swipeDown)}function R(){return Ct===i.fingers||i.fingers===y||!C}function q(){return 0!==Et[0].end.x}function U(){return!!i.tap}function Q(){return!!i.doubleTap}function Y(){if(null==It)return!1;var t=rt();return Q()&&t-It<=i.doubleTapThreshold}function K(){At=0,Ot=0}function X(){var t=!1;return At&&rt()-At<=i.fingerReleaseThreshold&&(t=!0),t}function G(t){xt&&(!0===t?(xt.on(lt,O),xt.on(ct,I),ut&&xt.on(ut,D)):(xt.off(lt,O,!1),xt.off(ct,I,!1),ut&&xt.off(ut,D,!1)),xt.data(k+"_intouch",!0===t))}function Z(t,e){var i={start:{x:0,y:0},last:{x:0,y:0},end:{x:0,y:0}};return i.start.x=i.last.x=i.end.x=e.pageX||e.clientX,i.start.y=i.last.y=i.end.y=e.pageY||e.clientY,Et[t]=i,i}function J(t){var e=void 0!==t.identifier?t.identifier:0,i=function(t){return Et[t]||null}(e);return null===i&&(i=Z(e,t)),i.last.x=i.end.x,i.last.y=i.end.y,i.end.x=t.pageX||t.clientX,i.end.y=t.pageY||t.clientY,i}function tt(t){return wt[t]?wt[t].distance:void 0}function et(t){return{direction:t,distance:0}}function it(){return kt-Tt}function nt(t,e){var i=Math.abs(t.x-e.x),n=Math.abs(t.y-e.y);return Math.round(Math.sqrt(i*i+n*n))}function ot(t,e){if(a=e,(i=t).x==a.x&&i.y==a.y)return c;var i,a,l=function(t,e){var i=t.x-e.x,n=e.y-t.y,o=Math.atan2(n,i),r=Math.round(180*o/Math.PI);return 0>r&&(r=360-Math.abs(r)),r}(t,e);return 45>=l&&l>=0||360>=l&&l>=315?n:l>=135&&225>=l?o:l>45&&135>l?s:r}function rt(){return(new Date).getTime()}i=t.extend({},i);var st=C||T||!i.fallbackToMouseEvents,at=st?T?E?"MSPointerDown":"pointerdown":"touchstart":"mousedown",lt=st?T?E?"MSPointerMove":"pointermove":"touchmove":"mousemove",ct=st?T?E?"MSPointerUp":"pointerup":"touchend":"mouseup",ut=st?T?"mouseleave":null:"mouseleave",ht=T?E?"MSPointerCancel":"pointercancel":"touchcancel",dt=0,pt=null,ft=null,gt=0,mt=0,vt=0,yt=1,_t=0,bt=0,wt=null,xt=t(e),St="start",Ct=0,Et={},Tt=0,kt=0,At=0,Ot=0,It=0,Pt=null,Dt=null;try{xt.on(at,A),xt.on(ht,P)}catch(e){t.error("events not supported "+at+","+ht+" on jQuery.swipe")}this.enable=function(){return this.disable(),xt.on(at,A),xt.on(ht,P),xt},this.disable=function(){return j(),xt},this.destroy=function(){j(),xt.data(k,null),xt=null},this.option=function(e,n){if("object"==typeof e)i=t.extend(i,e);else if(void 0!==i[e]){if(void 0===n)return i[e];i[e]=n}else{if(!e)return i;t.error("Option "+e+" does not exist on jQuery.swipe.options")}return null}}var n="left",o="right",r="up",s="down",a="in",l="out",c="none",u="auto",h="swipe",d="pinch",p="tap",f="doubletap",g="longtap",m="horizontal",v="vertical",y="all",_=10,b="start",w="move",x="end",S="cancel",C="ontouchstart"in window,E=window.navigator.msPointerEnabled&&!window.PointerEvent&&!C,T=(window.PointerEvent||window.navigator.msPointerEnabled)&&!C,k="TouchSwipe";t.fn.swipe=function(i){var n=t(this),o=n.data(k);if(o&&"string"==typeof i){if(o[i])return o[i].apply(o,Array.prototype.slice.call(arguments,1));t.error("Method "+i+" does not exist on jQuery.swipe")}else if(o&&"object"==typeof i)o.option.apply(o,arguments);else if(!(o||"object"!=typeof i&&i))return e.apply(this,arguments);return n},t.fn.swipe.version="1.6.18",t.fn.swipe.defaults={fingers:1,threshold:75,cancelThreshold:null,pinchThreshold:20,maxTimeThreshold:null,fingerReleaseThreshold:250,longTapThreshold:500,doubleTapThreshold:200,swipe:null,swipeLeft:null,swipeRight:null,swipeUp:null,swipeDown:null,swipeStatus:null,pinchIn:null,pinchOut:null,pinchStatus:null,click:null,tap:null,doubleTap:null,longTap:null,hold:null,triggerOnTouchEnd:!0,triggerOnTouchLeave:!1,allowPageScroll:"auto",fallbackToMouseEvents:!0,excludedElements:".noSwipe",preventDefaultEvents:!0},t.fn.swipe.phases={PHASE_START:b,PHASE_MOVE:w,PHASE_END:x,PHASE_CANCEL:S},t.fn.swipe.directions={LEFT:n,RIGHT:o,UP:r,DOWN:s,IN:a,OUT:l},t.fn.swipe.pageScroll={NONE:c,HORIZONTAL:m,VERTICAL:v,AUTO:u},t.fn.swipe.fingers={ONE:1,TWO:2,THREE:3,FOUR:4,FIVE:5,ALL:y}},i.amdO.jQuery?(o=[i(669)],void 0===(r="function"==typeof(n=s)?n.apply(e,o):n)||(t.exports=r)):s(t.exports?i(669):jQuery)},268:()=>{!function(t,e,i,n){function o(e,i){this.settings=null,this.options=t.extend({},o.Defaults,i),this.$element=t(e),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},t.each(["onResize","onThrottledResize"],t.proxy((function(e,i){this._handlers[i]=t.proxy(this[i],this)}),this)),t.each(o.Plugins,t.proxy((function(t,e){this._plugins[t.charAt(0).toLowerCase()+t.slice(1)]=new e(this)}),this)),t.each(o.Workers,t.proxy((function(e,i){this._pipe.push({filter:i.filter,run:t.proxy(i.run,this)})}),this)),this.setup(),this.initialize()}o.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:e,fallbackEasing:"swing",slideTransition:"",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},o.Width={Default:"default",Inner:"inner",Outer:"outer"},o.Type={Event:"event",State:"state"},o.Plugins={},o.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(t){t.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(t){var e=this.settings.margin||"",i=!this.settings.autoWidth,n=this.settings.rtl,o={width:"auto","margin-left":n?e:"","margin-right":n?"":e};!i&&this.$stage.children().css(o),t.css=o}},{filter:["width","items","settings"],run:function(t){var e=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,i=null,n=this._items.length,o=!this.settings.autoWidth,r=[];for(t.items={merge:!1,width:e};n--;)i=this._mergers[n],i=this.settings.mergeFit&&Math.min(i,this.settings.items)||i,t.items.merge=i>1||t.items.merge,r[n]=o?e*i:this._items[n].width();this._widths=r}},{filter:["items","settings"],run:function(){var e=[],i=this._items,n=this.settings,o=Math.max(2*n.items,4),r=2*Math.ceil(i.length/2),s=n.loop&&i.length?n.rewind?o:Math.max(o,r):0,a="",l="";for(s/=2;s>0;)e.push(this.normalize(e.length/2,!0)),a+=i[e[e.length-1]][0].outerHTML,e.push(this.normalize(i.length-1-(e.length-1)/2,!0)),l=i[e[e.length-1]][0].outerHTML+l,s-=1;this._clones=e,t(a).addClass("cloned").appendTo(this.$stage),t(l).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var t=this.settings.rtl?1:-1,e=this._clones.length+this._items.length,i=-1,n=0,o=0,r=[];++i<e;)n=r[i-1]||0,o=this._widths[this.relative(i)]+this.settings.margin,r.push(n+o*t);this._coordinates=r}},{filter:["width","items","settings"],run:function(){var t=this.settings.stagePadding,e=this._coordinates,i={width:Math.ceil(Math.abs(e[e.length-1]))+2*t,"padding-left":t||"","padding-right":t||""};this.$stage.css(i)}},{filter:["width","items","settings"],run:function(t){var e=this._coordinates.length,i=!this.settings.autoWidth,n=this.$stage.children();if(i&&t.items.merge)for(;e--;)t.css.width=this._widths[this.relative(e)],n.eq(e).css(t.css);else i&&(t.css.width=t.items.width,n.css(t.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(t){t.current=t.current?this.$stage.children().index(t.current):0,t.current=Math.max(this.minimum(),Math.min(this.maximum(),t.current)),this.reset(t.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var t,e,i,n,o=this.settings.rtl?1:-1,r=2*this.settings.stagePadding,s=this.coordinates(this.current())+r,a=s+this.width()*o,l=[];for(i=0,n=this._coordinates.length;i<n;i++)t=this._coordinates[i-1]||0,e=Math.abs(this._coordinates[i])+r*o,(this.op(t,"<=",s)&&this.op(t,">",a)||this.op(e,"<",s)&&this.op(e,">",a))&&l.push(i);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+l.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],o.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=t("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(t("<div/>",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},o.prototype.initializeItems=function(){var e=this.$element.find(".owl-item");if(e.length)return this._items=e.get().map((function(e){return t(e)})),this._mergers=this._items.map((function(){return 1})),void this.refresh();this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass)},o.prototype.initialize=function(){var t,e,i;(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading"))&&(t=this.$element.find("img"),e=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:n,i=this.$element.children(e).width(),t.length&&i<=0&&this.preloadAutoWidthImages(t));this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},o.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},o.prototype.setup=function(){var e=this.viewport(),i=this.options.responsive,n=-1,o=null;i?(t.each(i,(function(t){t<=e&&t>n&&(n=Number(t))})),"function"==typeof(o=t.extend({},this.options,i[n])).stagePadding&&(o.stagePadding=o.stagePadding()),delete o.responsive,o.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+n))):o=t.extend({},this.options),this.trigger("change",{property:{name:"settings",value:o}}),this._breakpoint=n,this.settings=o,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},o.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},o.prototype.prepare=function(e){var i=this.trigger("prepare",{content:e});return i.data||(i.data=t("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(e)),this.trigger("prepared",{content:i.data}),i.data},o.prototype.update=function(){for(var e=0,i=this._pipe.length,n=t.proxy((function(t){return this[t]}),this._invalidated),o={};e<i;)(this._invalidated.all||t.grep(this._pipe[e].filter,n).length>0)&&this._pipe[e].run(o),e++;this._invalidated={},!this.is("valid")&&this.enter("valid")},o.prototype.width=function(t){switch(t=t||o.Width.Default){case o.Width.Inner:case o.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},o.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},o.prototype.onThrottledResize=function(){e.clearTimeout(this.resizeTimer),this.resizeTimer=e.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},o.prototype.onResize=function(){return!!this._items.length&&(this._width!==this.$element.width()&&(!!this.isVisible()&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))))},o.prototype.registerEventHandlers=function(){t.support.transition&&this.$stage.on(t.support.transition.end+".owl.core",t.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(e,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",t.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",(function(){return!1}))),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",t.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",t.proxy(this.onDragEnd,this)))},o.prototype.onDragStart=function(e){var n=null;3!==e.which&&(t.support.transform?n={x:(n=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","))[16===n.length?12:4],y:n[16===n.length?13:5]}:(n=this.$stage.position(),n={x:this.settings.rtl?n.left+this.$stage.width()-this.width()+this.settings.margin:n.left,y:n.top}),this.is("animating")&&(t.support.transform?this.animate(n.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===e.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=t(e.target),this._drag.stage.start=n,this._drag.stage.current=n,this._drag.pointer=this.pointer(e),t(i).on("mouseup.owl.core touchend.owl.core",t.proxy(this.onDragEnd,this)),t(i).one("mousemove.owl.core touchmove.owl.core",t.proxy((function(e){var n=this.difference(this._drag.pointer,this.pointer(e));t(i).on("mousemove.owl.core touchmove.owl.core",t.proxy(this.onDragMove,this)),Math.abs(n.x)<Math.abs(n.y)&&this.is("valid")||(e.preventDefault(),this.enter("dragging"),this.trigger("drag"))}),this)))},o.prototype.onDragMove=function(t){var e=null,i=null,n=null,o=this.difference(this._drag.pointer,this.pointer(t)),r=this.difference(this._drag.stage.start,o);this.is("dragging")&&(t.preventDefault(),this.settings.loop?(e=this.coordinates(this.minimum()),i=this.coordinates(this.maximum()+1)-e,r.x=((r.x-e)%i+i)%i+e):(e=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),i=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),n=this.settings.pullDrag?-1*o.x/5:0,r.x=Math.max(Math.min(r.x,e+n),i+n)),this._drag.stage.current=r,this.animate(r.x))},o.prototype.onDragEnd=function(e){var n=this.difference(this._drag.pointer,this.pointer(e)),o=this._drag.stage.current,r=n.x>0^this.settings.rtl?"left":"right";t(i).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==n.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(o.x,0!==n.x?r:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=r,(Math.abs(n.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",(function(){return!1}))),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},o.prototype.closest=function(e,i){var o=-1,r=this.width(),s=this.coordinates();return this.settings.freeDrag||t.each(s,t.proxy((function(t,a){return"left"===i&&e>a-30&&e<a+30?o=t:"right"===i&&e>a-r-30&&e<a-r+30?o=t+1:this.op(e,"<",a)&&this.op(e,">",s[t+1]!==n?s[t+1]:a-r)&&(o="left"===i?t+1:t),-1===o}),this)),this.settings.loop||(this.op(e,">",s[this.minimum()])?o=e=this.minimum():this.op(e,"<",s[this.maximum()])&&(o=e=this.maximum())),o},o.prototype.animate=function(e){var i=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),i&&(this.enter("animating"),this.trigger("translate")),t.support.transform3d&&t.support.transition?this.$stage.css({transform:"translate3d("+e+"px,0px,0px)",transition:this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}):i?this.$stage.animate({left:e+"px"},this.speed(),this.settings.fallbackEasing,t.proxy(this.onTransitionEnd,this)):this.$stage.css({left:e+"px"})},o.prototype.is=function(t){return this._states.current[t]&&this._states.current[t]>0},o.prototype.current=function(t){if(t===n)return this._current;if(0===this._items.length)return n;if(t=this.normalize(t),this._current!==t){var e=this.trigger("change",{property:{name:"position",value:t}});e.data!==n&&(t=this.normalize(e.data)),this._current=t,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},o.prototype.invalidate=function(e){return"string"===t.type(e)&&(this._invalidated[e]=!0,this.is("valid")&&this.leave("valid")),t.map(this._invalidated,(function(t,e){return e}))},o.prototype.reset=function(t){(t=this.normalize(t))!==n&&(this._speed=0,this._current=t,this.suppress(["translate","translated"]),this.animate(this.coordinates(t)),this.release(["translate","translated"]))},o.prototype.normalize=function(t,e){var i=this._items.length,o=e?0:this._clones.length;return!this.isNumeric(t)||i<1?t=n:(t<0||t>=i+o)&&(t=((t-o/2)%i+i)%i+o/2),t},o.prototype.relative=function(t){return t-=this._clones.length/2,this.normalize(t,!0)},o.prototype.maximum=function(t){var e,i,n,o=this.settings,r=this._coordinates.length;if(o.loop)r=this._clones.length/2+this._items.length-1;else if(o.autoWidth||o.merge){if(e=this._items.length)for(i=this._items[--e].width(),n=this.$element.width();e--&&!((i+=this._items[e].width()+this.settings.margin)>n););r=e+1}else r=o.center?this._items.length-1:this._items.length-o.items;return t&&(r-=this._clones.length/2),Math.max(r,0)},o.prototype.minimum=function(t){return t?0:this._clones.length/2},o.prototype.items=function(t){return t===n?this._items.slice():(t=this.normalize(t,!0),this._items[t])},o.prototype.mergers=function(t){return t===n?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t])},o.prototype.clones=function(e){var i=this._clones.length/2,o=i+this._items.length,r=function(t){return t%2==0?o+t/2:i-(t+1)/2};return e===n?t.map(this._clones,(function(t,e){return r(e)})):t.map(this._clones,(function(t,i){return t===e?r(i):null}))},o.prototype.speed=function(t){return t!==n&&(this._speed=t),this._speed},o.prototype.coordinates=function(e){var i,o=1,r=e-1;return e===n?t.map(this._coordinates,t.proxy((function(t,e){return this.coordinates(e)}),this)):(this.settings.center?(this.settings.rtl&&(o=-1,r=e+1),i=this._coordinates[e],i+=(this.width()-i+(this._coordinates[r]||0))/2*o):i=this._coordinates[r]||0,i=Math.ceil(i))},o.prototype.duration=function(t,e,i){return 0===i?0:Math.min(Math.max(Math.abs(e-t),1),6)*Math.abs(i||this.settings.smartSpeed)},o.prototype.to=function(t,e){var i=this.current(),n=null,o=t-this.relative(i),r=(o>0)-(o<0),s=this._items.length,a=this.minimum(),l=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(o)>s/2&&(o+=-1*r*s),(n=(((t=i+o)-a)%s+s)%s+a)!==t&&n-o<=l&&n-o>0&&(i=n-o,t=n,this.reset(i))):t=this.settings.rewind?(t%(l+=1)+l)%l:Math.max(a,Math.min(l,t)),this.speed(this.duration(i,t,e)),this.current(t),this.isVisible()&&this.update()},o.prototype.next=function(t){t=t||!1,this.to(this.relative(this.current())+1,t)},o.prototype.prev=function(t){t=t||!1,this.to(this.relative(this.current())-1,t)},o.prototype.onTransitionEnd=function(t){if(t!==n&&(t.stopPropagation(),(t.target||t.srcElement||t.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},o.prototype.viewport=function(){var n;return this.options.responsiveBaseElement!==e?n=t(this.options.responsiveBaseElement).width():e.innerWidth?n=e.innerWidth:i.documentElement&&i.documentElement.clientWidth?n=i.documentElement.clientWidth:console.warn("Can not detect viewport width."),n},o.prototype.replace=function(e){this.$stage.empty(),this._items=[],e&&(e=e instanceof jQuery?e:t(e)),this.settings.nestedItemSelector&&(e=e.find("."+this.settings.nestedItemSelector)),e.filter((function(){return 1===this.nodeType})).each(t.proxy((function(t,e){e=this.prepare(e),this.$stage.append(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)}),this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},o.prototype.add=function(e,i){var o=this.relative(this._current);i=i===n?this._items.length:this.normalize(i,!0),e=e instanceof jQuery?e:t(e),this.trigger("add",{content:e,position:i}),e=this.prepare(e),0===this._items.length||i===this._items.length?(0===this._items.length&&this.$stage.append(e),0!==this._items.length&&this._items[i-1].after(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[i].before(e),this._items.splice(i,0,e),this._mergers.splice(i,0,1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[o]&&this.reset(this._items[o].index()),this.invalidate("items"),this.trigger("added",{content:e,position:i})},o.prototype.remove=function(t){(t=this.normalize(t,!0))!==n&&(this.trigger("remove",{content:this._items[t],position:t}),this._items[t].remove(),this._items.splice(t,1),this._mergers.splice(t,1),this.invalidate("items"),this.trigger("removed",{content:null,position:t}))},o.prototype.preloadAutoWidthImages=function(e){e.each(t.proxy((function(e,i){this.enter("pre-loading"),i=t(i),t(new Image).one("load",t.proxy((function(t){i.attr("src",t.target.src),i.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()}),this)).attr("src",i.attr("src")||i.attr("data-src")||i.attr("data-src-retina"))}),this))},o.prototype.destroy=function(){for(var n in this.$element.off(".owl.core"),this.$stage.off(".owl.core"),t(i).off(".owl.core"),!1!==this.settings.responsive&&(e.clearTimeout(this.resizeTimer),this.off(e,"resize",this._handlers.onThrottledResize)),this._plugins)this._plugins[n].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.remove(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},o.prototype.op=function(t,e,i){var n=this.settings.rtl;switch(e){case"<":return n?t>i:t<i;case">":return n?t<i:t>i;case">=":return n?t<=i:t>=i;case"<=":return n?t>=i:t<=i}},o.prototype.on=function(t,e,i,n){t.addEventListener?t.addEventListener(e,i,n):t.attachEvent&&t.attachEvent("on"+e,i)},o.prototype.off=function(t,e,i,n){t.removeEventListener?t.removeEventListener(e,i,n):t.detachEvent&&t.detachEvent("on"+e,i)},o.prototype.trigger=function(e,i,n,r,s){var a={item:{count:this._items.length,index:this.current()}},l=t.camelCase(t.grep(["on",e,n],(function(t){return t})).join("-").toLowerCase()),c=t.Event([e,"owl",n||"carousel"].join(".").toLowerCase(),t.extend({relatedTarget:this},a,i));return this._supress[e]||(t.each(this._plugins,(function(t,e){e.onTrigger&&e.onTrigger(c)})),this.register({type:o.Type.Event,name:e}),this.$element.trigger(c),this.settings&&"function"==typeof this.settings[l]&&this.settings[l].call(this,c)),c},o.prototype.enter=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy((function(t,e){this._states.current[e]===n&&(this._states.current[e]=0),this._states.current[e]++}),this))},o.prototype.leave=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy((function(t,e){this._states.current[e]--}),this))},o.prototype.register=function(e){if(e.type===o.Type.Event){if(t.event.special[e.name]||(t.event.special[e.name]={}),!t.event.special[e.name].owl){var i=t.event.special[e.name]._default;t.event.special[e.name]._default=function(t){return!i||!i.apply||t.namespace&&-1!==t.namespace.indexOf("owl")?t.namespace&&t.namespace.indexOf("owl")>-1:i.apply(this,arguments)},t.event.special[e.name].owl=!0}}else e.type===o.Type.State&&(this._states.tags[e.name]?this._states.tags[e.name]=this._states.tags[e.name].concat(e.tags):this._states.tags[e.name]=e.tags,this._states.tags[e.name]=t.grep(this._states.tags[e.name],t.proxy((function(i,n){return t.inArray(i,this._states.tags[e.name])===n}),this)))},o.prototype.suppress=function(e){t.each(e,t.proxy((function(t,e){this._supress[e]=!0}),this))},o.prototype.release=function(e){t.each(e,t.proxy((function(t,e){delete this._supress[e]}),this))},o.prototype.pointer=function(t){var i={x:null,y:null};return(t=(t=t.originalEvent||t||e.event).touches&&t.touches.length?t.touches[0]:t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t).pageX?(i.x=t.pageX,i.y=t.pageY):(i.x=t.clientX,i.y=t.clientY),i},o.prototype.isNumeric=function(t){return!isNaN(parseFloat(t))},o.prototype.difference=function(t,e){return{x:t.x-e.x,y:t.y-e.y}},t.fn.owlCarousel=function(e){var i=Array.prototype.slice.call(arguments,1);return this.each((function(){var n=t(this),r=n.data("owl.carousel");r||(r=new o(this,"object"==typeof e&&e),n.data("owl.carousel",r),t.each(["next","prev","to","destroy","refresh","replace","add","remove"],(function(e,i){r.register({type:o.Type.Event,name:i}),r.$element.on(i+".owl.carousel.core",t.proxy((function(t){t.namespace&&t.relatedTarget!==this&&(this.suppress([i]),r[i].apply(this,[].slice.call(arguments,1)),this.release([i]))}),r))}))),"string"==typeof e&&"_"!==e.charAt(0)&&r[e].apply(r,i)}))},t.fn.owlCarousel.Constructor=o}(window.Zepto||window.jQuery,window,document),function(t,e){var i=function(e){this._core=e,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.autoRefresh&&this.watch()}),this)},this._core.options=t.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers)};i.Defaults={autoRefresh:!0,autoRefreshInterval:500},i.prototype.watch=function(){this._interval||(this._visible=this._core.isVisible(),this._interval=e.setInterval(t.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},i.prototype.refresh=function(){this._core.isVisible()!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},i.prototype.destroy=function(){var t,i;for(t in e.clearInterval(this._interval),this._handlers)this._core.$element.off(t,this._handlers[t]);for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoRefresh=i}(window.Zepto||window.jQuery,window,document),function(t,e){var i=function(e){this._core=e,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":t.proxy((function(e){if(e.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(e.property&&"position"==e.property.name||"initialized"==e.type)){var i=this._core.settings,n=i.center&&Math.ceil(i.items/2)||i.items,o=i.center&&-1*n||0,r=(e.property&&undefined!==e.property.value?e.property.value:this._core.current())+o,s=this._core.clones().length,a=t.proxy((function(t,e){this.load(e)}),this);for(i.lazyLoadEager>0&&(n+=i.lazyLoadEager,i.loop&&(r-=i.lazyLoadEager,n++));o++<n;)this.load(s/2+this._core.relative(r)),s&&t.each(this._core.clones(this._core.relative(r)),a),r++}}),this)},this._core.options=t.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers)};i.Defaults={lazyLoad:!1,lazyLoadEager:0},i.prototype.load=function(i){var n=this._core.$stage.children().eq(i),o=n&&n.find(".owl-lazy");!o||t.inArray(n.get(0),this._loaded)>-1||(o.each(t.proxy((function(i,n){var o,r=t(n),s=e.devicePixelRatio>1&&r.attr("data-src-retina")||r.attr("data-src")||r.attr("data-srcset");this._core.trigger("load",{element:r,url:s},"lazy"),r.is("img")?r.one("load.owl.lazy",t.proxy((function(){r.css("opacity",1),this._core.trigger("loaded",{element:r,url:s},"lazy")}),this)).attr("src",s):r.is("source")?r.one("load.owl.lazy",t.proxy((function(){this._core.trigger("loaded",{element:r,url:s},"lazy")}),this)).attr("srcset",s):((o=new Image).onload=t.proxy((function(){r.css({"background-image":'url("'+s+'")',opacity:"1"}),this._core.trigger("loaded",{element:r,url:s},"lazy")}),this),o.src=s)}),this)),this._loaded.push(n.get(0)))},i.prototype.destroy=function(){var t,e;for(t in this.handlers)this._core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Lazy=i}(window.Zepto||window.jQuery,window,document),function(t,e){var i=function(n){this._core=n,this._previousHeight=null,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.autoHeight&&this.update()}),this),"changed.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.autoHeight&&"position"===t.property.name&&this.update()}),this),"loaded.owl.lazy":t.proxy((function(t){t.namespace&&this._core.settings.autoHeight&&t.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()}),this)},this._core.options=t.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers),this._intervalId=null;var o=this;t(e).on("load",(function(){o._core.settings.autoHeight&&o.update()})),t(e).resize((function(){o._core.settings.autoHeight&&(null!=o._intervalId&&clearTimeout(o._intervalId),o._intervalId=setTimeout((function(){o.update()}),250))}))};i.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},i.prototype.update=function(){var e=this._core._current,i=e+this._core.settings.items,n=this._core.settings.lazyLoad,o=this._core.$stage.children().toArray().slice(e,i),r=[],s=0;t.each(o,(function(e,i){r.push(t(i).height())})),(s=Math.max.apply(null,r))<=1&&n&&this._previousHeight&&(s=this._previousHeight),this._previousHeight=s,this._core.$stage.parent().height(s).addClass(this._core.settings.autoHeightClass)},i.prototype.destroy=function(){var t,e;for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoHeight=i}(window.Zepto||window.jQuery,window,document),function(t,e,i){var n=function(e){this._core=e,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":t.proxy((function(t){t.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})}),this),"resize.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.video&&this.isInFullScreen()&&t.preventDefault()}),this),"refreshed.owl.carousel":t.proxy((function(t){t.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()}),this),"changed.owl.carousel":t.proxy((function(t){t.namespace&&"position"===t.property.name&&this._playing&&this.stop()}),this),"prepared.owl.carousel":t.proxy((function(e){if(e.namespace){var i=t(e.content).find(".owl-video");i.length&&(i.css("display","none"),this.fetch(i,t(e.content)))}}),this)},this._core.options=t.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",t.proxy((function(t){this.play(t)}),this))};n.Defaults={video:!1,videoHeight:!1,videoWidth:!1},n.prototype.fetch=function(t,e){var i=t.attr("data-vimeo-id")?"vimeo":t.attr("data-vzaar-id")?"vzaar":"youtube",n=t.attr("data-vimeo-id")||t.attr("data-youtube-id")||t.attr("data-vzaar-id"),o=t.attr("data-width")||this._core.settings.videoWidth,r=t.attr("data-height")||this._core.settings.videoHeight,s=t.attr("href");if(!s)throw new Error("Missing video URL.");if((n=s.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu")>-1)i="youtube";else if(n[3].indexOf("vimeo")>-1)i="vimeo";else{if(!(n[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");i="vzaar"}n=n[6],this._videos[s]={type:i,id:n,width:o,height:r},e.attr("data-video",s),this.thumbnail(t,this._videos[s])},n.prototype.thumbnail=function(e,i){var n,o,r=i.width&&i.height?"width:"+i.width+"px;height:"+i.height+"px;":"",s=e.find("img"),a="src",l="",c=this._core.settings,u=function(i){n=c.lazyLoad?t("<div/>",{class:"owl-video-tn "+l,srcType:i}):t("<div/>",{class:"owl-video-tn",style:"opacity:1;background-image:url("+i+")"}),e.after(n),e.after('<div class="owl-video-play-icon"></div>')};if(e.wrap(t("<div/>",{class:"owl-video-wrapper",style:r})),this._core.settings.lazyLoad&&(a="data-src",l="owl-lazy"),s.length)return u(s.attr(a)),s.remove(),!1;"youtube"===i.type?(o="//img.youtube.com/vi/"+i.id+"/hqdefault.jpg",u(o)):"vimeo"===i.type?t.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){o=t[0].thumbnail_large,u(o)}}):"vzaar"===i.type&&t.ajax({type:"GET",url:"//vzaar.com/api/videos/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){o=t.framegrab_url,u(o)}})},n.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},n.prototype.play=function(e){var i,n=t(e.target).closest("."+this._core.settings.itemClass),o=this._videos[n.attr("data-video")],r=o.width||"100%",s=o.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),n=this._core.items(this._core.relative(n.index())),this._core.reset(n.index()),(i=t('<iframe frameborder="0" allowfullscreen mozallowfullscreen webkitAllowFullScreen ></iframe>')).attr("height",s),i.attr("width",r),"youtube"===o.type?i.attr("src","//www.youtube.com/embed/"+o.id+"?autoplay=1&rel=0&v="+o.id):"vimeo"===o.type?i.attr("src","//player.vimeo.com/video/"+o.id+"?autoplay=1"):"vzaar"===o.type&&i.attr("src","//view.vzaar.com/"+o.id+"/player?autoplay=true"),t(i).wrap('<div class="owl-video-frame" />').insertAfter(n.find(".owl-video")),this._playing=n.addClass("owl-video-playing"))},n.prototype.isInFullScreen=function(){var e=i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement;return e&&t(e).parent().hasClass("owl-video-frame")},n.prototype.destroy=function(){var t,e;for(t in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Video=n}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var o=function(e){this.core=e,this.core.options=t.extend({},o.Defaults,this.core.options),this.swapping=!0,this.previous=n,this.next=n,this.handlers={"change.owl.carousel":t.proxy((function(t){t.namespace&&"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)}),this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":t.proxy((function(t){t.namespace&&(this.swapping="translated"==t.type)}),this),"translate.owl.carousel":t.proxy((function(t){t.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()}),this)},this.core.$element.on(this.handlers)};o.Defaults={animateOut:!1,animateIn:!1},o.prototype.swap=function(){if(1===this.core.settings.items&&t.support.animation&&t.support.transition){this.core.speed(0);var e,i=t.proxy(this.clear,this),n=this.core.$stage.children().eq(this.previous),o=this.core.$stage.children().eq(this.next),r=this.core.settings.animateIn,s=this.core.settings.animateOut;this.core.current()!==this.previous&&(s&&(e=this.core.coordinates(this.previous)-this.core.coordinates(this.next),n.one(t.support.animation.end,i).css({left:e+"px"}).addClass("animated owl-animated-out").addClass(s)),r&&o.one(t.support.animation.end,i).addClass("animated owl-animated-in").addClass(r))}},o.prototype.clear=function(e){t(e.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},o.prototype.destroy=function(){var t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Animate=o}(window.Zepto||window.jQuery,window,document),function(t,e,i){var n=function(e){this._core=e,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":t.proxy((function(t){t.namespace&&"settings"===t.property.name?this._core.settings.autoplay?this.play():this.stop():t.namespace&&"position"===t.property.name&&this._paused&&(this._time=0)}),this),"initialized.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.autoplay&&this.play()}),this),"play.owl.autoplay":t.proxy((function(t,e,i){t.namespace&&this.play(e,i)}),this),"stop.owl.autoplay":t.proxy((function(t){t.namespace&&this.stop()}),this),"mouseover.owl.autoplay":t.proxy((function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()}),this),"mouseleave.owl.autoplay":t.proxy((function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()}),this),"touchstart.owl.core":t.proxy((function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()}),this),"touchend.owl.core":t.proxy((function(){this._core.settings.autoplayHoverPause&&this.play()}),this)},this._core.$element.on(this._handlers),this._core.options=t.extend({},n.Defaults,this._core.options)};n.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},n.prototype._next=function(n){this._call=e.setTimeout(t.proxy(this._next,this,n),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||i.hidden||this._core.next(n||this._core.settings.autoplaySpeed)},n.prototype.read=function(){return(new Date).getTime()-this._time},n.prototype.play=function(i,n){var o;this._core.is("rotating")||this._core.enter("rotating"),i=i||this._core.settings.autoplayTimeout,o=Math.min(this._time%(this._timeout||i),i),this._paused?(this._time=this.read(),this._paused=!1):e.clearTimeout(this._call),this._time+=this.read()%i-o,this._timeout=i,this._call=e.setTimeout(t.proxy(this._next,this,n),i-o)},n.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,e.clearTimeout(this._call),this._core.leave("rotating"))},n.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,e.clearTimeout(this._call))},n.prototype.destroy=function(){var t,e;for(t in this.stop(),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.autoplay=n}(window.Zepto||window.jQuery,window,document),function(t){"use strict";var e=function(i){this._core=i,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":t.proxy((function(e){e.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+t(e.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")}),this),"added.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())}),this),"remove.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)}),this),"changed.owl.carousel":t.proxy((function(t){t.namespace&&"position"==t.property.name&&this.draw()}),this),"initialized.owl.carousel":t.proxy((function(t){t.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))}),this),"refreshed.owl.carousel":t.proxy((function(t){t.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))}),this)},this._core.options=t.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers)};e.Defaults={nav:!1,navText:['<span aria-label="Previous">&#x2039;</span>','<span aria-label="Next">&#x203a;</span>'],navSpeed:!1,navElement:'button type="button" role="presentation"',navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},e.prototype.initialize=function(){var e,i=this._core.settings;for(e in this._controls.$relative=(i.navContainer?t(i.navContainer):t("<div>").addClass(i.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=t("<"+i.navElement+">").addClass(i.navClass[0]).html(i.navText[0]).prependTo(this._controls.$relative).on("click",t.proxy((function(t){this.prev(i.navSpeed)}),this)),this._controls.$next=t("<"+i.navElement+">").addClass(i.navClass[1]).html(i.navText[1]).appendTo(this._controls.$relative).on("click",t.proxy((function(t){this.next(i.navSpeed)}),this)),i.dotsData||(this._templates=[t('<button role="button">').addClass(i.dotClass).append(t("<span>")).prop("outerHTML")]),this._controls.$absolute=(i.dotsContainer?t(i.dotsContainer):t("<div>").addClass(i.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","button",t.proxy((function(e){var n=t(e.target).parent().is(this._controls.$absolute)?t(e.target).index():t(e.target).parent().index();e.preventDefault(),this.to(n,i.dotsSpeed)}),this)),this._overrides)this._core[e]=t.proxy(this[e],this)},e.prototype.destroy=function(){var t,e,i,n,o;for(t in o=this._core.settings,this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)"$relative"===e&&o.navContainer?this._controls[e].html(""):this._controls[e].remove();for(n in this.overides)this._core[n]=this._overrides[n];for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},e.prototype.update=function(){var t,e,i=this._core.clones().length/2,n=i+this._core.items().length,o=this._core.maximum(!0),r=this._core.settings,s=r.center||r.autoWidth||r.dotsData?1:r.dotsEach||r.items;if("page"!==r.slideBy&&(r.slideBy=Math.min(r.slideBy,r.items)),r.dots||"page"==r.slideBy)for(this._pages=[],t=i,e=0,0;t<n;t++){if(e>=s||0===e){if(this._pages.push({start:Math.min(o,t-i),end:t-i+s-1}),Math.min(o,t-i)===o)break;e=0}e+=this._core.mergers(this._core.relative(t))}},e.prototype.draw=function(){var e,i=this._core.settings,n=this._core.items().length<=i.items,o=this._core.relative(this._core.current()),r=i.loop||i.rewind;this._controls.$relative.toggleClass("disabled",!i.nav||n),i.nav&&(this._controls.$previous.toggleClass("disabled",!r&&o<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!r&&o>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!i.dots||n),i.dots&&(e=this._pages.length-this._controls.$absolute.children().length,i.dotsData&&0!==e?this._controls.$absolute.html(this._templates.join("")):e>0?this._controls.$absolute.append(new Array(e+1).join(this._templates[0])):e<0&&this._controls.$absolute.children().slice(e).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(t.inArray(this.current(),this._pages)).addClass("active"))},e.prototype.onTrigger=function(e){var i=this._core.settings;e.page={index:t.inArray(this.current(),this._pages),count:this._pages.length,size:i&&(i.center||i.autoWidth||i.dotsData?1:i.dotsEach||i.items)}},e.prototype.current=function(){var e=this._core.relative(this._core.current());return t.grep(this._pages,t.proxy((function(t,i){return t.start<=e&&t.end>=e}),this)).pop()},e.prototype.getPosition=function(e){var i,n,o=this._core.settings;return"page"==o.slideBy?(i=t.inArray(this.current(),this._pages),n=this._pages.length,e?++i:--i,i=this._pages[(i%n+n)%n].start):(i=this._core.relative(this._core.current()),n=this._core.items().length,e?i+=o.slideBy:i-=o.slideBy),i},e.prototype.next=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!0),e)},e.prototype.prev=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!1),e)},e.prototype.to=function(e,i,n){var o;!n&&this._pages.length?(o=this._pages.length,t.proxy(this._overrides.to,this._core)(this._pages[(e%o+o)%o].start,i)):t.proxy(this._overrides.to,this._core)(e,i)},t.fn.owlCarousel.Constructor.Plugins.Navigation=e}(window.Zepto||window.jQuery,window,document),function(t,e){"use strict";var i=function(n){this._core=n,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":t.proxy((function(i){i.namespace&&"URLHash"===this._core.settings.startPosition&&t(e).trigger("hashchange.owl.navigation")}),this),"prepared.owl.carousel":t.proxy((function(e){if(e.namespace){var i=t(e.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!i)return;this._hashes[i]=e.content}}),this),"changed.owl.carousel":t.proxy((function(i){if(i.namespace&&"position"===i.property.name){var n=this._core.items(this._core.relative(this._core.current())),o=t.map(this._hashes,(function(t,e){return t===n?e:null})).join();if(!o||e.location.hash.slice(1)===o)return;e.location.hash=o}}),this)},this._core.options=t.extend({},i.Defaults,this._core.options),this.$element.on(this._handlers),t(e).on("hashchange.owl.navigation",t.proxy((function(t){var i=e.location.hash.substring(1),n=this._core.$stage.children(),o=this._hashes[i]&&n.index(this._hashes[i]);undefined!==o&&o!==this._core.current()&&this._core.to(this._core.relative(o),!1,!0)}),this))};i.Defaults={URLhashListener:!1},i.prototype.destroy=function(){var i,n;for(i in t(e).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(i,this._handlers[i]);for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},t.fn.owlCarousel.Constructor.Plugins.Hash=i}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var o=t("<support>").get(0).style,r="Webkit Moz O ms".split(" "),s={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},a=function(){return!!u("transform")},l=function(){return!!u("perspective")},c=function(){return!!u("animation")};function u(e,i){var s=!1,a=e.charAt(0).toUpperCase()+e.slice(1);return t.each((e+" "+r.join(a+" ")+a).split(" "),(function(t,e){if(o[e]!==n)return s=!i||e,!1})),s}function h(t){return u(t,!0)}(function(){return!!u("transition")})()&&(t.support.transition=new String(h("transition")),t.support.transition.end=s.transition.end[t.support.transition]),c()&&(t.support.animation=new String(h("animation")),t.support.animation.end=s.animation.end[t.support.animation]),a()&&(t.support.transform=new String(h("transform")),t.support.transform3d=l())}(window.Zepto||window.jQuery,window,document)},764:(t,e,i)=>{var n;!function(){"use strict";var o={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function r(t){return function(t,e){var i,n,s,a,l,c,u,h,d,p=1,f=t.length,g="";for(n=0;n<f;n++)if("string"==typeof t[n])g+=t[n];else if("object"==typeof t[n]){if((a=t[n]).keys)for(i=e[p],s=0;s<a.keys.length;s++){if(null==i)throw new Error(r('[sprintf] Cannot access property "%s" of undefined value "%s"',a.keys[s],a.keys[s-1]));i=i[a.keys[s]]}else i=a.param_no?e[a.param_no]:e[p++];if(o.not_type.test(a.type)&&o.not_primitive.test(a.type)&&i instanceof Function&&(i=i()),o.numeric_arg.test(a.type)&&"number"!=typeof i&&isNaN(i))throw new TypeError(r("[sprintf] expecting number but found %T",i));switch(o.number.test(a.type)&&(h=i>=0),a.type){case"b":i=parseInt(i,10).toString(2);break;case"c":i=String.fromCharCode(parseInt(i,10));break;case"d":case"i":i=parseInt(i,10);break;case"j":i=JSON.stringify(i,null,a.width?parseInt(a.width):0);break;case"e":i=a.precision?parseFloat(i).toExponential(a.precision):parseFloat(i).toExponential();break;case"f":i=a.precision?parseFloat(i).toFixed(a.precision):parseFloat(i);break;case"g":i=a.precision?String(Number(i.toPrecision(a.precision))):parseFloat(i);break;case"o":i=(parseInt(i,10)>>>0).toString(8);break;case"s":i=String(i),i=a.precision?i.substring(0,a.precision):i;break;case"t":i=String(!!i),i=a.precision?i.substring(0,a.precision):i;break;case"T":i=Object.prototype.toString.call(i).slice(8,-1).toLowerCase(),i=a.precision?i.substring(0,a.precision):i;break;case"u":i=parseInt(i,10)>>>0;break;case"v":i=i.valueOf(),i=a.precision?i.substring(0,a.precision):i;break;case"x":i=(parseInt(i,10)>>>0).toString(16);break;case"X":i=(parseInt(i,10)>>>0).toString(16).toUpperCase()}o.json.test(a.type)?g+=i:(!o.number.test(a.type)||h&&!a.sign?d="":(d=h?"+":"-",i=i.toString().replace(o.sign,"")),c=a.pad_char?"0"===a.pad_char?"0":a.pad_char.charAt(1):" ",u=a.width-(d+i).length,l=a.width&&u>0?c.repeat(u):"",g+=a.align?d+i+l:"0"===c?d+l+i:l+d+i)}return g}(function(t){if(a[t])return a[t];var e,i=t,n=[],r=0;for(;i;){if(null!==(e=o.text.exec(i)))n.push(e[0]);else if(null!==(e=o.modulo.exec(i)))n.push("%");else{if(null===(e=o.placeholder.exec(i)))throw new SyntaxError("[sprintf] unexpected placeholder");if(e[2]){r|=1;var s=[],l=e[2],c=[];if(null===(c=o.key.exec(l)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(s.push(c[1]);""!==(l=l.substring(c[0].length));)if(null!==(c=o.key_access.exec(l)))s.push(c[1]);else{if(null===(c=o.index_access.exec(l)))throw new SyntaxError("[sprintf] failed to parse named argument key");s.push(c[1])}e[2]=s}else r|=2;if(3===r)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");n.push({placeholder:e[0],param_no:e[1],keys:e[2],sign:e[3],pad_char:e[4],align:e[5],width:e[6],precision:e[7],type:e[8]})}i=i.substring(e[0].length)}return a[t]=n}(t),arguments)}function s(t,e){return r.apply(null,[t].concat(e||[]))}var a=Object.create(null);e.sprintf=r,e.vsprintf=s,"undefined"!=typeof window&&(window.sprintf=r,window.vsprintf=s,void 0===(n=function(){return{sprintf:r,vsprintf:s}}.call(e,i,e,t))||(t.exports=n))}()},418:function(t,e){var i,n,o;/*! tether 1.4.7 */n=[],i=function(){"use strict";var t=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=void 0;void 0===i&&(i={modules:[]});var n=null;function o(t){var e=t.getBoundingClientRect(),i={};for(var n in e)i[n]=e[n];try{if(t.ownerDocument!==document){var r=t.ownerDocument.defaultView.frameElement;if(r){var s=o(r);i.top+=s.top,i.bottom+=s.top,i.left+=s.left,i.right+=s.left}}}catch(t){}return i}function r(t){var e=(getComputedStyle(t)||{}).position,i=[];if("fixed"===e)return[t];for(var n=t;(n=n.parentNode)&&n&&1===n.nodeType;){var o=void 0;try{o=getComputedStyle(n)}catch(t){}if(null==o)return i.push(n),i;var r=o,s=r.overflow,a=r.overflowX,l=r.overflowY;/(auto|scroll|overlay)/.test(s+l+a)&&("absolute"!==e||["relative","absolute","fixed"].indexOf(o.position)>=0)&&i.push(n)}return i.push(t.ownerDocument.body),t.ownerDocument!==document&&i.push(t.ownerDocument.defaultView),i}var s,a=(s=0,function(){return++s}),l={},c=function(){var t=n;t&&document.body.contains(t)||((t=document.createElement("div")).setAttribute("data-tether-id",a()),g(t.style,{top:0,left:0,position:"absolute"}),document.body.appendChild(t),n=t);var e=t.getAttribute("data-tether-id");return void 0===l[e]&&(l[e]=o(t),S((function(){delete l[e]}))),l[e]};function u(){n&&document.body.removeChild(n),n=null}function h(t){var e=void 0;t===document?(e=document,t=document.documentElement):e=t.ownerDocument;var i=e.documentElement,n=o(t),r=c();return n.top-=r.top,n.left-=r.left,void 0===n.width&&(n.width=document.body.scrollWidth-n.left-n.right),void 0===n.height&&(n.height=document.body.scrollHeight-n.top-n.bottom),n.top=n.top-i.clientTop,n.left=n.left-i.clientLeft,n.right=e.body.clientWidth-n.width-n.left,n.bottom=e.body.clientHeight-n.height-n.top,n}function d(t){return t.offsetParent||document.documentElement}var p=null;function f(){if(p)return p;var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var e=document.createElement("div");g(e.style,{position:"absolute",top:0,left:0,pointerEvents:"none",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),e.appendChild(t),document.body.appendChild(e);var i=t.offsetWidth;e.style.overflow="scroll";var n=t.offsetWidth;i===n&&(n=e.clientWidth),document.body.removeChild(e);var o=i-n;return p={width:o,height:o}}function g(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],e=[];return Array.prototype.push.apply(e,arguments),e.slice(1).forEach((function(e){if(e)for(var i in e)({}).hasOwnProperty.call(e,i)&&(t[i]=e[i])})),t}function m(t,e){if(void 0!==t.classList)e.split(" ").forEach((function(e){e.trim()&&t.classList.remove(e)}));else{var i=new RegExp("(^| )"+e.split(" ").join("|")+"( |$)","gi"),n=_(t).replace(i," ");b(t,n)}}function v(t,e){if(void 0!==t.classList)e.split(" ").forEach((function(e){e.trim()&&t.classList.add(e)}));else{m(t,e);var i=_(t)+" "+e;b(t,i)}}function y(t,e){if(void 0!==t.classList)return t.classList.contains(e);var i=_(t);return new RegExp("(^| )"+e+"( |$)","gi").test(i)}function _(t){return t.className instanceof t.ownerDocument.defaultView.SVGAnimatedString?t.className.baseVal:t.className}function b(t,e){t.setAttribute("class",e)}function w(t,e,i){i.forEach((function(i){-1===e.indexOf(i)&&y(t,i)&&m(t,i)})),e.forEach((function(e){y(t,e)||v(t,e)}))}var x=[],S=function(t){x.push(t)},C=function(){for(var t=void 0;t=x.pop();)t()},E=function(){function i(){e(this,i)}return t(i,[{key:"on",value:function(t,e,i){var n=!(arguments.length<=3||void 0===arguments[3])&&arguments[3];void 0===this.bindings&&(this.bindings={}),void 0===this.bindings[t]&&(this.bindings[t]=[]),this.bindings[t].push({handler:e,ctx:i,once:n})}},{key:"once",value:function(t,e,i){this.on(t,e,i,!0)}},{key:"off",value:function(t,e){if(void 0!==this.bindings&&void 0!==this.bindings[t])if(void 0===e)delete this.bindings[t];else for(var i=0;i<this.bindings[t].length;)this.bindings[t][i].handler===e?this.bindings[t].splice(i,1):++i}},{key:"trigger",value:function(t){if(void 0!==this.bindings&&this.bindings[t]){for(var e=0,i=arguments.length,n=Array(i>1?i-1:0),o=1;o<i;o++)n[o-1]=arguments[o];for(;e<this.bindings[t].length;){var r=this.bindings[t][e],s=r.handler,a=r.ctx,l=r.once,c=a;void 0===c&&(c=this),s.apply(c,n),l?this.bindings[t].splice(e,1):++e}}}}]),i}();i.Utils={getActualBoundingClientRect:o,getScrollParents:r,getBounds:h,getOffsetParent:d,extend:g,addClass:v,removeClass:m,hasClass:y,updateClasses:w,defer:S,flush:C,uniqueId:a,Evented:E,getScrollBarSize:f,removeUtilElements:u};var T=function(){function t(t,e){var i=[],n=!0,o=!1,r=void 0;try{for(var s,a=t[Symbol.iterator]();!(n=(s=a.next()).done)&&(i.push(s.value),!e||i.length!==e);n=!0);}catch(t){o=!0,r=t}finally{try{!n&&a.return&&a.return()}finally{if(o)throw r}}return i}return function(e,i){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),k=(t=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),function(t,e,i){for(var n=!0;n;){var o=t,r=e,s=i;n=!1,null===o&&(o=Function.prototype);var a=Object.getOwnPropertyDescriptor(o,r);if(void 0!==a){if("value"in a)return a.value;var l=a.get;if(void 0===l)return;return l.call(s)}var c=Object.getPrototypeOf(o);if(null===c)return;t=c,e=r,i=s,n=!0,a=c=void 0}});function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function A(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}if(void 0===i)throw new Error("You must include the utils.js file before tether.js");var r=(G=i.Utils).getScrollParents,d=(h=G.getBounds,G.getOffsetParent),v=(g=G.extend,G.addClass),m=G.removeClass,f=(w=G.updateClasses,S=G.defer,C=G.flush,G.getScrollBarSize),u=G.removeUtilElements;function O(t,e){var i=arguments.length<=2||void 0===arguments[2]?1:arguments[2];return t+i>=e&&e>=t-i}var I,P,D,j,N=function(){if("undefined"==typeof document)return"";for(var t=document.createElement("div"),e=["transform","WebkitTransform","OTransform","MozTransform","msTransform"],i=0;i<e.length;++i){var n=e[i];if(void 0!==t.style[n])return n}}(),L=[],B=function(){L.forEach((function(t){t.position(!1)})),C()};function F(){return"object"==typeof performance&&"function"==typeof performance.now?performance.now():+new Date}I=null,P=null,D=null,j=function t(){if(void 0!==P&&P>16)return P=Math.min(P-16,250),void(D=setTimeout(t,250));void 0!==I&&F()-I<10||(null!=D&&(clearTimeout(D),D=null),I=F(),B(),P=F()-I)},"undefined"!=typeof window&&void 0!==window.addEventListener&&["resize","scroll","touchmove"].forEach((function(t){window.addEventListener(t,j)}));var $={center:"center",left:"right",right:"left"},M={middle:"middle",top:"bottom",bottom:"top"},z={top:0,left:0,middle:"50%",center:"50%",bottom:"100%",right:"100%"},H=function(t,e){var i=t.left,n=t.top;return"auto"===i&&(i=$[e.left]),"auto"===n&&(n=M[e.top]),{left:i,top:n}},W=function(t){var e=t.left,i=t.top;return void 0!==z[t.left]&&(e=z[t.left]),void 0!==z[t.top]&&(i=z[t.top]),{left:e,top:i}};function V(){for(var t={top:0,left:0},e=arguments.length,i=Array(e),n=0;n<e;n++)i[n]=arguments[n];return i.forEach((function(e){var i=e.top,n=e.left;"string"==typeof i&&(i=parseFloat(i,10)),"string"==typeof n&&(n=parseFloat(n,10)),t.top+=i,t.left+=n})),t}function R(t,e){return"string"==typeof t.left&&-1!==t.left.indexOf("%")&&(t.left=parseFloat(t.left,10)/100*e.width),"string"==typeof t.top&&-1!==t.top.indexOf("%")&&(t.top=parseFloat(t.top,10)/100*e.height),t}var q=function(t){var e=t.split(" "),i=T(e,2);return{top:i[0],left:i[1]}},U=q,Q=function(n){function o(t){var n=this;e(this,o),k(Object.getPrototypeOf(o.prototype),"constructor",this).call(this),this.position=this.position.bind(this),L.push(this),this.history=[],this.setOptions(t,!1),i.modules.forEach((function(t){void 0!==t.initialize&&t.initialize.call(n)})),this.position()}return A(o,n),t(o,[{key:"getClass",value:function(){var t=arguments.length<=0||void 0===arguments[0]?"":arguments[0],e=this.options.classes;return void 0!==e&&e[t]?this.options.classes[t]:this.options.classPrefix?this.options.classPrefix+"-"+t:t}},{key:"setOptions",value:function(t){var e=this,i=arguments.length<=1||void 0===arguments[1]||arguments[1],n={offset:"0 0",targetOffset:"0 0",targetAttachment:"auto auto",classPrefix:"tether"};this.options=g(n,t);var o=this.options,s=o.element,a=o.target,l=o.targetModifier;if(this.element=s,this.target=a,this.targetModifier=l,"viewport"===this.target?(this.target=document.body,this.targetModifier="visible"):"scroll-handle"===this.target&&(this.target=document.body,this.targetModifier="scroll-handle"),["element","target"].forEach((function(t){if(void 0===e[t])throw new Error("Tether Error: Both element and target must be defined");void 0!==e[t].jquery?e[t]=e[t][0]:"string"==typeof e[t]&&(e[t]=document.querySelector(e[t]))})),v(this.element,this.getClass("element")),!1!==this.options.addTargetClasses&&v(this.target,this.getClass("target")),!this.options.attachment)throw new Error("Tether Error: You must provide an attachment");this.targetAttachment=U(this.options.targetAttachment),this.attachment=U(this.options.attachment),this.offset=q(this.options.offset),this.targetOffset=q(this.options.targetOffset),void 0!==this.scrollParents&&this.disable(),"scroll-handle"===this.targetModifier?this.scrollParents=[this.target]:this.scrollParents=r(this.target),!1!==this.options.enabled&&this.enable(i)}},{key:"getTargetBounds",value:function(){if(void 0===this.targetModifier)return h(this.target);if("visible"===this.targetModifier)return this.target===document.body?{top:pageYOffset,left:pageXOffset,height:innerHeight,width:innerWidth}:((r={height:(t=h(this.target)).height,width:t.width,top:t.top,left:t.left}).height=Math.min(r.height,t.height-(pageYOffset-t.top)),r.height=Math.min(r.height,t.height-(t.top+t.height-(pageYOffset+innerHeight))),r.height=Math.min(innerHeight,r.height),r.height-=2,r.width=Math.min(r.width,t.width-(pageXOffset-t.left)),r.width=Math.min(r.width,t.width-(t.left+t.width-(pageXOffset+innerWidth))),r.width=Math.min(innerWidth,r.width),r.width-=2,r.top<pageYOffset&&(r.top=pageYOffset),r.left<pageXOffset&&(r.left=pageXOffset),r);if("scroll-handle"===this.targetModifier){var t=void 0,e=this.target;e===document.body?(e=document.documentElement,t={left:pageXOffset,top:pageYOffset,height:innerHeight,width:innerWidth}):t=h(e);var i=getComputedStyle(e),n=0;(e.scrollWidth>e.clientWidth||[i.overflow,i.overflowX].indexOf("scroll")>=0||this.target!==document.body)&&(n=15);var o=t.height-parseFloat(i.borderTopWidth)-parseFloat(i.borderBottomWidth)-n,r={width:15,height:.975*o*(o/e.scrollHeight),left:t.left+t.width-parseFloat(i.borderLeftWidth)-15},s=0;o<408&&this.target===document.body&&(s=-11e-5*Math.pow(o,2)-.00727*o+22.58),this.target!==document.body&&(r.height=Math.max(r.height,24));var a=this.target.scrollTop/(e.scrollHeight-o);return r.top=a*(o-r.height-s)+t.top+parseFloat(i.borderTopWidth),this.target===document.body&&(r.height=Math.max(r.height,24)),r}}},{key:"clearCache",value:function(){this._cache={}}},{key:"cache",value:function(t,e){return void 0===this._cache&&(this._cache={}),void 0===this._cache[t]&&(this._cache[t]=e.call(this)),this._cache[t]}},{key:"enable",value:function(){var t=this,e=arguments.length<=0||void 0===arguments[0]||arguments[0];!1!==this.options.addTargetClasses&&v(this.target,this.getClass("enabled")),v(this.element,this.getClass("enabled")),this.enabled=!0,this.scrollParents.forEach((function(e){e!==t.target.ownerDocument&&e.addEventListener("scroll",t.position)})),e&&this.position()}},{key:"disable",value:function(){var t=this;m(this.target,this.getClass("enabled")),m(this.element,this.getClass("enabled")),this.enabled=!1,void 0!==this.scrollParents&&this.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.position)}))}},{key:"destroy",value:function(){var t=this;this.disable(),L.forEach((function(e,i){e===t&&L.splice(i,1)})),0===L.length&&u()}},{key:"updateAttachClasses",value:function(t,e){var i=this;t=t||this.attachment,e=e||this.targetAttachment;var n=["left","top","bottom","right","middle","center"];void 0!==this._addAttachClasses&&this._addAttachClasses.length&&this._addAttachClasses.splice(0,this._addAttachClasses.length),void 0===this._addAttachClasses&&(this._addAttachClasses=[]);var o=this._addAttachClasses;t.top&&o.push(this.getClass("element-attached")+"-"+t.top),t.left&&o.push(this.getClass("element-attached")+"-"+t.left),e.top&&o.push(this.getClass("target-attached")+"-"+e.top),e.left&&o.push(this.getClass("target-attached")+"-"+e.left);var r=[];n.forEach((function(t){r.push(i.getClass("element-attached")+"-"+t),r.push(i.getClass("target-attached")+"-"+t)})),S((function(){void 0!==i._addAttachClasses&&(w(i.element,i._addAttachClasses,r),!1!==i.options.addTargetClasses&&w(i.target,i._addAttachClasses,r),delete i._addAttachClasses)}))}},{key:"position",value:function(){var t=this,e=arguments.length<=0||void 0===arguments[0]||arguments[0];if(this.enabled){this.clearCache();var n=H(this.targetAttachment,this.attachment);this.updateAttachClasses(this.attachment,n);var o=this.cache("element-bounds",(function(){return h(t.element)})),r=o.width,s=o.height;if(0===r&&0===s&&void 0!==this.lastSize){var a=this.lastSize;r=a.width,s=a.height}else this.lastSize={width:r,height:s};var l=this.cache("target-bounds",(function(){return t.getTargetBounds()})),c=l,u=R(W(this.attachment),{width:r,height:s}),p=R(W(n),c),g=R(this.offset,{width:r,height:s}),m=R(this.targetOffset,c);u=V(u,g),p=V(p,m);for(var v=l.left+p.left-u.left,y=l.top+p.top-u.top,_=0;_<i.modules.length;++_){var b=i.modules[_].position.call(this,{left:v,top:y,targetAttachment:n,targetPos:l,elementPos:o,offset:u,targetOffset:p,manualOffset:g,manualTargetOffset:m,scrollbarSize:E,attachment:this.attachment});if(!1===b)return!1;void 0!==b&&"object"==typeof b&&(y=b.top,v=b.left)}var w={page:{top:y,left:v},viewport:{top:y-pageYOffset,bottom:pageYOffset-y-s+innerHeight,left:v-pageXOffset,right:pageXOffset-v-r+innerWidth}},x=this.target.ownerDocument,S=x.defaultView,E=void 0;return S.innerHeight>x.documentElement.clientHeight&&(E=this.cache("scrollbar-size",f),w.viewport.bottom-=E.height),S.innerWidth>x.documentElement.clientWidth&&(E=this.cache("scrollbar-size",f),w.viewport.right-=E.width),-1!==["","static"].indexOf(x.body.style.position)&&-1!==["","static"].indexOf(x.body.parentElement.style.position)||(w.page.bottom=x.body.scrollHeight-y-s,w.page.right=x.body.scrollWidth-v-r),void 0!==this.options.optimizations&&!1!==this.options.optimizations.moveElement&&void 0===this.targetModifier&&function(){var e=t.cache("target-offsetparent",(function(){return d(t.target)})),i=t.cache("target-offsetparent-bounds",(function(){return h(e)})),n=getComputedStyle(e),o=i,r={};if(["Top","Left","Bottom","Right"].forEach((function(t){r[t.toLowerCase()]=parseFloat(n["border"+t+"Width"])})),i.right=x.body.scrollWidth-i.left-o.width+r.right,i.bottom=x.body.scrollHeight-i.top-o.height+r.bottom,w.page.top>=i.top+r.top&&w.page.bottom>=i.bottom&&w.page.left>=i.left+r.left&&w.page.right>=i.right){var s=e.scrollTop,a=e.scrollLeft;w.offset={top:w.page.top-i.top+s-r.top,left:w.page.left-i.left+a-r.left}}}(),this.move(w),this.history.unshift(w),this.history.length>3&&this.history.pop(),e&&C(),!0}}},{key:"move",value:function(t){var e=this;if(void 0!==this.element.parentNode){var i={};for(var n in t)for(var o in i[n]={},t[n]){for(var r=!1,s=0;s<this.history.length;++s){var a=this.history[s];if(void 0!==a[n]&&!O(a[n][o],t[n][o])){r=!0;break}}r||(i[n][o]=!0)}var l={top:"",left:"",right:"",bottom:""},c=function(t,i){if(!1!==(void 0!==e.options.optimizations?e.options.optimizations.gpu:null)){var n=void 0,o=void 0;t.top?(l.top=0,n=i.top):(l.bottom=0,n=-i.bottom),t.left?(l.left=0,o=i.left):(l.right=0,o=-i.right),"number"==typeof window.devicePixelRatio&&devicePixelRatio%1==0&&(o=Math.round(o*devicePixelRatio)/devicePixelRatio,n=Math.round(n*devicePixelRatio)/devicePixelRatio),l[N]="translateX("+o+"px) translateY("+n+"px)","msTransform"!==N&&(l[N]+=" translateZ(0)")}else t.top?l.top=i.top+"px":l.bottom=i.bottom+"px",t.left?l.left=i.left+"px":l.right=i.right+"px"},u=!1;if((i.page.top||i.page.bottom)&&(i.page.left||i.page.right)?(l.position="absolute",c(i.page,t.page)):(i.viewport.top||i.viewport.bottom)&&(i.viewport.left||i.viewport.right)?(l.position="fixed",c(i.viewport,t.viewport)):void 0!==i.offset&&i.offset.top&&i.offset.left?function(){l.position="absolute";var n=e.cache("target-offsetparent",(function(){return d(e.target)}));d(e.element)!==n&&S((function(){e.element.parentNode.removeChild(e.element),n.appendChild(e.element)})),c(i.offset,t.offset),u=!0}():(l.position="absolute",c({top:!0,left:!0},t.page)),!u)if(this.options.bodyElement)this.element.parentNode!==this.options.bodyElement&&this.options.bodyElement.appendChild(this.element);else{for(var h=function(t){var e=t.ownerDocument;return(e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement)===t},p=!0,f=this.element.parentNode;f&&1===f.nodeType&&"BODY"!==f.tagName&&!h(f);){if("static"!==getComputedStyle(f).position){p=!1;break}f=f.parentNode}p||(this.element.parentNode.removeChild(this.element),this.element.ownerDocument.body.appendChild(this.element))}var m={},v=!1;for(var o in l){var y=l[o];this.element.style[o]!==y&&(v=!0,m[o]=y)}v&&S((function(){g(e.element.style,m),e.trigger("repositioned")}))}}}]),o}(E);Q.modules=[],i.position=B;var Y=g(Q,i);T=function(){function t(t,e){var i=[],n=!0,o=!1,r=void 0;try{for(var s,a=t[Symbol.iterator]();!(n=(s=a.next()).done)&&(i.push(s.value),!e||i.length!==e);n=!0);}catch(t){o=!0,r=t}finally{try{!n&&a.return&&a.return()}finally{if(o)throw r}}return i}return function(e,i){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),h=(G=i.Utils).getBounds;var g=G.extend,K=(w=G.updateClasses,S=G.defer,["left","top","right","bottom"]);function X(t,e){return"scrollParent"===e?e=t.scrollParents[0]:"window"===e&&(e=[pageXOffset,pageYOffset,innerWidth+pageXOffset,innerHeight+pageYOffset]),e===document&&(e=e.documentElement),void 0!==e.nodeType&&function(){var t=e,i=h(e),n=i,o=getComputedStyle(e);if(e=[n.left,n.top,i.width+n.left,i.height+n.top],t.ownerDocument!==document){var r=t.ownerDocument.defaultView;e[0]+=r.pageXOffset,e[1]+=r.pageYOffset,e[2]+=r.pageXOffset,e[3]+=r.pageYOffset}K.forEach((function(t,i){"Top"===(t=t[0].toUpperCase()+t.substr(1))||"Left"===t?e[i]+=parseFloat(o["border"+t+"Width"]):e[i]-=parseFloat(o["border"+t+"Width"])}))}(),e}i.modules.push({position:function(t){var e=this,i=t.top,n=t.left,o=t.targetAttachment;if(!this.options.constraints)return!0;var r=this.cache("element-bounds",(function(){return h(e.element)})),s=r.height,a=r.width;if(0===a&&0===s&&void 0!==this.lastSize){var l=this.lastSize;a=l.width,s=l.height}var c=this.cache("target-bounds",(function(){return e.getTargetBounds()})),u=c.height,d=c.width,p=[this.getClass("pinned"),this.getClass("out-of-bounds")];this.options.constraints.forEach((function(t){var e=t.outOfBoundsClass,i=t.pinnedClass;e&&p.push(e),i&&p.push(i)})),p.forEach((function(t){["left","top","right","bottom"].forEach((function(e){p.push(t+"-"+e)}))}));var f=[],m=g({},o),v=g({},this.attachment);return this.options.constraints.forEach((function(t){var r=t.to,l=t.attachment,c=t.pin;void 0===l&&(l="");var h=void 0,p=void 0;if(l.indexOf(" ")>=0){var g=l.split(" "),y=T(g,2);p=y[0],h=y[1]}else h=p=l;var _=X(e,r);"target"!==p&&"both"!==p||(i<_[1]&&"top"===m.top&&(i+=u,m.top="bottom"),i+s>_[3]&&"bottom"===m.top&&(i-=u,m.top="top")),"together"===p&&("top"===m.top&&("bottom"===v.top&&i<_[1]?(i+=u,m.top="bottom",i+=s,v.top="top"):"top"===v.top&&i+s>_[3]&&i-(s-u)>=_[1]&&(i-=s-u,m.top="bottom",v.top="bottom")),"bottom"===m.top&&("top"===v.top&&i+s>_[3]?(i-=u,m.top="top",i-=s,v.top="bottom"):"bottom"===v.top&&i<_[1]&&i+(2*s-u)<=_[3]&&(i+=s-u,m.top="top",v.top="top")),"middle"===m.top&&(i+s>_[3]&&"top"===v.top?(i-=s,v.top="bottom"):i<_[1]&&"bottom"===v.top&&(i+=s,v.top="top"))),"target"!==h&&"both"!==h||(n<_[0]&&"left"===m.left&&(n+=d,m.left="right"),n+a>_[2]&&"right"===m.left&&(n-=d,m.left="left")),"together"===h&&(n<_[0]&&"left"===m.left?"right"===v.left?(n+=d,m.left="right",n+=a,v.left="left"):"left"===v.left&&(n+=d,m.left="right",n-=a,v.left="right"):n+a>_[2]&&"right"===m.left?"left"===v.left?(n-=d,m.left="left",n-=a,v.left="right"):"right"===v.left&&(n-=d,m.left="left",n+=a,v.left="left"):"center"===m.left&&(n+a>_[2]&&"left"===v.left?(n-=a,v.left="right"):n<_[0]&&"right"===v.left&&(n+=a,v.left="left"))),"element"!==p&&"both"!==p||(i<_[1]&&"bottom"===v.top&&(i+=s,v.top="top"),i+s>_[3]&&"top"===v.top&&(i-=s,v.top="bottom")),"element"!==h&&"both"!==h||(n<_[0]&&("right"===v.left?(n+=a,v.left="left"):"center"===v.left&&(n+=a/2,v.left="left")),n+a>_[2]&&("left"===v.left?(n-=a,v.left="right"):"center"===v.left&&(n-=a/2,v.left="right"))),"string"==typeof c?c=c.split(",").map((function(t){return t.trim()})):!0===c&&(c=["top","left","right","bottom"]),c=c||[];var b,w,x=[],S=[];i<_[1]&&(c.indexOf("top")>=0?(i=_[1],x.push("top")):S.push("top")),i+s>_[3]&&(c.indexOf("bottom")>=0?(i=_[3]-s,x.push("bottom")):S.push("bottom")),n<_[0]&&(c.indexOf("left")>=0?(n=_[0],x.push("left")):S.push("left")),n+a>_[2]&&(c.indexOf("right")>=0?(n=_[2]-a,x.push("right")):S.push("right")),x.length&&(b=void 0,b=void 0!==e.options.pinnedClass?e.options.pinnedClass:e.getClass("pinned"),f.push(b),x.forEach((function(t){f.push(b+"-"+t)}))),S.length&&(w=void 0,w=void 0!==e.options.outOfBoundsClass?e.options.outOfBoundsClass:e.getClass("out-of-bounds"),f.push(w),S.forEach((function(t){f.push(w+"-"+t)}))),(x.indexOf("left")>=0||x.indexOf("right")>=0)&&(v.left=m.left=!1),(x.indexOf("top")>=0||x.indexOf("bottom")>=0)&&(v.top=m.top=!1),m.top===o.top&&m.left===o.left&&v.top===e.attachment.top&&v.left===e.attachment.left||(e.updateAttachClasses(v,m),e.trigger("update",{attachment:v,targetAttachment:m}))})),S((function(){!1!==e.options.addTargetClasses&&w(e.target,f,p),w(e.element,f,p)})),{top:i,left:n}}});var G,h=(G=i.Utils).getBounds,w=G.updateClasses;return S=G.defer,i.modules.push({position:function(t){var e=this,i=t.top,n=t.left,o=this.cache("element-bounds",(function(){return h(e.element)})),r=o.height,s=o.width,a=this.getTargetBounds(),l=i+r,c=n+s,u=[];i<=a.bottom&&l>=a.top&&["left","right"].forEach((function(t){var e=a[t];e!==n&&e!==c||u.push(t)})),n<=a.right&&c>=a.left&&["top","bottom"].forEach((function(t){var e=a[t];e!==i&&e!==l||u.push(t)}));var d=[],p=[],f=["left","top","right","bottom"];return d.push(this.getClass("abutted")),f.forEach((function(t){d.push(e.getClass("abutted")+"-"+t)})),u.length&&p.push(this.getClass("abutted")),u.forEach((function(t){p.push(e.getClass("abutted")+"-"+t)})),S((function(){!1!==e.options.addTargetClasses&&w(e.target,p,d),w(e.element,p,d)})),!0}}),T=function(){function t(t,e){var i=[],n=!0,o=!1,r=void 0;try{for(var s,a=t[Symbol.iterator]();!(n=(s=a.next()).done)&&(i.push(s.value),!e||i.length!==e);n=!0);}catch(t){o=!0,r=t}finally{try{!n&&a.return&&a.return()}finally{if(o)throw r}}return i}return function(e,i){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i.modules.push({position:function(t){var e=t.top,i=t.left;if(this.options.shift){var n=this.options.shift;"function"==typeof this.options.shift&&(n=this.options.shift.call(this,{top:e,left:i}));var o=void 0,r=void 0;if("string"==typeof n){(n=n.split(" "))[1]=n[1]||n[0];var s=T(n,2);o=s[0],r=s[1],o=parseFloat(o,10),r=parseFloat(r,10)}else o=n.top,r=n.left;return{top:e+=o,left:i+=r}}}}),Y},void 0===(o="function"==typeof i?i.apply(e,n):i)||(t.exports=o)},445:(t,e,i)=>{var n,o;/*! VelocityJS.org (1.5.2). (C) 2014 Julian Shapiro. MIT @license: en.wikipedia.org/wiki/MIT_License */
/*! VelocityJS.org jQuery Shim (1.0.1). (C) 2014 The jQuery Foundation. MIT @license: en.wikipedia.org/wiki/MIT_License. */!function(t){"use strict";if(!t.jQuery){var e=function(t,i){return new e.fn.init(t,i)};e.isWindow=function(t){return t&&t===t.window},e.type=function(t){return t?"object"==typeof t||"function"==typeof t?n[r.call(t)]||"object":typeof t:t+""},e.isArray=Array.isArray||function(t){return"array"===e.type(t)},e.isPlainObject=function(t){var i;if(!t||"object"!==e.type(t)||t.nodeType||e.isWindow(t))return!1;try{if(t.constructor&&!o.call(t,"constructor")&&!o.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}for(i in t);return void 0===i||o.call(t,i)},e.each=function(t,e,i){var n=0,o=t.length,r=l(t);if(i){if(r)for(;n<o&&!1!==e.apply(t[n],i);n++);else for(n in t)if(t.hasOwnProperty(n)&&!1===e.apply(t[n],i))break}else if(r)for(;n<o&&!1!==e.call(t[n],n,t[n]);n++);else for(n in t)if(t.hasOwnProperty(n)&&!1===e.call(t[n],n,t[n]))break;return t},e.data=function(t,n,o){if(void 0===o){var r=t[e.expando],s=r&&i[r];if(void 0===n)return s;if(s&&n in s)return s[n]}else if(void 0!==n){var a=t[e.expando]||(t[e.expando]=++e.uuid);return i[a]=i[a]||{},i[a][n]=o,o}},e.removeData=function(t,n){var o=t[e.expando],r=o&&i[o];r&&(n?e.each(n,(function(t,e){delete r[e]})):delete i[o])},e.extend=function(){var t,i,n,o,r,s,a=arguments[0]||{},l=1,c=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[l]||{},l++),"object"!=typeof a&&"function"!==e.type(a)&&(a={}),l===c&&(a=this,l--);l<c;l++)if(r=arguments[l])for(o in r)r.hasOwnProperty(o)&&(t=a[o],a!==(n=r[o])&&(u&&n&&(e.isPlainObject(n)||(i=e.isArray(n)))?(i?(i=!1,s=t&&e.isArray(t)?t:[]):s=t&&e.isPlainObject(t)?t:{},a[o]=e.extend(u,s,n)):void 0!==n&&(a[o]=n)));return a},e.queue=function(t,i,n){if(t){i=(i||"fx")+"queue";var o,r,s,a=e.data(t,i);return n?(!a||e.isArray(n)?a=e.data(t,i,(s=r||[],(o=n)&&(l(Object(o))?function(t,e){for(var i=+e.length,n=0,o=t.length;n<i;)t[o++]=e[n++];if(i!=i)for(;void 0!==e[n];)t[o++]=e[n++];t.length=o}(s,"string"==typeof o?[o]:o):[].push.call(s,o)),s)):a.push(n),a):a||[]}},e.dequeue=function(t,i){e.each(t.nodeType?[t]:t,(function(t,n){i=i||"fx";var o=e.queue(n,i),r=o.shift();"inprogress"===r&&(r=o.shift()),r&&("fx"===i&&o.unshift("inprogress"),r.call(n,(function(){e.dequeue(n,i)})))}))},e.fn=e.prototype={init:function(t){if(t.nodeType)return this[0]=t,this;throw new Error("Not a DOM node.")},offset:function(){var e=this[0].getBoundingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:e.top+(t.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:e.left+(t.pageXOffset||document.scrollLeft||0)-(document.clientLeft||0)}},position:function(){var t=this[0],i=function(t){for(var e=t.offsetParent;e&&"html"!==e.nodeName.toLowerCase()&&e.style&&"static"===e.style.position.toLowerCase();)e=e.offsetParent;return e||document}(t),n=this.offset(),o=/^(?:body|html)$/i.test(i.nodeName)?{top:0,left:0}:e(i).offset();return n.top-=parseFloat(t.style.marginTop)||0,n.left-=parseFloat(t.style.marginLeft)||0,i.style&&(o.top+=parseFloat(i.style.borderTopWidth)||0,o.left+=parseFloat(i.style.borderLeftWidth)||0),{top:n.top-o.top,left:n.left-o.left}}};var i={};e.expando="velocity"+(new Date).getTime(),e.uuid=0;for(var n={},o=n.hasOwnProperty,r=n.toString,s="Boolean Number String Function Array Date RegExp Object Error".split(" "),a=0;a<s.length;a++)n["[object "+s[a]+"]"]=s[a].toLowerCase();e.fn.init.prototype=e.fn,t.Velocity={Utilities:e}}function l(t){var i=t.length,n=e.type(t);return"function"!==n&&!e.isWindow(t)&&(!(1!==t.nodeType||!i)||("array"===n||0===i||"number"==typeof i&&i>0&&i-1 in t))}}(window),function(r){"use strict";"object"==typeof t.exports?t.exports=r():void 0===(o="function"==typeof(n=r)?n.call(e,i,e,t):n)||(t.exports=o)}((function(){"use strict";return function(t,e,i,n){var o,r=function(){if(i.documentMode)return i.documentMode;for(var t=7;t>4;t--){var e=i.createElement("div");if(e.innerHTML="\x3c!--[if IE "+t+"]><span></span><![endif]--\x3e",e.getElementsByTagName("span").length)return e=null,t}return n}(),s=(o=0,e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||function(t){var e,i=(new Date).getTime();return e=Math.max(0,16-(i-o)),o=i+e,setTimeout((function(){t(i+e)}),e)}),a=function(){var t=e.performance||{};if("function"!=typeof t.now){var i=t.timing&&t.timing.navigationStart?t.timing.navigationStart:(new Date).getTime();t.now=function(){return(new Date).getTime()-i}}return t}();var l=function(){var t=Array.prototype.slice;try{return t.call(i.documentElement),t}catch(e){return function(e,i){var n=this.length;if("number"!=typeof e&&(e=0),"number"!=typeof i&&(i=n),this.slice)return t.call(this,e,i);var o,r=[],s=e>=0?e:Math.max(0,n+e),a=(i<0?n+i:Math.min(i,n))-s;if(a>0)if(r=new Array(a),this.charAt)for(o=0;o<a;o++)r[o]=this.charAt(s+o);else for(o=0;o<a;o++)r[o]=this[s+o];return r}}}(),c=function(){return Array.prototype.includes?function(t,e){return t.includes(e)}:Array.prototype.indexOf?function(t,e){return t.indexOf(e)>=0}:function(t,e){for(var i=0;i<t.length;i++)if(t[i]===e)return!0;return!1}};function u(t){return d.isWrapped(t)?t=l.call(t):d.isNode(t)&&(t=[t]),t}var h,d={isNumber:function(t){return"number"==typeof t},isString:function(t){return"string"==typeof t},isArray:Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},isFunction:function(t){return"[object Function]"===Object.prototype.toString.call(t)},isNode:function(t){return t&&t.nodeType},isWrapped:function(t){return t&&t!==e&&d.isNumber(t.length)&&!d.isString(t)&&!d.isFunction(t)&&!d.isNode(t)&&(0===t.length||d.isNode(t[0]))},isSVG:function(t){return e.SVGElement&&t instanceof e.SVGElement},isEmptyObject:function(t){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}},p=!1;if(t.fn&&t.fn.jquery?(h=t,p=!0):h=e.Velocity.Utilities,r<=8&&!p)throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");if(!(r<=7)){var f="swing",g={State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(e.navigator.userAgent),isAndroid:/Android/i.test(e.navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(e.navigator.userAgent),isChrome:e.chrome,isFirefox:/Firefox/i.test(e.navigator.userAgent),prefixElement:i.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,calls:[],delayedElements:{count:0}},CSS:{},Utilities:h,Redirects:{},Easings:{},Promise:e.Promise,defaults:{queue:"",duration:400,easing:f,begin:n,complete:n,progress:n,display:n,visibility:n,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0,promiseRejectEmpty:!0},init:function(t){h.data(t,"velocity",{isSVG:d.isSVG(t),isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mock:!1,version:{major:1,minor:5,patch:2},debug:!1,timestamp:!0,pauseAll:function(t){var e=(new Date).getTime();h.each(g.State.calls,(function(e,i){if(i){if(t!==n&&(i[2].queue!==t||!1===i[2].queue))return!0;i[5]={resume:!1}}})),h.each(g.State.delayedElements,(function(t,i){i&&x(i,e)}))},resumeAll:function(t){var e=(new Date).getTime();h.each(g.State.calls,(function(e,i){if(i){if(t!==n&&(i[2].queue!==t||!1===i[2].queue))return!0;i[5]&&(i[5].resume=!0)}})),h.each(g.State.delayedElements,(function(t,i){i&&S(i,e)}))}};e.pageYOffset!==n?(g.State.scrollAnchor=e,g.State.scrollPropertyLeft="pageXOffset",g.State.scrollPropertyTop="pageYOffset"):(g.State.scrollAnchor=i.documentElement||i.body.parentNode||i.body,g.State.scrollPropertyLeft="scrollLeft",g.State.scrollPropertyTop="scrollTop");var m=function(){function t(t){return-t.tension*t.x-t.friction*t.v}function e(e,i,n){var o={x:e.x+n.dx*i,v:e.v+n.dv*i,tension:e.tension,friction:e.friction};return{dx:o.v,dv:t(o)}}function i(i,n){var o={dx:i.v,dv:t(i)},r=e(i,.5*n,o),s=e(i,.5*n,r),a=e(i,n,s),l=1/6*(o.dx+2*(r.dx+s.dx)+a.dx),c=1/6*(o.dv+2*(r.dv+s.dv)+a.dv);return i.x=i.x+l*n,i.v=i.v+c*n,i}return function t(e,n,o){var r,s,a,l={x:-1,v:0,tension:null,friction:null},c=[0],u=0,h=1e-4;for(e=parseFloat(e)||500,n=parseFloat(n)||20,o=o||null,l.tension=e,l.friction=n,s=(r=null!==o)?(u=t(e,n))/o*.016:.016;a=i(a||l,s),c.push(1+a.x),u+=16,Math.abs(a.x)>h&&Math.abs(a.v)>h;);return r?function(t){return c[t*(c.length-1)|0]}:u}}();g.Easings={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},spring:function(t){return 1-Math.cos(4.5*t*Math.PI)*Math.exp(6*-t)}},h.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],(function(t,e){g.Easings[e[0]]=E.apply(null,e[1])}));var v=g.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"],units:["%","em","ex","ch","rem","vw","vh","vmin","vmax","cm","mm","Q","in","pc","pt","px","deg","grad","rad","turn","s","ms"],colorNames:{aliceblue:"240,248,255",antiquewhite:"250,235,215",aquamarine:"127,255,212",aqua:"0,255,255",azure:"240,255,255",beige:"245,245,220",bisque:"255,228,196",black:"0,0,0",blanchedalmond:"255,235,205",blueviolet:"138,43,226",blue:"0,0,255",brown:"165,42,42",burlywood:"222,184,135",cadetblue:"95,158,160",chartreuse:"127,255,0",chocolate:"210,105,30",coral:"255,127,80",cornflowerblue:"100,149,237",cornsilk:"255,248,220",crimson:"220,20,60",cyan:"0,255,255",darkblue:"0,0,139",darkcyan:"0,139,139",darkgoldenrod:"184,134,11",darkgray:"169,169,169",darkgrey:"169,169,169",darkgreen:"0,100,0",darkkhaki:"189,183,107",darkmagenta:"139,0,139",darkolivegreen:"85,107,47",darkorange:"255,140,0",darkorchid:"153,50,204",darkred:"139,0,0",darksalmon:"233,150,122",darkseagreen:"143,188,143",darkslateblue:"72,61,139",darkslategray:"47,79,79",darkturquoise:"0,206,209",darkviolet:"148,0,211",deeppink:"255,20,147",deepskyblue:"0,191,255",dimgray:"105,105,105",dimgrey:"105,105,105",dodgerblue:"30,144,255",firebrick:"178,34,34",floralwhite:"255,250,240",forestgreen:"34,139,34",fuchsia:"255,0,255",gainsboro:"220,220,220",ghostwhite:"248,248,255",gold:"255,215,0",goldenrod:"218,165,32",gray:"128,128,128",grey:"128,128,128",greenyellow:"173,255,47",green:"0,128,0",honeydew:"240,255,240",hotpink:"255,105,180",indianred:"205,92,92",indigo:"75,0,130",ivory:"255,255,240",khaki:"240,230,140",lavenderblush:"255,240,245",lavender:"230,230,250",lawngreen:"124,252,0",lemonchiffon:"255,250,205",lightblue:"173,216,230",lightcoral:"240,128,128",lightcyan:"224,255,255",lightgoldenrodyellow:"250,250,210",lightgray:"211,211,211",lightgrey:"211,211,211",lightgreen:"144,238,144",lightpink:"255,182,193",lightsalmon:"255,160,122",lightseagreen:"32,178,170",lightskyblue:"135,206,250",lightslategray:"119,136,153",lightsteelblue:"176,196,222",lightyellow:"255,255,224",limegreen:"50,205,50",lime:"0,255,0",linen:"250,240,230",magenta:"255,0,255",maroon:"128,0,0",mediumaquamarine:"102,205,170",mediumblue:"0,0,205",mediumorchid:"186,85,211",mediumpurple:"147,112,219",mediumseagreen:"60,179,113",mediumslateblue:"123,104,238",mediumspringgreen:"0,250,154",mediumturquoise:"72,209,204",mediumvioletred:"199,21,133",midnightblue:"25,25,112",mintcream:"245,255,250",mistyrose:"255,228,225",moccasin:"255,228,181",navajowhite:"255,222,173",navy:"0,0,128",oldlace:"253,245,230",olivedrab:"107,142,35",olive:"128,128,0",orangered:"255,69,0",orange:"255,165,0",orchid:"218,112,214",palegoldenrod:"238,232,170",palegreen:"152,251,152",paleturquoise:"175,238,238",palevioletred:"219,112,147",papayawhip:"255,239,213",peachpuff:"255,218,185",peru:"205,133,63",pink:"255,192,203",plum:"221,160,221",powderblue:"176,224,230",purple:"128,0,128",red:"255,0,0",rosybrown:"188,143,143",royalblue:"65,105,225",saddlebrown:"139,69,19",salmon:"250,128,114",sandybrown:"244,164,96",seagreen:"46,139,87",seashell:"255,245,238",sienna:"160,82,45",silver:"192,192,192",skyblue:"135,206,235",slateblue:"106,90,205",slategray:"112,128,144",snow:"255,250,250",springgreen:"0,255,127",steelblue:"70,130,180",tan:"210,180,140",teal:"0,128,128",thistle:"216,191,216",tomato:"255,99,71",turquoise:"64,224,208",violet:"238,130,238",wheat:"245,222,179",whitesmoke:"245,245,245",white:"255,255,255",yellowgreen:"154,205,50",yellow:"255,255,0"}},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var t=0;t<v.Lists.colors.length;t++){var e="color"===v.Lists.colors[t]?"0 0 0 1":"255 255 255 1";v.Hooks.templates[v.Lists.colors[t]]=["Red Green Blue Alpha",e]}var i,n,o;if(r)for(i in v.Hooks.templates)if(v.Hooks.templates.hasOwnProperty(i)){o=(n=v.Hooks.templates[i])[0].split(" ");var s=n[1].match(v.RegEx.valueSplit);"Color"===o[0]&&(o.push(o.shift()),s.push(s.shift()),v.Hooks.templates[i]=[o.join(" "),s.join(" ")])}for(i in v.Hooks.templates)if(v.Hooks.templates.hasOwnProperty(i))for(var a in o=(n=v.Hooks.templates[i])[0].split(" "))if(o.hasOwnProperty(a)){var l=i+o[a],c=a;v.Hooks.registered[l]=[i,c]}},getRoot:function(t){var e=v.Hooks.registered[t];return e?e[0]:t},getUnit:function(t,e){var i=(t.substr(e||0,5).match(/^[a-z%]+/)||[])[0]||"";return i&&c(v.Lists.units)?i:""},fixColors:function(t){return t.replace(/(rgba?\(\s*)?(\b[a-z]+\b)/g,(function(t,e,i){return v.Lists.colorNames.hasOwnProperty(i)?(e||"rgba(")+v.Lists.colorNames[i]+(e?"":",1)"):e+i}))},cleanRootPropertyValue:function(t,e){return v.RegEx.valueUnwrap.test(e)&&(e=e.match(v.RegEx.valueUnwrap)[1]),v.Values.isCSSNullValue(e)&&(e=v.Hooks.templates[t][1]),e},extractValue:function(t,e){var i=v.Hooks.registered[t];if(i){var n=i[0],o=i[1];return(e=v.Hooks.cleanRootPropertyValue(n,e)).toString().match(v.RegEx.valueSplit)[o]}return e},injectValue:function(t,e,i){var n=v.Hooks.registered[t];if(n){var o,r=n[0],s=n[1];return(o=(i=v.Hooks.cleanRootPropertyValue(r,i)).toString().match(v.RegEx.valueSplit))[s]=e,o.join(" ")}return i}},Normalizations:{registered:{clip:function(t,e,i){switch(t){case"name":return"clip";case"extract":var n;return n=v.RegEx.wrappedValueAlreadyExtracted.test(i)?i:(n=i.toString().match(v.RegEx.valueUnwrap))?n[1].replace(/,(\s+)?/g," "):i;case"inject":return"rect("+i+")"}},blur:function(t,e,i){switch(t){case"name":return g.State.isFirefox?"filter":"-webkit-filter";case"extract":var n=parseFloat(i);if(!n&&0!==n){var o=i.toString().match(/blur\(([0-9]+[A-z]+)\)/i);n=o?o[1]:0}return n;case"inject":return parseFloat(i)?"blur("+i+")":"none"}},opacity:function(t,e,i){if(r<=8)switch(t){case"name":return"filter";case"extract":var n=i.toString().match(/alpha\(opacity=(.*)\)/i);return i=n?n[1]/100:1;case"inject":return e.style.zoom=1,parseFloat(i)>=1?"":"alpha(opacity="+parseInt(100*parseFloat(i),10)+")"}else switch(t){case"name":return"opacity";case"extract":case"inject":return i}}},register:function(){r&&!(r>9)||g.State.isGingerbread||(v.Lists.transformsBase=v.Lists.transformsBase.concat(v.Lists.transforms3D));for(var t=0;t<v.Lists.transformsBase.length;t++)!function(){var e=v.Lists.transformsBase[t];v.Normalizations.registered[e]=function(t,i,o){switch(t){case"name":return"transform";case"extract":return w(i)===n||w(i).transformCache[e]===n?/^scale/i.test(e)?1:0:w(i).transformCache[e].replace(/[()]/g,"");case"inject":var r=!1;switch(e.substr(0,e.length-1)){case"translate":r=!/(%|px|em|rem|vw|vh|\d)$/i.test(o);break;case"scal":case"scale":g.State.isAndroid&&w(i).transformCache[e]===n&&o<1&&(o=1),r=!/(\d)$/i.test(o);break;case"skew":case"rotate":r=!/(deg|\d)$/i.test(o)}return r||(w(i).transformCache[e]="("+o+")"),w(i).transformCache[e]}}}();for(var e=0;e<v.Lists.colors.length;e++)!function(){var t=v.Lists.colors[e];v.Normalizations.registered[t]=function(e,i,o){switch(e){case"name":return t;case"extract":var s;if(v.RegEx.wrappedValueAlreadyExtracted.test(o))s=o;else{var a,l={black:"rgb(0, 0, 0)",blue:"rgb(0, 0, 255)",gray:"rgb(128, 128, 128)",green:"rgb(0, 128, 0)",red:"rgb(255, 0, 0)",white:"rgb(255, 255, 255)"};/^[A-z]+$/i.test(o)?a=l[o]!==n?l[o]:l.black:v.RegEx.isHex.test(o)?a="rgb("+v.Values.hexToRgb(o).join(" ")+")":/^rgba?\(/i.test(o)||(a=l.black),s=(a||o).toString().match(v.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g," ")}return(!r||r>8)&&3===s.split(" ").length&&(s+=" 1"),s;case"inject":return/^rgb/.test(o)?o:(r<=8?4===o.split(" ").length&&(o=o.split(/\s+/).slice(0,3).join(" ")):3===o.split(" ").length&&(o+=" 1"),(r<=8?"rgb":"rgba")+"("+o.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")")}}}();function i(t,e,i){if("border-box"===v.getPropertyValue(e,"boxSizing").toString().toLowerCase()===(i||!1)){var n,o,r=0,s="width"===t?["Left","Right"]:["Top","Bottom"],a=["padding"+s[0],"padding"+s[1],"border"+s[0]+"Width","border"+s[1]+"Width"];for(n=0;n<a.length;n++)o=parseFloat(v.getPropertyValue(e,a[n])),isNaN(o)||(r+=o);return i?-r:r}return 0}function o(t,e){return function(n,o,r){switch(n){case"name":return t;case"extract":return parseFloat(r)+i(t,o,e);case"inject":return parseFloat(r)-i(t,o,e)+"px"}}}v.Normalizations.registered.innerWidth=o("width",!0),v.Normalizations.registered.innerHeight=o("height",!0),v.Normalizations.registered.outerWidth=o("width"),v.Normalizations.registered.outerHeight=o("height")}},Names:{camelCase:function(t){return t.replace(/-(\w)/g,(function(t,e){return e.toUpperCase()}))},SVGAttribute:function(t){var e="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(r||g.State.isAndroid&&!g.State.isChrome)&&(e+="|transform"),new RegExp("^("+e+")$","i").test(t)},prefixCheck:function(t){if(g.State.prefixMatches[t])return[g.State.prefixMatches[t],!0];for(var e=["","Webkit","Moz","ms","O"],i=0,n=e.length;i<n;i++){var o;if(o=0===i?t:e[i]+t.replace(/^\w/,(function(t){return t.toUpperCase()})),d.isString(g.State.prefixElement.style[o]))return g.State.prefixMatches[t]=o,[o,!0]}return[t,!1]}},Values:{hexToRgb:function(t){var e;return t=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(t,e,i,n){return e+e+i+i+n+n})),(e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t))?[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]:[0,0,0]},isCSSNullValue:function(t){return!t||/^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(t)},getUnitType:function(t){return/^(rotate|skew)/i.test(t)?"deg":/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(t)?"":"px"},getDisplayType:function(t){var e=t&&t.tagName.toString().toLowerCase();return/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(e)?"inline":/^(li)$/i.test(e)?"list-item":/^(tr)$/i.test(e)?"table-row":/^(table)$/i.test(e)?"table":/^(tbody)$/i.test(e)?"table-row-group":"block"},addClass:function(t,e){if(t)if(t.classList)t.classList.add(e);else if(d.isString(t.className))t.className+=(t.className.length?" ":"")+e;else{var i=t.getAttribute(r<=7?"className":"class")||"";t.setAttribute("class",i+(i?" ":"")+e)}},removeClass:function(t,e){if(t)if(t.classList)t.classList.remove(e);else if(d.isString(t.className))t.className=t.className.toString().replace(new RegExp("(^|\\s)"+e.split(" ").join("|")+"(\\s|$)","gi")," ");else{var i=t.getAttribute(r<=7?"className":"class")||"";t.setAttribute("class",i.replace(new RegExp("(^|s)"+e.split(" ").join("|")+"(s|$)","gi")," "))}}},getPropertyValue:function(t,i,o,s){function a(t,i){var o=0;if(r<=8)o=h.css(t,i);else{var l=!1;/^(width|height)$/.test(i)&&0===v.getPropertyValue(t,"display")&&(l=!0,v.setPropertyValue(t,"display",v.Values.getDisplayType(t)));var c,u=function(){l&&v.setPropertyValue(t,"display","none")};if(!s){if("height"===i&&"border-box"!==v.getPropertyValue(t,"boxSizing").toString().toLowerCase()){var d=t.offsetHeight-(parseFloat(v.getPropertyValue(t,"borderTopWidth"))||0)-(parseFloat(v.getPropertyValue(t,"borderBottomWidth"))||0)-(parseFloat(v.getPropertyValue(t,"paddingTop"))||0)-(parseFloat(v.getPropertyValue(t,"paddingBottom"))||0);return u(),d}if("width"===i&&"border-box"!==v.getPropertyValue(t,"boxSizing").toString().toLowerCase()){var p=t.offsetWidth-(parseFloat(v.getPropertyValue(t,"borderLeftWidth"))||0)-(parseFloat(v.getPropertyValue(t,"borderRightWidth"))||0)-(parseFloat(v.getPropertyValue(t,"paddingLeft"))||0)-(parseFloat(v.getPropertyValue(t,"paddingRight"))||0);return u(),p}}c=w(t)===n?e.getComputedStyle(t,null):w(t).computedStyle?w(t).computedStyle:w(t).computedStyle=e.getComputedStyle(t,null),"borderColor"===i&&(i="borderTopColor"),""!==(o=9===r&&"filter"===i?c.getPropertyValue(i):c[i])&&null!==o||(o=t.style[i]),u()}if("auto"===o&&/^(top|right|bottom|left)$/i.test(i)){var f=a(t,"position");("fixed"===f||"absolute"===f&&/top|left/i.test(i))&&(o=h(t).position()[i]+"px")}return o}var l;if(v.Hooks.registered[i]){var c=i,u=v.Hooks.getRoot(c);o===n&&(o=v.getPropertyValue(t,v.Names.prefixCheck(u)[0])),v.Normalizations.registered[u]&&(o=v.Normalizations.registered[u]("extract",t,o)),l=v.Hooks.extractValue(c,o)}else if(v.Normalizations.registered[i]){var d,p;"transform"!==(d=v.Normalizations.registered[i]("name",t))&&(p=a(t,v.Names.prefixCheck(d)[0]),v.Values.isCSSNullValue(p)&&v.Hooks.templates[i]&&(p=v.Hooks.templates[i][1])),l=v.Normalizations.registered[i]("extract",t,p)}if(!/^[\d-]/.test(l)){var f=w(t);if(f&&f.isSVG&&v.Names.SVGAttribute(i))if(/^(height|width)$/i.test(i))try{l=t.getBBox()[i]}catch(t){l=0}else l=t.getAttribute(i);else l=a(t,v.Names.prefixCheck(i)[0])}return v.Values.isCSSNullValue(l)&&(l=0),g.debug>=2&&console.log("Get "+i+": "+l),l},setPropertyValue:function(t,i,n,o,s){var a=i;if("scroll"===i)s.container?s.container["scroll"+s.direction]=n:"Left"===s.direction?e.scrollTo(n,s.alternateValue):e.scrollTo(s.alternateValue,n);else if(v.Normalizations.registered[i]&&"transform"===v.Normalizations.registered[i]("name",t))v.Normalizations.registered[i]("inject",t,n),a="transform",n=w(t).transformCache[i];else{if(v.Hooks.registered[i]){var l=i,c=v.Hooks.getRoot(i);o=o||v.getPropertyValue(t,c),n=v.Hooks.injectValue(l,n,o),i=c}if(v.Normalizations.registered[i]&&(n=v.Normalizations.registered[i]("inject",t,n),i=v.Normalizations.registered[i]("name",t)),a=v.Names.prefixCheck(i)[0],r<=8)try{t.style[a]=n}catch(t){g.debug&&console.log("Browser does not support ["+n+"] for ["+a+"]")}else{var u=w(t);u&&u.isSVG&&v.Names.SVGAttribute(i)?t.setAttribute(i,n):t.style[a]=n}g.debug>=2&&console.log("Set "+i+" ("+a+"): "+n)}return[a,n]},flushTransformCache:function(t){var e="",i=w(t);if((r||g.State.isAndroid&&!g.State.isChrome)&&i&&i.isSVG){var n=function(e){return parseFloat(v.getPropertyValue(t,e))},o={translate:[n("translateX"),n("translateY")],skewX:[n("skewX")],skewY:[n("skewY")],scale:1!==n("scale")?[n("scale"),n("scale")]:[n("scaleX"),n("scaleY")],rotate:[n("rotateZ"),0,0]};h.each(w(t).transformCache,(function(t){/^translate/i.test(t)?t="translate":/^scale/i.test(t)?t="scale":/^rotate/i.test(t)&&(t="rotate"),o[t]&&(e+=t+"("+o[t].join(" ")+") ",delete o[t])}))}else{var s,a;h.each(w(t).transformCache,(function(i){if(s=w(t).transformCache[i],"transformPerspective"===i)return a=s,!0;9===r&&"rotateZ"===i&&(i="rotate"),e+=i+s+" "})),a&&(e="perspective"+a+" "+e)}v.setPropertyValue(t,"transform",e)}};v.Hooks.register(),v.Normalizations.register(),g.hook=function(t,e,i){var o;return t=u(t),h.each(t,(function(t,r){if(w(r)===n&&g.init(r),i===n)o===n&&(o=v.getPropertyValue(r,e));else{var s=v.setPropertyValue(r,e,i);"transform"===s[0]&&g.CSS.flushTransformCache(r),o=s}})),o};var y=function(){var t;function o(){return r?_.promise||null:s}var r,s,a,l,p,f,m=arguments[0]&&(arguments[0].p||h.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||d.isString(arguments[0].properties));d.isWrapped(this)?(r=!1,a=0,l=this,s=this):(r=!0,a=1,l=m?arguments[0].elements||arguments[0].e:arguments[0]);var _={promise:null,resolver:null,rejecter:null};if(r&&g.Promise&&(_.promise=new g.Promise((function(t,e){_.resolver=t,_.rejecter=e}))),m?(p=arguments[0].properties||arguments[0].p,f=arguments[0].options||arguments[0].o):(p=arguments[a],f=arguments[a+1]),l=u(l)){var b,C=l.length,E=0;if(!/^(stop|finish|finishAll|pause|resume)$/i.test(p)&&!h.isPlainObject(f)){f={};for(var O=a+1;O<arguments.length;O++)d.isArray(arguments[O])||!/^(fast|normal|slow)$/i.test(arguments[O])&&!/^\d/.test(arguments[O])?d.isString(arguments[O])||d.isArray(arguments[O])?f.easing=arguments[O]:d.isFunction(arguments[O])&&(f.complete=arguments[O]):f.duration=arguments[O]}switch(p){case"scroll":b="scroll";break;case"reverse":b="reverse";break;case"pause":var I=(new Date).getTime();return h.each(l,(function(t,e){x(e,I)})),h.each(g.State.calls,(function(t,e){var i=!1;e&&h.each(e[1],(function(t,o){var r=f===n?"":f;return!0!==r&&e[2].queue!==r&&(f!==n||!1!==e[2].queue)||(h.each(l,(function(t,n){if(n===o)return e[5]={resume:!1},i=!0,!1})),!i&&void 0)}))})),o();case"resume":return h.each(l,(function(t,e){S(e)})),h.each(g.State.calls,(function(t,e){var i=!1;e&&h.each(e[1],(function(t,o){var r=f===n?"":f;return!0!==r&&e[2].queue!==r&&(f!==n||!1!==e[2].queue)||(!e[5]||(h.each(l,(function(t,n){if(n===o)return e[5].resume=!0,i=!0,!1})),!i&&void 0))}))})),o();case"finish":case"finishAll":case"stop":h.each(l,(function(t,e){w(e)&&w(e).delayTimer&&(clearTimeout(w(e).delayTimer.setTimeout),w(e).delayTimer.next&&w(e).delayTimer.next(),delete w(e).delayTimer),"finishAll"!==p||!0!==f&&!d.isString(f)||(h.each(h.queue(e,d.isString(f)?f:""),(function(t,e){d.isFunction(e)&&e()})),h.queue(e,d.isString(f)?f:"",[]))}));var P=[];return h.each(g.State.calls,(function(t,e){e&&h.each(e[1],(function(i,o){var r=f===n?"":f;if(!0!==r&&e[2].queue!==r&&(f!==n||!1!==e[2].queue))return!0;h.each(l,(function(i,n){if(n===o)if((!0===f||d.isString(f))&&(h.each(h.queue(n,d.isString(f)?f:""),(function(t,e){d.isFunction(e)&&e(null,!0)})),h.queue(n,d.isString(f)?f:"",[])),"stop"===p){var s=w(n);s&&s.tweensContainer&&(!0===r||""===r)&&h.each(s.tweensContainer,(function(t,e){e.endValue=e.currentValue})),P.push(t)}else"finish"!==p&&"finishAll"!==p||(e[2].duration=1)}))}))})),"stop"===p&&(h.each(P,(function(t,e){A(e,!0)})),_.promise&&_.resolver(l)),o();default:if(!h.isPlainObject(p)||d.isEmptyObject(p)){if(d.isString(p)&&g.Redirects[p]){var D=(t=h.extend({},f)).duration,j=t.delay||0;return!0===t.backwards&&(l=h.extend(!0,[],l).reverse()),h.each(l,(function(e,i){parseFloat(t.stagger)?t.delay=j+parseFloat(t.stagger)*e:d.isFunction(t.stagger)&&(t.delay=j+t.stagger.call(i,e,C)),t.drag&&(t.duration=parseFloat(D)||(/^(callout|transition)/.test(p)?1e3:400),t.duration=Math.max(t.duration*(t.backwards?1-e/C:(e+1)/C),.75*t.duration,200)),g.Redirects[p].call(i,i,t||{},e,C,l,_.promise?_:n)})),o()}var N="Velocity: First argument ("+p+") was not a property map, a known action, or a registered redirect. Aborting.";return _.promise?_.rejecter(new Error(N)):e.console&&console.log(N),o()}b="start"}var L={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null},B=[];h.each(l,(function(t,o){d.isNode(o)&&function(t,o){var r,s,a=h.extend({},g.defaults,f),u={};switch(w(t)===n&&g.init(t),parseFloat(a.delay)&&!1!==a.queue&&h.queue(t,a.queue,(function(e,i){if(!0===i)return!0;g.velocityQueueEntryFlag=!0;var n=g.State.delayedElements.count++;g.State.delayedElements[n]=t;var o,r=(o=n,function(){g.State.delayedElements[o]=!1,e()});w(t).delayBegin=(new Date).getTime(),w(t).delay=parseFloat(a.delay),w(t).delayTimer={setTimeout:setTimeout(e,parseFloat(a.delay)),next:r}})),a.duration.toString().toLowerCase()){case"fast":a.duration=200;break;case"normal":a.duration=400;break;case"slow":a.duration=600;break;default:a.duration=parseFloat(a.duration)||1}function m(s){var m,y,x,S,A,O,I;if(a.begin&&0===E)try{a.begin.call(l,l)}catch(t){setTimeout((function(){throw t}),1)}if("scroll"===b){var P,D,j,N=/^x$/i.test(a.axis)?"Left":"Top",F=parseFloat(a.offset)||0;a.container?d.isWrapped(a.container)||d.isNode(a.container)?(a.container=a.container[0]||a.container,j=(P=a.container["scroll"+N])+h(t).position()[N.toLowerCase()]+F):a.container=null:(P=g.State.scrollAnchor[g.State["scrollProperty"+N]],D=g.State.scrollAnchor[g.State["scrollProperty"+("Left"===N?"Top":"Left")]],j=h(t).offset()[N.toLowerCase()]+F),u={scroll:{rootPropertyValue:!1,startValue:P,currentValue:P,endValue:j,unitType:"",easing:a.easing,scrollData:{container:a.container,direction:N,alternateValue:D}},element:t},g.debug&&console.log("tweensContainer (scroll): ",u.scroll,t)}else if("reverse"===b){if(!(m=w(t)))return;if(!m.tweensContainer)return void h.dequeue(t,a.queue);for(var $ in"none"===m.opts.display&&(m.opts.display="auto"),"hidden"===m.opts.visibility&&(m.opts.visibility="visible"),m.opts.loop=!1,m.opts.begin=null,m.opts.complete=null,f.easing||delete a.easing,f.duration||delete a.duration,a=h.extend({},m.opts,a),y=h.extend(!0,{},m?m.tweensContainer:null))if(y.hasOwnProperty($)&&"element"!==$){var M=y[$].startValue;y[$].startValue=y[$].currentValue=y[$].endValue,y[$].endValue=M,d.isEmptyObject(f)||(y[$].easing=a.easing),g.debug&&console.log("reverse tweensContainer ("+$+"): "+JSON.stringify(y[$]),t)}u=y}else if("start"===b){(m=w(t))&&m.tweensContainer&&!0===m.isAnimating&&(y=m.tweensContainer);var z=function(o,s){var l,c=v.Hooks.getRoot(o),p=!1,f=s[0],_=s[1],b=s[2];if(m&&m.isSVG||"tween"===c||!1!==v.Names.prefixCheck(c)[1]||v.Normalizations.registered[c]!==n){(a.display!==n&&null!==a.display&&"none"!==a.display||a.visibility!==n&&"hidden"!==a.visibility)&&/opacity|filter/.test(o)&&!b&&0!==f&&(b=0),a._cacheValues&&y&&y[o]?(b===n&&(b=y[o].endValue+y[o].unitType),p=m.rootPropertyValueCache[c]):v.Hooks.registered[o]?b===n?(p=v.getPropertyValue(t,c),b=v.getPropertyValue(t,o,p)):p=v.Hooks.templates[c][1]:b===n&&(b=v.getPropertyValue(t,o));var w,x,S,C=!1,E=function(t,e){var i,n;return n=(e||"0").toString().toLowerCase().replace(/[%A-z]+$/,(function(t){return i=t,""})),i||(i=v.Values.getUnitType(t)),[n,i]};if(b!==f&&d.isString(b)&&d.isString(f)){l="";var T=0,k=0,A=[],O=[],I=0,P=0,D=0;for(b=v.Hooks.fixColors(b),f=v.Hooks.fixColors(f);T<b.length&&k<f.length;){var j=b[T],N=f[k];if(/[\d\.-]/.test(j)&&/[\d\.-]/.test(N)){for(var B=j,F=N,$=".",M=".";++T<b.length;){if((j=b[T])===$)$="..";else if(!/\d/.test(j))break;B+=j}for(;++k<f.length;){if((N=f[k])===M)M="..";else if(!/\d/.test(N))break;F+=N}var z=v.Hooks.getUnit(b,T),H=v.Hooks.getUnit(f,k);if(T+=z.length,k+=H.length,z===H)B===F?l+=B+z:(l+="{"+A.length+(P?"!":"")+"}"+z,A.push(parseFloat(B)),O.push(parseFloat(F)));else{var W=parseFloat(B),V=parseFloat(F);l+=(I<5?"calc":"")+"("+(W?"{"+A.length+(P?"!":"")+"}":"0")+z+" + "+(V?"{"+(A.length+(W?1:0))+(P?"!":"")+"}":"0")+H+")",W&&(A.push(W),O.push(0)),V&&(A.push(0),O.push(V))}}else{if(j!==N){I=0;break}l+=j,T++,k++,0===I&&"c"===j||1===I&&"a"===j||2===I&&"l"===j||3===I&&"c"===j||I>=4&&"("===j?I++:(I&&I<5||I>=4&&")"===j&&--I<5)&&(I=0),0===P&&"r"===j||1===P&&"g"===j||2===P&&"b"===j||3===P&&"a"===j||P>=3&&"("===j?(3===P&&"a"===j&&(D=1),P++):D&&","===j?++D>3&&(P=D=0):(D&&P<(D?5:4)||P>=(D?4:3)&&")"===j&&--P<(D?5:4))&&(P=D=0)}}T===b.length&&k===f.length||(g.debug&&console.error('Trying to pattern match mis-matched strings ["'+f+'", "'+b+'"]'),l=n),l&&(A.length?(g.debug&&console.log('Pattern found "'+l+'" -> ',A,O,"["+b+","+f+"]"),b=A,f=O,x=S=""):l=n)}if(l||(b=(w=E(o,b))[0],S=w[1],f=(w=E(o,f))[0].replace(/^([+-\/*])=/,(function(t,e){return C=e,""})),x=w[1],b=parseFloat(b)||0,f=parseFloat(f)||0,"%"===x&&(/^(fontSize|lineHeight)$/.test(o)?(f/=100,x="em"):/^scale/.test(o)?(f/=100,x=""):/(Red|Green|Blue)$/i.test(o)&&(f=f/100*255,x=""))),/[\/*]/.test(C))x=S;else if(S!==x&&0!==b)if(0===f)x=S;else{r=r||function(){var n={myParent:t.parentNode||i.body,position:v.getPropertyValue(t,"position"),fontSize:v.getPropertyValue(t,"fontSize")},o=n.position===L.lastPosition&&n.myParent===L.lastParent,r=n.fontSize===L.lastFontSize;L.lastParent=n.myParent,L.lastPosition=n.position,L.lastFontSize=n.fontSize;var s=100,a={};if(r&&o)a.emToPx=L.lastEmToPx,a.percentToPxWidth=L.lastPercentToPxWidth,a.percentToPxHeight=L.lastPercentToPxHeight;else{var l=m&&m.isSVG?i.createElementNS("http://www.w3.org/2000/svg","rect"):i.createElement("div");g.init(l),n.myParent.appendChild(l),h.each(["overflow","overflowX","overflowY"],(function(t,e){g.CSS.setPropertyValue(l,e,"hidden")})),g.CSS.setPropertyValue(l,"position",n.position),g.CSS.setPropertyValue(l,"fontSize",n.fontSize),g.CSS.setPropertyValue(l,"boxSizing","content-box"),h.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],(function(t,e){g.CSS.setPropertyValue(l,e,s+"%")})),g.CSS.setPropertyValue(l,"paddingLeft",s+"em"),a.percentToPxWidth=L.lastPercentToPxWidth=(parseFloat(v.getPropertyValue(l,"width",null,!0))||1)/s,a.percentToPxHeight=L.lastPercentToPxHeight=(parseFloat(v.getPropertyValue(l,"height",null,!0))||1)/s,a.emToPx=L.lastEmToPx=(parseFloat(v.getPropertyValue(l,"paddingLeft"))||1)/s,n.myParent.removeChild(l)}return null===L.remToPx&&(L.remToPx=parseFloat(v.getPropertyValue(i.body,"fontSize"))||16),null===L.vwToPx&&(L.vwToPx=parseFloat(e.innerWidth)/100,L.vhToPx=parseFloat(e.innerHeight)/100),a.remToPx=L.remToPx,a.vwToPx=L.vwToPx,a.vhToPx=L.vhToPx,g.debug>=1&&console.log("Unit ratios: "+JSON.stringify(a),t),a}();var R=/margin|padding|left|right|width|text|word|letter/i.test(o)||/X$/.test(o)||"x"===o?"x":"y";switch(S){case"%":b*="x"===R?r.percentToPxWidth:r.percentToPxHeight;break;case"px":break;default:b*=r[S+"ToPx"]}switch(x){case"%":b*=1/("x"===R?r.percentToPxWidth:r.percentToPxHeight);break;case"px":break;default:b*=1/r[x+"ToPx"]}}switch(C){case"+":f=b+f;break;case"-":f=b-f;break;case"*":f*=b;break;case"/":f=b/f}u[o]={rootPropertyValue:p,startValue:b,currentValue:b,endValue:f,unitType:x,easing:_},l&&(u[o].pattern=l),g.debug&&console.log("tweensContainer ("+o+"): "+JSON.stringify(u[o]),t)}else g.debug&&console.log("Skipping ["+c+"] due to a lack of browser support.")};for(var H in p)if(p.hasOwnProperty(H)){var W=v.Names.camelCase(H),V=(x=p[H],S=void 0,A=void 0,O=void 0,I=void 0,d.isFunction(x)&&(x=x.call(t,o,C)),d.isArray(x)?(A=x[0],!d.isArray(x[1])&&/^[\d-]/.test(x[1])||d.isFunction(x[1])||v.RegEx.isHex.test(x[1])?I=x[1]:d.isString(x[1])&&!v.RegEx.isHex.test(x[1])&&g.Easings[x[1]]||d.isArray(x[1])?(O=S?x[1]:T(x[1],a.duration),I=x[2]):I=x[1]||x[2]):A=x,S||(O=O||a.easing),d.isFunction(A)&&(A=A.call(t,o,C)),d.isFunction(I)&&(I=I.call(t,o,C)),[A||0,O,I]);if(c(v.Lists.colors)){var R=V[0],q=V[1],U=V[2];if(v.RegEx.isHex.test(R)){for(var Q=["Red","Green","Blue"],Y=v.Values.hexToRgb(R),K=U?v.Values.hexToRgb(U):n,X=0;X<Q.length;X++){var G=[Y[X]];q&&G.push(q),K!==n&&G.push(K[X]),z(W+Q[X],G)}continue}}z(W,V)}u.element=t}u.element&&(v.Values.addClass(t,"velocity-animating"),B.push(u),(m=w(t))&&(""===a.queue&&(m.tweensContainer=u,m.opts=a),m.isAnimating=!0),E===C-1?(g.State.calls.push([B,l,a,null,_.resolver,null,0]),!1===g.State.isTicking&&(g.State.isTicking=!0,k())):E++)}if(!1!==g.mock&&(!0===g.mock?a.duration=a.delay=1:(a.duration*=parseFloat(g.mock)||1,a.delay*=parseFloat(g.mock)||1)),a.easing=T(a.easing,a.duration),a.begin&&!d.isFunction(a.begin)&&(a.begin=null),a.progress&&!d.isFunction(a.progress)&&(a.progress=null),a.complete&&!d.isFunction(a.complete)&&(a.complete=null),a.display!==n&&null!==a.display&&(a.display=a.display.toString().toLowerCase(),"auto"===a.display&&(a.display=g.CSS.Values.getDisplayType(t))),a.visibility!==n&&null!==a.visibility&&(a.visibility=a.visibility.toString().toLowerCase()),a.mobileHA=a.mobileHA&&g.State.isMobile&&!g.State.isGingerbread,!1===a.queue)if(a.delay){var y=g.State.delayedElements.count++;g.State.delayedElements[y]=t;var x=(s=y,function(){g.State.delayedElements[s]=!1,m()});w(t).delayBegin=(new Date).getTime(),w(t).delay=parseFloat(a.delay),w(t).delayTimer={setTimeout:setTimeout(m,parseFloat(a.delay)),next:x}}else m();else h.queue(t,a.queue,(function(t,e){if(!0===e)return _.promise&&_.resolver(l),!0;g.velocityQueueEntryFlag=!0,m()}));""!==a.queue&&"fx"!==a.queue||"inprogress"===h.queue(t)[0]||h.dequeue(t)}(o,t)})),(t=h.extend({},g.defaults,f)).loop=parseInt(t.loop,10);var F=2*t.loop-1;if(t.loop)for(var $=0;$<F;$++){var M={delay:t.delay,progress:t.progress};$===F-1&&(M.display=t.display,M.visibility=t.visibility,M.complete=t.complete),y(l,"reverse",M)}return o()}_.promise&&(p&&f&&!1===f.promiseRejectEmpty?_.resolver():_.rejecter())};(g=h.extend(y,g)).animate=y;var _=e.requestAnimationFrame||s;if(!g.State.isMobile&&i.hidden!==n){var b=function(){i.hidden?(_=function(t){return setTimeout((function(){t(!0)}),16)},k()):_=e.requestAnimationFrame||s};b(),i.addEventListener("visibilitychange",b)}return t.Velocity=g,t!==e&&(t.fn.velocity=y,t.fn.velocity.defaults=g.defaults),h.each(["Down","Up"],(function(t,e){g.Redirects["slide"+e]=function(t,i,o,r,s,a){var l=h.extend({},i),c=l.begin,u=l.complete,d={},p={height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""};l.display===n&&(l.display="Down"===e?"inline"===g.CSS.Values.getDisplayType(t)?"inline-block":"block":"none"),l.begin=function(){for(var i in 0===o&&c&&c.call(s,s),p)if(p.hasOwnProperty(i)){d[i]=t.style[i];var n=v.getPropertyValue(t,i);p[i]="Down"===e?[n,0]:[0,n]}d.overflow=t.style.overflow,t.style.overflow="hidden"},l.complete=function(){for(var e in d)d.hasOwnProperty(e)&&(t.style[e]=d[e]);o===r-1&&(u&&u.call(s,s),a&&a.resolver(s))},g(t,p,l)}})),h.each(["In","Out"],(function(t,e){g.Redirects["fade"+e]=function(t,i,o,r,s,a){var l=h.extend({},i),c=l.complete,u={opacity:"In"===e?1:0};0!==o&&(l.begin=null),l.complete=o!==r-1?null:function(){c&&c.call(s,s),a&&a.resolver(s)},l.display===n&&(l.display="In"===e?"auto":"none"),g(this,u,l)}})),g}function w(t){var e=h.data(t,"velocity");return null===e?n:e}function x(t,e){var i=w(t);i&&i.delayTimer&&!i.delayPaused&&(i.delayRemaining=i.delay-e+i.delayBegin,i.delayPaused=!0,clearTimeout(i.delayTimer.setTimeout))}function S(t,e){var i=w(t);i&&i.delayTimer&&i.delayPaused&&(i.delayPaused=!1,i.delayTimer.setTimeout=setTimeout(i.delayTimer.next,i.delayRemaining))}function C(t){return function(e){return Math.round(e*t)*(1/t)}}function E(t,i,n,o){var r=4,s=1e-7,a=10,l=11,c=1/(l-1),u="Float32Array"in e;if(4!==arguments.length)return!1;for(var h=0;h<4;++h)if("number"!=typeof arguments[h]||isNaN(arguments[h])||!isFinite(arguments[h]))return!1;t=Math.min(t,1),n=Math.min(n,1),t=Math.max(t,0),n=Math.max(n,0);var d=u?new Float32Array(l):new Array(l);function p(t,e){return 1-3*e+3*t}function f(t,e){return 3*e-6*t}function g(t){return 3*t}function m(t,e,i){return((p(e,i)*t+f(e,i))*t+g(e))*t}function v(t,e,i){return 3*p(e,i)*t*t+2*f(e,i)*t+g(e)}function y(e){for(var i=0,o=1,u=l-1;o!==u&&d[o]<=e;++o)i+=c;--o;var h=i+(e-d[o])/(d[o+1]-d[o])*c,p=v(h,t,n);return p>=.001?function(e,i){for(var o=0;o<r;++o){var s=v(i,t,n);if(0===s)return i;i-=(m(i,t,n)-e)/s}return i}(e,h):0===p?h:function(e,i,o){var r,l,c=0;do{(r=m(l=i+(o-i)/2,t,n)-e)>0?o=l:i=l}while(Math.abs(r)>s&&++c<a);return l}(e,i,i+c)}var _=!1;function b(){_=!0,t===i&&n===o||function(){for(var e=0;e<l;++e)d[e]=m(e*c,t,n)}()}var w=function(e){return _||b(),t===i&&n===o?e:0===e?0:1===e?1:m(y(e),i,o)};w.getControlPoints=function(){return[{x:t,y:i},{x:n,y:o}]};var x="generateBezier("+[t,i,n,o]+")";return w.toString=function(){return x},w}function T(t,e){var i=t;return d.isString(t)?g.Easings[t]||(i=!1):i=d.isArray(t)&&1===t.length?C.apply(null,t):d.isArray(t)&&2===t.length?m.apply(null,t.concat([e])):!(!d.isArray(t)||4!==t.length)&&E.apply(null,t),!1===i&&(i=g.Easings[g.defaults.easing]?g.defaults.easing:f),i}function k(t){if(t){var e=g.timestamp&&!0!==t?t:a.now(),i=g.State.calls.length;i>1e4&&(g.State.calls=function(t){for(var e=-1,i=t?t.length:0,n=[];++e<i;){var o=t[e];o&&n.push(o)}return n}(g.State.calls),i=g.State.calls.length);for(var o=0;o<i;o++)if(g.State.calls[o]){var s=g.State.calls[o],l=s[0],c=s[2],u=s[3],p=!u,f=null,m=s[5],y=s[6];if(u||(u=g.State.calls[o][3]=e-16),m){if(!0!==m.resume)continue;u=s[3]=Math.round(e-y-16),s[5]=null}y=s[6]=e-u;for(var b=Math.min(y/c.duration,1),x=0,S=l.length;x<S;x++){var C=l[x],E=C.element;if(w(E)){var T=!1;if(c.display!==n&&null!==c.display&&"none"!==c.display){if("flex"===c.display){h.each(["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex"],(function(t,e){v.setPropertyValue(E,"display",e)}))}v.setPropertyValue(E,"display",c.display)}for(var O in c.visibility!==n&&"hidden"!==c.visibility&&v.setPropertyValue(E,"visibility",c.visibility),C)if(C.hasOwnProperty(O)&&"element"!==O){var I,P=C[O],D=d.isString(P.easing)?g.Easings[P.easing]:P.easing;if(d.isString(P.pattern)){var j=1===b?function(t,e,i){var n=P.endValue[e];return i?Math.round(n):n}:function(t,e,i){var n=P.startValue[e],o=P.endValue[e]-n,r=n+o*D(b,c,o);return i?Math.round(r):r};I=P.pattern.replace(/{(\d+)(!)?}/g,j)}else if(1===b)I=P.endValue;else{var N=P.endValue-P.startValue;I=P.startValue+N*D(b,c,N)}if(!p&&I===P.currentValue)continue;if(P.currentValue=I,"tween"===O)f=I;else{var L;if(v.Hooks.registered[O]){L=v.Hooks.getRoot(O);var B=w(E).rootPropertyValueCache[L];B&&(P.rootPropertyValue=B)}var F=v.setPropertyValue(E,O,P.currentValue+(r<9&&0===parseFloat(I)?"":P.unitType),P.rootPropertyValue,P.scrollData);v.Hooks.registered[O]&&(v.Normalizations.registered[L]?w(E).rootPropertyValueCache[L]=v.Normalizations.registered[L]("extract",null,F[1]):w(E).rootPropertyValueCache[L]=F[1]),"transform"===F[0]&&(T=!0)}}c.mobileHA&&w(E).transformCache.translate3d===n&&(w(E).transformCache.translate3d="(0px, 0px, 0px)",T=!0),T&&v.flushTransformCache(E)}}c.display!==n&&"none"!==c.display&&(g.State.calls[o][2].display=!1),c.visibility!==n&&"hidden"!==c.visibility&&(g.State.calls[o][2].visibility=!1),c.progress&&c.progress.call(s[1],s[1],b,Math.max(0,u+c.duration-e),u,f),1===b&&A(o)}}g.State.isTicking&&_(k)}function A(t,e){if(!g.State.calls[t])return!1;for(var i=g.State.calls[t][0],o=g.State.calls[t][1],r=g.State.calls[t][2],s=g.State.calls[t][4],a=!1,l=0,c=i.length;l<c;l++){var u=i[l].element;e||r.loop||("none"===r.display&&v.setPropertyValue(u,"display",r.display),"hidden"===r.visibility&&v.setPropertyValue(u,"visibility",r.visibility));var d=w(u);if(!0!==r.loop&&(h.queue(u)[1]===n||!/\.velocityQueueEntryFlag/i.test(h.queue(u)[1]))&&d){d.isAnimating=!1,d.rootPropertyValueCache={};var p=!1;h.each(v.Lists.transforms3D,(function(t,e){var i=/^scale/.test(e)?1:0,o=d.transformCache[e];d.transformCache[e]!==n&&new RegExp("^\\("+i+"[^.]").test(o)&&(p=!0,delete d.transformCache[e])})),r.mobileHA&&(p=!0,delete d.transformCache.translate3d),p&&v.flushTransformCache(u),v.Values.removeClass(u,"velocity-animating")}if(!e&&r.complete&&!r.loop&&l===c-1)try{r.complete.call(o,o)}catch(t){setTimeout((function(){throw t}),1)}s&&!0!==r.loop&&s(o),d&&!0===r.loop&&!e&&(h.each(d.tweensContainer,(function(t,e){if(/^rotate/.test(t)&&(parseFloat(e.startValue)-parseFloat(e.endValue))%360==0){var i=e.startValue;e.startValue=e.endValue,e.endValue=i}/^backgroundPosition/.test(t)&&100===parseFloat(e.endValue)&&"%"===e.unitType&&(e.endValue=0,e.startValue=100)})),g(u,"reverse",{loop:!0,delay:r.delay})),!1!==r.queue&&h.dequeue(u,r.queue)}g.State.calls[t]=!1;for(var f=0,m=g.State.calls.length;f<m;f++)if(!1!==g.State.calls[f]){a=!0;break}!1===a&&(g.State.isTicking=!1,delete g.State.calls,g.State.calls=[])}jQuery.fn.velocity=jQuery.fn.animate}(window.jQuery||window.Zepto||window,window,window?window.document:void 0)}))},553:(t,e,i)=>{var n=i(418),o=i(632);void 0===o.Tether&&(o.Tether=n),t.exports=n},669:t=>{"use strict";t.exports=jQuery}},e={};function i(n){var o=e[n];if(void 0!==o)return o.exports;var r=e[n]={exports:{}};return t[n].call(r.exports,r,r.exports,i),r.exports}i.amdO={},i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";i(553),i(772),i(479),i(602),i(240),i(268);const t=prestashop;var e=i.n(t),n=i(669),o=i.n(n);function r(t,e){const i=e.children().detach();e.empty().append(t.children().detach()),t.append(i)}function s(){e().responsive.mobile?o()("*[id^='_desktop_']").each(((t,e)=>{const i=o()(`#${e.id.replace("_desktop_","_mobile_")}`);i.length&&r(o()(e),i)})):o()("*[id^='_mobile_']").each(((t,e)=>{const i=o()(`#${e.id.replace("_mobile_","_desktop_")}`);i.length&&r(o()(e),i)})),e().emit("responsive update",{mobile:e().responsive.mobile})}e().themeSelectors={product:{tabs:".tabs .nav-link",activeNavClass:"js-product-nav-active",activeTabClass:"js-product-tab-active",activeTabs:".tabs .nav-link.active, .js-product-nav-active",imagesModal:".js-product-images-modal",thumb:".js-thumb",thumbContainer:".thumb-container, .js-thumb-container",arrows:".js-arrows",selected:".selected, .js-thumb-selected",modalProductCover:".js-modal-product-cover",cover:".js-qv-product-cover",customizationModal:".js-customization-modal"},listing:{searchFilterToggler:"#search_filter_toggler, .js-search-toggler",searchFiltersWrapper:"#search_filters_wrapper",searchFilterControls:"#search_filter_controls",searchFilters:"#search_filters",activeSearchFilters:"#js-active-search-filters",listTop:"#js-product-list-top",product:".js-product",list:"#js-product-list",listBottom:"#js-product-list-bottom",listHeader:"#js-product-list-header",searchFiltersClearAll:".js-search-filters-clear-all",searchLink:".js-search-link"},order:{returnForm:"#order-return-form, .js-order-return-form"},arrowDown:".arrow-down, .js-arrow-down",arrowUp:".arrow-up, .js-arrow-up",clear:".clear",fileInput:".js-file-input",contentWrapper:"#content-wrapper, .js-content-wrapper",footer:"#footer, .js-footer",modalContent:".js-modal-content",modal:"#modal, .js-checkout-modal",touchspin:".js-touchspin",checkout:{termsLink:".js-terms a",giftCheckbox:".js-gift-checkbox",imagesLink:".card-block .cart-summary-products p a, .js-show-details",carrierExtraContent:".carrier-extra-content, .js-carrier-extra-content",btn:".checkout a"},cart:{productLineQty:".js-cart-line-product-quantity",quickview:".quickview",touchspin:".bootstrap-touchspin",promoCode:"#promo-code",displayPromo:".display-promo",promoCodeButton:".promo-code-button",discountCode:".js-discount .code",discountName:"[name=discount_name]",actions:'[data-link-action="delete-from-cart"], [data-link-action="remove-voucher"]'},notifications:{dangerAlert:"#notifications article.alert-danger",container:"#notifications .notifications-container"},passwordPolicy:{template:"#password-feedback",hint:".js-hint-password",container:".password-strength-feedback",strengthText:".password-strength-text",requirementScore:".password-requirements-score",requirementLength:".password-requirements-length",requirementScoreIcon:".password-requirements-score i",requirementLengthIcon:".password-requirements-length i",progressBar:".progress-bar",inputColumn:".js-input-column"}},o()(document).ready((()=>{e().emit("themeSelectorsInit")})),
/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/AFL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https://devdocs.prestashop.com/ for more information.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
 */
e().responsive=e().responsive||{},e().responsive.current_width=window.innerWidth,e().responsive.min_width=992,e().responsive.mobile=e().responsive.current_width<e().responsive.min_width,o()(window).on("resize",(()=>{const t=e().responsive.current_width,i=e().responsive.min_width,n=window.innerWidth,o=t>=i&&n<i||t<i&&n>=i;e().responsive.current_width=n,e().responsive.mobile=e().responsive.current_width<e().responsive.min_width,o&&s()})),o()(document).ready((()=>{e().responsive.mobile&&s()})),o()(document).ready((()=>{1===o()("body#checkout").length&&(o()(e().themeSelectors.checkout.termsLink).on("click",(t=>{t.preventDefault();let i=o()(t.target).attr("href");i&&(i+="?content_only=1",o().get(i,(t=>{o()(e().themeSelectors.modal).find(e().themeSelectors.modalContent).html(o()(t).find(".page-cms").contents())})).fail((t=>{e().emit("handleError",{eventType:"clickTerms",resp:t})}))),o()(e().themeSelectors.modal).modal("show")})),o()(e().themeSelectors.checkout.giftCheckbox).on("click",(()=>{o()("#gift").slideToggle()})),o()(e().themeSelectors.checkout.imagesLink).on("click",(function(){const t=o()(this).find("i.material-icons");"expand_more"===t.text()?t.text("expand_less"):t.text("expand_more")}))),e().on("updatedDeliveryForm",(t=>{void 0!==t.deliveryOption&&0!==t.deliveryOption.length&&(o()(e().themeSelectors.checkout.carrierExtraContent).hide(),t.deliveryOption.next(e().themeSelectors.checkout.carrierExtraContent).slideDown())}))})),o()(document).ready((function(){o()("body#order-detail")&&o()(`${e().themeSelectors.order.returnForm} table thead input[type=checkbox]`).on("click",(function(){const t=o()(this).prop("checked");o()(`${e().themeSelectors.order.returnForm} table tbody input[type=checkbox]`).each(((e,i)=>{o()(i).prop("checked",t)}))}))}));i(445);
/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/AFL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https://devdocs.prestashop.com/ for more information.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
 */
class a{init(){o()(".js-product-miniature").each(((t,e)=>{if(o()(e).find(".color").length>5){let t=0;o()(e).find(".color").each(((e,i)=>{e>4&&(o()(i).hide(),t+=1)})),o()(e).find(".js-count").append(`+${t}`)}}))}}
/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/AFL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https://devdocs.prestashop.com/ for more information.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
 */
o()(document).ready((()=>{const t=t=>{const e=o()(".js-qv-product-images"),i=o()(".js-qv-product-images li img").height()+20,n=e.position().top;e.velocity({translateY:"up"===t?n+i:n-i},(()=>{e.position().top>=0?o()(".arrow-up").css("opacity",".2"):e.position().top+e.height()<=o()(".js-qv-mask").height()&&o()(".arrow-down").css("opacity",".2")}))};e().on("clickQuickView",(i=>{const n={action:"quickview",id_product:i.dataset.idProduct,id_product_attribute:i.dataset.idProductAttribute};o().post(e().urls.pages.product,n,null,"json").then((i=>{o()("body").append(i.quickview_html);const n=o()(`#quickview-modal-${i.product.id}-${i.product.id_product_attribute}`);n.modal("show"),(i=>{const n=o()(e().themeSelectors.product.arrows),r=i.find(".js-qv-product-images");o()(e().themeSelectors.product.thumb).on("click",(t=>{o()(e().themeSelectors.product.thumb).hasClass("selected")&&o()(e().themeSelectors.product.thumb).removeClass("selected"),o()(t.currentTarget).addClass("selected"),o()(e().themeSelectors.product.cover).attr("src",o()(t.target).data("image-large-src"))})),r.find("li").length<=4?n.hide():n.on("click",(i=>{o()(i.target).hasClass("arrow-up")&&o()(".js-qv-product-images").position().top<0?(t("up"),o()(e().themeSelectors.arrowDown).css("opacity","1")):o()(i.target).hasClass("arrow-down")&&r.position().top+r.height()>o()(".js-qv-mask").height()&&(t("down"),o()(e().themeSelectors.arrowUp).css("opacity","1"))})),i.find(e().selectors.quantityWanted).TouchSpin({verticalbuttons:!0,verticalupclass:"material-icons touchspin-up",verticaldownclass:"material-icons touchspin-down",buttondown_class:"btn btn-touchspin js-touchspin",buttonup_class:"btn btn-touchspin js-touchspin",min:1,max:1e6}),o()(e().themeSelectors.touchspin).off("touchstart.touchspin")})(n),n.on("hidden.bs.modal",(()=>{n.remove()}))})).fail((t=>{e().emit("handleError",{eventType:"clickQuickView",resp:t})}))})),o()("body").on("click",e().themeSelectors.listing.searchFilterToggler,(()=>{o()(e().themeSelectors.listing.searchFiltersWrapper).removeClass("hidden-sm-down"),o()(e().themeSelectors.contentWrapper).addClass("hidden-sm-down"),o()(e().themeSelectors.footer).addClass("hidden-sm-down")})),o()(`${e().themeSelectors.listing.searchFilterControls} ${e().themeSelectors.clear}`).on("click",(()=>{o()(e().themeSelectors.listing.searchFiltersWrapper).addClass("hidden-sm-down"),o()(e().themeSelectors.contentWrapper).removeClass("hidden-sm-down"),o()(e().themeSelectors.footer).removeClass("hidden-sm-down")})),o()(`${e().themeSelectors.listing.searchFilterControls} .ok`).on("click",(()=>{o()(e().themeSelectors.listing.searchFiltersWrapper).addClass("hidden-sm-down"),o()(e().themeSelectors.contentWrapper).removeClass("hidden-sm-down"),o()(e().themeSelectors.footer).removeClass("hidden-sm-down")}));const i=function(t){if(void 0!==t.target.dataset.searchUrl)return t.target.dataset.searchUrl;if(void 0===o()(t.target).parent()[0].dataset.searchUrl)throw new Error("Can not parse search URL");return o()(t.target).parent()[0].dataset.searchUrl};o()("body").on("change",`${e().themeSelectors.listing.searchFilters} input[data-search-url]`,(t=>{e().emit("updateFacets",i(t))})),o()("body").on("click",e().themeSelectors.listing.searchFiltersClearAll,(t=>{e().emit("updateFacets",i(t))})),o()("body").on("click",e().themeSelectors.listing.searchLink,(t=>{t.preventDefault(),e().emit("updateFacets",o()(t.target).closest("a").get(0).href)})),window.addEventListener("popstate",(t=>{t.state&&t.state.current_url&&(window.location.href=t.state.current_url)})),o()("body").on("change",`${e().themeSelectors.listing.searchFilters} select`,(t=>{const i=o()(t.target).closest("form");e().emit("updateFacets",`?${i.serialize()}`)})),e().on("updateProductList",(t=>{!function(t){o()(e().themeSelectors.listing.searchFilters).replaceWith(t.rendered_facets),o()(e().themeSelectors.listing.activeSearchFilters).replaceWith(t.rendered_active_filters),o()(e().themeSelectors.listing.listTop).replaceWith(t.rendered_products_top);const i=o()(t.rendered_products),n=o()(e().themeSelectors.listing.product);n.length>0?n.removeClass().addClass(n.first().attr("class")):n.removeClass().addClass(i.first().attr("class")),o()(e().themeSelectors.listing.list).replaceWith(i),o()(e().themeSelectors.listing.listBottom).replaceWith(t.rendered_products_bottom),t.rendered_products_header&&o()(e().themeSelectors.listing.listHeader).replaceWith(t.rendered_products_header),(new a).init()}(t),window.scrollTo(0,0)}))}));
/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/AFL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https://devdocs.prestashop.com/ for more information.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
 */
class l{init(){const t=o()(".js-modal-arrows"),e=o()(".js-modal-product-images");o()("body").on("click",".js-modal-thumb",(t=>{o()(".js-modal-thumb").hasClass("selected")&&o()(".js-modal-thumb").removeClass("selected"),o()(t.currentTarget).addClass("selected"),o()(".js-modal-product-cover").attr("src",o()(t.target).data("image-large-src")),o()(".js-modal-product-cover").attr("title",o()(t.target).attr("title")),o()(".js-modal-product-cover").attr("alt",o()(t.target).attr("alt"))})).on("click","aside#thumbnails",(t=>{"thumbnails"===t.target.id&&o()("#product-modal").modal("hide")})),o()(".js-modal-product-images li").length<=5?t.css("opacity",".2"):t.on("click",(t=>{o()(t.target).hasClass("arrow-up")&&e.position().top<0?(this.move("up"),o()(".js-modal-arrow-down").css("opacity","1")):o()(t.target).hasClass("arrow-down")&&e.position().top+e.height()>o()(".js-modal-mask").height()&&(this.move("down"),o()(".js-modal-arrow-up").css("opacity","1"))}))}move(t){const e=o()(".js-modal-product-images"),i=o()(".js-modal-product-images li img").height()+10,n=e.position().top;e.velocity({translateY:"up"===t?n+i:n-i},(()=>{e.position().top>=0?o()(".js-modal-arrow-up").css("opacity",".2"):e.position().top+e.height()<=o()(".js-modal-mask").height()&&o()(".js-modal-arrow-down").css("opacity",".2")}))}}
/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/AFL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https://devdocs.prestashop.com/ for more information.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
 */
o()(document).ready((()=>{function t(){const t=o()(e().themeSelectors.product.cover);let i=o()(e().themeSelectors.product.selected);const n=(i,n)=>{const r=n.find(e().themeSelectors.product.thumb);o()(e().themeSelectors.product.modalProductCover).attr("src",r.data("image-large-src")),i.removeClass("selected"),r.addClass("selected"),t.prop("src",r.data("image-medium-src"))};o()(e().themeSelectors.product.thumb).on("click",(t=>{i=o()(e().themeSelectors.product.selected),n(i,o()(t.target).closest(e().themeSelectors.product.thumbContainer))})),t.swipe({swipe:(t,r)=>{i=o()(e().themeSelectors.product.selected);const s=i.closest(e().themeSelectors.product.thumbContainer);"right"===r?s.prev().length>0?n(i,s.prev()):s.next().length>0&&n(i,s.next()):"left"===r&&(s.next().length>0?n(i,s.next()):s.prev().length>0&&n(i,s.prev()))},allowPageScroll:"vertical"})}function i(){o()("#main .js-qv-product-images li").length>2?(o()("#main .js-qv-mask").addClass("scroll"),o()(".scroll-box-arrows").addClass("scroll"),o()("#main .js-qv-mask").scrollbox({direction:"h",distance:113,autoPlay:!1}),o()(".scroll-box-arrows .left").click((()=>{o()("#main .js-qv-mask").trigger("backward")})),o()(".scroll-box-arrows .right").click((()=>{o()("#main .js-qv-mask").trigger("forward")}))):(o()("#main .js-qv-mask").removeClass("scroll"),o()(".scroll-box-arrows").removeClass("scroll"))}function n(){o()(e().themeSelectors.fileInput).on("change",(t=>{const e=o()(t.currentTarget)[0],i=e?e.files[0]:null;e&&i&&o()(e).prev().text(i.name)}))}!function(){const t=o()(e().selectors.quantityWanted);t.TouchSpin({verticalbuttons:!0,verticalupclass:"material-icons touchspin-up",verticaldownclass:"material-icons touchspin-down",buttondown_class:"btn btn-touchspin js-touchspin",buttonup_class:"btn btn-touchspin js-touchspin",min:parseInt(t.attr("min"),10),max:1e6}),o()(e().themeSelectors.touchspin).off("touchstart.touchspin"),t.on("focusout",(()=>{(""===t.val()||t.val()<t.attr("min"))&&(t.val(t.attr("min")),t.trigger("change"))})),o()("body").on("change keyup",e().selectors.quantityWanted,(i=>{""!==t.val()&&(o()(i.currentTarget).trigger("touchspin.stopspin"),e().emit("updateProduct",{eventType:"updatedProductQuantity",event:i}))}))}(),n(),t(),i(),function(){const t=o()(e().themeSelectors.product.tabs);t.on("show.bs.tab",(t=>{const i=o()(t.target);i.addClass(e().themeSelectors.product.activeNavClass),o()(i.attr("href")).addClass(e().themeSelectors.product.activeTabClass)})),t.on("hide.bs.tab",(t=>{const i=o()(t.target);i.removeClass(e().themeSelectors.product.activeNavClass),o()(i.attr("href")).removeClass(e().themeSelectors.product.activeTabClass)}))}(),e().on("updatedProduct",(r=>{if(n(),t(),r&&r.product_minimal_quantity){const t=parseInt(r.product_minimal_quantity,10),i=e().selectors.quantityWanted;o()(i).trigger("touchspin.updatesettings",{min:t})}i(),o()(o()(e().themeSelectors.product.activeTabs).attr("href")).addClass("active").removeClass("fade"),o()(e().themeSelectors.product.imagesModal).replaceWith(r.product_images_modal);(new l).init()}))})),e().cart=e().cart||{},e().cart.active_inputs=null;const c='input[name="product-quantity-spin"]';let u=!1,h=!1,d="";const p=()=>{const t=o()(e().themeSelectors.checkout.btn);if((o()(e().themeSelectors.notifications.dangerAlert).length||""!==d&&!u)&&t.addClass("disabled"),""!==d){const i=`\n        <article class="alert alert-danger" role="alert" data-alert="danger">\n          <ul>\n            <li>${d}</li>\n          </ul>\n        </article>\n      `;o()(e().themeSelectors.notifications.container).html(i),d="",h=!1,u&&t.removeClass("disabled")}else!u&&h&&(u=!1,h=!1,o()(e().themeSelectors.notifications.container).html(""),t.removeClass("disabled"))},f=t=>{const{hasError:e,errors:i}=t;u=null!=e&&e;const n=null!=i?i:"";d=n instanceof Array?n.join(" "):n,h=!0};function g(){o().each(o()(c),((t,e)=>{o()(e).TouchSpin({verticalbuttons:!0,verticalupclass:"material-icons touchspin-up",verticaldownclass:"material-icons touchspin-down",buttondown_class:"btn btn-touchspin js-touchspin js-increase-product-quantity",buttonup_class:"btn btn-touchspin js-touchspin js-decrease-product-quantity",min:parseInt(o()(e).attr("min"),10),max:1e6})})),o()(e().themeSelectors.touchspin).off("touchstart.touchspin"),p()}const m=t=>!window.shouldPreventModal||(t.preventDefault(),!1);o()(document).ready((()=>{const t=e().themeSelectors.cart.productLineQty,i=[];e().on("updateCart",(()=>{o()(e().themeSelectors.cart.quickview).modal("hide")})),e().on("updatedCart",(()=>{window.shouldPreventModal=!1,o()(e().themeSelectors.product.customizationModal).on("show.bs.modal",(t=>{m(t)})),g()})),g();const n=o()("body");function r(t){const e=t.split("-");let i,n,o="";for(i=0;i<e.length;i+=1)n=e[i],0!==i&&(n=n.substring(0,1).toUpperCase()+n.substring(1)),o+=n;return o}function s(i,n){if(!function(t){return"on.startupspin"===t||"on.startdownspin"===t}(n))return{url:i.attr("href"),type:r(i.data("link-action"))};const o=function(i){const n=i.parents(e().themeSelectors.cart.touchspin).find(t);return n.is(":focus")?null:n}(i);if(!o)return!1;let s={};return s=function(t){return"on.startupspin"===t}(n)?{url:o.data("up-url"),type:"increaseProductQuantity"}:{url:o.data("down-url"),type:"decreaseProductQuantity"},s}const a=()=>{let t;for(;i.length>0;)t=i.pop(),t.abort()};o()(e().themeSelectors.product.customizationModal).on("show.bs.modal",(t=>{m(t)}));function l(t){const n=o()(t.currentTarget),r=n.data("update-url"),s=n.attr("value"),l=n.val();if(l!=parseInt(l,10)||l<0||isNaN(l))return window.shouldPreventModal=!1,void n.val(s);const c=l-s;var u,h;0!==c&&("0"===l?n.closest(".product-line-actions").find('[data-link-action="delete-from-cart"]').click():(n.attr("value",l),function(t,n,r){a(),window.shouldPreventModal=!0,o().ajax({url:t,method:"POST",data:n,dataType:"json",beforeSend(t){i.push(t)}}).then((t=>{f(t),r.val(t.quantity);const i=r&&r.dataset?r.dataset:t;e().emit("updateCart",{reason:i,resp:t})})).fail((t=>{e().emit("handleError",{eventType:"updateProductQuantityInCart",resp:t})}))}(r,(u=c,{ajax:"1",qty:Math.abs(u),action:"update",op:(h=u,h>0?"up":"down")}),n)))}n.on("click",e().themeSelectors.cart.actions,(t=>{a(),window.shouldPreventModal=!0,t.preventDefault();const n=o()(t.currentTarget),{dataset:r}=t.currentTarget,l=s(n,t.namespace);l&&o().ajax({url:l.url,method:"POST",data:{ajax:"1",action:"update"},dataType:"json",beforeSend(t){i.push(t)}}).then((t=>{const i=(s=n,o()(s.parents(e().themeSelectors.cart.touchspin).find("input")));var s;f(t),i.val(t.quantity),e().emit("updateCart",{reason:r,resp:t})})).fail((t=>{e().emit("handleError",{eventType:"updateProductInCart",resp:t,cartAction:l.type})}))})),n.on("touchspin.on.stopspin",c,
/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/AFL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https://devdocs.prestashop.com/ for more information.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
 */
function(t,e=300){let i;return(...n)=>{clearTimeout(i),i=setTimeout((()=>{t.apply(this,n)}),e)}}(l)),n.on("focusout keyup",t,(t=>"keyup"===t.type?(13===t.keyCode&&(h=!0,l(t)),!1):(h||l(t),!1)));n.on("hidden.bs.collapse",e().themeSelectors.cart.promoCode,(()=>{o()(e().themeSelectors.cart.displayPromo).show(400)})),n.on("click",e().themeSelectors.cart.promoCodeButton,(t=>{t.preventDefault(),o()(e().themeSelectors.cart.promoCode).collapse("toggle")})),n.on("click",e().themeSelectors.cart.displayPromo,(t=>{o()(t.currentTarget).hide(400)})),n.on("click",e().themeSelectors.cart.discountCode,(t=>{t.stopPropagation();const i=o()(t.currentTarget);return o()(e().themeSelectors.cart.discountName).val(i.text()),o()(e().themeSelectors.cart.promoCode).collapse("show"),o()(e().themeSelectors.cart.displayPromo).hide(400),!1}))})),o()(document).ready((function(){o()(".owl-carousel").owlCarousel({loop:!0,lazyLoad:!0,margin:50,autoplay:!0,autoplayTimeout:3e3,autoplayHoverPause:!0,responsiveClass:!0,nav:!0,dots:!1,navText:['<i class="material-icons-outlined arrow_backward">arrow_backward</i>','<i class="material-icons-outlined arrow_forward">arrow_forward</i>'],responsive:{0:{items:2},600:{items:3},768:{items:4},1200:{items:5,loop:!0},1400:{items:7,loop:!0}}})})),o()(document).ready((function(){var t="#explodedview .price, #product .product-price";o()(t).on("displayprice:yes",(function(t){o()(this).show()})).on("displayprice:no",(function(t){o()(this).hide()})),o()("#display_specific_price_toggle_button").on("displayprice:yes",(function(t){o()(this).removeClass("off").addClass("on"),o()(this).find(".attach_money").show(),o()(this).find(".money_off").hide()})).on("displayprice:no",(function(t){o()(this).removeClass("on").addClass("off"),o()(this).find(".attach_money").hide(),o()(this).find(".money_off").show()})),o()("#display_specific_price_toggle_button").on("click",(function(e){o()(this).is(".on")?(o()(t).trigger("displayprice:no"),o()("#display_specific_price_toggle_button").trigger("displayprice:no"),document.cookie="displayprice=0"):(o()(t).trigger("displayprice:yes"),o()("#display_specific_price_toggle_button").trigger("displayprice:yes"),document.cookie="displayprice=1")})),document.cookie.split(";").some((function(t){return t.trim().indexOf("displayprice=0")>=0}))?(o()(t).trigger("displayprice:no"),o()("#display_specific_price_toggle_button").trigger("displayprice:no")):(o()(t).trigger("displayprice:yes"),o()("#display_specific_price_toggle_button").trigger("displayprice:yes"))})),o()(document).ready((function(){o()("#top-menu > li:not(.link) .dropdown-item[data-depth=0]").on("click",(function(t){t.preventDefault()})),o()(".breadcrumb a.notclickable").on("click",(function(t){t.preventDefault()}))}));o()(document).ready((function(){o()("#explodedview").length&&o()(window).scroll((function(t){if(!(o()(window).width()<992)){var e=o()(window).scrollTop(),i=o()(".images-container"),n=o()(".scroll-box-arrows");if(i.css({position:"static"}),n.css({position:"static"}),e>250){var r=e-250;i.css({position:"relative",top:r+"px"}),n.css({position:"relative",top:r+"px"})}}}))})),o()(document).ready((function(){prestashop.on("updateProductList",(function(t){t.sort_orders&&t.sort_orders.length>0&&(o()("#desktop_sort_by_filter > div > div > a").each((function(e){o()(this).attr("href",t.sort_orders[e].url)})),o()("#desktop_sort_by_filter > div > button").html(t.sort_selected+' <i class="material-icons float-xs-right">arrow_drop_down</i>'))}))})),o()(document).ready((function(){if(o()("body#checkout #delivery-addresses").length){let e=o()("#fluidra-postcode-input"),i=o()("#countriesSelect"),n=o()("#fluidra-postcode-nav>li>a.active").attr("aria-controls");i.on("change",(function(){t(n)})),o()("#fluidra-postcode-nav").on("click","a",(function(){n=o()(this).attr("aria-controls"),t(n)})),e.on("input",(function(){t(n)}))}function t(t){let r=o()("#fluidra-postcode-input"),s=r.val(),a=o()("#countriesSelect"),l=o()("#fluidra-postcode-msg-invalid"),c=o()("#"+t+" .postcode"),u=o()("#"+t+" .country"),h=[],d=[],p=[];if(!c.length)return;if(s.length>0){if(!function(t){if(isNaN(t)||!Number.isInteger(parseFloat(t)))return!1;return!0}(s))return e(r),void n(l);d=function(t,e){let i=[];if(0===t.length)return i;return t.each((function(){let t=o()(this).closest(".address-item");o()(this).text().startsWith(e)&&i.push(t)})),i}(c,s)}"false"!==a.val()&&(h=function(t,e){let i=[];if(0===t.length)return i;return t.each((function(){let t=o()(this).closest(".address-item");o()(this).text()==e&&i.push(t)})),i}(u,a.val())),p=function(t,e){let i=[];return e.forEach((e=>{t.forEach((t=>{e[0].id===t[0].id&&i.push(e)}))})),i}(d,h);let f=function(t,e,i){if(""!==t&&(0==e.length||"false"===e.val()||"pickuplocation"!==i))return"postcode";if("false"!==e.val()&&0!==e.length&&""===t&&"pickuplocation"===i)return"country";if("false"!==e.val()&&""!==t&&"pickuplocation"===i)return"postcodeAndCountry"}(s,a,t);!function(t,e,i,n,r){switch(o()("#"+t+" .address-item").hide(),r){case"postcode":e.forEach((t=>{t.show()}));break;case"country":i.forEach((t=>{t.show()}));break;case"postcodeAndCountry":n.forEach((t=>{t.show()}));break;default:o()("#"+t+" .address-item").show()}}(t,d,h,p,f),function(t,r,s,a,l){let c=o()("#fluidra-postcode-msg-empty"),u=o()("#fluidra-country-msg-empty");0===t.length&&""!==s?(e(a),n(c)):(!function(t){t.css("border-color","#ced4da")}(a),i(c));0===r.length&&"false"!==l.val()&&""!==s?n(u):i(u)}(d,p,s,r,a)}function e(t){t.css("border-color","red")}function i(t){t.addClass("hidden-xs-up")}function n(t){t.removeClass("hidden-xs-up")}}));i(745),i(8),i(427);var v=i(895),y=i.n(v);
/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/AFL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https://devdocs.prestashop.com/ for more information.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
 */
class _{constructor(t){this.el=t}init(){this.el.on("show.bs.dropdown",((t,e)=>{e?o()(`#${e}`).find(".dropdown-menu").first().stop(!0,!0).slideDown():o()(t.target).find(".dropdown-menu").first().stop(!0,!0).slideDown()})),this.el.on("hide.bs.dropdown",((t,e)=>{e?o()(`#${e}`).find(".dropdown-menu").first().stop(!0,!0).slideUp():o()(t.target).find(".dropdown-menu").first().stop(!0,!0).slideUp()})),this.el.find("select.link").each(((t,e)=>{o()(e).on("change",(function(){window.location=o()(this).val()}))}))}}
/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/AFL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https://devdocs.prestashop.com/ for more information.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
 */
class b{init(){this.parentFocus(),this.togglePasswordVisibility()}parentFocus(){o()(".js-child-focus").on("focus",(function(){o()(this).closest(".js-parent-focus").addClass("focus")})),o()(".js-child-focus").on("focusout",(function(){o()(this).closest(".js-parent-focus").removeClass("focus")}))}togglePasswordVisibility(){o()('button[data-action="show-password"]').on("click",(function(){const t=o()(this).closest(".input-group").children("input.js-visible-password");"password"===t.attr("type")?(t.attr("type","text"),o()(this).text(o()(this).data("textHide"))):(t.attr("type","password"),o()(this).text(o()(this).data("textShow")))}))}}var w=i(764);
/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/AFL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https://devdocs.prestashop.com/ for more information.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
 */
const{passwordPolicy:x}=prestashop.themeSelectors,S=(t,e,i)=>{return n=void 0,o=null,r=function*(){const{prestashop:n}=window,o=t.value,r=e.querySelector(x.requirementScoreIcon),s=yield n.checkPasswordScore(o),a=(t=>{switch(t){case 0:case 1:return{color:"bg-danger"};case 2:return{color:"bg-warning"};case 3:case 4:return{color:"bg-success"};default:throw new Error("Invalid password strength indicator.")}})(s.score),l=o.length,c=[];$(t).popover("dispose"),e.style.display=""===o?"none":"block",""!==s.feedback.warning&&s.feedback.warning in i&&c.push(i[s.feedback.warning]),s.feedback.suggestions.forEach((t=>{t in i&&c.push(i[t])})),$(t).popover({html:!0,placement:"top",content:c.join("<br/>")}).popover("show");const u=l>=parseInt(t.dataset.minlength,10)&&l<=parseInt(t.dataset.maxlength,10),h=parseInt(t.dataset.minscore,10)<=s.score;e.querySelector(x.requirementLengthIcon).classList.toggle("text-success",u),r.classList.toggle("text-success",h),t.classList.remove("border-success","border-danger"),t.classList.add(h&&u?"border-success":"border-danger"),t.classList.add("form-control","border");const d=20*s.score+20,p=e.querySelector(x.progressBar);p&&(p.style.width=`${d}%`,p.classList.remove("bg-success","bg-danger","bg-warning"),p.classList.add(a.color))},new Promise(((t,e)=>{var i=t=>{try{a(r.next(t))}catch(t){e(t)}},s=t=>{try{a(r.throw(t))}catch(t){e(t)}},a=e=>e.done?t(e.value):Promise.resolve(e.value).then(i,s);a((r=r.apply(n,o)).next())}));var n,o,r},C=t=>{const e=document.querySelector(t),i=null==e?void 0:e.querySelector(x.inputColumn),n=null==e?void 0:e.querySelector("input"),o=document.createElement("div"),r=document.querySelector(x.template);let s;if(r&&e&&i&&n&&(o.innerHTML=r.innerHTML,i.append(o),s=e.querySelector(x.container),s)){const t=document.querySelector(x.hint);if(t){const e=JSON.parse(t.innerHTML),i=s.querySelector(x.requirementLength),o=s.querySelector(x.requirementScore),r=null==i?void 0:i.querySelector("span"),a=null==o?void 0:o.querySelector("span");r&&i&&i.dataset.translation&&(r.innerText=(0,w.sprintf)(i.dataset.translation,n.dataset.minlength,n.dataset.maxlength)),a&&o&&o.dataset.translation&&(a.innerText=(0,w.sprintf)(o.dataset.translation,e[n.dataset.minscore])),n.addEventListener("keyup",(()=>S(n,s,e))),n.addEventListener("blur",(()=>{$(n).popover("dispose")}))}}return e?{element:e}:{error:new Error("The password policy elements are undefined.")}};
/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/AFL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https://devdocs.prestashop.com/ for more information.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
 */
class E extends _{init(){let t;const i=this;this.el.find("li").on("mouseenter mouseleave",(e=>{if(this.el.parent().hasClass("mobile"))return;const i=o()(e.currentTarget).attr("class");if(t!==i){const i=Array.prototype.slice.call(e.currentTarget.classList).map((t=>"string"==typeof t&&`.${t}`));t=i.join("")}})),o()("#menu-icon").on("click",(()=>{o()("#mobile_top_menu_wrapper").toggle(),i.toggleMobileMenu()})),this.el.on("click",(t=>{this.el.parent().hasClass("mobile")||t.stopPropagation()})),e().on("responsive update",(()=>{o()(".js-sub-menu").removeAttr("style"),i.toggleMobileMenu()})),super.init()}toggleMobileMenu(){o()("#header").toggleClass("is-open"),o()("#mobile_top_menu_wrapper").is(":visible")?o()("#notifications, #wrapper, #footer").hide():o()("#notifications, #wrapper, #footer").show()}}i(539),i(325);
/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/AFL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https://devdocs.prestashop.com/ for more information.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
 */
e().blockcart=e().blockcart||{},e().blockcart.showModal=t=>{function i(){return o()("#blockcart-modal")}let n=i();n.length&&n.remove(),o()("body").append(t),n=i(),n.modal("show").on("hidden.bs.modal",(t=>{e().emit("updateProduct",{reason:t.currentTarget.dataset,event:t})}))};
/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/AFL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https://devdocs.prestashop.com/ for more information.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
 */
for(const t in y().prototype)e()[t]=y().prototype[t];o()(document).ready((()=>{const t=o()(".js-dropdown"),e=new b,i=o()('.js-top-menu ul[data-depth="0"]'),n=new _(t),r=new E(i),s=new a,c=new l;n.init(),e.init(),r.init(),s.init(),c.init(),C(".field-password-policy"),o()('.carousel[data-touch="true"]').swipe({swipe(t,e){"left"===e&&o()(this).carousel("next"),"right"===e&&o()(this).carousel("prev")},allowPageScroll:"vertical"})}))})()})();