From 01f7e6b78d9923b4fe2384d070a0b4117eff9835 Mon Sep 17 00:00:00 2001 From: Marvin-Magmodules Date: Tue, 16 Jul 2019 13:40:51 +0200 Subject: [PATCH 01/11] Load of checkout.js has been changed to avoid local storage --- Model/Checkout/PaazlConfigProvider.php | 1 + view/frontend/requirejs-config.js | 2 + view/frontend/web/js/checkout.js | 1 - .../web/js/checkout/view/widget-config.js | 61 +++++++++++++------ 4 files changed, 45 insertions(+), 20 deletions(-) delete mode 100755 view/frontend/web/js/checkout.js diff --git a/Model/Checkout/PaazlConfigProvider.php b/Model/Checkout/PaazlConfigProvider.php index eb7147b..950470e 100755 --- a/Model/Checkout/PaazlConfigProvider.php +++ b/Model/Checkout/PaazlConfigProvider.php @@ -68,6 +68,7 @@ public function getConfig() $config['baseApiUrl'] = $this->urlProvider->getBaseUrl(); $config['googleMapKey'] = $this->config->getGoogleMapKey(); $config['widgetConfig'] = $this->widgetConfigProvider->getConfig(); + $config['mode'] = $this->config->isProductionApiMode() ? 'live' : 'test'; return [ 'paazlshipping' => $config diff --git a/view/frontend/requirejs-config.js b/view/frontend/requirejs-config.js index 7ad291d..65b879a 100755 --- a/view/frontend/requirejs-config.js +++ b/view/frontend/requirejs-config.js @@ -11,6 +11,8 @@ var config = { 'Magento_Checkout/template/shipping-address/shipping-method-item.html': 'Paazl_CheckoutWidget/template/checkout/shipping-method-item.html', 'Magento_Checkout/template/shipping-address/shipping-method-list.html': 'Paazl_CheckoutWidget/template/checkout/shipping-method-list.html', customJs: 'Paazl_CheckoutWidget/js/custom', + checkoutjs_test: "https://widget-acc.paazl.com/v1/checkout.js", + checkoutjs_live: "https://widget.paazl.com/v1/checkout.js" } }, paths: { diff --git a/view/frontend/web/js/checkout.js b/view/frontend/web/js/checkout.js deleted file mode 100755 index 611c5c2..0000000 --- a/view/frontend/web/js/checkout.js +++ /dev/null @@ -1 +0,0 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.PaazlCheckout=t():e.PaazlCheckout=t()}("undefined"!=typeof self?self:this,function(){return function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=41)}([function(e,t,n){"use strict";function o(){}function r(e,t){var n,r,i,a,s=j;for(a=arguments.length;a-- >2;)N.push(arguments[a]);for(t&&null!=t.children&&(N.length||N.push(t.children),delete t.children);N.length;)if((r=N.pop())&&void 0!==r.pop)for(a=r.length;a--;)N.push(r[a]);else"boolean"==typeof r&&(r=null),(i="function"!=typeof e)&&(null==r?r="":"number"==typeof r?r+="":"string"!=typeof r&&(i=!1)),i&&n?s[s.length-1]+=r:s===j?s=[r]:s.push(r),n=i;var u=new o;return u.nodeName=e,u.children=s,u.attributes=null==t?void 0:t,u.key=null==t?void 0:t.key,void 0!==L.vnode&&L.vnode(u),u}function i(e,t){for(var n in t)e[n]=t[n];return e}function a(e,t){return r(e.nodeName,i(i({},e.attributes),t),arguments.length>2?[].slice.call(arguments,2):e.children)}function s(e){!e._dirty&&(e._dirty=!0)&&1==F.push(e)&&(L.debounceRendering||R)(u)}function u(){var e,t=F;for(F=[];e=t.pop();)e._dirty&&M(e)}function c(e,t,n){return"string"==typeof t||"number"==typeof t?void 0!==e.splitText:"string"==typeof t.nodeName?!e._componentConstructor&&l(e,t.nodeName):n||e._componentConstructor===t.nodeName}function l(e,t){return e.normalizedNodeName===t||e.nodeName.toLowerCase()===t.toLowerCase()}function p(e){var t=i({},e.attributes);t.children=e.children;var n=e.nodeName.defaultProps;if(void 0!==n)for(var o in n)void 0===t[o]&&(t[o]=n[o]);return t}function f(e,t){var n=t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e);return n.normalizedNodeName=e,n}function d(e){var t=e.parentNode;t&&t.removeChild(e)}function h(e,t,n,o,r){if("className"===t&&(t="class"),"key"===t);else if("ref"===t)n&&n(null),o&&o(e);else if("class"!==t||r)if("style"===t){if(o&&"string"!=typeof o&&"string"!=typeof n||(e.style.cssText=o||""),o&&"object"==typeof o){if("string"!=typeof n)for(var i in n)i in o||(e.style[i]="");for(var i in o)e.style[i]="number"==typeof o[i]&&!1===I.test(i)?o[i]+"px":o[i]}}else if("dangerouslySetInnerHTML"===t)o&&(e.innerHTML=o.__html||"");else if("o"==t[0]&&"n"==t[1]){var a=t!==(t=t.replace(/Capture$/,""));t=t.toLowerCase().substring(2),o?n||e.addEventListener(t,g,a):e.removeEventListener(t,g,a),(e._listeners||(e._listeners={}))[t]=o}else if("list"!==t&&"type"!==t&&!r&&t in e)m(e,t,null==o?"":o),null!=o&&!1!==o||e.removeAttribute(t);else{var s=r&&t!==(t=t.replace(/^xlink:?/,""));null==o||!1===o?s?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.removeAttribute(t):"function"!=typeof o&&(s?e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),o):e.setAttribute(t,o))}else e.className=o||""}function m(e,t,n){try{e[t]=n}catch(e){}}function g(e){return this._listeners[e.type](L.event&&L.event(e)||e)}function y(){for(var e;e=z.pop();)L.afterMount&&L.afterMount(e),e.componentDidMount&&e.componentDidMount()}function v(e,t,n,o,r,i){B++||(U=null!=r&&void 0!==r.ownerSVGElement,H=null!=e&&!("__preactattr_"in e));var a=b(e,t,n,o,i);return r&&a.parentNode!==r&&r.appendChild(a),--B||(H=!1,i||y()),a}function b(e,t,n,o,r){var i=e,a=U;if(null!=t&&"boolean"!=typeof t||(t=""),"string"==typeof t||"number"==typeof t)return e&&void 0!==e.splitText&&e.parentNode&&(!e._component||r)?e.nodeValue!=t&&(e.nodeValue=t):(i=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(i,e),T(e,!0))),i.__preactattr_=!0,i;var s=t.nodeName;if("function"==typeof s)return x(e,t,n,o);if(U="svg"===s||"foreignObject"!==s&&U,s+="",(!e||!l(e,s))&&(i=f(s,U),e)){for(;e.firstChild;)i.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(i,e),T(e,!0)}var u=i.firstChild,c=i.__preactattr_,p=t.children;if(null==c){c=i.__preactattr_={};for(var d=i.attributes,h=d.length;h--;)c[d[h].name]=d[h].value}return!H&&p&&1===p.length&&"string"==typeof p[0]&&null!=u&&void 0!==u.splitText&&null==u.nextSibling?u.nodeValue!=p[0]&&(u.nodeValue=p[0]):(p&&p.length||null!=u)&&_(i,p,n,o,H||null!=c.dangerouslySetInnerHTML),O(i,t.attributes,c),U=a,i}function _(e,t,n,o,r){var i,a,s,u,l,p=e.childNodes,f=[],h={},m=0,g=0,y=p.length,v=0,_=t?t.length:0;if(0!==y)for(var w=0;y>w;w++){var O=p[w],C=O.__preactattr_,S=_&&C?O._component?O._component.__key:C.key:null;null!=S?(m++,h[S]=O):(C||(void 0!==O.splitText?!r||O.nodeValue.trim():r))&&(f[v++]=O)}if(0!==_)for(var w=0;_>w;w++){u=t[w],l=null;var S=u.key;if(null!=S)m&&void 0!==h[S]&&(l=h[S],h[S]=void 0,m--);else if(!l&&v>g)for(i=g;v>i;i++)if(void 0!==f[i]&&c(a=f[i],u,r)){l=a,f[i]=void 0,i===v-1&&v--,i===g&&g++;break}l=b(l,u,n,o),s=p[w],l&&l!==e&&l!==s&&(null==s?e.appendChild(l):l===s.nextSibling?d(s):e.insertBefore(l,s))}if(m)for(var w in h)void 0!==h[w]&&T(h[w],!1);for(;v>=g;)void 0!==(l=f[v--])&&T(l,!1)}function T(e,t){var n=e._component;n?P(n):(null!=e.__preactattr_&&e.__preactattr_.ref&&e.__preactattr_.ref(null),!1!==t&&null!=e.__preactattr_||d(e),w(e))}function w(e){for(e=e.lastChild;e;){var t=e.previousSibling;T(e,!0),e=t}}function O(e,t,n){var o;for(o in n)t&&null!=t[o]||null==n[o]||h(e,o,n[o],n[o]=void 0,U);for(o in t)"children"===o||"innerHTML"===o||o in n&&t[o]===("value"===o||"checked"===o?e[o]:n[o])||h(e,o,n[o],n[o]=t[o],U)}function C(e){var t=e.constructor.name;(K[t]||(K[t]=[])).push(e)}function S(e,t,n){var o,r=K[e.name];if(e.prototype&&e.prototype.render?(o=new e(t,n),k.call(o,t,n)):(o=new k(t,n),o.constructor=e,o.render=E),r)for(var i=r.length;i--;)if(r[i].constructor===e){o.nextBase=r[i].nextBase,r.splice(i,1);break}return o}function E(e,t,n){return this.constructor(e,n)}function D(e,t,n,o,r){e._disable||(e._disable=!0,(e.__ref=t.ref)&&delete t.ref,(e.__key=t.key)&&delete t.key,!e.base||r?e.componentWillMount&&e.componentWillMount():e.componentWillReceiveProps&&e.componentWillReceiveProps(t,o),o&&o!==e.context&&(e.prevContext||(e.prevContext=e.context),e.context=o),e.prevProps||(e.prevProps=e.props),e.props=t,e._disable=!1,0!==n&&(1!==n&&!1===L.syncComponentUpdates&&e.base?s(e):M(e,1,r)),e.__ref&&e.__ref(e))}function M(e,t,n,o){if(!e._disable){var r,a,s,u=e.props,c=e.state,l=e.context,f=e.prevProps||u,d=e.prevState||c,h=e.prevContext||l,m=e.base,g=e.nextBase,b=m||g,_=e._component,w=!1;if(m&&(e.props=f,e.state=d,e.context=h,2!==t&&e.shouldComponentUpdate&&!1===e.shouldComponentUpdate(u,c,l)?w=!0:e.componentWillUpdate&&e.componentWillUpdate(u,c,l),e.props=u,e.state=c,e.context=l),e.prevProps=e.prevState=e.prevContext=e.nextBase=null,e._dirty=!1,!w){r=e.render(u,c,l),e.getChildContext&&(l=i(i({},l),e.getChildContext()));var O,C,E=r&&r.nodeName;if("function"==typeof E){var x=p(r);a=_,a&&a.constructor===E&&x.key==a.__key?D(a,x,1,l,!1):(O=a,e._component=a=S(E,x,l),a.nextBase=a.nextBase||g,a._parentComponent=e,D(a,x,0,l,!1),M(a,1,n,!0)),C=a.base}else s=b,O=_,O&&(s=e._component=null),(b||1===t)&&(s&&(s._component=null),C=v(s,r,l,n||!m,b&&b.parentNode,!0));if(b&&C!==b&&a!==_){var k=b.parentNode;k&&C!==k&&(k.replaceChild(C,b),O||(b._component=null,T(b,!1)))}if(O&&P(O),e.base=C,C&&!o){for(var A=e,N=e;N=N._parentComponent;)(A=N).base=C;C._component=A,C._componentConstructor=A.constructor}}if(!m||n?z.unshift(e):w||(e.componentDidUpdate&&e.componentDidUpdate(f,d,h),L.afterUpdate&&L.afterUpdate(e)),null!=e._renderCallbacks)for(;e._renderCallbacks.length;)e._renderCallbacks.pop().call(e);B||o||y()}}function x(e,t,n,o){for(var r=e&&e._component,i=r,a=e,s=r&&e._componentConstructor===t.nodeName,u=s,c=p(t);r&&!u&&(r=r._parentComponent);)u=r.constructor===t.nodeName;return r&&u&&(!o||r._component)?(D(r,c,3,n,o),e=r.base):(i&&!s&&(P(i),e=a=null),r=S(t.nodeName,c,n),e&&!r.nextBase&&(r.nextBase=e,a=null),D(r,c,1,n,o),e=r.base,a&&e!==a&&(a._component=null,T(a,!1))),e}function P(e){L.beforeUnmount&&L.beforeUnmount(e);var t=e.base;e._disable=!0,e.componentWillUnmount&&e.componentWillUnmount(),e.base=null;var n=e._component;n?P(n):t&&(t.__preactattr_&&t.__preactattr_.ref&&t.__preactattr_.ref(null),e.nextBase=t,d(t),C(e),w(t)),e.__ref&&e.__ref(null)}function k(e,t){this._dirty=!0,this.context=t,this.props=e,this.state=this.state||{}}function A(e,t,n){return v(n,e,{},!1,t,!1)}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"h",function(){return r}),n.d(t,"createElement",function(){return r}),n.d(t,"cloneElement",function(){return a}),n.d(t,"Component",function(){return k}),n.d(t,"render",function(){return A}),n.d(t,"rerender",function(){return u}),n.d(t,"options",function(){return L});var L={},N=[],j=[],R="function"==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):setTimeout,I=/acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,F=[],z=[],B=0,U=!1,H=!1,K={};i(k.prototype,{setState:function(e,t){var n=this.state;this.prevState||(this.prevState=i({},n)),i(n,"function"==typeof e?e(n,this.props):e),t&&(this._renderCallbacks=this._renderCallbacks||[]).push(t),s(this)},forceUpdate:function(e){e&&(this._renderCallbacks=this._renderCallbacks||[]).push(e),M(this,2)},render:function(){}}),t.default={h:r,createElement:r,cloneElement:a,Component:k,render:A,rerender:u,options:L}},function(e,t){"use strict";t.__esModule=!0;var n=window.PAAZL_CHECKOUT_WIDGET_API_URL,o=window.PAAZL_CHECKOUT_WIDGET_RESOURCE_URL,r=(t.BASE_URL=n||"https://api-acc.paazl.com/v1/"||"http://localhost:8080/rest-widget/v1",t.OPTION_LIST_URL="/shippingoptions",t.SERVICE_POINT_LIST_URL="/pickuplocations",t.SAVE_CHECKOUT_INFO_URL="/checkout",t.STORE_LOGO_URL="/store/logo",t.RESOURCE_BASE_URL=o||"https://widget-acc.paazl.com/v1/"||"http://localhost:3000"),i=(t.STYLESHEET_URL=r+"/paazl-checkout.min.css",t.CARRIER_LOGO_BASE_URL=r+"/logo/",t.IMAGES_BASE_URL=r+"/images/",t.DELIVERY_FORMATS={DATE:"DATE",NUMBER:"NUMBER"});t.DEFAULT_CONFIG={loadPaazlBasedData:!0,loadCarrierBasedData:!1,availableTabs:["DELIVERY","PICKUP"],defaultTab:"DELIVERY",shippingOptionsLimit:3,pickupLocationsLimit:20,pickupLocationsPageLimit:10,initialPickupLocations:3,nominatedDateEnabled:!1,isPricingEnabled:!0,isShowAsExtraCost:!0,language:"eng",deliveryRangeFormat:i.DATE,deliveryOptionDateFormat:"ddd DD MMM",deliveryEstimateDateFormat:"dddd DD MMMM",pickupOptionDateFormat:"dddd",pickupEstimateDateFormat:"dddd",sortingModel:{orderBy:"PRICE",sortOrder:"ASC"}},t.TABS={DELIVERY:"DELIVERY",PICKUP:"PICKUP",STORE:"STORE"},t.DELIVERY_TYPES={ESTIMATED_DATE:"ESTIMATED_DATE",EXACT_DATE:"EXACT_DATE"},t.NETWORK={ALL:"ALL",CARRIER:"CARRIER",STORE:"STORE"},t.STYLES={DEFAULT:"DEFAULT",GREEN:"GREEN",LIGHT_GREEN:"LIGHT_GREEN",BROWN:"BROWN",BLUE:"BLUE",RED:"RED"},t.GOOGLE_API_KEY="AIzaSyCVWGcx8iXWEgjyV_nDMuIKYVsq11ZPXIA",t.FORMAT_MASKS={DEFAULT_DATE:"YYYY-MM-DD",DAY_NAME:"dddd",DAY_MONTH:"DD MMMM",TIME:"HH:mm",DELIVERY_OPTION_DATE_FORMAT:"deliveryOptionDateFormat",DELIVERY_ESTIMATE_DATE_FORMAT:"deliveryEstimateDateFormat",PICKUP_OPTION_DATE_FORMAT:"pickupOptionDateFormat",PICKUP_ESTIMATE_DATE_FORMAT:"pickupEstimateDateFormat"},t.DEFAULT_MASKS={deliveryOptionDateFormat:"ddd DD MMM",deliveryEstimateDateFormat:"dddd DD MMMM",pickupOptionDateFormat:"ddd DD MMM",pickupEstimateDateFormat:"dddd DD MMMM"},t.METER_IN_DEGREE=89e-7,t.TOOLTIP_TOP_MARGIN_IN_PIXEL=50,t.MAP_ZOOMS=[27693,21282,16355,10064,5540,2909,1485,752,378,190,95,48,24,12,6,3,1.48,.74,.37,.19],t.CURRENCY_SYMBOLS={ALL:"Lek",AFN:"؋",ARS:"$",AWG:"ƒ",AUD:"$",AZN:"₼",BSD:"$",BBD:"$",BYN:"Br",BZD:"BZ$",BMD:"$",BOB:"$b",BAM:"KM",BWP:"P",BGN:"лв",BRL:"R$",BND:"$",KHR:"៛",CAD:"$",KYD:"$",CLP:"$",CNY:"¥",COP:"$",CRC:"₡",HRK:"kn",CUP:"₱",CZK:"Kč",DKK:"kr",DOP:"RD$",XCD:"$",EGP:"£",SVC:"$",EUR:"€",FKP:"£",FJD:"$",GHS:"¢",GIP:"£",GTQ:"Q",GGP:"£",GYD:"$",HNL:"L",HKD:"$",HUF:"Ft",ISK:"kr",INR:"₹",IDR:"Rp",IRR:"﷼",IMP:"£",ILS:"₪",JMD:"J$",JPY:"¥",JEP:"£",KZT:"лв",KPW:"₩",KRW:"₩",KGS:"лв",LAK:"₭",LBP:"£",LRD:"$",MKD:"ден",MYR:"RM",MUR:"₨",MXN:"$",MNT:"₮",MZN:"MT",NAD:"$",NPR:"₨",ANG:"ƒ",NZD:"$",NIO:"C$",NGN:"₦",NOK:"kr",OMR:"﷼",PKR:"₨",PAB:"B/.",PYG:"Gs",PEN:"S/.",PHP:"₱",PLN:"zł",QAR:"﷼",RON:"lei",RUB:"₽",SHP:"£",SAR:"﷼",RSD:"Дин.",SCR:"₨",SGD:"$",SBD:"$",SOS:"S",ZAR:"R",LKR:"₨",SEK:"kr",CHF:"CHF",SRD:"$",SYP:"£",TWD:"NT$",THB:"฿",TTD:"TT$",TRY:"₺",TVD:"$",UAH:"₴",GBP:"£",USD:"$",UYU:"$U",UZS:"лв",VEF:"Bs",VND:"₫",YER:"﷼",ZWD:"Z$"}},function(e,t,n){"use strict";(function(e){function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.default=void 0;var a,s,u=n(0),c=n(26),l=n(3),p=function(e){return e&&e.__esModule?e:{default:e}}(l),f=(s=a=function(t){function n(e){o(this,n);var i=r(this,t.call(this,e));return i.shouldComponentUpdate=function(e){return i.props.id!==e.id||JSON.stringify(i.props.fields)!==JSON.stringify(e.fields)},i}return i(n,t),n.prototype.render=function(){var t=this.props,n=t.id,o=t.fields,r=t.notranslate,i=t.additionalClassName,a=t.spaceBefore,s=t.spaceAfter;return e("span",{className:(0,p.default)(i,{notranslate:r})},a&&" ",o?e(c.MarkupText,{id:n,fields:o}):e(c.Text,{id:n}),s&&" ")},n}(u.Component),a.defaultProps={notranslate:!1,additionalClassName:"",spaceBefore:!1,spaceAfter:!1},s);t.default=f}).call(t,n(0).h)},function(e,t){var n,o;!function(){"use strict";function r(){for(var e=[],t=0;arguments.length>t;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)&&n.length){var a=r.apply(null,n);a&&e.push(a)}else if("object"===o)for(var s in n)i.call(n,s)&&n[s]&&e.push(s)}}return e.join(" ")}var i={}.hasOwnProperty;void 0!==e&&e.exports?(r.default=r,e.exports=r):(n=[],void 0!==(o=function(){return r}.apply(t,n))&&(e.exports=o))}()},function(e,t,n){"use strict";function o(e){return"[object Array]"===C.call(e)}function r(e){return"[object ArrayBuffer]"===C.call(e)}function i(e){return"undefined"!=typeof FormData&&e instanceof FormData}function a(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer}function s(e){return"string"==typeof e}function u(e){return"number"==typeof e}function c(e){return void 0===e}function l(e){return null!==e&&"object"==typeof e}function p(e){return"[object Date]"===C.call(e)}function f(e){return"[object File]"===C.call(e)}function d(e){return"[object Blob]"===C.call(e)}function h(e){return"[object Function]"===C.call(e)}function m(e){return l(e)&&h(e.pipe)}function g(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams}function y(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}function v(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)}function b(e,t){if(null!==e&&void 0!==e)if("object"!=typeof e&&(e=[e]),o(e))for(var n=0,r=e.length;r>n;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}function _(){function e(e,n){t[n]="object"==typeof t[n]&&"object"==typeof e?_(t[n],e):e}for(var t={},n=0,o=arguments.length;o>n;n++)b(arguments[n],e);return t}function T(e,t,n){return b(t,function(t,o){e[o]=n&&"function"==typeof t?w(t,n):t}),e}var w=n(21),O=n(57),C=Object.prototype.toString;e.exports={isArray:o,isArrayBuffer:r,isBuffer:O,isFormData:i,isArrayBufferView:a,isString:s,isNumber:u,isObject:l,isUndefined:c,isDate:p,isFile:f,isBlob:d,isFunction:h,isStream:m,isURLSearchParams:g,isStandardBrowserEnv:v,forEach:b,merge:_,extend:T,trim:y}},function(e,t,n){"use strict";(function(e){function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.default=void 0;var a,s,u=n(0),c=n(3),l=function(e){return e&&e.__esModule?e:{default:e}}(c),p=(s=a=function(t){function n(e){o(this,n);var i=r(this,t.call(this,e));return i.shouldComponentUpdate=function(e){return i.props.content!==e.content},i}return i(n,t),n.prototype.render=function(){var t=this.props,n=t.content,o=t.notranslate,r=t.additionalClassName,i=t.spaceBefore,a=t.spaceAfter;return e("span",{className:(0,l.default)(r,{notranslate:o})},i&&" ",n,a&&" ")},n}(u.Component),a.defaultProps={notranslate:!1,additionalClassName:"",spaceBefore:!1,spaceAfter:!1},s);t.default=p}).call(t,n(0).h)},function(e,t,n){"use strict";(function(e){t.__esModule=!0,t.isStoreOption=t.findSelectedOptionForPickup=t.loadStylesheets=t.checkBrowser=t.selectAriaTab=t.buildAriaTabs=t.generateId=void 0;var o=n(1),r=e,i=0,a=(t.generateId=function(e){return i++,e?e+"-"+i:i},t.buildAriaTabs=function(){for(var e=[{$elem:r(".day-select"),$class:"day-select"},{$elem:r(".type-select"),$class:"type-select"},{$elem:r(".method-select"),$class:"method-select"}],t=0;e.length>t;t++){var n=e[t],o=n.$elem,i=n.$class;o.ariaTabs({navClass:i+"__navigation",listClass:i+"__listing",listItemClass:i+"__item",btnClass:i+"__tab",panelsContainerClass:i+"__panels",panelClass:i+"__panel",contentClass:i+"__tab-content",btnSelectedClass:"tab--selected",panelSelectedClass:"panel--selected",contentRole:"none"})}},t.selectAriaTab=function(e,t){r(e).ariaTabs("select",t);var n=function n(o,i,a){0>a&&(console.log(a),r(e).ariaTabs("select",t)),r(window).off("ariaTabs.select",n)};r(window).on("ariaTabs.select",n)},t.checkBrowser=function(){"objectFit"in document.documentElement.style==!1&&(r("img.polyfill-object-fit-cover").each(function(){var e=r(this),t=void 0,n=void 0;"objectFit"in e[0].style==!1?(t=e.attr("src"),n=e.parent(),n.css("background","url("+t+")"),n.css("background-size","cover"),e.css("display","none")):(t=e.attr("src"),n=e.parent(),n.css("background","url("+t+")"),n.css("background-size","cover"),n.css("background-position","center center"),e.css("display","none"))}),r("img.polyfill-object-fit-contain").each(function(){var e=r(this);if("objectFit"in e[0].style==!1){var t=e.attr("src"),n=e.parent();n.append("
");var o=n.find(".polyfill-image");o.css({width:"100%",height:"100%"}),o.css("background","url("+t+")"),o.css("background-size","contain"),o.css("background-repeat","no-repeat"),e.css("display","none")}}))},t.loadStylesheets=function(){var e=document.createElement("link");e.rel="stylesheet",e.type="text/css",e.media="screen",e.href=o.STYLESHEET_URL,document.getElementsByTagName("head")[0].appendChild(e)},t.findSelectedOptionForPickup=function(e){return e&&e.shippingOptions&&e.shippingOptions.length>0&&e.shippingOptions.find(function(t){return t.identifier===e.shippingOptionIdentifier})});t.isStoreOption=function(e){var t=a(e);return t&&t.network===o.NETWORK.STORE}}).call(t,n(13))},function(e,t,n){"use strict";t.__esModule=!0,t.getDayOfWeek=t.convertDateString=t.getDayName=t.format=t.parse=t.internationalizeDates=t.setUpDateFormats=t.TO_DATE_CONTEXT=t.FROM_DATE_CONTEXT=t.EXACT_DATE_CONTEXT=void 0;var o=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=n(74),i=function(e){return e&&e.__esModule?e:{default:e}}(r),a=n(1),s=void 0,u=t.EXACT_DATE_CONTEXT="EXACT_DATE_CONTEXT",c=t.FROM_DATE_CONTEXT="FROM_DATE_CONTEXT",l=t.TO_DATE_CONTEXT="TO_DATE_CONTEXT",p=(t.setUpDateFormats=function(e){var t={deliveryOptionDateFormat:e.deliveryOptionDateFormat,deliveryEstimateDateFormat:e.deliveryEstimateDateFormat,pickupOptionDateFormat:e.pickupOptionDateFormat,pickupEstimateDateFormat:e.pickupEstimateDateFormat};Object.keys(t).forEach(function(e){return void 0===t[e]?delete t[e]:""}),i.default.masks=o({},a.DEFAULT_MASKS,t)},t.internationalizeDates=function(e){var t={dayNamesShort:["Sun","Mon","Tue","Wed","Thur","Fri","Sat"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],amPm:["am","pm"],DoFn:function(e){return e+["th","st","nd","rd"][e%10>3?0:(e-e%10!=10)*e%10]}};s=e.common.calendar,i.default.i18n=o({},t,e.common.calendar)},t.parse=function(e){return i.default.parse(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.FORMAT_MASKS.DEFAULT_DATE)}),f=t.format=function(e,t){return i.default.format(e,t)},d=(t.getDayName=function(e){var t=new Date;if(e.toDateString()===t.toDateString())return s.today;var n=new Date(t.getFullYear(),t.getMonth(),t.getDate()+1);return e.toDateString()===n.toDateString()?s.tomorrow:i.default.format(e,a.FORMAT_MASKS.DAY_NAME)},t.convertDateString=function(e,t,n,o,r){var i=p(e,t);if(!r){var a=new Date;if(i.toDateString()===a.toDateString())return s.today;var u=new Date(a.getFullYear(),a.getMonth(),a.getDate()+1);if(i.toDateString()===u.toDateString())return s.tomorrow}var c=f(i,n);return o?d(c,o):c},t.getDayOfWeek=function(e){if(s)return s.dayNames[e]},function(e,t){if(!s)return e;var n=-1;return s.dayNames.forEach(function(t,o){-1!==e.indexOf(t)&&(n=o)}),t===u&&-1!==n&&s.dayNamesExactDayContext?e.replace(s.dayNames[n],s.dayNamesExactDayContext[n]):t===c&&-1!==n&&s.dayNamesFromDayContext?e.replace(s.dayNames[n],s.dayNamesFromDayContext[n]):t===l&&-1!==n&&s.dayNamesToDayContext?e.replace(s.dayNames[n],s.dayNamesToDayContext[n]):e})},function(e,t,n){"use strict";(function(e){t.__esModule=!0,t.getFreeCostWrapper=t.getExtraCostSign=t.getCurrencySymbol=t.getPickupLocationShippingRate=void 0;var o=n(1),r=n(2),i=function(e){return e&&e.__esModule?e:{default:e}}(r),a=n(6);t.getPickupLocationShippingRate=function(e){var t=(0,a.findSelectedOptionForPickup)(e);return t&&t.rate||0},t.getCurrencySymbol=function(e){e=e?e.toUpperCase():"EUR";var t=o.CURRENCY_SYMBOLS[e];return t||o.CURRENCY_SYMBOLS.EUR},t.getExtraCostSign=function(e){return e?"+ ":""},t.getFreeCostWrapper=function(t,n,o){return t?e(i.default,{id:"common.zeroExtra",fields:{currencySymbol:n+o},additionalClassName:"option__radio__price"}):e(i.default,{id:"common.free",additionalClassName:"option__radio__price"})}}).call(t,n(0).h)},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.getCurrentTranslation=t.resolveLocale=t.I18nResolver=void 0;var r=n(48),i=o(r),a=n(49),s=o(a),u=n(50),c=o(u),l=n(51),p=o(l),f=n(52),d=o(f),h=n(53),m=o(h),g=s.default;t.I18nResolver=function(e){switch(e){case"eng":return g=s.default,s.default;case"nld":return g=c.default,c.default;case"ger":case"deu":return g=p.default,p.default;case"pol":return g=d.default,d.default;case"rus":return g=m.default,m.default;default:return g=s.default,s.default}},t.resolveLocale=function(e){return i.default[e]},t.getCurrentTranslation=function(){return g}},function(e,t,n){"use strict";t.__esModule=!0,t.checkout=t.loadPickupLocations=t.setOnChangeTabCallback=void 0;var o=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=n(12),i=n(16),a=n(1),s=n(1),u=n(7),c=void 0;t.setOnChangeTabCallback=function(e){c=e},t.loadPickupLocations=function(e,t,n){var o=(0,r.preparePickupLocationsRequest)(e,t);(0,i.doPost)(a.SERVICE_POINT_LIST_URL,o).then(function(o){var r=o.data&&o.data.pickupLocations||[];t&&0===r.length&&c(e),n(r)}).catch(function(){t&&c(e),n([])})},t.checkout=function(e,t,n,r,c){var l={apiKey:e.apiKey,token:e.token,shippingOption:{identifier:t}};return r&&(l=o({},l,{preferredDeliveryDate:(0,u.format)(r,s.FORMAT_MASKS.DEFAULT_DATE)})),n&&(l=o({},l,{pickupLocation:o({},l.pickupLocation,{code:n})})),c&&(l=o({},l,{pickupLocation:o({},l.pickupLocation,{accountNumber:c})})),(0,i.doPost)(a.SAVE_CHECKOUT_INFO_URL,l)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){function o(){return null}function r(e){var t=e.nodeName,n=e.attributes;e.attributes={},t.defaultProps&&T(e.attributes,t.defaultProps),n&&T(e.attributes,n)}function i(e,t){var n,o,r;if(t){for(r in t)if(n=q.test(r))break;if(n){o=e.attributes={};for(r in t)t.hasOwnProperty(r)&&(o[q.test(r)?r.replace(/([A-Z0-9])/,"-$1").toLowerCase():r]=t[r])}}}function a(e,t,n){var o=t&&t._preactCompatRendered&&t._preactCompatRendered.base;o&&o.parentNode!==t&&(o=null),!o&&t&&(o=t.firstElementChild);for(var r=t.childNodes.length;r--;)t.childNodes[r]!==o&&t.removeChild(t.childNodes[r]);var i=Object(z.render)(e,t,o);return t&&(t._preactCompatRendered=i&&(i._component||{base:i})),"function"==typeof n&&n(),i&&i._component||i}function s(e,t,n,o){var r=Object(z.h)(Z,{context:e.context},t),i=a(r,n),s=i._component||i.base;return o&&o.call(s,i),s}function u(e){var t=e._preactCompatRendered&&e._preactCompatRendered.base;return!(!t||t.parentNode!==e)&&(Object(z.render)(Object(z.h)(o),e,t),!0)}function c(e){return h.bind(null,e)}function l(e,t){for(var n=t||0;e.length>n;n++){var o=e[n];Array.isArray(o)?l(o):o&&"object"==typeof o&&!y(o)&&(o.props&&o.type||o.attributes&&o.nodeName||o.children)&&(e[n]=h(o.type||o.nodeName,o.props||o.attributes,o.children))}}function p(e){return"function"==typeof e&&!(e.prototype&&e.prototype.render)}function f(e){return S({displayName:e.displayName||e.name,render:function(){return e(this.props,this.context)}})}function d(e){var t=e[K];return t?!0===t?e:t:(t=f(e),Object.defineProperty(t,K,{configurable:!0,value:!0}),t.displayName=e.displayName,t.propTypes=e.propTypes,t.defaultProps=e.defaultProps,Object.defineProperty(e,K,{configurable:!0,value:t}),t)}function h(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return l(e,2),m(z.h.apply(void 0,e))}function m(e){e.preactCompatNormalized=!0,_(e),p(e.nodeName)&&(e.nodeName=d(e.nodeName));var t=e.attributes.ref,n=t&&typeof t;return!J||"string"!==n&&"number"!==n||(e.attributes.ref=v(t,J)),b(e),e}function g(e,t){for(var n=[],o=arguments.length-2;o-- >0;)n[o]=arguments[o+2];if(!y(e))return e;var r=e.attributes||e.props,i=Object(z.h)(e.nodeName||e.type,T({},r),e.children||r&&r.children),a=[i,t];return n&&n.length?a.push(n):t&&t.children&&a.push(t.children),m(z.cloneElement.apply(void 0,a))}function y(e){return e&&(e instanceof V||e.$$typeof===H)}function v(e,t){return t._refProxies[e]||(t._refProxies[e]=function(n){t&&t.refs&&(t.refs[e]=n,null===n&&(delete t._refProxies[e],t=null))})}function b(e){var t=e.nodeName,n=e.attributes;if(n&&"string"==typeof t){var o={};for(var r in n)o[r.toLowerCase()]=r;if(o.ondoubleclick&&(n.ondblclick=n[o.ondoubleclick],delete n[o.ondoubleclick]),o.onchange&&("textarea"===t||"input"===t.toLowerCase()&&!/^fil|che|rad/i.test(n.type))){var i=o.oninput||"oninput";n[i]||(n[i]=P([n[i],n[o.onchange]]),delete n[o.onchange])}}}function _(e){var t=e.attributes||(e.attributes={});oe.enumerable="className"in t,t.className&&(t.class=t.className),Object.defineProperty(t,"className",oe)}function T(e){for(var t=arguments,n=1,o=void 0;arguments.length>n;n++)if(o=t[n])for(var r in o)o.hasOwnProperty(r)&&(e[r]=o[r]);return e}function w(e,t){for(var n in e)if(!(n in t))return!0;for(var o in t)if(e[o]!==t[o])return!0;return!1}function O(e){return e&&e.base||e}function C(){}function S(e){function t(e,t){M(this),j.call(this,e,t,Y),k.call(this,e,t)}return e=T({constructor:t},e),e.mixins&&D(e,E(e.mixins)),e.statics&&T(t,e.statics),e.propTypes&&(t.propTypes=e.propTypes),e.defaultProps&&(t.defaultProps=e.defaultProps),e.getDefaultProps&&(t.defaultProps=e.getDefaultProps.call(t)),C.prototype=j.prototype,t.prototype=T(new C,e),t.displayName=e.displayName||"Component",t}function E(e){for(var t={},n=0;e.length>n;n++){var o=e[n];for(var r in o)o.hasOwnProperty(r)&&"function"==typeof o[r]&&(t[r]||(t[r]=[])).push(o[r])}return t}function D(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=P(t[n].concat(e[n]||Q),"getDefaultProps"===n||"getInitialState"===n||"getChildContext"===n))}function M(e){for(var t in e){var n=e[t];"function"!=typeof n||n.__bound||W.hasOwnProperty(t)||((e[t]=n.bind(e)).__bound=!0)}}function x(e,t,n){if("string"==typeof t&&(t=e.constructor.prototype[t]),"function"==typeof t)return t.apply(e,n)}function P(e,t){return function(){for(var n,o=arguments,r=this,i=0;e.length>i;i++){var a=x(r,e[i],o);if(t&&null!=a){n||(n={});for(var s in a)a.hasOwnProperty(s)&&(n[s]=a[s])}else void 0!==a&&(n=a)}return n}}function k(e,t){A.call(this,e,t),this.componentWillReceiveProps=P([A,this.componentWillReceiveProps||"componentWillReceiveProps"]),this.render=P([A,L,this.render||"render",N])}function A(e){if(e){var t=e.children;if(t&&Array.isArray(t)&&1===t.length&&("string"==typeof t[0]||"function"==typeof t[0]||t[0]instanceof V)&&(e.children=t[0])&&"object"==typeof e.children&&(e.children.length=1,e.children[0]=e.children),G){var n="function"==typeof this?this:this.constructor,o=this.propTypes||n.propTypes,r=this.displayName||n.name;o&&F.a.checkPropTypes(o,e,"prop",r)}}}function L(){J=this}function N(){J===this&&(J=null)}function j(e,t,n){z.Component.call(this,e,t),this.state=this.getInitialState?this.getInitialState():{},this.refs={},this._refProxies={},n!==Y&&k.call(this,e,t)}function R(e,t){j.call(this,e,t)}n.d(t,"version",function(){return B}),n.d(t,"DOM",function(){return te}),n.d(t,"Children",function(){return ee}),n.d(t,"render",function(){return a}),n.d(t,"createClass",function(){return S}),n.d(t,"createFactory",function(){return c}),n.d(t,"createElement",function(){return h}),n.d(t,"cloneElement",function(){return g}),n.d(t,"isValidElement",function(){return y}),n.d(t,"findDOMNode",function(){return O}),n.d(t,"unmountComponentAtNode",function(){return u}),n.d(t,"Component",function(){return j}),n.d(t,"PureComponent",function(){return R}),n.d(t,"unstable_renderSubtreeIntoContainer",function(){return s}),n.d(t,"__spread",function(){return T});var I=n(20),F=n.n(I),z=n(0);n.d(t,"PropTypes",function(){return F.a});var B="15.1.0",U="a abbr address area article aside audio b base bdi bdo big blockquote body br button canvas caption cite code col colgroup data datalist dd del details dfn dialog div dl dt em embed fieldset figcaption figure footer form h1 h2 h3 h4 h5 h6 head header hgroup hr html i iframe img input ins kbd keygen label legend li link main map mark menu menuitem meta meter nav noscript object ol optgroup option output p param picture pre progress q rp rt ruby s samp script section select small source span strong style sub summary sup table tbody td textarea tfoot th thead time title tr track u ul var video wbr circle clipPath defs ellipse g image line linearGradient mask path pattern polygon polyline radialGradient rect stop svg text tspan".split(" "),H="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,K="undefined"!=typeof Symbol&&Symbol.for?Symbol.for("__preactCompatWrapper"):"__preactCompatWrapper",W={constructor:1,render:1,shouldComponentUpdate:1,componentWillReceiveProps:1,componentWillUpdate:1,componentDidUpdate:1,componentWillMount:1,componentDidMount:1,componentWillUnmount:1,componentDidUnmount:1},q=/^(?:accent|alignment|arabic|baseline|cap|clip|color|fill|flood|font|glyph|horiz|marker|overline|paint|stop|strikethrough|stroke|text|underline|unicode|units|v|vector|vert|word|writing|x)[A-Z]/,Y={},G=void 0===e||!Object({NODE_ENV:"production",API_URL:"https://api-acc.paazl.com/v1/",RESOURCE_URL:"https://widget-acc.paazl.com/v1/",GOOGLE_MAP_API_KEY:"AIzaSyCVWGcx8iXWEgjyV_nDMuIKYVsq11ZPXIA"})||!1,V=Object(z.h)("a",null).constructor;V.prototype.$$typeof=H,V.prototype.preactCompatUpgraded=!1,V.prototype.preactCompatNormalized=!1,Object.defineProperty(V.prototype,"type",{get:function(){return this.nodeName},set:function(e){this.nodeName=e},configurable:!0}),Object.defineProperty(V.prototype,"props",{get:function(){return this.attributes},set:function(e){this.attributes=e},configurable:!0});var $=z.options.event;z.options.event=function(e){return $&&(e=$(e)),e.persist=Object,e.nativeEvent=e,e};var X=z.options.vnode;z.options.vnode=function(e){if(!e.preactCompatUpgraded){e.preactCompatUpgraded=!0;var t=e.nodeName,n=e.attributes=T({},e.attributes);"function"==typeof t?(!0===t[K]||t.prototype&&"isReactComponent"in t.prototype)&&(e.children&&e.children+""==""&&(e.children=void 0),e.children&&(n.children=e.children),e.preactCompatNormalized||m(e),r(e)):(e.children&&e.children+""==""&&(e.children=void 0),e.children&&(n.children=e.children),n.defaultValue&&(n.value||0===n.value||(n.value=n.defaultValue),delete n.defaultValue),i(e,n))}X&&X(e)};var Z=function(){};Z.prototype.getChildContext=function(){return this.props.context},Z.prototype.render=function(e){return e.children[0]};for(var J,Q=[],ee={map:function(e,t,n){return null==e?null:(e=ee.toArray(e),n&&n!==e&&(t=t.bind(n)),e.map(t))},forEach:function(e,t,n){if(null==e)return null;e=ee.toArray(e),n&&n!==e&&(t=t.bind(n)),e.forEach(t)},count:function(e){return e&&e.length||0},only:function(e){if(e=ee.toArray(e),1!==e.length)throw Error("Children.only() expects only one child.");return e[0]},toArray:function(e){return null==e?[]:Q.concat(e)}},te={},ne=U.length;ne--;)te[U[ne]]=c(U[ne]);var oe={configurable:!0,get:function(){return this.class},set:function(e){this.class=e}};T(j.prototype=new z.Component,{constructor:j,isReactComponent:{},replaceState:function(e,t){var n=this;this.setState(e,t);for(var o in n.state)o in e||delete n.state[o]},getDOMNode:function(){return this.base},isMounted:function(){return!!this.base}}),C.prototype=j.prototype,R.prototype=new C,R.prototype.isPureReactComponent=!0,R.prototype.shouldComponentUpdate=function(e,t){return w(this.props,e)||w(this.state,t)},t.default={version:B,DOM:te,PropTypes:F.a,Children:ee,render:a,createClass:S,createFactory:c,createElement:h,cloneElement:g,isValidElement:y,findDOMNode:O,unmountComponentAtNode:u,Component:j,PureComponent:R,unstable_renderSubtreeIntoContainer:s,__spread:T}}.call(t,n(15))},function(e,t,n){"use strict";t.__esModule=!0,t.normalizeConfig=t.preparePickupLocationsRequest=t.isPickupConfigChanged=t.getDeliveryConfig=t.isDeliveryConfigChanged=t.getDefaultTab=void 0;var o=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=n(1),i=n(9),a=(t.getDefaultTab=function(e){return e.availableTabs&&e.availableTabs.length?e.availableTabs[0]:r.DEFAULT_CONFIG.defaultTab},t.isDeliveryConfigChanged=function(e,t){return e.consigneeCountryCode!==t.consigneeCountryCode||e.consignorCountryCode!==t.consignorCountryCode||e.consigneePostalCode!==t.consigneePostalCode||e.consignorPostalCode!==t.consignorPostalCode||e.numberOfProcessingDays!==t.numberOfProcessingDays||e.tags!==t.tags||JSON.stringify(e.deliveryDateOptions)!==JSON.stringify(t.deliveryDateOptions)||e.shippingOptionsLimit!==t.shippingOptionsLimit||e.language!==t.language||e.currency!==t.currency||JSON.stringify(e.shipmentParameters)!==JSON.stringify(t.shipmentParameters)},t.getDeliveryConfig=function(e){var t=a(o({},e)),n=t.apiKey,r=t.token,s=t.consigneeCountryCode,u=t.consignorCountryCode,c=t.consigneePostalCode,l=t.consignorPostalCode,p=t.numberOfProcessingDays,f=t.tags,d=t.deliveryDateOptions,h=t.shipmentParameters,m=t.language,g=t.currency,y=t.shippingOptionsLimit,v=t.sortingModel;return{apiKey:n,token:r,consigneeCountryCode:s,consignorCountryCode:u,consigneePostalCode:c,consignorPostalCode:l,numberOfProcessingDays:p,tags:f,deliveryDateOptions:d,shipmentParameters:h,locale:(0,i.resolveLocale)(m),limit:y,start:0,currency:g,sortingModel:v}},t.isPickupConfigChanged=function(e,t){return e.consigneeCountryCode!==t.consigneeCountryCode||e.consignorCountryCode!==t.consignorCountryCode||e.consigneePostalCode!==t.consigneePostalCode||e.consignorPostalCode!==t.consignorPostalCode||e.tags!==t.tags||JSON.stringify(e.deliveryDateOptions)!==JSON.stringify(t.deliveryDateOptions)||e.pickupLocationsLimit!==t.pickupLocationsLimit||e.pickupLocationsPageLimit!==t.pickupLocationsPageLimit||e.initialPickupLocations!==t.initialPickupLocations||e.language!==t.language||e.currency!==t.currency||JSON.stringify(e.shipmentParameters)!==JSON.stringify(t.shipmentParameters)},t.preparePickupLocationsRequest=function(e,t){var n=a(o({},e)),r=n.apiKey,s=n.token,c=n.consigneeCountryCode,l=n.consignorCountryCode,p=n.consigneePostalCode,f=n.consignorPostalCode,d=n.tags,h=n.shipmentParameters,m=n.language,g=n.pickupLocationsLimit;return{apiKey:r,token:s,network:u(e,t),consigneeCountryCode:c,consignorCountryCode:l,consigneePostalCode:p,consignorPostalCode:f,tags:d,shipmentParameters:h,locale:(0,i.resolveLocale)(m),limit:g}},t.normalizeConfig=function(e){var t=o({},r.DEFAULT_CONFIG,e);return(isNaN(t.shippingOptionsLimit)||1>t.shippingOptionsLimit||t.shippingOptionsLimit>99)&&(s("shippingOptionsLimit"),t.shippingOptionsLimit=r.DEFAULT_CONFIG.shippingOptionsLimit),(isNaN(t.pickupLocationsLimit)||1>t.pickupLocationsLimit||t.pickupLocationsLimit>99)&&(s("pickupLocationsLimit"),t.pickupLocationsLimit=r.DEFAULT_CONFIG.pickupLocationsLimit),(isNaN(t.pickupLocationsPageLimit)||1>t.pickupLocationsPageLimit||t.pickupLocationsPageLimit>99)&&(s("pickupLocationsPageLimit"),t.pickupLocationsPageLimit=r.DEFAULT_CONFIG.pickupLocationsPageLimit),(isNaN(t.initialPickupLocations)||1>t.initialPickupLocations||t.initialPickupLocations>99)&&(s("initialPickupLocations"),t.pickupLocationsPageLimit=r.DEFAULT_CONFIG.initialPickupLocations),t}),s=function(e){console.error('Invalid parameter "'+e+'" set to default value')},u=function(e,t){return e.availableTabs.includes(r.TABS.STORE)?t?r.NETWORK.STORE:r.NETWORK.CARRIER:r.NETWORK.ALL}},function(e,t){var n,o;!function(t,n){"use strict";"object"==typeof e&&"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,function(r,i){"use strict";function a(e,t,n){t=t||le;var o,r=t.createElement("script");if(r.text=e,n)for(o in Ce)n[o]&&(r[o]=n[o]);t.head.appendChild(r).parentNode.removeChild(r)}function s(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?ge[ye.call(e)]||"object":typeof e}function u(e){var t=!!e&&"length"in e&&e.length,n=s(e);return!we(e)&&!Oe(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function c(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function l(e,t,n){return we(t)?Se.grep(e,function(e,o){return!!t.call(e,o,e)!==n}):t.nodeType?Se.grep(e,function(e){return e===t!==n}):"string"!=typeof t?Se.grep(e,function(e){return me.call(t,e)>-1!==n}):Se.filter(t,e,n)}function p(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function f(e){var t={};return Se.each(e.match(Re)||[],function(e,n){t[n]=!0}),t}function d(e){return e}function h(e){throw e}function m(e,t,n,o){var r;try{e&&we(r=e.promise)?r.call(e).done(t).fail(n):e&&we(r=e.then)?r.call(e,t,n):t.apply(void 0,[e].slice(o))}catch(e){n.apply(void 0,[e])}}function g(){le.removeEventListener("DOMContentLoaded",g),r.removeEventListener("load",g),Se.ready()}function y(e,t){return t.toUpperCase()}function v(e){return e.replace(Be,"ms-").replace(Ue,y)}function b(){this.expando=Se.expando+b.uid++}function _(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:qe.test(e)?JSON.parse(e):e)}function T(e,t,n){var o;if(void 0===n&&1===e.nodeType)if(o="data-"+t.replace(Ye,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(o))){try{n=_(n)}catch(e){}We.set(e,t,n)}else n=void 0;return n}function w(e,t,n,o){var r,i,a=20,s=o?function(){return o.cur()}:function(){return Se.css(e,t,"")},u=s(),c=n&&n[3]||(Se.cssNumber[t]?"":"px"),l=(Se.cssNumber[t]||"px"!==c&&+u)&&Ve.exec(Se.css(e,t));if(l&&l[3]!==c){for(u/=2,c=c||l[3],l=+u||1;a--;)Se.style(e,t,l+c),(1-i)*(1-(i=s()/u||.5))>0||(a=0),l/=i;l*=2,Se.style(e,t,l+c),n=n||[]}return n&&(l=+l||+u||0,r=n[1]?l+(n[1]+1)*n[2]:+n[2],o&&(o.unit=c,o.start=l,o.end=r)),r}function O(e){var t,n=e.ownerDocument,o=e.nodeName,r=Je[o];return r||(t=n.body.appendChild(n.createElement(o)),r=Se.css(t,"display"),t.parentNode.removeChild(t),"none"===r&&(r="block"),Je[o]=r,r)}function C(e,t){for(var n,o,r=[],i=0,a=e.length;a>i;i++)o=e[i],o.style&&(n=o.style.display,t?("none"===n&&((r[i]=Ke.get(o,"display")||null)||(o.style.display="")),""===o.style.display&&Xe(o)&&(r[i]=O(o))):"none"!==n&&(r[i]="none",Ke.set(o,"display",n)));for(i=0;a>i;i++)null!=r[i]&&(e[i].style.display=r[i]);return e}function S(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&c(e,t)?Se.merge([e],n):n}function E(e,t){for(var n=0,o=e.length;o>n;n++)Ke.set(e[n],"globalEval",!t||Ke.get(t[n],"globalEval"))}function D(e,t,n,o,r){for(var i,a,u,c,l,p,f=t.createDocumentFragment(),d=[],h=0,m=e.length;m>h;h++)if((i=e[h])||0===i)if("object"===s(i))Se.merge(d,i.nodeType?[i]:i);else if(ot.test(i)){for(a=a||f.appendChild(t.createElement("div")),u=(et.exec(i)||["",""])[1].toLowerCase(),c=nt[u]||nt._default,a.innerHTML=c[1]+Se.htmlPrefilter(i)+c[2],p=c[0];p--;)a=a.lastChild;Se.merge(d,a.childNodes),a=f.firstChild,a.textContent=""}else d.push(t.createTextNode(i));for(f.textContent="",h=0;i=d[h++];)if(o&&-1n;n++)Se.event.add(t,r,c[r][n])}We.hasData(e)&&(s=We.access(e),u=Se.extend({},s),We.set(t,u))}}function R(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Qe.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function I(e,t,n,o){t=de.apply([],t);var r,i,s,u,c,l,p=0,f=e.length,d=f-1,h=t[0],m=we(h);if(m||f>1&&"string"==typeof h&&!Te.checkClone&<.test(h))return e.each(function(r){var i=e.eq(r);m&&(t[0]=h.call(this,r,i.html())),I(i,t,n,o)});if(f&&(r=D(t,e[0].ownerDocument,!1,e,o),i=r.firstChild,1===r.childNodes.length&&(r=i),i||o)){for(s=Se.map(S(r,"script"),L),u=s.length;f>p;p++)c=r,p!==d&&(c=Se.clone(c,!0,!0),u&&Se.merge(s,S(c,"script"))),n.call(e[p],c,p);if(u)for(l=s[s.length-1].ownerDocument,Se.map(s,N),p=0;u>p;p++)c=s[p],tt.test(c.type||"")&&!Ke.access(c,"globalEval")&&Se.contains(l,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?Se._evalUrl&&Se._evalUrl(c.src):a(c.textContent.replace(pt,""),l,c))}return e}function F(e,t,n){for(var o,r=t?Se.filter(t,e):e,i=0;null!=(o=r[i]);i++)n||1!==o.nodeType||Se.cleanData(S(o)),o.parentNode&&(n&&Se.contains(o.ownerDocument,o)&&E(S(o,"script")),o.parentNode.removeChild(o));return e}function z(e,t,n){var o,r,i,a,s=e.style;return n=n||dt(e),n&&(a=n.getPropertyValue(t)||n[t],""!==a||Se.contains(e.ownerDocument,e)||(a=Se.style(e,t)),!Te.pixelBoxStyles()&&ft.test(a)&&ht.test(t)&&(o=s.width,r=s.minWidth,i=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=o,s.minWidth=r,s.maxWidth=i)),void 0!==a?a+"":a}function B(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function U(e){if(e in _t)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=bt.length;n--;)if((e=bt[n]+t)in _t)return e}function H(e){var t=Se.cssProps[e];return t||(t=Se.cssProps[e]=U(e)||e),t}function K(e,t,n){var o=Ve.exec(t);return o?Math.max(0,o[2]-(n||0))+(o[3]||"px"):t}function W(e,t,n,o,r,i){var a="width"===t?1:0,s=0,u=0;if(n===(o?"border":"content"))return 0;for(;4>a;a+=2)"margin"===n&&(u+=Se.css(e,n+$e[a],!0,r)),o?("content"===n&&(u-=Se.css(e,"padding"+$e[a],!0,r)),"margin"!==n&&(u-=Se.css(e,"border"+$e[a]+"Width",!0,r))):(u+=Se.css(e,"padding"+$e[a],!0,r),"padding"!==n?u+=Se.css(e,"border"+$e[a]+"Width",!0,r):s+=Se.css(e,"border"+$e[a]+"Width",!0,r));return o||0>i||(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-u-s-.5))),u}function q(e,t,n){var o=dt(e),r=z(e,t,o),i="border-box"===Se.css(e,"boxSizing",!1,o),a=i;if(ft.test(r)){if(!n)return r;r="auto"}return a=a&&(Te.boxSizingReliable()||r===e.style[t]),("auto"===r||!parseFloat(r)&&"inline"===Se.css(e,"display",!1,o))&&(r=e["offset"+t[0].toUpperCase()+t.slice(1)],a=!0),(r=parseFloat(r)||0)+W(e,t,n||(i?"border":"content"),a,o,r)+"px"}function Y(e,t,n,o,r){return new Y.prototype.init(e,t,n,o,r)}function G(){wt&&(!1===le.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(G):r.setTimeout(G,Se.fx.interval),Se.fx.tick())}function V(){return r.setTimeout(function(){Tt=void 0}),Tt=Date.now()}function $(e,t){var n,o=0,r={height:e};for(t=t?1:0;4>o;o+=2-t)n=$e[o],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function X(e,t,n){for(var o,r=(Q.tweeners[t]||[]).concat(Q.tweeners["*"]),i=0,a=r.length;a>i;i++)if(o=r[i].call(n,t,e))return o}function Z(e,t,n){var o,r,i,a,s,u,c,l,p="width"in t||"height"in t,f=this,d={},h=e.style,m=e.nodeType&&Xe(e),g=Ke.get(e,"fxshow");n.queue||(a=Se._queueHooks(e,"fx"),null==a.unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,f.always(function(){f.always(function(){a.unqueued--,Se.queue(e,"fx").length||a.empty.fire()})}));for(o in t)if(r=t[o],Ot.test(r)){if(delete t[o],i=i||"toggle"===r,r===(m?"hide":"show")){if("show"!==r||!g||void 0===g[o])continue;m=!0}d[o]=g&&g[o]||Se.style(e,o)}if((u=!Se.isEmptyObject(t))||!Se.isEmptyObject(d)){p&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],c=g&&g.display,null==c&&(c=Ke.get(e,"display")),l=Se.css(e,"display"),"none"===l&&(c?l=c:(C([e],!0),c=e.style.display||c,l=Se.css(e,"display"),C([e]))),("inline"===l||"inline-block"===l&&null!=c)&&"none"===Se.css(e,"float")&&(u||(f.done(function(){h.display=c}),null==c&&(l=h.display,c="none"===l?"":l)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",f.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1;for(o in d)u||(g?"hidden"in g&&(m=g.hidden):g=Ke.access(e,"fxshow",{display:c}),i&&(g.hidden=!m),m&&C([e],!0),f.done(function(){m||C([e]),Ke.remove(e,"fxshow");for(o in d)Se.style(e,o,d[o])})),u=X(m?g[o]:0,o,f),o in g||(g[o]=u.start,m&&(u.end=u.start,u.start=0))}}function J(e,t){var n,o,r,i,a;for(n in e)if(o=v(n),r=t[o],i=e[n],Array.isArray(i)&&(r=i[1],i=e[n]=i[0]),n!==o&&(e[o]=i,delete e[n]),(a=Se.cssHooks[o])&&"expand"in a){i=a.expand(i),delete e[o];for(n in i)n in e||(e[n]=i[n],t[n]=r)}else t[o]=r}function Q(e,t,n){var o,r,i=0,a=Q.prefilters.length,s=Se.Deferred().always(function(){delete u.elem}),u=function(){if(r)return!1;for(var t=Tt||V(),n=Math.max(0,c.startTime+c.duration-t),o=n/c.duration||0,i=1-o,a=0,u=c.tweens.length;u>a;a++)c.tweens[a].run(i);return s.notifyWith(e,[c,i,n]),1>i&&u?n:(u||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:Se.extend({},t),opts:Se.extend(!0,{specialEasing:{},easing:Se.easing._default},n),originalProperties:t,originalOptions:n,startTime:Tt||V(),duration:n.duration,tweens:[],createTween:function(t,n){var o=Se.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(o),o},stop:function(t){var n=0,o=t?c.tweens.length:0;if(r)return this;for(r=!0;o>n;n++)c.tweens[n].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),l=c.props;for(J(l,c.opts.specialEasing);a>i;i++)if(o=Q.prefilters[i].call(c,e,l,c.opts))return we(o.stop)&&(Se._queueHooks(c.elem,c.opts.queue).stop=o.stop.bind(o)),o;return Se.map(l,X,c),we(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),Se.fx.timer(Se.extend(u,{elem:e,anim:c,queue:c.opts.queue})),c}function ee(e){return(e.match(Re)||[]).join(" ")}function te(e){return e.getAttribute&&e.getAttribute("class")||""}function ne(e){return Array.isArray(e)?e:"string"==typeof e?e.match(Re)||[]:[]}function oe(e,t,n,o){var r;if(Array.isArray(t))Se.each(t,function(t,r){n||jt.test(e)?o(e,r):oe(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,n,o)});else if(n||"object"!==s(t))o(e,t);else for(r in t)oe(e+"["+r+"]",t[r],n,o)}function re(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var o,r=0,i=t.toLowerCase().match(Re)||[];if(we(n))for(;o=i[r++];)"+"===o[0]?(o=o.slice(1)||"*",(e[o]=e[o]||[]).unshift(n)):(e[o]=e[o]||[]).push(n)}}function ie(e,t,n,o){function r(s){var u;return i[s]=!0,Se.each(e[s]||[],function(e,s){var c=s(t,n,o);return"string"!=typeof c||a||i[c]?a?!(u=c):void 0:(t.dataTypes.unshift(c),r(c),!1)}),u}var i={},a=e===Gt;return r(t.dataTypes[0])||!i["*"]&&r("*")}function ae(e,t){var n,o,r=Se.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((r[n]?e:o||(o={}))[n]=t[n]);return o&&Se.extend(!0,e,o),e}function se(e,t,n){for(var o,r,i,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===o&&(o=e.mimeType||t.getResponseHeader("Content-Type"));if(o)for(r in s)if(s[r]&&s[r].test(o)){u.unshift(r);break}if(u[0]in n)i=u[0];else{for(r in n){if(!u[0]||e.converters[r+" "+u[0]]){i=r;break}a||(a=r)}i=i||a}if(i)return i!==u[0]&&u.unshift(i),n[i]}function ue(e,t,n,o){var r,i,a,s,u,c={},l=e.dataTypes.slice();if(l[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(i=l.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!u&&o&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=i,i=l.shift())if("*"===i)i=u;else if("*"!==u&&u!==i){if(!(a=c[u+" "+i]||c["* "+i]))for(r in c)if(s=r.split(" "),s[1]===i&&(a=c[u+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[r]:!0!==c[r]&&(i=s[0],l.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+i}}}return{state:"success",data:t}}var ce=[],le=r.document,pe=Object.getPrototypeOf,fe=ce.slice,de=ce.concat,he=ce.push,me=ce.indexOf,ge={},ye=ge.toString,ve=ge.hasOwnProperty,be=ve.toString,_e=be.call(Object),Te={},we=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},Oe=function(e){return null!=e&&e===e.window},Ce={type:!0,src:!0,noModule:!0},Se=function(e,t){return new Se.fn.init(e,t)},Ee=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;Se.fn=Se.prototype={jquery:"3.3.1",constructor:Se,length:0,toArray:function(){return fe.call(this)},get:function(e){return null==e?fe.call(this):0>e?this[e+this.length]:this[e]},pushStack:function(e){var t=Se.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return Se.each(this,e)},map:function(e){return this.pushStack(Se.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(fe.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:he,sort:ce.sort,splice:ce.splice},Se.extend=Se.fn.extend=function(){var e,t,n,o,r,i,a=arguments[0]||{},s=1,u=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||we(a)||(a={}),s===u&&(a=this,s--);u>s;s++)if(null!=(e=arguments[s]))for(t in e)n=a[t],o=e[t],a!==o&&(c&&o&&(Se.isPlainObject(o)||(r=Array.isArray(o)))?(r?(r=!1,i=n&&Array.isArray(n)?n:[]):i=n&&Se.isPlainObject(n)?n:{},a[t]=Se.extend(c,i,o)):void 0!==o&&(a[t]=o));return a},Se.extend({expando:"jQuery"+("3.3.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==ye.call(e))&&(!(t=pe(e))||"function"==typeof(n=ve.call(t,"constructor")&&t.constructor)&&be.call(n)===_e)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e){a(e)},each:function(e,t){var n,o=0;if(u(e))for(n=e.length;n>o&&!1!==t.call(e[o],o,e[o]);o++);else for(o in e)if(!1===t.call(e[o],o,e[o]))break;return e},trim:function(e){return null==e?"":(e+"").replace(Ee,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(u(Object(e))?Se.merge(n,"string"==typeof e?[e]:e):he.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:me.call(t,e,n)},merge:function(e,t){for(var n=+t.length,o=0,r=e.length;n>o;o++)e[r++]=t[o];return e.length=r,e},grep:function(e,t,n){for(var o=[],r=0,i=e.length,a=!n;i>r;r++)!t(e[r],r)!==a&&o.push(e[r]);return o},map:function(e,t,n){var o,r,i=0,a=[];if(u(e))for(o=e.length;o>i;i++)null!=(r=t(e[i],i,n))&&a.push(r);else for(i in e)null!=(r=t(e[i],i,n))&&a.push(r);return de.apply([],a)},guid:1,support:Te}),"function"==typeof Symbol&&(Se.fn[Symbol.iterator]=ce[Symbol.iterator]),Se.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){ge["[object "+t+"]"]=t.toLowerCase()});var De=function(e){function t(e,t,n,o){var r,i,a,s,u,l,f,d=t&&t.ownerDocument,h=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==h&&9!==h&&11!==h)return n;if(!o&&((t?t.ownerDocument||t:z)!==k&&P(t),t=t||k,L)){if(11!==h&&(u=me.exec(e)))if(r=u[1]){if(9===h){if(!(a=t.getElementById(r)))return n;if(a.id===r)return n.push(a),n}else if(d&&(a=d.getElementById(r))&&I(t,a)&&a.id===r)return n.push(a),n}else{if(u[2])return X.apply(n,t.getElementsByTagName(e)),n;if((r=u[3])&&_.getElementsByClassName&&t.getElementsByClassName)return X.apply(n,t.getElementsByClassName(r)),n}if(_.qsa&&!W[e+" "]&&(!N||!N.test(e))){if(1!==h)d=t,f=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(be,_e):t.setAttribute("id",s=F),l=C(e),i=l.length;i--;)l[i]="#"+s+" "+p(l[i]);f=l.join(","),d=ge.test(e)&&c(t.parentNode)||t}if(f)try{return X.apply(n,d.querySelectorAll(f)),n}catch(e){}finally{s===F&&t.removeAttribute("id")}}}return E(e.replace(ie,"$1"),t,n,o)}function n(){function e(n,o){return t.push(n+" ")>T.cacheLength&&delete e[t.shift()],e[n+" "]=o}var t=[];return e}function o(e){return e[F]=!0,e}function r(e){var t=k.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function i(e,t){for(var n=e.split("|"),o=n.length;o--;)T.attrHandle[n[o]]=t}function a(e,t){var n=t&&e,o=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(o)return o;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(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&&we(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function u(e){return o(function(t){return t=+t,o(function(n,o){for(var r,i=e([],n.length,t),a=i.length;a--;)n[r=i[a]]&&(n[r]=!(o[r]=n[r]))})})}function c(e){return e&&void 0!==e.getElementsByTagName&&e}function l(){}function p(e){for(var t=0,n=e.length,o="";n>t;t++)o+=e[t].value;return o}function f(e,t,n){var o=t.dir,r=t.next,i=r||o,a=n&&"parentNode"===i,s=U++;return t.first?function(t,n,r){for(;t=t[o];)if(1===t.nodeType||a)return e(t,n,r);return!1}:function(t,n,u){var c,l,p,f=[B,s];if(u){for(;t=t[o];)if((1===t.nodeType||a)&&e(t,n,u))return!0}else for(;t=t[o];)if(1===t.nodeType||a)if(p=t[F]||(t[F]={}),l=p[t.uniqueID]||(p[t.uniqueID]={}),r&&r===t.nodeName.toLowerCase())t=t[o]||t;else{if((c=l[i])&&c[0]===B&&c[1]===s)return f[2]=c[2];if(l[i]=f,f[2]=e(t,n,u))return!0}return!1}}function d(e){return e.length>1?function(t,n,o){for(var r=e.length;r--;)if(!e[r](t,n,o))return!1;return!0}:e[0]}function h(e,n,o){for(var r=0,i=n.length;i>r;r++)t(e,n[r],o);return o}function m(e,t,n,o,r){for(var i,a=[],s=0,u=e.length,c=null!=t;u>s;s++)(i=e[s])&&(n&&!n(i,o,r)||(a.push(i),c&&t.push(s)));return a}function g(e,t,n,r,i,a){return r&&!r[F]&&(r=g(r)),i&&!i[F]&&(i=g(i,a)),o(function(o,a,s,u){var c,l,p,f=[],d=[],g=a.length,y=o||h(t||"*",s.nodeType?[s]:s,[]),v=!e||!o&&t?y:m(y,f,e,s,u),b=n?i||(o?e:g||r)?[]:a:v;if(n&&n(v,b,s,u),r)for(c=m(b,d),r(c,[],s,u),l=c.length;l--;)(p=c[l])&&(b[d[l]]=!(v[d[l]]=p));if(o){if(i||e){if(i){for(c=[],l=b.length;l--;)(p=b[l])&&c.push(v[l]=p);i(null,b=[],c,u)}for(l=b.length;l--;)(p=b[l])&&(c=i?J(o,p):f[l])>-1&&(o[c]=!(a[c]=p))}}else b=m(b===a?b.splice(g,b.length):b),i?i(null,a,b,u):X.apply(a,b)})}function y(e){for(var t,n,o,r=e.length,i=T.relative[e[0].type],a=i||T.relative[" "],s=i?1:0,u=f(function(e){return e===t},a,!0),c=f(function(e){return J(t,e)>-1},a,!0),l=[function(e,n,o){var r=!i&&(o||n!==D)||((t=n).nodeType?u(e,n,o):c(e,n,o));return t=null,r}];r>s;s++)if(n=T.relative[e[s].type])l=[f(d(l),n)];else{if(n=T.filter[e[s].type].apply(null,e[s].matches),n[F]){for(o=++s;r>o&&!T.relative[e[o].type];o++);return g(s>1&&d(l),s>1&&p(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(ie,"$1"),n,o>s&&y(e.slice(s,o)),r>o&&y(e=e.slice(o)),r>o&&p(e))}l.push(n)}return d(l)}function v(e,n){var r=n.length>0,i=e.length>0,a=function(o,a,s,u,c){var l,p,f,d=0,h="0",g=o&&[],y=[],v=D,b=o||i&&T.find.TAG("*",c),_=B+=null==v?1:Math.random()||.1,w=b.length;for(c&&(D=a===k||a||c);h!==w&&null!=(l=b[h]);h++){if(i&&l){for(p=0,a||l.ownerDocument===k||(P(l),s=!L);f=e[p++];)if(f(l,a||k,s)){u.push(l);break}c&&(B=_)}r&&((l=!f&&l)&&d--,o&&g.push(l))}if(d+=h,r&&h!==d){for(p=0;f=n[p++];)f(g,y,a,s);if(o){if(d>0)for(;h--;)g[h]||y[h]||(y[h]=V.call(u));y=m(y)}X.apply(u,y),c&&!o&&y.length>0&&d+n.length>1&&t.uniqueSort(u)}return c&&(B=_,D=v),g};return r?o(a):a}var b,_,T,w,O,C,S,E,D,M,x,P,k,A,L,N,j,R,I,F="sizzle"+1*new Date,z=e.document,B=0,U=0,H=n(),K=n(),W=n(),q=function(e,t){return e===t&&(x=!0),0},Y={}.hasOwnProperty,G=[],V=G.pop,$=G.push,X=G.push,Z=G.slice,J=function(e,t){for(var n=0,o=e.length;o>n;n++)if(e[n]===t)return n;return-1},Q="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ee="[\\x20\\t\\r\\n\\f]",te="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",ne="\\["+ee+"*("+te+")(?:"+ee+"*([*^$|!~]?=)"+ee+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+te+"))|)"+ee+"*\\]",oe=":("+te+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ne+")*)|.*)\\)|)",re=RegExp(ee+"+","g"),ie=RegExp("^"+ee+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ee+"+$","g"),ae=RegExp("^"+ee+"*,"+ee+"*"),se=RegExp("^"+ee+"*([>+~]|"+ee+")"+ee+"*"),ue=RegExp("="+ee+"*([^\\]'\"]*?)"+ee+"*\\]","g"),ce=RegExp(oe),le=RegExp("^"+te+"$"),pe={ID:RegExp("^#("+te+")"),CLASS:RegExp("^\\.("+te+")"),TAG:RegExp("^("+te+"|[*])"),ATTR:RegExp("^"+ne),PSEUDO:RegExp("^"+oe),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ee+"*(even|odd|(([+-]|)(\\d*)n|)"+ee+"*(?:([+-]|)"+ee+"*(\\d+)|))"+ee+"*\\)|)","i"),bool:RegExp("^(?:"+Q+")$","i"),needsContext:RegExp("^"+ee+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ee+"*((?:-\\d)?\\d*)"+ee+"*\\)|)(?=[^-]|$)","i")},fe=/^(?:input|select|textarea|button)$/i,de=/^h\d$/i,he=/^[^{]+\{\s*\[native \w/,me=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ge=/[+~]/,ye=RegExp("\\\\([\\da-f]{1,6}"+ee+"?|("+ee+")|.)","ig"),ve=function(e,t,n){var o="0x"+t-65536;return o!==o||n?t:0>o?String.fromCharCode(o+65536):String.fromCharCode(o>>10|55296,1023&o|56320)},be=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,_e=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},Te=function(){P()},we=f(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{X.apply(G=Z.call(z.childNodes),z.childNodes)}catch(e){X={apply:G.length?function(e,t){$.apply(e,Z.call(t))}:function(e,t){for(var n=e.length,o=0;e[n++]=t[o++];);e.length=n-1}}}_=t.support={},O=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},P=t.setDocument=function(e){var t,n,o=e?e.ownerDocument||e:z;return o!==k&&9===o.nodeType&&o.documentElement?(k=o,A=k.documentElement,L=!O(k),z!==k&&(n=k.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Te,!1):n.attachEvent&&n.attachEvent("onunload",Te)),_.attributes=r(function(e){return e.className="i",!e.getAttribute("className")}),_.getElementsByTagName=r(function(e){return e.appendChild(k.createComment("")),!e.getElementsByTagName("*").length}),_.getElementsByClassName=he.test(k.getElementsByClassName),_.getById=r(function(e){return A.appendChild(e).id=F,!k.getElementsByName||!k.getElementsByName(F).length}),_.getById?(T.filter.ID=function(e){var t=e.replace(ye,ve);return function(e){return e.getAttribute("id")===t}},T.find.ID=function(e,t){if(void 0!==t.getElementById&&L){var n=t.getElementById(e);return n?[n]:[]}}):(T.filter.ID=function(e){var t=e.replace(ye,ve);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},T.find.ID=function(e,t){if(void 0!==t.getElementById&&L){var n,o,r,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(r=t.getElementsByName(e),o=0;i=r[o++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),T.find.TAG=_.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):_.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,o=[],r=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[r++];)1===n.nodeType&&o.push(n);return o}return i},T.find.CLASS=_.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&L)return t.getElementsByClassName(e)},j=[],N=[],(_.qsa=he.test(k.querySelectorAll))&&(r(function(e){A.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&N.push("[*^$]="+ee+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||N.push("\\["+ee+"*(?:value|"+Q+")"),e.querySelectorAll("[id~="+F+"-]").length||N.push("~="),e.querySelectorAll(":checked").length||N.push(":checked"),e.querySelectorAll("a#"+F+"+*").length||N.push(".#.+[+~]")}),r(function(e){e.innerHTML="";var t=k.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&N.push("name"+ee+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&N.push(":enabled",":disabled"),A.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&N.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),N.push(",.*:")})),(_.matchesSelector=he.test(R=A.matches||A.webkitMatchesSelector||A.mozMatchesSelector||A.oMatchesSelector||A.msMatchesSelector))&&r(function(e){_.disconnectedMatch=R.call(e,"*"),R.call(e,"[s!='']:x"),j.push("!=",oe)}),N=N.length&&RegExp(N.join("|")),j=j.length&&RegExp(j.join("|")),t=he.test(A.compareDocumentPosition),I=t||he.test(A.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,o=t&&t.parentNode;return e===o||!(!o||1!==o.nodeType||!(n.contains?n.contains(o):e.compareDocumentPosition&&16&e.compareDocumentPosition(o)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},q=t?function(e,t){if(e===t)return x=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!_.sortDetached&&t.compareDocumentPosition(e)===n?e===k||e.ownerDocument===z&&I(z,e)?-1:t===k||t.ownerDocument===z&&I(z,t)?1:M?J(M,e)-J(M,t):0:4&n?-1:1)}:function(e,t){if(e===t)return x=!0,0;var n,o=0,r=e.parentNode,i=t.parentNode,s=[e],u=[t];if(!r||!i)return e===k?-1:t===k?1:r?-1:i?1:M?J(M,e)-J(M,t):0;if(r===i)return a(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)u.unshift(n);for(;s[o]===u[o];)o++;return o?a(s[o],u[o]):s[o]===z?-1:u[o]===z?1:0},k):k},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==k&&P(e),n=n.replace(ue,"='$1']"),_.matchesSelector&&L&&!W[n+" "]&&(!j||!j.test(n))&&(!N||!N.test(n)))try{var o=R.call(e,n);if(o||_.disconnectedMatch||e.document&&11!==e.document.nodeType)return o}catch(e){}return t(n,k,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==k&&P(e),I(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==k&&P(e);var n=T.attrHandle[t.toLowerCase()],o=n&&Y.call(T.attrHandle,t.toLowerCase())?n(e,t,!L):void 0;return void 0!==o?o:_.attributes||!L?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},t.escape=function(e){return(e+"").replace(be,_e)},t.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],o=0,r=0;if(x=!_.detectDuplicates,M=!_.sortStable&&e.slice(0),e.sort(q),x){for(;t=e[r++];)t===e[r]&&(o=n.push(r));for(;o--;)e.splice(n[o],1)}return M=null,e},w=t.getText=function(e){var t,n="",o=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=w(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[o++];)n+=w(t);return n},T=t.selectors={cacheLength:50,createPseudo:o,match:pe,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(ye,ve),e[3]=(e[3]||e[4]||e[5]||"").replace(ye,ve),"~="===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]||t.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]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return pe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&ce.test(n)&&(t=C(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(ye,ve).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=H[e+" "];return t||(t=RegExp("(^|"+ee+")"+e+"("+ee+"|$)"))&&H(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,o){return function(r){var i=t.attr(r,e);return null==i?"!="===n:!n||(i+="","="===n?i===o:"!="===n?i!==o:"^="===n?o&&0===i.indexOf(o):"*="===n?o&&i.indexOf(o)>-1:"$="===n?o&&i.slice(-o.length)===o:"~="===n?(" "+i.replace(re," ")+" ").indexOf(o)>-1:"|="===n&&(i===o||i.slice(0,o.length+1)===o+"-"))}},CHILD:function(e,t,n,o,r){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===o&&0===r?function(e){return!!e.parentNode}:function(t,n,u){var c,l,p,f,d,h,m=i!==a?"nextSibling":"previousSibling",g=t.parentNode,y=s&&t.nodeName.toLowerCase(),v=!u&&!s,b=!1;if(g){if(i){for(;m;){for(f=t;f=f[m];)if(s?f.nodeName.toLowerCase()===y:1===f.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?g.firstChild:g.lastChild],a&&v){for(f=g,p=f[F]||(f[F]={}),l=p[f.uniqueID]||(p[f.uniqueID]={}),c=l[e]||[],d=c[0]===B&&c[1],b=d&&c[2],f=d&&g.childNodes[d];f=++d&&f&&f[m]||(b=d=0)||h.pop();)if(1===f.nodeType&&++b&&f===t){l[e]=[B,d,b];break}}else if(v&&(f=t,p=f[F]||(f[F]={}),l=p[f.uniqueID]||(p[f.uniqueID]={}),c=l[e]||[],d=c[0]===B&&c[1],b=d),!1===b)for(;(f=++d&&f&&f[m]||(b=d=0)||h.pop())&&((s?f.nodeName.toLowerCase()!==y:1!==f.nodeType)||!++b||(v&&(p=f[F]||(f[F]={}),l=p[f.uniqueID]||(p[f.uniqueID]={}),l[e]=[B,b]),f!==t)););return(b-=r)===o||b%o==0&&b/o>=0}}},PSEUDO:function(e,n){var r,i=T.pseudos[e]||T.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return i[F]?i(n):i.length>1?(r=[e,e,"",n],T.setFilters.hasOwnProperty(e.toLowerCase())?o(function(e,t){for(var o,r=i(e,n),a=r.length;a--;)o=J(e,r[a]),e[o]=!(t[o]=r[a])}):function(e){return i(e,0,r)}):i}},pseudos:{not:o(function(e){var t=[],n=[],r=S(e.replace(ie,"$1"));return r[F]?o(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:o(function(e){return function(n){return t(e,n).length>0}}),contains:o(function(e){return e=e.replace(ye,ve),function(t){return(t.textContent||t.innerText||w(t)).indexOf(e)>-1}}),lang:o(function(e){return le.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(ye,ve).toLowerCase(),function(t){var n;do{if(n=L?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===A},focus:function(e){return e===k.activeElement&&(!k.hasFocus||k.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:s(!1),disabled:s(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(6>e.nodeType)return!1;return!0},parent:function(e){return!T.pseudos.empty(e)},header:function(e){return de.test(e.nodeName)},input:function(e){return fe.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:u(function(){return[0]}),last:u(function(e,t){return[t-1]}),eq:u(function(e,t,n){return[0>n?n+t:n]}),even:u(function(e,t){for(var n=0;t>n;n+=2)e.push(n);return e}),odd:u(function(e,t){for(var n=1;t>n;n+=2)e.push(n);return e}),lt:u(function(e,t,n){for(var o=0>n?n+t:n;--o>=0;)e.push(o);return e}),gt:u(function(e,t,n){for(var o=0>n?n+t:n;++o2&&"ID"===(a=i[0]).type&&9===t.nodeType&&L&&T.relative[i[1].type]){if(!(t=(T.find.ID(a.matches[0].replace(ye,ve),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(i.shift().value.length)}for(r=pe.needsContext.test(e)?0:i.length;r--&&(a=i[r],!T.relative[s=a.type]);)if((u=T.find[s])&&(o=u(a.matches[0].replace(ye,ve),ge.test(i[0].type)&&c(t.parentNode)||t))){if(i.splice(r,1),!(e=o.length&&p(i)))return X.apply(n,o),n;break}}return(l||S(e,f))(o,t,!L,n,!t||ge.test(e)&&c(t.parentNode)||t),n},_.sortStable=F.split("").sort(q).join("")===F,_.detectDuplicates=!!x,P(),_.sortDetached=r(function(e){return 1&e.compareDocumentPosition(k.createElement("fieldset"))}),r(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||i("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),_.attributes&&r(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||i("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),r(function(e){return null==e.getAttribute("disabled")})||i(Q,function(e,t,n){var o;if(!n)return!0===e[t]?t.toLowerCase():(o=e.getAttributeNode(t))&&o.specified?o.value:null}),t}(r);Se.find=De,Se.expr=De.selectors,Se.expr[":"]=Se.expr.pseudos,Se.uniqueSort=Se.unique=De.uniqueSort,Se.text=De.getText,Se.isXMLDoc=De.isXML,Se.contains=De.contains,Se.escapeSelector=De.escape;var Me=function(e,t,n){for(var o=[],r=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&Se(e).is(n))break;o.push(e)}return o},xe=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},Pe=Se.expr.match.needsContext,ke=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;Se.filter=function(e,t,n){var o=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===o.nodeType?Se.find.matchesSelector(o,e)?[o]:[]:Se.find.matches(e,Se.grep(t,function(e){return 1===e.nodeType}))},Se.fn.extend({find:function(e){var t,n,o=this.length,r=this;if("string"!=typeof e)return this.pushStack(Se(e).filter(function(){for(t=0;o>t;t++)if(Se.contains(r[t],this))return!0}));for(n=this.pushStack([]),t=0;o>t;t++)Se.find(e,r[t],n);return o>1?Se.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&&Pe.test(e)?Se(e):e||[],!1).length}});var Ae,Le=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(Se.fn.init=function(e,t,n){var o,r;if(!e)return this;if(n=n||Ae,"string"==typeof e){if(!(o="<"!==e[0]||">"!==e[e.length-1]||3>e.length?Le.exec(e):[null,e,null])||!o[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(o[1]){if(t=t instanceof Se?t[0]:t,Se.merge(this,Se.parseHTML(o[1],t&&t.nodeType?t.ownerDocument||t:le,!0)),ke.test(o[1])&&Se.isPlainObject(t))for(o in t)we(this[o])?this[o](t[o]):this.attr(o,t[o]);return this}return r=le.getElementById(o[2]),r&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):we(e)?void 0!==n.ready?n.ready(e):e(Se):Se.makeArray(e,this)}).prototype=Se.fn,Ae=Se(le);var Ne=/^(?:parents|prev(?:Until|All))/,je={children:!0,contents:!0,next:!0,prev:!0};Se.fn.extend({has:function(e){var t=Se(e,this),n=t.length;return this.filter(function(){for(var e=0;n>e;e++)if(Se.contains(this,t[e]))return!0})},closest:function(e,t){var n,o=0,r=this.length,i=[],a="string"!=typeof e&&Se(e);if(!Pe.test(e))for(;r>o;o++)for(n=this[o];n&&n!==t;n=n.parentNode)if(11>n.nodeType&&(a?a.index(n)>-1:1===n.nodeType&&Se.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?Se.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?me.call(Se(e),this[0]):me.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(Se.uniqueSort(Se.merge(this.get(),Se(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),Se.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Me(e,"parentNode")},parentsUntil:function(e,t,n){return Me(e,"parentNode",n)},next:function(e){return p(e,"nextSibling")},prev:function(e){return p(e,"previousSibling")},nextAll:function(e){return Me(e,"nextSibling")},prevAll:function(e){return Me(e,"previousSibling")},nextUntil:function(e,t,n){return Me(e,"nextSibling",n)},prevUntil:function(e,t,n){return Me(e,"previousSibling",n)},siblings:function(e){return xe((e.parentNode||{}).firstChild,e)},children:function(e){return xe(e.firstChild)},contents:function(e){return c(e,"iframe")?e.contentDocument:(c(e,"template")&&(e=e.content||e),Se.merge([],e.childNodes))}},function(e,t){Se.fn[e]=function(n,o){var r=Se.map(this,t,n);return"Until"!==e.slice(-5)&&(o=n),o&&"string"==typeof o&&(r=Se.filter(o,r)),this.length>1&&(je[e]||Se.uniqueSort(r),Ne.test(e)&&r.reverse()),this.pushStack(r)}});var Re=/[^\x20\t\r\n\f]+/g;Se.Callbacks=function(e){e="string"==typeof e?f(e):Se.extend({},e);var t,n,o,r,i=[],a=[],u=-1,c=function(){for(r=r||e.once,o=t=!0;a.length;u=-1)for(n=a.shift();++u-1;)i.splice(n,1),n>u||u--}),this},has:function(e){return e?Se.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return r=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return r=a=[],n||t||(i=n=""),this},locked:function(){return!!r},fireWith:function(e,n){return r||(n=n||[],n=[e,n.slice?n.slice():n],a.push(n),t||c()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!o}};return l},Se.extend({Deferred:function(e){var t=[["notify","progress",Se.Callbacks("memory"),Se.Callbacks("memory"),2],["resolve","done",Se.Callbacks("once memory"),Se.Callbacks("once memory"),0,"resolved"],["reject","fail",Se.Callbacks("once memory"),Se.Callbacks("once memory"),1,"rejected"]],n="pending",o={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return Se.Deferred(function(n){Se.each(t,function(t,o){var r=we(e[o[4]])&&e[o[4]];i[o[1]](function(){var e=r&&r.apply(this,arguments);e&&we(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[o[0]+"With"](this,r?[e]:arguments)})}),e=null}).promise()},then:function(e,n,o){function i(e,t,n,o){return function(){var s=this,u=arguments,c=function(){var r,c;if(e>=a){if((r=n.apply(s,u))===t.promise())throw new TypeError("Thenable self-resolution");c=r&&("object"==typeof r||"function"==typeof r)&&r.then,we(c)?o?c.call(r,i(a,t,d,o),i(a,t,h,o)):(a++,c.call(r,i(a,t,d,o),i(a,t,h,o),i(a,t,d,t.notifyWith))):(n!==d&&(s=void 0,u=[r]),(o||t.resolveWith)(s,u))}},l=o?c:function(){try{c()}catch(o){Se.Deferred.exceptionHook&&Se.Deferred.exceptionHook(o,l.stackTrace),a>e+1||(n!==h&&(s=void 0,u=[o]),t.rejectWith(s,u))}};e?l():(Se.Deferred.getStackHook&&(l.stackTrace=Se.Deferred.getStackHook()),r.setTimeout(l))}}var a=0;return Se.Deferred(function(r){t[0][3].add(i(0,r,we(o)?o:d,r.notifyWith)),t[1][3].add(i(0,r,we(e)?e:d)),t[2][3].add(i(0,r,we(n)?n:h))}).promise()},promise:function(e){return null!=e?Se.extend(e,o):o}},i={};return Se.each(t,function(e,r){var a=r[2],s=r[5];o[r[1]]=a.add,s&&a.add(function(){n=s},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(r[3].fire),i[r[0]]=function(){return i[r[0]+"With"](this===i?void 0:this,arguments),this},i[r[0]+"With"]=a.fireWith}),o.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,n=t,o=Array(n),r=fe.call(arguments),i=Se.Deferred(),a=function(e){return function(n){o[e]=this,r[e]=arguments.length>1?fe.call(arguments):n,--t||i.resolveWith(o,r)}};if(1>=t&&(m(e,i.done(a(n)).resolve,i.reject,!t),"pending"===i.state()||we(r[n]&&r[n].then)))return i.then();for(;n--;)m(r[n],a(n),i.reject);return i.promise()}});var Ie=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;Se.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&Ie.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},Se.readyException=function(e){r.setTimeout(function(){throw e})};var Fe=Se.Deferred();Se.fn.ready=function(e){return Fe.then(e).catch(function(e){Se.readyException(e)}),this},Se.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--Se.readyWait:Se.isReady)||(Se.isReady=!0,!0!==e&&--Se.readyWait>0||Fe.resolveWith(le,[Se]))}}),Se.ready.then=Fe.then,"complete"===le.readyState||"loading"!==le.readyState&&!le.documentElement.doScroll?r.setTimeout(Se.ready):(le.addEventListener("DOMContentLoaded",g),r.addEventListener("load",g));var ze=function(e,t,n,o,r,i,a){var u=0,c=e.length,l=null==n;if("object"===s(n)){r=!0;for(u in n)ze(e,t,u,n[u],!0,i,a)}else if(void 0!==o&&(r=!0,we(o)||(a=!0),l&&(a?(t.call(e,o),t=null):(l=t,t=function(e,t,n){return l.call(Se(e),n)})),t))for(;c>u;u++)t(e[u],n,a?o:o.call(e[u],u,t(e[u],n)));return r?e:l?t.call(e):c?t(e[0],n):i},Be=/^-ms-/,Ue=/-([a-z])/g,He=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};b.uid=1,b.prototype={cache:function(e){var t=e[this.expando];return t||(t={},He(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var o,r=this.cache(e);if("string"==typeof t)r[v(t)]=n;else for(o in t)r[v(o)]=t[o];return r},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][v(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,o=e[this.expando];if(void 0!==o){if(void 0!==t){Array.isArray(t)?t=t.map(v):(t=v(t),t=t in o?[t]:t.match(Re)||[]),n=t.length;for(;n--;)delete o[t[n]]}(void 0===t||Se.isEmptyObject(o))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!Se.isEmptyObject(t)}};var Ke=new b,We=new b,qe=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ye=/[A-Z]/g;Se.extend({hasData:function(e){return We.hasData(e)||Ke.hasData(e)},data:function(e,t,n){return We.access(e,t,n)},removeData:function(e,t){We.remove(e,t)},_data:function(e,t,n){return Ke.access(e,t,n)},_removeData:function(e,t){Ke.remove(e,t)}}),Se.fn.extend({data:function(e,t){var n,o,r,i=this[0],a=i&&i.attributes;if(void 0===e){if(this.length&&(r=We.get(i),1===i.nodeType&&!Ke.get(i,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&(o=a[n].name,0===o.indexOf("data-")&&(o=v(o.slice(5)),T(i,o,r[o])));Ke.set(i,"hasDataAttrs",!0)}return r}return"object"==typeof e?this.each(function(){We.set(this,e)}):ze(this,function(t){var n;if(i&&void 0===t){if(void 0!==(n=We.get(i,e)))return n;if(void 0!==(n=T(i,e)))return n}else this.each(function(){We.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){We.remove(this,e)})}}),Se.extend({queue:function(e,t,n){var o;if(e)return t=(t||"fx")+"queue",o=Ke.get(e,t),n&&(!o||Array.isArray(n)?o=Ke.access(e,t,Se.makeArray(n)):o.push(n)),o||[]},dequeue:function(e,t){t=t||"fx";var n=Se.queue(e,t),o=n.length,r=n.shift(),i=Se._queueHooks(e,t),a=function(){Se.dequeue(e,t)};"inprogress"===r&&(r=n.shift(),o--),r&&("fx"===t&&n.unshift("inprogress"),delete i.stop,r.call(e,a,i)),!o&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Ke.get(e,n)||Ke.access(e,n,{empty:Se.Callbacks("once memory").add(function(){Ke.remove(e,[t+"queue",n])})})}}),Se.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),n>arguments.length?Se.queue(this[0],e):void 0===t?this:this.each(function(){var n=Se.queue(this,e,t);Se._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&Se.dequeue(this,e)})},dequeue:function(e){return this.each(function(){Se.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,o=1,r=Se.Deferred(),i=this,a=this.length,s=function(){--o||r.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=Ke.get(i[a],e+"queueHooks"))&&n.empty&&(o++,n.empty.add(s));return s(),r.promise(t)}});var Ge=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ve=RegExp("^(?:([+-])=|)("+Ge+")([a-z%]*)$","i"),$e=["Top","Right","Bottom","Left"],Xe=function(e,t){return e=t||e,"none"===e.style.display||""===e.style.display&&Se.contains(e.ownerDocument,e)&&"none"===Se.css(e,"display")},Ze=function(e,t,n,o){var r,i,a={};for(i in t)a[i]=e.style[i],e.style[i]=t[i];r=n.apply(e,o||[]);for(i in t)e.style[i]=a[i];return r},Je={};Se.fn.extend({show:function(){return C(this,!0)},hide:function(){return C(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Xe(this)?Se(this).show():Se(this).hide()})}});var Qe=/^(?:checkbox|radio)$/i,et=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,tt=/^$|^module$|\/(?:java|ecma)script/i,nt={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};nt.optgroup=nt.option,nt.tbody=nt.tfoot=nt.colgroup=nt.caption=nt.thead,nt.th=nt.td;var ot=/<|&#?\w+;/;!function(){var e=le.createDocumentFragment(),t=e.appendChild(le.createElement("div")),n=le.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),Te.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="",Te.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var rt=le.documentElement,it=/^key/,at=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,st=/^([^.]*)(?:\.(.+)|)/;Se.event={global:{},add:function(e,t,n,o,r){var i,a,s,u,c,l,p,f,d,h,m,g=Ke.get(e);if(g)for(n.handler&&(i=n,n=i.handler,r=i.selector),r&&Se.find.matchesSelector(rt,r),n.guid||(n.guid=Se.guid++),(u=g.events)||(u=g.events={}),(a=g.handle)||(a=g.handle=function(t){return void 0!==Se&&Se.event.triggered!==t.type?Se.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(Re)||[""],c=t.length;c--;)s=st.exec(t[c])||[],d=m=s[1],h=(s[2]||"").split(".").sort(),d&&(p=Se.event.special[d]||{},d=(r?p.delegateType:p.bindType)||d,p=Se.event.special[d]||{},l=Se.extend({type:d,origType:m,data:o,handler:n,guid:n.guid,selector:r,needsContext:r&&Se.expr.match.needsContext.test(r),namespace:h.join(".")},i),(f=u[d])||(f=u[d]=[],f.delegateCount=0,p.setup&&!1!==p.setup.call(e,o,h,a)||e.addEventListener&&e.addEventListener(d,a)),p.add&&(p.add.call(e,l),l.handler.guid||(l.handler.guid=n.guid)),r?f.splice(f.delegateCount++,0,l):f.push(l),Se.event.global[d]=!0)},remove:function(e,t,n,o,r){var i,a,s,u,c,l,p,f,d,h,m,g=Ke.hasData(e)&&Ke.get(e);if(g&&(u=g.events)){for(t=(t||"").match(Re)||[""],c=t.length;c--;)if(s=st.exec(t[c])||[],d=m=s[1],h=(s[2]||"").split(".").sort(),d){for(p=Se.event.special[d]||{},d=(o?p.delegateType:p.bindType)||d,f=u[d]||[],s=s[2]&&RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=f.length;i--;)l=f[i],!r&&m!==l.origType||n&&n.guid!==l.guid||s&&!s.test(l.namespace)||o&&o!==l.selector&&("**"!==o||!l.selector)||(f.splice(i,1),l.selector&&f.delegateCount--,p.remove&&p.remove.call(e,l));a&&!f.length&&(p.teardown&&!1!==p.teardown.call(e,h,g.handle)||Se.removeEvent(e,d,g.handle),delete u[d])}else for(d in u)Se.event.remove(e,d+t[c],n,o,!0);Se.isEmptyObject(u)&&Ke.remove(e,"handle events")}},dispatch:function(e){var t,n,o,r,i,a,s=Se.event.fix(e),u=Array(arguments.length),c=(Ke.get(this,"events")||{})[s.type]||[],l=Se.event.special[s.type]||{};for(u[0]=s,t=1;arguments.length>t;t++)u[t]=arguments[t];if(s.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,s)){for(a=Se.event.handlers.call(this,s,c),t=0;(r=a[t++])&&!s.isPropagationStopped();)for(s.currentTarget=r.elem,n=0;(i=r.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!s.rnamespace.test(i.namespace)||(s.handleObj=i,s.data=i.data,void 0!==(o=((Se.event.special[i.origType]||{}).handle||i.handler).apply(r.elem,u))&&!1===(s.result=o)&&(s.preventDefault(),s.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,s),s.result}},handlers:function(e,t){var n,o,r,i,a,s=[],u=t.delegateCount,c=e.target;if(u&&c.nodeType&&("click"!==e.type||1>e.button))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(i=[],a={},n=0;u>n;n++)o=t[n],r=o.selector+" ",void 0===a[r]&&(a[r]=o.needsContext?Se(r,this).index(c)>-1:Se.find(r,this,null,[c]).length),a[r]&&i.push(o);i.length&&s.push({elem:c,handlers:i})}return c=this,t.length>u&&s.push({elem:c,handlers:t.slice(u)}),s},addProp:function(e,t){Object.defineProperty(Se.Event.prototype,e,{enumerable:!0,configurable:!0,get:we(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[Se.expando]?e:new Se.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==P()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===P()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&c(this,"input"))return this.click(),!1},_default:function(e){return c(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},Se.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},Se.Event=function(e,t){if(!(this instanceof Se.Event))return new Se.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?M:x,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&&Se.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[Se.expando]=!0},Se.Event.prototype={constructor:Se.Event,isDefaultPrevented:x,isPropagationStopped:x,isImmediatePropagationStopped:x,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=M,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=M,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=M,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},Se.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,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&&it.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&at.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},Se.event.addProp),Se.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){Se.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,o=this,r=e.relatedTarget,i=e.handleObj;return r&&(r===o||Se.contains(o,r))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}}),Se.fn.extend({on:function(e,t,n,o){return k(this,e,t,n,o)},one:function(e,t,n,o){return k(this,e,t,n,o,1)},off:function(e,t,n){var o,r;if(e&&e.preventDefault&&e.handleObj)return o=e.handleObj,Se(e.delegateTarget).off(o.namespace?o.origType+"."+o.namespace:o.origType,o.selector,o.handler),this;if("object"==typeof e){for(r in e)this.off(r,t,e[r]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=x),this.each(function(){Se.event.remove(this,e,n,t)})}});var ut=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,ct=/\s*$/g;Se.extend({htmlPrefilter:function(e){return e.replace(ut,"<$1>")},clone:function(e,t,n){var o,r,i,a,s=e.cloneNode(!0),u=Se.contains(e.ownerDocument,e);if(!(Te.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||Se.isXMLDoc(e)))for(a=S(s),i=S(e),o=0,r=i.length;r>o;o++)R(i[o],a[o]);if(t)if(n)for(i=i||S(e),a=a||S(s),o=0,r=i.length;r>o;o++)j(i[o],a[o]);else j(e,s);return a=S(s,"script"),a.length>0&&E(a,!u&&S(e,"script")),s},cleanData:function(e){for(var t,n,o,r=Se.event.special,i=0;void 0!==(n=e[i]);i++)if(He(n)){if(t=n[Ke.expando]){if(t.events)for(o in t.events)r[o]?Se.event.remove(n,o):Se.removeEvent(n,o,t.handle);n[Ke.expando]=void 0}n[We.expando]&&(n[We.expando]=void 0)}}}),Se.fn.extend({detach:function(e){return F(this,e,!0)},remove:function(e){return F(this,e)},text:function(e){return ze(this,function(e){return void 0===e?Se.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return I(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){A(this,e).appendChild(e)}})},prepend:function(){return I(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=A(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return I(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return I(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(Se.cleanData(S(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return Se.clone(this,e,t)})},html:function(e){return ze(this,function(e){var t=this[0]||{},n=0,o=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ct.test(e)&&!nt[(et.exec(e)||["",""])[1].toLowerCase()]){e=Se.htmlPrefilter(e);try{for(;o>n;n++)t=this[n]||{},1===t.nodeType&&(Se.cleanData(S(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return I(this,arguments,function(t){var n=this.parentNode;0>Se.inArray(this,e)&&(Se.cleanData(S(this)),n&&n.replaceChild(t,this))},e)}}),Se.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){Se.fn[e]=function(e){for(var n,o=[],r=Se(e),i=r.length-1,a=0;i>=a;a++)n=a===i?this:this.clone(!0),Se(r[a])[t](n),he.apply(o,n.get());return this.pushStack(o)}});var ft=RegExp("^("+Ge+")(?!px)[a-z%]+$","i"),dt=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=r),t.getComputedStyle(e)},ht=RegExp($e.join("|"),"i");!function(){function e(){if(c){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",rt.appendChild(u).appendChild(c);var e=r.getComputedStyle(c);n="1%"!==e.top,s=12===t(e.marginLeft),c.style.right="60%",a=36===t(e.right),o=36===t(e.width),c.style.position="absolute",i=36===c.offsetWidth||"absolute",rt.removeChild(u),c=null}}function t(e){return Math.round(parseFloat(e))}var n,o,i,a,s,u=le.createElement("div"),c=le.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",Te.clearCloneStyle="content-box"===c.style.backgroundClip,Se.extend(Te,{boxSizingReliable:function(){return e(),o},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),i}}))}();var mt=/^(none|table(?!-c[ea]).+)/,gt=/^--/,yt={position:"absolute",visibility:"hidden",display:"block"},vt={letterSpacing:"0",fontWeight:"400"},bt=["Webkit","Moz","ms"],_t=le.createElement("div").style;Se.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=z(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,o){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,i,a,s=v(t),u=gt.test(t),c=e.style;if(u||(t=H(s)),a=Se.cssHooks[t]||Se.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(r=a.get(e,!1,o))?r:c[t];i=typeof n,"string"===i&&(r=Ve.exec(n))&&r[1]&&(n=w(e,t,r),i="number"),null!=n&&n===n&&("number"===i&&(n+=r&&r[3]||(Se.cssNumber[s]?"":"px")),Te.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,o))||(u?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,o){var r,i,a,s=v(t);return gt.test(t)||(t=H(s)),a=Se.cssHooks[t]||Se.cssHooks[s],a&&"get"in a&&(r=a.get(e,!0,n)),void 0===r&&(r=z(e,t,o)),"normal"===r&&t in vt&&(r=vt[t]),""===n||n?(i=parseFloat(r),!0===n||isFinite(i)?i||0:r):r}}),Se.each(["height","width"],function(e,t){Se.cssHooks[t]={get:function(e,n,o){if(n)return!mt.test(Se.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?q(e,t,o):Ze(e,yt,function(){return q(e,t,o)})},set:function(e,n,o){var r,i=dt(e),a="border-box"===Se.css(e,"boxSizing",!1,i),s=o&&W(e,t,o,a,i);return a&&Te.scrollboxSize()===i.position&&(s-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-W(e,t,"border",!1,i)-.5)),s&&(r=Ve.exec(n))&&"px"!==(r[3]||"px")&&(e.style[t]=n,n=Se.css(e,t)),K(e,n,s)}}}),Se.cssHooks.marginLeft=B(Te.reliableMarginLeft,function(e,t){if(t)return(parseFloat(z(e,"marginLeft"))||e.getBoundingClientRect().left-Ze(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),Se.each({margin:"",padding:"",border:"Width"},function(e,t){Se.cssHooks[e+t]={expand:function(n){for(var o=0,r={},i="string"==typeof n?n.split(" "):[n];4>o;o++)r[e+$e[o]+t]=i[o]||i[o-2]||i[0];return r}},"margin"!==e&&(Se.cssHooks[e+t].set=K)}),Se.fn.extend({css:function(e,t){return ze(this,function(e,t,n){var o,r,i={},a=0;if(Array.isArray(t)){for(o=dt(e),r=t.length;r>a;a++)i[t[a]]=Se.css(e,t[a],!1,o);return i}return void 0!==n?Se.style(e,t,n):Se.css(e,t)},e,t,arguments.length>1)}}),Se.Tween=Y,Y.prototype={constructor:Y,init:function(e,t,n,o,r,i){this.elem=e,this.prop=n,this.easing=r||Se.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=o,this.unit=i||(Se.cssNumber[n]?"":"px")},cur:function(){var e=Y.propHooks[this.prop];return e&&e.get?e.get(this):Y.propHooks._default.get(this)},run:function(e){var t,n=Y.propHooks[this.prop];return this.pos=t=this.options.duration?Se.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Y.propHooks._default.set(this),this}},Y.prototype.init.prototype=Y.prototype,Y.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=Se.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){Se.fx.step[e.prop]?Se.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[Se.cssProps[e.prop]]&&!Se.cssHooks[e.prop]?e.elem[e.prop]=e.now:Se.style(e.elem,e.prop,e.now+e.unit)}}},Y.propHooks.scrollTop=Y.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},Se.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},Se.fx=Y.prototype.init,Se.fx.step={};var Tt,wt,Ot=/^(?:toggle|show|hide)$/,Ct=/queueHooks$/;Se.Animation=Se.extend(Q,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return w(n.elem,e,Ve.exec(t),n),n}]},tweener:function(e,t){we(e)?(t=e,e=["*"]):e=e.match(Re);for(var n,o=0,r=e.length;r>o;o++)n=e[o],Q.tweeners[n]=Q.tweeners[n]||[],Q.tweeners[n].unshift(t)},prefilters:[Z],prefilter:function(e,t){t?Q.prefilters.unshift(e):Q.prefilters.push(e)}}),Se.speed=function(e,t,n){var o=e&&"object"==typeof e?Se.extend({},e):{complete:n||!n&&t||we(e)&&e,duration:e,easing:n&&t||t&&!we(t)&&t};return Se.fx.off?o.duration=0:"number"!=typeof o.duration&&(o.duration=o.duration in Se.fx.speeds?Se.fx.speeds[o.duration]:Se.fx.speeds._default),null!=o.queue&&!0!==o.queue||(o.queue="fx"),o.old=o.complete,o.complete=function(){we(o.old)&&o.old.call(this),o.queue&&Se.dequeue(this,o.queue)},o},Se.fn.extend({fadeTo:function(e,t,n,o){return this.filter(Xe).css("opacity",0).show().end().animate({opacity:t},e,n,o)},animate:function(e,t,n,o){var r=Se.isEmptyObject(e),i=Se.speed(t,n,o),a=function(){var t=Q(this,Se.extend({},e),i);(r||Ke.get(this,"finish"))&&t.stop(!0)};return a.finish=a,r||!1===i.queue?this.each(a):this.queue(i.queue,a)},stop:function(e,t,n){var o=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,r=null!=e&&e+"queueHooks",i=Se.timers,a=Ke.get(this);if(r)a[r]&&a[r].stop&&o(a[r]);else for(r in a)a[r]&&a[r].stop&&Ct.test(r)&&o(a[r]);for(r=i.length;r--;)i[r].elem!==this||null!=e&&i[r].queue!==e||(i[r].anim.stop(n),t=!1,i.splice(r,1));!t&&n||Se.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=Ke.get(this),o=n[e+"queue"],r=n[e+"queueHooks"],i=Se.timers,a=o?o.length:0;for(n.finish=!0,Se.queue(this,e,[]),r&&r.stop&&r.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;a>t;t++)o[t]&&o[t].finish&&o[t].finish.call(this);delete n.finish})}}),Se.each(["toggle","show","hide"],function(e,t){var n=Se.fn[t];Se.fn[t]=function(e,o,r){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate($(t,!0),e,o,r)}}),Se.each({slideDown:$("show"),slideUp:$("hide"),slideToggle:$("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){Se.fn[e]=function(e,n,o){return this.animate(t,e,n,o)}}),Se.timers=[],Se.fx.tick=function(){var e,t=0,n=Se.timers;for(Tt=Date.now();n.length>t;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||Se.fx.stop(),Tt=void 0},Se.fx.timer=function(e){Se.timers.push(e),Se.fx.start()},Se.fx.interval=13,Se.fx.start=function(){wt||(wt=!0,G())},Se.fx.stop=function(){wt=null},Se.fx.speeds={slow:600,fast:200,_default:400},Se.fn.delay=function(e,t){return e=Se.fx?Se.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var o=r.setTimeout(t,e);n.stop=function(){r.clearTimeout(o)}})},function(){var e=le.createElement("input"),t=le.createElement("select"),n=t.appendChild(le.createElement("option"));e.type="checkbox",Te.checkOn=""!==e.value,Te.optSelected=n.selected,e=le.createElement("input"),e.value="t",e.type="radio",Te.radioValue="t"===e.value}();var St,Et=Se.expr.attrHandle;Se.fn.extend({attr:function(e,t){return ze(this,Se.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){Se.removeAttr(this,e)})}}),Se.extend({attr:function(e,t,n){var o,r,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?Se.prop(e,t,n):(1===i&&Se.isXMLDoc(e)||(r=Se.attrHooks[t.toLowerCase()]||(Se.expr.match.bool.test(t)?St:void 0)),void 0!==n?null===n?void Se.removeAttr(e,t):r&&"set"in r&&void 0!==(o=r.set(e,n,t))?o:(e.setAttribute(t,n+""),n):r&&"get"in r&&null!==(o=r.get(e,t))?o:(o=Se.find.attr(e,t),null==o?void 0:o))},attrHooks:{type:{set:function(e,t){if(!Te.radioValue&&"radio"===t&&c(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,o=0,r=t&&t.match(Re);if(r&&1===e.nodeType)for(;n=r[o++];)e.removeAttribute(n)}}),St={set:function(e,t,n){return!1===t?Se.removeAttr(e,n):e.setAttribute(n,n),n}},Se.each(Se.expr.match.bool.source.match(/\w+/g),function(e,t){var n=Et[t]||Se.find.attr;Et[t]=function(e,t,o){var r,i,a=t.toLowerCase();return o||(i=Et[a],Et[a]=r,r=null!=n(e,t,o)?a:null,Et[a]=i),r}});var Dt=/^(?:input|select|textarea|button)$/i,Mt=/^(?:a|area)$/i;Se.fn.extend({prop:function(e,t){return ze(this,Se.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[Se.propFix[e]||e]})}}),Se.extend({prop:function(e,t,n){var o,r,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&Se.isXMLDoc(e)||(t=Se.propFix[t]||t,r=Se.propHooks[t]),void 0!==n?r&&"set"in r&&void 0!==(o=r.set(e,n,t))?o:e[t]=n:r&&"get"in r&&null!==(o=r.get(e,t))?o:e[t]},propHooks:{tabIndex:{get:function(e){var t=Se.find.attr(e,"tabindex");return t?parseInt(t,10):Dt.test(e.nodeName)||Mt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),Te.optSelected||(Se.propHooks.selected={get:function(){return null},set:function(){}}),Se.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){Se.propFix[this.toLowerCase()]=this}),Se.fn.extend({addClass:function(e){var t,n,o,r,i,a,s,u=0;if(we(e))return this.each(function(t){Se(this).addClass(e.call(this,t,te(this)))});if(t=ne(e),t.length)for(;n=this[u++];)if(r=te(n),o=1===n.nodeType&&" "+ee(r)+" "){for(a=0;i=t[a++];)0>o.indexOf(" "+i+" ")&&(o+=i+" ");s=ee(o),r!==s&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,o,r,i,a,s,u=0;if(we(e))return this.each(function(t){Se(this).removeClass(e.call(this,t,te(this)))});if(!arguments.length)return this.attr("class","");if(t=ne(e),t.length)for(;n=this[u++];)if(r=te(n),o=1===n.nodeType&&" "+ee(r)+" "){for(a=0;i=t[a++];)for(;o.indexOf(" "+i+" ")>-1;)o=o.replace(" "+i+" "," ");s=ee(o),r!==s&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,o="string"===n||Array.isArray(e);return"boolean"==typeof t&&o?t?this.addClass(e):this.removeClass(e):this.each(we(e)?function(n){Se(this).toggleClass(e.call(this,n,te(this),t),t)}:function(){var t,r,i,a;if(o)for(r=0,i=Se(this),a=ne(e);t=a[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||(t=te(this),t&&Ke.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Ke.get(this,"__className__")||""))})},hasClass:function(e){var t,n,o=0;for(t=" "+e+" ";n=this[o++];)if(1===n.nodeType&&(" "+ee(te(n))+" ").indexOf(t)>-1)return!0;return!1}});var xt=/\r/g;Se.fn.extend({val:function(e){var t,n,o,r=this[0];{if(arguments.length)return o=we(e),this.each(function(n){var r;1===this.nodeType&&(r=o?e.call(this,n,Se(this).val()):e,null==r?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=Se.map(r,function(e){return null==e?"":e+""})),(t=Se.valHooks[this.type]||Se.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))});if(r)return(t=Se.valHooks[r.type]||Se.valHooks[r.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(r,"value"))?n:(n=r.value,"string"==typeof n?n.replace(xt,""):null==n?"":n)}}}),Se.extend({valHooks:{option:{get:function(e){var t=Se.find.attr(e,"value");return null!=t?t:ee(Se.text(e))}},select:{get:function(e){var t,n,o,r=e.options,i=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?i+1:r.length;for(o=0>i?u:a?i:0;u>o;o++)if(n=r[o],(n.selected||o===i)&&!n.disabled&&(!n.parentNode.disabled||!c(n.parentNode,"optgroup"))){if(t=Se(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,o,r=e.options,i=Se.makeArray(t),a=r.length;a--;)o=r[a],(o.selected=Se.inArray(Se.valHooks.option.get(o),i)>-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),Se.each(["radio","checkbox"],function(){Se.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=Se.inArray(Se(e).val(),t)>-1}},Te.checkOn||(Se.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),Te.focusin="onfocusin"in r;var Pt=/^(?:focusinfocus|focusoutblur)$/,kt=function(e){e.stopPropagation()};Se.extend(Se.event,{trigger:function(e,t,n,o){var i,a,s,u,c,l,p,f,d=[n||le],h=ve.call(e,"type")?e.type:e,m=ve.call(e,"namespace")?e.namespace.split("."):[];if(a=f=s=n=n||le,3!==n.nodeType&&8!==n.nodeType&&!Pt.test(h+Se.event.triggered)&&(h.indexOf(".")>-1&&(m=h.split("."),h=m.shift(),m.sort()),c=0>h.indexOf(":")&&"on"+h,e=e[Se.expando]?e:new Se.Event(h,"object"==typeof e&&e),e.isTrigger=o?2:3,e.namespace=m.join("."),e.rnamespace=e.namespace?RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:Se.makeArray(t,[e]),p=Se.event.special[h]||{},o||!p.trigger||!1!==p.trigger.apply(n,t))){if(!o&&!p.noBubble&&!Oe(n)){for(u=p.delegateType||h,Pt.test(u+h)||(a=a.parentNode);a;a=a.parentNode)d.push(a),s=a;s===(n.ownerDocument||le)&&d.push(s.defaultView||s.parentWindow||r)}for(i=0;(a=d[i++])&&!e.isPropagationStopped();)f=a,e.type=i>1?u:p.bindType||h,l=(Ke.get(a,"events")||{})[e.type]&&Ke.get(a,"handle"),l&&l.apply(a,t),(l=c&&a[c])&&l.apply&&He(a)&&!1===(e.result=l.apply(a,t))&&e.preventDefault();return e.type=h,o||e.isDefaultPrevented()||p._default&&!1!==p._default.apply(d.pop(),t)||!He(n)||c&&we(n[h])&&!Oe(n)&&(s=n[c],s&&(n[c]=null),Se.event.triggered=h,e.isPropagationStopped()&&f.addEventListener(h,kt),n[h](),e.isPropagationStopped()&&f.removeEventListener(h,kt),Se.event.triggered=void 0,s&&(n[c]=s)),e.result}},simulate:function(e,t,n){var o=Se.extend(new Se.Event,n,{type:e,isSimulated:!0});Se.event.trigger(o,null,t)}}),Se.fn.extend({trigger:function(e,t){return this.each(function(){Se.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return Se.event.trigger(e,t,n,!0)}}),Te.focusin||Se.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){Se.event.simulate(t,e.target,Se.event.fix(e))};Se.event.special[t]={setup:function(){var o=this.ownerDocument||this,r=Ke.access(o,t);r||o.addEventListener(e,n,!0),Ke.access(o,t,(r||0)+1)},teardown:function(){var o=this.ownerDocument||this,r=Ke.access(o,t)-1;r?Ke.access(o,t,r):(o.removeEventListener(e,n,!0),Ke.remove(o,t))}}});var At=r.location,Lt=Date.now(),Nt=/\?/;Se.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||Se.error("Invalid XML: "+e),t};var jt=/\[\]$/,Rt=/\r?\n/g,It=/^(?:submit|button|image|reset|file)$/i,Ft=/^(?:input|select|textarea|keygen)/i;Se.param=function(e,t){var n,o=[],r=function(e,t){var n=we(t)?t():t;o[o.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!Se.isPlainObject(e))Se.each(e,function(){r(this.name,this.value)});else for(n in e)oe(n,e[n],t,r);return o.join("&")},Se.fn.extend({serialize:function(){return Se.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=Se.prop(this,"elements");return e?Se.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!Se(this).is(":disabled")&&Ft.test(this.nodeName)&&!It.test(e)&&(this.checked||!Qe.test(e))}).map(function(e,t){var n=Se(this).val();return null==n?null:Array.isArray(n)?Se.map(n,function(e){return{name:t.name,value:e.replace(Rt,"\r\n")}}):{name:t.name,value:n.replace(Rt,"\r\n")}}).get()}});var zt=/%20/g,Bt=/#.*$/,Ut=/([?&])_=[^&]*/,Ht=/^(.*?):[ \t]*([^\r\n]*)$/gm,Kt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Wt=/^(?:GET|HEAD)$/,qt=/^\/\//,Yt={},Gt={},Vt="*/".concat("*"),$t=le.createElement("a");$t.href=At.href,Se.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:At.href,type:"GET",isLocal:Kt.test(At.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Vt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":Se.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?ae(ae(e,Se.ajaxSettings),t):ae(Se.ajaxSettings,e)},ajaxPrefilter:re(Yt),ajaxTransport:re(Gt),ajax:function(e,t){function n(e,t,n,s){var c,f,d,_,T,w=t;l||(l=!0,u&&r.clearTimeout(u),o=void 0,a=s||"",O.readyState=e>0?4:0,c=e>=200&&300>e||304===e,n&&(_=se(h,O,n)),_=ue(h,_,O,c),c?(h.ifModified&&(T=O.getResponseHeader("Last-Modified"),T&&(Se.lastModified[i]=T),(T=O.getResponseHeader("etag"))&&(Se.etag[i]=T)),204===e||"HEAD"===h.type?w="nocontent":304===e?w="notmodified":(w=_.state,f=_.data,d=_.error,c=!d)):(d=w,!e&&w||(w="error",0>e&&(e=0))),O.status=e,O.statusText=(t||w)+"",c?y.resolveWith(m,[f,w,O]):y.rejectWith(m,[O,w,d]),O.statusCode(b),b=void 0,p&&g.trigger(c?"ajaxSuccess":"ajaxError",[O,h,c?f:d]),v.fireWith(m,[O,w]),p&&(g.trigger("ajaxComplete",[O,h]),--Se.active||Se.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=void 0),t=t||{};var o,i,a,s,u,c,l,p,f,d,h=Se.ajaxSetup({},t),m=h.context||h,g=h.context&&(m.nodeType||m.jquery)?Se(m):Se.event,y=Se.Deferred(),v=Se.Callbacks("once memory"),b=h.statusCode||{},_={},T={},w="canceled",O={readyState:0,getResponseHeader:function(e){var t;if(l){if(!s)for(s={};t=Ht.exec(a);)s[t[1].toLowerCase()]=t[2];t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return l?a:null},setRequestHeader:function(e,t){return null==l&&(e=T[e.toLowerCase()]=T[e.toLowerCase()]||e,_[e]=t),this},overrideMimeType:function(e){return null==l&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(l)O.always(e[O.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||w;return o&&o.abort(t),n(0,t),this}};if(y.promise(O),h.url=((e||h.url||At.href)+"").replace(qt,At.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(Re)||[""],null==h.crossDomain){c=le.createElement("a");try{c.href=h.url,c.href=c.href,h.crossDomain=$t.protocol+"//"+$t.host!=c.protocol+"//"+c.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=Se.param(h.data,h.traditional)),ie(Yt,h,t,O),l)return O;p=Se.event&&h.global,p&&0==Se.active++&&Se.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Wt.test(h.type),i=h.url.replace(Bt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(zt,"+")):(d=h.url.slice(i.length),h.data&&(h.processData||"string"==typeof h.data)&&(i+=(Nt.test(i)?"&":"?")+h.data,delete h.data),!1===h.cache&&(i=i.replace(Ut,"$1"),d=(Nt.test(i)?"&":"?")+"_="+Lt+++d),h.url=i+d),h.ifModified&&(Se.lastModified[i]&&O.setRequestHeader("If-Modified-Since",Se.lastModified[i]),Se.etag[i]&&O.setRequestHeader("If-None-Match",Se.etag[i])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&O.setRequestHeader("Content-Type",h.contentType),O.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Vt+"; q=0.01":""):h.accepts["*"]);for(f in h.headers)O.setRequestHeader(f,h.headers[f]);if(h.beforeSend&&(!1===h.beforeSend.call(m,O,h)||l))return O.abort();if(w="abort",v.add(h.complete),O.done(h.success),O.fail(h.error),o=ie(Gt,h,t,O)){if(O.readyState=1,p&&g.trigger("ajaxSend",[O,h]),l)return O;h.async&&h.timeout>0&&(u=r.setTimeout(function(){O.abort("timeout")},h.timeout));try{l=!1,o.send(_,n)}catch(e){if(l)throw e;n(-1,e)}}else n(-1,"No Transport");return O},getJSON:function(e,t,n){return Se.get(e,t,n,"json")},getScript:function(e,t){return Se.get(e,void 0,t,"script")}}),Se.each(["get","post"],function(e,t){Se[t]=function(e,n,o,r){return we(n)&&(r=r||o,o=n,n=void 0),Se.ajax(Se.extend({url:e,type:t,dataType:r,data:n,success:o},Se.isPlainObject(e)&&e))}}),Se._evalUrl=function(e){return Se.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},Se.fn.extend({wrapAll:function(e){var t;return this[0]&&(we(e)&&(e=e.call(this[0])),t=Se(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return this.each(we(e)?function(t){Se(this).wrapInner(e.call(this,t))}:function(){var t=Se(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=we(e);return this.each(function(n){Se(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){Se(this).replaceWith(this.childNodes)}),this}}),Se.expr.pseudos.hidden=function(e){return!Se.expr.pseudos.visible(e)},Se.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},Se.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var Xt={0:200,1223:204},Zt=Se.ajaxSettings.xhr();Te.cors=!!Zt&&"withCredentials"in Zt,Te.ajax=Zt=!!Zt,Se.ajaxTransport(function(e){var t,n;if(Te.cors||Zt&&!e.crossDomain)return{send:function(o,i){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest");for(a in o)s.setRequestHeader(a,o[a]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(Xt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),n=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout(function(){t&&n()})},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),Se.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),Se.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return Se.globalEval(e),e}}}),Se.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),Se.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(o,r){t=Se("