Get TypeError when change timezone #1187 When you hide the series are not all the values in the legend are gray. #1186 Problem with Heikin Ashi and Real prices #1150 Menu background after removing timezone menu #1149 Some drawings incorrectly aligned on monthly bars #1141 Message dialog #1124 PineJS is not defined #1122 Hide drawings created with API from Objects Tree #1117 [Regression] Unable to drag data series/indicators into new panels #1109 Problem with "header_symbol_search" feature on mobile #1097 Bug with vertical axis in Firefox #1086 Missing Weekly Candle Critical Bug #1075 Customize default Precision of indicators #1068 Charting Library sometimes asks for exchange:ticker in /symbols requests #1065 Add feature to get mouse/cross hair position on onBarMarkClicked #1061 Hide header controls and drawing toolbar in portrait on mobile #1048 Multiple logo in IE9 #1046 No timezone for Kathmandu, Nepal #1033 Saving a chart in onAutoSaveNeeded callback doesn't reflect latest changes #1032 Users need to touch drawing tool menu twice to use the tool in mobile #1029 Order/Execution/Position lines in Screenshot #981 insertIndicator panel adds indicators when scrolling panel on mobile #882 Support for America/Mexico_city timezone #761 Unable to disable Style | Scales | Background | Timezone/Sessions dialog in mobile preset #745 South African Timezone #656 US Mountain Timezone (MST) #541 Study search works inconsistently in mini-dialog #499
19 lines
569 KiB
JavaScript
19 lines
569 KiB
JavaScript
!function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return t[i].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var n,i,r=window.webpackJsonp;return window.webpackJsonp=function(o,s){for(var a,l,u=0,c=[];u<o.length;u++)l=o[u],i[l]&&c.push.apply(c,i[l]),i[l]=0;for(a in s)t[a]=s[a];for(r&&r(o,s);c.length;)c.shift().call(null,e);return s[0]?(n[0]=0,e(0)):void 0},n={},i={1:0},e.e=function(t,n){var r,o;return 0===i[t]?n.call(null,e):void(void 0!==i[t]?i[t].push(n):(i[t]=[n],r=document.getElementsByTagName("head")[0],o=document.createElement("script"),o.type="text/javascript",o.charset="utf-8",o.async=!0,o.src=e.p+""+({0:"library"}[t]||t)+"."+{0:"ad5e4a5e4aa3b31dc94b"}[t]+".js",r.appendChild(o)))},e.m=t,e.c=n,e.p="bundles/",e(0)}([function(t,e,n){n(403),n(592),n(594),n(595),n(596),n(33),n(6),n(35),n(142),n(26),n(597),n(598),n(599),n(600),n(601),n(602),n(603),n(604),n(605),n(606),n(607),n(608),n(609),n(610),n(611),n(612),n(613),n(614),n(615),n(616),n(617),t.exports=n(618)},,function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},,,,function(t,e,n){(function(t){!function(e,n){t.exports=n()}(this,function(){"use strict";function e(){return Fn.apply(null,arguments)}function i(t){Fn=t}function r(t){return"[object Array]"===Object.prototype.toString.call(t)}function o(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function s(t,e){var n,i=[];for(n=0;n<t.length;++n)i.push(e(t[n],n));return i}function a(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function l(t,e){for(var n in e)a(e,n)&&(t[n]=e[n]);return a(e,"toString")&&(t.toString=e.toString),a(e,"valueOf")&&(t.valueOf=e.valueOf),t}function u(t,e,n,i){return At(t,e,n,i,!0).utc()}function c(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}}function h(t){return null==t._pf&&(t._pf=c()),t._pf}function f(t){if(null==t._isValid){var e=h(t);t._isValid=!(isNaN(t._d.getTime())||!(e.overflow<0)||e.empty||e.invalidMonth||e.invalidWeekday||e.nullInput||e.invalidFormat||e.userInvalidated),t._strict&&(t._isValid=t._isValid&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour)}return t._isValid}function d(t){var e=u(NaN);return null!=t?l(h(e),t):h(e).userInvalidated=!0,e}function p(t,e){var n,i,r;if(void 0!==e._isAMomentObject&&(t._isAMomentObject=e._isAMomentObject),void 0!==e._i&&(t._i=e._i),void 0!==e._f&&(t._f=e._f),void 0!==e._l&&(t._l=e._l),void 0!==e._strict&&(t._strict=e._strict),void 0!==e._tzm&&(t._tzm=e._tzm),void 0!==e._isUTC&&(t._isUTC=e._isUTC),void 0!==e._offset&&(t._offset=e._offset),void 0!==e._pf&&(t._pf=h(e)),void 0!==e._locale&&(t._locale=e._locale),Yi.length>0)for(n in Yi)i=Yi[n],r=e[i],void 0!==r&&(t[i]=r);return t}function g(t){p(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),Bi===!1&&(Bi=!0,e.updateOffset(this),Bi=!1)}function m(t){return t instanceof g||null!=t&&null!=t._isAMomentObject}function v(t){return 0>t?Math.ceil(t):Math.floor(t)}function y(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=v(e)),n}function b(t,e,n){var i,r=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),s=0;for(i=0;r>i;i++)(n&&t[i]!==e[i]||!n&&y(t[i])!==y(e[i]))&&s++;return s+o}function _(){}function w(t){return t?t.toLowerCase().replace("_","-"):t}function x(t){for(var e,n,i,r,o=0;o<t.length;){for(r=w(t[o]).split("-"),e=r.length,n=w(t[o+1]),n=n?n.split("-"):null;e>0;){if(i=k(r.slice(0,e).join("-")))return i;if(n&&n.length>=e&&b(r,n,!0)>=e-1)break;e--}o++}return null}function k(e){var i=null;if(!Ui[e]&&void 0!==t&&t&&t.exports)try{i=zn._abbr,n(7)("./"+e),S(i)}catch(r){}return Ui[e]}function S(t,e){var n;return t&&(n=void 0===e?T(t):C(t,e),n&&(zn=n)),zn._abbr}function C(t,e){return null!==e?(e.abbr=t,Ui[t]=Ui[t]||new _,Ui[t].set(e),S(t),Ui[t]):(delete Ui[t],null)}function T(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return zn;if(!r(t)){if(e=k(t))return e;t=[t]}return x(t)}function D(t,e){var n=t.toLowerCase();Wi[n]=Wi[n+"s"]=Wi[e]=t}function M(t){return"string"==typeof t?Wi[t]||Wi[t.toLowerCase()]:void 0}function E(t){var e,n,i={};for(n in t)a(t,n)&&(e=M(n),e&&(i[e]=t[n]));return i}function A(t,n){return function(i){return null!=i?(I(this,t,i),e.updateOffset(this,n),this):P(this,t)}}function P(t,e){return t._d["get"+(t._isUTC?"UTC":"")+e]()}function I(t,e,n){return t._d["set"+(t._isUTC?"UTC":"")+e](n)}function O(t,e){var n;if("object"==typeof t)for(n in t)this.set(n,t[n]);else if(t=M(t),"function"==typeof this[t])return this[t](e);return this}function N(t,e,n){var i=""+Math.abs(t),r=e-i.length,o=t>=0;return(o?n?"+":"":"-")+(""+Math.pow(10,Math.max(0,r))).substr(1)+i}function L(t,e,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),t&&($i[t]=r),e&&($i[e[0]]=function(){return N(r.apply(this,arguments),e[1],e[2])}),n&&($i[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function F(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function z(t){var e,n,i=t.match(Vi);for(e=0,n=i.length;n>e;e++)$i[i[e]]?i[e]=$i[i[e]]:i[e]=F(i[e]);return function(r){var o="";for(e=0;n>e;e++)o+=i[e]instanceof Function?i[e].call(r,t):i[e];return o}}function j(t,e){return t.isValid()?(e=R(e,t.localeData()),Xi[e]=Xi[e]||z(e),Xi[e](t)):t.localeData().invalidDate()}function R(t,e){function n(t){return e.longDateFormat(t)||t}var i=5;for(qi.lastIndex=0;i>=0&&qi.test(t);)t=t.replace(qi,n),qi.lastIndex=0,i-=1;return t}function H(t){return"function"==typeof t&&"[object Function]"===Object.prototype.toString.call(t)}function Y(t,e,n){ur[t]=H(e)?e:function(t){return t&&n?n:e}}function B(t,e){return a(ur,t)?ur[t](e._strict,e._locale):RegExp(U(t))}function U(t){return t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,i,r){return e||n||i||r}).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function W(t,e){var n,i=e;for("string"==typeof t&&(t=[t]),"number"==typeof e&&(i=function(t,n){n[e]=y(t)}),n=0;n<t.length;n++)cr[t[n]]=i}function V(t,e){W(t,function(t,n,i,r){i._w=i._w||{},e(t,i._w,i,r)})}function q(t,e,n){null!=e&&a(cr,t)&&cr[t](e,n._a,n,t)}function X(t,e){return new Date(Date.UTC(t,e+1,0)).getUTCDate()}function $(t){return this._months[t.month()]}function G(t){return this._monthsShort[t.month()]}function Z(t,e,n){var i,r,o;for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;12>i;i++){if(r=u([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(o="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=RegExp(o.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}}function K(t,e){var n;return"string"==typeof e&&(e=t.localeData().monthsParse(e),"number"!=typeof e)?t:(n=Math.min(t.date(),X(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t)}function Q(t){return null!=t?(K(this,t),e.updateOffset(this,!0),this):P(this,"Month")}function J(){return X(this.year(),this.month())}function tt(t){var e,n=t._a;return n&&-2===h(t).overflow&&(e=n[fr]<0||n[fr]>11?fr:n[dr]<1||n[dr]>X(n[hr],n[fr])?dr:n[pr]<0||n[pr]>24||24===n[pr]&&(0!==n[gr]||0!==n[mr]||0!==n[vr])?pr:n[gr]<0||n[gr]>59?gr:n[mr]<0||n[mr]>59?mr:n[vr]<0||n[vr]>999?vr:-1,h(t)._overflowDayOfYear&&(hr>e||e>dr)&&(e=dr),h(t).overflow=e),t}function et(t){e.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function nt(t,e){var n=!0;return l(function(){return n&&(et(t+"\n"+Error().stack),n=!1),e.apply(this,arguments)},e)}function it(t,e){Hn[t]||(et(e),Hn[t]=!0)}function rt(t){var e,n,i=t._i,r=Yn.exec(i);if(r){for(h(t).iso=!0,e=0,n=Bn.length;n>e;e++)if(Bn[e][1].exec(i)){t._f=Bn[e][0];break}for(e=0,n=Un.length;n>e;e++)if(Un[e][1].exec(i)){t._f+=(r[6]||" ")+Un[e][0];break}i.match(sr)&&(t._f+="Z"),kt(t)}else t._isValid=!1}function ot(t){var n=Wn.exec(t._i);return null!==n?void(t._d=new Date(+n[1])):(rt(t),void(t._isValid===!1&&(delete t._isValid,e.createFromInputFallback(t))))}function st(t,e,n,i,r,o,s){var a=new Date(t,e,n,i,r,o,s);return 1970>t&&a.setFullYear(t),a}function at(t){var e=new Date(Date.UTC.apply(null,arguments));return 1970>t&&e.setUTCFullYear(t),e}function lt(t){return ut(t)?366:365}function ut(t){return t%4===0&&t%100!==0||t%400===0}function ct(){return ut(this.year())}function ht(t,e,n){var i,r=n-e,o=n-t.day();return o>r&&(o-=7),r-7>o&&(o+=7),i=Pt(t).add(o,"d"),{week:Math.ceil(i.dayOfYear()/7),year:i.year()}}function ft(t){return ht(t,this._week.dow,this._week.doy).week}function dt(){return this._week.dow}function pt(){return this._week.doy}function gt(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function mt(t){var e=ht(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function vt(t,e,n,i,r){var o,s=6+r-i,a=at(t,0,1+s),l=a.getUTCDay();return r>l&&(l+=7),n=null!=n?1*n:r,o=1+s+7*(e-1)-l+n,{year:o>0?t:t-1,dayOfYear:o>0?o:lt(t-1)+o}}function yt(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}function bt(t,e,n){return null!=t?t:null!=e?e:n}function _t(t){var e=new Date;return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function wt(t){var e,n,i,r,o=[];if(!t._d){for(i=_t(t),t._w&&null==t._a[dr]&&null==t._a[fr]&&xt(t),t._dayOfYear&&(r=bt(t._a[hr],i[hr]),t._dayOfYear>lt(r)&&(h(t)._overflowDayOfYear=!0),n=at(r,0,t._dayOfYear),t._a[fr]=n.getUTCMonth(),t._a[dr]=n.getUTCDate()),e=0;3>e&&null==t._a[e];++e)t._a[e]=o[e]=i[e];for(;7>e;e++)t._a[e]=o[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[pr]&&0===t._a[gr]&&0===t._a[mr]&&0===t._a[vr]&&(t._nextDay=!0,t._a[pr]=0),t._d=(t._useUTC?at:st).apply(null,o),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[pr]=24)}}function xt(t){var e,n,i,r,o,s,a;e=t._w,null!=e.GG||null!=e.W||null!=e.E?(o=1,s=4,n=bt(e.GG,t._a[hr],ht(Pt(),1,4).year),i=bt(e.W,1),r=bt(e.E,1)):(o=t._locale._week.dow,s=t._locale._week.doy,n=bt(e.gg,t._a[hr],ht(Pt(),o,s).year),i=bt(e.w,1),null!=e.d?(r=e.d,o>r&&++i):r=null!=e.e?e.e+o:o),a=vt(n,i,r,s,o),t._a[hr]=a.year,t._dayOfYear=a.dayOfYear}function kt(t){if(t._f===e.ISO_8601)return void rt(t);t._a=[],h(t).empty=!0;var n,i,r,o,s,a=""+t._i,l=a.length,u=0;for(r=R(t._f,t._locale).match(Vi)||[],n=0;n<r.length;n++)o=r[n],i=(a.match(B(o,t))||[])[0],i&&(s=a.substr(0,a.indexOf(i)),s.length>0&&h(t).unusedInput.push(s),a=a.slice(a.indexOf(i)+i.length),u+=i.length),$i[o]?(i?h(t).empty=!1:h(t).unusedTokens.push(o),q(o,i,t)):t._strict&&!i&&h(t).unusedTokens.push(o);h(t).charsLeftOver=l-u,a.length>0&&h(t).unusedInput.push(a),h(t).bigHour===!0&&t._a[pr]<=12&&t._a[pr]>0&&(h(t).bigHour=void 0),t._a[pr]=St(t._locale,t._a[pr],t._meridiem),wt(t),tt(t)}function St(t,e,n){var i;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?(i=t.isPM(n),i&&12>e&&(e+=12),i||12!==e||(e=0),e):e}function Ct(t){var e,n,i,r,o;if(0===t._f.length)return h(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;r<t._f.length;r++)o=0,e=p({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[r],kt(e),f(e)&&(o+=h(e).charsLeftOver,o+=10*h(e).unusedTokens.length,h(e).score=o,(null==i||i>o)&&(i=o,n=e));l(t,n||e)}function Tt(t){if(!t._d){var e=E(t._i);t._a=[e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],wt(t)}}function Dt(t){var e=new g(tt(Mt(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Mt(t){var e=t._i,n=t._f;return t._locale=t._locale||T(t._l),null===e||void 0===n&&""===e?d({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),m(e)?new g(tt(e)):(r(n)?Ct(t):n?kt(t):o(e)?t._d=e:Et(t),t))}function Et(t){var n=t._i;void 0===n?t._d=new Date:o(n)?t._d=new Date(+n):"string"==typeof n?ot(t):r(n)?(t._a=s(n.slice(0),function(t){return parseInt(t,10)}),wt(t)):"object"==typeof n?Tt(t):"number"==typeof n?t._d=new Date(n):e.createFromInputFallback(t)}function At(t,e,n,i,r){var o={};return"boolean"==typeof n&&(i=n,n=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=r,o._l=n,o._i=t,o._f=e,o._strict=i,Dt(o)}function Pt(t,e,n,i){return At(t,e,n,i,!1)}function It(t,e){var n,i;if(1===e.length&&r(e[0])&&(e=e[0]),!e.length)return Pt();for(n=e[0],i=1;i<e.length;++i)e[i].isValid()&&!e[i][t](n)||(n=e[i]);return n}function Ot(){var t=[].slice.call(arguments,0);return It("isBefore",t)}function Nt(){var t=[].slice.call(arguments,0);return It("isAfter",t)}function Lt(t){var e=E(t),n=e.year||0,i=e.quarter||0,r=e.month||0,o=e.week||0,s=e.day||0,a=e.hour||0,l=e.minute||0,u=e.second||0,c=e.millisecond||0;this._milliseconds=+c+1e3*u+6e4*l+36e5*a,this._days=+s+7*o,this._months=+r+3*i+12*n,this._data={},this._locale=T(),this._bubble()}function Ft(t){return t instanceof Lt}function zt(t,e){L(t,0,0,function(){var t=this.utcOffset(),n="+";return 0>t&&(t=-t,n="-"),n+N(~~(t/60),2)+e+N(~~t%60,2)})}function jt(t){var e=(t||"").match(sr)||[],n=e[e.length-1]||[],i=(n+"").match(Gn)||["-",0,0],r=+(60*i[1])+y(i[2]);return"+"===i[0]?r:-r}function Rt(t,n){var i,r;return n._isUTC?(i=n.clone(),r=(m(t)||o(t)?+t:+Pt(t))-+i,i._d.setTime(+i._d+r),e.updateOffset(i,!1),i):Pt(t).local()}function Ht(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function Yt(t,n){var i,r=this._offset||0;return null!=t?("string"==typeof t&&(t=jt(t)),Math.abs(t)<16&&(t=60*t),!this._isUTC&&n&&(i=Ht(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==t&&(!n||this._changeInProgress?ie(this,Qt(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?r:Ht(this)}function Bt(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function Ut(t){return this.utcOffset(0,t)}function Wt(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Ht(this),"m")),this}function Vt(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(jt(this._i)),this}function qt(t){return t=t?Pt(t).utcOffset():0,(this.utcOffset()-t)%60===0}function Xt(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function $t(){var t,e;return void 0!==this._isDSTShifted?this._isDSTShifted:(t={},p(t,this),t=Mt(t),t._a?(e=t._isUTC?u(t._a):Pt(t._a),this._isDSTShifted=this.isValid()&&b(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted)}function Gt(){return!this._isUTC}function Zt(){return this._isUTC}function Kt(){return this._isUTC&&0===this._offset}function Qt(t,e){var n,i,r,o=t,s=null;return Ft(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:"number"==typeof t?(o={},e?o[e]=t:o.milliseconds=t):(s=Zn.exec(t))?(n="-"===s[1]?-1:1,o={y:0,d:y(s[dr])*n,h:y(s[pr])*n,m:y(s[gr])*n,s:y(s[mr])*n,ms:y(s[vr])*n}):(s=Kn.exec(t))?(n="-"===s[1]?-1:1,o={y:Jt(s[2],n),M:Jt(s[3],n),d:Jt(s[4],n),h:Jt(s[5],n),m:Jt(s[6],n),s:Jt(s[7],n),w:Jt(s[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(r=ee(Pt(o.from),Pt(o.to)),o={},o.ms=r.milliseconds,o.M=r.months),i=new Lt(o),Ft(t)&&a(t,"_locale")&&(i._locale=t._locale),i}function Jt(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function te(t,e){var n={milliseconds:0,months:0};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function ee(t,e){var n;return e=Rt(e,t),t.isBefore(e)?n=te(t,e):(n=te(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n}function ne(t,e){return function(n,i){var r,o;return null===i||isNaN(+i)||(it(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period)."),o=n,n=i,i=o),n="string"==typeof n?+n:n,r=Qt(n,i),ie(this,r,t),this}}function ie(t,n,i,r){var o=n._milliseconds,s=n._days,a=n._months;r=null==r?!0:r,o&&t._d.setTime(+t._d+o*i),s&&I(t,"Date",P(t,"Date")+s*i),a&&K(t,P(t,"Month")+a*i),r&&e.updateOffset(t,s||a)}function re(t,e){var n=t||Pt(),i=Rt(n,this).startOf("day"),r=this.diff(i,"days",!0),o=-6>r?"sameElse":-1>r?"lastWeek":0>r?"lastDay":1>r?"sameDay":2>r?"nextDay":7>r?"nextWeek":"sameElse";return this.format(e&&e[o]||this.localeData().calendar(o,this,Pt(n)))}function oe(){return new g(this)}function se(t,e){var n;return e=M(void 0!==e?e:"millisecond"),"millisecond"===e?(t=m(t)?t:Pt(t),+this>+t):(n=m(t)?+t:+Pt(t),n<+this.clone().startOf(e))}function ae(t,e){var n;return e=M(void 0!==e?e:"millisecond"),"millisecond"===e?(t=m(t)?t:Pt(t),+t>+this):(n=m(t)?+t:+Pt(t),+this.clone().endOf(e)<n)}function le(t,e,n){return this.isAfter(t,n)&&this.isBefore(e,n)}function ue(t,e){var n;return e=M(e||"millisecond"),"millisecond"===e?(t=m(t)?t:Pt(t),+this===+t):(n=+Pt(t),+this.clone().startOf(e)<=n&&n<=+this.clone().endOf(e))}function ce(t,e,n){var i,r,o=Rt(t,this),s=6e4*(o.utcOffset()-this.utcOffset());return e=M(e),"year"===e||"month"===e||"quarter"===e?(r=he(this,o),"quarter"===e?r/=3:"year"===e&&(r/=12)):(i=this-o,r="second"===e?i/1e3:"minute"===e?i/6e4:"hour"===e?i/36e5:"day"===e?(i-s)/864e5:"week"===e?(i-s)/6048e5:i),n?r:v(r)}function he(t,e){var n,i,r=12*(e.year()-t.year())+(e.month()-t.month()),o=t.clone().add(r,"months");return 0>e-o?(n=t.clone().add(r-1,"months"),i=(e-o)/(o-n)):(n=t.clone().add(r+1,"months"),i=(e-o)/(n-o)),-(r+i)}function fe(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function de(){var t=this.clone().utc();return 0<t.year()&&t.year()<=9999?"function"==typeof Date.prototype.toISOString?this.toDate().toISOString():j(t,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):j(t,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function pe(t){var n=j(this,t||e.defaultFormat);return this.localeData().postformat(n)}function ge(t,e){return this.isValid()?Qt({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function me(t){return this.from(Pt(),t)}function ve(t,e){return this.isValid()?Qt({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function ye(t){return this.to(Pt(),t)}function be(t){var e;return void 0===t?this._locale._abbr:(e=T(t),null!=e&&(this._locale=e),this)}function _e(){return this._locale}function we(t){switch(t=M(t)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===t&&this.weekday(0),"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this}function xe(t){return t=M(t),void 0===t||"millisecond"===t?this:this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms")}function ke(){return+this._d-6e4*(this._offset||0)}function Se(){return Math.floor(+this/1e3)}function Ce(){return this._offset?new Date(+this):this._d}function Te(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function De(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function Me(){return f(this)}function Ee(){return l({},h(this))}function Ae(){return h(this).overflow}function Pe(t,e){L(0,[t,t.length],0,e)}function Ie(t,e,n){return ht(Pt([t,11,31+e-n]),e,n).week}function Oe(t){var e=ht(this,this.localeData()._week.dow,this.localeData()._week.doy).year;return null==t?e:this.add(t-e,"y")}function Ne(t){var e=ht(this,1,4).year;return null==t?e:this.add(t-e,"y")}function Le(){return Ie(this.year(),1,4)}function Fe(){var t=this.localeData()._week;return Ie(this.year(),t.dow,t.doy)}function ze(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}function je(t,e){return"string"!=typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"==typeof t?t:null):parseInt(t,10)}function Re(t){return this._weekdays[t.day()]}function He(t){return this._weekdaysShort[t.day()]}function Ye(t){return this._weekdaysMin[t.day()]}function Be(t){var e,n,i;for(this._weekdaysParse=this._weekdaysParse||[],e=0;7>e;e++)if(this._weekdaysParse[e]||(n=Pt([2e3,1]).day(e),i="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[e]=RegExp(i.replace(".",""),"i")),this._weekdaysParse[e].test(t))return e}function Ue(t){var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=je(t,this.localeData()),this.add(t-e,"d")):e}function We(t){var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function Ve(t){return null==t?this.day()||7:this.day(this.day()%7?t:t-7)}function qe(t,e){L(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function Xe(t,e){return e._meridiemParse}function $e(t){return"p"===(t+"").toLowerCase().charAt(0)}function Ge(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}function Ze(t,e){e[vr]=y(1e3*("0."+t))}function Ke(){return this._isUTC?"UTC":""}function Qe(){return this._isUTC?"Coordinated Universal Time":""}function Je(t){return Pt(1e3*t)}function tn(){return Pt.apply(null,arguments).parseZone()}function en(t,e,n){var i=this._calendar[t];return"function"==typeof i?i.call(e,n):i}function nn(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])}function rn(){return this._invalidDate}function on(t){return this._ordinal.replace("%d",t)}function sn(t){return t}function an(t,e,n,i){var r=this._relativeTime[n];return"function"==typeof r?r(t,e,n,i):r.replace(/%d/i,t)}function ln(t,e){var n=this._relativeTime[t>0?"future":"past"];return"function"==typeof n?n(e):n.replace(/%s/i,e)}function un(t){var e,n;for(n in t)e=t[n],"function"==typeof e?this[n]=e:this["_"+n]=e;this._ordinalParseLenient=RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function cn(t,e,n,i){var r=T(),o=u().set(i,e);return r[n](o,t)}function hn(t,e,n,i,r){var o,s;if("number"==typeof t&&(e=t,t=void 0),t=t||"",null!=e)return cn(t,e,n,r);for(s=[],o=0;i>o;o++)s[o]=cn(t,o,n,r);return s}function fn(t,e){return hn(t,e,"months",12,"month")}function dn(t,e){return hn(t,e,"monthsShort",12,"month")}function pn(t,e){return hn(t,e,"weekdays",7,"day")}function gn(t,e){return hn(t,e,"weekdaysShort",7,"day")}function mn(t,e){return hn(t,e,"weekdaysMin",7,"day")}function vn(){var t=this._data;return this._milliseconds=_i(this._milliseconds),this._days=_i(this._days),this._months=_i(this._months),t.milliseconds=_i(t.milliseconds),t.seconds=_i(t.seconds),t.minutes=_i(t.minutes),t.hours=_i(t.hours),t.months=_i(t.months),t.years=_i(t.years),this}function yn(t,e,n,i){var r=Qt(e,n);return t._milliseconds+=i*r._milliseconds,t._days+=i*r._days,t._months+=i*r._months,t._bubble()}function bn(t,e){return yn(this,t,e,1)}function _n(t,e){return yn(this,t,e,-1)}function wn(t){return 0>t?Math.floor(t):Math.ceil(t)}function xn(){var t,e,n,i,r,o=this._milliseconds,s=this._days,a=this._months,l=this._data;return o>=0&&s>=0&&a>=0||0>=o&&0>=s&&0>=a||(o+=864e5*wn(Sn(a)+s),s=0,a=0),l.milliseconds=o%1e3,t=v(o/1e3),l.seconds=t%60,e=v(t/60),l.minutes=e%60,n=v(e/60),l.hours=n%24,s+=v(n/24),r=v(kn(s)),a+=r,s-=wn(Sn(r)),i=v(a/12),a%=12,l.days=s,l.months=a,l.years=i,this}function kn(t){return 4800*t/146097}function Sn(t){return 146097*t/4800}function Cn(t){var e,n,i=this._milliseconds;if(t=M(t),"month"===t||"year"===t)return e=this._days+i/864e5,n=this._months+kn(e),"month"===t?n:n/12;switch(e=this._days+Math.round(Sn(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw Error("Unknown unit "+t)}}function Tn(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*y(this._months/12)}function Dn(t){return function(){return this.as(t)}}function Mn(t){return t=M(t),this[t+"s"]()}function En(t){return function(){return this._data[t]}}function An(){return v(this.days()/7)}function Pn(t,e,n,i,r){return r.relativeTime(e||1,!!n,t,i)}function In(t,e,n){var i=Qt(t).abs(),r=Fi(i.as("s")),o=Fi(i.as("m")),s=Fi(i.as("h")),a=Fi(i.as("d")),l=Fi(i.as("M")),u=Fi(i.as("y")),c=r<zi.s&&["s",r]||1===o&&["m"]||o<zi.m&&["mm",o]||1===s&&["h"]||s<zi.h&&["hh",s]||1===a&&["d"]||a<zi.d&&["dd",a]||1===l&&["M"]||l<zi.M&&["MM",l]||1===u&&["y"]||["yy",u];return c[2]=e,c[3]=+t>0,c[4]=n,Pn.apply(null,c)}function On(t,e){return void 0===zi[t]?!1:void 0===e?zi[t]:(zi[t]=e,!0)}function Nn(t){var e=this.localeData(),n=In(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)}function Ln(){var t,e,n,i,r,o,s,a,l=ji(this._milliseconds)/1e3,u=ji(this._days),c=ji(this._months),h=v(l/60),f=v(h/60);return l%=60,h%=60,t=v(c/12),c%=12,e=t,n=c,i=u,r=f,o=h,s=l,a=this.asSeconds(),a?(0>a?"-":"")+"P"+(e?e+"Y":"")+(n?n+"M":"")+(i?i+"D":"")+(r||o||s?"T":"")+(r?r+"H":"")+(o?o+"M":"")+(s?s+"S":""):"P0D"}var Fn,zn,jn,Rn,Hn,Yn,Bn,Un,Wn,Vn,qn,Xn,$n,Gn,Zn,Kn,Qn,Jn,ti,ei,ni,ii,ri,oi,si,ai,li,ui,ci,hi,fi,di,pi,gi,mi,vi,yi,bi,_i,wi,xi,ki,Si,Ci,Ti,Di,Mi,Ei,Ai,Pi,Ii,Oi,Ni,Li,Fi,zi,ji,Ri,Hi,Yi=e.momentProperties=[],Bi=!1,Ui={},Wi={},Vi=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,qi=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Xi={},$i={},Gi=/\d/,Zi=/\d\d/,Ki=/\d{3}/,Qi=/\d{4}/,Ji=/[+-]?\d{6}/,tr=/\d\d?/,er=/\d{1,3}/,nr=/\d{1,4}/,ir=/[+-]?\d{1,6}/,rr=/\d+/,or=/[+-]?\d+/,sr=/Z|[+-]\d\d:?\d\d/gi,ar=/[+-]?\d+(\.\d{1,3})?/,lr=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,ur={},cr={},hr=0,fr=1,dr=2,pr=3,gr=4,mr=5,vr=6;for(L("M",["MM",2],"Mo",function(){return this.month()+1}),L("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),L("MMMM",0,0,function(t){return this.localeData().months(this,t)}),D("month","M"),Y("M",tr),Y("MM",tr,Zi),Y("MMM",lr),Y("MMMM",lr),W(["M","MM"],function(t,e){e[fr]=y(t)-1}),W(["MMM","MMMM"],function(t,e,n,i){var r=n._locale.monthsParse(t,i,n._strict);null!=r?e[fr]=r:h(n).invalidMonth=t}),jn="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Rn="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Hn={},e.suppressDeprecationWarnings=!1,Yn=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Bn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],Un=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],Wn=/^\/?Date\((\-?\d+)/i,e.createFromInputFallback=nt("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),L(0,["YY",2],0,function(){return this.year()%100}),L(0,["YYYY",4],0,"year"),L(0,["YYYYY",5],0,"year"),L(0,["YYYYYY",6,!0],0,"year"),D("year","y"),Y("Y",or),Y("YY",tr,Zi),Y("YYYY",nr,Qi),Y("YYYYY",ir,Ji),Y("YYYYYY",ir,Ji),W(["YYYYY","YYYYYY"],hr),W("YYYY",function(t,n){n[hr]=2===t.length?e.parseTwoDigitYear(t):y(t)}),W("YY",function(t,n){n[hr]=e.parseTwoDigitYear(t)}),e.parseTwoDigitYear=function(t){return y(t)+(y(t)>68?1900:2e3)},Vn=A("FullYear",!1),L("w",["ww",2],"wo","week"),L("W",["WW",2],"Wo","isoWeek"),D("week","w"),D("isoWeek","W"),Y("w",tr),Y("ww",tr,Zi),Y("W",tr),Y("WW",tr,Zi),V(["w","ww","W","WW"],function(t,e,n,i){e[i.substr(0,1)]=y(t)}),qn={dow:0,doy:6},L("DDD",["DDDD",3],"DDDo","dayOfYear"),D("dayOfYear","DDD"),Y("DDD",er),Y("DDDD",Ki),W(["DDD","DDDD"],function(t,e,n){n._dayOfYear=y(t)}),e.ISO_8601=function(){},Xn=nt("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var t=Pt.apply(null,arguments);return this>t?this:t}),$n=nt("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var t=Pt.apply(null,arguments);return t>this?this:t}),zt("Z",":"),zt("ZZ",""),Y("Z",sr),Y("ZZ",sr),W(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=jt(t)}),Gn=/([\+\-]|\d\d)/gi,e.updateOffset=function(){},Zn=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,Kn=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/,Qt.fn=Lt.prototype,Qn=ne(1,"add"),Jn=ne(-1,"subtract"),e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",ti=nt("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)}),L(0,["gg",2],0,function(){return this.weekYear()%100}),L(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Pe("gggg","weekYear"),Pe("ggggg","weekYear"),Pe("GGGG","isoWeekYear"),Pe("GGGGG","isoWeekYear"),D("weekYear","gg"),D("isoWeekYear","GG"),Y("G",or),Y("g",or),Y("GG",tr,Zi),Y("gg",tr,Zi),Y("GGGG",nr,Qi),Y("gggg",nr,Qi),Y("GGGGG",ir,Ji),Y("ggggg",ir,Ji),V(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,i){e[i.substr(0,2)]=y(t)}),V(["gg","GG"],function(t,n,i,r){n[r]=e.parseTwoDigitYear(t)}),L("Q",0,0,"quarter"),D("quarter","Q"),Y("Q",Gi),W("Q",function(t,e){e[fr]=3*(y(t)-1)}),L("D",["DD",2],"Do","date"),D("date","D"),Y("D",tr),Y("DD",tr,Zi),Y("Do",function(t,e){return t?e._ordinalParse:e._ordinalParseLenient}),W(["D","DD"],dr),W("Do",function(t,e){e[dr]=y(t.match(tr)[0],10)}),ei=A("Date",!0),L("d",0,"do","day"),L("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),L("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),L("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),L("e",0,0,"weekday"),L("E",0,0,"isoWeekday"),D("day","d"),D("weekday","e"),D("isoWeekday","E"),Y("d",tr),Y("e",tr),Y("E",tr),Y("dd",lr),Y("ddd",lr),Y("dddd",lr),V(["dd","ddd","dddd"],function(t,e,n){var i=n._locale.weekdaysParse(t);null!=i?e.d=i:h(n).invalidWeekday=t}),V(["d","e","E"],function(t,e,n,i){e[i]=y(t)}),ni="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ii="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ri="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),L("H",["HH",2],0,"hour"),L("h",["hh",2],0,function(){return this.hours()%12||12}),qe("a",!0),qe("A",!1),D("hour","h"),Y("a",Xe),Y("A",Xe),Y("H",tr),Y("h",tr),Y("HH",tr,Zi),Y("hh",tr,Zi),W(["H","HH"],pr),W(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),W(["h","hh"],function(t,e,n){e[pr]=y(t),h(n).bigHour=!0}),oi=/[ap]\.?m?\.?/i,si=A("Hours",!0),L("m",["mm",2],0,"minute"),D("minute","m"),Y("m",tr),Y("mm",tr,Zi),W(["m","mm"],gr),ai=A("Minutes",!1),L("s",["ss",2],0,"second"),D("second","s"),Y("s",tr),Y("ss",tr,Zi),W(["s","ss"],mr),li=A("Seconds",!1),L("S",0,0,function(){return~~(this.millisecond()/100)}),L(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),L(0,["SSS",3],0,"millisecond"),L(0,["SSSS",4],0,function(){return 10*this.millisecond()}),L(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),L(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),L(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),L(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),L(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),D("millisecond","ms"),Y("S",er,Gi),Y("SS",er,Zi),Y("SSS",er,Ki),ui="SSSS";ui.length<=9;ui+="S")Y(ui,rr);
|
||
for(ui="S";ui.length<=9;ui+="S")W(ui,Ze);return ci=A("Milliseconds",!1),L("z",0,0,"zoneAbbr"),L("zz",0,0,"zoneName"),hi=g.prototype,hi.add=Qn,hi.calendar=re,hi.clone=oe,hi.diff=ce,hi.endOf=xe,hi.format=pe,hi.from=ge,hi.fromNow=me,hi.to=ve,hi.toNow=ye,hi.get=O,hi.invalidAt=Ae,hi.isAfter=se,hi.isBefore=ae,hi.isBetween=le,hi.isSame=ue,hi.isValid=Me,hi.lang=ti,hi.locale=be,hi.localeData=_e,hi.max=$n,hi.min=Xn,hi.parsingFlags=Ee,hi.set=O,hi.startOf=we,hi.subtract=Jn,hi.toArray=Te,hi.toObject=De,hi.toDate=Ce,hi.toISOString=de,hi.toJSON=de,hi.toString=fe,hi.unix=Se,hi.valueOf=ke,hi.year=Vn,hi.isLeapYear=ct,hi.weekYear=Oe,hi.isoWeekYear=Ne,hi.quarter=hi.quarters=ze,hi.month=Q,hi.daysInMonth=J,hi.week=hi.weeks=gt,hi.isoWeek=hi.isoWeeks=mt,hi.weeksInYear=Fe,hi.isoWeeksInYear=Le,hi.date=ei,hi.day=hi.days=Ue,hi.weekday=We,hi.isoWeekday=Ve,hi.dayOfYear=yt,hi.hour=hi.hours=si,hi.minute=hi.minutes=ai,hi.second=hi.seconds=li,hi.millisecond=hi.milliseconds=ci,hi.utcOffset=Yt,hi.utc=Ut,hi.local=Wt,hi.parseZone=Vt,hi.hasAlignedHourOffset=qt,hi.isDST=Xt,hi.isDSTShifted=$t,hi.isLocal=Gt,hi.isUtcOffset=Zt,hi.isUtc=Kt,hi.isUTC=Kt,hi.zoneAbbr=Ke,hi.zoneName=Qe,hi.dates=nt("dates accessor is deprecated. Use date instead.",ei),hi.months=nt("months accessor is deprecated. Use month instead",Q),hi.years=nt("years accessor is deprecated. Use year instead",Vn),hi.zone=nt("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",Bt),fi=hi,di={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},pi={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},gi="Invalid date",mi="%d",vi=/\d{1,2}/,yi={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},bi=_.prototype,bi._calendar=di,bi.calendar=en,bi._longDateFormat=pi,bi.longDateFormat=nn,bi._invalidDate=gi,bi.invalidDate=rn,bi._ordinal=mi,bi.ordinal=on,bi._ordinalParse=vi,bi.preparse=sn,bi.postformat=sn,bi._relativeTime=yi,bi.relativeTime=an,bi.pastFuture=ln,bi.set=un,bi.months=$,bi._months=jn,bi.monthsShort=G,bi._monthsShort=Rn,bi.monthsParse=Z,bi.week=ft,bi._week=qn,bi.firstDayOfYear=pt,bi.firstDayOfWeek=dt,bi.weekdays=Re,bi._weekdays=ni,bi.weekdaysMin=Ye,bi._weekdaysMin=ri,bi.weekdaysShort=He,bi._weekdaysShort=ii,bi.weekdaysParse=Be,bi.isPM=$e,bi._meridiemParse=oi,bi.meridiem=Ge,S("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=1===y(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}}),e.lang=nt("moment.lang is deprecated. Use moment.locale instead.",S),e.langData=nt("moment.langData is deprecated. Use moment.localeData instead.",T),_i=Math.abs,wi=Dn("ms"),xi=Dn("s"),ki=Dn("m"),Si=Dn("h"),Ci=Dn("d"),Ti=Dn("w"),Di=Dn("M"),Mi=Dn("y"),Ei=En("milliseconds"),Ai=En("seconds"),Pi=En("minutes"),Ii=En("hours"),Oi=En("days"),Ni=En("months"),Li=En("years"),Fi=Math.round,zi={s:45,m:45,h:22,d:26,M:11},ji=Math.abs,Ri=Lt.prototype,Ri.abs=vn,Ri.add=bn,Ri.subtract=_n,Ri.as=Cn,Ri.asMilliseconds=wi,Ri.asSeconds=xi,Ri.asMinutes=ki,Ri.asHours=Si,Ri.asDays=Ci,Ri.asWeeks=Ti,Ri.asMonths=Di,Ri.asYears=Mi,Ri.valueOf=Tn,Ri._bubble=xn,Ri.get=Mn,Ri.milliseconds=Ei,Ri.seconds=Ai,Ri.minutes=Pi,Ri.hours=Ii,Ri.days=Oi,Ri.weeks=An,Ri.months=Ni,Ri.years=Li,Ri.humanize=Nn,Ri.toISOString=Ln,Ri.toString=Ln,Ri.toJSON=Ln,Ri.locale=be,Ri.localeData=_e,Ri.toIsoString=nt("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ln),Ri.lang=ti,L("X",0,0,"unix"),L("x",0,0,"valueOf"),Y("x",or),Y("X",ar),W("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),W("x",function(t,e,n){n._d=new Date(y(t))}),e.version="2.10.6",i(Pt),e.fn=fi,e.min=Ot,e.max=Nt,e.utc=u,e.unix=Je,e.months=fn,e.isDate=o,e.locale=S,e.invalid=d,e.duration=Qt,e.isMoment=m,e.weekdays=pn,e.parseZone=tn,e.localeData=T,e.isDuration=Ft,e.monthsShort=dn,e.weekdaysMin=mn,e.defineLocale=C,e.weekdaysShort=gn,e.normalizeUnits=M,e.relativeTimeThreshold=On,Hi=e})}).call(e,n(2)(t))},function(t,e,n){function i(t){return n(r(t))}function r(t){return o[t]||function(){throw Error("Cannot find module '"+t+"'.")}()}var o={"./en-gb":8,"./en-gb.js":8,"./ja":9,"./ja.js":9,"./ru":10,"./ru.js":10};i.keys=function(){return Object.keys(o)},i.resolve=r,t.exports=i,i.id=7},function(t,e,n){!function(t,e){e(n(6))}(this,function(t){"use strict";var e=t.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n},week:{dow:1,doy:4}});return e})},function(t,e,n){!function(t,e){e(n(6))}(this,function(t){"use strict";var e=t.defineLocale("ja",{months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"Ah時m分",LTS:"Ah時m分s秒",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah時m分",LLLL:"YYYY年M月D日Ah時m分 dddd"},meridiemParse:/午前|午後/i,isPM:function(t){return"午後"===t},meridiem:function(t,e,n){return 12>t?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:"[来週]dddd LT",lastDay:"[昨日] LT",lastWeek:"[前週]dddd LT",sameElse:"L"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}});return e})},function(t,e,n){!function(t,e){e(n(6))}(this,function(t){"use strict";function e(t,e){var n=t.split("_");return e%10===1&&e%100!==11?n[0]:e%10>=2&&4>=e%10&&(10>e%100||e%100>=20)?n[1]:n[2]}function n(t,n,i){var r={mm:n?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===i?n?"минута":"минуту":t+" "+e(r[i],+t)}function i(t,e){var n={nominative:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),accusative:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_")},i=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(e)?"accusative":"nominative";return n[i][t.month()]}function r(t,e){var n={nominative:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),accusative:"янв_фев_мар_апр_мая_июня_июля_авг_сен_окт_ноя_дек".split("_")},i=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(e)?"accusative":"nominative";return n[i][t.month()]}function o(t,e){var n={nominative:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),accusative:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_")},i=/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/.test(e)?"accusative":"nominative";return n[i][t.day()]}var s=t.defineLocale("ru",{months:i,monthsShort:r,weekdays:o,weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[й|я]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сегодня в] LT",nextDay:"[Завтра в] LT",lastDay:"[Вчера в] LT",nextWeek:function(){return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT"},lastWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:n,mm:n,h:"час",hh:n,d:"день",dd:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(t){return/^(дня|вечера)$/.test(t)},meridiem:function(t,e,n){return 4>t?"ночи":12>t?"утра":17>t?"дня":"вечера"},ordinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-й";case"D":return t+"-го";case"w":case"W":return t+"-я";default:return t}},week:{dow:1,doy:7}});return s})},,,,,,,,,,,,,,,,function(t,e,n){(function(e){t.exports=e.svgAsset=n(27)}).call(e,function(){return this}())},function(t,e,n){(function(t){"use strict";var e=function(){var t,e={},n=function(e,i){var r,o,s,a,l=n.code(e);if("string"==typeof i){if(r=/^\s*(\d*)\s*x\s*(\d*)\s*$/i.exec(i),!r)throw new TypeError("attrs must be an object or size string");i={},r[1]&&(i.width=r[1]),r[2]&&(i.height=r[2])}for(t||(t=document.createElement("div")),t.innerHTML=l,o=0;o<t.childNodes.length;o++)if(s=t.childNodes[o],1===s.nodeType){if(t.removeChild(s),i)for(a in i)s.setAttribute(a,i[a]);return s}};return n.register=function(t){for(var n in t)e[n]=""+t[n]},n.code=function(t){var n=e[t];return n||(n='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"></svg>',window.console&&console.error&&console.error('svgAsset: "'+t+'" was not registered')),n},n}();void 0!==t&&t&&t.exports&&(t.exports=e)}).call(e,n(2)(t))},,,,,,function(t,e,n){(function(e){t.exports=e.Mustache=n(34)}).call(e,function(){return this}())},function(t,e,n){var i,r,o;!function(n,s){"object"==typeof e&&e&&"string"!=typeof e.nodeName?s(e):(r=[e],i=s,o="function"==typeof i?i.apply(e,r):i,!(void 0!==o&&(t.exports=o)))}(this,function(t){function e(t){return"function"==typeof t}function n(t){return m(t)?"array":typeof t}function i(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function r(t,e){return null!=t&&"object"==typeof t&&e in t}function o(t,e){return v.call(t,e)}function s(t){return!o(y,t)}function a(t){return(t+"").replace(/[&<>"'`=\/]/g,function(t){return b[t]})}function l(e,n){function r(){if(d&&!p)for(;f.length;)delete l[f.pop()];else f=[];d=!1,p=!1}function o(t){if("string"==typeof t&&(t=t.split(w,2)),!m(t)||2!==t.length)throw Error("Invalid tags: "+t);g=RegExp(i(t[0])+"\\s*"),v=RegExp("\\s*"+i(t[1])),y=RegExp("\\s*"+i("}"+t[1]))}var a,l,f,d,p,g,v,y,b,C,T,D,M,E,A,P,I;if(!e)return[];for(a=[],l=[],f=[],d=!1,p=!1,o(n||t.tags),b=new h(e);!b.eos();){if(C=b.pos,D=b.scanUntil(g))for(P=0,I=D.length;I>P;++P)M=D.charAt(P),s(M)?f.push(l.length):p=!0,l.push(["text",M,C,C+1]),C+=1,"\n"===M&&r();if(!b.scan(g))break;if(d=!0,T=b.scan(S)||"name",b.scan(_),"="===T?(D=b.scanUntil(x),b.scan(x),b.scanUntil(v)):"{"===T?(D=b.scanUntil(y),b.scan(k),b.scanUntil(v),T="&"):D=b.scanUntil(v),!b.scan(v))throw Error("Unclosed tag at "+b.pos);if(E=[T,D,C,b.pos],l.push(E),"#"===T||"^"===T)a.push(E);else if("/"===T){if(A=a.pop(),!A)throw Error('Unopened section "'+D+'" at '+C);if(A[1]!==D)throw Error('Unclosed section "'+A[1]+'" at '+C)}else"name"===T||"{"===T||"&"===T?p=!0:"="===T&&o(D)}if(A=a.pop())throw Error('Unclosed section "'+A[1]+'" at '+b.pos);return c(u(l))}function u(t){var e,n,i,r,o=[];for(i=0,r=t.length;r>i;++i)e=t[i],e&&("text"===e[0]&&n&&"text"===n[0]?(n[1]+=e[1],n[3]=e[3]):(o.push(e),n=e));return o}function c(t){var e,n,i,r,o=[],s=o,a=[];for(i=0,r=t.length;r>i;++i)switch(e=t[i],e[0]){case"#":case"^":s.push(e),a.push(e),s=e[4]=[];break;case"/":n=a.pop(),n[5]=e[2],s=a.length>0?a[a.length-1][4]:o;break;default:s.push(e)}return o}function h(t){this.string=t,this.tail=t,this.pos=0}function f(t,e){this.view=t,this.cache={".":this.view},this.parent=e}function d(){this.cache={}}var p,g=Object.prototype.toString,m=Array.isArray||function(t){return"[object Array]"===g.call(t)},v=RegExp.prototype.test,y=/\S/,b={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="},_=/\s*/,w=/\s+/,x=/\s*=/,k=/\s*\}/,S=/#|\^|\/|>|\{|&|=|!/;h.prototype.eos=function(){return""===this.tail},h.prototype.scan=function(t){var e,n=this.tail.match(t);return n&&0===n.index?(e=n[0],this.tail=this.tail.substring(e.length),this.pos+=e.length,e):""},h.prototype.scanUntil=function(t){var e,n=this.tail.search(t);switch(n){case-1:e=this.tail,this.tail="";break;case 0:e="";break;default:e=this.tail.substring(0,n),this.tail=this.tail.substring(n)}return this.pos+=e.length,e},f.prototype.push=function(t){return new f(t,this)},f.prototype.lookup=function(t){var n,i,o,s,a,l=this.cache;if(l.hasOwnProperty(t))n=l[t];else{for(i=this,a=!1;i;){if(t.indexOf(".")>0)for(n=i.view,o=t.split("."),s=0;null!=n&&s<o.length;)s===o.length-1&&(a=r(n,o[s])),n=n[o[s++]];else n=i.view[t],a=r(i.view,t);if(a)break;i=i.parent}l[t]=n}return e(n)&&(n=n.call(this.view)),n},d.prototype.clearCache=function(){this.cache={}},d.prototype.parse=function(t,e){var n=this.cache,i=n[t];return null==i&&(i=n[t]=l(t,e)),i},d.prototype.render=function(t,e,n){var i=this.parse(t),r=e instanceof f?e:new f(e);return this.renderTokens(i,r,n,t)},d.prototype.renderTokens=function(t,e,n,i){var r,o,s,a,l,u="";for(a=0,l=t.length;l>a;++a)s=void 0,r=t[a],o=r[0],"#"===o?s=this.renderSection(r,e,n,i):"^"===o?s=this.renderInverted(r,e,n,i):">"===o?s=this.renderPartial(r,e,n,i):"&"===o?s=this.unescapedValue(r,e):"name"===o?s=this.escapedValue(r,e):"text"===o&&(s=this.rawValue(r)),void 0!==s&&(u+=s);return u},d.prototype.renderSection=function(t,n,i,r){function o(t){return l.render(t,n,i)}var s,a,l=this,u="",c=n.lookup(t[1]);if(c){if(m(c))for(s=0,a=c.length;a>s;++s)u+=this.renderTokens(t[4],n.push(c[s]),i,r);else if("object"==typeof c||"string"==typeof c||"number"==typeof c)u+=this.renderTokens(t[4],n.push(c),i,r);else if(e(c)){if("string"!=typeof r)throw Error("Cannot use higher-order sections without the original template");c=c.call(n.view,r.slice(t[3],t[5]),o),null!=c&&(u+=c)}else u+=this.renderTokens(t[4],n,i,r);return u}},d.prototype.renderInverted=function(t,e,n,i){var r=e.lookup(t[1]);return!r||m(r)&&0===r.length?this.renderTokens(t[4],e,n,i):void 0},d.prototype.renderPartial=function(t,n,i){if(i){var r=e(i)?i(t[1]):i[t[1]];return null!=r?this.renderTokens(this.parse(r),n,i,r):void 0}},d.prototype.unescapedValue=function(t,e){var n=e.lookup(t[1]);return null!=n?n:void 0},d.prototype.escapedValue=function(e,n){var i=n.lookup(e[1]);return null!=i?t.escape(i):void 0},d.prototype.rawValue=function(t){return t[1]},t.name="mustache.js",t.version="2.2.1",t.tags=["{{","}}"],p=new d,t.clearCache=function(){return p.clearCache()},t.parse=function(t,e){return p.parse(t,e)},t.render=function(t,e,i){if("string"!=typeof t)throw new TypeError('Invalid template! Template should be a "string" but "'+n(t)+'" was given as the first argument for mustache#render(template, view, partials)');return p.render(t,e,i)},t.to_html=function(n,i,r,o){var s=t.render(n,i,r);return e(o)?void o(s):s},t.escape=a,t.Scanner=h,t.Context=f,t.Writer=d})},function(t,e,n){var i;(function(r){!function(r,o){"use strict";var s,a,l,u,c,h,f,d,p,g,m,v,y,b,_,w,x,k,S,C,T,D,M,E=r,A=E.document,P=E.navigator,I=E.setTimeout,O=E.clearTimeout,N=E.setInterval,L=E.clearInterval,F=E.getComputedStyle,z=E.encodeURIComponent,j=E.ActiveXObject,R=E.Error,H=E.Number.parseInt||E.parseInt,Y=E.Number.parseFloat||E.parseFloat,B=E.Number.isNaN||E.isNaN,U=E.Date.now,W=E.Object.keys,V=E.Object.defineProperty,q=E.Object.prototype.hasOwnProperty,X=E.Array.prototype.slice,$=function(){var t,e,n=function(t){return t};if("function"==typeof E.wrap&&"function"==typeof E.unwrap)try{t=A.createElement("div"),e=E.unwrap(t),1===t.nodeType&&e&&1===e.nodeType&&(n=E.unwrap)}catch(i){}return n}(),G=function(t){return X.call(t,0)},Z=function(){var t,e,n,i,r,s,a=G(arguments),l=a[0]||{};for(t=1,e=a.length;e>t;t++)if(null!=(n=a[t]))for(i in n)q.call(n,i)&&(r=l[i],s=n[i],l!==s&&s!==o&&(l[i]=s));return l},K=function(t){var e,n,i,r;if("object"!=typeof t||null==t||"number"==typeof t.nodeType)e=t;else if("number"==typeof t.length)for(e=[],n=0,i=t.length;i>n;n++)q.call(t,n)&&(e[n]=K(t[n]));else{e={};for(r in t)q.call(t,r)&&(e[r]=K(t[r]))}return e},Q=function(t,e){var n,i,r={};for(n=0,i=e.length;i>n;n++)e[n]in t&&(r[e[n]]=t[e[n]]);return r},J=function(t,e){var n,i={};for(n in t)-1===e.indexOf(n)&&(i[n]=t[n]);return i},tt=function(t){if(t)for(var e in t)q.call(t,e)&&delete t[e];return t},et=function(t,e){if(t&&1===t.nodeType&&t.ownerDocument&&e&&(1===e.nodeType&&e.ownerDocument&&e.ownerDocument===t.ownerDocument||9===e.nodeType&&!e.ownerDocument&&e===t.ownerDocument))do{if(t===e)return!0;t=t.parentNode}while(t);return!1},nt=function(t){var e;return"string"==typeof t&&t&&(e=t.split("#")[0].split("?")[0],e=t.slice(0,t.lastIndexOf("/")+1)),e},it=function(t){var e,n;return"string"==typeof t&&t&&(n=t.match(/^(?:|[^:@]*@|.+\)@(?=http[s]?|file)|.+?\s+(?: at |@)(?:[^:\(]+ )*[\(]?)((?:http[s]?|file):\/\/[\/]?.+?\/[^:\)]*?)(?::\d+)(?::\d+)?/),n&&n[1]?e=n[1]:(n=t.match(/\)@((?:http[s]?|file):\/\/[\/]?.+?\/[^:\)]*?)(?::\d+)(?::\d+)?/),n&&n[1]&&(e=n[1]))),e},rt=function(){var t,e;try{throw new R}catch(n){e=n}return e&&(t=e.sourceURL||e.fileName||it(e.stack)),t},ot=function(){var t,e,n;if(A.currentScript&&(t=A.currentScript.src))return t;if(e=A.getElementsByTagName("script"),1===e.length)return e[0].src||o;if("readyState"in e[0])for(n=e.length;n--;)if("interactive"===e[n].readyState&&(t=e[n].src))return t;return"loading"===A.readyState&&(t=e[e.length-1].src)?t:(t=rt())?t:o},st=function(){var t,e,n,i=A.getElementsByTagName("script");for(t=i.length;t--;){if(!(n=i[t].src)){e=null;break}if(n=nt(n),null==e)e=n;else if(e!==n){e=null;break}}return e||o},at=function(){var t=nt(ot())||st()||"";return t+"ZeroClipboard.swf"},lt=function(){return null==r.opener&&(!!r.top&&r!=r.top||!!r.parent&&r!=r.parent)}(),ut={bridge:null,version:"0.0.0",pluginType:"unknown",disabled:null,outdated:null,sandboxed:null,unavailable:null,degraded:null,deactivated:null,overdue:null,ready:null},ct="11.0.0",ht={},ft={},dt=null,pt=0,gt=0,mt={ready:"Flash communication is established",error:{"flash-disabled":"Flash is disabled or not installed. May also be attempting to run Flash in a sandboxed iframe, which is impossible.","flash-outdated":"Flash is too outdated to support ZeroClipboard","flash-sandboxed":"Attempting to run Flash in a sandboxed iframe, which is impossible","flash-unavailable":"Flash is unable to communicate bidirectionally with JavaScript","flash-degraded":"Flash is unable to preserve data fidelity when communicating with JavaScript","flash-deactivated":"Flash is too outdated for your browser and/or is configured as click-to-activate.\nThis may also mean that the ZeroClipboard SWF object could not be loaded, so please check your `swfPath` configuration and/or network connectivity.\nMay also be attempting to run Flash in a sandboxed iframe, which is impossible.","flash-overdue":"Flash communication was established but NOT within the acceptable time limit","version-mismatch":"ZeroClipboard JS version number does not match ZeroClipboard SWF version number","clipboard-error":"At least one error was thrown while ZeroClipboard was attempting to inject your data into the clipboard","config-mismatch":"ZeroClipboard configuration does not match Flash's reality","swf-not-found":"The ZeroClipboard SWF object could not be loaded, so please check your `swfPath` configuration and/or network connectivity"}},vt=["flash-unavailable","flash-degraded","flash-overdue","version-mismatch","config-mismatch","clipboard-error"],yt=["flash-disabled","flash-outdated","flash-sandboxed","flash-unavailable","flash-degraded","flash-deactivated","flash-overdue"],bt=RegExp("^flash-("+yt.map(function(t){return t.replace(/^flash-/,"")}).join("|")+")$"),_t=RegExp("^flash-("+yt.slice(1).map(function(t){return t.replace(/^flash-/,"")}).join("|")+")$"),wt={swfPath:at(),trustedDomains:r.location.host?[r.location.host]:[],cacheBust:!0,forceEnhancedClipboard:!1,flashLoadTimeout:3e4,autoActivate:!0,bubbleEvents:!0,containerId:"global-zeroclipboard-html-bridge",containerClass:"global-zeroclipboard-container",swfObjectId:"global-zeroclipboard-flash-bridge",hoverClass:"zeroclipboard-is-hover",activeClass:"zeroclipboard-is-active",forceHandCursor:!1,title:null,zIndex:999999999},xt=function(t){if("object"==typeof t&&null!==t)for(var e in t)if(q.call(t,e))if(/^(?:forceHandCursor|title|zIndex|bubbleEvents)$/.test(e))wt[e]=t[e];else if(null==ut.bridge)if("containerId"===e||"swfObjectId"===e){if(!zt(t[e]))throw Error("The specified `"+e+"` value is not valid as an HTML4 Element ID");wt[e]=t[e]}else wt[e]=t[e];{if("string"!=typeof t||!t)return K(wt);if(q.call(wt,t))return wt[t]}},kt=function(){return ge(),{browser:Q(P,["userAgent","platform","appName"]),flash:J(ut,["bridge"]),zeroclipboard:{version:u.version,config:u.config()}}},St=function(){return!!(ut.disabled||ut.outdated||ut.sandboxed||ut.unavailable||ut.degraded||ut.deactivated)},Ct=function(t,e){var n,i,r,a={};if("string"==typeof t&&t)r=t.toLowerCase().split(/\s+/);else if("object"==typeof t&&t&&o===e)for(n in t)q.call(t,n)&&"string"==typeof n&&n&&"function"==typeof t[n]&&u.on(n,t[n]);if(r&&r.length){for(n=0,i=r.length;i>n;n++)t=r[n].replace(/^on/,""),a[t]=!0,ht[t]||(ht[t]=[]),ht[t].push(e);if(a.ready&&ut.ready&&u.emit({type:"ready"}),a.error){for(n=0,i=yt.length;i>n;n++)if(ut[yt[n].replace(/^flash-/,"")]===!0){u.emit({type:"error",name:yt[n]});break}s!==o&&u.version!==s&&u.emit({type:"error",name:"version-mismatch",jsVersion:u.version,swfVersion:s})}}return u},Tt=function(t,e){var n,i,r,s,a;if(0===arguments.length)s=W(ht);else if("string"==typeof t&&t)s=t.split(/\s+/);else if("object"==typeof t&&t&&o===e)for(n in t)q.call(t,n)&&"string"==typeof n&&n&&"function"==typeof t[n]&&u.off(n,t[n]);if(s&&s.length)for(n=0,i=s.length;i>n;n++)if(t=s[n].toLowerCase().replace(/^on/,""),a=ht[t],a&&a.length)if(e)for(r=a.indexOf(e);-1!==r;)a.splice(r,1),r=a.indexOf(e,r);else a.length=0;return u},Dt=function(t){var e;return e="string"==typeof t&&t?K(ht[t])||null:K(ht)},Mt=function(t){var e,n,i;return t=jt(t),t&&!Vt(t)?"ready"===t.type&&ut.overdue===!0?u.emit({type:"error",name:"flash-overdue"}):(e=Z({},t),Ut.call(this,e),"copy"===t.type&&(i=Jt(ft),n=i.data,dt=i.formatMap),n):o},Et=function(){var t,e=ut.sandboxed;ge(),"boolean"!=typeof ut.ready&&(ut.ready=!1),ut.sandboxed!==e&&ut.sandboxed===!0?(ut.ready=!1,u.emit({type:"error",name:"flash-sandboxed"})):u.isFlashUnusable()||null!==ut.bridge||(t=wt.flashLoadTimeout,"number"==typeof t&&t>=0&&(pt=I(function(){"boolean"!=typeof ut.deactivated&&(ut.deactivated=!0),ut.deactivated===!0&&u.emit({type:"error",name:"flash-deactivated"})},t)),ut.overdue=!1,Kt())},At=function(){u.clearData(),u.blur(),u.emit("destroy"),Qt(),u.off()},Pt=function(t,e){var n,i;if("object"==typeof t&&t&&o===e)n=t,u.clearData();else{if("string"!=typeof t||!t)return;n={},n[t]=e}for(i in n)"string"==typeof i&&i&&q.call(n,i)&&"string"==typeof n[i]&&n[i]&&(ft[i]=n[i])},It=function(t){o===t?(tt(ft),dt=null):"string"==typeof t&&q.call(ft,t)&&delete ft[t]},Ot=function(t){return o===t?K(ft):"string"==typeof t&&q.call(ft,t)?ft[t]:o},Nt=function(t){var e,n,i;t&&1===t.nodeType&&(a&&(ae(a,wt.activeClass),a!==t&&ae(a,wt.hoverClass)),a=t,se(t,wt.hoverClass),e=t.getAttribute("title")||wt.title,"string"==typeof e&&e&&(n=Zt(ut.bridge),n&&n.setAttribute("title",e)),i=wt.forceHandCursor===!0||"pointer"===le(t,"cursor"),de(i),fe())},Lt=function(){var t=Zt(ut.bridge);t&&(t.removeAttribute("title"),t.style.left="0px",t.style.top="-9999px",t.style.width="1px",t.style.height="1px"),a&&(ae(a,wt.hoverClass),ae(a,wt.activeClass),a=null)},Ft=function(){return a||null},zt=function(t){return"string"==typeof t&&t&&/^[A-Za-z][A-Za-z0-9_:\-\.]*$/.test(t)},jt=function(t){var e,n;return"string"==typeof t&&t?(e=t,t={}):"object"==typeof t&&t&&"string"==typeof t.type&&t.type&&(e=t.type),e?(e=e.toLowerCase(),!t.target&&(/^(copy|aftercopy|_click)$/.test(e)||"error"===e&&"clipboard-error"===t.name)&&(t.target=l),Z(t,{type:e,target:t.target||a||null,relatedTarget:t.relatedTarget||null,currentTarget:ut&&ut.bridge||null,timeStamp:t.timeStamp||U()||null}),n=mt[t.type],"error"===t.type&&t.name&&n&&(n=n[t.name]),n&&(t.message=n),"ready"===t.type&&Z(t,{target:null,version:ut.version}),"error"===t.type&&(bt.test(t.name)&&Z(t,{target:null,minimumVersion:ct}),_t.test(t.name)&&Z(t,{version:ut.version})),"copy"===t.type&&(t.clipboardData={setData:u.setData,clearData:u.clearData}),"aftercopy"===t.type&&(t=te(t,dt)),t.target&&!t.relatedTarget&&(t.relatedTarget=Rt(t.target)),Ht(t)):o},Rt=function(t){var e=t&&t.getAttribute&&t.getAttribute("data-clipboard-target");return e?A.getElementById(e):null},Ht=function(t){var e,n,i,r,s,a,l,u,c,h,f,d,p,g,m,v;return t&&/^_(?:click|mouse(?:over|out|down|up|move))$/.test(t.type)&&(e=t.target,n="_mouseover"===t.type&&t.relatedTarget?t.relatedTarget:o,i="_mouseout"===t.type&&t.relatedTarget?t.relatedTarget:o,r=ue(e),s=E.screenLeft||E.screenX||0,a=E.screenTop||E.screenY||0,l=A.body.scrollLeft+A.documentElement.scrollLeft,u=A.body.scrollTop+A.documentElement.scrollTop,c=r.left+("number"==typeof t._stageX?t._stageX:0),h=r.top+("number"==typeof t._stageY?t._stageY:0),f=c-l,d=h-u,p=s+f,g=a+d,m="number"==typeof t.movementX?t.movementX:0,v="number"==typeof t.movementY?t.movementY:0,delete t._stageX,delete t._stageY,Z(t,{srcElement:e,fromElement:n,toElement:i,screenX:p,screenY:g,pageX:c,pageY:h,clientX:f,clientY:d,x:f,y:d,movementX:m,movementY:v,offsetX:0,offsetY:0,layerX:0,layerY:0})),t},Yt=function(t){var e=t&&"string"==typeof t.type&&t.type||"";return!/^(?:(?:before)?copy|destroy)$/.test(e)},Bt=function(t,e,n,i){i?I(function(){t.apply(e,n)},0):t.apply(e,n)},Ut=function(t){var e,n,i,r,o,s,a,l,u,c;if("object"==typeof t&&t&&t.type){if(e=Yt(t),n=ht["*"]||[],i=ht[t.type]||[],r=n.concat(i),r&&r.length)for(c=this,o=0,s=r.length;s>o;o++)a=r[o],l=c,"string"==typeof a&&"function"==typeof E[a]&&(a=E[a]),"object"==typeof a&&a&&"function"==typeof a.handleEvent&&(l=a,a=a.handleEvent),"function"==typeof a&&(u=Z({},t),Bt(a,l,[u],e));return this}},Wt=function(t){var e=null;return(lt===!1||t&&"error"===t.type&&t.name&&-1!==vt.indexOf(t.name))&&(e=!1),e},Vt=function(t){var e,n,i,r,c,h=t.target||a||null,f="swf"===t._source;switch(delete t._source,t.type){case"error":e="flash-sandboxed"===t.name||Wt(t),"boolean"==typeof e&&(ut.sandboxed=e),-1!==yt.indexOf(t.name)?Z(ut,{disabled:"flash-disabled"===t.name,outdated:"flash-outdated"===t.name,unavailable:"flash-unavailable"===t.name,degraded:"flash-degraded"===t.name,deactivated:"flash-deactivated"===t.name,overdue:"flash-overdue"===t.name,ready:!1}):"version-mismatch"===t.name&&(s=t.swfVersion,Z(ut,{disabled:!1,outdated:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:!1,ready:!1})),he();break;case"ready":s=t.swfVersion,n=ut.deactivated===!0,Z(ut,{disabled:!1,outdated:!1,sandboxed:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:n,ready:!n}),he();break;case"beforecopy":l=h;break;case"copy":c=t.relatedTarget,!ft["text/html"]&&!ft["text/plain"]&&c&&(r=c.value||c.outerHTML||c.innerHTML)&&(i=c.value||c.textContent||c.innerText)?(t.clipboardData.clearData(),t.clipboardData.setData("text/plain",i),r!==i&&t.clipboardData.setData("text/html",r)):!ft["text/plain"]&&t.target&&(i=t.target.getAttribute("data-clipboard-text"))&&(t.clipboardData.clearData(),t.clipboardData.setData("text/plain",i));break;case"aftercopy":qt(t),u.clearData(),h&&h!==oe()&&h.focus&&h.focus();break;case"_mouseover":u.focus(h),wt.bubbleEvents===!0&&f&&(h&&h!==t.relatedTarget&&!et(t.relatedTarget,h)&&Xt(Z({},t,{type:"mouseenter",bubbles:!1,cancelable:!1})),Xt(Z({},t,{type:"mouseover"})));break;case"_mouseout":u.blur(),wt.bubbleEvents===!0&&f&&(h&&h!==t.relatedTarget&&!et(t.relatedTarget,h)&&Xt(Z({},t,{type:"mouseleave",bubbles:!1,cancelable:!1})),Xt(Z({},t,{type:"mouseout"})));break;case"_mousedown":se(h,wt.activeClass),wt.bubbleEvents===!0&&f&&Xt(Z({},t,{type:t.type.slice(1)}));break;case"_mouseup":ae(h,wt.activeClass),wt.bubbleEvents===!0&&f&&Xt(Z({},t,{type:t.type.slice(1)}));break;case"_click":l=null,wt.bubbleEvents===!0&&f&&Xt(Z({},t,{type:t.type.slice(1)}));break;case"_mousemove":wt.bubbleEvents===!0&&f&&Xt(Z({},t,{type:t.type.slice(1)}))}return/^_(?:click|mouse(?:over|out|down|up|move))$/.test(t.type)?!0:o},qt=function(t){if(t.errors&&t.errors.length>0){var e=K(t);Z(e,{type:"error",name:"clipboard-error"}),delete e.success,I(function(){u.emit(e)},0)}},Xt=function(t){if(t&&"string"==typeof t.type&&t){var e,n=t.target||null,i=n&&n.ownerDocument||A,r={view:i.defaultView||E,canBubble:!0,cancelable:!0,detail:"click"===t.type?1:0,button:"number"==typeof t.which?t.which-1:"number"==typeof t.button?t.button:i.createEvent?0:1},o=Z(r,t);n&&i.createEvent&&n.dispatchEvent&&(o=[o.type,o.canBubble,o.cancelable,o.view,o.detail,o.screenX,o.screenY,o.clientX,o.clientY,o.ctrlKey,o.altKey,o.shiftKey,o.metaKey,o.button,o.relatedTarget],e=i.createEvent("MouseEvents"),e.initMouseEvent&&(e.initMouseEvent.apply(e,o),e._source="js",n.dispatchEvent(e)))}},$t=function(){var t,e,n=wt.flashLoadTimeout;"number"==typeof n&&n>=0&&(t=Math.min(1e3,n/10),e=wt.swfObjectId+"_fallbackContent",gt=N(function(){var t=A.getElementById(e);ce(t)&&(he(),ut.deactivated=null,u.emit({type:"error",name:"swf-not-found"}))},t))},Gt=function(){var t=A.createElement("div");return t.id=wt.containerId,t.className=wt.containerClass,t.style.position="absolute",t.style.left="0px",t.style.top="-9999px",t.style.width="1px",t.style.height="1px",t.style.zIndex=""+pe(wt.zIndex),t},Zt=function(t){for(var e=t&&t.parentNode;e&&"OBJECT"===e.nodeName&&e.parentNode;)e=e.parentNode;return e||null},Kt=function(){var t,e,n,i,r,o,s,a,l=ut.bridge,c=Zt(l);return l||(e=re(E.location.host,wt),n="never"===e?"none":"all",i=ne(Z({jsVersion:u.version},wt)),r=wt.swfPath+ee(wt.swfPath,wt),c=Gt(),o=A.createElement("div"),c.appendChild(o),A.body.appendChild(c),s=A.createElement("div"),a="activex"===ut.pluginType,s.innerHTML='<object id="'+wt.swfObjectId+'" name="'+wt.swfObjectId+'" width="100%" height="100%" '+(a?'classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"':'type="application/x-shockwave-flash" data="'+r+'"')+">"+(a?'<param name="movie" value="'+r+'"/>':"")+'<param name="allowScriptAccess" value="'+e+'"/><param name="allowNetworking" value="'+n+'"/><param name="menu" value="false"/><param name="wmode" value="transparent"/><param name="flashvars" value="'+i+'"/><div id="'+wt.swfObjectId+'_fallbackContent"> </div></object>',l=s.firstChild,s=null,$(l).ZeroClipboard=u,c.replaceChild(l,o),$t()),l||(l=A[wt.swfObjectId],l&&(t=l.length)&&(l=l[t-1]),!l&&c&&(l=c.firstChild)),ut.bridge=l||null,l},Qt=function(){var t,e=ut.bridge;e&&(t=Zt(e),t&&("activex"===ut.pluginType&&"readyState"in e?(e.style.display="none",function n(){if(4===e.readyState){for(var i in e)"function"==typeof e[i]&&(e[i]=null);e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t)}else I(n,10)}()):(e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t))),he(),ut.ready=null,ut.bridge=null,ut.deactivated=null,s=o)},Jt=function(t){var e,n={},i={};if("object"==typeof t&&t){for(e in t)if(e&&q.call(t,e)&&"string"==typeof t[e]&&t[e])switch(e.toLowerCase()){case"text/plain":case"text":case"air:text":case"flash:text":n.text=t[e],i.text=e;break;case"text/html":case"html":case"air:html":case"flash:html":n.html=t[e],i.html=e;break;case"application/rtf":case"text/rtf":case"rtf":case"richtext":case"air:rtf":
|
||
case"flash:rtf":n.rtf=t[e],i.rtf=e}return{data:n,formatMap:i}}},te=function(t,e){var n,i,r,o,s,a;if("object"!=typeof t||!t||"object"!=typeof e||!e)return t;n={};for(i in t)if(q.call(t,i))if("errors"===i)for(n[i]=t[i]?t[i].slice():[],r=0,o=n[i].length;o>r;r++)n[i][r].format=e[n[i][r].format];else if("success"!==i&&"data"!==i)n[i]=t[i];else{n[i]={},s=t[i];for(a in s)a&&q.call(s,a)&&q.call(e,a)&&(n[i][e[a]]=s[a])}return n},ee=function(t,e){var n=null==e||e&&e.cacheBust===!0;return n?(-1===t.indexOf("?")?"?":"&")+"noCache="+U():""},ne=function(t){var e,n,i,r,o="",s=[];if(t.trustedDomains&&("string"==typeof t.trustedDomains?r=[t.trustedDomains]:"object"==typeof t.trustedDomains&&"length"in t.trustedDomains&&(r=t.trustedDomains)),r&&r.length)for(e=0,n=r.length;n>e;e++)if(q.call(r,e)&&r[e]&&"string"==typeof r[e]){if(i=ie(r[e]),!i)continue;if("*"===i){s.length=0,s.push(i);break}s.push.apply(s,[i,"//"+i,E.location.protocol+"//"+i])}return s.length&&(o+="trustedOrigins="+z(s.join(","))),t.forceEnhancedClipboard===!0&&(o+=(o?"&":"")+"forceEnhancedClipboard=true"),"string"==typeof t.swfObjectId&&t.swfObjectId&&(o+=(o?"&":"")+"swfObjectId="+z(t.swfObjectId)),"string"==typeof t.jsVersion&&t.jsVersion&&(o+=(o?"&":"")+"jsVersion="+z(t.jsVersion)),o},ie=function(t){var e,n;return null==t||""===t?null:(t=t.replace(/^\s+|\s+$/g,""),""===t?null:(e=t.indexOf("//"),t=-1===e?t:t.slice(e+2),n=t.indexOf("/"),t=-1===n?t:-1===e||0===n?null:t.slice(0,n),t&&".swf"===t.slice(-4).toLowerCase()?null:t||null))},re=function(){var t=function(t){var e,n,i,r=[];if("string"==typeof t&&(t=[t]),"object"!=typeof t||!t||"number"!=typeof t.length)return r;for(e=0,n=t.length;n>e;e++)if(q.call(t,e)&&(i=ie(t[e]))){if("*"===i){r.length=0,r.push("*");break}-1===r.indexOf(i)&&r.push(i)}return r};return function(e,n){var i,r,o=ie(n.swfPath);if(null===o&&(o=e),i=t(n.trustedDomains),r=i.length,r>0){if(1===r&&"*"===i[0])return"always";if(-1!==i.indexOf(e))return 1===r&&e===o?"sameDomain":"always"}return"never"}}(),oe=function(){try{return A.activeElement}catch(t){return null}},se=function(t,e){var n,i,r,o=[];if("string"==typeof e&&e&&(o=e.split(/\s+/)),t&&1===t.nodeType&&o.length>0)if(t.classList)for(n=0,i=o.length;i>n;n++)t.classList.add(o[n]);else if(t.hasOwnProperty("className")){for(r=" "+t.className+" ",n=0,i=o.length;i>n;n++)-1===r.indexOf(" "+o[n]+" ")&&(r+=o[n]+" ");t.className=r.replace(/^\s+|\s+$/g,"")}return t},ae=function(t,e){var n,i,r,o=[];if("string"==typeof e&&e&&(o=e.split(/\s+/)),t&&1===t.nodeType&&o.length>0)if(t.classList&&t.classList.length>0)for(n=0,i=o.length;i>n;n++)t.classList.remove(o[n]);else if(t.className){for(r=(" "+t.className+" ").replace(/[\r\n\t]/g," "),n=0,i=o.length;i>n;n++)r=r.replace(" "+o[n]+" "," ");t.className=r.replace(/^\s+|\s+$/g,"")}return t},le=function(t,e){var n=F(t,null).getPropertyValue(e);return"cursor"!==e||n&&"auto"!==n||"A"!==t.nodeName?n:"pointer"},ue=function(t){var e,n,i,r,o,s,a,l,u,c={left:0,top:0,width:0,height:0};return t.getBoundingClientRect&&(e=t.getBoundingClientRect(),n=E.pageXOffset,i=E.pageYOffset,r=A.documentElement.clientLeft||0,o=A.documentElement.clientTop||0,s=0,a=0,"relative"===le(A.body,"position")&&(l=A.body.getBoundingClientRect(),u=A.documentElement.getBoundingClientRect(),s=l.left-u.left||0,a=l.top-u.top||0),c.left=e.left+n-r-s,c.top=e.top+i-o-a,c.width="width"in e?e.width:e.right-e.left,c.height="height"in e?e.height:e.bottom-e.top),c},ce=function(t){var e,n,i,r,o,s,a,l;return t?(e=F(t,null),n=Y(e.height)>0,i=Y(e.width)>0,r=Y(e.top)>=0,o=Y(e.left)>=0,s=n&&i&&r&&o,a=s?null:ue(t),l="none"!==e.display&&"collapse"!==e.visibility&&(s||!!a&&(n||a.height>0)&&(i||a.width>0)&&(r||a.top>=0)&&(o||a.left>=0))):!1},he=function(){O(pt),pt=0,L(gt),gt=0},fe=function(){var t,e;a&&(t=Zt(ut.bridge))&&(e=ue(a),Z(t.style,{width:e.width+"px",height:e.height+"px",top:e.top+"px",left:e.left+"px",zIndex:""+pe(wt.zIndex)}))},de=function(t){ut.ready===!0&&(ut.bridge&&"function"==typeof ut.bridge.setHandCursor?ut.bridge.setHandCursor(t):ut.ready=!1)},pe=function(t){if(/^(?:auto|inherit)$/.test(t))return t;var e;return"number"!=typeof t||B(t)?"string"==typeof t&&(e=pe(H(t,10))):e=t,"number"==typeof e?e:"auto"},ge=function(t){var e,n,i,o=ut.sandboxed,s=null;if(t=t===!0,lt===!1)s=!1;else{try{n=r.frameElement||null}catch(a){i={name:a.name,message:a.message}}if(n&&1===n.nodeType&&"IFRAME"===n.nodeName)try{s=n.hasAttribute("sandbox")}catch(a){s=null}else{try{e=document.domain||null}catch(a){e=null}(null===e||i&&"SecurityError"===i.name&&/(^|[\s\(\[@])sandbox(es|ed|ing|[\s\.,!\)\]@]|$)/.test(i.message.toLowerCase()))&&(s=!0)}}return ut.sandboxed=s,o===s||t||me(j),s},me=function(t){function e(t){var e=t.match(/[\d]+/g);return e.length=3,e.join(".")}function n(t){return!!t&&(t=t.toLowerCase())&&(/^(pepflashplayer\.dll|libpepflashplayer\.so|pepperflashplayer\.plugin)$/.test(t)||"chrome.plugin"===t.slice(-13))}function i(t){t&&(l=!0,t.version&&(h=e(t.version)),!h&&t.description&&(h=e(t.description)),t.filename&&(c=n(t.filename)))}var r,s,a,l=!1,u=!1,c=!1,h="";if(P.plugins&&P.plugins.length)r=P.plugins["Shockwave Flash"],i(r),P.plugins["Shockwave Flash 2.0"]&&(l=!0,h="2.0.0.11");else if(P.mimeTypes&&P.mimeTypes.length)a=P.mimeTypes["application/x-shockwave-flash"],r=a&&a.enabledPlugin,i(r);else if(o!==t){u=!0;try{s=new t("ShockwaveFlash.ShockwaveFlash.7"),l=!0,h=e(s.GetVariable("$version"))}catch(f){try{s=new t("ShockwaveFlash.ShockwaveFlash.6"),l=!0,h="6.0.21"}catch(d){try{s=new t("ShockwaveFlash.ShockwaveFlash"),l=!0,h=e(s.GetVariable("$version"))}catch(p){u=!1}}}}ut.disabled=l!==!0,ut.outdated=h&&Y(h)<Y(ct),ut.version=h||"0.0.0",ut.pluginType=c?"pepper":u?"activex":l?"netscape":"unknown"};me(j),ge(!0),u=function(){return this instanceof u?("function"==typeof u._createClient&&u._createClient.apply(this,G(arguments)),o):new u},V(u,"version",{value:"2.2.0",writable:!1,configurable:!0,enumerable:!0}),u.config=function(){return xt.apply(this,G(arguments))},u.state=function(){return kt.apply(this,G(arguments))},u.isFlashUnusable=function(){return St.apply(this,G(arguments))},u.on=function(){return Ct.apply(this,G(arguments))},u.off=function(){return Tt.apply(this,G(arguments))},u.handlers=function(){return Dt.apply(this,G(arguments))},u.emit=function(){return Mt.apply(this,G(arguments))},u.create=function(){return Et.apply(this,G(arguments))},u.destroy=function(){return At.apply(this,G(arguments))},u.setData=function(){return Pt.apply(this,G(arguments))},u.clearData=function(){return It.apply(this,G(arguments))},u.getData=function(){return Ot.apply(this,G(arguments))},u.focus=u.activate=function(){return Nt.apply(this,G(arguments))},u.blur=u.deactivate=function(){return Lt.apply(this,G(arguments))},u.activeElement=function(){return Ft.apply(this,G(arguments))},c=0,h={},f=0,d={},p={},Z(wt,{autoActivate:!0}),g=function(t){var e=this;e.id=""+c++,h[e.id]={instance:e,elements:[],handlers:{}},t&&e.clip(t),u.on("*",function(t){return e.emit(t)}),u.on("destroy",function(){e.destroy()}),u.create()},m=function(t,e){var n,i,r,a={},l=h[this.id],c=l&&l.handlers;if(!l)throw Error("Attempted to add new listener(s) to a destroyed ZeroClipboard client instance");if("string"==typeof t&&t)r=t.toLowerCase().split(/\s+/);else if("object"==typeof t&&t&&o===e)for(n in t)q.call(t,n)&&"string"==typeof n&&n&&"function"==typeof t[n]&&this.on(n,t[n]);if(r&&r.length){for(n=0,i=r.length;i>n;n++)t=r[n].replace(/^on/,""),a[t]=!0,c[t]||(c[t]=[]),c[t].push(e);if(a.ready&&ut.ready&&this.emit({type:"ready",client:this}),a.error){for(n=0,i=yt.length;i>n;n++)if(ut[yt[n].replace(/^flash-/,"")]){this.emit({type:"error",name:yt[n],client:this});break}s!==o&&u.version!==s&&this.emit({type:"error",name:"version-mismatch",jsVersion:u.version,swfVersion:s})}}return this},v=function(t,e){var n,i,r,s,a,l=h[this.id],u=l&&l.handlers;if(!u)return this;if(0===arguments.length)s=W(u);else if("string"==typeof t&&t)s=t.split(/\s+/);else if("object"==typeof t&&t&&o===e)for(n in t)q.call(t,n)&&"string"==typeof n&&n&&"function"==typeof t[n]&&this.off(n,t[n]);if(s&&s.length)for(n=0,i=s.length;i>n;n++)if(t=s[n].toLowerCase().replace(/^on/,""),a=u[t],a&&a.length)if(e)for(r=a.indexOf(e);-1!==r;)a.splice(r,1),r=a.indexOf(e,r);else a.length=0;return this},y=function(t){var e=null,n=h[this.id]&&h[this.id].handlers;return n&&(e="string"==typeof t&&t?n[t]?n[t].slice(0):[]:K(n)),e},b=function(t){if(S.call(this,t)){"object"==typeof t&&t&&"string"==typeof t.type&&t.type&&(t=Z({},t));var e=Z({},jt(t),{client:this});C.call(this,e)}return this},_=function(t){var e,n;if(!h[this.id])throw Error("Attempted to clip element(s) to a destroyed ZeroClipboard client instance");for(t=T(t),e=0;e<t.length;e++)q.call(t,e)&&t[e]&&1===t[e].nodeType&&(t[e].zcClippingId?-1===d[t[e].zcClippingId].indexOf(this.id)&&d[t[e].zcClippingId].push(this.id):(t[e].zcClippingId="zcClippingId_"+f++,d[t[e].zcClippingId]=[this.id],wt.autoActivate===!0&&D(t[e])),n=h[this.id]&&h[this.id].elements,-1===n.indexOf(t[e])&&n.push(t[e]));return this},w=function(t){var e,n,i,r,s=h[this.id];if(!s)return this;for(e=s.elements,t=o===t?e.slice(0):T(t),i=t.length;i--;)if(q.call(t,i)&&t[i]&&1===t[i].nodeType){for(n=0;-1!==(n=e.indexOf(t[i],n));)e.splice(n,1);if(r=d[t[i].zcClippingId]){for(n=0;-1!==(n=r.indexOf(this.id,n));)r.splice(n,1);0===r.length&&(wt.autoActivate===!0&&M(t[i]),delete t[i].zcClippingId)}}return this},x=function(){var t=h[this.id];return t&&t.elements?t.elements.slice(0):[]},k=function(){h[this.id]&&(this.unclip(),this.off(),delete h[this.id])},S=function(t){var e,n,i,r,o,s;return t&&t.type?t.client&&t.client!==this?!1:(e=h[this.id],n=e&&e.elements,i=!!n&&n.length>0,r=!t.target||i&&-1!==n.indexOf(t.target),o=t.relatedTarget&&i&&-1!==n.indexOf(t.relatedTarget),s=t.client&&t.client===this,!(!e||!(r||o||s))):!1},C=function(t){var e,n,i,r,o,s,a,l,u,c,f=h[this.id];if("object"==typeof t&&t&&t.type&&f&&(e=Yt(t),n=f&&f.handlers["*"]||[],i=f&&f.handlers[t.type]||[],r=n.concat(i),r&&r.length))for(c=this,o=0,s=r.length;s>o;o++)a=r[o],l=c,"string"==typeof a&&"function"==typeof E[a]&&(a=E[a]),"object"==typeof a&&a&&"function"==typeof a.handleEvent&&(l=a,a=a.handleEvent),"function"==typeof a&&(u=Z({},t),Bt(a,l,[u],e))},T=function(t){return"string"==typeof t&&(t=[]),"number"!=typeof t.length?[t]:t},D=function(t){var e,n;t&&1===t.nodeType&&(e=function(t){(t||(t=E.event))&&("js"!==t._source&&(t.stopImmediatePropagation(),t.preventDefault()),delete t._source)},n=function(n){(n||(n=E.event))&&(e(n),u.focus(t))},t.addEventListener("mouseover",n,!1),t.addEventListener("mouseout",e,!1),t.addEventListener("mouseenter",e,!1),t.addEventListener("mouseleave",e,!1),t.addEventListener("mousemove",e,!1),p[t.zcClippingId]={mouseover:n,mouseout:e,mouseenter:e,mouseleave:e,mousemove:e})},M=function(t){var e,n,i,r,o,s;if(t&&1===t.nodeType&&(e=p[t.zcClippingId],"object"==typeof e&&e)){for(r=["move","leave","enter","out","over"],o=0,s=r.length;s>o;o++)n="mouse"+r[o],i=e[n],"function"==typeof i&&t.removeEventListener(n,i,!1);delete p[t.zcClippingId]}},u._createClient=function(){g.apply(this,G(arguments))},u.prototype.on=function(){return m.apply(this,G(arguments))},u.prototype.off=function(){return v.apply(this,G(arguments))},u.prototype.handlers=function(){return y.apply(this,G(arguments))},u.prototype.emit=function(){return b.apply(this,G(arguments))},u.prototype.clip=function(){return _.apply(this,G(arguments))},u.prototype.unclip=function(){return w.apply(this,G(arguments))},u.prototype.elements=function(){return x.apply(this,G(arguments))},u.prototype.destroy=function(){return k.apply(this,G(arguments))},u.prototype.setText=function(t){if(!h[this.id])throw Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return u.setData("text/plain",t),this},u.prototype.setHtml=function(t){if(!h[this.id])throw Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return u.setData("text/html",t),this},u.prototype.setRichText=function(t){if(!h[this.id])throw Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return u.setData("application/rtf",t),this},u.prototype.setData=function(){if(!h[this.id])throw Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return u.setData.apply(this,G(arguments)),this},u.prototype.clearData=function(){if(!h[this.id])throw Error("Attempted to clear pending clipboard data from a destroyed ZeroClipboard client instance");return u.clearData.apply(this,G(arguments)),this},u.prototype.getData=function(){if(!h[this.id])throw Error("Attempted to get pending clipboard data from a destroyed ZeroClipboard client instance");return u.getData.apply(this,G(arguments))},i=function(){return u}.call(e,n,e,t),!(i!==o&&(t.exports=i))}(function(){return this||window}())}).call(e,n(35))},function(t,e){function n(){u&&s&&(u=!1,s.length?l=s.concat(l):c=-1,l.length&&i())}function i(){var t,e;if(!u){for(t=setTimeout(n),u=!0,e=l.length;e;){for(s=l,l=[];++c<e;)s&&s[c].run();c=-1,e=l.length}s=null,u=!1,clearTimeout(t)}}function r(t,e){this.fun=t,this.array=e}function o(){}var s,a=t.exports={},l=[],u=!1,c=-1;a.nextTick=function(t){var e,n=Array(arguments.length-1);if(arguments.length>1)for(e=1;e<arguments.length;e++)n[e-1]=arguments[e];l.push(new r(t,n)),1!==l.length||u||setTimeout(i,0)},r.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=o,a.addListener=o,a.once=o,a.off=o,a.removeListener=o,a.removeAllListeners=o,a.emit=o,a.binding=function(t){throw Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(t){throw Error("process.chdir is not supported")},a.umask=function(){return 0}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";function i(t,e){return this instanceof i?(this.files={},this.comment=null,this.root="",t&&this.load(t,e),void(this.clone=function(){var t,e=new i;for(t in this)"function"!=typeof this[t]&&(e[t]=this[t]);return e})):new i(t,e)}var r=n(143);i.prototype=n(144),i.prototype.load=n(177),i.support=n(145),i.defaults=n(172),i.utils=n(184),i.base64={encode:function(t){return r.encode(t)},decode:function(t){return r.decode(t)}},i.compressions=n(151),t.exports=i},function(t,e){"use strict";var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";e.encode=function(t,e){for(var i,r,o,s,a,l,u,c="",h=0;h<t.length;)i=t.charCodeAt(h++),r=t.charCodeAt(h++),o=t.charCodeAt(h++),s=i>>2,a=(3&i)<<4|r>>4,l=(15&r)<<2|o>>6,u=63&o,isNaN(r)?l=u=64:isNaN(o)&&(u=64),c=c+n.charAt(s)+n.charAt(a)+n.charAt(l)+n.charAt(u);return c},e.decode=function(t,e){var i,r,o,s,a,l,u,c="",h=0;for(t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");h<t.length;)s=n.indexOf(t.charAt(h++)),a=n.indexOf(t.charAt(h++)),l=n.indexOf(t.charAt(h++)),u=n.indexOf(t.charAt(h++)),i=s<<2|a>>4,r=(15&a)<<4|l>>2,o=(3&l)<<6|u,c+=String.fromCharCode(i),64!=l&&(c+=String.fromCharCode(r)),64!=u&&(c+=String.fromCharCode(o));return c}},function(t,e,n){"use strict";var i,r,o,s,a,l,u,c,h,f,d,p,g=n(145),m=n(150),v=n(170),y=n(171),b=n(172),_=n(143),w=n(151),x=n(173),k=n(169),S=n(174),C=n(175),T=n(176),D=function(t){if(t._data instanceof x&&(t._data=t._data.getContent(),t.options.binary=!0,t.options.base64=!1,"uint8array"===m.getTypeOf(t._data))){var e=t._data;t._data=new Uint8Array(e.length),0!==e.length&&t._data.set(e,0)}return t._data},M=function(t){var e=D(t),n=m.getTypeOf(e);return"string"===n?!t.options.binary&&g.nodebuffer?k(e,"utf-8"):t.asBinary():e},E=function(t){var e=D(this);return null===e||void 0===e?"":(this.options.base64&&(e=_.decode(e)),e=t&&this.options.binary?p.utf8decode(e):m.transformTo("string",e),t||this.options.binary||(e=m.transformTo("string",p.utf8encode(e))),e)},A=function(t,e,n){this.name=t,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=e,this.options=n,this._initialMetadata={dir:n.dir,date:n.date}};A.prototype={asText:function(){return E.call(this,!0)},asBinary:function(){return E.call(this,!1)},asNodeBuffer:function(){var t=M(this);return m.transformTo("nodebuffer",t)},asUint8Array:function(){var t=M(this);return m.transformTo("uint8array",t)},asArrayBuffer:function(){return this.asUint8Array().buffer}},i=function(t,e){var n,i="";for(n=0;e>n;n++)i+=String.fromCharCode(255&t),t>>>=8;return i},r=function(){var t,e,n={};for(t=0;t<arguments.length;t++)for(e in arguments[t])arguments[t].hasOwnProperty(e)&&void 0===n[e]&&(n[e]=arguments[t][e]);return n},o=function(t){return t=t||{},t.base64!==!0||null!==t.binary&&void 0!==t.binary||(t.binary=!0),t=r(t,b),t.date=t.date||new Date,null!==t.compression&&(t.compression=t.compression.toUpperCase()),t},s=function(t,e,n){var i,r,s=m.getTypeOf(e);if(n=o(n),"string"==typeof n.unixPermissions&&(n.unixPermissions=parseInt(n.unixPermissions,8)),n.unixPermissions&&16384&n.unixPermissions&&(n.dir=!0),n.dosPermissions&&16&n.dosPermissions&&(n.dir=!0),n.dir&&(t=l(t)),n.createFolders&&(i=a(t))&&u.call(this,i,!0),n.dir||null===e||void 0===e)n.base64=!1,n.binary=!1,e=null,s=null;else if("string"===s)n.binary&&!n.base64&&n.optimizedBinaryString!==!0&&(e=m.string2binary(e));else{if(n.base64=!1,n.binary=!0,!(s||e instanceof x))throw Error("The data of '"+t+"' is in an unsupported format !");"arraybuffer"===s&&(e=m.transformTo("uint8array",e))}return r=new A(t,e,n),this.files[t]=r,r},a=function(t){"/"==t.slice(-1)&&(t=t.substring(0,t.length-1));var e=t.lastIndexOf("/");return e>0?t.substring(0,e):""},l=function(t){return"/"!=t.slice(-1)&&(t+="/"),t},u=function(t,e){return e=void 0!==e?e:!1,t=l(t),this.files[t]||s.call(this,t,null,{dir:!0,createFolders:e}),this.files[t]},c=function(t,e,n){var i,r=new x;return t._data instanceof x?(r.uncompressedSize=t._data.uncompressedSize,r.crc32=t._data.crc32,0===r.uncompressedSize||t.dir?(e=w.STORE,r.compressedContent="",r.crc32=0):t._data.compressionMethod===e.magic?r.compressedContent=t._data.getCompressedContent():(i=t._data.getContent(),r.compressedContent=e.compress(m.transformTo(e.compressInputType,i),n))):(i=M(t),i&&0!==i.length&&!t.dir||(e=w.STORE,i=""),r.uncompressedSize=i.length,r.crc32=v(i),r.compressedContent=e.compress(m.transformTo(e.compressInputType,i),n)),r.compressedSize=r.compressedContent.length,r.compressionMethod=e.magic,r},h=function(t,e){var n=t;return t||(n=e?16893:33204),(65535&n)<<16},f=function(t,e){return 63&(t||0)},d=function(t,e,n,r,o){var s,a,l,u,c,d,p,g,b,_=(n.compressedContent,m.transformTo("string",S.utf8encode(e.name))),w=e.comment||"",x=m.transformTo("string",S.utf8encode(w)),k=_.length!==e.name.length,C=x.length!==w.length,T=e.options,D="",M="",E="";return l=e._initialMetadata.dir!==e.dir?e.dir:T.dir,u=e._initialMetadata.date!==e.date?e.date:T.date,c=0,d=0,l&&(c|=16),"UNIX"===o?(d=798,c|=h(e.unixPermissions,l)):(d=20,c|=f(e.dosPermissions,l)),s=u.getHours(),s<<=6,s|=u.getMinutes(),s<<=5,s|=u.getSeconds()/2,a=u.getFullYear()-1980,a<<=4,a|=u.getMonth()+1,a<<=5,a|=u.getDate(),k&&(M=i(1,1)+i(v(_),4)+_,D+="up"+i(M.length,2)+M),C&&(E=i(1,1)+i(this.crc32(x),4)+x,D+="uc"+i(E.length,2)+E),p="",p+="\n\x00",p+=k||C?"\x00\b":"\x00\x00",p+=n.compressionMethod,p+=i(s,2),p+=i(a,2),p+=i(n.crc32,4),p+=i(n.compressedSize,4),p+=i(n.uncompressedSize,4),p+=i(_.length,2),p+=i(D.length,2),g=y.LOCAL_FILE_HEADER+p+_+D,b=y.CENTRAL_FILE_HEADER+i(d,2)+p+i(x.length,2)+"\x00\x00\x00\x00"+i(c,4)+i(r,4)+_+D+x,{fileRecord:g,dirRecord:b,compressedObject:n}},p={load:function(t,e){throw Error("Load method is not defined. Is the file jszip-load.js included ?")},filter:function(t){var e,n,i,o,s=[];for(e in this.files)this.files.hasOwnProperty(e)&&(i=this.files[e],o=new A(i.name,i._data,r(i.options)),n=e.slice(this.root.length,e.length),e.slice(0,this.root.length)===this.root&&t(n,o)&&s.push(o));return s},file:function(t,e,n){if(1===arguments.length){if(m.isRegExp(t)){var i=t;return this.filter(function(t,e){return!e.dir&&i.test(t)})}return this.filter(function(e,n){return!n.dir&&e===t})[0]||null}return t=this.root+t,s.call(this,t,e,n),this},folder:function(t){var e,n,i;return t?m.isRegExp(t)?this.filter(function(e,n){return n.dir&&t.test(e)}):(e=this.root+t,n=u.call(this,e),i=this.clone(),i.root=n.name,i):this},remove:function(t){var e,n,i;if(t=this.root+t,e=this.files[t],e||("/"!=t.slice(-1)&&(t+="/"),e=this.files[t]),e&&!e.dir)delete this.files[t];else for(n=this.filter(function(e,n){return n.name.slice(0,t.length)===t}),i=0;i<n.length;i++)delete this.files[n[i].name];return this},generate:function(t){var e,n,o,s,a,l,u,h,f,p,g,v,b,x,k,S;t=r(t||{},{base64:!0,compression:"STORE",compressionOptions:null,type:"base64",platform:"DOS",comment:null,mimeType:"application/zip"}),m.checkSupport(t.type),"darwin"!==t.platform&&"freebsd"!==t.platform&&"linux"!==t.platform&&"sunos"!==t.platform||(t.platform="UNIX"),"win32"===t.platform&&(t.platform="DOS"),e=[],n=0,o=0,l=m.transformTo("string",this.utf8encode(t.comment||this.comment||""));for(u in this.files)if(this.files.hasOwnProperty(u)){if(h=this.files[u],f=h.options.compression||t.compression.toUpperCase(),p=w[f],!p)throw Error(f+" is not a valid compression method !");g=h.options.compressionOptions||t.compressionOptions||{},v=c.call(this,h,p,g),b=d.call(this,u,h,v,n,t.platform),n+=b.fileRecord.length+v.compressedSize,o+=b.dirRecord.length,e.push(b)}for(x="",x=y.CENTRAL_DIRECTORY_END+"\x00\x00\x00\x00"+i(e.length,2)+i(e.length,2)+i(o,4)+i(n,4)+i(l.length,2)+l,k=t.type.toLowerCase(),s="uint8array"===k||"arraybuffer"===k||"blob"===k||"nodebuffer"===k?new T(n+o+x.length):new C(n+o+x.length),a=0;a<e.length;a++)s.append(e[a].fileRecord),s.append(e[a].compressedObject.compressedContent);for(a=0;a<e.length;a++)s.append(e[a].dirRecord);switch(s.append(x),S=s.finalize(),t.type.toLowerCase()){case"uint8array":case"arraybuffer":case"nodebuffer":return m.transformTo(t.type.toLowerCase(),S);case"blob":return m.arrayBuffer2Blob(m.transformTo("arraybuffer",S),t.mimeType);case"base64":return t.base64?_.encode(S):S;default:return S}},crc32:function(t,e){return v(t,e)},utf8encode:function(t){return m.transformTo("string",S.utf8encode(t))},utf8decode:function(t){return S.utf8decode(t)}},t.exports=p},function(t,e,n){(function(t){"use strict";var n,i,r;if(e.base64=!0,e.array=!0,e.string=!0,e.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,e.nodebuffer=void 0!==t,e.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)e.blob=!1;else{n=new ArrayBuffer(0);try{e.blob=0===new Blob([n],{type:"application/zip"}).size}catch(o){try{i=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder,r=new i,r.append(n),e.blob=0===r.getBlob("application/zip").size}catch(o){e.blob=!1}}}}).call(e,n(146).Buffer)},function(t,e,n){(function(t,i){"use strict";function r(){function t(){}try{var e=new Uint8Array(1);return e.foo=function(){return 42},e.constructor=t,42===e.foo()&&e.constructor===t&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(n){return!1}}function o(){return t.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function t(e){return this instanceof t?(t.TYPED_ARRAY_SUPPORT||(this.length=0,this.parent=void 0),"number"==typeof e?s(this,e):"string"==typeof e?a(this,e,arguments.length>1?arguments[1]:"utf8"):l(this,e)):arguments.length>1?new t(e,arguments[1]):new t(e)}function s(e,n){if(e=g(e,0>n?0:0|m(n)),!t.TYPED_ARRAY_SUPPORT)for(var i=0;n>i;i++)e[i]=0;return e}function a(t,e,n){"string"==typeof n&&""!==n||(n="utf8");var i=0|y(e,n);return t=g(t,i),t.write(e,n),t}function l(e,n){if(t.isBuffer(n))return u(e,n);if(tt(n))return c(e,n);if(null==n)throw new TypeError("must start with number, buffer, array or string");if("undefined"!=typeof ArrayBuffer){if(n.buffer instanceof ArrayBuffer)return h(e,n);if(n instanceof ArrayBuffer)return f(e,n)}return n.length?d(e,n):p(e,n)}function u(t,e){var n=0|m(e.length);return t=g(t,n),e.copy(t,0,0,n),t}function c(t,e){var n,i=0|m(e.length);for(t=g(t,i),n=0;i>n;n+=1)t[n]=255&e[n];return t}function h(t,e){var n,i=0|m(e.length);for(t=g(t,i),n=0;i>n;n+=1)t[n]=255&e[n];return t}function f(e,n){return t.TYPED_ARRAY_SUPPORT?(n.byteLength,e=t._augment(new Uint8Array(n))):e=h(e,new Uint8Array(n)),e}function d(t,e){var n,i=0|m(e.length);for(t=g(t,i),n=0;i>n;n+=1)t[n]=255&e[n];return t}function p(t,e){var n,i,r=0;for("Buffer"===e.type&&tt(e.data)&&(n=e.data,r=0|m(n.length)),t=g(t,r),i=0;r>i;i+=1)t[i]=255&n[i];return t}function g(e,n){t.TYPED_ARRAY_SUPPORT?(e=t._augment(new Uint8Array(n)),e.__proto__=t.prototype):(e.length=n,e._isBuffer=!0);var i=0!==n&&n<=t.poolSize>>>1;return i&&(e.parent=$),e}function m(t){if(t>=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|t}function v(e,n){if(!(this instanceof v))return new v(e,n);var i=new t(e,n);return delete i.parent,i}function y(t,e){var n,i;if("string"!=typeof t&&(t=""+t),n=t.length,0===n)return 0;for(i=!1;;)switch(e){case"ascii":case"binary":case"raw":case"raws":return n;case"utf8":case"utf-8":return U(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return q(t).length;default:if(i)return U(t).length;e=(""+e).toLowerCase(),i=!0}}function b(t,e,n){var i=!1;if(e=0|e,n=void 0===n||n===1/0?this.length:0|n,t||(t="utf8"),0>e&&(e=0),n>this.length&&(n=this.length),e>=n)return"";for(;;)switch(t){case"hex":return P(this,e,n);case"utf8":case"utf-8":return D(this,e,n);case"ascii":return E(this,e,n);case"binary":return A(this,e,n);case"base64":return T(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,e,n);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}function _(t,e,n,i){var r,o,s,a;if(n=+n||0,r=t.length-n,i?(i=+i,i>r&&(i=r)):i=r,o=e.length,o%2!==0)throw Error("Invalid hex string");for(i>o/2&&(i=o/2),s=0;i>s;s++){if(a=parseInt(e.substr(2*s,2),16),isNaN(a))throw Error("Invalid hex string");t[n+s]=a}return s}function w(t,e,n,i){return X(U(e,t.length-n),t,n,i)}function x(t,e,n,i){return X(W(e),t,n,i)}function k(t,e,n,i){return x(t,e,n,i)}function S(t,e,n,i){return X(q(e),t,n,i)}function C(t,e,n,i){return X(V(e,t.length-n),t,n,i)}function T(t,e,n){return 0===e&&n===t.length?Q.fromByteArray(t):Q.fromByteArray(t.slice(e,n))}function D(t,e,n){var i,r,o,s,a,l,u,c,h;for(n=Math.min(t.length,n),i=[],r=e;n>r;){if(o=t[r],s=null,a=o>239?4:o>223?3:o>191?2:1,n>=r+a)switch(a){case 1:128>o&&(s=o);break;case 2:l=t[r+1],128===(192&l)&&(h=(31&o)<<6|63&l,h>127&&(s=h));break;case 3:l=t[r+1],u=t[r+2],128===(192&l)&&128===(192&u)&&(h=(15&o)<<12|(63&l)<<6|63&u,h>2047&&(55296>h||h>57343)&&(s=h));break;case 4:l=t[r+1],u=t[r+2],c=t[r+3],128===(192&l)&&128===(192&u)&&128===(192&c)&&(h=(15&o)<<18|(63&l)<<12|(63&u)<<6|63&c,h>65535&&1114112>h&&(s=h))}null===s?(s=65533,a=1):s>65535&&(s-=65536,i.push(s>>>10&1023|55296),s=56320|1023&s),i.push(s),r+=a}return M(i)}function M(t){var e,n,i=t.length;if(G>=i)return String.fromCharCode.apply(String,t);for(e="",n=0;i>n;)e+=String.fromCharCode.apply(String,t.slice(n,n+=G));return e}function E(t,e,n){var i,r="";for(n=Math.min(t.length,n),i=e;n>i;i++)r+=String.fromCharCode(127&t[i]);return r}function A(t,e,n){var i,r="";for(n=Math.min(t.length,n),i=e;n>i;i++)r+=String.fromCharCode(t[i]);return r}function P(t,e,n){var i,r,o=t.length;for((!e||0>e)&&(e=0),(!n||0>n||n>o)&&(n=o),i="",r=e;n>r;r++)i+=B(t[r]);return i}function I(t,e,n){var i,r=t.slice(e,n),o="";for(i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function O(t,e,n){if(t%1!==0||0>t)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function N(e,n,i,r,o,s){if(!t.isBuffer(e))throw new TypeError("buffer must be a Buffer instance");if(n>o||s>n)throw new RangeError("value is out of bounds");if(i+r>e.length)throw new RangeError("index out of range")}function L(t,e,n,i){0>e&&(e=65535+e+1);for(var r=0,o=Math.min(t.length-n,2);o>r;r++)t[n+r]=(e&255<<8*(i?r:1-r))>>>8*(i?r:1-r)}function F(t,e,n,i){0>e&&(e=4294967295+e+1);for(var r=0,o=Math.min(t.length-n,4);o>r;r++)t[n+r]=e>>>8*(i?r:3-r)&255}function z(t,e,n,i,r,o){if(e>r||o>e)throw new RangeError("value is out of bounds");if(n+i>t.length)throw new RangeError("index out of range");if(0>n)throw new RangeError("index out of range")}function j(t,e,n,i,r){return r||z(t,e,n,4,3.4028234663852886e38,-3.4028234663852886e38),J.write(t,e,n,i,23,4),n+4}function R(t,e,n,i,r){return r||z(t,e,n,8,1.7976931348623157e308,-1.7976931348623157e308),J.write(t,e,n,i,52,8),n+8}function H(t){if(t=Y(t).replace(K,""),t.length<2)return"";for(;t.length%4!==0;)t+="=";return t}function Y(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function B(t){return 16>t?"0"+t.toString(16):t.toString(16)}function U(t,e){var n,i,r,o,s;for(e=e||1/0,i=t.length,r=null,o=[],s=0;i>s;s++){if(n=t.charCodeAt(s),n>55295&&57344>n){if(!r){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(s+1===i){(e-=3)>-1&&o.push(239,191,189);continue}r=n;continue}if(56320>n){(e-=3)>-1&&o.push(239,191,189),r=n;continue}n=(r-55296<<10|n-56320)+65536}else r&&(e-=3)>-1&&o.push(239,191,189);if(r=null,128>n){if((e-=1)<0)break;o.push(n)}else if(2048>n){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(65536>n){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(1114112>n))throw Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function W(t){var e,n=[];for(e=0;e<t.length;e++)n.push(255&t.charCodeAt(e));return n}function V(t,e){var n,i,r,o,s=[];for(o=0;o<t.length&&!((e-=2)<0);o++)n=t.charCodeAt(o),i=n>>8,r=n%256,s.push(r),s.push(i);return s}function q(t){return Q.toByteArray(H(t))}function X(t,e,n,i){for(var r=0;i>r&&!(r+n>=e.length||r>=t.length);r++)e[r+n]=t[r];return r}var $,G,Z,K,Q=n(147),J=n(148),tt=n(149);e.Buffer=t,e.SlowBuffer=v,e.INSPECT_MAX_BYTES=50,t.poolSize=8192,$={},t.TYPED_ARRAY_SUPPORT=void 0!==i.TYPED_ARRAY_SUPPORT?i.TYPED_ARRAY_SUPPORT:r(),t.TYPED_ARRAY_SUPPORT?(t.prototype.__proto__=Uint8Array.prototype,t.__proto__=Uint8Array):(t.prototype.length=void 0,t.prototype.parent=void 0),t.isBuffer=function(t){return!(null==t||!t._isBuffer)},t.compare=function(e,n){var i,r,o,s;if(!t.isBuffer(e)||!t.isBuffer(n))throw new TypeError("Arguments must be Buffers");if(e===n)return 0;for(i=e.length,r=n.length,o=0,s=Math.min(i,r);s>o&&e[o]===n[o];)++o;return o!==s&&(i=e[o],r=n[o]),r>i?-1:i>r?1:0},t.isEncoding=function(t){switch((t+"").toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},t.concat=function(e,n){var i,r,o,s;if(!tt(e))throw new TypeError("list argument must be an Array of Buffers.");if(0===e.length)return new t(0);if(void 0===n)for(n=0,i=0;i<e.length;i++)n+=e[i].length;for(r=new t(n),o=0,i=0;i<e.length;i++)s=e[i],s.copy(r,o),o+=s.length;return r},t.byteLength=y,t.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?D(this,0,t):b.apply(this,arguments)},t.prototype.equals=function(e){if(!t.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:0===t.compare(this,e)},t.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},t.prototype.compare=function(e){if(!t.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?0:t.compare(this,e)},t.prototype.indexOf=function(e,n){function i(t,e,n){var i,r=-1;for(i=0;n+i<t.length;i++)if(t[n+i]===e[-1===r?0:i-r]){if(-1===r&&(r=i),i-r+1===e.length)return n+r}else r=-1;return-1}if(n>2147483647?n=2147483647:-2147483648>n&&(n=-2147483648),n>>=0,0===this.length)return-1;if(n>=this.length)return-1;if(0>n&&(n=Math.max(this.length+n,0)),
|
||
"string"==typeof e)return 0===e.length?-1:String.prototype.indexOf.call(this,e,n);if(t.isBuffer(e))return i(this,e,n);if("number"==typeof e)return t.TYPED_ARRAY_SUPPORT&&"function"===Uint8Array.prototype.indexOf?Uint8Array.prototype.indexOf.call(this,e,n):i(this,[e],n);throw new TypeError("val must be string, number or Buffer")},t.prototype.get=function(t){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(t)},t.prototype.set=function(t,e){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(t,e)},t.prototype.write=function(t,e,n,i){var r,o,s;if(void 0===e?(i="utf8",n=this.length,e=0):void 0===n&&"string"==typeof e?(i=e,n=this.length,e=0):isFinite(e)?(e=0|e,isFinite(n)?(n=0|n,void 0===i&&(i="utf8")):(i=n,n=void 0)):(r=i,i=e,e=0|n,n=r),o=this.length-e,(void 0===n||n>o)&&(n=o),t.length>0&&(0>n||0>e)||e>this.length)throw new RangeError("attempt to write outside buffer bounds");for(i||(i="utf8"),s=!1;;)switch(i){case"hex":return _(this,t,e,n);case"utf8":case"utf-8":return w(this,t,e,n);case"ascii":return x(this,t,e,n);case"binary":return k(this,t,e,n);case"base64":return S(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,t,e,n);default:if(s)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),s=!0}},t.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},G=4096,t.prototype.slice=function(e,n){var i,r,o,s=this.length;if(e=~~e,n=void 0===n?s:~~n,0>e?(e+=s,0>e&&(e=0)):e>s&&(e=s),0>n?(n+=s,0>n&&(n=0)):n>s&&(n=s),e>n&&(n=e),t.TYPED_ARRAY_SUPPORT)i=t._augment(this.subarray(e,n));else for(r=n-e,i=new t(r,void 0),o=0;r>o;o++)i[o]=this[o+e];return i.length&&(i.parent=this.parent||this),i},t.prototype.readUIntLE=function(t,e,n){var i,r,o;for(t=0|t,e=0|e,n||O(t,e,this.length),i=this[t],r=1,o=0;++o<e&&(r*=256);)i+=this[t+o]*r;return i},t.prototype.readUIntBE=function(t,e,n){var i,r;for(t=0|t,e=0|e,n||O(t,e,this.length),i=this[t+--e],r=1;e>0&&(r*=256);)i+=this[t+--e]*r;return i},t.prototype.readUInt8=function(t,e){return e||O(t,1,this.length),this[t]},t.prototype.readUInt16LE=function(t,e){return e||O(t,2,this.length),this[t]|this[t+1]<<8},t.prototype.readUInt16BE=function(t,e){return e||O(t,2,this.length),this[t]<<8|this[t+1]},t.prototype.readUInt32LE=function(t,e){return e||O(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},t.prototype.readUInt32BE=function(t,e){return e||O(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},t.prototype.readIntLE=function(t,e,n){var i,r,o;for(t=0|t,e=0|e,n||O(t,e,this.length),i=this[t],r=1,o=0;++o<e&&(r*=256);)i+=this[t+o]*r;return r*=128,i>=r&&(i-=Math.pow(2,8*e)),i},t.prototype.readIntBE=function(t,e,n){var i,r,o;for(t=0|t,e=0|e,n||O(t,e,this.length),i=e,r=1,o=this[t+--i];i>0&&(r*=256);)o+=this[t+--i]*r;return r*=128,o>=r&&(o-=Math.pow(2,8*e)),o},t.prototype.readInt8=function(t,e){return e||O(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},t.prototype.readInt16LE=function(t,e){e||O(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},t.prototype.readInt16BE=function(t,e){e||O(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},t.prototype.readInt32LE=function(t,e){return e||O(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},t.prototype.readInt32BE=function(t,e){return e||O(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},t.prototype.readFloatLE=function(t,e){return e||O(t,4,this.length),J.read(this,t,!0,23,4)},t.prototype.readFloatBE=function(t,e){return e||O(t,4,this.length),J.read(this,t,!1,23,4)},t.prototype.readDoubleLE=function(t,e){return e||O(t,8,this.length),J.read(this,t,!0,52,8)},t.prototype.readDoubleBE=function(t,e){return e||O(t,8,this.length),J.read(this,t,!1,52,8)},t.prototype.writeUIntLE=function(t,e,n,i){var r,o;for(t=+t,e=0|e,n=0|n,i||N(this,t,e,n,Math.pow(2,8*n),0),r=1,o=0,this[e]=255&t;++o<n&&(r*=256);)this[e+o]=t/r&255;return e+n},t.prototype.writeUIntBE=function(t,e,n,i){var r,o;for(t=+t,e=0|e,n=0|n,i||N(this,t,e,n,Math.pow(2,8*n),0),r=n-1,o=1,this[e+r]=255&t;--r>=0&&(o*=256);)this[e+r]=t/o&255;return e+n},t.prototype.writeUInt8=function(e,n,i){return e=+e,n=0|n,i||N(this,e,n,1,255,0),t.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[n]=255&e,n+1},t.prototype.writeUInt16LE=function(e,n,i){return e=+e,n=0|n,i||N(this,e,n,2,65535,0),t.TYPED_ARRAY_SUPPORT?(this[n]=255&e,this[n+1]=e>>>8):L(this,e,n,!0),n+2},t.prototype.writeUInt16BE=function(e,n,i){return e=+e,n=0|n,i||N(this,e,n,2,65535,0),t.TYPED_ARRAY_SUPPORT?(this[n]=e>>>8,this[n+1]=255&e):L(this,e,n,!1),n+2},t.prototype.writeUInt32LE=function(e,n,i){return e=+e,n=0|n,i||N(this,e,n,4,4294967295,0),t.TYPED_ARRAY_SUPPORT?(this[n+3]=e>>>24,this[n+2]=e>>>16,this[n+1]=e>>>8,this[n]=255&e):F(this,e,n,!0),n+4},t.prototype.writeUInt32BE=function(e,n,i){return e=+e,n=0|n,i||N(this,e,n,4,4294967295,0),t.TYPED_ARRAY_SUPPORT?(this[n]=e>>>24,this[n+1]=e>>>16,this[n+2]=e>>>8,this[n+3]=255&e):F(this,e,n,!1),n+4},t.prototype.writeIntLE=function(t,e,n,i){var r,o,s,a;for(t=+t,e=0|e,i||(r=Math.pow(2,8*n-1),N(this,t,e,n,r-1,-r)),o=0,s=1,a=0>t?1:0,this[e]=255&t;++o<n&&(s*=256);)this[e+o]=(t/s>>0)-a&255;return e+n},t.prototype.writeIntBE=function(t,e,n,i){var r,o,s,a;for(t=+t,e=0|e,i||(r=Math.pow(2,8*n-1),N(this,t,e,n,r-1,-r)),o=n-1,s=1,a=0>t?1:0,this[e+o]=255&t;--o>=0&&(s*=256);)this[e+o]=(t/s>>0)-a&255;return e+n},t.prototype.writeInt8=function(e,n,i){return e=+e,n=0|n,i||N(this,e,n,1,127,-128),t.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),0>e&&(e=255+e+1),this[n]=255&e,n+1},t.prototype.writeInt16LE=function(e,n,i){return e=+e,n=0|n,i||N(this,e,n,2,32767,-32768),t.TYPED_ARRAY_SUPPORT?(this[n]=255&e,this[n+1]=e>>>8):L(this,e,n,!0),n+2},t.prototype.writeInt16BE=function(e,n,i){return e=+e,n=0|n,i||N(this,e,n,2,32767,-32768),t.TYPED_ARRAY_SUPPORT?(this[n]=e>>>8,this[n+1]=255&e):L(this,e,n,!1),n+2},t.prototype.writeInt32LE=function(e,n,i){return e=+e,n=0|n,i||N(this,e,n,4,2147483647,-2147483648),t.TYPED_ARRAY_SUPPORT?(this[n]=255&e,this[n+1]=e>>>8,this[n+2]=e>>>16,this[n+3]=e>>>24):F(this,e,n,!0),n+4},t.prototype.writeInt32BE=function(e,n,i){return e=+e,n=0|n,i||N(this,e,n,4,2147483647,-2147483648),0>e&&(e=4294967295+e+1),t.TYPED_ARRAY_SUPPORT?(this[n]=e>>>24,this[n+1]=e>>>16,this[n+2]=e>>>8,this[n+3]=255&e):F(this,e,n,!1),n+4},t.prototype.writeFloatLE=function(t,e,n){return j(this,t,e,!0,n)},t.prototype.writeFloatBE=function(t,e,n){return j(this,t,e,!1,n)},t.prototype.writeDoubleLE=function(t,e,n){return R(this,t,e,!0,n)},t.prototype.writeDoubleBE=function(t,e,n){return R(this,t,e,!1,n)},t.prototype.copy=function(e,n,i,r){var o,s;if(i||(i=0),r||0===r||(r=this.length),n>=e.length&&(n=e.length),n||(n=0),r>0&&i>r&&(r=i),r===i)return 0;if(0===e.length||0===this.length)return 0;if(0>n)throw new RangeError("targetStart out of bounds");if(0>i||i>=this.length)throw new RangeError("sourceStart out of bounds");if(0>r)throw new RangeError("sourceEnd out of bounds");if(r>this.length&&(r=this.length),e.length-n<r-i&&(r=e.length-n+i),o=r-i,this===e&&n>i&&r>n)for(s=o-1;s>=0;s--)e[s+n]=this[s+i];else if(1e3>o||!t.TYPED_ARRAY_SUPPORT)for(s=0;o>s;s++)e[s+n]=this[s+i];else e._set(this.subarray(i,i+o),n);return o},t.prototype.fill=function(t,e,n){var i,r,o;if(t||(t=0),e||(e=0),n||(n=this.length),e>n)throw new RangeError("end < start");if(n!==e&&0!==this.length){if(0>e||e>=this.length)throw new RangeError("start out of bounds");if(0>n||n>this.length)throw new RangeError("end out of bounds");if("number"==typeof t)for(i=e;n>i;i++)this[i]=t;else for(r=U(""+t),o=r.length,i=e;n>i;i++)this[i]=r[i%o];return this}},t.prototype.toArrayBuffer=function(){var e,n,i;if("undefined"!=typeof Uint8Array){if(t.TYPED_ARRAY_SUPPORT)return new t(this).buffer;for(e=new Uint8Array(this.length),n=0,i=e.length;i>n;n+=1)e[n]=this[n];return e.buffer}throw new TypeError("Buffer.toArrayBuffer not supported in this browser")},Z=t.prototype,t._augment=function(e){return e.constructor=t,e._isBuffer=!0,e._set=e.set,e.get=Z.get,e.set=Z.set,e.write=Z.write,e.toString=Z.toString,e.toLocaleString=Z.toString,e.toJSON=Z.toJSON,e.equals=Z.equals,e.compare=Z.compare,e.indexOf=Z.indexOf,e.copy=Z.copy,e.slice=Z.slice,e.readUIntLE=Z.readUIntLE,e.readUIntBE=Z.readUIntBE,e.readUInt8=Z.readUInt8,e.readUInt16LE=Z.readUInt16LE,e.readUInt16BE=Z.readUInt16BE,e.readUInt32LE=Z.readUInt32LE,e.readUInt32BE=Z.readUInt32BE,e.readIntLE=Z.readIntLE,e.readIntBE=Z.readIntBE,e.readInt8=Z.readInt8,e.readInt16LE=Z.readInt16LE,e.readInt16BE=Z.readInt16BE,e.readInt32LE=Z.readInt32LE,e.readInt32BE=Z.readInt32BE,e.readFloatLE=Z.readFloatLE,e.readFloatBE=Z.readFloatBE,e.readDoubleLE=Z.readDoubleLE,e.readDoubleBE=Z.readDoubleBE,e.writeUInt8=Z.writeUInt8,e.writeUIntLE=Z.writeUIntLE,e.writeUIntBE=Z.writeUIntBE,e.writeUInt16LE=Z.writeUInt16LE,e.writeUInt16BE=Z.writeUInt16BE,e.writeUInt32LE=Z.writeUInt32LE,e.writeUInt32BE=Z.writeUInt32BE,e.writeIntLE=Z.writeIntLE,e.writeIntBE=Z.writeIntBE,e.writeInt8=Z.writeInt8,e.writeInt16LE=Z.writeInt16LE,e.writeInt16BE=Z.writeInt16BE,e.writeInt32LE=Z.writeInt32LE,e.writeInt32BE=Z.writeInt32BE,e.writeFloatLE=Z.writeFloatLE,e.writeFloatBE=Z.writeFloatBE,e.writeDoubleLE=Z.writeDoubleLE,e.writeDoubleBE=Z.writeDoubleBE,e.fill=Z.fill,e.inspect=Z.inspect,e.toArrayBuffer=Z.toArrayBuffer,e},K=/[^+\/0-9A-Za-z-_]/g}).call(e,n(146).Buffer,function(){return this}())},function(t,e,n){var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";!function(t){"use strict";function e(t){var e=t.charCodeAt(0);return e===s||e===h?62:e===a||e===f?63:l>e?-1:l+10>e?e-l+26+26:c+26>e?e-c:u+26>e?e-u+26:void 0}function n(t){function n(t){u[h++]=t}var i,r,s,a,l,u,c,h;if(t.length%4>0)throw Error("Invalid string. Length must be a multiple of 4");for(c=t.length,l="="===t.charAt(c-2)?2:"="===t.charAt(c-1)?1:0,u=new o(3*t.length/4-l),s=l>0?t.length-4:t.length,h=0,i=0,r=0;s>i;i+=4,r+=3)a=e(t.charAt(i))<<18|e(t.charAt(i+1))<<12|e(t.charAt(i+2))<<6|e(t.charAt(i+3)),n((16711680&a)>>16),n((65280&a)>>8),n(255&a);return 2===l?(a=e(t.charAt(i))<<2|e(t.charAt(i+1))>>4,n(255&a)):1===l&&(a=e(t.charAt(i))<<10|e(t.charAt(i+1))<<4|e(t.charAt(i+2))>>2,n(a>>8&255),n(255&a)),u}function r(t){function e(t){return i.charAt(t)}function n(t){return e(t>>18&63)+e(t>>12&63)+e(t>>6&63)+e(63&t)}var r,o,s,a=t.length%3,l="";for(r=0,s=t.length-a;s>r;r+=3)o=(t[r]<<16)+(t[r+1]<<8)+t[r+2],l+=n(o);switch(a){case 1:o=t[t.length-1],l+=e(o>>2),l+=e(o<<4&63),l+="==";break;case 2:o=(t[t.length-2]<<8)+t[t.length-1],l+=e(o>>10),l+=e(o>>4&63),l+=e(o<<2&63),l+="="}return l}var o="undefined"!=typeof Uint8Array?Uint8Array:Array,s="+".charCodeAt(0),a="/".charCodeAt(0),l="0".charCodeAt(0),u="a".charCodeAt(0),c="A".charCodeAt(0),h="-".charCodeAt(0),f="_".charCodeAt(0);t.toByteArray=n,t.fromByteArray=r}(e)},function(t,e){e.read=function(t,e,n,i,r){var o,s,a=8*r-i-1,l=(1<<a)-1,u=l>>1,c=-7,h=n?r-1:0,f=n?-1:1,d=t[e+h];for(h+=f,o=d&(1<<-c)-1,d>>=-c,c+=a;c>0;o=256*o+t[e+h],h+=f,c-=8);for(s=o&(1<<-c)-1,o>>=-c,c+=i;c>0;s=256*s+t[e+h],h+=f,c-=8);if(0===o)o=1-u;else{if(o===l)return s?NaN:(d?-1:1)*(1/0);s+=Math.pow(2,i),o-=u}return(d?-1:1)*s*Math.pow(2,o-i)},e.write=function(t,e,n,i,r,o){var s,a,l,u=8*o-r-1,c=(1<<u)-1,h=c>>1,f=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,d=i?0:o-1,p=i?1:-1,g=0>e||0===e&&0>1/e?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=c):(s=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-s))<1&&(s--,l*=2),e+=s+h>=1?f/l:f*Math.pow(2,1-h),e*l>=2&&(s++,l/=2),s+h>=c?(a=0,s=c):s+h>=1?(a=(e*l-1)*Math.pow(2,r),s+=h):(a=e*Math.pow(2,h-1)*Math.pow(2,r),s=0));r>=8;t[n+d]=255&a,d+=p,a/=256,r-=8);for(s=s<<r|a,u+=r;u>0;t[n+d]=255&s,d+=p,s/=256,u-=8);t[n+d-p]|=128*g}},function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},function(t,e,n){"use strict";function i(t){return t}function r(t,e){for(var n=0;n<t.length;++n)e[n]=255&t.charCodeAt(n);return e}function o(t){var n,i,r=65536,o=[],s=t.length,a=e.getTypeOf(t),l=0,u=!0;try{switch(a){case"uint8array":String.fromCharCode.apply(null,new Uint8Array(0));break;case"nodebuffer":String.fromCharCode.apply(null,c(0))}}catch(h){u=!1}if(!u){for(n="",i=0;i<t.length;i++)n+=String.fromCharCode(t[i]);return n}for(;s>l&&r>1;)try{"array"===a||"nodebuffer"===a?o.push(String.fromCharCode.apply(null,t.slice(l,Math.min(l+r,s)))):o.push(String.fromCharCode.apply(null,t.subarray(l,Math.min(l+r,s)))),l+=r}catch(h){r=Math.floor(r/2)}return o.join("")}function s(t,e){for(var n=0;n<t.length;n++)e[n]=t[n];return e}var a,l=n(145),u=n(151),c=n(169);e.string2binary=function(t){var e,n="";for(e=0;e<t.length;e++)n+=String.fromCharCode(255&t.charCodeAt(e));return n},e.arrayBuffer2Blob=function(t,n){var i,r;e.checkSupport("blob"),n=n||"application/zip";try{return new Blob([t],{type:n})}catch(o){try{return i=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder,r=new i,r.append(t),r.getBlob(n)}catch(o){throw Error("Bug : can't construct the Blob.")}}},e.applyFromCharCode=o,a={},a.string={string:i,array:function(t){return r(t,Array(t.length))},arraybuffer:function(t){return a.string.uint8array(t).buffer},uint8array:function(t){return r(t,new Uint8Array(t.length))},nodebuffer:function(t){return r(t,c(t.length))}},a.array={string:o,array:i,arraybuffer:function(t){return new Uint8Array(t).buffer},uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return c(t)}},a.arraybuffer={string:function(t){return o(new Uint8Array(t))},array:function(t){return s(new Uint8Array(t),Array(t.byteLength))},arraybuffer:i,uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return c(new Uint8Array(t))}},a.uint8array={string:o,array:function(t){return s(t,Array(t.length))},arraybuffer:function(t){return t.buffer},uint8array:i,nodebuffer:function(t){return c(t)}},a.nodebuffer={string:o,array:function(t){return s(t,Array(t.length))},arraybuffer:function(t){return a.nodebuffer.uint8array(t).buffer},uint8array:function(t){return s(t,new Uint8Array(t.length))},nodebuffer:i},e.transformTo=function(t,n){var i,r;return n||(n=""),t?(e.checkSupport(t),i=e.getTypeOf(n),r=a[i][t](n)):n},e.getTypeOf=function(t){return"string"==typeof t?"string":"[object Array]"===Object.prototype.toString.call(t)?"array":l.nodebuffer&&c.test(t)?"nodebuffer":l.uint8array&&t instanceof Uint8Array?"uint8array":l.arraybuffer&&t instanceof ArrayBuffer?"arraybuffer":void 0},e.checkSupport=function(t){var e=l[t.toLowerCase()];if(!e)throw Error(t+" is not supported by this browser")},e.MAX_VALUE_16BITS=65535,e.MAX_VALUE_32BITS=-1,e.pretty=function(t){var e,n,i="";for(n=0;n<(t||"").length;n++)e=t.charCodeAt(n),i+="\\x"+(16>e?"0":"")+e.toString(16).toUpperCase();return i},e.findCompression=function(t){for(var e in u)if(u.hasOwnProperty(e)&&u[e].magic===t)return u[e];return null},e.isRegExp=function(t){return"[object RegExp]"===Object.prototype.toString.call(t)}},function(t,e,n){"use strict";e.STORE={magic:"\x00\x00",compress:function(t,e){return t},uncompress:function(t){return t},compressInputType:null,uncompressInputType:null},e.DEFLATE=n(152)},function(t,e,n){"use strict";var i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,r=n(153);e.uncompressInputType=i?"uint8array":"array",e.compressInputType=i?"uint8array":"array",e.magic="\b\x00",e.compress=function(t,e){return r.deflateRaw(t,{level:e.level||-1})},e.uncompress=function(t){return r.inflateRaw(t)}},function(t,e,n){"use strict";var i=n(154).assign,r=n(155),o=n(163),s=n(167),a={};i(a,r,o,s),t.exports=a},function(t,e){"use strict";var n,i,r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;e.assign=function(t){for(var e,n,i=Array.prototype.slice.call(arguments,1);i.length;)if(e=i.shift()){if("object"!=typeof e)throw new TypeError(e+"must be non-object");for(n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}return t},e.shrinkBuf=function(t,e){return t.length===e?t:t.subarray?t.subarray(0,e):(t.length=e,t)},n={arraySet:function(t,e,n,i,r){if(e.subarray&&t.subarray)return void t.set(e.subarray(n,n+i),r);for(var o=0;i>o;o++)t[r+o]=e[n+o]},flattenChunks:function(t){var e,n,i,r,o,s;for(i=0,e=0,n=t.length;n>e;e++)i+=t[e].length;for(s=new Uint8Array(i),r=0,e=0,n=t.length;n>e;e++)o=t[e],s.set(o,r),r+=o.length;return s}},i={arraySet:function(t,e,n,i,r){for(var o=0;i>o;o++)t[r+o]=e[n+o]},flattenChunks:function(t){return[].concat.apply([],t)}},e.setTyped=function(t){t?(e.Buf8=Uint8Array,e.Buf16=Uint16Array,e.Buf32=Int32Array,e.assign(e,n)):(e.Buf8=Array,e.Buf16=Array,e.Buf32=Array,e.assign(e,i))},e.setTyped(r)},function(t,e,n){"use strict";function i(t,e){var n=new _(e);if(n.push(t,!0),n.err)throw n.msg;return n.result}function r(t,e){return e=e||{},e.raw=!0,i(t,e)}function o(t,e){return e=e||{},e.gzip=!0,i(t,e)}var s=n(156),a=n(154),l=n(161),u=n(160),c=n(162),h=Object.prototype.toString,f=0,d=4,p=0,g=1,m=2,v=-1,y=0,b=8,_=function(t){var e,n;if(this.options=a.assign({level:v,method:b,chunkSize:16384,windowBits:15,memLevel:8,strategy:y,to:""},t||{}),e=this.options,e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0,n=s.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy),n!==p)throw Error(u[n]);e.header&&s.deflateSetHeader(this.strm,e.header)};_.prototype.push=function(t,e){var n,i,r=this.strm,o=this.options.chunkSize;if(this.ended)return!1;i=e===~~e?e:e===!0?d:f,"string"==typeof t?r.input=l.string2buf(t):"[object ArrayBuffer]"===h.call(t)?r.input=new Uint8Array(t):r.input=t,r.next_in=0,r.avail_in=r.input.length;do{if(0===r.avail_out&&(r.output=new a.Buf8(o),r.next_out=0,r.avail_out=o),n=s.deflate(r,i),n!==g&&n!==p)return this.onEnd(n),this.ended=!0,!1;0!==r.avail_out&&(0!==r.avail_in||i!==d&&i!==m)||("string"===this.options.to?this.onData(l.buf2binstring(a.shrinkBuf(r.output,r.next_out))):this.onData(a.shrinkBuf(r.output,r.next_out)))}while((r.avail_in>0||0===r.avail_out)&&n!==g);return i===d?(n=s.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===p):i===m?(this.onEnd(p),r.avail_out=0,!0):!0},_.prototype.onData=function(t){this.chunks.push(t)},_.prototype.onEnd=function(t){t===p&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},e.Deflate=_,e.deflate=i,e.deflateRaw=r,e.gzip=o},function(t,e,n){"use strict";function i(t,e){return t.msg=P[e],e}function r(t){return(t<<1)-(t>4?9:0)}function o(t){for(var e=t.length;--e>=0;)t[e]=0}function s(t){var e=t.state,n=e.pending;n>t.avail_out&&(n=t.avail_out),0!==n&&(D.arraySet(t.output,e.pending_buf,e.pending_out,n,t.next_out),t.next_out+=n,e.pending_out+=n,t.total_out+=n,t.avail_out-=n,e.pending-=n,0===e.pending&&(e.pending_out=0))}function a(t,e){M._tr_flush_block(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,s(t.strm)}function l(t,e){t.pending_buf[t.pending++]=e}function u(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function c(t,e,n,i){var r=t.avail_in;return r>i&&(r=i),0===r?0:(t.avail_in-=r,D.arraySet(e,t.input,t.next_in,r,n),1===t.state.wrap?t.adler=E(t.adler,e,r,n):2===t.state.wrap&&(t.adler=A(t.adler,e,r,n)),t.next_in+=r,t.total_in+=r,r)}function h(t,e){var n,i,r=t.max_chain_length,o=t.strstart,s=t.prev_length,a=t.nice_match,l=t.strstart>t.w_size-lt?t.strstart-(t.w_size-lt):0,u=t.window,c=t.w_mask,h=t.prev,f=t.strstart+at,d=u[o+s-1],p=u[o+s];t.prev_length>=t.good_match&&(r>>=2),a>t.lookahead&&(a=t.lookahead);do if(n=e,u[n+s]===p&&u[n+s-1]===d&&u[n]===u[o]&&u[++n]===u[o+1]){o+=2,n++;do;while(u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&f>o);if(i=at-(f-o),o=f-at,i>s){if(t.match_start=e,s=i,i>=a)break;d=u[o+s-1],p=u[o+s]}}while((e=h[e&c])>l&&0!==--r);return s<=t.lookahead?s:t.lookahead}function f(t){var e,n,i,r,o,s=t.w_size;do{if(r=t.window_size-t.lookahead-t.strstart,t.strstart>=s+(s-lt)){D.arraySet(t.window,t.window,s,s,0),t.match_start-=s,t.strstart-=s,t.block_start-=s,n=t.hash_size,e=n;do i=t.head[--e],t.head[e]=i>=s?i-s:0;while(--n);n=s,e=n;do i=t.prev[--e],t.prev[e]=i>=s?i-s:0;while(--n);r+=s}if(0===t.strm.avail_in)break;if(n=c(t.strm,t.window,t.strstart+t.lookahead,r),t.lookahead+=n,t.lookahead+t.insert>=st)for(o=t.strstart-t.insert,t.ins_h=t.window[o],t.ins_h=(t.ins_h<<t.hash_shift^t.window[o+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[o+st-1])&t.hash_mask,t.prev[o&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=o,o++,t.insert--,!(t.lookahead+t.insert<st)););}while(t.lookahead<lt&&0!==t.strm.avail_in)}function d(t,e){var n,i=65535;for(i>t.pending_buf_size-5&&(i=t.pending_buf_size-5);;){if(t.lookahead<=1){if(f(t),0===t.lookahead&&e===I)return vt;if(0===t.lookahead)break}if(t.strstart+=t.lookahead,t.lookahead=0,n=t.block_start+i,(0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,a(t,!1),0===t.strm.avail_out))return vt;if(t.strstart-t.block_start>=t.w_size-lt&&(a(t,!1),0===t.strm.avail_out))return vt}return t.insert=0,e===L?(a(t,!0),0===t.strm.avail_out?bt:_t):t.strstart>t.block_start&&(a(t,!1),0===t.strm.avail_out)?vt:vt}function p(t,e){for(var n,i;;){if(t.lookahead<lt){if(f(t),t.lookahead<lt&&e===I)return vt;if(0===t.lookahead)break}if(n=0,t.lookahead>=st&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+st-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==n&&t.strstart-n<=t.w_size-lt&&(t.match_length=h(t,n)),t.match_length>=st)if(i=M._tr_tally(t,t.strstart-t.match_start,t.match_length-st),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=st){t.match_length--;do t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+st-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart;while(0!==--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else i=M._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(i&&(a(t,!1),0===t.strm.avail_out))return vt}return t.insert=t.strstart<st-1?t.strstart:st-1,e===L?(a(t,!0),0===t.strm.avail_out?bt:_t):t.last_lit&&(a(t,!1),0===t.strm.avail_out)?vt:yt}function g(t,e){for(var n,i,r;;){if(t.lookahead<lt){if(f(t),t.lookahead<lt&&e===I)return vt;if(0===t.lookahead)break}if(n=0,t.lookahead>=st&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+st-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=st-1,0!==n&&t.prev_length<t.max_lazy_match&&t.strstart-n<=t.w_size-lt&&(t.match_length=h(t,n),t.match_length<=5&&(t.strategy===U||t.match_length===st&&t.strstart-t.match_start>4096)&&(t.match_length=st-1)),t.prev_length>=st&&t.match_length<=t.prev_length){r=t.strstart+t.lookahead-st,i=M._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-st),t.lookahead-=t.prev_length-1,t.prev_length-=2;do++t.strstart<=r&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+st-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart);while(0!==--t.prev_length);if(t.match_available=0,t.match_length=st-1,t.strstart++,i&&(a(t,!1),0===t.strm.avail_out))return vt}else if(t.match_available){if(i=M._tr_tally(t,0,t.window[t.strstart-1]),i&&a(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return vt}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(i=M._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<st-1?t.strstart:st-1,e===L?(a(t,!0),0===t.strm.avail_out?bt:_t):t.last_lit&&(a(t,!1),0===t.strm.avail_out)?vt:yt}function m(t,e){for(var n,i,r,o,s=t.window;;){if(t.lookahead<=at){if(f(t),t.lookahead<=at&&e===I)return vt;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=st&&t.strstart>0&&(r=t.strstart-1,i=s[r],i===s[++r]&&i===s[++r]&&i===s[++r])){o=t.strstart+at;do;while(i===s[++r]&&i===s[++r]&&i===s[++r]&&i===s[++r]&&i===s[++r]&&i===s[++r]&&i===s[++r]&&i===s[++r]&&o>r);t.match_length=at-(o-r),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=st?(n=M._tr_tally(t,1,t.match_length-st),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(n=M._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),n&&(a(t,!1),0===t.strm.avail_out))return vt}return t.insert=0,e===L?(a(t,!0),0===t.strm.avail_out?bt:_t):t.last_lit&&(a(t,!1),0===t.strm.avail_out)?vt:yt}function v(t,e){for(var n;;){if(0===t.lookahead&&(f(t),0===t.lookahead)){if(e===I)return vt;break}if(t.match_length=0,n=M._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,n&&(a(t,!1),0===t.strm.avail_out))return vt}return t.insert=0,e===L?(a(t,!0),0===t.strm.avail_out?bt:_t):t.last_lit&&(a(t,!1),0===t.strm.avail_out)?vt:yt}function y(t){t.window_size=2*t.w_size,o(t.head),t.max_lazy_match=kt[t.level].max_lazy,t.good_match=kt[t.level].good_length,t.nice_match=kt[t.level].nice_length,t.max_chain_length=kt[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=st-1,t.match_available=0,t.ins_h=0}function b(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=G,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new D.Buf16(2*rt),this.dyn_dtree=new D.Buf16(2*(2*nt+1)),this.bl_tree=new D.Buf16(2*(2*it+1)),o(this.dyn_ltree),o(this.dyn_dtree),o(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new D.Buf16(ot+1),this.heap=new D.Buf16(2*et+1),o(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new D.Buf16(2*et+1),o(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function _(t){var e;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=$,e=t.state,e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?ct:gt,t.adler=2===e.wrap?0:1,e.last_flush=I,M._tr_init(e),z):i(t,R)}function w(t){var e=_(t);return e===z&&y(t.state),e}function x(t,e){return t&&t.state?2!==t.state.wrap?R:(t.state.gzhead=e,z):R}function k(t,e,n,r,o,s){var a,l;return t?(a=1,e===B&&(e=6),0>r?(a=0,r=-r):r>15&&(a=2,r-=16),1>o||o>Z||n!==G||8>r||r>15||0>e||e>9||0>s||s>q?i(t,R):(8===r&&(r=9),l=new b,t.state=l,l.strm=t,l.wrap=a,l.gzhead=null,l.w_bits=r,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=o+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+st-1)/st),l.window=new D.Buf8(2*l.w_size),l.head=new D.Buf16(l.hash_size),l.prev=new D.Buf16(l.w_size),l.lit_bufsize=1<<o+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new D.Buf8(l.pending_buf_size),l.d_buf=l.lit_bufsize>>1,l.l_buf=3*l.lit_bufsize,l.level=e,l.strategy=s,l.method=n,w(t))):R}function S(t,e){return k(t,e,G,K,Q,X)}function C(t,e){var n,a,c,h,f,d,p;if(!t||!t.state||e>F||0>e)return t?i(t,R):R;if(a=t.state,!t.output||!t.input&&0!==t.avail_in||a.status===mt&&e!==L)return i(t,0===t.avail_out?Y:R);if(a.strm=t,n=a.last_flush,a.last_flush=e,a.status===ct&&(2===a.wrap?(t.adler=0,l(a,31),l(a,139),l(a,8),a.gzhead?(l(a,(a.gzhead.text?1:0)+(a.gzhead.hcrc?2:0)+(a.gzhead.extra?4:0)+(a.gzhead.name?8:0)+(a.gzhead.comment?16:0)),l(a,255&a.gzhead.time),l(a,a.gzhead.time>>8&255),l(a,a.gzhead.time>>16&255),l(a,a.gzhead.time>>24&255),l(a,9===a.level?2:a.strategy>=W||a.level<2?4:0),l(a,255&a.gzhead.os),a.gzhead.extra&&a.gzhead.extra.length&&(l(a,255&a.gzhead.extra.length),l(a,a.gzhead.extra.length>>8&255)),a.gzhead.hcrc&&(t.adler=A(t.adler,a.pending_buf,a.pending,0)),a.gzindex=0,a.status=ht):(l(a,0),l(a,0),l(a,0),l(a,0),l(a,0),l(a,9===a.level?2:a.strategy>=W||a.level<2?4:0),l(a,wt),a.status=gt)):(f=G+(a.w_bits-8<<4)<<8,d=-1,d=a.strategy>=W||a.level<2?0:a.level<6?1:6===a.level?2:3,f|=d<<6,0!==a.strstart&&(f|=ut),f+=31-f%31,a.status=gt,u(a,f),0!==a.strstart&&(u(a,t.adler>>>16),u(a,65535&t.adler)),t.adler=1)),a.status===ht)if(a.gzhead.extra){for(c=a.pending;a.gzindex<(65535&a.gzhead.extra.length)&&(a.pending!==a.pending_buf_size||(a.gzhead.hcrc&&a.pending>c&&(t.adler=A(t.adler,a.pending_buf,a.pending-c,c)),s(t),c=a.pending,a.pending!==a.pending_buf_size));)l(a,255&a.gzhead.extra[a.gzindex]),a.gzindex++;a.gzhead.hcrc&&a.pending>c&&(t.adler=A(t.adler,a.pending_buf,a.pending-c,c)),a.gzindex===a.gzhead.extra.length&&(a.gzindex=0,a.status=ft)}else a.status=ft;if(a.status===ft)if(a.gzhead.name){c=a.pending;do{if(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>c&&(t.adler=A(t.adler,a.pending_buf,a.pending-c,c)),s(t),c=a.pending,a.pending===a.pending_buf_size)){h=1;break}h=a.gzindex<a.gzhead.name.length?255&a.gzhead.name.charCodeAt(a.gzindex++):0,l(a,h)}while(0!==h);a.gzhead.hcrc&&a.pending>c&&(t.adler=A(t.adler,a.pending_buf,a.pending-c,c)),0===h&&(a.gzindex=0,a.status=dt)}else a.status=dt;if(a.status===dt)if(a.gzhead.comment){c=a.pending;do{if(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>c&&(t.adler=A(t.adler,a.pending_buf,a.pending-c,c)),s(t),c=a.pending,a.pending===a.pending_buf_size)){h=1;break}h=a.gzindex<a.gzhead.comment.length?255&a.gzhead.comment.charCodeAt(a.gzindex++):0,l(a,h)}while(0!==h);a.gzhead.hcrc&&a.pending>c&&(t.adler=A(t.adler,a.pending_buf,a.pending-c,c)),0===h&&(a.status=pt)}else a.status=pt;if(a.status===pt&&(a.gzhead.hcrc?(a.pending+2>a.pending_buf_size&&s(t),a.pending+2<=a.pending_buf_size&&(l(a,255&t.adler),l(a,t.adler>>8&255),t.adler=0,a.status=gt)):a.status=gt),0!==a.pending){if(s(t),0===t.avail_out)return a.last_flush=-1,z}else if(0===t.avail_in&&r(e)<=r(n)&&e!==L)return i(t,Y);if(a.status===mt&&0!==t.avail_in)return i(t,Y);if(0!==t.avail_in||0!==a.lookahead||e!==I&&a.status!==mt){if(p=a.strategy===W?v(a,e):a.strategy===V?m(a,e):kt[a.level].func(a,e),p!==bt&&p!==_t||(a.status=mt),p===vt||p===bt)return 0===t.avail_out&&(a.last_flush=-1),z;if(p===yt&&(e===O?M._tr_align(a):e!==F&&(M._tr_stored_block(a,0,0,!1),e===N&&(o(a.head),0===a.lookahead&&(a.strstart=0,a.block_start=0,a.insert=0))),s(t),0===t.avail_out))return a.last_flush=-1,z}return e!==L?z:a.wrap<=0?j:(2===a.wrap?(l(a,255&t.adler),l(a,t.adler>>8&255),l(a,t.adler>>16&255),l(a,t.adler>>24&255),l(a,255&t.total_in),l(a,t.total_in>>8&255),l(a,t.total_in>>16&255),l(a,t.total_in>>24&255)):(u(a,t.adler>>>16),u(a,65535&t.adler)),s(t),a.wrap>0&&(a.wrap=-a.wrap),0!==a.pending?z:j)}function T(t){var e;return t&&t.state?(e=t.state.status,e!==ct&&e!==ht&&e!==ft&&e!==dt&&e!==pt&&e!==gt&&e!==mt?i(t,R):(t.state=null,e===gt?i(t,H):z)):R}var D=n(154),M=n(157),E=n(158),A=n(159),P=n(160),I=0,O=1,N=3,L=4,F=5,z=0,j=1,R=-2,H=-3,Y=-5,B=-1,U=1,W=2,V=3,q=4,X=0,$=2,G=8,Z=9,K=15,Q=8,J=29,tt=256,et=tt+1+J,nt=30,it=19,rt=2*et+1,ot=15,st=3,at=258,lt=at+st+1,ut=32,ct=42,ht=69,ft=73,dt=91,pt=103,gt=113,mt=666,vt=1,yt=2,bt=3,_t=4,wt=3,xt=function(t,e,n,i,r){this.good_length=t,this.max_lazy=e,this.nice_length=n,this.max_chain=i,this.func=r},kt=[new xt(0,0,0,0,d),new xt(4,4,8,4,p),new xt(4,5,16,8,p),new xt(4,6,32,32,p),new xt(4,4,16,16,g),new xt(8,16,32,32,g),new xt(8,16,128,128,g),new xt(8,32,128,256,g),new xt(32,128,258,1024,g),new xt(32,258,258,4096,g)];e.deflateInit=S,e.deflateInit2=k,e.deflateReset=w,e.deflateResetKeep=_,e.deflateSetHeader=x,
|
||
e.deflate=C,e.deflateEnd=T,e.deflateInfo="pako deflate (from Nodeca project)"},function(t,e,n){"use strict";function i(t){for(var e=t.length;--e>=0;)t[e]=0}function r(t){return 256>t?P[t]:P[256+(t>>>7)]}function o(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function s(t,e,n){t.bi_valid>rt-n?(t.bi_buf|=e<<t.bi_valid&65535,o(t,t.bi_buf),t.bi_buf=e>>rt-t.bi_valid,t.bi_valid+=n-rt):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=n)}function a(t,e,n){s(t,n[2*e],n[2*e+1])}function l(t,e){var n=0;do n|=1&t,t>>>=1,n<<=1;while(--e>0);return n>>>1}function u(t){16===t.bi_valid?(o(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}function c(t,e){var n,i,r,o,s,a,l=e.dyn_tree,u=e.max_code,c=e.stat_desc.static_tree,h=e.stat_desc.has_stree,f=e.stat_desc.extra_bits,d=e.stat_desc.extra_base,p=e.stat_desc.max_length,g=0;for(o=0;it>=o;o++)t.bl_count[o]=0;for(l[2*t.heap[t.heap_max]+1]=0,n=t.heap_max+1;nt>n;n++)i=t.heap[n],o=l[2*l[2*i+1]+1]+1,o>p&&(o=p,g++),l[2*i+1]=o,i>u||(t.bl_count[o]++,s=0,i>=d&&(s=f[i-d]),a=l[2*i],t.opt_len+=a*(o+s),h&&(t.static_len+=a*(c[2*i+1]+s)));if(0!==g){do{for(o=p-1;0===t.bl_count[o];)o--;t.bl_count[o]--,t.bl_count[o+1]+=2,t.bl_count[p]--,g-=2}while(g>0);for(o=p;0!==o;o--)for(i=t.bl_count[o];0!==i;)r=t.heap[--n],r>u||(l[2*r+1]!==o&&(t.opt_len+=(o-l[2*r+1])*l[2*r],l[2*r+1]=o),i--)}}function h(t,e,n){var i,r,o,s=Array(it+1),a=0;for(i=1;it>=i;i++)s[i]=a=a+n[i-1]<<1;for(r=0;e>=r;r++)o=t[2*r+1],0!==o&&(t[2*r]=l(s[o]++,o))}function f(){var t,e,n,i,r=Array(it+1),o=0;for(n=0;K-1>n;n++)for(O[n]=o,t=0;t<1<<ct[n];t++)I[o++]=n;for(I[o-1]=n,i=0,n=0;16>n;n++)for(N[n]=i,t=0;t<1<<ht[n];t++)P[i++]=n;for(i>>=7;tt>n;n++)for(N[n]=i<<7,t=0;t<1<<ht[n]-7;t++)P[256+i++]=n;for(e=0;it>=e;e++)r[e]=0;for(t=0;143>=t;)gt[2*t+1]=8,t++,r[8]++;for(;255>=t;)gt[2*t+1]=9,t++,r[9]++;for(;279>=t;)gt[2*t+1]=7,t++,r[7]++;for(;287>=t;)gt[2*t+1]=8,t++,r[8]++;for(h(gt,J+1,r),t=0;tt>t;t++)A[2*t+1]=5,A[2*t]=l(t,5);F=new L(gt,ct,Q+1,J,it),z=new L(A,ht,0,tt,it),j=new L(Array(0),ft,0,et,ot)}function d(t){var e;for(e=0;J>e;e++)t.dyn_ltree[2*e]=0;for(e=0;tt>e;e++)t.dyn_dtree[2*e]=0;for(e=0;et>e;e++)t.bl_tree[2*e]=0;t.dyn_ltree[2*st]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function p(t){t.bi_valid>8?o(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function g(t,e,n,i){p(t),i&&(o(t,n),o(t,~n)),Y.arraySet(t.pending_buf,t.window,e,n,t.pending),t.pending+=n}function m(t,e,n,i){var r=2*e,o=2*n;return t[r]<t[o]||t[r]===t[o]&&i[e]<=i[n]}function v(t,e,n){for(var i=t.heap[n],r=n<<1;r<=t.heap_len&&(r<t.heap_len&&m(e,t.heap[r+1],t.heap[r],t.depth)&&r++,!m(e,i,t.heap[r],t.depth));)t.heap[n]=t.heap[r],n=r,r<<=1;t.heap[n]=i}function y(t,e,n){var i,o,l,u,c=0;if(0!==t.last_lit)do i=t.pending_buf[t.d_buf+2*c]<<8|t.pending_buf[t.d_buf+2*c+1],o=t.pending_buf[t.l_buf+c],c++,0===i?a(t,o,e):(l=I[o],a(t,l+Q+1,e),u=ct[l],0!==u&&(o-=O[l],s(t,o,u)),i--,l=r(i),a(t,l,n),u=ht[l],0!==u&&(i-=N[l],s(t,i,u)));while(c<t.last_lit);a(t,st,e)}function b(t,e){var n,i,r,o=e.dyn_tree,s=e.stat_desc.static_tree,a=e.stat_desc.has_stree,l=e.stat_desc.elems,u=-1;for(t.heap_len=0,t.heap_max=nt,n=0;l>n;n++)0!==o[2*n]?(t.heap[++t.heap_len]=u=n,t.depth[n]=0):o[2*n+1]=0;for(;t.heap_len<2;)r=t.heap[++t.heap_len]=2>u?++u:0,o[2*r]=1,t.depth[r]=0,t.opt_len--,a&&(t.static_len-=s[2*r+1]);for(e.max_code=u,n=t.heap_len>>1;n>=1;n--)v(t,o,n);r=l;do n=t.heap[1],t.heap[1]=t.heap[t.heap_len--],v(t,o,1),i=t.heap[1],t.heap[--t.heap_max]=n,t.heap[--t.heap_max]=i,o[2*r]=o[2*n]+o[2*i],t.depth[r]=(t.depth[n]>=t.depth[i]?t.depth[n]:t.depth[i])+1,o[2*n+1]=o[2*i+1]=r,t.heap[1]=r++,v(t,o,1);while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],c(t,e),h(o,u,t.bl_count)}function _(t,e,n){var i,r,o=-1,s=e[1],a=0,l=7,u=4;for(0===s&&(l=138,u=3),e[2*(n+1)+1]=65535,i=0;n>=i;i++)r=s,s=e[2*(i+1)+1],++a<l&&r===s||(u>a?t.bl_tree[2*r]+=a:0!==r?(r!==o&&t.bl_tree[2*r]++,t.bl_tree[2*at]++):10>=a?t.bl_tree[2*lt]++:t.bl_tree[2*ut]++,a=0,o=r,0===s?(l=138,u=3):r===s?(l=6,u=3):(l=7,u=4))}function w(t,e,n){var i,r,o=-1,l=e[1],u=0,c=7,h=4;for(0===l&&(c=138,h=3),i=0;n>=i;i++)if(r=l,l=e[2*(i+1)+1],!(++u<c&&r===l)){if(h>u){do a(t,r,t.bl_tree);while(0!==--u)}else 0!==r?(r!==o&&(a(t,r,t.bl_tree),u--),a(t,at,t.bl_tree),s(t,u-3,2)):10>=u?(a(t,lt,t.bl_tree),s(t,u-3,3)):(a(t,ut,t.bl_tree),s(t,u-11,7));u=0,o=r,0===l?(c=138,h=3):r===l?(c=6,h=3):(c=7,h=4)}}function x(t){var e;for(_(t,t.dyn_ltree,t.l_desc.max_code),_(t,t.dyn_dtree,t.d_desc.max_code),b(t,t.bl_desc),e=et-1;e>=3&&0===t.bl_tree[2*dt[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}function k(t,e,n,i){var r;for(s(t,e-257,5),s(t,n-1,5),s(t,i-4,4),r=0;i>r;r++)s(t,t.bl_tree[2*dt[r]+1],3);w(t,t.dyn_ltree,e-1),w(t,t.dyn_dtree,n-1)}function S(t){var e,n=4093624447;for(e=0;31>=e;e++,n>>>=1)if(1&n&&0!==t.dyn_ltree[2*e])return U;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return W;for(e=32;Q>e;e++)if(0!==t.dyn_ltree[2*e])return W;return U}function C(t){H||(f(),H=!0),t.l_desc=new R(t.dyn_ltree,F),t.d_desc=new R(t.dyn_dtree,z),t.bl_desc=new R(t.bl_tree,j),t.bi_buf=0,t.bi_valid=0,d(t)}function T(t,e,n,i){s(t,(q<<1)+(i?1:0),3),g(t,e,n,!0)}function D(t){s(t,X<<1,3),a(t,st,gt),u(t)}function M(t,e,n,i){var r,o,a=0;t.level>0?(t.strm.data_type===V&&(t.strm.data_type=S(t)),b(t,t.l_desc),b(t,t.d_desc),a=x(t),r=t.opt_len+3+7>>>3,o=t.static_len+3+7>>>3,r>=o&&(r=o)):r=o=n+5,r>=n+4&&-1!==e?T(t,e,n,i):t.strategy===B||o===r?(s(t,(X<<1)+(i?1:0),3),y(t,gt,A)):(s(t,($<<1)+(i?1:0),3),k(t,t.l_desc.max_code+1,t.d_desc.max_code+1,a+1),y(t,t.dyn_ltree,t.dyn_dtree)),d(t),i&&p(t)}function E(t,e,n){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&n,t.last_lit++,0===e?t.dyn_ltree[2*n]++:(t.matches++,e--,t.dyn_ltree[2*(I[n]+Q+1)]++,t.dyn_dtree[2*r(e)]++),t.last_lit===t.lit_bufsize-1}var A,P,I,O,N,L,F,z,j,R,H,Y=n(154),B=4,U=0,W=1,V=2,q=0,X=1,$=2,G=3,Z=258,K=29,Q=256,J=Q+1+K,tt=30,et=19,nt=2*J+1,it=15,rt=16,ot=7,st=256,at=16,lt=17,ut=18,ct=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],ht=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],ft=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],dt=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],pt=512,gt=Array(2*(J+2));i(gt),A=Array(2*tt),i(A),P=Array(pt),i(P),I=Array(Z-G+1),i(I),O=Array(K),i(O),N=Array(tt),i(N),L=function(t,e,n,i,r){this.static_tree=t,this.extra_bits=e,this.extra_base=n,this.elems=i,this.max_length=r,this.has_stree=t&&t.length},R=function(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e},H=!1,e._tr_init=C,e._tr_stored_block=T,e._tr_flush_block=M,e._tr_tally=E,e._tr_align=D},function(t,e){"use strict";function n(t,e,n,i){for(var r=65535&t|0,o=t>>>16&65535|0,s=0;0!==n;){s=n>2e3?2e3:n,n-=s;do r=r+e[i++]|0,o=o+r|0;while(--s);r%=65521,o%=65521}return r|o<<16|0}t.exports=n},function(t,e){"use strict";function n(){var t,e,n,i=[];for(e=0;256>e;e++){for(t=e,n=0;8>n;n++)t=1&t?3988292384^t>>>1:t>>>1;i[e]=t}return i}function i(t,e,n,i){var o,s=r,a=i+n;for(t=-1^t,o=i;a>o;o++)t=t>>>8^s[255&(t^e[o])];return-1^t}var r=n();t.exports=i},function(t,e){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},function(t,e,n){"use strict";function i(t,e){var n,i;if(65537>e&&(t.subarray&&l||!t.subarray&&a))return String.fromCharCode.apply(null,s.shrinkBuf(t,e));for(n="",i=0;e>i;i++)n+=String.fromCharCode(t[i]);return n}var r,o,s=n(154),a=!0,l=!0;try{String.fromCharCode.apply(null,[0])}catch(u){a=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(u){l=!1}for(r=new s.Buf8(256),o=0;256>o;o++)r[o]=o>=252?6:o>=248?5:o>=240?4:o>=224?3:o>=192?2:1;r[254]=r[254]=1,e.string2buf=function(t){var e,n,i,r,o,a=t.length,l=0;for(r=0;a>r;r++)n=t.charCodeAt(r),55296===(64512&n)&&a>r+1&&(i=t.charCodeAt(r+1),56320===(64512&i)&&(n=65536+(n-55296<<10)+(i-56320),r++)),l+=128>n?1:2048>n?2:65536>n?3:4;for(e=new s.Buf8(l),o=0,r=0;l>o;r++)n=t.charCodeAt(r),55296===(64512&n)&&a>r+1&&(i=t.charCodeAt(r+1),56320===(64512&i)&&(n=65536+(n-55296<<10)+(i-56320),r++)),128>n?e[o++]=n:2048>n?(e[o++]=192|n>>>6,e[o++]=128|63&n):65536>n?(e[o++]=224|n>>>12,e[o++]=128|n>>>6&63,e[o++]=128|63&n):(e[o++]=240|n>>>18,e[o++]=128|n>>>12&63,e[o++]=128|n>>>6&63,e[o++]=128|63&n);return e},e.buf2binstring=function(t){return i(t,t.length)},e.binstring2buf=function(t){var e,n,i=new s.Buf8(t.length);for(e=0,n=i.length;n>e;e++)i[e]=t.charCodeAt(e);return i},e.buf2string=function(t,e){var n,o,s,a,l=e||t.length,u=Array(2*l);for(o=0,n=0;l>n;)if(s=t[n++],128>s)u[o++]=s;else if(a=r[s],a>4)u[o++]=65533,n+=a-1;else{for(s&=2===a?31:3===a?15:7;a>1&&l>n;)s=s<<6|63&t[n++],a--;a>1?u[o++]=65533:65536>s?u[o++]=s:(s-=65536,u[o++]=55296|s>>10&1023,u[o++]=56320|1023&s)}return i(u,o)},e.utf8border=function(t,e){var n;for(e=e||t.length,e>t.length&&(e=t.length),n=e-1;n>=0&&128===(192&t[n]);)n--;return 0>n?e:0===n?e:n+r[t[n]]>e?n:e}},function(t,e){"use strict";function n(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}t.exports=n},function(t,e,n){"use strict";function i(t,e){var n=new d(e);if(n.push(t,!0),n.err)throw n.msg;return n.result}function r(t,e){return e=e||{},e.raw=!0,i(t,e)}var o=n(164),s=n(154),a=n(161),l=n(167),u=n(160),c=n(162),h=n(168),f=Object.prototype.toString,d=function(t){var e,n;if(this.options=s.assign({chunkSize:16384,windowBits:0,to:""},t||{}),e=this.options,e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&0===(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0,n=o.inflateInit2(this.strm,e.windowBits),n!==l.Z_OK)throw Error(u[n]);this.header=new h,o.inflateGetHeader(this.strm,this.header)};d.prototype.push=function(t,e){var n,i,r,u,c,h=this.strm,d=this.options.chunkSize,p=!1;if(this.ended)return!1;i=e===~~e?e:e===!0?l.Z_FINISH:l.Z_NO_FLUSH,"string"==typeof t?h.input=a.binstring2buf(t):"[object ArrayBuffer]"===f.call(t)?h.input=new Uint8Array(t):h.input=t,h.next_in=0,h.avail_in=h.input.length;do{if(0===h.avail_out&&(h.output=new s.Buf8(d),h.next_out=0,h.avail_out=d),n=o.inflate(h,l.Z_NO_FLUSH),n===l.Z_BUF_ERROR&&p===!0&&(n=l.Z_OK,p=!1),n!==l.Z_STREAM_END&&n!==l.Z_OK)return this.onEnd(n),this.ended=!0,!1;h.next_out&&(0!==h.avail_out&&n!==l.Z_STREAM_END&&(0!==h.avail_in||i!==l.Z_FINISH&&i!==l.Z_SYNC_FLUSH)||("string"===this.options.to?(r=a.utf8border(h.output,h.next_out),u=h.next_out-r,c=a.buf2string(h.output,r),h.next_out=u,h.avail_out=d-u,u&&s.arraySet(h.output,h.output,r,u,0),this.onData(c)):this.onData(s.shrinkBuf(h.output,h.next_out)))),0===h.avail_in&&0===h.avail_out&&(p=!0)}while((h.avail_in>0||0===h.avail_out)&&n!==l.Z_STREAM_END);return n===l.Z_STREAM_END&&(i=l.Z_FINISH),i===l.Z_FINISH?(n=o.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===l.Z_OK):i===l.Z_SYNC_FLUSH?(this.onEnd(l.Z_OK),h.avail_out=0,!0):!0},d.prototype.onData=function(t){this.chunks.push(t)},d.prototype.onEnd=function(t){t===l.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},e.Inflate=d,e.inflate=i,e.inflateRaw=r,e.ungzip=i},function(t,e,n){"use strict";function i(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function r(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new v.Buf16(320),this.work=new v.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function o(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=F,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new v.Buf32(pt),e.distcode=e.distdyn=new v.Buf32(gt),e.sane=1,e.back=-1,M):P}function s(t){var e;return t&&t.state?(e=t.state,e.wsize=0,e.whave=0,e.wnext=0,o(t)):P}function a(t,e){var n,i;return t&&t.state?(i=t.state,0>e?(n=0,e=-e):(n=(e>>4)+1,48>e&&(e&=15)),e&&(8>e||e>15)?P:(null!==i.window&&i.wbits!==e&&(i.window=null),i.wrap=n,i.wbits=e,s(t))):P}function l(t,e){var n,i;return t?(i=new r,t.state=i,i.window=null,n=a(t,e),n!==M&&(t.state=null),n):P}function u(t){return l(t,vt)}function c(t){if(yt){var e;for(g=new v.Buf32(512),m=new v.Buf32(32),e=0;144>e;)t.lens[e++]=8;for(;256>e;)t.lens[e++]=9;for(;280>e;)t.lens[e++]=7;for(;288>e;)t.lens[e++]=8;for(w(k,t.lens,0,288,g,0,t.work,{bits:9}),e=0;32>e;)t.lens[e++]=5;w(S,t.lens,0,32,m,0,t.work,{bits:5}),yt=!1}t.lencode=g,t.lenbits=9,t.distcode=m,t.distbits=5}function h(t,e,n,i){var r,o=t.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new v.Buf8(o.wsize)),i>=o.wsize?(v.arraySet(o.window,e,n-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(r=o.wsize-o.wnext,r>i&&(r=i),v.arraySet(o.window,e,n-i,r,o.wnext),i-=r,i?(v.arraySet(o.window,e,n-i,i,0),o.wnext=i,o.whave=o.wsize):(o.wnext+=r,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=r))),0}function f(t,e){var n,r,o,s,a,l,u,f,d,p,g,m,pt,gt,mt,vt,yt,bt,_t,wt,xt,kt,St,Ct,Tt=0,Dt=new v.Buf8(4),Mt=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return P;n=t.state,n.mode===X&&(n.mode=$),a=t.next_out,o=t.output,u=t.avail_out,s=t.next_in,r=t.input,l=t.avail_in,f=n.hold,d=n.bits,p=l,g=u,kt=M;t:for(;;)switch(n.mode){case F:if(0===n.wrap){n.mode=$;break}for(;16>d;){if(0===l)break t;l--,f+=r[s++]<<d,d+=8}if(2&n.wrap&&35615===f){n.check=0,Dt[0]=255&f,Dt[1]=f>>>8&255,n.check=b(n.check,Dt,2,0),f=0,d=0,n.mode=z;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&f)<<8)+(f>>8))%31){t.msg="incorrect header check",n.mode=ht;break}if((15&f)!==L){t.msg="unknown compression method",n.mode=ht;break}if(f>>>=4,d-=4,xt=(15&f)+8,0===n.wbits)n.wbits=xt;else if(xt>n.wbits){t.msg="invalid window size",n.mode=ht;break}n.dmax=1<<xt,t.adler=n.check=1,n.mode=512&f?V:X,f=0,d=0;break;case z:for(;16>d;){if(0===l)break t;l--,f+=r[s++]<<d,d+=8}if(n.flags=f,(255&n.flags)!==L){t.msg="unknown compression method",n.mode=ht;break}if(57344&n.flags){t.msg="unknown header flags set",n.mode=ht;break}n.head&&(n.head.text=f>>8&1),512&n.flags&&(Dt[0]=255&f,Dt[1]=f>>>8&255,n.check=b(n.check,Dt,2,0)),f=0,d=0,n.mode=j;case j:for(;32>d;){if(0===l)break t;l--,f+=r[s++]<<d,d+=8}n.head&&(n.head.time=f),512&n.flags&&(Dt[0]=255&f,Dt[1]=f>>>8&255,Dt[2]=f>>>16&255,Dt[3]=f>>>24&255,n.check=b(n.check,Dt,4,0)),f=0,d=0,n.mode=R;case R:for(;16>d;){if(0===l)break t;l--,f+=r[s++]<<d,d+=8}n.head&&(n.head.xflags=255&f,n.head.os=f>>8),512&n.flags&&(Dt[0]=255&f,Dt[1]=f>>>8&255,n.check=b(n.check,Dt,2,0)),f=0,d=0,n.mode=H;case H:if(1024&n.flags){for(;16>d;){if(0===l)break t;l--,f+=r[s++]<<d,d+=8}n.length=f,n.head&&(n.head.extra_len=f),512&n.flags&&(Dt[0]=255&f,Dt[1]=f>>>8&255,n.check=b(n.check,Dt,2,0)),f=0,d=0}else n.head&&(n.head.extra=null);n.mode=Y;case Y:if(1024&n.flags&&(m=n.length,m>l&&(m=l),m&&(n.head&&(xt=n.head.extra_len-n.length,n.head.extra||(n.head.extra=Array(n.head.extra_len)),v.arraySet(n.head.extra,r,s,m,xt)),512&n.flags&&(n.check=b(n.check,r,m,s)),l-=m,s+=m,n.length-=m),n.length))break t;n.length=0,n.mode=B;case B:if(2048&n.flags){if(0===l)break t;m=0;do xt=r[s+m++],n.head&&xt&&n.length<65536&&(n.head.name+=String.fromCharCode(xt));while(xt&&l>m);if(512&n.flags&&(n.check=b(n.check,r,m,s)),l-=m,s+=m,xt)break t}else n.head&&(n.head.name=null);n.length=0,n.mode=U;case U:if(4096&n.flags){if(0===l)break t;m=0;do xt=r[s+m++],n.head&&xt&&n.length<65536&&(n.head.comment+=String.fromCharCode(xt));while(xt&&l>m);if(512&n.flags&&(n.check=b(n.check,r,m,s)),l-=m,s+=m,xt)break t}else n.head&&(n.head.comment=null);n.mode=W;case W:if(512&n.flags){for(;16>d;){if(0===l)break t;l--,f+=r[s++]<<d,d+=8}if(f!==(65535&n.check)){t.msg="header crc mismatch",n.mode=ht;break}f=0,d=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),t.adler=n.check=0,n.mode=X;break;case V:for(;32>d;){if(0===l)break t;l--,f+=r[s++]<<d,d+=8}t.adler=n.check=i(f),f=0,d=0,n.mode=q;case q:if(0===n.havedict)return t.next_out=a,t.avail_out=u,t.next_in=s,t.avail_in=l,n.hold=f,n.bits=d,A;t.adler=n.check=1,n.mode=X;case X:if(e===T||e===D)break t;case $:if(n.last){f>>>=7&d,d-=7&d,n.mode=lt;break}for(;3>d;){if(0===l)break t;l--,f+=r[s++]<<d,d+=8}switch(n.last=1&f,f>>>=1,d-=1,3&f){case 0:n.mode=G;break;case 1:if(c(n),n.mode=et,e===D){f>>>=2,d-=2;break t}break;case 2:n.mode=Q;break;case 3:t.msg="invalid block type",n.mode=ht}f>>>=2,d-=2;break;case G:for(f>>>=7&d,d-=7&d;32>d;){if(0===l)break t;l--,f+=r[s++]<<d,d+=8}if((65535&f)!==(f>>>16^65535)){t.msg="invalid stored block lengths",n.mode=ht;break}if(n.length=65535&f,f=0,d=0,n.mode=Z,e===D)break t;case Z:n.mode=K;case K:if(m=n.length){if(m>l&&(m=l),m>u&&(m=u),0===m)break t;v.arraySet(o,r,s,m,a),l-=m,s+=m,u-=m,a+=m,n.length-=m;break}n.mode=X;break;case Q:for(;14>d;){if(0===l)break t;l--,f+=r[s++]<<d,d+=8}if(n.nlen=(31&f)+257,f>>>=5,d-=5,n.ndist=(31&f)+1,f>>>=5,d-=5,n.ncode=(15&f)+4,f>>>=4,d-=4,n.nlen>286||n.ndist>30){t.msg="too many length or distance symbols",n.mode=ht;break}n.have=0,n.mode=J;case J:for(;n.have<n.ncode;){for(;3>d;){if(0===l)break t;l--,f+=r[s++]<<d,d+=8}n.lens[Mt[n.have++]]=7&f,f>>>=3,d-=3}for(;n.have<19;)n.lens[Mt[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,St={bits:n.lenbits},kt=w(x,n.lens,0,19,n.lencode,0,n.work,St),n.lenbits=St.bits,kt){t.msg="invalid code lengths set",n.mode=ht;break}n.have=0,n.mode=tt;case tt:for(;n.have<n.nlen+n.ndist;){for(;Tt=n.lencode[f&(1<<n.lenbits)-1],mt=Tt>>>24,vt=Tt>>>16&255,yt=65535&Tt,!(d>=mt);){if(0===l)break t;l--,f+=r[s++]<<d,d+=8}if(16>yt)f>>>=mt,d-=mt,n.lens[n.have++]=yt;else{if(16===yt){for(Ct=mt+2;Ct>d;){if(0===l)break t;l--,f+=r[s++]<<d,d+=8}if(f>>>=mt,d-=mt,0===n.have){t.msg="invalid bit length repeat",n.mode=ht;break}xt=n.lens[n.have-1],m=3+(3&f),f>>>=2,d-=2}else if(17===yt){for(Ct=mt+3;Ct>d;){if(0===l)break t;l--,f+=r[s++]<<d,d+=8}f>>>=mt,d-=mt,xt=0,m=3+(7&f),f>>>=3,d-=3}else{for(Ct=mt+7;Ct>d;){if(0===l)break t;l--,f+=r[s++]<<d,d+=8}f>>>=mt,d-=mt,xt=0,m=11+(127&f),f>>>=7,d-=7}if(n.have+m>n.nlen+n.ndist){t.msg="invalid bit length repeat",n.mode=ht;break}for(;m--;)n.lens[n.have++]=xt}}if(n.mode===ht)break;if(0===n.lens[256]){t.msg="invalid code -- missing end-of-block",n.mode=ht;break}if(n.lenbits=9,St={bits:n.lenbits},kt=w(k,n.lens,0,n.nlen,n.lencode,0,n.work,St),n.lenbits=St.bits,kt){t.msg="invalid literal/lengths set",n.mode=ht;break}if(n.distbits=6,n.distcode=n.distdyn,St={bits:n.distbits},kt=w(S,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,St),n.distbits=St.bits,kt){t.msg="invalid distances set",n.mode=ht;break}if(n.mode=et,e===D)break t;case et:n.mode=nt;case nt:if(l>=6&&u>=258){t.next_out=a,t.avail_out=u,t.next_in=s,t.avail_in=l,n.hold=f,n.bits=d,_(t,g),a=t.next_out,o=t.output,u=t.avail_out,s=t.next_in,r=t.input,l=t.avail_in,f=n.hold,d=n.bits,n.mode===X&&(n.back=-1);break}for(n.back=0;Tt=n.lencode[f&(1<<n.lenbits)-1],mt=Tt>>>24,vt=Tt>>>16&255,yt=65535&Tt,!(d>=mt);){if(0===l)break t;l--,f+=r[s++]<<d,d+=8}if(vt&&0===(240&vt)){for(bt=mt,_t=vt,wt=yt;Tt=n.lencode[wt+((f&(1<<bt+_t)-1)>>bt)],mt=Tt>>>24,vt=Tt>>>16&255,yt=65535&Tt,!(d>=bt+mt);){if(0===l)break t;l--,f+=r[s++]<<d,d+=8}f>>>=bt,d-=bt,n.back+=bt}if(f>>>=mt,d-=mt,n.back+=mt,n.length=yt,0===vt){n.mode=at;break}if(32&vt){n.back=-1,n.mode=X;break}if(64&vt){t.msg="invalid literal/length code",n.mode=ht;break}n.extra=15&vt,n.mode=it;case it:if(n.extra){for(Ct=n.extra;Ct>d;){if(0===l)break t;l--,f+=r[s++]<<d,d+=8}n.length+=f&(1<<n.extra)-1,f>>>=n.extra,d-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=rt;case rt:for(;Tt=n.distcode[f&(1<<n.distbits)-1],mt=Tt>>>24,vt=Tt>>>16&255,yt=65535&Tt,!(d>=mt);){if(0===l)break t;l--,f+=r[s++]<<d,d+=8}if(0===(240&vt)){for(bt=mt,_t=vt,wt=yt;Tt=n.distcode[wt+((f&(1<<bt+_t)-1)>>bt)],mt=Tt>>>24,vt=Tt>>>16&255,yt=65535&Tt,!(d>=bt+mt);){if(0===l)break t;l--,f+=r[s++]<<d,d+=8}f>>>=bt,d-=bt,n.back+=bt}if(f>>>=mt,d-=mt,n.back+=mt,64&vt){t.msg="invalid distance code",n.mode=ht;break}n.offset=yt,n.extra=15&vt,n.mode=ot;case ot:if(n.extra){for(Ct=n.extra;Ct>d;){if(0===l)break t;l--,f+=r[s++]<<d,d+=8}n.offset+=f&(1<<n.extra)-1,f>>>=n.extra,d-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){t.msg="invalid distance too far back",n.mode=ht;break}n.mode=st;case st:if(0===u)break t;if(m=g-u,n.offset>m){if(m=n.offset-m,m>n.whave&&n.sane){t.msg="invalid distance too far back",n.mode=ht;break}m>n.wnext?(m-=n.wnext,pt=n.wsize-m):pt=n.wnext-m,m>n.length&&(m=n.length),gt=n.window}else gt=o,pt=a-n.offset,m=n.length;m>u&&(m=u),u-=m,n.length-=m;do o[a++]=gt[pt++];while(--m);0===n.length&&(n.mode=nt);break;case at:if(0===u)break t;o[a++]=n.length,u--,n.mode=nt;break;case lt:if(n.wrap){for(;32>d;){if(0===l)break t;l--,f|=r[s++]<<d,d+=8}if(g-=u,t.total_out+=g,n.total+=g,g&&(t.adler=n.check=n.flags?b(n.check,o,g,a-g):y(n.check,o,g,a-g)),g=u,(n.flags?f:i(f))!==n.check){t.msg="incorrect data check",n.mode=ht;break}f=0,d=0}n.mode=ut;case ut:if(n.wrap&&n.flags){for(;32>d;){if(0===l)break t;l--,f+=r[s++]<<d,d+=8}if(f!==(4294967295&n.total)){t.msg="incorrect length check",n.mode=ht;break}f=0,d=0}n.mode=ct;case ct:kt=E;break t;case ht:kt=I;break t;case ft:return O;case dt:default:return P}return t.next_out=a,t.avail_out=u,t.next_in=s,t.avail_in=l,n.hold=f,n.bits=d,(n.wsize||g!==t.avail_out&&n.mode<ht&&(n.mode<lt||e!==C))&&h(t,t.output,t.next_out,g-t.avail_out)?(n.mode=ft,O):(p-=t.avail_in,g-=t.avail_out,t.total_in+=p,t.total_out+=g,n.total+=g,n.wrap&&g&&(t.adler=n.check=n.flags?b(n.check,o,g,t.next_out-g):y(n.check,o,g,t.next_out-g)),t.data_type=n.bits+(n.last?64:0)+(n.mode===X?128:0)+(n.mode===et||n.mode===Z?256:0),(0===p&&0===g||e===C)&&kt===M&&(kt=N),kt)}function d(t){if(!t||!t.state)return P;var e=t.state;return e.window&&(e.window=null),t.state=null,M}function p(t,e){var n;return t&&t.state?(n=t.state,0===(2&n.wrap)?P:(n.head=e,e.done=!1,M)):P}var g,m,v=n(154),y=n(158),b=n(159),_=n(165),w=n(166),x=0,k=1,S=2,C=4,T=5,D=6,M=0,E=1,A=2,P=-2,I=-3,O=-4,N=-5,L=8,F=1,z=2,j=3,R=4,H=5,Y=6,B=7,U=8,W=9,V=10,q=11,X=12,$=13,G=14,Z=15,K=16,Q=17,J=18,tt=19,et=20,nt=21,it=22,rt=23,ot=24,st=25,at=26,lt=27,ut=28,ct=29,ht=30,ft=31,dt=32,pt=852,gt=592,mt=15,vt=mt,yt=!0;e.inflateReset=s,e.inflateReset2=a,e.inflateResetKeep=o,e.inflateInit=u,e.inflateInit2=l,e.inflate=f,e.inflateEnd=d,e.inflateGetHeader=p,e.inflateInfo="pako inflate (from Nodeca project)"},function(t,e){"use strict";var n=30,i=12;t.exports=function(t,e){var r,o,s,a,l,u,c=t.state,h=t.next_in,f=t.input,d=h+(t.avail_in-5),p=t.next_out,g=t.output,m=p-(e-t.avail_out),v=p+(t.avail_out-257),y=c.dmax,b=c.wsize,_=c.whave,w=c.wnext,x=c.window,k=c.hold,S=c.bits,C=c.lencode,T=c.distcode,D=(1<<c.lenbits)-1,M=(1<<c.distbits)-1;t:do{15>S&&(k+=f[h++]<<S,S+=8,k+=f[h++]<<S,S+=8),r=C[k&D];e:for(;;){if(o=r>>>24,k>>>=o,S-=o,o=r>>>16&255,0===o)g[p++]=65535&r;else{if(!(16&o)){if(0===(64&o)){r=C[(65535&r)+(k&(1<<o)-1)];continue e}if(32&o){c.mode=i;break t}t.msg="invalid literal/length code",c.mode=n;break t}s=65535&r,o&=15,o&&(o>S&&(k+=f[h++]<<S,S+=8),s+=k&(1<<o)-1,k>>>=o,S-=o),15>S&&(k+=f[h++]<<S,S+=8,k+=f[h++]<<S,S+=8),r=T[k&M];n:for(;;){if(o=r>>>24,k>>>=o,S-=o,o=r>>>16&255,!(16&o)){if(0===(64&o)){r=T[(65535&r)+(k&(1<<o)-1)];continue n}t.msg="invalid distance code",c.mode=n;break t}if(a=65535&r,o&=15,o>S&&(k+=f[h++]<<S,S+=8,o>S&&(k+=f[h++]<<S,S+=8)),a+=k&(1<<o)-1,a>y){t.msg="invalid distance too far back",c.mode=n;break t}if(k>>>=o,S-=o,o=p-m,a>o){if(o=a-o,o>_&&c.sane){t.msg="invalid distance too far back",c.mode=n;break t}if(l=0,u=x,0===w){if(l+=b-o,s>o){s-=o;do g[p++]=x[l++];while(--o);l=p-a,u=g}}else if(o>w){if(l+=b+w-o,o-=w,s>o){s-=o;do g[p++]=x[l++];while(--o);if(l=0,s>w){o=w,s-=o;do g[p++]=x[l++];while(--o);l=p-a,u=g}}}else if(l+=w-o,s>o){s-=o;do g[p++]=x[l++];while(--o);l=p-a,u=g}for(;s>2;)g[p++]=u[l++],g[p++]=u[l++],g[p++]=u[l++],s-=3;s&&(g[p++]=u[l++],s>1&&(g[p++]=u[l++]))}else{l=p-a;do g[p++]=g[l++],g[p++]=g[l++],g[p++]=g[l++],s-=3;while(s>2);s&&(g[p++]=g[l++],s>1&&(g[p++]=g[l++]))}break}}break}}while(d>h&&v>p);s=S>>3,h-=s,S-=s<<3,k&=(1<<S)-1,t.next_in=h,t.next_out=p,t.avail_in=d>h?5+(d-h):5-(h-d),t.avail_out=v>p?257+(v-p):257-(p-v),c.hold=k,c.bits=S}},function(t,e,n){"use strict";var i=n(154),r=15,o=852,s=592,a=0,l=1,u=2,c=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],h=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],f=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],d=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(t,e,n,p,g,m,v,y){var b,_,w,x,k,S,C,T,D,M,E=y.bits,A=0,P=0,I=0,O=0,N=0,L=0,F=0,z=0,j=0,R=0,H=null,Y=0,B=new i.Buf16(r+1),U=new i.Buf16(r+1),W=null,V=0;for(A=0;r>=A;A++)B[A]=0;for(P=0;p>P;P++)B[e[n+P]]++;for(N=E,O=r;O>=1&&0===B[O];O--);if(N>O&&(N=O),0===O)return g[m++]=20971520,g[m++]=20971520,y.bits=1,0;for(I=1;O>I&&0===B[I];I++);for(I>N&&(N=I),z=1,A=1;r>=A;A++)if(z<<=1,z-=B[A],0>z)return-1;if(z>0&&(t===a||1!==O))return-1;for(U[1]=0,A=1;r>A;A++)U[A+1]=U[A]+B[A];for(P=0;p>P;P++)0!==e[n+P]&&(v[U[e[n+P]]++]=P);if(t===a?(H=W=v,S=19):t===l?(H=c,Y-=257,W=h,V-=257,S=256):(H=f,W=d,S=-1),R=0,P=0,A=I,k=m,L=N,F=0,w=-1,j=1<<N,x=j-1,t===l&&j>o||t===u&&j>s)return 1;for(M=0;;){M++,C=A-F,v[P]<S?(T=0,D=v[P]):v[P]>S?(T=W[V+v[P]],D=H[Y+v[P]]):(T=96,D=0),b=1<<A-F,_=1<<L,I=_;do _-=b,g[k+(R>>F)+_]=C<<24|T<<16|D|0;while(0!==_);for(b=1<<A-1;R&b;)b>>=1;if(0!==b?(R&=b-1,R+=b):R=0,P++,0===--B[A]){if(A===O)break;A=e[n+v[P]]}if(A>N&&(R&x)!==w){for(0===F&&(F=N),k+=I,L=A-F,z=1<<L;O>L+F&&(z-=B[L+F],!(0>=z));)L++,z<<=1;if(j+=1<<L,t===l&&j>o||t===u&&j>s)return 1;w=R&x,g[w]=N<<24|L<<16|k-m|0}}return 0!==R&&(g[k+R]=A-F<<24|64<<16|0),y.bits=N,0}},function(t,e){t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},function(t,e){"use strict";function n(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}t.exports=n},function(t,e,n){(function(e){"use strict";t.exports=function(t,n){return new e(t,n)},t.exports.test=function(t){return e.isBuffer(t)}}).call(e,n(146).Buffer)},function(t,e,n){"use strict";var i=n(150),r=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];t.exports=function(t,e){var n,o,s,a,l,u;if(void 0===t||!t.length)return 0;for(n="string"!==i.getTypeOf(t),void 0===e&&(e=0),o=0,s=0,a=0,e=-1^e,l=0,u=t.length;u>l;l++)a=n?t[l]:t.charCodeAt(l),s=255&(e^a),o=r[s],e=e>>>8^o;return-1^e}},function(t,e){"use strict";e.LOCAL_FILE_HEADER="PK",e.CENTRAL_FILE_HEADER="PK",e.CENTRAL_DIRECTORY_END="PK",e.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",e.ZIP64_CENTRAL_DIRECTORY_END="PK",e.DATA_DESCRIPTOR="PK\b"},function(t,e){"use strict";e.base64=!1,e.binary=!1,e.dir=!1,e.createFolders=!1,e.date=null,e.compression=null,e.compressionOptions=null,e.comment=null,e.unixPermissions=null,e.dosPermissions=null},function(t,e){"use strict";function n(){this.compressedSize=0,this.uncompressedSize=0,this.crc32=0,this.compressionMethod=null,this.compressedContent=null}n.prototype={getContent:function(){return null},getCompressedContent:function(){return null}},t.exports=n},function(t,e,n){"use strict";var i,r,o,s,a=n(150),l=n(145),u=n(169),c=Array(256);for(i=0;256>i;i++)c[i]=i>=252?6:i>=248?5:i>=240?4:i>=224?3:i>=192?2:1;c[254]=c[254]=1,r=function(t){var e,n,i,r,o,s=t.length,a=0;for(r=0;s>r;r++)n=t.charCodeAt(r),55296===(64512&n)&&s>r+1&&(i=t.charCodeAt(r+1),56320===(64512&i)&&(n=65536+(n-55296<<10)+(i-56320),r++)),a+=128>n?1:2048>n?2:65536>n?3:4;for(e=l.uint8array?new Uint8Array(a):Array(a),o=0,r=0;a>o;r++)n=t.charCodeAt(r),55296===(64512&n)&&s>r+1&&(i=t.charCodeAt(r+1),56320===(64512&i)&&(n=65536+(n-55296<<10)+(i-56320),r++)),128>n?e[o++]=n:2048>n?(e[o++]=192|n>>>6,e[o++]=128|63&n):65536>n?(e[o++]=224|n>>>12,e[o++]=128|n>>>6&63,e[o++]=128|63&n):(e[o++]=240|n>>>18,e[o++]=128|n>>>12&63,e[o++]=128|n>>>6&63,e[o++]=128|63&n);return e},o=function(t,e){var n;for(e=e||t.length,e>t.length&&(e=t.length),n=e-1;n>=0&&128===(192&t[n]);)n--;return 0>n?e:0===n?e:n+c[t[n]]>e?n:e},s=function(t){var e,n,i,r,o=t.length,s=Array(2*o);for(n=0,e=0;o>e;)if(i=t[e++],128>i)s[n++]=i;else if(r=c[i],r>4)s[n++]=65533,e+=r-1;else{for(i&=2===r?31:3===r?15:7;r>1&&o>e;)i=i<<6|63&t[e++],r--;r>1?s[n++]=65533:65536>i?s[n++]=i:(i-=65536,
|
||
s[n++]=55296|i>>10&1023,s[n++]=56320|1023&i)}return s.length!==n&&(s.subarray?s=s.subarray(0,n):s.length=n),a.applyFromCharCode(s)},e.utf8encode=function(t){return l.nodebuffer?u(t,"utf-8"):r(t)},e.utf8decode=function(t){var e,n,i,r,u;if(l.nodebuffer)return a.transformTo("nodebuffer",t).toString("utf-8");for(t=a.transformTo(l.uint8array?"uint8array":"array",t),e=[],n=0,i=t.length,r=65536;i>n;)u=o(t,Math.min(n+r,i)),l.uint8array?e.push(s(t.subarray(n,u))):e.push(s(t.slice(n,u))),n=u;return e.join("")}},function(t,e,n){"use strict";var i=n(150),r=function(){this.data=[]};r.prototype={append:function(t){t=i.transformTo("string",t),this.data.push(t)},finalize:function(){return this.data.join("")}},t.exports=r},function(t,e,n){"use strict";var i=n(150),r=function(t){this.data=new Uint8Array(t),this.index=0};r.prototype={append:function(t){0!==t.length&&(t=i.transformTo("uint8array",t),this.data.set(t,this.index),this.index+=t.length)},finalize:function(){return this.data}},t.exports=r},function(t,e,n){"use strict";var i=n(143),r=n(178);t.exports=function(t,e){var n,o,s,a;for(e=e||{},e.base64&&(t=i.decode(t)),o=new r(t,e),n=o.files,s=0;s<n.length;s++)a=n[s],this.file(a.fileName,a.decompressed,{binary:!0,optimizedBinaryString:!0,date:a.date,dir:a.dir,comment:a.fileComment.length?a.fileComment:null,unixPermissions:a.unixPermissions,dosPermissions:a.dosPermissions,createFolders:e.createFolders});return o.zipComment.length&&(this.comment=o.zipComment),this}},function(t,e,n){"use strict";function i(t,e){this.files=[],this.loadOptions=e,t&&this.load(t)}var r=n(179),o=n(181),s=n(182),a=n(150),l=n(171),u=n(183),c=n(145),h=n(144);i.prototype={checkSignature:function(t){var e=this.reader.readString(4);if(e!==t)throw Error("Corrupted zip or bug : unexpected signature ("+a.pretty(e)+", expected "+a.pretty(t)+")")},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2),this.zipComment=this.reader.readString(this.zipCommentLength),this.zipComment=h.utf8decode(this.zipComment)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.versionMadeBy=this.reader.readString(2),this.versionNeeded=this.reader.readInt(2),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var t,e,n,i=this.zip64EndOfCentralSize-44,r=0;i>r;)t=this.reader.readInt(2),e=this.reader.readInt(4),n=this.reader.readString(e),this.zip64ExtensibleData[t]={id:t,length:e,value:n}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var t,e;for(t=0;t<this.files.length;t++)e=this.files[t],this.reader.setIndex(e.localHeaderOffset),this.checkSignature(l.LOCAL_FILE_HEADER),e.readLocalPart(this.reader),e.handleUTF8(),e.processAttributes()},readCentralDir:function(){var t;for(this.reader.setIndex(this.centralDirOffset);this.reader.readString(4)===l.CENTRAL_FILE_HEADER;)t=new u({zip64:this.zip64},this.loadOptions),t.readCentralPart(this.reader),this.files.push(t)},readEndOfCentral:function(){var t,e=this.reader.lastIndexOfSignature(l.CENTRAL_DIRECTORY_END);if(-1===e){t=!0;try{this.reader.setIndex(0),this.checkSignature(l.LOCAL_FILE_HEADER),t=!1}catch(n){}throw t?Error("Can't find end of central directory : is this a zip file ? If it is, see http://stuk.github.io/jszip/documentation/howto/read_zip.html"):Error("Corrupted zip : can't find end of central directory")}if(this.reader.setIndex(e),this.checkSignature(l.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===a.MAX_VALUE_16BITS||this.diskWithCentralDirStart===a.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===a.MAX_VALUE_16BITS||this.centralDirRecords===a.MAX_VALUE_16BITS||this.centralDirSize===a.MAX_VALUE_32BITS||this.centralDirOffset===a.MAX_VALUE_32BITS){if(this.zip64=!0,e=this.reader.lastIndexOfSignature(l.ZIP64_CENTRAL_DIRECTORY_LOCATOR),-1===e)throw Error("Corrupted zip : can't find the ZIP64 end of central directory locator");this.reader.setIndex(e),this.checkSignature(l.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(l.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}},prepareReader:function(t){var e=a.getTypeOf(t);"string"!==e||c.uint8array?"nodebuffer"===e?this.reader=new o(t):this.reader=new s(a.transformTo("uint8array",t)):this.reader=new r(t,this.loadOptions.optimizedBinaryString)},load:function(t){this.prepareReader(t),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=i},function(t,e,n){"use strict";function i(t,e){this.data=t,e||(this.data=o.string2binary(this.data)),this.length=this.data.length,this.index=0}var r=n(180),o=n(150);i.prototype=new r,i.prototype.byteAt=function(t){return this.data.charCodeAt(t)},i.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)},i.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.index,this.index+t);return this.index+=t,e},t.exports=i},function(t,e,n){"use strict";function i(t){this.data=null,this.length=0,this.index=0}var r=n(150);i.prototype={checkOffset:function(t){this.checkIndex(this.index+t)},checkIndex:function(t){if(this.length<t||0>t)throw Error("End of data reached (data length = "+this.length+", asked index = "+t+"). Corrupted zip ?")},setIndex:function(t){this.checkIndex(t),this.index=t},skip:function(t){this.setIndex(this.index+t)},byteAt:function(t){},readInt:function(t){var e,n=0;for(this.checkOffset(t),e=this.index+t-1;e>=this.index;e--)n=(n<<8)+this.byteAt(e);return this.index+=t,n},readString:function(t){return r.transformTo("string",this.readData(t))},readData:function(t){},lastIndexOfSignature:function(t){},readDate:function(){var t=this.readInt(4);return new Date((t>>25&127)+1980,(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1)}},t.exports=i},function(t,e,n){"use strict";function i(t){this.data=t,this.length=this.data.length,this.index=0}var r=n(182);i.prototype=new r,i.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.index,this.index+t);return this.index+=t,e},t.exports=i},function(t,e,n){"use strict";function i(t){t&&(this.data=t,this.length=this.data.length,this.index=0)}var r=n(180);i.prototype=new r,i.prototype.byteAt=function(t){return this.data[t]},i.prototype.lastIndexOfSignature=function(t){var e,n=t.charCodeAt(0),i=t.charCodeAt(1),r=t.charCodeAt(2),o=t.charCodeAt(3);for(e=this.length-4;e>=0;--e)if(this.data[e]===n&&this.data[e+1]===i&&this.data[e+2]===r&&this.data[e+3]===o)return e;return-1},i.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var e=this.data.subarray(this.index,this.index+t);return this.index+=t,e},t.exports=i},function(t,e,n){"use strict";function i(t,e){this.options=t,this.loadOptions=e}var r=n(179),o=n(150),s=n(173),a=n(144),l=0,u=3;i.prototype={isEncrypted:function(){return 1===(1&this.bitFlag)},useUTF8:function(){return 2048===(2048&this.bitFlag)},prepareCompressedContent:function(t,e,n){return function(){var i,r=t.index;return t.setIndex(e),i=t.readData(n),t.setIndex(r),i}},prepareContent:function(t,e,n,i,r){return function(){var t=o.transformTo(i.uncompressInputType,this.getCompressedContent()),e=i.uncompress(t);if(e.length!==r)throw Error("Bug : uncompressed data size mismatch");return e}},readLocalPart:function(t){var e,n;if(t.skip(22),this.fileNameLength=t.readInt(2),n=t.readInt(2),this.fileName=t.readString(this.fileNameLength),t.skip(n),-1==this.compressedSize||-1==this.uncompressedSize)throw Error("Bug or corrupted zip : didn't get enough informations from the central directory (compressedSize == -1 || uncompressedSize == -1)");if(e=o.findCompression(this.compressionMethod),null===e)throw Error("Corrupted zip : compression "+o.pretty(this.compressionMethod)+" unknown (inner file : "+this.fileName+")");if(this.decompressed=new s,this.decompressed.compressedSize=this.compressedSize,this.decompressed.uncompressedSize=this.uncompressedSize,this.decompressed.crc32=this.crc32,this.decompressed.compressionMethod=this.compressionMethod,this.decompressed.getCompressedContent=this.prepareCompressedContent(t,t.index,this.compressedSize,e),this.decompressed.getContent=this.prepareContent(t,t.index,this.compressedSize,e,this.uncompressedSize),this.loadOptions.checkCRC32&&(this.decompressed=o.transformTo("string",this.decompressed.getContent()),a.crc32(this.decompressed)!==this.crc32))throw Error("Corrupted zip : CRC32 mismatch")},readCentralPart:function(t){if(this.versionMadeBy=t.readInt(2),this.versionNeeded=t.readInt(2),this.bitFlag=t.readInt(2),this.compressionMethod=t.readString(2),this.date=t.readDate(),this.crc32=t.readInt(4),this.compressedSize=t.readInt(4),this.uncompressedSize=t.readInt(4),this.fileNameLength=t.readInt(2),this.extraFieldsLength=t.readInt(2),this.fileCommentLength=t.readInt(2),this.diskNumberStart=t.readInt(2),this.internalFileAttributes=t.readInt(2),this.externalFileAttributes=t.readInt(4),this.localHeaderOffset=t.readInt(4),this.isEncrypted())throw Error("Encrypted zip are not supported");this.fileName=t.readString(this.fileNameLength),this.readExtraFields(t),this.parseZIP64ExtraField(t),this.fileComment=t.readString(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var t=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),t===l&&(this.dosPermissions=63&this.externalFileAttributes),t===u&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileName.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(t){if(this.extraFields[1]){var e=new r(this.extraFields[1].value);this.uncompressedSize===o.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===o.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===o.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===o.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(t){var e,n,i,r=t.index;for(this.extraFields=this.extraFields||{};t.index<r+this.extraFieldsLength;)e=t.readInt(2),n=t.readInt(2),i=t.readString(n),this.extraFields[e]={id:e,length:n,value:i}},handleUTF8:function(){var t,e;this.useUTF8()?(this.fileName=a.utf8decode(this.fileName),this.fileComment=a.utf8decode(this.fileComment)):(t=this.findExtraFieldUnicodePath(),null!==t&&(this.fileName=t),e=this.findExtraFieldUnicodeComment(),null!==e&&(this.fileComment=e))},findExtraFieldUnicodePath:function(){var t,e=this.extraFields[28789];return e?(t=new r(e.value),1!==t.readInt(1)?null:a.crc32(this.fileName)!==t.readInt(4)?null:a.utf8decode(t.readString(e.length-5))):null},findExtraFieldUnicodeComment:function(){var t,e=this.extraFields[25461];return e?(t=new r(e.value),1!==t.readInt(1)?null:a.crc32(this.fileComment)!==t.readInt(4)?null:a.utf8decode(t.readString(e.length-5))):null}},t.exports=i},function(t,e,n){"use strict";var i=n(150);e.string2binary=function(t){return i.string2binary(t)},e.string2Uint8Array=function(t){return i.transformTo("uint8array",t)},e.uint8Array2String=function(t){return i.transformTo("string",t)},e.string2Blob=function(t){var e=i.transformTo("arraybuffer",t);return i.arrayBuffer2Blob(e)},e.arrayBuffer2Blob=function(t){return i.arrayBuffer2Blob(t)},e.transformTo=function(t,e){return i.transformTo(t,e)},e.getTypeOf=function(t){return i.getTypeOf(t)},e.checkSupport=function(t){return i.checkSupport(t)},e.MAX_VALUE_16BITS=i.MAX_VALUE_16BITS,e.MAX_VALUE_32BITS=i.MAX_VALUE_32BITS,e.pretty=function(t){return i.pretty(t)},e.findCompression=function(t){return i.findCompression(t)},e.isRegExp=function(t){return i.isRegExp(t)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){(function(t){"use strict";if(n(404),n(591),t._babelPolyfill)throw Error("only one instance of babel-polyfill is allowed");t._babelPolyfill=!0}).call(e,function(){return this}())},function(t,e,n){n(405),n(438),n(444),n(446),n(448),n(450),n(452),n(454),n(455),n(456),n(457),n(458),n(459),n(460),n(461),n(462),n(463),n(464),n(465),n(468),n(469),n(470),n(472),n(473),n(474),n(475),n(476),n(477),n(478),n(480),n(481),n(482),n(484),n(485),n(486),n(488),n(489),n(490),n(491),n(492),n(493),n(494),n(495),n(496),n(497),n(498),n(499),n(500),n(501),n(506),n(507),n(511),n(512),n(514),n(515),n(520),n(521),n(524),n(526),n(528),n(530),n(531),n(532),n(534),n(535),n(537),n(538),n(539),n(540),n(547),n(550),n(551),n(553),n(554),n(555),n(556),n(557),n(558),n(559),n(560),n(561),n(562),n(563),n(564),n(566),n(567),n(568),n(569),n(570),n(571),n(573),n(574),n(575),n(576),n(578),n(579),n(581),n(582),n(584),n(585),n(586),n(589),n(590),t.exports=n(409)},function(t,e,n){"use strict";var i,r,o,s,a,l,u,c,h,f,d,p=n(406),g=n(407),m=n(412),v=n(411),y=n(418),b=n(419),_=n(421),w=n(422),x=n(423),k=n(413),S=n(424),C=n(417),T=n(420),D=n(425),M=n(427),E=n(429),A=n(430),P=n(431),I=n(428),O=n(415)("__proto__"),N=n(432),L=n(437)(!1),F=Object.prototype,z=Array.prototype,j=z.slice,R=z.join,H=p.setDesc,Y=p.getDesc,B=p.setDescs,U={};m||(i=!k(function(){return 7!=H(b("div"),"a",{get:function(){return 7}}).a}),p.setDesc=function(t,e,n){if(i)try{return H(t,e,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(S(t)[e]=n.value),t},p.getDesc=function(t,e){if(i)try{return Y(t,e)}catch(n){}return _(t,e)?v(!F.propertyIsEnumerable.call(t,e),t[e]):void 0},p.setDescs=B=function(t,e){S(t);for(var n,i=p.getKeys(e),r=i.length,o=0;r>o;)p.setDesc(t,n=i[o++],e[n]);return t}),g(g.S+g.F*!m,"Object",{getOwnPropertyDescriptor:p.getDesc,defineProperty:p.setDesc,defineProperties:B}),r="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),o=r.concat("length","prototype"),s=r.length,a=function(){var t,e=b("iframe"),n=s,i=">";for(e.style.display="none",y.appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object</script"+i),t.close(),a=t.F;n--;)delete a.prototype[r[n]];return a()},l=function(t,e){return function(n){var i,r=M(n),o=0,s=[];for(i in r)i!=O&&_(r,i)&&s.push(i);for(;e>o;)_(r,i=t[o++])&&(~L(s,i)||s.push(i));return s}},u=function(){},g(g.S,"Object",{getPrototypeOf:p.getProto=p.getProto||function(t){return t=D(t),_(t,O)?t[O]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?F:null},getOwnPropertyNames:p.getNames=p.getNames||l(o,o.length,!0),create:p.create=p.create||function(t,e){var n;return null!==t?(u.prototype=S(t),n=new u,u.prototype=null,n[O]=t):n=a(),void 0===e?n:B(n,e)},keys:p.getKeys=p.getKeys||l(r,s,!1)}),c=function(t,e,n){if(!(e in U)){for(var i=[],r=0;e>r;r++)i[r]="a["+r+"]";U[e]=Function("F,a","return new F("+i.join(",")+")")}return U[e](t,n)},g(g.P,"Function",{bind:function(t){var e=C(this),n=j.call(arguments,1),i=function(){var r=n.concat(j.call(arguments));return this instanceof i?c(e,r.length,r):x(e,r,t)};return T(e.prototype)&&(i.prototype=e.prototype),i}}),g(g.P+g.F*k(function(){y&&j.call(y)}),"Array",{slice:function(t,e){var n,i,r,o,s,a=P(this.length),l=w(this);if(e=void 0===e?a:e,"Array"==l)return j.call(this,t,e);for(n=A(t,a),i=A(e,a),r=P(i-n),o=Array(r),s=0;r>s;s++)o[s]="String"==l?this.charAt(n+s):this[n+s];return o}}),g(g.P+g.F*(I!=Object),"Array",{join:function(t){return R.call(I(this),void 0===t?",":t)}}),g(g.S,"Array",{isArray:n(434)}),h=function(t){return function(e,n){C(e);var i=I(this),r=P(i.length),o=t?r-1:0,s=t?-1:1;if(arguments.length<2)for(;;){if(o in i){n=i[o],o+=s;break}if(o+=s,t?0>o:o>=r)throw TypeError("Reduce of empty array with no initial value")}for(;t?o>=0:r>o;o+=s)o in i&&(n=e(n,i[o],o,this));return n}},f=function(t){return function(e){return t(this,e,arguments[1])}},g(g.P,"Array",{forEach:p.each=p.each||f(N(0)),map:f(N(1)),filter:f(N(2)),some:f(N(3)),every:f(N(4)),reduce:h(!1),reduceRight:h(!0),indexOf:f(L),lastIndexOf:function(t,e){var n=M(this),i=P(n.length),r=i-1;for(arguments.length>1&&(r=Math.min(r,E(e))),0>r&&(r=P(i+r));r>=0;r--)if(r in n&&n[r]===t)return r;return-1}}),g(g.S,"Date",{now:function(){return+new Date}}),d=function(t){return t>9?t:"0"+t},g(g.P+g.F*(k(function(){return"0385-07-25T07:06:39.999Z"!=new Date(-5e13-1).toISOString()})||!k(function(){new Date(NaN).toISOString()})),"Date",{toISOString:function(){if(!isFinite(this))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),i=0>e?"-":e>9999?"+":"";return i+("00000"+Math.abs(e)).slice(i?-6:-4)+"-"+d(t.getUTCMonth()+1)+"-"+d(t.getUTCDate())+"T"+d(t.getUTCHours())+":"+d(t.getUTCMinutes())+":"+d(t.getUTCSeconds())+"."+(n>99?n:"0"+d(n))+"Z"}})},function(t,e){var n=Object;t.exports={create:n.create,getProto:n.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:n.getOwnPropertyDescriptor,setDesc:n.defineProperty,setDescs:n.defineProperties,getKeys:n.keys,getNames:n.getOwnPropertyNames,getSymbols:n.getOwnPropertySymbols,each:[].forEach}},function(t,e,n){var i=n(408),r=n(409),o=n(410),s=n(414),a=n(416),l="prototype",u=function(t,e,n){var c,h,f,d,p=t&u.F,g=t&u.G,m=t&u.S,v=t&u.P,y=t&u.B,b=g?i:m?i[e]||(i[e]={}):(i[e]||{})[l],_=g?r:r[e]||(r[e]={}),w=_[l]||(_[l]={});g&&(n=e);for(c in n)h=!p&&b&&c in b,f=(h?b:n)[c],d=y&&h?a(f,i):v&&"function"==typeof f?a(Function.call,f):f,b&&!h&&s(b,c,f),_[c]!=f&&o(_,c,d),v&&w[c]!=f&&(w[c]=f)};i.core=r,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,t.exports=u},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){var n=t.exports={version:"1.2.6"};"number"==typeof __e&&(__e=n)},function(t,e,n){var i=n(406),r=n(411);t.exports=n(412)?function(t,e,n){return i.setDesc(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){t.exports=!n(413)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},function(t,e,n){var i=n(408),r=n(410),o=n(415)("src"),s="toString",a=Function[s],l=(""+a).split(s);n(409).inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,s){"function"==typeof n&&(n.hasOwnProperty(o)||r(n,o,t[e]?""+t[e]:l.join(e+"")),n.hasOwnProperty("name")||r(n,"name",e)),t===i?t[e]=n:(s||delete t[e],r(t,e,n))})(Function.prototype,s,function(){return"function"==typeof this&&this[o]||a.call(this)})},function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},function(t,e,n){var i=n(417);t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){t.exports=n(408).document&&document.documentElement},function(t,e,n){var i=n(420),r=n(408).document,o=i(r)&&i(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t,e,n){var i=void 0===n;switch(e.length){case 0:return i?t():t.call(n);case 1:return i?t(e[0]):t.call(n,e[0]);case 2:return i?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return i?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return i?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var i=n(420);t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){var i=n(426);t.exports=function(t){return Object(i(t))}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var i=n(428),r=n(426);t.exports=function(t){return i(r(t))}},function(t,e,n){var i=n(422);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},function(t,e,n){var i=n(429),r=Math.max,o=Math.min;t.exports=function(t,e){return t=i(t),0>t?r(t+e,0):o(t,e)}},function(t,e,n){var i=n(429),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},function(t,e,n){var i=n(416),r=n(428),o=n(425),s=n(431),a=n(433);t.exports=function(t){var e=1==t,n=2==t,l=3==t,u=4==t,c=6==t,h=5==t||c;return function(f,d,p){for(var g,m,v=o(f),y=r(v),b=i(d,p,3),_=s(y.length),w=0,x=e?a(f,_):n?a(f,0):void 0;_>w;w++)if((h||w in y)&&(g=y[w],m=b(g,w,v),t))if(e)x[w]=m;else if(m)switch(t){case 3:return!0;case 5:return g;case 6:return w;case 2:x.push(g)}else if(u)return!1;return c?-1:l||u?u:x}}},function(t,e,n){var i=n(420),r=n(434),o=n(435)("species");t.exports=function(t,e){var n;return r(t)&&(n=t.constructor,"function"!=typeof n||n!==Array&&!r(n.prototype)||(n=void 0),i(n)&&(n=n[o],null===n&&(n=void 0))),new(void 0===n?Array:n)(e)}},function(t,e,n){var i=n(422);t.exports=Array.isArray||function(t){return"Array"==i(t)}},function(t,e,n){var i=n(436)("wks"),r=n(415),o=n(408).Symbol;t.exports=function(t){return i[t]||(i[t]=o&&o[t]||(o||r)("Symbol."+t))}},function(t,e,n){var i=n(408),r="__core-js_shared__",o=i[r]||(i[r]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,e,n){var i=n(427),r=n(431),o=n(430);t.exports=function(t){return function(e,n,s){var a,l=i(e),u=r(l.length),c=o(s,u);if(t&&n!=n){for(;u>c;)if(a=l[c++],a!=a)return!0}else for(;u>c;c++)if((t||c in l)&&l[c]===n)return t||c;return!t&&-1}}},function(t,e,n){"use strict";var i,r=n(406),o=n(408),s=n(421),a=n(412),l=n(407),u=n(414),c=n(413),h=n(436),f=n(439),d=n(415),p=n(435),g=n(440),m=n(441),v=n(442),y=n(434),b=n(424),_=n(427),w=n(411),x=r.getDesc,k=r.setDesc,S=r.create,C=m.get,T=o.Symbol,D=o.JSON,M=D&&D.stringify,E=!1,A=p("_hidden"),P=r.isEnum,I=h("symbol-registry"),O=h("symbols"),N="function"==typeof T,L=Object.prototype,F=a&&c(function(){return 7!=S(k({},"a",{get:function(){return k(this,"a",{value:7}).a}})).a})?function(t,e,n){var i=x(L,e);i&&delete L[e],k(t,e,n),i&&t!==L&&k(L,e,i)}:k,z=function(t){var e=O[t]=S(T.prototype);return e._k=t,a&&E&&F(L,t,{configurable:!0,set:function(e){s(this,A)&&s(this[A],t)&&(this[A][t]=!1),F(this,t,w(1,e))}}),e},j=function(t){return"symbol"==typeof t},R=function(t,e,n){return n&&s(O,e)?(n.enumerable?(s(t,A)&&t[A][e]&&(t[A][e]=!1),n=S(n,{enumerable:w(0,!1)})):(s(t,A)||k(t,A,w(1,{})),t[A][e]=!0),F(t,e,n)):k(t,e,n)},H=function(t,e){b(t);for(var n,i=v(e=_(e)),r=0,o=i.length;o>r;)R(t,n=i[r++],e[n]);return t},Y=function(t,e){return void 0===e?S(t):H(S(t),e)},B=function(t){var e=P.call(this,t);return e||!s(this,t)||!s(O,t)||s(this,A)&&this[A][t]?e:!0},U=function(t,e){var n=x(t=_(t),e);return!n||!s(O,e)||s(t,A)&&t[A][e]||(n.enumerable=!0),n},W=function(t){for(var e,n=C(_(t)),i=[],r=0;n.length>r;)s(O,e=n[r++])||e==A||i.push(e);return i},V=function(t){for(var e,n=C(_(t)),i=[],r=0;n.length>r;)s(O,e=n[r++])&&i.push(O[e]);return i},q=function(t){if(void 0!==t&&!j(t)){for(var e,n,i=[t],r=1,o=arguments;o.length>r;)i.push(o[r++]);return e=i[1],"function"==typeof e&&(n=e),!n&&y(e)||(e=function(t,e){return n&&(e=n.call(this,t,e)),j(e)?void 0:e}),i[1]=e,M.apply(D,i)}},X=c(function(){var t=T();return"[null]"!=M([t])||"{}"!=M({a:t})||"{}"!=M(Object(t))});N||(T=function(){if(j(this))throw TypeError("Symbol is not a constructor");return z(d(arguments.length>0?arguments[0]:void 0))},u(T.prototype,"toString",function(){return this._k}),j=function(t){return t instanceof T},r.create=Y,r.isEnum=B,r.getDesc=U,r.setDesc=R,r.setDescs=H,r.getNames=m.get=W,r.getSymbols=V,a&&!n(443)&&u(L,"propertyIsEnumerable",B,!0)),i={"for":function(t){return s(I,t+="")?I[t]:I[t]=T(t)},keyFor:function(t){return g(I,t)},useSetter:function(){E=!0},useSimple:function(){E=!1}},r.each.call("hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),function(t){var e=p(t);i[t]=N?e:z(e)}),E=!0,l(l.G+l.W,{Symbol:T}),l(l.S,"Symbol",i),l(l.S+l.F*!N,"Object",{create:Y,defineProperty:R,defineProperties:H,getOwnPropertyDescriptor:U,getOwnPropertyNames:W,getOwnPropertySymbols:V}),D&&l(l.S+l.F*(!N||X),"JSON",{stringify:q}),f(T,"Symbol"),f(Math,"Math",!0),f(o.JSON,"JSON",!0)},function(t,e,n){var i=n(406).setDesc,r=n(421),o=n(435)("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},function(t,e,n){var i=n(406),r=n(427);t.exports=function(t,e){for(var n,o=r(t),s=i.getKeys(o),a=s.length,l=0;a>l;)if(o[n=s[l++]]===e)return n}},function(t,e,n){var i=n(427),r=n(406).getNames,o={}.toString,s="object"==typeof window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return r(t)}catch(e){return s.slice()}};t.exports.get=function(t){return s&&"[object Window]"==o.call(t)?a(t):r(i(t))}},function(t,e,n){var i=n(406);t.exports=function(t){var e,n,r,o,s=i.getKeys(t),a=i.getSymbols;if(a)for(e=a(t),n=i.isEnum,r=0;e.length>r;)n.call(t,o=e[r++])&&s.push(o);return s}},function(t,e){t.exports=!1},function(t,e,n){var i=n(407);i(i.S+i.F,"Object",{assign:n(445)})},function(t,e,n){var i=n(406),r=n(425),o=n(428);t.exports=n(413)(function(){var t=Object.assign,e={},n={},i=Symbol(),r="abcdefghijklmnopqrst";return e[i]=7,r.split("").forEach(function(t){n[t]=t}),7!=t({},e)[i]||Object.keys(t({},n)).join("")!=r})?function(t,e){for(var n,s,a,l,u,c=r(t),h=arguments,f=h.length,d=1,p=i.getKeys,g=i.getSymbols,m=i.isEnum;f>d;)for(n=o(h[d++]),s=g?p(n).concat(g(n)):p(n),a=s.length,l=0;a>l;)m.call(n,u=s[l++])&&(c[u]=n[u]);return c}:Object.assign},function(t,e,n){var i=n(407);i(i.S,"Object",{is:n(447)})},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t===1/e:t!=t&&e!=e}},function(t,e,n){var i=n(407);i(i.S,"Object",{setPrototypeOf:n(449).set})},function(t,e,n){var i=n(406).getDesc,r=n(420),o=n(424),s=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n(416)(Function.call,i(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(o){e=!0}return function(t,n){return s(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:s}},function(t,e,n){"use strict";var i=n(451),r={};r[n(435)("toStringTag")]="z",r+""!="[object z]"&&n(414)(Object.prototype,"toString",function(){return"[object "+i(this)+"]"},!0)},function(t,e,n){var i=n(422),r=n(435)("toStringTag"),o="Arguments"==i(function(){return arguments}());t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=(e=Object(t))[r])?n:o?i(e):"Object"==(s=i(e))&&"function"==typeof e.callee?"Arguments":s}},function(t,e,n){var i=n(420);n(453)("freeze",function(t){return function(e){return t&&i(e)?t(e):e}})},function(t,e,n){var i=n(407),r=n(409),o=n(413);t.exports=function(t,e){var n=(r.Object||{})[t]||Object[t],s={};s[t]=e(n),i(i.S+i.F*o(function(){n(1)}),"Object",s)}},function(t,e,n){var i=n(420);n(453)("seal",function(t){return function(e){return t&&i(e)?t(e):e}})},function(t,e,n){var i=n(420);n(453)("preventExtensions",function(t){return function(e){return t&&i(e)?t(e):e}})},function(t,e,n){var i=n(420);n(453)("isFrozen",function(t){return function(e){return i(e)?t?t(e):!1:!0}})},function(t,e,n){var i=n(420);n(453)("isSealed",function(t){return function(e){return i(e)?t?t(e):!1:!0}})},function(t,e,n){var i=n(420);n(453)("isExtensible",function(t){return function(e){return i(e)?t?t(e):!0:!1}})},function(t,e,n){var i=n(427);n(453)("getOwnPropertyDescriptor",function(t){return function(e,n){return t(i(e),n)}})},function(t,e,n){var i=n(425);n(453)("getPrototypeOf",function(t){return function(e){return t(i(e))}})},function(t,e,n){var i=n(425);n(453)("keys",function(t){return function(e){return t(i(e))}})},function(t,e,n){n(453)("getOwnPropertyNames",function(){return n(441).get})},function(t,e,n){var i=n(406).setDesc,r=n(411),o=n(421),s=Function.prototype,a=/^\s*function ([^ (]*)/,l="name";l in s||n(412)&&i(s,l,{configurable:!0,get:function(){var t=(""+this).match(a),e=t?t[1]:"";return o(this,l)||i(this,l,r(5,e)),e}})},function(t,e,n){"use strict";var i=n(406),r=n(420),o=n(435)("hasInstance"),s=Function.prototype;o in s||i.setDesc(s,o,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=i.getProto(t);)if(this.prototype===t)return!0;return!1}})},function(t,e,n){"use strict";var i=n(406),r=n(408),o=n(421),s=n(422),a=n(466),l=n(413),u=n(467).trim,c="Number",h=r[c],f=h,d=h.prototype,p=s(i.create(d))==c,g="trim"in String.prototype,m=function(t){var e,n,i,r,o,s,l,c,h=a(t,!1);if("string"==typeof h&&h.length>2)if(h=g?h.trim():u(h,3),e=h.charCodeAt(0),43===e||45===e){if(n=h.charCodeAt(2),88===n||120===n)return NaN}else if(48===e){switch(h.charCodeAt(1)){case 66:case 98:i=2,r=49;break;case 79:case 111:i=8,r=55;break;default:return+h}for(o=h.slice(2),s=0,l=o.length;l>s;s++)if(c=o.charCodeAt(s),48>c||c>r)return NaN;return parseInt(o,i)}return+h};h(" 0o1")&&h("0b1")&&!h("+0x1")||(h=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof h&&(p?l(function(){d.valueOf.call(n)}):s(n)!=c)?new f(m(e)):m(e)},i.each.call(n(412)?i.getNames(f):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),function(t){o(f,t)&&!o(h,t)&&i.setDesc(h,t,i.getDesc(f,t))}),h.prototype=d,d.constructor=h,n(414)(r,c,h))},function(t,e,n){var i=n(420);t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var i=n(407),r=n(426),o=n(413),s=" \n\x0B\f\r \u2028\u2029\ufeff",a="["+s+"]",l="
",u=RegExp("^"+a+a+"*"),c=RegExp(a+a+"*$"),h=function(t,e){var n={};n[t]=e(f),i(i.P+i.F*o(function(){return!!s[t]()||l[t]()!=l}),"String",n)},f=h.trim=function(t,e){return t=r(t)+"",1&e&&(t=t.replace(u,"")),2&e&&(t=t.replace(c,"")),t};t.exports=h},function(t,e,n){var i=n(407);i(i.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,e,n){var i=n(407),r=n(408).isFinite;i(i.S,"Number",{isFinite:function(t){return"number"==typeof t&&r(t)}})},function(t,e,n){var i=n(407);i(i.S,"Number",{isInteger:n(471)})},function(t,e,n){var i=n(420),r=Math.floor;t.exports=function(t){return!i(t)&&isFinite(t)&&r(t)===t}},function(t,e,n){var i=n(407);i(i.S,"Number",{isNaN:function(t){return t!=t}})},function(t,e,n){var i=n(407),r=n(471),o=Math.abs;
|
||
i(i.S,"Number",{isSafeInteger:function(t){return r(t)&&o(t)<=9007199254740991}})},function(t,e,n){var i=n(407);i(i.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,n){var i=n(407);i(i.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,n){var i=n(407);i(i.S,"Number",{parseFloat:parseFloat})},function(t,e,n){var i=n(407);i(i.S,"Number",{parseInt:parseInt})},function(t,e,n){var i=n(407),r=n(479),o=Math.sqrt,s=Math.acosh;i(i.S+i.F*!(s&&710==Math.floor(s(Number.MAX_VALUE))),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:r(t-1+o(t-1)*o(t+1))}})},function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&1e-8>t?t-t*t/2:Math.log(1+t)}},function(t,e,n){function i(t){return isFinite(t=+t)&&0!=t?0>t?-i(-t):Math.log(t+Math.sqrt(t*t+1)):t}var r=n(407);r(r.S,"Math",{asinh:i})},function(t,e,n){var i=n(407);i(i.S,"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,e,n){var i=n(407),r=n(483);i(i.S,"Math",{cbrt:function(t){return r(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:0>t?-1:1}},function(t,e,n){var i=n(407);i(i.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,e,n){var i=n(407),r=Math.exp;i(i.S,"Math",{cosh:function(t){return(r(t=+t)+r(-t))/2}})},function(t,e,n){var i=n(407);i(i.S,"Math",{expm1:n(487)})},function(t,e){t.exports=Math.expm1||function(t){return 0==(t=+t)?t:t>-1e-6&&1e-6>t?t+t*t/2:Math.exp(t)-1}},function(t,e,n){var i=n(407),r=n(483),o=Math.pow,s=o(2,-52),a=o(2,-23),l=o(2,127)*(2-a),u=o(2,-126),c=function(t){return t+1/s-1/s};i(i.S,"Math",{fround:function(t){var e,n,i=Math.abs(t),o=r(t);return u>i?o*c(i/u/a)*u*a:(e=(1+a/s)*i,n=e-(e-i),n>l||n!=n?o*(1/0):o*n)}})},function(t,e,n){var i=n(407),r=Math.abs;i(i.S,"Math",{hypot:function(t,e){for(var n,i,o=0,s=0,a=arguments,l=a.length,u=0;l>s;)n=r(a[s++]),n>u?(i=u/n,o=o*i*i+1,u=n):n>0?(i=n/u,o+=i*i):o+=n;return u===1/0?1/0:u*Math.sqrt(o)}})},function(t,e,n){var i=n(407),r=Math.imul;i(i.S+i.F*n(413)(function(){return-5!=r(4294967295,5)||2!=r.length}),"Math",{imul:function(t,e){var n=65535,i=+t,r=+e,o=n&i,s=n&r;return 0|o*s+((n&i>>>16)*s+o*(n&r>>>16)<<16>>>0)}})},function(t,e,n){var i=n(407);i(i.S,"Math",{log10:function(t){return Math.log(t)/Math.LN10}})},function(t,e,n){var i=n(407);i(i.S,"Math",{log1p:n(479)})},function(t,e,n){var i=n(407);i(i.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,e,n){var i=n(407);i(i.S,"Math",{sign:n(483)})},function(t,e,n){var i=n(407),r=n(487),o=Math.exp;i(i.S+i.F*n(413)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(r(t)-r(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},function(t,e,n){var i=n(407),r=n(487),o=Math.exp;i(i.S,"Math",{tanh:function(t){var e=r(t=+t),n=r(-t);return e==1/0?1:n==1/0?-1:(e-n)/(o(t)+o(-t))}})},function(t,e,n){var i=n(407);i(i.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},function(t,e,n){var i=n(407),r=n(430),o=String.fromCharCode,s=String.fromCodePoint;i(i.S+i.F*(!!s&&1!=s.length),"String",{fromCodePoint:function(t){for(var e,n=[],i=arguments,s=i.length,a=0;s>a;){if(e=+i[a++],r(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(65536>e?o(e):o(((e-=65536)>>10)+55296,e%1024+56320))}return n.join("")}})},function(t,e,n){var i=n(407),r=n(427),o=n(431);i(i.S,"String",{raw:function(t){for(var e=r(t.raw),n=o(e.length),i=arguments,s=i.length,a=[],l=0;n>l;)a.push(e[l++]+""),s>l&&a.push(i[l]+"");return a.join("")}})},function(t,e,n){"use strict";n(467)("trim",function(t){return function(){return t(this,3)}})},function(t,e,n){"use strict";var i=n(502)(!0);n(503)(String,"String",function(t){this._t=t+"",this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=i(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){var i=n(429),r=n(426);t.exports=function(t){return function(e,n){var o,s,a=r(e)+"",l=i(n),u=a.length;return 0>l||l>=u?t?"":void 0:(o=a.charCodeAt(l),55296>o||o>56319||l+1===u||(s=a.charCodeAt(l+1))<56320||s>57343?t?a.charAt(l):o:t?a.slice(l,l+2):(o-55296<<10)+(s-56320)+65536)}}},function(t,e,n){"use strict";var i=n(443),r=n(407),o=n(414),s=n(410),a=n(421),l=n(504),u=n(505),c=n(439),h=n(406).getProto,f=n(435)("iterator"),d=!([].keys&&"next"in[].keys()),p="@@iterator",g="keys",m="values",v=function(){return this};t.exports=function(t,e,n,y,b,_,w){var x,k,S,C,T,D,M,E,A,P;if(u(n,e,y),x=function(t){if(!d&&t in T)return T[t];switch(t){case g:return function(){return new n(this,t)};case m:return function(){return new n(this,t)}}return function(){return new n(this,t)}},k=e+" Iterator",S=b==m,C=!1,T=t.prototype,D=T[f]||T[p]||b&&T[b],M=D||x(b),D&&(P=h(M.call(new t)),c(P,k,!0),!i&&a(T,p)&&s(P,f,v),S&&D.name!==m&&(C=!0,M=function(){return D.call(this)})),i&&!w||!d&&!C&&T[f]||s(T,f,M),l[e]=M,l[k]=v,b)if(E={values:S?M:x(m),keys:_?M:x(g),entries:S?x("entries"):M},w)for(A in E)A in T||o(T,A,E[A]);else r(r.P+r.F*(d||C),e,E);return E}},function(t,e){t.exports={}},function(t,e,n){"use strict";var i=n(406),r=n(411),o=n(439),s={};n(410)(s,n(435)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=i.create(s,{next:r(1,n)}),o(t,e+" Iterator")}},function(t,e,n){"use strict";var i=n(407),r=n(502)(!1);i(i.P,"String",{codePointAt:function(t){return r(this,t)}})},function(t,e,n){"use strict";var i=n(407),r=n(431),o=n(508),s="endsWith",a=""[s];i(i.P+i.F*n(510)(s),"String",{endsWith:function(t){var e=o(this,t,s),n=arguments,i=n.length>1?n[1]:void 0,l=r(e.length),u=void 0===i?l:Math.min(r(i),l),c=t+"";return a?a.call(e,c,u):e.slice(u-c.length,u)===c}})},function(t,e,n){var i=n(509),r=n(426);t.exports=function(t,e,n){if(i(e))throw TypeError("String#"+n+" doesn't accept regex!");return r(t)+""}},function(t,e,n){var i=n(420),r=n(422),o=n(435)("match");t.exports=function(t){var e;return i(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==r(t))}},function(t,e,n){var i=n(435)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[i]=!1,!"/./"[t](e)}catch(r){}}return!0}},function(t,e,n){"use strict";var i=n(407),r=n(508),o="includes";i(i.P+i.F*n(510)(o),"String",{includes:function(t){return!!~r(this,t,o).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var i=n(407);i(i.P,"String",{repeat:n(513)})},function(t,e,n){"use strict";var i=n(429),r=n(426);t.exports=function(t){var e=r(this)+"",n="",o=i(t);if(0>o||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(e+=e))1&o&&(n+=e);return n}},function(t,e,n){"use strict";var i=n(407),r=n(431),o=n(508),s="startsWith",a=""[s];i(i.P+i.F*n(510)(s),"String",{startsWith:function(t){var e=o(this,t,s),n=arguments,i=r(Math.min(n.length>1?n[1]:void 0,e.length)),l=t+"";return a?a.call(e,l,i):e.slice(i,i+l.length)===l}})},function(t,e,n){"use strict";var i=n(416),r=n(407),o=n(425),s=n(516),a=n(517),l=n(431),u=n(518);r(r.S+r.F*!n(519)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,r,c,h=o(t),f="function"==typeof this?this:Array,d=arguments,p=d.length,g=p>1?d[1]:void 0,m=void 0!==g,v=0,y=u(h);if(m&&(g=i(g,p>2?d[2]:void 0,2)),void 0==y||f==Array&&a(y))for(e=l(h.length),n=new f(e);e>v;v++)n[v]=m?g(h[v],v):h[v];else for(c=y.call(h),n=new f;!(r=c.next()).done;v++)n[v]=m?s(c,g,[r.value,v],!0):r.value;return n.length=v,n}})},function(t,e,n){var i=n(424);t.exports=function(t,e,n,r){try{return r?e(i(n)[0],n[1]):e(n)}catch(o){var s=t["return"];throw void 0!==s&&i(s.call(t)),o}}},function(t,e,n){var i=n(504),r=n(435)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||o[r]===t)}},function(t,e,n){var i=n(451),r=n(435)("iterator"),o=n(504);t.exports=n(409).getIteratorMethod=function(t){return void 0!=t?t[r]||t["@@iterator"]||o[i(t)]:void 0}},function(t,e,n){var i,r=n(435)("iterator"),o=!1;try{i=[7][r](),i["return"]=function(){o=!0},Array.from(i,function(){throw 2})}catch(s){}t.exports=function(t,e){var n,i,s;if(!e&&!o)return!1;n=!1;try{i=[7],s=i[r](),s.next=function(){n=!0},i[r]=function(){return s},t(i)}catch(a){}return n}},function(t,e,n){"use strict";var i=n(407);i(i.S+i.F*n(413)(function(){function t(){}return!(Array.of.call(t)instanceof t)}),"Array",{of:function(){for(var t=0,e=arguments,n=e.length,i=new("function"==typeof this?this:Array)(n);n>t;)i[t]=e[t++];return i.length=n,i}})},function(t,e,n){"use strict";var i=n(522),r=n(523),o=n(504),s=n(427);t.exports=n(503)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):"keys"==e?r(0,n):"values"==e?r(0,t[n]):r(0,[n,t[n]])},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(t,e,n){var i=n(435)("unscopables"),r=Array.prototype;void 0==r[i]&&n(410)(r,i,{}),t.exports=function(t){r[i][t]=!0}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){n(525)("Array")},function(t,e,n){"use strict";var i=n(408),r=n(406),o=n(412),s=n(435)("species");t.exports=function(t){var e=i[t];o&&e&&!e[s]&&r.setDesc(e,s,{configurable:!0,get:function(){return this}})}},function(t,e,n){var i=n(407);i(i.P,"Array",{copyWithin:n(527)}),n(522)("copyWithin")},function(t,e,n){"use strict";var i=n(425),r=n(430),o=n(431);t.exports=[].copyWithin||function(t,e){var n=i(this),s=o(n.length),a=r(t,s),l=r(e,s),u=arguments,c=u.length>2?u[2]:void 0,h=Math.min((void 0===c?s:r(c,s))-l,s-a),f=1;for(a>l&&l+h>a&&(f=-1,l+=h-1,a+=h-1);h-- >0;)l in n?n[a]=n[l]:delete n[a],a+=f,l+=f;return n}},function(t,e,n){var i=n(407);i(i.P,"Array",{fill:n(529)}),n(522)("fill")},function(t,e,n){"use strict";var i=n(425),r=n(430),o=n(431);t.exports=[].fill||function(t){for(var e=i(this),n=o(e.length),s=arguments,a=s.length,l=r(a>1?s[1]:void 0,n),u=a>2?s[2]:void 0,c=void 0===u?n:r(u,n);c>l;)e[l++]=t;return e}},function(t,e,n){"use strict";var i=n(407),r=n(432)(5),o="find",s=!0;o in[]&&Array(1)[o](function(){s=!1}),i(i.P+i.F*s,"Array",{find:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),n(522)(o)},function(t,e,n){"use strict";var i=n(407),r=n(432)(6),o="findIndex",s=!0;o in[]&&Array(1)[o](function(){s=!1}),i(i.P+i.F*s,"Array",{findIndex:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),n(522)(o)},function(t,e,n){var i=n(406),r=n(408),o=n(509),s=n(533),a=r.RegExp,l=a,u=a.prototype,c=/a/g,h=/a/g,f=new a(c)!==c;!n(412)||f&&!n(413)(function(){return h[n(435)("match")]=!1,a(c)!=c||a(h)==h||"/a/i"!=a(c,"i")})||(a=function(t,e){var n=o(t),i=void 0===e;return this instanceof a||!n||t.constructor!==a||!i?f?new l(n&&!i?t.source:t,e):l((n=t instanceof a)?t.source:t,n&&i?s.call(t):e):t},i.each.call(i.getNames(l),function(t){t in a||i.setDesc(a,t,{configurable:!0,get:function(){return l[t]},set:function(e){l[t]=e}})}),u.constructor=a,a.prototype=u,n(414)(r,"RegExp",a)),n(525)("RegExp")},function(t,e,n){"use strict";var i=n(424);t.exports=function(){var t=i(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){var i=n(406);n(412)&&"g"!=/./g.flags&&i.setDesc(RegExp.prototype,"flags",{configurable:!0,get:n(533)})},function(t,e,n){n(536)("match",1,function(t,e){return function(n){"use strict";var i=t(this),r=void 0==n?void 0:n[e];return void 0!==r?r.call(n,i):RegExp(n)[e](i+"")}})},function(t,e,n){"use strict";var i=n(410),r=n(414),o=n(413),s=n(426),a=n(435);t.exports=function(t,e,n){var l=a(t),u=""[t];o(function(){var e={};return e[l]=function(){return 7},7!=""[t](e)})&&(r(String.prototype,t,n(s,l,u)),i(RegExp.prototype,l,2==e?function(t,e){return u.call(t,this,e)}:function(t){return u.call(t,this)}))}},function(t,e,n){n(536)("replace",2,function(t,e,n){return function(i,r){"use strict";var o=t(this),s=void 0==i?void 0:i[e];return void 0!==s?s.call(i,o,r):n.call(o+"",i,r)}})},function(t,e,n){n(536)("search",1,function(t,e){return function(n){"use strict";var i=t(this),r=void 0==n?void 0:n[e];return void 0!==r?r.call(n,i):RegExp(n)[e](i+"")}})},function(t,e,n){n(536)("split",2,function(t,e,n){return function(i,r){"use strict";var o=t(this),s=void 0==i?void 0:i[e];return void 0!==s?s.call(i,o,r):n.call(o+"",i,r)}})},function(t,e,n){"use strict";var i,r=n(406),o=n(443),s=n(408),a=n(416),l=n(451),u=n(407),c=n(420),h=n(424),f=n(417),d=n(541),p=n(542),g=n(449).set,m=n(447),v=n(435)("species"),y=n(543),b=n(544),_="Promise",w=s.process,x="process"==l(w),k=s[_],S=function(t){var e=new k(function(){});return t&&(e.constructor=Object),k.resolve(e)===e},C=function(){function t(e){var n=new k(e);return g(n,t.prototype),n}var e,i=!1;try{i=k&&k.resolve&&S(),g(t,k),t.prototype=r.create(k.prototype,{constructor:{value:t}}),t.resolve(5).then(function(){})instanceof t||(i=!1),i&&n(412)&&(e=!1,k.resolve(r.setDesc({},"then",{get:function(){e=!0}})),i=e)}catch(o){i=!1}return i}(),T=function(t,e){return o&&t===k&&e===i?!0:m(t,e)},D=function(t){var e=h(t)[v];return void 0!=e?e:t},M=function(t){var e;return c(t)&&"function"==typeof(e=t.then)?e:!1},E=function(t){var e,n;this.promise=new t(function(t,i){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=i}),this.resolve=f(e),this.reject=f(n)},A=function(t){try{t()}catch(e){return{error:e}}},P=function(t,e){if(!t.n){t.n=!0;var n=t.c;b(function(){for(var i=t.v,r=1==t.s,o=0,a=function(e){var n,o,s=r?e.ok:e.fail,a=e.resolve,l=e.reject;try{s?(r||(t.h=!0),n=s===!0?i:s(i),n===e.promise?l(TypeError("Promise-chain cycle")):(o=M(n))?o.call(n,a,l):a(n)):l(i)}catch(u){l(u)}};n.length>o;)a(n[o++]);n.length=0,t.n=!1,e&&setTimeout(function(){var e,n,r=t.p;I(r)&&(x?w.emit("unhandledRejection",i,r):(e=s.onunhandledrejection)?e({promise:r,reason:i}):(n=s.console)&&n.error&&n.error("Unhandled promise rejection",i)),t.a=void 0},1)})}},I=function(t){var e,n=t._d,i=n.a||n.c,r=0;if(n.h)return!1;for(;i.length>r;)if(e=i[r++],e.fail||!I(e.promise))return!1;return!0},O=function(t){var e=this;e.d||(e.d=!0,e=e.r||e,e.v=t,e.s=2,e.a=e.c.slice(),P(e,!0))},N=function(t){var e,n=this;if(!n.d){n.d=!0,n=n.r||n;try{if(n.p===t)throw TypeError("Promise can't be resolved itself");(e=M(t))?b(function(){var i={r:n,d:!1};try{e.call(t,a(N,i,1),a(O,i,1))}catch(r){O.call(i,r)}}):(n.v=t,n.s=1,P(n,!1))}catch(i){O.call({r:n,d:!1},i)}}};C||(k=function(t){f(t);var e=this._d={p:d(this,k,_),c:[],a:void 0,s:0,d:!1,v:void 0,h:!1,n:!1};try{t(a(N,e,1),a(O,e,1))}catch(n){O.call(e,n)}},n(546)(k.prototype,{then:function(t,e){var n=new E(y(this,k)),i=n.promise,r=this._d;return n.ok="function"==typeof t?t:!0,n.fail="function"==typeof e&&e,r.c.push(n),r.a&&r.a.push(n),r.s&&P(r,!1),i},"catch":function(t){return this.then(void 0,t)}})),u(u.G+u.W+u.F*!C,{Promise:k}),n(439)(k,_),n(525)(_),i=n(409)[_],u(u.S+u.F*!C,_,{reject:function(t){var e=new E(this),n=e.reject;return n(t),e.promise}}),u(u.S+u.F*(!C||S(!0)),_,{resolve:function(t){if(t instanceof k&&T(t.constructor,this))return t;var e=new E(this),n=e.resolve;return n(t),e.promise}}),u(u.S+u.F*!(C&&n(519)(function(t){k.all(t)["catch"](function(){})})),_,{all:function(t){var e=D(this),n=new E(e),i=n.resolve,o=n.reject,s=[],a=A(function(){p(t,!1,s.push,s);var n=s.length,a=Array(n);n?r.each.call(s,function(t,r){var s=!1;e.resolve(t).then(function(t){s||(s=!0,a[r]=t,--n||i(a))},o)}):i(a)});return a&&o(a.error),n.promise},race:function(t){var e=D(this),n=new E(e),i=n.reject,r=A(function(){p(t,!1,function(t){e.resolve(t).then(n.resolve,i)})});return r&&i(r.error),n.promise}})},function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError(n+": use the 'new' operator!");return t}},function(t,e,n){var i=n(416),r=n(516),o=n(517),s=n(424),a=n(431),l=n(518);t.exports=function(t,e,n,u){var c,h,f,d=l(t),p=i(n,u,e?2:1),g=0;if("function"!=typeof d)throw TypeError(t+" is not iterable!");if(o(d))for(c=a(t.length);c>g;g++)e?p(s(h=t[g])[0],h[1]):p(t[g]);else for(f=d.call(t);!(h=f.next()).done;)r(f,p,h.value,e)}},function(t,e,n){var i=n(424),r=n(417),o=n(435)("species");t.exports=function(t,e){var n,s=i(t).constructor;return void 0===s||void 0==(n=i(s)[o])?e:r(n)}},function(t,e,n){var i,r,o,s,a,l=n(408),u=n(545).set,c=l.MutationObserver||l.WebKitMutationObserver,h=l.process,f=l.Promise,d="process"==n(422)(h),p=function(){var t,e,n;for(d&&(t=h.domain)&&(h.domain=null,t.exit());i;)e=i.domain,n=i.fn,e&&e.enter(),n(),e&&e.exit(),i=i.next;r=void 0,t&&t.enter()};d?o=function(){h.nextTick(p)}:c?(s=1,a=document.createTextNode(""),new c(p).observe(a,{characterData:!0}),o=function(){a.data=s=-s}):o=f&&f.resolve?function(){f.resolve().then(p)}:function(){u.call(l,p)},t.exports=function(t){var e={fn:t,next:void 0,domain:d&&h.domain};r&&(r.next=e),i||(i=e,o()),r=e}},function(t,e,n){var i,r,o,s=n(416),a=n(423),l=n(418),u=n(419),c=n(408),h=c.process,f=c.setImmediate,d=c.clearImmediate,p=c.MessageChannel,g=0,m={},v="onreadystatechange",y=function(){var t,e=+this;m.hasOwnProperty(e)&&(t=m[e],delete m[e],t())},b=function(t){y.call(t.data)};f&&d||(f=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return m[++g]=function(){a("function"==typeof t?t:Function(t),e)},i(g),g},d=function(t){delete m[t]},"process"==n(422)(h)?i=function(t){h.nextTick(s(y,t,1))}:p?(r=new p,o=r.port2,r.port1.onmessage=b,i=s(o.postMessage,o,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(i=function(t){c.postMessage(t+"","*")},c.addEventListener("message",b,!1)):i=v in u("script")?function(t){l.appendChild(u("script"))[v]=function(){l.removeChild(this),y.call(t)}}:function(t){setTimeout(s(y,t,1),0)}),t.exports={set:f,clear:d}},function(t,e,n){var i=n(414);t.exports=function(t,e){for(var n in e)i(t,n,e[n]);return t}},function(t,e,n){"use strict";var i=n(548);n(549)("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var e=i.getEntry(this,t);return e&&e.v},set:function(t,e){return i.def(this,0===t?0:t,e)}},i,!0)},function(t,e,n){"use strict";var i=n(406),r=n(410),o=n(546),s=n(416),a=n(541),l=n(426),u=n(542),c=n(503),h=n(523),f=n(415)("id"),d=n(421),p=n(420),g=n(525),m=n(412),v=Object.isExtensible||p,y=m?"_s":"size",b=0,_=function(t,e){if(!p(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!d(t,f)){if(!v(t))return"F";if(!e)return"E";r(t,f,++b)}return"O"+t[f]},w=function(t,e){var n,i=_(e);if("F"!==i)return t._i[i];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,r){var c=t(function(t,o){a(t,c,e),t._i=i.create(null),t._f=void 0,t._l=void 0,t[y]=0,void 0!=o&&u(o,n,t[r],t)});return o(c.prototype,{clear:function(){for(var t=this,e=t._i,n=t._f;n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=void 0),delete e[n.i];t._f=t._l=void 0,t[y]=0},"delete":function(t){var e,n,i=this,r=w(i,t);return r&&(e=r.n,n=r.p,delete i._i[r.i],r.r=!0,n&&(n.n=e),e&&(e.p=n),i._f==r&&(i._f=e),i._l==r&&(i._l=n),i[y]--),!!r},forEach:function(t){for(var e,n=s(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.n:this._f;)for(n(e.v,e.k,this);e&&e.r;)e=e.p},has:function(t){return!!w(this,t)}}),m&&i.setDesc(c.prototype,"size",{get:function(){return l(this[y])}}),c},def:function(t,e,n){var i,r,o=w(t,e);return o?o.v=n:(t._l=o={i:r=_(e,!0),k:e,v:n,p:i=t._l,n:void 0,r:!1},t._f||(t._f=o),i&&(i.n=o),t[y]++,"F"!==r&&(t._i[r]=o)),t},getEntry:w,setStrong:function(t,e,n){c(t,e,function(t,e){this._t=t,this._k=e,this._l=void 0},function(){for(var t=this,e=t._k,n=t._l;n&&n.r;)n=n.p;return t._t&&(t._l=n=n?n.n:t._t._f)?"keys"==e?h(0,n.k):"values"==e?h(0,n.v):h(0,[n.k,n.v]):(t._t=void 0,h(1))},n?"entries":"values",!n,!0),g(e)}}},function(t,e,n){"use strict";var i=n(408),r=n(407),o=n(414),s=n(546),a=n(542),l=n(541),u=n(420),c=n(413),h=n(519),f=n(439);t.exports=function(t,e,n,d,p,g){var m,v,y,b,_,w=i[t],x=w,k=p?"set":"add",S=x&&x.prototype,C={},T=function(t){var e=S[t];o(S,t,"delete"==t?function(t){return g&&!u(t)?!1:e.call(this,0===t?0:t)}:"has"==t?function(t){return g&&!u(t)?!1:e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!u(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};return"function"==typeof x&&(g||S.forEach&&!c(function(){(new x).entries().next()}))?(m=new x,v=m[k](g?{}:-0,1)!=m,y=c(function(){m.has(1)}),b=h(function(t){new x(t)}),b||(x=e(function(e,n){l(e,x,t);var i=new w;return void 0!=n&&a(n,p,i[k],i),i}),x.prototype=S,S.constructor=x),g||m.forEach(function(t,e){_=1/e===-(1/0)}),(y||_)&&(T("delete"),T("has"),p&&T("get")),(_||v)&&T(k),g&&S.clear&&delete S.clear):(x=d.getConstructor(e,t,p,k),s(x.prototype,n)),f(x,t),C[t]=x,r(r.G+r.W+r.F*(x!=w),C),g||d.setStrong(x,t,p),x}},function(t,e,n){"use strict";var i=n(548);n(549)("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return i.def(this,t=0===t?0:t,t)}},i)},function(t,e,n){"use strict";var i=n(406),r=n(414),o=n(552),s=n(420),a=n(421),l=o.frozenStore,u=o.WEAK,c=Object.isExtensible||s,h={},f=n(549)("WeakMap",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){if(s(t)){if(!c(t))return l(this).get(t);if(a(t,u))return t[u][this._i]}},set:function(t,e){return o.def(this,t,e)}},o,!0,!0);7!=(new f).set((Object.freeze||Object)(h),7).get(h)&&i.each.call(["delete","has","get","set"],function(t){var e=f.prototype,n=e[t];r(e,t,function(e,i){if(s(e)&&!c(e)){var r=l(this)[t](e,i);return"set"==t?this:r}return n.call(this,e,i)})})},function(t,e,n){"use strict";var i=n(410),r=n(546),o=n(424),s=n(420),a=n(541),l=n(542),u=n(432),c=n(421),h=n(415)("weak"),f=Object.isExtensible||s,d=u(5),p=u(6),g=0,m=function(t){return t._l||(t._l=new v)},v=function(){this.a=[]},y=function(t,e){return d(t.a,function(t){return t[0]===e})};v.prototype={get:function(t){var e=y(this,t);return e?e[1]:void 0},has:function(t){return!!y(this,t)},set:function(t,e){var n=y(this,t);n?n[1]=e:this.a.push([t,e])},"delete":function(t){var e=p(this.a,function(e){return e[0]===t});return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,i){var o=t(function(t,r){a(t,o,e),t._i=g++,t._l=void 0,void 0!=r&&l(r,n,t[i],t)});return r(o.prototype,{"delete":function(t){return s(t)?f(t)?c(t,h)&&c(t[h],this._i)&&delete t[h][this._i]:m(this)["delete"](t):!1},has:function(t){return s(t)?f(t)?c(t,h)&&c(t[h],this._i):m(this).has(t):!1}}),o},def:function(t,e,n){return f(o(e))?(c(e,h)||i(e,h,{}),e[h][t._i]=n):m(t).set(e,n),t},frozenStore:m,WEAK:h}},function(t,e,n){"use strict";var i=n(552);n(549)("WeakSet",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return i.def(this,t,!0)}},i,!1,!0)},function(t,e,n){var i=n(407),r=Function.apply;i(i.S,"Reflect",{apply:function(t,e,n){return r.call(t,e,n)}})},function(t,e,n){var i=n(406),r=n(407),o=n(417),s=n(424),a=n(420),l=Function.bind||n(409).Function.prototype.bind;r(r.S+r.F*n(413)(function(){function t(){}return!(Reflect.construct(function(){},[],t)instanceof t)}),"Reflect",{construct:function(t,e){var n,r,u,c,h;if(o(t),n=arguments.length<3?t:o(arguments[2]),t==n){if(void 0!=e)switch(s(e).length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}return r=[null],r.push.apply(r,e),new(l.apply(t,r))}return u=n.prototype,c=i.create(a(u)?u:Object.prototype),h=Function.apply.call(t,c,e),a(h)?h:c}})},function(t,e,n){var i=n(406),r=n(407),o=n(424);r(r.S+r.F*n(413)(function(){Reflect.defineProperty(i.setDesc({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,e,n){o(t);try{return i.setDesc(t,e,n),!0}catch(r){return!1}}})},function(t,e,n){var i=n(407),r=n(406).getDesc,o=n(424);i(i.S,"Reflect",{deleteProperty:function(t,e){var n=r(o(t),e);return n&&!n.configurable?!1:delete t[e]}})},function(t,e,n){"use strict";var i=n(407),r=n(424),o=function(t){this._t=r(t),this._i=0;var e,n=this._k=[];for(e in t)n.push(e)};n(505)(o,"Object",function(){var t,e=this,n=e._k;do if(e._i>=n.length)return{value:void 0,done:!0};while(!((t=n[e._i++])in e._t));return{value:t,done:!1}}),i(i.S,"Reflect",{enumerate:function(t){return new o(t)}})},function(t,e,n){function i(t,e){var n,s,u=arguments.length<3?t:arguments[2];return l(t)===u?t[e]:(n=r.getDesc(t,e))?o(n,"value")?n.value:void 0!==n.get?n.get.call(u):void 0:a(s=r.getProto(t))?i(s,e,u):void 0}var r=n(406),o=n(421),s=n(407),a=n(420),l=n(424);s(s.S,"Reflect",{get:i})},function(t,e,n){var i=n(406),r=n(407),o=n(424);r(r.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return i.getDesc(o(t),e)}})},function(t,e,n){var i=n(407),r=n(406).getProto,o=n(424);i(i.S,"Reflect",{getPrototypeOf:function(t){return r(o(t))}})},function(t,e,n){var i=n(407);i(i.S,"Reflect",{has:function(t,e){return e in t}})},function(t,e,n){var i=n(407),r=n(424),o=Object.isExtensible;i(i.S,"Reflect",{isExtensible:function(t){return r(t),o?o(t):!0}})},function(t,e,n){var i=n(407);i(i.S,"Reflect",{ownKeys:n(565)})},function(t,e,n){var i=n(406),r=n(424),o=n(408).Reflect;t.exports=o&&o.ownKeys||function(t){var e=i.getNames(r(t)),n=i.getSymbols;return n?e.concat(n(t)):e}},function(t,e,n){var i=n(407),r=n(424),o=Object.preventExtensions;i(i.S,"Reflect",{preventExtensions:function(t){r(t);try{return o&&o(t),!0}catch(e){return!1}}})},function(t,e,n){function i(t,e,n){var s,c,h=arguments.length<4?t:arguments[3],f=r.getDesc(l(t),e);if(!f){if(u(c=r.getProto(t)))return i(c,e,n,h);f=a(0)}return o(f,"value")?f.writable!==!1&&u(h)?(s=r.getDesc(h,e)||a(0),s.value=n,r.setDesc(h,e,s),!0):!1:void 0===f.set?!1:(f.set.call(h,n),!0)}var r=n(406),o=n(421),s=n(407),a=n(411),l=n(424),u=n(420);s(s.S,"Reflect",{set:i})},function(t,e,n){var i=n(407),r=n(449);r&&i(i.S,"Reflect",{setPrototypeOf:function(t,e){r.check(t,e);try{return r.set(t,e),!0}catch(n){return!1}}})},function(t,e,n){"use strict";var i=n(407),r=n(437)(!0);i(i.P,"Array",{includes:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),n(522)("includes")},function(t,e,n){"use strict";var i=n(407),r=n(502)(!0);i(i.P,"String",{at:function(t){return r(this,t)}})},function(t,e,n){"use strict";var i=n(407),r=n(572);i(i.P,"String",{padLeft:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},function(t,e,n){var i=n(431),r=n(513),o=n(426);t.exports=function(t,e,n,s){var a,l,u=o(t)+"",c=u.length,h=void 0===n?" ":n+"",f=i(e);return c>=f?u:(""==h&&(h=" "),a=f-c,l=r.call(h,Math.ceil(a/h.length)),l.length>a&&(l=l.slice(0,a)),s?l+u:u+l)}},function(t,e,n){"use strict";var i=n(407),r=n(572);i(i.P,"String",{padRight:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},function(t,e,n){"use strict";n(467)("trimLeft",function(t){return function(){return t(this,1)}})},function(t,e,n){"use strict";n(467)("trimRight",function(t){return function(){return t(this,2)}})},function(t,e,n){var i=n(407),r=n(577)(/[\\^$*+?.()|[\]{}]/g,"\\$&");i(i.S,"RegExp",{escape:function(t){return r(t)}})},function(t,e){t.exports=function(t,e){var n=e===Object(e)?function(t){return e[t]}:e;return function(e){return(e+"").replace(t,n)}}},function(t,e,n){var i=n(406),r=n(407),o=n(565),s=n(427),a=n(411);r(r.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,n,r=s(t),l=i.setDesc,u=i.getDesc,c=o(r),h={},f=0;c.length>f;)n=u(r,e=c[f++]),e in h?l(h,e,a(0,n)):h[e]=n;return h}})},function(t,e,n){var i=n(407),r=n(580)(!1);i(i.S,"Object",{values:function(t){return r(t)}})},function(t,e,n){var i=n(406),r=n(427),o=i.isEnum;t.exports=function(t){return function(e){for(var n,s=r(e),a=i.getKeys(s),l=a.length,u=0,c=[];l>u;)o.call(s,n=a[u++])&&c.push(t?[n,s[n]]:s[n]);return c}}},function(t,e,n){var i=n(407),r=n(580)(!0);i(i.S,"Object",{entries:function(t){return r(t)}})},function(t,e,n){var i=n(407);i(i.P,"Map",{toJSON:n(583)("Map")})},function(t,e,n){var i=n(542),r=n(451);t.exports=function(t){return function(){if(r(this)!=t)throw TypeError(t+"#toJSON isn't generic");var e=[];return i(this,!1,e.push,e),e}}},function(t,e,n){var i=n(407);i(i.P,"Set",{toJSON:n(583)("Set")})},function(t,e,n){var i=n(406),r=n(407),o=n(416),s=n(409).Array||Array,a={},l=function(t,e){i.each.call(t.split(","),function(t){void 0==e&&t in s?a[t]=s[t]:t in[]&&(a[t]=o(Function.call,[][t],e))})};l("pop,reverse,shift,keys,values,entries",1),l("indexOf,every,some,forEach,map,filter,find,findIndex,includes",3),l("join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill"),r(r.S,"Array",a)},function(t,e,n){var i=n(408),r=n(407),o=n(423),s=n(587),a=i.navigator,l=!!a&&/MSIE .\./.test(a.userAgent),u=function(t){return l?function(e,n){return t(o(s,[].slice.call(arguments,2),"function"==typeof e?e:Function(e)),n)}:t};r(r.G+r.B+r.F*l,{setTimeout:u(i.setTimeout),setInterval:u(i.setInterval)})},function(t,e,n){"use strict";var i=n(588),r=n(423),o=n(417);t.exports=function(){for(var t=o(this),e=arguments.length,n=Array(e),s=0,a=i._,l=!1;e>s;)(n[s]=arguments[s++])===a&&(l=!0);return function(){var i,o=this,s=arguments,u=s.length,c=0,h=0;if(!l&&!u)return r(t,n,o);if(i=n.slice(),l)for(;e>c;c++)i[c]===a&&(i[c]=s[h++]);for(;u>h;)i.push(s[h++]);return r(t,i,o)}}},function(t,e,n){t.exports=n(408)},function(t,e,n){var i=n(407),r=n(545);i(i.G+i.B,{setImmediate:r.set,clearImmediate:r.clear})},function(t,e,n){n(521);var i=n(408),r=n(410),o=n(504),s=n(435)("iterator"),a=i.NodeList,l=i.HTMLCollection,u=a&&a.prototype,c=l&&l.prototype,h=o.NodeList=o.HTMLCollection=o.Array;u&&!u[s]&&r(u,s,h),c&&!c[s]&&r(c,s,h)},function(t,e,n){(function(e,n){!function(e){"use strict";function i(t,e,n,i){var r=Object.create((e||o).prototype),s=new p(i||[]);return r._invoke=h(t,n,s),r}function r(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(i){return{type:"throw",arg:i}}}function o(){}function s(){}function a(){}function l(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function u(t){this.arg=t}function c(t){function e(e,n){var i=t[e](n),s=i.value;return s instanceof u?Promise.resolve(s.arg).then(r,o):Promise.resolve(s).then(function(t){return i.value=t,i})}function i(t,n){function i(){return e(t,n)}return a=a?a.then(i,i):new Promise(function(t){t(i())})}var r,o,s,a;"object"==typeof n&&n.domain&&(e=n.domain.bind(e)),r=e.bind(t,"next"),o=e.bind(t,"throw"),s=e.bind(t,"return"),this._invoke=i}function h(t,e,n){var i=y;return function(o,s){var a,l,u,c;if(i===_)throw Error("Generator is already running");if(i===w){if("throw"===o)throw s;return m()}for(;;){if(a=n.delegate){if("return"===o||"throw"===o&&a.iterator[o]===v){if(n.delegate=null,l=a.iterator["return"],l&&(u=r(l,a.iterator,s),"throw"===u.type)){o="throw",s=u.arg;continue}if("return"===o)continue}if(u=r(a.iterator[o],a.iterator,s),"throw"===u.type){n.delegate=null,o="throw",s=u.arg;continue}if(o="next",s=v,c=u.arg,!c.done)return i=b,c;n[a.resultName]=c.value,n.next=a.nextLoc,n.delegate=null}if("next"===o)n._sent=s,i===b?n.sent=s:n.sent=v;else if("throw"===o){if(i===y)throw i=w,s;n.dispatchException(s)&&(o="next",s=v)}else"return"===o&&n.abrupt("return",s);if(i=_,u=r(t,e,n),"normal"===u.type){if(i=n.done?w:b,c={value:u.arg,done:n.done},u.arg!==x)return c;n.delegate&&"next"===o&&(s=v)}else"throw"===u.type&&(i=w,o="throw",s=u.arg)}}}function f(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function d(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function p(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(f,this),this.reset(!0)}function g(t){var e,n,i;if(t){if(e=t[C])return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return n=-1,i=function r(){for(;++n<t.length;)if(S.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=v,r.done=!0,r},i.next=i}return{next:m}}function m(){return{value:v,done:!0}}var v,y,b,_,w,x,k,S=Object.prototype.hasOwnProperty,C="function"==typeof Symbol&&Symbol.iterator||"@@iterator",T="object"==typeof t,D=e.regeneratorRuntime;return D?(T&&(t.exports=D),v):(D=e.regeneratorRuntime=T?t.exports:{},
|
||
D.wrap=i,y="suspendedStart",b="suspendedYield",_="executing",w="completed",x={},k=a.prototype=o.prototype,s.prototype=k.constructor=a,a.constructor=s,s.displayName="GeneratorFunction",D.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return e?e===s||"GeneratorFunction"===(e.displayName||e.name):!1},D.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,a):t.__proto__=a,t.prototype=Object.create(k),t},D.awrap=function(t){return new u(t)},l(c.prototype),D.async=function(t,e,n,r){var o=new c(i(t,e,n,r));return D.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},l(k),k[C]=function(){return this},k.toString=function(){return"[object Generator]"},D.keys=function(t){var e,n=[];for(e in t)n.push(e);return n.reverse(),function i(){for(;n.length;){var e=n.pop();if(e in t)return i.value=e,i.done=!1,i}return i.done=!0,i}},D.values=g,p.prototype={constructor:p,reset:function(t){if(this.prev=0,this.next=0,this.sent=v,this.done=!1,this.delegate=null,this.tryEntries.forEach(d),!t)for(var e in this)"t"===e.charAt(0)&&S.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=v)},stop:function(){var t,e;if(this.done=!0,t=this.tryEntries[0],e=t.completion,"throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){function e(e,i){return o.type="throw",o.arg=t,n.next=e,!!i}var n,i,r,o,s,a;if(this.done)throw t;for(n=this,i=this.tryEntries.length-1;i>=0;--i){if(r=this.tryEntries[i],o=r.completion,"root"===r.tryLoc)return e("end");if(r.tryLoc<=this.prev)if(s=S.call(r,"catchLoc"),a=S.call(r,"finallyLoc"),s&&a){if(this.prev<r.catchLoc)return e(r.catchLoc,!0);if(this.prev<r.finallyLoc)return e(r.finallyLoc)}else if(s){if(this.prev<r.catchLoc)return e(r.catchLoc,!0)}else{if(!a)throw Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return e(r.finallyLoc)}}},abrupt:function(t,e){var n,i,r,o;for(n=this.tryEntries.length-1;n>=0;--n)if(i=this.tryEntries[n],i.tryLoc<=this.prev&&S.call(i,"finallyLoc")&&this.prev<i.finallyLoc){r=i;break}return r&&("break"===t||"continue"===t)&&r.tryLoc<=e&&e<=r.finallyLoc&&(r=null),o=r?r.completion:{},o.type=t,o.arg=e,r?this.next=r.finallyLoc:this.complete(o),x},complete:function(t,e){if("throw"===t.type)throw t.arg;"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=t.arg,this.next="end"):"normal"===t.type&&e&&(this.next=e)},finish:function(t){var e,n;for(e=this.tryEntries.length-1;e>=0;--e)if(n=this.tryEntries[e],n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),d(n),x},"catch":function(t){var e,n,i,r;for(e=this.tryEntries.length-1;e>=0;--e)if(n=this.tryEntries[e],n.tryLoc===t)return i=n.completion,"throw"===i.type&&(r=i.arg,d(n)),r;throw Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:g(t),resultName:e,nextLoc:n},x}},v)}("object"==typeof e?e:"object"==typeof window?window:"object"==typeof self?self:this)}).call(e,function(){return this}(),n(36))},function(t,e,n){var i,r;!function(o,s){function a(t){var e,n,i=Me[t]={};for(t=t.split(/\s+/),e=0,n=t.length;n>e;e++)i[t[e]]=!0;return i}function l(t,e,n){if(n===s&&1===t.nodeType){var i="data-"+e.replace(R,"-$1").toLowerCase();if(n=t.getAttribute(i),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:De.isNumeric(n)?+n:j.test(n)?De.parseJSON(n):n}catch(r){}De.data(t,e,n)}else n=s}return n}function u(t){for(var e in t)if(("data"!==e||!De.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function c(t,e,n){var i=e+"defer",r=e+"queue",o=e+"mark",s=De._data(t,i);!s||"queue"!==n&&De._data(t,r)||"mark"!==n&&De._data(t,o)||setTimeout(function(){De._data(t,r)||De._data(t,o)||(De.removeData(t,i,!0),s.fire())},0)}function h(){return!1}function f(){return!0}function d(t){return!t||!t.parentNode||11===t.parentNode.nodeType}function p(t,e,n){if(e=e||0,De.isFunction(e))return De.grep(t,function(t,i){var r=!!e.call(t,i,t);return r===n});if(e.nodeType)return De.grep(t,function(t,i){return t===e===n});if("string"==typeof e){var i=De.grep(t,function(t){return 1===t.nodeType});if(ct.test(e))return De.filter(e,i,!n);e=De.filter(e,i)}return De.grep(t,function(t,i){return De.inArray(t,e)>=0===n})}function g(t){var e=pt.split("|"),n=t.createDocumentFragment();if(n.createElement)for(;e.length;)n.createElement(e.pop());return n}function m(t,e){return De.nodeName(t,"table")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function v(t,e){if(1===e.nodeType&&De.hasData(t)){var n,i,r,o=De._data(t),s=De._data(e,o),a=o.events;if(a){delete s.handle,s.events={};for(n in a)for(i=0,r=a[n].length;r>i;i++)De.event.add(e,n,a[n][i])}s.data&&(s.data=De.extend({},s.data))}}function y(t,e){var n;1===e.nodeType&&(e.clearAttributes&&e.clearAttributes(),e.mergeAttributes&&e.mergeAttributes(t),n=e.nodeName.toLowerCase(),"object"===n?e.outerHTML=t.outerHTML:"input"!==n||"checkbox"!==t.type&&"radio"!==t.type?"option"===n?e.selected=t.defaultSelected:"input"===n||"textarea"===n?e.defaultValue=t.defaultValue:"script"===n&&e.text!==t.text&&(e.text=t.text):(t.checked&&(e.defaultChecked=e.checked=t.checked),e.value!==t.value&&(e.value=t.value)),e.removeAttribute(De.expando),e.removeAttribute("_submit_attached"),e.removeAttribute("_change_attached"))}function b(t){return s!==t.getElementsByTagName?t.getElementsByTagName("*"):s!==t.querySelectorAll?t.querySelectorAll("*"):[]}function _(t){"checkbox"!==t.type&&"radio"!==t.type||(t.defaultChecked=t.checked)}function w(t){var e=(t.nodeName||"").toLowerCase();"input"===e?_(t):"script"!==e&&s!==t.getElementsByTagName&&De.grep(t.getElementsByTagName("input"),_)}function x(t){var e=Se.createElement("div");return Mt.appendChild(e),e.innerHTML=t.outerHTML,e.firstChild}function k(t,e,n){var i="width"===e?t.offsetWidth:t.offsetHeight,r="width"===e?1:0,o=4;if(i>0){if("border"!==n)for(;o>r;r+=2)n||(i-=parseFloat(De.css(t,"padding"+zt[r]))||0),"margin"===n?i+=parseFloat(De.css(t,n+zt[r]))||0:i-=parseFloat(De.css(t,"border"+zt[r]+"Width"))||0;return i+"px"}if(i=jt(t,e),(0>i||null==i)&&(i=t.style[e]),Ot.test(i))return i;if(i=parseFloat(i)||0,n)for(;o>r;r+=2)i+=parseFloat(De.css(t,"padding"+zt[r]))||0,"padding"!==n&&(i+=parseFloat(De.css(t,"border"+zt[r]+"Width"))||0),"margin"===n&&(i+=parseFloat(De.css(t,n+zt[r]))||0);return i+"px"}function S(t){return function(e,n){if("string"!=typeof e&&(n=e,e="*"),De.isFunction(n))for(var i,r,o,s=e.toLowerCase().split(Jt),a=0,l=s.length;l>a;a++)i=s[a],o=/^\+/.test(i),o&&(i=i.substr(1)||"*"),r=t[i]=t[i]||[],r[o?"unshift":"push"](n)}}function C(t,e,n,i,r,o){r=r||e.dataTypes[0],o=o||{},o[r]=!0;for(var a,l=t[r],u=0,c=l?l.length:0,h=t===ie;c>u&&(h||!a);u++)a=l[u](e,n,i),"string"==typeof a&&(!h||o[a]?a=s:(e.dataTypes.unshift(a),a=C(t,e,n,i,a,o)));return!h&&a||o["*"]||(a=C(t,e,n,i,"*",o)),a}function T(t,e){var n,i,r=De.ajaxSettings.flatOptions||{};for(n in e)e[n]!==s&&((r[n]?t:i||(i={}))[n]=e[n]);i&&De.extend(!0,t,i)}function D(t,e,n,i){if(De.isArray(e))De.each(e,function(e,r){n||Bt.test(t)?i(t,r):D(t+"["+("object"==typeof r?e:"")+"]",r,n,i)});else if(n||"object"!==De.type(e))i(t,e);else for(var r in e)D(t+"["+r+"]",e[r],n,i)}function M(t,e,n){var i,r,o,a,l=t.contents,u=t.dataTypes,c=t.responseFields;for(r in c)r in n&&(e[c[r]]=n[r]);for(;"*"===u[0];)u.shift(),i===s&&(i=t.mimeType||e.getResponseHeader("content-type"));if(i)for(r in l)if(l[r]&&l[r].test(i)){u.unshift(r);break}if(u[0]in n)o=u[0];else{for(r in n){if(!u[0]||t.converters[r+" "+u[0]]){o=r;break}a||(a=r)}o=o||a}return o?(o!==u[0]&&u.unshift(o),n[o]):s}function E(t,e){t.dataFilter&&(e=t.dataFilter(e,t.dataType));var n,i,r,o,a,l,u,c,h=t.dataTypes,f={},d=h.length,p=h[0];for(n=1;d>n;n++){if(1===n)for(i in t.converters)"string"==typeof i&&(f[i.toLowerCase()]=t.converters[i]);if(o=p,p=h[n],"*"===p)p=o;else if("*"!==o&&o!==p){if(a=o+" "+p,l=f[a]||f["* "+p],!l){c=s;for(u in f)if(r=u.split(" "),(r[0]===o||"*"===r[0])&&(c=f[r[1]+" "+p])){u=f[u],u===!0?l=c:c===!0&&(l=u);break}}l||c||De.error("No conversion from "+a.replace(" "," to ")),l!==!0&&(e=l?l(e):c(u(e)))}}return e}function A(){try{return new o.XMLHttpRequest}catch(t){}}function P(){try{return new o.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function I(){return setTimeout(O,0),_e=De.now()}function O(){_e=s}function N(t,e){var n={};return De.each(be.concat.apply([],be.slice(0,e)),function(){n[this]=t}),n}function L(t){if(!de[t]){var e=Se.body,n=De("<"+t+">").appendTo(e),i=n.css("display");n.remove(),"none"!==i&&""!==i||(pe||(pe=Se.createElement("iframe"),pe.frameBorder=pe.width=pe.height=0),e.appendChild(pe),ge&&pe.createElement||(ge=(pe.contentWindow||pe.contentDocument).document,ge.write((De.support.boxModel?"<!doctype html>":"")+"<html><body>"),ge.close()),n=ge.createElement(t),ge.body.appendChild(n),i=De.css(n,"display"),e.removeChild(pe)),de[t]=i}return de[t]}function F(t){return De.isWindow(t)?t:9===t.nodeType?t.defaultView||t.parentWindow:!1}var z,j,R,H,Y,B,U,W,V,q,X,$,G,Z,K,Q,J,tt,et,nt,it,rt,ot,st,at,lt,ut,ct,ht,ft,dt,pt,gt,mt,vt,yt,bt,_t,wt,xt,kt,St,Ct,Tt,Dt,Mt,Et,At,Pt,It,Ot,Nt,Lt,Ft,zt,jt,Rt,Ht,Yt,Bt,Ut,Wt,Vt,qt,Xt,$t,Gt,Zt,Kt,Qt,Jt,te,ee,ne,ie,re,oe,se,ae,le,ue,ce,he,fe,de,pe,ge,me,ve,ye,be,_e,we,xe,ke,Se=o.document,Ce=o.navigator,Te=o.location,De=function(){function t(){if(!a.isReady){try{Se.documentElement.doScroll("left")}catch(e){return setTimeout(t,1),s}a.ready()}}var e,n,i,r,a=function(t,n){return new a.fn.init(t,n,e)},l=o.jQuery,u=o.$,c=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,h=/\S/,f=/^\s+/,d=/\s+$/,p=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,g=/^[\],:{}\s]*$/,m=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,v=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,y=/(?:^|:|,)(?:\s*\[)+/g,b=/(webkit)[ \/]([\w.]+)/,_=/(opera)(?:.*version)?[ \/]([\w.]+)/,w=/(msie) ([\w.]+)/,x=/(mozilla)(?:.*? rv:([\w.]+))?/,k=/-([a-z]|[0-9])/gi,S=/^-ms-/,C=function(t,e){return(e+"").toUpperCase()},T=Ce.userAgent,D=Object.prototype.toString,M=Object.prototype.hasOwnProperty,E=Array.prototype.push,A=Array.prototype.slice,P=String.prototype.trim,I=Array.prototype.indexOf,O={};return a.fn=a.prototype={constructor:a,init:function(t,e,n){var i,r,o,l;if(!t)return this;if(t.nodeType)return this.context=this[0]=t,this.length=1,this;if("body"===t&&!e&&Se.body)return this.context=Se,this[0]=Se.body,this.selector=t,this.length=1,this;if("string"==typeof t){if(i="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&t.length>=3?[null,t,null]:c.exec(t),!i||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1])return e=e instanceof a?e[0]:e,l=e?e.ownerDocument||e:Se,o=p.exec(t),o?a.isPlainObject(e)?(t=[Se.createElement(o[1])],a.fn.attr.call(t,e,!0)):t=[l.createElement(o[1])]:(o=a.buildFragment([i[1]],[l]),t=(o.cacheable?a.clone(o.fragment):o.fragment).childNodes),a.merge(this,t);if(r=Se.getElementById(i[2]),r&&r.parentNode){if(r.id!==i[2])return n.find(t);this.length=1,this[0]=r}return this.context=Se,this.selector=t,this}return a.isFunction(t)?n.ready(t):(t.selector!==s&&(this.selector=t.selector,this.context=t.context),a.makeArray(t,this))},selector:"",jquery:"1.7.2",length:0,size:function(){return this.length},toArray:function(){return A.call(this,0)},get:function(t){return null==t?this.toArray():0>t?this[this.length+t]:this[t]},pushStack:function(t,e,n){var i=this.constructor();return a.isArray(t)?E.apply(i,t):a.merge(i,t),i.prevObject=this,i.context=this.context,"find"===e?i.selector=this.selector+(this.selector?" ":"")+n:e&&(i.selector=this.selector+"."+e+"("+n+")"),i},each:function(t,e){return a.each(this,t,e)},ready:function(t){return a.bindReady(),i.add(t),this},eq:function(t){return t=+t,-1===t?this.slice(t):this.slice(t,t+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(A.apply(this,arguments),"slice",A.call(arguments).join(","))},map:function(t){return this.pushStack(a.map(this,function(e,n){return t.call(e,n,e)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},a.fn.init.prototype=a.fn,a.extend=a.fn.extend=function(){var t,e,n,i,r,o,l=arguments[0]||{},u=1,c=arguments.length,h=!1;for("boolean"==typeof l&&(h=l,l=arguments[1]||{},u=2),"object"==typeof l||a.isFunction(l)||(l={}),c===u&&(l=this,--u);c>u;u++)if(null!=(t=arguments[u]))for(e in t)n=l[e],i=t[e],l!==i&&(h&&i&&(a.isPlainObject(i)||(r=a.isArray(i)))?(r?(r=!1,o=n&&a.isArray(n)?n:[]):o=n&&a.isPlainObject(n)?n:{},l[e]=a.extend(h,o,i)):i!==s&&(l[e]=i));return l},a.extend({noConflict:function(t){return o.$===a&&(o.$=u),t&&o.jQuery===a&&(o.jQuery=l),a},isReady:!1,readyWait:1,holdReady:function(t){t?a.readyWait++:a.ready(!0)},ready:function(t){if(t===!0&&!--a.readyWait||t!==!0&&!a.isReady){if(!Se.body)return setTimeout(a.ready,1);if(a.isReady=!0,t!==!0&&--a.readyWait>0)return;i.fireWith(Se,[a]),a.fn.trigger&&a(Se).trigger("ready").off("ready")}},bindReady:function(){if(!i){if(i=a.Callbacks("once memory"),"complete"===Se.readyState)return setTimeout(a.ready,1);if(Se.addEventListener)Se.addEventListener("DOMContentLoaded",r,!1),o.addEventListener("load",a.ready,!1);else if(Se.attachEvent){Se.attachEvent("onreadystatechange",r),o.attachEvent("onload",a.ready);var e=!1;try{e=null==o.frameElement}catch(n){}Se.documentElement.doScroll&&e&&t()}}},isFunction:function(t){return"function"===a.type(t)},isArray:Array.isArray||function(t){return"array"===a.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){return!isNaN(parseFloat(t))&&isFinite(t)},type:function(t){return null==t?t+"":O[D.call(t)]||"object"},isPlainObject:function(t){if(!t||"object"!==a.type(t)||t.nodeType||a.isWindow(t))return!1;try{if(t.constructor&&!M.call(t,"constructor")&&!M.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}var n;for(n in t);return n===s||M.call(t,n)},isEmptyObject:function(t){for(var e in t)return!1;return!0},error:function(t){throw Error(t)},parseJSON:function(t){return"string"==typeof t&&t?(t=a.trim(t),o.JSON&&o.JSON.parse?o.JSON.parse(t):g.test(t.replace(m,"@").replace(v,"]").replace(y,""))?Function("return "+t)():(a.error("Invalid JSON: "+t),s)):null},parseXML:function(t){if("string"!=typeof t||!t)return null;var e,n;try{o.DOMParser?(n=new DOMParser,e=n.parseFromString(t,"text/xml")):(e=new ActiveXObject("Microsoft.XMLDOM"),e.async="false",e.loadXML(t))}catch(i){e=s}return e&&e.documentElement&&!e.getElementsByTagName("parsererror").length||a.error("Invalid XML: "+t),e},noop:function(){},globalEval:function(t){t&&h.test(t)&&(o.execScript||function(t){o.eval.call(o,t)})(t)},camelCase:function(t){return t.replace(S,"ms-").replace(k,C)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toUpperCase()===e.toUpperCase()},each:function(t,e,n){var i,r=0,o=t.length,l=o===s||a.isFunction(t);if(n)if(l){for(i in t)if(e.apply(t[i],n)===!1)break}else for(;o>r&&e.apply(t[r++],n)!==!1;);else if(l){for(i in t)if(e.call(t[i],i,t[i])===!1)break}else for(;o>r&&e.call(t[r],r,t[r++])!==!1;);return t},trim:P?function(t){return null==t?"":P.call(t)}:function(t){return null==t?"":(""+t).replace(f,"").replace(d,"")},makeArray:function(t,e){var n,i=e||[];return null!=t&&(n=a.type(t),null==t.length||"string"===n||"function"===n||"regexp"===n||a.isWindow(t)?E.call(i,t):a.merge(i,t)),i},inArray:function(t,e,n){var i;if(e){if(I)return I.call(e,t,n);for(i=e.length,n=n?0>n?Math.max(0,i+n):n:0;i>n;n++)if(n in e&&e[n]===t)return n}return-1},merge:function(t,e){var n,i=t.length,r=0;if("number"==typeof e.length)for(n=e.length;n>r;r++)t[i++]=e[r];else for(;e[r]!==s;)t[i++]=e[r++];return t.length=i,t},grep:function(t,e,n){var i,r,o,s=[];for(n=!!n,r=0,o=t.length;o>r;r++)i=!!e(t[r],r),n!==i&&s.push(t[r]);return s},map:function(t,e,n){var i,r,o=[],l=0,u=t.length,c=t instanceof a||u!==s&&"number"==typeof u&&(u>0&&t[0]&&t[u-1]||0===u||a.isArray(t));if(c)for(;u>l;l++)i=e(t[l],l,n),null!=i&&(o[o.length]=i);else for(r in t)i=e(t[r],r,n),null!=i&&(o[o.length]=i);return o.concat.apply([],o)},guid:1,proxy:function(t,e){var n,i,r;return"string"==typeof e&&(n=t[e],e=t,t=n),a.isFunction(t)?(i=A.call(arguments,2),r=function(){return t.apply(e,i.concat(A.call(arguments)))},r.guid=t.guid=t.guid||r.guid||a.guid++,r):s},access:function(t,e,n,i,r,o,l){var u,c=null==n,h=0,f=t.length;if(n&&"object"==typeof n){for(h in n)a.access(t,e,h,n[h],1,o,i);r=1}else if(i!==s){if(u=l===s&&a.isFunction(i),c&&(u?(u=e,e=function(t,e,n){return u.call(a(t),n)}):(e.call(t,i),e=null)),e)for(;f>h;h++)e(t[h],n,u?i.call(t[h],h,e(t[h],n)):i,l);r=1}return r?t:c?e.call(t):f?e(t[0],n):o},now:function(){return(new Date).getTime()},uaMatch:function(t){t=t.toLowerCase();var e=b.exec(t)||_.exec(t)||w.exec(t)||t.indexOf("compatible")<0&&x.exec(t)||[];return{browser:e[1]||"",version:e[2]||"0"}},sub:function(){function t(e,n){return new t.fn.init(e,n)}a.extend(!0,t,this),t.superclass=this,t.fn=t.prototype=this(),t.fn.constructor=t,t.sub=this.sub,t.fn.init=function(n,i){return i&&i instanceof a&&!(i instanceof t)&&(i=t(i)),a.fn.init.call(this,n,i,e)},t.fn.init.prototype=t.fn;var e=t(Se);return t},browser:{}}),a.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(t,e){O["[object "+e+"]"]=e.toLowerCase()}),n=a.uaMatch(T),n.browser&&(a.browser[n.browser]=!0,a.browser.version=n.version),a.browser.webkit&&(a.browser.safari=!0),h.test(" ")&&(f=/^[\s\xA0]+/,d=/[\s\xA0]+$/),e=a(Se),Se.addEventListener?r=function(){Se.removeEventListener("DOMContentLoaded",r,!1),a.ready()}:Se.attachEvent&&(r=function(){"complete"===Se.readyState&&(Se.detachEvent("onreadystatechange",r),a.ready())}),a}(),Me={};De.Callbacks=function(t){t=t?Me[t]||a(t):{};var e,n,i,r,o,l,u=[],c=[],h=function(e){var n,i,r,o;for(n=0,i=e.length;i>n;n++)r=e[n],o=De.type(r),"array"===o?h(r):"function"===o&&(t.unique&&d.has(r)||u.push(r))},f=function(s,a){for(a=a||[],e=!t.memory||[s,a],n=!0,i=!0,l=r||0,r=0,o=u.length;u&&o>l;l++)if(u[l].apply(s,a)===!1&&t.stopOnFalse){e=!0;break}i=!1,u&&(t.once?e===!0?d.disable():u=[]:c&&c.length&&(e=c.shift(),d.fireWith(e[0],e[1])))},d={add:function(){if(u){var t=u.length;h(arguments),i?o=u.length:e&&e!==!0&&(r=t,f(e[0],e[1]))}return this},remove:function(){var e,n,r,s;if(u)for(e=arguments,n=0,r=e.length;r>n;n++)for(s=0;s<u.length&&(e[n]!==u[s]||(i&&o>=s&&(o--,l>=s&&l--),u.splice(s--,1),!t.unique));s++);return this},has:function(t){if(u)for(var e=0,n=u.length;n>e;e++)if(t===u[e])return!0;return!1},empty:function(){return u=[],this},disable:function(){return u=c=e=s,this},disabled:function(){return!u},lock:function(){return c=s,e&&e!==!0||d.disable(),this},locked:function(){return!c},fireWith:function(n,r){return c&&(i?t.once||c.push([n,r]):t.once&&e||f(n,r)),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!n}};return d},z=[].slice,De.extend({Deferred:function(t){var e,n=De.Callbacks("once memory"),i=De.Callbacks("once memory"),r=De.Callbacks("memory"),o="pending",s={resolve:n,reject:i,notify:r},a={done:n.add,fail:i.add,progress:r.add,state:function(){return o},isResolved:n.fired,isRejected:i.fired,then:function(t,e,n){return l.done(t).fail(e).progress(n),this},always:function(){return l.done.apply(l,arguments).fail.apply(l,arguments),this},pipe:function(t,e,n){return De.Deferred(function(i){De.each({done:[t,"resolve"],fail:[e,"reject"],progress:[n,"notify"]},function(t,e){var n,r=e[0],o=e[1];De.isFunction(r)?l[t](function(){n=r.apply(this,arguments),n&&De.isFunction(n.promise)?n.promise().then(i.resolve,i.reject,i.notify):i[o+"With"](this===l?i:this,[n])}):l[t](i[o])})}).promise()},promise:function(t){if(null==t)t=a;else for(var e in a)t[e]=a[e];return t}},l=a.promise({});for(e in s)l[e]=s[e].fire,l[e+"With"]=s[e].fireWith;return l.done(function(){o="resolved"},i.disable,r.lock).fail(function(){o="rejected"},n.disable,r.lock),t&&t.call(l,l),l},when:function(t){function e(t){return function(e){i[t]=arguments.length>1?z.call(arguments,0):e,--a||l.resolveWith(l,i)}}function n(t){return function(e){s[t]=arguments.length>1?z.call(arguments,0):e,l.notifyWith(u,s)}}var i=z.call(arguments,0),r=0,o=i.length,s=Array(o),a=o,l=1>=o&&t&&De.isFunction(t.promise)?t:De.Deferred(),u=l.promise();if(o>1){for(;o>r;r++)i[r]&&i[r].promise&&De.isFunction(i[r].promise)?i[r].promise().then(e(r),l.reject,n(r)):--a;a||l.resolveWith(l,i)}else l!==t&&l.resolveWith(l,o?[t]:[]);return u}}),De.support=function(){var t,e,n,i,r,a,l,u,c,h,f,d=Se.createElement("div");Se.documentElement;if(d.setAttribute("className","t"),d.innerHTML=" <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>",e=d.getElementsByTagName("*"),n=d.getElementsByTagName("a")[0],!e||!e.length||!n)return{};i=Se.createElement("select"),r=i.appendChild(Se.createElement("option")),a=d.getElementsByTagName("input")[0],t={leadingWhitespace:3===d.firstChild.nodeType,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/top/.test(n.getAttribute("style")),hrefNormalized:"/a"===n.getAttribute("href"),opacity:/^0.55/.test(n.style.opacity),cssFloat:!!n.style.cssFloat,checkOn:"on"===a.value,optSelected:r.selected,getSetAttribute:"t"!==d.className,enctype:!!Se.createElement("form").enctype,html5Clone:"<:nav></:nav>"!==Se.createElement("nav").cloneNode(!0).outerHTML,submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,pixelMargin:!0},De.boxModel=t.boxModel="CSS1Compat"===Se.compatMode,a.checked=!0,t.noCloneChecked=a.cloneNode(!0).checked,i.disabled=!0,t.optDisabled=!r.disabled;try{delete d.test}catch(p){t.deleteExpando=!1}if(!d.addEventListener&&d.attachEvent&&d.fireEvent&&(d.attachEvent("onclick",function(){t.noCloneEvent=!1}),d.cloneNode(!0).fireEvent("onclick")),a=Se.createElement("input"),a.value="t",a.setAttribute("type","radio"),t.radioValue="t"===a.value,a.setAttribute("checked","checked"),a.setAttribute("name","t"),d.appendChild(a),l=Se.createDocumentFragment(),l.appendChild(d.lastChild),t.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,t.appendChecked=a.checked,l.removeChild(a),l.appendChild(d),d.attachEvent)for(h in{submit:1,change:1,focusin:1})c="on"+h,f=c in d,f||(d.setAttribute(c,"return;"),f="function"==typeof d[c]),t[h+"Bubbles"]=f;return l.removeChild(d),l=i=r=d=a=null,De(function(){var e,n,i,r,a,l,c,h,p,g,m,v,y=Se.getElementsByTagName("body")[0];y&&(c=1,v="padding:0;margin:0;border:",g="position:absolute;top:0;left:0;width:1px;height:1px;",m=v+"0;visibility:hidden;",h="style='"+g+v+"5px solid #000;",p="<div "+h+"display:block;'><div style='"+v+"0;display:block;overflow:hidden;'></div></div><table "+h+"' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>",e=Se.createElement("div"),e.style.cssText=m+"width:0;height:0;position:static;top:0;margin-top:"+c+"px",y.insertBefore(e,y.firstChild),d=Se.createElement("div"),e.appendChild(d),d.innerHTML="<table><tr><td style='"+v+"0;display:none'></td><td>t</td></tr></table>",u=d.getElementsByTagName("td"),f=0===u[0].offsetHeight,u[0].style.display="",u[1].style.display="none",t.reliableHiddenOffsets=f&&0===u[0].offsetHeight,o.getComputedStyle&&(d.innerHTML="",l=Se.createElement("div"),l.style.width="0",l.style.marginRight="0",d.style.width="2px",d.appendChild(l),t.reliableMarginRight=0===(parseInt((o.getComputedStyle(l,null)||{marginRight:0}).marginRight,10)||0)),s!==d.style.zoom&&(d.innerHTML="",d.style.width=d.style.padding="1px",d.style.border=0,d.style.overflow="hidden",d.style.display="inline",d.style.zoom=1,t.inlineBlockNeedsLayout=3===d.offsetWidth,d.style.display="block",d.style.overflow="visible",d.innerHTML="<div style='width:5px;'></div>",t.shrinkWrapBlocks=3!==d.offsetWidth),d.style.cssText=g+m,d.innerHTML=p,n=d.firstChild,i=n.firstChild,r=n.nextSibling.firstChild.firstChild,a={doesNotAddBorder:5!==i.offsetTop,doesAddBorderForTableAndCells:5===r.offsetTop},i.style.position="fixed",i.style.top="20px",a.fixedPosition=20===i.offsetTop||15===i.offsetTop,i.style.position=i.style.top="",n.style.overflow="hidden",n.style.position="relative",a.subtractsBorderForOverflowNotVisible=-5===i.offsetTop,a.doesNotIncludeMarginInBodyOffset=y.offsetTop!==c,o.getComputedStyle&&(d.style.marginTop="1%",t.pixelMargin="1%"!==(o.getComputedStyle(d,null)||{marginTop:0}).marginTop),s!==e.style.zoom&&(e.style.zoom=1),y.removeChild(e),l=d=e=null,De.extend(t,a))}),t}(),j=/^(?:\{.*\}|\[.*\])$/,R=/([A-Z])/g,De.extend({cache:{},uuid:0,expando:"jQuery"+(De.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(t){return t=t.nodeType?De.cache[t[De.expando]]:t[De.expando],!!t&&!u(t)},data:function(t,e,n,i){if(De.acceptData(t)){var r,o,a,l=De.expando,u="string"==typeof e,c=t.nodeType,h=c?De.cache:t,f=c?t[l]:t[l]&&l,d="events"===e;if(f&&h[f]&&(d||i||h[f].data)||!u||n!==s)return f||(c?t[l]=f=++De.uuid:f=l),h[f]||(h[f]={},c||(h[f].toJSON=De.noop)),"object"!=typeof e&&"function"!=typeof e||(i?h[f]=De.extend(h[f],e):h[f].data=De.extend(h[f].data,e)),r=o=h[f],i||(o.data||(o.data={}),o=o.data),n!==s&&(o[De.camelCase(e)]=n),d&&!o[e]?r.events:(u?(a=o[e],null==a&&(a=o[De.camelCase(e)])):a=o,a)}},removeData:function(t,e,n){if(De.acceptData(t)){var i,r,o,s=De.expando,a=t.nodeType,l=a?De.cache:t,c=a?t[s]:s;if(l[c]){if(e&&(i=n?l[c]:l[c].data)){De.isArray(e)||(e in i?e=[e]:(e=De.camelCase(e),e=e in i?[e]:e.split(" ")));for(r=0,o=e.length;o>r;r++)delete i[e[r]];if(!(n?u:De.isEmptyObject)(i))return}(n||(delete l[c].data,u(l[c])))&&(De.support.deleteExpando||!l.setInterval?delete l[c]:l[c]=null,a&&(De.support.deleteExpando?delete t[s]:t.removeAttribute?t.removeAttribute(s):t[s]=null))}}},_data:function(t,e,n){return De.data(t,e,n,!0)},acceptData:function(t){if(t.nodeName){var e=De.noData[t.nodeName.toLowerCase()];if(e)return!(e===!0||t.getAttribute("classid")!==e)}return!0}}),De.fn.extend({data:function(t,e){var n,i,r,o,a,u=this[0],c=0,h=null;if(t===s){if(this.length&&(h=De.data(u),1===u.nodeType&&!De._data(u,"parsedAttrs"))){for(r=u.attributes,a=r.length;a>c;c++)o=r[c].name,0===o.indexOf("data-")&&(o=De.camelCase(o.substring(5)),l(u,o,h[o]));De._data(u,"parsedAttrs",!0)}return h}return"object"==typeof t?this.each(function(){De.data(this,t)}):(n=t.split(".",2),n[1]=n[1]?"."+n[1]:"",i=n[1]+"!",De.access(this,function(e){return e===s?(h=this.triggerHandler("getData"+i,[n[0]]),h===s&&u&&(h=De.data(u,t),h=l(u,t,h)),h===s&&n[1]?this.data(n[0]):h):(n[1]=e,this.each(function(){var r=De(this);r.triggerHandler("setData"+i,n),De.data(this,t,e),r.triggerHandler("changeData"+i,n)}),s)},null,e,arguments.length>1,null,!1))},removeData:function(t){return this.each(function(){De.removeData(this,t)})}}),De.extend({_mark:function(t,e){t&&(e=(e||"fx")+"mark",De._data(t,e,(De._data(t,e)||0)+1))},_unmark:function(t,e,n){if(t!==!0&&(n=e,e=t,t=!1),e){n=n||"fx";var i=n+"mark",r=t?0:(De._data(e,i)||1)-1;r?De._data(e,i,r):(De.removeData(e,i,!0),c(e,n,"mark"))}},queue:function(t,e,n){var i;return t?(e=(e||"fx")+"queue",i=De._data(t,e),n&&(!i||De.isArray(n)?i=De._data(t,e,De.makeArray(n)):i.push(n)),i||[]):s},dequeue:function(t,e){e=e||"fx";var n=De.queue(t,e),i=n.shift(),r={};"inprogress"===i&&(i=n.shift()),i&&("fx"===e&&n.unshift("inprogress"),De._data(t,e+".run",r),i.call(t,function(){De.dequeue(t,e)},r)),n.length||(De.removeData(t,e+"queue "+e+".run",!0),c(t,e,"queue"))}}),De.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?De.queue(this[0],t):e===s?this:this.each(function(){var n=De.queue(this,t,e);"fx"===t&&"inprogress"!==n[0]&&De.dequeue(this,t)})},dequeue:function(t){return this.each(function(){De.dequeue(this,t)})},delay:function(t,e){return t=De.fx?De.fx.speeds[t]||t:t,e=e||"fx",this.queue(e,function(e,n){var i=setTimeout(e,t);n.stop=function(){clearTimeout(i)}})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){function n(){--l||r.resolveWith(o,[o])}"string"!=typeof t&&(e=t,t=s),t=t||"fx";for(var i,r=De.Deferred(),o=this,a=o.length,l=1,u=t+"defer",c=t+"queue",h=t+"mark";a--;)(i=De.data(o[a],u,s,!0)||(De.data(o[a],c,s,!0)||De.data(o[a],h,s,!0))&&De.data(o[a],u,De.Callbacks("once memory"),!0))&&(l++,i.add(n));return n(),r.promise(e)}}),H=/[\n\t\r]/g,Y=/\s+/,B=/\r/g,U=/^(?:button|input)$/i,W=/^(?:button|input|object|select|textarea)$/i,V=/^a(?:rea)?$/i,q=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,X=De.support.getSetAttribute,De.fn.extend({attr:function(t,e){return De.access(this,De.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){De.removeAttr(this,t)})},prop:function(t,e){return De.access(this,De.prop,t,e,arguments.length>1)},removeProp:function(t){return t=De.propFix[t]||t,this.each(function(){try{this[t]=s,delete this[t]}catch(e){}})},addClass:function(t){var e,n,i,r,o,s,a;if(De.isFunction(t))return this.each(function(e){De(this).addClass(t.call(this,e,this.className))});if(t&&"string"==typeof t)for(e=t.split(Y),n=0,i=this.length;i>n;n++)if(r=this[n],1===r.nodeType)if(r.className||1!==e.length){for(o=" "+r.className+" ",s=0,a=e.length;a>s;s++)~o.indexOf(" "+e[s]+" ")||(o+=e[s]+" ");r.className=De.trim(o)}else r.className=t;return this},removeClass:function(t){var e,n,i,r,o,a,l;if(De.isFunction(t))return this.each(function(e){De(this).removeClass(t.call(this,e,this.className))});if(t&&"string"==typeof t||t===s)for(e=(t||"").split(Y),n=0,i=this.length;i>n;n++)if(r=this[n],1===r.nodeType&&r.className)if(t){for(o=(" "+r.className+" ").replace(H," "),a=0,l=e.length;l>a;a++)o=o.replace(" "+e[a]+" "," ");r.className=De.trim(o)}else r.className="";return this},toggleClass:function(t,e){var n=typeof t,i="boolean"==typeof e;return De.isFunction(t)?this.each(function(n){De(this).toggleClass(t.call(this,n,this.className,e),e)}):this.each(function(){if("string"===n)for(var r,o=0,s=De(this),a=e,l=t.split(Y);r=l[o++];)a=i?a:!s.hasClass(r),s[a?"addClass":"removeClass"](r);else"undefined"!==n&&"boolean"!==n||(this.className&&De._data(this,"__className__",this.className),this.className=this.className||t===!1?"":De._data(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",n=0,i=this.length;i>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(H," ").indexOf(e)>-1)return!0;return!1},val:function(t){var e,n,i,r=this[0];{if(arguments.length)return i=De.isFunction(t),this.each(function(n){var r,o=De(this);1===this.nodeType&&(r=i?t.call(this,n,o.val()):t,null==r?r="":"number"==typeof r?r+="":De.isArray(r)&&(r=De.map(r,function(t){return null==t?"":t+""})),e=De.valHooks[this.type]||De.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&e.set(this,r,"value")!==s||(this.value=r))});if(r)return e=De.valHooks[r.type]||De.valHooks[r.nodeName.toLowerCase()],e&&"get"in e&&(n=e.get(r,"value"))!==s?n:(n=r.value,"string"==typeof n?n.replace(B,""):null==n?"":n)}}}),De.extend({valHooks:{option:{get:function(t){var e=t.attributes.value;return!e||e.specified?t.value:t.text}},select:{get:function(t){var e,n,i,r,o=t.selectedIndex,s=[],a=t.options,l="select-one"===t.type;if(0>o)return null;for(n=l?o:0,i=l?o+1:a.length;i>n;n++)if(r=a[n],r.selected&&(De.support.optDisabled?!r.disabled:null===r.getAttribute("disabled"))&&(!r.parentNode.disabled||!De.nodeName(r.parentNode,"optgroup"))){if(e=De(r).val(),l)return e;s.push(e)}return l&&!s.length&&a.length?De(a[o]).val():s},set:function(t,e){var n=De.makeArray(e);return De(t).find("option").each(function(){this.selected=De.inArray(De(this).val(),n)>=0}),n.length||(t.selectedIndex=-1),n}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(t,e,n,i){var r,o,a,l=t.nodeType;if(t&&3!==l&&8!==l&&2!==l)return i&&e in De.attrFn?De(t)[e](n):s===t.getAttribute?De.prop(t,e,n):(a=1!==l||!De.isXMLDoc(t),a&&(e=e.toLowerCase(),o=De.attrHooks[e]||(q.test(e)?G:$)),n!==s?null===n?(De.removeAttr(t,e),s):o&&"set"in o&&a&&(r=o.set(t,n,e))!==s?r:(t.setAttribute(e,""+n),
|
||
n):o&&"get"in o&&a&&null!==(r=o.get(t,e))?r:(r=t.getAttribute(e),null===r?s:r))},removeAttr:function(t,e){var n,i,r,o,s,a=0;if(e&&1===t.nodeType)for(i=e.toLowerCase().split(Y),o=i.length;o>a;a++)r=i[a],r&&(n=De.propFix[r]||r,s=q.test(r),s||De.attr(t,r,""),t.removeAttribute(X?r:n),s&&n in t&&(t[n]=!1))},attrHooks:{type:{set:function(t,e){if(U.test(t.nodeName)&&t.parentNode)De.error("type property can't be changed");else if(!De.support.radioValue&&"radio"===e&&De.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}},value:{get:function(t,e){return $&&De.nodeName(t,"button")?$.get(t,e):e in t?t.value:null},set:function(t,e,n){return $&&De.nodeName(t,"button")?$.set(t,e,n):(t.value=e,s)}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(t,e,n){var i,r,o,a=t.nodeType;if(t&&3!==a&&8!==a&&2!==a)return o=1!==a||!De.isXMLDoc(t),o&&(e=De.propFix[e]||e,r=De.propHooks[e]),n!==s?r&&"set"in r&&(i=r.set(t,n,e))!==s?i:t[e]=n:r&&"get"in r&&null!==(i=r.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=t.getAttributeNode("tabindex");return e&&e.specified?parseInt(e.value,10):W.test(t.nodeName)||V.test(t.nodeName)&&t.href?0:s}}}}),De.attrHooks.tabindex=De.propHooks.tabIndex,G={get:function(t,e){var n,i=De.prop(t,e);return i===!0||"boolean"!=typeof i&&(n=t.getAttributeNode(e))&&n.nodeValue!==!1?e.toLowerCase():s},set:function(t,e,n){var i;return e===!1?De.removeAttr(t,n):(i=De.propFix[n]||n,i in t&&(t[i]=!0),t.setAttribute(n,n.toLowerCase())),n}},X||(Z={name:!0,id:!0,coords:!0},$=De.valHooks.button={get:function(t,e){var n;return n=t.getAttributeNode(e),n&&(Z[e]?""!==n.nodeValue:n.specified)?n.nodeValue:s},set:function(t,e,n){var i=t.getAttributeNode(n);return i||(i=Se.createAttribute(n),t.setAttributeNode(i)),i.nodeValue=e+""}},De.attrHooks.tabindex.set=$.set,De.each(["width","height"],function(t,e){De.attrHooks[e]=De.extend(De.attrHooks[e],{set:function(t,n){return""===n?(t.setAttribute(e,"auto"),n):s}})}),De.attrHooks.contenteditable={get:$.get,set:function(t,e,n){""===e&&(e="false"),$.set(t,e,n)}}),De.support.hrefNormalized||De.each(["href","src","width","height"],function(t,e){De.attrHooks[e]=De.extend(De.attrHooks[e],{get:function(t){var n=t.getAttribute(e,2);return null===n?s:n}})}),De.support.style||(De.attrHooks.style={get:function(t){return t.style.cssText.toLowerCase()||s},set:function(t,e){return t.style.cssText=""+e}}),De.support.optSelected||(De.propHooks.selected=De.extend(De.propHooks.selected,{get:function(t){var e=t.parentNode;return e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex),null}})),De.support.enctype||(De.propFix.enctype="encoding"),De.support.checkOn||De.each(["radio","checkbox"],function(){De.valHooks[this]={get:function(t){return null===t.getAttribute("value")?"on":t.value}}}),De.each(["radio","checkbox"],function(){De.valHooks[this]=De.extend(De.valHooks[this],{set:function(t,e){return De.isArray(e)?t.checked=De.inArray(De(t).val(),e)>=0:s}})}),K=/^(?:textarea|input|select)$/i,Q=/^([^\.]*)?(?:\.(.+))?$/,J=/(?:^|\s)hover(\.\S+)?\b/,tt=/^key/,et=/^(?:mouse|contextmenu)|click/,nt=/^(?:focusinfocus|focusoutblur)$/,it=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,rt=function(t){var e=it.exec(t);return e&&(e[1]=(e[1]||"").toLowerCase(),e[3]=e[3]&&RegExp("(?:^|\\s)"+e[3]+"(?:\\s|$)")),e},ot=function(t,e){var n=t.attributes||{};return(!e[1]||t.nodeName.toLowerCase()===e[1])&&(!e[2]||(n.id||{}).value===e[2])&&(!e[3]||e[3].test((n["class"]||{}).value))},st=function(t){return De.event.special.hover?t:t.replace(J,"mouseenter$1 mouseleave$1")},De.event={add:function(t,e,n,i,r){var o,a,l,u,c,h,f,d,p,g,m;if(3!==t.nodeType&&8!==t.nodeType&&e&&n&&(o=De._data(t))){for(n.handler&&(p=n,n=p.handler,r=p.selector),n.guid||(n.guid=De.guid++),l=o.events,l||(o.events=l={}),a=o.handle,a||(o.handle=a=function(t){return s===De||t&&De.event.triggered===t.type?s:De.event.dispatch.apply(a.elem,arguments)},a.elem=t),e=De.trim(st(e)).split(" "),u=0;u<e.length;u++)c=Q.exec(e[u])||[],h=c[1],f=(c[2]||"").split(".").sort(),m=De.event.special[h]||{},h=(r?m.delegateType:m.bindType)||h,m=De.event.special[h]||{},d=De.extend({type:h,origType:c[1],data:i,handler:n,guid:n.guid,selector:r,quick:r&&rt(r),namespace:f.join(".")},p),g=l[h],g||(g=l[h]=[],g.delegateCount=0,m.setup&&m.setup.call(t,i,f,a)!==!1||(t.addEventListener?t.addEventListener(h,a,!1):t.attachEvent&&t.attachEvent("on"+h,a))),m.add&&(m.add.call(t,d),d.handler.guid||(d.handler.guid=n.guid)),r?g.splice(g.delegateCount++,0,d):g.push(d),De.event.global[h]=!0;t=null}},global:{},remove:function(t,e,n,i,r){var o,s,a,l,u,c,h,f,d,p,g,m,v=De.hasData(t)&&De._data(t);if(v&&(f=v.events)){for(e=De.trim(st(e||"")).split(" "),o=0;o<e.length;o++)if(s=Q.exec(e[o])||[],a=l=s[1],u=s[2],a){for(d=De.event.special[a]||{},a=(i?d.delegateType:d.bindType)||a,g=f[a]||[],c=g.length,u=u?RegExp("(^|\\.)"+u.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null,h=0;h<g.length;h++)m=g[h],!r&&l!==m.origType||n&&n.guid!==m.guid||u&&!u.test(m.namespace)||i&&i!==m.selector&&("**"!==i||!m.selector)||(g.splice(h--,1),m.selector&&g.delegateCount--,d.remove&&d.remove.call(t,m));0===g.length&&c!==g.length&&(d.teardown&&d.teardown.call(t,u)!==!1||De.removeEvent(t,a,v.handle),delete f[a])}else for(a in f)De.event.remove(t,a+e[o],n,i,!0);De.isEmptyObject(f)&&(p=v.handle,p&&(p.elem=null),De.removeData(t,["events","handle"],!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(t,e,n,i){if(!n||3!==n.nodeType&&8!==n.nodeType){var r,a,l,u,c,h,f,d,p,g,m=t.type||t,v=[];if(!nt.test(m+De.event.triggered)&&(m.indexOf("!")>=0&&(m=m.slice(0,-1),a=!0),m.indexOf(".")>=0&&(v=m.split("."),m=v.shift(),v.sort()),n&&!De.event.customEvent[m]||De.event.global[m]))if(t="object"==typeof t?t[De.expando]?t:new De.Event(m,t):new De.Event(m),t.type=m,t.isTrigger=!0,t.exclusive=a,t.namespace=v.join("."),t.namespace_re=t.namespace?RegExp("(^|\\.)"+v.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,h=m.indexOf(":")<0?"on"+m:"",n){if(t.result=s,t.target||(t.target=n),e=null!=e?De.makeArray(e):[],e.unshift(t),f=De.event.special[m]||{},!f.trigger||f.trigger.apply(n,e)!==!1){if(p=[[n,f.bindType||m]],!i&&!f.noBubble&&!De.isWindow(n)){for(g=f.delegateType||m,u=nt.test(g+m)?n:n.parentNode,c=null;u;u=u.parentNode)p.push([u,g]),c=u;c&&c===n.ownerDocument&&p.push([c.defaultView||c.parentWindow||o,g])}for(l=0;l<p.length&&!t.isPropagationStopped();l++)u=p[l][0],t.type=p[l][1],d=(De._data(u,"events")||{})[t.type]&&De._data(u,"handle"),d&&d.apply(u,e),d=h&&u[h],d&&De.acceptData(u)&&d.apply(u,e)===!1&&t.preventDefault();return t.type=m,i||t.isDefaultPrevented()||f._default&&f._default.apply(n.ownerDocument,e)!==!1||"click"===m&&De.nodeName(n,"a")||!De.acceptData(n)||h&&n[m]&&("focus"!==m&&"blur"!==m||0!==t.target.offsetWidth)&&!De.isWindow(n)&&(c=n[h],c&&(n[h]=null),De.event.triggered=m,n[m](),De.event.triggered=s,c&&(n[h]=c)),t.result}}else{r=De.cache;for(l in r)r[l].events&&r[l].events[m]&&De.event.trigger(t,e,r[l].handle.elem,!0)}}},dispatch:function(t){t=De.event.fix(t||o.event);var e,n,i,r,a,l,u,c,h,f,d=(De._data(this,"events")||{})[t.type]||[],p=d.delegateCount,g=[].slice.call(arguments,0),m=!t.exclusive&&!t.namespace,v=De.event.special[t.type]||{},y=[];if(g[0]=t,t.delegateTarget=this,!v.preDispatch||v.preDispatch.call(this,t)!==!1){if(p&&(!t.button||"click"!==t.type))for(r=De(this),r.context=this.ownerDocument||this,i=t.target;i!=this;i=i.parentNode||this)if(i.disabled!==!0){for(l={},c=[],r[0]=i,e=0;p>e;e++)h=d[e],f=h.selector,l[f]===s&&(l[f]=h.quick?ot(i,h.quick):r.is(f)),l[f]&&c.push(h);c.length&&y.push({elem:i,matches:c})}for(d.length>p&&y.push({elem:this,matches:d.slice(p)}),e=0;e<y.length&&!t.isPropagationStopped();e++)for(u=y[e],t.currentTarget=u.elem,n=0;n<u.matches.length&&!t.isImmediatePropagationStopped();n++)h=u.matches[n],(m||!t.namespace&&!h.namespace||t.namespace_re&&t.namespace_re.test(h.namespace))&&(t.data=h.data,t.handleObj=h,a=((De.event.special[h.origType]||{}).handle||h.handler).apply(u.elem,g),a!==s&&(t.result=a,a===!1&&(t.preventDefault(),t.stopPropagation())));return v.postDispatch&&v.postDispatch.call(this,t),t.result}},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var n,i,r,o=e.button,a=e.fromElement;return null==t.pageX&&null!=e.clientX&&(n=t.target.ownerDocument||Se,i=n.documentElement,r=n.body,t.pageX=e.clientX+(i&&i.scrollLeft||r&&r.scrollLeft||0)-(i&&i.clientLeft||r&&r.clientLeft||0),t.pageY=e.clientY+(i&&i.scrollTop||r&&r.scrollTop||0)-(i&&i.clientTop||r&&r.clientTop||0)),!t.relatedTarget&&a&&(t.relatedTarget=a===t.target?e.toElement:a),t.which||o===s||(t.which=1&o?1:2&o?3:4&o?2:0),t}},fix:function(t){if(t[De.expando])return t;var e,n,i=t,r=De.event.fixHooks[t.type]||{},o=r.props?this.props.concat(r.props):this.props;for(t=De.Event(i),e=o.length;e;)n=o[--e],t[n]=i[n];return t.target||(t.target=i.srcElement||Se),3===t.target.nodeType&&(t.target=t.target.parentNode),t.metaKey===s&&(t.metaKey=t.ctrlKey),r.filter?r.filter(t,i):t},special:{ready:{setup:De.bindReady},load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(t,e,n){De.isWindow(this)&&(this.onbeforeunload=n)},teardown:function(t,e){this.onbeforeunload===e&&(this.onbeforeunload=null)}}},simulate:function(t,e,n,i){var r=De.extend(new De.Event,n,{type:t,isSimulated:!0,originalEvent:{}});i?De.event.trigger(r,null,e):De.event.dispatch.call(e,r),r.isDefaultPrevented()&&n.preventDefault()}},De.event.handle=De.event.dispatch,De.removeEvent=Se.removeEventListener?function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n,!1)}:function(t,e,n){t.detachEvent&&t.detachEvent("on"+e,n)},De.Event=function(t,e){return this instanceof De.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||t.returnValue===!1||t.getPreventDefault&&t.getPreventDefault()?f:h):this.type=t,e&&De.extend(this,e),this.timeStamp=t&&t.timeStamp||De.now(),this[De.expando]=!0,s):new De.Event(t,e)},De.Event.prototype={preventDefault:function(){this.isDefaultPrevented=f;var t=this.originalEvent;t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=f;var t=this.originalEvent;t&&(t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=f,this.stopPropagation()},isDefaultPrevented:h,isPropagationStopped:h,isImmediatePropagationStopped:h},De.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(t,e){De.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=this,r=t.relatedTarget,o=t.handleObj;o.selector;return r&&(r===i||De.contains(i,r))||(t.type=o.origType,n=o.handler.apply(this,arguments),t.type=e),n}}}),De.support.submitBubbles||(De.event.special.submit={setup:function(){return De.nodeName(this,"form")?!1:(De.event.add(this,"click._submit keypress._submit",function(t){var e=t.target,n=De.nodeName(e,"input")||De.nodeName(e,"button")?e.form:s;n&&!n._submit_attached&&(De.event.add(n,"submit._submit",function(t){t._submit_bubble=!0}),n._submit_attached=!0)}),s)},postDispatch:function(t){t._submit_bubble&&(delete t._submit_bubble,this.parentNode&&!t.isTrigger&&De.event.simulate("submit",this.parentNode,t,!0))},teardown:function(){return De.nodeName(this,"form")?!1:(De.event.remove(this,"._submit"),s)}}),De.support.changeBubbles||(De.event.special.change={setup:function(){return K.test(this.nodeName)?("checkbox"!==this.type&&"radio"!==this.type||(De.event.add(this,"propertychange._change",function(t){"checked"===t.originalEvent.propertyName&&(this._just_changed=!0)}),De.event.add(this,"click._change",function(t){this._just_changed&&!t.isTrigger&&(this._just_changed=!1,De.event.simulate("change",this,t,!0))})),!1):(De.event.add(this,"beforeactivate._change",function(t){var e=t.target;K.test(e.nodeName)&&!e._change_attached&&(De.event.add(e,"change._change",function(t){!this.parentNode||t.isSimulated||t.isTrigger||De.event.simulate("change",this.parentNode,t,!0)}),e._change_attached=!0)}),s)},handle:function(t){var e=t.target;return this!==e||t.isSimulated||t.isTrigger||"radio"!==e.type&&"checkbox"!==e.type?t.handleObj.handler.apply(this,arguments):s},teardown:function(){return De.event.remove(this,"._change"),K.test(this.nodeName)}}),De.support.focusinBubbles||De.each({focus:"focusin",blur:"focusout"},function(t,e){var n=0,i=function(t){De.event.simulate(e,t.target,De.event.fix(t),!0)};De.event.special[e]={setup:function(){0===n++&&Se.addEventListener(t,i,!0)},teardown:function(){0===--n&&Se.removeEventListener(t,i,!0)}}}),De.fn.extend({on:function(t,e,n,i,r){var o,a;if("object"==typeof t){"string"!=typeof e&&(n=n||e,e=s);for(a in t)this.on(a,e,n,t[a],r);return this}if(null==n&&null==i?(i=e,n=e=s):null==i&&("string"==typeof e?(i=n,n=s):(i=n,n=e,e=s)),i===!1)i=h;else if(!i)return this;return 1===r&&(o=i,i=function(t){return De().off(t),o.apply(this,arguments)},i.guid=o.guid||(o.guid=De.guid++)),this.each(function(){De.event.add(this,t,i,n,e)})},one:function(t,e,n,i){return this.on(t,e,n,i,1)},off:function(t,e,n){var i,r;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,De(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(r in t)this.off(r,e,t[r]);return this}return e!==!1&&"function"!=typeof e||(n=e,e=s),n===!1&&(n=h),this.each(function(){De.event.remove(this,t,n,e)})},bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},live:function(t,e,n){return De(this.context).on(t,this.selector,e,n),this},die:function(t,e){return De(this.context).off(t,this.selector||"**",e),this},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1==arguments.length?this.off(t,"**"):this.off(e,t,n)},trigger:function(t,e){return this.each(function(){De.event.trigger(t,e,this)})},triggerHandler:function(t,e){return this[0]?De.event.trigger(t,e,this[0],!0):s},toggle:function(t){var e=arguments,n=t.guid||De.guid++,i=0,r=function(n){var r=(De._data(this,"lastToggle"+t.guid)||0)%i;return De._data(this,"lastToggle"+t.guid,r+1),n.preventDefault(),e[r].apply(this,arguments)||!1};for(r.guid=n;i<e.length;)e[i++].guid=n;return this.click(r)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),De.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,e){De.fn[e]=function(t,n){return null==n&&(n=t,t=null),arguments.length>0?this.on(e,null,t,n):this.trigger(e)},De.attrFn&&(De.attrFn[e]=!0),tt.test(e)&&(De.event.fixHooks[e]=De.event.keyHooks),et.test(e)&&(De.event.fixHooks[e]=De.event.mouseHooks)}),function(){function t(t,e,n,i,r,o){var s,a,l,u;for(s=0,a=i.length;a>s;s++)if(l=i[s]){for(u=!1,l=l[t];l;){if(l[p]===n){u=i[l.sizset];break}if(1!==l.nodeType||o||(l[p]=n,l.sizset=s),l.nodeName.toLowerCase()===e){u=l;break}l=l[t]}i[s]=u}}function e(t,e,i,r,o,s){var a,l,u,c;for(a=0,l=r.length;l>a;a++)if(u=r[a]){for(c=!1,u=u[t];u;){if(u[p]===i){c=r[u.sizset];break}if(1===u.nodeType)if(s||(u[p]=i,u.sizset=a),"string"!=typeof e){if(u===e){c=!0;break}}else if(n.filter(e,[u]).length>0){c=u;break}u=u[t]}r[a]=c}}var n,i,r,o,a,l,u,c,h,f,d=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,p="sizcache"+(Math.random()+"").replace(".",""),g=0,m=Object.prototype.toString,v=!1,y=!0,b=/\\/g,_=/\r\n/g,w=/\W/;[0,0].sort(function(){return y=!1,0}),n=function(t,e,i,s){var a,l,c,h,p,g,v,y,b,_,w,x,k;if(i=i||[],e=e||Se,a=e,1!==e.nodeType&&9!==e.nodeType)return[];if(!t||"string"!=typeof t)return i;_=!0,w=n.isXML(e),x=[],k=t;do if(d.exec(""),l=d.exec(k),l&&(k=l[3],x.push(l[1]),l[2])){p=l[3];break}while(l);if(x.length>1&&o.exec(t))if(2===x.length&&r.relative[x[0]])c=f(x[0]+x[1],e,s);else for(c=r.relative[x[0]]?[e]:n(x.shift(),e);x.length;)t=x.shift(),r.relative[t]&&(t+=x.shift()),c=f(t,c,s);else if(!s&&x.length>1&&9===e.nodeType&&!w&&r.match.ID.test(x[0])&&!r.match.ID.test(x[x.length-1])&&(g=n.find(x.shift(),e,w),e=g.expr?n.filter(g.expr,g.set)[0]:g.set[0]),e)for(g=s?{expr:x.pop(),set:u(s)}:n.find(x.pop(),1!==x.length||"~"!==x[0]&&"+"!==x[0]||!e.parentNode?e:e.parentNode,w),c=g.expr?n.filter(g.expr,g.set):g.set,x.length>0?h=u(c):_=!1;x.length;)v=x.pop(),y=v,r.relative[v]?y=x.pop():v="",null==y&&(y=e),r.relative[v](h,y,w);else h=x=[];if(h||(h=c),h||n.error(v||t),"[object Array]"===m.call(h))if(_)if(e&&1===e.nodeType)for(b=0;null!=h[b];b++)h[b]&&(h[b]===!0||1===h[b].nodeType&&n.contains(e,h[b]))&&i.push(c[b]);else for(b=0;null!=h[b];b++)h[b]&&1===h[b].nodeType&&i.push(c[b]);else i.push.apply(i,h);else u(h,i);return p&&(n(p,a,i,s),n.uniqueSort(i)),i},n.uniqueSort=function(t){if(c&&(v=y,t.sort(c),v))for(var e=1;e<t.length;e++)t[e]===t[e-1]&&t.splice(e--,1);return t},n.matches=function(t,e){return n(t,null,null,e)},n.matchesSelector=function(t,e){return n(e,null,null,[t]).length>0},n.find=function(t,e,n){var i,o,a,l,u,c;if(!t)return[];for(o=0,a=r.order.length;a>o;o++)if(u=r.order[o],(l=r.leftMatch[u].exec(t))&&(c=l[1],l.splice(1,1),"\\"!==c.substr(c.length-1)&&(l[1]=(l[1]||"").replace(b,""),i=r.find[u](l,e,n),null!=i))){t=t.replace(r.match[u],"");break}return i||(i=s!==e.getElementsByTagName?e.getElementsByTagName("*"):[]),{set:i,expr:t}},n.filter=function(t,e,i,o){for(var a,l,u,c,h,f,d,p,g,m=t,v=[],y=e,b=e&&e[0]&&n.isXML(e[0]);t&&e.length;){for(u in r.filter)if(null!=(a=r.leftMatch[u].exec(t))&&a[2]){if(f=r.filter[u],d=a[1],l=!1,a.splice(1,1),"\\"===d.substr(d.length-1))continue;if(y===v&&(v=[]),r.preFilter[u])if(a=r.preFilter[u](a,y,i,v,o,b)){if(a===!0)continue}else l=c=!0;if(a)for(p=0;null!=(h=y[p]);p++)h&&(c=f(h,a,p,y),g=o^c,i&&null!=c?g?l=!0:y[p]=!1:g&&(v.push(h),l=!0));if(c!==s){if(i||(y=v),t=t.replace(r.match[u],""),!l)return[];break}}if(t===m){if(null!=l)break;n.error(t)}m=t}return y},n.error=function(t){throw Error("Syntax error, unrecognized expression: "+t)},i=n.getText=function(t){var e,n,r=t.nodeType,o="";if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;if("string"==typeof t.innerText)return t.innerText.replace(_,"");for(t=t.firstChild;t;t=t.nextSibling)o+=i(t)}else if(3===r||4===r)return t.nodeValue}else for(e=0;n=t[e];e++)8!==n.nodeType&&(o+=i(n));return o},r=n.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(t){return t.getAttribute("href")},type:function(t){return t.getAttribute("type")}},relative:{"+":function(t,e){var i,r,o,s="string"==typeof e,a=s&&!w.test(e),l=s&&!a;for(a&&(e=e.toLowerCase()),i=0,r=t.length;r>i;i++)if(o=t[i]){for(;(o=o.previousSibling)&&1!==o.nodeType;);t[i]=l||o&&o.nodeName.toLowerCase()===e?o||!1:o===e}l&&n.filter(e,t,!0)},">":function(t,e){var i,r,o="string"==typeof e,s=0,a=t.length;if(o&&!w.test(e))for(e=e.toLowerCase();a>s;s++)i=t[s],i&&(r=i.parentNode,t[s]=r.nodeName.toLowerCase()===e?r:!1);else{for(;a>s;s++)i=t[s],i&&(t[s]=o?i.parentNode:i.parentNode===e);o&&n.filter(e,t,!0)}},"":function(n,i,r){var o,s=g++,a=e;"string"!=typeof i||w.test(i)||(i=i.toLowerCase(),o=i,a=t),a("parentNode",i,s,n,o,r)},"~":function(n,i,r){var o,s=g++,a=e;"string"!=typeof i||w.test(i)||(i=i.toLowerCase(),o=i,a=t),a("previousSibling",i,s,n,o,r)}},find:{ID:function(t,e,n){if(s!==e.getElementById&&!n){var i=e.getElementById(t[1]);return i&&i.parentNode?[i]:[]}},NAME:function(t,e){var n,i,r,o;if(s!==e.getElementsByName){for(n=[],i=e.getElementsByName(t[1]),r=0,o=i.length;o>r;r++)i[r].getAttribute("name")===t[1]&&n.push(i[r]);return 0===n.length?null:n}},TAG:function(t,e){return s!==e.getElementsByTagName?e.getElementsByTagName(t[1]):s}},preFilter:{CLASS:function(t,e,n,i,r,o){if(t=" "+t[1].replace(b,"")+" ",o)return t;for(var s,a=0;null!=(s=e[a]);a++)s&&(r^(s.className&&(" "+s.className+" ").replace(/[\t\n\r]/g," ").indexOf(t)>=0)?n||i.push(s):n&&(e[a]=!1));return!1},ID:function(t){return t[1].replace(b,"")},TAG:function(t,e){return t[1].replace(b,"").toLowerCase()},CHILD:function(t){if("nth"===t[1]){t[2]||n.error(t[0]),t[2]=t[2].replace(/^\+|\s*/g,"");var e=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec("even"===t[2]&&"2n"||"odd"===t[2]&&"2n+1"||!/\D/.test(t[2])&&"0n+"+t[2]||t[2]);t[2]=e[1]+(e[2]||1)-0,t[3]=e[3]-0}else t[2]&&n.error(t[0]);return t[0]=g++,t},ATTR:function(t,e,n,i,o,s){var a=t[1]=t[1].replace(b,"");return!s&&r.attrMap[a]&&(t[1]=r.attrMap[a]),t[4]=(t[4]||t[5]||"").replace(b,""),"~="===t[2]&&(t[4]=" "+t[4]+" "),t},PSEUDO:function(t,e,i,o,s){if("not"===t[1]){if(!((d.exec(t[3])||"").length>1||/^\w/.test(t[3]))){var a=n.filter(t[3],e,i,!0^s);return i||o.push.apply(o,a),!1}t[3]=n(t[3],null,null,e)}else if(r.match.POS.test(t[0])||r.match.CHILD.test(t[0]))return!0;return t},POS:function(t){return t.unshift(!0),t}},filters:{enabled:function(t){return t.disabled===!1&&"hidden"!==t.type},disabled:function(t){return t.disabled===!0},checked:function(t){return t.checked===!0},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},parent:function(t){return!!t.firstChild},empty:function(t){return!t.firstChild},has:function(t,e,i){return!!n(i[3],t).length},header:function(t){return/h\d/i.test(t.nodeName)},text:function(t){var e=t.getAttribute("type"),n=t.type;return"input"===t.nodeName.toLowerCase()&&"text"===n&&(e===n||null===e)},radio:function(t){return"input"===t.nodeName.toLowerCase()&&"radio"===t.type},checkbox:function(t){return"input"===t.nodeName.toLowerCase()&&"checkbox"===t.type},file:function(t){return"input"===t.nodeName.toLowerCase()&&"file"===t.type},password:function(t){return"input"===t.nodeName.toLowerCase()&&"password"===t.type},submit:function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&"submit"===t.type},image:function(t){return"input"===t.nodeName.toLowerCase()&&"image"===t.type},reset:function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&"reset"===t.type},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},input:function(t){return/input|select|textarea|button/i.test(t.nodeName)},focus:function(t){return t===t.ownerDocument.activeElement}},setFilters:{first:function(t,e){return 0===e},last:function(t,e,n,i){return e===i.length-1},even:function(t,e){return e%2===0},odd:function(t,e){return e%2===1},lt:function(t,e,n){return e<n[3]-0},gt:function(t,e,n){return e>n[3]-0},nth:function(t,e,n){return n[3]-0===e},eq:function(t,e,n){return n[3]-0===e}},filter:{PSEUDO:function(t,e,o,s){var a,l,u,c=e[1],h=r.filters[c];if(h)return h(t,o,e,s);if("contains"===c)return(t.textContent||t.innerText||i([t])||"").indexOf(e[3])>=0;if("not"===c){for(a=e[3],l=0,u=a.length;u>l;l++)if(a[l]===t)return!1;return!0}n.error(c)},CHILD:function(t,e){var n,i,r,o,s,a,l=e[1],u=t;switch(l){case"only":case"first":for(;u=u.previousSibling;)if(1===u.nodeType)return!1;if("first"===l)return!0;u=t;case"last":for(;u=u.nextSibling;)if(1===u.nodeType)return!1;return!0;case"nth":if(n=e[2],i=e[3],1===n&&0===i)return!0;if(r=e[0],o=t.parentNode,o&&(o[p]!==r||!t.nodeIndex)){for(s=0,u=o.firstChild;u;u=u.nextSibling)1===u.nodeType&&(u.nodeIndex=++s);o[p]=r}return a=t.nodeIndex-i,0===n?0===a:a%n===0&&a/n>=0}},ID:function(t,e){return 1===t.nodeType&&t.getAttribute("id")===e},TAG:function(t,e){return"*"===e&&1===t.nodeType||!!t.nodeName&&t.nodeName.toLowerCase()===e},CLASS:function(t,e){return(" "+(t.className||t.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(t,e){var i=e[1],o=n.attr?n.attr(t,i):r.attrHandle[i]?r.attrHandle[i](t):null!=t[i]?t[i]:t.getAttribute(i),s=o+"",a=e[2],l=e[4];return null==o?"!="===a:!a&&n.attr?null!=o:"="===a?s===l:"*="===a?s.indexOf(l)>=0:"~="===a?(" "+s+" ").indexOf(l)>=0:l?"!="===a?s!==l:"^="===a?0===s.indexOf(l):"$="===a?s.substr(s.length-l.length)===l:"|="===a?s===l||s.substr(0,l.length+1)===l+"-":!1:s&&o!==!1},POS:function(t,e,n,i){var o=e[2],a=r.setFilters[o];return a?a(t,n,e,i):s}}},o=r.match.POS,a=function(t,e){return"\\"+(e-0+1)};for(l in r.match)r.match[l]=RegExp(r.match[l].source+/(?![^\[]*\])(?![^\(]*\))/.source),r.leftMatch[l]=RegExp(/(^(?:.|\r|\n)*?)/.source+r.match[l].source.replace(/\\(\d+)/g,a));r.match.globalPOS=o,u=function(t,e){return t=Array.prototype.slice.call(t,0),e?(e.push.apply(e,t),e):t};try{Array.prototype.slice.call(Se.documentElement.childNodes,0)[0].nodeType}catch(x){u=function(t,e){var n,i=0,r=e||[];if("[object Array]"===m.call(t))Array.prototype.push.apply(r,t);else if("number"==typeof t.length)for(n=t.length;n>i;i++)r.push(t[i]);else for(;t[i];i++)r.push(t[i]);return r}}Se.documentElement.compareDocumentPosition?c=function(t,e){return t===e?(v=!0,0):t.compareDocumentPosition&&e.compareDocumentPosition?4&t.compareDocumentPosition(e)?-1:1:t.compareDocumentPosition?-1:1}:(c=function(t,e){var n,i,r,o,s,a,l,u;if(t===e)return v=!0,0;if(t.sourceIndex&&e.sourceIndex)return t.sourceIndex-e.sourceIndex;if(r=[],o=[],s=t.parentNode,a=e.parentNode,l=s,s===a)return h(t,e);if(!s)return-1;if(!a)return 1;for(;l;)r.unshift(l),l=l.parentNode;for(l=a;l;)o.unshift(l),l=l.parentNode;for(n=r.length,i=o.length,u=0;n>u&&i>u;u++)if(r[u]!==o[u])return h(r[u],o[u]);return u===n?h(t,o[u],-1):h(r[u],e,1)},h=function(t,e,n){if(t===e)return n;for(var i=t.nextSibling;i;){if(i===e)return-1;i=i.nextSibling}return 1}),function(){var t=Se.createElement("div"),e="script"+(new Date).getTime(),n=Se.documentElement;t.innerHTML="<a name='"+e+"'/>",n.insertBefore(t,n.firstChild),Se.getElementById(e)&&(r.find.ID=function(t,e,n){if(s!==e.getElementById&&!n){var i=e.getElementById(t[1]);return i?i.id===t[1]||s!==i.getAttributeNode&&i.getAttributeNode("id").nodeValue===t[1]?[i]:s:[]}},r.filter.ID=function(t,e){var n=s!==t.getAttributeNode&&t.getAttributeNode("id");return 1===t.nodeType&&n&&n.nodeValue===e}),n.removeChild(t),n=t=null}(),function(){var t=Se.createElement("div");t.appendChild(Se.createComment("")),t.getElementsByTagName("*").length>0&&(r.find.TAG=function(t,e){var n,i,r=e.getElementsByTagName(t[1]);if("*"===t[1]){for(n=[],i=0;r[i];i++)1===r[i].nodeType&&n.push(r[i]);r=n}return r}),t.innerHTML="<a href='#'></a>",t.firstChild&&s!==t.firstChild.getAttribute&&"#"!==t.firstChild.getAttribute("href")&&(r.attrHandle.href=function(t){return t.getAttribute("href",2)}),t=null}(),Se.querySelectorAll&&!function(){var t,e=n,i=Se.createElement("div"),o="__sizzle__";if(i.innerHTML="<p class='TEST'></p>",!i.querySelectorAll||0!==i.querySelectorAll(".TEST").length){n=function(t,i,s,a){var l,c,h,f,d,p,g;if(i=i||Se,!a&&!n.isXML(i)){if(l=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(t),l&&(1===i.nodeType||9===i.nodeType)){if(l[1])return u(i.getElementsByTagName(t),s);if(l[2]&&r.find.CLASS&&i.getElementsByClassName)return u(i.getElementsByClassName(l[2]),s)}if(9===i.nodeType){if("body"===t&&i.body)return u([i.body],s);if(l&&l[3]){if(c=i.getElementById(l[3]),!c||!c.parentNode)return u([],s);if(c.id===l[3])return u([c],s)}try{return u(i.querySelectorAll(t),s)}catch(m){}}else if(1===i.nodeType&&"object"!==i.nodeName.toLowerCase()){h=i,f=i.getAttribute("id"),d=f||o,p=i.parentNode,g=/^\s*[+~]/.test(t),f?d=d.replace(/'/g,"\\$&"):i.setAttribute("id",d),g&&p&&(i=i.parentNode);try{if(!g||p)return u(i.querySelectorAll("[id='"+d+"'] "+t),s)}catch(v){}finally{f||h.removeAttribute("id")}}}return e(t,i,s,a)};for(t in e)n[t]=e[t];i=null}}(),function(){var t,e,i=Se.documentElement,o=i.matchesSelector||i.mozMatchesSelector||i.webkitMatchesSelector||i.msMatchesSelector;if(o){t=!o.call(Se.createElement("div"),"div"),e=!1;try{o.call(Se.documentElement,"[test!='']:sizzle")}catch(s){e=!0}n.matchesSelector=function(i,s){if(s=s.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']"),!n.isXML(i))try{if(e||!r.match.PSEUDO.test(s)&&!/!=/.test(s)){var a=o.call(i,s);if(a||!t||i.document&&11!==i.document.nodeType)return a}}catch(l){}return n(s,null,null,[i]).length>0}}}(),function(){var t=Se.createElement("div");t.innerHTML="<div class='test e'></div><div class='test'></div>",t.getElementsByClassName&&0!==t.getElementsByClassName("e").length&&(t.lastChild.className="e",1!==t.getElementsByClassName("e").length&&(r.order.splice(1,0,"CLASS"),r.find.CLASS=function(t,e,n){return s===e.getElementsByClassName||n?s:e.getElementsByClassName(t[1])},t=null))}(),Se.documentElement.contains?n.contains=function(t,e){return t!==e&&(t.contains?t.contains(e):!0)}:Se.documentElement.compareDocumentPosition?n.contains=function(t,e){return!!(16&t.compareDocumentPosition(e))}:n.contains=function(){return!1},n.isXML=function(t){var e=(t?t.ownerDocument||t:0).documentElement;return e?"HTML"!==e.nodeName:!1},f=function(t,e,i){for(var o,s,a,l=[],u="",c=e.nodeType?[e]:e;o=r.match.PSEUDO.exec(t);)u+=o[0],t=t.replace(r.match.PSEUDO,"");for(t=r.relative[t]?t+"*":t,s=0,a=c.length;a>s;s++)n(t,c[s],l,i);return n.filter(u,l)},n.attr=De.attr,n.selectors.attrMap={},De.find=n,De.expr=n.selectors,De.expr[":"]=De.expr.filters,De.unique=n.uniqueSort,De.text=n.getText,De.isXMLDoc=n.isXML,De.contains=n.contains}(),at=/Until$/,lt=/^(?:parents|prevUntil|prevAll)/,ut=/,/,ct=/^.[^:#\[\.,]*$/,ht=Array.prototype.slice,ft=De.expr.match.globalPOS,dt={children:!0,contents:!0,next:!0,prev:!0},De.fn.extend({find:function(t){var e,n,i,r,o,s,a=this;if("string"!=typeof t)return De(t).filter(function(){for(e=0,n=a.length;n>e;e++)if(De.contains(a[e],this))return!0});for(i=this.pushStack("","find",t),e=0,n=this.length;n>e;e++)if(r=i.length,De.find(t,this[e],i),e>0)for(o=r;o<i.length;o++)for(s=0;r>s;s++)if(i[s]===i[o]){i.splice(o--,1);break}return i},has:function(t){var e=De(t);return this.filter(function(){for(var t=0,n=e.length;n>t;t++)if(De.contains(this,e[t]))return!0})},not:function(t){return this.pushStack(p(this,t,!1),"not",t)},filter:function(t){return this.pushStack(p(this,t,!0),"filter",t)},is:function(t){return!!t&&("string"==typeof t?ft.test(t)?De(t,this.context).index(this[0])>=0:De.filter(t,this).length>0:this.filter(t).length>0)},closest:function(t,e){var n,i,r,o,s=[],a=this[0];if(De.isArray(t)){for(r=1;a&&a.ownerDocument&&a!==e;){for(n=0;n<t.length;n++)De(a).is(t[n])&&s.push({selector:t[n],elem:a,level:r});a=a.parentNode,r++}return s}for(o=ft.test(t)||"string"!=typeof t?De(t,e||this.context):0,n=0,i=this.length;i>n;n++)for(a=this[n];a;){if(o?o.index(a)>-1:De.find.matchesSelector(a,t)){s.push(a);break}if(a=a.parentNode,!a||!a.ownerDocument||a===e||11===a.nodeType)break}return s=s.length>1?De.unique(s):s,this.pushStack(s,"closest",t)},index:function(t){return t?"string"==typeof t?De.inArray(this[0],De(t)):De.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(t,e){var n="string"==typeof t?De(t,e):De.makeArray(t&&t.nodeType?[t]:t),i=De.merge(this.get(),n);
|
||
return this.pushStack(d(n[0])||d(i[0])?i:De.unique(i))},andSelf:function(){return this.add(this.prevObject)}}),De.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return De.dir(t,"parentNode")},parentsUntil:function(t,e,n){return De.dir(t,"parentNode",n)},next:function(t){return De.nth(t,2,"nextSibling")},prev:function(t){return De.nth(t,2,"previousSibling")},nextAll:function(t){return De.dir(t,"nextSibling")},prevAll:function(t){return De.dir(t,"previousSibling")},nextUntil:function(t,e,n){return De.dir(t,"nextSibling",n)},prevUntil:function(t,e,n){return De.dir(t,"previousSibling",n)},siblings:function(t){return De.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return De.sibling(t.firstChild)},contents:function(t){return De.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:De.makeArray(t.childNodes)}},function(t,e){De.fn[t]=function(n,i){var r=De.map(this,e,n);return at.test(t)||(i=n),i&&"string"==typeof i&&(r=De.filter(i,r)),r=this.length>1&&!dt[t]?De.unique(r):r,(this.length>1||ut.test(i))&<.test(t)&&(r=r.reverse()),this.pushStack(r,t,ht.call(arguments).join(","))}}),De.extend({filter:function(t,e,n){return n&&(t=":not("+t+")"),1===e.length?De.find.matchesSelector(e[0],t)?[e[0]]:[]:De.find.matches(t,e)},dir:function(t,e,n){for(var i=[],r=t[e];r&&9!==r.nodeType&&(n===s||1!==r.nodeType||!De(r).is(n));)1===r.nodeType&&i.push(r),r=r[e];return i},nth:function(t,e,n,i){e=e||1;for(var r=0;t&&(1!==t.nodeType||++r!==e);t=t[n]);return t},sibling:function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n}}),pt="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",gt=/ jQuery\d+="(?:\d+|null)"/g,mt=/^\s+/,vt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,yt=/<([\w:]+)/,bt=/<tbody/i,_t=/<|&#?\w+;/,wt=/<(?:script|style)/i,xt=/<(?:script|object|embed|option|style)/i,kt=RegExp("<(?:"+pt+")[\\s/>]","i"),St=/checked\s*(?:[^=]|=\s*.checked.)/i,Ct=/\/(java|ecma)script/i,Tt=/^\s*<!(?:\[CDATA\[|\-\-)/,Dt={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},Mt=g(Se),Dt.optgroup=Dt.option,Dt.tbody=Dt.tfoot=Dt.colgroup=Dt.caption=Dt.thead,Dt.th=Dt.td,De.support.htmlSerialize||(Dt._default=[1,"div<div>","</div>"]),De.fn.extend({text:function(t){return De.access(this,function(t){return t===s?De.text(this):this.empty().append((this[0]&&this[0].ownerDocument||Se).createTextNode(t))},null,t,arguments.length)},wrapAll:function(t){if(De.isFunction(t))return this.each(function(e){De(this).wrapAll(t.call(this,e))});if(this[0]){var e=De(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t}).append(this)}return this},wrapInner:function(t){return De.isFunction(t)?this.each(function(e){De(this).wrapInner(t.call(this,e))}):this.each(function(){var e=De(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=De.isFunction(t);return this.each(function(n){De(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(){return this.parent().each(function(){De.nodeName(this,"body")||De(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(t){1===this.nodeType&&this.appendChild(t)})},prepend:function(){return this.domManip(arguments,!0,function(t){1===this.nodeType&&this.insertBefore(t,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(t){this.parentNode.insertBefore(t,this)});if(arguments.length){var t=De.clean(arguments);return t.push.apply(t,this.toArray()),this.pushStack(t,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(t){this.parentNode.insertBefore(t,this.nextSibling)});if(arguments.length){var t=this.pushStack(this,"after",arguments);return t.push.apply(t,De.clean(arguments)),t}},remove:function(t,e){for(var n,i=0;null!=(n=this[i]);i++)t&&!De.filter(t,[n]).length||(e||1!==n.nodeType||(De.cleanData(n.getElementsByTagName("*")),De.cleanData([n])),n.parentNode&&n.parentNode.removeChild(n));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)for(1===t.nodeType&&De.cleanData(t.getElementsByTagName("*"));t.firstChild;)t.removeChild(t.firstChild);return this},clone:function(t,e){return t=null==t?!1:t,e=null==e?t:e,this.map(function(){return De.clone(this,t,e)})},html:function(t){return De.access(this,function(t){var e=this[0]||{},n=0,i=this.length;if(t===s)return 1===e.nodeType?e.innerHTML.replace(gt,""):null;if("string"==typeof t&&!wt.test(t)&&(De.support.leadingWhitespace||!mt.test(t))&&!Dt[(yt.exec(t)||["",""])[1].toLowerCase()]){t=t.replace(vt,"<$1></$2>");try{for(;i>n;n++)e=this[n]||{},1===e.nodeType&&(De.cleanData(e.getElementsByTagName("*")),e.innerHTML=t);e=0}catch(r){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(t){return this[0]&&this[0].parentNode?De.isFunction(t)?this.each(function(e){var n=De(this),i=n.html();n.replaceWith(t.call(this,e,i))}):("string"!=typeof t&&(t=De(t).detach()),this.each(function(){var e=this.nextSibling,n=this.parentNode;De(this).remove(),e?De(e).before(t):De(n).append(t)})):this.length?this.pushStack(De(De.isFunction(t)?t():t),"replaceWith",t):this},detach:function(t){return this.remove(t,!0)},domManip:function(t,e,n){var i,r,o,a,l,u,c,h=t[0],f=[];if(!De.support.checkClone&&3===arguments.length&&"string"==typeof h&&St.test(h))return this.each(function(){De(this).domManip(t,e,n,!0)});if(De.isFunction(h))return this.each(function(i){var r=De(this);t[0]=h.call(this,i,e?r.html():s),r.domManip(t,e,n)});if(this[0]){if(a=h&&h.parentNode,i=De.support.parentNode&&a&&11===a.nodeType&&a.childNodes.length===this.length?{fragment:a}:De.buildFragment(t,this,f),o=i.fragment,r=1===o.childNodes.length?o=o.firstChild:o.firstChild)for(e=e&&De.nodeName(r,"tr"),l=0,u=this.length,c=u-1;u>l;l++)n.call(e?m(this[l],r):this[l],i.cacheable||u>1&&c>l?De.clone(o,!0,!0):o);f.length&&De.each(f,function(t,e){e.src?De.ajax({type:"GET",global:!1,url:e.src,async:!1,dataType:"script"}):De.globalEval((e.text||e.textContent||e.innerHTML||"").replace(Tt,"/*$0*/")),e.parentNode&&e.parentNode.removeChild(e)})}return this}}),De.buildFragment=function(t,e,n){var i,r,o,s,a=t[0];return e&&e[0]&&(s=e[0].ownerDocument||e[0]),s.createDocumentFragment||(s=Se),!(1===t.length&&"string"==typeof a&&a.length<512&&s===Se&&"<"===a.charAt(0))||xt.test(a)||!De.support.checkClone&&St.test(a)||!De.support.html5Clone&&kt.test(a)||(r=!0,o=De.fragments[a],o&&1!==o&&(i=o)),i||(i=s.createDocumentFragment(),De.clean(t,s,i,n)),r&&(De.fragments[a]=o?i:1),{fragment:i,cacheable:r}},De.fragments={},De.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){De.fn[t]=function(n){var i,r,o,s=[],a=De(n),l=1===this.length&&this[0].parentNode;if(l&&11===l.nodeType&&1===l.childNodes.length&&1===a.length)return a[e](this[0]),this;for(i=0,r=a.length;r>i;i++)o=(i>0?this.clone(!0):this).get(),De(a[i])[e](o),s=s.concat(o);return this.pushStack(s,t,a.selector)}}),De.extend({clone:function(t,e,n){var i,r,o,s=De.support.html5Clone||De.isXMLDoc(t)||!kt.test("<"+t.nodeName+">")?t.cloneNode(!0):x(t);if(!(De.support.noCloneEvent&&De.support.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||De.isXMLDoc(t)))for(y(t,s),i=b(t),r=b(s),o=0;i[o];++o)r[o]&&y(i[o],r[o]);if(e&&(v(t,s),n))for(i=b(t),r=b(s),o=0;i[o];++o)v(i[o],r[o]);return i=r=null,s},clean:function(t,e,n,i){var r,o,a,l,u,c,h,f,d,p,m,v,y,b,_,x=[];for(e=e||Se,s===e.createElement&&(e=e.ownerDocument||e[0]&&e[0].ownerDocument||Se),l=0;null!=(u=t[l]);l++)if("number"==typeof u&&(u+=""),u){if("string"==typeof u)if(_t.test(u)){for(u=u.replace(vt,"<$1></$2>"),c=(yt.exec(u)||["",""])[1].toLowerCase(),h=Dt[c]||Dt._default,f=h[0],d=e.createElement("div"),p=Mt.childNodes,e===Se?Mt.appendChild(d):g(e).appendChild(d),d.innerHTML=h[1]+u+h[2];f--;)d=d.lastChild;if(!De.support.tbody)for(v=bt.test(u),y="table"!==c||v?"<table>"!==h[1]||v?[]:d.childNodes:d.firstChild&&d.firstChild.childNodes,a=y.length-1;a>=0;--a)De.nodeName(y[a],"tbody")&&!y[a].childNodes.length&&y[a].parentNode.removeChild(y[a]);!De.support.leadingWhitespace&&mt.test(u)&&d.insertBefore(e.createTextNode(mt.exec(u)[0]),d.firstChild),u=d.childNodes,d&&(d.parentNode.removeChild(d),p.length>0&&(m=p[p.length-1],m&&m.parentNode&&m.parentNode.removeChild(m)))}else u=e.createTextNode(u);if(!De.support.appendChecked)if(u[0]&&"number"==typeof(b=u.length))for(a=0;b>a;a++)w(u[a]);else w(u);u.nodeType?x.push(u):x=De.merge(x,u)}if(n)for(r=function(t){return!t.type||Ct.test(t.type)},l=0;x[l];l++)o=x[l],i&&De.nodeName(o,"script")&&(!o.type||Ct.test(o.type))?i.push(o.parentNode?o.parentNode.removeChild(o):o):(1===o.nodeType&&(_=De.grep(o.getElementsByTagName("script"),r),x.splice.apply(x,[l+1,0].concat(_))),n.appendChild(o));return x},cleanData:function(t){var e,n,i,r,o,s=De.cache,a=De.event.special,l=De.support.deleteExpando;for(i=0;null!=(r=t[i]);i++)if((!r.nodeName||!De.noData[r.nodeName.toLowerCase()])&&(n=r[De.expando])){if(e=s[n],e&&e.events){for(o in e.events)a[o]?De.event.remove(r,o):De.removeEvent(r,o,e.handle);e.handle&&(e.handle.elem=null)}l?delete r[De.expando]:r.removeAttribute&&r.removeAttribute(De.expando),delete s[n]}}}),Et=/alpha\([^)]*\)/i,At=/opacity=([^)]*)/,Pt=/([A-Z]|^ms)/g,It=/^[\-+]?(?:\d*\.)?\d+$/i,Ot=/^-?(?:\d*\.)?\d+(?!px)[^\d\s]+$/i,Nt=/^([\-+])=([\-+.\de]+)/,Lt=/^margin/,Ft={position:"absolute",visibility:"hidden",display:"block"},zt=["Top","Right","Bottom","Left"],De.fn.css=function(t,e){return De.access(this,function(t,e,n){return n!==s?De.style(t,e,n):De.css(t,e)},t,e,arguments.length>1)},De.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=jt(t,"opacity");return""===n?"1":n}return t.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":De.support.cssFloat?"cssFloat":"styleFloat"},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,o,a=De.camelCase(e),l=t.style,u=De.cssHooks[a];if(e=De.cssProps[a]||a,n===s)return u&&"get"in u&&(r=u.get(t,!1,i))!==s?r:l[e];if(o=typeof n,"string"===o&&(r=Nt.exec(n))&&(n=+(r[1]+1)*+r[2]+parseFloat(De.css(t,e)),o="number"),!(null==n||"number"===o&&isNaN(n)||("number"!==o||De.cssNumber[a]||(n+="px"),u&&"set"in u&&(n=u.set(t,n))===s)))try{l[e]=n}catch(c){}}},css:function(t,e,n){var i,r;return e=De.camelCase(e),r=De.cssHooks[e],e=De.cssProps[e]||e,"cssFloat"===e&&(e="float"),r&&"get"in r&&(i=r.get(t,!0,n))!==s?i:jt?jt(t,e):s},swap:function(t,e,n){var i,r,o={};for(r in e)o[r]=t.style[r],t.style[r]=e[r];i=n.call(t);for(r in e)t.style[r]=o[r];return i}}),De.curCSS=De.css,Se.defaultView&&Se.defaultView.getComputedStyle&&(Rt=function(t,e){var n,i,r,o,s=t.style;return e=e.replace(Pt,"-$1").toLowerCase(),(i=t.ownerDocument.defaultView)&&(r=i.getComputedStyle(t,null))&&(n=r.getPropertyValue(e),""!==n||De.contains(t.ownerDocument.documentElement,t)||(n=De.style(t,e))),!De.support.pixelMargin&&r&&Lt.test(e)&&Ot.test(n)&&(o=s.width,s.width=n,n=r.width,s.width=o),n}),Se.documentElement.currentStyle&&(Ht=function(t,e){var n,i,r,o=t.currentStyle&&t.currentStyle[e],s=t.style;return null==o&&s&&(r=s[e])&&(o=r),Ot.test(o)&&(n=s.left,i=t.runtimeStyle&&t.runtimeStyle.left,i&&(t.runtimeStyle.left=t.currentStyle.left),s.left="fontSize"===e?"1em":o,o=s.pixelLeft+"px",s.left=n,i&&(t.runtimeStyle.left=i)),""===o?"auto":o}),jt=Rt||Ht,De.each(["height","width"],function(t,e){De.cssHooks[e]={get:function(t,n,i){return n?0!==t.offsetWidth?k(t,e,i):De.swap(t,Ft,function(){return k(t,e,i)}):s},set:function(t,e){return It.test(e)?e+"px":e}}}),De.support.opacity||(De.cssHooks.opacity={get:function(t,e){return At.test((e&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100+"":e?"1":""},set:function(t,e){var n=t.style,i=t.currentStyle,r=De.isNumeric(e)?"alpha(opacity="+100*e+")":"",o=i&&i.filter||n.filter||"";n.zoom=1,e>=1&&""===De.trim(o.replace(Et,""))&&(n.removeAttribute("filter"),i&&!i.filter)||(n.filter=Et.test(o)?o.replace(Et,r):o+" "+r)}}),De(function(){De.support.reliableMarginRight||(De.cssHooks.marginRight={get:function(t,e){return De.swap(t,{display:"inline-block"},function(){return e?jt(t,"margin-right"):t.style.marginRight})}})}),De.expr&&De.expr.filters&&(De.expr.filters.hidden=function(t){var e=t.offsetWidth,n=t.offsetHeight;return 0===e&&0===n||!De.support.reliableHiddenOffsets&&"none"===(t.style&&t.style.display||De.css(t,"display"))},De.expr.filters.visible=function(t){return!De.expr.filters.hidden(t)}),De.each({margin:"",padding:"",border:"Width"},function(t,e){De.cssHooks[t+e]={expand:function(n){var i,r="string"==typeof n?n.split(" "):[n],o={};for(i=0;4>i;i++)o[t+zt[i]+e]=r[i]||r[i-2]||r[0];return o}}}),Yt=/%20/g,Bt=/\[\]$/,Ut=/\r?\n/g,Wt=/#.*$/,Vt=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,qt=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,Xt=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,$t=/^(?:GET|HEAD)$/,Gt=/^\/\//,Zt=/\?/,Kt=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,Qt=/^(?:select|textarea)/i,Jt=/\s+/,te=/([?&])_=[^&]*/,ee=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,ne=De.fn.load,ie={},re={},ae=["*/"]+["*"];try{oe=Te.href}catch(Ee){oe=Se.createElement("a"),oe.href="",oe=oe.href}se=ee.exec(oe.toLowerCase())||[],De.fn.extend({load:function(t,e,n){var i,r,o,a;return"string"!=typeof t&&ne?ne.apply(this,arguments):this.length?(i=t.indexOf(" "),i>=0&&(r=t.slice(i,t.length),t=t.slice(0,i)),o="GET",e&&(De.isFunction(e)?(n=e,e=s):"object"==typeof e&&(e=De.param(e,De.ajaxSettings.traditional),o="POST")),a=this,De.ajax({url:t,type:o,dataType:"html",data:e,complete:function(t,e,i){i=t.responseText,t.isResolved()&&(t.done(function(t){i=t}),a.html(r?De("<div>").append(i.replace(Kt,"")).find(r):i)),n&&a.each(n,[i,e,t])}}),this):this},serialize:function(){return De.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?De.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||Qt.test(this.nodeName)||qt.test(this.type))}).map(function(t,e){var n=De(this).val();return null==n?null:De.isArray(n)?De.map(n,function(t,n){return{name:e.name,value:t.replace(Ut,"\r\n")}}):{name:e.name,value:n.replace(Ut,"\r\n")}}).get()}}),De.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(t,e){De.fn[e]=function(t){return this.on(e,t)}}),De.each(["get","post"],function(t,e){De[e]=function(t,n,i,r){return De.isFunction(n)&&(r=r||i,i=n,n=s),De.ajax({type:e,url:t,data:n,success:i,dataType:r})}}),De.extend({getScript:function(t,e){return De.get(t,s,e,"script")},getJSON:function(t,e,n){return De.get(t,e,n,"json")},ajaxSetup:function(t,e){return e?T(t,De.ajaxSettings):(e=t,t=De.ajaxSettings),T(t,e),t},ajaxSettings:{url:oe,isLocal:Xt.test(se[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":ae},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":o.String,"text html":!0,"text json":De.parseJSON,"text xml":De.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:S(ie),ajaxTransport:S(re),ajax:function(t,e){function n(t,e,n,h){if(2!==y){y=2,m&&clearTimeout(m),g=s,d=h||"",w.readyState=t>0?4:0;var f,p,v,_,x,k=e,S=n?M(i,w,n):s;if(t>=200&&300>t||304===t)if(i.ifModified&&((_=w.getResponseHeader("Last-Modified"))&&(De.lastModified[c]=_),(x=w.getResponseHeader("Etag"))&&(De.etag[c]=x)),304===t)k="notmodified",f=!0;else try{p=E(i,S),k="success",f=!0}catch(C){k="parsererror",v=C}else v=k,k&&!t||(k="error",0>t&&(t=0));w.status=t,w.statusText=""+(e||k),f?a.resolveWith(r,[p,k,w]):a.rejectWith(r,[w,k,v]),w.statusCode(u),u=s,b&&o.trigger("ajax"+(f?"Success":"Error"),[w,i,f?p:v]),l.fireWith(r,[w,k]),b&&(o.trigger("ajaxComplete",[w,i]),--De.active||De.event.trigger("ajaxStop"))}}var i,r,o,a,l,u,c,h,f,d,p,g,m,v,y,b,_,w,x,k;if("object"==typeof t&&(e=t,t=s),e=e||{},i=De.ajaxSetup({},e),r=i.context||i,o=r!==i&&(r.nodeType||r instanceof De)?De(r):De.event,a=De.Deferred(),l=De.Callbacks("once memory"),u=i.statusCode||{},h={},f={},y=0,w={readyState:0,setRequestHeader:function(t,e){if(!y){var n=t.toLowerCase();t=f[n]=f[n]||t,h[t]=e}return this},getAllResponseHeaders:function(){return 2===y?d:null},getResponseHeader:function(t){var e;if(2===y){if(!p)for(p={};e=Vt.exec(d);)p[e[1].toLowerCase()]=e[2];e=p[t.toLowerCase()]}return e===s?null:e},overrideMimeType:function(t){return y||(i.mimeType=t),this},abort:function(t){return t=t||"abort",g&&g.abort(t),n(0,t),this}},a.promise(w),w.success=w.done,w.error=w.fail,w.complete=l.add,w.statusCode=function(t){if(t){var e;if(2>y)for(e in t)u[e]=[u[e],t[e]];else e=t[w.status],w.then(e,e)}return this},i.url=((t||i.url)+"").replace(Wt,"").replace(Gt,se[1]+"//"),i.dataTypes=De.trim(i.dataType||"*").toLowerCase().split(Jt),null==i.crossDomain&&(v=ee.exec(i.url.toLowerCase()),i.crossDomain=!(!v||v[1]==se[1]&&v[2]==se[2]&&(v[3]||("http:"===v[1]?80:443))==(se[3]||("http:"===se[1]?80:443)))),i.data&&i.processData&&"string"!=typeof i.data&&(i.data=De.param(i.data,i.traditional)),C(ie,i,e,w),2===y)return!1;b=i.global,i.type=i.type.toUpperCase(),i.hasContent=!$t.test(i.type),b&&0===De.active++&&De.event.trigger("ajaxStart"),i.hasContent||(i.data&&(i.url+=(Zt.test(i.url)?"&":"?")+i.data,delete i.data),c=i.url,i.cache===!1&&(x=De.now(),k=i.url.replace(te,"$1_="+x),i.url=k+(k===i.url?(Zt.test(i.url)?"&":"?")+"_="+x:""))),(i.data&&i.hasContent&&i.contentType!==!1||e.contentType)&&w.setRequestHeader("Content-Type",i.contentType),i.ifModified&&(c=c||i.url,De.lastModified[c]&&w.setRequestHeader("If-Modified-Since",De.lastModified[c]),De.etag[c]&&w.setRequestHeader("If-None-Match",De.etag[c])),w.setRequestHeader("Accept",i.dataTypes[0]&&i.accepts[i.dataTypes[0]]?i.accepts[i.dataTypes[0]]+("*"!==i.dataTypes[0]?", "+ae+"; q=0.01":""):i.accepts["*"]);for(_ in i.headers)w.setRequestHeader(_,i.headers[_]);if(i.beforeSend&&(i.beforeSend.call(r,w,i)===!1||2===y))return w.abort(),!1;for(_ in{success:1,error:1,complete:1})w[_](i[_]);if(g=C(re,i,e,w)){w.readyState=1,b&&o.trigger("ajaxSend",[w,i]),i.async&&i.timeout>0&&(m=setTimeout(function(){w.abort("timeout")},i.timeout));try{y=1,g.send(h,n)}catch(S){if(!(2>y))throw S;n(-1,S)}}else n(-1,"No Transport");return w},param:function(t,e){var n,i=[],r=function(t,e){e=De.isFunction(e)?e():e,i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(e===s&&(e=De.ajaxSettings.traditional),De.isArray(t)||t.jquery&&!De.isPlainObject(t))De.each(t,function(){r(this.name,this.value)});else for(n in t)D(n,t[n],e,r);return i.join("&").replace(Yt,"+")}}),De.extend({active:0,lastModified:{},etag:{}}),le=De.now(),ue=/(\=)\?(&|$)|\?\?/i,De.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return De.expando+"_"+le++}}),De.ajaxPrefilter("json jsonp",function(t,e,n){var i,r,a,l,u,c,h="string"==typeof t.data&&/^application\/x\-www\-form\-urlencoded/.test(t.contentType);return"jsonp"===t.dataTypes[0]||t.jsonp!==!1&&(ue.test(t.url)||h&&ue.test(t.data))?(r=t.jsonpCallback=De.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a=o[r],l=t.url,u=t.data,c="$1"+r+"$2",t.jsonp!==!1&&(l=l.replace(ue,c),t.url===l&&(h&&(u=u.replace(ue,c)),t.data===u&&(l+=(/\?/.test(l)?"&":"?")+t.jsonp+"="+r))),t.url=l,t.data=u,o[r]=function(t){i=[t]},n.always(function(){o[r]=a,i&&De.isFunction(a)&&o[r](i[0])}),t.converters["script json"]=function(){return i||De.error(r+" was not called"),i[0]},t.dataTypes[0]="json","script"):s}),De.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(t){return De.globalEval(t),t}}}),De.ajaxPrefilter("script",function(t){t.cache===s&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)}),De.ajaxTransport("script",function(t){if(t.crossDomain){var e,n=Se.head||Se.getElementsByTagName("head")[0]||Se.documentElement;return{send:function(i,r){e=Se.createElement("script"),e.async="async",t.scriptCharset&&(e.charset=t.scriptCharset),e.src=t.url,e.onload=e.onreadystatechange=function(t,i){(i||!e.readyState||/loaded|complete/.test(e.readyState))&&(e.onload=e.onreadystatechange=null,n&&e.parentNode&&n.removeChild(e),e=s,i||r(200,"success"))},n.insertBefore(e,n.firstChild)},abort:function(){e&&e.onload(0,1)}}}}),ce=o.ActiveXObject?function(){for(var t in fe)fe[t](0,1)}:!1,he=0,De.ajaxSettings.xhr=o.ActiveXObject?function(){return!this.isLocal&&A()||P()}:A,function(t){De.extend(De.support,{ajax:!!t,cors:!!t&&"withCredentials"in t})}(De.ajaxSettings.xhr()),De.support.ajax&&De.ajaxTransport(function(t){if(!t.crossDomain||De.support.cors){var e;return{send:function(n,i){var r,a,l=t.xhr();if(t.username?l.open(t.type,t.url,t.async,t.username,t.password):l.open(t.type,t.url,t.async),t.xhrFields)for(a in t.xhrFields)l[a]=t.xhrFields[a];t.mimeType&&l.overrideMimeType&&l.overrideMimeType(t.mimeType),t.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest");try{for(a in n)l.setRequestHeader(a,n[a])}catch(u){}l.send(t.hasContent&&t.data||null),e=function(n,o){var a,u,c,h,f;try{if(e&&(o||4===l.readyState))if(e=s,r&&(l.onreadystatechange=De.noop,ce&&delete fe[r]),o)4!==l.readyState&&l.abort();else{a=l.status,c=l.getAllResponseHeaders(),h={},f=l.responseXML,f&&f.documentElement&&(h.xml=f);try{h.text=l.responseText}catch(n){}try{u=l.statusText}catch(d){u=""}a||!t.isLocal||t.crossDomain?1223===a&&(a=204):a=h.text?200:404}}catch(p){o||i(-1,p)}h&&i(a,u,h,c)},t.async&&4!==l.readyState?(r=++he,ce&&(fe||(fe={},De(o).unload(ce)),fe[r]=e),l.onreadystatechange=e):e()},abort:function(){e&&e(0,1)}}}}),de={},me=/^(?:toggle|show|hide)$/,ve=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,be=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],De.fn.extend({show:function(t,e,n){var i,r,o,s;if(t||0===t)return this.animate(N("show",3),t,e,n);for(o=0,s=this.length;s>o;o++)i=this[o],i.style&&(r=i.style.display,De._data(i,"olddisplay")||"none"!==r||(r=i.style.display=""),(""===r&&"none"===De.css(i,"display")||!De.contains(i.ownerDocument.documentElement,i))&&De._data(i,"olddisplay",L(i.nodeName)));for(o=0;s>o;o++)i=this[o],i.style&&(r=i.style.display,""!==r&&"none"!==r||(i.style.display=De._data(i,"olddisplay")||""));return this},hide:function(t,e,n){if(t||0===t)return this.animate(N("hide",3),t,e,n);for(var i,r,o=0,s=this.length;s>o;o++)i=this[o],i.style&&(r=De.css(i,"display"),"none"===r||De._data(i,"olddisplay")||De._data(i,"olddisplay",r));for(o=0;s>o;o++)this[o].style&&(this[o].style.display="none");return this},_toggle:De.fn.toggle,toggle:function(t,e,n){var i="boolean"==typeof t;return De.isFunction(t)&&De.isFunction(e)?this._toggle.apply(this,arguments):null==t||i?this.each(function(){var e=i?t:De(this).is(":hidden");De(this)[e?"show":"hide"]()}):this.animate(N("toggle",3),t,e,n),this},fadeTo:function(t,e,n,i){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){function r(){o.queue===!1&&De._mark(this);var e,n,i,r,s,a,l,u,c,h,f,d=De.extend({},o),p=1===this.nodeType,g=p&&De(this).is(":hidden");d.animatedProperties={};for(i in t)if(e=De.camelCase(i),i!==e&&(t[e]=t[i],delete t[i]),(s=De.cssHooks[e])&&"expand"in s){a=s.expand(t[e]),delete t[e];for(i in a)i in t||(t[i]=a[i])}for(e in t){if(n=t[e],De.isArray(n)?(d.animatedProperties[e]=n[1],n=t[e]=n[0]):d.animatedProperties[e]=d.specialEasing&&d.specialEasing[e]||d.easing||"swing","hide"===n&&g||"show"===n&&!g)return d.complete.call(this);!p||"height"!==e&&"width"!==e||(d.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],"inline"===De.css(this,"display")&&"none"===De.css(this,"float")&&(De.support.inlineBlockNeedsLayout&&"inline"!==L(this.nodeName)?this.style.zoom=1:this.style.display="inline-block"))}null!=d.overflow&&(this.style.overflow="hidden");for(i in t)r=new De.fx(this,d,i),n=t[i],me.test(n)?(f=De._data(this,"toggle"+i)||("toggle"===n?g?"show":"hide":0),f?(De._data(this,"toggle"+i,"show"===f?"hide":"show"),r[f]()):r[n]()):(l=ve.exec(n),u=r.cur(),l?(c=parseFloat(l[2]),h=l[3]||(De.cssNumber[i]?"":"px"),"px"!==h&&(De.style(this,i,(c||1)+h),u=(c||1)/r.cur()*u,De.style(this,i,u+h)),l[1]&&(c=("-="===l[1]?-1:1)*c+u),r.custom(u,c,h)):r.custom(u,n,""));return!0}var o=De.speed(e,n,i);return De.isEmptyObject(t)?this.each(o.complete,[!1]):(t=De.extend({},t),o.queue===!1?this.each(r):this.queue(o.queue,r))},stop:function(t,e,n){return"string"!=typeof t&&(n=e,e=t,t=s),e&&t!==!1&&this.queue(t||"fx",[]),this.each(function(){function e(t,e,i){var r=e[i];De.removeData(t,i,!0),r.stop(n)}var i,r=!1,o=De.timers,s=De._data(this);if(n||De._unmark(!0,this),null==t)for(i in s)s[i]&&s[i].stop&&i.indexOf(".run")===i.length-4&&e(this,s,i);else s[i=t+".run"]&&s[i].stop&&e(this,s,i);for(i=o.length;i--;)o[i].elem!==this||null!=t&&o[i].queue!==t||(n?o[i](!0):o[i].saveState(),r=!0,o.splice(i,1));n&&r||De.dequeue(this,t)})}}),De.each({slideDown:N("show",1),slideUp:N("hide",1),slideToggle:N("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){De.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}}),De.extend({speed:function(t,e,n){var i=t&&"object"==typeof t?De.extend({},t):{complete:n||!n&&e||De.isFunction(t)&&t,duration:t,easing:n&&e||e&&!De.isFunction(e)&&e};return i.duration=De.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in De.fx.speeds?De.fx.speeds[i.duration]:De.fx.speeds._default,null!=i.queue&&i.queue!==!0||(i.queue="fx"),i.old=i.complete,i.complete=function(t){De.isFunction(i.old)&&i.old.call(this),i.queue?De.dequeue(this,i.queue):t!==!1&&De._unmark(this)},i},easing:{linear:function(t){return t},swing:function(t){return-Math.cos(t*Math.PI)/2+.5}},timers:[],fx:function(t,e,n){this.options=e,this.elem=t,this.prop=n,e.orig=e.orig||{}}}),De.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(De.fx.step[this.prop]||De.fx.step._default)(this)},cur:function(){if(null!=this.elem[this.prop]&&(!this.elem.style||null==this.elem.style[this.prop]))return this.elem[this.prop];var t,e=De.css(this.elem,this.prop);return isNaN(t=parseFloat(e))?e&&"auto"!==e?e:0:t},custom:function(t,e,n){function i(t){return r.step(t)}var r=this,o=De.fx;this.startTime=_e||I(),this.end=e,this.now=this.start=t,this.pos=this.state=0,this.unit=n||this.unit||(De.cssNumber[this.prop]?"":"px"),i.queue=this.options.queue,i.elem=this.elem,i.saveState=function(){De._data(r.elem,"fxshow"+r.prop)===s&&(r.options.hide?De._data(r.elem,"fxshow"+r.prop,r.start):r.options.show&&De._data(r.elem,"fxshow"+r.prop,r.end))},i()&&De.timers.push(i)&&!ye&&(ye=setInterval(o.tick,o.interval))},show:function(){var t=De._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=t||De.style(this.elem,this.prop),this.options.show=!0,t!==s?this.custom(this.cur(),t):this.custom("width"===this.prop||"height"===this.prop?1:0,this.cur()),De(this.elem).show()},hide:function(){this.options.orig[this.prop]=De._data(this.elem,"fxshow"+this.prop)||De.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(t){var e,n,i,r=_e||I(),o=!0,s=this.elem,a=this.options;if(t||r>=a.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),a.animatedProperties[this.prop]=!0;for(e in a.animatedProperties)a.animatedProperties[e]!==!0&&(o=!1);if(o){if(null==a.overflow||De.support.shrinkWrapBlocks||De.each(["","X","Y"],function(t,e){s.style["overflow"+e]=a.overflow[t]}),a.hide&&De(s).hide(),a.hide||a.show)for(e in a.animatedProperties)De.style(s,e,a.orig[e]),De.removeData(s,"fxshow"+e,!0),De.removeData(s,"toggle"+e,!0);i=a.complete,i&&(a.complete=!1,i.call(s))}return!1}return a.duration==1/0?this.now=r:(n=r-this.startTime,this.state=n/a.duration,this.pos=De.easing[a.animatedProperties[this.prop]](this.state,n,0,1,a.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update(),!0}},De.extend(De.fx,{tick:function(){for(var t,e=De.timers,n=0;n<e.length;n++)t=e[n],t()||e[n]!==t||e.splice(n--,1);e.length||De.fx.stop()},interval:13,stop:function(){clearInterval(ye),ye=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(t){De.style(t.elem,"opacity",t.now)},_default:function(t){t.elem.style&&null!=t.elem.style[t.prop]?t.elem.style[t.prop]=t.now+t.unit:t.elem[t.prop]=t.now}}}),De.each(be.concat.apply([],be),function(t,e){e.indexOf("margin")&&(De.fx.step[e]=function(t){De.style(t.elem,e,Math.max(0,t.now)+t.unit)})}),De.expr&&De.expr.filters&&(De.expr.filters.animated=function(t){return De.grep(De.timers,function(e){return t===e.elem}).length}),xe=/^t(?:able|d|h)$/i,ke=/^(?:body|html)$/i,we="getBoundingClientRect"in Se.documentElement?function(t,e,n,i){try{i=t.getBoundingClientRect()}catch(r){}if(!i||!De.contains(n,t))return i?{top:i.top,left:i.left}:{top:0,left:0};var o=e.body,s=F(e),a=n.clientTop||o.clientTop||0,l=n.clientLeft||o.clientLeft||0,u=s.pageYOffset||De.support.boxModel&&n.scrollTop||o.scrollTop,c=s.pageXOffset||De.support.boxModel&&n.scrollLeft||o.scrollLeft,h=i.top+u-a,f=i.left+c-l;return{top:h,left:f}}:function(t,e,n){for(var i,r=t.offsetParent,o=t,s=e.body,a=e.defaultView,l=a?a.getComputedStyle(t,null):t.currentStyle,u=t.offsetTop,c=t.offsetLeft;(t=t.parentNode)&&t!==s&&t!==n&&(!De.support.fixedPosition||"fixed"!==l.position);)i=a?a.getComputedStyle(t,null):t.currentStyle,u-=t.scrollTop,c-=t.scrollLeft,t===r&&(u+=t.offsetTop,c+=t.offsetLeft,!De.support.doesNotAddBorder||De.support.doesAddBorderForTableAndCells&&xe.test(t.nodeName)||(u+=parseFloat(i.borderTopWidth)||0,c+=parseFloat(i.borderLeftWidth)||0),o=r,r=t.offsetParent),De.support.subtractsBorderForOverflowNotVisible&&"visible"!==i.overflow&&(u+=parseFloat(i.borderTopWidth)||0,c+=parseFloat(i.borderLeftWidth)||0),l=i;return"relative"!==l.position&&"static"!==l.position||(u+=s.offsetTop,c+=s.offsetLeft),De.support.fixedPosition&&"fixed"===l.position&&(u+=Math.max(n.scrollTop,s.scrollTop),c+=Math.max(n.scrollLeft,s.scrollLeft)),{top:u,left:c}},De.fn.offset=function(t){if(arguments.length)return t===s?this:this.each(function(e){De.offset.setOffset(this,t,e)});var e=this[0],n=e&&e.ownerDocument;return n?e===n.body?De.offset.bodyOffset(e):we(e,n,n.documentElement):null},De.offset={bodyOffset:function(t){var e=t.offsetTop,n=t.offsetLeft;return De.support.doesNotIncludeMarginInBodyOffset&&(e+=parseFloat(De.css(t,"marginTop"))||0,n+=parseFloat(De.css(t,"marginLeft"))||0),{top:e,left:n}},setOffset:function(t,e,n){var i,r,o,s,a,l,u,c,h,f=De.css(t,"position");"static"===f&&(t.style.position="relative"),i=De(t),r=i.offset(),o=De.css(t,"top"),s=De.css(t,"left"),a=("absolute"===f||"fixed"===f)&&De.inArray("auto",[o,s])>-1,l={},u={},a?(u=i.position(),c=u.top,h=u.left):(c=parseFloat(o)||0,h=parseFloat(s)||0),De.isFunction(e)&&(e=e.call(t,n,r)),null!=e.top&&(l.top=e.top-r.top+c),null!=e.left&&(l.left=e.left-r.left+h),"using"in e?e.using.call(t,l):i.css(l)}},De.fn.extend({position:function(){if(!this[0])return null;var t=this[0],e=this.offsetParent(),n=this.offset(),i=ke.test(e[0].nodeName)?{top:0,left:0}:e.offset();return n.top-=parseFloat(De.css(t,"marginTop"))||0,
|
||
n.left-=parseFloat(De.css(t,"marginLeft"))||0,i.top+=parseFloat(De.css(e[0],"borderTopWidth"))||0,i.left+=parseFloat(De.css(e[0],"borderLeftWidth"))||0,{top:n.top-i.top,left:n.left-i.left}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||Se.body;t&&!ke.test(t.nodeName)&&"static"===De.css(t,"position");)t=t.offsetParent;return t})}}),De.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n=/Y/.test(e);De.fn[t]=function(i){return De.access(this,function(t,i,r){var o=F(t);return r===s?o?e in o?o[e]:De.support.boxModel&&o.document.documentElement[i]||o.document.body[i]:t[i]:(o?o.scrollTo(n?De(o).scrollLeft():r,n?r:De(o).scrollTop()):t[i]=r,s)},t,i,arguments.length,null)}}),De.each({Height:"height",Width:"width"},function(t,e){var n="client"+t,i="scroll"+t,r="offset"+t;De.fn["inner"+t]=function(){var t=this[0];return t?t.style?parseFloat(De.css(t,e,"padding")):this[e]():null},De.fn["outer"+t]=function(t){var n=this[0];return n?n.style?parseFloat(De.css(n,e,t?"margin":"border")):this[e]():null},De.fn[e]=function(t){return De.access(this,function(t,e,o){var a,l,u,c;return De.isWindow(t)?(a=t.document,l=a.documentElement[n],De.support.boxModel&&l||a.body&&a.body[n]||l):9===t.nodeType?(a=t.documentElement,a[n]>=a[i]?a[n]:Math.max(t.body[i],a[i],t.body[r],a[r])):o===s?(u=De.css(t,e),c=parseFloat(u),De.isNumeric(c)?c:u):(De(t).css(e,o),s)},e,t,arguments.length,null)}}),o.jQuery=o.$=De,n(593)&&n(593).jQuery&&(i=[],r=function(){return De}.apply(e,i),!(r!==s&&(t.exports=r)))}(window),t.exports=$},function(t,e){(function(e){t.exports=e}).call(e,{})},function(module,exports){"use strict";!function(t,e){function n(e){return!t(e).parents().andSelf().filter(function(){return"hidden"===t.curCSS(this,"visibility")||t.expr.filters.hidden(this)}).length}t.ui=t.ui||{},t.ui.version||(t.extend(t.ui,{version:"1.8.11",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}}),t.fn.extend({_focus:t.fn.focus,focus:function(e,n){return"number"==typeof e?this.each(function(){var i=this;setTimeout(function(){t(i).focus(),n&&n.call(i)},e)}):this._focus.apply(this,arguments)},scrollParent:function(){var e;return e=t.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(t.curCSS(this,"position",1))&&/(auto|scroll)/.test(t.curCSS(this,"overflow",1)+t.curCSS(this,"overflow-y",1)+t.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(t.curCSS(this,"overflow",1)+t.curCSS(this,"overflow-y",1)+t.curCSS(this,"overflow-x",1))}).eq(0),/fixed/.test(this.css("position"))||!e.length?t(document):e},zIndex:function(n){if(n!==e)return this.css("zIndex",n);if(this.length){n=t(this[0]);for(var i;n.length&&n[0]!==document;){if(i=n.css("position"),("absolute"===i||"relative"===i||"fixed"===i)&&(i=parseInt(n.css("zIndex"),10),!isNaN(i)&&0!==i))return i;n=n.parent()}}return 0},disableSelection:function(){return this.bind((t.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(t){t.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),t.each(["Width","Height"],function(n,i){function r(e,n,i,r){return t.each(o,function(){n-=parseFloat(t.curCSS(e,"padding"+this,!0))||0,i&&(n-=parseFloat(t.curCSS(e,"border"+this+"Width",!0))||0),r&&(n-=parseFloat(t.curCSS(e,"margin"+this,!0))||0)}),n}var o="Width"===i?["Left","Right"]:["Top","Bottom"],s=i.toLowerCase(),a={innerWidth:t.fn.innerWidth,innerHeight:t.fn.innerHeight,outerWidth:t.fn.outerWidth,outerHeight:t.fn.outerHeight};t.fn["inner"+i]=function(n){return n===e?a["inner"+i].call(this):this.each(function(){t(this).css(s,r(this,n)+"px")})},t.fn["outer"+i]=function(e,n){return"number"!=typeof e?a["outer"+i].call(this,e):this.each(function(){t(this).css(s,r(this,e,!0,n)+"px")})}}),t.extend(t.expr[":"],{data:function(e,n,i){return!!t.data(e,i[3])},focusable:function(e){var i=e.nodeName.toLowerCase(),r=t.attr(e,"tabindex");return"area"===i?(i=e.parentNode,r=i.name,e.href&&r&&"map"===i.nodeName.toLowerCase()?(e=t("img[usemap=#"+r+"]")[0],!!e&&n(e)):!1):(/input|select|textarea|button|object/.test(i)?!e.disabled:"a"==i?e.href||!isNaN(r):!isNaN(r))&&n(e)},tabbable:function(e){var n=t.attr(e,"tabindex");return(isNaN(n)||n>=0)&&t(e).is(":focusable")}}),t(function(){var e=document.body,n=e.appendChild(n=document.createElement("div"));t.extend(n.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0}),t.support.minHeight=100===n.offsetHeight,t.support.selectstart="onselectstart"in n,e.removeChild(n).style.display="none"}),t.extend(t.ui,{plugin:{add:function(e,n,i){e=t.ui[e].prototype;for(var r in i)e.plugins[r]=e.plugins[r]||[],e.plugins[r].push([n,i[r]])},call:function(t,e,n){if((e=t.plugins[e])&&t.element[0].parentNode)for(var i=0;i<e.length;i++)t.options[e[i][0]]&&e[i][1].apply(t.element,n)}},contains:function(t,e){return document.compareDocumentPosition?16&t.compareDocumentPosition(e):t!==e&&t.contains(e)},hasScroll:function(e,n){if("hidden"===t(e).css("overflow"))return!1;n=n&&"left"===n?"scrollLeft":"scrollTop";var i=!1;return e[n]>0?!0:(e[n]=1,i=e[n]>0,e[n]=0,i)},isOverAxis:function(t,e,n){return t>e&&e+n>t},isOver:function(e,n,i,r,o,s){return t.ui.isOverAxis(e,i,o)&&t.ui.isOverAxis(n,r,s)}}))}(jQuery),function(t,e){var n,i;t.cleanData?(n=t.cleanData,t.cleanData=function(e){for(var i,r=0;null!=(i=e[r]);r++)t(i).triggerHandler("remove");n(e)}):(i=t.fn.remove,t.fn.remove=function(e,n){return this.each(function(){return n||e&&!t.filter(e,[this]).length||t("*",this).add([this]).each(function(){t(this).triggerHandler("remove")}),i.call(t(this),e,n)})}),t.widget=function(e,n,i){var r,o=e.split(".")[0];e=e.split(".")[1],r=o+"-"+e,i||(i=n,n=t.Widget),t.expr[":"][r]=function(n){return!!t.data(n,e)},t[o]=t[o]||{},t[o][e]=function(t,e){arguments.length&&this._createWidget(t,e)},n=new n,n.options=t.extend(!0,{},n.options),t[o][e].prototype=t.extend(!0,n,{namespace:o,widgetName:e,widgetEventPrefix:t[o][e].prototype.widgetEventPrefix||e,widgetBaseClass:r},i),t.widget.bridge(e,t[o][e])},t.widget.bridge=function(n,i){t.fn[n]=function(r){var o="string"==typeof r,s=Array.prototype.slice.call(arguments,1),a=this;return r=!o&&s.length?t.extend.apply(null,[!0,r].concat(s)):r,o&&"_"===r.charAt(0)?a:(o?this.each(function(){var i=t.data(this,n),o=i&&t.isFunction(i[r])?i[r].apply(i,s):i;return o!==i&&o!==e?(a=o,!1):void 0}):this.each(function(){var e=t.data(this,n);e?e.option(r||{})._init():t.data(this,n,new i(r,this))}),a)}},t.Widget=function(t,e){arguments.length&&this._createWidget(t,e)},t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:!1},_createWidget:function(e,n){t.data(n,this.widgetName,this),this.element=t(n),this.options=t.extend(!0,{},this.options,this._getCreateOptions(),e);var i=this;this.element.bind("remove."+this.widgetName,function(){i.destroy()}),this._create(),this._trigger("create"),this._init()},_getCreateOptions:function(){return t.metadata&&t.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName),this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(n,i){var r=n;if(0===arguments.length)return t.extend({},this.options);if("string"==typeof n){if(i===e)return this.options[n];r={},r[n]=i}return this._setOptions(r),this},_setOptions:function(e){var n=this;return t.each(e,function(t,e){n._setOption(t,e)}),this},_setOption:function(t,e){return this.options[t]=e,"disabled"===t&&this.widget()[e?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",e),this},enable:function(){return this._setOption("disabled",!1)},disable:function(){return this._setOption("disabled",!0)},_trigger:function(e,n,i){var r,o=this.options[e];if(n=t.Event(n),n.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i=i||{},n.originalEvent)for(e=t.event.props.length;e;)r=t.event.props[--e],n[r]=n.originalEvent[r];return this.element.trigger(n,i),!(t.isFunction(o)&&o.call(this.element[0],n,i)===!1||n.isDefaultPrevented())}}}(jQuery),function(t){t.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.bind("mousedown."+this.widgetName,function(t){return e._mouseDown(t)}).bind("click."+this.widgetName,function(n){return!0===t.data(n.target,e.widgetName+".preventClickEvent")?(t.removeData(n.target,e.widgetName+".preventClickEvent"),n.stopImmediatePropagation(),!1):void 0}),this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(e){if(e.originalEvent=e.originalEvent||{},!e.originalEvent.mouseHandled){this._mouseStarted&&this._mouseUp(e),this._mouseDownEvent=e;var n=this,i=1==e.which,r="string"==typeof this.options.cancel?t(e.target).parents().add(e.target).filter(this.options.cancel).length:!1;return i&&!r&&this._mouseCapture(e)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){n.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(e)!==!1,!this._mouseStarted)?(e.preventDefault(),!0):(!0===t.data(e.target,this.widgetName+".preventClickEvent")&&t.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return n._mouseMove(t)},this._mouseUpDelegate=function(t){return n._mouseUp(t)},t(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),e.originalEvent.mouseHandled=!0)):!0}},_mouseMove:function(e){return!t.browser.msie||document.documentMode>=9||e.button?this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&((this._mouseStarted=this._mouseStart(this._mouseDownEvent,e)!==!1)?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted):this._mouseUp(e)},_mouseUp:function(e){return t(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target==this._mouseDownEvent.target&&t.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),!1},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})}(jQuery),function(t){t.ui=t.ui||{};var e=/left|center|right/,n=/top|center|bottom/,i=t.fn.position,r=t.fn.offset;t.fn.position=function(r){if(!r||!r.of)return i.apply(this,arguments);r=t.extend({},r);var o,s,a,l=t(r.of),u=l[0],c=(r.collision||"flip").split(" "),h=r.offset?r.offset.split(" "):[0,0];return 9===u.nodeType?(o=l.width(),s=l.height(),a={top:0,left:0}):u.setTimeout?(o=l.width(),s=l.height(),a={top:l.scrollTop(),left:l.scrollLeft()}):u.preventDefault?(r.at="left top",o=s=0,a={top:r.of.pageY,left:r.of.pageX}):(o=l.outerWidth(),s=l.outerHeight(),a=l.offset()),t.each(["my","at"],function(){var t=(r[this]||"").split(" ");1===t.length&&(t=e.test(t[0])?t.concat(["center"]):n.test(t[0])?["center"].concat(t):["center","center"]),t[0]=e.test(t[0])?t[0]:"center",t[1]=n.test(t[1])?t[1]:"center",r[this]=t}),1===c.length&&(c[1]=c[0]),h[0]=parseInt(h[0],10)||0,1===h.length&&(h[1]=h[0]),h[1]=parseInt(h[1],10)||0,"right"===r.at[0]?a.left+=o:"center"===r.at[0]&&(a.left+=o/2),"bottom"===r.at[1]?a.top+=s:"center"===r.at[1]&&(a.top+=s/2),a.left+=h[0],a.top+=h[1],this.each(function(){var e,n=t(this),i=n.outerWidth(),l=n.outerHeight(),u=parseInt(t.curCSS(this,"marginLeft",!0))||0,f=parseInt(t.curCSS(this,"marginTop",!0))||0,d=i+u+(parseInt(t.curCSS(this,"marginRight",!0))||0),p=l+f+(parseInt(t.curCSS(this,"marginBottom",!0))||0),g=t.extend({},a);"right"===r.my[0]?g.left-=i:"center"===r.my[0]&&(g.left-=i/2),"bottom"===r.my[1]?g.top-=l:"center"===r.my[1]&&(g.top-=l/2),g.left=Math.round(g.left),g.top=Math.round(g.top),e={left:g.left-u,top:g.top-f},t.each(["left","top"],function(n,a){t.ui.position[c[n]]&&t.ui.position[c[n]][a](g,{targetWidth:o,targetHeight:s,elemWidth:i,elemHeight:l,collisionPosition:e,collisionWidth:d,collisionHeight:p,offset:h,my:r.my,at:r.at})}),t.fn.bgiframe&&n.bgiframe(),n.offset(t.extend(g,{using:r.using}))})},t.ui.position={fit:{left:function(e,n){var i=t(window);i=n.collisionPosition.left+n.collisionWidth-i.width()-i.scrollLeft(),e.left=i>0?e.left-i:Math.max(e.left-n.collisionPosition.left,e.left)},top:function(e,n){var i=t(window);i=n.collisionPosition.top+n.collisionHeight-i.height()-i.scrollTop(),e.top=i>0?e.top-i:Math.max(e.top-n.collisionPosition.top,e.top)}},flip:{left:function(e,n){var i,r,o,s;"center"!==n.at[0]&&(i=t(window),i=n.collisionPosition.left+n.collisionWidth-i.width()-i.scrollLeft(),r="left"===n.my[0]?-n.elemWidth:"right"===n.my[0]?n.elemWidth:0,o="left"===n.at[0]?n.targetWidth:-n.targetWidth,s=-2*n.offset[0],e.left+=n.collisionPosition.left<0?r+o+s:i>0?r+o+s:0)},top:function(e,n){var i,r,o,s;"center"!==n.at[1]&&(i=t(window),i=n.collisionPosition.top+n.collisionHeight-i.height()-i.scrollTop(),r="top"===n.my[1]?-n.elemHeight:"bottom"===n.my[1]?n.elemHeight:0,o="top"===n.at[1]?n.targetHeight:-n.targetHeight,s=-2*n.offset[1],e.top+=n.collisionPosition.top<0?r+o+s:i>0?r+o+s:0)}}},t.offset.setOffset||(t.offset.setOffset=function(e,n){/static/.test(t.curCSS(e,"position"))&&(e.style.position="relative");var i=t(e),r=i.offset(),o=parseInt(t.curCSS(e,"top",!0),10)||0,s=parseInt(t.curCSS(e,"left",!0),10)||0;r={top:n.top-r.top+o,left:n.left-r.left+s},"using"in n?n.using.call(e,r):i.css(r)},t.fn.offset=function(e){var n=this[0];return n&&n.ownerDocument?e?this.each(function(){t.offset.setOffset(this,e)}):r.call(this):null})}(jQuery),function(t){t.widget("ui.draggable",t.ui.mouse,{widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1},_create:function(){"original"!=this.options.helper||/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative"),this.options.addClasses&&this.element.addClass("ui-draggable"),this.options.disabled&&this.element.addClass("ui-draggable-disabled"),this._mouseInit()},destroy:function(){return this.element.data("draggable")?(this.element.removeData("draggable").unbind(".draggable").removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"),this._mouseDestroy(),this):void 0},_mouseCapture:function(e){var n=this.options;return this.helper||n.disabled||t(e.target).is(".ui-resizable-handle")?!1:(this.handle=this._getHandle(e),!!this.handle)},_mouseStart:function(e){var n=this.options;return this.helper=this._createHelper(e),this._cacheHelperProportions(),t.ui.ddmanager&&(t.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(),this.offset=this.positionAbs=this.element.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},t.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this.position=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,n.cursorAt&&this._adjustOffsetFromHelper(n.cursorAt),n.containment&&this._setContainment(),this._trigger("start",e)===!1?(this._clear(),!1):(this._cacheHelperProportions(),t.ui.ddmanager&&!n.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this.helper.addClass("ui-draggable-dragging"),this._mouseDrag(e,!0),!0)},_mouseDrag:function(e,n){if(this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),!n){if(n=this._uiHash(),this._trigger("drag",e,n)===!1)return this._mouseUp({}),!1;this.position=n.position}return this.options.axis&&"y"==this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"==this.options.axis||(this.helper[0].style.top=this.position.top+"px"),t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),!1},_mouseStop:function(e){var n,i=!1;return t.ui.ddmanager&&!this.options.dropBehaviour&&(i=t.ui.ddmanager.drop(this,e)),this.dropped&&(i=this.dropped,this.dropped=!1),this.element[0]&&this.element[0].parentNode||"original"!=this.options.helper?("invalid"==this.options.revert&&!i||"valid"==this.options.revert&&i||this.options.revert===!0||t.isFunction(this.options.revert)&&this.options.revert.call(this.element,i)?(n=this,t(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){n._trigger("stop",e)!==!1&&n._clear()})):this._trigger("stop",e)!==!1&&this._clear(),!1):!1},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear(),this},_getHandle:function(e){var n=!this.options.handle||!t(this.options.handle,this.element).length;return t(this.options.handle,this.element).find("*").andSelf().each(function(){this==e.target&&(n=!0)}),n},_createHelper:function(e){var n=this.options;return e=t.isFunction(n.helper)?t(n.helper.apply(this.element[0],[e])):"clone"==n.helper?this.element.clone():this.element,e.parents("body").length||e.appendTo("parent"==n.appendTo?this.element[0].parentNode:n.appendTo),e[0]!=this.element[0]&&!/(fixed|absolute)/.test(e.css("position"))&&e.css("position","absolute"),e},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var e=this.offsetParent.offset();return"absolute"==this.cssPosition&&this.scrollParent[0]!=document&&t.ui.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&"html"==this.offsetParent[0].tagName.toLowerCase()&&t.browser.msie)&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"==this.cssPosition){var t=this.element.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,n,i=this.options;"parent"==i.containment&&(i.containment=this.helper[0].parentNode),"document"!=i.containment&&"window"!=i.containment||(this.containment=[("document"==i.containment?0:t(window).scrollLeft())-this.offset.relative.left-this.offset.parent.left,("document"==i.containment?0:t(window).scrollTop())-this.offset.relative.top-this.offset.parent.top,("document"==i.containment?0:t(window).scrollLeft())+t("document"==i.containment?document:window).width()-this.helperProportions.width-this.margins.left,("document"==i.containment?0:t(window).scrollTop())+(t("document"==i.containment?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(i.containment)||i.containment.constructor==Array?i.containment.constructor==Array&&(this.containment=i.containment):(e=t(i.containment)[0],e&&(i=t(i.containment).offset(),n="hidden"!=t(e).css("overflow"),this.containment=[i.left+(parseInt(t(e).css("borderLeftWidth"),10)||0)+(parseInt(t(e).css("paddingLeft"),10)||0),i.top+(parseInt(t(e).css("borderTopWidth"),10)||0)+(parseInt(t(e).css("paddingTop"),10)||0),i.left+(n?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(t(e).css("borderLeftWidth"),10)||0)-(parseInt(t(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,i.top+(n?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(t(e).css("borderTopWidth"),10)||0)-(parseInt(t(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom]))},_convertPositionTo:function(e,n){n||(n=this.position),e="absolute"==e?1:-1;var i="absolute"!=this.cssPosition||this.scrollParent[0]!=document&&t.ui.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,r=/(html|body)/i.test(i[0].tagName);return{top:n.top+this.offset.relative.top*e+this.offset.parent.top*e-(t.browser.safari&&t.browser.version<526&&"fixed"==this.cssPosition?0:("fixed"==this.cssPosition?-this.scrollParent.scrollTop():r?0:i.scrollTop())*e),left:n.left+this.offset.relative.left*e+this.offset.parent.left*e-(t.browser.safari&&t.browser.version<526&&"fixed"==this.cssPosition?0:("fixed"==this.cssPosition?-this.scrollParent.scrollLeft():r?0:i.scrollLeft())*e)}},_generatePosition:function(e){var n=this.options,i="absolute"!=this.cssPosition||this.scrollParent[0]!=document&&t.ui.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,r=/(html|body)/i.test(i[0].tagName),o=e.pageX,s=e.pageY;return this.originalPosition&&(this.containment&&(e.pageX-this.offset.click.left<this.containment[0]&&(o=this.containment[0]+this.offset.click.left),e.pageY-this.offset.click.top<this.containment[1]&&(s=this.containment[1]+this.offset.click.top),e.pageX-this.offset.click.left>this.containment[2]&&(o=this.containment[2]+this.offset.click.left),e.pageY-this.offset.click.top>this.containment[3]&&(s=this.containment[3]+this.offset.click.top)),n.grid&&(s=this.originalPageY+Math.round((s-this.originalPageY)/n.grid[1])*n.grid[1],s=this.containment&&(s-this.offset.click.top<this.containment[1]||s-this.offset.click.top>this.containment[3])?s-this.offset.click.top<this.containment[1]?s+n.grid[1]:s-n.grid[1]:s,o=this.originalPageX+Math.round((o-this.originalPageX)/n.grid[0])*n.grid[0],o=this.containment&&(o-this.offset.click.left<this.containment[0]||o-this.offset.click.left>this.containment[2])?o-this.offset.click.left<this.containment[0]?o+n.grid[0]:o-n.grid[0]:o)),{top:s-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(t.browser.safari&&t.browser.version<526&&"fixed"==this.cssPosition?0:"fixed"==this.cssPosition?-this.scrollParent.scrollTop():r?0:i.scrollTop()),left:o-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(t.browser.safari&&t.browser.version<526&&"fixed"==this.cssPosition?0:"fixed"==this.cssPosition?-this.scrollParent.scrollLeft():r?0:i.scrollLeft())}},_clear:function(){this.helper.removeClass("ui-draggable-dragging"),this.helper[0]!=this.element[0]&&!this.cancelHelperRemoval&&this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1},_trigger:function(e,n,i){return i=i||this._uiHash(),t.ui.plugin.call(this,e,[n,i]),"drag"==e&&(this.positionAbs=this._convertPositionTo("absolute")),t.Widget.prototype._trigger.call(this,e,n,i)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),t.extend(t.ui.draggable,{version:"1.8.11"}),t.ui.plugin.add("draggable","connectToSortable",{start:function(e,n){var i=t(this).data("draggable"),r=i.options,o=t.extend({},n,{item:i.element});i.sortables=[],t(r.connectToSortable).each(function(){var n=t.data(this,"sortable");n&&!n.options.disabled&&(i.sortables.push({instance:n,shouldRevert:n.options.revert}),n.refreshPositions(),n._trigger("activate",e,o))})},stop:function(e,n){var i=t(this).data("draggable"),r=t.extend({},n,{item:i.element});t.each(i.sortables,function(){this.instance.isOver?(this.instance.isOver=0,i.cancelHelperRemoval=!0,this.instance.cancelHelperRemoval=!1,this.shouldRevert&&(this.instance.options.revert=!0),this.instance._mouseStop(e),this.instance.options.helper=this.instance.options._helper,"original"==i.options.helper&&this.instance.currentItem.css({top:"auto",left:"auto"})):(this.instance.cancelHelperRemoval=!1,this.instance._trigger("deactivate",e,r))})},drag:function(e,n){var i=t(this).data("draggable"),r=this;t.each(i.sortables,function(){this.instance.positionAbs=i.positionAbs,this.instance.helperProportions=i.helperProportions,this.instance.offset.click=i.offset.click,this.instance._intersectsWith(this.instance.containerCache)?(this.instance.isOver||(this.instance.isOver=1,this.instance.currentItem=t(r).clone().appendTo(this.instance.element).data("sortable-item",!0),this.instance.options._helper=this.instance.options.helper,this.instance.options.helper=function(){return n.helper[0]},e.target=this.instance.currentItem[0],this.instance._mouseCapture(e,!0),this.instance._mouseStart(e,!0,!0),this.instance.offset.click.top=i.offset.click.top,this.instance.offset.click.left=i.offset.click.left,this.instance.offset.parent.left-=i.offset.parent.left-this.instance.offset.parent.left,this.instance.offset.parent.top-=i.offset.parent.top-this.instance.offset.parent.top,i._trigger("toSortable",e),i.dropped=this.instance.element,i.currentItem=i.element,this.instance.fromOutside=i),this.instance.currentItem&&this.instance._mouseDrag(e)):this.instance.isOver&&(this.instance.isOver=0,this.instance.cancelHelperRemoval=!0,this.instance.options.revert=!1,this.instance._trigger("out",e,this.instance._uiHash(this.instance)),this.instance._mouseStop(e,!0),this.instance.options.helper=this.instance.options._helper,this.instance.currentItem.remove(),this.instance.placeholder&&this.instance.placeholder.remove(),i._trigger("fromSortable",e),i.dropped=!1)})}}),t.ui.plugin.add("draggable","cursor",{start:function(){var e=t("body"),n=t(this).data("draggable").options;e.css("cursor")&&(n._cursor=e.css("cursor")),e.css("cursor",n.cursor)},stop:function(){var e=t(this).data("draggable").options;e._cursor&&t("body").css("cursor",e._cursor)}}),t.ui.plugin.add("draggable","iframeFix",{start:function(){var e=t(this).data("draggable").options;t(e.iframeFix===!0?"iframe":e.iframeFix).each(function(){t('<div class="ui-draggable-iframeFix" style="background: #fff;"></div>').css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1e3}).css(t(this).offset()).appendTo("body")})},stop:function(){t("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)})}}),t.ui.plugin.add("draggable","opacity",{start:function(e,n){e=t(n.helper),n=t(this).data("draggable").options,e.css("opacity")&&(n._opacity=e.css("opacity")),e.css("opacity",n.opacity)},stop:function(e,n){e=t(this).data("draggable").options,e._opacity&&t(n.helper).css("opacity",e._opacity)}}),t.ui.plugin.add("draggable","scroll",{start:function(){var e=t(this).data("draggable");e.scrollParent[0]!=document&&"HTML"!=e.scrollParent[0].tagName&&(e.overflowOffset=e.scrollParent.offset())},drag:function(e){var n=t(this).data("draggable"),i=n.options,r=!1;n.scrollParent[0]!=document&&"HTML"!=n.scrollParent[0].tagName?(i.axis&&"x"==i.axis||(n.overflowOffset.top+n.scrollParent[0].offsetHeight-e.pageY<i.scrollSensitivity?n.scrollParent[0].scrollTop=r=n.scrollParent[0].scrollTop+i.scrollSpeed:e.pageY-n.overflowOffset.top<i.scrollSensitivity&&(n.scrollParent[0].scrollTop=r=n.scrollParent[0].scrollTop-i.scrollSpeed)),i.axis&&"y"==i.axis||(n.overflowOffset.left+n.scrollParent[0].offsetWidth-e.pageX<i.scrollSensitivity?n.scrollParent[0].scrollLeft=r=n.scrollParent[0].scrollLeft+i.scrollSpeed:e.pageX-n.overflowOffset.left<i.scrollSensitivity&&(n.scrollParent[0].scrollLeft=r=n.scrollParent[0].scrollLeft-i.scrollSpeed))):(i.axis&&"x"==i.axis||(e.pageY-t(document).scrollTop()<i.scrollSensitivity?r=t(document).scrollTop(t(document).scrollTop()-i.scrollSpeed):t(window).height()-(e.pageY-t(document).scrollTop())<i.scrollSensitivity&&(r=t(document).scrollTop(t(document).scrollTop()+i.scrollSpeed))),i.axis&&"y"==i.axis||(e.pageX-t(document).scrollLeft()<i.scrollSensitivity?r=t(document).scrollLeft(t(document).scrollLeft()-i.scrollSpeed):t(window).width()-(e.pageX-t(document).scrollLeft())<i.scrollSensitivity&&(r=t(document).scrollLeft(t(document).scrollLeft()+i.scrollSpeed)))),r!==!1&&t.ui.ddmanager&&!i.dropBehaviour&&t.ui.ddmanager.prepareOffsets(n,e)}}),t.ui.plugin.add("draggable","snap",{start:function(){var e=t(this).data("draggable"),n=e.options;e.snapElements=[],t(n.snap.constructor!=String?n.snap.items||":data(draggable)":n.snap).each(function(){var n=t(this),i=n.offset();this!=e.element[0]&&e.snapElements.push({item:this,width:n.outerWidth(),height:n.outerHeight(),top:i.top,left:i.left})})},drag:function(e,n){var i,r,o,s,a,l,u,c,h,f,d,p,g,m,v,y,b;for(i=t(this).data("draggable"),r=i.options,o=r.snapTolerance,s=n.offset.left,a=s+i.helperProportions.width,l=n.offset.top,u=l+i.helperProportions.height,c=i.snapElements.length-1;c>=0;c--)h=i.snapElements[c].left,f=h+i.snapElements[c].width,d=i.snapElements[c].top,p=d+i.snapElements[c].height,s>h-o&&f+o>s&&l>d-o&&p+o>l||s>h-o&&f+o>s&&u>d-o&&p+o>u||a>h-o&&f+o>a&&l>d-o&&p+o>l||a>h-o&&f+o>a&&u>d-o&&p+o>u?("inner"!=r.snapMode&&(g=Math.abs(d-u)<=o,m=Math.abs(p-l)<=o,v=Math.abs(h-a)<=o,y=Math.abs(f-s)<=o,g&&(n.position.top=i._convertPositionTo("relative",{top:d-i.helperProportions.height,left:0}).top-i.margins.top),m&&(n.position.top=i._convertPositionTo("relative",{top:p,left:0}).top-i.margins.top),v&&(n.position.left=i._convertPositionTo("relative",{top:0,left:h-i.helperProportions.width}).left-i.margins.left),y&&(n.position.left=i._convertPositionTo("relative",{top:0,left:f}).left-i.margins.left)),b=g||m||v||y,"outer"!=r.snapMode&&(g=Math.abs(d-l)<=o,m=Math.abs(p-u)<=o,v=Math.abs(h-s)<=o,y=Math.abs(f-a)<=o,g&&(n.position.top=i._convertPositionTo("relative",{top:d,left:0}).top-i.margins.top),m&&(n.position.top=i._convertPositionTo("relative",{top:p-i.helperProportions.height,left:0}).top-i.margins.top),v&&(n.position.left=i._convertPositionTo("relative",{top:0,left:h}).left-i.margins.left),y&&(n.position.left=i._convertPositionTo("relative",{top:0,left:f-i.helperProportions.width}).left-i.margins.left)),!i.snapElements[c].snapping&&(g||m||v||y||b)&&i.options.snap.snap&&i.options.snap.snap.call(i.element,e,t.extend(i._uiHash(),{snapItem:i.snapElements[c].item})),i.snapElements[c].snapping=g||m||v||y||b):(i.snapElements[c].snapping&&i.options.snap.release&&i.options.snap.release.call(i.element,e,t.extend(i._uiHash(),{snapItem:i.snapElements[c].item})),i.snapElements[c].snapping=!1)}}),t.ui.plugin.add("draggable","stack",{start:function(){var e,n=t(this).data("draggable").options;
|
||
n=t.makeArray(t(n.stack)).sort(function(e,n){return(parseInt(t(e).css("zIndex"),10)||0)-(parseInt(t(n).css("zIndex"),10)||0)}),n.length&&(e=parseInt(n[0].style.zIndex)||0,t(n).each(function(t){this.style.zIndex=e+t}),this[0].style.zIndex=e+n.length)}}),t.ui.plugin.add("draggable","zIndex",{start:function(e,n){e=t(n.helper),n=t(this).data("draggable").options,e.css("zIndex")&&(n._zIndex=e.css("zIndex")),e.css("zIndex",n.zIndex)},stop:function(e,n){e=t(this).data("draggable").options,e._zIndex&&t(n.helper).css("zIndex",e._zIndex)}})}(jQuery),function(t){t.widget("ui.resizable",t.ui.mouse,{widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1e3},_create:function(){var e,n,i,r,o=this,s=this.options;if(this.element.addClass("ui-resizable"),t.extend(this,{_aspectRatio:!!s.aspectRatio,aspectRatio:s.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:s.helper||s.ghost||s.animate?s.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)&&(/relative/.test(this.element.css("position"))&&t.browser.opera&&this.element.css({position:"relative",top:"auto",left:"auto"}),this.element.wrap(t('<div class="ui-wrapper" style="overflow: hidden;"></div>').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("resizable",this.element.data("resizable")),this.elementIsWrapper=!0,this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")}),this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0}),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css({margin:this.originalElement.css("margin")}),this._proportionallyResize()),this.handles=s.handles||(t(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this.handles.constructor==String)for("all"==this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),e=this.handles.split(","),this.handles={},n=0;n<e.length;n++)i=t.trim(e[n]),r=t('<div class="ui-resizable-handle ui-resizable-'+i+'"></div>'),/sw|se|ne|nw/.test(i)&&r.css({zIndex:++s.zIndex}),"se"==i&&r.addClass("ui-icon ui-icon-gripsmall-diagonal-se"),this.handles[i]=".ui-resizable-"+i,this.element.append(r);this._renderAxis=function(e){var n,i,r;e=e||this.element;for(n in this.handles)this.handles[n].constructor==String&&(this.handles[n]=t(this.handles[n],this.element).show()),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)&&(i=t(this.handles[n],this.element),r=0,r=/sw|ne|nw|se|n|s/.test(n)?i.outerHeight():i.outerWidth(),i="padding"+(/ne|nw|n/.test(n)?"Top":/se|sw|s/.test(n)?"Bottom":/^e$/.test(n)?"Right":"Left"),e.css(i,r),this._proportionallyResize()),t(this.handles[n])},this._renderAxis(this.element),this._handles=t(".ui-resizable-handle",this.element).disableSelection(),this._handles.mouseover(function(){if(!o.resizing){if(this.className)var t=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);o.axis=t&&t[1]?t[1]:"se"}}),s.autoHide&&(this._handles.hide(),t(this.element).addClass("ui-resizable-autohide").hover(function(){t(this).removeClass("ui-resizable-autohide"),o._handles.show()},function(){o.resizing||(t(this).addClass("ui-resizable-autohide"),o._handles.hide())})),this._mouseInit()},destroy:function(){var e,n;return this._mouseDestroy(),e=function(e){t(e).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()},this.elementIsWrapper&&(e(this.element),n=this.element,n.after(this.originalElement.css({position:n.css("position"),width:n.outerWidth(),height:n.outerHeight(),top:n.css("top"),left:n.css("left")})).remove()),this.originalElement.css("resize",this.originalResizeStyle),e(this.originalElement),this},_mouseCapture:function(e){var n,i=!1;for(n in this.handles)t(this.handles[n])[0]==e.target&&(i=!0);return!this.options.disabled&&i},_mouseStart:function(n){var i,r=this.options,o=this.element.position(),s=this.element;return this.resizing=!0,this.documentScroll={top:t(document).scrollTop(),left:t(document).scrollLeft()},(s.is(".ui-draggable")||/absolute/.test(s.css("position")))&&s.css({position:"absolute",top:o.top,left:o.left}),t.browser.opera&&/relative/.test(s.css("position"))&&s.css({position:"relative",top:"auto",left:"auto"}),this._renderProxy(),o=e(this.helper.css("left")),i=e(this.helper.css("top")),r.containment&&(o+=t(r.containment).scrollLeft()||0,i+=t(r.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:o,top:i},this.size=this._helper?{width:s.outerWidth(),height:s.outerHeight()}:{width:s.width(),height:s.height()},this.originalSize=this._helper?{width:s.outerWidth(),height:s.outerHeight()}:{width:s.width(),height:s.height()},this.originalPosition={left:o,top:i},this.sizeDiff={width:s.outerWidth()-s.width(),height:s.outerHeight()-s.height()},this.originalMousePosition={left:n.pageX,top:n.pageY},this.aspectRatio="number"==typeof r.aspectRatio?r.aspectRatio:this.originalSize.width/this.originalSize.height||1,r=t(".ui-resizable-"+this.axis).css("cursor"),t("body").css("cursor","auto"==r?this.axis+"-resize":r),s.addClass("ui-resizable-resizing"),this._propagate("start",n),!0},_mouseDrag:function(t){var e=this.helper,n=this.originalMousePosition,i=this._change[this.axis];return i?(n=i.apply(this,[t,t.pageX-n.left||0,t.pageY-n.top||0]),(this._aspectRatio||t.shiftKey)&&(n=this._updateRatio(n,t)),n=this._respectSize(n,t),this._propagate("resize",t),e.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"}),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),this._updateCache(n),this._trigger("resize",t,this.ui()),!1):!1},_mouseStop:function(e){var n,i,r,o,s;return this.resizing=!1,n=this.options,i=this,this._helper&&(r=this._proportionallyResizeElements,o=r.length&&/textarea/i.test(r[0].nodeName),r=o&&t.ui.hasScroll(r[0],"left")?0:i.sizeDiff.height,o=o?0:i.sizeDiff.width,o={width:i.helper.width()-o,height:i.helper.height()-r},r=parseInt(i.element.css("left"),10)+(i.position.left-i.originalPosition.left)||null,s=parseInt(i.element.css("top"),10)+(i.position.top-i.originalPosition.top)||null,n.animate||this.element.css(t.extend(o,{top:s,left:r})),i.helper.height(i.size.height),i.helper.width(i.size.width),this._helper&&!n.animate&&this._proportionallyResize()),t("body").css("cursor","auto"),this.element.removeClass("ui-resizable-resizing"),this._propagate("stop",e),this._helper&&this.helper.remove(),!1},_updateCache:function(t){this.offset=this.helper.offset(),n(t.left)&&(this.position.left=t.left),n(t.top)&&(this.position.top=t.top),n(t.height)&&(this.size.height=t.height),n(t.width)&&(this.size.width=t.width)},_updateRatio:function(t){var e=this.position,n=this.size,i=this.axis;return t.height?t.width=n.height*this.aspectRatio:t.width&&(t.height=n.width/this.aspectRatio),"sw"==i&&(t.left=e.left+(n.width-t.width),t.top=null),"nw"==i&&(t.top=e.top+(n.height-t.height),t.left=e.left+(n.width-t.width)),t},_respectSize:function(t){var e,i,r,o=this.options,s=this.axis,a=n(t.width)&&o.maxWidth&&o.maxWidth<t.width,l=n(t.height)&&o.maxHeight&&o.maxHeight<t.height,u=n(t.width)&&o.minWidth&&o.minWidth>t.width,c=n(t.height)&&o.minHeight&&o.minHeight>t.height;return u&&(t.width=o.minWidth),c&&(t.height=o.minHeight),a&&(t.width=o.maxWidth),l&&(t.height=o.maxHeight),e=this.originalPosition.left+this.originalSize.width,i=this.position.top+this.size.height,r=/sw|nw|w/.test(s),s=/nw|ne|n/.test(s),u&&r&&(t.left=e-o.minWidth),a&&r&&(t.left=e-o.maxWidth),c&&s&&(t.top=i-o.minHeight),l&&s&&(t.top=i-o.maxHeight),(o=!t.width&&!t.height)&&!t.left&&t.top?t.top=null:o&&!t.top&&t.left&&(t.left=null),t},_proportionallyResize:function(){var e,n,i,r,o;if(this._proportionallyResizeElements.length)for(e=this.helper||this.element,n=0;n<this._proportionallyResizeElements.length;n++)i=this._proportionallyResizeElements[n],this.borderDif||(r=[i.css("borderTopWidth"),i.css("borderRightWidth"),i.css("borderBottomWidth"),i.css("borderLeftWidth")],o=[i.css("paddingTop"),i.css("paddingRight"),i.css("paddingBottom"),i.css("paddingLeft")],this.borderDif=t.map(r,function(t,e){return t=parseInt(t,10)||0,e=parseInt(o[e],10)||0,t+e})),t.browser.msie&&(t(e).is(":hidden")||t(e).parents(":hidden").length)||i.css({height:e.height()-this.borderDif[0]-this.borderDif[2]||0,width:e.width()-this.borderDif[1]-this.borderDif[3]||0})},_renderProxy:function(){var e,n,i=this.options;this.elementOffset=this.element.offset(),this._helper?(this.helper=this.helper||t('<div style="overflow:hidden;"></div>'),e=t.browser.msie&&t.browser.version<7,n=e?1:0,e=e?2:-1,this.helper.addClass(this._helper).css({width:this.element.outerWidth()+e,height:this.element.outerHeight()+e,position:"absolute",left:this.elementOffset.left-n+"px",top:this.elementOffset.top-n+"px",zIndex:++i.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){return{left:this.originalPosition.left+e,width:this.originalSize.width-e}},n:function(t,e,n){return{top:this.originalPosition.top+n,height:this.originalSize.height-n}},s:function(t,e,n){return{height:this.originalSize.height+n}},se:function(e,n,i){return t.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,n,i]))},sw:function(e,n,i){return t.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,n,i]))},ne:function(e,n,i){return t.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,n,i]))},nw:function(e,n,i){return t.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,n,i]))}},_propagate:function(e,n){t.ui.plugin.call(this,e,[n,this.ui()]),"resize"!=e&&this._trigger(e,n,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),t.extend(t.ui.resizable,{version:"1.8.11"}),t.ui.plugin.add("resizable","alsoResize",{start:function(){var e=t(this).data("resizable").options,n=function(e){t(e).each(function(){var e=t(this);e.data("resizable-alsoresize",{width:parseInt(e.width(),10),height:parseInt(e.height(),10),left:parseInt(e.css("left"),10),top:parseInt(e.css("top"),10),position:e.css("position")})})};"object"!=typeof e.alsoResize||e.alsoResize.parentNode?n(e.alsoResize):e.alsoResize.length?(e.alsoResize=e.alsoResize[0],n(e.alsoResize)):t.each(e.alsoResize,function(t){n(t)})},resize:function(e,n){var i,r,o,s,a=t(this).data("resizable");e=a.options,i=a.originalSize,r=a.originalPosition,o={height:a.size.height-i.height||0,width:a.size.width-i.width||0,top:a.position.top-r.top||0,left:a.position.left-r.left||0},s=function(e,i){t(e).each(function(){var e=t(this),r=t(this).data("resizable-alsoresize"),s={},l=i&&i.length?i:e.parents(n.originalElement[0]).length?["width","height"]:["width","height","top","left"];t.each(l,function(t,e){(t=(r[e]||0)+(o[e]||0))&&t>=0&&(s[e]=t||null)}),t.browser.opera&&/relative/.test(e.css("position"))&&(a._revertToRelativePosition=!0,e.css({position:"absolute",top:"auto",left:"auto"})),e.css(s)})},"object"!=typeof e.alsoResize||e.alsoResize.nodeType?s(e.alsoResize):t.each(e.alsoResize,function(t,e){s(t,e)})},stop:function(){var e=t(this).data("resizable"),n=e.options,i=function(e){t(e).each(function(){var e=t(this);e.css({position:e.data("resizable-alsoresize").position})})};e._revertToRelativePosition&&(e._revertToRelativePosition=!1,"object"!=typeof n.alsoResize||n.alsoResize.nodeType?i(n.alsoResize):t.each(n.alsoResize,function(t){i(t)})),t(this).removeData("resizable-alsoresize")}}),t.ui.plugin.add("resizable","animate",{stop:function(e){var n,i=t(this).data("resizable"),r=i.options,o=i._proportionallyResizeElements,s=o.length&&/textarea/i.test(o[0].nodeName),a=s&&t.ui.hasScroll(o[0],"left")?0:i.sizeDiff.height;s={width:i.size.width-(s?0:i.sizeDiff.width),height:i.size.height-a},a=parseInt(i.element.css("left"),10)+(i.position.left-i.originalPosition.left)||null,n=parseInt(i.element.css("top"),10)+(i.position.top-i.originalPosition.top)||null,i.element.animate(t.extend(s,n&&a?{top:n,left:a}:{}),{duration:r.animateDuration,easing:r.animateEasing,step:function(){var n={width:parseInt(i.element.css("width"),10),height:parseInt(i.element.css("height"),10),top:parseInt(i.element.css("top"),10),left:parseInt(i.element.css("left"),10)};o&&o.length&&t(o[0]).css({width:n.width,height:n.height}),i._updateCache(n),i._propagate("resize",e)}})}}),t.ui.plugin.add("resizable","containment",{start:function(){var n,i,r,o,s=t(this).data("resizable"),a=s.element,l=s.options.containment;(a=l instanceof t?l.get(0):/parent/.test(l)?a.parent().get(0):l)&&(s.containerElement=t(a),/document/.test(l)||l==document?(s.containerOffset={left:0,top:0},s.containerPosition={left:0,top:0},s.parentData={element:t(document),left:0,top:0,width:t(document).width(),height:t(document).height()||document.body.parentNode.scrollHeight}):(n=t(a),i=[],t(["Top","Right","Left","Bottom"]).each(function(t,r){i[t]=e(n.css("padding"+r))}),s.containerOffset=n.offset(),s.containerPosition=n.position(),s.containerSize={height:n.innerHeight()-i[3],width:n.innerWidth()-i[1]},l=s.containerOffset,r=s.containerSize.height,o=s.containerSize.width,o=t.ui.hasScroll(a,"left")?a.scrollWidth:o,r=t.ui.hasScroll(a)?a.scrollHeight:r,s.parentData={element:a,left:l.left,top:l.top,width:o,height:r}))},resize:function(e){var n,i,r=t(this).data("resizable"),o=r.options,s=r.containerOffset,a=r.position;e=r._aspectRatio||e.shiftKey,n={top:0,left:0},i=r.containerElement,i[0]!=document&&/static/.test(i.css("position"))&&(n=s),a.left<(r._helper?s.left:0)&&(r.size.width+=r._helper?r.position.left-s.left:r.position.left-n.left,e&&(r.size.height=r.size.width/o.aspectRatio),r.position.left=o.helper?s.left:0),a.top<(r._helper?s.top:0)&&(r.size.height+=r._helper?r.position.top-s.top:r.position.top,e&&(r.size.width=r.size.height*o.aspectRatio),r.position.top=r._helper?s.top:0),r.offset.left=r.parentData.left+r.position.left,r.offset.top=r.parentData.top+r.position.top,o=Math.abs((r._helper?r.offset.left-n.left:r.offset.left-n.left)+r.sizeDiff.width),s=Math.abs((r._helper?r.offset.top-n.top:r.offset.top-s.top)+r.sizeDiff.height),a=r.containerElement.get(0)==r.element.parent().get(0),n=/relative|absolute/.test(r.containerElement.css("position")),a&&n&&(o-=r.parentData.left),o+r.size.width>=r.parentData.width&&(r.size.width=r.parentData.width-o,e&&(r.size.height=r.size.width/r.aspectRatio)),s+r.size.height>=r.parentData.height&&(r.size.height=r.parentData.height-s,e&&(r.size.width=r.size.height*r.aspectRatio))},stop:function(){var e=t(this).data("resizable"),n=e.options,i=e.containerOffset,r=e.containerPosition,o=e.containerElement,s=t(e.helper),a=s.offset(),l=s.outerWidth()-e.sizeDiff.width;s=s.outerHeight()-e.sizeDiff.height,e._helper&&!n.animate&&/relative/.test(o.css("position"))&&t(this).css({left:a.left-r.left-i.left,width:l,height:s}),e._helper&&!n.animate&&/static/.test(o.css("position"))&&t(this).css({left:a.left-r.left-i.left,width:l,height:s})}}),t.ui.plugin.add("resizable","ghost",{start:function(){var e=t(this).data("resizable"),n=e.options,i=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:"block",position:"relative",height:i.height,width:i.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass("string"==typeof n.ghost?n.ghost:""),e.ghost.appendTo(e.helper)},resize:function(){var e=t(this).data("resizable");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=t(this).data("resizable");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),t.ui.plugin.add("resizable","grid",{resize:function(){var e,n=t(this).data("resizable"),i=n.options,r=n.size,o=n.originalSize,s=n.originalPosition,a=n.axis;i.grid="number"==typeof i.grid?[i.grid,i.grid]:i.grid,e=Math.round((r.width-o.width)/(i.grid[0]||1))*(i.grid[0]||1),i=Math.round((r.height-o.height)/(i.grid[1]||1))*(i.grid[1]||1),/^(se|s|e)$/.test(a)?(n.size.width=o.width+e,n.size.height=o.height+i):/^(ne)$/.test(a)?(n.size.width=o.width+e,n.size.height=o.height+i,n.position.top=s.top-i):(/^(sw)$/.test(a)?(n.size.width=o.width+e,n.size.height=o.height+i):(n.size.width=o.width+e,n.size.height=o.height+i,n.position.top=s.top-i),n.position.left=s.left-e)}});var e=function(t){return parseInt(t,10)||0},n=function(t){return!isNaN(parseInt(t,10))}}(jQuery),function(t){t.widget("ui.sortable",t.ui.mouse,{widgetEventPrefix:"sort",options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3},_create:function(){this.containerCache={},this.element.addClass("ui-sortable"),this.refresh(),this.floating=this.items.length?/left|right/.test(this.items[0].item.css("float"))||/inline|table-cell/.test(this.items[0].item.css("display")):!1,this.offset=this.element.offset(),this._mouseInit()},destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled").removeData("sortable").unbind(".sortable"),this._mouseDestroy();for(var t=this.items.length-1;t>=0;t--)this.items[t].item.removeData("sortable-item");return this},_setOption:function(e,n){"disabled"===e?(this.options[e]=n,this.widget()[n?"addClass":"removeClass"]("ui-sortable-disabled")):t.Widget.prototype._setOption.apply(this,arguments)},_mouseCapture:function(e,n){var i,r,o;return this.reverting?!1:this.options.disabled||"static"==this.options.type?!1:(this._refreshItems(e),i=null,r=this,t(e.target).parents().each(function(){return t.data(this,"sortable-item")==r?(i=t(this),!1):void 0}),t.data(e.target,"sortable-item")==r&&(i=t(e.target)),i&&(!this.options.handle||n||(o=!1,t(this.options.handle,i).find("*").andSelf().each(function(){this==e.target&&(o=!0)}),o))?(this.currentItem=i,this._removeCurrentsFromItems(),!0):!1)},_mouseStart:function(e,n,i){n=this.options;var r=this;if(this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(e),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),t.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,n.cursorAt&&this._adjustOffsetFromHelper(n.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!=this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),n.containment&&this._setContainment(),n.cursor&&(t("body").css("cursor")&&(this._storedCursor=t("body").css("cursor")),t("body").css("cursor",n.cursor)),n.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",n.opacity)),n.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",n.zIndex)),this.scrollParent[0]!=document&&"HTML"!=this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",e,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!i)for(i=this.containers.length-1;i>=0;i--)this.containers[i]._trigger("activate",e,r._uiHash(this));return t.ui.ddmanager&&(t.ui.ddmanager.current=this),t.ui.ddmanager&&!n.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this.dragging=!0,this.helper.addClass("ui-sortable-helper"),this._mouseDrag(e),!0},_mouseDrag:function(e){var n,i,r,o;for(this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(n=this.options,i=!1,this.scrollParent[0]!=document&&"HTML"!=this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-e.pageY<n.scrollSensitivity?this.scrollParent[0].scrollTop=i=this.scrollParent[0].scrollTop+n.scrollSpeed:e.pageY-this.overflowOffset.top<n.scrollSensitivity&&(this.scrollParent[0].scrollTop=i=this.scrollParent[0].scrollTop-n.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-e.pageX<n.scrollSensitivity?this.scrollParent[0].scrollLeft=i=this.scrollParent[0].scrollLeft+n.scrollSpeed:e.pageX-this.overflowOffset.left<n.scrollSensitivity&&(this.scrollParent[0].scrollLeft=i=this.scrollParent[0].scrollLeft-n.scrollSpeed)):(e.pageY-t(document).scrollTop()<n.scrollSensitivity?i=t(document).scrollTop(t(document).scrollTop()-n.scrollSpeed):t(window).height()-(e.pageY-t(document).scrollTop())<n.scrollSensitivity&&(i=t(document).scrollTop(t(document).scrollTop()+n.scrollSpeed)),e.pageX-t(document).scrollLeft()<n.scrollSensitivity?i=t(document).scrollLeft(t(document).scrollLeft()-n.scrollSpeed):t(window).width()-(e.pageX-t(document).scrollLeft())<n.scrollSensitivity&&(i=t(document).scrollLeft(t(document).scrollLeft()+n.scrollSpeed))),i!==!1&&t.ui.ddmanager&&!n.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e)),this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"==this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"==this.options.axis||(this.helper[0].style.top=this.position.top+"px"),n=this.items.length-1;n>=0;n--)if(i=this.items[n],r=i.item[0],o=this._intersectsWithPointer(i),o&&r!=this.currentItem[0]&&this.placeholder[1==o?"next":"prev"]()[0]!=r&&!t.ui.contains(this.placeholder[0],r)&&("semi-dynamic"==this.options.type?!t.ui.contains(this.element[0],r):!0)){if(this.direction=1==o?"down":"up","pointer"!=this.options.tolerance&&!this._intersectsWithSides(i))break;this._rearrange(e,i),this._trigger("change",e,this._uiHash());break}return this._contactContainers(e),t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),this._trigger("sort",e,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(e,n){if(e){if(t.ui.ddmanager&&!this.options.dropBehaviour&&t.ui.ddmanager.drop(this,e),this.options.revert){var i=this;n=i.placeholder.offset(),i.reverting=!0,t(this.helper).animate({left:n.left-this.offset.parent.left-i.margins.left+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollLeft),top:n.top-this.offset.parent.top-i.margins.top+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollTop)},parseInt(this.options.revert,10)||500,function(){i._clear(e)})}else this._clear(e,n);return!1}},cancel:function(){var e,n=this;if(this.dragging)for(this._mouseUp({target:null}),"original"==this.options.helper?this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"):this.currentItem.show(),e=this.containers.length-1;e>=0;e--)this.containers[e]._trigger("deactivate",null,n._uiHash(this)),this.containers[e].containerCache.over&&(this.containers[e]._trigger("out",null,n._uiHash(this)),this.containers[e].containerCache.over=0);return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!=this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),t.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?t(this.domPosition.prev).after(this.currentItem):t(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(e){var n=this._getItemsAsjQuery(e&&e.connected),i=[];return e=e||{},t(n).each(function(){var n=(t(e.item||this).attr(e.attribute||"id")||"").match(e.expression||/(.+)[-=_](.+)/);n&&i.push((e.key||n[1]+"[]")+"="+(e.key&&e.expression?n[1]:n[2]))}),!i.length&&e.key&&i.push(e.key+"="),i.join("&")},toArray:function(e){var n=this._getItemsAsjQuery(e&&e.connected),i=[];return e=e||{},n.each(function(){i.push(t(e.item||this).attr(e.attribute||"id")||"")}),i},_intersectsWith:function(t){var e=this.positionAbs.left,n=e+this.helperProportions.width,i=this.positionAbs.top,r=i+this.helperProportions.height,o=t.left,s=o+t.width,a=t.top,l=a+t.height,u=this.offset.click.top,c=this.offset.click.left;return u=i+u>a&&l>i+u&&e+c>o&&s>e+c,"pointer"==this.options.tolerance||this.options.forcePointerForContainers||"pointer"!=this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>t[this.floating?"width":"height"]?u:o<e+this.helperProportions.width/2&&n-this.helperProportions.width/2<s&&a<i+this.helperProportions.height/2&&r-this.helperProportions.height/2<l},_intersectsWithPointer:function(e){var n,i=t.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,e.top,e.height);return e=t.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,e.left,e.width),i=i&&e,e=this._getDragVerticalDirection(),n=this._getDragHorizontalDirection(),i?this.floating?n&&"right"==n||"down"==e?2:1:e&&("down"==e?2:1):!1},_intersectsWithSides:function(e){var n,i,r=t.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,e.top+e.height/2,e.height);return e=t.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,e.left+e.width/2,e.width),n=this._getDragVerticalDirection(),i=this._getDragHorizontalDirection(),this.floating&&i?"right"==i&&e||"left"==i&&!e:n&&("down"==n&&r||"up"==n&&!r)},_getDragVerticalDirection:function(){var t=this.positionAbs.top-this.lastPositionAbs.top;return 0!=t&&(t>0?"down":"up")},_getDragHorizontalDirection:function(){var t=this.positionAbs.left-this.lastPositionAbs.left;return 0!=t&&(t>0?"right":"left")},refresh:function(t){return this._refreshItems(t),this.refreshPositions(),this},_connectWith:function(){var t=this.options;return t.connectWith.constructor==String?[t.connectWith]:t.connectWith},_getItemsAsjQuery:function(e){var n,i,r,o=[],s=[],a=this._connectWith();if(a&&e)for(e=a.length-1;e>=0;e--)for(n=t(a[e]),i=n.length-1;i>=0;i--)r=t.data(n[i],"sortable"),r&&r!=this&&!r.options.disabled&&s.push([t.isFunction(r.options.items)?r.options.items.call(r.element):t(r.options.items,r.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),r]);for(s.push([t.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):t(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),e=s.length-1;e>=0;e--)s[e][0].each(function(){o.push(this)});return t(o)},_removeCurrentsFromItems:function(){var t,e,n;for(t=this.currentItem.find(":data(sortable-item)"),e=0;e<this.items.length;e++)for(n=0;n<t.length;n++)t[n]==this.items[e].item[0]&&this.items.splice(e,1)},_refreshItems:function(e){var n,i,r,o,s,a,l;if(this.items=[],this.containers=[this],n=this.items,i=[[t.isFunction(this.options.items)?this.options.items.call(this.element[0],e,{item:this.currentItem}):t(this.options.items,this.element),this]],r=this._connectWith(),r)for(o=r.length-1;o>=0;o--)for(s=t(r[o]),a=s.length-1;a>=0;a--)l=t.data(s[a],"sortable"),l&&l!=this&&!l.options.disabled&&(i.push([t.isFunction(l.options.items)?l.options.items.call(l.element[0],e,{item:this.currentItem}):t(l.options.items,l.element),l]),this.containers.push(l));for(o=i.length-1;o>=0;o--)for(e=i[o][1],r=i[o][0],a=0,s=r.length;s>a;a++)l=t(r[a]),l.data("sortable-item",e),n.push({item:l,instance:e,width:0,height:0,left:0,top:0})},refreshPositions:function(e){var n,i,r;for(this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset()),n=this.items.length-1;n>=0;n--)i=this.items[n],r=this.options.toleranceElement?t(this.options.toleranceElement,i.item):i.item,e||(i.width=r.outerWidth(),i.height=r.outerHeight()),r=r.offset(),i.left=r.left,i.top=r.top;if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(n=this.containers.length-1;n>=0;n--)r=this.containers[n].element.offset(),this.containers[n].containerCache.left=r.left,this.containers[n].containerCache.top=r.top,this.containers[n].containerCache.width=this.containers[n].element.outerWidth(),this.containers[n].containerCache.height=this.containers[n].element.outerHeight();return this},_createPlaceholder:function(e){var n,i=e||this,r=i.options;r.placeholder&&r.placeholder.constructor!=String||(n=r.placeholder,r.placeholder={element:function(){var e=t(document.createElement(i.currentItem[0].nodeName)).addClass(n||i.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper")[0];return n||(e.style.visibility="hidden"),e},update:function(t,e){n&&!r.forcePlaceholderSize||(e.height()||e.height(i.currentItem.innerHeight()-parseInt(i.currentItem.css("paddingTop")||0,10)-parseInt(i.currentItem.css("paddingBottom")||0,10)),e.width()||e.width(i.currentItem.innerWidth()-parseInt(i.currentItem.css("paddingLeft")||0,10)-parseInt(i.currentItem.css("paddingRight")||0,10)))}}),i.placeholder=t(r.placeholder.element.call(i.element,i.currentItem)),i.currentItem.after(i.placeholder),r.placeholder.update(i,i.placeholder)},_contactContainers:function(e){var n,i,r,o,s,a;for(n=null,i=null,r=this.containers.length-1;r>=0;r--)t.ui.contains(this.currentItem[0],this.containers[r].element[0])||(this._intersectsWith(this.containers[r].containerCache)?n&&t.ui.contains(this.containers[r].element[0],n.element[0])||(n=this.containers[r],i=r):this.containers[r].containerCache.over&&(this.containers[r]._trigger("out",e,this._uiHash(this)),this.containers[r].containerCache.over=0));if(n)if(1===this.containers.length)this.containers[i]._trigger("over",e,this._uiHash(this)),this.containers[i].containerCache.over=1;else if(this.currentContainer!=this.containers[i]){for(n=1e4,r=null,o=this.positionAbs[this.containers[i].floating?"left":"top"],s=this.items.length-1;s>=0;s--)t.ui.contains(this.containers[i].element[0],this.items[s].item[0])&&(a=this.items[s][this.containers[i].floating?"left":"top"],Math.abs(a-o)<n&&(n=Math.abs(a-o),r=this.items[s]));(r||this.options.dropOnEmpty)&&(this.currentContainer=this.containers[i],r?this._rearrange(e,r,null,!0):this._rearrange(e,null,this.containers[i].element,!0),this._trigger("change",e,this._uiHash()),this.containers[i]._trigger("change",e,this._uiHash(this)),this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[i]._trigger("over",e,this._uiHash(this)),this.containers[i].containerCache.over=1)}},_createHelper:function(e){var n=this.options;return e=t.isFunction(n.helper)?t(n.helper.apply(this.element[0],[e,this.currentItem])):"clone"==n.helper?this.currentItem.clone():this.currentItem,e.parents("body").length||t("parent"!=n.appendTo?n.appendTo:this.currentItem[0].parentNode)[0].appendChild(e[0]),e[0]==this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),
|
||
left:this.currentItem.css("left")}),(""==e[0].style.width||n.forceHelperSize)&&e.width(this.currentItem.width()),(""==e[0].style.height||n.forceHelperSize)&&e.height(this.currentItem.height()),e},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var e=this.offsetParent.offset();return"absolute"==this.cssPosition&&this.scrollParent[0]!=document&&t.ui.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&"html"==this.offsetParent[0].tagName.toLowerCase()&&t.browser.msie)&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"==this.cssPosition){var t=this.currentItem.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,n,i=this.options;"parent"==i.containment&&(i.containment=this.helper[0].parentNode),"document"!=i.containment&&"window"!=i.containment||(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,t("document"==i.containment?document:window).width()-this.helperProportions.width-this.margins.left,(t("document"==i.containment?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(i.containment)||(e=t(i.containment)[0],i=t(i.containment).offset(),n="hidden"!=t(e).css("overflow"),this.containment=[i.left+(parseInt(t(e).css("borderLeftWidth"),10)||0)+(parseInt(t(e).css("paddingLeft"),10)||0)-this.margins.left,i.top+(parseInt(t(e).css("borderTopWidth"),10)||0)+(parseInt(t(e).css("paddingTop"),10)||0)-this.margins.top,i.left+(n?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(t(e).css("borderLeftWidth"),10)||0)-(parseInt(t(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,i.top+(n?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(t(e).css("borderTopWidth"),10)||0)-(parseInt(t(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(e,n){n||(n=this.position),e="absolute"==e?1:-1;var i="absolute"!=this.cssPosition||this.scrollParent[0]!=document&&t.ui.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,r=/(html|body)/i.test(i[0].tagName);return{top:n.top+this.offset.relative.top*e+this.offset.parent.top*e-(t.browser.safari&&"fixed"==this.cssPosition?0:("fixed"==this.cssPosition?-this.scrollParent.scrollTop():r?0:i.scrollTop())*e),left:n.left+this.offset.relative.left*e+this.offset.parent.left*e-(t.browser.safari&&"fixed"==this.cssPosition?0:("fixed"==this.cssPosition?-this.scrollParent.scrollLeft():r?0:i.scrollLeft())*e)}},_generatePosition:function(e){var n,i,r=this.options,o="absolute"!=this.cssPosition||this.scrollParent[0]!=document&&t.ui.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,s=/(html|body)/i.test(o[0].tagName);return"relative"!=this.cssPosition||this.scrollParent[0]!=document&&this.scrollParent[0]!=this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),n=e.pageX,i=e.pageY,this.originalPosition&&(this.containment&&(e.pageX-this.offset.click.left<this.containment[0]&&(n=this.containment[0]+this.offset.click.left),e.pageY-this.offset.click.top<this.containment[1]&&(i=this.containment[1]+this.offset.click.top),e.pageX-this.offset.click.left>this.containment[2]&&(n=this.containment[2]+this.offset.click.left),e.pageY-this.offset.click.top>this.containment[3]&&(i=this.containment[3]+this.offset.click.top)),r.grid&&(i=this.originalPageY+Math.round((i-this.originalPageY)/r.grid[1])*r.grid[1],i=this.containment&&(i-this.offset.click.top<this.containment[1]||i-this.offset.click.top>this.containment[3])?i-this.offset.click.top<this.containment[1]?i+r.grid[1]:i-r.grid[1]:i,n=this.originalPageX+Math.round((n-this.originalPageX)/r.grid[0])*r.grid[0],n=this.containment&&(n-this.offset.click.left<this.containment[0]||n-this.offset.click.left>this.containment[2])?n-this.offset.click.left<this.containment[0]?n+r.grid[0]:n-r.grid[0]:n)),{top:i-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(t.browser.safari&&"fixed"==this.cssPosition?0:"fixed"==this.cssPosition?-this.scrollParent.scrollTop():s?0:o.scrollTop()),left:n-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(t.browser.safari&&"fixed"==this.cssPosition?0:"fixed"==this.cssPosition?-this.scrollParent.scrollLeft():s?0:o.scrollLeft())}},_rearrange:function(t,e,n,i){n?n[0].appendChild(this.placeholder[0]):e.item[0].parentNode.insertBefore(this.placeholder[0],"down"==this.direction?e.item[0]:e.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var r=this,o=this.counter;window.setTimeout(function(){o==r.counter&&r.refreshPositions(!i)},0)},_clear:function(e,n){var i,r;if(this.reverting=!1,i=[],!this._noFinalSort&&this.currentItem[0].parentNode&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]==this.currentItem[0]){for(r in this._storedCSS)"auto"!=this._storedCSS[r]&&"static"!=this._storedCSS[r]||(this._storedCSS[r]="");this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")}else this.currentItem.show();if(this.fromOutside&&!n&&i.push(function(t){this._trigger("receive",t,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev==this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent==this.currentItem.parent()[0]||n||i.push(function(t){this._trigger("update",t,this._uiHash())}),!t.ui.contains(this.element[0],this.currentItem[0]))for(n||i.push(function(t){this._trigger("remove",t,this._uiHash())}),r=this.containers.length-1;r>=0;r--)t.ui.contains(this.containers[r].element[0],this.currentItem[0])&&!n&&(i.push(function(t){return function(e){t._trigger("receive",e,this._uiHash(this))}}.call(this,this.containers[r])),i.push(function(t){return function(e){t._trigger("update",e,this._uiHash(this))}}.call(this,this.containers[r])));for(r=this.containers.length-1;r>=0;r--)n||i.push(function(t){return function(e){t._trigger("deactivate",e,this._uiHash(this))}}.call(this,this.containers[r])),this.containers[r].containerCache.over&&(i.push(function(t){return function(e){t._trigger("out",e,this._uiHash(this))}}.call(this,this.containers[r])),this.containers[r].containerCache.over=0);if(this._storedCursor&&t("body").css("cursor",this._storedCursor),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"==this._storedZIndex?"":this._storedZIndex),this.dragging=!1,this.cancelHelperRemoval){if(!n){for(this._trigger("beforeStop",e,this._uiHash()),r=0;r<i.length;r++)i[r].call(this,e);this._trigger("stop",e,this._uiHash())}return!1}if(n||this._trigger("beforeStop",e,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.helper[0]!=this.currentItem[0]&&this.helper.remove(),this.helper=null,!n){for(r=0;r<i.length;r++)i[r].call(this,e);this._trigger("stop",e,this._uiHash())}return this.fromOutside=!1,!0},_trigger:function(){t.Widget.prototype._trigger.apply(this,arguments)===!1&&this.cancel()},_uiHash:function(e){var n=e||this;return{helper:n.helper,placeholder:n.placeholder||t([]),position:n.position,originalPosition:n.originalPosition,offset:n.positionAbs,item:n.currentItem,sender:e?e.element:null}}}),t.extend(t.ui.sortable,{version:"1.8.11"})}(jQuery),function(t){t.widget("ui.slider",t.ui.mouse,{widgetEventPrefix:"slide",options:{animate:!1,distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null},_create:function(){var e=this,n=this.options;if(this._mouseSliding=this._keySliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget ui-widget-content ui-corner-all"),n.disabled&&this.element.addClass("ui-slider-disabled ui-disabled"),this.range=t([]),n.range&&(n.range===!0?(this.range=t("<div></div>"),n.values||(n.values=[this._valueMin(),this._valueMin()]),n.values.length&&2!==n.values.length&&(n.values=[n.values[0],n.values[0]])):this.range=t("<div></div>"),this.range.appendTo(this.element).addClass("ui-slider-range"),"min"!==n.range&&"max"!==n.range||this.range.addClass("ui-slider-range-"+n.range),this.range.addClass("ui-widget-header")),0===t(".ui-slider-handle",this.element).length&&t("<a href='#'></a>").appendTo(this.element).addClass("ui-slider-handle"),n.values&&n.values.length)for(;t(".ui-slider-handle",this.element).length<n.values.length;)t("<a href='#'></a>").appendTo(this.element).addClass("ui-slider-handle");this.handles=t(".ui-slider-handle",this.element).addClass("ui-state-default ui-corner-all"),this.handle=this.handles.eq(0),this.handles.add(this.range).filter("a").click(function(t){t.preventDefault()}).hover(function(){n.disabled||t(this).addClass("ui-state-hover")},function(){t(this).removeClass("ui-state-hover")}).focus(function(){n.disabled?t(this).blur():(t(".ui-slider .ui-state-focus").removeClass("ui-state-focus"),t(this).addClass("ui-state-focus"))}).blur(function(){t(this).removeClass("ui-state-focus")}),this.handles.each(function(e){t(this).data("index.ui-slider-handle",e)}),this.handles.keydown(function(n){var i,r,o,s=!0,a=t(this).data("index.ui-slider-handle");if(!e.options.disabled){switch(n.keyCode){case t.ui.keyCode.HOME:case t.ui.keyCode.END:case t.ui.keyCode.PAGE_UP:case t.ui.keyCode.PAGE_DOWN:case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(s=!1,!e._keySliding&&(e._keySliding=!0,t(this).addClass("ui-state-active"),i=e._start(n,a),i===!1))return}switch(o=e.options.step,i=r=e.options.values&&e.options.values.length?e.values(a):e.value(),n.keyCode){case t.ui.keyCode.HOME:r=e._valueMin();break;case t.ui.keyCode.END:r=e._valueMax();break;case t.ui.keyCode.PAGE_UP:r=e._trimAlignValue(i+(e._valueMax()-e._valueMin())/5);break;case t.ui.keyCode.PAGE_DOWN:r=e._trimAlignValue(i-(e._valueMax()-e._valueMin())/5);break;case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:if(i===e._valueMax())return;r=e._trimAlignValue(i+o);break;case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(i===e._valueMin())return;r=e._trimAlignValue(i-o)}return e._slide(n,a,r),s}}).keyup(function(n){var i=t(this).data("index.ui-slider-handle");e._keySliding&&(e._keySliding=!1,e._stop(n,i),e._change(n,i),t(this).removeClass("ui-state-active"))}),this._refreshValue(),this._animateOff=!1},destroy:function(){return this.handles.remove(),this.range.remove(),this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all").removeData("slider").unbind(".slider"),this._mouseDestroy(),this},_mouseCapture:function(e){var n,i,r,o,s,a=this.options;return a.disabled?!1:(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),n=this._normValueFromMouse({x:e.pageX,y:e.pageY}),i=this._valueMax()-this._valueMin()+1,o=this,this.handles.each(function(e){var a=Math.abs(n-o.values(e));i>a&&(i=a,r=t(this),s=e)}),a.range===!0&&this.values(1)===a.min&&(s+=1,r=t(this.handles[s])),this._start(e,s)===!1?!1:(this._mouseSliding=!0,o._handleIndex=s,r.addClass("ui-state-active").focus(),a=r.offset(),this._clickOffset=t(e.target).parents().andSelf().is(".ui-slider-handle")?{left:e.pageX-a.left-r.width()/2,top:e.pageY-a.top-r.height()/2-(parseInt(r.css("borderTopWidth"),10)||0)-(parseInt(r.css("borderBottomWidth"),10)||0)+(parseInt(r.css("marginTop"),10)||0)}:{left:0,top:0},this.handles.hasClass("ui-state-hover")||this._slide(e,s,n),this._animateOff=!0))},_mouseStart:function(){return!0},_mouseDrag:function(t){var e=this._normValueFromMouse({x:t.pageX,y:t.pageY});return this._slide(t,this._handleIndex,e),!1},_mouseStop:function(t){return this.handles.removeClass("ui-state-active"),this._mouseSliding=!1,this._stop(t,this._handleIndex),this._change(t,this._handleIndex),this._clickOffset=this._handleIndex=null,this._animateOff=!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(t){var e;return"horizontal"===this.orientation?(e=this.elementSize.width,t=t.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(e=this.elementSize.height,t=t.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),e=t/e,e>1&&(e=1),0>e&&(e=0),"vertical"===this.orientation&&(e=1-e),t=this._valueMax()-this._valueMin(),this._trimAlignValue(this._valueMin()+e*t)},_start:function(t,e){var n={handle:this.handles[e],value:this.value()};return this.options.values&&this.options.values.length&&(n.value=this.values(e),n.values=this.values()),this._trigger("start",t,n)},_slide:function(t,e,n){var i;this.options.values&&this.options.values.length?(i=this.values(e?0:1),2===this.options.values.length&&this.options.range===!0&&(0===e&&n>i||1===e&&i>n)&&(n=i),n!==this.values(e)&&(i=this.values(),i[e]=n,t=this._trigger("slide",t,{handle:this.handles[e],value:n,values:i}),this.values(e?0:1),t!==!1&&this.values(e,n,!0))):n!==this.value()&&(t=this._trigger("slide",t,{handle:this.handles[e],value:n}),t!==!1&&this.value(n))},_stop:function(t,e){var n={handle:this.handles[e],value:this.value()};this.options.values&&this.options.values.length&&(n.value=this.values(e),n.values=this.values()),this._trigger("stop",t,n)},_change:function(t,e){if(!this._keySliding&&!this._mouseSliding){var n={handle:this.handles[e],value:this.value()};this.options.values&&this.options.values.length&&(n.value=this.values(e),n.values=this.values()),this._trigger("change",t,n)}},value:function(t){return arguments.length&&(this.options.value=this._trimAlignValue(t),this._refreshValue(),this._change(null,0)),this._value()},values:function(e,n){var i,r,o;if(arguments.length>1&&(this.options.values[e]=this._trimAlignValue(n),this._refreshValue(),this._change(null,e)),!arguments.length)return this._values();if(!t.isArray(arguments[0]))return this.options.values&&this.options.values.length?this._values(e):this.value();for(i=this.options.values,r=arguments[0],o=0;o<i.length;o+=1)i[o]=this._trimAlignValue(r[o]),this._change(null,o);this._refreshValue()},_setOption:function(e,n){var i,r=0;switch(t.isArray(this.options.values)&&(r=this.options.values.length),t.Widget.prototype._setOption.apply(this,arguments),e){case"disabled":n?(this.handles.filter(".ui-state-focus").blur(),this.handles.removeClass("ui-state-hover"),this.handles.attr("disabled","disabled"),this.element.addClass("ui-disabled")):(this.handles.removeAttr("disabled"),this.element.removeClass("ui-disabled"));break;case"orientation":this._detectOrientation(),this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation),this._refreshValue();break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),i=0;r>i;i+=1)this._change(null,i);this._animateOff=!1}},_value:function(){var t=this.options.value;return t=this._trimAlignValue(t)},_values:function(t){var e,n;if(arguments.length)return e=this.options.values[t],e=this._trimAlignValue(e);for(e=this.options.values.slice(),n=0;n<e.length;n+=1)e[n]=this._trimAlignValue(e[n]);return e},_trimAlignValue:function(t){var e,n,i;return t<=this._valueMin()?this._valueMin():t>=this._valueMax()?this._valueMax():(e=this.options.step>0?this.options.step:1,n=(t-this._valueMin())%e,i=t-n,2*Math.abs(n)>=e&&(i+=n>0?e:-e),parseFloat(i.toFixed(5)))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var e,n,i,r,o,s=this.options.range,a=this.options,l=this,u=this._animateOff?!1:a.animate,c={};this.options.values&&this.options.values.length?this.handles.each(function(i){e=(l.values(i)-l._valueMin())/(l._valueMax()-l._valueMin())*100,c["horizontal"===l.orientation?"left":"bottom"]=e+"%",t(this).stop(1,1)[u?"animate":"css"](c,a.animate),l.options.range===!0&&("horizontal"===l.orientation?(0===i&&l.range.stop(1,1)[u?"animate":"css"]({left:e+"%"},a.animate),1===i&&l.range[u?"animate":"css"]({width:e-n+"%"},{queue:!1,duration:a.animate})):(0===i&&l.range.stop(1,1)[u?"animate":"css"]({bottom:e+"%"},a.animate),1===i&&l.range[u?"animate":"css"]({height:e-n+"%"},{queue:!1,duration:a.animate}))),n=e}):(i=this.value(),r=this._valueMin(),o=this._valueMax(),e=o!==r?(i-r)/(o-r)*100:0,c["horizontal"===l.orientation?"left":"bottom"]=e+"%",this.handle.stop(1,1)[u?"animate":"css"](c,a.animate),"min"===s&&"horizontal"===this.orientation&&this.range.stop(1,1)[u?"animate":"css"]({width:e+"%"},a.animate),"max"===s&&"horizontal"===this.orientation&&this.range[u?"animate":"css"]({width:100-e+"%"},{queue:!1,duration:a.animate}),"min"===s&&"vertical"===this.orientation&&this.range.stop(1,1)[u?"animate":"css"]({height:e+"%"},a.animate),"max"===s&&"vertical"===this.orientation&&this.range[u?"animate":"css"]({height:100-e+"%"},{queue:!1,duration:a.animate}))}}),t.extend(t.ui.slider,{version:"1.8.11"})}(jQuery),function(d,A){function K(){this.debug=!1,this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._inDialog=this._datepickerShowing=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1},d.extend(this._defaults,this.regional[""]),this.dpDiv=d('<div id="'+this._mainDivId+'" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>')}function F(t,e){d.extend(t,e);for(var n in e)null!=e[n]&&e[n]!=A||(t[n]=e[n]);return t}d.extend(d.ui,{datepicker:{version:"1.8.11"}});var y=(new Date).getTime();d.extend(K.prototype,{markerClassName:"hasDatepicker",log:function(){this.debug&&console.log.apply("",arguments)},_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(t){return F(this._defaults,t||{}),this},_attachDatepicker:function(a,b){var e,f,i,c=null;for(e in this._defaults)if(f=a.getAttribute("date:"+e)){c=c||{};try{c[e]=eval(f)}catch(h){c[e]=f}}e=a.nodeName.toLowerCase(),f="div"==e||"span"==e,a.id||(this.uuid+=1,a.id="dp"+this.uuid),i=this._newInst(d(a),f),i.settings=d.extend({},b||{},c||{}),"input"==e?this._connectDatepicker(a,i):f&&this._inlineDatepicker(a,i)},_newInst:function(t,e){return{id:t[0].id.replace(/([^A-Za-z0-9_-])/g,"\\\\$1"),input:t,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:e,dpDiv:e?d('<div class="'+this._inlineClass+' ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>'):this.dpDiv}},_connectDatepicker:function(t,e){var n=d(t);e.append=d([]),e.trigger=d([]),n.hasClass(this.markerClassName)||(this._attachments(n,e),n.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp).bind("setData.datepicker",function(t,n,i){e.settings[n]=i}).bind("getData.datepicker",function(t,n){return this._get(e,n)}),this._autoSize(e),d.data(t,"datepicker",e))},_attachments:function(t,e){var n,i=this._get(e,"appendText"),r=this._get(e,"isRTL");e.append&&e.append.remove(),i&&(e.append=d('<span class="'+this._appendClass+'">'+i+"</span>"),t[r?"before":"after"](e.append)),t.unbind("focus",this._showDatepicker),e.trigger&&e.trigger.remove(),i=this._get(e,"showOn"),"focus"!=i&&"both"!=i||t.focus(this._showDatepicker),"button"!=i&&"both"!=i||(i=this._get(e,"buttonText"),n=this._get(e,"buttonImage"),e.trigger=d(this._get(e,"buttonImageOnly")?d("<img/>").addClass(this._triggerClass).attr({src:n,alt:i,title:i}):d('<button type="button"></button>').addClass(this._triggerClass).html(""==n?i:d("<img/>").attr({src:n,alt:i,title:i}))),t[r?"before":"after"](e.trigger),e.trigger.click(function(){return d.datepicker._datepickerShowing&&d.datepicker._lastInput==t[0]?d.datepicker._hideDatepicker():d.datepicker._showDatepicker(t[0]),!1}))},_autoSize:function(t){var e,n,i;this._get(t,"autoSize")&&!t.inline&&(e=new Date(2009,11,20),n=this._get(t,"dateFormat"),n.match(/[DM]/)&&(i=function(t){for(var e=0,n=0,i=0;i<t.length;i++)t[i].length>e&&(e=t[i].length,n=i);return n},e.setMonth(i(this._get(t,n.match(/MM/)?"monthNames":"monthNamesShort"))),e.setDate(i(this._get(t,n.match(/DD/)?"dayNames":"dayNamesShort"))+20-e.getDay())),t.input.attr("size",this._formatDate(t,e).length))},_inlineDatepicker:function(t,e){var n=d(t);n.hasClass(this.markerClassName)||(n.addClass(this.markerClassName).append(e.dpDiv).bind("setData.datepicker",function(t,n,i){e.settings[n]=i}).bind("getData.datepicker",function(t,n){return this._get(e,n)}),d.data(t,"datepicker",e),this._setDate(e,this._getDefaultDate(e),!0),this._updateDatepicker(e),this._updateAlternate(e),e.dpDiv.show())},_dialogDatepicker:function(t,e,n,i,r){return t=this._dialogInst,t||(this.uuid+=1,this._dialogInput=d('<input type="text" id="dp'+this.uuid+'" style="position: absolute; top: -100px; width: 0px; z-index: -10;"/>'),this._dialogInput.keydown(this._doKeyDown),d("body").append(this._dialogInput),t=this._dialogInst=this._newInst(this._dialogInput,!1),t.settings={},d.data(this._dialogInput[0],"datepicker",t)),F(t.settings,i||{}),e=e&&e.constructor==Date?this._formatDate(t,e):e,this._dialogInput.val(e),this._pos=r?r.length?r:[r.pageX,r.pageY]:null,this._pos||(this._pos=[document.documentElement.clientWidth/2-100+(document.documentElement.scrollLeft||document.body.scrollLeft),document.documentElement.clientHeight/2-150+(document.documentElement.scrollTop||document.body.scrollTop)]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),t.settings.onSelect=n,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),d.blockUI&&d.blockUI(this.dpDiv),d.data(this._dialogInput[0],"datepicker",t),this},_destroyDatepicker:function(t){var e,n=d(t),i=d.data(t,"datepicker");n.hasClass(this.markerClassName)&&(e=t.nodeName.toLowerCase(),d.removeData(t,"datepicker"),"input"==e?(i.append.remove(),i.trigger.remove(),n.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)):"div"!=e&&"span"!=e||n.removeClass(this.markerClassName).empty())},_enableDatepicker:function(t){var e,n=d(t),i=d.data(t,"datepicker");n.hasClass(this.markerClassName)&&(e=t.nodeName.toLowerCase(),"input"==e?(t.disabled=!1,i.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!=e&&"span"!=e||n.children("."+this._inlineClass).children().removeClass("ui-state-disabled"),this._disabledInputs=d.map(this._disabledInputs,function(e){return e==t?null:e}))},_disableDatepicker:function(t){var e,n=d(t),i=d.data(t,"datepicker");n.hasClass(this.markerClassName)&&(e=t.nodeName.toLowerCase(),"input"==e?(t.disabled=!0,i.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!=e&&"span"!=e||n.children("."+this._inlineClass).children().addClass("ui-state-disabled"),this._disabledInputs=d.map(this._disabledInputs,function(e){return e==t?null:e}),this._disabledInputs[this._disabledInputs.length]=t)},_isDisabledDatepicker:function(t){if(!t)return!1;for(var e=0;e<this._disabledInputs.length;e++)if(this._disabledInputs[e]==t)return!0;return!1},_getInst:function(t){try{return d.data(t,"datepicker")}catch(e){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(t,e,n){var i,r,o,s,a=this._getInst(t);return 2==arguments.length&&"string"==typeof e?"defaults"==e?d.extend({},d.datepicker._defaults):a?"all"==e?d.extend({},a.settings):this._get(a,e):null:(i=e||{},"string"==typeof e&&(i={},i[e]=n),void(a&&(this._curInst==a&&this._hideDatepicker(),r=this._getDateDatepicker(t,!0),o=this._getMinMaxDate(a,"min"),s=this._getMinMaxDate(a,"max"),F(a.settings,i),null!==o&&i.dateFormat!==A&&i.minDate===A&&(a.settings.minDate=this._formatDate(a,o)),null!==s&&i.dateFormat!==A&&i.maxDate===A&&(a.settings.maxDate=this._formatDate(a,s)),this._attachments(d(t),a),this._autoSize(a),this._setDateDatepicker(t,r),this._updateDatepicker(a))))},_changeDatepicker:function(t,e,n){this._optionDatepicker(t,e,n)},_refreshDatepicker:function(t){(t=this._getInst(t))&&this._updateDatepicker(t)},_setDateDatepicker:function(t,e){(t=this._getInst(t))&&(this._setDate(t,e),this._updateDatepicker(t),this._updateAlternate(t))},_getDateDatepicker:function(t,e){return(t=this._getInst(t))&&!t.inline&&this._setDateFromField(t,e),t?this._getDate(t):null},_doKeyDown:function(t){var e=d.datepicker._getInst(t.target),n=!0,i=e.dpDiv.is(".ui-datepicker-rtl");if(e._keyEvent=!0,d.datepicker._datepickerShowing)switch(t.keyCode){case 9:d.datepicker._hideDatepicker(),n=!1;break;case 13:return n=d("td."+d.datepicker._dayOverClass+":not(."+d.datepicker._currentClass+")",e.dpDiv),n[0]?d.datepicker._selectDay(t.target,e.selectedMonth,e.selectedYear,n[0]):d.datepicker._hideDatepicker(),!1;case 27:d.datepicker._hideDatepicker();break;case 33:d.datepicker._adjustDate(t.target,t.ctrlKey?-d.datepicker._get(e,"stepBigMonths"):-d.datepicker._get(e,"stepMonths"),"M");break;case 34:d.datepicker._adjustDate(t.target,t.ctrlKey?+d.datepicker._get(e,"stepBigMonths"):+d.datepicker._get(e,"stepMonths"),"M");break;case 35:(t.ctrlKey||t.metaKey)&&d.datepicker._clearDate(t.target),n=t.ctrlKey||t.metaKey;break;case 36:(t.ctrlKey||t.metaKey)&&d.datepicker._gotoToday(t.target),n=t.ctrlKey||t.metaKey;break;case 37:(t.ctrlKey||t.metaKey)&&d.datepicker._adjustDate(t.target,i?1:-1,"D"),n=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&d.datepicker._adjustDate(t.target,t.ctrlKey?-d.datepicker._get(e,"stepBigMonths"):-d.datepicker._get(e,"stepMonths"),"M");break;case 38:(t.ctrlKey||t.metaKey)&&d.datepicker._adjustDate(t.target,-7,"D"),n=t.ctrlKey||t.metaKey;break;case 39:(t.ctrlKey||t.metaKey)&&d.datepicker._adjustDate(t.target,i?-1:1,"D"),n=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&d.datepicker._adjustDate(t.target,t.ctrlKey?+d.datepicker._get(e,"stepBigMonths"):+d.datepicker._get(e,"stepMonths"),"M");break;case 40:(t.ctrlKey||t.metaKey)&&d.datepicker._adjustDate(t.target,7,"D"),n=t.ctrlKey||t.metaKey;break;default:n=!1}else 36==t.keyCode&&t.ctrlKey?d.datepicker._showDatepicker(this):n=!1;n&&(t.preventDefault(),t.stopPropagation())},_doKeyPress:function(t){var e,n=d.datepicker._getInst(t.target);return d.datepicker._get(n,"constrainInput")?(n=d.datepicker._possibleChars(d.datepicker._get(n,"dateFormat")),e=String.fromCharCode(t.charCode==A?t.keyCode:t.charCode),t.ctrlKey||t.metaKey||" ">e||!n||n.indexOf(e)>-1):void 0},_doKeyUp:function(t){if(t=d.datepicker._getInst(t.target),t.input.val()!=t.lastVal)try{d.datepicker.parseDate(d.datepicker._get(t,"dateFormat"),t.input?t.input.val():null,d.datepicker._getFormatConfig(t))&&(d.datepicker._setDateFromField(t),d.datepicker._updateAlternate(t),d.datepicker._updateDatepicker(t))}catch(e){d.datepicker.log(e)}return!0},_showDatepicker:function(t){var e,n,i,r,o;t=t.target||t,"input"!=t.nodeName.toLowerCase()&&(t=d("input",t.parentNode)[0]),d.datepicker._isDisabledDatepicker(t)||d.datepicker._lastInput==t||(e=d.datepicker._getInst(t),d.datepicker._curInst&&d.datepicker._curInst!=e&&d.datepicker._curInst.dpDiv.stop(!0,!0),n=d.datepicker._get(e,"beforeShow"),F(e.settings,n?n.apply(t,[t,e]):{}),e.lastVal=null,d.datepicker._lastInput=t,d.datepicker._setDateFromField(e),d.datepicker._inDialog&&(t.value=""),d.datepicker._pos||(d.datepicker._pos=d.datepicker._findPos(t),d.datepicker._pos[1]+=t.offsetHeight),i=!1,d(t).parents().each(function(){return i|="fixed"==d(this).css("position"),!i}),i&&d.browser.opera&&(d.datepicker._pos[0]-=document.documentElement.scrollLeft,d.datepicker._pos[1]-=document.documentElement.scrollTop),n={left:d.datepicker._pos[0],top:d.datepicker._pos[1]},d.datepicker._pos=null,e.dpDiv.empty(),e.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),d.datepicker._updateDatepicker(e),n=d.datepicker._checkOffset(e,n,i),e.dpDiv.css({position:d.datepicker._inDialog&&d.blockUI?"static":i?"fixed":"absolute",display:"none",left:n.left+"px",top:n.top+"px"}),e.inline||(n=d.datepicker._get(e,"showAnim"),r=d.datepicker._get(e,"duration"),o=function(){var t,n;d.datepicker._datepickerShowing=!0,t=e.dpDiv.find("iframe.ui-datepicker-cover"),t.length&&(n=d.datepicker._getBorders(e.dpDiv),t.css({left:-n[0],top:-n[1],width:e.dpDiv.outerWidth(),height:e.dpDiv.outerHeight()}))},e.dpDiv.zIndex(d(t).zIndex()+1),d.effects&&d.effects[n]?e.dpDiv.show(n,d.datepicker._get(e,"showOptions"),r,o):e.dpDiv[n||"show"](n?r:null,o),n&&r||o(),e.input.is(":visible")&&!e.input.is(":disabled")&&e.input.focus(),d.datepicker._curInst=e))},_updateDatepicker:function(t){var e,n,i=this,r=d.datepicker._getBorders(t.dpDiv);t.dpDiv.empty().append(this._generateHTML(t)),e=t.dpDiv.find("iframe.ui-datepicker-cover"),e.length&&e.css({left:-r[0],top:-r[1],width:t.dpDiv.outerWidth(),height:t.dpDiv.outerHeight()}),t.dpDiv.find("button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a").bind("mouseout",function(){d(this).removeClass("ui-state-hover"),-1!=this.className.indexOf("ui-datepicker-prev")&&d(this).removeClass("ui-datepicker-prev-hover"),-1!=this.className.indexOf("ui-datepicker-next")&&d(this).removeClass("ui-datepicker-next-hover")}).bind("mouseover",function(){i._isDisabledDatepicker(t.inline?t.dpDiv.parent()[0]:t.input[0])||(d(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),
|
||
d(this).addClass("ui-state-hover"),-1!=this.className.indexOf("ui-datepicker-prev")&&d(this).addClass("ui-datepicker-prev-hover"),-1!=this.className.indexOf("ui-datepicker-next")&&d(this).addClass("ui-datepicker-next-hover"))}).end().find("."+this._dayOverClass+" a").trigger("mouseover").end(),r=this._getNumberOfMonths(t),e=r[1],e>1?t.dpDiv.addClass("ui-datepicker-multi-"+e).css("width",17*e+"em"):t.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),t.dpDiv[(1!=r[0]||1!=r[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),t.dpDiv[(this._get(t,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),t==d.datepicker._curInst&&d.datepicker._datepickerShowing&&t.input&&t.input.is(":visible")&&!t.input.is(":disabled")&&t.input[0]!=document.activeElement&&t.input.focus(),t.yearshtml&&(n=t.yearshtml,setTimeout(function(){n===t.yearshtml&&t.dpDiv.find("select.ui-datepicker-year:first").replaceWith(t.yearshtml),n=t.yearshtml=null},0))},_getBorders:function(t){var e=function(t){return{thin:1,medium:2,thick:3}[t]||t};return[parseFloat(e(t.css("border-left-width"))),parseFloat(e(t.css("border-top-width")))]},_checkOffset:function(t,e,n){var i=t.dpDiv.outerWidth(),r=t.dpDiv.outerHeight(),o=t.input?t.input.outerWidth():0,s=t.input?t.input.outerHeight():0,a=document.documentElement.clientWidth+d(document).scrollLeft(),l=document.documentElement.clientHeight+d(document).scrollTop();return e.left-=this._get(t,"isRTL")?i-o:0,e.left-=n&&e.left==t.input.offset().left?d(document).scrollLeft():0,e.top-=n&&e.top==t.input.offset().top+s?d(document).scrollTop():0,e.left-=Math.min(e.left,e.left+i>a&&a>i?Math.abs(e.left+i-a):0),e.top-=Math.min(e.top,e.top+r>l&&l>r?Math.abs(r+s):0),e},_findPos:function(t){for(var e=this._get(this._getInst(t),"isRTL");t&&("hidden"==t.type||1!=t.nodeType||d.expr.filters.hidden(t));)t=t[e?"previousSibling":"nextSibling"];return t=d(t).offset(),[t.left,t.top]},_hideDatepicker:function(t){var e,n,i=this._curInst;!i||t&&i!=d.data(t,"datepicker")||this._datepickerShowing&&(t=this._get(i,"showAnim"),e=this._get(i,"duration"),n=function(){d.datepicker._tidyDialog(i),this._curInst=null},d.effects&&d.effects[t]?i.dpDiv.hide(t,d.datepicker._get(i,"showOptions"),e,n):i.dpDiv["slideDown"==t?"slideUp":"fadeIn"==t?"fadeOut":"hide"](t?e:null,n),t||n(),(t=this._get(i,"onClose"))&&t.apply(i.input?i.input[0]:null,[i.input?i.input.val():"",i]),this._datepickerShowing=!1,this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),d.blockUI&&(d.unblockUI(),d("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(t){t.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")},_checkExternalClick:function(t){d.datepicker._curInst&&(t=d(t.target),t[0].id!=d.datepicker._mainDivId&&0==t.parents("#"+d.datepicker._mainDivId).length&&!t.hasClass(d.datepicker.markerClassName)&&!t.hasClass(d.datepicker._triggerClass)&&d.datepicker._datepickerShowing&&!(d.datepicker._inDialog&&d.blockUI)&&d.datepicker._hideDatepicker())},_adjustDate:function(t,e,n){t=d(t);var i=this._getInst(t[0]);this._isDisabledDatepicker(t[0])||(this._adjustInstDate(i,e+("M"==n?this._get(i,"showCurrentAtPos"):0),n),this._updateDatepicker(i))},_gotoToday:function(t){var e,n;t=d(t),e=this._getInst(t[0]),this._get(e,"gotoCurrent")&&e.currentDay?(e.selectedDay=e.currentDay,e.drawMonth=e.selectedMonth=e.currentMonth,e.drawYear=e.selectedYear=e.currentYear):(n=new Date,e.selectedDay=n.getDate(),e.drawMonth=e.selectedMonth=n.getMonth(),e.drawYear=e.selectedYear=n.getFullYear()),this._notifyChange(e),this._adjustDate(t)},_selectMonthYear:function(t,e,n){t=d(t);var i=this._getInst(t[0]);i._selectingMonthYear=!1,i["selected"+("M"==n?"Month":"Year")]=i["draw"+("M"==n?"Month":"Year")]=parseInt(e.options[e.selectedIndex].value,10),this._notifyChange(i),this._adjustDate(t)},_clickMonthYear:function(t){var e=this._getInst(d(t)[0]);e.input&&e._selectingMonthYear&&setTimeout(function(){e.input.focus()},0),e._selectingMonthYear=!e._selectingMonthYear},_selectDay:function(t,e,n,i){var r=d(t);d(i).hasClass(this._unselectableClass)||this._isDisabledDatepicker(r[0])||(r=this._getInst(r[0]),r.selectedDay=r.currentDay=d("a",i).html(),r.selectedMonth=r.currentMonth=e,r.selectedYear=r.currentYear=n,this._selectDate(t,this._formatDate(r,r.currentDay,r.currentMonth,r.currentYear)))},_clearDate:function(t){t=d(t),this._getInst(t[0]),this._selectDate(t,"")},_selectDate:function(t,e){t=this._getInst(d(t)[0]),e=null!=e?e:this._formatDate(t),t.input&&t.input.val(e),this._updateAlternate(t);var n=this._get(t,"onSelect");n?n.apply(t.input?t.input[0]:null,[e,t]):t.input&&t.input.trigger("change"),t.inline?this._updateDatepicker(t):(this._hideDatepicker(),this._lastInput=t.input[0],"object"!=typeof t.input[0]&&t.input.focus(),this._lastInput=null)},_updateAlternate:function(t){var e,n,i,r=this._get(t,"altField");r&&(e=this._get(t,"altFormat")||this._get(t,"dateFormat"),n=this._getDate(t),i=this.formatDate(e,n,this._getFormatConfig(t)),d(r).each(function(){d(this).val(i)}))},noWeekends:function(t){return t=t.getDay(),[t>0&&6>t,""]},iso8601Week:function(t){t=new Date(t.getTime()),t.setDate(t.getDate()+4-(t.getDay()||7));var e=t.getTime();return t.setMonth(0),t.setDate(1),Math.floor(Math.round((e-t)/864e5)/7)+1},parseDate:function(t,e,n){var i,r,o,s,a,l,u,c,h,f,d,p,g,m,v,y;if(null==t||null==e)throw"Invalid arguments";if(e="object"==typeof e?""+e:e+"",""==e)return null;for(i=(n?n.shortYearCutoff:null)||this._defaults.shortYearCutoff,i="string"!=typeof i?i:(new Date).getFullYear()%100+parseInt(i,10),r=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,o=(n?n.dayNames:null)||this._defaults.dayNames,s=(n?n.monthNamesShort:null)||this._defaults.monthNamesShort,a=(n?n.monthNames:null)||this._defaults.monthNames,l=n=-1,u=-1,c=-1,h=!1,f=function(e){return(e=v+1<t.length&&t.charAt(v+1)==e)&&v++,e},d=function(t){var n=f(t);if(t=RegExp("^\\d{1,"+("@"==t?14:"!"==t?20:"y"==t&&n?4:"o"==t?3:2)+"}"),t=e.substring(m).match(t),!t)throw"Missing number at position "+m;return m+=t[0].length,parseInt(t[0],10)},p=function(t,n,i){for(t=f(t)?i:n,n=0;n<t.length;n++)if(e.substr(m,t[n].length).toLowerCase()==t[n].toLowerCase())return m+=t[n].length,n+1;throw"Unknown name at position "+m},g=function(){if(e.charAt(m)!=t.charAt(v))throw"Unexpected literal at position "+m;m++},m=0,v=0;v<t.length;v++)if(h)"'"!=t.charAt(v)||f("'")?g():h=!1;else switch(t.charAt(v)){case"d":u=d("d");break;case"D":p("D",r,o);break;case"o":c=d("o");break;case"m":l=d("m");break;case"M":l=p("M",s,a);break;case"y":n=d("y");break;case"@":y=new Date(d("@")),n=y.getFullYear(),l=y.getMonth()+1,u=y.getDate();break;case"!":y=new Date((d("!")-this._ticksTo1970)/1e4),n=y.getFullYear(),l=y.getMonth()+1,u=y.getDate();break;case"'":f("'")?g():h=!0;break;default:g()}if(-1==n?n=(new Date).getFullYear():100>n&&(n+=(new Date).getFullYear()-(new Date).getFullYear()%100+(i>=n?0:-100)),c>-1)for(l=1,u=c;;){if(i=this._getDaysInMonth(n,l-1),i>=u)break;l++,u-=i}if(y=this._daylightSavingAdjust(new Date(n,l-1,u)),y.getFullYear()!=n||y.getMonth()+1!=l||y.getDate()!=u)throw"Invalid date";return y},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7,formatDate:function(t,e,n){var i,r,o,s,a,l,u,c,h;if(!e)return"";if(i=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,r=(n?n.dayNames:null)||this._defaults.dayNames,o=(n?n.monthNamesShort:null)||this._defaults.monthNamesShort,n=(n?n.monthNames:null)||this._defaults.monthNames,s=function(e){return(e=h+1<t.length&&t.charAt(h+1)==e)&&h++,e},a=function(t,e,n){if(e=""+e,s(t))for(;e.length<n;)e="0"+e;return e},l=function(t,e,n,i){return s(t)?i[e]:n[e]},u="",c=!1,e)for(h=0;h<t.length;h++)if(c)"'"!=t.charAt(h)||s("'")?u+=t.charAt(h):c=!1;else switch(t.charAt(h)){case"d":u+=a("d",e.getDate(),2);break;case"D":u+=l("D",e.getDay(),i,r);break;case"o":u+=a("o",(e.getTime()-new Date(e.getFullYear(),0,0).getTime())/864e5,3);break;case"m":u+=a("m",e.getMonth()+1,2);break;case"M":u+=l("M",e.getMonth(),o,n);break;case"y":u+=s("y")?e.getFullYear():(e.getYear()%100<10?"0":"")+e.getYear()%100;break;case"@":u+=e.getTime();break;case"!":u+=1e4*e.getTime()+this._ticksTo1970;break;case"'":s("'")?u+="'":c=!0;break;default:u+=t.charAt(h)}return u},_possibleChars:function(t){for(var e="",n=!1,i=function(e){return(e=r+1<t.length&&t.charAt(r+1)==e)&&r++,e},r=0;r<t.length;r++)if(n)"'"!=t.charAt(r)||i("'")?e+=t.charAt(r):n=!1;else switch(t.charAt(r)){case"d":case"m":case"y":case"@":e+="0123456789";break;case"D":case"M":return null;case"'":i("'")?e+="'":n=!0;break;default:e+=t.charAt(r)}return e},_get:function(t,e){return t.settings[e]!==A?t.settings[e]:this._defaults[e]},_setDateFromField:function(t,e){var n,i,r,o,s;if(t.input.val()!=t.lastVal){n=this._get(t,"dateFormat"),i=t.lastVal=t.input?t.input.val():null,r=o=this._getDefaultDate(t),s=this._getFormatConfig(t);try{r=this.parseDate(n,i,s)||o}catch(a){this.log(a),i=e?"":i}t.selectedDay=r.getDate(),t.drawMonth=t.selectedMonth=r.getMonth(),t.drawYear=t.selectedYear=r.getFullYear(),t.currentDay=i?r.getDate():0,t.currentMonth=i?r.getMonth():0,t.currentYear=i?r.getFullYear():0,this._adjustInstDate(t)}},_getDefaultDate:function(t){return this._restrictMinMax(t,this._determineDate(t,this._get(t,"defaultDate"),new Date))},_determineDate:function(t,e,n){var i=function(t){var e=new Date;return e.setDate(e.getDate()+t),e},r=function(e){var n,i,r,o,s;try{return d.datepicker.parseDate(d.datepicker._get(t,"dateFormat"),e,d.datepicker._getFormatConfig(t))}catch(a){}for(n=(e.toLowerCase().match(/^c/)?d.datepicker._getDate(t):null)||new Date,i=n.getFullYear(),r=n.getMonth(),n=n.getDate(),o=/([+-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,s=o.exec(e);s;){switch(s[2]||"d"){case"d":case"D":n+=parseInt(s[1],10);break;case"w":case"W":n+=7*parseInt(s[1],10);break;case"m":case"M":r+=parseInt(s[1],10),n=Math.min(n,d.datepicker._getDaysInMonth(i,r));break;case"y":case"Y":i+=parseInt(s[1],10),n=Math.min(n,d.datepicker._getDaysInMonth(i,r))}s=o.exec(e)}return new Date(i,r,n)};return(e=(e=null==e||""===e?n:"string"==typeof e?r(e):"number"==typeof e?isNaN(e)?n:i(e):new Date(e.getTime()))&&""+e=="Invalid Date"?n:e)&&(e.setHours(0),e.setMinutes(0),e.setSeconds(0),e.setMilliseconds(0)),this._daylightSavingAdjust(e)},_daylightSavingAdjust:function(t){return t?(t.setHours(t.getHours()>12?t.getHours()+2:0),t):null},_setDate:function(t,e,n){var i=!e,r=t.selectedMonth,o=t.selectedYear;e=this._restrictMinMax(t,this._determineDate(t,e,new Date)),t.selectedDay=t.currentDay=e.getDate(),t.drawMonth=t.selectedMonth=t.currentMonth=e.getMonth(),t.drawYear=t.selectedYear=t.currentYear=e.getFullYear(),r==t.selectedMonth&&o==t.selectedYear||n||this._notifyChange(t),this._adjustInstDate(t),t.input&&t.input.val(i?"":this._formatDate(t))},_getDate:function(t){return!t.currentYear||t.input&&""==t.input.val()?null:this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay))},_generateHTML:function(t){var e,n,i,r,o,s,a,l,u,c,h,f,p,g,m,v,b,_,w,x,k,S,C,T,D,M,E,A,P,I,O,N,L,F,z,j=new Date;if(j=this._daylightSavingAdjust(new Date(j.getFullYear(),j.getMonth(),j.getDate())),e=this._get(t,"isRTL"),n=this._get(t,"showButtonPanel"),i=this._get(t,"hideIfNoPrevNext"),r=this._get(t,"navigationAsDateFormat"),o=this._getNumberOfMonths(t),s=this._get(t,"showCurrentAtPos"),a=this._get(t,"stepMonths"),l=1!=o[0]||1!=o[1],u=this._daylightSavingAdjust(t.currentDay?new Date(t.currentYear,t.currentMonth,t.currentDay):new Date(9999,9,9)),c=this._getMinMaxDate(t,"min"),h=this._getMinMaxDate(t,"max"),s=t.drawMonth-s,f=t.drawYear,0>s&&(s+=12,f--),h)for(p=this._daylightSavingAdjust(new Date(h.getFullYear(),h.getMonth()-o[0]*o[1]+1,h.getDate())),p=c&&c>p?c:p;this._daylightSavingAdjust(new Date(f,s,1))>p;)s--,0>s&&(s=11,f--);for(t.drawMonth=s,t.drawYear=f,p=this._get(t,"prevText"),p=r?this.formatDate(p,this._daylightSavingAdjust(new Date(f,s-a,1)),this._getFormatConfig(t)):p,p=this._canAdjustMonth(t,-1,f,s)?'<a class="ui-datepicker-prev ui-corner-all" onclick="DP_jQuery_'+y+".datepicker._adjustDate('#"+t.id+"', -"+a+", 'M');\" title=\""+p+'"><span class="ui-icon ui-icon-circle-triangle-'+(e?"e":"w")+'">'+p+"</span></a>":i?"":'<a class="ui-datepicker-prev ui-corner-all ui-state-disabled" title="'+p+'"><span class="ui-icon ui-icon-circle-triangle-'+(e?"e":"w")+'">'+p+"</span></a>",g=this._get(t,"nextText"),g=r?this.formatDate(g,this._daylightSavingAdjust(new Date(f,s+a,1)),this._getFormatConfig(t)):g,i=this._canAdjustMonth(t,1,f,s)?'<a class="ui-datepicker-next ui-corner-all" onclick="DP_jQuery_'+y+".datepicker._adjustDate('#"+t.id+"', +"+a+", 'M');\" title=\""+g+'"><span class="ui-icon ui-icon-circle-triangle-'+(e?"w":"e")+'">'+g+"</span></a>":i?"":'<a class="ui-datepicker-next ui-corner-all ui-state-disabled" title="'+g+'"><span class="ui-icon ui-icon-circle-triangle-'+(e?"w":"e")+'">'+g+"</span></a>",a=this._get(t,"currentText"),g=this._get(t,"gotoCurrent")&&t.currentDay?u:j,a=r?this.formatDate(a,g,this._getFormatConfig(t)):a,r=t.inline?"":'<button type="button" class="ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all" onclick="DP_jQuery_'+y+'.datepicker._hideDatepicker();">'+this._get(t,"closeText")+"</button>",n=n?'<div class="ui-datepicker-buttonpane ui-widget-content">'+(e?r:"")+(this._isInRange(t,g)?'<button type="button" class="ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all" onclick="DP_jQuery_'+y+".datepicker._gotoToday('#"+t.id+"');\">"+a+"</button>":"")+(e?"":r)+"</div>":"",r=parseInt(this._get(t,"firstDay"),10),r=isNaN(r)?0:r,a=this._get(t,"showWeek"),g=this._get(t,"dayNames"),this._get(t,"dayNamesShort"),m=this._get(t,"dayNamesMin"),v=this._get(t,"monthNames"),b=this._get(t,"monthNamesShort"),_=this._get(t,"beforeShowDay"),w=this._get(t,"showOtherMonths"),x=this._get(t,"selectOtherMonths"),this._get(t,"calculateWeek"),k=this._getDefaultDate(t),S="",C=0;C<o[0];C++){for(T="",D=0;D<o[1];D++){if(M=this._daylightSavingAdjust(new Date(f,s,t.selectedDay)),E=" ui-corner-all",A="",l){if(A+='<div class="ui-datepicker-group',o[1]>1)switch(D){case 0:A+=" ui-datepicker-group-first",E=" ui-corner-"+(e?"right":"left");break;case o[1]-1:A+=" ui-datepicker-group-last",E=" ui-corner-"+(e?"left":"right");break;default:A+=" ui-datepicker-group-middle",E=""}A+='">'}for(A+='<div class="ui-datepicker-header ui-widget-header ui-helper-clearfix'+E+'">'+(/all|left/.test(E)&&0==C?e?i:p:"")+(/all|right/.test(E)&&0==C?e?p:i:"")+this._generateMonthYearHeader(t,s,f,c,h,C>0||D>0,v,b)+'</div><table class="ui-datepicker-calendar"><thead><tr>',P=a?'<th class="ui-datepicker-week-col">'+this._get(t,"weekHeader")+"</th>":"",E=0;7>E;E++)I=(E+r)%7,P+="<th"+((E+r+6)%7>=5?' class="ui-datepicker-week-end"':"")+'><span title="'+g[I]+'">'+m[I]+"</span></th>";for(A+=P+"</tr></thead><tbody>",P=this._getDaysInMonth(f,s),f==t.selectedYear&&s==t.selectedMonth&&(t.selectedDay=Math.min(t.selectedDay,P)),E=(this._getFirstDayOfMonth(f,s)-r+7)%7,P=l?6:Math.ceil((E+P)/7),I=this._daylightSavingAdjust(new Date(f,s,1-E)),O=0;P>O;O++){for(A+="<tr>",N=a?'<td class="ui-datepicker-week-col">'+this._get(t,"calculateWeek")(I)+"</td>":"",E=0;7>E;E++)L=_?_.apply(t.input?t.input[0]:null,[I]):[!0,""],F=I.getMonth()!=s,z=F&&!x||!L[0]||c&&c>I||h&&I>h,N+='<td class="'+((E+r+6)%7>=5?" ui-datepicker-week-end":"")+(F?" ui-datepicker-other-month":"")+(I.getTime()==M.getTime()&&s==t.selectedMonth&&t._keyEvent||k.getTime()==I.getTime()&&k.getTime()==M.getTime()?" "+this._dayOverClass:"")+(z?" "+this._unselectableClass+" ui-state-disabled":"")+(F&&!w?"":" "+L[1]+(I.getTime()==u.getTime()?" "+this._currentClass:"")+(I.getTime()==j.getTime()?" ui-datepicker-today":""))+'"'+(F&&!w||!L[2]?"":' title="'+L[2]+'"')+(z?"":' onclick="DP_jQuery_'+y+".datepicker._selectDay('#"+t.id+"',"+I.getMonth()+","+I.getFullYear()+', this);return false;"')+">"+(F&&!w?" ":z?'<span class="ui-state-default">'+I.getDate()+"</span>":'<a class="ui-state-default'+(I.getTime()==j.getTime()?" ui-state-highlight":"")+(I.getTime()==u.getTime()?" ui-state-active":"")+(F?" ui-priority-secondary":"")+'" href="#">'+I.getDate()+"</a>")+"</td>",I.setDate(I.getDate()+1),I=this._daylightSavingAdjust(I);A+=N+"</tr>"}s++,s>11&&(s=0,f++),A+="</tbody></table>"+(l?"</div>"+(o[0]>0&&D==o[1]-1?'<div class="ui-datepicker-row-break"></div>':""):""),T+=A}S+=T}return S+=n+(d.browser.msie&&parseInt(d.browser.version,10)<7&&!t.inline?'<iframe src="javascript:false;" class="ui-datepicker-cover" frameborder="0"></iframe>':""),t._keyEvent=!1,S},_generateMonthYearHeader:function(t,e,n,i,r,o,s,a){var l,u,c,h=this._get(t,"changeMonth"),f=this._get(t,"changeYear"),p=this._get(t,"showMonthAfterYear"),g='<div class="ui-datepicker-title">',m="";if(o||!h)m+='<span class="ui-datepicker-month">'+s[e]+"</span>";else{for(s=i&&i.getFullYear()==n,l=r&&r.getFullYear()==n,m+='<select class="ui-datepicker-month" onchange="DP_jQuery_'+y+".datepicker._selectMonthYear('#"+t.id+"', this, 'M');\" onclick=\"DP_jQuery_"+y+".datepicker._clickMonthYear('#"+t.id+"');\">",u=0;12>u;u++)(!s||u>=i.getMonth())&&(!l||u<=r.getMonth())&&(m+='<option value="'+u+'"'+(u==e?' selected="selected"':"")+">"+a[u]+"</option>");m+="</select>"}if(p||(g+=m+(!o&&h&&f?"":" ")),t.yearshtml="",o||!f)g+='<span class="ui-datepicker-year">'+n+"</span>";else{for(a=this._get(t,"yearRange").split(":"),c=(new Date).getFullYear(),s=function(t){return t=t.match(/c[+-].*/)?n+parseInt(t.substring(1),10):t.match(/[+-].*/)?c+parseInt(t,10):parseInt(t,10),isNaN(t)?c:t},e=s(a[0]),a=Math.max(e,s(a[1]||"")),e=i?Math.max(e,i.getFullYear()):e,a=r?Math.min(a,r.getFullYear()):a,t.yearshtml+='<select class="ui-datepicker-year" onchange="DP_jQuery_'+y+".datepicker._selectMonthYear('#"+t.id+"', this, 'Y');\" onclick=\"DP_jQuery_"+y+".datepicker._clickMonthYear('#"+t.id+"');\">";a>=e;e++)t.yearshtml+='<option value="'+e+'"'+(e==n?' selected="selected"':"")+">"+e+"</option>";t.yearshtml+="</select>",d.browser.mozilla?g+='<select class="ui-datepicker-year"><option value="'+n+'" selected="selected">'+n+"</option></select>":(g+=t.yearshtml,t.yearshtml=null)}return g+=this._get(t,"yearSuffix"),p&&(g+=(!o&&h&&f?"":" ")+m),g+="</div>"},_adjustInstDate:function(t,e,n){var i=t.drawYear+("Y"==n?e:0),r=t.drawMonth+("M"==n?e:0);e=Math.min(t.selectedDay,this._getDaysInMonth(i,r))+("D"==n?e:0),i=this._restrictMinMax(t,this._daylightSavingAdjust(new Date(i,r,e))),t.selectedDay=i.getDate(),t.drawMonth=t.selectedMonth=i.getMonth(),t.drawYear=t.selectedYear=i.getFullYear(),"M"!=n&&"Y"!=n||this._notifyChange(t)},_restrictMinMax:function(t,e){var n=this._getMinMaxDate(t,"min");return t=this._getMinMaxDate(t,"max"),e=n&&n>e?n:e,e=t&&e>t?t:e},_notifyChange:function(t){var e=this._get(t,"onChangeMonthYear");e&&e.apply(t.input?t.input[0]:null,[t.selectedYear,t.selectedMonth+1,t])},_getNumberOfMonths:function(t){return t=this._get(t,"numberOfMonths"),null==t?[1,1]:"number"==typeof t?[1,t]:t},_getMinMaxDate:function(t,e){return this._determineDate(t,this._get(t,e+"Date"),null)},_getDaysInMonth:function(t,e){return 32-this._daylightSavingAdjust(new Date(t,e,32)).getDate()},_getFirstDayOfMonth:function(t,e){return new Date(t,e,1).getDay()},_canAdjustMonth:function(t,e,n,i){var r=this._getNumberOfMonths(t);return n=this._daylightSavingAdjust(new Date(n,i+(0>e?e:r[0]*r[1]),1)),0>e&&n.setDate(this._getDaysInMonth(n.getFullYear(),n.getMonth())),this._isInRange(t,n)},_isInRange:function(t,e){var n=this._getMinMaxDate(t,"min");return t=this._getMinMaxDate(t,"max"),(!n||e.getTime()>=n.getTime())&&(!t||e.getTime()<=t.getTime())},_getFormatConfig:function(t){var e=this._get(t,"shortYearCutoff");return e="string"!=typeof e?e:(new Date).getFullYear()%100+parseInt(e,10),{shortYearCutoff:e,dayNamesShort:this._get(t,"dayNamesShort"),dayNames:this._get(t,"dayNames"),monthNamesShort:this._get(t,"monthNamesShort"),monthNames:this._get(t,"monthNames")}},_formatDate:function(t,e,n,i){return e||(t.currentDay=t.selectedDay,t.currentMonth=t.selectedMonth,t.currentYear=t.selectedYear),e=e?"object"==typeof e?e:this._daylightSavingAdjust(new Date(i,n,e)):this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay)),this.formatDate(this._get(t,"dateFormat"),e,this._getFormatConfig(t))}}),d.fn.datepicker=function(t){if(!this.length)return this;d.datepicker.initialized||(d(document).mousedown(d.datepicker._checkExternalClick).find("body").append(d.datepicker.dpDiv),d.datepicker.initialized=!0);var e=Array.prototype.slice.call(arguments,1);return"string"!=typeof t||"isDisabled"!=t&&"getDate"!=t&&"widget"!=t?"option"==t&&2==arguments.length&&"string"==typeof arguments[1]?d.datepicker["_"+t+"Datepicker"].apply(d.datepicker,[this[0]].concat(e)):this.each(function(){"string"==typeof t?d.datepicker["_"+t+"Datepicker"].apply(d.datepicker,[this].concat(e)):d.datepicker._attachDatepicker(this,t)}):d.datepicker["_"+t+"Datepicker"].apply(d.datepicker,[this[0]].concat(e))},d.datepicker=new K,d.datepicker.initialized=!1,d.datepicker.uuid=(new Date).getTime(),d.datepicker.version="1.8.11",window["DP_jQuery_"+y]=d}(jQuery),jQuery.effects||function(t,e){function n(e){var n;return e&&e.constructor==Array&&3==e.length?e:(n=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(e))?[parseInt(n[1],10),parseInt(n[2],10),parseInt(n[3],10)]:(n=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(e))?[2.55*parseFloat(n[1]),2.55*parseFloat(n[2]),2.55*parseFloat(n[3])]:(n=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(e))?[parseInt(n[1],16),parseInt(n[2],16),parseInt(n[3],16)]:(n=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(e))?[parseInt(n[1]+n[1],16),parseInt(n[2]+n[2],16),parseInt(n[3]+n[3],16)]:/rgba\(0, 0, 0, 0\)/.exec(e)?u.transparent:u[t.trim(e).toLowerCase()]}function i(e,i){var r;do{if(r=t.curCSS(e,i),""!=r&&"transparent"!=r||t.nodeName(e,"body"))break;i="backgroundColor"}while(e=e.parentNode);return n(r)}function r(){var t,e,n,i=document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle,r={};if(i&&i.length&&i[0]&&i[i[0]])for(n=i.length;n--;)t=i[n],"string"==typeof i[t]&&(e=t.replace(/\-(\w)/g,function(t,e){return e.toUpperCase()}),r[e]=i[t]);else for(t in i)"string"==typeof i[t]&&(r[t]=i[t]);return r}function o(e){var n,i;for(n in e)i=e[n],(null==i||t.isFunction(i)||n in h||/scrollbar/.test(n)||!/color/i.test(n)&&isNaN(parseFloat(i)))&&delete e[n];return e}function s(t,e){var n,i={_:0};for(n in e)t[n]!=e[n]&&(i[n]=e[n]);return i}function a(e,n,i,r){return"object"==typeof e&&(r=n,i=null,n=e,e=n.effect),t.isFunction(n)&&(r=n,i=null,n={}),("number"==typeof n||t.fx.speeds[n])&&(r=i,i=n,n={}),t.isFunction(i)&&(r=i,i=null),n=n||{},i=i||n.duration,i=t.fx.off?0:"number"==typeof i?i:i in t.fx.speeds?t.fx.speeds[i]:t.fx.speeds._default,r=r||n.complete,[e,n,i,r]}function l(e){return!e||"number"==typeof e||t.fx.speeds[e]?!0:"string"==typeof e&&!t.effects[e]}t.effects={},t.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","borderColor","color","outlineColor"],function(e,r){t.fx.step[r]=function(t){t.colorInit||(t.start=i(t.elem,r),t.end=n(t.end),t.colorInit=!0),t.elem.style[r]="rgb("+Math.max(Math.min(parseInt(t.pos*(t.end[0]-t.start[0])+t.start[0],10),255),0)+","+Math.max(Math.min(parseInt(t.pos*(t.end[1]-t.start[1])+t.start[1],10),255),0)+","+Math.max(Math.min(parseInt(t.pos*(t.end[2]-t.start[2])+t.start[2],10),255),0)+")"}});var u={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]},c=["add","remove","toggle"],h={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};t.effects.animateClass=function(e,n,i,a){return t.isFunction(i)&&(a=i,i=null),this.queue("fx",function(){var l,u=t(this),h=u.attr("style")||" ",f=o(r.call(this)),d=u.attr("className");t.each(c,function(t,n){e[n]&&u[n+"Class"](e[n])}),l=o(r.call(this)),u.attr("className",d),u.animate(s(f,l),n,i,function(){t.each(c,function(t,n){e[n]&&u[n+"Class"](e[n])}),"object"==typeof u.attr("style")?(u.attr("style").cssText="",u.attr("style").cssText=h):u.attr("style",h),a&&a.apply(this,arguments)}),f=t.queue(this),l=f.splice(f.length-1,1)[0],f.splice(1,0,l),t.dequeue(this)})},t.fn.extend({_addClass:t.fn.addClass,addClass:function(e,n,i,r){return n?t.effects.animateClass.apply(this,[{add:e},n,i,r]):this._addClass(e)},_removeClass:t.fn.removeClass,removeClass:function(e,n,i,r){return n?t.effects.animateClass.apply(this,[{remove:e},n,i,r]):this._removeClass(e)},_toggleClass:t.fn.toggleClass,toggleClass:function(n,i,r,o,s){return"boolean"==typeof i||i===e?r?t.effects.animateClass.apply(this,[i?{add:n}:{remove:n},r,o,s]):this._toggleClass(n,i):t.effects.animateClass.apply(this,[{toggle:n},i,r,o])},switchClass:function(e,n,i,r,o){return t.effects.animateClass.apply(this,[{add:n,remove:e},i,r,o])}}),t.extend(t.effects,{version:"1.8.11",save:function(t,e){for(var n=0;n<e.length;n++)null!==e[n]&&t.data("ec.storage."+e[n],t[0].style[e[n]])},restore:function(t,e){for(var n=0;n<e.length;n++)null!==e[n]&&t.css(e[n],t.data("ec.storage."+e[n]))},setMode:function(t,e){return"toggle"==e&&(e=t.is(":hidden")?"show":"hide"),e},getBaseline:function(t,e){var n;switch(t[0]){case"top":n=0;break;case"middle":n=.5;break;case"bottom":n=1;break;default:n=t[0]/e.height}switch(t[1]){case"left":t=0;break;case"center":t=.5;break;case"right":t=1;break;default:t=t[1]/e.width}return{x:t,y:n}},createWrapper:function(e){if(e.parent().is(".ui-effects-wrapper"))return e.parent();var n={width:e.outerWidth(!0),height:e.outerHeight(!0),"float":e.css("float")},i=t("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0});return e.wrap(i),i=e.parent(),"static"==e.css("position")?(i.css({position:"relative"}),e.css({position:"relative"})):(t.extend(n,{position:e.css("position"),zIndex:e.css("z-index")}),t.each(["top","left","bottom","right"],function(t,i){n[i]=e.css(i),isNaN(parseInt(n[i],10))&&(n[i]="auto")}),e.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),i.css(n).show()},removeWrapper:function(t){return t.parent().is(".ui-effects-wrapper")?t.parent().replaceWith(t):t},setTransition:function(e,n,i,r){return r=r||{},t.each(n,function(t,n){unit=e.cssUnit(n),unit[0]>0&&(r[n]=unit[0]*i+unit[1])}),r}}),t.fn.extend({effect:function(e){var n,i=a.apply(this,arguments),r={options:i[1],duration:i[2],callback:i[3]};return i=r.options.mode,n=t.effects[e],t.fx.off||!n?i?this[i](r.duration,r.callback):this.each(function(){r.callback&&r.callback.call(this)}):n.call(this,r)},_show:t.fn.show,show:function(t){if(l(t))return this._show.apply(this,arguments);var e=a.apply(this,arguments);return e[1].mode="show",this.effect.apply(this,e)},_hide:t.fn.hide,hide:function(t){if(l(t))return this._hide.apply(this,arguments);var e=a.apply(this,arguments);return e[1].mode="hide",this.effect.apply(this,e)},__toggle:t.fn.toggle,toggle:function(e){if(l(e)||"boolean"==typeof e||t.isFunction(e))return this.__toggle.apply(this,arguments);var n=a.apply(this,arguments);return n[1].mode="toggle",this.effect.apply(this,n)},cssUnit:function(e){var n=this.css(e),i=[];return t.each(["em","px","%","pt"],function(t,e){n.indexOf(e)>0&&(i=[parseFloat(n),e])}),i}}),t.easing.jswing=t.easing.swing,t.extend(t.easing,{def:"easeOutQuad",swing:function(e,n,i,r,o){return t.easing[t.easing.def](e,n,i,r,o)},easeInQuad:function(t,e,n,i,r){return i*(e/=r)*e+n},easeOutQuad:function(t,e,n,i,r){return-i*(e/=r)*(e-2)+n},easeInOutQuad:function(t,e,n,i,r){return(e/=r/2)<1?i/2*e*e+n:-i/2*(--e*(e-2)-1)+n},easeInCubic:function(t,e,n,i,r){return i*(e/=r)*e*e+n},easeOutCubic:function(t,e,n,i,r){return i*((e=e/r-1)*e*e+1)+n},easeInOutCubic:function(t,e,n,i,r){return(e/=r/2)<1?i/2*e*e*e+n:i/2*((e-=2)*e*e+2)+n},easeInQuart:function(t,e,n,i,r){return i*(e/=r)*e*e*e+n},easeOutQuart:function(t,e,n,i,r){return-i*((e=e/r-1)*e*e*e-1)+n},easeInOutQuart:function(t,e,n,i,r){return(e/=r/2)<1?i/2*e*e*e*e+n:-i/2*((e-=2)*e*e*e-2)+n},easeInQuint:function(t,e,n,i,r){return i*(e/=r)*e*e*e*e+n},easeOutQuint:function(t,e,n,i,r){return i*((e=e/r-1)*e*e*e*e+1)+n},easeInOutQuint:function(t,e,n,i,r){return(e/=r/2)<1?i/2*e*e*e*e*e+n:i/2*((e-=2)*e*e*e*e+2)+n},easeInSine:function(t,e,n,i,r){return-i*Math.cos(e/r*(Math.PI/2))+i+n},easeOutSine:function(t,e,n,i,r){return i*Math.sin(e/r*(Math.PI/2))+n},easeInOutSine:function(t,e,n,i,r){return-i/2*(Math.cos(Math.PI*e/r)-1)+n},easeInExpo:function(t,e,n,i,r){return 0==e?n:i*Math.pow(2,10*(e/r-1))+n},easeOutExpo:function(t,e,n,i,r){return e==r?n+i:i*(-Math.pow(2,-10*e/r)+1)+n},easeInOutExpo:function(t,e,n,i,r){return 0==e?n:e==r?n+i:(e/=r/2)<1?i/2*Math.pow(2,10*(e-1))+n:i/2*(-Math.pow(2,-10*--e)+2)+n},easeInCirc:function(t,e,n,i,r){return-i*(Math.sqrt(1-(e/=r)*e)-1)+n},easeOutCirc:function(t,e,n,i,r){return i*Math.sqrt(1-(e=e/r-1)*e)+n},easeInOutCirc:function(t,e,n,i,r){return(e/=r/2)<1?-i/2*(Math.sqrt(1-e*e)-1)+n:i/2*(Math.sqrt(1-(e-=2)*e)+1)+n},easeInElastic:function(t,e,n,i,r){t=1.70158;var o=0,s=i;return 0==e?n:1==(e/=r)?n+i:(o||(o=.3*r),s<Math.abs(i)?(s=i,t=o/4):t=o/(2*Math.PI)*Math.asin(i/s),-(s*Math.pow(2,10*(e-=1))*Math.sin(2*(e*r-t)*Math.PI/o))+n)},easeOutElastic:function(t,e,n,i,r){t=1.70158;var o=0,s=i;return 0==e?n:1==(e/=r)?n+i:(o||(o=.3*r),s<Math.abs(i)?(s=i,t=o/4):t=o/(2*Math.PI)*Math.asin(i/s),s*Math.pow(2,-10*e)*Math.sin(2*(e*r-t)*Math.PI/o)+i+n)},easeInOutElastic:function(t,e,n,i,r){t=1.70158;var o=0,s=i;return 0==e?n:2==(e/=r/2)?n+i:(o||(o=.3*r*1.5),s<Math.abs(i)?(s=i,t=o/4):t=o/(2*Math.PI)*Math.asin(i/s),1>e?-.5*s*Math.pow(2,10*(e-=1))*Math.sin(2*(e*r-t)*Math.PI/o)+n:s*Math.pow(2,-10*(e-=1))*Math.sin(2*(e*r-t)*Math.PI/o)*.5+i+n)},easeInBack:function(t,n,i,r,o,s){return s==e&&(s=1.70158),r*(n/=o)*n*((s+1)*n-s)+i},easeOutBack:function(t,n,i,r,o,s){return s==e&&(s=1.70158),r*((n=n/o-1)*n*((s+1)*n+s)+1)+i},easeInOutBack:function(t,n,i,r,o,s){return s==e&&(s=1.70158),(n/=o/2)<1?r/2*n*n*(((s*=1.525)+1)*n-s)+i:r/2*((n-=2)*n*(((s*=1.525)+1)*n+s)+2)+i},easeInBounce:function(e,n,i,r,o){return r-t.easing.easeOutBounce(e,o-n,0,r,o)+i},easeOutBounce:function(t,e,n,i,r){return(e/=r)<1/2.75?7.5625*i*e*e+n:2/2.75>e?i*(7.5625*(e-=1.5/2.75)*e+.75)+n:2.5/2.75>e?i*(7.5625*(e-=2.25/2.75)*e+.9375)+n:i*(7.5625*(e-=2.625/2.75)*e+.984375)+n},easeInOutBounce:function(e,n,i,r,o){return o/2>n?.5*t.easing.easeInBounce(e,2*n,0,r,o)+i:.5*t.easing.easeOutBounce(e,2*n-o,0,r,o)+.5*r+i}})}(jQuery)},function(t,e){"use strict";!function(t){function e(e){var n,i;"string"==typeof e.data&&(n=e.handler,i=e.data.toLowerCase().split(" "),e.handler=function(e){var r,o,s,a,l,u;if(this===e.target||!/textarea|select/i.test(e.target.nodeName)&&"text"!==e.target.type)for(r="keypress"!==e.type&&t.hotkeys.specialKeys[e.which],o=String.fromCharCode(e.which).toLowerCase(),s="",a={},e.ctrlKey&&"ctrl"!==r&&(s+="ctrl+"),e.altKey&&"alt"!==r&&(s+="alt+"),e.metaKey&&!e.ctrlKey&&"meta"!==r&&(s+="meta+"),
|
||
e.shiftKey&&"shift"!==r&&(s+="shift+"),r?a[s+r]=!0:(a[s+o]=!0,a[s+t.hotkeys.shiftNums[o]]=!0,"shift+"===s&&(a[t.hotkeys.shiftNums[o]]=!0)),l=0,u=i.length;u>l;l++)if(a[i[l]])return n.apply(this,arguments)})}t.hotkeys={version:"0.8",specialKeys:{8:/mac/i.test(navigator.platform)?"del":"backspace",9:"tab",13:"return",16:"shift",17:"ctrl",18:"alt",19:"pause",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"insert",46:"del",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"f1",113:"f2",114:"f3",115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12",144:"numlock",145:"scroll",191:"/",224:"meta"},shiftNums:{"`":"~",1:"!",2:"@",3:"#",4:"$",5:"%",6:"^",7:"&",8:"*",9:"(",0:")","-":"_","=":"+",";":": ","'":'"',",":"<",".":">","/":"?","\\":"|"}},t.each(["keydown","keyup","keypress"],function(){t.event.special[this]={add:e}})}(jQuery)},function(t,e,n){var i,r;(function(){function n(t){function e(e,n,i,r,o,s){for(;o>=0&&s>o;o+=t){var a=r?r[o]:o;i=n(i,e[a],a,e)}return i}return function(n,i,r,o){i=l(i,o,4);var s=!g(n)&&V.keys(n),a=(s||n).length,u=t>0?0:a-1;return arguments.length<3&&(r=n[s?s[u]:u],u+=t),e(n,i,r,s,u,a)}}function o(t){return function(e,n,i){var r,o;for(n=u(n,i),r=p(e),o=t>0?0:r-1;o>=0&&r>o;o+=t)if(n(e[o],o,e))return o;return-1}}function s(t,e,n){return function(i,r,o){var s=0,a=p(i);if("number"==typeof o)t>0?s=o>=0?o:Math.max(o+a,s):a=o>=0?Math.min(o+1,a):o+a+1;else if(n&&o&&a)return o=n(i,r),i[o]===r?o:-1;if(r!==r)return o=e(z.call(i,s,a),V.isNaN),o>=0?o+s:-1;for(o=t>0?s:a-1;o>=0&&a>o;o+=t)if(i[o]===r)return o;return-1}}function a(t,e){var n=_.length,i=t.constructor,r=V.isFunction(i)&&i.prototype||N,o="constructor";for(V.has(t,o)&&!V.contains(e,o)&&e.push(o);n--;)o=_[n],o in t&&t[o]!==r[o]&&!V.contains(e,o)&&e.push(o)}var l,u,c,h,f,d,p,g,m,v,y,b,_,w,x,k,S,C,T,D,M,E,A,P=this,I=P._,O=Array.prototype,N=Object.prototype,L=Function.prototype,F=O.push,z=O.slice,j=N.toString,R=N.hasOwnProperty,H=Array.isArray,Y=Object.keys,B=L.bind,U=Object.create,W=function(){},V=function(t){return t instanceof V?t:this instanceof V?void(this._wrapped=t):new V(t)};void 0!==t&&t.exports&&(e=t.exports=V),e._=V,V.VERSION="1.8.3",l=function(t,e,n){if(void 0===e)return t;switch(null==n?3:n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)};case 4:return function(n,i,r,o){return t.call(e,n,i,r,o)}}return function(){return t.apply(e,arguments)}},u=function(t,e,n){return null==t?V.identity:V.isFunction(t)?l(t,e,n):V.isObject(t)?V.matcher(t):V.property(t)},V.iteratee=function(t,e){return u(t,e,1/0)},c=function(t,e){return function(n){var i,r,o,s,a,l,u=arguments.length;if(2>u||null==n)return n;for(i=1;u>i;i++)for(r=arguments[i],o=t(r),s=o.length,a=0;s>a;a++)l=o[a],e&&void 0!==n[l]||(n[l]=r[l]);return n}},h=function(t){if(!V.isObject(t))return{};if(U)return U(t);W.prototype=t;var e=new W;return W.prototype=null,e},f=function(t){return function(e){return null==e?void 0:e[t]}},d=Math.pow(2,53)-1,p=f("length"),g=function(t){var e=p(t);return"number"==typeof e&&e>=0&&d>=e},V.each=V.forEach=function(t,e,n){var i,r,o;if(e=l(e,n),g(t))for(i=0,r=t.length;r>i;i++)e(t[i],i,t);else for(o=V.keys(t),i=0,r=o.length;r>i;i++)e(t[o[i]],o[i],t);return t},V.map=V.collect=function(t,e,n){var i,r,o,s,a;for(e=u(e,n),i=!g(t)&&V.keys(t),r=(i||t).length,o=Array(r),s=0;r>s;s++)a=i?i[s]:s,o[s]=e(t[a],a,t);return o},V.reduce=V.foldl=V.inject=n(1),V.reduceRight=V.foldr=n(-1),V.find=V.detect=function(t,e,n){var i;return i=g(t)?V.findIndex(t,e,n):V.findKey(t,e,n),void 0!==i&&-1!==i?t[i]:void 0},V.filter=V.select=function(t,e,n){var i=[];return e=u(e,n),V.each(t,function(t,n,r){e(t,n,r)&&i.push(t)}),i},V.reject=function(t,e,n){return V.filter(t,V.negate(u(e)),n)},V.every=V.all=function(t,e,n){var i,r,o,s;for(e=u(e,n),i=!g(t)&&V.keys(t),r=(i||t).length,o=0;r>o;o++)if(s=i?i[o]:o,!e(t[s],s,t))return!1;return!0},V.some=V.any=function(t,e,n){var i,r,o,s;for(e=u(e,n),i=!g(t)&&V.keys(t),r=(i||t).length,o=0;r>o;o++)if(s=i?i[o]:o,e(t[s],s,t))return!0;return!1},V.contains=V.includes=V.include=function(t,e,n,i){return g(t)||(t=V.values(t)),("number"!=typeof n||i)&&(n=0),V.indexOf(t,e,n)>=0},V.invoke=function(t,e){var n=z.call(arguments,2),i=V.isFunction(e);return V.map(t,function(t){var r=i?e:t[e];return null==r?r:r.apply(t,n)})},V.pluck=function(t,e){return V.map(t,V.property(e))},V.where=function(t,e){return V.filter(t,V.matcher(e))},V.findWhere=function(t,e){return V.find(t,V.matcher(e))},V.max=function(t,e,n){var i,r,o,s,a=-(1/0),l=-(1/0);if(null==e&&null!=t)for(t=g(t)?t:V.values(t),o=0,s=t.length;s>o;o++)i=t[o],i>a&&(a=i);else e=u(e,n),V.each(t,function(t,n,i){r=e(t,n,i),(r>l||r===-(1/0)&&a===-(1/0))&&(a=t,l=r)});return a},V.min=function(t,e,n){var i,r,o,s,a=1/0,l=1/0;if(null==e&&null!=t)for(t=g(t)?t:V.values(t),o=0,s=t.length;s>o;o++)i=t[o],a>i&&(a=i);else e=u(e,n),V.each(t,function(t,n,i){r=e(t,n,i),(l>r||r===1/0&&a===1/0)&&(a=t,l=r)});return a},V.shuffle=function(t){var e,n,i=g(t)?t:V.values(t),r=i.length,o=Array(r);for(e=0;r>e;e++)n=V.random(0,e),n!==e&&(o[e]=o[n]),o[n]=i[e];return o},V.sample=function(t,e,n){return null==e||n?(g(t)||(t=V.values(t)),t[V.random(t.length-1)]):V.shuffle(t).slice(0,Math.max(0,e))},V.sortBy=function(t,e,n){return e=u(e,n),V.pluck(V.map(t,function(t,n,i){return{value:t,index:n,criteria:e(t,n,i)}}).sort(function(t,e){var n=t.criteria,i=e.criteria;if(n!==i){if(n>i||void 0===n)return 1;if(i>n||void 0===i)return-1}return t.index-e.index}),"value")},m=function(t){return function(e,n,i){var r={};return n=u(n,i),V.each(e,function(i,o){var s=n(i,o,e);t(r,i,s)}),r}},V.groupBy=m(function(t,e,n){V.has(t,n)?t[n].push(e):t[n]=[e]}),V.indexBy=m(function(t,e,n){t[n]=e}),V.countBy=m(function(t,e,n){V.has(t,n)?t[n]++:t[n]=1}),V.toArray=function(t){return t?V.isArray(t)?z.call(t):g(t)?V.map(t,V.identity):V.values(t):[]},V.size=function(t){return null==t?0:g(t)?t.length:V.keys(t).length},V.partition=function(t,e,n){e=u(e,n);var i=[],r=[];return V.each(t,function(t,n,o){(e(t,n,o)?i:r).push(t)}),[i,r]},V.first=V.head=V.take=function(t,e,n){return null!=t?null==e||n?t[0]:V.initial(t,t.length-e):void 0},V.initial=function(t,e,n){return z.call(t,0,Math.max(0,t.length-(null==e||n?1:e)))},V.last=function(t,e,n){return null!=t?null==e||n?t[t.length-1]:V.rest(t,Math.max(0,t.length-e)):void 0},V.rest=V.tail=V.drop=function(t,e,n){return z.call(t,null==e||n?1:e)},V.compact=function(t){return V.filter(t,V.identity)},v=function(t,e,n,i){var r,o,s,a,l,u=[],c=0;for(r=i||0,o=p(t);o>r;r++)if(s=t[r],g(s)&&(V.isArray(s)||V.isArguments(s)))for(e||(s=v(s,e,n)),a=0,l=s.length,u.length+=l;l>a;)u[c++]=s[a++];else n||(u[c++]=s);return u},V.flatten=function(t,e){return v(t,e,!1)},V.without=function(t){return V.difference(t,z.call(arguments,1))},V.uniq=V.unique=function(t,e,n,i){var r,o,s,a,l,c;for(V.isBoolean(e)||(i=n,n=e,e=!1),null!=n&&(n=u(n,i)),r=[],o=[],s=0,a=p(t);a>s;s++)l=t[s],c=n?n(l,s,t):l,e?(s&&o===c||r.push(l),o=c):n?V.contains(o,c)||(o.push(c),r.push(l)):V.contains(r,l)||r.push(l);return r},V.union=function(){return V.uniq(v(arguments,!0,!0))},V.intersection=function(t){var e,n,i,r,o=[],s=arguments.length;for(e=0,n=p(t);n>e;e++)if(i=t[e],!V.contains(o,i)){for(r=1;s>r&&V.contains(arguments[r],i);r++);r===s&&o.push(i)}return o},V.difference=function(t){var e=v(arguments,!0,!0,1);return V.filter(t,function(t){return!V.contains(e,t)})},V.zip=function(){return V.unzip(arguments)},V.unzip=function(t){var e,n=t&&V.max(t,p).length||0,i=Array(n);for(e=0;n>e;e++)i[e]=V.pluck(t,e);return i},V.object=function(t,e){var n,i,r={};for(n=0,i=p(t);i>n;n++)e?r[t[n]]=e[n]:r[t[n][0]]=t[n][1];return r},V.findIndex=o(1),V.findLastIndex=o(-1),V.sortedIndex=function(t,e,n,i){var r,o,s,a;for(n=u(n,i,1),r=n(e),o=0,s=p(t);s>o;)a=Math.floor((o+s)/2),n(t[a])<r?o=a+1:s=a;return o},V.indexOf=s(1,V.findIndex,V.sortedIndex),V.lastIndexOf=s(-1,V.findLastIndex),V.range=function(t,e,n){var i,r,o;for(null==e&&(e=t||0,t=0),n=n||1,i=Math.max(Math.ceil((e-t)/n),0),r=Array(i),o=0;i>o;o++,t+=n)r[o]=t;return r},y=function(t,e,n,i,r){var o,s;return i instanceof e?(o=h(t.prototype),s=t.apply(o,r),V.isObject(s)?s:o):t.apply(n,r)},V.bind=function(t,e){var n,i;if(B&&t.bind===B)return B.apply(t,z.call(arguments,1));if(!V.isFunction(t))throw new TypeError("Bind must be called on a function");return n=z.call(arguments,2),i=function(){return y(t,i,e,this,n.concat(z.call(arguments)))}},V.partial=function(t){var e=z.call(arguments,1),n=function(){var i,r=0,o=e.length,s=Array(o);for(i=0;o>i;i++)s[i]=e[i]===V?arguments[r++]:e[i];for(;r<arguments.length;)s.push(arguments[r++]);return y(t,n,this,this,s)};return n},V.bindAll=function(t){var e,n,i=arguments.length;if(1>=i)throw Error("bindAll must be passed function names");for(e=1;i>e;e++)n=arguments[e],t[n]=V.bind(t[n],t);return t},V.memoize=function(t,e){var n=function(i){var r=n.cache,o=""+(e?e.apply(this,arguments):i);return V.has(r,o)||(r[o]=t.apply(this,arguments)),r[o]};return n.cache={},n},V.delay=function(t,e){var n=z.call(arguments,2);return setTimeout(function(){return t.apply(null,n)},e)},V.defer=V.partial(V.delay,V,1),V.throttle=function(t,e,n){var i,r,o,s,a=null,l=0;return n||(n={}),s=function(){l=n.leading===!1?0:V.now(),a=null,o=t.apply(i,r),a||(i=r=null)},function(){var u,c=V.now();return l||n.leading!==!1||(l=c),u=e-(c-l),i=this,r=arguments,0>=u||u>e?(a&&(clearTimeout(a),a=null),l=c,o=t.apply(i,r),a||(i=r=null)):a||n.trailing===!1||(a=setTimeout(s,u)),o}},V.debounce=function(t,e,n){var i,r,o,s,a,l=function(){var u=V.now()-s;e>u&&u>=0?i=setTimeout(l,e-u):(i=null,n||(a=t.apply(o,r),i||(o=r=null)))};return function(){o=this,r=arguments,s=V.now();var u=n&&!i;return i||(i=setTimeout(l,e)),u&&(a=t.apply(o,r),o=r=null),a}},V.wrap=function(t,e){return V.partial(e,t)},V.negate=function(t){return function(){return!t.apply(this,arguments)}},V.compose=function(){var t=arguments,e=t.length-1;return function(){for(var n=e,i=t[e].apply(this,arguments);n--;)i=t[n].call(this,i);return i}},V.after=function(t,e){return function(){return--t<1?e.apply(this,arguments):void 0}},V.before=function(t,e){var n;return function(){return--t>0&&(n=e.apply(this,arguments)),1>=t&&(e=null),n}},V.once=V.partial(V.before,2),b=!{toString:null}.propertyIsEnumerable("toString"),_=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],V.keys=function(t){var e,n;if(!V.isObject(t))return[];if(Y)return Y(t);e=[];for(n in t)V.has(t,n)&&e.push(n);return b&&a(t,e),e},V.allKeys=function(t){var e,n;if(!V.isObject(t))return[];e=[];for(n in t)e.push(n);return b&&a(t,e),e},V.values=function(t){var e,n=V.keys(t),i=n.length,r=Array(i);for(e=0;i>e;e++)r[e]=t[n[e]];return r},V.mapObject=function(t,e,n){var i,r,o,s,a;for(e=u(e,n),i=V.keys(t),r=i.length,o={},a=0;r>a;a++)s=i[a],o[s]=e(t[s],s,t);return o},V.pairs=function(t){var e,n=V.keys(t),i=n.length,r=Array(i);for(e=0;i>e;e++)r[e]=[n[e],t[n[e]]];return r},V.invert=function(t){var e,n,i={},r=V.keys(t);for(e=0,n=r.length;n>e;e++)i[t[r[e]]]=r[e];return i},V.functions=V.methods=function(t){var e,n=[];for(e in t)V.isFunction(t[e])&&n.push(e);return n.sort()},V.extend=c(V.allKeys),V.extendOwn=V.assign=c(V.keys),V.findKey=function(t,e,n){var i,r,o,s;for(e=u(e,n),i=V.keys(t),o=0,s=i.length;s>o;o++)if(r=i[o],e(t[r],r,t))return r},V.pick=function(t,e,n){var i,r,o,s,a,u,c={},h=t;if(null==h)return c;V.isFunction(e)?(r=V.allKeys(h),i=l(e,n)):(r=v(arguments,!1,!1,1),i=function(t,e,n){return e in n},h=Object(h));for(o=0,s=r.length;s>o;o++)a=r[o],u=h[a],i(u,a,h)&&(c[a]=u);return c},V.omit=function(t,e,n){if(V.isFunction(e))e=V.negate(e);else{var i=V.map(v(arguments,!1,!1,1),String);e=function(t,e){return!V.contains(i,e)}}return V.pick(t,e,n)},V.defaults=c(V.allKeys,!0),V.create=function(t,e){var n=h(t);return e&&V.extendOwn(n,e),n},V.clone=function(t){return V.isObject(t)?V.isArray(t)?t.slice():V.extend({},t):t},V.tap=function(t,e){return e(t),t},V.isMatch=function(t,e){var n,i,r,o=V.keys(e),s=o.length;if(null==t)return!s;for(n=Object(t),i=0;s>i;i++)if(r=o[i],e[r]!==n[r]||!(r in n))return!1;return!0},w=function(t,e,n,i){var r,o,s,a,l,u,c;if(t===e)return 0!==t||1/t===1/e;if(null==t||null==e)return t===e;if(t instanceof V&&(t=t._wrapped),e instanceof V&&(e=e._wrapped),r=j.call(t),r!==j.call(e))return!1;switch(r){case"[object RegExp]":case"[object String]":return""+t==""+e;case"[object Number]":return+t!==+t?+e!==+e:0===+t?1/+t===1/e:+t===+e;case"[object Date]":case"[object Boolean]":return+t===+e}if(o="[object Array]"===r,!o){if("object"!=typeof t||"object"!=typeof e)return!1;if(s=t.constructor,a=e.constructor,s!==a&&!(V.isFunction(s)&&s instanceof s&&V.isFunction(a)&&a instanceof a)&&"constructor"in t&&"constructor"in e)return!1}for(n=n||[],i=i||[],l=n.length;l--;)if(n[l]===t)return i[l]===e;if(n.push(t),i.push(e),o){if(l=t.length,l!==e.length)return!1;for(;l--;)if(!w(t[l],e[l],n,i))return!1}else{if(u=V.keys(t),l=u.length,V.keys(e).length!==l)return!1;for(;l--;)if(c=u[l],!V.has(e,c)||!w(t[c],e[c],n,i))return!1}return n.pop(),i.pop(),!0},V.isEqual=function(t,e){return w(t,e)},V.isEmpty=function(t){return null==t?!0:g(t)&&(V.isArray(t)||V.isString(t)||V.isArguments(t))?0===t.length:0===V.keys(t).length},V.isElement=function(t){return!(!t||1!==t.nodeType)},V.isArray=H||function(t){return"[object Array]"===j.call(t)},V.isObject=function(t){var e=typeof t;return"function"===e||"object"===e&&!!t},V.each(["Arguments","Function","String","Number","Date","RegExp","Error"],function(t){V["is"+t]=function(e){return j.call(e)==="[object "+t+"]"}}),V.isArguments(arguments)||(V.isArguments=function(t){return V.has(t,"callee")}),"function"!=typeof/./&&"object"!=typeof Int8Array&&(V.isFunction=function(t){return"function"==typeof t||!1}),V.isFinite=function(t){return isFinite(t)&&!isNaN(parseFloat(t))},V.isNaN=function(t){return V.isNumber(t)&&t!==+t},V.isBoolean=function(t){return t===!0||t===!1||"[object Boolean]"===j.call(t)},V.isNull=function(t){return null===t},V.isUndefined=function(t){return void 0===t},V.has=function(t,e){return null!=t&&R.call(t,e)},V.noConflict=function(){return P._=I,this},V.identity=function(t){return t},V.constant=function(t){return function(){return t}},V.noop=function(){},V.property=f,V.propertyOf=function(t){return null==t?function(){}:function(e){return t[e]}},V.matcher=V.matches=function(t){return t=V.extendOwn({},t),function(e){return V.isMatch(e,t)}},V.times=function(t,e,n){var i,r=Array(Math.max(0,t));for(e=l(e,n,1),i=0;t>i;i++)r[i]=e(i);return r},V.random=function(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))},V.now=Date.now||function(){return(new Date).getTime()},x={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},k=V.invert(x),S=function(t){var e=function(e){return t[e]},n="(?:"+V.keys(t).join("|")+")",i=RegExp(n),r=RegExp(n,"g");return function(t){return t=null==t?"":""+t,i.test(t)?t.replace(r,e):t}},V.escape=S(x),V.unescape=S(k),V.result=function(t,e,n){var i=null==t?void 0:t[e];return void 0===i&&(i=n),V.isFunction(i)?i.call(t):i},C=0,V.uniqueId=function(t){var e=++C+"";return t?t+e:e},V.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},T=/(.)^/,D={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},M=/\\|'|\r|\n|\u2028|\u2029/g,E=function(t){return"\\"+D[t]},V.template=function(t,e,n){var i,r,o,s,a,l;!e&&n&&(e=n),e=V.defaults({},e,V.templateSettings),i=RegExp([(e.escape||T).source,(e.interpolate||T).source,(e.evaluate||T).source].join("|")+"|$","g"),r=0,o="__p+='",t.replace(i,function(e,n,i,s,a){return o+=t.slice(r,a).replace(M,E),r=a+e.length,n?o+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":i?o+="'+\n((__t=("+i+"))==null?'':__t)+\n'":s&&(o+="';\n"+s+"\n__p+='"),e}),o+="';\n",e.variable||(o="with(obj||{}){\n"+o+"}\n"),o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{s=Function(e.variable||"obj","_",o)}catch(u){throw u.source=o,u}return a=function(t){return s.call(this,t,V)},l=e.variable||"obj",a.source="function("+l+"){\n"+o+"}",a},V.chain=function(t){var e=V(t);return e._chain=!0,e},A=function(t,e){return t._chain?V(e).chain():e},V.mixin=function(t){V.each(V.functions(t),function(e){var n=V[e]=t[e];V.prototype[e]=function(){var t=[this._wrapped];return F.apply(t,arguments),A(this,n.apply(V,t))}})},V.mixin(V),V.each(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var e=O[t];V.prototype[t]=function(){var n=this._wrapped;return e.apply(n,arguments),"shift"!==t&&"splice"!==t||0!==n.length||delete n[0],A(this,n)}}),V.each(["concat","join","slice"],function(t){var e=O[t];V.prototype[t]=function(){return A(this,e.apply(this._wrapped,arguments))}}),V.prototype.value=function(){return this._wrapped},V.prototype.valueOf=V.prototype.toJSON=V.prototype.value,V.prototype.toString=function(){return""+this._wrapped},i=[],r=function(){return V}.apply(e,i),!(void 0!==r&&(t.exports=r))}).call(this)},function(t,e){"use strict";!function(){var t,e,n,i,r,o,s=function(){};for(void 0===window.console&&(window.console={}),t=window.console,e=["dir","log","time","info","warn","count","clear","debug","error","group","trace","assert","dirxml","profile","timeEnd","groupEnd","profileEnd","timeStamp","exception","table","notifyFirebug","groupCollapsed","getFirebugElement","firebug","userObjects","someMethodForAssetHashChange"],n=0,i=e.length;i>n;n++)if(r=e[n],void 0===t[r])try{t[r]=s}catch(a){}o=window.onerror,window.__tv_js_errors=[],window.onerror=function(t,e,n,i,r){var s=new Date;if(s=s.getHours()+":"+s.getMinutes()+":"+s.getSeconds()+"."+s.getMilliseconds(),null!=r?window.__tv_js_errors.push(t+" (found at "+e+", line "+n+" at time "+s+", stack:<br> "+r.stack+")<br><br>"):window.__tv_js_errors.push(t+" (found at "+e+", line "+n+" at time "+s+")"),o)try{o.apply(window,arguments)}catch(a){}}}()},function(t,e,n){var i,r,o;!function(s){r=[n(592)],i=s,o="function"==typeof i?i.apply(e,r):i,!(void 0!==o&&(t.exports=o))}(function(t){function e(t){return a.raw?t:encodeURIComponent(t)}function n(t){return a.raw?t:decodeURIComponent(t)}function i(t){return e(a.json?JSON.stringify(t):t+"")}function r(t){0===t.indexOf('"')&&(t=t.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return t=decodeURIComponent(t.replace(s," ")),a.json?JSON.parse(t):t}catch(e){}}function o(e,n){var i=a.raw?e:r(e);return t.isFunction(n)?n(i):i}var s=/\+/g,a=t.cookie=function(r,s,l){var u,c,h,f,d,p,g,m,v;if(void 0!==s&&!t.isFunction(s))return l=t.extend({},a.defaults,l),"number"==typeof l.expires&&(u=l.expires,c=l.expires=new Date,c.setTime(+c+864e5*u)),document.cookie=e(r)+"="+i(s)+(l.expires?"; expires="+l.expires.toUTCString():"")+(l.path?"; path="+l.path:"")+(l.domain?"; domain="+l.domain:"")+(l.secure?"; secure":"");for(h=r?void 0:{},f=document.cookie?document.cookie.split("; "):[],d=0,p=f.length;p>d;d++){if(g=f[d].split("="),m=n(g.shift()),v=g.join("="),r&&r===m){h=o(v,s);break}r||void 0===(v=o(v))||(h[m]=v)}return h};a.defaults={},t.removeCookie=function(e,n){return void 0===t.cookie(e)?!1:(t.cookie(e,"",t.extend({},n,{expires:-1})),!t.cookie(e))}})},function(t,e){"use strict";!function(t){function e(e){var n=e||window.event,i=[].slice.call(arguments,1),r=0,o=0,s=0;return e=t.event.fix(n),e.type="mousewheel",n.wheelDelta&&(r=n.wheelDelta/120),n.detail&&(r=-n.detail/3),s=r,void 0!==n.axis&&n.axis===n.HORIZONTAL_AXIS&&(s=0,o=-1*r),void 0!==n.wheelDeltaY&&(s=n.wheelDeltaY/120),void 0!==n.wheelDeltaX&&(o=-1*n.wheelDeltaX/120),i.unshift(e,r,o,s),(t.event.dispatch||t.event.handle).apply(this,i)}var n,i=["DOMMouseScroll","mousewheel"];if(t.event.fixHooks)for(n=i.length;n;)t.event.fixHooks[i[--n]]=t.event.mouseHooks;t.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var t=i.length;t;)this.addEventListener(i[--t],e,!1);else this.onmousewheel=e},teardown:function(){if(this.removeEventListener)for(var t=i.length;t;)this.removeEventListener(i[--t],e,!1);else this.onmousewheel=null}},t.fn.extend({mousewheel:function(t){return t?this.bind("mousewheel",t):this.trigger("mousewheel")},unmousewheel:function(t){return this.unbind("mousewheel",t)}})}(jQuery)},function(t,e){!function(t){"use strict";t.fn.pixelSnap=function(){var e=.01,n=1-e;return t(this).each(function(){var i,r,o,s,a,l,u=this,c=t(u);u.getBoundingClientRect&&(i=u.getBoundingClientRect(),(i.left%1<e||i.left%1>n)&&(i.top%1<e||i.top%1>n)||(r=Math.round(parseFloat(c.css("margin-left")))||0,o=Math.round(parseFloat(c.css("margin-top")))||0,c.css({"margin-left":r+"px","margin-top":o+"px"}),s=u.getBoundingClientRect(),a=-s.left%1,a>0&&(a-=1),-.5>a&&(a+=1),l=-s.top%1,l>0&&(l-=1),-.5>l&&(l+=1),c.css({"margin-left":r+a+"px","margin-top":o+l+"px"})))}),this}}(jQuery)},function(t,e){"use strict";!function(t,e){function n(){this._state=[],this._defaults={classHolder:"sbHolder",classHolderDisabled:"sbHolderDisabled",classHolderOpen:"sbHolderOpen",classSelector:"sbSelector",classOptions:"sbOptions",classGroup:"sbGroup",classSub:"sbSub",classDisabled:"sbDisabled",classToggleOpen:"sbToggleOpen",classToggle:"sbToggle",classSeparator:"sbSeparator",useCustomPrependWithSelector:"",customPrependSelectorClass:"",speed:200,slidesUp:!1,effect:"slide",onChange:null,onOpen:null,onClose:null}}function i(e,n,i,r){function o(){n.removeClass(e.settings.customPrependSelectorClass),e._lastSelectorPrepend&&(e._lastSelectorPrepend.remove(),delete e._lastSelectorPrepend),i.data("custom-option-prepend")&&(e.settings.customPrependSelectorClass&&n.addClass(e.settings.customPrependSelectorClass),e._lastSelectorPrepend=t(i.data("custom-option-prepend")).clone(),n[e.settings.useCustomPrependWithSelector](e._lastSelectorPrepend))}e.settings.useCustomPrependWithSelector&&(r?e._onAttachCallback=o:o())}var r="selectbox",o=!1,s=!0;t.extend(n.prototype,{_refreshSelectbox:function(t,e){if(!t)return o;var n=this._getInst(t);return null==n?o:(this._fillList(t,n,e),s)},_isOpenSelectbox:function(t){if(!t)return o;var e=this._getInst(t);return e.isOpen},_isDisabledSelectbox:function(t){if(!t)return o;var e=this._getInst(t);return e.isDisabled},_attachSelectbox:function(n,i){function s(){var e,n=this.attr("id").split("_")[1];for(e in u._state)e!==n&&u._state.hasOwnProperty(e)&&t(":input[sb='"+e+"']")[0]&&u._closeSelectbox(t(":input[sb='"+e+"']")[0])}function a(e){l.children().each(function(i){var r,o=t(this);if(o.is(":selected")){if(38==e&&i>0)return r=t(l.children()[i-1]),u._changeSelectbox(n,r.val(),r.text()),!1;if(40==e&&i<l.children().length-1)return r=t(l.children()[i+1]),u._changeSelectbox(n,r.val(),r.text()),!1}})}var l,u,c,h,f,d,p,g,m,v,y,b;return this._getInst(n)?o:(l=t(n),u=this,c=u._newInst(l),g=o,m=l.find("optgroup"),v=l.find("option"),y=v.length,l.attr("sb",c.uid),t.extend(c.settings,u._defaults,i),u._state[c.uid]=o,l.hide(),h=t("<div>",{id:"sbHolder_"+c.uid,"class":c.settings.classHolder}),b=l.data("selectbox-css"),b&&h.css(b),f=t("<a>",{id:"sbSelector_"+c.uid,href:"#","class":c.settings.classSelector,click:function(e){e.preventDefault(),e.stopPropagation(),s.apply(t(this),[]);var i=t(this).attr("id").split("_")[1];u._state[i]?u._closeSelectbox(n):(u._openSelectbox(n),d.focus())},keyup:function(t){a(t.keyCode)}}),d=t("<a>",{id:"sbToggle_"+c.uid,href:"#","class":c.settings.classToggle,click:function(e){e.preventDefault(),e.stopPropagation(),s.apply(t(this),[]);var i=t(this).attr("id").split("_")[1];u._state[i]?u._closeSelectbox(n):(u._openSelectbox(n),d.focus())},keyup:function(t){a(t.keyCode)}}),d.appendTo(h),p=t("<ul>",{id:"sbOptions_"+c.uid,"class":c.settings.classOptions,css:{display:"none"}}),c.sbOptions=p,c.sbToggle=d,c.sbSelector=f,this._fillList(n,c),t.data(n,r,c),f.appendTo(h),p.appendTo(h),h.insertAfter(l),c._onAttachCallback&&(c._onAttachCallback(),delete c._onAttachCallback),l.is(":disabled")&&t.selectbox._disableSelectbox(n),l.change(function(){var e=t(this).val(),i=l.find("option[value='"+e+"']").text();u._changeSelectbox(n,e,i)}),e)},_detachSelectbox:function(n){var i=this._getInst(n);return i?(t("#sbHolder_"+i.uid).remove(),delete this._state[i.uid],t.data(n,r,null),t(n).show(),e):o},_changeSelectbox:function(e,n,r){var a,l,u=this._getInst(e),c=this._get(u,"onChange"),h=t("#sbSelector_"+u.uid).text()===r&&t("#sbOptions_"+u.uid).find('a[rel="'+n+'"]').hasClass("active");h||(a=t(e).find("option[value='"+n+"']"),l=t("#sbSelector_"+u.uid),l.text(r),i(u,l,a),t("#sbOptions_"+u.uid).find(".active").removeClass("active"),t("#sbOptions_"+u.uid).find('a[rel="'+n+'"]').addClass("active"),t(e).find("option").attr("selected",o),a.attr("selected",s),c?c.apply(u.input?u.input[0]:null,[n,u]):u.input&&u.input.trigger("change"))},_enableSelectbox:function(n){var i=this._getInst(n);return i&&i.isDisabled?(t("#sbHolder_"+i.uid).removeClass(i.settings.classHolderDisabled),i.isDisabled=o,t.data(n,r,i),e):o},_disableSelectbox:function(n){var i=this._getInst(n);return!i||i.isDisabled?o:(t("#sbHolder_"+i.uid).addClass(i.settings.classHolderDisabled),i.isDisabled=s,t.data(n,r,i),e)},_optionSelectbox:function(n,i,s){var a=this._getInst(n);return a?null==s?a[i]:(a[i]=s,t.data(n,r,a),e):o},_openSelectbox:function(e){var n,i,o,a,l,u,c,h,f=this._getInst(e),d=this;!f||f.isOpen||f.isDisabled||(n=t("#sbOptions_"+f.uid),i=parseInt(t(window).height(),10),o=parseInt(t(window).width(),10),a=t("#sbHolder_"+f.uid).offset(),l=t(window).scrollTop(),u=n.prev().height(),c=i-(a.top-l)-u/2,h=this._get(f,"onOpen"),c>50&&!f.settings.slidesUp?n.css({bottom:"auto",top:u+2+"px",maxHeight:c-u+"px"}):n.css({top:"auto",bottom:u+2+"px",maxHeight:a.top-l-u/2+"px"}),a.left+n.width()>o?n.css("left","-"+(n.width()-n.parent().width()+3)+"px"):n.css("left","-1px"),"fade"===f.settings.effect?n.fadeIn(f.settings.speed):n.slideDown(f.settings.speed),t("#sbToggle_"+f.uid).addClass(f.settings.classToggleOpen),t("#sbHolder_"+f.uid).addClass(f.settings.classHolderOpen),this._state[f.uid]=s,f.isOpen=s,h&&h.apply(f.input?f.input[0]:null,[f]),t.data(e,r,f),t("html").unbind("click.sbClose").one("click.sbClose",function(){d._closeSelectbox(e)}))},_closeSelectbox:function(e){var n,i=this._getInst(e);i&&i.isOpen&&(n=this._get(i,"onClose"),t("#sbOptions_"+i.uid).hide(),t("#sbToggle_"+i.uid).removeClass(i.settings.classToggleOpen),t("#sbHolder_"+i.uid).removeClass(i.settings.classHolderOpen),this._state[i.uid]=o,i.isOpen=o,n&&n.apply(i.input?i.input[0]:null,[i]),t.data(e,r,i),t("html").unbind("click.sbClose"))},_newInst:function(t){var e=t[0].id.replace(/([^A-Za-z0-9_-])/g,"\\\\$1");return{id:e,input:t,uid:Math.floor(99999999*Math.random()),isOpen:o,isDisabled:o,isSelected:o,settings:{}}},_getInst:function(e){try{return t.data(e,r)}catch(n){throw"Missing instance data for this selectbox"}},_get:function(t,n){return t.settings[n]!==e?t.settings[n]:this._defaults[n]},_getOptions:function(n,r,o,a,l){var u=!(!arguments[1]||!arguments[1].sub),c=!(!arguments[1]||!arguments[1].disabled),h=this;arguments[0].each(function(n){var r,f=t(this),d=t("<li>");f.is(":selected")&&(o.sbSelector.text(f.text()),i(o,o.sbSelector,f,!0),o.isSelected=s),n===a-1&&d.addClass("last"),function(){var n,i=f.text(),s=f.data("custom-option-text"),a=s!==e?s:i;"__separator__"===f.val()?(r=t("<span>").addClass(o.settings.classSeparator),r.appendTo(d)):f.is(":disabled")||c?(r=t("<span>",{text:a}).addClass(o.settings.classDisabled),u&&r.addClass(o.settings.classSub),r.appendTo(d)):(r=t("<a>",{href:"#"+f.val(),rel:f.val(),text:a,"class":"filter",click:function(e){e.preventDefault();var n=o.sbToggle;n.attr("id").split("_")[1];h._closeSelectbox(l),h._changeSelectbox(l,t(this).attr("rel"),i),n.focus()}}),f.is(":selected")&&r.addClass("active"),u&&r.addClass(o.settings.classSub),r.appendTo(d)),n=f.data("custom-option-prepend"),n&&r.prepend(n)}(),d.addClass(f.attr("class")),d.appendTo(o.sbOptions)})},_fillList:function(e,n,r){var o=this,a=t(e),l=(a.find("optgroup"),a.find("option")),u=l.length;r||(r=0),a.children().slice(r).each(function(i){var r,s=t(this),a={};s.is("option")?o._getOptions(s,null,n,u,e):s.is("optgroup")&&(r=t("<li>"),t("<span>",{text:s.attr("label")}).addClass(n.settings.classGroup).appendTo(r),r.appendTo(n.sbOptions),s.is(":disabled")&&(a.disabled=!0),a.sub=!0,o._getOptions(s.find("option"),a,n,u,e))}),n.isSelected||(n.sbSelector.text(l.first().text()),i(n,n.sbSelector,l.first(),!0),n.isSelected=s)}}),t.fn.selectbox=function(e){var n=Array.prototype.slice.call(arguments,1);return"string"==typeof e&&"isDisabled"==e?t.selectbox["_"+e+"Selectbox"].apply(t.selectbox,[this[0]].concat(n)):"option"==e&&2==arguments.length&&"string"==typeof arguments[1]?t.selectbox["_"+e+"Selectbox"].apply(t.selectbox,[this[0]].concat(n)):this.each(function(){"string"==typeof e?t.selectbox["_"+e+"Selectbox"].apply(t.selectbox,[this].concat(n)):t.selectbox._attachSelectbox(this,e)})},t.selectbox=new n,t.selectbox.version="0.1.3"}(jQuery)},function(t,e){"use strict";!function(t,e){var n="hidden",i='<textarea style="position:absolute; top:-9999px; left:-9999px; right:auto; bottom:auto; box-sizing:content-box; word-wrap:break-word; height:0 !important; min-height:0 !important; overflow:hidden">',r=["fontFamily","fontSize","fontWeight","fontStyle","letterSpacing","textTransform","wordSpacing"],o="oninput",s="onpropertychange",a=t(i)[0];a.setAttribute(o,"return"),t.isFunction(a[o])||s in a?t.fn.autosize=function(e){return this.each(function(){function a(){var t,e;l||(l=!0,h.value=u.value,h.style.overflowY=u.style.overflowY,h.style.width=c.css("width"),h.style.textIndent=c.css("text-indent"),h.scrollTop=0,h.scrollTop=9e4,t=h.scrollTop,e=n,t>d?(t=d,e="scroll"):f>t&&(t=f),u.style.overflowY=e,u.style.height=u.style.minHeight=u.style.maxHeight=t+g+"px",setTimeout(function(){l=!1},1)),c.trigger("autosizeComplete")}var l,u=this,c=t(u).css({overflow:n,overflowY:n,wordWrap:"break-word"}),h=t(i).addClass(e||"autosizejs")[0],f=c.height(),d=parseInt(c.css("maxHeight"),10),p=r.length,g="border-box"===c.css("box-sizing")?c.outerHeight()-c.height():0;for(d=d&&d>0?d:9e4;p--;)h.style[r[p]]=c.css(r[p]);t("body").append(h),s in u?o in u?u[o]=u.onkeyup=a:u[s]=a:u[o]=a,t(window).resize(a),c.bind("autosize",a),a()})}:t.fn.autosize=function(){return this}}(jQuery)},function(t,e){(function(){"use strict";var t=window.Modernizr=function(t,e,n){function i(t){b.cssText=t}function r(t,e){return typeof t===e}function o(t,e){return!!~(""+t).indexOf(e)}function s(t,e){var i,r;for(i in t)if(r=t[i],!o(r,"-")&&b[r]!==n)return"pfx"==e?r:!0;return!1}function a(t,e,i){var o,s;for(o in t)if(s=e[t[o]],s!==n)return i===!1?t[o]:r(s,"function")?s.bind(i||e):s;return!1}function l(t,e,n){var i=t.charAt(0).toUpperCase()+t.slice(1),o=(t+" "+x.join(i+" ")+i).split(" ");return r(e,"string")||r(e,"undefined")?s(o,e):(o=(t+" "+k.join(i+" ")+i).split(" "),a(o,e,n))}var u,c,h,f,d="2.7.1",p={},g=!0,m=e.documentElement,v="modernizr",y=e.createElement(v),b=y.style,_=({}.toString," -webkit- -moz- -o- -ms- ".split(" ")),w="Webkit Moz O ms",x=w.split(" "),k=w.toLowerCase().split(" "),S={},C=[],T=C.slice,D=function(t,n,i,r){var o,s,a,l,u=e.createElement("div"),c=e.body,h=c||e.createElement("body");if(parseInt(i,10))for(;i--;)a=e.createElement("div"),a.id=r?r[i]:v+(i+1),u.appendChild(a);return o='­<style id="s'+v+'">'+t+"</style>",u.id=v,(c?u:h).innerHTML+=o,h.appendChild(u),c||(h.style.background="",h.style.overflow="hidden",l=m.style.overflow,m.style.overflow="hidden",m.appendChild(h)),s=n(u,t),c?u.parentNode.removeChild(u):(h.parentNode.removeChild(h),m.style.overflow=l),!!s},M=function(){function t(t,o){o=o||e.createElement(i[t]||"div"),t="on"+t;var s=t in o;return s||(o.setAttribute||(o=e.createElement("div")),o.setAttribute&&o.removeAttribute&&(o.setAttribute(t,""),s=r(o[t],"function"),r(o[t],"undefined")||(o[t]=n),o.removeAttribute(t))),o=null,s}var i={select:"input",change:"input",submit:"form",reset:"form",
|
||
error:"img",load:"img",abort:"img"};return t}(),E={}.hasOwnProperty;h=r(E,"undefined")||r(E.call,"undefined")?function(t,e){return e in t&&r(t.constructor.prototype[e],"undefined")}:function(t,e){return E.call(t,e)},Function.prototype.bind||(Function.prototype.bind=function(t){var e,n,i=this;if("function"!=typeof i)throw new TypeError;return e=T.call(arguments,1),n=function(){var r,o,s;return this instanceof n?(r=function(){},r.prototype=i.prototype,o=new r,s=i.apply(o,e.concat(T.call(arguments))),Object(s)===s?s:o):i.apply(t,e.concat(T.call(arguments)))}}),S.canvas=function(){var t=e.createElement("canvas");return!!t.getContext&&!!t.getContext("2d")},S.canvastext=function(){return!!p.canvas&&!!r(e.createElement("canvas").getContext("2d").fillText,"function")},S.touch=function(){var n;return"ontouchstart"in t||t.DocumentTouch&&e instanceof DocumentTouch?n=!0:D("@media ("+_.join("touch-enabled),(")+v+"){#modernizr{top:9px;position:absolute}}",function(t){n=9===t.offsetTop}),n},S.history=function(){return!!t.history&&!!history.pushState},S.draganddrop=function(){var t=e.createElement("div");return"draggable"in t||"ondragstart"in t&&"ondrop"in t},S.websockets=function(){return"WebSocket"in t||"MozWebSocket"in t},S.multiplebgs=function(){return i("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(b.background)},S.csscolumns=function(){return l("columnCount")},S.csstransitions=function(){return l("transition")},S.localstorage=function(){try{return localStorage.setItem(v,v),localStorage.removeItem(v),!0}catch(t){return!1}};for(f in S)h(S,f)&&(c=f.toLowerCase(),p[c]=S[f](),C.push((p[c]?"":"no-")+c));return p.addTest=function(t,e){if("object"==typeof t)for(var i in t)h(t,i)&&p.addTest(i,t[i]);else{if(t=t.toLowerCase(),p[t]!==n)return p;e="function"==typeof e?e():e,void 0!==g&&g&&(m.className+=" feature-"+(e?"":"no-")+t),p[t]=e}return p},i(""),y=u=null,p._version=d,p._prefixes=_,p._domPrefixes=k,p._cssomPrefixes=x,p.hasEvent=M,p.testProp=function(t){return s([t])},p.testAllProps=l,p.testStyles=D,m.className=m.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(g?" feature-js feature-"+C.join(" feature-"):""),p}(this,this.document);t.touch=t.touch&&"onorientationchange"in window,t.addTest("pointerevents",function(){var t,e=document.createElement("x"),n=document.documentElement,i=window.getComputedStyle,r=!1;return"pointerEvents"in e.style?(e.style.pointerEvents="auto",e.style.pointerEvents="x",n.appendChild(e),i&&(t=i(e,""),r=t?"auto"===t.pointerEvents:!1),n.removeChild(e),!!r):!1}),t.addTest("flexbox",t.testAllProps("flexBasis","1px",!0))}).call(window)},function(t,e){"use strict";!function(t){function e(t,e,n){var i,r,o,s,a,l;if(t/=255,e/=255,n/=255,i=Math.max(t,e,n),r=Math.min(t,e,n),a=i,l=i-r,s=0===i?0:l/i,i==r)o=0;else{switch(i){case t:o=(e-n)/l+(n>e?6:0);break;case e:o=(n-t)/l+2;break;case n:o=(t-e)/l+4}o/=6}return[o,s,a]}function n(t,e,n){var i,r,o,s=Math.floor(6*t),a=6*t-s,l=n*(1-e),u=n*(1-a*e),c=n*(1-(1-a)*e);switch(s%6){case 0:i=n,r=c,o=l;break;case 1:i=u,r=n,o=l;break;case 2:i=l,r=n,o=c;break;case 3:i=l,r=u,o=n;break;case 4:i=c,r=l,o=n;break;case 5:i=n,r=l,o=u}return[255*i,255*r,255*o]}function i(t){return t=t.replace(/^(?:[\da-f]{3}){1,2}$/i,"#$&"),t=t.replace(/^#([\da-f])([\da-f])([\da-f])$/i,"#$1$1$2$2$3$3"),t=t.replace(/^\s*RGB\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)\s*$/,function(t,e,n,i){return TradingView.rgbComp(e,n,i)})}function r(t){return TradingView.decompNamedColor(t)||t.match(/[0-9.]+/g)}function o(t){t&&(t.join||(t=t?(""+t).split(","):[]),l=t)}function s(c){function h(e){var n=!1;return e=e.toLowerCase(),t.each(l,function(t,i){return i.toLowerCase()==e?(n=!0,!1):void 0}),n?!1:(l=[e].concat(l.slice(0,a-1)),!0)}function f(e,n){n=n||{};var i=t(this);e=TradingView.rgbaComp(TradingView.rgbDecomp(e),n.transparency),d.call(this,e),i.removeData("tvcolorpicker").removeData("tvcolorpicker-custom-color"),n.close&&(y(),i.blur())}function d(e){var n=t(this);n.val(e),n.change(),e?n.trigger("pick-color",e):n.trigger("pick-transparent"),p.call(this,e)}function p(e){return""===e?void t(this).addClass("tvcolorpicker-gradient-widget"):(t(this).removeClass("tvcolorpicker-gradient-widget"),void t(this).css({backgroundColor:e,color:e}))}function g(n,i){var o,s,l=this,u=t(l).val().toLowerCase(),c=document.createElement("table"),h=document.createElement("tbody");return c.appendChild(h),s=0,t.each(n,function(n,c){var d,p,g;s++,n%a===0&&(o=t("<tr></tr>").appendTo(h)),d=t('<td class="tvcolorpicker-cell"></td>').appendTo(o),p=t('<div class="tvcolorpicker-transparency"><div class="tvcolorpicker-swatch"></div></div>').appendTo(d).find(".tvcolorpicker-swatch").data("color",c),i&&i.addClass&&p.addClass(i.addClass),c&&(c=c.toLowerCase(),u&&TradingView.rgbComp.apply(null,r(u))===TradingView.rgbComp.apply(null,r(c))&&p.addClass("active"),p.css({backgroundColor:c}).data("color",c),p.bind("click",function(){f.call(l,c,{close:!0,transparency:b.val()})}),g=e.apply(this,TradingView.rgbDecomp(c)))}),t(c).addClass("tvcolorpicker-table"),s?c:t()}function m(e,n,i){var r,o=t(e).offset(),s={left:t(document).scrollLeft(),top:t(document).scrollTop()},a={width:t(e).outerWidth(),height:t(e).outerHeight()},l={width:t(window).width(),height:t(window).height()},u={width:t(n).outerWidth(),height:t(n).outerHeight()};switch(i.direction){default:case"down":r={top:o.top+a.height+i.offset,left:o.left+i.drift};break;case"right":r={top:o.top+i.drift,left:o.left+a.width+i.offset}}r.top+u.height>l.height+s.top&&(r.top=l.height-u.height+s.top),o.left+u.width>l.width&&(r.left=l.width-u.width),r.left+="px",r.top+="px",n.css(r)}function v(i){function o(t){var e=t.originalEvent,i=t.offsetX||t.layerX||e&&(e.offsetX||e.layerX)||0,r=t.offsetY||t.layerY||e&&(e.offsetY||e.layerY)||0;k.css({left:i+"px",top:r+"px"}),N[0]=i/A,N[1]=1-r/E,T.css({backgroundColor:TradingView.rgbComp(n(N[0],N[1],1))}),p()}function s(e){1==e.which&&(P=!1,v.is(".opened")&&t(z).get(0).focus())}function a(e){var n=e.pageY,i=t(M),r=i.offset().top,o=n-r;return o>i.height()?i.height():0>o?0:o}function c(t){var e=a(t);D.css({top:e+"px"}),N[2]=1-e/E,p()}function h(e){1==e.which&&(I=!1,t(document).unbind("mouseup",h),v.is(".opened")&&t(z).get(0).focus())}function p(){O&&(O=!1,v.find(".tvcolorpicker-swatch.active").removeClass("active"));var t=TradingView.rgbaComp(n(N[0],N[1],N[2]),b.val());z.val().toUpperCase()!=t.toUpperCase()&&(z.data("tvcolorpicker-custom-color",t),d.call(z,t))}var v,y,_,w,x,k,S,C,T,D,M,E,A,P,I,O,N,L,F=!1,z=t(this);return function(){var t=z.val();TradingView.isHexColor(t)&&d.call(z,TradingView.rgbaComp(TradingView.hexRgbDecomp(t)))}(),v=t('<div class="tvcolorpicker-popup opened">'),y=t('<div class="tvcolorpicker-swatches-area"></div>').appendTo(v),y.append(g.call(this,["rgba(0, 0, 0, 1)","rgba(66, 66, 66, 1)","rgba(101, 101, 101, 1)","rgba(152, 152, 152, 1)","rgba(182, 182, 182, 1)","rgba(203, 203, 203, 1)","rgba(216, 216, 216, 1)","rgba(238, 238, 238, 1)","rgba(242, 242, 242, 1)","rgba(255, 255, 255, 1)"])),y.append(g.call(this,["rgba(151, 0, 0, 1)","rgba(255, 0, 0, 1)","rgba(255, 152, 0, 1)","rgba(255, 255, 0, 1)","rgba(0, 255, 0, 1)","rgba(0, 255, 255, 1)","rgba(73, 133, 231, 1)","rgba(0, 0, 255, 1)","rgba(152, 0, 255, 1)","rgba(255, 0, 255, 1)"])),y.append(g.call(this,["rgba(230, 184, 175, 1)","rgba(244, 204, 204, 1)","rgba(252, 229, 205, 1)","rgba(255, 242, 204, 1)","rgba(217, 234, 211, 1)","rgba(208, 224, 227, 1)","rgba(201, 218, 248, 1)","rgba(207, 226, 243, 1)","rgba(217, 210, 233, 1)","rgba(234, 209, 220, 1)","rgba(221, 126, 107, 1)","rgba(234, 153, 153, 1)","rgba(249, 203, 156, 1)","rgba(255, 229, 153, 1)","rgba(182, 215, 168, 1)","rgba(162, 196, 201, 1)","rgba(164, 194, 244, 1)","rgba(159, 197, 232, 1)","rgba(180, 167, 214, 1)","rgba(213, 166, 189, 1)","rgba(204, 65, 37, 1)","rgba(224, 102, 102, 1)","rgba(246, 178, 107, 1)","rgba(255, 217, 102, 1)","rgba(147, 196, 125, 1)","rgba(118, 165, 175, 1)","rgba(109, 158, 235, 1)","rgba(111, 168, 220, 1)","rgba(142, 124, 195, 1)","rgba(194, 123, 160, 1)","rgba(166, 28, 0, 1)","rgba(204, 0, 0, 1)","rgba(230, 145, 56, 1)","rgba(241, 194, 50, 1)","rgba(106, 168, 79, 1)","rgba(69, 129, 142, 1)","rgba(60, 120, 216, 1)","rgba(61, 133, 198, 1)","rgba(103, 78, 167, 1)","rgba(166, 77, 121, 1)","rgba(133, 32, 12, 1)","rgba(153, 0, 0, 1)","rgba(180, 95, 6, 1)","rgba(191, 144, 0, 1)","rgba(56, 118, 29, 1)","rgba(19, 79, 92, 1)","rgba(17, 85, 204, 1)","rgba(11, 83, 148, 1)","rgba(53, 28, 117, 1)","rgba(116, 27, 71, 1)","rgba(91, 15, 0, 1)","rgba(102, 0, 0, 1)","rgba(120, 63, 4, 1)","rgba(127, 96, 0, 1)","rgba(39, 78, 19, 1)","rgba(12, 52, 61, 1)","rgba(28, 69, 135, 1)","rgba(7, 55, 99, 1)","rgba(32, 18, 77, 1)","rgba(76, 17, 48, 1)"])),_=t('<div class="tvcolorpicker-custom-area"></div>').css({display:"none"}).appendTo(v),w=t('<div class="tvcolorpicker-hsv"></div>').appendTo(_),x=t('<div class="tvcolorpicker-hs"></div>').appendTo(w),k=t('<div class="tvcolorpicker-hs-handle"></div>').appendTo(x),S=t('<div class="tvcolorpicker-hs-area"></div>').appendTo(x),C=t('<div class="tvcolorpicker-vv">').appendTo(w),T=t('<div class="tvcolorpicker-v"></div>').appendTo(C),D=t('<div class="tvcolorpicker-v-handle"></div>').appendTo(T),M=t('<div class="tvcolorpicker-v-area"></div>').appendTo(T),b=TradingView.getTransparencySlider(t(this),i.hideTransparency),b.initEvents(),b.updateColor(),b.$el.appendTo(v),b.val(r(z.val()||u)[3]),E=x.height(),A=x.width(),P=!1,I=!1,O=!0,N=[0,0,.5],S.bind("mousedown",function(e){1==e.which&&(P=!0,t(document).bind("mouseup",s),o(e),e.preventDefault())}),S.bind("mousemove",function(t){P&&(o(t),t.preventDefault())}),t(b).on("change",function(){return F?void p():void f.call(this,t(this).val()||u,{transparency:b.val()})}.bind(this)),t(b).on("afterChange",function(){t(this).focus()}.bind(this)),C.bind("mousedown",function(e){1==e.which&&(I=!0,t(document).bind("mouseup",h),c(e),e.preventDefault())}),t(document).bind("mousemove",function(t){I&&(c(t),t.preventDefault())}),L=t('<a class="tvcolorpicker-custom-button _tv-button">'+t.t("Custom color...")+"</a>").appendTo(v).bind("click",function(){var i,r=t(this).is(".active");r||_.css({minWidth:y.width()+"px",minHeight:y.height()+"px"}),t(this)[r?"removeClass":"addClass"]("active"),F=t(this).is(".active"),_.css({display:r?"none":"block"}),y.css({display:r?"block":"none"}),r?z.removeData("tvcolorpicker-custom-color"):(E=x.height(),A=x.width(),i=TradingView.rgbDecomp(z.val()||u),N=e.apply(this,i),k.css({left:~~(N[0]*A)+"px",top:~~((1-N[1])*E)+"px"}),D.css({top:~~((1-N[2])*E)+"px"}),T.css({backgroundColor:TradingView.rgbComp(n(N[0],N[1],1))}))}),v.append(t(g.call(this,l,{addClass:"tvcolorpicker-user"})).addClass("tvcolorpicker-user-swatches")),t(document.body).append(v),m(z,v,i),v}function y(){t(".tvcolorpicker-popup").removeClass("opened").remove(),t(b).off("change"),t(b).off("afterChange"),t(_).data("tvcolorpicker",null),t(_).each(function(){var e,n=t(this).data("tvcolorpicker-custom-color");n&&(h(n)&&t(this).trigger("customcolorchange",[l]),t(this).data("tvcolorpicker-custom-color",null)),e=t(this).data("tvcolorpicker-previous-color"),e&&e!=t(this).val()&&t(this).trigger("change"),t(this).removeData("tvcolorpicker-previous-color")})}var b,_;return c=t.extend({},s.options,c||{}),_=this,c&&"customColors"in c&&o(c.customColors),this.each(function(){function e(){var t=i(s.val());p.call(s,t)}var n,r,o,s=t(this);s.val(i(s.val())),n=null,r=!1,s.addClass("tvcolorpicker-widget").attr("autocomplete","off").attr("readonly",!0),o=function(){s.data("tvcolorpicker")||(y.call(s),n=v.call(s,c),s.data("tvcolorpicker-custom-color",null),s.data("tvcolorpicker",n),s.data("tvcolorpicker-previous-color",s.val()),n.bind("mousedown click",function(e){var i=t(e.target).parents().andSelf();i.is(n)&&(s.focus(),r=!0,setTimeout(function(){r=!1},0))}))},s.on("touchstart",o),s.focus(o),y.call(s),s.bind("blur",function(t){r?t.stopPropagation():y.call(s)}),s.change(function(t){e()}),e()})}var a,l,u;if(!t)throw Error("This program cannot be run in DOS mode");s.setCustomColors=o,t.fn.tvcolorpicker=s,a=10,l=[],u="rgba(14, 15, 16, 1)",s.options={direction:"down",offset:0,drift:0}}(window.jQuery)},function(t,e){"use strict";Array.isArray||(Array.isArray=function(t){return"[object Array]"==Object.prototype.toString.call(t)}),Array.prototype.forEach||(Array.prototype.forEach=function(t){var e,n,i,r;if(void 0===this||null===this)throw new TypeError;if(e=Object(this),n=e.length>>>0,"function"!=typeof t)throw new TypeError;for(i=arguments.length>=2?arguments[1]:void 0,r=0;n>r;r++)r in e&&t.call(i,e[r],r,e)}),Array.prototype.map||(Array.prototype.map=function(t){var e,n,i,r,o;if(void 0===this||null===this)throw new TypeError;if(e=Object(this),n=e.length>>>0,"function"!=typeof t)throw new TypeError;for(i=Array(n),r=arguments.length>=2?arguments[1]:void 0,o=0;n>o;o++)o in e&&(i[o]=t.call(r,e[o],o,e));return i})},function(t,e){"use strict";Object.keys||(Object.keys=function(){var t=Object.prototype.hasOwnProperty,e=!{toString:null}.propertyIsEnumerable("toString"),n=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],i=n.length;return function(r){var o,s,a;if("object"!=typeof r&&"function"!=typeof r||null===r)throw new TypeError("Object.keys called on non-object");o=[];for(s in r)t.call(r,s)&&o.push(s);if(e)for(a=0;i>a;a++)t.call(r,n[a])&&o.push(n[a]);return o}}())},function(t,e){(function(){"use strict";!function(t){function e(e){var r,s;for(s in o)if(r=n(o[s]+i(e)),t[r])return r;return!1}function n(t){return t[0].toLowerCase()+t.slice(1)}function i(t){return t[0].toUpperCase()+t.slice(1)}function r(n,i){var r=e(n);r?t[n]=t[r]:t[n]=i}var o=["","webkit","moz","o","ms"],s=0;r("requestAnimationFrame",function(t){return setTimeout(t,16),s++})}(this)}).call(window)},function(t,e){"use strict";!function(){var t,e,n,i,r,o;window.parent!==window&&window.CanvasRenderingContext2D&&window.TextMetrics&&(e=window.CanvasRenderingContext2D.prototype)&&e.hasOwnProperty("font")&&e.hasOwnProperty("mozTextStyle")&&"function"==typeof e.__lookupSetter__&&(n=e.__lookupSetter__("font"))&&(e.__defineSetter__("font",function(t){try{return n.call(this,t)}catch(e){if("NS_ERROR_FAILURE"!==e.name)throw e}}),i=e.measureText,t=function(){this.width=0,this.isFake=!0,this.__proto__=window.TextMetrics.prototype},e.measureText=function(e){try{return i.apply(this,arguments)}catch(n){if("NS_ERROR_FAILURE"!==n.name)throw n;return new t}},r=e.fillText,e.fillText=function(t,e,n,i){try{r.apply(this,arguments)}catch(o){if("NS_ERROR_FAILURE"!==o.name)throw o}},o=e.strokeText,e.strokeText=function(t,e,n,i){try{o.apply(this,arguments)}catch(r){if("NS_ERROR_FAILURE"!==r.name)throw r}})}()},function(t,e){!function(t){t.easing.jswing=t.easing.swing,t.extend(t.easing,{def:"easeOutQuad",swing:function(e,n,i,r,o){return t.easing[t.easing.def](e,n,i,r,o)},easeInQuad:function(t,e,n,i,r){return i*(e/=r)*e+n},easeOutQuad:function(t,e,n,i,r){return-i*(e/=r)*(e-2)+n},easeInOutQuad:function(t,e,n,i,r){return(e/=r/2)<1?i/2*e*e+n:-i/2*(--e*(e-2)-1)+n},easeInCubic:function(t,e,n,i,r){return i*(e/=r)*e*e+n},easeOutCubic:function(t,e,n,i,r){return i*((e=e/r-1)*e*e+1)+n},easeInOutCubic:function(t,e,n,i,r){return(e/=r/2)<1?i/2*e*e*e+n:i/2*((e-=2)*e*e+2)+n},easeInQuart:function(t,e,n,i,r){return i*(e/=r)*e*e*e+n},easeOutQuart:function(t,e,n,i,r){return-i*((e=e/r-1)*e*e*e-1)+n},easeInOutQuart:function(t,e,n,i,r){return(e/=r/2)<1?i/2*e*e*e*e+n:-i/2*((e-=2)*e*e*e-2)+n},easeInQuint:function(t,e,n,i,r){return i*(e/=r)*e*e*e*e+n},easeOutQuint:function(t,e,n,i,r){return i*((e=e/r-1)*e*e*e*e+1)+n},easeInOutQuint:function(t,e,n,i,r){return(e/=r/2)<1?i/2*e*e*e*e*e+n:i/2*((e-=2)*e*e*e*e+2)+n},easeInSine:function(t,e,n,i,r){return-i*Math.cos(e/r*(Math.PI/2))+i+n},easeOutSine:function(t,e,n,i,r){return i*Math.sin(e/r*(Math.PI/2))+n},easeInOutSine:function(t,e,n,i,r){return-i/2*(Math.cos(Math.PI*e/r)-1)+n},easeInExpo:function(t,e,n,i,r){return 0==e?n:i*Math.pow(2,10*(e/r-1))+n},easeOutExpo:function(t,e,n,i,r){return e==r?n+i:i*(-Math.pow(2,-10*e/r)+1)+n},easeInOutExpo:function(t,e,n,i,r){return 0==e?n:e==r?n+i:(e/=r/2)<1?i/2*Math.pow(2,10*(e-1))+n:i/2*(-Math.pow(2,-10*--e)+2)+n},easeInCirc:function(t,e,n,i,r){return-i*(Math.sqrt(1-(e/=r)*e)-1)+n},easeOutCirc:function(t,e,n,i,r){return i*Math.sqrt(1-(e=e/r-1)*e)+n},easeInOutCirc:function(t,e,n,i,r){return(e/=r/2)<1?-i/2*(Math.sqrt(1-e*e)-1)+n:i/2*(Math.sqrt(1-(e-=2)*e)+1)+n},easeInElastic:function(t,e,n,i,r){var o=1.70158,s=0,a=i;return 0==e?n:1==(e/=r)?n+i:(s||(s=.3*r),a<Math.abs(i)?(a=i,o=s/4):o=s/(2*Math.PI)*Math.asin(i/a),-(a*Math.pow(2,10*(e-=1))*Math.sin((e*r-o)*(2*Math.PI)/s))+n)},easeOutElastic:function(t,e,n,i,r){var o=1.70158,s=0,a=i;return 0==e?n:1==(e/=r)?n+i:(s||(s=.3*r),a<Math.abs(i)?(a=i,o=s/4):o=s/(2*Math.PI)*Math.asin(i/a),a*Math.pow(2,-10*e)*Math.sin((e*r-o)*(2*Math.PI)/s)+i+n)},easeInOutElastic:function(t,e,n,i,r){var o=1.70158,s=0,a=i;return 0==e?n:2==(e/=r/2)?n+i:(s||(s=r*(.3*1.5)),a<Math.abs(i)?(a=i,o=s/4):o=s/(2*Math.PI)*Math.asin(i/a),1>e?-.5*(a*Math.pow(2,10*(e-=1))*Math.sin((e*r-o)*(2*Math.PI)/s))+n:a*Math.pow(2,-10*(e-=1))*Math.sin((e*r-o)*(2*Math.PI)/s)*.5+i+n)},easeInBack:function(t,e,n,i,r,o){return void 0==o&&(o=1.70158),i*(e/=r)*e*((o+1)*e-o)+n},easeOutBack:function(t,e,n,i,r,o){return void 0==o&&(o=1.70158),i*((e=e/r-1)*e*((o+1)*e+o)+1)+n},easeInOutBack:function(t,e,n,i,r,o){return void 0==o&&(o=1.70158),(e/=r/2)<1?i/2*(e*e*(((o*=1.525)+1)*e-o))+n:i/2*((e-=2)*e*(((o*=1.525)+1)*e+o)+2)+n},easeInBounce:function(e,n,i,r,o){return r-t.easing.easeOutBounce(e,o-n,0,r,o)+i},easeOutBounce:function(t,e,n,i,r){return(e/=r)<1/2.75?i*(7.5625*e*e)+n:2/2.75>e?i*(7.5625*(e-=1.5/2.75)*e+.75)+n:2.5/2.75>e?i*(7.5625*(e-=2.25/2.75)*e+.9375)+n:i*(7.5625*(e-=2.625/2.75)*e+.984375)+n},easeInOutBounce:function(e,n,i,r,o){return o/2>n?.5*t.easing.easeInBounce(e,2*n,0,r,o)+i:.5*t.easing.easeOutBounce(e,2*n-o,0,r,o)+.5*r+i}})}(jQuery)},function(t,e,n){var i,r;!function(t){function e(t){var e=t.length,i=n.type(t);return"function"===i||n.isWindow(t)?!1:1===t.nodeType&&e?!0:"array"===i||0===e||"number"==typeof e&&e>0&&e-1 in t}var n,i,r,o,s,a,l;if(!t.jQuery){n=function(t,e){return new n.fn.init(t,e)},n.isWindow=function(t){return null!=t&&t==t.window},n.type=function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?r[s.call(t)]||"object":typeof t},n.isArray=Array.isArray||function(t){return"array"===n.type(t)},n.isPlainObject=function(t){var e;if(!t||"object"!==n.type(t)||t.nodeType||n.isWindow(t))return!1;try{if(t.constructor&&!o.call(t,"constructor")&&!o.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(i){return!1}for(e in t);return void 0===e||o.call(t,e)},n.each=function(t,n,i){var r,o=0,s=t.length,a=e(t);if(i){if(a)for(;s>o&&(r=n.apply(t[o],i),r!==!1);o++);else for(o in t)if(r=n.apply(t[o],i),r===!1)break}else if(a)for(;s>o&&(r=n.call(t[o],o,t[o]),r!==!1);o++);else for(o in t)if(r=n.call(t[o],o,t[o]),r===!1)break;return t},n.data=function(t,e,r){var o,s;if(void 0===r){if(o=t[n.expando],s=o&&i[o],void 0===e)return s;if(s&&e in s)return s[e]}else if(void 0!==e)return o=t[n.expando]||(t[n.expando]=++n.uuid),i[o]=i[o]||{},i[o][e]=r,r},n.removeData=function(t,e){var r=t[n.expando],o=r&&i[r];o&&n.each(e,function(t,e){delete o[e]})},n.extend=function(){var t,e,i,r,o,s,a=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[l]||{},l++),"object"!=typeof a&&"function"!==n.type(a)&&(a={}),l===u&&(a=this,l--);u>l;l++)if(null!=(o=arguments[l]))for(r in o)t=a[r],i=o[r],a!==i&&(c&&i&&(n.isPlainObject(i)||(e=n.isArray(i)))?(e?(e=!1,s=t&&n.isArray(t)?t:[]):s=t&&n.isPlainObject(t)?t:{},a[r]=n.extend(c,s,i)):void 0!==i&&(a[r]=i));return a},n.queue=function(t,i,r){function o(t,n){var i=n||[];return null!=t&&(e(Object(t))?!function(t,e){for(var n=+e.length,i=0,r=t.length;n>i;)t[r++]=e[i++];if(n!==n)for(;void 0!==e[i];)t[r++]=e[i++];return t.length=r,t}(i,"string"==typeof t?[t]:t):[].push.call(i,t)),i}if(t){i=(i||"fx")+"queue";var s=n.data(t,i);return r?(!s||n.isArray(r)?s=n.data(t,i,o(r)):s.push(r),s):s||[]}},n.dequeue=function(t,e){n.each(t.nodeType?[t]:t,function(t,i){e=e||"fx";var r=n.queue(i,e),o=r.shift();"inprogress"===o&&(o=r.shift()),o&&("fx"===e&&r.unshift("inprogress"),o.call(i,function(){n.dequeue(i,e)}))})},n.fn=n.prototype={init:function(t){if(t.nodeType)return this[0]=t,this;throw Error("Not a DOM node.")},offset:function(){var e=this[0].getBoundingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:e.top+(t.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:e.left+(t.pageXOffset||document.scrollLeft||0)-(document.clientLeft||0)}},position:function(){function t(){for(var t=this.offsetParent||document;t&&"html"===!t.nodeType.toLowerCase&&"static"===t.style.position;)t=t.offsetParent;return t||document}var e=this[0],t=t.apply(e),i=this.offset(),r=/^(?:body|html)$/i.test(t.nodeName)?{top:0,left:0}:n(t).offset();return i.top-=parseFloat(e.style.marginTop)||0,i.left-=parseFloat(e.style.marginLeft)||0,t.style&&(r.top+=parseFloat(t.style.borderTopWidth)||0,r.left+=parseFloat(t.style.borderLeftWidth)||0),{top:i.top-r.top,left:i.left-r.left}}},i={},n.expando="velocity"+(new Date).getTime(),n.uuid=0,r={},o=r.hasOwnProperty,s=r.toString,a="Boolean Number String Function Array Date RegExp Object Error".split(" ");for(l=0;l<a.length;l++)r["[object "+a[l]+"]"]=a[l].toLowerCase();n.fn.init.prototype=n.fn,t.Velocity={Utilities:n}}}(window),function(o){"object"==typeof t&&"object"==typeof t.exports?t.exports=o():(i=o,r="function"==typeof i?i.call(e,n,e,t):i,!(void 0!==r&&(t.exports=r)))}(function(){return function(t,e,n,i){function r(t){for(var e,n=-1,i=t?t.length:0,r=[];++n<i;)e=t[n],e&&r.push(e);return r}function o(t){return x.isWrapped(t)?t=[].slice.call(t):x.isNode(t)&&(t=[t]),t}function s(t){var e=f.data(t,"velocity");return null===e?i:e}function a(t){return function(e){return Math.round(e*t)*(1/t)}}function l(t,n,i,r){function o(t,e){return 1-3*e+3*t}function s(t,e){return 3*e-6*t}function a(t){return 3*t}function l(t,e,n){return((o(e,n)*t+s(e,n))*t+a(e))*t}function u(t,e,n){return 3*o(e,n)*t*t+2*s(e,n)*t+a(e)}function c(e,n){var r,o,s;for(r=0;_>r;++r){if(o=u(n,t,i),0===o)return n;s=l(n,t,i)-e,n-=s/o}return n}function h(){for(var e=0;S>e;++e)m[e]=l(e*C,t,i)}function f(e,n,r){var o,s,a=0;do s=n+(r-n)/2,o=l(s,t,i)-e,o>0?r=s:n=s;while(Math.abs(o)>x&&++a<k);return s}function d(e){for(var n,r,o,s=0,a=1,l=S-1;a!=l&&m[a]<=e;++a)s+=C;return--a,n=(e-m[a])/(m[a+1]-m[a]),r=s+n*C,o=u(r,t,i),o>=w?c(e,r):0==o?r:f(e,s,s+C)}function p(){v=!0,t==n&&i==r||h()}var g,m,v,y,b,_=4,w=.001,x=1e-7,k=10,S=11,C=1/(S-1),T="Float32Array"in e;if(4!==arguments.length)return!1;for(g=0;4>g;++g)if("number"!=typeof arguments[g]||isNaN(arguments[g])||!isFinite(arguments[g]))return!1;return t=Math.min(t,1),i=Math.min(i,1),t=Math.max(t,0),i=Math.max(i,0),m=T?new Float32Array(S):Array(S),v=!1,y=function(e){return v||p(),t===n&&i===r?e:0===e?0:1===e?1:l(d(e),n,r)},y.getControlPoints=function(){return[{x:t,y:n},{x:i,y:r}]},b="generateBezier("+[t,n,i,r]+")",y.toString=function(){return b},y}function u(t,e){var n=t;return x.isString(t)?g.Easings[t]||(n=!1):n=x.isArray(t)&&1===t.length?a.apply(null,t):x.isArray(t)&&2===t.length?m.apply(null,t.concat([e])):x.isArray(t)&&4===t.length?l.apply(null,t):!1,n===!1&&(n=g.Easings[g.defaults.easing]?g.defaults.easing:p),n}function c(t){var e,n,o,a,l,u,d,p,m,y,_,w,k,S,C,T,D,M,E,A,P,I,O,N;if(t)for(e=(new Date).getTime(),n=g.State.calls.length,n>1e4&&(g.State.calls=r(g.State.calls)),o=0;n>o;o++)if(g.State.calls[o]){for(a=g.State.calls[o],l=a[0],u=a[2],d=a[3],p=!!d,m=null,d||(d=g.State.calls[o][3]=e-16),y=Math.min((e-d)/u.duration,1),_=0,w=l.length;w>_;_++)if(k=l[_],S=k.element,s(S)){C=!1,u.display!==i&&null!==u.display&&"none"!==u.display&&("flex"===u.display&&(T=["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex"],f.each(T,function(t,e){v.setPropertyValue(S,"display",e)})),v.setPropertyValue(S,"display",u.display)),u.visibility!==i&&"hidden"!==u.visibility&&v.setPropertyValue(S,"visibility",u.visibility);for(D in k)if("element"!==D){if(M=k[D],A=x.isString(M.easing)?g.Easings[M.easing]:M.easing,1===y)E=M.endValue;else if(P=M.endValue-M.startValue,E=M.startValue+P*A(y,u,P),!p&&E===M.currentValue)continue;M.currentValue=E,"tween"===D?m=E:(v.Hooks.registered[D]&&(I=v.Hooks.getRoot(D),O=s(S).rootPropertyValueCache[I],O&&(M.rootPropertyValue=O)),N=v.setPropertyValue(S,D,M.currentValue+(0===parseFloat(E)?"":M.unitType),M.rootPropertyValue,M.scrollData),v.Hooks.registered[D]&&(v.Normalizations.registered[I]?s(S).rootPropertyValueCache[I]=v.Normalizations.registered[I]("extract",null,N[1]):s(S).rootPropertyValueCache[I]=N[1]),"transform"===N[0]&&(C=!0))}u.mobileHA&&s(S).transformCache.translate3d===i&&(s(S).transformCache.translate3d="(0px, 0px, 0px)",C=!0),C&&v.flushTransformCache(S)}u.display!==i&&"none"!==u.display&&(g.State.calls[o][2].display=!1),u.visibility!==i&&"hidden"!==u.visibility&&(g.State.calls[o][2].visibility=!1),u.progress&&u.progress.call(a[1],a[1],y,Math.max(0,d+u.duration-e),d,m),1===y&&h(o)}g.State.isTicking&&b(c)}function h(t,e){var n,r,o,a,l,u,c,h,d,p,m;if(!g.State.calls[t])return!1;for(n=g.State.calls[t][0],r=g.State.calls[t][1],o=g.State.calls[t][2],a=g.State.calls[t][4],l=!1,u=0,c=n.length;c>u;u++){if(h=n[u].element,e||o.loop||("none"===o.display&&v.setPropertyValue(h,"display",o.display),"hidden"===o.visibility&&v.setPropertyValue(h,"visibility",o.visibility)),o.loop===!0||f.queue(h)[1]!==i&&/\.velocityQueueEntryFlag/i.test(f.queue(h)[1])||s(h)&&(s(h).isAnimating=!1,s(h).rootPropertyValueCache={},d=!1,f.each(v.Lists.transforms3D,function(t,e){var n=/^scale/.test(e)?1:0,r=s(h).transformCache[e];s(h).transformCache[e]!==i&&RegExp("^\\("+n+"[^.]").test(r)&&(d=!0,delete s(h).transformCache[e])}),o.mobileHA&&(d=!0,delete s(h).transformCache.translate3d),d&&v.flushTransformCache(h),v.Values.removeClass(h,"velocity-animating")),!e&&o.complete&&!o.loop&&u===c-1)try{o.complete.call(r,r)}catch(y){setTimeout(function(){throw y},1)}a&&o.loop!==!0&&a(r),s(h)&&o.loop===!0&&!e&&(f.each(s(h).tweensContainer,function(t,e){/^rotate/.test(t)&&360===parseFloat(e.endValue)&&(e.endValue=0,e.startValue=360),/^backgroundPosition/.test(t)&&100===parseFloat(e.endValue)&&"%"===e.unitType&&(e.endValue=0,e.startValue=100)}),g(h,"reverse",{loop:!0,delay:o.delay})),o.queue!==!1&&f.dequeue(h,o.queue)}for(g.State.calls[t]=!1,p=0,m=g.State.calls.length;m>p;p++)if(g.State.calls[p]!==!1){l=!0;break}l===!1&&(g.State.isTicking=!1,delete g.State.calls,g.State.calls=[])}var f,d,p,g,m,v,y,b,_=function(){var t,e;if(n.documentMode)return n.documentMode;for(t=7;t>4;t--)if(e=n.createElement("div"),e.innerHTML="<!--[if IE "+t+"]><span></span><![endif]-->",e.getElementsByTagName("span").length)return e=null,t;return i}(),w=function(){var t=0;return e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||function(e){var n,i=(new Date).getTime();return n=Math.max(0,16-(i-t)),t=i+n,setTimeout(function(){e(i+n)},n)}}(),x={isString:function(t){return"string"==typeof t},isArray:Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},isFunction:function(t){return"[object Function]"===Object.prototype.toString.call(t)},isNode:function(t){return t&&t.nodeType},isNodeList:function(t){return"object"==typeof t&&/^\[object (HTMLCollection|NodeList|Object)\]$/.test(Object.prototype.toString.call(t))&&t.length!==i&&(0===t.length||"object"==typeof t[0]&&t[0].nodeType>0)},isWrapped:function(t){return t&&(t.jquery||e.Zepto&&e.Zepto.zepto.isZ(t))},isSVG:function(t){return e.SVGElement&&t instanceof e.SVGElement},isEmptyObject:function(t){for(var e in t)return!1;return!0}},k=!1;if(t.fn&&t.fn.jquery?(f=t,k=!0):f=e.Velocity.Utilities,8>=_&&!k)throw Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");return 7>=_?(jQuery.fn.velocity=jQuery.fn.animate,i):(d=400,p="swing",g={State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),isAndroid:/Android/i.test(navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(navigator.userAgent),isChrome:e.chrome,isFirefox:/Firefox/i.test(navigator.userAgent),prefixElement:n.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,calls:[]},CSS:{},Utilities:f,Redirects:{},Easings:{},Promise:e.Promise,defaults:{queue:"",duration:d,easing:p,begin:i,complete:i,progress:i,display:i,visibility:i,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0},init:function(t){f.data(t,"velocity",{isSVG:x.isSVG(t),isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mock:!1,version:{major:1,minor:2,patch:2},debug:!1},e.pageYOffset!==i?(g.State.scrollAnchor=e,g.State.scrollPropertyLeft="pageXOffset",g.State.scrollPropertyTop="pageYOffset"):(g.State.scrollAnchor=n.documentElement||n.body.parentNode||n.body,g.State.scrollPropertyLeft="scrollLeft",g.State.scrollPropertyTop="scrollTop"),m=function(){function t(t){return-t.tension*t.x-t.friction*t.v}function e(e,n,i){var r={x:e.x+i.dx*n,v:e.v+i.dv*n,tension:e.tension,friction:e.friction};return{dx:r.v,dv:t(r)}}function n(n,i){var r={dx:n.v,dv:t(n)},o=e(n,.5*i,r),s=e(n,.5*i,o),a=e(n,i,s),l=1/6*(r.dx+2*(o.dx+s.dx)+a.dx),u=1/6*(r.dv+2*(o.dv+s.dv)+a.dv);return n.x=n.x+l*i,n.v=n.v+u*i,n}return function i(t,e,r){var o,s,a,l={x:-1,v:0,tension:null,friction:null},u=[0],c=0,h=1e-4,f=.016;for(t=parseFloat(t)||500,e=parseFloat(e)||20,r=r||null,l.tension=t,l.friction=e,o=null!==r,o?(c=i(t,e),s=c/r*f):s=f;;)if(a=n(a||l,s),u.push(1+a.x),c+=16,!(Math.abs(a.x)>h&&Math.abs(a.v)>h))break;return o?function(t){return u[t*(u.length-1)|0]}:c}}(),g.Easings={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},spring:function(t){return 1-Math.cos(4.5*t*Math.PI)*Math.exp(6*-t)}},f.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],function(t,e){g.Easings[e[0]]=l.apply(null,e[1])}),v=g.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"]},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){var t,e,n,i,r,o,s,a;for(t=0;t<v.Lists.colors.length;t++)e="color"===v.Lists.colors[t]?"0 0 0 1":"255 255 255 1",v.Hooks.templates[v.Lists.colors[t]]=["Red Green Blue Alpha",e];if(_)for(n in v.Hooks.templates)i=v.Hooks.templates[n],r=i[0].split(" "),o=i[1].match(v.RegEx.valueSplit),"Color"===r[0]&&(r.push(r.shift()),o.push(o.shift()),v.Hooks.templates[n]=[r.join(" "),o.join(" ")]);
|
||
for(n in v.Hooks.templates){i=v.Hooks.templates[n],r=i[0].split(" ");for(t in r)s=n+r[t],a=t,v.Hooks.registered[s]=[n,a]}},getRoot:function(t){var e=v.Hooks.registered[t];return e?e[0]:t},cleanRootPropertyValue:function(t,e){return v.RegEx.valueUnwrap.test(e)&&(e=e.match(v.RegEx.valueUnwrap)[1]),v.Values.isCSSNullValue(e)&&(e=v.Hooks.templates[t][1]),e},extractValue:function(t,e){var n,i,r=v.Hooks.registered[t];return r?(n=r[0],i=r[1],e=v.Hooks.cleanRootPropertyValue(n,e),(""+e).match(v.RegEx.valueSplit)[i]):e},injectValue:function(t,e,n){var i,r,o,s,a=v.Hooks.registered[t];return a?(i=a[0],r=a[1],n=v.Hooks.cleanRootPropertyValue(i,n),o=(""+n).match(v.RegEx.valueSplit),o[r]=e,s=o.join(" ")):n}},Normalizations:{registered:{clip:function(t,e,n){switch(t){case"name":return"clip";case"extract":var i;return v.RegEx.wrappedValueAlreadyExtracted.test(n)?i=n:(i=(""+n).match(v.RegEx.valueUnwrap),i=i?i[1].replace(/,(\s+)?/g," "):n),i;case"inject":return"rect("+n+")"}},blur:function(t,e,n){var i,r;switch(t){case"name":return g.State.isFirefox?"filter":"-webkit-filter";case"extract":return i=parseFloat(n),i||0===i||(r=(""+n).match(/blur\(([0-9]+[A-z]+)\)/i),i=r?r[1]:0),i;case"inject":return parseFloat(n)?"blur("+n+")":"none"}},opacity:function(t,e,n){if(8>=_)switch(t){case"name":return"filter";case"extract":var i=(""+n).match(/alpha\(opacity=(.*)\)/i);return n=i?i[1]/100:1;case"inject":return e.style.zoom=1,parseFloat(n)>=1?"":"alpha(opacity="+parseInt(100*parseFloat(n),10)+")"}else switch(t){case"name":return"opacity";case"extract":return n;case"inject":return n}}},register:function(){var t;for(9>=_||g.State.isGingerbread||(v.Lists.transformsBase=v.Lists.transformsBase.concat(v.Lists.transforms3D)),t=0;t<v.Lists.transformsBase.length;t++)!function(){var e=v.Lists.transformsBase[t];v.Normalizations.registered[e]=function(t,n,r){switch(t){case"name":return"transform";case"extract":return s(n)===i||s(n).transformCache[e]===i?/^scale/i.test(e)?1:0:s(n).transformCache[e].replace(/[()]/g,"");case"inject":var o=!1;switch(e.substr(0,e.length-1)){case"translate":o=!/(%|px|em|rem|vw|vh|\d)$/i.test(r);break;case"scal":case"scale":g.State.isAndroid&&s(n).transformCache[e]===i&&1>r&&(r=1),o=!/(\d)$/i.test(r);break;case"skew":o=!/(deg|\d)$/i.test(r);break;case"rotate":o=!/(deg|\d)$/i.test(r)}return o||(s(n).transformCache[e]="("+r+")"),s(n).transformCache[e]}}}();for(t=0;t<v.Lists.colors.length;t++)!function(){var e=v.Lists.colors[t];v.Normalizations.registered[e]=function(t,n,r){var o,s,a;switch(t){case"name":return e;case"extract":return v.RegEx.wrappedValueAlreadyExtracted.test(r)?o=r:(a={black:"rgb(0, 0, 0)",blue:"rgb(0, 0, 255)",gray:"rgb(128, 128, 128)",green:"rgb(0, 128, 0)",red:"rgb(255, 0, 0)",white:"rgb(255, 255, 255)"},/^[A-z]+$/i.test(r)?s=a[r]!==i?a[r]:a.black:v.RegEx.isHex.test(r)?s="rgb("+v.Values.hexToRgb(r).join(" ")+")":/^rgba?\(/i.test(r)||(s=a.black),o=(""+(s||r)).match(v.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g," ")),8>=_||3!==o.split(" ").length||(o+=" 1"),o;case"inject":return 8>=_?4===r.split(" ").length&&(r=r.split(/\s+/).slice(0,3).join(" ")):3===r.split(" ").length&&(r+=" 1"),(8>=_?"rgb":"rgba")+"("+r.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")"}}}()}},Names:{camelCase:function(t){return t.replace(/-(\w)/g,function(t,e){return e.toUpperCase()})},SVGAttribute:function(t){var e="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(_||g.State.isAndroid&&!g.State.isChrome)&&(e+="|transform"),RegExp("^("+e+")$","i").test(t)},prefixCheck:function(t){var e,n,i,r;if(g.State.prefixMatches[t])return[g.State.prefixMatches[t],!0];for(e=["","Webkit","Moz","ms","O"],n=0,i=e.length;i>n;n++)if(r=0===n?t:e[n]+t.replace(/^\w/,function(t){return t.toUpperCase()}),x.isString(g.State.prefixElement.style[r]))return g.State.prefixMatches[t]=r,[r,!0];return[t,!1]}},Values:{hexToRgb:function(t){var e,n=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;return t=t.replace(n,function(t,e,n,i){return e+e+n+n+i+i}),e=i.exec(t),e?[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]:[0,0,0]},isCSSNullValue:function(t){return 0==t||/^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(t)},getUnitType:function(t){return/^(rotate|skew)/i.test(t)?"deg":/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(t)?"":"px"},getDisplayType:function(t){var e=t&&(""+t.tagName).toLowerCase();return/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(e)?"inline":/^(li)$/i.test(e)?"list-item":/^(tr)$/i.test(e)?"table-row":/^(table)$/i.test(e)?"table":/^(tbody)$/i.test(e)?"table-row-group":"block"},addClass:function(t,e){t.classList?t.classList.add(e):t.className+=(t.className.length?" ":"")+e},removeClass:function(t,e){t.classList?t.classList.remove(e):t.className=(""+t.className).replace(RegExp("(^|\\s)"+e.split(" ").join("|")+"(\\s|$)","gi")," ")}},getPropertyValue:function(t,n,r,o){function a(t,n){function r(){l&&v.setPropertyValue(t,"display","none")}var l,u,c,h,d,p=0;if(8>=_)p=f.css(t,n);else{if(l=!1,/^(width|height)$/.test(n)&&0===v.getPropertyValue(t,"display")&&(l=!0,v.setPropertyValue(t,"display",v.Values.getDisplayType(t))),!o){if("height"===n&&"border-box"!==(""+v.getPropertyValue(t,"boxSizing")).toLowerCase())return u=t.offsetHeight-(parseFloat(v.getPropertyValue(t,"borderTopWidth"))||0)-(parseFloat(v.getPropertyValue(t,"borderBottomWidth"))||0)-(parseFloat(v.getPropertyValue(t,"paddingTop"))||0)-(parseFloat(v.getPropertyValue(t,"paddingBottom"))||0),r(),u;if("width"===n&&"border-box"!==(""+v.getPropertyValue(t,"boxSizing")).toLowerCase())return c=t.offsetWidth-(parseFloat(v.getPropertyValue(t,"borderLeftWidth"))||0)-(parseFloat(v.getPropertyValue(t,"borderRightWidth"))||0)-(parseFloat(v.getPropertyValue(t,"paddingLeft"))||0)-(parseFloat(v.getPropertyValue(t,"paddingRight"))||0),r(),c}h=s(t)===i?e.getComputedStyle(t,null):s(t).computedStyle?s(t).computedStyle:s(t).computedStyle=e.getComputedStyle(t,null),"borderColor"===n&&(n="borderTopColor"),p=9===_&&"filter"===n?h.getPropertyValue(n):h[n],""!==p&&null!==p||(p=t.style[n]),r()}return"auto"===p&&/^(top|right|bottom|left)$/i.test(n)&&(d=a(t,"position"),("fixed"===d||"absolute"===d&&/top|left/i.test(n))&&(p=f(t).position()[n]+"px")),p}var l,u,c,h,d;if(v.Hooks.registered[n]?(u=n,c=v.Hooks.getRoot(u),r===i&&(r=v.getPropertyValue(t,v.Names.prefixCheck(c)[0])),v.Normalizations.registered[c]&&(r=v.Normalizations.registered[c]("extract",t,r)),l=v.Hooks.extractValue(u,r)):v.Normalizations.registered[n]&&(h=v.Normalizations.registered[n]("name",t),"transform"!==h&&(d=a(t,v.Names.prefixCheck(h)[0]),v.Values.isCSSNullValue(d)&&v.Hooks.templates[n]&&(d=v.Hooks.templates[n][1])),l=v.Normalizations.registered[n]("extract",t,d)),!/^[\d-]/.test(l))if(s(t)&&s(t).isSVG&&v.Names.SVGAttribute(n))if(/^(height|width)$/i.test(n))try{l=t.getBBox()[n]}catch(p){l=0}else l=t.getAttribute(n);else l=a(t,v.Names.prefixCheck(n)[0]);return v.Values.isCSSNullValue(l)&&(l=0),g.debug>=2&&console.log("Get "+n+": "+l),l},setPropertyValue:function(t,n,i,r,o){var a,l,u=n;if("scroll"===n)o.container?o.container["scroll"+o.direction]=i:"Left"===o.direction?e.scrollTo(i,o.alternateValue):e.scrollTo(o.alternateValue,i);else if(v.Normalizations.registered[n]&&"transform"===v.Normalizations.registered[n]("name",t))v.Normalizations.registered[n]("inject",t,i),u="transform",i=s(t).transformCache[n];else{if(v.Hooks.registered[n]&&(a=n,l=v.Hooks.getRoot(n),r=r||v.getPropertyValue(t,l),i=v.Hooks.injectValue(a,i,r),n=l),v.Normalizations.registered[n]&&(i=v.Normalizations.registered[n]("inject",t,i),n=v.Normalizations.registered[n]("name",t)),u=v.Names.prefixCheck(n)[0],8>=_)try{t.style[u]=i}catch(c){g.debug&&console.log("Browser does not support ["+i+"] for ["+u+"]")}else s(t)&&s(t).isSVG&&v.Names.SVGAttribute(n)?t.setAttribute(n,i):t.style[u]=i;g.debug>=2&&console.log("Set "+n+" ("+u+"): "+i)}return[u,i]},flushTransformCache:function(t){function e(e){return parseFloat(v.getPropertyValue(t,e))}var n,r,o,a="";(_||g.State.isAndroid&&!g.State.isChrome)&&s(t).isSVG?(n={translate:[e("translateX"),e("translateY")],skewX:[e("skewX")],skewY:[e("skewY")],scale:1!==e("scale")?[e("scale"),e("scale")]:[e("scaleX"),e("scaleY")],rotate:[e("rotateZ"),0,0]},f.each(s(t).transformCache,function(t){/^translate/i.test(t)?t="translate":/^scale/i.test(t)?t="scale":/^rotate/i.test(t)&&(t="rotate"),n[t]&&(a+=t+"("+n[t].join(" ")+") ",delete n[t])})):(f.each(s(t).transformCache,function(e){return r=s(t).transformCache[e],"transformPerspective"===e?(o=r,!0):(9===_&&"rotateZ"===e&&(e="rotate"),a+=e+r+" ",i)}),o&&(a="perspective"+o+" "+a)),v.setPropertyValue(t,"transform",a)}},v.Hooks.register(),v.Normalizations.register(),g.hook=function(t,e,n){var r=i;return t=o(t),f.each(t,function(t,o){if(s(o)===i&&g.init(o),n===i)r===i&&(r=g.CSS.getPropertyValue(o,e));else{var a=g.CSS.setPropertyValue(o,e,n);"transform"===a[0]&&g.CSS.flushTransformCache(o),r=a}}),r},y=function(){function t(){return a?T.promise||null:l}function r(){function t(t){function h(t,e){var n=i,r=i,s=i;return x.isArray(t)?(n=t[0],!x.isArray(t[1])&&/^[\d-]/.test(t[1])||x.isFunction(t[1])||v.RegEx.isHex.test(t[1])?s=t[1]:(x.isString(t[1])&&!v.RegEx.isHex.test(t[1])||x.isArray(t[1]))&&(r=e?t[1]:u(t[1],a.duration),t[2]!==i&&(s=t[2]))):n=t,e||(r=r||a.easing),x.isFunction(n)&&(n=n.call(o,k,w)),x.isFunction(s)&&(s=s.call(o,k,w)),[n||0,r,s]}function d(t,e){var n,i;return i=(""+(e||"0")).toLowerCase().replace(/[%A-z]+$/,function(t){return n=t,""}),n||(n=v.Values.getUnitType(t)),[i,n]}function p(){var t,i,r,a={myParent:o.parentNode||n.body,position:v.getPropertyValue(o,"position"),fontSize:v.getPropertyValue(o,"fontSize")},l=a.position===O.lastPosition&&a.myParent===O.lastParent,u=a.fontSize===O.lastFontSize;return O.lastParent=a.myParent,O.lastPosition=a.position,O.lastFontSize=a.fontSize,t=100,i={},u&&l?(i.emToPx=O.lastEmToPx,i.percentToPxWidth=O.lastPercentToPxWidth,i.percentToPxHeight=O.lastPercentToPxHeight):(r=s(o).isSVG?n.createElementNS("http://www.w3.org/2000/svg","rect"):n.createElement("div"),g.init(r),a.myParent.appendChild(r),f.each(["overflow","overflowX","overflowY"],function(t,e){g.CSS.setPropertyValue(r,e,"hidden")}),g.CSS.setPropertyValue(r,"position",a.position),g.CSS.setPropertyValue(r,"fontSize",a.fontSize),g.CSS.setPropertyValue(r,"boxSizing","content-box"),f.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],function(e,n){g.CSS.setPropertyValue(r,n,t+"%")}),g.CSS.setPropertyValue(r,"paddingLeft",t+"em"),i.percentToPxWidth=O.lastPercentToPxWidth=(parseFloat(v.getPropertyValue(r,"width",null,!0))||1)/t,i.percentToPxHeight=O.lastPercentToPxHeight=(parseFloat(v.getPropertyValue(r,"height",null,!0))||1)/t,i.emToPx=O.lastEmToPx=(parseFloat(v.getPropertyValue(r,"paddingLeft"))||1)/t,a.myParent.removeChild(r)),null===O.remToPx&&(O.remToPx=parseFloat(v.getPropertyValue(n.body,"fontSize"))||16),null===O.vwToPx&&(O.vwToPx=parseFloat(e.innerWidth)/100,O.vhToPx=parseFloat(e.innerHeight)/100),i.remToPx=O.remToPx,i.vwToPx=O.vwToPx,i.vhToPx=O.vhToPx,g.debug>=1&&console.log("Unit ratios: "+JSON.stringify(i),o),i}var y,S,C,M,E,A,P,I,L,F,z,j,R,H,Y,B,U,W,V,q;if(a.begin&&0===k)try{a.begin.call(m,m)}catch(X){setTimeout(function(){throw X},1)}if("scroll"===D)y=/^x$/i.test(a.axis)?"Left":"Top",S=parseFloat(a.offset)||0,a.container?x.isWrapped(a.container)||x.isNode(a.container)?(a.container=a.container[0]||a.container,C=a.container["scroll"+y],E=C+f(o).position()[y.toLowerCase()]+S):a.container=null:(C=g.State.scrollAnchor[g.State["scrollProperty"+y]],M=g.State.scrollAnchor[g.State["scrollProperty"+("Left"===y?"Top":"Left")]],E=f(o).offset()[y.toLowerCase()]+S),l={scroll:{rootPropertyValue:!1,startValue:C,currentValue:C,endValue:E,unitType:"",easing:a.easing,scrollData:{container:a.container,direction:y,alternateValue:M}},element:o},g.debug&&console.log("tweensContainer (scroll): ",l.scroll,o);else if("reverse"===D){if(!s(o).tweensContainer)return f.dequeue(o,a.queue),i;"none"===s(o).opts.display&&(s(o).opts.display="auto"),"hidden"===s(o).opts.visibility&&(s(o).opts.visibility="visible"),s(o).opts.loop=!1,s(o).opts.begin=null,s(o).opts.complete=null,_.easing||delete a.easing,_.duration||delete a.duration,a=f.extend({},s(o).opts,a),A=f.extend(!0,{},s(o).tweensContainer);for(P in A)"element"!==P&&(I=A[P].startValue,A[P].startValue=A[P].currentValue=A[P].endValue,A[P].endValue=I,x.isEmptyObject(_)||(A[P].easing=a.easing),g.debug&&console.log("reverse tweensContainer ("+P+"): "+JSON.stringify(A[P]),o));l=A}else if("start"===D){s(o).tweensContainer&&s(o).isAnimating===!0&&(A=s(o).tweensContainer),f.each(b,function(t,e){var n,r,o,s,a,l,u,c,f;if(RegExp("^"+v.Lists.colors.join("$|^")+"$").test(t)&&(n=h(e,!0),r=n[0],o=n[1],s=n[2],v.RegEx.isHex.test(r))){for(a=["Red","Green","Blue"],l=v.Values.hexToRgb(r),u=s?v.Values.hexToRgb(s):i,c=0;c<a.length;c++)f=[l[c]],o&&f.push(o),u!==i&&f.push(u[c]),b[t+a[c]]=f;delete b[t]}});for(L in b)if(F=h(b[L]),z=F[0],j=F[1],R=F[2],L=v.Names.camelCase(L),H=v.Hooks.getRoot(L),Y=!1,s(o).isSVG||"tween"===H||v.Names.prefixCheck(H)[1]!==!1||v.Normalizations.registered[H]!==i){if((a.display!==i&&null!==a.display&&"none"!==a.display||a.visibility!==i&&"hidden"!==a.visibility)&&/opacity|filter/.test(L)&&!R&&0!==z&&(R=0),a._cacheValues&&A&&A[L]?(R===i&&(R=A[L].endValue+A[L].unitType),Y=s(o).rootPropertyValueCache[H]):v.Hooks.registered[L]?R===i?(Y=v.getPropertyValue(o,H),R=v.getPropertyValue(o,L,Y)):Y=v.Hooks.templates[H][1]:R===i&&(R=v.getPropertyValue(o,L)),V=!1,B=d(L,R),R=B[0],W=B[1],B=d(L,z),z=B[0].replace(/^([+-\/*])=/,function(t,e){return V=e,""}),U=B[1],R=parseFloat(R)||0,z=parseFloat(z)||0,"%"===U&&(/^(fontSize|lineHeight)$/.test(L)?(z/=100,U="em"):/^scale/.test(L)?(z/=100,U=""):/(Red|Green|Blue)$/i.test(L)&&(z=z/100*255,U="")),/[\/*]/.test(V))U=W;else if(W!==U&&0!==R)if(0===z)U=W;else{switch(r=r||p(),q=/margin|padding|left|right|width|text|word|letter/i.test(L)||/X$/.test(L)||"x"===L?"x":"y",W){case"%":R*="x"===q?r.percentToPxWidth:r.percentToPxHeight;break;case"px":break;default:R*=r[W+"ToPx"]}switch(U){case"%":R*=1/("x"===q?r.percentToPxWidth:r.percentToPxHeight);break;case"px":break;default:R*=1/r[U+"ToPx"]}}switch(V){case"+":z=R+z;break;case"-":z=R-z;break;case"*":z=R*z;break;case"/":z=R/z}l[L]={rootPropertyValue:Y,startValue:R,currentValue:R,endValue:z,unitType:U,easing:j},g.debug&&console.log("tweensContainer ("+L+"): "+JSON.stringify(l[L]),o)}else g.debug&&console.log("Skipping ["+H+"] due to a lack of browser support.");l.element=o}l.element&&(v.Values.addClass(o,"velocity-animating"),N.push(l),""===a.queue&&(s(o).tweensContainer=l,s(o).opts=a),s(o).isAnimating=!0,k===w-1?(g.State.calls.push([N,m,a,null,T.resolver]),g.State.isTicking===!1&&(g.State.isTicking=!0,c())):k++)}var r,o=this,a=f.extend({},g.defaults,_),l={};switch(s(o)===i&&g.init(o),parseFloat(a.delay)&&a.queue!==!1&&f.queue(o,a.queue,function(t){g.velocityQueueEntryFlag=!0,s(o).delayTimer={setTimeout:setTimeout(t,parseFloat(a.delay)),next:t}}),(""+a.duration).toLowerCase()){case"fast":a.duration=200;break;case"normal":a.duration=d;break;case"slow":a.duration=600;break;default:a.duration=parseFloat(a.duration)||1}g.mock!==!1&&(g.mock===!0?a.duration=a.delay=1:(a.duration*=parseFloat(g.mock)||1,a.delay*=parseFloat(g.mock)||1)),a.easing=u(a.easing,a.duration),a.begin&&!x.isFunction(a.begin)&&(a.begin=null),a.progress&&!x.isFunction(a.progress)&&(a.progress=null),a.complete&&!x.isFunction(a.complete)&&(a.complete=null),a.display!==i&&null!==a.display&&(a.display=(""+a.display).toLowerCase(),"auto"===a.display&&(a.display=g.CSS.Values.getDisplayType(o))),a.visibility!==i&&null!==a.visibility&&(a.visibility=(""+a.visibility).toLowerCase()),a.mobileHA=a.mobileHA&&g.State.isMobile&&!g.State.isGingerbread,a.queue===!1?a.delay?setTimeout(t,a.delay):t():f.queue(o,a.queue,function(e,n){return n===!0?(T.promise&&T.resolver(m),!0):(g.velocityQueueEntryFlag=!0,t(e),i)}),""!==a.queue&&"fx"!==a.queue||"inprogress"===f.queue(o)[0]||f.dequeue(o)}var a,l,p,m,b,_,w,k,S,C,T,D,M,E,A,P,I,O,N,L,F,z,j=arguments[0]&&(arguments[0].p||f.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||x.isString(arguments[0].properties));if(x.isWrapped(this)?(a=!1,p=0,m=this,l=this):(a=!0,p=1,m=j?arguments[0].elements||arguments[0].e:arguments[0]),m=o(m)){if(j?(b=arguments[0].properties||arguments[0].p,_=arguments[0].options||arguments[0].o):(b=arguments[p],_=arguments[p+1]),w=m.length,k=0,!/^(stop|finish|finishAll)$/i.test(b)&&!f.isPlainObject(_))for(S=p+1,_={},C=S;C<arguments.length;C++)x.isArray(arguments[C])||!/^(fast|normal|slow)$/i.test(arguments[C])&&!/^\d/.test(arguments[C])?x.isString(arguments[C])||x.isArray(arguments[C])?_.easing=arguments[C]:x.isFunction(arguments[C])&&(_.complete=arguments[C]):_.duration=arguments[C];switch(T={promise:null,resolver:null,rejecter:null},a&&g.Promise&&(T.promise=new g.Promise(function(t,e){T.resolver=t,T.rejecter=e})),b){case"scroll":D="scroll";break;case"reverse":D="reverse";break;case"finish":case"finishAll":case"stop":return f.each(m,function(t,e){s(e)&&s(e).delayTimer&&(clearTimeout(s(e).delayTimer.setTimeout),s(e).delayTimer.next&&s(e).delayTimer.next(),delete s(e).delayTimer),"finishAll"!==b||_!==!0&&!x.isString(_)||(f.each(f.queue(e,x.isString(_)?_:""),function(t,e){x.isFunction(e)&&e()}),f.queue(e,x.isString(_)?_:"",[]))}),M=[],f.each(g.State.calls,function(t,e){e&&f.each(e[1],function(n,r){var o=_===i?"":_;return o===!0||e[2].queue===o||_===i&&e[2].queue===!1?(f.each(m,function(n,i){i===r&&((_===!0||x.isString(_))&&(f.each(f.queue(i,x.isString(_)?_:""),function(t,e){x.isFunction(e)&&e(null,!0)}),f.queue(i,x.isString(_)?_:"",[])),"stop"===b?(s(i)&&s(i).tweensContainer&&o!==!1&&f.each(s(i).tweensContainer,function(t,e){e.endValue=e.currentValue}),M.push(t)):"finish"!==b&&"finishAll"!==b||(e[2].duration=1))}),i):!0})}),"stop"===b&&(f.each(M,function(t,e){h(e,!0)}),T.promise&&T.resolver(m)),t();default:if(!f.isPlainObject(b)||x.isEmptyObject(b))return x.isString(b)&&g.Redirects[b]?(E=f.extend({},_),A=E.duration,P=E.delay||0,E.backwards===!0&&(m=f.extend(!0,[],m).reverse()),f.each(m,function(t,e){parseFloat(E.stagger)?E.delay=P+parseFloat(E.stagger)*t:x.isFunction(E.stagger)&&(E.delay=P+E.stagger.call(e,t,w)),E.drag&&(E.duration=parseFloat(A)||(/^(callout|transition)/.test(b)?1e3:d),E.duration=Math.max(E.duration*(E.backwards?1-t/w:(t+1)/w),.75*E.duration,200)),g.Redirects[b].call(e,e,E||{},t,w,m,T.promise?T:i)}),t()):(I="Velocity: First argument ("+b+") was not a property map, a known action, or a registered redirect. Aborting.",T.promise?T.rejecter(Error(I)):console.log(I),t());D="start"}if(O={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null},N=[],f.each(m,function(t,e){x.isNode(e)&&r.call(e)}),E=f.extend({},g.defaults,_),E.loop=parseInt(E.loop),L=2*E.loop-1,E.loop)for(F=0;L>F;F++)z={delay:E.delay,progress:E.progress},F===L-1&&(z.display=E.display,z.visibility=E.visibility,z.complete=E.complete),y(m,"reverse",z);return t()}},g=f.extend(y,g),g.animate=y,b=e.requestAnimationFrame||w,g.State.isMobile||n.hidden===i||n.addEventListener("visibilitychange",function(){n.hidden?(b=function(t){return setTimeout(function(){t(!0)},16)},c()):b=e.requestAnimationFrame||w}),t.Velocity=g,t!==e&&(t.fn.velocity=y,t.fn.velocity.defaults=g.defaults),f.each(["Down","Up"],function(t,e){g.Redirects["slide"+e]=function(t,n,r,o,s,a){var l=f.extend({},n),u=l.begin,c=l.complete,h={height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""},d={};l.display===i&&(l.display="Down"===e?"inline"===g.CSS.Values.getDisplayType(t)?"inline-block":"block":"none"),l.begin=function(){var n,i;u&&u.call(s,s);for(n in h)d[n]=t.style[n],i=g.CSS.getPropertyValue(t,n),h[n]="Down"===e?[i,0]:[0,i];d.overflow=t.style.overflow,t.style.overflow="hidden"},l.complete=function(){for(var e in d)t.style[e]=d[e];c&&c.call(s,s),a&&a.resolver(s)},g(t,h,l)}}),f.each(["In","Out"],function(t,e){g.Redirects["fade"+e]=function(t,n,r,o,s,a){var l=f.extend({},n),u={opacity:"In"===e?1:0},c=l.complete;r!==o-1?l.complete=l.begin=null:l.complete=function(){c&&c.call(s,s),a&&a.resolver(s)},l.display===i&&(l.display="In"===e?"auto":"none"),g(this,u,l)}}),g)}(window.jQuery||window.Zepto||window,window,document)})},function(t,e){"use strict";!function(t){var e=t(window),n=t(document),i=190,r=function(r){var o=jQuery.data(r.target);e.scrollTop()>n.height()-e.innerHeight()-(o.tolerance||i)&&t(this).trigger("scrolltoend")};t.event.special.scrolltoend={setup:function(e,n){t(this).bind("scroll.scrolltoend",r)},teardown:function(e){t(this).unbind("scroll.scrolltoend",r)}},jQuery.event.special.scrollto={bindType:"scroll",handle:function(t){var i,r,o=t.handleObj;if(t.scrollData||(t.scrollData={scrollTop:e.scrollTop()}),i=null,"number"==typeof t.data.to)i=t.scrollData.scrollTop>t.data.to-(t.data.tolerance||0);else{if("bottom"!==t.data.to)throw Error('Special event scrollto: property "to" has unexpected value');t.scrollData.bottomOffset||(t.scrollData.bottomOffset=n.height()-e.innerHeight()),i=t.scrollData.scrollTop>t.scrollData.bottomOffset-(t.data.tolerance||0)}return r=Array.prototype.slice.apply(arguments),i?(r.push(!0),o.handler.apply(this,r)):t.data.twoway?(r.push(!1),o.handler.apply(this,r)):void 0}}}(jQuery)},function(t,e){"use strict";jQuery.fn.timeUpdate=function(){return this.each(function(){var t=jQuery(this).data("timestamp");t=t?1e3*t:1e3*jQuery(this).text(),TradingView.agoDateFormatter(jQuery(this),new Date(t)),jQuery(this).removeClass("time-upd")})}},function(t,e){"use strict";!function(t){function e(t,e,n){for(var i=0;i<a.length;i++)a[i]||(e=e.toLowerCase()),t.addEventListener(a[i]+e,n,!1)}function n(e){var n=e.data(c).complete;i(e),n&&t.isFunction(n)&&n()}function i(t){t.stop(!0),t.css("background-color",""),t.removeData(u),t.removeData(c)}function r(t){var e=t.data(u);e&&(e!==!0?(e--,e?(o(t),t.data(u,e)):n(t)):o(t))}function o(t){var e=t.css("background-color"),n=t.data(c),i=n.highlightColor||h,o=n.duration||f,s=n.easing||d;t.animate({"background-color":i},o,s).animate({"background-color":e},o,s,r.bind(t,t))}var s,a,l,u,c,h,f,d,p=!1,g=document.body||document.documentElement,m="animation",v="",y="Webkit Moz O ms Khtml".split(" "),b="";if(void 0!==g.style.animationName&&(p=!0),p===!1)for(s=0;s<y.length;s++)if(void 0!==g.style[y[s]+"AnimationName"]){b=y[s],m=b+"Animation",v="-"+b.toLowerCase()+"-",p=!0;break}a=["webkit","moz","MS","o",""],l="flicker-",u=l+"enable",c=l+"options",h="#fbf8e9",f=400,d="swing",t.fn.highlight=function(n,r){switch(n){default:n=void 0===n?!0:n,this.each(function(){if(p)n=n===!0?"infinite":n,e(this,"AnimationEnd",function(){this.style[m]=""}),this.style[m]="highlight-animation 0.4s ease-in-out "+n+" alternate";else{var i=t(this);i.data(u,n),i.data(c,t.extend({},r||{})),i.is(":animated")||o(i)}});break;case!1:this.each(function(){p?this.style[m]="":i(t(this))})}}}(jQuery)},function(t,e){"use strict";!function(t){var e,n;void 0!==document.hidden?(e="hidden",n="visibilitychange"):void 0!==document.mozHidden?(e="mozHidden",n="mozvisibilitychange"):void 0!==document.msHidden?(e="msHidden",n="msvisibilitychange"):void 0!==document.webkitHidden&&(e="webkitHidden",n="webkitvisibilitychange"),t.tabvisible=!0,n&&(t(document).on(n,function(n){t.tabvisible=!document[e],t(window).trigger("visibilitychange",!document[e])}),t(document).trigger(n)),t.whenTabVisible=function(e){!n||t.tabvisible?e():t(window).one("visibilitychange",e)}}(jQuery)},function(t,e){"use strict";!function(t){var e,n,i,r,o,s;!t.support.cors&&t.ajaxTransport&&window.XDomainRequest&&(e=/^https?:\/\//i,n=/^get|post$/i,i=RegExp("^"+location.protocol,"i"),r=/text\/html/i,o=/\/json/i,s=/\/xml/i,t.ajaxTransport("* text html xml json",function(a,l,u){var c,h;return a.crossDomain&&a.async&&n.test(a.type)&&e.test(a.url)&&i.test(a.url)?(c=null,h=(l.dataType||"").toLowerCase(),{send:function(e,n){c=new XDomainRequest,/^\d+$/.test(l.timeout)&&(c.timeout=l.timeout),c.ontimeout=function(){n(500,"timeout")},c.onload=function(){var e,i="Content-Length: "+c.responseText.length+"\r\nContent-Type: "+c.contentType,a={code:200,message:"success"},l={text:c.responseText};try{if("html"===h||r.test(c.contentType))l.html=c.responseText;else if("json"===h||"text"!==h&&o.test(c.contentType))try{l.json=t.parseJSON(c.responseText)}catch(u){a.code=500,a.message="parseerror"}else if("xml"===h||"text"!==h&&s.test(c.contentType)){e=new ActiveXObject("Microsoft.XMLDOM"),e.async=!1;try{e.loadXML(c.responseText)}catch(u){e=void 0}if(!e||!e.documentElement||e.getElementsByTagName("parsererror").length)throw a.code=500,a.message="parseerror","Invalid XML: "+c.responseText;l.xml=e}}catch(f){throw f}finally{n(a.code,a.message,l,i)}},c.onprogress=function(){},c.onerror=function(){n(500,"error",{text:c.responseText})};var i="";l.data&&(i="string"===t.type(l.data)?l.data:t.param(l.data)),c.open(a.type,a.url),c.send(i)},abort:function(){c&&c.abort()}}):void 0}))}(jQuery)},function(t,e){"use strict";!function(t){t.fn.inputselectable=function(e){var n,i,r,o=t(this);if(e=t.extend({},e),!o.is('input[type="text"]'))throw Error(o+' should be input[type="text"]');return e.list&&e.list.length&&!o.hasClass("ISinput")?(o.addClass("ISinput"),n=t('<div class="ISwraper"></div>'),i=t('<div class="IStoggle"></div>'),r=function(n,r,s){function a(n,r){r||(r=c),r.remove(),o.off("click"),e.closeHandle instanceof t&&e.closeHandle.off("click"),i.removeClass("active"),o.focus()}var l,u,c;if(n.stopPropagation(),(!i.is(":active")&&!i.is(".active")||(a(null,t(".ISdropdown")),!s))&&r&&r.length){for(l='<ul class="ISdropdown">',u=0;u<r.length;u++)l+='<li><div><span class="IStext">'+r[u]+"</span></div></li>";l+="</ul>",c=t(l),c.find("li").each(function(){t(this).click(function(){o.val(t(this).find(".IStext").text()),a()})}),o.on("click","",a),e.closeHandle instanceof t&&e.closeHandle.on("click","",a),c.insertAfter(o),c.css({top:o.outerHeight(),width:o.outerWidth(),"max-height":t(window).height()-c.offset().top-35}),i.toggleClass("active")}},o.wrap(n),"static"==o.css("position")?n.css("position","relative"):n.css({top:o.css("top"),left:o.css("left"),position:o.css("position")}),n.css({width:o.outerHeight(),height:o.outerWidth()}),i.insertAfter(o),i.click(function(t){r(t,e.list,!0)}),o.keyup(function(n){var i=RegExp(o.val(),"i"),s=t.grep(e.list,function(t){return i.test(t)});r(n,s)}),o.focus()):void 0}}(jQuery)},function(t,e){!function(){function t(t){return document.createElementNS(u,t)}function e(t){return(10>t?"0":"")+t}function n(t){var e=++v+"";return t?t+e:e}function i(i,a){function u(t,e){var n,i=z.offset(),r=/^touch/.test(t.type),s=i.left+y,u=i.top+y,h=(r?t.originalEvent.touches[0]:t).pageX-s,f=(r?t.originalEvent.touches[0]:t).pageY-u,d=Math.sqrt(h*h+f*f),m=!1;e&&(b-w>d||d>b+w)||(t.preventDefault(),n=setTimeout(function(){o.addClass("clockpicker-moving")},200),c&&z.append(W.canvas),W.setHand(h,f,!e,!0),l.off(p).on(p,function(t){t.preventDefault();var e=/^touch/.test(t.type),n=(e?t.originalEvent.touches[0]:t).pageX-s,i=(e?t.originalEvent.touches[0]:t).pageY-u;(m||n!==h||i!==f)&&(m=!0,W.setHand(n,i,!1,!0))}),l.off(g).on(g,function(t){l.off(g),t.preventDefault();var i=/^touch/.test(t.type),r=(i?t.originalEvent.changedTouches[0]:t).pageX-s,c=(i?t.originalEvent.changedTouches[0]:t).pageY-u;(e||m)&&r===h&&c===f&&W.setHand(r,c),"hours"===W.currentView?W.toggleView("minutes",k/2):a.autoclose&&(W.minutesView.addClass("clockpicker-dial-out"),setTimeout(function(){W.done()},k/2)),z.prepend(E),clearTimeout(n),o.removeClass("clockpicker-moving"),l.off(p)}))}var h,f,m,v,C,T,D,M,E,A,P,I,O,N,L,F=s(S),z=F.find(".clockpicker-plate"),j=F.find(".clockpicker-hours"),R=F.find(".clockpicker-minutes"),H=F.find(".clockpicker-am-pm-block"),Y="INPUT"===i.prop("tagName"),B=Y?i:i.find("input"),U=i.find(".input-group-addon"),W=this;if(this.id=n("cp"),this.element=i,this.options=a,this.isAppended=!1,this.isShown=!1,this.currentView="hours",this.isInput=Y,this.input=B,this.addon=U,this.popover=F,this.plate=z,this.hoursView=j,this.minutesView=R,this.amPmBlock=H,this.spanHours=F.find(".clockpicker-span-hours"),this.spanMinutes=F.find(".clockpicker-span-minutes"),this.spanAmPm=F.find(".clockpicker-span-am-pm"),this.amOrPm="PM",a.twelvehour&&(h='<div class="clockpicker-am-pm-block"><button type="button" class="btn btn-sm btn-default clockpicker-button clockpicker-am-button">AM</button><button type="button" class="btn btn-sm btn-default clockpicker-button clockpicker-pm-button">PM</button></div>',f=s(h),s('<button type="button" class="btn btn-sm btn-default clockpicker-button am-button">AM</button>').on("click",function(){W.amOrPm="AM",s(".clockpicker-span-am-pm").empty().append("AM")}).appendTo(this.amPmBlock),s('<button type="button" class="btn btn-sm btn-default clockpicker-button pm-button">PM</button>').on("click",function(){W.amOrPm="PM",s(".clockpicker-span-am-pm").empty().append("PM")}).appendTo(this.amPmBlock)),a.autoclose||s('<button type="button" class="btn btn-sm btn-default btn-block clockpicker-button">'+a.donetext+"</button>").click(s.proxy(this.done,this)).appendTo(F),"top"!==a.placement&&"bottom"!==a.placement||"top"!==a.align&&"bottom"!==a.align||(a.align="left"),"left"!==a.placement&&"right"!==a.placement||"left"!==a.align&&"right"!==a.align||(a.align="top"),F.addClass(a.placement),F.addClass("clockpicker-align-"+a.align),this.spanHours.click(s.proxy(this.toggleView,this,"hours")),this.spanMinutes.click(s.proxy(this.toggleView,this,"minutes")),B.on("focus.clockpicker click.clockpicker",s.proxy(this.show,this)),U.on("click.clockpicker",s.proxy(this.toggle,this)),m=s('<div class="clockpicker-tick"></div>'),a.twelvehour)for(v=1;13>v;v+=1)C=m.clone(),T=v/6*Math.PI,D=b,C.css("font-size","120%"),C.css({left:y+Math.sin(T)*D-w,top:y-Math.cos(T)*D-w}),C.html(0===v?"00":v),j.append(C),C.on(d,u);else for(v=0;24>v;v+=1)C=m.clone(),T=v/6*Math.PI,M=v>0&&13>v,D=M?_:b,C.css({left:y+Math.sin(T)*D-w,top:y-Math.cos(T)*D-w}),M&&C.css("font-size","120%"),C.html(0===v?"00":v),j.append(C),C.on(d,u);for(v=0;60>v;v+=5)C=m.clone(),T=v/30*Math.PI,C.css({left:y+Math.sin(T)*b-w,top:y-Math.cos(T)*b-w}),C.css("font-size","120%"),C.html(e(v)),R.append(C),C.on(d,u);z.on(d,function(t){0===s(t.target).closest(".clockpicker-tick").length&&u(t,!0)}),c&&(E=F.find(".clockpicker-canvas"),A=t("svg"),A.setAttribute("class","clockpicker-svg"),A.setAttribute("width",x),A.setAttribute("height",x),P=t("g"),P.setAttribute("transform","translate("+y+","+y+")"),I=t("circle"),I.setAttribute("class","clockpicker-canvas-bearing"),I.setAttribute("cx",0),I.setAttribute("cy",0),I.setAttribute("r",2),O=t("line"),O.setAttribute("x1",0),O.setAttribute("y1",0),N=t("circle"),N.setAttribute("class","clockpicker-canvas-bg"),N.setAttribute("r",w),L=t("circle"),L.setAttribute("class","clockpicker-canvas-fg"),L.setAttribute("r",3.5),P.appendChild(O),P.appendChild(N),P.appendChild(L),P.appendChild(I),A.appendChild(P),E.append(A),this.hand=O,this.bg=N,this.fg=L,this.bearing=I,this.g=P,this.canvas=E),r(this.options.init)}function r(t){t&&"function"==typeof t&&t()}var o,s=window.jQuery,a=s(window),l=s(document),u="http://www.w3.org/2000/svg",c="SVGAngle"in window&&function(){var t,e=document.createElement("div");return e.innerHTML="<svg/>",t=(e.firstChild&&e.firstChild.namespaceURI)==u,e.innerHTML="",t}(),h=function(){var t=document.createElement("div").style;return"transition"in t||"WebkitTransition"in t||"MozTransition"in t||"msTransition"in t||"OTransition"in t}(),f="ontouchstart"in window,d="mousedown"+(f?" touchstart":""),p="mousemove.clockpicker"+(f?" touchmove.clockpicker":""),g="mouseup.clockpicker"+(f?" touchend.clockpicker":""),m=navigator.vibrate?"vibrate":navigator.webkitVibrate?"webkitVibrate":null,v=0,y=100,b=80,_=54,w=13,x=2*y,k=h?350:1,S='<div class="popover clockpicker-popover"><div class="arrow"></div><div class="popover-title"><span class="clockpicker-span-hours text-primary"></span> : <span class="clockpicker-span-minutes"></span><span class="clockpicker-span-am-pm"></span></div><div class="popover-content"><div class="clockpicker-plate"><div class="clockpicker-canvas"></div><div class="clockpicker-dial clockpicker-hours"></div><div class="clockpicker-dial clockpicker-minutes clockpicker-dial-out"></div></div><span class="clockpicker-am-pm-block"></span></div></div>';
|
||
i.DEFAULTS={"default":"",fromnow:0,placement:"bottom",align:"left",donetext:"完成",autoclose:!1,twelvehour:!1,vibrate:!0},i.prototype.toggle=function(){this[this.isShown?"hide":"show"]()},i.prototype.locate=function(){var t=this.element,e=this.popover,n=t.offset(),i=t.outerWidth(),r=t.outerHeight(),o=this.options.placement,s=this.options.align,a={};switch(e.show(),o){case"bottom":a.top=n.top+r;break;case"right":a.left=n.left+i;break;case"top":a.top=n.top-e.outerHeight();break;case"left":a.left=n.left-e.outerWidth()}switch(s){case"left":a.left=n.left;break;case"right":a.left=n.left+i-e.outerWidth();break;case"top":a.top=n.top;break;case"bottom":a.top=n.top+r-e.outerHeight()}e.css(a)},i.prototype.show=function(t){var n,i,u;this.isShown||(r(this.options.beforeShow),n=this,this.isAppended||(o=s(document.body).append(this.popover),a.on("resize.clockpicker"+this.id,function(){n.isShown&&n.locate()}),this.isAppended=!0),i=((this.input.prop("value")||this.options["default"]||"")+"").split(":"),"now"===i[0]&&(u=new Date(+new Date+this.options.fromnow),i=[u.getHours(),u.getMinutes()]),this.hours=+i[0]||0,this.minutes=+i[1]||0,this.spanHours.html(e(this.hours)),this.spanMinutes.html(e(this.minutes)),this.toggleView("hours"),this.locate(),this.isShown=!0,l.on("click.clockpicker."+this.id+" focusin.clockpicker."+this.id,function(t){var e=s(t.target);0===e.closest(n.popover).length&&0===e.closest(n.addon).length&&0===e.closest(n.input).length&&n.hide()}),l.on("keyup.clockpicker."+this.id,function(t){27===t.keyCode&&n.hide()}),r(this.options.afterShow))},i.prototype.hide=function(){r(this.options.beforeHide),this.isShown=!1,l.off("click.clockpicker."+this.id+" focusin.clockpicker."+this.id),l.off("keyup.clockpicker."+this.id),this.popover.hide(),r(this.options.afterHide)},i.prototype.toggleView=function(t,e){var n,i,o,a=!1;"minutes"===t&&"visible"===s(this.hoursView).css("visibility")&&(r(this.options.beforeHourSelect),a=!0),n="hours"===t,i=n?this.hoursView:this.minutesView,o=n?this.minutesView:this.hoursView,this.currentView=t,this.spanHours.toggleClass("text-primary",n),this.spanMinutes.toggleClass("text-primary",!n),o.addClass("clockpicker-dial-out"),i.css("visibility","visible").removeClass("clockpicker-dial-out"),this.resetClock(e),clearTimeout(this.toggleViewTimer),this.toggleViewTimer=setTimeout(function(){o.css("visibility","hidden")},k),a&&r(this.options.afterHourSelect)},i.prototype.resetClock=function(t){var e=this.currentView,n=this[e],i="hours"===e,r=Math.PI/(i?6:30),o=n*r,s=i&&n>0&&13>n?_:b,a=Math.sin(o)*s,l=-Math.cos(o)*s,u=this;c&&t?(u.canvas.addClass("clockpicker-canvas-out"),setTimeout(function(){u.canvas.removeClass("clockpicker-canvas-out"),u.setHand(a,l)},t)):this.setHand(a,l)},i.prototype.setHand=function(t,n,i,r){var o,a,l,u=Math.atan2(t,-n),h="hours"===this.currentView,f=Math.PI/(h||i?6:30),d=Math.sqrt(t*t+n*n),p=this.options,g=h&&(b+_)/2>d,v=g?_:b;return p.twelvehour&&(v=b),0>u&&(u=2*Math.PI+u),o=Math.round(u/f),u=o*f,p.twelvehour?h?0===o&&(o=12):(i&&(o*=5),60===o&&(o=0)):h?(12===o&&(o=0),o=g?0===o?12:o:0===o?0:o+12):(i&&(o*=5),60===o&&(o=0)),this[this.currentView]!==o&&m&&this.options.vibrate&&(this.vibrateTimer||(navigator[m](10),this.vibrateTimer=setTimeout(s.proxy(function(){this.vibrateTimer=null},this),100))),this[this.currentView]=o,this[h?"spanHours":"spanMinutes"].html(e(o)),c?(r||!h&&o%5?(this.g.insertBefore(this.hand,this.bearing),this.g.insertBefore(this.bg,this.fg),this.bg.setAttribute("class","clockpicker-canvas-bg clockpicker-canvas-bg-trans")):(this.g.insertBefore(this.hand,this.bg),this.g.insertBefore(this.fg,this.bg),this.bg.setAttribute("class","clockpicker-canvas-bg")),a=Math.sin(u)*v,l=-Math.cos(u)*v,this.hand.setAttribute("x2",a),this.hand.setAttribute("y2",l),this.bg.setAttribute("cx",a),this.bg.setAttribute("cy",l),this.fg.setAttribute("cx",a),void this.fg.setAttribute("cy",l)):void this[h?"hoursView":"minutesView"].find(".clockpicker-tick").each(function(){var t=s(this);t.toggleClass("active",o===+t.html())})},i.prototype.done=function(){r(this.options.beforeDone),this.hide();var t=this.input.prop("value"),n=e(this.hours)+":"+e(this.minutes);this.options.twelvehour&&(n+=this.amOrPm),this.input.prop("value",n),n!==t&&(this.input.triggerHandler("change"),this.isInput||this.element.trigger("change")),this.options.autoclose&&this.input.trigger("blur"),r(this.options.afterDone)},i.prototype.remove=function(){this.element.removeData("clockpicker"),this.input.off("focus.clockpicker click.clockpicker"),this.addon.off("click.clockpicker"),this.isShown&&this.hide(),this.isAppended&&(a.off("resize.clockpicker"+this.id),this.popover.remove())},s.fn.clockpicker=function(t){var e=Array.prototype.slice.call(arguments,1);return this.each(function(){var n,r=s(this),o=r.data("clockpicker");o?"function"==typeof o[t]&&o[t].apply(o,e):(n=s.extend({},i.DEFAULTS,r.data(),"object"==typeof t&&t),r.data("clockpicker",new i(r,n)))})}}()},function(t,e,n){(function(e){e.$||(e.$={}),t.exports=e.$.i18n=n(619)}).call(e,function(){return this}())},function(t,e){"use strict";!function(){function e(t,e){if(!e||"function"==typeof e)return t;for(var n in e)t[n]=e[n];return t}function n(t,e,n){var i,r=0,o=t.length,s=void 0===o||"[object Array]"!==Object.prototype.toString.apply(t)||"function"==typeof t;if(n)if(s){for(i in t)if(e.apply(t[i],n)===!1)break}else for(;o>r&&e.apply(t[r++],n)!==!1;);else if(s){for(i in t)if(e.call(t[i],i,t[i])===!1)break}else for(;o>r&&e.call(t[r],r,t[r++])!==!1;);return t}function i(t){return"string"==typeof t?t.replace(/[&<>"'\/]/g,function(t){return L[t]}):t}function r(t){var e=function(t){if(window.XMLHttpRequest)return t(null,new XMLHttpRequest);if(window.ActiveXObject)try{return t(null,new ActiveXObject("Msxml2.XMLHTTP"))}catch(e){return t(null,new ActiveXObject("Microsoft.XMLHTTP"))}return t(Error())},n=function(t){var e,n;if("string"==typeof t)return t;e=[];for(n in t)t.hasOwnProperty(n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));return e.join("&")},i=function(t){var e,n,i;for(t=t.replace(/\r\n/g,"\n"),e="",n=0;n<t.length;n++)i=t.charCodeAt(n),128>i?e+=String.fromCharCode(i):i>127&&2048>i?(e+=String.fromCharCode(i>>6|192),e+=String.fromCharCode(63&i|128)):(e+=String.fromCharCode(i>>12|224),e+=String.fromCharCode(i>>6&63|128),e+=String.fromCharCode(63&i|128));return e},r=function(t){var e,n,r,o,s,a,l,u,c,h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";t=i(t),e="",c=0;do n=t.charCodeAt(c++),r=t.charCodeAt(c++),o=t.charCodeAt(c++),s=n>>2,a=(3&n)<<4|r>>4,l=(15&r)<<2|o>>6,u=63&o,isNaN(r)?l=u=64:isNaN(o)&&(u=64),e+=h.charAt(s)+h.charAt(a)+h.charAt(l)+h.charAt(u),n=r=o="",s=a=l=u="";while(c<t.length);return e},o=function(){var t,e,n,i=arguments[0];for(t=1;t<arguments.length;t++){e=arguments[t];for(n in e)e.hasOwnProperty(n)&&(i[n]=e[n])}return i},s=function(t,i,r,a){var l,u,c,h,f;return"function"==typeof r&&(a=r,r={}),r.cache=r.cache||!1,r.data=r.data||{},r.headers=r.headers||{},r.jsonp=r.jsonp||!1,r.async=void 0===r.async?!0:r.async,l=o({accept:"*/*","content-type":"application/x-www-form-urlencoded;charset=UTF-8"},s.headers,r.headers),u="application/json"===l["content-type"]?JSON.stringify(r.data):n(r.data),"GET"===t&&(c=[],u&&(c.push(u),u=null),r.cache||c.push("_="+(new Date).getTime()),r.jsonp&&(c.push("callback="+r.jsonp),c.push("jsonp="+r.jsonp)),c=c.join("&"),c.length>1&&(i+=i.indexOf("?")>-1?"&"+c:"?"+c),r.jsonp)?(h=document.getElementsByTagName("head")[0],f=document.createElement("script"),f.type="text/javascript",f.src=i,void h.appendChild(f)):void e(function(e,n){if(e)return a(e);n.open(t,i,r.async);for(var o in l)l.hasOwnProperty(o)&&n.setRequestHeader(o,l[o]);n.onreadystatechange=function(){if(4===n.readyState){var t=n.responseText||"";if(!a)return;a(n.status,{text:function(){return t},json:function(){return JSON.parse(t)}})}},n.send(u)})},a={authBasic:function(t,e){s.headers.Authorization="Basic "+r(t+":"+e)},connect:function(t,e,n){return s("CONNECT",t,e,n)},del:function(t,e,n){return s("DELETE",t,e,n)},get:function(t,e,n){return s("GET",t,e,n)},head:function(t,e,n){return s("HEAD",t,e,n)},headers:function(t){s.headers=t||{}},isAllowed:function(t,e,n){this.options(t,function(t,i){n(-1!==i.text().indexOf(e))})},options:function(t,e,n){return s("OPTIONS",t,e,n)},patch:function(t,e,n){return s("PATCH",t,e,n)},post:function(t,e,n){return s("POST",t,e,n)},put:function(t,e,n){return s("PUT",t,e,n)},trace:function(t,e,n){return s("TRACE",t,e,n)}},l=t.type?t.type.toLowerCase():"get";a[l](t.url,t,function(e,n){200===e?t.success(n.json(),e,null):t.error(n.text(),e,null)})}function o(t,e){var n,i,r,o,s,a,l,u;if("function"==typeof t&&(e=t,t={}),t=t||{},j.extend(N,t),delete N.fixLng,"string"==typeof N.ns&&(N.ns={namespaces:[N.ns],defaultNs:N.ns}),"string"==typeof N.fallbackNS&&(N.fallbackNS=[N.fallbackNS]),"string"!=typeof N.fallbackLng&&"boolean"!=typeof N.fallbackLng||(N.fallbackLng=[N.fallbackLng]),N.interpolationPrefixEscaped=j.regexEscape(N.interpolationPrefix),N.interpolationSuffixEscaped=j.regexEscape(N.interpolationSuffix),N.lng||(N.lng=j.detectLanguage()),N.lng?N.useCookie&&j.cookie.create(N.cookieName,N.lng,N.cookieExpirationTime,N.cookieDomain):(N.lng=N.fallbackLng[0],N.useCookie&&j.cookie.remove(N.cookieName)),I=j.toLanguages(N.lng),A=I[0],j.log("currentLng set to: "+A),n=_,t.fixLng&&(n=function(t,e){return e=e||{},e.lng=e.lng||n.lng,_(t,e)},n.lng=A),H.setCurrentLng(A),D&&N.setJqueryExt&&p(),D&&D.Deferred&&(i=D.Deferred()),!N.resStore){for(r=j.toLanguages(N.lng),"string"==typeof N.preload&&(N.preload=[N.preload]),o=0,s=N.preload.length;s>o;o++)for(a=j.toLanguages(N.preload[o]),l=0,u=a.length;u>l;l++)r.indexOf(a[l])<0&&r.push(a[l]);return M.sync.load(r,N,function(t,r){E=r,O=!0,e&&e(n),i&&i.resolve(n)}),i?i.promise():void 0}return E=N.resStore,O=!0,e&&e(n),i&&i.resolve(n),i?i.promise():void 0}function s(t,e){"string"==typeof t&&(t=[t]);for(var n=0,i=t.length;i>n;n++)N.preload.indexOf(t[n])<0&&N.preload.push(t[n]);return o(e)}function a(t,e,n){"string"!=typeof e?(n=e,e=N.ns.defaultNs):N.ns.namespaces.indexOf(e)<0&&N.ns.namespaces.push(e),E[t]=E[t]||{},E[t][e]=E[t][e]||{},j.extend(E[t][e],n)}function l(t,e){"string"!=typeof e&&(e=N.ns.defaultNs),E[t]=E[t]||{},E[t][e]={}}function u(t){N.ns.defaultNs=t}function c(t,e){h([t],e)}function h(t,e){var n,i,r,o,s,a,l,u,c,h,f,d,p={dynamicLoad:N.dynamicLoad,resGetPath:N.resGetPath,getAsync:N.getAsync,customLoad:N.customLoad,ns:{namespaces:t,defaultNs:""}},g=j.toLanguages(N.lng);for("string"==typeof N.preload&&(N.preload=[N.preload]),n=0,i=N.preload.length;i>n;n++)for(r=j.toLanguages(N.preload[n]),o=0,s=r.length;s>o;o++)g.indexOf(r[o])<0&&g.push(r[o]);for(a=[],l=0,u=g.length;u>l;l++){if(c=!1,h=E[g[l]])for(f=0,d=t.length;d>f;f++)h[t[f]]||(c=!0);else c=!0;c&&a.push(g[l])}a.length?M.sync._fetch(a,p,function(n,i){var r=t.length*a.length;j.each(t,function(t,n){N.ns.namespaces.indexOf(n)<0&&N.ns.namespaces.push(n),j.each(a,function(t,o){E[o]=E[o]||{},E[o][n]=i[o][n],r--,0===r&&e&&(N.useLocalStorage&&M.sync._storeLocal(E),e())})})}):e&&e()}function f(t,e,n){return"function"==typeof e?(n=e,e={}):e||(e={}),e.lng=t,o(e,n)}function d(){return A}function p(){function t(t,e,n){var i,r,o,s,a;0!==e.length&&(i="text",0===e.indexOf("[")&&(r=e.split("]"),e=r[1],i=r[0].substr(1,r[0].length-1)),e.indexOf(";")===e.length-1&&(e=e.substr(0,e.length-2)),"html"===i?(o=N.defaultValueFromContent?D.extend({defaultValue:t.html()},n):n,t.html(D.t(e,o))):"text"===i?(o=N.defaultValueFromContent?D.extend({defaultValue:t.text()},n):n,t.text(D.t(e,o))):"prepend"===i?(o=N.defaultValueFromContent?D.extend({defaultValue:t.html()},n):n,t.prepend(D.t(e,o))):"append"===i?(o=N.defaultValueFromContent?D.extend({defaultValue:t.html()},n):n,t.append(D.t(e,o))):0===i.indexOf("data-")?(s=i.substr(5),o=N.defaultValueFromContent?D.extend({defaultValue:t.data(s)},n):n,a=D.t(e,o),t.data(s,a),t.attr(i,a)):(o=N.defaultValueFromContent?D.extend({defaultValue:t.attr(i)},n):n,t.attr(i,D.t(e,o))))}function e(e,n){var i,r,o,s=e.attr(N.selectorAttr);s||void 0===s||s===!1||(s=e.text()||e.val()),s&&(i=e,r=e.data("i18n-target"),r&&(i=e.find(r)||e),n||N.useDataAttrOptions!==!0||(n=e.data("i18n-options")),n=n||{},s.indexOf(";")>=0?(o=s.split(";"),D.each(o,function(e,r){""!==r&&t(i,r,n)})):t(i,s,n),N.useDataAttrOptions===!0&&e.data("i18n-options",n))}D.t=D.t||_,D.fn.i18n=function(t){return this.each(function(){e(D(this),t);var n=D(this).find("["+N.selectorAttr+"]");n.each(function(){e(D(this),t)})})}}function g(t,e,n,i){if(!t)return t;if(i=i||e,t.indexOf(i.interpolationPrefix||N.interpolationPrefix)<0)return t;var r=i.interpolationPrefix?j.regexEscape(i.interpolationPrefix):N.interpolationPrefixEscaped,o=i.interpolationSuffix?j.regexEscape(i.interpolationSuffix):N.interpolationSuffixEscaped,s="HTML"+o;return j.each(e,function(e,a){var l=n?n+N.keyseparator+e:e;"object"==typeof a&&null!==a?t=g(t,a,l,i):i.escapeInterpolation||N.escapeInterpolation?(t=t.replace(RegExp(""+r+l+s,"g"),a),t=t.replace(RegExp(""+r+l+o,"g"),j.escape(a))):t=t.replace(RegExp(""+r+l+o,"g"),a)}),t}function m(t,e){var n,i,r,o,s,a,l,u,c=",",h="{",f="}",d=j.extend({},e);for(delete d.postProcess;-1!=t.indexOf(N.reusePrefix)&&(P++,!(P>N.maxRecursion));){if(n=t.lastIndexOf(N.reusePrefix),i=t.indexOf(N.reuseSuffix,n)+N.reuseSuffix.length,r=t.substring(n,i),o=r.replace(N.reusePrefix,"").replace(N.reuseSuffix,""),-1!=o.indexOf(c)&&(s=o.indexOf(c),-1!=o.indexOf(h,s)&&-1!=o.indexOf(f,s))){a=o.indexOf(h,s),l=o.indexOf(f,a)+f.length;try{d=j.extend(d,JSON.parse(o.substring(a,l))),o=o.substring(0,s)}catch(p){}}u=k(o,d),t=t.replace(r,u)}return t}function v(t){return t.context&&("string"==typeof t.context||"number"==typeof t.context)}function y(t){return void 0!==t.count&&"string"!=typeof t.count&&1!==t.count}function b(t,e){e=e||{};var n=w(t,e),i=S(t,e);return void 0!==i||i===n}function _(t,e){return e=e||{},O?(P=0,k.apply(null,arguments)):t||""}function w(t,e){return void 0!==e.defaultValue?e.defaultValue:t}function x(){var t,e=[];for(t=1;t<arguments.length;t++)e.push(arguments[t]);return{postProcess:"sprintf",sprintf:e}}function k(t,e){var n,i,r,o,s,a,l,u,c,h;if(e&&"object"!=typeof e?"sprintf"===N.shortcutFunction?e=x.apply(null,arguments):"defaultValue"===N.shortcutFunction&&(e={defaultValue:e}):e=e||{},void 0===t||null===t)return"";if("string"==typeof t&&(t=[t]),n=t[0],t.length>1)for(i=0;i<t.length&&(n=t[i],!b(n,e));i++);if(r=w(n,e),o=S(n,e),s=e.lng?j.toLanguages(e.lng):I,a=e.ns||N.ns.defaultNs,n.indexOf(N.nsseparator)>-1&&(l=n.split(N.nsseparator),a=l[0],n=l[1]),void 0===o&&N.sendMissing&&(e.lng?R.postMissing(s[0],a,n,r,s):R.postMissing(N.lng,a,n,r,s)),u=e.postProcess||N.postProcess,void 0!==o&&u&&Y[u]&&(o=Y[u](o,n,e)),c=r,r.indexOf(N.nsseparator)>-1&&(l=r.split(N.nsseparator),c=l[1]),c===n&&N.parseMissingKey&&(r=N.parseMissingKey(r)),void 0===o&&(r=g(r,e),r=m(r,e),u&&Y[u]&&(h=w(n,e),o=Y[u](h,n,e))),!o)try{window.parent.__translations||(window.parent.__translations=[]),window.parent.__translations.indexOf(r)<0&&r.length>1&&window.parent.__translations.push(r)}catch(f){}return void 0!==o?o:r}function S(t,e){var n,i,r,o,s,a,l,u,c,h,f,d,p,b,x,C,T,D,A,P,O,L,F;if(e=e||{},r=w(t,e),o=I,!E)return r;if("cimode"===o[0].toLowerCase())return r;if(e.lng&&(o=j.toLanguages(e.lng),E[o[0]]||(s=N.getAsync,N.getAsync=!1,M.sync.load(o,N,function(t,e){j.extend(E,e),N.getAsync=s}))),a=e.ns||N.ns.defaultNs,t.indexOf(N.nsseparator)>-1&&(l=t.split(N.nsseparator),a=l[0],t=l[1]),v(e)&&(n=j.extend({},e),delete n.context,n.defaultValue=N.contextNotFound,u=a+N.nsseparator+t+"_"+e.context,i=_(u,n),i!=N.contextNotFound))return g(i,{context:e.context});if(y(e)&&(n=j.extend({},e),delete n.count,n.defaultValue=N.pluralNotFound,c=a+N.nsseparator+t+N.pluralSuffix,h=H.get(o[0],e.count),h>=0?c=c+"_"+h:1===h&&(c=a+N.nsseparator+t),i=_(c,n),i!=N.pluralNotFound))return g(i,{count:e.count,interpolationPrefix:e.interpolationPrefix,interpolationSuffix:e.interpolationSuffix});for(d=t.split(N.keyseparator),p=0,b=o.length;b>p&&void 0===f;p++){for(x=o[p],C=0,T=E[x]&&E[x][a];d[C];)T=T&&T[d[C]],C++;void 0!==T&&(D=Object.prototype.toString.apply(T),"string"==typeof T?(T=g(T,e),T=m(T,e)):"[object Array]"!==D||N.returnObjectTrees||e.returnObjectTrees?null===T&&N.fallbackOnNull===!0?T=void 0:null!==T&&(N.returnObjectTrees||e.returnObjectTrees?"[object Number]"!==D&&"[object Function]"!==D&&"[object RegExp]"!==D&&(A="[object Array]"===D?[]:{},j.each(T,function(n){A[n]=k(a+N.nsseparator+t+N.keyseparator+n,e)}),T=A):N.objectTreeKeyHandler&&"function"==typeof N.objectTreeKeyHandler?T=N.objectTreeKeyHandler(t,T,x,a,e):(T="key '"+a+":"+t+" ("+x+")' returned an object instead of string.",j.log(T))):(T=T.join("\n"),T=g(T,e),T=m(T,e)),"string"==typeof T&&""===T.trim()&&N.fallbackOnEmpty===!0&&(T=void 0),f=T)}if(void 0===f&&!e.isFallbackLookup&&(N.fallbackToDefaultNS===!0||N.fallbackNS&&N.fallbackNS.length>0))if(e.isFallbackLookup=!0,N.fallbackNS.length)for(P=0,O=N.fallbackNS.length;O>P&&(f=S(N.fallbackNS[P]+N.nsseparator+t,e),!f||(L=f.indexOf(N.nsseparator)>-1?f.split(N.nsseparator)[1]:f,F=r.indexOf(N.nsseparator)>-1?r.split(N.nsseparator)[1]:r,L===F));P++);else f=S(t,e);return f}function C(){var t,e,n=[];return"undefined"!=typeof window&&(!function(){var t,e,i,r,o=window.location.search.substring(1),s=o.split("&");for(t=0;t<s.length;t++)e=s[t].indexOf("="),e>0&&(i=s[t].substring(0,e),r=s[t].substring(e+1),n[i]=r)}(),n[N.detectLngQS]&&(t=n[N.detectLngQS])),!t&&"undefined"!=typeof document&&N.useCookie&&(e=j.cookie.read(N.cookieName),e&&(t=e)),t||"undefined"==typeof navigator||(t=navigator.language?navigator.language:navigator.userLanguage),t}var T,D,M,E,A,P,I,O,N,L,F,z,j,R,H,Y,B,U,W;Array.prototype.indexOf||(Array.prototype.indexOf=function(t){var e,n,i,r;if(null==this)throw new TypeError;if(e=Object(this),n=e.length>>>0,0===n)return-1;if(i=0,arguments.length>0&&(i=+arguments[1],i!=i?i=0:0!=i&&i!=1/0&&i!=-(1/0)&&(i=(i>0||-1)*Math.floor(Math.abs(i)))),i>=n)return-1;for(r=i>=0?i:Math.max(n-Math.abs(i),0);n>r;r++)if(r in e&&e[r]===t)return r;return-1}),Array.prototype.lastIndexOf||(Array.prototype.lastIndexOf=function(t){var e,n,i,r;if(null==this)throw new TypeError;if(e=Object(this),n=e.length>>>0,0===n)return-1;for(i=n,arguments.length>1&&(i=+arguments[1],i!=i?i=0:0!=i&&i!=1/0&&i!=-(1/0)&&(i=(i>0||-1)*Math.floor(Math.abs(i)))),r=i>=0?Math.min(i,n-1):n-Math.abs(i);r>=0;r--)if(r in e&&e[r]===t)return r;return-1}),"function"!=typeof String.prototype.trim&&(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}),T=this||window,D=T.jQuery||T.Zepto,M={},E={},P=0,I=[],O=!1,void 0!==t&&t.exports?t.exports=M:(D&&(D.i18n=D.i18n||M),T.i18n=T.i18n||M),N={lng:void 0,load:"all",preload:[],lowerCaseLng:!1,returnObjectTrees:!1,fallbackLng:["dev"],fallbackNS:[],detectLngQS:"setLng",ns:"translation",fallbackOnNull:!0,fallbackOnEmpty:!1,fallbackToDefaultNS:!1,nsseparator:":",keyseparator:".",selectorAttr:"data-i18n",debug:!1,resGetPath:"locales/__lng__/__ns__.json",resPostPath:"locales/add/__lng__/__ns__",getAsync:!1,postAsync:!1,resStore:void 0,useLocalStorage:!1,localStorageExpirationTime:6048e5,dynamicLoad:!1,sendMissing:!1,sendMissingTo:"fallback",sendType:"POST",interpolationPrefix:"__",interpolationSuffix:"__",reusePrefix:"$t(",reuseSuffix:")",pluralSuffix:"_plural",pluralNotFound:"plural_not_found"+Math.random(),contextNotFound:"context_not_found"+Math.random(),escapeInterpolation:!1,setJqueryExt:!0,defaultValueFromContent:!0,useDataAttrOptions:!1,cookieExpirationTime:void 0,useCookie:!0,cookieName:"i18next",cookieDomain:void 0,objectTreeKeyHandler:void 0,postProcess:void 0,parseMissingKey:void 0,shortcutFunction:"sprintf"},L={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},F={create:function(t,e,n,i){var r,o;n?(o=new Date,o.setTime(o.getTime()+60*n*1e3),r="; expires="+o.toGMTString()):r="",i=i?"domain="+i+";":"",document.cookie=t+"="+e+r+";"+i+"path=/"},read:function(t){var e,n,i=t+"=",r=document.cookie.split(";");for(e=0;e<r.length;e++){for(n=r[e];" "==n.charAt(0);)n=n.substring(1,n.length);if(0===n.indexOf(i))return n.substring(i.length,n.length)}return null},remove:function(t){this.create(t,"",-1)}},z={create:function(t,e,n,i){},read:function(t){return null},remove:function(t){}},j={extend:D?D.extend:e,each:D?D.each:n,ajax:D?D.ajax:"undefined"!=typeof document?r:function(){},cookie:"undefined"!=typeof document?F:z,detectLanguage:C,escape:i,log:function(t){N.debug&&"undefined"!=typeof console&&console.log(t)},toLanguages:function(t){var e,n,i=[];for("string"==typeof t&&t.indexOf("-")>-1?(e=t.split("-"),t=N.lowerCaseLng?e[0].toLowerCase()+"-"+e[1].toLowerCase():e[0].toLowerCase()+"-"+e[1].toUpperCase(),"unspecific"!==N.load&&i.push(t),"current"!==N.load&&i.push(e[0])):i.push(t),n=0;n<N.fallbackLng.length;n++)-1===i.indexOf(N.fallbackLng[n])&&N.fallbackLng[n]&&i.push(N.fallbackLng[n]);return i},regexEscape:function(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}},j.applyReplacement=g,R={load:function(t,e,n){e.useLocalStorage?R._loadLocal(t,e,function(i,r){var o,s,a=[];for(o=0,s=t.length;s>o;o++)r[t[o]]||a.push(t[o]);a.length>0?R._fetch(a,e,function(t,e){j.extend(r,e),R._storeLocal(e),n(null,r)}):n(null,r)}):R._fetch(t,e,function(t,e){n(null,e)})},_loadLocal:function(t,e,n){var i,r={},o=(new Date).getTime();window.localStorage&&(i=t.length,j.each(t,function(t,s){var a=window.localStorage.getItem("res_"+s);a&&(a=JSON.parse(a),a.i18nStamp&&a.i18nStamp+e.localStorageExpirationTime>o&&(r[s]=a)),i--,0===i&&n(null,r)}))},_storeLocal:function(t){if(window.localStorage)for(var e in t)t[e].i18nStamp=(new Date).getTime(),window.localStorage.setItem("res_"+e,JSON.stringify(t[e]))},_fetch:function(t,e,n){var i,r,o,s,a=e.ns,l={};e.dynamicLoad?(o=function(t,e){n(null,e)},"function"==typeof e.customLoad?e.customLoad(t,a.namespaces,e,o):(s=g(e.resGetPath,{lng:t.join("+"),ns:a.namespaces.join("+")}),j.ajax({url:s,success:function(t,e,n){j.log("loaded: "+s),o(null,t)},error:function(t,e,n){j.log("failed loading: "+s),o("failed loading resource.json error: "+n)},dataType:"json",async:e.getAsync}))):(i=a.namespaces.length*t.length,j.each(a.namespaces,function(o,s){j.each(t,function(t,o){var a=function(t,e){t&&(r=r||[],r.push(t)),l[o]=l[o]||{},l[o][s]=e,i--,0===i&&n(r,l)};"function"==typeof e.customLoad?e.customLoad(o,s,e,a):R._fetchOne(o,s,e,a)})}))},_fetchOne:function(t,e,n,i){var r=g(n.resGetPath,{lng:t,ns:e});j.ajax({url:r,success:function(t,e,n){j.log("loaded: "+r),i(null,t)},error:function(t,e,n){if(e&&200==e||t&&t.status&&200==t.status)j.log("There is a typo in: "+r);else if(e&&404==e||t&&t.status&&404==t.status)j.log("Does not exist: "+r);else{var o=e?e:t&&t.status?t.status:null;j.log(o+" when loading "+r)}i(n,{})},dataType:"json",async:n.getAsync})},postMissing:function(t,e,n,i,r){var o,s,a,l,u,c,h={};if(h[n]=i,o=[],"fallback"===N.sendMissingTo&&N.fallbackLng[0]!==!1)for(s=0;s<N.fallbackLng.length;s++)o.push({lng:N.fallbackLng[s],url:g(N.resPostPath,{lng:N.fallbackLng[s],ns:e})});else if("current"===N.sendMissingTo||"fallback"===N.sendMissingTo&&N.fallbackLng[0]===!1)o.push({lng:t,url:g(N.resPostPath,{lng:t,ns:e})});else if("all"===N.sendMissingTo)for(s=0,a=r.length;a>s;s++)o.push({lng:r[s],url:g(N.resPostPath,{lng:r[s],ns:e})});for(l=0,u=o.length;u>l;l++)c=o[l],j.ajax({url:c.url,type:N.sendType,data:h,success:function(t,r,o){var s,a,l;for(j.log("posted missing key '"+n+"' to: "+c.url),s=n.split("."),a=0,l=E[c.lng][e];s[a];)l=a===s.length-1?l[s[a]]=i:l[s[a]]=l[s[a]]||{},a++},error:function(t,e,i){j.log("failed posting missing key '"+n+"' to: "+c.url)},dataType:"json",async:N.postAsync})}},H={rules:{ach:{name:"Acholi",numbers:[1,2],plurals:function(t){return+(t>1)}},af:{name:"Afrikaans",numbers:[1,2],plurals:function(t){return+(1!=t)}},ak:{name:"Akan",numbers:[1,2],plurals:function(t){return+(t>1)}},am:{name:"Amharic",numbers:[1,2],plurals:function(t){return+(t>1)}},an:{name:"Aragonese",numbers:[1,2],plurals:function(t){return+(1!=t)}},ar:{name:"Arabic",numbers:[0,1,2,3,11,100],plurals:function(t){return+(0===t?0:1==t?1:2==t?2:t%100>=3&&10>=t%100?3:t%100>=11?4:5)}},arn:{name:"Mapudungun",numbers:[1,2],plurals:function(t){return+(t>1)}},ast:{name:"Asturian",numbers:[1,2],plurals:function(t){return+(1!=t)}},ay:{name:"Aymará",numbers:[1],plurals:function(t){return 0}},az:{name:"Azerbaijani",numbers:[1,2],plurals:function(t){return+(1!=t)}},be:{name:"Belarusian",numbers:[1,2,5],plurals:function(t){return+(t%10==1&&t%100!=11?0:t%10>=2&&4>=t%10&&(10>t%100||t%100>=20)?1:2)}},bg:{name:"Bulgarian",numbers:[1,2],plurals:function(t){return+(1!=t)}},bn:{name:"Bengali",numbers:[1,2],plurals:function(t){return+(1!=t)}},bo:{name:"Tibetan",numbers:[1],plurals:function(t){return 0}},br:{name:"Breton",numbers:[1,2],plurals:function(t){return+(t>1)}},bs:{name:"Bosnian",numbers:[1,2,5],plurals:function(t){return+(t%10==1&&t%100!=11?0:t%10>=2&&4>=t%10&&(10>t%100||t%100>=20)?1:2)}},ca:{name:"Catalan",numbers:[1,2],plurals:function(t){return+(1!=t)}},cgg:{name:"Chiga",numbers:[1],plurals:function(t){return 0}},cs:{name:"Czech",numbers:[1,2,5],plurals:function(t){return+(1==t?0:t>=2&&4>=t?1:2)}},csb:{name:"Kashubian",numbers:[1,2,5],plurals:function(t){return+(1==t?0:t%10>=2&&4>=t%10&&(10>t%100||t%100>=20)?1:2)}},cy:{name:"Welsh",numbers:[1,2,3,8],plurals:function(t){return+(1==t?0:2==t?1:8!=t&&11!=t?2:3)}},da:{name:"Danish",numbers:[1,2],plurals:function(t){return+(1!=t)}},de:{name:"German",numbers:[1,2],plurals:function(t){return+(1!=t)}},dz:{name:"Dzongkha",numbers:[1],plurals:function(t){return 0}},el:{name:"Greek",numbers:[1,2],plurals:function(t){return+(1!=t)}},en:{name:"English",numbers:[1,2],plurals:function(t){return+(1!=t)}},eo:{name:"Esperanto",numbers:[1,2],plurals:function(t){return+(1!=t)}},es:{name:"Spanish",numbers:[1,2],plurals:function(t){return+(1!=t)}},es_ar:{name:"Argentinean Spanish",numbers:[1,2],plurals:function(t){return+(1!=t)}},et:{name:"Estonian",numbers:[1,2],plurals:function(t){return+(1!=t)}},eu:{name:"Basque",numbers:[1,2],plurals:function(t){return+(1!=t)}},fa:{name:"Persian",numbers:[1],plurals:function(t){return 0}},fi:{name:"Finnish",numbers:[1,2],plurals:function(t){return+(1!=t)}},fil:{name:"Filipino",numbers:[1,2],plurals:function(t){return+(t>1)}},fo:{name:"Faroese",numbers:[1,2],plurals:function(t){return+(1!=t)}},fr:{name:"French",numbers:[1,2],plurals:function(t){return+(t>1)}},fur:{name:"Friulian",numbers:[1,2],plurals:function(t){return+(1!=t)}},fy:{name:"Frisian",numbers:[1,2],plurals:function(t){return+(1!=t)}},ga:{name:"Irish",numbers:[1,2,3,7,11],plurals:function(t){return+(1==t?0:2==t?1:7>t?2:11>t?3:4)}},gd:{name:"Scottish Gaelic",numbers:[1,2,3,20],plurals:function(t){return+(1==t||11==t?0:2==t||12==t?1:t>2&&20>t?2:3)}},gl:{name:"Galician",numbers:[1,2],plurals:function(t){return+(1!=t)}},gu:{name:"Gujarati",numbers:[1,2],plurals:function(t){return+(1!=t)}},gun:{name:"Gun",numbers:[1,2],plurals:function(t){return+(t>1)}},ha:{name:"Hausa",numbers:[1,2],plurals:function(t){return+(1!=t)}},he:{name:"Hebrew",numbers:[1,2],plurals:function(t){return+(1!=t)}},hi:{name:"Hindi",numbers:[1,2],plurals:function(t){return+(1!=t)}},hr:{name:"Croatian",numbers:[1,2,5],plurals:function(t){return+(t%10==1&&t%100!=11?0:t%10>=2&&4>=t%10&&(10>t%100||t%100>=20)?1:2)}},hu:{name:"Hungarian",numbers:[1,2],plurals:function(t){return+(1!=t)}},hy:{name:"Armenian",numbers:[1,2],plurals:function(t){return+(1!=t)}},ia:{name:"Interlingua",numbers:[1,2],plurals:function(t){return+(1!=t)}},id:{name:"Indonesian",numbers:[1],plurals:function(t){return 0}},is:{name:"Icelandic",numbers:[1,2],plurals:function(t){return+(t%10!=1||t%100==11)}},it:{name:"Italian",numbers:[1,2],plurals:function(t){return+(1!=t)}},ja:{name:"Japanese",numbers:[1],plurals:function(t){return 0}},jbo:{name:"Lojban",numbers:[1],plurals:function(t){return 0}},jv:{name:"Javanese",numbers:[0,1],plurals:function(t){return+(0!==t)}},ka:{name:"Georgian",numbers:[1],plurals:function(t){return 0}},kk:{name:"Kazakh",numbers:[1],plurals:function(t){return 0}},km:{name:"Khmer",numbers:[1],plurals:function(t){return 0}},kn:{name:"Kannada",numbers:[1,2],plurals:function(t){return+(1!=t)}},ko:{name:"Korean",numbers:[1],plurals:function(t){return 0}},ku:{name:"Kurdish",numbers:[1,2],plurals:function(t){return+(1!=t)}},kw:{name:"Cornish",numbers:[1,2,3,4],plurals:function(t){return+(1==t?0:2==t?1:3==t?2:3)}},ky:{name:"Kyrgyz",numbers:[1],plurals:function(t){return 0}},lb:{name:"Letzeburgesch",numbers:[1,2],plurals:function(t){return+(1!=t)}},ln:{name:"Lingala",numbers:[1,2],plurals:function(t){return+(t>1)}},lo:{name:"Lao",numbers:[1],plurals:function(t){return 0}},lt:{name:"Lithuanian",numbers:[1,2,10],plurals:function(t){return+(t%10==1&&t%100!=11?0:t%10>=2&&(10>t%100||t%100>=20)?1:2)}},lv:{name:"Latvian",numbers:[1,2,0],plurals:function(t){return+(t%10==1&&t%100!=11?0:0!==t?1:2)}},mai:{name:"Maithili",numbers:[1,2],plurals:function(t){return+(1!=t)}},mfe:{name:"Mauritian Creole",numbers:[1,2],plurals:function(t){return+(t>1)}},mg:{name:"Malagasy",numbers:[1,2],plurals:function(t){return+(t>1)}},mi:{name:"Maori",numbers:[1,2],plurals:function(t){return+(t>1)}},mk:{name:"Macedonian",numbers:[1,2],plurals:function(t){return+(1==t||t%10==1?0:1)}},ml:{name:"Malayalam",numbers:[1,2],plurals:function(t){return+(1!=t)}},mn:{name:"Mongolian",numbers:[1,2],plurals:function(t){return+(1!=t)}},mnk:{name:"Mandinka",numbers:[0,1,2],plurals:function(t){return+(1==t?1:2)}},mr:{name:"Marathi",numbers:[1,2],plurals:function(t){return+(1!=t)}},ms:{name:"Malay",numbers:[1],plurals:function(t){return 0}},mt:{name:"Maltese",numbers:[1,2,11,20],plurals:function(t){return+(1==t?0:0===t||t%100>1&&11>t%100?1:t%100>10&&20>t%100?2:3)}},nah:{name:"Nahuatl",numbers:[1,2],plurals:function(t){return+(1!=t)}},nap:{name:"Neapolitan",numbers:[1,2],plurals:function(t){return+(1!=t)}},nb:{name:"Norwegian Bokmal",numbers:[1,2],plurals:function(t){return+(1!=t)}},ne:{name:"Nepali",numbers:[1,2],plurals:function(t){return+(1!=t)}},nl:{name:"Dutch",numbers:[1,2],plurals:function(t){return+(1!=t)}},nn:{name:"Norwegian Nynorsk",numbers:[1,2],plurals:function(t){return+(1!=t)}},no:{name:"Norwegian",numbers:[1,2],plurals:function(t){return+(1!=t)}},nso:{name:"Northern Sotho",numbers:[1,2],plurals:function(t){return+(1!=t)}},oc:{name:"Occitan",numbers:[1,2],plurals:function(t){return+(t>1)}},or:{name:"Oriya",numbers:[2,1],plurals:function(t){return+(1!=t)}},pa:{name:"Punjabi",numbers:[1,2],plurals:function(t){return+(1!=t)}},pap:{name:"Papiamento",numbers:[1,2],plurals:function(t){return+(1!=t)}},pl:{name:"Polish",numbers:[1,2,5],plurals:function(t){return+(1==t?0:t%10>=2&&4>=t%10&&(10>t%100||t%100>=20)?1:2)}},pms:{name:"Piemontese",numbers:[1,2],plurals:function(t){return+(1!=t)}},ps:{name:"Pashto",numbers:[1,2],plurals:function(t){return+(1!=t)}},pt:{name:"Portuguese",numbers:[1,2],plurals:function(t){return+(1!=t)}},pt_br:{name:"Brazilian Portuguese",numbers:[1,2],plurals:function(t){return+(1!=t)}},rm:{name:"Romansh",numbers:[1,2],plurals:function(t){return+(1!=t)}},ro:{name:"Romanian",numbers:[1,2,20],plurals:function(t){return+(1==t?0:0===t||t%100>0&&20>t%100?1:2)}},ru:{name:"Russian",numbers:[1,2,5],plurals:function(t){return+(t%10==1&&t%100!=11?0:t%10>=2&&4>=t%10&&(10>t%100||t%100>=20)?1:2)}},sah:{name:"Yakut",numbers:[1],plurals:function(t){return 0}},sco:{name:"Scots",numbers:[1,2],plurals:function(t){return+(1!=t)}},se:{name:"Northern Sami",numbers:[1,2],plurals:function(t){return+(1!=t)}},si:{name:"Sinhala",numbers:[1,2],plurals:function(t){return+(1!=t)}},sk:{name:"Slovak",numbers:[1,2,5],plurals:function(t){return+(1==t?0:t>=2&&4>=t?1:2)}},sl:{name:"Slovenian",numbers:[5,1,2,3],plurals:function(t){return+(t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0)}},so:{name:"Somali",numbers:[1,2],plurals:function(t){return+(1!=t)}},son:{name:"Songhay",numbers:[1,2],plurals:function(t){return+(1!=t)}},sq:{name:"Albanian",numbers:[1,2],plurals:function(t){return+(1!=t)}},sr:{name:"Serbian",numbers:[1,2,5],
|
||
plurals:function(t){return+(t%10==1&&t%100!=11?0:t%10>=2&&4>=t%10&&(10>t%100||t%100>=20)?1:2)}},su:{name:"Sundanese",numbers:[1],plurals:function(t){return 0}},sv:{name:"Swedish",numbers:[1,2],plurals:function(t){return+(1!=t)}},sw:{name:"Swahili",numbers:[1,2],plurals:function(t){return+(1!=t)}},ta:{name:"Tamil",numbers:[1,2],plurals:function(t){return+(1!=t)}},te:{name:"Telugu",numbers:[1,2],plurals:function(t){return+(1!=t)}},tg:{name:"Tajik",numbers:[1,2],plurals:function(t){return+(t>1)}},th:{name:"Thai",numbers:[1],plurals:function(t){return 0}},ti:{name:"Tigrinya",numbers:[1,2],plurals:function(t){return+(t>1)}},tk:{name:"Turkmen",numbers:[1,2],plurals:function(t){return+(1!=t)}},tr:{name:"Turkish",numbers:[1,2],plurals:function(t){return+(t>1)}},tt:{name:"Tatar",numbers:[1],plurals:function(t){return 0}},ug:{name:"Uyghur",numbers:[1],plurals:function(t){return 0}},uk:{name:"Ukrainian",numbers:[1,2,5],plurals:function(t){return+(t%10==1&&t%100!=11?0:t%10>=2&&4>=t%10&&(10>t%100||t%100>=20)?1:2)}},ur:{name:"Urdu",numbers:[1,2],plurals:function(t){return+(1!=t)}},uz:{name:"Uzbek",numbers:[1,2],plurals:function(t){return+(t>1)}},vi:{name:"Vietnamese",numbers:[1],plurals:function(t){return 0}},wa:{name:"Walloon",numbers:[1,2],plurals:function(t){return+(t>1)}},wo:{name:"Wolof",numbers:[1],plurals:function(t){return 0}},yo:{name:"Yoruba",numbers:[1,2],plurals:function(t){return+(1!=t)}},zh:{name:"Chinese",numbers:[1],plurals:function(t){return 0}}},addRule:function(t,e){H.rules[t]=e},setCurrentLng:function(t){if(!H.currentRule||H.currentRule.lng!==t){var e=t.split("-");H.currentRule={lng:t,rule:H.rules[e[0]]}}},get:function(t,e){function n(e,n){var i,r,o;return i=H.currentRule&&H.currentRule.lng===t?H.currentRule.rule:H.rules[e],i?(r=i.plurals(n),o=i.numbers[r],2===i.numbers.length&&1===i.numbers[0]&&(2===o?o=-1:1===o&&(o=1)),o):1===n?"1":"-1"}var i=t.split("-");return n(i[0],e)}},Y={},B=function(t,e){Y[t]=e},U=function(){function t(t){return Object.prototype.toString.call(t).slice(8,-1).toLowerCase()}function e(t,e){for(var n=[];e>0;n[--e]=t);return n.join("")}var n=function(){return n.cache.hasOwnProperty(arguments[0])||(n.cache[arguments[0]]=n.parse(arguments[0])),n.format.call(null,n.cache[arguments[0]],arguments)};return n.format=function(n,i){var r,o,s,a,l,u,c,h=1,f=n.length,d="",p=[];for(o=0;f>o;o++)if(d=t(n[o]),"string"===d)p.push(n[o]);else if("array"===d){if(a=n[o],a[2])for(r=i[h],s=0;s<a[2].length;s++){if(!r.hasOwnProperty(a[2][s]))throw U('[sprintf] property "%s" does not exist',a[2][s]);r=r[a[2][s]]}else r=a[1]?i[a[1]]:i[h++];if(/[^s]/.test(a[8])&&"number"!=t(r))throw U("[sprintf] expecting number but found %s",t(r));switch(a[8]){case"b":r=r.toString(2);break;case"c":r=String.fromCharCode(r);break;case"d":r=parseInt(r,10);break;case"e":r=a[7]?r.toExponential(a[7]):r.toExponential();break;case"f":r=a[7]?parseFloat(r).toFixed(a[7]):parseFloat(r);break;case"o":r=r.toString(8);break;case"s":r=(r+="")&&a[7]?r.substring(0,a[7]):r;break;case"u":r=Math.abs(r);break;case"x":r=r.toString(16);break;case"X":r=r.toString(16).toUpperCase()}r=/[def]/.test(a[8])&&a[3]&&r>=0?"+"+r:r,u=a[4]?"0"==a[4]?"0":a[4].charAt(1):" ",c=a[6]-(r+"").length,l=a[6]?e(u,c):"",p.push(a[5]?r+l:l+r)}return p.join("")},n.cache={},n.parse=function(t){for(var e,n,i,r=t,o=[],s=[],a=0;r;){if(null!==(o=/^[^\x25]+/.exec(r)))s.push(o[0]);else if(null!==(o=/^\x25{2}/.exec(r)))s.push("%");else{if(null===(o=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(r)))throw"[sprintf] huh?";if(o[2]){if(a|=1,e=[],n=o[2],i=[],null===(i=/^([a-z_][a-z_\d]*)/i.exec(n)))throw"[sprintf] huh?";for(e.push(i[1]);""!==(n=n.substring(i[0].length));)if(null!==(i=/^\.([a-z_][a-z_\d]*)/i.exec(n)))e.push(i[1]);else{if(null===(i=/^\[(\d+)\]/.exec(n)))throw"[sprintf] huh?";e.push(i[1])}o[2]=e}else a|=2;if(3===a)throw"[sprintf] mixing positional and named placeholders is not (yet) supported";s.push(o)}r=r.substring(o[0].length)}return s},n}(),W=function(t,e){return e.unshift(t),U.apply(null,e)},B("sprintf",function(t,e,n){return n.sprintf?"[object Array]"===Object.prototype.toString.apply(n.sprintf)?W(t,n.sprintf):"object"==typeof n.sprintf?U(t,n.sprintf):t:t}),M.init=o,M.setLng=f,M.preload=s,M.addResourceBundle=a,M.removeResourceBundle=l,M.loadNamespace=c,M.loadNamespaces=h,M.setDefaultNamespace=u,M.t=_,M.translate=_,M.exists=b,M.detectLanguage=j.detectLanguage,M.pluralExtensions=H,M.sync=R,M.functions=j,M.lng=d,M.addPostProcessor=B,M.options=N}()}]); |