/*! 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)('', {
type: 'hidden',
name: 'ajax',
value: 1,
})
),
0 === t.find('[name=action]').length &&
t.append(
(0, r.default)('', {
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)(
'
').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),
console.log(e.product_delivery_time);
e.product_delivery_time && (function () {
var $target = (0, r.default)('.blockreassurance_product').first();
if ($target.length) {
$target.find('.item-999.item-custom').remove();
$target.find('.product-delivery-time-block').remove();
$target.prepend(
'
' + e.product_delivery_time + '
'
);
}
})(),
(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 =
"
"),
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 =
"
"
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() || 0.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 = "
"),
'#' === 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 = '
'),
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 || 0.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 = '
'),
(y.noCloneChecked = !!ve.cloneNode(!0).lastChild.defaultValue),
(ve.innerHTML = '
'),
(y.option = !!ve.lastChild)
var xe = {
thead: [1, '
'],
col: [2, '
'],
tr: [2, '
'],
td: [3, '
'],
_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, "
'])
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 = /