/*! For license information please see core.js.LICENSE.txt */
(()=>{"use strict";var e={26:(e,t,n)=>{var r=i(n(339)),o=i(n(825));function i(e){return e&&e.__esModule?e:{default:e}}(0,r.default)(document).ready((function(){var e;e={country:".js-country",address:".js-address-form"},(0,r.default)("body").on("change",e.country,(function(){var t={id_country:(0,r.default)(e.country).val(),id_address:(0,r.default)("".concat(e.address," form")).data("id-address")},n=(0,r.default)("".concat(e.address," form")).data("refresh-url"),i="".concat(e.address," input");r.default.post(n,t).then((function(t){var n=[];(0,r.default)(i).each((function(){n[(0,r.default)(this).prop("name")]=(0,r.default)(this).val()})),(0,r.default)(e.address).replaceWith(t.address_form),(0,r.default)(i).each((function(){(0,r.default)(this).val(n[(0,r.default)(this).prop("name")])})),o.default.emit("updatedAddressForm",{target:(0,r.default)(e.address),resp:t})})).fail((function(e){o.default.emit("handleError",{eventType:"updateAddressForm",resp:e})}))}))}))},999:(e,t,n)=>{var r=a(n(339)),o=a(n(825)),i=n(988);function a(e){return e&&e.__esModule?e:{default:e}}(0,r.default)(document).ready((function(){o.default.on("updateCart",(function(e){o.default.cart=e.resp.cart;var t=(0,r.default)(".js-cart").data("refresh-url");if(t){var n={};e&&e.reason&&(n={id_product_attribute:e.reason.idProductAttribute,id_product:e.reason.idProduct}),r.default.post(t,n).then((function(e){(0,r.default)(o.default.selectors.cart.detailedTotals).replaceWith(e.cart_detailed_totals),(0,r.default)(o.default.selectors.cart.summaryItemsSubtotal).replaceWith(e.cart_summary_items_subtotal),(0,r.default)(o.default.selectors.cart.summarySubTotalsContainer).replaceWith(e.cart_summary_subtotals_container),(0,r.default)(o.default.selectors.cart.summaryProducts).replaceWith(e.cart_summary_products),(0,r.default)(o.default.selectors.cart.summaryTotals).replaceWith(e.cart_summary_totals),(0,r.default)(o.default.selectors.cart.detailedActions).replaceWith(e.cart_detailed_actions),(0,r.default)(o.default.selectors.cart.voucher).replaceWith(e.cart_voucher),(0,r.default)(o.default.selectors.cart.overview).replaceWith(e.cart_detailed),(0,r.default)(o.default.selectors.cart.summaryTop).replaceWith(e.cart_summary_top),(0,r.default)(o.default.selectors.cart.productCustomizationId).val(0),(0,r.default)(o.default.selectors.cart.lineProductQuantity).each((function(e,t){var n=(0,r.default)(t);n.attr("value",n.val())})),(0,r.default)(o.default.selectors.checkout.cartPaymentStepRefresh).length&&(0,i.refreshCheckoutPage)(),o.default.emit("updatedCart",{eventType:"updateCart",resp:e})})).fail((function(e){o.default.emit("handleError",{eventType:"updateCart",resp:e})}))}}));var e=(0,r.default)("body");e.on("click",'[data-button-action="add-to-cart"]',(function(e){e.preventDefault();var t=(0,r.default)(e.currentTarget.form),n="".concat(t.serialize(),"&add=1&action=update"),i=t.attr("action"),a=(0,r.default)(e.currentTarget);a.prop("disabled",!0);var s,u=function(e){e.parents(o.default.selectors.product.addToCart).first().find(o.default.selectors.product.minimalQuantity).addClass("error"),e.parent().find("label").addClass("error")},c=t.find("input[min]");s=!0,c.each((function(e,t){var n=(0,r.default)(t),o=parseInt(n.attr("min"),10);o&&n.val()<o&&(u(n),s=!1)})),s?r.default.post(i,n,null,"json").then((function(e){o.default.emit("updateCart",{reason:{idProduct:e.id_product,idProductAttribute:e.id_product_attribute,idCustomization:e.id_customization,linkAction:"add-to-cart",cart:e.cart},resp:e})})).fail((function(e){o.default.emit("handleError",{eventType:"addProductToCart",resp:e})})).always((function(){setTimeout((function(){a.prop("disabled",!1)}),1e3)})):u(c)})),e.on("submit",'[data-link-action="add-voucher"]',(function(e){e.preventDefault();var t=(0,r.default)(e.currentTarget),n=t.attr("action");0===t.find("[name=action]").length&&t.append((0,r.default)("<input>",{type:"hidden",name:"ajax",value:1})),0===t.find("[name=action]").length&&t.append((0,r.default)("<input>",{type:"hidden",name:"action",value:"update"})),r.default.post(n,t.serialize(),null,"json").then((function(t){t.hasError?(0,r.default)(".js-error").show().find(".js-error-text").text(t.errors[0]):o.default.emit("updateCart",{reason:e.target.dataset,resp:t})})).fail((function(e){o.default.emit("handleError",{eventType:"updateCart",resp:e})}))}))}))},673:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){(0,r.default)(o.default.selectors.checkout.editAddresses).on("click",(function(e){e.stopPropagation(),(0,r.default)(o.default.selectors.checkout.addressesStep).trigger("click"),o.default.emit("editAddress")})),(0,r.default)(o.default.selectors.checkout.deliveryAddressRadios).on("click",(function(){(0,r.default)(o.default.selectors.checkout.addressItem).removeClass("selected"),(0,r.default)(o.default.selectors.checkout.addressItemChecked).addClass("selected");var e=(0,r.default)(o.default.selectors.checkout.addressError).prop("id").split("-").pop(),t=(0,r.default)(o.default.selectors.checkout.notValidAddresses).val(),n=this.name.split("_").pop(),i=(0,r.default)("".concat(o.default.selectors.checkout.addressError,"[name=alert-").concat(n,"]"));c(!1,e,n),""!==t&&null===s&&t.split(",").indexOf(this.value)>=0?(i.show(),c(!0,this.value,n),(0,r.default)(o.default.selectors.checkout.addressError).prop("id","id-failure-address-".concat(this.value))):i.hide();var a=(0,r.default)("".concat(o.default.selectors.checkout.addressError,":visible"));l(a.length<=0)}))};var r=a(n(339)),o=a(n(825)),i=n(988);function a(e){return e&&e.__esModule?e:{default:e}}var s=(0,i.psGetRequestParameter)("editAddress"),u=(0,i.psGetRequestParameter)("use_same_address");(0,r.default)(window).on("load",(function(){var e=(0,r.default)("".concat(o.default.selectors.checkout.addressError,":visible"));if(0===parseInt(u,10)&&(0,r.default)(o.default.selectors.checkout.invoiceAddresses).trigger("click"),(null!==s||(0,r.default)("".concat(o.default.selectors.checkout.addressForm,":visible")).length>1)&&e.hide(),e.length>0){var t=(0,r.default)(o.default.selectors.checkout.addressError).prop("id").split("-").pop();e.each((function(){c(!0,t,(0,r.default)(this).attr("name").split("-").pop())}))}e=(0,r.default)("".concat(o.default.selectors.checkout.addressError,":visible")),l(e.length<=0)}));var c=function(e,t,n){var o=(0,r.default)("#id-address-".concat(n,"-address-").concat(t," a.edit-address")),i=["text-info","address-item-invalid"];(0,r.default)("#".concat(n,"-addresses a.edit-address")).removeClass(i),o.toggleClass(i,e)},l=function(e){(0,r.default)("button[name=confirm-addresses]").prop("disabled",!e)}},107:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,r.default)("body"),t=o.default.selectors.checkout.deliveryFormSelector,n=o.default.selectors.checkout.summarySelector,a=o.default.selectors.checkout.deliveryStepSelector,s=o.default.selectors.checkout.editDeliveryButtonSelector;e.on("change","".concat(t," input"),(function(e){var a=(0,r.default)(t),s=a.serialize(),u=(0,r.default)(e.currentTarget).parents(o.default.selectors.checkout.deliveryOption);r.default.post(a.data("url-update"),s).then((function(e){(0,r.default)(n).replaceWith(e.preview),(0,r.default)(o.default.selectors.checkout.cartPaymentStepRefresh).length&&(0,i.refreshCheckoutPage)(),o.default.emit("updatedDeliveryForm",{dataForm:a.serializeArray(),deliveryOption:u,resp:e})})).fail((function(e){o.default.trigger("handleError",{eventType:"updateDeliveryOptions",resp:e})}))})),e.on("click",s,(function(e){e.stopPropagation(),(0,r.default)(a).trigger("click"),o.default.emit("editDelivery")}))};var r=a(n(339)),o=a(n(825)),i=n(988);function a(e){return e&&e.__esModule?e:{default:e}}},870:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=new s;return e.init(),e};var r=i(n(339)),o=i(n(825));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.confirmationSelector=o.default.selectors.checkout.confirmationSelector,this.conditionsSelector=o.default.selectors.checkout.conditionsSelector,this.conditionAlertSelector=o.default.selectors.checkout.conditionAlertSelector,this.additionalInformatonSelector=o.default.selectors.checkout.additionalInformatonSelector,this.optionsForm=o.default.selectors.checkout.optionsForm,this.termsCheckboxSelector=o.default.selectors.checkout.termsCheckboxSelector}var t,n;return t=e,(n=[{key:"init",value:function(){var e=(0,r.default)("body");e.on("change","".concat(this.conditionsSelector,' input[type="checkbox"]'),r.default.proxy(this.toggleOrderButton,this)),e.on("change",'input[name="payment-option"]',r.default.proxy(this.toggleOrderButton,this)),this.toggleOrderButton(),e.on("click","".concat(this.confirmationSelector," button"),r.default.proxy(this.confirm,this)),this.getSelectedOption()||this.collapseOptions()}},{key:"collapseOptions",value:function(){(0,r.default)("".concat(this.additionalInformatonSelector,", ").concat(this.optionsForm)).hide()}},{key:"getSelectedOption",value:function(){return(0,r.default)('input[name="payment-option"]:checked').attr("id")}},{key:"haveTermsBeenAccepted",value:function(){return(0,r.default)(this.termsCheckboxSelector).prop("checked")}},{key:"hideConfirmation",value:function(){(0,r.default)(this.confirmationSelector).hide()}},{key:"showConfirmation",value:function(){(0,r.default)(this.confirmationSelector).show()}},{key:"toggleOrderButton",value:function(){var e=!0;(0,r.default)("".concat(this.conditionsSelector,' input[type="checkbox"]')).each((function(t,n){n.checked||(e=!1)})),o.default.emit("termsUpdated",{isChecked:e}),this.collapseOptions();var t=this.getSelectedOption();if(t||(e=!1),(0,r.default)("#".concat(t,"-additional-information")).show(),(0,r.default)("#pay-with-".concat(t,"-form")).show(),(0,r.default)(o.default.selectors.checkout.paymentBinary).hide(),(0,r.default)("#".concat(t)).hasClass("binary")){var n=this.getPaymentOptionSelector(t);this.hideConfirmation(),(0,r.default)(n).show(),document.querySelectorAll("".concat(n," button, ").concat(n," input")).forEach((function(t){e?t.removeAttribute("disabled"):t.setAttribute("disabled",!e)})),e?(0,r.default)(n).removeClass("disabled"):(0,r.default)(n).addClass("disabled")}else this.showConfirmation(),(0,r.default)("".concat(this.confirmationSelector," button")).toggleClass("disabled",!e),(0,r.default)("".concat(this.confirmationSelector," button")).attr("disabled",!e),e?(0,r.default)(this.conditionAlertSelector).hide():(0,r.default)(this.conditionAlertSelector).show()}},{key:"getPaymentOptionSelector",value:function(e){var t=(0,r.default)("#".concat(e)).data("module-name");return".js-payment-".concat(t)}},{key:"showNativeFormErrors",value:function(){(0,r.default)("input[name=payment-option], ".concat(this.termsCheckboxSelector)).each((function(){this.reportValidity()}))}},{key:"confirm",value:function(){var e=this.getSelectedOption(),t=this.haveTermsBeenAccepted();void 0!==e&&!1!==t?((0,r.default)("".concat(this.confirmationSelector," button")).addClass("disabled"),(0,r.default)("#pay-with-".concat(e,"-form form")).submit()):this.showNativeFormErrors()}}])&&a(t.prototype,n),e}()},597:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(339)),o=i(n(825));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}var c=o.default.selectors.checkout.currentStep,l=".".concat(c),d=function(){function e(){a(this,e),this.$steps=(0,r.default)(o.default.selectors.checkout.step),this.$steps.off("click"),this.$clickableSteps=(0,r.default)(l).prevAll().andSelf(),this.$clickableSteps.addClass("-clickable")}return u(e,[{key:"getClickableSteps",value:function(){return this.$clickableSteps}},{key:"makeCurrent",value:function(e){this.$steps.removeClass("-current"),this.$steps.removeClass(c),e.makeCurrent()}}],[{key:"getClickedStep",value:function(e){return new f((0,r.default)(e.target).closest(o.default.selectors.checkout.step))}}]),e}();t.default=d;var f=function(){function e(t){a(this,e),this.$step=t}return u(e,[{key:"isUnreachable",value:function(){return this.$step.hasClass("-unreachable")}},{key:"makeCurrent",value:function(){this.$step.addClass("-current"),this.$step.addClass(c)}},{key:"hasContinueButton",value:function(){return(0,r.default)("button.continue",this.$step).length>0}},{key:"disableAllAfter",value:function(){var e=this.$step.nextAll();e.addClass("-unreachable").removeClass("-complete"),(0,r.default)(o.default.selectors.checkout.stepTitle,e).addClass("not-allowed")}},{key:"enableAllBefore",value:function(){var e=this.$step.nextAll("".concat(o.default.selectors.checkout.step,".-clickable"));e.removeClass("-unreachable").addClass("-complete"),(0,r.default)(o.default.selectors.checkout.stepTitle,e).removeClass("not-allowed")}}]),e}()},982:(e,t,n)=>{var r=c(n(339)),o=c(n(825)),i=c(n(673)),a=c(n(107)),s=c(n(870)),u=c(n(597));function c(e){return e&&e.__esModule?e:{default:e}}(0,r.default)(document).ready((function(){var e,t;1===(0,r.default)("#checkout").length&&((0,i.default)(),(0,a.default)(),(0,s.default)(),(e=new u.default).getClickableSteps().on("click",(function(t){var n=u.default.getClickedStep(t);n.isUnreachable()||(e.makeCurrent(n),n.hasContinueButton()?n.disableAllAfter():n.enableAllBefore()),o.default.emit("changedCheckoutStep",{event:t})})),t=o.default.selectors.checkout.form,(0,r.default)(t).submit((function(e){!0===(0,r.default)(this).data("disabled")&&e.preventDefault(),(0,r.default)(this).data("disabled",!0),(0,r.default)('button[type="submit"]',this).addClass("disabled")})))}))},988:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.psShowHide=function(){(0,o.default)(".ps-shown-by-js").show(),(0,o.default)(".ps-hidden-by-js").hide()},t.psGetRequestParameter=i,t.refreshCheckoutPage=function(){var e=i();if(e.updatedTransaction)window.location.reload();else{e.updatedTransaction=1;var t=Object.entries(e).map((function(e){return e.join("=")})).join("&");window.location.href="".concat(window.location.pathname,"?").concat(t)}};var r,o=(r=n(339))&&r.__esModule?r:{default:r};function i(e){var t={};return window.location.href.replace(location.hash,"").replace(/[?&]+([^=&]+)=?([^&]*)?/gi,(function(e,n,r){t[n]=void 0!==r?r:""})),void 0!==e?t[e]?t[e]:null:t}},247:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(339)),o=i(n(204));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=(0,r.default)(e);r.default.each(t,(function(e,t){if(!t.checkValidity()){var n=t.value.split("@");o.default.toASCII(n[0])===n[0]&&(t.value=o.default.toASCII(t.value))}}))}},432:(e,t,n)=>{var r=i(n(339)),o=i(n(825));function i(e){return e&&e.__esModule?e:{default:e}}var a=null;function s(e){o.default.emit("updateProductList",e),window.history.pushState(e,document.title,e.current_url)}function u(e,t){return"abort"!==t}function c(e){a===e&&(a=null)}(0,r.default)(document).ready((function(){o.default.on("updateFacets",(function(e){!function(e){a&&a.abort();var t=e.indexOf("?")>=0?"&":"?",n="".concat(e+t,"from-xhr");a=r.default.ajax({url:n,dataType:"json",success:s,error:u,complete:c})}(e)}))}))},90:(e,t,n)=>{var r=i(n(339)),o=i(n(825));function i(e){return e&&e.__esModule?e:{default:e}}(0,r.default)(document).ready((function(){(0,r.default)("body").on("click",o.default.selectors.listing.quickview,(function(e){o.default.emit("clickQuickView",{dataset:(0,r.default)(e.target).closest(o.default.selectors.product.miniature).data()}),e.preventDefault()}))}))},52:(e,t,n)=>{var r,o=(r=n(339))&&r.__esModule?r:{default:r};void 0===o.default.migrateMute&&(o.default.migrateMute=!window.prestashop.debug)},226:(e,t,n)=>{var r=a(n(339)),o=a(n(825)),i=n(988);function a(e){return e&&e.__esModule?e:{default:e}}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){u(e,t,n[t])}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=null,l=null,d=!1,f=[],p=!1;function h(e){var t,n,o;t=(0,r.default)(".quickview #product-availability, .page-product:not(.modal-open) .row #product-availability, .page-product:not(.modal-open) .product-container #product-availability"),n=e,o=(0,r.default)('<div class="alert alert-danger ajax-error" role="alert">'.concat(n,"</div>")),t.replaceWith(o)}function v(e){var t=(0,r.default)(e.$targetParent.find(e.targetSelector));if(!(t.length<=0)){var n=e.$addToCartSnippet.find(e.targetSelector);n.length>0?t.replaceWith(n[0].outerHTML):t.html("")}}(0,r.default)(document).ready((function(){var e=(0,r.default)(o.default.selectors.product.actions);(0,r.default)("body").on("change touchspin.on.startspin","".concat(o.default.selectors.product.variants," *[name]"),(function(e){p=!0,o.default.emit("updateProduct",{eventType:"updatedProductCombination",event:e,resp:{},reason:{productUrl:o.default.urls.pages.product||""}})})),(0,r.default)(e.find("form:first").serializeArray()).each((function(e,t){var n=t.value,r=t.name;f.push({value:n,name:r})})),window.addEventListener("popstate",(function(e){if(d=!0,!(!e.state||e.state&&e.state.form&&0===e.state.form.length)||p){var t=(0,r.default)(o.default.selectors.product.actions).find("form:first");e.state&&e.state.form?e.state.form.forEach((function(e){t.find('[name="'.concat(e.name,'"]')).val(e.value)})):f.forEach((function(e){t.find('[name="'.concat(e.name,'"]')).val(e.value)})),o.default.emit("updateProduct",{eventType:"updatedProductCombination",event:e,resp:{},reason:{productUrl:o.default.urls.pages.product||""}})}})),(0,r.default)("body").on("click",o.default.selectors.product.refresh,(function(e,t){e.preventDefault();var n="updatedProductCombination";void 0!==t&&t.eventType&&(n=t.eventType),o.default.emit("updateProduct",{eventType:n,event:e,resp:{},reason:{productUrl:o.default.urls.pages.product||""}})})),o.default.on("updateProduct",(function(e){var t=e.eventType,n=e.event;(function(){var e=r.default.Deferred(),t=(0,r.default)(o.default.selectors.product.actions),n=(0,r.default)(o.default.selectors.quantityWanted);if(null!==o.default&&null!==o.default.urls&&null!==o.default.urls.pages&&""!==o.default.urls.pages.product&&null!==o.default.urls.pages.product)return e.resolve(o.default.urls.pages.product),e.promise();var i={};return(0,r.default)(t.find("form:first").serializeArray()).each((function(e,t){i[t.name]=t.value})),r.default.ajax({url:t.find("form:first").attr("action"),method:"POST",data:s({ajax:1,action:"productrefresh",quantity_wanted:n.val()},i),dataType:"json",success:function(t){var n=t.productUrl;o.default.page.canonical=n,e.resolve(n)},error:function(t,n,r){e.reject({jqXHR:t,textStatus:n,errorThrown:r})}}),e.promise()})().done((function(e){return function(e,t,n){var a,s=(0,r.default)(o.default.selectors.product.actions),u=s.find(o.default.selectors.quantityWanted),d=s.find("form:first"),f=d.serialize(),p=(0,i.psGetRequestParameter)("preview");if("function"==typeof Event?a=new Event("updateRating"):(a=document.createEvent("Event")).initEvent("updateRating",!0,!0),p=null!==p?"&preview=".concat(p):"",null!==n){if(!e||"keyup"!==e.type||u.val()!==u.data("old-value")){u.data("old-value",u.val()),l&&clearTimeout(l);var m=30;"updatedProductQuantity"===t&&(m=750),l=setTimeout((function(){""!==f&&(c=r.default.ajax({url:n+(-1===n.indexOf("?")?"?":"&")+f+p,method:"POST",data:{quickview:(0,r.default)(".modal.quickview.in").length,ajax:1,action:"refresh",quantity_wanted:"updatedProductCombination"===t?u.attr("min"):u.val()},dataType:"json",beforeSend:function(){null!==c&&c.abort()},error:function(e,t){"abort"!==t&&0===(0,r.default)("section#main > .ajax-error").length&&h()},success:function(e){var n=(0,r.default)("<div>").append(e.product_cover_thumbnails);(0,r.default)(o.default.selectors.product.imageContainer).html()!==n.find(o.default.selectors.product.imageContainer).html()&&(0,r.default)(o.default.selectors.product.imageContainer).replaceWith(e.product_cover_thumbnails),(0,r.default)(o.default.selectors.product.prices).first().replaceWith(e.product_prices),(0,r.default)(o.default.selectors.product.customization).first().replaceWith(e.product_customization),"updatedProductQuantity"!==t&&"updatedProductCombination"!==t||!e.id_customization?(0,r.default)(o.default.selectors.product.inputCustomization).val(0):(0,r.default)(o.default.selectors.cart.productCustomizationId).val(e.id_customization),(0,r.default)(o.default.selectors.product.variantsUpdate).first().replaceWith(e.product_variants),(0,r.default)(o.default.selectors.product.discounts).first().replaceWith(e.product_discounts),(0,r.default)(o.default.selectors.product.additionalInfos).first().replaceWith(e.product_additional_info),(0,r.default)(o.default.selectors.product.details).replaceWith(e.product_details),(0,r.default)(o.default.selectors.product.flags).first().replaceWith(e.product_flags),function(e){var t=null;(0,r.default)(e.product_add_to_cart).each((function(e,n){return!(0,r.default)(n).hasClass("product-add-to-cart")||(t=(0,r.default)(n),!1)})),null===t&&h();var n=(0,r.default)(o.default.selectors.product.addToCart);v({$addToCartSnippet:t,$targetParent:n,targetSelector:".add"}),v({$addToCartSnippet:t,$targetParent:n,targetSelector:"#product-availability"}),v({$addToCartSnippet:t,$targetParent:n,targetSelector:".product-minimal-quantity"})}(e);var i=parseInt(e.product_minimal_quantity,10);document.dispatchEvent(a),isNaN(i)||"updatedProductQuantity"===t||(u.attr("min",i),u.val(i)),o.default.emit("updatedProduct",e,d.serializeArray())},complete:function(){c=null,l=null}}))}),m)}}else h()}(n,t,e)})).fail((function(){0===(0,r.default)("section#main > .ajax-error").length&&h()}))})),o.default.on("updatedProduct",(function(e,t){if(e.product_url&&e.id_product_attribute&&!(0,r.default)(".modal.quickview").length){var n=document.title;e.product_title&&(n=e.product_title,(0,r.default)(document).attr("title",n)),d||window.history.pushState({id_product_attribute:e.id_product_attribute,form:t},n,e.product_url),d=!1}})),o.default.on("updateCart",(function(e){e&&e.reason&&"add-to-cart"===e.reason.linkAction&&(0,r.default)("#quantity_wanted").val(1)})),o.default.on("showErrorNextToAddtoCartButton",(function(e){e&&e.errorMessage&&h(e.errorMessage)}))}))},965:(e,t,n)=>{var r=i(n(825)),o=i(n(339));function i(e){return e&&e.__esModule?e:{default:e}}r.default.selectors={quantityWanted:"#quantity_wanted",product:{imageContainer:".quickview .images-container, .page-product:not(.modal-open) .row .images-container, .page-product:not(.modal-open) .product-container .images-container, .quickview .js-images-container, .page-product:not(.modal-open) .row .js-images-container, .page-product:not(.modal-open) .product-container .js-images-container",container:".product-container, .js-product-container",availability:"#product-availability, .js-product-availability",actions:".product-actions, .js-product-actions",variants:".product-variants, .js-product-variants",refresh:".product-refresh, .js-product-refresh",miniature:".js-product-miniature",minimalQuantity:".product-minimal-quantity, .js-product-minimal-quantity",addToCart:".quickview .product-add-to-cart, .page-product:not(.modal-open) .row .product-add-to-cart, .page-product:not(.modal-open) .product-container .product-add-to-cart, .quickview .js-product-add-to-cart, .page-product:not(.modal-open) .row .js-product-add-to-cart, .page-product:not(.modal-open) .product-container .js-product-add-to-cart",prices:".quickview .product-prices, .page-product:not(.modal-open) .row .product-prices, .page-product:not(.modal-open) .product-container .product-prices, .quickview .js-product-prices, .page-product:not(.modal-open) .row .js-product-prices, .page-product:not(.modal-open) .product-container .js-product-prices",inputCustomization:'.product-actions input[name="id_customization"], .js-product-actions .js-product-customization-id',customization:".quickview .product-customization, .page-product:not(.modal-open) .row .product-customization, .page-product:not(.modal-open) .product-container .product-customization, .quickview .js-product-customization, .page-product:not(.modal-open) .row .js-product-customization, .page-product:not(.modal-open) .product-container .js-product-customization",variantsUpdate:".quickview .product-variants, .page-product:not(.modal-open) .row .product-variants, .page-product:not(.modal-open) .product-container .product-variants, .quickview .js-product-variants, .page-product:not(.modal-open) .row .js-product-variants, .page-product:not(.modal-open) .js-product-container .js-product-variants",discounts:".quickview .product-discounts, .page-product:not(.modal-open) .row .product-discounts, .page-product:not(.modal-open) .product-container .product-discounts, .quickview .js-product-discounts, .page-product:not(.modal-open) .row .js-product-discounts, .page-product:not(.modal-open) .product-container .js-product-discounts",additionalInfos:".quickview .product-additional-info, .page-product:not(.modal-open) .row .product-additional-info, .page-product:not(.modal-open) .product-container .product-additional-info, .quickview .js-product-additional-info, .page-product:not(.modal-open) .row .js-product-additional-info, .page-product:not(.modal-open) .js-product-container .js-product-additional-info",details:".quickview #product-details, #product-details, .quickview .js-product-details, .js-product-details",flags:".quickview .product-flags, .page-product:not(.modal-open) .row .product-flags, .page-product:not(.modal-open) .product-container .product-flags, .quickview .js-product-flags, .page-product:not(.modal-open) .row .js-product-flags, .page-product:not(.modal-open) .js-product-container .js-product-flags"},listing:{quickview:".quick-view, .js-quick-view"},checkout:{form:".checkout-step form",currentStep:"js-current-step",step:".checkout-step",stepTitle:".step-title, .js-step-title",confirmationSelector:"#payment-confirmation button, .js-payment-confirmation",conditionsSelector:'#conditions-to-approve input[type="checkbox"], .js-conditions-to-approve',conditionAlertSelector:".js-alert-payment-conditions",additionalInformatonSelector:".js-additional-information",optionsForm:".js-payment-option-form",termsCheckboxSelector:'#conditions-to-approve input[name="conditions_to_approve[terms-and-conditions]"], .js-conditions-to-approve input[name="conditions_to_approve[terms-and-conditions]"]',paymentBinary:".payment-binary, .js-payment-binary",deliveryFormSelector:"#js-delivery",summarySelector:"#js-checkout-summary",deliveryStepSelector:"#checkout-delivery-step",editDeliveryButtonSelector:".js-edit-delivery",deliveryOption:".delivery-option, .js-delivery-option",cartPaymentStepRefresh:".js-cart-payment-step-refresh",editAddresses:".js-edit-addresses",deliveryAddressRadios:"#delivery-addresses input[type=radio], #invoice-addresses input[type=radio], .js-address-selector input[type=radio]",addressItem:".address-item, .js-address-item",addressesStep:"#checkout-addresses-step",addressItemChecked:".address-item:has(input[type=radio]:checked), .js-address-item:has(input[type=radio]:checked)",addressError:".js-address-error",notValidAddresses:"#not-valid-addresses, .js-not-valid-addresses",invoiceAddresses:"#invoice-addresses, .js-address-selector",addressForm:".js-address-form"},cart:{detailedTotals:".cart-detailed-totals, .js-cart-detailed-totals",summaryItemsSubtotal:".cart-summary-items-subtotal, .js-cart-summary-items-subtotal",summarySubTotalsContainer:".cart-summary-subtotals-container, .js-cart-summary-subtotals-container",summaryTotals:".cart-summary-totals, .js-cart-summary-totals",summaryProducts:".cart-summary-products, .js-cart-summary-products",detailedActions:".cart-detailed-actions, .js-cart-detailed-actions",voucher:".cart-voucher, .js-cart-voucher",overview:".cart-overview",summaryTop:".cart-summary-top, .js-cart-summary-top",productCustomizationId:"#product_customization_id, .js-product-customization-id",lineProductQuantity:".js-cart-line-product-quantity"}},(0,o.default)(document).ready((function(){r.default.emit("selectorsInit")}))},827:(e,t,n)=>{var r,o,i;o=[n(339)],void 0===(i="function"==typeof(r=function(e){var t=e.fn.init;e.fn.init=function(e){var n=Array.prototype.slice.call(arguments);"string"==typeof e&&"#"===e&&(console.warn("jQuery('#') is not a valid selector"),n[0]=[]);var r=t.apply(this,arguments);return r.selector="string"==typeof e?e:"",r},e.fn.init.prototype=e.fn,void 0!==e.fn.live&&e.isFunction(e.fn.live)||e.fn.extend({live:function(t,n,r){return this.selector&&e(document).on(t,this.selector,n,r),console.warn("jQuery.live() has been removed since jquery v1.9, please use jQuery.on() instead."),this}})})?r.apply(t,o):r)||(e.exports=i)},291:e=>{function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var n,r="object"===("undefined"==typeof Reflect?"undefined":t(Reflect))?Reflect:null,o=r&&"function"==typeof r.apply?r.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};n=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}e.exports=a,e.exports.once=function(e,t){return new Promise((function(n,r){function o(n){e.removeListener(t,i),r(n)}function i(){"function"==typeof e.removeListener&&e.removeListener("error",o),n([].slice.call(arguments))}m(e,t,i,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&m(e,"error",t,{once:!0})}(e,o)}))},a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var s=10;function u(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+t(e))}function c(e){return void 0===e._maxListeners?a.defaultMaxListeners:e._maxListeners}function l(e,t,n,r){var o,i,a,s;if(u(n),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),i=e._events),a=i[t]),void 0===a)a=i[t]=n,++e._eventsCount;else if("function"==typeof a?a=i[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(o=c(e))>0&&a.length>o&&!a.warned){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,s=l,console&&console.warn&&console.warn(s)}return e}function d(){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 f(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=d.bind(r);return o.listener=n,r.wrapFn=o,o}function p(e,t,n){var r=e._events;if(void 0===r)return[];var o=r[t];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(o):v(o,o.length)}function h(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function v(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function m(e,n,r,o){if("function"==typeof e.on)o.once?e.once(n,r):e.on(n,r);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+t(e));e.addEventListener(n,(function t(i){o.once&&e.removeEventListener(n,t),r(i)}))}}Object.defineProperty(a,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");s=e}}),a.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},a.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},a.prototype.getMaxListeners=function(){return c(this)},a.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,i=this._events;if(void 0!==i)r=r&&void 0===i.error;else if(!r)return!1;if(r){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var u=i[e];if(void 0===u)return!1;if("function"==typeof u)o(u,this,t);else{var c=u.length,l=v(u,c);for(n=0;n<c;++n)o(l[n],this,t)}return!0},a.prototype.addListener=function(e,t){return l(this,e,t,!1)},a.prototype.on=a.prototype.addListener,a.prototype.prependListener=function(e,t){return l(this,e,t,!0)},a.prototype.once=function(e,t){return u(t),this.on(e,f(this,e,t)),this},a.prototype.prependOnceListener=function(e,t){return u(t),this.prependListener(e,f(this,e,t)),this},a.prototype.removeListener=function(e,t){var n,r,o,i,a;if(u(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(o=-1,i=n.length-1;i>=0;i--)if(n[i]===t||n[i].listener===t){a=n[i].listener,o=i;break}if(o<0)return this;0===o?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,o),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},a.prototype.off=a.prototype.removeListener,a.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var o,i=Object.keys(n);for(r=0;r<i.length;++r)"removeListener"!==(o=i[r])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},a.prototype.listeners=function(e){return p(this,e,!0)},a.prototype.rawListeners=function(e){return p(this,e,!1)},a.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):h.call(e,t)},a.prototype.listenerCount=h,a.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},882:(e,t,n)=>{var r,o;function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}r=[n(339)],void 0===(o=function(e){return function(e,t){function n(t){return function(e,t){for(var n=/^(\d+)\.(\d+)\.(\d+)/,r=n.exec(e)||[],o=n.exec(t)||[],i=1;i<=3;i++){if(+r[i]>+o[i])return 1;if(+r[i]<+o[i])return-1}return 0}(e.fn.jquery,t)>=0}e.migrateVersion="3.1.0",t.console&&t.console.log&&(e&&n("3.0.0")||t.console.log("JQMIGRATE: jQuery 3.0.0+ REQUIRED"),e.migrateWarnings&&t.console.log("JQMIGRATE: Migrate plugin loaded multiple times"),t.console.log("JQMIGRATE: Migrate is installed"+(e.migrateMute?"":" with logging active")+", version "+e.migrateVersion));var r={};function o(n){var o=t.console;r[n]||(r[n]=!0,e.migrateWarnings.push(n),o&&o.warn&&!e.migrateMute&&(o.warn("JQMIGRATE: "+n),e.migrateTrace&&o.trace&&o.trace()))}function a(e,t,n,r){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return o(r),n},set:function(e){o(r),n=e}})}function s(e,t,n,r){e[t]=function(){return o(r),n.apply(this,arguments)}}e.migrateWarnings=[],void 0===e.migrateTrace&&(e.migrateTrace=!0),e.migrateReset=function(){r={},e.migrateWarnings.length=0},"BackCompat"===t.document.compatMode&&o("jQuery is not compatible with Quirks Mode");var u,c=e.fn.init,l=e.isNumeric,d=e.find,f=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,p=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g;for(u in e.fn.init=function(e){var t=Array.prototype.slice.call(arguments);return"string"==typeof e&&"#"===e&&(o("jQuery( '#' ) is not a valid selector"),t[0]=[]),c.apply(this,t)},e.fn.init.prototype=e.fn,e.find=function(e){var n=Array.prototype.slice.call(arguments);if("string"==typeof e&&f.test(e))try{t.document.querySelector(e)}catch(r){e=e.replace(p,(function(e,t,n,r){return"["+t+n+'"'+r+'"]'}));try{t.document.querySelector(e),o("Attribute selector with '#' must be quoted: "+n[0]),n[0]=e}catch(e){o("Attribute selector with '#' was not fixed: "+n[0])}}return d.apply(this,n)},d)Object.prototype.hasOwnProperty.call(d,u)&&(e.find[u]=d[u]);e.fn.size=function(){return o("jQuery.fn.size() is deprecated and removed; use the .length property"),this.length},e.parseJSON=function(){return o("jQuery.parseJSON is deprecated; use JSON.parse"),JSON.parse.apply(null,arguments)},e.isNumeric=function(t){var n,r,i=l(t),a=(r=(n=t)&&n.toString(),!e.isArray(n)&&r-parseFloat(r)+1>=0);return i!==a&&o("jQuery.isNumeric() should not be called on constructed objects"),a},n("3.3.0")&&s(e,"isWindow",(function(e){return null!=e&&e===e.window}),"jQuery.isWindow() is deprecated"),s(e,"holdReady",e.holdReady,"jQuery.holdReady is deprecated"),s(e,"unique",e.uniqueSort,"jQuery.unique is deprecated; use jQuery.uniqueSort"),a(e.expr,"filters",e.expr.pseudos,"jQuery.expr.filters is deprecated; use jQuery.expr.pseudos"),a(e.expr,":",e.expr.pseudos,"jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos"),n("3.2.0")&&s(e,"nodeName",e.nodeName,"jQuery.nodeName is deprecated");var h=e.ajax;e.ajax=function(){var e=h.apply(this,arguments);return e.promise&&(s(e,"success",e.done,"jQXHR.success is deprecated and removed"),s(e,"error",e.fail,"jQXHR.error is deprecated and removed"),s(e,"complete",e.always,"jQXHR.complete is deprecated and removed")),e};var v=e.fn.removeAttr,m=e.fn.toggleClass,y=/\S+/g;e.fn.removeAttr=function(t){var n=this;return e.each(t.match(y),(function(t,r){e.expr.match.bool.test(r)&&(o("jQuery.fn.removeAttr no longer sets boolean properties: "+r),n.prop(r,!1))})),v.apply(this,arguments)},e.fn.toggleClass=function(t){return void 0!==t&&"boolean"!=typeof t?m.apply(this,arguments):(o("jQuery.fn.toggleClass( boolean ) is deprecated"),this.each((function(){var n=this.getAttribute&&this.getAttribute("class")||"";n&&e.data(this,"__className__",n),this.setAttribute&&this.setAttribute("class",n||!1===t?"":e.data(this,"__className__")||"")})))};var g=!1;e.swap&&e.each(["height","width","reliableMarginRight"],(function(t,n){var r=e.cssHooks[n]&&e.cssHooks[n].get;r&&(e.cssHooks[n].get=function(){var e;return g=!0,e=r.apply(this,arguments),g=!1,e})})),e.swap=function(e,t,n,r){var i,a,s={};for(a in g||o("jQuery.swap() is undocumented and deprecated"),t)s[a]=e.style[a],e.style[a]=t[a];for(a in i=n.apply(e,r||[]),t)e.style[a]=s[a];return i};var b=e.data;e.data=function(t,n,r){var a;if(n&&"object"===i(n)&&2===arguments.length){a=e.hasData(t)&&b.call(this,t);var s={};for(var u in n)u!==e.camelCase(u)?(o("jQuery.data() always sets/gets camelCased names: "+u),a[u]=n[u]):s[u]=n[u];return b.call(this,t,s),n}return n&&"string"==typeof n&&n!==e.camelCase(n)&&(a=e.hasData(t)&&b.call(this,t))&&n in a?(o("jQuery.data() always sets/gets camelCased names: "+n),arguments.length>2&&(a[n]=r),a[n]):b.apply(this,arguments)};var x=e.Tween.prototype.run,w=function(e){return e};e.Tween.prototype.run=function(){e.easing[this.easing].length>1&&(o("'jQuery.easing."+this.easing.toString()+"' should use only one argument"),e.easing[this.easing]=w),x.apply(this,arguments)};var k=e.fx.interval||13,C="jQuery.fx.interval is deprecated";t.requestAnimationFrame&&Object.defineProperty(e.fx,"interval",{configurable:!0,enumerable:!0,get:function(){return t.document.hidden||o(C),k},set:function(e){o(C),k=e}});var j=e.fn.load,T=e.event.add,S=e.event.fix;e.event.props=[],e.event.fixHooks={},a(e.event.props,"concat",e.event.props.concat,"jQuery.event.props.concat() is deprecated and removed"),e.event.fix=function(t){var n,r=t.type,i=this.fixHooks[r],a=e.event.props;if(a.length)for(o("jQuery.event.props are deprecated and removed: "+a.join());a.length;)e.event.addProp(a.pop());if(i&&!i._migrated_&&(i._migrated_=!0,o("jQuery.event.fixHooks are deprecated and removed: "+r),(a=i.props)&&a.length))for(;a.length;)e.event.addProp(a.pop());return n=S.call(this,t),i&&i.filter?i.filter(n,t):n},e.event.add=function(e,n){return e===t&&"load"===n&&"complete"===t.document.readyState&&o("jQuery(window).on('load'...) called after load event occurred"),T.apply(this,arguments)},e.each(["load","unload","error"],(function(t,n){e.fn[n]=function(){var e=Array.prototype.slice.call(arguments,0);return"load"===n&&"string"==typeof e[0]?j.apply(this,e):(o("jQuery.fn."+n+"() is deprecated"),e.splice(0,0,n),arguments.length?this.on.apply(this,e):(this.triggerHandler.apply(this,e),this))}})),e.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(t,n){e.fn[n]=function(e,t){return o("jQuery.fn."+n+"() event shorthand is deprecated"),arguments.length>0?this.on(n,null,e,t):this.trigger(n)}})),e((function(){e(t.document).triggerHandler("ready")})),e.event.special.ready={setup:function(){this===t.document&&o("'ready' event is deprecated")}},e.fn.extend({bind:function(e,t,n){return o("jQuery.fn.bind() is deprecated"),this.on(e,null,t,n)},unbind:function(e,t){return o("jQuery.fn.unbind() is deprecated"),this.off(e,null,t)},delegate:function(e,t,n,r){return o("jQuery.fn.delegate() is deprecated"),this.on(t,e,n,r)},undelegate:function(e,t,n){return o("jQuery.fn.undelegate() is deprecated"),1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return o("jQuery.fn.hover() is deprecated"),this.on("mouseenter",e).on("mouseleave",t||e)}});var A=e.fn.offset;e.fn.offset=function(){var n,r=this[0],i={top:0,left:0};return r&&r.nodeType?(n=(r.ownerDocument||t.document).documentElement,e.contains(n,r)?A.apply(this,arguments):(o("jQuery.fn.offset() requires an element connected to a document"),i)):(o("jQuery.fn.offset() requires a valid DOM element"),i)};var E=e.param;e.param=function(t,n){var r=e.ajaxSettings&&e.ajaxSettings.traditional;return void 0===n&&r&&(o("jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),n=r),E.call(this,t,n)};var _=e.fn.andSelf||e.fn.addBack;e.fn.andSelf=function(){return o("jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),_.apply(this,arguments)};var N=e.Deferred,q=[["resolve","done",e.Callbacks("once memory"),e.Callbacks("once memory"),"resolved"],["reject","fail",e.Callbacks("once memory"),e.Callbacks("once memory"),"rejected"],["notify","progress",e.Callbacks("memory"),e.Callbacks("memory")]];return e.Deferred=function(t){var n=N(),r=n.promise();return n.pipe=r.pipe=function(){var t=arguments;return o("deferred.pipe() is deprecated"),e.Deferred((function(o){e.each(q,(function(i,a){var s=e.isFunction(t[i])&&t[i];n[a[1]]((function(){var t=s&&s.apply(this,arguments);t&&e.isFunction(t.promise)?t.promise().done(o.resolve).fail(o.reject).progress(o.notify):o[a[0]+"With"](this===r?o.promise():this,s?[t]:arguments)}))})),t=null})).promise()},t&&t.call(n,n),n},e.Deferred.exceptionHook=N.exceptionHook,e}(e,window)}.apply(t,r))||(e.exports=o)},165:(e,t,n)=>{var r,o;r=[n(339)],void 0===(o=function(e){return function(e){function t(e){void 0===e&&(e=window.navigator.userAgent),e=e.toLowerCase();var t=/(edge)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(chrome)[ \/]([\w.]+)/.exec(e)||/(iemobile)[\/]([\w.]+)/.exec(e)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[],n=/(ipad)/.exec(e)||/(ipod)/.exec(e)||/(windows phone)/.exec(e)||/(iphone)/.exec(e)||/(kindle)/.exec(e)||/(silk)/.exec(e)||/(android)/.exec(e)||/(win)/.exec(e)||/(mac)/.exec(e)||/(linux)/.exec(e)||/(cros)/.exec(e)||/(playbook)/.exec(e)||/(bb)/.exec(e)||/(blackberry)/.exec(e)||[],r={},o={browser:t[5]||t[3]||t[1]||"",version:t[2]||t[4]||"0",versionNumber:t[4]||t[2]||"0",platform:n[0]||""};if(o.browser&&(r[o.browser]=!0,r.version=o.version,r.versionNumber=parseInt(o.versionNumber,10)),o.platform&&(r[o.platform]=!0),(r.android||r.bb||r.blackberry||r.ipad||r.iphone||r.ipod||r.kindle||r.playbook||r.silk||r["windows phone"])&&(r.mobile=!0),(r.cros||r.mac||r.linux||r.win)&&(r.desktop=!0),(r.chrome||r.opr||r.safari)&&(r.webkit=!0),r.rv||r.iemobile){var i="msie";o.browser=i,r[i]=!0}if(r.edge){delete r.edge;var a="msedge";o.browser=a,r.msedge=!0}if(r.safari&&r.blackberry){var s="blackberry";o.browser=s,r.blackberry=!0}if(r.safari&&r.playbook){var u="playbook";o.browser=u,r.playbook=!0}if(r.bb){var c="blackberry";o.browser=c,r[c]=!0}if(r.opr){var l="opera";o.browser=l,r.opera=!0}if(r.safari&&r.android){var d="android";o.browser=d,r.android=!0}if(r.safari&&r.kindle){var f="kindle";o.browser=f,r.kindle=!0}if(r.safari&&r.silk){var p="silk";o.browser=p,r.silk=!0}return r.name=o.browser,r.platform=o.platform,r}return window.jQBrowser=t(window.navigator.userAgent),window.jQBrowser.uaMatch=t,e&&(e.browser=window.jQBrowser),window.jQBrowser}(e)}.apply(t,r))||(e.exports=o)},339:(e,t,n)=>{var r,o,i;function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e=n.nmd(e),o="undefined"!=typeof window?window:void 0,i=function(n,o){var i=[],s=Object.getPrototypeOf,u=i.slice,c=i.flat?function(e){return i.flat.call(e)}:function(e){return i.concat.apply([],e)},l=i.push,d=i.indexOf,f={},p=f.toString,h=f.hasOwnProperty,v=h.toString,m=v.call(Object),y={},g=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},b=function(e){return null!=e&&e===e.window},x=n.document,w={type:!0,src:!0,nonce:!0,noModule:!0};function k(e,t,n){var r,o,i=(n=n||x).createElement("script");if(i.text=e,t)for(r in w)(o=t[r]||t.getAttribute&&t.getAttribute(r))&&i.setAttribute(r,o);n.head.appendChild(i).parentNode.removeChild(i)}function C(e){return null==e?e+"":"object"===a(e)||"function"==typeof e?f[p.call(e)]||"object":a(e)}var j="3.5.1",T=function e(t,n){return new e.fn.init(t,n)};function S(e){var t=!!e&&"length"in e&&e.length,n=C(e);return!g(e)&&!b(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}T.fn=T.prototype={jquery:j,constructor:T,length:0,toArray:function(){return u.call(this)},get:function(e){return null==e?u.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=T.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return T.each(this,e)},map:function(e){return this.pushStack(T.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(u.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(T.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(T.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:i.sort,splice:i.splice},T.extend=T.fn.extend=function(){var e,t,n,r,o,i,s=arguments[0]||{},u=1,c=arguments.length,l=!1;for("boolean"==typeof s&&(l=s,s=arguments[u]||{},u++),"object"===a(s)||g(s)||(s={}),u===c&&(s=this,u--);u<c;u++)if(null!=(e=arguments[u]))for(t in e)r=e[t],"__proto__"!==t&&s!==r&&(l&&r&&(T.isPlainObject(r)||(o=Array.isArray(r)))?(n=s[t],i=o&&!Array.isArray(n)?[]:o||T.isPlainObject(n)?n:{},o=!1,s[t]=T.extend(l,i,r)):void 0!==r&&(s[t]=r));return s},T.extend({expando:"jQuery"+(j+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==p.call(e)||(t=s(e))&&("function"!=typeof(n=h.call(t,"constructor")&&t.constructor)||v.call(n)!==m))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){k(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(S(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(S(Object(e))?T.merge(n,"string"==typeof e?[e]:e):l.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:d.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;r<n;r++)e[o++]=t[r];return e.length=o,e},grep:function(e,t,n){for(var r=[],o=0,i=e.length,a=!n;o<i;o++)!t(e[o],o)!==a&&r.push(e[o]);return r},map:function(e,t,n){var r,o,i=0,a=[];if(S(e))for(r=e.length;i<r;i++)null!=(o=t(e[i],i,n))&&a.push(o);else for(i in e)null!=(o=t(e[i],i,n))&&a.push(o);return c(a)},guid:1,support:y}),"function"==typeof Symbol&&(T.fn[Symbol.iterator]=i[Symbol.iterator]),T.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){f["[object "+t+"]"]=t.toLowerCase()}));var A=function(e){var t,n,r,o,i,a,s,u,c,l,d,f,p,h,v,m,y,g,b,x="sizzle"+1*new Date,w=e.document,k=0,C=0,j=ue(),T=ue(),S=ue(),A=ue(),E=function(e,t){return e===t&&(d=!0),0},_={}.hasOwnProperty,N=[],q=N.pop,D=N.push,L=N.push,O=N.slice,P=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},M="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",H="[\\x20\\t\\r\\n\\f]",R="(?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",I="\\[[\\x20\\t\\r\\n\\f]*("+R+")(?:"+H+"*([*^$|!~]?=)"+H+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+R+"))|)"+H+"*\\]",W=":("+R+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+I+")*)|.*)\\)|)",F=new RegExp(H+"+","g"),$=new RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g"),Q=new RegExp("^[\\x20\\t\\r\\n\\f]*,[\\x20\\t\\r\\n\\f]*"),B=new RegExp("^[\\x20\\t\\r\\n\\f]*([>+~]|[\\x20\\t\\r\\n\\f])[\\x20\\t\\r\\n\\f]*"),z=new RegExp(H+"|>"),U=new RegExp(W),X=new RegExp("^"+R+"$"),V={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+W),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i"),bool:new RegExp("^(?:"+M+")$","i"),needsContext:new RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)","i")},G=/HTML$/i,J=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,oe=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ie=function(){f()},ae=xe((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{L.apply(N=O.call(w.childNodes),w.childNodes),N[w.childNodes.length].nodeType}catch(e){L={apply:N.length?function(e,t){D.apply(e,O.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(e,t,r,o){var i,s,c,l,d,h,y,g=t&&t.ownerDocument,w=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==w&&9!==w&&11!==w)return r;if(!o&&(f(t),t=t||p,v)){if(11!==w&&(d=Z.exec(e)))if(i=d[1]){if(9===w){if(!(c=t.getElementById(i)))return r;if(c.id===i)return r.push(c),r}else if(g&&(c=g.getElementById(i))&&b(t,c)&&c.id===i)return r.push(c),r}else{if(d[2])return L.apply(r,t.getElementsByTagName(e)),r;if((i=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return L.apply(r,t.getElementsByClassName(i)),r}if(n.qsa&&!A[e+" "]&&(!m||!m.test(e))&&(1!==w||"object"!==t.nodeName.toLowerCase())){if(y=e,g=t,1===w&&(z.test(e)||B.test(e))){for((g=ee.test(e)&&ye(t.parentNode)||t)===t&&n.scope||((l=t.getAttribute("id"))?l=l.replace(re,oe):t.setAttribute("id",l=x)),s=(h=a(e)).length;s--;)h[s]=(l?"#"+l:":scope")+" "+be(h[s]);y=h.join(",")}try{return L.apply(r,g.querySelectorAll(y)),r}catch(t){A(e,!0)}finally{l===x&&t.removeAttribute("id")}}}return u(e.replace($,"$1"),t,r,o)}function ue(){var e=[];return function t(n,o){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=o}}function ce(e){return e[x]=!0,e}function le(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),o=n.length;o--;)r.attrHandle[n[o]]=t}function fe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function pe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ve(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function me(e){return ce((function(t){return t=+t,ce((function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))}))}))}function ye(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!G.test(t||n&&n.nodeName||"HTML")},f=se.setDocument=function(e){var t,o,a=e?e.ownerDocument||e:w;return a!=p&&9===a.nodeType&&a.documentElement?(h=(p=a).documentElement,v=!i(p),w!=p&&(o=p.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",ie,!1):o.attachEvent&&o.attachEvent("onunload",ie)),n.scope=le((function(e){return h.appendChild(e).appendChild(p.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=le((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=le((function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=K.test(p.getElementsByClassName),n.getById=le((function(e){return h.appendChild(e).id=x,!p.getElementsByName||!p.getElementsByName(x).length})),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&v){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&v){var n,r,o,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(o=t.getElementsByName(e),r=0;i=o[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&v)return t.getElementsByClassName(e)},y=[],m=[],(n.qsa=K.test(p.querySelectorAll))&&(le((function(e){var t;h.appendChild(e).innerHTML="<a id='"+x+"'></a><select id='"+x+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|"+M+")"),e.querySelectorAll("[id~="+x+"-]").length||m.push("~="),(t=p.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||m.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+x+"+*").length||m.push(".#.+[+~]"),e.querySelectorAll("\\\f"),m.push("[\\r\\n\\f]")})),le((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")}))),(n.matchesSelector=K.test(g=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&le((function(e){n.disconnectedMatch=g.call(e,"*"),g.call(e,"[s!='']:x"),y.push("!=",W)})),m=m.length&&new RegExp(m.join("|")),y=y.length&&new RegExp(y.join("|")),t=K.test(h.compareDocumentPosition),b=t||K.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},E=t?function(e,t){if(e===t)return d=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e==p||e.ownerDocument==w&&b(w,e)?-1:t==p||t.ownerDocument==w&&b(w,t)?1:l?P(l,e)-P(l,t):0:4&r?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,a=[e],s=[t];if(!o||!i)return e==p?-1:t==p?1:o?-1:i?1:l?P(l,e)-P(l,t):0;if(o===i)return fe(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?fe(a[r],s[r]):a[r]==w?-1:s[r]==w?1:0},p):p},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(f(e),n.matchesSelector&&v&&!A[t+" "]&&(!y||!y.test(t))&&(!m||!m.test(t)))try{var r=g.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){A(t,!0)}return se(t,p,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=p&&f(e),b(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=p&&f(e);var o=r.attrHandle[t.toLowerCase()],i=o&&_.call(r.attrHandle,t.toLowerCase())?o(e,t,!v):void 0;return void 0!==i?i:n.attributes||!v?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},se.escape=function(e){return(e+"").replace(re,oe)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,r=[],o=0,i=0;if(d=!n.detectDuplicates,l=!n.sortStable&&e.slice(0),e.sort(E),d){for(;t=e[i++];)t===e[i]&&(o=r.push(i));for(;o--;)e.splice(r[o],1)}return l=null,e},o=se.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=o(t);return n},(r=se.selectors={cacheLength:50,createPseudo:ce,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return V.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&U.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=j[e+" "];return t||(t=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+e+"("+H+"|$)"))&&j(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var o=se.attr(r,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&o.indexOf(n)>-1:"$="===t?n&&o.slice(-n.length)===n:"~="===t?(" "+o.replace(F," ")+" ").indexOf(n)>-1:"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,u){var c,l,d,f,p,h,v=i!==a?"nextSibling":"previousSibling",m=t.parentNode,y=s&&t.nodeName.toLowerCase(),g=!u&&!s,b=!1;if(m){if(i){for(;v;){for(f=t;f=f[v];)if(s?f.nodeName.toLowerCase()===y:1===f.nodeType)return!1;h=v="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&g){for(b=(p=(c=(l=(d=(f=m)[x]||(f[x]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===k&&c[1])&&c[2],f=p&&m.childNodes[p];f=++p&&f&&f[v]||(b=p=0)||h.pop();)if(1===f.nodeType&&++b&&f===t){l[e]=[k,p,b];break}}else if(g&&(b=p=(c=(l=(d=(f=t)[x]||(f[x]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===k&&c[1]),!1===b)for(;(f=++p&&f&&f[v]||(b=p=0)||h.pop())&&((s?f.nodeName.toLowerCase()!==y:1!==f.nodeType)||!++b||(g&&((l=(d=f[x]||(f[x]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]=[k,b]),f!==t)););return(b-=o)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,t){var n,o=r.pseudos[e]||r.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return o[x]?o(t):o.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ce((function(e,n){for(var r,i=o(e,t),a=i.length;a--;)e[r=P(e,i[a])]=!(n[r]=i[a])})):function(e){return o(e,0,n)}):o}},pseudos:{not:ce((function(e){var t=[],n=[],r=s(e.replace($,"$1"));return r[x]?ce((function(e,t,n,o){for(var i,a=r(e,null,o,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))})):function(e,o,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}})),has:ce((function(e){return function(t){return se(e,t).length>0}})),contains:ce((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||o(t)).indexOf(e)>-1}})),lang:ce((function(e){return X.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=v?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ve(!1),disabled:ve(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return Y.test(e.nodeName)},input:function(e){return J.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:me((function(){return[0]})),last:me((function(e,t){return[t-1]})),eq:me((function(e,t,n){return[n<0?n+t:n]})),even:me((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:me((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:me((function(e,t,n){for(var r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:me((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=pe(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=he(t);function ge(){}function be(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function xe(e,t,n){var r=t.dir,o=t.next,i=o||r,a=n&&"parentNode"===i,s=C++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,o);return!1}:function(t,n,u){var c,l,d,f=[k,s];if(u){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,u))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(l=(d=t[x]||(t[x]={}))[t.uniqueID]||(d[t.uniqueID]={}),o&&o===t.nodeName.toLowerCase())t=t[r]||t;else{if((c=l[i])&&c[0]===k&&c[1]===s)return f[2]=c[2];if(l[i]=f,f[2]=e(t,n,u))return!0}return!1}}function we(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function ke(e,t,n,r,o){for(var i,a=[],s=0,u=e.length,c=null!=t;s<u;s++)(i=e[s])&&(n&&!n(i,r,o)||(a.push(i),c&&t.push(s)));return a}function Ce(e,t,n,r,o,i){return r&&!r[x]&&(r=Ce(r)),o&&!o[x]&&(o=Ce(o,i)),ce((function(i,a,s,u){var c,l,d,f=[],p=[],h=a.length,v=i||function(e,t,n){for(var r=0,o=t.length;r<o;r++)se(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),m=!e||!i&&t?v:ke(v,f,e,s,u),y=n?o||(i?e:h||r)?[]:a:m;if(n&&n(m,y,s,u),r)for(c=ke(y,p),r(c,[],s,u),l=c.length;l--;)(d=c[l])&&(y[p[l]]=!(m[p[l]]=d));if(i){if(o||e){if(o){for(c=[],l=y.length;l--;)(d=y[l])&&c.push(m[l]=d);o(null,y=[],c,u)}for(l=y.length;l--;)(d=y[l])&&(c=o?P(i,d):f[l])>-1&&(i[c]=!(a[c]=d))}}else y=ke(y===a?y.splice(h,y.length):y),o?o(null,a,y,u):L.apply(a,y)}))}function je(e){for(var t,n,o,i=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],u=a?1:0,l=xe((function(e){return e===t}),s,!0),d=xe((function(e){return P(t,e)>-1}),s,!0),f=[function(e,n,r){var o=!a&&(r||n!==c)||((t=n).nodeType?l(e,n,r):d(e,n,r));return t=null,o}];u<i;u++)if(n=r.relative[e[u].type])f=[xe(we(f),n)];else{if((n=r.filter[e[u].type].apply(null,e[u].matches))[x]){for(o=++u;o<i&&!r.relative[e[o].type];o++);return Ce(u>1&&we(f),u>1&&be(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace($,"$1"),n,u<o&&je(e.slice(u,o)),o<i&&je(e=e.slice(o)),o<i&&be(e))}f.push(n)}return we(f)}return ge.prototype=r.filters=r.pseudos,r.setFilters=new ge,a=se.tokenize=function(e,t){var n,o,i,a,s,u,c,l=T[e+" "];if(l)return t?0:l.slice(0);for(s=e,u=[],c=r.preFilter;s;){for(a in n&&!(o=Q.exec(s))||(o&&(s=s.slice(o[0].length)||s),u.push(i=[])),n=!1,(o=B.exec(s))&&(n=o.shift(),i.push({value:n,type:o[0].replace($," ")}),s=s.slice(n.length)),r.filter)!(o=V[a].exec(s))||c[a]&&!(o=c[a](o))||(n=o.shift(),i.push({value:n,type:a,matches:o}),s=s.slice(n.length));if(!n)break}return t?s.length:s?se.error(e):T(e,u).slice(0)},s=se.compile=function(e,t){var n,o=[],i=[],s=S[e+" "];if(!s){for(t||(t=a(e)),n=t.length;n--;)(s=je(t[n]))[x]?o.push(s):i.push(s);(s=S(e,function(e,t){var n=t.length>0,o=e.length>0,i=function(i,a,s,u,l){var d,h,m,y=0,g="0",b=i&&[],x=[],w=c,C=i||o&&r.find.TAG("*",l),j=k+=null==w?1:Math.random()||.1,T=C.length;for(l&&(c=a==p||a||l);g!==T&&null!=(d=C[g]);g++){if(o&&d){for(h=0,a||d.ownerDocument==p||(f(d),s=!v);m=e[h++];)if(m(d,a||p,s)){u.push(d);break}l&&(k=j)}n&&((d=!m&&d)&&y--,i&&b.push(d))}if(y+=g,n&&g!==y){for(h=0;m=t[h++];)m(b,x,a,s);if(i){if(y>0)for(;g--;)b[g]||x[g]||(x[g]=q.call(u));x=ke(x)}L.apply(u,x),l&&!i&&x.length>0&&y+t.length>1&&se.uniqueSort(u)}return l&&(k=j,c=w),b};return n?ce(i):i}(i,o))).selector=e}return s},u=se.select=function(e,t,n,o){var i,u,c,l,d,f="function"==typeof e&&e,p=!o&&a(e=f.selector||e);if(n=n||[],1===p.length){if((u=p[0]=p[0].slice(0)).length>2&&"ID"===(c=u[0]).type&&9===t.nodeType&&v&&r.relative[u[1].type]){if(!(t=(r.find.ID(c.matches[0].replace(te,ne),t)||[])[0]))return n;f&&(t=t.parentNode),e=e.slice(u.shift().value.length)}for(i=V.needsContext.test(e)?0:u.length;i--&&(c=u[i],!r.relative[l=c.type]);)if((d=r.find[l])&&(o=d(c.matches[0].replace(te,ne),ee.test(u[0].type)&&ye(t.parentNode)||t))){if(u.splice(i,1),!(e=o.length&&be(u)))return L.apply(n,o),n;break}}return(f||s(e,p))(o,t,!v,n,!t||ee.test(e)&&ye(t.parentNode)||t),n},n.sortStable=x.split("").sort(E).join("")===x,n.detectDuplicates=!!d,f(),n.sortDetached=le((function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))})),le((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||de("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&le((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||de("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),le((function(e){return null==e.getAttribute("disabled")}))||de(M,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),se}(n);T.find=A,(T.expr=A.selectors)[":"]=T.expr.pseudos,T.uniqueSort=T.unique=A.uniqueSort,T.text=A.getText,T.isXMLDoc=A.isXML,T.contains=A.contains,T.escapeSelector=A.escape;var E=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&T(e).is(n))break;r.push(e)}return r},_=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},N=T.expr.match.needsContext;function q(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var D=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function L(e,t,n){return g(t)?T.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?T.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?T.grep(e,(function(e){return d.call(t,e)>-1!==n})):T.filter(t,e,n)}T.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?T.find.matchesSelector(r,e)?[r]:[]:T.find.matches(e,T.grep(t,(function(e){return 1===e.nodeType})))},T.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!=typeof e)return this.pushStack(T(e).filter((function(){for(t=0;t<r;t++)if(T.contains(o[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)T.find(e,o[t],n);return r>1?T.uniqueSort(n):n},filter:function(e){return this.pushStack(L(this,e||[],!1))},not:function(e){return this.pushStack(L(this,e||[],!0))},is:function(e){return!!L(this,"string"==typeof e&&N.test(e)?T(e):e||[],!1).length}});var O,P=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(T.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||O,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:P.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof T?t[0]:t,T.merge(this,T.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:x,!0)),D.test(r[1])&&T.isPlainObject(t))for(r in t)g(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(o=x.getElementById(r[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):g(e)?void 0!==n.ready?n.ready(e):e(T):T.makeArray(e,this)}).prototype=T.fn,O=T(x);var M=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function R(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}T.fn.extend({has:function(e){var t=T(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(T.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,o=this.length,i=[],a="string"!=typeof e&&T(e);if(!N.test(e))for(;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&T.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?T.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?d.call(T(e),this[0]):d.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(T.uniqueSort(T.merge(this.get(),T(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),T.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return E(e,"parentNode")},parentsUntil:function(e,t,n){return E(e,"parentNode",n)},next:function(e){return R(e,"nextSibling")},prev:function(e){return R(e,"previousSibling")},nextAll:function(e){return E(e,"nextSibling")},prevAll:function(e){return E(e,"previousSibling")},nextUntil:function(e,t,n){return E(e,"nextSibling",n)},prevUntil:function(e,t,n){return E(e,"previousSibling",n)},siblings:function(e){return _((e.parentNode||{}).firstChild,e)},children:function(e){return _(e.firstChild)},contents:function(e){return null!=e.contentDocument&&s(e.contentDocument)?e.contentDocument:(q(e,"template")&&(e=e.content||e),T.merge([],e.childNodes))}},(function(e,t){T.fn[e]=function(n,r){var o=T.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=T.filter(r,o)),this.length>1&&(H[e]||T.uniqueSort(o),M.test(e)&&o.reverse()),this.pushStack(o)}}));var I=/[^\x20\t\r\n\f]+/g;function W(e){return e}function F(e){throw e}function $(e,t,n,r){var o;try{e&&g(o=e.promise)?o.call(e).done(t).fail(n):e&&g(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}T.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return T.each(e.match(I)||[],(function(e,n){t[n]=!0})),t}(e):T.extend({},e);var t,n,r,o,i=[],a=[],s=-1,u=function(){for(o=o||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<i.length;)!1===i[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=i.length,n=!1);e.memory||(n=!1),t=!1,o&&(i=n?[]:"")},c={add:function(){return i&&(n&&!t&&(s=i.length-1,a.push(n)),function t(n){T.each(n,(function(n,r){g(r)?e.unique&&c.has(r)||i.push(r):r&&r.length&&"string"!==C(r)&&t(r)}))}(arguments),n&&!t&&u()),this},remove:function(){return T.each(arguments,(function(e,t){for(var n;(n=T.inArray(t,i,n))>-1;)i.splice(n,1),n<=s&&s--})),this},has:function(e){return e?T.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=a=[],n||t||(i=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},T.extend({Deferred:function(e){var t=[["notify","progress",T.Callbacks("memory"),T.Callbacks("memory"),2],["resolve","done",T.Callbacks("once memory"),T.Callbacks("once memory"),0,"resolved"],["reject","fail",T.Callbacks("once memory"),T.Callbacks("once memory"),1,"rejected"]],r="pending",o={state:function(){return r},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return T.Deferred((function(n){T.each(t,(function(t,r){var o=g(e[r[4]])&&e[r[4]];i[r[1]]((function(){var e=o&&o.apply(this,arguments);e&&g(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,o?[e]:arguments)}))})),e=null})).promise()},then:function(e,r,o){var i=0;function s(e,t,r,o){return function(){var u=this,c=arguments,l=function(){var n,l;if(!(e<i)){if((n=r.apply(u,c))===t.promise())throw new TypeError("Thenable self-resolution");l=n&&("object"===a(n)||"function"==typeof n)&&n.then,g(l)?o?l.call(n,s(i,t,W,o),s(i,t,F,o)):(i++,l.call(n,s(i,t,W,o),s(i,t,F,o),s(i,t,W,t.notifyWith))):(r!==W&&(u=void 0,c=[n]),(o||t.resolveWith)(u,c))}},d=o?l:function(){try{l()}catch(n){T.Deferred.exceptionHook&&T.Deferred.exceptionHook(n,d.stackTrace),e+1>=i&&(r!==F&&(u=void 0,c=[n]),t.rejectWith(u,c))}};e?d():(T.Deferred.getStackHook&&(d.stackTrace=T.Deferred.getStackHook()),n.setTimeout(d))}}return T.Deferred((function(n){t[0][3].add(s(0,n,g(o)?o:W,n.notifyWith)),t[1][3].add(s(0,n,g(e)?e:W)),t[2][3].add(s(0,n,g(r)?r:F))})).promise()},promise:function(e){return null!=e?T.extend(e,o):o}},i={};return T.each(t,(function(e,n){var a=n[2],s=n[5];o[n[1]]=a.add,s&&a.add((function(){r=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(n[3].fire),i[n[0]]=function(){return i[n[0]+"With"](this===i?void 0:this,arguments),this},i[n[0]+"With"]=a.fireWith})),o.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),o=u.call(arguments),i=T.Deferred(),a=function(e){return function(n){r[e]=this,o[e]=arguments.length>1?u.call(arguments):n,--t||i.resolveWith(r,o)}};if(t<=1&&($(e,i.done(a(n)).resolve,i.reject,!t),"pending"===i.state()||g(o[n]&&o[n].then)))return i.then();for(;n--;)$(o[n],a(n),i.reject);return i.promise()}});var Q=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;T.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&Q.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},T.readyException=function(e){n.setTimeout((function(){throw e}))};var B=T.Deferred();function z(){x.removeEventListener("DOMContentLoaded",z),n.removeEventListener("load",z),T.ready()}T.fn.ready=function(e){return B.then(e).catch((function(e){T.readyException(e)})),this},T.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--T.readyWait:T.isReady)||(T.isReady=!0,!0!==e&&--T.readyWait>0||B.resolveWith(x,[T]))}}),T.ready.then=B.then,"complete"===x.readyState||"loading"!==x.readyState&&!x.documentElement.doScroll?n.setTimeout(T.ready):(x.addEventListener("DOMContentLoaded",z),n.addEventListener("load",z));var U=function e(t,n,r,o,i,a,s){var u=0,c=t.length,l=null==r;if("object"===C(r))for(u in i=!0,r)e(t,n,u,r[u],!0,a,s);else if(void 0!==o&&(i=!0,g(o)||(s=!0),l&&(s?(n.call(t,o),n=null):(l=n,n=function(e,t,n){return l.call(T(e),n)})),n))for(;u<c;u++)n(t[u],r,s?o:o.call(t[u],u,n(t[u],r)));return i?t:l?n.call(t):c?n(t[0],r):a},X=/^-ms-/,V=/-([a-z])/g;function G(e,t){return t.toUpperCase()}function J(e){return e.replace(X,"ms-").replace(V,G)}var Y=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function K(){this.expando=T.expando+K.uid++}K.uid=1,K.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Y(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if("string"==typeof t)o[J(t)]=n;else for(r in t)o[J(r)]=t[r];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][J(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(J):(t=J(t))in r?[t]:t.match(I)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||T.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!T.isEmptyObject(t)}};var Z=new K,ee=new K,te=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ne=/[A-Z]/g;function re(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(ne,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:te.test(e)?JSON.parse(e):e)}(n)}catch(e){}ee.set(e,t,n)}else n=void 0;return n}T.extend({hasData:function(e){return ee.hasData(e)||Z.hasData(e)},data:function(e,t,n){return ee.access(e,t,n)},removeData:function(e,t){ee.remove(e,t)},_data:function(e,t,n){return Z.access(e,t,n)},_removeData:function(e,t){Z.remove(e,t)}}),T.fn.extend({data:function(e,t){var n,r,o,i=this[0],s=i&&i.attributes;if(void 0===e){if(this.length&&(o=ee.get(i),1===i.nodeType&&!Z.get(i,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&0===(r=s[n].name).indexOf("data-")&&(r=J(r.slice(5)),re(i,r,o[r]));Z.set(i,"hasDataAttrs",!0)}return o}return"object"===a(e)?this.each((function(){ee.set(this,e)})):U(this,(function(t){var n;if(i&&void 0===t)return void 0!==(n=ee.get(i,e))||void 0!==(n=re(i,e))?n:void 0;this.each((function(){ee.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){ee.remove(this,e)}))}}),T.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Z.get(e,t),n&&(!r||Array.isArray(n)?r=Z.access(e,t,T.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){var n=T.queue(e,t=t||"fx"),r=n.length,o=n.shift(),i=T._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,(function(){T.dequeue(e,t)}),i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Z.get(e,n)||Z.access(e,n,{empty:T.Callbacks("once memory").add((function(){Z.remove(e,[t+"queue",n])}))})}}),T.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?T.queue(this[0],e):void 0===t?this:this.each((function(){var n=T.queue(this,e,t);T._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&T.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){T.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=T.Deferred(),i=this,a=this.length,s=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=Z.get(i[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),o.promise(t)}});var oe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ie=new RegExp("^(?:([+-])=|)("+oe+")([a-z%]*)$","i"),ae=["Top","Right","Bottom","Left"],se=x.documentElement,ue=function(e){return T.contains(e.ownerDocument,e)},ce={composed:!0};se.getRootNode&&(ue=function(e){return T.contains(e.ownerDocument,e)||e.getRootNode(ce)===e.ownerDocument});var le=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ue(e)&&"none"===T.css(e,"display")};function de(e,t,n,r){var o,i,a=20,s=r?function(){return r.cur()}:function(){return T.css(e,t,"")},u=s(),c=n&&n[3]||(T.cssNumber[t]?"":"px"),l=e.nodeType&&(T.cssNumber[t]||"px"!==c&&+u)&&ie.exec(T.css(e,t));if(l&&l[3]!==c){for(u/=2,c=c||l[3],l=+u||1;a--;)T.style(e,t,l+c),(1-i)*(1-(i=s()/u||.5))<=0&&(a=0),l/=i;T.style(e,t,(l*=2)+c),n=n||[]}return n&&(l=+l||+u||0,o=n[1]?l+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=l,r.end=o)),o}var fe={};function pe(e){var t,n=e.ownerDocument,r=e.nodeName,o=fe[r];return o||(t=n.body.appendChild(n.createElement(r)),o=T.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),fe[r]=o,o)}function he(e,t){for(var n,r,o=[],i=0,a=e.length;i<a;i++)(r=e[i]).style&&(n=r.style.display,t?("none"===n&&(o[i]=Z.get(r,"display")||null,o[i]||(r.style.display="")),""===r.style.display&&le(r)&&(o[i]=pe(r))):"none"!==n&&(o[i]="none",Z.set(r,"display",n)));for(i=0;i<a;i++)null!=o[i]&&(e[i].style.display=o[i]);return e}T.fn.extend({show:function(){return he(this,!0)},hide:function(){return he(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){le(this)?T(this).show():T(this).hide()}))}});var ve,me,ye=/^(?:checkbox|radio)$/i,ge=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,be=/^$|^module$|\/(?:java|ecma)script/i;ve=x.createDocumentFragment().appendChild(x.createElement("div")),(me=x.createElement("input")).setAttribute("type","radio"),me.setAttribute("checked","checked"),me.setAttribute("name","t"),ve.appendChild(me),y.checkClone=ve.cloneNode(!0).cloneNode(!0).lastChild.checked,ve.innerHTML="<textarea>x</textarea>",y.noCloneChecked=!!ve.cloneNode(!0).lastChild.defaultValue,ve.innerHTML="<option></option>",y.option=!!ve.lastChild;var xe={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function we(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&q(e,t)?T.merge([e],n):n}function ke(e,t){for(var n=0,r=e.length;n<r;n++)Z.set(e[n],"globalEval",!t||Z.get(t[n],"globalEval"))}xe.tbody=xe.tfoot=xe.colgroup=xe.caption=xe.thead,xe.th=xe.td,y.option||(xe.optgroup=xe.option=[1,"<select multiple='multiple'>","</select>"]);var Ce=/<|&#?\w+;/;function je(e,t,n,r,o){for(var i,a,s,u,c,l,d=t.createDocumentFragment(),f=[],p=0,h=e.length;p<h;p++)if((i=e[p])||0===i)if("object"===C(i))T.merge(f,i.nodeType?[i]:i);else if(Ce.test(i)){for(a=a||d.appendChild(t.createElement("div")),s=(ge.exec(i)||["",""])[1].toLowerCase(),u=xe[s]||xe._default,a.innerHTML=u[1]+T.htmlPrefilter(i)+u[2],l=u[0];l--;)a=a.lastChild;T.merge(f,a.childNodes),(a=d.firstChild).textContent=""}else f.push(t.createTextNode(i));for(d.textContent="",p=0;i=f[p++];)if(r&&T.inArray(i,r)>-1)o&&o.push(i);else if(c=ue(i),a=we(d.appendChild(i),"script"),c&&ke(a),n)for(l=0;i=a[l++];)be.test(i.type||"")&&n.push(i);return d}var Te=/^key/,Se=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ae=/^([^.]*)(?:\.(.+)|)/;function Ee(){return!0}function _e(){return!1}function Ne(e,t){return e===function(){try{return x.activeElement}catch(e){}}()==("focus"===t)}function qe(e,t,n,r,o,i){var s,u;if("object"===a(t)){for(u in"string"!=typeof n&&(r=r||n,n=void 0),t)qe(e,u,n,r,t[u],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=_e;else if(!o)return e;return 1===i&&(s=o,(o=function(e){return T().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=T.guid++)),e.each((function(){T.event.add(this,t,o,r,n)}))}function De(e,t,n){n?(Z.set(e,t,!1),T.event.add(e,t,{namespace:!1,handler:function(e){var r,o,i=Z.get(this,t);if(1&e.isTrigger&&this[t]){if(i.length)(T.event.special[t]||{}).delegateType&&e.stopPropagation();else if(i=u.call(arguments),Z.set(this,t,i),r=n(this,t),this[t](),i!==(o=Z.get(this,t))||r?Z.set(this,t,!1):o={},i!==o)return e.stopImmediatePropagation(),e.preventDefault(),o.value}else i.length&&(Z.set(this,t,{value:T.event.trigger(T.extend(i[0],T.Event.prototype),i.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Z.get(e,t)&&T.event.add(e,t,Ee)}T.event={global:{},add:function(e,t,n,r,o){var i,a,s,u,c,l,d,f,p,h,v,m=Z.get(e);if(Y(e))for(n.handler&&(n=(i=n).handler,o=i.selector),o&&T.find.matchesSelector(se,o),n.guid||(n.guid=T.guid++),(u=m.events)||(u=m.events=Object.create(null)),(a=m.handle)||(a=m.handle=function(t){return T.event.triggered!==t.type?T.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(I)||[""]).length;c--;)p=v=(s=Ae.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p&&(d=T.event.special[p]||{},p=(o?d.delegateType:d.bindType)||p,d=T.event.special[p]||{},l=T.extend({type:p,origType:v,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&T.expr.match.needsContext.test(o),namespace:h.join(".")},i),(f=u[p])||((f=u[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(p,a)),d.add&&(d.add.call(e,l),l.handler.guid||(l.handler.guid=n.guid)),o?f.splice(f.delegateCount++,0,l):f.push(l),T.event.global[p]=!0)},remove:function(e,t,n,r,o){var i,a,s,u,c,l,d,f,p,h,v,m=Z.hasData(e)&&Z.get(e);if(m&&(u=m.events)){for(c=(t=(t||"").match(I)||[""]).length;c--;)if(p=v=(s=Ae.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p){for(d=T.event.special[p]||{},f=u[p=(r?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=f.length;i--;)l=f[i],!o&&v!==l.origType||n&&n.guid!==l.guid||s&&!s.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(f.splice(i,1),l.selector&&f.delegateCount--,d.remove&&d.remove.call(e,l));a&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,h,m.handle)||T.removeEvent(e,p,m.handle),delete u[p])}else for(p in u)T.event.remove(e,p+t[c],n,r,!0);T.isEmptyObject(u)&&Z.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,a,s=new Array(arguments.length),u=T.event.fix(e),c=(Z.get(this,"events")||Object.create(null))[u.type]||[],l=T.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,u)){for(a=T.event.handlers.call(this,u,c),t=0;(o=a[t++])&&!u.isPropagationStopped();)for(u.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!u.isImmediatePropagationStopped();)u.rnamespace&&!1!==i.namespace&&!u.rnamespace.test(i.namespace)||(u.handleObj=i,u.data=i.data,void 0!==(r=((T.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,o,i,a,s=[],u=t.delegateCount,c=e.target;if(u&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(i=[],a={},n=0;n<u;n++)void 0===a[o=(r=t[n]).selector+" "]&&(a[o]=r.needsContext?T(o,this).index(c)>-1:T.find(o,this,null,[c]).length),a[o]&&i.push(r);i.length&&s.push({elem:c,handlers:i})}return c=this,u<t.length&&s.push({elem:c,handlers:t.slice(u)}),s},addProp:function(e,t){Object.defineProperty(T.Event.prototype,e,{enumerable:!0,configurable:!0,get:g(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[T.expando]?e:new T.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return ye.test(t.type)&&t.click&&q(t,"input")&&De(t,"click",Ee),!1},trigger:function(e){var t=this||e;return ye.test(t.type)&&t.click&&q(t,"input")&&De(t,"click"),!0},_default:function(e){var t=e.target;return ye.test(t.type)&&t.click&&q(t,"input")&&Z.get(t,"click")||q(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},T.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},(T.Event=function(e,t){if(!(this instanceof T.Event))return new T.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ee:_e,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&T.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[T.expando]=!0}).prototype={constructor:T.Event,isDefaultPrevented:_e,isPropagationStopped:_e,isImmediatePropagationStopped:_e,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ee,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ee,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ee,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},T.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&Te.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&Se.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},T.event.addProp),T.each({focus:"focusin",blur:"focusout"},(function(e,t){T.event.special[e]={setup:function(){return De(this,e,Ne),!1},trigger:function(){return De(this,e),!0},delegateType:t}})),T.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){T.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,o=e.relatedTarget,i=e.handleObj;return o&&(o===r||T.contains(r,o))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}})),T.fn.extend({on:function(e,t,n,r){return qe(this,e,t,n,r)},one:function(e,t,n,r){return qe(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,T(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"===a(e)){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=_e),this.each((function(){T.event.remove(this,e,n,t)}))}});var Le=/<script|<style|<link/i,Oe=/checked\s*(?:[^=]|=\s*.checked.)/i,Pe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Me(e,t){return q(e,"table")&&q(11!==t.nodeType?t:t.firstChild,"tr")&&T(e).children("tbody")[0]||e}function He(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Re(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ie(e,t){var n,r,o,i,a,s;if(1===t.nodeType){if(Z.hasData(e)&&(s=Z.get(e).events))for(o in Z.remove(t,"handle events"),s)for(n=0,r=s[o].length;n<r;n++)T.event.add(t,o,s[o][n]);ee.hasData(e)&&(i=ee.access(e),a=T.extend({},i),ee.set(t,a))}}function We(e,t){var n=t.nodeName.toLowerCase();"input"===n&&ye.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Fe(e,t,n,r){t=c(t);var o,i,a,s,u,l,d=0,f=e.length,p=f-1,h=t[0],v=g(h);if(v||f>1&&"string"==typeof h&&!y.checkClone&&Oe.test(h))return e.each((function(o){var i=e.eq(o);v&&(t[0]=h.call(this,o,i.html())),Fe(i,t,n,r)}));if(f&&(i=(o=je(t,e[0].ownerDocument,!1,e,r)).firstChild,1===o.childNodes.length&&(o=i),i||r)){for(s=(a=T.map(we(o,"script"),He)).length;d<f;d++)u=o,d!==p&&(u=T.clone(u,!0,!0),s&&T.merge(a,we(u,"script"))),n.call(e[d],u,d);if(s)for(l=a[a.length-1].ownerDocument,T.map(a,Re),d=0;d<s;d++)u=a[d],be.test(u.type||"")&&!Z.access(u,"globalEval")&&T.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?T._evalUrl&&!u.noModule&&T._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):k(u.textContent.replace(Pe,""),u,l))}return e}function $e(e,t,n){for(var r,o=t?T.filter(t,e):e,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||T.cleanData(we(r)),r.parentNode&&(n&&ue(r)&&ke(we(r,"script")),r.parentNode.removeChild(r));return e}T.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,o,i,a,s=e.cloneNode(!0),u=ue(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||T.isXMLDoc(e)))for(a=we(s),r=0,o=(i=we(e)).length;r<o;r++)We(i[r],a[r]);if(t)if(n)for(i=i||we(e),a=a||we(s),r=0,o=i.length;r<o;r++)Ie(i[r],a[r]);else Ie(e,s);return(a=we(s,"script")).length>0&&ke(a,!u&&we(e,"script")),s},cleanData:function(e){for(var t,n,r,o=T.event.special,i=0;void 0!==(n=e[i]);i++)if(Y(n)){if(t=n[Z.expando]){if(t.events)for(r in t.events)o[r]?T.event.remove(n,r):T.removeEvent(n,r,t.handle);n[Z.expando]=void 0}n[ee.expando]&&(n[ee.expando]=void 0)}}}),T.fn.extend({detach:function(e){return $e(this,e,!0)},remove:function(e){return $e(this,e)},text:function(e){return U(this,(function(e){return void 0===e?T.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Fe(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Me(this,e).appendChild(e)}))},prepend:function(){return Fe(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Me(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Fe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Fe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(T.cleanData(we(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return T.clone(this,e,t)}))},html:function(e){return U(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Le.test(e)&&!xe[(ge.exec(e)||["",""])[1].toLowerCase()]){e=T.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(T.cleanData(we(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Fe(this,arguments,(function(t){var n=this.parentNode;T.inArray(this,e)<0&&(T.cleanData(we(this)),n&&n.replaceChild(t,this))}),e)}}),T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){T.fn[e]=function(e){for(var n,r=[],o=T(e),i=o.length-1,a=0;a<=i;a++)n=a===i?this:this.clone(!0),T(o[a])[t](n),l.apply(r,n.get());return this.pushStack(r)}}));var Qe=new RegExp("^("+oe+")(?!px)[a-z%]+$","i"),Be=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},ze=function(e,t,n){var r,o,i={};for(o in t)i[o]=e.style[o],e.style[o]=t[o];for(o in r=n.call(e),t)e.style[o]=i[o];return r},Ue=new RegExp(ae.join("|"),"i");function Xe(e,t,n){var r,o,i,a,s=e.style;return(n=n||Be(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||ue(e)||(a=T.style(e,t)),!y.pixelBoxStyles()&&Qe.test(a)&&Ue.test(t)&&(r=s.width,o=s.minWidth,i=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=o,s.maxWidth=i)),void 0!==a?a+"":a}function Ve(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",se.appendChild(c).appendChild(l);var e=n.getComputedStyle(l);r="1%"!==e.top,u=12===t(e.marginLeft),l.style.right="60%",a=36===t(e.right),o=36===t(e.width),l.style.position="absolute",i=12===t(l.offsetWidth/3),se.removeChild(c),l=null}}function t(e){return Math.round(parseFloat(e))}var r,o,i,a,s,u,c=x.createElement("div"),l=x.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",y.clearCloneStyle="content-box"===l.style.backgroundClip,T.extend(y,{boxSizingReliable:function(){return e(),o},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),r},reliableMarginLeft:function(){return e(),u},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,r,o;return null==s&&(e=x.createElement("table"),t=x.createElement("tr"),r=x.createElement("div"),e.style.cssText="position:absolute;left:-11111px",t.style.height="1px",r.style.height="9px",se.appendChild(e).appendChild(t).appendChild(r),o=n.getComputedStyle(t),s=parseInt(o.height)>3,se.removeChild(e)),s}}))}();var Ge=["Webkit","Moz","ms"],Je=x.createElement("div").style,Ye={};function Ke(e){return T.cssProps[e]||Ye[e]||(e in Je?e:Ye[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Ge.length;n--;)if((e=Ge[n]+t)in Je)return e}(e)||e)}var Ze=/^(none|table(?!-c[ea]).+)/,et=/^--/,tt={position:"absolute",visibility:"hidden",display:"block"},nt={letterSpacing:"0",fontWeight:"400"};function rt(e,t,n){var r=ie.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function ot(e,t,n,r,o,i){var a="width"===t?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=T.css(e,n+ae[a],!0,o)),r?("content"===n&&(u-=T.css(e,"padding"+ae[a],!0,o)),"margin"!==n&&(u-=T.css(e,"border"+ae[a]+"Width",!0,o))):(u+=T.css(e,"padding"+ae[a],!0,o),"padding"!==n?u+=T.css(e,"border"+ae[a]+"Width",!0,o):s+=T.css(e,"border"+ae[a]+"Width",!0,o));return!r&&i>=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-u-s-.5))||0),u}function it(e,t,n){var r=Be(e),o=(!y.boxSizingReliable()||n)&&"border-box"===T.css(e,"boxSizing",!1,r),i=o,a=Xe(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Qe.test(a)){if(!n)return a;a="auto"}return(!y.boxSizingReliable()&&o||!y.reliableTrDimensions()&&q(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===T.css(e,"display",!1,r))&&e.getClientRects().length&&(o="border-box"===T.css(e,"boxSizing",!1,r),(i=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+ot(e,t,n||(o?"border":"content"),i,r,a)+"px"}function at(e,t,n,r,o){return new at.prototype.init(e,t,n,r,o)}T.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Xe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,s,u=J(t),c=et.test(t),l=e.style;if(c||(t=Ke(u)),s=T.cssHooks[t]||T.cssHooks[u],void 0===n)return s&&"get"in s&&void 0!==(o=s.get(e,!1,r))?o:l[t];"string"===(i=a(n))&&(o=ie.exec(n))&&o[1]&&(n=de(e,t,o),i="number"),null!=n&&n==n&&("number"!==i||c||(n+=o&&o[3]||(T.cssNumber[u]?"":"px")),y.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,r))||(c?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var o,i,a,s=J(t);return et.test(t)||(t=Ke(s)),(a=T.cssHooks[t]||T.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=Xe(e,t,r)),"normal"===o&&t in nt&&(o=nt[t]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),T.each(["height","width"],(function(e,t){T.cssHooks[t]={get:function(e,n,r){if(n)return!Ze.test(T.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?it(e,t,r):ze(e,tt,(function(){return it(e,t,r)}))},set:function(e,n,r){var o,i=Be(e),a=!y.scrollboxSize()&&"absolute"===i.position,s=(a||r)&&"border-box"===T.css(e,"boxSizing",!1,i),u=r?ot(e,t,r,s,i):0;return s&&a&&(u-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-ot(e,t,"border",!1,i)-.5)),u&&(o=ie.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=T.css(e,t)),rt(0,n,u)}}})),T.cssHooks.marginLeft=Ve(y.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Xe(e,"marginLeft"))||e.getBoundingClientRect().left-ze(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),T.each({margin:"",padding:"",border:"Width"},(function(e,t){T.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];r<4;r++)o[e+ae[r]+t]=i[r]||i[r-2]||i[0];return o}},"margin"!==e&&(T.cssHooks[e+t].set=rt)})),T.fn.extend({css:function(e,t){return U(this,(function(e,t,n){var r,o,i={},a=0;if(Array.isArray(t)){for(r=Be(e),o=t.length;a<o;a++)i[t[a]]=T.css(e,t[a],!1,r);return i}return void 0!==n?T.style(e,t,n):T.css(e,t)}),e,t,arguments.length>1)}}),T.Tween=at,at.prototype={constructor:at,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||T.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(T.cssNumber[n]?"":"px")},cur:function(){var e=at.propHooks[this.prop];return e&&e.get?e.get(this):at.propHooks._default.get(this)},run:function(e){var t,n=at.propHooks[this.prop];return this.options.duration?this.pos=t=T.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):at.propHooks._default.set(this),this}},at.prototype.init.prototype=at.prototype,at.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=T.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){T.fx.step[e.prop]?T.fx.step[e.prop](e):1!==e.elem.nodeType||!T.cssHooks[e.prop]&&null==e.elem.style[Ke(e.prop)]?e.elem[e.prop]=e.now:T.style(e.elem,e.prop,e.now+e.unit)}}},at.propHooks.scrollTop=at.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},T.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},(T.fx=at.prototype.init).step={};var st,ut,ct=/^(?:toggle|show|hide)$/,lt=/queueHooks$/;function dt(){ut&&(!1===x.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(dt):n.setTimeout(dt,T.fx.interval),T.fx.tick())}function ft(){return n.setTimeout((function(){st=void 0})),st=Date.now()}function pt(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)o["margin"+(n=ae[r])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function ht(e,t,n){for(var r,o=(vt.tweeners[t]||[]).concat(vt.tweeners["*"]),i=0,a=o.length;i<a;i++)if(r=o[i].call(n,t,e))return r}function vt(e,t,n){var r,o,i=0,a=vt.prefilters.length,s=T.Deferred().always((function(){delete u.elem})),u=function(){if(o)return!1;for(var t=st||ft(),n=Math.max(0,c.startTime+c.duration-t),r=1-(n/c.duration||0),i=0,a=c.tweens.length;i<a;i++)c.tweens[i].run(r);return s.notifyWith(e,[c,r,n]),r<1&&a?n:(a||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:T.extend({},t),opts:T.extend(!0,{specialEasing:{},easing:T.easing._default},n),originalProperties:t,originalOptions:n,startTime:st||ft(),duration:n.duration,tweens:[],createTween:function(t,n){var r=T.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(r),r},stop:function(t){var n=0,r=t?c.tweens.length:0;if(o)return this;for(o=!0;n<r;n++)c.tweens[n].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),l=c.props;for(function(e,t){var n,r,o,i,a;for(n in e)if(o=t[r=J(n)],i=e[n],Array.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),(a=T.cssHooks[r])&&"expand"in a)for(n in i=a.expand(i),delete e[r],i)n in e||(e[n]=i[n],t[n]=o);else t[r]=o}(l,c.opts.specialEasing);i<a;i++)if(r=vt.prefilters[i].call(c,e,l,c.opts))return g(r.stop)&&(T._queueHooks(c.elem,c.opts.queue).stop=r.stop.bind(r)),r;return T.map(l,ht,c),g(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),T.fx.timer(T.extend(u,{elem:e,anim:c,queue:c.opts.queue})),c}T.Animation=T.extend(vt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return de(n.elem,e,ie.exec(t),n),n}]},tweener:function(e,t){g(e)?(t=e,e=["*"]):e=e.match(I);for(var n,r=0,o=e.length;r<o;r++)n=e[r],vt.tweeners[n]=vt.tweeners[n]||[],vt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,o,i,a,s,u,c,l,d="width"in t||"height"in t,f=this,p={},h=e.style,v=e.nodeType&&le(e),m=Z.get(e,"fxshow");for(r in n.queue||(null==(a=T._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,f.always((function(){f.always((function(){a.unqueued--,T.queue(e,"fx").length||a.empty.fire()}))}))),t)if(o=t[r],ct.test(o)){if(delete t[r],i=i||"toggle"===o,o===(v?"hide":"show")){if("show"!==o||!m||void 0===m[r])continue;v=!0}p[r]=m&&m[r]||T.style(e,r)}if((u=!T.isEmptyObject(t))||!T.isEmptyObject(p))for(r in d&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(c=m&&m.display)&&(c=Z.get(e,"display")),"none"===(l=T.css(e,"display"))&&(c?l=c:(he([e],!0),c=e.style.display||c,l=T.css(e,"display"),he([e]))),("inline"===l||"inline-block"===l&&null!=c)&&"none"===T.css(e,"float")&&(u||(f.done((function(){h.display=c})),null==c&&(l=h.display,c="none"===l?"":l)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",f.always((function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}))),u=!1,p)u||(m?"hidden"in m&&(v=m.hidden):m=Z.access(e,"fxshow",{display:c}),i&&(m.hidden=!v),v&&he([e],!0),f.done((function(){for(r in v||he([e]),Z.remove(e,"fxshow"),p)T.style(e,r,p[r])}))),u=ht(v?m[r]:0,r,f),r in m||(m[r]=u.start,v&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?vt.prefilters.unshift(e):vt.prefilters.push(e)}}),T.speed=function(e,t,n){var r=e&&"object"===a(e)?T.extend({},e):{complete:n||!n&&t||g(e)&&e,duration:e,easing:n&&t||t&&!g(t)&&t};return T.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in T.fx.speeds?r.duration=T.fx.speeds[r.duration]:r.duration=T.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){g(r.old)&&r.old.call(this),r.queue&&T.dequeue(this,r.queue)},r},T.fn.extend({fadeTo:function(e,t,n,r){return this.filter(le).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=T.isEmptyObject(e),i=T.speed(t,n,r),a=function(){var t=vt(this,T.extend({},e),i);(o||Z.get(this,"finish"))&&t.stop(!0)};return a.finish=a,o||!1===i.queue?this.each(a):this.queue(i.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,o=null!=e&&e+"queueHooks",i=T.timers,a=Z.get(this);if(o)a[o]&&a[o].stop&&r(a[o]);else for(o in a)a[o]&&a[o].stop&&lt.test(o)&&r(a[o]);for(o=i.length;o--;)i[o].elem!==this||null!=e&&i[o].queue!==e||(i[o].anim.stop(n),t=!1,i.splice(o,1));!t&&n||T.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=Z.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],i=T.timers,a=r?r.length:0;for(n.finish=!0,T.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),T.each(["toggle","show","hide"],(function(e,t){var n=T.fn[t];T.fn[t]=function(e,r,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(pt(t,!0),e,r,o)}})),T.each({slideDown:pt("show"),slideUp:pt("hide"),slideToggle:pt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){T.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),T.timers=[],T.fx.tick=function(){var e,t=0,n=T.timers;for(st=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||T.fx.stop(),st=void 0},T.fx.timer=function(e){T.timers.push(e),T.fx.start()},T.fx.interval=13,T.fx.start=function(){ut||(ut=!0,dt())},T.fx.stop=function(){ut=null},T.fx.speeds={slow:600,fast:200,_default:400},T.fn.delay=function(e,t){return e=T.fx&&T.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,r){var o=n.setTimeout(t,e);r.stop=function(){n.clearTimeout(o)}}))},function(){var e=x.createElement("input"),t=x.createElement("select").appendChild(x.createElement("option"));e.type="checkbox",y.checkOn=""!==e.value,y.optSelected=t.selected,(e=x.createElement("input")).value="t",e.type="radio",y.radioValue="t"===e.value}();var mt,yt=T.expr.attrHandle;T.fn.extend({attr:function(e,t){return U(this,T.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){T.removeAttr(this,e)}))}}),T.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?T.prop(e,t,n):(1===i&&T.isXMLDoc(e)||(o=T.attrHooks[t.toLowerCase()]||(T.expr.match.bool.test(t)?mt:void 0)),void 0!==n?null===n?void T.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:null==(r=T.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!y.radioValue&&"radio"===t&&q(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,o=t&&t.match(I);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),mt={set:function(e,t,n){return!1===t?T.removeAttr(e,n):e.setAttribute(n,n),n}},T.each(T.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=yt[t]||T.find.attr;yt[t]=function(e,t,r){var o,i,a=t.toLowerCase();return r||(i=yt[a],yt[a]=o,o=null!=n(e,t,r)?a:null,yt[a]=i),o}}));var gt=/^(?:input|select|textarea|button)$/i,bt=/^(?:a|area)$/i;function xt(e){return(e.match(I)||[]).join(" ")}function wt(e){return e.getAttribute&&e.getAttribute("class")||""}function kt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(I)||[]}T.fn.extend({prop:function(e,t){return U(this,T.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[T.propFix[e]||e]}))}}),T.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&T.isXMLDoc(e)||(t=T.propFix[t]||t,o=T.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=T.find.attr(e,"tabindex");return t?parseInt(t,10):gt.test(e.nodeName)||bt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),y.optSelected||(T.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),T.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){T.propFix[this.toLowerCase()]=this})),T.fn.extend({addClass:function(e){var t,n,r,o,i,a,s,u=0;if(g(e))return this.each((function(t){T(this).addClass(e.call(this,t,wt(this)))}));if((t=kt(e)).length)for(;n=this[u++];)if(o=wt(n),r=1===n.nodeType&&" "+xt(o)+" "){for(a=0;i=t[a++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");o!==(s=xt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,o,i,a,s,u=0;if(g(e))return this.each((function(t){T(this).removeClass(e.call(this,t,wt(this)))}));if(!arguments.length)return this.attr("class","");if((t=kt(e)).length)for(;n=this[u++];)if(o=wt(n),r=1===n.nodeType&&" "+xt(o)+" "){for(a=0;i=t[a++];)for(;r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");o!==(s=xt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=a(e),r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):g(e)?this.each((function(n){T(this).toggleClass(e.call(this,n,wt(this),t),t)})):this.each((function(){var t,o,i,a;if(r)for(o=0,i=T(this),a=kt(e);t=a[o++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||((t=wt(this))&&Z.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Z.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+xt(wt(n))+" ").indexOf(t)>-1)return!0;return!1}});var Ct=/\r/g;T.fn.extend({val:function(e){var t,n,r,o=this[0];return arguments.length?(r=g(e),this.each((function(n){var o;1===this.nodeType&&(null==(o=r?e.call(this,n,T(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=T.map(o,(function(e){return null==e?"":e+""}))),(t=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))}))):o?(t=T.valHooks[o.type]||T.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(Ct,""):null==n?"":n:void 0}}),T.extend({valHooks:{option:{get:function(e){var t=T.find.attr(e,"value");return null!=t?t:xt(T.text(e))}},select:{get:function(e){var t,n,r,o=e.options,i=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?i+1:o.length;for(r=i<0?u:a?i:0;r<u;r++)if(((n=o[r]).selected||r===i)&&!n.disabled&&(!n.parentNode.disabled||!q(n.parentNode,"optgroup"))){if(t=T(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,o=e.options,i=T.makeArray(t),a=o.length;a--;)((r=o[a]).selected=T.inArray(T.valHooks.option.get(r),i)>-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),T.each(["radio","checkbox"],(function(){T.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=T.inArray(T(e).val(),t)>-1}},y.checkOn||(T.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),y.focusin="onfocusin"in n;var jt=/^(?:focusinfocus|focusoutblur)$/,Tt=function(e){e.stopPropagation()};T.extend(T.event,{trigger:function(e,t,r,o){var i,s,u,c,l,d,f,p,v=[r||x],m=h.call(e,"type")?e.type:e,y=h.call(e,"namespace")?e.namespace.split("."):[];if(s=p=u=r=r||x,3!==r.nodeType&&8!==r.nodeType&&!jt.test(m+T.event.triggered)&&(m.indexOf(".")>-1&&(y=m.split("."),m=y.shift(),y.sort()),l=m.indexOf(":")<0&&"on"+m,(e=e[T.expando]?e:new T.Event(m,"object"===a(e)&&e)).isTrigger=o?2:3,e.namespace=y.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:T.makeArray(t,[e]),f=T.event.special[m]||{},o||!f.trigger||!1!==f.trigger.apply(r,t))){if(!o&&!f.noBubble&&!b(r)){for(c=f.delegateType||m,jt.test(c+m)||(s=s.parentNode);s;s=s.parentNode)v.push(s),u=s;u===(r.ownerDocument||x)&&v.push(u.defaultView||u.parentWindow||n)}for(i=0;(s=v[i++])&&!e.isPropagationStopped();)p=s,e.type=i>1?c:f.bindType||m,(d=(Z.get(s,"events")||Object.create(null))[e.type]&&Z.get(s,"handle"))&&d.apply(s,t),(d=l&&s[l])&&d.apply&&Y(s)&&(e.result=d.apply(s,t),!1===e.result&&e.preventDefault());return e.type=m,o||e.isDefaultPrevented()||f._default&&!1!==f._default.apply(v.pop(),t)||!Y(r)||l&&g(r[m])&&!b(r)&&((u=r[l])&&(r[l]=null),T.event.triggered=m,e.isPropagationStopped()&&p.addEventListener(m,Tt),r[m](),e.isPropagationStopped()&&p.removeEventListener(m,Tt),T.event.triggered=void 0,u&&(r[l]=u)),e.result}},simulate:function(e,t,n){var r=T.extend(new T.Event,n,{type:e,isSimulated:!0});T.event.trigger(r,null,t)}}),T.fn.extend({trigger:function(e,t){return this.each((function(){T.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return T.event.trigger(e,t,n,!0)}}),y.focusin||T.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){T.event.simulate(t,e.target,T.event.fix(e))};T.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,o=Z.access(r,t);o||r.addEventListener(e,n,!0),Z.access(r,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,o=Z.access(r,t)-1;o?Z.access(r,t,o):(r.removeEventListener(e,n,!0),Z.remove(r,t))}}}));var St=n.location,At={guid:Date.now()},Et=/\?/;T.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||T.error("Invalid XML: "+e),t};var _t=/\[\]$/,Nt=/\r?\n/g,qt=/^(?:submit|button|image|reset|file)$/i,Dt=/^(?:input|select|textarea|keygen)/i;function Lt(e,t,n,r){var o;if(Array.isArray(t))T.each(t,(function(t,o){n||_t.test(e)?r(e,o):Lt(e+"["+("object"===a(o)&&null!=o?t:"")+"]",o,n,r)}));else if(n||"object"!==C(t))r(e,t);else for(o in t)Lt(e+"["+o+"]",t[o],n,r)}T.param=function(e,t){var n,r=[],o=function(e,t){var n=g(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!T.isPlainObject(e))T.each(e,(function(){o(this.name,this.value)}));else for(n in e)Lt(n,e[n],t,o);return r.join("&")},T.fn.extend({serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=T.prop(this,"elements");return e?T.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!T(this).is(":disabled")&&Dt.test(this.nodeName)&&!qt.test(e)&&(this.checked||!ye.test(e))})).map((function(e,t){var n=T(this).val();return null==n?null:Array.isArray(n)?T.map(n,(function(e){return{name:t.name,value:e.replace(Nt,"\r\n")}})):{name:t.name,value:n.replace(Nt,"\r\n")}})).get()}});var Ot=/%20/g,Pt=/#.*$/,Mt=/([?&])_=[^&]*/,Ht=/^(.*?):[ \t]*([^\r\n]*)$/gm,Rt=/^(?:GET|HEAD)$/,It=/^\/\//,Wt={},Ft={},$t="*/".concat("*"),Qt=x.createElement("a");function Bt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(I)||[];if(g(n))for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function zt(e,t,n,r){var o={},i=e===Ft;function a(s){var u;return o[s]=!0,T.each(e[s]||[],(function(e,s){var c=s(t,n,r);return"string"!=typeof c||i||o[c]?i?!(u=c):void 0:(t.dataTypes.unshift(c),a(c),!1)})),u}return a(t.dataTypes[0])||!o["*"]&&a("*")}function Ut(e,t){var n,r,o=T.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&T.extend(!0,e,r),e}Qt.href=St.href,T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:St.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(St.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":$t,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":T.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ut(Ut(e,T.ajaxSettings),t):Ut(T.ajaxSettings,e)},ajaxPrefilter:Bt(Wt),ajaxTransport:Bt(Ft),ajax:function(e,t){"object"===a(e)&&(t=e,e=void 0);var r,o,i,s,u,c,l,d,f,p,h=T.ajaxSetup({},t=t||{}),v=h.context||h,m=h.context&&(v.nodeType||v.jquery)?T(v):T.event,y=T.Deferred(),g=T.Callbacks("once memory"),b=h.statusCode||{},w={},k={},C="canceled",j={readyState:0,getResponseHeader:function(e){var t;if(l){if(!s)for(s={};t=Ht.exec(i);)s[t[1].toLowerCase()+" "]=(s[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=s[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return l?i:null},setRequestHeader:function(e,t){return null==l&&(e=k[e.toLowerCase()]=k[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==l&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(l)j.always(e[j.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||C;return r&&r.abort(t),S(0,t),this}};if(y.promise(j),h.url=((e||h.url||St.href)+"").replace(It,St.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(I)||[""],null==h.crossDomain){c=x.createElement("a");try{c.href=h.url,c.href=c.href,h.crossDomain=Qt.protocol+"//"+Qt.host!=c.protocol+"//"+c.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=T.param(h.data,h.traditional)),zt(Wt,h,t,j),l)return j;for(f in(d=T.event&&h.global)&&0==T.active++&&T.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Rt.test(h.type),o=h.url.replace(Pt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Ot,"+")):(p=h.url.slice(o.length),h.data&&(h.processData||"string"==typeof h.data)&&(o+=(Et.test(o)?"&":"?")+h.data,delete h.data),!1===h.cache&&(o=o.replace(Mt,"$1"),p=(Et.test(o)?"&":"?")+"_="+At.guid+++p),h.url=o+p),h.ifModified&&(T.lastModified[o]&&j.setRequestHeader("If-Modified-Since",T.lastModified[o]),T.etag[o]&&j.setRequestHeader("If-None-Match",T.etag[o])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&j.setRequestHeader("Content-Type",h.contentType),j.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+$t+"; q=0.01":""):h.accepts["*"]),h.headers)j.setRequestHeader(f,h.headers[f]);if(h.beforeSend&&(!1===h.beforeSend.call(v,j,h)||l))return j.abort();if(C="abort",g.add(h.complete),j.done(h.success),j.fail(h.error),r=zt(Ft,h,t,j)){if(j.readyState=1,d&&m.trigger("ajaxSend",[j,h]),l)return j;h.async&&h.timeout>0&&(u=n.setTimeout((function(){j.abort("timeout")}),h.timeout));try{l=!1,r.send(w,S)}catch(e){if(l)throw e;S(-1,e)}}else S(-1,"No Transport");function S(e,t,a,s){var c,f,p,x,w,k=t;l||(l=!0,u&&n.clearTimeout(u),r=void 0,i=s||"",j.readyState=e>0?4:0,c=e>=200&&e<300||304===e,a&&(x=function(e,t,n){for(var r,o,i,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){u.unshift(o);break}if(u[0]in n)i=u[0];else{for(o in n){if(!u[0]||e.converters[o+" "+u[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==u[0]&&u.unshift(i),n[i]}(h,j,a)),!c&&T.inArray("script",h.dataTypes)>-1&&(h.converters["text script"]=function(){}),x=function(e,t,n,r){var o,i,a,s,u,c={},l=e.dataTypes.slice();if(l[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(i=l.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=i,i=l.shift())if("*"===i)i=u;else if("*"!==u&&u!==i){if(!(a=c[u+" "+i]||c["* "+i]))for(o in c)if((s=o.split(" "))[1]===i&&(a=c[u+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[o]:!0!==c[o]&&(i=s[0],l.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+i}}}return{state:"success",data:t}}(h,x,j,c),c?(h.ifModified&&((w=j.getResponseHeader("Last-Modified"))&&(T.lastModified[o]=w),(w=j.getResponseHeader("etag"))&&(T.etag[o]=w)),204===e||"HEAD"===h.type?k="nocontent":304===e?k="notmodified":(k=x.state,f=x.data,c=!(p=x.error))):(p=k,!e&&k||(k="error",e<0&&(e=0))),j.status=e,j.statusText=(t||k)+"",c?y.resolveWith(v,[f,k,j]):y.rejectWith(v,[j,k,p]),j.statusCode(b),b=void 0,d&&m.trigger(c?"ajaxSuccess":"ajaxError",[j,h,c?f:p]),g.fireWith(v,[j,k]),d&&(m.trigger("ajaxComplete",[j,h]),--T.active||T.event.trigger("ajaxStop")))}return j},getJSON:function(e,t,n){return T.get(e,t,n,"json")},getScript:function(e,t){return T.get(e,void 0,t,"script")}}),T.each(["get","post"],(function(e,t){T[t]=function(e,n,r,o){return g(n)&&(o=o||r,r=n,n=void 0),T.ajax(T.extend({url:e,type:t,dataType:o,data:n,success:r},T.isPlainObject(e)&&e))}})),T.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),T._evalUrl=function(e,t,n){return T.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){T.globalEval(e,t,n)}})},T.fn.extend({wrapAll:function(e){var t;return this[0]&&(g(e)&&(e=e.call(this[0])),t=T(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return g(e)?this.each((function(t){T(this).wrapInner(e.call(this,t))})):this.each((function(){var t=T(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=g(e);return this.each((function(n){T(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){T(this).replaceWith(this.childNodes)})),this}}),T.expr.pseudos.hidden=function(e){return!T.expr.pseudos.visible(e)},T.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},T.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Xt={0:200,1223:204},Vt=T.ajaxSettings.xhr();y.cors=!!Vt&&"withCredentials"in Vt,y.ajax=Vt=!!Vt,T.ajaxTransport((function(e){var t,r;if(y.cors||Vt&&!e.crossDomain)return{send:function(o,i){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)s.setRequestHeader(a,o[a]);t=function(e){return function(){t&&(t=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(Xt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),r=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout((function(){t&&r()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),T.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),T.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return T.globalEval(e),e}}}),T.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),T.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,o){t=T("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),x.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Gt,Jt=[],Yt=/(=)\?(?=&|$)|\?\?/;T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Jt.pop()||T.expando+"_"+At.guid++;return this[e]=!0,e}}),T.ajaxPrefilter("json jsonp",(function(e,t,r){var o,i,a,s=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=g(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Yt,"$1"+o):!1!==e.jsonp&&(e.url+=(Et.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||T.error(o+" was not called"),a[0]},e.dataTypes[0]="json",i=n[o],n[o]=function(){a=arguments},r.always((function(){void 0===i?T(n).removeProp(o):n[o]=i,e[o]&&(e.jsonpCallback=t.jsonpCallback,Jt.push(o)),a&&g(i)&&i(a[0]),a=i=void 0})),"script"})),y.createHTMLDocument=((Gt=x.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Gt.childNodes.length),T.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=x.implementation.createHTMLDocument("")).createElement("base")).href=x.location.href,t.head.appendChild(r)):t=x),i=!n&&[],(o=D.exec(e))?[t.createElement(o[1])]:(o=je([e],t,i),i&&i.length&&T(i).remove(),T.merge([],o.childNodes)));var r,o,i},T.fn.load=function(e,t,n){var r,o,i,s=this,u=e.indexOf(" ");return u>-1&&(r=xt(e.slice(u)),e=e.slice(0,u)),g(t)?(n=t,t=void 0):t&&"object"===a(t)&&(o="POST"),s.length>0&&T.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done((function(e){i=arguments,s.html(r?T("<div>").append(T.parseHTML(e)).find(r):e)})).always(n&&function(e,t){s.each((function(){n.apply(this,i||[e.responseText,t,e])}))}),this},T.expr.pseudos.animated=function(e){return T.grep(T.timers,(function(t){return e===t.elem})).length},T.offset={setOffset:function(e,t,n){var r,o,i,a,s,u,c=T.css(e,"position"),l=T(e),d={};"static"===c&&(e.style.position="relative"),s=l.offset(),i=T.css(e,"top"),u=T.css(e,"left"),("absolute"===c||"fixed"===c)&&(i+u).indexOf("auto")>-1?(a=(r=l.position()).top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(u)||0),g(t)&&(t=t.call(e,n,T.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+o),"using"in t?t.using.call(e,d):("number"==typeof d.top&&(d.top+="px"),"number"==typeof d.left&&(d.left+="px"),l.css(d))}},T.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){T.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],o={top:0,left:0};if("fixed"===T.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===T.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((o=T(e).offset()).top+=T.css(e,"borderTopWidth",!0),o.left+=T.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-T.css(r,"marginTop",!0),left:t.left-o.left-T.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===T.css(e,"position");)e=e.offsetParent;return e||se}))}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;T.fn[e]=function(r){return U(this,(function(e,r,o){var i;if(b(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===o)return i?i[t]:e[r];i?i.scrollTo(n?i.pageXOffset:o,n?o:i.pageYOffset):e[r]=o}),e,r,arguments.length)}})),T.each(["top","left"],(function(e,t){T.cssHooks[t]=Ve(y.pixelPosition,(function(e,n){if(n)return n=Xe(e,t),Qe.test(n)?T(e).position()[t]+"px":n}))})),T.each({Height:"height",Width:"width"},(function(e,t){T.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){T.fn[r]=function(o,i){var a=arguments.length&&(n||"boolean"!=typeof o),s=n||(!0===o||!0===i?"margin":"border");return U(this,(function(t,n,o){var i;return b(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===o?T.css(t,n,s):T.style(t,n,o,s)}),t,a?o:void 0,a)}}))})),T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){T.fn[t]=function(e){return this.on(t,e)}})),T.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),T.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){T.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var Kt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;T.proxy=function(e,t){var n,r,o;if("string"==typeof t&&(n=e[t],t=e,e=n),g(e))return r=u.call(arguments,2),(o=function(){return e.apply(t||this,r.concat(u.call(arguments)))}).guid=e.guid=e.guid||T.guid++,o},T.holdReady=function(e){e?T.readyWait++:T.ready(!0)},T.isArray=Array.isArray,T.parseJSON=JSON.parse,T.nodeName=q,T.isFunction=g,T.isWindow=b,T.camelCase=J,T.type=C,T.now=Date.now,T.isNumeric=function(e){var t=T.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},T.trim=function(e){return null==e?"":(e+"").replace(Kt,"")},void 0===(r=function(){return T}.apply(t,[]))||(e.exports=r);var Zt=n.jQuery,en=n.$;return T.noConflict=function(e){return n.$===T&&(n.$=en),e&&n.jQuery===T&&(n.jQuery=Zt),T},void 0===o&&(n.jQuery=n.$=T),T},"object"===a(e)&&"object"===a(e.exports)?e.exports=o.document?i(o,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return i(e)}:i(o)},204:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ucs2decode=f,t.default=t.toUnicode=t.toASCII=t.encode=t.decode=t.ucs2encode=void 0;var n=2147483647,r=36,o=/^xn--/,i=/[^\0-\x7E]/,a=/[\x2E\u3002\uFF0E\uFF61]/g,s={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},u=Math.floor,c=String.fromCharCode;function l(e){throw new RangeError(s[e])}function d(e,t){var n=e.split("@"),r="";n.length>1&&(r=n[0]+"@",e=n[1]);var o=function(e,t){for(var n=[],r=e.length;r--;)n[r]=t(e[r]);return n}((e=e.replace(a,".")).split("."),t).join(".");return r+o}function f(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t}var p=function(e){return String.fromCodePoint.apply(String,function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(t=e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}());var t};t.ucs2encode=p;var h=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},v=function(e,t,n){var o=0;for(e=n?u(e/700):e>>1,e+=u(e/t);e>455;o+=r)e=u(e/35);return u(o+36*e/(e+38))},m=function(e){var t,o=[],i=e.length,a=0,s=128,c=72,d=e.lastIndexOf("-");d<0&&(d=0);for(var f=0;f<d;++f)e.charCodeAt(f)>=128&&l("not-basic"),o.push(e.charCodeAt(f));for(var p=d>0?d+1:0;p<i;){for(var h=a,m=1,y=r;;y+=r){p>=i&&l("invalid-input");var g=(t=e.charCodeAt(p++))-48<10?t-22:t-65<26?t-65:t-97<26?t-97:r;(g>=r||g>u((n-a)/m))&&l("overflow"),a+=g*m;var b=y<=c?1:y>=c+26?26:y-c;if(g<b)break;var x=r-b;m>u(n/x)&&l("overflow"),m*=x}var w=o.length+1;c=v(a-h,w,0==h),u(a/w)>n-s&&l("overflow"),s+=u(a/w),a%=w,o.splice(a++,0,s)}return String.fromCodePoint.apply(String,o)};t.decode=m;var y=function(e){var t=[],o=(e=f(e)).length,i=128,a=0,s=72,d=!0,p=!1,m=void 0;try{for(var y,g=e[Symbol.iterator]();!(d=(y=g.next()).done);d=!0){var b=y.value;b<128&&t.push(c(b))}}catch(e){p=!0,m=e}finally{try{d||null==g.return||g.return()}finally{if(p)throw m}}var x=t.length,w=x;for(x&&t.push("-");w<o;){var k=n,C=!0,j=!1,T=void 0;try{for(var S,A=e[Symbol.iterator]();!(C=(S=A.next()).done);C=!0){var E=S.value;E>=i&&E<k&&(k=E)}}catch(e){j=!0,T=e}finally{try{C||null==A.return||A.return()}finally{if(j)throw T}}var _=w+1;k-i>u((n-a)/_)&&l("overflow"),a+=(k-i)*_,i=k;var N=!0,q=!1,D=void 0;try{for(var L,O=e[Symbol.iterator]();!(N=(L=O.next()).done);N=!0){var P=L.value;if(P<i&&++a>n&&l("overflow"),P==i){for(var M=a,H=r;;H+=r){var R=H<=s?1:H>=s+26?26:H-s;if(M<R)break;var I=M-R,W=r-R;t.push(c(h(R+I%W,0))),M=u(I/W)}t.push(c(h(M,0))),s=v(a,_,w==x),a=0,++w}}}catch(e){q=!0,D=e}finally{try{N||null==O.return||O.return()}finally{if(q)throw D}}++a,++i}return t.join("")};t.encode=y;var g=function(e){return d(e,(function(e){return o.test(e)?m(e.slice(4).toLowerCase()):e}))};t.toUnicode=g;var b=function(e){return d(e,(function(e){return i.test(e)?"xn--"+y(e):e}))};t.toASCII=b;var x={version:"2.1.0",ucs2:{decode:f,encode:p},decode:m,encode:y,toASCII:b,toUnicode:g};t.default=x},825:e=>{e.exports=prestashop}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r](i,i.exports,n),i.loaded=!0,i.exports}n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e=a(n(339)),t=a(n(825)),r=a(n(291));n(52),n(882),n(165),n(827),n(965),n(999),n(982),n(432),n(90),n(226),n(26);var o=n(988),i=a(n(247));function a(e){return e&&e.__esModule?e:{default:e}}for(var s in r.default.prototype)t.default[s]=r.default.prototype[s];window.$=e.default,window.jQuery=e.default,(0,e.default)(document).ready((function(){(0,o.psShowHide)(),(0,i.default)('input[type="email"]')}))})()})();(()=>{var n={409:()=>{$(document).on("click",".btn_inifinitescroll",function(){var t,e,n=document.getElementById("btn_inifinitescroll").dataset.pag;$("link[rel='canonical']").attr("href"),params=$(location).attr("href").split("?"),e=void 0!==params[1]?(page=params[1].split("page="),void 0!==page[1]?(t=params[0]+"?"+page[0]+"page="+n+"&from-xhr",params[0]+"?"+page[0]+"page="+n):(t=params[0]+"?"+page[0]+"&page="+n+"&from-xhr",params[0]+"?"+page[0]+"&page="+n)):(t=params[0]+"?page="+n+"&from-xhr",params[0]+"?page="+n),$("body").append(`<div class="faceted-overlay">
    <div class="overlay__inner">
    <div class="overlay__content"><span class="spinner"></span></div>
    </div>
    </div>`),$.ajax({url:t,type:"GET",dataType:"json",success:function(t){items_shown_to=t.pagination.items_shown_to,total_items=t.pagination.total_items,porcentaje=100*items_shown_to/total_items,$(".pagination").remove(),$("#js-product-list").append(t.rendered_products),porcentaje<100?(pag_next=parseInt(n)+1,$("#btn_inifinitescroll").attr("data-pag",pag_next)):$("#btn_inifinitescroll").remove(),history.pushState({},null,e)},error:function(){alert("Hubo un problema con la carga, intentelo de nuevo")},complete:function(){$(".faceted-overlay").remove()}})}),$(document).ready(function(){var t;$(document).on("click","#left-column .category-top-menu .read-more .button",function(){return t=$(this),$p=t.parent(),t=$p.parent(),t.find("p:not('.read-more')").each(function(){$(this).outerHeight()}),t.css({height:"auto","max-height":9999}),$p.fadeOut(),!1})}),$(document).ready(function(){$("#mobile__menu").on("click",function(){$("#mobile_top_menu_wrapper").toggle()})})},240:()=>{!function(){"use strict";var i={d:function(t,e){for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o:function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r:function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},s={};i.r(s),i.d(s,{CREATED:function(){return V},DESTROYED:function(){return q},IDLE:function(){return z},MOUNTED:function(){return R},MOVING:function(){return $}});function o(){return(o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n,i=arguments[e];for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t}).apply(this,arguments)}var b=Object.keys;function v(n,i){b(n).some(function(t,e){return i(n[t],t,e)})}function h(e){return b(e).map(function(t){return e[t]})}function r(t){return"object"==typeof t}function a(t,e){var n=o({},t);return v(e,function(t,e){r(t)?(r(n[e])||(n[e]={}),n[e]=a(n[e],t)):n[e]=t}),n}function l(t){return Array.isArray(t)?t:[t]}function y(t,e,n){return Math.min(Math.max(t,n<e?n:e),n<e?e:n)}function p(t,e){var n=0;return t.replace(/%s/g,function(){return l(e)[n++]})}function w(t){var e=typeof t;return"number"==e&&0<t?parseFloat(t)+"px":"string"==e?t:""}function m(t){return t<10?"0"+t:t}function x(t,e){var n;return"string"==typeof e&&(E(n=d("div",{}),{position:"absolute",width:e}),S(t,n),e=n.clientWidth,_(n)),+e||0}function c(t,e){return t?t.querySelector(e.split(" ")[0]):null}function g(t,e){return u(t,e)[0]}function u(t,e){return t?h(t.children).filter(function(t){return A(t,e.split(" ")[0])||t.tagName===e}):[]}function d(t,e){var n=document.createElement(t);return v(e,function(t,e){return O(n,e,t)}),n}function f(t){var e=d("div",{});return e.innerHTML=t,e.firstChild}function _(t){l(t).forEach(function(t){var e;!t||(e=t.parentElement)&&e.removeChild(t)})}function S(t,e){t&&t.appendChild(e)}function C(t,e){var n;t&&e&&((n=e.parentElement)&&n.insertBefore(t,e))}function E(n,t){n&&v(t,function(t,e){null!==t&&(n.style[e]=t)})}function n(e,t,n){e&&l(t).forEach(function(t){t&&e.classList[n?"remove":"add"](t)})}function T(t,e){n(t,e,!1)}function k(t,e){n(t,e,!0)}function A(t,e){return!!t&&t.classList.contains(e)}function O(t,e,n){t&&t.setAttribute(e,n)}function I(t,e){return t?t.getAttribute(e):""}function P(t,e){l(e).forEach(function(e){l(t).forEach(function(t){return t&&t.removeAttribute(e)})})}function j(t){return t.getBoundingClientRect()}function N(l,c){var u,f;return{mount:function(){u=c.Elements.list,l.on("transitionend",function(t){t.target===u&&f&&f()},u)},start:function(t,e,n,i,o){var r=l.options,s=c.Controller.edgeIndex,a=r.speed;f=o,l.is(L)&&(0===n&&s<=e||s<=n&&0===e)&&(a=r.rewindSpeed||a),E(u,{transition:"transform "+a+"ms "+r.easing,transform:"translate("+i.x+"px,"+i.y+"px)"})}}}function D(n,s){function a(t){var e=n.options;E(s.Elements.slides[t],{transition:"opacity "+e.speed+"ms "+e.easing})}return{mount:function(){a(n.index)},start:function(t,e,n,i,o){var r=s.Elements.track;E(r,{height:w(r.clientHeight)}),a(e),setTimeout(function(){o(),E(r,{height:""})})}}}var L="slide",B="loop",F="fade";function M(t,e){if(!t)throw new Error(e)}var t="splide",H={active:"is-active",visible:"is-visible",loading:"is-loading"},W={type:"slide",rewind:!1,speed:400,rewindSpeed:0,waitForTransition:!0,width:0,height:0,fixedWidth:0,fixedHeight:0,heightRatio:0,autoWidth:!1,autoHeight:!1,perPage:1,perMove:0,clones:0,start:0,focus:!1,gap:0,padding:0,arrows:!0,arrowPath:"",pagination:!0,autoplay:!1,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,lazyLoad:!1,preloadPages:1,easing:"cubic-bezier(.42,.65,.27,.99)",keyboard:"global",drag:!0,dragAngleThreshold:30,swipeDistanceThreshold:150,flickVelocityThreshold:.6,flickPower:600,flickMaxPages:1,direction:"ltr",cover:!1,accessibility:!0,slideFocus:!0,isNavigation:!1,trimSpace:!0,updateOnMove:!1,throttle:100,destroy:!1,breakpoints:!1,classes:{root:t,slider:t+"__slider",track:t+"__track",list:t+"__list",slide:t+"__slide",container:t+"__slide__container",arrows:t+"__arrows",arrow:t+"__arrow",prev:t+"__arrow--prev",next:t+"__arrow--next",pagination:t+"__pagination",page:t+"__pagination__page",clone:t+"__slide--clone",progress:t+"__progress",bar:t+"__progress__bar",autoplay:t+"__autoplay",play:t+"__play",pause:t+"__pause",spinner:t+"__spinner",sr:t+"__sr"},i18n:{prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay"}},V=1,R=2,z=3,$=4,q=5;function U(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var t=function(){function t(t,e,n){function i(t){t.elm&&t.elm.removeEventListener(t.event,t.handler,t.options)}var o,r;void 0===e&&(e={}),void 0===n&&(n={}),this.root=t instanceof Element?t:document.querySelector(t),M(this.root,"An invalid element/selector was given."),this.Components=null,this.Event=(o=[],{on:function(t,e,n,i){void 0===n&&(n=null),void 0===i&&(i={}),t.split(" ").forEach(function(t){n&&n.addEventListener(t,e,i),o.push({event:t,handler:e,elm:n,options:i})})},off:function(t,n){void 0===n&&(n=null),t.split(" ").forEach(function(e){o=o.filter(function(t){return!t||t.event!==e||t.elm!==n||(i(t),!1)})})},emit:function(e){for(var t=arguments.length,n=new Array(1<t?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];o.forEach(function(t){t.elm||t.event.split(".")[0]!==e||t.handler.apply(t,n)})},destroy:function(){o.forEach(i),o=[]}}),this.State=(r=V,{set:function(t){r=t},is:function(t){return t===r}}),this.STATES=s,this._o=a(W,e),this._i=0,this._c=n,this._e={},this._t=null}var e,n,i=t.prototype;return i.mount=function(t,e){var n,i,o=this;void 0===t&&(t=this._e),void 0===e&&(e=this._t),this.State.set(V),this._e=t,this._t=e,this.Components=(t=a((n=this)._c,t),e=e,i={},v(t,function(t,e){i[e]=t(n,i,e.toLowerCase())}),e=e||(n.is(F)?D:N),i.Transition=e(n,i),i);try{v(this.Components,function(t,e){var n=t.required;void 0===n||n?t.mount&&t.mount():delete o.Components[e]})}catch(t){return void t.message}var r=this.State;return r.set(R),v(this.Components,function(t){t.mounted&&t.mounted()}),this.emit("mounted"),r.set(z),this.emit("ready"),E(this.root,{visibility:"visible"}),this.on("move drag",function(){return r.set($)}).on("moved dragged",function(){return r.set(z)}),this},i.sync=function(t){return this.sibling=t,this},i.on=function(t,e,n,i){return this.Event.on(t,e,n=void 0===n?null:n,i=void 0===i?{}:i),this},i.off=function(t,e){return this.Event.off(t,e=void 0===e?null:e),this},i.emit=function(t){for(var e,n=arguments.length,i=new Array(1<n?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];return(e=this.Event).emit.apply(e,[t].concat(i)),this},i.go=function(t,e){return void 0===e&&(e=this.options.waitForTransition),(this.State.is(z)||this.State.is($)&&!e)&&this.Components.Controller.go(t,!1),this},i.is=function(t){return t===this._o.type},i.add=function(t,e){return this.Components.Elements.add(t,e=void 0===e?-1:e,this.refresh.bind(this)),this},i.remove=function(t){return this.Components.Elements.remove(t),this.refresh(),this},i.refresh=function(){return this.emit("refresh:before").emit("refresh").emit("resize"),this},i.destroy=function(e){var t=this;if(void 0===e&&(e=!0),!this.State.is(V))return h(this.Components).reverse().forEach(function(t){t.destroy&&t.destroy(e)}),this.emit("destroy",e),this.Event.destroy(),this.State.set(q),this;this.on("ready",function(){return t.destroy(e)})},e=t,(i=[{key:"index",get:function(){return this._i},set:function(t){this._i=parseInt(t)}},{key:"length",get:function(){return this.Components.Elements.length}},{key:"options",get:function(){return this._o},set:function(t){var e=this.State.is(V);e||this.emit("update"),this._o=a(this._o,t),e||this.emit("updated",this._o)}},{key:"classes",get:function(){return this._o.classes}},{key:"i18n",get:function(){return this._o.i18n}}])&&U(e.prototype,i),n&&U(e,n),t}(),Q="rtl",Y="ttb",K="update.slide",X=Math.floor,G=Math.abs;function Z(t,e){var n;return function(){n=n||setTimeout(function(){t(),n=null},e)}}function e(e,n,i){function o(t){c||(r||(r=t,a&&a<1&&(r-=a*n)),a=(s=t-r)/n,n<=s&&(r=0,a=1,e()),i&&i(a),l(o))}var r,s,a,l=window.requestAnimationFrame,c=!0;return{pause:function(){c=!0,r=0},play:function(t){r=0,t&&(a=0),c&&(c=!1,l(o))}}}var J=Math.abs,tt=1,et=2,nt=3,it="move.page",ot="updated.page refresh.page",rt="data-splide-lazy",st="data-splide-lazy-srcset",at="aria-current",lt="aria-controls",ct="aria-label",ut="aria-hidden",ft="tabindex",dt={ltr:{ArrowLeft:"<",ArrowRight:">",Left:"<",Right:">"},rtl:{ArrowLeft:">",ArrowRight:"<",Left:">",Right:"<"},ttb:{ArrowUp:"<",ArrowDown:">",Up:"<",Down:">"}},pt="move.sync",ht="mouseup touchend",mt=[" ","Enter","Spacebar"],gt={Options:function(t){var e=I(t.root,"data-splide");if(e)try{t.options=JSON.parse(e)}catch(t){t.message}return{mount:function(){t.State.is(V)&&(t.index=t.options.start)}}},Breakpoints:function(i){var o,r,s=i.options.breakpoints,e=Z(t,50),a=[];function t(){var t,e,n=(e=a.filter(function(t){return t.mql.matches})[0])?e.point:-1;n!==r&&(r=n,t=i.State,(n=(e=s[n]||o).destroy)?(i.options=o,i.destroy("completely"===n)):(t.is(q)&&i.mount(),i.options=e))}return{required:s&&matchMedia,mount:function(){a=Object.keys(s).sort(function(t,e){return+t-+e}).map(function(t){return{point:t,mql:matchMedia("(max-width:"+t+"px)")}}),this.destroy(!0),addEventListener("resize",e),o=i.options,t()},destroy:function(t){t&&removeEventListener("resize",e)}}},Controller:function(r,n){var s,i,a={mount:function(){s=r.options,i=r.is(B),r.on("move",function(t){r.index=t}).on("updated refresh",function(t){s=t||s,r.index=y(r.index,0,a.edgeIndex)})},go:function(t,e){t=this.trim(this.parse(t));n.Track.go(t,this.rewind(t),e)},parse:function(t){var e=r.index,n=String(t).match(/([+\-<>]+)(\d+)?/),i=n?n[1]:"",o=n?parseInt(n[2]):0;switch(i){case"+":e+=o||1;break;case"-":e-=o||1;break;case">":case"<":e=function(t,e,n){if(-1<t)return a.toIndex(t);t=s.perMove,n=n?-1:1;if(t)return e+t*n;return a.toIndex(a.toPage(e)+n)}(o,e,"<"===i);break;default:e=parseInt(t)}return e},toIndex:function(t){if(o())return t;var e=r.length,n=s.perPage,t=t*n;return t=e-n<=(t-=(this.pageLength*n-e)*X(t/e))&&t<e?e-n:t},toPage:function(t){if(o())return t;var e=r.length,n=s.perPage;return X(e-n<=t&&t<e?(e-1)/n:t/n)},trim:function(t){return t=!i?s.rewind?this.rewind(t):y(t,0,this.edgeIndex):t},rewind:function(t){var e=this.edgeIndex;if(i){for(;e<t;)t-=e+1;for(;t<0;)t+=e+1}else e<t?t=0:t<0&&(t=e);return t},isRtl:function(){return s.direction===Q},get pageLength(){var t=r.length;return o()?t:Math.ceil(t/s.perPage)},get edgeIndex(){var t=r.length;return t?o()||s.isNavigation||i?t-1:t-s.perPage:0},get prevIndex(){var t=r.index-1;return-1<(t=i||s.rewind?this.rewind(t):t)?t:-1},get nextIndex(){var t=r.index+1;return(i||s.rewind)&&(t=this.rewind(t)),r.index<t&&t<=this.edgeIndex||0===t?t:-1}};function o(){return!1!==s.focus}return a},Elements:function(d,i){var t,e=d.root,o=d.classes,p=[];e.id||(window.splide=window.splide||{},t=window.splide.uid||0,window.splide.uid=++t,e.id="splide"+m(t));var r={mount:function(){var t=this;this.init(),d.on("refresh",function(){t.destroy(),t.init()}).on("updated",function(){k(e,s()),T(e,s())})},destroy:function(){p.forEach(function(t){t.destroy()}),p=[],k(e,s())},init:function(){var n=this;!function(){r.slider=g(e,o.slider),r.track=c(e,"."+o.track),r.list=g(r.track,o.list),M(r.track&&r.list,"Track or list was not found."),r.slides=u(r.list,o.slide);var t=a(o.arrows);r.arrows={prev:c(t,"."+o.prev),next:c(t,"."+o.next)};t=a(o.autoplay);r.bar=c(a(o.progress),"."+o.bar),r.play=c(t,"."+o.play),r.pause=c(t,"."+o.pause),r.track.id=r.track.id||e.id+"-track",r.list.id=r.list.id||e.id+"-list"}(),T(e,s()),this.slides.forEach(function(t,e){n.register(t,e,-1)})},register:function(t,e,n){var o,i,r,s,a,l,c,t=(i=e,r=n,s=t,a=(o=d).options.updateOnMove,l="ready.slide updated.slide resized.slide moved.slide"+(a?" move.slide":""),c={slide:s,index:i,realIndex:r,container:g(s,o.classes.container),isClone:-1<r,mount:function(){var t=this;this.isClone||(s.id=o.root.id+"-slide"+m(i+1)),o.on(l,function(){return t.update()}).on(K,f).on("click",function(){return o.emit("click",t)},s),a&&o.on("move.slide",function(t){t===r&&u(!0,!1)}),E(s,{display:""}),this.styles=I(s,"style")||""},destroy:function(){o.off(l).off(K).off("click",s),k(s,h(H)),f(),P(this.container,"style")},update:function(){u(this.isActive(),!1),u(this.isVisible(),!0)},isActive:function(){return o.index===i},isVisible:function(){var t=this.isActive();if(o.is(F)||t)return t;var e=Math.ceil,n=j(o.Components.Elements.track),t=j(s);return o.options.direction===Y?n.top<=t.top&&t.bottom<=e(n.bottom):n.left<=t.left&&t.right<=e(n.right)},isWithin:function(t,e){t=Math.abs(t-i);return(t=!o.is(L)&&!this.isClone?Math.min(t,o.length-t):t)<e}});function u(t,e){var n=e?"visible":"active",i=H[n];t?(T(s,i),o.emit(n,c)):A(s,i)&&(k(s,i),o.emit(e?"hidden":"inactive",c))}function f(){O(s,"style",c.styles)}t.mount(),p.push(t)},getSlide:function(e){return p.filter(function(t){return t.index===e})[0]},getSlides:function(t){return t?p:p.filter(function(t){return!t.isClone})},getSlidesByPage:function(t){var e=i.Controller.toIndex(t),t=d.options,n=!1!==t.focus?1:t.perPage;return p.filter(function(t){t=t.index;return e<=t&&t<e+n})},add:function(t,e,n){var i,o,r,s;(t="string"==typeof t?f(t):t)instanceof Element&&(i=this.slides[e],E(t,{display:"none"}),i?(C(t,i),this.slides.splice(e,0,t)):(S(this.list,t),this.slides.push(t)),o=function(){n&&n(t)},(s=(e=(e=t).querySelectorAll("img")).length)?(r=0,v(e,function(t){t.onload=t.onerror=function(){++r===s&&o()}})):o())},remove:function(t){_(this.slides.splice(t,1)[0])},each:function(t){p.forEach(t)},get length(){return this.slides.length},get total(){return p.length}};function s(){var t=o.root,e=d.options;return[t+"--"+e.type,t+"--"+e.direction,e.drag?t+"--draggable":"",e.isNavigation?t+"--nav":"",H.active]}function a(t){return g(e,t)||g(r.slider,t)}return r},Track:function(r,s){var n,e,o,i=r.options.direction===Y,a=r.is(F),l=r.options.direction===Q,c=!1,u=l?1:-1,f={sign:u,mount:function(){e=s.Elements,n=s.Layout,o=e.list},mounted:function(){var t=this;a||(this.jump(0),r.on("mounted resize updated",function(){t.jump(r.index)}))},go:function(t,e,n){var i=p(t),o=r.index;r.State.is($)&&c||(c=t!==e,n||r.emit("move",e,o,t),1<=Math.abs(i-this.position)||a?s.Transition.start(t,e,o,this.toCoord(i),function(){d(t,e,o,n)}):t!==o&&"move"===r.options.trimSpace?s.Controller.go(t+t-o,n):d(t,e,o,n))},jump:function(t){this.translate(p(t))},translate:function(t){E(o,{transform:"translate"+(i?"Y":"X")+"("+t+"px)"})},cancel:function(){r.is(B)?this.shift():this.translate(this.position),E(o,{transition:""})},shift:function(){var t=G(this.position),e=G(this.toPosition(0)),n=G(this.toPosition(r.length)),i=n-e;t<e?t+=i:n<t&&(t-=i),this.translate(u*t)},trim:function(t){return!r.options.trimSpace||r.is(B)?t:y(t,u*(n.totalSize()-n.size-n.gap),0)},toIndex:function(n){var i=this,o=0,r=1/0;return e.getSlides(!0).forEach(function(t){var e=t.index,t=G(i.toPosition(e)-n);t<r&&(r=t,o=e)}),o},toCoord:function(t){return{x:i?0:t,y:i?t:0}},toPosition:function(t){var e=n.totalSize(t)-n.slideSize(t)-n.gap;return u*(e+this.offset(t))},offset:function(t){var e=r.options.focus,t=n.slideSize(t);return"center"===e?-(n.size-t)/2:-(parseInt(e)||0)*(t+n.gap)},get position(){var t=i?"top":l?"right":"left";return j(o)[t]-(j(e.track)[t]-n.padding[t]*u)}};function d(t,e,n,i){E(o,{transition:""}),c=!1,a||f.jump(e),i||r.emit("moved",e,n,t)}function p(t){return f.trim(f.toPosition(t))}return f},Clones:function(o,t){var s=[],e=0,a=t.Elements,n={mount:function(){var t=this;o.is(B)&&(i(),o.on("refresh:before",function(){t.destroy()}).on("refresh",i).on("resize",function(){e!==r()&&(t.destroy(),o.refresh())}))},destroy:function(){_(s),s=[]},get clones(){return s},get length(){return s.length}};function i(){n.destroy(),function(n){var i=a.length,o=a.register;if(i){for(var r=a.slides;r.length<n;)r=r.concat(r);r.slice(0,n).forEach(function(t,e){t=l(t);S(a.list,t),s.push(t),o(t,e+i,e%i)}),r.slice(-n).forEach(function(t,e){t=l(t);C(t,r[0]),s.push(t),o(t,e-n,(i+e-n%i)%i)})}}(e=r())}function r(){var t=o.options;if(t.clones)return t.clones;var e=t.autoWidth||t.autoHeight?a.length:t.perPage,n=t.direction===Y?"Height":"Width",i=x(o.root,t["fixed"+n]);return(e=i?Math.ceil(a.track["client"+n]/i):e)*(t.drag?t.flickMaxPages+1:1)}function l(t){t=t.cloneNode(!0);return T(t,o.classes.clone),P(t,"id"),t}return n},Layout:function(t,e){var n,i,o,r,s,a,l,c,u,f,d,p,h=e.Elements,m=t.options.direction===Y,g=(n={mount:function(){t.on("resize load",Z(function(){t.emit("resize")},t.options.throttle),window).on("resize",y).on("updated refresh",v),v(),this.totalSize=m?this.totalHeight:this.totalWidth,this.slideSize=m?this.slideHeight:this.slideWidth},destroy:function(){P([h.list,h.track],"style")},get size(){return m?this.height:this.width}},i=m?(c=t,d=e.Elements,p=c.root,{margin:"marginBottom",init:function(){this.resize()},resize:function(){f=c.options,u=d.track,this.gap=x(p,f.gap);var t=f.padding,e=x(p,t.top||t),t=x(p,t.bottom||t);this.padding={top:e,bottom:t},E(u,{paddingTop:w(e),paddingBottom:w(t)})},totalHeight:function(t){void 0===t&&(t=c.length-1);t=d.getSlide(t);return t?j(t.slide).bottom-j(d.list).top+this.gap:0},slideWidth:function(){return x(p,f.fixedWidth||this.width)},slideHeight:function(t){if(f.autoHeight){var e=d.getSlide(t);return e?e.slide.offsetHeight:0}e=f.fixedHeight||(this.height+this.gap)/f.perPage-this.gap;return x(p,e)},get width(){return u.clientWidth},get height(){var t=f.height||this.width*f.heightRatio;return M(t,'"height" or "heightRatio" is missing.'),x(p,t)-this.padding.top-this.padding.bottom}}):(o=t,s=e.Elements,a=o.root,{margin:"margin"+((l=o.options).direction===Q?"Left":"Right"),height:0,init:function(){this.resize()},resize:function(){l=o.options,r=s.track,this.gap=x(a,l.gap);var t=l.padding,e=x(a,t.left||t),t=x(a,t.right||t);this.padding={left:e,right:t},E(r,{paddingLeft:w(e),paddingRight:w(t)})},totalWidth:function(t){void 0===t&&(t=o.length-1);var e=s.getSlide(t),n=0;return e&&(t=j(e.slide),e=j(s.list),n=l.direction===Q?e.right-t.left:t.right-e.left,n+=this.gap),n},slideWidth:function(t){if(l.autoWidth){var e=s.getSlide(t);return e?e.slide.offsetWidth:0}e=l.fixedWidth||(this.width+this.gap)/l.perPage-this.gap;return x(a,e)},slideHeight:function(){var t=l.height||l.fixedHeight||this.width*l.heightRatio;return x(a,t)},get width(){return r.clientWidth-this.padding.left-this.padding.right}}),b(i).forEach(function(t){n[t]||Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))}),n);function v(){g.init(),E(t.root,{maxWidth:w(t.options.width)}),h.each(function(t){t.slide.style[g.margin]=w(g.gap)}),y()}function y(){var e=t.options;g.resize(),E(h.track,{height:w(g.height)});var n=e.autoHeight?null:w(g.slideHeight());h.each(function(t){E(t.container,{height:n}),E(t.slide,{width:e.autoWidth?null:w(g.slideWidth(t.index)),height:t.container?null:n})}),t.emit("resized")}return g},Drag:function(a,l){var n,i,o,r,c=l.Track,u=l.Controller,s=a.options.direction===Y,f=s?"y":"x",e={disabled:!1,mount:function(){var t=this,e=l.Elements,n=e.track;a.on("touchstart mousedown",d,n).on("touchmove mousemove",h,n,{passive:!1}).on("touchend touchcancel mouseleave mouseup dragend",m,n).on("mounted refresh",function(){v(e.list.querySelectorAll("img, a"),function(t){a.off("dragstart",t).on("dragstart",function(t){t.preventDefault()},t,{passive:!1})})}).on("mounted updated",function(){t.disabled=!a.options.drag})}};function d(t){e.disabled||r||p(t)}function p(t){n=c.toCoord(c.position),i=g(t,{}),o=i}function h(t){var e;i&&(o=g(t,i),r?(t.cancelable&&t.preventDefault(),a.is(F)||(e=n[f]+o.offset[f],c.translate(function(t){{var e,n,i;a.is(L)&&(e=c.sign,n=e*c.trim(c.toPosition(0)),i=e*c.trim(c.toPosition(u.edgeIndex)),(t*=e)<n?t=n-7*Math.log(n-t):i<t&&(t=i+7*Math.log(t-i)),t*=e)}return t}(e)))):function(t){t=t.offset;if(a.State.is($)&&a.options.waitForTransition)return!1;t=180*Math.atan(J(t.y)/J(t.x))/Math.PI;s&&(t=90-t);return t<a.options.dragAngleThreshold}(o)&&(a.emit("drag",i),r=!0,c.cancel(),p(t)))}function m(){i=null,r&&(a.emit("dragged",o),function(t){var e=t.velocity[f],n=J(e);{var i,o,r,s;0<n&&(i=a.options,o=a.index,r=e<0?-1:1,s=o,a.is(F)||(e=c.position,n>i.flickVelocityThreshold&&J(t.offset[f])<i.swipeDistanceThreshold&&(e+=r*Math.min(n*i.flickPower,l.Layout.size*(i.flickMaxPages||1))),s=c.toIndex(e)),s===o&&.1<n&&(s=o+r*c.sign),a.is(L)&&(s=y(s,0,u.edgeIndex)),u.go(s,i.isNavigation))}}(o),r=!1)}function g(t,e){var n=t.timeStamp,i=t.touches,o=i?i[0]:t,r=o.clientX,i=o.clientY,t=e.to||{},o=t.x,t=t.y,t={x:r-(void 0===o?r:o),y:i-(void 0===t?i:t)},e=n-(e.time||0);return{to:{x:r,y:i},offset:t,time:n,velocity:{x:t.x/e,y:t.y/e}}}return e},Click:function(t,e){var n=!1;function i(t){n&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}return{required:t.options.drag,mount:function(){t.on("click",i,e.Elements.track,{capture:!0}).on("drag",function(){n=!0}).on("dragged",function(){setTimeout(function(){n=!1})})}}},Autoplay:function(o,t,n){var i,r=[],s=t.Elements,a={required:o.options.autoplay,mount:function(){var t=o.options;s.slides.length>t.perPage&&(i=e(function(){o.go(">")},t.interval,function(t){o.emit(n+":playing",t),s.bar&&E(s.bar,{width:100*t+"%"})}),function(){var t=o.options,e=o.sibling,e=[o.root,e?e.root:null];t.pauseOnHover&&(l(e,"mouseleave",tt,!0),l(e,"mouseenter",tt,!1));t.pauseOnFocus&&(l(e,"focusout",et,!0),l(e,"focusin",et,!1));s.play&&o.on("click",function(){a.play(et),a.play(nt)},s.play);s.pause&&l([s.pause],"click",nt,!1);o.on("move refresh",function(){a.play()}).on("destroy",function(){a.pause()})}(),this.play())},play:function(e){void 0===e&&(e=0),(r=r.filter(function(t){return t!==e})).length||(o.emit(n+":play"),i.play(o.options.resetProgress))},pause:function(t){void 0===t&&(t=0),i.pause(),-1===r.indexOf(t)&&r.push(t),1===r.length&&o.emit(n+":pause")}};function l(t,e,n,i){t.forEach(function(t){o.on(e,function(){a[i?"play":"pause"](n)},t)})}return a},Cover:function(t,n){function e(e){n.Elements.each(function(t){t=g(t.slide,"IMG")||g(t.container,"IMG");t&&t.src&&i(t,e)})}function i(t,e){E(t.parentElement,{background:e?"":'center/cover no-repeat url("'+t.src+'")'}),E(t,{display:e?"":"none"})}return{required:t.options.cover,mount:function(){t.on("lazyload:loaded",function(t){i(t,!1)}),t.on("mounted updated refresh",function(){return e(!1)})},destroy:function(){e(!0)}}},Arrows:function(i,o,r){var s,a,t,n=i.classes,l=i.root,c=o.Elements;function e(){var t=o.Controller,e=t.prevIndex,n=t.nextIndex,t=i.length>i.options.perPage||i.is(B);s.disabled=e<0||!t,a.disabled=n<0||!t,i.emit(r+":updated",s,a,e,n)}function u(t){return f('<button class="'+n.arrow+" "+(t?n.prev:n.next)+'" type="button"><svg xmlns="http://www.w3.org/2000/svg"\tviewBox="0 0 40 40"\twidth="40"\theight="40"><path d="'+(i.options.arrowPath||"m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z")+'" />')}return{required:i.options.arrows,mount:function(){s=c.arrows.prev,a=c.arrows.next,s&&a||!i.options.arrows||(s=u(!0),a=u(!1),t=!0,function(){var t=d("div",{class:n.arrows});S(t,s),S(t,a);var e=c.slider,e="slider"===i.options.arrows&&e?e:l;C(t,e.firstElementChild)}()),s&&a&&i.on("click",function(){i.go("<")},s).on("click",function(){i.go(">")},a).on("mounted move updated refresh",e),this.arrows={prev:s,next:a}},mounted:function(){i.emit(r+":mounted",s,a)},destroy:function(){P([s,a],"disabled"),t&&_(s.parentElement)}}},Pagination:function(s,e,i){var a={},l=e.Elements,c={mount:function(){var e,o,r,t,n=s.options.pagination;n&&(e=s.options,o=s.classes,r=d("ul",{class:o.pagination}),t=l.getSlides(!1).filter(function(t){return!1!==e.focus||t.index%e.perPage==0}).map(function(t,e){var n=d("li",{}),i=d("button",{class:o.page,type:"button"});return S(n,i),S(r,n),s.on("click",function(){s.go(">"+e)},i),{li:n,button:i,page:e,Slides:l.getSlidesByPage(e)}}),a={list:r,items:t},t=l.slider,S("slider"===n&&t?t:s.root,a.list),s.on(it,u)),s.off(ot).on(ot,function(){c.destroy(),s.options.pagination&&(c.mount(),c.mounted())})},mounted:function(){var t;s.options.pagination&&(t=s.index,s.emit(i+":mounted",a,this.getItem(t)),u(t,-1))},destroy:function(){_(a.list),a.items&&a.items.forEach(function(t){s.off("click",t.button)}),s.off(it),a={}},getItem:function(t){return a.items[e.Controller.toPage(t)]},get data(){return a}};function u(t,e){var n=c.getItem(e),e=c.getItem(t),t=H.active;n&&k(n.button,t),e&&T(e.button,t),s.emit(i+":updated",a,n,e)}return c},LazyLoad:function(o,t,r){var e,n,i=o.options,s="sequential"===i.lazyLoad;function a(){n=[],e=0}function l(e){e=isNaN(e)?o.index:e,(n=n.filter(function(t){return!t.Slide.isWithin(e,i.perPage*(i.preloadPages+1))||(c(t.img,t.Slide),!1)}))[0]||o.off("moved."+r)}function c(t,e){T(e.slide,H.loading);var n=d("span",{class:o.classes.spinner});S(t.parentElement,n),t.onload=function(){f(t,n,e,!1)},t.onerror=function(){f(t,n,e,!0)},O(t,"srcset",I(t,st)||""),O(t,"src",I(t,rt)||"")}function u(){var t;e<n.length&&c((t=n[e]).img,t.Slide),e++}function f(t,e,n,i){k(n.slide,H.loading),i||(_(e),E(t,{display:""}),o.emit(r+":loaded",t).emit("resize")),s&&u()}return{required:i.lazyLoad,mount:function(){o.on("mounted refresh",function(){a(),t.Elements.each(function(e){v(e.slide.querySelectorAll("["+rt+"], ["+st+"]"),function(t){t.src||t.srcset||(n.push({img:t,Slide:e}),E(t,{display:"none"}))})}),s&&u()}),s||o.on("mounted refresh moved."+r,l)},destroy:a}},Keyboard:function(i){var o;return{mount:function(){i.on("mounted updated",function(){var t=i.options,e=i.root,n=dt[t.direction],t=t.keyboard;o&&(i.off("keydown",o),P(e,ft)),t&&("focused"===t?O(o=e,ft,0):o=document,i.on("keydown",function(t){n[t.key]&&i.go(n[t.key])},o))})}}},Sync:function(i){var o=i.sibling,t=o&&o.options.isNavigation;function r(){i.on(pt,function(t,e,n){o.off(pt).go(o.is(B)?n:t,!1),s()})}function s(){o.on(pt,function(t,e,n){i.off(pt).go(i.is(B)?n:t,!1),r()})}function e(){o.Components.Elements.each(function(t){var e=t.slide,n=t.index;i.off(ht,e).on(ht,function(t){t.button&&0!==t.button||a(n)},e),i.off("keyup",e).on("keyup",function(t){-1<mt.indexOf(t.key)&&(t.preventDefault(),a(n))},e,{passive:!1})})}function a(t){i.State.is(z)&&o.go(t)}return{required:!!o,mount:function(){r(),s(),t&&(e(),i.on("refresh",function(){setTimeout(function(){e(),o.emit("navigation:updated",i)})}))},mounted:function(){t&&o.emit("navigation:mounted",i)}}},A11y:function(r,e){var s=r.i18n,o=e.Elements,n=[ut,ft,lt,ct,at,"role"];function i(t,e){O(t,ut,!e),r.options.slideFocus&&O(t,ft,e?0:-1)}function t(t,e){var n=o.track.id;O(t,lt,n),O(e,lt,n)}function a(t,e,n,i){var o=r.index,n=-1<n&&o<n?s.last:s.prev,o=-1<i&&i<o?s.first:s.next;O(t,ct,n),O(e,ct,o)}function l(t,e){e&&O(e.button,at,!0),t.items.forEach(function(t){var e=r.options,n=p(!1===e.focus&&1<e.perPage?s.pageX:s.slideX,t.page+1),e=t.button,t=t.Slides.map(function(t){return t.slide.id});O(e,lt,t.join(" ")),O(e,ct,n)})}function c(t,e,n){e&&P(e.button,at),n&&O(n.button,at,!0)}function u(i){o.each(function(t){var e=t.slide,n=t.realIndex;d(e)||O(e,"role","button");n=-1<n?n:t.index,t=p(s.slideX,n+1),n=i.Components.Elements.getSlide(n);O(e,ct,t),n&&O(e,lt,n.slide.id)})}function f(t,e){t=t.slide;e?O(t,at,!0):P(t,at)}function d(t){return"BUTTON"===t.tagName}return{required:r.options.accessibility,mount:function(){r.on("visible",function(t){i(t.slide,!0)}).on("hidden",function(t){i(t.slide,!1)}).on("arrows:mounted",t).on("arrows:updated",a).on("pagination:mounted",l).on("pagination:updated",c).on("refresh",function(){P(e.Clones.clones,n)}),r.options.isNavigation&&r.on("navigation:mounted navigation:updated",u).on("active",function(t){f(t,!0)}).on("inactive",function(t){f(t,!1)}),["play","pause"].forEach(function(t){var e=o[t];e&&(d(e)||O(e,"role","button"),O(e,lt,o.track.id),O(e,ct,s[t]))})},destroy:function(){var t=e.Arrows,t=t?t.arrows:{};P(o.slides.concat([t.prev,t.next,o.play,o.pause]),n)}}}};window.Splide=function(n){var t,e;function i(t,e){return n.call(this,t,e,gt)||this}return e=n,(t=i).prototype=Object.create(e.prototype),(t.prototype.constructor=t).__proto__=e,i}(t)}()},321:()=>{!function(s){function a(t,e){this.options=e,this.$elementFilestyle=[],this.$element=s(t)}var o=0;a.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;this.options.input&&(this.options.input=!1,this.$elementFilestyle.find(":text").remove(),0<(t=this.pushNameFiles()).length&&this.options.badge&&this.$elementFilestyle.find("label").append(' <span class="badge">'+t.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"),n=this.$elementFilestyle.find("input");e.removeClass("btn-lg btn-sm"),n.removeClass("input-lg input-sm"),"nr"!=t&&(e.addClass("btn-"+t),n.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 n=0;n<e.length;n++)t+=e[n].name.split("\\").pop()+", ";return""!==t?this.$elementFilestyle.find(":text").val(t.replace(/\, $/g,"")):this.$elementFilestyle.find(":text").val(""),e},constructor:function(){var t,e,n=this,i=n.$element.attr("id");""!==i&&i||(i="filestyle-"+o,n.$element.attr({id:i}),o++),e='<span class="group-span-filestyle '+(n.options.input?"input-group-btn":"")+'"><label for="'+i+'" class="btn '+n.options.buttonName+" "+("nr"==n.options.size?"":"btn-"+n.options.size)+'" '+(n.options.disabled?'disabled="true"':"")+">"+n.htmlIcon()+'<span class="buttonText">'+n.options.buttonText+"</span></label></span>",t=n.options.buttonBefore?e+n.htmlInput():n.htmlInput()+e,n.$elementFilestyle=s('<div class="bootstrap-filestyle input-group">'+t+"</div>"),n.$elementFilestyle.find(".group-span-filestyle").attr("tabindex","0").keypress(function(t){if(13===t.keyCode||32===t.charCode)return n.$elementFilestyle.find("label").click(),!1}),n.$element.css({position:"absolute",clip:"rect(0px 0px 0px 0px)"}).attr("tabindex","-1").after(n.$elementFilestyle),n.options.disabled&&n.$element.attr("disabled","true"),n.$element.change(function(){var t=n.pushNameFiles();0==n.options.input&&n.options.badge?0==n.$elementFilestyle.find(".badge").length?n.$elementFilestyle.find("label").append(' <span class="badge">'+t.length+"</span>"):0==t.length?n.$elementFilestyle.find(".badge").remove():n.$elementFilestyle.find(".badge").html(t.length):n.$elementFilestyle.find(".badge").remove()}),-1<window.navigator.userAgent.search(/firefox/i)&&n.$elementFilestyle.find("label").click(function(){return n.$element.click(),!1})}};var t=s.fn.filestyle;s.fn.filestyle=function(i,o){var r="";this.each(function(){var t,e,n;"file"===s(this).attr("type")&&(e=(t=s(this)).data("filestyle"),n=s.extend({},s.fn.filestyle.defaults,i,"object"==typeof i&&i),e||(t.data("filestyle",e=new a(this,n)),e.constructor()),"string"==typeof i&&(r=e[i](o)))});return r},s.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:""},s.fn.filestyle.noConflict=function(){return s.fn.filestyle=t,this},s(function(){s(".filestyle").each(function(){var t=s(this),e={input:"false"!==t.attr("data-input"),icon:"false"!==t.attr("data-icon"),buttonBefore:"true"===t.attr("data-buttonBefore"),disabled:"true"===t.attr("data-disabled"),size:t.attr("data-size"),buttonText:t.attr("data-buttonText"),buttonName:t.attr("data-buttonName"),iconName:t.attr("data-iconName"),badge:"false"!==t.attr("data-badge"),placeholder:t.attr("data-placeholder")};t.filestyle(e)})})}(window.jQuery)},294:()=>{var g;(g=jQuery).fn.scrollbox=function(m){return(m=g.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},m)).scrollOffset="vertical"===m.direction?"scrollTop":"scrollLeft",m.queue&&(m.queue=g("#"+m.queue)),this.each(function(){var i,o,t,r,e,n,s,a,l,c=g(this),u=null,f=null,d=!1,p=0,h=0;m.onMouseOverPause&&(c.bind("mouseover",function(){d=!0}),c.bind("mouseout",function(){d=!1})),i=c.children(m.listElement+":first-child"),!1===m.infiniteLoop&&0===m.switchAmount&&(m.switchAmount=i.children().length),n=function(){if(!d){var t,e=i.children(m.listItemElement+":first-child"),e="auto"!==m.distance?m.distance:"vertical"===m.direction?e.outerHeight(!0):e.outerWidth(!0),n=m.linear?Math.min(c[0][m.scrollOffset]+m.step,e):(n=Math.max(3,parseInt(.3*(e-c[0][m.scrollOffset]),10)),Math.min(c[0][m.scrollOffset]+n,e));if(e<=(c[0][m.scrollOffset]=n)){for(t=0;t<m.switchItems;t++)m.queue&&0<m.queue.find(m.listItemElement).length?(i.append(m.queue.find(m.listItemElement)[0]),i.children(m.listItemElement+":first-child").remove()):i.append(i.children(m.listItemElement+":first-child")),++p;c[0][m.scrollOffset]=0,clearInterval(u),u=null,g.isFunction(m.afterForward)&&m.afterForward.call(c,{switchCount:p,currentFirstChild:i.children(m.listItemElement+":first-child")}),m.triggerStackable&&0!==h?o():!1===m.infiniteLoop&&p>=m.switchAmount||m.autoPlay&&(f=setTimeout(r,1e3*m.delay))}}},s=function(){if(!d){var t,e,n;if(0===c[0][m.scrollOffset]){for(t=0;t<m.switchItems;t++)i.children(m.listItemElement+":last-child").insertBefore(i.children(m.listItemElement+":first-child"));e=i.children(m.listItemElement+":first-child"),e="auto"!==m.distance?m.distance:"vertical"===m.direction?e.height():e.width(),c[0][m.scrollOffset]=e}n=m.linear?Math.max(c[0][m.scrollOffset]-m.step,0):(n=Math.max(3,parseInt(.3*c[0][m.scrollOffset],10)),Math.max(c[0][m.scrollOffset]-n,0)),0===(c[0][m.scrollOffset]=n)&&(--p,clearInterval(u),u=null,g.isFunction(m.afterBackward)&&m.afterBackward.call(c,{switchCount:p,currentFirstChild:i.children(m.listItemElement+":first-child")}),m.triggerStackable&&0!==h?o():m.autoPlay&&(f=setTimeout(r,1e3*m.delay)))}},o=function(){0!==h&&(f=0<h?(h--,setTimeout(r,0)):(h++,setTimeout(t,0)))},r=function(){clearInterval(u),u=setInterval(n,m.speed)},t=function(){clearInterval(u),u=setInterval(s,m.speed)},a=function(){m.autoPlay=!0,d=!1,clearInterval(u),u=setInterval(n,m.speed)},l=function(){d=!0},e=function(t){m.delay=t||m.delay,clearTimeout(f),m.autoPlay&&(f=setTimeout(r,1e3*m.delay))},m.autoPlay&&(f=setTimeout(r,1e3*m.startDelay)),c.bind("resetClock",function(t){e(t)}),c.bind("forward",function(){m.triggerStackable?null!==u?h++:r():(clearTimeout(f),r())}),c.bind("backward",function(){m.triggerStackable?null!==u?h--:t():(clearTimeout(f),t())}),c.bind("pauseHover",function(){l()}),c.bind("forwardHover",function(){a()}),c.bind("speedUp",function(t,e){"undefined"===e&&(e=Math.max(1,parseInt(m.speed/2,10))),m.speed=e}),c.bind("speedDown",function(t,e){"undefined"===e&&(e=2*m.speed),m.speed=e}),c.bind("updateConfig",function(t,e){m=g.extend(m,e)})})}},992:()=>{!function(_){"use strict";var S=0;function C(t,e){return _.map(t,function(t){return t+".touchspin_"+e})}_.fn.TouchSpin=function(b){if("destroy"!==b){var w={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:"+"},x={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 a,l,n,i,t,e,o,r,c=_(this),s=c.data(),u=0,f=!1;function d(){var t,e,n=c.val();""!==n?0<a.decimals&&"."===n||(t=parseFloat(n),(e=t=isNaN(t)?""!==a.replacementval?a.replacementval:0:t).toString()!==n&&(e=t),t<a.min&&(e=a.min),e=function(t){switch(a.forcestepdivisibility){case"round":return(Math.round(t/a.step)*a.step).toFixed(a.decimals);case"floor":return(Math.floor(t/a.step)*a.step).toFixed(a.decimals);case"ceil":return(Math.ceil(t/a.step)*a.step).toFixed(a.decimals);default:return t}}(e=t>a.max?a.max:e),Number(n).toString()!==e.toString()&&(c.val(e),c.trigger("change"))):""!==a.replacementval&&(c.val(a.replacementval),c.trigger("change"))}function p(){if(a.booster){var t=Math.pow(2,Math.floor(u/a.boostat))*a.step;return a.maxboostedstep&&t>a.maxboostedstep&&(t=a.maxboostedstep,i=Math.round(i/t)*t),Math.max(a.step,t)}return a.step}function h(){d(),i=parseFloat(n.input.val());var t=i=isNaN(i)?0:i,e=p();(i+=e)>a.max&&(i=a.max,c.trigger("touchspin.on.max"),y()),n.input.val(Number(i).toFixed(a.decimals)),t!==i&&c.trigger("change")}function m(){d(),i=parseFloat(n.input.val());var t=i=isNaN(i)?0:i,e=p();(i-=e)<a.min&&(i=a.min,c.trigger("touchspin.on.min"),y()),n.input.val(i.toFixed(a.decimals)),t!==i&&c.trigger("change")}function g(){y(),u=0,f="down",c.trigger("touchspin.on.startspin"),c.trigger("touchspin.on.startdownspin"),o=setTimeout(function(){t=setInterval(function(){u++,m()},a.stepinterval)},a.stepintervaldelay)}function v(){y(),u=0,f="up",c.trigger("touchspin.on.startspin"),c.trigger("touchspin.on.startupspin"),r=setTimeout(function(){e=setInterval(function(){u++,h()},a.stepinterval)},a.stepintervaldelay)}function y(){switch(clearTimeout(o),clearTimeout(r),clearInterval(t),clearInterval(e),f){case"up":c.trigger("touchspin.on.stopupspin"),c.trigger("touchspin.on.stopspin");break;case"down":c.trigger("touchspin.on.stopdownspin"),c.trigger("touchspin.on.stopspin")}u=0,f=!1}c.data("alreadyinitialized")||(c.data("alreadyinitialized",!0),S+=1,c.data("spinnerid",S),c.is("input")&&(""!==(a=_.extend({},w,s,function(){var n={};return _.each(x,function(t,e){e="bts-"+e;c.is("[data-"+e+"]")&&(n[t]=c.data(e))}),n}(),b)).initval&&""===c.val()&&c.val(a.initval),d(),function(){var t=c.val(),e=c.parent();""!==t&&(t=Number(t).toFixed(a.decimals));c.data("initvalue",t).val(t),c.addClass("form-control"),e.hasClass("input-group")?function(t){t.addClass("bootstrap-touchspin");var e,n,i=c.prev(),o=c.next(),r='<span class="input-group-addon bootstrap-touchspin-prefix">'+a.prefix+"</span>",s='<span class="input-group-addon bootstrap-touchspin-postfix">'+a.postfix+"</span>";i.hasClass("input-group-btn")?(e='<button class="'+a.buttondown_class+' bootstrap-touchspin-down" type="button">'+a.buttondown_txt+"</button>",i.append(e)):(e='<span class="input-group-btn"><button class="'+a.buttondown_class+' bootstrap-touchspin-down" type="button">'+a.buttondown_txt+"</button></span>",_(e).insertBefore(c));o.hasClass("input-group-btn")?(n='<button class="'+a.buttonup_class+' bootstrap-touchspin-up" type="button">'+a.buttonup_txt+"</button>",o.prepend(n)):(n='<span class="input-group-btn"><button class="'+a.buttonup_class+' bootstrap-touchspin-up" type="button">'+a.buttonup_txt+"</button></span>",_(n).insertAfter(c));_(r).insertBefore(c),_(s).insertAfter(c),l=t}(e):function(){var t;t=a.verticalbuttons?'<div class="input-group bootstrap-touchspin"><span class="input-group-addon bootstrap-touchspin-prefix">'+a.prefix+'</span><span class="input-group-addon bootstrap-touchspin-postfix">'+a.postfix+'</span><span class="input-group-btn-vertical"><button class="'+a.buttondown_class+' bootstrap-touchspin-up" type="button"><i class="'+a.verticalupclass+'"></i></button><button class="'+a.buttonup_class+' bootstrap-touchspin-down" type="button"><i class="'+a.verticaldownclass+'"></i></button></span></div>':'<div class="input-group bootstrap-touchspin"><span class="input-group-btn"><button class="'+a.buttondown_class+' bootstrap-touchspin-down" type="button">'+a.buttondown_txt+'</button></span><span class="input-group-addon bootstrap-touchspin-prefix">'+a.prefix+'</span><span class="input-group-addon bootstrap-touchspin-postfix">'+a.postfix+'</span><span class="input-group-btn"><button class="'+a.buttonup_class+' bootstrap-touchspin-up" type="button">'+a.buttonup_txt+"</button></span></div>";l=_(t).insertBefore(c),_(".bootstrap-touchspin-prefix",l).after(c),c.hasClass("input-sm")?l.addClass("input-group-sm"):c.hasClass("input-lg")&&l.addClass("input-group-lg")}()}(),n={down:_(".bootstrap-touchspin-down",l),up:_(".bootstrap-touchspin-up",l),input:_("input",l),prefix:_(".bootstrap-touchspin-prefix",l).addClass(a.prefix_extraclass),postfix:_(".bootstrap-touchspin-postfix",l).addClass(a.postfix_extraclass)},function(){""===a.prefix&&n.prefix.hide();""===a.postfix&&n.postfix.hide()}(),c.on("keydown",function(t){var e=t.keyCode||t.which;38===e?("up"!==f&&(h(),v()),t.preventDefault()):40===e&&("down"!==f&&(m(),g()),t.preventDefault())}),c.on("keyup",function(t){t=t.keyCode||t.which;38!==t&&40!==t||y()}),c.on("blur",function(){d()}),n.down.on("keydown",function(t){var e=t.keyCode||t.which;32!==e&&13!==e||("down"!==f&&(m(),g()),t.preventDefault())}),n.down.on("keyup",function(t){t=t.keyCode||t.which;32!==t&&13!==t||y()}),n.up.on("keydown",function(t){var e=t.keyCode||t.which;32!==e&&13!==e||("up"!==f&&(h(),v()),t.preventDefault())}),n.up.on("keyup",function(t){t=t.keyCode||t.which;32!==t&&13!==t||y()}),n.down.on("mousedown.touchspin",function(t){n.down.off("touchstart.touchspin"),c.is(":disabled")||(m(),g(),t.preventDefault(),t.stopPropagation())}),n.down.on("touchstart.touchspin",function(t){n.down.off("mousedown.touchspin"),c.is(":disabled")||(m(),g(),t.preventDefault(),t.stopPropagation())}),n.up.on("mousedown.touchspin",function(t){n.up.off("touchstart.touchspin"),c.is(":disabled")||(h(),v(),t.preventDefault(),t.stopPropagation())}),n.up.on("touchstart.touchspin",function(t){n.up.off("mousedown.touchspin"),c.is(":disabled")||(h(),v(),t.preventDefault(),t.stopPropagation())}),n.up.on("mouseout touchleave touchend touchcancel",function(t){f&&(t.stopPropagation(),y())}),n.down.on("mouseout touchleave touchend touchcancel",function(t){f&&(t.stopPropagation(),y())}),n.down.on("mousemove touchmove",function(t){f&&(t.stopPropagation(),t.preventDefault())}),n.up.on("mousemove touchmove",function(t){f&&(t.stopPropagation(),t.preventDefault())}),_(document).on(C(["mouseup","touchend","touchcancel"],S).join(" "),function(t){f&&(t.preventDefault(),y())}),_(document).on(C(["mousemove","touchmove","scroll","scrollstart"],S).join(" "),function(t){f&&(t.preventDefault(),y())}),c.on("mousewheel DOMMouseScroll",function(t){var e;a.mousewheel&&c.is(":focus")&&(e=t.originalEvent.wheelDelta||-t.originalEvent.deltaY||-t.originalEvent.detail,t.stopPropagation(),t.preventDefault(),(e<0?m:h)())}),c.on("touchspin.uponce",function(){y(),h()}),c.on("touchspin.downonce",function(){y(),m()}),c.on("touchspin.startupspin",function(){v()}),c.on("touchspin.startdownspin",function(){g()}),c.on("touchspin.stopspin",function(){y()}),c.on("touchspin.updatesettings",function(t,e){!function(t){(function(t){a=_.extend({},a,t)})(t),d();t=n.input.val();""!==t&&(t=Number(n.input.val()),n.input.val(t.toFixed(a.decimals)))}(e)}),n.input.css("display","block")))})}this.each(function(){var t=_(this).data();_(document).off(C(["mouseup","touchend","touchcancel","mousemove","touchmove","scroll","scrollstart"],t.spinnerid).join(" "))})}}(jQuery)},249:()=>{if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");function C(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function t(t){var e=this,n=!1;return o(this).one(r.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||r.triggerTransitionEnd(e)},t),this}function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var o,e,n,r,E,T,k,m;!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||4<=t[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(),E="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},o=jQuery,e=!(T=function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}),n={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},r={TRANSITION_END:"bsTransitionEnd",getUID:function(t){for(;t+=~~(1e6*Math.random()),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(t){o(t).trigger(e.end)},supportsTransitionEnd:function(){return Boolean(e)},typeCheckConfig:function(t,e,n){for(var i in n)if(n.hasOwnProperty(i)){var o=n[i],r=e[i],s=r&&((a=r)[0]||a).nodeType?"element":{}.toString.call(r).match(/\s([a-zA-Z]+)/)[1].toLowerCase();if(!new RegExp(o).test(s))throw new Error(t.toUpperCase()+': Option "'+i+'" provided type "'+s+'" but expected type "'+o+'".')}var a}},e=function(){if(window.QUnit)return!1;var t,e=document.createElement("bootstrap");for(t in n)if(void 0!==e.style[t])return{end:n[t]};return!1}(),o.fn.emulateTransitionEnd=t,r.supportsTransitionEnd()&&(o.event.special[r.TRANSITION_END]={bindType:e.end,delegateType:e.end,handle:function(t){if(o(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}}),k=r,function(i){var t="alert",o="bs.alert",e="."+o,n=i.fn[t],r={CLOSE:"close"+e,CLOSED:"closed"+e,CLICK_DATA_API:"click"+e+".data-api"},s="alert",a="fade",l="in",c=(u.prototype.close=function(t){t=t||this._element;t=this._getRootElement(t);this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},u.prototype.dispose=function(){i.removeData(this._element,o),this._element=null},u.prototype._getRootElement=function(t){var e=k.getSelectorFromElement(t),n=!1;return n=(n=e?i(e)[0]:n)||i(t).closest("."+s)[0]},u.prototype._triggerCloseEvent=function(t){var e=i.Event(r.CLOSE);return i(t).trigger(e),e},u.prototype._removeElement=function(t){return i(t).removeClass(l),k.supportsTransitionEnd()&&i(t).hasClass(a)?void i(t).one(k.TRANSITION_END,i.proxy(this._destroyElement,this,t)).emulateTransitionEnd(150):void this._destroyElement(t)},u.prototype._destroyElement=function(t){i(t).detach().trigger(r.CLOSED).remove()},u._jQueryInterface=function(n){return this.each(function(){var t=i(this),e=t.data(o);e||(e=new u(this),t.data(o,e)),"close"===n&&e[n](this)})},u._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},T(u,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}}]),u);function u(t){C(this,u),this._element=t}i(document).on(r.CLICK_DATA_API,'[data-dismiss="alert"]',c._handleDismiss(new c)),i.fn[t]=c._jQueryInterface,i.fn[t].Constructor=c,i.fn[t].noConflict=function(){return i.fn[t]=n,c._jQueryInterface}}(jQuery),function(i){var t="button",n="bs.button",e="."+n,o=".data-api",r=i.fn[t],s="active",a="btn",l="focus",c='[data-toggle^="button"]',u='[data-toggle="buttons"]',f="input",d=".active",p=".btn",o={CLICK_DATA_API:"click"+e+o,FOCUS_BLUR_DATA_API:"focus"+e+o+" blur"+e+o},h=(m.prototype.toggle=function(){var t,e=!0,n=i(this._element).closest(u)[0];n?(t=i(this._element).find(f)[0])&&("radio"===t.type&&(t.checked&&i(this._element).hasClass(s)?e=!1:(n=i(n).find(d)[0])&&i(n).removeClass(s)),e&&(t.checked=!i(this._element).hasClass(s),i(this._element).trigger("change")),t.focus()):this._element.setAttribute("aria-pressed",!i(this._element).hasClass(s)),e&&i(this._element).toggleClass(s)},m.prototype.dispose=function(){i.removeData(this._element,n),this._element=null},m._jQueryInterface=function(e){return this.each(function(){var t=i(this).data(n);t||(t=new m(this),i(this).data(n,t)),"toggle"===e&&t[e]()})},T(m,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}}]),m);function m(t){C(this,m),this._element=t}i(document).on(o.CLICK_DATA_API,c,function(t){t.preventDefault();t=t.target;i(t).hasClass(a)||(t=i(t).closest(p)),h._jQueryInterface.call(i(t),"toggle")}).on(o.FOCUS_BLUR_DATA_API,c,function(t){var e=i(t.target).closest(p)[0];i(e).toggleClass(l,/^focus(in)?$/.test(t.type))}),i.fn[t]=h._jQueryInterface,i.fn[t].Constructor=h,i.fn[t].noConflict=function(){return i.fn[t]=r,h._jQueryInterface}}(jQuery),function(a){var e="carousel",o="bs.carousel",t="."+o,n=".data-api",i=a.fn[e],r={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},s={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},l="next",c="prev",u={SLIDE:"slide"+t,SLID:"slid"+t,KEYDOWN:"keydown"+t,MOUSEENTER:"mouseenter"+t,MOUSELEAVE:"mouseleave"+t,LOAD_DATA_API:"load"+t+n,CLICK_DATA_API:"click"+t+n},f="carousel",d="active",p="slide",h="right",m="left",g=".active",v=".active.carousel-item",y=".carousel-item",b=".next, .prev",w=".carousel-indicators",n="[data-slide], [data-slide-to]",x='[data-ride="carousel"]',_=(S.prototype.next=function(){this._isSliding||this._slide(l)},S.prototype.nextWhenVisible=function(){document.hidden||this.next()},S.prototype.prev=function(){this._isSliding||this._slide(c)},S.prototype.pause=function(t){t||(this._isPaused=!0),a(this._element).find(b)[0]&&k.supportsTransitionEnd()&&(k.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},S.prototype.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval(a.proxy(document.visibilityState?this.nextWhenVisible:this.next,this),this._config.interval))},S.prototype.to=function(t){var e=this;this._activeElement=a(this._element).find(v)[0];var n=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)a(this._element).one(u.SLID,function(){return e.to(t)});else{if(n===t)return this.pause(),void this.cycle();n=n<t?l:c;this._slide(n,this._items[t])}},S.prototype.dispose=function(){a(this._element).off(t),a.removeData(this._element,o),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},S.prototype._getConfig=function(t){return t=a.extend({},r,t),k.typeCheckConfig(e,t,s),t},S.prototype._addEventListeners=function(){this._config.keyboard&&a(this._element).on(u.KEYDOWN,a.proxy(this._keydown,this)),"hover"!==this._config.pause||"ontouchstart"in document.documentElement||a(this._element).on(u.MOUSEENTER,a.proxy(this.pause,this)).on(u.MOUSELEAVE,a.proxy(this.cycle,this))},S.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()}},S.prototype._getItemIndex=function(t){return this._items=a.makeArray(a(t).parent().find(y)),this._items.indexOf(t)},S.prototype._getItemByDirection=function(t,e){var n=t===l,i=t===c,o=this._getItemIndex(e),r=this._items.length-1;if((i&&0===o||n&&o===r)&&!this._config.wrap)return e;t=(o+(t===c?-1:1))%this._items.length;return-1==t?this._items[this._items.length-1]:this._items[t]},S.prototype._triggerSlideEvent=function(t,e){e=a.Event(u.SLIDE,{relatedTarget:t,direction:e});return a(this._element).trigger(e),e},S.prototype._setActiveIndicatorElement=function(t){this._indicatorsElement&&(a(this._indicatorsElement).find(g).removeClass(d),(t=this._indicatorsElement.children[this._getItemIndex(t)])&&a(t).addClass(d))},S.prototype._slide=function(t,e){var n,i=this,o=a(this._element).find(v)[0],r=e||o&&this._getItemByDirection(t,o),e=Boolean(this._interval),s=t===l?m:h;r&&a(r).hasClass(d)?this._isSliding=!1:!this._triggerSlideEvent(r,s).isDefaultPrevented()&&o&&r&&(this._isSliding=!0,e&&this.pause(),this._setActiveIndicatorElement(r),n=a.Event(u.SLID,{relatedTarget:r,direction:s}),k.supportsTransitionEnd()&&a(this._element).hasClass(p)?(a(r).addClass(t),k.reflow(r),a(o).addClass(s),a(r).addClass(s),a(o).one(k.TRANSITION_END,function(){a(r).removeClass(s).removeClass(t),a(r).addClass(d),a(o).removeClass(d).removeClass(t).removeClass(s),i._isSliding=!1,setTimeout(function(){return a(i._element).trigger(n)},0)}).emulateTransitionEnd(600)):(a(o).removeClass(d),a(r).addClass(d),this._isSliding=!1,a(this._element).trigger(n)),e&&this.cycle())},S._jQueryInterface=function(i){return this.each(function(){var t=a(this).data(o),e=a.extend({},r,a(this).data());"object"===(void 0===i?"undefined":E(i))&&a.extend(e,i);var n="string"==typeof i?i:e.slide;if(t||(t=new S(this,e),a(this).data(o,t)),"number"==typeof i)t.to(i);else if("string"==typeof n){if(void 0===t[n])throw new Error('No method named "'+n+'"');t[n]()}else e.interval&&(t.pause(),t.cycle())})},S._dataApiClickHandler=function(t){var e,n,i=k.getSelectorFromElement(this);!i||(e=a(i)[0])&&a(e).hasClass(f)&&(n=a.extend({},a(e).data(),a(this).data()),(i=this.getAttribute("data-slide-to"))&&(n.interval=!1),S._jQueryInterface.call(a(e),n),i&&a(e).data(o).to(i),t.preventDefault())},T(S,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}},{key:"Default",get:function(){return r}}]),S);function S(t,e){C(this,S),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this._config=this._getConfig(e),this._element=a(t)[0],this._indicatorsElement=a(this._element).find(w)[0],this._addEventListeners()}a(document).on(u.CLICK_DATA_API,n,_._dataApiClickHandler),a(window).on(u.LOAD_DATA_API,function(){a(x).each(function(){var t=a(this);_._jQueryInterface.call(t,t.data())})}),a.fn[e]=_._jQueryInterface,a.fn[e].Constructor=_,a.fn[e].noConflict=function(){return a.fn[e]=i,_._jQueryInterface}}(jQuery),function(r){var e="collapse",s="bs.collapse",t="."+s,n=r.fn[e],o={toggle:!0,parent:""},i={toggle:"boolean",parent:"string"},a={SHOW:"show"+t,SHOWN:"shown"+t,HIDE:"hide"+t,HIDDEN:"hidden"+t,CLICK_DATA_API:"click"+t+".data-api"},l="in",c="collapse",u="collapsing",f="collapsed",d="width",p="height",h=".card > .in, .card > .collapsing",t='[data-toggle="collapse"]',m=(g.prototype.toggle=function(){r(this._element).hasClass(l)?this.hide():this.show()},g.prototype.show=function(){var t,e,n,i,o=this;this._isTransitioning||r(this._element).hasClass(l)||(n=i=void 0,this._parent&&((i=r.makeArray(r(h))).length||(i=null)),i&&((n=r(i).data(s))&&n._isTransitioning)||(t=r.Event(a.SHOW),r(this._element).trigger(t),t.isDefaultPrevented()||(i&&(g._jQueryInterface.call(r(i),"hide"),n||r(i).data(s,null)),e=this._getDimension(),r(this._element).removeClass(c).addClass(u),this._element.style[e]=0,this._element.setAttribute("aria-expanded",!0),this._triggerArray.length&&r(this._triggerArray).removeClass(f).attr("aria-expanded",!0),this.setTransitioning(!0),n=function(){r(o._element).removeClass(u).addClass(c).addClass(l),o._element.style[e]="",o.setTransitioning(!1),r(o._element).trigger(a.SHOWN)},k.supportsTransitionEnd()?(i=e[0].toUpperCase()+e.slice(1),r(this._element).one(k.TRANSITION_END,n).emulateTransitionEnd(600),this._element.style[e]=this._element["scroll"+i]+"px"):n())))},g.prototype.hide=function(){var t=this;if(!this._isTransitioning&&r(this._element).hasClass(l)){var e=r.Event(a.HIDE);if(r(this._element).trigger(e),!e.isDefaultPrevented()){var n=this._getDimension(),e=n===d?"offsetWidth":"offsetHeight";this._element.style[n]=this._element[e]+"px",k.reflow(this._element),r(this._element).addClass(u).removeClass(c).removeClass(l),this._element.setAttribute("aria-expanded",!1),this._triggerArray.length&&r(this._triggerArray).addClass(f).attr("aria-expanded",!1),this.setTransitioning(!0);e=function(){t.setTransitioning(!1),r(t._element).removeClass(u).addClass(c).trigger(a.HIDDEN)};return this._element.style[n]="",k.supportsTransitionEnd()?void r(this._element).one(k.TRANSITION_END,e).emulateTransitionEnd(600):void e()}}},g.prototype.setTransitioning=function(t){this._isTransitioning=t},g.prototype.dispose=function(){r.removeData(this._element,s),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},g.prototype._getConfig=function(t){return(t=r.extend({},o,t)).toggle=Boolean(t.toggle),k.typeCheckConfig(e,t,i),t},g.prototype._getDimension=function(){return r(this._element).hasClass(d)?d:p},g.prototype._getParent=function(){var n=this,t=r(this._config.parent)[0],e='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]';return r(t).find(e).each(function(t,e){n._addAriaAndCollapsedClass(g._getTargetFromElement(e),[e])}),t},g.prototype._addAriaAndCollapsedClass=function(t,e){var n;t&&(n=r(t).hasClass(l),t.setAttribute("aria-expanded",n),e.length&&r(e).toggleClass(f,!n).attr("aria-expanded",n))},g._getTargetFromElement=function(t){t=k.getSelectorFromElement(t);return t?r(t)[0]:null},g._jQueryInterface=function(i){return this.each(function(){var t=r(this),e=t.data(s),n=r.extend({},o,t.data(),"object"===(void 0===i?"undefined":E(i))&&i);if(!e&&n.toggle&&/show|hide/.test(i)&&(n.toggle=!1),e||(e=new g(this,n),t.data(s,e)),"string"==typeof i){if(void 0===e[i])throw new Error('No method named "'+i+'"');e[i]()}})},T(g,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}},{key:"Default",get:function(){return o}}]),g);function g(t,e){C(this,g),this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=r.makeArray(r('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]')),this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}r(document).on(a.CLICK_DATA_API,t,function(t){t.preventDefault();var e=m._getTargetFromElement(this),t=r(e).data(s)?"toggle":r(this).data();m._jQueryInterface.call(r(e),t)}),r.fn[e]=m._jQueryInterface,r.fn[e].Constructor=m,r.fn[e].noConflict=function(){return r.fn[e]=n,m._jQueryInterface}}(jQuery),function(a){var t="dropdown",n="bs.dropdown",e="."+n,i=".data-api",o=a.fn[t],l={HIDE:"hide"+e,HIDDEN:"hidden"+e,SHOW:"show"+e,SHOWN:"shown"+e,CLICK:"click"+e,CLICK_DATA_API:"click"+e+i,KEYDOWN_DATA_API:"keydown"+e+i},r="dropdown-backdrop",s="disabled",c="open",u=".dropdown-backdrop",f='[data-toggle="dropdown"]',d=".dropdown form",p='[role="menu"]',i='[role="listbox"]',h=".navbar-nav",m='[role="menu"] li:not(.disabled) a, [role="listbox"] li:not(.disabled) a',g=(v.prototype.toggle=function(){if(this.disabled||a(this).hasClass(s))return!1;var t=v._getParentFromElement(this),e=a(t).hasClass(c);if(v._clearMenus(),e)return!1;"ontouchstart"in document.documentElement&&!a(t).closest(h).length&&((n=document.createElement("div")).className=r,a(n).insertBefore(this),a(n).on("click",v._clearMenus));var e={relatedTarget:this},n=a.Event(l.SHOW,e);return a(t).trigger(n),!n.isDefaultPrevented()&&(this.focus(),this.setAttribute("aria-expanded","true"),a(t).toggleClass(c),a(t).trigger(a.Event(l.SHOWN,e)),!1)},v.prototype.dispose=function(){a.removeData(this._element,n),a(this._element).off(e),this._element=null},v.prototype._addEventListeners=function(){a(this._element).on(l.CLICK,this.toggle)},v._jQueryInterface=function(e){return this.each(function(){var t=a(this).data(n);if(t||a(this).data(n,t=new v(this)),"string"==typeof e){if(void 0===t[e])throw new Error('No method named "'+e+'"');t[e].call(this)}})},v._clearMenus=function(t){if(!t||3!==t.which){var e=a(u)[0];e&&e.parentNode.removeChild(e);for(var n=a.makeArray(a(f)),i=0;i<n.length;i++){var o,r=v._getParentFromElement(n[i]),s={relatedTarget:n[i]};!a(r).hasClass(c)||t&&"click"===t.type&&/input|textarea/i.test(t.target.tagName)&&a.contains(r,t.target)||(o=a.Event(l.HIDE,s),a(r).trigger(o),o.isDefaultPrevented()||(n[i].setAttribute("aria-expanded","false"),a(r).removeClass(c).trigger(a.Event(l.HIDDEN,s))))}}},v._getParentFromElement=function(t){var e=void 0,n=k.getSelectorFromElement(t);return(e=n?a(n)[0]:e)||t.parentNode},v._dataApiKeydownHandler=function(t){if(/(38|40|27|32)/.test(t.which)&&!/input|textarea/i.test(t.target.tagName)&&(t.preventDefault(),t.stopPropagation(),!this.disabled&&!a(this).hasClass(s))){var e=v._getParentFromElement(this),n=a(e).hasClass(c);if(!n&&27!==t.which||n&&27===t.which)return 27===t.which&&(i=a(e).find(f)[0],a(i).trigger("focus")),void a(this).trigger("click");var i,e=a.makeArray(a(m));(e=e.filter(function(t){return t.offsetWidth||t.offsetHeight})).length&&(i=e.indexOf(t.target),38===t.which&&0<i&&i--,40===t.which&&i<e.length-1&&i++,e[i=i<0?0:i].focus())}},T(v,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}}]),v);function v(t){C(this,v),this._element=t,this._addEventListeners()}a(document).on(l.KEYDOWN_DATA_API,f,g._dataApiKeydownHandler).on(l.KEYDOWN_DATA_API,p,g._dataApiKeydownHandler).on(l.KEYDOWN_DATA_API,i,g._dataApiKeydownHandler).on(l.CLICK_DATA_API,g._clearMenus).on(l.CLICK_DATA_API,f,g.prototype.toggle).on(l.CLICK_DATA_API,d,function(t){t.stopPropagation()}),a.fn[t]=g._jQueryInterface,a.fn[t].Constructor=g,a.fn[t].noConflict=function(){return a.fn[t]=o,g._jQueryInterface}}(jQuery),function(r){var e="modal",s="bs.modal",t="."+s,n=r.fn[e],i={backdrop:!0,keyboard:!0,focus:!0,show:!0},o={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},a={HIDE:"hide"+t,HIDDEN:"hidden"+t,SHOW:"show"+t,SHOWN:"shown"+t,FOCUSIN:"focusin"+t,RESIZE:"resize"+t,CLICK_DISMISS:"click.dismiss"+t,KEYDOWN_DISMISS:"keydown.dismiss"+t,MOUSEUP_DISMISS:"mouseup.dismiss"+t,MOUSEDOWN_DISMISS:"mousedown.dismiss"+t,CLICK_DATA_API:"click"+t+".data-api"},l="modal-scrollbar-measure",c="modal-backdrop",u="modal-open",f="fade",d="in",p=".modal-dialog",h='[data-toggle="modal"]',m='[data-dismiss="modal"]',g=".navbar-fixed-top, .navbar-fixed-bottom, .is-fixed",v=(y.prototype.toggle=function(t){return this._isShown?this.hide():this.show(t)},y.prototype.show=function(t){var e=this,n=r.Event(a.SHOW,{relatedTarget:t});r(this._element).trigger(n),this._isShown||n.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),r(document.body).addClass(u),this._setEscapeEvent(),this._setResizeEvent(),r(this._element).on(a.CLICK_DISMISS,m,r.proxy(this.hide,this)),r(this._dialog).on(a.MOUSEDOWN_DISMISS,function(){r(e._element).one(a.MOUSEUP_DISMISS,function(t){r(t.target).is(e._element)&&(e._ignoreBackdropClick=!0)})}),this._showBackdrop(r.proxy(this._showElement,this,t)))},y.prototype.hide=function(t){t&&t.preventDefault();t=r.Event(a.HIDE);r(this._element).trigger(t),this._isShown&&!t.isDefaultPrevented()&&(this._isShown=!1,this._setEscapeEvent(),this._setResizeEvent(),r(document).off(a.FOCUSIN),r(this._element).removeClass(d),r(this._element).off(a.CLICK_DISMISS),r(this._dialog).off(a.MOUSEDOWN_DISMISS),k.supportsTransitionEnd()&&r(this._element).hasClass(f)?r(this._element).one(k.TRANSITION_END,r.proxy(this._hideModal,this)).emulateTransitionEnd(300):this._hideModal())},y.prototype.dispose=function(){r.removeData(this._element,s),r(window).off(t),r(document).off(t),r(this._element).off(t),r(this._backdrop).off(t),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},y.prototype._getConfig=function(t){return t=r.extend({},i,t),k.typeCheckConfig(e,t,o),t},y.prototype._showElement=function(t){var e=this,n=k.supportsTransitionEnd()&&r(this._element).hasClass(f);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&&k.reflow(this._element),r(this._element).addClass(d),this._config.focus&&this._enforceFocus();var i=r.Event(a.SHOWN,{relatedTarget:t}),t=function(){e._config.focus&&e._element.focus(),r(e._element).trigger(i)};n?r(this._dialog).one(k.TRANSITION_END,t).emulateTransitionEnd(300):t()},y.prototype._enforceFocus=function(){var e=this;r(document).off(a.FOCUSIN).on(a.FOCUSIN,function(t){document===t.target||e._element===t.target||r(e._element).has(t.target).length||e._element.focus()})},y.prototype._setEscapeEvent=function(){var e=this;this._isShown&&this._config.keyboard?r(this._element).on(a.KEYDOWN_DISMISS,function(t){27===t.which&&e.hide()}):this._isShown||r(this._element).off(a.KEYDOWN_DISMISS)},y.prototype._setResizeEvent=function(){this._isShown?r(window).on(a.RESIZE,r.proxy(this._handleUpdate,this)):r(window).off(a.RESIZE)},y.prototype._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden","true"),this._showBackdrop(function(){r(document.body).removeClass(u),t._resetAdjustments(),t._resetScrollbar(),r(t._element).trigger(a.HIDDEN)})},y.prototype._removeBackdrop=function(){this._backdrop&&(r(this._backdrop).remove(),this._backdrop=null)},y.prototype._showBackdrop=function(t){var e,n=this,i=r(this._element).hasClass(f)?f:"";this._isShown&&this._config.backdrop?(e=k.supportsTransitionEnd()&&i,this._backdrop=document.createElement("div"),this._backdrop.className=c,i&&r(this._backdrop).addClass(i),r(this._backdrop).appendTo(document.body),r(this._element).on(a.CLICK_DISMISS,function(t){return n._ignoreBackdropClick?void(n._ignoreBackdropClick=!1):void(t.target===t.currentTarget&&("static"===n._config.backdrop?n._element.focus():n.hide()))}),e&&k.reflow(this._backdrop),r(this._backdrop).addClass(d),t&&(e?r(this._backdrop).one(k.TRANSITION_END,t).emulateTransitionEnd(150):t())):!this._isShown&&this._backdrop?(r(this._backdrop).removeClass(d),e=function(){n._removeBackdrop(),t&&t()},k.supportsTransitionEnd()&&r(this._element).hasClass(f)?r(this._backdrop).one(k.TRANSITION_END,e).emulateTransitionEnd(150):e()):t&&t()},y.prototype._handleUpdate=function(){this._adjustDialog()},y.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")},y.prototype._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},y.prototype._checkScrollbar=function(){this._isBodyOverflowing=document.body.clientWidth<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},y.prototype._setScrollbar=function(){var t=parseInt(r(g).css("padding-right")||0,10);this._originalBodyPadding=document.body.style.paddingRight||"",this._isBodyOverflowing&&(document.body.style.paddingRight=t+this._scrollbarWidth+"px")},y.prototype._resetScrollbar=function(){document.body.style.paddingRight=this._originalBodyPadding},y.prototype._getScrollbarWidth=function(){var t=document.createElement("div");t.className=l,document.body.appendChild(t);var e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),e},y._jQueryInterface=function(n,i){return this.each(function(){var t=r(this).data(s),e=r.extend({},y.Default,r(this).data(),"object"===(void 0===n?"undefined":E(n))&&n);if(t||(t=new y(this,e),r(this).data(s,t)),"string"==typeof n){if(void 0===t[n])throw new Error('No method named "'+n+'"');t[n](i)}else e.show&&t.show(i)})},T(y,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}},{key:"Default",get:function(){return i}}]),y);function y(t,e){C(this,y),this._config=this._getConfig(e),this._element=t,this._dialog=r(t).find(p)[0],this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._originalBodyPadding=0,this._scrollbarWidth=0}r(document).on(a.CLICK_DATA_API,h,function(t){var e=this,n=void 0,i=k.getSelectorFromElement(this);i&&(n=r(i)[0]);i=r(n).data(s)?"toggle":r.extend({},r(n).data(),r(this).data());"A"===this.tagName&&t.preventDefault();var o=r(n).one(a.SHOW,function(t){t.isDefaultPrevented()||o.one(a.HIDDEN,function(){r(e).is(":visible")&&e.focus()})});v._jQueryInterface.call(r(n),i,this)}),r.fn[e]=v._jQueryInterface,r.fn[e].Constructor=v,r.fn[e].noConflict=function(){return r.fn[e]=n,v._jQueryInterface}}(jQuery),function(o){var n="scrollspy",i="bs.scrollspy",t="."+i,e=o.fn[n],r={offset:10,method:"auto",target:""},s={offset:"number",method:"string",target:"(string|element)"},a={ACTIVATE:"activate"+t,SCROLL:"scroll"+t,LOAD_DATA_API:"load"+t+".data-api"},l="dropdown-item",c="active",u='[data-spy="scroll"]',f=".active",d="li",p=".nav-link",h=".dropdown",m=".dropdown-item",g=".dropdown-toggle",v="offset",y="position",b=(w.prototype.refresh=function(){var e=this,t=this._scrollElement!==this._scrollElement.window?y:v,n="auto"===this._config.method?t:this._config.method,i=n===y?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),o.makeArray(o(this._selector)).map(function(t){var e=void 0,t=k.getSelectorFromElement(t);return(e=t?o(t)[0]:e)&&(e.offsetWidth||e.offsetHeight)?[o(e)[n]().top+i,t]:null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}).forEach(function(t){e._offsets.push(t[0]),e._targets.push(t[1])})},w.prototype.dispose=function(){o.removeData(this._element,i),o(this._scrollElement).off(t),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},w.prototype._getConfig=function(t){var e;return"string"!=typeof(t=o.extend({},r,t)).target&&((e=o(t.target).attr("id"))||(e=k.getUID(n),o(t.target).attr("id",e)),t.target="#"+e),k.typeCheckConfig(n,t,s),t},w.prototype._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.scrollY:this._scrollElement.scrollTop},w.prototype._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},w.prototype._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._scrollElement.offsetHeight;if(this._scrollHeight!==e&&this.refresh(),n<=t&&(n=this._targets[this._targets.length-1],this._activeTarget!==n&&this._activate(n)),this._activeTarget&&t<this._offsets[0])return this._activeTarget=null,void this._clear();for(var i=this._offsets.length;i--;)this._activeTarget!==this._targets[i]&&t>=this._offsets[i]&&(void 0===this._offsets[i+1]||t<this._offsets[i+1])&&this._activate(this._targets[i])},w.prototype._activate=function(e){this._activeTarget=e,this._clear();var t=(t=this._selector.split(",")).map(function(t){return t+'[data-target="'+e+'"],'+t+'[href="'+e+'"]'}),t=o(t.join(","));t.hasClass(l)?(t.closest(h).find(g).addClass(c),t.addClass(c)):t.parents(d).find(p).addClass(c),o(this._scrollElement).trigger(a.ACTIVATE,{relatedTarget:e})},w.prototype._clear=function(){o(this._selector).filter(f).removeClass(c)},w._jQueryInterface=function(n){return this.each(function(){var t=o(this).data(i),e="object"===(void 0===n?"undefined":E(n))&&n||null;if(t||(t=new w(this,e),o(this).data(i,t)),"string"==typeof n){if(void 0===t[n])throw new Error('No method named "'+n+'"');t[n]()}})},T(w,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}},{key:"Default",get:function(){return r}}]),w);function w(t,e){C(this,w),this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+" "+p+","+this._config.target+" "+m,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,o(this._scrollElement).on(a.SCROLL,o.proxy(this._process,this)),this.refresh(),this._process()}o(window).on(a.LOAD_DATA_API,function(){for(var t=o.makeArray(o(u)),e=t.length;e--;){var n=o(t[e]);b._jQueryInterface.call(n,n.data())}}),o.fn[n]=b._jQueryInterface,o.fn[n].Constructor=b,o.fn[n].noConflict=function(){return o.fn[n]=e,b._jQueryInterface}}(jQuery),function(a){var i="bs.tab",t="."+i,e=a.fn.tab,l={HIDE:"hide"+t,HIDDEN:"hidden"+t,SHOW:"show"+t,SHOWN:"shown"+t,CLICK_DATA_API:"click"+t+".data-api"},r="dropdown-menu",c="active",s="fade",u="in",f=".dropdown",d="ul:not(.dropdown-menu)",o="> .nav-item .fade, > .fade",p=".active",h="> .nav-item > .active, > .active",t='[data-toggle="tab"], [data-toggle="pill"]',m=".dropdown-toggle",g="> .dropdown-menu .active",n=(v.prototype.show=function(){var t,n,e,i,o,r,s=this;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&a(this._element).hasClass(c)||(n=t=void 0,r=a(this._element).closest(d)[0],e=k.getSelectorFromElement(this._element),r&&(n=(n=a.makeArray(a(r).find(p)))[n.length-1]),i=a.Event(l.HIDE,{relatedTarget:this._element}),o=a.Event(l.SHOW,{relatedTarget:n}),n&&a(n).trigger(i),a(this._element).trigger(o),o.isDefaultPrevented()||i.isDefaultPrevented()||(e&&(t=a(e)[0]),this._activate(this._element,r),r=function(){var t=a.Event(l.HIDDEN,{relatedTarget:s._element}),e=a.Event(l.SHOWN,{relatedTarget:n});a(n).trigger(t),a(s._element).trigger(e)},t?this._activate(t,t.parentNode,r):r()))},v.prototype.dispose=function(){a.removeClass(this._element,i),this._element=null},v.prototype._activate=function(t,e,n){var i=a(e).find(h)[0],e=n&&k.supportsTransitionEnd()&&(i&&a(i).hasClass(s)||Boolean(a(e).find(o)[0])),n=a.proxy(this._transitionComplete,this,t,i,e,n);i&&e?a(i).one(k.TRANSITION_END,n).emulateTransitionEnd(150):n(),i&&a(i).removeClass(u)},v.prototype._transitionComplete=function(t,e,n,i){var o;e&&(a(e).removeClass(c),(o=a(e).find(g)[0])&&a(o).removeClass(c),e.setAttribute("aria-expanded",!1)),a(t).addClass(c),t.setAttribute("aria-expanded",!0),n?(k.reflow(t),a(t).addClass(u)):a(t).removeClass(s),t.parentNode&&a(t.parentNode).hasClass(r)&&((n=a(t).closest(f)[0])&&a(n).find(m).addClass(c),t.setAttribute("aria-expanded",!0)),i&&i()},v._jQueryInterface=function(n){return this.each(function(){var t=a(this),e=t.data(i);if(e||(e=new v(this),t.data(i,e)),"string"==typeof n){if(void 0===e[n])throw new Error('No method named "'+n+'"');e[n]()}})},T(v,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}}]),v);function v(t){C(this,v),this._element=t}a(document).on(l.CLICK_DATA_API,t,function(t){t.preventDefault(),n._jQueryInterface.call(a(this),"show")}),a.fn.tab=n._jQueryInterface,a.fn.tab.Constructor=n,a.fn.tab.noConflict=function(){return a.fn.tab=e,n._jQueryInterface}}(jQuery),m=function(r){if(void 0===window.Tether)throw new Error("Bootstrap tooltips require Tether (http://tether.io/)");var e="tooltip",i="bs.tooltip",t="."+i,n=r.fn[e],o={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:[]},s={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"},a={TOP:"bottom center",RIGHT:"middle left",BOTTOM:"top center",LEFT:"middle right"},l="in",c="out",u={HIDE:"hide"+t,HIDDEN:"hidden"+t,SHOW:"show"+t,SHOWN:"shown"+t,INSERTED:"inserted"+t,CLICK:"click"+t,FOCUSIN:"focusin"+t,FOCUSOUT:"focusout"+t,MOUSEENTER:"mouseenter"+t,MOUSELEAVE:"mouseleave"+t},f="fade",d="in",p=".tooltip-inner",h={element:!1,enabled:!1},m="hover",g="focus",v="manual",y=(b.prototype.enable=function(){this._isEnabled=!0},b.prototype.disable=function(){this._isEnabled=!1},b.prototype.toggleEnabled=function(){this._isEnabled=!this._isEnabled},b.prototype.toggle=function(t){var e,n;t?(e=this.constructor.DATA_KEY,(n=r(t.currentTarget).data(e))||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),r(t.currentTarget).data(e,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)):r(this.getTipElement()).hasClass(d)?this._leave(null,this):this._enter(null,this)},b.prototype.dispose=function(){clearTimeout(this._timeout),this.cleanupTether(),r.removeData(this.element,this.constructor.DATA_KEY),r(this.element).off(this.constructor.EVENT_KEY),this.tip&&r(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},b.prototype.show=function(){var t,e=this,n=r.Event(this.constructor.Event.SHOW);this.isWithContent()&&this._isEnabled&&(r(this.element).trigger(n),t=r.contains(this.element.ownerDocument.documentElement,this.element),!n.isDefaultPrevented()&&t&&(n=this.getTipElement(),t=k.getUID(this.constructor.NAME),n.setAttribute("id",t),this.element.setAttribute("aria-describedby",t),this.setContent(),this.config.animation&&r(n).addClass(f),t="function"==typeof this.config.placement?this.config.placement.call(this,n,this.element):this.config.placement,t=this._getAttachment(t),r(n).data(this.constructor.DATA_KEY,this).appendTo(document.body),r(this.element).trigger(this.constructor.Event.INSERTED),this._tether=new Tether({attachment:t,element:n,target:this.element,classes:h,classPrefix:"bs-tether",offset:this.config.offset,constraints:this.config.constraints,addTargetClasses:!1}),k.reflow(n),this._tether.position(),r(n).addClass(d),n=function(){var t=e._hoverState;e._hoverState=null,r(e.element).trigger(e.constructor.Event.SHOWN),t===c&&e._leave(null,e)},k.supportsTransitionEnd()&&r(this.tip).hasClass(f)?r(this.tip).one(k.TRANSITION_END,n).emulateTransitionEnd(b._TRANSITION_DURATION):n()))},b.prototype.hide=function(t){function e(){n._hoverState!==l&&i.parentNode&&i.parentNode.removeChild(i),n.element.removeAttribute("aria-describedby"),r(n.element).trigger(n.constructor.Event.HIDDEN),n.cleanupTether(),t&&t()}var n=this,i=this.getTipElement(),o=r.Event(this.constructor.Event.HIDE);r(this.element).trigger(o),o.isDefaultPrevented()||(r(i).removeClass(d),k.supportsTransitionEnd()&&r(this.tip).hasClass(f)?r(i).one(k.TRANSITION_END,e).emulateTransitionEnd(150):e(),this._hoverState="")},b.prototype.isWithContent=function(){return Boolean(this.getTitle())},b.prototype.getTipElement=function(){return this.tip=this.tip||r(this.config.template)[0]},b.prototype.setContent=function(){var t=r(this.getTipElement());this.setElementContent(t.find(p),this.getTitle()),t.removeClass(f).removeClass(d),this.cleanupTether()},b.prototype.setElementContent=function(t,e){var n=this.config.html;"object"===(void 0===e?"undefined":E(e))&&(e.nodeType||e.jquery)?n?r(e).parent().is(t)||t.empty().append(e):t.text(r(e).text()):t[n?"html":"text"](e)},b.prototype.getTitle=function(){return this.element.getAttribute("data-original-title")||("function"==typeof this.config.title?this.config.title.call(this.element):this.config.title)},b.prototype.cleanupTether=function(){this._tether&&this._tether.destroy()},b.prototype._getAttachment=function(t){return a[t.toUpperCase()]},b.prototype._setListeners=function(){var n=this;this.config.trigger.split(" ").forEach(function(t){var e;"click"===t?r(n.element).on(n.constructor.Event.CLICK,n.config.selector,r.proxy(n.toggle,n)):t!==v&&(e=t===m?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,t=t===m?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT,r(n.element).on(e,n.config.selector,r.proxy(n._enter,n)).on(t,n.config.selector,r.proxy(n._leave,n)))}),this.config.selector?this.config=r.extend({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},b.prototype._fixTitle=function(){var t=E(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",""))},b.prototype._enter=function(t,e){var n=this.constructor.DATA_KEY;return(e=e||r(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),r(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusin"===t.type?g:m]=!0),r(e.getTipElement()).hasClass(d)||e._hoverState===l?void(e._hoverState=l):(clearTimeout(e._timeout),e._hoverState=l,e.config.delay&&e.config.delay.show?void(e._timeout=setTimeout(function(){e._hoverState===l&&e.show()},e.config.delay.show)):void e.show())},b.prototype._leave=function(t,e){var n=this.constructor.DATA_KEY;if((e=e||r(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),r(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusout"===t.type?g:m]=!1),!e._isWithActiveTrigger())return clearTimeout(e._timeout),e._hoverState=c,e.config.delay&&e.config.delay.hide?void(e._timeout=setTimeout(function(){e._hoverState===c&&e.hide()},e.config.delay.hide)):void e.hide()},b.prototype._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},b.prototype._getConfig=function(t){return(t=r.extend({},this.constructor.Default,r(this.element).data(),t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),k.typeCheckConfig(e,t,this.constructor.DefaultType),t},b.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},b._jQueryInterface=function(n){return this.each(function(){var t=r(this).data(i),e="object"===(void 0===n?"undefined":E(n))?n:null;if((t||!/dispose|hide/.test(n))&&(t||(t=new b(this,e),r(this).data(i,t)),"string"==typeof n)){if(void 0===t[n])throw new Error('No method named "'+n+'"');t[n]()}})},T(b,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}},{key:"Default",get:function(){return o}},{key:"NAME",get:function(){return e}},{key:"DATA_KEY",get:function(){return i}},{key:"Event",get:function(){return u}},{key:"EVENT_KEY",get:function(){return t}},{key:"DefaultType",get:function(){return s}}]),b);function b(t,e){C(this,b),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._tether=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}return r.fn[e]=y._jQueryInterface,r.fn[e].Constructor=y,r.fn[e].noConflict=function(){return r.fn[e]=n,y._jQueryInterface},y}(jQuery),function(i){var t,e="popover",o="bs.popover",n="."+o,r=i.fn[e],s=i.extend({},m.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),a=i.extend({},m.DefaultType,{content:"(string|element|function)"}),l="fade",c="in",u=".popover-title",f=".popover-content",d={HIDE:"hide"+n,HIDDEN:"hidden"+n,SHOW:"show"+n,SHOWN:"shown"+n,INSERTED:"inserted"+n,CLICK:"click"+n,FOCUSIN:"focusin"+n,FOCUSOUT:"focusout"+n,MOUSEENTER:"mouseenter"+n,MOUSELEAVE:"mouseleave"+n},p=(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)}(h,t=m),h.prototype.isWithContent=function(){return this.getTitle()||this._getContent()},h.prototype.getTipElement=function(){return this.tip=this.tip||i(this.config.template)[0]},h.prototype.setContent=function(){var t=i(this.getTipElement());this.setElementContent(t.find(u),this.getTitle()),this.setElementContent(t.find(f),this._getContent()),t.removeClass(l).removeClass(c),this.cleanupTether()},h.prototype._getContent=function(){return this.element.getAttribute("data-content")||("function"==typeof this.config.content?this.config.content.call(this.element):this.config.content)},h._jQueryInterface=function(n){return this.each(function(){var t=i(this).data(o),e="object"===(void 0===n?"undefined":E(n))?n:null;if((t||!/destroy|hide/.test(n))&&(t||(t=new h(this,e),i(this).data(o,t)),"string"==typeof n)){if(void 0===t[n])throw new Error('No method named "'+n+'"');t[n]()}})},T(h,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}},{key:"Default",get:function(){return s}},{key:"NAME",get:function(){return e}},{key:"DATA_KEY",get:function(){return o}},{key:"Event",get:function(){return d}},{key:"EVENT_KEY",get:function(){return n}},{key:"DefaultType",get:function(){return a}}]),h);function h(){return C(this,h),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,t.apply(this,arguments))}i.fn[e]=p._jQueryInterface,i.fn[e].Constructor=p,i.fn[e].noConflict=function(){return i.fn[e]=r,p._jQueryInterface}}(jQuery)},620:t=>{"use strict";var e="object"==typeof Reflect?Reflect:null,l=e&&"function"==typeof e.apply?e.apply:function(t,e,n){return Function.prototype.apply.call(t,e,n)};var n=e&&"function"==typeof e.ownKeys?e.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)},i=Number.isNaN||function(t){return t!=t};function o(){o.init.call(this)}t.exports=o,t.exports.once=function(a,l){return new Promise(function(t,e){function n(t){a.removeListener(l,i),e(t)}function i(){"function"==typeof a.removeListener&&a.removeListener("error",n),t([].slice.call(arguments))}var o,r,s;h(a,l,i,{once:!0}),"error"!==l&&(r=n,s={once:!0},"function"==typeof(o=a).on&&h(o,"error",r,s))})},(o.EventEmitter=o).prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var r=10;function a(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function s(t){return void 0===t._maxListeners?o.defaultMaxListeners:t._maxListeners}function c(t,e,n,i){var o,r;return a(n),void 0===(o=t._events)?(o=t._events=Object.create(null),t._eventsCount=0):(void 0!==o.newListener&&(t.emit("newListener",e,n.listener||n),o=t._events),r=o[e]),void 0===r?(r=o[e]=n,++t._eventsCount):("function"==typeof r?r=o[e]=i?[n,r]:[r,n]:i?r.unshift(n):r.push(n),0<(n=s(t))&&r.length>n&&!r.warned&&(r.warned=!0,(n=new Error("Possible EventEmitter memory leak detected. "+r.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit")).name="MaxListenersExceededWarning",n.emitter=t,n.type=e,n.count=r.length,console&&console.warn)),t}function u(t,e,n){t={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},e=function(){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)}.bind(t);return e.listener=n,t.wrapFn=e}function f(t,e,n){t=t._events;if(void 0===t)return[];e=t[e];return void 0===e?[]:"function"==typeof e?n?[e.listener||e]:[e]:n?function(t){for(var e=new Array(t.length),n=0;n<e.length;++n)e[n]=t[n].listener||t[n];return e}(e):p(e,e.length)}function d(t){var e=this._events;if(void 0!==e){t=e[t];if("function"==typeof t)return 1;if(void 0!==t)return t.length}return 0}function p(t,e){for(var n=new Array(e),i=0;i<e;++i)n[i]=t[i];return n}function h(n,i,o,r){if("function"==typeof n.on)r.once?n.once(i,o):n.on(i,o);else{if("function"!=typeof n.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof n);n.addEventListener(i,function t(e){r.once&&n.removeEventListener(i,t),o(e)})}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return r},set:function(t){if("number"!=typeof t||t<0||i(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");r=t}}),o.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},o.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||i(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},o.prototype.getMaxListeners=function(){return s(this)},o.prototype.emit=function(t){for(var e=[],n=1;n<arguments.length;n++)e.push(arguments[n]);var i,o="error"===t,r=this._events;if(void 0!==r)o=o&&void 0===r.error;else if(!o)return!1;if(o){if((i=0<e.length?e[0]:i)instanceof Error)throw i;o=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw o.context=i,o}t=r[t];if(void 0===t)return!1;if("function"==typeof t)l(t,this,e);else for(var s=t.length,a=p(t,s),n=0;n<s;++n)l(a[n],this,e);return!0},o.prototype.on=o.prototype.addListener=function(t,e){return c(this,t,e,!1)},o.prototype.prependListener=function(t,e){return c(this,t,e,!0)},o.prototype.once=function(t,e){return a(e),this.on(t,u(this,t,e)),this},o.prototype.prependOnceListener=function(t,e){return a(e),this.prependListener(t,u(this,t,e)),this},o.prototype.removeListener=function(t,e){var n,i,o,r,s;if(a(e),void 0===(i=this._events))return this;if(void 0===(n=i[t]))return this;if(n===e||n.listener===e)0==--this._eventsCount?this._events=Object.create(null):(delete i[t],i.removeListener&&this.emit("removeListener",t,n.listener||e));else if("function"!=typeof n){for(o=-1,r=n.length-1;0<=r;r--)if(n[r]===e||n[r].listener===e){s=n[r].listener,o=r;break}if(o<0)return this;0===o?n.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(n,o),1===n.length&&(i[t]=n[0]),void 0!==i.removeListener&&this.emit("removeListener",t,s||e)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(t){var e,n=this._events;if(void 0===n)return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[t]),this;if(0===arguments.length){for(var i,o=Object.keys(n),r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(e=n[t]))this.removeListener(t,e);else if(void 0!==e)for(r=e.length-1;0<=r;r--)this.removeListener(t,e[r]);return this},o.prototype.listeners=function(t){return f(this,t,!0)},o.prototype.rawListeners=function(t){return f(this,t,!1)},o.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):d.call(t,e)},o.prototype.listenerCount=d,o.prototype.eventNames=function(){return 0<this._eventsCount?n(this._events):[]}},648:(t,e,n)=>{"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!==n.g)return n.g}return t}()},644:t=>{t.exports=function i(o,r,s){function a(n,t){if(!r[n]){if(!o[n]){if(0,l)return l(n,!0);var e=new Error("Cannot find module '"+n+"'");throw e.code="MODULE_NOT_FOUND",e}e=r[n]={exports:{}};o[n][0].call(e.exports,function(t){var e=o[n][1][t];return a(e||t)},e,e.exports,i,o,r,s)}return r[n].exports}for(var l=void 0,t=0;t<s.length;t++)a(s[t]);return a}({1:[function(t,e){e.exports=function(t){var e,n,i,o=-1;if(1<t.lines.length&&"flex-start"===t.style.alignContent)for(e=0;i=t.lines[++o];)i.crossStart=e,e+=i.cross;else if(1<t.lines.length&&"flex-end"===t.style.alignContent)for(e=t.flexStyle.crossSpace;i=t.lines[++o];)i.crossStart=e,e+=i.cross;else if(1<t.lines.length&&"center"===t.style.alignContent)for(e=t.flexStyle.crossSpace/2;i=t.lines[++o];)i.crossStart=e,e+=i.cross;else if(1<t.lines.length&&"space-between"===t.style.alignContent)for(n=t.flexStyle.crossSpace/(t.lines.length-1),e=0;i=t.lines[++o];)i.crossStart=e,e+=i.cross+n;else if(1<t.lines.length&&"space-around"===t.style.alignContent)for(e=(n=2*t.flexStyle.crossSpace/(2*t.lines.length))/2;i=t.lines[++o];)i.crossStart=e,e+=i.cross+n;else for(n=t.flexStyle.crossSpace/t.lines.length,e=t.flexStyle.crossInnerBefore;i=t.lines[++o];)i.crossStart=e,i.cross+=n,e+=i.cross}},{}],2:[function(t,e){e.exports=function(t){for(var e,n=-1;line=t.lines[++n];)for(e=-1;child=line.children[++e];){var i=child.style.alignSelf;"flex-start"===(i="auto"===i?t.style.alignItems:i)?child.flexStyle.crossStart=line.crossStart:"flex-end"===i?child.flexStyle.crossStart=line.crossStart+line.cross-child.flexStyle.crossOuter:"center"===i?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){e.exports=function(t,e){var n="row"===e||"row-reverse"===e,e=t.mainAxis;e?n&&"inline"===e||!n&&"block"===e||(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=n?{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=n?"inline":"block",t.crossAxis=n?"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){var o=t("../reduce");e.exports=function(n){var i;0<n.mainSpace&&(0<(i=o(n.children,function(t,e){return t+parseFloat(e.style.flexGrow)},0))&&(n.main=o(n.children,function(t,e){return"auto"===e.flexStyle.main?e.flexStyle.main=e.flexStyle.mainOffset+parseFloat(e.style.flexGrow)/i*n.mainSpace:e.flexStyle.main+=parseFloat(e.style.flexGrow)/i*n.mainSpace,e.flexStyle.mainOuter=e.flexStyle.main+e.flexStyle.mainBefore+e.flexStyle.mainAfter,t+e.flexStyle.mainOuter},0),n.mainSpace=0))}},{"../reduce":12}],5:[function(t,e){var o=t("../reduce");e.exports=function(n){var i;n.mainSpace<0&&(0<(i=o(n.children,function(t,e){return t+parseFloat(e.style.flexShrink)},0))&&(n.main=o(n.children,function(t,e){return e.flexStyle.main+=parseFloat(e.style.flexShrink)/i*n.mainSpace,e.flexStyle.mainOuter=e.flexStyle.main+e.flexStyle.mainBefore+e.flexStyle.mainAfter,t+e.flexStyle.mainOuter},0),n.mainSpace=0))}},{"../reduce":12}],6:[function(t,e){var o=t("../reduce");e.exports=function(t){var e;t.lines=[e={main:0,cross:0,children:[]}];for(var n,i=-1;n=t.children[++i];)"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+n.flexStyle.mainOuter?(e.main+=n.flexStyle.mainOuter,e.cross=Math.max(e.cross,n.flexStyle.crossOuter)):t.lines.push(e={main:n.flexStyle.mainOuter,cross:n.flexStyle.crossOuter,children:[]}),e.children.push(n);t.flexStyle.mainLines=o(t.lines,function(t,e){return Math.max(t,e.main)},0),t.flexStyle.crossLines=o(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(o,t){t.exports=function(t){for(var e,n,i=-1;e=t.children[++i];)o("./flex-direction")(e,t.style.flexDirection);for(o("./flex-direction")(t,t.style.flexDirection),o("./order")(t),o("./flexbox-lines")(t),o("./align-content")(t),i=-1;n=t.lines[++i];)n.mainSpace=t.flexStyle.main-t.flexStyle.mainInnerBefore-t.flexStyle.mainInnerAfter-t.flexStyle.mainBorderBefore-t.flexStyle.mainBorderAfter-n.main,o("./flex-grow")(n),o("./flex-shrink")(n),o("./margin-main")(n),o("./margin-cross")(n),o("./justify-content")(n,t.style.justifyContent,t);o("./align-items")(t)}},{"./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){e.exports=function(t,e,n){var i,o,r,n=n.flexStyle.mainInnerBefore,s=-1;if("flex-end"===e)for(i=t.mainSpace,i+=n;r=t.children[++s];)r.flexStyle.mainStart=i,i+=r.flexStyle.mainOuter;else if("center"===e)for(i=t.mainSpace/2,i+=n;r=t.children[++s];)r.flexStyle.mainStart=i,i+=r.flexStyle.mainOuter;else if("space-between"===e)for(o=t.mainSpace/(t.children.length-1),i=0,i+=n;r=t.children[++s];)r.flexStyle.mainStart=i,i+=r.flexStyle.mainOuter+o;else if("space-around"===e)for(i=(o=2*t.mainSpace/(2*t.children.length))/2,i+=n;r=t.children[++s];)r.flexStyle.mainStart=i,i+=r.flexStyle.mainOuter+o;else for(i=0,i+=n;r=t.children[++s];)r.flexStyle.mainStart=i,i+=r.flexStyle.mainOuter}},{}],9:[function(t,e){e.exports=function(t){for(var e,n=-1;e=t.children[++n];){var i=0;"auto"===e.flexStyle.crossBefore&&++i,"auto"===e.flexStyle.crossAfter&&++i;var o=t.cross-e.flexStyle.crossOuter;"auto"===e.flexStyle.crossBefore&&(e.flexStyle.crossBefore=o/i),"auto"===e.flexStyle.crossAfter&&(e.flexStyle.crossAfter=o/i),"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){e.exports=function(t){for(var e,n=0,i=-1;e=t.children[++i];)"auto"===e.flexStyle.mainBefore&&++n,"auto"===e.flexStyle.mainAfter&&++n;if(0<n){for(i=-1;e=t.children[++i];)"auto"===e.flexStyle.mainBefore&&(e.flexStyle.mainBefore=t.mainSpace/n),"auto"===e.flexStyle.mainAfter&&(e.flexStyle.mainAfter=t.mainSpace/n),"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){e.exports=function(t){t.children.sort(function(t,e){return t.style.order-e.style.order||t.index-e.index}),/^(column|row)-reverse$/.test(t.style.flexDirection)&&t.children.reverse()}},{}],12:[function(t,e){e.exports=function(t,e,n){for(var i=t.length,o=-1;++o<i;)o in t&&(n=e(n,t[o],o));return n}},{}],13:[function(t,e){var n=t("./read"),i=t("./write"),o=t("./readAll"),r=t("./writeAll");e.exports=function(t){r(o(t))},e.exports.read=n,e.exports.write=i,e.exports.readAll=o,e.exports.writeAll=r},{"./read":15,"./readAll":16,"./write":17,"./writeAll":18}],14:[function(t,e){e.exports=function(t,e,n){var i=t[e],o=String(i).match(s);if(o)return r=o[1],"px"===(o=o[2])?+r:"cm"===o?.3937*r*96:"in"===o?96*r:"mm"===o?.3937*r*96/10:"pc"===o?12*r*96/72:"pt"===o?96*r/72:"rem"===o?16*r:function(t,e){a.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(a,e.nextSibling);t=a.offsetWidth;return e.parentNode.removeChild(a),t}(i,n);var r=e.match(c);return r?"none"!==t["border"+r[1]+"Style"]&&l[i]||0:i};var s=/^([-+]?\d*\.?\d+)(%|[a-z]+)$/,a=document.createElement("div"),l={medium:4,none:0,thick:6,thin:2},c=/^border(Bottom|Left|Right|Top)Width$/},{}],15:[function(t,e){e.exports=function(t){var e={alignContent:"stretch",alignItems:"stretch",alignSelf:"auto",borderBottomStyle:"none",borderBottomWidth:0,borderLeftStyle:"none",borderLeftWidth:0,borderRightStyle:"none",borderRightWidth:0,borderTopStyle:"none",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 n,i=t.hasAttribute("data-style"),o=i?t.getAttribute("data-style"):t.getAttribute("style")||"";for(n in i||t.setAttribute("data-style",o),function(t,e){for(var n in t)n in e&&!s.test(n)&&(t[n]=e[n])}(e,window.getComputedStyle&&getComputedStyle(t)||{}),function(t,e){for(var n in t){var i;n in e?t[n]=e[n]:(i=n.replace(/[A-Z]/g,"-$&").toLowerCase())in e&&(t[n]=e[i])}"-js-display"in e&&(t.display=e["-js-display"])}(e,t.currentStyle||{}),function(t,e){for(var n;n=r.exec(e);){var i=n[1].toLowerCase().replace(/-[a-z]/g,function(t){return t.slice(1).toUpperCase()});t[i]=n[2]}}(e,o),e)e[n]=a(e,n,t);o=t.getBoundingClientRect();e.offsetHeight=o.height||t.offsetHeight,e.offsetWidth=o.width||t.offsetWidth}return{element:t,style:e}};var r=/([^\s:;]+)\s*:\s*([^;]+?)\s*(;|$)/g,s=/^(alignSelf|height|width)$/,a=t("./getComputedLength")},{"./getComputedLength":14}],16:[function(t,e){function f(t,e){for(var n,i,o=(n=(u=t)instanceof Element,i=n&&u.getAttribute("data-style"),u=n&&u.currentStyle&&u.currentStyle["-js-display"],p.test(i)||h.test(u)),r=[],s=-1;a=t.childNodes[++s];){var a,l,c=3===a.nodeType&&!/^\s*$/.test(a.nodeValue);o&&c&&(l=a,(a=t.insertBefore(document.createElement("flex-item"),l)).appendChild(l)),a instanceof Element&&(c=f(a,e),o&&((l=a.style).display="inline-block",l.position="absolute",c.style=d(a).style,r.push(c)))}var u={element:t,children:r};return o&&(u.style=d(t).style,e.push(u)),u}e.exports=function(t){var e=[];return f(t,e),e};var d=t("../read"),p=/(^|;)\s*display\s*:\s*(inline-)?flex\s*(;|$)/i,h=/^(inline-)?flex$/i},{"../read":15}],17:[function(t,e){function a(t){return"string"==typeof t?t:Math.max(t,0)+"px"}e.exports=function(t){l(t);var e=t.element.style,n="inline"===t.mainAxis?["main","cross"]:["cross","main"];e.boxSizing="content-box",e.display="block",e.position="relative",e.width=a(t.flexStyle[n[0]]-t.flexStyle[n[0]+"InnerBefore"]-t.flexStyle[n[0]+"InnerAfter"]-t.flexStyle[n[0]+"BorderBefore"]-t.flexStyle[n[0]+"BorderAfter"]),e.height=a(t.flexStyle[n[1]]-t.flexStyle[n[1]+"InnerBefore"]-t.flexStyle[n[1]+"InnerAfter"]-t.flexStyle[n[1]+"BorderBefore"]-t.flexStyle[n[1]+"BorderAfter"]);for(var i,o=-1;i=t.children[++o];){var r=i.element.style,s="inline"===i.mainAxis?["main","cross"]:["cross","main"];r.boxSizing="content-box",r.display="block",r.position="absolute","auto"!==i.flexStyle[s[0]]&&(r.width=a(i.flexStyle[s[0]]-i.flexStyle[s[0]+"InnerBefore"]-i.flexStyle[s[0]+"InnerAfter"]-i.flexStyle[s[0]+"BorderBefore"]-i.flexStyle[s[0]+"BorderAfter"])),"auto"!==i.flexStyle[s[1]]&&(r.height=a(i.flexStyle[s[1]]-i.flexStyle[s[1]+"InnerBefore"]-i.flexStyle[s[1]+"InnerAfter"]-i.flexStyle[s[1]+"BorderBefore"]-i.flexStyle[s[1]+"BorderAfter"])),r.top=a(i.flexStyle[s[1]+"Start"]),r.left=a(i.flexStyle[s[0]+"Start"]),r.marginTop=a(i.flexStyle[s[1]+"Before"]),r.marginRight=a(i.flexStyle[s[0]+"After"]),r.marginBottom=a(i.flexStyle[s[1]+"After"]),r.marginLeft=a(i.flexStyle[s[0]+"Before"])}};var l=t("../flexbox")},{"../flexbox":7}],18:[function(t,e){e.exports=function(t){for(var e,n=-1;e=t[++n];)i(e)};var i=t("../write")},{"../write":17}]},{},[13])(13)},22:(t,e,n)=>{var i,o,r;r=function(at){"use strict";function i(t,s){function e(t){if(!(!0===X.data(jt+"_intouch")||0<at(t.target).closest(s.excludedElements,X).length)){var e=t.originalEvent||t;if(!e.pointerType||"mouse"!=e.pointerType||0!=s.fallbackToMouseEvents){var n,i=e.touches,o=i?i[0]:e;return G=Et,i?Z=i.length:!1!==s.preventDefaultEvents&&t.preventDefault(),Y=R=V=null,U=1,Q=q=$=z=W=0,(t={})[lt]=O(lt),t[ct]=O(ct),t[ut]=O(ut),t[ft]=O(ft),K=t,S(),T(0,o),!i||Z===s.fingers||s.fingers===St||m()?(tt=N(),2==Z&&(T(1,i[1]),$=q=P(J[0].start,J[1].start)),(s.swipeStatus||s.pinchStatus)&&(n=c(e,G))):n=!1,!1===n?(c(e,G=At),n):(s.hold&&(st=setTimeout(at.proxy(function(){X.trigger("hold",[e.target]),s.hold&&(n=s.hold.call(X,e,e.target))},this),s.longTapThreshold)),E(!0),null)}}}function n(t){var e,n,i,o,r=t.originalEvent||t;G===kt||G===At||C()||(e=k((n=r.touches)?n[0]:r),et=N(),n&&(Z=n.length),s.hold&&clearTimeout(st),G=Tt,2==Z&&(0==$?(T(1,n[1]),$=q=P(J[0].start,J[1].start)):(k(n[1]),q=P(J[0].end,J[1].end),J[0].end,J[1].end,Y=U<1?pt:dt),U=(q/$*1).toFixed(2),Q=Math.abs($-q)),Z===s.fingers||s.fingers===St||!n||m()?(V=j(e.start,e.end),function(t,e){if(!1!==s.preventDefaultEvents)if(s.allowPageScroll===ht)t.preventDefault();else{var n=s.allowPageScroll===mt;switch(e){case lt:(s.swipeLeft&&n||!n&&s.allowPageScroll!=xt)&&t.preventDefault();break;case ct:(s.swipeRight&&n||!n&&s.allowPageScroll!=xt)&&t.preventDefault();break;case ut:(s.swipeUp&&n||!n&&s.allowPageScroll!=_t)&&t.preventDefault();break;case ft:(s.swipeDown&&n||!n&&s.allowPageScroll!=_t)&&t.preventDefault()}}}(t,R=j(e.last,e.end)),i=e.start,o=e.end,W=Math.round(Math.sqrt(Math.pow(o.x-i.x,2)+Math.pow(o.y-i.y,2))),z=I(),n=W,(t=V)!=ht&&(n=Math.max(n,A(t)),K[t].distance=n),o=c(r,G),s.triggerOnTouchEnd&&!s.triggerOnTouchLeave||(i=!0,s.triggerOnTouchLeave&&(t={left:(n=(t=at(t=this)).offset()).left,right:n.left+t.outerWidth(),top:n.top,bottom:n.top+t.outerHeight()},e=e.end,t=t,i=e.x>t.left&&e.x<t.right&&e.y>t.top&&e.y<t.bottom),!s.triggerOnTouchEnd&&i?G=l(Tt):s.triggerOnTouchLeave&&!i&&(G=l(kt)),G!=At&&G!=kt||c(r,G))):c(r,G=At),!1===o&&c(r,G=At))}function i(t){var e,n=t.originalEvent||t,i=n.touches;if(i){if(i.length&&!C())return e=n,nt=N(),it=e.touches.length+1,!0;if(i.length&&C())return!0}return C()&&(Z=it),et=N(),z=I(),d()||!f()?c(n,G=At):s.triggerOnTouchEnd||!1===s.triggerOnTouchEnd&&G===Tt?(!1!==s.preventDefaultEvents&&!1!==t.cancelable&&t.preventDefault(),c(n,G=kt)):!s.triggerOnTouchEnd&&w()?u(n,G=kt,yt):G===Tt&&c(n,G=At),E(!1),null}function o(){q=$=tt=et=Z=0,S(),E(!(U=1))}function r(t){t=t.originalEvent||t;s.triggerOnTouchLeave&&c(t,G=l(kt))}function a(){X.off(L,e),X.off(H,o),X.off(B,n),X.off(F,i),M&&X.off(M,r),E(!1)}function l(t){var e=t,n=p(),i=f(),o=d();return!n||o?e=At:!i||t!=Tt||s.triggerOnTouchEnd&&!s.triggerOnTouchLeave?!i&&t==kt&&s.triggerOnTouchLeave&&(e=At):e=kt,e}function c(t,e){var n,i=t.touches;return(g()&&v()||v())&&(n=u(t,e,gt)),(h()&&m()||m())&&!1!==n&&(n=u(t,e,vt)),_()&&x()&&!1!==n?n=u(t,e,bt):z>s.longTapThreshold&&W<Ct&&s.longTap&&!1!==n?n=u(t,e,wt):1!==Z&&Ot||!(isNaN(W)||W<s.threshold)||!w()||!1===n||(n=u(t,e,yt)),e===At&&o(),e===kt&&(i&&i.length||o()),n}function u(t,e,n){var i;if(n==gt){if(X.trigger("swipeStatus",[e,V||null,W||0,z||0,Z,J,R]),s.swipeStatus&&!1===(i=s.swipeStatus.call(X,t,e,V||null,W||0,z||0,Z,J,R)))return!1;if(e==kt&&g()){if(clearTimeout(rt),clearTimeout(st),X.trigger("swipe",[V,W,z,Z,J,R]),s.swipe&&!1===(i=s.swipe.call(X,t,V,W,z,Z,J,R)))return!1;switch(V){case lt:X.trigger("swipeLeft",[V,W,z,Z,J,R]),s.swipeLeft&&(i=s.swipeLeft.call(X,t,V,W,z,Z,J,R));break;case ct:X.trigger("swipeRight",[V,W,z,Z,J,R]),s.swipeRight&&(i=s.swipeRight.call(X,t,V,W,z,Z,J,R));break;case ut:X.trigger("swipeUp",[V,W,z,Z,J,R]),s.swipeUp&&(i=s.swipeUp.call(X,t,V,W,z,Z,J,R));break;case ft:X.trigger("swipeDown",[V,W,z,Z,J,R]),s.swipeDown&&(i=s.swipeDown.call(X,t,V,W,z,Z,J,R))}}}if(n==vt){if(X.trigger("pinchStatus",[e,Y||null,Q||0,z||0,Z,U,J]),s.pinchStatus&&!1===(i=s.pinchStatus.call(X,t,e,Y||null,Q||0,z||0,Z,U,J)))return!1;if(e==kt&&h())switch(Y){case dt:X.trigger("pinchIn",[Y||null,Q||0,z||0,Z,U,J]),s.pinchIn&&(i=s.pinchIn.call(X,t,Y||null,Q||0,z||0,Z,U,J));break;case pt:X.trigger("pinchOut",[Y||null,Q||0,z||0,Z,U,J]),s.pinchOut&&(i=s.pinchOut.call(X,t,Y||null,Q||0,z||0,Z,U,J))}}return n==yt?e!==At&&e!==kt||(clearTimeout(rt),clearTimeout(st),x()&&!_()?(ot=N(),rt=setTimeout(at.proxy(function(){ot=null,X.trigger("tap",[t.target]),s.tap&&(i=s.tap.call(X,t,t.target))},this),s.doubleTapThreshold)):(ot=null,X.trigger("tap",[t.target]),s.tap&&(i=s.tap.call(X,t,t.target)))):n==bt?e!==At&&e!==kt||(clearTimeout(rt),clearTimeout(st),ot=null,X.trigger("doubletap",[t.target]),s.doubleTap&&(i=s.doubleTap.call(X,t,t.target))):n==wt&&(e!==At&&e!==kt||(clearTimeout(rt),ot=null,X.trigger("longtap",[t.target]),s.longTap&&(i=s.longTap.call(X,t,t.target)))),i}function f(){var t=!0;return t=null!==s.threshold?W>=s.threshold:t}function d(){var t=!1;return t=null!==s.cancelThreshold&&null!==V?A(V)-W>=s.cancelThreshold:t}function p(){return!s.maxTimeThreshold||!(z>=s.maxTimeThreshold)}function h(){var t=y(),e=b(),n=null===s.pinchThreshold||Q>=s.pinchThreshold;return t&&e&&n}function m(){return s.pinchStatus||s.pinchIn||s.pinchOut}function g(){var t=p(),e=f(),n=y(),i=b();return!d()&&i&&n&&e&&t}function v(){return s.swipe||s.swipeStatus||s.swipeLeft||s.swipeRight||s.swipeUp||s.swipeDown}function y(){return Z===s.fingers||s.fingers===St||!Ot}function b(){return 0!==J[0].end.x}function w(){return s.tap}function x(){return!!s.doubleTap}function _(){if(null==ot)return!1;var t=N();return x()&&t-ot<=s.doubleTapThreshold}function S(){it=nt=0}function C(){var t=!1;return t=nt&&N()-nt<=s.fingerReleaseThreshold?!0:t}function E(t){X&&(!0===t?(X.on(B,n),X.on(F,i),M&&X.on(M,r)):(X.off(B,n,!1),X.off(F,i,!1),M&&X.off(M,r,!1)),X.data(jt+"_intouch",!0===t))}function T(t,e){var n={start:{x:0,y:0},last:{x:0,y:0},end:{x:0,y:0}};return n.start.x=n.last.x=n.end.x=e.pageX||e.clientX,n.start.y=n.last.y=n.end.y=e.pageY||e.clientY,J[t]=n}function k(t){var e=void 0!==t.identifier?t.identifier:0,n=J[e]||null;return(n=null===n?T(e,t):n).last.x=n.end.x,n.last.y=n.end.y,n.end.x=t.pageX||t.clientX,n.end.y=t.pageY||t.clientY,n}function A(t){return K[t]?K[t].distance:void 0}function O(t){return{direction:t,distance:0}}function I(){return et-tt}function P(t,e){var n=Math.abs(t.x-e.x),e=Math.abs(t.y-e.y);return Math.round(Math.sqrt(n*n+e*e))}function j(t,e){if(i=e,(n=t).x==i.x&&n.y==i.y)return ht;var n,i,i=(i=(n=t).x-e.x,n=e.y-t.y,i=Math.atan2(n,i),i=(i=Math.round(180*i/Math.PI))<0?360-Math.abs(i):i);return i<=45&&0<=i||i<=360&&315<=i?lt:135<=i&&i<=225?ct:45<i&&i<135?ft:ut}function N(){return(new Date).getTime()}var s=at.extend({},s),D=Ot||Pt||!s.fallbackToMouseEvents,L=D?Pt?It?"MSPointerDown":"pointerdown":"touchstart":"mousedown",B=D?Pt?It?"MSPointerMove":"pointermove":"touchmove":"mousemove",F=D?Pt?It?"MSPointerUp":"pointerup":"touchend":"mouseup",M=!D||Pt?"mouseleave":null,H=Pt?It?"MSPointerCancel":"pointercancel":"touchcancel",W=0,V=null,R=null,z=0,$=0,q=0,U=1,Q=0,Y=0,K=null,X=at(t),G="start",Z=0,J={},tt=0,et=0,nt=0,it=0,ot=0,rt=null,st=null;try{X.on(L,e),X.on(H,o)}catch(t){at.error("events not supported "+L+","+H+" on jQuery.swipe")}this.enable=function(){return this.disable(),X.on(L,e),X.on(H,o),X},this.disable=function(){return a(),X},this.destroy=function(){a(),X.data(jt,null),X=null},this.option=function(t,e){if("object"==typeof t)s=at.extend(s,t);else if(void 0!==s[t]){if(void 0===e)return s[t];s[t]=e}else{if(!t)return s;at.error("Option "+t+" does not exist on jQuery.swipe.options")}return null}}var lt="left",ct="right",ut="up",ft="down",dt="in",pt="out",ht="none",mt="auto",gt="swipe",vt="pinch",yt="tap",bt="doubletap",wt="longtap",xt="horizontal",_t="vertical",St="all",Ct=10,Et="start",Tt="move",kt="end",At="cancel",Ot="ontouchstart"in window,It=window.navigator.msPointerEnabled&&!window.PointerEvent&&!Ot,Pt=(window.PointerEvent||window.navigator.msPointerEnabled)&&!Ot,jt="TouchSwipe";at.fn.swipe=function(t){var e=at(this),n=e.data(jt);if(n&&"string"==typeof t){if(n[t])return n[t].apply(n,Array.prototype.slice.call(arguments,1));at.error("Method "+t+" does not exist on jQuery.swipe")}else if(n&&"object"==typeof t)n.option.apply(n,arguments);else if(!(n||"object"!=typeof t&&t))return function(n){return!n||void 0!==n.allowPageScroll||void 0===n.swipe&&void 0===n.swipeStatus||(n.allowPageScroll=ht),void 0!==n.click&&void 0===n.tap&&(n.tap=n.click),n=n||{},n=at.extend({},at.fn.swipe.defaults,n),this.each(function(){var t,e=at(this);(t=e.data(jt))||(t=new i(this,n),e.data(jt,t))})}.apply(this,arguments);return e},at.fn.swipe.version="1.6.18",at.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},at.fn.swipe.phases={PHASE_START:Et,PHASE_MOVE:Tt,PHASE_END:kt,PHASE_CANCEL:At},at.fn.swipe.directions={LEFT:lt,RIGHT:ct,UP:ut,DOWN:ft,IN:dt,OUT:pt},at.fn.swipe.pageScroll={NONE:ht,HORIZONTAL:xt,VERTICAL:_t,AUTO:mt},at.fn.swipe.fingers={ONE:1,TWO:2,THREE:3,FOUR:4,FIVE:5,ALL:St}},n.amdO.jQuery?(i=[n(311)],void 0===(o="function"==typeof(o=r)?o.apply(e,i):o)||(t.exports=o)):r(t.exports?n(311):jQuery)},734:function(t,e,n){var i;void 0===(i="function"==typeof(i=function(){"use strict";var e=function(){function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1;i.configurable=!0;if("value"in i)i.writable=!0;Object.defineProperty(t,i.key,i)}}return function(t,e,n){if(e)i(t.prototype,e);if(n)i(t,n);return t}}();function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var w=undefined;if(typeof w==="undefined")w={modules:[]};function a(t){var e=getComputedStyle(t);var n=e.position;if(n==="fixed")return t;var i=t;while(i=i.parentNode){var o=undefined;try{o=getComputedStyle(i)}catch(t){}if(typeof o==="undefined"||o===null)return i;var r=o;var s=r.overflow;var a=r.overflowX;var l=r.overflowY;if(/(auto|scroll)/.test(s+l+a))if(n!=="absolute"||["relative","absolute","fixed"].indexOf(o.position)>=0)return i}return document.body}var r=function(){var t=0;return function(){return++t}}(),s={},l=function(t){var e=t._tetherZeroElement;if(typeof e==="undefined"){e=t.createElement("div");e.setAttribute("data-tether-id",r());C(e.style,{top:0,left:0,position:"absolute"});t.body.appendChild(e);t._tetherZeroElement=e}var n=e.getAttribute("data-tether-id");if(typeof s[n]==="undefined"){s[n]={};var i=e.getBoundingClientRect();for(var o in i)s[n][o]=i[o];T(function(){delete s[n]})}return s[n]};function _(t){var e=undefined;if(t===document){e=document;t=document.documentElement}else e=t.ownerDocument;var n=e.documentElement;var i={};var o=t.getBoundingClientRect();for(var r in o)i[r]=o[r];var s=l(e);i.top-=s.top;i.left-=s.left;if(typeof i.width==="undefined")i.width=document.body.scrollWidth-i.left-i.right;if(typeof i.height==="undefined")i.height=document.body.scrollHeight-i.top-i.bottom;i.top=i.top-n.clientTop;i.left=i.left-n.clientLeft;i.right=e.body.clientWidth-i.width-i.left;i.bottom=e.body.clientHeight-i.height-i.top;return i}function x(t){return t.offsetParent||document.documentElement}function S(){var t=document.createElement("div");t.style.width="100%";t.style.height="200px";var e=document.createElement("div");C(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 n=t.offsetWidth;e.style.overflow="scroll";var i=t.offsetWidth;if(n===i)i=e.clientWidth;document.body.removeChild(e);var o=n-i;return{width:o,height:o}}function C(){var n=arguments.length<=0||arguments[0]===undefined?{}:arguments[0];var t=[];Array.prototype.push.apply(t,arguments);t.slice(1).forEach(function(t){if(t)for(var e in t)if({}.hasOwnProperty.call(t,e))n[e]=t[e]});return n}function o(e,t){if(typeof e.classList!=="undefined")t.split(" ").forEach(function(t){if(t.trim())e.classList.remove(t)});else{var n=new RegExp("(^| )"+t.split(" ").join("|")+"( |$)","gi");var i=f(e).replace(n," ");d(e,i)}}function c(e,t){if(typeof e.classList!=="undefined")t.split(" ").forEach(function(t){if(t.trim())e.classList.add(t)});else{o(e,t);var n=f(e)+(" "+t);d(e,n)}}function u(t,e){if(typeof t.classList!=="undefined")return t.classList.contains(e);var n=f(t);return new RegExp("(^| )"+e+"( |$)","gi").test(n)}function f(t){if(t.className instanceof SVGAnimatedString)return t.className.baseVal;return t.className}function d(t,e){t.setAttribute("class",e)}function E(e,n,t){t.forEach(function(t){if(n.indexOf(t)===-1&&u(e,t))o(e,t)});n.forEach(function(t){if(!u(e,t))c(e,t)})}var n=[],T=function(t){n.push(t)},k=function(){var t=undefined;while(t=n.pop())t()},t=function(){function t(){i(this,t)}e(t,[{key:"on",value:function(t,e,n){var i=arguments.length<=3||arguments[3]===undefined?false:arguments[3];if(typeof this.bindings==="undefined")this.bindings={};if(typeof this.bindings[t]==="undefined")this.bindings[t]=[];this.bindings[t].push({handler:e,ctx:n,once:i})}},{key:"once",value:function(t,e,n){this.on(t,e,n,!0)}},{key:"off",value:function(t,e){if(typeof this.bindings!=="undefined"&&typeof this.bindings[t]!=="undefined")return;if(typeof e==="undefined")delete this.bindings[t];else{var n=0;while(n<this.bindings[t].length)if(this.bindings[t][n].handler===e)this.bindings[t].splice(n,1);else++n}}},{key:"trigger",value:function(t){if(typeof this.bindings!=="undefined"&&this.bindings[t]){var e=0;for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];while(e<this.bindings[t].length){var r=this.bindings[t][e];var s=r.handler;var a=r.ctx;var l=r.once;var c=a;if(typeof c==="undefined")c=this;s.apply(c,i);if(l)this.bindings[t].splice(e,1);else++e}}}}]);return t}();w.Utils={getScrollParent:a,getBounds:_,getOffsetParent:x,extend:C,addClass:c,removeClass:o,hasClass:u,updateClasses:E,defer:T,flush:k,uniqueId:r,Evented:t,getScrollBarSize:S};var A=function(){function n(t,e){var n=[];var i=!0;var o=!1;var r=undefined;try{for(var s=t[Symbol.iterator](),a;!(i=(a=s.next()).done);i=!0){n.push(a.value);if(e&&n.length===e)break}}catch(t){o=!0;r=t}finally{try{if(!i&&s["return"])s["return"]()}finally{if(o)throw r}}return n}return function(t,e){if(Array.isArray(t))return t;else if(Symbol.iterator in Object(t))return n(t,e);else throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),e=function(){function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1;i.configurable=!0;if("value"in i)i.writable=!0;Object.defineProperty(t,i.key,i)}}return function(t,e,n){if(e)i(t.prototype,e);if(n)i(t,n);return t}}();function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}if(typeof w==="undefined")throw new Error("You must include the utils.js file before tether.js");var p=w.Utils,a=p.getScrollParent,_=p.getBounds,x=p.getOffsetParent,C=p.extend,c=p.addClass,o=p.removeClass,E=p.updateClasses,T=p.defer,k=p.flush,S=p.getScrollBarSize;function v(t,e){var n=arguments.length<=2||arguments[2]===undefined?1:arguments[2];return t+n>=e&&e>=t-n}var y=function(){if(typeof document==="undefined")return"";var t=document.createElement("div");var e=["transform","webkitTransform","OTransform","MozTransform","msTransform"];for(var n=0;n<e.length;++n){var i=e[n];if(t.style[i]!==undefined)return i}}(),h=[],m=function(){h.forEach(function(t){t.position(!1)});k()};function g(){if(typeof performance!=="undefined"&&typeof performance.now!=="undefined")return performance.now();return+new Date}(function(){var e=null;var n=null;var i=null;var o=function t(){if(typeof n!=="undefined"&&n>16){n=Math.min(n-16,250);i=setTimeout(t,250);return}if(typeof e!=="undefined"&&g()-e<10)return;if(typeof i!=="undefined"){clearTimeout(i);i=null}e=g();m();n=g()-e};if(typeof window!=="undefined")["resize","scroll","touchmove"].forEach(function(t){window.addEventListener(t,o)})})();var b={center:"center",left:"right",right:"left"},O={middle:"middle",top:"bottom",bottom:"top"},I={top:0,left:0,middle:"50%",center:"50%",bottom:"100%",right:"100%"},P=function(t,e){var n=t.left;var i=t.top;if(n==="auto")n=b[e.left];if(i==="auto")i=O[e.top];return{left:n,top:i}},j=function(t){var e=t.left;var n=t.top;if(typeof I[t.left]!=="undefined")e=I[t.left];if(typeof I[t.top]!=="undefined")n=I[t.top];return{left:e,top:n}};function N(){var i={top:0,left:0};for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];e.forEach(function(t){var e=t.top;var n=t.left;if(typeof e==="string")e=parseFloat(e,10);if(typeof n==="string")n=parseFloat(n,10);i.top+=e;i.left+=n});return i}function D(t,e){if(typeof t.left==="string"&&t.left.indexOf("%")!==-1)t.left=parseFloat(t.left,10)/100*e.width;if(typeof t.top==="string"&&t.top.indexOf("%")!==-1)t.top=parseFloat(t.top,10)/100*e.height;return t}var L=function(t){var e=t.split(" ");var n=A(e,2);var i=n[0];var o=n[1];return{top:i,left:o}},B=L,F=function(){function n(t){var e=this;i(this,n);this.position=this.position.bind(this);h.push(this);this.history=[];this.setOptions(t,!1);w.modules.forEach(function(t){if(typeof t.initialize!=="undefined")t.initialize.call(e)});this.position()}e(n,[{key:"getClass",value:function(){var t=arguments.length<=0||arguments[0]===undefined?"":arguments[0];var e=this.options.classes;if(typeof e!=="undefined"&&e[t])return this.options.classes[t];else if(this.options.classPrefix)return this.options.classPrefix+"-"+t;else return t}},{key:"setOptions",value:function(t){var e=this;var n=arguments.length<=1||arguments[1]===undefined?true:arguments[1];this.options=C({offset:"0 0",targetOffset:"0 0",targetAttachment:"auto auto",classPrefix:"tether"},t);var i=this.options;var o=i.element;var r=i.target;var s=i.targetModifier;this.element=o;this.target=r;this.targetModifier=s;if(this.target==="viewport"){this.target=document.body;this.targetModifier="visible"}else if(this.target==="scroll-handle"){this.target=document.body;this.targetModifier="scroll-handle"}["element","target"].forEach(function(t){if(typeof e[t]==="undefined")throw new Error("Tether Error: Both element and target must be defined");if(typeof e[t].jquery!=="undefined")e[t]=e[t][0];else if(typeof e[t]==="string")e[t]=document.querySelector(e[t])});c(this.element,this.getClass("element"));if(!(this.options.addTargetClasses===!1))c(this.target,this.getClass("target"));if(!this.options.attachment)throw new Error("Tether Error: You must provide an attachment");this.targetAttachment=B(this.options.targetAttachment);this.attachment=B(this.options.attachment);this.offset=L(this.options.offset);this.targetOffset=L(this.options.targetOffset);if(typeof this.scrollParent!=="undefined")this.disable();if(this.targetModifier==="scroll-handle")this.scrollParent=this.target;else this.scrollParent=a(this.target);if(!(this.options.enabled===!1))this.enable(n)}},{key:"getTargetBounds",value:function(){if(typeof this.targetModifier!=="undefined"){if(this.targetModifier==="visible")if(this.target===document.body)return{top:pageYOffset,left:pageXOffset,height:innerHeight,width:innerWidth};else{var t=_(this.target);var e={height:t.height,width:t.width,top:t.top,left:t.left};e.height=Math.min(e.height,t.height-(pageYOffset-t.top));e.height=Math.min(e.height,t.height-(t.top+t.height-(pageYOffset+innerHeight)));e.height=Math.min(innerHeight,e.height);e.height-=2;e.width=Math.min(e.width,t.width-(pageXOffset-t.left));e.width=Math.min(e.width,t.width-(t.left+t.width-(pageXOffset+innerWidth)));e.width=Math.min(innerWidth,e.width);e.width-=2;if(e.top<pageYOffset)e.top=pageYOffset;if(e.left<pageXOffset)e.left=pageXOffset;return e}else if(this.targetModifier==="scroll-handle"){var t=undefined;var n=this.target;if(n===document.body){n=document.documentElement;t={left:pageXOffset,top:pageYOffset,height:innerHeight,width:innerWidth}}else t=_(n);var i=getComputedStyle(n);var o=n.scrollWidth>n.clientWidth||[i.overflow,i.overflowX].indexOf("scroll")>=0||this.target!==document.body;var r=0;if(o)r=15;var s=t.height-parseFloat(i.borderTopWidth)-parseFloat(i.borderBottomWidth)-r;var e={width:15,height:s*.975*(s/n.scrollHeight),left:t.left+t.width-parseFloat(i.borderLeftWidth)-15};var a=0;if(s<408&&this.target===document.body)a=-11e-5*Math.pow(s,2)-.00727*s+22.58;if(this.target!==document.body)e.height=Math.max(e.height,24);var l=this.target.scrollTop/(n.scrollHeight-s);e.top=l*(s-e.height-a)+t.top+parseFloat(i.borderTopWidth);if(this.target===document.body)e.height=Math.max(e.height,24);return e}}else return _(this.target)}},{key:"clearCache",value:function(){this._cache={}}},{key:"cache",value:function(t,e){if(typeof this._cache==="undefined")this._cache={};if(typeof this._cache[t]==="undefined")this._cache[t]=e.call(this);return this._cache[t]}},{key:"enable",value:function(){var t=arguments.length<=0||arguments[0]===undefined?true:arguments[0];if(!(this.options.addTargetClasses===!1))c(this.target,this.getClass("enabled"));c(this.element,this.getClass("enabled"));this.enabled=!0;if(this.scrollParent!==document)this.scrollParent.addEventListener("scroll",this.position);if(t)this.position()}},{key:"disable",value:function(){o(this.target,this.getClass("enabled"));o(this.element,this.getClass("enabled"));this.enabled=!1;if(typeof this.scrollParent!=="undefined")this.scrollParent.removeEventListener("scroll",this.position)}},{key:"destroy",value:function(){var n=this;this.disable();h.forEach(function(t,e){if(t===n)h.splice(e,1)})}},{key:"updateAttachClasses",value:function(t,e){var n=this;t=t||this.attachment;e=e||this.targetAttachment;if(typeof this._addAttachClasses!=="undefined"&&this._addAttachClasses.length)this._addAttachClasses.splice(0,this._addAttachClasses.length);if(typeof this._addAttachClasses==="undefined")this._addAttachClasses=[];var i=this._addAttachClasses;if(t.top)i.push(this.getClass("element-attached")+"-"+t.top);if(t.left)i.push(this.getClass("element-attached")+"-"+t.left);if(e.top)i.push(this.getClass("target-attached")+"-"+e.top);if(e.left)i.push(this.getClass("target-attached")+"-"+e.left);var o=[];["left","top","bottom","right","middle","center"].forEach(function(t){o.push(n.getClass("element-attached")+"-"+t);o.push(n.getClass("target-attached")+"-"+t)});T(function(){if(!(typeof n._addAttachClasses!=="undefined"))return;E(n.element,n._addAttachClasses,o);if(!(n.options.addTargetClasses===!1))E(n.target,n._addAttachClasses,o);delete n._addAttachClasses})}},{key:"position",value:function(){var a=this;var t=arguments.length<=0||arguments[0]===undefined?true:arguments[0];if(!this.enabled)return;this.clearCache();var e=P(this.targetAttachment,this.attachment);this.updateAttachClasses(this.attachment,e);var n=this.cache("element-bounds",function(){return _(a.element)});var i=n.width;var o=n.height;if(i===0&&o===0&&typeof this.lastSize!=="undefined"){var r=this.lastSize;i=r.width;o=r.height}else this.lastSize={width:i,height:o};var s=this.cache("target-bounds",function(){return a.getTargetBounds()});var l=s;var c=D(j(this.attachment),{width:i,height:o});var u=D(j(e),l);var f=D(this.offset,{width:i,height:o});var d=D(this.targetOffset,l);c=N(c,f);u=N(u,d);var p=s.left+u.left-c.left;var h=s.top+u.top-c.top;for(var m=0;m<w.modules.length;++m){var g=w.modules[m];var v=g.position.call(this,{left:p,top:h,targetAttachment:e,targetPos:s,elementPos:n,offset:c,targetOffset:u,manualOffset:f,manualTargetOffset:d,scrollbarSize:b,attachment:this.attachment});if(v===!1)return!1;else if(typeof v==="undefined"||typeof v!=="object")continue;else{h=v.top;p=v.left}}var y={page:{top:h,left:p},viewport:{top:h-pageYOffset,bottom:pageYOffset-h-o+innerHeight,left:p-pageXOffset,right:pageXOffset-p-i+innerWidth}};var b=undefined;if(document.body.scrollWidth>window.innerWidth){b=this.cache("scrollbar-size",S);y.viewport.bottom-=b.height}if(document.body.scrollHeight>window.innerHeight){b=this.cache("scrollbar-size",S);y.viewport.right-=b.width}if(["","static"].indexOf(document.body.style.position)===-1||["","static"].indexOf(document.body.parentElement.style.position)===-1){y.page.bottom=document.body.scrollHeight-h-o;y.page.right=document.body.scrollWidth-p-i}if(typeof this.options.optimizations!=="undefined"&&this.options.optimizations.moveElement!==!1&&!(typeof this.targetModifier!=="undefined"))(function(){var t=a.cache("target-offsetparent",function(){return x(a.target)});var e=a.cache("target-offsetparent-bounds",function(){return _(t)});var n=getComputedStyle(t);var i=e;var o={};["Top","Left","Bottom","Right"].forEach(function(t){o[t.toLowerCase()]=parseFloat(n["border"+t+"Width"])});e.right=document.body.scrollWidth-e.left-i.width+o.right;e.bottom=document.body.scrollHeight-e.top-i.height+o.bottom;if(y.page.top>=e.top+o.top&&y.page.bottom>=e.bottom)if(y.page.left>=e.left+o.left&&y.page.right>=e.right){var r=t.scrollTop;var s=t.scrollLeft;y.offset={top:y.page.top-e.top+r-o.top,left:y.page.left-e.left+s-o.left}}})();this.move(y);this.history.unshift(y);if(this.history.length>3)this.history.pop();if(t)k();return!0}},{key:"move",value:function(e){var s=this;if(!(typeof this.element.parentNode!=="undefined"))return;var n={};for(var t in e){n[t]={};for(var i in e[t]){var o=!1;for(var r=0;r<this.history.length;++r){var a=this.history[r];if(typeof a[t]!=="undefined"&&!v(a[t][i],e[t][i])){o=!0;break}}if(!o)n[t][i]=!0}}var l={top:"",left:"",right:"",bottom:""};var c=function(t,e){var n=typeof s.options.optimizations!=="undefined";var i=n?s.options.optimizations.gpu:null;if(i!==!1){var o=undefined,r=undefined;if(t.top){l.top=0;o=e.top}else{l.bottom=0;o=-e.bottom}if(t.left){l.left=0;r=e.left}else{l.right=0;r=-e.right}l[y]="translateX("+Math.round(r)+"px) translateY("+Math.round(o)+"px)";if(y!=="msTransform")l[y]+=" translateZ(0)"}else{if(t.top)l.top=e.top+"px";else l.bottom=e.bottom+"px";if(t.left)l.left=e.left+"px";else l.right=e.right+"px"}};var u=!1;if((n.page.top||n.page.bottom)&&(n.page.left||n.page.right)){l.position="absolute";c(n.page,e.page)}else if((n.viewport.top||n.viewport.bottom)&&(n.viewport.left||n.viewport.right)){l.position="fixed";c(n.viewport,e.viewport)}else if(typeof n.offset!=="undefined"&&n.offset.top&&n.offset.left)(function(){l.position="absolute";var t=s.cache("target-offsetparent",function(){return x(s.target)});if(x(s.element)!==t)T(function(){s.element.parentNode.removeChild(s.element);t.appendChild(s.element)});c(n.offset,e.offset);u=!0})();else{l.position="absolute";c({top:!0,left:!0},e.page)}if(!u){var f=!0;var d=this.element.parentNode;while(d&&d.tagName!=="BODY"){if(getComputedStyle(d).position!=="static"){f=!1;break}d=d.parentNode}if(!f){this.element.parentNode.removeChild(this.element);document.body.appendChild(this.element)}}var p={};var h=!1;for(var i in l){var m=l[i];var g=this.element.style[i];if(g!==""&&m!==""&&["top","left","bottom","right"].indexOf(i)>=0){g=parseFloat(g);m=parseFloat(m)}if(g!==m){h=!0;p[i]=m}}if(h)T(function(){C(s.element.style,p)})}}]);return n}();F.modules=[],w.position=m;var M=C(F,w),A=function(){function n(t,e){var n=[];var i=!0;var o=!1;var r=undefined;try{for(var s=t[Symbol.iterator](),a;!(i=(a=s.next()).done);i=!0){n.push(a.value);if(e&&n.length===e)break}}catch(t){o=!0;r=t}finally{try{if(!i&&s["return"])s["return"]()}finally{if(o)throw r}}return n}return function(t,e){if(Array.isArray(t))return t;else if(Symbol.iterator in Object(t))return n(t,e);else throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),p,_=(p=w.Utils).getBounds,C=p.extend,E=p.updateClasses,T=p.defer,H=["left","top","right","bottom"];function W(t,i){if(i==="scrollParent")i=t.scrollParent;else if(i==="window")i=[pageXOffset,pageYOffset,innerWidth+pageXOffset,innerHeight+pageYOffset];if(i===document)i=i.documentElement;if(typeof i.nodeType!=="undefined")(function(){var t=_(i);var e=t;var n=getComputedStyle(i);i=[e.left,e.top,t.width+e.left,t.height+e.top];H.forEach(function(t,e){t=t[0].toUpperCase()+t.substr(1);if(t==="Top"||t==="Left")i[e]+=parseFloat(n["border"+t+"Width"]);else i[e]-=parseFloat(n["border"+t+"Width"])})})();return i}w.modules.push({position:function(t){var f=this;var d=t.top;var p=t.left;var h=t.targetAttachment;if(!this.options.constraints)return!0;var e=this.cache("element-bounds",function(){return _(f.element)});var m=e.height;var g=e.width;if(g===0&&m===0&&typeof this.lastSize!=="undefined"){var n=this.lastSize;g=n.width;m=n.height}var i=this.cache("target-bounds",function(){return f.getTargetBounds()});var v=i.height;var y=i.width;var o=[this.getClass("pinned"),this.getClass("out-of-bounds")];this.options.constraints.forEach(function(t){var e=t.outOfBoundsClass;var n=t.pinnedClass;if(e)o.push(e);if(n)o.push(n)});o.forEach(function(e){["left","top","right","bottom"].forEach(function(t){o.push(e+"-"+t)})});var b=[];var w=C({},h);var x=C({},this.attachment);this.options.constraints.forEach(function(t){var e=t.to;var n=t.attachment;var i=t.pin;if(typeof n==="undefined")n="";var o=undefined,r=undefined;if(n.indexOf(" ")>=0){var s=n.split(" ");var a=A(s,2);r=a[0];o=a[1]}else o=r=n;var l=W(f,e);if(r==="target"||r==="both"){if(d<l[1]&&w.top==="top"){d+=v;w.top="bottom"}if(d+m>l[3]&&w.top==="bottom"){d-=v;w.top="top"}}if(r==="together"){if(d<l[1]&&w.top==="top")if(x.top==="bottom"){d+=v;w.top="bottom";d+=m;x.top="top"}else if(x.top==="top"){d+=v;w.top="bottom";d-=m;x.top="bottom"}if(d+m>l[3]&&w.top==="bottom")if(x.top==="top"){d-=v;w.top="top";d-=m;x.top="bottom"}else if(x.top==="bottom"){d-=v;w.top="top";d+=m;x.top="top"}if(w.top==="middle")if(d+m>l[3]&&x.top==="top"){d-=m;x.top="bottom"}else if(d<l[1]&&x.top==="bottom"){d+=m;x.top="top"}}if(o==="target"||o==="both"){if(p<l[0]&&w.left==="left"){p+=y;w.left="right"}if(p+g>l[2]&&w.left==="right"){p-=y;w.left="left"}}if(o==="together")if(p<l[0]&&w.left==="left"){if(x.left==="right"){p+=y;w.left="right";p+=g;x.left="left"}else if(x.left==="left"){p+=y;w.left="right";p-=g;x.left="right"}}else if(p+g>l[2]&&w.left==="right"){if(x.left==="left"){p-=y;w.left="left";p-=g;x.left="right"}else if(x.left==="right"){p-=y;w.left="left";p+=g;x.left="left"}}else if(w.left==="center")if(p+g>l[2]&&x.left==="left"){p-=g;x.left="right"}else if(p<l[0]&&x.left==="right"){p+=g;x.left="left"}if(r==="element"||r==="both"){if(d<l[1]&&x.top==="bottom"){d+=m;x.top="top"}if(d+m>l[3]&&x.top==="top"){d-=m;x.top="bottom"}}if(o==="element"||o==="both"){if(p<l[0]&&x.left==="right"){p+=g;x.left="left"}if(p+g>l[2]&&x.left==="left"){p-=g;x.left="right"}}if(typeof i==="string")i=i.split(",").map(function(t){return t.trim()});else if(i===!0)i=["top","left","right","bottom"];i=i||[];var c=[];var u=[];if(d<l[1])if(i.indexOf("top")>=0){d=l[1];c.push("top")}else u.push("top");if(d+m>l[3])if(i.indexOf("bottom")>=0){d=l[3]-m;c.push("bottom")}else u.push("bottom");if(p<l[0])if(i.indexOf("left")>=0){p=l[0];c.push("left")}else u.push("left");if(p+g>l[2])if(i.indexOf("right")>=0){p=l[2]-g;c.push("right")}else u.push("right");if(c.length)(function(){var e=undefined;if(typeof f.options.pinnedClass!=="undefined")e=f.options.pinnedClass;else e=f.getClass("pinned");b.push(e);c.forEach(function(t){b.push(e+"-"+t)})})();if(u.length)(function(){var e=undefined;if(typeof f.options.outOfBoundsClass!=="undefined")e=f.options.outOfBoundsClass;else e=f.getClass("out-of-bounds");b.push(e);u.forEach(function(t){b.push(e+"-"+t)})})();if(c.indexOf("left")>=0||c.indexOf("right")>=0)x.left=w.left=!1;if(c.indexOf("top")>=0||c.indexOf("bottom")>=0)x.top=w.top=!1;if(w.top!==h.top||w.left!==h.left||x.top!==f.attachment.top||x.left!==f.attachment.left)f.updateAttachClasses(x,w)});T(function(){if(!(f.options.addTargetClasses===!1))E(f.target,b,o);E(f.element,b,o)});return{top:d,left:p}}});var p,_=(p=w.Utils).getBounds,E=p.updateClasses,T=p.defer;w.modules.push({position:function(t){var e=this;var n=t.top;var i=t.left;var o=this.cache("element-bounds",function(){return _(e.element)});var r=o.height;var s=o.width;var a=this.getTargetBounds();var l=n+r;var c=i+s;var u=[];if(n<=a.bottom&&l>=a.top)["left","right"].forEach(function(t){var e=a[t];if(e===i||e===c)u.push(t)});if(i<=a.right&&c>=a.left)["top","bottom"].forEach(function(t){var e=a[t];if(e===n||e===l)u.push(t)});var f=[];var d=[];f.push(this.getClass("abutted"));["left","top","right","bottom"].forEach(function(t){f.push(e.getClass("abutted")+"-"+t)});if(u.length)d.push(this.getClass("abutted"));u.forEach(function(t){d.push(e.getClass("abutted")+"-"+t)});T(function(){if(!(e.options.addTargetClasses===!1))E(e.target,d,f);E(e.element,d,f)});return!0}});var A=function(){function n(t,e){var n=[];var i=!0;var o=!1;var r=undefined;try{for(var s=t[Symbol.iterator](),a;!(i=(a=s.next()).done);i=!0){n.push(a.value);if(e&&n.length===e)break}}catch(t){o=!0;r=t}finally{try{if(!i&&s["return"])s["return"]()}finally{if(o)throw r}}return n}return function(t,e){if(Array.isArray(t))return t;else if(Symbol.iterator in Object(t))return n(t,e);else throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();return w.modules.push({position:function(t){var e=t.top;var n=t.left;if(!this.options.shift)return;var i=this.options.shift;if(typeof this.options.shift==="function")i=this.options.shift.call(this,{top:e,left:n});var o=undefined,r=undefined;if(typeof i==="string"){i=i.split(" ");i[1]=i[1]||i[0];var s=i;var a=A(s,2);o=a[0];r=a[1];o=parseFloat(o,10);r=parseFloat(r,10)}else{o=i.top;r=i.left}e+=o;n+=r;return{top:e,left:n}}}),M})?i.call(e,n,e,t):i)||(t.exports=i)},525:(e,n,i)=>{var o;!function(e){"use strict";if(!e.jQuery){var c=function(t,e){return new c.fn.init(t,e)};c.isWindow=function(t){return t&&t===t.window},c.type=function(t){return t?"object"==typeof t||"function"==typeof t?n[r.call(t)]||"object":typeof t:t+""},c.isArray=Array.isArray||function(t){return"array"===c.type(t)},c.isPlainObject=function(t){if(!t||"object"!==c.type(t)||t.nodeType||c.isWindow(t))return!1;try{if(t.constructor&&!i.call(t,"constructor")&&!i.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}for(var e in t);return void 0===e||i.call(t,e)},c.each=function(t,e,n){var i=0,o=t.length,r=a(t);if(n){if(r)for(;i<o&&!1!==e.apply(t[i],n);i++);else for(i in t)if(t.hasOwnProperty(i)&&!1===e.apply(t[i],n))break}else if(r)for(;i<o&&!1!==e.call(t[i],i,t[i]);i++);else for(i in t)if(t.hasOwnProperty(i)&&!1===e.call(t[i],i,t[i]))break;return t},c.data=function(t,e,n){if(void 0===n){var i=t[c.expando],i=i&&o[i];return void 0===e?i:i&&e in i?i[e]:void 0}if(void 0!==e){t=t[c.expando]||(t[c.expando]=++c.uuid);return o[t]=o[t]||{},o[t][e]=n}},c.removeData=function(t,e){var t=t[c.expando],n=t&&o[t];n&&(e?c.each(e,function(t,e){delete n[e]}):delete o[t])},c.extend=function(){var t,e,n,i,o,r=arguments[0]||{},s=1,a=arguments.length,l=!1;for("boolean"==typeof r&&(l=r,r=arguments[s]||{},s++),"object"!=typeof r&&"function"!==c.type(r)&&(r={}),s===a&&(r=this,s--);s<a;s++)if(i=arguments[s])for(n in i)i.hasOwnProperty(n)&&(o=r[n],r!==(e=i[n])&&(l&&e&&(c.isPlainObject(e)||(t=c.isArray(e)))?(o=t?(t=!1,o&&c.isArray(o)?o:[]):o&&c.isPlainObject(o)?o:{},r[n]=c.extend(l,o,e)):void 0!==e&&(r[n]=e)));return r},c.queue=function(t,e,n){function i(t,e){e=e||[];return t&&(a(Object(t))?function(t,e){for(var n=+e.length,i=0,o=t.length;i<n;)t[o++]=e[i++];if(n!=n)for(;void 0!==e[i];)t[o++]=e[i++];t.length=o}(e,"string"==typeof t?[t]:t):[].push.call(e,t)),e}if(t){var o=c.data(t,e=(e||"fx")+"queue");return n?(!o||c.isArray(n)?o=c.data(t,e,i(n)):o.push(n),o):o||[]}},c.dequeue=function(t,o){c.each(t.nodeType?[t]:t,function(t,e){o=o||"fx";var n=c.queue(e,o),i=n.shift();(i="inprogress"===i?n.shift():i)&&("fx"===o&&n.unshift("inprogress"),i.call(e,function(){c.dequeue(e,o)}))})},c.fn=c.prototype={init:function(t){if(t.nodeType)return this[0]=t,this;throw new Error("Not a DOM node.")},offset:function(){var t=this[0].getBoundingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:t.top+(e.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:t.left+(e.pageXOffset||document.scrollLeft||0)-(document.clientLeft||0)}},position:function(){var e=this[0],t=function(){for(var t=e.offsetParent;t&&"html"!==t.nodeName.toLowerCase()&&t.style&&"static"===t.style.position.toLowerCase();)t=t.offsetParent;return t||document}(),n=this.offset(),i=/^(?:body|html)$/i.test(t.nodeName)?{top:0,left:0}:c(t).offset();return n.top-=parseFloat(e.style.marginTop)||0,n.left-=parseFloat(e.style.marginLeft)||0,t.style&&(i.top+=parseFloat(t.style.borderTopWidth)||0,i.left+=parseFloat(t.style.borderLeftWidth)||0),{top:n.top-i.top,left:n.left-i.left}}};var o={};c.expando="velocity"+(new Date).getTime(),c.uuid=0;for(var n={},i=n.hasOwnProperty,r=n.toString,t="Boolean Number String Function Array Date RegExp Object Error".split(" "),s=0;s<t.length;s++)n["[object "+t[s]+"]"]=t[s].toLowerCase();c.fn.init.prototype=c.fn,e.Velocity={Utilities:c}}function a(t){var e=t.length,n=c.type(t);return"function"!==n&&!c.isWindow(t)&&(!(1!==t.nodeType||!e)||("array"===n||0===e||"number"==typeof e&&0<e&&e-1 in t))}}(window),function(t){"use strict";"object"==typeof e.exports?e.exports=t():void 0===(o="function"==typeof(o=t)?o.call(n,i,n,e):o)||(e.exports=o)}(function(){"use strict";return function(t,W,V,R){var i,e,C=function(){if(V.documentMode)return V.documentMode;for(var t=7;4<t;t--){var e=V.createElement("div");if(e.innerHTML="\x3c!--[if IE "+t+"]><span></span><![endif]--\x3e",e.getElementsByTagName("span").length)return e=null,t}return R}(),n=(i=0,W.webkitRequestAnimationFrame||W.mozRequestAnimationFrame||function(t){var e=(new Date).getTime(),n=Math.max(0,16-(e-i));return i=e+n,setTimeout(function(){t(e+n)},n)}),E=("function"!=typeof(r=W.performance||{}).now&&(e=r.timing&&r.timing.navigationStart?r.timing.navigationStart:(new Date).getTime(),r.now=function(){return(new Date).getTime()-e}),r);function z(){return Array.prototype.includes?function(t,e){return t.includes(e)}:Array.prototype.indexOf?function(t,e){return 0<=t.indexOf(e)}:function(t,e){for(var n=0;n<t.length;n++)if(t[n]===e)return!0;return!1}}var o=function(){var a=Array.prototype.slice;try{return a.call(V.documentElement),a}catch(t){return function(t,e){var n=this.length;if("number"!=typeof t&&(t=0),"number"!=typeof e&&(e=n),this.slice)return a.call(this,t,e);var i,o=[],r=0<=t?t:Math.max(0,n+t),s=(e<0?n+e:Math.min(e,n))-r;if(0<s)if(o=new Array(s),this.charAt)for(i=0;i<s;i++)o[i]=this.charAt(r+i);else for(i=0;i<s;i++)o[i]=this[r+i];return o}}}();function g(t){return q.isWrapped(t)?t=o.call(t):q.isNode(t)&&(t=[t]),t}var $,q={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!==W&&q.isNumber(t.length)&&!q.isString(t)&&!q.isFunction(t)&&!q.isNode(t)&&(0===t.length||q.isNode(t[0]))},isSVG:function(t){return W.SVGElement&&t instanceof W.SVGElement},isEmptyObject:function(t){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}},r=!1;if(t.fn&&t.fn.jquery?($=t,r=!0):$=W.Velocity.Utilities,C<=8&&!r)throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");if(!(C<=7)){var s="swing",U={State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(W.navigator.userAgent),isAndroid:/Android/i.test(W.navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(W.navigator.userAgent),isChrome:W.chrome,isFirefox:/Firefox/i.test(W.navigator.userAgent),prefixElement:V.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,calls:[],delayedElements:{count:0}},CSS:{},Utilities:$,Redirects:{},Easings:{},Promise:W.Promise,defaults:{queue:"",duration:400,easing:s,begin:R,complete:R,progress:R,display:R,visibility:R,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0,promiseRejectEmpty:!0},init:function(t){$.data(t,"velocity",{isSVG:q.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(n){var i=(new Date).getTime();$.each(U.State.calls,function(t,e){if(e){if(n!==R&&(e[2].queue!==n||!1===e[2].queue))return!0;e[5]={resume:!1}}}),$.each(U.State.delayedElements,function(t,e){e&&y(e,i)})},resumeAll:function(n){(new Date).getTime();$.each(U.State.calls,function(t,e){if(e){if(n!==R&&(e[2].queue!==n||!1===e[2].queue))return!0;e[5]&&(e[5].resume=!0)}}),$.each(U.State.delayedElements,function(t,e){e&&b(e)})}};W.pageYOffset!==R?(U.State.scrollAnchor=W,U.State.scrollPropertyLeft="pageXOffset",U.State.scrollPropertyTop="pageYOffset"):(U.State.scrollAnchor=V.documentElement||V.body.parentNode||V.body,U.State.scrollPropertyLeft="scrollLeft",U.State.scrollPropertyTop="scrollTop");var a=function t(e,n,i){var o,r,s,a,l,c,u,f,d,p,h={x:-1,v:0,tension:null,friction:null},m=[0],g=0;for(e=parseFloat(e)||500,n=parseFloat(n)||20,i=i||null,h.tension=e,h.friction=n,r=(o=null!==i)?(g=t(e,n))/i*.016:.016;;)if(l=r,d=p=d=f=u=c=void 0,c={dx:(a=s||h).v,dv:w(a)},u=x(a,.5*l,c),f=x(a,.5*l,u),d=x(a,l,f),p=1/6*(c.dx+2*(u.dx+f.dx)+d.dx),d=1/6*(c.dv+2*(u.dv+f.dv)+d.dv),a.x=a.x+p*l,a.v=a.v+d*l,m.push(1+(s=a).x),g+=16,!(1e-4<Math.abs(s.x)&&1e-4<Math.abs(s.v)))break;return o?function(t){return m[t*(m.length-1)|0]}:g};U.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)}},$.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){U.Easings[e[0]]=l.apply(null,e[1])});var Q=U.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,e,n,i,o,r=0;r<Q.Lists.colors.length;r++){var s="color"===Q.Lists.colors[r]?"0 0 0 1":"255 255 255 1";Q.Hooks.templates[Q.Lists.colors[r]]=["Red Green Blue Alpha",s]}if(C)for(t in Q.Hooks.templates)Q.Hooks.templates.hasOwnProperty(t)&&(n=(e=Q.Hooks.templates[t])[0].split(" "),i=e[1].match(Q.RegEx.valueSplit),"Color"===n[0]&&(n.push(n.shift()),i.push(i.shift()),Q.Hooks.templates[t]=[n.join(" "),i.join(" ")]));for(t in Q.Hooks.templates)if(Q.Hooks.templates.hasOwnProperty(t))for(var a in n=(e=Q.Hooks.templates[t])[0].split(" "))n.hasOwnProperty(a)&&(o=t+n[a],Q.Hooks.registered[o]=[t,a])},getRoot:function(t){var e=Q.Hooks.registered[t];return e?e[0]:t},getUnit:function(t,e){e=(t.substr(e||0,5).match(/^[a-z%]+/)||[])[0]||"";return e&&z(Q.Lists.units)?e:""},fixColors:function(t){return t.replace(/(rgba?\(\s*)?(\b[a-z]+\b)/g,function(t,e,n){return Q.Lists.colorNames.hasOwnProperty(n)?(e||"rgba(")+Q.Lists.colorNames[n]+(e?"":",1)"):e+n})},cleanRootPropertyValue:function(t,e){return Q.RegEx.valueUnwrap.test(e)&&(e=e.match(Q.RegEx.valueUnwrap)[1]),e=Q.Values.isCSSNullValue(e)?Q.Hooks.templates[t][1]:e},extractValue:function(t,e){var n=Q.Hooks.registered[t];if(n){t=n[0],n=n[1];return(e=Q.Hooks.cleanRootPropertyValue(t,e)).toString().match(Q.RegEx.valueSplit)[n]}return e},injectValue:function(t,e,n){var i=Q.Hooks.registered[t];if(i){t=i[0],i=i[1];return(t=(n=Q.Hooks.cleanRootPropertyValue(t,n)).toString().match(Q.RegEx.valueSplit))[i]=e,t.join(" ")}return n}},Normalizations:{registered:{clip:function(t,e,n){switch(t){case"name":return"clip";case"extract":var i=!Q.RegEx.wrappedValueAlreadyExtracted.test(n)&&(i=n.toString().match(Q.RegEx.valueUnwrap))?i[1].replace(/,(\s+)?/g," "):n;return i;case"inject":return"rect("+n+")"}},blur:function(t,e,n){switch(t){case"name":return U.State.isFirefox?"filter":"-webkit-filter";case"extract":var i,o=parseFloat(n);return o=!o&&0!==o?(i=n.toString().match(/blur\(([0-9]+[A-z]+)\)/i))?i[1]:0:o;case"inject":return parseFloat(n)?"blur("+n+")":"none"}},opacity:function(t,e,n){if(C<=8)switch(t){case"name":return"filter";case"extract":var i=n.toString().match(/alpha\(opacity=(.*)\)/i);return n=i?i[1]/100:1;case"inject":return(e.style.zoom=1)<=parseFloat(n)?"":"alpha(opacity="+parseInt(100*parseFloat(n),10)+")"}else switch(t){case"name":return"opacity";case"extract":case"inject":return n}}},register:function(){C&&!(9<C)||U.State.isGingerbread||(Q.Lists.transformsBase=Q.Lists.transformsBase.concat(Q.Lists.transforms3D));for(var t=0;t<Q.Lists.transformsBase.length;t++)!function(){var o=Q.Lists.transformsBase[t];Q.Normalizations.registered[o]=function(t,e,n){switch(t){case"name":return"transform";case"extract":return Y(e)===R||Y(e).transformCache[o]===R?/^scale/i.test(o)?1:0:Y(e).transformCache[o].replace(/[()]/g,"");case"inject":var i=!1;switch(o.substr(0,o.length-1)){case"translate":i=!/(%|px|em|rem|vw|vh|\d)$/i.test(n);break;case"scal":case"scale":U.State.isAndroid&&Y(e).transformCache[o]===R&&n<1&&(n=1),i=!/(\d)$/i.test(n);break;case"skew":case"rotate":i=!/(deg|\d)$/i.test(n)}return i||(Y(e).transformCache[o]="("+n+")"),Y(e).transformCache[o]}}}();for(var e=0;e<Q.Lists.colors.length;e++)!function(){var r=Q.Lists.colors[e];Q.Normalizations.registered[r]=function(t,e,n){switch(t){case"name":return r;case"extract":var i,o=Q.RegEx.wrappedValueAlreadyExtracted.test(n)?n:(i={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(n)?o=i[n]!==R?i[n]:i.black:Q.RegEx.isHex.test(n)?o="rgb("+Q.Values.hexToRgb(n).join(" ")+")":/^rgba?\(/i.test(n)||(o=i.black),(o||n).toString().match(Q.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g," "));return(!C||8<C)&&3===o.split(" ").length&&(o+=" 1"),o;case"inject":return/^rgb/.test(n)?n:(C<=8?4===n.split(" ").length&&(n=n.split(/\s+/).slice(0,3).join(" ")):3===n.split(" ").length&&(n+=" 1"),(C<=8?"rgb":"rgba")+"("+n.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")")}}}();function r(t,e,n){if("border-box"===Q.getPropertyValue(e,"boxSizing").toString().toLowerCase()!==(n||!1))return 0;for(var i,o=0,t="width"===t?["Left","Right"]:["Top","Bottom"],r=["padding"+t[0],"padding"+t[1],"border"+t[0]+"Width","border"+t[1]+"Width"],s=0;s<r.length;s++)i=parseFloat(Q.getPropertyValue(e,r[s])),isNaN(i)||(o+=i);return n?-o:o}function n(i,o){return function(t,e,n){switch(t){case"name":return i;case"extract":return parseFloat(n)+r(i,e,o);case"inject":return parseFloat(n)-r(i,e,o)+"px"}}}Q.Normalizations.registered.innerWidth=n("width",!0),Q.Normalizations.registered.innerHeight=n("height",!0),Q.Normalizations.registered.outerWidth=n("width"),Q.Normalizations.registered.outerHeight=n("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(C||U.State.isAndroid&&!U.State.isChrome)&&(e+="|transform"),new RegExp("^("+e+")$","i").test(t)},prefixCheck:function(t){if(U.State.prefixMatches[t])return[U.State.prefixMatches[t],!0];for(var e=["","Webkit","Moz","ms","O"],n=0,i=e.length;n<i;n++){var o=0===n?t:e[n]+t.replace(/^\w/,function(t){return t.toUpperCase()});if(q.isString(U.State.prefixElement.style[o]))return[U.State.prefixMatches[t]=o,!0]}return[t,!1]}},Values:{hexToRgb:function(t){return t=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(t,e,n,i){return e+e+n+n+i+i}),(t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t))?[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[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){t=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(t)?"inline":/^(li)$/i.test(t)?"list-item":/^(tr)$/i.test(t)?"table-row":/^(table)$/i.test(t)?"table":/^(tbody)$/i.test(t)?"table-row-group":"block"},addClass:function(t,e){var n;t&&(t.classList?t.classList.add(e):q.isString(t.className)?t.className+=(t.className.length?" ":"")+e:(n=t.getAttribute(C<=7?"className":"class")||"",t.setAttribute("class",n+(n?" ":"")+e)))},removeClass:function(t,e){var n;t&&(t.classList?t.classList.remove(e):q.isString(t.className)?t.className=t.className.toString().replace(new RegExp("(^|\\s)"+e.split(" ").join("|")+"(\\s|$)","gi")," "):(n=t.getAttribute(C<=7?"className":"class")||"",t.setAttribute("class",n.replace(new RegExp("(^|s)"+e.split(" ").join("|")+"(s|$)","gi")," "))))}},getPropertyValue:function(t,e,n,a){function l(t,e){var n=0;if(C<=8)n=$.css(t,e);else{var i=!1;/^(width|height)$/.test(e)&&0===Q.getPropertyValue(t,"display")&&(i=!0,Q.setPropertyValue(t,"display",Q.Values.getDisplayType(t)));var o=function(){i&&Q.setPropertyValue(t,"display","none")};if(!a){if("height"===e&&"border-box"!==Q.getPropertyValue(t,"boxSizing").toString().toLowerCase()){var r=t.offsetHeight-(parseFloat(Q.getPropertyValue(t,"borderTopWidth"))||0)-(parseFloat(Q.getPropertyValue(t,"borderBottomWidth"))||0)-(parseFloat(Q.getPropertyValue(t,"paddingTop"))||0)-(parseFloat(Q.getPropertyValue(t,"paddingBottom"))||0);return o(),r}if("width"===e&&"border-box"!==Q.getPropertyValue(t,"boxSizing").toString().toLowerCase()){var s=t.offsetWidth-(parseFloat(Q.getPropertyValue(t,"borderLeftWidth"))||0)-(parseFloat(Q.getPropertyValue(t,"borderRightWidth"))||0)-(parseFloat(Q.getPropertyValue(t,"paddingLeft"))||0)-(parseFloat(Q.getPropertyValue(t,"paddingRight"))||0);return o(),s}}s=Y(t)===R?W.getComputedStyle(t,null):Y(t).computedStyle?Y(t).computedStyle:Y(t).computedStyle=W.getComputedStyle(t,null),"borderColor"===e&&(e="borderTopColor"),""!==(n=9===C&&"filter"===e?s.getPropertyValue(e):s[e])&&null!==n||(n=t.style[e]),o()}return"auto"!==n||!/^(top|right|bottom|left)$/i.test(e)||("fixed"===(o=l(t,"position"))||"absolute"===o&&/top|left/i.test(e))&&(n=$(t).position()[e]+"px"),n}var i,o;if(Q.Hooks.registered[e]?(o=Q.Hooks.getRoot(i=e),n===R&&(n=Q.getPropertyValue(t,Q.Names.prefixCheck(o)[0])),Q.Normalizations.registered[o]&&(n=Q.Normalizations.registered[o]("extract",t,n)),i=Q.Hooks.extractValue(i,n)):Q.Normalizations.registered[e]&&("transform"!==(n=Q.Normalizations.registered[e]("name",t))&&(r=l(t,Q.Names.prefixCheck(n)[0]),Q.Values.isCSSNullValue(r)&&Q.Hooks.templates[e]&&(r=Q.Hooks.templates[e][1])),i=Q.Normalizations.registered[e]("extract",t,r)),!/^[\d-]/.test(i)){var r=Y(t);if(r&&r.isSVG&&Q.Names.SVGAttribute(e))if(/^(height|width)$/i.test(e))try{i=t.getBBox()[e]}catch(t){i=0}else i=t.getAttribute(e);else i=l(t,Q.Names.prefixCheck(e)[0])}return Q.Values.isCSSNullValue(i)&&(i=0),U.debug,i},setPropertyValue:function(t,e,n,i,o){var r=e;if("scroll"===e)o.container?o.container["scroll"+o.direction]=n:"Left"===o.direction?W.scrollTo(n,o.alternateValue):W.scrollTo(o.alternateValue,n);else if(Q.Normalizations.registered[e]&&"transform"===Q.Normalizations.registered[e]("name",t))Q.Normalizations.registered[e]("inject",t,n),r="transform",n=Y(t).transformCache[e];else{if(Q.Hooks.registered[e]&&(o=e,s=Q.Hooks.getRoot(e),i=i||Q.getPropertyValue(t,s),n=Q.Hooks.injectValue(o,n,i),e=s),Q.Normalizations.registered[e]&&(n=Q.Normalizations.registered[e]("inject",t,n),e=Q.Normalizations.registered[e]("name",t)),r=Q.Names.prefixCheck(e)[0],C<=8)try{t.style[r]=n}catch(t){U.debug}else{var s=Y(t);s&&s.isSVG&&Q.Names.SVGAttribute(e)?t.setAttribute(e,n):t.style[r]=n}U.debug}return[r,n]},flushTransformCache:function(e){var n,i,o,r="",t=Y(e);(C||U.State.isAndroid&&!U.State.isChrome)&&t&&t.isSVG?(n={translate:[(t=function(t){return parseFloat(Q.getPropertyValue(e,t))})("translateX"),t("translateY")],skewX:[t("skewX")],skewY:[t("skewY")],scale:1!==t("scale")?[t("scale"),t("scale")]:[t("scaleX"),t("scaleY")],rotate:[t("rotateZ"),0,0]},$.each(Y(e).transformCache,function(t){/^translate/i.test(t)?t="translate":/^scale/i.test(t)?t="scale":/^rotate/i.test(t)&&(t="rotate"),n[t]&&(r+=t+"("+n[t].join(" ")+") ",delete n[t])})):($.each(Y(e).transformCache,function(t){return i=Y(e).transformCache[t],"transformPerspective"===t?(o=i,!0):void(r+=(t=9===C&&"rotateZ"===t?"rotate":t)+i+" ")}),o&&(r="perspective"+o+" "+r)),Q.setPropertyValue(e,"transform",r)}};Q.Hooks.register(),Q.Normalizations.register(),U.hook=function(t,i,o){var r;return t=g(t),$.each(t,function(t,e){var n;Y(e)===R&&U.init(e),o===R?r===R&&(r=Q.getPropertyValue(e,i)):("transform"===(n=Q.setPropertyValue(e,i,o))[0]&&U.CSS.flushTransformCache(e),r=n)}),r};var v=function(){function t(){return e?k.promise||null:n}var e,n,i,E,T,o=arguments[0]&&(arguments[0].p||$.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||q.isString(arguments[0].properties));q.isWrapped(this)?(e=!1,i=0,n=E=this):(e=!0,i=1,E=o?arguments[0].elements||arguments[0].e:arguments[0]);var k={promise:null,resolver:null,rejecter:null};if(e&&U.Promise&&(k.promise=new U.Promise(function(t,e){k.resolver=t,k.rejecter=e})),F=o?(T=arguments[0].properties||arguments[0].p,arguments[0].options||arguments[0].o):(T=arguments[i],arguments[i+1]),E=g(E)){var A,L=E.length,B=0;if(!/^(stop|finish|finishAll|pause|resume)$/i.test(T)&&!$.isPlainObject(F))for(var F={},r=i+1;r<arguments.length;r++)q.isArray(arguments[r])||!/^(fast|normal|slow)$/i.test(arguments[r])&&!/^\d/.test(arguments[r])?q.isString(arguments[r])||q.isArray(arguments[r])?F.easing=arguments[r]:q.isFunction(arguments[r])&&(F.complete=arguments[r]):F.duration=arguments[r];switch(T){case"scroll":A="scroll";break;case"reverse":A="reverse";break;case"pause":var s=(new Date).getTime();return $.each(E,function(t,e){y(e,s)}),$.each(U.State.calls,function(t,i){var o=!1;i&&$.each(i[1],function(t,n){var e=F===R?"":F;return!0!==e&&i[2].queue!==e&&(F!==R||!1!==i[2].queue)||($.each(E,function(t,e){if(e===n)return i[5]={resume:!1},!(o=!0)}),!o&&void 0)})}),t();case"resume":return $.each(E,function(t,e){b(e)}),$.each(U.State.calls,function(t,i){var o=!1;i&&$.each(i[1],function(t,n){var e=F===R?"":F;return!0!==e&&i[2].queue!==e&&(F!==R||!1!==i[2].queue)||(!i[5]||($.each(E,function(t,e){if(e===n)return i[5].resume=!0,!(o=!0)}),!o&&void 0))})}),t();case"finish":case"finishAll":case"stop":$.each(E,function(t,e){Y(e)&&Y(e).delayTimer&&(clearTimeout(Y(e).delayTimer.setTimeout),Y(e).delayTimer.next&&Y(e).delayTimer.next(),delete Y(e).delayTimer),"finishAll"!==T||!0!==F&&!q.isString(F)||($.each($.queue(e,q.isString(F)?F:""),function(t,e){q.isFunction(e)&&e()}),$.queue(e,q.isString(F)?F:"",[]))});var a=[];return $.each(U.State.calls,function(o,r){r&&$.each(r[1],function(t,n){var i=F===R?"":F;if(!0!==i&&r[2].queue!==i&&(F!==R||!1!==r[2].queue))return!0;$.each(E,function(t,e){e===n&&(!0!==F&&!q.isString(F)||($.each($.queue(e,q.isString(F)?F:""),function(t,e){q.isFunction(e)&&e(null,!0)}),$.queue(e,q.isString(F)?F:"",[])),"stop"===T?((e=Y(e))&&e.tweensContainer&&(!0===i||""===i)&&$.each(e.tweensContainer,function(t,e){e.endValue=e.currentValue}),a.push(o)):"finish"!==T&&"finishAll"!==T||(r[2].duration=1))})})}),"stop"===T&&($.each(a,function(t,e){O(e,!0)}),k.promise&&k.resolver(E)),t();default:if(!$.isPlainObject(T)||q.isEmptyObject(T)){if(q.isString(T)&&U.Redirects[T]){var l,c=(l=$.extend({},F)).duration,u=l.delay||0;return!0===l.backwards&&(E=$.extend(!0,[],E).reverse()),$.each(E,function(t,e){parseFloat(l.stagger)?l.delay=u+parseFloat(l.stagger)*t:q.isFunction(l.stagger)&&(l.delay=u+l.stagger.call(e,t,L)),l.drag&&(l.duration=parseFloat(c)||(/^(callout|transition)/.test(T)?1e3:400),l.duration=Math.max(l.duration*(l.backwards?1-t/L:(t+1)/L),.75*l.duration,200)),U.Redirects[T].call(e,e,l||{},t,L,E,k.promise?k:R)}),t()}var f="Velocity: First argument ("+T+") was not a property map, a known action, or a registered redirect. Aborting.";return k.promise?k.rejecter(new Error(f)):W.console,t()}A="start"}var M={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null},H=[];$.each(E,function(t,e){q.isNode(e)&&m(e,t)}),(l=$.extend({},U.defaults,F)).loop=parseInt(l.loop,10);var d=2*l.loop-1;if(l.loop)for(var p=0;p<d;p++){var h={delay:l.delay,progress:l.progress};p===d-1&&(h.display=l.display,h.visibility=l.visibility,h.complete=l.complete),v(E,"reverse",h)}return t()}function m(P,C){var j,t,e,N=$.extend({},U.defaults,F),D={};switch(Y(P)===R&&U.init(P),parseFloat(N.delay)&&!1!==N.queue&&$.queue(P,N.queue,function(t,e){if(!0===e)return!0;U.velocityQueueEntryFlag=!0;e=U.State.delayedElements.count++;U.State.delayedElements[e]=P;var n,e=(n=e,function(){U.State.delayedElements[n]=!1,t()});Y(P).delayBegin=(new Date).getTime(),Y(P).delay=parseFloat(N.delay),Y(P).delayTimer={setTimeout:setTimeout(t,parseFloat(N.delay)),next:e}}),N.duration.toString().toLowerCase()){case"fast":N.duration=200;break;case"normal":N.duration=400;break;case"slow":N.duration=600;break;default:N.duration=parseFloat(N.duration)||1}function n(){var O,I,t,e,n,i,o,r;if(N.begin&&0===B)try{N.begin.call(E,E)}catch(t){setTimeout(function(){throw t},1)}if("scroll"===A){var s,a,l,c=/^x$/i.test(N.axis)?"Left":"Top",u=parseFloat(N.offset)||0;N.container?q.isWrapped(N.container)||q.isNode(N.container)?(N.container=N.container[0]||N.container,l=(s=N.container["scroll"+c])+$(P).position()[c.toLowerCase()]+u):N.container=null:(s=U.State.scrollAnchor[U.State["scrollProperty"+c]],a=U.State.scrollAnchor[U.State["scrollProperty"+("Left"===c?"Top":"Left")]],l=$(P).offset()[c.toLowerCase()]+u),D={scroll:{rootPropertyValue:!1,startValue:s,currentValue:s,endValue:l,unitType:"",easing:N.easing,scrollData:{container:N.container,direction:c,alternateValue:a}},element:P},U.debug}else if("reverse"===A){if(!(O=Y(P)))return;if(!O.tweensContainer)return void $.dequeue(P,N.queue);for(var f in"none"===O.opts.display&&(O.opts.display="auto"),"hidden"===O.opts.visibility&&(O.opts.visibility="visible"),O.opts.loop=!1,O.opts.begin=null,O.opts.complete=null,F.easing||delete N.easing,F.duration||delete N.duration,N=$.extend({},O.opts,N),I=$.extend(!0,{},O?O.tweensContainer:null))I.hasOwnProperty(f)&&"element"!==f&&(t=I[f].startValue,I[f].startValue=I[f].currentValue=I[f].endValue,I[f].endValue=t,q.isEmptyObject(F)||(I[f].easing=N.easing),U.debug);D=I}else if("start"===A){(O=Y(P))&&O.tweensContainer&&!0===O.isAnimating&&(I=O.tweensContainer);var d,p=function(t,e){var n=Q.Hooks.getRoot(t),i=!1,o=e[0],r=e[1],s=e[2];if(O&&O.isSVG||"tween"===n||!1!==Q.Names.prefixCheck(n)[1]||Q.Normalizations.registered[n]!==R){(N.display!==R&&null!==N.display&&"none"!==N.display||N.visibility!==R&&"hidden"!==N.visibility)&&/opacity|filter/.test(t)&&!s&&0!==o&&(s=0),N._cacheValues&&I&&I[t]?(s===R&&(s=I[t].endValue+I[t].unitType),i=O.rootPropertyValueCache[n]):Q.Hooks.registered[t]?s===R?(i=Q.getPropertyValue(P,n),s=Q.getPropertyValue(P,t,i)):i=Q.Hooks.templates[n][1]:s===R&&(s=Q.getPropertyValue(P,t));var a,l,c=!1,e=function(t,e){var e=(e||"0").toString().toLowerCase().replace(/[%A-z]+$/,function(t){return n=t,""}),n=n||Q.Values.getUnitType(t);return[e,n]};if(s!==o&&q.isString(s)&&q.isString(o)){for(var u="",f=0,d=0,p=[],h=[],m=0,g=0,v=0,s=Q.Hooks.fixColors(s),o=Q.Hooks.fixColors(o);f<s.length&&d<o.length;){var y=s[f],b=o[d];if(/[\d\.-]/.test(y)&&/[\d\.-]/.test(b)){for(var w=y,x=b,_=".",S=".";++f<s.length;){if((y=s[f])===_)_="..";else if(!/\d/.test(y))break;w+=y}for(;++d<o.length;){if((b=o[d])===S)S="..";else if(!/\d/.test(b))break;x+=b}var C,E,T=Q.Hooks.getUnit(s,f),k=Q.Hooks.getUnit(o,d);f+=T.length,d+=k.length,T===k?w===x?u+=w+T:(u+="{"+p.length+(g?"!":"")+"}"+T,p.push(parseFloat(w)),h.push(parseFloat(x))):(C=parseFloat(w),E=parseFloat(x),u+=(m<5?"calc":"")+"("+(C?"{"+p.length+(g?"!":"")+"}":"0")+T+" + "+(E?"{"+(p.length+(C?1:0))+(g?"!":"")+"}":"0")+k+")",C&&(p.push(C),h.push(0)),E&&(p.push(0),h.push(E)))}else{if(y!==b){m=0;break}u+=y,f++,d++,0===m&&"c"===y||1===m&&"a"===y||2===m&&"l"===y||3===m&&"c"===y||4<=m&&"("===y?m++:(m&&m<5||4<=m&&")"===y&&--m<5)&&(m=0),0===g&&"r"===y||1===g&&"g"===y||2===g&&"b"===y||3===g&&"a"===y||3<=g&&"("===y?(3===g&&"a"===y&&(v=1),g++):v&&","===y?3<++v&&(g=v=0):(v&&g<(v?5:4)||(v?4:3)<=g&&")"===y&&--g<(v?5:4))&&(g=v=0)}}f===s.length&&d===o.length||(U.debug,u=R),u&&(p.length?(U.debug,s=p,o=h,a=l=""):u=R)}u||(s=(n=e(t,s))[0],l=n[1],o=(n=e(t,o))[0].replace(/^([+-\/*])=/,function(t,e){return c=e,""}),a=n[1],s=parseFloat(s)||0,o=parseFloat(o)||0,"%"===a&&(/^(fontSize|lineHeight)$/.test(t)?(o/=100,a="em"):/^scale/.test(t)?(o/=100,a=""):/(Red|Green|Blue)$/i.test(t)&&(o=o/100*255,a="")));if(/[\/*]/.test(c))a=l;else if(l!==a&&0!==s)if(0===o)a=l;else{j=j||function(){var t={myParent:P.parentNode||V.body,position:Q.getPropertyValue(P,"position"),fontSize:Q.getPropertyValue(P,"fontSize")},e=t.position===M.lastPosition&&t.myParent===M.lastParent,n=t.fontSize===M.lastFontSize;M.lastParent=t.myParent,M.lastPosition=t.position,M.lastFontSize=t.fontSize;var i,o={};return n&&e?(o.emToPx=M.lastEmToPx,o.percentToPxWidth=M.lastPercentToPxWidth,o.percentToPxHeight=M.lastPercentToPxHeight):(i=O&&O.isSVG?V.createElementNS("http://www.w3.org/2000/svg","rect"):V.createElement("div"),U.init(i),t.myParent.appendChild(i),$.each(["overflow","overflowX","overflowY"],function(t,e){U.CSS.setPropertyValue(i,e,"hidden")}),U.CSS.setPropertyValue(i,"position",t.position),U.CSS.setPropertyValue(i,"fontSize",t.fontSize),U.CSS.setPropertyValue(i,"boxSizing","content-box"),$.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],function(t,e){U.CSS.setPropertyValue(i,e,"100%")}),U.CSS.setPropertyValue(i,"paddingLeft","100em"),o.percentToPxWidth=M.lastPercentToPxWidth=(parseFloat(Q.getPropertyValue(i,"width",null,!0))||1)/100,o.percentToPxHeight=M.lastPercentToPxHeight=(parseFloat(Q.getPropertyValue(i,"height",null,!0))||1)/100,o.emToPx=M.lastEmToPx=(parseFloat(Q.getPropertyValue(i,"paddingLeft"))||1)/100,t.myParent.removeChild(i)),null===M.remToPx&&(M.remToPx=parseFloat(Q.getPropertyValue(V.body,"fontSize"))||16),null===M.vwToPx&&(M.vwToPx=parseFloat(W.innerWidth)/100,M.vhToPx=parseFloat(W.innerHeight)/100),o.remToPx=M.remToPx,o.vwToPx=M.vwToPx,o.vhToPx=M.vhToPx,U.debug,o}();var A=/margin|padding|left|right|width|text|word|letter/i.test(t)||/X$/.test(t)||"x"===t?"x":"y";switch(l){case"%":s*="x"==A?j.percentToPxWidth:j.percentToPxHeight;break;case"px":break;default:s*=j[l+"ToPx"]}switch(a){case"%":s*=1/("x"==A?j.percentToPxWidth:j.percentToPxHeight);break;case"px":break;default:s*=1/j[a+"ToPx"]}}switch(c){case"+":o=s+o;break;case"-":o=s-o;break;case"*":o*=s;break;case"/":o=s/o}D[t]={rootPropertyValue:i,startValue:s,currentValue:s,endValue:o,unitType:a,easing:r},u&&(D[t].pattern=u),U.debug}else U.debug};for(d in T)if(T.hasOwnProperty(d)){var h=Q.Names.camelCase(d),m=(e=T[d],r=o=i=n=void 0,q.isFunction(e)&&(e=e.call(P,C,L)),q.isArray(e)?(i=e[0],r=!q.isArray(e[1])&&/^[\d-]/.test(e[1])||q.isFunction(e[1])||Q.RegEx.isHex.test(e[1])?e[1]:q.isString(e[1])&&!Q.RegEx.isHex.test(e[1])&&U.Easings[e[1]]||q.isArray(e[1])?(o=n?e[1]:K(e[1],N.duration),e[2]):e[1]||e[2]):i=e,n||(o=o||N.easing),[(i=q.isFunction(i)?i.call(P,C,L):i)||0,o,r=q.isFunction(r)?r.call(P,C,L):r]);if(z(Q.Lists.colors)){var g=m[0],v=m[1],y=m[2];if(Q.RegEx.isHex.test(g)){for(var b=["Red","Green","Blue"],w=Q.Values.hexToRgb(g),x=y?Q.Values.hexToRgb(y):R,_=0;_<b.length;_++){var S=[w[_]];v&&S.push(v),x!==R&&S.push(x[_]),p(h+b[_],S)}continue}}p(h,m)}D.element=P}D.element&&(Q.Values.addClass(P,"velocity-animating"),H.push(D),(O=Y(P))&&(""===N.queue&&(O.tweensContainer=D,O.opts=N),O.isAnimating=!0),B===L-1?(U.State.calls.push([H,E,N,null,k.resolver,null,0]),!1===U.State.isTicking&&(U.State.isTicking=!0,X())):B++)}!1!==U.mock&&(!0===U.mock?N.duration=N.delay=1:(N.duration*=parseFloat(U.mock)||1,N.delay*=parseFloat(U.mock)||1)),N.easing=K(N.easing,N.duration),N.begin&&!q.isFunction(N.begin)&&(N.begin=null),N.progress&&!q.isFunction(N.progress)&&(N.progress=null),N.complete&&!q.isFunction(N.complete)&&(N.complete=null),N.display!==R&&null!==N.display&&(N.display=N.display.toString().toLowerCase(),"auto"===N.display&&(N.display=U.CSS.Values.getDisplayType(P))),N.visibility!==R&&null!==N.visibility&&(N.visibility=N.visibility.toString().toLowerCase()),N.mobileHA=N.mobileHA&&U.State.isMobile&&!U.State.isGingerbread,!1===N.queue?N.delay?(t=U.State.delayedElements.count++,U.State.delayedElements[t]=P,e=t,t=function(){U.State.delayedElements[e]=!1,n()},Y(P).delayBegin=(new Date).getTime(),Y(P).delay=parseFloat(N.delay),Y(P).delayTimer={setTimeout:setTimeout(n,parseFloat(N.delay)),next:t}):n():$.queue(P,N.queue,function(t,e){return!0===e?(k.promise&&k.resolver(E),!0):(U.velocityQueueEntryFlag=!0,void n())}),""!==N.queue&&"fx"!==N.queue||"inprogress"===$.queue(P)[0]||$.dequeue(P)}k.promise&&(T&&F&&!1===F.promiseRejectEmpty?k.resolver():k.rejecter())};(U=$.extend(v,U)).animate=v;var T=W.requestAnimationFrame||n;return U.State.isMobile||V.hidden===R||((r=function(){V.hidden?(T=function(t){return setTimeout(function(){t(!0)},16)},X()):T=W.requestAnimationFrame||n})(),V.addEventListener("visibilitychange",r)),t.Velocity=U,t!==W&&(t.fn.velocity=v,t.fn.velocity.defaults=U.defaults),$.each(["Down","Up"],function(t,u){U.Redirects["slide"+u]=function(n,t,i,e,o,r){var t=$.extend({},t),s=t.begin,a=t.complete,l={},c={height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""};t.display===R&&(t.display="Down"===u?"inline"===U.CSS.Values.getDisplayType(n)?"inline-block":"block":"none"),t.begin=function(){for(var t in 0===i&&s&&s.call(o,o),c){var e;c.hasOwnProperty(t)&&(l[t]=n.style[t],e=Q.getPropertyValue(n,t),c[t]="Down"===u?[e,0]:[0,e])}l.overflow=n.style.overflow,n.style.overflow="hidden"},t.complete=function(){for(var t in l)l.hasOwnProperty(t)&&(n.style[t]=l[t]);i===e-1&&(a&&a.call(o,o),r&&r.resolver(o))},U(n,c,t)}}),$.each(["In","Out"],function(t,l){U.Redirects["fade"+l]=function(t,e,n,i,o,r){var s=$.extend({},e),a=s.complete,e={opacity:"In"===l?1:0};0!==n&&(s.begin=null),s.complete=n!==i-1?null:function(){a&&a.call(o,o),r&&r.resolver(o)},s.display===R&&(s.display="In"===l?"auto":"none"),U(this,e,s)}}),U}function Y(t){t=$.data(t,"velocity");return null===t?R:t}function y(t,e){t=Y(t);t&&t.delayTimer&&!t.delayPaused&&(t.delayRemaining=t.delay-e+t.delayBegin,t.delayPaused=!0,clearTimeout(t.delayTimer.setTimeout))}function b(t){t=Y(t);t&&t.delayTimer&&t.delayPaused&&(t.delayPaused=!1,t.delayTimer.setTimeout=setTimeout(t.delayTimer.next,t.delayRemaining))}function l(s,e,a,n){var r=11,l=1/(r-1),t="Float32Array"in W;if(4!==arguments.length)return!1;for(var i=0;i<4;++i)if("number"!=typeof arguments[i]||isNaN(arguments[i])||!isFinite(arguments[i]))return!1;s=Math.min(s,1),a=Math.min(a,1),s=Math.max(s,0),a=Math.max(a,0);var c=new(t?Float32Array:Array)(r);function o(t,e){return 1-3*e+3*t}function u(t,e,n){return((o(e,n)*t+(3*n-6*e))*t+3*e)*t}function f(t,e,n){return 3*o(e,n)*t*t+2*(3*n-6*e)*t+3*e}function d(t){for(var e=0,n=1;n!==r-1&&c[n]<=t;++n)e+=l;var i=e+(t-c[--n])/(c[n+1]-c[n])*l,o=f(i,s,a);return.001<=o?function(t,e){for(var n=0;n<4;++n){var i=f(e,s,a);if(0===i)return e;e-=(u(e,s,a)-t)/i}return e}(t,i):0===o?i:function(t,e,n){for(var i,o,r=0;0<(i=u(o=e+(n-e)/2,s,a)-t)?n=o:e=o,1e-7<Math.abs(i)&&++r<10;);return o}(t,e,e+l)}var p=!1;function h(){p=!0,s===e&&a===n||function(){for(var t=0;t<r;++t)c[t]=u(t*l,s,a)}()}t=function(t){return p||h(),s===e&&a===n?t:0===t?0:1===t?1:u(d(t),e,n)};t.getControlPoints=function(){return[{x:s,y:e},{x:a,y:n}]};var m="generateBezier("+[s,e,a,n]+")";return t.toString=function(){return m},t}function w(t){return-t.tension*t.x-t.friction*t.v}function x(t,e,n){t={x:t.x+n.dx*e,v:t.v+n.dv*e,tension:t.tension,friction:t.friction};return{dx:t.v,dv:w(t)}}function K(t,e){var n=t;return q.isString(t)?U.Easings[t]||(n=!1):n=q.isArray(t)&&1===t.length?function(e){return function(t){return Math.round(t*e)*(1/e)}}.apply(null,t):q.isArray(t)&&2===t.length?a.apply(null,t.concat([e])):!(!q.isArray(t)||4!==t.length)&&l.apply(null,t),n=!1===n?U.Easings[U.defaults.easing]?U.defaults.easing:s:n}function X(t){if(t){var e=U.timestamp&&!0!==t?t:E.now(),n=U.State.calls.length;1e4<n&&(U.State.calls=function(t){for(var e=-1,n=t?t.length:0,i=[];++e<n;){var o=t[e];o&&i.push(o)}return i}(U.State.calls),n=U.State.calls.length);for(var i=0;i<n;i++)if(U.State.calls[i]){var o=U.State.calls[i],r=o[0],s=o[2],a=!(f=o[3]),l=null,c=o[5],u=o[6],f=f||(U.State.calls[i][3]=e-16);if(c){if(!0!==c.resume)continue;f=o[3]=Math.round(e-u-16),o[5]=null}for(var u=o[6]=e-f,d=Math.min(u/s.duration,1),p=0,h=r.length;p<h;p++){var m=r[p],g=m.element;if(Y(g)){var v,y,b,w,x,_,S=!1;for(v in s.display!==R&&null!==s.display&&"none"!==s.display&&("flex"===s.display&&$.each(["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex"],function(t,e){Q.setPropertyValue(g,"display",e)}),Q.setPropertyValue(g,"display",s.display)),s.visibility!==R&&"hidden"!==s.visibility&&Q.setPropertyValue(g,"visibility",s.visibility),m)m.hasOwnProperty(v)&&"element"!==v&&(y=m[v],b=q.isString(y.easing)?U.Easings[y.easing]:y.easing,_=q.isString(y.pattern)?(_=1===d?function(t,e,n){e=y.endValue[e];return n?Math.round(e):e}:function(t,e,n){var i=y.startValue[e],e=y.endValue[e]-i,e=i+e*b(d,s,e);return n?Math.round(e):e},y.pattern.replace(/{(\d+)(!)?}/g,_)):1===d?y.endValue:(x=y.endValue-y.startValue,y.startValue+x*b(d,s,x)),!a&&_===y.currentValue||(y.currentValue=_,"tween"===v?l=_:(Q.Hooks.registered[v]&&(w=Q.Hooks.getRoot(v),(x=Y(g).rootPropertyValueCache[w])&&(y.rootPropertyValue=x)),_=Q.setPropertyValue(g,v,y.currentValue+(C<9&&0===parseFloat(_)?"":y.unitType),y.rootPropertyValue,y.scrollData),Q.Hooks.registered[v]&&(Q.Normalizations.registered[w]?Y(g).rootPropertyValueCache[w]=Q.Normalizations.registered[w]("extract",null,_[1]):Y(g).rootPropertyValueCache[w]=_[1]),"transform"===_[0]&&(S=!0))));s.mobileHA&&Y(g).transformCache.translate3d===R&&(Y(g).transformCache.translate3d="(0px, 0px, 0px)",S=!0),S&&Q.flushTransformCache(g)}}s.display!==R&&"none"!==s.display&&(U.State.calls[i][2].display=!1),s.visibility!==R&&"hidden"!==s.visibility&&(U.State.calls[i][2].visibility=!1),s.progress&&s.progress.call(o[1],o[1],d,Math.max(0,f+s.duration-e),f,l),1===d&&O(i)}}U.State.isTicking&&T(X)}function O(t,e){if(U.State.calls[t]){for(var n=U.State.calls[t][0],i=U.State.calls[t][1],o=U.State.calls[t][2],r=U.State.calls[t][4],s=!1,a=0,l=n.length;a<l;a++){var c=n[a].element;e||o.loop||("none"===o.display&&Q.setPropertyValue(c,"display",o.display),"hidden"===o.visibility&&Q.setPropertyValue(c,"visibility",o.visibility));var u,f=Y(c);if(!0===o.loop||$.queue(c)[1]!==R&&/\.velocityQueueEntryFlag/i.test($.queue(c)[1])||f&&(f.isAnimating=!1,u=!(f.rootPropertyValueCache={}),$.each(Q.Lists.transforms3D,function(t,e){var n=/^scale/.test(e)?1:0,i=f.transformCache[e];f.transformCache[e]!==R&&new RegExp("^\\("+n+"[^.]").test(i)&&(u=!0,delete f.transformCache[e])}),o.mobileHA&&(u=!0,delete f.transformCache.translate3d),u&&Q.flushTransformCache(c),Q.Values.removeClass(c,"velocity-animating")),!e&&o.complete&&!o.loop&&a===l-1)try{o.complete.call(i,i)}catch(t){setTimeout(function(){throw t},1)}r&&!0!==o.loop&&r(i),f&&!0===o.loop&&!e&&($.each(f.tweensContainer,function(t,e){var n;/^rotate/.test(t)&&(parseFloat(e.startValue)-parseFloat(e.endValue))%360==0&&(n=e.startValue,e.startValue=e.endValue,e.endValue=n),/^backgroundPosition/.test(t)&&100===parseFloat(e.endValue)&&"%"===e.unitType&&(e.endValue=0,e.startValue=100)}),U(c,"reverse",{loop:!0,delay:o.delay})),!1!==o.queue&&$.dequeue(c,o.queue)}U.State.calls[t]=!1;for(var d=0,p=U.State.calls.length;d<p;d++)if(!1!==U.State.calls[d]){s=!0;break}!1===s&&(U.State.isTicking=!1,delete U.State.calls,U.State.calls=[])}}jQuery.fn.velocity=jQuery.fn.animate}(window.jQuery||window.Zepto||window,window,window?window.document:void 0)})},879:(t,e,n)=>{var i=n(734),n=n(648);void 0===n.Tether&&(n.Tether=i),t.exports=i},311:t=>{"use strict";t.exports=jQuery}},i={};function y(t){var e=i[t];if(void 0!==e)return e.exports;e=i[t]={exports:{}};return n[t].call(e.exports,e,e.exports,y),e.exports}y.amdO={},y.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return y.d(e,{a:e}),e},y.d=(t,e)=>{for(var n in e)y.o(e,n)&&!y.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},y.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),y.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);(()=>{"use strict";y(240),y(409),y(879),y(249),y(644),y(992),y(22);var t=prestashop,l=y.n(t),t=y(311),c=y.n(t);function i(t,e){var n=e.children().detach();e.empty().append(t.children().detach()),t.append(n)}function o(){l().responsive.mobile?c()("*[id^='_desktop_']").each((t,e)=>{var n=c()(`#${e.id.replace("_desktop_","_mobile_")}`);n.length&&i(c()(e),n)}):c()("*[id^='_mobile_']").each((t,e)=>{var n=c()(`#${e.id.replace("_mobile_","_desktop_")}`);n.length&&i(c()(e),n)}),l().emit("responsive update",{mobile:l().responsive.mobile})}l().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"},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",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"}},c()(document).ready(()=>{l().emit("themeSelectorsInit")}),l().responsive=l().responsive||{},l().responsive.current_width=window.innerWidth,l().responsive.min_width=768,l().responsive.mobile=l().responsive.current_width<l().responsive.min_width,c()(window).on("resize",()=>{var t=l().responsive.current_width,e=l().responsive.min_width,n=window.innerWidth;l().responsive.current_width=n,l().responsive.mobile=l().responsive.current_width<l().responsive.min_width,(e<=t&&n<e||t<e&&e<=n)&&o()}),c()(document).ready(()=>{l().responsive.mobile&&o()}),c()(document).ready(()=>{1===c()("body#checkout").length&&(c()(l().themeSelectors.checkout.termsLink).on("click",t=>{t.preventDefault();t=c()(t.target).attr("href");t&&(t+="?content_only=1",c().get(t,t=>{c()(l().themeSelectors.modal).find(l().themeSelectors.modalContent).html(c()(t).find(".page-cms").contents())}).fail(t=>{l().emit("handleError",{eventType:"clickTerms",resp:t})})),c()(l().themeSelectors.modal).modal("show")}),c()(l().themeSelectors.checkout.giftCheckbox).on("click",()=>{c()("#gift").slideToggle()}),c()(l().themeSelectors.checkout.imagesLink).on("click",function(){const t=c()(this).find("i.material-icons");"expand_more"===t.text()?t.text("expand_less"):t.text("expand_more")})),l().on("updatedDeliveryForm",t=>{void 0!==t.deliveryOption&&0!==t.deliveryOption.length&&(c()(l().themeSelectors.checkout.carrierExtraContent).hide(),t.deliveryOption.next(l().themeSelectors.checkout.carrierExtraContent).slideDown())})}),c()(document).ready(function(){c()("body#order-detail")&&c()(`${l().themeSelectors.order.returnForm} table thead input[type=checkbox]`).on("click",function(){const n=c()(this).prop("checked");c()(`${l().themeSelectors.order.returnForm} table tbody input[type=checkbox]`).each((t,e)=>{c()(e).prop("checked",n)})})});y(525);class a{init(){c()(".js-product-miniature").each((t,e)=>{if(5<c()(e).find(".color").length){let n=0;c()(e).find(".color").each((t,e)=>{4<t&&(c()(e).hide(),n+=1)}),c()(e).find(".js-count").append(`+${n}`)}})}}c()(document).ready(()=>{const e=window.location.href;l().on("clickQuickView",t=>{t={action:"quickview",id_product:t.dataset.idProduct,id_product_attribute:t.dataset.idProductAttribute};c().post(l().urls.pages.product,t,null,"json").then(t=>{c()("body").append(t.quickview_html);const e=c()(`#quickview-modal-${t.product.id}-${t.product.id_product_attribute}`);e.modal("show"),n(e),e.on("hidden.bs.modal",()=>{e.remove()})}).fail(t=>{l().emit("handleError",{eventType:"clickQuickView",resp:t})})});const n=t=>{const e=c()(l().themeSelectors.product.arrows),n=t.find(".js-qv-product-images");c()(l().themeSelectors.product.thumb).on("click",t=>{c()(l().themeSelectors.product.thumb).hasClass("selected")&&c()(l().themeSelectors.product.thumb).removeClass("selected"),c()(t.currentTarget).addClass("selected"),c()(l().themeSelectors.product.cover).attr("src",c()(t.target).data("image-large-src"))}),n.find("li").length<=4?e.hide():e.on("click",t=>{c()(t.target).hasClass("arrow-up")&&c()(".js-qv-product-images").position().top<0?(i("up"),c()(l().themeSelectors.arrowDown).css("opacity","1")):c()(t.target).hasClass("arrow-down")&&n.position().top+n.height()>c()(".js-qv-mask").height()&&(i("down"),c()(l().themeSelectors.arrowUp).css("opacity","1"))}),t.find(l().selectors.quantityWanted).TouchSpin({verticalbuttons:!0,verticalupclass:"fa-regular fa-plus",verticaldownclass:"fa-solid fa-minus",buttondown_class:"btn btn-touchspin js-touchspin",buttonup_class:"btn btn-touchspin js-touchspin",min:1,max:1e6}),c()(l().themeSelectors.touchspin).off("touchstart.touchspin")},i=t=>{const e=c()(".js-qv-product-images");var n=c()(".js-qv-product-images li img").height()+20,i=e.position().top;e.velocity({translateY:"up"===t?i+n:i-n},()=>{0<=e.position().top?c()(".arrow-up").css("opacity",".2"):e.position().top+e.height()<=c()(".js-qv-mask").height()&&c()(".arrow-down").css("opacity",".2")})};c()("body").on("click",l().themeSelectors.listing.searchFilterToggler,()=>{c()(l().themeSelectors.listing.searchFiltersWrapper).removeClass("hidden-sm-down"),c()(l().themeSelectors.contentWrapper).addClass("hidden-sm-down"),c()(l().themeSelectors.footer).addClass("hidden-sm-down")}),c()(`${l().themeSelectors.listing.searchFilterControls} ${l().themeSelectors.clear}`).on("click",()=>{c()(l().themeSelectors.listing.searchFiltersWrapper).addClass("hidden-sm-down"),c()(l().themeSelectors.contentWrapper).removeClass("hidden-sm-down"),c()(l().themeSelectors.footer).removeClass("hidden-sm-down")}),c()(`${l().themeSelectors.listing.searchFilterControls} .ok`).on("click",()=>{c()(l().themeSelectors.listing.searchFiltersWrapper).addClass("hidden-sm-down"),c()(l().themeSelectors.contentWrapper).removeClass("hidden-sm-down"),c()(l().themeSelectors.footer).removeClass("hidden-sm-down")});function o(t){if(void 0!==t.target.dataset.searchUrl)return t.target.dataset.searchUrl;if(void 0===c()(t.target).parent()[0].dataset.searchUrl)throw new Error("Can not parse search URL");return c()(t.target).parent()[0].dataset.searchUrl}c()("body").on("change",`${l().themeSelectors.listing.searchFilters} input[data-search-url]`,t=>{l().emit("updateFacets",o(t))}),c()("body").on("click",l().themeSelectors.listing.searchFiltersClearAll,t=>{l().emit("updateFacets",o(t))}),c()("body").on("click",l().themeSelectors.listing.searchLink,t=>{t.preventDefault(),l().emit("updateFacets",c()(t.target).closest("a").get(0).href)}),c()(l().themeSelectors.listing.list).length&&window.addEventListener("popstate",t=>{var t=t.state;window.location.href=t&&t.current_url?t.current_url:e}),c()("body").on("change",`${l().themeSelectors.listing.searchFilters} select`,t=>{const e=c()(t.target).closest("form");l().emit("updateFacets",`?${e.serialize()}`)}),l().on("updateProductList",t=>{!function(t){c()(l().themeSelectors.listing.searchFilters).replaceWith(t.rendered_facets),c()(l().themeSelectors.listing.activeSearchFilters).replaceWith(t.rendered_active_filters),c()(l().themeSelectors.listing.listTop).replaceWith(t.rendered_products_top),c()(l().themeSelectors.listing.list).replaceWith(t.rendered_products),c()(l().themeSelectors.listing.listBottom).replaceWith(t.rendered_products_bottom),t.rendered_products_header&&c()(l().themeSelectors.listing.listHeader).replaceWith(t.rendered_products_header);const e=new a;e.init()}(t),window.scrollTo(0,0)})}),c()(document).on("change","#selectProductSort",function(){var t=c()(this).val();window.location.href=b64_to_utf8(t)}),c()(document).ready(function(){c()("#search_filters").on("click",".js-search-link",function(){c()(this).parent(".facet-label").children(".custom-checkbox").children('input[type="checkbox"]').prop("checked",!0).trigger("change")})});class u{init(){const t=c()(".js-modal-arrows"),e=c()(".js-modal-product-images");c()("body").on("click",".js-modal-thumb",t=>{c()(".js-modal-thumb").hasClass("selected")&&c()(".js-modal-thumb").removeClass("selected"),c()(t.currentTarget).addClass("selected"),c()(".js-modal-product-cover").attr("src",c()(t.target).data("image-large-src")),c()(".js-modal-product-cover").attr("title",c()(t.target).attr("title")),c()(".js-modal-product-cover").attr("alt",c()(t.target).attr("alt"))}).on("click","aside#thumbnails",t=>{"thumbnails"===t.target.id&&c()("#product-modal").modal("hide")}),c()(".js-modal-product-images li").length<=5?t.css("opacity",".2"):t.on("click",t=>{c()(t.target).hasClass("arrow-up")&&e.position().top<0?(this.move("up"),c()(".js-modal-arrow-down").css("opacity","1")):c()(t.target).hasClass("arrow-down")&&e.position().top+e.height()>c()(".js-modal-mask").height()&&(this.move("down"),c()(".js-modal-arrow-up").css("opacity","1"))})}move(t){const e=c()(".js-modal-product-images");var n=c()(".js-modal-product-images li img").height()+10,i=e.position().top;e.velocity({translateY:"up"===t?i+n:i-n},()=>{0<=e.position().top?c()(".js-modal-arrow-up").css("opacity",".2"):e.position().top+e.height()<=c()(".js-modal-mask").height()&&c()(".js-modal-arrow-down").css("opacity",".2")})}}c()(document).ready(()=>{function o(){const i=c()(l().themeSelectors.product.cover);let o=c()(l().themeSelectors.product.selected);const r=(t,e)=>{const n=e.find(l().themeSelectors.product.thumb);c()(l().themeSelectors.product.modalProductCover).attr("src",n.data("image-large-src")),t.removeClass("selected"),n.addClass("selected"),i.prop("src",n.data("image-medium-src"))};c()(l().themeSelectors.product.thumb).on("click",t=>{o=c()(l().themeSelectors.product.selected),r(o,c()(t.target).closest(l().themeSelectors.product.thumbContainer))}),i.swipe({swipe:(t,e)=>{o=c()(l().themeSelectors.product.selected);const n=o.closest(l().themeSelectors.product.thumbContainer);"right"===e?0<n.prev().length?r(o,n.prev()):0<n.next().length&&r(o,n.next()):"left"===e&&(0<n.next().length?r(o,n.next()):0<n.prev().length&&r(o,n.prev()))}})}function r(){2<c()("#main .js-qv-product-images li").length?(c()("#main .js-qv-mask").addClass("scroll"),c()(".scroll-box-arrows").addClass("scroll"),c()("#main .js-qv-mask").scrollbox({direction:"h",distance:113,autoPlay:!1}),c()(".scroll-box-arrows .left").click(()=>{c()("#main .js-qv-mask").trigger("backward")}),c()(".scroll-box-arrows .right").click(()=>{c()("#main .js-qv-mask").trigger("forward")})):(c()("#main .js-qv-mask").removeClass("scroll"),c()(".scroll-box-arrows").removeClass("scroll"))}function s(){c()(l().themeSelectors.fileInput).on("change",t=>{let e;(t=c()(t.currentTarget)[0])&&(e=t.files[0])&&c()(t).prev().text(e.name)})}function e(){const t=c()("#quantity_wanted");t.TouchSpin({verticalbuttons:!0,verticalupclass:"fa-regular fa-plus",verticaldownclass:"fa-solid fa-minus",buttondown_class:"btn btn-touchspin js-touchspin",buttonup_class:"btn btn-touchspin js-touchspin",min:parseInt(t.attr("min"),10),max:1e6}),c()("body").on("change keyup","#quantity_wanted",t=>{c()(t.currentTarget).trigger("touchspin.stopspin"),l().emit("updateProduct",{eventType:"updatedProductQuantity",event:t})})}e(),s(),o(),r(),function(){const t=c()(l().themeSelectors.product.tabs);t.on("show.bs.tab",t=>{const e=c()(t.target);e.addClass(l().themeSelectors.product.activeNavClass),c()(e.attr("href")).addClass(l().themeSelectors.product.activeTabClass)}),t.on("hide.bs.tab",t=>{const e=c()(t.target);e.removeClass(l().themeSelectors.product.activeNavClass),c()(e.attr("href")).removeClass(l().themeSelectors.product.activeTabClass)})}(),l().on("updatedProduct",t=>{if(s(),o(),t&&t.product_minimal_quantity){var e=parseInt(t.product_minimal_quantity,10);const i=c()("#quantity_wanted");i.trigger("touchspin.updatesettings",{min:e})}r(),c()(c()(l().themeSelectors.product.activeTabs).attr("href")).addClass("active").removeClass("fade"),c()(l().themeSelectors.product.imagesModal).replaceWith(t.product_images_modal);const n=new u;n.init()}),l().on("updatedProduct",function(t){c()(".product-information .price_outstanding .product_prices").html(t.product_prices),c()(".product-information .price_outstanding .product_variants").html(t.product_variants),c()(".product-information .price_outstanding .product_add_to_cart").html(t.product_add_to_cart),e(),c()(".product_topview .page-content .product_cover_thumbnails").html(t.product_cover_thumbnails),c()(".product_topview .page-content .product_flags").html(t.product_flags),c()(".product_topview .block_center .product_customization").html(t.product_customization)})}),c()(document).on("click",".pack_dto",function(){var t=c()(this).attr("data-qty");c()("#quantity_wanted").val(t),c()(".pack_dto").each(function(){c()(this).removeClass("checked")}),c()(this).addClass("checked"),l().emit("updateProduct",{eventType:"updatedProductQuantity"})}),1<c()(".images-container ").data("numimgs")&&("undefined"!=typeof show_product_imgs&&1==show_product_imgs?c()(document).ready(function(){l().on("updatedProduct",function(){var t=new Splide("#splide_images_product_secundary",{fixedWidth:70,height:70,gap:10,cover:!0,isNavigation:!0,focus:"left",pagination:!1,arrows:!1,breakpoints:{991:{fixedWidth:50,height:50}}}).mount();new Splide("#splide_images_product_miniature",{perPage:1,pagination:!1,arrows:!0}).sync(t).mount()})}):"undefined"!=typeof show_product_imgs&&0==is_mobile&&2==show_product_imgs?c()(document).ready(function(){l().on("updatedProduct",function(){var t=new Splide("#splide_images_product_secundary_lateral",{direction:"ttb",height:"310px",perPage:4,pagination:!1,arrows:!1,gap:10,cover:!0,isNavigation:!0,fixedWidth:70,breakpoints:{991:{fixedWidth:50,height:"245px"}}}).mount();new Splide("#splide_images_product_miniature_lateral",{perPage:1,pagination:!1,arrows:!0}).mount().sync(t).mount()})}):c()(document).ready(function(){l().on("updatedProduct",function(){new Splide("#splide_images_product",{perPage:1,pagination:!1,lazyLoad:"sequential",arrows:!0}).mount()})})),l().cart=l().cart||{},l().cart.active_inputs=null;const f='input[name="product-quantity-spin"]';let n=!1,r=!1,s="";function d(){c().each(c()(f),(t,e)=>{c()(e).TouchSpin({verticalbuttons:!0,verticalupclass:"fa-regular fa-plus",verticaldownclass:"fa-solid fa-minus",buttondown_class:"btn btn-touchspin js-touchspin js-increase-product-quantity",buttonup_class:"btn btn-touchspin js-touchspin js-decrease-product-quantity",min:parseInt(c()(e).attr("min"),10),max:1e6})}),c()(l().themeSelectors.touchspin).off("touchstart.touchspin"),p.switchErrorStat()}c()(document).ready(()=>{const r=".js-cart-line-product-quantity",s=[];l().on("updateCart",()=>{c()(".quickview").modal("hide")}),l().on("updatedCart",()=>{d()}),d();const t=c()("body");function n(t,e){if("on.startupspin"!==(n=e)&&"on.startdownspin"!==n)return{url:t.attr("href"),type:function(t){var e=t.split("-");let n,i,o="";for(n=0;n<e.length;n+=1)i=e[n],0!==n&&(i=i.substring(0,1).toUpperCase()+i.substring(1)),o+=i;return o}(t.data("link-action"))};var n;const i=function(t){const e=t.parents(".bootstrap-touchspin").find(r);return e.is(":focus")?null:e}(t);if(!i)return!1;let o={};return o="on.startupspin"===e?{url:i.data("up-url"),type:"increaseProductQuantity"}:{url:i.data("down-url"),type:"decreaseProductQuantity"},o}const a=()=>{let t;for(;0<s.length;)t=s.pop(),t.abort()};var e=t=>{t.preventDefault();const i=c()(t.currentTarget),o=t.currentTarget.dataset,e=n(i,t.namespace);e&&(a(),c().ajax({url:e.url,method:"POST",data:{ajax:"1",action:"update"},dataType:"json",beforeSend(t){s.push(t)}}).then(t=>{p.checkUpdateOpertation(t);const e=(n=i,c()(n.parents(".bootstrap-touchspin").find("input")));var n;e.val(t.quantity),l().emit("updateCart",{reason:o,resp:t})}).fail(t=>{l().emit("handleError",{eventType:"updateProductInCart",resp:t,cartAction:e.type})}))};function i(t){const e=c()(t.currentTarget);var n,i=e.data("update-url"),o=e.attr("value"),t=e.val();t!=parseInt(t,10)||t<0||isNaN(t)?e.val(o):0!=(o=t-o)&&(e.attr("value",t),i=i,o=o,o={ajax:"1",qty:Math.abs(o),action:"update",op:0<o?"up":"down"},n=e,a(),c().ajax({url:i,method:"POST",data:o,dataType:"json",beforeSend(t){s.push(t)}}).then(t=>{p.checkUpdateOpertation(t),n.val(t.quantity);let e;e=n&&n.dataset?n.dataset:t,l().emit("updateCart",{reason:e,resp:t})}).fail(t=>{l().emit("handleError",{eventType:"updateProductQuantityInCart",resp:t})}))}t.on("click",'[data-link-action="delete-from-cart"], [data-link-action="remove-voucher"]',e),t.on("touchspin.on.startdownspin",f,e),t.on("touchspin.on.startupspin",f,e),t.on("focusout keyup",r,t=>("keyup"===t.type?13===t.keyCode&&i(t):i(t),!1));t.on("hidden.bs.collapse","#promo-code",()=>{c()(".display-promo").show(400)}),t.on("click",".promo-code-button",t=>{t.preventDefault(),c()("#promo-code").collapse("toggle")}),t.on("click",".display-promo",t=>{c()(t.currentTarget).hide(400)}),t.on("click",".js-discount .code",t=>{t.stopPropagation();const e=c()(t.currentTarget),n=c()("[name=discount_name]");return n.val(e.text()),c()("#promo-code").collapse("show"),c()(".display-promo").hide(400),!1})});const p={switchErrorStat:()=>{const t=c()(".checkout a");var e;(c()("#notifications article.alert-danger").length||""!==s&&!n)&&t.addClass("disabled"),""!==s?(e=` <article class="alert alert-danger" role="alert" data-alert="danger"><ul><li>${s}</li></ul></article>`,c()("#notifications .container").html(e),s="",r=!1,n&&t.removeClass("disabled")):!n&&r&&(n=!1,r=!1,c()("#notifications .container").html(""),t.removeClass("disabled"))},checkUpdateOpertation:t=>{n=t.hasOwnProperty("hasError");const e=t.errors||"";s=e instanceof Array?e.join(" "):e,r=!0}};var t=y(620),e=y.n(t);class h{constructor(t){this.el=t}init(){this.el.on("show.bs.dropdown",(t,e)=>{(e?c()(`#${e}`):c()(t.target)).find(".dropdown-menu").first().stop(!0,!0).slideDown()}),this.el.on("hide.bs.dropdown",(t,e)=>{(e?c()(`#${e}`):c()(t.target)).find(".dropdown-menu").first().stop(!0,!0).slideUp()}),this.el.find("select.link").each((t,e)=>{c()(e).on("change",function(){window.location=c()(this).val()})})}}class m{init(){this.parentFocus(),this.togglePasswordVisibility()}parentFocus(){c()(".js-child-focus").focus(function(){c()(this).closest(".js-parent-focus").addClass("focus")}),c()(".js-child-focus").focusout(function(){c()(this).closest(".js-parent-focus").removeClass("focus")})}togglePasswordVisibility(){c()('button[data-action="show-password"]').on("click",function(){const t=c()(this).closest(".input-group").children("input.js-visible-password");"password"===t.attr("type")?(t.attr("type","text"),c()(this).text(c()(this).data("textHide"))):(t.attr("type","password"),c()(this).text(c()(this).data("textShow")))})}}class g extends h{init(){let i;const t=this;this.el.find("li").hover(t=>{if(!this.el.parent().hasClass("mobile")){var e=c()(t.currentTarget).attr("class");if(i!==e){const n=Array.prototype.slice.call(t.currentTarget.classList).map(t=>"string"==typeof t&&`.${t}`);i=n.join(""),i&&0===c()(t.target).data("depth")&&c()(`${i} .js-sub-menu`).css({top:c()(`${i}`).height()+c()(`${i}`).position().top})}}}),c()("#menu-icon").on("click",()=>{c()("#mobile_top_menu_wrapper").toggle(),t.toggleMobileMenu()}),this.el.on("click",t=>{this.el.parent().hasClass("mobile")||t.stopPropagation()}),l().on("responsive update",()=>{c()(".js-sub-menu").removeAttr("style"),t.toggleMobileMenu()}),super.init()}toggleMobileMenu(){c()("#header").toggleClass("is-open"),c()("#mobile_top_menu_wrapper").is(":visible")?c()("#notifications, #wrapper, #footer").hide():c()("#notifications, #wrapper, #footer").show()}}y(321),y(294);l().blockcart=l().blockcart||{},l().blockcart.showModal=t=>{function e(){return c()("#blockcart-modal")}let n=e();n.length&&n.remove(),c()("body").append(t),n=e(),n.modal("show").on("hidden.bs.modal",t=>{l().emit("updateProduct",{reason:t.currentTarget.dataset,event:t})})};for(const v in e().prototype)l()[v]=e().prototype[v];c()(document).ready(()=>{var t=c()(".js-dropdown");const e=new m;var n=c()('.js-top-menu ul[data-depth="0"]');const i=new h(t),o=new g(n),r=new a,s=new u;i.init(),e.init(),o.init(),r.init(),s.init(),c()('.carousel[data-touch="true"]').swipe({swipe(t,e){"left"===e&&c()(this).carousel("next"),"right"===e&&c()(this).carousel("prev")},allowPageScroll:"vertical"})})})()})();/**
 * 2007-2020 PrestaShop.
 *
 * 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.txt.
 * 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 http://www.prestashop.com for more information.
 *
 * @author    PrestaShop SA <contact@prestashop.com>
 * @copyright 2007-2020 PrestaShop SA
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
 * International Registered Trademark & Property of PrestaShop SA
 */
$(document).ready(function(){$('.block_newsletter form').on('submit',function(){var psemailsubscriptionForm=$(this);if(typeof psemailsubscription_subscription==='undefined'){return!0}
$('.block_newsletter_alert').remove();$.ajax({type:'POST',dataType:'JSON',url:psemailsubscription_subscription,cache:!1,data:$(this).serialize(),success:function(data){if(data.nw_error){psemailsubscriptionForm.prepend('<p class="alert alert-danger block_newsletter_alert">'+data.msg+'</p>')}else{psemailsubscriptionForm.prepend('<p class="alert alert-success block_newsletter_alert">'+data.msg+'</p>')}},error:function(err){console.log(err)}});return!1})});/*! For license information please see front.js.LICENSE.txt */
(()=>{var e={267:()=>{},379:e=>{"use strict";var t=[];function r(e){for(var r=-1,n=0;n<t.length;n++)if(t[n].identifier===e){r=n;break}return r}function n(e,n){for(var a={},o=[],i=0;i<e.length;i++){var c=e[i],u=n.base?c[0]+n.base:c[0],l=a[u]||0,d="".concat(u," ").concat(l);a[u]=l+1;var p=r(d),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==p)t[p].references++,t[p].updater(f);else{var v=s(f,n);n.byIndex=i,t.splice(i,0,{identifier:d,updater:v,references:1})}o.push(d)}return o}function s(e,t){var r=t.domAPI(t);return r.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;r.update(e=t)}else r.remove()}}e.exports=function(e,s){var a=n(e=e||[],s=s||{});return function(e){e=e||[];for(var o=0;o<a.length;o++){var i=r(a[o]);t[i].references--}for(var c=n(e,s),u=0;u<a.length;u++){var l=r(a[u]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}a=c}}},569:e=>{"use strict";var t={};e.exports=function(e,r){var n=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r)}},216:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},565:(e,t,r)=>{"use strict";e.exports=function(e){var t=r.nc;t&&e.setAttribute("nonce",t)}},795:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(r){!function(e,t,r){var n="";r.supports&&(n+="@supports (".concat(r.supports,") {")),r.media&&(n+="@media ".concat(r.media," {"));var s=void 0!==r.layer;s&&(n+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),n+=r.css,s&&(n+="}"),r.media&&(n+="}"),r.supports&&(n+="}");var a=r.sourceMap;a&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleTagTransform(n,e,t.options)}(t,e,r)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},589:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}}},t={};function r(n){var s=t[n];if(void 0!==s)return s.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.nc=void 0,(()=>{"use strict";var e=r(379),t=r.n(e),n=r(795),s=r.n(n),a=r(569),o=r.n(a),i=r(565),c=r.n(i),u=r(216),l=r.n(u),d=r(589),p=r.n(d),f=r(267),v=r.n(f),m={};m.styleTagTransform=p(),m.setAttributes=c(),m.insert=o().bind(null,"head"),m.domAPI=s(),m.insertStyleElement=l(),t()(v(),m),v()&&v().locals&&v().locals,$(window).ready((()=>{const e=$(".blockreassurance_product img.svg, .blockreassurance img.svg").map((function(){return $(this).attr("src")})).toArray();e.filter(((t,r)=>e.indexOf(t)===r)).forEach((function(e){const t=$(`.blockreassurance_product img.svg.invisible[src="${e}"], .blockreassurance img.svg.invisible[src="${e}"]`);0!==t.length&&$.ajax({url:e,type:"GET",success(r){if($.isXMLDoc(r)){let n=$(r).find("svg");n=n.attr("data-img-url",e),n=n.removeAttr("xmlns:a"),n.find("path[fill]").attr("fill",window.psr_icon_color),n.find("path:not([fill])").css("fill",window.psr_icon_color),t.each((function(){const e=$(this).attr("id"),t=$(this).attr("class");let r=n.clone();r=void 0!==e?r.attr("id",e):r,r=void 0!==t?r.attr("class",`${t} replaced-svg`):r.attr("class"," replaced-svg"),r.removeClass("invisible"),$(this).replaceWith(r)}))}}})}))}))})()})();$(document).ready(function(){$('.form-fields').append('<div id="captcha-box"></div>')});/**
 * 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 version 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.
 *
 * @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 version 3.0
 */
$(document).ready(function(){prestashop.on('updateProduct',function(params){if(params.eventType==='updatedProductCombination'){var productId=$('input[name="id_product"]').val();var $productAttributes=$(params.event.handleObj.selector);var attributes=[];$productAttributes.each(function(key,attribute){if($(attribute).is("input")&&!$(attribute).is(':checked')){return}
attributes.push($(attribute).val())})
ajaxProductCombinationChange(productId,attributes)}});function ajaxProductCombinationChange(productId,attributes){$.ajax({type:'POST',url:prestashopFacebookAjaxController,data:{action:'CustomizeProduct',ajax:!0,id_product:productId,attribute_ids:attributes,}})}});/**
 * 2007-2021 PrestaShop
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 * 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 http://www.prestashop.com for more information.
 *
 * @author    DevBlinders <soporte@devblinders.com>
 * @copyright Copyright (c) DevBlinders
 * @license   Commercial license
 */
$(document).on("click",".datatext",function(e){var target=$(this).attr("datatarget");if(target=='blank'){window.open(b64_to_utf8($(this).attr("datatext")),'_blank')}else{window.location.href=b64_to_utf8($(this).attr("datatext"))}});function b64_to_utf8(str){return decodeURIComponent(escape(window.atob(str)))};/**
 * Copyright ETS Software Technology Co., Ltd
 *
 * NOTICE OF LICENSE
 *
 * This file is not open source! Each license that you purchased is only available for 1 website only.
 * If you want to use this file on more websites (or projects), you need to purchase additional licenses.
 * You are not allowed to redistribute, resell, lease, license, sub-license or offer our resources to any third party.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future.
 *
 * @author ETS Software Technology Co., Ltd
 * @copyright  ETS Software Technology Co., Ltd
 * @license    Valid for 1 website (or project) for each purchase of license
 */
$(document).ready(function(){$(document).on('click','.ets-cb-btn-ok',function(){var link_ajax=$(this).attr('href');$('.ets_cookie_banber_block').remove();$.ajax({url:link_ajax,data:'submitEtscbSaveCookie=1',type:'post',dataType:'json',success:function(json){}});return!1});$(document).on('click','.close_cookie',function(e){$('.ets_cookie_banber_block').remove()});$(document).on('click','.ets-cb-btn-not-ok',function(e){$('.ets_cookie_banber_block').remove();if($(this).attr('href')!='#'){window.location.href=(this).attr('href')}})});/**
 * NOTICE OF LICENSE
 *
 * This file is licenced under the Software License Agreement.
 * With the purchase or the installation of the software in your application
 * you accept the licence agreement.
 *
 * You must not modify, adapt or create derivative works of this source code
 *
 * @author    Doofinder
 * @copyright Doofinder
 * @license   GPLv3
 */
let dfAddToCart=(cartOptions)=>{let form=document.createElement("form");Object.assign(form,{method:"post",action:cartOptions.cartURL,style:"display: none;"});let cuantityInput=document.createElement("input");Object.assign(cuantityInput,{type:"number",name:"qty",value:cartOptions.cuantity,min:1});let productAttributeInput=document.createElement("input");Object.assign(productAttributeInput,{type:"hidden",name:"id_product_attribute",value:cartOptions.customizationID});let productInput=document.createElement("input");Object.assign(productInput,{type:"hidden",name:"id_product",value:cartOptions.productID});let tokenInput=document.createElement("input");Object.assign(tokenInput,{type:"hidden",name:"token",value:cartOptions.cartToken});let submit=document.createElement("input");submit.setAttribute("type","submit");submit.setAttribute("data-button-action","add-to-cart");form.appendChild(cuantityInput);form.appendChild(productAttributeInput);form.appendChild(productInput);form.appendChild(tokenInput);form.appendChild(submit);document.body.appendChild(form);submit.click();form.remove()}
let doofinderManageCart=(cartOptions)=>{dfAddToCart(cartOptions)};/**
 * 2007-2021 PrestaShop
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 * 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 http://www.prestashop.com for more information.
 *
 * @author    DevBlinders <soporte@devblinders.com>
 * @copyright Copyright (c) DevBlinders
 * @license   Commercial license
 */
$(document).ready(function(){var dondeEstoy=["MenuPrincipal"];var menuPrincipalTitulo="#dbmenu_burger .modal-body .menu_header";var menuPrincipalCuerpo="#dbmenu_burger .modal-body .dbmenu_primary";var categoriasPrincipales="#dbmenu_burger .modal-body .dbmenu_primary .item_primary";var categoriasPrincipales2="#dbmenu_burger .modal-body .item_primary";var categoriasHijas="#dbmenu_burger .modal-body .subitems";var principalEntrarACategoriasHijas="#dbmenu_burger .modal-body .open_subitems";var categoriasSelTxt="#dbmenu_burger .modal-body .";var categoriasBack="#dbmenu_burger .modal-body .dbmenu_back";var subCategoriasPadre=" .open_subitems"
$('#header .header-nav #menu-icon').replaceWith('<span class="open_dbmenu" data-toggle="modal" data-target="#dbmenu_burger">\n'+'<i class="material-icons">menu</i>'+'</span>');var MenuPrincipal=function(accion){if(accion=="mostrar"){$(menuPrincipalTitulo).show('400');$(menuPrincipalCuerpo).show('400')}else if(accion=="ocultar"){$(menuPrincipalTitulo).hide('400');$(menuPrincipalCuerpo).hide('400')}}
var MenuHijoOcultar=function(selector){$(selector).css("height","0px");$(selector).css("overflow-y","hidden")};var MenuHijoMostrar=function(selector){$(selector).css("height","100vh");$(selector).css("overflow-y","scroll")};var MenusHijos=function(accion,esteObjeto){claseOcultar=dondeEstoy[dondeEstoy.length-1];if(accion=="irAtras"){selectorOcultar=categoriasSelTxt+claseOcultar;MenuHijoOcultar(selectorOcultar);if(dondeEstoy.length==2){MenuPrincipal("mostrar")}else{claseMostrar=dondeEstoy[dondeEstoy.length-2];selectorMostrar=categoriasSelTxt+claseMostrar;MenuHijoMostrar(selectorMostrar)}
dondeEstoy.pop()}else if(accion=="irAHijo"){var categoriaMostrar=$(esteObjeto).attr('data-subitem');selectorMostrar=categoriasSelTxt+categoriaMostrar;selectorOcultar=categoriasSelTxt+claseOcultar;if(dondeEstoy.length==1){MenuPrincipal("ocultar")}else{MenuHijoOcultar(selectorOcultar)}
MenuHijoMostrar(selectorMostrar);dondeEstoy.push(categoriaMostrar)}};$("#dbmenu_burger .modal-body .open_subitems").click(function(){MenusHijos("irAHijo",this);return!1});$(categoriasBack).click(function(){MenusHijos("irAtras",this);return!1})});$("#header .open_dbmenu").click(function(){setTimeout(function(){$("#dbmenu_burger .modal-body")},300)});/**
 * 2007-2015 PrestaShop
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 * 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 http://www.prestashop.com for more information.
 *
 *  @author    PrestaShop SA <contact@prestashop.com>
 *  @copyright 2007-2015 PrestaShop SA
 *  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 *  International Registered Trademark & Property of PrestaShop SA
 **/
var GoogleAnalyticEnhancedECommerce={setCurrency:function(Currency){ga('set','&cu',Currency)},add:function(Product,Order,Impression){var Products={};var Orders={};var ProductFieldObject=['id','name','category','brand','variant','price','quantity','coupon','list','position','dimension1'];var OrderFieldObject=['id','affiliation','revenue','tax','shipping','coupon','list','step','option'];if(Product!=null){if(Impression&&Product.quantity!==undefined){delete Product.quantity}
for(var productKey in Product){for(var i=0;i<ProductFieldObject.length;i++){if(productKey.toLowerCase()==ProductFieldObject[i]){if(Product[productKey]!=null){Products[productKey.toLowerCase()]=Product[productKey]}}}}}
if(Order!=null){for(var orderKey in Order){for(var j=0;j<OrderFieldObject.length;j++){if(orderKey.toLowerCase()==OrderFieldObject[j]){Orders[orderKey.toLowerCase()]=Order[orderKey]}}}}
if(Impression){ga('ec:addImpression',Products)}else{ga('ec:addProduct',Products)}},addProductDetailView:function(Product){this.add(Product);ga('ec:setAction','detail');ga('send','event','UX','detail','Product Detail View',{'nonInteraction':1})},addToCart:function(Product){this.add(Product);ga('ec:setAction','add');ga('send','event','UX','click','Add to Cart')},removeFromCart:function(Product){this.add(Product);ga('ec:setAction','remove');ga('send','event','UX','click','Remove From cart')},addProductImpression:function(Product){},refundByOrderId:function(Order){ga('ec:setAction','refund',{'id':Order.id});ga('send','event','Ecommerce','Refund',{'nonInteraction':1})},refundByProduct:function(Order){ga('ec:setAction','refund',{'id':Order.id,});ga('send','event','Ecommerce','Refund',{'nonInteraction':1})},addProductClick:function(Product){var ClickPoint=jQuery('a[href$="'+Product.url+'"].quick-view');ClickPoint.on("click",function(){GoogleAnalyticEnhancedECommerce.add(Product);ga('ec:setAction','click',{list:Product.list});ga('send','event','Product Quick View','click',Product.list,{'hitCallback':function(){return!ga.loaded}})})},addProductClickByHttpReferal:function(Product){this.add(Product);ga('ec:setAction','click',{list:Product.list});ga('send','event','Product Click','click',Product.list,{'nonInteraction':1,'hitCallback':function(){return!ga.loaded}})},addTransaction:function(Order){ga('ec:setAction','purchase',Order);ga('send','event','Transaction','purchase',{'hitCallback':function(){$.get(Order.url,{orderid:Order.id,customer:Order.customer})}})},addCheckout:function(Step){ga('ec:setAction','checkout',{'step':Step})}};/*! http://responsiveslides.com v1.54 by @viljamis */
(function(c,I,B){c.fn.responsiveSlides=function(l){var a=c.extend({auto:!0,speed:500,timeout:4E3,pager:!1,nav:!1,random:!1,pause:!1,pauseControls:!0,prevText:"Previous",nextText:"Next",maxwidth:"",navContainer:"",manualControls:"",namespace:"rslides",before:c.noop,after:c.noop},l);return this.each(function(){B++;var f=c(this),s,r,t,m,p,q,n=0,e=f.children(),C=e.size(),h=parseFloat(a.speed),D=parseFloat(a.timeout),u=parseFloat(a.maxwidth),g=a.namespace,d=g+B,E=g+"_nav "+d+"_nav",v=g+"_here",j=d+"_on",w=d+"_s",k=c("<ul class='"+g+"_tabs "+d+"_tabs' />"),x={"float":"left",position:"relative",opacity:1,zIndex:2},y={"float":"none",position:"absolute",opacity:0,zIndex:1},F=function(){var b=(document.body||document.documentElement).style,a="transition";if("string"===typeof b[a])return!0;s=["Moz","Webkit","Khtml","O","ms"];var a=a.charAt(0).toUpperCase()+a.substr(1),c;for(c=0;c<s.length;c++)if("string"===typeof b[s[c]+a])return!0;return!1}(),z=function(b){a.before(b);F?(e.removeClass(j).css(y).eq(b).addClass(j).css(x),n=b,setTimeout(function(){a.after(b)},h)):e.stop().fadeOut(h,function(){c(this).removeClass(j).css(y).css("opacity",1)}).eq(b).fadeIn(h,function(){c(this).addClass(j).css(x);a.after(b);n=b})};a.random&&(e.sort(function(){return Math.round(Math.random())-0.5}),f.empty().append(e));e.each(function(a){this.id=w+a});f.addClass(g+" "+d);l&&l.maxwidth&&f.css("max-width",u);e.hide().css(y).eq(0).addClass(j).css(x).show();F&&e.show().css({"-webkit-transition":"opacity "+h+"ms ease-in-out","-moz-transition":"opacity "+h+"ms ease-in-out","-o-transition":"opacity "+h+"ms ease-in-out",transition:"opacity "+h+"ms ease-in-out"});if(1<e.size()){if(D<h+100)return;if(a.pager&&!a.manualControls){var A=[];e.each(function(a){a+=1;A+="<li><a href='#' class='"+w+a+"'>"+a+"</a></li>"});k.append(A);l.navContainer?c(a.navContainer).append(k):f.after(k)}a.manualControls&&(k=c(a.manualControls),k.addClass(g+"_tabs "+d+"_tabs"));(a.pager||a.manualControls)&&k.find("li").each(function(a){c(this).addClass(w+(a+1))});if(a.pager||a.manualControls)q=k.find("a"),r=function(a){q.closest("li").removeClass(v).eq(a).addClass(v)};a.auto&&(t=function(){p=setInterval(function(){e.stop(!0,!0);var b=n+1<C?n+1:0;(a.pager||a.manualControls)&&r(b);z(b)},D)},t());m=function(){a.auto&&(clearInterval(p),t())};a.pause&&f.hover(function(){clearInterval(p)},function(){m()});if(a.pager||a.manualControls)q.bind("click",function(b){b.preventDefault();a.pauseControls||m();b=q.index(this);n===b||c("."+j).queue("fx").length||(r(b),z(b))}).eq(0).closest("li").addClass(v),a.pauseControls&&q.hover(function(){clearInterval(p)},function(){m()});if(a.nav){g="<a href='#' class='"+E+" prev'>"+a.prevText+"</a><a href='#' class='"+E+" next'>"+a.nextText+"</a>";l.navContainer?c(a.navContainer).append(g):f.after(g);var d=c("."+d+"_nav"),G=d.filter(".prev");d.bind("click",function(b){b.preventDefault();b=c("."+j);if(!b.queue("fx").length){var d=e.index(b);b=d-1;d=d+1<C?n+1:0;z(c(this)[0]===G[0]?b:d);if(a.pager||a.manualControls)r(c(this)[0]===G[0]?b:d);a.pauseControls||m()}});a.pauseControls&&d.hover(function(){clearInterval(p)},function(){m()})}}if("undefined"===typeof document.body.style.maxWidth&&l.maxwidth){var H=function(){f.css("width","100%");f.width()>u&&f.css("width",u)};H();c(I).bind("resize",function(){H()})}})}})(jQuery,this,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 version 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.
 *
 * @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 version 3.0
 */
jQuery(document).ready(function($){var homesliderConfig={speed:500,timeout:$('.homeslider-container').data('interval'),nav:!0,random:!1,pause:$('.homeslider-container').data('pause'),maxwidth:"",namespace:"homeslider",before:function(){},after:function(){}};$(".rslides").responsiveSlides(homesliderConfig)});/**
 * 2007-2020 PrestaShop and Contributors
 *
 * 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.txt.
 * 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.
 *
 * @author    PrestaShop SA <contact@prestashop.com>
 * @copyright 2007-2020 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
 * International Registered Trademark & Property of PrestaShop SA
 */
$(document).ready(function(){prestashop.blockcart=prestashop.blockcart||{};var showModal=prestashop.blockcart.showModal||function(modal){var $body=$('body');$body.append(modal);$body.one('click','#blockcart-modal',function(event){if(event.target.id==='blockcart-modal'){$(event.target).remove()}})};prestashop.on('updateCart',function(event){var refreshURL=$('.blockcart').data('refresh-url');var requestData={};if(event&&event.reason&&typeof event.resp!=='undefined'&&!event.resp.hasError){requestData={id_customization:event.reason.idCustomization,id_product_attribute:event.reason.idProductAttribute,id_product:event.reason.idProduct,action:event.reason.linkAction}}
if(event&&event.resp&&event.resp.hasError){prestashop.emit('showErrorNextToAddtoCartButton',{errorMessage:event.resp.errors.join('<br/>')})}
$.post(refreshURL,requestData).then(function(resp){var html=$('<div />').append($.parseHTML(resp.preview));$('.blockcart').replaceWith($(resp.preview).find('.blockcart'));if(resp.modal){showModal(resp.modal)}}).fail(function(resp){prestashop.emit('handleError',{eventType:'updateShoppingCart',resp:resp})})});$(document).on("click",'#blockcart-modal .btn-touchspin',function(){var touchspin=$(this).attr('data-qty');var id_product=$(this).parent('.input-group-btn-vertical').attr('data-idproduct');var id_product_attribute=$(this).parent('.input-group-btn-vertical').attr('data-idattribute');var id_customization=$(this).parent('.input-group-btn-vertical').attr('data-idcustomization');var token=prestashop.static_token;const template=`<div class="faceted-overlay">
      <div class="overlay__inner">
      <div class="overlay__content"><span class="spinner"></span></div>
      </div>
      </div>`;$('body').append(template);var requestData={token:token,id_product:id_product,id_product_attribute:id_product_attribute,id_customization:id_customization,update:1,ajax:1,op:touchspin,action:"update"};$.ajax({url:prestashop.urls.pages.cart,method:'POST',data:requestData,dataType:'json',}).then(function(resp){$('#blockcart-modal .qty_'+id_product+'_'+id_product_attribute).val(resp.quantity);$('#blockcart-modal .modal-title span').html(resp.cart.products_count);$('#blockcart-modal .product-total .value').html(resp.cart.totals.total.value);$('#blockcart-modal .subtotals_modal .value').html(resp.cart.totals.total.value);$('#blockcart-modal .product-tax .value').html(resp.cart.subtotals.tax.value);$('#blockcart-modal .subtotals_shipping .value').html(resp.cart.subtotals.shipping.value);$('.faceted-overlay').remove()}).fail(function(resp){prestashop.emit('handleError',{eventType:'updateShoppingCart',resp:resp});$('.faceted-overlay').remove()})});$(document).on("click",'#blockcart-modal .delete_product',function(){var id_product=$(this).attr('data-idproduct');var id_product_attribute=$(this).attr('data-idattribute');var token=prestashop.static_token;const template=`<div class="faceted-overlay">
      <div class="overlay__inner">
      <div class="overlay__content"><span class="spinner"></span></div>
      </div>
      </div>`;$('body').append(template);var requestData={token:token,id_product:id_product,id_product_attribute:id_product_attribute,delete:1,ajax:1,action:"update"};$.ajax({url:prestashop.urls.pages.cart,method:'POST',data:requestData,dataType:'json',}).then(function(resp){$('.modal_product_'+id_product+'_'+id_product_attribute).remove();$('#blockcart-modal .qty_'+id_product+'_'+id_product_attribute).val(resp.quantity);$('#blockcart-modal .modal-title span').html(resp.cart.products_count);$('#blockcart-modal .product-total .value').html(resp.cart.totals.total.value);$('#blockcart-modal .subtotals_modal .value').html(resp.cart.totals.total.value);$('#blockcart-modal .product-tax .value').html(resp.cart.subtotals.tax.value);$('#blockcart-modal .subtotals_shipping .value').html(resp.cart.subtotals.shipping.value);$('.faceted-overlay').remove()}).fail(function(resp){prestashop.emit('handleError',{eventType:'updateShoppingCart',resp:resp});$('.faceted-overlay').remove()})})});/**
 * moofinder-prestashop - Ultra fast search engine for prestashop
 * @version v2.1.2
 * @link https://thunderfinder.com
 * @license propietary All rights reserved
 */
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=8)}([function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function r(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}e.exports=function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){e.exports=r(7)},function(e,t){function r(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=r=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),r(t)}e.exports=r,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function r(e,t,r,n,i,o,u){try{var a=e[o](u),s=a.value}catch(e){return void r(e)}a.done?t(s):Promise.resolve(s).then(n,i)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(i,o){var u=e.apply(t,n);function a(e){r(u,i,o,a,s,"next",e)}function s(e){r(u,i,o,a,s,"throw",e)}a(void 0)}))}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";const n=new Uint32Array(65536),i=(e,t)=>{if(e.length>t.length){const r=t;t=e,e=r}return 0===e.length?t.length:e.length<=32?((e,t)=>{const r=e.length,i=t.length,o=1<<r-1;let u=-1,a=0,s=r,l=r;for(;l--;)n[e.charCodeAt(l)]|=1<<l;for(l=0;l<i;l++){let e=n[t.charCodeAt(l)];const r=e|a;e|=(e&u)+u^u,a|=~(e|u),u&=e,a&o&&s++,u&o&&s--,a=a<<1|1,u=u<<1|~(r|a),a&=r}for(l=r;l--;)n[e.charCodeAt(l)]=0;return s})(e,t):((e,t)=>{const r=e.length,i=t.length,o=[],u=[],a=Math.ceil(r/32),s=Math.ceil(i/32);let l=i;for(let e=0;e<a;e++)u[e]=-1,o[e]=0;let c=0;for(;c<s-1;c++){let a=0,s=-1;const f=32*c,h=Math.min(32,i)+f;for(let e=f;e<h;e++)n[t.charCodeAt(e)]|=1<<e;l=i;for(let t=0;t<r;t++){const r=n[e.charCodeAt(t)],i=u[t/32|0]>>>t&1,l=o[t/32|0]>>>t&1,c=r|a,f=((r|l)&s)+s^s|r|l;let h=a|~(f|s),d=s&f;h>>>31^i&&(u[t/32|0]^=1<<t),d>>>31^l&&(o[t/32|0]^=1<<t),h=h<<1|i,d=d<<1|l,s=d|~(c|h),a=h&c}for(let e=f;e<h;e++)n[t.charCodeAt(e)]=0}let f=0,h=-1;const d=32*c,m=Math.min(32,i-d)+d;for(let e=d;e<m;e++)n[t.charCodeAt(e)]|=1<<e;l=i;for(let t=0;t<r;t++){const r=n[e.charCodeAt(t)],a=u[t/32|0]>>>t&1,s=o[t/32|0]>>>t&1,c=r|f,d=((r|s)&h)+h^h|r|s;let m=f|~(d|h),g=h&d;l+=m>>>i-1&1,l-=g>>>i-1&1,m>>>31^a&&(u[t/32|0]^=1<<t),g>>>31^s&&(o[t/32|0]^=1<<t),m=m<<1|a,g=g<<1|s,h=g|~(c|m),f=m&c}for(let e=d;e<m;e++)n[t.charCodeAt(e)]=0;return l})(e,t)};e.exports={closest:(e,t)=>{let r=1/0,n=0;for(let o=0;o<t.length;o++){const u=i(e,t[o]);u<r&&(r=u,n=o)}return t[n]},distance:i}},function(e,t,r){var n=function(e){"use strict";var t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},i=n.iterator||"@@iterator",o=n.asyncIterator||"@@asyncIterator",u=n.toStringTag||"@@toStringTag";function a(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{a({},"")}catch(e){a=function(e,t,r){return e[t]=r}}function s(e,t,r,n){var i=t&&t.prototype instanceof f?t:f,o=Object.create(i.prototype),u=new k(n||[]);return o._invoke=function(e,t,r){var n="suspendedStart";return function(i,o){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===i)throw o;return C()}for(r.method=i,r.arg=o;;){var u=r.delegate;if(u){var a=T(u,r);if(a){if(a===c)continue;return a}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=l(e,t,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===c)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}(e,r,u),o}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var c={};function f(){}function h(){}function d(){}var m={};m[i]=function(){return this};var g=Object.getPrototypeOf,p=g&&g(g(P([])));p&&p!==t&&r.call(p,i)&&(m=p);var y=d.prototype=f.prototype=Object.create(m);function v(e){["next","throw","return"].forEach((function(t){a(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){var n;this._invoke=function(i,o){function u(){return new t((function(n,u){!function n(i,o,u,a){var s=l(e[i],e,o);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,u,a)}),(function(e){n("throw",e,u,a)})):t.resolve(f).then((function(e){c.value=e,u(c)}),(function(e){return n("throw",e,u,a)}))}a(s.arg)}(i,o,n,u)}))}return n=n?n.then(u,u):u()}}function T(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,T(e,t),"throw"===t.method))return c;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}var n=l(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,c;var i=n.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,c):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,c)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function P(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:C}}function C(){return{value:void 0,done:!0}}return h.prototype=y.constructor=d,d.constructor=h,h.displayName=a(d,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,a(e,u,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},v(b.prototype),b.prototype[o]=function(){return this},e.AsyncIterator=b,e.async=function(t,r,n,i,o){void 0===o&&(o=Promise);var u=new b(s(t,r,n,i),o);return e.isGeneratorFunction(r)?u:u.next().then((function(e){return e.done?e.value:u.next()}))},v(y),a(y,u,"Generator"),y[i]=function(){return this},y.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=P,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return u.type="throw",u.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],u=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var a=r.call(o,"catchLoc"),s=r.call(o,"finallyLoc");if(a&&s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var u=o?o.completion:{};return u.type=e,u.arg=t,o?(this.method="next",this.next=o.finallyLoc,c):this.complete(u)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),c},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),x(r),c}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;x(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:P(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),c}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},function(e,t,r){"use strict";r.r(t);var n=r(5),i=r.n(n),o=r(1),u=r.n(o),a=r(2),s=r.n(a),l=r(0),c=r.n(l),f=r(3),h=r.n(f),d=r(4),m=r.n(d),g=function(){function e(){u()(this,e)}return s()(e,null,[{key:"log",value:function(){for(var t,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];(t=console).log.apply(t,[e.prefix].concat(n))}},{key:"warn",value:function(){for(var t,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];(t=console).warn.apply(t,[e.prefix].concat(n))}},{key:"error",value:function(){for(var t,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];(t=console).error.apply(t,[e.prefix].concat(n))}},{key:"info",value:function(){for(var t,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];(t=console).info.apply(t,[e.prefix].concat(n))}}]),e}();c()(g,"prefix","[MooFinder] ");var p=function(){function e(){var t=this;u()(this,e),c()(this,"config",{container:"moo-finder",close:"moo-finder-close",footer:".moo-finder-footer",filtersContainerSelector:".moo-filters",resultsContainerSelector:".mfd-results",noResultTemplateSelector:"#mfd-no-result",resultTemplateSelector:"#mfd-product-result",productCardId:"mfd-product-",resultsBottomPadding:100,minHeightFooter:40}),c()(this,"runtime",{mainContainer:null,filterWrapper:null,resultsWrapper:null,footerWrapper:null,lastTargetInput:null}),this.runtime.mainContainer=document.getElementById(this.config.container),this.runtime.resultsWrapper=document.querySelector(this.config.resultsContainerSelector),this.runtime.filterWrapper=document.querySelector(this.config.filtersContainerSelector),this.runtime.footerWrapper=document.querySelector(this.config.footer),this.runtime.mainContainer||g.error("Unable to find main container"),window.addEventListener("resize",(function(){t.runtime.lastTargetInput&&t.move(t.runtime.lastTargetInput)}),!1),this.moveMoofinderToBody()}return s()(e,[{key:"moveMoofinderToBody",value:function(){document.getElementsByTagName("body")[0].appendChild(this.runtime.mainContainer)}},{key:"move",value:function(e){var t=this;this.runtime.lastTargetInput=e;var r={x:0,y:0},n=0;new Promise((function(i){r=t.offset(e),n=e.getBoundingClientRect().height,i()})).then((function(){t.scroll(r.x,r.y);var i=r.y+n;t.isFixed(t.runtime.lastTargetInput)?t.runtime.mainContainer.style.position="fixed":t.runtime.mainContainer.style.position="absolute",t.resize(e),t.runtime.mainContainer.style.top=i+"px",t.runtime.mainContainer.style.zIndex=t.findHighestZIndex(window)+1}))}},{key:"isFixed",value:function(e){var t;for("object"===m()(e)?t=e[0]||e:"string"==typeof e&&(t=document.querySelector(e));"object"===m()(t)&&"body"!==t.nodeName.toLowerCase();){if("fixed"===window.getComputedStyle(t).getPropertyValue("position").toLowerCase())return!0;t=t.parentElement}return!1}},{key:"getTop",value:function(e){var t=this.offset(e),r=e.getBoundingClientRect().height;return t.y+r}},{key:"resize",value:function(e){var t=this.getTop(e),r=this.runtime.footerWrapper.getBoundingClientRect().height;r<this.config.minHeightFooter&&(r=this.config.minHeightFooter);var n=screen.availHeight-r-this.config.resultsBottomPadding;n-=t,this.runtime.resultsWrapper.style.maxHeight=n+"px",this.runtime.filterWrapper&&(this.runtime.filterWrapper.style.maxHeight=n+"px")}},{key:"scroll",value:function(e,t){t>.3*window.innerHeight&&window.scrollTo(0,t)}},{key:"showFloatingPane",value:function(){document.getElementsByTagName("body")[0].style.overflowY="hidden",document.getElementsByTagName("body")[0].style.height="100vh",this.runtime.mainContainer.style.display="block"}},{key:"hideFloatingPane",value:function(){document.getElementsByTagName("body")[0].style.overflowY="auto",document.getElementsByTagName("body")[0].style.height="",this.runtime.mainContainer.style.display="none"}},{key:"hideFilters",value:function(){this.runtime.filterWrapper&&this.runtime.filterWrapper.classList.add("empty")}},{key:"showFilters",value:function(){this.runtime.filterWrapper&&this.runtime.filterWrapper.classList.remove("empty")}},{key:"buildMainContainer",value:function(){}},{key:"findHighestZIndex",value:function(e){for(var t=document.getElementsByTagName(e),r=Number.MAX_SAFE_INTEGER,n=0;n<t.length;n++){var i=Number.parseInt(document.defaultView.getComputedStyle(t[n],null).getPropertyValue("z-index"),10);i>r&&(r=i)}return r}},{key:"offset",value:function(e){var t=0,r=0;if(e.offsetParent){do{t+=e.offsetLeft,r+=e.offsetTop}while(e=e.offsetParent);return{x:t,y:r}}}}]),e}(),y=r(6),v=function(){function e(t){var r=this;u()(this,e),c()(this,"config",{searchInputSelector:".search_query",query:"",queryWords:[],container:"moo-finder",close:"moo-finder-close",footer:"moo-finder-footer",filterTitleClass:"moo-title-filter",resultsContainerSelector:"mfd-results",filtersSelector:"moo-result-filters",noResultTemplateSelector:"#mfd-no-result",resultTemplateSelector:"#mfd-product-result",loadTemplateSelector:"#mfd-load",fuzzyResultsTemplateSelector:"#mfd-fuzzy-results",fuzzySuggestionsSelector:".fuzzy-suggestion",productCardId:"mfd-product-",filterId:"mfd-filter",moduleDir:null,wordsUrl:"words",productsUrl:"products",imageUrl:"img/p/",imageDefault:"default.jpg",imageSize:{},imageExtension:"jpg",_previousQuery:null,pageSize:12,depth:3,productUrl:null,fuzzySearchUrl:null,moofinderTest:null,moofinderTestWord:null,moofinderUrl:"https://moofinder.com/",exactMatch:!1,enableCatFilters:!1,enableAttFilters:!1,fixedStyles:{position:"absolute",heightContainer:{padding:15,boxshadow:2},resultsContainer:{"border-top":1},footerStyle:{"max-height":20,padding:2,"border-top":1}},filterTypes:{CATEGORY:"C",ATTRIBUTE:"A",FEATURE:"F"},identifierSeparator:"~~",filesPrefix:"MFD_"}),c()(this,"runtime",{requestCache:[],pricesCache:{},renderEngine:null,resultTemplate:null,noResultTemplate:null,fuzzyResultsTemplate:null,containers:{parent:null,results:null,filters:null},dictionaries:{},results:{},filteredIds:[],resultSorted:[],htmlResults:[],matchedKeywords:[],dictionaryIndex:[],previousRequest:null,previousRequestName:null,productDictionaries:{},productMatchedIds:[],productDictionaryIndex:[],resultStyles:{},productsIds:[],currentPage:0,totalPages:1,currentTimeoutFilters:null,currentTimeoutPrice:null,currentTimeoutPagination:null,currentIntervalProducts:null,sortWeight:1,renderTriggered:0,html:null,el:null,dictionariesTriggered:!1,enableFilter:!1,filters:{currentCategory:null,currentAttributes:[]},fuzzySearchBuffer:[]});try{this.runtime.renderEngine=new p(this.config)}catch(e){return void g.error("An error ocurred instantiating rendering engine. Disabled instant search. Error was: ",e)}try{console.log("%c "+"▼".repeat(60),"color: #f9ba00;"),console.log("%c Instant search powered by ThunderFinder","font: 200 20px/40px Arial, Helvetica, sans-serif; color: #f9ba00;"),console.log("%c See more in https://addons.prestashop.com/es/busquedas-filtros/48581-ultrarapido-buscador.html","font: 200 14px/14px Arial, Helvetica, sans-serif; color: #f9ba00; "),console.log("%c "+"▲".repeat(60),"color: #f9ba00;")}catch(e){}this.config.moduleDir=t.moduleDir,this.config.wordsUrl=t.moduleDir+t.dataDir+this.config.wordsUrl+t.shardsDir,this.config.productsUrl=t.moduleDir+t.dataDir+this.config.productsUrl+t.shardsDir,this.config.imageSize={name:t.imageSize,height:t.imageHeight,width:t.imageWidth},this.config.imageUrl=t.imageUrl,this.config.imageDefault=t.imageDefault,this.config.productUrl=t.productUrl.replace(/&amp;/g,"&"),this.config.fuzzySearchUrl=t.fuzzySearchUrl.replace(/&amp;/g,"&"),this.config.moofinderTest=t.moofinderTest,this.config.query=t.moofinderTestWord,this.config.depth=parseInt(t.depth),this.config.exactMatch=t.exactMatch,this.config.enableCatFilters=0!==parseInt(t.enableCatFilters),this.config.enableAttFilters=0!==parseInt(t.enableAttFilters);var n=parseInt(t.pageSize);this.config.pageSize=n<this.config.pageSize?this.config.pageSize:n,this.config.searchInputSelector=t.input,$(document).ready((function(){r.init()}))}var t;return s()(e,[{key:"init",value:function(){var e=this;this.initDomRefs().then((function(){e.attachEvents(),e.initTemplates(),e.config.moofinderTest&&(e.runtime.el.val(e.config.query),e.runtime.el.click())}))}},{key:"initDb",value:function(){var e=this;return new Promise((function(t,r){if(e.runtime.dictionariesTriggered)return t();e.runtime.dictionariesTriggered=!0,new Promise((function(t,r){var n=e.config.wordsUrl+"dicts.js?callback=?";e.initDictionaries(n,"dictionaryIndex",t,r)})).then((function(){e.initProductDb().then(t)})).catch((function(){return r()}))}))}},{key:"initProductDb",value:function(){var e=this;return new Promise((function(t,r){var n=e.config.productsUrl+"dicts.js?callback=?";e.initDictionaries(n,"productDictionaryIndex",t,r)}))}},{key:"initDictionaries",value:function(e,t,r,n){var i=this;$.ajax({url:e,dataType:"jsonp",jsonp:"callback",jsonpCallback:"callback",success:function(e){i.runtime[t]=e,r()},error:function(e,t,r){g.error("getJSON failed, status: "+t+", error: "+r),n()}})}},{key:"initTemplates",value:function(){this.runtime.fuzzyResultsTemplate=$(this.config.fuzzyResultsTemplateSelector).html(),this.runtime.resultTemplate=$(this.config.resultTemplateSelector).html(),this.runtime.noResultTemplate=$(this.config.noResultTemplateSelector).html(),this.runtime.loadTemplate=$(this.config.loadTemplateSelector).html()}},{key:"initDomRefs",value:function(){var e=this;return new Promise((function(t,r){var n=$(e.config.searchInputSelector);n.length<=0?(g.error("DOM Element not found. Value was:",n),r()):(e.runtime.el=n,t())}))}},{key:"attachEvents",value:function(){var e=this;$("."+this.config.close).on("click",(function(){e.runtime.el.val(""),e.cleanResults()})),this.runtime.el.each((function(t,r){var n=$(r);n.off(),n.on("click",(function(t){e.runtime.renderEngine.move(t.currentTarget),e.initDb().then((function(){e.config.query=t.target.value,e.search(),n.on("input",(function(t){e.config.query=t.target.value,e.search()}))}))}))})),this.runtime.containers={parent:$("#"+this.config.container)||null,results:$("."+this.config.resultsContainerSelector)||null},(this.config.enableAttFilters||this.config.enableCatFilters)&&(this.runtime.containers.filters=$("."+this.config.filtersSelector)||null),$.each(this.runtime.containers,(function(e,t){(!t||t.length<=0)&&g.error("Missing "+e+" container")})),$(document).off("click",".fuzzy-word").on("click",".fuzzy-word",(function(t){e.runtime.el.val($(t.currentTarget).text()),e.runtime.el.click()}))}},{key:"getZIndex",value:function(){var e=0;return $.each($("*"),(function(t,r){var n=parseInt($(r).css("zIndex"),10);n>e&&(e=n)})),e}},{key:"render",value:function(){var e=this,t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(0==this.runtime.renderTriggered){this.runtime.renderTriggered=1;var r=0,n=0;this.runtime.htmlResults=[],this.runtime.productsIds=[];var i=this.runtime.resultSorted.length;if(i>0){this.runtime.totalPages=Math.ceil(i/this.config.pageSize);var o=[];new Promise((function(u){var a=e.config.pageSize;if(e.runtime.currentPage>0){var s=e.runtime.currentPage*e.config.pageSize;r=s,a+=s}t&&e.runtime.containers.results.html("");for(var l=r;l<=a;l++){if(l===a||l===i||void 0===e.runtime.resultSorted[l])return void u();n++;var c=e.runtime.resultSorted[l][0],f=e.getDictionaryName(c);e.runtime.productMatchedIds.push(c),e.runtime.containers.results.append($("<li>",{id:e.config.productCardId+c,style:"width:"+e.config.imageSize.width+"px"})),o.push(e.loadProduct(f,c))}})).then((function(){(n>0||o.length>0)&&e.renderResults(t).then((function(){Promise.all(o).then((function(){e.getPrices()}))})),"number"==typeof e.runtime.currentTimeoutPagination&&(clearTimeout(e.runtime.currentTimeoutPagination),delete e.runtime.currentTimeoutPagination),e.runtime.renderTriggered=0}))}else t&&(this.runtime.renderEngine.showFloatingPane(),this.runtime.containers.results.html(this.getFuzzySearch()),this.runtime.enableFilter||!this.config.enableCatFilters&&!this.config.enableAttFilters||this.runtime.renderEngine.hideFilters(),"number"==typeof this.runtime.currentTimeoutPagination&&(clearTimeout(this.runtime.currentTimeoutPagination),delete this.runtime.currentTimeoutPagination)),this.runtime.renderTriggered=0}}},{key:"loadProduct",value:function(e,t){var r=this;return new Promise((function(n){r.addProduct(e,t,n)}))}},{key:"addProduct",value:(t=i()(h.a.mark((function e(t,r,n){var i,o=this;return h.a.wrap((function(e){while(!0)switch(e.prev=e.next){case 0:return e.next=2,this.getProductDictionary(t);case 2:e.sent&&void 0!==this.runtime.productDictionaries[t]&&(i=setInterval((function(){if(o.runtime.productDictionaries[t].hasOwnProperty(r)){clearInterval(i);var e=o.runtime.productDictionaries[t][r],u=e.id_image+"";e.src="src='"+o.config.imageUrl+("null"!==u?u.split("").join("/")+"/"+u+"-"+o.config.imageSize.name+"."+o.config.imageExtension:o.config.imageDefault)+"'",e.imageHeight=o.config.imageSize.height,e.imageWidth=o.config.imageSize.width,e.url=o.config.productUrl,e.url.indexOf("?")>-1?e.url+="&id="+e.id_product:e.url+="?id="+e.id_product,e.url="href='"+e.url+"'",o.runtime.productsIds.push(e.id_product);var a=o.parseTemplate(o.runtime.resultTemplate,e);o.runtime.containers.results.find("#"+o.config.productCardId+r).html(a),o.runtime.containers.results.find("#"+o.config.productCardId+r+" .price").html(o.runtime.loadTemplate),n()}}),1));case 4:case"end":return e.stop()}}),e,this)}))),function(e,r,n){return t.apply(this,arguments)})},{key:"renderResults",value:function(e){var t=this;return new Promise((function(e){t.runtime.renderEngine.showFloatingPane(),t.runtime.containers.results.off(),t.runtime.containers.results.scroll((function(e){var r=e.target,n=$(r).find("li").last().height();r.offsetHeight+r.scrollTop+n>=r.scrollHeight&&t.runtime.currentPage<t.runtime.totalPages&&(null!==t.runtime.currentTimeoutPagination&&void 0!==t.runtime.currentTimeoutPagination||(t.runtime.currentTimeoutPagination=setTimeout((function(){t.runtime.currentPage++,t.render(!1)}),500)))})),e()}))}},{key:"nextPage",value:function(){var e=this;this.runtime.currentPage<=this.runtime.totalPages&&(null!==this.runtime.currentTimeoutPagination&&void 0!==this.runtime.currentTimeoutPagination||(this.runtime.currentTimeoutPagination=setTimeout((function(){e.runtime.currentPage++,e.render(!1)}),0)))}},{key:"hashCode",value:function(e){return e.split("").reduce((function(e,t){return(e<<5)-e+t.charCodeAt(0)|0}),0)}},{key:"renderFilter",value:function(e){var t=this;if(!this.runtime.enableFilter)if(null!==typeof this.runtime.containers.filters){var r=[];if(e){var n={};Object.keys(e).forEach((function(e){var r=e.split(t.config.identifierSeparator),i=t.config.filterId+t.config.identifierSeparator,o=null;5===r.length&&(i+=r[1]+t.config.identifierSeparator+r[2]+t.config.identifierSeparator+r[3],o=r[0]+r[1],n.hasOwnProperty(o)||(n[o]={name:r[2],values:[]}),n[o].values.push(t.getItemFilter(i,r[4],e,r[0])))})),Object.keys(n).length>0&&Object.keys(n).forEach((function(e){r.push(t.getGroupFilter(n[e].name,n[e].values))})),this.runtime.containers.filters.html($("<ul>",{html:r}));var i=$("."+this.config.filterTitleClass);i.off(),i.on("click",(function(e){var t=$(e.currentTarget);t.hasClass("active")?t.removeClass("active"):t.addClass("active")})),this.runtime.containers.filters.find("."+this.config.filterId).off(),this.runtime.containers.filters.find("."+this.config.filterId).on("click",(function(e){var r=$(e.currentTarget),n=r.data("type");if(r.data("enable")&&!r.data("empty")){if(n===t.config.filterTypes.CATEGORY){var i=r.siblings("li");r.hasClass("active")?i.data("enable",!0).removeClass("disable"):(i.data("enable",!1).addClass("disable"),r.data("enable",!0).removeClass("disable"))}r.toggleClass("active"),t.searchByFilter(n,r.data("key"))}}))}else this.runtime.containers.filters.html($("<ul>",{html:this.runtime.noResultTemplate}))}else g.error("Unable to find filter container")}},{key:"getFuzzySearch",value:function(){return this.loadFuzzyOptions(),this.runtime.noResultTemplate}},{key:"loadFuzzyOptions",value:function(){var e=this;this.runtime.fuzzySearchBuffer=[],$.ajax({dataType:"json",data:{keyword:this.config.query},method:"POST",url:this.config.fuzzySearchUrl,success:function(t){t.length>=1&&(e.runtime.fuzzySearchBuffer=t,e.findSimilarKeyword())},error:function(e,t,r){g.error("loadFuzzyOptions failed, status: "+t+", error: "+r)}})}},{key:"findSimilarKeyword",value:function(){var t=this.runtime.fuzzySearchBuffer.map((function(e){return e.word})),r=Object(y.closest)(this.config.query,t);if(r!==e.slug(this.config.query)){var n=this.parseTemplate(this.runtime.fuzzyResultsTemplate,{keywords:r});$(this.config.fuzzySuggestionsSelector).html(n)}}},{key:"getItemFilter",value:function(e,t,r,n){return $("<li>",{id:e,class:this.config.filterId+" "+this.config.filterId+this.config.identifierSeparator+n,html:t,"data-key":r,"data-type":n,"data-enable":!0,"data-empty":!1})}},{key:"getGroupFilter",value:function(e,t){return $("<li>",{html:[$("<p>",{class:this.config.filterTitleClass,html:e}),$("<ul>",{html:t})]})}},{key:"searchByFilter",value:function(e,t){var r=this;$("."+this.config.filterId).data("empty",!1).removeClass("empty"),new Promise((function(n){switch(e){case r.config.filterTypes.CATEGORY:t===r.runtime.filters.currentCategory?r.runtime.filters.currentCategory=null:r.runtime.filters.currentCategory=t;break;case r.config.filterTypes.ATTRIBUTE:case r.config.filterTypes.FEATURE:var i=r.runtime.filters.currentAttributes.indexOf(t);i>-1?r.runtime.filters.currentAttributes.splice(i,1):r.runtime.filters.currentAttributes.push(t)}r.runtime.filteredIds=[];var o=Object.keys(r.runtime.results);if(null===r.runtime.filters.currentCategory&&0===r.runtime.filters.currentAttributes.length)r.runtime.filteredIds=o;else if(r.config.enableCatFilters&&null!==r.runtime.filters.currentCategory&&(r.runtime.filteredIds=r.runtime.filteredIds.concat(r.getFilterResult(r.runtime.filters.currentCategory))),r.config.enableAttFilters&&r.runtime.filters.currentAttributes.length>0){var u=[];r.runtime.filters.currentAttributes.forEach((function(e){u=u.concat(r.getFilterResult(e))})),r.runtime.filteredIds.length>0?r.runtime.filteredIds=r.intersect(r.runtime.filteredIds,u):r.runtime.filteredIds=u}r.disableEmptyFilters(),n()})).then((function(){r.search(!0)}))}},{key:"disableEmptyFilters",value:function(){var e=this,t=this.hashCode(this.config.query);if(void 0!==this.runtime.requestCache[t]){var r=this.runtime.requestCache[t];Object.keys(r).forEach((function(t){0===e.intersect(e.runtime.filteredIds,r[t]).length&&$('[data-key="'+t+'"]').data("empty",!0).addClass("empty")}))}}},{key:"intersect",value:function(e,t){return e.filter((function(e){return-1!==t.indexOf(e)}))}},{key:"getFilterResult",value:function(e){var t=this.hashCode(this.config.query);if(void 0!==this.runtime.requestCache[t]){var r=this.runtime.requestCache[t];if(r.hasOwnProperty(e))return r[e]}return[]}},{key:"getFilters",value:function(){var e=this;if(this.config.query){var t=this.hashCode(this.config.query);if(void 0!==this.runtime.requestCache[t])return this.loadFilters(),this.renderFilter(this.runtime.requestCache[t]);var r={term:this.config.query,filters:!0};this.cleanTimeout("currentTimeoutFilters"),this.runtime.currentTimeoutFilters=setTimeout((function(){e.loadFilters(),$.ajax({dataType:"json",data:r,method:"POST",url:e.config.productUrl,success:function(r){r&&(e.runtime.requestCache[t]=r,e.renderFilter(r))},error:function(e,t,r){g.error("getFilters failed, status: "+t+", error: "+r)}})}),150)}}},{key:"loadFilters",value:function(){!this.runtime.enableFilter&&(this.config.enableCatFilters||this.config.enableAttFilters)&&Object.keys(this.runtime.results).length>0&&(this.runtime.renderEngine.showFilters(),this.runtime.containers.filters.html(this.runtime.loadTemplate))}},{key:"getPrices",value:function(){var e=this,t=[];this.runtime.productsIds.forEach((function(r){e.runtime.pricesCache.hasOwnProperty(r)||t.push(r)}));var r=this.hashCode(t.join(this.config.identifierSeparator));if(0===t.length&&this.runtime.productsIds.length>0||void 0!==this.runtime.requestCache[r])return this.parsePrices();t.length>0&&$.ajax({dataType:"json",data:{id:t,prices:!0},method:"POST",url:this.config.productUrl,success:function(t){e.runtime.requestCache[r]=t,Object.keys(t).forEach((function(r){e.runtime.pricesCache.hasOwnProperty(r)||(e.runtime.pricesCache[r]=t[r])})),e.parsePrices()},error:function(e,t,r){g.error("getPrices failed, status: "+t+", error: "+r)}})}},{key:"parsePrices",value:function(){var e=this;Object.keys(this.runtime.pricesCache).forEach((function(t){var r=e.runtime.containers.results.find("#"+e.config.productCardId+t+" .price");r.length>0&&(e.config.fullInfo||r.html(e.runtime.pricesCache[t]))}))}},{key:"parseTemplate",value:function(e,t){var r=e+"";return r=r.replace(/{{(\w+)}}/g,(function(e,r){return t[r]||""}))}},{key:"clean",value:function(){this.runtime.renderEngine.hideFloatingPane(),this.runtime.containers.results.html("")}},{key:"search",value:function(){var t=this,r=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.runtime.enableFilter=r;var n=e.slug(this.config.query);n.length>=this.config.depth&&(this.runtime.enableFilter||n!==this.config._previousQuery)?(this.splitWords(),this.cleanResults().then((function(){t.runtime.sortWeight=1,t.config.queryWords.forEach((function(e,r,n){t.runtime.sortWeight+="0"})),t.runtime.sortWeight=parseInt(t.runtime.sortWeight),t.config.queryWords.forEach((function(e,r,n){if(!(""===e.trim()||e.length<t.config.depth)){var i=t.getDictionaryName(e);t.getDictionary(i).then((function(){return t.filterDictionary(e.trim(),i)}))}}))}))):n.length<this.config.depth&&this.cleanResults(),this.config._previousQuery=e.slug(this.config.query)}},{key:"getDictionaryName",value:function(e){var t=(e+="").trim().split("");return(t=t.slice(0,this.config.depth)).join("")}},{key:"cleanResults",value:function(){var e=this;return new Promise((function(t){e.runtime.enableFilter||(e.runtime.filters.currentAttributes=[],e.runtime.filters.currentCategory=null),e.runtime.currentPage=0,e.cleanTimeoutPrice(),e.cleanTimeoutPagination(),e.runtime.results={},e.runtime.resultSorted=[],e.runtime.matchedKeywords=[],e.clean(),t()}))}},{key:"cleanTimeoutPagination",value:function(){null!==this.runtime.currentTimeoutPagination&&void 0!==this.runtime.currentTimeoutPagination&&clearTimeout(this.runtime.currentTimeoutPagination)}},{key:"cleanTimeout",value:function(e){null!==this.runtime[e]&&void 0!==this.runtime[e]&&clearTimeout(this.runtime[e])}},{key:"cleanTimeoutPrice",value:function(){var e=this;null!==this.runtime.currentTimeoutPrice&&void 0!==this.runtime.currentTimeoutPrice&&(clearTimeout(this.runtime.currentTimeoutPrice),null!==this.runtime.currentIntervalProducts&&(Object.keys(this.runtime.currentIntervalProducts).forEach((function(t){clearInterval(e.runtime.currentIntervalProducts[t])})),this.runtime.currentIntervalProducts=null))}},{key:"splitWords",value:function(){this.config.queryWords=e.slug(this.config.query).split(" ")}},{key:"filterDictionary",value:function(e,t){var r=this;return new Promise((function(n){Object.keys(r.runtime.dictionaries[t]).filter((function(t){return t.indexOf(e)>=0})).forEach((function(e,n,i){r.runtime.matchedKeywords.push(e),r.decompress(r.runtime.dictionaries[t][e])})),r.runtime.sortWeight/=10,n()})).then((function(){(r.config.enableCatFilters||r.config.enableAttFilters)&&r.getFilters(),r.sortAndFilterResults().then((function(){r.render()}))}))}},{key:"decompress",value:function(e){var t=this;e.forEach((function(e,r,n){if("string"==typeof e){var i=e.split("+"),o=parseInt(i[0]);t.addResult(o);for(var u=1;u<=i[1];u++)t.addResult(o+u)}else t.addResult(e)}))}},{key:"sortAndFilterResults",value:function(){var e=this;return new Promise((function(t){for(var r in e.runtime.resultSorted=[],e.runtime.results)e.runtime.filteredIds&&e.runtime.enableFilter?e.runtime.filteredIds.indexOf(r)>-1&&e.runtime.resultSorted.push([r,e.runtime.results[r]]):e.runtime.resultSorted.push([r,e.runtime.results[r]]);e.runtime.resultSorted.sort((function(e,t){return e[1]-t[1]})).reverse(),t()}))}},{key:"addResult",value:function(e){if(e+="",this.runtime.results.hasOwnProperty(e)){var t=this.runtime.sortWeight+"",r=this.runtime.results[e]+"";"0"===r[r.length-(t.indexOf("1")+1)-(t.length-(t.indexOf("1")+1))]&&(this.runtime.results[e]+=this.runtime.sortWeight)}else this.runtime.results[e]=this.runtime.sortWeight}},{key:"getProductDictionary",value:function(e){var t=this;return new Promise((function(r,n){""===e.trim()||t.runtime.productDictionaryIndex.indexOf(e)<0?r(!1):void 0!==t.runtime.productDictionaries[e]?r(!0):(t.runtime.productDictionaries[e]=[],$.ajax({url:t.config.productsUrl+e.split("").join("/")+"/"+t.config.filesPrefix+e+".js?callback=?",dataType:"jsonp",async:!0,jsonp:"callback",jsonpCallback:"callback_"+e,success:function(n){t.runtime.productDictionaries[e]=n,r(!0)},error:function(e,t,r){g.error("getProductDictionary failed, status: "+t+", error: "+r)}}))}))}},{key:"getDictionary",value:function(e){var t=this;return new Promise((function(r,n){if(t.runtime.dictionaryIndex.indexOf(e)<0)return t.runtime.dictionaries[e]=[],void r();void 0===t.runtime.dictionaries[e]?t.runtime.previousRequestName!==e&&(t.runtime.previousRequestName=e+"",t.runtime.dictionaries[e]=[],$.ajax({url:t.config.wordsUrl+e.split("").join("/")+"/"+t.config.filesPrefix+e+".js?callback=?",dataType:"jsonp",jsonp:"callback",jsonpCallback:"callback_"+e,success:function(n){t.runtime.dictionaries[e]=n,r()},error:function(e,t,r){g.error("getDictionary failed, status: "+t+", error: "+r)}})):r()}))}}],[{key:"getDictionaryNames",value:function(e){e+="";for(var t=[],r=0;r<e.length-(this.config.depth-1);r++)t.push(e.slice(r,r+this.config.depth));return t}},{key:"slug",value:function(e){e=e.toString().toLowerCase().trim();return[{to:"a",from:"[ÀÁÂÃÄÅÆĀĂĄẠẢẤẦẨẪẬẮẰẲẴẶἀ]"},{to:"c",from:"[ÇĆĈČ]"},{to:"d",from:"[ÐĎĐÞ]"},{to:"e",from:"[ÈÉÊËĒĔĖĘĚẸẺẼẾỀỂỄỆ]"},{to:"g",from:"[ĜĞĢǴ]"},{to:"h",from:"[ĤḦ]"},{to:"i",from:"[ÌÍÎÏĨĪĮİỈỊ]"},{to:"j",from:"[Ĵ]"},{to:"ij",from:"[Ĳ]"},{to:"k",from:"[Ķ]"},{to:"l",from:"[ĹĻĽŁ]"},{to:"m",from:"[Ḿ]"},{to:"n",from:"[ÑŃŅŇ]"},{to:"o",from:"[ÒÓÔÕÖØŌŎŐỌỎỐỒỔỖỘỚỜỞỠỢǪǬƠ]"},{to:"oe",from:"[Œ]"},{to:"p",from:"[ṕ]"},{to:"r",from:"[ŔŖŘ]"},{to:"s",from:"[ßŚŜŞŠȘ]"},{to:"t",from:"[ŢŤ]"},{to:"u",from:"[ÙÚÛÜŨŪŬŮŰŲỤỦỨỪỬỮỰƯ]"},{to:"w",from:"[ẂŴẀẄ]"},{to:"x",from:"[ẍ]"},{to:"y",from:"[ÝŶŸỲỴỶỸ]"},{to:"z",from:"[ŹŻŽ]"},{to:"-",from:"[·/_,:;']"}].forEach((function(t){e=e.replace(new RegExp(t.from,"gi"),t.to)})),e.replace(/--+/g,"-").replace(/^-+/,"").replace(/\s+/g," ").replace(/-+/g,"")}},{key:"slug_old",value:function(e){e=(e=e.trim()).toLowerCase();for(var t="àáäâèéëêìíïîòóöôùúüûñç·/_,:;",r=0,n=t.length;r<n;r++)e=e.replace(new RegExp(t.charAt(r),"g"),"aaaaeeeeiiiioooouuuunc".charAt(r));return e=e.replace(/[^a-z0-9 -]/g,"").replace(/\s+/g," ").replace(/-+/g,"")}}]),e}();$(document).ready((function(){new v(window.moofinder)}))}]);